@lightsparkdev/ui 1.0.7 → 1.0.8
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/CHANGELOG.md +11 -0
- package/dist/{chunk-WM2D54JJ.js → chunk-22TGTMSK.js} +25 -8
- package/dist/{chunk-XTUVGLWQ.cjs → chunk-24G7XKW5.cjs} +3 -3
- package/dist/{chunk-ENBUKLVT.js → chunk-24PXYMSU.js} +829 -0
- package/dist/{chunk-2KDEPCCC.cjs → chunk-24SOCRDH.cjs} +1 -1
- package/dist/{chunk-J4BWIY7M.cjs → chunk-2C4Z2X45.cjs} +10 -10
- package/dist/{chunk-HVSAHGD7.cjs → chunk-2WREDS5B.cjs} +6 -6
- package/dist/{chunk-QZ7U4QKB.cjs → chunk-3TXLQOT4.cjs} +5 -5
- package/dist/{chunk-PBYLFD52.cjs → chunk-3UXAUDOL.cjs} +26 -26
- package/dist/{chunk-SOMDPWUX.js → chunk-3Z7RPOMO.js} +1 -1
- package/dist/{chunk-NRKSK3OJ.cjs → chunk-4BXMY75P.cjs} +27 -10
- package/dist/{chunk-PXZFQWMN.cjs → chunk-4HGJNBTO.cjs} +4 -4
- package/dist/{chunk-SUTN4O34.js → chunk-4IC7HDY4.js} +10 -10
- package/dist/{chunk-SODYHHOB.cjs → chunk-4P7RPU32.cjs} +3 -3
- package/dist/{chunk-KQ475V76.js → chunk-4VKPCWNP.js} +2 -2
- package/dist/{chunk-DSJTYUQG.cjs → chunk-5O6LWFY4.cjs} +26 -9
- package/dist/{chunk-W42LDOH4.js → chunk-5OIQOVHS.js} +4 -4
- package/dist/{chunk-FLYNOCPZ.js → chunk-5W523NQP.js} +1 -1
- package/dist/{chunk-QQ2MHKHV.cjs → chunk-6LHW62FG.cjs} +8 -8
- package/dist/{chunk-FNV7LZTE.js → chunk-6YSADIN7.js} +3 -3
- package/dist/{chunk-LWXTVAZ6.js → chunk-7ICNTAPO.js} +2 -2
- package/dist/{chunk-WUBMWAOS.cjs → chunk-A5QRVHWP.cjs} +31 -31
- package/dist/{chunk-LW4QZL4I.js → chunk-A6NNNY72.js} +1 -1
- package/dist/{chunk-GMM3LRXY.js → chunk-APUV4UN4.js} +1 -1
- package/dist/{chunk-7ZDRCGKF.js → chunk-AVEKG63Q.js} +24 -7
- package/dist/{chunk-JMQYZAL2.cjs → chunk-AXV4CDSK.cjs} +9 -9
- package/dist/{chunk-HKSBGUB7.cjs → chunk-AZRC3MXC.cjs} +2 -2
- package/dist/{chunk-MXR7SFIZ.js → chunk-BBPNYL4K.js} +3 -1
- package/dist/{chunk-XZG2GZWI.cjs → chunk-BD3WXMLE.cjs} +2 -2
- package/dist/{chunk-UEG2PUK7.cjs → chunk-BOBYW7PP.cjs} +2 -2
- package/dist/{chunk-DIKB7XZE.cjs → chunk-BQG6DASD.cjs} +27 -9
- package/dist/{chunk-CB3IFR2X.cjs → chunk-BY47I7ZP.cjs} +10 -10
- package/dist/{chunk-3Y63I7BP.js → chunk-C5KQZIKL.js} +1 -1
- package/dist/{chunk-J5EHGDRO.js → chunk-CHXBDWS3.js} +3 -3
- package/dist/{chunk-RRXUQSIX.js → chunk-CJBS52GU.js} +9 -9
- package/dist/{chunk-MJ4HZKPZ.cjs → chunk-DBB5TKTS.cjs} +29 -28
- package/dist/{chunk-MI5TUKMX.js → chunk-DBMGV4DX.js} +3 -3
- package/dist/{chunk-7LT4PQQ7.js → chunk-DGS7USD6.js} +3 -3
- package/dist/{chunk-JQV6H76U.js → chunk-DNRHVCOE.js} +1 -1
- package/dist/{chunk-DWGNUG6W.js → chunk-DPSSQNBK.js} +11 -10
- package/dist/{chunk-CULDUDP3.js → chunk-E4YBYEWH.js} +1 -1
- package/dist/{chunk-H47HIU2F.js → chunk-E7RKIBJY.js} +1 -1
- package/dist/{chunk-BED5BMM6.js → chunk-EEB6DWY3.js} +2 -2
- package/dist/chunk-EGOOSBGG.js +21 -0
- package/dist/{chunk-ZGPNVPST.js → chunk-EJZ3BXS3.js} +11 -10
- package/dist/{chunk-XKHTSGK3.cjs → chunk-EM7O6Y3M.cjs} +5 -5
- package/dist/{chunk-XQBJ74JW.cjs → chunk-EQ4V4QBD.cjs} +6 -6
- package/dist/{chunk-BPPGWPEN.cjs → chunk-EXGU7HIU.cjs} +2 -2
- package/dist/{chunk-QDMQOT22.js → chunk-EXTVW2LU.js} +5 -5
- package/dist/{chunk-EKU37RBB.js → chunk-F4RWDLPI.js} +3 -3
- package/dist/{chunk-SCB4M3K3.js → chunk-FBU6BGRP.js} +25 -8
- package/dist/{chunk-6L3PB65W.js → chunk-FH3E64BU.js} +26 -7
- package/dist/{chunk-Q4CBVF2A.cjs → chunk-FJZXLAEH.cjs} +2 -2
- package/dist/{chunk-H24ZXPN3.cjs → chunk-FRASE266.cjs} +10 -10
- package/dist/chunk-G5HBO2FI.cjs +21 -0
- package/dist/{chunk-DPK5MAQL.js → chunk-GB2UBWT4.js} +25 -7
- package/dist/{chunk-ZJTRXOA5.cjs → chunk-GCE3EVF6.cjs} +9 -9
- package/dist/{chunk-L3BNIBK3.js → chunk-GHXNMLAB.js} +2 -2
- package/dist/{chunk-CRVO2CAL.cjs → chunk-GWCVYEJG.cjs} +6 -6
- package/dist/{chunk-5GYVOXMF.js → chunk-H2OQXO5Z.js} +3 -3
- package/dist/{chunk-SQ5NGX4J.cjs → chunk-HJCROZDQ.cjs} +4 -4
- package/dist/{chunk-OEDDEF6C.js → chunk-HN6NGIKM.js} +1 -1
- package/dist/{chunk-ZV5IAOIM.js → chunk-HOKT6NQP.js} +1 -1
- package/dist/{chunk-XUIS5P5Z.js → chunk-HOR467ZW.js} +2 -2
- package/dist/{chunk-A6V6LC6W.js → chunk-HSBQGWYB.js} +4 -4
- package/dist/{chunk-3FA4RQGH.cjs → chunk-HTFKWW4S.cjs} +32 -31
- package/dist/{chunk-WWCUEEMH.cjs → chunk-IFT6NJX4.cjs} +6 -6
- package/dist/{chunk-IMJG5CTO.cjs → chunk-IJ4XF2NA.cjs} +2 -2
- package/dist/{chunk-CBPPDWW7.js → chunk-ISVMIEHD.js} +4 -4
- package/dist/{chunk-FQIT2EG7.js → chunk-JSOZMOEJ.js} +1 -1
- package/dist/{chunk-YKVROUDH.js → chunk-JWGDZRNN.js} +2 -2
- package/dist/{chunk-GB3YA32U.cjs → chunk-JWWKSKXB.cjs} +39 -39
- package/dist/{chunk-XCEI3WIL.js → chunk-JZJQOZEN.js} +2 -2
- package/dist/{chunk-3ET7MRCR.cjs → chunk-KACMKEQC.cjs} +2 -2
- package/dist/{chunk-OIR5K2NG.js → chunk-KKK2ML75.js} +1 -1
- package/dist/{chunk-QR6XKKRK.cjs → chunk-KLC2OBTG.cjs} +14 -13
- package/dist/{chunk-ANP2OU53.cjs → chunk-KMFK2MOB.cjs} +9 -9
- package/dist/{chunk-YD6ZGALS.cjs → chunk-LIVPDWXD.cjs} +4 -4
- package/dist/{chunk-7OBPNS6W.cjs → chunk-LLVW7HU4.cjs} +18 -15
- package/dist/{chunk-YHQVDAZW.cjs → chunk-LZ24FX6C.cjs} +2 -2
- package/dist/{chunk-TWG7OQT7.js → chunk-MBZSVLKB.js} +4 -4
- package/dist/{chunk-GCUBVU4U.js → chunk-MDAPZY4A.js} +12 -12
- package/dist/{chunk-YINNADVF.cjs → chunk-MHOXWPRA.cjs} +6 -6
- package/dist/{chunk-MXMS34PK.js → chunk-MK445W3F.js} +3 -3
- package/dist/chunk-MSBDBEM7.cjs +59 -0
- package/dist/{chunk-QBSDXGPZ.js → chunk-N5A5ZNNB.js} +10 -10
- package/dist/{chunk-VYCK3QBC.cjs → chunk-NN23LWC7.cjs} +13 -13
- package/dist/{chunk-3O67L2QO.cjs → chunk-NNTGGG2C.cjs} +2 -2
- package/dist/{chunk-V74OSV6N.cjs → chunk-NPTHZ6KR.cjs} +12 -12
- package/dist/{chunk-Q4BUF3EO.cjs → chunk-O7UTME4V.cjs} +2 -2
- package/dist/{chunk-KH5NEXIW.js → chunk-ONE4Q37F.js} +3 -3
- package/dist/{chunk-7NAL5XO6.cjs → chunk-PBD4TY4L.cjs} +7 -7
- package/dist/{chunk-5WZ7X43P.cjs → chunk-PDDHDR54.cjs} +29 -29
- package/dist/{chunk-27TVNUBD.js → chunk-PFYBJXL5.js} +2 -2
- package/dist/{chunk-MNAZ4BDQ.cjs → chunk-PYL3O7AF.cjs} +4 -4
- package/dist/{chunk-RYNH5AXT.cjs → chunk-QFOCB4NF.cjs} +4 -4
- package/dist/{chunk-UACBVBBE.js → chunk-QQTZ6DZL.js} +3 -3
- package/dist/{chunk-WONQPE5P.js → chunk-QU7VRXE6.js} +16 -13
- package/dist/{chunk-FQWU3AUO.cjs → chunk-RKBBY43D.cjs} +27 -7
- package/dist/{chunk-7GCXP2EW.js → chunk-RT4SDUU6.js} +1 -1
- package/dist/{chunk-OGJLMW37.js → chunk-RZMG2TID.js} +6 -5
- package/dist/{chunk-E42IFW4E.cjs → chunk-SEJXEWOJ.cjs} +27 -9
- package/dist/{chunk-4ZEUQBJZ.js → chunk-SI63PJGM.js} +4 -4
- package/dist/{chunk-AWTA3QRN.js → chunk-SXY5KR2T.js} +1 -1
- package/dist/{chunk-WI6IO34N.cjs → chunk-T7PTO2D2.cjs} +4 -4
- package/dist/{chunk-EKCGBLIH.cjs → chunk-TMTEVKSD.cjs} +829 -0
- package/dist/{chunk-6W3IBNGW.js → chunk-TPL3YXOG.js} +6 -6
- package/dist/chunk-TRIJJTMX.cjs +49 -0
- package/dist/{chunk-VI4JM4DQ.js → chunk-TSO4WRU4.js} +2 -2
- package/dist/{chunk-OHMAC2V5.js → chunk-TZN3OW2Q.js} +2 -2
- package/dist/{chunk-J2NLRI2M.js → chunk-UC6SP4KJ.js} +1 -1
- package/dist/{chunk-EZMYYBFH.js → chunk-UUQZW2LJ.js} +25 -5
- package/dist/{chunk-MJ63JHE3.cjs → chunk-V5DGRLV7.cjs} +4 -2
- package/dist/{chunk-AJ6OTIB2.js → chunk-VCHMPHHC.js} +1 -1
- package/dist/{chunk-FSVHUION.js → chunk-VD3UNL3N.js} +25 -7
- package/dist/{chunk-JCNYE37S.cjs → chunk-VMYRYEML.cjs} +8 -8
- package/dist/{chunk-EKTDBUWD.cjs → chunk-VNFSKZW2.cjs} +2 -2
- package/dist/{chunk-LHPOQVJO.js → chunk-VW2IB7XD.js} +1 -1
- package/dist/{chunk-ZFRMFHCU.cjs → chunk-VYKXX3SH.cjs} +27 -10
- package/dist/{chunk-I4NIA4SD.js → chunk-W5I53DTZ.js} +135 -5
- package/dist/{chunk-PDZ23BED.cjs → chunk-WTHHP7G2.cjs} +144 -14
- package/dist/{chunk-5BNDOQKG.js → chunk-X5RKTU6O.js} +2 -2
- package/dist/{chunk-TKCA4LT6.cjs → chunk-XIFM5AMT.cjs} +27 -9
- package/dist/{chunk-UYO2JW2E.cjs → chunk-XTE2IISE.cjs} +2 -2
- package/dist/chunk-XZKD27Y2.cjs +49 -0
- package/dist/{chunk-CWGZNP4N.cjs → chunk-YJJBABLW.cjs} +6 -6
- package/dist/{chunk-PGULRMMV.cjs → chunk-YZVHWN44.cjs} +6 -6
- package/dist/{chunk-IXV57HL7.cjs → chunk-ZBBVZQKJ.cjs} +4 -4
- package/dist/{chunk-CANLBVDM.js → chunk-ZHCJTMTX.js} +25 -7
- package/dist/{chunk-BYSQTUZ6.cjs → chunk-ZPIJMKJZ.cjs} +7 -7
- package/dist/{chunk-4DPM62TI.js → chunk-ZTIL63SE.js} +25 -7
- package/dist/components/Badge.cjs +51 -50
- package/dist/components/Badge.d.cts +2 -7
- package/dist/components/Badge.d.ts +2 -7
- package/dist/components/Badge.js +50 -49
- package/dist/components/Banner/Banner.cjs +51 -50
- package/dist/components/Banner/Banner.d.cts +2 -7
- package/dist/components/Banner/Banner.d.ts +2 -7
- package/dist/components/Banner/Banner.js +50 -49
- package/dist/components/Button.cjs +53 -52
- package/dist/components/Button.d.cts +2 -2
- package/dist/components/Button.d.ts +2 -2
- package/dist/components/Button.js +52 -51
- package/dist/components/ButtonRow.cjs +55 -54
- package/dist/components/ButtonRow.d.cts +1 -1
- package/dist/components/ButtonRow.d.ts +1 -1
- package/dist/components/ButtonRow.js +54 -53
- package/dist/components/CardPage.cjs +57 -56
- package/dist/components/CardPage.js +56 -55
- package/dist/components/Checkbox.cjs +6 -6
- package/dist/components/Checkbox.js +5 -5
- package/dist/components/CodeBlock.cjs +40 -40
- package/dist/components/CodeBlock.js +39 -39
- package/dist/components/CodeInput/CodeInput.cjs +9 -9
- package/dist/components/CodeInput/CodeInput.js +8 -8
- package/dist/components/CodeInput/SingleCodeInput.cjs +8 -8
- package/dist/components/CodeInput/SingleCodeInput.js +7 -7
- package/dist/components/Collapsible.cjs +37 -37
- package/dist/components/Collapsible.js +36 -36
- package/dist/components/CommaNumberInput.cjs +43 -43
- package/dist/components/CommaNumberInput.d.cts +4 -3
- package/dist/components/CommaNumberInput.d.ts +4 -3
- package/dist/components/CommaNumberInput.js +42 -42
- package/dist/components/ContentTable.cjs +36 -36
- package/dist/components/ContentTable.js +35 -35
- package/dist/components/CopyToClipboardButton.cjs +38 -38
- package/dist/components/CopyToClipboardButton.js +37 -37
- package/dist/components/CurrencyAmount.cjs +36 -36
- package/dist/components/CurrencyAmount.js +35 -35
- package/dist/components/Drawer.cjs +54 -53
- package/dist/components/Drawer.js +53 -52
- package/dist/components/Dropdown.cjs +37 -37
- package/dist/components/Dropdown.d.cts +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown.js +36 -36
- package/dist/components/FileInput.cjs +42 -42
- package/dist/components/FileInput.js +41 -41
- package/dist/components/GradientCardHeader.cjs +8 -8
- package/dist/components/GradientCardHeader.js +7 -7
- package/dist/components/Icon/Icon.cjs +35 -35
- package/dist/components/Icon/Icon.d.cts +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/Icon.js +34 -34
- package/dist/components/IconWithCircleBackground.cjs +36 -36
- package/dist/components/IconWithCircleBackground.js +35 -35
- package/dist/components/InfoIconTooltip.cjs +52 -51
- package/dist/components/InfoIconTooltip.d.cts +2 -7
- package/dist/components/InfoIconTooltip.d.ts +2 -7
- package/dist/components/InfoIconTooltip.js +51 -50
- package/dist/components/LightsparkProvider.cjs +7 -7
- package/dist/components/LightsparkProvider.js +6 -6
- package/dist/components/Loading.cjs +36 -36
- package/dist/components/Loading.js +35 -35
- package/dist/components/Modal.cjs +59 -58
- package/dist/components/Modal.d.cts +4 -8
- package/dist/components/Modal.d.ts +4 -8
- package/dist/components/Modal.js +58 -57
- package/dist/components/PageSection/PageSection.cjs +60 -59
- package/dist/components/PageSection/PageSection.d.cts +1 -1
- package/dist/components/PageSection/PageSection.d.ts +1 -1
- package/dist/components/PageSection/PageSection.js +59 -58
- package/dist/components/PageSection/PageSectionNav.cjs +54 -53
- package/dist/components/PageSection/PageSectionNav.js +53 -52
- package/dist/components/PhoneInput.cjs +43 -43
- package/dist/components/PhoneInput.d.cts +1 -1
- package/dist/components/PhoneInput.d.ts +1 -1
- package/dist/components/PhoneInput.js +42 -42
- package/dist/components/Pill.cjs +39 -39
- package/dist/components/Pill.js +38 -38
- package/dist/components/ProgressBar.cjs +6 -6
- package/dist/components/ProgressBar.js +5 -5
- package/dist/components/Radio.cjs +40 -39
- package/dist/components/Radio.js +39 -38
- package/dist/components/SecretContainer.cjs +39 -39
- package/dist/components/SecretContainer.js +38 -38
- package/dist/components/StatusIndicator.cjs +7 -7
- package/dist/components/StatusIndicator.js +6 -6
- package/dist/components/TextButton.cjs +53 -52
- package/dist/components/TextButton.d.cts +2 -6
- package/dist/components/TextButton.d.ts +2 -6
- package/dist/components/TextButton.js +52 -51
- package/dist/components/TextIconAligner.cjs +51 -50
- package/dist/components/TextIconAligner.d.cts +2 -7
- package/dist/components/TextIconAligner.d.ts +2 -7
- package/dist/components/TextIconAligner.js +50 -49
- package/dist/components/TextInput.cjs +42 -42
- package/dist/components/TextInput.d.cts +4 -2
- package/dist/components/TextInput.d.ts +4 -2
- package/dist/components/TextInput.js +41 -41
- package/dist/components/Toasts.cjs +53 -52
- package/dist/components/Toasts.d.cts +2 -7
- package/dist/components/Toasts.d.ts +2 -7
- package/dist/components/Toasts.js +52 -51
- package/dist/components/Toggle.cjs +7 -7
- package/dist/components/Toggle.js +6 -6
- package/dist/components/Tooltip.cjs +6 -6
- package/dist/components/Tooltip.js +5 -5
- package/dist/components/UnstyledButton.cjs +6 -6
- package/dist/components/UnstyledButton.js +5 -5
- package/dist/components/documentation/AnchorLinkHeader.cjs +41 -40
- package/dist/components/documentation/AnchorLinkHeader.d.cts +2 -1
- package/dist/components/documentation/AnchorLinkHeader.d.ts +2 -1
- package/dist/components/documentation/AnchorLinkHeader.js +40 -39
- package/dist/components/documentation/DocsBodyParagraph.cjs +55 -38
- package/dist/components/documentation/DocsBodyParagraph.d.cts +4 -3
- package/dist/components/documentation/DocsBodyParagraph.d.ts +4 -3
- package/dist/components/documentation/DocsBodyParagraph.js +55 -38
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +58 -42
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +4 -3
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +4 -3
- package/dist/components/documentation/DocsBodyStrongParagraph.js +58 -42
- package/dist/components/documentation/DocsHeadline.cjs +40 -39
- package/dist/components/documentation/DocsHeadline.d.cts +2 -1
- package/dist/components/documentation/DocsHeadline.d.ts +2 -1
- package/dist/components/documentation/DocsHeadline.js +39 -38
- package/dist/components/documentation/Video.cjs +6 -6
- package/dist/components/documentation/Video.js +4 -4
- package/dist/components/documentation/index.cjs +41 -40
- package/dist/components/documentation/index.d.cts +2 -1
- package/dist/components/documentation/index.d.ts +2 -1
- package/dist/components/documentation/index.js +40 -39
- package/dist/components/index.cjs +91 -90
- package/dist/components/index.d.cts +4 -7
- package/dist/components/index.d.ts +4 -7
- package/dist/components/index.js +90 -89
- package/dist/components/typography/Article.cjs +46 -45
- package/dist/components/typography/Article.js +45 -44
- package/dist/components/typography/Body.cjs +39 -38
- package/dist/components/typography/Body.d.cts +7 -18
- package/dist/components/typography/Body.d.ts +7 -18
- package/dist/components/typography/Body.js +38 -37
- package/dist/components/typography/BodyStrong.cjs +39 -38
- package/dist/components/typography/BodyStrong.d.cts +7 -19
- package/dist/components/typography/BodyStrong.d.ts +7 -19
- package/dist/components/typography/BodyStrong.js +38 -37
- package/dist/components/typography/Code.cjs +39 -38
- package/dist/components/typography/Code.d.cts +7 -17
- package/dist/components/typography/Code.d.ts +7 -17
- package/dist/components/typography/Code.js +38 -37
- package/dist/components/typography/Display.cjs +39 -38
- package/dist/components/typography/Display.d.cts +8 -10
- package/dist/components/typography/Display.d.ts +8 -10
- package/dist/components/typography/Display.js +38 -37
- package/dist/components/typography/Headline.cjs +39 -38
- package/dist/components/typography/Headline.d.cts +8 -21
- package/dist/components/typography/Headline.d.ts +8 -21
- package/dist/components/typography/Headline.js +38 -37
- package/dist/components/typography/Label.cjs +39 -38
- package/dist/components/typography/Label.d.cts +7 -16
- package/dist/components/typography/Label.d.ts +7 -16
- package/dist/components/typography/Label.js +38 -37
- package/dist/components/typography/LabelModerate.cjs +39 -38
- package/dist/components/typography/LabelModerate.d.cts +7 -16
- package/dist/components/typography/LabelModerate.d.ts +7 -16
- package/dist/components/typography/LabelModerate.js +38 -37
- package/dist/components/typography/LabelStrong.cjs +39 -38
- package/dist/components/typography/LabelStrong.d.cts +7 -18
- package/dist/components/typography/LabelStrong.d.ts +7 -18
- package/dist/components/typography/LabelStrong.js +38 -37
- package/dist/components/typography/Overline.cjs +39 -38
- package/dist/components/typography/Overline.d.cts +7 -16
- package/dist/components/typography/Overline.d.ts +7 -16
- package/dist/components/typography/Overline.js +38 -37
- package/dist/components/typography/Title.cjs +39 -38
- package/dist/components/typography/Title.d.cts +7 -19
- package/dist/components/typography/Title.d.ts +7 -19
- package/dist/components/typography/Title.js +38 -37
- package/dist/components/typography/index.cjs +51 -50
- package/dist/components/typography/index.d.cts +2 -1
- package/dist/components/typography/index.d.ts +2 -1
- package/dist/components/typography/index.js +50 -49
- package/dist/components/typography/renderTypography.cjs +49 -48
- package/dist/components/typography/renderTypography.d.cts +31 -80
- package/dist/components/typography/renderTypography.d.ts +31 -80
- package/dist/components/typography/renderTypography.js +48 -47
- package/dist/components/typography/types.cjs +1 -0
- package/dist/components/typography/types.d.cts +147 -0
- package/dist/components/typography/types.d.ts +147 -0
- package/dist/components/typography/types.js +0 -0
- package/dist/components/typography/typographyStyles.cjs +7 -0
- package/dist/components/typography/typographyStyles.d.cts +133 -0
- package/dist/components/typography/typographyStyles.d.ts +133 -0
- package/dist/components/typography/typographyStyles.js +7 -0
- package/dist/icons/index.cjs +37 -37
- package/dist/icons/index.js +61 -61
- package/dist/styles/common.cjs +5 -5
- package/dist/styles/common.d.cts +1 -1
- package/dist/styles/common.d.ts +1 -1
- package/dist/styles/common.js +4 -4
- package/dist/styles/fields.cjs +7 -7
- package/dist/styles/fields.d.cts +5 -3
- package/dist/styles/fields.d.ts +5 -3
- package/dist/styles/fields.js +6 -6
- package/dist/styles/global.cjs +6 -6
- package/dist/styles/global.d.cts +1 -1
- package/dist/styles/global.d.ts +1 -1
- package/dist/styles/global.js +5 -5
- package/dist/styles/themeDefaults/buttons.cjs +2 -2
- package/dist/styles/themeDefaults/buttons.d.cts +1 -1
- package/dist/styles/themeDefaults/buttons.d.ts +1 -1
- package/dist/styles/themeDefaults/buttons.js +1 -1
- package/dist/styles/themeDefaults/loading.d.cts +2 -2
- package/dist/styles/themeDefaults/loading.d.ts +2 -2
- package/dist/styles/themes.cjs +4 -4
- package/dist/styles/themes.d.cts +1 -1
- package/dist/styles/themes.d.ts +1 -1
- package/dist/styles/themes.js +3 -3
- package/dist/styles/tokens/typography.cjs +2 -2
- package/dist/styles/tokens/typography.d.cts +40 -12
- package/dist/styles/tokens/typography.d.ts +40 -12
- package/dist/styles/tokens/typography.js +1 -1
- package/dist/styles/type.cjs +7 -7
- package/dist/styles/type.d.cts +1 -1
- package/dist/styles/type.d.ts +1 -1
- package/dist/styles/type.js +6 -6
- package/dist/styles/typography.cjs +5 -5
- package/dist/styles/typography.d.cts +1 -1
- package/dist/styles/typography.d.ts +1 -1
- package/dist/styles/typography.js +4 -4
- package/dist/styles/utils.cjs +6 -6
- package/dist/styles/utils.js +5 -5
- package/dist/{themes-a4269f0f.d.ts → themes-13a0ed7c.d.ts} +322 -149
- package/dist/{themes-74cc65f5.d.ts → themes-67ece8cd.d.ts} +322 -149
- package/dist/utils/toNonTypographicReactNodes.cjs +36 -36
- package/dist/utils/toNonTypographicReactNodes.d.cts +1 -1
- package/dist/utils/toNonTypographicReactNodes.d.ts +1 -1
- package/dist/utils/toNonTypographicReactNodes.js +35 -35
- package/dist/utils/toReactNodes.cjs +50 -49
- package/dist/utils/toReactNodes.d.cts +5 -10
- package/dist/utils/toReactNodes.d.ts +5 -10
- package/dist/utils/toReactNodes.js +49 -48
- package/package.json +1 -1
- package/dist/chunk-73LM7UGP.cjs +0 -59
- package/dist/chunk-CIGDU5PL.cjs +0 -31
- package/dist/chunk-TTWRXIOP.cjs +0 -30
- package/dist/{chunk-OT4XMGY5.cjs → chunk-MMK4RQ64.cjs} +36 -36
- package/dist/{chunk-Y6Q37DGW.js → chunk-QQLUKKYZ.js} +60 -60
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk4P7RPU32cjs = require('./chunk-4P7RPU32.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkKW3JYLRIcjs = require('./chunk-KW3JYLRI.cjs');
|
|
@@ -68,46 +68,46 @@ var baseHeading = ({ mt, mb, mtSm, mbSm, theme }) => _react.css`
|
|
|
68
68
|
margin-bottom: ${mbSm}px;
|
|
69
69
|
`)}
|
|
70
70
|
`;
|
|
71
|
-
var firstChildStyles =
|
|
71
|
+
var firstChildStyles = _chunk4P7RPU32cjs.firstChild.call(void 0, `margin-top: 0;`);
|
|
72
72
|
var headings = {
|
|
73
73
|
h1: _styled2.default.h1`
|
|
74
74
|
${(props) => baseHeading(props)}
|
|
75
75
|
${firstChildStyles}
|
|
76
76
|
|
|
77
|
-
font-size: ${
|
|
77
|
+
font-size: ${_chunk4P7RPU32cjs.pxToRems.call(void 0, defaultHeadingSizes.h1.size)};
|
|
78
78
|
font-weight: ${({ light }) => light ? 400 : 800}};
|
|
79
79
|
${_chunkKW3JYLRIcjs.bp.sm(`
|
|
80
|
-
font-size: ${
|
|
80
|
+
font-size: ${_chunk4P7RPU32cjs.pxToRems.call(void 0, defaultHeadingSizes.h1.sizeSm)};
|
|
81
81
|
`)}
|
|
82
82
|
`,
|
|
83
83
|
h2: _styled2.default.h2`
|
|
84
84
|
${(props) => baseHeading(props)}
|
|
85
85
|
${firstChildStyles}
|
|
86
86
|
|
|
87
|
-
font-size: ${
|
|
87
|
+
font-size: ${_chunk4P7RPU32cjs.pxToRems.call(void 0, defaultHeadingSizes.h2.size)};
|
|
88
88
|
font-weight: ${({ light }) => light ? 400 : 700}};
|
|
89
89
|
${_chunkKW3JYLRIcjs.bp.sm(`
|
|
90
|
-
font-size: ${
|
|
90
|
+
font-size: ${_chunk4P7RPU32cjs.pxToRems.call(void 0, defaultHeadingSizes.h2.sizeSm)};
|
|
91
91
|
`)}
|
|
92
92
|
`,
|
|
93
93
|
h3: _styled2.default.h3`
|
|
94
94
|
${(props) => baseHeading(props)}
|
|
95
95
|
${firstChildStyles}
|
|
96
96
|
|
|
97
|
-
font-size: ${
|
|
97
|
+
font-size: ${_chunk4P7RPU32cjs.pxToRems.call(void 0, defaultHeadingSizes.h3.size)};
|
|
98
98
|
font-weight: ${({ light }) => light ? 400 : 700}};
|
|
99
99
|
${_chunkKW3JYLRIcjs.bp.sm(`
|
|
100
|
-
font-size: ${
|
|
100
|
+
font-size: ${_chunk4P7RPU32cjs.pxToRems.call(void 0, defaultHeadingSizes.h3.sizeSm)};
|
|
101
101
|
`)}
|
|
102
102
|
`,
|
|
103
103
|
h4: _styled2.default.h4`
|
|
104
104
|
${(props) => baseHeading(props)}
|
|
105
105
|
${firstChildStyles}
|
|
106
106
|
|
|
107
|
-
font-size: ${
|
|
107
|
+
font-size: ${_chunk4P7RPU32cjs.pxToRems.call(void 0, defaultHeadingSizes.h4.size)};
|
|
108
108
|
font-weight: ${({ light }) => light ? 400 : 600}};
|
|
109
109
|
${_chunkKW3JYLRIcjs.bp.sm(`
|
|
110
|
-
font-size: ${
|
|
110
|
+
font-size: ${_chunk4P7RPU32cjs.pxToRems.call(void 0, defaultHeadingSizes.h4.sizeSm)};
|
|
111
111
|
`)}
|
|
112
112
|
`
|
|
113
113
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/components/typography/typographyStyles.tsx
|
|
2
|
+
var _react = require('@emotion/react');
|
|
3
|
+
var typographyStyles = ({
|
|
4
|
+
/* theme, size, colorProp, */
|
|
5
|
+
block: blockProp,
|
|
6
|
+
hideOverflow,
|
|
7
|
+
displayProp
|
|
8
|
+
}) => {
|
|
9
|
+
const displayValue = blockProp || hideOverflow ? "block" : displayProp || null;
|
|
10
|
+
return _react.css`
|
|
11
|
+
/* Margins should always be set in parent style contexts eg Article: */
|
|
12
|
+
margin: 0;
|
|
13
|
+
|
|
14
|
+
${displayValue ? `display: ${displayValue};` : ""}
|
|
15
|
+
${hideOverflow ? "overflow: hidden; text-overflow: ellipsis;" : ""}
|
|
16
|
+
`;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
exports.typographyStyles = typographyStyles;
|
|
@@ -1,28 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UC6SP4KJ.js";
|
|
4
|
+
import {
|
|
5
|
+
typographyStyles
|
|
6
|
+
} from "./chunk-EGOOSBGG.js";
|
|
4
7
|
import {
|
|
5
8
|
applyTypography
|
|
6
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GHXNMLAB.js";
|
|
7
10
|
|
|
8
11
|
// src/components/typography/Label.tsx
|
|
9
12
|
import styled from "@emotion/styled";
|
|
10
13
|
import { jsx } from "@emotion/react/jsx-runtime";
|
|
11
14
|
var Label = ({
|
|
12
|
-
|
|
15
|
+
block = false,
|
|
16
|
+
children,
|
|
13
17
|
color,
|
|
14
|
-
|
|
15
|
-
|
|
18
|
+
content,
|
|
19
|
+
display,
|
|
20
|
+
hideOverflow = false,
|
|
21
|
+
id,
|
|
22
|
+
size = "Medium"
|
|
16
23
|
}) => {
|
|
17
24
|
let reactNodes = children || null;
|
|
18
25
|
if (content) {
|
|
19
26
|
reactNodes = toNonTypographicReactNodes(content);
|
|
20
27
|
}
|
|
21
|
-
return /* @__PURE__ */ jsx(
|
|
28
|
+
return /* @__PURE__ */ jsx(
|
|
29
|
+
StyledLabel,
|
|
30
|
+
{
|
|
31
|
+
block,
|
|
32
|
+
colorProp: color,
|
|
33
|
+
displayProp: display,
|
|
34
|
+
hideOverflow,
|
|
35
|
+
id,
|
|
36
|
+
size,
|
|
37
|
+
children: reactNodes
|
|
38
|
+
}
|
|
39
|
+
);
|
|
22
40
|
};
|
|
23
41
|
var StyledLabel = styled.span`
|
|
24
42
|
${({ theme, size, colorProp }) => applyTypography(theme, "Label", size, colorProp)}
|
|
25
|
-
|
|
43
|
+
${typographyStyles}
|
|
26
44
|
`;
|
|
27
45
|
|
|
28
46
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkMSBDBEM7cjs = require('./chunk-MSBDBEM7.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ var _chunk73LM7UGPcjs = require('./chunk-73LM7UGP.cjs');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkAZRC3MXCcjs = require('./chunk-AZRC3MXC.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -26,12 +26,12 @@ function toReactNodes(toReactNodesArg) {
|
|
|
26
26
|
return null;
|
|
27
27
|
} else if (typeof node !== "string" && "typography" in node && node.typography.type) {
|
|
28
28
|
const props = node.typography.props || {};
|
|
29
|
-
content = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children:
|
|
29
|
+
content = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: _chunkMSBDBEM7cjs.renderTypography.call(void 0,
|
|
30
30
|
node.typography.type,
|
|
31
31
|
Object.assign(props, { content: node })
|
|
32
32
|
) }, `typography-${i}-${node.text.substr(0, 10)}`);
|
|
33
33
|
} else {
|
|
34
|
-
content =
|
|
34
|
+
content = _chunkAZRC3MXCcjs.toNonTypographicReactNodes.call(void 0, node);
|
|
35
35
|
}
|
|
36
36
|
return content || null;
|
|
37
37
|
});
|
|
@@ -40,7 +40,7 @@ function toReactNodes(toReactNodesArg) {
|
|
|
40
40
|
function setReactNodesTypography(nodesArg, nodesTypographyMap, replaceExistingTypography = true) {
|
|
41
41
|
const nodes = Array.isArray(nodesArg) ? nodesArg : [nodesArg];
|
|
42
42
|
const nodesWithTypography = nodes.map((node, i) => {
|
|
43
|
-
if (
|
|
43
|
+
if (_chunkAZRC3MXCcjs.isIconNode.call(void 0, node)) {
|
|
44
44
|
return node;
|
|
45
45
|
} else if (typeof node === "string") {
|
|
46
46
|
if (nodesTypographyMap.text) {
|
|
@@ -53,25 +53,25 @@ function setReactNodesTypography(nodesArg, nodesTypographyMap, replaceExistingTy
|
|
|
53
53
|
return node;
|
|
54
54
|
}
|
|
55
55
|
const useExistingTypography = !replaceExistingTypography && _lodashes.isObject.call(void 0, node) && "typography" in node ? node.typography : void 0;
|
|
56
|
-
if (
|
|
56
|
+
if (_chunkAZRC3MXCcjs.isLinkNode.call(void 0, node)) {
|
|
57
57
|
if (nodesTypographyMap.link) {
|
|
58
58
|
return _chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, node), {
|
|
59
59
|
typography: useExistingTypography || nodesTypographyMap.link
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
|
-
} else if (
|
|
62
|
+
} else if (_chunkAZRC3MXCcjs.isExternalLinkNode.call(void 0, node)) {
|
|
63
63
|
if (nodesTypographyMap.externalLink) {
|
|
64
64
|
return _chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, node), {
|
|
65
65
|
typography: useExistingTypography || nodesTypographyMap.externalLink
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
} else if (
|
|
68
|
+
} else if (_chunkAZRC3MXCcjs.isNextLinkNode.call(void 0, node)) {
|
|
69
69
|
if (nodesTypographyMap.nextLink) {
|
|
70
70
|
return _chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, node), {
|
|
71
71
|
typography: useExistingTypography || nodesTypographyMap.nextLink
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
} else if (
|
|
74
|
+
} else if (_chunkAZRC3MXCcjs.isTextNode.call(void 0, node)) {
|
|
75
75
|
if (nodesTypographyMap.text) {
|
|
76
76
|
return _chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, node), {
|
|
77
77
|
typography: useExistingTypography || nodesTypographyMap.text
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFontColor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W5I53DTZ.js";
|
|
4
4
|
import {
|
|
5
5
|
getTypographyString
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-24PXYMSU.js";
|
|
7
7
|
|
|
8
8
|
// src/styles/typography.tsx
|
|
9
9
|
var applyTypography = (theme, typographyType, size, color = "inherit", applyToAll = true) => {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkYJJBABLWcjs = require('./chunk-YJJBABLW.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkQCJWZRIPcjs = require('./chunk-QCJWZRIP.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkBOBYW7PPcjs = require('./chunk-BOBYW7PP.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk7PRNB5U5cjs = require('./chunk-7PRNB5U5.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkPYL3O7AFcjs = require('./chunk-PYL3O7AF.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -48,7 +48,7 @@ function TextButton({
|
|
|
48
48
|
}
|
|
49
49
|
const defaultIconColor = iconMatchTextColor ? void 0 : "mcNeutral";
|
|
50
50
|
const content = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
51
|
-
|
|
51
|
+
_chunkYJJBABLWcjs.TextIconAligner,
|
|
52
52
|
{
|
|
53
53
|
onClick,
|
|
54
54
|
leftIcon: leftIcon ? {
|
|
@@ -93,7 +93,7 @@ var buttonStyle = ({
|
|
|
93
93
|
padding: ${padding};
|
|
94
94
|
|
|
95
95
|
&:focus-visible {
|
|
96
|
-
outline: ${
|
|
96
|
+
outline: ${_chunkPYL3O7AFcjs.getFocusOutline.call(void 0, { theme })};
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
& > * {
|
|
@@ -103,7 +103,7 @@ var buttonStyle = ({
|
|
|
103
103
|
cursor: ${disabled ? "not-allowed" : "pointer"};
|
|
104
104
|
}
|
|
105
105
|
`;
|
|
106
|
-
var StyledButton = _styled2.default.call(void 0,
|
|
106
|
+
var StyledButton = _styled2.default.call(void 0, _chunkBOBYW7PPcjs.UnstyledButton)`
|
|
107
107
|
${(props) => buttonStyle(props)}
|
|
108
108
|
`;
|
|
109
109
|
var ButtonLink = _styled2.default.call(void 0, _chunkQCJWZRIPcjs.Link)`
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Pill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MBZSVLKB.js";
|
|
4
4
|
import {
|
|
5
5
|
InputSubtext,
|
|
6
6
|
inputBlockStyle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RZMG2TID.js";
|
|
8
8
|
import {
|
|
9
9
|
Icon
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QQTZ6DZL.js";
|
|
11
11
|
|
|
12
12
|
// src/components/FileInput.tsx
|
|
13
13
|
import styled from "@emotion/styled";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkV5DGRLV7cjs = require('./chunk-V5DGRLV7.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk6VA4SAHQcjs = require('./chunk-6VA4SAHQ.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkBY47I7ZPcjs = require('./chunk-BY47I7ZP.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -16,12 +16,12 @@ var _chunkLKKJVJCGcjs = require('./chunk-LKKJVJCG.cjs');
|
|
|
16
16
|
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
17
17
|
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
18
18
|
var AnchorLinkHeader = (props) => {
|
|
19
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledAnchorLinkHeader, { colorProp: props.color, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledAnchorLinkHeader, { colorProp: props.color, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV5DGRLV7cjs.DocsHeadline, _chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, props), { children: [
|
|
20
20
|
props.children,
|
|
21
21
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconWrapper, { name: "AnchorLink", color: props.color, width: 0 })
|
|
22
22
|
] })) });
|
|
23
23
|
};
|
|
24
|
-
var IconWrapper = _styled2.default.call(void 0,
|
|
24
|
+
var IconWrapper = _styled2.default.call(void 0, _chunkBY47I7ZPcjs.Icon)`
|
|
25
25
|
width: 20px;
|
|
26
26
|
opacity: 0;
|
|
27
27
|
margin: 0 0 4px -20px;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DocsHeadline
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BBPNYL4K.js";
|
|
4
4
|
import {
|
|
5
5
|
select
|
|
6
6
|
} from "./chunk-YMNSXZ5D.js";
|
|
7
7
|
import {
|
|
8
8
|
Icon
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QQTZ6DZL.js";
|
|
10
10
|
import {
|
|
11
11
|
__spreadProps,
|
|
12
12
|
__spreadValues
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopyToClipboardButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F4RWDLPI.js";
|
|
4
4
|
import {
|
|
5
5
|
overflowAutoWithoutScrollbars
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DNRHVCOE.js";
|
|
7
7
|
import {
|
|
8
8
|
standardBorderRadius
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-APUV4UN4.js";
|
|
10
10
|
import {
|
|
11
11
|
themeOr
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-W5I53DTZ.js";
|
|
13
13
|
import {
|
|
14
14
|
colors
|
|
15
15
|
} from "./chunk-REL56P3K.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkBD3WXMLEcjs = require('./chunk-BD3WXMLE.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkMSBDBEM7cjs = require('./chunk-MSBDBEM7.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk6VA4SAHQcjs = require('./chunk-6VA4SAHQ.cjs');
|
|
@@ -12,26 +12,26 @@ var _chunk6VA4SAHQcjs = require('./chunk-6VA4SAHQ.cjs');
|
|
|
12
12
|
var _chunkQCJWZRIPcjs = require('./chunk-QCJWZRIP.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkZBBVZQKJcjs = require('./chunk-ZBBVZQKJ.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkLZ24FX6Ccjs = require('./chunk-LZ24FX6C.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkBOBYW7PPcjs = require('./chunk-BOBYW7PP.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkBY47I7ZPcjs = require('./chunk-BY47I7ZP.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkPYL3O7AFcjs = require('./chunk-PYL3O7AF.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkWTHHP7G2cjs = require('./chunk-WTHHP7G2.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkTMTEVKSDcjs = require('./chunk-TMTEVKSD.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
@@ -52,23 +52,24 @@ var buttonKinds = [
|
|
|
52
52
|
"purple55",
|
|
53
53
|
"blue43",
|
|
54
54
|
"blue39",
|
|
55
|
-
"danger"
|
|
55
|
+
"danger",
|
|
56
|
+
"tertiary"
|
|
56
57
|
];
|
|
57
58
|
var roundPaddingsX = {
|
|
58
|
-
[
|
|
59
|
-
[
|
|
60
|
-
[
|
|
61
|
-
[
|
|
62
|
-
[
|
|
63
|
-
[
|
|
59
|
+
[_chunkTMTEVKSDcjs.TokenSize.ExtraSmall]: 10,
|
|
60
|
+
[_chunkTMTEVKSDcjs.TokenSize.Small]: 10,
|
|
61
|
+
[_chunkTMTEVKSDcjs.TokenSize.Schmedium]: 10,
|
|
62
|
+
[_chunkTMTEVKSDcjs.TokenSize.Medium]: 14,
|
|
63
|
+
[_chunkTMTEVKSDcjs.TokenSize.Mlarge]: 19,
|
|
64
|
+
[_chunkTMTEVKSDcjs.TokenSize.Large]: 19
|
|
64
65
|
};
|
|
65
66
|
var paddingsX = {
|
|
66
|
-
[
|
|
67
|
-
[
|
|
68
|
-
[
|
|
69
|
-
[
|
|
70
|
-
[
|
|
71
|
-
[
|
|
67
|
+
[_chunkTMTEVKSDcjs.TokenSize.ExtraSmall]: 16,
|
|
68
|
+
[_chunkTMTEVKSDcjs.TokenSize.Small]: 24,
|
|
69
|
+
[_chunkTMTEVKSDcjs.TokenSize.Schmedium]: 24,
|
|
70
|
+
[_chunkTMTEVKSDcjs.TokenSize.Medium]: 24,
|
|
71
|
+
[_chunkTMTEVKSDcjs.TokenSize.Mlarge]: 24,
|
|
72
|
+
[_chunkTMTEVKSDcjs.TokenSize.Large]: 24
|
|
72
73
|
};
|
|
73
74
|
function getPaddingX(size, kind, isRound) {
|
|
74
75
|
return kind === "ghost" ? 0 : isRound ? roundPaddingsX[size] : paddingsX[size];
|
|
@@ -82,11 +83,11 @@ function resolveBackgroundColorKey(theme, kind, defaultKey) {
|
|
|
82
83
|
var _a;
|
|
83
84
|
const defaultBackgroundColorKey = (_a = theme.buttons.kinds[kind]) == null ? void 0 : _a[defaultKey];
|
|
84
85
|
let backgroundColorKey = defaultBackgroundColorKey;
|
|
85
|
-
if (!backgroundColorKey &&
|
|
86
|
+
if (!backgroundColorKey && _chunkWTHHP7G2cjs.isThemeOrColorKey.call(void 0, kind)) {
|
|
86
87
|
backgroundColorKey = kind;
|
|
87
88
|
}
|
|
88
89
|
const defaultBackgroundColor = theme.buttons[defaultKey];
|
|
89
|
-
const backgroundColor =
|
|
90
|
+
const backgroundColor = _chunkWTHHP7G2cjs.getBackgroundColor.call(void 0,
|
|
90
91
|
theme,
|
|
91
92
|
backgroundColorKey,
|
|
92
93
|
defaultBackgroundColor
|
|
@@ -202,7 +203,7 @@ function Button(props) {
|
|
|
202
203
|
text,
|
|
203
204
|
typography,
|
|
204
205
|
kind,
|
|
205
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
206
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBD3WXMLEcjs.Loading, { size: iconSize, center: false, kind: loadingKind })
|
|
206
207
|
}
|
|
207
208
|
);
|
|
208
209
|
} else if (icon) {
|
|
@@ -213,7 +214,7 @@ function Button(props) {
|
|
|
213
214
|
text,
|
|
214
215
|
typography,
|
|
215
216
|
kind,
|
|
216
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
217
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBY47I7ZPcjs.Icon, { name: icon, width: iconSize, color: typography.color })
|
|
217
218
|
}
|
|
218
219
|
);
|
|
219
220
|
}
|
|
@@ -236,7 +237,7 @@ function Button(props) {
|
|
|
236
237
|
textOverflow: "ellipsis",
|
|
237
238
|
overflow: "hidden"
|
|
238
239
|
},
|
|
239
|
-
children:
|
|
240
|
+
children: _chunkMSBDBEM7cjs.renderTypography.call(void 0, typography.type, {
|
|
240
241
|
content: text,
|
|
241
242
|
color: typography.color,
|
|
242
243
|
size
|
|
@@ -247,7 +248,7 @@ function Button(props) {
|
|
|
247
248
|
]
|
|
248
249
|
})
|
|
249
250
|
),
|
|
250
|
-
tooltipText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
251
|
+
tooltipText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLZ24FX6Ccjs.Tooltip, { id: tooltipId.current, content: tooltipText }) : null
|
|
251
252
|
] });
|
|
252
253
|
const isSingleCharRoundButton = Boolean(text && text.length === 1 && !icon);
|
|
253
254
|
const commonProps = {
|
|
@@ -315,7 +316,7 @@ var buttonStyle = ({
|
|
|
315
316
|
|
|
316
317
|
${zIndex && `z-index: ${zIndex};`}
|
|
317
318
|
|
|
318
|
-
${
|
|
319
|
+
${_chunkZBBVZQKJcjs.applyTypography.call(void 0,
|
|
319
320
|
theme,
|
|
320
321
|
typography.type,
|
|
321
322
|
typography.size,
|
|
@@ -323,7 +324,7 @@ var buttonStyle = ({
|
|
|
323
324
|
)}
|
|
324
325
|
|
|
325
326
|
&:focus-visible {
|
|
326
|
-
outline: ${
|
|
327
|
+
outline: ${_chunkPYL3O7AFcjs.getFocusOutline.call(void 0, { theme })};
|
|
327
328
|
/* Slightly different offset for buttons so the outline is visible: */
|
|
328
329
|
outline-offset: 0px;
|
|
329
330
|
}
|
|
@@ -359,7 +360,7 @@ var buttonStyle = ({
|
|
|
359
360
|
var ButtonIcon = _styled2.default.div`
|
|
360
361
|
${({ iconSide, kind, typography }) => `${iconSide}: ${getPaddingX(typography.size, kind, false)}px;`}
|
|
361
362
|
`;
|
|
362
|
-
var StyledButton = _styled2.default.call(void 0,
|
|
363
|
+
var StyledButton = _styled2.default.call(void 0, _chunkBOBYW7PPcjs.UnstyledButton)`
|
|
363
364
|
${(props) => buttonStyle(props)}
|
|
364
365
|
`;
|
|
365
366
|
var ButtonLink = _styled2.default.call(void 0, _chunkQCJWZRIPcjs.Link)`
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
var _chunkZUAO4DW3cjs = require('./chunk-ZUAO4DW3.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk4P7RPU32cjs = require('./chunk-4P7RPU32.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkBY47I7ZPcjs = require('./chunk-BY47I7ZP.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkPYL3O7AFcjs = require('./chunk-PYL3O7AF.cjs');
|
|
13
13
|
|
|
14
14
|
// src/components/Collapsible.tsx
|
|
15
15
|
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
@@ -54,7 +54,7 @@ function Collapsible({
|
|
|
54
54
|
{
|
|
55
55
|
isOpen,
|
|
56
56
|
useCustomIcon: openIcon !== void 0 && closeIcon !== void 0,
|
|
57
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
57
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBY47I7ZPcjs.Icon, { width: iconWidth, name: iconName })
|
|
58
58
|
}
|
|
59
59
|
)
|
|
60
60
|
] }),
|
|
@@ -73,7 +73,7 @@ var StyledCollapsibleButton = _styled2.default.button`
|
|
|
73
73
|
background: none;
|
|
74
74
|
border: none;
|
|
75
75
|
cursor: pointer;
|
|
76
|
-
${
|
|
76
|
+
${_chunkPYL3O7AFcjs.standardBorderRadius.call(void 0, 8)}
|
|
77
77
|
padding: 0;
|
|
78
78
|
`;
|
|
79
79
|
var IconContainer = _styled2.default.div`
|
|
@@ -95,7 +95,7 @@ var CollapsingContainer = _styled2.default.div`
|
|
|
95
95
|
${(props) => props.isOpen ? `height: 100%; animation-name: fadeIn;` : `height: 0; animation-name: fadeOut;`}
|
|
96
96
|
${(props) => props.full ? `height: ${props.isOpen ? "100vh" : 0};` : ""}
|
|
97
97
|
|
|
98
|
-
${
|
|
98
|
+
${_chunk4P7RPU32cjs.overflowAutoWithoutScrollbars}
|
|
99
99
|
|
|
100
100
|
@keyframes fadeIn {
|
|
101
101
|
from {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkDBB5TKTScjs = require('./chunk-DBB5TKTS.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -102,7 +102,7 @@ function CommaNumberInput(props) {
|
|
|
102
102
|
[valueWithCommas, onChange]
|
|
103
103
|
);
|
|
104
104
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
105
|
-
|
|
105
|
+
_chunkDBB5TKTScjs.TextInput,
|
|
106
106
|
_chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {
|
|
107
107
|
placeholder: "Enter a number"
|
|
108
108
|
}, rest), {
|
|
@@ -6,21 +6,21 @@ import {
|
|
|
6
6
|
} from "./chunk-34MTU3ER.js";
|
|
7
7
|
import {
|
|
8
8
|
UnstyledButton
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E7RKIBJY.js";
|
|
10
10
|
import {
|
|
11
11
|
z
|
|
12
12
|
} from "./chunk-55OQPFLF.js";
|
|
13
13
|
import {
|
|
14
14
|
Icon
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QQTZ6DZL.js";
|
|
16
16
|
import {
|
|
17
17
|
overlaySurface,
|
|
18
18
|
standardBorderRadius,
|
|
19
19
|
standardFocusOutline
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-APUV4UN4.js";
|
|
21
21
|
import {
|
|
22
22
|
themeOr
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-W5I53DTZ.js";
|
|
24
24
|
import {
|
|
25
25
|
bp
|
|
26
26
|
} from "./chunk-JSGRNWSB.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-JJC2AUQ3.js";
|
|
4
4
|
import {
|
|
5
5
|
TextButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DGS7USD6.js";
|
|
7
7
|
import {
|
|
8
8
|
IconContainer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QQTZ6DZL.js";
|
|
10
10
|
import {
|
|
11
11
|
bp
|
|
12
12
|
} from "./chunk-JSGRNWSB.js";
|