@cambly/syntax-core 15.3.0 → 15.5.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/dist/Avatar/Avatar.cjs +6 -6
- package/dist/Avatar/Avatar.css +162 -150
- package/dist/Avatar/Avatar.css.map +1 -1
- package/dist/Avatar/Avatar.js +5 -5
- package/dist/AvatarGroup/AvatarGroup.cjs +5 -5
- package/dist/AvatarGroup/AvatarGroup.css +162 -150
- package/dist/AvatarGroup/AvatarGroup.css.map +1 -1
- package/dist/AvatarGroup/AvatarGroup.js +4 -4
- package/dist/Badge/Badge.cjs +7 -7
- package/dist/Badge/Badge.css +162 -150
- package/dist/Badge/Badge.css.map +1 -1
- package/dist/Badge/Badge.d.ts +1 -1
- package/dist/Badge/Badge.js +6 -6
- package/dist/Box/Box.cjs +4 -4
- package/dist/Box/Box.css +162 -150
- package/dist/Box/Box.css.map +1 -1
- package/dist/Box/Box.js +3 -3
- package/dist/Button/Button.cjs +11 -11
- package/dist/Button/Button.css +162 -150
- package/dist/Button/Button.css.map +1 -1
- package/dist/Button/Button.js +10 -10
- package/dist/Card/Card.cjs +5 -5
- package/dist/Card/Card.css +162 -150
- package/dist/Card/Card.css.map +1 -1
- package/dist/Card/Card.js +4 -4
- package/dist/Checkbox/Checkbox.cjs +5 -5
- package/dist/Checkbox/Checkbox.css +162 -150
- package/dist/Checkbox/Checkbox.css.map +1 -1
- package/dist/Checkbox/Checkbox.js +4 -4
- package/dist/Chip/Chip.cjs +7 -7
- package/dist/Chip/Chip.css +162 -150
- package/dist/Chip/Chip.css.map +1 -1
- package/dist/Chip/Chip.js +6 -6
- package/dist/Dialog/Dialog.cjs +4 -4
- package/dist/Dialog/Dialog.css +162 -150
- package/dist/Dialog/Dialog.css.map +1 -1
- package/dist/Dialog/Dialog.js +3 -3
- package/dist/Dialog/ModalDialog.cjs +11 -11
- package/dist/Dialog/ModalDialog.css +162 -150
- package/dist/Dialog/ModalDialog.css.map +1 -1
- package/dist/Dialog/ModalDialog.js +10 -10
- package/dist/Divider/Divider.cjs +3 -3
- package/dist/Divider/Divider.css +162 -150
- package/dist/Divider/Divider.css.map +1 -1
- package/dist/Divider/Divider.js +2 -2
- package/dist/Heading/Heading.cjs +5 -5
- package/dist/Heading/Heading.css +162 -150
- package/dist/Heading/Heading.css.map +1 -1
- package/dist/Heading/Heading.js +4 -4
- package/dist/Icon/Icon.cjs +4 -4
- package/dist/Icon/Icon.css +162 -150
- package/dist/Icon/Icon.css.map +1 -1
- package/dist/Icon/Icon.js +3 -3
- package/dist/IconButton/IconButton.cjs +6 -6
- package/dist/IconButton/IconButton.css +162 -150
- package/dist/IconButton/IconButton.css.map +1 -1
- package/dist/IconButton/IconButton.js +5 -5
- package/dist/LinkButton/LinkButton.cjs +9 -9
- package/dist/LinkButton/LinkButton.css +162 -150
- package/dist/LinkButton/LinkButton.css.map +1 -1
- package/dist/LinkButton/LinkButton.js +8 -8
- package/dist/Modal/Layer.cjs +5 -5
- package/dist/Modal/Layer.css +162 -150
- package/dist/Modal/Layer.css.map +1 -1
- package/dist/Modal/Layer.js +4 -4
- package/dist/Modal/Modal.cjs +15 -15
- package/dist/Modal/Modal.css +162 -150
- package/dist/Modal/Modal.css.map +1 -1
- package/dist/Modal/Modal.js +14 -14
- package/dist/Popover/Popover.cjs +12 -12
- package/dist/Popover/Popover.css +162 -150
- package/dist/Popover/Popover.css.map +1 -1
- package/dist/Popover/Popover.js +11 -11
- package/dist/RadioButton/RadioButton.cjs +7 -7
- package/dist/RadioButton/RadioButton.css +162 -150
- package/dist/RadioButton/RadioButton.css.map +1 -1
- package/dist/RadioButton/RadioButton.js +6 -6
- package/dist/RichSelect/RichSelectBox.cjs +18 -18
- package/dist/RichSelect/RichSelectBox.css +162 -150
- package/dist/RichSelect/RichSelectBox.css.map +1 -1
- package/dist/RichSelect/RichSelectBox.js +17 -17
- package/dist/RichSelect/RichSelectChip.cjs +8 -8
- package/dist/RichSelect/RichSelectChip.css +162 -150
- package/dist/RichSelect/RichSelectChip.css.map +1 -1
- package/dist/RichSelect/RichSelectChip.js +7 -7
- package/dist/RichSelect/RichSelectList.cjs +25 -25
- package/dist/RichSelect/RichSelectList.css +162 -150
- package/dist/RichSelect/RichSelectList.css.map +1 -1
- package/dist/RichSelect/RichSelectList.js +24 -24
- package/dist/RichSelect/RichSelectRadioButton.cjs +8 -8
- package/dist/RichSelect/RichSelectRadioButton.css +162 -150
- package/dist/RichSelect/RichSelectRadioButton.css.map +1 -1
- package/dist/RichSelect/RichSelectRadioButton.js +7 -7
- package/dist/RichSelect/RichSelectSection.cjs +5 -5
- package/dist/RichSelect/RichSelectSection.css +162 -150
- package/dist/RichSelect/RichSelectSection.css.map +1 -1
- package/dist/RichSelect/RichSelectSection.js +4 -4
- package/dist/SelectList/SelectList.cjs +9 -9
- package/dist/SelectList/SelectList.css +162 -150
- package/dist/SelectList/SelectList.css.map +1 -1
- package/dist/SelectList/SelectList.js +8 -8
- package/dist/Tabs/TabButton.cjs +21 -0
- package/dist/Tabs/TabButton.cjs.map +1 -0
- package/dist/Tabs/TabButton.css +2266 -0
- package/dist/Tabs/TabButton.css.map +1 -0
- package/dist/Tabs/TabButton.d.ts +19 -0
- package/dist/Tabs/TabButton.js +21 -0
- package/dist/Tabs/TabButton.js.map +1 -0
- package/dist/Tabs/TabInternal.cjs +17 -0
- package/dist/Tabs/TabInternal.cjs.map +1 -0
- package/dist/Tabs/TabInternal.css +2205 -0
- package/dist/Tabs/TabInternal.css.map +1 -0
- package/dist/Tabs/TabInternal.d.ts +28 -0
- package/dist/Tabs/TabInternal.js +17 -0
- package/dist/Tabs/TabInternal.js.map +1 -0
- package/dist/Tabs/TabLink.cjs +19 -0
- package/dist/Tabs/TabLink.cjs.map +1 -0
- package/dist/Tabs/TabLink.css +2230 -0
- package/dist/Tabs/TabLink.css.map +1 -0
- package/dist/Tabs/TabLink.d.ts +36 -0
- package/dist/Tabs/TabLink.js +19 -0
- package/dist/Tabs/TabLink.js.map +1 -0
- package/dist/Tabs/Tabs.cjs +23 -0
- package/dist/Tabs/Tabs.cjs.map +1 -0
- package/dist/Tabs/Tabs.css +2266 -0
- package/dist/Tabs/Tabs.css.map +1 -0
- package/dist/Tabs/Tabs.d.ts +43 -0
- package/dist/Tabs/Tabs.js +23 -0
- package/dist/Tabs/Tabs.js.map +1 -0
- package/dist/TextArea/TextArea.cjs +7 -7
- package/dist/TextArea/TextArea.css +162 -150
- package/dist/TextArea/TextArea.css.map +1 -1
- package/dist/TextArea/TextArea.js +6 -6
- package/dist/TextField/TextField.cjs +7 -7
- package/dist/TextField/TextField.css +162 -150
- package/dist/TextField/TextField.css.map +1 -1
- package/dist/TextField/TextField.js +6 -6
- package/dist/ThemeProvider/ThemeProvider.cjs +2 -2
- package/dist/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/Tooltip/Tooltip.cjs +6 -6
- package/dist/Tooltip/Tooltip.css +162 -150
- package/dist/Tooltip/Tooltip.css.map +1 -1
- package/dist/Tooltip/Tooltip.js +5 -5
- package/dist/Typography/Typography.cjs +4 -4
- package/dist/Typography/Typography.css +162 -150
- package/dist/Typography/Typography.css.map +1 -1
- package/dist/Typography/Typography.d.ts +1 -1
- package/dist/Typography/Typography.js +3 -3
- package/dist/__chunks/{74XKLZ4N.js → 262KRHP5.js} +3 -3
- package/dist/__chunks/{PJLDYIB6.cjs → 3BGIBVCR.cjs} +3 -3
- package/dist/__chunks/3BGIBVCR.cjs.map +1 -0
- package/dist/__chunks/{CP57BL3D.js → 3CEGKGV5.js} +3 -3
- package/dist/__chunks/{T6PXFSRX.js → 3CYMW6HT.js} +2 -2
- package/dist/__chunks/{DMA6PPUZ.cjs → 42SRFCQL.cjs} +3 -3
- package/dist/__chunks/{DFGY3NSE.js → 4X7ZC3WT.js} +6 -6
- package/dist/__chunks/{KBFQU5AW.cjs → 5COVOOB3.cjs} +3 -3
- package/dist/__chunks/{EUBO6YEI.cjs → 5CSS7BNE.cjs} +17 -17
- package/dist/__chunks/{TZGJS522.js → 5HEC7ASW.js} +2 -2
- package/dist/__chunks/5JQ6C2XV.js +9 -0
- package/dist/__chunks/5JQ6C2XV.js.map +1 -0
- package/dist/__chunks/{OTGGVIQE.js → 5RXHG6S5.js} +11 -11
- package/dist/__chunks/{RAL6R27S.cjs → 65LHF5WD.cjs} +16 -16
- package/dist/__chunks/{M36V23WR.js → 65PMWIHY.js} +2 -2
- package/dist/__chunks/{67PBF26W.cjs → 6AOPOPJT.cjs} +8 -8
- package/dist/__chunks/{ASFZDRJJ.cjs → 7JET5NNK.cjs} +5 -3
- package/dist/__chunks/7JET5NNK.cjs.map +1 -0
- package/dist/__chunks/AOBL3JUX.cjs +67 -0
- package/dist/__chunks/AOBL3JUX.cjs.map +1 -0
- package/dist/__chunks/{NMX5UDLV.js → BQYW6G4G.js} +2 -2
- package/dist/__chunks/{ONZHIMUG.js → BS5FRXYG.js} +2 -2
- package/dist/__chunks/CB66GOW7.js +101 -0
- package/dist/__chunks/CB66GOW7.js.map +1 -0
- package/dist/__chunks/{SZMHZR3B.cjs → CDU5TH7Y.cjs} +5 -5
- package/dist/__chunks/{L5CT6YRH.js → DRQYQTCA.js} +2 -2
- package/dist/__chunks/{2BA4KWES.js → FAOJSMYY.js} +4 -4
- package/dist/__chunks/{535SBVS5.js → FGXU5UXA.js} +2 -2
- package/dist/__chunks/{ECA33JJ5.js → FMNQCHIR.js} +2 -2
- package/dist/__chunks/{EZUXET6V.cjs → G3SXARBL.cjs} +3 -3
- package/dist/__chunks/{D5AQ3PGB.cjs → G63LXNMK.cjs} +3 -3
- package/dist/__chunks/GZXNR3JK.js +53 -0
- package/dist/__chunks/GZXNR3JK.js.map +1 -0
- package/dist/__chunks/{TJQKHHNH.cjs → HM6JHSTR.cjs} +16 -16
- package/dist/__chunks/{SM7OH7FG.js → HUN4OGO5.js} +3 -3
- package/dist/__chunks/{Z5N4IV4T.js → I5ZPCA36.js} +20 -19
- package/dist/__chunks/I5ZPCA36.js.map +1 -0
- package/dist/__chunks/{KJ7XJWSH.js → IXQVCN37.js} +1 -1
- package/dist/__chunks/{KJ7XJWSH.js.map → IXQVCN37.js.map} +1 -1
- package/dist/__chunks/{76LTWV2Q.cjs → J27AGJQB.cjs} +3 -3
- package/dist/__chunks/{7BZZUMJM.cjs → J5NZ55OT.cjs} +3 -3
- package/dist/__chunks/{N5W44DQ5.cjs → JAW252M7.cjs} +7 -7
- package/dist/__chunks/{DDWSH5JD.js → JBFY4F7V.js} +3 -3
- package/dist/__chunks/{DXGDMMAL.cjs → JEP2SN7W.cjs} +7 -7
- package/dist/__chunks/{LT6ELZIN.js → JJNZLCKX.js} +2 -2
- package/dist/__chunks/{54ZAQVGC.js → JL2NIWMQ.js} +8 -8
- package/dist/__chunks/JQ6MLSET.cjs +53 -0
- package/dist/__chunks/JQ6MLSET.cjs.map +1 -0
- package/dist/__chunks/JTTZCAPP.cjs +9 -0
- package/dist/__chunks/JTTZCAPP.cjs.map +1 -0
- package/dist/__chunks/JVGBP6LO.cjs +9 -0
- package/dist/__chunks/JVGBP6LO.cjs.map +1 -0
- package/dist/__chunks/{ZVJGV6GH.js → JWGD2JGX.js} +4 -2
- package/dist/__chunks/JWGD2JGX.js.map +1 -0
- package/dist/__chunks/{SONYYWLY.js → K2RGVD55.js} +2 -2
- package/dist/__chunks/{FESAFV44.cjs → KJLBDAZH.cjs} +3 -3
- package/dist/__chunks/LMZJHS5E.js +75 -0
- package/dist/__chunks/LMZJHS5E.js.map +1 -0
- package/dist/__chunks/{ELEREGBW.cjs → LNLOBEMH.cjs} +5 -5
- package/dist/__chunks/{MKZONAGT.cjs → LZYX5BWD.cjs} +11 -11
- package/dist/__chunks/{YVQRFDEE.cjs → M7KSUTKJ.cjs} +7 -7
- package/dist/__chunks/NFSZQICF.cjs +101 -0
- package/dist/__chunks/NFSZQICF.cjs.map +1 -0
- package/dist/__chunks/{ZBBMY7Y7.cjs → NJ7VV2CH.cjs} +4 -4
- package/dist/__chunks/{E7IFJPHC.js → NKGOCFTT.js} +3 -3
- package/dist/__chunks/{VKAYAQ3Z.cjs → NVHCU2CO.cjs} +7 -7
- package/dist/__chunks/{HF4V7JJP.cjs → OY5QYJVA.cjs} +10 -10
- package/dist/__chunks/{N7ZNFTV7.cjs → P3W4SW6R.cjs} +3 -3
- package/dist/__chunks/{63XQSPT7.cjs → PIQO2LH2.cjs} +7 -7
- package/dist/__chunks/{NPZBG5AK.js → QAH73IJZ.js} +4 -4
- package/dist/__chunks/{AVTBLTHP.js → QNTUG5SZ.js} +3 -3
- package/dist/__chunks/{NOQ3DDEP.cjs → RC7EMZ6N.cjs} +8 -8
- package/dist/__chunks/{YI35INQ7.js → RE6LUYXB.js} +2 -2
- package/dist/__chunks/{CLVBAIGL.cjs → RJYSQA7F.cjs} +1 -1
- package/dist/__chunks/{CLVBAIGL.cjs.map → RJYSQA7F.cjs.map} +1 -1
- package/dist/__chunks/SFBTR56I.cjs +37 -0
- package/dist/__chunks/{TYPTB7HD.cjs → SSGQWZJG.cjs} +7 -7
- package/dist/__chunks/SVA2ABQQ.cjs +9 -0
- package/dist/__chunks/SVA2ABQQ.cjs.map +1 -0
- package/dist/__chunks/SW2JQXU6.cjs +33 -0
- package/dist/__chunks/SW2JQXU6.cjs.map +1 -0
- package/dist/__chunks/{4JFE4NWI.js → T6T5FJWJ.js} +4 -4
- package/dist/__chunks/{4WK5DK6U.js → TLTSRB3H.js} +3 -3
- package/dist/__chunks/{JRDHZ3QL.js → UXDF6ZIG.js} +2 -2
- package/dist/__chunks/UXDF6ZIG.js.map +1 -0
- package/dist/__chunks/{CV5CESW2.cjs → V4M5XFJN.cjs} +3 -3
- package/dist/__chunks/VC5WSVCY.js +67 -0
- package/dist/__chunks/VC5WSVCY.js.map +1 -0
- package/dist/__chunks/{2OHQ7WYY.cjs → VF3XXVWJ.cjs} +10 -10
- package/dist/__chunks/VFJQUEUD.cjs +75 -0
- package/dist/__chunks/VFJQUEUD.cjs.map +1 -0
- package/dist/__chunks/{LMERC43E.js → VMY3X6VX.js} +2 -2
- package/dist/__chunks/{UVQS6LU3.js → VRJAMHSI.js} +2 -2
- package/dist/__chunks/{67BJ4PC2.js → VZWUWOLJ.js} +5 -5
- package/dist/__chunks/{XYSRAKGD.cjs → X34FPOWI.cjs} +9 -9
- package/dist/__chunks/XVUEUKXA.js +9 -0
- package/dist/__chunks/XVUEUKXA.js.map +1 -0
- package/dist/__chunks/{TK2EQ6QG.js → YAZOHZLW.js} +2 -2
- package/dist/__chunks/{CAEGAJQ2.js → YQH2ZIRQ.js} +5 -3
- package/dist/__chunks/{CAEGAJQ2.js.map → YQH2ZIRQ.js.map} +1 -1
- package/dist/__chunks/{GJNRWQUK.js → YVUUWH3O.js} +7 -7
- package/dist/__chunks/ZF5TOGMY.js +9 -0
- package/dist/__chunks/ZF5TOGMY.js.map +1 -0
- package/dist/__chunks/{47PGLBOS.cjs → ZJS5MEKE.cjs} +3 -3
- package/dist/__chunks/{GJVLYIGI.cjs → ZPV4YBFX.cjs} +3 -3
- package/dist/__chunks/{ZH6DWDNG.cjs → ZWNEH5RR.cjs} +26 -25
- package/dist/__chunks/ZWNEH5RR.cjs.map +1 -0
- package/dist/__chunks/{Y67FDYEF.js → ZYWRMB4F.js} +3 -3
- package/dist/colors/allColors.cjs +2 -0
- package/dist/colors/allColors.cjs.map +1 -1
- package/dist/colors/allColors.d.ts +1 -1
- package/dist/colors/allColors.js +2 -0
- package/dist/colors/allColors.js.map +1 -1
- package/dist/colors/backgroundColor.cjs +3 -3
- package/dist/colors/backgroundColor.css +162 -150
- package/dist/colors/backgroundColor.css.map +1 -1
- package/dist/colors/backgroundColor.js +2 -2
- package/dist/colors/border.cjs +3 -3
- package/dist/colors/border.css +162 -150
- package/dist/colors/border.css.map +1 -1
- package/dist/colors/border.js +2 -2
- package/dist/colors/foregroundColor.cjs +3 -3
- package/dist/colors/foregroundColor.css +162 -150
- package/dist/colors/foregroundColor.css.map +1 -1
- package/dist/colors/foregroundColor.js +2 -2
- package/dist/colors/textColors.cjs +3 -3
- package/dist/colors/textColors.css +162 -150
- package/dist/colors/textColors.css.map +1 -1
- package/dist/colors/textColors.d.ts +1 -1
- package/dist/colors/textColors.js +2 -2
- package/dist/index.cjs +56 -48
- package/dist/index.css +187 -150
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +66 -58
- package/package.json +3 -3
- package/dist/__chunks/72UQX6IX.cjs +0 -31
- package/dist/__chunks/72UQX6IX.cjs.map +0 -1
- package/dist/__chunks/ASFZDRJJ.cjs.map +0 -1
- package/dist/__chunks/C3KZXHTV.cjs +0 -37
- package/dist/__chunks/JRDHZ3QL.js.map +0 -1
- package/dist/__chunks/KZT53ITQ.cjs +0 -9
- package/dist/__chunks/KZT53ITQ.cjs.map +0 -1
- package/dist/__chunks/PJLDYIB6.cjs.map +0 -1
- package/dist/__chunks/PUTZ53EC.js +0 -9
- package/dist/__chunks/PUTZ53EC.js.map +0 -1
- package/dist/__chunks/QT6IRCGW.cjs +0 -9
- package/dist/__chunks/QT6IRCGW.cjs.map +0 -1
- package/dist/__chunks/S6TNP7G5.js +0 -9
- package/dist/__chunks/S6TNP7G5.js.map +0 -1
- package/dist/__chunks/Z5N4IV4T.js.map +0 -1
- package/dist/__chunks/ZH6DWDNG.cjs.map +0 -1
- package/dist/__chunks/ZVJGV6GH.js.map +0 -1
- /package/dist/__chunks/{74XKLZ4N.js.map → 262KRHP5.js.map} +0 -0
- /package/dist/__chunks/{CP57BL3D.js.map → 3CEGKGV5.js.map} +0 -0
- /package/dist/__chunks/{T6PXFSRX.js.map → 3CYMW6HT.js.map} +0 -0
- /package/dist/__chunks/{DMA6PPUZ.cjs.map → 42SRFCQL.cjs.map} +0 -0
- /package/dist/__chunks/{DFGY3NSE.js.map → 4X7ZC3WT.js.map} +0 -0
- /package/dist/__chunks/{KBFQU5AW.cjs.map → 5COVOOB3.cjs.map} +0 -0
- /package/dist/__chunks/{EUBO6YEI.cjs.map → 5CSS7BNE.cjs.map} +0 -0
- /package/dist/__chunks/{TZGJS522.js.map → 5HEC7ASW.js.map} +0 -0
- /package/dist/__chunks/{OTGGVIQE.js.map → 5RXHG6S5.js.map} +0 -0
- /package/dist/__chunks/{RAL6R27S.cjs.map → 65LHF5WD.cjs.map} +0 -0
- /package/dist/__chunks/{M36V23WR.js.map → 65PMWIHY.js.map} +0 -0
- /package/dist/__chunks/{67PBF26W.cjs.map → 6AOPOPJT.cjs.map} +0 -0
- /package/dist/__chunks/{NMX5UDLV.js.map → BQYW6G4G.js.map} +0 -0
- /package/dist/__chunks/{ONZHIMUG.js.map → BS5FRXYG.js.map} +0 -0
- /package/dist/__chunks/{SZMHZR3B.cjs.map → CDU5TH7Y.cjs.map} +0 -0
- /package/dist/__chunks/{L5CT6YRH.js.map → DRQYQTCA.js.map} +0 -0
- /package/dist/__chunks/{2BA4KWES.js.map → FAOJSMYY.js.map} +0 -0
- /package/dist/__chunks/{535SBVS5.js.map → FGXU5UXA.js.map} +0 -0
- /package/dist/__chunks/{ECA33JJ5.js.map → FMNQCHIR.js.map} +0 -0
- /package/dist/__chunks/{EZUXET6V.cjs.map → G3SXARBL.cjs.map} +0 -0
- /package/dist/__chunks/{D5AQ3PGB.cjs.map → G63LXNMK.cjs.map} +0 -0
- /package/dist/__chunks/{TJQKHHNH.cjs.map → HM6JHSTR.cjs.map} +0 -0
- /package/dist/__chunks/{SM7OH7FG.js.map → HUN4OGO5.js.map} +0 -0
- /package/dist/__chunks/{76LTWV2Q.cjs.map → J27AGJQB.cjs.map} +0 -0
- /package/dist/__chunks/{7BZZUMJM.cjs.map → J5NZ55OT.cjs.map} +0 -0
- /package/dist/__chunks/{N5W44DQ5.cjs.map → JAW252M7.cjs.map} +0 -0
- /package/dist/__chunks/{DDWSH5JD.js.map → JBFY4F7V.js.map} +0 -0
- /package/dist/__chunks/{DXGDMMAL.cjs.map → JEP2SN7W.cjs.map} +0 -0
- /package/dist/__chunks/{LT6ELZIN.js.map → JJNZLCKX.js.map} +0 -0
- /package/dist/__chunks/{54ZAQVGC.js.map → JL2NIWMQ.js.map} +0 -0
- /package/dist/__chunks/{SONYYWLY.js.map → K2RGVD55.js.map} +0 -0
- /package/dist/__chunks/{FESAFV44.cjs.map → KJLBDAZH.cjs.map} +0 -0
- /package/dist/__chunks/{ELEREGBW.cjs.map → LNLOBEMH.cjs.map} +0 -0
- /package/dist/__chunks/{MKZONAGT.cjs.map → LZYX5BWD.cjs.map} +0 -0
- /package/dist/__chunks/{YVQRFDEE.cjs.map → M7KSUTKJ.cjs.map} +0 -0
- /package/dist/__chunks/{ZBBMY7Y7.cjs.map → NJ7VV2CH.cjs.map} +0 -0
- /package/dist/__chunks/{E7IFJPHC.js.map → NKGOCFTT.js.map} +0 -0
- /package/dist/__chunks/{VKAYAQ3Z.cjs.map → NVHCU2CO.cjs.map} +0 -0
- /package/dist/__chunks/{HF4V7JJP.cjs.map → OY5QYJVA.cjs.map} +0 -0
- /package/dist/__chunks/{N7ZNFTV7.cjs.map → P3W4SW6R.cjs.map} +0 -0
- /package/dist/__chunks/{63XQSPT7.cjs.map → PIQO2LH2.cjs.map} +0 -0
- /package/dist/__chunks/{NPZBG5AK.js.map → QAH73IJZ.js.map} +0 -0
- /package/dist/__chunks/{AVTBLTHP.js.map → QNTUG5SZ.js.map} +0 -0
- /package/dist/__chunks/{NOQ3DDEP.cjs.map → RC7EMZ6N.cjs.map} +0 -0
- /package/dist/__chunks/{YI35INQ7.js.map → RE6LUYXB.js.map} +0 -0
- /package/dist/__chunks/{C3KZXHTV.cjs.map → SFBTR56I.cjs.map} +0 -0
- /package/dist/__chunks/{TYPTB7HD.cjs.map → SSGQWZJG.cjs.map} +0 -0
- /package/dist/__chunks/{4JFE4NWI.js.map → T6T5FJWJ.js.map} +0 -0
- /package/dist/__chunks/{4WK5DK6U.js.map → TLTSRB3H.js.map} +0 -0
- /package/dist/__chunks/{CV5CESW2.cjs.map → V4M5XFJN.cjs.map} +0 -0
- /package/dist/__chunks/{2OHQ7WYY.cjs.map → VF3XXVWJ.cjs.map} +0 -0
- /package/dist/__chunks/{LMERC43E.js.map → VMY3X6VX.js.map} +0 -0
- /package/dist/__chunks/{UVQS6LU3.js.map → VRJAMHSI.js.map} +0 -0
- /package/dist/__chunks/{67BJ4PC2.js.map → VZWUWOLJ.js.map} +0 -0
- /package/dist/__chunks/{XYSRAKGD.cjs.map → X34FPOWI.cjs.map} +0 -0
- /package/dist/__chunks/{TK2EQ6QG.js.map → YAZOHZLW.js.map} +0 -0
- /package/dist/__chunks/{GJNRWQUK.js.map → YVUUWH3O.js.map} +0 -0
- /package/dist/__chunks/{47PGLBOS.cjs.map → ZJS5MEKE.cjs.map} +0 -0
- /package/dist/__chunks/{GJVLYIGI.cjs.map → ZPV4YBFX.cjs.map} +0 -0
- /package/dist/__chunks/{Y67FDYEF.js.map → ZYWRMB4F.js.map} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import {
|
|
3
|
-
RichSelectBoxContext,
|
|
4
|
-
RichSelectBox_default,
|
|
5
|
-
convertSelection
|
|
6
|
-
} from "./OTGGVIQE.js";
|
|
7
|
-
import {
|
|
8
|
-
RichSelectChip_default
|
|
9
|
-
} from "./L5CT6YRH.js";
|
|
10
2
|
import {
|
|
11
3
|
Popover_default
|
|
12
|
-
} from "./
|
|
4
|
+
} from "./ZYWRMB4F.js";
|
|
13
5
|
import {
|
|
14
6
|
DialogContext
|
|
15
|
-
} from "./
|
|
16
|
-
import {
|
|
17
|
-
TapArea_default
|
|
18
|
-
} from "./77FFPQY6.js";
|
|
7
|
+
} from "./5HEC7ASW.js";
|
|
19
8
|
import {
|
|
20
9
|
ColorBaseDestructive700,
|
|
21
10
|
ColorBaseGray800
|
|
22
|
-
} from "./
|
|
11
|
+
} from "./IXQVCN37.js";
|
|
12
|
+
import {
|
|
13
|
+
RichSelectBoxContext,
|
|
14
|
+
RichSelectBox_default,
|
|
15
|
+
convertSelection
|
|
16
|
+
} from "./5RXHG6S5.js";
|
|
23
17
|
import {
|
|
24
18
|
RichSelectSection_default
|
|
25
|
-
} from "./
|
|
19
|
+
} from "./RE6LUYXB.js";
|
|
26
20
|
import {
|
|
27
21
|
RichSelectRadioButton_default
|
|
28
|
-
} from "./
|
|
22
|
+
} from "./BS5FRXYG.js";
|
|
23
|
+
import {
|
|
24
|
+
RichSelectChip_default
|
|
25
|
+
} from "./DRQYQTCA.js";
|
|
26
|
+
import {
|
|
27
|
+
TapArea_default
|
|
28
|
+
} from "./77FFPQY6.js";
|
|
29
29
|
import {
|
|
30
30
|
Box_default
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./65PMWIHY.js";
|
|
32
32
|
import {
|
|
33
33
|
Typography_default
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./UXDF6ZIG.js";
|
|
35
35
|
import {
|
|
36
36
|
useIsHydrated
|
|
37
37
|
} from "./JB65NEXK.js";
|
|
@@ -181,6 +181,7 @@ function RichSelectList(props) {
|
|
|
181
181
|
{
|
|
182
182
|
padding: autosave ? void 0 : 5,
|
|
183
183
|
dangerouslySetInlineStyle: autosave ? void 0 : { __style: { paddingBottom: 0 } },
|
|
184
|
+
role: "menu",
|
|
184
185
|
children: /* @__PURE__ */ jsx(
|
|
185
186
|
RichSelectBox_default,
|
|
186
187
|
__spreadProps(__spreadValues({
|
|
@@ -266,4 +267,4 @@ var RichSelectList_default = Object.assign(RichSelectList, {
|
|
|
266
267
|
export {
|
|
267
268
|
RichSelectList_default
|
|
268
269
|
};
|
|
269
|
-
//# sourceMappingURL=
|
|
270
|
+
//# sourceMappingURL=I5ZPCA36.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/RichSelect/RichSelectList.tsx","css-module:../SelectList/SelectList.module.css#css-module"],"sourcesContent":["import React, {\n type ReactElement,\n useMemo,\n type SyntheticEvent,\n useRef,\n useId,\n} from \"react\";\nimport classNames from \"classnames\";\nimport {\n ColorBaseDestructive700,\n ColorBaseGray800,\n} from \"@cambly/syntax-design-tokens\";\nimport Typography from \"../Typography/Typography\";\nimport useIsHydrated from \"../useIsHydrated\";\nimport Popover from \"../Popover/Popover\";\nimport {\n Label as ReactAriaLabel,\n Provider as ReactAriaProvider,\n} from \"react-aria-components\";\nimport { useControlledState } from \"@react-stately/utils\";\nimport { setInteractionModality } from \"@react-aria/interactions\";\nimport { DialogContext } from \"../Dialog/Dialog\";\nimport styles from \"../SelectList/SelectList.module.css\";\nimport RichSelectBox, {\n RichSelectBoxContext,\n convertSelection,\n type RichSelectBoxProps,\n} from \"./RichSelectBox\";\nimport TapArea from \"../TapArea/TapArea\";\nimport { type OverlayHandlerRef } from \"../react-aria-utils/Triggerable\";\nimport Box from \"../Box/Box\";\nimport RichSelectSection from \"./RichSelectSection\";\nimport RichSelectChip from \"./RichSelectChip\";\nimport RichSelectRadioButton from \"./RichSelectRadioButton\";\nimport { useField } from \"react-aria\";\n\nconst NOOP = () => undefined;\n\nexport type RichSelectListProps = RichSelectBoxProps & {\n /** Test id for the select element */\n \"data-testid\"?: string;\n /**\n * Disables the select dropdown entirely\n * @defaultValue false\n */\n disabled?: boolean;\n /** Callback to be called when select is clicked */\n onClick?: (event: SyntheticEvent<HTMLDivElement>) => void;\n /** Text shown below select box if there is an input error. */\n errorText?: string;\n /** Text shown below select box */\n helperText?: string;\n /**\n * RichSelectList id, if not provided, a unique id will be generated\n */\n id?: string;\n /** Text shown above select box */\n label: string;\n /**\n * Text showing in select box if no option has been chosen.\n * There should always have a placeholder unless there is a default option selected\n */\n placeholderText?: string;\n /** Use to render (override) text shown in the select box */\n selectTextValue?: (selectedValues?: \"all\" | string[]) => string | undefined;\n};\n\n/**\n * [RichSelectList](https://cambly-syntax.vercel.app/?path=/docs/components-richselectlist--docs) is a dropdown menu that allows users to select one or multiple options from a list.\n *\n * Example Usage:\n ```\n <RichSelectList\n label=\"My Label\"\n multiple\n onChange={() => { ... }}\n primaryButtonText=\"Save\"\n primaryButtonAccessibilityLabel=\"Save\"\n secondaryButtonText=\"Clear\"\n secondaryButtonAccessibilityLabel=\"Clear\"\n >\n <RichSelectList.Section label=\"Cities\">\n <RichSelectList.Chip label=\"San Francisco\" value=\"sf\" />\n <RichSelectList.Chip label=\"New York\" value=\"ny\" disabled />\n <RichSelectList.Chip label=\"Tulsa\" value=\"tulsa\" />\n <RichSelectList.Chip label=\"Chicago\" value=\"chicago\" disabled />\n </RichSelectList.Section>\n </RichSelectList>\n ```\n */\nfunction RichSelectList(props: RichSelectListProps): ReactElement {\n const {\n autosave,\n children,\n \"data-testid\": dataTestId,\n disabled: disabledProp = false,\n errorText,\n helperText,\n label,\n id,\n onChange,\n onClick = NOOP,\n placeholderText,\n selectTextValue,\n selectedValues: selectedValuesProp,\n defaultSelectedValues: defaultSelectedValuesProp,\n ...richSelectBoxProps\n } = props;\n\n const reactId = useId();\n const inputId = id ?? reactId;\n const isHydrated = useIsHydrated();\n const disabled = !isHydrated || disabledProp;\n\n // passed to popover, which attached open/close methods\n const overlayHandlerRef = useRef<OverlayHandlerRef>({});\n\n const selectedKeysProp = useMemo(\n () => convertSelection(selectedValuesProp),\n [selectedValuesProp],\n );\n const defaultSelectedKeys = useMemo(\n () => convertSelection(defaultSelectedValuesProp, new Set()),\n [defaultSelectedValuesProp],\n );\n const [selectedKeys, setSelectedKeys] = useControlledState(\n selectedKeysProp!, // eslint-disable-line @typescript-eslint/no-non-null-assertion -- there is a bug in the typedef for useControlledState from react-stately. Internally they rely on value (first arg) able to be undefined\n defaultSelectedKeys,\n (value) => {\n const _value = value === \"all\" ? \"all\" : [...value].map(String);\n onChange(_value);\n if (!autosave) overlayHandlerRef.current.close?.();\n },\n );\n\n const selectedTextValue = useMemo(() => {\n if (selectTextValue)\n return (\n selectTextValue(\n selectedKeys === \"all\" ? \"all\" : [...selectedKeys].map(String),\n ) ?? placeholderText\n );\n if (selectedKeys === \"all\") return \"All selected\";\n if (selectedKeys.size) return `${selectedKeys.size} selected`;\n return placeholderText;\n }, [selectTextValue, selectedKeys, placeholderText]);\n\n const fieldRef = useRef<HTMLDivElement>(null);\n const { labelProps, fieldProps, descriptionProps, errorMessageProps } =\n useField({\n label, // this is the label for the select box\n description: helperText,\n errorMessage: errorText,\n });\n\n return (\n <ReactAriaProvider\n values={[\n [RichSelectBoxContext, { autoFocus: true }],\n [DialogContext, { padding: autosave ? undefined : 0 }], // this is altering Popover's internal dialog padding to show the sticky save/close buttons. Ideally this could be avoided\n ]}\n >\n <div\n className={classNames(styles.selectContainer, {\n [styles.opacityOverlay]: disabled,\n })}\n onClick={onClick}\n >\n {label && (\n <>\n <ReactAriaLabel\n data-testid={[dataTestId, \"label\"].filter(Boolean).join(\"-\")}\n {...labelProps}\n onClick={() => {\n if (disabled) return;\n fieldRef.current?.focus();\n setInteractionModality(\"keyboard\"); // Show the focus ring so the user knows where focus went\n }}\n >\n <Box paddingX={1}>\n <Typography size={100} color=\"gray700\">\n {label}\n </Typography>\n </Box>\n </ReactAriaLabel>\n </>\n )}\n <Popover\n ref={overlayHandlerRef}\n disabled={disabled}\n content={\n // this Box wrapper is to reapply the padding that was stripped from popover's dialog to show the sticky save/close buttons. Ideally this could be avoided\n <Box\n padding={autosave ? undefined : 5}\n dangerouslySetInlineStyle={\n autosave ? undefined : { __style: { paddingBottom: 0 } }\n }\n role=\"menu\"\n >\n <RichSelectBox\n autosave={autosave}\n selectedValues={selectedKeys}\n defaultSelectedValues={defaultSelectedKeys}\n onChange={(selected) => setSelectedKeys(new Set(selected))}\n {...richSelectBoxProps}\n accessibilityLabel={inputId}\n >\n {children}\n </RichSelectBox>\n </Box>\n }\n >\n <TapArea\n data-testid={dataTestId}\n disabled={disabled}\n onClick={onClick}\n rounding=\"md\"\n {...fieldProps}\n ref={fieldRef}\n >\n <div className={styles.selectWrapper}>\n <div\n className={classNames(\n styles.selectBox,\n styles.selectBoxCambio,\n {\n [styles.unselected]:\n !errorText &&\n selectedKeys !== \"all\" &&\n !selectedKeys.size,\n [styles.selected]:\n !errorText &&\n (selectedKeys === \"all\" || selectedKeys.size),\n [styles.selectErrorCambio]: errorText,\n },\n )}\n >\n {selectedTextValue}\n </div>\n <div className={styles.arrowIcon}>\n <svg\n focusable=\"false\"\n aria-hidden=\"true\"\n viewBox=\"0 0 24 24\"\n width={24}\n >\n <path\n fill={\n errorText ? ColorBaseDestructive700 : ColorBaseGray800\n }\n d=\"M15.88 9.29 12 13.17 8.12 9.29a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41-.39-.38-1.03-.39-1.42 0z\"\n />\n </svg>\n </div>\n </div>\n </TapArea>\n </Popover>\n {(helperText || errorText) && (\n <Box paddingX={1}>\n <Typography\n size={100}\n color={errorText ? \"destructive-primary\" : \"gray700\"}\n {...(errorText ? errorMessageProps : descriptionProps)}\n >\n {errorText ? errorText : helperText}\n </Typography>\n </Box>\n )}\n </div>\n </ReactAriaProvider>\n );\n}\n\nexport default Object.assign(RichSelectList, {\n Section: RichSelectSection,\n Chip: RichSelectChip,\n RadioButton: RichSelectRadioButton,\n});\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/SelectList/SelectList.module.css\"; export default {\"selectContainer\":\"_selectContainer_1f379_1\",\"opacityOverlay\":\"_opacityOverlay_1f379_7\",\"selectWrapper\":\"_selectWrapper_1f379_11\",\"selectBox\":\"_selectBox_1f379_16\",\"selectBoxCambio\":\"_selectBoxCambio_1f379_32\",\"selectMouseFocusStyling\":\"_selectMouseFocusStyling_1f379_41\",\"unselected\":\"_unselected_1f379_46\",\"selected\":\"_selected_1f379_50\",\"arrowIcon\":\"_arrowIcon_1f379_54\",\"selectErrorCambio\":\"_selectErrorCambio_1f379_68\"}"],"mappings":"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","names":["_a"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on Fri,
|
|
1
|
+
{"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on Fri, 31 May 2024 18:09:56 GMT\n */\n\nexport const ColorBaseBlack = \"#000000\";\nexport const ColorBaseDestructive100 = \"#fef3f5\";\nexport const ColorBaseDestructive200 = \"#fad6de\";\nexport const ColorBaseDestructive300 = \"#f2a2b2\";\nexport const ColorBaseDestructive700 = \"#d32a4b\";\nexport const ColorBaseDestructive800 = \"#81162c\";\nexport const ColorBaseDestructive900 = \"#55101d\";\nexport const ColorBaseGray10 = \"#cbcbcb\"; // Used as the default color for dividers and inner strokes\nexport const ColorBaseGray30 = \"#000000\"; // For IconButton background when on top of an image\nexport const ColorBaseGray60 = \"#000000\"; // Used for icon background in classroom video grid\nexport const ColorBaseGray80 = \"#000000\"; // Used as the background for modals\nexport const ColorBaseGray100 = \"#f7f7f7\";\nexport const ColorBaseGray200 = \"#f0f0f0\"; // Used for light mode backgrounds when showing card content on top\nexport const ColorBaseGray300 = \"#d0d0d0\"; // Used for component outlines, eg: select and textfield\nexport const ColorBaseGray700 = \"#767676\"; // For secondary text in light mode\nexport const ColorBaseGray800 = \"#353535\";\nexport const ColorBaseGray900 = \"#191919\"; // Default text color, Classroom background\nexport const ColorBaseOrange100 = \"#fdf2f0\";\nexport const ColorBaseOrange200 = \"#f6cdc4\";\nexport const ColorBaseOrange300 = \"#ec9987\";\nexport const ColorBaseOrange700 = \"#c34124\";\nexport const ColorBaseOrange800 = \"#732818\";\nexport const ColorBaseOrange900 = \"#4d1a10\";\nexport const ColorBasePrimary100 = \"#eff6fa\";\nexport const ColorBasePrimary200 = \"#c1dbe7\";\nexport const ColorBasePrimary300 = \"#84b7d0\";\nexport const ColorBasePrimary700 = \"#236482\";\nexport const ColorBasePrimary800 = \"#274858\";\nexport const ColorBasePrimary900 = \"#1b303b\";\nexport const ColorBaseSuccess100 = \"#eff7f1\";\nexport const ColorBaseSuccess200 = \"#bddcc6\";\nexport const ColorBaseSuccess300 = \"#81ba92\";\nexport const ColorBaseSuccess700 = \"#397b4d\";\nexport const ColorBaseSuccess800 = \"#2d4936\";\nexport const ColorBaseSuccess900 = \"#1e3124\";\nexport const ColorBasePurple100 = \"#f9f5fa\";\nexport const ColorBasePurple200 = \"#e8dceb\";\nexport const ColorBasePurple300 = \"#cdb4d3\";\nexport const ColorBasePurple700 = \"#8b5f95\";\nexport const ColorBasePurple800 = \"#523b58\";\nexport const ColorBasePurple900 = \"#37273b\";\nexport const ColorBaseYellow100 = \"#fdf5d9\";\nexport const ColorBaseYellow200 = \"#fbe8a3\";\nexport const ColorBaseYellow300 = \"#f8d663\";\nexport const ColorBaseYellow700 = \"#ffc929\";\nexport const ColorBaseYellow800 = \"#765f1c\";\nexport const ColorBaseYellow900 = \"#3b3009\";\nexport const ColorBaseWhite = \"#ffffff\";\nexport const ColorCambioBlack = \"#050500\";\nexport const ColorCambioWhite40 = \"#ffffff\";\nexport const ColorCambioWhite70 = \"#ffffff\";\nexport const ColorCambioWhite100 = \"#ffffff\";\nexport const ColorCambioGray100 = \"#faf4eb\";\nexport const ColorCambioGray200 = \"#e4dbd3\";\nexport const ColorCambioGray300 = \"#beb4ab\";\nexport const ColorCambioGray370 = \"#beb4ab\";\nexport const ColorCambioGray700 = \"#888077\";\nexport const ColorCambioGray800 = \"#5c554d\";\nexport const ColorCambioGray870 = \"#5c554d\";\nexport const ColorCambioGray900 = \"#312b23\";\nexport const ColorCambioDestructive100 = \"#ffdeda\";\nexport const ColorCambioDestructive300 = \"#ff8071\";\nexport const ColorCambioDestructive370 = \"#ff8071\";\nexport const ColorCambioDestructive700 = \"#c93f32\";\nexport const ColorCambioDestructive770 = \"#c93f32\";\nexport const ColorCambioDestructive900 = \"#6d0002\";\nexport const ColorCambioSuccess100 = \"#daf2c8\";\nexport const ColorCambioSuccess300 = \"#84ce64\";\nexport const ColorCambioSuccess370 = \"#84ce64\";\nexport const ColorCambioSuccess700 = \"#3c7f20\";\nexport const ColorCambioSuccess770 = \"#3c7f20\";\nexport const ColorCambioSuccess900 = \"#103e00\";\nexport const ColorCambioRed = \"#f56e56\";\nexport const ColorCambioOrange = \"#ff8f57\";\nexport const ColorCambioTan = \"#ffb47d\";\nexport const ColorCambioCream = \"#fffad1\";\nexport const ColorCambioPurple = \"#6840a8\";\nexport const ColorCambioLilac = \"#b59ef0\";\nexport const ColorCambioThistle = \"#d69ca4\";\nexport const ColorCambioPink = \"#ffccea\";\nexport const ColorCambioNavy = \"#191142\";\nexport const ColorCambioTeal = \"#44a6cf\";\nexport const ColorCambioSlate = \"#7c9fc6\";\nexport const ColorCambioSky = \"#b1e8fc\";\nexport const ColorCambioYellow700 = \"#ffe733\";\nexport const ColorCambioTransparentFull = \"#000000\";\nexport const Elevation400 = \"0px 16px 32px 0px #00000040\";\nexport const SyntaxFontSansSerif = \"-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\";\n"],"mappings":";;;AASO,IAAM,0BAA0B;AAWhC,IAAM,mBAAmB;","names":[]}
|
|
@@ -13,7 +13,7 @@ var _IL22HCBFcjs = require('./IL22HCBF.cjs');
|
|
|
13
13
|
var _CHDS4D44cjs = require('./CHDS4D44.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _SVA2ABQQcjs = require('./SVA2ABQQ.cjs');
|
|
17
17
|
|
|
18
18
|
// src/Dialog/Dialog.tsx
|
|
19
19
|
|
|
@@ -58,7 +58,7 @@ var Dialog = _react.forwardRef.call(void 0, function Dialog2(props, ref) {
|
|
|
58
58
|
_IL22HCBFcjs.Box_module_default.gap4,
|
|
59
59
|
_IL22HCBFcjs.Box_module_default.relative,
|
|
60
60
|
_IL22HCBFcjs.Box_module_default.overflowauto,
|
|
61
|
-
|
|
61
|
+
_SVA2ABQQcjs.colors_module_default.whiteBackgroundColor,
|
|
62
62
|
_PLUVW6AMcjs.padding_module_default[`paddingX${padding != null ? padding : sizeToPadding[size]}`],
|
|
63
63
|
_PLUVW6AMcjs.padding_module_default[`paddingY${padding != null ? padding : sizeToPadding[size]}`],
|
|
64
64
|
_CHDS4D44cjs.rounding_module_default.roundingmd,
|
|
@@ -77,4 +77,4 @@ var Dialog_default = Dialog;
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
exports.DialogContext = DialogContext; exports.Dialog_default = Dialog_default;
|
|
80
|
-
//# sourceMappingURL=
|
|
80
|
+
//# sourceMappingURL=J27AGJQB.cjs.map
|
|
@@ -7,7 +7,7 @@ var _MF7LLV7Vcjs = require('./MF7LLV7V.cjs');
|
|
|
7
7
|
var _IL22HCBFcjs = require('./IL22HCBF.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _3BGIBVCRcjs = require('./3BGIBVCR.cjs');
|
|
11
11
|
|
|
12
12
|
// src/RichSelect/RichSelectSection.tsx
|
|
13
13
|
var _react = require('react');
|
|
@@ -39,7 +39,7 @@ var RichSelectSection_default = _react.forwardRef.call(void 0,
|
|
|
39
39
|
}
|
|
40
40
|
),
|
|
41
41
|
children: [
|
|
42
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactariacomponents.Header, { className: _classnames2.default.call(void 0, _MF7LLV7Vcjs.layout_module_default.fullWidth), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactariacomponents.Header, { className: _classnames2.default.call(void 0, _MF7LLV7Vcjs.layout_module_default.fullWidth), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _3BGIBVCRcjs.Typography_default, { children: label }) }),
|
|
43
43
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactariacomponents.Collection, { children })
|
|
44
44
|
]
|
|
45
45
|
}
|
|
@@ -50,4 +50,4 @@ var RichSelectSection_default = _react.forwardRef.call(void 0,
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
exports.RichSelectSection_default = RichSelectSection_default;
|
|
53
|
-
//# sourceMappingURL=
|
|
53
|
+
//# sourceMappingURL=J5NZ55OT.cjs.map
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
var _XLUVINJWcjs = require('./XLUVINJW.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _KJLBDAZHcjs = require('./KJLBDAZH.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _3BGIBVCRcjs = require('./3BGIBVCR.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _SVA2ABQQcjs = require('./SVA2ABQQ.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
var _K4AUV2VKcjs = require('./K4AUV2VK.cjs');
|
|
@@ -61,7 +61,7 @@ var RadioButton = ({
|
|
|
61
61
|
{
|
|
62
62
|
className: _classnames2.default.call(void 0,
|
|
63
63
|
RadioButton_module_default.background,
|
|
64
|
-
error ?
|
|
64
|
+
error ? _SVA2ABQQcjs.colors_module_default.cambioDestructive370BackgroundColor : _SVA2ABQQcjs.colors_module_default.cambioGray370BackgroundColor,
|
|
65
65
|
RadioButton_module_default[size],
|
|
66
66
|
{
|
|
67
67
|
[_XLUVINJWcjs.Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible || dangerouslyForceFocusStyles
|
|
@@ -70,7 +70,7 @@ var RadioButton = ({
|
|
|
70
70
|
}
|
|
71
71
|
),
|
|
72
72
|
checked && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
73
|
-
|
|
73
|
+
_KJLBDAZHcjs.Box_default,
|
|
74
74
|
{
|
|
75
75
|
backgroundColor: error ? "destructive900" : "gray900",
|
|
76
76
|
width: size === "md" ? 12 : 8,
|
|
@@ -113,7 +113,7 @@ var RadioButton = ({
|
|
|
113
113
|
}
|
|
114
114
|
),
|
|
115
115
|
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
116
|
-
|
|
116
|
+
_3BGIBVCRcjs.Typography_default,
|
|
117
117
|
{
|
|
118
118
|
size: size === "md" ? 200 : 100,
|
|
119
119
|
color: error ? "destructive-primary" : "gray900",
|
|
@@ -129,4 +129,4 @@ var RadioButton_default = RadioButton;
|
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
exports.RadioButton_default = RadioButton_default;
|
|
132
|
-
//# sourceMappingURL=
|
|
132
|
+
//# sourceMappingURL=JAW252M7.cjs.map
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
} from "./KBIW5XV4.js";
|
|
11
11
|
import {
|
|
12
12
|
Typography_default
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./UXDF6ZIG.js";
|
|
14
14
|
import {
|
|
15
15
|
colors_module_default
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./XVUEUKXA.js";
|
|
17
17
|
import {
|
|
18
18
|
syntaxToReactAriaPlacement
|
|
19
19
|
} from "./SVZOETLJ.js";
|
|
@@ -166,4 +166,4 @@ export {
|
|
|
166
166
|
AriaTooltip,
|
|
167
167
|
Tooltip_default
|
|
168
168
|
};
|
|
169
|
-
//# sourceMappingURL=
|
|
169
|
+
//# sourceMappingURL=JBFY4F7V.js.map
|
|
@@ -10,10 +10,10 @@ var _IL22HCBFcjs = require('./IL22HCBF.cjs');
|
|
|
10
10
|
var _CHDS4D44cjs = require('./CHDS4D44.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _3BGIBVCRcjs = require('./3BGIBVCR.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _SVA2ABQQcjs = require('./SVA2ABQQ.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _LLFHCGRAcjs = require('./LLFHCGRA.cjs');
|
|
@@ -60,7 +60,7 @@ function TooltipArrow(props) {
|
|
|
60
60
|
className: _classnames2.default.call(void 0, [
|
|
61
61
|
_IL22HCBFcjs.Box_module_default.block,
|
|
62
62
|
Tooltip_module_default[`arrowPlacement${placement}`],
|
|
63
|
-
on === "lightBackground" ?
|
|
63
|
+
on === "lightBackground" ? _SVA2ABQQcjs.colors_module_default.cambioBlackColor : _SVA2ABQQcjs.colors_module_default.cambioWhiteColor
|
|
64
64
|
]),
|
|
65
65
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
66
66
|
"svg",
|
|
@@ -81,8 +81,8 @@ var AriaTooltip = _react.forwardRef.call(void 0, function AriaTooltip2(_a, ref)
|
|
|
81
81
|
var _b = _a, { children: childrenProp, onChangeContentVisibility, on } = _b, otherProps = _X2SDR4SDcjs.__objRest.call(void 0, _b, ["children", "onChangeContentVisibility", "on"]);
|
|
82
82
|
const className = _classnames2.default.call(void 0, [
|
|
83
83
|
_IL22HCBFcjs.Box_module_default.box,
|
|
84
|
-
|
|
85
|
-
on === "lightBackground" ?
|
|
84
|
+
_SVA2ABQQcjs.colors_module_default.gray900Color,
|
|
85
|
+
on === "lightBackground" ? _SVA2ABQQcjs.colors_module_default.cambioBlackBackgroundColor : _SVA2ABQQcjs.colors_module_default.cambioWhiteBackgroundColor,
|
|
86
86
|
_PLUVW6AMcjs.padding_module_default.paddingX2,
|
|
87
87
|
_PLUVW6AMcjs.padding_module_default.paddingY2,
|
|
88
88
|
_CHDS4D44cjs.rounding_module_default.roundingsm,
|
|
@@ -104,7 +104,7 @@ var AriaTooltip = _react.forwardRef.call(void 0, function AriaTooltip2(_a, ref)
|
|
|
104
104
|
childrenProp,
|
|
105
105
|
(children, { isEntering, isExiting }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
106
106
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipArrow, { on }),
|
|
107
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
107
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _3BGIBVCRcjs.Typography_default, { size: 100, color: "white", children }),
|
|
108
108
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
109
109
|
_E5P6WRJDcjs.OverlayVisibility,
|
|
110
110
|
{
|
|
@@ -166,4 +166,4 @@ var Tooltip_default = Tooltip;
|
|
|
166
166
|
|
|
167
167
|
|
|
168
168
|
exports.AriaTooltip = AriaTooltip; exports.Tooltip_default = Tooltip_default;
|
|
169
|
-
//# sourceMappingURL=
|
|
169
|
+
//# sourceMappingURL=JEP2SN7W.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import {
|
|
3
3
|
Box_default
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./65PMWIHY.js";
|
|
5
5
|
|
|
6
6
|
// src/AvatarGroup/AvatarGroup.tsx
|
|
7
7
|
import {
|
|
@@ -39,4 +39,4 @@ export {
|
|
|
39
39
|
useAvatarGroup,
|
|
40
40
|
AvatarGroup
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=
|
|
42
|
+
//# sourceMappingURL=JJNZLCKX.js.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import {
|
|
3
|
-
FocusTrap
|
|
4
|
-
} from "./HVA7R2EL.js";
|
|
5
2
|
import {
|
|
6
3
|
Heading_default
|
|
7
|
-
} from "./
|
|
4
|
+
} from "./VMY3X6VX.js";
|
|
8
5
|
import {
|
|
9
6
|
StopScroll
|
|
10
7
|
} from "./QQT35OLE.js";
|
|
11
8
|
import {
|
|
12
9
|
Layer
|
|
13
|
-
} from "./
|
|
10
|
+
} from "./BQYW6G4G.js";
|
|
11
|
+
import {
|
|
12
|
+
FocusTrap
|
|
13
|
+
} from "./HVA7R2EL.js";
|
|
14
14
|
import {
|
|
15
15
|
IconButton_default
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./T6T5FJWJ.js";
|
|
17
17
|
import {
|
|
18
18
|
Box_default
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./65PMWIHY.js";
|
|
20
20
|
|
|
21
21
|
// css-module:./Modal.module.css#css-module
|
|
22
22
|
var Modal_module_default = { "backdrop": "_backdrop_17lbk_1", "closeButton": "_closeButton_17lbk_10" };
|
|
@@ -130,4 +130,4 @@ Modal.displayName = "Modal";
|
|
|
130
130
|
export {
|
|
131
131
|
Modal
|
|
132
132
|
};
|
|
133
|
-
//# sourceMappingURL=
|
|
133
|
+
//# sourceMappingURL=JL2NIWMQ.js.map
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use client"
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _VFJQUEUDcjs = require('./VFJQUEUD.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _AOBL3JUXcjs = require('./AOBL3JUX.cjs');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _JVGBP6LOcjs = require('./JVGBP6LO.cjs');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var _KJLBDAZHcjs = require('./KJLBDAZH.cjs');
|
|
14
|
+
|
|
15
|
+
// src/Tabs/Tabs.tsx
|
|
16
|
+
var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames);
|
|
17
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
18
|
+
function Tabs({
|
|
19
|
+
children,
|
|
20
|
+
accessibilityLabel,
|
|
21
|
+
on = "lightBackground"
|
|
22
|
+
}) {
|
|
23
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24
|
+
"div",
|
|
25
|
+
{
|
|
26
|
+
role: "tablist",
|
|
27
|
+
"aria-label": accessibilityLabel,
|
|
28
|
+
className: _classnames2.default.call(void 0, {
|
|
29
|
+
[_JVGBP6LOcjs.Tabs_module_default.tabContainerlightBackground]: on === "lightBackground",
|
|
30
|
+
[_JVGBP6LOcjs.Tabs_module_default.tabContainerDarkBackground]: on === "darkBackground"
|
|
31
|
+
}),
|
|
32
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33
|
+
_KJLBDAZHcjs.Box_default,
|
|
34
|
+
{
|
|
35
|
+
display: "flex",
|
|
36
|
+
alignItems: "center",
|
|
37
|
+
justifyContent: "start",
|
|
38
|
+
width: "100%",
|
|
39
|
+
gap: 8,
|
|
40
|
+
height: 56,
|
|
41
|
+
children
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
Tabs.Button = _AOBL3JUXcjs.TabButton;
|
|
48
|
+
Tabs.Link = _VFJQUEUDcjs.TabLink_default;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
exports.Tabs = Tabs;
|
|
53
|
+
//# sourceMappingURL=JQ6MLSET.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Tabs/Tabs.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,OAAO,gBAAgB;AAuCjB;AA9BS,SAAR,KAAsB;AAAA,EAC3B;AAAA,EACA;AAAA,EACA,KAAK;AACP,GAgBgB;AACd,SACE;AAAA,IAAC;AAAA;AAAA,MACC,MAAK;AAAA,MACL,cAAY;AAAA,MACZ,WAAW,WAAW;AAAA,QACpB,CAAC,oBAAO,2BAA2B,GAAG,OAAO;AAAA,QAC7C,CAAC,oBAAO,0BAA0B,GAAG,OAAO;AAAA,MAC9C,CAAC;AAAA,MAED;AAAA,QAAC;AAAA;AAAA,UACC,SAAQ;AAAA,UACR,YAAW;AAAA,UACX,gBAAe;AAAA,UACf,OAAM;AAAA,UACN,KAAK;AAAA,UACL,QAAQ;AAAA,UAEP;AAAA;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;AAEA,KAAK,SAAS;AACd,KAAK,OAAO","sourcesContent":["import { type ReactNode } from \"react\";\nimport classnames from \"classnames\";\nimport TabButton from \"./TabButton\";\nimport TabLink from \"./TabLink\";\nimport styles from \"./Tabs.module.css\";\nimport Box from \"../Box/Box\";\n\n/**\n * [Tabs](https://cambly-syntax.vercel.app/?path=/docs/components-tabs--docs) are used to organize content into different sections.\n */\nexport default function Tabs({\n children,\n accessibilityLabel,\n on = \"lightBackground\",\n}: {\n /**\n * The Tabs to display. Each Tab should be a `Tabs.Button` or a `Tabs.Link`.\n * Only use `Tabs.Link` for clicking tab that update the URL upon selection. Otherwise, use `Tabs.Button`.\n */\n children: ReactNode;\n /**\n * Accessibility label for the Tabs container.\n */\n accessibilityLabel: string;\n /**\n * Indicate whether the Tabs render on a light or dark background.\n *\n * @defaulValue `lightBackground`\n */\n on?: \"lightBackground\" | \"darkBackground\";\n}): JSX.Element {\n return (\n <div\n role=\"tablist\"\n aria-label={accessibilityLabel}\n className={classnames({\n [styles.tabContainerlightBackground]: on === \"lightBackground\",\n [styles.tabContainerDarkBackground]: on === \"darkBackground\",\n })}\n >\n <Box\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"start\"\n width=\"100%\"\n gap={8}\n height={56}\n >\n {children}\n </Box>\n </div>\n );\n}\n\nTabs.Button = TabButton;\nTabs.Link = TabLink;\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client"
|
|
2
|
+
|
|
3
|
+
// css-module:./colors.module.css#css-module
|
|
4
|
+
var colors_module_default = { "inheritColor": "_inheritColor_m0uph_2", "destructive700Color": "_destructive700Color_m0uph_6", "gray700Color": "_gray700Color_m0uph_10", "gray900Color": "_gray900Color_m0uph_14", "primary700Color": "_primary700Color_m0uph_18", "success700Color": "_success700Color_m0uph_22", "whiteColor": "_whiteColor_m0uph_26", "noBorder": "_noBorder_m0uph_31", "blackBorderColor": "_blackBorderColor_m0uph_35", "whiteBorderColor": "_whiteBorderColor_m0uph_39", "success770BorderColor": "_success770BorderColor_m0uph_43", "destructive770BorderColor": "_destructive770BorderColor_m0uph_47", "gray370BorderColor": "_gray370BorderColor_m0uph_51", "success370BorderColor": "_success370BorderColor_m0uph_55", "destructive370BorderColor": "_destructive370BorderColor_m0uph_59", "blackBackgroundColor": "_blackBackgroundColor_m0uph_65", "destructive100BackgroundColor": "_destructive100BackgroundColor_m0uph_69", "destructive200BackgroundColor": "_destructive200BackgroundColor_m0uph_73", "destructive300BackgroundColor": "_destructive300BackgroundColor_m0uph_77", "destructive700BackgroundColor": "_destructive700BackgroundColor_m0uph_81", "destructive800BackgroundColor": "_destructive800BackgroundColor_m0uph_85", "destructive900BackgroundColor": "_destructive900BackgroundColor_m0uph_89", "gray10BackgroundColor": "_gray10BackgroundColor_m0uph_93", "gray30BackgroundColor": "_gray30BackgroundColor_m0uph_97", "gray60BackgroundColor": "_gray60BackgroundColor_m0uph_101", "gray80BackgroundColor": "_gray80BackgroundColor_m0uph_105", "gray100BackgroundColor": "_gray100BackgroundColor_m0uph_109", "gray200BackgroundColor": "_gray200BackgroundColor_m0uph_113", "gray300BackgroundColor": "_gray300BackgroundColor_m0uph_117", "gray700BackgroundColor": "_gray700BackgroundColor_m0uph_121", "gray800BackgroundColor": "_gray800BackgroundColor_m0uph_125", "gray900BackgroundColor": "_gray900BackgroundColor_m0uph_129", "orange100BackgroundColor": "_orange100BackgroundColor_m0uph_133", "orange200BackgroundColor": "_orange200BackgroundColor_m0uph_137", "orange300BackgroundColor": "_orange300BackgroundColor_m0uph_141", "orange700BackgroundColor": "_orange700BackgroundColor_m0uph_145", "orange800BackgroundColor": "_orange800BackgroundColor_m0uph_149", "orange900BackgroundColor": "_orange900BackgroundColor_m0uph_153", "primary100BackgroundColor": "_primary100BackgroundColor_m0uph_157", "primary200BackgroundColor": "_primary200BackgroundColor_m0uph_161", "primary300BackgroundColor": "_primary300BackgroundColor_m0uph_165", "primary700BackgroundColor": "_primary700BackgroundColor_m0uph_169", "primary800BackgroundColor": "_primary800BackgroundColor_m0uph_173", "primary900BackgroundColor": "_primary900BackgroundColor_m0uph_177", "success100BackgroundColor": "_success100BackgroundColor_m0uph_181", "success200BackgroundColor": "_success200BackgroundColor_m0uph_185", "success300BackgroundColor": "_success300BackgroundColor_m0uph_189", "success700BackgroundColor": "_success700BackgroundColor_m0uph_193", "success800BackgroundColor": "_success800BackgroundColor_m0uph_197", "success900BackgroundColor": "_success900BackgroundColor_m0uph_201", "purple100BackgroundColor": "_purple100BackgroundColor_m0uph_205", "purple200BackgroundColor": "_purple200BackgroundColor_m0uph_209", "purple300BackgroundColor": "_purple300BackgroundColor_m0uph_213", "purple700BackgroundColor": "_purple700BackgroundColor_m0uph_217", "purple800BackgroundColor": "_purple800BackgroundColor_m0uph_221", "purple900BackgroundColor": "_purple900BackgroundColor_m0uph_225", "whiteBackgroundColor": "_whiteBackgroundColor_m0uph_229", "yellow100BackgroundColor": "_yellow100BackgroundColor_m0uph_233", "yellow200BackgroundColor": "_yellow200BackgroundColor_m0uph_237", "yellow300BackgroundColor": "_yellow300BackgroundColor_m0uph_241", "yellow700BackgroundColor": "_yellow700BackgroundColor_m0uph_245", "yellow800BackgroundColor": "_yellow800BackgroundColor_m0uph_249", "yellow900BackgroundColor": "_yellow900BackgroundColor_m0uph_253", "cambioBlackColor": "_cambioBlackColor_m0uph_258", "cambioWhiteColor": "_cambioWhiteColor_m0uph_262", "cambioWhite40Color": "_cambioWhite40Color_m0uph_266", "cambioWhite70Color": "_cambioWhite70Color_m0uph_270", "cambioGray100Color": "_cambioGray100Color_m0uph_274", "cambioGray200Color": "_cambioGray200Color_m0uph_278", "cambioGray300Color": "_cambioGray300Color_m0uph_282", "cambioGray370Color": "_cambioGray370Color_m0uph_286", "cambioGray700Color": "_cambioGray700Color_m0uph_290", "cambioGray800Color": "_cambioGray800Color_m0uph_294", "cambioGray870Color": "_cambioGray870Color_m0uph_298", "cambioGray900Color": "_cambioGray900Color_m0uph_302", "cambioDestructive100Color": "_cambioDestructive100Color_m0uph_306", "cambioDestructive300Color": "_cambioDestructive300Color_m0uph_310", "cambioDestructive370Color": "_cambioDestructive370Color_m0uph_314", "cambioDestructive700Color": "_cambioDestructive700Color_m0uph_318", "cambioDestructive770Color": "_cambioDestructive770Color_m0uph_322", "cambioDestructive900Color": "_cambioDestructive900Color_m0uph_326", "cambioSuccess100Color": "_cambioSuccess100Color_m0uph_330", "cambioSuccess300Color": "_cambioSuccess300Color_m0uph_334", "cambioSuccess370Color": "_cambioSuccess370Color_m0uph_338", "cambioSuccess700Color": "_cambioSuccess700Color_m0uph_342", "cambioSuccess770Color": "_cambioSuccess770Color_m0uph_346", "cambioSuccess900Color": "_cambioSuccess900Color_m0uph_350", "cambioRedColor": "_cambioRedColor_m0uph_354", "cambioOrangeColor": "_cambioOrangeColor_m0uph_358", "cambioTanColor": "_cambioTanColor_m0uph_362", "cambioCreamColor": "_cambioCreamColor_m0uph_366", "cambioPurpleColor": "_cambioPurpleColor_m0uph_370", "cambioLilacColor": "_cambioLilacColor_m0uph_374", "cambioThistleColor": "_cambioThistleColor_m0uph_378", "cambioPinkColor": "_cambioPinkColor_m0uph_382", "cambioNavyColor": "_cambioNavyColor_m0uph_386", "cambioTealColor": "_cambioTealColor_m0uph_390", "cambioSlateColor": "_cambioSlateColor_m0uph_394", "cambioSkyColor": "_cambioSkyColor_m0uph_398", "cambioYellow700Color": "_cambioYellow700Color_m0uph_402", "cambioTransparentFullBackgroundColor": "_cambioTransparentFullBackgroundColor_m0uph_406", "cambioBlackBackgroundColor": "_cambioBlackBackgroundColor_m0uph_410", "cambioWhiteBackgroundColor": "_cambioWhiteBackgroundColor_m0uph_414", "cambioWhite40BackgroundColor": "_cambioWhite40BackgroundColor_m0uph_418", "cambioWhite70BackgroundColor": "_cambioWhite70BackgroundColor_m0uph_422", "cambioGray100BackgroundColor": "_cambioGray100BackgroundColor_m0uph_426", "cambioGray200BackgroundColor": "_cambioGray200BackgroundColor_m0uph_430", "cambioGray300BackgroundColor": "_cambioGray300BackgroundColor_m0uph_434", "gray370BackgroundColor": "_gray370BackgroundColor_m0uph_438", "cambioGray370BackgroundColor": "_cambioGray370BackgroundColor_m0uph_442", "cambioGray700BackgroundColor": "_cambioGray700BackgroundColor_m0uph_446", "cambioGray800BackgroundColor": "_cambioGray800BackgroundColor_m0uph_450", "gray870BackgroundColor": "_gray870BackgroundColor_m0uph_454", "cambioGray870BackgroundColor": "_cambioGray870BackgroundColor_m0uph_458", "cambioGray900BackgroundColor": "_cambioGray900BackgroundColor_m0uph_462", "cambioDestructive100BackgroundColor": "_cambioDestructive100BackgroundColor_m0uph_466", "cambioDestructive300BackgroundColor": "_cambioDestructive300BackgroundColor_m0uph_470", "cambioDestructive370BackgroundColor": "_cambioDestructive370BackgroundColor_m0uph_474", "cambioDestructive700BackgroundColor": "_cambioDestructive700BackgroundColor_m0uph_478", "cambioDestructive770BackgroundColor": "_cambioDestructive770BackgroundColor_m0uph_482", "cambioDestructive900BackgroundColor": "_cambioDestructive900BackgroundColor_m0uph_486", "cambioSuccess100BackgroundColor": "_cambioSuccess100BackgroundColor_m0uph_490", "cambioSuccess300BackgroundColor": "_cambioSuccess300BackgroundColor_m0uph_494", "cambioSuccess370BackgroundColor": "_cambioSuccess370BackgroundColor_m0uph_498", "cambioSuccess700BackgroundColor": "_cambioSuccess700BackgroundColor_m0uph_502", "cambioSuccess770BackgroundColor": "_cambioSuccess770BackgroundColor_m0uph_506", "cambioSuccess900BackgroundColor": "_cambioSuccess900BackgroundColor_m0uph_510", "redBackgroundColor": "_redBackgroundColor_m0uph_514", "cambioRedBackgroundColor": "_cambioRedBackgroundColor_m0uph_518", "orangeBackgroundColor": "_orangeBackgroundColor_m0uph_522", "cambioOrangeBackgroundColor": "_cambioOrangeBackgroundColor_m0uph_526", "tanBackgroundColor": "_tanBackgroundColor_m0uph_530", "cambioTanBackgroundColor": "_cambioTanBackgroundColor_m0uph_534", "creamBackgroundColor": "_creamBackgroundColor_m0uph_538", "cambioCreamBackgroundColor": "_cambioCreamBackgroundColor_m0uph_542", "purpleBackgroundColor": "_purpleBackgroundColor_m0uph_546", "cambioPurpleBackgroundColor": "_cambioPurpleBackgroundColor_m0uph_550", "lilacBackgroundColor": "_lilacBackgroundColor_m0uph_554", "cambioLilacBackgroundColor": "_cambioLilacBackgroundColor_m0uph_558", "thistleBackgroundColor": "_thistleBackgroundColor_m0uph_562", "cambioThistleBackgroundColor": "_cambioThistleBackgroundColor_m0uph_566", "pinkBackgroundColor": "_pinkBackgroundColor_m0uph_570", "cambioPinkBackgroundColor": "_cambioPinkBackgroundColor_m0uph_574", "navyBackgroundColor": "_navyBackgroundColor_m0uph_578", "cambioNavyBackgroundColor": "_cambioNavyBackgroundColor_m0uph_582", "tealBackgroundColor": "_tealBackgroundColor_m0uph_586", "cambioTealBackgroundColor": "_cambioTealBackgroundColor_m0uph_590", "slateBackgroundColor": "_slateBackgroundColor_m0uph_594", "cambioSlateBackgroundColor": "_cambioSlateBackgroundColor_m0uph_598", "skyBackgroundColor": "_skyBackgroundColor_m0uph_602", "cambioSkyBackgroundColor": "_cambioSkyBackgroundColor_m0uph_606", "cambioYellow700BackgroundColor": "_cambioYellow700BackgroundColor_m0uph_610" };
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
exports.colors_module_default = colors_module_default;
|
|
9
|
+
//# sourceMappingURL=JTTZCAPP.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["css-module:./colors.module.css#css-module"],"names":[],"mappings":"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","sourcesContent":["import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"inheritColor\":\"_inheritColor_m0uph_2\",\"destructive700Color\":\"_destructive700Color_m0uph_6\",\"gray700Color\":\"_gray700Color_m0uph_10\",\"gray900Color\":\"_gray900Color_m0uph_14\",\"primary700Color\":\"_primary700Color_m0uph_18\",\"success700Color\":\"_success700Color_m0uph_22\",\"whiteColor\":\"_whiteColor_m0uph_26\",\"noBorder\":\"_noBorder_m0uph_31\",\"blackBorderColor\":\"_blackBorderColor_m0uph_35\",\"whiteBorderColor\":\"_whiteBorderColor_m0uph_39\",\"success770BorderColor\":\"_success770BorderColor_m0uph_43\",\"destructive770BorderColor\":\"_destructive770BorderColor_m0uph_47\",\"gray370BorderColor\":\"_gray370BorderColor_m0uph_51\",\"success370BorderColor\":\"_success370BorderColor_m0uph_55\",\"destructive370BorderColor\":\"_destructive370BorderColor_m0uph_59\",\"blackBackgroundColor\":\"_blackBackgroundColor_m0uph_65\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_m0uph_69\",\"destructive200BackgroundColor\":\"_destructive200BackgroundColor_m0uph_73\",\"destructive300BackgroundColor\":\"_destructive300BackgroundColor_m0uph_77\",\"destructive700BackgroundColor\":\"_destructive700BackgroundColor_m0uph_81\",\"destructive800BackgroundColor\":\"_destructive800BackgroundColor_m0uph_85\",\"destructive900BackgroundColor\":\"_destructive900BackgroundColor_m0uph_89\",\"gray10BackgroundColor\":\"_gray10BackgroundColor_m0uph_93\",\"gray30BackgroundColor\":\"_gray30BackgroundColor_m0uph_97\",\"gray60BackgroundColor\":\"_gray60BackgroundColor_m0uph_101\",\"gray80BackgroundColor\":\"_gray80BackgroundColor_m0uph_105\",\"gray100BackgroundColor\":\"_gray100BackgroundColor_m0uph_109\",\"gray200BackgroundColor\":\"_gray200BackgroundColor_m0uph_113\",\"gray300BackgroundColor\":\"_gray300BackgroundColor_m0uph_117\",\"gray700BackgroundColor\":\"_gray700BackgroundColor_m0uph_121\",\"gray800BackgroundColor\":\"_gray800BackgroundColor_m0uph_125\",\"gray900BackgroundColor\":\"_gray900BackgroundColor_m0uph_129\",\"orange100BackgroundColor\":\"_orange100BackgroundColor_m0uph_133\",\"orange200BackgroundColor\":\"_orange200BackgroundColor_m0uph_137\",\"orange300BackgroundColor\":\"_orange300BackgroundColor_m0uph_141\",\"orange700BackgroundColor\":\"_orange700BackgroundColor_m0uph_145\",\"orange800BackgroundColor\":\"_orange800BackgroundColor_m0uph_149\",\"orange900BackgroundColor\":\"_orange900BackgroundColor_m0uph_153\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_m0uph_157\",\"primary200BackgroundColor\":\"_primary200BackgroundColor_m0uph_161\",\"primary300BackgroundColor\":\"_primary300BackgroundColor_m0uph_165\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_m0uph_169\",\"primary800BackgroundColor\":\"_primary800BackgroundColor_m0uph_173\",\"primary900BackgroundColor\":\"_primary900BackgroundColor_m0uph_177\",\"success100BackgroundColor\":\"_success100BackgroundColor_m0uph_181\",\"success200BackgroundColor\":\"_success200BackgroundColor_m0uph_185\",\"success300BackgroundColor\":\"_success300BackgroundColor_m0uph_189\",\"success700BackgroundColor\":\"_success700BackgroundColor_m0uph_193\",\"success800BackgroundColor\":\"_success800BackgroundColor_m0uph_197\",\"success900BackgroundColor\":\"_success900BackgroundColor_m0uph_201\",\"purple100BackgroundColor\":\"_purple100BackgroundColor_m0uph_205\",\"purple200BackgroundColor\":\"_purple200BackgroundColor_m0uph_209\",\"purple300BackgroundColor\":\"_purple300BackgroundColor_m0uph_213\",\"purple700BackgroundColor\":\"_purple700BackgroundColor_m0uph_217\",\"purple800BackgroundColor\":\"_purple800BackgroundColor_m0uph_221\",\"purple900BackgroundColor\":\"_purple900BackgroundColor_m0uph_225\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_m0uph_229\",\"yellow100BackgroundColor\":\"_yellow100BackgroundColor_m0uph_233\",\"yellow200BackgroundColor\":\"_yellow200BackgroundColor_m0uph_237\",\"yellow300BackgroundColor\":\"_yellow300BackgroundColor_m0uph_241\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_m0uph_245\",\"yellow800BackgroundColor\":\"_yellow800BackgroundColor_m0uph_249\",\"yellow900BackgroundColor\":\"_yellow900BackgroundColor_m0uph_253\",\"cambioBlackColor\":\"_cambioBlackColor_m0uph_258\",\"cambioWhiteColor\":\"_cambioWhiteColor_m0uph_262\",\"cambioWhite40Color\":\"_cambioWhite40Color_m0uph_266\",\"cambioWhite70Color\":\"_cambioWhite70Color_m0uph_270\",\"cambioGray100Color\":\"_cambioGray100Color_m0uph_274\",\"cambioGray200Color\":\"_cambioGray200Color_m0uph_278\",\"cambioGray300Color\":\"_cambioGray300Color_m0uph_282\",\"cambioGray370Color\":\"_cambioGray370Color_m0uph_286\",\"cambioGray700Color\":\"_cambioGray700Color_m0uph_290\",\"cambioGray800Color\":\"_cambioGray800Color_m0uph_294\",\"cambioGray870Color\":\"_cambioGray870Color_m0uph_298\",\"cambioGray900Color\":\"_cambioGray900Color_m0uph_302\",\"cambioDestructive100Color\":\"_cambioDestructive100Color_m0uph_306\",\"cambioDestructive300Color\":\"_cambioDestructive300Color_m0uph_310\",\"cambioDestructive370Color\":\"_cambioDestructive370Color_m0uph_314\",\"cambioDestructive700Color\":\"_cambioDestructive700Color_m0uph_318\",\"cambioDestructive770Color\":\"_cambioDestructive770Color_m0uph_322\",\"cambioDestructive900Color\":\"_cambioDestructive900Color_m0uph_326\",\"cambioSuccess100Color\":\"_cambioSuccess100Color_m0uph_330\",\"cambioSuccess300Color\":\"_cambioSuccess300Color_m0uph_334\",\"cambioSuccess370Color\":\"_cambioSuccess370Color_m0uph_338\",\"cambioSuccess700Color\":\"_cambioSuccess700Color_m0uph_342\",\"cambioSuccess770Color\":\"_cambioSuccess770Color_m0uph_346\",\"cambioSuccess900Color\":\"_cambioSuccess900Color_m0uph_350\",\"cambioRedColor\":\"_cambioRedColor_m0uph_354\",\"cambioOrangeColor\":\"_cambioOrangeColor_m0uph_358\",\"cambioTanColor\":\"_cambioTanColor_m0uph_362\",\"cambioCreamColor\":\"_cambioCreamColor_m0uph_366\",\"cambioPurpleColor\":\"_cambioPurpleColor_m0uph_370\",\"cambioLilacColor\":\"_cambioLilacColor_m0uph_374\",\"cambioThistleColor\":\"_cambioThistleColor_m0uph_378\",\"cambioPinkColor\":\"_cambioPinkColor_m0uph_382\",\"cambioNavyColor\":\"_cambioNavyColor_m0uph_386\",\"cambioTealColor\":\"_cambioTealColor_m0uph_390\",\"cambioSlateColor\":\"_cambioSlateColor_m0uph_394\",\"cambioSkyColor\":\"_cambioSkyColor_m0uph_398\",\"cambioYellow700Color\":\"_cambioYellow700Color_m0uph_402\",\"cambioTransparentFullBackgroundColor\":\"_cambioTransparentFullBackgroundColor_m0uph_406\",\"cambioBlackBackgroundColor\":\"_cambioBlackBackgroundColor_m0uph_410\",\"cambioWhiteBackgroundColor\":\"_cambioWhiteBackgroundColor_m0uph_414\",\"cambioWhite40BackgroundColor\":\"_cambioWhite40BackgroundColor_m0uph_418\",\"cambioWhite70BackgroundColor\":\"_cambioWhite70BackgroundColor_m0uph_422\",\"cambioGray100BackgroundColor\":\"_cambioGray100BackgroundColor_m0uph_426\",\"cambioGray200BackgroundColor\":\"_cambioGray200BackgroundColor_m0uph_430\",\"cambioGray300BackgroundColor\":\"_cambioGray300BackgroundColor_m0uph_434\",\"gray370BackgroundColor\":\"_gray370BackgroundColor_m0uph_438\",\"cambioGray370BackgroundColor\":\"_cambioGray370BackgroundColor_m0uph_442\",\"cambioGray700BackgroundColor\":\"_cambioGray700BackgroundColor_m0uph_446\",\"cambioGray800BackgroundColor\":\"_cambioGray800BackgroundColor_m0uph_450\",\"gray870BackgroundColor\":\"_gray870BackgroundColor_m0uph_454\",\"cambioGray870BackgroundColor\":\"_cambioGray870BackgroundColor_m0uph_458\",\"cambioGray900BackgroundColor\":\"_cambioGray900BackgroundColor_m0uph_462\",\"cambioDestructive100BackgroundColor\":\"_cambioDestructive100BackgroundColor_m0uph_466\",\"cambioDestructive300BackgroundColor\":\"_cambioDestructive300BackgroundColor_m0uph_470\",\"cambioDestructive370BackgroundColor\":\"_cambioDestructive370BackgroundColor_m0uph_474\",\"cambioDestructive700BackgroundColor\":\"_cambioDestructive700BackgroundColor_m0uph_478\",\"cambioDestructive770BackgroundColor\":\"_cambioDestructive770BackgroundColor_m0uph_482\",\"cambioDestructive900BackgroundColor\":\"_cambioDestructive900BackgroundColor_m0uph_486\",\"cambioSuccess100BackgroundColor\":\"_cambioSuccess100BackgroundColor_m0uph_490\",\"cambioSuccess300BackgroundColor\":\"_cambioSuccess300BackgroundColor_m0uph_494\",\"cambioSuccess370BackgroundColor\":\"_cambioSuccess370BackgroundColor_m0uph_498\",\"cambioSuccess700BackgroundColor\":\"_cambioSuccess700BackgroundColor_m0uph_502\",\"cambioSuccess770BackgroundColor\":\"_cambioSuccess770BackgroundColor_m0uph_506\",\"cambioSuccess900BackgroundColor\":\"_cambioSuccess900BackgroundColor_m0uph_510\",\"redBackgroundColor\":\"_redBackgroundColor_m0uph_514\",\"cambioRedBackgroundColor\":\"_cambioRedBackgroundColor_m0uph_518\",\"orangeBackgroundColor\":\"_orangeBackgroundColor_m0uph_522\",\"cambioOrangeBackgroundColor\":\"_cambioOrangeBackgroundColor_m0uph_526\",\"tanBackgroundColor\":\"_tanBackgroundColor_m0uph_530\",\"cambioTanBackgroundColor\":\"_cambioTanBackgroundColor_m0uph_534\",\"creamBackgroundColor\":\"_creamBackgroundColor_m0uph_538\",\"cambioCreamBackgroundColor\":\"_cambioCreamBackgroundColor_m0uph_542\",\"purpleBackgroundColor\":\"_purpleBackgroundColor_m0uph_546\",\"cambioPurpleBackgroundColor\":\"_cambioPurpleBackgroundColor_m0uph_550\",\"lilacBackgroundColor\":\"_lilacBackgroundColor_m0uph_554\",\"cambioLilacBackgroundColor\":\"_cambioLilacBackgroundColor_m0uph_558\",\"thistleBackgroundColor\":\"_thistleBackgroundColor_m0uph_562\",\"cambioThistleBackgroundColor\":\"_cambioThistleBackgroundColor_m0uph_566\",\"pinkBackgroundColor\":\"_pinkBackgroundColor_m0uph_570\",\"cambioPinkBackgroundColor\":\"_cambioPinkBackgroundColor_m0uph_574\",\"navyBackgroundColor\":\"_navyBackgroundColor_m0uph_578\",\"cambioNavyBackgroundColor\":\"_cambioNavyBackgroundColor_m0uph_582\",\"tealBackgroundColor\":\"_tealBackgroundColor_m0uph_586\",\"cambioTealBackgroundColor\":\"_cambioTealBackgroundColor_m0uph_590\",\"slateBackgroundColor\":\"_slateBackgroundColor_m0uph_594\",\"cambioSlateBackgroundColor\":\"_cambioSlateBackgroundColor_m0uph_598\",\"skyBackgroundColor\":\"_skyBackgroundColor_m0uph_602\",\"cambioSkyBackgroundColor\":\"_cambioSkyBackgroundColor_m0uph_606\",\"cambioYellow700BackgroundColor\":\"_cambioYellow700BackgroundColor_m0uph_610\"}"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client"
|
|
2
|
+
|
|
3
|
+
// css-module:./Tabs.module.css#css-module
|
|
4
|
+
var Tabs_module_default = { "tabContainerlightBackground": "_tabContainerlightBackground_59u0q_1", "tabContainerDarkBackground": "_tabContainerDarkBackground_59u0q_5", "selectedTabOnLightBackground": "_selectedTabOnLightBackground_59u0q_9", "selectedTabOnDarkBackground": "_selectedTabOnDarkBackground_59u0q_13", "unselectedTab": "_unselectedTab_59u0q_17", "link": "_link_59u0q_21" };
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
exports.Tabs_module_default = Tabs_module_default;
|
|
9
|
+
//# sourceMappingURL=JVGBP6LO.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["css-module:./Tabs.module.css#css-module"],"names":[],"mappings":";;;AAAwF,IAAO,sBAAQ,EAAC,+BAA8B,wCAAuC,8BAA6B,uCAAsC,gCAA+B,yCAAwC,+BAA8B,yCAAwC,iBAAgB,2BAA0B,QAAO,iBAAgB","sourcesContent":["import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Tabs/Tabs.module.css\"; export default {\"tabContainerlightBackground\":\"_tabContainerlightBackground_59u0q_1\",\"tabContainerDarkBackground\":\"_tabContainerDarkBackground_59u0q_5\",\"selectedTabOnLightBackground\":\"_selectedTabOnLightBackground_59u0q_9\",\"selectedTabOnDarkBackground\":\"_selectedTabOnDarkBackground_59u0q_13\",\"unselectedTab\":\"_unselectedTab_59u0q_17\",\"link\":\"_link_59u0q_21\"}"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import {
|
|
3
3
|
colors_module_default
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./XVUEUKXA.js";
|
|
5
5
|
|
|
6
6
|
// src/colors/textColors.ts
|
|
7
7
|
function textColor(color) {
|
|
@@ -10,6 +10,8 @@ function textColor(color) {
|
|
|
10
10
|
return colors_module_default.cambioGray800Color;
|
|
11
11
|
case "white":
|
|
12
12
|
return colors_module_default.cambioWhiteColor;
|
|
13
|
+
case "white-secondary":
|
|
14
|
+
return colors_module_default.cambioWhite70Color;
|
|
13
15
|
case "inherit":
|
|
14
16
|
return colors_module_default.inheritColor;
|
|
15
17
|
case "destructive-primary":
|
|
@@ -28,4 +30,4 @@ function textColor(color) {
|
|
|
28
30
|
export {
|
|
29
31
|
textColor
|
|
30
32
|
};
|
|
31
|
-
//# sourceMappingURL=
|
|
33
|
+
//# sourceMappingURL=JWGD2JGX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/colors/textColors.ts"],"sourcesContent":["import colorStyles from \"../colors/colors.module.css\";\n\nexport default function textColor(\n color:\n | \"gray900\"\n | \"gray700\"\n | \"primary\"\n | \"destructive-primary\"\n | \"destructive-darkBackground\"\n | \"success\"\n | \"success-darkBackground\"\n | \"white\"\n | \"white-secondary\"\n | \"inherit\",\n): string {\n switch (color) {\n case \"gray700\":\n return colorStyles.cambioGray800Color;\n case \"white\":\n return colorStyles.cambioWhiteColor;\n case \"white-secondary\":\n return colorStyles.cambioWhite70Color;\n case \"inherit\":\n return colorStyles.inheritColor;\n case \"destructive-primary\":\n return colorStyles.cambioDestructive900Color;\n case \"destructive-darkBackground\":\n return colorStyles.cambioDestructive100Color;\n case \"success\":\n return colorStyles.cambioSuccess900Color;\n case \"success-darkBackground\":\n return colorStyles.cambioSuccess100Color;\n // primary / gray900\n default:\n return colorStyles.cambioBlackColor;\n }\n}\n"],"mappings":";;;;;;AAEe,SAAR,UACL,OAWQ;AACR,UAAQ,OAAO;AAAA,IACb,KAAK;AACH,aAAO,sBAAY;AAAA,IACrB,KAAK;AACH,aAAO,sBAAY;AAAA,IACrB,KAAK;AACH,aAAO,sBAAY;AAAA,IACrB,KAAK;AACH,aAAO,sBAAY;AAAA,IACrB,KAAK;AACH,aAAO,sBAAY;AAAA,IACrB,KAAK;AACH,aAAO,sBAAY;AAAA,IACrB,KAAK;AACH,aAAO,sBAAY;AAAA,IACrB,KAAK;AACH,aAAO,sBAAY;AAAA,IAErB;AACE,aAAO,sBAAY;AAAA,EACvB;AACF;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import {
|
|
3
3
|
textColor
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./JWGD2JGX.js";
|
|
5
5
|
|
|
6
6
|
// src/Icon/Icon.tsx
|
|
7
7
|
import { forwardRef } from "react";
|
|
@@ -34,4 +34,4 @@ var Icon_default = Icon;
|
|
|
34
34
|
export {
|
|
35
35
|
Icon_default
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=
|
|
37
|
+
//# sourceMappingURL=K2RGVD55.js.map
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _CHDS4D44cjs = require('./CHDS4D44.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _SVA2ABQQcjs = require('./SVA2ABQQ.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -155,7 +155,7 @@ var Box = _react.forwardRef.call(void 0, function Box2(props, ref) {
|
|
|
155
155
|
smAlignItems && Box_module_default[`alignItems${smAlignItems}Small`],
|
|
156
156
|
lgAlignItems && Box_module_default[`alignItems${lgAlignItems}Large`],
|
|
157
157
|
alignSelf && Box_module_default[`alignSelf${alignSelf}`],
|
|
158
|
-
backgroundColor &&
|
|
158
|
+
backgroundColor && _SVA2ABQQcjs.colors_module_default[`${backgroundColor}BackgroundColor`],
|
|
159
159
|
direction && Box_module_default[direction],
|
|
160
160
|
smDirection && Box_module_default[`${smDirection}Small`],
|
|
161
161
|
lgDirection && Box_module_default[`${lgDirection}Large`],
|
|
@@ -233,4 +233,4 @@ var Box_default = Box;
|
|
|
233
233
|
|
|
234
234
|
|
|
235
235
|
exports.Box_default = Box_default;
|
|
236
|
-
//# sourceMappingURL=
|
|
236
|
+
//# sourceMappingURL=KJLBDAZH.cjs.map
|