draft-components 1.0.0-beta.3.1 → 1.0.0-beta.5
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/cjs/components/alert/alert.cjs +18 -0
- package/cjs/components/avatar/avatar.cjs +31 -0
- package/cjs/components/avatar-group/avatar-group.cjs +10 -0
- package/cjs/components/badge/{badge.js → badge.cjs} +7 -6
- package/cjs/components/breadcrumbs/breadcrumbs-context.cjs +19 -0
- package/cjs/components/breadcrumbs/breadcrumbs-item.cjs +21 -0
- package/cjs/components/breadcrumbs/breadcrumbs.cjs +12 -0
- package/cjs/components/button/button.cjs +39 -0
- package/cjs/components/button/icon-button.cjs +12 -0
- package/cjs/components/button-group/button-group.cjs +10 -0
- package/cjs/components/caption/caption.cjs +27 -0
- package/cjs/components/caption/icons.cjs +21 -0
- package/cjs/components/checkbox/checkbox.cjs +16 -0
- package/cjs/components/date-picker/{calendar-day.js → calendar-day.cjs} +8 -7
- package/cjs/components/date-picker/calendar-grid-head.cjs +16 -0
- package/cjs/components/date-picker/calendar-grid.cjs +106 -0
- package/cjs/components/date-picker/calendar-header.cjs +48 -0
- package/cjs/components/date-picker/calendar.cjs +24 -0
- package/cjs/components/date-picker/{date-helpers.js → date-helpers.cjs} +30 -26
- package/cjs/components/date-picker/date-picker.cjs +20 -0
- package/cjs/components/date-picker/date-range-picker.cjs +61 -0
- package/cjs/components/date-picker/date-range.cjs +28 -0
- package/cjs/components/date-picker/icons.cjs +13 -0
- package/cjs/components/date-picker/{parse-min-max-props.js → parse-min-max-props.cjs} +7 -6
- package/cjs/components/date-picker-popover/date-picker-popover.cjs +24 -0
- package/cjs/components/date-range-picker-popover/date-range-picker-popover-footer.cjs +11 -0
- package/cjs/components/date-range-picker-popover/date-range-picker-popover-presets.cjs +35 -0
- package/cjs/components/date-range-picker-popover/date-range-picker-popover.cjs +59 -0
- package/cjs/components/date-range-picker-popover/{helpers.js → helpers.cjs} +3 -3
- package/cjs/components/date-range-picker-popover/{use-is-compact-view.js → use-is-compact-view.cjs} +8 -7
- package/cjs/components/dialog/{dialog-body.js → dialog-body.cjs} +17 -16
- package/cjs/components/dialog/{dialog-context.js → dialog-context.cjs} +10 -9
- package/cjs/components/dialog/dialog-footer.cjs +10 -0
- package/cjs/components/dialog/dialog-header.cjs +18 -0
- package/cjs/components/dialog/dialog.cjs +50 -0
- package/cjs/components/dialog/x-mark-icon.cjs +9 -0
- package/cjs/components/empty-state/empty-state.cjs +10 -0
- package/cjs/components/file-picker/file-picker.cjs +47 -0
- package/cjs/components/filter-buttons/filter-button.cjs +11 -0
- package/cjs/components/filter-buttons/filter-buttons.cjs +27 -0
- package/cjs/components/form-field/form-field.cjs +26 -0
- package/cjs/components/index.cjs +123 -0
- package/cjs/components/label/label.cjs +13 -0
- package/cjs/components/menu/menu-item.cjs +14 -0
- package/cjs/components/menu/menu-separator.cjs +10 -0
- package/cjs/components/menu/{menu.js → menu.cjs} +50 -52
- package/cjs/components/nav-list/nav-list-item.cjs +20 -0
- package/cjs/components/nav-list/nav-list-title.cjs +10 -0
- package/cjs/components/nav-list/nav-list.cjs +10 -0
- package/cjs/components/password-input/icons.cjs +13 -0
- package/cjs/components/password-input/password-input.cjs +30 -0
- package/cjs/components/popover/popover.cjs +97 -0
- package/cjs/components/popover/{use-page-click.js → use-page-click.cjs} +8 -7
- package/cjs/components/portal/portal-context.cjs +22 -0
- package/cjs/components/portal/portal.cjs +11 -0
- package/cjs/components/positioner/{calc-position.js → calc-position.cjs} +4 -4
- package/cjs/components/positioner/{positioner.js → positioner.cjs} +14 -13
- package/cjs/components/radio/radio.cjs +24 -0
- package/cjs/components/segmented-control/segmented-control-button.cjs +15 -0
- package/cjs/components/segmented-control/segmented-control.cjs +48 -0
- package/cjs/components/select/select.cjs +27 -0
- package/cjs/components/selection-control/selection-control.cjs +18 -0
- package/cjs/components/slider/slider-tick-marks.cjs +17 -0
- package/cjs/components/slider/{slider.js → slider.cjs} +16 -14
- package/cjs/components/spinner/spinner.cjs +11 -0
- package/cjs/components/switch/switch.cjs +15 -0
- package/cjs/components/table/icons.cjs +17 -0
- package/cjs/components/table/table-body.cjs +11 -0
- package/cjs/components/table/table-cell.cjs +11 -0
- package/cjs/components/table/table-container.cjs +23 -0
- package/cjs/components/table/table-head-cell.cjs +30 -0
- package/cjs/components/table/table-head.cjs +14 -0
- package/cjs/components/table/table-row.cjs +14 -0
- package/cjs/components/table/table.cjs +16 -0
- package/cjs/components/tabs/tab-list.cjs +67 -0
- package/cjs/components/tabs/tab-panel.cjs +16 -0
- package/cjs/components/tabs/tab.cjs +19 -0
- package/cjs/components/tabs/{tabs-context.js → tabs-context.cjs} +13 -12
- package/cjs/components/tabs/tabs.cjs +11 -0
- package/cjs/components/tag/{tag.js → tag.cjs} +7 -6
- package/cjs/components/text-input/text-input.cjs +26 -0
- package/cjs/components/textarea/textarea.cjs +40 -0
- package/cjs/components/toast/toast-button.cjs +11 -0
- package/cjs/components/toast/toast.cjs +11 -0
- package/cjs/components/toast/x-mark-icon.cjs +9 -0
- package/cjs/components/toaster/toaster.cjs +115 -0
- package/cjs/components/tooltip/tooltip.cjs +75 -0
- package/cjs/hooks/index.cjs +13 -0
- package/cjs/hooks/{use-disable-body-scroll.js → use-disable-body-scroll.cjs} +9 -8
- package/cjs/hooks/{use-esc-key-down.js → use-esc-key-down.cjs} +10 -9
- package/cjs/hooks/{use-focus-trap.js → use-focus-trap.cjs} +12 -11
- package/cjs/hooks/{use-mount-transition.js → use-mount-transition.cjs} +13 -12
- package/cjs/index.cjs +141 -0
- package/cjs/lib/{helpers.js → helpers.cjs} +4 -4
- package/cjs/lib/index.cjs +15 -0
- package/cjs/lib/{keyboard-keys.js → keyboard-keys.cjs} +5 -4
- package/cjs/lib/{react-helpers.js → react-helpers.cjs} +9 -8
- package/css/draft-components-utilities.css +4 -0
- package/css/draft-components.css +15 -1
- package/esm/components/alert/alert.js +9 -5
- package/esm/components/avatar/avatar.js +17 -14
- package/esm/components/avatar-group/avatar-group.js +7 -4
- package/esm/components/badge/badge.js +7 -4
- package/esm/components/breadcrumbs/breadcrumbs-context.js +7 -4
- package/esm/components/breadcrumbs/breadcrumbs-item.js +10 -7
- package/esm/components/breadcrumbs/breadcrumbs.js +9 -6
- package/esm/components/button/button.js +11 -8
- package/esm/components/button/icon-button.js +8 -5
- package/esm/components/button-group/button-group.js +7 -4
- package/esm/components/caption/caption.js +10 -7
- package/esm/components/caption/icons.js +12 -9
- package/esm/components/checkbox/checkbox.js +12 -9
- package/esm/components/date-picker/calendar-day.js +8 -5
- package/esm/components/date-picker/calendar-grid-head.js +8 -5
- package/esm/components/date-picker/calendar-grid.js +15 -12
- package/esm/components/date-picker/calendar-header.js +20 -16
- package/esm/components/date-picker/calendar.js +11 -8
- package/esm/components/date-picker/date-helpers.js +22 -20
- package/esm/components/date-picker/date-picker.js +10 -7
- package/esm/components/date-picker/date-range-picker.js +15 -12
- package/esm/components/date-picker/date-range.js +5 -2
- package/esm/components/date-picker/icons.js +8 -5
- package/esm/components/date-picker/parse-min-max-props.js +5 -2
- package/esm/components/date-picker-popover/date-picker-popover.js +14 -8
- package/esm/components/date-range-picker-popover/date-range-picker-popover-footer.js +8 -4
- package/esm/components/date-range-picker-popover/date-range-picker-popover-presets.js +12 -9
- package/esm/components/date-range-picker-popover/date-range-picker-popover.js +20 -13
- package/esm/components/date-range-picker-popover/helpers.js +3 -1
- package/esm/components/date-range-picker-popover/use-is-compact-view.js +6 -3
- package/esm/components/dialog/dialog-body.js +14 -11
- package/esm/components/dialog/dialog-context.js +7 -4
- package/esm/components/dialog/dialog-footer.js +7 -4
- package/esm/components/dialog/dialog-header.js +11 -7
- package/esm/components/dialog/dialog.js +18 -12
- package/esm/components/dialog/x-mark-icon.js +6 -3
- package/esm/components/empty-state/empty-state.js +7 -4
- package/esm/components/file-picker/file-picker.js +13 -9
- package/esm/components/filter-buttons/filter-button.js +7 -4
- package/esm/components/filter-buttons/filter-buttons.js +9 -6
- package/esm/components/form-field/form-field.js +11 -8
- package/esm/components/index.js +59 -37
- package/esm/components/label/label.js +7 -4
- package/esm/components/menu/menu-item.js +9 -6
- package/esm/components/menu/menu-separator.js +7 -4
- package/esm/components/menu/menu.js +24 -24
- package/esm/components/nav-list/nav-list-item.js +10 -7
- package/esm/components/nav-list/nav-list-title.js +7 -4
- package/esm/components/nav-list/nav-list.js +7 -4
- package/esm/components/password-input/icons.js +8 -5
- package/esm/components/password-input/password-input.js +12 -9
- package/esm/components/popover/popover.js +22 -21
- package/esm/components/popover/use-page-click.js +5 -2
- package/esm/components/portal/portal-context.js +5 -6
- package/esm/components/portal/portal.js +5 -2
- package/esm/components/positioner/calc-position.js +4 -2
- package/esm/components/positioner/positioner.js +9 -6
- package/esm/components/radio/radio.js +12 -9
- package/esm/components/segmented-control/segmented-control-button.js +7 -4
- package/esm/components/segmented-control/segmented-control.js +12 -9
- package/esm/components/select/select.js +12 -9
- package/esm/components/selection-control/selection-control.js +10 -7
- package/esm/components/slider/slider-tick-marks.js +8 -5
- package/esm/components/slider/slider.js +13 -10
- package/esm/components/spinner/spinner.js +7 -4
- package/esm/components/switch/switch.js +11 -8
- package/esm/components/table/icons.js +10 -7
- package/esm/components/table/table-body.js +7 -4
- package/esm/components/table/table-cell.js +7 -4
- package/esm/components/table/table-container.js +7 -4
- package/esm/components/table/table-head-cell.js +18 -15
- package/esm/components/table/table-head.js +7 -4
- package/esm/components/table/table-row.js +7 -4
- package/esm/components/table/table.js +7 -4
- package/esm/components/tabs/tab-list.js +14 -11
- package/esm/components/tabs/tab-panel.js +8 -5
- package/esm/components/tabs/tab.js +10 -7
- package/esm/components/tabs/tabs-context.js +8 -5
- package/esm/components/tabs/tabs.js +8 -5
- package/esm/components/tag/tag.js +7 -4
- package/esm/components/text-input/text-input.js +11 -8
- package/esm/components/textarea/textarea.js +20 -17
- package/esm/components/toast/toast-button.js +7 -4
- package/esm/components/toast/toast.js +8 -5
- package/esm/components/toast/x-mark-icon.js +6 -3
- package/esm/components/toaster/toaster.js +29 -46
- package/esm/components/tooltip/tooltip.js +22 -24
- package/esm/hooks/index.js +4 -4
- package/esm/hooks/use-disable-body-scroll.js +5 -2
- package/esm/hooks/use-esc-key-down.js +6 -3
- package/esm/hooks/use-focus-trap.js +6 -3
- package/esm/hooks/use-mount-transition.js +6 -3
- package/esm/index.js +66 -3
- package/esm/lib/helpers.js +4 -2
- package/esm/lib/index.js +3 -3
- package/esm/lib/keyboard-keys.js +3 -1
- package/esm/lib/react-helpers.js +8 -5
- package/package.json +21 -20
- package/{cjs → types}/components/alert/alert.d.ts +0 -0
- package/{cjs → types}/components/alert/index.d.ts +0 -0
- package/{cjs → types}/components/avatar/avatar.d.ts +0 -0
- package/{cjs → types}/components/avatar/index.d.ts +0 -0
- package/{cjs → types}/components/avatar-group/avatar-group.d.ts +0 -0
- package/{cjs → types}/components/avatar-group/index.d.ts +0 -0
- package/{cjs → types}/components/badge/badge.d.ts +0 -0
- package/{cjs → types}/components/badge/index.d.ts +0 -0
- package/{cjs → types}/components/breadcrumbs/breadcrumbs-context.d.ts +0 -0
- package/{cjs → types}/components/breadcrumbs/breadcrumbs-item.d.ts +0 -0
- package/{cjs → types}/components/breadcrumbs/breadcrumbs.d.ts +0 -0
- package/{cjs → types}/components/breadcrumbs/index.d.ts +0 -0
- package/{cjs → types}/components/button/button.d.ts +0 -0
- package/{cjs → types}/components/button/icon-button.d.ts +0 -0
- package/{cjs → types}/components/button/index.d.ts +0 -0
- package/{cjs → types}/components/button-group/button-group.d.ts +0 -0
- package/{cjs → types}/components/button-group/index.d.ts +0 -0
- package/{cjs → types}/components/caption/caption.d.ts +0 -0
- package/{cjs → types}/components/caption/icons.d.ts +0 -0
- package/{cjs → types}/components/caption/index.d.ts +0 -0
- package/{cjs → types}/components/checkbox/checkbox.d.ts +0 -0
- package/{cjs → types}/components/checkbox/index.d.ts +0 -0
- package/{cjs → types}/components/color-picker/color-picker-button.d.ts +0 -0
- package/{cjs → types}/components/color-picker/color-picker.d.ts +0 -0
- package/{cjs → types}/components/color-picker/index.d.ts +0 -0
- package/{cjs → types}/components/date-picker/calendar-day.d.ts +0 -0
- package/{cjs → types}/components/date-picker/calendar-grid-head.d.ts +0 -0
- package/{cjs → types}/components/date-picker/calendar-grid.d.ts +0 -0
- package/{cjs → types}/components/date-picker/calendar-header.d.ts +0 -0
- package/{cjs → types}/components/date-picker/calendar.d.ts +0 -0
- package/{cjs → types}/components/date-picker/date-helpers.d.ts +0 -0
- package/{cjs → types}/components/date-picker/date-picker.d.ts +0 -0
- package/{cjs → types}/components/date-picker/date-range-picker.d.ts +0 -0
- package/{cjs → types}/components/date-picker/date-range.d.ts +0 -0
- package/{cjs → types}/components/date-picker/icons.d.ts +0 -0
- package/{cjs → types}/components/date-picker/index.d.ts +0 -0
- package/{cjs → types}/components/date-picker/parse-min-max-props.d.ts +0 -0
- package/{cjs → types}/components/date-picker-popover/date-picker-popover.d.ts +0 -0
- package/{cjs → types}/components/date-picker-popover/index.d.ts +0 -0
- package/{cjs → types}/components/date-range-picker-popover/date-range-picker-popover-footer.d.ts +0 -0
- package/{cjs → types}/components/date-range-picker-popover/date-range-picker-popover-presets.d.ts +0 -0
- package/{cjs → types}/components/date-range-picker-popover/date-range-picker-popover.d.ts +0 -0
- package/{cjs → types}/components/date-range-picker-popover/helpers.d.ts +0 -0
- package/{cjs → types}/components/date-range-picker-popover/index.d.ts +0 -0
- package/{cjs → types}/components/date-range-picker-popover/types.d.ts +0 -0
- package/{cjs → types}/components/date-range-picker-popover/use-is-compact-view.d.ts +0 -0
- package/{cjs → types}/components/dialog/dialog-body.d.ts +0 -0
- package/{cjs → types}/components/dialog/dialog-context.d.ts +0 -0
- package/{cjs → types}/components/dialog/dialog-footer.d.ts +0 -0
- package/{cjs → types}/components/dialog/dialog-header.d.ts +0 -0
- package/{cjs → types}/components/dialog/dialog.d.ts +0 -0
- package/{cjs → types}/components/dialog/index.d.ts +0 -0
- package/{cjs → types}/components/dialog/x-mark-icon.d.ts +0 -0
- package/{cjs → types}/components/empty-state/empty-state.d.ts +0 -0
- package/{cjs → types}/components/empty-state/index.d.ts +0 -0
- package/{cjs → types}/components/file-picker/file-picker.d.ts +0 -0
- package/{cjs → types}/components/file-picker/index.d.ts +0 -0
- package/{cjs → types}/components/filter-buttons/filter-button.d.ts +0 -0
- package/{cjs → types}/components/filter-buttons/filter-buttons.d.ts +0 -0
- package/{cjs → types}/components/filter-buttons/index.d.ts +0 -0
- package/{cjs → types}/components/form-field/form-field.d.ts +0 -0
- package/{cjs → types}/components/form-field/index.d.ts +0 -0
- package/{cjs → types}/components/index.d.ts +0 -0
- package/{cjs → types}/components/label/index.d.ts +0 -0
- package/{cjs → types}/components/label/label.d.ts +0 -0
- package/{cjs → types}/components/menu/index.d.ts +0 -0
- package/{cjs → types}/components/menu/menu-item.d.ts +0 -0
- package/{cjs → types}/components/menu/menu-separator.d.ts +0 -0
- package/{cjs → types}/components/menu/menu.d.ts +0 -0
- package/{cjs → types}/components/nav-list/index.d.ts +0 -0
- package/{cjs → types}/components/nav-list/nav-list-item.d.ts +0 -0
- package/{cjs → types}/components/nav-list/nav-list-title.d.ts +0 -0
- package/{cjs → types}/components/nav-list/nav-list.d.ts +0 -0
- package/{cjs → types}/components/password-input/icons.d.ts +0 -0
- package/{cjs → types}/components/password-input/index.d.ts +0 -0
- package/{cjs → types}/components/password-input/password-input.d.ts +0 -0
- package/{cjs → types}/components/popover/index.d.ts +0 -0
- package/{cjs → types}/components/popover/popover.d.ts +0 -0
- package/{cjs → types}/components/popover/use-page-click.d.ts +0 -0
- package/{cjs → types}/components/portal/index.d.ts +0 -0
- package/{cjs → types}/components/portal/portal-context.d.ts +0 -0
- package/{cjs → types}/components/portal/portal.d.ts +0 -0
- package/{cjs → types}/components/positioner/calc-position.d.ts +0 -0
- package/{cjs → types}/components/positioner/index.d.ts +0 -0
- package/{cjs → types}/components/positioner/positioner.d.ts +0 -0
- package/{cjs → types}/components/positioner/types.d.ts +0 -0
- package/{cjs → types}/components/radio/index.d.ts +0 -0
- package/{cjs → types}/components/radio/radio.d.ts +0 -0
- package/{cjs → types}/components/segmented-control/index.d.ts +0 -0
- package/{cjs → types}/components/segmented-control/segmented-control-button.d.ts +0 -0
- package/{cjs → types}/components/segmented-control/segmented-control.d.ts +0 -0
- package/{cjs → types}/components/select/index.d.ts +0 -0
- package/{cjs → types}/components/select/select.d.ts +1 -1
- package/{cjs → types}/components/selection-control/index.d.ts +0 -0
- package/{cjs → types}/components/selection-control/selection-control.d.ts +0 -0
- package/{cjs → types}/components/slider/index.d.ts +0 -0
- package/{cjs → types}/components/slider/slider-tick-marks.d.ts +0 -0
- package/{cjs → types}/components/slider/slider.d.ts +0 -0
- package/{cjs → types}/components/spinner/index.d.ts +0 -0
- package/{cjs → types}/components/spinner/spinner.d.ts +0 -0
- package/{cjs → types}/components/switch/index.d.ts +0 -0
- package/{cjs → types}/components/switch/switch.d.ts +0 -0
- package/{cjs → types}/components/table/icons.d.ts +0 -0
- package/{cjs → types}/components/table/index.d.ts +0 -0
- package/{cjs → types}/components/table/table-body.d.ts +0 -0
- package/{cjs → types}/components/table/table-cell.d.ts +0 -0
- package/{cjs → types}/components/table/table-container.d.ts +0 -0
- package/{cjs → types}/components/table/table-head-cell.d.ts +0 -0
- package/{cjs → types}/components/table/table-head.d.ts +0 -0
- package/{cjs → types}/components/table/table-row.d.ts +0 -0
- package/{cjs → types}/components/table/table.d.ts +0 -0
- package/{cjs → types}/components/tabs/index.d.ts +0 -0
- package/{cjs → types}/components/tabs/tab-list.d.ts +0 -0
- package/{cjs → types}/components/tabs/tab-panel.d.ts +0 -0
- package/{cjs → types}/components/tabs/tab.d.ts +0 -0
- package/{cjs → types}/components/tabs/tabs-context.d.ts +0 -0
- package/{cjs → types}/components/tabs/tabs.d.ts +0 -0
- package/{cjs → types}/components/tabs/types.d.ts +0 -0
- package/{cjs → types}/components/tag/index.d.ts +0 -0
- package/{cjs → types}/components/tag/tag.d.ts +0 -0
- package/{cjs → types}/components/text-input/index.d.ts +0 -0
- package/{cjs → types}/components/text-input/text-input.d.ts +0 -0
- package/{cjs → types}/components/textarea/index.d.ts +0 -0
- package/{cjs → types}/components/textarea/textarea.d.ts +0 -0
- package/{cjs → types}/components/toast/index.d.ts +0 -0
- package/{cjs → types}/components/toast/toast-button.d.ts +0 -0
- package/{cjs → types}/components/toast/toast.d.ts +0 -0
- package/{cjs → types}/components/toast/x-mark-icon.d.ts +0 -0
- package/{cjs → types}/components/toaster/index.d.ts +0 -0
- package/{esm → types}/components/toaster/toaster.d.ts +5 -1
- package/{cjs → types}/components/tooltip/index.d.ts +0 -0
- package/{cjs → types}/components/tooltip/tooltip.d.ts +0 -0
- package/{cjs → types}/hooks/index.d.ts +0 -0
- package/{cjs → types}/hooks/use-disable-body-scroll.d.ts +0 -0
- package/{cjs → types}/hooks/use-esc-key-down.d.ts +0 -0
- package/{cjs → types}/hooks/use-focus-trap.d.ts +0 -0
- package/{cjs → types}/hooks/use-mount-transition.d.ts +0 -0
- package/{cjs → types}/index.d.ts +0 -0
- package/types/lib/helpers.d.ts +4 -0
- package/{cjs → types}/lib/index.d.ts +0 -0
- package/{cjs → types}/lib/keyboard-keys.d.ts +0 -0
- package/{cjs → types}/lib/react-helpers.d.ts +0 -0
- package/cjs/components/alert/alert.js +0 -16
- package/cjs/components/alert/index.js +0 -17
- package/cjs/components/avatar/avatar.js +0 -29
- package/cjs/components/avatar/index.js +0 -17
- package/cjs/components/avatar-group/avatar-group.js +0 -9
- package/cjs/components/avatar-group/index.js +0 -17
- package/cjs/components/badge/index.js +0 -17
- package/cjs/components/breadcrumbs/breadcrumbs-context.js +0 -18
- package/cjs/components/breadcrumbs/breadcrumbs-item.js +0 -20
- package/cjs/components/breadcrumbs/breadcrumbs.js +0 -11
- package/cjs/components/breadcrumbs/index.js +0 -18
- package/cjs/components/button/button.js +0 -37
- package/cjs/components/button/icon-button.js +0 -10
- package/cjs/components/button/index.js +0 -18
- package/cjs/components/button-group/button-group.js +0 -9
- package/cjs/components/button-group/index.js +0 -17
- package/cjs/components/caption/caption.js +0 -25
- package/cjs/components/caption/icons.js +0 -20
- package/cjs/components/caption/index.js +0 -17
- package/cjs/components/checkbox/checkbox.js +0 -14
- package/cjs/components/checkbox/index.js +0 -17
- package/cjs/components/color-picker/color-picker-button.js +0 -15
- package/cjs/components/color-picker/color-picker.js +0 -13
- package/cjs/components/color-picker/index.js +0 -17
- package/cjs/components/date-picker/calendar-grid-head.js +0 -15
- package/cjs/components/date-picker/calendar-grid.js +0 -105
- package/cjs/components/date-picker/calendar-header.js +0 -46
- package/cjs/components/date-picker/calendar.js +0 -23
- package/cjs/components/date-picker/date-picker.js +0 -19
- package/cjs/components/date-picker/date-range-picker.js +0 -60
- package/cjs/components/date-picker/date-range.js +0 -27
- package/cjs/components/date-picker/icons.js +0 -12
- package/cjs/components/date-picker/index.js +0 -18
- package/cjs/components/date-picker-popover/date-picker-popover.js +0 -20
- package/cjs/components/date-picker-popover/index.js +0 -17
- package/cjs/components/date-range-picker-popover/date-range-picker-popover-footer.js +0 -9
- package/cjs/components/date-range-picker-popover/date-range-picker-popover-presets.js +0 -34
- package/cjs/components/date-range-picker-popover/date-range-picker-popover.js +0 -54
- package/cjs/components/date-range-picker-popover/index.js +0 -18
- package/cjs/components/date-range-picker-popover/types.js +0 -2
- package/cjs/components/dialog/dialog-footer.js +0 -9
- package/cjs/components/dialog/dialog-header.js +0 -16
- package/cjs/components/dialog/dialog.js +0 -46
- package/cjs/components/dialog/index.js +0 -20
- package/cjs/components/dialog/x-mark-icon.js +0 -8
- package/cjs/components/empty-state/empty-state.js +0 -9
- package/cjs/components/empty-state/index.js +0 -17
- package/cjs/components/file-picker/file-picker.js +0 -44
- package/cjs/components/file-picker/index.js +0 -17
- package/cjs/components/filter-buttons/filter-button.js +0 -9
- package/cjs/components/filter-buttons/filter-buttons.js +0 -26
- package/cjs/components/filter-buttons/index.js +0 -18
- package/cjs/components/form-field/form-field.js +0 -25
- package/cjs/components/form-field/index.js +0 -17
- package/cjs/components/index.js +0 -53
- package/cjs/components/label/index.js +0 -17
- package/cjs/components/label/label.js +0 -11
- package/cjs/components/menu/index.js +0 -19
- package/cjs/components/menu/menu-item.js +0 -12
- package/cjs/components/menu/menu-separator.js +0 -9
- package/cjs/components/nav-list/index.js +0 -19
- package/cjs/components/nav-list/nav-list-item.js +0 -19
- package/cjs/components/nav-list/nav-list-title.js +0 -9
- package/cjs/components/nav-list/nav-list.js +0 -9
- package/cjs/components/password-input/icons.js +0 -12
- package/cjs/components/password-input/index.js +0 -17
- package/cjs/components/password-input/password-input.js +0 -28
- package/cjs/components/popover/index.js +0 -17
- package/cjs/components/popover/popover.js +0 -97
- package/cjs/components/portal/index.js +0 -17
- package/cjs/components/portal/portal-context.js +0 -26
- package/cjs/components/portal/portal.js +0 -10
- package/cjs/components/positioner/index.js +0 -17
- package/cjs/components/positioner/types.js +0 -2
- package/cjs/components/radio/index.js +0 -17
- package/cjs/components/radio/radio.js +0 -22
- package/cjs/components/segmented-control/index.js +0 -17
- package/cjs/components/segmented-control/segmented-control-button.js +0 -14
- package/cjs/components/segmented-control/segmented-control.js +0 -47
- package/cjs/components/select/index.js +0 -17
- package/cjs/components/select/select.js +0 -25
- package/cjs/components/selection-control/index.js +0 -17
- package/cjs/components/selection-control/selection-control.js +0 -17
- package/cjs/components/slider/index.js +0 -20
- package/cjs/components/slider/slider-tick-marks.js +0 -16
- package/cjs/components/spinner/index.js +0 -17
- package/cjs/components/spinner/spinner.js +0 -9
- package/cjs/components/switch/index.js +0 -17
- package/cjs/components/switch/switch.js +0 -13
- package/cjs/components/table/icons.js +0 -16
- package/cjs/components/table/index.js +0 -23
- package/cjs/components/table/table-body.js +0 -9
- package/cjs/components/table/table-cell.js +0 -9
- package/cjs/components/table/table-container.js +0 -21
- package/cjs/components/table/table-head-cell.js +0 -28
- package/cjs/components/table/table-head.js +0 -12
- package/cjs/components/table/table-row.js +0 -12
- package/cjs/components/table/table.js +0 -14
- package/cjs/components/tabs/index.js +0 -20
- package/cjs/components/tabs/tab-list.js +0 -66
- package/cjs/components/tabs/tab-panel.js +0 -15
- package/cjs/components/tabs/tab.js +0 -18
- package/cjs/components/tabs/tabs.js +0 -10
- package/cjs/components/tabs/types.js +0 -2
- package/cjs/components/tag/index.js +0 -17
- package/cjs/components/text-input/index.js +0 -17
- package/cjs/components/text-input/text-input.js +0 -24
- package/cjs/components/textarea/index.js +0 -17
- package/cjs/components/textarea/textarea.js +0 -38
- package/cjs/components/toast/index.js +0 -18
- package/cjs/components/toast/toast-button.js +0 -9
- package/cjs/components/toast/toast.js +0 -10
- package/cjs/components/toast/x-mark-icon.js +0 -8
- package/cjs/components/toaster/index.js +0 -17
- package/cjs/components/toaster/toaster.d.ts +0 -40
- package/cjs/components/toaster/toaster.js +0 -134
- package/cjs/components/tooltip/index.js +0 -17
- package/cjs/components/tooltip/tooltip.js +0 -79
- package/cjs/hooks/index.js +0 -20
- package/cjs/index.js +0 -19
- package/cjs/lib/helpers.d.ts +0 -2
- package/cjs/lib/index.js +0 -19
- package/css/draft-components-utilities.min.css +0 -1
- package/css/draft-components.dark.min.css +0 -1
- package/css/draft-components.min.css +0 -1
- package/esm/components/alert/alert.d.ts +0 -10
- package/esm/components/alert/index.d.ts +0 -1
- package/esm/components/alert/index.js +0 -1
- package/esm/components/avatar/avatar.d.ts +0 -13
- package/esm/components/avatar/index.d.ts +0 -1
- package/esm/components/avatar/index.js +0 -1
- package/esm/components/avatar-group/avatar-group.d.ts +0 -7
- package/esm/components/avatar-group/index.d.ts +0 -1
- package/esm/components/avatar-group/index.js +0 -1
- package/esm/components/badge/badge.d.ts +0 -8
- package/esm/components/badge/index.d.ts +0 -1
- package/esm/components/badge/index.js +0 -1
- package/esm/components/breadcrumbs/breadcrumbs-context.d.ts +0 -9
- package/esm/components/breadcrumbs/breadcrumbs-item.d.ts +0 -12
- package/esm/components/breadcrumbs/breadcrumbs.d.ts +0 -7
- package/esm/components/breadcrumbs/index.d.ts +0 -2
- package/esm/components/breadcrumbs/index.js +0 -2
- package/esm/components/button/button.d.ts +0 -19
- package/esm/components/button/icon-button.d.ts +0 -6
- package/esm/components/button/index.d.ts +0 -2
- package/esm/components/button/index.js +0 -2
- package/esm/components/button-group/button-group.d.ts +0 -7
- package/esm/components/button-group/index.d.ts +0 -1
- package/esm/components/button-group/index.js +0 -1
- package/esm/components/caption/caption.d.ts +0 -7
- package/esm/components/caption/icons.d.ts +0 -5
- package/esm/components/caption/index.d.ts +0 -1
- package/esm/components/caption/index.js +0 -1
- package/esm/components/checkbox/checkbox.d.ts +0 -10
- package/esm/components/checkbox/index.d.ts +0 -1
- package/esm/components/checkbox/index.js +0 -1
- package/esm/components/color-picker/color-picker-button.d.ts +0 -12
- package/esm/components/color-picker/color-picker-button.js +0 -11
- package/esm/components/color-picker/color-picker.d.ts +0 -13
- package/esm/components/color-picker/color-picker.js +0 -9
- package/esm/components/color-picker/index.d.ts +0 -1
- package/esm/components/color-picker/index.js +0 -1
- package/esm/components/date-picker/calendar-day.d.ts +0 -17
- package/esm/components/date-picker/calendar-grid-head.d.ts +0 -7
- package/esm/components/date-picker/calendar-grid.d.ts +0 -17
- package/esm/components/date-picker/calendar-header.d.ts +0 -12
- package/esm/components/date-picker/calendar.d.ts +0 -11
- package/esm/components/date-picker/date-helpers.d.ts +0 -22
- package/esm/components/date-picker/date-picker.d.ts +0 -13
- package/esm/components/date-picker/date-range-picker.d.ts +0 -14
- package/esm/components/date-picker/date-range.d.ts +0 -13
- package/esm/components/date-picker/icons.d.ts +0 -3
- package/esm/components/date-picker/index.d.ts +0 -2
- package/esm/components/date-picker/index.js +0 -2
- package/esm/components/date-picker/parse-min-max-props.d.ts +0 -8
- package/esm/components/date-picker-popover/date-picker-popover.d.ts +0 -13
- package/esm/components/date-picker-popover/index.d.ts +0 -1
- package/esm/components/date-picker-popover/index.js +0 -1
- package/esm/components/date-range-picker-popover/date-range-picker-popover-footer.d.ts +0 -9
- package/esm/components/date-range-picker-popover/date-range-picker-popover-presets.d.ts +0 -10
- package/esm/components/date-range-picker-popover/date-range-picker-popover.d.ts +0 -26
- package/esm/components/date-range-picker-popover/helpers.d.ts +0 -2
- package/esm/components/date-range-picker-popover/index.d.ts +0 -2
- package/esm/components/date-range-picker-popover/index.js +0 -2
- package/esm/components/date-range-picker-popover/types.d.ts +0 -10
- package/esm/components/date-range-picker-popover/types.js +0 -1
- package/esm/components/date-range-picker-popover/use-is-compact-view.d.ts +0 -1
- package/esm/components/dialog/dialog-body.d.ts +0 -8
- package/esm/components/dialog/dialog-context.d.ts +0 -15
- package/esm/components/dialog/dialog-footer.d.ts +0 -5
- package/esm/components/dialog/dialog-header.d.ts +0 -8
- package/esm/components/dialog/dialog.d.ts +0 -12
- package/esm/components/dialog/index.d.ts +0 -4
- package/esm/components/dialog/index.js +0 -4
- package/esm/components/dialog/x-mark-icon.d.ts +0 -2
- package/esm/components/empty-state/empty-state.d.ts +0 -11
- package/esm/components/empty-state/index.d.ts +0 -1
- package/esm/components/empty-state/index.js +0 -1
- package/esm/components/file-picker/file-picker.d.ts +0 -13
- package/esm/components/file-picker/index.d.ts +0 -1
- package/esm/components/file-picker/index.js +0 -1
- package/esm/components/filter-buttons/filter-button.d.ts +0 -7
- package/esm/components/filter-buttons/filter-buttons.d.ts +0 -5
- package/esm/components/filter-buttons/index.d.ts +0 -2
- package/esm/components/filter-buttons/index.js +0 -2
- package/esm/components/form-field/form-field.d.ts +0 -15
- package/esm/components/form-field/index.d.ts +0 -1
- package/esm/components/form-field/index.js +0 -1
- package/esm/components/index.d.ts +0 -37
- package/esm/components/label/index.d.ts +0 -1
- package/esm/components/label/index.js +0 -1
- package/esm/components/label/label.d.ts +0 -5
- package/esm/components/menu/index.d.ts +0 -3
- package/esm/components/menu/index.js +0 -3
- package/esm/components/menu/menu-item.d.ts +0 -11
- package/esm/components/menu/menu-separator.d.ts +0 -6
- package/esm/components/menu/menu.d.ts +0 -31
- package/esm/components/nav-list/index.d.ts +0 -3
- package/esm/components/nav-list/index.js +0 -3
- package/esm/components/nav-list/nav-list-item.d.ts +0 -13
- package/esm/components/nav-list/nav-list-title.d.ts +0 -8
- package/esm/components/nav-list/nav-list.d.ts +0 -5
- package/esm/components/password-input/icons.d.ts +0 -3
- package/esm/components/password-input/index.d.ts +0 -1
- package/esm/components/password-input/index.js +0 -1
- package/esm/components/password-input/password-input.d.ts +0 -10
- package/esm/components/popover/index.d.ts +0 -1
- package/esm/components/popover/index.js +0 -1
- package/esm/components/popover/popover.d.ts +0 -49
- package/esm/components/popover/use-page-click.d.ts +0 -16
- package/esm/components/portal/index.d.ts +0 -1
- package/esm/components/portal/index.js +0 -1
- package/esm/components/portal/portal-context.d.ts +0 -6
- package/esm/components/portal/portal.d.ts +0 -5
- package/esm/components/positioner/calc-position.d.ts +0 -32
- package/esm/components/positioner/index.d.ts +0 -1
- package/esm/components/positioner/index.js +0 -1
- package/esm/components/positioner/positioner.d.ts +0 -20
- package/esm/components/positioner/types.d.ts +0 -14
- package/esm/components/positioner/types.js +0 -1
- package/esm/components/radio/index.d.ts +0 -1
- package/esm/components/radio/index.js +0 -1
- package/esm/components/radio/radio.d.ts +0 -11
- package/esm/components/segmented-control/index.d.ts +0 -1
- package/esm/components/segmented-control/index.js +0 -1
- package/esm/components/segmented-control/segmented-control-button.d.ts +0 -10
- package/esm/components/segmented-control/segmented-control.d.ts +0 -15
- package/esm/components/select/index.d.ts +0 -1
- package/esm/components/select/index.js +0 -1
- package/esm/components/select/select.d.ts +0 -46
- package/esm/components/selection-control/index.d.ts +0 -1
- package/esm/components/selection-control/index.js +0 -1
- package/esm/components/selection-control/selection-control.d.ts +0 -14
- package/esm/components/slider/index.d.ts +0 -2
- package/esm/components/slider/index.js +0 -2
- package/esm/components/slider/slider-tick-marks.d.ts +0 -7
- package/esm/components/slider/slider.d.ts +0 -17
- package/esm/components/spinner/index.d.ts +0 -1
- package/esm/components/spinner/index.js +0 -1
- package/esm/components/spinner/spinner.d.ts +0 -7
- package/esm/components/switch/index.d.ts +0 -1
- package/esm/components/switch/index.js +0 -1
- package/esm/components/switch/switch.d.ts +0 -10
- package/esm/components/table/icons.d.ts +0 -4
- package/esm/components/table/index.d.ts +0 -7
- package/esm/components/table/index.js +0 -7
- package/esm/components/table/table-body.d.ts +0 -5
- package/esm/components/table/table-cell.d.ts +0 -5
- package/esm/components/table/table-container.d.ts +0 -13
- package/esm/components/table/table-head-cell.d.ts +0 -10
- package/esm/components/table/table-head.d.ts +0 -7
- package/esm/components/table/table-row.d.ts +0 -7
- package/esm/components/table/table.d.ts +0 -11
- package/esm/components/tabs/index.d.ts +0 -4
- package/esm/components/tabs/index.js +0 -4
- package/esm/components/tabs/tab-list.d.ts +0 -3
- package/esm/components/tabs/tab-panel.d.ts +0 -6
- package/esm/components/tabs/tab.d.ts +0 -7
- package/esm/components/tabs/tabs-context.d.ts +0 -20
- package/esm/components/tabs/tabs.d.ts +0 -7
- package/esm/components/tabs/types.d.ts +0 -2
- package/esm/components/tabs/types.js +0 -1
- package/esm/components/tag/index.d.ts +0 -1
- package/esm/components/tag/index.js +0 -1
- package/esm/components/tag/tag.d.ts +0 -13
- package/esm/components/text-input/index.d.ts +0 -1
- package/esm/components/text-input/index.js +0 -1
- package/esm/components/text-input/text-input.d.ts +0 -21
- package/esm/components/textarea/index.d.ts +0 -1
- package/esm/components/textarea/index.js +0 -1
- package/esm/components/textarea/textarea.d.ts +0 -20
- package/esm/components/toast/index.d.ts +0 -2
- package/esm/components/toast/index.js +0 -2
- package/esm/components/toast/toast-button.d.ts +0 -5
- package/esm/components/toast/toast.d.ts +0 -11
- package/esm/components/toast/x-mark-icon.d.ts +0 -2
- package/esm/components/toaster/index.d.ts +0 -1
- package/esm/components/toaster/index.js +0 -1
- package/esm/components/tooltip/index.d.ts +0 -1
- package/esm/components/tooltip/index.js +0 -1
- package/esm/components/tooltip/tooltip.d.ts +0 -25
- package/esm/hooks/index.d.ts +0 -4
- package/esm/hooks/use-disable-body-scroll.d.ts +0 -5
- package/esm/hooks/use-esc-key-down.d.ts +0 -17
- package/esm/hooks/use-focus-trap.d.ts +0 -15
- package/esm/hooks/use-mount-transition.d.ts +0 -32
- package/esm/index.d.ts +0 -3
- package/esm/lib/helpers.d.ts +0 -2
- package/esm/lib/index.d.ts +0 -3
- package/esm/lib/keyboard-keys.d.ts +0 -14
- package/esm/lib/react-helpers.d.ts +0 -13
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type ComponentPropsWithRef, type ReactNode } from 'react';
|
|
2
|
-
type MenuItemHTMLProps = ComponentPropsWithRef<'button'>;
|
|
3
|
-
type MenuItemBaseProps = Omit<MenuItemHTMLProps, 'children'>;
|
|
4
|
-
export type MenuItemAppearance = 'default' | 'destructive';
|
|
5
|
-
export type MenuItemProps = {
|
|
6
|
-
appearance?: MenuItemAppearance;
|
|
7
|
-
icon?: ReactNode;
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
} & MenuItemBaseProps;
|
|
10
|
-
export declare const MenuItem: import("react").ForwardRefExoticComponent<Pick<MenuItemProps, "hidden" | "form" | "slot" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "icon" | "appearance" | "value" | "type" | "name" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
11
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
type MenuSeparatorHTMLProps = ComponentPropsWithoutRef<'li'>;
|
|
3
|
-
type MenuSeparatorBaseProps = Omit<MenuSeparatorHTMLProps, 'children'>;
|
|
4
|
-
export type MenuSeparatorProps = MenuSeparatorBaseProps;
|
|
5
|
-
export declare function MenuSeparator({ className, ...props }: MenuSeparatorProps): JSX.Element;
|
|
6
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef, type KeyboardEventHandler, type MouseEventHandler, type ReactNode, type RefCallback } from 'react';
|
|
2
|
-
import { type ButtonAppearance, type ButtonVariant } from '../button';
|
|
3
|
-
import { type PopoverAlignment, type PopoverPlacement } from '../popover';
|
|
4
|
-
export type MenuAnchorRenderFn = (props: {
|
|
5
|
-
ref: RefCallback<HTMLElement>;
|
|
6
|
-
id: string;
|
|
7
|
-
'aria-haspopup': true;
|
|
8
|
-
'aria-expanded': boolean;
|
|
9
|
-
'aria-controls': string;
|
|
10
|
-
onClick: MouseEventHandler;
|
|
11
|
-
onKeyDown: KeyboardEventHandler;
|
|
12
|
-
}, context: {
|
|
13
|
-
isOpen: boolean;
|
|
14
|
-
openMenu: () => void;
|
|
15
|
-
closeMenu: () => void;
|
|
16
|
-
}) => JSX.Element;
|
|
17
|
-
type MenuHTMLProps = ComponentPropsWithoutRef<'ul'>;
|
|
18
|
-
export type MenuPlacement = PopoverPlacement;
|
|
19
|
-
export type MenuAlignment = PopoverAlignment;
|
|
20
|
-
export type MenuProps = {
|
|
21
|
-
defaultIsOpen?: boolean;
|
|
22
|
-
placement?: MenuPlacement;
|
|
23
|
-
alignment?: MenuAlignment;
|
|
24
|
-
onOpen?: () => void;
|
|
25
|
-
onClose?: () => void;
|
|
26
|
-
button: ReactNode | MenuAnchorRenderFn;
|
|
27
|
-
buttonAppearance?: ButtonAppearance;
|
|
28
|
-
buttonVariant?: ButtonVariant;
|
|
29
|
-
} & MenuHTMLProps;
|
|
30
|
-
export declare function Menu({ defaultIsOpen, placement, alignment, buttonAppearance, buttonVariant, button, className, children, onOpen, onClose, onKeyDown, ...props }: MenuProps): JSX.Element;
|
|
31
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
|
-
type NavListItemHTMLProps = ComponentPropsWithoutRef<'a'>;
|
|
3
|
-
export type NavListItemRenderFn = (props: {
|
|
4
|
-
className: string;
|
|
5
|
-
children: JSX.Element;
|
|
6
|
-
}) => ReactNode;
|
|
7
|
-
export type NavListItemProps = {
|
|
8
|
-
icon?: ReactNode;
|
|
9
|
-
badge?: string | number;
|
|
10
|
-
renderAs?: NavListItemRenderFn;
|
|
11
|
-
} & NavListItemHTMLProps;
|
|
12
|
-
export declare function NavListItem({ className, icon, badge, children, renderAs, ...props }: NavListItemProps): JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
|
-
type NavListTitleHTMLProps = ComponentPropsWithoutRef<'li'>;
|
|
3
|
-
type NavListTitleBaseProps = Omit<NavListTitleHTMLProps, 'children'>;
|
|
4
|
-
export type NavListTitleProps = {
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
} & NavListTitleBaseProps;
|
|
7
|
-
export declare function NavListTitle({ className, children, ...props }: NavListTitleProps): JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './password-input';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './password-input';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type TextInputProps } from '../text-input';
|
|
3
|
-
type PasswordInputBaseProps = Omit<TextInputProps, 'type' | 'suffix'>;
|
|
4
|
-
export type PasswordInputProps = {
|
|
5
|
-
isDefaultVisible?: boolean;
|
|
6
|
-
showPasswordTitle?: string;
|
|
7
|
-
hidePasswordTitle?: string;
|
|
8
|
-
} & PasswordInputBaseProps;
|
|
9
|
-
export declare const PasswordInput: import("react").ForwardRefExoticComponent<Pick<PasswordInputProps, "hidden" | "form" | "slot" | "style" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "list" | "step" | "size" | "src" | "alt" | "width" | "height" | "value" | "max" | "min" | "name" | "crossOrigin" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "isBlock" | "accept" | "autoComplete" | "capture" | "checked" | "enterKeyHint" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "hasError" | "htmlSize" | "onChangeValue" | "widthCh" | "isDefaultVisible" | "showPasswordTitle" | "hidePasswordTitle"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
10
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './popover';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './popover';
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef, type ReactNode, type RefCallback } from 'react';
|
|
2
|
-
import { type PositionerProps } from '../positioner';
|
|
3
|
-
export type PopoverRef = {
|
|
4
|
-
open(): void;
|
|
5
|
-
close(): void;
|
|
6
|
-
toggle(): void;
|
|
7
|
-
};
|
|
8
|
-
export type PopoverAnchorRenderFn = (props: {
|
|
9
|
-
ref: RefCallback<HTMLElement>;
|
|
10
|
-
}, context: {
|
|
11
|
-
isOpen: boolean;
|
|
12
|
-
openPopover: () => void;
|
|
13
|
-
closePopover: () => void;
|
|
14
|
-
togglePopover: () => void;
|
|
15
|
-
}) => ReactNode;
|
|
16
|
-
type PopoverHTMLProps = ComponentPropsWithoutRef<'div'>;
|
|
17
|
-
export type PopoverPlacement = PositionerProps['placement'];
|
|
18
|
-
export type PopoverAlignment = PositionerProps['alignment'];
|
|
19
|
-
export type PopoverOpenCallback = () => void;
|
|
20
|
-
export type PopoverCloseCallback = () => void;
|
|
21
|
-
export type PopoverProps = {
|
|
22
|
-
defaultIsOpen?: boolean;
|
|
23
|
-
isOpen?: boolean;
|
|
24
|
-
shouldTrapFocus?: boolean;
|
|
25
|
-
shouldFocusAnchorAfterEscPress?: boolean;
|
|
26
|
-
anchorGap?: number;
|
|
27
|
-
viewportGap?: number;
|
|
28
|
-
placement?: PopoverPlacement;
|
|
29
|
-
alignment?: PopoverAlignment;
|
|
30
|
-
anchor: ReactNode | PopoverAnchorRenderFn;
|
|
31
|
-
children: ReactNode;
|
|
32
|
-
onOpen?: PopoverOpenCallback;
|
|
33
|
-
onClose?: PopoverCloseCallback;
|
|
34
|
-
} & PopoverHTMLProps;
|
|
35
|
-
export declare const Popover: import("react").ForwardRefExoticComponent<{
|
|
36
|
-
defaultIsOpen?: boolean | undefined;
|
|
37
|
-
isOpen?: boolean | undefined;
|
|
38
|
-
shouldTrapFocus?: boolean | undefined;
|
|
39
|
-
shouldFocusAnchorAfterEscPress?: boolean | undefined;
|
|
40
|
-
anchorGap?: number | undefined;
|
|
41
|
-
viewportGap?: number | undefined;
|
|
42
|
-
placement?: PopoverPlacement;
|
|
43
|
-
alignment?: PopoverAlignment;
|
|
44
|
-
anchor: ReactNode | PopoverAnchorRenderFn;
|
|
45
|
-
children: ReactNode;
|
|
46
|
-
onOpen?: PopoverOpenCallback | undefined;
|
|
47
|
-
onClose?: PopoverCloseCallback | undefined;
|
|
48
|
-
} & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("react").RefAttributes<PopoverRef>>;
|
|
49
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
type Handler = (event: MouseEvent) => void;
|
|
2
|
-
type Options = {
|
|
3
|
-
isEnabled: boolean;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* Invokes a given handler when the user clicks on any place on the page.
|
|
7
|
-
* When multiple handlers are registered, only the last one will be invoked.
|
|
8
|
-
* This behavior is used to close only top-level popover.
|
|
9
|
-
*
|
|
10
|
-
* @param handler The click handler.
|
|
11
|
-
* @param options An object with hook options.
|
|
12
|
-
* @param options.isEnabled - A flag that determines whether to run
|
|
13
|
-
* the passed handler or not.
|
|
14
|
-
*/
|
|
15
|
-
export declare function usePageClick(handler: Handler, options: Options): void;
|
|
16
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './portal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './portal';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { type Alignment, type Coordinates, type Placement, type Rect } from './types';
|
|
2
|
-
export type CalcPositionParams = {
|
|
3
|
-
placement: Placement;
|
|
4
|
-
alignment: Alignment;
|
|
5
|
-
anchorRect: Rect;
|
|
6
|
-
contentRect: Rect;
|
|
7
|
-
viewportWidth: number;
|
|
8
|
-
viewportHeight: number;
|
|
9
|
-
scrollX: number;
|
|
10
|
-
scrollY: number;
|
|
11
|
-
anchorGap: number;
|
|
12
|
-
viewportGap: number;
|
|
13
|
-
};
|
|
14
|
-
export type CalcPositionResult = Coordinates & {
|
|
15
|
-
placement: Placement;
|
|
16
|
-
alignment: Alignment;
|
|
17
|
-
};
|
|
18
|
-
export declare function calcPosition({ placement, alignment, anchorRect, contentRect, viewportWidth, viewportHeight, scrollX, scrollY, anchorGap, viewportGap, }: CalcPositionParams): CalcPositionResult;
|
|
19
|
-
type GetYAxisOffsetParams = {
|
|
20
|
-
placement: Placement;
|
|
21
|
-
anchorGap: number;
|
|
22
|
-
scrollY: number;
|
|
23
|
-
anchorY: number;
|
|
24
|
-
viewportHeight: number;
|
|
25
|
-
contentHeight: number;
|
|
26
|
-
anchorHeight: number;
|
|
27
|
-
};
|
|
28
|
-
export declare function getYAxisOffset({ placement, anchorGap, scrollY, anchorY, viewportHeight, contentHeight, anchorHeight, }: GetYAxisOffsetParams): {
|
|
29
|
-
offset: number;
|
|
30
|
-
placement: Placement;
|
|
31
|
-
};
|
|
32
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './positioner';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './positioner';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type CSSProperties, type ReactNode, type RefCallback } from 'react';
|
|
2
|
-
import { type Alignment, type Placement } from './types';
|
|
3
|
-
export type PositionerAnchorRenderFn = (params: {
|
|
4
|
-
setRef: RefCallback<HTMLElement>;
|
|
5
|
-
}) => ReactNode;
|
|
6
|
-
export type PositionerContentRenderFn = (params: {
|
|
7
|
-
setRef: RefCallback<HTMLElement>;
|
|
8
|
-
style: CSSProperties;
|
|
9
|
-
}) => ReactNode;
|
|
10
|
-
export type Position = 'fixed' | 'absolute';
|
|
11
|
-
export type PositionerProps = {
|
|
12
|
-
anchorGap?: number;
|
|
13
|
-
viewportGap?: number;
|
|
14
|
-
position?: Position;
|
|
15
|
-
placement?: Placement;
|
|
16
|
-
alignment?: Alignment;
|
|
17
|
-
renderAnchor: PositionerAnchorRenderFn;
|
|
18
|
-
renderContent: PositionerContentRenderFn;
|
|
19
|
-
};
|
|
20
|
-
export declare function Positioner({ anchorGap, viewportGap, position, placement, alignment, renderAnchor, renderContent, }: PositionerProps): JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export type Placement = 'top' | 'right' | 'bottom' | 'left';
|
|
2
|
-
export type Alignment = 'start' | 'center' | 'end';
|
|
3
|
-
export type Coordinates = {
|
|
4
|
-
x: number;
|
|
5
|
-
y: number;
|
|
6
|
-
};
|
|
7
|
-
export type Rect = {
|
|
8
|
-
top: number;
|
|
9
|
-
right: number;
|
|
10
|
-
bottom: number;
|
|
11
|
-
left: number;
|
|
12
|
-
width: number;
|
|
13
|
-
height: number;
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './radio';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './radio';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type ComponentPropsWithRef } from 'react';
|
|
2
|
-
type RadioHTMLProps = ComponentPropsWithRef<'input'>;
|
|
3
|
-
type RadioBaseProps = Omit<RadioHTMLProps, 'type'>;
|
|
4
|
-
export type RadioIcon = 'dot' | 'check';
|
|
5
|
-
export type RadioToggleHandler = (checked: boolean) => void;
|
|
6
|
-
export type RadioProps = RadioBaseProps & {
|
|
7
|
-
icon?: RadioIcon;
|
|
8
|
-
onToggle?: RadioToggleHandler;
|
|
9
|
-
};
|
|
10
|
-
export declare const Radio: import("react").ForwardRefExoticComponent<Pick<RadioProps, "hidden" | "form" | "slot" | "style" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "icon" | "list" | "step" | "size" | "src" | "alt" | "width" | "height" | "value" | "max" | "min" | "name" | "crossOrigin" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "autoComplete" | "capture" | "checked" | "enterKeyHint" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "onToggle"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
11
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './segmented-control';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './segmented-control';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
export type SegmentedControlButtonProps<T extends string | number> = {
|
|
3
|
-
icon?: ReactNode;
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
checked: boolean;
|
|
7
|
-
value: T;
|
|
8
|
-
onChangeValue: (value: T) => void;
|
|
9
|
-
};
|
|
10
|
-
export declare function SegmentedControlButton<T extends string | number>({ className, checked, icon, children, value, onChangeValue, }: SegmentedControlButtonProps<T>): JSX.Element;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type ComponentPropsWithRef, type ReactNode } from 'react';
|
|
2
|
-
export type SegmentedControlOption<T extends string | number> = {
|
|
3
|
-
value: T;
|
|
4
|
-
icon?: ReactNode;
|
|
5
|
-
label?: ReactNode;
|
|
6
|
-
};
|
|
7
|
-
export type SegmentedControlSize = 'sm' | 'md' | 'lg';
|
|
8
|
-
export type SegmentedControlProps<T extends string | number> = {
|
|
9
|
-
size?: SegmentedControlSize;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
options: SegmentedControlOption<T>[];
|
|
12
|
-
value: T;
|
|
13
|
-
onChangeValue: (value: T) => void;
|
|
14
|
-
} & ComponentPropsWithRef<'ul'>;
|
|
15
|
-
export declare function SegmentedControl<T extends string | number>({ size, disabled, className, value, options, onChangeValue, ...props }: SegmentedControlProps<T>): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './select';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './select';
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { type ComponentPropsWithRef } from 'react';
|
|
2
|
-
type SelectHTMLProps = ComponentPropsWithRef<'select'>;
|
|
3
|
-
type SelectBaseProps = Omit<SelectHTMLProps, 'size' | 'multiple' | 'value' | 'defaultValue'> & {
|
|
4
|
-
hasError?: boolean;
|
|
5
|
-
isBlock?: boolean;
|
|
6
|
-
size?: SelectSize;
|
|
7
|
-
htmlSize?: SelectHTMLProps['size'];
|
|
8
|
-
};
|
|
9
|
-
export type SelectSize = 'sm' | 'md' | 'lg';
|
|
10
|
-
export type SelectProps = SelectBaseProps & ({
|
|
11
|
-
multiple?: false;
|
|
12
|
-
value?: string | number;
|
|
13
|
-
defaultValue?: string | number;
|
|
14
|
-
onChangeValue?: (value: string) => void;
|
|
15
|
-
} | {
|
|
16
|
-
multiple: true;
|
|
17
|
-
value?: string[];
|
|
18
|
-
defaultValue?: string[];
|
|
19
|
-
onChangeValue?: (value: string[]) => void;
|
|
20
|
-
});
|
|
21
|
-
export declare const Select: import("react").ForwardRefExoticComponent<(Pick<Omit<Pick<import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "key" | keyof import("react").SelectHTMLAttributes<HTMLSelectElement>> & {
|
|
22
|
-
ref?: ((instance: HTMLSelectElement | null) => void) | import("react").RefObject<HTMLSelectElement> | null | undefined;
|
|
23
|
-
}, "defaultValue" | "size" | "value" | "multiple"> & {
|
|
24
|
-
hasError?: boolean | undefined;
|
|
25
|
-
isBlock?: boolean | undefined;
|
|
26
|
-
size?: SelectSize | undefined;
|
|
27
|
-
htmlSize?: SelectHTMLProps['size'];
|
|
28
|
-
} & {
|
|
29
|
-
multiple?: false | undefined;
|
|
30
|
-
value?: string | number | undefined;
|
|
31
|
-
defaultValue?: string | number | undefined;
|
|
32
|
-
onChangeValue?: ((value: string) => void) | undefined;
|
|
33
|
-
}, "hidden" | "form" | "slot" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "value" | "name" | "autoFocus" | "disabled" | "isBlock" | "autoComplete" | "multiple" | "required" | "hasError" | "htmlSize" | "onChangeValue"> | Pick<Omit<Pick<import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "key" | keyof import("react").SelectHTMLAttributes<HTMLSelectElement>> & {
|
|
34
|
-
ref?: ((instance: HTMLSelectElement | null) => void) | import("react").RefObject<HTMLSelectElement> | null | undefined;
|
|
35
|
-
}, "defaultValue" | "size" | "value" | "multiple"> & {
|
|
36
|
-
hasError?: boolean | undefined;
|
|
37
|
-
isBlock?: boolean | undefined;
|
|
38
|
-
size?: SelectSize | undefined;
|
|
39
|
-
htmlSize?: SelectHTMLProps['size'];
|
|
40
|
-
} & {
|
|
41
|
-
multiple: true;
|
|
42
|
-
value?: string[] | undefined;
|
|
43
|
-
defaultValue?: string[] | undefined;
|
|
44
|
-
onChangeValue?: ((value: string[]) => void) | undefined;
|
|
45
|
-
}, "hidden" | "form" | "slot" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "value" | "name" | "autoFocus" | "disabled" | "isBlock" | "autoComplete" | "multiple" | "required" | "hasError" | "htmlSize" | "onChangeValue">) & import("react").RefAttributes<HTMLSelectElement>>;
|
|
46
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './selection-control';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './selection-control';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
|
-
export type SelectionControlRenderFn = (props: {
|
|
3
|
-
id: string;
|
|
4
|
-
}) => ReactNode;
|
|
5
|
-
type SelectionControlHTMLProps = ComponentPropsWithoutRef<'div'>;
|
|
6
|
-
type SelectionControlBaseProps = Omit<SelectionControlHTMLProps, 'children'>;
|
|
7
|
-
export type SelectionControlProps = {
|
|
8
|
-
labelFor?: string;
|
|
9
|
-
caption?: ReactNode;
|
|
10
|
-
label: ReactNode;
|
|
11
|
-
children: ReactNode | SelectionControlRenderFn;
|
|
12
|
-
} & SelectionControlBaseProps;
|
|
13
|
-
export declare function SelectionControl({ label, labelFor, caption, className, children, ...props }: SelectionControlProps): JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
export type RenderTickMarkLabel = (index: number) => ReactNode;
|
|
3
|
-
export type SliderTickMarksProps = {
|
|
4
|
-
tickMarksCount: number;
|
|
5
|
-
renderTickMarkLabel?: RenderTickMarkLabel;
|
|
6
|
-
};
|
|
7
|
-
export declare function SliderTickMarks({ tickMarksCount, renderTickMarkLabel, }: SliderTickMarksProps): JSX.Element | null;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type ComponentPropsWithRef } from 'react';
|
|
2
|
-
import { type SliderTickMarksProps } from './slider-tick-marks';
|
|
3
|
-
type SliderHTMLProps = ComponentPropsWithRef<'input'>;
|
|
4
|
-
type SliderBaseProps = Omit<SliderHTMLProps, 'type' | 'min' | 'max' | 'step' | 'value' | 'defaultValue'>;
|
|
5
|
-
export type SliderThumbStyle = 'round' | 'rect';
|
|
6
|
-
export type SliderChangeValueHandler = (value: number) => void;
|
|
7
|
-
export type SliderProps = {
|
|
8
|
-
thumbStyle?: SliderThumbStyle;
|
|
9
|
-
step?: number;
|
|
10
|
-
min?: number;
|
|
11
|
-
max?: number;
|
|
12
|
-
value?: number;
|
|
13
|
-
defaultValue?: number;
|
|
14
|
-
onChangeValue?: SliderChangeValueHandler;
|
|
15
|
-
} & SliderBaseProps & Partial<SliderTickMarksProps>;
|
|
16
|
-
export declare const Slider: import("react").ForwardRefExoticComponent<Pick<SliderProps, "hidden" | "form" | "slot" | "style" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "list" | "step" | "size" | "src" | "alt" | "width" | "height" | "value" | "max" | "min" | "name" | "crossOrigin" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "autoComplete" | "capture" | "checked" | "enterKeyHint" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "onChangeValue" | "thumbStyle" | keyof SliderTickMarksProps> & import("react").RefAttributes<HTMLInputElement>>;
|
|
17
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './spinner';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './spinner';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export type SpinnerProps = ComponentPropsWithoutRef<'svg'> & {
|
|
3
|
-
size?: number | string;
|
|
4
|
-
};
|
|
5
|
-
export declare const Spinner: import("react").ForwardRefExoticComponent<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "style" | "clipPath" | "filter" | "mask" | "path" | "key" | "className" | "id" | "lang" | "tabIndex" | "role" | "color" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "fill" | "width" | "height" | "href" | "media" | "target" | "type" | "origin" | "max" | "method" | "min" | "name" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "shapeRendering" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
6
|
-
size?: string | number | undefined;
|
|
7
|
-
} & import("react").RefAttributes<SVGSVGElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './switch';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './switch';
|