@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,17 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Show
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VEAC4I3F.js";
|
|
4
4
|
|
|
5
5
|
// src/components/CircularProgress.tsx
|
|
6
|
-
import {
|
|
7
|
-
import { css } from "@cerberus/styled-system/css";
|
|
6
|
+
import { circularProgress } from "styled-system/recipes";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
8
|
function CircularProgress(props) {
|
|
9
|
+
const { size = "1.1em" } = props;
|
|
10
|
+
const sizeProps = props.size ? {
|
|
11
|
+
height: size,
|
|
12
|
+
width: size
|
|
13
|
+
} : {};
|
|
10
14
|
const strokeW = 14;
|
|
11
15
|
const radius = `calc(50% * (1 - ${strokeW}/100))`;
|
|
12
16
|
const status = props.syntax ?? "Done";
|
|
13
17
|
const now = props.now >= 100 ? 100 : props.now;
|
|
14
18
|
const bgStyle = props.bgStyle ?? "filled";
|
|
19
|
+
const styles = circularProgress();
|
|
15
20
|
return /* @__PURE__ */ jsx(
|
|
16
21
|
"div",
|
|
17
22
|
{
|
|
@@ -20,27 +25,19 @@ function CircularProgress(props) {
|
|
|
20
25
|
"aria-valuemin": 0,
|
|
21
26
|
"aria-valuemax": 100,
|
|
22
27
|
"aria-valuenow": now,
|
|
23
|
-
className:
|
|
24
|
-
alignSelf: "stretch",
|
|
25
|
-
flex: 1,
|
|
26
|
-
m: "4px",
|
|
27
|
-
position: "relative"
|
|
28
|
-
}),
|
|
28
|
+
className: styles.root,
|
|
29
29
|
role: "progressbar",
|
|
30
30
|
children: /* @__PURE__ */ jsxs(
|
|
31
31
|
"svg",
|
|
32
32
|
{
|
|
33
33
|
"data-complete": now === 100,
|
|
34
|
-
className:
|
|
35
|
-
display: "block",
|
|
36
|
-
rounded: "full",
|
|
37
|
-
transition: "all 0.5s ease"
|
|
38
|
-
}),
|
|
34
|
+
className: styles.group,
|
|
39
35
|
fill: "none",
|
|
40
36
|
strokeLinecap: "round",
|
|
41
37
|
strokeWidth: strokeW,
|
|
42
38
|
viewBox: "0 0 100 100",
|
|
43
39
|
xmlns: "http://www.w3.org/2000/svg",
|
|
40
|
+
...sizeProps,
|
|
44
41
|
children: [
|
|
45
42
|
/* @__PURE__ */ jsx("title", { children: props.title }),
|
|
46
43
|
/* @__PURE__ */ jsx("desc", { children: `${now}% ${status}` }),
|
|
@@ -63,9 +60,7 @@ function CircularProgress(props) {
|
|
|
63
60
|
/* @__PURE__ */ jsx(Show, { when: bgStyle === "filled", children: /* @__PURE__ */ jsx(
|
|
64
61
|
"circle",
|
|
65
62
|
{
|
|
66
|
-
className:
|
|
67
|
-
fill: "page.surface.initial"
|
|
68
|
-
}),
|
|
63
|
+
className: styles.base,
|
|
69
64
|
cx: "50%",
|
|
70
65
|
cy: "50%",
|
|
71
66
|
r: `calc(50% * (1 - ${strokeW}/100))`,
|
|
@@ -75,9 +70,7 @@ function CircularProgress(props) {
|
|
|
75
70
|
/* @__PURE__ */ jsx(
|
|
76
71
|
"circle",
|
|
77
72
|
{
|
|
78
|
-
className:
|
|
79
|
-
stroke: "page.bg.100"
|
|
80
|
-
}),
|
|
73
|
+
className: styles.track,
|
|
81
74
|
cx: "50%",
|
|
82
75
|
cy: "50%",
|
|
83
76
|
r: radius,
|
|
@@ -88,13 +81,7 @@ function CircularProgress(props) {
|
|
|
88
81
|
"circle",
|
|
89
82
|
{
|
|
90
83
|
"data-complete": now === 100,
|
|
91
|
-
className:
|
|
92
|
-
stroke: "url(#gradient)",
|
|
93
|
-
transition: "stroke-dashoffset, stroke 0.5s ease",
|
|
94
|
-
_isComplete: {
|
|
95
|
-
stroke: "success.bg.initial"
|
|
96
|
-
}
|
|
97
|
-
}),
|
|
84
|
+
className: styles.path,
|
|
98
85
|
cx: "50%",
|
|
99
86
|
cy: "50%",
|
|
100
87
|
fill: "none",
|
|
@@ -109,11 +96,7 @@ function CircularProgress(props) {
|
|
|
109
96
|
/* @__PURE__ */ jsxs(
|
|
110
97
|
"text",
|
|
111
98
|
{
|
|
112
|
-
className:
|
|
113
|
-
fill: "page.text.initial",
|
|
114
|
-
fontFamily: "mono",
|
|
115
|
-
textStyle: "1.25rem"
|
|
116
|
-
}),
|
|
99
|
+
className: styles.title,
|
|
117
100
|
x: "50%",
|
|
118
101
|
y: "47%",
|
|
119
102
|
dominantBaseline: "middle",
|
|
@@ -127,11 +110,7 @@ function CircularProgress(props) {
|
|
|
127
110
|
/* @__PURE__ */ jsx(
|
|
128
111
|
"text",
|
|
129
112
|
{
|
|
130
|
-
className:
|
|
131
|
-
fill: "page.text.100",
|
|
132
|
-
fontSize: "0.5rem",
|
|
133
|
-
fontWeight: 600
|
|
134
|
-
}),
|
|
113
|
+
className: styles.description,
|
|
135
114
|
x: "50%",
|
|
136
115
|
y: "59%",
|
|
137
116
|
dominantBaseline: "middle",
|
|
@@ -150,4 +129,4 @@ function CircularProgress(props) {
|
|
|
150
129
|
export {
|
|
151
130
|
CircularProgress
|
|
152
131
|
};
|
|
153
|
-
//# sourceMappingURL=chunk-
|
|
132
|
+
//# sourceMappingURL=chunk-IE2HWT3I.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/CircularProgress.tsx"],"sourcesContent":["import { circularProgress } from 'styled-system/recipes'\nimport type { SVGProps } from 'react'\nimport { Show } from './Show'\n\n/**\n * This module contains the CircularProgress component.\n * @module\n */\n\nexport interface CircularProgressProps extends SVGProps<SVGSVGElement> {\n /**\n * A unique identifier for the progress bar. Required for accessibility.\n */\n id: string\n /**\n * A description label for the progress bar. Required for accessibility.\n */\n label: string\n /**\n * The current value of the CircularProgress\n */\n now: number\n /**\n * The title of the CircularProgress for a11y\n */\n title: string\n /**\n * What is shown below the now value (default: 'Done')\n */\n syntax?: string\n /**\n * The background style of the CircularProgress\n */\n bgStyle?: 'filled' | 'transparent'\n /**\n * The size of the CircularProgress\n * @default '1.1em'\n */\n size?: string\n}\n\n/**\n * The CircularProgress component is used to display a loading indicator.\n * @param props - SVG element attributes\n * @param props.now - The current value of the CircularProgress\n * @param props.title - The title of the CircularProgress for a11y\n * @param props.label - What is shown below the now value (default: 'Done')\n * @see https://cerberus.digitalu.design/react/progress-indicators\n * @example\n * ```tsx\n * <CircularProgress now={24} title=\"Course completion\" label=\"done\" />\n * ```\n */\nexport function CircularProgress(props: CircularProgressProps) {\n const { size = '1.1em' } = props\n const sizeProps = props.size\n ? {\n height: size,\n width: size,\n }\n : {}\n\n const strokeW: number = 14\n const radius = `calc(50% * (1 - ${strokeW}/100))`\n const status: string = props.syntax ?? 'Done'\n const now: number = props.now >= 100 ? 100 : props.now\n const bgStyle: string = props.bgStyle ?? 'filled'\n\n const styles = circularProgress()\n\n return (\n <div\n id={props.id}\n aria-label={props.label}\n aria-valuemin={0}\n aria-valuemax={100}\n aria-valuenow={now}\n className={styles.root}\n role=\"progressbar\"\n >\n <svg\n data-complete={now === 100}\n className={styles.group}\n fill=\"none\"\n strokeLinecap=\"round\"\n strokeWidth={strokeW}\n viewBox=\"0 0 100 100\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...sizeProps}\n >\n <title>{props.title}</title>\n <desc>{`${now}% ${status}`}</desc>\n <defs>\n <linearGradient id=\"gradient\">\n <stop\n offset=\"0%\"\n stopColor=\"var(--cerberus-colors-data-viz-progress-start)\"\n />\n <stop\n offset=\"100%\"\n stopColor=\"var(--cerberus-colors-data-viz-progress-end)\"\n />\n </linearGradient>\n </defs>\n\n <Show when={bgStyle === 'filled'}>\n <circle\n className={styles.base}\n cx=\"50%\"\n cy=\"50%\"\n r={`calc(50% * (1 - ${strokeW}/100))`}\n pathLength=\"100\"\n />\n </Show>\n\n <circle\n className={styles.track}\n cx=\"50%\"\n cy=\"50%\"\n r={radius}\n pathLength=\"100\"\n />\n\n <circle\n data-complete={now === 100}\n className={styles.path}\n cx=\"50%\"\n cy=\"50%\"\n fill=\"none\"\n r={radius}\n pathLength=\"100\"\n strokeDasharray=\"100\"\n strokeDashoffset={100 - now}\n transform=\"rotate(-90 50 50)\"\n />\n\n <g>\n <text\n className={styles.title}\n x=\"50%\"\n y=\"47%\"\n dominantBaseline=\"middle\"\n textAnchor=\"middle\"\n >\n {now}%\n </text>\n <text\n className={styles.description}\n x=\"50%\"\n y=\"59%\"\n dominantBaseline=\"middle\"\n textAnchor=\"middle\"\n >\n {status}\n </text>\n </g>\n </svg>\n </div>\n )\n}\n"],"mappings":";;;;;AAAA,SAAS,wBAAwB;AA0FzB,cAGE,YAHF;AArCD,SAAS,iBAAiB,OAA8B;AAC7D,QAAM,EAAE,OAAO,QAAQ,IAAI;AAC3B,QAAM,YAAY,MAAM,OACpB;AAAA,IACE,QAAQ;AAAA,IACR,OAAO;AAAA,EACT,IACA,CAAC;AAEL,QAAM,UAAkB;AACxB,QAAM,SAAS,mBAAmB,OAAO;AACzC,QAAM,SAAiB,MAAM,UAAU;AACvC,QAAM,MAAc,MAAM,OAAO,MAAM,MAAM,MAAM;AACnD,QAAM,UAAkB,MAAM,WAAW;AAEzC,QAAM,SAAS,iBAAiB;AAEhC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAI,MAAM;AAAA,MACV,cAAY,MAAM;AAAA,MAClB,iBAAe;AAAA,MACf,iBAAe;AAAA,MACf,iBAAe;AAAA,MACf,WAAW,OAAO;AAAA,MAClB,MAAK;AAAA,MAEL;AAAA,QAAC;AAAA;AAAA,UACC,iBAAe,QAAQ;AAAA,UACvB,WAAW,OAAO;AAAA,UAClB,MAAK;AAAA,UACL,eAAc;AAAA,UACd,aAAa;AAAA,UACb,SAAQ;AAAA,UACR,OAAM;AAAA,UACL,GAAG;AAAA,UAEJ;AAAA,gCAAC,WAAO,gBAAM,OAAM;AAAA,YACpB,oBAAC,UAAM,aAAG,GAAG,KAAK,MAAM,IAAG;AAAA,YAC3B,oBAAC,UACC,+BAAC,oBAAe,IAAG,YACjB;AAAA;AAAA,gBAAC;AAAA;AAAA,kBACC,QAAO;AAAA,kBACP,WAAU;AAAA;AAAA,cACZ;AAAA,cACA;AAAA,gBAAC;AAAA;AAAA,kBACC,QAAO;AAAA,kBACP,WAAU;AAAA;AAAA,cACZ;AAAA,eACF,GACF;AAAA,YAEA,oBAAC,QAAK,MAAM,YAAY,UACtB;AAAA,cAAC;AAAA;AAAA,gBACC,WAAW,OAAO;AAAA,gBAClB,IAAG;AAAA,gBACH,IAAG;AAAA,gBACH,GAAG,mBAAmB,OAAO;AAAA,gBAC7B,YAAW;AAAA;AAAA,YACb,GACF;AAAA,YAEA;AAAA,cAAC;AAAA;AAAA,gBACC,WAAW,OAAO;AAAA,gBAClB,IAAG;AAAA,gBACH,IAAG;AAAA,gBACH,GAAG;AAAA,gBACH,YAAW;AAAA;AAAA,YACb;AAAA,YAEA;AAAA,cAAC;AAAA;AAAA,gBACC,iBAAe,QAAQ;AAAA,gBACvB,WAAW,OAAO;AAAA,gBAClB,IAAG;AAAA,gBACH,IAAG;AAAA,gBACH,MAAK;AAAA,gBACL,GAAG;AAAA,gBACH,YAAW;AAAA,gBACX,iBAAgB;AAAA,gBAChB,kBAAkB,MAAM;AAAA,gBACxB,WAAU;AAAA;AAAA,YACZ;AAAA,YAEA,qBAAC,OACC;AAAA;AAAA,gBAAC;AAAA;AAAA,kBACC,WAAW,OAAO;AAAA,kBAClB,GAAE;AAAA,kBACF,GAAE;AAAA,kBACF,kBAAiB;AAAA,kBACjB,YAAW;AAAA,kBAEV;AAAA;AAAA,oBAAI;AAAA;AAAA;AAAA,cACP;AAAA,cACA;AAAA,gBAAC;AAAA;AAAA,kBACC,WAAW,OAAO;AAAA,kBAClB,GAAE;AAAA,kBACF,GAAE;AAAA,kBACF,kBAAiB;AAAA,kBACjB,YAAW;AAAA,kBAEV;AAAA;AAAA,cACH;AAAA,eACF;AAAA;AAAA;AAAA,MACF;AAAA;AAAA,EACF;AAEJ;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/components/deprecated/FieldsetLabel.tsx
|
|
2
|
-
import { cx } from "
|
|
3
|
-
import { label } from "
|
|
2
|
+
import { cx } from "styled-system/css";
|
|
3
|
+
import { label } from "styled-system/recipes";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
function FieldsetLabel(props) {
|
|
6
6
|
const { size, usage, ...nativeProps } = props;
|
|
@@ -22,4 +22,4 @@ function FieldsetLabel(props) {
|
|
|
22
22
|
export {
|
|
23
23
|
FieldsetLabel
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-IIH4VDQA.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/deprecated/FieldsetLabel.tsx"],"sourcesContent":["import { cx } from 'styled-system/css'\nimport { label, type LabelVariantProps } from 'styled-system/recipes'\nimport type { LabelProps } from './Label'\n\n/**\n * This module contains the FieldsetLabel component.\n * @module FieldsetLabel\n */\n\nexport type FieldsetLabelProps = LabelProps &\n LabelVariantProps & {\n htmlFor?: string\n }\n\n/**\n * @deprecated\n */\nexport function FieldsetLabel(props: FieldsetLabelProps) {\n const { size, usage, ...nativeProps } = props\n return (\n <label\n {...nativeProps}\n className={cx(\n nativeProps.className,\n label({\n size,\n usage,\n }),\n )}\n />\n )\n}\n"],"mappings":";AAAA,SAAS,UAAU;AACnB,SAAS,aAAqC;AAmB1C;AAHG,SAAS,cAAc,OAA2B;AACvD,QAAM,EAAE,MAAM,OAAO,GAAG,YAAY,IAAI;AACxC,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAW;AAAA,QACT,YAAY;AAAA,QACZ,MAAM;AAAA,UACJ;AAAA,UACA;AAAA,QACF,CAAC;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
RatingGroup
|
|
4
4
|
} from "@ark-ui/react/rating-group";
|
|
5
|
-
import { cx } from "
|
|
5
|
+
import { cx } from "styled-system/css";
|
|
6
6
|
import {
|
|
7
7
|
ratingGroup
|
|
8
|
-
} from "
|
|
8
|
+
} from "styled-system/recipes";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
function RatingRoot(props) {
|
|
11
11
|
const { orientation, size, ...rootProps } = props;
|
|
@@ -68,4 +68,4 @@ export {
|
|
|
68
68
|
RatingItemContext,
|
|
69
69
|
RatingHiddenInput
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=chunk-
|
|
71
|
+
//# sourceMappingURL=chunk-IL677ECW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/rating/primitives.tsx"],"sourcesContent":["import {\n RatingGroup,\n type RatingGroupContextProps,\n type RatingGroupControlProps,\n type RatingGroupHiddenInputProps,\n type RatingGroupItemContextProps,\n type RatingGroupItemProps,\n type RatingGroupLabelProps,\n type RatingGroupRootProps,\n} from '@ark-ui/react/rating-group'\nimport { cx } from 'styled-system/css'\nimport {\n ratingGroup,\n type RatingGroupVariantProps,\n} from 'styled-system/recipes'\n\n/**\n * This module contains the primitives of the Rating component.\n * @module 'rating/primitives'\n */\n\n/**\n * The root primitive of the Rating component.\n */\nexport function RatingRoot(\n props: RatingGroupRootProps & RatingGroupVariantProps,\n) {\n const { orientation, size, ...rootProps } = props\n const styles = ratingGroup({ orientation, size })\n return (\n <RatingGroup.Root\n {...rootProps}\n className={cx(styles.root, rootProps.className)}\n />\n )\n}\n\n/**\n * The label primitive of the Rating component.\n */\nexport function RatingLabel(props: RatingGroupLabelProps) {\n const styles = ratingGroup()\n return (\n <RatingGroup.Label\n {...props}\n className={cx(styles.label, props.className)}\n />\n )\n}\n\n/**\n * The control primitive of the Rating component.\n */\nexport function RatingControl(props: RatingGroupControlProps) {\n const styles = ratingGroup()\n return (\n <RatingGroup.Control\n {...props}\n className={cx(styles.control, props.className)}\n />\n )\n}\n\n/**\n * The context primitive of the Rating component.\n */\nexport function RatingContext(props: RatingGroupContextProps) {\n return <RatingGroup.Context {...props} />\n}\n\n/**\n * The item primitive of the Rating component.\n */\nexport function RatingItem(\n props: RatingGroupItemProps & RatingGroupVariantProps,\n) {\n const { palette, ...itemProps } = props\n const styles = ratingGroup({ palette })\n return (\n <RatingGroup.Item\n {...itemProps}\n className={cx(styles.item, itemProps.className)}\n />\n )\n}\n\n/**\n * The item context primitive of the Rating component.\n */\nexport function RatingItemContext(props: RatingGroupItemContextProps) {\n return <RatingGroup.ItemContext {...props} />\n}\n\n/**\n * The hidden input primitive of the Rating component.\n */\nexport function RatingHiddenInput(props: RatingGroupHiddenInputProps) {\n return <RatingGroup.HiddenInput {...props} />\n}\n"],"mappings":";AAAA;AAAA,EACE;AAAA,OAQK;AACP,SAAS,UAAU;AACnB;AAAA,EACE;AAAA,OAEK;AAgBH;AANG,SAAS,WACd,OACA;AACA,QAAM,EAAE,aAAa,MAAM,GAAG,UAAU,IAAI;AAC5C,QAAM,SAAS,YAAY,EAAE,aAAa,KAAK,CAAC;AAChD,SACE;AAAA,IAAC,YAAY;AAAA,IAAZ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,MAAM,UAAU,SAAS;AAAA;AAAA,EAChD;AAEJ;AAKO,SAAS,YAAY,OAA8B;AACxD,QAAM,SAAS,YAAY;AAC3B,SACE;AAAA,IAAC,YAAY;AAAA,IAAZ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,OAAO,MAAM,SAAS;AAAA;AAAA,EAC7C;AAEJ;AAKO,SAAS,cAAc,OAAgC;AAC5D,QAAM,SAAS,YAAY;AAC3B,SACE;AAAA,IAAC,YAAY;AAAA,IAAZ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,SAAS,MAAM,SAAS;AAAA;AAAA,EAC/C;AAEJ;AAKO,SAAS,cAAc,OAAgC;AAC5D,SAAO,oBAAC,YAAY,SAAZ,EAAqB,GAAG,OAAO;AACzC;AAKO,SAAS,WACd,OACA;AACA,QAAM,EAAE,SAAS,GAAG,UAAU,IAAI;AAClC,QAAM,SAAS,YAAY,EAAE,QAAQ,CAAC;AACtC,SACE;AAAA,IAAC,YAAY;AAAA,IAAZ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,MAAM,UAAU,SAAS;AAAA;AAAA,EAChD;AAEJ;AAKO,SAAS,kBAAkB,OAAoC;AACpE,SAAO,oBAAC,YAAY,aAAZ,EAAyB,GAAG,OAAO;AAC7C;AAKO,SAAS,kBAAkB,OAAoC;AACpE,SAAO,oBAAC,YAAY,aAAZ,EAAyB,GAAG,OAAO;AAC7C;","names":[]}
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
FieldRequiredIndicator,
|
|
7
7
|
FieldRoot,
|
|
8
8
|
FieldTextarea
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
FieldStatusIndicator
|
|
12
|
-
} from "./chunk-CNA2VKAH.js";
|
|
9
|
+
} from "./chunk-WEL43I6Y.js";
|
|
13
10
|
import {
|
|
14
11
|
FieldStartIndicator
|
|
15
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EMDNETC7.js";
|
|
13
|
+
import {
|
|
14
|
+
FieldStatusIndicator
|
|
15
|
+
} from "./chunk-VIKVLJGG.js";
|
|
16
16
|
|
|
17
17
|
// src/components/field/parts.ts
|
|
18
18
|
var FieldParts = {
|
|
@@ -30,4 +30,4 @@ var FieldParts = {
|
|
|
30
30
|
export {
|
|
31
31
|
FieldParts
|
|
32
32
|
};
|
|
33
|
-
//# sourceMappingURL=chunk-
|
|
33
|
+
//# sourceMappingURL=chunk-ILROS7ST.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DatePickerParts
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
IconButton
|
|
6
|
-
} from "./chunk-SRNDDY5D.js";
|
|
3
|
+
} from "./chunk-J76SGDYP.js";
|
|
7
4
|
import {
|
|
8
5
|
Button
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GB7W3YNU.js";
|
|
10
7
|
import {
|
|
11
8
|
useCerberusContext
|
|
12
9
|
} from "./chunk-GITT5645.js";
|
|
10
|
+
import {
|
|
11
|
+
IconButton
|
|
12
|
+
} from "./chunk-UH6XSYYD.js";
|
|
13
13
|
|
|
14
14
|
// src/components/date-picker/view-control-group.tsx
|
|
15
|
-
import { css } from "
|
|
15
|
+
import { css } from "styled-system/css";
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
function DatePickerViewControlGroup(props) {
|
|
18
18
|
const { icons } = useCerberusContext();
|
|
@@ -39,4 +39,4 @@ function DatePickerViewControlGroup(props) {
|
|
|
39
39
|
export {
|
|
40
40
|
DatePickerViewControlGroup
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=chunk-
|
|
42
|
+
//# sourceMappingURL=chunk-INVZVMY4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/date-picker/view-control-group.tsx"],"sourcesContent":["'use client'\n\nimport type { DatePickerViewControlProps } from '@ark-ui/react/date-picker'\nimport { useCerberusContext } from '../../context/cerberus'\nimport { IconButton } from '../IconButton'\nimport { DatePickerParts } from './parts'\nimport { Button } from '../button/button'\nimport { css } from 'styled-system/css'\n\n/**\n * This private module contains an abstraction of the DatePickerViewControl\n * primitive.\n * @module 'date-picker/view-control-group'\n */\n\n/**\n * An abstraction of the DatePicker control that contains the prev, view, and\n * next triggers which control the calendar output.\n * @definition [datePicker docs](https://cerberus.digitalu.design/react/date-picker)\n */\nexport function DatePickerViewControlGroup(props: DatePickerViewControlProps) {\n const { icons } = useCerberusContext()\n const { calendarPrev: PrevIcon, calendarNext: NextIcon } = icons\n\n return (\n <DatePickerParts.ViewControl {...props}>\n <DatePickerParts.PrevTrigger asChild>\n <IconButton ariaLabel=\"Previous\" size=\"sm\">\n <PrevIcon />\n </IconButton>\n </DatePickerParts.PrevTrigger>\n\n <DatePickerParts.ViewTrigger asChild>\n <Button\n className={css({\n h: '2rem',\n paddingInline: 'md',\n })}\n shape=\"rounded\"\n size=\"sm\"\n usage=\"ghost\"\n >\n <DatePickerParts.RangeText />\n </Button>\n </DatePickerParts.ViewTrigger>\n\n <DatePickerParts.NextTrigger asChild>\n <IconButton ariaLabel=\"Next\" size=\"sm\">\n <NextIcon />\n </IconButton>\n </DatePickerParts.NextTrigger>\n </DatePickerParts.ViewControl>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;AAOA,SAAS,WAAW;AAkBhB,SAGM,KAHN;AALG,SAAS,2BAA2B,OAAmC;AAC5E,QAAM,EAAE,MAAM,IAAI,mBAAmB;AACrC,QAAM,EAAE,cAAc,UAAU,cAAc,SAAS,IAAI;AAE3D,SACE,qBAAC,gBAAgB,aAAhB,EAA6B,GAAG,OAC/B;AAAA,wBAAC,gBAAgB,aAAhB,EAA4B,SAAO,MAClC,8BAAC,cAAW,WAAU,YAAW,MAAK,MACpC,8BAAC,YAAS,GACZ,GACF;AAAA,IAEA,oBAAC,gBAAgB,aAAhB,EAA4B,SAAO,MAClC;AAAA,MAAC;AAAA;AAAA,QACC,WAAW,IAAI;AAAA,UACb,GAAG;AAAA,UACH,eAAe;AAAA,QACjB,CAAC;AAAA,QACD,OAAM;AAAA,QACN,MAAK;AAAA,QACL,OAAM;AAAA,QAEN,8BAAC,gBAAgB,WAAhB,EAA0B;AAAA;AAAA,IAC7B,GACF;AAAA,IAEA,oBAAC,gBAAgB,aAAhB,EAA4B,SAAO,MAClC,8BAAC,cAAW,WAAU,QAAO,MAAK,MAChC,8BAAC,YAAS,GACZ,GACF;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
AvatarFallback,
|
|
3
3
|
AvatarImage,
|
|
4
4
|
AvatarRoot
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UGFSACHC.js";
|
|
6
6
|
|
|
7
7
|
// src/components/avatar/parts.ts
|
|
8
8
|
var AvatarParts = {
|
|
@@ -14,4 +14,4 @@ var AvatarParts = {
|
|
|
14
14
|
export {
|
|
15
15
|
AvatarParts
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
17
|
+
//# sourceMappingURL=chunk-IUF74GEL.js.map
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
DatePickerViewControl,
|
|
24
24
|
DatePickerViewTrigger,
|
|
25
25
|
DatePickerYearSelect
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RW3YEBDW.js";
|
|
27
27
|
|
|
28
28
|
// src/components/date-picker/parts.ts
|
|
29
29
|
var DatePickerParts = {
|
|
@@ -56,4 +56,4 @@ var DatePickerParts = {
|
|
|
56
56
|
export {
|
|
57
57
|
DatePickerParts
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=chunk-
|
|
59
|
+
//# sourceMappingURL=chunk-J76SGDYP.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
AdmonitionHeading,
|
|
5
5
|
AdmonitionIndicator,
|
|
6
6
|
AdmonitionRoot
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OY33UHBG.js";
|
|
8
8
|
|
|
9
9
|
// src/components/admonition/parts.ts
|
|
10
10
|
var AdmonitionParts = {
|
|
@@ -18,4 +18,4 @@ var AdmonitionParts = {
|
|
|
18
18
|
export {
|
|
19
19
|
AdmonitionParts
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=chunk-
|
|
21
|
+
//# sourceMappingURL=chunk-JQYW4IOC.js.map
|
|
@@ -1,32 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ProgressBar
|
|
3
|
-
} from "./chunk-KJMCUYWV.js";
|
|
4
1
|
import {
|
|
5
2
|
Field
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
Avatar
|
|
9
|
-
} from "./chunk-N4RPMT6J.js";
|
|
10
|
-
import {
|
|
11
|
-
IconButton
|
|
12
|
-
} from "./chunk-SRNDDY5D.js";
|
|
3
|
+
} from "./chunk-LEBDLXJE.js";
|
|
13
4
|
import {
|
|
14
5
|
FieldHelperText
|
|
15
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WEL43I6Y.js";
|
|
7
|
+
import {
|
|
8
|
+
Avatar
|
|
9
|
+
} from "./chunk-CF4TCMJI.js";
|
|
16
10
|
import {
|
|
17
11
|
useCerberusContext
|
|
18
12
|
} from "./chunk-GITT5645.js";
|
|
13
|
+
import {
|
|
14
|
+
IconButton
|
|
15
|
+
} from "./chunk-UH6XSYYD.js";
|
|
16
|
+
import {
|
|
17
|
+
ProgressBar
|
|
18
|
+
} from "./chunk-Q737W5KJ.js";
|
|
19
19
|
|
|
20
20
|
// src/components/FileStatus.tsx
|
|
21
21
|
import {
|
|
22
22
|
useCallback,
|
|
23
23
|
useMemo
|
|
24
24
|
} from "react";
|
|
25
|
-
import {
|
|
26
|
-
|
|
27
|
-
} from "
|
|
28
|
-
import { css, cx } from "@cerberus/styled-system/css";
|
|
29
|
-
import { hstack, vstack } from "@cerberus/styled-system/patterns";
|
|
25
|
+
import { fileStatus } from "styled-system/recipes";
|
|
26
|
+
import { css, cx } from "styled-system/css";
|
|
27
|
+
import { hstack, vstack } from "styled-system/patterns";
|
|
30
28
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
31
29
|
var processStatus = /* @__PURE__ */ ((processStatus2) => {
|
|
32
30
|
processStatus2["TODO"] = "todo";
|
|
@@ -225,4 +223,4 @@ export {
|
|
|
225
223
|
processStatus,
|
|
226
224
|
FileStatus
|
|
227
225
|
};
|
|
228
|
-
//# sourceMappingURL=chunk-
|
|
226
|
+
//# sourceMappingURL=chunk-KABRV6TB.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/FileStatus.tsx"],"sourcesContent":["'use client'\n\nimport {\n useCallback,\n useMemo,\n type HTMLAttributes,\n type MouseEvent,\n} from 'react'\nimport { fileStatus, type FileStatusVariantProps } from 'styled-system/recipes'\nimport { css, cx } from 'styled-system/css'\nimport { hstack, vstack } from 'styled-system/patterns'\nimport { useCerberusContext } from '../context/cerberus'\nimport { ProgressBar, type ProgressBarProps } from './ProgressBar'\nimport { IconButton } from './IconButton'\nimport { Avatar } from './avatar/avatar'\nimport { Field, FieldHelperText } from './field/index'\n\n/**\n * This module contains the FileStatus component.\n * @module\n */\n\n/**\n * The available values of the fileStatus helper Object.\n * @example\n * ```tsx\n * import { fileStatus } from '@cerberus/react'\n * processStatus.TODO // 'todo'\n * ```\n */\nexport type FileStatusKey = (typeof processStatus)[keyof typeof processStatus]\n\n/**\n * The actions that can be performed on a file.\n */\nexport type FileStatusActions = 'cancel' | 'retry' | 'delete'\nexport interface FileBaseStatusProps\n extends Omit<HTMLAttributes<HTMLDivElement>, 'onClick'> {\n /**\n * A unique identifier for the file status. Required for accessibility.\n */\n id: string\n /**\n * The name of the file.\n */\n file: string\n /**\n * The percentage of the file that has been processed.\n */\n now: ProgressBarProps['now']\n /**\n * The status of the file.\n */\n status: processStatus\n /**\n * The action to perform on the file when a user clicks the\n * button located at the end of the status card.\n * @param status - The status of the file.\n * @param e - The event object.\n * @example\n * ```tsx\n * <FileStatus file=\"file.txt\" now={0} status={processStatus.TODO} action={(status, e) => console.log(status, e)} />\n * ```\n * @default () => {}\n */\n onClick: (status: FileStatusActions, e: MouseEvent<HTMLButtonElement>) => void\n}\nexport type FileStatusProps = FileBaseStatusProps & FileStatusVariantProps\n\n/**\n * A helper object to represent the status of a file.\n * @example\n * ```tsx\n * import { fileStatus } from '@cerberus/react'\n * processStatus.TODO // 'todo'\n * ```\n */\nexport const enum processStatus {\n TODO = 'todo',\n PROCESSING = 'processing',\n DONE = 'done',\n ERROR = 'error',\n}\n\n/**\n * A component that displays the status of a file during file processing.\n * @see https://cerberus.digitalu.design/react/file-uploader\n * @example\n * ```tsx\n * <FileStatus file=\"file.txt\" now={0} status={processStatus.TODO} action={(status, e) => console.log(status, e)} />\n * ```\n */\nexport function FileStatus(props: FileStatusProps) {\n const { file, now, status, onClick, ...nativeProps } = props\n const actionLabel = useMemo(() => getStatusActionLabel(status), [status])\n const palette = useMemo(() => getPalette(status), [status])\n const modalIconPalette = useMemo(() => getModalIconPalette(status), [status])\n const styles = useMemo(() => {\n switch (status) {\n case processStatus.TODO:\n return fileStatus({ status: 'todo' })\n case processStatus.PROCESSING:\n return fileStatus({ status: 'processing' })\n case processStatus.DONE:\n return fileStatus({ status: 'done' })\n case processStatus.ERROR:\n return fileStatus({ status: 'error' })\n default:\n return fileStatus()\n }\n }, [status])\n\n const handleClick = useCallback(\n (e: MouseEvent<HTMLButtonElement>) => {\n const actionStatus = getStatusActionLabel(\n status,\n ).toLocaleLowerCase() as FileStatusActions\n onClick(actionStatus, e)\n },\n [onClick],\n )\n\n return (\n <div\n {...nativeProps}\n className={cx(nativeProps.className, styles.root, hstack())}\n >\n <Avatar\n gradient={modalIconPalette}\n fallback={<MatchFileStatusIcon size={24} status={status} />}\n />\n\n <div\n className={vstack({\n alignItems: 'flex-start',\n gap: '0.12rem',\n w: 'full',\n })}\n >\n <small\n className={css({\n color: 'page.text.initial',\n textStyle: 'label-sm',\n })}\n >\n {file}\n </small>\n <ProgressBar\n id={props.id}\n label=\"File upload status\"\n now={now}\n size=\"sm\"\n />\n <Field label=\"\" invalid={modalIconPalette === 'hades-dark'}>\n <FieldHelperText\n className={css({\n color: 'page.text.100',\n })}\n id={`help:${file}`}\n >\n <MatchFileStatusText status={status} now={now} />\n </FieldHelperText>\n </Field>\n </div>\n\n <IconButton\n ariaLabel={actionLabel}\n onClick={handleClick}\n palette={palette}\n size=\"sm\"\n >\n <MatchStatusAction status={status} />\n </IconButton>\n </div>\n )\n}\n\ninterface FileStatusElProps {\n status: FileStatusProps['status']\n size?: 16 | 20 | 24 | 32\n now?: number\n}\n\nfunction MatchFileStatusIcon(props: FileStatusElProps) {\n const { icons } = useCerberusContext()\n const {\n waitingFileUploader: TodoIcon,\n fileUploader: FileUploaderIcon,\n invalidAlt: InvalidIcon,\n successNotification: DoneIcon,\n } = icons\n\n switch (props.status) {\n case processStatus.TODO:\n return <TodoIcon size={props.size} />\n case processStatus.PROCESSING:\n return <FileUploaderIcon size={props.size} />\n case processStatus.DONE:\n return <DoneIcon size={props.size} />\n case processStatus.ERROR:\n return <InvalidIcon size={props.size} />\n default:\n throw new Error('Unknown status')\n }\n}\n\nfunction MatchFileStatusText(props: FileStatusElProps) {\n switch (props.status) {\n case processStatus.TODO:\n return 'Waiting to upload'\n case processStatus.PROCESSING:\n return `${props.now}% Complete`\n case processStatus.DONE:\n return 'File uploaded successfully'\n case processStatus.ERROR:\n return 'There was an error uploading the file'\n default:\n throw new Error('Invalid status')\n }\n}\n\nfunction MatchStatusAction(props: FileStatusElProps) {\n const { icons } = useCerberusContext()\n const { close: CloseIcon, redo: RedoIcon, delete: TrashIcon } = icons\n switch (props.status) {\n case processStatus.TODO:\n case processStatus.PROCESSING:\n return <CloseIcon />\n case processStatus.ERROR:\n return <RedoIcon />\n case processStatus.DONE:\n return <TrashIcon />\n default:\n throw new Error('Invalid status')\n }\n}\n\nfunction getStatusActionLabel(status: FileStatusKey) {\n switch (status) {\n case processStatus.TODO:\n case processStatus.PROCESSING:\n return 'Cancel'\n case processStatus.ERROR:\n return 'Retry'\n case processStatus.DONE:\n return 'Delete'\n default:\n return ''\n }\n}\n\nfunction getPalette(status: FileStatusKey) {\n switch (status) {\n case processStatus.TODO:\n case processStatus.PROCESSING:\n return 'danger'\n case processStatus.ERROR:\n return 'action'\n case processStatus.DONE:\n return 'danger'\n default:\n return 'action'\n }\n}\n\nfunction getModalIconPalette(status: FileStatusKey) {\n switch (status) {\n case processStatus.TODO:\n case processStatus.PROCESSING:\n return 'charon-light'\n case processStatus.ERROR:\n return 'hades-dark'\n case processStatus.DONE:\n return 'thanatos-light'\n default:\n return 'charon-light'\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAEA;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AACP,SAAS,kBAA+C;AACxD,SAAS,KAAK,UAAU;AACxB,SAAS,QAAQ,cAAc;AAuHb,cAGZ,YAHY;AApDX,IAAW,gBAAX,kBAAWA,mBAAX;AACL,EAAAA,eAAA,UAAO;AACP,EAAAA,eAAA,gBAAa;AACb,EAAAA,eAAA,UAAO;AACP,EAAAA,eAAA,WAAQ;AAJQ,SAAAA;AAAA,GAAA;AAeX,SAAS,WAAW,OAAwB;AACjD,QAAM,EAAE,MAAM,KAAK,QAAQ,SAAS,GAAG,YAAY,IAAI;AACvD,QAAM,cAAc,QAAQ,MAAM,qBAAqB,MAAM,GAAG,CAAC,MAAM,CAAC;AACxE,QAAM,UAAU,QAAQ,MAAM,WAAW,MAAM,GAAG,CAAC,MAAM,CAAC;AAC1D,QAAM,mBAAmB,QAAQ,MAAM,oBAAoB,MAAM,GAAG,CAAC,MAAM,CAAC;AAC5E,QAAM,SAAS,QAAQ,MAAM;AAC3B,YAAQ,QAAQ;AAAA,MACd,KAAK;AACH,eAAO,WAAW,EAAE,QAAQ,OAAO,CAAC;AAAA,MACtC,KAAK;AACH,eAAO,WAAW,EAAE,QAAQ,aAAa,CAAC;AAAA,MAC5C,KAAK;AACH,eAAO,WAAW,EAAE,QAAQ,OAAO,CAAC;AAAA,MACtC,KAAK;AACH,eAAO,WAAW,EAAE,QAAQ,QAAQ,CAAC;AAAA,MACvC;AACE,eAAO,WAAW;AAAA,IACtB;AAAA,EACF,GAAG,CAAC,MAAM,CAAC;AAEX,QAAM,cAAc;AAAA,IAClB,CAAC,MAAqC;AACpC,YAAM,eAAe;AAAA,QACnB;AAAA,MACF,EAAE,kBAAkB;AACpB,cAAQ,cAAc,CAAC;AAAA,IACzB;AAAA,IACA,CAAC,OAAO;AAAA,EACV;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,YAAY,WAAW,OAAO,MAAM,OAAO,CAAC;AAAA,MAE1D;AAAA;AAAA,UAAC;AAAA;AAAA,YACC,UAAU;AAAA,YACV,UAAU,oBAAC,uBAAoB,MAAM,IAAI,QAAgB;AAAA;AAAA,QAC3D;AAAA,QAEA;AAAA,UAAC;AAAA;AAAA,YACC,WAAW,OAAO;AAAA,cAChB,YAAY;AAAA,cACZ,KAAK;AAAA,cACL,GAAG;AAAA,YACL,CAAC;AAAA,YAED;AAAA;AAAA,gBAAC;AAAA;AAAA,kBACC,WAAW,IAAI;AAAA,oBACb,OAAO;AAAA,oBACP,WAAW;AAAA,kBACb,CAAC;AAAA,kBAEA;AAAA;AAAA,cACH;AAAA,cACA;AAAA,gBAAC;AAAA;AAAA,kBACC,IAAI,MAAM;AAAA,kBACV,OAAM;AAAA,kBACN;AAAA,kBACA,MAAK;AAAA;AAAA,cACP;AAAA,cACA,oBAAC,SAAM,OAAM,IAAG,SAAS,qBAAqB,cAC5C;AAAA,gBAAC;AAAA;AAAA,kBACC,WAAW,IAAI;AAAA,oBACb,OAAO;AAAA,kBACT,CAAC;AAAA,kBACD,IAAI,QAAQ,IAAI;AAAA,kBAEhB,8BAAC,uBAAoB,QAAgB,KAAU;AAAA;AAAA,cACjD,GACF;AAAA;AAAA;AAAA,QACF;AAAA,QAEA;AAAA,UAAC;AAAA;AAAA,YACC,WAAW;AAAA,YACX,SAAS;AAAA,YACT;AAAA,YACA,MAAK;AAAA,YAEL,8BAAC,qBAAkB,QAAgB;AAAA;AAAA,QACrC;AAAA;AAAA;AAAA,EACF;AAEJ;AAQA,SAAS,oBAAoB,OAA0B;AACrD,QAAM,EAAE,MAAM,IAAI,mBAAmB;AACrC,QAAM;AAAA,IACJ,qBAAqB;AAAA,IACrB,cAAc;AAAA,IACd,YAAY;AAAA,IACZ,qBAAqB;AAAA,EACvB,IAAI;AAEJ,UAAQ,MAAM,QAAQ;AAAA,IACpB,KAAK;AACH,aAAO,oBAAC,YAAS,MAAM,MAAM,MAAM;AAAA,IACrC,KAAK;AACH,aAAO,oBAAC,oBAAiB,MAAM,MAAM,MAAM;AAAA,IAC7C,KAAK;AACH,aAAO,oBAAC,YAAS,MAAM,MAAM,MAAM;AAAA,IACrC,KAAK;AACH,aAAO,oBAAC,eAAY,MAAM,MAAM,MAAM;AAAA,IACxC;AACE,YAAM,IAAI,MAAM,gBAAgB;AAAA,EACpC;AACF;AAEA,SAAS,oBAAoB,OAA0B;AACrD,UAAQ,MAAM,QAAQ;AAAA,IACpB,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO,GAAG,MAAM,GAAG;AAAA,IACrB,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT;AACE,YAAM,IAAI,MAAM,gBAAgB;AAAA,EACpC;AACF;AAEA,SAAS,kBAAkB,OAA0B;AACnD,QAAM,EAAE,MAAM,IAAI,mBAAmB;AACrC,QAAM,EAAE,OAAO,WAAW,MAAM,UAAU,QAAQ,UAAU,IAAI;AAChE,UAAQ,MAAM,QAAQ;AAAA,IACpB,KAAK;AAAA,IACL,KAAK;AACH,aAAO,oBAAC,aAAU;AAAA,IACpB,KAAK;AACH,aAAO,oBAAC,YAAS;AAAA,IACnB,KAAK;AACH,aAAO,oBAAC,aAAU;AAAA,IACpB;AACE,YAAM,IAAI,MAAM,gBAAgB;AAAA,EACpC;AACF;AAEA,SAAS,qBAAqB,QAAuB;AACnD,UAAQ,QAAQ;AAAA,IACd,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;AAEA,SAAS,WAAW,QAAuB;AACzC,UAAQ,QAAQ;AAAA,IACd,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;AAEA,SAAS,oBAAoB,QAAuB;AAClD,UAAQ,QAAQ;AAAA,IACd,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;","names":["processStatus"]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DatePickerViewControlGroup
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-INVZVMY4.js";
|
|
4
4
|
import {
|
|
5
5
|
DatePickerParts
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-J76SGDYP.js";
|
|
7
7
|
|
|
8
8
|
// src/components/date-picker/day-view.tsx
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -42,4 +42,4 @@ function DatePickerDayView(props) {
|
|
|
42
42
|
export {
|
|
43
43
|
DatePickerDayView
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=chunk-
|
|
45
|
+
//# sourceMappingURL=chunk-KEGLWDD6.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/context/theme.tsx"],"sourcesContent":["'use client'\n\nimport { createContext, useContext, type PropsWithChildren } from 'react'\nimport { useTheme, type UseThemeOptions } from '../hooks/useTheme'\n\n/**\n * This module provides a context and hook for the theme.\n * @module Theme\n */\n\nexport type DefaultThemes = 'cerberus' | 'acheron'\nexport type CustomThemes<K extends string = DefaultThemes> = 'cerberus' | K\nexport type ColorModes = 'light' | 'dark' | 'system'\n\nexport interface ThemeContextValue<T extends string = DefaultThemes> {\n /**\n * The current theme.\n */\n theme: CustomThemes<T>\n /**\n * The current color mode.\n */\n mode: ColorModes\n /**\n * Called when the theme is updated.\n */\n updateTheme: (theme: T) => void\n /**\n * Called when the color mode is updated.\n */\n updateMode: (mode: ColorModes) => void\n}\n\nconst ThemeContext = createContext<ThemeContextValue<DefaultThemes> | null>(\n null,\n)\n\nexport interface ThemeProviderProps extends UseThemeOptions {\n /**\n * The default theme.\n */\n defaultTheme?: DefaultThemes\n /**\n * The default color mode.\n */\n defaultColorMode?: ColorModes\n}\n\n/**\n * A context provider that allows the user to set the theme and mode of the\n * application.\n * @see https://cerberus.digitalu.design/react/use-theme-context\n * @example\n * ```tsx\n * <ThemeProvider>\n * <App />\n * </ThemeProvider>\n * ```\n */\nexport function ThemeProvider(
|
|
1
|
+
{"version":3,"sources":["../../src/context/theme.tsx"],"sourcesContent":["'use client'\n\nimport { createContext, useContext, type PropsWithChildren } from 'react'\nimport { useTheme, type UseThemeOptions } from '../hooks/useTheme'\n\n/**\n * This module provides a context and hook for the theme.\n * @module Theme\n */\n\nexport type DefaultThemes = 'cerberus' | 'acheron'\nexport type CustomThemes<K extends string = DefaultThemes> = 'cerberus' | K\nexport type ColorModes = 'light' | 'dark' | 'system'\n\nexport interface ThemeContextValue<T extends string = DefaultThemes> {\n /**\n * The current theme.\n */\n theme: CustomThemes<T>\n /**\n * The current color mode.\n */\n mode: ColorModes\n /**\n * Called when the theme is updated.\n */\n updateTheme: (theme: T) => void\n /**\n * Called when the color mode is updated.\n */\n updateMode: (mode: ColorModes) => void\n}\n\nconst ThemeContext = createContext<ThemeContextValue<DefaultThemes> | null>(\n null,\n)\n\nexport interface ThemeProviderProps extends UseThemeOptions {\n /**\n * The default theme.\n */\n defaultTheme?: DefaultThemes\n /**\n * The default color mode.\n */\n defaultColorMode?: ColorModes\n}\n\n/**\n * A context provider that allows the user to set the theme and mode of the\n * application.\n * @see https://cerberus.digitalu.design/react/use-theme-context\n * @example\n * ```tsx\n * <ThemeProvider>\n * <App />\n * </ThemeProvider>\n * ```\n */\nexport function ThemeProvider(props: PropsWithChildren<ThemeProviderProps>) {\n const state = useTheme(props.defaultTheme, props.defaultColorMode, {\n cache: props.cache,\n updateMode: props.updateMode,\n updateTheme: props.updateTheme,\n }) as ThemeContextValue<DefaultThemes>\n\n return (\n <ThemeContext.Provider value={state}>\n {props.children}\n </ThemeContext.Provider>\n )\n}\n\n/**\n * Used to access the theme context.\n */\nexport function useThemeContext(): ThemeContextValue<DefaultThemes> {\n const context = useContext(ThemeContext)\n if (!context) {\n throw new Error('useThemeContext must be used within a ThemeProvider')\n }\n return context\n}\n"],"mappings":";;;;;AAEA,SAAS,eAAe,kBAA0C;AAiE9D;AAlCJ,IAAM,eAAe;AAAA,EACnB;AACF;AAwBO,SAAS,cAAc,OAA8C;AAC1E,QAAM,QAAQ,SAAS,MAAM,cAAc,MAAM,kBAAkB;AAAA,IACjE,OAAO,MAAM;AAAA,IACb,YAAY,MAAM;AAAA,IAClB,aAAa,MAAM;AAAA,EACrB,CAAC;AAED,SACE,oBAAC,aAAa,UAAb,EAAsB,OAAO,OAC3B,gBAAM,UACT;AAEJ;AAKO,SAAS,kBAAoD;AAClE,QAAM,UAAU,WAAW,YAAY;AACvC,MAAI,CAAC,SAAS;AACZ,UAAM,IAAI,MAAM,qDAAqD;AAAA,EACvE;AACA,SAAO;AACT;","names":[]}
|
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Fieldset
|
|
4
4
|
} from "@ark-ui/react/fieldset";
|
|
5
|
-
import { cx } from "
|
|
6
|
-
import {
|
|
7
|
-
fieldset
|
|
8
|
-
} from "@cerberus/styled-system/recipes";
|
|
5
|
+
import { cx } from "styled-system/css";
|
|
6
|
+
import { fieldset } from "styled-system/recipes";
|
|
9
7
|
import { jsx } from "react/jsx-runtime";
|
|
10
8
|
function FieldsetRoot(props) {
|
|
11
9
|
const styles = fieldset();
|
|
@@ -50,4 +48,4 @@ export {
|
|
|
50
48
|
FieldsetHelperText,
|
|
51
49
|
FieldsetErrorText
|
|
52
50
|
};
|
|
53
|
-
//# sourceMappingURL=chunk-
|
|
51
|
+
//# sourceMappingURL=chunk-KV4NRGKW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/fieldset/primitives.tsx"],"sourcesContent":["import {\n Fieldset,\n type FieldsetHelperTextProps,\n type FieldsetLegendProps,\n type FieldsetRootProps,\n} from '@ark-ui/react/fieldset'\nimport { cx } from 'styled-system/css'\nimport { fieldset, type FieldsetVariantProps } from 'styled-system/recipes'\n\n/**\n * This module contains all the primitives of the Fieldset component.\n * @module 'react/fieldset'\n */\n\n/**\n * The context & container for the Fieldset components.\n * @description [Fieldset Docs](https://cerberus.digitalu.design/react/fieldset)\n * @description [Primitive Docs](https://ark-ui.com/react/docs/components/fieldset)\n */\nexport function FieldsetRoot(props: FieldsetRootProps) {\n const styles = fieldset()\n return (\n <Fieldset.Root {...props} className={cx(styles.root, props.className)} />\n )\n}\n\n/**\n * The legend element for the Fieldset group.\n * @description [Fieldset Docs](https://cerberus.digitalu.design/react/fieldset)\n * @description [Primitive Docs](https://ark-ui.com/react/docs/components/fieldset)\n */\nexport function FieldsetLegend(\n props: FieldsetLegendProps & FieldsetVariantProps,\n) {\n const { usage, ...legendProps } = props\n const styles = fieldset({ usage })\n return (\n <Fieldset.Legend\n {...legendProps}\n className={cx(styles.legend, legendProps.className)}\n />\n )\n}\n\n/**\n * The description element for the Fieldset group.\n * @description [Fieldset Docs](https://cerberus.digitalu.design/react/fieldset)\n * @description [Primitive Docs](https://ark-ui.com/react/docs/components/fieldset)\n */\nexport function FieldsetHelperText(\n props: FieldsetHelperTextProps & FieldsetVariantProps,\n) {\n const { usage, ...helperTextProps } = props\n const styles = fieldset({ usage })\n return (\n <Fieldset.HelperText\n {...helperTextProps}\n className={cx(styles.helperText, helperTextProps.className)}\n />\n )\n}\n\n/**\n * The error text element for the Fieldset group.\n * @description [Fieldset Docs](https://cerberus.digitalu.design/react/fieldset)\n * @description [Primitive Docs](https://ark-ui.com/react/docs/components/fieldset)\n */\nexport function FieldsetErrorText(props: FieldsetHelperTextProps) {\n const styles = fieldset()\n return (\n <Fieldset.ErrorText\n {...props}\n className={cx(styles.errorText, props.className)}\n />\n )\n}\n"],"mappings":";AAAA;AAAA,EACE;AAAA,OAIK;AACP,SAAS,UAAU;AACnB,SAAS,gBAA2C;AAehD;AAHG,SAAS,aAAa,OAA0B;AACrD,QAAM,SAAS,SAAS;AACxB,SACE,oBAAC,SAAS,MAAT,EAAe,GAAG,OAAO,WAAW,GAAG,OAAO,MAAM,MAAM,SAAS,GAAG;AAE3E;AAOO,SAAS,eACd,OACA;AACA,QAAM,EAAE,OAAO,GAAG,YAAY,IAAI;AAClC,QAAM,SAAS,SAAS,EAAE,MAAM,CAAC;AACjC,SACE;AAAA,IAAC,SAAS;AAAA,IAAT;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,QAAQ,YAAY,SAAS;AAAA;AAAA,EACpD;AAEJ;AAOO,SAAS,mBACd,OACA;AACA,QAAM,EAAE,OAAO,GAAG,gBAAgB,IAAI;AACtC,QAAM,SAAS,SAAS,EAAE,MAAM,CAAC;AACjC,SACE;AAAA,IAAC,SAAS;AAAA,IAAT;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,YAAY,gBAAgB,SAAS;AAAA;AAAA,EAC5D;AAEJ;AAOO,SAAS,kBAAkB,OAAgC;AAChE,QAAM,SAAS,SAAS;AACxB,SACE;AAAA,IAAC,SAAS;AAAA,IAAT;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,WAAW,MAAM,SAAS;AAAA;AAAA,EACjD;AAEJ;","names":[]}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Tooltip as ArkTooltip
|
|
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 { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
function Tooltip(props) {
|
|
9
9
|
const { content, children, asChild, ...nativeProps } = props;
|
|
@@ -30,4 +30,4 @@ function Tooltip(props) {
|
|
|
30
30
|
export {
|
|
31
31
|
Tooltip
|
|
32
32
|
};
|
|
33
|
-
//# sourceMappingURL=chunk-
|
|
33
|
+
//# sourceMappingURL=chunk-L2EGF5AV.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/Tooltip.tsx"],"sourcesContent":["import {\n Tooltip as ArkTooltip,\n type TooltipContentProps,\n} from '@ark-ui/react/tooltip'\nimport { cx } from 'styled-system/css'\nimport { tooltip } from 'styled-system/recipes'\nimport type { ReactNode } from 'react'\n\n/**\n * This module contains the Tooltip component.\n * @module Tooltip\n */\n\nexport interface TooltipProps {\n /**\n * The text content to display in the tooltip.\n */\n content: ReactNode\n /**\n * The position of the tooltip relative to the trigger element.\n */\n position?: 'top' | 'right' | 'bottom' | 'left'\n}\n\n/**\n * The Tooltip component is used to provide additional information about an element when it is hovered over.\n * @definition [Tooltip docs](https://cerberus.digitalu.design/react/tooltip)\n * @example\n * ```tsx\n * <Tooltip content=\"This is a tooltip\">\n * <Information />\n * </Tooltip>\n */\nexport function Tooltip(props: TooltipProps & TooltipContentProps) {\n const { content, children, asChild, ...nativeProps } = props\n const styles = tooltip()\n const position = {\n placement: props.position || 'top',\n }\n\n return (\n <ArkTooltip.Root openDelay={400} positioning={position}>\n <ArkTooltip.Trigger className={styles.trigger} asChild={asChild}>\n {children}\n </ArkTooltip.Trigger>\n\n <ArkTooltip.Positioner>\n <ArkTooltip.Content\n {...nativeProps}\n className={cx(nativeProps.className, styles.content)}\n >\n <ArkTooltip.Arrow className={styles.arrow}>\n <ArkTooltip.ArrowTip className={styles.arrowTip} />\n </ArkTooltip.Arrow>\n\n {content}\n </ArkTooltip.Content>\n </ArkTooltip.Positioner>\n </ArkTooltip.Root>\n )\n}\n"],"mappings":";AAAA;AAAA,EACE,WAAW;AAAA,OAEN;AACP,SAAS,UAAU;AACnB,SAAS,eAAe;AAqClB,cAKE,YALF;AATC,SAAS,QAAQ,OAA2C;AACjE,QAAM,EAAE,SAAS,UAAU,SAAS,GAAG,YAAY,IAAI;AACvD,QAAM,SAAS,QAAQ;AACvB,QAAM,WAAW;AAAA,IACf,WAAW,MAAM,YAAY;AAAA,EAC/B;AAEA,SACE,qBAAC,WAAW,MAAX,EAAgB,WAAW,KAAK,aAAa,UAC5C;AAAA,wBAAC,WAAW,SAAX,EAAmB,WAAW,OAAO,SAAS,SAC5C,UACH;AAAA,IAEA,oBAAC,WAAW,YAAX,EACC;AAAA,MAAC,WAAW;AAAA,MAAX;AAAA,QACE,GAAG;AAAA,QACJ,WAAW,GAAG,YAAY,WAAW,OAAO,OAAO;AAAA,QAEnD;AAAA,8BAAC,WAAW,OAAX,EAAiB,WAAW,OAAO,OAClC,8BAAC,WAAW,UAAX,EAAoB,WAAW,OAAO,UAAU,GACnD;AAAA,UAEC;AAAA;AAAA;AAAA,IACH,GACF;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Tabs
|
|
4
4
|
} from "@ark-ui/react/tabs";
|
|
5
|
-
import { cx } from "
|
|
6
|
-
import { tabs } from "
|
|
5
|
+
import { cx } from "styled-system/css";
|
|
6
|
+
import { tabs } from "styled-system/recipes";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
function TabsRoot(props) {
|
|
9
9
|
const { palette, ...rootProps } = props;
|
|
@@ -46,4 +46,4 @@ export {
|
|
|
46
46
|
TabsContent,
|
|
47
47
|
TabsIndicator
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=chunk-
|
|
49
|
+
//# sourceMappingURL=chunk-L5FYGWAZ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/tabs/primitives.tsx"],"sourcesContent":["import {\n Tabs,\n type TabContentProps,\n type TabIndicatorProps,\n type TabListProps,\n type TabsRootProps,\n type TabTriggerProps,\n} from '@ark-ui/react/tabs'\nimport { cx } from 'styled-system/css'\nimport { tabs, type TabsVariantProps } from 'styled-system/recipes'\n\n/**\n * This module provides the primitives for the Tabs component.\n * @module 'tabs/primitives'\n */\n\n/**\n * The container and context provider of the tabs.\n */\nexport function TabsRoot(props: TabsRootProps & TabsVariantProps) {\n const { palette, ...rootProps } = props\n const styles = tabs({ palette })\n return (\n <Tabs.Root\n {...rootProps}\n className={cx(styles.root, rootProps.className)}\n />\n )\n}\n\n/**\n * The tab list container for the Tabs group.\n */\nexport function TabsList(props: TabListProps) {\n const styles = tabs()\n return <Tabs.List {...props} className={cx(styles.list, props.className)} />\n}\n\n/**\n * The tab element.\n */\nexport function TabsTrigger(props: TabTriggerProps) {\n const styles = tabs()\n return (\n <Tabs.Trigger {...props} className={cx(styles.trigger, props.className)} />\n )\n}\n\n/**\n * The tab content element.\n */\nexport function TabsContent(props: TabContentProps) {\n const styles = tabs()\n return (\n <Tabs.Content {...props} className={cx(styles.content, props.className)} />\n )\n}\n\n/**\n * The tab indicator element.\n */\nexport function TabsIndicator(props: TabIndicatorProps) {\n const styles = tabs()\n return (\n <Tabs.Indicator\n {...props}\n className={cx(styles.indicator, props.className)}\n />\n )\n}\n"],"mappings":";AAAA;AAAA,EACE;AAAA,OAMK;AACP,SAAS,UAAU;AACnB,SAAS,YAAmC;AAcxC;AAJG,SAAS,SAAS,OAAyC;AAChE,QAAM,EAAE,SAAS,GAAG,UAAU,IAAI;AAClC,QAAM,SAAS,KAAK,EAAE,QAAQ,CAAC;AAC/B,SACE;AAAA,IAAC,KAAK;AAAA,IAAL;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,MAAM,UAAU,SAAS;AAAA;AAAA,EAChD;AAEJ;AAKO,SAAS,SAAS,OAAqB;AAC5C,QAAM,SAAS,KAAK;AACpB,SAAO,oBAAC,KAAK,MAAL,EAAW,GAAG,OAAO,WAAW,GAAG,OAAO,MAAM,MAAM,SAAS,GAAG;AAC5E;AAKO,SAAS,YAAY,OAAwB;AAClD,QAAM,SAAS,KAAK;AACpB,SACE,oBAAC,KAAK,SAAL,EAAc,GAAG,OAAO,WAAW,GAAG,OAAO,SAAS,MAAM,SAAS,GAAG;AAE7E;AAKO,SAAS,YAAY,OAAwB;AAClD,QAAM,SAAS,KAAK;AACpB,SACE,oBAAC,KAAK,SAAL,EAAc,GAAG,OAAO,WAAW,GAAG,OAAO,SAAS,MAAM,SAAS,GAAG;AAE7E;AAKO,SAAS,cAAc,OAA0B;AACtD,QAAM,SAAS,KAAK;AACpB,SACE;AAAA,IAAC,KAAK;AAAA,IAAL;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,WAAW,MAAM,SAAS;AAAA;AAAA,EACjD;AAEJ;","names":[]}
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
Small,
|
|
12
12
|
Span,
|
|
13
13
|
Strong
|
|
14
|
-
} from "
|
|
14
|
+
} from "styled-system/jsx";
|
|
15
15
|
import { jsx } from "react/jsx-runtime";
|
|
16
16
|
function Text(props) {
|
|
17
17
|
const { as = "p", ...pandaJSXProps } = props;
|
|
@@ -44,4 +44,4 @@ function Text(props) {
|
|
|
44
44
|
export {
|
|
45
45
|
Text
|
|
46
46
|
};
|
|
47
|
-
//# sourceMappingURL=chunk-
|
|
47
|
+
//# sourceMappingURL=chunk-L64HQGLQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/Text.tsx"],"sourcesContent":["import {\n Em,\n H1,\n H2,\n H3,\n H4,\n H5,\n H6,\n P,\n Small,\n Span,\n Strong,\n type PProps,\n} from 'styled-system/jsx'\n\n/**\n * This module exports a component for rendering text utilizing the styled-system JSX utility.\n * @module @cerberus/react/Text\n */\n\nexport type Headings = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'\nexport type TextElements = 'p' | 'strong' | 'em' | 'small' | 'span'\n\n// For some reason we have to use the HTMLParagraphElement type here\n// or else TS will fail for non-style props like 'id' or 'className'\nexport interface TextProps extends PProps {\n /**\n * The element to render as. Defaults to 'p'.\n */\n as?: TextElements | Headings\n}\n\n/**\n * A component for rendering text utilizing the styled-system JSX utility.\n * @definition [Text docs](https://cerberus.digitalu.design/react/text)\n * @example\n * ```tsx\n * <Text as=\"h1\" color=\"page.text.100\" textStyle={{\n * base: 'heading-md',\n * md: 'heading-lg',\n * }}>\n * Hello, world!\n * </Text>\n */\nexport function Text(props: TextProps) {\n const { as = 'p', ...pandaJSXProps } = props\n switch (as) {\n case 'h1':\n return <H1 {...pandaJSXProps} />\n case 'h2':\n return <H2 {...pandaJSXProps} />\n case 'h3':\n return <H3 {...pandaJSXProps} />\n case 'h4':\n return <H4 {...pandaJSXProps} />\n case 'h5':\n return <H5 {...pandaJSXProps} />\n case 'h6':\n return <H6 {...pandaJSXProps} />\n case 'strong':\n return <Strong {...pandaJSXProps} />\n case 'em':\n return <Em {...pandaJSXProps} />\n case 'small':\n return <Small {...pandaJSXProps} />\n case 'span':\n return <Span {...pandaJSXProps} />\n default:\n return <P {...pandaJSXProps} />\n }\n}\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAmCM;AAJN,SAAS,KAAK,OAAkB;AACrC,QAAM,EAAE,KAAK,KAAK,GAAG,cAAc,IAAI;AACvC,UAAQ,IAAI;AAAA,IACV,KAAK;AACH,aAAO,oBAAC,MAAI,GAAG,eAAe;AAAA,IAChC,KAAK;AACH,aAAO,oBAAC,MAAI,GAAG,eAAe;AAAA,IAChC,KAAK;AACH,aAAO,oBAAC,MAAI,GAAG,eAAe;AAAA,IAChC,KAAK;AACH,aAAO,oBAAC,MAAI,GAAG,eAAe;AAAA,IAChC,KAAK;AACH,aAAO,oBAAC,MAAI,GAAG,eAAe;AAAA,IAChC,KAAK;AACH,aAAO,oBAAC,MAAI,GAAG,eAAe;AAAA,IAChC,KAAK;AACH,aAAO,oBAAC,UAAQ,GAAG,eAAe;AAAA,IACpC,KAAK;AACH,aAAO,oBAAC,MAAI,GAAG,eAAe;AAAA,IAChC,KAAK;AACH,aAAO,oBAAC,SAAO,GAAG,eAAe;AAAA,IACnC,KAAK;AACH,aAAO,oBAAC,QAAM,GAAG,eAAe;AAAA,IAClC;AACE,aAAO,oBAAC,KAAG,GAAG,eAAe;AAAA,EACjC;AACF;","names":[]}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
splitProps
|
|
3
|
-
} from "./chunk-BL7G3577.js";
|
|
4
1
|
import {
|
|
5
2
|
FieldErrorText,
|
|
6
3
|
FieldHelperText,
|
|
7
4
|
FieldLabel,
|
|
8
5
|
FieldRoot
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WEL43I6Y.js";
|
|
7
|
+
import {
|
|
8
|
+
splitProps
|
|
9
|
+
} from "./chunk-BL7G3577.js";
|
|
10
10
|
import {
|
|
11
11
|
Show
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VEAC4I3F.js";
|
|
13
13
|
|
|
14
14
|
// src/components/field/field.tsx
|
|
15
|
-
import { HStack } from "
|
|
15
|
+
import { HStack } from "styled-system/jsx";
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
function Field(props) {
|
|
18
18
|
const [statusProps, fieldProps, rootProps] = splitProps(
|
|
@@ -21,11 +21,11 @@ function Field(props) {
|
|
|
21
21
|
["label", "helperText", "secondaryHelperText", "errorText", "children"]
|
|
22
22
|
);
|
|
23
23
|
return /* @__PURE__ */ jsxs(FieldRoot, { ...statusProps, ...rootProps, children: [
|
|
24
|
-
/* @__PURE__ */ jsx(Show, { when:
|
|
24
|
+
/* @__PURE__ */ jsx(Show, { when: fieldProps.label, children: /* @__PURE__ */ jsx(FieldLabel, { children: fieldProps.label }) }),
|
|
25
25
|
fieldProps.children,
|
|
26
|
-
/* @__PURE__ */ jsx(Show, { when:
|
|
26
|
+
/* @__PURE__ */ jsx(Show, { when: fieldProps.helperText && !statusProps.invalid, children: /* @__PURE__ */ jsxs(HStack, { justifyContent: "space-between", w: "full", children: [
|
|
27
27
|
/* @__PURE__ */ jsx(FieldHelperText, { children: fieldProps.helperText }),
|
|
28
|
-
/* @__PURE__ */ jsx(Show, { when:
|
|
28
|
+
/* @__PURE__ */ jsx(Show, { when: fieldProps.secondaryHelperText, children: /* @__PURE__ */ jsx(FieldHelperText, { children: fieldProps.secondaryHelperText }) })
|
|
29
29
|
] }) }),
|
|
30
30
|
/* @__PURE__ */ jsx(FieldErrorText, { children: fieldProps.errorText })
|
|
31
31
|
] });
|
|
@@ -34,4 +34,4 @@ function Field(props) {
|
|
|
34
34
|
export {
|
|
35
35
|
Field
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
37
|
+
//# sourceMappingURL=chunk-LEBDLXJE.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/field/field.tsx"],"sourcesContent":["import { type FieldRootProps } from '@ark-ui/react/field'\nimport { splitProps } from '../../utils/index'\nimport {\n FieldErrorText,\n FieldHelperText,\n FieldLabel,\n FieldRoot,\n} from './primitives'\nimport { HStack } from 'styled-system/jsx'\nimport { Show } from '../Show'\n\nexport interface FieldProps extends FieldRootProps {\n /**\n * The label of the field.\n */\n label?: string\n /**\n * The helper text of the field.\n */\n helperText?: string\n /**\n * A helper text positioned at the end of the field. Good for Textarea fields.\n */\n secondaryHelperText?: string\n /**\n * The error text of the field. Shown when the field is invalid.\n */\n errorText?: string\n}\n\n/**\n * The Field component is the context provider for all FieldParts and displays\n * the label, helperText, and ErrorText.\n * @description [Field Docs](https://cerberus.digitalu.design/react/field)\n * @example\n * ```tsx\n * <Field\n * ids={{\n * control: 'firstName',\n * }}\n * label=\"Label\"\n * helperText=\"This is what people will see on your profile.\"\n * errorText=\"A first name is required to create an account.\"\n * required\n * >\n * <Input name=\"firstName\" type=\"text\" />\n * </Field>\n * ```\n */\nexport function Field(props: FieldProps) {\n const [statusProps, fieldProps, rootProps] = splitProps(\n props,\n ['disabled', 'required', 'readOnly', 'invalid'],\n ['label', 'helperText', 'secondaryHelperText', 'errorText', 'children'],\n )\n\n return (\n <FieldRoot {...statusProps} {...rootProps}>\n <Show when={fieldProps.label}>\n <FieldLabel>{fieldProps.label}</FieldLabel>\n </Show>\n\n {fieldProps.children}\n\n <Show when={fieldProps.helperText && !statusProps.invalid}>\n <HStack justifyContent=\"space-between\" w=\"full\">\n <FieldHelperText>{fieldProps.helperText}</FieldHelperText>\n <Show when={fieldProps.secondaryHelperText}>\n <FieldHelperText>{fieldProps.secondaryHelperText}</FieldHelperText>\n </Show>\n </HStack>\n </Show>\n\n <FieldErrorText>{fieldProps.errorText}</FieldErrorText>\n </FieldRoot>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;AAQA,SAAS,cAAc;AAmDf,cAMA,YANA;AAVD,SAAS,MAAM,OAAmB;AACvC,QAAM,CAAC,aAAa,YAAY,SAAS,IAAI;AAAA,IAC3C;AAAA,IACA,CAAC,YAAY,YAAY,YAAY,SAAS;AAAA,IAC9C,CAAC,SAAS,cAAc,uBAAuB,aAAa,UAAU;AAAA,EACxE;AAEA,SACE,qBAAC,aAAW,GAAG,aAAc,GAAG,WAC9B;AAAA,wBAAC,QAAK,MAAM,WAAW,OACrB,8BAAC,cAAY,qBAAW,OAAM,GAChC;AAAA,IAEC,WAAW;AAAA,IAEZ,oBAAC,QAAK,MAAM,WAAW,cAAc,CAAC,YAAY,SAChD,+BAAC,UAAO,gBAAe,iBAAgB,GAAE,QACvC;AAAA,0BAAC,mBAAiB,qBAAW,YAAW;AAAA,MACxC,oBAAC,QAAK,MAAM,WAAW,qBACrB,8BAAC,mBAAiB,qBAAW,qBAAoB,GACnD;AAAA,OACF,GACF;AAAA,IAEA,oBAAC,kBAAgB,qBAAW,WAAU;AAAA,KACxC;AAEJ;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/components/table/primitives.tsx
|
|
2
2
|
import { ark } from "@ark-ui/react/factory";
|
|
3
|
-
import { cx } from "
|
|
4
|
-
import { table } from "
|
|
3
|
+
import { cx } from "styled-system/css";
|
|
4
|
+
import { table } from "styled-system/recipes";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
function TableRoot(props) {
|
|
7
7
|
const { decoration, size, ...rootProps } = props;
|
|
@@ -140,4 +140,4 @@ export {
|
|
|
140
140
|
Tfoot,
|
|
141
141
|
TableTrigger
|
|
142
142
|
};
|
|
143
|
-
//# sourceMappingURL=chunk-
|
|
143
|
+
//# sourceMappingURL=chunk-MDXJ6MGF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/table/primitives.tsx"],"sourcesContent":["import { ark, type HTMLArkProps } from '@ark-ui/react/factory'\nimport { cx } from 'styled-system/css'\nimport { table, type TableVariantProps } from 'styled-system/recipes'\n\n/**\n * This module contains the primitives of the Table component.\n * @module 'table/primitives'\n */\n\n/**\n * The root element is the container of the Table.\n */\nexport function TableRoot(props: HTMLArkProps<'div'> & TableVariantProps) {\n const { decoration, size, ...rootProps } = props\n const styles = table({\n decoration,\n size,\n })\n\n return (\n <ark.div\n {...rootProps}\n className={cx(styles.root, rootProps.className)}\n data-scope=\"table\"\n data-part=\"root\"\n />\n )\n}\n\n/**\n * The table element is the table itself.\n */\nexport function TableEl(props: HTMLArkProps<'table'>) {\n const styles = table()\n return (\n <ark.table\n {...props}\n className={cx(styles.table, props.className)}\n data-scope=\"table\"\n data-part=\"table\"\n />\n )\n}\n\n/**\n * The table caption element is the caption of the table.\n */\nexport function Caption(props: HTMLArkProps<'caption'>) {\n const styles = table()\n return (\n <ark.caption\n {...props}\n className={cx(styles.caption, props.className)}\n data-scope=\"table\"\n data-part=\"caption\"\n />\n )\n}\n\n/**\n * The table head element is the head of the table.\n */\nexport function Thead(props: HTMLArkProps<'thead'>) {\n const styles = table()\n return (\n <ark.thead\n {...props}\n className={cx(styles.thead, props.className)}\n data-scope=\"table\"\n data-part=\"header\"\n />\n )\n}\n\n/**\n * The table header cell element is the header cell of the table.\n */\nexport function Th(props: HTMLArkProps<'th'>) {\n const styles = table()\n return (\n <ark.th\n {...props}\n className={cx(styles.th, props.className)}\n data-scope=\"table\"\n data-part=\"header-col\"\n />\n )\n}\n\n/**\n * The table body element is the body of the table.\n */\nexport function Tbody(props: HTMLArkProps<'tbody'>) {\n const styles = table()\n return (\n <ark.tbody\n {...props}\n className={cx(styles.tbody, props.className)}\n data-scope=\"table\"\n data-part=\"body\"\n />\n )\n}\n\n/**\n * The table row element is the row of the table.\n */\nexport function Tr(props: HTMLArkProps<'tr'>) {\n const styles = table()\n return (\n <ark.tr\n {...props}\n className={cx(styles.tr, props.className)}\n data-scope=\"table\"\n data-part=\"row\"\n />\n )\n}\n\n/**\n * The table cell element is the cell of the table.\n */\nexport function Td(props: HTMLArkProps<'td'>) {\n const styles = table()\n return (\n <ark.td\n {...props}\n className={cx(styles.td, props.className)}\n data-scope=\"table\"\n data-part=\"cell\"\n />\n )\n}\n\n/**\n * The table footer element is the footer of the table.\n */\nexport function Tfoot(props: HTMLArkProps<'tfoot'>) {\n const styles = table()\n return (\n <ark.tfoot\n {...props}\n className={cx(styles.tfoot, props.className)}\n data-scope=\"table\"\n data-part=\"footer\"\n />\n )\n}\n\n/**\n * The table trigger element is the trigger of an actionable th cell.\n */\nexport function TableTrigger(props: HTMLArkProps<'button'>) {\n const styles = table()\n return (\n <ark.button\n {...props}\n className={cx(styles.trigger, props.className)}\n data-scope=\"table\"\n data-part=\"trigger\"\n />\n )\n}\n"],"mappings":";AAAA,SAAS,WAA8B;AACvC,SAAS,UAAU;AACnB,SAAS,aAAqC;AAkB1C;AARG,SAAS,UAAU,OAAgD;AACxE,QAAM,EAAE,YAAY,MAAM,GAAG,UAAU,IAAI;AAC3C,QAAM,SAAS,MAAM;AAAA,IACnB;AAAA,IACA;AAAA,EACF,CAAC;AAED,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,MAAM,UAAU,SAAS;AAAA,MAC9C,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,QAAQ,OAA8B;AACpD,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,OAAO,MAAM,SAAS;AAAA,MAC3C,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,QAAQ,OAAgC;AACtD,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,SAAS,MAAM,SAAS;AAAA,MAC7C,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,MAAM,OAA8B;AAClD,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,OAAO,MAAM,SAAS;AAAA,MAC3C,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,GAAG,OAA2B;AAC5C,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,IAAI,MAAM,SAAS;AAAA,MACxC,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,MAAM,OAA8B;AAClD,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,OAAO,MAAM,SAAS;AAAA,MAC3C,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,GAAG,OAA2B;AAC5C,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,IAAI,MAAM,SAAS;AAAA,MACxC,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,GAAG,OAA2B;AAC5C,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,IAAI,MAAM,SAAS;AAAA,MACxC,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,MAAM,OAA8B;AAClD,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,OAAO,MAAM,SAAS;AAAA,MAC3C,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,aAAa,OAA+B;AAC1D,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,SAAS,MAAM,SAAS;AAAA,MAC7C,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;","names":[]}
|