@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,163 @@
|
|
|
1
|
+
import { ark, type HTMLArkProps } from '@ark-ui/react/factory'
|
|
2
|
+
import { cx } from '@cerberus/styled-system/css'
|
|
3
|
+
import { table, type TableVariantProps } from '@cerberus/styled-system/recipes'
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* This module contains the primitives of the Table component.
|
|
7
|
+
* @module 'table/primitives'
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The root element is the container of the Table.
|
|
12
|
+
*/
|
|
13
|
+
export function TableRoot(props: HTMLArkProps<'div'> & TableVariantProps) {
|
|
14
|
+
const { decoration, size, ...rootProps } = props
|
|
15
|
+
const styles = table({
|
|
16
|
+
decoration,
|
|
17
|
+
size,
|
|
18
|
+
})
|
|
19
|
+
|
|
20
|
+
return (
|
|
21
|
+
<ark.div
|
|
22
|
+
{...rootProps}
|
|
23
|
+
className={cx(styles.root, rootProps.className)}
|
|
24
|
+
data-scope="table"
|
|
25
|
+
data-part="root"
|
|
26
|
+
/>
|
|
27
|
+
)
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* The table element is the table itself.
|
|
32
|
+
*/
|
|
33
|
+
export function TableEl(props: HTMLArkProps<'table'>) {
|
|
34
|
+
const styles = table()
|
|
35
|
+
return (
|
|
36
|
+
<ark.table
|
|
37
|
+
{...props}
|
|
38
|
+
className={cx(styles.table, props.className)}
|
|
39
|
+
data-scope="table"
|
|
40
|
+
data-part="table"
|
|
41
|
+
/>
|
|
42
|
+
)
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The table caption element is the caption of the table.
|
|
47
|
+
*/
|
|
48
|
+
export function Caption(props: HTMLArkProps<'caption'>) {
|
|
49
|
+
const styles = table()
|
|
50
|
+
return (
|
|
51
|
+
<ark.caption
|
|
52
|
+
{...props}
|
|
53
|
+
className={cx(styles.caption, props.className)}
|
|
54
|
+
data-scope="table"
|
|
55
|
+
data-part="caption"
|
|
56
|
+
/>
|
|
57
|
+
)
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The table head element is the head of the table.
|
|
62
|
+
*/
|
|
63
|
+
export function Thead(props: HTMLArkProps<'thead'>) {
|
|
64
|
+
const styles = table()
|
|
65
|
+
return (
|
|
66
|
+
<ark.thead
|
|
67
|
+
{...props}
|
|
68
|
+
className={cx(styles.thead, props.className)}
|
|
69
|
+
data-scope="table"
|
|
70
|
+
data-part="header"
|
|
71
|
+
/>
|
|
72
|
+
)
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* The table header cell element is the header cell of the table.
|
|
77
|
+
*/
|
|
78
|
+
export function Th(props: HTMLArkProps<'th'>) {
|
|
79
|
+
const styles = table()
|
|
80
|
+
return (
|
|
81
|
+
<ark.th
|
|
82
|
+
{...props}
|
|
83
|
+
className={cx(styles.th, props.className)}
|
|
84
|
+
data-scope="table"
|
|
85
|
+
data-part="header-col"
|
|
86
|
+
/>
|
|
87
|
+
)
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* The table body element is the body of the table.
|
|
92
|
+
*/
|
|
93
|
+
export function Tbody(props: HTMLArkProps<'tbody'>) {
|
|
94
|
+
const styles = table()
|
|
95
|
+
return (
|
|
96
|
+
<ark.tbody
|
|
97
|
+
{...props}
|
|
98
|
+
className={cx(styles.tbody, props.className)}
|
|
99
|
+
data-scope="table"
|
|
100
|
+
data-part="body"
|
|
101
|
+
/>
|
|
102
|
+
)
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* The table row element is the row of the table.
|
|
107
|
+
*/
|
|
108
|
+
export function Tr(props: HTMLArkProps<'tr'>) {
|
|
109
|
+
const styles = table()
|
|
110
|
+
return (
|
|
111
|
+
<ark.tr
|
|
112
|
+
{...props}
|
|
113
|
+
className={cx(styles.tr, props.className)}
|
|
114
|
+
data-scope="table"
|
|
115
|
+
data-part="row"
|
|
116
|
+
/>
|
|
117
|
+
)
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* The table cell element is the cell of the table.
|
|
122
|
+
*/
|
|
123
|
+
export function Td(props: HTMLArkProps<'td'>) {
|
|
124
|
+
const styles = table()
|
|
125
|
+
return (
|
|
126
|
+
<ark.td
|
|
127
|
+
{...props}
|
|
128
|
+
className={cx(styles.td, props.className)}
|
|
129
|
+
data-scope="table"
|
|
130
|
+
data-part="cell"
|
|
131
|
+
/>
|
|
132
|
+
)
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* The table footer element is the footer of the table.
|
|
137
|
+
*/
|
|
138
|
+
export function Tfoot(props: HTMLArkProps<'tfoot'>) {
|
|
139
|
+
const styles = table()
|
|
140
|
+
return (
|
|
141
|
+
<ark.tfoot
|
|
142
|
+
{...props}
|
|
143
|
+
className={cx(styles.tfoot, props.className)}
|
|
144
|
+
data-scope="table"
|
|
145
|
+
data-part="footer"
|
|
146
|
+
/>
|
|
147
|
+
)
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* The table trigger element is the trigger of an actionable th cell.
|
|
152
|
+
*/
|
|
153
|
+
export function TableTrigger(props: HTMLArkProps<'button'>) {
|
|
154
|
+
const styles = table()
|
|
155
|
+
return (
|
|
156
|
+
<ark.button
|
|
157
|
+
{...props}
|
|
158
|
+
className={cx(styles.trigger, props.className)}
|
|
159
|
+
data-scope="table"
|
|
160
|
+
data-part="trigger"
|
|
161
|
+
/>
|
|
162
|
+
)
|
|
163
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { HTMLArkProps } from '@ark-ui/react/factory'
|
|
2
|
+
import type { TablePartsValue } from './parts'
|
|
3
|
+
import {
|
|
4
|
+
Caption,
|
|
5
|
+
TableEl,
|
|
6
|
+
TableRoot,
|
|
7
|
+
TableTrigger,
|
|
8
|
+
Tbody,
|
|
9
|
+
Td,
|
|
10
|
+
Tfoot,
|
|
11
|
+
Th,
|
|
12
|
+
Thead,
|
|
13
|
+
Tr,
|
|
14
|
+
} from './primitives'
|
|
15
|
+
import type { TableVariantProps } from '@cerberus/styled-system/recipes'
|
|
16
|
+
import { Show } from '../Show'
|
|
17
|
+
|
|
18
|
+
interface TableRootElProps extends HTMLArkProps<'div'>, TableVariantProps {
|
|
19
|
+
/**
|
|
20
|
+
* An easy to understand description of the table. Required for accessibility.
|
|
21
|
+
*/
|
|
22
|
+
caption: string
|
|
23
|
+
/**
|
|
24
|
+
* If true, the table header will be sticky.
|
|
25
|
+
*
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
sticky?: boolean
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* An abstraction over the TableRoot component that adds a sticky attribute.
|
|
33
|
+
*
|
|
34
|
+
* @description [Cerberus Docs](https://cerberus.digitalu.design/react/table)
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
*
|
|
38
|
+
* This component is used to create a table with an optional sticky header.
|
|
39
|
+
* It is a wrapper around the TableRoot component and the TableEl primitive.
|
|
40
|
+
*/
|
|
41
|
+
function TableRootEl(props: TableRootElProps) {
|
|
42
|
+
const { sticky, caption, ...rootProps } = props
|
|
43
|
+
return (
|
|
44
|
+
<TableRoot {...rootProps} data-sticky={sticky ?? false}>
|
|
45
|
+
<TableEl>
|
|
46
|
+
<Show when={Boolean(caption)}>
|
|
47
|
+
<Caption>{caption}</Caption>
|
|
48
|
+
</Show>
|
|
49
|
+
|
|
50
|
+
{rootProps.children}
|
|
51
|
+
</TableEl>
|
|
52
|
+
</TableRoot>
|
|
53
|
+
)
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* An Object containing the parts of the Table component. For users that
|
|
58
|
+
* prefer Object component syntax.
|
|
59
|
+
*
|
|
60
|
+
* @remarks
|
|
61
|
+
*
|
|
62
|
+
* When using object component syntax, you import the TableParts object and
|
|
63
|
+
* the entire family of components vs. only what you use.
|
|
64
|
+
*/
|
|
65
|
+
export const Table: Omit<TablePartsValue, 'Table'> = {
|
|
66
|
+
Root: TableRootEl,
|
|
67
|
+
Caption: Caption,
|
|
68
|
+
Header: Thead,
|
|
69
|
+
HeaderCol: Th,
|
|
70
|
+
Body: Tbody,
|
|
71
|
+
Row: Tr,
|
|
72
|
+
Cell: Td,
|
|
73
|
+
Footer: Tfoot,
|
|
74
|
+
Trigger: TableTrigger,
|
|
75
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { ElementType } from 'react'
|
|
2
|
+
import {
|
|
3
|
+
TabsContent,
|
|
4
|
+
TabsIndicator,
|
|
5
|
+
TabsList,
|
|
6
|
+
TabsRoot,
|
|
7
|
+
TabsTrigger,
|
|
8
|
+
} from './primitives'
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* This module contains the parts of the Tabs parts.
|
|
12
|
+
* @module 'tabs/parts'
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
export interface TabsPartsValue {
|
|
16
|
+
/**
|
|
17
|
+
* The container of the tabs.
|
|
18
|
+
*/
|
|
19
|
+
Root: ElementType
|
|
20
|
+
/**
|
|
21
|
+
* The tab list element.
|
|
22
|
+
*/
|
|
23
|
+
List: ElementType
|
|
24
|
+
/**
|
|
25
|
+
* The tab element.
|
|
26
|
+
*/
|
|
27
|
+
Trigger: ElementType
|
|
28
|
+
/**
|
|
29
|
+
* The tab content element.
|
|
30
|
+
*/
|
|
31
|
+
Content: ElementType
|
|
32
|
+
/**
|
|
33
|
+
* The tab indicator element.
|
|
34
|
+
*/
|
|
35
|
+
Indicator: ElementType
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* An Object containing the parts of the Switch component. For users that
|
|
40
|
+
* prefer Object component syntax.
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
*
|
|
44
|
+
* When using object component syntax, you import the TabsParts object and
|
|
45
|
+
* the entire family of components vs. only what you use.
|
|
46
|
+
*/
|
|
47
|
+
export const TabsParts: TabsPartsValue = {
|
|
48
|
+
Root: TabsRoot,
|
|
49
|
+
List: TabsList,
|
|
50
|
+
Trigger: TabsTrigger,
|
|
51
|
+
Content: TabsContent,
|
|
52
|
+
Indicator: TabsIndicator,
|
|
53
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Tabs,
|
|
3
|
+
type TabContentProps,
|
|
4
|
+
type TabIndicatorProps,
|
|
5
|
+
type TabListProps,
|
|
6
|
+
type TabsRootProps,
|
|
7
|
+
type TabTriggerProps,
|
|
8
|
+
} from '@ark-ui/react/tabs'
|
|
9
|
+
import { cx } from '@cerberus/styled-system/css'
|
|
10
|
+
import { tabs, type TabsVariantProps } from '@cerberus/styled-system/recipes'
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* This module provides the primitives for the Tabs component.
|
|
14
|
+
* @module 'tabs/primitives'
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The container and context provider of the tabs.
|
|
19
|
+
*/
|
|
20
|
+
export function TabsRoot(props: TabsRootProps & TabsVariantProps) {
|
|
21
|
+
const { palette, ...rootProps } = props
|
|
22
|
+
const styles = tabs({ palette })
|
|
23
|
+
return (
|
|
24
|
+
<Tabs.Root
|
|
25
|
+
{...rootProps}
|
|
26
|
+
className={cx(styles.root, rootProps.className)}
|
|
27
|
+
/>
|
|
28
|
+
)
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* The tab list container for the Tabs group.
|
|
33
|
+
*/
|
|
34
|
+
export function TabsList(props: TabListProps) {
|
|
35
|
+
const styles = tabs()
|
|
36
|
+
return <Tabs.List {...props} className={cx(styles.list, props.className)} />
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* The tab element.
|
|
41
|
+
*/
|
|
42
|
+
export function TabsTrigger(props: TabTriggerProps) {
|
|
43
|
+
const styles = tabs()
|
|
44
|
+
return (
|
|
45
|
+
<Tabs.Trigger {...props} className={cx(styles.trigger, props.className)} />
|
|
46
|
+
)
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* The tab content element.
|
|
51
|
+
*/
|
|
52
|
+
export function TabsContent(props: TabContentProps) {
|
|
53
|
+
const styles = tabs()
|
|
54
|
+
return (
|
|
55
|
+
<Tabs.Content {...props} className={cx(styles.content, props.className)} />
|
|
56
|
+
)
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* The tab indicator element.
|
|
61
|
+
*/
|
|
62
|
+
export function TabsIndicator(props: TabIndicatorProps) {
|
|
63
|
+
const styles = tabs()
|
|
64
|
+
return (
|
|
65
|
+
<Tabs.Indicator
|
|
66
|
+
{...props}
|
|
67
|
+
className={cx(styles.indicator, props.className)}
|
|
68
|
+
/>
|
|
69
|
+
)
|
|
70
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { TabListProps } from '@ark-ui/react/tabs'
|
|
2
|
+
import { TabsParts, type TabsPartsValue } from './parts'
|
|
3
|
+
import type { ElementType } from 'react'
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* This module contains an abstraction of the Tabs family.
|
|
7
|
+
* @module 'tabs'
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
interface TabsValueProps
|
|
11
|
+
extends Omit<TabsPartsValue, 'Trigger' | 'Content' | 'Indicator'> {
|
|
12
|
+
/**
|
|
13
|
+
* A named component for the TabsTrigger.
|
|
14
|
+
*/
|
|
15
|
+
Tab: ElementType
|
|
16
|
+
/**
|
|
17
|
+
* A named component for the TabsContent.
|
|
18
|
+
*/
|
|
19
|
+
Panel: ElementType
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* An abstraction of the TabsList component that includes the TabIndicator.
|
|
24
|
+
*/
|
|
25
|
+
function TabsList(props: TabListProps) {
|
|
26
|
+
const { children, ...listProps } = props
|
|
27
|
+
return (
|
|
28
|
+
<TabsParts.List {...listProps}>
|
|
29
|
+
{children}
|
|
30
|
+
<TabsParts.Indicator />
|
|
31
|
+
</TabsParts.List>
|
|
32
|
+
)
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* An Object containing the abstracted parts of the Tabs component.
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
39
|
+
*
|
|
40
|
+
* When using object component syntax, you import the TabsParts object and
|
|
41
|
+
* the entire family of components vs. only what you use.
|
|
42
|
+
*/
|
|
43
|
+
export const Tabs: TabsValueProps = {
|
|
44
|
+
Root: TabsParts.Root,
|
|
45
|
+
List: TabsList,
|
|
46
|
+
Tab: TabsParts.Trigger,
|
|
47
|
+
Panel: TabsParts.Content,
|
|
48
|
+
}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import { Button } from '../components/button/button'
|
|
15
15
|
import { css } from '@cerberus/styled-system/css'
|
|
16
16
|
import { Show } from '../components/Show'
|
|
17
|
-
import { Avatar } from '../components/
|
|
17
|
+
import { Avatar } from '../components/avatar/avatar'
|
|
18
18
|
import { HStack, VStack } from '@cerberus/styled-system/jsx'
|
|
19
19
|
import { useCerberusContext } from './cerberus'
|
|
20
20
|
import {
|
|
@@ -176,18 +176,14 @@ export function ConfirmModal(
|
|
|
176
176
|
when={palette === 'danger'}
|
|
177
177
|
fallback={
|
|
178
178
|
<Avatar
|
|
179
|
-
ariaLabel=""
|
|
180
179
|
gradient="charon-light"
|
|
181
|
-
|
|
182
|
-
src=""
|
|
180
|
+
fallback={<ConfirmIcon size={24} />}
|
|
183
181
|
/>
|
|
184
182
|
}
|
|
185
183
|
>
|
|
186
184
|
<Avatar
|
|
187
|
-
ariaLabel=""
|
|
188
185
|
gradient="hades-dark"
|
|
189
|
-
|
|
190
|
-
src=""
|
|
186
|
+
fallback={<ConfirmIcon size={24} />}
|
|
191
187
|
/>
|
|
192
188
|
</Show>
|
|
193
189
|
</HStack>
|
|
@@ -14,9 +14,9 @@ import { animateIn, vstack } from '@cerberus/styled-system/patterns'
|
|
|
14
14
|
import { notification } from '@cerberus/styled-system/recipes'
|
|
15
15
|
import { cx } from '@cerberus/styled-system/css'
|
|
16
16
|
import { Show } from '../components/Show'
|
|
17
|
-
import { NotificationHeading } from '../components/NotificationHeading'
|
|
18
|
-
import { NotificationDescription } from '../components/NotificationDescription'
|
|
19
|
-
import { Notification } from '../components/Notification'
|
|
17
|
+
import { NotificationHeading } from '../components/deprecated/NotificationHeading'
|
|
18
|
+
import { NotificationDescription } from '../components/deprecated/NotificationDescription'
|
|
19
|
+
import { Notification } from '../components/deprecated/Notification'
|
|
20
20
|
import { Portal, type PortalProps } from '../components/Portal'
|
|
21
21
|
import { Button } from '../components/button/button'
|
|
22
22
|
import {
|
|
@@ -71,28 +71,9 @@ export type NotificationsProviderProps = PortalProps & {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
75
|
-
* @see https://cerberus.digitalu.design/react/notification
|
|
76
|
-
* @example
|
|
77
|
-
* ```tsx
|
|
78
|
-
* // Wrap the Provider around the root of the feature.
|
|
79
|
-
* <Notifications>
|
|
80
|
-
* <SomeFeatureSection />
|
|
81
|
-
* </Notifications>
|
|
82
|
-
*
|
|
83
|
-
* // Use the hook to show a notification.
|
|
84
|
-
* const notify = useNotifications()
|
|
85
|
-
*
|
|
86
|
-
* const handleClick = useCallback(() => {
|
|
87
|
-
* notify({
|
|
88
|
-
* palette: 'info',
|
|
89
|
-
* heading: 'New feature!',
|
|
90
|
-
* description: 'We have added a new feature to the app.',
|
|
91
|
-
* })
|
|
92
|
-
* }, [notify])
|
|
93
|
-
* ```
|
|
74
|
+
* @deprecated
|
|
94
75
|
*/
|
|
95
|
-
export function
|
|
76
|
+
export function NotificationCenter_deprecated(
|
|
96
77
|
props: PropsWithChildren<NotificationsProviderProps>,
|
|
97
78
|
) {
|
|
98
79
|
const [state, dispatch] = useReducer(notificationCenterReducer, [])
|
|
@@ -265,20 +246,7 @@ function MatchNotification(props: MatchNotificationProps) {
|
|
|
265
246
|
}
|
|
266
247
|
}
|
|
267
248
|
|
|
268
|
-
|
|
269
|
-
* The hook to use the NotificationCenter.
|
|
270
|
-
* @returns The notify method to trigger a notification.
|
|
271
|
-
* @example
|
|
272
|
-
* ```tsx
|
|
273
|
-
* const {notify} = useNotificationCenter()
|
|
274
|
-
* notify({
|
|
275
|
-
* palette: 'info',
|
|
276
|
-
* heading: 'New feature',
|
|
277
|
-
* description: 'We have added a new feature to the app.',
|
|
278
|
-
* })
|
|
279
|
-
* ```
|
|
280
|
-
*/
|
|
281
|
-
export function useNotificationCenter(): NotificationsValue {
|
|
249
|
+
export function useNotificationCenter_deprecated(): NotificationsValue {
|
|
282
250
|
const context = useContext(NotificationsContext)
|
|
283
251
|
if (!context) {
|
|
284
252
|
throw new Error(
|
|
@@ -18,7 +18,7 @@ import { hstack } from '@cerberus/styled-system/patterns'
|
|
|
18
18
|
import { FieldLabel, FieldRoot, Input } from '../components/field/index'
|
|
19
19
|
import { Button } from '../components/button/button'
|
|
20
20
|
import { Show } from '../components/Show'
|
|
21
|
-
import { Avatar } from '../components/
|
|
21
|
+
import { Avatar } from '../components/avatar/avatar'
|
|
22
22
|
import { Text } from '../components/Text'
|
|
23
23
|
import { useCerberusContext } from './cerberus'
|
|
24
24
|
import {
|
|
@@ -189,18 +189,14 @@ export function PromptModal(
|
|
|
189
189
|
when={palette === 'danger'}
|
|
190
190
|
fallback={
|
|
191
191
|
<Avatar
|
|
192
|
-
ariaLabel=""
|
|
193
192
|
gradient="charon-light"
|
|
194
|
-
|
|
195
|
-
src=""
|
|
193
|
+
fallback={<PromptIcon size={24} />}
|
|
196
194
|
/>
|
|
197
195
|
}
|
|
198
196
|
>
|
|
199
197
|
<Avatar
|
|
200
|
-
ariaLabel=""
|
|
201
198
|
gradient="hades-dark"
|
|
202
|
-
|
|
203
|
-
src=""
|
|
199
|
+
fallback={<PromptIcon size={24} />}
|
|
204
200
|
/>
|
|
205
201
|
</Show>
|
|
206
202
|
</HStack>
|
package/src/index.ts
CHANGED
|
@@ -15,6 +15,9 @@ export * from './components/deprecated/ModalDescription'
|
|
|
15
15
|
export * from './components/deprecated/NavMenuTrigger'
|
|
16
16
|
export * from './components/deprecated/NavMenuList'
|
|
17
17
|
export * from './components/deprecated/NavMenuLink'
|
|
18
|
+
export * from './components/deprecated/Legend'
|
|
19
|
+
export * from './context/confirm-modal'
|
|
20
|
+
export * from './context/prompt-modal'
|
|
18
21
|
export * from './hooks/useDate'
|
|
19
22
|
export * from './hooks/useModal'
|
|
20
23
|
export * from './hooks/useToggle'
|
|
@@ -23,14 +26,13 @@ export * from './hooks/useToggle'
|
|
|
23
26
|
|
|
24
27
|
export * from './components/admonition/index'
|
|
25
28
|
export * from './components/accordion/index'
|
|
26
|
-
export * from './components/
|
|
29
|
+
export * from './components/avatar/index'
|
|
27
30
|
export * from './components/button/index'
|
|
28
31
|
export * from './components/checkbox/index'
|
|
29
32
|
export * from './components/CircularProgress'
|
|
30
33
|
export * from './components/combobox/index'
|
|
31
34
|
export * from './components/cta-dialog/index'
|
|
32
|
-
export * from './components/
|
|
33
|
-
export * from './components/DatePicker.server'
|
|
35
|
+
export * from './components/date-picker/index'
|
|
34
36
|
export * from './components/dialog/index'
|
|
35
37
|
export * from './components/Droppable'
|
|
36
38
|
export * from './components/FeatureFlag'
|
|
@@ -40,11 +42,8 @@ export * from './components/FileStatus'
|
|
|
40
42
|
export * from './components/FileUploader'
|
|
41
43
|
export * from './components/for'
|
|
42
44
|
export * from './components/IconButton'
|
|
43
|
-
export * from './components/Legend'
|
|
44
45
|
export * from './components/Menu'
|
|
45
|
-
export * from './components/
|
|
46
|
-
export * from './components/NotificationHeading'
|
|
47
|
-
export * from './components/NotificationDescription'
|
|
46
|
+
export * from './components/notifications/index'
|
|
48
47
|
export * from './components/Portal'
|
|
49
48
|
export * from './components/ProgressBar'
|
|
50
49
|
export * from './components/radio/index'
|
|
@@ -53,12 +52,8 @@ export * from './components/select/index'
|
|
|
53
52
|
export * from './components/Show'
|
|
54
53
|
export * from './components/Spinner'
|
|
55
54
|
export * from './components/switch/index'
|
|
56
|
-
export * from './components/
|
|
57
|
-
export * from './components/
|
|
58
|
-
export * from './components/Thead'
|
|
59
|
-
export * from './components/Th'
|
|
60
|
-
export * from './components/Td'
|
|
61
|
-
export * from './components/Tbody'
|
|
55
|
+
export * from './components/table/index'
|
|
56
|
+
export * from './components/tabs/index'
|
|
62
57
|
export * from './components/Tag'
|
|
63
58
|
export * from './components/Text'
|
|
64
59
|
export * from './components/toggle/index'
|
|
@@ -67,12 +62,8 @@ export * from './components/Tooltip'
|
|
|
67
62
|
// context
|
|
68
63
|
|
|
69
64
|
export * from './context/cerberus'
|
|
70
|
-
export * from './context/confirm-modal'
|
|
71
65
|
export * from './context/feature-flags'
|
|
72
66
|
export * from './context/navMenu'
|
|
73
|
-
export * from './context/notification-center'
|
|
74
|
-
export * from './context/prompt-modal'
|
|
75
|
-
export * from './context/tabs'
|
|
76
67
|
export * from './context/theme'
|
|
77
68
|
|
|
78
69
|
// hooks
|