@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,4 @@
|
|
|
1
1
|
import { FC, FieldsetHTMLAttributes, ReactNode, Ref } from "react";
|
|
2
|
-
//#region src/components/form/radio-card/radio-card.d.ts
|
|
3
2
|
export type RadioCardOption = Readonly<{
|
|
4
3
|
value: string;
|
|
5
4
|
label: string;
|
|
@@ -26,5 +25,4 @@ type UncontrolledProps = {
|
|
|
26
25
|
};
|
|
27
26
|
type Props = BaseProps & (ControlledProps | UncontrolledProps);
|
|
28
27
|
export declare const RadioCard: FC<Props>;
|
|
29
|
-
//#endregion
|
|
30
28
|
export {};
|
|
@@ -4,7 +4,7 @@ import radio_card_module_default from "./radio-card.module.mjs";
|
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
5
|
import { useId } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/components/form/radio-card/radio-card.tsx
|
|
8
8
|
const RadioCard = ({ "aria-labelledby": labelledbyId, name, disabled = false, invalid = false, required = false, options, value, defaultValue, onChange, ref, ...rest }) => {
|
|
9
9
|
const groupId = useId();
|
|
10
10
|
const isControlled = value !== void 0;
|
|
@@ -64,5 +64,4 @@ const RadioCard = ({ "aria-labelledby": labelledbyId, name, disabled = false, in
|
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
66
|
};
|
|
67
|
-
//#endregion
|
|
68
67
|
export { RadioCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './radio-card.css';
|
|
2
|
-
|
|
2
|
+
// src/components/form/radio-card/radio-card.module.css
|
|
3
3
|
var radio_card_module_default = {
|
|
4
4
|
"card": "RU7zwG_card",
|
|
5
5
|
"description": "RU7zwG_description",
|
|
@@ -15,5 +15,4 @@ var radio_card_module_default = {
|
|
|
15
15
|
"valid": "RU7zwG_valid",
|
|
16
16
|
"visual": "RU7zwG_visual"
|
|
17
17
|
};
|
|
18
|
-
//#endregion
|
|
19
18
|
export { radio_card_module_default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC, HTMLAttributes, Ref } from "react";
|
|
2
|
-
//#region src/components/form/range-slider/range-slider.d.ts
|
|
3
2
|
type BaseProps = {
|
|
4
3
|
min?: number;
|
|
5
4
|
max?: number;
|
|
@@ -27,5 +26,4 @@ type UncontrolledProps = {
|
|
|
27
26
|
};
|
|
28
27
|
type Props = BaseProps & (ControlledProps | UncontrolledProps);
|
|
29
28
|
export declare const RangeSlider: FC<Props>;
|
|
30
|
-
//#endregion
|
|
31
29
|
export {};
|
|
@@ -8,7 +8,7 @@ import { clsx } from "clsx";
|
|
|
8
8
|
import { useEffect, useId, useRef, useState } from "react";
|
|
9
9
|
import { useFormStatus } from "react-dom";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
|
|
11
|
+
// src/components/form/range-slider/range-slider.tsx
|
|
12
12
|
const percentOf = (value, min, max) => {
|
|
13
13
|
const span = max > min ? max - min : 1;
|
|
14
14
|
const ratio = Math.min(Math.max((value - min) / span, 0), 1);
|
|
@@ -131,5 +131,4 @@ const RangeSlider = ({ min = 0, max = 100, step = 1, name, value, defaultValue,
|
|
|
131
131
|
]
|
|
132
132
|
});
|
|
133
133
|
};
|
|
134
|
-
//#endregion
|
|
135
134
|
export { RangeSlider };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './range-slider.css';
|
|
2
|
-
|
|
2
|
+
// src/components/form/range-slider/range-slider.module.css
|
|
3
3
|
var range_slider_module_default = {
|
|
4
4
|
"disabled": "oss4bG_disabled",
|
|
5
5
|
"fill": "oss4bG_fill",
|
|
@@ -10,5 +10,4 @@ var range_slider_module_default = {
|
|
|
10
10
|
"thumb": "oss4bG_thumb",
|
|
11
11
|
"track": "oss4bG_track"
|
|
12
12
|
};
|
|
13
|
-
//#endregion
|
|
14
13
|
export { range_slider_module_default as default };
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Option } from "../../../types/variables.mjs";
|
|
2
2
|
import { FC, Ref, SelectHTMLAttributes } from "react";
|
|
3
|
-
//#region src/components/form/select/select.d.ts
|
|
4
3
|
type Props = {
|
|
5
4
|
invalid?: boolean;
|
|
6
5
|
options: readonly Option[];
|
|
7
6
|
ref?: Ref<HTMLSelectElement>;
|
|
8
7
|
} & Omit<SelectHTMLAttributes<HTMLSelectElement>, 'className' | 'style'>;
|
|
9
8
|
export declare const Select: FC<Props>;
|
|
10
|
-
//#endregion
|
|
11
9
|
export {};
|
|
@@ -9,7 +9,7 @@ import { clsx } from "clsx";
|
|
|
9
9
|
import { useLayoutEffect, useMemo, useRef } from "react";
|
|
10
10
|
import { useFormStatus } from "react-dom";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
|
|
12
|
+
// src/components/form/select/select.tsx
|
|
13
13
|
const Select = ({ invalid = false, options, disabled = false, defaultValue, onKeyDown, ref, ...rest }) => {
|
|
14
14
|
const { pending } = useFormStatus();
|
|
15
15
|
const selectRef = useRef(null);
|
|
@@ -46,5 +46,4 @@ const Select = ({ invalid = false, options, disabled = false, defaultValue, onKe
|
|
|
46
46
|
})]
|
|
47
47
|
});
|
|
48
48
|
};
|
|
49
|
-
//#endregion
|
|
50
49
|
export { Select };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './select.css';
|
|
2
|
-
|
|
2
|
+
// src/components/form/select/select.module.css
|
|
3
3
|
var select_module_default = {
|
|
4
4
|
"chevron": "_93Y5Aq_chevron",
|
|
5
5
|
"disabled": "_93Y5Aq_disabled",
|
|
@@ -8,5 +8,4 @@ var select_module_default = {
|
|
|
8
8
|
"root": "_93Y5Aq_root",
|
|
9
9
|
"select": "_93Y5Aq_select"
|
|
10
10
|
};
|
|
11
|
-
//#endregion
|
|
12
11
|
export { select_module_default as default };
|
|
@@ -92,6 +92,18 @@
|
|
|
92
92
|
.mzSkOG_invalid:focus-visible::-moz-range-thumb {
|
|
93
93
|
box-shadow: var(--shadow-ring-error), var(--shadow-xs);
|
|
94
94
|
}
|
|
95
|
+
|
|
96
|
+
@media (forced-colors: active) {
|
|
97
|
+
.mzSkOG_input:focus-visible::-webkit-slider-thumb {
|
|
98
|
+
outline-offset: 2px;
|
|
99
|
+
outline: 2px solid #0000;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.mzSkOG_input:focus-visible::-moz-range-thumb {
|
|
103
|
+
outline-offset: 2px;
|
|
104
|
+
outline: 2px solid #0000;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
95
107
|
}
|
|
96
108
|
|
|
97
109
|
@layer utilities;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
//#region src/components/form/slider/range-input-class.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* `<input type="range">` を溝の上に重ね、見た目をつまみだけにするクラス。
|
|
4
3
|
* 溝と塗りは部品側が描く。Slider と RangeSlider で共有する。
|
|
5
4
|
*/
|
|
6
|
-
export declare const rangeInputClass: (invalid: boolean) => string;
|
|
7
|
-
//#endregion
|
|
5
|
+
export declare const rangeInputClass: (invalid: boolean) => string;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import range_input_class_module_default from "./range-input-class.module.mjs";
|
|
2
2
|
import { clsx } from "clsx";
|
|
3
|
-
|
|
3
|
+
// src/components/form/slider/range-input-class.ts
|
|
4
4
|
/**
|
|
5
5
|
* `<input type="range">` を溝の上に重ね、見た目をつまみだけにするクラス。
|
|
6
6
|
* 溝と塗りは部品側が描く。Slider と RangeSlider で共有する。
|
|
7
7
|
*/
|
|
8
8
|
const rangeInputClass = (invalid) => clsx(range_input_class_module_default.input, invalid && range_input_class_module_default.invalid);
|
|
9
|
-
//#endregion
|
|
10
9
|
export { rangeInputClass };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import './range-input-class.css';
|
|
2
|
-
|
|
2
|
+
// src/components/form/slider/range-input-class.module.css
|
|
3
3
|
var range_input_class_module_default = {
|
|
4
4
|
"input": "mzSkOG_input",
|
|
5
5
|
"invalid": "mzSkOG_invalid"
|
|
6
6
|
};
|
|
7
|
-
//#endregion
|
|
8
7
|
export { range_input_class_module_default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC, InputHTMLAttributes, Ref } from "react";
|
|
2
|
-
//#region src/components/form/slider/slider.d.ts
|
|
3
2
|
type BaseProps = {
|
|
4
3
|
invalid?: boolean;
|
|
5
4
|
step?: number | 'any';
|
|
@@ -19,5 +18,4 @@ type UncontrolledProps = {
|
|
|
19
18
|
};
|
|
20
19
|
type Props = BaseProps & (ControlledProps | UncontrolledProps);
|
|
21
20
|
export declare const Slider: FC<Props>;
|
|
22
|
-
//#endregion
|
|
23
21
|
export {};
|
|
@@ -10,7 +10,7 @@ import { clsx } from "clsx";
|
|
|
10
10
|
import { useEffect, useEffectEvent, useMemo, useRef } from "react";
|
|
11
11
|
import { useFormStatus } from "react-dom";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
|
|
13
|
+
// src/components/form/slider/slider.tsx
|
|
14
14
|
const toNumber = (value, fallback) => {
|
|
15
15
|
const number = value === void 0 || value === "" ? NaN : Number(value);
|
|
16
16
|
return Number.isFinite(number) ? number : fallback;
|
|
@@ -79,5 +79,4 @@ const Slider = ({ invalid = false, disabled = false, required = false, value, de
|
|
|
79
79
|
})]
|
|
80
80
|
});
|
|
81
81
|
};
|
|
82
|
-
//#endregion
|
|
83
82
|
export { Slider };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './slider.css';
|
|
2
|
-
|
|
2
|
+
// src/components/form/slider/slider.module.css
|
|
3
3
|
var slider_module_default = {
|
|
4
4
|
"disabled": "DOj2rq_disabled",
|
|
5
5
|
"fill": "DOj2rq_fill",
|
|
@@ -8,5 +8,4 @@ var slider_module_default = {
|
|
|
8
8
|
"root": "DOj2rq_root",
|
|
9
9
|
"track": "DOj2rq_track"
|
|
10
10
|
};
|
|
11
|
-
//#endregion
|
|
12
11
|
export { slider_module_default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ChangeEvent, FC, InputHTMLAttributes, Ref } from "react";
|
|
2
|
-
//#region src/components/form/switch/switch.d.ts
|
|
3
2
|
type BaseProps = {
|
|
4
3
|
invalid?: boolean;
|
|
5
4
|
label: string;
|
|
@@ -17,5 +16,4 @@ type UncontrolledProps = {
|
|
|
17
16
|
};
|
|
18
17
|
type Props = BaseProps & (ControlledProps | UncontrolledProps);
|
|
19
18
|
export declare const Switch: FC<Props>;
|
|
20
|
-
//#endregion
|
|
21
19
|
export {};
|
|
@@ -7,7 +7,7 @@ import { clsx } from "clsx";
|
|
|
7
7
|
import { useId } from "react";
|
|
8
8
|
import { useFormStatus } from "react-dom";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
|
|
10
|
+
// src/components/form/switch/switch.tsx
|
|
11
11
|
const Switch = ({ checked, defaultChecked, id, disabled = false, invalid = false, required = false, label, onChange, ref, ...rest }) => {
|
|
12
12
|
const generatedId = useId();
|
|
13
13
|
const inputId = id ?? generatedId;
|
|
@@ -43,5 +43,4 @@ const Switch = ({ checked, defaultChecked, id, disabled = false, invalid = false
|
|
|
43
43
|
}), label ? /* @__PURE__ */ jsx("span", { children: label }) : null]
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
|
-
//#endregion
|
|
47
46
|
export { Switch };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './switch.css';
|
|
2
|
-
|
|
2
|
+
// src/components/form/switch/switch.module.css
|
|
3
3
|
var switch_module_default = {
|
|
4
4
|
"control": "_7trF5q_control",
|
|
5
5
|
"disabled": "_7trF5q_disabled",
|
|
@@ -12,5 +12,4 @@ var switch_module_default = {
|
|
|
12
12
|
"trackDisabled": "_7trF5q_trackDisabled",
|
|
13
13
|
"trackEnabled": "_7trF5q_trackEnabled"
|
|
14
14
|
};
|
|
15
|
-
//#endregion
|
|
16
15
|
export { switch_module_default as default };
|
|
@@ -16,17 +16,6 @@
|
|
|
16
16
|
background-color: var(--color-bg-subtle);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
._83isSa_root:focus-visible {
|
|
20
|
-
box-shadow: var(--shadow-ring-info);
|
|
21
|
-
border-color: #0000;
|
|
22
|
-
outline-style: none;
|
|
23
|
-
|
|
24
|
-
@media (forced-colors: active) {
|
|
25
|
-
outline-offset: 2px;
|
|
26
|
-
outline: 2px solid #0000;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
19
|
._83isSa_root:disabled {
|
|
31
20
|
cursor: not-allowed;
|
|
32
21
|
border-color: var(--color-border-mute);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC, HTMLInputTypeAttribute, InputHTMLAttributes, Ref } from "react";
|
|
2
|
-
//#region src/components/form/text-field/text-field.d.ts
|
|
3
2
|
type TextInputType = Extract<HTMLInputTypeAttribute, 'text' | 'email' | 'tel' | 'url' | 'search' | 'date' | 'time' | 'datetime-local' | 'month' | 'week'>;
|
|
4
3
|
type Props = {
|
|
5
4
|
invalid?: boolean;
|
|
@@ -7,5 +6,4 @@ type Props = {
|
|
|
7
6
|
type?: TextInputType | (string & Record<never, never>);
|
|
8
7
|
} & Omit<InputHTMLAttributes<HTMLInputElement>, 'className' | 'style' | 'type'>;
|
|
9
8
|
export declare const TextField: FC<Props>;
|
|
10
|
-
//#endregion
|
|
11
9
|
export {};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import focus_ring_module_default from "../../_internal/focus-ring.module.mjs";
|
|
2
3
|
import text_field_module_default from "./text-field.module.mjs";
|
|
4
|
+
import { clsx } from "clsx";
|
|
3
5
|
import { useFormStatus } from "react-dom";
|
|
4
6
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
7
|
+
// src/components/form/text-field/text-field.tsx
|
|
6
8
|
const TextField = ({ invalid = false, readOnly, ref, type = "text", ...rest }) => {
|
|
7
9
|
const { pending } = useFormStatus();
|
|
8
10
|
return /* @__PURE__ */ jsx("input", {
|
|
9
11
|
"aria-invalid": invalid,
|
|
10
|
-
className: text_field_module_default.root,
|
|
12
|
+
className: clsx(text_field_module_default.root, focus_ring_module_default.ring),
|
|
11
13
|
readOnly: pending || readOnly,
|
|
12
14
|
ref,
|
|
13
15
|
type,
|
|
14
16
|
...rest
|
|
15
17
|
});
|
|
16
18
|
};
|
|
17
|
-
//#endregion
|
|
18
19
|
export { TextField };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import './text-field.css';
|
|
2
|
-
|
|
2
|
+
// src/components/form/text-field/text-field.module.css
|
|
3
3
|
var text_field_module_default = { "root": "_83isSa_root" };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { text_field_module_default as default };
|
|
@@ -17,17 +17,6 @@
|
|
|
17
17
|
background-color: var(--color-bg-subtle);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.bFN9lq_root:focus-visible {
|
|
21
|
-
box-shadow: var(--shadow-ring-info);
|
|
22
|
-
border-color: #0000;
|
|
23
|
-
outline-style: none;
|
|
24
|
-
|
|
25
|
-
@media (forced-colors: active) {
|
|
26
|
-
outline-offset: 2px;
|
|
27
|
-
outline: 2px solid #0000;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
20
|
.bFN9lq_root:disabled {
|
|
32
21
|
cursor: not-allowed;
|
|
33
22
|
border-color: var(--color-border-mute);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC, Ref, TextareaHTMLAttributes } from "react";
|
|
2
|
-
//#region src/components/form/textarea/textarea.d.ts
|
|
3
2
|
type Props = {
|
|
4
3
|
invalid?: boolean;
|
|
5
4
|
fullHeight?: boolean;
|
|
@@ -8,5 +7,4 @@ type Props = {
|
|
|
8
7
|
type?: string;
|
|
9
8
|
} & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'className' | 'style'>;
|
|
10
9
|
export declare const Textarea: FC<Props>;
|
|
11
|
-
//#endregion
|
|
12
10
|
export {};
|
|
@@ -1,24 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import focus_ring_module_default from "../../_internal/focus-ring.module.mjs";
|
|
2
3
|
import textarea_module_default from "./textarea.module.mjs";
|
|
3
4
|
import { clsx } from "clsx";
|
|
4
5
|
import { useFormStatus } from "react-dom";
|
|
5
6
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
7
|
-
const Textarea = ({ invalid = false, fullHeight = false, autoResize = false, readOnly, ref, type: _type, value, onInput,
|
|
7
|
+
// src/components/form/textarea/textarea.tsx
|
|
8
|
+
const Textarea = ({ invalid = false, fullHeight = false, autoResize = false, readOnly, ref, type: _type, value, onInput, ...rest }) => {
|
|
8
9
|
const { pending } = useFormStatus();
|
|
9
10
|
return /* @__PURE__ */ jsx("textarea", {
|
|
10
11
|
"aria-invalid": invalid,
|
|
11
|
-
className: clsx(textarea_module_default.root, fullHeight && textarea_module_default.fullHeight, autoResize && textarea_module_default.autoResize),
|
|
12
|
+
className: clsx(textarea_module_default.root, focus_ring_module_default.ring, fullHeight && textarea_module_default.fullHeight, autoResize && textarea_module_default.autoResize),
|
|
12
13
|
onInput,
|
|
13
|
-
onKeyDown: (e) => {
|
|
14
|
-
e.stopPropagation();
|
|
15
|
-
onKeyDown?.(e);
|
|
16
|
-
},
|
|
17
14
|
readOnly: pending || readOnly,
|
|
18
15
|
ref,
|
|
19
16
|
value,
|
|
20
17
|
...rest
|
|
21
18
|
});
|
|
22
19
|
};
|
|
23
|
-
//#endregion
|
|
24
20
|
export { Textarea };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import './textarea.css';
|
|
2
|
-
|
|
2
|
+
// src/components/form/textarea/textarea.module.css
|
|
3
3
|
var textarea_module_default = {
|
|
4
4
|
"autoResize": "bFN9lq_autoResize",
|
|
5
5
|
"fullHeight": "bFN9lq_fullHeight",
|
|
6
6
|
"root": "bFN9lq_root"
|
|
7
7
|
};
|
|
8
|
-
//#endregion
|
|
9
8
|
export { textarea_module_default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC, ReactNode } from "react";
|
|
2
|
-
//#region src/components/icons/base.d.ts
|
|
3
2
|
export type BaseIconProps = {
|
|
4
3
|
size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
5
4
|
};
|
|
@@ -10,5 +9,4 @@ export type IconRenderProps = {
|
|
|
10
9
|
};
|
|
11
10
|
export declare const BaseIcon: FC<BaseIconProps & {
|
|
12
11
|
renderItem: (arg: IconRenderProps) => ReactNode;
|
|
13
|
-
}>;
|
|
14
|
-
//#endregion
|
|
12
|
+
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import base_module_default from "./base.module.mjs";
|
|
2
|
-
|
|
2
|
+
// src/components/icons/base.tsx
|
|
3
3
|
const SIZE = {
|
|
4
4
|
xs: base_module_default.xs,
|
|
5
5
|
sm: base_module_default.sm,
|
|
@@ -14,5 +14,4 @@ const BaseIcon = ({ size, renderItem }) => renderItem({
|
|
|
14
14
|
"aria-hidden": true,
|
|
15
15
|
focusable: "false"
|
|
16
16
|
});
|
|
17
|
-
//#endregion
|
|
18
17
|
export { BaseIcon };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './base.css';
|
|
2
|
-
|
|
2
|
+
// src/components/icons/base.module.css
|
|
3
3
|
var base_module_default = {
|
|
4
4
|
"lg": "ndRKnq_lg",
|
|
5
5
|
"md": "ndRKnq_md",
|
|
@@ -9,5 +9,4 @@ var base_module_default = {
|
|
|
9
9
|
"xxl": "ndRKnq_xxl",
|
|
10
10
|
"xxxl": "ndRKnq_xxxl"
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
12
|
export { base_module_default as default };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { BaseIconProps } from "./base.mjs";
|
|
2
2
|
import { FC } from "react";
|
|
3
|
-
//#region src/components/icons/browsers.d.ts
|
|
4
3
|
export declare const ChromeIcon: FC<Partial<BaseIconProps>>;
|
|
5
4
|
export declare const EdgeIcon: FC<Partial<BaseIconProps>>;
|
|
6
5
|
export declare const FirefoxIcon: FC<Partial<BaseIconProps>>;
|
|
7
|
-
export declare const SafariIcon: FC<Partial<BaseIconProps>>;
|
|
8
|
-
//#endregion
|
|
6
|
+
export declare const SafariIcon: FC<Partial<BaseIconProps>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseIcon } from "./base.mjs";
|
|
2
2
|
import { useId } from "react";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/components/icons/browsers.tsx
|
|
5
5
|
const Chrome = ({ className, ...rest }) => {
|
|
6
6
|
const uid = useId();
|
|
7
7
|
return /* @__PURE__ */ jsxs("svg", {
|
|
@@ -887,5 +887,4 @@ const SafariIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
|
887
887
|
renderItem: (props) => /* @__PURE__ */ jsx(Safari, { ...props }),
|
|
888
888
|
size
|
|
889
889
|
});
|
|
890
|
-
//#endregion
|
|
891
890
|
export { ChromeIcon, EdgeIcon, FirefoxIcon, SafariIcon };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import { BaseIconProps } from "./base.mjs";
|
|
2
2
|
import { FC } from "react";
|
|
3
|
-
|
|
4
|
-
export declare const ColorScaleIcon: FC<Partial<BaseIconProps>>;
|
|
5
|
-
//#endregion
|
|
3
|
+
export declare const ColorScaleIcon: 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/color-scale.tsx
|
|
4
4
|
const ColorScale = ({ className, ...rest }) => /* @__PURE__ */ jsxs("svg", {
|
|
5
5
|
className,
|
|
6
6
|
...rest,
|
|
@@ -40,5 +40,4 @@ const ColorScaleIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
|
40
40
|
renderItem: (props) => /* @__PURE__ */ jsx(ColorScale, { ...props }),
|
|
41
41
|
size
|
|
42
42
|
});
|
|
43
|
-
//#endregion
|
|
44
43
|
export { ColorScaleIcon };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseIcon } from "./base.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/components/icons/github-mark.tsx
|
|
4
4
|
const GitHub = ({ className, ...rest }) => /* @__PURE__ */ jsx("svg", {
|
|
5
5
|
className,
|
|
6
6
|
...rest,
|
|
@@ -15,5 +15,4 @@ const GitHubIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
|
15
15
|
renderItem: (props) => /* @__PURE__ */ jsx(GitHub, { ...props }),
|
|
16
16
|
size
|
|
17
17
|
});
|
|
18
|
-
//#endregion
|
|
19
18
|
export { GitHubIcon };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { BaseIconProps, IconRenderProps } from "./base.mjs";
|
|
2
2
|
import { FC } from "react";
|
|
3
|
-
//#region src/components/icons/logo.d.ts
|
|
4
3
|
export declare const Logo: FC<Partial<IconRenderProps>>;
|
|
5
|
-
export declare const LogoIcon: FC<Partial<BaseIconProps>>;
|
|
6
|
-
//#endregion
|
|
4
|
+
export declare const LogoIcon: FC<Partial<BaseIconProps>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseIcon } from "./base.mjs";
|
|
2
2
|
import logo_module_default from "./logo.module.mjs";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/components/icons/logo.tsx
|
|
5
5
|
const Logo = ({ className, ...rest }) => /* @__PURE__ */ jsxs("svg", {
|
|
6
6
|
className,
|
|
7
7
|
...rest,
|
|
@@ -26,5 +26,4 @@ const LogoIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
|
26
26
|
renderItem: (props) => /* @__PURE__ */ jsx(Logo, { ...props }),
|
|
27
27
|
size
|
|
28
28
|
});
|
|
29
|
-
//#endregion
|
|
30
29
|
export { Logo, LogoIcon };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import './logo.css';
|
|
2
|
-
|
|
2
|
+
// src/components/icons/logo.module.css
|
|
3
3
|
var logo_module_default = {
|
|
4
4
|
"glyph": "u25moa_glyph",
|
|
5
5
|
"primary": "u25moa_primary",
|
|
6
6
|
"secondary": "u25moa_secondary"
|
|
7
7
|
};
|
|
8
|
-
//#endregion
|
|
9
8
|
export { logo_module_default as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BaseIconProps } from "./base.mjs";
|
|
2
2
|
import { Direction, Status } from "../../types/variables.mjs";
|
|
3
3
|
import { FC } from "react";
|
|
4
|
-
//#region src/components/icons/lucide.d.ts
|
|
5
4
|
type IconProps = Partial<BaseIconProps>;
|
|
6
5
|
export declare const ChevronIcon: FC<IconProps & {
|
|
7
6
|
direction: Direction;
|
|
@@ -65,5 +64,4 @@ export declare const ForkIcon: FC<IconProps>;
|
|
|
65
64
|
export declare const FullscreenIcon: FC<IconProps>;
|
|
66
65
|
export declare const LockIcon: FC<IconProps>;
|
|
67
66
|
export declare const LockOpenIcon: FC<IconProps>;
|
|
68
|
-
//#endregion
|
|
69
67
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseIcon } from "./base.mjs";
|
|
2
2
|
import { Accessibility, AlignRight, Angry, Annoyed, Atom, Bell, Blend, BookOpenText, BookText, Bookmark, Bot, BotMessageSquare, Calendar, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, CircleAlert, CircleCheck, ClipboardPenLine, Clock, CodeXml, Contrast, Droplets, ExternalLink, Eye, EyeOff, FlaskConical, GitFork, History, Info, Laugh, Lightbulb, Link, List, ListMinus, Lock, LockOpen, Mail, MapPin, Maximize, Minus, MoonStar, Package, PaintBucket, Palette, Plus, Presentation, RefreshCw, Rocket, Rss, Send, ShieldCheck, Smile, Sparkles, Squircle, Sun, Table2, Tag, ThumbsDown, ThumbsUp, TriangleAlert, X } from "./lucide-imports.mjs";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/components/icons/lucide.tsx
|
|
5
5
|
const CHEVRON_BY_DIRECTION = {
|
|
6
6
|
up: ChevronUp,
|
|
7
7
|
down: ChevronDown,
|
|
@@ -252,5 +252,4 @@ const LockOpenIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
|
252
252
|
renderItem: (props) => /* @__PURE__ */ jsx(LockOpen, { ...props }),
|
|
253
253
|
size
|
|
254
254
|
});
|
|
255
|
-
//#endregion
|
|
256
255
|
export { AIIcon, AccessibilityIcon, AlertIcon, AssistantIcon, AtomIcon, BadIcon, BlogIcon, BoringIcon, CheckIcon, ChevronIcon, CloseIcon, CodeXmlIcon, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, DifficultIcon, EasyIcon, ExternalLinkIcon, FlaskIcon, ForkIcon, FormIcon, FullscreenIcon, GoodIcon, HistoryIcon, HorizontalWritingIcon, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListIcon, LocationIcon, LockIcon, LockOpenIcon, MailIcon, MinusIcon, MixedColorIcon, NavigationMenuIcon, NewsIcon, PackageIcon, PaletteIcon, PlusIcon, PrepareIcon, PublishDateIcon, RSSIcon, RefreshIcon, SendIcon, ShallowIcon, ShieldCheckIcon, SlideIcon, SparklesIcon, SquircleIcon, SubscribeIcon, TableIcon, TagIcon, UpdateDateIcon, ViewIcon, ViewOffIcon };
|
|
@@ -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/qiita.tsx
|
|
4
4
|
const Qiita = ({ className, ...rest }) => /* @__PURE__ */ jsxs("svg", {
|
|
5
5
|
className,
|
|
6
6
|
...rest,
|
|
@@ -24,5 +24,4 @@ const QiitaIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
|
24
24
|
renderItem: (props) => /* @__PURE__ */ jsx(Qiita, { ...props }),
|
|
25
25
|
size
|
|
26
26
|
});
|
|
27
|
-
//#endregion
|
|
28
27
|
export { QiitaIcon };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseIcon } from "./base.mjs";
|
|
2
2
|
import twitter_module_default from "./twitter.module.mjs";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/components/icons/twitter.tsx
|
|
5
5
|
const Twitter = ({ className, ...rest }) => /* @__PURE__ */ jsx("svg", {
|
|
6
6
|
className,
|
|
7
7
|
...rest,
|
|
@@ -17,5 +17,4 @@ const TwitterIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
|
17
17
|
renderItem: (props) => /* @__PURE__ */ jsx(Twitter, { ...props }),
|
|
18
18
|
size
|
|
19
19
|
});
|
|
20
|
-
//#endregion
|
|
21
20
|
export { TwitterIcon };
|