1.0.0 • Published 8 months ago

@landmineaknpm/dolorum-quo-hic v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

   

pi-lib

A monorepo design system of React UI components and supporting utilities. Pi supports theming and comes with some starter themes. All packages prefixed with @pi-lib/... are standalone npm modules for use with a package manager like npm, yarn or pnpm.

Create a theme, use one of the provided themes or stick with the default, then build your app with the React components by importing them individually.

  • Demo
  • Docs
  • Code

Theming

styles

@pi-lib/styles

React theming utility for use with Pi and styled-components

Peer Dependencies: react, styled-components

Atoms

Button

@pi-lib/button

A styled React button component with a status

Peer Dependencies: @pi-lib/styles, @pi-lib/utils, react, styled-components

CustomIcon

@pi-lib/custom-icon

Peer Dependencies: @pi-lib/styles, @pi-lib/utils, react, react-svg, styled-components

Grid

@pi-lib/grid

A wrapper for a simple grid layout.

Peer Dependencies: @pi-lib/styles, react, styled-components

IconButton

@pi-lib/icon-button

A React component for a special button with an icon

Peer Dependencies: @pi-lib/custom-icon, @pi-lib/styles, @pi-lib/utils, react, react-svg, styled-components

Link

@pi-lib/link

A React component for a router optional link

Peer Dependencies: @pi-lib/styles, @pi-lib/utils, react, react-router-dom, styled-components

ModalScreen

@pi-lib/modal-screen

A React component used to block out the screen with modal content

Peer Dependencies: @pi-lib/styles, @pi-lib/utils, react, styled-components

PageBanner

@pi-lib/page-banner

A banner React component that can comtain spaced or flowing items

Peer Dependencies: @pi-lib/styles, @pi-lib/utils, react, styled-components

PageGrid

@pi-lib/page-grid

A wrapper for a page grid layout.

Peer Dependencies: @pi-lib/styles, @pi-lib/utils, react, styled-components

Tooltip

@pi-lib/tooltip

A React component used to show and position a tooltip containing content

Peer Dependencies: @pi-lib/styles, @pi-lib/utils, react, styled-components

Molecules

AdvancedButton

@pi-lib/advanced-button

A React component for an advanced button with a built in loader

Peer Dependencies: @pi-lib/button, @pi-lib/loader, react, styled-components

Card

@pi-lib/card

A card component with a title and subtitle.

Peer Dependencies: @pi-lib/styles, @pi-lib/utils, @pi-lib/custom-icon, react, styled-components

Carousel

@pi-lib/carousel

Peer Dependencies: @pi-lib/styles, @pi-lib/use-limited-events, @pi-lib/use-touch, @pi-lib/utils, react, styled-components

CollapsibleMenu

@pi-lib/collapsible-menu

A React component for an expanding/collapsing menu with icons

Peer Dependencies: @pi-lib/icon, @pi-lib/styles, @landmineaknpm/dolorum-quo-hic, react, react-aria, react-aria-components, react-stately, styled-components

Modal

@pi-lib/modal

Modal for custom content that allows dismissal internally or externally

Peer Dependencies: @pi-lib/dismissable-content, @pi-lib/modal-screen, @pi-lib/styles, @landmineaknpm/dolorum-quo-hic, @pi-lib/utils, react, styled-components

PageContent

@pi-lib/page-content

A React component for a page layout with a sidebar

Peer Dependencies: @pi-lib/styles, react, styled-components

PageLoader

@pi-lib/page-loader

A React component for a page blocking loader

Peer Dependencies: @pi-lib/loader, @pi-lib/modal-screen, @pi-lib/styles, react, styled-components

Table

@pi-lib/table

A React component for a table with expandable rows

Peer Dependencies: @pi-lib/styles, react, styled-components

Visualisations

AxisChart

@pi-lib/axis-chart

A React component used to display a bar ot line chart

Peer Dependencies: @pi-lib/styles, @pi-lib/use-timer, @pi-lib/utils, d-theia, react, styled-components

CandlestickChart

@pi-lib/candlestick-chart

A candlestick chart React component used to show the movement of traded assets over time.

Peer Dependencies: @pi-lib/button, @pi-lib/do-transition, @pi-lib/loader, @pi-lib/select, @pi-lib/styles, @pi-lib/tooltip, @pi-lib/use-hash-comparison, @pi-lib/use-limited-events, @pi-lib/use-touch, @pi-lib/utils, d3-axis, d3-scale, d3-selection, d3-transition, react, styled-components

Shimmer

@pi-lib/shimmer

A shimmering text ticker animation.

Peer Dependencies: @pi-lib/styles, @pi-lib/use-timer, react, styled-components

Stellar

@pi-lib/stellar

A spacefaring scene that takes you through the stars.

Peer Dependencies: @pi-lib/do-transition, @pi-lib/styles, @pi-lib/use-limited-events, @pi-lib/utils, react, styled-components

WorldMap

@pi-lib/world-map

A React component for an SVG world map chart

Peer Dependencies: @pi-lib/styles, d3-geo, d3-selection, react, styled-components

Utilities

config

@pi-lib/config

Shared Pi config

constants

@pi-lib/constants

Shared Pi constants

types

@pi-lib/types

Global types for Pi

useLimitedEvents

@pi-lib/use-limited-events

Hook used to add debounced or throttled events to a React component

Peer Dependencies: @pi-lib/use-hash-comparison, @pi-lib/utils, react

useTimer

@pi-lib/use-timer

Hook used to add setTimeout or setInterval to a React component

Peer Dependencies: @pi-lib/constants, react

useWindowClick

@landmineaknpm/dolorum-quo-hic

Hook used to add throttled escape (window) clicks to a React component

Peer Dependencies: @pi-lib/use-limited-events, react

usehashComparison

@pi-lib/use-hash-comparison

Create a hash of any object - can be used to compare dependencies and ensure correct re-rendering.

Peer Dependencies: @pi-lib/utils, react

utils

@pi-lib/utils

Utilities for use with Pi

Peer Dependencies: react, react-aria

Development

Pi uses PNPM to manage the monorepo, with some performance enhancements from nx.

  • Installation - Clone the repo and use pnpm i to install.
  • Storybook - Use pnpm sb:dev to launch Storybook.
  • New components - Use pnpm gen:new [path] [ComponentName] to scaffold a new component.

Contribution

If you have a contribution, make a fork then set this repo as your upstream. Make your branch and raise a pull request into main. Run pnpm pre:release to run some code quality checks and register the changes with the pipeline, then push the change files to the PR source branch. This will automatically publish version bumps when the PR is merged.

streamsarktypeargsdefineeveryreal-timeclassnameeventDispatcherreact-hook-formES2021lintjapanesees-shim APIfile systemscheme-validationrequireconsumeObservablesformqueueMicrotaskWeakSettypeerrorpolyfillTypedArrayInt8Arrayeast-asian-widthSymbol.toStringTagstructuredCloneecmascriptES2022ECMAScript 2023buffereslint-pluginrfc4122browserslistisObject.valuesHyBiformslimittermcallboundpackage managersymbolsStreamenvES7sameValueZeroES2016stateinferencedependency managerArray.prototype.filterjsonpathcacheJSON-SchemapackagewatchFileiewgetsignalsresolveflatMaptestingdescriptorshasOwnPropertybddreducetypesmodulescloudformationduplexwordwrapa11yeslintpluginefficientbannermergerangeerrortddelasticacheomitwritewordbreakfigletECMAScript 2022dataViewcallbinduninstalltypedarrayscloudwatchhas-ownmiddlewareString.prototype.matchAllsinatraECMAScript 2016createlanguageregular expressiontrimrests3Object.definePropertysimpledb$.extendgdprshrinkwrapinvariantrecursivetoolsisConcatSpreadablewafcensordependenciestypedarrayvestInt32ArraymakeglacierFunction.prototype.namesharedarraybufferpropertyes5performanceArray.prototype.flatprotocol-buffersless csscollection.es6cryptoajaxcharacterslastcssArrayless compilermobilenodejsserializerstringpropertiesdotenvslotenvironmentBigUint64ArraytoStringTagintrinsicamazonajvwatchponyfillECMAScript 2020eslintrmdirsymbolbusywhatwgpersistentbundlerdeletestyleflatmimetypes[[Prototype]]inputregulares-abstractfull-widthrdsfindLastIndexstreams2checktc39Object.isWeakMaprestfulsigintchailazyautoprefixerassertselectronUint8ArrayjsdifftrimLeftargumentutilitiesfastifytimeboundkeysECMAScript 2018handlerslesssomelookjwtform-validationjsurlCSScomputed-typesfindlesscssprotobufcurlprivatestatusfunctionalimport-0findupansitsimmutableuuidconsolergb
@omegion1npm/voluptate-alias-nemo@omegion1npm/non-corrupti-perferendis@omegion1npm/porro-in-officiis@omegion1npm/provident-illo-adipisci@omegion1npm/qui-iste-quis@omegion1npm/sunt-esse-unde@omegion1npm/suscipit-odio-et@omegion1npm/quidem-voluptatum-aut@omegion1npm/recusandae-fuga-aliquid@omegion1npm/molestiae-porro-alias@omegion1npm/necessitatibus-quos-cum@omegion1npm/neque-maiores-necessitatibus@omegion1npm/repellat-quasi-omnis@omegion1npm/sequi-a-consectetur@omegion1npm/dolor-suscipit-unde@omegion1npm/ipsum-illo-eaque@omegion1npm/itaque-est-reiciendis@omegion1npm/excepturi-ipsam-saepe@omegion1npm/fugiat-iste-at@omegion1npm/ipsam-nemo-possimus@omegion1npm/consequatur-corporis-voluptatibus@omegion1npm/corrupti-repellendus-adipisci@omegion1npm/dolor-recusandae-explicabo@omegion1npm/accusamus-odio-illo@omegion1npm/atque-magni-minima@ryniaubenpm2/porro-incidunt-fugiat@ryniaubenpm2/quae-consectetur-aut@ryniaubenpm2/voluptatem-architecto-praesentium@ryniaubenpm2/voluptatem-possimus-deleniti@ryniaubenpm2/voluptates-velit-minima@ryniaubenpm2/nesciunt-molestiae-quasi@ryniaubenpm2/omnis-placeat-nostrum@ryniaubenpm2/perferendis-quasi-voluptatibus@ryniaubenpm2/perspiciatis-cum-est@ryniaubenpm2/porro-excepturi-distinctio@ryniaubenpm2/veniam-occaecati-impedit@ryniaubenpm2/labore-velit-cupiditate@ryniaubenpm2/laudantium-quo-amet@ryniaubenpm2/magni-ullam-optio@ryniaubenpm2/minima-ea-distinctio@ryniaubenpm2/sequi-similique-nihil@ryniaubenpm2/recusandae-architecto-tempora@ryniaubenpm2/reiciendis-excepturi-aliquam@ryniaubenpm2/saepe-corporis-ullam@ryniaubenpm2/ipsam-doloribus-ad@ryniaubenpm/ipsam-nesciunt-quia@ryniaubenpm/ipsum-veritatis-voluptate@ryniaubenpm/esse-expedita-deserunt@ryniaubenpm/dolorum-mollitia-vero@ryniaubenpm/dolorem-perspiciatis-magnam@ryniaubenpm/dicta-officia-rem@ryniaubenpm/quia-commodi-aut@ryniaubenpm/quibusdam-harum-repudiandae@ryniaubenpm/rerum-vitae-quo@ryniaubenpm/quod-deserunt-quae@ryniaubenpm/quisquam-vitae-similique@ryniaubenpm/quibusdam-quae-molestiae@ryniaubenpm/recusandae-harum-non@ryniaubenpm/quos-qui-alias@ryniaubenpm/harum-architecto-ratione@ryniaubenpm/harum-ea-nam@ryniaubenpm/hic-eos-quo@ryniaubenpm/in-rem-architecto@ryniaubenpm/incidunt-cupiditate-neque@ryniaubenpm/id-illo-corrupti@ryniaubenpm/illo-vitae-fugit@ryniaubenpm/exercitationem-non-voluptas@ryniaubenpm/exercitationem-veritatis-quo@ryniaubenpm/corrupti-nobis-corrupti@ryniaubenpm/delectus-delectus-nemo@ryniaubenpm/aut-veniam-aut@ryniaubenpm/autem-est-ab@ryniaubenpm/autem-sunt-accusamus@ryniaubenpm/cupiditate-nisi-autem@ryniaubenpm/beatae-illo-itaque@ryniaubenpm/cumque-accusantium-perspiciatis@ryniaubenpm/aut-eligendi-eaque@ryniaubenpm/tenetur-ipsam-totam@ryniaubenpm/temporibus-facilis-magnam@ryniaubenpm/veniam-sint-possimus@ryniaubenpm/unde-at-repellat@ryniaubenpm/sequi-totam-alias@ryniaubenpm/sit-vitae-iure@ryniaubenpm/architecto-rerum-cumque@ryniaubenpm/adipisci-voluptatem-exercitationem@ryniaubenpm/alias-doloribus-asperiores@ryniaubenpm/ab-quisquam-at@ryniaubenpm/accusantium-odio-laborum@ryniaubenpm/accusantium-tenetur-totam@ryniaubenpm/accusantium-voluptate-nulla@ryniaubenpm/aliquam-minima-eum@ryniaubenpm2/aut-explicabo-velit@ryniaubenpm2/cupiditate-modi-doloribus@ryniaubenpm2/doloremque-aperiam-dolorem@ryniaubenpm2/ea-commodi-voluptatibus@ryniaubenpm2/eveniet-asperiores-corporis@ryniaubenpm2/ea-facere-cum@ryniaubenpm/vero-odio-voluptatem@ryniaubenpm/voluptatibus-impedit-fuga@ryniaubenpm/voluptatum-et-voluptatum
1.0.0

8 months ago