@cambly/syntax-core 10.2.0 → 10.2.1
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 +13 -0
- package/dist/Avatar/Avatar.cjs.map +1 -0
- package/dist/Avatar/Avatar.js +12 -12
- package/dist/Avatar/Avatar.js.map +1 -1
- package/dist/AvatarGroup/AvatarGroup.cjs +14 -0
- package/dist/AvatarGroup/AvatarGroup.cjs.map +1 -0
- package/dist/AvatarGroup/AvatarGroup.js +13 -13
- package/dist/AvatarGroup/AvatarGroup.js.map +1 -1
- package/dist/Badge/Badge.cjs +13 -0
- package/dist/Badge/Badge.cjs.map +1 -0
- package/dist/Badge/Badge.js +12 -12
- package/dist/Badge/Badge.js.map +1 -1
- package/dist/Box/Box.cjs +11 -0
- package/dist/Box/Box.cjs.map +1 -0
- package/dist/Box/Box.js +10 -10
- package/dist/Box/Box.js.map +1 -1
- package/dist/Button/Button.cjs +21 -0
- package/dist/Button/Button.cjs.map +1 -0
- package/dist/Button/Button.js +20 -20
- package/dist/Button/Button.js.map +1 -1
- package/dist/Button/constants/iconSize.cjs +8 -0
- package/dist/Button/constants/iconSize.cjs.map +1 -0
- package/dist/Button/constants/iconSize.js +7 -7
- package/dist/Button/constants/iconSize.js.map +1 -1
- package/dist/Button/constants/loadingIconSize.cjs +8 -0
- package/dist/Button/constants/loadingIconSize.cjs.map +1 -0
- package/dist/Button/constants/loadingIconSize.js +7 -7
- package/dist/Button/constants/loadingIconSize.js.map +1 -1
- package/dist/Button/constants/textVariant.cjs +8 -0
- package/dist/Button/constants/textVariant.cjs.map +1 -0
- package/dist/Button/constants/textVariant.js +7 -7
- package/dist/Button/constants/textVariant.js.map +1 -1
- package/dist/ButtonGroup/ButtonGroup.cjs +8 -0
- package/dist/ButtonGroup/ButtonGroup.cjs.map +1 -0
- package/dist/ButtonGroup/ButtonGroup.js +7 -7
- package/dist/ButtonGroup/ButtonGroup.js.map +1 -1
- package/dist/Card/Card.cjs +12 -0
- package/dist/Card/Card.cjs.map +1 -0
- package/dist/Card/Card.js +11 -11
- package/dist/Card/Card.js.map +1 -1
- package/dist/Checkbox/Checkbox.cjs +14 -0
- package/dist/Checkbox/Checkbox.cjs.map +1 -0
- package/dist/Checkbox/Checkbox.js +13 -13
- package/dist/Checkbox/Checkbox.js.map +1 -1
- package/dist/Chip/Chip.cjs +14 -0
- package/dist/Chip/Chip.cjs.map +1 -0
- package/dist/Chip/Chip.js +13 -13
- package/dist/Chip/Chip.js.map +1 -1
- package/dist/Divider/Divider.cjs +8 -0
- package/dist/Divider/Divider.cjs.map +1 -0
- package/dist/Divider/Divider.js +7 -7
- package/dist/Divider/Divider.js.map +1 -1
- package/dist/Heading/Heading.cjs +11 -0
- package/dist/Heading/Heading.cjs.map +1 -0
- package/dist/Heading/Heading.js +10 -10
- package/dist/Heading/Heading.js.map +1 -1
- package/dist/IconButton/IconButton.cjs +13 -0
- package/dist/IconButton/IconButton.cjs.map +1 -0
- package/dist/IconButton/IconButton.js +12 -12
- package/dist/IconButton/IconButton.js.map +1 -1
- package/dist/LinkButton/LinkButton.cjs +17 -0
- package/dist/LinkButton/LinkButton.cjs.map +1 -0
- package/dist/LinkButton/LinkButton.js +16 -16
- package/dist/LinkButton/LinkButton.js.map +1 -1
- package/dist/Modal/FocusTrap.cjs +8 -0
- package/dist/Modal/FocusTrap.cjs.map +1 -0
- package/dist/Modal/FocusTrap.js +7 -7
- package/dist/Modal/FocusTrap.js.map +1 -1
- package/dist/Modal/Layer.cjs +12 -0
- package/dist/Modal/Layer.cjs.map +1 -0
- package/dist/Modal/Layer.js +11 -11
- package/dist/Modal/Layer.js.map +1 -1
- package/dist/Modal/Modal.cjs +17 -0
- package/dist/Modal/Modal.cjs.map +1 -0
- package/dist/Modal/Modal.js +16 -16
- package/dist/Modal/Modal.js.map +1 -1
- package/dist/Modal/StopScroll.cjs +8 -0
- package/dist/Modal/StopScroll.cjs.map +1 -0
- package/dist/Modal/StopScroll.js +7 -7
- package/dist/Modal/StopScroll.js.map +1 -1
- package/dist/RadioButton/RadioButton.cjs +14 -0
- package/dist/RadioButton/RadioButton.cjs.map +1 -0
- package/dist/RadioButton/RadioButton.js +13 -13
- package/dist/RadioButton/RadioButton.js.map +1 -1
- package/dist/SelectList/SelectList.cjs +15 -0
- package/dist/SelectList/SelectList.cjs.map +1 -0
- package/dist/SelectList/SelectList.js +14 -14
- package/dist/SelectList/SelectList.js.map +1 -1
- package/dist/SelectList/SelectOption.cjs +8 -0
- package/dist/SelectList/SelectOption.cjs.map +1 -0
- package/dist/SelectList/SelectOption.js +7 -7
- package/dist/SelectList/SelectOption.js.map +1 -1
- package/dist/TapArea/TapArea.cjs +10 -0
- package/dist/TapArea/TapArea.cjs.map +1 -0
- package/dist/TapArea/TapArea.js +9 -9
- package/dist/TapArea/TapArea.js.map +1 -1
- package/dist/TextArea/TextArea.cjs +15 -0
- package/dist/TextArea/TextArea.cjs.map +1 -0
- package/dist/TextArea/TextArea.js +14 -14
- package/dist/TextArea/TextArea.js.map +1 -1
- package/dist/TextField/TextField.cjs +15 -0
- package/dist/TextField/TextField.cjs.map +1 -0
- package/dist/TextField/TextField.js +14 -14
- package/dist/TextField/TextField.js.map +1 -1
- package/dist/Typography/Typography.cjs +10 -0
- package/dist/Typography/Typography.cjs.map +1 -0
- package/dist/Typography/Typography.js +9 -9
- package/dist/Typography/Typography.js.map +1 -1
- package/dist/__chunks/2JWMSFS7.js +11 -11
- package/dist/__chunks/2JWMSFS7.js.map +1 -1
- package/dist/__chunks/2O6FDRTF.js +4 -4
- package/dist/__chunks/2O6FDRTF.js.map +1 -1
- package/dist/__chunks/36B62A3Z.cjs +12 -0
- package/dist/__chunks/36B62A3Z.cjs.map +1 -0
- package/dist/__chunks/37CQV3RS.js +28 -28
- package/dist/__chunks/37CQV3RS.js.map +1 -1
- package/dist/__chunks/3F5U7W73.cjs +31 -0
- package/dist/__chunks/3F5U7W73.cjs.map +1 -0
- package/dist/__chunks/{A7UVLRKG.mjs → 3HVG5AGO.cjs} +5 -5
- package/dist/__chunks/3HVG5AGO.cjs.map +1 -0
- package/dist/__chunks/3TXXNWWA.cjs +14 -0
- package/dist/__chunks/3TXXNWWA.cjs.map +1 -0
- package/dist/__chunks/3VUMTAUX.js +22 -22
- package/dist/__chunks/3VUMTAUX.js.map +1 -1
- package/dist/__chunks/42YPEAFS.js +10 -10
- package/dist/__chunks/42YPEAFS.js.map +1 -1
- package/dist/__chunks/4ICD552D.cjs +31 -0
- package/dist/__chunks/4ICD552D.cjs.map +1 -0
- package/dist/__chunks/4PWSK5GI.js +4 -4
- package/dist/__chunks/4PWSK5GI.js.map +1 -1
- package/dist/__chunks/5AR53MHD.js +1 -1
- package/dist/__chunks/5AR53MHD.js.map +1 -1
- package/dist/__chunks/5DBWL6IK.js +4 -4
- package/dist/__chunks/5DBWL6IK.js.map +1 -1
- package/dist/__chunks/6VWFOSQZ.js +6 -6
- package/dist/__chunks/6VWFOSQZ.js.map +1 -1
- package/dist/__chunks/{3PCHHAIY.mjs → 7GJ2SD7O.cjs} +5 -5
- package/dist/__chunks/7GJ2SD7O.cjs.map +1 -0
- package/dist/__chunks/AFINOME7.js +6 -6
- package/dist/__chunks/AFINOME7.js.map +1 -1
- package/dist/__chunks/{BCWLWS7W.mjs → ARYAYAXH.cjs} +18 -18
- package/dist/__chunks/ARYAYAXH.cjs.map +1 -0
- package/dist/__chunks/BSFWQWVJ.js +9 -9
- package/dist/__chunks/BSFWQWVJ.js.map +1 -1
- package/dist/__chunks/BSWWGQAS.js +33 -33
- package/dist/__chunks/BSWWGQAS.js.map +1 -1
- package/dist/__chunks/{RDGPEEEH.mjs → C5IESDXE.cjs} +26 -26
- package/dist/__chunks/C5IESDXE.cjs.map +1 -0
- package/dist/__chunks/CATJI2RJ.js +11 -11
- package/dist/__chunks/CATJI2RJ.js.map +1 -1
- package/dist/__chunks/{MX7C572C.mjs → CEWOAFV2.cjs} +10 -10
- package/dist/__chunks/CEWOAFV2.cjs.map +1 -0
- package/dist/__chunks/{OQ26OWU4.mjs → CGUZFFJ2.cjs} +29 -29
- package/dist/__chunks/CGUZFFJ2.cjs.map +1 -0
- package/dist/__chunks/CQ2HIJ62.js +9 -9
- package/dist/__chunks/CQ2HIJ62.js.map +1 -1
- package/dist/__chunks/CWNH5WDG.cjs +73 -0
- package/dist/__chunks/CWNH5WDG.cjs.map +1 -0
- package/dist/__chunks/{LKQ7PJ4S.mjs → CY6YL5T4.cjs} +26 -26
- package/dist/__chunks/CY6YL5T4.cjs.map +1 -0
- package/dist/__chunks/D24RSGYP.js +4 -4
- package/dist/__chunks/D24RSGYP.js.map +1 -1
- package/dist/__chunks/ERJ5XXDH.js +37 -37
- package/dist/__chunks/ERJ5XXDH.js.map +1 -1
- package/dist/__chunks/ERXGNP37.js +4 -4
- package/dist/__chunks/ERXGNP37.js.map +1 -1
- package/dist/__chunks/{LZSDWT4M.mjs → EXYF6BLV.cjs} +33 -33
- package/dist/__chunks/{LZSDWT4M.mjs.map → EXYF6BLV.cjs.map} +1 -1
- package/dist/__chunks/F3ZST4RL.js +17 -17
- package/dist/__chunks/F3ZST4RL.js.map +1 -1
- package/dist/__chunks/FOTKCGZZ.js +16 -16
- package/dist/__chunks/FOTKCGZZ.js.map +1 -1
- package/dist/__chunks/FZRIE7EX.cjs +14 -0
- package/dist/__chunks/FZRIE7EX.cjs.map +1 -0
- package/dist/__chunks/G4DDTGDI.js +14 -14
- package/dist/__chunks/G4DDTGDI.js.map +1 -1
- package/dist/__chunks/G6TO2NCY.js +16 -16
- package/dist/__chunks/G6TO2NCY.js.map +1 -1
- package/dist/__chunks/GBJX7OPK.cjs +53 -0
- package/dist/__chunks/GBJX7OPK.cjs.map +1 -0
- package/dist/__chunks/GKECCWR3.cjs +14 -0
- package/dist/__chunks/GKECCWR3.cjs.map +1 -0
- package/dist/__chunks/GPS2XNQI.js +51 -51
- package/dist/__chunks/GPS2XNQI.js.map +1 -1
- package/dist/__chunks/GPWBSPBL.js +25 -25
- package/dist/__chunks/GPWBSPBL.js.map +1 -1
- package/dist/__chunks/{FCX7QDZS.mjs → GVEA7SLQ.cjs} +8 -8
- package/dist/__chunks/GVEA7SLQ.cjs.map +1 -0
- package/dist/__chunks/HOUO3WV6.js +6 -6
- package/dist/__chunks/HOUO3WV6.js.map +1 -1
- package/dist/__chunks/HQVZUEWO.js +4 -4
- package/dist/__chunks/HQVZUEWO.js.map +1 -1
- package/dist/__chunks/{CUDAH5IW.mjs → I64JGYX7.cjs} +7 -7
- package/dist/__chunks/I64JGYX7.cjs.map +1 -0
- package/dist/__chunks/{MZEIZAZH.mjs → IFJ2YOEG.cjs} +10 -10
- package/dist/__chunks/IFJ2YOEG.cjs.map +1 -0
- package/dist/__chunks/{GHUSRGIN.js → IVRMVGR2.cjs} +12 -12
- package/dist/__chunks/{GHUSRGIN.js.map → IVRMVGR2.cjs.map} +1 -1
- package/dist/__chunks/JMKXHLVZ.cjs +41 -0
- package/dist/__chunks/JMKXHLVZ.cjs.map +1 -0
- package/dist/__chunks/LJHH6KUW.js +8 -8
- package/dist/__chunks/LJHH6KUW.js.map +1 -1
- package/dist/__chunks/LTM57QMY.cjs +7 -0
- package/dist/__chunks/LTM57QMY.cjs.map +1 -0
- package/dist/__chunks/LULBCTQR.js +6 -6
- package/dist/__chunks/LULBCTQR.js.map +1 -1
- package/dist/__chunks/{LTFV2ABG.mjs → MUHQ73PC.cjs} +28 -28
- package/dist/__chunks/MUHQ73PC.cjs.map +1 -0
- package/dist/__chunks/{5R6HCJP6.mjs → N3EZP6VG.cjs} +23 -23
- package/dist/__chunks/N3EZP6VG.cjs.map +1 -0
- package/dist/__chunks/{JSEHOGL7.mjs → NGUJFGAC.cjs} +5 -5
- package/dist/__chunks/NGUJFGAC.cjs.map +1 -0
- package/dist/__chunks/NHSTGALH.cjs +110 -0
- package/dist/__chunks/NHSTGALH.cjs.map +1 -0
- package/dist/__chunks/OGJDUOWP.js +7 -7
- package/dist/__chunks/OGJDUOWP.js.map +1 -1
- package/dist/__chunks/{HAZN2FCY.mjs → PBOQIXCB.cjs} +9 -9
- package/dist/__chunks/PBOQIXCB.cjs.map +1 -0
- package/dist/__chunks/{UCMB6MFN.mjs → PBWG2BB5.cjs} +7 -7
- package/dist/__chunks/PBWG2BB5.cjs.map +1 -0
- package/dist/__chunks/PQIPUPQ2.cjs +26 -0
- package/dist/__chunks/PQIPUPQ2.cjs.map +1 -0
- package/dist/__chunks/PYNS67IV.js +25 -25
- package/dist/__chunks/PYNS67IV.js.map +1 -1
- package/dist/__chunks/REM5SMMZ.js +26 -26
- package/dist/__chunks/REM5SMMZ.js.map +1 -1
- package/dist/__chunks/{FWVHWU47.mjs → RLYKYCEU.cjs} +5 -5
- package/dist/__chunks/RLYKYCEU.cjs.map +1 -0
- package/dist/__chunks/SAEVPDUP.js +4 -4
- package/dist/__chunks/SAEVPDUP.js.map +1 -1
- package/dist/__chunks/{PGVLU6C3.mjs → SJFWRAOP.cjs} +11 -11
- package/dist/__chunks/SJFWRAOP.cjs.map +1 -0
- package/dist/__chunks/TBAJ7VLZ.cjs +12 -0
- package/dist/__chunks/TBAJ7VLZ.cjs.map +1 -0
- package/dist/__chunks/{XN5AALLC.mjs → TEJLBWXV.cjs} +5 -5
- package/dist/__chunks/TEJLBWXV.cjs.map +1 -0
- package/dist/__chunks/THEUR2KP.cjs +120 -0
- package/dist/__chunks/THEUR2KP.cjs.map +1 -0
- package/dist/__chunks/TKYRBLSM.js +33 -33
- package/dist/__chunks/TKYRBLSM.js.map +1 -1
- package/dist/__chunks/TPMQI44L.js +4 -4
- package/dist/__chunks/TPMQI44L.js.map +1 -1
- package/dist/__chunks/UNIBFDXV.js +23 -23
- package/dist/__chunks/UNIBFDXV.js.map +1 -1
- package/dist/__chunks/VUANIQYP.cjs +1 -0
- package/dist/__chunks/VUANIQYP.cjs.map +1 -0
- package/dist/__chunks/{UCVYFO4M.mjs → WHMEF44N.js} +6 -6
- package/dist/__chunks/{UCVYFO4M.mjs.map → WHMEF44N.js.map} +1 -1
- package/dist/__chunks/X74O4HUS.js +32 -32
- package/dist/__chunks/X74O4HUS.js.map +1 -1
- package/dist/__chunks/X7UNBJA5.js +27 -27
- package/dist/__chunks/X7UNBJA5.js.map +1 -1
- package/dist/__chunks/{CGGEM6XS.mjs → XBWCYGQ2.cjs} +38 -38
- package/dist/__chunks/XBWCYGQ2.cjs.map +1 -0
- package/dist/__chunks/{BWTLHCW3.mjs → XLVKNLN7.cjs} +34 -34
- package/dist/__chunks/XLVKNLN7.cjs.map +1 -0
- package/dist/__chunks/{X3PMVSGX.mjs → YGVUSAB6.cjs} +27 -27
- package/dist/__chunks/YGVUSAB6.cjs.map +1 -0
- package/dist/__chunks/YJ7YDIGB.js +7 -7
- package/dist/__chunks/YJ7YDIGB.js.map +1 -1
- package/dist/colors/{allColors.mjs → allColors.cjs} +5 -5
- package/dist/colors/allColors.cjs.map +1 -0
- package/dist/colors/allColors.js +4 -4
- package/dist/colors/allColors.js.map +1 -1
- package/dist/colors/backgroundColor.cjs +10 -0
- package/dist/colors/backgroundColor.cjs.map +1 -0
- package/dist/colors/backgroundColor.js +9 -9
- package/dist/colors/backgroundColor.js.map +1 -1
- package/dist/colors/foregroundColor.cjs +10 -0
- package/dist/colors/foregroundColor.cjs.map +1 -0
- package/dist/colors/foregroundColor.js +9 -9
- package/dist/colors/foregroundColor.js.map +1 -1
- package/dist/colors/foregroundTypographyColor.cjs +8 -0
- package/dist/colors/foregroundTypographyColor.cjs.map +1 -0
- package/dist/colors/foregroundTypographyColor.js +7 -7
- package/dist/colors/foregroundTypographyColor.js.map +1 -1
- package/dist/{constants.mjs → constants.cjs} +6 -6
- package/dist/constants.cjs.map +1 -0
- package/dist/constants.js +5 -5
- package/dist/constants.js.map +1 -1
- package/dist/index.cjs +102 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +101 -101
- package/dist/index.js.map +1 -1
- package/dist/useFocusVisible.cjs +8 -0
- package/dist/useFocusVisible.cjs.map +1 -0
- package/dist/useFocusVisible.js +7 -7
- package/dist/useFocusVisible.js.map +1 -1
- package/dist/useIsHydrated.cjs +8 -0
- package/dist/useIsHydrated.cjs.map +1 -0
- package/dist/useIsHydrated.js +7 -7
- package/dist/useIsHydrated.js.map +1 -1
- package/package.json +5 -4
- package/dist/Avatar/Avatar.mjs +0 -13
- package/dist/Avatar/Avatar.mjs.map +0 -1
- package/dist/AvatarGroup/AvatarGroup.mjs +0 -14
- package/dist/AvatarGroup/AvatarGroup.mjs.map +0 -1
- package/dist/Badge/Badge.mjs +0 -13
- package/dist/Badge/Badge.mjs.map +0 -1
- package/dist/Box/Box.mjs +0 -11
- package/dist/Box/Box.mjs.map +0 -1
- package/dist/Button/Button.mjs +0 -21
- package/dist/Button/Button.mjs.map +0 -1
- package/dist/Button/constants/iconSize.mjs +0 -8
- package/dist/Button/constants/iconSize.mjs.map +0 -1
- package/dist/Button/constants/loadingIconSize.mjs +0 -8
- package/dist/Button/constants/loadingIconSize.mjs.map +0 -1
- package/dist/Button/constants/textVariant.mjs +0 -8
- package/dist/Button/constants/textVariant.mjs.map +0 -1
- package/dist/ButtonGroup/ButtonGroup.mjs +0 -8
- package/dist/ButtonGroup/ButtonGroup.mjs.map +0 -1
- package/dist/Card/Card.mjs +0 -12
- package/dist/Card/Card.mjs.map +0 -1
- package/dist/Checkbox/Checkbox.mjs +0 -14
- package/dist/Checkbox/Checkbox.mjs.map +0 -1
- package/dist/Chip/Chip.mjs +0 -14
- package/dist/Chip/Chip.mjs.map +0 -1
- package/dist/Divider/Divider.mjs +0 -8
- package/dist/Divider/Divider.mjs.map +0 -1
- package/dist/Heading/Heading.mjs +0 -11
- package/dist/Heading/Heading.mjs.map +0 -1
- package/dist/IconButton/IconButton.mjs +0 -13
- package/dist/IconButton/IconButton.mjs.map +0 -1
- package/dist/LinkButton/LinkButton.mjs +0 -17
- package/dist/LinkButton/LinkButton.mjs.map +0 -1
- package/dist/Modal/FocusTrap.mjs +0 -8
- package/dist/Modal/FocusTrap.mjs.map +0 -1
- package/dist/Modal/Layer.mjs +0 -12
- package/dist/Modal/Layer.mjs.map +0 -1
- package/dist/Modal/Modal.mjs +0 -17
- package/dist/Modal/Modal.mjs.map +0 -1
- package/dist/Modal/StopScroll.mjs +0 -8
- package/dist/Modal/StopScroll.mjs.map +0 -1
- package/dist/RadioButton/RadioButton.mjs +0 -14
- package/dist/RadioButton/RadioButton.mjs.map +0 -1
- package/dist/SelectList/SelectList.mjs +0 -15
- package/dist/SelectList/SelectList.mjs.map +0 -1
- package/dist/SelectList/SelectOption.mjs +0 -8
- package/dist/SelectList/SelectOption.mjs.map +0 -1
- package/dist/TapArea/TapArea.mjs +0 -10
- package/dist/TapArea/TapArea.mjs.map +0 -1
- package/dist/TextArea/TextArea.mjs +0 -15
- package/dist/TextArea/TextArea.mjs.map +0 -1
- package/dist/TextField/TextField.mjs +0 -15
- package/dist/TextField/TextField.mjs.map +0 -1
- package/dist/Typography/Typography.mjs +0 -10
- package/dist/Typography/Typography.mjs.map +0 -1
- package/dist/__chunks/3PCHHAIY.mjs.map +0 -1
- package/dist/__chunks/5R6HCJP6.mjs.map +0 -1
- package/dist/__chunks/A7UVLRKG.mjs.map +0 -1
- package/dist/__chunks/AMBZXKUQ.mjs +0 -12
- package/dist/__chunks/AMBZXKUQ.mjs.map +0 -1
- package/dist/__chunks/BCWLWS7W.mjs.map +0 -1
- package/dist/__chunks/BJXYKZMK.mjs +0 -53
- package/dist/__chunks/BJXYKZMK.mjs.map +0 -1
- package/dist/__chunks/BWTLHCW3.mjs.map +0 -1
- package/dist/__chunks/CGGEM6XS.mjs.map +0 -1
- package/dist/__chunks/CPBWDVD4.mjs +0 -110
- package/dist/__chunks/CPBWDVD4.mjs.map +0 -1
- package/dist/__chunks/CUDAH5IW.mjs.map +0 -1
- package/dist/__chunks/DVVFHZBW.mjs +0 -120
- package/dist/__chunks/DVVFHZBW.mjs.map +0 -1
- package/dist/__chunks/EKJ4XOIM.mjs +0 -12
- package/dist/__chunks/EKJ4XOIM.mjs.map +0 -1
- package/dist/__chunks/FCX7QDZS.mjs.map +0 -1
- package/dist/__chunks/FWVHWU47.mjs.map +0 -1
- package/dist/__chunks/GVNDZZAU.mjs +0 -14
- package/dist/__chunks/GVNDZZAU.mjs.map +0 -1
- package/dist/__chunks/HAZN2FCY.mjs.map +0 -1
- package/dist/__chunks/IXDA4ZXP.mjs +0 -1
- package/dist/__chunks/IXDA4ZXP.mjs.map +0 -1
- package/dist/__chunks/JSEHOGL7.mjs.map +0 -1
- package/dist/__chunks/LKQ7PJ4S.mjs.map +0 -1
- package/dist/__chunks/LTFV2ABG.mjs.map +0 -1
- package/dist/__chunks/MX7C572C.mjs.map +0 -1
- package/dist/__chunks/MZEIZAZH.mjs.map +0 -1
- package/dist/__chunks/OQ26OWU4.mjs.map +0 -1
- package/dist/__chunks/PGVLU6C3.mjs.map +0 -1
- package/dist/__chunks/Q2TIB7ZC.mjs +0 -26
- package/dist/__chunks/Q2TIB7ZC.mjs.map +0 -1
- package/dist/__chunks/R6CDK4GP.mjs +0 -31
- package/dist/__chunks/R6CDK4GP.mjs.map +0 -1
- package/dist/__chunks/RDGPEEEH.mjs.map +0 -1
- package/dist/__chunks/RPJTOFY4.mjs +0 -41
- package/dist/__chunks/RPJTOFY4.mjs.map +0 -1
- package/dist/__chunks/RSU3GDHB.mjs +0 -73
- package/dist/__chunks/RSU3GDHB.mjs.map +0 -1
- package/dist/__chunks/RVT6EXR3.mjs +0 -31
- package/dist/__chunks/RVT6EXR3.mjs.map +0 -1
- package/dist/__chunks/SXTRSFG5.mjs +0 -14
- package/dist/__chunks/SXTRSFG5.mjs.map +0 -1
- package/dist/__chunks/UCMB6MFN.mjs.map +0 -1
- package/dist/__chunks/WJDAVT5R.mjs +0 -7
- package/dist/__chunks/WJDAVT5R.mjs.map +0 -1
- package/dist/__chunks/X3PMVSGX.mjs.map +0 -1
- package/dist/__chunks/XFKGXL73.mjs +0 -14
- package/dist/__chunks/XFKGXL73.mjs.map +0 -1
- package/dist/__chunks/XN5AALLC.mjs.map +0 -1
- package/dist/colors/allColors.mjs.map +0 -1
- package/dist/colors/backgroundColor.mjs +0 -10
- package/dist/colors/backgroundColor.mjs.map +0 -1
- package/dist/colors/foregroundColor.mjs +0 -10
- package/dist/colors/foregroundColor.mjs.map +0 -1
- package/dist/colors/foregroundTypographyColor.mjs +0 -8
- package/dist/colors/foregroundTypographyColor.mjs.map +0 -1
- package/dist/constants.mjs.map +0 -1
- package/dist/index.mjs +0 -102
- package/dist/index.mjs.map +0 -1
- package/dist/useFocusVisible.mjs +0 -8
- package/dist/useFocusVisible.mjs.map +0 -1
- package/dist/useIsHydrated.mjs +0 -8
- package/dist/useIsHydrated.mjs.map +0 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import {
|
|
2
|
+
textVariant_default
|
|
3
|
+
} from "./5DBWL6IK.js";
|
|
4
|
+
import {
|
|
5
|
+
iconSize_default
|
|
6
|
+
} from "./4PWSK5GI.js";
|
|
7
|
+
import {
|
|
8
|
+
Typography_default
|
|
9
|
+
} from "./F3ZST4RL.js";
|
|
10
|
+
import {
|
|
11
|
+
foregroundTypographyColor
|
|
12
|
+
} from "./HQVZUEWO.js";
|
|
13
|
+
import {
|
|
14
|
+
foregroundColor
|
|
15
|
+
} from "./CATJI2RJ.js";
|
|
16
|
+
import {
|
|
17
|
+
backgroundColor
|
|
18
|
+
} from "./G4DDTGDI.js";
|
|
19
19
|
|
|
20
20
|
// src/LinkButton/LinkButton.tsx
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
import { forwardRef } from "react";
|
|
22
|
+
import classNames from "classnames";
|
|
23
23
|
|
|
24
24
|
// css-module:../Button/Button.module.css#css-module
|
|
25
25
|
var Button_module_default = { "button": "_button_1iunh_1", "buttonGap": "_buttonGap_1iunh_9", "fullWidth": "_fullWidth_1iunh_50", "sm": "_sm_1iunh_54", "md": "_md_1iunh_61", "lg": "_lg_1iunh_68", "icon": "_icon_1iunh_75", "smIcon": "_smIcon_1iunh_79", "mdIcon": "_mdIcon_1iunh_86", "lgIcon": "_lgIcon_1iunh_93", "secondaryBorder": "_secondaryBorder_1iunh_100", "secondaryDestructiveBorder": "_secondaryDestructiveBorder_1iunh_104", "loading": "_loading_1iunh_118", "syntaxButtonLoadingRotate": "_syntaxButtonLoadingRotate_1iunh_1", "loadingCircle": "_loadingCircle_1iunh_122" };
|
|
@@ -28,8 +28,8 @@ var Button_module_default = { "button": "_button_1iunh_1", "buttonGap": "_button
|
|
|
28
28
|
var LinkButton_module_default = { "linkButton": "_linkButton_1qjrb_1", "fitContent": "_fitContent_1qjrb_11" };
|
|
29
29
|
|
|
30
30
|
// src/LinkButton/LinkButton.tsx
|
|
31
|
-
|
|
32
|
-
var LinkButton =
|
|
31
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
32
|
+
var LinkButton = forwardRef(
|
|
33
33
|
({
|
|
34
34
|
text,
|
|
35
35
|
href,
|
|
@@ -43,7 +43,7 @@ var LinkButton = _react.forwardRef.call(void 0,
|
|
|
43
43
|
endIcon: EndIcon,
|
|
44
44
|
onClick
|
|
45
45
|
}, ref) => {
|
|
46
|
-
return /* @__PURE__ */
|
|
46
|
+
return /* @__PURE__ */ jsxs(
|
|
47
47
|
"a",
|
|
48
48
|
{
|
|
49
49
|
href,
|
|
@@ -51,11 +51,11 @@ var LinkButton = _react.forwardRef.call(void 0,
|
|
|
51
51
|
target,
|
|
52
52
|
ref,
|
|
53
53
|
rel,
|
|
54
|
-
className:
|
|
54
|
+
className: classNames(
|
|
55
55
|
LinkButton_module_default.linkButton,
|
|
56
56
|
Button_module_default.button,
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
foregroundColor(color),
|
|
58
|
+
backgroundColor(color),
|
|
59
59
|
Button_module_default[size],
|
|
60
60
|
{
|
|
61
61
|
[Button_module_default.fullWidth]: fullWidth,
|
|
@@ -67,21 +67,21 @@ var LinkButton = _react.forwardRef.call(void 0,
|
|
|
67
67
|
),
|
|
68
68
|
onClick,
|
|
69
69
|
children: [
|
|
70
|
-
StartIcon && /* @__PURE__ */
|
|
70
|
+
StartIcon && /* @__PURE__ */ jsx(
|
|
71
71
|
StartIcon,
|
|
72
72
|
{
|
|
73
|
-
className:
|
|
73
|
+
className: classNames(Button_module_default.icon, iconSize_default[size])
|
|
74
74
|
}
|
|
75
75
|
),
|
|
76
|
-
/* @__PURE__ */
|
|
77
|
-
|
|
76
|
+
/* @__PURE__ */ jsx(
|
|
77
|
+
Typography_default,
|
|
78
78
|
{
|
|
79
|
-
color:
|
|
80
|
-
size:
|
|
81
|
-
children: /* @__PURE__ */
|
|
79
|
+
color: foregroundTypographyColor(color),
|
|
80
|
+
size: textVariant_default[size],
|
|
81
|
+
children: /* @__PURE__ */ jsx("span", { style: { fontWeight: 500 }, children: text })
|
|
82
82
|
}
|
|
83
83
|
),
|
|
84
|
-
EndIcon && /* @__PURE__ */
|
|
84
|
+
EndIcon && /* @__PURE__ */ jsx(EndIcon, { className: classNames(Button_module_default.icon, iconSize_default[size]) })
|
|
85
85
|
]
|
|
86
86
|
}
|
|
87
87
|
);
|
|
@@ -90,7 +90,7 @@ var LinkButton = _react.forwardRef.call(void 0,
|
|
|
90
90
|
LinkButton.displayName = "LinkButton";
|
|
91
91
|
var LinkButton_default = LinkButton;
|
|
92
92
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
export {
|
|
94
|
+
LinkButton_default
|
|
95
|
+
};
|
|
96
96
|
//# sourceMappingURL=ERJ5XXDH.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/LinkButton/LinkButton.tsx","css-module:../Button/Button.module.css#css-module","css-module:./LinkButton.module.css#css-module"],"
|
|
1
|
+
{"version":3,"sources":["../../src/LinkButton/LinkButton.tsx","css-module:../Button/Button.module.css#css-module","css-module:./LinkButton.module.css#css-module"],"sourcesContent":["import { forwardRef, type HtmlHTMLAttributes } from \"react\";\nimport classNames from \"classnames\";\nimport backgroundColor from \"../colors/backgroundColor\";\nimport foregroundColor from \"../colors/foregroundColor\";\nimport foregroundTypographyColor from \"../colors/foregroundTypographyColor\";\nimport React from \"react\";\nimport { type Size } from \"../constants\";\nimport Typography from \"../Typography/Typography\";\n\nimport buttonStyles from \"../Button/Button.module.css\";\nimport iconSize from \"../Button/constants/iconSize\";\nimport textVariant from \"../Button/constants/textVariant\";\n\nimport styles from \"./LinkButton.module.css\";\n\ntype LinkButtonProps = {\n /**\n * Test id for the button\n */\n \"data-testid\"?: string;\n /**\n * The text to be displayed inside the button\n */\n text: string;\n /**\n * The link that the LinkButton should route to.\n *\n */\n href?: string;\n /**\n * The target attribute specifies where to open the linked document.\n *\n */\n target?: \"_blank\" | \"_self\" | \"_parent\" | \"_top\";\n /**\n * The rel attribute specifies the relationship between the document and the link.\n *\n */\n rel?: HtmlHTMLAttributes<HTMLAnchorElement>[\"rel\"];\n /**\n * The color of the button\n *\n * @defaultValue \"primary\"\n */\n color?:\n | \"primary\"\n | \"secondary\"\n | \"tertiary\"\n | \"destructive-primary\"\n | \"destructive-secondary\"\n | \"destructive-tertiary\"\n | \"branded\"\n | \"success\";\n /**\n * The size of the button\n *\n * * `sm`: 32px\n * * `md`: 40px\n * * `lg`: 48px\n *\n * @defaultValue \"md\"\n */\n size?: (typeof Size)[number];\n /**\n * If `true`, the button will take up the full width of its container\n *\n * @defaultValue false\n */\n fullWidth?: boolean;\n /**\n * The icon to be displayed at the start of the button. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)\n */\n startIcon?: React.ComponentType<{ className?: string }>;\n /**\n * The icon to be displayed at the end of the button. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)\n */\n endIcon?: React.ComponentType<{ className?: string }>;\n /**\n * An optional onClick event. This is used for certain wrapper's support (such as react-router-dom).\n */\n onClick?: React.MouseEventHandler<HTMLAnchorElement>;\n};\n\n/**\n * [LinkButton](https://cambly-syntax.vercel.app/?path=/docs/components-linkbutton--docs) is a \"variation\" of Button that should look identical to Button, but should be used to render links instead.\n */\nconst LinkButton = forwardRef<HTMLAnchorElement, LinkButtonProps>(\n (\n {\n text,\n href,\n target,\n rel,\n \"data-testid\": dataTestId,\n color = \"primary\",\n size = \"md\",\n fullWidth = false,\n startIcon: StartIcon,\n endIcon: EndIcon,\n onClick,\n }: LinkButtonProps,\n ref,\n ) => {\n return (\n <a\n href={href}\n data-testid={dataTestId}\n target={target}\n ref={ref}\n rel={rel}\n className={classNames(\n styles.linkButton,\n buttonStyles.button,\n foregroundColor(color),\n backgroundColor(color),\n buttonStyles[size],\n {\n [buttonStyles.fullWidth]: fullWidth,\n [styles.fitContent]: !fullWidth,\n [buttonStyles.buttonGap]: size === \"lg\" || size === \"md\",\n [buttonStyles.secondaryBorder]: color === \"secondary\",\n [buttonStyles.secondaryDestructiveBorder]:\n color === \"destructive-secondary\",\n },\n )}\n onClick={onClick}\n >\n {StartIcon && (\n <StartIcon\n className={classNames(buttonStyles.icon, iconSize[size])}\n />\n )}\n <Typography\n color={foregroundTypographyColor(color)}\n size={textVariant[size]}\n >\n <span style={{ fontWeight: 500 }}>{text}</span>\n </Typography>\n {EndIcon && (\n <EndIcon className={classNames(buttonStyles.icon, iconSize[size])} />\n )}\n </a>\n );\n },\n);\n\nLinkButton.displayName = \"LinkButton\";\n\nexport default LinkButton;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Button/Button.module.css\"; export default {\"button\":\"_button_1iunh_1\",\"buttonGap\":\"_buttonGap_1iunh_9\",\"fullWidth\":\"_fullWidth_1iunh_50\",\"sm\":\"_sm_1iunh_54\",\"md\":\"_md_1iunh_61\",\"lg\":\"_lg_1iunh_68\",\"icon\":\"_icon_1iunh_75\",\"smIcon\":\"_smIcon_1iunh_79\",\"mdIcon\":\"_mdIcon_1iunh_86\",\"lgIcon\":\"_lgIcon_1iunh_93\",\"secondaryBorder\":\"_secondaryBorder_1iunh_100\",\"secondaryDestructiveBorder\":\"_secondaryDestructiveBorder_1iunh_104\",\"loading\":\"_loading_1iunh_118\",\"syntaxButtonLoadingRotate\":\"_syntaxButtonLoadingRotate_1iunh_1\",\"loadingCircle\":\"_loadingCircle_1iunh_122\"}","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/LinkButton/LinkButton.module.css\"; export default {\"linkButton\":\"_linkButton_1qjrb_1\",\"fitContent\":\"_fitContent_1qjrb_11\"}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,SAAS,kBAA2C;AACpD,OAAO,gBAAgB;;;ACDqE,IAAO,wBAAQ,EAAC,UAAS,mBAAkB,aAAY,sBAAqB,aAAY,uBAAsB,MAAK,gBAAe,MAAK,gBAAe,MAAK,gBAAe,QAAO,kBAAiB,UAAS,oBAAmB,UAAS,oBAAmB,UAAS,oBAAmB,mBAAkB,8BAA6B,8BAA6B,yCAAwC,WAAU,sBAAqB,6BAA4B,sCAAqC,iBAAgB,2BAA0B;;;ACA5gB,IAAO,4BAAQ,EAAC,cAAa,uBAAsB,cAAa,uBAAsB;;;AFwGpL,SAwBI,KAxBJ;AAlBN,IAAM,aAAa;AAAA,EACjB,CACE;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,eAAe;AAAA,IACf,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,YAAY;AAAA,IACZ,WAAW;AAAA,IACX,SAAS;AAAA,IACT;AAAA,EACF,GACA,QACG;AACH,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,eAAa;AAAA,QACb;AAAA,QACA;AAAA,QACA;AAAA,QACA,WAAW;AAAA,UACT,0BAAO;AAAA,UACP,sBAAa;AAAA,UACb,gBAAgB,KAAK;AAAA,UACrB,gBAAgB,KAAK;AAAA,UACrB,sBAAa,IAAI;AAAA,UACjB;AAAA,YACE,CAAC,sBAAa,SAAS,GAAG;AAAA,YAC1B,CAAC,0BAAO,UAAU,GAAG,CAAC;AAAA,YACtB,CAAC,sBAAa,SAAS,GAAG,SAAS,QAAQ,SAAS;AAAA,YACpD,CAAC,sBAAa,eAAe,GAAG,UAAU;AAAA,YAC1C,CAAC,sBAAa,0BAA0B,GACtC,UAAU;AAAA,UACd;AAAA,QACF;AAAA,QACA;AAAA,QAEC;AAAA,uBACC;AAAA,YAAC;AAAA;AAAA,cACC,WAAW,WAAW,sBAAa,MAAM,iBAAS,IAAI,CAAC;AAAA;AAAA,UACzD;AAAA,UAEF;AAAA,YAAC;AAAA;AAAA,cACC,OAAO,0BAA0B,KAAK;AAAA,cACtC,MAAM,oBAAY,IAAI;AAAA,cAEtB,8BAAC,UAAK,OAAO,EAAE,YAAY,IAAI,GAAI,gBAAK;AAAA;AAAA,UAC1C;AAAA,UACC,WACC,oBAAC,WAAQ,WAAW,WAAW,sBAAa,MAAM,iBAAS,IAAI,CAAC,GAAG;AAAA;AAAA;AAAA,IAEvE;AAAA,EAEJ;AACF;AAEA,WAAW,cAAc;AAEzB,IAAO,qBAAQ;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
// css-module:../colors/colors.module.css#css-module
|
|
2
2
|
var colors_module_default = { "inheritColor": "_inheritColor_11l4y_2", "destructive700Color": "_destructive700Color_11l4y_6", "gray700Color": "_gray700Color_11l4y_10", "gray900Color": "_gray900Color_11l4y_14", "primary700Color": "_primary700Color_11l4y_18", "success700Color": "_success700Color_11l4y_22", "whiteColor": "_whiteColor_11l4y_26", "blackBackgroundColor": "_blackBackgroundColor_11l4y_31", "destructive100BackgroundColor": "_destructive100BackgroundColor_11l4y_35", "destructive200BackgroundColor": "_destructive200BackgroundColor_11l4y_39", "destructive300BackgroundColor": "_destructive300BackgroundColor_11l4y_43", "destructive700BackgroundColor": "_destructive700BackgroundColor_11l4y_47", "destructive800BackgroundColor": "_destructive800BackgroundColor_11l4y_51", "destructive900BackgroundColor": "_destructive900BackgroundColor_11l4y_55", "gray10BackgroundColor": "_gray10BackgroundColor_11l4y_59", "gray30BackgroundColor": "_gray30BackgroundColor_11l4y_63", "gray60BackgroundColor": "_gray60BackgroundColor_11l4y_67", "gray80BackgroundColor": "_gray80BackgroundColor_11l4y_71", "gray100BackgroundColor": "_gray100BackgroundColor_11l4y_75", "gray200BackgroundColor": "_gray200BackgroundColor_11l4y_79", "gray300BackgroundColor": "_gray300BackgroundColor_11l4y_83", "gray700BackgroundColor": "_gray700BackgroundColor_11l4y_87", "gray800BackgroundColor": "_gray800BackgroundColor_11l4y_91", "gray900BackgroundColor": "_gray900BackgroundColor_11l4y_95", "orange100BackgroundColor": "_orange100BackgroundColor_11l4y_99", "orange200BackgroundColor": "_orange200BackgroundColor_11l4y_103", "orange300BackgroundColor": "_orange300BackgroundColor_11l4y_107", "orange700BackgroundColor": "_orange700BackgroundColor_11l4y_111", "orange800BackgroundColor": "_orange800BackgroundColor_11l4y_115", "orange900BackgroundColor": "_orange900BackgroundColor_11l4y_119", "primary100BackgroundColor": "_primary100BackgroundColor_11l4y_123", "primary200BackgroundColor": "_primary200BackgroundColor_11l4y_127", "primary300BackgroundColor": "_primary300BackgroundColor_11l4y_131", "primary700BackgroundColor": "_primary700BackgroundColor_11l4y_135", "primary800BackgroundColor": "_primary800BackgroundColor_11l4y_139", "primary900BackgroundColor": "_primary900BackgroundColor_11l4y_143", "success100BackgroundColor": "_success100BackgroundColor_11l4y_147", "success200BackgroundColor": "_success200BackgroundColor_11l4y_151", "success300BackgroundColor": "_success300BackgroundColor_11l4y_155", "success700BackgroundColor": "_success700BackgroundColor_11l4y_159", "success800BackgroundColor": "_success800BackgroundColor_11l4y_163", "success900BackgroundColor": "_success900BackgroundColor_11l4y_167", "purple100BackgroundColor": "_purple100BackgroundColor_11l4y_171", "purple200BackgroundColor": "_purple200BackgroundColor_11l4y_175", "purple300BackgroundColor": "_purple300BackgroundColor_11l4y_179", "purple700BackgroundColor": "_purple700BackgroundColor_11l4y_183", "purple800BackgroundColor": "_purple800BackgroundColor_11l4y_187", "purple900BackgroundColor": "_purple900BackgroundColor_11l4y_191", "whiteBackgroundColor": "_whiteBackgroundColor_11l4y_195", "yellow100BackgroundColor": "_yellow100BackgroundColor_11l4y_199", "yellow200BackgroundColor": "_yellow200BackgroundColor_11l4y_203", "yellow300BackgroundColor": "_yellow300BackgroundColor_11l4y_207", "yellow700BackgroundColor": "_yellow700BackgroundColor_11l4y_211", "yellow800BackgroundColor": "_yellow800BackgroundColor_11l4y_215", "yellow900BackgroundColor": "_yellow900BackgroundColor_11l4y_219" };
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
export {
|
|
5
|
+
colors_module_default
|
|
6
|
+
};
|
|
7
7
|
//# sourceMappingURL=ERXGNP37.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["css-module:../colors/colors.module.css#css-module"],"
|
|
1
|
+
{"version":3,"sources":["css-module:../colors/colors.module.css#css-module"],"sourcesContent":["import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"inheritColor\":\"_inheritColor_11l4y_2\",\"destructive700Color\":\"_destructive700Color_11l4y_6\",\"gray700Color\":\"_gray700Color_11l4y_10\",\"gray900Color\":\"_gray900Color_11l4y_14\",\"primary700Color\":\"_primary700Color_11l4y_18\",\"success700Color\":\"_success700Color_11l4y_22\",\"whiteColor\":\"_whiteColor_11l4y_26\",\"blackBackgroundColor\":\"_blackBackgroundColor_11l4y_31\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_11l4y_35\",\"destructive200BackgroundColor\":\"_destructive200BackgroundColor_11l4y_39\",\"destructive300BackgroundColor\":\"_destructive300BackgroundColor_11l4y_43\",\"destructive700BackgroundColor\":\"_destructive700BackgroundColor_11l4y_47\",\"destructive800BackgroundColor\":\"_destructive800BackgroundColor_11l4y_51\",\"destructive900BackgroundColor\":\"_destructive900BackgroundColor_11l4y_55\",\"gray10BackgroundColor\":\"_gray10BackgroundColor_11l4y_59\",\"gray30BackgroundColor\":\"_gray30BackgroundColor_11l4y_63\",\"gray60BackgroundColor\":\"_gray60BackgroundColor_11l4y_67\",\"gray80BackgroundColor\":\"_gray80BackgroundColor_11l4y_71\",\"gray100BackgroundColor\":\"_gray100BackgroundColor_11l4y_75\",\"gray200BackgroundColor\":\"_gray200BackgroundColor_11l4y_79\",\"gray300BackgroundColor\":\"_gray300BackgroundColor_11l4y_83\",\"gray700BackgroundColor\":\"_gray700BackgroundColor_11l4y_87\",\"gray800BackgroundColor\":\"_gray800BackgroundColor_11l4y_91\",\"gray900BackgroundColor\":\"_gray900BackgroundColor_11l4y_95\",\"orange100BackgroundColor\":\"_orange100BackgroundColor_11l4y_99\",\"orange200BackgroundColor\":\"_orange200BackgroundColor_11l4y_103\",\"orange300BackgroundColor\":\"_orange300BackgroundColor_11l4y_107\",\"orange700BackgroundColor\":\"_orange700BackgroundColor_11l4y_111\",\"orange800BackgroundColor\":\"_orange800BackgroundColor_11l4y_115\",\"orange900BackgroundColor\":\"_orange900BackgroundColor_11l4y_119\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_11l4y_123\",\"primary200BackgroundColor\":\"_primary200BackgroundColor_11l4y_127\",\"primary300BackgroundColor\":\"_primary300BackgroundColor_11l4y_131\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_11l4y_135\",\"primary800BackgroundColor\":\"_primary800BackgroundColor_11l4y_139\",\"primary900BackgroundColor\":\"_primary900BackgroundColor_11l4y_143\",\"success100BackgroundColor\":\"_success100BackgroundColor_11l4y_147\",\"success200BackgroundColor\":\"_success200BackgroundColor_11l4y_151\",\"success300BackgroundColor\":\"_success300BackgroundColor_11l4y_155\",\"success700BackgroundColor\":\"_success700BackgroundColor_11l4y_159\",\"success800BackgroundColor\":\"_success800BackgroundColor_11l4y_163\",\"success900BackgroundColor\":\"_success900BackgroundColor_11l4y_167\",\"purple100BackgroundColor\":\"_purple100BackgroundColor_11l4y_171\",\"purple200BackgroundColor\":\"_purple200BackgroundColor_11l4y_175\",\"purple300BackgroundColor\":\"_purple300BackgroundColor_11l4y_179\",\"purple700BackgroundColor\":\"_purple700BackgroundColor_11l4y_183\",\"purple800BackgroundColor\":\"_purple800BackgroundColor_11l4y_187\",\"purple900BackgroundColor\":\"_purple900BackgroundColor_11l4y_191\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_11l4y_195\",\"yellow100BackgroundColor\":\"_yellow100BackgroundColor_11l4y_199\",\"yellow200BackgroundColor\":\"_yellow200BackgroundColor_11l4y_203\",\"yellow300BackgroundColor\":\"_yellow300BackgroundColor_11l4y_207\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_11l4y_211\",\"yellow800BackgroundColor\":\"_yellow800BackgroundColor_11l4y_215\",\"yellow900BackgroundColor\":\"_yellow900BackgroundColor_11l4y_219\"}"],"mappings":";AAA4F,IAAO,wBAAQ,EAAC,gBAAe,yBAAwB,uBAAsB,gCAA+B,gBAAe,0BAAyB,gBAAe,0BAAyB,mBAAkB,6BAA4B,mBAAkB,6BAA4B,cAAa,wBAAuB,wBAAuB,kCAAiC,iCAAgC,2CAA0C,iCAAgC,2CAA0C,iCAAgC,2CAA0C,iCAAgC,2CAA0C,iCAAgC,2CAA0C,iCAAgC,2CAA0C,yBAAwB,mCAAkC,yBAAwB,mCAAkC,yBAAwB,mCAAkC,yBAAwB,mCAAkC,0BAAyB,oCAAmC,0BAAyB,oCAAmC,0BAAyB,oCAAmC,0BAAyB,oCAAmC,0BAAyB,oCAAmC,0BAAyB,oCAAmC,4BAA2B,sCAAqC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,wBAAuB,mCAAkC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,sCAAqC;","names":[]}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _LTM57QMYcjs = require('./LTM57QMY.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _ARYAYAXHcjs = require('./ARYAYAXH.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _FZRIE7EXcjs = require('./FZRIE7EX.cjs');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _GVEA7SLQcjs = require('./GVEA7SLQ.cjs');
|
|
13
13
|
|
|
14
14
|
// src/RadioButton/RadioButton.tsx
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
var _react = require('react');
|
|
16
|
+
var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames);
|
|
17
17
|
|
|
18
18
|
// css-module:./RadioButton.module.css#css-module
|
|
19
19
|
var RadioButton_module_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" };
|
|
20
20
|
|
|
21
21
|
// src/RadioButton/RadioButton.tsx
|
|
22
|
-
|
|
22
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
23
23
|
var RadioButton = ({
|
|
24
24
|
checked = false,
|
|
25
25
|
"data-testid": dataTestId,
|
|
@@ -32,19 +32,19 @@ var RadioButton = ({
|
|
|
32
32
|
size = "md",
|
|
33
33
|
value
|
|
34
34
|
}) => {
|
|
35
|
-
const isHydrated = useIsHydrated();
|
|
35
|
+
const isHydrated = _FZRIE7EXcjs.useIsHydrated.call(void 0, );
|
|
36
36
|
const disabled = !isHydrated || disabledProp;
|
|
37
|
-
const [isFocused, setIsFocused] = useState(false);
|
|
38
|
-
const { isFocusVisible } = useFocusVisible();
|
|
39
|
-
const sharedStyles =
|
|
37
|
+
const [isFocused, setIsFocused] = _react.useState.call(void 0, false);
|
|
38
|
+
const { isFocusVisible } = _GVEA7SLQcjs.useFocusVisible.call(void 0, );
|
|
39
|
+
const sharedStyles = _classnames2.default.call(void 0, RadioButton_module_default.background, RadioButton_module_default[size], {
|
|
40
40
|
[RadioButton_module_default.errorBorderColor]: error,
|
|
41
41
|
[RadioButton_module_default.borderColor]: !error,
|
|
42
|
-
[Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible
|
|
42
|
+
[_LTM57QMYcjs.Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible
|
|
43
43
|
});
|
|
44
|
-
return /* @__PURE__ */ jsxs(
|
|
44
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
45
45
|
"label",
|
|
46
46
|
{
|
|
47
|
-
className:
|
|
47
|
+
className: _classnames2.default.call(void 0,
|
|
48
48
|
RadioButton_module_default.radioBaseContainer,
|
|
49
49
|
RadioButton_module_default[`cursor${disabled ? "Disabled" : "Enabled"}`],
|
|
50
50
|
{
|
|
@@ -54,23 +54,23 @@ var RadioButton = ({
|
|
|
54
54
|
}
|
|
55
55
|
),
|
|
56
56
|
children: [
|
|
57
|
-
checked ? /* @__PURE__ */ jsx(
|
|
57
|
+
checked ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
58
58
|
"div",
|
|
59
59
|
{
|
|
60
|
-
className:
|
|
60
|
+
className: _classnames2.default.call(void 0, sharedStyles, {
|
|
61
61
|
[RadioButton_module_default.mdCheckedBorder]: size === "md",
|
|
62
62
|
[RadioButton_module_default.smCheckedBorder]: size === "sm"
|
|
63
63
|
})
|
|
64
64
|
}
|
|
65
|
-
) : /* @__PURE__ */ jsx("div", { className:
|
|
66
|
-
/* @__PURE__ */ jsx(
|
|
65
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _classnames2.default.call(void 0, sharedStyles, RadioButton_module_default.neutralBorder) }),
|
|
66
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
67
67
|
"input",
|
|
68
68
|
{
|
|
69
69
|
"data-testid": dataTestId,
|
|
70
70
|
type: "radio",
|
|
71
71
|
id,
|
|
72
72
|
name,
|
|
73
|
-
className:
|
|
73
|
+
className: _classnames2.default.call(void 0,
|
|
74
74
|
RadioButton_module_default.radioStyleOverride,
|
|
75
75
|
RadioButton_module_default[`cursor${disabled ? "Disabled" : "Enabled"}`],
|
|
76
76
|
{
|
|
@@ -90,8 +90,8 @@ var RadioButton = ({
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
),
|
|
93
|
-
label && /* @__PURE__ */ jsx(
|
|
94
|
-
Typography_default,
|
|
93
|
+
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
94
|
+
_ARYAYAXHcjs.Typography_default,
|
|
95
95
|
{
|
|
96
96
|
size: size === "md" ? 200 : 100,
|
|
97
97
|
color: error ? "destructive-primary" : "gray800",
|
|
@@ -104,7 +104,7 @@ var RadioButton = ({
|
|
|
104
104
|
};
|
|
105
105
|
var RadioButton_default = RadioButton;
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
//# sourceMappingURL=
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
exports.RadioButton_default = RadioButton_default;
|
|
110
|
+
//# sourceMappingURL=EXYF6BLV.cjs.map
|
|
@@ -1 +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\";\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 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}): ReactElement => {\n const isHydrated = useIsHydrated();\n const disabled = !isHydrated || disabledProp;\n const [isFocused, setIsFocused] = useState(false);\n const { isFocusVisible } = useFocusVisible();\n\n const sharedStyles = classnames(styles.background, styles[size], {\n [styles.errorBorderColor]: error,\n [styles.borderColor]: !error,\n [focusStyles.accessibilityOutlineFocus]: isFocused && isFocusVisible,\n });\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 {checked ? (\n <div\n className={classnames(sharedStyles, {\n [styles.mdCheckedBorder]: size === \"md\",\n [styles.smCheckedBorder]: size === \"sm\",\n })}\n />\n ) : (\n <div className={classnames(sharedStyles, styles.neutralBorder)} />\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\" : \"gray800\"}\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\"}"]
|
|
1
|
+
{"version":3,"sources":["../../src/RadioButton/RadioButton.tsx","css-module:./RadioButton.module.css#css-module"],"names":[],"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;;;ADwFrvB,SAYI,KAZJ;AA5EJ,IAAM,cAAc,CAAC;AAAA,EACnB,UAAU;AAAA,EACV,eAAe;AAAA,EACf,UAAU,eAAe;AAAA,EACzB,QAAQ;AAAA,EACR;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO;AAAA,EACP;AACF,MAoDoB;AAClB,QAAM,aAAa,cAAc;AACjC,QAAM,WAAW,CAAC,cAAc;AAChC,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,KAAK;AAChD,QAAM,EAAE,eAAe,IAAI,gBAAgB;AAE3C,QAAM,eAAe,WAAW,2BAAO,YAAY,2BAAO,IAAI,GAAG;AAAA,IAC/D,CAAC,2BAAO,gBAAgB,GAAG;AAAA,IAC3B,CAAC,2BAAO,WAAW,GAAG,CAAC;AAAA,IACvB,CAAC,qBAAY,yBAAyB,GAAG,aAAa;AAAA,EACxD,CAAC;AAED,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,QACT,2BAAO;AAAA,QACP,2BAAO,SAAS,WAAW,aAAa,WAAW;AAAA,QACnD;AAAA,UACE,CAAC,2BAAO,QAAQ,GAAG;AAAA,UACnB,CAAC,2BAAO,MAAM,GAAG,SAAS;AAAA,UAC1B,CAAC,2BAAO,MAAM,GAAG,SAAS;AAAA,QAC5B;AAAA,MACF;AAAA,MAEC;AAAA,kBACC;AAAA,UAAC;AAAA;AAAA,YACC,WAAW,WAAW,cAAc;AAAA,cAClC,CAAC,2BAAO,eAAe,GAAG,SAAS;AAAA,cACnC,CAAC,2BAAO,eAAe,GAAG,SAAS;AAAA,YACrC,CAAC;AAAA;AAAA,QACH,IAEA,oBAAC,SAAI,WAAW,WAAW,cAAc,2BAAO,aAAa,GAAG;AAAA,QAElE;AAAA,UAAC;AAAA;AAAA,YACC,eAAa;AAAA,YACb,MAAK;AAAA,YACL;AAAA,YACA;AAAA,YACA,WAAW;AAAA,cACT,2BAAO;AAAA,cACP,2BAAO,SAAS,WAAW,aAAa,WAAW;AAAA,cACnD;AAAA,gBACE,CAAC,2BAAO,UAAU,GAAG,SAAS;AAAA,gBAC9B,CAAC,2BAAO,UAAU,GAAG,SAAS;AAAA,cAChC;AAAA,YACF;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA,SAAS,MAAM;AACb,2BAAa,IAAI;AAAA,YACnB;AAAA,YACA,QAAQ,MAAM;AACZ,2BAAa,KAAK;AAAA,YACpB;AAAA;AAAA,QACF;AAAA,QACC,SACC;AAAA,UAAC;AAAA;AAAA,YACC,MAAM,SAAS,OAAO,MAAM;AAAA,YAC5B,OAAO,QAAQ,wBAAwB;AAAA,YAEtC;AAAA;AAAA,QACH;AAAA;AAAA;AAAA,EAEJ;AAEJ;AAEA,IAAO,sBAAQ","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\";\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 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}): ReactElement => {\n const isHydrated = useIsHydrated();\n const disabled = !isHydrated || disabledProp;\n const [isFocused, setIsFocused] = useState(false);\n const { isFocusVisible } = useFocusVisible();\n\n const sharedStyles = classnames(styles.background, styles[size], {\n [styles.errorBorderColor]: error,\n [styles.borderColor]: !error,\n [focusStyles.accessibilityOutlineFocus]: isFocused && isFocusVisible,\n });\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 {checked ? (\n <div\n className={classnames(sharedStyles, {\n [styles.mdCheckedBorder]: size === \"md\",\n [styles.smCheckedBorder]: size === \"sm\",\n })}\n />\n ) : (\n <div className={classnames(sharedStyles, styles.neutralBorder)} />\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\" : \"gray800\"}\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\"}"]}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {
|
|
2
|
+
colors_module_default
|
|
3
|
+
} from "./ERXGNP37.js";
|
|
4
4
|
|
|
5
5
|
// src/Typography/Typography.tsx
|
|
6
|
-
|
|
6
|
+
import classNames from "classnames";
|
|
7
7
|
|
|
8
8
|
// css-module:./Typography.module.css#css-module
|
|
9
9
|
var Typography_module_default = { "typography": "_typography_1vnry_1", "size100": "_size100_1vnry_8", "size200": "_size200_1vnry_12", "size300": "_size300_1vnry_16", "size500": "_size500_1vnry_20", "size600": "_size600_1vnry_24", "size700": "_size700_1vnry_28", "size800": "_size800_1vnry_32", "center": "_center_1vnry_37", "forceLeft": "_forceLeft_1vnry_41", "forceRight": "_forceRight_1vnry_45", "start": "_start_1vnry_49", "end": "_end_1vnry_53", "bold": "_bold_1vnry_58", "regular": "_regular_1vnry_62", "interactive": "_interactive_1vnry_66", "semiBold": "_semiBold_1vnry_70", "heavy": "_heavy_1vnry_74", "underline": "_underline_1vnry_78", "inline": "_inline_1vnry_82", "uppercase": "_uppercase_1vnry_86", "lineClamp": "_lineClamp_1vnry_90" };
|
|
10
10
|
|
|
11
11
|
// src/Typography/Typography.tsx
|
|
12
|
-
|
|
12
|
+
import { jsx } from "react/jsx-runtime";
|
|
13
13
|
function textColor(color) {
|
|
14
14
|
switch (color) {
|
|
15
15
|
case "gray700":
|
|
16
|
-
return
|
|
16
|
+
return colors_module_default.gray700Color;
|
|
17
17
|
case "white":
|
|
18
|
-
return
|
|
18
|
+
return colors_module_default.whiteColor;
|
|
19
19
|
case "inherit":
|
|
20
|
-
return
|
|
20
|
+
return colors_module_default.inheritColor;
|
|
21
21
|
case "primary":
|
|
22
|
-
return
|
|
22
|
+
return colors_module_default.primary700Color;
|
|
23
23
|
case "destructive-primary":
|
|
24
|
-
return
|
|
24
|
+
return colors_module_default.destructive700Color;
|
|
25
25
|
case "success":
|
|
26
|
-
return
|
|
26
|
+
return colors_module_default.success700Color;
|
|
27
27
|
default:
|
|
28
|
-
return
|
|
28
|
+
return colors_module_default.gray900Color;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
var Typography = ({
|
|
@@ -43,10 +43,10 @@ var Typography = ({
|
|
|
43
43
|
weight = "regular"
|
|
44
44
|
}) => {
|
|
45
45
|
const Tag = as;
|
|
46
|
-
return /* @__PURE__ */
|
|
46
|
+
return /* @__PURE__ */ jsx(
|
|
47
47
|
Tag,
|
|
48
48
|
{
|
|
49
|
-
className:
|
|
49
|
+
className: classNames(
|
|
50
50
|
Typography_module_default.typography,
|
|
51
51
|
Typography_module_default[align],
|
|
52
52
|
Typography_module_default[weight],
|
|
@@ -68,7 +68,7 @@ var Typography = ({
|
|
|
68
68
|
};
|
|
69
69
|
var Typography_default = Typography;
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
export {
|
|
72
|
+
Typography_default
|
|
73
|
+
};
|
|
74
74
|
//# sourceMappingURL=F3ZST4RL.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Typography/Typography.tsx","css-module:./Typography.module.css#css-module"],"
|
|
1
|
+
{"version":3,"sources":["../../src/Typography/Typography.tsx","css-module:./Typography.module.css#css-module"],"sourcesContent":["import classNames from \"classnames\";\nimport { type ReactElement, type ReactNode } from \"react\";\nimport { type Color } from \"../constants\";\nimport styles from \"./Typography.module.css\";\nimport colorStyles from \"../colors/colors.module.css\";\n\nfunction textColor(color: (typeof Color)[number]): string {\n switch (color) {\n case \"gray700\":\n return colorStyles.gray700Color;\n case \"white\":\n return colorStyles.whiteColor;\n case \"inherit\":\n return colorStyles.inheritColor;\n case \"primary\":\n return colorStyles.primary700Color;\n case \"destructive-primary\":\n return colorStyles.destructive700Color;\n case \"success\":\n return colorStyles.success700Color;\n default:\n return colorStyles.gray900Color;\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 = ({\n align = \"start\",\n as = \"div\",\n children,\n color = \"gray900\",\n \"data-testid\": dataTestId,\n inline = false,\n lineClamp = undefined,\n size = 200,\n tooltip,\n transform = \"none\",\n underline = false,\n weight = \"regular\",\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?: (typeof Color)[number];\n /**\n * Test id for the text\n */\n \"data-testid\"?: 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 * * `100`: 12px\n * * `200`: 14px\n * * `300`: 16px\n * * `500`: 20px\n * * `600`: 28px\n * * `700`: 40px\n * * `800`: 64px\n *\n * @defaultValue 200\n */\n size?: 100 | 200 | 300 | 500 | 600 | 700 | 800;\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 * @defaultValue \"regular\"\n */\n weight?: \"regular\" | \"interactive\" | \"semiBold\" | \"bold\" | \"heavy\";\n}): ReactElement => {\n const Tag = as;\n\n return (\n <Tag\n className={classNames(\n styles.typography,\n styles[align],\n styles[weight],\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 >\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_1vnry_1\",\"size100\":\"_size100_1vnry_8\",\"size200\":\"_size200_1vnry_12\",\"size300\":\"_size300_1vnry_16\",\"size500\":\"_size500_1vnry_20\",\"size600\":\"_size600_1vnry_24\",\"size700\":\"_size700_1vnry_28\",\"size800\":\"_size800_1vnry_32\",\"center\":\"_center_1vnry_37\",\"forceLeft\":\"_forceLeft_1vnry_41\",\"forceRight\":\"_forceRight_1vnry_45\",\"start\":\"_start_1vnry_49\",\"end\":\"_end_1vnry_53\",\"bold\":\"_bold_1vnry_58\",\"regular\":\"_regular_1vnry_62\",\"interactive\":\"_interactive_1vnry_66\",\"semiBold\":\"_semiBold_1vnry_70\",\"heavy\":\"_heavy_1vnry_74\",\"underline\":\"_underline_1vnry_78\",\"inline\":\"_inline_1vnry_82\",\"uppercase\":\"_uppercase_1vnry_86\",\"lineClamp\":\"_lineClamp_1vnry_90\"}"],"mappings":";;;;;AAAA,OAAO,gBAAgB;;;ACA6E,IAAO,4BAAQ,EAAC,cAAa,uBAAsB,WAAU,oBAAmB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,UAAS,oBAAmB,aAAY,uBAAsB,cAAa,wBAAuB,SAAQ,mBAAkB,OAAM,iBAAgB,QAAO,kBAAiB,WAAU,qBAAoB,eAAc,yBAAwB,YAAW,sBAAqB,SAAQ,mBAAkB,aAAY,uBAAsB,UAAS,oBAAmB,aAAY,uBAAsB,aAAY,sBAAqB;;;ADwH7wB;AAlHJ,SAAS,UAAU,OAAuC;AACxD,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;AACE,aAAO,sBAAY;AAAA,EACvB;AACF;AAKA,IAAM,aAAa,CAAC;AAAA,EAClB,QAAQ;AAAA,EACR,KAAK;AAAA,EACL;AAAA,EACA,QAAQ;AAAA,EACR,eAAe;AAAA,EACf,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,OAAO;AAAA,EACP;AAAA,EACA,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,SAAS;AACX,MA2EoB;AAClB,QAAM,MAAM;AAEZ,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,QACT,0BAAO;AAAA,QACP,0BAAO,KAAK;AAAA,QACZ,0BAAO,MAAM;AAAA,QACb,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,MAEN;AAAA;AAAA,EACH;AAEJ;AAEA,IAAO,qBAAQ;","names":[]}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
Box_default
|
|
3
|
+
} from "./PYNS67IV.js";
|
|
4
|
+
import {
|
|
5
|
+
Typography_default
|
|
6
|
+
} from "./F3ZST4RL.js";
|
|
7
7
|
|
|
8
8
|
// css-module:./Badge.module.css#css-module
|
|
9
9
|
var Badge_module_default = { "icon": "_icon_1g9xb_1" };
|
|
10
10
|
|
|
11
11
|
// src/Badge/Badge.tsx
|
|
12
|
-
|
|
12
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
var textColorForBackgroundColor = (color) => {
|
|
14
14
|
switch (color) {
|
|
15
15
|
case "gray200":
|
|
@@ -23,18 +23,18 @@ var Badge = ({
|
|
|
23
23
|
icon: Icon,
|
|
24
24
|
text,
|
|
25
25
|
color = "primary700"
|
|
26
|
-
}) => /* @__PURE__ */
|
|
27
|
-
|
|
26
|
+
}) => /* @__PURE__ */ jsx(
|
|
27
|
+
Box_default,
|
|
28
28
|
{
|
|
29
29
|
display: "inlineBlock",
|
|
30
30
|
paddingX: 2,
|
|
31
31
|
paddingY: 1,
|
|
32
32
|
rounding: "full",
|
|
33
33
|
backgroundColor: color,
|
|
34
|
-
children: /* @__PURE__ */
|
|
35
|
-
Icon && /* @__PURE__ */
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
|
|
34
|
+
children: /* @__PURE__ */ jsx(Typography_default, { color: textColorForBackgroundColor(color), size: 100, children: /* @__PURE__ */ jsxs(Box_default, { display: "flex", gap: 1, alignItems: "center", justifyContent: "start", children: [
|
|
35
|
+
Icon && /* @__PURE__ */ jsx(Icon, { className: Badge_module_default.icon }),
|
|
36
|
+
/* @__PURE__ */ jsx(
|
|
37
|
+
Typography_default,
|
|
38
38
|
{
|
|
39
39
|
color: textColorForBackgroundColor(color),
|
|
40
40
|
size: 100,
|
|
@@ -47,7 +47,7 @@ var Badge = ({
|
|
|
47
47
|
);
|
|
48
48
|
var Badge_default = Badge;
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
export {
|
|
51
|
+
Badge_default
|
|
52
|
+
};
|
|
53
53
|
//# sourceMappingURL=FOTKCGZZ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["css-module:./Badge.module.css#css-module","../../src/Badge/Badge.tsx"],"
|
|
1
|
+
{"version":3,"sources":["css-module:./Badge.module.css#css-module","../../src/Badge/Badge.tsx"],"sourcesContent":["import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Badge/Badge.module.css\"; export default {\"icon\":\"_icon_1g9xb_1\"}","import Typography from \"../Typography/Typography\";\nimport Box from \"../Box/Box\";\nimport styles from \"./Badge.module.css\";\n\nconst BadgeColor = [\n \"gray200\",\n \"gray900\",\n \"destructive700\",\n \"orange700\",\n \"yellow700\",\n \"success700\",\n \"primary700\",\n \"purple700\",\n] as const;\n\nconst textColorForBackgroundColor = (\n color: (typeof BadgeColor)[number],\n): \"gray900\" | \"white\" => {\n switch (color) {\n case \"gray200\":\n case \"yellow700\":\n return \"gray900\";\n default:\n return \"white\";\n }\n};\n\n/**\n * [Badge](https://cambly-syntax.vercel.app/?path=/docs/components-badge--docs) is a component to display short text and give additional context to features and other components.\n */\nconst Badge = ({\n icon: Icon,\n text,\n color = \"primary700\",\n}: {\n /**\n * The icon to be displayed. Please use a [Material Icon](https://material.io/resources/icons/)\n */\n icon?: React.ComponentType<{ className?: string }>;\n /**\n * The text to display inside the badge\n */\n text: string;\n /**\n * The color of the badge\n *\n * @defaultValue \"primary700\"\n */\n color?: (typeof BadgeColor)[number];\n}): JSX.Element => (\n <Box\n display=\"inlineBlock\"\n paddingX={2}\n paddingY={1}\n rounding=\"full\"\n backgroundColor={color}\n >\n <Typography color={textColorForBackgroundColor(color)} size={100}>\n <Box display=\"flex\" gap={1} alignItems=\"center\" justifyContent=\"start\">\n {Icon && <Icon className={styles.icon} />}\n <Typography\n color={textColorForBackgroundColor(color)}\n size={100}\n weight=\"bold\"\n >\n {text}\n </Typography>\n </Box>\n </Typography>\n </Box>\n);\n\nexport default Badge;\n"],"mappings":";;;;;;;;AAA0F,IAAO,uBAAQ,EAAC,QAAO,gBAAe;;;AC0D1H,SACW,KADX;AA3CN,IAAM,8BAA8B,CAClC,UACwB;AACxB,UAAQ,OAAO;AAAA,IACb,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;AAKA,IAAM,QAAQ,CAAC;AAAA,EACb,MAAM;AAAA,EACN;AAAA,EACA,QAAQ;AACV,MAgBE;AAAA,EAAC;AAAA;AAAA,IACC,SAAQ;AAAA,IACR,UAAU;AAAA,IACV,UAAU;AAAA,IACV,UAAS;AAAA,IACT,iBAAiB;AAAA,IAEjB,8BAAC,sBAAW,OAAO,4BAA4B,KAAK,GAAG,MAAM,KAC3D,+BAAC,eAAI,SAAQ,QAAO,KAAK,GAAG,YAAW,UAAS,gBAAe,SAC5D;AAAA,cAAQ,oBAAC,QAAK,WAAW,qBAAO,MAAM;AAAA,MACvC;AAAA,QAAC;AAAA;AAAA,UACC,OAAO,4BAA4B,KAAK;AAAA,UACxC,MAAM;AAAA,UACN,QAAO;AAAA,UAEN;AAAA;AAAA,MACH;AAAA,OACF,GACF;AAAA;AACF;AAGF,IAAO,gBAAQ;","names":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/useIsHydrated.tsx
|
|
2
|
+
var _react = require('react');
|
|
3
|
+
function useIsHydrated() {
|
|
4
|
+
const [isHydrated, setIsHydrated] = _react.useState.call(void 0, false);
|
|
5
|
+
_react.useEffect.call(void 0, () => {
|
|
6
|
+
setIsHydrated(true);
|
|
7
|
+
}, []);
|
|
8
|
+
return isHydrated;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
exports.useIsHydrated = useIsHydrated;
|
|
14
|
+
//# sourceMappingURL=FZRIE7EX.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/useIsHydrated.tsx"],"names":[],"mappings":";AAAA,SAAS,WAAW,gBAAgB;AAErB,SAAR,gBAA0C;AAC/C,QAAM,CAAC,YAAY,aAAa,IAAI,SAAS,KAAK;AAClD,YAAU,MAAM;AACd,kBAAc,IAAI;AAAA,EACpB,GAAG,CAAC,CAAC;AACL,SAAO;AACT","sourcesContent":["import { useEffect, useState } from \"react\";\n\nexport default function useIsHydrated(): boolean {\n const [isHydrated, setIsHydrated] = useState(false);\n useEffect(() => {\n setIsHydrated(true);\n }, []);\n return isHydrated;\n}\n"]}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {
|
|
2
|
+
colors_module_default
|
|
3
|
+
} from "./D24RSGYP.js";
|
|
4
4
|
|
|
5
5
|
// src/colors/backgroundColor.ts
|
|
6
6
|
function backgroundColor(color) {
|
|
7
7
|
switch (color) {
|
|
8
8
|
case "secondary":
|
|
9
|
-
return
|
|
9
|
+
return colors_module_default.primary100BackgroundColor;
|
|
10
10
|
case "destructive-primary":
|
|
11
|
-
return
|
|
11
|
+
return colors_module_default.destructive700BackgroundColor;
|
|
12
12
|
case "destructive-secondary":
|
|
13
|
-
return
|
|
13
|
+
return colors_module_default.destructive100BackgroundColor;
|
|
14
14
|
case "success":
|
|
15
|
-
return
|
|
15
|
+
return colors_module_default.success700BackgroundColor;
|
|
16
16
|
case "tertiary":
|
|
17
17
|
case "destructive-tertiary":
|
|
18
|
-
return
|
|
18
|
+
return colors_module_default.whiteBackgroundColor;
|
|
19
19
|
case "branded":
|
|
20
|
-
return
|
|
20
|
+
return colors_module_default.yellow700BackgroundColor;
|
|
21
21
|
case "inverse":
|
|
22
|
-
return
|
|
22
|
+
return colors_module_default.gray60BackgroundColor;
|
|
23
23
|
default:
|
|
24
|
-
return
|
|
24
|
+
return colors_module_default.primary700BackgroundColor;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
export {
|
|
29
|
+
backgroundColor
|
|
30
|
+
};
|
|
31
31
|
//# sourceMappingURL=G4DDTGDI.js.map
|