@knk1313/plain-ui 0.0.0-stage → 0.2.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 +86 -2
- package/dist/components/accordion/Accordion.d.ts +27 -0
- package/dist/components/accordion/Accordion.js +18 -0
- package/dist/components/accordion/index.d.ts +1 -0
- package/dist/components/accordion/index.js +1 -0
- package/dist/components/agent-form/AgentForm.d.ts +40 -0
- package/dist/components/agent-form/AgentForm.js +100 -0
- package/dist/components/agent-form/index.d.ts +1 -0
- package/dist/components/agent-form/index.js +1 -0
- package/dist/components/agent-steps/AgentSteps.d.ts +21 -0
- package/dist/components/agent-steps/AgentSteps.js +42 -0
- package/dist/components/agent-steps/index.d.ts +1 -0
- package/dist/components/agent-steps/index.js +1 -0
- package/dist/components/agent-thinking/AgentThinking.d.ts +12 -0
- package/dist/components/agent-thinking/AgentThinking.js +18 -0
- package/dist/components/agent-thinking/index.d.ts +1 -0
- package/dist/components/agent-thinking/index.js +1 -0
- package/dist/components/area-chart/AreaChart.d.ts +10 -0
- package/dist/components/area-chart/AreaChart.js +83 -0
- package/dist/components/area-chart/index.d.ts +1 -0
- package/dist/components/area-chart/index.js +1 -0
- package/dist/components/auth-card/AuthCard.d.ts +14 -0
- package/dist/components/auth-card/AuthCard.js +9 -0
- package/dist/components/auth-card/PasswordInput.d.ts +13 -0
- package/dist/components/auth-card/PasswordInput.js +26 -0
- package/dist/components/auth-card/index.d.ts +2 -0
- package/dist/components/auth-card/index.js +2 -0
- package/dist/components/avatar/Avatar.d.ts +14 -0
- package/dist/components/avatar/Avatar.js +42 -0
- package/dist/components/avatar/index.d.ts +1 -0
- package/dist/components/avatar/index.js +1 -0
- package/dist/components/badge/Badge.d.ts +9 -0
- package/dist/components/badge/Badge.js +15 -0
- package/dist/components/badge/index.d.ts +1 -0
- package/dist/components/badge/index.js +1 -0
- package/dist/components/banner/Banner.d.ts +9 -0
- package/dist/components/banner/Banner.js +36 -0
- package/dist/components/banner/index.d.ts +1 -0
- package/dist/components/banner/index.js +1 -0
- package/dist/components/bar-chart/BarChart.d.ts +3 -0
- package/dist/components/bar-chart/BarChart.js +47 -0
- package/dist/components/bar-chart/index.d.ts +1 -0
- package/dist/components/bar-chart/index.js +1 -0
- package/dist/components/bar-list/BarList.d.ts +26 -0
- package/dist/components/bar-list/BarList.js +24 -0
- package/dist/components/bar-list/index.d.ts +1 -0
- package/dist/components/bar-list/index.js +1 -0
- package/dist/components/breadcrumb/Breadcrumb.d.ts +12 -0
- package/dist/components/breadcrumb/Breadcrumb.js +9 -0
- package/dist/components/breadcrumb/index.d.ts +1 -0
- package/dist/components/breadcrumb/index.js +1 -0
- package/dist/components/button/Button.d.ts +24 -0
- package/dist/components/button/Button.js +31 -0
- package/dist/components/button/buttonStyle.d.ts +9 -0
- package/dist/components/button/buttonStyle.js +41 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/index.js +1 -0
- package/dist/components/button-group/ButtonGroup.d.ts +18 -0
- package/dist/components/button-group/ButtonGroup.js +26 -0
- package/dist/components/button-group/index.d.ts +1 -0
- package/dist/components/button-group/index.js +1 -0
- package/dist/components/calendar/Calendar.d.ts +20 -0
- package/dist/components/calendar/Calendar.js +98 -0
- package/dist/components/calendar/index.d.ts +1 -0
- package/dist/components/calendar/index.js +1 -0
- package/dist/components/calendar-view/CalendarView.d.ts +34 -0
- package/dist/components/calendar-view/CalendarView.js +111 -0
- package/dist/components/calendar-view/index.d.ts +1 -0
- package/dist/components/calendar-view/index.js +1 -0
- package/dist/components/card/Card.d.ts +6 -0
- package/dist/components/card/Card.js +6 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/components/card/index.js +1 -0
- package/dist/components/carousel/Carousel.d.ts +18 -0
- package/dist/components/carousel/Carousel.js +58 -0
- package/dist/components/carousel/index.d.ts +1 -0
- package/dist/components/carousel/index.js +1 -0
- package/dist/components/chart/Axis.d.ts +51 -0
- package/dist/components/chart/Axis.js +127 -0
- package/dist/components/chart/ChartFrame.d.ts +79 -0
- package/dist/components/chart/ChartFrame.js +80 -0
- package/dist/components/chart/ChartTooltip.d.ts +12 -0
- package/dist/components/chart/ChartTooltip.js +57 -0
- package/dist/components/chart/Legend.d.ts +11 -0
- package/dist/components/chart/Legend.js +6 -0
- package/dist/components/chart/Sparkline.d.ts +5 -0
- package/dist/components/chart/Sparkline.js +20 -0
- package/dist/components/chart/format.d.ts +2 -0
- package/dist/components/chart/format.js +17 -0
- package/dist/components/chart/heatmap.d.ts +18 -0
- package/dist/components/chart/heatmap.js +47 -0
- package/dist/components/chart/index.d.ts +1 -0
- package/dist/components/chart/index.js +1 -0
- package/dist/components/chart/line.d.ts +1 -0
- package/dist/components/chart/line.js +15 -0
- package/dist/components/chart/scale.d.ts +15 -0
- package/dist/components/chart/scale.js +100 -0
- package/dist/components/chart/series.d.ts +44 -0
- package/dist/components/chart/series.js +86 -0
- package/dist/components/chart/spacing.d.ts +29 -0
- package/dist/components/chart/spacing.js +34 -0
- package/dist/components/chart/types.d.ts +29 -0
- package/dist/components/chart/types.js +2 -0
- package/dist/components/chart/useChartHover.d.ts +34 -0
- package/dist/components/chart/useChartHover.js +97 -0
- package/dist/components/checkbox/Checkbox.d.ts +10 -0
- package/dist/components/checkbox/Checkbox.js +38 -0
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/checkbox/index.js +1 -0
- package/dist/components/chip/Chip.d.ts +21 -0
- package/dist/components/chip/Chip.js +10 -0
- package/dist/components/chip/index.d.ts +1 -0
- package/dist/components/chip/index.js +1 -0
- package/dist/components/close-button/CloseButton.d.ts +14 -0
- package/dist/components/close-button/CloseButton.js +9 -0
- package/dist/components/close-button/index.d.ts +1 -0
- package/dist/components/close-button/index.js +1 -0
- package/dist/components/color-picker/ColorPicker.d.ts +21 -0
- package/dist/components/color-picker/ColorPicker.js +20 -0
- package/dist/components/color-picker/index.d.ts +1 -0
- package/dist/components/color-picker/index.js +1 -0
- package/dist/components/combo-chart/ComboChart.d.ts +12 -0
- package/dist/components/combo-chart/ComboChart.js +84 -0
- package/dist/components/combo-chart/index.d.ts +1 -0
- package/dist/components/combo-chart/index.js +1 -0
- package/dist/components/combobox/Combobox.d.ts +33 -0
- package/dist/components/combobox/Combobox.js +246 -0
- package/dist/components/combobox/index.d.ts +1 -0
- package/dist/components/combobox/index.js +1 -0
- package/dist/components/command-palette/CommandPalette.d.ts +36 -0
- package/dist/components/command-palette/CommandPalette.js +156 -0
- package/dist/components/command-palette/index.d.ts +1 -0
- package/dist/components/command-palette/index.js +1 -0
- package/dist/components/composer/Composer.d.ts +32 -0
- package/dist/components/composer/Composer.js +101 -0
- package/dist/components/composer/index.d.ts +1 -0
- package/dist/components/composer/index.js +1 -0
- package/dist/components/composer-attachments/ComposerAttachments.d.ts +25 -0
- package/dist/components/composer-attachments/ComposerAttachments.js +52 -0
- package/dist/components/composer-attachments/index.d.ts +1 -0
- package/dist/components/composer-attachments/index.js +1 -0
- package/dist/components/composer-panel/ComposerPanel.d.ts +26 -0
- package/dist/components/composer-panel/ComposerPanel.js +154 -0
- package/dist/components/composer-panel/index.d.ts +1 -0
- package/dist/components/composer-panel/index.js +1 -0
- package/dist/components/contribution-chart/ContributionChart.d.ts +25 -0
- package/dist/components/contribution-chart/ContributionChart.js +127 -0
- package/dist/components/contribution-chart/index.d.ts +1 -0
- package/dist/components/contribution-chart/index.js +1 -0
- package/dist/components/data-grid/DataGrid.d.ts +40 -0
- package/dist/components/data-grid/DataGrid.js +157 -0
- package/dist/components/data-grid/index.d.ts +1 -0
- package/dist/components/data-grid/index.js +1 -0
- package/dist/components/data-table/DataTable.d.ts +87 -0
- package/dist/components/data-table/DataTable.js +150 -0
- package/dist/components/data-table/index.d.ts +2 -0
- package/dist/components/data-table/index.js +2 -0
- package/dist/components/data-table/query.d.ts +54 -0
- package/dist/components/data-table/query.js +70 -0
- package/dist/components/date-picker/DatePicker.d.ts +25 -0
- package/dist/components/date-picker/DatePicker.js +154 -0
- package/dist/components/date-picker/index.d.ts +1 -0
- package/dist/components/date-picker/index.js +1 -0
- package/dist/components/dialog/ConfirmDialog.d.ts +25 -0
- package/dist/components/dialog/ConfirmDialog.js +69 -0
- package/dist/components/dialog/Dialog.d.ts +25 -0
- package/dist/components/dialog/Dialog.js +11 -0
- package/dist/components/dialog/DialogFrame.d.ts +22 -0
- package/dist/components/dialog/DialogFrame.js +21 -0
- package/dist/components/dialog/DiscardChangesDialog.d.ts +10 -0
- package/dist/components/dialog/DiscardChangesDialog.js +10 -0
- package/dist/components/dialog/index.d.ts +2 -0
- package/dist/components/dialog/index.js +2 -0
- package/dist/components/dialog/useDiscardOnClose.d.ts +20 -0
- package/dist/components/dialog/useDiscardOnClose.js +26 -0
- package/dist/components/dialog/useModalDialog.d.ts +20 -0
- package/dist/components/dialog/useModalDialog.js +85 -0
- package/dist/components/drawer/Drawer.d.ts +14 -0
- package/dist/components/drawer/Drawer.js +22 -0
- package/dist/components/drawer/index.d.ts +1 -0
- package/dist/components/drawer/index.js +1 -0
- package/dist/components/empty-state/EmptyState.d.ts +11 -0
- package/dist/components/empty-state/EmptyState.js +7 -0
- package/dist/components/empty-state/index.d.ts +1 -0
- package/dist/components/empty-state/index.js +1 -0
- package/dist/components/error-state/ErrorState.d.ts +8 -0
- package/dist/components/error-state/ErrorState.js +7 -0
- package/dist/components/error-state/index.d.ts +1 -0
- package/dist/components/error-state/index.js +1 -0
- package/dist/components/error-summary/ErrorSummary.d.ts +21 -0
- package/dist/components/error-summary/ErrorSummary.js +16 -0
- package/dist/components/error-summary/index.d.ts +1 -0
- package/dist/components/error-summary/index.js +1 -0
- package/dist/components/field/Field.d.ts +23 -0
- package/dist/components/field/Field.js +20 -0
- package/dist/components/field/index.d.ts +1 -0
- package/dist/components/field/index.js +1 -0
- package/dist/components/field-error/FieldError.d.ts +10 -0
- package/dist/components/field-error/FieldError.js +52 -0
- package/dist/components/field-error/index.d.ts +1 -0
- package/dist/components/field-error/index.js +1 -0
- package/dist/components/file-upload/FileUpload.d.ts +50 -0
- package/dist/components/file-upload/FileUpload.js +169 -0
- package/dist/components/file-upload/fileSize.d.ts +1 -0
- package/dist/components/file-upload/fileSize.js +13 -0
- package/dist/components/file-upload/index.d.ts +1 -0
- package/dist/components/file-upload/index.js +1 -0
- package/dist/components/form-section/FormSection.d.ts +16 -0
- package/dist/components/form-section/FormSection.js +14 -0
- package/dist/components/form-section/index.d.ts +1 -0
- package/dist/components/form-section/index.js +1 -0
- package/dist/components/form-steps/FormSteps.d.ts +18 -0
- package/dist/components/form-steps/FormSteps.js +26 -0
- package/dist/components/form-steps/index.d.ts +1 -0
- package/dist/components/form-steps/index.js +1 -0
- package/dist/components/funnel-chart/FunnelChart.d.ts +12 -0
- package/dist/components/funnel-chart/FunnelChart.js +69 -0
- package/dist/components/funnel-chart/index.d.ts +1 -0
- package/dist/components/funnel-chart/index.js +1 -0
- package/dist/components/header/Header.d.ts +14 -0
- package/dist/components/header/Header.js +31 -0
- package/dist/components/header/index.d.ts +1 -0
- package/dist/components/header/index.js +1 -0
- package/dist/components/heatmap-chart/HeatmapChart.d.ts +10 -0
- package/dist/components/heatmap-chart/HeatmapChart.js +76 -0
- package/dist/components/heatmap-chart/index.d.ts +1 -0
- package/dist/components/heatmap-chart/index.js +1 -0
- package/dist/components/image-error/ImageError.d.ts +11 -0
- package/dist/components/image-error/ImageError.js +16 -0
- package/dist/components/image-error/index.d.ts +1 -0
- package/dist/components/image-error/index.js +1 -0
- package/dist/components/image-loader/ImageLoader.d.ts +9 -0
- package/dist/components/image-loader/ImageLoader.js +10 -0
- package/dist/components/image-loader/index.d.ts +1 -0
- package/dist/components/image-loader/index.js +1 -0
- package/dist/components/index.d.ts +98 -0
- package/dist/components/index.js +97 -0
- package/dist/components/input/Input.d.ts +6 -0
- package/dist/components/input/Input.js +8 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/index.js +1 -0
- package/dist/components/input/inputStyle.d.ts +14 -0
- package/dist/components/input/inputStyle.js +35 -0
- package/dist/components/item-range/ItemRange.d.ts +11 -0
- package/dist/components/item-range/ItemRange.js +13 -0
- package/dist/components/item-range/index.d.ts +1 -0
- package/dist/components/item-range/index.js +1 -0
- package/dist/components/label/Label.d.ts +8 -0
- package/dist/components/label/Label.js +5 -0
- package/dist/components/label/index.d.ts +1 -0
- package/dist/components/label/index.js +1 -0
- package/dist/components/line-chart/LineChart.d.ts +10 -0
- package/dist/components/line-chart/LineChart.js +29 -0
- package/dist/components/line-chart/index.d.ts +1 -0
- package/dist/components/line-chart/index.js +1 -0
- package/dist/components/link-button/LinkButton.d.ts +29 -0
- package/dist/components/link-button/LinkButton.js +15 -0
- package/dist/components/link-button/index.d.ts +1 -0
- package/dist/components/link-button/index.js +1 -0
- package/dist/components/menu/Menu.d.ts +33 -0
- package/dist/components/menu/Menu.js +113 -0
- package/dist/components/menu/index.d.ts +1 -0
- package/dist/components/menu/index.js +1 -0
- package/dist/components/meter/Meter.d.ts +24 -0
- package/dist/components/meter/Meter.js +65 -0
- package/dist/components/meter/index.d.ts +1 -0
- package/dist/components/meter/index.js +1 -0
- package/dist/components/nav-group/NavGroup.d.ts +24 -0
- package/dist/components/nav-group/NavGroup.js +23 -0
- package/dist/components/nav-group/index.d.ts +1 -0
- package/dist/components/nav-group/index.js +1 -0
- package/dist/components/notification/Notification.d.ts +25 -0
- package/dist/components/notification/Notification.js +13 -0
- package/dist/components/notification/index.d.ts +1 -0
- package/dist/components/notification/index.js +1 -0
- package/dist/components/notification-center/NotificationCenter.d.ts +33 -0
- package/dist/components/notification-center/NotificationCenter.js +29 -0
- package/dist/components/notification-center/index.d.ts +1 -0
- package/dist/components/notification-center/index.js +1 -0
- package/dist/components/number-field/NumberField.d.ts +28 -0
- package/dist/components/number-field/NumberField.js +155 -0
- package/dist/components/number-field/index.d.ts +1 -0
- package/dist/components/number-field/index.js +1 -0
- package/dist/components/otp-input/OtpInput.d.ts +14 -0
- package/dist/components/otp-input/OtpInput.js +70 -0
- package/dist/components/otp-input/index.d.ts +1 -0
- package/dist/components/otp-input/index.js +1 -0
- package/dist/components/pagination/Pagination.d.ts +21 -0
- package/dist/components/pagination/Pagination.js +51 -0
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/pagination/index.js +1 -0
- package/dist/components/popover/Popover.d.ts +23 -0
- package/dist/components/popover/Popover.js +83 -0
- package/dist/components/popover/index.d.ts +1 -0
- package/dist/components/popover/index.js +1 -0
- package/dist/components/progress/Progress.d.ts +12 -0
- package/dist/components/progress/Progress.js +30 -0
- package/dist/components/progress/index.d.ts +1 -0
- package/dist/components/progress/index.js +1 -0
- package/dist/components/question-form/QuestionForm.d.ts +59 -0
- package/dist/components/question-form/QuestionForm.js +128 -0
- package/dist/components/question-form/index.d.ts +1 -0
- package/dist/components/question-form/index.js +1 -0
- package/dist/components/radar-chart/RadarChart.d.ts +3 -0
- package/dist/components/radar-chart/RadarChart.js +72 -0
- package/dist/components/radar-chart/geometry.d.ts +16 -0
- package/dist/components/radar-chart/geometry.js +56 -0
- package/dist/components/radar-chart/index.d.ts +1 -0
- package/dist/components/radar-chart/index.js +1 -0
- package/dist/components/radial-chart/RadialChart.d.ts +39 -0
- package/dist/components/radial-chart/RadialChart.js +135 -0
- package/dist/components/radial-chart/index.d.ts +1 -0
- package/dist/components/radial-chart/index.js +1 -0
- package/dist/components/radio/Radio.d.ts +31 -0
- package/dist/components/radio/Radio.js +24 -0
- package/dist/components/radio/index.d.ts +1 -0
- package/dist/components/radio/index.js +1 -0
- package/dist/components/reply-loader/ReplyLoader.d.ts +10 -0
- package/dist/components/reply-loader/ReplyLoader.js +9 -0
- package/dist/components/reply-loader/index.d.ts +1 -0
- package/dist/components/reply-loader/index.js +1 -0
- package/dist/components/sankey-chart/SankeyChart.d.ts +35 -0
- package/dist/components/sankey-chart/SankeyChart.js +218 -0
- package/dist/components/sankey-chart/index.d.ts +1 -0
- package/dist/components/sankey-chart/index.js +1 -0
- package/dist/components/scatter-chart/ScatterChart.d.ts +38 -0
- package/dist/components/scatter-chart/ScatterChart.js +69 -0
- package/dist/components/scatter-chart/index.d.ts +1 -0
- package/dist/components/scatter-chart/index.js +1 -0
- package/dist/components/search-field/SearchField.d.ts +17 -0
- package/dist/components/search-field/SearchField.js +92 -0
- package/dist/components/search-field/index.d.ts +1 -0
- package/dist/components/search-field/index.js +1 -0
- package/dist/components/segmented-control/SegmentedControl.d.ts +26 -0
- package/dist/components/segmented-control/SegmentedControl.js +38 -0
- package/dist/components/segmented-control/index.d.ts +1 -0
- package/dist/components/segmented-control/index.js +1 -0
- package/dist/components/select/Select.d.ts +11 -0
- package/dist/components/select/Select.js +30 -0
- package/dist/components/select/index.d.ts +1 -0
- package/dist/components/select/index.js +1 -0
- package/dist/components/separator/Separator.d.ts +14 -0
- package/dist/components/separator/Separator.js +12 -0
- package/dist/components/separator/index.d.ts +1 -0
- package/dist/components/separator/index.js +1 -0
- package/dist/components/settings-modal/SettingsModal.d.ts +35 -0
- package/dist/components/settings-modal/SettingsModal.js +120 -0
- package/dist/components/settings-modal/index.d.ts +1 -0
- package/dist/components/settings-modal/index.js +1 -0
- package/dist/components/sidebar/Sidebar.d.ts +30 -0
- package/dist/components/sidebar/Sidebar.js +30 -0
- package/dist/components/sidebar/index.d.ts +1 -0
- package/dist/components/sidebar/index.js +1 -0
- package/dist/components/skeleton/Skeleton.d.ts +6 -0
- package/dist/components/skeleton/Skeleton.js +6 -0
- package/dist/components/skeleton/index.d.ts +1 -0
- package/dist/components/skeleton/index.js +1 -0
- package/dist/components/skip-link/SkipLink.d.ts +8 -0
- package/dist/components/skip-link/SkipLink.js +10 -0
- package/dist/components/skip-link/index.d.ts +1 -0
- package/dist/components/skip-link/index.js +1 -0
- package/dist/components/slider/Slider.d.ts +19 -0
- package/dist/components/slider/Slider.js +49 -0
- package/dist/components/slider/index.d.ts +1 -0
- package/dist/components/slider/index.js +1 -0
- package/dist/components/spinner/Spinner.d.ts +5 -0
- package/dist/components/spinner/Spinner.js +7 -0
- package/dist/components/spinner/index.d.ts +1 -0
- package/dist/components/spinner/index.js +1 -0
- package/dist/components/stacked-bar/StackedBar.d.ts +29 -0
- package/dist/components/stacked-bar/StackedBar.js +77 -0
- package/dist/components/stacked-bar/index.d.ts +1 -0
- package/dist/components/stacked-bar/index.js +1 -0
- package/dist/components/stat-card/StatCard.d.ts +19 -0
- package/dist/components/stat-card/StatCard.js +32 -0
- package/dist/components/stat-card/index.d.ts +1 -0
- package/dist/components/stat-card/index.js +1 -0
- package/dist/components/switch/Switch.d.ts +10 -0
- package/dist/components/switch/Switch.js +22 -0
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/switch/index.js +1 -0
- package/dist/components/table/SortableHeader.d.ts +12 -0
- package/dist/components/table/SortableHeader.js +11 -0
- package/dist/components/table/Table.d.ts +15 -0
- package/dist/components/table/Table.js +26 -0
- package/dist/components/table/align.d.ts +1 -0
- package/dist/components/table/align.js +5 -0
- package/dist/components/table/index.d.ts +4 -0
- package/dist/components/table/index.js +2 -0
- package/dist/components/tabs/Tabs.d.ts +38 -0
- package/dist/components/tabs/Tabs.js +137 -0
- package/dist/components/tabs/fitTabs.d.ts +18 -0
- package/dist/components/tabs/fitTabs.js +46 -0
- package/dist/components/tabs/index.d.ts +1 -0
- package/dist/components/tabs/index.js +1 -0
- package/dist/components/tag-group/TagGroup.d.ts +29 -0
- package/dist/components/tag-group/TagGroup.js +82 -0
- package/dist/components/tag-group/index.d.ts +1 -0
- package/dist/components/tag-group/index.js +1 -0
- package/dist/components/task-list/TaskList.d.ts +46 -0
- package/dist/components/task-list/TaskList.js +30 -0
- package/dist/components/task-list/index.d.ts +1 -0
- package/dist/components/task-list/index.js +1 -0
- package/dist/components/text-link/TextLink.d.ts +27 -0
- package/dist/components/text-link/TextLink.js +22 -0
- package/dist/components/text-link/index.d.ts +1 -0
- package/dist/components/text-link/index.js +1 -0
- package/dist/components/textarea/Textarea.d.ts +6 -0
- package/dist/components/textarea/Textarea.js +9 -0
- package/dist/components/textarea/index.d.ts +1 -0
- package/dist/components/textarea/index.js +1 -0
- package/dist/components/time-field/TimeField.d.ts +6 -0
- package/dist/components/time-field/TimeField.js +9 -0
- package/dist/components/time-field/index.d.ts +1 -0
- package/dist/components/time-field/index.js +1 -0
- package/dist/components/toast/Toast.d.ts +19 -0
- package/dist/components/toast/Toast.js +190 -0
- package/dist/components/toast/index.d.ts +1 -0
- package/dist/components/toast/index.js +1 -0
- package/dist/components/token-input/TokenInput.d.ts +27 -0
- package/dist/components/token-input/TokenInput.js +153 -0
- package/dist/components/token-input/index.d.ts +1 -0
- package/dist/components/token-input/index.js +1 -0
- package/dist/components/tooltip/Tooltip.d.ts +17 -0
- package/dist/components/tooltip/Tooltip.js +144 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/tooltip/index.js +1 -0
- package/dist/components/tree-view/TreeView.d.ts +29 -0
- package/dist/components/tree-view/TreeView.js +140 -0
- package/dist/components/tree-view/index.d.ts +1 -0
- package/dist/components/tree-view/index.js +1 -0
- package/dist/components/unsaved-changes/index.d.ts +1 -0
- package/dist/components/unsaved-changes/index.js +1 -0
- package/dist/components/unsaved-changes/useUnsavedChanges.d.ts +12 -0
- package/dist/components/unsaved-changes/useUnsavedChanges.js +45 -0
- package/dist/components/usage-limit/UsageLimit.d.ts +15 -0
- package/dist/components/usage-limit/UsageLimit.js +21 -0
- package/dist/components/usage-limit/index.d.ts +1 -0
- package/dist/components/usage-limit/index.js +1 -0
- package/dist/components/web-search-results/WebSearchResults.d.ts +21 -0
- package/dist/components/web-search-results/WebSearchResults.js +17 -0
- package/dist/components/web-search-results/index.d.ts +1 -0
- package/dist/components/web-search-results/index.js +1 -0
- package/dist/lib/anchor.d.ts +21 -0
- package/dist/lib/anchor.js +50 -0
- package/dist/lib/cn.d.ts +1 -0
- package/dist/lib/cn.js +5 -0
- package/dist/lib/date.d.ts +77 -0
- package/dist/lib/date.js +165 -0
- package/dist/lib/icon-message.d.ts +16 -0
- package/dist/lib/icon-message.js +7 -0
- package/dist/lib/number.d.ts +1 -0
- package/dist/lib/number.js +5 -0
- package/dist/lib/slot.d.ts +8 -0
- package/dist/lib/slot.js +53 -0
- package/dist/lib/variant.d.ts +1 -0
- package/dist/lib/variant.js +1 -0
- package/docs/a11y.md +320 -0
- package/docs/chart/axis.md +82 -0
- package/docs/chart/color.md +120 -0
- package/docs/chart/drawing.md +283 -0
- package/docs/chart/reading.md +79 -0
- package/docs/chart/size-and-spacing.md +85 -0
- package/docs/chart.md +47 -0
- package/docs/color/contrast.md +80 -0
- package/docs/color/data-viz.md +66 -0
- package/docs/color/foundation.md +91 -0
- package/docs/color/neutral.md +88 -0
- package/docs/color/state.md +111 -0
- package/docs/color.md +22 -0
- package/docs/components/accordion.md +51 -0
- package/docs/components/agent-form.md +56 -0
- package/docs/components/agent-steps.md +75 -0
- package/docs/components/agent-thinking.md +70 -0
- package/docs/components/area-chart.md +55 -0
- package/docs/components/auth-card.md +126 -0
- package/docs/components/avatar.md +38 -0
- package/docs/components/badge.md +28 -0
- package/docs/components/banner.md +19 -0
- package/docs/components/bar-list.md +77 -0
- package/docs/components/button-group.md +74 -0
- package/docs/components/button.md +49 -0
- package/docs/components/calendar-view.md +106 -0
- package/docs/components/calendar.md +44 -0
- package/docs/components/carousel.md +81 -0
- package/docs/components/chart.md +45 -0
- package/docs/components/chat-message.md +199 -0
- package/docs/components/checkbox.md +27 -0
- package/docs/components/chip.md +34 -0
- package/docs/components/choosing.md +26 -0
- package/docs/components/close-button.md +17 -0
- package/docs/components/color-picker.md +52 -0
- package/docs/components/combo-chart.md +74 -0
- package/docs/components/combobox.md +60 -0
- package/docs/components/command-palette.md +151 -0
- package/docs/components/composer-attachments.md +116 -0
- package/docs/components/composer-panel.md +106 -0
- package/docs/components/composer.md +163 -0
- package/docs/components/contribution-chart.md +70 -0
- package/docs/components/data-grid.md +132 -0
- package/docs/components/data-table.md +165 -0
- package/docs/components/date-picker.md +120 -0
- package/docs/components/dialog.md +211 -0
- package/docs/components/drawer.md +38 -0
- package/docs/components/empty-state.md +17 -0
- package/docs/components/error-state.md +13 -0
- package/docs/components/error-summary.md +49 -0
- package/docs/components/field.md +84 -0
- package/docs/components/file-upload.md +161 -0
- package/docs/components/focus.md +25 -0
- package/docs/components/form-section.md +49 -0
- package/docs/components/form-steps.md +63 -0
- package/docs/components/funnel-chart.md +49 -0
- package/docs/components/heatmap-chart.md +64 -0
- package/docs/components/image-error.md +73 -0
- package/docs/components/image-loader.md +53 -0
- package/docs/components/input.md +21 -0
- package/docs/components/item-range.md +10 -0
- package/docs/components/link-button.md +16 -0
- package/docs/components/menu.md +115 -0
- package/docs/components/meter.md +83 -0
- package/docs/components/nav-group.md +33 -0
- package/docs/components/notification-center.md +100 -0
- package/docs/components/notification.md +127 -0
- package/docs/components/number-field.md +128 -0
- package/docs/components/otp-input.md +86 -0
- package/docs/components/pagination.md +29 -0
- package/docs/components/popover.md +43 -0
- package/docs/components/progress.md +25 -0
- package/docs/components/prohibitions.md +58 -0
- package/docs/components/props.md +20 -0
- package/docs/components/question-form.md +125 -0
- package/docs/components/radar-chart.md +61 -0
- package/docs/components/radial-chart.md +74 -0
- package/docs/components/radio.md +24 -0
- package/docs/components/reply-loader.md +80 -0
- package/docs/components/sankey-chart.md +71 -0
- package/docs/components/scatter-chart.md +61 -0
- package/docs/components/search-field.md +44 -0
- package/docs/components/segmented-control.md +35 -0
- package/docs/components/select.md +28 -0
- package/docs/components/separator.md +23 -0
- package/docs/components/settings-modal.md +128 -0
- package/docs/components/sidebar.md +145 -0
- package/docs/components/skeleton.md +27 -0
- package/docs/components/skip-link.md +17 -0
- package/docs/components/slider.md +82 -0
- package/docs/components/spinner.md +8 -0
- package/docs/components/stacked-bar.md +66 -0
- package/docs/components/stat-card.md +78 -0
- package/docs/components/switch.md +61 -0
- package/docs/components/table.md +43 -0
- package/docs/components/tabs.md +104 -0
- package/docs/components/tag-group.md +115 -0
- package/docs/components/task-list.md +99 -0
- package/docs/components/text-link.md +17 -0
- package/docs/components/textarea.md +27 -0
- package/docs/components/time-field.md +97 -0
- package/docs/components/toast.md +73 -0
- package/docs/components/token-input.md +135 -0
- package/docs/components/tooltip.md +41 -0
- package/docs/components/tree-view.md +71 -0
- package/docs/components/usage-limit.md +47 -0
- package/docs/components/web-search-results.md +60 -0
- package/docs/components.md +234 -0
- package/docs/design.md +31 -0
- package/docs/form/clearing-errors.md +28 -0
- package/docs/form/error-announcement.md +69 -0
- package/docs/form/long-forms.md +103 -0
- package/docs/form/placeholder.md +40 -0
- package/docs/form/submit-errors.md +102 -0
- package/docs/form/submitting.md +72 -0
- package/docs/form/unsaved-changes.md +146 -0
- package/docs/form/validation-timing.md +44 -0
- package/docs/form.md +39 -0
- package/docs/glossary.md +169 -0
- package/docs/icon.md +245 -0
- package/docs/interaction/before.md +64 -0
- package/docs/interaction/motion.md +38 -0
- package/docs/interaction/pending.md +38 -0
- package/docs/interaction/permissions.md +133 -0
- package/docs/interaction/result.md +38 -0
- package/docs/interaction/states.md +159 -0
- package/docs/interaction.md +31 -0
- package/docs/layout/alignment.md +145 -0
- package/docs/layout/hit-area.md +58 -0
- package/docs/layout/mobile.md +200 -0
- package/docs/layout/responsive.md +73 -0
- package/docs/layout/scroll.md +51 -0
- package/docs/layout/surface.md +110 -0
- package/docs/layout.md +31 -0
- package/docs/list/board.md +85 -0
- package/docs/list/paging.md +146 -0
- package/docs/list/search.md +98 -0
- package/docs/list/toolbar.md +91 -0
- package/docs/list.md +39 -0
- package/docs/log.md +94 -0
- package/docs/manual.md +183 -0
- package/docs/navigation/header-and-transition.md +82 -0
- package/docs/navigation/location.md +68 -0
- package/docs/navigation/menu-items.md +152 -0
- package/docs/navigation/menu-structure.md +68 -0
- package/docs/navigation.md +23 -0
- package/docs/publish.md +26 -0
- package/docs/rules.md +246 -0
- package/docs/scenario.md +218 -0
- package/docs/spacing/placement.md +219 -0
- package/docs/spacing/radius.md +45 -0
- package/docs/spacing/scale.md +91 -0
- package/docs/spacing.md +17 -0
- package/docs/typography.md +233 -0
- package/docs/writing/date-and-number.md +25 -0
- package/docs/writing/error-and-empty.md +58 -0
- package/docs/writing/label-and-button.md +124 -0
- package/docs/writing/tone.md +156 -0
- package/docs/writing.md +27 -0
- package/icons/index.d.ts +1 -0
- package/icons/index.js +3 -0
- package/package.json +117 -4
- package/scripts/lint/colors.mjs +103 -0
- package/scripts/lint/deps.mjs +33 -0
- package/scripts/lint/icons.mjs +177 -0
- package/scripts/lint/interaction.mjs +163 -0
- package/scripts/lint/layout.mjs +103 -0
- package/scripts/lint/markup.mjs +271 -0
- package/scripts/lint/shared.mjs +340 -0
- package/scripts/lint/spacing.mjs +70 -0
- package/scripts/lint/typography.mjs +141 -0
- package/scripts/lint/writing.mjs +107 -0
- package/scripts/lint.mjs +166 -0
- package/scripts/plain-ui-lint.mjs +33 -0
- package/tokens/tokens.css +482 -0
- package/tokens/tokens.values.json +234 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useId } from "react";
|
|
3
|
+
import { CircleAlertIcon } from "lucide-react";
|
|
4
|
+
import { cn } from "../../lib/cn.js";
|
|
5
|
+
import { IconMessage } from "../../lib/icon-message.js";
|
|
6
|
+
import { Button } from "../button/Button.js";
|
|
7
|
+
import { Skeleton } from "../skeleton/Skeleton.js";
|
|
8
|
+
// 画像の生成に失敗したときに、ImageLoader と同じ場所に、同じ大きさで置く(docs/components/image-error.md)。
|
|
9
|
+
// 面と、背景の色の面に載せる並べ方は ImageLoader と同じにし、生成中から失敗に変わっても、配置を崩さない。
|
|
10
|
+
// 失敗は、色だけでなく、アイコンと「生成できませんでした」の文でも示す。アイコンと文の並べ方は FieldError、Banner と同じ(lib/icon-message.tsx)。
|
|
11
|
+
// 失敗した旨と理由は role="alert" の領域に入れ、出したときに1回だけ読ませる。ボタンは領域の外に置き、
|
|
12
|
+
// 並べて生成したときにボタンの名前まで何度も読ませない。ボタンは、失敗した旨の文を aria-describedby で指し、どの画像のやり直しかを伝える
|
|
13
|
+
export function ImageError({ message, onRetry, label = "画像を生成できませんでした", className }) {
|
|
14
|
+
const labelId = useId();
|
|
15
|
+
return (_jsxs("div", { className: cn("relative flex items-center justify-center", className), children: [_jsx(Skeleton, { className: "absolute inset-0" }), _jsxs("div", { className: "relative w-full max-w-60 space-y-4 rounded-md bg-background p-4", children: [_jsx("div", { role: "alert", children: _jsxs(IconMessage, { as: "div", icon: CircleAlertIcon, iconClassName: "text-danger-icon", contentClassName: "space-y-1", className: "text-foreground", children: [_jsx("p", { id: labelId, className: "font-medium", children: label }), _jsx("p", { className: "text-muted-foreground", children: message })] }) }), _jsx(Button, { onClick: onRetry, "aria-describedby": labelId, children: "\u3082\u3046\u4E00\u5EA6\u751F\u6210\u3059\u308B" })] })] }));
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ImageError.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ImageError.js";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface ImageLoaderProps {
|
|
2
|
+
/** 進んだ割合(0〜100)。まだ分からない間は省き、値なしのプログレスにする */
|
|
3
|
+
progress?: number;
|
|
4
|
+
/** 進行中の文言。プログレスの名前にもなる。省いたときは「画像を生成しています」 */
|
|
5
|
+
label?: string;
|
|
6
|
+
/** 生成する画像と同じ大きさ(aspect-square w-64 など)と外側の配置を渡す(Skeleton と同じ) */
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function ImageLoader({ progress, label, className }: ImageLoaderProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "../../lib/cn.js";
|
|
3
|
+
import { Progress } from "../progress/Progress.js";
|
|
4
|
+
import { Skeleton } from "../skeleton/Skeleton.js";
|
|
5
|
+
// 生成中の画像の場所に置き、生成した後の画像と同じ大きさの Skeleton の上に、進んだ割合と文言を重ねる(docs/components/image-loader.md)。
|
|
6
|
+
// 進み具合は Progress(role="progressbar")で示す。値なしの明滅と、ほかの動きは、動きを減らす設定では止まる(Progress の決まり)。
|
|
7
|
+
// Skeleton は自分では動かさない(docs/interaction/motion.md の「動き」の例外は、値なしのプログレスとスピナーだけ)
|
|
8
|
+
export function ImageLoader({ progress, label = "画像を生成しています", className }) {
|
|
9
|
+
return (_jsxs("div", { className: cn("relative flex items-center justify-center", className), children: [_jsx(Skeleton, { className: "absolute inset-0" }), _jsxs("div", { className: "relative w-full max-w-60 space-y-2 rounded-md bg-background p-4", children: [_jsx("p", { "aria-hidden": "true", className: "text-sm leading-tight text-foreground", children: label }), _jsx(Progress, { "aria-label": label, value: progress, max: 100, showValue: true })] })] }));
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ImageLoader.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ImageLoader.js";
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
export * from "./button/index.js";
|
|
2
|
+
export * from "./close-button/index.js";
|
|
3
|
+
export * from "./link-button/index.js";
|
|
4
|
+
export * from "./text-link/index.js";
|
|
5
|
+
export * from "./badge/index.js";
|
|
6
|
+
export * from "./chip/index.js";
|
|
7
|
+
export * from "./tag-group/index.js";
|
|
8
|
+
export * from "./composer-attachments/index.js";
|
|
9
|
+
export * from "./token-input/index.js";
|
|
10
|
+
export * from "./card/index.js";
|
|
11
|
+
export * from "./skeleton/index.js";
|
|
12
|
+
export * from "./label/index.js";
|
|
13
|
+
export * from "./input/index.js";
|
|
14
|
+
export * from "./otp-input/index.js";
|
|
15
|
+
export * from "./auth-card/index.js";
|
|
16
|
+
export * from "./textarea/index.js";
|
|
17
|
+
export * from "./time-field/index.js";
|
|
18
|
+
export * from "./file-upload/index.js";
|
|
19
|
+
export * from "./composer/index.js";
|
|
20
|
+
export * from "./field-error/index.js";
|
|
21
|
+
export * from "./table/index.js";
|
|
22
|
+
export * from "./data-table/index.js";
|
|
23
|
+
export * from "./data-grid/index.js";
|
|
24
|
+
export * from "./spinner/index.js";
|
|
25
|
+
export * from "./banner/index.js";
|
|
26
|
+
export * from "./error-summary/index.js";
|
|
27
|
+
export * from "./breadcrumb/index.js";
|
|
28
|
+
export * from "./empty-state/index.js";
|
|
29
|
+
export * from "./error-state/index.js";
|
|
30
|
+
export * from "./field/index.js";
|
|
31
|
+
export * from "./form-section/index.js";
|
|
32
|
+
export * from "./form-steps/index.js";
|
|
33
|
+
export * from "./question-form/index.js";
|
|
34
|
+
export * from "./header/index.js";
|
|
35
|
+
export * from "./nav-group/index.js";
|
|
36
|
+
export * from "./sidebar/index.js";
|
|
37
|
+
export * from "./skip-link/index.js";
|
|
38
|
+
export * from "./dialog/index.js";
|
|
39
|
+
export * from "./drawer/index.js";
|
|
40
|
+
export * from "./unsaved-changes/index.js";
|
|
41
|
+
export * from "./command-palette/index.js";
|
|
42
|
+
export * from "./settings-modal/index.js";
|
|
43
|
+
export * from "./tabs/index.js";
|
|
44
|
+
export * from "./accordion/index.js";
|
|
45
|
+
export * from "./carousel/index.js";
|
|
46
|
+
export * from "./menu/index.js";
|
|
47
|
+
export * from "./button-group/index.js";
|
|
48
|
+
export * from "./avatar/index.js";
|
|
49
|
+
export * from "./separator/index.js";
|
|
50
|
+
export * from "./popover/index.js";
|
|
51
|
+
export * from "./checkbox/index.js";
|
|
52
|
+
export * from "./select/index.js";
|
|
53
|
+
export * from "./combobox/index.js";
|
|
54
|
+
export * from "./composer-panel/index.js";
|
|
55
|
+
export * from "./tooltip/index.js";
|
|
56
|
+
export * from "./search-field/index.js";
|
|
57
|
+
export * from "./number-field/index.js";
|
|
58
|
+
export * from "./color-picker/index.js";
|
|
59
|
+
export * from "./tree-view/index.js";
|
|
60
|
+
export * from "./switch/index.js";
|
|
61
|
+
export * from "./slider/index.js";
|
|
62
|
+
export * from "./radio/index.js";
|
|
63
|
+
export * from "./toast/index.js";
|
|
64
|
+
export * from "./notification/index.js";
|
|
65
|
+
export * from "./notification-center/index.js";
|
|
66
|
+
export * from "./pagination/index.js";
|
|
67
|
+
export * from "./item-range/index.js";
|
|
68
|
+
export * from "./progress/index.js";
|
|
69
|
+
export * from "./meter/index.js";
|
|
70
|
+
export * from "./reply-loader/index.js";
|
|
71
|
+
export * from "./image-error/index.js";
|
|
72
|
+
export * from "./image-loader/index.js";
|
|
73
|
+
export * from "./calendar/index.js";
|
|
74
|
+
export * from "./date-picker/index.js";
|
|
75
|
+
export * from "./calendar-view/index.js";
|
|
76
|
+
export * from "./segmented-control/index.js";
|
|
77
|
+
export * from "./area-chart/index.js";
|
|
78
|
+
export * from "./bar-chart/index.js";
|
|
79
|
+
export * from "./bar-list/index.js";
|
|
80
|
+
export * from "./heatmap-chart/index.js";
|
|
81
|
+
export * from "./line-chart/index.js";
|
|
82
|
+
export * from "./funnel-chart/index.js";
|
|
83
|
+
export * from "./scatter-chart/index.js";
|
|
84
|
+
export * from "./combo-chart/index.js";
|
|
85
|
+
export * from "./radar-chart/index.js";
|
|
86
|
+
export * from "./radial-chart/index.js";
|
|
87
|
+
export * from "./contribution-chart/index.js";
|
|
88
|
+
export * from "./sankey-chart/index.js";
|
|
89
|
+
export * from "./stacked-bar/index.js";
|
|
90
|
+
export * from "./stat-card/index.js";
|
|
91
|
+
export * from "./task-list/index.js";
|
|
92
|
+
export * from "./agent-steps/index.js";
|
|
93
|
+
export * from "./agent-thinking/index.js";
|
|
94
|
+
export * from "./usage-limit/index.js";
|
|
95
|
+
export * from "./agent-form/index.js";
|
|
96
|
+
export * from "./web-search-results/index.js";
|
|
97
|
+
export type { ChartSeries } from "./chart/index.js";
|
|
98
|
+
export type { StatusVariant } from "../lib/variant.js";
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
// Plain UIのコンポーネントの書き出し口(@knk1313/plain-ui/components)
|
|
2
|
+
export * from "./button/index.js";
|
|
3
|
+
export * from "./close-button/index.js";
|
|
4
|
+
export * from "./link-button/index.js";
|
|
5
|
+
export * from "./text-link/index.js";
|
|
6
|
+
export * from "./badge/index.js";
|
|
7
|
+
export * from "./chip/index.js";
|
|
8
|
+
export * from "./tag-group/index.js";
|
|
9
|
+
export * from "./composer-attachments/index.js";
|
|
10
|
+
export * from "./token-input/index.js";
|
|
11
|
+
export * from "./card/index.js";
|
|
12
|
+
export * from "./skeleton/index.js";
|
|
13
|
+
export * from "./label/index.js";
|
|
14
|
+
export * from "./input/index.js";
|
|
15
|
+
export * from "./otp-input/index.js";
|
|
16
|
+
export * from "./auth-card/index.js";
|
|
17
|
+
export * from "./textarea/index.js";
|
|
18
|
+
export * from "./time-field/index.js";
|
|
19
|
+
export * from "./file-upload/index.js";
|
|
20
|
+
export * from "./composer/index.js";
|
|
21
|
+
export * from "./field-error/index.js";
|
|
22
|
+
export * from "./table/index.js";
|
|
23
|
+
export * from "./data-table/index.js";
|
|
24
|
+
export * from "./data-grid/index.js";
|
|
25
|
+
export * from "./spinner/index.js";
|
|
26
|
+
export * from "./banner/index.js";
|
|
27
|
+
export * from "./error-summary/index.js";
|
|
28
|
+
export * from "./breadcrumb/index.js";
|
|
29
|
+
export * from "./empty-state/index.js";
|
|
30
|
+
export * from "./error-state/index.js";
|
|
31
|
+
export * from "./field/index.js";
|
|
32
|
+
export * from "./form-section/index.js";
|
|
33
|
+
export * from "./form-steps/index.js";
|
|
34
|
+
export * from "./question-form/index.js";
|
|
35
|
+
export * from "./header/index.js";
|
|
36
|
+
export * from "./nav-group/index.js";
|
|
37
|
+
export * from "./sidebar/index.js";
|
|
38
|
+
export * from "./skip-link/index.js";
|
|
39
|
+
export * from "./dialog/index.js";
|
|
40
|
+
export * from "./drawer/index.js";
|
|
41
|
+
export * from "./unsaved-changes/index.js";
|
|
42
|
+
export * from "./command-palette/index.js";
|
|
43
|
+
export * from "./settings-modal/index.js";
|
|
44
|
+
export * from "./tabs/index.js";
|
|
45
|
+
export * from "./accordion/index.js";
|
|
46
|
+
export * from "./carousel/index.js";
|
|
47
|
+
export * from "./menu/index.js";
|
|
48
|
+
export * from "./button-group/index.js";
|
|
49
|
+
export * from "./avatar/index.js";
|
|
50
|
+
export * from "./separator/index.js";
|
|
51
|
+
export * from "./popover/index.js";
|
|
52
|
+
export * from "./checkbox/index.js";
|
|
53
|
+
export * from "./select/index.js";
|
|
54
|
+
export * from "./combobox/index.js";
|
|
55
|
+
export * from "./composer-panel/index.js";
|
|
56
|
+
export * from "./tooltip/index.js";
|
|
57
|
+
export * from "./search-field/index.js";
|
|
58
|
+
export * from "./number-field/index.js";
|
|
59
|
+
export * from "./color-picker/index.js";
|
|
60
|
+
export * from "./tree-view/index.js";
|
|
61
|
+
export * from "./switch/index.js";
|
|
62
|
+
export * from "./slider/index.js";
|
|
63
|
+
export * from "./radio/index.js";
|
|
64
|
+
export * from "./toast/index.js";
|
|
65
|
+
export * from "./notification/index.js";
|
|
66
|
+
export * from "./notification-center/index.js";
|
|
67
|
+
export * from "./pagination/index.js";
|
|
68
|
+
export * from "./item-range/index.js";
|
|
69
|
+
export * from "./progress/index.js";
|
|
70
|
+
export * from "./meter/index.js";
|
|
71
|
+
export * from "./reply-loader/index.js";
|
|
72
|
+
export * from "./image-error/index.js";
|
|
73
|
+
export * from "./image-loader/index.js";
|
|
74
|
+
export * from "./calendar/index.js";
|
|
75
|
+
export * from "./date-picker/index.js";
|
|
76
|
+
export * from "./calendar-view/index.js";
|
|
77
|
+
export * from "./segmented-control/index.js";
|
|
78
|
+
export * from "./area-chart/index.js";
|
|
79
|
+
export * from "./bar-chart/index.js";
|
|
80
|
+
export * from "./bar-list/index.js";
|
|
81
|
+
export * from "./heatmap-chart/index.js";
|
|
82
|
+
export * from "./line-chart/index.js";
|
|
83
|
+
export * from "./funnel-chart/index.js";
|
|
84
|
+
export * from "./scatter-chart/index.js";
|
|
85
|
+
export * from "./combo-chart/index.js";
|
|
86
|
+
export * from "./radar-chart/index.js";
|
|
87
|
+
export * from "./radial-chart/index.js";
|
|
88
|
+
export * from "./contribution-chart/index.js";
|
|
89
|
+
export * from "./sankey-chart/index.js";
|
|
90
|
+
export * from "./stacked-bar/index.js";
|
|
91
|
+
export * from "./stat-card/index.js";
|
|
92
|
+
export * from "./task-list/index.js";
|
|
93
|
+
export * from "./agent-steps/index.js";
|
|
94
|
+
export * from "./agent-thinking/index.js";
|
|
95
|
+
export * from "./usage-limit/index.js";
|
|
96
|
+
export * from "./agent-form/index.js";
|
|
97
|
+
export * from "./web-search-results/index.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type InputHTMLAttributes } from "react";
|
|
2
|
+
export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
+
/** 外側の配置(余白と幅)だけに使う */
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const Input: import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { inputClassName } from "./inputStyle.js";
|
|
4
|
+
// 枠線、フォーカス、無効、エラーの見た目は inputStyle.ts にまとめてある。
|
|
5
|
+
// ref は input の要素に渡す。React 18 でも ref を受け取れるように、forwardRef で包む(LinkButton と同じ形)
|
|
6
|
+
export const Input = forwardRef(function Input({ type = "text", className, ...props }, ref) {
|
|
7
|
+
return (_jsx("input", { ref: ref, type: type, className: inputClassName("text", className), ...props }));
|
|
8
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Input.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Input.js";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** 枠線と面 */
|
|
2
|
+
export declare const inputSurface = "border border-input bg-background";
|
|
3
|
+
/** フォーカスの輪。ブラウザーの既定の輪は消し、ボタンと同じ輪を描く */
|
|
4
|
+
export declare const inputFocus = "outline-none focus-visible:ring-2 focus-visible:ring-ring";
|
|
5
|
+
/** 無効の見た目。label の側で薄くする部品(Radio)は、ここを付けず、カーソルだけを変える */
|
|
6
|
+
export declare const inputDisabled = "disabled:cursor-not-allowed disabled:opacity-50";
|
|
7
|
+
/** エラー。aria-invalid を付けた間だけ、枠線を danger-icon にする */
|
|
8
|
+
export declare const inputInvalid = "aria-invalid:border-danger-icon";
|
|
9
|
+
/** まだ入力していないときの文字(placeholder)。Select の未選択と同じ muted-foreground にする */
|
|
10
|
+
export declare const inputPlaceholder = "placeholder:text-muted-foreground";
|
|
11
|
+
export type InputShape = "text" | "picker" | "multiline";
|
|
12
|
+
export declare function inputClassName(shape: InputShape, className?: string): string;
|
|
13
|
+
export declare function inputFrameClassName(className?: string): string;
|
|
14
|
+
export declare function inputFieldClassName(className?: string): string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { cn } from "../../lib/cn.js";
|
|
2
|
+
// 入力欄が共有する見た目(枠線、フォーカス、無効、エラー)。クラスはここだけに書き、部品ごとに写さない(#88)。
|
|
3
|
+
// Button の buttonStyle と同じく、components/index.ts からは書き出さない(部品の内部で使う)
|
|
4
|
+
// 状態ごとのクラス。Tailwind がクラスを読み取れるように、クラス名は組み立てずにそのまま書く。
|
|
5
|
+
// 入力欄そのもの(input、textarea、select)に付ける。Radio のように、決まった形の箱に合わないものは、ここから必要な分を選んで付ける
|
|
6
|
+
/** 枠線と面 */
|
|
7
|
+
export const inputSurface = "border border-input bg-background";
|
|
8
|
+
/** フォーカスの輪。ブラウザーの既定の輪は消し、ボタンと同じ輪を描く */
|
|
9
|
+
export const inputFocus = "outline-none focus-visible:ring-2 focus-visible:ring-ring";
|
|
10
|
+
/** 無効の見た目。label の側で薄くする部品(Radio)は、ここを付けず、カーソルだけを変える */
|
|
11
|
+
export const inputDisabled = "disabled:cursor-not-allowed disabled:opacity-50";
|
|
12
|
+
/** エラー。aria-invalid を付けた間だけ、枠線を danger-icon にする */
|
|
13
|
+
export const inputInvalid = "aria-invalid:border-danger-icon";
|
|
14
|
+
/** まだ入力していないときの文字(placeholder)。Select の未選択と同じ muted-foreground にする */
|
|
15
|
+
export const inputPlaceholder = "placeholder:text-muted-foreground";
|
|
16
|
+
const shapes = {
|
|
17
|
+
text: "min-h-11 px-4 py-2",
|
|
18
|
+
picker: "min-h-11 truncate py-2 pl-4 pr-8",
|
|
19
|
+
multiline: "min-h-24 max-h-60 resize-y field-sizing-content px-4 py-2 leading-relaxed",
|
|
20
|
+
};
|
|
21
|
+
// 入力欄の見た目のクラスを返す。className は、部品の中で足す振る舞いのクラス(peer、appearance-none など)と、外側の配置(余白と幅)だけに使う。
|
|
22
|
+
// 入力欄の文字は、画面の密度にかかわらず text-base にする(docs/typography.md)
|
|
23
|
+
export function inputClassName(shape, className) {
|
|
24
|
+
return cn("block w-full rounded-md text-base text-foreground", inputSurface, inputFocus, inputDisabled, inputInvalid, inputPlaceholder, shapes[shape], className);
|
|
25
|
+
}
|
|
26
|
+
// 入力欄を中に持ち、前後にアイコンやボタンを並べる箱(SearchField)の見た目のクラスを返す。
|
|
27
|
+
// 枠線とフォーカスの輪は、中の入力欄ではなく箱に描く。状態は中の input から :has() で読む。
|
|
28
|
+
// 中の input には枠線と輪を付けず、inputFieldClassName を付ける
|
|
29
|
+
export function inputFrameClassName(className) {
|
|
30
|
+
return cn("flex min-h-11 w-full items-center gap-2 rounded-md text-foreground", inputSurface, "has-[input:focus-visible]:ring-2 has-[input:focus-visible]:ring-ring", "has-[input:disabled]:cursor-not-allowed has-[input:disabled]:opacity-50", "has-[input[aria-invalid=true]]:border-danger-icon", className);
|
|
31
|
+
}
|
|
32
|
+
// inputFrameClassName の箱の中に置く input の見た目のクラスを返す。面と枠線は箱に任せ、残りの幅を埋める
|
|
33
|
+
export function inputFieldClassName(className) {
|
|
34
|
+
return cn("min-w-0 flex-1 self-stretch bg-transparent py-2 text-base outline-none disabled:cursor-not-allowed", inputPlaceholder, className);
|
|
35
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface ItemRangeProps {
|
|
2
|
+
/** 全体の件数 */
|
|
3
|
+
total: number;
|
|
4
|
+
/** 今のページ。1から数える */
|
|
5
|
+
page: number;
|
|
6
|
+
/** 1ページに見せる件数 */
|
|
7
|
+
pageSize: number;
|
|
8
|
+
/** 外側の配置(余白と幅)だけに使う */
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function ItemRange({ total, page, pageSize, className }: ItemRangeProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "../../lib/cn.js";
|
|
3
|
+
import { formatNumber } from "../../lib/number.js";
|
|
4
|
+
// 一覧の上に置く、全体の件数と今のページで見せている範囲(「1,234件中 51〜100件」、docs/list.md)。
|
|
5
|
+
// 全体が1ページに収まるときと、今のページに見せる項目がないときは、範囲を書かず件数だけにする
|
|
6
|
+
export function ItemRange({ total, page, pageSize, className }) {
|
|
7
|
+
const from = (page - 1) * pageSize + 1;
|
|
8
|
+
const to = Math.min(page * pageSize, total);
|
|
9
|
+
const text = total <= pageSize || from < 1 || from > total
|
|
10
|
+
? `${formatNumber(total)}件`
|
|
11
|
+
: `${formatNumber(total)}件中 ${formatNumber(from)}〜${formatNumber(to)}件`;
|
|
12
|
+
return _jsx("p", { className: cn("text-sm text-muted-foreground", className), children: text });
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ItemRange.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ItemRange.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { LabelHTMLAttributes } from "react";
|
|
2
|
+
export interface LabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
|
|
3
|
+
/** 必須の項目。記号ではなく、ラベルの後ろに「(必須)」と書いて示す */
|
|
4
|
+
required?: boolean;
|
|
5
|
+
/** 外側の配置(余白と幅)だけに使う */
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function Label({ required, className, children, ...props }: LabelProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "../../lib/cn.js";
|
|
3
|
+
export function Label({ required, className, children, ...props }) {
|
|
4
|
+
return (_jsxs("label", { className: cn("block text-sm font-medium leading-tight text-foreground", className), ...props, children: [children, required && _jsx("span", { className: "font-normal text-muted-foreground", children: "\uFF08\u5FC5\u9808\uFF09" })] }));
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Label.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Label.js";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ChartProps } from "../chart/types.js";
|
|
2
|
+
export interface LineChartProps extends ChartProps {
|
|
3
|
+
/**
|
|
4
|
+
* 値の軸を 0 から始めるか。省いたときは true。
|
|
5
|
+
* false にすると、値の範囲に合わせて 0 より上から始め、端の目盛りの線に省略の印を付ける。
|
|
6
|
+
* 量ではなく、変化の形を読ませたいときだけに使う(docs/chart/axis.md の CHART-003)
|
|
7
|
+
*/
|
|
8
|
+
includeZero?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function LineChart({ includeZero, ...props }: LineChartProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { CategoryAxis, HoverGuide, ValueAxis, layoutPlot } from "../chart/Axis.js";
|
|
4
|
+
import { ChartFrame } from "../chart/ChartFrame.js";
|
|
5
|
+
import { ChartTooltip } from "../chart/ChartTooltip.js";
|
|
6
|
+
import { formatValue } from "../chart/format.js";
|
|
7
|
+
import { linePath } from "../chart/line.js";
|
|
8
|
+
import { valueRange } from "../chart/scale.js";
|
|
9
|
+
import { LineSwatch, MARKER_MIN_BAND, SERIES_DASH, SERIES_STROKE, SeriesMarker, seriesIndex } from "../chart/series.js";
|
|
10
|
+
import { ChartTooltipContent, useChartHover } from "../chart/useChartHover.js";
|
|
11
|
+
// 時間に沿った推移を、折れ線で示す。系列は、色に加えて線の種類と印の形で描き分ける(docs/chart/color.md の CHART-002)。
|
|
12
|
+
// 値のない項目(null)では線を切り、前後をつながない
|
|
13
|
+
export function LineChart({ includeZero = true, ...props }) {
|
|
14
|
+
return (_jsx(ChartFrame, { ...props, component: "LineChart", swatch: i => _jsx(LineSwatch, { index: i }), children: size => _jsx(LinePlot, { ...props, includeZero: includeZero, ...size }) }));
|
|
15
|
+
}
|
|
16
|
+
function points(values, x, scale) {
|
|
17
|
+
return values.flatMap((value, i) => (typeof value === "number" && Number.isFinite(value) ? [{ i, x: x(i), y: scale.y(value) }] : []));
|
|
18
|
+
}
|
|
19
|
+
function LinePlot({ labels, series, unit, includeZero, width, height }) {
|
|
20
|
+
const { plot, scale } = layoutPlot(valueRange(series), width, height, includeZero);
|
|
21
|
+
const hover = useChartHover(plot, labels.length);
|
|
22
|
+
const band = plot.width / Math.max(labels.length, 1);
|
|
23
|
+
const x = (i) => plot.left + band * (i + 0.5);
|
|
24
|
+
const active = hover.index;
|
|
25
|
+
const allMarkers = band >= MARKER_MIN_BAND;
|
|
26
|
+
return (_jsxs(_Fragment, { children: [_jsxs("svg", { "aria-hidden": "true", width: width, height: height, className: "block overflow-visible", children: [_jsx(ValueAxis, { plot: plot, scale: scale }), active !== null && _jsx(HoverGuide, { plot: plot, x: x(active) }), series.map((s, i) => (_jsxs("g", { children: [_jsx("path", { d: linePath(s.values, x, scale.y), fill: "none", strokeWidth: "2", strokeLinejoin: "round", strokeLinecap: "round", strokeDasharray: SERIES_DASH[seriesIndex(i)], className: SERIES_STROKE[seriesIndex(i)] }), points(s.values, x, scale)
|
|
27
|
+
.filter(p => allMarkers || p.i === active)
|
|
28
|
+
.map(p => _jsx(SeriesMarker, { index: i, x: p.x, y: p.y, size: p.i === active ? 10 : 8 }, p.i))] }, i))), _jsx(CategoryAxis, { plot: plot, labels: labels }), _jsx("rect", { x: plot.left, y: plot.top, width: plot.width, height: plot.height, fill: "transparent", ...hover.handlers })] }), _jsx(ChartTooltip, { position: hover.position, onDismiss: hover.dismiss, children: active !== null && (_jsx(ChartTooltipContent, { label: labels[active] ?? "", rows: series.map((s, i) => ({ name: s.name, swatch: _jsx(LineSwatch, { index: i }), value: formatValue(s.values[active] ?? null, unit) })) })) })] }));
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./LineChart.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./LineChart.js";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type AnchorHTMLAttributes, type ReactElement, type ReactNode } from "react";
|
|
2
|
+
import { type ButtonSize, type ButtonVariant } from "../button/buttonStyle.js";
|
|
3
|
+
interface LinkButtonBaseProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "children"> {
|
|
4
|
+
/** Button と同じ値。省いたときは secondary。primary は1つの画面やダイアログに1つだけ */
|
|
5
|
+
variant?: ButtonVariant;
|
|
6
|
+
/** Button と同じ値。どの値でも、押せる範囲を44px以上にする。icon のときは aria-label を必ず付ける */
|
|
7
|
+
size?: ButtonSize;
|
|
8
|
+
/** 外側の配置(余白と幅)だけに使う。部品の見た目は上書きしない */
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
interface LinkButtonAnchorProps extends LinkButtonBaseProps {
|
|
12
|
+
/** 移動先のURL */
|
|
13
|
+
href: string;
|
|
14
|
+
asChild?: false;
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
}
|
|
17
|
+
interface LinkButtonAsChildProps extends LinkButtonBaseProps {
|
|
18
|
+
/** href は子要素(ルーターのリンク)に渡す */
|
|
19
|
+
href?: never;
|
|
20
|
+
/** 子要素1つに、ボタンの見た目を付ける。ルーターのリンク(Next.js の Link など)に使う */
|
|
21
|
+
asChild: true;
|
|
22
|
+
/** `<a>` を出すリンクの要素を1つだけ渡す */
|
|
23
|
+
children: ReactElement<{
|
|
24
|
+
children?: ReactNode;
|
|
25
|
+
}>;
|
|
26
|
+
}
|
|
27
|
+
export type LinkButtonProps = LinkButtonAnchorProps | LinkButtonAsChildProps;
|
|
28
|
+
export declare const LinkButton: import("react").ForwardRefExoticComponent<LinkButtonProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { cloneElement, forwardRef, isValidElement } from "react";
|
|
3
|
+
import { Slot } from "../../lib/slot.js";
|
|
4
|
+
import { buttonClassName, trimText, useIconLabelWarning } from "../button/buttonStyle.js";
|
|
5
|
+
// ボタンの見た目で、ページを移動するリンク(docs/components/prohibitions.md の「ボタンとリンクを取り違えない」)。
|
|
6
|
+
// 見た目のクラスは Button と共有する(components/button/buttonStyle.tsx)
|
|
7
|
+
export const LinkButton = forwardRef(function LinkButton({ variant = "secondary", size = "md", className, asChild, children, ...props }, ref) {
|
|
8
|
+
useIconLabelWarning("LinkButton", size, props);
|
|
9
|
+
const classes = buttonClassName(variant, size, className);
|
|
10
|
+
if (asChild && isValidElement(children)) {
|
|
11
|
+
// 子要素の中の文字も、Button と同じく text-trim で包む
|
|
12
|
+
return (_jsx(Slot, { ref: ref, className: classes, ...props, children: cloneElement(children, undefined, trimText(children.props.children)) }));
|
|
13
|
+
}
|
|
14
|
+
return (_jsx("a", { ref: ref, className: classes, ...props, children: trimText(children) }));
|
|
15
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./LinkButton.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./LinkButton.js";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type ButtonHTMLAttributes, type ReactNode } from "react";
|
|
2
|
+
import { type ButtonVariant } from "../button/Button.js";
|
|
3
|
+
export interface MenuProps {
|
|
4
|
+
/** 開くボタンの名前。icon を渡したときは、ボタンの aria-label になる */
|
|
5
|
+
label: string;
|
|
6
|
+
/** 渡すと、アイコンだけのボタン(ghost、size="icon")で開く。行の操作のメニューに使う */
|
|
7
|
+
icon?: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* 開くボタンの見た目。省いたときは secondary(icon を渡したときは、いつも ghost)。
|
|
10
|
+
* 並びに溶け込ませたいボタン(タブの並びの末尾の「その他のタブ」)だけを ghost にする
|
|
11
|
+
*/
|
|
12
|
+
variant?: Extract<ButtonVariant, "secondary" | "ghost">;
|
|
13
|
+
/** MenuItem を2つ以上並べる。破壊的な項目は、MenuSeparator の後ろの末尾に置く */
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
/** 開くボタンの外側の配置(余白と幅)だけに使う */
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare function Menu({ label, icon, variant, children, className }: MenuProps): import("react").JSX.Element;
|
|
19
|
+
export interface MenuItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
20
|
+
/** 省いたときは ghost。削除のような破壊的な操作は danger にし、MenuSeparator の後ろの末尾に置く */
|
|
21
|
+
variant?: Extract<ButtonVariant, "ghost" | "danger">;
|
|
22
|
+
/**
|
|
23
|
+
* 押せなくする。矢印キーでは止まり、押しても何もしない(disabled の属性ではなく aria-disabled にする)。
|
|
24
|
+
* 権限がなくて押せないときは、description に押せない理由と権限の得方を書く(docs/interaction/permissions.md の権限)
|
|
25
|
+
*/
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
/** 項目の下に出す補足。押せない理由と権限の得方など。項目に aria-describedby で結ぶ */
|
|
28
|
+
description?: string;
|
|
29
|
+
/** 外側の配置だけに使う */
|
|
30
|
+
className?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare function MenuItem({ variant, type, disabled, description, className, children, onClick, ...props }: MenuItemProps): import("react").JSX.Element;
|
|
33
|
+
export declare function MenuSeparator(): import("react").JSX.Element;
|