dawn-ui-react 1.0.0-alpha.3 → 1.0.0-alpha.31
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/dist/components/accordion/accordion-header.d.ts +1 -1
- package/dist/components/accordion/accordion-item.d.ts +1 -1
- package/dist/components/accordion/accordion-panel.d.ts +1 -1
- package/dist/components/accordion/accordion-subtitle.d.ts +1 -1
- package/dist/components/accordion/accordion-title.d.ts +1 -1
- package/dist/components/accordion/accordion-trigger.d.ts +1 -1
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion/index.d.ts +2 -1
- package/dist/components/alert/alert-actions.d.ts +1 -1
- package/dist/components/alert/alert-content.d.ts +1 -1
- package/dist/components/alert/alert-description.d.ts +1 -1
- package/dist/components/alert/alert-title.d.ts +1 -1
- package/dist/components/alert/alert.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-close.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-confirm.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-content.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-description.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-footer.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-header.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-popup.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-title.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-trigger.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-collection.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-content.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-grid-content.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-grid-item.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-group-label.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-group.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-input-group-addon.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-input-group-input.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-input-group.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-item.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-row.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-status.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-trigger.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete.d.ts +1 -1
- package/dist/components/avatar/avatar-badge.d.ts +1 -1
- package/dist/components/avatar/avatar-fallback.d.ts +1 -1
- package/dist/components/avatar/avatar-image.d.ts +1 -1
- package/dist/components/avatar/avatar.d.ts +1 -1
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb-ellipsis.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb-link.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb-separator.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/button.types.d.ts +1 -1
- package/dist/components/button-group/button-group.d.ts +1 -1
- package/dist/components/chart/chart-container.d.ts +5 -0
- package/dist/components/chart/chart-legend-content.d.ts +8 -0
- package/dist/components/chart/chart-legend-icon.d.ts +2 -0
- package/dist/components/chart/chart-legend-indicator.d.ts +2 -0
- package/dist/components/chart/chart-legend-label.d.ts +2 -0
- package/dist/components/chart/chart-legend.d.ts +2 -0
- package/dist/components/chart/chart-linear-gradient.d.ts +2 -0
- package/dist/components/chart/chart-tooltip-content.d.ts +4 -0
- package/dist/components/chart/chart-tooltip-icon.d.ts +2 -0
- package/dist/components/chart/chart-tooltip-indicator.d.ts +2 -0
- package/dist/components/chart/chart-tooltip-label.d.ts +2 -0
- package/dist/components/chart/chart-tooltip-name.d.ts +2 -0
- package/dist/components/chart/chart-tooltip-payload.d.ts +5 -0
- package/dist/components/chart/chart-tooltip-value.d.ts +2 -0
- package/dist/components/chart/chart-tooltip.d.ts +2 -0
- package/dist/components/chart/chart.types.d.ts +50 -0
- package/dist/components/chart/chart.utils.d.ts +11 -0
- package/dist/components/chart/index.d.ts +19 -0
- package/dist/components/checkbox/checkbox-indicator.d.ts +1 -1
- package/dist/components/checkbox/checkbox.d.ts +1 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts +2 -1
- package/dist/components/code-block/code-block-actions.d.ts +2 -0
- package/dist/components/code-block/code-block-copy.d.ts +3 -0
- package/dist/components/code-block/code-block-download.d.ts +3 -0
- package/dist/components/code-block/code-block-header.d.ts +3 -0
- package/dist/components/code-block/code-block-name.d.ts +2 -0
- package/dist/components/code-block/code-block-select.d.ts +2 -0
- package/dist/components/code-block/code-block-tabs.d.ts +2 -0
- package/dist/components/code-block/code-block-window.d.ts +2 -0
- package/dist/components/code-block/code-block.d.ts +4 -0
- package/dist/components/code-block/code-block.types.d.ts +26 -0
- package/dist/components/code-block/index.d.ts +10 -0
- package/dist/components/collapsible/collapsible-panel.d.ts +1 -1
- package/dist/components/collapsible/collapsible-trigger.d.ts +1 -1
- package/dist/components/collapsible/collapsible.d.ts +1 -1
- package/dist/components/color-channel-slider/color-channel-slider.d.ts +2 -0
- package/dist/components/color-channel-slider/color-channel-slider.types.d.ts +8 -0
- package/dist/components/color-channel-slider/color-channel-slider.utils.d.ts +4 -0
- package/dist/components/color-channel-slider/index.d.ts +2 -0
- package/dist/components/color-picker/color-picker-area.d.ts +2 -0
- package/dist/components/color-picker/color-picker-group.d.ts +2 -0
- package/dist/components/color-picker/color-picker-hue-slider.d.ts +2 -0
- package/dist/components/color-picker/color-picker-input.d.ts +3 -0
- package/dist/components/color-picker/color-picker-label.d.ts +2 -0
- package/dist/components/color-picker/color-picker-lightness-slider.d.ts +3 -0
- package/dist/components/color-picker/color-picker-palette-add.d.ts +2 -0
- package/dist/components/color-picker/color-picker-palette-limit.d.ts +2 -0
- package/dist/components/color-picker/color-picker-palette-list.d.ts +2 -0
- package/dist/components/color-picker/color-picker-palette-swatch.d.ts +2 -0
- package/dist/components/color-picker/color-picker-row.d.ts +2 -0
- package/dist/components/color-picker/color-picker-transparency-slider.d.ts +3 -0
- package/dist/components/color-picker/color-picker-value-type.d.ts +2 -0
- package/dist/components/color-picker/color-picker.d.ts +4 -0
- package/dist/components/color-picker/color-picker.types.d.ts +106 -0
- package/dist/components/color-picker/index.d.ts +13 -0
- package/dist/components/combobox/combobox-chip.d.ts +1 -1
- package/dist/components/combobox/combobox-chips.d.ts +1 -1
- package/dist/components/combobox/combobox-collection.d.ts +1 -1
- package/dist/components/combobox/combobox-empty.d.ts +1 -1
- package/dist/components/combobox/combobox-group-label.d.ts +1 -1
- package/dist/components/combobox/combobox-group.d.ts +1 -1
- package/dist/components/combobox/combobox-input.d.ts +2 -1
- package/dist/components/combobox/combobox-item.d.ts +1 -1
- package/dist/components/combobox/combobox-list.d.ts +1 -1
- package/dist/components/combobox/combobox-popup.d.ts +1 -1
- package/dist/components/combobox/combobox-status.d.ts +1 -1
- package/dist/components/combobox/combobox-trigger.d.ts +1 -1
- package/dist/components/combobox/combobox-value.d.ts +1 -1
- package/dist/components/combobox/combobox-virtualized-list.d.ts +3 -0
- package/dist/components/combobox/combobox.d.ts +1 -1
- package/dist/components/combobox/combobox.types.d.ts +9 -0
- package/dist/components/combobox/index.d.ts +2 -1
- package/dist/components/context-menu/context-menu-checkbox-item.d.ts +1 -1
- package/dist/components/context-menu/context-menu-group-label.d.ts +1 -1
- package/dist/components/context-menu/context-menu-group.d.ts +1 -1
- package/dist/components/context-menu/context-menu-item.d.ts +1 -1
- package/dist/components/context-menu/context-menu-popup.d.ts +1 -1
- package/dist/components/context-menu/context-menu-radio-group.d.ts +1 -1
- package/dist/components/context-menu/context-menu-radio-item.d.ts +1 -1
- package/dist/components/context-menu/context-menu-separator.d.ts +1 -1
- package/dist/components/context-menu/context-menu-shortcut.d.ts +1 -1
- package/dist/components/context-menu/context-menu-submenu-trigger.d.ts +1 -1
- package/dist/components/context-menu/context-menu-submenu.d.ts +1 -1
- package/dist/components/context-menu/context-menu-trigger.d.ts +1 -1
- package/dist/components/context-menu/context-menu.d.ts +1 -1
- package/dist/components/dialog/dialog-close.d.ts +1 -1
- package/dist/components/dialog/dialog-content.d.ts +1 -1
- package/dist/components/dialog/dialog-description.d.ts +1 -1
- package/dist/components/dialog/dialog-footer.d.ts +1 -1
- package/dist/components/dialog/dialog-header.d.ts +1 -1
- package/dist/components/dialog/dialog-popup.d.ts +1 -1
- package/dist/components/dialog/dialog-title.d.ts +1 -1
- package/dist/components/dialog/dialog-trigger.d.ts +1 -1
- package/dist/components/dialog/dialog.d.ts +1 -1
- package/dist/components/dialog/dialog.types.d.ts +1 -0
- package/dist/components/dialog/index.d.ts +1 -0
- package/dist/components/drawer/drawer-close.d.ts +1 -1
- package/dist/components/drawer/drawer-content.d.ts +1 -1
- package/dist/components/drawer/drawer-description.d.ts +1 -1
- package/dist/components/drawer/drawer-header.d.ts +1 -1
- package/dist/components/drawer/drawer-popup.d.ts +1 -1
- package/dist/components/drawer/drawer-provider.d.ts +1 -1
- package/dist/components/drawer/drawer-title.d.ts +1 -1
- package/dist/components/drawer/drawer-trigger.d.ts +1 -1
- package/dist/components/drawer/drawer.d.ts +1 -1
- package/dist/components/dropzone/dropzone-actions.d.ts +2 -0
- package/dist/components/dropzone/dropzone-clear.d.ts +2 -0
- package/dist/components/dropzone/dropzone-confirm.d.ts +2 -0
- package/dist/components/dropzone/dropzone-container.d.ts +2 -0
- package/dist/components/dropzone/dropzone-error.d.ts +2 -0
- package/dist/components/dropzone/dropzone-file-limit.d.ts +2 -0
- package/dist/components/dropzone/dropzone-file-size-limit.d.ts +2 -0
- package/dist/components/dropzone/dropzone-files-header.d.ts +2 -0
- package/dist/components/dropzone/dropzone-files-list.d.ts +2 -0
- package/dist/components/dropzone/dropzone-files-title.d.ts +2 -0
- package/dist/components/dropzone/dropzone-files.d.ts +2 -0
- package/dist/components/dropzone/dropzone-formats.d.ts +2 -0
- package/dist/components/dropzone/dropzone-heading.d.ts +2 -0
- package/dist/components/dropzone/dropzone-icon.d.ts +2 -0
- package/dist/components/dropzone/dropzone-info.d.ts +2 -0
- package/dist/components/dropzone/dropzone-subtitle.d.ts +2 -0
- package/dist/components/dropzone/dropzone-trigger.d.ts +2 -0
- package/dist/components/dropzone/dropzone.d.ts +24 -0
- package/dist/components/dropzone/dropzone.types.d.ts +30 -0
- package/dist/components/dropzone/dropzone.utils.d.ts +3 -0
- package/dist/components/dropzone/index.d.ts +18 -0
- package/dist/components/field/field-checkbox.d.ts +1 -1
- package/dist/components/field/field-description.d.ts +1 -1
- package/dist/components/field/field-errors.d.ts +1 -1
- package/dist/components/field/field-input-group-input.d.ts +1 -1
- package/dist/components/field/field-input-group.d.ts +1 -1
- package/dist/components/field/field-input.d.ts +1 -1
- package/dist/components/field/field-label.d.ts +1 -1
- package/dist/components/field/field-radio-group.d.ts +1 -1
- package/dist/components/field/field-radio.d.ts +2 -0
- package/dist/components/field/field-row.d.ts +2 -0
- package/dist/components/field/field-select.d.ts +1 -1
- package/dist/components/field/field-set.d.ts +2 -0
- package/dist/components/field/field-slider.d.ts +1 -1
- package/dist/components/field/field-switch.d.ts +1 -1
- package/dist/components/field/field-text-area.d.ts +1 -1
- package/dist/components/field/field-toggle.d.ts +1 -1
- package/dist/components/field/field.d.ts +1 -1
- package/dist/components/field/field.types.d.ts +12 -2
- package/dist/components/field/index.d.ts +6 -1
- package/dist/components/form/form-context.d.ts +162 -78
- package/dist/components/form/form-contexts.d.ts +1 -0
- package/dist/components/form/form-errors.d.ts +1 -1
- package/dist/components/form/form-footer.d.ts +2 -0
- package/dist/components/form/form-reset.d.ts +1 -1
- package/dist/components/form/form-set-content.d.ts +2 -0
- package/dist/components/form/form-set-heading.d.ts +2 -0
- package/dist/components/form/form-set.d.ts +2 -0
- package/dist/components/form/form-submit.d.ts +1 -1
- package/dist/components/form/form.d.ts +1 -1
- package/dist/components/form/form.types.d.ts +6 -0
- package/dist/components/form/index.d.ts +4 -0
- package/dist/components/index.d.ts +8 -0
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/input/input.types.d.ts +12 -1
- package/dist/components/input-group/input-group-addon.d.ts +1 -1
- package/dist/components/input-group/input-group-input.d.ts +1 -1
- package/dist/components/input-group/input-group.d.ts +1 -1
- package/dist/components/input-group/input-group.types.d.ts +5 -2
- package/dist/components/input-otp/input-otp-separator.d.ts +1 -1
- package/dist/components/input-otp/input-otp-slot.d.ts +1 -1
- package/dist/components/input-otp/input-otp.d.ts +1 -1
- package/dist/components/input-otp/input-otp.types.d.ts +1 -1
- package/dist/components/kbd/kbd-group.d.ts +1 -1
- package/dist/components/kbd/kbd.d.ts +1 -1
- package/dist/components/label/label.d.ts +1 -1
- package/dist/components/layer-tree/index.d.ts +3 -2
- package/dist/components/layer-tree/layer-tree-body.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-expand-all.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-footer.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-node-toggle.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-node.d.ts +2 -1
- package/dist/components/layer-tree/layer-tree-row.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-search.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-sort.d.ts +2 -4
- package/dist/components/layer-tree/layer-tree-utils.d.ts +7 -7
- package/dist/components/layer-tree/layer-tree.d.ts +2 -4
- package/dist/components/layer-tree/layer-tree.types.d.ts +20 -14
- package/dist/components/menu/menu-checkbox-item.d.ts +1 -1
- package/dist/components/menu/menu-group-label.d.ts +1 -1
- package/dist/components/menu/menu-group.d.ts +1 -1
- package/dist/components/menu/menu-item.d.ts +1 -1
- package/dist/components/menu/menu-popup.d.ts +1 -1
- package/dist/components/menu/menu-radio-group.d.ts +1 -1
- package/dist/components/menu/menu-radio-item.d.ts +1 -1
- package/dist/components/menu/menu-separator.d.ts +1 -1
- package/dist/components/menu/menu-shortcut.d.ts +1 -1
- package/dist/components/menu/menu-submenu-trigger.d.ts +1 -1
- package/dist/components/menu/menu-submenu.d.ts +1 -1
- package/dist/components/menu/menu-trigger.d.ts +1 -1
- package/dist/components/menu/menu.d.ts +1 -1
- package/dist/components/meter/meter-footer.d.ts +1 -1
- package/dist/components/meter/meter-header.d.ts +1 -1
- package/dist/components/meter/meter-indicator.d.ts +1 -1
- package/dist/components/meter/meter-label.d.ts +1 -1
- package/dist/components/meter/meter-subtitle.d.ts +1 -1
- package/dist/components/meter/meter-track.d.ts +1 -1
- package/dist/components/meter/meter-value.d.ts +1 -1
- package/dist/components/meter/meter.d.ts +1 -1
- package/dist/components/nav-bar/index.d.ts +5 -0
- package/dist/components/nav-bar/nav-bar-item-icon.d.ts +2 -0
- package/dist/components/nav-bar/nav-bar-item-label.d.ts +2 -0
- package/dist/components/nav-bar/nav-bar-item.d.ts +2 -0
- package/dist/components/nav-bar/nav-bar.d.ts +2 -0
- package/dist/components/nav-bar/nav-bar.types.d.ts +15 -0
- package/dist/components/navigation-menu/index.d.ts +9 -0
- package/dist/components/navigation-menu/navigation-menu-content.d.ts +2 -0
- package/dist/components/navigation-menu/navigation-menu-icon.d.ts +2 -0
- package/dist/components/navigation-menu/navigation-menu-item.d.ts +2 -0
- package/dist/components/navigation-menu/navigation-menu-link.d.ts +2 -0
- package/dist/components/navigation-menu/navigation-menu-list.d.ts +2 -0
- package/dist/components/navigation-menu/navigation-menu-popup.d.ts +2 -0
- package/dist/components/navigation-menu/navigation-menu-trigger.d.ts +6 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +2 -0
- package/dist/components/navigation-menu/navigation-menu.types.d.ts +16 -0
- package/dist/components/number-field/number-field.d.ts +2 -1
- package/dist/components/number-field/number-field.types.d.ts +1 -0
- package/dist/components/popover/index.d.ts +2 -1
- package/dist/components/popover/popover-button.d.ts +2 -0
- package/dist/components/popover/popover-content.d.ts +1 -1
- package/dist/components/popover/popover-description.d.ts +1 -1
- package/dist/components/popover/popover-header.d.ts +1 -1
- package/dist/components/popover/popover-panel.d.ts +1 -1
- package/dist/components/popover/popover-title.d.ts +1 -1
- package/dist/components/popover/popover-trigger.d.ts +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/popover/popover.types.d.ts +2 -0
- package/dist/components/profile/index.d.ts +5 -1
- package/dist/components/profile/profile-action.d.ts +2 -0
- package/dist/components/profile/profile-content.d.ts +2 -0
- package/dist/components/profile/profile-name.d.ts +2 -0
- package/dist/components/profile/profile-subname.d.ts +2 -0
- package/dist/components/profile/profile.d.ts +1 -1
- package/dist/components/profile/profile.types.d.ts +6 -14
- package/dist/components/progress/progress-bar.d.ts +1 -1
- package/dist/components/progress/progress-indicator.d.ts +1 -1
- package/dist/components/progress/progress.d.ts +1 -1
- package/dist/components/radar-ping/radar-ping.d.ts +1 -1
- package/dist/components/radio-group/radio-group.d.ts +2 -1
- package/dist/components/radio-group/radio.d.ts +1 -1
- package/dist/components/resizeable/resizeable-handle.d.ts +1 -1
- package/dist/components/resizeable/resizeable-panel-group.d.ts +1 -1
- package/dist/components/resizeable/resizeable-panel.d.ts +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts +1 -1
- package/dist/components/scroll-area/scroll-area.types.d.ts +6 -2
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/select-description.d.ts +2 -0
- package/dist/components/select/select-group-label.d.ts +1 -1
- package/dist/components/select/select-group.d.ts +1 -1
- package/dist/components/select/select-icon.d.ts +1 -1
- package/dist/components/select/select-item.d.ts +1 -1
- package/dist/components/select/select-list.d.ts +1 -1
- package/dist/components/select/select-popup.d.ts +1 -1
- package/dist/components/select/select-title.d.ts +2 -0
- package/dist/components/select/select-trigger.d.ts +1 -1
- package/dist/components/select/select-value.d.ts +1 -1
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/select/select.types.d.ts +7 -0
- package/dist/components/separator/separator.d.ts +1 -1
- package/dist/components/separator/separator.types.d.ts +4 -2
- package/dist/components/sidebar/sidebar-content.d.ts +1 -1
- package/dist/components/sidebar/sidebar-footer.d.ts +1 -1
- package/dist/components/sidebar/sidebar-group-content.d.ts +1 -1
- package/dist/components/sidebar/sidebar-group-label.d.ts +1 -1
- package/dist/components/sidebar/sidebar-group.d.ts +1 -1
- package/dist/components/sidebar/sidebar-header.d.ts +1 -1
- package/dist/components/sidebar/sidebar-menu-badge.d.ts +1 -1
- package/dist/components/sidebar/sidebar-menu-button.d.ts +1 -1
- package/dist/components/sidebar/sidebar-menu-collapsible-panel.d.ts +1 -1
- package/dist/components/sidebar/sidebar-menu-collapsible-trigger.d.ts +1 -1
- package/dist/components/sidebar/sidebar-menu-collapsible.d.ts +1 -1
- package/dist/components/sidebar/sidebar-menu-item.d.ts +1 -1
- package/dist/components/sidebar/sidebar-menu.d.ts +1 -1
- package/dist/components/sidebar/sidebar-provider.d.ts +1 -1
- package/dist/components/sidebar/sidebar-toggle.d.ts +1 -1
- package/dist/components/sidebar/sidebar.d.ts +2 -1
- package/dist/components/sidebar/sidebar.types.d.ts +1 -1
- package/dist/components/skeleton/skeleton.d.ts +1 -1
- package/dist/components/slider/slider-thumb.d.ts +2 -1
- package/dist/components/slider/slider.d.ts +1 -1
- package/dist/components/slider/slider.types.d.ts +7 -1
- package/dist/components/switch/switch.d.ts +1 -1
- package/dist/components/table/index.d.ts +18 -3
- package/dist/components/table/table-body-grid.d.ts +2 -0
- package/dist/components/table/table-body-list.d.ts +2 -0
- package/dist/components/table/table-change-view.d.ts +2 -4
- package/dist/components/table/table-column-toggle.d.ts +2 -0
- package/dist/components/table/table-container.d.ts +2 -0
- package/dist/components/table/table-content.d.ts +1 -1
- package/dist/components/table/table-data-set-select.d.ts +2 -0
- package/dist/components/table/table-data-set-tabs.d.ts +2 -0
- package/dist/components/table/table-filter-form.d.ts +3 -0
- package/dist/components/table/table-filter.d.ts +1 -1
- package/dist/components/table/table-filters.d.ts +2 -0
- package/dist/components/table/table-first-page.d.ts +1 -1
- package/dist/components/table/table-footer.d.ts +1 -1
- package/dist/components/table/table-header.d.ts +1 -1
- package/dist/components/table/table-last-page.d.ts +1 -1
- package/dist/components/table/table-nav.d.ts +1 -1
- package/dist/components/table/table-next-page.d.ts +1 -1
- package/dist/components/table/table-pagination.d.ts +1 -1
- package/dist/components/table/table-paging.d.ts +2 -0
- package/dist/components/table/table-previous-page.d.ts +1 -1
- package/dist/components/table/table-refresh.d.ts +2 -1
- package/dist/components/table/table-row-grid.d.ts +1 -1
- package/dist/components/table/table-row-list.d.ts +1 -1
- package/dist/components/table/table-search.d.ts +2 -1
- package/dist/components/table/table-sort.d.ts +1 -1
- package/dist/components/table/table-toolbar.d.ts +2 -0
- package/dist/components/table/table.constants.d.ts +64 -0
- package/dist/components/table/table.d.ts +14 -5
- package/dist/components/table/table.types.d.ts +81 -16
- package/dist/components/table/table.utils.d.ts +4 -0
- package/dist/components/tabs/tabs-indicator.d.ts +1 -1
- package/dist/components/tabs/tabs-list.d.ts +1 -1
- package/dist/components/tabs/tabs-panel.d.ts +1 -1
- package/dist/components/tabs/tabs-tab.d.ts +1 -1
- package/dist/components/tabs/tabs.d.ts +1 -1
- package/dist/components/tabs/tabs.types.d.ts +4 -1
- package/dist/components/text-area/text-area.d.ts +2 -1
- package/dist/components/toast/anchored-toast-item.d.ts +1 -1
- package/dist/components/toast/anchored-toasts.d.ts +1 -1
- package/dist/components/toast/stack-toast-item.d.ts +2 -1
- package/dist/components/toast/stack-toasts.d.ts +1 -1
- package/dist/components/toast/toast-provider.d.ts +1 -1
- package/dist/components/toggle/toggle.d.ts +1 -1
- package/dist/components/toggle-group/toggle-group.d.ts +1 -1
- package/dist/components/toggle-group/toggle-group.types.d.ts +1 -0
- package/dist/components/tooltip/tooltip-context.d.ts +1 -1
- package/dist/components/tooltip/tooltip-trigger.d.ts +1 -1
- package/dist/components/tooltip/tooltip.d.ts +1 -1
- package/dist/dawn-ui-react.js +48404 -16077
- package/dist/dawn-ui-react.umd.cjs +145 -35
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/theme/constants.d.ts +4 -0
- package/dist/hooks/theme/index.d.ts +3 -0
- package/dist/hooks/theme/types.d.ts +16 -0
- package/dist/hooks/theme/use-theme.d.ts +3 -0
- package/dist/hooks/use-media-query.d.ts +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/styles.css +162 -118
- package/package.json +56 -50
- package/dist/Input-CcHtcKpV.js +0 -76
- package/dist/clamp-CKgqaxcU.js +0 -3033
- package/dist/cn-CXogf8HW.js +0 -1692
- package/dist/components/table/table-body.d.ts +0 -2
- package/dist/field-description-BDRJXMS8.js +0 -12
- package/dist/field-errors-CA0345jw.js +0 -19
- package/dist/field-input-group-BhLWbbuz.js +0 -18
- package/dist/field-input-group-input-E_r5HrPw.js +0 -20
- package/dist/field-input-qIw9X6Ab.js +0 -58
- package/dist/field-label-crBMOJm1.js +0 -16
- package/dist/field-select-BCO8NSzS.js +0 -2147
- package/dist/field-slider-BhSg1byn.js +0 -2167
- package/dist/form-context-DScGBFYs.js +0 -3036
- package/dist/input-group-BlPsN5Zd.js +0 -12
- package/dist/input-group-input-D-x5ovI-.js +0 -11
- package/dist/input.types-DS4BNmw3.js +0 -21
- package/dist/rolldown-runtime-CAFD8bLK.js +0 -11
- package/dist/useLabelableId-BsYhJQW7.js +0 -271
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Icon } from '@phosphor-icons/react';
|
|
2
|
+
export type ThemeValue = 'light' | 'dark' | 'system';
|
|
3
|
+
export type Theme = {
|
|
4
|
+
value: ThemeValue;
|
|
5
|
+
label: string;
|
|
6
|
+
icon: Icon;
|
|
7
|
+
};
|
|
8
|
+
export type ThemeProviderState = {
|
|
9
|
+
theme: ThemeValue;
|
|
10
|
+
setTheme: (theme: ThemeValue) => void;
|
|
11
|
+
};
|
|
12
|
+
export type ThemeProviderProps = {
|
|
13
|
+
children: React.ReactNode;
|
|
14
|
+
defaultTheme?: ThemeValue;
|
|
15
|
+
storageKey?: string;
|
|
16
|
+
};
|
package/dist/index.d.ts
CHANGED
package/dist/styles.css
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
@theme static {
|
|
7
7
|
--color-*: initial;
|
|
8
|
+
--color-white: var(--dawn-white);
|
|
9
|
+
--color-black: var(--dawn-black);
|
|
8
10
|
--color-brand-default: var(--dawn-brand-default);
|
|
9
11
|
--color-brand-muted: var(--dawn-brand-muted);
|
|
10
12
|
--color-brand-subtle: var(--dawn-brand-subtle);
|
|
@@ -405,32 +407,34 @@
|
|
|
405
407
|
--yellow-900: #715212ff;
|
|
406
408
|
--yellow-950: #422f06ff;
|
|
407
409
|
|
|
408
|
-
--dawn-
|
|
409
|
-
--dawn-
|
|
410
|
-
--dawn-brand-
|
|
410
|
+
--dawn-white: var(--white);
|
|
411
|
+
--dawn-black: var(--black);
|
|
412
|
+
--dawn-brand-default: light-dark(var(--rose-600), var(--rose-300));
|
|
413
|
+
--dawn-brand-muted: light-dark(var(--rose-700), var(--rose-200));
|
|
414
|
+
--dawn-brand-subtle: light-dark(var(--rose-100), var(--rose-950));
|
|
411
415
|
--dawn-brand-on-default: light-dark(var(--white), var(--neutral-950));
|
|
412
|
-
--dawn-brand-container: light-dark(var(--
|
|
413
|
-
--dawn-brand-container-high: light-dark(var(--
|
|
414
|
-
--dawn-brand-on-container: light-dark(var(--
|
|
415
|
-
--dawn-brand-on-container-muted: light-dark(var(--
|
|
416
|
-
--dawn-brand-border: light-dark(var(--
|
|
417
|
-
--dawn-brand-border-strong: light-dark(var(--
|
|
418
|
-
--dawn-brand-shadow: light-dark(#
|
|
419
|
-
|
|
420
|
-
--dawn-accent-default: light-dark(var(--
|
|
421
|
-
--dawn-accent-muted: light-dark(var(--
|
|
422
|
-
--dawn-accent-subtle: light-dark(var(--
|
|
416
|
+
--dawn-brand-container: light-dark(var(--rose-50), var(--rose-950));
|
|
417
|
+
--dawn-brand-container-high: light-dark(var(--rose-100), var(--rose-900));
|
|
418
|
+
--dawn-brand-on-container: light-dark(var(--rose-900), var(--rose-200));
|
|
419
|
+
--dawn-brand-on-container-muted: light-dark(var(--rose-700), var(--rose-300));
|
|
420
|
+
--dawn-brand-border: light-dark(var(--rose-300), var(--rose-600));
|
|
421
|
+
--dawn-brand-border-strong: light-dark(var(--rose-600), var(--rose-400));
|
|
422
|
+
--dawn-brand-shadow: light-dark(#e11d4840, #fda4b866);
|
|
423
|
+
|
|
424
|
+
--dawn-accent-default: light-dark(var(--violet-600), var(--violet-300));
|
|
425
|
+
--dawn-accent-muted: light-dark(var(--violet-700), var(--violet-200));
|
|
426
|
+
--dawn-accent-subtle: light-dark(var(--violet-100), var(--violet-950));
|
|
423
427
|
--dawn-accent-on-default: light-dark(var(--white), var(--neutral-950));
|
|
424
|
-
--dawn-accent-container: light-dark(var(--
|
|
425
|
-
--dawn-accent-container-high: light-dark(var(--
|
|
426
|
-
--dawn-accent-on-container: light-dark(var(--
|
|
427
|
-
--dawn-accent-on-container-muted: light-dark(var(--
|
|
428
|
-
--dawn-accent-border: light-dark(var(--
|
|
429
|
-
--dawn-accent-border-strong: light-dark(var(--
|
|
430
|
-
--dawn-accent-shadow: light-dark(#
|
|
428
|
+
--dawn-accent-container: light-dark(var(--violet-50), var(--violet-950));
|
|
429
|
+
--dawn-accent-container-high: light-dark(var(--violet-100), var(--violet-900));
|
|
430
|
+
--dawn-accent-on-container: light-dark(var(--violet-900), var(--violet-200));
|
|
431
|
+
--dawn-accent-on-container-muted: light-dark(var(--violet-700), var(--violet-300));
|
|
432
|
+
--dawn-accent-border: light-dark(var(--violet-300), var(--violet-700));
|
|
433
|
+
--dawn-accent-border-strong: light-dark(var(--violet-600), var(--violet-400));
|
|
434
|
+
--dawn-accent-shadow: light-dark(#7c3aed40, #d0b5fd66);
|
|
431
435
|
|
|
432
436
|
--dawn-neutral-default: light-dark(var(--neutral-700), var(--neutral-100));
|
|
433
|
-
--dawn-neutral-muted: light-dark(var(--neutral-800), var(--neutral-
|
|
437
|
+
--dawn-neutral-muted: light-dark(var(--neutral-800), var(--neutral-400));
|
|
434
438
|
--dawn-neutral-subtle: light-dark(var(--neutral-200), var(--neutral-800));
|
|
435
439
|
--dawn-neutral-on-default: light-dark(var(--white), var(--neutral-950));
|
|
436
440
|
--dawn-neutral-container: light-dark(var(--neutral-200), var(--neutral-800));
|
|
@@ -598,182 +602,222 @@
|
|
|
598
602
|
|
|
599
603
|
@layer base {
|
|
600
604
|
body {
|
|
605
|
+
margin: 0;
|
|
601
606
|
background-color: theme(--color-surface-background);
|
|
602
607
|
color: theme(--color-on-surface);
|
|
603
608
|
font-family: var(--font-body);
|
|
604
609
|
font-size: var(--text-base);
|
|
605
610
|
scrollbar-color: theme(--color-accent-default) theme(--color-surface-2);
|
|
606
611
|
}
|
|
612
|
+
button {
|
|
613
|
+
line-height: 0;
|
|
614
|
+
}
|
|
615
|
+
input {
|
|
616
|
+
line-height: 0;
|
|
617
|
+
}
|
|
618
|
+
.recharts-wrapper:focus,
|
|
619
|
+
.recharts-wrapper *:focus {
|
|
620
|
+
outline: none;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.recharts-wrapper:focus-visible,
|
|
624
|
+
.recharts-wrapper *:focus-visible {
|
|
625
|
+
outline: revert;
|
|
626
|
+
}
|
|
607
627
|
}
|
|
608
628
|
|
|
609
629
|
@utility shadow-* {
|
|
610
630
|
box-shadow: --value(--shadow-*) var(--dawn-shadow);
|
|
611
631
|
}
|
|
612
632
|
|
|
613
|
-
@utility style-text-* {
|
|
614
|
-
font-family: var(--text-font);
|
|
615
|
-
font-weight: var(--text-weight);
|
|
616
|
-
font-size: var(--text-size);
|
|
617
|
-
line-height: var(--text-leading, normal);
|
|
618
|
-
letter-spacing: normal;
|
|
619
|
-
}
|
|
620
|
-
|
|
621
633
|
@utility style-text-default-5 {
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
634
|
+
font-family: var(--font-body);
|
|
635
|
+
font-weight: 500;
|
|
636
|
+
font-size: var(--text-4xl);
|
|
637
|
+
line-height: normal;
|
|
638
|
+
letter-spacing: normal;
|
|
625
639
|
}
|
|
626
640
|
|
|
627
641
|
@utility style-text-default-4 {
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
642
|
+
font-family: var(--font-body);
|
|
643
|
+
font-weight: 500;
|
|
644
|
+
font-size: var(--text-3xl);
|
|
645
|
+
line-height: normal;
|
|
646
|
+
letter-spacing: normal;
|
|
631
647
|
}
|
|
632
648
|
|
|
633
649
|
@utility style-text-default-3 {
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
650
|
+
font-family: var(--font-body);
|
|
651
|
+
font-weight: 500;
|
|
652
|
+
font-size: var(--text-2xl);
|
|
653
|
+
line-height: normal;
|
|
654
|
+
letter-spacing: normal;
|
|
637
655
|
}
|
|
638
656
|
|
|
639
657
|
@utility style-text-default-2 {
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
658
|
+
font-family: var(--font-body);
|
|
659
|
+
font-weight: 500;
|
|
660
|
+
font-size: var(--text-xl);
|
|
661
|
+
line-height: normal;
|
|
662
|
+
letter-spacing: normal;
|
|
643
663
|
}
|
|
644
664
|
|
|
645
665
|
@utility style-text-default-1 {
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
666
|
+
font-family: var(--font-body);
|
|
667
|
+
font-weight: 500;
|
|
668
|
+
font-size: var(--text-lg);
|
|
669
|
+
line-height: normal;
|
|
670
|
+
letter-spacing: normal;
|
|
649
671
|
}
|
|
650
672
|
|
|
651
673
|
@utility style-text-default-0 {
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
674
|
+
font-family: var(--font-body);
|
|
675
|
+
font-weight: 500;
|
|
676
|
+
font-size: var(--text-base);
|
|
677
|
+
line-height: normal;
|
|
678
|
+
letter-spacing: normal;
|
|
655
679
|
}
|
|
656
680
|
|
|
657
681
|
@utility style-text-default--1 {
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
682
|
+
font-family: var(--font-body);
|
|
683
|
+
font-weight: 500;
|
|
684
|
+
font-size: var(--text-sm);
|
|
685
|
+
line-height: normal;
|
|
686
|
+
letter-spacing: normal;
|
|
661
687
|
}
|
|
662
688
|
|
|
663
689
|
@utility style-text-default--2 {
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
690
|
+
font-family: var(--font-body);
|
|
691
|
+
font-weight: 500;
|
|
692
|
+
font-size: var(--text-xs);
|
|
693
|
+
line-height: normal;
|
|
694
|
+
letter-spacing: normal;
|
|
667
695
|
}
|
|
668
696
|
|
|
669
697
|
@utility style-text-prose-5 {
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
698
|
+
font-family: var(--font-body);
|
|
699
|
+
font-weight: 400;
|
|
700
|
+
font-size: var(--text-4xl);
|
|
701
|
+
line-height: 160%;
|
|
702
|
+
letter-spacing: normal;
|
|
674
703
|
}
|
|
675
704
|
|
|
676
705
|
@utility style-text-prose-4 {
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
706
|
+
font-family: var(--font-body);
|
|
707
|
+
font-weight: 400;
|
|
708
|
+
font-size: var(--text-3xl);
|
|
709
|
+
line-height: 160%;
|
|
710
|
+
letter-spacing: normal;
|
|
681
711
|
}
|
|
682
712
|
|
|
683
713
|
@utility style-text-prose-3 {
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
714
|
+
font-family: var(--font-body);
|
|
715
|
+
font-weight: 400;
|
|
716
|
+
font-size: var(--text-2xl);
|
|
717
|
+
line-height: 160%;
|
|
718
|
+
letter-spacing: normal;
|
|
688
719
|
}
|
|
689
720
|
|
|
690
721
|
@utility style-text-prose-2 {
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
722
|
+
font-family: var(--font-body);
|
|
723
|
+
font-weight: 400;
|
|
724
|
+
font-size: var(--text-xl);
|
|
725
|
+
line-height: 160%;
|
|
726
|
+
letter-spacing: normal;
|
|
695
727
|
}
|
|
696
728
|
|
|
697
729
|
@utility style-text-prose-1 {
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
730
|
+
font-family: var(--font-body);
|
|
731
|
+
font-weight: 400;
|
|
732
|
+
font-size: var(--text-lg);
|
|
733
|
+
line-height: 160%;
|
|
734
|
+
letter-spacing: normal;
|
|
702
735
|
}
|
|
703
736
|
|
|
704
737
|
@utility style-text-prose-0 {
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
738
|
+
font-family: var(--font-body);
|
|
739
|
+
font-weight: 400;
|
|
740
|
+
font-size: var(--text-base);
|
|
741
|
+
line-height: 160%;
|
|
742
|
+
letter-spacing: normal;
|
|
709
743
|
}
|
|
710
744
|
|
|
711
745
|
@utility style-text-prose--1 {
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
746
|
+
font-family: var(--font-body);
|
|
747
|
+
font-weight: 400;
|
|
748
|
+
font-size: var(--text-sm);
|
|
749
|
+
line-height: 160%;
|
|
750
|
+
letter-spacing: normal;
|
|
716
751
|
}
|
|
717
752
|
|
|
718
753
|
@utility style-text-prose--2 {
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
754
|
+
font-family: var(--font-body);
|
|
755
|
+
font-weight: 400;
|
|
756
|
+
font-size: var(--text-xs);
|
|
757
|
+
line-height: 160%;
|
|
758
|
+
letter-spacing: normal;
|
|
723
759
|
}
|
|
724
760
|
|
|
725
761
|
@utility style-text-strong-5 {
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
762
|
+
font-family: var(--font-heading);
|
|
763
|
+
font-weight: 700;
|
|
764
|
+
font-size: var(--text-4xl);
|
|
765
|
+
line-height: 120%;
|
|
766
|
+
letter-spacing: normal;
|
|
730
767
|
}
|
|
731
768
|
|
|
732
769
|
@utility style-text-strong-4 {
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
770
|
+
font-family: var(--font-heading);
|
|
771
|
+
font-weight: 700;
|
|
772
|
+
font-size: var(--text-3xl);
|
|
773
|
+
line-height: 120%;
|
|
774
|
+
letter-spacing: normal;
|
|
737
775
|
}
|
|
738
776
|
|
|
739
777
|
@utility style-text-strong-3 {
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
778
|
+
font-family: var(--font-heading);
|
|
779
|
+
font-weight: 700;
|
|
780
|
+
font-size: var(--text-2xl);
|
|
781
|
+
line-height: 120%;
|
|
782
|
+
letter-spacing: normal;
|
|
744
783
|
}
|
|
745
784
|
|
|
746
785
|
@utility style-text-strong-2 {
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
786
|
+
font-family: var(--font-heading);
|
|
787
|
+
font-weight: 700;
|
|
788
|
+
font-size: var(--text-xl);
|
|
789
|
+
line-height: 120%;
|
|
790
|
+
letter-spacing: normal;
|
|
751
791
|
}
|
|
752
792
|
|
|
753
793
|
@utility style-text-strong-1 {
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
794
|
+
font-family: var(--font-heading);
|
|
795
|
+
font-weight: 700;
|
|
796
|
+
font-size: var(--text-lg);
|
|
797
|
+
line-height: 120%;
|
|
798
|
+
letter-spacing: normal;
|
|
758
799
|
}
|
|
759
800
|
|
|
760
801
|
@utility style-text-strong-0 {
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
802
|
+
font-family: var(--font-heading);
|
|
803
|
+
font-weight: 700;
|
|
804
|
+
font-size: var(--text-base);
|
|
805
|
+
line-height: 120%;
|
|
806
|
+
letter-spacing: normal;
|
|
765
807
|
}
|
|
766
808
|
|
|
767
809
|
@utility style-text-strong--1 {
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
810
|
+
font-family: var(--font-heading);
|
|
811
|
+
font-weight: 700;
|
|
812
|
+
font-size: var(--text-sm);
|
|
813
|
+
line-height: 120%;
|
|
814
|
+
letter-spacing: normal;
|
|
772
815
|
}
|
|
773
816
|
|
|
774
817
|
@utility style-text-strong--2 {
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
818
|
+
font-family: var(--font-heading);
|
|
819
|
+
font-weight: 700;
|
|
820
|
+
font-size: var(--text-xs);
|
|
821
|
+
line-height: 120%;
|
|
822
|
+
letter-spacing: normal;
|
|
779
823
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dawn-ui-react",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.31",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"build": "tsc -b && vite build && pnpm run build:css",
|
|
32
32
|
"build-storybook": "pnpm build:tailwind && storybook build",
|
|
33
33
|
"build:css": "node -e \"require('fs').copyFileSync('src/styles/input.css', 'dist/styles.css')\"",
|
|
34
|
-
"build:tailwind": "
|
|
34
|
+
"build:tailwind": "pnpm dlx @tailwindcss/cli -i ./src/styles/input.css -o ./dist/styles.css",
|
|
35
35
|
"commit": "git add . && git commit",
|
|
36
36
|
"commit:skip": "git add . && git commit --no-verify",
|
|
37
37
|
"cz": "cz",
|
|
@@ -44,66 +44,72 @@
|
|
|
44
44
|
"storybook": "concurrently 'pnpm:watch:*'",
|
|
45
45
|
"test": "vitest run",
|
|
46
46
|
"watch:storybook": "storybook dev -p 6006",
|
|
47
|
-
"watch:tailwind": "
|
|
47
|
+
"watch:tailwind": "pnpm dlx @tailwindcss/cli -i ./src/styles/input.css -o ./src/styles/output.css --watch"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@base-ui/react": "^1.
|
|
51
|
-
"@dnd-kit/dom": "^0.
|
|
52
|
-
"@dnd-kit/react": "^0.
|
|
50
|
+
"@base-ui/react": "^1.7.0",
|
|
51
|
+
"@dnd-kit/dom": "^0.5.0",
|
|
52
|
+
"@dnd-kit/react": "^0.5.0",
|
|
53
53
|
"@phosphor-icons/react": "^2.1.10",
|
|
54
|
-
"@tailwindcss/cli": "^4.
|
|
55
|
-
"@tailwindcss/vite": "^4.
|
|
56
|
-
"@tanstack/react-form": "^1.
|
|
54
|
+
"@tailwindcss/cli": "^4.3.3",
|
|
55
|
+
"@tailwindcss/vite": "^4.3.3",
|
|
56
|
+
"@tanstack/react-form": "^1.33.5",
|
|
57
57
|
"@tanstack/react-table": "^8.21.3",
|
|
58
|
+
"chroma-js": "^3.2.0",
|
|
58
59
|
"class-variance-authority": "^0.7.1",
|
|
59
60
|
"clsx": "^2.1.1",
|
|
60
|
-
"react-resizable-panels": "^4.
|
|
61
|
-
"
|
|
62
|
-
"
|
|
61
|
+
"react-resizable-panels": "^4.12.2",
|
|
62
|
+
"recharts": "^3.10.1",
|
|
63
|
+
"tailwind-merge": "^3.6.0",
|
|
64
|
+
"tailwindcss": "^4.3.3",
|
|
63
65
|
"tw-animate-css": "^1.4.0"
|
|
64
66
|
},
|
|
65
67
|
"devDependencies": {
|
|
66
|
-
"@chromatic-com/storybook": "^5.
|
|
67
|
-
"@commitlint/cli": "^
|
|
68
|
-
"@commitlint/config-conventional": "^
|
|
69
|
-
"@faker-js/faker": "^10.
|
|
70
|
-
"@semantic-release/changelog": "^
|
|
68
|
+
"@chromatic-com/storybook": "^5.3.0",
|
|
69
|
+
"@commitlint/cli": "^21.2.1",
|
|
70
|
+
"@commitlint/config-conventional": "^21.2.0",
|
|
71
|
+
"@faker-js/faker": "^10.5.0",
|
|
72
|
+
"@semantic-release/changelog": "^7.0.0",
|
|
71
73
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
72
|
-
"@semantic-release/git": "^
|
|
73
|
-
"@semantic-release/github": "^12.0.
|
|
74
|
+
"@semantic-release/git": "^11.0.1",
|
|
75
|
+
"@semantic-release/github": "^12.0.9",
|
|
74
76
|
"@semantic-release/npm": "^13.1.5",
|
|
75
|
-
"@semantic-release/release-notes-generator": "^14.1.
|
|
76
|
-
"@storybook/addon-a11y": "^10.
|
|
77
|
-
"@storybook/addon-docs": "^10.
|
|
78
|
-
"@storybook/addon-themes": "^10.
|
|
79
|
-
"@storybook/addon-vitest": "^10.
|
|
80
|
-
"@storybook/react-vite": "^10.
|
|
81
|
-
"@tailwindcss/node": "^4.
|
|
82
|
-
"@
|
|
83
|
-
"@types/
|
|
84
|
-
"@types/
|
|
85
|
-
"@
|
|
86
|
-
"@
|
|
87
|
-
"@
|
|
88
|
-
"
|
|
89
|
-
"
|
|
77
|
+
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
78
|
+
"@storybook/addon-a11y": "^10.5.7",
|
|
79
|
+
"@storybook/addon-docs": "^10.5.7",
|
|
80
|
+
"@storybook/addon-themes": "^10.5.7",
|
|
81
|
+
"@storybook/addon-vitest": "^10.5.7",
|
|
82
|
+
"@storybook/react-vite": "^10.5.7",
|
|
83
|
+
"@tailwindcss/node": "^4.3.3",
|
|
84
|
+
"@tanstack/react-virtual": "^3.14.9",
|
|
85
|
+
"@types/chroma-js": "^3.1.2",
|
|
86
|
+
"@types/node": "^26.2.0",
|
|
87
|
+
"@types/react": "^19.2.18",
|
|
88
|
+
"@types/react-dom": "^19.2.4",
|
|
89
|
+
"@typescript/typescript6": "^6.0.2",
|
|
90
|
+
"@vitejs/plugin-react": "^6.0.5",
|
|
91
|
+
"@vitest/browser-playwright": "^4.1.10",
|
|
92
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
93
|
+
"commitizen": "^4.3.2",
|
|
94
|
+
"concurrently": "^10.0.4",
|
|
90
95
|
"cz-conventional-changelog": "^3.3.0",
|
|
91
|
-
"globals": "^17.
|
|
92
|
-
"jsdom": "^
|
|
93
|
-
"lefthook": "^2.1.
|
|
94
|
-
"lint-staged": "^17.0
|
|
95
|
-
"oxfmt": "^0.
|
|
96
|
-
"oxlint": "^1.
|
|
97
|
-
"oxlint-tailwindcss": "^
|
|
98
|
-
"oxlint-tsgolint": "^0.
|
|
99
|
-
"playwright": "^1.
|
|
100
|
-
"semantic-release": "^25.0.
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"vite
|
|
106
|
-
"
|
|
96
|
+
"globals": "^17.10.0",
|
|
97
|
+
"jsdom": "^30.0.1",
|
|
98
|
+
"lefthook": "^2.1.10",
|
|
99
|
+
"lint-staged": "^17.3.0",
|
|
100
|
+
"oxfmt": "^0.61.0",
|
|
101
|
+
"oxlint": "^1.78.0",
|
|
102
|
+
"oxlint-tailwindcss": "^1.9.0",
|
|
103
|
+
"oxlint-tsgolint": "^7.0.2001",
|
|
104
|
+
"playwright": "^1.62.1",
|
|
105
|
+
"semantic-release": "^25.0.9",
|
|
106
|
+
"shiki": "^4.4.3",
|
|
107
|
+
"storybook": "^10.5.7",
|
|
108
|
+
"typescript": "~7.0.2",
|
|
109
|
+
"uuid": "^14.0.1",
|
|
110
|
+
"vite": "^8.2.1",
|
|
111
|
+
"vite-plugin-dts": "^5.0.3",
|
|
112
|
+
"vitest": "^4.1.10",
|
|
107
113
|
"zod": "^4.4.3"
|
|
108
114
|
},
|
|
109
115
|
"peerDependencies": {
|
package/dist/Input-CcHtcKpV.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { V as e, X as t, Z as n } from "./form-context-DScGBFYs.js";
|
|
2
|
-
import { F as r, K as i, c as a, i as o, n as s, o as c, p as l, r as u, s as d, t as f } from "./useLabelableId-BsYhJQW7.js";
|
|
3
|
-
import * as p from "react";
|
|
4
|
-
import { jsx as m } from "react/jsx-runtime";
|
|
5
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/field/control/FieldControl.js
|
|
6
|
-
var h = /* @__PURE__ */ p.forwardRef(function(m, h) {
|
|
7
|
-
let { render: g, className: _, id: v, name: y, value: b, disabled: x = !1, onValueChange: S, defaultValue: C, autoFocus: w = !1, style: T, ...E } = m, { state: D, name: O, disabled: k, setTouched: A, setDirty: j, validityData: M, setFocused: N, setFilled: P, validationMode: F, validation: I } = o(), L = k || x, R = O ?? y, z = {
|
|
8
|
-
...D,
|
|
9
|
-
disabled: L
|
|
10
|
-
}, { labelId: B } = s(), V = f({ id: v });
|
|
11
|
-
t(() => {
|
|
12
|
-
let e = b != null;
|
|
13
|
-
I.inputRef.current?.value || e && b !== "" ? P(!0) : e && b === "" && P(!1);
|
|
14
|
-
}, [
|
|
15
|
-
I.inputRef,
|
|
16
|
-
P,
|
|
17
|
-
b
|
|
18
|
-
]);
|
|
19
|
-
let H = p.useRef(null);
|
|
20
|
-
t(() => {
|
|
21
|
-
w && H.current === a(d(H.current)) && N(!0);
|
|
22
|
-
}, [w, N]);
|
|
23
|
-
let [U] = i({
|
|
24
|
-
controlled: b,
|
|
25
|
-
default: C,
|
|
26
|
-
name: "FieldControl",
|
|
27
|
-
state: "value"
|
|
28
|
-
}), W = b !== void 0, G = W ? U : void 0, K = n(() => I.inputRef.current?.value);
|
|
29
|
-
return u(I.inputRef, {
|
|
30
|
-
id: V,
|
|
31
|
-
value: G,
|
|
32
|
-
getValue: K
|
|
33
|
-
}), e("input", m, {
|
|
34
|
-
ref: [h, H],
|
|
35
|
-
state: z,
|
|
36
|
-
props: [
|
|
37
|
-
{
|
|
38
|
-
id: V,
|
|
39
|
-
disabled: L,
|
|
40
|
-
name: R,
|
|
41
|
-
ref: I.inputRef,
|
|
42
|
-
"aria-labelledby": B,
|
|
43
|
-
autoFocus: w,
|
|
44
|
-
...W ? { value: G } : { defaultValue: C },
|
|
45
|
-
onChange(e) {
|
|
46
|
-
let t = e.currentTarget.value;
|
|
47
|
-
S?.(t, l(r, e.nativeEvent)), j(t !== M.initialValue), P(t !== "");
|
|
48
|
-
},
|
|
49
|
-
onFocus() {
|
|
50
|
-
N(!0);
|
|
51
|
-
},
|
|
52
|
-
onBlur(e) {
|
|
53
|
-
A(!0), N(!1), F === "onBlur" && I.commit(e.currentTarget.value);
|
|
54
|
-
},
|
|
55
|
-
onKeyDown(e) {
|
|
56
|
-
e.currentTarget.tagName === "INPUT" && e.key === "Enter" && (A(!0), I.commit(e.currentTarget.value));
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
I.getInputValidationProps(),
|
|
60
|
-
E
|
|
61
|
-
],
|
|
62
|
-
stateAttributesMapping: c
|
|
63
|
-
});
|
|
64
|
-
});
|
|
65
|
-
process.env.NODE_ENV !== "production" && (h.displayName = "FieldControl");
|
|
66
|
-
//#endregion
|
|
67
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/input/Input.js
|
|
68
|
-
var g = /* @__PURE__ */ p.forwardRef(function(e, t) {
|
|
69
|
-
return /* @__PURE__ */ m(h, {
|
|
70
|
-
ref: t,
|
|
71
|
-
...e
|
|
72
|
-
});
|
|
73
|
-
});
|
|
74
|
-
process.env.NODE_ENV !== "production" && (g.displayName = "Input");
|
|
75
|
-
//#endregion
|
|
76
|
-
export { g as t };
|