@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import {
|
|
3
3
|
colors_module_default
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./PUTZ53EC.js";
|
|
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 colors_module_default.
|
|
13
|
+
return colors_module_default.cambioWhiteColor;
|
|
14
14
|
case "success-secondary":
|
|
15
15
|
case "success-tertiary":
|
|
16
|
-
return colors_module_default.
|
|
16
|
+
return colors_module_default.cambioSuccess700Color;
|
|
17
17
|
case "destructive-secondary":
|
|
18
18
|
case "destructive-tertiary":
|
|
19
|
-
return colors_module_default.
|
|
19
|
+
return colors_module_default.cambioDestructive700Color;
|
|
20
20
|
default:
|
|
21
|
-
return colors_module_default.
|
|
21
|
+
return 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 colors_module_default.
|
|
28
|
+
return colors_module_default.cambioBlackColor;
|
|
29
29
|
case "secondary":
|
|
30
30
|
case "tertiary":
|
|
31
|
-
return colors_module_default.
|
|
31
|
+
return colors_module_default.cambioWhiteColor;
|
|
32
32
|
case "success-secondary":
|
|
33
33
|
case "success-tertiary":
|
|
34
|
-
return colors_module_default.
|
|
34
|
+
return colors_module_default.cambioSuccess300Color;
|
|
35
35
|
case "destructive-secondary":
|
|
36
36
|
case "destructive-tertiary":
|
|
37
|
-
return colors_module_default.
|
|
37
|
+
return colors_module_default.cambioDestructive300Color;
|
|
38
38
|
default:
|
|
39
|
-
return colors_module_default.
|
|
39
|
+
return colors_module_default.cambioBlackColor;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -44,4 +44,4 @@ function foregroundColor(color, on) {
|
|
|
44
44
|
export {
|
|
45
45
|
foregroundColor
|
|
46
46
|
};
|
|
47
|
-
//# sourceMappingURL=
|
|
47
|
+
//# sourceMappingURL=UVQS6LU3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/colors/foregroundColor.ts"],"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"],"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;","names":[]}
|
|
@@ -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 _D62L3CWMcjs = require('./D62L3CWM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _76LTWV2Qcjs = require('./76LTWV2Q.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _MF7LLV7Vcjs = require('./MF7LLV7V.cjs');
|
|
@@ -100,7 +100,7 @@ var Popover = _react.forwardRef.call(void 0, function Popover2(props, ref) {
|
|
|
100
100
|
} = props;
|
|
101
101
|
const modal = !children || modalProp;
|
|
102
102
|
const modalNode = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
103
|
-
|
|
103
|
+
_D62L3CWMcjs.ModalDialog_default,
|
|
104
104
|
{
|
|
105
105
|
accessibilityLabel,
|
|
106
106
|
accessibilityCloseLabel,
|
|
@@ -117,7 +117,7 @@ var Popover = _react.forwardRef.call(void 0, function Popover2(props, ref) {
|
|
|
117
117
|
{
|
|
118
118
|
placement: _LLFHCGRAcjs.syntaxToReactAriaPlacement.call(void 0, placement),
|
|
119
119
|
onChangeContentVisibility,
|
|
120
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
120
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _76LTWV2Qcjs.Dialog_default, { accessibilityLabel, "data-testid": dataTestId, children: content })
|
|
121
121
|
}
|
|
122
122
|
);
|
|
123
123
|
if (!children)
|
|
@@ -141,4 +141,4 @@ var Popover_default = Popover;
|
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
exports.AriaPopover = AriaPopover; exports.Popover_default = Popover_default;
|
|
144
|
-
//# sourceMappingURL=
|
|
144
|
+
//# sourceMappingURL=W52D7D34.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on
|
|
1
|
+
{"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"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"],"mappings":";;;AASO,IAAM,0BAA0B;AAWhC,IAAM,mBAAmB;","names":[]}
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
var _C5XPZTFOcjs = require('./C5XPZTFO.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _Y2AMPQUUcjs = require('./Y2AMPQUU.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _DMA6PPUZcjs = require('./DMA6PPUZ.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _UT353VLRcjs = require('./UT353VLR.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _JHUEQO5Qcjs = require('./JHUEQO5Q.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _ZGI5YNKGcjs = require('./ZGI5YNKG.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
var _RYUXG4AScjs = require('./RYUXG4AS.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _FESAFV44cjs = require('./FESAFV44.cjs');
|
|
27
27
|
|
|
28
28
|
// src/RichSelect/RichSelectBox.tsx
|
|
29
29
|
|
|
@@ -125,7 +125,7 @@ var RichSelectBox = _react.forwardRef.call(void 0,
|
|
|
125
125
|
});
|
|
126
126
|
}, []);
|
|
127
127
|
const { autoFocus } = _react.useContext.call(void 0, RichSelectBoxContext);
|
|
128
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _RYUXG4AScjs.RichSelectItemContext.Provider, { value: { disableKey }, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
128
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _RYUXG4AScjs.RichSelectItemContext.Provider, { value: { disableKey }, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _FESAFV44cjs.Box_default, { children: [
|
|
129
129
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
130
130
|
_reactariacomponents.ListBox,
|
|
131
131
|
{
|
|
@@ -144,7 +144,7 @@ var RichSelectBox = _react.forwardRef.call(void 0,
|
|
|
144
144
|
}
|
|
145
145
|
),
|
|
146
146
|
!autosave && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
147
|
-
|
|
147
|
+
_FESAFV44cjs.Box_default,
|
|
148
148
|
{
|
|
149
149
|
backgroundColor: "white",
|
|
150
150
|
display: "flex",
|
|
@@ -159,9 +159,9 @@ var RichSelectBox = _react.forwardRef.call(void 0,
|
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
161
|
children: [
|
|
162
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
162
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _FESAFV44cjs.Box_default, { flex: "grow", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _DMA6PPUZcjs.Divider, {}) }),
|
|
163
163
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
164
|
-
|
|
164
|
+
_FESAFV44cjs.Box_default,
|
|
165
165
|
{
|
|
166
166
|
paddingY: 5,
|
|
167
167
|
marginTop: -5,
|
|
@@ -169,7 +169,7 @@ var RichSelectBox = _react.forwardRef.call(void 0,
|
|
|
169
169
|
justifyContent: "end",
|
|
170
170
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _C5XPZTFOcjs.ButtonGroup_default, { orientation: "horizontal", children: [
|
|
171
171
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
172
|
-
|
|
172
|
+
_Y2AMPQUUcjs.Button_default,
|
|
173
173
|
{
|
|
174
174
|
onClick: clearChanges,
|
|
175
175
|
color: "secondary",
|
|
@@ -179,7 +179,7 @@ var RichSelectBox = _react.forwardRef.call(void 0,
|
|
|
179
179
|
}
|
|
180
180
|
),
|
|
181
181
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
182
|
-
|
|
182
|
+
_Y2AMPQUUcjs.Button_default,
|
|
183
183
|
{
|
|
184
184
|
onClick: saveChanges,
|
|
185
185
|
text: primaryButtonText,
|
|
@@ -198,9 +198,9 @@ var RichSelectBox = _react.forwardRef.call(void 0,
|
|
|
198
198
|
}
|
|
199
199
|
);
|
|
200
200
|
var RichSelectBox_default = Object.assign(RichSelectBox, {
|
|
201
|
-
Section:
|
|
202
|
-
Chip:
|
|
203
|
-
RadioButton:
|
|
201
|
+
Section: _JHUEQO5Qcjs.RichSelectSection_default,
|
|
202
|
+
Chip: _UT353VLRcjs.RichSelectChip_default,
|
|
203
|
+
RadioButton: _ZGI5YNKGcjs.RichSelectRadioButton_default
|
|
204
204
|
});
|
|
205
205
|
|
|
206
206
|
|
|
@@ -208,4 +208,4 @@ var RichSelectBox_default = Object.assign(RichSelectBox, {
|
|
|
208
208
|
|
|
209
209
|
|
|
210
210
|
exports.convertSelection = convertSelection; exports.RichSelectBoxContext = RichSelectBoxContext; exports.RichSelectBox_default = RichSelectBox_default;
|
|
211
|
-
//# sourceMappingURL=
|
|
211
|
+
//# sourceMappingURL=X67IWLZJ.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
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 _QT6IRCGWcjs = require('./QT6IRCGW.cjs');
|
|
5
5
|
|
|
6
6
|
// src/Typography/Typography.tsx
|
|
7
7
|
var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames);
|
|
@@ -15,21 +15,21 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
15
15
|
function textColor(color) {
|
|
16
16
|
switch (color) {
|
|
17
17
|
case "gray700":
|
|
18
|
-
return
|
|
18
|
+
return _QT6IRCGWcjs.colors_module_default.cambioGray800Color;
|
|
19
19
|
case "white":
|
|
20
|
-
return
|
|
20
|
+
return _QT6IRCGWcjs.colors_module_default.cambioWhiteColor;
|
|
21
21
|
case "inherit":
|
|
22
|
-
return
|
|
22
|
+
return _QT6IRCGWcjs.colors_module_default.inheritColor;
|
|
23
23
|
case "destructive-primary":
|
|
24
|
-
return
|
|
24
|
+
return _QT6IRCGWcjs.colors_module_default.cambioDestructive900Color;
|
|
25
25
|
case "destructive-darkBackground":
|
|
26
|
-
return
|
|
26
|
+
return _QT6IRCGWcjs.colors_module_default.cambioDestructive100Color;
|
|
27
27
|
case "success":
|
|
28
|
-
return
|
|
28
|
+
return _QT6IRCGWcjs.colors_module_default.cambioSuccess900Color;
|
|
29
29
|
case "success-darkBackground":
|
|
30
|
-
return
|
|
30
|
+
return _QT6IRCGWcjs.colors_module_default.cambioSuccess100Color;
|
|
31
31
|
default:
|
|
32
|
-
return
|
|
32
|
+
return _QT6IRCGWcjs.colors_module_default.cambioBlackColor;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
var Typography = _react.forwardRef.call(void 0, function Typography2({
|
|
@@ -80,4 +80,4 @@ var Typography_default = Typography;
|
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
exports.Typography_default = Typography_default;
|
|
83
|
-
//# sourceMappingURL=
|
|
83
|
+
//# sourceMappingURL=XCGRNBQH.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Typography/Typography.tsx","css-module:./Typography.module.css#css-module"],"names":["Typography"],"mappings":";;;;;;AAAA,OAAO,gBAAgB;AACvB,SAAS,kBAAqD;;;ACDsC,IAAO,4BAAQ,EAAC,cAAa,uBAAsB,aAAY,uBAAsB,SAAQ,mBAAkB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,sBAAqB,YAAW,uBAAsB,YAAW,uBAAsB,UAAS,qBAAoB,aAAY,wBAAuB,cAAa,yBAAwB,SAAQ,oBAAmB,OAAM,kBAAiB,WAAU,sBAAqB,UAAS,qBAAoB,YAAW,uBAAsB,QAAO,mBAAkB,aAAY,wBAAuB,UAAS,qBAAoB,aAAY,wBAAuB,aAAY,uBAAsB;;;ADyLl7B;AApLJ,SAAS,UACP,OAUQ;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,IAErB;AACE,aAAO,sBAAY;AAAA,EACvB;AACF;AAKA,IAAM,aAAa,WA0HjB,SAASA,YACT;AAAA,EACE,QAAQ;AAAA,EACR,KAAK;AAAA,EACL;AAAA,EACA,QAAQ;AAAA,EACR,eAAe;AAAA,EACf,YAAY;AAAA,EACZ;AAAA,EACA,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,OAAO;AAAA,EACP;AAAA,EACA,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,SAAS;AACX,GACA,KACc;AACd,QAAM,MAAM;AAEZ,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,WAAW;AAAA,QACT,0BAAO;AAAA,QACP,0BAAO,KAAK;AAAA,QACZ,0BAAO,MAAM;AAAA,QACb,cAAc,UAAU,0BAAO,QAAQ,0BAAO;AAAA,QAC9C,UAAU,KAAK;AAAA,QACf,UAAU,0BAAO;AAAA,QACjB,0BAAO,OAAO,MAAM;AAAA,QACpB,cAAc,eAAe,0BAAO;AAAA,QACpC,aAAa,0BAAO;AAAA,QACpB,aAAa,QAAQ,0BAAO;AAAA,MAC9B;AAAA,MACA,eAAa;AAAA,MACb,OAAO;AAAA,QACL,iBAAiB;AAAA,MACnB;AAAA,MACA,OAAO;AAAA,MACP;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ,CAAC;AAED,IAAO,qBAAQ","sourcesContent":["import classNames from \"classnames\";\nimport { forwardRef, type ReactElement, type ReactNode } from \"react\";\nimport styles from \"./Typography.module.css\";\nimport colorStyles from \"../colors/colors.module.css\";\n\nfunction textColor(\n color:\n | \"gray900\"\n | \"gray700\"\n | \"primary\"\n | \"destructive-primary\"\n | \"destructive-darkBackground\"\n | \"success\"\n | \"success-darkBackground\"\n | \"white\"\n | \"inherit\",\n): string {\n switch (color) {\n case \"gray700\":\n return colorStyles.cambioGray800Color;\n case \"white\":\n return colorStyles.cambioWhiteColor;\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\n/**\n * [Typography](https://cambly-syntax.vercel.app/?path=/docs/components-typography--docs) is a component that renders text.\n */\nconst Typography = forwardRef<\n HTMLDivElement,\n {\n /**\n * Aligns the text to the left, right, or center of the container.\n * * `start` and `end` will align the text to the left or right of the container depending on the locale.\n * * `forceLeft` and `forceRight` will align the text to the left or right of the container regardless of the locale (should be used sparingly).\n *\n * @defaultValue \"start\"\n */\n align?: \"start\" | \"end\" | \"forceLeft\" | \"center\" | \"forceRight\";\n /**\n * DOM element to render as.\n *\n * @defaultValue \"div\"\n */\n as?: \"div\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n /**\n * The text to be rendered\n */\n children?: ReactNode;\n /**\n * The color of the text.\n *\n * @defaultValue \"gray900\"\n */\n color?:\n | \"gray900\"\n | \"gray700\"\n | \"primary\"\n | \"destructive-primary\"\n | \"destructive-darkBackground\"\n | \"success\"\n | \"success-darkBackground\"\n | \"white\"\n | \"inherit\";\n /**\n * Test id for the text\n */\n \"data-testid\"?: string;\n /**\n * Style of the font\n *\n * Classic only supports `sans-serif`\n *\n * @defaultValue \"sans-serif\"\n */\n fontStyle?: \"serif\" | \"sans-serif\";\n /**\n * The id for the element\n */\n id?: string;\n /**\n * Whether the text should flow inline with other elements.\n *\n * @defaultValue false\n */\n inline?: boolean;\n /**\n * The number of lines we should truncate the text at\n */\n lineClamp?: number | undefined;\n /**\n * Size of the text.\n *\n * Mobile (viewport width <= 480px)::\n * * `100`: 14px\n * * `200`: 16px\n * * `300`: 18px\n * * `400`: 20px\n * * `500`: 23px\n * * `600`: 26px\n * * `700`: 29px\n * * `800`: 33px\n * * `900`: 37px\n * * `1000`: 41px\n * * `1100`: 46px\n *\n * Desktop (viewport width > 480px):\n * * `100`: 13px\n * * `200`: 16px\n * * `300`: 20px\n * * `400`: 25px\n * * `500`: 31px\n * * `600`: 39px\n * * `700`: 49px\n * * `800`: 61px\n * * `900`: 76px\n * * `1000`: 95px\n * * `1100`: 119px\n *\n * @defaultValue 200\n */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | 1100;\n /**\n * The tooltip to be displayed when the user hovers the text\n */\n tooltip?: string;\n /**\n * Whether the text should be transformed to uppercase.\n *\n * @defaultValue \"none\"\n */\n transform?: \"none\" | \"uppercase\";\n /**\n * Whether the text has an underline.\n *\n * @defaultValue false\n */\n underline?: boolean;\n /**\n * Indicates the boldness of the text.\n *\n * * `regular`: 400\n * * `medium`: 510\n * * `semiBold`: 590\n * * `bold`: 710\n *\n * @defaultValue \"regular\"\n */\n weight?: \"regular\" | \"medium\" | \"semiBold\" | \"bold\";\n }\n>(function Typography(\n {\n align = \"start\",\n as = \"div\",\n children,\n color = \"gray900\",\n \"data-testid\": dataTestId,\n fontStyle = \"sans-serif\",\n id,\n inline = false,\n lineClamp = undefined,\n size = 200,\n tooltip,\n transform = \"none\",\n underline = false,\n weight = \"regular\",\n },\n ref,\n): ReactElement {\n const Tag = as;\n\n return (\n <Tag\n id={id}\n className={classNames(\n styles.typography,\n styles[align],\n styles[weight],\n fontStyle === \"serif\" ? styles.serif : styles.sansSerif,\n textColor(color),\n inline && styles.inline,\n styles[`size${size}`],\n transform === \"uppercase\" && styles.uppercase,\n underline && styles.underline,\n lineClamp != null && styles.lineClamp,\n )}\n data-testid={dataTestId}\n style={{\n WebkitLineClamp: lineClamp,\n }}\n title={tooltip}\n ref={ref}\n >\n {children}\n </Tag>\n );\n});\n\nexport default Typography;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Typography/Typography.module.css\"; export default {\"typography\":\"_typography_t1t27_1\",\"sansSerif\":\"_sansSerif_t1t27_22\",\"serif\":\"_serif_t1t27_27\",\"size100\":\"_size100_t1t27_71\",\"size200\":\"_size200_t1t27_75\",\"size300\":\"_size300_t1t27_79\",\"size400\":\"_size400_t1t27_83\",\"size500\":\"_size500_t1t27_87\",\"size600\":\"_size600_t1t27_91\",\"size700\":\"_size700_t1t27_95\",\"size800\":\"_size800_t1t27_99\",\"size900\":\"_size900_t1t27_103\",\"size1000\":\"_size1000_t1t27_144\",\"size1100\":\"_size1100_t1t27_148\",\"center\":\"_center_t1t27_154\",\"forceLeft\":\"_forceLeft_t1t27_158\",\"forceRight\":\"_forceRight_t1t27_162\",\"start\":\"_start_t1t27_166\",\"end\":\"_end_t1t27_170\",\"regular\":\"_regular_t1t27_176\",\"medium\":\"_medium_t1t27_180\",\"semiBold\":\"_semiBold_t1t27_184\",\"bold\":\"_bold_t1t27_188\",\"underline\":\"_underline_t1t27_192\",\"inline\":\"_inline_t1t27_196\",\"uppercase\":\"_uppercase_t1t27_200\",\"lineClamp\":\"_lineClamp_t1t27_204\"}"]}
|
|
@@ -10,19 +10,19 @@ var _3P2PWHOUcjs = require('./3P2PWHOU.cjs');
|
|
|
10
10
|
var _BHN2OODFcjs = require('./BHN2OODF.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _MKZONAGTcjs = require('./MKZONAGT.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _C3KZXHTVcjs = require('./C3KZXHTV.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _RAL6R27Scjs = require('./RAL6R27S.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _FESAFV44cjs = require('./FESAFV44.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _XCGRNBQHcjs = require('./XCGRNBQH.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _K4AUV2VKcjs = require('./K4AUV2VK.cjs');
|
|
@@ -55,8 +55,8 @@ var Button = _react.forwardRef.call(void 0,
|
|
|
55
55
|
type = "button"
|
|
56
56
|
}, ref) => {
|
|
57
57
|
const isHydrated = _K4AUV2VKcjs.useIsHydrated.call(void 0, );
|
|
58
|
-
const foregroundColorClass =
|
|
59
|
-
const backgroundColorClass =
|
|
58
|
+
const foregroundColorClass = _MKZONAGTcjs.foregroundColor.call(void 0, color, on);
|
|
59
|
+
const backgroundColorClass = _RAL6R27Scjs.backgroundColor.call(void 0, color, on);
|
|
60
60
|
const disabledPrimary = color === "primary" && disabled;
|
|
61
61
|
const isDisabled = !isHydrated || disabled || loading;
|
|
62
62
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -73,7 +73,7 @@ var Button = _react.forwardRef.call(void 0,
|
|
|
73
73
|
Button_module_default.button,
|
|
74
74
|
foregroundColorClass,
|
|
75
75
|
backgroundColorClass,
|
|
76
|
-
|
|
76
|
+
_C3KZXHTVcjs.border.call(void 0, color, on),
|
|
77
77
|
Button_module_default[size],
|
|
78
78
|
{
|
|
79
79
|
[Button_module_default.fullWidth]: fullWidth,
|
|
@@ -92,7 +92,7 @@ var Button = _react.forwardRef.call(void 0,
|
|
|
92
92
|
)
|
|
93
93
|
}
|
|
94
94
|
),
|
|
95
|
-
(loading && loadingText || !loading && text) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
95
|
+
(loading && loadingText || !loading && text) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _FESAFV44cjs.Box_default, { paddingX: 1, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _XCGRNBQHcjs.Typography_default, { size: _5JUNB754cjs.textVariant_default[size], weight: "medium", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
96
96
|
"span",
|
|
97
97
|
{
|
|
98
98
|
className: _classnames2.default.call(void 0,
|
|
@@ -143,4 +143,4 @@ var Button_default = Button;
|
|
|
143
143
|
|
|
144
144
|
|
|
145
145
|
exports.Button_default = Button_default;
|
|
146
|
-
//# sourceMappingURL=
|
|
146
|
+
//# sourceMappingURL=Y2AMPQUU.cjs.map
|
|
@@ -3,35 +3,35 @@ import {
|
|
|
3
3
|
RichSelectBoxContext,
|
|
4
4
|
RichSelectBox_default,
|
|
5
5
|
convertSelection
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./A6EQN4YQ.js";
|
|
7
7
|
import {
|
|
8
8
|
RichSelectChip_default
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./6PRG6ZYW.js";
|
|
10
10
|
import {
|
|
11
11
|
Popover_default
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./SSVDOCMD.js";
|
|
13
13
|
import {
|
|
14
14
|
DialogContext
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./TZGJS522.js";
|
|
16
16
|
import {
|
|
17
17
|
TapArea_default
|
|
18
18
|
} from "./77FFPQY6.js";
|
|
19
19
|
import {
|
|
20
20
|
ColorBaseDestructive700,
|
|
21
21
|
ColorBaseGray800
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./WBVMCGHT.js";
|
|
23
23
|
import {
|
|
24
24
|
RichSelectSection_default
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./HXTCI7A3.js";
|
|
26
26
|
import {
|
|
27
27
|
RichSelectRadioButton_default
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./RQ5XRLL6.js";
|
|
29
29
|
import {
|
|
30
30
|
Box_default
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./M36V23WR.js";
|
|
32
32
|
import {
|
|
33
33
|
Typography_default
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./2IXPTAJD.js";
|
|
35
35
|
import {
|
|
36
36
|
useIsHydrated
|
|
37
37
|
} from "./JB65NEXK.js";
|
|
@@ -266,4 +266,4 @@ var RichSelectList_default = Object.assign(RichSelectList, {
|
|
|
266
266
|
export {
|
|
267
267
|
RichSelectList_default
|
|
268
268
|
};
|
|
269
|
-
//# sourceMappingURL=
|
|
269
|
+
//# sourceMappingURL=YG2IOLCC.js.map
|
|
@@ -5,16 +5,16 @@ var _4UJE5GMHcjs = require('./4UJE5GMH.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _MQHJC5QXcjs = require('./MQHJC5QX.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _XLUVINJWcjs = require('./XLUVINJW.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _FESAFV44cjs = require('./FESAFV44.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _XCGRNBQHcjs = require('./XCGRNBQH.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _K4AUV2VKcjs = require('./K4AUV2VK.cjs');
|
|
@@ -60,7 +60,7 @@ function SelectList({
|
|
|
60
60
|
[SelectList_module_default.opacityOverlay]: disabled
|
|
61
61
|
}),
|
|
62
62
|
children: [
|
|
63
|
-
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: selectId, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
63
|
+
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: selectId, 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 }) }) }),
|
|
64
64
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SelectList_module_default.selectWrapper, children: [
|
|
65
65
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
66
66
|
"select",
|
|
@@ -98,15 +98,15 @@ function SelectList({
|
|
|
98
98
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
99
99
|
"path",
|
|
100
100
|
{
|
|
101
|
-
fill: errorText ?
|
|
101
|
+
fill: errorText ? _MQHJC5QXcjs.ColorBaseDestructive700 : _MQHJC5QXcjs.ColorBaseGray800,
|
|
102
102
|
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"
|
|
103
103
|
}
|
|
104
104
|
)
|
|
105
105
|
}
|
|
106
106
|
) })
|
|
107
107
|
] }),
|
|
108
|
-
(helperText || errorText) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
109
|
-
|
|
108
|
+
(helperText || errorText) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _FESAFV44cjs.Box_default, { paddingX: 1, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
109
|
+
_XCGRNBQHcjs.Typography_default,
|
|
110
110
|
{
|
|
111
111
|
size: 100,
|
|
112
112
|
color: errorText ? "destructive-primary" : "gray700",
|
|
@@ -122,4 +122,4 @@ SelectList.Option = _4UJE5GMHcjs.SelectOption_default;
|
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
exports.SelectList = SelectList;
|
|
125
|
-
//# sourceMappingURL=
|
|
125
|
+
//# sourceMappingURL=YUW7GFTZ.cjs.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 _T2WJJCS3cjs = require('./T2WJJCS3.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _RYUXG4AScjs = require('./RYUXG4AS.cjs');
|
|
@@ -19,7 +19,7 @@ var RichSelectRadioButton_default = _react.forwardRef.call(void 0,
|
|
|
19
19
|
function RichSelectRadioButton(props, ref) {
|
|
20
20
|
const _a = props, { size, name } = _a, otherProps = _X2SDR4SDcjs.__objRest.call(void 0, _a, ["size", "name"]);
|
|
21
21
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _RYUXG4AScjs.RichSelectItem_default, _X2SDR4SDcjs.__spreadProps.call(void 0, _X2SDR4SDcjs.__spreadValues.call(void 0, {}, otherProps), { ref, children: ({ isSelected, isFocusVisible, isDisabled }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22
|
-
|
|
22
|
+
_T2WJJCS3cjs.RadioButton_default,
|
|
23
23
|
{
|
|
24
24
|
checked: isSelected,
|
|
25
25
|
disabled: isDisabled,
|
|
@@ -37,4 +37,4 @@ var RichSelectRadioButton_default = _react.forwardRef.call(void 0,
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
exports.RichSelectRadioButton_default = RichSelectRadioButton_default;
|
|
40
|
-
//# sourceMappingURL=
|
|
40
|
+
//# sourceMappingURL=ZGI5YNKG.cjs.map
|
|
@@ -3,54 +3,69 @@ require('../__chunks/X2SDR4SD.cjs');
|
|
|
3
3
|
|
|
4
4
|
// src/colors/allColors.ts
|
|
5
5
|
var colors = [
|
|
6
|
-
|
|
6
|
+
"black",
|
|
7
|
+
"destructive100",
|
|
8
|
+
"destructive200",
|
|
9
|
+
"destructive300",
|
|
10
|
+
"destructive700",
|
|
11
|
+
"destructive800",
|
|
12
|
+
"destructive900",
|
|
13
|
+
"gray10",
|
|
14
|
+
"gray100",
|
|
15
|
+
"gray200",
|
|
16
|
+
"gray30",
|
|
17
|
+
"gray60",
|
|
18
|
+
"gray300",
|
|
19
|
+
"gray700",
|
|
20
|
+
"gray80",
|
|
21
|
+
"gray800",
|
|
22
|
+
"gray900",
|
|
23
|
+
"orange100",
|
|
24
|
+
"orange200",
|
|
25
|
+
"orange300",
|
|
26
|
+
"orange700",
|
|
27
|
+
"orange800",
|
|
28
|
+
"orange900",
|
|
7
29
|
"primary100",
|
|
8
30
|
"primary200",
|
|
9
31
|
"primary300",
|
|
10
32
|
"primary700",
|
|
11
33
|
"primary800",
|
|
12
34
|
"primary900",
|
|
13
|
-
|
|
35
|
+
"purple100",
|
|
36
|
+
"purple200",
|
|
37
|
+
"purple300",
|
|
38
|
+
"purple700",
|
|
39
|
+
"purple800",
|
|
40
|
+
"purple900",
|
|
41
|
+
"success100",
|
|
42
|
+
"success200",
|
|
43
|
+
"success300",
|
|
44
|
+
"success700",
|
|
45
|
+
"success800",
|
|
46
|
+
"success900",
|
|
47
|
+
"white",
|
|
48
|
+
"yellow100",
|
|
49
|
+
"yellow200",
|
|
50
|
+
"yellow300",
|
|
14
51
|
"yellow700",
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
52
|
+
"yellow800",
|
|
53
|
+
"yellow900",
|
|
54
|
+
// Cambio specific colors
|
|
55
|
+
"gray370",
|
|
56
|
+
"gray870",
|
|
57
|
+
"cream",
|
|
58
|
+
"lilac",
|
|
18
59
|
"navy",
|
|
19
60
|
"orange",
|
|
20
|
-
"lilac",
|
|
21
|
-
"teal",
|
|
22
|
-
"tan",
|
|
23
|
-
"thistle",
|
|
24
|
-
"slate",
|
|
25
|
-
"cream",
|
|
26
61
|
"pink",
|
|
62
|
+
"purple",
|
|
63
|
+
"red",
|
|
27
64
|
"sky",
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"gray300",
|
|
33
|
-
"gray700",
|
|
34
|
-
"gray800",
|
|
35
|
-
"gray900",
|
|
36
|
-
"black",
|
|
37
|
-
// Destructive
|
|
38
|
-
"destructive900",
|
|
39
|
-
"destructive700",
|
|
40
|
-
"destructive300",
|
|
41
|
-
"destructive100",
|
|
42
|
-
// Success
|
|
43
|
-
"success900",
|
|
44
|
-
"success700",
|
|
45
|
-
"success300",
|
|
46
|
-
"success100",
|
|
47
|
-
// Transparency
|
|
48
|
-
"destructive770",
|
|
49
|
-
"destructive370",
|
|
50
|
-
"success770",
|
|
51
|
-
"success370",
|
|
52
|
-
"gray370",
|
|
53
|
-
"gray870"
|
|
65
|
+
"slate",
|
|
66
|
+
"tan",
|
|
67
|
+
"teal",
|
|
68
|
+
"thistle"
|
|
54
69
|
];
|
|
55
70
|
var allColors_default = colors;
|
|
56
71
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/colors/allColors.ts"],"names":[],"mappings":";;;;AAAA,IAAM,SAAS;AAAA;AAAA,
|
|
1
|
+
{"version":3,"sources":["../../src/colors/allColors.ts"],"names":[],"mappings":";;;;AAAA,IAAM,SAAS;AAAA,EACb;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,IAAO,oBAAQ","sourcesContent":["const colors = [\n \"black\",\n \"destructive100\",\n \"destructive200\",\n \"destructive300\",\n \"destructive700\",\n \"destructive800\",\n \"destructive900\",\n \"gray10\",\n \"gray100\",\n \"gray200\",\n \"gray30\",\n \"gray60\",\n \"gray300\",\n \"gray700\",\n \"gray80\",\n \"gray800\",\n \"gray900\",\n \"orange100\",\n \"orange200\",\n \"orange300\",\n \"orange700\",\n \"orange800\",\n \"orange900\",\n \"primary100\",\n \"primary200\",\n \"primary300\",\n \"primary700\",\n \"primary800\",\n \"primary900\",\n \"purple100\",\n \"purple200\",\n \"purple300\",\n \"purple700\",\n \"purple800\",\n \"purple900\",\n \"success100\",\n \"success200\",\n \"success300\",\n \"success700\",\n \"success800\",\n \"success900\",\n \"white\",\n \"yellow100\",\n \"yellow200\",\n \"yellow300\",\n \"yellow700\",\n \"yellow800\",\n \"yellow900\",\n\n // Cambio specific colors\n \"gray370\",\n \"gray870\",\n \"cream\",\n \"lilac\",\n \"navy\",\n \"orange\",\n \"pink\",\n \"purple\",\n \"red\",\n \"sky\",\n \"slate\",\n \"tan\",\n \"teal\",\n \"thistle\",\n] as const;\n\nexport default colors;\n"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const colors: readonly ["
|
|
1
|
+
declare const colors: readonly ["black", "destructive100", "destructive200", "destructive300", "destructive700", "destructive800", "destructive900", "gray10", "gray100", "gray200", "gray30", "gray60", "gray300", "gray700", "gray80", "gray800", "gray900", "orange100", "orange200", "orange300", "orange700", "orange800", "orange900", "primary100", "primary200", "primary300", "primary700", "primary800", "primary900", "purple100", "purple200", "purple300", "purple700", "purple800", "purple900", "success100", "success200", "success300", "success700", "success800", "success900", "white", "yellow100", "yellow200", "yellow300", "yellow700", "yellow800", "yellow900", "gray370", "gray870", "cream", "lilac", "navy", "orange", "pink", "purple", "red", "sky", "slate", "tan", "teal", "thistle"];
|
|
2
2
|
|
|
3
3
|
export { colors as default };
|