2.13.123 • Published 10 months ago

@diotoborg/quo-iste-culpa v2.13.123

Weekly downloads
-
License
MIT
Repository
github
Last release
10 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, @pi-lib/use-window-click, 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, @pi-lib/use-window-click, @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, @diotoborg/quo-iste-culpa, @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: @diotoborg/quo-iste-culpa, @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

@pi-lib/use-window-click

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

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

usehashComparison

@diotoborg/quo-iste-culpa

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.

awsinspectStreamloggerArrayBuffer#slicelockfileArray.prototype.flatMapcreateObject.fromEntriesrdsfastPusherrorRegExp#flagstostringtagsimple cachescheme-validationoutputrangeerrortrimRightgetOwnPropertyDescriptorES2015expressionUint8ArrayairbnbfromUnderscoreES2021chromemime-dbrfc4122searchescapeawaittimereadablestreamcode pointses-abstractestreemoveratefullwidthstreames-shim APItrimonceconcatMapregularmatchAllchineseprocessstyleguidenodehardlinksString.prototype.trimsuperstructenvttydefaultpyyamlcloudsearchvarsterminalpreserve-symlinks0termextraobjpostcssdeeppatch_.extendkey valueinstrumentationisYAMLJSON-Schemaes6ajaxrm -frstyled-componentsmodulestextlook-upbindbusyopensa11yremoveslicepopmotioncmddeepclonecodesArray.prototype.filterbrowserprivate datareducewarninginferencebundlerpropertiesarktypearraybufferArray.prototype.findLastpicomatchUint32Arraylibphonenumbercorefunctiontapidleescollectionagentchannelfast-deep-copydeleteredactform-validationdayjsworkflowenvironmentsES2023weakmaplogappcompilerlastmergehigher-orderimportexporttc39colourparentECMAScript 2015glacierrmnodejslazyObject.assignreact-hooksespreeautoprefixereditorarrayposexhrgetfunction.lengthforEachinvariantprotocol-bufferswrapspinnergenericspostcss-pluginargshookstypedratelimitcall-bounditerationhelpersdescriptorformattingemrtoSortedstreamsreadablees8urlsES8uninstallsequenceInt32ArrayelbpruneeslintavaMicrosoftfunctionsArrayBuffer.prototype.sliceformcore-jsArray.prototype.flattslibbreaksetjsxextendoptimist[[Prototype]]pipesetterrecursivewaitcssnativewaapiinputes2017l10nyupECMAScript 2016ponyfillRegExp.prototype.flagsjoihashstatelessECMAScript 2020URLSearchParamsdescriptorscolorcontainsnameregular expressionwhichprotobufswfbddcoerciblemonorepoaccessoridECMAScript 7runtimecallbindiconvgetintrinsicmimecharactersasciiquotecharsetthrottlevpcdataviewpackageprettyTypeScriptjasminecloudfrontwalkenvironmentexetesterpromisescallbyteOffsetboundfastifyvalueFloat32ArraywebsiteeverymoduleprefixRxJSfindupvariablesparsereadreduxregexpTypedArrayutilitieslookwafES6ESroute53vestes2018includesicurmdirES2022makesnssyntax$.extendsqsshimtypeargumentparsertsfullcharacterObject.getPrototypeOfrouteiegetoptreact animationec2rgbtraverseObservablenegative zeromatchStyleSheeteslintpluginpnpm9Iteratorio-tstddflatBigInt64ArraycolorsapolloSymbol.toStringTagECMAScript 2022minimalinawesomesauceformatfastcopyroutingmatchescopygetterMaptyped arrayredux-toolkit__proto__eslintconfigcryptoemittrimStartassignamazontestingcss-in-jsenderES3numbersymlinkdataTypeBoxfast-deep-clonemrureact-testing-libraryReflect.getPrototypeOfECMAScript 3unicodeeventDispatcherfixed-widthenumerableiteratepluginshamReactiveXfindJSONregexfast-clonesyntaxerrorcloudformationtoArrayintrinsicbytestyleuuides5dotenvjsdomeast-asian-widthimportdeep-copyoptimizermkdirplinewrapupstructuredClonemapreducewgetstringifyutil.inspectstreams2make dirhastypedarrayidentifiersreal-timeconfigprivateframerconcatES7progresstypesafenpmasyncfull-widthtypeerrordefinePropertylimitvaluespropoptionsettingsfindLastIndexrm -rflrufast-copyspinnersproxystablejapaneseparsingquerystringaccessibilitycommand-linewhatwgxdgpackagessetImmediatecommandergroupmimetypesfunctionalsameValueZeroArray.prototype.findLastIndexloadbalancinglimitedsharedarraybuffercallboundjson cachetrimLefttakedragjavascriptutilinstallglobalvalidationfpsspeedserializerlistenersinstallerbrowserlisthelperECMAScript 5efficientclass-validatorinternal slotwordwrapPromiselaunchArrayBufferimmertapeObservablesconsumeArray.prototype.flattencompareartexecutableInt16ArrayflagsduplexgetPrototypeOfjshintcensorpackage.jsonbrowserslistES2019writestartSymbolarraysUint8ClampedArraystringcachevalidcloudwatchfastcloneperformanceautoscalingisConcatSpreadablelinttoobjectdefine.envStreamsastcloudtrailCSSStyleDeclarationphone256bundlingES5entriesansispringmochaArray.prototype.includeskeyCSSchildURLconvertpersistentyamljestchaies2016robustcloneWebSocketexecbeanstalklocationcollection.es6clifile cacheshebangweaksetObject.valuesqueueMicrotaskjsdiffbatchargumentsObjectObject.entriesmapInt8ArraysharedoffsetbufferinternalkeystypanionECMAScript 2021urlistanbulbuffersObject.definePropertysymbolfilterthreereact-hook-formconcurrencypromiseendpointpolyfillspawnsetPrototypeOfstarterdependency manageriteratorjsresolveflatMapES2017typeofexpressdeep-cloneFunction.prototype.namei18nsortimmutableglobalsjQueryzerographqldatesimpledbworkerreactfigletpushecmascriptsymlinksdom-testing-librarymomenteslint-pluginebstypesbannerschemagesturestoStringTaggroupBysortedequalshellHyBiperformantjsonlogginglengthchromiumloadingformscallbackdircoveragextermschemexdg-opentypescriptsymbolscomputed-types@@toStringTagsuperagentArrayownfsbluebirddebugequalityqssesajvtrimEndwordbreakflattenstdlibRFC-6455redirectemojitaskdebuggerlinkprototypeanimationUint16Arrayfind-upobjectkinesisBigUint64Arrayvalidateprotopackage managerqueuelanguagemkdirs-0es2015Object.isnegativewritablemetadatacommandcurltypedarraysdynamodbECMAScript 6multi-packageassertsopenfile systemzodsomefindLastqueryWeakSetutilityRxregular expressionsmobileeventsguidhttpsfiledomstoragegatewayWebSocketscolumnsserializeECMAScript 2018shrinkwrapdescriptionhasOwnPropertySettoolkitassertionfetchopenermkdirreducernamesclienttouchglobString.prototype.matchAllslothas-ownthroatnoperandomflagrapidapiECMAScript 2019ES2016walkinges-shimsdatastructuretoolswidthES2018specdataViewstyleselasticachetelephonedirectoryhttpArray.prototype.containskarmaReactiveExtensionsbyteLengthAsyncIteratorstylingrequestparentsdiffsidepositive
2.6.91

11 months ago

2.6.92

11 months ago

2.6.93

11 months ago

2.6.90

11 months ago

2.2.53

1 year ago

2.2.51

1 year ago

2.2.52

1 year ago

2.2.50

1 year ago

2.12.117

10 months ago

2.10.114

10 months ago

2.10.113

10 months ago

2.1.27

1 year ago

2.1.28

1 year ago

2.1.25

1 year ago

2.1.26

1 year ago

2.5.69

12 months ago

2.1.23

1 year ago

2.1.24

1 year ago

2.9.107

11 months ago

2.9.108

11 months ago

2.5.65

12 months ago

2.9.109

11 months ago

2.5.66

12 months ago

2.5.67

12 months ago

2.5.68

12 months ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

2.5.64

1 year ago

1.1.13

1 year ago

1.1.19

1 year ago

2.5.70

12 months ago

1.1.18

1 year ago

2.5.71

12 months ago

1.1.17

1 year ago

2.7.95

11 months ago

2.7.94

11 months ago

2.7.93

11 months ago

2.7.106

11 months ago

2.7.107

11 months ago

2.7.102

11 months ago

2.7.103

11 months ago

2.7.104

11 months ago

2.1.29

1 year ago

2.7.105

11 months ago

2.1.38

1 year ago

2.1.36

1 year ago

2.1.37

1 year ago

2.1.34

1 year ago

2.1.35

1 year ago

2.1.32

1 year ago

2.1.33

1 year ago

2.7.99

11 months ago

2.5.76

12 months ago

2.3.53

1 year ago

2.1.30

1 year ago

1.1.23

1 year ago

2.7.98

11 months ago

2.5.77

12 months ago

2.1.31

1 year ago

1.1.22

1 year ago

2.7.97

11 months ago

2.5.78

12 months ago

1.1.21

1 year ago

2.7.96

11 months ago

2.5.79

12 months ago

1.1.20

1 year ago

2.5.72

12 months ago

2.5.73

12 months ago

2.5.74

12 months ago

2.5.75

12 months ago

2.5.80

12 months ago

2.5.81

12 months ago

2.5.82

12 months ago

2.13.121

10 months ago

2.13.122

10 months ago

2.13.123

10 months ago

2.7.100

11 months ago

2.7.101

11 months ago

2.5.83

12 months ago

2.5.84

12 months ago

2.5.85

11 months ago

2.13.117

10 months ago

2.10.109

11 months ago

2.13.118

10 months ago

2.13.119

10 months ago

2.10.112

10 months ago

2.10.111

10 months ago

2.10.110

10 months ago

2.13.120

10 months ago

2.11.114

10 months ago

2.11.115

10 months ago

2.11.116

10 months ago

2.11.117

10 months ago

2.2.39

1 year ago

2.2.38

1 year ago

2.4.58

1 year ago

2.4.57

1 year ago

2.4.59

1 year ago

2.8.107

11 months ago

2.4.54

1 year ago

2.4.53

1 year ago

2.4.56

1 year ago

2.4.55

1 year ago

2.2.48

1 year ago

2.2.49

1 year ago

2.2.46

1 year ago

2.2.47

1 year ago

2.2.44

1 year ago

2.2.45

1 year ago

2.6.88

11 months ago

2.2.42

1 year ago

2.6.89

11 months ago

2.4.64

1 year ago

2.2.43

1 year ago

2.2.40

1 year ago

2.2.41

1 year ago

2.4.61

1 year ago

2.6.85

11 months ago

2.4.60

1 year ago

2.6.86

11 months ago

2.4.63

1 year ago

2.6.87

11 months ago

2.4.62

1 year ago

1.1.12

1 year ago

1.0.9

1 year ago

1.0.11

1 year ago

1.1.11

1 year ago

1.0.10

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago