@k8ordo/ui 2.1.0 → 2.3.0
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 +4 -4
- 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 +1 -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 +1 -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 +1 -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 +1 -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 +1 -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 +1 -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 +1 -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 +1 -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/index.mjs +1 -2
- package/dist/components/ai/reasoning/reasoning.d.mts +1 -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/index.mjs +1 -2
- package/dist/components/ai/response/response.d.mts +1 -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 +1 -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 +1 -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 +1 -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/index.mjs +1 -2
- package/dist/components/ai/tool-invocation/tool-invocation.d.mts +1 -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 +1 -2
- package/dist/components/buttons/button/button.mjs +1 -2
- package/dist/components/buttons/button/button.module.mjs +1 -2
- package/dist/components/buttons/button/index.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/copy-button/index.mjs +1 -2
- package/dist/components/buttons/icon-button/icon-button.d.mts +1 -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/icon-button/index.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 +1 -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 +1 -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/avatar/index.mjs +1 -2
- package/dist/components/data-display/badge/badge.d.mts +1 -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/badge/index.mjs +1 -2
- package/dist/components/data-display/card/card.d.mts +1 -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/card/index.mjs +1 -2
- package/dist/components/data-display/carousel/carousel.d.mts +1 -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 +1 -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 +1 -2
- package/dist/components/data-display/code/find-all-colors.mjs +1 -2
- package/dist/components/data-display/code/index.mjs +1 -2
- package/dist/components/data-display/code-block/code-block.d.mts +1 -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 +1 -2
- package/dist/components/data-display/code-block/highlight.mjs +1 -2
- package/dist/components/data-display/code-block/index.mjs +1 -2
- package/dist/components/data-display/data-table/data-table.d.mts +1 -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/data-table/index.mjs +1 -2
- package/dist/components/data-display/heading/heading.d.mts +1 -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/heading/index.mjs +1 -2
- package/dist/components/data-display/kbd/index.mjs +1 -2
- package/dist/components/data-display/kbd/kbd.d.mts +1 -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/index.mjs +1 -2
- package/dist/components/data-display/prose/prose.css +5 -0
- package/dist/components/data-display/prose/prose.d.mts +1 -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/index.mjs +1 -2
- package/dist/components/data-display/table/table.d.mts +1 -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/index.mjs +1 -2
- package/dist/components/data-display/tree/tree.css +1 -15
- package/dist/components/data-display/tree/tree.d.mts +1 -2
- package/dist/components/data-display/tree/tree.mjs +50 -58
- package/dist/components/data-display/tree/tree.module.mjs +1 -3
- package/dist/components/feedback/alert/alert.d.mts +1 -2
- package/dist/components/feedback/alert/alert.mjs +1 -2
- package/dist/components/feedback/alert/alert.module.mjs +1 -2
- package/dist/components/feedback/alert/index.mjs +1 -2
- package/dist/components/feedback/callout/callout.d.mts +1 -2
- package/dist/components/feedback/callout/callout.mjs +1 -2
- package/dist/components/feedback/callout/callout.module.mjs +1 -2
- package/dist/components/feedback/callout/index.mjs +1 -2
- package/dist/components/feedback/empty-state/empty-state.d.mts +1 -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/empty-state/index.mjs +1 -2
- package/dist/components/feedback/progress/index.mjs +1 -2
- package/dist/components/feedback/progress/progress.d.mts +1 -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/index.mjs +1 -2
- package/dist/components/feedback/skeleton/skeleton.d.mts +1 -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/index.mjs +1 -2
- package/dist/components/feedback/spinner/spinner.d.mts +1 -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 +1 -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 +1 -2
- package/dist/components/form/autocomplete/autocomplete.mjs +3 -4
- package/dist/components/form/autocomplete/autocomplete.module.mjs +1 -2
- package/dist/components/form/autocomplete/index.mjs +1 -2
- package/dist/components/form/calendar/calendar.d.mts +1 -2
- package/dist/components/form/calendar/calendar.mjs +1 -2
- package/dist/components/form/calendar/calendar.module.mjs +1 -2
- package/dist/components/form/calendar/index.mjs +1 -2
- package/dist/components/form/checkbox/checkbox.d.mts +1 -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/index.mjs +1 -2
- package/dist/components/form/checkbox-card/checkbox-card.d.mts +1 -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-card/index.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 +1 -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/color-picker/index.mjs +1 -2
- package/dist/components/form/combobox/combobox.css +1 -1
- package/dist/components/form/combobox/combobox.d.mts +1 -2
- package/dist/components/form/combobox/combobox.mjs +3 -7
- package/dist/components/form/combobox/combobox.module.mjs +1 -2
- package/dist/components/form/combobox/index.mjs +1 -2
- package/dist/components/form/date-field/date-field.css +1 -1
- package/dist/components/form/date-field/date-field.d.mts +1 -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-field/index.mjs +1 -2
- package/dist/components/form/date-picker/date-picker.d.mts +1 -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/date-picker/index.mjs +1 -2
- package/dist/components/form/file-field/file-field.d.mts +1 -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 +1 -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/index.mjs +1 -2
- package/dist/components/form/form-control/form-control.d.mts +1 -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/form-control/index.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/index.mjs +1 -2
- package/dist/components/form/number-field/number-field.css +0 -11
- package/dist/components/form/number-field/number-field.d.mts +1 -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/index.mjs +1 -2
- package/dist/components/form/password-input/password-input.d.mts +1 -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/index.mjs +1 -2
- package/dist/components/form/radio/radio.d.mts +1 -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/index.mjs +1 -2
- package/dist/components/form/radio-card/radio-card.d.mts +1 -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/index.mjs +1 -2
- package/dist/components/form/range-slider/range-slider.d.mts +1 -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/index.mjs +1 -2
- package/dist/components/form/select/select.d.mts +1 -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/index.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 +1 -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/index.mjs +1 -2
- package/dist/components/form/switch/switch.d.mts +1 -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/index.mjs +1 -2
- package/dist/components/form/text-field/text-field.css +0 -11
- package/dist/components/form/text-field/text-field.d.mts +1 -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/index.mjs +1 -2
- package/dist/components/form/textarea/textarea.css +0 -11
- package/dist/components/form/textarea/textarea.d.mts +1 -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 +1 -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/grid/index.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 +1 -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/index.mjs +1 -2
- package/dist/components/layout/separator/separator.d.mts +1 -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/index.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 +1 -2
- package/dist/components/navigation/anchor/anchor.mjs +1 -2
- package/dist/components/navigation/anchor/anchor.module.mjs +1 -2
- package/dist/components/navigation/anchor/index.mjs +1 -2
- package/dist/components/navigation/breadcrumb/breadcrumb.d.mts +1 -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/index.mjs +1 -2
- package/dist/components/navigation/pagination/pagination.d.mts +1 -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 +1 -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/index.mjs +1 -2
- package/dist/components/navigation/stepper/stepper.d.mts +1 -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/index.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/in-view/index.mjs +1 -2
- package/dist/components/observers/resize/index.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 +1 -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/command-palette/index.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/drawer/index.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 +1 -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/index.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 +1 -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 +1 -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 +1 -2
- package/dist/helpers/chain.mjs +1 -2
- package/dist/helpers/create-safe-context.d.mts +1 -2
- package/dist/helpers/create-safe-context.mjs +1 -2
- package/dist/helpers/merge-props.d.mts +1 -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 +1 -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 +1 -5
- package/dist/integrations/_shared/schemas.mjs +1 -2
- package/dist/integrations/ai-sdk/index.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 +1 -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 +2 -4
- package/dist/integrations/openui/form-views.mjs +1 -2
- package/dist/integrations/openui/library.d.mts +3 -4
- 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/docs/references/components.md +3 -0
- package/docs/references/generative-ui.md +5 -4
- package/package.json +35 -35
- package/dist/_virtual/_rolldown/runtime.mjs +0 -13
- package/dist/components/icons/lucide-deep.d.mts +0 -11
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import accordion_module_default from "./accordion.module.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/components/data-display/accordion/accordion.tsx
|
|
4
4
|
const Accordion = ({ children }) => /* @__PURE__ */ jsx("div", {
|
|
5
5
|
className: accordion_module_default.root,
|
|
6
6
|
children
|
|
7
7
|
});
|
|
8
|
-
//#endregion
|
|
9
8
|
export { Accordion };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import './accordion.css';
|
|
2
|
-
|
|
2
|
+
// src/components/data-display/accordion/accordion.module.css
|
|
3
3
|
var accordion_module_default = { "root": "_2t6Tnq_root" };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { accordion_module_default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from "react";
|
|
2
|
-
//#region src/components/data-display/accordion/context.d.ts
|
|
3
2
|
type ToggleOpen = () => void;
|
|
4
3
|
declare const useToggleOpen: () => ToggleOpen;
|
|
5
4
|
declare const useItemId: () => string;
|
|
@@ -10,5 +9,4 @@ export declare const AccordionItemProvider: FC<PropsWithChildren<{
|
|
|
10
9
|
onChange?: (isOpen: boolean) => void;
|
|
11
10
|
id: string;
|
|
12
11
|
}>>;
|
|
13
|
-
//#endregion
|
|
14
12
|
export { useItemId, useToggleOpen };
|
|
@@ -3,7 +3,7 @@ import { createSafeContext } from "../../../helpers/create-safe-context.mjs";
|
|
|
3
3
|
import { useControllableState } from "../../../hooks/controllable-state/index.mjs";
|
|
4
4
|
import { createContext, use, useCallback } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/components/data-display/accordion/context.tsx
|
|
7
7
|
const OpenContext = createContext(false);
|
|
8
8
|
const [ToggleOpenContext, useToggleOpen] = createSafeContext("useToggleOpen must be used within AccordionProvider");
|
|
9
9
|
const [ItemIdContext, useItemId] = createSafeContext("useItemId must be used within AccordionProvider");
|
|
@@ -28,5 +28,4 @@ const AccordionItemProvider = ({ isOpen, defaultOpen = false, onChange, id, chil
|
|
|
28
28
|
})
|
|
29
29
|
});
|
|
30
30
|
};
|
|
31
|
-
//#endregion
|
|
32
31
|
export { AccordionItemProvider, useItemId, useOpen, useToggleOpen };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/components/data-display/accordion/index.d.ts
|
|
2
1
|
export declare const Accordion: {
|
|
3
2
|
readonly Root: import("react").FC<{
|
|
4
3
|
children?: import("react").ReactNode | undefined;
|
|
@@ -14,5 +13,4 @@ export declare const Accordion: {
|
|
|
14
13
|
readonly Panel: import("react").FC<{
|
|
15
14
|
children?: import("react").ReactNode | undefined;
|
|
16
15
|
}>;
|
|
17
|
-
};
|
|
18
|
-
//#endregion
|
|
16
|
+
};
|
|
@@ -2,12 +2,11 @@ import { Accordion as Accordion$1 } from "./accordion.mjs";
|
|
|
2
2
|
import { AccordionButton } from "./accordion-button.mjs";
|
|
3
3
|
import { AccordionItem } from "./accordion-item.mjs";
|
|
4
4
|
import { AccordionPanel } from "./accordion-panel.mjs";
|
|
5
|
-
|
|
5
|
+
// src/components/data-display/accordion/index.ts
|
|
6
6
|
const Accordion = {
|
|
7
7
|
Root: Accordion$1,
|
|
8
8
|
Button: AccordionButton,
|
|
9
9
|
Item: AccordionItem,
|
|
10
10
|
Panel: AccordionPanel
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
12
|
export { Accordion };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC, HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
//#region src/components/data-display/avatar/avatar.d.ts
|
|
3
2
|
type Props = {
|
|
4
3
|
alt?: string;
|
|
5
4
|
color?: 'base' | 'primary' | 'secondary';
|
|
@@ -10,4 +9,4 @@ type Props = {
|
|
|
10
9
|
src?: string;
|
|
11
10
|
} & Omit<HTMLAttributes<HTMLSpanElement>, 'role' | 'aria-label' | 'className' | 'style'>;
|
|
12
11
|
export declare const Avatar: FC<Props>;
|
|
13
|
-
|
|
12
|
+
export {};
|
|
@@ -4,7 +4,7 @@ import avatar_module_default from "./avatar.module.mjs";
|
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
5
|
import { useState } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/components/data-display/avatar/avatar.tsx
|
|
8
8
|
const COLOR = {
|
|
9
9
|
base: avatar_module_default.base,
|
|
10
10
|
primary: avatar_module_default.primary,
|
|
@@ -55,5 +55,4 @@ const Avatar = ({ alt, color = "base", fallback, icon, name, size = "md", src, .
|
|
|
55
55
|
})
|
|
56
56
|
});
|
|
57
57
|
};
|
|
58
|
-
//#endregion
|
|
59
58
|
export { Avatar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './avatar.css';
|
|
2
|
-
|
|
2
|
+
// src/components/data-display/avatar/avatar.module.css
|
|
3
3
|
var avatar_module_default = {
|
|
4
4
|
"base": "-60GPa_base",
|
|
5
5
|
"icon": "-60GPa_icon",
|
|
@@ -14,5 +14,4 @@ var avatar_module_default = {
|
|
|
14
14
|
"secondary": "-60GPa_secondary",
|
|
15
15
|
"sm": "-60GPa_sm"
|
|
16
16
|
};
|
|
17
|
-
//#endregion
|
|
18
17
|
export { avatar_module_default as default };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Avatar };
|
|
1
|
+
export { Avatar } from "./avatar.mjs";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes, FC, HTMLAttributes } from "react";
|
|
2
|
-
//#region src/components/data-display/badge/badge.d.ts
|
|
3
2
|
type Size = 'sm' | 'md' | 'lg';
|
|
4
3
|
type Tone = 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
5
4
|
type Variant = 'solid' | 'outline';
|
|
@@ -17,4 +16,4 @@ type StaticProps = {
|
|
|
17
16
|
} & Omit<HTMLAttributes<HTMLSpanElement>, 'children' | 'className' | 'style'>;
|
|
18
17
|
type Props = BaseProps & (InteractiveProps | StaticProps);
|
|
19
18
|
export declare const Badge: FC<Props>;
|
|
20
|
-
|
|
19
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import focus_ring_module_default from "../../_internal/focus-ring.module.mjs";
|
|
|
2
2
|
import badge_module_default from "./badge.module.mjs";
|
|
3
3
|
import { clsx } from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/components/data-display/badge/badge.tsx
|
|
6
6
|
const SIZE = {
|
|
7
7
|
sm: badge_module_default.sm,
|
|
8
8
|
md: badge_module_default.md,
|
|
@@ -48,5 +48,4 @@ const Badge = (props) => {
|
|
|
48
48
|
children: label
|
|
49
49
|
});
|
|
50
50
|
};
|
|
51
|
-
//#endregion
|
|
52
51
|
export { Badge };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './badge.css';
|
|
2
|
-
|
|
2
|
+
// src/components/data-display/badge/badge.module.css
|
|
3
3
|
var badge_module_default = {
|
|
4
4
|
"errorOutline": "rZZfaW_errorOutline",
|
|
5
5
|
"errorSolid": "rZZfaW_errorSolid",
|
|
@@ -17,5 +17,4 @@ var badge_module_default = {
|
|
|
17
17
|
"warningOutline": "rZZfaW_warningOutline",
|
|
18
18
|
"warningSolid": "rZZfaW_warningSolid"
|
|
19
19
|
};
|
|
20
|
-
//#endregion
|
|
21
20
|
export { badge_module_default as default };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Badge };
|
|
1
|
+
export { Badge } from "./badge.mjs";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { FC, HTMLAttributes } from "react";
|
|
2
|
-
//#region src/components/data-display/card/card.d.ts
|
|
3
2
|
type CardProps = {
|
|
4
3
|
width?: 'full' | 'fit';
|
|
5
4
|
variant?: 'shadow' | 'outline';
|
|
6
5
|
interactive?: boolean;
|
|
7
6
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'className' | 'style'>;
|
|
8
7
|
export declare const Card: FC<CardProps>;
|
|
9
|
-
|
|
8
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import high_contrast_module_default from "../../_internal/high-contrast.module.m
|
|
|
2
2
|
import card_module_default from "./card.module.mjs";
|
|
3
3
|
import { clsx } from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/components/data-display/card/card.tsx
|
|
6
6
|
const VARIANT = {
|
|
7
7
|
shadow: [card_module_default.shadow, high_contrast_module_default.edge],
|
|
8
8
|
outline: card_module_default.outline
|
|
@@ -16,5 +16,4 @@ const Card = ({ children, width = "full", variant = "shadow", interactive = fals
|
|
|
16
16
|
className: clsx(card_module_default.root, VARIANT[variant], WIDTH[width], interactive && card_module_default.interactive),
|
|
17
17
|
children
|
|
18
18
|
});
|
|
19
|
-
//#endregion
|
|
20
19
|
export { Card };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './card.css';
|
|
2
|
-
|
|
2
|
+
// src/components/data-display/card/card.module.css
|
|
3
3
|
var card_module_default = {
|
|
4
4
|
"fit": "v9O_zW_fit",
|
|
5
5
|
"full": "v9O_zW_full",
|
|
@@ -8,5 +8,4 @@ var card_module_default = {
|
|
|
8
8
|
"root": "v9O_zW_root",
|
|
9
9
|
"shadow": "v9O_zW_shadow"
|
|
10
10
|
};
|
|
11
|
-
//#endregion
|
|
12
11
|
export { card_module_default as default };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Card };
|
|
1
|
+
export { Card } from "./card.mjs";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from "react";
|
|
2
|
-
//#region src/components/data-display/carousel/carousel.d.ts
|
|
3
2
|
type SlideSize = 'full' | 'lg' | 'md' | 'sm';
|
|
4
3
|
export declare const Root: FC<PropsWithChildren<{
|
|
5
4
|
label: string;
|
|
@@ -8,4 +7,4 @@ export declare const Root: FC<PropsWithChildren<{
|
|
|
8
7
|
export declare const Slide: FC<PropsWithChildren<{
|
|
9
8
|
label?: string;
|
|
10
9
|
}>>;
|
|
11
|
-
|
|
10
|
+
export {};
|
|
@@ -8,7 +8,7 @@ import carousel_module_default from "./carousel.module.mjs";
|
|
|
8
8
|
import { clsx } from "clsx";
|
|
9
9
|
import { createContext, use, useEffect, useId, useRef, useState } from "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
|
|
11
|
+
// src/components/data-display/carousel/carousel.tsx
|
|
12
12
|
const SlideSizeContext = createContext("full");
|
|
13
13
|
const SLIDE_SIZE = {
|
|
14
14
|
full: carousel_module_default.full,
|
|
@@ -182,5 +182,4 @@ const Slide = ({ label, children }) => {
|
|
|
182
182
|
children
|
|
183
183
|
});
|
|
184
184
|
};
|
|
185
|
-
//#endregion
|
|
186
185
|
export { Root, Slide };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './carousel.css';
|
|
2
|
-
|
|
2
|
+
// src/components/data-display/carousel/carousel.module.css
|
|
3
3
|
var carousel_module_default = {
|
|
4
4
|
"arrow": "rJ_sGW_arrow",
|
|
5
5
|
"controls": "rJ_sGW_controls",
|
|
@@ -14,5 +14,4 @@ var carousel_module_default = {
|
|
|
14
14
|
"sm": "rJ_sGW_sm",
|
|
15
15
|
"track": "rJ_sGW_track"
|
|
16
16
|
};
|
|
17
|
-
//#endregion
|
|
18
17
|
export { carousel_module_default as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/components/data-display/carousel/index.d.ts
|
|
2
1
|
export declare const Carousel: {
|
|
3
2
|
readonly Root: import("react").FC<import("react").PropsWithChildren<{
|
|
4
3
|
label: string;
|
|
@@ -7,5 +6,4 @@ export declare const Carousel: {
|
|
|
7
6
|
readonly Slide: import("react").FC<import("react").PropsWithChildren<{
|
|
8
7
|
label?: string;
|
|
9
8
|
}>>;
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
9
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FC, HTMLAttributes } from "react";
|
|
2
|
-
//#region src/components/data-display/code/code.d.ts
|
|
3
2
|
type Props = {
|
|
4
3
|
children: string;
|
|
5
4
|
} & Omit<HTMLAttributes<HTMLElement>, 'children' | 'className' | 'style'>;
|
|
6
5
|
export declare const Code: FC<Props>;
|
|
7
|
-
|
|
6
|
+
export {};
|
|
@@ -4,7 +4,7 @@ import code_module_default from "./code.module.mjs";
|
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
5
|
import { Fragment } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/components/data-display/code/code.tsx
|
|
8
8
|
const Code = ({ children, ...rest }) => {
|
|
9
9
|
const messages = getMessages();
|
|
10
10
|
const colors = findAllColors(children);
|
|
@@ -32,5 +32,4 @@ const Code = ({ children, ...rest }) => {
|
|
|
32
32
|
children: parts
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
|
-
//#endregion
|
|
36
35
|
export { Code };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import './code.css';
|
|
2
|
-
|
|
2
|
+
// src/components/data-display/code/code.module.css
|
|
3
3
|
var code_module_default = {
|
|
4
4
|
"root": "_9ZZMOW_root",
|
|
5
5
|
"swatch": "_9ZZMOW_swatch",
|
|
6
6
|
"withColors": "_9ZZMOW_withColors"
|
|
7
7
|
};
|
|
8
|
-
//#endregion
|
|
9
8
|
export { code_module_default as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/components/data-display/code/find-all-colors.d.ts
|
|
2
1
|
type ColorMatch = {
|
|
3
2
|
color: string;
|
|
4
3
|
start: number;
|
|
@@ -12,4 +11,4 @@ type ColorMatch = {
|
|
|
12
11
|
* @returns 色の値、開始位置、終了位置を含む色オブジェクトの配列
|
|
13
12
|
*/
|
|
14
13
|
export declare function findAllColors(text: string): ColorMatch[];
|
|
15
|
-
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/data-display/code/find-all-colors.ts
|
|
2
2
|
const extractFunctionContent = (source, funcName) => {
|
|
3
3
|
const funcPattern = new RegExp(`${funcName}\\s*\\(`, "giu");
|
|
4
4
|
const matches = [];
|
|
@@ -102,5 +102,4 @@ function findAllColors(text) {
|
|
|
102
102
|
for (const result of results) if (!filteredResults.some((existing) => result.start >= existing.start && result.start < existing.end || result.end > existing.start && result.end <= existing.end || result.start <= existing.start && result.end >= existing.end)) filteredResults.push(result);
|
|
103
103
|
return filteredResults;
|
|
104
104
|
}
|
|
105
|
-
//#endregion
|
|
106
105
|
export { findAllColors };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Code };
|
|
1
|
+
export { Code } from "./code.mjs";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FC, HTMLAttributes } from "react";
|
|
2
2
|
import "server-only";
|
|
3
|
-
//#region src/components/data-display/code-block/code-block.d.ts
|
|
4
3
|
type Props = {
|
|
5
4
|
code: string;
|
|
6
5
|
lang?: string;
|
|
@@ -9,4 +8,4 @@ type Props = {
|
|
|
9
8
|
callouts?: Readonly<Record<number, string | readonly string[]>>;
|
|
10
9
|
} & Omit<HTMLAttributes<HTMLElement>, 'children' | 'className' | 'lang' | 'style' | 'title'>;
|
|
11
10
|
export declare const CodeBlock: FC<Props>;
|
|
12
|
-
|
|
11
|
+
export {};
|
|
@@ -6,7 +6,7 @@ import code_block_module_default from "./code-block.module.mjs";
|
|
|
6
6
|
import { clsx } from "clsx";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import "server-only";
|
|
9
|
-
|
|
9
|
+
// src/components/data-display/code-block/code-block.tsx
|
|
10
10
|
const CodeBlock = async ({ code, lang = "text", title, marks, callouts, ...rest }) => {
|
|
11
11
|
const html = await highlight(code, {
|
|
12
12
|
lang,
|
|
@@ -40,5 +40,4 @@ const CodeBlock = async ({ code, lang = "text", title, marks, callouts, ...rest
|
|
|
40
40
|
]
|
|
41
41
|
});
|
|
42
42
|
};
|
|
43
|
-
//#endregion
|
|
44
43
|
export { CodeBlock };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './code-block.css';
|
|
2
|
-
|
|
2
|
+
// src/components/data-display/code-block/code-block.module.css
|
|
3
3
|
var code_block_module_default = {
|
|
4
4
|
"code": "NaphaW_code",
|
|
5
5
|
"copy": "NaphaW_copy",
|
|
@@ -7,5 +7,4 @@ var code_block_module_default = {
|
|
|
7
7
|
"language": "NaphaW_language",
|
|
8
8
|
"root": "NaphaW_root"
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { code_block_module_default as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/components/data-display/code-block/highlight.d.ts
|
|
2
1
|
type LineMark = 'highlight' | 'add' | 'remove';
|
|
3
2
|
type Options = {
|
|
4
3
|
lang: string;
|
|
@@ -6,4 +5,4 @@ type Options = {
|
|
|
6
5
|
callouts?: Readonly<Record<number, string | readonly string[]>> | undefined;
|
|
7
6
|
};
|
|
8
7
|
export declare const highlight: (code: string, options: Options) => Promise<string>;
|
|
9
|
-
|
|
8
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { bundledLanguages, codeToHtml } from "shiki";
|
|
2
|
-
|
|
2
|
+
// src/components/data-display/code-block/highlight.ts
|
|
3
3
|
const resolveLang = (lang) => Object.hasOwn(bundledLanguages, lang) ? lang : "text";
|
|
4
4
|
const annotate = (code, marks, callouts) => ({
|
|
5
5
|
name: "k8ordo-ui:annotate",
|
|
@@ -50,5 +50,4 @@ const highlight = (code, options) => codeToHtml(code, {
|
|
|
50
50
|
colorsRendering: "none",
|
|
51
51
|
transformers: [annotate(code, options.marks, options.callouts)]
|
|
52
52
|
});
|
|
53
|
-
//#endregion
|
|
54
53
|
export { highlight };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { CodeBlock };
|
|
1
|
+
export { CodeBlock } from "./code-block.mjs";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { CellAlign } from "../table/table.mjs";
|
|
2
2
|
import "../table/index.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
//#region src/components/data-display/data-table/data-table.d.ts
|
|
5
4
|
export type DataTableColumn<Row> = {
|
|
6
5
|
id: string;
|
|
7
6
|
header: string;
|
|
@@ -28,4 +27,4 @@ type Props<Row> = {
|
|
|
28
27
|
emptyState?: ReactNode;
|
|
29
28
|
};
|
|
30
29
|
export declare const DataTable: <Row>({ label, columns, rows, getRowId, sort, onSortChange, selectedIds, onSelectedIdsChange, hiddenColumnIds, onHiddenColumnIdsChange, emptyState }: Props<Row>) => import("react").JSX.Element;
|
|
31
|
-
|
|
30
|
+
export {};
|
|
@@ -11,7 +11,7 @@ import data_table_module_default from "./data-table.module.mjs";
|
|
|
11
11
|
import { clsx } from "clsx";
|
|
12
12
|
import { useId } from "react";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
-
|
|
14
|
+
// src/components/data-display/data-table/data-table.tsx
|
|
15
15
|
const NONE = [];
|
|
16
16
|
const nextSort = (columnId, current) => {
|
|
17
17
|
if (current?.columnId !== columnId) return {
|
|
@@ -151,5 +151,4 @@ const DataTable = ({ label, columns, rows, getRowId, sort = null, onSortChange,
|
|
|
151
151
|
})]
|
|
152
152
|
});
|
|
153
153
|
};
|
|
154
|
-
//#endregion
|
|
155
154
|
export { DataTable };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './data-table.css';
|
|
2
|
-
|
|
2
|
+
// src/components/data-display/data-table/data-table.module.css
|
|
3
3
|
var data_table_module_default = {
|
|
4
4
|
"alignRight": "_1lzWCq_alignRight",
|
|
5
5
|
"columnMenu": "_1lzWCq_columnMenu",
|
|
@@ -10,5 +10,4 @@ var data_table_module_default = {
|
|
|
10
10
|
"toolbar": "_1lzWCq_toolbar",
|
|
11
11
|
"unsorted": "_1lzWCq_unsorted"
|
|
12
12
|
};
|
|
13
|
-
//#endregion
|
|
14
13
|
export { data_table_module_default as default };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { DataTable };
|
|
1
|
+
export { DataTable } from "./data-table.mjs";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { FC, HTMLAttributes } from "react";
|
|
2
|
-
//#region src/components/data-display/heading/heading.d.ts
|
|
3
2
|
type Props = {
|
|
4
3
|
level: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
5
4
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
6
5
|
} & Omit<HTMLAttributes<HTMLHeadingElement>, 'className' | 'style'>;
|
|
7
6
|
export declare const Heading: FC<Props>;
|
|
8
|
-
|
|
7
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import heading_module_default from "./heading.module.mjs";
|
|
2
2
|
import { clsx } from "clsx";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/components/data-display/heading/heading.tsx
|
|
5
5
|
const LINE_CLAMP_CLASS = {
|
|
6
6
|
1: heading_module_default.clamp1,
|
|
7
7
|
2: heading_module_default.clamp2,
|
|
@@ -43,5 +43,4 @@ const Heading = ({ children, level, lineClamp, ...rest }) => {
|
|
|
43
43
|
children
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
|
-
//#endregion
|
|
47
46
|
export { Heading };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './heading.css';
|
|
2
|
-
|
|
2
|
+
// src/components/data-display/heading/heading.module.css
|
|
3
3
|
var heading_module_default = {
|
|
4
4
|
"clamp": "mRyo7a_clamp",
|
|
5
5
|
"clamp1": "mRyo7a_clamp1",
|
|
@@ -16,5 +16,4 @@ var heading_module_default = {
|
|
|
16
16
|
"h6": "mRyo7a_h6",
|
|
17
17
|
"root": "mRyo7a_root"
|
|
18
18
|
};
|
|
19
|
-
//#endregion
|
|
20
19
|
export { heading_module_default as default };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Heading };
|
|
1
|
+
export { Heading } from "./heading.mjs";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Kbd };
|
|
1
|
+
export { Kbd } from "./kbd.mjs";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { FC, HTMLAttributes } from "react";
|
|
2
|
-
//#region src/components/data-display/kbd/kbd.d.ts
|
|
3
2
|
type Props = {
|
|
4
3
|
children: string;
|
|
5
4
|
label?: string;
|
|
6
5
|
} & Omit<HTMLAttributes<HTMLElement>, 'children' | 'className' | 'style'>;
|
|
7
6
|
export declare const Kbd: FC<Props>;
|
|
8
|
-
|
|
7
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import sr_only_module_default from "../../_internal/sr-only.module.mjs";
|
|
2
2
|
import kbd_module_default from "./kbd.module.mjs";
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/components/data-display/kbd/kbd.tsx
|
|
5
5
|
const Kbd = ({ children, label, ...rest }) => /* @__PURE__ */ jsx("kbd", {
|
|
6
6
|
...rest,
|
|
7
7
|
className: kbd_module_default.root,
|
|
@@ -13,5 +13,4 @@ const Kbd = ({ children, label, ...rest }) => /* @__PURE__ */ jsx("kbd", {
|
|
|
13
13
|
children: label
|
|
14
14
|
})] })
|
|
15
15
|
});
|
|
16
|
-
//#endregion
|
|
17
16
|
export { Kbd };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Prose };
|
|
1
|
+
export { Prose } from "./prose.mjs";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import prose_module_default from "./prose.module.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/components/data-display/prose/prose.tsx
|
|
4
4
|
const Prose = ({ children, ...rest }) => /* @__PURE__ */ jsx("div", {
|
|
5
5
|
...rest,
|
|
6
6
|
className: prose_module_default.root,
|
|
7
7
|
children
|
|
8
8
|
});
|
|
9
|
-
//#endregion
|
|
10
9
|
export { Prose };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Table };
|
|
1
|
+
export { Table } from "./table.mjs";
|