@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["/**\n * This module is the entry point for the Cerberus React package.\n * @module\n */\n\n// deprecated\n\nexport * from './components/deprecated/FieldMessage'\nexport * from './components/deprecated/FieldsetLabel'\nexport * from './components/deprecated/Label'\nexport * from './components/deprecated/
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["/**\n * This module is the entry point for the Cerberus React package.\n * @module\n */\n\n// deprecated\n\nexport * from './components/deprecated/FieldMessage'\nexport * from './components/deprecated/FieldsetLabel'\nexport * from './components/deprecated/Label'\nexport * from './components/deprecated/NavMenuTrigger'\nexport * from './components/deprecated/NavMenuList'\nexport * from './components/deprecated/NavMenuLink'\nexport * from './components/deprecated/Legend'\nexport * from './hooks/useDate'\nexport * from './hooks/useToggle'\n\n// components\n\nexport * from './components/admonition/index'\nexport * from './components/accordion/index'\nexport * from './components/avatar/index'\nexport * from './components/button/index'\nexport * from './components/checkbox/index'\nexport * from './components/CircularProgress'\nexport * from './components/combobox/index'\nexport * from './components/cta-dialog/index'\nexport * from './components/date-picker/index'\nexport * from './components/dialog/index'\nexport * from './components/Droppable'\nexport * from './components/FeatureFlag'\nexport * from './components/field/index'\nexport * from './components/fieldset/index'\nexport * from './components/FileStatus'\nexport * from './components/FileUploader'\nexport * from './components/for'\nexport * from './components/IconButton'\nexport * from './components/Menu'\nexport * from './components/notifications/index'\nexport * from './components/Portal'\nexport * from './components/ProgressBar'\nexport * from './components/radio/index'\nexport * from './components/rating/index'\nexport * from './components/select/index'\nexport * from './components/Show'\nexport * from './components/Spinner'\nexport * from './components/switch/index'\nexport * from './components/table/index'\nexport * from './components/tabs/index'\nexport * from './components/Tag'\nexport * from './components/Text'\nexport * from './components/toggle/index'\nexport * from './components/Tooltip'\n\n// context\n\nexport * from './context/cerberus'\nexport * from './context/confirm-modal'\nexport * from './context/feature-flags'\nexport * from './context/navMenu'\nexport * from './context/prompt-modal'\nexport * from './context/theme'\n\n// hooks\n\nexport * from './hooks/useTheme'\nexport * from './hooks/useRootColors'\n\n// aria-helpers\n\nexport * from './aria-helpers/nav-menu.aria'\nexport * from './aria-helpers/trap-focus.aria'\n\n// utils\n\nexport * from './config/index'\nexport * from './utils/index'\n\n// shared types\n\nexport * from './types'\n\n// 3rd party\n\nexport * from '@dnd-kit/core'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoFA,cAAc;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cerberus-design/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.1",
|
|
4
4
|
"description": "The Cerberus Design React component library.",
|
|
5
5
|
"browserslist": "> 0.25%, not dead",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -8,23 +8,24 @@
|
|
|
8
8
|
"main": "build/legacy/index.cjs",
|
|
9
9
|
"module": "build/modern/index.js",
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"@pandacss/dev": "
|
|
11
|
+
"@pandacss/dev": "^0.53.2",
|
|
12
12
|
"react": "*",
|
|
13
13
|
"react-dom": "*"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ark-ui/react": "^
|
|
16
|
+
"@ark-ui/react": "^5.1.0",
|
|
17
17
|
"@dnd-kit/core": "^6.1.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@microsoft/api-extractor": "^7.46.2",
|
|
21
|
-
"@
|
|
22
|
-
"@types/react
|
|
23
|
-
"react": "^
|
|
24
|
-
"react
|
|
21
|
+
"@pandacss/dev": "^0.53.2",
|
|
22
|
+
"@types/react": "^19.0.10",
|
|
23
|
+
"@types/react-dom": "^19.0.4",
|
|
24
|
+
"react": "^19.0.0",
|
|
25
|
+
"react-dom": "^19.0.0",
|
|
25
26
|
"tsup": "^8.4.0",
|
|
26
|
-
"@cerberus/
|
|
27
|
-
"@cerberus-design/
|
|
27
|
+
"@cerberus-design/configs": "0.0.0",
|
|
28
|
+
"@cerberus-design/panda-preset": "0.18.1"
|
|
28
29
|
},
|
|
29
30
|
"publishConfig": {
|
|
30
31
|
"access": "public"
|
|
@@ -52,15 +53,15 @@
|
|
|
52
53
|
"clean": "rm -rf ./build",
|
|
53
54
|
"lint:ts": "tsc --project tsconfig.lint.json --noEmit"
|
|
54
55
|
},
|
|
55
|
-
"types": "build/legacy/
|
|
56
|
+
"types": "build/legacy/index.d.cts",
|
|
56
57
|
"exports": {
|
|
57
58
|
".": {
|
|
58
59
|
"import": {
|
|
59
|
-
"types": "./build/modern/
|
|
60
|
+
"types": "./build/modern/index.d.ts",
|
|
60
61
|
"default": "./build/modern/index.js"
|
|
61
62
|
},
|
|
62
63
|
"require": {
|
|
63
|
-
"types": "./build/legacy/
|
|
64
|
+
"types": "./build/legacy/index.d.cts",
|
|
64
65
|
"default": "./build/legacy/index.cjs"
|
|
65
66
|
}
|
|
66
67
|
},
|
|
@@ -69,7 +70,7 @@
|
|
|
69
70
|
"typesVersions": {
|
|
70
71
|
"*": {
|
|
71
72
|
".": [
|
|
72
|
-
"build/legacy/
|
|
73
|
+
"build/legacy/index.d.cts"
|
|
73
74
|
]
|
|
74
75
|
}
|
|
75
76
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type { KeyboardEvent, KeyboardEventHandler, RefObject } from 'react'
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated will be removed in a future release
|
|
5
|
+
*/
|
|
3
6
|
export function trapFocus(
|
|
4
|
-
modalRef: RefObject<HTMLDialogElement>,
|
|
7
|
+
modalRef: RefObject<HTMLDialogElement | null>,
|
|
5
8
|
): KeyboardEventHandler<HTMLDialogElement> {
|
|
6
9
|
const focusableElements =
|
|
7
10
|
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { cq } from '@cerberus/styled-system/patterns'
|
|
4
|
-
import { css } from '@cerberus/styled-system/css'
|
|
1
|
+
import { circularProgress } from 'styled-system/recipes'
|
|
5
2
|
import type { SVGProps } from 'react'
|
|
6
3
|
import { Show } from './Show'
|
|
7
4
|
|
|
@@ -35,6 +32,11 @@ export interface CircularProgressProps extends SVGProps<SVGSVGElement> {
|
|
|
35
32
|
* The background style of the CircularProgress
|
|
36
33
|
*/
|
|
37
34
|
bgStyle?: 'filled' | 'transparent'
|
|
35
|
+
/**
|
|
36
|
+
* The size of the CircularProgress
|
|
37
|
+
* @default '1.1em'
|
|
38
|
+
*/
|
|
39
|
+
size?: string
|
|
38
40
|
}
|
|
39
41
|
|
|
40
42
|
/**
|
|
@@ -50,12 +52,22 @@ export interface CircularProgressProps extends SVGProps<SVGSVGElement> {
|
|
|
50
52
|
* ```
|
|
51
53
|
*/
|
|
52
54
|
export function CircularProgress(props: CircularProgressProps) {
|
|
55
|
+
const { size = '1.1em' } = props
|
|
56
|
+
const sizeProps = props.size
|
|
57
|
+
? {
|
|
58
|
+
height: size,
|
|
59
|
+
width: size,
|
|
60
|
+
}
|
|
61
|
+
: {}
|
|
62
|
+
|
|
53
63
|
const strokeW: number = 14
|
|
54
64
|
const radius = `calc(50% * (1 - ${strokeW}/100))`
|
|
55
65
|
const status: string = props.syntax ?? 'Done'
|
|
56
66
|
const now: number = props.now >= 100 ? 100 : props.now
|
|
57
67
|
const bgStyle: string = props.bgStyle ?? 'filled'
|
|
58
68
|
|
|
69
|
+
const styles = circularProgress()
|
|
70
|
+
|
|
59
71
|
return (
|
|
60
72
|
<div
|
|
61
73
|
id={props.id}
|
|
@@ -63,26 +75,18 @@ export function CircularProgress(props: CircularProgressProps) {
|
|
|
63
75
|
aria-valuemin={0}
|
|
64
76
|
aria-valuemax={100}
|
|
65
77
|
aria-valuenow={now}
|
|
66
|
-
className={
|
|
67
|
-
alignSelf: 'stretch',
|
|
68
|
-
flex: 1,
|
|
69
|
-
m: '4px',
|
|
70
|
-
position: 'relative',
|
|
71
|
-
})}
|
|
78
|
+
className={styles.root}
|
|
72
79
|
role="progressbar"
|
|
73
80
|
>
|
|
74
81
|
<svg
|
|
75
82
|
data-complete={now === 100}
|
|
76
|
-
className={
|
|
77
|
-
display: 'block',
|
|
78
|
-
rounded: 'full',
|
|
79
|
-
transition: 'all 0.5s ease',
|
|
80
|
-
})}
|
|
83
|
+
className={styles.group}
|
|
81
84
|
fill="none"
|
|
82
85
|
strokeLinecap="round"
|
|
83
86
|
strokeWidth={strokeW}
|
|
84
87
|
viewBox="0 0 100 100"
|
|
85
88
|
xmlns="http://www.w3.org/2000/svg"
|
|
89
|
+
{...sizeProps}
|
|
86
90
|
>
|
|
87
91
|
<title>{props.title}</title>
|
|
88
92
|
<desc>{`${now}% ${status}`}</desc>
|
|
@@ -101,33 +105,25 @@ export function CircularProgress(props: CircularProgressProps) {
|
|
|
101
105
|
|
|
102
106
|
<Show when={bgStyle === 'filled'}>
|
|
103
107
|
<circle
|
|
104
|
-
className={
|
|
105
|
-
fill: 'page.surface.initial',
|
|
106
|
-
})}
|
|
108
|
+
className={styles.base}
|
|
107
109
|
cx="50%"
|
|
108
110
|
cy="50%"
|
|
109
111
|
r={`calc(50% * (1 - ${strokeW}/100))`}
|
|
110
112
|
pathLength="100"
|
|
111
113
|
/>
|
|
112
114
|
</Show>
|
|
115
|
+
|
|
113
116
|
<circle
|
|
114
|
-
className={
|
|
115
|
-
stroke: 'page.bg.100',
|
|
116
|
-
})}
|
|
117
|
+
className={styles.track}
|
|
117
118
|
cx="50%"
|
|
118
119
|
cy="50%"
|
|
119
120
|
r={radius}
|
|
120
121
|
pathLength="100"
|
|
121
122
|
/>
|
|
123
|
+
|
|
122
124
|
<circle
|
|
123
125
|
data-complete={now === 100}
|
|
124
|
-
className={
|
|
125
|
-
stroke: 'url(#gradient)',
|
|
126
|
-
transition: 'stroke-dashoffset, stroke 0.5s ease',
|
|
127
|
-
_isComplete: {
|
|
128
|
-
stroke: 'success.bg.initial',
|
|
129
|
-
},
|
|
130
|
-
})}
|
|
126
|
+
className={styles.path}
|
|
131
127
|
cx="50%"
|
|
132
128
|
cy="50%"
|
|
133
129
|
fill="none"
|
|
@@ -140,11 +136,7 @@ export function CircularProgress(props: CircularProgressProps) {
|
|
|
140
136
|
|
|
141
137
|
<g>
|
|
142
138
|
<text
|
|
143
|
-
className={
|
|
144
|
-
fill: 'page.text.initial',
|
|
145
|
-
fontFamily: 'mono',
|
|
146
|
-
textStyle: '1.25rem',
|
|
147
|
-
})}
|
|
139
|
+
className={styles.title}
|
|
148
140
|
x="50%"
|
|
149
141
|
y="47%"
|
|
150
142
|
dominantBaseline="middle"
|
|
@@ -153,11 +145,7 @@ export function CircularProgress(props: CircularProgressProps) {
|
|
|
153
145
|
{now}%
|
|
154
146
|
</text>
|
|
155
147
|
<text
|
|
156
|
-
className={
|
|
157
|
-
fill: 'page.text.100',
|
|
158
|
-
fontSize: '0.5rem',
|
|
159
|
-
fontWeight: 600,
|
|
160
|
-
})}
|
|
148
|
+
className={styles.description}
|
|
161
149
|
x="50%"
|
|
162
150
|
y="59%"
|
|
163
151
|
dominantBaseline="middle"
|
|
@@ -6,12 +6,9 @@ import {
|
|
|
6
6
|
type HTMLAttributes,
|
|
7
7
|
type MouseEvent,
|
|
8
8
|
} from 'react'
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from '@cerberus/styled-system/recipes'
|
|
13
|
-
import { css, cx } from '@cerberus/styled-system/css'
|
|
14
|
-
import { hstack, vstack } from '@cerberus/styled-system/patterns'
|
|
9
|
+
import { fileStatus, type FileStatusVariantProps } from 'styled-system/recipes'
|
|
10
|
+
import { css, cx } from 'styled-system/css'
|
|
11
|
+
import { hstack, vstack } from 'styled-system/patterns'
|
|
15
12
|
import { useCerberusContext } from '../context/cerberus'
|
|
16
13
|
import { ProgressBar, type ProgressBarProps } from './ProgressBar'
|
|
17
14
|
import { IconButton } from './IconButton'
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import { cx } from '
|
|
4
|
-
import { vstack } from '
|
|
3
|
+
import { cx } from 'styled-system/css'
|
|
4
|
+
import { vstack } from 'styled-system/patterns'
|
|
5
5
|
import { type InputHTMLAttributes } from 'react'
|
|
6
6
|
import { Show } from './Show'
|
|
7
|
-
import { fileUploader } from '
|
|
7
|
+
import { fileUploader } from 'styled-system/recipes'
|
|
8
8
|
import { useCerberusContext } from '../context/cerberus'
|
|
9
9
|
import { Avatar } from './avatar/avatar'
|
|
10
10
|
|
|
@@ -56,7 +56,7 @@ export function FileUploader(props: FileUploaderProps) {
|
|
|
56
56
|
)}
|
|
57
57
|
htmlFor={props.name}
|
|
58
58
|
>
|
|
59
|
-
<Show when={
|
|
59
|
+
<Show when={props.heading}>
|
|
60
60
|
<p className={styles.heading}>{props.heading}</p>
|
|
61
61
|
</Show>
|
|
62
62
|
Import {props.accept?.replace(',', ', ')} files
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { ark, type HTMLArkProps } from '@ark-ui/react/factory'
|
|
2
|
-
import { cx } from '
|
|
3
|
-
import {
|
|
4
|
-
iconButton,
|
|
5
|
-
type IconButtonVariantProps,
|
|
6
|
-
} from '@cerberus/styled-system/recipes'
|
|
2
|
+
import { cx } from 'styled-system/css'
|
|
3
|
+
import { iconButton, type IconButtonVariantProps } from 'styled-system/recipes'
|
|
7
4
|
|
|
8
5
|
/**
|
|
9
6
|
* This module contains the Icon Button component.
|
|
@@ -22,7 +19,7 @@ export type IconButtonProps = IconButtonRawProps & IconButtonVariantProps
|
|
|
22
19
|
* A component that allows the user to perform actions using an icon
|
|
23
20
|
* @see https://cerberus.digitalu.design/react/icon-button
|
|
24
21
|
*/
|
|
25
|
-
export function IconButton(props: IconButtonProps)
|
|
22
|
+
export function IconButton(props: IconButtonProps) {
|
|
26
23
|
const { ariaLabel, palette, usage, size, ...nativeProps } = props
|
|
27
24
|
return (
|
|
28
25
|
<ark.button
|
package/src/components/Menu.tsx
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {
|
|
2
|
+
Menu as ArkMenu,
|
|
3
|
+
type MenuItemGroupProps,
|
|
4
|
+
type MenuRootProps,
|
|
5
|
+
} from '@ark-ui/react'
|
|
6
|
+
import { menu } from 'styled-system/recipes'
|
|
7
|
+
import { cx } from 'styled-system/css'
|
|
4
8
|
|
|
5
9
|
/**
|
|
6
10
|
* This module contains the Menu component family.
|
|
@@ -18,7 +22,9 @@ const menuStyles = menu()
|
|
|
18
22
|
* <MenuTrigger>Trigger</MenuTrigger>
|
|
19
23
|
* </Menu>
|
|
20
24
|
*/
|
|
21
|
-
export
|
|
25
|
+
export function Menu(props: MenuRootProps) {
|
|
26
|
+
return <ArkMenu.Root {...props} />
|
|
27
|
+
}
|
|
22
28
|
|
|
23
29
|
/**
|
|
24
30
|
* The MenuTrigger component opens/closes the Menu.
|
|
@@ -99,7 +105,9 @@ export function MenuItem(props: ArkMenu.ItemProps) {
|
|
|
99
105
|
* </MenuContent>
|
|
100
106
|
* </Menu>
|
|
101
107
|
*/
|
|
102
|
-
export
|
|
108
|
+
export function MenuItemGroup(props: MenuItemGroupProps) {
|
|
109
|
+
return <ArkMenu.ItemGroup {...props} />
|
|
110
|
+
}
|
|
103
111
|
|
|
104
112
|
/**
|
|
105
113
|
* The MenuItemGroupLabel component is the label for a group of menu items.
|
|
@@ -155,90 +163,3 @@ export function MenuSeparator(props: ArkMenu.SeparatorProps) {
|
|
|
155
163
|
/>
|
|
156
164
|
)
|
|
157
165
|
}
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* The MenuCheckboxItem component is a menu item with a checkbox.
|
|
161
|
-
* @definition [Cerberus docs](https://cerberus.digitalu.design/react/menu)
|
|
162
|
-
* @example
|
|
163
|
-
* ```tsx
|
|
164
|
-
* <Menu>
|
|
165
|
-
* <MenuTrigger>
|
|
166
|
-
* <Button>Trigger</Button>
|
|
167
|
-
* </MenuTrigger>
|
|
168
|
-
* <MenuContent>
|
|
169
|
-
* <MenuCheckboxItem
|
|
170
|
-
* checked={checked}
|
|
171
|
-
* onCheckedChange={setChecked}
|
|
172
|
-
* value="checked"
|
|
173
|
-
* >
|
|
174
|
-
* <MenuItemIndicator>✅</MenuItemIndicator>
|
|
175
|
-
* <MenuItemText>Check me</MenuItemText>
|
|
176
|
-
* </MenuCheckboxItem>
|
|
177
|
-
* </MenuContent>
|
|
178
|
-
*/
|
|
179
|
-
// export function MenuCheckboxItem(props: ArkMenu.CheckboxItemProps) {
|
|
180
|
-
// return (
|
|
181
|
-
// <ArkMenu.CheckboxItem
|
|
182
|
-
// {...props}
|
|
183
|
-
// className={cx(props.className, menuStyles.item)}
|
|
184
|
-
// />
|
|
185
|
-
// )
|
|
186
|
-
// }
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* The MenuItemText component is the text for a grouped menu item.
|
|
190
|
-
* @definition [Cerberus docs](https://cerberus.digitalu.design/react/menu)
|
|
191
|
-
* @example
|
|
192
|
-
* ```tsx
|
|
193
|
-
* <Menu>
|
|
194
|
-
* <MenuTrigger>
|
|
195
|
-
* <Button>Trigger</Button>
|
|
196
|
-
* </MenuTrigger>
|
|
197
|
-
* <MenuContent>
|
|
198
|
-
* <MenuCheckboxItem
|
|
199
|
-
* checked={checked}
|
|
200
|
-
* onCheckedChange={setChecked}
|
|
201
|
-
* value="checked"
|
|
202
|
-
* >
|
|
203
|
-
* <MenuItemText>Item 1</MenuItemText>
|
|
204
|
-
* </MenuCheckboxItem>
|
|
205
|
-
* </MenuContent>
|
|
206
|
-
* </Menu>
|
|
207
|
-
*/
|
|
208
|
-
// export function MenuItemText(props: ArkMenu.ItemTextProps) {
|
|
209
|
-
// return (
|
|
210
|
-
// <ArkMenu.ItemText
|
|
211
|
-
// {...props}
|
|
212
|
-
// className={cx(props.className, menuStyles.itemText)}
|
|
213
|
-
// />
|
|
214
|
-
// )
|
|
215
|
-
// }
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* The MenuItemIndicator component is the indicator for a grouped menu item.
|
|
219
|
-
* @definition [Cerberus docs](https://cerberus.digitalu.design/react/menu)
|
|
220
|
-
* @example
|
|
221
|
-
* ```tsx
|
|
222
|
-
* <Menu>
|
|
223
|
-
* <MenuTrigger>
|
|
224
|
-
* <Button>Trigger</Button>
|
|
225
|
-
* </MenuTrigger>
|
|
226
|
-
* <MenuContent>
|
|
227
|
-
* <MenuCheckboxItem
|
|
228
|
-
* checked={checked}
|
|
229
|
-
* onCheckedChange={setChecked}
|
|
230
|
-
* value="checked"
|
|
231
|
-
* >
|
|
232
|
-
* <MenuItemIndicator>✅</MenuItemIndicator>
|
|
233
|
-
* <MenuItemText>Check me</MenuItemText>
|
|
234
|
-
* </MenuCheckboxItem>
|
|
235
|
-
* </MenuContent>
|
|
236
|
-
*/
|
|
237
|
-
// export function MenuItemIndicator(props: ArkMenu.ItemIndicatorProps) {
|
|
238
|
-
// return (
|
|
239
|
-
// <ArkMenu.ItemIndicator
|
|
240
|
-
// {...props}
|
|
241
|
-
// className={cx(props.className, menuStyles.itemIndicator)}
|
|
242
|
-
// />
|
|
243
|
-
// )
|
|
244
|
-
// }
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
type PortalProps as ArkPortalProps,
|
|
4
|
-
} from '@ark-ui/react'
|
|
1
|
+
import { Portal as ArkPortal, type PortalProps } from '@ark-ui/react'
|
|
2
|
+
import type { PropsWithChildren } from 'react'
|
|
5
3
|
|
|
6
4
|
/**
|
|
7
5
|
* This module is the Portal component.
|
|
8
6
|
* @module
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
export type PortalProps
|
|
9
|
+
export type { PortalProps }
|
|
12
10
|
|
|
13
11
|
/**
|
|
14
12
|
* The Portal component is used to render children into a DOM node that exists outside the DOM hierarchy of the parent component.
|
|
@@ -28,4 +26,6 @@ export type PortalProps = ArkPortalProps
|
|
|
28
26
|
* )
|
|
29
27
|
* }
|
|
30
28
|
*/
|
|
31
|
-
export
|
|
29
|
+
export function Portal(props: PropsWithChildren<PortalProps>) {
|
|
30
|
+
return <ArkPortal {...props} />
|
|
31
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ark, type HTMLArkProps } from '@ark-ui/react/factory'
|
|
2
|
-
import { cx } from '
|
|
2
|
+
import { cx } from 'styled-system/css'
|
|
3
3
|
import {
|
|
4
4
|
progressBar,
|
|
5
5
|
type ProgressBarVariantProps,
|
|
6
|
-
} from '
|
|
6
|
+
} from 'styled-system/recipes'
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* This module contains the ProgressBar component.
|
package/src/components/Show.tsx
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { useMemo, type PropsWithChildren, type ReactNode } from 'react'
|
|
1
|
+
import { type PropsWithChildren, type ReactNode } from 'react'
|
|
4
2
|
|
|
5
3
|
/**
|
|
6
4
|
* This module contains the Show component.
|
|
7
5
|
* @module
|
|
8
6
|
*/
|
|
9
7
|
|
|
10
|
-
export interface ShowProps {
|
|
8
|
+
export interface ShowProps<T> {
|
|
11
9
|
/**
|
|
12
10
|
* The condition to render memoized children or the fallback content.
|
|
13
11
|
*/
|
|
14
|
-
when: boolean | null | undefined
|
|
12
|
+
when: T | boolean | null | undefined
|
|
15
13
|
/**
|
|
16
14
|
* The children to render when the condition is false.
|
|
17
15
|
*/
|
|
@@ -28,12 +26,16 @@ export interface ShowProps {
|
|
|
28
26
|
* <Dashboard />
|
|
29
27
|
* </Show>
|
|
30
28
|
*/
|
|
31
|
-
export function Show(props: PropsWithChildren<ShowProps
|
|
29
|
+
export function Show<T>(props: PropsWithChildren<ShowProps<T>>) {
|
|
32
30
|
const { when, children, fallback } = props
|
|
33
|
-
const condition = useMemo(() => when ?? false, [when])
|
|
34
31
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
if (when) {
|
|
33
|
+
return <>{children}</>
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
if (fallback) {
|
|
37
|
+
return <>{fallback}</>
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
return null
|
|
39
41
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import type { SVGProps } from 'react'
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* This module contains the Spinner component.
|
|
5
3
|
* @module
|
|
6
4
|
*/
|
|
7
5
|
|
|
8
|
-
export
|
|
6
|
+
export interface SpinnerProps {
|
|
9
7
|
/**
|
|
10
8
|
* The size of the spinner
|
|
11
9
|
*/
|
|
@@ -30,12 +28,13 @@ export function Spinner(props: SpinnerProps) {
|
|
|
30
28
|
return (
|
|
31
29
|
<svg
|
|
32
30
|
aria-busy="true"
|
|
31
|
+
data-scope="spinner"
|
|
32
|
+
data-part="root"
|
|
33
33
|
role="status"
|
|
34
34
|
xmlns="http://www.w3.org/2000/svg"
|
|
35
35
|
height={props.size}
|
|
36
36
|
width={props.size}
|
|
37
37
|
viewBox="0 0 24 24"
|
|
38
|
-
{...props}
|
|
39
38
|
>
|
|
40
39
|
<g
|
|
41
40
|
fill="none"
|
package/src/components/Tag.tsx
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import { ark, type HTMLArkProps } from '@ark-ui/react/factory'
|
|
4
4
|
import type { MouseEventHandler, PropsWithChildren } from 'react'
|
|
5
|
-
import { css, cx } from '
|
|
6
|
-
import { tag, type TagVariantProps } from '
|
|
5
|
+
import { css, cx } from 'styled-system/css'
|
|
6
|
+
import { tag, type TagVariantProps } from 'styled-system/recipes'
|
|
7
7
|
import { useCerberusContext } from '../context/cerberus'
|
|
8
8
|
import { Show } from './Show'
|
|
9
9
|
import { IconButton } from './IconButton'
|
package/src/components/Text.tsx
CHANGED
|
@@ -11,8 +11,7 @@ import {
|
|
|
11
11
|
Span,
|
|
12
12
|
Strong,
|
|
13
13
|
type PProps,
|
|
14
|
-
} from '
|
|
15
|
-
import { type HTMLAttributes, type PropsWithChildren } from 'react'
|
|
14
|
+
} from 'styled-system/jsx'
|
|
16
15
|
|
|
17
16
|
/**
|
|
18
17
|
* This module exports a component for rendering text utilizing the styled-system JSX utility.
|
|
@@ -24,9 +23,7 @@ export type TextElements = 'p' | 'strong' | 'em' | 'small' | 'span'
|
|
|
24
23
|
|
|
25
24
|
// For some reason we have to use the HTMLParagraphElement type here
|
|
26
25
|
// or else TS will fail for non-style props like 'id' or 'className'
|
|
27
|
-
export interface TextProps
|
|
28
|
-
extends PProps,
|
|
29
|
-
HTMLAttributes<HTMLParagraphElement> {
|
|
26
|
+
export interface TextProps extends PProps {
|
|
30
27
|
/**
|
|
31
28
|
* The element to render as. Defaults to 'p'.
|
|
32
29
|
*/
|
|
@@ -45,7 +42,7 @@ export interface TextProps
|
|
|
45
42
|
* Hello, world!
|
|
46
43
|
* </Text>
|
|
47
44
|
*/
|
|
48
|
-
export function Text(props:
|
|
45
|
+
export function Text(props: TextProps) {
|
|
49
46
|
const { as = 'p', ...pandaJSXProps } = props
|
|
50
47
|
switch (as) {
|
|
51
48
|
case 'h1':
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
Tooltip as ArkTooltip,
|
|
3
3
|
type TooltipContentProps,
|
|
4
4
|
} from '@ark-ui/react/tooltip'
|
|
5
|
-
import { cx } from '
|
|
6
|
-
import { tooltip } from '
|
|
5
|
+
import { cx } from 'styled-system/css'
|
|
6
|
+
import { tooltip } from 'styled-system/recipes'
|
|
7
7
|
import type { ReactNode } from 'react'
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
1
|
+
import type {
|
|
2
|
+
AccordionItemProps,
|
|
3
|
+
AccordionRootProps,
|
|
4
|
+
} from '@ark-ui/react/accordion'
|
|
5
|
+
import { type AccordionVariantProps } from 'styled-system/recipes'
|
|
3
6
|
import { splitProps } from '../../utils/index'
|
|
4
7
|
import { Show } from '../Show'
|
|
5
8
|
import { AccordionParts } from './parts'
|
|
@@ -10,8 +13,9 @@ import { AccordionChevronItemIndicator } from './item-indicator'
|
|
|
10
13
|
* @module
|
|
11
14
|
*/
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
export function Accordion(props: AccordionRootProps & AccordionVariantProps) {
|
|
17
|
+
return <AccordionParts.Root {...props} />
|
|
18
|
+
}
|
|
15
19
|
|
|
16
20
|
export interface AccordionItemGroupProps
|
|
17
21
|
extends AccordionItemProps,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
3
|
import { type AccordionItemIndicatorProps } from '@ark-ui/react/accordion'
|
|
4
|
-
import { type AccordionVariantProps } from '
|
|
4
|
+
import { type AccordionVariantProps } from 'styled-system/recipes'
|
|
5
5
|
import { useCerberusContext } from '../../context/cerberus'
|
|
6
6
|
import { AccordionParts } from './parts'
|
|
7
7
|
|
|
@@ -6,11 +6,8 @@ import {
|
|
|
6
6
|
type AccordionItemTriggerProps,
|
|
7
7
|
type AccordionRootProps,
|
|
8
8
|
} from '@ark-ui/react/accordion'
|
|
9
|
-
import { cx } from '
|
|
10
|
-
import {
|
|
11
|
-
accordion,
|
|
12
|
-
type AccordionVariantProps,
|
|
13
|
-
} from '@cerberus/styled-system/recipes'
|
|
9
|
+
import { cx } from 'styled-system/css'
|
|
10
|
+
import { accordion, type AccordionVariantProps } from 'styled-system/recipes'
|
|
14
11
|
|
|
15
12
|
/**
|
|
16
13
|
* This module contains the primitives of the Accordion component.
|