@k8ordo/ui 1.0.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/LICENSE +21 -0
- package/README.md +624 -0
- package/dist/components/_internal/focus-ring.d.mts +8 -0
- package/dist/components/_internal/focus-ring.mjs +8 -0
- package/dist/components/ai/_internal/collapsible.d.mts +13 -0
- package/dist/components/ai/_internal/collapsible.mjs +49 -0
- package/dist/components/ai/_internal/streaming-cursor.d.mts +5 -0
- package/dist/components/ai/_internal/streaming-cursor.mjs +8 -0
- package/dist/components/ai/conversation/conversation.d.mts +18 -0
- package/dist/components/ai/conversation/conversation.mjs +111 -0
- package/dist/components/ai/conversation/index.d.mts +2 -0
- package/dist/components/ai/conversation/index.mjs +2 -0
- package/dist/components/ai/index.d.mts +14 -0
- package/dist/components/ai/index.mjs +7 -0
- package/dist/components/ai/message/index.d.mts +2 -0
- package/dist/components/ai/message/index.mjs +2 -0
- package/dist/components/ai/message/message.d.mts +17 -0
- package/dist/components/ai/message/message.mjs +34 -0
- package/dist/components/ai/prompt-input/index.d.mts +2 -0
- package/dist/components/ai/prompt-input/index.mjs +2 -0
- package/dist/components/ai/prompt-input/prompt-input.d.mts +27 -0
- package/dist/components/ai/prompt-input/prompt-input.mjs +108 -0
- package/dist/components/ai/reasoning/index.d.mts +2 -0
- package/dist/components/ai/reasoning/index.mjs +2 -0
- package/dist/components/ai/reasoning/reasoning.d.mts +12 -0
- package/dist/components/ai/reasoning/reasoning.mjs +25 -0
- package/dist/components/ai/response/index.d.mts +2 -0
- package/dist/components/ai/response/index.mjs +2 -0
- package/dist/components/ai/response/response.d.mts +20 -0
- package/dist/components/ai/response/response.mjs +57 -0
- package/dist/components/ai/suggestion/index.d.mts +2 -0
- package/dist/components/ai/suggestion/index.mjs +2 -0
- package/dist/components/ai/suggestion/suggestion.d.mts +17 -0
- package/dist/components/ai/suggestion/suggestion.mjs +29 -0
- package/dist/components/ai/tool-invocation/index.d.mts +2 -0
- package/dist/components/ai/tool-invocation/index.mjs +2 -0
- package/dist/components/ai/tool-invocation/tool-invocation.d.mts +17 -0
- package/dist/components/ai/tool-invocation/tool-invocation.mjs +73 -0
- package/dist/components/ai/types.d.mts +5 -0
- package/dist/components/ai/types.mjs +1 -0
- package/dist/components/buttons/button/button.d.mts +27 -0
- package/dist/components/buttons/button/button.mjs +60 -0
- package/dist/components/buttons/button/index.d.mts +2 -0
- package/dist/components/buttons/button/index.mjs +2 -0
- package/dist/components/buttons/icon-button/icon-button.d.mts +29 -0
- package/dist/components/buttons/icon-button/icon-button.mjs +84 -0
- package/dist/components/buttons/icon-button/index.d.mts +2 -0
- package/dist/components/buttons/icon-button/index.mjs +2 -0
- package/dist/components/data-display/accordion/accordion-button.d.mts +5 -0
- package/dist/components/data-display/accordion/accordion-button.mjs +26 -0
- package/dist/components/data-display/accordion/accordion-item.d.mts +9 -0
- package/dist/components/data-display/accordion/accordion-item.mjs +20 -0
- package/dist/components/data-display/accordion/accordion-panel.d.mts +5 -0
- package/dist/components/data-display/accordion/accordion-panel.mjs +18 -0
- package/dist/components/data-display/accordion/accordion.d.mts +5 -0
- package/dist/components/data-display/accordion/accordion.mjs +8 -0
- package/dist/components/data-display/accordion/context.d.mts +14 -0
- package/dist/components/data-display/accordion/context.mjs +32 -0
- package/dist/components/data-display/accordion/index.d.mts +19 -0
- package/dist/components/data-display/accordion/index.mjs +13 -0
- package/dist/components/data-display/avatar/avatar.d.mts +14 -0
- package/dist/components/data-display/avatar/avatar.mjs +43 -0
- package/dist/components/data-display/avatar/index.d.mts +2 -0
- package/dist/components/data-display/avatar/index.mjs +2 -0
- package/dist/components/data-display/badge/badge.d.mts +21 -0
- package/dist/components/data-display/badge/badge.mjs +27 -0
- package/dist/components/data-display/badge/index.d.mts +2 -0
- package/dist/components/data-display/badge/index.mjs +2 -0
- package/dist/components/data-display/card/card.d.mts +10 -0
- package/dist/components/data-display/card/card.mjs +10 -0
- package/dist/components/data-display/card/index.d.mts +2 -0
- package/dist/components/data-display/card/index.mjs +2 -0
- package/dist/components/data-display/code/code.d.mts +8 -0
- package/dist/components/data-display/code/code.mjs +35 -0
- package/dist/components/data-display/code/find-all-colors.d.mts +16 -0
- package/dist/components/data-display/code/find-all-colors.mjs +267 -0
- package/dist/components/data-display/code/index.d.mts +2 -0
- package/dist/components/data-display/code/index.mjs +2 -0
- package/dist/components/data-display/heading/heading.d.mts +9 -0
- package/dist/components/data-display/heading/heading.mjs +46 -0
- package/dist/components/data-display/heading/index.d.mts +2 -0
- package/dist/components/data-display/heading/index.mjs +2 -0
- package/dist/components/data-display/table/index.d.mts +2 -0
- package/dist/components/data-display/table/index.mjs +2 -0
- package/dist/components/data-display/table/table.d.mts +33 -0
- package/dist/components/data-display/table/table.mjs +62 -0
- package/dist/components/feedback/alert/alert.d.mts +19 -0
- package/dist/components/feedback/alert/alert.mjs +71 -0
- package/dist/components/feedback/alert/index.d.mts +2 -0
- package/dist/components/feedback/alert/index.mjs +2 -0
- package/dist/components/feedback/progress/index.d.mts +2 -0
- package/dist/components/feedback/progress/index.mjs +2 -0
- package/dist/components/feedback/progress/progress.d.mts +11 -0
- package/dist/components/feedback/progress/progress.mjs +21 -0
- package/dist/components/feedback/skeleton/index.d.mts +2 -0
- package/dist/components/feedback/skeleton/index.mjs +2 -0
- package/dist/components/feedback/skeleton/skeleton.d.mts +10 -0
- package/dist/components/feedback/skeleton/skeleton.mjs +10 -0
- package/dist/components/feedback/spinner/index.d.mts +2 -0
- package/dist/components/feedback/spinner/index.mjs +2 -0
- package/dist/components/feedback/spinner/spinner.d.mts +9 -0
- package/dist/components/feedback/spinner/spinner.mjs +24 -0
- package/dist/components/feedback/toast/context.d.mts +34 -0
- package/dist/components/feedback/toast/context.mjs +7 -0
- package/dist/components/feedback/toast/index.d.mts +3 -0
- package/dist/components/feedback/toast/index.mjs +3 -0
- package/dist/components/feedback/toast/provider.d.mts +8 -0
- package/dist/components/feedback/toast/provider.mjs +171 -0
- package/dist/components/feedback/toast/toast.d.mts +15 -0
- package/dist/components/feedback/toast/toast.mjs +32 -0
- package/dist/components/form/autocomplete/autocomplete.d.mts +23 -0
- package/dist/components/form/autocomplete/autocomplete.mjs +225 -0
- package/dist/components/form/autocomplete/index.d.mts +2 -0
- package/dist/components/form/autocomplete/index.mjs +2 -0
- package/dist/components/form/checkbox/checkbox.d.mts +21 -0
- package/dist/components/form/checkbox/checkbox.mjs +59 -0
- package/dist/components/form/checkbox/index.d.mts +2 -0
- package/dist/components/form/checkbox/index.mjs +2 -0
- package/dist/components/form/checkbox-card/checkbox-card.d.mts +29 -0
- package/dist/components/form/checkbox-card/checkbox-card.mjs +76 -0
- package/dist/components/form/checkbox-card/index.d.mts +2 -0
- package/dist/components/form/checkbox-card/index.mjs +2 -0
- package/dist/components/form/checkbox-group/checkbox-group.d.mts +29 -0
- package/dist/components/form/checkbox-group/checkbox-group.mjs +43 -0
- package/dist/components/form/checkbox-group/index.d.mts +34 -0
- package/dist/components/form/checkbox-group/index.mjs +9 -0
- package/dist/components/form/file-field/file-field.d.mts +27 -0
- package/dist/components/form/file-field/file-field.mjs +129 -0
- package/dist/components/form/file-field/index.d.mts +2 -0
- package/dist/components/form/file-field/index.mjs +2 -0
- package/dist/components/form/form/form.d.mts +9 -0
- package/dist/components/form/form/form.mjs +11 -0
- package/dist/components/form/form/index.d.mts +2 -0
- package/dist/components/form/form/index.mjs +2 -0
- package/dist/components/form/form-control/form-control.d.mts +23 -0
- package/dist/components/form/form-control/form-control.mjs +61 -0
- package/dist/components/form/form-control/index.d.mts +2 -0
- package/dist/components/form/form-control/index.mjs +2 -0
- package/dist/components/form/number-field/cast.d.mts +4 -0
- package/dist/components/form/number-field/cast.mjs +32 -0
- package/dist/components/form/number-field/index.d.mts +2 -0
- package/dist/components/form/number-field/index.mjs +2 -0
- package/dist/components/form/number-field/number-field.d.mts +25 -0
- package/dist/components/form/number-field/number-field.mjs +115 -0
- package/dist/components/form/password-input/index.d.mts +2 -0
- package/dist/components/form/password-input/index.mjs +2 -0
- package/dist/components/form/password-input/password-input.d.mts +11 -0
- package/dist/components/form/password-input/password-input.mjs +36 -0
- package/dist/components/form/radio/index.d.mts +2 -0
- package/dist/components/form/radio/index.mjs +2 -0
- package/dist/components/form/radio/radio.d.mts +24 -0
- package/dist/components/form/radio/radio.mjs +51 -0
- package/dist/components/form/radio-card/index.d.mts +2 -0
- package/dist/components/form/radio-card/index.mjs +2 -0
- package/dist/components/form/radio-card/radio-card.d.mts +29 -0
- package/dist/components/form/radio-card/radio-card.mjs +74 -0
- package/dist/components/form/select/index.d.mts +2 -0
- package/dist/components/form/select/index.mjs +2 -0
- package/dist/components/form/select/select.d.mts +11 -0
- package/dist/components/form/select/select.mjs +33 -0
- package/dist/components/form/slider/index.d.mts +2 -0
- package/dist/components/form/slider/index.mjs +2 -0
- package/dist/components/form/slider/slider.d.mts +23 -0
- package/dist/components/form/slider/slider.mjs +50 -0
- package/dist/components/form/switch/index.d.mts +2 -0
- package/dist/components/form/switch/index.mjs +2 -0
- package/dist/components/form/switch/switch.d.mts +21 -0
- package/dist/components/form/switch/switch.mjs +50 -0
- package/dist/components/form/text-field/index.d.mts +2 -0
- package/dist/components/form/text-field/index.mjs +2 -0
- package/dist/components/form/text-field/text-field.d.mts +11 -0
- package/dist/components/form/text-field/text-field.mjs +19 -0
- package/dist/components/form/textarea/index.d.mts +2 -0
- package/dist/components/form/textarea/index.mjs +2 -0
- package/dist/components/form/textarea/textarea.d.mts +11 -0
- package/dist/components/form/textarea/textarea.mjs +38 -0
- package/dist/components/icons/base.d.mts +15 -0
- package/dist/components/icons/base.mjs +18 -0
- package/dist/components/icons/browsers.d.mts +9 -0
- package/dist/components/icons/browsers.mjs +891 -0
- package/dist/components/icons/color-scale.d.mts +6 -0
- package/dist/components/icons/color-scale.mjs +44 -0
- package/dist/components/icons/github-mark.d.mts +6 -0
- package/dist/components/icons/github-mark.mjs +19 -0
- package/dist/components/icons/index.d.mts +10 -0
- package/dist/components/icons/index.mjs +9 -0
- package/dist/components/icons/logo.d.mts +7 -0
- package/dist/components/icons/logo.mjs +29 -0
- package/dist/components/icons/lucide-deep.d.mts +9 -0
- package/dist/components/icons/lucide-imports.d.mts +65 -0
- package/dist/components/icons/lucide-imports.mjs +65 -0
- package/dist/components/icons/lucide.d.mts +69 -0
- package/dist/components/icons/lucide.mjs +256 -0
- package/dist/components/icons/qiita.d.mts +6 -0
- package/dist/components/icons/qiita.mjs +28 -0
- package/dist/components/icons/twitter.d.mts +6 -0
- package/dist/components/icons/twitter.mjs +20 -0
- package/dist/components/icons/vertical-writing.d.mts +6 -0
- package/dist/components/icons/vertical-writing.mjs +26 -0
- package/dist/components/index.d.mts +106 -0
- package/dist/components/index.mjs +57 -0
- package/dist/components/layout/_shared/gap.d.mts +11 -0
- package/dist/components/layout/_shared/gap.mjs +10 -0
- package/dist/components/layout/_shared/padding.d.mts +11 -0
- package/dist/components/layout/_shared/padding.mjs +10 -0
- package/dist/components/layout/grid/grid.d.mts +16 -0
- package/dist/components/layout/grid/grid.mjs +35 -0
- package/dist/components/layout/grid/index.d.mts +2 -0
- package/dist/components/layout/grid/index.mjs +2 -0
- package/dist/components/layout/scroll-linked/index.d.mts +2 -0
- package/dist/components/layout/scroll-linked/index.mjs +2 -0
- package/dist/components/layout/scroll-linked/scroll-linked.d.mts +14 -0
- package/dist/components/layout/scroll-linked/scroll-linked.mjs +59 -0
- package/dist/components/layout/separator/index.d.mts +2 -0
- package/dist/components/layout/separator/index.mjs +2 -0
- package/dist/components/layout/separator/separator.d.mts +9 -0
- package/dist/components/layout/separator/separator.mjs +14 -0
- package/dist/components/layout/stack/index.d.mts +2 -0
- package/dist/components/layout/stack/index.mjs +2 -0
- package/dist/components/layout/stack/stack.d.mts +15 -0
- package/dist/components/layout/stack/stack.mjs +24 -0
- package/dist/components/navigation/anchor/anchor.d.mts +20 -0
- package/dist/components/navigation/anchor/anchor.mjs +28 -0
- package/dist/components/navigation/anchor/index.d.mts +2 -0
- package/dist/components/navigation/anchor/index.mjs +2 -0
- package/dist/components/navigation/breadcrumb/breadcrumb.d.mts +19 -0
- package/dist/components/navigation/breadcrumb/breadcrumb.mjs +43 -0
- package/dist/components/navigation/breadcrumb/index.d.mts +14 -0
- package/dist/components/navigation/breadcrumb/index.mjs +10 -0
- package/dist/components/navigation/pagination/index.d.mts +2 -0
- package/dist/components/navigation/pagination/index.mjs +2 -0
- package/dist/components/navigation/pagination/pagination.d.mts +15 -0
- package/dist/components/navigation/pagination/pagination.mjs +74 -0
- package/dist/components/navigation/tabs/index.d.mts +2 -0
- package/dist/components/navigation/tabs/index.mjs +2 -0
- package/dist/components/navigation/tabs/tabs.d.mts +21 -0
- package/dist/components/navigation/tabs/tabs.mjs +130 -0
- package/dist/components/overlays/_internal/index.d.mts +4 -0
- package/dist/components/overlays/_internal/index.mjs +4 -0
- package/dist/components/overlays/_internal/modal-dialog-context.d.mts +14 -0
- package/dist/components/overlays/_internal/modal-dialog-context.mjs +13 -0
- package/dist/components/overlays/_internal/use-can-hover.d.mts +9 -0
- package/dist/components/overlays/_internal/use-can-hover.mjs +20 -0
- package/dist/components/overlays/_internal/use-hover-intent.d.mts +25 -0
- package/dist/components/overlays/_internal/use-hover-intent.mjs +56 -0
- package/dist/components/overlays/_internal/use-list-navigation.d.mts +36 -0
- package/dist/components/overlays/_internal/use-list-navigation.mjs +98 -0
- package/dist/components/overlays/dialog/dialog.d.mts +19 -0
- package/dist/components/overlays/dialog/dialog.mjs +87 -0
- package/dist/components/overlays/dialog/index.d.mts +2 -0
- package/dist/components/overlays/dialog/index.mjs +2 -0
- package/dist/components/overlays/drawer/drawer.d.mts +12 -0
- package/dist/components/overlays/drawer/drawer.mjs +60 -0
- package/dist/components/overlays/drawer/index.d.mts +2 -0
- package/dist/components/overlays/drawer/index.mjs +2 -0
- package/dist/components/overlays/dropdown-menu/dropdown-menu.d.mts +34 -0
- package/dist/components/overlays/dropdown-menu/dropdown-menu.mjs +85 -0
- package/dist/components/overlays/dropdown-menu/hooks.d.mts +24 -0
- package/dist/components/overlays/dropdown-menu/hooks.mjs +26 -0
- package/dist/components/overlays/dropdown-menu/index.d.mts +2 -0
- package/dist/components/overlays/dropdown-menu/index.mjs +2 -0
- package/dist/components/overlays/dropdown-menu/shared.d.mts +7 -0
- package/dist/components/overlays/dropdown-menu/shared.mjs +8 -0
- package/dist/components/overlays/dropdown-menu/sub-menu.d.mts +10 -0
- package/dist/components/overlays/dropdown-menu/sub-menu.mjs +143 -0
- package/dist/components/overlays/dropdown-menu/use-safe-triangle.d.mts +18 -0
- package/dist/components/overlays/dropdown-menu/use-safe-triangle.mjs +57 -0
- package/dist/components/overlays/list-box/hooks.d.mts +35 -0
- package/dist/components/overlays/list-box/hooks.mjs +43 -0
- package/dist/components/overlays/list-box/index.d.mts +2 -0
- package/dist/components/overlays/list-box/index.mjs +2 -0
- package/dist/components/overlays/list-box/list-box.d.mts +28 -0
- package/dist/components/overlays/list-box/list-box.mjs +150 -0
- package/dist/components/overlays/modal/index.d.mts +2 -0
- package/dist/components/overlays/modal/index.mjs +2 -0
- package/dist/components/overlays/modal/modal.d.mts +15 -0
- package/dist/components/overlays/modal/modal.mjs +72 -0
- package/dist/components/overlays/popover/anchor-positioning.d.mts +26 -0
- package/dist/components/overlays/popover/anchor-positioning.mjs +49 -0
- package/dist/components/overlays/popover/escape-stack.d.mts +7 -0
- package/dist/components/overlays/popover/escape-stack.mjs +34 -0
- package/dist/components/overlays/popover/hooks.d.mts +53 -0
- package/dist/components/overlays/popover/hooks.mjs +141 -0
- package/dist/components/overlays/popover/index.d.mts +3 -0
- package/dist/components/overlays/popover/index.mjs +3 -0
- package/dist/components/overlays/popover/popover.d.mts +25 -0
- package/dist/components/overlays/popover/popover.mjs +90 -0
- package/dist/components/overlays/tooltip/bridge.d.mts +5 -0
- package/dist/components/overlays/tooltip/bridge.mjs +29 -0
- package/dist/components/overlays/tooltip/index.d.mts +2 -0
- package/dist/components/overlays/tooltip/index.mjs +2 -0
- package/dist/components/overlays/tooltip/tooltip.d.mts +34 -0
- package/dist/components/overlays/tooltip/tooltip.mjs +87 -0
- package/dist/components/providers/index.d.mts +4 -0
- package/dist/components/providers/index.mjs +3 -0
- package/dist/components/providers/portal-root.d.mts +8 -0
- package/dist/components/providers/portal-root.mjs +12 -0
- package/dist/components/providers/ui-provider.d.mts +8 -0
- package/dist/components/providers/ui-provider.mjs +11 -0
- package/dist/helpers/chain.d.mts +5 -0
- package/dist/helpers/chain.mjs +29 -0
- package/dist/helpers/cn.d.mts +5 -0
- package/dist/helpers/cn.mjs +27 -0
- package/dist/helpers/create-safe-context.d.mts +6 -0
- package/dist/helpers/create-safe-context.mjs +30 -0
- package/dist/helpers/index.d.mts +6 -0
- package/dist/helpers/index.mjs +6 -0
- package/dist/helpers/merge-props.d.mts +6 -0
- package/dist/helpers/merge-props.mjs +56 -0
- package/dist/helpers/merge-refs.d.mts +5 -0
- package/dist/helpers/merge-refs.mjs +55 -0
- package/dist/hooks/breakpoint/index.d.mts +5 -0
- package/dist/hooks/breakpoint/index.mjs +24 -0
- package/dist/hooks/click-away/index.d.mts +5 -0
- package/dist/hooks/click-away/index.mjs +24 -0
- package/dist/hooks/client/index.d.mts +4 -0
- package/dist/hooks/client/index.mjs +6 -0
- package/dist/hooks/clipboard/index.d.mts +7 -0
- package/dist/hooks/clipboard/index.mjs +15 -0
- package/dist/hooks/controllable-state/index.d.mts +9 -0
- package/dist/hooks/controllable-state/index.mjs +21 -0
- package/dist/hooks/debounced-transition/index.d.mts +5 -0
- package/dist/hooks/debounced-transition/index.mjs +49 -0
- package/dist/hooks/deferred-debounce/index.d.mts +4 -0
- package/dist/hooks/deferred-debounce/index.mjs +9 -0
- package/dist/hooks/disclosure/index.d.mts +10 -0
- package/dist/hooks/disclosure/index.mjs +20 -0
- package/dist/hooks/focus-trap/index.d.mts +18 -0
- package/dist/hooks/focus-trap/index.mjs +51 -0
- package/dist/hooks/hash/index.d.mts +4 -0
- package/dist/hooks/hash/index.mjs +25 -0
- package/dist/hooks/hover/index.d.mts +12 -0
- package/dist/hooks/hover/index.mjs +19 -0
- package/dist/hooks/index.d.mts +25 -0
- package/dist/hooks/index.mjs +24 -0
- package/dist/hooks/intersection-observer/index.d.mts +3 -0
- package/dist/hooks/intersection-observer/index.mjs +3 -0
- package/dist/hooks/intersection-observer/use-in-view.d.mts +11 -0
- package/dist/hooks/intersection-observer/use-in-view.mjs +18 -0
- package/dist/hooks/intersection-observer/use-intersection-observer.d.mts +11 -0
- package/dist/hooks/intersection-observer/use-intersection-observer.mjs +33 -0
- package/dist/hooks/interval/index.d.mts +4 -0
- package/dist/hooks/interval/index.mjs +19 -0
- package/dist/hooks/local-storage/index.d.mts +4 -0
- package/dist/hooks/local-storage/index.mjs +46 -0
- package/dist/hooks/resize/index.d.mts +8 -0
- package/dist/hooks/resize/index.mjs +24 -0
- package/dist/hooks/scroll-direction/index.d.mts +13 -0
- package/dist/hooks/scroll-direction/index.mjs +67 -0
- package/dist/hooks/scroll-lock/index.d.mts +9 -0
- package/dist/hooks/scroll-lock/index.mjs +59 -0
- package/dist/hooks/session-storage/index.d.mts +4 -0
- package/dist/hooks/session-storage/index.mjs +46 -0
- package/dist/hooks/step/index.d.mts +15 -0
- package/dist/hooks/step/index.mjs +39 -0
- package/dist/hooks/timeout/index.d.mts +4 -0
- package/dist/hooks/timeout/index.mjs +19 -0
- package/dist/hooks/window-resize/index.d.mts +11 -0
- package/dist/hooks/window-resize/index.mjs +21 -0
- package/dist/hooks/window-size/index.d.mts +8 -0
- package/dist/hooks/window-size/index.mjs +31 -0
- package/dist/hooks/writing-mode/index.d.mts +6 -0
- package/dist/hooks/writing-mode/index.mjs +24 -0
- package/dist/i18n/context.d.mts +9 -0
- package/dist/i18n/context.mjs +19 -0
- package/dist/i18n/en.d.mts +5 -0
- package/dist/i18n/en.mjs +64 -0
- package/dist/i18n/index.d.mts +5 -0
- package/dist/i18n/index.mjs +4 -0
- package/dist/i18n/ja.d.mts +5 -0
- package/dist/i18n/ja.mjs +64 -0
- package/dist/i18n/messages.d.mts +84 -0
- package/dist/i18n/messages.mjs +1 -0
- package/dist/index.d.mts +94 -0
- package/dist/index.mjs +85 -0
- package/dist/integrations/_shared/openui-defs.d.mts +18 -0
- package/dist/integrations/_shared/openui-defs.mjs +162 -0
- package/dist/integrations/_shared/renderers.d.mts +71 -0
- package/dist/integrations/_shared/renderers.mjs +679 -0
- package/dist/integrations/_shared/schemas.d.mts +718 -0
- package/dist/integrations/_shared/schemas.mjs +545 -0
- package/dist/integrations/ai-sdk/index.d.mts +3 -0
- package/dist/integrations/ai-sdk/index.mjs +2 -0
- package/dist/integrations/ai-sdk/map-parts.d.mts +28 -0
- package/dist/integrations/ai-sdk/map-parts.mjs +32 -0
- package/dist/integrations/json-render/catalog.d.mts +838 -0
- package/dist/integrations/json-render/catalog.mjs +311 -0
- package/dist/integrations/json-render/registry.d.mts +29 -0
- package/dist/integrations/json-render/registry.mjs +159 -0
- package/dist/integrations/openui/form-views.d.mts +21 -0
- package/dist/integrations/openui/form-views.mjs +66 -0
- package/dist/integrations/openui/library.d.mts +151 -0
- package/dist/integrations/openui/library.mjs +69 -0
- package/dist/integrations/openui/prompt.d.mts +5 -0
- package/dist/integrations/openui/prompt.mjs +19 -0
- package/dist/internal/clamp.d.mts +4 -0
- package/dist/internal/clamp.mjs +15 -0
- package/dist/internal/to-precision.d.mts +4 -0
- package/dist/internal/to-precision.mjs +15 -0
- package/dist/styles/base.css +315 -0
- package/dist/styles/index.css +2677 -0
- package/dist/styles/tailwind.css +22 -0
- package/dist/styles/tokens.css +380 -0
- package/dist/styles/tokens.d.mts +2 -0
- package/dist/styles/tokens.generated.d.mts +840 -0
- package/dist/styles/tokens.generated.mjs +813 -0
- package/dist/styles/tokens.mjs +2 -0
- package/dist/styles/utilities.css +62 -0
- package/dist/types/index.d.mts +2 -0
- package/dist/types/index.mjs +1 -0
- package/dist/types/variables.d.mts +23 -0
- package/dist/types/variables.mjs +1 -0
- package/docs/GUIDE.md +324 -0
- package/docs/llms.txt +25 -0
- package/docs/props.generated.json +3519 -0
- package/docs/references/ai-chat.md +354 -0
- package/docs/references/color.md +121 -0
- package/docs/references/components.md +1466 -0
- package/docs/references/generative-ui.md +112 -0
- package/docs/references/helpers.md +120 -0
- package/docs/references/hooks.md +314 -0
- package/docs/references/interaction-design.md +95 -0
- package/docs/references/spatial-design.md +137 -0
- package/docs/references/typography.md +110 -0
- package/package.json +197 -0
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import { BaseIcon } from "./base.mjs";
|
|
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
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/icons/lucide.tsx
|
|
5
|
+
const CHEVRON_BY_DIRECTION = {
|
|
6
|
+
up: ChevronUp,
|
|
7
|
+
down: ChevronDown,
|
|
8
|
+
left: ChevronLeft,
|
|
9
|
+
right: ChevronRight
|
|
10
|
+
};
|
|
11
|
+
const ChevronIcon = ({ direction, size = "md" }) => {
|
|
12
|
+
const Chevron = CHEVRON_BY_DIRECTION[direction];
|
|
13
|
+
return /* @__PURE__ */ jsx(BaseIcon, {
|
|
14
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Chevron, { ...props }),
|
|
15
|
+
size
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
const CloseIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
19
|
+
renderItem: (props) => /* @__PURE__ */ jsx(X, { ...props }),
|
|
20
|
+
size
|
|
21
|
+
});
|
|
22
|
+
const CodeXmlIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
23
|
+
renderItem: (props) => /* @__PURE__ */ jsx(CodeXml, { ...props }),
|
|
24
|
+
size
|
|
25
|
+
});
|
|
26
|
+
const CheckIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
27
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Check, { ...props }),
|
|
28
|
+
size
|
|
29
|
+
});
|
|
30
|
+
const ALERT_BY_STATUS = {
|
|
31
|
+
success: CircleCheck,
|
|
32
|
+
info: Info,
|
|
33
|
+
warning: TriangleAlert,
|
|
34
|
+
error: CircleAlert
|
|
35
|
+
};
|
|
36
|
+
const AlertIcon = ({ status, size = "md" }) => {
|
|
37
|
+
const Alert = ALERT_BY_STATUS[status];
|
|
38
|
+
return /* @__PURE__ */ jsx(BaseIcon, {
|
|
39
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Alert, { ...props }),
|
|
40
|
+
size
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
const LinkIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
44
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Link, { ...props }),
|
|
45
|
+
size
|
|
46
|
+
});
|
|
47
|
+
const ExternalLinkIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
48
|
+
renderItem: (props) => /* @__PURE__ */ jsx(ExternalLink, { ...props }),
|
|
49
|
+
size
|
|
50
|
+
});
|
|
51
|
+
const BlogIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
52
|
+
renderItem: (props) => /* @__PURE__ */ jsx(BookText, { ...props }),
|
|
53
|
+
size
|
|
54
|
+
});
|
|
55
|
+
const SlideIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
56
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Presentation, { ...props }),
|
|
57
|
+
size
|
|
58
|
+
});
|
|
59
|
+
const TagIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
60
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Tag, { ...props }),
|
|
61
|
+
size
|
|
62
|
+
});
|
|
63
|
+
const LocationIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
64
|
+
renderItem: (props) => /* @__PURE__ */ jsx(MapPin, { ...props }),
|
|
65
|
+
size
|
|
66
|
+
});
|
|
67
|
+
const FormIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
68
|
+
renderItem: (props) => /* @__PURE__ */ jsx(ListMinus, { ...props }),
|
|
69
|
+
size
|
|
70
|
+
});
|
|
71
|
+
const TableIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
72
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Table2, { ...props }),
|
|
73
|
+
size
|
|
74
|
+
});
|
|
75
|
+
const CopyIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
76
|
+
renderItem: (props) => /* @__PURE__ */ jsx(ClipboardPenLine, { ...props }),
|
|
77
|
+
size
|
|
78
|
+
});
|
|
79
|
+
const PublishDateIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
80
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Calendar, { ...props }),
|
|
81
|
+
size
|
|
82
|
+
});
|
|
83
|
+
const UpdateDateIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
84
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Clock, { ...props }),
|
|
85
|
+
size
|
|
86
|
+
});
|
|
87
|
+
const MixedColorIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
88
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Blend, { ...props }),
|
|
89
|
+
size
|
|
90
|
+
});
|
|
91
|
+
const ColorInfoIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
92
|
+
renderItem: (props) => /* @__PURE__ */ jsx(PaintBucket, { ...props }),
|
|
93
|
+
size
|
|
94
|
+
});
|
|
95
|
+
const ColorContrastIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
96
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Contrast, { ...props }),
|
|
97
|
+
size
|
|
98
|
+
});
|
|
99
|
+
const NewsIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
100
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Bell, { ...props }),
|
|
101
|
+
size
|
|
102
|
+
});
|
|
103
|
+
const SubscribeIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
104
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Bookmark, { ...props }),
|
|
105
|
+
size
|
|
106
|
+
});
|
|
107
|
+
const PrepareIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
108
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Rocket, { ...props }),
|
|
109
|
+
size
|
|
110
|
+
});
|
|
111
|
+
const SendIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
112
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Send, { ...props }),
|
|
113
|
+
size
|
|
114
|
+
});
|
|
115
|
+
const MailIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
116
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Mail, { ...props }),
|
|
117
|
+
size
|
|
118
|
+
});
|
|
119
|
+
const PlusIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
120
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Plus, { ...props }),
|
|
121
|
+
size
|
|
122
|
+
});
|
|
123
|
+
const MinusIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
124
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Minus, { ...props }),
|
|
125
|
+
size
|
|
126
|
+
});
|
|
127
|
+
const DarkModeIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
128
|
+
renderItem: (props) => /* @__PURE__ */ jsx(MoonStar, { ...props }),
|
|
129
|
+
size
|
|
130
|
+
});
|
|
131
|
+
const LightModeIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
132
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Sun, { ...props }),
|
|
133
|
+
size
|
|
134
|
+
});
|
|
135
|
+
const ViewIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
136
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Eye, { ...props }),
|
|
137
|
+
size
|
|
138
|
+
});
|
|
139
|
+
const ViewOffIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
140
|
+
renderItem: (props) => /* @__PURE__ */ jsx(EyeOff, { ...props }),
|
|
141
|
+
size
|
|
142
|
+
});
|
|
143
|
+
const AIIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
144
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Bot, { ...props }),
|
|
145
|
+
size
|
|
146
|
+
});
|
|
147
|
+
const AssistantIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
148
|
+
renderItem: (props) => /* @__PURE__ */ jsx(BotMessageSquare, { ...props }),
|
|
149
|
+
size
|
|
150
|
+
});
|
|
151
|
+
const RSSIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
152
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Rss, { ...props }),
|
|
153
|
+
size
|
|
154
|
+
});
|
|
155
|
+
const HistoryIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
156
|
+
renderItem: (props) => /* @__PURE__ */ jsx(History, { ...props }),
|
|
157
|
+
size
|
|
158
|
+
});
|
|
159
|
+
const RefreshIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
160
|
+
renderItem: (props) => /* @__PURE__ */ jsx(RefreshCw, { ...props }),
|
|
161
|
+
size
|
|
162
|
+
});
|
|
163
|
+
const ListIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
164
|
+
renderItem: (props) => /* @__PURE__ */ jsx(List, { ...props }),
|
|
165
|
+
size
|
|
166
|
+
});
|
|
167
|
+
const NavigationMenuIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
168
|
+
renderItem: (props) => /* @__PURE__ */ jsx(AlignRight, { ...props }),
|
|
169
|
+
size
|
|
170
|
+
});
|
|
171
|
+
const GoodIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
172
|
+
renderItem: (props) => /* @__PURE__ */ jsx(ThumbsUp, { ...props }),
|
|
173
|
+
size
|
|
174
|
+
});
|
|
175
|
+
const BadIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
176
|
+
renderItem: (props) => /* @__PURE__ */ jsx(ThumbsDown, { ...props }),
|
|
177
|
+
size
|
|
178
|
+
});
|
|
179
|
+
const InterestingIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
180
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Smile, { ...props }),
|
|
181
|
+
size
|
|
182
|
+
});
|
|
183
|
+
const BoringIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
184
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Annoyed, { ...props }),
|
|
185
|
+
size
|
|
186
|
+
});
|
|
187
|
+
const InformativeIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
188
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Lightbulb, { ...props }),
|
|
189
|
+
size
|
|
190
|
+
});
|
|
191
|
+
const ShallowIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
192
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Droplets, { ...props }),
|
|
193
|
+
size
|
|
194
|
+
});
|
|
195
|
+
const EasyIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
196
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Laugh, { ...props }),
|
|
197
|
+
size
|
|
198
|
+
});
|
|
199
|
+
const DifficultIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
200
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Angry, { ...props }),
|
|
201
|
+
size
|
|
202
|
+
});
|
|
203
|
+
const AtomIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
204
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Atom, { ...props }),
|
|
205
|
+
size
|
|
206
|
+
});
|
|
207
|
+
const PaletteIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
208
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Palette, { ...props }),
|
|
209
|
+
size
|
|
210
|
+
});
|
|
211
|
+
const ShieldCheckIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
212
|
+
renderItem: (props) => /* @__PURE__ */ jsx(ShieldCheck, { ...props }),
|
|
213
|
+
size
|
|
214
|
+
});
|
|
215
|
+
const AccessibilityIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
216
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Accessibility, { ...props }),
|
|
217
|
+
size
|
|
218
|
+
});
|
|
219
|
+
const SparklesIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
220
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Sparkles, { ...props }),
|
|
221
|
+
size
|
|
222
|
+
});
|
|
223
|
+
const HorizontalWritingIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
224
|
+
renderItem: (props) => /* @__PURE__ */ jsx(BookOpenText, { ...props }),
|
|
225
|
+
size
|
|
226
|
+
});
|
|
227
|
+
const SquircleIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
228
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Squircle, { ...props }),
|
|
229
|
+
size
|
|
230
|
+
});
|
|
231
|
+
const FlaskIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
232
|
+
renderItem: (props) => /* @__PURE__ */ jsx(FlaskConical, { ...props }),
|
|
233
|
+
size
|
|
234
|
+
});
|
|
235
|
+
const PackageIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
236
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Package, { ...props }),
|
|
237
|
+
size
|
|
238
|
+
});
|
|
239
|
+
const ForkIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
240
|
+
renderItem: (props) => /* @__PURE__ */ jsx(GitFork, { ...props }),
|
|
241
|
+
size
|
|
242
|
+
});
|
|
243
|
+
const FullscreenIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
244
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Maximize, { ...props }),
|
|
245
|
+
size
|
|
246
|
+
});
|
|
247
|
+
const LockIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
248
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Lock, { ...props }),
|
|
249
|
+
size
|
|
250
|
+
});
|
|
251
|
+
const LockOpenIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
252
|
+
renderItem: (props) => /* @__PURE__ */ jsx(LockOpen, { ...props }),
|
|
253
|
+
size
|
|
254
|
+
});
|
|
255
|
+
//#endregion
|
|
256
|
+
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 };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BaseIcon } from "./base.mjs";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/icons/qiita.tsx
|
|
4
|
+
const Qiita = ({ className, ...rest }) => /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
className,
|
|
6
|
+
...rest,
|
|
7
|
+
enableBackground: "new 0 0 300 300",
|
|
8
|
+
version: "1.1",
|
|
9
|
+
viewBox: "0 0 300 300",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
children: [/* @__PURE__ */ jsx("path", {
|
|
12
|
+
d: "\nM170.00,301.00 \n C155.98,301.00 141.96,301.00 127.35,300.63 \n C126.24,299.87 125.76,299.21 125.20,299.13 \n C106.99,296.55 90.22,289.99 74.41,280.79 \n C57.08,270.70 42.21,257.64 30.40,241.57 \n C17.26,223.68 7.53,204.01 3.83,181.76 \n C3.44,179.42 1.97,177.25 1.00,175.00 \n C1.00,159.31 1.00,143.62 1.37,127.35 \n C2.16,125.91 2.75,125.10 2.96,124.21 \n C4.27,118.70 5.15,113.07 6.79,107.67 \n C14.92,80.92 29.17,58.11 50.06,39.28 \n C66.69,24.30 85.52,13.55 106.81,7.03 \n C114.44,4.70 122.26,2.99 130.00,1.00 \n C144.35,1.00 158.71,1.00 173.67,1.36 \n C175.17,2.13 176.02,2.66 176.95,2.92 \n C186.59,5.62 196.44,7.73 205.85,11.06 \n C232.83,20.58 254.47,37.78 271.49,60.35 \n C284.87,78.08 294.49,97.92 298.16,120.22 \n C298.55,122.58 300.03,124.75 301.00,127.00 \n C301.00,127.00 301.00,127.50 300.67,127.85 \n C300.56,129.13 300.78,130.07 301.00,131.00 \n C301.00,145.35 301.00,159.71 300.63,174.65 \n C299.17,179.59 298.12,183.95 296.99,188.29 \n C293.93,200.06 289.71,211.37 283.83,222.00 \n C274.89,218.56 269.44,218.19 260.01,219.87 \n C258.35,220.17 256.09,220.08 254.83,219.16 \n C245.13,212.12 238.85,205.04 243.48,192.58 \n C246.15,185.39 247.37,177.40 247.77,169.69 \n C248.16,162.24 246.97,154.64 245.95,147.17 \n C243.29,127.59 235.48,110.16 223.22,94.68 \n C221.02,91.91 217.97,89.20 217.25,86.02 \n C216.02,80.64 216.26,74.90 216.03,69.31 \n C215.88,65.65 216.19,61.96 215.96,58.31 \n C215.47,50.74 210.89,48.36 204.49,52.19 \n C199.48,55.18 194.13,57.74 189.57,61.31 \n C185.80,64.26 182.76,63.56 178.91,62.05 \n C163.35,55.96 147.25,55.54 131.04,58.51 \n C117.56,60.98 105.90,67.68 94.50,74.96 \n C92.48,76.25 89.34,76.72 86.93,76.31 \n C80.88,75.27 74.98,73.40 68.98,72.08 \n C63.87,70.96 60.62,74.59 61.90,79.73 \n C62.92,83.81 63.68,87.98 65.00,91.96 \n C68.00,100.99 67.47,108.98 62.43,117.71 \n C56.07,128.72 53.74,141.57 53.23,154.22 \n C52.79,165.18 53.42,176.38 55.23,187.20 \n C57.65,201.60 63.63,214.93 73.51,225.90 \n C90.29,244.49 112.10,252.72 136.56,253.81 \n C147.36,254.29 158.27,252.89 169.10,251.95 \n C181.31,250.87 193.16,247.93 203.90,241.91 \n C211.07,237.88 217.72,232.91 223.48,229.10 \n C228.86,234.44 233.77,240.46 239.81,244.96 \n C245.72,249.37 252.79,252.22 259.77,255.97 \n C254.96,260.09 249.64,264.89 244.07,269.38 \n C228.58,281.87 211.13,290.65 191.99,295.95 \n C184.75,297.95 177.34,299.33 170.00,301.00 \nz",
|
|
13
|
+
fill: "#55C500",
|
|
14
|
+
opacity: "1.00",
|
|
15
|
+
stroke: "none"
|
|
16
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
17
|
+
d: "\nM201.23,166.28 \n C189.03,176.10 175.09,180.47 160.14,181.96 \n C150.82,182.88 141.43,184.14 132.12,183.81 \n C118.49,183.33 105.09,180.78 94.96,170.37 \n C86.98,162.16 83.84,151.87 83.87,140.38 \n C79.76,142.15 75.81,143.84 71.86,145.53 \n C71.43,145.03 70.99,144.53 70.56,144.04 \n C71.61,142.71 72.39,140.92 73.75,140.17 \n C76.27,138.78 79.26,138.24 81.79,136.87 \n C83.04,136.19 83.71,134.45 85.18,132.44 \n C79.51,132.44 75.18,132.44 70.38,132.44 \n C70.30,131.77 70.16,130.61 70.02,129.51 \n C75.18,127.89 81.27,130.22 85.99,124.27 \n C81.13,123.77 77.32,123.37 73.50,123.00 \n C70.70,122.73 68.22,122.20 69.41,117.91 \n C73.09,118.51 76.74,119.06 80.36,119.73 \n C83.67,120.33 85.66,120.26 87.22,116.06 \n C96.19,91.86 113.31,77.04 139.13,73.01 \n C162.04,69.44 181.37,76.33 196.90,93.51 \n C199.93,96.87 202.45,100.74 204.79,104.63 \n C206.07,106.76 206.94,107.32 209.40,106.38 \n C212.69,105.12 216.24,104.44 219.73,103.80 \n C220.98,103.58 222.38,104.19 223.71,104.42 \n C223.71,104.86 223.71,105.29 223.72,105.72 \n C218.54,107.58 213.36,109.43 208.00,111.35 \n C212.07,119.52 219.17,110.88 224.17,115.11 \n C221.41,120.75 214.59,115.81 211.18,119.90 \n C211.36,123.79 214.46,123.98 217.68,124.37 \n C220.48,124.71 223.23,125.53 226.13,126.17 \n C224.53,129.57 224.53,129.57 212.76,127.41 \n C214.08,141.79 212.91,155.47 201.23,166.28 \nz",
|
|
18
|
+
fill: "#55C500",
|
|
19
|
+
opacity: "1.00",
|
|
20
|
+
stroke: "none"
|
|
21
|
+
})]
|
|
22
|
+
});
|
|
23
|
+
const QiitaIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
24
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Qiita, { ...props }),
|
|
25
|
+
size
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { QiitaIcon };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseIcon } from "./base.mjs";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/icons/twitter.tsx
|
|
4
|
+
const Twitter = ({ className, ...rest }) => /* @__PURE__ */ jsx("svg", {
|
|
5
|
+
className,
|
|
6
|
+
...rest,
|
|
7
|
+
fill: "none",
|
|
8
|
+
viewBox: "0 0 1200 1227",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
11
|
+
className: "fill-fg-base",
|
|
12
|
+
d: "M714.16 519.28L1160.89 0H1055.03L667.14 450.89L357.33 0H0L468.49 681.82L0 1226.37H105.87L515.49 750.22L842.67 1226.37H1200L714.14 519.28H714.16ZM569.16 687.83L521.70 619.93L144.01 79.69H306.62L611.41 515.68L658.88 583.58L1055.08 1150.3H892.48L569.16 687.85V687.83Z"
|
|
13
|
+
})
|
|
14
|
+
});
|
|
15
|
+
const TwitterIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
16
|
+
renderItem: (props) => /* @__PURE__ */ jsx(Twitter, { ...props }),
|
|
17
|
+
size
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { TwitterIcon };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BaseIcon } from "./base.mjs";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/icons/vertical-writing.tsx
|
|
4
|
+
const VerticalWriting = ({ className, ...rest }) => /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
className,
|
|
6
|
+
...rest,
|
|
7
|
+
fill: "none",
|
|
8
|
+
stroke: "currentColor",
|
|
9
|
+
strokeLinecap: "round",
|
|
10
|
+
strokeLinejoin: "round",
|
|
11
|
+
strokeWidth: "2",
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
+
children: [
|
|
15
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7v14" }),
|
|
16
|
+
/* @__PURE__ */ jsx("path", { d: "M17 8v4" }),
|
|
17
|
+
/* @__PURE__ */ jsx("path", { d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z" }),
|
|
18
|
+
/* @__PURE__ */ jsx("path", { d: "M7 8v4" })
|
|
19
|
+
]
|
|
20
|
+
});
|
|
21
|
+
const VerticalWritingIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
22
|
+
renderItem: (props) => /* @__PURE__ */ jsx(VerticalWriting, { ...props }),
|
|
23
|
+
size
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { VerticalWritingIcon };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Button } from "./buttons/button/button.mjs";
|
|
2
|
+
import "./buttons/button/index.mjs";
|
|
3
|
+
import { Tooltip, TooltipTriggerProps } from "./overlays/tooltip/tooltip.mjs";
|
|
4
|
+
import "./overlays/tooltip/index.mjs";
|
|
5
|
+
import { IconButton, IconButtonTriggerProps } from "./buttons/icon-button/icon-button.mjs";
|
|
6
|
+
import "./buttons/icon-button/index.mjs";
|
|
7
|
+
import { Accordion } from "./data-display/accordion/index.mjs";
|
|
8
|
+
import { Avatar } from "./data-display/avatar/avatar.mjs";
|
|
9
|
+
import "./data-display/avatar/index.mjs";
|
|
10
|
+
import { Badge } from "./data-display/badge/badge.mjs";
|
|
11
|
+
import "./data-display/badge/index.mjs";
|
|
12
|
+
import { Card } from "./data-display/card/card.mjs";
|
|
13
|
+
import "./data-display/card/index.mjs";
|
|
14
|
+
import { Code } from "./data-display/code/code.mjs";
|
|
15
|
+
import "./data-display/code/index.mjs";
|
|
16
|
+
import { Heading } from "./data-display/heading/heading.mjs";
|
|
17
|
+
import "./data-display/heading/index.mjs";
|
|
18
|
+
import { CellAlign, Table } from "./data-display/table/table.mjs";
|
|
19
|
+
import "./data-display/table/index.mjs";
|
|
20
|
+
import { Alert, AlertAction } from "./feedback/alert/alert.mjs";
|
|
21
|
+
import "./feedback/alert/index.mjs";
|
|
22
|
+
import { Progress } from "./feedback/progress/progress.mjs";
|
|
23
|
+
import "./feedback/progress/index.mjs";
|
|
24
|
+
import { Skeleton } from "./feedback/skeleton/skeleton.mjs";
|
|
25
|
+
import "./feedback/skeleton/index.mjs";
|
|
26
|
+
import { Spinner } from "./feedback/spinner/spinner.mjs";
|
|
27
|
+
import "./feedback/spinner/index.mjs";
|
|
28
|
+
import { ToastAction, ToastOptions, useToast } from "./feedback/toast/context.mjs";
|
|
29
|
+
import { ToastProvider } from "./feedback/toast/provider.mjs";
|
|
30
|
+
import "./feedback/toast/index.mjs";
|
|
31
|
+
import { Autocomplete } from "./form/autocomplete/autocomplete.mjs";
|
|
32
|
+
import "./form/autocomplete/index.mjs";
|
|
33
|
+
import { CheckboxCard, CheckboxCardOption } from "./form/checkbox-card/checkbox-card.mjs";
|
|
34
|
+
import "./form/checkbox-card/index.mjs";
|
|
35
|
+
import { CheckboxGroup } from "./form/checkbox-group/index.mjs";
|
|
36
|
+
import { Checkbox } from "./form/checkbox/checkbox.mjs";
|
|
37
|
+
import "./form/checkbox/index.mjs";
|
|
38
|
+
import { FileField } from "./form/file-field/file-field.mjs";
|
|
39
|
+
import "./form/file-field/index.mjs";
|
|
40
|
+
import { FormControl } from "./form/form-control/form-control.mjs";
|
|
41
|
+
import "./form/form-control/index.mjs";
|
|
42
|
+
import { Form } from "./form/form/form.mjs";
|
|
43
|
+
import "./form/form/index.mjs";
|
|
44
|
+
import { NumberField } from "./form/number-field/number-field.mjs";
|
|
45
|
+
import "./form/number-field/index.mjs";
|
|
46
|
+
import { PasswordInput } from "./form/password-input/password-input.mjs";
|
|
47
|
+
import "./form/password-input/index.mjs";
|
|
48
|
+
import { RadioCard, RadioCardOption } from "./form/radio-card/radio-card.mjs";
|
|
49
|
+
import "./form/radio-card/index.mjs";
|
|
50
|
+
import { Radio } from "./form/radio/radio.mjs";
|
|
51
|
+
import "./form/radio/index.mjs";
|
|
52
|
+
import { Select } from "./form/select/select.mjs";
|
|
53
|
+
import "./form/select/index.mjs";
|
|
54
|
+
import { Slider } from "./form/slider/slider.mjs";
|
|
55
|
+
import "./form/slider/index.mjs";
|
|
56
|
+
import { Switch } from "./form/switch/switch.mjs";
|
|
57
|
+
import "./form/switch/index.mjs";
|
|
58
|
+
import { TextField } from "./form/text-field/text-field.mjs";
|
|
59
|
+
import "./form/text-field/index.mjs";
|
|
60
|
+
import { Textarea } from "./form/textarea/textarea.mjs";
|
|
61
|
+
import "./form/textarea/index.mjs";
|
|
62
|
+
import { BaseIconProps, IconRenderProps } from "./icons/base.mjs";
|
|
63
|
+
import { ChromeIcon, EdgeIcon, FirefoxIcon, SafariIcon } from "./icons/browsers.mjs";
|
|
64
|
+
import { ColorScaleIcon } from "./icons/color-scale.mjs";
|
|
65
|
+
import { GitHubIcon } from "./icons/github-mark.mjs";
|
|
66
|
+
import { Logo, LogoIcon } from "./icons/logo.mjs";
|
|
67
|
+
import { 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 } from "./icons/lucide.mjs";
|
|
68
|
+
import { QiitaIcon } from "./icons/qiita.mjs";
|
|
69
|
+
import { TwitterIcon } from "./icons/twitter.mjs";
|
|
70
|
+
import { VerticalWritingIcon } from "./icons/vertical-writing.mjs";
|
|
71
|
+
import "./icons/index.mjs";
|
|
72
|
+
import { GapSize } from "./layout/_shared/gap.mjs";
|
|
73
|
+
import { PaddingSize } from "./layout/_shared/padding.mjs";
|
|
74
|
+
import { Grid, GridProps } from "./layout/grid/grid.mjs";
|
|
75
|
+
import "./layout/grid/index.mjs";
|
|
76
|
+
import { ScrollLinked } from "./layout/scroll-linked/scroll-linked.mjs";
|
|
77
|
+
import "./layout/scroll-linked/index.mjs";
|
|
78
|
+
import { Separator } from "./layout/separator/separator.mjs";
|
|
79
|
+
import "./layout/separator/index.mjs";
|
|
80
|
+
import { Stack, StackProps } from "./layout/stack/stack.mjs";
|
|
81
|
+
import "./layout/stack/index.mjs";
|
|
82
|
+
import { Anchor } from "./navigation/anchor/anchor.mjs";
|
|
83
|
+
import "./navigation/anchor/index.mjs";
|
|
84
|
+
import { Breadcrumb } from "./navigation/breadcrumb/index.mjs";
|
|
85
|
+
import { Pagination } from "./navigation/pagination/pagination.mjs";
|
|
86
|
+
import "./navigation/pagination/index.mjs";
|
|
87
|
+
import { Tabs } from "./navigation/tabs/tabs.mjs";
|
|
88
|
+
import "./navigation/tabs/index.mjs";
|
|
89
|
+
import { Dialog } from "./overlays/dialog/dialog.mjs";
|
|
90
|
+
import "./overlays/dialog/index.mjs";
|
|
91
|
+
import { Drawer } from "./overlays/drawer/drawer.mjs";
|
|
92
|
+
import "./overlays/drawer/index.mjs";
|
|
93
|
+
import { DropdownMenu } from "./overlays/dropdown-menu/dropdown-menu.mjs";
|
|
94
|
+
import "./overlays/dropdown-menu/index.mjs";
|
|
95
|
+
import { ListBox } from "./overlays/list-box/list-box.mjs";
|
|
96
|
+
import "./overlays/list-box/index.mjs";
|
|
97
|
+
import { Modal } from "./overlays/modal/modal.mjs";
|
|
98
|
+
import "./overlays/modal/index.mjs";
|
|
99
|
+
import { PopoverContentProps, PopoverTriggerProps } from "./overlays/popover/hooks.mjs";
|
|
100
|
+
import { Popover } from "./overlays/popover/popover.mjs";
|
|
101
|
+
import "./overlays/popover/index.mjs";
|
|
102
|
+
import { Messages } from "../i18n/messages.mjs";
|
|
103
|
+
import { UIProvider } from "./providers/ui-provider.mjs";
|
|
104
|
+
import { PortalRootProvider, usePortalRoot } from "./providers/portal-root.mjs";
|
|
105
|
+
import "./providers/index.mjs";
|
|
106
|
+
export { AIIcon, AccessibilityIcon, Accordion, Alert, type AlertAction, AlertIcon, Anchor, AssistantIcon, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, type BaseIconProps, BlogIcon, BoringIcon, Breadcrumb, Button, Card, type CellAlign, CheckIcon, Checkbox, CheckboxCard, type CheckboxCardOption, CheckboxGroup, ChevronIcon, ChromeIcon, CloseIcon, Code, CodeXmlIcon, ColorContrastIcon, ColorInfoIcon, ColorScaleIcon, CopyIcon, DarkModeIcon, Dialog, DifficultIcon, Drawer, DropdownMenu, EasyIcon, EdgeIcon, ExternalLinkIcon, FileField, FirefoxIcon, FlaskIcon, ForkIcon, Form, FormControl, FormIcon, FullscreenIcon, type GapSize, GitHubIcon, GoodIcon, Grid, type GridProps, Heading, HistoryIcon, HorizontalWritingIcon, IconButton, type IconButtonTriggerProps, type IconRenderProps, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, LockIcon, LockOpenIcon, Logo, LogoIcon, MailIcon, type Messages, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, PackageIcon, type PaddingSize, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, type PopoverContentProps, type PopoverTriggerProps, PortalRootProvider, PrepareIcon, Progress, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, type RadioCardOption, RefreshIcon, SafariIcon, ScrollLinked, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, SquircleIcon, Stack, type StackProps, SubscribeIcon, Switch, Table, TableIcon, Tabs, TagIcon, TextField, Textarea, type ToastAction, type ToastOptions, ToastProvider, Tooltip, type TooltipTriggerProps, TwitterIcon, UIProvider, UpdateDateIcon, VerticalWritingIcon, ViewIcon, ViewOffIcon, usePortalRoot, useToast };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Spinner } from "./feedback/spinner/spinner.mjs";
|
|
2
|
+
import { Button } from "./buttons/button/button.mjs";
|
|
3
|
+
import { Popover } from "./overlays/popover/popover.mjs";
|
|
4
|
+
import { Tooltip } from "./overlays/tooltip/tooltip.mjs";
|
|
5
|
+
import { IconButton } from "./buttons/icon-button/icon-button.mjs";
|
|
6
|
+
import { ChromeIcon, EdgeIcon, FirefoxIcon, SafariIcon } from "./icons/browsers.mjs";
|
|
7
|
+
import { ColorScaleIcon } from "./icons/color-scale.mjs";
|
|
8
|
+
import { GitHubIcon } from "./icons/github-mark.mjs";
|
|
9
|
+
import { Logo, LogoIcon } from "./icons/logo.mjs";
|
|
10
|
+
import { 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 } from "./icons/lucide.mjs";
|
|
11
|
+
import { QiitaIcon } from "./icons/qiita.mjs";
|
|
12
|
+
import { TwitterIcon } from "./icons/twitter.mjs";
|
|
13
|
+
import { VerticalWritingIcon } from "./icons/vertical-writing.mjs";
|
|
14
|
+
import { Accordion } from "./data-display/accordion/index.mjs";
|
|
15
|
+
import { Avatar } from "./data-display/avatar/avatar.mjs";
|
|
16
|
+
import { Badge } from "./data-display/badge/badge.mjs";
|
|
17
|
+
import { Card } from "./data-display/card/card.mjs";
|
|
18
|
+
import { Code } from "./data-display/code/code.mjs";
|
|
19
|
+
import { Heading } from "./data-display/heading/heading.mjs";
|
|
20
|
+
import { Table } from "./data-display/table/table.mjs";
|
|
21
|
+
import { Alert } from "./feedback/alert/alert.mjs";
|
|
22
|
+
import { Progress } from "./feedback/progress/progress.mjs";
|
|
23
|
+
import { Skeleton } from "./feedback/skeleton/skeleton.mjs";
|
|
24
|
+
import { useToast } from "./feedback/toast/context.mjs";
|
|
25
|
+
import { ToastProvider } from "./feedback/toast/provider.mjs";
|
|
26
|
+
import { Autocomplete } from "./form/autocomplete/autocomplete.mjs";
|
|
27
|
+
import { Checkbox } from "./form/checkbox/checkbox.mjs";
|
|
28
|
+
import { CheckboxCard } from "./form/checkbox-card/checkbox-card.mjs";
|
|
29
|
+
import { CheckboxGroup } from "./form/checkbox-group/index.mjs";
|
|
30
|
+
import { FileField } from "./form/file-field/file-field.mjs";
|
|
31
|
+
import { Form } from "./form/form/form.mjs";
|
|
32
|
+
import { FormControl } from "./form/form-control/form-control.mjs";
|
|
33
|
+
import { NumberField } from "./form/number-field/number-field.mjs";
|
|
34
|
+
import { PasswordInput } from "./form/password-input/password-input.mjs";
|
|
35
|
+
import { Radio } from "./form/radio/radio.mjs";
|
|
36
|
+
import { RadioCard } from "./form/radio-card/radio-card.mjs";
|
|
37
|
+
import { Select } from "./form/select/select.mjs";
|
|
38
|
+
import { Slider } from "./form/slider/slider.mjs";
|
|
39
|
+
import { Switch } from "./form/switch/switch.mjs";
|
|
40
|
+
import { TextField } from "./form/text-field/text-field.mjs";
|
|
41
|
+
import { Textarea } from "./form/textarea/textarea.mjs";
|
|
42
|
+
import { Grid } from "./layout/grid/grid.mjs";
|
|
43
|
+
import { ScrollLinked } from "./layout/scroll-linked/scroll-linked.mjs";
|
|
44
|
+
import { Separator } from "./layout/separator/separator.mjs";
|
|
45
|
+
import { Stack } from "./layout/stack/stack.mjs";
|
|
46
|
+
import { Anchor } from "./navigation/anchor/anchor.mjs";
|
|
47
|
+
import { Breadcrumb } from "./navigation/breadcrumb/index.mjs";
|
|
48
|
+
import { Pagination } from "./navigation/pagination/pagination.mjs";
|
|
49
|
+
import { Tabs } from "./navigation/tabs/tabs.mjs";
|
|
50
|
+
import { Dialog } from "./overlays/dialog/dialog.mjs";
|
|
51
|
+
import { UIProvider } from "./providers/ui-provider.mjs";
|
|
52
|
+
import { PortalRootProvider, usePortalRoot } from "./providers/portal-root.mjs";
|
|
53
|
+
import { Modal } from "./overlays/modal/modal.mjs";
|
|
54
|
+
import { Drawer } from "./overlays/drawer/drawer.mjs";
|
|
55
|
+
import { DropdownMenu } from "./overlays/dropdown-menu/dropdown-menu.mjs";
|
|
56
|
+
import { ListBox } from "./overlays/list-box/list-box.mjs";
|
|
57
|
+
export { AIIcon, AccessibilityIcon, Accordion, Alert, AlertIcon, Anchor, AssistantIcon, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, BlogIcon, BoringIcon, Breadcrumb, Button, Card, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, ChevronIcon, ChromeIcon, CloseIcon, Code, CodeXmlIcon, ColorContrastIcon, ColorInfoIcon, ColorScaleIcon, CopyIcon, DarkModeIcon, Dialog, DifficultIcon, Drawer, DropdownMenu, EasyIcon, EdgeIcon, ExternalLinkIcon, FileField, FirefoxIcon, FlaskIcon, ForkIcon, Form, FormControl, FormIcon, FullscreenIcon, GitHubIcon, GoodIcon, Grid, Heading, HistoryIcon, HorizontalWritingIcon, IconButton, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, LockIcon, LockOpenIcon, Logo, LogoIcon, MailIcon, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, PackageIcon, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, PortalRootProvider, PrepareIcon, Progress, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, RefreshIcon, SafariIcon, ScrollLinked, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, SquircleIcon, Stack, SubscribeIcon, Switch, Table, TableIcon, Tabs, TagIcon, TextField, Textarea, ToastProvider, Tooltip, TwitterIcon, UIProvider, UpdateDateIcon, VerticalWritingIcon, ViewIcon, ViewOffIcon, usePortalRoot, useToast };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/components/layout/_shared/gap.d.ts
|
|
2
|
+
type GapSize = 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
|
+
declare const GAP_CLASS: {
|
|
4
|
+
readonly none: 'gap-0';
|
|
5
|
+
readonly sm: 'gap-2';
|
|
6
|
+
readonly md: 'gap-4';
|
|
7
|
+
readonly lg: 'gap-6';
|
|
8
|
+
readonly xl: 'gap-8';
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { GAP_CLASS, GapSize };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/components/layout/_shared/padding.d.ts
|
|
2
|
+
type PaddingSize = 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
|
+
declare const PADDING_CLASS: {
|
|
4
|
+
readonly none: 'p-0';
|
|
5
|
+
readonly sm: 'p-2';
|
|
6
|
+
readonly md: 'p-4';
|
|
7
|
+
readonly lg: 'p-6';
|
|
8
|
+
readonly xl: 'p-8';
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { PADDING_CLASS, PaddingSize };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GapSize } from "../_shared/gap.mjs";
|
|
2
|
+
import { FC, HTMLAttributes, PropsWithChildren } from "react";
|
|
3
|
+
//#region src/components/layout/grid/grid.d.ts
|
|
4
|
+
type GridProps = PropsWithChildren<{
|
|
5
|
+
/**
|
|
6
|
+
* 列数。`1`〜`6` の固定列、`'auto-fill'` / `'auto-fit'` の自動列を選べる。
|
|
7
|
+
* 自動列の場合は `minItemSize` で各セルの最小幅(Tailwind spacing 単位)を指定する。
|
|
8
|
+
*/
|
|
9
|
+
cols?: 1 | 2 | 3 | 4 | 5 | 6 | 'auto-fill' | 'auto-fit';
|
|
10
|
+
/** `cols` が `auto-fill` / `auto-fit` のときの各セルの最小サイズ(Tailwind spacing)。 */
|
|
11
|
+
minItemSize?: 24 | 32 | 40 | 48 | 64 | 80;
|
|
12
|
+
gap?: GapSize;
|
|
13
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, 'className' | 'style'>>;
|
|
14
|
+
declare const Grid: FC<GridProps>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { Grid, GridProps };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { cn } from "../../../helpers/cn.mjs";
|
|
2
|
+
import { GAP_CLASS } from "../_shared/gap.mjs";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/layout/grid/grid.tsx
|
|
5
|
+
const COLS_CLASS = {
|
|
6
|
+
1: "grid-cols-1",
|
|
7
|
+
2: "grid-cols-2",
|
|
8
|
+
3: "grid-cols-3",
|
|
9
|
+
4: "grid-cols-4",
|
|
10
|
+
5: "grid-cols-5",
|
|
11
|
+
6: "grid-cols-6"
|
|
12
|
+
};
|
|
13
|
+
const AUTO_FILL_CLASS = {
|
|
14
|
+
24: "grid-cols-auto-fill-24",
|
|
15
|
+
32: "grid-cols-auto-fill-32",
|
|
16
|
+
40: "grid-cols-auto-fill-40",
|
|
17
|
+
48: "grid-cols-auto-fill-48",
|
|
18
|
+
64: "grid-cols-auto-fill-64",
|
|
19
|
+
80: "grid-cols-auto-fill-80"
|
|
20
|
+
};
|
|
21
|
+
const AUTO_FIT_CLASS = {
|
|
22
|
+
24: "grid-cols-auto-fit-24",
|
|
23
|
+
32: "grid-cols-auto-fit-32",
|
|
24
|
+
40: "grid-cols-auto-fit-40",
|
|
25
|
+
48: "grid-cols-auto-fit-48",
|
|
26
|
+
64: "grid-cols-auto-fit-64",
|
|
27
|
+
80: "grid-cols-auto-fit-80"
|
|
28
|
+
};
|
|
29
|
+
const Grid = ({ cols = "auto-fill", minItemSize = 48, gap = "md", children, ...rest }) => /* @__PURE__ */ jsx("div", {
|
|
30
|
+
...rest,
|
|
31
|
+
className: cn("grid", GAP_CLASS[gap], typeof cols === "number" ? COLS_CLASS[cols] : cols === "auto-fill" ? AUTO_FILL_CLASS[minItemSize] : AUTO_FIT_CLASS[minItemSize]),
|
|
32
|
+
children
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { Grid };
|