@cambly/syntax-core 11.2.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Avatar/Avatar.cjs +5 -5
- package/dist/Avatar/Avatar.css +305 -113
- package/dist/Avatar/Avatar.css.map +1 -1
- package/dist/Avatar/Avatar.js +4 -4
- package/dist/AvatarGroup/AvatarGroup.cjs +4 -4
- package/dist/AvatarGroup/AvatarGroup.css +305 -113
- package/dist/AvatarGroup/AvatarGroup.css.map +1 -1
- package/dist/AvatarGroup/AvatarGroup.js +3 -3
- package/dist/Badge/Badge.cjs +5 -5
- package/dist/Badge/Badge.css +305 -113
- package/dist/Badge/Badge.css.map +1 -1
- package/dist/Badge/Badge.d.ts +1 -1
- package/dist/Badge/Badge.js +4 -4
- package/dist/Box/Box.cjs +3 -3
- package/dist/Box/Box.css +305 -113
- package/dist/Box/Box.css.map +1 -1
- package/dist/Box/Box.js +2 -2
- package/dist/Button/Button.cjs +9 -9
- package/dist/Button/Button.css +305 -113
- package/dist/Button/Button.css.map +1 -1
- package/dist/Button/Button.js +8 -8
- package/dist/Card/Card.cjs +4 -4
- package/dist/Card/Card.css +305 -113
- package/dist/Card/Card.css.map +1 -1
- package/dist/Card/Card.js +3 -3
- package/dist/Checkbox/Checkbox.cjs +4 -4
- package/dist/Checkbox/Checkbox.css +305 -113
- package/dist/Checkbox/Checkbox.css.map +1 -1
- package/dist/Checkbox/Checkbox.js +3 -3
- package/dist/Chip/Chip.cjs +5 -5
- package/dist/Chip/Chip.css +305 -113
- package/dist/Chip/Chip.css.map +1 -1
- package/dist/Chip/Chip.js +4 -4
- package/dist/Dialog/Dialog.cjs +3 -3
- package/dist/Dialog/Dialog.css +305 -113
- package/dist/Dialog/Dialog.css.map +1 -1
- package/dist/Dialog/Dialog.js +2 -2
- package/dist/Dialog/ModalDialog.cjs +10 -10
- package/dist/Dialog/ModalDialog.css +305 -113
- package/dist/Dialog/ModalDialog.css.map +1 -1
- package/dist/Dialog/ModalDialog.js +9 -9
- package/dist/Divider/Divider.cjs +3 -3
- package/dist/Divider/Divider.css +305 -113
- package/dist/Divider/Divider.css.map +1 -1
- package/dist/Divider/Divider.js +2 -2
- package/dist/Heading/Heading.cjs +4 -4
- package/dist/Heading/Heading.css +305 -113
- package/dist/Heading/Heading.css.map +1 -1
- package/dist/Heading/Heading.d.ts +1 -1
- package/dist/Heading/Heading.js +3 -3
- package/dist/IconButton/IconButton.cjs +6 -6
- package/dist/IconButton/IconButton.css +305 -113
- package/dist/IconButton/IconButton.css.map +1 -1
- package/dist/IconButton/IconButton.js +5 -5
- package/dist/LinkButton/LinkButton.cjs +8 -8
- package/dist/LinkButton/LinkButton.css +305 -113
- package/dist/LinkButton/LinkButton.css.map +1 -1
- package/dist/LinkButton/LinkButton.js +7 -7
- package/dist/Modal/Layer.cjs +4 -4
- package/dist/Modal/Layer.css +305 -113
- package/dist/Modal/Layer.css.map +1 -1
- package/dist/Modal/Layer.js +3 -3
- package/dist/Modal/Modal.cjs +12 -12
- package/dist/Modal/Modal.css +305 -113
- package/dist/Modal/Modal.css.map +1 -1
- package/dist/Modal/Modal.js +11 -11
- package/dist/Popover/Popover.cjs +11 -11
- package/dist/Popover/Popover.css +305 -113
- package/dist/Popover/Popover.css.map +1 -1
- package/dist/Popover/Popover.js +10 -10
- package/dist/RadioButton/RadioButton.cjs +5 -5
- package/dist/RadioButton/RadioButton.css +305 -113
- package/dist/RadioButton/RadioButton.css.map +1 -1
- package/dist/RadioButton/RadioButton.js +4 -4
- package/dist/RichSelect/RichSelectBox.cjs +16 -16
- package/dist/RichSelect/RichSelectBox.css +305 -113
- package/dist/RichSelect/RichSelectBox.css.map +1 -1
- package/dist/RichSelect/RichSelectBox.js +15 -15
- package/dist/RichSelect/RichSelectChip.cjs +6 -6
- package/dist/RichSelect/RichSelectChip.css +305 -113
- package/dist/RichSelect/RichSelectChip.css.map +1 -1
- package/dist/RichSelect/RichSelectChip.js +5 -5
- package/dist/RichSelect/RichSelectList.cjs +22 -22
- package/dist/RichSelect/RichSelectList.css +305 -113
- package/dist/RichSelect/RichSelectList.css.map +1 -1
- package/dist/RichSelect/RichSelectList.js +21 -21
- package/dist/RichSelect/RichSelectRadioButton.cjs +6 -6
- package/dist/RichSelect/RichSelectRadioButton.css +305 -113
- package/dist/RichSelect/RichSelectRadioButton.css.map +1 -1
- package/dist/RichSelect/RichSelectRadioButton.js +5 -5
- package/dist/RichSelect/RichSelectSection.cjs +4 -4
- package/dist/RichSelect/RichSelectSection.css +305 -113
- package/dist/RichSelect/RichSelectSection.css.map +1 -1
- package/dist/RichSelect/RichSelectSection.js +3 -3
- package/dist/SelectList/SelectList.cjs +6 -6
- package/dist/SelectList/SelectList.css +305 -113
- package/dist/SelectList/SelectList.css.map +1 -1
- package/dist/SelectList/SelectList.js +5 -5
- package/dist/TextArea/TextArea.cjs +5 -5
- package/dist/TextArea/TextArea.css +305 -113
- package/dist/TextArea/TextArea.css.map +1 -1
- package/dist/TextArea/TextArea.js +4 -4
- package/dist/TextField/TextField.cjs +5 -5
- package/dist/TextField/TextField.css +305 -113
- package/dist/TextField/TextField.css.map +1 -1
- package/dist/TextField/TextField.js +4 -4
- package/dist/Tooltip/Tooltip.cjs +4 -4
- package/dist/Tooltip/Tooltip.css +305 -113
- package/dist/Tooltip/Tooltip.css.map +1 -1
- package/dist/Tooltip/Tooltip.js +3 -3
- package/dist/Typography/Typography.cjs +3 -3
- package/dist/Typography/Typography.css +305 -113
- package/dist/Typography/Typography.css.map +1 -1
- package/dist/Typography/Typography.d.ts +1 -1
- package/dist/Typography/Typography.js +2 -2
- package/dist/__chunks/{3L5BMMES.cjs → 272LSIIS.cjs} +5 -5
- package/dist/__chunks/{3L5BMMES.cjs.map → 272LSIIS.cjs.map} +1 -1
- package/dist/__chunks/{LTWUU3XC.js → 2IXPTAJD.js} +9 -9
- package/dist/__chunks/2IXPTAJD.js.map +1 -0
- package/dist/__chunks/{BACUUS4U.cjs → 3OMIAWRN.cjs} +9 -9
- package/dist/__chunks/{7A555HOA.js → 4EIK6LQR.js} +3 -3
- package/dist/__chunks/{IPNZ5O2J.js → 535SBVS5.js} +2 -2
- package/dist/__chunks/{NQPLPYGV.js → 6PRG6ZYW.js} +2 -2
- package/dist/__chunks/{CTARWDYT.cjs → 76LTWV2Q.cjs} +3 -3
- package/dist/__chunks/{HG4DJVLK.cjs → 7IV2L4B4.cjs} +6 -6
- package/dist/__chunks/{HG4DJVLK.cjs.map → 7IV2L4B4.cjs.map} +1 -1
- package/dist/__chunks/{ACRVT5BQ.js → A6EQN4YQ.js} +7 -7
- package/dist/__chunks/{UHRDQGDN.js → ASY5BZ34.js} +6 -6
- package/dist/__chunks/{WY6QBB2L.cjs → AZAEEMPJ.cjs} +24 -24
- package/dist/__chunks/{VG3APUPX.cjs → BOU7KSFV.cjs} +14 -14
- package/dist/__chunks/C3KZXHTV.cjs +37 -0
- package/dist/__chunks/{5N5Z7IAF.cjs → CGBH73TM.cjs} +3 -3
- package/dist/__chunks/{YZTRBJSP.cjs → CHOHIFJN.cjs} +3 -3
- package/dist/__chunks/{CAVL76GN.cjs → COLPERJT.cjs} +7 -7
- package/dist/__chunks/{SBKATR3W.js → CTNDDLBZ.js} +3 -3
- package/dist/__chunks/{3TWXO5QV.cjs → D5AQ3PGB.cjs} +3 -3
- package/dist/__chunks/{UELV7ZA3.cjs → D62L3CWM.cjs} +7 -7
- package/dist/__chunks/{2QLFTRLL.cjs → DMA6PPUZ.cjs} +6 -3
- package/dist/__chunks/DMA6PPUZ.cjs.map +1 -0
- package/dist/__chunks/{KKVX5XVU.js → ECA33JJ5.js} +2 -2
- package/dist/__chunks/{SODZUCVS.cjs → EZUXET6V.cjs} +3 -3
- package/dist/__chunks/{5BBERXNJ.cjs → FESAFV44.cjs} +3 -3
- package/dist/__chunks/{K6AATIFS.js → FVGIQTM2.js} +4 -4
- package/dist/__chunks/{KBS7FN6K.js → GJMFOAIB.js} +4 -4
- package/dist/__chunks/GJMFOAIB.js.map +1 -0
- package/dist/__chunks/{PMEHNNPZ.js → H3IUTBTY.js} +3 -3
- package/dist/__chunks/{4W4GUHRI.js → HLC7NU6Z.js} +2 -2
- package/dist/__chunks/{ZDMOD6DO.js → HXTCI7A3.js} +2 -2
- package/dist/__chunks/{2HXSPCIW.cjs → JHUEQO5Q.cjs} +3 -3
- package/dist/__chunks/{AFRNE3KT.cjs → JRTUP3VP.cjs} +8 -8
- package/dist/__chunks/{UZB2USOT.js → JUQWWD2D.js} +3 -3
- package/dist/__chunks/{X55B3Y26.js → K65WDLIC.js} +5 -5
- package/dist/__chunks/K65WDLIC.js.map +1 -0
- package/dist/__chunks/KZT53ITQ.cjs +9 -0
- package/dist/__chunks/KZT53ITQ.cjs.map +1 -0
- package/dist/__chunks/{HDHIA3Z7.js → LDHALTXE.js} +3 -3
- package/dist/__chunks/{6UVPEUYV.js → LTSX5P7G.js} +4 -4
- package/dist/__chunks/{4HKYB4YY.js → M36V23WR.js} +2 -2
- package/dist/__chunks/{3WQ4E7WU.js → MEOMWLNG.js} +4 -4
- package/dist/__chunks/{3JF5M3NR.cjs → MKZONAGT.cjs} +11 -11
- package/dist/__chunks/{3JF5M3NR.cjs.map → MKZONAGT.cjs.map} +1 -1
- package/dist/__chunks/{JBGITC3B.cjs → MOJ335LT.cjs} +8 -8
- package/dist/__chunks/{AHKSGA7M.cjs → MQHJC5QX.cjs} +1 -1
- package/dist/__chunks/{AHKSGA7M.cjs.map → MQHJC5QX.cjs.map} +1 -1
- package/dist/__chunks/{BMMX2VR3.js → NMX5UDLV.js} +2 -2
- package/dist/__chunks/{P3MDJQRG.cjs → OUH7XWQR.cjs} +7 -7
- package/dist/__chunks/{L2FDVHR4.cjs → PROA22UK.cjs} +7 -7
- package/dist/__chunks/PUTZ53EC.js +9 -0
- package/dist/__chunks/PUTZ53EC.js.map +1 -0
- package/dist/__chunks/{U5SGAD6Z.js → PX2UXNON.js} +4 -4
- package/dist/__chunks/PX2UXNON.js.map +1 -0
- package/dist/__chunks/QT6IRCGW.cjs +9 -0
- package/dist/__chunks/QT6IRCGW.cjs.map +1 -0
- package/dist/__chunks/{HIY6QHAJ.js → QVOCSKIN.js} +5 -5
- package/dist/__chunks/RAL6R27S.cjs +56 -0
- package/dist/__chunks/RAL6R27S.cjs.map +1 -0
- package/dist/__chunks/{35XMEDHG.js → RQ5XRLL6.js} +2 -2
- package/dist/__chunks/S6TNP7G5.js +9 -0
- package/dist/__chunks/S6TNP7G5.js.map +1 -0
- package/dist/__chunks/{RBQHLMQ2.js → SSVDOCMD.js} +3 -3
- package/dist/__chunks/{YF3Q3FVK.cjs → T2G4KRBE.cjs} +4 -4
- package/dist/__chunks/{QJYQWSPN.cjs → T2WJJCS3.cjs} +7 -7
- package/dist/__chunks/{QJYQWSPN.cjs.map → T2WJJCS3.cjs.map} +1 -1
- package/dist/__chunks/{XFIG2G4J.js → T32LVZ6S.js} +2 -2
- package/dist/__chunks/{4JFAHVZG.js → T43E4BS4.js} +5 -5
- package/dist/__chunks/T6PXFSRX.js +56 -0
- package/dist/__chunks/T6PXFSRX.js.map +1 -0
- package/dist/__chunks/{VHUAFPB4.js → TK2EQ6QG.js} +6 -3
- package/dist/__chunks/{VHUAFPB4.js.map → TK2EQ6QG.js.map} +1 -1
- package/dist/__chunks/{YBLOOAP2.js → TZGJS522.js} +2 -2
- package/dist/__chunks/{NTMZ73HV.cjs → UT353VLR.cjs} +3 -3
- package/dist/__chunks/{SS5NSEUH.js → UVQS6LU3.js} +11 -11
- package/dist/__chunks/UVQS6LU3.js.map +1 -0
- package/dist/__chunks/{DYH42LNC.cjs → W52D7D34.cjs} +5 -5
- package/dist/__chunks/{4NUE2KQG.js → WBVMCGHT.js} +1 -1
- package/dist/__chunks/{4NUE2KQG.js.map → WBVMCGHT.js.map} +1 -1
- package/dist/__chunks/{QW2VP7ZC.cjs → X67IWLZJ.cjs} +16 -16
- package/dist/__chunks/{VFVPE7AX.cjs → XCGRNBQH.cjs} +10 -10
- package/dist/__chunks/XCGRNBQH.cjs.map +1 -0
- package/dist/__chunks/{IUV6O736.cjs → Y2AMPQUU.cjs} +10 -10
- package/dist/__chunks/{6ISQTUPK.js → YG2IOLCC.js} +10 -10
- package/dist/__chunks/{GDJNEJXE.cjs → YUW7GFTZ.cjs} +8 -8
- package/dist/__chunks/{U56GHEMO.cjs → ZGI5YNKG.cjs} +3 -3
- package/dist/colors/allColors.cjs +52 -37
- package/dist/colors/allColors.cjs.map +1 -1
- package/dist/colors/allColors.d.ts +1 -1
- package/dist/colors/allColors.js +52 -37
- package/dist/colors/allColors.js.map +1 -1
- package/dist/colors/backgroundColor.cjs +3 -3
- package/dist/colors/backgroundColor.css +305 -113
- 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 +305 -113
- 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 +305 -113
- package/dist/colors/foregroundColor.css.map +1 -1
- package/dist/colors/foregroundColor.js +2 -2
- package/dist/index.cjs +35 -35
- package/dist/index.css +305 -113
- package/dist/index.css.map +1 -1
- package/dist/index.js +34 -34
- package/package.json +1 -1
- package/dist/__chunks/2QLFTRLL.cjs.map +0 -1
- package/dist/__chunks/2XHKMMIM.js +0 -9
- package/dist/__chunks/2XHKMMIM.js.map +0 -1
- package/dist/__chunks/4FJB2WBS.js +0 -9
- package/dist/__chunks/4FJB2WBS.js.map +0 -1
- package/dist/__chunks/GTT2BZKS.js +0 -56
- package/dist/__chunks/GTT2BZKS.js.map +0 -1
- package/dist/__chunks/KBS7FN6K.js.map +0 -1
- package/dist/__chunks/LTWUU3XC.js.map +0 -1
- package/dist/__chunks/NDBEPCTG.cjs +0 -56
- package/dist/__chunks/NDBEPCTG.cjs.map +0 -1
- package/dist/__chunks/NVFYL64H.cjs +0 -9
- package/dist/__chunks/NVFYL64H.cjs.map +0 -1
- package/dist/__chunks/RVVNTLJ7.cjs +0 -9
- package/dist/__chunks/RVVNTLJ7.cjs.map +0 -1
- package/dist/__chunks/SS5NSEUH.js.map +0 -1
- package/dist/__chunks/U5SGAD6Z.js.map +0 -1
- package/dist/__chunks/VFVPE7AX.cjs.map +0 -1
- package/dist/__chunks/X55B3Y26.js.map +0 -1
- package/dist/__chunks/XSMGQC4H.cjs +0 -37
- /package/dist/__chunks/{BACUUS4U.cjs.map → 3OMIAWRN.cjs.map} +0 -0
- /package/dist/__chunks/{7A555HOA.js.map → 4EIK6LQR.js.map} +0 -0
- /package/dist/__chunks/{IPNZ5O2J.js.map → 535SBVS5.js.map} +0 -0
- /package/dist/__chunks/{NQPLPYGV.js.map → 6PRG6ZYW.js.map} +0 -0
- /package/dist/__chunks/{CTARWDYT.cjs.map → 76LTWV2Q.cjs.map} +0 -0
- /package/dist/__chunks/{ACRVT5BQ.js.map → A6EQN4YQ.js.map} +0 -0
- /package/dist/__chunks/{UHRDQGDN.js.map → ASY5BZ34.js.map} +0 -0
- /package/dist/__chunks/{WY6QBB2L.cjs.map → AZAEEMPJ.cjs.map} +0 -0
- /package/dist/__chunks/{VG3APUPX.cjs.map → BOU7KSFV.cjs.map} +0 -0
- /package/dist/__chunks/{XSMGQC4H.cjs.map → C3KZXHTV.cjs.map} +0 -0
- /package/dist/__chunks/{5N5Z7IAF.cjs.map → CGBH73TM.cjs.map} +0 -0
- /package/dist/__chunks/{YZTRBJSP.cjs.map → CHOHIFJN.cjs.map} +0 -0
- /package/dist/__chunks/{CAVL76GN.cjs.map → COLPERJT.cjs.map} +0 -0
- /package/dist/__chunks/{SBKATR3W.js.map → CTNDDLBZ.js.map} +0 -0
- /package/dist/__chunks/{3TWXO5QV.cjs.map → D5AQ3PGB.cjs.map} +0 -0
- /package/dist/__chunks/{UELV7ZA3.cjs.map → D62L3CWM.cjs.map} +0 -0
- /package/dist/__chunks/{KKVX5XVU.js.map → ECA33JJ5.js.map} +0 -0
- /package/dist/__chunks/{SODZUCVS.cjs.map → EZUXET6V.cjs.map} +0 -0
- /package/dist/__chunks/{5BBERXNJ.cjs.map → FESAFV44.cjs.map} +0 -0
- /package/dist/__chunks/{K6AATIFS.js.map → FVGIQTM2.js.map} +0 -0
- /package/dist/__chunks/{PMEHNNPZ.js.map → H3IUTBTY.js.map} +0 -0
- /package/dist/__chunks/{4W4GUHRI.js.map → HLC7NU6Z.js.map} +0 -0
- /package/dist/__chunks/{ZDMOD6DO.js.map → HXTCI7A3.js.map} +0 -0
- /package/dist/__chunks/{2HXSPCIW.cjs.map → JHUEQO5Q.cjs.map} +0 -0
- /package/dist/__chunks/{AFRNE3KT.cjs.map → JRTUP3VP.cjs.map} +0 -0
- /package/dist/__chunks/{UZB2USOT.js.map → JUQWWD2D.js.map} +0 -0
- /package/dist/__chunks/{HDHIA3Z7.js.map → LDHALTXE.js.map} +0 -0
- /package/dist/__chunks/{6UVPEUYV.js.map → LTSX5P7G.js.map} +0 -0
- /package/dist/__chunks/{4HKYB4YY.js.map → M36V23WR.js.map} +0 -0
- /package/dist/__chunks/{3WQ4E7WU.js.map → MEOMWLNG.js.map} +0 -0
- /package/dist/__chunks/{JBGITC3B.cjs.map → MOJ335LT.cjs.map} +0 -0
- /package/dist/__chunks/{BMMX2VR3.js.map → NMX5UDLV.js.map} +0 -0
- /package/dist/__chunks/{P3MDJQRG.cjs.map → OUH7XWQR.cjs.map} +0 -0
- /package/dist/__chunks/{L2FDVHR4.cjs.map → PROA22UK.cjs.map} +0 -0
- /package/dist/__chunks/{HIY6QHAJ.js.map → QVOCSKIN.js.map} +0 -0
- /package/dist/__chunks/{35XMEDHG.js.map → RQ5XRLL6.js.map} +0 -0
- /package/dist/__chunks/{RBQHLMQ2.js.map → SSVDOCMD.js.map} +0 -0
- /package/dist/__chunks/{YF3Q3FVK.cjs.map → T2G4KRBE.cjs.map} +0 -0
- /package/dist/__chunks/{XFIG2G4J.js.map → T32LVZ6S.js.map} +0 -0
- /package/dist/__chunks/{4JFAHVZG.js.map → T43E4BS4.js.map} +0 -0
- /package/dist/__chunks/{YBLOOAP2.js.map → TZGJS522.js.map} +0 -0
- /package/dist/__chunks/{NTMZ73HV.cjs.map → UT353VLR.cjs.map} +0 -0
- /package/dist/__chunks/{DYH42LNC.cjs.map → W52D7D34.cjs.map} +0 -0
- /package/dist/__chunks/{QW2VP7ZC.cjs.map → X67IWLZJ.cjs.map} +0 -0
- /package/dist/__chunks/{IUV6O736.cjs.map → Y2AMPQUU.cjs.map} +0 -0
- /package/dist/__chunks/{6ISQTUPK.js.map → YG2IOLCC.js.map} +0 -0
- /package/dist/__chunks/{GDJNEJXE.cjs.map → YUW7GFTZ.cjs.map} +0 -0
- /package/dist/__chunks/{U56GHEMO.cjs.map → ZGI5YNKG.cjs.map} +0 -0
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./KKADUD65.js";
|
|
5
5
|
import {
|
|
6
6
|
Box_default
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./M36V23WR.js";
|
|
8
8
|
import {
|
|
9
9
|
Typography_default
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./2IXPTAJD.js";
|
|
11
11
|
import {
|
|
12
12
|
colors_module_default
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./S6TNP7G5.js";
|
|
14
14
|
import {
|
|
15
15
|
useIsHydrated
|
|
16
16
|
} from "./JB65NEXK.js";
|
|
@@ -62,7 +62,7 @@ var RadioButton = ({
|
|
|
62
62
|
{
|
|
63
63
|
className: classnames(
|
|
64
64
|
RadioButton_module_default.background,
|
|
65
|
-
error ? colors_module_default.
|
|
65
|
+
error ? colors_module_default.cambioDestructive370BackgroundColor : colors_module_default.cambioGray370BackgroundColor,
|
|
66
66
|
RadioButton_module_default[size],
|
|
67
67
|
{
|
|
68
68
|
[Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible || dangerouslyForceFocusStyles
|
|
@@ -129,4 +129,4 @@ var RadioButton_default = RadioButton;
|
|
|
129
129
|
export {
|
|
130
130
|
RadioButton_default
|
|
131
131
|
};
|
|
132
|
-
//# sourceMappingURL=
|
|
132
|
+
//# sourceMappingURL=K65WDLIC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/RadioButton/RadioButton.tsx","css-module:./RadioButton.module.css#css-module"],"sourcesContent":["import React, { type ReactElement, useState } from \"react\";\nimport classnames from \"classnames\";\n\nimport styles from \"./RadioButton.module.css\";\nimport focusStyles from \"../Focus.module.css\";\nimport Typography from \"../Typography/Typography\";\nimport useFocusVisible from \"../useFocusVisible\";\nimport useIsHydrated from \"../useIsHydrated\";\nimport colorStyles from \"../colors/colors.module.css\";\nimport Box from \"../Box/Box\";\n\n/**\n * [RadioButton](https://cambly-syntax.vercel.app/?path=/docs/components-radiobutton--docs) is a radio button with accompanying text\n */\nconst RadioButton = ({\n checked = false,\n \"data-testid\": dataTestId,\n dangerouslyForceFocusStyles = false,\n disabled: disabledProp = false,\n error = false,\n id,\n label,\n name,\n onChange,\n size = \"md\",\n value,\n}: {\n /**\n * Whether or not the radio button is checked\n *\n * @defaultValue false\n */\n checked?: boolean;\n /**\n * Test id for the radio button\n */\n \"data-testid\"?: string;\n /**\n * Whether or not the radio button is disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * Whether to show error color schema\n *\n * @defaultValue false\n */\n error?: boolean;\n /**\n * Id for the the radio button\n */\n id?: string;\n /**\n * Value to show end user\n */\n label: string;\n /**\n * The name of the grouping the radio buttons are in\n */\n name: string;\n /**\n * The callback to be called when the radio button is clicked\n */\n onChange: React.ChangeEventHandler<HTMLInputElement>;\n /**\n * Size of the components\n *\n * * `sm`: 16px\n * * `md`: 24px\n *\n * @defaultValue \"md\"\n */\n size?: \"sm\" | \"md\";\n /**\n * Value of the selected radio option\n */\n value: string | number;\n /** forces focus ring styling */\n dangerouslyForceFocusStyles?: boolean;\n}): ReactElement => {\n const isHydrated = useIsHydrated();\n const disabled = !isHydrated || disabledProp;\n const [isFocused, setIsFocused] = useState(false);\n const { isFocusVisible } = useFocusVisible();\n\n return (\n <label\n className={classnames(\n styles.radioBaseContainer,\n styles[`cursor${disabled ? \"Disabled\" : \"Enabled\"}`],\n {\n [styles.disabled]: disabled,\n [styles.smBase]: size === \"sm\",\n [styles.mdBase]: size === \"md\",\n },\n )}\n >\n <div\n className={classnames(\n styles.background,\n error\n ? colorStyles.cambioDestructive370BackgroundColor\n : colorStyles.cambioGray370BackgroundColor,\n styles[size],\n {\n [focusStyles.accessibilityOutlineFocus]:\n (isFocused && isFocusVisible) || dangerouslyForceFocusStyles,\n },\n )}\n />\n {checked && (\n <Box\n backgroundColor={error ? \"destructive900\" : \"gray900\"}\n width={size === \"md\" ? 12 : 8}\n height={size === \"md\" ? 12 : 8}\n position=\"absolute\"\n rounding=\"full\"\n dangerouslySetInlineStyle={{\n __style: {\n left: size === \"md\" ? 6 : 4,\n },\n }}\n />\n )}\n <input\n data-testid={dataTestId}\n type=\"radio\"\n id={id}\n name={name}\n className={classnames(\n styles.radioStyleOverride,\n styles[`cursor${disabled ? \"Disabled\" : \"Enabled\"}`],\n {\n [styles.smOverride]: size === \"sm\",\n [styles.mdOverride]: size === \"md\",\n },\n )}\n checked={checked}\n onChange={onChange}\n disabled={disabled}\n value={value}\n onFocus={() => {\n setIsFocused(true);\n }}\n onBlur={() => {\n setIsFocused(false);\n }}\n />\n {label && (\n <Typography\n size={size === \"md\" ? 200 : 100}\n color={error ? \"destructive-primary\" : \"gray900\"}\n >\n {label}\n </Typography>\n )}\n </label>\n );\n};\n\nexport default RadioButton;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/RadioButton/RadioButton.module.css\"; export default {\"radioBaseContainer\":\"_radioBaseContainer_6h2zg_1\",\"disabled\":\"_disabled_6h2zg_9\",\"cursorDisabled\":\"_cursorDisabled_6h2zg_13\",\"cursorEnabled\":\"_cursorEnabled_6h2zg_17\",\"smBase\":\"_smBase_6h2zg_21\",\"mdBase\":\"_mdBase_6h2zg_25\",\"radioStyleOverride\":\"_radioStyleOverride_6h2zg_29\",\"smOverride\":\"_smOverride_6h2zg_34\",\"mdOverride\":\"_mdOverride_6h2zg_39\",\"background\":\"_background_6h2zg_44\",\"sm\":\"_sm_6h2zg_21\",\"md\":\"_md_6h2zg_25\",\"neutralBorder\":\"_neutralBorder_6h2zg_61\",\"smCheckedBorder\":\"_smCheckedBorder_6h2zg_65\",\"mdCheckedBorder\":\"_mdCheckedBorder_6h2zg_69\",\"errorBorderColor\":\"_errorBorderColor_6h2zg_73\",\"borderColor\":\"_borderColor_6h2zg_77\"}"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,SAAmC,gBAAgB;AACnD,OAAO,gBAAgB;;;ACD+E,IAAO,6BAAQ,EAAC,sBAAqB,+BAA8B,YAAW,qBAAoB,kBAAiB,4BAA2B,iBAAgB,2BAA0B,UAAS,oBAAmB,UAAS,oBAAmB,sBAAqB,gCAA+B,cAAa,wBAAuB,cAAa,wBAAuB,cAAa,wBAAuB,MAAK,gBAAe,MAAK,gBAAe,iBAAgB,2BAA0B,mBAAkB,6BAA4B,mBAAkB,6BAA4B,oBAAmB,8BAA6B,eAAc,wBAAuB;;;ADuFrvB,SAWE,KAXF;AAzEJ,IAAM,cAAc,CAAC;AAAA,EACnB,UAAU;AAAA,EACV,eAAe;AAAA,EACf,8BAA8B;AAAA,EAC9B,UAAU,eAAe;AAAA,EACzB,QAAQ;AAAA,EACR;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO;AAAA,EACP;AACF,MAsDoB;AAClB,QAAM,aAAa,cAAc;AACjC,QAAM,WAAW,CAAC,cAAc;AAChC,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,KAAK;AAChD,QAAM,EAAE,eAAe,IAAI,gBAAgB;AAE3C,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,QACT,2BAAO;AAAA,QACP,2BAAO,SAAS,WAAW,aAAa,WAAW;AAAA,QAC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Q,wBAAwB;AAAA,YAEtC;AAAA;AAAA,QACH;AAAA;AAAA;AAAA,EAEJ;AAEJ;AAEA,IAAO,sBAAQ;","names":[]}
|
|
@@ -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_duy1y_2", "destructive700Color": "_destructive700Color_duy1y_6", "gray700Color": "_gray700Color_duy1y_10", "gray900Color": "_gray900Color_duy1y_14", "primary700Color": "_primary700Color_duy1y_18", "success700Color": "_success700Color_duy1y_22", "whiteColor": "_whiteColor_duy1y_26", "noBorder": "_noBorder_duy1y_31", "blackBorderColor": "_blackBorderColor_duy1y_35", "whiteBorderColor": "_whiteBorderColor_duy1y_39", "success770BorderColor": "_success770BorderColor_duy1y_43", "destructive770BorderColor": "_destructive770BorderColor_duy1y_47", "gray370BorderColor": "_gray370BorderColor_duy1y_51", "success370BorderColor": "_success370BorderColor_duy1y_55", "destructive370BorderColor": "_destructive370BorderColor_duy1y_59", "blackBackgroundColor": "_blackBackgroundColor_duy1y_65", "destructive100BackgroundColor": "_destructive100BackgroundColor_duy1y_69", "destructive200BackgroundColor": "_destructive200BackgroundColor_duy1y_73", "destructive300BackgroundColor": "_destructive300BackgroundColor_duy1y_77", "destructive700BackgroundColor": "_destructive700BackgroundColor_duy1y_81", "destructive800BackgroundColor": "_destructive800BackgroundColor_duy1y_85", "destructive900BackgroundColor": "_destructive900BackgroundColor_duy1y_89", "gray10BackgroundColor": "_gray10BackgroundColor_duy1y_93", "gray30BackgroundColor": "_gray30BackgroundColor_duy1y_97", "gray60BackgroundColor": "_gray60BackgroundColor_duy1y_101", "gray80BackgroundColor": "_gray80BackgroundColor_duy1y_105", "gray100BackgroundColor": "_gray100BackgroundColor_duy1y_109", "gray200BackgroundColor": "_gray200BackgroundColor_duy1y_113", "gray300BackgroundColor": "_gray300BackgroundColor_duy1y_117", "gray700BackgroundColor": "_gray700BackgroundColor_duy1y_121", "gray800BackgroundColor": "_gray800BackgroundColor_duy1y_125", "gray900BackgroundColor": "_gray900BackgroundColor_duy1y_129", "orange100BackgroundColor": "_orange100BackgroundColor_duy1y_133", "orange200BackgroundColor": "_orange200BackgroundColor_duy1y_137", "orange300BackgroundColor": "_orange300BackgroundColor_duy1y_141", "orange700BackgroundColor": "_orange700BackgroundColor_duy1y_145", "orange800BackgroundColor": "_orange800BackgroundColor_duy1y_149", "orange900BackgroundColor": "_orange900BackgroundColor_duy1y_153", "primary100BackgroundColor": "_primary100BackgroundColor_duy1y_157", "primary200BackgroundColor": "_primary200BackgroundColor_duy1y_161", "primary300BackgroundColor": "_primary300BackgroundColor_duy1y_165", "primary700BackgroundColor": "_primary700BackgroundColor_duy1y_169", "primary800BackgroundColor": "_primary800BackgroundColor_duy1y_173", "primary900BackgroundColor": "_primary900BackgroundColor_duy1y_177", "success100BackgroundColor": "_success100BackgroundColor_duy1y_181", "success200BackgroundColor": "_success200BackgroundColor_duy1y_185", "success300BackgroundColor": "_success300BackgroundColor_duy1y_189", "success700BackgroundColor": "_success700BackgroundColor_duy1y_193", "success800BackgroundColor": "_success800BackgroundColor_duy1y_197", "success900BackgroundColor": "_success900BackgroundColor_duy1y_201", "purple100BackgroundColor": "_purple100BackgroundColor_duy1y_205", "purple200BackgroundColor": "_purple200BackgroundColor_duy1y_209", "purple300BackgroundColor": "_purple300BackgroundColor_duy1y_213", "purple700BackgroundColor": "_purple700BackgroundColor_duy1y_217", "purple800BackgroundColor": "_purple800BackgroundColor_duy1y_221", "purple900BackgroundColor": "_purple900BackgroundColor_duy1y_225", "whiteBackgroundColor": "_whiteBackgroundColor_duy1y_229", "yellow100BackgroundColor": "_yellow100BackgroundColor_duy1y_233", "yellow200BackgroundColor": "_yellow200BackgroundColor_duy1y_237", "yellow300BackgroundColor": "_yellow300BackgroundColor_duy1y_241", "yellow700BackgroundColor": "_yellow700BackgroundColor_duy1y_245", "yellow800BackgroundColor": "_yellow800BackgroundColor_duy1y_249", "yellow900BackgroundColor": "_yellow900BackgroundColor_duy1y_253", "cambioBlackColor": "_cambioBlackColor_duy1y_258", "cambioWhiteColor": "_cambioWhiteColor_duy1y_262", "cambioGray100Color": "_cambioGray100Color_duy1y_266", "cambioGray200Color": "_cambioGray200Color_duy1y_270", "cambioGray300Color": "_cambioGray300Color_duy1y_274", "cambioGray370Color": "_cambioGray370Color_duy1y_278", "cambioGray700Color": "_cambioGray700Color_duy1y_282", "cambioGray800Color": "_cambioGray800Color_duy1y_286", "cambioGray870Color": "_cambioGray870Color_duy1y_290", "cambioGray900Color": "_cambioGray900Color_duy1y_294", "cambioDestructive100Color": "_cambioDestructive100Color_duy1y_298", "cambioDestructive300Color": "_cambioDestructive300Color_duy1y_302", "cambioDestructive370Color": "_cambioDestructive370Color_duy1y_306", "cambioDestructive700Color": "_cambioDestructive700Color_duy1y_310", "cambioDestructive770Color": "_cambioDestructive770Color_duy1y_314", "cambioDestructive900Color": "_cambioDestructive900Color_duy1y_318", "cambioSuccess100Color": "_cambioSuccess100Color_duy1y_322", "cambioSuccess300Color": "_cambioSuccess300Color_duy1y_326", "cambioSuccess370Color": "_cambioSuccess370Color_duy1y_330", "cambioSuccess700Color": "_cambioSuccess700Color_duy1y_334", "cambioSuccess770Color": "_cambioSuccess770Color_duy1y_338", "cambioSuccess900Color": "_cambioSuccess900Color_duy1y_342", "cambioRedColor": "_cambioRedColor_duy1y_346", "cambioOrangeColor": "_cambioOrangeColor_duy1y_350", "cambioTanColor": "_cambioTanColor_duy1y_354", "cambioCreamColor": "_cambioCreamColor_duy1y_358", "cambioPurpleColor": "_cambioPurpleColor_duy1y_362", "cambioLilacColor": "_cambioLilacColor_duy1y_366", "cambioThistleColor": "_cambioThistleColor_duy1y_370", "cambioPinkColor": "_cambioPinkColor_duy1y_374", "cambioNavyColor": "_cambioNavyColor_duy1y_378", "cambioTealColor": "_cambioTealColor_duy1y_382", "cambioSlateColor": "_cambioSlateColor_duy1y_386", "cambioSkyColor": "_cambioSkyColor_duy1y_390", "cambioYellow700Color": "_cambioYellow700Color_duy1y_394", "cambioTransparentFullBackgroundColor": "_cambioTransparentFullBackgroundColor_duy1y_398", "cambioBlackBackgroundColor": "_cambioBlackBackgroundColor_duy1y_402", "cambioWhiteBackgroundColor": "_cambioWhiteBackgroundColor_duy1y_406", "cambioGray100BackgroundColor": "_cambioGray100BackgroundColor_duy1y_410", "cambioGray200BackgroundColor": "_cambioGray200BackgroundColor_duy1y_414", "cambioGray300BackgroundColor": "_cambioGray300BackgroundColor_duy1y_418", "gray370BackgroundColor": "_gray370BackgroundColor_duy1y_422", "cambioGray370BackgroundColor": "_cambioGray370BackgroundColor_duy1y_426", "cambioGray700BackgroundColor": "_cambioGray700BackgroundColor_duy1y_430", "cambioGray800BackgroundColor": "_cambioGray800BackgroundColor_duy1y_434", "gray870BackgroundColor": "_gray870BackgroundColor_duy1y_438", "cambioGray870BackgroundColor": "_cambioGray870BackgroundColor_duy1y_442", "cambioGray900BackgroundColor": "_cambioGray900BackgroundColor_duy1y_446", "cambioDestructive100BackgroundColor": "_cambioDestructive100BackgroundColor_duy1y_450", "cambioDestructive300BackgroundColor": "_cambioDestructive300BackgroundColor_duy1y_454", "cambioDestructive370BackgroundColor": "_cambioDestructive370BackgroundColor_duy1y_458", "cambioDestructive700BackgroundColor": "_cambioDestructive700BackgroundColor_duy1y_462", "cambioDestructive770BackgroundColor": "_cambioDestructive770BackgroundColor_duy1y_466", "cambioDestructive900BackgroundColor": "_cambioDestructive900BackgroundColor_duy1y_470", "cambioSuccess100BackgroundColor": "_cambioSuccess100BackgroundColor_duy1y_474", "cambioSuccess300BackgroundColor": "_cambioSuccess300BackgroundColor_duy1y_478", "cambioSuccess370BackgroundColor": "_cambioSuccess370BackgroundColor_duy1y_482", "cambioSuccess700BackgroundColor": "_cambioSuccess700BackgroundColor_duy1y_486", "cambioSuccess770BackgroundColor": "_cambioSuccess770BackgroundColor_duy1y_490", "cambioSuccess900BackgroundColor": "_cambioSuccess900BackgroundColor_duy1y_494", "redBackgroundColor": "_redBackgroundColor_duy1y_498", "cambioRedBackgroundColor": "_cambioRedBackgroundColor_duy1y_502", "orangeBackgroundColor": "_orangeBackgroundColor_duy1y_506", "cambioOrangeBackgroundColor": "_cambioOrangeBackgroundColor_duy1y_510", "tanBackgroundColor": "_tanBackgroundColor_duy1y_514", "cambioTanBackgroundColor": "_cambioTanBackgroundColor_duy1y_518", "creamBackgroundColor": "_creamBackgroundColor_duy1y_522", "cambioCreamBackgroundColor": "_cambioCreamBackgroundColor_duy1y_526", "purpleBackgroundColor": "_purpleBackgroundColor_duy1y_530", "cambioPurpleBackgroundColor": "_cambioPurpleBackgroundColor_duy1y_534", "lilacBackgroundColor": "_lilacBackgroundColor_duy1y_538", "cambioLilacBackgroundColor": "_cambioLilacBackgroundColor_duy1y_542", "thistleBackgroundColor": "_thistleBackgroundColor_duy1y_546", "cambioThistleBackgroundColor": "_cambioThistleBackgroundColor_duy1y_550", "pinkBackgroundColor": "_pinkBackgroundColor_duy1y_554", "cambioPinkBackgroundColor": "_cambioPinkBackgroundColor_duy1y_558", "navyBackgroundColor": "_navyBackgroundColor_duy1y_562", "cambioNavyBackgroundColor": "_cambioNavyBackgroundColor_duy1y_566", "tealBackgroundColor": "_tealBackgroundColor_duy1y_570", "cambioTealBackgroundColor": "_cambioTealBackgroundColor_duy1y_574", "slateBackgroundColor": "_slateBackgroundColor_duy1y_578", "cambioSlateBackgroundColor": "_cambioSlateBackgroundColor_duy1y_582", "skyBackgroundColor": "_skyBackgroundColor_duy1y_586", "cambioSkyBackgroundColor": "_cambioSkyBackgroundColor_duy1y_590", "cambioYellow700BackgroundColor": "_cambioYellow700BackgroundColor_duy1y_594" };
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
exports.colors_module_default = colors_module_default;
|
|
9
|
+
//# sourceMappingURL=KZT53ITQ.cjs.map
|
|
@@ -0,0 +1 @@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sB,kCAAiC,6BAA4B,wCAAuC,wBAAuB,mCAAkC,8BAA6B,yCAAwC,sBAAqB,iCAAgC,4BAA2B,uCAAsC,kCAAiC,4CAA2C","sourcesContent":["import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"inheritColor\":\"_inheritColor_duy1y_2\",\"destructive700Color\":\"_destructive700Color_duy1y_6\",\"gray700Color\":\"_gray700Color_duy1y_10\",\"gray900Color\":\"_gray900Color_duy1y_14\",\"primary700Color\":\"_primary700Color_duy1y_18\",\"success700Color\":\"_success700Color_duy1y_22\",\"whiteColor\":\"_whiteColor_duy1y_26\",\"noBorder\":\"_noBorder_duy1y_31\",\"blackBorderColor\":\"_blackBorderColor_duy1y_35\",\"whiteBorderColor\":\"_whiteBorderColor_duy1y_39\",\"success770BorderColor\":\"_success770BorderColor_duy1y_43\",\"destructive770BorderColor\":\"_destructive770BorderColor_duy1y_47\",\"gray370BorderColor\":\"_gray370BorderColor_duy1y_51\",\"success370BorderColor\":\"_success370BorderColor_duy1y_55\",\"destructive370BorderColor\":\"_destructive370BorderColor_duy1y_59\",\"blackBackgroundColor\":\"_blackBackgroundColor_duy1y_65\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_duy1y_69\",\"destructive200BackgroundColor\":\"_destructive200BackgroundColor_duy1y_73\",\"destructive300BackgroundColor\":\"_destructive300BackgroundColor_duy1y_77\",\"destructive700BackgroundColor\":\"_destructive700BackgroundColor_duy1y_81\",\"destructive800BackgroundColor\":\"_destructive800BackgroundColor_duy1y_85\",\"destructive900BackgroundColor\":\"_destructive900BackgroundColor_duy1y_89\",\"gray10BackgroundColor\":\"_gray10BackgroundColor_duy1y_93\",\"gray30BackgroundColor\":\"_gray30BackgroundColor_duy1y_97\",\"gray60BackgroundColor\":\"_gray60BackgroundColor_duy1y_101\",\"gray80BackgroundColor\":\"_gray80BackgroundColor_duy1y_105\",\"gray100BackgroundColor\":\"_gray100BackgroundColor_duy1y_109\",\"gray200BackgroundColor\":\"_gray200BackgroundColor_duy1y_113\",\"gray300BackgroundColor\":\"_gray300BackgroundColor_duy1y_117\",\"gray700BackgroundColor\":\"_gray700BackgroundColor_duy1y_121\",\"gray800BackgroundColor\":\"_gray800BackgroundColor_duy1y_125\",\"gray900BackgroundColor\":\"_gray900BackgroundColor_duy1y_129\",\"orange100BackgroundColor\":\"_orange100BackgroundColor_duy1y_133\",\"orange200BackgroundColor\":\"_orange200BackgroundColor_duy1y_137\",\"orange300BackgroundColor\":\"_orange300BackgroundColor_duy1y_141\",\"orange700BackgroundColor\":\"_orange700BackgroundColor_duy1y_145\",\"orange800BackgroundColor\":\"_orange800BackgroundColor_duy1y_149\",\"orange900BackgroundColor\":\"_orange900BackgroundColor_duy1y_153\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_duy1y_157\",\"primary200BackgroundColor\":\"_primary200BackgroundColor_duy1y_161\",\"primary300BackgroundColor\":\"_primary300BackgroundColor_duy1y_165\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_duy1y_169\",\"primary800BackgroundColor\":\"_primary800BackgroundColor_duy1y_173\",\"primary900BackgroundColor\":\"_primary900BackgroundColor_duy1y_177\",\"success100BackgroundColor\":\"_success100BackgroundColor_duy1y_181\",\"success200BackgroundColor\":\"_success200BackgroundColor_duy1y_185\",\"success300BackgroundColor\":\"_success300BackgroundColor_duy1y_189\",\"success700BackgroundColor\":\"_success700BackgroundColor_duy1y_193\",\"success800BackgroundColor\":\"_success800BackgroundColor_duy1y_197\",\"success900BackgroundColor\":\"_success900BackgroundColor_duy1y_201\",\"purple100BackgroundColor\":\"_purple100BackgroundColor_duy1y_205\",\"purple200BackgroundColor\":\"_purple200BackgroundColor_duy1y_209\",\"purple300BackgroundColor\":\"_purple300BackgroundColor_duy1y_213\",\"purple700BackgroundColor\":\"_purple700BackgroundColor_duy1y_217\",\"purple800BackgroundColor\":\"_purple800BackgroundColor_duy1y_221\",\"purple900BackgroundColor\":\"_purple900BackgroundColor_duy1y_225\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_duy1y_229\",\"yellow100BackgroundColor\":\"_yellow100BackgroundColor_duy1y_233\",\"yellow200BackgroundColor\":\"_yellow200BackgroundColor_duy1y_237\",\"yellow300BackgroundColor\":\"_yellow300BackgroundColor_duy1y_241\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_duy1y_245\",\"yellow800BackgroundColor\":\"_yellow800BackgroundColor_duy1y_249\",\"yellow900BackgroundColor\":\"_yellow900BackgroundColor_duy1y_253\",\"cambioBlackColor\":\"_cambioBlackColor_duy1y_258\",\"cambioWhiteColor\":\"_cambioWhiteColor_duy1y_262\",\"cambioGray100Color\":\"_cambioGray100Color_duy1y_266\",\"cambioGray200Color\":\"_cambioGray200Color_duy1y_270\",\"cambioGray300Color\":\"_cambioGray300Color_duy1y_274\",\"cambioGray370Color\":\"_cambioGray370Color_duy1y_278\",\"cambioGray700Color\":\"_cambioGray700Color_duy1y_282\",\"cambioGray800Color\":\"_cambioGray800Color_duy1y_286\",\"cambioGray870Color\":\"_cambioGray870Color_duy1y_290\",\"cambioGray900Color\":\"_cambioGray900Color_duy1y_294\",\"cambioDestructive100Color\":\"_cambioDestructive100Color_duy1y_298\",\"cambioDestructive300Color\":\"_cambioDestructive300Color_duy1y_302\",\"cambioDestructive370Color\":\"_cambioDestructive370Color_duy1y_306\",\"cambioDestructive700Color\":\"_cambioDestructive700Color_duy1y_310\",\"cambioDestructive770Color\":\"_cambioDestructive770Color_duy1y_314\",\"cambioDestructive900Color\":\"_cambioDestructive900Color_duy1y_318\",\"cambioSuccess100Color\":\"_cambioSuccess100Color_duy1y_322\",\"cambioSuccess300Color\":\"_cambioSuccess300Color_duy1y_326\",\"cambioSuccess370Color\":\"_cambioSuccess370Color_duy1y_330\",\"cambioSuccess700Color\":\"_cambioSuccess700Color_duy1y_334\",\"cambioSuccess770Color\":\"_cambioSuccess770Color_duy1y_338\",\"cambioSuccess900Color\":\"_cambioSuccess900Color_duy1y_342\",\"cambioRedColor\":\"_cambioRedColor_duy1y_346\",\"cambioOrangeColor\":\"_cambioOrangeColor_duy1y_350\",\"cambioTanColor\":\"_cambioTanColor_duy1y_354\",\"cambioCreamColor\":\"_cambioCreamColor_duy1y_358\",\"cambioPurpleColor\":\"_cambioPurpleColor_duy1y_362\",\"cambioLilacColor\":\"_cambioLilacColor_duy1y_366\",\"cambioThistleColor\":\"_cambioThistleColor_duy1y_370\",\"cambioPinkColor\":\"_cambioPinkColor_duy1y_374\",\"cambioNavyColor\":\"_cambioNavyColor_duy1y_378\",\"cambioTealColor\":\"_cambioTealColor_duy1y_382\",\"cambioSlateColor\":\"_cambioSlateColor_duy1y_386\",\"cambioSkyColor\":\"_cambioSkyColor_duy1y_390\",\"cambioYellow700Color\":\"_cambioYellow700Color_duy1y_394\",\"cambioTransparentFullBackgroundColor\":\"_cambioTransparentFullBackgroundColor_duy1y_398\",\"cambioBlackBackgroundColor\":\"_cambioBlackBackgroundColor_duy1y_402\",\"cambioWhiteBackgroundColor\":\"_cambioWhiteBackgroundColor_duy1y_406\",\"cambioGray100BackgroundColor\":\"_cambioGray100BackgroundColor_duy1y_410\",\"cambioGray200BackgroundColor\":\"_cambioGray200BackgroundColor_duy1y_414\",\"cambioGray300BackgroundColor\":\"_cambioGray300BackgroundColor_duy1y_418\",\"gray370BackgroundColor\":\"_gray370BackgroundColor_duy1y_422\",\"cambioGray370BackgroundColor\":\"_cambioGray370BackgroundColor_duy1y_426\",\"cambioGray700BackgroundColor\":\"_cambioGray700BackgroundColor_duy1y_430\",\"cambioGray800BackgroundColor\":\"_cambioGray800BackgroundColor_duy1y_434\",\"gray870BackgroundColor\":\"_gray870BackgroundColor_duy1y_438\",\"cambioGray870BackgroundColor\":\"_cambioGray870BackgroundColor_duy1y_442\",\"cambioGray900BackgroundColor\":\"_cambioGray900BackgroundColor_duy1y_446\",\"cambioDestructive100BackgroundColor\":\"_cambioDestructive100BackgroundColor_duy1y_450\",\"cambioDestructive300BackgroundColor\":\"_cambioDestructive300BackgroundColor_duy1y_454\",\"cambioDestructive370BackgroundColor\":\"_cambioDestructive370BackgroundColor_duy1y_458\",\"cambioDestructive700BackgroundColor\":\"_cambioDestructive700BackgroundColor_duy1y_462\",\"cambioDestructive770BackgroundColor\":\"_cambioDestructive770BackgroundColor_duy1y_466\",\"cambioDestructive900BackgroundColor\":\"_cambioDestructive900BackgroundColor_duy1y_470\",\"cambioSuccess100BackgroundColor\":\"_cambioSuccess100BackgroundColor_duy1y_474\",\"cambioSuccess300BackgroundColor\":\"_cambioSuccess300BackgroundColor_duy1y_478\",\"cambioSuccess370BackgroundColor\":\"_cambioSuccess370BackgroundColor_duy1y_482\",\"cambioSuccess700BackgroundColor\":\"_cambioSuccess700BackgroundColor_duy1y_486\",\"cambioSuccess770BackgroundColor\":\"_cambioSuccess770BackgroundColor_duy1y_490\",\"cambioSuccess900BackgroundColor\":\"_cambioSuccess900BackgroundColor_duy1y_494\",\"redBackgroundColor\":\"_redBackgroundColor_duy1y_498\",\"cambioRedBackgroundColor\":\"_cambioRedBackgroundColor_duy1y_502\",\"orangeBackgroundColor\":\"_orangeBackgroundColor_duy1y_506\",\"cambioOrangeBackgroundColor\":\"_cambioOrangeBackgroundColor_duy1y_510\",\"tanBackgroundColor\":\"_tanBackgroundColor_duy1y_514\",\"cambioTanBackgroundColor\":\"_cambioTanBackgroundColor_duy1y_518\",\"creamBackgroundColor\":\"_creamBackgroundColor_duy1y_522\",\"cambioCreamBackgroundColor\":\"_cambioCreamBackgroundColor_duy1y_526\",\"purpleBackgroundColor\":\"_purpleBackgroundColor_duy1y_530\",\"cambioPurpleBackgroundColor\":\"_cambioPurpleBackgroundColor_duy1y_534\",\"lilacBackgroundColor\":\"_lilacBackgroundColor_duy1y_538\",\"cambioLilacBackgroundColor\":\"_cambioLilacBackgroundColor_duy1y_542\",\"thistleBackgroundColor\":\"_thistleBackgroundColor_duy1y_546\",\"cambioThistleBackgroundColor\":\"_cambioThistleBackgroundColor_duy1y_550\",\"pinkBackgroundColor\":\"_pinkBackgroundColor_duy1y_554\",\"cambioPinkBackgroundColor\":\"_cambioPinkBackgroundColor_duy1y_558\",\"navyBackgroundColor\":\"_navyBackgroundColor_duy1y_562\",\"cambioNavyBackgroundColor\":\"_cambioNavyBackgroundColor_duy1y_566\",\"tealBackgroundColor\":\"_tealBackgroundColor_duy1y_570\",\"cambioTealBackgroundColor\":\"_cambioTealBackgroundColor_duy1y_574\",\"slateBackgroundColor\":\"_slateBackgroundColor_duy1y_578\",\"cambioSlateBackgroundColor\":\"_cambioSlateBackgroundColor_duy1y_582\",\"skyBackgroundColor\":\"_skyBackgroundColor_duy1y_586\",\"cambioSkyBackgroundColor\":\"_cambioSkyBackgroundColor_duy1y_590\",\"cambioYellow700BackgroundColor\":\"_cambioYellow700BackgroundColor_duy1y_594\"}"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import {
|
|
3
3
|
Box_default
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./M36V23WR.js";
|
|
5
5
|
import {
|
|
6
6
|
Typography_default
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./2IXPTAJD.js";
|
|
8
8
|
import {
|
|
9
9
|
useIsHydrated
|
|
10
10
|
} from "./JB65NEXK.js";
|
|
@@ -83,4 +83,4 @@ function TextField({
|
|
|
83
83
|
export {
|
|
84
84
|
TextField
|
|
85
85
|
};
|
|
86
|
-
//# sourceMappingURL=
|
|
86
|
+
//# sourceMappingURL=LDHALTXE.js.map
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
ColorBaseDestructive700,
|
|
7
7
|
ColorBaseGray800
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./WBVMCGHT.js";
|
|
9
9
|
import {
|
|
10
10
|
Focus_module_default
|
|
11
11
|
} from "./KKADUD65.js";
|
|
12
12
|
import {
|
|
13
13
|
Box_default
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./M36V23WR.js";
|
|
15
15
|
import {
|
|
16
16
|
Typography_default
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./2IXPTAJD.js";
|
|
18
18
|
import {
|
|
19
19
|
useIsHydrated
|
|
20
20
|
} from "./JB65NEXK.js";
|
|
@@ -122,4 +122,4 @@ SelectList.Option = SelectOption_default;
|
|
|
122
122
|
export {
|
|
123
123
|
SelectList
|
|
124
124
|
};
|
|
125
|
-
//# sourceMappingURL=
|
|
125
|
+
//# sourceMappingURL=LTSX5P7G.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./KBIW5XV4.js";
|
|
5
5
|
import {
|
|
6
6
|
colors_module_default
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./S6TNP7G5.js";
|
|
8
8
|
import {
|
|
9
9
|
__objRest,
|
|
10
10
|
__spreadProps,
|
|
@@ -233,4 +233,4 @@ var Box_default = Box;
|
|
|
233
233
|
export {
|
|
234
234
|
Box_default
|
|
235
235
|
};
|
|
236
|
-
//# sourceMappingURL=
|
|
236
|
+
//# sourceMappingURL=M36V23WR.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import {
|
|
3
3
|
foregroundColor
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./UVQS6LU3.js";
|
|
5
5
|
import {
|
|
6
6
|
border
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ECA33JJ5.js";
|
|
8
8
|
import {
|
|
9
9
|
backgroundColor
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./T6PXFSRX.js";
|
|
11
11
|
import {
|
|
12
12
|
useIsHydrated
|
|
13
13
|
} from "./JB65NEXK.js";
|
|
@@ -69,4 +69,4 @@ var IconButton_default = IconButton;
|
|
|
69
69
|
export {
|
|
70
70
|
IconButton_default
|
|
71
71
|
};
|
|
72
|
-
//# sourceMappingURL=
|
|
72
|
+
//# sourceMappingURL=MEOMWLNG.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client"
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _KZT53ITQcjs = require('./KZT53ITQ.cjs');
|
|
5
5
|
|
|
6
6
|
// src/colors/foregroundColor.ts
|
|
7
7
|
function foregroundColor(color, on) {
|
|
@@ -10,33 +10,33 @@ function foregroundColor(color, on) {
|
|
|
10
10
|
case "primary":
|
|
11
11
|
case "success-primary":
|
|
12
12
|
case "destructive-primary":
|
|
13
|
-
return
|
|
13
|
+
return _KZT53ITQcjs.colors_module_default.cambioWhiteColor;
|
|
14
14
|
case "success-secondary":
|
|
15
15
|
case "success-tertiary":
|
|
16
|
-
return
|
|
16
|
+
return _KZT53ITQcjs.colors_module_default.cambioSuccess700Color;
|
|
17
17
|
case "destructive-secondary":
|
|
18
18
|
case "destructive-tertiary":
|
|
19
|
-
return
|
|
19
|
+
return _KZT53ITQcjs.colors_module_default.cambioDestructive700Color;
|
|
20
20
|
default:
|
|
21
|
-
return
|
|
21
|
+
return _KZT53ITQcjs.colors_module_default.cambioBlackColor;
|
|
22
22
|
}
|
|
23
23
|
} else {
|
|
24
24
|
switch (color) {
|
|
25
25
|
case "primary":
|
|
26
26
|
case "success-primary":
|
|
27
27
|
case "destructive-primary":
|
|
28
|
-
return
|
|
28
|
+
return _KZT53ITQcjs.colors_module_default.cambioBlackColor;
|
|
29
29
|
case "secondary":
|
|
30
30
|
case "tertiary":
|
|
31
|
-
return
|
|
31
|
+
return _KZT53ITQcjs.colors_module_default.cambioWhiteColor;
|
|
32
32
|
case "success-secondary":
|
|
33
33
|
case "success-tertiary":
|
|
34
|
-
return
|
|
34
|
+
return _KZT53ITQcjs.colors_module_default.cambioSuccess300Color;
|
|
35
35
|
case "destructive-secondary":
|
|
36
36
|
case "destructive-tertiary":
|
|
37
|
-
return
|
|
37
|
+
return _KZT53ITQcjs.colors_module_default.cambioDestructive300Color;
|
|
38
38
|
default:
|
|
39
|
-
return
|
|
39
|
+
return _KZT53ITQcjs.colors_module_default.cambioBlackColor;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -44,4 +44,4 @@ function foregroundColor(color, on) {
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
exports.foregroundColor = foregroundColor;
|
|
47
|
-
//# sourceMappingURL=
|
|
47
|
+
//# sourceMappingURL=MKZONAGT.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/colors/foregroundColor.ts"],"names":[],"mappings":";;;;;;AAGO,SAAS,gBACd,OACA,IACQ;AACR,MAAI,OAAO,mBAAmB;AAC5B,YAAQ,OAAO;AAAA,MACb,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB;AACE,eAAO,sBAAO;AAAA,IAClB;AAAA,EACF,OAAO;AACL,YAAQ,OAAO;AAAA,MACb,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB;AACE,eAAO,sBAAO;AAAA,IAClB;AAAA,EACF;AACF","sourcesContent":["import { type Color } from \"../constants\";\nimport styles from \"./colors.module.css\";\n\nexport function foregroundColor(\n color: (typeof Color)[number],\n on: \"lightBackground\" | \"darkBackground\",\n): string {\n if (on === \"lightBackground\") {\n switch (color) {\n case \"primary\":\n case \"success-primary\":\n case \"destructive-primary\":\n return styles.
|
|
1
|
+
{"version":3,"sources":["../../src/colors/foregroundColor.ts"],"names":[],"mappings":";;;;;;AAGO,SAAS,gBACd,OACA,IACQ;AACR,MAAI,OAAO,mBAAmB;AAC5B,YAAQ,OAAO;AAAA,MACb,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB;AACE,eAAO,sBAAO;AAAA,IAClB;AAAA,EACF,OAAO;AACL,YAAQ,OAAO;AAAA,MACb,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB;AACE,eAAO,sBAAO;AAAA,IAClB;AAAA,EACF;AACF","sourcesContent":["import { type Color } from \"../constants\";\nimport styles from \"./colors.module.css\";\n\nexport function foregroundColor(\n color: (typeof Color)[number],\n on: \"lightBackground\" | \"darkBackground\",\n): string {\n if (on === \"lightBackground\") {\n switch (color) {\n case \"primary\":\n case \"success-primary\":\n case \"destructive-primary\":\n return styles.cambioWhiteColor;\n case \"success-secondary\":\n case \"success-tertiary\":\n return styles.cambioSuccess700Color;\n case \"destructive-secondary\":\n case \"destructive-tertiary\":\n return styles.cambioDestructive700Color;\n default:\n return styles.cambioBlackColor;\n }\n } else {\n switch (color) {\n case \"primary\":\n case \"success-primary\":\n case \"destructive-primary\":\n return styles.cambioBlackColor;\n case \"secondary\":\n case \"tertiary\":\n return styles.cambioWhiteColor;\n case \"success-secondary\":\n case \"success-tertiary\":\n return styles.cambioSuccess300Color;\n case \"destructive-secondary\":\n case \"destructive-tertiary\":\n return styles.cambioDestructive300Color;\n default: // branded\n return styles.cambioBlackColor;\n }\n }\n}\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use client"
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _FESAFV44cjs = require('./FESAFV44.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _XCGRNBQHcjs = require('./XCGRNBQH.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _K4AUV2VKcjs = require('./K4AUV2VK.cjs');
|
|
@@ -40,7 +40,7 @@ var TextArea = _react.forwardRef.call(void 0,
|
|
|
40
40
|
const reactId = _react.useId.call(void 0, );
|
|
41
41
|
const inputId = id != null ? id : reactId;
|
|
42
42
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
43
|
-
|
|
43
|
+
_FESAFV44cjs.Box_default,
|
|
44
44
|
{
|
|
45
45
|
display: "flex",
|
|
46
46
|
direction: "column",
|
|
@@ -53,8 +53,8 @@ var TextArea = _react.forwardRef.call(void 0,
|
|
|
53
53
|
},
|
|
54
54
|
position: "relative",
|
|
55
55
|
children: [
|
|
56
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { className: TextField_module_default.label, htmlFor: inputId, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
57
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
56
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { className: TextField_module_default.label, htmlFor: inputId, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _FESAFV44cjs.Box_default, { paddingX: 1, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _XCGRNBQHcjs.Typography_default, { size: 100, color: "gray700", children: label }) }) }),
|
|
57
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _XCGRNBQHcjs.Typography_default, { size: 100, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
58
58
|
"textarea",
|
|
59
59
|
{
|
|
60
60
|
"data-testid": dataTestId,
|
|
@@ -71,8 +71,8 @@ var TextArea = _react.forwardRef.call(void 0,
|
|
|
71
71
|
disabled
|
|
72
72
|
}
|
|
73
73
|
) }),
|
|
74
|
-
(helperText || errorText) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
75
|
-
|
|
74
|
+
(helperText || errorText) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _FESAFV44cjs.Box_default, { paddingX: 1, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
75
|
+
_XCGRNBQHcjs.Typography_default,
|
|
76
76
|
{
|
|
77
77
|
size: 100,
|
|
78
78
|
color: errorText ? "destructive-primary" : "gray700",
|
|
@@ -89,4 +89,4 @@ var TextArea_default = TextArea;
|
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
exports.TextArea_default = TextArea_default;
|
|
92
|
-
//# sourceMappingURL=
|
|
92
|
+
//# sourceMappingURL=MOJ335LT.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"names":[],"mappings":";;;AASO,IAAM,0BAA0B;AAWhC,IAAM,mBAAmB","sourcesContent":["/**\n * Do not edit directly\n * Generated on
|
|
1
|
+
{"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"names":[],"mappings":";;;AASO,IAAM,0BAA0B;AAWhC,IAAM,mBAAmB","sourcesContent":["/**\n * Do not edit directly\n * Generated on Wed, 17 Apr 2024 02:42:45 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 ColorCambioWhite = \"#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"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import {
|
|
3
3
|
Box_default
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./M36V23WR.js";
|
|
5
5
|
|
|
6
6
|
// src/Modal/Layer.tsx
|
|
7
7
|
import { createPortal } from "react-dom";
|
|
@@ -29,4 +29,4 @@ function Layer({
|
|
|
29
29
|
export {
|
|
30
30
|
Layer
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=
|
|
32
|
+
//# sourceMappingURL=NMX5UDLV.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client"
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _FESAFV44cjs = require('./FESAFV44.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _XCGRNBQHcjs = require('./XCGRNBQH.cjs');
|
|
8
8
|
|
|
9
9
|
// css-module:./Badge.module.css#css-module
|
|
10
10
|
var Badge_module_default = { "icon": "_icon_1g9xb_1" };
|
|
@@ -33,7 +33,7 @@ var Badge = ({
|
|
|
33
33
|
color = "sky"
|
|
34
34
|
}) => {
|
|
35
35
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36
|
-
|
|
36
|
+
_FESAFV44cjs.Box_default,
|
|
37
37
|
{
|
|
38
38
|
display: "inlineFlex",
|
|
39
39
|
paddingX: 2,
|
|
@@ -43,15 +43,15 @@ var Badge = ({
|
|
|
43
43
|
justifyContent: "center",
|
|
44
44
|
minHeight: 24,
|
|
45
45
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
46
|
-
|
|
46
|
+
_XCGRNBQHcjs.Typography_default,
|
|
47
47
|
{
|
|
48
48
|
size: 100,
|
|
49
49
|
weight: "medium",
|
|
50
50
|
color: textColorForBackgroundColor(color),
|
|
51
|
-
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
51
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _FESAFV44cjs.Box_default, { display: "flex", gap: 1, alignItems: "center", justifyContent: "start", children: [
|
|
52
52
|
Icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: Badge_module_default.icon }),
|
|
53
53
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
54
|
-
|
|
54
|
+
_XCGRNBQHcjs.Typography_default,
|
|
55
55
|
{
|
|
56
56
|
color: textColorForBackgroundColor(color),
|
|
57
57
|
size: 100,
|
|
@@ -70,4 +70,4 @@ var Badge_default = Badge;
|
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
exports.Badge_default = Badge_default;
|
|
73
|
-
//# sourceMappingURL=
|
|
73
|
+
//# sourceMappingURL=OUH7XWQR.cjs.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use client"
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _MKZONAGTcjs = require('./MKZONAGT.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _C3KZXHTVcjs = require('./C3KZXHTV.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _RAL6R27Scjs = require('./RAL6R27S.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _K4AUV2VKcjs = require('./K4AUV2VK.cjs');
|
|
@@ -39,8 +39,8 @@ var IconButton = _react.forwardRef.call(void 0,
|
|
|
39
39
|
onClick
|
|
40
40
|
}, ref) => {
|
|
41
41
|
const isHydrated = _K4AUV2VKcjs.useIsHydrated.call(void 0, );
|
|
42
|
-
const foregroundColorClass =
|
|
43
|
-
const backgroundColorClass =
|
|
42
|
+
const foregroundColorClass = _MKZONAGTcjs.foregroundColor.call(void 0, color, on);
|
|
43
|
+
const backgroundColorClass = _RAL6R27Scjs.backgroundColor.call(void 0, color, on);
|
|
44
44
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
45
45
|
"button",
|
|
46
46
|
{
|
|
@@ -54,7 +54,7 @@ var IconButton = _react.forwardRef.call(void 0,
|
|
|
54
54
|
IconButton_module_default.iconButton,
|
|
55
55
|
foregroundColorClass,
|
|
56
56
|
backgroundColorClass,
|
|
57
|
-
|
|
57
|
+
_C3KZXHTVcjs.border.call(void 0, color, on),
|
|
58
58
|
IconButton_module_default[size]
|
|
59
59
|
),
|
|
60
60
|
ref,
|
|
@@ -69,4 +69,4 @@ var IconButton_default = IconButton;
|
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
exports.IconButton_default = IconButton_default;
|
|
72
|
-
//# sourceMappingURL=
|
|
72
|
+
//# sourceMappingURL=PROA22UK.cjs.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
// css-module:./colors.module.css#css-module
|
|
4
|
+
var colors_module_default = { "inheritColor": "_inheritColor_duy1y_2", "destructive700Color": "_destructive700Color_duy1y_6", "gray700Color": "_gray700Color_duy1y_10", "gray900Color": "_gray900Color_duy1y_14", "primary700Color": "_primary700Color_duy1y_18", "success700Color": "_success700Color_duy1y_22", "whiteColor": "_whiteColor_duy1y_26", "noBorder": "_noBorder_duy1y_31", "blackBorderColor": "_blackBorderColor_duy1y_35", "whiteBorderColor": "_whiteBorderColor_duy1y_39", "success770BorderColor": "_success770BorderColor_duy1y_43", "destructive770BorderColor": "_destructive770BorderColor_duy1y_47", "gray370BorderColor": "_gray370BorderColor_duy1y_51", "success370BorderColor": "_success370BorderColor_duy1y_55", "destructive370BorderColor": "_destructive370BorderColor_duy1y_59", "blackBackgroundColor": "_blackBackgroundColor_duy1y_65", "destructive100BackgroundColor": "_destructive100BackgroundColor_duy1y_69", "destructive200BackgroundColor": "_destructive200BackgroundColor_duy1y_73", "destructive300BackgroundColor": "_destructive300BackgroundColor_duy1y_77", "destructive700BackgroundColor": "_destructive700BackgroundColor_duy1y_81", "destructive800BackgroundColor": "_destructive800BackgroundColor_duy1y_85", "destructive900BackgroundColor": "_destructive900BackgroundColor_duy1y_89", "gray10BackgroundColor": "_gray10BackgroundColor_duy1y_93", "gray30BackgroundColor": "_gray30BackgroundColor_duy1y_97", "gray60BackgroundColor": "_gray60BackgroundColor_duy1y_101", "gray80BackgroundColor": "_gray80BackgroundColor_duy1y_105", "gray100BackgroundColor": "_gray100BackgroundColor_duy1y_109", "gray200BackgroundColor": "_gray200BackgroundColor_duy1y_113", "gray300BackgroundColor": "_gray300BackgroundColor_duy1y_117", "gray700BackgroundColor": "_gray700BackgroundColor_duy1y_121", "gray800BackgroundColor": "_gray800BackgroundColor_duy1y_125", "gray900BackgroundColor": "_gray900BackgroundColor_duy1y_129", "orange100BackgroundColor": "_orange100BackgroundColor_duy1y_133", "orange200BackgroundColor": "_orange200BackgroundColor_duy1y_137", "orange300BackgroundColor": "_orange300BackgroundColor_duy1y_141", "orange700BackgroundColor": "_orange700BackgroundColor_duy1y_145", "orange800BackgroundColor": "_orange800BackgroundColor_duy1y_149", "orange900BackgroundColor": "_orange900BackgroundColor_duy1y_153", "primary100BackgroundColor": "_primary100BackgroundColor_duy1y_157", "primary200BackgroundColor": "_primary200BackgroundColor_duy1y_161", "primary300BackgroundColor": "_primary300BackgroundColor_duy1y_165", "primary700BackgroundColor": "_primary700BackgroundColor_duy1y_169", "primary800BackgroundColor": "_primary800BackgroundColor_duy1y_173", "primary900BackgroundColor": "_primary900BackgroundColor_duy1y_177", "success100BackgroundColor": "_success100BackgroundColor_duy1y_181", "success200BackgroundColor": "_success200BackgroundColor_duy1y_185", "success300BackgroundColor": "_success300BackgroundColor_duy1y_189", "success700BackgroundColor": "_success700BackgroundColor_duy1y_193", "success800BackgroundColor": "_success800BackgroundColor_duy1y_197", "success900BackgroundColor": "_success900BackgroundColor_duy1y_201", "purple100BackgroundColor": "_purple100BackgroundColor_duy1y_205", "purple200BackgroundColor": "_purple200BackgroundColor_duy1y_209", "purple300BackgroundColor": "_purple300BackgroundColor_duy1y_213", "purple700BackgroundColor": "_purple700BackgroundColor_duy1y_217", "purple800BackgroundColor": "_purple800BackgroundColor_duy1y_221", "purple900BackgroundColor": "_purple900BackgroundColor_duy1y_225", "whiteBackgroundColor": "_whiteBackgroundColor_duy1y_229", "yellow100BackgroundColor": "_yellow100BackgroundColor_duy1y_233", "yellow200BackgroundColor": "_yellow200BackgroundColor_duy1y_237", "yellow300BackgroundColor": "_yellow300BackgroundColor_duy1y_241", "yellow700BackgroundColor": "_yellow700BackgroundColor_duy1y_245", "yellow800BackgroundColor": "_yellow800BackgroundColor_duy1y_249", "yellow900BackgroundColor": "_yellow900BackgroundColor_duy1y_253", "cambioBlackColor": "_cambioBlackColor_duy1y_258", "cambioWhiteColor": "_cambioWhiteColor_duy1y_262", "cambioGray100Color": "_cambioGray100Color_duy1y_266", "cambioGray200Color": "_cambioGray200Color_duy1y_270", "cambioGray300Color": "_cambioGray300Color_duy1y_274", "cambioGray370Color": "_cambioGray370Color_duy1y_278", "cambioGray700Color": "_cambioGray700Color_duy1y_282", "cambioGray800Color": "_cambioGray800Color_duy1y_286", "cambioGray870Color": "_cambioGray870Color_duy1y_290", "cambioGray900Color": "_cambioGray900Color_duy1y_294", "cambioDestructive100Color": "_cambioDestructive100Color_duy1y_298", "cambioDestructive300Color": "_cambioDestructive300Color_duy1y_302", "cambioDestructive370Color": "_cambioDestructive370Color_duy1y_306", "cambioDestructive700Color": "_cambioDestructive700Color_duy1y_310", "cambioDestructive770Color": "_cambioDestructive770Color_duy1y_314", "cambioDestructive900Color": "_cambioDestructive900Color_duy1y_318", "cambioSuccess100Color": "_cambioSuccess100Color_duy1y_322", "cambioSuccess300Color": "_cambioSuccess300Color_duy1y_326", "cambioSuccess370Color": "_cambioSuccess370Color_duy1y_330", "cambioSuccess700Color": "_cambioSuccess700Color_duy1y_334", "cambioSuccess770Color": "_cambioSuccess770Color_duy1y_338", "cambioSuccess900Color": "_cambioSuccess900Color_duy1y_342", "cambioRedColor": "_cambioRedColor_duy1y_346", "cambioOrangeColor": "_cambioOrangeColor_duy1y_350", "cambioTanColor": "_cambioTanColor_duy1y_354", "cambioCreamColor": "_cambioCreamColor_duy1y_358", "cambioPurpleColor": "_cambioPurpleColor_duy1y_362", "cambioLilacColor": "_cambioLilacColor_duy1y_366", "cambioThistleColor": "_cambioThistleColor_duy1y_370", "cambioPinkColor": "_cambioPinkColor_duy1y_374", "cambioNavyColor": "_cambioNavyColor_duy1y_378", "cambioTealColor": "_cambioTealColor_duy1y_382", "cambioSlateColor": "_cambioSlateColor_duy1y_386", "cambioSkyColor": "_cambioSkyColor_duy1y_390", "cambioYellow700Color": "_cambioYellow700Color_duy1y_394", "cambioTransparentFullBackgroundColor": "_cambioTransparentFullBackgroundColor_duy1y_398", "cambioBlackBackgroundColor": "_cambioBlackBackgroundColor_duy1y_402", "cambioWhiteBackgroundColor": "_cambioWhiteBackgroundColor_duy1y_406", "cambioGray100BackgroundColor": "_cambioGray100BackgroundColor_duy1y_410", "cambioGray200BackgroundColor": "_cambioGray200BackgroundColor_duy1y_414", "cambioGray300BackgroundColor": "_cambioGray300BackgroundColor_duy1y_418", "gray370BackgroundColor": "_gray370BackgroundColor_duy1y_422", "cambioGray370BackgroundColor": "_cambioGray370BackgroundColor_duy1y_426", "cambioGray700BackgroundColor": "_cambioGray700BackgroundColor_duy1y_430", "cambioGray800BackgroundColor": "_cambioGray800BackgroundColor_duy1y_434", "gray870BackgroundColor": "_gray870BackgroundColor_duy1y_438", "cambioGray870BackgroundColor": "_cambioGray870BackgroundColor_duy1y_442", "cambioGray900BackgroundColor": "_cambioGray900BackgroundColor_duy1y_446", "cambioDestructive100BackgroundColor": "_cambioDestructive100BackgroundColor_duy1y_450", "cambioDestructive300BackgroundColor": "_cambioDestructive300BackgroundColor_duy1y_454", "cambioDestructive370BackgroundColor": "_cambioDestructive370BackgroundColor_duy1y_458", "cambioDestructive700BackgroundColor": "_cambioDestructive700BackgroundColor_duy1y_462", "cambioDestructive770BackgroundColor": "_cambioDestructive770BackgroundColor_duy1y_466", "cambioDestructive900BackgroundColor": "_cambioDestructive900BackgroundColor_duy1y_470", "cambioSuccess100BackgroundColor": "_cambioSuccess100BackgroundColor_duy1y_474", "cambioSuccess300BackgroundColor": "_cambioSuccess300BackgroundColor_duy1y_478", "cambioSuccess370BackgroundColor": "_cambioSuccess370BackgroundColor_duy1y_482", "cambioSuccess700BackgroundColor": "_cambioSuccess700BackgroundColor_duy1y_486", "cambioSuccess770BackgroundColor": "_cambioSuccess770BackgroundColor_duy1y_490", "cambioSuccess900BackgroundColor": "_cambioSuccess900BackgroundColor_duy1y_494", "redBackgroundColor": "_redBackgroundColor_duy1y_498", "cambioRedBackgroundColor": "_cambioRedBackgroundColor_duy1y_502", "orangeBackgroundColor": "_orangeBackgroundColor_duy1y_506", "cambioOrangeBackgroundColor": "_cambioOrangeBackgroundColor_duy1y_510", "tanBackgroundColor": "_tanBackgroundColor_duy1y_514", "cambioTanBackgroundColor": "_cambioTanBackgroundColor_duy1y_518", "creamBackgroundColor": "_creamBackgroundColor_duy1y_522", "cambioCreamBackgroundColor": "_cambioCreamBackgroundColor_duy1y_526", "purpleBackgroundColor": "_purpleBackgroundColor_duy1y_530", "cambioPurpleBackgroundColor": "_cambioPurpleBackgroundColor_duy1y_534", "lilacBackgroundColor": "_lilacBackgroundColor_duy1y_538", "cambioLilacBackgroundColor": "_cambioLilacBackgroundColor_duy1y_542", "thistleBackgroundColor": "_thistleBackgroundColor_duy1y_546", "cambioThistleBackgroundColor": "_cambioThistleBackgroundColor_duy1y_550", "pinkBackgroundColor": "_pinkBackgroundColor_duy1y_554", "cambioPinkBackgroundColor": "_cambioPinkBackgroundColor_duy1y_558", "navyBackgroundColor": "_navyBackgroundColor_duy1y_562", "cambioNavyBackgroundColor": "_cambioNavyBackgroundColor_duy1y_566", "tealBackgroundColor": "_tealBackgroundColor_duy1y_570", "cambioTealBackgroundColor": "_cambioTealBackgroundColor_duy1y_574", "slateBackgroundColor": "_slateBackgroundColor_duy1y_578", "cambioSlateBackgroundColor": "_cambioSlateBackgroundColor_duy1y_582", "skyBackgroundColor": "_skyBackgroundColor_duy1y_586", "cambioSkyBackgroundColor": "_cambioSkyBackgroundColor_duy1y_590", "cambioYellow700BackgroundColor": "_cambioYellow700BackgroundColor_duy1y_594" };
|
|
5
|
+
|
|
6
|
+
export {
|
|
7
|
+
colors_module_default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=PUTZ53EC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["css-module:./colors.module.css#css-module"],"sourcesContent":["import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"inheritColor\":\"_inheritColor_duy1y_2\",\"destructive700Color\":\"_destructive700Color_duy1y_6\",\"gray700Color\":\"_gray700Color_duy1y_10\",\"gray900Color\":\"_gray900Color_duy1y_14\",\"primary700Color\":\"_primary700Color_duy1y_18\",\"success700Color\":\"_success700Color_duy1y_22\",\"whiteColor\":\"_whiteColor_duy1y_26\",\"noBorder\":\"_noBorder_duy1y_31\",\"blackBorderColor\":\"_blackBorderColor_duy1y_35\",\"whiteBorderColor\":\"_whiteBorderColor_duy1y_39\",\"success770BorderColor\":\"_success770BorderColor_duy1y_43\",\"destructive770BorderColor\":\"_destructive770BorderColor_duy1y_47\",\"gray370BorderColor\":\"_gray370BorderColor_duy1y_51\",\"success370BorderColor\":\"_success370BorderColor_duy1y_55\",\"destructive370BorderColor\":\"_destructive370BorderColor_duy1y_59\",\"blackBackgroundColor\":\"_blackBackgroundColor_duy1y_65\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_duy1y_69\",\"destructive200BackgroundColor\":\"_destructive200BackgroundColor_duy1y_73\",\"destructive300BackgroundColor\":\"_destructive300BackgroundColor_duy1y_77\",\"destructive700BackgroundColor\":\"_destructive700BackgroundColor_duy1y_81\",\"destructive800BackgroundColor\":\"_destructive800BackgroundColor_duy1y_85\",\"destructive900BackgroundColor\":\"_destructive900BackgroundColor_duy1y_89\",\"gray10BackgroundColor\":\"_gray10BackgroundColor_duy1y_93\",\"gray30BackgroundColor\":\"_gray30BackgroundColor_duy1y_97\",\"gray60BackgroundColor\":\"_gray60BackgroundColor_duy1y_101\",\"gray80BackgroundColor\":\"_gray80BackgroundColor_duy1y_105\",\"gray100BackgroundColor\":\"_gray100BackgroundColor_duy1y_109\",\"gray200BackgroundColor\":\"_gray200BackgroundColor_duy1y_113\",\"gray300BackgroundColor\":\"_gray300BackgroundColor_duy1y_117\",\"gray700BackgroundColor\":\"_gray700BackgroundColor_duy1y_121\",\"gray800BackgroundColor\":\"_gray800BackgroundColor_duy1y_125\",\"gray900BackgroundColor\":\"_gray900BackgroundColor_duy1y_129\",\"orange100BackgroundColor\":\"_orange100BackgroundColor_duy1y_133\",\"orange200BackgroundColor\":\"_orange200BackgroundColor_duy1y_137\",\"orange300BackgroundColor\":\"_orange300BackgroundColor_duy1y_141\",\"orange700BackgroundColor\":\"_orange700BackgroundColor_duy1y_145\",\"orange800BackgroundColor\":\"_orange800BackgroundColor_duy1y_149\",\"orange900BackgroundColor\":\"_orange900BackgroundColor_duy1y_153\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_duy1y_157\",\"primary200BackgroundColor\":\"_primary200BackgroundColor_duy1y_161\",\"primary300BackgroundColor\":\"_primary300BackgroundColor_duy1y_165\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_duy1y_169\",\"primary800BackgroundColor\":\"_primary800BackgroundColor_duy1y_173\",\"primary900BackgroundColor\":\"_primary900BackgroundColor_duy1y_177\",\"success100BackgroundColor\":\"_success100BackgroundColor_duy1y_181\",\"success200BackgroundColor\":\"_success200BackgroundColor_duy1y_185\",\"success300BackgroundColor\":\"_success300BackgroundColor_duy1y_189\",\"success700BackgroundColor\":\"_success700BackgroundColor_duy1y_193\",\"success800BackgroundColor\":\"_success800BackgroundColor_duy1y_197\",\"success900BackgroundColor\":\"_success900BackgroundColor_duy1y_201\",\"purple100BackgroundColor\":\"_purple100BackgroundColor_duy1y_205\",\"purple200BackgroundColor\":\"_purple200BackgroundColor_duy1y_209\",\"purple300BackgroundColor\":\"_purple300BackgroundColor_duy1y_213\",\"purple700BackgroundColor\":\"_purple700BackgroundColor_duy1y_217\",\"purple800BackgroundColor\":\"_purple800BackgroundColor_duy1y_221\",\"purple900BackgroundColor\":\"_purple900BackgroundColor_duy1y_225\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_duy1y_229\",\"yellow100BackgroundColor\":\"_yellow100BackgroundColor_duy1y_233\",\"yellow200BackgroundColor\":\"_yellow200BackgroundColor_duy1y_237\",\"yellow300BackgroundColor\":\"_yellow300BackgroundColor_duy1y_241\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_duy1y_245\",\"yellow800BackgroundColor\":\"_yellow800BackgroundColor_duy1y_249\",\"yellow900BackgroundColor\":\"_yellow900BackgroundColor_duy1y_253\",\"cambioBlackColor\":\"_cambioBlackColor_duy1y_258\",\"cambioWhiteColor\":\"_cambioWhiteColor_duy1y_262\",\"cambioGray100Color\":\"_cambioGray100Color_duy1y_266\",\"cambioGray200Color\":\"_cambioGray200Color_duy1y_270\",\"cambioGray300Color\":\"_cambioGray300Color_duy1y_274\",\"cambioGray370Color\":\"_cambioGray370Color_duy1y_278\",\"cambioGray700Color\":\"_cambioGray700Color_duy1y_282\",\"cambioGray800Color\":\"_cambioGray800Color_duy1y_286\",\"cambioGray870Color\":\"_cambioGray870Color_duy1y_290\",\"cambioGray900Color\":\"_cambioGray900Color_duy1y_294\",\"cambioDestructive100Color\":\"_cambioDestructive100Color_duy1y_298\",\"cambioDestructive300Color\":\"_cambioDestructive300Color_duy1y_302\",\"cambioDestructive370Color\":\"_cambioDestructive370Color_duy1y_306\",\"cambioDestructive700Color\":\"_cambioDestructive700Color_duy1y_310\",\"cambioDestructive770Color\":\"_cambioDestructive770Color_duy1y_314\",\"cambioDestructive900Color\":\"_cambioDestructive900Color_duy1y_318\",\"cambioSuccess100Color\":\"_cambioSuccess100Color_duy1y_322\",\"cambioSuccess300Color\":\"_cambioSuccess300Color_duy1y_326\",\"cambioSuccess370Color\":\"_cambioSuccess370Color_duy1y_330\",\"cambioSuccess700Color\":\"_cambioSuccess700Color_duy1y_334\",\"cambioSuccess770Color\":\"_cambioSuccess770Color_duy1y_338\",\"cambioSuccess900Color\":\"_cambioSuccess900Color_duy1y_342\",\"cambioRedColor\":\"_cambioRedColor_duy1y_346\",\"cambioOrangeColor\":\"_cambioOrangeColor_duy1y_350\",\"cambioTanColor\":\"_cambioTanColor_duy1y_354\",\"cambioCreamColor\":\"_cambioCreamColor_duy1y_358\",\"cambioPurpleColor\":\"_cambioPurpleColor_duy1y_362\",\"cambioLilacColor\":\"_cambioLilacColor_duy1y_366\",\"cambioThistleColor\":\"_cambioThistleColor_duy1y_370\",\"cambioPinkColor\":\"_cambioPinkColor_duy1y_374\",\"cambioNavyColor\":\"_cambioNavyColor_duy1y_378\",\"cambioTealColor\":\"_cambioTealColor_duy1y_382\",\"cambioSlateColor\":\"_cambioSlateColor_duy1y_386\",\"cambioSkyColor\":\"_cambioSkyColor_duy1y_390\",\"cambioYellow700Color\":\"_cambioYellow700Color_duy1y_394\",\"cambioTransparentFullBackgroundColor\":\"_cambioTransparentFullBackgroundColor_duy1y_398\",\"cambioBlackBackgroundColor\":\"_cambioBlackBackgroundColor_duy1y_402\",\"cambioWhiteBackgroundColor\":\"_cambioWhiteBackgroundColor_duy1y_406\",\"cambioGray100BackgroundColor\":\"_cambioGray100BackgroundColor_duy1y_410\",\"cambioGray200BackgroundColor\":\"_cambioGray200BackgroundColor_duy1y_414\",\"cambioGray300BackgroundColor\":\"_cambioGray300BackgroundColor_duy1y_418\",\"gray370BackgroundColor\":\"_gray370BackgroundColor_duy1y_422\",\"cambioGray370BackgroundColor\":\"_cambioGray370BackgroundColor_duy1y_426\",\"cambioGray700BackgroundColor\":\"_cambioGray700BackgroundColor_duy1y_430\",\"cambioGray800BackgroundColor\":\"_cambioGray800BackgroundColor_duy1y_434\",\"gray870BackgroundColor\":\"_gray870BackgroundColor_duy1y_438\",\"cambioGray870BackgroundColor\":\"_cambioGray870BackgroundColor_duy1y_442\",\"cambioGray900BackgroundColor\":\"_cambioGray900BackgroundColor_duy1y_446\",\"cambioDestructive100BackgroundColor\":\"_cambioDestructive100BackgroundColor_duy1y_450\",\"cambioDestructive300BackgroundColor\":\"_cambioDestructive300BackgroundColor_duy1y_454\",\"cambioDestructive370BackgroundColor\":\"_cambioDestructive370BackgroundColor_duy1y_458\",\"cambioDestructive700BackgroundColor\":\"_cambioDestructive700BackgroundColor_duy1y_462\",\"cambioDestructive770BackgroundColor\":\"_cambioDestructive770BackgroundColor_duy1y_466\",\"cambioDestructive900BackgroundColor\":\"_cambioDestructive900BackgroundColor_duy1y_470\",\"cambioSuccess100BackgroundColor\":\"_cambioSuccess100BackgroundColor_duy1y_474\",\"cambioSuccess300BackgroundColor\":\"_cambioSuccess300BackgroundColor_duy1y_478\",\"cambioSuccess370BackgroundColor\":\"_cambioSuccess370BackgroundColor_duy1y_482\",\"cambioSuccess700BackgroundColor\":\"_cambioSuccess700BackgroundColor_duy1y_486\",\"cambioSuccess770BackgroundColor\":\"_cambioSuccess770BackgroundColor_duy1y_490\",\"cambioSuccess900BackgroundColor\":\"_cambioSuccess900BackgroundColor_duy1y_494\",\"redBackgroundColor\":\"_redBackgroundColor_duy1y_498\",\"cambioRedBackgroundColor\":\"_cambioRedBackgroundColor_duy1y_502\",\"orangeBackgroundColor\":\"_orangeBackgroundColor_duy1y_506\",\"cambioOrangeBackgroundColor\":\"_cambioOrangeBackgroundColor_duy1y_510\",\"tanBackgroundColor\":\"_tanBackgroundColor_duy1y_514\",\"cambioTanBackgroundColor\":\"_cambioTanBackgroundColor_duy1y_518\",\"creamBackgroundColor\":\"_creamBackgroundColor_duy1y_522\",\"cambioCreamBackgroundColor\":\"_cambioCreamBackgroundColor_duy1y_526\",\"purpleBackgroundColor\":\"_purpleBackgroundColor_duy1y_530\",\"cambioPurpleBackgroundColor\":\"_cambioPurpleBackgroundColor_duy1y_534\",\"lilacBackgroundColor\":\"_lilacBackgroundColor_duy1y_538\",\"cambioLilacBackgroundColor\":\"_cambioLilacBackgroundColor_duy1y_542\",\"thistleBackgroundColor\":\"_thistleBackgroundColor_duy1y_546\",\"cambioThistleBackgroundColor\":\"_cambioThistleBackgroundColor_duy1y_550\",\"pinkBackgroundColor\":\"_pinkBackgroundColor_duy1y_554\",\"cambioPinkBackgroundColor\":\"_cambioPinkBackgroundColor_duy1y_558\",\"navyBackgroundColor\":\"_navyBackgroundColor_duy1y_562\",\"cambioNavyBackgroundColor\":\"_cambioNavyBackgroundColor_duy1y_566\",\"tealBackgroundColor\":\"_tealBackgroundColor_duy1y_570\",\"cambioTealBackgroundColor\":\"_cambioTealBackgroundColor_duy1y_574\",\"slateBackgroundColor\":\"_slateBackgroundColor_duy1y_578\",\"cambioSlateBackgroundColor\":\"_cambioSlateBackgroundColor_duy1y_582\",\"skyBackgroundColor\":\"_skyBackgroundColor_duy1y_586\",\"cambioSkyBackgroundColor\":\"_cambioSkyBackgroundColor_duy1y_590\",\"cambioYellow700BackgroundColor\":\"_cambioYellow700BackgroundColor_duy1y_594\"}"],"mappings":";;;AAA4F,IAAO,wBAAQ,EAAC,gBAAe,yBAAwB,uBAAsB,gCAA+B,gBAAe,0BAAyB,gBAAe,0BAAyB,mBAAkB,6BAA4B,mBAAkB,6BAA4B,cAAa,wBAAuB,YAAW,sBAAqB,oBAAmB,8BAA6B,oBAAmB,8BAA6B,yBAAwB,mCAAkC,6BAA4B,uCAAsC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9
9
|
colors_module_default
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./S6TNP7G5.js";
|
|
11
11
|
import {
|
|
12
12
|
useIsHydrated
|
|
13
13
|
} from "./JB65NEXK.js";
|
|
@@ -65,7 +65,7 @@ var Checkbox = ({
|
|
|
65
65
|
{
|
|
66
66
|
[Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible
|
|
67
67
|
},
|
|
68
|
-
error ? colors_module_default.
|
|
68
|
+
error ? colors_module_default.cambioDestructive370BackgroundColor : colors_module_default.cambioGray370BackgroundColor
|
|
69
69
|
),
|
|
70
70
|
children: checked && /* @__PURE__ */ jsx("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", width: iconWidth[size], children: /* @__PURE__ */ jsx(
|
|
71
71
|
"path",
|
|
@@ -114,4 +114,4 @@ var Checkbox_default = Checkbox;
|
|
|
114
114
|
export {
|
|
115
115
|
Checkbox_default
|
|
116
116
|
};
|
|
117
|
-
//# sourceMappingURL=
|
|
117
|
+
//# sourceMappingURL=PX2UXNON.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Checkbox/Checkbox.tsx","css-module:./Checkbox.module.css#css-module"],"sourcesContent":["import React, { type ReactElement, useState } from \"react\";\nimport classNames from \"classnames\";\nimport useFocusVisible from \"../useFocusVisible\";\nimport styles from \"./Checkbox.module.css\";\nimport focusStyles from \"../Focus.module.css\";\nimport Typography from \"../Typography/Typography\";\nimport useIsHydrated from \"../useIsHydrated\";\nimport colorStyles from \"../colors/colors.module.css\";\n\nconst typographySize = {\n sm: 100,\n md: 200,\n} as const;\n\nconst iconWidth = {\n sm: 12,\n md: 20,\n};\n\n/**\n * [Checkbox](https://cambly-syntax.vercel.app/?path=/docs/components-checkbox--docs) is a clickable element that will show if an option has been selected or not.\n */\nconst Checkbox = ({\n checked = false,\n \"data-testid\": dataTestId,\n disabled: disabledProp = false,\n size = \"md\",\n label,\n error = false,\n onChange,\n}: {\n /**\n * Whether or not the box has been clicked\n *\n * @defaultValue false\n */\n checked: boolean;\n /**\n * Test id for the checkbox\n */\n \"data-testid\"?: string;\n /**\n * The callback to be called when the checkbox value changes\n */\n onChange: React.ChangeEventHandler<HTMLInputElement>;\n /**\n * Whether or not the box is disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * The size of the checkbox and icon\n *\n * * `sm`: 16px\n * * `md`: 24px\n *\n * @defaultValue \"md\"\n */\n size?: \"sm\" | \"md\";\n /**\n * The text accompanying the checkbox\n */\n label: string;\n /**\n * Whether or not there is an error with the input\n *\n * @defaultValue false\n */\n error?: boolean;\n}): ReactElement => {\n const isHydrated = useIsHydrated();\n const disabled = !isHydrated || disabledProp;\n const [isFocused, setIsFocused] = useState(false);\n const { isFocusVisible } = useFocusVisible();\n\n return (\n <label\n className={classNames(\n styles.mainContainer,\n styles[`cursor${disabled ? \"Disabled\" : \"Enabled\"}`],\n {\n [styles.disabled]: disabled,\n },\n )}\n >\n <div\n className={classNames(\n styles.checkbox,\n styles[size],\n {\n [focusStyles.accessibilityOutlineFocus]:\n isFocused && isFocusVisible,\n },\n error\n ? colorStyles.cambioDestructive370BackgroundColor\n : colorStyles.cambioGray370BackgroundColor,\n )}\n >\n {checked && (\n <svg aria-hidden=\"true\" viewBox=\"0 0 24 24\" width={iconWidth[size]}>\n <path\n className={error ? styles.checkmarkError : styles.checkmark}\n d=\"m9.55 18-5.7-5.7 1.425-1.425L9.55 15.15l9.175-9.175L20.15 7.4 9.55 18Z\"\n ></path>\n </svg>\n )}\n </div>\n <input\n data-testid={dataTestId}\n type=\"checkbox\"\n className={classNames(\n styles.inputOverlay,\n styles[size],\n styles[`cursor${disabled ? \"Disabled\" : \"Enabled\"}`],\n )}\n checked={checked}\n onChange={onChange}\n disabled={disabled}\n onFocus={() => {\n setIsFocused(true);\n }}\n onBlur={() => {\n setIsFocused(false);\n }}\n />\n <Typography\n size={typographySize[size]}\n color={error ? \"destructive-primary\" : \"gray900\"}\n >\n {label}\n </Typography>\n </label>\n );\n};\n\nexport default Checkbox;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Checkbox/Checkbox.module.css\"; export default {\"mainContainer\":\"_mainContainer_17ijp_1\",\"inputOverlay\":\"_inputOverlay_17ijp_9\",\"checkbox\":\"_checkbox_17ijp_17\",\"disabled\":\"_disabled_17ijp_26\",\"cursorDisabled\":\"_cursorDisabled_17ijp_30\",\"cursorEnabled\":\"_cursorEnabled_17ijp_34\",\"sm\":\"_sm_17ijp_38\",\"md\":\"_md_17ijp_43\",\"smBorderRadius\":\"_smBorderRadius_17ijp_48\",\"mdBorderRadius\":\"_mdBorderRadius_17ijp_52\",\"checkmark\":\"_checkmark_17ijp_56\",\"checkmarkError\":\"_checkmarkError_17ijp_60\"}"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,SAAmC,gBAAgB;AACnD,OAAO,gBAAgB;;;ACDyE,IAAO,0BAAQ,EAAC,iBAAgB,0BAAyB,gBAAe,yBAAwB,YAAW,sBAAqB,YAAW,sBAAqB,kBAAiB,4BAA2B,iBAAgB,2BAA0B,MAAK,gBAAe,MAAK,gBAAe,kBAAiB,4BAA2B,kBAAiB,4BAA2B,aAAY,uBAAsB,kBAAiB,2BAA0B;;;AD6E/hB,SAwBQ,KAxBR;AApEJ,IAAM,iBAAiB;AAAA,EACrB,IAAI;AAAA,EACJ,IAAI;AACN;AAEA,IAAM,YAAY;AAAA,EAChB,IAAI;AAAA,EACJ,IAAI;AACN;AAKA,IAAM,WAAW,CAAC;AAAA,EAChB,UAAU;AAAA,EACV,eAAe;AAAA,EACf,UAAU,eAAe;AAAA,EACzB,OAAO;AAAA,EACP;AAAA,EACA,QAAQ;AAAA,EACR;AACF,MAwCoB;AAClB,QAAM,aAAa,cAAc;AACjC,QAAM,WAAW,CAAC,cAAc;AAChC,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,KAAK;AAChD,QAAM,EAAE,eAAe,IAAI,gBAAgB;AAE3C,SACE;AAAA,IAAC;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