@lightsparkdev/ui 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +23 -0
- package/dist/chunk-2RF46PE5.js +127 -0
- package/dist/chunk-4X3K3VRC.js +263 -0
- package/dist/chunk-6AV4TE6I.js +20 -0
- package/dist/chunk-6RDG2DE3.js +25 -0
- package/dist/chunk-7ENCWBAN.js +112 -0
- package/dist/chunk-7NQH4LBZ.js +25 -0
- package/dist/chunk-ACZDUWPH.js +304 -0
- package/dist/chunk-BKOTW3CK.js +51 -0
- package/dist/chunk-BZ5MKMI2.js +58 -0
- package/dist/chunk-CIGAQ47A.js +45 -0
- package/dist/chunk-CLU2FRJZ.js +29 -0
- package/dist/chunk-CQDQFIWT.js +24 -0
- package/dist/chunk-DE24BV2C.js +61 -0
- package/dist/chunk-FETTWCK3.js +101 -0
- package/dist/chunk-I4PO6FQP.js +36 -0
- package/dist/chunk-IJVWYT5G.js +8 -0
- package/dist/chunk-JSGRNWSB.js +233 -0
- package/dist/chunk-K7MPHJNG.js +66 -0
- package/dist/chunk-L7XFJWMY.js +93 -0
- package/dist/chunk-LAMQKQU3.js +56 -0
- package/dist/chunk-LJYASIJC.js +117 -0
- package/dist/chunk-LWTUQB7O.js +34 -0
- package/dist/chunk-LZHLWOXG.js +94 -0
- package/dist/chunk-NBCCPGA4.js +17 -0
- package/dist/chunk-O27TAUAS.js +76 -0
- package/dist/chunk-QR7BKTM6.js +131 -0
- package/dist/chunk-RUVXOYBL.js +19 -0
- package/dist/chunk-SVQELXFK.js +131 -0
- package/dist/chunk-W4GDCWKZ.js +86 -0
- package/dist/chunk-WOR7J4KZ.js +37 -0
- package/dist/chunk-WVEK4LFA.js +137 -0
- package/dist/chunk-WVJNZRKF.js +741 -0
- package/dist/chunk-X6BI4STY.js +23 -0
- package/dist/chunk-XTEEADPV.js +288 -0
- package/dist/chunk-Y4RJ7WS4.js +38 -0
- package/dist/components/Button.cjs +1645 -0
- package/dist/components/Button.d.cts +62 -0
- package/dist/components/Button.d.ts +62 -0
- package/dist/components/Button.js +21 -0
- package/dist/components/ButtonRow.cjs +1759 -0
- package/dist/components/ButtonRow.d.cts +24 -0
- package/dist/components/ButtonRow.d.ts +24 -0
- package/dist/components/ButtonRow.js +21 -0
- package/dist/components/Collapsible.cjs +1433 -0
- package/dist/components/Collapsible.d.cts +35 -0
- package/dist/components/Collapsible.d.ts +35 -0
- package/dist/components/Collapsible.js +21 -0
- package/dist/components/CommandKey.cjs +72 -0
- package/dist/components/CommandKey.d.cts +12 -0
- package/dist/components/CommandKey.d.ts +12 -0
- package/dist/components/CommandKey.js +8 -0
- package/dist/components/CopyToClipboardButton.cjs +1346 -0
- package/dist/components/CopyToClipboardButton.d.cts +18 -0
- package/dist/components/CopyToClipboardButton.d.ts +18 -0
- package/dist/components/CopyToClipboardButton.js +15 -0
- package/dist/components/CurrencyAmount.cjs +1355 -0
- package/dist/components/CurrencyAmount.d.cts +24 -0
- package/dist/components/CurrencyAmount.d.ts +24 -0
- package/dist/components/CurrencyAmount.js +16 -0
- package/dist/components/Icon.cjs +1265 -0
- package/dist/components/Icon.d.cts +29 -0
- package/dist/components/Icon.d.ts +29 -0
- package/dist/components/Icon.js +15 -0
- package/dist/components/LightboxImage.cjs +186 -0
- package/dist/components/LightboxImage.d.cts +8 -0
- package/dist/components/LightboxImage.d.ts +8 -0
- package/dist/components/LightboxImage.js +9 -0
- package/dist/components/LightsparkProvider.cjs +1332 -0
- package/dist/components/LightsparkProvider.d.cts +8 -0
- package/dist/components/LightsparkProvider.d.ts +8 -0
- package/dist/components/LightsparkProvider.js +14 -0
- package/dist/components/Loading.cjs +1317 -0
- package/dist/components/Loading.d.cts +27 -0
- package/dist/components/Loading.d.ts +27 -0
- package/dist/components/Loading.js +16 -0
- package/dist/components/Modal.cjs +1998 -0
- package/dist/components/Modal.d.cts +35 -0
- package/dist/components/Modal.d.ts +35 -0
- package/dist/components/Modal.js +21 -0
- package/dist/components/SecretContainer.cjs +1379 -0
- package/dist/components/SecretContainer.d.cts +10 -0
- package/dist/components/SecretContainer.d.ts +10 -0
- package/dist/components/SecretContainer.js +16 -0
- package/dist/components/TextIconAligner.cjs +1309 -0
- package/dist/components/TextIconAligner.d.cts +23 -0
- package/dist/components/TextIconAligner.d.ts +23 -0
- package/dist/components/TextIconAligner.js +14 -0
- package/dist/components/UnstyledButton.cjs +1190 -0
- package/dist/components/UnstyledButton.d.cts +10 -0
- package/dist/components/UnstyledButton.d.ts +10 -0
- package/dist/components/UnstyledButton.js +12 -0
- package/dist/components/documentation/AnchorLinkHeader.cjs +1387 -0
- package/dist/components/documentation/AnchorLinkHeader.d.cts +8 -0
- package/dist/components/documentation/AnchorLinkHeader.d.ts +8 -0
- package/dist/components/documentation/AnchorLinkHeader.js +16 -0
- package/dist/components/documentation/index.cjs +1388 -0
- package/dist/components/documentation/index.d.cts +5 -0
- package/dist/components/documentation/index.d.ts +5 -0
- package/dist/components/documentation/index.js +15 -0
- package/dist/components/index.cjs +2720 -0
- package/dist/components/index.d.cts +23 -0
- package/dist/components/index.d.ts +23 -0
- package/dist/components/index.js +82 -0
- package/dist/hooks/useLiveRef.cjs +41 -0
- package/dist/hooks/useLiveRef.d.cts +8 -0
- package/dist/hooks/useLiveRef.d.ts +8 -0
- package/dist/hooks/useLiveRef.js +7 -0
- package/dist/icons/AI.cjs +49 -0
- package/dist/icons/AI.d.cts +5 -0
- package/dist/icons/AI.d.ts +5 -0
- package/dist/icons/AI.js +30 -0
- package/dist/icons/AnchorLink.cjs +48 -0
- package/dist/icons/AnchorLink.d.cts +5 -0
- package/dist/icons/AnchorLink.d.ts +5 -0
- package/dist/icons/AnchorLink.js +29 -0
- package/dist/icons/AppIcon.cjs +88 -0
- package/dist/icons/AppIcon.d.cts +5 -0
- package/dist/icons/AppIcon.d.ts +5 -0
- package/dist/icons/AppIcon.js +69 -0
- package/dist/icons/ArrowCircleTier1.cjs +48 -0
- package/dist/icons/ArrowCircleTier1.d.cts +5 -0
- package/dist/icons/ArrowCircleTier1.d.ts +5 -0
- package/dist/icons/ArrowCircleTier1.js +29 -0
- package/dist/icons/ArrowCircleTier2.cjs +48 -0
- package/dist/icons/ArrowCircleTier2.d.cts +5 -0
- package/dist/icons/ArrowCircleTier2.d.ts +5 -0
- package/dist/icons/ArrowCircleTier2.js +29 -0
- package/dist/icons/ArrowCircleTier3.cjs +48 -0
- package/dist/icons/ArrowCircleTier3.d.cts +5 -0
- package/dist/icons/ArrowCircleTier3.d.ts +5 -0
- package/dist/icons/ArrowCircleTier3.js +29 -0
- package/dist/icons/ArrowDown.cjs +53 -0
- package/dist/icons/ArrowDown.d.cts +5 -0
- package/dist/icons/ArrowDown.d.ts +5 -0
- package/dist/icons/ArrowDown.js +30 -0
- package/dist/icons/ArrowUp.cjs +53 -0
- package/dist/icons/ArrowUp.d.cts +5 -0
- package/dist/icons/ArrowUp.d.ts +5 -0
- package/dist/icons/ArrowUp.js +30 -0
- package/dist/icons/Bell.cjs +57 -0
- package/dist/icons/Bell.d.cts +8 -0
- package/dist/icons/Bell.d.ts +8 -0
- package/dist/icons/Bell.js +38 -0
- package/dist/icons/BellOn.cjs +67 -0
- package/dist/icons/BellOn.d.cts +8 -0
- package/dist/icons/BellOn.d.ts +8 -0
- package/dist/icons/BellOn.js +48 -0
- package/dist/icons/BitcoinB.cjs +46 -0
- package/dist/icons/BitcoinB.d.cts +5 -0
- package/dist/icons/BitcoinB.d.ts +5 -0
- package/dist/icons/BitcoinB.js +27 -0
- package/dist/icons/BitcoinBOnRoundedSquare.cjs +48 -0
- package/dist/icons/BitcoinBOnRoundedSquare.d.cts +5 -0
- package/dist/icons/BitcoinBOnRoundedSquare.d.ts +5 -0
- package/dist/icons/BitcoinBOnRoundedSquare.js +29 -0
- package/dist/icons/Bolt.cjs +116 -0
- package/dist/icons/Bolt.d.cts +9 -0
- package/dist/icons/Bolt.d.ts +9 -0
- package/dist/icons/Bolt.js +97 -0
- package/dist/icons/Camera.cjs +55 -0
- package/dist/icons/Camera.d.cts +5 -0
- package/dist/icons/Camera.d.ts +5 -0
- package/dist/icons/Camera.js +36 -0
- package/dist/icons/CameraCapture.cjs +97 -0
- package/dist/icons/CameraCapture.d.cts +5 -0
- package/dist/icons/CameraCapture.d.ts +5 -0
- package/dist/icons/CameraCapture.js +78 -0
- package/dist/icons/Channel.cjs +67 -0
- package/dist/icons/Channel.d.cts +5 -0
- package/dist/icons/Channel.d.ts +5 -0
- package/dist/icons/Channel.js +48 -0
- package/dist/icons/ChannelBalance.cjs +58 -0
- package/dist/icons/ChannelBalance.d.cts +5 -0
- package/dist/icons/ChannelBalance.d.ts +5 -0
- package/dist/icons/ChannelBalance.js +39 -0
- package/dist/icons/ChannelOpen.cjs +64 -0
- package/dist/icons/ChannelOpen.d.cts +5 -0
- package/dist/icons/ChannelOpen.d.ts +5 -0
- package/dist/icons/ChannelOpen.js +45 -0
- package/dist/icons/CheckboxIcon.cjs +81 -0
- package/dist/icons/CheckboxIcon.d.cts +8 -0
- package/dist/icons/CheckboxIcon.d.ts +8 -0
- package/dist/icons/CheckboxIcon.js +62 -0
- package/dist/icons/Checkmark.cjs +47 -0
- package/dist/icons/Checkmark.d.cts +5 -0
- package/dist/icons/Checkmark.d.ts +5 -0
- package/dist/icons/Checkmark.js +28 -0
- package/dist/icons/CheckmarkCircleGreen.cjs +49 -0
- package/dist/icons/CheckmarkCircleGreen.d.cts +5 -0
- package/dist/icons/CheckmarkCircleGreen.d.ts +5 -0
- package/dist/icons/CheckmarkCircleGreen.js +30 -0
- package/dist/icons/CheckmarkCircleTier1.cjs +49 -0
- package/dist/icons/CheckmarkCircleTier1.d.cts +5 -0
- package/dist/icons/CheckmarkCircleTier1.d.ts +5 -0
- package/dist/icons/CheckmarkCircleTier1.js +30 -0
- package/dist/icons/CheckmarkCircleTier2.cjs +49 -0
- package/dist/icons/CheckmarkCircleTier2.d.cts +5 -0
- package/dist/icons/CheckmarkCircleTier2.d.ts +5 -0
- package/dist/icons/CheckmarkCircleTier2.js +30 -0
- package/dist/icons/CheckmarkCircleTier3.cjs +49 -0
- package/dist/icons/CheckmarkCircleTier3.d.cts +5 -0
- package/dist/icons/CheckmarkCircleTier3.d.ts +5 -0
- package/dist/icons/CheckmarkCircleTier3.js +30 -0
- package/dist/icons/Chevron.cjs +45 -0
- package/dist/icons/Chevron.d.cts +5 -0
- package/dist/icons/Chevron.d.ts +5 -0
- package/dist/icons/Chevron.js +26 -0
- package/dist/icons/CircleCheck.cjs +54 -0
- package/dist/icons/CircleCheck.d.cts +5 -0
- package/dist/icons/CircleCheck.d.ts +5 -0
- package/dist/icons/CircleCheck.js +31 -0
- package/dist/icons/CircleCheckOutline.cjs +51 -0
- package/dist/icons/CircleCheckOutline.d.cts +5 -0
- package/dist/icons/CircleCheckOutline.d.ts +5 -0
- package/dist/icons/CircleCheckOutline.js +28 -0
- package/dist/icons/CirclePlus.cjs +43 -0
- package/dist/icons/CirclePlus.d.cts +5 -0
- package/dist/icons/CirclePlus.d.ts +5 -0
- package/dist/icons/CirclePlus.js +20 -0
- package/dist/icons/Clock.cjs +53 -0
- package/dist/icons/Clock.d.cts +5 -0
- package/dist/icons/Clock.d.ts +5 -0
- package/dist/icons/Clock.js +30 -0
- package/dist/icons/Close.cjs +47 -0
- package/dist/icons/Close.d.cts +5 -0
- package/dist/icons/Close.d.ts +5 -0
- package/dist/icons/Close.js +28 -0
- package/dist/icons/Code.cjs +48 -0
- package/dist/icons/Code.d.cts +5 -0
- package/dist/icons/Code.d.ts +5 -0
- package/dist/icons/Code.js +29 -0
- package/dist/icons/Copy.cjs +45 -0
- package/dist/icons/Copy.d.cts +5 -0
- package/dist/icons/Copy.d.ts +5 -0
- package/dist/icons/Copy.js +26 -0
- package/dist/icons/CreditCard.cjs +52 -0
- package/dist/icons/CreditCard.d.cts +5 -0
- package/dist/icons/CreditCard.d.ts +5 -0
- package/dist/icons/CreditCard.js +33 -0
- package/dist/icons/DeleteIcon.cjs +63 -0
- package/dist/icons/DeleteIcon.d.cts +5 -0
- package/dist/icons/DeleteIcon.d.ts +5 -0
- package/dist/icons/DeleteIcon.js +44 -0
- package/dist/icons/Dollar.cjs +48 -0
- package/dist/icons/Dollar.d.cts +5 -0
- package/dist/icons/Dollar.d.ts +5 -0
- package/dist/icons/Dollar.js +29 -0
- package/dist/icons/Dots.cjs +38 -0
- package/dist/icons/Dots.d.cts +5 -0
- package/dist/icons/Dots.d.ts +5 -0
- package/dist/icons/Dots.js +19 -0
- package/dist/icons/Down.cjs +47 -0
- package/dist/icons/Down.d.cts +5 -0
- package/dist/icons/Down.d.ts +5 -0
- package/dist/icons/Down.js +28 -0
- package/dist/icons/Download.cjs +45 -0
- package/dist/icons/Download.d.cts +5 -0
- package/dist/icons/Download.d.ts +5 -0
- package/dist/icons/Download.js +26 -0
- package/dist/icons/ExclamationPoint.cjs +67 -0
- package/dist/icons/ExclamationPoint.d.cts +5 -0
- package/dist/icons/ExclamationPoint.d.ts +5 -0
- package/dist/icons/ExclamationPoint.js +48 -0
- package/dist/icons/Exit.cjs +46 -0
- package/dist/icons/Exit.d.cts +5 -0
- package/dist/icons/Exit.d.ts +5 -0
- package/dist/icons/Exit.js +27 -0
- package/dist/icons/Explorer.cjs +43 -0
- package/dist/icons/Explorer.d.cts +5 -0
- package/dist/icons/Explorer.d.ts +5 -0
- package/dist/icons/Explorer.js +24 -0
- package/dist/icons/Eye.cjs +54 -0
- package/dist/icons/Eye.d.cts +5 -0
- package/dist/icons/Eye.d.ts +5 -0
- package/dist/icons/Eye.js +35 -0
- package/dist/icons/EyeDropper.cjs +46 -0
- package/dist/icons/EyeDropper.d.cts +5 -0
- package/dist/icons/EyeDropper.d.ts +5 -0
- package/dist/icons/EyeDropper.js +27 -0
- package/dist/icons/FlutterTwoTone.cjs +70 -0
- package/dist/icons/FlutterTwoTone.d.cts +5 -0
- package/dist/icons/FlutterTwoTone.d.ts +5 -0
- package/dist/icons/FlutterTwoTone.js +51 -0
- package/dist/icons/Gear.cjs +54 -0
- package/dist/icons/Gear.d.cts +5 -0
- package/dist/icons/Gear.d.ts +5 -0
- package/dist/icons/Gear.js +35 -0
- package/dist/icons/Github.cjs +45 -0
- package/dist/icons/Github.d.cts +5 -0
- package/dist/icons/Github.d.ts +5 -0
- package/dist/icons/Github.js +26 -0
- package/dist/icons/GoTwoTone.cjs +86 -0
- package/dist/icons/GoTwoTone.d.cts +5 -0
- package/dist/icons/GoTwoTone.d.ts +5 -0
- package/dist/icons/GoTwoTone.js +67 -0
- package/dist/icons/GraphQLTwoTone.cjs +145 -0
- package/dist/icons/GraphQLTwoTone.d.cts +5 -0
- package/dist/icons/GraphQLTwoTone.d.ts +5 -0
- package/dist/icons/GraphQLTwoTone.js +126 -0
- package/dist/icons/HeartOutline.cjs +70 -0
- package/dist/icons/HeartOutline.d.cts +8 -0
- package/dist/icons/HeartOutline.d.ts +8 -0
- package/dist/icons/HeartOutline.js +51 -0
- package/dist/icons/HorizontalArrows.cjs +60 -0
- package/dist/icons/HorizontalArrows.d.cts +5 -0
- package/dist/icons/HorizontalArrows.d.ts +5 -0
- package/dist/icons/HorizontalArrows.js +41 -0
- package/dist/icons/Info.cjs +68 -0
- package/dist/icons/Info.d.cts +5 -0
- package/dist/icons/Info.d.ts +5 -0
- package/dist/icons/Info.js +49 -0
- package/dist/icons/InvoiceNew.cjs +46 -0
- package/dist/icons/InvoiceNew.d.cts +5 -0
- package/dist/icons/InvoiceNew.d.ts +5 -0
- package/dist/icons/InvoiceNew.js +27 -0
- package/dist/icons/JavaScriptTwoTone.cjs +83 -0
- package/dist/icons/JavaScriptTwoTone.d.cts +5 -0
- package/dist/icons/JavaScriptTwoTone.d.ts +5 -0
- package/dist/icons/JavaScriptTwoTone.js +64 -0
- package/dist/icons/JavaTwoTone.cjs +48 -0
- package/dist/icons/JavaTwoTone.d.cts +5 -0
- package/dist/icons/JavaTwoTone.d.ts +5 -0
- package/dist/icons/JavaTwoTone.js +29 -0
- package/dist/icons/KotlinTwoTone.cjs +62 -0
- package/dist/icons/KotlinTwoTone.d.cts +5 -0
- package/dist/icons/KotlinTwoTone.d.ts +5 -0
- package/dist/icons/KotlinTwoTone.js +43 -0
- package/dist/icons/LeftArrow.cjs +46 -0
- package/dist/icons/LeftArrow.d.cts +5 -0
- package/dist/icons/LeftArrow.d.ts +5 -0
- package/dist/icons/LeftArrow.js +27 -0
- package/dist/icons/LightningOnRoundedSquare.cjs +46 -0
- package/dist/icons/LightningOnRoundedSquare.d.cts +5 -0
- package/dist/icons/LightningOnRoundedSquare.d.ts +5 -0
- package/dist/icons/LightningOnRoundedSquare.js +27 -0
- package/dist/icons/LinkIcon.cjs +58 -0
- package/dist/icons/LinkIcon.d.cts +5 -0
- package/dist/icons/LinkIcon.d.ts +5 -0
- package/dist/icons/LinkIcon.js +39 -0
- package/dist/icons/LoadingSpinner.cjs +202 -0
- package/dist/icons/LoadingSpinner.d.cts +5 -0
- package/dist/icons/LoadingSpinner.d.ts +5 -0
- package/dist/icons/LoadingSpinner.js +183 -0
- package/dist/icons/Lock.cjs +56 -0
- package/dist/icons/Lock.d.cts +5 -0
- package/dist/icons/Lock.d.ts +5 -0
- package/dist/icons/Lock.js +37 -0
- package/dist/icons/Logo.cjs +78 -0
- package/dist/icons/Logo.d.cts +5 -0
- package/dist/icons/Logo.d.ts +5 -0
- package/dist/icons/Logo.js +33 -0
- package/dist/icons/LogoBolt.cjs +125 -0
- package/dist/icons/LogoBolt.d.cts +5 -0
- package/dist/icons/LogoBolt.d.ts +5 -0
- package/dist/icons/LogoBolt.js +106 -0
- package/dist/icons/LogoOnCircle.cjs +56 -0
- package/dist/icons/LogoOnCircle.d.cts +5 -0
- package/dist/icons/LogoOnCircle.d.ts +5 -0
- package/dist/icons/LogoOnCircle.js +37 -0
- package/dist/icons/MagicWand.cjs +75 -0
- package/dist/icons/MagicWand.d.cts +5 -0
- package/dist/icons/MagicWand.d.ts +5 -0
- package/dist/icons/MagicWand.js +56 -0
- package/dist/icons/Mail.cjs +47 -0
- package/dist/icons/Mail.d.cts +5 -0
- package/dist/icons/Mail.d.ts +5 -0
- package/dist/icons/Mail.js +28 -0
- package/dist/icons/Monitor.cjs +71 -0
- package/dist/icons/Monitor.d.cts +5 -0
- package/dist/icons/Monitor.d.ts +5 -0
- package/dist/icons/Monitor.js +52 -0
- package/dist/icons/NodeAdd.cjs +44 -0
- package/dist/icons/NodeAdd.d.cts +5 -0
- package/dist/icons/NodeAdd.d.ts +5 -0
- package/dist/icons/NodeAdd.js +25 -0
- package/dist/icons/NotEye.cjs +56 -0
- package/dist/icons/NotEye.d.cts +5 -0
- package/dist/icons/NotEye.d.ts +5 -0
- package/dist/icons/NotEye.js +37 -0
- package/dist/icons/NoteLine.cjs +44 -0
- package/dist/icons/NoteLine.d.cts +5 -0
- package/dist/icons/NoteLine.d.ts +5 -0
- package/dist/icons/NoteLine.js +25 -0
- package/dist/icons/PaperPlane.cjs +45 -0
- package/dist/icons/PaperPlane.d.cts +5 -0
- package/dist/icons/PaperPlane.d.ts +5 -0
- package/dist/icons/PaperPlane.js +26 -0
- package/dist/icons/Pencil.cjs +46 -0
- package/dist/icons/Pencil.d.cts +8 -0
- package/dist/icons/Pencil.d.ts +8 -0
- package/dist/icons/Pencil.js +27 -0
- package/dist/icons/Person.cjs +48 -0
- package/dist/icons/Person.d.cts +5 -0
- package/dist/icons/Person.d.ts +5 -0
- package/dist/icons/Person.js +29 -0
- package/dist/icons/Phone.cjs +57 -0
- package/dist/icons/Phone.d.cts +5 -0
- package/dist/icons/Phone.d.ts +5 -0
- package/dist/icons/Phone.js +38 -0
- package/dist/icons/PiggyBank.cjs +72 -0
- package/dist/icons/PiggyBank.d.cts +5 -0
- package/dist/icons/PiggyBank.d.ts +5 -0
- package/dist/icons/PiggyBank.js +49 -0
- package/dist/icons/Plus.cjs +74 -0
- package/dist/icons/Plus.d.cts +5 -0
- package/dist/icons/Plus.d.ts +5 -0
- package/dist/icons/Plus.js +55 -0
- package/dist/icons/PythonTwoTone.cjs +54 -0
- package/dist/icons/PythonTwoTone.d.cts +5 -0
- package/dist/icons/PythonTwoTone.d.ts +5 -0
- package/dist/icons/PythonTwoTone.js +35 -0
- package/dist/icons/QRCodeIcon.cjs +125 -0
- package/dist/icons/QRCodeIcon.d.cts +5 -0
- package/dist/icons/QRCodeIcon.d.ts +5 -0
- package/dist/icons/QRCodeIcon.js +106 -0
- package/dist/icons/ReactTwoTone.cjs +80 -0
- package/dist/icons/ReactTwoTone.d.cts +5 -0
- package/dist/icons/ReactTwoTone.d.ts +5 -0
- package/dist/icons/ReactTwoTone.js +61 -0
- package/dist/icons/Receive.cjs +47 -0
- package/dist/icons/Receive.d.cts +6 -0
- package/dist/icons/Receive.d.ts +6 -0
- package/dist/icons/Receive.js +28 -0
- package/dist/icons/Recycling.cjs +46 -0
- package/dist/icons/Recycling.d.cts +5 -0
- package/dist/icons/Recycling.d.ts +5 -0
- package/dist/icons/Recycling.js +27 -0
- package/dist/icons/Restart.cjs +46 -0
- package/dist/icons/Restart.d.cts +5 -0
- package/dist/icons/Restart.d.ts +5 -0
- package/dist/icons/Restart.js +27 -0
- package/dist/icons/RightArrow.cjs +46 -0
- package/dist/icons/RightArrow.d.cts +5 -0
- package/dist/icons/RightArrow.d.ts +5 -0
- package/dist/icons/RightArrow.js +27 -0
- package/dist/icons/Roadmap.cjs +46 -0
- package/dist/icons/Roadmap.d.cts +5 -0
- package/dist/icons/Roadmap.d.ts +5 -0
- package/dist/icons/Roadmap.js +27 -0
- package/dist/icons/Route.cjs +59 -0
- package/dist/icons/Route.d.cts +6 -0
- package/dist/icons/Route.d.ts +6 -0
- package/dist/icons/Route.js +40 -0
- package/dist/icons/RustTwoTone.cjs +60 -0
- package/dist/icons/RustTwoTone.d.cts +5 -0
- package/dist/icons/RustTwoTone.d.ts +5 -0
- package/dist/icons/RustTwoTone.js +41 -0
- package/dist/icons/Satoshi.cjs +59 -0
- package/dist/icons/Satoshi.d.cts +5 -0
- package/dist/icons/Satoshi.d.ts +5 -0
- package/dist/icons/Satoshi.js +40 -0
- package/dist/icons/SatoshiRounded.cjs +85 -0
- package/dist/icons/SatoshiRounded.d.cts +5 -0
- package/dist/icons/SatoshiRounded.d.ts +5 -0
- package/dist/icons/SatoshiRounded.js +66 -0
- package/dist/icons/Search.cjs +47 -0
- package/dist/icons/Search.d.cts +5 -0
- package/dist/icons/Search.d.ts +5 -0
- package/dist/icons/Search.js +28 -0
- package/dist/icons/SecurityKey.cjs +71 -0
- package/dist/icons/SecurityKey.d.cts +5 -0
- package/dist/icons/SecurityKey.d.ts +5 -0
- package/dist/icons/SecurityKey.js +52 -0
- package/dist/icons/Selector.cjs +61 -0
- package/dist/icons/Selector.d.cts +5 -0
- package/dist/icons/Selector.d.ts +5 -0
- package/dist/icons/Selector.js +42 -0
- package/dist/icons/SemiCircleOverlap.cjs +58 -0
- package/dist/icons/SemiCircleOverlap.d.cts +5 -0
- package/dist/icons/SemiCircleOverlap.d.ts +5 -0
- package/dist/icons/SemiCircleOverlap.js +39 -0
- package/dist/icons/Send.cjs +47 -0
- package/dist/icons/Send.d.cts +6 -0
- package/dist/icons/Send.d.ts +6 -0
- package/dist/icons/Send.js +28 -0
- package/dist/icons/Sidebar.cjs +48 -0
- package/dist/icons/Sidebar.d.cts +5 -0
- package/dist/icons/Sidebar.d.ts +5 -0
- package/dist/icons/Sidebar.js +29 -0
- package/dist/icons/StackedLines.cjs +52 -0
- package/dist/icons/StackedLines.d.cts +5 -0
- package/dist/icons/StackedLines.d.ts +5 -0
- package/dist/icons/StackedLines.js +29 -0
- package/dist/icons/SwiftTwoTone.cjs +59 -0
- package/dist/icons/SwiftTwoTone.d.cts +5 -0
- package/dist/icons/SwiftTwoTone.d.ts +5 -0
- package/dist/icons/SwiftTwoTone.js +40 -0
- package/dist/icons/Team.cjs +46 -0
- package/dist/icons/Team.d.cts +5 -0
- package/dist/icons/Team.d.ts +5 -0
- package/dist/icons/Team.js +27 -0
- package/dist/icons/Terminal.cjs +49 -0
- package/dist/icons/Terminal.d.cts +5 -0
- package/dist/icons/Terminal.d.ts +5 -0
- package/dist/icons/Terminal.js +30 -0
- package/dist/icons/Trash.cjs +49 -0
- package/dist/icons/Trash.d.cts +5 -0
- package/dist/icons/Trash.d.ts +5 -0
- package/dist/icons/Trash.js +30 -0
- package/dist/icons/TrashOld.cjs +53 -0
- package/dist/icons/TrashOld.d.cts +8 -0
- package/dist/icons/TrashOld.d.ts +8 -0
- package/dist/icons/TrashOld.js +34 -0
- package/dist/icons/TwoArrowsDown.cjs +53 -0
- package/dist/icons/TwoArrowsDown.d.cts +5 -0
- package/dist/icons/TwoArrowsDown.d.ts +5 -0
- package/dist/icons/TwoArrowsDown.js +30 -0
- package/dist/icons/TwoArrowsUp.cjs +53 -0
- package/dist/icons/TwoArrowsUp.d.cts +5 -0
- package/dist/icons/TwoArrowsUp.d.ts +5 -0
- package/dist/icons/TwoArrowsUp.js +30 -0
- package/dist/icons/Upload.cjs +45 -0
- package/dist/icons/Upload.d.cts +5 -0
- package/dist/icons/Upload.d.ts +5 -0
- package/dist/icons/Upload.js +26 -0
- package/dist/icons/VerticalArrows.cjs +59 -0
- package/dist/icons/VerticalArrows.d.cts +8 -0
- package/dist/icons/VerticalArrows.d.ts +8 -0
- package/dist/icons/VerticalArrows.js +40 -0
- package/dist/icons/ViewAll.cjs +45 -0
- package/dist/icons/ViewAll.d.cts +5 -0
- package/dist/icons/ViewAll.d.ts +5 -0
- package/dist/icons/ViewAll.js +26 -0
- package/dist/icons/WalletSDKIcon.cjs +59 -0
- package/dist/icons/WalletSDKIcon.d.cts +5 -0
- package/dist/icons/WalletSDKIcon.d.ts +5 -0
- package/dist/icons/WalletSDKIcon.js +40 -0
- package/dist/icons/WarningIcon.cjs +48 -0
- package/dist/icons/WarningIcon.d.cts +5 -0
- package/dist/icons/WarningIcon.d.ts +5 -0
- package/dist/icons/WarningIcon.js +29 -0
- package/dist/icons/WarningSign.cjs +57 -0
- package/dist/icons/WarningSign.d.cts +5 -0
- package/dist/icons/WarningSign.d.ts +5 -0
- package/dist/icons/WarningSign.js +38 -0
- package/dist/icons/index.cjs +1267 -0
- package/dist/icons/index.d.cts +5 -0
- package/dist/icons/index.d.ts +5 -0
- package/dist/icons/index.js +15 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +0 -0
- package/dist/router.cjs +1082 -0
- package/dist/router.d.cts +39 -0
- package/dist/router.d.ts +39 -0
- package/dist/router.js +24 -0
- package/dist/static/fonts/LightsparkIcons/LightsparkIcons.eot +0 -0
- package/dist/static/fonts/LightsparkIcons/LightsparkIcons.svg +14 -0
- package/dist/static/fonts/LightsparkIcons/LightsparkIcons.ttf +0 -0
- package/dist/static/fonts/LightsparkIcons/LightsparkIcons.woff +0 -0
- package/dist/static/fonts/LightsparkIcons/README.md +1 -0
- package/dist/static/fonts/LightsparkIcons/glyph-svg-src/btc.svg +3 -0
- package/dist/static/fonts/LightsparkIcons/glyph-svg-src/margin-btc.svg +3 -0
- package/dist/static/fonts/LightsparkIcons/glyph-svg-src/margin-sats.svg +7 -0
- package/dist/static/fonts/LightsparkIcons/glyph-svg-src/sats.svg +7 -0
- package/dist/static/fonts.css +14 -0
- package/dist/static/images/Checkmark.svg +3 -0
- package/dist/static/images/FramedLogoOnCircle.svg +12 -0
- package/dist/static/images/Logo.svg +55 -0
- package/dist/static/images/RainLogo.png +0 -0
- package/dist/static/images/RotatedElipseGradient-2x.png +0 -0
- package/dist/static/images/RotatedElipseGradient.png +0 -0
- package/dist/static/images/country-flags/us.svg +10 -0
- package/dist/styles/breakpoints.cjs +263 -0
- package/dist/styles/breakpoints.d.cts +88 -0
- package/dist/styles/breakpoints.d.ts +88 -0
- package/dist/styles/breakpoints.js +19 -0
- package/dist/styles/colors.cjs +1177 -0
- package/dist/styles/colors.d.cts +135 -0
- package/dist/styles/colors.d.ts +135 -0
- package/dist/styles/colors.js +41 -0
- package/dist/styles/common.cjs +1248 -0
- package/dist/styles/common.d.cts +48 -0
- package/dist/styles/common.d.ts +48 -0
- package/dist/styles/common.js +59 -0
- package/dist/styles/constants.cjs +32 -0
- package/dist/styles/constants.d.cts +5 -0
- package/dist/styles/constants.d.ts +5 -0
- package/dist/styles/constants.js +7 -0
- package/dist/styles/fields.cjs +1361 -0
- package/dist/styles/fields.d.cts +67 -0
- package/dist/styles/fields.d.ts +67 -0
- package/dist/styles/fields.js +192 -0
- package/dist/styles/fonts/typography/Article.cjs +1388 -0
- package/dist/styles/fonts/typography/Article.d.cts +10 -0
- package/dist/styles/fonts/typography/Article.d.ts +10 -0
- package/dist/styles/fonts/typography/Article.js +17 -0
- package/dist/styles/fonts/typography/Body.cjs +1012 -0
- package/dist/styles/fonts/typography/Body.d.cts +23 -0
- package/dist/styles/fonts/typography/Body.d.ts +23 -0
- package/dist/styles/fonts/typography/Body.js +13 -0
- package/dist/styles/fonts/typography/Code.cjs +68 -0
- package/dist/styles/fonts/typography/Code.d.cts +10 -0
- package/dist/styles/fonts/typography/Code.d.ts +10 -0
- package/dist/styles/fonts/typography/Code.js +9 -0
- package/dist/styles/fonts/typography/Display.cjs +1022 -0
- package/dist/styles/fonts/typography/Display.d.cts +15 -0
- package/dist/styles/fonts/typography/Display.d.ts +15 -0
- package/dist/styles/fonts/typography/Display.js +15 -0
- package/dist/styles/fonts/typography/Headline.cjs +1076 -0
- package/dist/styles/fonts/typography/Headline.d.cts +18 -0
- package/dist/styles/fonts/typography/Headline.d.ts +18 -0
- package/dist/styles/fonts/typography/Headline.js +19 -0
- package/dist/styles/fonts/typography/Label.cjs +1012 -0
- package/dist/styles/fonts/typography/Label.d.cts +18 -0
- package/dist/styles/fonts/typography/Label.d.ts +18 -0
- package/dist/styles/fonts/typography/Label.js +13 -0
- package/dist/styles/fonts/typography/LabelStrong.cjs +1023 -0
- package/dist/styles/fonts/typography/LabelStrong.d.cts +18 -0
- package/dist/styles/fonts/typography/LabelStrong.d.ts +18 -0
- package/dist/styles/fonts/typography/LabelStrong.js +13 -0
- package/dist/styles/fonts/typography/Title.cjs +1011 -0
- package/dist/styles/fonts/typography/Title.d.cts +18 -0
- package/dist/styles/fonts/typography/Title.d.ts +18 -0
- package/dist/styles/fonts/typography/Title.js +13 -0
- package/dist/styles/fonts/typography/index.cjs +1513 -0
- package/dist/styles/fonts/typography/index.d.cts +13 -0
- package/dist/styles/fonts/typography/index.d.ts +13 -0
- package/dist/styles/fonts/typography/index.js +41 -0
- package/dist/styles/fonts/typographyTokens.cjs +768 -0
- package/dist/styles/fonts/typographyTokens.d.cts +723 -0
- package/dist/styles/fonts/typographyTokens.d.ts +723 -0
- package/dist/styles/fonts/typographyTokens.js +13 -0
- package/dist/styles/global.cjs +1315 -0
- package/dist/styles/global.d.cts +10 -0
- package/dist/styles/global.d.ts +10 -0
- package/dist/styles/global.js +15 -0
- package/dist/styles/type.cjs +1362 -0
- package/dist/styles/type.d.cts +28 -0
- package/dist/styles/type.d.ts +28 -0
- package/dist/styles/type.js +153 -0
- package/dist/styles/utils.cjs +1259 -0
- package/dist/styles/utils.d.cts +29 -0
- package/dist/styles/utils.d.ts +29 -0
- package/dist/styles/utils.js +38 -0
- package/dist/styles/z-index.cjs +53 -0
- package/dist/styles/z-index.d.cts +25 -0
- package/dist/styles/z-index.d.ts +25 -0
- package/dist/styles/z-index.js +7 -0
- package/dist/types/index.cjs +18 -0
- package/dist/types/index.d.cts +11 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/index.js +0 -0
- package/dist/types/utils.cjs +37 -0
- package/dist/types/utils.d.cts +16 -0
- package/dist/types/utils.d.ts +16 -0
- package/dist/types/utils.js +13 -0
- package/dist/utils/strings.cjs +87 -0
- package/dist/utils/strings.d.cts +12 -0
- package/dist/utils/strings.d.ts +12 -0
- package/dist/utils/strings.js +21 -0
- package/package.json +72 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as _emotion_react from '@emotion/react';
|
|
2
|
+
import { CSSInterpolation } from '@emotion/css';
|
|
3
|
+
|
|
4
|
+
declare function pxToRems<T extends boolean>(rems: number, asNum?: T): T extends true ? number : string;
|
|
5
|
+
declare function remsToPx<T extends boolean>(rems: number, asNum?: T): T extends true ? number : string;
|
|
6
|
+
declare const extend: (...args: Array<CSSInterpolation>) => _emotion_react.SerializedStyles;
|
|
7
|
+
declare const size: {
|
|
8
|
+
px8: string | number;
|
|
9
|
+
px10: string | number;
|
|
10
|
+
px12: string | number;
|
|
11
|
+
px14: string | number;
|
|
12
|
+
px16: string | number;
|
|
13
|
+
px18: string | number;
|
|
14
|
+
px20: string | number;
|
|
15
|
+
px21: string | number;
|
|
16
|
+
px24: string | number;
|
|
17
|
+
};
|
|
18
|
+
declare const flexCenterAxis: _emotion_react.SerializedStyles;
|
|
19
|
+
declare const flexCenter: _emotion_react.SerializedStyles;
|
|
20
|
+
declare const inlineFlexCenter: _emotion_react.SerializedStyles;
|
|
21
|
+
declare const flexBetween: _emotion_react.SerializedStyles;
|
|
22
|
+
declare const absoluteCenter: _emotion_react.SerializedStyles;
|
|
23
|
+
declare const textCenter: _emotion_react.SerializedStyles;
|
|
24
|
+
declare const overflowAutoWithoutScrollbars: _emotion_react.SerializedStyles;
|
|
25
|
+
declare const lineClamp: (lines: number) => _emotion_react.SerializedStyles;
|
|
26
|
+
declare const ignoreSSRWarning = "/* @emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";
|
|
27
|
+
declare const firstChild: (style: string) => string;
|
|
28
|
+
|
|
29
|
+
export { absoluteCenter, extend, firstChild, flexBetween, flexCenter, flexCenterAxis, ignoreSSRWarning, inlineFlexCenter, lineClamp, overflowAutoWithoutScrollbars, pxToRems, remsToPx, size, textCenter };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as _emotion_react from '@emotion/react';
|
|
2
|
+
import { CSSInterpolation } from '@emotion/css';
|
|
3
|
+
|
|
4
|
+
declare function pxToRems<T extends boolean>(rems: number, asNum?: T): T extends true ? number : string;
|
|
5
|
+
declare function remsToPx<T extends boolean>(rems: number, asNum?: T): T extends true ? number : string;
|
|
6
|
+
declare const extend: (...args: Array<CSSInterpolation>) => _emotion_react.SerializedStyles;
|
|
7
|
+
declare const size: {
|
|
8
|
+
px8: string | number;
|
|
9
|
+
px10: string | number;
|
|
10
|
+
px12: string | number;
|
|
11
|
+
px14: string | number;
|
|
12
|
+
px16: string | number;
|
|
13
|
+
px18: string | number;
|
|
14
|
+
px20: string | number;
|
|
15
|
+
px21: string | number;
|
|
16
|
+
px24: string | number;
|
|
17
|
+
};
|
|
18
|
+
declare const flexCenterAxis: _emotion_react.SerializedStyles;
|
|
19
|
+
declare const flexCenter: _emotion_react.SerializedStyles;
|
|
20
|
+
declare const inlineFlexCenter: _emotion_react.SerializedStyles;
|
|
21
|
+
declare const flexBetween: _emotion_react.SerializedStyles;
|
|
22
|
+
declare const absoluteCenter: _emotion_react.SerializedStyles;
|
|
23
|
+
declare const textCenter: _emotion_react.SerializedStyles;
|
|
24
|
+
declare const overflowAutoWithoutScrollbars: _emotion_react.SerializedStyles;
|
|
25
|
+
declare const lineClamp: (lines: number) => _emotion_react.SerializedStyles;
|
|
26
|
+
declare const ignoreSSRWarning = "/* @emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";
|
|
27
|
+
declare const firstChild: (style: string) => string;
|
|
28
|
+
|
|
29
|
+
export { absoluteCenter, extend, firstChild, flexBetween, flexCenter, flexCenterAxis, ignoreSSRWarning, inlineFlexCenter, lineClamp, overflowAutoWithoutScrollbars, pxToRems, remsToPx, size, textCenter };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import {
|
|
2
|
+
absoluteCenter,
|
|
3
|
+
extend,
|
|
4
|
+
firstChild,
|
|
5
|
+
flexBetween,
|
|
6
|
+
flexCenter,
|
|
7
|
+
flexCenterAxis,
|
|
8
|
+
ignoreSSRWarning,
|
|
9
|
+
inlineFlexCenter,
|
|
10
|
+
lineClamp,
|
|
11
|
+
overflowAutoWithoutScrollbars,
|
|
12
|
+
pxToRems,
|
|
13
|
+
remsToPx,
|
|
14
|
+
size,
|
|
15
|
+
textCenter
|
|
16
|
+
} from "../chunk-LZHLWOXG.js";
|
|
17
|
+
import "../chunk-QR7BKTM6.js";
|
|
18
|
+
import "../chunk-ACZDUWPH.js";
|
|
19
|
+
import "../chunk-WVJNZRKF.js";
|
|
20
|
+
import "../chunk-JSGRNWSB.js";
|
|
21
|
+
import "../chunk-CLU2FRJZ.js";
|
|
22
|
+
import "../chunk-CIGAQ47A.js";
|
|
23
|
+
export {
|
|
24
|
+
absoluteCenter,
|
|
25
|
+
extend,
|
|
26
|
+
firstChild,
|
|
27
|
+
flexBetween,
|
|
28
|
+
flexCenter,
|
|
29
|
+
flexCenterAxis,
|
|
30
|
+
ignoreSSRWarning,
|
|
31
|
+
inlineFlexCenter,
|
|
32
|
+
lineClamp,
|
|
33
|
+
overflowAutoWithoutScrollbars,
|
|
34
|
+
pxToRems,
|
|
35
|
+
remsToPx,
|
|
36
|
+
size,
|
|
37
|
+
textCenter
|
|
38
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/styles/z-index.tsx
|
|
21
|
+
var z_index_exports = {};
|
|
22
|
+
__export(z_index_exports, {
|
|
23
|
+
z: () => z
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(z_index_exports);
|
|
26
|
+
var z = {
|
|
27
|
+
card: 1,
|
|
28
|
+
fieldError: 1,
|
|
29
|
+
textInput: 2,
|
|
30
|
+
select: 3,
|
|
31
|
+
selectFocused: 4,
|
|
32
|
+
walletActionPreviewTopGradient: 1,
|
|
33
|
+
headerContainer: 99,
|
|
34
|
+
smBanner: 99,
|
|
35
|
+
headerTop: 100,
|
|
36
|
+
navMenu: 100,
|
|
37
|
+
smNavMenu: 100,
|
|
38
|
+
navAction: 101,
|
|
39
|
+
smNavAction: 100,
|
|
40
|
+
// keep under navDropdown
|
|
41
|
+
tooltip: 160,
|
|
42
|
+
notificationBanner: 170,
|
|
43
|
+
qrReaderVideo: 180,
|
|
44
|
+
qrReaderOverlay: 181,
|
|
45
|
+
modalOverlay: 190,
|
|
46
|
+
modalContainer: 191,
|
|
47
|
+
dropdown: 192,
|
|
48
|
+
toast: 200
|
|
49
|
+
};
|
|
50
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
51
|
+
0 && (module.exports = {
|
|
52
|
+
z
|
|
53
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const z: {
|
|
2
|
+
card: number;
|
|
3
|
+
fieldError: number;
|
|
4
|
+
textInput: number;
|
|
5
|
+
select: number;
|
|
6
|
+
selectFocused: number;
|
|
7
|
+
walletActionPreviewTopGradient: number;
|
|
8
|
+
headerContainer: number;
|
|
9
|
+
smBanner: number;
|
|
10
|
+
headerTop: number;
|
|
11
|
+
navMenu: number;
|
|
12
|
+
smNavMenu: number;
|
|
13
|
+
navAction: number;
|
|
14
|
+
smNavAction: number;
|
|
15
|
+
tooltip: number;
|
|
16
|
+
notificationBanner: number;
|
|
17
|
+
qrReaderVideo: number;
|
|
18
|
+
qrReaderOverlay: number;
|
|
19
|
+
modalOverlay: number;
|
|
20
|
+
modalContainer: number;
|
|
21
|
+
dropdown: number;
|
|
22
|
+
toast: number;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export { z };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const z: {
|
|
2
|
+
card: number;
|
|
3
|
+
fieldError: number;
|
|
4
|
+
textInput: number;
|
|
5
|
+
select: number;
|
|
6
|
+
selectFocused: number;
|
|
7
|
+
walletActionPreviewTopGradient: number;
|
|
8
|
+
headerContainer: number;
|
|
9
|
+
smBanner: number;
|
|
10
|
+
headerTop: number;
|
|
11
|
+
navMenu: number;
|
|
12
|
+
smNavMenu: number;
|
|
13
|
+
navAction: number;
|
|
14
|
+
smNavAction: number;
|
|
15
|
+
tooltip: number;
|
|
16
|
+
notificationBanner: number;
|
|
17
|
+
qrReaderVideo: number;
|
|
18
|
+
qrReaderOverlay: number;
|
|
19
|
+
modalOverlay: number;
|
|
20
|
+
modalContainer: number;
|
|
21
|
+
dropdown: number;
|
|
22
|
+
toast: number;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export { z };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/types/index.ts
|
|
17
|
+
var types_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(types_exports);
|
|
File without changes
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/types/utils.ts
|
|
21
|
+
var utils_exports = {};
|
|
22
|
+
__export(utils_exports, {
|
|
23
|
+
isType: () => isType,
|
|
24
|
+
notNullUndefined: () => notNullUndefined
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(utils_exports);
|
|
27
|
+
var isType = (typename) => (node) => {
|
|
28
|
+
return (node == null ? void 0 : node.__typename) === typename;
|
|
29
|
+
};
|
|
30
|
+
function notNullUndefined(value) {
|
|
31
|
+
return value !== null && value !== void 0;
|
|
32
|
+
}
|
|
33
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
+
0 && (module.exports = {
|
|
35
|
+
isType,
|
|
36
|
+
notNullUndefined
|
|
37
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type Maybe<T> = T | null | undefined;
|
|
2
|
+
type ExpandRecursively<T> = T extends object ? T extends infer O ? {
|
|
3
|
+
[K in keyof O]: ExpandRecursively<O[K]>;
|
|
4
|
+
} : never : T;
|
|
5
|
+
type ById<T> = {
|
|
6
|
+
[id: string]: T;
|
|
7
|
+
};
|
|
8
|
+
type OmitTypename<T> = Omit<T, "__typename">;
|
|
9
|
+
declare const isType: <T extends string>(typename: T) => <N extends {
|
|
10
|
+
__typename: string;
|
|
11
|
+
}>(node: N | null | undefined) => node is Extract<N, {
|
|
12
|
+
__typename: T;
|
|
13
|
+
}>;
|
|
14
|
+
declare function notNullUndefined<TValue>(value: TValue | null | undefined): value is TValue;
|
|
15
|
+
|
|
16
|
+
export { ById, ExpandRecursively, Maybe, OmitTypename, isType, notNullUndefined };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type Maybe<T> = T | null | undefined;
|
|
2
|
+
type ExpandRecursively<T> = T extends object ? T extends infer O ? {
|
|
3
|
+
[K in keyof O]: ExpandRecursively<O[K]>;
|
|
4
|
+
} : never : T;
|
|
5
|
+
type ById<T> = {
|
|
6
|
+
[id: string]: T;
|
|
7
|
+
};
|
|
8
|
+
type OmitTypename<T> = Omit<T, "__typename">;
|
|
9
|
+
declare const isType: <T extends string>(typename: T) => <N extends {
|
|
10
|
+
__typename: string;
|
|
11
|
+
}>(node: N | null | undefined) => node is Extract<N, {
|
|
12
|
+
__typename: T;
|
|
13
|
+
}>;
|
|
14
|
+
declare function notNullUndefined<TValue>(value: TValue | null | undefined): value is TValue;
|
|
15
|
+
|
|
16
|
+
export { ById, ExpandRecursively, Maybe, OmitTypename, isType, notNullUndefined };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "../chunk-CIGAQ47A.js";
|
|
2
|
+
|
|
3
|
+
// src/types/utils.ts
|
|
4
|
+
var isType = (typename) => (node) => {
|
|
5
|
+
return (node == null ? void 0 : node.__typename) === typename;
|
|
6
|
+
};
|
|
7
|
+
function notNullUndefined(value) {
|
|
8
|
+
return value !== null && value !== void 0;
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
isType,
|
|
12
|
+
notNullUndefined
|
|
13
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/utils/strings.tsx
|
|
21
|
+
var strings_exports = {};
|
|
22
|
+
__export(strings_exports, {
|
|
23
|
+
addCommasToDigits: () => addCommasToDigits,
|
|
24
|
+
capitalize: () => capitalize,
|
|
25
|
+
elide: () => elide,
|
|
26
|
+
isString: () => isString,
|
|
27
|
+
makeEnumPretty: () => makeEnumPretty,
|
|
28
|
+
removeChars: () => removeChars,
|
|
29
|
+
removeCommas: () => removeCommas,
|
|
30
|
+
removeLeadingZeros: () => removeLeadingZeros
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(strings_exports);
|
|
33
|
+
var capitalize = (str) => {
|
|
34
|
+
if (str.length === 0) {
|
|
35
|
+
return str;
|
|
36
|
+
}
|
|
37
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
38
|
+
};
|
|
39
|
+
var makeEnumPretty = (enumValue, capitalizeAllWords = true) => {
|
|
40
|
+
let formatted = enumValue.toLowerCase().split("_");
|
|
41
|
+
if (capitalizeAllWords) {
|
|
42
|
+
formatted = formatted.map((word) => capitalize(word));
|
|
43
|
+
} else if (formatted.length > 0) {
|
|
44
|
+
formatted[0] = capitalize(formatted[0]);
|
|
45
|
+
}
|
|
46
|
+
return formatted.join(" ");
|
|
47
|
+
};
|
|
48
|
+
var elide = (s, first, last) => {
|
|
49
|
+
if (s === void 0 || s === null)
|
|
50
|
+
return s;
|
|
51
|
+
return s.substring(0, first) + "..." + s.substring(s.length - (last != null ? last : 0));
|
|
52
|
+
};
|
|
53
|
+
function removeChars(value, beginIndex, endIndex) {
|
|
54
|
+
return value.slice(0, beginIndex) + value.slice(endIndex || beginIndex + 1);
|
|
55
|
+
}
|
|
56
|
+
function isString(str) {
|
|
57
|
+
return typeof str === "string";
|
|
58
|
+
}
|
|
59
|
+
function removeCommas(value) {
|
|
60
|
+
return value.replace(/,/g, "");
|
|
61
|
+
}
|
|
62
|
+
function addCommasToDigits(value) {
|
|
63
|
+
if (typeof value === "number") {
|
|
64
|
+
value = value.toString();
|
|
65
|
+
}
|
|
66
|
+
const existingCommasRemoved = removeCommas(value);
|
|
67
|
+
const [int, decimal] = existingCommasRemoved.split(".");
|
|
68
|
+
const intWithCommas = int.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
|
69
|
+
return decimal ? `${intWithCommas}.${decimal}` : intWithCommas;
|
|
70
|
+
}
|
|
71
|
+
function removeLeadingZeros(value) {
|
|
72
|
+
if (value.length > 1) {
|
|
73
|
+
return value.replace(/^0+(?=\d)/, "");
|
|
74
|
+
}
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
78
|
+
0 && (module.exports = {
|
|
79
|
+
addCommasToDigits,
|
|
80
|
+
capitalize,
|
|
81
|
+
elide,
|
|
82
|
+
isString,
|
|
83
|
+
makeEnumPretty,
|
|
84
|
+
removeChars,
|
|
85
|
+
removeCommas,
|
|
86
|
+
removeLeadingZeros
|
|
87
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Maybe } from '../types/utils.cjs';
|
|
2
|
+
|
|
3
|
+
declare const capitalize: (str: string) => string;
|
|
4
|
+
declare const makeEnumPretty: (enumValue: string, capitalizeAllWords?: boolean) => string;
|
|
5
|
+
declare const elide: (s: Maybe<string>, first: number, last?: number) => Maybe<string>;
|
|
6
|
+
declare function removeChars(value: string, beginIndex: number, endIndex?: number): string;
|
|
7
|
+
declare function isString(str: unknown): str is string;
|
|
8
|
+
declare function removeCommas(value: string): string;
|
|
9
|
+
declare function addCommasToDigits(value: string | number): string;
|
|
10
|
+
declare function removeLeadingZeros(value: string): string;
|
|
11
|
+
|
|
12
|
+
export { addCommasToDigits, capitalize, elide, isString, makeEnumPretty, removeChars, removeCommas, removeLeadingZeros };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Maybe } from '../types/utils.js';
|
|
2
|
+
|
|
3
|
+
declare const capitalize: (str: string) => string;
|
|
4
|
+
declare const makeEnumPretty: (enumValue: string, capitalizeAllWords?: boolean) => string;
|
|
5
|
+
declare const elide: (s: Maybe<string>, first: number, last?: number) => Maybe<string>;
|
|
6
|
+
declare function removeChars(value: string, beginIndex: number, endIndex?: number): string;
|
|
7
|
+
declare function isString(str: unknown): str is string;
|
|
8
|
+
declare function removeCommas(value: string): string;
|
|
9
|
+
declare function addCommasToDigits(value: string | number): string;
|
|
10
|
+
declare function removeLeadingZeros(value: string): string;
|
|
11
|
+
|
|
12
|
+
export { addCommasToDigits, capitalize, elide, isString, makeEnumPretty, removeChars, removeCommas, removeLeadingZeros };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
addCommasToDigits,
|
|
3
|
+
capitalize,
|
|
4
|
+
elide,
|
|
5
|
+
isString,
|
|
6
|
+
makeEnumPretty,
|
|
7
|
+
removeChars,
|
|
8
|
+
removeCommas,
|
|
9
|
+
removeLeadingZeros
|
|
10
|
+
} from "../chunk-LAMQKQU3.js";
|
|
11
|
+
import "../chunk-CIGAQ47A.js";
|
|
12
|
+
export {
|
|
13
|
+
addCommasToDigits,
|
|
14
|
+
capitalize,
|
|
15
|
+
elide,
|
|
16
|
+
isString,
|
|
17
|
+
makeEnumPretty,
|
|
18
|
+
removeChars,
|
|
19
|
+
removeCommas,
|
|
20
|
+
removeLeadingZeros
|
|
21
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lightsparkdev/ui",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"main": "./dist/index.js",
|
|
5
|
+
"module": "./dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"exports": {
|
|
10
|
+
"./components": "./dist/components/index.js",
|
|
11
|
+
"./components/*": "./dist/components/*.js",
|
|
12
|
+
"./components/": "./dist/components/",
|
|
13
|
+
"./hooks/*": "./dist/hooks/*.js",
|
|
14
|
+
"./hooks": "./dist/hooks/index.js",
|
|
15
|
+
"./icons": "./dist/icons/index.js",
|
|
16
|
+
"./icons/*": "./dist/icons/*.js",
|
|
17
|
+
"./styles/*": "./dist/styles/*.js",
|
|
18
|
+
"./styles/fonts.css": "./dist/styles/fonts.css",
|
|
19
|
+
"./types/*": "./dist/types/*.js",
|
|
20
|
+
"./types": "./dist/types/index.js",
|
|
21
|
+
"./utils/*": "./dist/utils/*.js",
|
|
22
|
+
"./utils": "./dist/utils/index.js",
|
|
23
|
+
"./static/": "./dist/static/",
|
|
24
|
+
"./router": "./dist/router.js"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "yarn tsc && tsup --dts",
|
|
28
|
+
"build:watch": "yarn build --watch --clean=false",
|
|
29
|
+
"circular-deps": "madge --circular --extensions ts,tsx .",
|
|
30
|
+
"clean": "rm -rf .turbo",
|
|
31
|
+
"format:fix": "prettier . --write",
|
|
32
|
+
"format": "prettier . --check",
|
|
33
|
+
"lint:fix": "eslint --fix .",
|
|
34
|
+
"lint:watch": "esw . -w --ext .ts,.tsx,.js --color",
|
|
35
|
+
"lint": "eslint .",
|
|
36
|
+
"test": "echo \"TODO\"",
|
|
37
|
+
"types": "echo \"TODO: Some imports depend on the inheriting app config. May not be possible to run types here separately unless we fix that.\"",
|
|
38
|
+
"types:watch": "yarn run types"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@apollo/client": "^3.7.11",
|
|
42
|
+
"@emotion/css": "^11.11.0",
|
|
43
|
+
"@emotion/react": "^11.11.0",
|
|
44
|
+
"@emotion/styled": "^11.11.0",
|
|
45
|
+
"@lightsparkdev/core": "1.0.10",
|
|
46
|
+
"gql": "^1.1.2",
|
|
47
|
+
"lodash-es": "^4.17.21",
|
|
48
|
+
"nanoid": "^4.0.0",
|
|
49
|
+
"react": "^18.2.0",
|
|
50
|
+
"react-dom": "^18.1.0",
|
|
51
|
+
"react-tooltip": "^5.10.1"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@lightsparkdev/eslint-config": "*",
|
|
55
|
+
"@lightsparkdev/tsconfig": "0.0.0",
|
|
56
|
+
"@svgr/plugin-jsx": "^8.1.0",
|
|
57
|
+
"esbuild-plugin-copy": "^2.1.1",
|
|
58
|
+
"esbuild-plugin-svgr": "^2.1.0",
|
|
59
|
+
"eslint": "^8.3.0",
|
|
60
|
+
"eslint-watch": "^8.0.0",
|
|
61
|
+
"graphql": "^16.6.0",
|
|
62
|
+
"madge": "^6.1.0",
|
|
63
|
+
"prettier": "3.0.3",
|
|
64
|
+
"prettier-plugin-organize-imports": "^3.2.4",
|
|
65
|
+
"tsup": "^7.2.0",
|
|
66
|
+
"typescript": "^5.0.0"
|
|
67
|
+
},
|
|
68
|
+
"files": [
|
|
69
|
+
"dist/*",
|
|
70
|
+
"CHANGELOG.md"
|
|
71
|
+
]
|
|
72
|
+
}
|