@cerberus-design/react 0.17.2 → 0.18.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/README.md +1 -1
- package/build/legacy/_tsup-dts-rollup.d.cts +21878 -1965
- package/build/legacy/aria-helpers/nav-menu.aria.cjs.map +1 -1
- package/build/legacy/aria-helpers/trap-focus.aria.cjs.map +1 -1
- package/build/legacy/components/CircularProgress.cjs +24 -22
- package/build/legacy/components/CircularProgress.cjs.map +1 -1
- package/build/legacy/components/FeatureFlag.cjs +10 -8
- package/build/legacy/components/FeatureFlag.cjs.map +1 -1
- package/build/legacy/components/FileStatus.cjs +67 -65
- package/build/legacy/components/FileStatus.cjs.map +1 -1
- package/build/legacy/components/FileUploader.cjs +34 -32
- package/build/legacy/components/FileUploader.cjs.map +1 -1
- package/build/legacy/components/IconButton.cjs +2 -2
- package/build/legacy/components/IconButton.cjs.map +1 -1
- package/build/legacy/components/Menu.cjs +8 -4
- package/build/legacy/components/Menu.cjs.map +1 -1
- package/build/legacy/components/Menu.d.cts +2 -2
- package/build/legacy/components/Portal.cjs +4 -1
- package/build/legacy/components/Portal.cjs.map +1 -1
- package/build/legacy/components/Portal.d.cts +1 -1
- package/build/legacy/components/ProgressBar.cjs +2 -2
- package/build/legacy/components/ProgressBar.cjs.map +1 -1
- package/build/legacy/components/Show.cjs +8 -7
- package/build/legacy/components/Show.cjs.map +1 -1
- package/build/legacy/components/Spinner.cjs +2 -1
- package/build/legacy/components/Spinner.cjs.map +1 -1
- package/build/legacy/components/Tag.cjs +18 -16
- package/build/legacy/components/Tag.cjs.map +1 -1
- package/build/legacy/components/Text.cjs +1 -1
- package/build/legacy/components/Text.cjs.map +1 -1
- package/build/legacy/components/Tooltip.cjs +2 -2
- package/build/legacy/components/Tooltip.cjs.map +1 -1
- package/build/legacy/components/accordion/index.cjs +25 -21
- package/build/legacy/components/accordion/index.cjs.map +1 -1
- package/build/legacy/components/accordion/index.d.cts +1 -1
- package/build/legacy/components/accordion/item-group.cjs +31 -27
- package/build/legacy/components/accordion/item-group.cjs.map +1 -1
- package/build/legacy/components/accordion/item-group.d.cts +1 -1
- package/build/legacy/components/accordion/item-indicator.cjs +2 -2
- package/build/legacy/components/accordion/item-indicator.cjs.map +1 -1
- package/build/legacy/components/accordion/parts.cjs +2 -2
- package/build/legacy/components/accordion/parts.cjs.map +1 -1
- package/build/legacy/components/accordion/primitives.cjs +2 -2
- package/build/legacy/components/accordion/primitives.cjs.map +1 -1
- package/build/legacy/components/admonition/admonition.cjs +44 -42
- package/build/legacy/components/admonition/admonition.cjs.map +1 -1
- package/build/legacy/components/admonition/index.cjs +44 -42
- package/build/legacy/components/admonition/index.cjs.map +1 -1
- package/build/legacy/components/admonition/match-avatar.cjs +29 -27
- package/build/legacy/components/admonition/match-avatar.cjs.map +1 -1
- package/build/legacy/components/admonition/parts.cjs +2 -2
- package/build/legacy/components/admonition/parts.cjs.map +1 -1
- package/build/legacy/components/admonition/primitives.cjs +2 -2
- package/build/legacy/components/admonition/primitives.cjs.map +1 -1
- package/build/legacy/components/avatar/avatar.cjs +20 -18
- package/build/legacy/components/avatar/avatar.cjs.map +1 -1
- package/build/legacy/components/avatar/index.cjs +16 -14
- package/build/legacy/components/avatar/index.cjs.map +1 -1
- package/build/legacy/components/avatar/parts.cjs +2 -2
- package/build/legacy/components/avatar/parts.cjs.map +1 -1
- package/build/legacy/components/avatar/primitives.cjs +2 -2
- package/build/legacy/components/avatar/primitives.cjs.map +1 -1
- package/build/legacy/components/button/button.cjs +28 -25
- package/build/legacy/components/button/button.cjs.map +1 -1
- package/build/legacy/components/button/index.cjs +28 -25
- package/build/legacy/components/button/index.cjs.map +1 -1
- package/build/legacy/components/button/parts.cjs +28 -25
- package/build/legacy/components/button/parts.cjs.map +1 -1
- package/build/legacy/components/checkbox/checkbox-icon.cjs +12 -10
- package/build/legacy/components/checkbox/checkbox-icon.cjs.map +1 -1
- package/build/legacy/components/checkbox/checkbox.cjs +46 -44
- package/build/legacy/components/checkbox/checkbox.cjs.map +1 -1
- package/build/legacy/components/checkbox/index.cjs +46 -44
- package/build/legacy/components/checkbox/index.cjs.map +1 -1
- package/build/legacy/components/checkbox/parts.cjs +2 -2
- package/build/legacy/components/checkbox/parts.cjs.map +1 -1
- package/build/legacy/components/checkbox/primitives.cjs +2 -2
- package/build/legacy/components/checkbox/primitives.cjs.map +1 -1
- package/build/legacy/components/combobox/combobox.cjs +38 -33
- package/build/legacy/components/combobox/combobox.cjs.map +1 -1
- package/build/legacy/components/combobox/index.cjs +38 -33
- package/build/legacy/components/combobox/index.cjs.map +1 -1
- package/build/legacy/components/combobox/item-group.cjs +2 -2
- package/build/legacy/components/combobox/item-group.cjs.map +1 -1
- package/build/legacy/components/combobox/item.cjs +2 -2
- package/build/legacy/components/combobox/item.cjs.map +1 -1
- package/build/legacy/components/combobox/parts.cjs +2 -2
- package/build/legacy/components/combobox/parts.cjs.map +1 -1
- package/build/legacy/components/combobox/primitives.cjs +2 -2
- package/build/legacy/components/combobox/primitives.cjs.map +1 -1
- package/build/legacy/components/combobox/use-stateful-collection.cjs +2 -2
- package/build/legacy/components/combobox/use-stateful-collection.cjs.map +1 -1
- package/build/legacy/components/cta-dialog/index.cjs +90 -84
- package/build/legacy/components/cta-dialog/index.cjs.map +1 -1
- package/build/legacy/components/cta-dialog/provider.cjs +90 -84
- package/build/legacy/components/cta-dialog/provider.cjs.map +1 -1
- package/build/legacy/components/cta-dialog/trigger-item.cjs +5 -5
- package/build/legacy/components/cta-dialog/trigger-item.cjs.map +1 -1
- package/build/legacy/components/date-picker/calendar.cjs +95 -66
- package/build/legacy/components/date-picker/calendar.cjs.map +1 -1
- package/build/legacy/components/date-picker/content.cjs +59 -30
- package/build/legacy/components/date-picker/content.cjs.map +1 -1
- package/build/legacy/components/date-picker/date-picker.cjs +41 -15
- package/build/legacy/components/date-picker/date-picker.cjs.map +1 -1
- package/build/legacy/components/date-picker/day-view.cjs +47 -21
- package/build/legacy/components/date-picker/day-view.cjs.map +1 -1
- package/build/legacy/components/date-picker/index.cjs +80 -51
- package/build/legacy/components/date-picker/index.cjs.map +1 -1
- package/build/legacy/components/date-picker/input.cjs +43 -17
- package/build/legacy/components/date-picker/input.cjs.map +1 -1
- package/build/legacy/components/date-picker/month-view.cjs +47 -21
- package/build/legacy/components/date-picker/month-view.cjs.map +1 -1
- package/build/legacy/components/date-picker/parts.cjs +41 -15
- package/build/legacy/components/date-picker/parts.cjs.map +1 -1
- package/build/legacy/components/date-picker/primitives.cjs +41 -15
- package/build/legacy/components/date-picker/primitives.cjs.map +1 -1
- package/build/legacy/components/date-picker/range-input.cjs +43 -17
- package/build/legacy/components/date-picker/range-input.cjs.map +1 -1
- package/build/legacy/components/date-picker/trigger.cjs +43 -17
- package/build/legacy/components/date-picker/trigger.cjs.map +1 -1
- package/build/legacy/components/date-picker/view-control-group.cjs +47 -21
- package/build/legacy/components/date-picker/view-control-group.cjs.map +1 -1
- package/build/legacy/components/date-picker/year-view.cjs +47 -21
- package/build/legacy/components/date-picker/year-view.cjs.map +1 -1
- package/build/legacy/components/deprecated/FieldMessage.cjs +2 -2
- package/build/legacy/components/deprecated/FieldMessage.cjs.map +1 -1
- package/build/legacy/components/deprecated/FieldsetLabel.cjs +2 -2
- package/build/legacy/components/deprecated/FieldsetLabel.cjs.map +1 -1
- package/build/legacy/components/deprecated/Label.cjs +4 -4
- package/build/legacy/components/deprecated/Label.cjs.map +1 -1
- package/build/legacy/components/deprecated/Legend.cjs +14 -12
- package/build/legacy/components/deprecated/Legend.cjs.map +1 -1
- package/build/legacy/components/deprecated/Modal.cjs +4 -13
- package/build/legacy/components/deprecated/Modal.cjs.map +1 -1
- package/build/legacy/components/deprecated/Modal.d.cts +2 -2
- package/build/legacy/components/deprecated/ModalDescription.cjs +2 -2
- package/build/legacy/components/deprecated/ModalDescription.cjs.map +1 -1
- package/build/legacy/components/deprecated/ModalDescription.d.cts +2 -2
- package/build/legacy/components/deprecated/ModalHeader.cjs +2 -2
- package/build/legacy/components/deprecated/ModalHeader.cjs.map +1 -1
- package/build/legacy/components/deprecated/ModalHeader.d.cts +2 -2
- package/build/legacy/components/deprecated/ModalHeading.cjs +2 -2
- package/build/legacy/components/deprecated/ModalHeading.cjs.map +1 -1
- package/build/legacy/components/deprecated/ModalHeading.d.cts +2 -2
- package/build/legacy/components/deprecated/NavMenuLink.cjs +14 -12
- package/build/legacy/components/deprecated/NavMenuLink.cjs.map +1 -1
- package/build/legacy/components/deprecated/NavMenuList.cjs +15 -13
- package/build/legacy/components/deprecated/NavMenuList.cjs.map +1 -1
- package/build/legacy/components/deprecated/NavMenuTrigger.cjs +17 -15
- package/build/legacy/components/deprecated/NavMenuTrigger.cjs.map +1 -1
- package/build/legacy/components/deprecated/Notification.cjs +3 -3
- package/build/legacy/components/deprecated/Notification.cjs.map +1 -1
- package/build/legacy/components/deprecated/NotificationDescription.cjs +2 -2
- package/build/legacy/components/deprecated/NotificationDescription.cjs.map +1 -1
- package/build/legacy/components/deprecated/NotificationHeading.cjs +2 -2
- package/build/legacy/components/deprecated/NotificationHeading.cjs.map +1 -1
- package/build/legacy/components/dialog/close-icon-trigger.cjs +6 -6
- package/build/legacy/components/dialog/close-icon-trigger.cjs.map +1 -1
- package/build/legacy/components/dialog/dialog.cjs +14 -11
- package/build/legacy/components/dialog/dialog.cjs.map +1 -1
- package/build/legacy/components/dialog/index.cjs +14 -11
- package/build/legacy/components/dialog/index.cjs.map +1 -1
- package/build/legacy/components/dialog/parts.cjs +2 -2
- package/build/legacy/components/dialog/parts.cjs.map +1 -1
- package/build/legacy/components/dialog/primitives.cjs +2 -2
- package/build/legacy/components/dialog/primitives.cjs.map +1 -1
- package/build/legacy/components/field/field.cjs +18 -16
- package/build/legacy/components/field/field.cjs.map +1 -1
- package/build/legacy/components/field/index.cjs +22 -20
- package/build/legacy/components/field/index.cjs.map +1 -1
- package/build/legacy/components/field/parts.cjs +6 -6
- package/build/legacy/components/field/parts.cjs.map +1 -1
- package/build/legacy/components/field/primitives.cjs +6 -6
- package/build/legacy/components/field/primitives.cjs.map +1 -1
- package/build/legacy/components/field/start-indicator.cjs +2 -2
- package/build/legacy/components/field/start-indicator.cjs.map +1 -1
- package/build/legacy/components/field/status-indicator.cjs +2 -2
- package/build/legacy/components/field/status-indicator.cjs.map +1 -1
- package/build/legacy/components/fieldset/fieldset.cjs +2 -2
- package/build/legacy/components/fieldset/fieldset.cjs.map +1 -1
- package/build/legacy/components/fieldset/index.cjs +2 -2
- package/build/legacy/components/fieldset/index.cjs.map +1 -1
- package/build/legacy/components/fieldset/parts.cjs +2 -2
- package/build/legacy/components/fieldset/parts.cjs.map +1 -1
- package/build/legacy/components/fieldset/primitives.cjs +2 -2
- package/build/legacy/components/fieldset/primitives.cjs.map +1 -1
- package/build/legacy/components/for.cjs +2 -1
- package/build/legacy/components/for.cjs.map +1 -1
- package/build/legacy/components/notifications/center.cjs +54 -51
- package/build/legacy/components/notifications/center.cjs.map +1 -1
- package/build/legacy/components/notifications/close-trigger.cjs +2 -2
- package/build/legacy/components/notifications/close-trigger.cjs.map +1 -1
- package/build/legacy/components/notifications/index.cjs +51 -46
- package/build/legacy/components/notifications/index.cjs.map +1 -1
- package/build/legacy/components/notifications/index.d.cts +1 -1
- package/build/legacy/components/notifications/match-icon.cjs +3 -2
- package/build/legacy/components/notifications/match-icon.cjs.map +1 -1
- package/build/legacy/components/notifications/parts.cjs +2 -2
- package/build/legacy/components/notifications/parts.cjs.map +1 -1
- package/build/legacy/components/notifications/primitives.cjs +5 -3
- package/build/legacy/components/notifications/primitives.cjs.map +1 -1
- package/build/legacy/components/notifications/primitives.d.cts +1 -1
- package/build/legacy/components/radio/index.cjs +2 -2
- package/build/legacy/components/radio/index.cjs.map +1 -1
- package/build/legacy/components/radio/parts.cjs +2 -2
- package/build/legacy/components/radio/parts.cjs.map +1 -1
- package/build/legacy/components/radio/primitives.cjs +2 -2
- package/build/legacy/components/radio/primitives.cjs.map +1 -1
- package/build/legacy/components/radio/radio.cjs +2 -2
- package/build/legacy/components/radio/radio.cjs.map +1 -1
- package/build/legacy/components/rating/index.cjs +15 -13
- package/build/legacy/components/rating/index.cjs.map +1 -1
- package/build/legacy/components/rating/parts.cjs +2 -2
- package/build/legacy/components/rating/parts.cjs.map +1 -1
- package/build/legacy/components/rating/primitives.cjs +2 -2
- package/build/legacy/components/rating/primitives.cjs.map +1 -1
- package/build/legacy/components/rating/rating.cjs +23 -21
- package/build/legacy/components/rating/rating.cjs.map +1 -1
- package/build/legacy/components/select/index.cjs +30 -25
- package/build/legacy/components/select/index.cjs.map +1 -1
- package/build/legacy/components/select/option-group.cjs +2 -2
- package/build/legacy/components/select/option-group.cjs.map +1 -1
- package/build/legacy/components/select/parts.cjs +2 -2
- package/build/legacy/components/select/parts.cjs.map +1 -1
- package/build/legacy/components/select/primitives.cjs +2 -2
- package/build/legacy/components/select/primitives.cjs.map +1 -1
- package/build/legacy/components/select/select.cjs +43 -38
- package/build/legacy/components/select/select.cjs.map +1 -1
- package/build/legacy/components/switch/index.cjs +13 -11
- package/build/legacy/components/switch/index.cjs.map +1 -1
- package/build/legacy/components/switch/parts.cjs +10 -8
- package/build/legacy/components/switch/parts.cjs.map +1 -1
- package/build/legacy/components/switch/primitives.cjs +10 -8
- package/build/legacy/components/switch/primitives.cjs.map +1 -1
- package/build/legacy/components/switch/switch.cjs +13 -11
- package/build/legacy/components/switch/switch.cjs.map +1 -1
- package/build/legacy/components/table/index.cjs +13 -11
- package/build/legacy/components/table/index.cjs.map +1 -1
- package/build/legacy/components/table/parts.cjs +2 -2
- package/build/legacy/components/table/parts.cjs.map +1 -1
- package/build/legacy/components/table/primitives.cjs +2 -2
- package/build/legacy/components/table/primitives.cjs.map +1 -1
- package/build/legacy/components/table/table.cjs +13 -11
- package/build/legacy/components/table/table.cjs.map +1 -1
- package/build/legacy/components/tabs/index.cjs +2 -2
- package/build/legacy/components/tabs/index.cjs.map +1 -1
- package/build/legacy/components/tabs/parts.cjs +2 -2
- package/build/legacy/components/tabs/parts.cjs.map +1 -1
- package/build/legacy/components/tabs/primitives.cjs +2 -2
- package/build/legacy/components/tabs/primitives.cjs.map +1 -1
- package/build/legacy/components/tabs/tabs.cjs +2 -2
- package/build/legacy/components/tabs/tabs.cjs.map +1 -1
- package/build/legacy/components/toggle/index.cjs +7 -2
- package/build/legacy/components/toggle/index.cjs.map +1 -1
- package/build/legacy/components/toggle/parts.cjs +7 -2
- package/build/legacy/components/toggle/parts.cjs.map +1 -1
- package/build/legacy/components/toggle/primitives.cjs +7 -2
- package/build/legacy/components/toggle/primitives.cjs.map +1 -1
- package/build/legacy/config/defineIcons.cjs +2 -4
- package/build/legacy/config/defineIcons.cjs.map +1 -1
- package/build/legacy/config/icons/checkbox.icons.cjs +2 -4
- package/build/legacy/config/icons/checkbox.icons.cjs.map +1 -1
- package/build/legacy/config/icons/checkbox.icons.d.cts +0 -2
- package/build/legacy/config/index.cjs +2 -4
- package/build/legacy/config/index.cjs.map +1 -1
- package/build/legacy/context/confirm-modal.cjs +78 -77
- package/build/legacy/context/confirm-modal.cjs.map +1 -1
- package/build/legacy/context/field.cjs +2 -2
- package/build/legacy/context/field.cjs.map +1 -1
- package/build/legacy/context/navMenu.cjs +1 -1
- package/build/legacy/context/navMenu.cjs.map +1 -1
- package/build/legacy/context/prompt-modal.cjs +102 -97
- package/build/legacy/context/prompt-modal.cjs.map +1 -1
- package/build/legacy/context/theme.cjs.map +1 -1
- package/build/legacy/hooks/useModal.cjs.map +1 -1
- package/build/legacy/hooks/useModal.d.cts +2 -2
- package/build/legacy/index.cjs +1451 -1500
- package/build/legacy/index.cjs.map +1 -1
- package/build/legacy/index.d.cts +20 -30
- package/build/modern/_tsup-dts-rollup.d.ts +21878 -1965
- package/build/modern/aria-helpers/nav-menu.aria.js +1 -1
- package/build/modern/aria-helpers/trap-focus.aria.js +1 -1
- package/build/modern/{chunk-R4KLHRCL.js → chunk-25P3FUUT.js} +3 -3
- package/build/modern/{chunk-FZ53535Q.js → chunk-2CZWHED6.js} +2 -2
- package/build/modern/{chunk-JAAMD5EH.js → chunk-2IYWFZTK.js} +2 -2
- package/build/modern/{chunk-LZWNHXRP.js → chunk-3DZW23OX.js} +7 -5
- package/build/modern/chunk-3DZW23OX.js.map +1 -0
- package/build/modern/{chunk-7OYOT5LK.js → chunk-3IT3V3YA.js} +6 -6
- package/build/modern/chunk-3IT3V3YA.js.map +1 -0
- package/build/modern/{chunk-KWZ3CEG6.js → chunk-52ZQ26IV.js} +2 -2
- package/build/modern/chunk-53YVHIGJ.js +11 -0
- package/build/modern/chunk-53YVHIGJ.js.map +1 -0
- package/build/modern/{chunk-XBUXVNTY.js → chunk-5FC7HIAR.js} +2 -2
- package/build/modern/{chunk-TEMFCS72.js → chunk-5HEU3SYR.js} +2 -2
- package/build/modern/{chunk-QCBLRACK.js → chunk-5MUUKSLF.js} +3 -5
- package/build/modern/chunk-5MUUKSLF.js.map +1 -0
- package/build/modern/{chunk-245SMQ45.js → chunk-6DU5QBPR.js} +6 -6
- package/build/modern/chunk-6DU5QBPR.js.map +1 -0
- package/build/modern/{chunk-AIJ75ENY.js → chunk-6KX5P5OU.js} +5 -5
- package/build/modern/chunk-6KX5P5OU.js.map +1 -0
- package/build/modern/{chunk-DEXJQ6UI.js → chunk-6MMH3Y2U.js} +5 -5
- package/build/modern/chunk-6MMH3Y2U.js.map +1 -0
- package/build/modern/{chunk-4IXQNNAM.js → chunk-6UVR3VGK.js} +2 -2
- package/build/modern/{chunk-VHCJ25QC.js → chunk-75DUDVPA.js} +4 -4
- package/build/modern/chunk-75DUDVPA.js.map +1 -0
- package/build/modern/{chunk-JWF7FK7T.js → chunk-7I7LA2EE.js} +2 -2
- package/build/modern/chunk-7I7LA2EE.js.map +1 -0
- package/build/modern/{chunk-6TIMBGFL.js → chunk-ADZRQNW3.js} +3 -3
- package/build/modern/{chunk-7SYJFI5E.js → chunk-AUI74W7J.js} +3 -2
- package/build/modern/chunk-AUI74W7J.js.map +1 -0
- package/build/modern/{chunk-CPNKDKC2.js → chunk-BMPMMTX3.js} +3 -5
- package/build/modern/chunk-BMPMMTX3.js.map +1 -0
- package/build/modern/{chunk-6HOLE2JH.js → chunk-CEJIKL6N.js} +2 -2
- package/build/modern/{chunk-N4RPMT6J.js → chunk-CF4TCMJI.js} +4 -4
- package/build/modern/chunk-CF4TCMJI.js.map +1 -0
- package/build/modern/{chunk-NR5XDIJ7.js → chunk-D4BVNWAY.js} +3 -5
- package/build/modern/chunk-D4BVNWAY.js.map +1 -0
- package/build/modern/{chunk-QDXU6G3X.js → chunk-D6PFYSIP.js} +3 -3
- package/build/modern/{chunk-JLUIGY2U.js → chunk-D7QIPJQC.js} +9 -9
- package/build/modern/chunk-D7QIPJQC.js.map +1 -0
- package/build/modern/{chunk-CYSLIGNU.js → chunk-DHKSNGQX.js} +11 -11
- package/build/modern/chunk-DHKSNGQX.js.map +1 -0
- package/build/modern/{chunk-Z52R6ABJ.js → chunk-EMDNETC7.js} +3 -3
- package/build/modern/chunk-EMDNETC7.js.map +1 -0
- package/build/modern/{chunk-BPRF34DU.js → chunk-ENJUQNVT.js} +3 -5
- package/build/modern/chunk-ENJUQNVT.js.map +1 -0
- package/build/modern/{chunk-YOTXFCCC.js → chunk-F2MWSSK2.js} +3 -3
- package/build/modern/chunk-F2MWSSK2.js.map +1 -0
- package/build/modern/{chunk-XVOEBY5S.js → chunk-F3XFJHGR.js} +7 -7
- package/build/modern/chunk-F3XFJHGR.js.map +1 -0
- package/build/modern/{chunk-EH36PXVP.js → chunk-FAQ3F72W.js} +2 -2
- package/build/modern/{chunk-JIZQFTW6.js → chunk-FHNT274F.js} +1 -1
- package/build/modern/chunk-FHNT274F.js.map +1 -0
- package/build/modern/{chunk-JF76VIL3.js → chunk-FUTYPCHZ.js} +1 -1
- package/build/modern/chunk-FUTYPCHZ.js.map +1 -0
- package/build/modern/{chunk-6WS765J3.js → chunk-FXWN3SPS.js} +2 -2
- package/build/modern/chunk-FXWN3SPS.js.map +1 -0
- package/build/modern/{chunk-RD2YPFRA.js → chunk-GB7W3YNU.js} +6 -8
- package/build/modern/chunk-GB7W3YNU.js.map +1 -0
- package/build/modern/{chunk-R7IDIIST.js → chunk-GBCF6DOS.js} +4 -4
- package/build/modern/chunk-GBCF6DOS.js.map +1 -0
- package/build/modern/{chunk-2CVGNLIM.js → chunk-GC6JUHVS.js} +2 -2
- package/build/modern/{chunk-IASVL7CW.js → chunk-GUAF4FXQ.js} +2 -2
- package/build/modern/{chunk-OS73F4SR.js → chunk-GYUCW2QK.js} +2 -2
- package/build/modern/{chunk-NMDAHO2K.js → chunk-H2HP63H4.js} +8 -8
- package/build/modern/chunk-H2HP63H4.js.map +1 -0
- package/build/modern/{chunk-STLN7BMJ.js → chunk-H2VYN32T.js} +2 -2
- package/build/modern/chunk-H2VYN32T.js.map +1 -0
- package/build/modern/{chunk-BIDE4IJG.js → chunk-H4SH6ORP.js} +2 -2
- package/build/modern/{chunk-5RTNSVYU.js → chunk-HJ7MAPDD.js} +3 -5
- package/build/modern/chunk-HJ7MAPDD.js.map +1 -0
- package/build/modern/{chunk-HUN7VQBT.js → chunk-I4EGYD24.js} +2 -2
- package/build/modern/chunk-I5RGBB57.js +13 -0
- package/build/modern/{chunk-DXOKSZVQ.js.map → chunk-I5RGBB57.js.map} +1 -1
- package/build/modern/{chunk-DRDNNRU3.js → chunk-IIH4VDQA.js} +3 -3
- package/build/modern/chunk-IIH4VDQA.js.map +1 -0
- package/build/modern/{chunk-W47QEZD5.js → chunk-IL677ECW.js} +3 -3
- package/build/modern/chunk-IL677ECW.js.map +1 -0
- package/build/modern/{chunk-32M5JS5F.js → chunk-ILROS7ST.js} +6 -6
- package/build/modern/{chunk-OSAYA6GH.js → chunk-INVZVMY4.js} +7 -7
- package/build/modern/chunk-INVZVMY4.js.map +1 -0
- package/build/modern/{chunk-SYPAA5YF.js → chunk-IUF74GEL.js} +2 -2
- package/build/modern/{chunk-WVFEJCUN.js → chunk-J76SGDYP.js} +2 -2
- package/build/modern/{chunk-UCL7P2OG.js → chunk-JFSCSAHD.js} +9 -9
- package/build/modern/chunk-JFSCSAHD.js.map +1 -0
- package/build/modern/{chunk-RQCJKDXU.js → chunk-JQYW4IOC.js} +2 -2
- package/build/modern/{chunk-JQJTQVPI.js → chunk-KEGLWDD6.js} +3 -3
- package/build/modern/{chunk-EB37HRCN.js → chunk-KOLNLCMZ.js} +1 -1
- package/build/modern/{chunk-EB37HRCN.js.map → chunk-KOLNLCMZ.js.map} +1 -1
- package/build/modern/{chunk-Z3FDG263.js → chunk-KV4NRGKW.js} +3 -5
- package/build/modern/chunk-KV4NRGKW.js.map +1 -0
- package/build/modern/{chunk-LPALHB6R.js → chunk-L2EGF5AV.js} +3 -3
- package/build/modern/chunk-L2EGF5AV.js.map +1 -0
- package/build/modern/{chunk-4GFEWP76.js → chunk-L5FYGWAZ.js} +3 -3
- package/build/modern/chunk-L5FYGWAZ.js.map +1 -0
- package/build/modern/{chunk-RU5LOXWI.js → chunk-L64HQGLQ.js} +2 -2
- package/build/modern/chunk-L64HQGLQ.js.map +1 -0
- package/build/modern/{chunk-6WEW5OGL.js → chunk-LEBDLXJE.js} +10 -10
- package/build/modern/chunk-LEBDLXJE.js.map +1 -0
- package/build/modern/{chunk-A464YKEL.js → chunk-MDXJ6MGF.js} +3 -3
- package/build/modern/chunk-MDXJ6MGF.js.map +1 -0
- package/build/modern/{chunk-KZDEDAIK.js → chunk-MTD4JSHT.js} +2 -2
- package/build/modern/{chunk-FUL2VRDU.js → chunk-MZXSSTS7.js} +2 -2
- package/build/modern/{chunk-ILSKGNUA.js → chunk-N6XHXPBI.js} +7 -7
- package/build/modern/{chunk-LLZE2RBB.js → chunk-NJ37QRAI.js} +2 -2
- package/build/modern/chunk-NJ37QRAI.js.map +1 -0
- package/build/modern/{chunk-LVHQGXJK.js → chunk-NP73HOHI.js} +3 -3
- package/build/modern/{chunk-7TQRTBUP.js → chunk-NQ22M7U7.js} +2 -2
- package/build/modern/{chunk-V243YFI3.js → chunk-NYEUNVKR.js} +5 -5
- package/build/modern/{chunk-63F5MURH.js → chunk-NYRNXRTZ.js} +3 -3
- package/build/modern/chunk-NYRNXRTZ.js.map +1 -0
- package/build/modern/{chunk-MR4DX76C.js → chunk-NYVKL2IS.js} +2 -2
- package/build/modern/{chunk-E3PAEB7Y.js → chunk-OCZCCOWW.js} +3 -5
- package/build/modern/chunk-OCZCCOWW.js.map +1 -0
- package/build/modern/{chunk-5DY66QZD.js → chunk-ONHP3RYL.js} +4 -4
- package/build/modern/chunk-ONHP3RYL.js.map +1 -0
- package/build/modern/{chunk-RKGFPKKK.js → chunk-OY33UHBG.js} +3 -5
- package/build/modern/chunk-OY33UHBG.js.map +1 -0
- package/build/modern/{chunk-LMBMMBKU.js → chunk-OY7BOKWW.js} +5 -5
- package/build/modern/chunk-OY7BOKWW.js.map +1 -0
- package/build/modern/{chunk-MZMZAX4E.js → chunk-P7DWMM56.js} +18 -18
- package/build/modern/chunk-P7DWMM56.js.map +1 -0
- package/build/modern/{chunk-4HUK7YNZ.js → chunk-PHPXOX2Y.js} +7 -5
- package/build/modern/chunk-PHPXOX2Y.js.map +1 -0
- package/build/modern/{chunk-6QHOKCV3.js → chunk-Q3LUIS3M.js} +4 -4
- package/build/modern/chunk-Q3LUIS3M.js.map +1 -0
- package/build/modern/{chunk-KJMCUYWV.js → chunk-Q737W5KJ.js} +3 -3
- package/build/modern/chunk-Q737W5KJ.js.map +1 -0
- package/build/modern/{chunk-QQCB6JXW.js → chunk-QCZ5VNGU.js} +4 -4
- package/build/modern/chunk-QCZ5VNGU.js.map +1 -0
- package/build/modern/{chunk-TNSIYRF7.js → chunk-QD3WAARV.js} +4 -4
- package/build/modern/chunk-QD3WAARV.js.map +1 -0
- package/build/modern/{chunk-XBDEIBW2.js → chunk-QNZIH2KG.js} +2 -2
- package/build/modern/chunk-RP6DNLP3.js +17 -0
- package/build/modern/chunk-RP6DNLP3.js.map +1 -0
- package/build/modern/{chunk-M7T3MBFB.js → chunk-RT7OJ4X5.js} +2 -2
- package/build/modern/{chunk-D7MAAGNA.js → chunk-RW3YEBDW.js} +42 -16
- package/build/modern/chunk-RW3YEBDW.js.map +1 -0
- package/build/modern/{chunk-BJJ4XAVO.js → chunk-RYRB5GPN.js} +3 -3
- package/build/modern/{chunk-7HKULJ4G.js → chunk-SDV6XUM6.js} +14 -11
- package/build/modern/chunk-SDV6XUM6.js.map +1 -0
- package/build/modern/{chunk-D7UIWAFO.js → chunk-SSR3CWJZ.js} +3 -5
- package/build/modern/chunk-SSR3CWJZ.js.map +1 -0
- package/build/modern/{chunk-IPC7LQ4Q.js → chunk-STCGFGTK.js} +8 -8
- package/build/modern/chunk-STCGFGTK.js.map +1 -0
- package/build/modern/{chunk-7JHQVQPS.js → chunk-SZOV7M64.js} +6 -4
- package/build/modern/chunk-SZOV7M64.js.map +1 -0
- package/build/modern/{chunk-L7N24B6B.js → chunk-T2NB3RBO.js} +3 -3
- package/build/modern/chunk-T2NB3RBO.js.map +1 -0
- package/build/modern/{chunk-DYQBRCZC.js → chunk-TGY3RICC.js} +14 -16
- package/build/modern/chunk-TGY3RICC.js.map +1 -0
- package/build/modern/{chunk-2FRF57EU.js → chunk-UGFSACHC.js} +3 -5
- package/build/modern/chunk-UGFSACHC.js.map +1 -0
- package/build/modern/{chunk-SRNDDY5D.js → chunk-UH6XSYYD.js} +3 -5
- package/build/modern/chunk-UH6XSYYD.js.map +1 -0
- package/build/modern/{chunk-AO3GB72J.js → chunk-UJTE43LT.js} +2 -2
- package/build/modern/chunk-UJTE43LT.js.map +1 -0
- package/build/modern/{chunk-3XE3QXUI.js → chunk-URJ6JHLG.js} +15 -15
- package/build/modern/chunk-URJ6JHLG.js.map +1 -0
- package/build/modern/{chunk-FCSO6N2Y.js → chunk-V6EAWUCQ.js} +2 -2
- package/build/modern/{chunk-HIC7Z23X.js → chunk-V6ZOASMM.js} +2 -2
- package/build/modern/chunk-VEAC4I3F.js +17 -0
- package/build/modern/chunk-VEAC4I3F.js.map +1 -0
- package/build/modern/{chunk-CNA2VKAH.js → chunk-VIKVLJGG.js} +3 -3
- package/build/modern/chunk-VIKVLJGG.js.map +1 -0
- package/build/modern/{chunk-YUNLWTUB.js → chunk-W337WQTU.js} +2 -2
- package/build/modern/{chunk-VNPLKMEM.js → chunk-WEL43I6Y.js} +7 -7
- package/build/modern/chunk-WEL43I6Y.js.map +1 -0
- package/build/modern/{chunk-XTNGF4D6.js → chunk-YOYCS3MD.js} +2 -2
- package/build/modern/{chunk-RUR5MV54.js → chunk-YUVPXW6D.js} +12 -6
- package/build/modern/chunk-YUVPXW6D.js.map +1 -0
- package/build/modern/{chunk-MH6CIBDU.js → chunk-Z2KBUTCO.js} +3 -3
- package/build/modern/chunk-Z2KBUTCO.js.map +1 -0
- package/build/modern/{chunk-URO5I5AQ.js → chunk-ZL7AX5EM.js} +5 -5
- package/build/modern/components/CircularProgress.js +2 -2
- package/build/modern/components/FeatureFlag.js +2 -2
- package/build/modern/components/FileStatus.js +12 -12
- package/build/modern/components/FileUploader.js +5 -5
- package/build/modern/components/IconButton.js +1 -1
- package/build/modern/components/Menu.d.ts +2 -2
- package/build/modern/components/Menu.js +1 -1
- package/build/modern/components/Portal.d.ts +1 -1
- package/build/modern/components/Portal.js +1 -1
- package/build/modern/components/ProgressBar.js +1 -1
- package/build/modern/components/Show.js +1 -2
- package/build/modern/components/Spinner.js +1 -1
- package/build/modern/components/Tag.js +3 -3
- package/build/modern/components/Text.js +1 -1
- package/build/modern/components/Tooltip.js +1 -1
- package/build/modern/components/accordion/index.d.ts +1 -1
- package/build/modern/components/accordion/index.js +5 -5
- package/build/modern/components/accordion/item-group.d.ts +1 -1
- package/build/modern/components/accordion/item-group.js +5 -5
- package/build/modern/components/accordion/item-indicator.js +3 -3
- package/build/modern/components/accordion/parts.js +2 -2
- package/build/modern/components/accordion/primitives.js +1 -1
- package/build/modern/components/admonition/admonition.js +8 -8
- package/build/modern/components/admonition/index.js +8 -8
- package/build/modern/components/admonition/match-avatar.js +5 -5
- package/build/modern/components/admonition/parts.js +2 -2
- package/build/modern/components/admonition/primitives.js +1 -1
- package/build/modern/components/avatar/avatar.js +4 -4
- package/build/modern/components/avatar/index.js +4 -4
- package/build/modern/components/avatar/parts.js +2 -2
- package/build/modern/components/avatar/primitives.js +1 -1
- package/build/modern/components/button/button.js +3 -3
- package/build/modern/components/button/index.js +4 -4
- package/build/modern/components/button/parts.js +4 -4
- package/build/modern/components/checkbox/checkbox-icon.js +4 -4
- package/build/modern/components/checkbox/checkbox.js +6 -6
- package/build/modern/components/checkbox/index.js +6 -6
- package/build/modern/components/checkbox/parts.js +2 -2
- package/build/modern/components/checkbox/primitives.js +1 -1
- package/build/modern/components/combobox/combobox.js +5 -5
- package/build/modern/components/combobox/index.js +13 -13
- package/build/modern/components/combobox/item-group.js +3 -3
- package/build/modern/components/combobox/item.js +3 -3
- package/build/modern/components/combobox/parts.js +2 -2
- package/build/modern/components/combobox/primitives.js +1 -1
- package/build/modern/components/combobox/use-stateful-collection.js +2 -2
- package/build/modern/components/cta-dialog/index.js +16 -16
- package/build/modern/components/cta-dialog/provider.js +15 -15
- package/build/modern/components/cta-dialog/trigger-item.js +4 -4
- package/build/modern/components/date-picker/calendar.js +13 -13
- package/build/modern/components/date-picker/content.js +4 -4
- package/build/modern/components/date-picker/date-picker.js +3 -3
- package/build/modern/components/date-picker/day-view.js +8 -8
- package/build/modern/components/date-picker/index.js +19 -19
- package/build/modern/components/date-picker/input.js +5 -5
- package/build/modern/components/date-picker/month-view.js +8 -8
- package/build/modern/components/date-picker/parts.js +2 -2
- package/build/modern/components/date-picker/primitives.js +1 -1
- package/build/modern/components/date-picker/range-input.js +5 -5
- package/build/modern/components/date-picker/trigger.js +4 -4
- package/build/modern/components/date-picker/view-control-group.js +7 -7
- package/build/modern/components/date-picker/year-view.js +8 -8
- package/build/modern/components/deprecated/FieldMessage.js +1 -1
- package/build/modern/components/deprecated/FieldsetLabel.js +1 -1
- package/build/modern/components/deprecated/Label.js +7 -7
- package/build/modern/components/deprecated/Legend.js +2 -2
- package/build/modern/components/deprecated/Modal.d.ts +2 -2
- package/build/modern/components/deprecated/Modal.js +7 -3
- package/build/modern/components/deprecated/Modal.js.map +1 -1
- package/build/modern/components/deprecated/ModalDescription.d.ts +2 -2
- package/build/modern/components/deprecated/ModalDescription.js +7 -3
- package/build/modern/components/deprecated/ModalDescription.js.map +1 -1
- package/build/modern/components/deprecated/ModalHeader.d.ts +2 -2
- package/build/modern/components/deprecated/ModalHeader.js +20 -3
- package/build/modern/components/deprecated/ModalHeader.js.map +1 -1
- package/build/modern/components/deprecated/ModalHeading.d.ts +2 -2
- package/build/modern/components/deprecated/ModalHeading.js +7 -3
- package/build/modern/components/deprecated/ModalHeading.js.map +1 -1
- package/build/modern/components/deprecated/NavMenuLink.js +2 -2
- package/build/modern/components/deprecated/NavMenuList.js +3 -3
- package/build/modern/components/deprecated/NavMenuTrigger.js +4 -4
- package/build/modern/components/deprecated/Notification.js +72 -4
- package/build/modern/components/deprecated/Notification.js.map +1 -1
- package/build/modern/components/deprecated/NotificationDescription.js +16 -2
- package/build/modern/components/deprecated/NotificationDescription.js.map +1 -1
- package/build/modern/components/deprecated/NotificationHeading.js +10 -2
- package/build/modern/components/deprecated/NotificationHeading.js.map +1 -1
- package/build/modern/components/dialog/close-icon-trigger.js +3 -3
- package/build/modern/components/dialog/dialog.js +3 -3
- package/build/modern/components/dialog/index.js +6 -6
- package/build/modern/components/dialog/parts.js +2 -2
- package/build/modern/components/dialog/primitives.js +1 -1
- package/build/modern/components/field/field.js +5 -5
- package/build/modern/components/field/index.js +10 -10
- package/build/modern/components/field/parts.js +4 -4
- package/build/modern/components/field/primitives.js +3 -3
- package/build/modern/components/field/start-indicator.js +1 -1
- package/build/modern/components/field/status-indicator.js +1 -1
- package/build/modern/components/fieldset/fieldset.js +3 -3
- package/build/modern/components/fieldset/index.js +3 -3
- package/build/modern/components/fieldset/parts.js +2 -2
- package/build/modern/components/fieldset/primitives.js +1 -1
- package/build/modern/components/for.js +1 -1
- package/build/modern/components/notifications/center.js +8 -8
- package/build/modern/components/notifications/close-trigger.js +3 -3
- package/build/modern/components/notifications/index.d.ts +1 -1
- package/build/modern/components/notifications/index.js +8 -8
- package/build/modern/components/notifications/match-icon.js +2 -2
- package/build/modern/components/notifications/parts.js +2 -2
- package/build/modern/components/notifications/primitives.d.ts +1 -1
- package/build/modern/components/notifications/primitives.js +1 -1
- package/build/modern/components/radio/index.js +3 -3
- package/build/modern/components/radio/parts.js +2 -2
- package/build/modern/components/radio/primitives.js +1 -1
- package/build/modern/components/radio/radio.js +2 -2
- package/build/modern/components/rating/index.js +4 -4
- package/build/modern/components/rating/parts.js +2 -2
- package/build/modern/components/rating/primitives.js +1 -1
- package/build/modern/components/rating/rating.js +4 -4
- package/build/modern/components/select/index.js +9 -9
- package/build/modern/components/select/option-group.js +2 -2
- package/build/modern/components/select/parts.js +2 -2
- package/build/modern/components/select/primitives.js +1 -1
- package/build/modern/components/select/select.js +5 -5
- package/build/modern/components/switch/index.js +4 -4
- package/build/modern/components/switch/parts.js +2 -2
- package/build/modern/components/switch/primitives.js +1 -1
- package/build/modern/components/switch/switch.js +3 -3
- package/build/modern/components/table/index.js +6 -6
- package/build/modern/components/table/parts.js +2 -2
- package/build/modern/components/table/primitives.js +1 -1
- package/build/modern/components/table/table.js +3 -3
- package/build/modern/components/tabs/index.js +3 -3
- package/build/modern/components/tabs/parts.js +2 -2
- package/build/modern/components/tabs/primitives.js +1 -1
- package/build/modern/components/tabs/tabs.js +3 -3
- package/build/modern/components/toggle/index.js +2 -2
- package/build/modern/components/toggle/parts.js +2 -2
- package/build/modern/components/toggle/primitives.js +1 -1
- package/build/modern/config/defineIcons.js +2 -2
- package/build/modern/config/icons/checkbox.icons.d.ts +0 -2
- package/build/modern/config/icons/checkbox.icons.js +1 -1
- package/build/modern/config/index.js +3 -3
- package/build/modern/context/confirm-modal.js +13 -13
- package/build/modern/context/field.js +3 -3
- package/build/modern/context/field.js.map +1 -1
- package/build/modern/context/navMenu.js +1 -1
- package/build/modern/context/prompt-modal.js +20 -20
- package/build/modern/context/theme.js +1 -1
- package/build/modern/hooks/useModal.d.ts +2 -2
- package/build/modern/hooks/useModal.js +23 -3
- package/build/modern/hooks/useModal.js.map +1 -1
- package/build/modern/index.d.ts +20 -30
- package/build/modern/index.js +256 -276
- package/build/modern/index.js.map +1 -1
- package/package.json +14 -12
- package/src/.DS_Store +0 -0
- package/src/aria-helpers/nav-menu.aria.ts +3 -0
- package/src/aria-helpers/trap-focus.aria.ts +4 -1
- package/src/components/.DS_Store +0 -0
- package/src/components/CircularProgress.tsx +2 -2
- package/src/components/FileStatus.tsx +3 -6
- package/src/components/FileUploader.tsx +4 -4
- package/src/components/IconButton.tsx +3 -6
- package/src/components/Menu.tsx +13 -92
- package/src/components/Portal.tsx +6 -6
- package/src/components/ProgressBar.tsx +2 -2
- package/src/components/Show.tsx +13 -11
- package/src/components/Spinner.tsx +3 -4
- package/src/components/Tag.tsx +2 -2
- package/src/components/Text.tsx +3 -6
- package/src/components/Tooltip.tsx +2 -2
- package/src/components/accordion/item-group.tsx +8 -4
- package/src/components/accordion/item-indicator.tsx +1 -1
- package/src/components/accordion/primitives.tsx +2 -5
- package/src/components/admonition/admonition.tsx +3 -3
- package/src/components/admonition/match-avatar.tsx +1 -1
- package/src/components/admonition/primitives.tsx +2 -5
- package/src/components/avatar/avatar.tsx +2 -2
- package/src/components/avatar/primitives.tsx +2 -5
- package/src/components/button/button.tsx +3 -6
- package/src/components/checkbox/checkbox.tsx +1 -1
- package/src/components/checkbox/primitives.tsx +2 -5
- package/src/components/combobox/combobox.tsx +2 -2
- package/src/components/combobox/primitives.tsx +2 -5
- package/src/components/cta-dialog/provider.tsx +2 -2
- package/src/components/cta-dialog/trigger-item.tsx +2 -2
- package/src/components/date-picker/primitives.tsx +63 -15
- package/src/components/date-picker/view-control-group.tsx +1 -1
- package/src/components/deprecated/FieldMessage.tsx +2 -2
- package/src/components/deprecated/FieldsetLabel.tsx +2 -2
- package/src/components/deprecated/Label.tsx +2 -2
- package/src/components/deprecated/Legend.tsx +3 -3
- package/src/components/deprecated/Modal.tsx +8 -14
- package/src/components/deprecated/ModalDescription.tsx +2 -2
- package/src/components/deprecated/ModalHeader.tsx +2 -2
- package/src/components/deprecated/ModalHeading.tsx +2 -2
- package/src/components/deprecated/NavMenuLink.tsx +2 -2
- package/src/components/deprecated/NavMenuList.tsx +3 -3
- package/src/components/deprecated/NavMenuTrigger.tsx +3 -3
- package/src/components/deprecated/Notification.tsx +4 -4
- package/src/components/deprecated/NotificationDescription.tsx +2 -2
- package/src/components/deprecated/NotificationHeading.tsx +2 -2
- package/src/components/dialog/close-icon-trigger.tsx +2 -2
- package/src/components/dialog/dialog.tsx +1 -1
- package/src/components/dialog/primitives.tsx +2 -5
- package/src/components/field/field.tsx +4 -4
- package/src/components/field/primitives.tsx +2 -2
- package/src/components/field/start-indicator.tsx +2 -2
- package/src/components/field/status-indicator.tsx +2 -2
- package/src/components/fieldset/fieldset.tsx +1 -1
- package/src/components/fieldset/primitives.tsx +2 -5
- package/src/components/for.tsx +1 -1
- package/src/components/notifications/center.tsx +8 -4
- package/src/components/notifications/match-icon.tsx +1 -1
- package/src/components/notifications/primitives.tsx +6 -3
- package/src/components/radio/primitives.tsx +2 -5
- package/src/components/radio/radio.tsx +1 -1
- package/src/components/rating/primitives.tsx +2 -2
- package/src/components/rating/rating.tsx +2 -2
- package/src/components/select/primitives.tsx +2 -5
- package/src/components/select/select.tsx +2 -2
- package/src/components/switch/primitives.tsx +7 -4
- package/src/components/switch/switch.tsx +1 -1
- package/src/components/table/primitives.tsx +2 -2
- package/src/components/table/table.tsx +2 -2
- package/src/components/tabs/primitives.tsx +2 -2
- package/src/components/toggle/primitives.tsx +11 -3
- package/src/config/icons/checkbox.icons.tsx +2 -10
- package/src/context/confirm-modal.tsx +3 -3
- package/src/context/field.tsx +2 -4
- package/src/context/navMenu.tsx +8 -8
- package/src/context/prompt-modal.tsx +5 -5
- package/src/context/theme.tsx +1 -3
- package/src/hooks/useModal.ts +1 -1
- package/src/index.ts +2 -7
- package/build/legacy/context/notification-center/store.cjs +0 -66
- package/build/legacy/context/notification-center/store.cjs.map +0 -1
- package/build/legacy/context/notification-center/store.d.cts +0 -5
- package/build/legacy/context/notification-center/types.cjs +0 -19
- package/build/legacy/context/notification-center/types.cjs.map +0 -1
- package/build/legacy/context/notification-center/types.d.cts +0 -6
- package/build/legacy/context/notification-center.cjs +0 -381
- package/build/legacy/context/notification-center.cjs.map +0 -1
- package/build/legacy/context/notification-center.d.cts +0 -5
- package/build/modern/chunk-245SMQ45.js.map +0 -1
- package/build/modern/chunk-2FRF57EU.js.map +0 -1
- package/build/modern/chunk-3XE3QXUI.js.map +0 -1
- package/build/modern/chunk-4GFEWP76.js.map +0 -1
- package/build/modern/chunk-4HUK7YNZ.js.map +0 -1
- package/build/modern/chunk-5DY66QZD.js.map +0 -1
- package/build/modern/chunk-5RTNSVYU.js.map +0 -1
- package/build/modern/chunk-63F5MURH.js.map +0 -1
- package/build/modern/chunk-6QHOKCV3.js.map +0 -1
- package/build/modern/chunk-6WEW5OGL.js.map +0 -1
- package/build/modern/chunk-6WS765J3.js.map +0 -1
- package/build/modern/chunk-7HKULJ4G.js.map +0 -1
- package/build/modern/chunk-7JHQVQPS.js.map +0 -1
- package/build/modern/chunk-7OYOT5LK.js.map +0 -1
- package/build/modern/chunk-7SYJFI5E.js.map +0 -1
- package/build/modern/chunk-A464YKEL.js.map +0 -1
- package/build/modern/chunk-AIJ75ENY.js.map +0 -1
- package/build/modern/chunk-AO3GB72J.js.map +0 -1
- package/build/modern/chunk-AUALRL3U.js +0 -25
- package/build/modern/chunk-AUALRL3U.js.map +0 -1
- package/build/modern/chunk-BPRF34DU.js.map +0 -1
- package/build/modern/chunk-BUVVRQLZ.js +0 -15
- package/build/modern/chunk-BUVVRQLZ.js.map +0 -1
- package/build/modern/chunk-CIMY2U22.js +0 -10
- package/build/modern/chunk-CIMY2U22.js.map +0 -1
- package/build/modern/chunk-CNA2VKAH.js.map +0 -1
- package/build/modern/chunk-CPNKDKC2.js.map +0 -1
- package/build/modern/chunk-CYSLIGNU.js.map +0 -1
- package/build/modern/chunk-D7MAAGNA.js.map +0 -1
- package/build/modern/chunk-D7UIWAFO.js.map +0 -1
- package/build/modern/chunk-DEXJQ6UI.js.map +0 -1
- package/build/modern/chunk-DRDNNRU3.js.map +0 -1
- package/build/modern/chunk-DXOKSZVQ.js +0 -12
- package/build/modern/chunk-DYQBRCZC.js.map +0 -1
- package/build/modern/chunk-E3PAEB7Y.js.map +0 -1
- package/build/modern/chunk-IHQSE4LR.js +0 -78
- package/build/modern/chunk-IHQSE4LR.js.map +0 -1
- package/build/modern/chunk-IPC7LQ4Q.js.map +0 -1
- package/build/modern/chunk-IQJDVFPP.js +0 -10
- package/build/modern/chunk-IQJDVFPP.js.map +0 -1
- package/build/modern/chunk-JF76VIL3.js.map +0 -1
- package/build/modern/chunk-JIZQFTW6.js.map +0 -1
- package/build/modern/chunk-JLUIGY2U.js.map +0 -1
- package/build/modern/chunk-JWF7FK7T.js.map +0 -1
- package/build/modern/chunk-KGQG5JGW.js +0 -27
- package/build/modern/chunk-KGQG5JGW.js.map +0 -1
- package/build/modern/chunk-KJMCUYWV.js.map +0 -1
- package/build/modern/chunk-L7N24B6B.js.map +0 -1
- package/build/modern/chunk-LLZE2RBB.js.map +0 -1
- package/build/modern/chunk-LMBMMBKU.js.map +0 -1
- package/build/modern/chunk-LPALHB6R.js.map +0 -1
- package/build/modern/chunk-LZWNHXRP.js.map +0 -1
- package/build/modern/chunk-MH6CIBDU.js.map +0 -1
- package/build/modern/chunk-MZMZAX4E.js.map +0 -1
- package/build/modern/chunk-N4RPMT6J.js.map +0 -1
- package/build/modern/chunk-NMDAHO2K.js.map +0 -1
- package/build/modern/chunk-NR5XDIJ7.js.map +0 -1
- package/build/modern/chunk-OSAYA6GH.js.map +0 -1
- package/build/modern/chunk-Q3I4H6EC.js +0 -21
- package/build/modern/chunk-Q3I4H6EC.js.map +0 -1
- package/build/modern/chunk-QCBLRACK.js.map +0 -1
- package/build/modern/chunk-QJ3CJ4CR.js +0 -22
- package/build/modern/chunk-QJ3CJ4CR.js.map +0 -1
- package/build/modern/chunk-QQCB6JXW.js.map +0 -1
- package/build/modern/chunk-R7IDIIST.js.map +0 -1
- package/build/modern/chunk-RD2YPFRA.js.map +0 -1
- package/build/modern/chunk-RKGFPKKK.js.map +0 -1
- package/build/modern/chunk-RU5LOXWI.js.map +0 -1
- package/build/modern/chunk-RUR5MV54.js.map +0 -1
- package/build/modern/chunk-SRNDDY5D.js.map +0 -1
- package/build/modern/chunk-STLN7BMJ.js.map +0 -1
- package/build/modern/chunk-SWX5JWZR.js +0 -12
- package/build/modern/chunk-SWX5JWZR.js.map +0 -1
- package/build/modern/chunk-TNSIYRF7.js.map +0 -1
- package/build/modern/chunk-UCL7P2OG.js.map +0 -1
- package/build/modern/chunk-V3M3ZOQI.js +0 -38
- package/build/modern/chunk-V3M3ZOQI.js.map +0 -1
- package/build/modern/chunk-V6LNXFJV.js +0 -16
- package/build/modern/chunk-V6LNXFJV.js.map +0 -1
- package/build/modern/chunk-VHCJ25QC.js.map +0 -1
- package/build/modern/chunk-VNPLKMEM.js.map +0 -1
- package/build/modern/chunk-W47QEZD5.js.map +0 -1
- package/build/modern/chunk-WECB67DC.js +0 -12
- package/build/modern/chunk-WECB67DC.js.map +0 -1
- package/build/modern/chunk-XVOEBY5S.js.map +0 -1
- package/build/modern/chunk-YOTXFCCC.js.map +0 -1
- package/build/modern/chunk-Z3FDG263.js.map +0 -1
- package/build/modern/chunk-Z52R6ABJ.js.map +0 -1
- package/build/modern/context/notification-center/store.d.ts +0 -5
- package/build/modern/context/notification-center/store.js +0 -15
- package/build/modern/context/notification-center/store.js.map +0 -1
- package/build/modern/context/notification-center/types.d.ts +0 -6
- package/build/modern/context/notification-center/types.js +0 -1
- package/build/modern/context/notification-center/types.js.map +0 -1
- package/build/modern/context/notification-center.d.ts +0 -5
- package/build/modern/context/notification-center.js +0 -183
- package/build/modern/context/notification-center.js.map +0 -1
- package/src/context/notification-center/store.ts +0 -88
- package/src/context/notification-center/types.ts +0 -28
- package/src/context/notification-center.tsx +0 -257
- /package/build/modern/{chunk-R4KLHRCL.js.map → chunk-25P3FUUT.js.map} +0 -0
- /package/build/modern/{chunk-FZ53535Q.js.map → chunk-2CZWHED6.js.map} +0 -0
- /package/build/modern/{chunk-JAAMD5EH.js.map → chunk-2IYWFZTK.js.map} +0 -0
- /package/build/modern/{chunk-KWZ3CEG6.js.map → chunk-52ZQ26IV.js.map} +0 -0
- /package/build/modern/{chunk-XBUXVNTY.js.map → chunk-5FC7HIAR.js.map} +0 -0
- /package/build/modern/{chunk-TEMFCS72.js.map → chunk-5HEU3SYR.js.map} +0 -0
- /package/build/modern/{chunk-4IXQNNAM.js.map → chunk-6UVR3VGK.js.map} +0 -0
- /package/build/modern/{chunk-6TIMBGFL.js.map → chunk-ADZRQNW3.js.map} +0 -0
- /package/build/modern/{chunk-6HOLE2JH.js.map → chunk-CEJIKL6N.js.map} +0 -0
- /package/build/modern/{chunk-QDXU6G3X.js.map → chunk-D6PFYSIP.js.map} +0 -0
- /package/build/modern/{chunk-EH36PXVP.js.map → chunk-FAQ3F72W.js.map} +0 -0
- /package/build/modern/{chunk-2CVGNLIM.js.map → chunk-GC6JUHVS.js.map} +0 -0
- /package/build/modern/{chunk-IASVL7CW.js.map → chunk-GUAF4FXQ.js.map} +0 -0
- /package/build/modern/{chunk-OS73F4SR.js.map → chunk-GYUCW2QK.js.map} +0 -0
- /package/build/modern/{chunk-BIDE4IJG.js.map → chunk-H4SH6ORP.js.map} +0 -0
- /package/build/modern/{chunk-HUN7VQBT.js.map → chunk-I4EGYD24.js.map} +0 -0
- /package/build/modern/{chunk-32M5JS5F.js.map → chunk-ILROS7ST.js.map} +0 -0
- /package/build/modern/{chunk-SYPAA5YF.js.map → chunk-IUF74GEL.js.map} +0 -0
- /package/build/modern/{chunk-WVFEJCUN.js.map → chunk-J76SGDYP.js.map} +0 -0
- /package/build/modern/{chunk-RQCJKDXU.js.map → chunk-JQYW4IOC.js.map} +0 -0
- /package/build/modern/{chunk-JQJTQVPI.js.map → chunk-KEGLWDD6.js.map} +0 -0
- /package/build/modern/{chunk-KZDEDAIK.js.map → chunk-MTD4JSHT.js.map} +0 -0
- /package/build/modern/{chunk-FUL2VRDU.js.map → chunk-MZXSSTS7.js.map} +0 -0
- /package/build/modern/{chunk-ILSKGNUA.js.map → chunk-N6XHXPBI.js.map} +0 -0
- /package/build/modern/{chunk-LVHQGXJK.js.map → chunk-NP73HOHI.js.map} +0 -0
- /package/build/modern/{chunk-7TQRTBUP.js.map → chunk-NQ22M7U7.js.map} +0 -0
- /package/build/modern/{chunk-V243YFI3.js.map → chunk-NYEUNVKR.js.map} +0 -0
- /package/build/modern/{chunk-MR4DX76C.js.map → chunk-NYVKL2IS.js.map} +0 -0
- /package/build/modern/{chunk-XBDEIBW2.js.map → chunk-QNZIH2KG.js.map} +0 -0
- /package/build/modern/{chunk-M7T3MBFB.js.map → chunk-RT7OJ4X5.js.map} +0 -0
- /package/build/modern/{chunk-BJJ4XAVO.js.map → chunk-RYRB5GPN.js.map} +0 -0
- /package/build/modern/{chunk-FCSO6N2Y.js.map → chunk-V6EAWUCQ.js.map} +0 -0
- /package/build/modern/{chunk-HIC7Z23X.js.map → chunk-V6ZOASMM.js.map} +0 -0
- /package/build/modern/{chunk-YUNLWTUB.js.map → chunk-W337WQTU.js.map} +0 -0
- /package/build/modern/{chunk-XTNGF4D6.js.map → chunk-YOYCS3MD.js.map} +0 -0
- /package/build/modern/{chunk-URO5I5AQ.js.map → chunk-ZL7AX5EM.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
3
|
import type { ComboboxRootProps } from '@ark-ui/react/combobox'
|
|
4
|
-
import type { ComboboxVariantProps } from '
|
|
4
|
+
import type { ComboboxVariantProps } from 'styled-system/recipes'
|
|
5
5
|
import { useCerberusContext } from '../../context/cerberus'
|
|
6
6
|
import type { SelectCollectionItem } from '../select/select'
|
|
7
7
|
import { type FieldInputProps } from '../field/index'
|
|
@@ -33,7 +33,7 @@ export function Combobox(props: ComboboxProps) {
|
|
|
33
33
|
|
|
34
34
|
return (
|
|
35
35
|
<ComboboxParts.Root {...rootProps}>
|
|
36
|
-
<Show when={
|
|
36
|
+
<Show when={label}>
|
|
37
37
|
<ComboboxParts.Label>{label}</ComboboxParts.Label>
|
|
38
38
|
</Show>
|
|
39
39
|
|
|
@@ -16,11 +16,8 @@ import {
|
|
|
16
16
|
} from '@ark-ui/react/combobox'
|
|
17
17
|
import { ark } from '@ark-ui/react/factory'
|
|
18
18
|
import type { SelectCollectionItem } from '../select/select'
|
|
19
|
-
import {
|
|
20
|
-
|
|
21
|
-
type ComboboxVariantProps,
|
|
22
|
-
} from '@cerberus/styled-system/recipes'
|
|
23
|
-
import { cx } from '@cerberus/styled-system/css'
|
|
19
|
+
import { combobox, type ComboboxVariantProps } from 'styled-system/recipes'
|
|
20
|
+
import { cx } from 'styled-system/css'
|
|
24
21
|
import type { PropsWithChildren } from 'react'
|
|
25
22
|
|
|
26
23
|
/**
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
type PropsWithChildren,
|
|
10
10
|
type ReactNode,
|
|
11
11
|
} from 'react'
|
|
12
|
-
import { HStack, VStack } from '
|
|
12
|
+
import { HStack, VStack } from 'styled-system/jsx'
|
|
13
13
|
import { useCerberusContext } from '../../context/cerberus'
|
|
14
14
|
import { Show } from '../Show'
|
|
15
15
|
import { For } from '../for'
|
|
@@ -115,7 +115,7 @@ export function CTAModal(props: PropsWithChildren<object>) {
|
|
|
115
115
|
gradient="charon-light"
|
|
116
116
|
fallback={
|
|
117
117
|
<Show
|
|
118
|
-
when={
|
|
118
|
+
when={confirmIcon}
|
|
119
119
|
fallback={<FallbackIcon size={24} />}
|
|
120
120
|
>
|
|
121
121
|
{confirmIcon}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { css, cx } from '
|
|
1
|
+
import { css, cx } from 'styled-system/css'
|
|
2
2
|
import { Button, type ButtonProps } from '../button/button'
|
|
3
3
|
import { ark } from '@ark-ui/react/factory'
|
|
4
|
-
import { button } from '
|
|
4
|
+
import { button } from 'styled-system/recipes'
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* This module provides the trigger item for the cta modal.
|
|
@@ -1,19 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DatePicker,
|
|
3
3
|
type DatePickerContentProps,
|
|
4
|
+
type DatePickerContextProps,
|
|
4
5
|
type DatePickerControlProps,
|
|
5
6
|
type DatePickerInputProps,
|
|
6
7
|
type DatePickerLabelProps,
|
|
8
|
+
type DatePickerMonthSelectProps,
|
|
9
|
+
type DatePickerNextTriggerProps,
|
|
10
|
+
type DatePickerPositionerProps,
|
|
11
|
+
type DatePickerPrevTriggerProps,
|
|
7
12
|
type DatePickerRangeTextProps,
|
|
13
|
+
type DatePickerRootProps,
|
|
14
|
+
type DatePickerTableBodyProps,
|
|
8
15
|
type DatePickerTableCellProps,
|
|
9
16
|
type DatePickerTableCellTriggerProps,
|
|
10
17
|
type DatePickerTableHeaderProps,
|
|
18
|
+
type DatePickerTableHeadProps,
|
|
11
19
|
type DatePickerTableProps,
|
|
20
|
+
type DatePickerTableRowProps,
|
|
12
21
|
type DatePickerTriggerProps,
|
|
13
22
|
type DatePickerViewControlProps,
|
|
23
|
+
type DatePickerViewProps,
|
|
24
|
+
type DatePickerViewTriggerProps,
|
|
25
|
+
type DatePickerYearSelectProps,
|
|
14
26
|
} from '@ark-ui/react/date-picker'
|
|
15
|
-
import { cx } from '
|
|
16
|
-
import { datePicker } from '
|
|
27
|
+
import { cx } from 'styled-system/css'
|
|
28
|
+
import { datePicker } from 'styled-system/recipes'
|
|
17
29
|
|
|
18
30
|
/**
|
|
19
31
|
* This module contains the DatePicker primitives.
|
|
@@ -170,63 +182,99 @@ export function DatePickerTableCellTrigger(
|
|
|
170
182
|
/**
|
|
171
183
|
* The root component of the DatePicker. This primitive has no Cerberus styles.
|
|
172
184
|
*/
|
|
173
|
-
export
|
|
185
|
+
export function DatePickerRoot(props: DatePickerRootProps) {
|
|
186
|
+
return <DatePicker.Root {...props} />
|
|
187
|
+
}
|
|
188
|
+
|
|
174
189
|
/**
|
|
175
190
|
* The label component of the DatePicker. This primitive has no Cerberus styles.
|
|
176
191
|
*/
|
|
177
|
-
export
|
|
192
|
+
export function DatePickerClearTrigger(props: DatePickerTriggerProps) {
|
|
193
|
+
return <DatePicker.ClearTrigger {...props} />
|
|
194
|
+
}
|
|
195
|
+
|
|
178
196
|
/**
|
|
179
197
|
* The control component of the DatePicker. This primitive has no Cerberus
|
|
180
198
|
* styles.
|
|
181
199
|
*/
|
|
182
|
-
export
|
|
200
|
+
export function DatePickerPositioner(props: DatePickerPositionerProps) {
|
|
201
|
+
return <DatePicker.Positioner {...props} />
|
|
202
|
+
}
|
|
203
|
+
|
|
183
204
|
/**
|
|
184
205
|
* The year select input component of the DatePicker. This primitive has no
|
|
185
206
|
* Cerberus styles.
|
|
186
207
|
*/
|
|
187
|
-
export
|
|
208
|
+
export function DatePickerYearSelect(props: DatePickerYearSelectProps) {
|
|
209
|
+
return <DatePicker.YearSelect {...props} />
|
|
210
|
+
}
|
|
211
|
+
|
|
188
212
|
/**
|
|
189
213
|
* The month select input component of the DatePicker. This primitive has no
|
|
190
214
|
* Cerberus styles.
|
|
191
215
|
*/
|
|
192
|
-
export
|
|
216
|
+
export function DatePickerMonthSelect(props: DatePickerMonthSelectProps) {
|
|
217
|
+
return <DatePicker.MonthSelect {...props} />
|
|
218
|
+
}
|
|
219
|
+
|
|
193
220
|
/**
|
|
194
221
|
* The day view component of the DatePicker. This primitive has no Cerberus
|
|
195
222
|
* styles.
|
|
196
223
|
*/
|
|
197
|
-
export
|
|
224
|
+
export function DatePickerView(props: DatePickerViewProps) {
|
|
225
|
+
return <DatePicker.View {...props} />
|
|
226
|
+
}
|
|
227
|
+
|
|
198
228
|
/**
|
|
199
229
|
* The day context component of the DatePicker. This primitive has no
|
|
200
230
|
* Cerberus styles.
|
|
201
231
|
*/
|
|
202
|
-
export
|
|
232
|
+
export function DatePickerContext(props: DatePickerContextProps) {
|
|
233
|
+
return <DatePicker.Context {...props} />
|
|
234
|
+
}
|
|
235
|
+
|
|
203
236
|
/**
|
|
204
237
|
* The trigger component of the DatePicker. This primitive has no Cerberus
|
|
205
238
|
* styles.
|
|
206
239
|
*/
|
|
207
|
-
export
|
|
240
|
+
export function DatePickerPrevTrigger(props: DatePickerPrevTriggerProps) {
|
|
241
|
+
return <DatePicker.PrevTrigger {...props} />
|
|
242
|
+
}
|
|
243
|
+
|
|
208
244
|
/**
|
|
209
245
|
* The trigger component of the DatePicker. This primitive has no Cerberus
|
|
210
246
|
* styles.
|
|
211
247
|
*/
|
|
212
|
-
export
|
|
248
|
+
export function DatePickerNextTrigger(props: DatePickerNextTriggerProps) {
|
|
249
|
+
return <DatePicker.NextTrigger {...props} />
|
|
250
|
+
}
|
|
251
|
+
|
|
213
252
|
/**
|
|
214
253
|
* The trigger component of the DatePicker. This primitive has no Cerberus
|
|
215
254
|
* styles.
|
|
216
255
|
*/
|
|
217
|
-
export
|
|
256
|
+
export function DatePickerViewTrigger(props: DatePickerViewTriggerProps) {
|
|
257
|
+
return <DatePicker.ViewTrigger {...props} />
|
|
258
|
+
}
|
|
259
|
+
|
|
218
260
|
/**
|
|
219
261
|
* The table head component of the DatePicker. This primitive has no Cerberus
|
|
220
262
|
* styles.
|
|
221
263
|
*/
|
|
222
|
-
export
|
|
264
|
+
export function DatePickerTableHead(props: DatePickerTableHeadProps) {
|
|
265
|
+
return <DatePicker.TableHead {...props} />
|
|
266
|
+
}
|
|
223
267
|
/**
|
|
224
268
|
* The table row component of the DatePicker. This primitive has no Cerberus
|
|
225
269
|
* styles.
|
|
226
270
|
*/
|
|
227
|
-
export
|
|
271
|
+
export function DatePickerTableRow(props: DatePickerTableRowProps) {
|
|
272
|
+
return <DatePicker.TableRow {...props} />
|
|
273
|
+
}
|
|
228
274
|
/**
|
|
229
275
|
* The table body component of the DatePicker. This primitive has no Cerberus
|
|
230
276
|
* styles.
|
|
231
277
|
*/
|
|
232
|
-
export
|
|
278
|
+
export function DatePickerTableBody(props: DatePickerTableBodyProps) {
|
|
279
|
+
return <DatePicker.TableBody {...props} />
|
|
280
|
+
}
|
|
@@ -5,7 +5,7 @@ import { useCerberusContext } from '../../context/cerberus'
|
|
|
5
5
|
import { IconButton } from '../IconButton'
|
|
6
6
|
import { DatePickerParts } from './parts'
|
|
7
7
|
import { Button } from '../button/button'
|
|
8
|
-
import { css } from '
|
|
8
|
+
import { css } from 'styled-system/css'
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* This private module contains an abstraction of the DatePickerViewControl
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
3
|
import type { HTMLAttributes } from 'react'
|
|
4
|
-
import { cx } from '
|
|
4
|
+
import { cx } from 'styled-system/css'
|
|
5
5
|
import {
|
|
6
6
|
fieldMessage,
|
|
7
7
|
type FieldMessageVariantProps,
|
|
8
|
-
} from '
|
|
8
|
+
} from 'styled-system/recipes'
|
|
9
9
|
import { useFieldContext } from '@ark-ui/react/field'
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { cx } from '
|
|
2
|
-
import { label, type LabelVariantProps } from '
|
|
1
|
+
import { cx } from 'styled-system/css'
|
|
2
|
+
import { label, type LabelVariantProps } from 'styled-system/recipes'
|
|
3
3
|
import type { LabelProps } from './Label'
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { HTMLAttributes, PropsWithChildren } from 'react'
|
|
2
|
-
import { label, type LabelVariantProps } from '
|
|
3
|
-
import { cx } from '
|
|
2
|
+
import { label, type LabelVariantProps } from 'styled-system/recipes'
|
|
3
|
+
import { cx } from 'styled-system/css'
|
|
4
4
|
import { FieldLabel } from '../field'
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
3
|
import { useFieldContext } from '@ark-ui/react/field'
|
|
4
|
-
import { css, cx } from '
|
|
5
|
-
import { label, type LabelVariantProps } from '
|
|
6
|
-
import { hstack } from '
|
|
4
|
+
import { css, cx } from 'styled-system/css'
|
|
5
|
+
import { label, type LabelVariantProps } from 'styled-system/recipes'
|
|
6
|
+
import { hstack } from 'styled-system/patterns'
|
|
7
7
|
import { type HTMLAttributes } from 'react'
|
|
8
8
|
import { Show } from '../Show'
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { cx } from '
|
|
2
|
-
import { modal } from '
|
|
3
|
-
import {
|
|
1
|
+
import { cx } from 'styled-system/css'
|
|
2
|
+
import { modal } from 'styled-system/recipes'
|
|
3
|
+
import { type HTMLAttributes, type Ref } from 'react'
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* This module contains the Modal root component for a customizable modal.
|
|
@@ -9,19 +9,13 @@ import { forwardRef, type ForwardedRef, type HTMLAttributes } from 'react'
|
|
|
9
9
|
|
|
10
10
|
// Modal
|
|
11
11
|
|
|
12
|
-
export type ModalProps = HTMLAttributes<HTMLDialogElement>
|
|
13
|
-
|
|
14
|
-
function ModalEl(props: ModalProps, ref: ForwardedRef<HTMLDialogElement>) {
|
|
15
|
-
return (
|
|
16
|
-
<dialog
|
|
17
|
-
{...props}
|
|
18
|
-
className={cx(props.className, modal().dialog)}
|
|
19
|
-
ref={ref}
|
|
20
|
-
/>
|
|
21
|
-
)
|
|
12
|
+
export type ModalProps = HTMLAttributes<HTMLDialogElement> & {
|
|
13
|
+
ref?: Ref<HTMLDialogElement>
|
|
22
14
|
}
|
|
23
15
|
|
|
24
16
|
/**
|
|
25
17
|
* @deprecated use `Dialog` instead
|
|
26
18
|
*/
|
|
27
|
-
export
|
|
19
|
+
export function Modal(props: ModalProps) {
|
|
20
|
+
return <dialog {...props} className={cx(props.className, modal().dialog)} />
|
|
21
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AnchorHTMLAttributes, ElementType } from 'react'
|
|
2
|
-
import { css, cx } from '
|
|
2
|
+
import { css, cx } from 'styled-system/css'
|
|
3
3
|
import { Show } from '../Show'
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -19,7 +19,7 @@ export interface NavMenuLinkProps
|
|
|
19
19
|
/**
|
|
20
20
|
* @deprecated use the {@link Menu} family instead
|
|
21
21
|
*/
|
|
22
|
-
export function NavMenuLink(props: NavMenuLinkProps)
|
|
22
|
+
export function NavMenuLink(props: NavMenuLinkProps) {
|
|
23
23
|
const { as, ...nativeProps } = props
|
|
24
24
|
const hasAs = Boolean(as)
|
|
25
25
|
const AsSub: ElementType = as!
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
3
|
import { useMemo, type HTMLAttributes } from 'react'
|
|
4
|
-
import { cx } from '
|
|
5
|
-
import { vstack } from '
|
|
4
|
+
import { cx } from 'styled-system/css'
|
|
5
|
+
import { vstack } from 'styled-system/patterns'
|
|
6
6
|
import { useNavMenuContext } from '../../context/navMenu'
|
|
7
7
|
import type { Positions } from '../../types'
|
|
8
8
|
import { Show } from '../Show'
|
|
@@ -114,7 +114,7 @@ export interface NavMenuListProps extends HTMLAttributes<HTMLUListElement> {
|
|
|
114
114
|
* </NavMenu>
|
|
115
115
|
* ```
|
|
116
116
|
**/
|
|
117
|
-
export function NavMenuList(props: NavMenuListProps)
|
|
117
|
+
export function NavMenuList(props: NavMenuListProps) {
|
|
118
118
|
const { position, ...nativeProps } = props
|
|
119
119
|
const { menuRef, expanded } = useNavMenuContext()
|
|
120
120
|
const locationStyles = useMemo(
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
type ElementType,
|
|
7
7
|
type MouseEvent,
|
|
8
8
|
} from 'react'
|
|
9
|
-
import { cx } from '
|
|
10
|
-
import { button } from '
|
|
9
|
+
import { cx } from 'styled-system/css'
|
|
10
|
+
import { button } from 'styled-system/recipes'
|
|
11
11
|
import {
|
|
12
12
|
createNavTriggerProps,
|
|
13
13
|
type NavTriggerAriaValues,
|
|
@@ -39,7 +39,7 @@ export interface NavMenuTriggerProps
|
|
|
39
39
|
/**
|
|
40
40
|
* @deprecated use the {@link Menu} family instead
|
|
41
41
|
*/
|
|
42
|
-
export function NavMenuTrigger(props: NavMenuTriggerProps)
|
|
42
|
+
export function NavMenuTrigger(props: NavMenuTriggerProps) {
|
|
43
43
|
const {
|
|
44
44
|
as,
|
|
45
45
|
palette,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import { cx } from '
|
|
4
|
-
import { hstack, vstack } from '
|
|
3
|
+
import { cx } from 'styled-system/css'
|
|
4
|
+
import { hstack, vstack } from 'styled-system/patterns'
|
|
5
5
|
import {
|
|
6
6
|
notification,
|
|
7
7
|
type NotificationVariantProps,
|
|
8
|
-
} from '
|
|
8
|
+
} from 'styled-system/recipes'
|
|
9
9
|
import {
|
|
10
10
|
useRef,
|
|
11
11
|
type DialogHTMLAttributes,
|
|
@@ -50,7 +50,7 @@ export type NotificationProps = NotificationBaseProps & NotificationVariantProps
|
|
|
50
50
|
*/
|
|
51
51
|
export function Notification(props: PropsWithChildren<NotificationProps>) {
|
|
52
52
|
const { children, palette, onClose, ...nativeProps } = props
|
|
53
|
-
const ref = useRef<HTMLDialogElement>(null)
|
|
53
|
+
const ref = useRef<HTMLDialogElement | null>(null)
|
|
54
54
|
|
|
55
55
|
const onKeyDown = trapFocus(ref)
|
|
56
56
|
const styles = notification({ palette })
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { cx } from '
|
|
1
|
+
import { cx } from 'styled-system/css'
|
|
2
2
|
import {
|
|
3
3
|
notification,
|
|
4
4
|
type NotificationVariantProps,
|
|
5
|
-
} from '
|
|
5
|
+
} from 'styled-system/recipes'
|
|
6
6
|
import type { HTMLAttributes } from 'react'
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { cx } from '
|
|
1
|
+
import { cx } from 'styled-system/css'
|
|
2
2
|
import {
|
|
3
3
|
notification,
|
|
4
4
|
type NotificationVariantProps,
|
|
5
|
-
} from '
|
|
5
|
+
} from 'styled-system/recipes'
|
|
6
6
|
import type { HTMLAttributes } from 'react'
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -4,8 +4,8 @@ import { type DialogCloseTriggerProps } from '@ark-ui/react/dialog'
|
|
|
4
4
|
import { useCerberusContext } from '../../context/cerberus'
|
|
5
5
|
import { IconButton } from '../IconButton'
|
|
6
6
|
import { DialogCloseTrigger } from './primitives'
|
|
7
|
-
import { dialog } from '
|
|
8
|
-
import { cx } from '
|
|
7
|
+
import { dialog } from 'styled-system/recipes'
|
|
8
|
+
import { cx } from 'styled-system/css'
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* This module contains the close trigger for the dialog.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DialogContentProps } from '@ark-ui/react/dialog'
|
|
2
|
-
import type { DialogVariantProps } from '
|
|
2
|
+
import type { DialogVariantProps } from 'styled-system/recipes'
|
|
3
3
|
import { Portal } from '../Portal'
|
|
4
4
|
import { DialogBackdrop, DialogContent, DialogPositioner } from './primitives'
|
|
5
5
|
|
|
@@ -8,11 +8,8 @@ import {
|
|
|
8
8
|
type DialogTitleProps,
|
|
9
9
|
type DialogTriggerProps,
|
|
10
10
|
} from '@ark-ui/react/dialog'
|
|
11
|
-
import { cx } from '
|
|
12
|
-
import {
|
|
13
|
-
dialog,
|
|
14
|
-
type DialogVariantProps,
|
|
15
|
-
} from '@cerberus/styled-system/recipes'
|
|
11
|
+
import { cx } from 'styled-system/css'
|
|
12
|
+
import { dialog, type DialogVariantProps } from 'styled-system/recipes'
|
|
16
13
|
|
|
17
14
|
/**
|
|
18
15
|
* This module contains the primitives of the Dialog component.
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
FieldLabel,
|
|
7
7
|
FieldRoot,
|
|
8
8
|
} from './primitives'
|
|
9
|
-
import { HStack } from '
|
|
9
|
+
import { HStack } from 'styled-system/jsx'
|
|
10
10
|
import { Show } from '../Show'
|
|
11
11
|
|
|
12
12
|
export interface FieldProps extends FieldRootProps {
|
|
@@ -56,16 +56,16 @@ export function Field(props: FieldProps) {
|
|
|
56
56
|
|
|
57
57
|
return (
|
|
58
58
|
<FieldRoot {...statusProps} {...rootProps}>
|
|
59
|
-
<Show when={
|
|
59
|
+
<Show when={fieldProps.label}>
|
|
60
60
|
<FieldLabel>{fieldProps.label}</FieldLabel>
|
|
61
61
|
</Show>
|
|
62
62
|
|
|
63
63
|
{fieldProps.children}
|
|
64
64
|
|
|
65
|
-
<Show when={
|
|
65
|
+
<Show when={fieldProps.helperText && !statusProps.invalid}>
|
|
66
66
|
<HStack justifyContent="space-between" w="full">
|
|
67
67
|
<FieldHelperText>{fieldProps.helperText}</FieldHelperText>
|
|
68
|
-
<Show when={
|
|
68
|
+
<Show when={fieldProps.secondaryHelperText}>
|
|
69
69
|
<FieldHelperText>{fieldProps.secondaryHelperText}</FieldHelperText>
|
|
70
70
|
</Show>
|
|
71
71
|
</HStack>
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
type FieldTextareaProps,
|
|
8
8
|
} from '@ark-ui/react/field'
|
|
9
9
|
import type { ReactNode } from 'react'
|
|
10
|
-
import { cx } from '
|
|
11
|
-
import { field, type FieldVariantProps } from '
|
|
10
|
+
import { cx } from 'styled-system/css'
|
|
11
|
+
import { field, type FieldVariantProps } from 'styled-system/recipes'
|
|
12
12
|
import { FieldStatusIndicator } from './status-indicator'
|
|
13
13
|
import { FieldStartIndicator } from './start-indicator'
|
|
14
14
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { cx } from '
|
|
2
|
-
import { field } from '
|
|
1
|
+
import { cx } from 'styled-system/css'
|
|
2
|
+
import { field } from 'styled-system/recipes'
|
|
3
3
|
import type { HTMLAttributes } from 'react'
|
|
4
4
|
|
|
5
5
|
export type FieldIndicatorProps = HTMLAttributes<HTMLSpanElement>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
3
|
import { useFieldContext } from '@ark-ui/react'
|
|
4
|
-
import { cx } from '
|
|
5
|
-
import { field } from '
|
|
4
|
+
import { cx } from 'styled-system/css'
|
|
5
|
+
import { field } from 'styled-system/recipes'
|
|
6
6
|
import { useCerberusContext } from '../../context/cerberus'
|
|
7
7
|
import type { HTMLAttributes, ReactNode } from 'react'
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FieldsetRootProps } from '@ark-ui/react'
|
|
2
2
|
import { splitProps } from '../../utils'
|
|
3
3
|
import { FieldsetParts } from './parts'
|
|
4
|
-
import type { FieldsetVariantProps } from '
|
|
4
|
+
import type { FieldsetVariantProps } from 'styled-system/recipes'
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* This module contains the Fieldset component.
|
|
@@ -4,11 +4,8 @@ import {
|
|
|
4
4
|
type FieldsetLegendProps,
|
|
5
5
|
type FieldsetRootProps,
|
|
6
6
|
} from '@ark-ui/react/fieldset'
|
|
7
|
-
import { cx } from '
|
|
8
|
-
import {
|
|
9
|
-
fieldset,
|
|
10
|
-
type FieldsetVariantProps,
|
|
11
|
-
} from '@cerberus/styled-system/recipes'
|
|
7
|
+
import { cx } from 'styled-system/css'
|
|
8
|
+
import { fieldset, type FieldsetVariantProps } from 'styled-system/recipes'
|
|
12
9
|
|
|
13
10
|
/**
|
|
14
11
|
* This module contains all the primitives of the Fieldset component.
|
package/src/components/for.tsx
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import {
|
|
4
|
+
createToaster,
|
|
5
|
+
Toaster,
|
|
6
|
+
type CreateToasterReturn,
|
|
7
|
+
} from '@ark-ui/react/toast'
|
|
8
|
+
import { Box } from 'styled-system/jsx'
|
|
5
9
|
import { Button, type ButtonProps } from '../button/button'
|
|
6
10
|
import { Show } from '../Show'
|
|
7
11
|
import { NotificationParts } from './parts'
|
|
@@ -14,7 +18,7 @@ import { ToastCloseTrigger } from './close-trigger'
|
|
|
14
18
|
* @module 'notification/center'
|
|
15
19
|
*/
|
|
16
20
|
|
|
17
|
-
export const toaster = createToaster({
|
|
21
|
+
export const toaster: CreateToasterReturn = createToaster({
|
|
18
22
|
gap: 16,
|
|
19
23
|
overlap: true,
|
|
20
24
|
placement: 'top-end',
|
|
@@ -38,7 +42,7 @@ export function NotificationCenter() {
|
|
|
38
42
|
<NotificationParts.Description>
|
|
39
43
|
{toast.description}
|
|
40
44
|
</NotificationParts.Description>
|
|
41
|
-
<Show when={
|
|
45
|
+
<Show when={toast.action}>
|
|
42
46
|
<NotificationParts.ActionTrigger asChild>
|
|
43
47
|
<Button
|
|
44
48
|
palette={toast.type as ButtonProps['palette']}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import { toast } from '
|
|
3
|
+
import { toast } from 'styled-system/recipes'
|
|
4
4
|
import { useCerberusContext } from '../../context/cerberus'
|
|
5
5
|
import { Spinner } from '../Spinner'
|
|
6
6
|
import type { NotifyOptions } from './types'
|
|
@@ -3,18 +3,21 @@ import {
|
|
|
3
3
|
Toaster,
|
|
4
4
|
type ToastActionTriggerProps,
|
|
5
5
|
type ToastCloseTriggerProps,
|
|
6
|
+
type ToasterProps,
|
|
6
7
|
type ToastRootProps,
|
|
7
8
|
type ToastTitleProps,
|
|
8
9
|
} from '@ark-ui/react/toast'
|
|
9
|
-
import { cx } from '
|
|
10
|
-
import { toast } from '
|
|
10
|
+
import { cx } from 'styled-system/css'
|
|
11
|
+
import { toast } from 'styled-system/recipes'
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
14
|
* This module contains the primitives of the Notification component.
|
|
14
15
|
* @module 'notification/primitives'
|
|
15
16
|
*/
|
|
16
17
|
|
|
17
|
-
export
|
|
18
|
+
export function NotificationProvider(props: ToasterProps) {
|
|
19
|
+
return <Toaster {...props} />
|
|
20
|
+
}
|
|
18
21
|
|
|
19
22
|
/**
|
|
20
23
|
* The context provider for the Notification component.
|