@cerberus-design/react 0.17.2 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/build/legacy/_tsup-dts-rollup.d.cts +21882 -1964
- 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 +37 -57
- 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 +1455 -1525
- package/build/legacy/index.cjs.map +1 -1
- package/build/legacy/index.d.cts +20 -30
- package/build/modern/_tsup-dts-rollup.d.ts +21882 -1964
- 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-UCL7P2OG.js → chunk-25S67KZH.js} +9 -9
- package/build/modern/chunk-25S67KZH.js.map +1 -0
- 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-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-NMDAHO2K.js → chunk-CJVKAGCJ.js} +8 -8
- package/build/modern/chunk-CJVKAGCJ.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-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-6QHOKCV3.js → chunk-IE2HWT3I.js} +17 -38
- package/build/modern/chunk-IE2HWT3I.js.map +1 -0
- 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-RQCJKDXU.js → chunk-JQYW4IOC.js} +2 -2
- package/build/modern/{chunk-DYQBRCZC.js → chunk-KABRV6TB.js} +15 -17
- package/build/modern/chunk-KABRV6TB.js.map +1 -0
- 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-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-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-7HKULJ4G.js → chunk-RF4VKGOQ.js} +14 -11
- package/build/modern/chunk-RF4VKGOQ.js.map +1 -0
- 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-D7UIWAFO.js → chunk-SSR3CWJZ.js} +3 -5
- package/build/modern/chunk-SSR3CWJZ.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-63F5MURH.js → chunk-TS7PAQPV.js} +5 -5
- package/build/modern/chunk-TS7PAQPV.js.map +1 -0
- package/build/modern/{chunk-IPC7LQ4Q.js → chunk-TV346AYO.js} +8 -8
- package/build/modern/chunk-TV346AYO.js.map +1 -0
- package/build/modern/{chunk-245SMQ45.js → chunk-UCVB2VOI.js} +8 -8
- package/build/modern/chunk-UCVB2VOI.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 -3
- 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 +21 -21
- 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 +8 -8
- 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 +12 -12
- 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 +9 -9
- 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 +263 -283
- package/build/modern/index.js.map +1 -1
- package/package.json +14 -13
- package/src/aria-helpers/nav-menu.aria.ts +3 -0
- package/src/aria-helpers/trap-focus.aria.ts +4 -1
- package/src/components/CircularProgress.tsx +26 -38
- 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
|
@@ -26,8 +26,13 @@ module.exports = __toCommonJS(parts_exports);
|
|
|
26
26
|
|
|
27
27
|
// src/components/toggle/primitives.tsx
|
|
28
28
|
var import_toggle = require("@ark-ui/react/toggle");
|
|
29
|
-
var
|
|
30
|
-
|
|
29
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
30
|
+
function ToggleRoot(props) {
|
|
31
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_toggle.Toggle.Root, { ...props });
|
|
32
|
+
}
|
|
33
|
+
function ToggleIndicator(props) {
|
|
34
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_toggle.Toggle.Indicator, { ...props });
|
|
35
|
+
}
|
|
31
36
|
|
|
32
37
|
// src/components/toggle/parts.ts
|
|
33
38
|
var ToggleParts = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/toggle/parts.ts","../../../../src/components/toggle/primitives.tsx"],"sourcesContent":["import type { ElementType } from 'react'\nimport { ToggleRoot, ToggleIndicator } from './primitives'\n\n/**\n * This module contains the parts of the Toggle parts.\n * @module 'toggle/parts'\n */\n\ninterface TogglePartsValue {\n /**\n * The container of the toggle.\n */\n Root: ElementType\n /**\n * The indicator that appears when a toggle is pressed.\n */\n Indicator: ElementType\n}\n\n/**\n * An Object containing the parts of the Radio component. For users that\n * prefer Object component syntax.\n *\n * @remarks\n *\n * When using object component syntax, you import the RadioParts object and\n * the entire family of components vs. only what you use.\n */\nexport const ToggleParts: TogglePartsValue = {\n Root: ToggleRoot,\n Indicator: ToggleIndicator,\n}\n","import {
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/toggle/parts.ts","../../../../src/components/toggle/primitives.tsx"],"sourcesContent":["import type { ElementType } from 'react'\nimport { ToggleRoot, ToggleIndicator } from './primitives'\n\n/**\n * This module contains the parts of the Toggle parts.\n * @module 'toggle/parts'\n */\n\ninterface TogglePartsValue {\n /**\n * The container of the toggle.\n */\n Root: ElementType\n /**\n * The indicator that appears when a toggle is pressed.\n */\n Indicator: ElementType\n}\n\n/**\n * An Object containing the parts of the Radio component. For users that\n * prefer Object component syntax.\n *\n * @remarks\n *\n * When using object component syntax, you import the RadioParts object and\n * the entire family of components vs. only what you use.\n */\nexport const ToggleParts: TogglePartsValue = {\n Root: ToggleRoot,\n Indicator: ToggleIndicator,\n}\n","import {\n Toggle,\n type ToggleIndicatorProps,\n type ToggleRootProps,\n} from '@ark-ui/react/toggle'\n\n/**\n * This module provides the Toggle primitives.\n * @module 'react/toggle'\n */\n\n/**\n * The ToggleRoot is used to manage the state of the Toggle component.\n */\nexport function ToggleRoot(props: ToggleRootProps) {\n return <Toggle.Root {...props} />\n}\n\n/**\n * The ToggleIndicator is used to render the indicator of the Toggle component\n * based on the pressed state.\n */\nexport function ToggleIndicator(props: ToggleIndicatorProps) {\n return <Toggle.Indicator {...props} />\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,oBAIO;AAWE;AADF,SAAS,WAAW,OAAwB;AACjD,SAAO,4CAAC,qBAAO,MAAP,EAAa,GAAG,OAAO;AACjC;AAMO,SAAS,gBAAgB,OAA6B;AAC3D,SAAO,4CAAC,qBAAO,WAAP,EAAkB,GAAG,OAAO;AACtC;;;ADIO,IAAM,cAAgC;AAAA,EAC3C,MAAM;AAAA,EACN,WAAW;AACb;","names":[]}
|
|
@@ -25,8 +25,13 @@ __export(primitives_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(primitives_exports);
|
|
27
27
|
var import_toggle = require("@ark-ui/react/toggle");
|
|
28
|
-
var
|
|
29
|
-
|
|
28
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
29
|
+
function ToggleRoot(props) {
|
|
30
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_toggle.Toggle.Root, { ...props });
|
|
31
|
+
}
|
|
32
|
+
function ToggleIndicator(props) {
|
|
33
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_toggle.Toggle.Indicator, { ...props });
|
|
34
|
+
}
|
|
30
35
|
// Annotate the CommonJS export names for ESM import in node:
|
|
31
36
|
0 && (module.exports = {
|
|
32
37
|
ToggleIndicator,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/toggle/primitives.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/toggle/primitives.tsx"],"sourcesContent":["import {\n Toggle,\n type ToggleIndicatorProps,\n type ToggleRootProps,\n} from '@ark-ui/react/toggle'\n\n/**\n * This module provides the Toggle primitives.\n * @module 'react/toggle'\n */\n\n/**\n * The ToggleRoot is used to manage the state of the Toggle component.\n */\nexport function ToggleRoot(props: ToggleRootProps) {\n return <Toggle.Root {...props} />\n}\n\n/**\n * The ToggleIndicator is used to render the indicator of the Toggle component\n * based on the pressed state.\n */\nexport function ToggleIndicator(props: ToggleIndicatorProps) {\n return <Toggle.Indicator {...props} />\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAIO;AAWE;AADF,SAAS,WAAW,OAAwB;AACjD,SAAO,4CAAC,qBAAO,MAAP,EAAa,GAAG,OAAO;AACjC;AAMO,SAAS,gBAAgB,OAA6B;AAC3D,SAAO,4CAAC,qBAAO,WAAP,EAAkB,GAAG,OAAO;AACtC;","names":[]}
|
|
@@ -26,7 +26,7 @@ module.exports = __toCommonJS(defineIcons_exports);
|
|
|
26
26
|
|
|
27
27
|
// src/config/icons/checkbox.icons.tsx
|
|
28
28
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
29
|
-
function CheckmarkIcon(
|
|
29
|
+
function CheckmarkIcon() {
|
|
30
30
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
31
31
|
"svg",
|
|
32
32
|
{
|
|
@@ -35,7 +35,6 @@ function CheckmarkIcon(props) {
|
|
|
35
35
|
fill: "none",
|
|
36
36
|
role: "img",
|
|
37
37
|
viewBox: "0 0 24 24",
|
|
38
|
-
...props,
|
|
39
38
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
40
39
|
"path",
|
|
41
40
|
{
|
|
@@ -46,7 +45,7 @@ function CheckmarkIcon(props) {
|
|
|
46
45
|
}
|
|
47
46
|
);
|
|
48
47
|
}
|
|
49
|
-
function IndeterminateIcon(
|
|
48
|
+
function IndeterminateIcon() {
|
|
50
49
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
51
50
|
"svg",
|
|
52
51
|
{
|
|
@@ -55,7 +54,6 @@ function IndeterminateIcon(props) {
|
|
|
55
54
|
role: "img",
|
|
56
55
|
fill: "none",
|
|
57
56
|
viewBox: "0 0 24 24",
|
|
58
|
-
...props,
|
|
59
57
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M4 11h16v2.667H4z" })
|
|
60
58
|
}
|
|
61
59
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/config/defineIcons.ts","../../../src/config/icons/checkbox.icons.tsx","../../../src/components/AnimatingUploadIcon.tsx"],"sourcesContent":["import { CheckmarkIcon, IndeterminateIcon } from './icons/checkbox.icons'\nimport { AnimatingUploadIcon } from '../components/AnimatingUploadIcon'\nimport type { DefinedIcons, IconType } from './types'\n\nconst defaultIcons: Pick<\n DefinedIcons,\n 'checkbox' | 'fileUploader' | 'indeterminate'\n> = {\n checkbox: CheckmarkIcon,\n fileUploader: AnimatingUploadIcon,\n indeterminate: IndeterminateIcon,\n}\n\n/**\n * Defines the icons that will be used in Cerberus React components via the\n * CerberusProvider.\n * @param icons The icons that will be used in Cerberus React components.\n * @returns Icons object compatible with the CerberusProvider SystemConfig.\n * @example\n * ```tsx\n * const icons = defineIcons({\n * accordionIndicator: MyAccordionIndicatorIcon,\n * ...\n * })\n * ```\n */\nexport function defineIcons<T extends IconType>(\n icons: DefinedIcons,\n): Required<DefinedIcons<T>> {\n return {\n ...defaultIcons,\n ...icons,\n } as Required<DefinedIcons<T>>\n}\n","
|
|
1
|
+
{"version":3,"sources":["../../../src/config/defineIcons.ts","../../../src/config/icons/checkbox.icons.tsx","../../../src/components/AnimatingUploadIcon.tsx"],"sourcesContent":["import { CheckmarkIcon, IndeterminateIcon } from './icons/checkbox.icons'\nimport { AnimatingUploadIcon } from '../components/AnimatingUploadIcon'\nimport type { DefinedIcons, IconType } from './types'\n\nconst defaultIcons: Pick<\n DefinedIcons,\n 'checkbox' | 'fileUploader' | 'indeterminate'\n> = {\n checkbox: CheckmarkIcon,\n fileUploader: AnimatingUploadIcon,\n indeterminate: IndeterminateIcon,\n}\n\n/**\n * Defines the icons that will be used in Cerberus React components via the\n * CerberusProvider.\n * @param icons The icons that will be used in Cerberus React components.\n * @returns Icons object compatible with the CerberusProvider SystemConfig.\n * @example\n * ```tsx\n * const icons = defineIcons({\n * accordionIndicator: MyAccordionIndicatorIcon,\n * ...\n * })\n * ```\n */\nexport function defineIcons<T extends IconType>(\n icons: DefinedIcons,\n): Required<DefinedIcons<T>> {\n return {\n ...defaultIcons,\n ...icons,\n } as Required<DefinedIcons<T>>\n}\n","/**\n * This module contains substitute icons for the Checkbox component.\n * @module\n */\n\n/**\n * Checkmark icon for Checkbox component\n */\nexport function CheckmarkIcon() {\n return (\n <svg\n aria-hidden=\"true\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"none\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n >\n <path\n fill=\"currentColor\"\n d=\"M9.714 18 4 12.335l1.818-1.764 3.896 3.824L18.181 6 20 7.803 9.714 18Z\"\n />\n </svg>\n )\n}\n\n/**\n * Indeterminate icon for Checkbox component\n */\nexport function IndeterminateIcon() {\n return (\n <svg\n aria-hidden=\"true\"\n xmlns=\"http://www.w3.org/2000/svg\"\n role=\"img\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n >\n <path fill=\"currentColor\" d=\"M4 11h16v2.667H4z\" />\n </svg>\n )\n}\n","/**\n * This module contains an animating icon to use for the FileStatus component.\n * @module\n */\n\nexport interface AnimatingUploadIconProps {\n size?: 16 | 20 | 24 | 32\n}\n\nexport function AnimatingUploadIcon(props: AnimatingUploadIconProps) {\n return (\n <svg\n aria-hidden=\"true\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width={props.size ?? '1em'}\n height={props.size ?? '1em'}\n viewBox=\"0 0 24 24\"\n >\n <g\n fill=\"none\"\n stroke=\"currentColor\"\n strokeLinecap=\"square\"\n strokeLinejoin=\"round\"\n strokeWidth={1.5}\n >\n <path\n data-name=\"animating-trail\"\n strokeDasharray=\"2 4\"\n strokeDashoffset={6}\n d=\"M12 21c-4.97 0 -9 -4.03 -9 -9c0 -4.97 4.03 -9 9 -9\"\n >\n <animate\n attributeName=\"stroke-dashoffset\"\n dur=\"0.45s\"\n repeatCount=\"indefinite\"\n values=\"6;0\"\n ></animate>\n </path>\n\n <path\n data-name=\"half-circle\"\n strokeDasharray={32}\n strokeDashoffset={32}\n d=\"M12 3c4.97 0 9 4.03 9 9c0 4.97 -4.03 9 -9 9\"\n >\n <animate\n fill=\"freeze\"\n attributeName=\"stroke-dashoffset\"\n begin=\"0.075s\"\n dur=\"0.3s\"\n values=\"32;0\"\n ></animate>\n </path>\n\n <svg\n aria-hidden=\"true\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"1.1em\"\n height=\"1.1em\"\n x=\"27%\"\n y=\"27%\"\n viewBox=\"0 0 24 24\"\n >\n <polygon\n fill=\"currentColor\"\n stroke=\"currentColor\"\n strokeWidth={0.8}\n opacity=\"1\"\n points=\"3.7,6.7 7.5,2.9 7.5,15 8.5,15 8.5,2.9 12.3,6.7 13,6 8,1 3,6 \"\n >\n <animate\n fill=\"freeze\"\n attributeName=\"opacity\"\n values=\"1;0;1\"\n dur=\"2s\"\n repeatCount=\"indefinite\"\n ></animate>\n </polygon>\n </svg>\n </g>\n </svg>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACiBM;AATC,SAAS,gBAAgB;AAC9B,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAY;AAAA,MACZ,OAAM;AAAA,MACN,MAAK;AAAA,MACL,MAAK;AAAA,MACL,SAAQ;AAAA,MAER;AAAA,QAAC;AAAA;AAAA,UACC,MAAK;AAAA,UACL,GAAE;AAAA;AAAA,MACJ;AAAA;AAAA,EACF;AAEJ;AAKO,SAAS,oBAAoB;AAClC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAY;AAAA,MACZ,OAAM;AAAA,MACN,MAAK;AAAA,MACL,MAAK;AAAA,MACL,SAAQ;AAAA,MAER,sDAAC,UAAK,MAAK,gBAAe,GAAE,qBAAoB;AAAA;AAAA,EAClD;AAEJ;;;ACtBM,IAAAA,sBAAA;AATC,SAAS,oBAAoB,OAAiC;AACnE,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAY;AAAA,MACZ,OAAM;AAAA,MACN,OAAO,MAAM,QAAQ;AAAA,MACrB,QAAQ,MAAM,QAAQ;AAAA,MACtB,SAAQ;AAAA,MAER;AAAA,QAAC;AAAA;AAAA,UACC,MAAK;AAAA,UACL,QAAO;AAAA,UACP,eAAc;AAAA,UACd,gBAAe;AAAA,UACf,aAAa;AAAA,UAEb;AAAA;AAAA,cAAC;AAAA;AAAA,gBACC,aAAU;AAAA,gBACV,iBAAgB;AAAA,gBAChB,kBAAkB;AAAA,gBAClB,GAAE;AAAA,gBAEF;AAAA,kBAAC;AAAA;AAAA,oBACC,eAAc;AAAA,oBACd,KAAI;AAAA,oBACJ,aAAY;AAAA,oBACZ,QAAO;AAAA;AAAA,gBACR;AAAA;AAAA,YACH;AAAA,YAEA;AAAA,cAAC;AAAA;AAAA,gBACC,aAAU;AAAA,gBACV,iBAAiB;AAAA,gBACjB,kBAAkB;AAAA,gBAClB,GAAE;AAAA,gBAEF;AAAA,kBAAC;AAAA;AAAA,oBACC,MAAK;AAAA,oBACL,eAAc;AAAA,oBACd,OAAM;AAAA,oBACN,KAAI;AAAA,oBACJ,QAAO;AAAA;AAAA,gBACR;AAAA;AAAA,YACH;AAAA,YAEA;AAAA,cAAC;AAAA;AAAA,gBACC,eAAY;AAAA,gBACZ,OAAM;AAAA,gBACN,OAAM;AAAA,gBACN,QAAO;AAAA,gBACP,GAAE;AAAA,gBACF,GAAE;AAAA,gBACF,SAAQ;AAAA,gBAER;AAAA,kBAAC;AAAA;AAAA,oBACC,MAAK;AAAA,oBACL,QAAO;AAAA,oBACP,aAAa;AAAA,oBACb,SAAQ;AAAA,oBACR,QAAO;AAAA,oBAEP;AAAA,sBAAC;AAAA;AAAA,wBACC,MAAK;AAAA,wBACL,eAAc;AAAA,wBACd,QAAO;AAAA,wBACP,KAAI;AAAA,wBACJ,aAAY;AAAA;AAAA,oBACb;AAAA;AAAA,gBACH;AAAA;AAAA,YACF;AAAA;AAAA;AAAA,MACF;AAAA;AAAA,EACF;AAEJ;;;AF9EA,IAAM,eAGF;AAAA,EACF,UAAU;AAAA,EACV,cAAc;AAAA,EACd,eAAe;AACjB;AAeO,SAAS,YACd,OAC2B;AAC3B,SAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AACF;","names":["import_jsx_runtime"]}
|
|
@@ -25,7 +25,7 @@ __export(checkbox_icons_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(checkbox_icons_exports);
|
|
27
27
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
28
|
-
function CheckmarkIcon(
|
|
28
|
+
function CheckmarkIcon() {
|
|
29
29
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
30
30
|
"svg",
|
|
31
31
|
{
|
|
@@ -34,7 +34,6 @@ function CheckmarkIcon(props) {
|
|
|
34
34
|
fill: "none",
|
|
35
35
|
role: "img",
|
|
36
36
|
viewBox: "0 0 24 24",
|
|
37
|
-
...props,
|
|
38
37
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
39
38
|
"path",
|
|
40
39
|
{
|
|
@@ -45,7 +44,7 @@ function CheckmarkIcon(props) {
|
|
|
45
44
|
}
|
|
46
45
|
);
|
|
47
46
|
}
|
|
48
|
-
function IndeterminateIcon(
|
|
47
|
+
function IndeterminateIcon() {
|
|
49
48
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
50
49
|
"svg",
|
|
51
50
|
{
|
|
@@ -54,7 +53,6 @@ function IndeterminateIcon(props) {
|
|
|
54
53
|
role: "img",
|
|
55
54
|
fill: "none",
|
|
56
55
|
viewBox: "0 0 24 24",
|
|
57
|
-
...props,
|
|
58
56
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M4 11h16v2.667H4z" })
|
|
59
57
|
}
|
|
60
58
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/config/icons/checkbox.icons.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../../../../src/config/icons/checkbox.icons.tsx"],"sourcesContent":["/**\n * This module contains substitute icons for the Checkbox component.\n * @module\n */\n\n/**\n * Checkmark icon for Checkbox component\n */\nexport function CheckmarkIcon() {\n return (\n <svg\n aria-hidden=\"true\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"none\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n >\n <path\n fill=\"currentColor\"\n d=\"M9.714 18 4 12.335l1.818-1.764 3.896 3.824L18.181 6 20 7.803 9.714 18Z\"\n />\n </svg>\n )\n}\n\n/**\n * Indeterminate icon for Checkbox component\n */\nexport function IndeterminateIcon() {\n return (\n <svg\n aria-hidden=\"true\"\n xmlns=\"http://www.w3.org/2000/svg\"\n role=\"img\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n >\n <path fill=\"currentColor\" d=\"M4 11h16v2.667H4z\" />\n </svg>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAiBM;AATC,SAAS,gBAAgB;AAC9B,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAY;AAAA,MACZ,OAAM;AAAA,MACN,MAAK;AAAA,MACL,MAAK;AAAA,MACL,SAAQ;AAAA,MAER;AAAA,QAAC;AAAA;AAAA,UACC,MAAK;AAAA,UACL,GAAE;AAAA;AAAA,MACJ;AAAA;AAAA,EACF;AAEJ;AAKO,SAAS,oBAAoB;AAClC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAY;AAAA,MACZ,OAAM;AAAA,MACN,MAAK;AAAA,MACL,MAAK;AAAA,MACL,SAAQ;AAAA,MAER,sDAAC,UAAK,MAAK,gBAAe,GAAE,qBAAoB;AAAA;AAAA,EAClD;AAEJ;","names":[]}
|
|
@@ -27,7 +27,7 @@ module.exports = __toCommonJS(config_exports);
|
|
|
27
27
|
|
|
28
28
|
// src/config/icons/checkbox.icons.tsx
|
|
29
29
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
30
|
-
function CheckmarkIcon(
|
|
30
|
+
function CheckmarkIcon() {
|
|
31
31
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
32
32
|
"svg",
|
|
33
33
|
{
|
|
@@ -36,7 +36,6 @@ function CheckmarkIcon(props) {
|
|
|
36
36
|
fill: "none",
|
|
37
37
|
role: "img",
|
|
38
38
|
viewBox: "0 0 24 24",
|
|
39
|
-
...props,
|
|
40
39
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
41
40
|
"path",
|
|
42
41
|
{
|
|
@@ -47,7 +46,7 @@ function CheckmarkIcon(props) {
|
|
|
47
46
|
}
|
|
48
47
|
);
|
|
49
48
|
}
|
|
50
|
-
function IndeterminateIcon(
|
|
49
|
+
function IndeterminateIcon() {
|
|
51
50
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
52
51
|
"svg",
|
|
53
52
|
{
|
|
@@ -56,7 +55,6 @@ function IndeterminateIcon(props) {
|
|
|
56
55
|
role: "img",
|
|
57
56
|
fill: "none",
|
|
58
57
|
viewBox: "0 0 24 24",
|
|
59
|
-
...props,
|
|
60
58
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "currentColor", d: "M4 11h16v2.667H4z" })
|
|
61
59
|
}
|
|
62
60
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/config/index.ts","../../../src/config/icons/checkbox.icons.tsx","../../../src/components/AnimatingUploadIcon.tsx","../../../src/config/defineIcons.ts"],"sourcesContent":["import type { SystemConfig } from './types'\n\n/**\n * Create a system configuration object to be used on the CerberusProvider.\n * @param options The system configuration options you want to customize.\n * @returns A CerberusProvider-compatible system configuration object.\n * @example\n * ```tsx\n * const icons = defineIcons({\n * accordionIndicator: MyAccordionIndicatorIcon,\n * ...\n * })\n * const config = makeSystemConfig({\n * icons,\n * })\n *\n * // In your app\n * <CerberusProvider config={config}>\n * <App />\n * </CerberusProvider>\n * ```\n */\nexport function makeSystemConfig(options: SystemConfig): SystemConfig {\n return options\n}\n\nexport * from './defineIcons'\nexport * from './types'\n","
|
|
1
|
+
{"version":3,"sources":["../../../src/config/index.ts","../../../src/config/icons/checkbox.icons.tsx","../../../src/components/AnimatingUploadIcon.tsx","../../../src/config/defineIcons.ts"],"sourcesContent":["import type { SystemConfig } from './types'\n\n/**\n * Create a system configuration object to be used on the CerberusProvider.\n * @param options The system configuration options you want to customize.\n * @returns A CerberusProvider-compatible system configuration object.\n * @example\n * ```tsx\n * const icons = defineIcons({\n * accordionIndicator: MyAccordionIndicatorIcon,\n * ...\n * })\n * const config = makeSystemConfig({\n * icons,\n * })\n *\n * // In your app\n * <CerberusProvider config={config}>\n * <App />\n * </CerberusProvider>\n * ```\n */\nexport function makeSystemConfig(options: SystemConfig): SystemConfig {\n return options\n}\n\nexport * from './defineIcons'\nexport * from './types'\n","/**\n * This module contains substitute icons for the Checkbox component.\n * @module\n */\n\n/**\n * Checkmark icon for Checkbox component\n */\nexport function CheckmarkIcon() {\n return (\n <svg\n aria-hidden=\"true\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"none\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n >\n <path\n fill=\"currentColor\"\n d=\"M9.714 18 4 12.335l1.818-1.764 3.896 3.824L18.181 6 20 7.803 9.714 18Z\"\n />\n </svg>\n )\n}\n\n/**\n * Indeterminate icon for Checkbox component\n */\nexport function IndeterminateIcon() {\n return (\n <svg\n aria-hidden=\"true\"\n xmlns=\"http://www.w3.org/2000/svg\"\n role=\"img\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n >\n <path fill=\"currentColor\" d=\"M4 11h16v2.667H4z\" />\n </svg>\n )\n}\n","/**\n * This module contains an animating icon to use for the FileStatus component.\n * @module\n */\n\nexport interface AnimatingUploadIconProps {\n size?: 16 | 20 | 24 | 32\n}\n\nexport function AnimatingUploadIcon(props: AnimatingUploadIconProps) {\n return (\n <svg\n aria-hidden=\"true\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width={props.size ?? '1em'}\n height={props.size ?? '1em'}\n viewBox=\"0 0 24 24\"\n >\n <g\n fill=\"none\"\n stroke=\"currentColor\"\n strokeLinecap=\"square\"\n strokeLinejoin=\"round\"\n strokeWidth={1.5}\n >\n <path\n data-name=\"animating-trail\"\n strokeDasharray=\"2 4\"\n strokeDashoffset={6}\n d=\"M12 21c-4.97 0 -9 -4.03 -9 -9c0 -4.97 4.03 -9 9 -9\"\n >\n <animate\n attributeName=\"stroke-dashoffset\"\n dur=\"0.45s\"\n repeatCount=\"indefinite\"\n values=\"6;0\"\n ></animate>\n </path>\n\n <path\n data-name=\"half-circle\"\n strokeDasharray={32}\n strokeDashoffset={32}\n d=\"M12 3c4.97 0 9 4.03 9 9c0 4.97 -4.03 9 -9 9\"\n >\n <animate\n fill=\"freeze\"\n attributeName=\"stroke-dashoffset\"\n begin=\"0.075s\"\n dur=\"0.3s\"\n values=\"32;0\"\n ></animate>\n </path>\n\n <svg\n aria-hidden=\"true\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"1.1em\"\n height=\"1.1em\"\n x=\"27%\"\n y=\"27%\"\n viewBox=\"0 0 24 24\"\n >\n <polygon\n fill=\"currentColor\"\n stroke=\"currentColor\"\n strokeWidth={0.8}\n opacity=\"1\"\n points=\"3.7,6.7 7.5,2.9 7.5,15 8.5,15 8.5,2.9 12.3,6.7 13,6 8,1 3,6 \"\n >\n <animate\n fill=\"freeze\"\n attributeName=\"opacity\"\n values=\"1;0;1\"\n dur=\"2s\"\n repeatCount=\"indefinite\"\n ></animate>\n </polygon>\n </svg>\n </g>\n </svg>\n )\n}\n","import { CheckmarkIcon, IndeterminateIcon } from './icons/checkbox.icons'\nimport { AnimatingUploadIcon } from '../components/AnimatingUploadIcon'\nimport type { DefinedIcons, IconType } from './types'\n\nconst defaultIcons: Pick<\n DefinedIcons,\n 'checkbox' | 'fileUploader' | 'indeterminate'\n> = {\n checkbox: CheckmarkIcon,\n fileUploader: AnimatingUploadIcon,\n indeterminate: IndeterminateIcon,\n}\n\n/**\n * Defines the icons that will be used in Cerberus React components via the\n * CerberusProvider.\n * @param icons The icons that will be used in Cerberus React components.\n * @returns Icons object compatible with the CerberusProvider SystemConfig.\n * @example\n * ```tsx\n * const icons = defineIcons({\n * accordionIndicator: MyAccordionIndicatorIcon,\n * ...\n * })\n * ```\n */\nexport function defineIcons<T extends IconType>(\n icons: DefinedIcons,\n): Required<DefinedIcons<T>> {\n return {\n ...defaultIcons,\n ...icons,\n } as Required<DefinedIcons<T>>\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACiBM;AATC,SAAS,gBAAgB;AAC9B,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAY;AAAA,MACZ,OAAM;AAAA,MACN,MAAK;AAAA,MACL,MAAK;AAAA,MACL,SAAQ;AAAA,MAER;AAAA,QAAC;AAAA;AAAA,UACC,MAAK;AAAA,UACL,GAAE;AAAA;AAAA,MACJ;AAAA;AAAA,EACF;AAEJ;AAKO,SAAS,oBAAoB;AAClC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAY;AAAA,MACZ,OAAM;AAAA,MACN,MAAK;AAAA,MACL,MAAK;AAAA,MACL,SAAQ;AAAA,MAER,sDAAC,UAAK,MAAK,gBAAe,GAAE,qBAAoB;AAAA;AAAA,EAClD;AAEJ;;;ACtBM,IAAAA,sBAAA;AATC,SAAS,oBAAoB,OAAiC;AACnE,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAY;AAAA,MACZ,OAAM;AAAA,MACN,OAAO,MAAM,QAAQ;AAAA,MACrB,QAAQ,MAAM,QAAQ;AAAA,MACtB,SAAQ;AAAA,MAER;AAAA,QAAC;AAAA;AAAA,UACC,MAAK;AAAA,UACL,QAAO;AAAA,UACP,eAAc;AAAA,UACd,gBAAe;AAAA,UACf,aAAa;AAAA,UAEb;AAAA;AAAA,cAAC;AAAA;AAAA,gBACC,aAAU;AAAA,gBACV,iBAAgB;AAAA,gBAChB,kBAAkB;AAAA,gBAClB,GAAE;AAAA,gBAEF;AAAA,kBAAC;AAAA;AAAA,oBACC,eAAc;AAAA,oBACd,KAAI;AAAA,oBACJ,aAAY;AAAA,oBACZ,QAAO;AAAA;AAAA,gBACR;AAAA;AAAA,YACH;AAAA,YAEA;AAAA,cAAC;AAAA;AAAA,gBACC,aAAU;AAAA,gBACV,iBAAiB;AAAA,gBACjB,kBAAkB;AAAA,gBAClB,GAAE;AAAA,gBAEF;AAAA,kBAAC;AAAA;AAAA,oBACC,MAAK;AAAA,oBACL,eAAc;AAAA,oBACd,OAAM;AAAA,oBACN,KAAI;AAAA,oBACJ,QAAO;AAAA;AAAA,gBACR;AAAA;AAAA,YACH;AAAA,YAEA;AAAA,cAAC;AAAA;AAAA,gBACC,eAAY;AAAA,gBACZ,OAAM;AAAA,gBACN,OAAM;AAAA,gBACN,QAAO;AAAA,gBACP,GAAE;AAAA,gBACF,GAAE;AAAA,gBACF,SAAQ;AAAA,gBAER;AAAA,kBAAC;AAAA;AAAA,oBACC,MAAK;AAAA,oBACL,QAAO;AAAA,oBACP,aAAa;AAAA,oBACb,SAAQ;AAAA,oBACR,QAAO;AAAA,oBAEP;AAAA,sBAAC;AAAA;AAAA,wBACC,MAAK;AAAA,wBACL,eAAc;AAAA,wBACd,QAAO;AAAA,wBACP,KAAI;AAAA,wBACJ,aAAY;AAAA;AAAA,oBACb;AAAA;AAAA,gBACH;AAAA;AAAA,YACF;AAAA;AAAA;AAAA,MACF;AAAA;AAAA,EACF;AAEJ;;;AC9EA,IAAM,eAGF;AAAA,EACF,UAAU;AAAA,EACV,cAAc;AAAA,EACd,eAAe;AACjB;AAeO,SAAS,YACd,OAC2B;AAC3B,SAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AACF;;;AHXO,SAAS,iBAAiB,SAAqC;AACpE,SAAO;AACT;","names":["import_jsx_runtime"]}
|
|
@@ -25,35 +25,39 @@ __export(confirm_modal_exports, {
|
|
|
25
25
|
useConfirmModal: () => useConfirmModal
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(confirm_modal_exports);
|
|
28
|
-
var
|
|
28
|
+
var import_react4 = require("react");
|
|
29
|
+
var import_css4 = require("styled-system/css");
|
|
30
|
+
var import_jsx2 = require("styled-system/jsx");
|
|
29
31
|
|
|
30
32
|
// src/components/button/button.tsx
|
|
31
33
|
var import_factory = require("@ark-ui/react/factory");
|
|
32
|
-
var
|
|
33
|
-
var import_css = require("
|
|
34
|
-
var import_recipes = require("
|
|
35
|
-
var import_jsx = require("
|
|
34
|
+
var import_react = require("react");
|
|
35
|
+
var import_css = require("styled-system/css");
|
|
36
|
+
var import_recipes = require("styled-system/recipes");
|
|
37
|
+
var import_jsx = require("styled-system/jsx");
|
|
36
38
|
|
|
37
39
|
// src/components/Show.tsx
|
|
38
|
-
var
|
|
40
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
39
41
|
function Show(props) {
|
|
40
42
|
const { when, children, fallback } = props;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
if (when) {
|
|
44
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children });
|
|
45
|
+
}
|
|
46
|
+
if (fallback) {
|
|
47
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: fallback });
|
|
48
|
+
}
|
|
49
|
+
return null;
|
|
46
50
|
}
|
|
47
51
|
|
|
48
52
|
// src/components/button/button.tsx
|
|
49
|
-
var
|
|
50
|
-
var ButtonContext = (0,
|
|
53
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
54
|
+
var ButtonContext = (0, import_react.createContext)({
|
|
51
55
|
pending: false
|
|
52
56
|
});
|
|
53
57
|
function Button(props) {
|
|
54
58
|
const { palette, usage, shape, size, pending = false, ...nativeProps } = props;
|
|
55
|
-
const value = (0,
|
|
56
|
-
return /* @__PURE__ */ (0,
|
|
59
|
+
const value = (0, import_react.useMemo)(() => ({ pending }), [pending]);
|
|
60
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ButtonContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
57
61
|
import_factory.ark.button,
|
|
58
62
|
{
|
|
59
63
|
...nativeProps,
|
|
@@ -71,9 +75,6 @@ function Button(props) {
|
|
|
71
75
|
) });
|
|
72
76
|
}
|
|
73
77
|
|
|
74
|
-
// src/context/confirm-modal.tsx
|
|
75
|
-
var import_css4 = require("@cerberus/styled-system/css");
|
|
76
|
-
|
|
77
78
|
// src/utils/index.ts
|
|
78
79
|
function splitProps(props, ...keyGroups) {
|
|
79
80
|
const result = keyGroups.map(() => ({}));
|
|
@@ -96,13 +97,13 @@ function splitProps(props, ...keyGroups) {
|
|
|
96
97
|
|
|
97
98
|
// src/components/avatar/primitives.tsx
|
|
98
99
|
var import_avatar = require("@ark-ui/react/avatar");
|
|
99
|
-
var import_recipes2 = require("
|
|
100
|
-
var import_css2 = require("
|
|
101
|
-
var
|
|
100
|
+
var import_recipes2 = require("styled-system/recipes");
|
|
101
|
+
var import_css2 = require("styled-system/css");
|
|
102
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
102
103
|
function AvatarRoot(props) {
|
|
103
104
|
const { gradient, shape, size, ...rootProps } = props;
|
|
104
105
|
const styles = (0, import_recipes2.avatar)({ gradient, shape, size });
|
|
105
|
-
return /* @__PURE__ */ (0,
|
|
106
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
106
107
|
import_avatar.Avatar.Root,
|
|
107
108
|
{
|
|
108
109
|
...rootProps,
|
|
@@ -112,11 +113,11 @@ function AvatarRoot(props) {
|
|
|
112
113
|
}
|
|
113
114
|
function AvatarImage(props) {
|
|
114
115
|
const styles = (0, import_recipes2.avatar)();
|
|
115
|
-
return /* @__PURE__ */ (0,
|
|
116
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_avatar.Avatar.Image, { ...props, className: (0, import_css2.cx)(styles.image, props.className) });
|
|
116
117
|
}
|
|
117
118
|
function AvatarFallback(props) {
|
|
118
119
|
const styles = (0, import_recipes2.avatar)();
|
|
119
|
-
return /* @__PURE__ */ (0,
|
|
120
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
120
121
|
import_avatar.Avatar.Fallback,
|
|
121
122
|
{
|
|
122
123
|
...props,
|
|
@@ -133,45 +134,30 @@ var AvatarParts = {
|
|
|
133
134
|
};
|
|
134
135
|
|
|
135
136
|
// src/components/avatar/avatar.tsx
|
|
136
|
-
var
|
|
137
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
137
138
|
function Avatar2(props) {
|
|
138
139
|
const [imgProps, { fallback, children }, rootProps] = splitProps(
|
|
139
140
|
props,
|
|
140
141
|
["alt", "src"],
|
|
141
142
|
["fallback", "children"]
|
|
142
143
|
);
|
|
143
|
-
return /* @__PURE__ */ (0,
|
|
144
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(AvatarParts.Root, { ...rootProps, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
144
145
|
Show,
|
|
145
146
|
{
|
|
146
|
-
when:
|
|
147
|
-
fallback: /* @__PURE__ */ (0,
|
|
148
|
-
/* @__PURE__ */ (0,
|
|
149
|
-
/* @__PURE__ */ (0,
|
|
147
|
+
when: children,
|
|
148
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
|
|
149
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(AvatarParts.Fallback, { children: fallback }),
|
|
150
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(AvatarParts.Image, { ...imgProps })
|
|
150
151
|
] }),
|
|
151
152
|
children
|
|
152
153
|
}
|
|
153
154
|
) });
|
|
154
155
|
}
|
|
155
156
|
|
|
156
|
-
// src/context/confirm-modal.tsx
|
|
157
|
-
var import_jsx2 = require("@cerberus/styled-system/jsx");
|
|
158
|
-
|
|
159
|
-
// src/context/cerberus.tsx
|
|
160
|
-
var import_react3 = require("react");
|
|
161
|
-
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
162
|
-
var CerberusContext = (0, import_react3.createContext)(null);
|
|
163
|
-
function useCerberusContext() {
|
|
164
|
-
const context = (0, import_react3.useContext)(CerberusContext);
|
|
165
|
-
if (!context) {
|
|
166
|
-
throw new Error("useCerberus must be used within a CerberusProvider");
|
|
167
|
-
}
|
|
168
|
-
return context;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
157
|
// src/components/dialog/primitives.tsx
|
|
172
158
|
var import_dialog = require("@ark-ui/react/dialog");
|
|
173
|
-
var import_css3 = require("
|
|
174
|
-
var import_recipes3 = require("
|
|
159
|
+
var import_css3 = require("styled-system/css");
|
|
160
|
+
var import_recipes3 = require("styled-system/recipes");
|
|
175
161
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
176
162
|
function DialogRoot(props) {
|
|
177
163
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_dialog.Dialog.Root, { ...props });
|
|
@@ -226,34 +212,49 @@ function DialogCloseTrigger(props) {
|
|
|
226
212
|
}
|
|
227
213
|
var DialogProvider = DialogRoot;
|
|
228
214
|
|
|
215
|
+
// src/context/cerberus.tsx
|
|
216
|
+
var import_react2 = require("react");
|
|
217
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
218
|
+
var CerberusContext = (0, import_react2.createContext)(null);
|
|
219
|
+
function useCerberusContext() {
|
|
220
|
+
const context = (0, import_react2.useContext)(CerberusContext);
|
|
221
|
+
if (!context) {
|
|
222
|
+
throw new Error("useCerberus must be used within a CerberusProvider");
|
|
223
|
+
}
|
|
224
|
+
return context;
|
|
225
|
+
}
|
|
226
|
+
|
|
229
227
|
// src/components/Portal.tsx
|
|
230
|
-
var
|
|
231
|
-
var
|
|
228
|
+
var import_react3 = require("@ark-ui/react");
|
|
229
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
230
|
+
function Portal(props) {
|
|
231
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react3.Portal, { ...props });
|
|
232
|
+
}
|
|
232
233
|
|
|
233
234
|
// src/components/dialog/dialog.tsx
|
|
234
|
-
var
|
|
235
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
235
236
|
function Dialog2(props) {
|
|
236
|
-
return /* @__PURE__ */ (0,
|
|
237
|
-
/* @__PURE__ */ (0,
|
|
238
|
-
/* @__PURE__ */ (0,
|
|
237
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(Portal, { children: [
|
|
238
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(DialogBackdrop, {}),
|
|
239
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(DialogPositioner, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(DialogContent, { ...props }) })
|
|
239
240
|
] });
|
|
240
241
|
}
|
|
241
242
|
|
|
242
243
|
// src/context/confirm-modal.tsx
|
|
243
|
-
var
|
|
244
|
-
var ConfirmModalContext = (0,
|
|
244
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
245
|
+
var ConfirmModalContext = (0, import_react4.createContext)(null);
|
|
245
246
|
function ConfirmModal(props) {
|
|
246
|
-
const [open, setOpen] = (0,
|
|
247
|
-
const [content, setContent] = (0,
|
|
248
|
-
const resolveRef = (0,
|
|
247
|
+
const [open, setOpen] = (0, import_react4.useState)(false);
|
|
248
|
+
const [content, setContent] = (0, import_react4.useState)(null);
|
|
249
|
+
const resolveRef = (0, import_react4.useRef)(null);
|
|
249
250
|
const kind = (content == null ? void 0 : content.kind) ?? "non-destructive";
|
|
250
251
|
const { icons } = useCerberusContext();
|
|
251
252
|
const { confirmModal: ConfirmIcon } = icons;
|
|
252
|
-
const palette = (0,
|
|
253
|
+
const palette = (0, import_react4.useMemo)(
|
|
253
254
|
() => kind === "destructive" ? "danger" : "action",
|
|
254
255
|
[kind]
|
|
255
256
|
);
|
|
256
|
-
const handleChoice = (0,
|
|
257
|
+
const handleChoice = (0, import_react4.useCallback)(
|
|
257
258
|
(e) => {
|
|
258
259
|
var _a, _b;
|
|
259
260
|
const target = e.currentTarget;
|
|
@@ -265,7 +266,7 @@ function ConfirmModal(props) {
|
|
|
265
266
|
},
|
|
266
267
|
[setOpen]
|
|
267
268
|
);
|
|
268
|
-
const handleShow = (0,
|
|
269
|
+
const handleShow = (0, import_react4.useCallback)(
|
|
269
270
|
(options) => {
|
|
270
271
|
return new Promise((resolve) => {
|
|
271
272
|
setContent({ ...options });
|
|
@@ -275,50 +276,50 @@ function ConfirmModal(props) {
|
|
|
275
276
|
},
|
|
276
277
|
[setOpen, setContent]
|
|
277
278
|
);
|
|
278
|
-
const value = (0,
|
|
279
|
+
const value = (0, import_react4.useMemo)(
|
|
279
280
|
() => ({
|
|
280
281
|
show: handleShow
|
|
281
282
|
}),
|
|
282
283
|
[handleShow]
|
|
283
284
|
);
|
|
284
|
-
return /* @__PURE__ */ (0,
|
|
285
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(ConfirmModalContext.Provider, { value, children: [
|
|
285
286
|
props.children,
|
|
286
|
-
/* @__PURE__ */ (0,
|
|
287
|
-
/* @__PURE__ */ (0,
|
|
288
|
-
/* @__PURE__ */ (0,
|
|
287
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Dialog2, { size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx2.VStack, { gap: "xl", w: "full", children: [
|
|
288
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx2.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: [
|
|
289
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
289
290
|
import_jsx2.HStack,
|
|
290
291
|
{
|
|
291
292
|
alignSelf: "center",
|
|
292
293
|
justify: "center",
|
|
293
294
|
paddingBlockEnd: "md",
|
|
294
295
|
w: "full",
|
|
295
|
-
children: /* @__PURE__ */ (0,
|
|
296
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
296
297
|
Show,
|
|
297
298
|
{
|
|
298
299
|
when: palette === "danger",
|
|
299
|
-
fallback: /* @__PURE__ */ (0,
|
|
300
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
300
301
|
Avatar2,
|
|
301
302
|
{
|
|
302
303
|
gradient: "charon-light",
|
|
303
|
-
fallback: /* @__PURE__ */ (0,
|
|
304
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ConfirmIcon, { size: 24 })
|
|
304
305
|
}
|
|
305
306
|
),
|
|
306
|
-
children: /* @__PURE__ */ (0,
|
|
307
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
307
308
|
Avatar2,
|
|
308
309
|
{
|
|
309
310
|
gradient: "hades-dark",
|
|
310
|
-
fallback: /* @__PURE__ */ (0,
|
|
311
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ConfirmIcon, { size: 24 })
|
|
311
312
|
}
|
|
312
313
|
)
|
|
313
314
|
}
|
|
314
315
|
)
|
|
315
316
|
}
|
|
316
317
|
),
|
|
317
|
-
/* @__PURE__ */ (0,
|
|
318
|
-
/* @__PURE__ */ (0,
|
|
318
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
|
|
319
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
|
|
319
320
|
] }),
|
|
320
|
-
/* @__PURE__ */ (0,
|
|
321
|
-
/* @__PURE__ */ (0,
|
|
321
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx2.HStack, { gap: "4", w: "full", children: [
|
|
322
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
322
323
|
Button,
|
|
323
324
|
{
|
|
324
325
|
autoFocus: true,
|
|
@@ -332,7 +333,7 @@ function ConfirmModal(props) {
|
|
|
332
333
|
children: content == null ? void 0 : content.actionText
|
|
333
334
|
}
|
|
334
335
|
),
|
|
335
|
-
/* @__PURE__ */ (0,
|
|
336
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
336
337
|
Button,
|
|
337
338
|
{
|
|
338
339
|
className: (0, import_css4.css)({
|
|
@@ -350,7 +351,7 @@ function ConfirmModal(props) {
|
|
|
350
351
|
] });
|
|
351
352
|
}
|
|
352
353
|
function useConfirmModal() {
|
|
353
|
-
const context = (0,
|
|
354
|
+
const context = (0, import_react4.useContext)(ConfirmModalContext);
|
|
354
355
|
if (context === null) {
|
|
355
356
|
throw new Error(
|
|
356
357
|
"useConfirmModal must be used within a ConfirmModal Provider"
|