@cambly/syntax-core 10.6.0 → 10.7.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Avatar/Avatar.cjs +6 -6
- package/dist/Avatar/Avatar.css +274 -61
- package/dist/Avatar/Avatar.css.map +1 -1
- package/dist/Avatar/Avatar.js +5 -5
- package/dist/Avatar/Avatar.mjs +13 -0
- package/dist/Avatar/Avatar.mjs.map +1 -0
- package/dist/AvatarGroup/AvatarGroup.cjs +5 -5
- package/dist/AvatarGroup/AvatarGroup.css +273 -60
- package/dist/AvatarGroup/AvatarGroup.css.map +1 -1
- package/dist/AvatarGroup/AvatarGroup.js +4 -4
- package/dist/AvatarGroup/AvatarGroup.mjs +14 -0
- package/dist/AvatarGroup/AvatarGroup.mjs.map +1 -0
- package/dist/AvatarGroup/AvatarGroupAvatar.css +1811 -0
- package/dist/AvatarGroup/AvatarGroupAvatar.css.map +1 -0
- package/dist/AvatarGroup/AvatarGroupAvatar.d.ts +38 -0
- package/dist/AvatarGroup/AvatarGroupAvatar.js +13 -0
- package/dist/AvatarGroup/AvatarGroupAvatar.js.map +1 -0
- package/dist/AvatarGroup/AvatarGroupAvatar.mjs +13 -0
- package/dist/AvatarGroup/AvatarGroupAvatar.mjs.map +1 -0
- package/dist/Badge/Badge.cjs +6 -6
- package/dist/Badge/Badge.css +275 -62
- package/dist/Badge/Badge.css.map +1 -1
- package/dist/Badge/Badge.js +5 -5
- package/dist/Badge/Badge.mjs +13 -0
- package/dist/Badge/Badge.mjs.map +1 -0
- package/dist/Box/Box.cjs +4 -4
- package/dist/Box/Box.css +273 -60
- package/dist/Box/Box.css.map +1 -1
- package/dist/Box/Box.js +3 -3
- package/dist/Box/Box.mjs +11 -0
- package/dist/Box/Box.mjs.map +1 -0
- package/dist/Button/Button.cjs +15 -13
- package/dist/Button/Button.css +371 -140
- package/dist/Button/Button.css.map +1 -1
- package/dist/Button/Button.d.ts +18 -1
- package/dist/Button/Button.js +14 -12
- package/dist/Button/Button.mjs +21 -0
- package/dist/Button/Button.mjs.map +1 -0
- package/dist/Button/constants/classicSize.cjs +10 -0
- package/dist/Button/constants/classicSize.cjs.map +1 -0
- package/dist/Button/constants/classicSize.d.ts +3 -0
- package/dist/Button/constants/classicSize.js +10 -0
- package/dist/Button/constants/classicSize.js.map +1 -0
- package/dist/Button/constants/color.cjs +10 -0
- package/dist/Button/constants/color.cjs.map +1 -0
- package/dist/Button/constants/color.d.ts +4 -0
- package/dist/Button/constants/color.js +10 -0
- package/dist/Button/constants/color.js.map +1 -0
- package/dist/Button/constants/iconSize.cjs +3 -2
- package/dist/Button/constants/iconSize.css +39 -21
- package/dist/Button/constants/iconSize.css.map +1 -1
- package/dist/Button/constants/iconSize.js +2 -1
- package/dist/Button/constants/iconSize.mjs +8 -0
- package/dist/Button/constants/iconSize.mjs.map +1 -0
- package/dist/Button/constants/loadingIconSize.cjs +2 -2
- package/dist/Button/constants/loadingIconSize.js +1 -1
- package/dist/Button/constants/loadingIconSize.mjs +8 -0
- package/dist/Button/constants/loadingIconSize.mjs.map +1 -0
- package/dist/Button/constants/textVariant.cjs +2 -2
- package/dist/Button/constants/textVariant.d.ts +1 -0
- package/dist/Button/constants/textVariant.js +1 -1
- package/dist/Button/constants/textVariant.mjs +8 -0
- package/dist/Button/constants/textVariant.mjs.map +1 -0
- package/dist/ButtonGroup/ButtonGroup.cjs +2 -2
- package/dist/ButtonGroup/ButtonGroup.css +1 -1
- package/dist/ButtonGroup/ButtonGroup.css.map +1 -1
- package/dist/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/ButtonGroup/ButtonGroup.mjs +8 -0
- package/dist/ButtonGroup/ButtonGroup.mjs.map +1 -0
- package/dist/Card/Card.cjs +5 -5
- package/dist/Card/Card.css +273 -60
- package/dist/Card/Card.css.map +1 -1
- package/dist/Card/Card.d.ts +8 -1
- package/dist/Card/Card.js +4 -4
- package/dist/Card/Card.mjs +12 -0
- package/dist/Card/Card.mjs.map +1 -0
- package/dist/Checkbox/Checkbox.cjs +5 -5
- package/dist/Checkbox/Checkbox.css +272 -59
- package/dist/Checkbox/Checkbox.css.map +1 -1
- package/dist/Checkbox/Checkbox.js +4 -4
- package/dist/Checkbox/Checkbox.mjs +14 -0
- package/dist/Checkbox/Checkbox.mjs.map +1 -0
- package/dist/Chip/Chip.cjs +6 -6
- package/dist/Chip/Chip.css +275 -62
- package/dist/Chip/Chip.css.map +1 -1
- package/dist/Chip/Chip.js +5 -5
- package/dist/Chip/Chip.mjs +14 -0
- package/dist/Chip/Chip.mjs.map +1 -0
- package/dist/Dialog/Dialog.cjs +7 -7
- package/dist/Dialog/Dialog.css +275 -62
- package/dist/Dialog/Dialog.css.map +1 -1
- package/dist/Dialog/Dialog.js +6 -6
- package/dist/Dialog/ModalDialog.cjs +17 -13
- package/dist/Dialog/ModalDialog.css +426 -79
- package/dist/Dialog/ModalDialog.css.map +1 -1
- package/dist/Dialog/ModalDialog.js +16 -12
- package/dist/Divider/Divider.cjs +2 -2
- package/dist/Divider/Divider.css +1 -1
- package/dist/Divider/Divider.css.map +1 -1
- package/dist/Divider/Divider.js +1 -1
- package/dist/Divider/Divider.mjs +8 -0
- package/dist/Divider/Divider.mjs.map +1 -0
- package/dist/Heading/Heading.cjs +4 -4
- package/dist/Heading/Heading.css +270 -57
- package/dist/Heading/Heading.css.map +1 -1
- package/dist/Heading/Heading.js +3 -3
- package/dist/Heading/Heading.mjs +11 -0
- package/dist/Heading/Heading.mjs.map +1 -0
- package/dist/IconButton/IconButton.cjs +9 -5
- package/dist/IconButton/IconButton.css +418 -71
- package/dist/IconButton/IconButton.css.map +1 -1
- package/dist/IconButton/IconButton.d.ts +17 -2
- package/dist/IconButton/IconButton.js +8 -4
- package/dist/IconButton/IconButton.mjs +13 -0
- package/dist/IconButton/IconButton.mjs.map +1 -0
- package/dist/LinkButton/LinkButton.cjs +13 -10
- package/dist/LinkButton/LinkButton.css +368 -137
- package/dist/LinkButton/LinkButton.css.map +1 -1
- package/dist/LinkButton/LinkButton.d.ts +18 -1
- package/dist/LinkButton/LinkButton.js +12 -9
- package/dist/LinkButton/LinkButton.mjs +17 -0
- package/dist/LinkButton/LinkButton.mjs.map +1 -0
- package/dist/MiniActionCard/MiniActionCard.css +19 -0
- package/dist/MiniActionCard/MiniActionCard.css.map +1 -0
- package/dist/MiniActionCard/MiniActionCard.d.ts +11 -0
- package/dist/MiniActionCard/MiniActionCard.js +8 -0
- package/dist/MiniActionCard/MiniActionCard.js.map +1 -0
- package/dist/MiniActionCard/MiniActionCard.mjs +8 -0
- package/dist/MiniActionCard/MiniActionCard.mjs.map +1 -0
- package/dist/Modal/FocusTrap.mjs +8 -0
- package/dist/Modal/FocusTrap.mjs.map +1 -0
- package/dist/Modal/Layer.cjs +5 -5
- package/dist/Modal/Layer.css +273 -60
- package/dist/Modal/Layer.css.map +1 -1
- package/dist/Modal/Layer.js +4 -4
- package/dist/Modal/Layer.mjs +12 -0
- package/dist/Modal/Layer.mjs.map +1 -0
- package/dist/Modal/Modal.cjs +8 -8
- package/dist/Modal/Modal.css +275 -62
- package/dist/Modal/Modal.css.map +1 -1
- package/dist/Modal/Modal.js +7 -7
- package/dist/Modal/Modal.mjs +17 -0
- package/dist/Modal/Modal.mjs.map +1 -0
- package/dist/Modal/StopScroll.mjs +8 -0
- package/dist/Modal/StopScroll.mjs.map +1 -0
- package/dist/Popover/Popover.cjs +19 -15
- package/dist/Popover/Popover.css +427 -80
- package/dist/Popover/Popover.css.map +1 -1
- package/dist/Popover/Popover.js +18 -14
- package/dist/RadioButton/RadioButton.cjs +5 -5
- package/dist/RadioButton/RadioButton.css +272 -59
- package/dist/RadioButton/RadioButton.css.map +1 -1
- package/dist/RadioButton/RadioButton.js +4 -4
- package/dist/RadioButton/RadioButton.mjs +14 -0
- package/dist/RadioButton/RadioButton.mjs.map +1 -0
- package/dist/RichSelect/RichSelectBox.cjs +28 -26
- package/dist/RichSelect/RichSelectBox.css +378 -147
- package/dist/RichSelect/RichSelectBox.css.map +1 -1
- package/dist/RichSelect/RichSelectBox.js +26 -24
- package/dist/RichSelect/RichSelectChip.cjs +8 -8
- package/dist/RichSelect/RichSelectChip.css +276 -63
- package/dist/RichSelect/RichSelectChip.css.map +1 -1
- package/dist/RichSelect/RichSelectChip.js +7 -7
- package/dist/RichSelect/RichSelectItem.cjs +2 -2
- package/dist/RichSelect/RichSelectItem.css +1 -1
- package/dist/RichSelect/RichSelectItem.css.map +1 -1
- package/dist/RichSelect/RichSelectItem.js +1 -1
- package/dist/RichSelect/RichSelectList.cjs +37 -34
- package/dist/RichSelect/RichSelectList.css +436 -181
- package/dist/RichSelect/RichSelectList.css.map +1 -1
- package/dist/RichSelect/RichSelectList.js +36 -33
- package/dist/RichSelect/RichSelectRadioButton.cjs +7 -7
- package/dist/RichSelect/RichSelectRadioButton.css +273 -60
- package/dist/RichSelect/RichSelectRadioButton.css.map +1 -1
- package/dist/RichSelect/RichSelectRadioButton.js +6 -6
- package/dist/RichSelect/RichSelectSection.cjs +6 -6
- package/dist/RichSelect/RichSelectSection.css +272 -59
- package/dist/RichSelect/RichSelectSection.css.map +1 -1
- package/dist/RichSelect/RichSelectSection.js +5 -5
- package/dist/SelectList/SelectList.cjs +6 -6
- package/dist/SelectList/SelectList.css +272 -59
- package/dist/SelectList/SelectList.css.map +1 -1
- package/dist/SelectList/SelectList.js +5 -5
- package/dist/SelectList/SelectList.mjs +15 -0
- package/dist/SelectList/SelectList.mjs.map +1 -0
- package/dist/SelectList/SelectOption.mjs +8 -0
- package/dist/SelectList/SelectOption.mjs.map +1 -0
- package/dist/TapArea/TapArea.cjs +3 -3
- package/dist/TapArea/TapArea.css +2 -2
- package/dist/TapArea/TapArea.css.map +1 -1
- package/dist/TapArea/TapArea.d.ts +8 -0
- package/dist/TapArea/TapArea.js +2 -2
- package/dist/TapArea/TapArea.mjs +10 -0
- package/dist/TapArea/TapArea.mjs.map +1 -0
- package/dist/TextArea/TextArea.cjs +6 -6
- package/dist/TextArea/TextArea.css +276 -63
- package/dist/TextArea/TextArea.css.map +1 -1
- package/dist/TextArea/TextArea.js +5 -5
- package/dist/TextArea/TextArea.mjs +15 -0
- package/dist/TextArea/TextArea.mjs.map +1 -0
- package/dist/TextField/TextField.cjs +6 -6
- package/dist/TextField/TextField.css +275 -62
- package/dist/TextField/TextField.css.map +1 -1
- package/dist/TextField/TextField.js +5 -5
- package/dist/TextField/TextField.mjs +15 -0
- package/dist/TextField/TextField.mjs.map +1 -0
- package/dist/ThemeProvider/ThemeProvider.cjs +10 -0
- package/dist/ThemeProvider/ThemeProvider.cjs.map +1 -0
- package/dist/ThemeProvider/ThemeProvider.d.ts +13 -0
- package/dist/ThemeProvider/ThemeProvider.js +10 -0
- package/dist/ThemeProvider/ThemeProvider.js.map +1 -0
- package/dist/Tooltip/Tooltip.cjs +8 -8
- package/dist/Tooltip/Tooltip.css +275 -62
- package/dist/Tooltip/Tooltip.css.map +1 -1
- package/dist/Tooltip/Tooltip.js +7 -7
- package/dist/Typography/Typography.cjs +3 -3
- package/dist/Typography/Typography.css +270 -57
- package/dist/Typography/Typography.css.map +1 -1
- package/dist/Typography/Typography.js +2 -2
- package/dist/Typography/Typography.mjs +10 -0
- package/dist/Typography/Typography.mjs.map +1 -0
- package/dist/__chunks/{CVONHKQW.cjs → 23KRGFS2.cjs} +8 -8
- package/dist/__chunks/{CVONHKQW.cjs.map → 23KRGFS2.cjs.map} +1 -1
- package/dist/__chunks/25AVG5RK.js +28 -0
- package/dist/__chunks/25AVG5RK.js.map +1 -0
- package/dist/__chunks/{5TKLFG5Y.cjs → 26DCBIO2.cjs} +20 -20
- package/dist/__chunks/2AXWRBLG.mjs +34 -0
- package/dist/__chunks/2AXWRBLG.mjs.map +1 -0
- package/dist/__chunks/{B2TFERTM.js → 2DQWGEPP.js} +2 -2
- package/dist/__chunks/{B2TFERTM.js.map → 2DQWGEPP.js.map} +1 -1
- package/dist/__chunks/2DVYQQHH.cjs +7 -0
- package/dist/__chunks/2DVYQQHH.cjs.map +1 -0
- package/dist/__chunks/{E4BJX2H5.js → 2EUGZMKW.js} +2 -2
- package/dist/__chunks/{XT2JUTU3.js → 2GNLOGC2.js} +4 -4
- package/dist/__chunks/{XT2JUTU3.js.map → 2GNLOGC2.js.map} +1 -1
- package/dist/__chunks/{PJIXYQPE.js → 2GUII4YM.js} +7 -7
- package/dist/__chunks/{PJIXYQPE.js.map → 2GUII4YM.js.map} +1 -1
- package/dist/__chunks/2GVCDQZ4.js +96 -0
- package/dist/__chunks/2GVCDQZ4.js.map +1 -0
- package/dist/__chunks/2HUCEVZV.js +151 -0
- package/dist/__chunks/2HUCEVZV.js.map +1 -0
- package/dist/__chunks/2LIL7UH4.mjs +111 -0
- package/dist/__chunks/{V3ZO4D37.js.map → 2LIL7UH4.mjs.map} +1 -1
- package/dist/__chunks/2OK2XVY2.js +43 -0
- package/dist/__chunks/2OK2XVY2.js.map +1 -0
- package/dist/__chunks/2PBGWM5I.mjs +70 -0
- package/dist/__chunks/2PBGWM5I.mjs.map +1 -0
- package/dist/__chunks/{J2CQS3FI.cjs → 2UTZGNEU.cjs} +25 -25
- package/dist/__chunks/{J2CQS3FI.cjs.map → 2UTZGNEU.cjs.map} +1 -1
- package/dist/__chunks/{HR5QOB3U.cjs → 2V7IT5LX.cjs} +12 -12
- package/dist/__chunks/{HR5QOB3U.cjs.map → 2V7IT5LX.cjs.map} +1 -1
- package/dist/__chunks/{3HVG5AGO.cjs → 37REMIOM.js} +1 -1
- package/dist/__chunks/37REMIOM.js.map +1 -0
- package/dist/__chunks/{Y6L6EOCB.js → 37XWZP7Y.js} +1 -1
- package/dist/__chunks/{Y6L6EOCB.js.map → 37XWZP7Y.js.map} +1 -1
- package/dist/__chunks/{3TXXNWWA.cjs → 3FFLK6XB.cjs} +1 -1
- package/dist/__chunks/3FFLK6XB.cjs.map +1 -0
- package/dist/__chunks/3HUELEGR.mjs +74 -0
- package/dist/__chunks/3HUELEGR.mjs.map +1 -0
- package/dist/__chunks/3L7VHFFX.mjs +7 -0
- package/dist/__chunks/3L7VHFFX.mjs.map +1 -0
- package/dist/__chunks/{LJHH6KUW.js → 3LM54GWV.mjs} +1 -1
- package/dist/__chunks/3LM54GWV.mjs.map +1 -0
- package/dist/__chunks/{NRTSRS2D.js → 3M7KVCTI.js} +3 -3
- package/dist/__chunks/{NRTSRS2D.js.map → 3M7KVCTI.js.map} +1 -1
- package/dist/__chunks/3MG27OMA.js +64 -0
- package/dist/__chunks/3MG27OMA.js.map +1 -0
- package/dist/__chunks/3N6HHI46.js +32 -0
- package/dist/__chunks/3N6HHI46.js.map +1 -0
- package/dist/__chunks/3OXEYQS2.js +229 -0
- package/dist/__chunks/{5SMR5MWY.cjs.map → 3OXEYQS2.js.map} +1 -1
- package/dist/__chunks/3QSNE4LU.mjs +53 -0
- package/dist/__chunks/3QSNE4LU.mjs.map +1 -0
- package/dist/__chunks/{UYBMLRXR.js → 3RT6RY52.js} +6 -6
- package/dist/__chunks/{UYBMLRXR.js.map → 3RT6RY52.js.map} +1 -1
- package/dist/__chunks/3ZLWNPWB.js +97 -0
- package/dist/__chunks/3ZLWNPWB.js.map +1 -0
- package/dist/__chunks/3ZQ3K52X.js +164 -0
- package/dist/__chunks/3ZQ3K52X.js.map +1 -0
- package/dist/__chunks/46ES5GQS.js +7 -0
- package/dist/__chunks/46ES5GQS.js.map +1 -0
- package/dist/__chunks/4AKDL5H3.js +159 -0
- package/dist/__chunks/4AKDL5H3.js.map +1 -0
- package/dist/__chunks/4EEVXYO7.js +216 -0
- package/dist/__chunks/4EEVXYO7.js.map +1 -0
- package/dist/__chunks/4LP7DUT6.cjs +130 -0
- package/dist/__chunks/4LP7DUT6.cjs.map +1 -0
- package/dist/__chunks/4MQD66CF.js +15 -0
- package/dist/__chunks/4MQD66CF.js.map +1 -0
- package/dist/__chunks/4ONM4N5U.js +73 -0
- package/dist/__chunks/4ONM4N5U.js.map +1 -0
- package/dist/__chunks/4U36457H.mjs +110 -0
- package/dist/__chunks/4U36457H.mjs.map +1 -0
- package/dist/__chunks/4VIJNV7V.mjs +216 -0
- package/dist/__chunks/4VIJNV7V.mjs.map +1 -0
- package/dist/__chunks/4W3N77NV.js +27 -0
- package/dist/__chunks/4W3N77NV.js.map +1 -0
- package/dist/__chunks/4ZUTDRNV.cjs +27 -0
- package/dist/__chunks/4ZUTDRNV.cjs.map +1 -0
- package/dist/__chunks/52QJZATG.cjs +36 -0
- package/dist/__chunks/52QJZATG.cjs.map +1 -0
- package/dist/__chunks/{W7CSNF2M.cjs → 56HU44ZD.js} +3 -3
- package/dist/__chunks/56OHYMWF.cjs +53 -0
- package/dist/__chunks/56OHYMWF.cjs.map +1 -0
- package/dist/__chunks/5C5EHJ47.js +34 -0
- package/dist/__chunks/5C5EHJ47.js.map +1 -0
- package/dist/__chunks/5DBWL6IK.js +4 -4
- package/dist/__chunks/5DBWL6IK.js.map +1 -1
- package/dist/__chunks/{YBP5BNDH.cjs → 5DFB3Y3T.cjs} +3 -3
- package/dist/__chunks/5NIFOD6K.cjs +214 -0
- package/dist/__chunks/5NIFOD6K.cjs.map +1 -0
- package/dist/__chunks/{G4DDTGDI.js → 5QXUIARJ.mjs} +3 -2
- package/dist/__chunks/5QXUIARJ.mjs.map +1 -0
- package/dist/__chunks/{FZ5HWA3S.cjs → 5TZEC2R4.cjs} +3 -3
- package/dist/__chunks/5VIJTDOF.mjs +120 -0
- package/dist/__chunks/5VIJTDOF.mjs.map +1 -0
- package/dist/__chunks/{LDFTT3OI.cjs → 5VV77UJJ.js} +7 -7
- package/dist/__chunks/{LDFTT3OI.cjs.map → 5VV77UJJ.js.map} +1 -1
- package/dist/__chunks/63WGDOPN.mjs +92 -0
- package/dist/__chunks/63WGDOPN.mjs.map +1 -0
- package/dist/__chunks/{AGEHF4UW.js → 67FFSLFE.js} +3 -3
- package/dist/__chunks/{AGEHF4UW.js.map → 67FFSLFE.js.map} +1 -1
- package/dist/__chunks/{V3ZO4D37.js → 6B7JM66T.js} +3 -3
- package/dist/__chunks/6B7JM66T.js.map +1 -0
- package/dist/__chunks/6KRS5AXC.mjs +14 -0
- package/dist/__chunks/6KRS5AXC.mjs.map +1 -0
- package/dist/__chunks/6LPXMM72.js +29 -0
- package/dist/__chunks/6LPXMM72.js.map +1 -0
- package/dist/__chunks/6SIWS5LC.cjs +7 -0
- package/dist/__chunks/6SIWS5LC.cjs.map +1 -0
- package/dist/__chunks/6V7HBMYA.cjs +41 -0
- package/dist/__chunks/6V7HBMYA.cjs.map +1 -0
- package/dist/__chunks/6YJSUDCE.cjs +135 -0
- package/dist/__chunks/6YJSUDCE.cjs.map +1 -0
- package/dist/__chunks/{36B62A3Z.cjs → 7AYSDTC6.cjs} +5 -4
- package/dist/__chunks/7AYSDTC6.cjs.map +1 -0
- package/dist/__chunks/7SBPEMPP.cjs +7 -0
- package/dist/__chunks/7SBPEMPP.cjs.map +1 -0
- package/dist/__chunks/{EWCLQBKV.cjs → 7XUE2FEM.cjs} +8 -8
- package/dist/__chunks/{EWCLQBKV.cjs.map → 7XUE2FEM.cjs.map} +1 -1
- package/dist/__chunks/A2VHEPTR.mjs +36 -0
- package/dist/__chunks/A4I7G22A.js +7 -0
- package/dist/__chunks/A4I7G22A.js.map +1 -0
- package/dist/__chunks/{ZG64UIHG.cjs → A72U3XBW.cjs} +17 -17
- package/dist/__chunks/{ZG64UIHG.cjs.map → A72U3XBW.cjs.map} +1 -1
- package/dist/__chunks/AETPCW5V.js +7 -0
- package/dist/__chunks/AETPCW5V.js.map +1 -0
- package/dist/__chunks/{FMSI35YS.cjs → AHGRDXT4.cjs} +8 -8
- package/dist/__chunks/AMBZXKUQ.mjs +12 -0
- package/dist/__chunks/AMBZXKUQ.mjs.map +1 -0
- package/dist/__chunks/AP4SKCOD.cjs +15 -0
- package/dist/__chunks/AP4SKCOD.cjs.map +1 -0
- package/dist/__chunks/AR6OTJE4.mjs +120 -0
- package/dist/__chunks/AR6OTJE4.mjs.map +1 -0
- package/dist/__chunks/AUTMIAL2.js +110 -0
- package/dist/__chunks/AUTMIAL2.js.map +1 -0
- package/dist/__chunks/{M2T7D4DC.js → AVKI36XD.js} +3 -3
- package/dist/__chunks/AXK2UBWP.js +120 -0
- package/dist/__chunks/AXK2UBWP.js.map +1 -0
- package/dist/__chunks/{EIYMXZ2V.js → AYC7TUMS.mjs} +9 -22
- package/dist/__chunks/{EIYMXZ2V.js.map → AYC7TUMS.mjs.map} +1 -1
- package/dist/__chunks/AZSWRSRL.cjs +43 -0
- package/dist/__chunks/AZSWRSRL.cjs.map +1 -0
- package/dist/__chunks/{PBOQIXCB.cjs → BBNBUAJV.js} +1 -1
- package/dist/__chunks/BBNBUAJV.js.map +1 -0
- package/dist/__chunks/BFZW2SIU.js +110 -0
- package/dist/__chunks/BFZW2SIU.js.map +1 -0
- package/dist/__chunks/BNRC45PX.js +15 -0
- package/dist/__chunks/BNRC45PX.js.map +1 -0
- package/dist/__chunks/BQUP6OTG.mjs +74 -0
- package/dist/__chunks/BQUP6OTG.mjs.map +1 -0
- package/dist/__chunks/BRJ6M26X.cjs +52 -0
- package/dist/__chunks/BRJ6M26X.cjs.map +1 -0
- package/dist/__chunks/BUE3GFYP.mjs +73 -0
- package/dist/__chunks/BUE3GFYP.mjs.map +1 -0
- package/dist/__chunks/BULDMP67.cjs +95 -0
- package/dist/__chunks/BULDMP67.cjs.map +1 -0
- package/dist/__chunks/{6VWFOSQZ.js → BXCLZFW3.js} +1 -1
- package/dist/__chunks/BXCLZFW3.js.map +1 -0
- package/dist/__chunks/BZPVCGW4.js +31 -0
- package/dist/__chunks/BZPVCGW4.js.map +1 -0
- package/dist/__chunks/C33AWSV6.js +61 -0
- package/dist/__chunks/C33AWSV6.js.map +1 -0
- package/dist/__chunks/CBT226O7.js +22 -0
- package/dist/__chunks/CBT226O7.js.map +1 -0
- package/dist/__chunks/{NDJRETMM.cjs → CESL6LVL.cjs} +5 -5
- package/dist/__chunks/CGFXAKKI.js +12 -0
- package/dist/__chunks/CGFXAKKI.js.map +1 -0
- package/dist/__chunks/CUAJNXCA.js +9 -0
- package/dist/__chunks/CUAJNXCA.js.map +1 -0
- package/dist/__chunks/CUDAH5IW.mjs +38 -0
- package/dist/__chunks/CUDAH5IW.mjs.map +1 -0
- package/dist/__chunks/CUVXZOBA.mjs +7 -0
- package/dist/__chunks/CUVXZOBA.mjs.map +1 -0
- package/dist/__chunks/CWMDGR2A.js +127 -0
- package/dist/__chunks/CWMDGR2A.js.map +1 -0
- package/dist/__chunks/CWODDNFV.mjs +66 -0
- package/dist/__chunks/CWODDNFV.mjs.map +1 -0
- package/dist/__chunks/{JWFHLI33.js → CXXS7665.js} +3 -3
- package/dist/__chunks/CXXS7665.js.map +1 -0
- package/dist/__chunks/D4JUFTND.mjs +110 -0
- package/dist/__chunks/D4JUFTND.mjs.map +1 -0
- package/dist/__chunks/{DNTOWEIQ.js → DC7PXJHM.js} +3 -3
- package/dist/__chunks/{CUQH7RLJ.js → DD2JGHZJ.js} +13 -13
- package/dist/__chunks/{CUQH7RLJ.js.map → DD2JGHZJ.js.map} +1 -1
- package/dist/__chunks/{NJ6FU6DK.js → DL6R2YOB.js} +1 -1
- package/dist/__chunks/{NJ6FU6DK.js.map → DL6R2YOB.js.map} +1 -1
- package/dist/__chunks/DOMS3WH2.js +7 -0
- package/dist/__chunks/DOMS3WH2.js.map +1 -0
- package/dist/__chunks/{RLYKYCEU.cjs → DOUZDU3A.js} +1 -1
- package/dist/__chunks/DOUZDU3A.js.map +1 -0
- package/dist/__chunks/DPOT7MLO.js +127 -0
- package/dist/__chunks/DPOT7MLO.js.map +1 -0
- package/dist/__chunks/{2RCQTGOZ.cjs → DYV7A53G.cjs} +5 -5
- package/dist/__chunks/E2XTXKKB.js +229 -0
- package/dist/__chunks/E2XTXKKB.js.map +1 -0
- package/dist/__chunks/EDT4HTWE.js +24 -0
- package/dist/__chunks/EDT4HTWE.js.map +1 -0
- package/dist/__chunks/{LCZ57HZU.js → EG3YOI4R.js} +3 -3
- package/dist/__chunks/{LCZ57HZU.js.map → EG3YOI4R.js.map} +1 -1
- package/dist/__chunks/EH5FEWYB.js +33 -0
- package/dist/__chunks/EH5FEWYB.js.map +1 -0
- package/dist/__chunks/EKJ4XOIM.mjs +12 -0
- package/dist/__chunks/EKJ4XOIM.mjs.map +1 -0
- package/dist/__chunks/EMQGSVJT.cjs +7 -0
- package/dist/__chunks/EMQGSVJT.cjs.map +1 -0
- package/dist/__chunks/EOHF5NBT.js +7 -0
- package/dist/__chunks/EOHF5NBT.js.map +1 -0
- package/dist/__chunks/{NGUJFGAC.cjs → ESGV3EEU.js} +1 -1
- package/dist/__chunks/ESGV3EEU.js.map +1 -0
- package/dist/__chunks/EWZKTMOO.js +78 -0
- package/dist/__chunks/EWZKTMOO.js.map +1 -0
- package/dist/__chunks/{PZYWUTMW.cjs → EYUYCIBZ.cjs} +21 -5
- package/dist/__chunks/EYUYCIBZ.cjs.map +1 -0
- package/dist/__chunks/F4HTASEF.mjs +24 -0
- package/dist/__chunks/{CATJI2RJ.js.map → F4HTASEF.mjs.map} +1 -1
- package/dist/__chunks/F6FB6X7B.js +110 -0
- package/dist/__chunks/F6FB6X7B.js.map +1 -0
- package/dist/__chunks/FCX7QDZS.mjs +94 -0
- package/dist/__chunks/FCX7QDZS.mjs.map +1 -0
- package/dist/__chunks/{PEKXH4DM.js → FD3R5EUF.js} +2 -2
- package/dist/__chunks/FD3R5EUF.js.map +1 -0
- package/dist/__chunks/{JKXOZUCV.js → FJFRNV7T.js} +4 -4
- package/dist/__chunks/{D24RSGYP.js → FLKYHNRX.mjs} +1 -1
- package/dist/__chunks/FLKYHNRX.mjs.map +1 -0
- package/dist/__chunks/FMAN3GYO.js +53 -0
- package/dist/__chunks/FMAN3GYO.js.map +1 -0
- package/dist/__chunks/FOSMT7QJ.js +34 -0
- package/dist/__chunks/FOSMT7QJ.js.map +1 -0
- package/dist/__chunks/FVU4BA3R.mjs +15 -0
- package/dist/__chunks/FVU4BA3R.mjs.map +1 -0
- package/dist/__chunks/FWN2BDEU.js +7 -0
- package/dist/__chunks/FWN2BDEU.js.map +1 -0
- package/dist/__chunks/{YTZDAVG6.cjs → FXOSIIU5.cjs} +1 -1
- package/dist/__chunks/FXOSIIU5.cjs.map +1 -0
- package/dist/__chunks/{TPP3XWDC.cjs → FYBK6EX3.cjs} +19 -19
- package/dist/__chunks/{TPP3XWDC.cjs.map → FYBK6EX3.cjs.map} +1 -1
- package/dist/__chunks/FZO6U2EP.mjs +61 -0
- package/dist/__chunks/FZO6U2EP.mjs.map +1 -0
- package/dist/__chunks/GAMU7S2F.js +73 -0
- package/dist/__chunks/GAMU7S2F.js.map +1 -0
- package/dist/__chunks/GD77DL2Y.mjs +106 -0
- package/dist/__chunks/GD77DL2Y.mjs.map +1 -0
- package/dist/__chunks/GKZHNQHE.cjs +210 -0
- package/dist/__chunks/GKZHNQHE.cjs.map +1 -0
- package/dist/__chunks/GMWK2IE5.js +124 -0
- package/dist/__chunks/GMWK2IE5.js.map +1 -0
- package/dist/__chunks/GRDMEBOQ.mjs +110 -0
- package/dist/__chunks/GRDMEBOQ.mjs.map +1 -0
- package/dist/__chunks/GVK5UYLE.js +92 -0
- package/dist/__chunks/GVK5UYLE.js.map +1 -0
- package/dist/__chunks/GVNDZZAU.mjs +14 -0
- package/dist/__chunks/GVNDZZAU.mjs.map +1 -0
- package/dist/__chunks/{FMSBGH2I.cjs → HB4GCCZM.cjs} +8 -8
- package/dist/__chunks/{FMSBGH2I.cjs.map → HB4GCCZM.cjs.map} +1 -1
- package/dist/__chunks/HBNZQNYC.js +36 -0
- package/dist/__chunks/HBNZQNYC.js.map +1 -0
- package/dist/__chunks/HJYCSDLB.mjs +229 -0
- package/dist/__chunks/HJYCSDLB.mjs.map +1 -0
- package/dist/__chunks/HKGNIW3M.cjs +32 -0
- package/dist/__chunks/HKGNIW3M.cjs.map +1 -0
- package/dist/__chunks/HPQ27RVD.js +7 -0
- package/dist/__chunks/HPQ27RVD.js.map +1 -0
- package/dist/__chunks/HPYUTHVT.cjs +110 -0
- package/dist/__chunks/HPYUTHVT.cjs.map +1 -0
- package/dist/__chunks/HQZXXDP2.cjs +41 -0
- package/dist/__chunks/HQZXXDP2.cjs.map +1 -0
- package/dist/__chunks/{JIXNBF5N.js → HSXMWMLA.js} +20 -4
- package/dist/__chunks/HSXMWMLA.js.map +1 -0
- package/dist/__chunks/HT3RE37C.mjs +22 -0
- package/dist/__chunks/HT3RE37C.mjs.map +1 -0
- package/dist/__chunks/HVGUWZ5I.js +214 -0
- package/dist/__chunks/HVGUWZ5I.js.map +1 -0
- package/dist/__chunks/{JHAV5OTQ.js → HY3KIVTC.js} +11 -11
- package/dist/__chunks/{RAVU4WEO.cjs → IAF6S5CX.js} +21 -25
- package/dist/__chunks/IAF6S5CX.js.map +1 -0
- package/dist/__chunks/IFTFN6UJ.mjs +96 -0
- package/dist/__chunks/IFTFN6UJ.mjs.map +1 -0
- package/dist/__chunks/IMA6TVID.js +14 -0
- package/dist/__chunks/IMA6TVID.js.map +1 -0
- package/dist/__chunks/{PTWXXDFF.js → IOQXUCI4.js} +1 -1
- package/dist/__chunks/IOQXUCI4.js.map +1 -0
- package/dist/__chunks/IOTY5NK2.js +70 -0
- package/dist/__chunks/IOTY5NK2.js.map +1 -0
- package/dist/__chunks/IT2LR34I.cjs +42 -0
- package/dist/__chunks/IT2LR34I.cjs.map +1 -0
- package/dist/__chunks/{QNBZ64IE.cjs → IVREFFBR.cjs} +15 -15
- package/dist/__chunks/IVREFFBR.cjs.map +1 -0
- package/dist/__chunks/IXDA4ZXP.mjs +1 -0
- package/dist/__chunks/IXDA4ZXP.mjs.map +1 -0
- package/dist/__chunks/{ZX5KONS2.cjs → IXWQIXIN.cjs} +9 -9
- package/dist/__chunks/{ZX5KONS2.cjs.map → IXWQIXIN.cjs.map} +1 -1
- package/dist/__chunks/J3L3I46A.cjs +28 -0
- package/dist/__chunks/J3L3I46A.cjs.map +1 -0
- package/dist/__chunks/{K77KFPIV.cjs → J3TYZIJY.js} +3 -3
- package/dist/__chunks/{JQ6POHCA.js → J42UNMZT.js} +1 -1
- package/dist/__chunks/{JQ6POHCA.js.map → J42UNMZT.js.map} +1 -1
- package/dist/__chunks/JAOPHWQI.js +39 -0
- package/dist/__chunks/JAOPHWQI.js.map +1 -0
- package/dist/__chunks/JEXRUKQM.cjs +7 -0
- package/dist/__chunks/JEXRUKQM.cjs.map +1 -0
- package/dist/__chunks/JGKP4JUK.js +135 -0
- package/dist/__chunks/JGKP4JUK.js.map +1 -0
- package/dist/__chunks/JHIBKTIX.js +270 -0
- package/dist/__chunks/JHIBKTIX.js.map +1 -0
- package/dist/__chunks/JJQRVIE2.mjs +86 -0
- package/dist/__chunks/JJQRVIE2.mjs.map +1 -0
- package/dist/__chunks/JMKHYRFL.mjs +53 -0
- package/dist/__chunks/JMKHYRFL.mjs.map +1 -0
- package/dist/__chunks/{VY7MJTPK.js → JQDM3KJV.js} +6 -6
- package/dist/__chunks/JQDM3KJV.js.map +1 -0
- package/dist/__chunks/JQHT6NET.mjs +110 -0
- package/dist/__chunks/JQHT6NET.mjs.map +1 -0
- package/dist/__chunks/JQK3RCZG.js +91 -0
- package/dist/__chunks/JQK3RCZG.js.map +1 -0
- package/dist/__chunks/{HPZBIU65.js → JVTHA5TJ.js} +4 -4
- package/dist/__chunks/{HPZBIU65.js.map → JVTHA5TJ.js.map} +1 -1
- package/dist/__chunks/JXZMI4WT.js +13 -0
- package/dist/__chunks/JXZMI4WT.js.map +1 -0
- package/dist/__chunks/JZMZ537X.mjs +229 -0
- package/dist/__chunks/JZMZ537X.mjs.map +1 -0
- package/dist/__chunks/K3H7QFPB.js +23 -0
- package/dist/__chunks/K3H7QFPB.js.map +1 -0
- package/dist/__chunks/{2R4YCOYE.js → K3JR7BCX.mjs} +12 -16
- package/dist/__chunks/K3JR7BCX.mjs.map +1 -0
- package/dist/__chunks/{IJVFSOXU.cjs → K3UWRTIP.cjs} +18 -18
- package/dist/__chunks/{IJVFSOXU.cjs.map → K3UWRTIP.cjs.map} +1 -1
- package/dist/__chunks/K5A7CZTX.js +119 -0
- package/dist/__chunks/K5A7CZTX.js.map +1 -0
- package/dist/__chunks/K6XUX6LJ.mjs +34 -0
- package/dist/__chunks/K6XUX6LJ.mjs.map +1 -0
- package/dist/__chunks/KCIQ73YD.js +111 -0
- package/dist/__chunks/{GOSWBV5D.cjs.map → KCIQ73YD.js.map} +1 -1
- package/dist/__chunks/KDEHEUYG.mjs +73 -0
- package/dist/__chunks/KDEHEUYG.mjs.map +1 -0
- package/dist/__chunks/KEVWT27Z.mjs +81 -0
- package/dist/__chunks/KEVWT27Z.mjs.map +1 -0
- package/dist/__chunks/KG7XQLVR.js +32 -0
- package/dist/__chunks/KG7XQLVR.js.map +1 -0
- package/dist/__chunks/KGJ6GIIS.cjs +36 -0
- package/dist/__chunks/KGJ6GIIS.cjs.map +1 -0
- package/dist/__chunks/KNBS7I65.mjs +34 -0
- package/dist/__chunks/KNBS7I65.mjs.map +1 -0
- package/dist/__chunks/KNDHXB3A.js +66 -0
- package/dist/__chunks/KNDHXB3A.js.map +1 -0
- package/dist/__chunks/KNTQWIRZ.mjs +64 -0
- package/dist/__chunks/KNTQWIRZ.mjs.map +1 -0
- package/dist/__chunks/KXNM5IFQ.cjs +135 -0
- package/dist/__chunks/KXNM5IFQ.cjs.map +1 -0
- package/dist/__chunks/KYJIUGX3.js +143 -0
- package/dist/__chunks/KYJIUGX3.js.map +1 -0
- package/dist/__chunks/L33TG65D.js +159 -0
- package/dist/__chunks/L33TG65D.js.map +1 -0
- package/dist/__chunks/L3WX2LK2.js +111 -0
- package/dist/__chunks/L3WX2LK2.js.map +1 -0
- package/dist/__chunks/{KCYZNZBO.cjs → L44YLKF4.cjs} +7 -7
- package/dist/__chunks/{KCYZNZBO.cjs.map → L44YLKF4.cjs.map} +1 -1
- package/dist/__chunks/L7WNIMI4.cjs +159 -0
- package/dist/__chunks/L7WNIMI4.cjs.map +1 -0
- package/dist/__chunks/LCM6DHNZ.mjs +120 -0
- package/dist/__chunks/{2R4YCOYE.js.map → LCM6DHNZ.mjs.map} +1 -1
- package/dist/__chunks/LDP6CRMG.js +9 -0
- package/dist/__chunks/LDP6CRMG.js.map +1 -0
- package/dist/__chunks/{QJI4G5FP.cjs → LHWRDJUE.cjs} +1 -1
- package/dist/__chunks/{QJI4G5FP.cjs.map → LHWRDJUE.cjs.map} +1 -1
- package/dist/__chunks/{ERXGNP37.js → LICJ6EW4.mjs} +1 -1
- package/dist/__chunks/LICJ6EW4.mjs.map +1 -0
- package/dist/__chunks/LJA4ANIH.js +120 -0
- package/dist/__chunks/LJA4ANIH.js.map +1 -0
- package/dist/__chunks/LJUQ7TSG.cjs +84 -0
- package/dist/__chunks/LJUQ7TSG.cjs.map +1 -0
- package/dist/__chunks/LKIXWY5D.js +111 -0
- package/dist/__chunks/LKIXWY5D.js.map +1 -0
- package/dist/__chunks/{LMCK5YO5.cjs → LOL35DTT.cjs} +5 -5
- package/dist/__chunks/{LMCK5YO5.cjs.map → LOL35DTT.cjs.map} +1 -1
- package/dist/__chunks/{TJHCYMPV.js → LOTC75LA.js} +3 -3
- package/dist/__chunks/LOTC75LA.js.map +1 -0
- package/dist/__chunks/{TBAJ7VLZ.cjs → LQ6T5UCI.cjs} +4 -4
- package/dist/__chunks/LQ6T5UCI.cjs.map +1 -0
- package/dist/__chunks/LTYTYJEN.mjs +20 -0
- package/dist/__chunks/{HQVZUEWO.js.map → LTYTYJEN.mjs.map} +1 -1
- package/dist/__chunks/M4H2OQDF.cjs +39 -0
- package/dist/__chunks/M4H2OQDF.cjs.map +1 -0
- package/dist/__chunks/MCBAAUFK.cjs +31 -0
- package/dist/__chunks/MCBAAUFK.cjs.map +1 -0
- package/dist/__chunks/MCDSO2BG.mjs +127 -0
- package/dist/__chunks/MCDSO2BG.mjs.map +1 -0
- package/dist/__chunks/MF2FZIOI.mjs +31 -0
- package/dist/__chunks/MF2FZIOI.mjs.map +1 -0
- package/dist/__chunks/MFEW5JKG.js +36 -0
- package/dist/__chunks/MFEW5JKG.js.map +1 -0
- package/dist/__chunks/MQPPALTP.mjs +7 -0
- package/dist/__chunks/MQPPALTP.mjs.map +1 -0
- package/dist/__chunks/MQYAYRG7.js +106 -0
- package/dist/__chunks/MQYAYRG7.js.map +1 -0
- package/dist/__chunks/MUJ5ZM2P.mjs +14 -0
- package/dist/__chunks/MUJ5ZM2P.mjs.map +1 -0
- package/dist/__chunks/N35QCMML.cjs +270 -0
- package/dist/__chunks/N35QCMML.cjs.map +1 -0
- package/dist/__chunks/N5676ZLQ.js +52 -0
- package/dist/__chunks/N5676ZLQ.js.map +1 -0
- package/dist/__chunks/NCGV4CPL.mjs +7 -0
- package/dist/__chunks/NCGV4CPL.mjs.map +1 -0
- package/dist/__chunks/NDHJK4HC.cjs +78 -0
- package/dist/__chunks/NDHJK4HC.cjs.map +1 -0
- package/dist/__chunks/NGQS32CK.js +106 -0
- package/dist/__chunks/NGQS32CK.js.map +1 -0
- package/dist/__chunks/NHRXYMKX.cjs +91 -0
- package/dist/__chunks/NHRXYMKX.cjs.map +1 -0
- package/dist/__chunks/NM45EZZR.mjs +97 -0
- package/dist/__chunks/NM45EZZR.mjs.map +1 -0
- package/dist/__chunks/{QQWCNTE4.cjs → NNGWNOP4.cjs} +5 -5
- package/dist/__chunks/{QQWCNTE4.cjs.map → NNGWNOP4.cjs.map} +1 -1
- package/dist/__chunks/NS2YVHSQ.cjs +143 -0
- package/dist/__chunks/NS2YVHSQ.cjs.map +1 -0
- package/dist/__chunks/NS7JP3FM.mjs +105 -0
- package/dist/__chunks/NS7JP3FM.mjs.map +1 -0
- package/dist/__chunks/NSIRI5IM.cjs +9 -0
- package/dist/__chunks/NSIRI5IM.cjs.map +1 -0
- package/dist/__chunks/NTVOQJR6.js +110 -0
- package/dist/__chunks/NTVOQJR6.js.map +1 -0
- package/dist/__chunks/O24347EQ.js +35 -0
- package/dist/__chunks/O24347EQ.js.map +1 -0
- package/dist/__chunks/O7DAECUN.js +110 -0
- package/dist/__chunks/O7DAECUN.js.map +1 -0
- package/dist/__chunks/O7IABCHH.cjs +151 -0
- package/dist/__chunks/O7IABCHH.cjs.map +1 -0
- package/dist/__chunks/OETPIE6V.js +229 -0
- package/dist/__chunks/OETPIE6V.js.map +1 -0
- package/dist/__chunks/{JUUIXL6A.js → OIKGAOEE.js} +3 -3
- package/dist/__chunks/{JUUIXL6A.js.map → OIKGAOEE.js.map} +1 -1
- package/dist/__chunks/OKF4ABP7.mjs +32 -0
- package/dist/__chunks/OKF4ABP7.mjs.map +1 -0
- package/dist/__chunks/OLOF45YI.js +36 -0
- package/dist/__chunks/OLOF45YI.js.map +1 -0
- package/dist/__chunks/OVTOUO6R.js +95 -0
- package/dist/__chunks/OVTOUO6R.js.map +1 -0
- package/dist/__chunks/{HEJ3LVZG.js → OXTDWWXG.js} +2 -2
- package/dist/__chunks/{GYI2PBXY.cjs → P2M6MLAW.cjs} +1 -1
- package/dist/__chunks/{GYI2PBXY.cjs.map → P2M6MLAW.cjs.map} +1 -1
- package/dist/__chunks/{5SMR5MWY.cjs → P4BVQ554.cjs} +5 -5
- package/dist/__chunks/P4BVQ554.cjs.map +1 -0
- package/dist/__chunks/P4CNOF3E.js +31 -0
- package/dist/__chunks/P4CNOF3E.js.map +1 -0
- package/dist/__chunks/P4IIM6RP.js +127 -0
- package/dist/__chunks/P4IIM6RP.js.map +1 -0
- package/dist/__chunks/PAWHIHZ3.js +97 -0
- package/dist/__chunks/PAWHIHZ3.js.map +1 -0
- package/dist/__chunks/PGVLU6C3.mjs +70 -0
- package/dist/__chunks/PGVLU6C3.mjs.map +1 -0
- package/dist/__chunks/PHVABKOK.js +74 -0
- package/dist/__chunks/PHVABKOK.js.map +1 -0
- package/dist/__chunks/PLJUFTJY.js +120 -0
- package/dist/__chunks/PLJUFTJY.js.map +1 -0
- package/dist/__chunks/PN7GAGSA.mjs +111 -0
- package/dist/__chunks/PN7GAGSA.mjs.map +1 -0
- package/dist/__chunks/PR3BB3FG.js +96 -0
- package/dist/__chunks/PR3BB3FG.js.map +1 -0
- package/dist/__chunks/PRHHEVW3.mjs +14 -0
- package/dist/__chunks/PRHHEVW3.mjs.map +1 -0
- package/dist/__chunks/PSWX5DBC.cjs +23 -0
- package/dist/__chunks/PSWX5DBC.cjs.map +1 -0
- package/dist/__chunks/PTAZUBW6.js +74 -0
- package/dist/__chunks/PTAZUBW6.js.map +1 -0
- package/dist/__chunks/PW4N6F7P.cjs +124 -0
- package/dist/__chunks/PW4N6F7P.cjs.map +1 -0
- package/dist/__chunks/{ZDMSFZS3.cjs → PXGKYAKM.cjs} +1 -1
- package/dist/__chunks/PXGKYAKM.cjs.map +1 -0
- package/dist/__chunks/{LTM57QMY.cjs → Q3DMM66F.cjs} +1 -1
- package/dist/__chunks/Q3DMM66F.cjs.map +1 -0
- package/dist/__chunks/QDQHT3NE.js +15 -0
- package/dist/__chunks/QDQHT3NE.js.map +1 -0
- package/dist/__chunks/QIJAUSGL.js +210 -0
- package/dist/__chunks/QIJAUSGL.js.map +1 -0
- package/dist/__chunks/QLLPAAGB.cjs +7 -0
- package/dist/__chunks/QLLPAAGB.cjs.map +1 -0
- package/dist/__chunks/QQUTU6E5.mjs +7 -0
- package/dist/__chunks/QQUTU6E5.mjs.map +1 -0
- package/dist/__chunks/QTRAGVT2.js +81 -0
- package/dist/__chunks/QTRAGVT2.js.map +1 -0
- package/dist/__chunks/QX4SPXNO.js +27 -0
- package/dist/__chunks/QX4SPXNO.js.map +1 -0
- package/dist/__chunks/QYB6DABH.cjs +33 -0
- package/dist/__chunks/QYB6DABH.cjs.map +1 -0
- package/dist/__chunks/R3JL4P3Q.js +72 -0
- package/dist/__chunks/R3JL4P3Q.js.map +1 -0
- package/dist/__chunks/RBVOI6NO.mjs +127 -0
- package/dist/__chunks/RBVOI6NO.mjs.map +1 -0
- package/dist/__chunks/{4PWSK5GI.js → RCT3DP22.mjs} +1 -1
- package/dist/__chunks/RCT3DP22.mjs.map +1 -0
- package/dist/__chunks/RJJO466K.cjs +97 -0
- package/dist/__chunks/RJJO466K.cjs.map +1 -0
- package/dist/__chunks/RLZHPYM5.cjs +15 -0
- package/dist/__chunks/RLZHPYM5.cjs.map +1 -0
- package/dist/__chunks/RQVBAFTV.cjs +15 -0
- package/dist/__chunks/RQVBAFTV.cjs.map +1 -0
- package/dist/__chunks/RREFGTI7.js +122 -0
- package/dist/__chunks/RREFGTI7.js.map +1 -0
- package/dist/__chunks/RSMQXWKL.mjs +122 -0
- package/dist/__chunks/RSMQXWKL.mjs.map +1 -0
- package/dist/__chunks/{STT27BTU.js → S2O3PM7G.mjs} +2 -2
- package/dist/__chunks/{TPMQI44L.js → S2OLRDIA.js} +1 -1
- package/dist/__chunks/S2OLRDIA.js.map +1 -0
- package/dist/__chunks/{XFFSBU7E.js → S3JLGSUU.js} +6 -6
- package/dist/__chunks/{XFFSBU7E.js.map → S3JLGSUU.js.map} +1 -1
- package/dist/__chunks/{GOSWBV5D.cjs → S3SIB3JJ.cjs} +6 -6
- package/dist/__chunks/S3SIB3JJ.cjs.map +1 -0
- package/dist/__chunks/S4SJHO7G.cjs +9 -0
- package/dist/__chunks/{YTZDAVG6.cjs.map → S4SJHO7G.cjs.map} +1 -1
- package/dist/__chunks/SAEVPDUP.js +4 -4
- package/dist/__chunks/SAEVPDUP.js.map +1 -1
- package/dist/__chunks/{HQVZUEWO.js → SFLBYQCV.mjs} +2 -1
- package/dist/__chunks/SFLBYQCV.mjs.map +1 -0
- package/dist/__chunks/SKKCLMG7.cjs +229 -0
- package/dist/__chunks/SKKCLMG7.cjs.map +1 -0
- package/dist/__chunks/SKLNVBJL.js +26 -0
- package/dist/__chunks/SKLNVBJL.js.map +1 -0
- package/dist/__chunks/{CATJI2RJ.js → SSU3B5AR.mjs} +3 -2
- package/dist/__chunks/SSU3B5AR.mjs.map +1 -0
- package/dist/__chunks/SW6BBR4M.js +210 -0
- package/dist/__chunks/SW6BBR4M.js.map +1 -0
- package/dist/__chunks/SWA6IQLD.mjs +28 -0
- package/dist/__chunks/SWA6IQLD.mjs.map +1 -0
- package/dist/__chunks/SWK2PK54.cjs +76 -0
- package/dist/__chunks/SWK2PK54.cjs.map +1 -0
- package/dist/__chunks/SYLQXWWX.js +270 -0
- package/dist/__chunks/SYLQXWWX.js.map +1 -0
- package/dist/__chunks/SYWCE5XN.cjs +111 -0
- package/dist/__chunks/SYWCE5XN.cjs.map +1 -0
- package/dist/__chunks/{VBSJSA3B.js → T5KHVRXK.js} +3 -3
- package/dist/__chunks/{VBSJSA3B.js.map → T5KHVRXK.js.map} +1 -1
- package/dist/__chunks/TC3MWLLE.js +20 -0
- package/dist/__chunks/TC3MWLLE.js.map +1 -0
- package/dist/__chunks/{JLUYEG2L.cjs → TCDLLMZO.js} +14 -27
- package/dist/__chunks/TCDLLMZO.js.map +1 -0
- package/dist/__chunks/TCXV6BXC.js +34 -0
- package/dist/__chunks/TCXV6BXC.js.map +1 -0
- package/dist/__chunks/{KMIZI5PW.js → TDW36DTR.js} +1 -1
- package/dist/__chunks/TDW36DTR.js.map +1 -0
- package/dist/__chunks/TGLKPSPZ.js +7 -0
- package/dist/__chunks/TGLKPSPZ.js.map +1 -0
- package/dist/__chunks/TH7Z7WTQ.js +28 -0
- package/dist/__chunks/TH7Z7WTQ.js.map +1 -0
- package/dist/__chunks/THSDOTMK.cjs +127 -0
- package/dist/__chunks/THSDOTMK.cjs.map +1 -0
- package/dist/__chunks/TJPXOTPQ.cjs +124 -0
- package/dist/__chunks/TJPXOTPQ.cjs.map +1 -0
- package/dist/__chunks/TOZJ4X2G.js +41 -0
- package/dist/__chunks/TOZJ4X2G.js.map +1 -0
- package/dist/__chunks/TQ4QQTSW.js +53 -0
- package/dist/__chunks/TQ4QQTSW.js.map +1 -0
- package/dist/__chunks/TT5MGS4F.js +42 -0
- package/dist/__chunks/TT5MGS4F.js.map +1 -0
- package/dist/__chunks/TXFRXJZ4.js +36 -0
- package/dist/__chunks/TXFRXJZ4.js.map +1 -0
- package/dist/__chunks/TYC3IUHY.mjs +41 -0
- package/dist/__chunks/TYC3IUHY.mjs.map +1 -0
- package/dist/__chunks/TZR77726.js +84 -0
- package/dist/__chunks/TZR77726.js.map +1 -0
- package/dist/__chunks/U34J7J3T.cjs +111 -0
- package/dist/__chunks/U34J7J3T.cjs.map +1 -0
- package/dist/__chunks/UCMB6MFN.mjs +17 -0
- package/dist/__chunks/UCMB6MFN.mjs.map +1 -0
- package/dist/__chunks/UDNFWDDK.mjs +36 -0
- package/dist/__chunks/UDNFWDDK.mjs.map +1 -0
- package/dist/__chunks/UDYZYOUW.js +111 -0
- package/dist/__chunks/UDYZYOUW.js.map +1 -0
- package/dist/__chunks/UHNA3ZGL.js +7 -0
- package/dist/__chunks/UHNA3ZGL.js.map +1 -0
- package/dist/__chunks/UJX45K4M.js +53 -0
- package/dist/__chunks/UJX45K4M.js.map +1 -0
- package/dist/__chunks/UN4EOPMS.cjs +23 -0
- package/dist/__chunks/UN4EOPMS.cjs.map +1 -0
- package/dist/__chunks/USJPERI4.js +58 -0
- package/dist/__chunks/USJPERI4.js.map +1 -0
- package/dist/__chunks/UUKUV462.js +56 -0
- package/dist/__chunks/UUKUV462.js.map +1 -0
- package/dist/__chunks/UY5Z5APW.js +32 -0
- package/dist/__chunks/UY5Z5APW.js.map +1 -0
- package/dist/__chunks/{HOGVXDTO.js → V4YM6NMQ.mjs} +6 -6
- package/dist/__chunks/{HOGVXDTO.js.map → V4YM6NMQ.mjs.map} +1 -1
- package/dist/__chunks/V73UH6T4.cjs +56 -0
- package/dist/__chunks/V73UH6T4.cjs.map +1 -0
- package/dist/__chunks/VBOAAMGH.js +124 -0
- package/dist/__chunks/VBOAAMGH.js.map +1 -0
- package/dist/__chunks/VDPH7IK3.js +105 -0
- package/dist/__chunks/VDPH7IK3.js.map +1 -0
- package/dist/__chunks/VDX2LTE5.js +36 -0
- package/dist/__chunks/VDX2LTE5.js.map +1 -0
- package/dist/__chunks/VE23NE5H.cjs +95 -0
- package/dist/__chunks/VE23NE5H.cjs.map +1 -0
- package/dist/__chunks/VEFYPJRY.js +7 -0
- package/dist/__chunks/VEFYPJRY.js.map +1 -0
- package/dist/__chunks/VF4Z3FSJ.cjs +270 -0
- package/dist/__chunks/VF4Z3FSJ.cjs.map +1 -0
- package/dist/__chunks/VHWVQNQO.js +76 -0
- package/dist/__chunks/VHWVQNQO.js.map +1 -0
- package/dist/__chunks/VKO4TG7F.mjs +15 -0
- package/dist/__chunks/VKO4TG7F.mjs.map +1 -0
- package/dist/__chunks/{2O6FDRTF.js → VPGRPGP7.js} +1 -1
- package/dist/__chunks/VPGRPGP7.js.map +1 -0
- package/dist/__chunks/VSTDJIYK.mjs +118 -0
- package/dist/__chunks/VSTDJIYK.mjs.map +1 -0
- package/dist/__chunks/VSTQZSBF.mjs +26 -0
- package/dist/__chunks/VSTQZSBF.mjs.map +1 -0
- package/dist/__chunks/VU6QARVC.cjs +106 -0
- package/dist/__chunks/VU6QARVC.cjs.map +1 -0
- package/dist/__chunks/VW2JPOYQ.cjs +164 -0
- package/dist/__chunks/VW2JPOYQ.cjs.map +1 -0
- package/dist/__chunks/VW7YADUL.mjs +31 -0
- package/dist/__chunks/VW7YADUL.mjs.map +1 -0
- package/dist/__chunks/VWACUDIR.js +130 -0
- package/dist/__chunks/VWACUDIR.js.map +1 -0
- package/dist/__chunks/{VMARHE5B.cjs → W4BWNGOX.cjs} +1 -1
- package/dist/__chunks/W4BWNGOX.cjs.map +1 -0
- package/dist/__chunks/W5YGMJE6.js +15 -0
- package/dist/__chunks/W5YGMJE6.js.map +1 -0
- package/dist/__chunks/W62GQ5OO.cjs +210 -0
- package/dist/__chunks/W62GQ5OO.cjs.map +1 -0
- package/dist/__chunks/WIDP7NHD.mjs +72 -0
- package/dist/__chunks/WIDP7NHD.mjs.map +1 -0
- package/dist/__chunks/WLELQDTJ.js +110 -0
- package/dist/__chunks/WLELQDTJ.js.map +1 -0
- package/dist/__chunks/WMOVH7VA.cjs +119 -0
- package/dist/__chunks/WMOVH7VA.cjs.map +1 -0
- package/dist/__chunks/WO3NKGKN.js +86 -0
- package/dist/__chunks/WO3NKGKN.js.map +1 -0
- package/dist/__chunks/WOYU2W3H.js +53 -0
- package/dist/__chunks/WOYU2W3H.js.map +1 -0
- package/dist/__chunks/WPIBNMAN.mjs +53 -0
- package/dist/__chunks/WPIBNMAN.mjs.map +1 -0
- package/dist/__chunks/WSCARST6.mjs +58 -0
- package/dist/__chunks/WSCARST6.mjs.map +1 -0
- package/dist/__chunks/WUMMQPCL.js +95 -0
- package/dist/__chunks/WUMMQPCL.js.map +1 -0
- package/dist/__chunks/X6ZN6GFN.js +15 -0
- package/dist/__chunks/X6ZN6GFN.js.map +1 -0
- package/dist/__chunks/{JYDZTZIK.cjs → X7HBRX7C.cjs} +6 -6
- package/dist/__chunks/X7HBRX7C.cjs.map +1 -0
- package/dist/__chunks/XFKGXL73.mjs +14 -0
- package/dist/__chunks/XFKGXL73.mjs.map +1 -0
- package/dist/__chunks/XGOGCCXV.js +111 -0
- package/dist/__chunks/XGOGCCXV.js.map +1 -0
- package/dist/__chunks/{5WNFAQGY.cjs → XPA5XWVA.cjs} +1 -1
- package/dist/__chunks/XPA5XWVA.cjs.map +1 -0
- package/dist/__chunks/XTX7ZISS.js +118 -0
- package/dist/__chunks/XTX7ZISS.js.map +1 -0
- package/dist/__chunks/XUVMK7DJ.mjs +96 -0
- package/dist/__chunks/XUVMK7DJ.mjs.map +1 -0
- package/dist/__chunks/XW33O54A.cjs +53 -0
- package/dist/__chunks/XW33O54A.cjs.map +1 -0
- package/dist/__chunks/XYJAY6X7.cjs +159 -0
- package/dist/__chunks/XYJAY6X7.cjs.map +1 -0
- package/dist/__chunks/XZJZCH5M.cjs +36 -0
- package/dist/__chunks/XZJZCH5M.cjs.map +1 -0
- package/dist/__chunks/Y6LEUOQR.js +7 -0
- package/dist/__chunks/Y6LEUOQR.js.map +1 -0
- package/dist/__chunks/YEQPYC3N.mjs +7 -0
- package/dist/__chunks/YEQPYC3N.mjs.map +1 -0
- package/dist/__chunks/{652STTPK.js → YFRC4YZW.js} +1 -1
- package/dist/__chunks/{5WNFAQGY.cjs.map → YFRC4YZW.js.map} +1 -1
- package/dist/__chunks/YGT4J7F2.cjs +143 -0
- package/dist/__chunks/YGT4J7F2.cjs.map +1 -0
- package/dist/__chunks/YIZDYHUE.js +135 -0
- package/dist/__chunks/YIZDYHUE.js.map +1 -0
- package/dist/__chunks/{TEJLBWXV.cjs → YKIJQZYO.js} +2 -1
- package/dist/__chunks/YKIJQZYO.js.map +1 -0
- package/dist/__chunks/YKRP6D72.js +53 -0
- package/dist/__chunks/YKRP6D72.js.map +1 -0
- package/dist/__chunks/YOICG7YI.mjs +31 -0
- package/dist/__chunks/YOICG7YI.mjs.map +1 -0
- package/dist/__chunks/YUND6TQE.js +31 -0
- package/dist/__chunks/YUND6TQE.js.map +1 -0
- package/dist/__chunks/YUPTQIXD.mjs +111 -0
- package/dist/__chunks/YUPTQIXD.mjs.map +1 -0
- package/dist/__chunks/YXXPQWPH.js +143 -0
- package/dist/__chunks/YXXPQWPH.js.map +1 -0
- package/dist/__chunks/Z3HVCIFG.js +23 -0
- package/dist/__chunks/Z3HVCIFG.js.map +1 -0
- package/dist/__chunks/Z4IY6SNT.mjs +35 -0
- package/dist/__chunks/Z4IY6SNT.mjs.map +1 -0
- package/dist/__chunks/Z6VJIDKQ.js +31 -0
- package/dist/__chunks/Z6VJIDKQ.js.map +1 -0
- package/dist/__chunks/ZCN7X7TS.js +14 -0
- package/dist/__chunks/ZCN7X7TS.js.map +1 -0
- package/dist/__chunks/ZHZ6U63Z.mjs +29 -0
- package/dist/__chunks/{G4DDTGDI.js.map → ZHZ6U63Z.mjs.map} +1 -1
- package/dist/__chunks/{7GJ2SD7O.cjs → ZJGZQ6JT.cjs} +1 -1
- package/dist/__chunks/ZJGZQ6JT.cjs.map +1 -0
- package/dist/__chunks/ZJKI73IC.mjs +110 -0
- package/dist/__chunks/ZJKI73IC.mjs.map +1 -0
- package/dist/__chunks/ZRYT2ZIO.cjs +7 -0
- package/dist/__chunks/ZRYT2ZIO.cjs.map +1 -0
- package/dist/colors/allColors.mjs +58 -0
- package/dist/colors/allColors.mjs.map +1 -0
- package/dist/colors/backgroundColor.cjs +5 -3
- package/dist/colors/backgroundColor.css +269 -56
- package/dist/colors/backgroundColor.css.map +1 -1
- package/dist/colors/backgroundColor.d.ts +4 -3
- package/dist/colors/backgroundColor.js +6 -4
- package/dist/colors/backgroundColor.mjs +10 -0
- package/dist/colors/backgroundColor.mjs.map +1 -0
- package/dist/colors/foregroundColor.cjs +5 -3
- package/dist/colors/foregroundColor.css +269 -56
- package/dist/colors/foregroundColor.css.map +1 -1
- package/dist/colors/foregroundColor.d.ts +4 -3
- package/dist/colors/foregroundColor.js +6 -4
- package/dist/colors/foregroundColor.mjs +10 -0
- package/dist/colors/foregroundColor.mjs.map +1 -0
- package/dist/colors/foregroundTypographyColor.cjs +19 -4
- package/dist/colors/foregroundTypographyColor.cjs.map +1 -1
- package/dist/colors/foregroundTypographyColor.js +18 -3
- package/dist/colors/foregroundTypographyColor.js.map +1 -1
- package/dist/colors/foregroundTypographyColor.mjs +8 -0
- package/dist/colors/foregroundTypographyColor.mjs.map +1 -0
- package/dist/constants.cjs +14 -1
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.d.ts +2 -1
- package/dist/constants.js +13 -0
- package/dist/constants.js.map +1 -1
- package/dist/constants.mjs +26 -0
- package/dist/constants.mjs.map +1 -0
- package/dist/index.cjs +54 -48
- package/dist/index.css +375 -120
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +61 -55
- package/dist/index.mjs +102 -0
- package/dist/index.mjs.map +1 -0
- package/dist/react-aria-utils/OverlayArrow.d.ts +8 -0
- package/dist/react-aria-utils/Triggerable.cjs +2 -2
- package/dist/react-aria-utils/Triggerable.css +1 -1
- package/dist/react-aria-utils/Triggerable.css.map +1 -1
- package/dist/react-aria-utils/Triggerable.js +1 -1
- package/dist/useFocusVisible.mjs +8 -0
- package/dist/useFocusVisible.mjs.map +1 -0
- package/dist/useIsHydrated.mjs +8 -0
- package/dist/useIsHydrated.mjs.map +1 -0
- package/package.json +16 -16
- package/LICENSE +0 -201
- package/dist/__chunks/2O6FDRTF.js.map +0 -1
- package/dist/__chunks/36B62A3Z.cjs.map +0 -1
- package/dist/__chunks/3HVG5AGO.cjs.map +0 -1
- package/dist/__chunks/3TXXNWWA.cjs.map +0 -1
- package/dist/__chunks/4ICD552D.cjs +0 -31
- package/dist/__chunks/4ICD552D.cjs.map +0 -1
- package/dist/__chunks/4PWSK5GI.js.map +0 -1
- package/dist/__chunks/652STTPK.js.map +0 -1
- package/dist/__chunks/6VWFOSQZ.js.map +0 -1
- package/dist/__chunks/7GJ2SD7O.cjs.map +0 -1
- package/dist/__chunks/D24RSGYP.js.map +0 -1
- package/dist/__chunks/ERXGNP37.js.map +0 -1
- package/dist/__chunks/JIXNBF5N.js.map +0 -1
- package/dist/__chunks/JLUYEG2L.cjs.map +0 -1
- package/dist/__chunks/JWFHLI33.js.map +0 -1
- package/dist/__chunks/JYDZTZIK.cjs.map +0 -1
- package/dist/__chunks/KMIZI5PW.js.map +0 -1
- package/dist/__chunks/LJHH6KUW.js.map +0 -1
- package/dist/__chunks/LTM57QMY.cjs.map +0 -1
- package/dist/__chunks/NGUJFGAC.cjs.map +0 -1
- package/dist/__chunks/PBOQIXCB.cjs.map +0 -1
- package/dist/__chunks/PQIPUPQ2.cjs +0 -26
- package/dist/__chunks/PQIPUPQ2.cjs.map +0 -1
- package/dist/__chunks/PTWXXDFF.js.map +0 -1
- package/dist/__chunks/PZYWUTMW.cjs.map +0 -1
- package/dist/__chunks/QNBZ64IE.cjs.map +0 -1
- package/dist/__chunks/RAVU4WEO.cjs.map +0 -1
- package/dist/__chunks/RLYKYCEU.cjs.map +0 -1
- package/dist/__chunks/TBAJ7VLZ.cjs.map +0 -1
- package/dist/__chunks/TEJLBWXV.cjs.map +0 -1
- package/dist/__chunks/TJHCYMPV.js.map +0 -1
- package/dist/__chunks/TPMQI44L.js.map +0 -1
- package/dist/__chunks/VMARHE5B.cjs.map +0 -1
- package/dist/__chunks/VY7MJTPK.js.map +0 -1
- package/dist/__chunks/ZDMSFZS3.cjs.map +0 -1
- /package/dist/__chunks/{5TKLFG5Y.cjs.map → 26DCBIO2.cjs.map} +0 -0
- /package/dist/__chunks/{E4BJX2H5.js.map → 2EUGZMKW.js.map} +0 -0
- /package/dist/__chunks/{W7CSNF2M.cjs.map → 56HU44ZD.js.map} +0 -0
- /package/dist/__chunks/{YBP5BNDH.cjs.map → 5DFB3Y3T.cjs.map} +0 -0
- /package/dist/__chunks/{FZ5HWA3S.cjs.map → 5TZEC2R4.cjs.map} +0 -0
- /package/dist/__chunks/{PEKXH4DM.js.map → A2VHEPTR.mjs.map} +0 -0
- /package/dist/__chunks/{FMSI35YS.cjs.map → AHGRDXT4.cjs.map} +0 -0
- /package/dist/__chunks/{M2T7D4DC.js.map → AVKI36XD.js.map} +0 -0
- /package/dist/__chunks/{NDJRETMM.cjs.map → CESL6LVL.cjs.map} +0 -0
- /package/dist/__chunks/{DNTOWEIQ.js.map → DC7PXJHM.js.map} +0 -0
- /package/dist/__chunks/{2RCQTGOZ.cjs.map → DYV7A53G.cjs.map} +0 -0
- /package/dist/__chunks/{JKXOZUCV.js.map → FJFRNV7T.js.map} +0 -0
- /package/dist/__chunks/{JHAV5OTQ.js.map → HY3KIVTC.js.map} +0 -0
- /package/dist/__chunks/{K77KFPIV.cjs.map → J3TYZIJY.js.map} +0 -0
- /package/dist/__chunks/{HEJ3LVZG.js.map → OXTDWWXG.js.map} +0 -0
- /package/dist/__chunks/{STT27BTU.js.map → S2O3PM7G.mjs.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/RichSelect/RichSelectChip.tsx"],"sourcesContent":["import React, { type ForwardedRef, forwardRef, type ReactElement } from \"react\";\nimport Chip from \"../Chip/Chip\";\nimport RichSelectItem, { type RichSelectItemProps } from \"./RichSelectItem\";\n\ntype RichSelectChipProps = RichSelectItemProps;\n\nexport default forwardRef<HTMLDivElement, RichSelectChipProps>(\n function RichSelectChip(\n props: RichSelectChipProps,\n ref: ForwardedRef<HTMLDivElement>,\n ): ReactElement {\n return (\n <RichSelectItem {...props} ref={ref}>\n {({ isSelected, isFocusVisible, isDisabled }) => (\n <Chip\n text={props.label}\n selected={isSelected}\n disabled={isDisabled}\n dangerouslyForceFocusStyles={isFocusVisible}\n onChange={() => undefined}\n />\n )}\n </RichSelectItem>\n );\n },\n);\n"],"mappings":";;;;;;;;;;;;AAAA,SAAmC,kBAAqC;AAc9D;AARV,IAAO,yBAAQ;AAAA,EACb,SAAS,eACP,OACA,KACc;AACd,WACE,oBAAC,yDAAmB,QAAnB,EAA0B,KACxB,WAAC,EAAE,YAAY,gBAAgB,WAAW,MACzC;AAAA,MAAC;AAAA;AAAA,QACC,MAAM,MAAM;AAAA,QACZ,UAAU;AAAA,QACV,UAAU;AAAA,QACV,6BAA6B;AAAA,QAC7B,UAAU,MAAM;AAAA;AAAA,IAClB,IAEJ;AAAA,EAEJ;AACF;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Button/constants/loadingIconSize.ts"],"sourcesContent":["const loadingIconSize = {\n [\"sm\"]: 16,\n [\"md\"]: 20,\n [\"lg\"]: 24,\n};\n\nexport default loadingIconSize;\n"],"mappings":";AAAA,IAAM,kBAAkB;AAAA,EACtB,CAAC,IAAI,GAAG;AAAA,EACR,CAAC,IAAI,GAAG;AAAA,EACR,CAAC,IAAI,GAAG;AACV;AAEA,IAAO,0BAAQ;","names":[]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// css-module:../Button/Button.module.css#css-module
|
|
2
|
+
var Button_module_default = { "button": "_button_13a7m_1", "buttonGap": "_buttonGap_13a7m_9", "fullWidth": "_fullWidth_13a7m_50", "sm": "_sm_13a7m_54", "md": "_md_13a7m_61", "lg": "_lg_13a7m_68", "smCambio": "_smCambio_13a7m_75", "mdCambio": "_mdCambio_13a7m_82", "lgCambio": "_lgCambio_13a7m_89", "icon": "_icon_13a7m_96", "smIcon": "_smIcon_13a7m_100", "mdIcon": "_mdIcon_13a7m_107", "lgIcon": "_lgIcon_13a7m_114", "secondaryBorder": "_secondaryBorder_13a7m_121", "secondaryDestructiveBorder": "_secondaryDestructiveBorder_13a7m_125", "cambioSecondaryBorder": "_cambioSecondaryBorder_13a7m_129", "cambioSecondaryDestructiveBorder": "_cambioSecondaryDestructiveBorder_13a7m_133", "cambioSecondarySuccessBorder": "_cambioSecondarySuccessBorder_13a7m_137", "loading": "_loading_13a7m_151", "syntaxButtonLoadingRotate": "_syntaxButtonLoadingRotate_13a7m_1", "loadingCircle": "_loadingCircle_13a7m_155" };
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
exports.Button_module_default = Button_module_default;
|
|
7
|
+
//# sourceMappingURL=EMQGSVJT.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["css-module:../Button/Button.module.css#css-module"],"names":[],"mappings":";AAA2F,IAAO,wBAAQ,EAAC,UAAS,mBAAkB,aAAY,sBAAqB,aAAY,uBAAsB,MAAK,gBAAe,MAAK,gBAAe,MAAK,gBAAe,YAAW,sBAAqB,YAAW,sBAAqB,YAAW,sBAAqB,QAAO,kBAAiB,UAAS,qBAAoB,UAAS,qBAAoB,UAAS,qBAAoB,mBAAkB,8BAA6B,8BAA6B,yCAAwC,yBAAwB,oCAAmC,oCAAmC,+CAA8C,gCAA+B,2CAA0C,WAAU,sBAAqB,6BAA4B,sCAAqC,iBAAgB,2BAA0B","sourcesContent":["import \"/Users/christian/cambly/syntax/packages/syntax-core/src/Button/Button.module.css\"; export default {\"button\":\"_button_13a7m_1\",\"buttonGap\":\"_buttonGap_13a7m_9\",\"fullWidth\":\"_fullWidth_13a7m_50\",\"sm\":\"_sm_13a7m_54\",\"md\":\"_md_13a7m_61\",\"lg\":\"_lg_13a7m_68\",\"smCambio\":\"_smCambio_13a7m_75\",\"mdCambio\":\"_mdCambio_13a7m_82\",\"lgCambio\":\"_lgCambio_13a7m_89\",\"icon\":\"_icon_13a7m_96\",\"smIcon\":\"_smIcon_13a7m_100\",\"mdIcon\":\"_mdIcon_13a7m_107\",\"lgIcon\":\"_lgIcon_13a7m_114\",\"secondaryBorder\":\"_secondaryBorder_13a7m_121\",\"secondaryDestructiveBorder\":\"_secondaryDestructiveBorder_13a7m_125\",\"cambioSecondaryBorder\":\"_cambioSecondaryBorder_13a7m_129\",\"cambioSecondaryDestructiveBorder\":\"_cambioSecondaryDestructiveBorder_13a7m_133\",\"cambioSecondarySuccessBorder\":\"_cambioSecondarySuccessBorder_13a7m_137\",\"loading\":\"_loading_13a7m_151\",\"syntaxButtonLoadingRotate\":\"_syntaxButtonLoadingRotate_13a7m_1\",\"loadingCircle\":\"_loadingCircle_13a7m_155\"}"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// css-module:./colors.module.css#css-module
|
|
2
|
+
var colors_module_default = { "inheritColor": "_inheritColor_2qqen_2", "yellowSecondaryBackgroundColor": "_yellowSecondaryBackgroundColor_2qqen_6", "destructive700Color": "_destructive700Color_2qqen_10", "gray700Color": "_gray700Color_2qqen_14", "gray900Color": "_gray900Color_2qqen_18", "primary700Color": "_primary700Color_2qqen_22", "success700Color": "_success700Color_2qqen_26", "whiteColor": "_whiteColor_2qqen_30", "blackBackgroundColor": "_blackBackgroundColor_2qqen_35", "destructive100BackgroundColor": "_destructive100BackgroundColor_2qqen_39", "destructive200BackgroundColor": "_destructive200BackgroundColor_2qqen_43", "destructive300BackgroundColor": "_destructive300BackgroundColor_2qqen_47", "destructive700BackgroundColor": "_destructive700BackgroundColor_2qqen_51", "destructive800BackgroundColor": "_destructive800BackgroundColor_2qqen_55", "destructive900BackgroundColor": "_destructive900BackgroundColor_2qqen_59", "gray10BackgroundColor": "_gray10BackgroundColor_2qqen_63", "gray30BackgroundColor": "_gray30BackgroundColor_2qqen_67", "gray60BackgroundColor": "_gray60BackgroundColor_2qqen_71", "gray80BackgroundColor": "_gray80BackgroundColor_2qqen_75", "gray100BackgroundColor": "_gray100BackgroundColor_2qqen_79", "gray200BackgroundColor": "_gray200BackgroundColor_2qqen_83", "gray300BackgroundColor": "_gray300BackgroundColor_2qqen_87", "gray700BackgroundColor": "_gray700BackgroundColor_2qqen_91", "gray800BackgroundColor": "_gray800BackgroundColor_2qqen_95", "gray900BackgroundColor": "_gray900BackgroundColor_2qqen_99", "orange100BackgroundColor": "_orange100BackgroundColor_2qqen_103", "orange200BackgroundColor": "_orange200BackgroundColor_2qqen_107", "orange300BackgroundColor": "_orange300BackgroundColor_2qqen_111", "orange700BackgroundColor": "_orange700BackgroundColor_2qqen_115", "orange800BackgroundColor": "_orange800BackgroundColor_2qqen_119", "orange900BackgroundColor": "_orange900BackgroundColor_2qqen_123", "primary100BackgroundColor": "_primary100BackgroundColor_2qqen_127", "primary200BackgroundColor": "_primary200BackgroundColor_2qqen_131", "primary300BackgroundColor": "_primary300BackgroundColor_2qqen_135", "primary700BackgroundColor": "_primary700BackgroundColor_2qqen_139", "primary800BackgroundColor": "_primary800BackgroundColor_2qqen_143", "primary900BackgroundColor": "_primary900BackgroundColor_2qqen_147", "success100BackgroundColor": "_success100BackgroundColor_2qqen_151", "success200BackgroundColor": "_success200BackgroundColor_2qqen_155", "success300BackgroundColor": "_success300BackgroundColor_2qqen_159", "success700BackgroundColor": "_success700BackgroundColor_2qqen_163", "success800BackgroundColor": "_success800BackgroundColor_2qqen_167", "success900BackgroundColor": "_success900BackgroundColor_2qqen_171", "purple100BackgroundColor": "_purple100BackgroundColor_2qqen_175", "purple200BackgroundColor": "_purple200BackgroundColor_2qqen_179", "purple300BackgroundColor": "_purple300BackgroundColor_2qqen_183", "purple700BackgroundColor": "_purple700BackgroundColor_2qqen_187", "purple800BackgroundColor": "_purple800BackgroundColor_2qqen_191", "purple900BackgroundColor": "_purple900BackgroundColor_2qqen_195", "whiteBackgroundColor": "_whiteBackgroundColor_2qqen_199", "yellow100BackgroundColor": "_yellow100BackgroundColor_2qqen_203", "yellow200BackgroundColor": "_yellow200BackgroundColor_2qqen_207", "yellow300BackgroundColor": "_yellow300BackgroundColor_2qqen_211", "yellow700BackgroundColor": "_yellow700BackgroundColor_2qqen_215", "yellow800BackgroundColor": "_yellow800BackgroundColor_2qqen_219", "yellow900BackgroundColor": "_yellow900BackgroundColor_2qqen_223" };
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
exports.colors_module_default = colors_module_default;
|
|
7
|
+
//# sourceMappingURL=EOHF5NBT.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["css-module:./colors.module.css#css-module"],"names":[],"mappings":";AAA2F,IAAO,wBAAQ,EAAC,gBAAe,yBAAwB,kCAAiC,2CAA0C,uBAAsB,iCAAgC,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,uCAAsC,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","sourcesContent":["import \"/Users/christian/cambly/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"inheritColor\":\"_inheritColor_2qqen_2\",\"yellowSecondaryBackgroundColor\":\"_yellowSecondaryBackgroundColor_2qqen_6\",\"destructive700Color\":\"_destructive700Color_2qqen_10\",\"gray700Color\":\"_gray700Color_2qqen_14\",\"gray900Color\":\"_gray900Color_2qqen_18\",\"primary700Color\":\"_primary700Color_2qqen_22\",\"success700Color\":\"_success700Color_2qqen_26\",\"whiteColor\":\"_whiteColor_2qqen_30\",\"blackBackgroundColor\":\"_blackBackgroundColor_2qqen_35\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_2qqen_39\",\"destructive200BackgroundColor\":\"_destructive200BackgroundColor_2qqen_43\",\"destructive300BackgroundColor\":\"_destructive300BackgroundColor_2qqen_47\",\"destructive700BackgroundColor\":\"_destructive700BackgroundColor_2qqen_51\",\"destructive800BackgroundColor\":\"_destructive800BackgroundColor_2qqen_55\",\"destructive900BackgroundColor\":\"_destructive900BackgroundColor_2qqen_59\",\"gray10BackgroundColor\":\"_gray10BackgroundColor_2qqen_63\",\"gray30BackgroundColor\":\"_gray30BackgroundColor_2qqen_67\",\"gray60BackgroundColor\":\"_gray60BackgroundColor_2qqen_71\",\"gray80BackgroundColor\":\"_gray80BackgroundColor_2qqen_75\",\"gray100BackgroundColor\":\"_gray100BackgroundColor_2qqen_79\",\"gray200BackgroundColor\":\"_gray200BackgroundColor_2qqen_83\",\"gray300BackgroundColor\":\"_gray300BackgroundColor_2qqen_87\",\"gray700BackgroundColor\":\"_gray700BackgroundColor_2qqen_91\",\"gray800BackgroundColor\":\"_gray800BackgroundColor_2qqen_95\",\"gray900BackgroundColor\":\"_gray900BackgroundColor_2qqen_99\",\"orange100BackgroundColor\":\"_orange100BackgroundColor_2qqen_103\",\"orange200BackgroundColor\":\"_orange200BackgroundColor_2qqen_107\",\"orange300BackgroundColor\":\"_orange300BackgroundColor_2qqen_111\",\"orange700BackgroundColor\":\"_orange700BackgroundColor_2qqen_115\",\"orange800BackgroundColor\":\"_orange800BackgroundColor_2qqen_119\",\"orange900BackgroundColor\":\"_orange900BackgroundColor_2qqen_123\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_2qqen_127\",\"primary200BackgroundColor\":\"_primary200BackgroundColor_2qqen_131\",\"primary300BackgroundColor\":\"_primary300BackgroundColor_2qqen_135\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_2qqen_139\",\"primary800BackgroundColor\":\"_primary800BackgroundColor_2qqen_143\",\"primary900BackgroundColor\":\"_primary900BackgroundColor_2qqen_147\",\"success100BackgroundColor\":\"_success100BackgroundColor_2qqen_151\",\"success200BackgroundColor\":\"_success200BackgroundColor_2qqen_155\",\"success300BackgroundColor\":\"_success300BackgroundColor_2qqen_159\",\"success700BackgroundColor\":\"_success700BackgroundColor_2qqen_163\",\"success800BackgroundColor\":\"_success800BackgroundColor_2qqen_167\",\"success900BackgroundColor\":\"_success900BackgroundColor_2qqen_171\",\"purple100BackgroundColor\":\"_purple100BackgroundColor_2qqen_175\",\"purple200BackgroundColor\":\"_purple200BackgroundColor_2qqen_179\",\"purple300BackgroundColor\":\"_purple300BackgroundColor_2qqen_183\",\"purple700BackgroundColor\":\"_purple700BackgroundColor_2qqen_187\",\"purple800BackgroundColor\":\"_purple800BackgroundColor_2qqen_191\",\"purple900BackgroundColor\":\"_purple900BackgroundColor_2qqen_195\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_2qqen_199\",\"yellow100BackgroundColor\":\"_yellow100BackgroundColor_2qqen_203\",\"yellow200BackgroundColor\":\"_yellow200BackgroundColor_2qqen_207\",\"yellow300BackgroundColor\":\"_yellow300BackgroundColor_2qqen_211\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_2qqen_215\",\"yellow800BackgroundColor\":\"_yellow800BackgroundColor_2qqen_219\",\"yellow900BackgroundColor\":\"_yellow900BackgroundColor_2qqen_223\"}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["css-module:../colors/colors.module.css#css-module"],"names":[],"mappings":";AAA2F,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","sourcesContent":["import \"/Users/christian/cambly/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\"}"]}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import {
|
|
2
|
+
colors_module_default
|
|
3
|
+
} from "./DOMS3WH2.js";
|
|
4
|
+
|
|
5
|
+
// src/Typography/Typography.tsx
|
|
6
|
+
import classNames from "classnames";
|
|
7
|
+
import { forwardRef } from "react";
|
|
8
|
+
|
|
9
|
+
// css-module:./Typography.module.css#css-module
|
|
10
|
+
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" };
|
|
11
|
+
|
|
12
|
+
// src/Typography/Typography.tsx
|
|
13
|
+
import { jsx } from "react/jsx-runtime";
|
|
14
|
+
function textColor(color) {
|
|
15
|
+
switch (color) {
|
|
16
|
+
case "gray700":
|
|
17
|
+
return colors_module_default.gray700Color;
|
|
18
|
+
case "white":
|
|
19
|
+
return colors_module_default.whiteColor;
|
|
20
|
+
case "inherit":
|
|
21
|
+
return colors_module_default.inheritColor;
|
|
22
|
+
case "primary":
|
|
23
|
+
return colors_module_default.primary700Color;
|
|
24
|
+
case "destructive-primary":
|
|
25
|
+
return colors_module_default.destructive700Color;
|
|
26
|
+
case "success":
|
|
27
|
+
return colors_module_default.success700Color;
|
|
28
|
+
default:
|
|
29
|
+
return colors_module_default.gray900Color;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
var Typography = forwardRef(function Typography2({
|
|
33
|
+
align = "start",
|
|
34
|
+
as = "div",
|
|
35
|
+
children,
|
|
36
|
+
color = "gray900",
|
|
37
|
+
"data-testid": dataTestId,
|
|
38
|
+
id,
|
|
39
|
+
inline = false,
|
|
40
|
+
lineClamp = void 0,
|
|
41
|
+
size = 200,
|
|
42
|
+
tooltip,
|
|
43
|
+
transform = "none",
|
|
44
|
+
underline = false,
|
|
45
|
+
weight = "regular"
|
|
46
|
+
}, ref) {
|
|
47
|
+
const Tag = as;
|
|
48
|
+
return /* @__PURE__ */ jsx(
|
|
49
|
+
Tag,
|
|
50
|
+
{
|
|
51
|
+
id,
|
|
52
|
+
className: classNames(
|
|
53
|
+
Typography_module_default.typography,
|
|
54
|
+
Typography_module_default[align],
|
|
55
|
+
Typography_module_default[weight],
|
|
56
|
+
textColor(color),
|
|
57
|
+
inline && Typography_module_default.inline,
|
|
58
|
+
Typography_module_default[`size${size}`],
|
|
59
|
+
transform === "uppercase" && Typography_module_default.uppercase,
|
|
60
|
+
underline && Typography_module_default.underline,
|
|
61
|
+
lineClamp != null && Typography_module_default.lineClamp
|
|
62
|
+
),
|
|
63
|
+
"data-testid": dataTestId,
|
|
64
|
+
style: {
|
|
65
|
+
WebkitLineClamp: lineClamp
|
|
66
|
+
},
|
|
67
|
+
title: tooltip,
|
|
68
|
+
ref,
|
|
69
|
+
children
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
});
|
|
73
|
+
var Typography_default = Typography;
|
|
74
|
+
|
|
75
|
+
export {
|
|
76
|
+
Typography_default
|
|
77
|
+
};
|
|
78
|
+
//# sourceMappingURL=EWZKTMOO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Typography/Typography.tsx","css-module:./Typography.module.css#css-module"],"sourcesContent":["import classNames from \"classnames\";\nimport { forwardRef, 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 = 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?: (typeof Color)[number];\n /**\n * Test id for the text\n */\n \"data-testid\"?: string;\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 * * `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 }\n>(function Typography(\n {\n align = \"start\",\n as = \"div\",\n children,\n color = \"gray900\",\n \"data-testid\": dataTestId,\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 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 \"/Users/christian/cambly/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;AACvB,SAAS,kBAAqD;;;ACDqC,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;;;ADmI5wB;AA7HJ,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,WAkFjB,SAASA,YACT;AAAA,EACE,QAAQ;AAAA,EACR,KAAK;AAAA,EACL;AAAA,EACA,QAAQ;AAAA,EACR,eAAe;AAAA,EACf;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,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;","names":["Typography"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _ZJGZQ6JTcjs = require('./ZJGZQ6JT.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _FZRIE7EXcjs = require('./FZRIE7EX.cjs');
|
|
@@ -45,6 +45,8 @@ var TapArea = _react.forwardRef.call(void 0,
|
|
|
45
45
|
disabled: disabledProp = false,
|
|
46
46
|
fullWidth = true,
|
|
47
47
|
onClick,
|
|
48
|
+
onMouseEnter,
|
|
49
|
+
onMouseLeave,
|
|
48
50
|
rounding = "none",
|
|
49
51
|
tabIndex = 0
|
|
50
52
|
} = _b, accessibilityProps = _I64JGYX7cjs.__objRest.call(void 0, _b, [
|
|
@@ -54,6 +56,8 @@ var TapArea = _react.forwardRef.call(void 0,
|
|
|
54
56
|
"disabled",
|
|
55
57
|
"fullWidth",
|
|
56
58
|
"onClick",
|
|
59
|
+
"onMouseEnter",
|
|
60
|
+
"onMouseLeave",
|
|
57
61
|
"rounding",
|
|
58
62
|
"tabIndex"
|
|
59
63
|
]);
|
|
@@ -78,8 +82,20 @@ var TapArea = _react.forwardRef.call(void 0,
|
|
|
78
82
|
onClick(event);
|
|
79
83
|
}
|
|
80
84
|
};
|
|
85
|
+
const handleOnMouseEnter = (event) => {
|
|
86
|
+
if (disabled)
|
|
87
|
+
return;
|
|
88
|
+
dispatch({ type: "MOUSE_ENTER" });
|
|
89
|
+
onMouseEnter == null ? void 0 : onMouseEnter(event);
|
|
90
|
+
};
|
|
91
|
+
const handleOnMouseLeave = (event) => {
|
|
92
|
+
if (disabled)
|
|
93
|
+
return;
|
|
94
|
+
dispatch({ type: "MOUSE_LEAVE" });
|
|
95
|
+
onMouseLeave == null ? void 0 : onMouseLeave(event);
|
|
96
|
+
};
|
|
81
97
|
const isHoveredOrFocussed = !disabled && (hovered || focussed);
|
|
82
|
-
const roundingClasses = rounding !== "none" &&
|
|
98
|
+
const roundingClasses = rounding !== "none" && _ZJGZQ6JTcjs.rounding_module_default[`rounding${rounding}`];
|
|
83
99
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
84
100
|
"div",
|
|
85
101
|
_I64JGYX7cjs.__spreadProps.call(void 0, _I64JGYX7cjs.__spreadValues.call(void 0, {}, accessibilityProps), {
|
|
@@ -95,8 +111,8 @@ var TapArea = _react.forwardRef.call(void 0,
|
|
|
95
111
|
"data-testid": dataTestId,
|
|
96
112
|
onClick: handleClick,
|
|
97
113
|
onKeyDown: handleKeyDown,
|
|
98
|
-
onMouseEnter:
|
|
99
|
-
onMouseLeave:
|
|
114
|
+
onMouseEnter: handleOnMouseEnter,
|
|
115
|
+
onMouseLeave: handleOnMouseLeave,
|
|
100
116
|
onFocus: () => dispatch({ type: "FOCUS" }),
|
|
101
117
|
onBlur: () => dispatch({ type: "BLUR" }),
|
|
102
118
|
ref,
|
|
@@ -116,4 +132,4 @@ var TapArea_default = TapArea;
|
|
|
116
132
|
|
|
117
133
|
|
|
118
134
|
exports.TapArea_default = TapArea_default;
|
|
119
|
-
//# sourceMappingURL=
|
|
135
|
+
//# sourceMappingURL=EYUYCIBZ.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/TapArea/TapArea.tsx","css-module:./TapArea.module.css#css-module"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;AAAA,EAEE;AAAA,EACA;AAAA,OAEK;AACP,OAAO,gBAAgB;;;ACNsE,IAAO,yBAAQ,EAAC,WAAU,oBAAmB,aAAY,sBAAqB,YAAW,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,qBAAoB,8BAA6B;;;AD2JjT,SAuBI,KAvBJ;AA1FN,SAAS,QACP,OAIA,QAGA;AACA,UAAQ,OAAO,MAAM;AAAA,IACnB,KAAK;AACH,aAAO,iCAAK,QAAL,EAAY,UAAU,MAAM;AAAA,IACrC,KAAK;AACH,aAAO,iCAAK,QAAL,EAAY,UAAU,KAAK;AAAA,IACpC,KAAK;AACH,aAAO,iCAAK,QAAL,EAAY,SAAS,KAAK;AAAA,IACnC,KAAK;AACH,aAAO,iCAAK,QAAL,EAAY,SAAS,MAAM;AAAA,IACpC;AACE,aAAO;AAAA,EACX;AACF;AAKA,IAAM,UAAU;AAAA,EACd,CACE,IAaA,QACG;AAdH,iBACE;AAAA;AAAA,MACA;AAAA,MACA,eAAe;AAAA,MACf,UAAU,eAAe;AAAA,MACzB,YAAY;AAAA,MACZ;AAAA,MACA;AAAA,MACA;AAAA,MACA,WAAW;AAAA,MACX,WAAW;AAAA,IAvGjB,IA6FI,IAWK,+BAXL,IAWK;AAAA,MAVH;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA;AAKF,UAAM,aAAa,cAAc;AACjC,UAAM,WAAW,CAAC,cAAc;AAChC,UAAM,CAAC,EAAE,SAAS,SAAS,GAAG,QAAQ,IAAI,WAAW,SAAS;AAAA,MAC5D,SAAS;AAAA,MACT,UAAU;AAAA,IACZ,CAAC;AAED,UAAM,cAAuD,CAAC,UAAU;AACtE,UAAI,UAAU;AAAA,MAEd,OAAO;AACL,cAAM,cAAc,KAAK;AACzB,gBAAQ,KAAK;AAAA,MACf;AAAA,IACF;AAEA,UAAM,gBAA4D,CAChE,UACG;AACH,UAAI;AAAU;AACd,UAAI,MAAM,QAAQ,WAAW,MAAM,QAAQ,OAAO,MAAM,QAAQ,SAAS;AACvE,cAAM,eAAe;AACrB,gBAAQ,KAAK;AAAA,MACf;AAAA,IACF;AAEA,UAAM,qBAA8D,CAClE,UACG;AACH,UAAI;AAAU;AACd,eAAS,EAAE,MAAM,cAAc,CAAC;AAChC,mDAAe;AAAA,IACjB;AAEA,UAAM,qBAA8D,CAClE,UACG;AACH,UAAI;AAAU;AACd,eAAS,EAAE,MAAM,cAAc,CAAC;AAChC,mDAAe;AAAA,IACjB;AAEA,UAAM,sBAAsB,CAAC,aAAa,WAAW;AACrD,UAAM,kBACJ,aAAa,UAAU,wBAAe,WAAW,UAAU;AAE7D,WACE;AAAA,MAAC;AAAA,uCACK,qBADL;AAAA,QAEC,iBAAe,YAAY,mBAAmB,eAAe;AAAA,QAC7D,cAAY,kDAAsB,mBAAmB,YAAY;AAAA,QACjE,WAAW;AAAA,UACT,uBAAO;AAAA,UACP,uBAAO,GAAG,WAAW,aAAa,WAAW;AAAA,UAC7C,aAAa,uBAAO;AAAA,UACpB,uBAAuB,uBAAO;AAAA,UAC9B;AAAA,QACF;AAAA,QACA,eAAa;AAAA,QACb,SAAS;AAAA,QACT,WAAW;AAAA,QACX,cAAc;AAAA,QACd,cAAc;AAAA,QACd,SAAS,MAAM,SAAS,EAAE,MAAM,QAAQ,CAAC;AAAA,QACzC,QAAQ,MAAM,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,QACvC;AAAA,QACA,MAAK;AAAA,QACL,UAAU,WAAW,SAAY;AAAA,QAEhC;AAAA,WAAC,aAAa,WAAW,aACxB,oBAAC,SAAI,WAAW,WAAW,uBAAO,SAAS,eAAe,GAAG;AAAA,UAE9D;AAAA;AAAA;AAAA,IACH;AAAA,EAEJ;AACF;AAEA,QAAQ,cAAc;AAEtB,IAAO,kBAAQ","sourcesContent":["import React, {\n type ReactNode,\n forwardRef,\n useReducer,\n type AriaAttributes,\n} from \"react\";\nimport classNames from \"classnames\";\nimport styles from \"./TapArea.module.css\";\nimport roundingStyles from \"../rounding.module.css\";\nimport useIsHydrated from \"../useIsHydrated\";\n\ntype TapAreaProps = AriaAttributes & {\n /**\n * The children to be rendered inside the tap area.\n */\n children?: ReactNode;\n /**\n * The label to be used for accessibility\n */\n accessibilityLabel?: string;\n /**\n * Test id for the tap area\n */\n \"data-testid\"?: string;\n /**\n * If `true`, the tap area will be disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * If `true`, the tap area will be full width\n */\n fullWidth?: boolean;\n /**\n * The callback to be called when the tap area is clicked\n */\n onClick: (event: React.SyntheticEvent<HTMLDivElement>) => void;\n /**\n * The callback to be called when the tap area is hovered\n */\n onMouseEnter?: (event: React.SyntheticEvent<HTMLDivElement>) => void;\n /**\n * The callback to be called when the tap area is no longer hovered\n */\n onMouseLeave?: (event: React.SyntheticEvent<HTMLDivElement>) => void;\n /**\n * Border radius of the tap area.\n *\n * * `none`: 0px\n * * `sm`: 8px\n * * `md`: 12px\n * * `lg`: 16px\n * * `xl`: 32px\n * * `full`: 999px\n *\n * @defaultValue \"none\"\n */\n rounding?: \"xl\" | \"lg\" | \"md\" | \"sm\" | \"full\" | \"none\";\n /**\n * The tab index of the tap area\n */\n tabIndex?: 0 | -1;\n};\n\nfunction reducer(\n state: {\n hovered: boolean;\n focussed: boolean;\n },\n action: {\n type: \"BLUR\" | \"FOCUS\" | \"MOUSE_ENTER\" | \"MOUSE_LEAVE\";\n },\n) {\n switch (action.type) {\n case \"BLUR\":\n return { ...state, focussed: false };\n case \"FOCUS\":\n return { ...state, focussed: true };\n case \"MOUSE_ENTER\":\n return { ...state, hovered: true };\n case \"MOUSE_LEAVE\":\n return { ...state, hovered: false };\n default:\n return state;\n }\n}\n\n/**\n * [TapArea](https://cambly-syntax.vercel.app/?path=/docs/components-taparea--docs) allows components to be clickable and touchable in an accessible way.\n */\nconst TapArea = forwardRef<HTMLDivElement, TapAreaProps>(\n (\n {\n children,\n accessibilityLabel,\n \"data-testid\": dataTestId,\n disabled: disabledProp = false,\n fullWidth = true,\n onClick,\n onMouseEnter,\n onMouseLeave,\n rounding = \"none\",\n tabIndex = 0,\n ...accessibilityProps\n }: TapAreaProps,\n ref,\n ) => {\n const isHydrated = useIsHydrated();\n const disabled = !isHydrated || disabledProp;\n const [{ hovered, focussed }, dispatch] = useReducer(reducer, {\n hovered: false,\n focussed: false,\n });\n\n const handleClick: React.MouseEventHandler<HTMLDivElement> = (event) => {\n if (disabled) {\n undefined;\n } else {\n event.currentTarget.blur();\n onClick(event);\n }\n };\n\n const handleKeyDown: React.KeyboardEventHandler<HTMLDivElement> = (\n event,\n ) => {\n if (disabled) return;\n if (event.key === \"Enter\" || event.key === \" \" || event.key === \"Space\") {\n event.preventDefault();\n onClick(event);\n }\n };\n\n const handleOnMouseEnter: React.MouseEventHandler<HTMLDivElement> = (\n event,\n ) => {\n if (disabled) return;\n dispatch({ type: \"MOUSE_ENTER\" });\n onMouseEnter?.(event);\n };\n\n const handleOnMouseLeave: React.MouseEventHandler<HTMLDivElement> = (\n event,\n ) => {\n if (disabled) return;\n dispatch({ type: \"MOUSE_LEAVE\" });\n onMouseLeave?.(event);\n };\n\n const isHoveredOrFocussed = !disabled && (hovered || focussed);\n const roundingClasses =\n rounding !== \"none\" && roundingStyles[`rounding${rounding}`];\n\n return (\n <div\n {...accessibilityProps}\n aria-disabled={disabled || accessibilityProps[\"aria-disabled\"]}\n aria-label={accessibilityLabel ?? accessibilityProps[\"aria-label\"]}\n className={classNames(\n styles.tapArea,\n styles[`${disabled ? \"disabled\" : \"enabled\"}`],\n fullWidth && styles.fullWidth,\n isHoveredOrFocussed && styles.hoveredOrFocussed,\n roundingClasses,\n )}\n data-testid={dataTestId}\n onClick={handleClick}\n onKeyDown={handleKeyDown}\n onMouseEnter={handleOnMouseEnter}\n onMouseLeave={handleOnMouseLeave}\n onFocus={() => dispatch({ type: \"FOCUS\" })}\n onBlur={() => dispatch({ type: \"BLUR\" })}\n ref={ref}\n role=\"button\"\n tabIndex={disabled ? undefined : tabIndex}\n >\n {!disabled && (hovered || focussed) && (\n <div className={classNames(styles.overlay, roundingClasses)} />\n )}\n {children}\n </div>\n );\n },\n);\n\nTapArea.displayName = \"TapArea\";\n\nexport default TapArea;\n","import \"/Users/christian/cambly/syntax/packages/syntax-core/src/TapArea/TapArea.module.css\"; export default {\"tapArea\":\"_tapArea_g6gkz_1\",\"fullWidth\":\"_fullWidth_g6gkz_5\",\"disabled\":\"_disabled_g6gkz_9\",\"enabled\":\"_enabled_g6gkz_16\",\"overlay\":\"_overlay_g6gkz_29\",\"hoveredOrFocussed\":\"_hoveredOrFocussed_g6gkz_39\"}"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
colors_module_default
|
|
3
|
+
} from "./CUVXZOBA.mjs";
|
|
4
|
+
|
|
5
|
+
// src/colors/foregroundColor.ts
|
|
6
|
+
function foregroundColor(color) {
|
|
7
|
+
switch (color) {
|
|
8
|
+
case "secondary":
|
|
9
|
+
case "tertiary":
|
|
10
|
+
return colors_module_default.primary700Color;
|
|
11
|
+
case "destructive-secondary":
|
|
12
|
+
case "destructive-tertiary":
|
|
13
|
+
return colors_module_default.destructive700Color;
|
|
14
|
+
case "branded":
|
|
15
|
+
return colors_module_default.gray900Color;
|
|
16
|
+
default:
|
|
17
|
+
return colors_module_default.whiteColor;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
foregroundColor
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=F4HTASEF.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/colors/foregroundColor.ts"],"sourcesContent":["import { type Color } from \"../constants\";\nimport styles from \"./colors.module.css\";\n\nexport default function foregroundColor(color: (typeof Color)[number]): string {\n switch (color) {\n case \"secondary\":\n case \"tertiary\":\n return styles.primary700Color;\n case \"destructive-secondary\":\n case \"destructive-tertiary\":\n return styles.destructive700Color;\n case \"branded\":\n return styles.gray900Color;\n
|
|
1
|
+
{"version":3,"sources":["../../src/colors/foregroundColor.ts"],"sourcesContent":["import { type Color } from \"../constants\";\nimport styles from \"./colors.module.css\";\n\nexport default function foregroundColor(color: (typeof Color)[number]): string {\n switch (color) {\n case \"secondary\":\n case \"tertiary\":\n return styles.primary700Color;\n case \"destructive-secondary\":\n case \"destructive-tertiary\":\n return styles.destructive700Color;\n case \"branded\":\n return styles.gray900Color;\n default:\n return styles.whiteColor;\n }\n}\n"],"mappings":";;;;;AAGe,SAAR,gBAAiC,OAAuC;AAC7E,UAAQ,OAAO;AAAA,IACb,KAAK;AAAA,IACL,KAAK;AACH,aAAO,sBAAO;AAAA,IAChB,KAAK;AAAA,IACL,KAAK;AACH,aAAO,sBAAO;AAAA,IAChB,KAAK;AACH,aAAO,sBAAO;AAAA,IAChB;AACE,aAAO,sBAAO;AAAA,EAClB;AACF;","names":[]}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _VPGRPGP7js = require('./VPGRPGP7.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _PHVABKOKjs = require('./PHVABKOK.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _YJ7YDIGBjs = require('./YJ7YDIGB.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _OGJDUOWPjs = require('./OGJDUOWP.js');
|
|
13
|
+
|
|
14
|
+
// src/RadioButton/RadioButton.tsx
|
|
15
|
+
var _react = require('react');
|
|
16
|
+
var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames);
|
|
17
|
+
|
|
18
|
+
// css-module:./RadioButton.module.css#css-module
|
|
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
|
+
|
|
21
|
+
// src/RadioButton/RadioButton.tsx
|
|
22
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
23
|
+
var RadioButton = ({
|
|
24
|
+
checked = false,
|
|
25
|
+
"data-testid": dataTestId,
|
|
26
|
+
disabled: disabledProp = false,
|
|
27
|
+
error = false,
|
|
28
|
+
id,
|
|
29
|
+
label,
|
|
30
|
+
name,
|
|
31
|
+
onChange,
|
|
32
|
+
size = "md",
|
|
33
|
+
value
|
|
34
|
+
}) => {
|
|
35
|
+
const isHydrated = _YJ7YDIGBjs.useIsHydrated.call(void 0, );
|
|
36
|
+
const disabled = !isHydrated || disabledProp;
|
|
37
|
+
const [isFocused, setIsFocused] = _react.useState.call(void 0, false);
|
|
38
|
+
const { isFocusVisible } = _OGJDUOWPjs.useFocusVisible.call(void 0, );
|
|
39
|
+
const sharedStyles = _classnames2.default.call(void 0, RadioButton_module_default.background, RadioButton_module_default[size], {
|
|
40
|
+
[RadioButton_module_default.errorBorderColor]: error,
|
|
41
|
+
[RadioButton_module_default.borderColor]: !error,
|
|
42
|
+
[_VPGRPGP7js.Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible
|
|
43
|
+
});
|
|
44
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
45
|
+
"label",
|
|
46
|
+
{
|
|
47
|
+
className: _classnames2.default.call(void 0,
|
|
48
|
+
RadioButton_module_default.radioBaseContainer,
|
|
49
|
+
RadioButton_module_default[`cursor${disabled ? "Disabled" : "Enabled"}`],
|
|
50
|
+
{
|
|
51
|
+
[RadioButton_module_default.disabled]: disabled,
|
|
52
|
+
[RadioButton_module_default.smBase]: size === "sm",
|
|
53
|
+
[RadioButton_module_default.mdBase]: size === "md"
|
|
54
|
+
}
|
|
55
|
+
),
|
|
56
|
+
children: [
|
|
57
|
+
checked ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
58
|
+
"div",
|
|
59
|
+
{
|
|
60
|
+
className: _classnames2.default.call(void 0, sharedStyles, {
|
|
61
|
+
[RadioButton_module_default.mdCheckedBorder]: size === "md",
|
|
62
|
+
[RadioButton_module_default.smCheckedBorder]: size === "sm"
|
|
63
|
+
})
|
|
64
|
+
}
|
|
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
|
+
"input",
|
|
68
|
+
{
|
|
69
|
+
"data-testid": dataTestId,
|
|
70
|
+
type: "radio",
|
|
71
|
+
id,
|
|
72
|
+
name,
|
|
73
|
+
className: _classnames2.default.call(void 0,
|
|
74
|
+
RadioButton_module_default.radioStyleOverride,
|
|
75
|
+
RadioButton_module_default[`cursor${disabled ? "Disabled" : "Enabled"}`],
|
|
76
|
+
{
|
|
77
|
+
[RadioButton_module_default.smOverride]: size === "sm",
|
|
78
|
+
[RadioButton_module_default.mdOverride]: size === "md"
|
|
79
|
+
}
|
|
80
|
+
),
|
|
81
|
+
checked,
|
|
82
|
+
onChange,
|
|
83
|
+
disabled,
|
|
84
|
+
value,
|
|
85
|
+
onFocus: () => {
|
|
86
|
+
setIsFocused(true);
|
|
87
|
+
},
|
|
88
|
+
onBlur: () => {
|
|
89
|
+
setIsFocused(false);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
),
|
|
93
|
+
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
94
|
+
_PHVABKOKjs.Typography_default,
|
|
95
|
+
{
|
|
96
|
+
size: size === "md" ? 200 : 100,
|
|
97
|
+
color: error ? "destructive-primary" : "gray800",
|
|
98
|
+
children: label
|
|
99
|
+
}
|
|
100
|
+
)
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
);
|
|
104
|
+
};
|
|
105
|
+
var RadioButton_default = RadioButton;
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
exports.RadioButton_default = RadioButton_default;
|
|
110
|
+
//# sourceMappingURL=F6FB6X7B.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/RadioButton/RadioButton.tsx","css-module:./RadioButton.module.css#css-module"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,SAAmC,gBAAgB;AACnD,OAAO,gBAAgB;;;ACD8E,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;;;ADwFpvB,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 \"/Users/christian/cambly/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\"}"]}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// src/useFocusVisible.tsx
|
|
2
|
+
import { useState, useEffect } from "react";
|
|
3
|
+
var hasSetupGlobalListeners = false;
|
|
4
|
+
var currentModality = null;
|
|
5
|
+
var changeHandlers = /* @__PURE__ */ new Set();
|
|
6
|
+
var hasEventBeforeFocus = false;
|
|
7
|
+
var isMac = (
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
9
|
+
typeof window !== "undefined" && window.navigator != null ? (
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/prefer-string-starts-ends-with
|
|
11
|
+
/^Mac/.test(window.navigator.platform)
|
|
12
|
+
) : false
|
|
13
|
+
);
|
|
14
|
+
function isValidKey(e) {
|
|
15
|
+
return !(e.metaKey || !isMac && e.altKey || e.ctrlKey);
|
|
16
|
+
}
|
|
17
|
+
function triggerChangeHandlers(modality, e) {
|
|
18
|
+
changeHandlers.forEach((handler) => {
|
|
19
|
+
handler(modality, e);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
function handleKeyboardEvent(e) {
|
|
23
|
+
hasEventBeforeFocus = true;
|
|
24
|
+
if (isValidKey(e)) {
|
|
25
|
+
currentModality = "keyboard";
|
|
26
|
+
triggerChangeHandlers("keyboard", e);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
function handlePointerEvent(e) {
|
|
30
|
+
currentModality = "pointer";
|
|
31
|
+
if (e.type === "mousedown" || e.type === "pointerdown") {
|
|
32
|
+
hasEventBeforeFocus = true;
|
|
33
|
+
triggerChangeHandlers("pointer", e);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function handleFocusEvent(e) {
|
|
37
|
+
if (e.target === window || e.target === document) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
if (!hasEventBeforeFocus) {
|
|
41
|
+
currentModality = "keyboard";
|
|
42
|
+
triggerChangeHandlers("keyboard", e);
|
|
43
|
+
}
|
|
44
|
+
hasEventBeforeFocus = false;
|
|
45
|
+
}
|
|
46
|
+
function handleWindowBlur() {
|
|
47
|
+
hasEventBeforeFocus = false;
|
|
48
|
+
}
|
|
49
|
+
function isFocusVisible() {
|
|
50
|
+
return currentModality !== "pointer";
|
|
51
|
+
}
|
|
52
|
+
function setupGlobalFocusEvents() {
|
|
53
|
+
if (typeof window === "undefined" || hasSetupGlobalListeners) {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
const { focus } = HTMLElement.prototype;
|
|
57
|
+
HTMLElement.prototype.focus = function focusElement(...args) {
|
|
58
|
+
hasEventBeforeFocus = true;
|
|
59
|
+
focus.apply(this, args);
|
|
60
|
+
};
|
|
61
|
+
document.addEventListener("keydown", handleKeyboardEvent, true);
|
|
62
|
+
document.addEventListener("keyup", handleKeyboardEvent, true);
|
|
63
|
+
window.addEventListener("focus", handleFocusEvent, true);
|
|
64
|
+
window.addEventListener("blur", handleWindowBlur, false);
|
|
65
|
+
if (typeof PointerEvent !== "undefined") {
|
|
66
|
+
document.addEventListener("pointerdown", handlePointerEvent, true);
|
|
67
|
+
document.addEventListener("pointermove", handlePointerEvent, true);
|
|
68
|
+
document.addEventListener("pointerup", handlePointerEvent, true);
|
|
69
|
+
} else {
|
|
70
|
+
document.addEventListener("mousedown", handlePointerEvent, true);
|
|
71
|
+
document.addEventListener("mousemove", handlePointerEvent, true);
|
|
72
|
+
document.addEventListener("mouseup", handlePointerEvent, true);
|
|
73
|
+
}
|
|
74
|
+
hasSetupGlobalListeners = true;
|
|
75
|
+
}
|
|
76
|
+
function useFocusVisible() {
|
|
77
|
+
setupGlobalFocusEvents();
|
|
78
|
+
const [isFocusVisibleState, setFocusVisible] = useState(isFocusVisible());
|
|
79
|
+
useEffect(() => {
|
|
80
|
+
const handler = () => {
|
|
81
|
+
setFocusVisible(isFocusVisible());
|
|
82
|
+
};
|
|
83
|
+
changeHandlers.add(handler);
|
|
84
|
+
return () => {
|
|
85
|
+
changeHandlers.delete(handler);
|
|
86
|
+
};
|
|
87
|
+
}, []);
|
|
88
|
+
return { isFocusVisible: isFocusVisibleState };
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export {
|
|
92
|
+
useFocusVisible
|
|
93
|
+
};
|
|
94
|
+
//# sourceMappingURL=FCX7QDZS.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/useFocusVisible.tsx"],"sourcesContent":["// Portions of the code in this file are based on code from react & react-spectrum:\n// https://github.com/facebook/react/blob/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions/events/src/dom/create-event-handle/Focus.js\n// https://github.com/adobe/react-spectrum/blob/c700898916bbd076bcc63e49d77c16d80623a8e7/packages/@react-aria/interactions/src/useFocusVisible.ts\n\nimport { useState, useEffect } from \"react\";\n\ntype Modality = \"keyboard\" | \"pointer\";\ntype HandlerEvent = PointerEvent | MouseEvent | KeyboardEvent | FocusEvent;\ntype Handler = (modality: Modality, e: HandlerEvent) => void;\n\nlet hasSetupGlobalListeners = false;\nlet currentModality: Modality | null = null;\nconst changeHandlers = new Set<Handler>();\nlet hasEventBeforeFocus = false;\n\nconst isMac =\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n typeof window !== \"undefined\" && window.navigator != null\n ? // eslint-disable-next-line @typescript-eslint/prefer-string-starts-ends-with\n /^Mac/.test(window.navigator.platform)\n : false;\n\nfunction isValidKey(e: KeyboardEvent) {\n return !(e.metaKey || (!isMac && e.altKey) || e.ctrlKey);\n}\n\nfunction triggerChangeHandlers(modality: Modality, e: HandlerEvent) {\n changeHandlers.forEach((handler) => {\n handler(modality, e);\n });\n}\n\nfunction handleKeyboardEvent(e: KeyboardEvent) {\n hasEventBeforeFocus = true;\n if (isValidKey(e)) {\n currentModality = \"keyboard\";\n triggerChangeHandlers(\"keyboard\", e);\n }\n}\n\nfunction handlePointerEvent(e: PointerEvent | MouseEvent) {\n currentModality = \"pointer\";\n if (e.type === \"mousedown\" || e.type === \"pointerdown\") {\n hasEventBeforeFocus = true;\n triggerChangeHandlers(\"pointer\", e);\n }\n}\n\nfunction handleFocusEvent(e: FocusEvent) {\n // Firefox fires two extra focus events when the user first clicks into an iframe:\n // first on the window, then on the document. We ignore these events so they don't\n // cause keyboard focus rings to appear.\n if (e.target === window || e.target === document) {\n return;\n }\n\n // If a focus event occurs without a preceding keyboard or pointer event, switch to keyboard modality.\n // This occurs, for example, when navigating a form with the next/previous buttons on iOS.\n if (!hasEventBeforeFocus) {\n currentModality = \"keyboard\";\n triggerChangeHandlers(\"keyboard\", e);\n }\n\n hasEventBeforeFocus = false;\n}\n\nfunction handleWindowBlur() {\n // When the window is blurred, reset state. This is necessary when tabbing out of the window,\n // for example, since a subsequent focus event won't be fired.\n hasEventBeforeFocus = false;\n}\n\nfunction isFocusVisible(): boolean {\n return currentModality !== \"pointer\";\n}\n\nfunction setupGlobalFocusEvents() {\n if (typeof window === \"undefined\" || hasSetupGlobalListeners) {\n return;\n }\n\n // Programmatic focus() calls shouldn't affect the current input modality.\n // However, we need to detect other cases when a focus event occurs without\n // a preceding user event (e.g. screen reader focus). Overriding the focus\n // method on HTMLElement.prototype is a bit hacky, but works.\n // $FlowExpectedError[method-unbinding]\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { focus } = HTMLElement.prototype;\n // $FlowIssue[cannot-write]\n HTMLElement.prototype.focus = function focusElement(...args) {\n hasEventBeforeFocus = true;\n focus.apply(this, args);\n };\n\n document.addEventListener(\"keydown\", handleKeyboardEvent, true);\n document.addEventListener(\"keyup\", handleKeyboardEvent, true);\n\n // Register focus events on the window so they are sure to happen\n // before React's event listeners (registered on the document).\n window.addEventListener(\"focus\", handleFocusEvent, true);\n window.addEventListener(\"blur\", handleWindowBlur, false);\n\n if (typeof PointerEvent !== \"undefined\") {\n document.addEventListener(\"pointerdown\", handlePointerEvent, true);\n document.addEventListener(\"pointermove\", handlePointerEvent, true);\n document.addEventListener(\"pointerup\", handlePointerEvent, true);\n } else {\n document.addEventListener(\"mousedown\", handlePointerEvent, true);\n document.addEventListener(\"mousemove\", handlePointerEvent, true);\n document.addEventListener(\"mouseup\", handlePointerEvent, true);\n }\n\n hasSetupGlobalListeners = true;\n}\n\nexport default function useFocusVisible(): {\n isFocusVisible: boolean;\n} {\n setupGlobalFocusEvents();\n const [isFocusVisibleState, setFocusVisible] = useState(isFocusVisible());\n useEffect(() => {\n const handler = () => {\n setFocusVisible(isFocusVisible());\n };\n\n changeHandlers.add(handler);\n return () => {\n changeHandlers.delete(handler);\n };\n }, []);\n\n return { isFocusVisible: isFocusVisibleState };\n}\n"],"mappings":";AAIA,SAAS,UAAU,iBAAiB;AAMpC,IAAI,0BAA0B;AAC9B,IAAI,kBAAmC;AACvC,IAAM,iBAAiB,oBAAI,IAAa;AACxC,IAAI,sBAAsB;AAE1B,IAAM;AAAA;AAAA,EAEJ,OAAO,WAAW,eAAe,OAAO,aAAa;AAAA;AAAA,IAEjD,OAAO,KAAK,OAAO,UAAU,QAAQ;AAAA,MACrC;AAAA;AAEN,SAAS,WAAW,GAAkB;AACpC,SAAO,EAAE,EAAE,WAAY,CAAC,SAAS,EAAE,UAAW,EAAE;AAClD;AAEA,SAAS,sBAAsB,UAAoB,GAAiB;AAClE,iBAAe,QAAQ,CAAC,YAAY;AAClC,YAAQ,UAAU,CAAC;AAAA,EACrB,CAAC;AACH;AAEA,SAAS,oBAAoB,GAAkB;AAC7C,wBAAsB;AACtB,MAAI,WAAW,CAAC,GAAG;AACjB,sBAAkB;AAClB,0BAAsB,YAAY,CAAC;AAAA,EACrC;AACF;AAEA,SAAS,mBAAmB,GAA8B;AACxD,oBAAkB;AAClB,MAAI,EAAE,SAAS,eAAe,EAAE,SAAS,eAAe;AACtD,0BAAsB;AACtB,0BAAsB,WAAW,CAAC;AAAA,EACpC;AACF;AAEA,SAAS,iBAAiB,GAAe;AAIvC,MAAI,EAAE,WAAW,UAAU,EAAE,WAAW,UAAU;AAChD;AAAA,EACF;AAIA,MAAI,CAAC,qBAAqB;AACxB,sBAAkB;AAClB,0BAAsB,YAAY,CAAC;AAAA,EACrC;AAEA,wBAAsB;AACxB;AAEA,SAAS,mBAAmB;AAG1B,wBAAsB;AACxB;AAEA,SAAS,iBAA0B;AACjC,SAAO,oBAAoB;AAC7B;AAEA,SAAS,yBAAyB;AAChC,MAAI,OAAO,WAAW,eAAe,yBAAyB;AAC5D;AAAA,EACF;AAQA,QAAM,EAAE,MAAM,IAAI,YAAY;AAE9B,cAAY,UAAU,QAAQ,SAAS,gBAAgB,MAAM;AAC3D,0BAAsB;AACtB,UAAM,MAAM,MAAM,IAAI;AAAA,EACxB;AAEA,WAAS,iBAAiB,WAAW,qBAAqB,IAAI;AAC9D,WAAS,iBAAiB,SAAS,qBAAqB,IAAI;AAI5D,SAAO,iBAAiB,SAAS,kBAAkB,IAAI;AACvD,SAAO,iBAAiB,QAAQ,kBAAkB,KAAK;AAEvD,MAAI,OAAO,iBAAiB,aAAa;AACvC,aAAS,iBAAiB,eAAe,oBAAoB,IAAI;AACjE,aAAS,iBAAiB,eAAe,oBAAoB,IAAI;AACjE,aAAS,iBAAiB,aAAa,oBAAoB,IAAI;AAAA,EACjE,OAAO;AACL,aAAS,iBAAiB,aAAa,oBAAoB,IAAI;AAC/D,aAAS,iBAAiB,aAAa,oBAAoB,IAAI;AAC/D,aAAS,iBAAiB,WAAW,oBAAoB,IAAI;AAAA,EAC/D;AAEA,4BAA0B;AAC5B;AAEe,SAAR,kBAEL;AACA,yBAAuB;AACvB,QAAM,CAAC,qBAAqB,eAAe,IAAI,SAAS,eAAe,CAAC;AACxE,YAAU,MAAM;AACd,UAAM,UAAU,MAAM;AACpB,sBAAgB,eAAe,CAAC;AAAA,IAClC;AAEA,mBAAe,IAAI,OAAO;AAC1B,WAAO,MAAM;AACX,qBAAe,OAAO,OAAO;AAAA,IAC/B;AAAA,EACF,GAAG,CAAC,CAAC;AAEL,SAAO,EAAE,gBAAgB,oBAAoB;AAC/C;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Typography_default
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./EWZKTMOO.js";
|
|
4
4
|
|
|
5
5
|
// src/Heading/Heading.tsx
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -33,4 +33,4 @@ var Heading_default = Heading;
|
|
|
33
33
|
export {
|
|
34
34
|
Heading_default
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=
|
|
36
|
+
//# sourceMappingURL=FD3R5EUF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Heading/Heading.tsx"],"sourcesContent":["import { type ReactElement, type ReactNode } from \"react\";\nimport { type Color } from \"../constants\";\nimport Typography from \"../Typography/Typography\";\n\n/**\n * [Heading](https://cambly-syntax.vercel.app/?path=/docs/components-heading--docs) enforces a consistent style & accessibility best practices for headings.\n */\nconst Heading = ({\n align = \"start\",\n as = \"h1\",\n children,\n color = \"gray900\",\n \"data-testid\": dataTestId,\n lineClamp,\n size = 500,\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 \"h1\"\n */\n as?: \"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 * The number of lines we should truncate the text at\n */\n lineClamp?: number | undefined;\n /**\n * Size of the text.\n *\n * * `500`: 20px\n * * `600`: 28px\n * * `700`: 40px\n * * `800`: 64px\n *\n * @defaultValue 500\n */\n size?: 500 | 600 | 700 | 800;\n}): ReactElement => {\n const weight = [700, 800].includes(size) ? \"heavy\" : \"bold\";\n return (\n <Typography\n align={align}\n as={as}\n color={color}\n data-testid={dataTestId}\n lineClamp={lineClamp}\n size={size}\n weight={weight}\n >\n {children}\n </Typography>\n );\n};\n\nexport default Heading;\n"],"mappings":";;;;;AA8DI;AAvDJ,IAAM,UAAU,CAAC;AAAA,EACf,QAAQ;AAAA,EACR,KAAK;AAAA,EACL;AAAA,EACA,QAAQ;AAAA,EACR,eAAe;AAAA,EACf;AAAA,EACA,OAAO;AACT,MA4CoB;AAClB,QAAM,SAAS,CAAC,KAAK,GAAG,EAAE,SAAS,IAAI,IAAI,UAAU;AACrD,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA,eAAa;AAAA,MACb;AAAA,MACA;AAAA,MACA;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ;AAEA,IAAO,kBAAQ;","names":[]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layout_module_default
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./IOQXUCI4.js";
|
|
4
4
|
import {
|
|
5
5
|
Box_module_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./TDW36DTR.js";
|
|
7
7
|
import {
|
|
8
8
|
Typography_default
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./EWZKTMOO.js";
|
|
10
10
|
|
|
11
11
|
// src/RichSelect/RichSelectSection.tsx
|
|
12
12
|
import { forwardRef } from "react";
|
|
@@ -49,4 +49,4 @@ var RichSelectSection_default = forwardRef(
|
|
|
49
49
|
export {
|
|
50
50
|
RichSelectSection_default
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=
|
|
52
|
+
//# sourceMappingURL=FJFRNV7T.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["css-module:./colors.module.css#css-module"],"sourcesContent":["import \"/Users/christian/cambly/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":";AAA2F,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":[]}
|