@k8ordo/ui 2.2.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/components/_internal/focus-ring.css +8 -2
- package/dist/components/_internal/focus-ring.module.mjs +1 -2
- package/dist/components/_internal/form-value.d.mts +0 -2
- package/dist/components/_internal/form-value.mjs +1 -2
- package/dist/components/_internal/high-contrast.module.mjs +1 -2
- package/dist/components/_internal/ignore-changes.d.mts +1 -3
- package/dist/components/_internal/ignore-changes.mjs +1 -2
- package/dist/components/_internal/nav-link.d.mts +2 -4
- package/dist/components/_internal/nav-link.mjs +1 -2
- package/dist/components/_internal/nav-link.module.mjs +1 -2
- package/dist/components/_internal/sr-only.module.mjs +1 -2
- package/dist/components/_internal/status-tone.d.mts +9 -11
- package/dist/components/_internal/status-tone.mjs +1 -2
- package/dist/components/_internal/status-tone.module.mjs +1 -2
- package/dist/components/ai/_internal/attachment-preview.d.mts +0 -2
- package/dist/components/ai/_internal/attachment-preview.mjs +1 -2
- package/dist/components/ai/_internal/attachment-preview.module.mjs +1 -2
- package/dist/components/ai/_internal/collapsible.d.mts +0 -2
- package/dist/components/ai/_internal/collapsible.mjs +1 -2
- package/dist/components/ai/_internal/collapsible.module.mjs +1 -2
- package/dist/components/ai/_internal/icons.d.mts +0 -2
- package/dist/components/ai/_internal/icons.mjs +1 -2
- package/dist/components/ai/_internal/streaming-cursor.d.mts +1 -3
- package/dist/components/ai/_internal/streaming-cursor.mjs +1 -2
- package/dist/components/ai/_internal/streaming-cursor.module.mjs +1 -2
- package/dist/components/ai/attachment/attachment.d.mts +0 -2
- package/dist/components/ai/attachment/attachment.mjs +1 -2
- package/dist/components/ai/attachment/attachment.module.mjs +1 -2
- package/dist/components/ai/attachment/index.d.mts +1 -3
- package/dist/components/ai/attachment/index.mjs +1 -2
- package/dist/components/ai/conversation/conversation.d.mts +0 -2
- package/dist/components/ai/conversation/conversation.mjs +1 -2
- package/dist/components/ai/conversation/conversation.module.mjs +1 -2
- package/dist/components/ai/conversation/index.d.mts +1 -3
- package/dist/components/ai/conversation/index.mjs +1 -2
- package/dist/components/ai/message/index.d.mts +1 -3
- package/dist/components/ai/message/index.mjs +1 -2
- package/dist/components/ai/message/message.d.mts +0 -2
- package/dist/components/ai/message/message.mjs +1 -2
- package/dist/components/ai/message/message.module.mjs +1 -2
- package/dist/components/ai/prompt-input/index.d.mts +1 -3
- package/dist/components/ai/prompt-input/index.mjs +1 -2
- package/dist/components/ai/prompt-input/prompt-input.d.mts +0 -2
- package/dist/components/ai/prompt-input/prompt-input.mjs +1 -2
- package/dist/components/ai/prompt-input/prompt-input.module.mjs +1 -2
- package/dist/components/ai/reasoning/reasoning.d.mts +0 -2
- package/dist/components/ai/reasoning/reasoning.mjs +1 -2
- package/dist/components/ai/reasoning/reasoning.module.mjs +1 -2
- package/dist/components/ai/response/response.d.mts +0 -2
- package/dist/components/ai/response/response.mjs +1 -2
- package/dist/components/ai/response/response.module.mjs +1 -2
- package/dist/components/ai/source/index.d.mts +1 -3
- package/dist/components/ai/source/index.mjs +1 -2
- package/dist/components/ai/source/source.d.mts +0 -2
- package/dist/components/ai/source/source.mjs +1 -2
- package/dist/components/ai/source/source.module.mjs +1 -2
- package/dist/components/ai/suggestion/index.d.mts +1 -3
- package/dist/components/ai/suggestion/index.mjs +1 -2
- package/dist/components/ai/suggestion/suggestion.d.mts +0 -2
- package/dist/components/ai/suggestion/suggestion.mjs +1 -2
- package/dist/components/ai/suggestion/suggestion.module.mjs +1 -2
- package/dist/components/ai/tool-invocation/approval-bar.d.mts +0 -2
- package/dist/components/ai/tool-invocation/approval-bar.mjs +1 -2
- package/dist/components/ai/tool-invocation/approval-bar.module.mjs +1 -2
- package/dist/components/ai/tool-invocation/tool-invocation.d.mts +0 -2
- package/dist/components/ai/tool-invocation/tool-invocation.mjs +1 -2
- package/dist/components/ai/tool-invocation/tool-invocation.module.mjs +1 -2
- package/dist/components/ai/types.d.mts +1 -3
- package/dist/components/buttons/button/button.d.mts +0 -2
- package/dist/components/buttons/button/button.mjs +1 -2
- package/dist/components/buttons/button/button.module.mjs +1 -2
- package/dist/components/buttons/copy-button/copy-button.d.mts +1 -3
- package/dist/components/buttons/copy-button/copy-button.mjs +1 -2
- package/dist/components/buttons/copy-button/copy-button.module.mjs +1 -2
- package/dist/components/buttons/icon-button/icon-button.d.mts +0 -2
- package/dist/components/buttons/icon-button/icon-button.mjs +1 -2
- package/dist/components/buttons/icon-button/icon-button.module.mjs +1 -2
- package/dist/components/buttons/toolbar/index.d.mts +0 -2
- package/dist/components/buttons/toolbar/index.mjs +1 -2
- package/dist/components/buttons/toolbar/toolbar.d.mts +0 -2
- package/dist/components/buttons/toolbar/toolbar.mjs +1 -2
- package/dist/components/buttons/toolbar/toolbar.module.mjs +1 -2
- package/dist/components/data-display/accordion/accordion-button.d.mts +1 -3
- package/dist/components/data-display/accordion/accordion-button.mjs +1 -2
- package/dist/components/data-display/accordion/accordion-button.module.mjs +1 -2
- package/dist/components/data-display/accordion/accordion-item.d.mts +1 -3
- package/dist/components/data-display/accordion/accordion-item.mjs +1 -2
- package/dist/components/data-display/accordion/accordion-item.module.mjs +1 -2
- package/dist/components/data-display/accordion/accordion-panel.d.mts +1 -3
- package/dist/components/data-display/accordion/accordion-panel.mjs +1 -2
- package/dist/components/data-display/accordion/accordion-panel.module.mjs +1 -2
- package/dist/components/data-display/accordion/accordion.d.mts +1 -3
- package/dist/components/data-display/accordion/accordion.mjs +1 -2
- package/dist/components/data-display/accordion/accordion.module.mjs +1 -2
- package/dist/components/data-display/accordion/context.d.mts +0 -2
- package/dist/components/data-display/accordion/context.mjs +1 -2
- package/dist/components/data-display/accordion/index.d.mts +1 -3
- package/dist/components/data-display/accordion/index.mjs +1 -2
- package/dist/components/data-display/avatar/avatar.d.mts +0 -2
- package/dist/components/data-display/avatar/avatar.mjs +1 -2
- package/dist/components/data-display/avatar/avatar.module.mjs +1 -2
- package/dist/components/data-display/badge/badge.d.mts +0 -2
- package/dist/components/data-display/badge/badge.mjs +1 -2
- package/dist/components/data-display/badge/badge.module.mjs +1 -2
- package/dist/components/data-display/card/card.d.mts +0 -2
- package/dist/components/data-display/card/card.mjs +1 -2
- package/dist/components/data-display/card/card.module.mjs +1 -2
- package/dist/components/data-display/carousel/carousel.d.mts +0 -2
- package/dist/components/data-display/carousel/carousel.mjs +1 -2
- package/dist/components/data-display/carousel/carousel.module.mjs +1 -2
- package/dist/components/data-display/carousel/index.d.mts +1 -3
- package/dist/components/data-display/carousel/index.mjs +1 -2
- package/dist/components/data-display/code/code.d.mts +0 -2
- package/dist/components/data-display/code/code.mjs +1 -2
- package/dist/components/data-display/code/code.module.mjs +1 -2
- package/dist/components/data-display/code/find-all-colors.d.mts +0 -2
- package/dist/components/data-display/code/find-all-colors.mjs +1 -2
- package/dist/components/data-display/code-block/code-block.d.mts +0 -2
- package/dist/components/data-display/code-block/code-block.mjs +1 -2
- package/dist/components/data-display/code-block/code-block.module.mjs +1 -2
- package/dist/components/data-display/code-block/highlight.d.mts +0 -2
- package/dist/components/data-display/code-block/highlight.mjs +1 -2
- package/dist/components/data-display/data-table/data-table.d.mts +0 -2
- package/dist/components/data-display/data-table/data-table.mjs +1 -2
- package/dist/components/data-display/data-table/data-table.module.mjs +1 -2
- package/dist/components/data-display/heading/heading.d.mts +0 -2
- package/dist/components/data-display/heading/heading.mjs +1 -2
- package/dist/components/data-display/heading/heading.module.mjs +1 -2
- package/dist/components/data-display/kbd/kbd.d.mts +0 -2
- package/dist/components/data-display/kbd/kbd.mjs +1 -2
- package/dist/components/data-display/kbd/kbd.module.mjs +1 -2
- package/dist/components/data-display/prose/prose.css +5 -0
- package/dist/components/data-display/prose/prose.d.mts +0 -2
- package/dist/components/data-display/prose/prose.mjs +1 -2
- package/dist/components/data-display/prose/prose.module.mjs +1 -2
- package/dist/components/data-display/table/table.d.mts +0 -2
- package/dist/components/data-display/table/table.mjs +1 -2
- package/dist/components/data-display/table/table.module.mjs +1 -2
- package/dist/components/data-display/tree/tree.d.mts +0 -2
- package/dist/components/data-display/tree/tree.mjs +1 -2
- package/dist/components/data-display/tree/tree.module.mjs +1 -2
- package/dist/components/feedback/alert/alert.d.mts +0 -2
- package/dist/components/feedback/alert/alert.mjs +1 -2
- package/dist/components/feedback/alert/alert.module.mjs +1 -2
- package/dist/components/feedback/callout/callout.d.mts +0 -2
- package/dist/components/feedback/callout/callout.mjs +1 -2
- package/dist/components/feedback/callout/callout.module.mjs +1 -2
- package/dist/components/feedback/empty-state/empty-state.d.mts +0 -2
- package/dist/components/feedback/empty-state/empty-state.mjs +1 -2
- package/dist/components/feedback/empty-state/empty-state.module.mjs +1 -2
- package/dist/components/feedback/progress/progress.d.mts +0 -2
- package/dist/components/feedback/progress/progress.mjs +1 -2
- package/dist/components/feedback/progress/progress.module.mjs +1 -2
- package/dist/components/feedback/skeleton/skeleton.d.mts +0 -2
- package/dist/components/feedback/skeleton/skeleton.mjs +1 -2
- package/dist/components/feedback/skeleton/skeleton.module.mjs +1 -2
- package/dist/components/feedback/spinner/spinner.d.mts +0 -2
- package/dist/components/feedback/spinner/spinner.mjs +1 -2
- package/dist/components/feedback/spinner/spinner.module.mjs +1 -2
- package/dist/components/feedback/toast/context.d.mts +1 -3
- package/dist/components/feedback/toast/context.mjs +1 -2
- package/dist/components/feedback/toast/provider.d.mts +1 -3
- package/dist/components/feedback/toast/provider.mjs +51 -51
- package/dist/components/feedback/toast/provider.module.mjs +1 -2
- package/dist/components/feedback/toast/toast.d.mts +0 -2
- package/dist/components/feedback/toast/toast.mjs +4 -8
- package/dist/components/form/autocomplete/autocomplete.css +1 -1
- package/dist/components/form/autocomplete/autocomplete.d.mts +0 -2
- package/dist/components/form/autocomplete/autocomplete.mjs +3 -4
- package/dist/components/form/autocomplete/autocomplete.module.mjs +1 -2
- package/dist/components/form/calendar/calendar.d.mts +0 -2
- package/dist/components/form/calendar/calendar.mjs +1 -2
- package/dist/components/form/calendar/calendar.module.mjs +1 -2
- package/dist/components/form/checkbox/checkbox.d.mts +0 -2
- package/dist/components/form/checkbox/checkbox.mjs +1 -2
- package/dist/components/form/checkbox/checkbox.module.mjs +1 -2
- package/dist/components/form/checkbox-card/checkbox-card.d.mts +0 -2
- package/dist/components/form/checkbox-card/checkbox-card.mjs +1 -2
- package/dist/components/form/checkbox-card/checkbox-card.module.mjs +1 -2
- package/dist/components/form/checkbox-group/checkbox-group.d.mts +0 -2
- package/dist/components/form/checkbox-group/checkbox-group.mjs +1 -2
- package/dist/components/form/checkbox-group/checkbox-group.module.mjs +1 -2
- package/dist/components/form/checkbox-group/index.d.mts +1 -3
- package/dist/components/form/checkbox-group/index.mjs +1 -2
- package/dist/components/form/color-picker/color-picker.css +1 -1
- package/dist/components/form/color-picker/color-picker.d.mts +0 -2
- package/dist/components/form/color-picker/color-picker.mjs +1 -2
- package/dist/components/form/color-picker/color-picker.module.mjs +1 -2
- package/dist/components/form/combobox/combobox.css +1 -1
- package/dist/components/form/combobox/combobox.d.mts +0 -2
- package/dist/components/form/combobox/combobox.mjs +3 -7
- package/dist/components/form/combobox/combobox.module.mjs +1 -2
- package/dist/components/form/date-field/date-field.css +1 -1
- package/dist/components/form/date-field/date-field.d.mts +0 -2
- package/dist/components/form/date-field/date-field.mjs +1 -2
- package/dist/components/form/date-field/date-field.module.mjs +1 -2
- package/dist/components/form/date-picker/date-picker.d.mts +0 -2
- package/dist/components/form/date-picker/date-picker.mjs +1 -2
- package/dist/components/form/date-picker/date-picker.module.mjs +1 -2
- package/dist/components/form/file-field/file-field.d.mts +0 -2
- package/dist/components/form/file-field/file-field.mjs +1 -2
- package/dist/components/form/file-field/file-field.module.mjs +1 -2
- package/dist/components/form/file-field/index.d.mts +1 -3
- package/dist/components/form/file-field/index.mjs +1 -2
- package/dist/components/form/form/form.d.mts +0 -2
- package/dist/components/form/form/form.mjs +1 -2
- package/dist/components/form/form/form.module.mjs +1 -2
- package/dist/components/form/form-control/form-control.d.mts +0 -2
- package/dist/components/form/form-control/form-control.mjs +1 -2
- package/dist/components/form/form-control/form-control.module.mjs +1 -2
- package/dist/components/form/number-field/cast.d.mts +1 -3
- package/dist/components/form/number-field/cast.mjs +1 -2
- package/dist/components/form/number-field/number-field.css +0 -11
- package/dist/components/form/number-field/number-field.d.mts +0 -2
- package/dist/components/form/number-field/number-field.mjs +4 -3
- package/dist/components/form/number-field/number-field.module.mjs +1 -2
- package/dist/components/form/password-input/password-input.d.mts +0 -2
- package/dist/components/form/password-input/password-input.mjs +1 -2
- package/dist/components/form/password-input/password-input.module.mjs +1 -2
- package/dist/components/form/radio/radio.d.mts +0 -2
- package/dist/components/form/radio/radio.mjs +1 -2
- package/dist/components/form/radio/radio.module.mjs +1 -2
- package/dist/components/form/radio-card/radio-card.d.mts +0 -2
- package/dist/components/form/radio-card/radio-card.mjs +1 -2
- package/dist/components/form/radio-card/radio-card.module.mjs +1 -2
- package/dist/components/form/range-slider/range-slider.d.mts +0 -2
- package/dist/components/form/range-slider/range-slider.mjs +1 -2
- package/dist/components/form/range-slider/range-slider.module.mjs +1 -2
- package/dist/components/form/select/select.d.mts +0 -2
- package/dist/components/form/select/select.mjs +1 -2
- package/dist/components/form/select/select.module.mjs +1 -2
- package/dist/components/form/slider/range-input-class.css +12 -0
- package/dist/components/form/slider/range-input-class.d.mts +1 -3
- package/dist/components/form/slider/range-input-class.mjs +1 -2
- package/dist/components/form/slider/range-input-class.module.mjs +1 -2
- package/dist/components/form/slider/slider.d.mts +0 -2
- package/dist/components/form/slider/slider.mjs +1 -2
- package/dist/components/form/slider/slider.module.mjs +1 -2
- package/dist/components/form/switch/switch.d.mts +0 -2
- package/dist/components/form/switch/switch.mjs +1 -2
- package/dist/components/form/switch/switch.module.mjs +1 -2
- package/dist/components/form/text-field/text-field.css +0 -11
- package/dist/components/form/text-field/text-field.d.mts +0 -2
- package/dist/components/form/text-field/text-field.mjs +4 -3
- package/dist/components/form/text-field/text-field.module.mjs +1 -2
- package/dist/components/form/textarea/textarea.css +0 -11
- package/dist/components/form/textarea/textarea.d.mts +0 -2
- package/dist/components/form/textarea/textarea.mjs +4 -8
- package/dist/components/form/textarea/textarea.module.mjs +1 -2
- package/dist/components/icons/base.d.mts +1 -3
- package/dist/components/icons/base.mjs +1 -2
- package/dist/components/icons/base.module.mjs +1 -2
- package/dist/components/icons/browsers.d.mts +1 -3
- package/dist/components/icons/browsers.mjs +1 -2
- package/dist/components/icons/color-scale.d.mts +1 -3
- package/dist/components/icons/color-scale.mjs +1 -2
- package/dist/components/icons/github-mark.d.mts +1 -3
- package/dist/components/icons/github-mark.mjs +1 -2
- package/dist/components/icons/logo.d.mts +1 -3
- package/dist/components/icons/logo.mjs +1 -2
- package/dist/components/icons/logo.module.mjs +1 -2
- package/dist/components/icons/lucide.d.mts +0 -2
- package/dist/components/icons/lucide.mjs +1 -2
- package/dist/components/icons/qiita.d.mts +1 -3
- package/dist/components/icons/qiita.mjs +1 -2
- package/dist/components/icons/twitter.d.mts +1 -3
- package/dist/components/icons/twitter.mjs +1 -2
- package/dist/components/icons/twitter.module.mjs +1 -2
- package/dist/components/icons/vertical-writing.d.mts +1 -3
- package/dist/components/icons/vertical-writing.mjs +1 -2
- package/dist/components/layout/_shared/gap.d.mts +6 -8
- package/dist/components/layout/_shared/gap.mjs +1 -2
- package/dist/components/layout/_shared/gap.module.mjs +1 -2
- package/dist/components/layout/_shared/padding.d.mts +6 -8
- package/dist/components/layout/_shared/padding.mjs +1 -2
- package/dist/components/layout/_shared/padding.module.mjs +1 -2
- package/dist/components/layout/grid/grid.d.mts +1 -3
- package/dist/components/layout/grid/grid.mjs +1 -2
- package/dist/components/layout/grid/grid.module.mjs +1 -2
- package/dist/components/layout/resizable-panels/index.d.mts +1 -3
- package/dist/components/layout/resizable-panels/index.mjs +1 -2
- package/dist/components/layout/resizable-panels/resizable-panels.d.mts +0 -2
- package/dist/components/layout/resizable-panels/resizable-panels.mjs +1 -2
- package/dist/components/layout/resizable-panels/resizable-panels.module.mjs +1 -2
- package/dist/components/layout/separator/separator.d.mts +0 -2
- package/dist/components/layout/separator/separator.mjs +1 -2
- package/dist/components/layout/separator/separator.module.mjs +1 -2
- package/dist/components/layout/stack/stack.d.mts +1 -3
- package/dist/components/layout/stack/stack.mjs +1 -2
- package/dist/components/layout/stack/stack.module.mjs +1 -2
- package/dist/components/navigation/anchor/anchor.d.mts +0 -2
- package/dist/components/navigation/anchor/anchor.mjs +1 -2
- package/dist/components/navigation/anchor/anchor.module.mjs +1 -2
- package/dist/components/navigation/breadcrumb/breadcrumb.d.mts +0 -2
- package/dist/components/navigation/breadcrumb/breadcrumb.mjs +1 -2
- package/dist/components/navigation/breadcrumb/breadcrumb.module.mjs +1 -2
- package/dist/components/navigation/breadcrumb/index.d.mts +1 -3
- package/dist/components/navigation/breadcrumb/index.mjs +1 -2
- package/dist/components/navigation/pagination/pagination.d.mts +0 -2
- package/dist/components/navigation/pagination/pagination.mjs +1 -2
- package/dist/components/navigation/pagination/pagination.module.mjs +1 -2
- package/dist/components/navigation/side-nav/index.d.mts +1 -3
- package/dist/components/navigation/side-nav/index.mjs +1 -2
- package/dist/components/navigation/side-nav/side-nav.d.mts +0 -2
- package/dist/components/navigation/side-nav/side-nav.mjs +1 -2
- package/dist/components/navigation/side-nav/side-nav.module.mjs +1 -2
- package/dist/components/navigation/stepper/stepper.d.mts +0 -2
- package/dist/components/navigation/stepper/stepper.mjs +1 -2
- package/dist/components/navigation/stepper/stepper.module.mjs +1 -2
- package/dist/components/navigation/table-of-contents/table-of-contents.d.mts +1 -3
- package/dist/components/navigation/table-of-contents/table-of-contents.mjs +1 -2
- package/dist/components/navigation/table-of-contents/table-of-contents.module.mjs +1 -2
- package/dist/components/navigation/tabs/index.d.mts +1 -3
- package/dist/components/navigation/tabs/index.mjs +1 -2
- package/dist/components/navigation/tabs/tabs.d.mts +1 -3
- package/dist/components/navigation/tabs/tabs.mjs +1 -2
- package/dist/components/navigation/tabs/tabs.module.mjs +1 -2
- package/dist/components/observers/in-view/in-view.d.mts +1 -3
- package/dist/components/observers/in-view/in-view.mjs +1 -2
- package/dist/components/observers/resize/resize.d.mts +1 -3
- package/dist/components/observers/resize/resize.mjs +1 -2
- package/dist/components/overlays/_internal/modal-dialog-context.d.mts +1 -3
- package/dist/components/overlays/_internal/modal-dialog-context.mjs +1 -2
- package/dist/components/overlays/_internal/use-can-hover.d.mts +1 -3
- package/dist/components/overlays/_internal/use-can-hover.mjs +1 -2
- package/dist/components/overlays/_internal/use-hover-intent.d.mts +1 -3
- package/dist/components/overlays/_internal/use-hover-intent.mjs +1 -2
- package/dist/components/overlays/_internal/use-list-navigation.d.mts +1 -3
- package/dist/components/overlays/_internal/use-list-navigation.mjs +1 -2
- package/dist/components/overlays/command-palette/command-palette.d.mts +0 -2
- package/dist/components/overlays/command-palette/command-palette.mjs +1 -2
- package/dist/components/overlays/command-palette/command-palette.module.mjs +1 -2
- package/dist/components/overlays/context-menu/context-menu.d.mts +1 -3
- package/dist/components/overlays/context-menu/context-menu.mjs +1 -2
- package/dist/components/overlays/context-menu/index.d.mts +1 -3
- package/dist/components/overlays/context-menu/index.mjs +1 -2
- package/dist/components/overlays/dialog/dialog.d.mts +1 -3
- package/dist/components/overlays/dialog/dialog.mjs +2 -7
- package/dist/components/overlays/dialog/dialog.module.mjs +1 -2
- package/dist/components/overlays/dialog/index.d.mts +1 -3
- package/dist/components/overlays/dialog/index.mjs +1 -2
- package/dist/components/overlays/drawer/drawer.d.mts +1 -3
- package/dist/components/overlays/drawer/drawer.mjs +3 -8
- package/dist/components/overlays/drawer/drawer.module.mjs +1 -2
- package/dist/components/overlays/dropdown-menu/dropdown-menu.d.mts +1 -3
- package/dist/components/overlays/dropdown-menu/dropdown-menu.mjs +1 -2
- package/dist/components/overlays/dropdown-menu/hooks.d.mts +0 -2
- package/dist/components/overlays/dropdown-menu/hooks.mjs +1 -2
- package/dist/components/overlays/dropdown-menu/index.d.mts +1 -3
- package/dist/components/overlays/dropdown-menu/index.mjs +1 -2
- package/dist/components/overlays/dropdown-menu/shared.d.mts +2 -4
- package/dist/components/overlays/dropdown-menu/shared.mjs +1 -2
- package/dist/components/overlays/dropdown-menu/shared.module.mjs +1 -2
- package/dist/components/overlays/dropdown-menu/sub-menu.d.mts +1 -3
- package/dist/components/overlays/dropdown-menu/sub-menu.mjs +1 -2
- package/dist/components/overlays/dropdown-menu/sub-menu.module.mjs +1 -2
- package/dist/components/overlays/dropdown-menu/use-safe-triangle.d.mts +1 -3
- package/dist/components/overlays/dropdown-menu/use-safe-triangle.mjs +1 -2
- package/dist/components/overlays/list-box/hooks.d.mts +0 -2
- package/dist/components/overlays/list-box/hooks.mjs +1 -2
- package/dist/components/overlays/list-box/index.d.mts +1 -3
- package/dist/components/overlays/list-box/index.mjs +1 -2
- package/dist/components/overlays/list-box/list-box.d.mts +1 -3
- package/dist/components/overlays/list-box/list-box.mjs +1 -2
- package/dist/components/overlays/list-box/list-box.module.mjs +1 -2
- package/dist/components/overlays/modal/modal.d.mts +1 -3
- package/dist/components/overlays/modal/modal.mjs +1 -2
- package/dist/components/overlays/modal/modal.module.mjs +1 -2
- package/dist/components/overlays/popover/anchor-positioning.d.mts +0 -5
- package/dist/components/overlays/popover/anchor-positioning.mjs +1 -2
- package/dist/components/overlays/popover/escape-stack.d.mts +1 -3
- package/dist/components/overlays/popover/escape-stack.mjs +1 -2
- package/dist/components/overlays/popover/hooks.d.mts +0 -2
- package/dist/components/overlays/popover/hooks.mjs +1 -2
- package/dist/components/overlays/popover/index.d.mts +0 -2
- package/dist/components/overlays/popover/index.mjs +1 -2
- package/dist/components/overlays/popover/popover.d.mts +0 -2
- package/dist/components/overlays/popover/popover.mjs +1 -2
- package/dist/components/overlays/popover/popover.module.mjs +1 -2
- package/dist/components/overlays/tooltip/bridge.d.mts +1 -3
- package/dist/components/overlays/tooltip/bridge.mjs +1 -2
- package/dist/components/overlays/tooltip/bridge.module.mjs +1 -2
- package/dist/components/overlays/tooltip/index.d.mts +0 -2
- package/dist/components/overlays/tooltip/index.mjs +1 -2
- package/dist/components/overlays/tooltip/tooltip.d.mts +1 -3
- package/dist/components/overlays/tooltip/tooltip.mjs +1 -2
- package/dist/components/overlays/tooltip/tooltip.module.mjs +1 -2
- package/dist/components/providers/portal-root.d.mts +1 -3
- package/dist/components/providers/portal-root.mjs +1 -2
- package/dist/components/providers/ui-provider.d.mts +1 -3
- package/dist/components/providers/ui-provider.mjs +1 -2
- package/dist/helpers/chain.d.mts +0 -2
- package/dist/helpers/chain.mjs +1 -2
- package/dist/helpers/create-safe-context.d.mts +0 -2
- package/dist/helpers/create-safe-context.mjs +1 -2
- package/dist/helpers/merge-props.d.mts +0 -2
- package/dist/helpers/merge-props.mjs +1 -2
- package/dist/helpers/merge-refs.d.mts +1 -3
- package/dist/helpers/merge-refs.mjs +1 -2
- package/dist/hooks/click-away/index.d.mts +1 -3
- package/dist/hooks/click-away/index.mjs +1 -2
- package/dist/hooks/controllable-state/index.d.mts +0 -2
- package/dist/hooks/controllable-state/index.mjs +1 -2
- package/dist/hooks/writing-mode/index.d.mts +1 -3
- package/dist/hooks/writing-mode/index.mjs +1 -2
- package/dist/i18n/current.d.mts +1 -3
- package/dist/i18n/current.mjs +1 -2
- package/dist/i18n/en.d.mts +1 -3
- package/dist/i18n/en.mjs +1 -2
- package/dist/i18n/ja.d.mts +1 -3
- package/dist/i18n/ja.mjs +1 -2
- package/dist/i18n/messages.d.mts +1 -3
- package/dist/i18n/usage.d.mts +1 -3
- package/dist/i18n/usage.mjs +1 -2
- package/dist/integrations/_shared/openui-defs.d.mts +1 -3
- package/dist/integrations/_shared/openui-defs.mjs +1 -2
- package/dist/integrations/_shared/renderers.d.mts +1 -3
- package/dist/integrations/_shared/renderers.mjs +1 -2
- package/dist/integrations/_shared/renderers.module.mjs +1 -2
- package/dist/integrations/_shared/schemas.d.mts +0 -2
- package/dist/integrations/_shared/schemas.mjs +1 -2
- package/dist/integrations/ai-sdk/map-parts.d.mts +1 -3
- package/dist/integrations/ai-sdk/map-parts.mjs +1 -2
- package/dist/integrations/json-render/catalog.d.mts +0 -2
- package/dist/integrations/json-render/catalog.mjs +1 -2
- package/dist/integrations/json-render/registry.d.mts +1 -3
- package/dist/integrations/json-render/registry.mjs +1 -2
- package/dist/integrations/openui/form-views.d.mts +1 -3
- package/dist/integrations/openui/form-views.mjs +1 -2
- package/dist/integrations/openui/library.d.mts +0 -2
- package/dist/integrations/openui/library.mjs +1 -2
- package/dist/integrations/openui/prompt.d.mts +1 -3
- package/dist/integrations/openui/prompt.mjs +1 -2
- package/dist/internal/accepts-file.d.mts +1 -3
- package/dist/internal/accepts-file.mjs +1 -2
- package/dist/internal/carries-files.d.mts +1 -3
- package/dist/internal/carries-files.mjs +1 -2
- package/dist/internal/clamp.d.mts +1 -3
- package/dist/internal/clamp.mjs +1 -2
- package/dist/internal/commit-input-value.d.mts +1 -3
- package/dist/internal/commit-input-value.mjs +1 -2
- package/dist/internal/dropped-files.d.mts +1 -3
- package/dist/internal/dropped-files.mjs +1 -2
- package/dist/internal/focus-trap.d.mts +1 -3
- package/dist/internal/focus-trap.mjs +1 -2
- package/dist/internal/hex-color.d.mts +1 -3
- package/dist/internal/hex-color.mjs +1 -2
- package/dist/internal/iso-date.d.mts +1 -3
- package/dist/internal/iso-date.mjs +1 -2
- package/dist/internal/to-precision.d.mts +1 -3
- package/dist/internal/to-precision.mjs +1 -2
- package/dist/styles/index.css +81 -0
- package/dist/styles/tailwind.css +29 -2
- package/dist/styles/tokens.d.mts +1 -1
- package/dist/styles/tokens.mjs +1 -1
- package/dist/types/variables.d.mts +1 -3
- package/docs/GUIDE.md +17 -1
- package/docs/llms.txt +1 -1
- package/package.json +23 -23
- package/dist/components/icons/lucide-deep.d.mts +0 -11
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import { BaseIconProps } from "./base.mjs";
|
|
2
2
|
import { FC } from "react";
|
|
3
|
-
|
|
4
|
-
export declare const VerticalWritingIcon: FC<Partial<BaseIconProps>>;
|
|
5
|
-
//#endregion
|
|
3
|
+
export declare const VerticalWritingIcon: FC<Partial<BaseIconProps>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseIcon } from "./base.mjs";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/components/icons/vertical-writing.tsx
|
|
4
4
|
const VerticalWriting = ({ className, ...rest }) => /* @__PURE__ */ jsxs("svg", {
|
|
5
5
|
className,
|
|
6
6
|
...rest,
|
|
@@ -22,5 +22,4 @@ const VerticalWritingIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
|
22
22
|
renderItem: (props) => /* @__PURE__ */ jsx(VerticalWriting, { ...props }),
|
|
23
23
|
size
|
|
24
24
|
});
|
|
25
|
-
//#endregion
|
|
26
25
|
export { VerticalWritingIcon };
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
//#region src/components/layout/_shared/gap.d.ts
|
|
2
1
|
export type GapSize = 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
2
|
export declare const GAP_CLASS: {
|
|
4
|
-
readonly none:
|
|
5
|
-
readonly sm:
|
|
6
|
-
readonly md:
|
|
7
|
-
readonly lg:
|
|
8
|
-
readonly xl:
|
|
9
|
-
};
|
|
10
|
-
//#endregion
|
|
3
|
+
readonly none: string | undefined;
|
|
4
|
+
readonly sm: string | undefined;
|
|
5
|
+
readonly md: string | undefined;
|
|
6
|
+
readonly lg: string | undefined;
|
|
7
|
+
readonly xl: string | undefined;
|
|
8
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import gap_module_default from "./gap.module.mjs";
|
|
2
|
-
|
|
2
|
+
// src/components/layout/_shared/gap.ts
|
|
3
3
|
const GAP_CLASS = {
|
|
4
4
|
none: gap_module_default.none,
|
|
5
5
|
sm: gap_module_default.sm,
|
|
@@ -7,5 +7,4 @@ const GAP_CLASS = {
|
|
|
7
7
|
lg: gap_module_default.lg,
|
|
8
8
|
xl: gap_module_default.xl
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { GAP_CLASS };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './gap.css';
|
|
2
|
-
|
|
2
|
+
// src/components/layout/_shared/gap.module.css
|
|
3
3
|
var gap_module_default = {
|
|
4
4
|
"lg": "qUKPUW_lg",
|
|
5
5
|
"md": "qUKPUW_md",
|
|
@@ -7,5 +7,4 @@ var gap_module_default = {
|
|
|
7
7
|
"sm": "qUKPUW_sm",
|
|
8
8
|
"xl": "qUKPUW_xl"
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { gap_module_default as default };
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
//#region src/components/layout/_shared/padding.d.ts
|
|
2
1
|
export type PaddingSize = 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
2
|
export declare const PADDING_CLASS: {
|
|
4
|
-
readonly none:
|
|
5
|
-
readonly sm:
|
|
6
|
-
readonly md:
|
|
7
|
-
readonly lg:
|
|
8
|
-
readonly xl:
|
|
9
|
-
};
|
|
10
|
-
//#endregion
|
|
3
|
+
readonly none: string | undefined;
|
|
4
|
+
readonly sm: string | undefined;
|
|
5
|
+
readonly md: string | undefined;
|
|
6
|
+
readonly lg: string | undefined;
|
|
7
|
+
readonly xl: string | undefined;
|
|
8
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import padding_module_default from "./padding.module.mjs";
|
|
2
|
-
|
|
2
|
+
// src/components/layout/_shared/padding.ts
|
|
3
3
|
const PADDING_CLASS = {
|
|
4
4
|
none: padding_module_default.none,
|
|
5
5
|
sm: padding_module_default.sm,
|
|
@@ -7,5 +7,4 @@ const PADDING_CLASS = {
|
|
|
7
7
|
lg: padding_module_default.lg,
|
|
8
8
|
xl: padding_module_default.xl
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { PADDING_CLASS };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './padding.css';
|
|
2
|
-
|
|
2
|
+
// src/components/layout/_shared/padding.module.css
|
|
3
3
|
var padding_module_default = {
|
|
4
4
|
"lg": "C2u5ma_lg",
|
|
5
5
|
"md": "C2u5ma_md",
|
|
@@ -7,5 +7,4 @@ var padding_module_default = {
|
|
|
7
7
|
"sm": "C2u5ma_sm",
|
|
8
8
|
"xl": "C2u5ma_xl"
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { padding_module_default as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { GapSize } from "../_shared/gap.mjs";
|
|
2
2
|
import { FC, HTMLAttributes, PropsWithChildren } from "react";
|
|
3
|
-
//#region src/components/layout/grid/grid.d.ts
|
|
4
3
|
export type GridProps = PropsWithChildren<{
|
|
5
4
|
/**
|
|
6
5
|
* 列数。`1`〜`6` の固定列、`'auto-fill'` / `'auto-fit'` の自動列を選べる。
|
|
@@ -11,5 +10,4 @@ export type GridProps = PropsWithChildren<{
|
|
|
11
10
|
minItemSize?: 24 | 32 | 40 | 48 | 64 | 80;
|
|
12
11
|
gap?: GapSize;
|
|
13
12
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'className' | 'style'>>;
|
|
14
|
-
export declare const Grid: FC<GridProps>;
|
|
15
|
-
//#endregion
|
|
13
|
+
export declare const Grid: FC<GridProps>;
|
|
@@ -2,7 +2,7 @@ import { GAP_CLASS } from "../_shared/gap.mjs";
|
|
|
2
2
|
import grid_module_default from "./grid.module.mjs";
|
|
3
3
|
import { clsx } from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/components/layout/grid/grid.tsx
|
|
6
6
|
const COLS_CLASS = {
|
|
7
7
|
1: grid_module_default.cols1,
|
|
8
8
|
2: grid_module_default.cols2,
|
|
@@ -32,5 +32,4 @@ const Grid = ({ cols = "auto-fill", minItemSize = 48, gap = "md", children, ...r
|
|
|
32
32
|
className: clsx(grid_module_default.root, GAP_CLASS[gap], typeof cols === "number" ? COLS_CLASS[cols] : cols === "auto-fill" ? AUTO_FILL_CLASS[minItemSize] : AUTO_FIT_CLASS[minItemSize]),
|
|
33
33
|
children
|
|
34
34
|
});
|
|
35
|
-
//#endregion
|
|
36
35
|
export { Grid };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './grid.css';
|
|
2
|
-
|
|
2
|
+
// src/components/layout/grid/grid.module.css
|
|
3
3
|
var grid_module_default = {
|
|
4
4
|
"autoFill24": "_23gUBq_autoFill24",
|
|
5
5
|
"autoFill32": "_23gUBq_autoFill32",
|
|
@@ -21,5 +21,4 @@ var grid_module_default = {
|
|
|
21
21
|
"cols6": "_23gUBq_cols6",
|
|
22
22
|
"root": "_23gUBq_root"
|
|
23
23
|
};
|
|
24
|
-
//#endregion
|
|
25
24
|
export { grid_module_default as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/components/layout/resizable-panels/index.d.ts
|
|
2
1
|
export declare const ResizablePanels: {
|
|
3
2
|
readonly Root: import("react").FC<{
|
|
4
3
|
orientation?: "horizontal" | "vertical";
|
|
@@ -14,5 +13,4 @@ export declare const ResizablePanels: {
|
|
|
14
13
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
15
14
|
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "className" | "style">>;
|
|
16
15
|
readonly Handle: import("react").FC<Omit<import("react").HTMLAttributes<HTMLDivElement>, "aria-controls" | "aria-orientation" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "children" | "className" | "role" | "style" | "tabIndex">>;
|
|
17
|
-
};
|
|
18
|
-
//#endregion
|
|
16
|
+
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Handle, Panel, Root } from "./resizable-panels.mjs";
|
|
2
|
-
|
|
2
|
+
// src/components/layout/resizable-panels/index.ts
|
|
3
3
|
const ResizablePanels = {
|
|
4
4
|
Root,
|
|
5
5
|
Panel,
|
|
6
6
|
Handle
|
|
7
7
|
};
|
|
8
|
-
//#endregion
|
|
9
8
|
export { ResizablePanels };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC, HTMLAttributes, Ref } from "react";
|
|
2
|
-
//#region src/components/layout/resizable-panels/resizable-panels.d.ts
|
|
3
2
|
type Orientation = 'horizontal' | 'vertical';
|
|
4
3
|
export declare const Root: FC<{
|
|
5
4
|
/** 2 枚を並べる向き。`horizontal` は書字方向の行に沿って並べる。 */
|
|
@@ -18,5 +17,4 @@ export declare const Panel: FC<{
|
|
|
18
17
|
ref?: Ref<HTMLDivElement>;
|
|
19
18
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'className' | 'style'>>;
|
|
20
19
|
export declare const Handle: FC<Omit<HTMLAttributes<HTMLDivElement>, 'className' | 'style' | 'role' | 'children' | 'tabIndex' | 'aria-orientation' | 'aria-valuenow' | 'aria-valuemin' | 'aria-valuemax' | 'aria-controls'>>;
|
|
21
|
-
//#endregion
|
|
22
20
|
export {};
|
|
@@ -9,7 +9,7 @@ import resizable_panels_module_default from "./resizable-panels.module.mjs";
|
|
|
9
9
|
import { clsx } from "clsx";
|
|
10
10
|
import { useCallback, useId, useMemo, useRef, useState } from "react";
|
|
11
11
|
import { jsx } from "react/jsx-runtime";
|
|
12
|
-
|
|
12
|
+
// src/components/layout/resizable-panels/resizable-panels.tsx
|
|
13
13
|
const [PanelsProvider, usePanels] = createSafeContext("usePanels must be used within a ResizablePanels.Root");
|
|
14
14
|
const clamp = (value, min, max) => Math.min(Math.max(value, min), max);
|
|
15
15
|
/**
|
|
@@ -160,5 +160,4 @@ const Handle = ({ "aria-label": ariaLabel, onKeyDown, onPointerDown, onPointerMo
|
|
|
160
160
|
})
|
|
161
161
|
});
|
|
162
162
|
};
|
|
163
|
-
//#endregion
|
|
164
163
|
export { Handle, Panel, Root };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './resizable-panels.css';
|
|
2
|
-
|
|
2
|
+
// src/components/layout/resizable-panels/resizable-panels.module.css
|
|
3
3
|
var resizable_panels_module_default = {
|
|
4
4
|
"handle": "TQAbeG_handle",
|
|
5
5
|
"handleX": "TQAbeG_handleX",
|
|
@@ -12,5 +12,4 @@ var resizable_panels_module_default = {
|
|
|
12
12
|
"root": "TQAbeG_root",
|
|
13
13
|
"vertical": "TQAbeG_vertical"
|
|
14
14
|
};
|
|
15
|
-
//#endregion
|
|
16
15
|
export { resizable_panels_module_default as default };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { FC, HTMLAttributes } from "react";
|
|
2
|
-
//#region src/components/layout/separator/separator.d.ts
|
|
3
2
|
type Props = {
|
|
4
3
|
orientation?: 'horizontal' | 'vertical';
|
|
5
4
|
color?: 'base' | 'mute' | 'subtle';
|
|
6
5
|
} & Omit<HTMLAttributes<HTMLSpanElement>, 'children' | 'role' | 'aria-orientation' | 'className' | 'style'>;
|
|
7
6
|
export declare const Separator: FC<Props>;
|
|
8
|
-
//#endregion
|
|
9
7
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import separator_module_default from "./separator.module.mjs";
|
|
2
2
|
import { clsx } from "clsx";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/components/layout/separator/separator.tsx
|
|
5
5
|
const COLOR = {
|
|
6
6
|
base: separator_module_default.base,
|
|
7
7
|
mute: separator_module_default.mute,
|
|
@@ -13,5 +13,4 @@ const Separator = ({ orientation = "horizontal", color = "base", ...rest }) => /
|
|
|
13
13
|
className: clsx(separator_module_default.root, orientation === "vertical" ? separator_module_default.vertical : separator_module_default.horizontal, COLOR[color]),
|
|
14
14
|
role: "separator"
|
|
15
15
|
});
|
|
16
|
-
//#endregion
|
|
17
16
|
export { Separator };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './separator.css';
|
|
2
|
-
|
|
2
|
+
// src/components/layout/separator/separator.module.css
|
|
3
3
|
var separator_module_default = {
|
|
4
4
|
"base": "qQ-3Zq_base",
|
|
5
5
|
"horizontal": "qQ-3Zq_horizontal",
|
|
@@ -8,5 +8,4 @@ var separator_module_default = {
|
|
|
8
8
|
"subtle": "qQ-3Zq_subtle",
|
|
9
9
|
"vertical": "qQ-3Zq_vertical"
|
|
10
10
|
};
|
|
11
|
-
//#endregion
|
|
12
11
|
export { separator_module_default as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { GapSize } from "../_shared/gap.mjs";
|
|
2
2
|
import { PaddingSize } from "../_shared/padding.mjs";
|
|
3
3
|
import { FC, HTMLAttributes, PropsWithChildren } from "react";
|
|
4
|
-
//#region src/components/layout/stack/stack.d.ts
|
|
5
4
|
export type StackProps = PropsWithChildren<{
|
|
6
5
|
direction?: 'row' | 'column';
|
|
7
6
|
gap?: GapSize;
|
|
@@ -10,5 +9,4 @@ export type StackProps = PropsWithChildren<{
|
|
|
10
9
|
align?: 'start' | 'center' | 'end' | 'stretch';
|
|
11
10
|
justify?: 'start' | 'center' | 'end' | 'between';
|
|
12
11
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'className' | 'style'>>;
|
|
13
|
-
export declare const Stack: FC<StackProps>;
|
|
14
|
-
//#endregion
|
|
12
|
+
export declare const Stack: FC<StackProps>;
|
|
@@ -3,7 +3,7 @@ import { PADDING_CLASS } from "../_shared/padding.mjs";
|
|
|
3
3
|
import stack_module_default from "./stack.module.mjs";
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/components/layout/stack/stack.tsx
|
|
7
7
|
const ALIGN_CLASS = {
|
|
8
8
|
start: stack_module_default.alignStart,
|
|
9
9
|
center: stack_module_default.alignCenter,
|
|
@@ -21,5 +21,4 @@ const Stack = ({ direction = "column", gap = "md", padding, align, justify, chil
|
|
|
21
21
|
className: clsx(stack_module_default.root, direction === "row" ? stack_module_default.row : stack_module_default.column, GAP_CLASS[gap], padding && PADDING_CLASS[padding], align && ALIGN_CLASS[align], justify && JUSTIFY_CLASS[justify]),
|
|
22
22
|
children
|
|
23
23
|
});
|
|
24
|
-
//#endregion
|
|
25
24
|
export { Stack };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './stack.css';
|
|
2
|
-
|
|
2
|
+
// src/components/layout/stack/stack.module.css
|
|
3
3
|
var stack_module_default = {
|
|
4
4
|
"alignCenter": "xGsfrG_alignCenter",
|
|
5
5
|
"alignEnd": "xGsfrG_alignEnd",
|
|
@@ -13,5 +13,4 @@ var stack_module_default = {
|
|
|
13
13
|
"root": "xGsfrG_root",
|
|
14
14
|
"row": "xGsfrG_row"
|
|
15
15
|
};
|
|
16
|
-
//#endregion
|
|
17
16
|
export { stack_module_default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AnchorHTMLAttributes, ReactNode } from "react";
|
|
2
|
-
//#region src/components/navigation/anchor/anchor.d.ts
|
|
3
2
|
type RestProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href' | 'children' | 'target' | 'rel' | 'className' | 'style'>;
|
|
4
3
|
type RenderAnchorProps<T extends string> = {
|
|
5
4
|
kind: 'internal' | 'external';
|
|
@@ -16,5 +15,4 @@ type Props<T extends string> = {
|
|
|
16
15
|
renderAnchor?: (props: RenderAnchorProps<T>) => ReactNode;
|
|
17
16
|
} & RestProps;
|
|
18
17
|
export declare const Anchor: <T extends string>({ href, children, openInNewTab, renderAnchor, ...rest }: Props<T>) => ReactNode;
|
|
19
|
-
//#endregion
|
|
20
18
|
export {};
|
|
@@ -3,7 +3,7 @@ import { ExternalLinkIcon } from "../../icons/lucide.mjs";
|
|
|
3
3
|
import anchor_module_default from "./anchor.module.mjs";
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/components/navigation/anchor/anchor.tsx
|
|
7
7
|
const defaultRenderAnchor = ({ children: anchorChildren, ...rest }) => /* @__PURE__ */ jsx("a", {
|
|
8
8
|
...rest,
|
|
9
9
|
children: anchorChildren
|
|
@@ -27,5 +27,4 @@ const Anchor = ({ href, children, openInNewTab = false, renderAnchor = defaultRe
|
|
|
27
27
|
...props
|
|
28
28
|
});
|
|
29
29
|
};
|
|
30
|
-
//#endregion
|
|
31
30
|
export { Anchor };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import './anchor.css';
|
|
2
|
-
|
|
2
|
+
// src/components/navigation/anchor/anchor.module.css
|
|
3
3
|
var anchor_module_default = {
|
|
4
4
|
"external": "_7nx_2W_external",
|
|
5
5
|
"root": "_7nx_2W_root"
|
|
6
6
|
};
|
|
7
|
-
//#endregion
|
|
8
7
|
export { anchor_module_default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC, PropsWithChildren, ReactNode } from "react";
|
|
2
|
-
//#region src/components/navigation/breadcrumb/breadcrumb.d.ts
|
|
3
2
|
export declare const List: FC<PropsWithChildren<{
|
|
4
3
|
size?: 'sm' | 'md' | 'lg';
|
|
5
4
|
}>>;
|
|
@@ -15,5 +14,4 @@ export declare const Link: <T extends string>({ href, current, children, renderA
|
|
|
15
14
|
current?: boolean;
|
|
16
15
|
renderAnchor?: (props: RenderBreadcrumbAnchorProps<T>) => ReactNode;
|
|
17
16
|
}>) => string | number | bigint | boolean | import("react").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined> | null | undefined;
|
|
18
|
-
//#endregion
|
|
19
17
|
export {};
|
|
@@ -4,7 +4,7 @@ import { ChevronIcon } from "../../icons/lucide.mjs";
|
|
|
4
4
|
import breadcrumb_module_default from "./breadcrumb.module.mjs";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/components/navigation/breadcrumb/breadcrumb.tsx
|
|
8
8
|
const SIZE = {
|
|
9
9
|
sm: breadcrumb_module_default.sm,
|
|
10
10
|
md: breadcrumb_module_default.md,
|
|
@@ -45,5 +45,4 @@ const Link = ({ href, current = false, children, renderAnchor = defaultRenderBre
|
|
|
45
45
|
className: clsx(breadcrumb_module_default.link, focus_ring_module_default.ringNoBorder),
|
|
46
46
|
children
|
|
47
47
|
});
|
|
48
|
-
//#endregion
|
|
49
48
|
export { Item, Link, List, Separator };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './breadcrumb.css';
|
|
2
|
-
|
|
2
|
+
// src/components/navigation/breadcrumb/breadcrumb.module.css
|
|
3
3
|
var breadcrumb_module_default = {
|
|
4
4
|
"current": "pX7MyW_current",
|
|
5
5
|
"item": "pX7MyW_item",
|
|
@@ -10,5 +10,4 @@ var breadcrumb_module_default = {
|
|
|
10
10
|
"separator": "pX7MyW_separator",
|
|
11
11
|
"sm": "pX7MyW_sm"
|
|
12
12
|
};
|
|
13
|
-
//#endregion
|
|
14
13
|
export { breadcrumb_module_default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Link } from "./breadcrumb.mjs";
|
|
2
|
-
//#region src/components/navigation/breadcrumb/index.d.ts
|
|
3
2
|
export declare const Breadcrumb: {
|
|
4
3
|
readonly List: import("react").FC<import("react").PropsWithChildren<{
|
|
5
4
|
size?: 'sm' | 'md' | 'lg';
|
|
@@ -9,5 +8,4 @@ export declare const Breadcrumb: {
|
|
|
9
8
|
}>;
|
|
10
9
|
readonly Separator: import("react").FC;
|
|
11
10
|
readonly Link: typeof Link;
|
|
12
|
-
};
|
|
13
|
-
//#endregion
|
|
11
|
+
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Item, Link, List, Separator } from "./breadcrumb.mjs";
|
|
2
|
-
|
|
2
|
+
// src/components/navigation/breadcrumb/index.ts
|
|
3
3
|
const Breadcrumb = {
|
|
4
4
|
List,
|
|
5
5
|
Item,
|
|
6
6
|
Separator,
|
|
7
7
|
Link
|
|
8
8
|
};
|
|
9
|
-
//#endregion
|
|
10
9
|
export { Breadcrumb };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC, HTMLAttributes, Ref } from "react";
|
|
2
|
-
//#region src/components/navigation/pagination/pagination.d.ts
|
|
3
2
|
type Props = {
|
|
4
3
|
totalPages: number;
|
|
5
4
|
currentPage: number;
|
|
@@ -11,5 +10,4 @@ type Props = {
|
|
|
11
10
|
ref?: Ref<HTMLElement>;
|
|
12
11
|
} & Omit<HTMLAttributes<HTMLElement>, 'className' | 'style' | 'onChange' | 'children'>;
|
|
13
12
|
export declare const Pagination: FC<Props>;
|
|
14
|
-
//#endregion
|
|
15
13
|
export {};
|
|
@@ -4,7 +4,7 @@ import { Button } from "../../buttons/button/button.mjs";
|
|
|
4
4
|
import { ChevronIcon } from "../../icons/lucide.mjs";
|
|
5
5
|
import pagination_module_default from "./pagination.module.mjs";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/components/navigation/pagination/pagination.tsx
|
|
8
8
|
const Pagination = ({ totalPages, currentPage, onChange, disabled = false, prevLabel, nextLabel, "aria-label": ariaLabel, ref, ...rest }) => {
|
|
9
9
|
const messages = getMessages();
|
|
10
10
|
const safeTotal = Math.max(1, totalPages);
|
|
@@ -71,5 +71,4 @@ const Pagination = ({ totalPages, currentPage, onChange, disabled = false, prevL
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
};
|
|
74
|
-
//#endregion
|
|
75
74
|
export { Pagination };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './pagination.css';
|
|
2
|
-
|
|
2
|
+
// src/components/navigation/pagination/pagination.module.css
|
|
3
3
|
var pagination_module_default = {
|
|
4
4
|
"chevron": "LBG7cW_chevron",
|
|
5
5
|
"current": "LBG7cW_current",
|
|
@@ -7,5 +7,4 @@ var pagination_module_default = {
|
|
|
7
7
|
"slash": "LBG7cW_slash",
|
|
8
8
|
"status": "LBG7cW_status"
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { pagination_module_default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Link } from "./side-nav.mjs";
|
|
2
|
-
//#region src/components/navigation/side-nav/index.d.ts
|
|
3
2
|
export declare const SideNav: {
|
|
4
3
|
readonly Root: import("react").FC<import("react").PropsWithChildren<{
|
|
5
4
|
label: string;
|
|
@@ -12,5 +11,4 @@ export declare const SideNav: {
|
|
|
12
11
|
defaultOpen?: boolean;
|
|
13
12
|
}>>;
|
|
14
13
|
readonly Link: typeof Link;
|
|
15
|
-
};
|
|
16
|
-
//#endregion
|
|
14
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AnchorHTMLAttributes, FC, HTMLAttributes, PropsWithChildren, ReactNode } from "react";
|
|
2
|
-
//#region src/components/navigation/side-nav/side-nav.d.ts
|
|
3
2
|
type RestProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href' | 'children' | 'className' | 'style' | 'aria-current'>;
|
|
4
3
|
type RenderSideNavAnchorProps<T extends string> = {
|
|
5
4
|
href: NoInfer<T>;
|
|
@@ -28,5 +27,4 @@ export declare const Sub: FC<PropsWithChildren<{
|
|
|
28
27
|
title: string;
|
|
29
28
|
defaultOpen?: boolean;
|
|
30
29
|
}>>;
|
|
31
|
-
//#endregion
|
|
32
30
|
export {};
|
|
@@ -3,7 +3,7 @@ import { NAV_LIST_CLASS_NAME, NAV_TITLE_CLASS_NAME, navLinkClassName } from "../
|
|
|
3
3
|
import side_nav_module_default from "./side-nav.module.mjs";
|
|
4
4
|
import { useId } from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/components/navigation/side-nav/side-nav.tsx
|
|
7
7
|
const defaultRenderAnchor = ({ children, ...rest }) => /* @__PURE__ */ jsx("a", {
|
|
8
8
|
...rest,
|
|
9
9
|
children
|
|
@@ -58,5 +58,4 @@ const Sub = ({ title, defaultOpen = false, children }) => /* @__PURE__ */ jsx("l
|
|
|
58
58
|
children
|
|
59
59
|
})]
|
|
60
60
|
}) });
|
|
61
|
-
//#endregion
|
|
62
61
|
export { Group, Link, Root, Sub };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './side-nav.css';
|
|
2
|
-
|
|
2
|
+
// src/components/navigation/side-nav/side-nav.module.css
|
|
3
3
|
var side_nav_module_default = {
|
|
4
4
|
"chevron": "_2RqvcG_chevron",
|
|
5
5
|
"group": "_2RqvcG_group",
|
|
@@ -7,5 +7,4 @@ var side_nav_module_default = {
|
|
|
7
7
|
"sub": "_2RqvcG_sub",
|
|
8
8
|
"summary": "_2RqvcG_summary"
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { side_nav_module_default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC, OlHTMLAttributes, Ref } from "react";
|
|
2
|
-
//#region src/components/navigation/stepper/stepper.d.ts
|
|
3
2
|
export type StepperStep = Readonly<{
|
|
4
3
|
label: string;
|
|
5
4
|
description?: string;
|
|
@@ -16,5 +15,4 @@ type Props = {
|
|
|
16
15
|
ref?: Ref<HTMLOListElement>;
|
|
17
16
|
} & Omit<OlHTMLAttributes<HTMLOListElement>, 'className' | 'style' | 'children' | 'onChange' | 'defaultValue'>;
|
|
18
17
|
export declare const Stepper: FC<Props>;
|
|
19
|
-
//#endregion
|
|
20
18
|
export {};
|
|
@@ -9,7 +9,7 @@ import { clsx } from "clsx";
|
|
|
9
9
|
import { useRef } from "react";
|
|
10
10
|
import { flushSync } from "react-dom";
|
|
11
11
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
|
|
12
|
+
// src/components/navigation/stepper/stepper.tsx
|
|
13
13
|
const MARKER = {
|
|
14
14
|
complete: stepper_module_default.markerComplete,
|
|
15
15
|
current: stepper_module_default.markerCurrent,
|
|
@@ -83,5 +83,4 @@ const Stepper = ({ steps, value, defaultValue, onChange, interactive = false, or
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
};
|
|
86
|
-
//#endregion
|
|
87
86
|
export { Stepper };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './stepper.css';
|
|
2
|
-
|
|
2
|
+
// src/components/navigation/stepper/stepper.module.css
|
|
3
3
|
var stepper_module_default = {
|
|
4
4
|
"body": "WjZwvW_body",
|
|
5
5
|
"bodyHorizontal": "WjZwvW_bodyHorizontal",
|
|
@@ -25,5 +25,4 @@ var stepper_module_default = {
|
|
|
25
25
|
"rootVertical": "WjZwvW_rootVertical",
|
|
26
26
|
"text": "WjZwvW_text"
|
|
27
27
|
};
|
|
28
|
-
//#endregion
|
|
29
28
|
export { stepper_module_default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC, HTMLAttributes } from "react";
|
|
2
|
-
//#region src/components/navigation/table-of-contents/table-of-contents.d.ts
|
|
3
2
|
export type TableOfContentsItem = {
|
|
4
3
|
id: string;
|
|
5
4
|
label: string;
|
|
@@ -8,5 +7,4 @@ export type TableOfContentsItem = {
|
|
|
8
7
|
export declare const TableOfContents: FC<{
|
|
9
8
|
items: readonly TableOfContentsItem[];
|
|
10
9
|
label?: string;
|
|
11
|
-
} & Omit<HTMLAttributes<HTMLElement>, 'className' | 'style' | 'children' | 'aria-labelledby'>>;
|
|
12
|
-
//#endregion
|
|
10
|
+
} & Omit<HTMLAttributes<HTMLElement>, 'className' | 'style' | 'children' | 'aria-labelledby'>>;
|
|
@@ -4,7 +4,7 @@ import { NAV_LIST_CLASS_NAME, NAV_TITLE_CLASS_NAME, navLinkClassName } from "../
|
|
|
4
4
|
import table_of_contents_module_default from "./table-of-contents.module.mjs";
|
|
5
5
|
import { useEffect, useId, useState } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/components/navigation/table-of-contents/table-of-contents.tsx
|
|
8
8
|
const idsOf = (items) => items.flatMap((item) => [item.id, ...idsOf(item.children ?? [])]);
|
|
9
9
|
const TOLERANCE = 2;
|
|
10
10
|
const blockStartOf = (heading, rect) => {
|
|
@@ -90,5 +90,4 @@ const TableOfContents = ({ items, label, ...rest }) => {
|
|
|
90
90
|
})]
|
|
91
91
|
});
|
|
92
92
|
};
|
|
93
|
-
//#endregion
|
|
94
93
|
export { TableOfContents };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import './table-of-contents.css';
|
|
2
|
-
|
|
2
|
+
// src/components/navigation/table-of-contents/table-of-contents.module.css
|
|
3
3
|
var table_of_contents_module_default = {
|
|
4
4
|
"nested": "SmKc1G_nested",
|
|
5
5
|
"root": "SmKc1G_root"
|
|
6
6
|
};
|
|
7
|
-
//#endregion
|
|
8
7
|
export { table_of_contents_module_default as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/components/navigation/tabs/index.d.ts
|
|
2
1
|
export declare const Tabs: {
|
|
3
2
|
readonly Root: import("react").FC<import("react").PropsWithChildren<{
|
|
4
3
|
defaultSelectedId?: string | null;
|
|
@@ -15,5 +14,4 @@ export declare const Tabs: {
|
|
|
15
14
|
readonly Panel: import("react").FC<import("react").PropsWithChildren<{
|
|
16
15
|
id: string;
|
|
17
16
|
}>>;
|
|
18
|
-
};
|
|
19
|
-
//#endregion
|
|
17
|
+
};
|