@cerberus-design/react 0.16.0-next-d049636 → 0.17.0-next-e7f9956
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/build/legacy/_tsup-dts-rollup.d.cts +5680 -5427
- package/build/legacy/aria-helpers/nav-menu.aria.d.cts +2 -0
- package/build/legacy/aria-helpers/trap-focus.aria.d.cts +1 -0
- package/build/legacy/components/AnimatingUploadIcon.cjs +2 -2
- package/build/legacy/components/AnimatingUploadIcon.cjs.map +1 -1
- package/build/legacy/components/AnimatingUploadIcon.d.cts +2 -0
- package/build/legacy/components/CircularProgress.d.cts +2 -0
- package/build/legacy/components/Droppable.d.cts +2 -0
- package/build/legacy/components/FeatureFlag.d.cts +2 -0
- package/build/legacy/components/FileStatus.cjs +107 -142
- package/build/legacy/components/FileStatus.cjs.map +1 -1
- package/build/legacy/components/FileStatus.d.cts +6 -0
- package/build/legacy/components/FileUploader.cjs +80 -102
- package/build/legacy/components/FileUploader.cjs.map +1 -1
- package/build/legacy/components/FileUploader.d.cts +2 -0
- package/build/legacy/components/IconButton.cjs +2 -1
- package/build/legacy/components/IconButton.cjs.map +1 -1
- package/build/legacy/components/IconButton.d.cts +3 -0
- package/build/legacy/components/Menu.d.cts +7 -0
- package/build/legacy/components/Portal.d.cts +2 -0
- package/build/legacy/components/ProgressBar.cjs +3 -2
- package/build/legacy/components/ProgressBar.cjs.map +1 -1
- package/build/legacy/components/ProgressBar.d.cts +5 -0
- package/build/legacy/components/Show.d.cts +2 -0
- package/build/legacy/components/Spinner.d.cts +2 -0
- package/build/legacy/components/Tag.cjs +51 -30
- package/build/legacy/components/Tag.cjs.map +1 -1
- package/build/legacy/components/Tag.d.cts +4 -0
- package/build/legacy/components/Text.d.cts +4 -0
- package/build/legacy/components/Tooltip.d.cts +2 -0
- package/build/legacy/components/accordion/index.d.cts +9 -0
- package/build/legacy/components/accordion/item-group.d.cts +3 -0
- package/build/legacy/components/accordion/item-indicator.d.cts +1 -0
- package/build/legacy/components/accordion/parts.d.cts +1 -0
- package/build/legacy/components/accordion/primitives.d.cts +5 -0
- package/build/legacy/components/admonition/admonition.cjs +68 -144
- package/build/legacy/components/admonition/admonition.cjs.map +1 -1
- package/build/legacy/components/admonition/admonition.d.cts +2 -0
- package/build/legacy/components/admonition/index.cjs +68 -144
- package/build/legacy/components/admonition/index.cjs.map +1 -1
- package/build/legacy/components/admonition/index.d.cts +8 -0
- package/build/legacy/components/admonition/match-avatar.cjs +78 -138
- package/build/legacy/components/admonition/match-avatar.cjs.map +1 -1
- package/build/legacy/components/admonition/match-avatar.d.cts +1 -0
- package/build/legacy/components/admonition/parts.d.cts +1 -0
- package/build/legacy/components/admonition/primitives.d.cts +5 -0
- package/build/legacy/components/avatar/avatar.cjs +120 -0
- package/build/legacy/components/avatar/avatar.cjs.map +1 -0
- package/build/legacy/components/avatar/avatar.d.cts +3 -0
- package/build/legacy/components/avatar/index.cjs +133 -0
- package/build/legacy/components/avatar/index.cjs.map +1 -0
- package/build/legacy/components/avatar/index.d.cts +8 -0
- package/build/legacy/components/avatar/parts.cjs +68 -0
- package/build/legacy/components/avatar/parts.cjs.map +1 -0
- package/build/legacy/components/avatar/parts.d.cts +1 -0
- package/build/legacy/components/avatar/primitives.cjs +63 -0
- package/build/legacy/components/avatar/primitives.cjs.map +1 -0
- package/build/legacy/components/avatar/primitives.d.cts +3 -0
- package/build/legacy/components/button/button.cjs +2 -1
- package/build/legacy/components/button/button.cjs.map +1 -1
- package/build/legacy/components/button/button.d.cts +3 -0
- package/build/legacy/components/button/index.cjs +2 -1
- package/build/legacy/components/button/index.cjs.map +1 -1
- package/build/legacy/components/button/index.d.cts +4 -0
- package/build/legacy/components/button/parts.cjs +2 -1
- package/build/legacy/components/button/parts.cjs.map +1 -1
- package/build/legacy/components/button/parts.d.cts +1 -0
- package/build/legacy/components/checkbox/checkbox-icon.d.cts +1 -0
- package/build/legacy/components/checkbox/checkbox.d.cts +2 -0
- package/build/legacy/components/checkbox/index.d.cts +9 -0
- package/build/legacy/components/checkbox/parts.d.cts +1 -0
- package/build/legacy/components/checkbox/primitives.d.cts +6 -0
- package/build/legacy/components/combobox/combobox.d.cts +2 -0
- package/build/legacy/components/combobox/index.d.cts +24 -0
- package/build/legacy/components/combobox/item-group.d.cts +2 -0
- package/build/legacy/components/combobox/item.d.cts +1 -0
- package/build/legacy/components/combobox/parts.d.cts +1 -0
- package/build/legacy/components/combobox/primitives.d.cts +16 -0
- package/build/legacy/components/combobox/use-stateful-collection.d.cts +2 -0
- package/build/legacy/components/cta-dialog/context.d.cts +3 -0
- package/build/legacy/components/cta-dialog/index.cjs +116 -129
- package/build/legacy/components/cta-dialog/index.cjs.map +1 -1
- package/build/legacy/components/cta-dialog/index.d.cts +6 -0
- package/build/legacy/components/cta-dialog/provider.cjs +116 -129
- package/build/legacy/components/cta-dialog/provider.cjs.map +1 -1
- package/build/legacy/components/cta-dialog/provider.d.cts +2 -0
- package/build/legacy/components/cta-dialog/trigger-item.cjs +4 -3
- package/build/legacy/components/cta-dialog/trigger-item.cjs.map +1 -1
- package/build/legacy/components/cta-dialog/trigger-item.d.cts +2 -0
- package/build/legacy/components/cta-dialog/utils.d.cts +4 -0
- package/build/legacy/components/date-picker/calendar.cjs +352 -0
- package/build/legacy/components/date-picker/calendar.cjs.map +1 -0
- package/build/legacy/components/date-picker/calendar.d.cts +1 -0
- package/build/legacy/components/date-picker/content.cjs +198 -0
- package/build/legacy/components/date-picker/content.cjs.map +1 -0
- package/build/legacy/components/date-picker/content.d.cts +1 -0
- package/build/legacy/components/date-picker/date-picker.cjs +201 -0
- package/build/legacy/components/date-picker/date-picker.cjs.map +1 -0
- package/build/legacy/components/date-picker/date-picker.d.cts +1 -0
- package/build/legacy/components/date-picker/day-view.cjs +314 -0
- package/build/legacy/components/date-picker/day-view.cjs.map +1 -0
- package/build/legacy/components/date-picker/day-view.d.cts +2 -0
- package/build/legacy/components/date-picker/index.cjs +481 -0
- package/build/legacy/components/date-picker/index.cjs.map +1 -0
- package/build/legacy/components/date-picker/index.d.cts +30 -0
- package/build/legacy/components/date-picker/input.cjs +247 -0
- package/build/legacy/components/date-picker/input.cjs.map +1 -0
- package/build/legacy/components/date-picker/input.d.cts +1 -0
- package/build/legacy/components/date-picker/month-view.cjs +289 -0
- package/build/legacy/components/date-picker/month-view.cjs.map +1 -0
- package/build/legacy/components/date-picker/month-view.d.cts +1 -0
- package/build/legacy/components/date-picker/parts.cjs +187 -0
- package/build/legacy/components/date-picker/parts.cjs.map +1 -0
- package/build/legacy/components/date-picker/parts.d.cts +1 -0
- package/build/legacy/components/date-picker/primitives.cjs +203 -0
- package/build/legacy/components/date-picker/primitives.cjs.map +1 -0
- package/build/legacy/components/date-picker/primitives.d.cts +24 -0
- package/build/legacy/components/date-picker/range-input.cjs +267 -0
- package/build/legacy/components/date-picker/range-input.cjs.map +1 -0
- package/build/legacy/components/date-picker/range-input.d.cts +2 -0
- package/build/legacy/components/date-picker/trigger.cjs +232 -0
- package/build/legacy/components/date-picker/trigger.cjs.map +1 -0
- package/build/legacy/components/date-picker/trigger.d.cts +1 -0
- package/build/legacy/components/date-picker/view-control-group.cjs +280 -0
- package/build/legacy/components/date-picker/view-control-group.cjs.map +1 -0
- package/build/legacy/components/date-picker/view-control-group.d.cts +1 -0
- package/build/legacy/components/date-picker/year-view.cjs +289 -0
- package/build/legacy/components/date-picker/year-view.cjs.map +1 -0
- package/build/legacy/components/date-picker/year-view.d.cts +1 -0
- package/build/legacy/components/deprecated/FieldMessage.d.cts +3 -0
- package/build/legacy/components/deprecated/FieldsetLabel.d.cts +2 -0
- package/build/legacy/components/deprecated/Label.d.cts +3 -0
- package/build/legacy/components/{Legend.cjs → deprecated/Legend.cjs} +3 -3
- package/build/legacy/components/deprecated/Legend.cjs.map +1 -0
- package/build/legacy/components/deprecated/Legend.d.cts +2 -0
- package/build/legacy/components/deprecated/Modal.d.cts +2 -0
- package/build/legacy/components/deprecated/ModalDescription.d.cts +2 -0
- package/build/legacy/components/deprecated/ModalHeader.d.cts +2 -0
- package/build/legacy/components/deprecated/ModalHeading.d.cts +2 -0
- package/build/legacy/components/deprecated/NavMenuLink.d.cts +2 -0
- package/build/legacy/components/deprecated/NavMenuList.d.cts +3 -0
- package/build/legacy/components/deprecated/NavMenuTrigger.d.cts +2 -0
- package/build/legacy/components/{Notification.cjs → deprecated/Notification.cjs} +2 -2
- package/build/legacy/components/deprecated/Notification.cjs.map +1 -0
- package/build/legacy/components/deprecated/Notification.d.cts +3 -0
- package/build/legacy/components/{NotificationDescription.cjs → deprecated/NotificationDescription.cjs} +1 -1
- package/build/legacy/components/deprecated/NotificationDescription.cjs.map +1 -0
- package/build/legacy/components/deprecated/NotificationDescription.d.cts +3 -0
- package/build/legacy/components/{NotificationHeading.cjs → deprecated/NotificationHeading.cjs} +1 -1
- package/build/legacy/components/deprecated/NotificationHeading.cjs.map +1 -0
- package/build/legacy/components/deprecated/NotificationHeading.d.cts +3 -0
- package/build/legacy/components/dialog/close-icon-trigger.cjs +2 -1
- package/build/legacy/components/dialog/close-icon-trigger.cjs.map +1 -1
- package/build/legacy/components/dialog/close-icon-trigger.d.cts +1 -0
- package/build/legacy/components/dialog/dialog.d.cts +2 -0
- package/build/legacy/components/dialog/index.cjs +2 -1
- package/build/legacy/components/dialog/index.cjs.map +1 -1
- package/build/legacy/components/dialog/index.d.cts +13 -0
- package/build/legacy/components/dialog/parts.d.cts +1 -0
- package/build/legacy/components/dialog/primitives.d.cts +9 -0
- package/build/legacy/components/field/field.d.cts +2 -0
- package/build/legacy/components/field/index.d.cts +18 -0
- package/build/legacy/components/field/parts.d.cts +1 -0
- package/build/legacy/components/field/primitives.d.cts +11 -0
- package/build/legacy/components/field/start-indicator.d.cts +2 -0
- package/build/legacy/components/field/status-indicator.d.cts +2 -0
- package/build/legacy/components/fieldset/fieldset.d.cts +2 -0
- package/build/legacy/components/fieldset/index.d.cts +7 -0
- package/build/legacy/components/fieldset/parts.d.cts +1 -0
- package/build/legacy/components/fieldset/primitives.d.cts +4 -0
- package/build/legacy/components/for.d.cts +2 -0
- package/build/legacy/components/notifications/center.cjs +294 -0
- package/build/legacy/components/notifications/center.cjs.map +1 -0
- package/build/legacy/components/notifications/center.d.cts +3 -0
- package/build/legacy/components/notifications/close-trigger.cjs +104 -0
- package/build/legacy/components/notifications/close-trigger.cjs.map +1 -0
- package/build/legacy/components/notifications/close-trigger.d.cts +1 -0
- package/build/legacy/components/notifications/index.cjs +310 -0
- package/build/legacy/components/notifications/index.cjs.map +1 -0
- package/build/legacy/components/notifications/index.d.cts +12 -0
- package/build/legacy/components/notifications/match-icon.cjs +135 -0
- package/build/legacy/components/notifications/match-icon.cjs.map +1 -0
- package/build/legacy/components/notifications/match-icon.d.cts +1 -0
- package/build/legacy/components/notifications/parts.cjs +83 -0
- package/build/legacy/components/notifications/parts.cjs.map +1 -0
- package/build/legacy/components/notifications/parts.d.cts +1 -0
- package/build/legacy/components/notifications/primitives.cjs +83 -0
- package/build/legacy/components/notifications/primitives.cjs.map +1 -0
- package/build/legacy/components/notifications/primitives.d.cts +6 -0
- package/build/legacy/components/notifications/types.cjs +19 -0
- package/build/legacy/components/notifications/types.cjs.map +1 -0
- package/build/legacy/components/notifications/types.d.cts +2 -0
- package/build/legacy/components/radio/index.d.cts +11 -0
- package/build/legacy/components/radio/parts.d.cts +1 -0
- package/build/legacy/components/radio/primitives.d.cts +8 -0
- package/build/legacy/components/radio/radio.d.cts +2 -0
- package/build/legacy/components/rating/index.d.cts +12 -0
- package/build/legacy/components/rating/parts.d.cts +1 -0
- package/build/legacy/components/rating/primitives.d.cts +7 -0
- package/build/legacy/components/rating/rating.d.cts +2 -0
- package/build/legacy/components/select/index.d.cts +28 -0
- package/build/legacy/components/select/option-group.d.cts +2 -0
- package/build/legacy/components/select/parts.d.cts +1 -0
- package/build/legacy/components/select/primitives.d.cts +18 -0
- package/build/legacy/components/select/select.d.cts +7 -0
- package/build/legacy/components/switch/index.cjs.map +1 -1
- package/build/legacy/components/switch/index.d.cts +8 -0
- package/build/legacy/components/switch/parts.cjs.map +1 -1
- package/build/legacy/components/switch/parts.d.cts +1 -0
- package/build/legacy/components/switch/primitives.d.cts +5 -0
- package/build/legacy/components/switch/switch-indicator.d.cts +1 -0
- package/build/legacy/components/switch/switch.cjs.map +1 -1
- package/build/legacy/components/switch/switch.d.cts +2 -0
- package/build/legacy/components/table/index.cjs +228 -0
- package/build/legacy/components/table/index.cjs.map +1 -0
- package/build/legacy/components/table/index.d.cts +13 -0
- package/build/legacy/components/table/parts.cjs +174 -0
- package/build/legacy/components/table/parts.cjs.map +1 -0
- package/build/legacy/components/table/parts.d.cts +2 -0
- package/build/legacy/components/table/primitives.cjs +176 -0
- package/build/legacy/components/table/primitives.cjs.map +1 -0
- package/build/legacy/components/table/primitives.d.cts +10 -0
- package/build/legacy/components/table/table.cjs +192 -0
- package/build/legacy/components/table/table.cjs.map +1 -0
- package/build/legacy/components/table/table.d.cts +1 -0
- package/build/legacy/components/tabs/index.cjs +106 -0
- package/build/legacy/components/tabs/index.cjs.map +1 -0
- package/build/legacy/components/tabs/index.d.cts +8 -0
- package/build/legacy/components/tabs/parts.cjs +78 -0
- package/build/legacy/components/tabs/parts.cjs.map +1 -0
- package/build/legacy/components/tabs/parts.d.cts +2 -0
- package/build/legacy/components/tabs/primitives.cjs +75 -0
- package/build/legacy/components/tabs/primitives.cjs.map +1 -0
- package/build/legacy/components/tabs/primitives.d.cts +5 -0
- package/build/legacy/components/tabs/tabs.cjs +94 -0
- package/build/legacy/components/tabs/tabs.cjs.map +1 -0
- package/build/legacy/components/tabs/tabs.d.cts +1 -0
- package/build/legacy/components/toggle/index.d.cts +3 -0
- package/build/legacy/components/toggle/parts.d.cts +1 -0
- package/build/legacy/components/toggle/primitives.d.cts +2 -0
- package/build/legacy/config/defineIcons.cjs +2 -2
- package/build/legacy/config/defineIcons.cjs.map +1 -1
- package/build/legacy/config/defineIcons.d.cts +1 -0
- package/build/legacy/config/icons/checkbox.icons.d.cts +4 -0
- package/build/legacy/config/index.cjs +2 -2
- package/build/legacy/config/index.cjs.map +1 -1
- package/build/legacy/config/index.d.cts +5 -0
- package/build/legacy/config/types.d.cts +3 -0
- package/build/legacy/context/cerberus.d.cts +2 -0
- package/build/legacy/context/confirm-modal.cjs +112 -130
- package/build/legacy/context/confirm-modal.cjs.map +1 -1
- package/build/legacy/context/confirm-modal.d.cts +9 -0
- package/build/legacy/context/feature-flags.d.cts +4 -0
- package/build/legacy/context/field.d.cts +3 -0
- package/build/legacy/context/navMenu.d.cts +5 -0
- package/build/legacy/context/notification-center/store.d.cts +5 -0
- package/build/legacy/context/notification-center/types.d.cts +6 -0
- package/build/legacy/context/notification-center.cjs +12 -11
- package/build/legacy/context/notification-center.cjs.map +1 -1
- package/build/legacy/context/notification-center.d.cts +5 -0
- package/build/legacy/context/prompt-modal.cjs +119 -135
- package/build/legacy/context/prompt-modal.cjs.map +1 -1
- package/build/legacy/context/prompt-modal.d.cts +6 -0
- package/build/legacy/context/theme.d.cts +7 -0
- package/build/legacy/hooks/useDate.d.cts +8 -0
- package/build/legacy/hooks/useModal.d.cts +2 -0
- package/build/legacy/hooks/useRootColors.d.cts +2 -0
- package/build/legacy/hooks/useTheme.d.cts +4 -0
- package/build/legacy/hooks/useToggle.d.cts +3 -0
- package/build/legacy/index.cjs +1969 -2051
- package/build/legacy/index.cjs.map +1 -1
- package/build/legacy/index.d.cts +462 -0
- package/build/legacy/types.d.cts +1 -0
- package/build/legacy/utils/index.d.cts +4 -0
- package/build/legacy/utils/localStorage.d.cts +2 -0
- package/build/modern/_tsup-dts-rollup.d.ts +5680 -5427
- package/build/modern/aria-helpers/nav-menu.aria.d.ts +2 -0
- package/build/modern/aria-helpers/trap-focus.aria.d.ts +1 -0
- package/build/modern/chunk-2FRF57EU.js +41 -0
- package/build/modern/chunk-2FRF57EU.js.map +1 -0
- package/build/modern/{chunk-EKIAT7N7.js → chunk-2LP4KQYQ.js} +4 -4
- package/build/modern/chunk-4GFEWP76.js +49 -0
- package/build/modern/chunk-4GFEWP76.js.map +1 -0
- package/build/modern/{chunk-FWVFM7RK.js → chunk-4HUK7YNZ.js} +6 -6
- package/build/modern/chunk-4HVKAHBX.js +1 -0
- package/build/modern/chunk-4IXQNNAM.js +31 -0
- package/build/modern/chunk-4IXQNNAM.js.map +1 -0
- package/build/modern/chunk-5DY66QZD.js +41 -0
- package/build/modern/chunk-5DY66QZD.js.map +1 -0
- package/build/modern/chunk-6HOLE2JH.js +22 -0
- package/build/modern/chunk-6HOLE2JH.js.map +1 -0
- package/build/modern/chunk-6MNFE6U6.js +45 -0
- package/build/modern/chunk-6MNFE6U6.js.map +1 -0
- package/build/modern/chunk-7JHQVQPS.js +57 -0
- package/build/modern/chunk-7JHQVQPS.js.map +1 -0
- package/build/modern/{chunk-572S5CLA.js → chunk-7OYOT5LK.js} +5 -5
- package/build/modern/chunk-A464YKEL.js +143 -0
- package/build/modern/chunk-A464YKEL.js.map +1 -0
- package/build/modern/chunk-BD4UH5GS.js +42 -0
- package/build/modern/chunk-BD4UH5GS.js.map +1 -0
- package/build/modern/chunk-BJJ4XAVO.js +18 -0
- package/build/modern/chunk-BJJ4XAVO.js.map +1 -0
- package/build/modern/{chunk-245SMQ45.js → chunk-CHSC2LEM.js} +4 -4
- package/build/modern/chunk-D7MAAGNA.js +158 -0
- package/build/modern/chunk-D7MAAGNA.js.map +1 -0
- package/build/modern/chunk-DC4F5ZK5.js +7 -0
- package/build/modern/chunk-DC4F5ZK5.js.map +1 -0
- package/build/modern/{chunk-RBNOEAWJ.js → chunk-DEXJQ6UI.js} +3 -3
- package/build/modern/chunk-DEXJQ6UI.js.map +1 -0
- package/build/modern/chunk-E7FVTKUT.js +20 -0
- package/build/modern/chunk-E7FVTKUT.js.map +1 -0
- package/build/modern/chunk-EH36PXVP.js +24 -0
- package/build/modern/chunk-EH36PXVP.js.map +1 -0
- package/build/modern/{chunk-RDRD6ACD.js → chunk-EUYI7C2E.js} +2 -2
- package/build/modern/chunk-EUYI7C2E.js.map +1 -0
- package/build/modern/{chunk-NTU5OYUF.js → chunk-FBS7AX76.js} +4 -4
- package/build/modern/chunk-FCRD3ZRZ.js +46 -0
- package/build/modern/chunk-FCRD3ZRZ.js.map +1 -0
- package/build/modern/chunk-GBCJKBWH.js +27 -0
- package/build/modern/chunk-GBCJKBWH.js.map +1 -0
- package/build/modern/chunk-GBHYDL2K.js +67 -0
- package/build/modern/chunk-GBHYDL2K.js.map +1 -0
- package/build/modern/{chunk-NZKE7C53.js → chunk-GVU6L6CZ.js} +4 -4
- package/build/modern/{chunk-A45TFOGO.js → chunk-HB6MBJSG.js} +9 -11
- package/build/modern/chunk-HB6MBJSG.js.map +1 -0
- package/build/modern/{chunk-KQQPZJEI.js → chunk-HUN7VQBT.js} +1 -1
- package/build/modern/chunk-HUN7VQBT.js.map +1 -0
- package/build/modern/chunk-IOLYX3SY.js +1 -0
- package/build/modern/{chunk-EQPYRZ3X.js → chunk-IP3O6AIC.js} +7 -11
- package/build/modern/chunk-IP3O6AIC.js.map +1 -0
- package/build/modern/{chunk-2BIHLH4V.js → chunk-JAAMD5EH.js} +2 -2
- package/build/modern/{chunk-OVHCXBBI.js → chunk-JOM5AAVW.js} +2 -2
- package/build/modern/{chunk-6OJ27QWV.js → chunk-JWF7FK7T.js} +4 -4
- package/build/modern/chunk-K2TZB3I4.js +22 -0
- package/build/modern/chunk-K2TZB3I4.js.map +1 -0
- package/build/modern/chunk-KB52N3HJ.js +27 -0
- package/build/modern/chunk-KB52N3HJ.js.map +1 -0
- package/build/modern/{chunk-WZJ5UQNM.js → chunk-KJMCUYWV.js} +4 -3
- package/build/modern/chunk-KJMCUYWV.js.map +1 -0
- package/build/modern/chunk-KZDEDAIK.js +21 -0
- package/build/modern/chunk-KZDEDAIK.js.map +1 -0
- package/build/modern/chunk-LLZE2RBB.js +33 -0
- package/build/modern/chunk-LLZE2RBB.js.map +1 -0
- package/build/modern/chunk-M6WOFFOA.js +1 -0
- package/build/modern/{chunk-5SNLQZYP.js → chunk-M7T3MBFB.js} +2 -2
- package/build/modern/{chunk-XYDJ5TRW.js → chunk-MPS6BAJ2.js} +10 -14
- package/build/modern/chunk-MPS6BAJ2.js.map +1 -0
- package/build/modern/chunk-MV2AU6UV.js +1 -0
- package/build/modern/chunk-N4RPMT6J.js +35 -0
- package/build/modern/chunk-N4RPMT6J.js.map +1 -0
- package/build/modern/{chunk-UNRQAXLJ.js → chunk-NHBL7NNP.js} +4 -4
- package/build/modern/chunk-NOXZZHDH.js +27 -0
- package/build/modern/chunk-NOXZZHDH.js.map +1 -0
- package/build/modern/{chunk-MISIUX63.js → chunk-QD4TL3L6.js} +12 -13
- package/build/modern/chunk-QD4TL3L6.js.map +1 -0
- package/build/modern/chunk-QG4NDPST.js +20 -0
- package/build/modern/chunk-QG4NDPST.js.map +1 -0
- package/build/modern/{chunk-UXY3KCC3.js → chunk-QJ3CJ4CR.js} +2 -2
- package/build/modern/chunk-QJ3CJ4CR.js.map +1 -0
- package/build/modern/{chunk-XTIIAYPU.js → chunk-QQCB6JXW.js} +4 -4
- package/build/modern/{chunk-6KZVE4HC.js → chunk-RD2YPFRA.js} +3 -2
- package/build/modern/chunk-RD2YPFRA.js.map +1 -0
- package/build/modern/{chunk-APD6IX5R.js → chunk-SRNDDY5D.js} +3 -2
- package/build/modern/chunk-SRNDDY5D.js.map +1 -0
- package/build/modern/chunk-SYPAA5YF.js +17 -0
- package/build/modern/chunk-SYPAA5YF.js.map +1 -0
- package/build/modern/chunk-TEMFCS72.js +19 -0
- package/build/modern/chunk-TEMFCS72.js.map +1 -0
- package/build/modern/{chunk-MVO2GNUA.js → chunk-TNSIYRF7.js} +2 -2
- package/build/modern/chunk-U3ISYEUF.js +1 -0
- package/build/modern/{chunk-SLHYBPJ5.js → chunk-V6LNXFJV.js} +2 -2
- package/build/modern/chunk-V6LNXFJV.js.map +1 -0
- package/build/modern/{chunk-EKZENP7X.js → chunk-VOYXV3US.js} +10 -12
- package/build/modern/chunk-VOYXV3US.js.map +1 -0
- package/build/modern/{chunk-IW3LIRDG.js → chunk-VV2G62UD.js} +3 -3
- package/build/modern/{chunk-IW3LIRDG.js.map → chunk-VV2G62UD.js.map} +1 -1
- package/build/modern/{chunk-7SU6FCTJ.js → chunk-WMRSNYYG.js} +3 -12
- package/build/modern/chunk-WMRSNYYG.js.map +1 -0
- package/build/modern/chunk-WVFEJCUN.js +59 -0
- package/build/modern/chunk-WVFEJCUN.js.map +1 -0
- package/build/modern/chunk-YUNLWTUB.js +21 -0
- package/build/modern/chunk-YUNLWTUB.js.map +1 -0
- package/build/modern/{chunk-YLKFZGBY.js → chunk-Z5K4J4MS.js} +4 -4
- package/build/modern/components/AnimatingUploadIcon.d.ts +2 -0
- package/build/modern/components/AnimatingUploadIcon.js +1 -1
- package/build/modern/components/CircularProgress.d.ts +2 -0
- package/build/modern/components/Droppable.d.ts +2 -0
- package/build/modern/components/FeatureFlag.d.ts +2 -0
- package/build/modern/components/FileStatus.d.ts +6 -0
- package/build/modern/components/FileStatus.js +9 -7
- package/build/modern/components/FileUploader.d.ts +2 -0
- package/build/modern/components/FileUploader.js +6 -2
- package/build/modern/components/IconButton.d.ts +3 -0
- package/build/modern/components/IconButton.js +1 -1
- package/build/modern/components/Menu.d.ts +7 -0
- package/build/modern/components/Portal.d.ts +2 -0
- package/build/modern/components/ProgressBar.d.ts +5 -0
- package/build/modern/components/ProgressBar.js +1 -1
- package/build/modern/components/Show.d.ts +2 -0
- package/build/modern/components/Spinner.d.ts +2 -0
- package/build/modern/components/Tag.d.ts +4 -0
- package/build/modern/components/Tag.js +2 -1
- package/build/modern/components/Text.d.ts +4 -0
- package/build/modern/components/Tooltip.d.ts +2 -0
- package/build/modern/components/accordion/index.d.ts +9 -0
- package/build/modern/components/accordion/index.js +6 -6
- package/build/modern/components/accordion/item-group.d.ts +3 -0
- package/build/modern/components/accordion/item-group.js +6 -6
- package/build/modern/components/accordion/item-indicator.d.ts +1 -0
- package/build/modern/components/accordion/item-indicator.js +2 -2
- package/build/modern/components/accordion/parts.d.ts +1 -0
- package/build/modern/components/accordion/primitives.d.ts +5 -0
- package/build/modern/components/admonition/admonition.d.ts +2 -0
- package/build/modern/components/admonition/admonition.js +7 -5
- package/build/modern/components/admonition/index.d.ts +8 -0
- package/build/modern/components/admonition/index.js +7 -5
- package/build/modern/components/admonition/match-avatar.d.ts +1 -0
- package/build/modern/components/admonition/match-avatar.js +6 -2
- package/build/modern/components/admonition/parts.d.ts +1 -0
- package/build/modern/components/admonition/primitives.d.ts +5 -0
- package/build/modern/components/avatar/avatar.d.ts +3 -0
- package/build/modern/components/avatar/avatar.js +12 -0
- package/build/modern/components/avatar/index.d.ts +8 -0
- package/build/modern/components/avatar/index.js +26 -0
- package/build/modern/components/avatar/parts.d.ts +1 -0
- package/build/modern/components/avatar/parts.js +8 -0
- package/build/modern/components/avatar/primitives.d.ts +3 -0
- package/build/modern/components/avatar/primitives.js +11 -0
- package/build/modern/components/button/button.d.ts +3 -0
- package/build/modern/components/button/button.js +1 -1
- package/build/modern/components/button/index.d.ts +4 -0
- package/build/modern/components/button/index.js +2 -2
- package/build/modern/components/button/parts.d.ts +1 -0
- package/build/modern/components/button/parts.js +2 -2
- package/build/modern/components/checkbox/checkbox-icon.d.ts +1 -0
- package/build/modern/components/checkbox/checkbox.d.ts +2 -0
- package/build/modern/components/checkbox/checkbox.js +2 -2
- package/build/modern/components/checkbox/index.d.ts +9 -0
- package/build/modern/components/checkbox/index.js +2 -2
- package/build/modern/components/checkbox/parts.d.ts +1 -0
- package/build/modern/components/checkbox/primitives.d.ts +6 -0
- package/build/modern/components/combobox/combobox.d.ts +2 -0
- package/build/modern/components/combobox/combobox.js +2 -2
- package/build/modern/components/combobox/index.d.ts +24 -0
- package/build/modern/components/combobox/index.js +6 -6
- package/build/modern/components/combobox/item-group.d.ts +2 -0
- package/build/modern/components/combobox/item.d.ts +1 -0
- package/build/modern/components/combobox/parts.d.ts +1 -0
- package/build/modern/components/combobox/primitives.d.ts +16 -0
- package/build/modern/components/combobox/use-stateful-collection.d.ts +2 -0
- package/build/modern/components/cta-dialog/context.d.ts +3 -0
- package/build/modern/components/cta-dialog/index.d.ts +6 -0
- package/build/modern/components/cta-dialog/index.js +17 -13
- package/build/modern/components/cta-dialog/provider.d.ts +2 -0
- package/build/modern/components/cta-dialog/provider.js +14 -10
- package/build/modern/components/cta-dialog/trigger-item.d.ts +2 -0
- package/build/modern/components/cta-dialog/trigger-item.js +2 -2
- package/build/modern/components/cta-dialog/utils.d.ts +4 -0
- package/build/modern/components/date-picker/calendar.d.ts +1 -0
- package/build/modern/components/date-picker/calendar.js +20 -0
- package/build/modern/components/date-picker/content.d.ts +1 -0
- package/build/modern/components/date-picker/content.js +10 -0
- package/build/modern/components/date-picker/date-picker.d.ts +1 -0
- package/build/modern/components/date-picker/date-picker.js +9 -0
- package/build/modern/components/date-picker/day-view.d.ts +2 -0
- package/build/modern/components/date-picker/day-view.js +16 -0
- package/build/modern/components/date-picker/index.d.ts +30 -0
- package/build/modern/components/date-picker/index.js +86 -0
- package/build/modern/components/date-picker/input.d.ts +1 -0
- package/build/modern/components/date-picker/input.js +12 -0
- package/build/modern/components/date-picker/input.js.map +1 -0
- package/build/modern/components/date-picker/month-view.d.ts +1 -0
- package/build/modern/components/date-picker/month-view.js +16 -0
- package/build/modern/components/date-picker/month-view.js.map +1 -0
- package/build/modern/components/date-picker/parts.d.ts +1 -0
- package/build/modern/components/date-picker/parts.js +8 -0
- package/build/modern/components/date-picker/parts.js.map +1 -0
- package/build/modern/components/date-picker/primitives.d.ts +24 -0
- package/build/modern/components/date-picker/primitives.js +53 -0
- package/build/modern/components/date-picker/primitives.js.map +1 -0
- package/build/modern/components/date-picker/range-input.d.ts +2 -0
- package/build/modern/components/date-picker/range-input.js +13 -0
- package/build/modern/components/date-picker/range-input.js.map +1 -0
- package/build/modern/components/date-picker/trigger.d.ts +1 -0
- package/build/modern/components/date-picker/trigger.js +12 -0
- package/build/modern/components/date-picker/trigger.js.map +1 -0
- package/build/modern/components/date-picker/view-control-group.d.ts +1 -0
- package/build/modern/components/date-picker/view-control-group.js +15 -0
- package/build/modern/components/date-picker/view-control-group.js.map +1 -0
- package/build/modern/components/date-picker/year-view.d.ts +1 -0
- package/build/modern/components/date-picker/year-view.js +16 -0
- package/build/modern/components/date-picker/year-view.js.map +1 -0
- package/build/modern/components/deprecated/FieldMessage.d.ts +3 -0
- package/build/modern/components/deprecated/FieldsetLabel.d.ts +2 -0
- package/build/modern/components/deprecated/Label.d.ts +3 -0
- package/build/modern/components/deprecated/Label.js +3 -3
- package/build/modern/components/deprecated/Legend.d.ts +2 -0
- package/build/modern/components/deprecated/Legend.js +9 -0
- package/build/modern/components/deprecated/Legend.js.map +1 -0
- package/build/modern/components/deprecated/Modal.d.ts +2 -0
- package/build/modern/components/deprecated/ModalDescription.d.ts +2 -0
- package/build/modern/components/deprecated/ModalHeader.d.ts +2 -0
- package/build/modern/components/deprecated/ModalHeading.d.ts +2 -0
- package/build/modern/components/deprecated/NavMenuLink.d.ts +2 -0
- package/build/modern/components/deprecated/NavMenuList.d.ts +3 -0
- package/build/modern/components/deprecated/NavMenuTrigger.d.ts +2 -0
- package/build/modern/components/deprecated/NavMenuTrigger.js +2 -2
- package/build/modern/components/deprecated/Notification.d.ts +3 -0
- package/build/modern/components/deprecated/Notification.js +10 -0
- package/build/modern/components/deprecated/Notification.js.map +1 -0
- package/build/modern/components/deprecated/NotificationDescription.d.ts +3 -0
- package/build/modern/components/deprecated/NotificationDescription.js +7 -0
- package/build/modern/components/deprecated/NotificationDescription.js.map +1 -0
- package/build/modern/components/deprecated/NotificationHeading.d.ts +3 -0
- package/build/modern/components/deprecated/NotificationHeading.js +7 -0
- package/build/modern/components/deprecated/NotificationHeading.js.map +1 -0
- package/build/modern/components/dialog/close-icon-trigger.d.ts +1 -0
- package/build/modern/components/dialog/close-icon-trigger.js +2 -2
- package/build/modern/components/dialog/dialog.d.ts +2 -0
- package/build/modern/components/dialog/index.d.ts +13 -0
- package/build/modern/components/dialog/index.js +6 -6
- package/build/modern/components/dialog/parts.d.ts +1 -0
- package/build/modern/components/dialog/primitives.d.ts +9 -0
- package/build/modern/components/field/field.d.ts +2 -0
- package/build/modern/components/field/field.js +3 -3
- package/build/modern/components/field/index.d.ts +18 -0
- package/build/modern/components/field/index.js +3 -3
- package/build/modern/components/field/parts.d.ts +1 -0
- package/build/modern/components/field/primitives.d.ts +11 -0
- package/build/modern/components/field/start-indicator.d.ts +2 -0
- package/build/modern/components/field/status-indicator.d.ts +2 -0
- package/build/modern/components/fieldset/fieldset.d.ts +2 -0
- package/build/modern/components/fieldset/index.d.ts +7 -0
- package/build/modern/components/fieldset/parts.d.ts +1 -0
- package/build/modern/components/fieldset/primitives.d.ts +4 -0
- package/build/modern/components/for.d.ts +2 -0
- package/build/modern/components/notifications/center.d.ts +3 -0
- package/build/modern/components/notifications/center.js +20 -0
- package/build/modern/components/notifications/center.js.map +1 -0
- package/build/modern/components/notifications/close-trigger.d.ts +1 -0
- package/build/modern/components/notifications/close-trigger.js +11 -0
- package/build/modern/components/notifications/close-trigger.js.map +1 -0
- package/build/modern/components/notifications/index.d.ts +12 -0
- package/build/modern/components/notifications/index.js +37 -0
- package/build/modern/components/notifications/index.js.map +1 -0
- package/build/modern/components/notifications/match-icon.d.ts +1 -0
- package/build/modern/components/notifications/match-icon.js +10 -0
- package/build/modern/components/notifications/match-icon.js.map +1 -0
- package/build/modern/components/notifications/parts.d.ts +1 -0
- package/build/modern/components/notifications/parts.js +8 -0
- package/build/modern/components/notifications/parts.js.map +1 -0
- package/build/modern/components/notifications/primitives.d.ts +6 -0
- package/build/modern/components/notifications/primitives.js +17 -0
- package/build/modern/components/notifications/primitives.js.map +1 -0
- package/build/modern/components/notifications/types.d.ts +2 -0
- package/build/modern/components/notifications/types.js +2 -0
- package/build/modern/components/notifications/types.js.map +1 -0
- package/build/modern/components/radio/index.d.ts +11 -0
- package/build/modern/components/radio/index.js +3 -3
- package/build/modern/components/radio/parts.d.ts +1 -0
- package/build/modern/components/radio/primitives.d.ts +8 -0
- package/build/modern/components/radio/radio.d.ts +2 -0
- package/build/modern/components/rating/index.d.ts +12 -0
- package/build/modern/components/rating/index.js +2 -2
- package/build/modern/components/rating/parts.d.ts +1 -0
- package/build/modern/components/rating/primitives.d.ts +7 -0
- package/build/modern/components/rating/rating.d.ts +2 -0
- package/build/modern/components/rating/rating.js +2 -2
- package/build/modern/components/select/index.d.ts +28 -0
- package/build/modern/components/select/index.js +2 -2
- package/build/modern/components/select/option-group.d.ts +2 -0
- package/build/modern/components/select/parts.d.ts +1 -0
- package/build/modern/components/select/primitives.d.ts +18 -0
- package/build/modern/components/select/select.d.ts +7 -0
- package/build/modern/components/select/select.js +2 -2
- package/build/modern/components/switch/index.d.ts +8 -0
- package/build/modern/components/switch/index.js +2 -2
- package/build/modern/components/switch/parts.d.ts +1 -0
- package/build/modern/components/switch/parts.js +1 -1
- package/build/modern/components/switch/primitives.d.ts +5 -0
- package/build/modern/components/switch/switch-indicator.d.ts +1 -0
- package/build/modern/components/switch/switch.d.ts +2 -0
- package/build/modern/components/switch/switch.js +2 -2
- package/build/modern/components/table/index.d.ts +13 -0
- package/build/modern/components/table/index.js +35 -0
- package/build/modern/components/table/index.js.map +1 -0
- package/build/modern/components/table/parts.d.ts +2 -0
- package/build/modern/components/table/parts.js +8 -0
- package/build/modern/components/table/parts.js.map +1 -0
- package/build/modern/components/table/primitives.d.ts +10 -0
- package/build/modern/components/table/primitives.js +25 -0
- package/build/modern/components/table/primitives.js.map +1 -0
- package/build/modern/components/table/table.d.ts +1 -0
- package/build/modern/components/table/table.js +9 -0
- package/build/modern/components/table/table.js.map +1 -0
- package/build/modern/components/tabs/index.d.ts +8 -0
- package/build/modern/components/tabs/index.js +24 -0
- package/build/modern/components/tabs/index.js.map +1 -0
- package/build/modern/components/tabs/parts.d.ts +2 -0
- package/build/modern/components/tabs/parts.js +8 -0
- package/build/modern/components/tabs/parts.js.map +1 -0
- package/build/modern/components/tabs/primitives.d.ts +5 -0
- package/build/modern/components/tabs/primitives.js +15 -0
- package/build/modern/components/tabs/primitives.js.map +1 -0
- package/build/modern/components/tabs/tabs.d.ts +1 -0
- package/build/modern/components/tabs/tabs.js +9 -0
- package/build/modern/components/tabs/tabs.js.map +1 -0
- package/build/modern/components/toggle/index.d.ts +3 -0
- package/build/modern/components/toggle/parts.d.ts +1 -0
- package/build/modern/components/toggle/primitives.d.ts +2 -0
- package/build/modern/config/defineIcons.d.ts +1 -0
- package/build/modern/config/defineIcons.js +2 -2
- package/build/modern/config/icons/checkbox.icons.d.ts +4 -0
- package/build/modern/config/index.d.ts +5 -0
- package/build/modern/config/index.js +2 -2
- package/build/modern/config/types.d.ts +3 -0
- package/build/modern/context/cerberus.d.ts +2 -0
- package/build/modern/context/confirm-modal.d.ts +9 -0
- package/build/modern/context/confirm-modal.js +12 -8
- package/build/modern/context/feature-flags.d.ts +4 -0
- package/build/modern/context/field.d.ts +3 -0
- package/build/modern/context/navMenu.d.ts +5 -0
- package/build/modern/context/notification-center/store.d.ts +5 -0
- package/build/modern/context/notification-center/types.d.ts +6 -0
- package/build/modern/context/notification-center.d.ts +5 -0
- package/build/modern/context/notification-center.js +176 -13
- package/build/modern/context/notification-center.js.map +1 -1
- package/build/modern/context/prompt-modal.d.ts +6 -0
- package/build/modern/context/prompt-modal.js +14 -12
- package/build/modern/context/theme.d.ts +7 -0
- package/build/modern/hooks/useDate.d.ts +8 -0
- package/build/modern/hooks/useModal.d.ts +2 -0
- package/build/modern/hooks/useRootColors.d.ts +2 -0
- package/build/modern/hooks/useTheme.d.ts +4 -0
- package/build/modern/hooks/useToggle.d.ts +3 -0
- package/build/modern/index.d.ts +462 -0
- package/build/modern/index.js +407 -333
- package/build/modern/index.js.map +1 -1
- package/build/modern/types.d.ts +1 -0
- package/build/modern/utils/index.d.ts +4 -0
- package/build/modern/utils/localStorage.d.ts +2 -0
- package/package.json +4 -6
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/AnimatingUploadIcon.tsx +2 -2
- package/src/components/FileStatus.tsx +2 -4
- package/src/components/FileUploader.tsx +2 -8
- package/src/components/IconButton.tsx +3 -4
- package/src/components/ProgressBar.tsx +5 -5
- package/src/components/Tag.tsx +16 -24
- package/src/components/admonition/match-avatar.tsx +7 -39
- package/src/components/avatar/avatar.tsx +55 -0
- package/src/components/avatar/index.ts +5 -0
- package/src/components/avatar/parts.ts +37 -0
- package/src/components/avatar/primitives.tsx +53 -0
- package/src/components/button/button.tsx +4 -4
- package/src/components/cta-dialog/provider.tsx +2 -4
- package/src/components/date-picker/calendar.tsx +34 -0
- package/src/components/date-picker/content.tsx +29 -0
- package/src/components/date-picker/date-picker.tsx +32 -0
- package/src/components/date-picker/day-view.tsx +82 -0
- package/src/components/date-picker/index.ts +6 -0
- package/src/components/date-picker/input.tsx +26 -0
- package/src/components/date-picker/month-view.tsx +51 -0
- package/src/components/date-picker/parts.ts +167 -0
- package/src/components/date-picker/primitives.tsx +232 -0
- package/src/components/date-picker/range-input.tsx +53 -0
- package/src/components/date-picker/trigger.tsx +28 -0
- package/src/components/date-picker/view-control-group.tsx +54 -0
- package/src/components/date-picker/year-view.tsx +49 -0
- package/src/components/{Legend.tsx → deprecated/Legend.tsx} +3 -34
- package/src/components/{Notification.tsx → deprecated/Notification.tsx} +3 -15
- package/src/components/{NotificationDescription.tsx → deprecated/NotificationDescription.tsx} +1 -4
- package/src/components/{NotificationHeading.tsx → deprecated/NotificationHeading.tsx} +1 -4
- package/src/components/notifications/center.tsx +74 -0
- package/src/components/notifications/close-trigger.tsx +21 -0
- package/src/components/notifications/index.ts +4 -0
- package/src/components/notifications/match-icon.tsx +37 -0
- package/src/components/notifications/parts.ts +53 -0
- package/src/components/notifications/primitives.tsx +74 -0
- package/src/components/notifications/types.ts +32 -0
- package/src/components/switch/parts.ts +3 -3
- package/src/components/table/index.ts +3 -0
- package/src/components/table/parts.ts +83 -0
- package/src/components/table/primitives.tsx +163 -0
- package/src/components/table/table.tsx +75 -0
- package/src/components/tabs/index.ts +3 -0
- package/src/components/tabs/parts.ts +53 -0
- package/src/components/tabs/primitives.tsx +70 -0
- package/src/components/tabs/tabs.tsx +48 -0
- package/src/context/confirm-modal.tsx +3 -7
- package/src/context/notification-center.tsx +6 -38
- package/src/context/prompt-modal.tsx +3 -7
- package/src/index.ts +8 -17
- package/build/legacy/components/Avatar.cjs +0 -146
- package/build/legacy/components/Avatar.cjs.map +0 -1
- package/build/legacy/components/DatePicker.client.cjs +0 -341
- package/build/legacy/components/DatePicker.client.cjs.map +0 -1
- package/build/legacy/components/DatePicker.server.cjs +0 -111
- package/build/legacy/components/DatePicker.server.cjs.map +0 -1
- package/build/legacy/components/Legend.cjs.map +0 -1
- package/build/legacy/components/Notification.cjs.map +0 -1
- package/build/legacy/components/NotificationDescription.cjs.map +0 -1
- package/build/legacy/components/NotificationHeading.cjs.map +0 -1
- package/build/legacy/components/Table.cjs +0 -53
- package/build/legacy/components/Table.cjs.map +0 -1
- package/build/legacy/components/Tabs.client.cjs +0 -104
- package/build/legacy/components/Tabs.client.cjs.map +0 -1
- package/build/legacy/components/Tbody.cjs +0 -48
- package/build/legacy/components/Tbody.cjs.map +0 -1
- package/build/legacy/components/Td.cjs +0 -48
- package/build/legacy/components/Td.cjs.map +0 -1
- package/build/legacy/components/Th.cjs +0 -84
- package/build/legacy/components/Th.cjs.map +0 -1
- package/build/legacy/components/Thead.cjs +0 -36
- package/build/legacy/components/Thead.cjs.map +0 -1
- package/build/legacy/context/tabs.cjs +0 -107
- package/build/legacy/context/tabs.cjs.map +0 -1
- package/build/legacy/noExternals.d.cts +0 -1
- package/build/modern/chunk-2KPSUYFL.js +0 -204
- package/build/modern/chunk-2KPSUYFL.js.map +0 -1
- package/build/modern/chunk-3R4TIF2X.js +0 -24
- package/build/modern/chunk-3R4TIF2X.js.map +0 -1
- package/build/modern/chunk-5EWCH7AI.js +0 -82
- package/build/modern/chunk-5EWCH7AI.js.map +0 -1
- package/build/modern/chunk-6KZVE4HC.js.map +0 -1
- package/build/modern/chunk-7SU6FCTJ.js.map +0 -1
- package/build/modern/chunk-A45TFOGO.js.map +0 -1
- package/build/modern/chunk-AAGQR6B4.js +0 -180
- package/build/modern/chunk-AAGQR6B4.js.map +0 -1
- package/build/modern/chunk-APD6IX5R.js.map +0 -1
- package/build/modern/chunk-B4CVET74.js +0 -28
- package/build/modern/chunk-B4CVET74.js.map +0 -1
- package/build/modern/chunk-EKZENP7X.js.map +0 -1
- package/build/modern/chunk-EQPYRZ3X.js.map +0 -1
- package/build/modern/chunk-KQQPZJEI.js.map +0 -1
- package/build/modern/chunk-MISIUX63.js.map +0 -1
- package/build/modern/chunk-N7O6D7BW.js +0 -63
- package/build/modern/chunk-N7O6D7BW.js.map +0 -1
- package/build/modern/chunk-RBNOEAWJ.js.map +0 -1
- package/build/modern/chunk-RDRD6ACD.js.map +0 -1
- package/build/modern/chunk-RZ7NG77U.js +0 -77
- package/build/modern/chunk-RZ7NG77U.js.map +0 -1
- package/build/modern/chunk-SGKHA4EB.js +0 -50
- package/build/modern/chunk-SGKHA4EB.js.map +0 -1
- package/build/modern/chunk-SLHYBPJ5.js.map +0 -1
- package/build/modern/chunk-SXLPDPOZ.js +0 -105
- package/build/modern/chunk-SXLPDPOZ.js.map +0 -1
- package/build/modern/chunk-TM6TVO2D.js +0 -78
- package/build/modern/chunk-TM6TVO2D.js.map +0 -1
- package/build/modern/chunk-UXY3KCC3.js.map +0 -1
- package/build/modern/chunk-WZJ5UQNM.js.map +0 -1
- package/build/modern/chunk-XYDJ5TRW.js.map +0 -1
- package/build/modern/chunk-Y6QQCRQV.js +0 -12
- package/build/modern/chunk-Y6QQCRQV.js.map +0 -1
- package/build/modern/chunk-ZR37P4NZ.js +0 -24
- package/build/modern/chunk-ZR37P4NZ.js.map +0 -1
- package/build/modern/components/Avatar.js +0 -10
- package/build/modern/components/DatePicker.client.js +0 -33
- package/build/modern/components/DatePicker.server.js +0 -21
- package/build/modern/components/Legend.js +0 -9
- package/build/modern/components/Notification.js +0 -10
- package/build/modern/components/NotificationDescription.js +0 -7
- package/build/modern/components/NotificationHeading.js +0 -7
- package/build/modern/components/Table.js +0 -9
- package/build/modern/components/Tabs.client.js +0 -18
- package/build/modern/components/Tbody.js +0 -7
- package/build/modern/components/Td.js +0 -7
- package/build/modern/components/Th.js +0 -9
- package/build/modern/components/Thead.js +0 -7
- package/build/modern/context/tabs.js +0 -13
- package/build/modern/noExternals.d.ts +0 -1
- package/src/components/Avatar.tsx +0 -162
- package/src/components/DatePicker.client.tsx +0 -449
- package/src/components/DatePicker.server.tsx +0 -156
- package/src/components/Table.tsx +0 -61
- package/src/components/Tabs.client.tsx +0 -113
- package/src/components/Tbody.tsx +0 -36
- package/src/components/Td.tsx +0 -34
- package/src/components/Th.tsx +0 -73
- package/src/components/Thead.tsx +0 -24
- package/src/context/tabs.tsx +0 -133
- /package/build/modern/{chunk-EKIAT7N7.js.map → chunk-2LP4KQYQ.js.map} +0 -0
- /package/build/modern/{chunk-FWVFM7RK.js.map → chunk-4HUK7YNZ.js.map} +0 -0
- /package/build/modern/{components/Avatar.js.map → chunk-4HVKAHBX.js.map} +0 -0
- /package/build/modern/{chunk-572S5CLA.js.map → chunk-7OYOT5LK.js.map} +0 -0
- /package/build/modern/{chunk-245SMQ45.js.map → chunk-CHSC2LEM.js.map} +0 -0
- /package/build/modern/{chunk-NTU5OYUF.js.map → chunk-FBS7AX76.js.map} +0 -0
- /package/build/modern/{chunk-NZKE7C53.js.map → chunk-GVU6L6CZ.js.map} +0 -0
- /package/build/modern/{components/DatePicker.client.js.map → chunk-IOLYX3SY.js.map} +0 -0
- /package/build/modern/{chunk-2BIHLH4V.js.map → chunk-JAAMD5EH.js.map} +0 -0
- /package/build/modern/{chunk-OVHCXBBI.js.map → chunk-JOM5AAVW.js.map} +0 -0
- /package/build/modern/{chunk-6OJ27QWV.js.map → chunk-JWF7FK7T.js.map} +0 -0
- /package/build/modern/{components/DatePicker.server.js.map → chunk-M6WOFFOA.js.map} +0 -0
- /package/build/modern/{chunk-5SNLQZYP.js.map → chunk-M7T3MBFB.js.map} +0 -0
- /package/build/modern/{components/Legend.js.map → chunk-MV2AU6UV.js.map} +0 -0
- /package/build/modern/{chunk-UNRQAXLJ.js.map → chunk-NHBL7NNP.js.map} +0 -0
- /package/build/modern/{chunk-XTIIAYPU.js.map → chunk-QQCB6JXW.js.map} +0 -0
- /package/build/modern/{chunk-MVO2GNUA.js.map → chunk-TNSIYRF7.js.map} +0 -0
- /package/build/modern/{components/Notification.js.map → chunk-U3ISYEUF.js.map} +0 -0
- /package/build/modern/{chunk-YLKFZGBY.js.map → chunk-Z5K4J4MS.js.map} +0 -0
- /package/build/modern/components/{NotificationDescription.js.map → avatar/avatar.js.map} +0 -0
- /package/build/modern/components/{NotificationHeading.js.map → avatar/index.js.map} +0 -0
- /package/build/modern/components/{Table.js.map → avatar/parts.js.map} +0 -0
- /package/build/modern/components/{Tabs.client.js.map → avatar/primitives.js.map} +0 -0
- /package/build/modern/components/{Tbody.js.map → date-picker/calendar.js.map} +0 -0
- /package/build/modern/components/{Td.js.map → date-picker/content.js.map} +0 -0
- /package/build/modern/components/{Th.js.map → date-picker/date-picker.js.map} +0 -0
- /package/build/modern/components/{Thead.js.map → date-picker/day-view.js.map} +0 -0
- /package/build/modern/{context/tabs.js.map → components/date-picker/index.js.map} +0 -0
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
"use client";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/components/date-picker/range-input.tsx
|
|
22
|
+
var range_input_exports = {};
|
|
23
|
+
__export(range_input_exports, {
|
|
24
|
+
RangePickerInput: () => RangePickerInput
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(range_input_exports);
|
|
27
|
+
var import_react2 = require("react");
|
|
28
|
+
|
|
29
|
+
// src/components/date-picker/primitives.tsx
|
|
30
|
+
var import_date_picker = require("@ark-ui/react/date-picker");
|
|
31
|
+
var import_css = require("@cerberus/styled-system/css");
|
|
32
|
+
var import_recipes = require("@cerberus/styled-system/recipes");
|
|
33
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
34
|
+
function DatePickerLabel(props) {
|
|
35
|
+
const styles = (0, import_recipes.datePicker)();
|
|
36
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
37
|
+
import_date_picker.DatePicker.Label,
|
|
38
|
+
{
|
|
39
|
+
...props,
|
|
40
|
+
className: (0, import_css.cx)(styles.label, props.className)
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
function DatePickerControl(props) {
|
|
45
|
+
const styles = (0, import_recipes.datePicker)();
|
|
46
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
47
|
+
import_date_picker.DatePicker.Control,
|
|
48
|
+
{
|
|
49
|
+
...props,
|
|
50
|
+
className: (0, import_css.cx)(styles.control, props.className)
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
function DatePickerInputEl(props) {
|
|
55
|
+
const styles = (0, import_recipes.datePicker)();
|
|
56
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
57
|
+
import_date_picker.DatePicker.Input,
|
|
58
|
+
{
|
|
59
|
+
...props,
|
|
60
|
+
className: (0, import_css.cx)(styles.input, props.className)
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
function DatePickerTrigger(props) {
|
|
65
|
+
const styles = (0, import_recipes.datePicker)();
|
|
66
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
67
|
+
import_date_picker.DatePicker.Trigger,
|
|
68
|
+
{
|
|
69
|
+
...props,
|
|
70
|
+
className: (0, import_css.cx)(styles.trigger, props.className)
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
function DatePickerContent(props) {
|
|
75
|
+
const styles = (0, import_recipes.datePicker)();
|
|
76
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
77
|
+
import_date_picker.DatePicker.Content,
|
|
78
|
+
{
|
|
79
|
+
...props,
|
|
80
|
+
className: (0, import_css.cx)(styles.content, props.className)
|
|
81
|
+
}
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
function DatePickerViewControl(props) {
|
|
85
|
+
const styles = (0, import_recipes.datePicker)();
|
|
86
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
87
|
+
import_date_picker.DatePicker.Control,
|
|
88
|
+
{
|
|
89
|
+
...props,
|
|
90
|
+
className: (0, import_css.cx)(styles.viewControl, props.className)
|
|
91
|
+
}
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
function DatePickerRangeText(props) {
|
|
95
|
+
const styles = (0, import_recipes.datePicker)();
|
|
96
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
97
|
+
import_date_picker.DatePicker.RangeText,
|
|
98
|
+
{
|
|
99
|
+
...props,
|
|
100
|
+
className: (0, import_css.cx)(styles.rangeText, props.className)
|
|
101
|
+
}
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
function DatePickerTable(props) {
|
|
105
|
+
const styles = (0, import_recipes.datePicker)();
|
|
106
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
107
|
+
import_date_picker.DatePicker.Table,
|
|
108
|
+
{
|
|
109
|
+
...props,
|
|
110
|
+
className: (0, import_css.cx)(styles.table, props.className)
|
|
111
|
+
}
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
function DatePickerTableHeader(props) {
|
|
115
|
+
const styles = (0, import_recipes.datePicker)();
|
|
116
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
117
|
+
import_date_picker.DatePicker.TableHeader,
|
|
118
|
+
{
|
|
119
|
+
...props,
|
|
120
|
+
className: (0, import_css.cx)(styles.tableHeader, props.className)
|
|
121
|
+
}
|
|
122
|
+
);
|
|
123
|
+
}
|
|
124
|
+
function DatePickerTableCell(props) {
|
|
125
|
+
const styles = (0, import_recipes.datePicker)();
|
|
126
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
127
|
+
import_date_picker.DatePicker.TableCell,
|
|
128
|
+
{
|
|
129
|
+
...props,
|
|
130
|
+
className: (0, import_css.cx)(styles.tableCell, props.className)
|
|
131
|
+
}
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
function DatePickerTableCellTrigger(props) {
|
|
135
|
+
const styles = (0, import_recipes.datePicker)();
|
|
136
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
137
|
+
import_date_picker.DatePicker.TableCellTrigger,
|
|
138
|
+
{
|
|
139
|
+
...props,
|
|
140
|
+
className: (0, import_css.cx)(styles.tableCellTrigger, props.className)
|
|
141
|
+
}
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
var DatePickerRoot = import_date_picker.DatePicker.Root;
|
|
145
|
+
var DatePickerClearTrigger = import_date_picker.DatePicker.ClearTrigger;
|
|
146
|
+
var DatePickerPositioner = import_date_picker.DatePicker.Positioner;
|
|
147
|
+
var DatePickerYearSelect = import_date_picker.DatePicker.YearSelect;
|
|
148
|
+
var DatePickerMonthSelect = import_date_picker.DatePicker.MonthSelect;
|
|
149
|
+
var DatePickerView = import_date_picker.DatePicker.View;
|
|
150
|
+
var DatePickerContext = import_date_picker.DatePicker.Context;
|
|
151
|
+
var DatePickerPrevTrigger = import_date_picker.DatePicker.PrevTrigger;
|
|
152
|
+
var DatePickerNextTrigger = import_date_picker.DatePicker.NextTrigger;
|
|
153
|
+
var DatePickerViewTrigger = import_date_picker.DatePicker.ViewTrigger;
|
|
154
|
+
var DatePickerTableHead = import_date_picker.DatePicker.TableHead;
|
|
155
|
+
var DatePickerTableRow = import_date_picker.DatePicker.TableRow;
|
|
156
|
+
var DatePickerTableBody = import_date_picker.DatePicker.TableBody;
|
|
157
|
+
|
|
158
|
+
// src/components/date-picker/parts.ts
|
|
159
|
+
var DatePickerParts = {
|
|
160
|
+
Root: DatePickerRoot,
|
|
161
|
+
Label: DatePickerLabel,
|
|
162
|
+
Control: DatePickerControl,
|
|
163
|
+
Input: DatePickerInputEl,
|
|
164
|
+
Trigger: DatePickerTrigger,
|
|
165
|
+
ClearTrigger: DatePickerClearTrigger,
|
|
166
|
+
Positioner: DatePickerPositioner,
|
|
167
|
+
Content: DatePickerContent,
|
|
168
|
+
YearSelect: DatePickerYearSelect,
|
|
169
|
+
MonthSelect: DatePickerMonthSelect,
|
|
170
|
+
View: DatePickerView,
|
|
171
|
+
Context: DatePickerContext,
|
|
172
|
+
ViewControl: DatePickerViewControl,
|
|
173
|
+
PrevTrigger: DatePickerPrevTrigger,
|
|
174
|
+
NextTrigger: DatePickerNextTrigger,
|
|
175
|
+
ViewTrigger: DatePickerViewTrigger,
|
|
176
|
+
RangeText: DatePickerRangeText,
|
|
177
|
+
Table: DatePickerTable,
|
|
178
|
+
TableHead: DatePickerTableHead,
|
|
179
|
+
TableRow: DatePickerTableRow,
|
|
180
|
+
TableHeader: DatePickerTableHeader,
|
|
181
|
+
TableBody: DatePickerTableBody,
|
|
182
|
+
TableCell: DatePickerTableCell,
|
|
183
|
+
TableCellTrigger: DatePickerTableCellTrigger
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
// src/context/cerberus.tsx
|
|
187
|
+
var import_react = require("react");
|
|
188
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
189
|
+
var CerberusContext = (0, import_react.createContext)(null);
|
|
190
|
+
function useCerberusContext() {
|
|
191
|
+
const context = (0, import_react.useContext)(CerberusContext);
|
|
192
|
+
if (!context) {
|
|
193
|
+
throw new Error("useCerberus must be used within a CerberusProvider");
|
|
194
|
+
}
|
|
195
|
+
return context;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
// src/components/IconButton.tsx
|
|
199
|
+
var import_factory = require("@ark-ui/react/factory");
|
|
200
|
+
var import_css2 = require("@cerberus/styled-system/css");
|
|
201
|
+
var import_recipes2 = require("@cerberus/styled-system/recipes");
|
|
202
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
203
|
+
function IconButton(props) {
|
|
204
|
+
const { ariaLabel, palette, usage, size, ...nativeProps } = props;
|
|
205
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
206
|
+
import_factory.ark.button,
|
|
207
|
+
{
|
|
208
|
+
...nativeProps,
|
|
209
|
+
"aria-label": ariaLabel ?? "Icon Button",
|
|
210
|
+
className: (0, import_css2.cx)(
|
|
211
|
+
nativeProps.className,
|
|
212
|
+
(0, import_recipes2.iconButton)({
|
|
213
|
+
palette,
|
|
214
|
+
usage,
|
|
215
|
+
size
|
|
216
|
+
})
|
|
217
|
+
)
|
|
218
|
+
}
|
|
219
|
+
);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
// src/components/date-picker/trigger.tsx
|
|
223
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
224
|
+
function DatePickerTrigger2(props) {
|
|
225
|
+
const { icons } = useCerberusContext();
|
|
226
|
+
const { calendar: CalendarIcon } = icons;
|
|
227
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(DatePickerParts.Trigger, { ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(IconButton, { ariaLabel: "Open calendar", size: "sm", usage: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(CalendarIcon, {}) }) });
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
// src/components/date-picker/range-input.tsx
|
|
231
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
232
|
+
function RangePickerInput(props) {
|
|
233
|
+
const { defaultValue, ...nativeProps } = props;
|
|
234
|
+
const startDate = (0, import_react2.useMemo)(() => defaultValue == null ? void 0 : defaultValue[0], [defaultValue]);
|
|
235
|
+
const endDate = (0, import_react2.useMemo)(() => defaultValue == null ? void 0 : defaultValue[1], [defaultValue]);
|
|
236
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(DatePickerParts.Control, { "data-range": true, children: [
|
|
237
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(DatePickerTrigger2, {}),
|
|
238
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
239
|
+
DatePickerParts.Input,
|
|
240
|
+
{
|
|
241
|
+
...nativeProps,
|
|
242
|
+
"data-range-input": true,
|
|
243
|
+
defaultValue: startDate,
|
|
244
|
+
placeholder: props.placeholder ?? "DD MMM YYYY",
|
|
245
|
+
maxLength: 11,
|
|
246
|
+
index: 0
|
|
247
|
+
}
|
|
248
|
+
),
|
|
249
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
250
|
+
DatePickerParts.Input,
|
|
251
|
+
{
|
|
252
|
+
...nativeProps,
|
|
253
|
+
"data-range-input": true,
|
|
254
|
+
defaultValue: endDate,
|
|
255
|
+
"data-range-end-input": true,
|
|
256
|
+
placeholder: props.placeholder ?? "DD MMM YYYY",
|
|
257
|
+
maxLength: 11,
|
|
258
|
+
index: 1
|
|
259
|
+
}
|
|
260
|
+
)
|
|
261
|
+
] });
|
|
262
|
+
}
|
|
263
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
264
|
+
0 && (module.exports = {
|
|
265
|
+
RangePickerInput
|
|
266
|
+
});
|
|
267
|
+
//# sourceMappingURL=range-input.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/date-picker/range-input.tsx","../../../../src/components/date-picker/primitives.tsx","../../../../src/components/date-picker/parts.ts","../../../../src/context/cerberus.tsx","../../../../src/components/IconButton.tsx","../../../../src/components/date-picker/trigger.tsx"],"sourcesContent":["'use client'\n\nimport type { DatePickerInputProps } from '@ark-ui/react/date-picker'\nimport { useMemo, type InputHTMLAttributes } from 'react'\nimport { DatePickerParts } from './parts'\nimport { DatePickerTrigger } from './trigger'\n\nexport interface RangePickerInputProps\n extends Omit<DatePickerInputProps, 'defaultValue'> {\n /**\n * The defaultValue to add for the inputs. The first item is the start date\n * and the second item is the end date.\n */\n defaultValue?: [\n InputHTMLAttributes<HTMLInputElement>['defaultValue'],\n InputHTMLAttributes<HTMLInputElement>['defaultValue'],\n ]\n}\n\n/**\n * An abstraction of the DatePicker input that wraps the input and the\n * triggers to open the DatePicker and clear the value.\n * @definition [datePicker docs](https://cerberus.digitalu.design/react/date-picker)\n */\nexport function RangePickerInput(props: RangePickerInputProps) {\n const { defaultValue, ...nativeProps } = props\n\n const startDate = useMemo(() => defaultValue?.[0], [defaultValue])\n const endDate = useMemo(() => defaultValue?.[1], [defaultValue])\n\n return (\n <DatePickerParts.Control data-range>\n <DatePickerTrigger />\n <DatePickerParts.Input\n {...nativeProps}\n data-range-input\n defaultValue={startDate}\n placeholder={props.placeholder ?? 'DD MMM YYYY'}\n maxLength={11}\n index={0}\n />\n <DatePickerParts.Input\n {...nativeProps}\n data-range-input\n defaultValue={endDate}\n data-range-end-input\n placeholder={props.placeholder ?? 'DD MMM YYYY'}\n maxLength={11}\n index={1}\n />\n </DatePickerParts.Control>\n )\n}\n","import {\n DatePicker,\n type DatePickerContentProps,\n type DatePickerControlProps,\n type DatePickerInputProps,\n type DatePickerLabelProps,\n type DatePickerRangeTextProps,\n type DatePickerTableCellProps,\n type DatePickerTableCellTriggerProps,\n type DatePickerTableHeaderProps,\n type DatePickerTableProps,\n type DatePickerTriggerProps,\n type DatePickerViewControlProps,\n} from '@ark-ui/react/date-picker'\nimport { cx } from '@cerberus/styled-system/css'\nimport { datePicker } from '@cerberus/styled-system/recipes'\n\n/**\n * This module contains the DatePicker primitives.\n * @module 'date-picker/primitives'\n */\n\n/**\n * The label component for the DatePicker.\n */\nexport function DatePickerLabel(props: DatePickerLabelProps) {\n const styles = datePicker()\n return (\n <DatePicker.Label\n {...props}\n className={cx(styles.label, props.className)}\n />\n )\n}\n\n/**\n * The control component for the DatePicker which wraps the input and the\n * triggers to open the DatePicker and clear the value.\n */\nexport function DatePickerControl(props: DatePickerControlProps) {\n const styles = datePicker()\n return (\n <DatePicker.Control\n {...props}\n className={cx(styles.control, props.className)}\n />\n )\n}\n\n/**\n * The input component for the DatePicker.\n */\nexport function DatePickerInputEl(props: DatePickerInputProps) {\n const styles = datePicker()\n return (\n <DatePicker.Input\n {...props}\n className={cx(styles.input, props.className)}\n />\n )\n}\n\n/**\n * The trigger component that opens the DatePicker.\n */\nexport function DatePickerTrigger(props: DatePickerTriggerProps) {\n const styles = datePicker()\n return (\n <DatePicker.Trigger\n {...props}\n className={cx(styles.trigger, props.className)}\n />\n )\n}\n\n/**\n * The content component for the DatePicker.\n */\nexport function DatePickerContent(props: DatePickerContentProps) {\n const styles = datePicker()\n return (\n <DatePicker.Content\n {...props}\n className={cx(styles.content, props.className)}\n />\n )\n}\n\n/**\n * The view control component for the DatePicker which wraps the triggers to\n * switch between calendar views.\n */\nexport function DatePickerViewControl(props: DatePickerViewControlProps) {\n const styles = datePicker()\n return (\n <DatePicker.Control\n {...props}\n className={cx(styles.viewControl, props.className)}\n />\n )\n}\n\n/**\n * The range text component for the DatePicker.\n */\nexport function DatePickerRangeText(props: DatePickerRangeTextProps) {\n const styles = datePicker()\n return (\n <DatePicker.RangeText\n {...props}\n className={cx(styles.rangeText, props.className)}\n />\n )\n}\n\n/**\n * The table component for the DatePicker.\n */\nexport function DatePickerTable(props: DatePickerTableProps) {\n const styles = datePicker()\n return (\n <DatePicker.Table\n {...props}\n className={cx(styles.table, props.className)}\n />\n )\n}\n\n/**\n * The header component for the DatePicker table.\n */\nexport function DatePickerTableHeader(props: DatePickerTableHeaderProps) {\n const styles = datePicker()\n return (\n <DatePicker.TableHeader\n {...props}\n className={cx(styles.tableHeader, props.className)}\n />\n )\n}\n\n/**\n * The table cell component for the DatePicker.\n */\nexport function DatePickerTableCell(props: DatePickerTableCellProps) {\n const styles = datePicker()\n return (\n <DatePicker.TableCell\n {...props}\n className={cx(styles.tableCell, props.className)}\n />\n )\n}\n\n/**\n * The table cell trigger component for the DatePicker.\n */\nexport function DatePickerTableCellTrigger(\n props: DatePickerTableCellTriggerProps,\n) {\n const styles = datePicker()\n return (\n <DatePicker.TableCellTrigger\n {...props}\n className={cx(styles.tableCellTrigger, props.className)}\n />\n )\n}\n\n/**\n * The root component of the DatePicker. This primitive has no Cerberus styles.\n */\nexport const DatePickerRoot = DatePicker.Root\n/**\n * The label component of the DatePicker. This primitive has no Cerberus styles.\n */\nexport const DatePickerClearTrigger = DatePicker.ClearTrigger\n/**\n * The control component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport const DatePickerPositioner = DatePicker.Positioner\n/**\n * The year select input component of the DatePicker. This primitive has no\n * Cerberus styles.\n */\nexport const DatePickerYearSelect = DatePicker.YearSelect\n/**\n * The month select input component of the DatePicker. This primitive has no\n * Cerberus styles.\n */\nexport const DatePickerMonthSelect = DatePicker.MonthSelect\n/**\n * The day view component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport const DatePickerView = DatePicker.View\n/**\n * The day context component of the DatePicker. This primitive has no\n * Cerberus styles.\n */\nexport const DatePickerContext = DatePicker.Context\n/**\n * The trigger component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport const DatePickerPrevTrigger = DatePicker.PrevTrigger\n/**\n * The trigger component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport const DatePickerNextTrigger = DatePicker.NextTrigger\n/**\n * The trigger component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport const DatePickerViewTrigger = DatePicker.ViewTrigger\n/**\n * The table head component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport const DatePickerTableHead = DatePicker.TableHead\n/**\n * The table row component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport const DatePickerTableRow = DatePicker.TableRow\n/**\n * The table body component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport const DatePickerTableBody = DatePicker.TableBody\n","import type { ElementType } from 'react'\nimport {\n DatePickerClearTrigger,\n DatePickerContent,\n DatePickerContext,\n DatePickerControl,\n DatePickerInputEl,\n DatePickerLabel,\n DatePickerMonthSelect,\n DatePickerNextTrigger,\n DatePickerPositioner,\n DatePickerPrevTrigger,\n DatePickerRangeText,\n DatePickerRoot,\n DatePickerTable,\n DatePickerTableBody,\n DatePickerTableCell,\n DatePickerTableCellTrigger,\n DatePickerTableHead,\n DatePickerTableHeader,\n DatePickerTableRow,\n DatePickerTrigger,\n DatePickerView,\n DatePickerViewControl,\n DatePickerViewTrigger,\n DatePickerYearSelect,\n} from './primitives'\n\n/**\n * This module contains the parts of the DatePicker component.\n * @module 'date-picker/parts'\n */\n\ninterface DatePickerPartsValue {\n /**\n * The container of the date-picker.\n */\n Root: ElementType\n /**\n * The label of the date-picker.\n */\n Label: ElementType\n /**\n * The control of the date-picker.\n */\n Control: ElementType\n /**\n * The input of the date-picker.\n */\n Input: ElementType\n /**\n * The trigger that opens the date-picker.\n */\n Trigger: ElementType\n /**\n * The trigger that clears the value of the date-picker.\n */\n ClearTrigger: ElementType\n /**\n * The positioner of the content for the date-picker.\n */\n Positioner: ElementType\n /**\n * The content of the date-picker.\n */\n Content: ElementType\n /**\n * The year select input of the date-picker.\n */\n YearSelect: ElementType\n /**\n * The month select input of the date-picker.\n */\n MonthSelect: ElementType\n /**\n * The day view of the date-picker.\n */\n View: ElementType\n /**\n * The day context of the date-picker.\n */\n Context: ElementType\n /**\n * The container for the content triggers.\n */\n ViewControl: ElementType\n /**\n * The trigger that moves to the previous month.\n */\n PrevTrigger: ElementType\n /**\n * The trigger that moves to the next month.\n */\n NextTrigger: ElementType\n /**\n * The trigger that moves to the next view.\n */\n ViewTrigger: ElementType\n /**\n * The range text of the date-picker.\n */\n RangeText: ElementType\n /**\n * The table of the date-picker.\n */\n Table: ElementType\n /**\n * The table head of the date-picker.\n */\n TableHead: ElementType\n /**\n * The table row of the date-picker.\n */\n TableRow: ElementType\n /**\n * The header text for the table.\n */\n TableHeader: ElementType\n /**\n * The body of the table.\n */\n TableBody: ElementType\n /**\n * The table cell of the table.\n */\n TableCell: ElementType\n /**\n * The trigger for the table cell.\n */\n TableCellTrigger: ElementType\n}\n\n/**\n * An Object containing the parts of the DatePicker component. For users that\n * prefer Object component syntax.\n *\n * @remarks\n *\n * When using object component syntax, you import the DatePickerParts object and\n * the entire family of components vs. only what you use.\n */\nexport const DatePickerParts: DatePickerPartsValue = {\n Root: DatePickerRoot,\n Label: DatePickerLabel,\n Control: DatePickerControl,\n Input: DatePickerInputEl,\n Trigger: DatePickerTrigger,\n ClearTrigger: DatePickerClearTrigger,\n Positioner: DatePickerPositioner,\n Content: DatePickerContent,\n YearSelect: DatePickerYearSelect,\n MonthSelect: DatePickerMonthSelect,\n View: DatePickerView,\n Context: DatePickerContext,\n ViewControl: DatePickerViewControl,\n PrevTrigger: DatePickerPrevTrigger,\n NextTrigger: DatePickerNextTrigger,\n ViewTrigger: DatePickerViewTrigger,\n RangeText: DatePickerRangeText,\n Table: DatePickerTable,\n TableHead: DatePickerTableHead,\n TableRow: DatePickerTableRow,\n TableHeader: DatePickerTableHeader,\n TableBody: DatePickerTableBody,\n TableCell: DatePickerTableCell,\n TableCellTrigger: DatePickerTableCellTrigger,\n}\n","'use client'\n\nimport { createContext, useContext, type PropsWithChildren } from 'react'\nimport type { SystemConfig } from '../config'\n\n/**\n * This module contains the Cerberus configuration context and helpers.\n * @module context/cerberus\n */\n\ntype CerberusContextValue = SystemConfig\n\nconst CerberusContext = createContext<CerberusContextValue | null>(null)\n\ninterface CerberusProviderProps {\n config: SystemConfig\n}\n\n/**\n * Cerberus configuration provider.\n * @param props.config The Cerberus configuration created with\n * `makeSystemConfig` helper.\n */\nexport function CerberusProvider(\n props: PropsWithChildren<CerberusProviderProps>,\n) {\n return (\n <CerberusContext.Provider value={props.config}>\n {props.children}\n </CerberusContext.Provider>\n )\n}\n\n/**\n * Returns the Cerberus configuration context.\n * @returns The Cerberus configuration context.\n */\nexport function useCerberusContext() {\n const context = useContext(CerberusContext)\n if (!context) {\n throw new Error('useCerberus must be used within a CerberusProvider')\n }\n return context\n}\n","import { ark, type HTMLArkProps } from '@ark-ui/react/factory'\nimport { cx } from '@cerberus/styled-system/css'\nimport {\n iconButton,\n type IconButtonVariantProps,\n} from '@cerberus/styled-system/recipes'\n\n/**\n * This module contains the Icon Button component.\n * @module\n */\n\nexport interface IconButtonRawProps extends HTMLArkProps<'button'> {\n /**\n * The aria-label attribute for the icon button.\n */\n ariaLabel: string\n}\nexport type IconButtonProps = IconButtonRawProps & IconButtonVariantProps\n\n/**\n * A component that allows the user to perform actions using an icon\n * @see https://cerberus.digitalu.design/react/icon-button\n */\nexport function IconButton(props: IconButtonProps): JSX.Element {\n const { ariaLabel, palette, usage, size, ...nativeProps } = props\n return (\n <ark.button\n {...nativeProps}\n aria-label={ariaLabel ?? 'Icon Button'}\n className={cx(\n nativeProps.className,\n iconButton({\n palette,\n usage,\n size,\n }),\n )}\n />\n )\n}\n","'use client'\n\nimport type { DatePickerTriggerProps } from '@ark-ui/react/date-picker'\nimport { useCerberusContext } from '../../context/cerberus'\nimport { IconButton } from '../IconButton'\nimport { DatePickerParts } from './parts'\n\n/**\n * This private module contains the DatePicker trigger component.\n * @module DatePickerTrigger\n */\n\n/**\n * An abstraction of the DatePickerTrigger that toggles the calender open.\n * @definition [datePicker docs](https://cerberus.digitalu.design/react/date-picker)\n */\nexport function DatePickerTrigger(props: DatePickerTriggerProps) {\n const { icons } = useCerberusContext()\n const { calendar: CalendarIcon } = icons\n\n return (\n <DatePickerParts.Trigger {...props} asChild>\n <IconButton ariaLabel=\"Open calendar\" size=\"sm\" usage=\"ghost\">\n <CalendarIcon />\n </IconButton>\n </DatePickerParts.Trigger>\n )\n}\n"],"mappings":"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","names":["import_react","import_jsx_runtime","import_css","import_recipes","import_jsx_runtime","import_jsx_runtime","DatePickerTrigger","import_jsx_runtime","DatePickerTrigger"]}
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
"use client";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/components/date-picker/trigger.tsx
|
|
22
|
+
var trigger_exports = {};
|
|
23
|
+
__export(trigger_exports, {
|
|
24
|
+
DatePickerTrigger: () => DatePickerTrigger2
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(trigger_exports);
|
|
27
|
+
|
|
28
|
+
// src/context/cerberus.tsx
|
|
29
|
+
var import_react = require("react");
|
|
30
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
31
|
+
var CerberusContext = (0, import_react.createContext)(null);
|
|
32
|
+
function useCerberusContext() {
|
|
33
|
+
const context = (0, import_react.useContext)(CerberusContext);
|
|
34
|
+
if (!context) {
|
|
35
|
+
throw new Error("useCerberus must be used within a CerberusProvider");
|
|
36
|
+
}
|
|
37
|
+
return context;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// src/components/IconButton.tsx
|
|
41
|
+
var import_factory = require("@ark-ui/react/factory");
|
|
42
|
+
var import_css = require("@cerberus/styled-system/css");
|
|
43
|
+
var import_recipes = require("@cerberus/styled-system/recipes");
|
|
44
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
45
|
+
function IconButton(props) {
|
|
46
|
+
const { ariaLabel, palette, usage, size, ...nativeProps } = props;
|
|
47
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
48
|
+
import_factory.ark.button,
|
|
49
|
+
{
|
|
50
|
+
...nativeProps,
|
|
51
|
+
"aria-label": ariaLabel ?? "Icon Button",
|
|
52
|
+
className: (0, import_css.cx)(
|
|
53
|
+
nativeProps.className,
|
|
54
|
+
(0, import_recipes.iconButton)({
|
|
55
|
+
palette,
|
|
56
|
+
usage,
|
|
57
|
+
size
|
|
58
|
+
})
|
|
59
|
+
)
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// src/components/date-picker/primitives.tsx
|
|
65
|
+
var import_date_picker = require("@ark-ui/react/date-picker");
|
|
66
|
+
var import_css2 = require("@cerberus/styled-system/css");
|
|
67
|
+
var import_recipes2 = require("@cerberus/styled-system/recipes");
|
|
68
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
69
|
+
function DatePickerLabel(props) {
|
|
70
|
+
const styles = (0, import_recipes2.datePicker)();
|
|
71
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
72
|
+
import_date_picker.DatePicker.Label,
|
|
73
|
+
{
|
|
74
|
+
...props,
|
|
75
|
+
className: (0, import_css2.cx)(styles.label, props.className)
|
|
76
|
+
}
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
function DatePickerControl(props) {
|
|
80
|
+
const styles = (0, import_recipes2.datePicker)();
|
|
81
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
82
|
+
import_date_picker.DatePicker.Control,
|
|
83
|
+
{
|
|
84
|
+
...props,
|
|
85
|
+
className: (0, import_css2.cx)(styles.control, props.className)
|
|
86
|
+
}
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
function DatePickerInputEl(props) {
|
|
90
|
+
const styles = (0, import_recipes2.datePicker)();
|
|
91
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
92
|
+
import_date_picker.DatePicker.Input,
|
|
93
|
+
{
|
|
94
|
+
...props,
|
|
95
|
+
className: (0, import_css2.cx)(styles.input, props.className)
|
|
96
|
+
}
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
function DatePickerTrigger(props) {
|
|
100
|
+
const styles = (0, import_recipes2.datePicker)();
|
|
101
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
102
|
+
import_date_picker.DatePicker.Trigger,
|
|
103
|
+
{
|
|
104
|
+
...props,
|
|
105
|
+
className: (0, import_css2.cx)(styles.trigger, props.className)
|
|
106
|
+
}
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
function DatePickerContent(props) {
|
|
110
|
+
const styles = (0, import_recipes2.datePicker)();
|
|
111
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
112
|
+
import_date_picker.DatePicker.Content,
|
|
113
|
+
{
|
|
114
|
+
...props,
|
|
115
|
+
className: (0, import_css2.cx)(styles.content, props.className)
|
|
116
|
+
}
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
function DatePickerViewControl(props) {
|
|
120
|
+
const styles = (0, import_recipes2.datePicker)();
|
|
121
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
122
|
+
import_date_picker.DatePicker.Control,
|
|
123
|
+
{
|
|
124
|
+
...props,
|
|
125
|
+
className: (0, import_css2.cx)(styles.viewControl, props.className)
|
|
126
|
+
}
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
function DatePickerRangeText(props) {
|
|
130
|
+
const styles = (0, import_recipes2.datePicker)();
|
|
131
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
132
|
+
import_date_picker.DatePicker.RangeText,
|
|
133
|
+
{
|
|
134
|
+
...props,
|
|
135
|
+
className: (0, import_css2.cx)(styles.rangeText, props.className)
|
|
136
|
+
}
|
|
137
|
+
);
|
|
138
|
+
}
|
|
139
|
+
function DatePickerTable(props) {
|
|
140
|
+
const styles = (0, import_recipes2.datePicker)();
|
|
141
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
142
|
+
import_date_picker.DatePicker.Table,
|
|
143
|
+
{
|
|
144
|
+
...props,
|
|
145
|
+
className: (0, import_css2.cx)(styles.table, props.className)
|
|
146
|
+
}
|
|
147
|
+
);
|
|
148
|
+
}
|
|
149
|
+
function DatePickerTableHeader(props) {
|
|
150
|
+
const styles = (0, import_recipes2.datePicker)();
|
|
151
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
152
|
+
import_date_picker.DatePicker.TableHeader,
|
|
153
|
+
{
|
|
154
|
+
...props,
|
|
155
|
+
className: (0, import_css2.cx)(styles.tableHeader, props.className)
|
|
156
|
+
}
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
function DatePickerTableCell(props) {
|
|
160
|
+
const styles = (0, import_recipes2.datePicker)();
|
|
161
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
162
|
+
import_date_picker.DatePicker.TableCell,
|
|
163
|
+
{
|
|
164
|
+
...props,
|
|
165
|
+
className: (0, import_css2.cx)(styles.tableCell, props.className)
|
|
166
|
+
}
|
|
167
|
+
);
|
|
168
|
+
}
|
|
169
|
+
function DatePickerTableCellTrigger(props) {
|
|
170
|
+
const styles = (0, import_recipes2.datePicker)();
|
|
171
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
172
|
+
import_date_picker.DatePicker.TableCellTrigger,
|
|
173
|
+
{
|
|
174
|
+
...props,
|
|
175
|
+
className: (0, import_css2.cx)(styles.tableCellTrigger, props.className)
|
|
176
|
+
}
|
|
177
|
+
);
|
|
178
|
+
}
|
|
179
|
+
var DatePickerRoot = import_date_picker.DatePicker.Root;
|
|
180
|
+
var DatePickerClearTrigger = import_date_picker.DatePicker.ClearTrigger;
|
|
181
|
+
var DatePickerPositioner = import_date_picker.DatePicker.Positioner;
|
|
182
|
+
var DatePickerYearSelect = import_date_picker.DatePicker.YearSelect;
|
|
183
|
+
var DatePickerMonthSelect = import_date_picker.DatePicker.MonthSelect;
|
|
184
|
+
var DatePickerView = import_date_picker.DatePicker.View;
|
|
185
|
+
var DatePickerContext = import_date_picker.DatePicker.Context;
|
|
186
|
+
var DatePickerPrevTrigger = import_date_picker.DatePicker.PrevTrigger;
|
|
187
|
+
var DatePickerNextTrigger = import_date_picker.DatePicker.NextTrigger;
|
|
188
|
+
var DatePickerViewTrigger = import_date_picker.DatePicker.ViewTrigger;
|
|
189
|
+
var DatePickerTableHead = import_date_picker.DatePicker.TableHead;
|
|
190
|
+
var DatePickerTableRow = import_date_picker.DatePicker.TableRow;
|
|
191
|
+
var DatePickerTableBody = import_date_picker.DatePicker.TableBody;
|
|
192
|
+
|
|
193
|
+
// src/components/date-picker/parts.ts
|
|
194
|
+
var DatePickerParts = {
|
|
195
|
+
Root: DatePickerRoot,
|
|
196
|
+
Label: DatePickerLabel,
|
|
197
|
+
Control: DatePickerControl,
|
|
198
|
+
Input: DatePickerInputEl,
|
|
199
|
+
Trigger: DatePickerTrigger,
|
|
200
|
+
ClearTrigger: DatePickerClearTrigger,
|
|
201
|
+
Positioner: DatePickerPositioner,
|
|
202
|
+
Content: DatePickerContent,
|
|
203
|
+
YearSelect: DatePickerYearSelect,
|
|
204
|
+
MonthSelect: DatePickerMonthSelect,
|
|
205
|
+
View: DatePickerView,
|
|
206
|
+
Context: DatePickerContext,
|
|
207
|
+
ViewControl: DatePickerViewControl,
|
|
208
|
+
PrevTrigger: DatePickerPrevTrigger,
|
|
209
|
+
NextTrigger: DatePickerNextTrigger,
|
|
210
|
+
ViewTrigger: DatePickerViewTrigger,
|
|
211
|
+
RangeText: DatePickerRangeText,
|
|
212
|
+
Table: DatePickerTable,
|
|
213
|
+
TableHead: DatePickerTableHead,
|
|
214
|
+
TableRow: DatePickerTableRow,
|
|
215
|
+
TableHeader: DatePickerTableHeader,
|
|
216
|
+
TableBody: DatePickerTableBody,
|
|
217
|
+
TableCell: DatePickerTableCell,
|
|
218
|
+
TableCellTrigger: DatePickerTableCellTrigger
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
// src/components/date-picker/trigger.tsx
|
|
222
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
223
|
+
function DatePickerTrigger2(props) {
|
|
224
|
+
const { icons } = useCerberusContext();
|
|
225
|
+
const { calendar: CalendarIcon } = icons;
|
|
226
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(DatePickerParts.Trigger, { ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(IconButton, { ariaLabel: "Open calendar", size: "sm", usage: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(CalendarIcon, {}) }) });
|
|
227
|
+
}
|
|
228
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
229
|
+
0 && (module.exports = {
|
|
230
|
+
DatePickerTrigger
|
|
231
|
+
});
|
|
232
|
+
//# sourceMappingURL=trigger.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/date-picker/trigger.tsx","../../../../src/context/cerberus.tsx","../../../../src/components/IconButton.tsx","../../../../src/components/date-picker/primitives.tsx","../../../../src/components/date-picker/parts.ts"],"sourcesContent":["'use client'\n\nimport type { DatePickerTriggerProps } from '@ark-ui/react/date-picker'\nimport { useCerberusContext } from '../../context/cerberus'\nimport { IconButton } from '../IconButton'\nimport { DatePickerParts } from './parts'\n\n/**\n * This private module contains the DatePicker trigger component.\n * @module DatePickerTrigger\n */\n\n/**\n * An abstraction of the DatePickerTrigger that toggles the calender open.\n * @definition [datePicker docs](https://cerberus.digitalu.design/react/date-picker)\n */\nexport function DatePickerTrigger(props: DatePickerTriggerProps) {\n const { icons } = useCerberusContext()\n const { calendar: CalendarIcon } = icons\n\n return (\n <DatePickerParts.Trigger {...props} asChild>\n <IconButton ariaLabel=\"Open calendar\" size=\"sm\" usage=\"ghost\">\n <CalendarIcon />\n </IconButton>\n </DatePickerParts.Trigger>\n )\n}\n","'use client'\n\nimport { createContext, useContext, type PropsWithChildren } from 'react'\nimport type { SystemConfig } from '../config'\n\n/**\n * This module contains the Cerberus configuration context and helpers.\n * @module context/cerberus\n */\n\ntype CerberusContextValue = SystemConfig\n\nconst CerberusContext = createContext<CerberusContextValue | null>(null)\n\ninterface CerberusProviderProps {\n config: SystemConfig\n}\n\n/**\n * Cerberus configuration provider.\n * @param props.config The Cerberus configuration created with\n * `makeSystemConfig` helper.\n */\nexport function CerberusProvider(\n props: PropsWithChildren<CerberusProviderProps>,\n) {\n return (\n <CerberusContext.Provider value={props.config}>\n {props.children}\n </CerberusContext.Provider>\n )\n}\n\n/**\n * Returns the Cerberus configuration context.\n * @returns The Cerberus configuration context.\n */\nexport function useCerberusContext() {\n const context = useContext(CerberusContext)\n if (!context) {\n throw new Error('useCerberus must be used within a CerberusProvider')\n }\n return context\n}\n","import { ark, type HTMLArkProps } from '@ark-ui/react/factory'\nimport { cx } from '@cerberus/styled-system/css'\nimport {\n iconButton,\n type IconButtonVariantProps,\n} from '@cerberus/styled-system/recipes'\n\n/**\n * This module contains the Icon Button component.\n * @module\n */\n\nexport interface IconButtonRawProps extends HTMLArkProps<'button'> {\n /**\n * The aria-label attribute for the icon button.\n */\n ariaLabel: string\n}\nexport type IconButtonProps = IconButtonRawProps & IconButtonVariantProps\n\n/**\n * A component that allows the user to perform actions using an icon\n * @see https://cerberus.digitalu.design/react/icon-button\n */\nexport function IconButton(props: IconButtonProps): JSX.Element {\n const { ariaLabel, palette, usage, size, ...nativeProps } = props\n return (\n <ark.button\n {...nativeProps}\n aria-label={ariaLabel ?? 'Icon Button'}\n className={cx(\n nativeProps.className,\n iconButton({\n palette,\n usage,\n size,\n }),\n )}\n />\n )\n}\n","import {\n DatePicker,\n type DatePickerContentProps,\n type DatePickerControlProps,\n type DatePickerInputProps,\n type DatePickerLabelProps,\n type DatePickerRangeTextProps,\n type DatePickerTableCellProps,\n type DatePickerTableCellTriggerProps,\n type DatePickerTableHeaderProps,\n type DatePickerTableProps,\n type DatePickerTriggerProps,\n type DatePickerViewControlProps,\n} from '@ark-ui/react/date-picker'\nimport { cx } from '@cerberus/styled-system/css'\nimport { datePicker } from '@cerberus/styled-system/recipes'\n\n/**\n * This module contains the DatePicker primitives.\n * @module 'date-picker/primitives'\n */\n\n/**\n * The label component for the DatePicker.\n */\nexport function DatePickerLabel(props: DatePickerLabelProps) {\n const styles = datePicker()\n return (\n <DatePicker.Label\n {...props}\n className={cx(styles.label, props.className)}\n />\n )\n}\n\n/**\n * The control component for the DatePicker which wraps the input and the\n * triggers to open the DatePicker and clear the value.\n */\nexport function DatePickerControl(props: DatePickerControlProps) {\n const styles = datePicker()\n return (\n <DatePicker.Control\n {...props}\n className={cx(styles.control, props.className)}\n />\n )\n}\n\n/**\n * The input component for the DatePicker.\n */\nexport function DatePickerInputEl(props: DatePickerInputProps) {\n const styles = datePicker()\n return (\n <DatePicker.Input\n {...props}\n className={cx(styles.input, props.className)}\n />\n )\n}\n\n/**\n * The trigger component that opens the DatePicker.\n */\nexport function DatePickerTrigger(props: DatePickerTriggerProps) {\n const styles = datePicker()\n return (\n <DatePicker.Trigger\n {...props}\n className={cx(styles.trigger, props.className)}\n />\n )\n}\n\n/**\n * The content component for the DatePicker.\n */\nexport function DatePickerContent(props: DatePickerContentProps) {\n const styles = datePicker()\n return (\n <DatePicker.Content\n {...props}\n className={cx(styles.content, props.className)}\n />\n )\n}\n\n/**\n * The view control component for the DatePicker which wraps the triggers to\n * switch between calendar views.\n */\nexport function DatePickerViewControl(props: DatePickerViewControlProps) {\n const styles = datePicker()\n return (\n <DatePicker.Control\n {...props}\n className={cx(styles.viewControl, props.className)}\n />\n )\n}\n\n/**\n * The range text component for the DatePicker.\n */\nexport function DatePickerRangeText(props: DatePickerRangeTextProps) {\n const styles = datePicker()\n return (\n <DatePicker.RangeText\n {...props}\n className={cx(styles.rangeText, props.className)}\n />\n )\n}\n\n/**\n * The table component for the DatePicker.\n */\nexport function DatePickerTable(props: DatePickerTableProps) {\n const styles = datePicker()\n return (\n <DatePicker.Table\n {...props}\n className={cx(styles.table, props.className)}\n />\n )\n}\n\n/**\n * The header component for the DatePicker table.\n */\nexport function DatePickerTableHeader(props: DatePickerTableHeaderProps) {\n const styles = datePicker()\n return (\n <DatePicker.TableHeader\n {...props}\n className={cx(styles.tableHeader, props.className)}\n />\n )\n}\n\n/**\n * The table cell component for the DatePicker.\n */\nexport function DatePickerTableCell(props: DatePickerTableCellProps) {\n const styles = datePicker()\n return (\n <DatePicker.TableCell\n {...props}\n className={cx(styles.tableCell, props.className)}\n />\n )\n}\n\n/**\n * The table cell trigger component for the DatePicker.\n */\nexport function DatePickerTableCellTrigger(\n props: DatePickerTableCellTriggerProps,\n) {\n const styles = datePicker()\n return (\n <DatePicker.TableCellTrigger\n {...props}\n className={cx(styles.tableCellTrigger, props.className)}\n />\n )\n}\n\n/**\n * The root component of the DatePicker. This primitive has no Cerberus styles.\n */\nexport const DatePickerRoot = DatePicker.Root\n/**\n * The label component of the DatePicker. This primitive has no Cerberus styles.\n */\nexport const DatePickerClearTrigger = DatePicker.ClearTrigger\n/**\n * The control component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport const DatePickerPositioner = DatePicker.Positioner\n/**\n * The year select input component of the DatePicker. This primitive has no\n * Cerberus styles.\n */\nexport const DatePickerYearSelect = DatePicker.YearSelect\n/**\n * The month select input component of the DatePicker. This primitive has no\n * Cerberus styles.\n */\nexport const DatePickerMonthSelect = DatePicker.MonthSelect\n/**\n * The day view component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport const DatePickerView = DatePicker.View\n/**\n * The day context component of the DatePicker. This primitive has no\n * Cerberus styles.\n */\nexport const DatePickerContext = DatePicker.Context\n/**\n * The trigger component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport const DatePickerPrevTrigger = DatePicker.PrevTrigger\n/**\n * The trigger component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport const DatePickerNextTrigger = DatePicker.NextTrigger\n/**\n * The trigger component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport const DatePickerViewTrigger = DatePicker.ViewTrigger\n/**\n * The table head component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport const DatePickerTableHead = DatePicker.TableHead\n/**\n * The table row component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport const DatePickerTableRow = DatePicker.TableRow\n/**\n * The table body component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport const DatePickerTableBody = DatePicker.TableBody\n","import type { ElementType } from 'react'\nimport {\n DatePickerClearTrigger,\n DatePickerContent,\n DatePickerContext,\n DatePickerControl,\n DatePickerInputEl,\n DatePickerLabel,\n DatePickerMonthSelect,\n DatePickerNextTrigger,\n DatePickerPositioner,\n DatePickerPrevTrigger,\n DatePickerRangeText,\n DatePickerRoot,\n DatePickerTable,\n DatePickerTableBody,\n DatePickerTableCell,\n DatePickerTableCellTrigger,\n DatePickerTableHead,\n DatePickerTableHeader,\n DatePickerTableRow,\n DatePickerTrigger,\n DatePickerView,\n DatePickerViewControl,\n DatePickerViewTrigger,\n DatePickerYearSelect,\n} from './primitives'\n\n/**\n * This module contains the parts of the DatePicker component.\n * @module 'date-picker/parts'\n */\n\ninterface DatePickerPartsValue {\n /**\n * The container of the date-picker.\n */\n Root: ElementType\n /**\n * The label of the date-picker.\n */\n Label: ElementType\n /**\n * The control of the date-picker.\n */\n Control: ElementType\n /**\n * The input of the date-picker.\n */\n Input: ElementType\n /**\n * The trigger that opens the date-picker.\n */\n Trigger: ElementType\n /**\n * The trigger that clears the value of the date-picker.\n */\n ClearTrigger: ElementType\n /**\n * The positioner of the content for the date-picker.\n */\n Positioner: ElementType\n /**\n * The content of the date-picker.\n */\n Content: ElementType\n /**\n * The year select input of the date-picker.\n */\n YearSelect: ElementType\n /**\n * The month select input of the date-picker.\n */\n MonthSelect: ElementType\n /**\n * The day view of the date-picker.\n */\n View: ElementType\n /**\n * The day context of the date-picker.\n */\n Context: ElementType\n /**\n * The container for the content triggers.\n */\n ViewControl: ElementType\n /**\n * The trigger that moves to the previous month.\n */\n PrevTrigger: ElementType\n /**\n * The trigger that moves to the next month.\n */\n NextTrigger: ElementType\n /**\n * The trigger that moves to the next view.\n */\n ViewTrigger: ElementType\n /**\n * The range text of the date-picker.\n */\n RangeText: ElementType\n /**\n * The table of the date-picker.\n */\n Table: ElementType\n /**\n * The table head of the date-picker.\n */\n TableHead: ElementType\n /**\n * The table row of the date-picker.\n */\n TableRow: ElementType\n /**\n * The header text for the table.\n */\n TableHeader: ElementType\n /**\n * The body of the table.\n */\n TableBody: ElementType\n /**\n * The table cell of the table.\n */\n TableCell: ElementType\n /**\n * The trigger for the table cell.\n */\n TableCellTrigger: ElementType\n}\n\n/**\n * An Object containing the parts of the DatePicker component. For users that\n * prefer Object component syntax.\n *\n * @remarks\n *\n * When using object component syntax, you import the DatePickerParts object and\n * the entire family of components vs. only what you use.\n */\nexport const DatePickerParts: DatePickerPartsValue = {\n Root: DatePickerRoot,\n Label: DatePickerLabel,\n Control: DatePickerControl,\n Input: DatePickerInputEl,\n Trigger: DatePickerTrigger,\n ClearTrigger: DatePickerClearTrigger,\n Positioner: DatePickerPositioner,\n Content: DatePickerContent,\n YearSelect: DatePickerYearSelect,\n MonthSelect: DatePickerMonthSelect,\n View: DatePickerView,\n Context: DatePickerContext,\n ViewControl: DatePickerViewControl,\n PrevTrigger: DatePickerPrevTrigger,\n NextTrigger: DatePickerNextTrigger,\n ViewTrigger: DatePickerViewTrigger,\n RangeText: DatePickerRangeText,\n Table: DatePickerTable,\n TableHead: DatePickerTableHead,\n TableRow: DatePickerTableRow,\n TableHeader: DatePickerTableHeader,\n TableBody: DatePickerTableBody,\n TableCell: DatePickerTableCell,\n TableCellTrigger: DatePickerTableCellTrigger,\n}\n"],"mappings":"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","names":["DatePickerTrigger","import_jsx_runtime","import_css","import_recipes","import_jsx_runtime","import_jsx_runtime","DatePickerTrigger"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DatePickerTrigger_alias_3 as DatePickerTrigger } from '../../_tsup-dts-rollup.cjs';
|