@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,117 @@
|
|
|
1
|
+
import {
|
|
2
|
+
colors
|
|
3
|
+
} from "./chunk-ACZDUWPH.js";
|
|
4
|
+
|
|
5
|
+
// src/router.tsx
|
|
6
|
+
import { omit } from "lodash-es";
|
|
7
|
+
import { useCallback } from "react";
|
|
8
|
+
import {
|
|
9
|
+
Link as RLink,
|
|
10
|
+
Navigate as RNavigate,
|
|
11
|
+
matchPath,
|
|
12
|
+
useLocation,
|
|
13
|
+
useNavigate as useRNavigate
|
|
14
|
+
} from "react-router-dom";
|
|
15
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
16
|
+
function replaceParams(to, params) {
|
|
17
|
+
if (params) {
|
|
18
|
+
let toWithParams = to;
|
|
19
|
+
Object.entries(omit(params, "query")).forEach(([key, value]) => {
|
|
20
|
+
if (typeof value !== "string") {
|
|
21
|
+
throw new Error(
|
|
22
|
+
`Only 'query' may be an object. Route params must be a string, but '${key}' is not.`
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
toWithParams = toWithParams.replace(`:${key}`, value);
|
|
26
|
+
});
|
|
27
|
+
if (params.query) {
|
|
28
|
+
let query = params.query;
|
|
29
|
+
if (typeof query !== "string") {
|
|
30
|
+
query = Object.entries(params.query).map(([key, value]) => `${key}${value ? `=${value}` : ""}`).join("&");
|
|
31
|
+
}
|
|
32
|
+
toWithParams = `${toWithParams}?${query}`;
|
|
33
|
+
}
|
|
34
|
+
to = toWithParams;
|
|
35
|
+
}
|
|
36
|
+
return to;
|
|
37
|
+
}
|
|
38
|
+
function Link({
|
|
39
|
+
to,
|
|
40
|
+
params,
|
|
41
|
+
children,
|
|
42
|
+
css,
|
|
43
|
+
onClick,
|
|
44
|
+
className,
|
|
45
|
+
hash = null,
|
|
46
|
+
blue = false,
|
|
47
|
+
newTab = false
|
|
48
|
+
}) {
|
|
49
|
+
let toStr = replaceParams(to, params);
|
|
50
|
+
toStr += hash ? `#${hash}` : "";
|
|
51
|
+
return /* @__PURE__ */ jsx(
|
|
52
|
+
RLink,
|
|
53
|
+
{
|
|
54
|
+
to: toStr,
|
|
55
|
+
css,
|
|
56
|
+
onClick,
|
|
57
|
+
className,
|
|
58
|
+
style: { color: blue ? colors.blue43 : "inherit" },
|
|
59
|
+
target: newTab ? "_blank" : void 0,
|
|
60
|
+
rel: newTab ? "noopener noreferrer" : void 0,
|
|
61
|
+
children
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
function Navigate({
|
|
66
|
+
to,
|
|
67
|
+
params,
|
|
68
|
+
state,
|
|
69
|
+
replace = false
|
|
70
|
+
}) {
|
|
71
|
+
to = replaceParams(to, params);
|
|
72
|
+
return /* @__PURE__ */ jsx(RNavigate, { to, state, replace });
|
|
73
|
+
}
|
|
74
|
+
function useNavigate() {
|
|
75
|
+
const navigate = useRNavigate();
|
|
76
|
+
return useCallback(
|
|
77
|
+
(to, params, options) => {
|
|
78
|
+
if (typeof to === "string") {
|
|
79
|
+
to = replaceParams(to, params);
|
|
80
|
+
return navigate(to, options);
|
|
81
|
+
}
|
|
82
|
+
return navigate(to);
|
|
83
|
+
},
|
|
84
|
+
[navigate]
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
function useMatchRoutes(routes) {
|
|
88
|
+
const location = useLocation();
|
|
89
|
+
const doesMatch = routes.some((route) => matchPath(route, location.pathname));
|
|
90
|
+
return doesMatch;
|
|
91
|
+
}
|
|
92
|
+
function useFindMatchingRoute(routes) {
|
|
93
|
+
const location = useLocation();
|
|
94
|
+
const matchingRoute = routes.find(
|
|
95
|
+
(route) => matchPath(route, location.pathname)
|
|
96
|
+
);
|
|
97
|
+
return matchingRoute;
|
|
98
|
+
}
|
|
99
|
+
function useMatchRoute(route) {
|
|
100
|
+
const location = useLocation();
|
|
101
|
+
return matchPath(route, location.pathname);
|
|
102
|
+
}
|
|
103
|
+
function useCurrentRoute() {
|
|
104
|
+
const location = useLocation();
|
|
105
|
+
return location.pathname;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export {
|
|
109
|
+
replaceParams,
|
|
110
|
+
Link,
|
|
111
|
+
Navigate,
|
|
112
|
+
useNavigate,
|
|
113
|
+
useMatchRoutes,
|
|
114
|
+
useFindMatchingRoute,
|
|
115
|
+
useMatchRoute,
|
|
116
|
+
useCurrentRoute
|
|
117
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import {
|
|
2
|
+
colors
|
|
3
|
+
} from "./chunk-ACZDUWPH.js";
|
|
4
|
+
import {
|
|
5
|
+
getTypographyString
|
|
6
|
+
} from "./chunk-WVJNZRKF.js";
|
|
7
|
+
|
|
8
|
+
// src/styles/fonts/typography/Display.tsx
|
|
9
|
+
import styled from "@emotion/styled";
|
|
10
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
11
|
+
var ELEMENTS = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
12
|
+
var Display = ({
|
|
13
|
+
children,
|
|
14
|
+
color,
|
|
15
|
+
size = "Medium" /* Medium */,
|
|
16
|
+
element = "h1"
|
|
17
|
+
}) => {
|
|
18
|
+
return /* @__PURE__ */ jsx(StyledDisplay, { as: element, size, color, children });
|
|
19
|
+
};
|
|
20
|
+
var StyledDisplay = styled.span`
|
|
21
|
+
color: ${({ theme, color }) => `${color || theme.text || colors.black}`};
|
|
22
|
+
${({ theme, size }) => {
|
|
23
|
+
return size ? getTypographyString(theme.typography[theme.app].Display[size]) : "";
|
|
24
|
+
}}
|
|
25
|
+
`;
|
|
26
|
+
function displaySelector(element) {
|
|
27
|
+
return `${element}${StyledDisplay.toString()}`;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export {
|
|
31
|
+
ELEMENTS,
|
|
32
|
+
Display,
|
|
33
|
+
displaySelector
|
|
34
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import {
|
|
2
|
+
rootFontSizePx
|
|
3
|
+
} from "./chunk-QR7BKTM6.js";
|
|
4
|
+
|
|
5
|
+
// src/styles/utils.tsx
|
|
6
|
+
import { css } from "@emotion/react";
|
|
7
|
+
function pxToRems(rems, asNum = false) {
|
|
8
|
+
const value = (rems / rootFontSizePx).toFixed(6);
|
|
9
|
+
return asNum ? Number(value) : `${value}rem`;
|
|
10
|
+
}
|
|
11
|
+
function remsToPx(rems, asNum = false) {
|
|
12
|
+
const value = (rootFontSizePx * rems).toFixed(6);
|
|
13
|
+
return asNum ? Number(value) : `${value}px`;
|
|
14
|
+
}
|
|
15
|
+
var extend = (...args) => css(...args);
|
|
16
|
+
var size = {
|
|
17
|
+
px8: pxToRems(8),
|
|
18
|
+
px10: pxToRems(10),
|
|
19
|
+
px12: pxToRems(12),
|
|
20
|
+
px14: pxToRems(14),
|
|
21
|
+
px16: pxToRems(16),
|
|
22
|
+
px18: pxToRems(18),
|
|
23
|
+
px20: pxToRems(20),
|
|
24
|
+
px21: pxToRems(21),
|
|
25
|
+
px24: pxToRems(24)
|
|
26
|
+
};
|
|
27
|
+
var flexCenterAxis = css`
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
`;
|
|
31
|
+
var flexCenter = css`
|
|
32
|
+
display: flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
`;
|
|
36
|
+
var inlineFlexCenter = css`
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
align-items: center;
|
|
40
|
+
`;
|
|
41
|
+
var flexBetween = css`
|
|
42
|
+
display: flex;
|
|
43
|
+
justify-content: space-between;
|
|
44
|
+
align-items: center;
|
|
45
|
+
`;
|
|
46
|
+
var absoluteCenter = css`
|
|
47
|
+
position: absolute;
|
|
48
|
+
top: 0;
|
|
49
|
+
bottom: 0;
|
|
50
|
+
left: 0;
|
|
51
|
+
right: 0;
|
|
52
|
+
margin: auto;
|
|
53
|
+
`;
|
|
54
|
+
var textCenter = css`
|
|
55
|
+
text-align: center;
|
|
56
|
+
`;
|
|
57
|
+
var overflowAutoWithoutScrollbars = css`
|
|
58
|
+
overflow: auto;
|
|
59
|
+
scrollbar-width: none;
|
|
60
|
+
-ms-overflow-style: none;
|
|
61
|
+
|
|
62
|
+
&::-webkit-scrollbar {
|
|
63
|
+
display: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&::-moz-scrollbar {
|
|
67
|
+
display: none;
|
|
68
|
+
}
|
|
69
|
+
`;
|
|
70
|
+
var lineClamp = (lines) => css`
|
|
71
|
+
display: -webkit-box;
|
|
72
|
+
-webkit-line-clamp: ${lines};
|
|
73
|
+
-webkit-box-orient: vertical;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
`;
|
|
76
|
+
var ignoreSSRWarning = "/* @emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";
|
|
77
|
+
var firstChild = (style) => `&:first-child:not(style), style:first-child + & ${ignoreSSRWarning} { ${style} }`;
|
|
78
|
+
|
|
79
|
+
export {
|
|
80
|
+
pxToRems,
|
|
81
|
+
remsToPx,
|
|
82
|
+
extend,
|
|
83
|
+
size,
|
|
84
|
+
flexCenterAxis,
|
|
85
|
+
flexCenter,
|
|
86
|
+
inlineFlexCenter,
|
|
87
|
+
flexBetween,
|
|
88
|
+
absoluteCenter,
|
|
89
|
+
textCenter,
|
|
90
|
+
overflowAutoWithoutScrollbars,
|
|
91
|
+
lineClamp,
|
|
92
|
+
ignoreSSRWarning,
|
|
93
|
+
firstChild
|
|
94
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// src/hooks/useLiveRef.tsx
|
|
2
|
+
import { useCallback, useRef, useState } from "react";
|
|
3
|
+
function useLiveRef() {
|
|
4
|
+
const [ready, setReady] = useState(false);
|
|
5
|
+
const ref = useRef(null);
|
|
6
|
+
const refCb = useCallback((node) => {
|
|
7
|
+
if (node !== null) {
|
|
8
|
+
ref.current = node;
|
|
9
|
+
setReady(true);
|
|
10
|
+
}
|
|
11
|
+
}, []);
|
|
12
|
+
return [ready ? ref : { current: null }, refCb];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
useLiveRef
|
|
17
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Button
|
|
3
|
+
} from "./chunk-4X3K3VRC.js";
|
|
4
|
+
import {
|
|
5
|
+
overflowAutoWithoutScrollbars
|
|
6
|
+
} from "./chunk-LZHLWOXG.js";
|
|
7
|
+
import {
|
|
8
|
+
standardContentInsetSmPx
|
|
9
|
+
} from "./chunk-QR7BKTM6.js";
|
|
10
|
+
import {
|
|
11
|
+
bp
|
|
12
|
+
} from "./chunk-JSGRNWSB.js";
|
|
13
|
+
import {
|
|
14
|
+
__spreadValues
|
|
15
|
+
} from "./chunk-CIGAQ47A.js";
|
|
16
|
+
|
|
17
|
+
// src/components/ButtonRow.tsx
|
|
18
|
+
import styled from "@emotion/styled";
|
|
19
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
20
|
+
function ButtonRow({
|
|
21
|
+
buttons,
|
|
22
|
+
className,
|
|
23
|
+
smSticky = true,
|
|
24
|
+
headerHeight = 0
|
|
25
|
+
}) {
|
|
26
|
+
return /* @__PURE__ */ jsx(ButtonRowContainer, { smSticky, headerHeight, children: /* @__PURE__ */ jsx(StyledButtonRow, { className, children: buttons.map((button, idx) => /* @__PURE__ */ jsx(Button, __spreadValues({}, button), idx)) }) });
|
|
27
|
+
}
|
|
28
|
+
var ButtonRowContainer = styled.div`
|
|
29
|
+
max-width: 100%;
|
|
30
|
+
${({ theme }) => bp.sm(`background: ${theme.bg}`)}
|
|
31
|
+
${({ headerHeight, smSticky }) => bp.sm(
|
|
32
|
+
`
|
|
33
|
+
${smSticky ? `
|
|
34
|
+
display: block;
|
|
35
|
+
position: sticky;
|
|
36
|
+
top: ${headerHeight}px;
|
|
37
|
+
margin-top: 24px;
|
|
38
|
+
margin-left: -${standardContentInsetSmPx}px;
|
|
39
|
+
width: calc(100% + ${standardContentInsetSmPx * 2}px);
|
|
40
|
+
max-width: calc(100% + ${standardContentInsetSmPx * 2}px);
|
|
41
|
+
z-index: 2;` : `position: relative;`}
|
|
42
|
+
z-index: 2;
|
|
43
|
+
&:before {
|
|
44
|
+
content: "";
|
|
45
|
+
box-shadow: 0px 0px 9px 3px rgba(0, 0, 0, 0.09);
|
|
46
|
+
height: 1px;
|
|
47
|
+
position: absolute;
|
|
48
|
+
background: black;
|
|
49
|
+
bottom: 1px;
|
|
50
|
+
width: 100%;
|
|
51
|
+
z-index: 0;
|
|
52
|
+
}
|
|
53
|
+
`
|
|
54
|
+
)}
|
|
55
|
+
`;
|
|
56
|
+
var StyledButtonRow = styled.div`
|
|
57
|
+
${overflowAutoWithoutScrollbars}
|
|
58
|
+
background: ${({ theme }) => theme.bg};
|
|
59
|
+
display: flex;
|
|
60
|
+
position: relative;
|
|
61
|
+
z-index: 1;
|
|
62
|
+
|
|
63
|
+
& button:not(:first-of-type),
|
|
64
|
+
& a:not(:first-of-type) {
|
|
65
|
+
margin-left: 8px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
${bp.sm(`
|
|
69
|
+
padding: 12px;
|
|
70
|
+
`)}
|
|
71
|
+
`;
|
|
72
|
+
|
|
73
|
+
export {
|
|
74
|
+
ButtonRow,
|
|
75
|
+
ButtonRowContainer
|
|
76
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import {
|
|
2
|
+
colors,
|
|
3
|
+
darkGradient,
|
|
4
|
+
themeOr
|
|
5
|
+
} from "./chunk-ACZDUWPH.js";
|
|
6
|
+
import {
|
|
7
|
+
bp
|
|
8
|
+
} from "./chunk-JSGRNWSB.js";
|
|
9
|
+
import {
|
|
10
|
+
z
|
|
11
|
+
} from "./chunk-CLU2FRJZ.js";
|
|
12
|
+
|
|
13
|
+
// src/styles/common.tsx
|
|
14
|
+
import { css } from "@emotion/react";
|
|
15
|
+
import styled from "@emotion/styled";
|
|
16
|
+
import { Tooltip } from "react-tooltip";
|
|
17
|
+
var rootFontSizePx = 12;
|
|
18
|
+
var rootFontSizeRems = rootFontSizePx / 16;
|
|
19
|
+
var standardLineHeightEms = 1.21;
|
|
20
|
+
var headingContentMarginPx = 30;
|
|
21
|
+
var standardContentInsetPx = 32;
|
|
22
|
+
var standardContentInsetMdPx = 24;
|
|
23
|
+
var standardContentInsetSmPx = 16;
|
|
24
|
+
var cardBorderRadiusPx = 16;
|
|
25
|
+
var smContentInset = css`
|
|
26
|
+
${bp.sm(`
|
|
27
|
+
margin-left: auto;
|
|
28
|
+
margin-right: auto;
|
|
29
|
+
width: calc(100% - ${standardContentInsetSmPx * 2}px);
|
|
30
|
+
`)}
|
|
31
|
+
`;
|
|
32
|
+
var minSmMaxLgContentInset = css`
|
|
33
|
+
${bp.minSmMaxLg(`
|
|
34
|
+
width: calc(100% - ${standardContentInsetMdPx * 2}px);
|
|
35
|
+
`)}
|
|
36
|
+
`;
|
|
37
|
+
var standardContentInset = css`
|
|
38
|
+
margin-left: auto;
|
|
39
|
+
margin-right: auto;
|
|
40
|
+
width: calc(100% - ${standardContentInsetPx * 2}px);
|
|
41
|
+
max-width: 1280px;
|
|
42
|
+
|
|
43
|
+
${smContentInset}
|
|
44
|
+
${minSmMaxLgContentInset}
|
|
45
|
+
`;
|
|
46
|
+
var standardCardShadow = css`
|
|
47
|
+
box-shadow:
|
|
48
|
+
0px 4px 10px 0px rgba(0, 0, 0, 0.08),
|
|
49
|
+
0px 8px 24px 0px rgba(0, 0, 0, 0.04);
|
|
50
|
+
`;
|
|
51
|
+
var pageBorderRadiusPx = 16;
|
|
52
|
+
var pageBorderRadius = `
|
|
53
|
+
border-radius: ${pageBorderRadiusPx}px;
|
|
54
|
+
`;
|
|
55
|
+
var getFocusOutline = ({
|
|
56
|
+
theme,
|
|
57
|
+
onBgHex
|
|
58
|
+
}) => `${onBgHex ? theme.hcNeutralFromBg(onBgHex) : theme.hcNeutral} dashed 1px`;
|
|
59
|
+
var outlineOffset = "-2px";
|
|
60
|
+
var standardFocusOutline = ({ theme }) => css`
|
|
61
|
+
&,
|
|
62
|
+
& a,
|
|
63
|
+
& button {
|
|
64
|
+
&:focus-visible {
|
|
65
|
+
outline: ${getFocusOutline({ theme })};
|
|
66
|
+
outline-offset: ${outlineOffset};
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
`;
|
|
70
|
+
var delta = ({
|
|
71
|
+
theme,
|
|
72
|
+
delta: delta2 = 0,
|
|
73
|
+
invertSuccessColor = false
|
|
74
|
+
}) => css`
|
|
75
|
+
color: ${delta2 >= 0 ? invertSuccessColor ? theme.danger : theme.success : invertSuccessColor ? theme.success : theme.danger};
|
|
76
|
+
border-color: ${delta2 >= 0 ? invertSuccessColor ? theme.danger : theme.success : invertSuccessColor ? theme.success : theme.danger};
|
|
77
|
+
`;
|
|
78
|
+
var subtext = ({ theme }) => css`
|
|
79
|
+
color: ${theme.c6Neutral};
|
|
80
|
+
font-weight: 600;
|
|
81
|
+
`;
|
|
82
|
+
var Subtext = styled.div`
|
|
83
|
+
${subtext}
|
|
84
|
+
`;
|
|
85
|
+
var darkGradientBg = css`
|
|
86
|
+
background: ${darkGradient};
|
|
87
|
+
`;
|
|
88
|
+
var StyledTooltip = styled(Tooltip)`
|
|
89
|
+
z-index: ${z.modalOverlay};
|
|
90
|
+
`;
|
|
91
|
+
var overlaySurface = ({ theme }) => css`
|
|
92
|
+
background-color: ${themeOr(colors.white, theme.c1Neutral)({ theme })};
|
|
93
|
+
border: 0.5px solid ${themeOr(theme.c1Neutral, theme.c3Neutral)({ theme })};
|
|
94
|
+
${themeOr(
|
|
95
|
+
"box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08), 0px 1px 4px rgba(0, 0, 0, 0.1);",
|
|
96
|
+
""
|
|
97
|
+
)({ theme })}
|
|
98
|
+
`;
|
|
99
|
+
var mcBold = (theme) => css`
|
|
100
|
+
font-weight: 600;
|
|
101
|
+
color: ${theme.mcNeutral};
|
|
102
|
+
`;
|
|
103
|
+
var mcBoldStyled = ({ theme }) => mcBold(theme);
|
|
104
|
+
|
|
105
|
+
export {
|
|
106
|
+
rootFontSizePx,
|
|
107
|
+
rootFontSizeRems,
|
|
108
|
+
standardLineHeightEms,
|
|
109
|
+
headingContentMarginPx,
|
|
110
|
+
standardContentInsetPx,
|
|
111
|
+
standardContentInsetMdPx,
|
|
112
|
+
standardContentInsetSmPx,
|
|
113
|
+
cardBorderRadiusPx,
|
|
114
|
+
smContentInset,
|
|
115
|
+
minSmMaxLgContentInset,
|
|
116
|
+
standardContentInset,
|
|
117
|
+
standardCardShadow,
|
|
118
|
+
pageBorderRadiusPx,
|
|
119
|
+
pageBorderRadius,
|
|
120
|
+
getFocusOutline,
|
|
121
|
+
outlineOffset,
|
|
122
|
+
standardFocusOutline,
|
|
123
|
+
delta,
|
|
124
|
+
subtext,
|
|
125
|
+
Subtext,
|
|
126
|
+
darkGradientBg,
|
|
127
|
+
StyledTooltip,
|
|
128
|
+
overlaySurface,
|
|
129
|
+
mcBold,
|
|
130
|
+
mcBoldStyled
|
|
131
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getTypographyString
|
|
3
|
+
} from "./chunk-WVJNZRKF.js";
|
|
4
|
+
|
|
5
|
+
// src/styles/fonts/typography/Code.tsx
|
|
6
|
+
import styled from "@emotion/styled";
|
|
7
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
8
|
+
var Code = ({ children, size = "Medium" /* Medium */ }) => {
|
|
9
|
+
return /* @__PURE__ */ jsx(CodeStyles, { size, children });
|
|
10
|
+
};
|
|
11
|
+
var CodeStyles = styled.div`
|
|
12
|
+
${({ theme, size }) => {
|
|
13
|
+
return size ? getTypographyString(theme.typography[theme.app].Code[size]) : "";
|
|
14
|
+
}}
|
|
15
|
+
`;
|
|
16
|
+
|
|
17
|
+
export {
|
|
18
|
+
Code
|
|
19
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import {
|
|
2
|
+
z
|
|
3
|
+
} from "./chunk-CLU2FRJZ.js";
|
|
4
|
+
|
|
5
|
+
// src/components/LightboxImage.tsx
|
|
6
|
+
import styled from "@emotion/styled";
|
|
7
|
+
import {
|
|
8
|
+
useEffect,
|
|
9
|
+
useRef,
|
|
10
|
+
useState
|
|
11
|
+
} from "react";
|
|
12
|
+
import { Fragment, jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
13
|
+
var LightboxImage = ({ children }) => {
|
|
14
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
15
|
+
const [boundingRect, setBoundingRect] = useState({
|
|
16
|
+
x: 0,
|
|
17
|
+
y: 0,
|
|
18
|
+
width: 0,
|
|
19
|
+
height: 0
|
|
20
|
+
});
|
|
21
|
+
const imageRef = useRef(null);
|
|
22
|
+
const handleMouseUp = () => {
|
|
23
|
+
setIsOpen(!isOpen);
|
|
24
|
+
};
|
|
25
|
+
const handleSetBoundingRect = (ref) => {
|
|
26
|
+
var _a;
|
|
27
|
+
const rect = (_a = ref.current) == null ? void 0 : _a.getBoundingClientRect();
|
|
28
|
+
if (rect) {
|
|
29
|
+
setBoundingRect({
|
|
30
|
+
x: rect.x,
|
|
31
|
+
y: rect.y,
|
|
32
|
+
width: rect.width,
|
|
33
|
+
height: rect.height
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
useEffect(() => {
|
|
38
|
+
handleSetBoundingRect(imageRef);
|
|
39
|
+
}, [imageRef]);
|
|
40
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
41
|
+
/* @__PURE__ */ jsx(DummyImage, { isOpen, boundingRect }),
|
|
42
|
+
/* @__PURE__ */ jsx(
|
|
43
|
+
StyledImage,
|
|
44
|
+
{
|
|
45
|
+
isOpen,
|
|
46
|
+
ref: imageRef,
|
|
47
|
+
boundingRect,
|
|
48
|
+
onMouseDown: () => handleSetBoundingRect(imageRef),
|
|
49
|
+
onMouseUp: handleMouseUp,
|
|
50
|
+
children
|
|
51
|
+
}
|
|
52
|
+
),
|
|
53
|
+
/* @__PURE__ */ jsx(Lightbox, { isOpen, onClick: handleMouseUp })
|
|
54
|
+
] });
|
|
55
|
+
};
|
|
56
|
+
var DummyImage = styled.div`
|
|
57
|
+
${(props) => props.isOpen ? `height: ${props.boundingRect.height}px; width: ${props.boundingRect.width}px;` : ``}
|
|
58
|
+
`;
|
|
59
|
+
var StyledImage = styled.div`
|
|
60
|
+
display: flex;
|
|
61
|
+
justify-content: start;
|
|
62
|
+
align-items: center;
|
|
63
|
+
z-index: ${z.modalContainer};
|
|
64
|
+
|
|
65
|
+
animation-duration: 0.4s;
|
|
66
|
+
animation-fill-mode: forwards;
|
|
67
|
+
transition: all 0.2s ease-out;
|
|
68
|
+
|
|
69
|
+
${(props) => props.isOpen ? `
|
|
70
|
+
animation-direction: normal;
|
|
71
|
+
position: fixed;
|
|
72
|
+
animation-name: zoomIn;
|
|
73
|
+
pointer-events: none;
|
|
74
|
+
` : `
|
|
75
|
+
&:hover {
|
|
76
|
+
cursor: zoom-in;
|
|
77
|
+
}
|
|
78
|
+
`}
|
|
79
|
+
|
|
80
|
+
img {
|
|
81
|
+
width: 100%;
|
|
82
|
+
height: 100%;
|
|
83
|
+
object-fit: contain;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@keyframes zoomIn {
|
|
87
|
+
from {
|
|
88
|
+
${(props) => {
|
|
89
|
+
const { x, y, width, height } = props.boundingRect;
|
|
90
|
+
return `
|
|
91
|
+
top: ${y}px;
|
|
92
|
+
left: ${x}px;
|
|
93
|
+
width: ${width}px;
|
|
94
|
+
height: ${height}px;
|
|
95
|
+
`;
|
|
96
|
+
}}
|
|
97
|
+
}
|
|
98
|
+
to {
|
|
99
|
+
top: 0;
|
|
100
|
+
left: 0;
|
|
101
|
+
width: 100%;
|
|
102
|
+
height: 100%;
|
|
103
|
+
padding: 24px;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
`;
|
|
107
|
+
var Lightbox = styled.div`
|
|
108
|
+
transition: opacity 0.2s ease-out;
|
|
109
|
+
position: fixed;
|
|
110
|
+
opacity: 0;
|
|
111
|
+
z-index: ${z.modalOverlay};
|
|
112
|
+
top: 0;
|
|
113
|
+
left: 0;
|
|
114
|
+
width: 100%;
|
|
115
|
+
height: 100%;
|
|
116
|
+
|
|
117
|
+
${({ theme, isOpen }) => isOpen ? `
|
|
118
|
+
opacity: 1;
|
|
119
|
+
background: ${theme.bg};
|
|
120
|
+
|
|
121
|
+
&:hover {
|
|
122
|
+
cursor: zoom-out;
|
|
123
|
+
}
|
|
124
|
+
` : `
|
|
125
|
+
pointer-events: none;
|
|
126
|
+
`}
|
|
127
|
+
`;
|
|
128
|
+
|
|
129
|
+
export {
|
|
130
|
+
LightboxImage
|
|
131
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import {
|
|
2
|
+
colors
|
|
3
|
+
} from "./chunk-ACZDUWPH.js";
|
|
4
|
+
import {
|
|
5
|
+
getTypographyString
|
|
6
|
+
} from "./chunk-WVJNZRKF.js";
|
|
7
|
+
|
|
8
|
+
// src/styles/fonts/typography/Headline.tsx
|
|
9
|
+
import styled from "@emotion/styled";
|
|
10
|
+
import React from "react";
|
|
11
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
12
|
+
var HEADINGS = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
13
|
+
function isReactNodeWithChildren(node) {
|
|
14
|
+
return Boolean(
|
|
15
|
+
node && React.isValidElement(node) && typeof node.props === "object" && node.props !== null && "children" in node.props && node.props.children !== void 0
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
var getHeadlineText = (element) => {
|
|
19
|
+
if (typeof element === "string") {
|
|
20
|
+
return element;
|
|
21
|
+
}
|
|
22
|
+
if (Array.isArray(element)) {
|
|
23
|
+
return getHeadlineText(element[0]);
|
|
24
|
+
}
|
|
25
|
+
if (isReactNodeWithChildren(element)) {
|
|
26
|
+
getHeadlineText(element.props.children);
|
|
27
|
+
}
|
|
28
|
+
throw new Error(
|
|
29
|
+
"Could not find text in Headline element: " + (element == null ? void 0 : element.toString())
|
|
30
|
+
);
|
|
31
|
+
};
|
|
32
|
+
var getHeaderId = (element) => {
|
|
33
|
+
if (React.isValidElement(element) && (element == null ? void 0 : element.type) === "a" && "href" in element.props) {
|
|
34
|
+
const props = element.props;
|
|
35
|
+
return getHeaderId(props.href);
|
|
36
|
+
}
|
|
37
|
+
if (typeof element === "string") {
|
|
38
|
+
return element.replace("#", "");
|
|
39
|
+
}
|
|
40
|
+
if (Array.isArray(element)) {
|
|
41
|
+
return getHeaderId(element[0]);
|
|
42
|
+
}
|
|
43
|
+
if (isReactNodeWithChildren(element)) {
|
|
44
|
+
return getHeaderId(element.props.children);
|
|
45
|
+
}
|
|
46
|
+
throw new Error(
|
|
47
|
+
"Could not find text in Headline element: " + (element == null ? void 0 : element.toString())
|
|
48
|
+
);
|
|
49
|
+
};
|
|
50
|
+
var toKebabCase = (str) => {
|
|
51
|
+
return str.replaceAll(" ", "-").toLowerCase();
|
|
52
|
+
};
|
|
53
|
+
var Headline = ({
|
|
54
|
+
children,
|
|
55
|
+
color,
|
|
56
|
+
size = "Medium" /* Medium */,
|
|
57
|
+
heading = "h1"
|
|
58
|
+
}) => {
|
|
59
|
+
const id = toKebabCase(getHeaderId(children));
|
|
60
|
+
return /* @__PURE__ */ jsx(StyledHeadline, { as: heading, id, size, color, children });
|
|
61
|
+
};
|
|
62
|
+
var StyledHeadline = styled.span`
|
|
63
|
+
color: ${({ theme, color }) => `${color || theme.text || colors.black}`};
|
|
64
|
+
${({ theme, size }) => {
|
|
65
|
+
return size ? getTypographyString(theme.typography[theme.app].Headline[size]) : "";
|
|
66
|
+
}}
|
|
67
|
+
|
|
68
|
+
* {
|
|
69
|
+
color: ${({ theme, color }) => `${color || theme.text || colors.black}`};
|
|
70
|
+
${({ theme, size }) => {
|
|
71
|
+
return size ? getTypographyString(theme.typography[theme.app].Headline[size]) : "";
|
|
72
|
+
}}
|
|
73
|
+
}
|
|
74
|
+
`;
|
|
75
|
+
function headlineSelector(heading) {
|
|
76
|
+
return `${heading}${StyledHeadline.toString()}`;
|
|
77
|
+
}
|
|
78
|
+
var ALL_HEADLINE_SELECTORS = HEADINGS.map(headlineSelector).join(",");
|
|
79
|
+
|
|
80
|
+
export {
|
|
81
|
+
HEADINGS,
|
|
82
|
+
getHeadlineText,
|
|
83
|
+
Headline,
|
|
84
|
+
headlineSelector,
|
|
85
|
+
ALL_HEADLINE_SELECTORS
|
|
86
|
+
};
|