@octaviaflow/core 3.0.18-beta.0 → 3.0.18
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/dist/components/Accordion/Accordion.d.ts +45 -0
- package/dist/components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/Accordion/index.d.ts +2 -0
- package/dist/components/Accordion/index.d.ts.map +1 -0
- package/dist/components/AgentCard/AgentCard.d.ts +53 -7
- package/dist/components/AgentCard/AgentCard.d.ts.map +1 -1
- package/dist/components/AlertCard/AlertCard.d.ts +76 -0
- package/dist/components/AlertCard/AlertCard.d.ts.map +1 -0
- package/dist/components/AlertCard/index.d.ts +2 -0
- package/dist/components/AlertCard/index.d.ts.map +1 -0
- package/dist/components/AuthCard/AuthCard.d.ts +29 -42
- package/dist/components/AuthCard/AuthCard.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.d.ts +48 -11
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar/index.d.ts +1 -1
- package/dist/components/Avatar/index.d.ts.map +1 -1
- package/dist/components/Badge/Badge.d.ts +46 -8
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Banner/Banner.d.ts +53 -6
- package/dist/components/Banner/Banner.d.ts.map +1 -1
- package/dist/components/Banner/index.d.ts +1 -1
- package/dist/components/Banner/index.d.ts.map +1 -1
- package/dist/components/BarChart/BarChart.d.ts +62 -5
- package/dist/components/BarChart/BarChart.d.ts.map +1 -1
- package/dist/components/BarChart/index.d.ts +1 -1
- package/dist/components/BarChart/index.d.ts.map +1 -1
- package/dist/components/BlogCard/BlogCard.d.ts +39 -4
- package/dist/components/BlogCard/BlogCard.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +23 -5
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Calendar/Calendar.d.ts +53 -4
- package/dist/components/Calendar/Calendar.d.ts.map +1 -1
- package/dist/components/CalendarHeatmap/CalendarHeatmap.d.ts +47 -0
- package/dist/components/CalendarHeatmap/CalendarHeatmap.d.ts.map +1 -0
- package/dist/components/CalendarHeatmap/index.d.ts +2 -0
- package/dist/components/CalendarHeatmap/index.d.ts.map +1 -0
- package/dist/components/Callout/Callout.d.ts +33 -7
- package/dist/components/Callout/Callout.d.ts.map +1 -1
- package/dist/components/Callout/index.d.ts +1 -1
- package/dist/components/Callout/index.d.ts.map +1 -1
- package/dist/components/Card/Card.d.ts +49 -8
- package/dist/components/Card/Card.d.ts.map +1 -1
- package/dist/components/Card/index.d.ts +1 -1
- package/dist/components/Card/index.d.ts.map +1 -1
- package/dist/components/ChatBubble/ChatBubble.d.ts +32 -7
- package/dist/components/ChatBubble/ChatBubble.d.ts.map +1 -1
- package/dist/components/ChatBubble/index.d.ts +1 -1
- package/dist/components/ChatBubble/index.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +16 -3
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Checkbox/index.d.ts +1 -1
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Chip/Chip.d.ts +28 -9
- package/dist/components/Chip/Chip.d.ts.map +1 -1
- package/dist/components/Chip/index.d.ts +1 -1
- package/dist/components/Chip/index.d.ts.map +1 -1
- package/dist/components/ChoiceCard/ChoiceCard.d.ts +44 -6
- package/dist/components/ChoiceCard/ChoiceCard.d.ts.map +1 -1
- package/dist/components/ChoiceCard/index.d.ts +1 -1
- package/dist/components/ChoiceCard/index.d.ts.map +1 -1
- package/dist/components/Coachmark/Coachmark.d.ts +52 -0
- package/dist/components/Coachmark/Coachmark.d.ts.map +1 -0
- package/dist/components/Coachmark/index.d.ts +2 -0
- package/dist/components/Coachmark/index.d.ts.map +1 -0
- package/dist/components/CodeEditor/CodeEditor.d.ts +10 -1
- package/dist/components/CodeEditor/CodeEditor.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPicker.d.ts +25 -6
- package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/dist/components/ColorPicker/index.d.ts +1 -1
- package/dist/components/ColorPicker/index.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPalette.d.ts +64 -0
- package/dist/components/CommandPalette/CommandPalette.d.ts.map +1 -0
- package/dist/components/CommandPalette/index.d.ts +2 -0
- package/dist/components/CommandPalette/index.d.ts.map +1 -0
- package/dist/components/ConditionBuilder/ConditionBuilder.d.ts +24 -4
- package/dist/components/ConditionBuilder/ConditionBuilder.d.ts.map +1 -1
- package/dist/components/ConfigPanel/ConfigPanel.d.ts +18 -12
- package/dist/components/ConfigPanel/ConfigPanel.d.ts.map +1 -1
- package/dist/components/ConfigPanel/index.d.ts +1 -1
- package/dist/components/ConfigPanel/index.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.d.ts +47 -0
- package/dist/components/ConfirmDialog/ConfirmDialog.d.ts.map +1 -0
- package/dist/components/ConfirmDialog/index.d.ts +2 -0
- package/dist/components/ConfirmDialog/index.d.ts.map +1 -0
- package/dist/components/ConnectorCard/ConnectorCard.d.ts +49 -0
- package/dist/components/ConnectorCard/ConnectorCard.d.ts.map +1 -0
- package/dist/components/ConnectorCard/index.d.ts +2 -0
- package/dist/components/ConnectorCard/index.d.ts.map +1 -0
- package/dist/components/ContextMenu/ContextMenu.d.ts +46 -0
- package/dist/components/ContextMenu/ContextMenu.d.ts.map +1 -0
- package/dist/components/ContextMenu/index.d.ts +2 -0
- package/dist/components/ContextMenu/index.d.ts.map +1 -0
- package/dist/components/CountUp/CountUp.d.ts +35 -0
- package/dist/components/CountUp/CountUp.d.ts.map +1 -0
- package/dist/components/CountUp/index.d.ts +2 -0
- package/dist/components/CountUp/index.d.ts.map +1 -0
- package/dist/components/DataMapper/DataMapper.d.ts +3 -3
- package/dist/components/DataMapper/DataMapper.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.d.ts +35 -3
- package/dist/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/components/DatasetCard/DatasetCard.d.ts +55 -0
- package/dist/components/DatasetCard/DatasetCard.d.ts.map +1 -0
- package/dist/components/DatasetCard/index.d.ts +2 -0
- package/dist/components/DatasetCard/index.d.ts.map +1 -0
- package/dist/components/DatePicker/DatePicker.d.ts +18 -5
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/components/DatePicker/index.d.ts +1 -1
- package/dist/components/DatePicker/index.d.ts.map +1 -1
- package/dist/components/DescriptionList/DescriptionList.d.ts +10 -6
- package/dist/components/DescriptionList/DescriptionList.d.ts.map +1 -1
- package/dist/components/DescriptionList/index.d.ts +1 -1
- package/dist/components/DescriptionList/index.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.d.ts +13 -5
- package/dist/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog/index.d.ts +1 -1
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/Divider/Divider.d.ts +24 -0
- package/dist/components/Divider/Divider.d.ts.map +1 -0
- package/dist/components/Divider/index.d.ts +2 -0
- package/dist/components/Divider/index.d.ts.map +1 -0
- package/dist/components/DonutChart/DonutChart.d.ts +32 -4
- package/dist/components/DonutChart/DonutChart.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.d.ts +12 -5
- package/dist/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/components/Drawer/index.d.ts +1 -1
- package/dist/components/Drawer/index.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +16 -6
- package/dist/components/EmptyState/EmptyState.d.ts.map +1 -1
- package/dist/components/EmptyState/index.d.ts +1 -1
- package/dist/components/EmptyState/index.d.ts.map +1 -1
- package/dist/components/FeatureCard/FeatureCard.d.ts +29 -10
- package/dist/components/FeatureCard/FeatureCard.d.ts.map +1 -1
- package/dist/components/FileDropzone/FileDropzone.d.ts +3 -3
- package/dist/components/FileDropzone/FileDropzone.d.ts.map +1 -1
- package/dist/components/Gauge/Gauge.d.ts +46 -0
- package/dist/components/Gauge/Gauge.d.ts.map +1 -0
- package/dist/components/Gauge/index.d.ts +2 -0
- package/dist/components/Gauge/index.d.ts.map +1 -0
- package/dist/components/Grid/Grid.d.ts +46 -0
- package/dist/components/Grid/Grid.d.ts.map +1 -0
- package/dist/components/Grid/index.d.ts +2 -0
- package/dist/components/Grid/index.d.ts.map +1 -0
- package/dist/components/Heatmap/Heatmap.d.ts +54 -0
- package/dist/components/Heatmap/Heatmap.d.ts.map +1 -0
- package/dist/components/Heatmap/index.d.ts +2 -0
- package/dist/components/Heatmap/index.d.ts.map +1 -0
- package/dist/components/IconCard/IconCard.d.ts +24 -6
- package/dist/components/IconCard/IconCard.d.ts.map +1 -1
- package/dist/components/IconCard/index.d.ts +1 -1
- package/dist/components/IconCard/index.d.ts.map +1 -1
- package/dist/components/InlineMessage/InlineMessage.d.ts +24 -0
- package/dist/components/InlineMessage/InlineMessage.d.ts.map +1 -0
- package/dist/components/InlineMessage/index.d.ts +2 -0
- package/dist/components/InlineMessage/index.d.ts.map +1 -0
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/IntegrationCard/IntegrationCard.d.ts +69 -0
- package/dist/components/IntegrationCard/IntegrationCard.d.ts.map +1 -0
- package/dist/components/IntegrationCard/index.d.ts +2 -0
- package/dist/components/IntegrationCard/index.d.ts.map +1 -0
- package/dist/components/JsonViewer/JsonViewer.d.ts +10 -4
- package/dist/components/JsonViewer/JsonViewer.d.ts.map +1 -1
- package/dist/components/KanbanCard/KanbanCard.d.ts +40 -7
- package/dist/components/KanbanCard/KanbanCard.d.ts.map +1 -1
- package/dist/components/Kbd/Kbd.d.ts +8 -9
- package/dist/components/Kbd/Kbd.d.ts.map +1 -1
- package/dist/components/Kbd/index.d.ts +1 -1
- package/dist/components/Kbd/index.d.ts.map +1 -1
- package/dist/components/LineChart/LineChart.d.ts +42 -4
- package/dist/components/LineChart/LineChart.d.ts.map +1 -1
- package/dist/components/LineChart/index.d.ts +1 -1
- package/dist/components/LineChart/index.d.ts.map +1 -1
- package/dist/components/LinkButton/LinkButton.d.ts +16 -4
- package/dist/components/LinkButton/LinkButton.d.ts.map +1 -1
- package/dist/components/LinkButton/index.d.ts +1 -1
- package/dist/components/LinkButton/index.d.ts.map +1 -1
- package/dist/components/MetricCard/MetricCard.d.ts +71 -0
- package/dist/components/MetricCard/MetricCard.d.ts.map +1 -0
- package/dist/components/MetricCard/index.d.ts +2 -0
- package/dist/components/MetricCard/index.d.ts.map +1 -0
- package/dist/components/MonacoEditor/MonacoDiffEditor.d.ts +22 -5
- package/dist/components/MonacoEditor/MonacoDiffEditor.d.ts.map +1 -1
- package/dist/components/MonacoEditor/MonacoEditor.d.ts +28 -7
- package/dist/components/MonacoEditor/MonacoEditor.d.ts.map +1 -1
- package/dist/components/MonacoEditor/index.d.ts +2 -2
- package/dist/components/MonacoEditor/index.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelect.d.ts +23 -7
- package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/components/MultiSelect/index.d.ts +1 -1
- package/dist/components/MultiSelect/index.d.ts.map +1 -1
- package/dist/components/NumberInput/NumberInput.d.ts +13 -7
- package/dist/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/components/NumberInput/index.d.ts +1 -1
- package/dist/components/NumberInput/index.d.ts.map +1 -1
- package/dist/components/OTPInput/OTPInput.d.ts +27 -4
- package/dist/components/OTPInput/OTPInput.d.ts.map +1 -1
- package/dist/components/OTPInput/index.d.ts +1 -1
- package/dist/components/OTPInput/index.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.d.ts +50 -0
- package/dist/components/Pagination/Pagination.d.ts.map +1 -0
- package/dist/components/Pagination/index.d.ts +2 -0
- package/dist/components/Pagination/index.d.ts.map +1 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts +22 -7
- package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
- package/dist/components/PasswordInput/index.d.ts +1 -1
- package/dist/components/PasswordInput/index.d.ts.map +1 -1
- package/dist/components/PhoneInput/PhoneInput.d.ts +19 -6
- package/dist/components/PhoneInput/PhoneInput.d.ts.map +1 -1
- package/dist/components/PhoneInput/countries.d.ts +15 -0
- package/dist/components/PhoneInput/countries.d.ts.map +1 -0
- package/dist/components/PhoneInput/index.d.ts +2 -1
- package/dist/components/PhoneInput/index.d.ts.map +1 -1
- package/dist/components/PipelineCard/PipelineCard.d.ts +100 -0
- package/dist/components/PipelineCard/PipelineCard.d.ts.map +1 -0
- package/dist/components/PipelineCard/index.d.ts +2 -0
- package/dist/components/PipelineCard/index.d.ts.map +1 -0
- package/dist/components/Popover/Popover.d.ts +5 -1
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/PricingCard/PricingCard.d.ts +28 -5
- package/dist/components/PricingCard/PricingCard.d.ts.map +1 -1
- package/dist/components/ProductCard/ProductCard.d.ts +35 -4
- package/dist/components/ProductCard/ProductCard.d.ts.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.d.ts +28 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/dist/components/ProgressBar/index.d.ts +2 -0
- package/dist/components/ProgressBar/index.d.ts.map +1 -0
- package/dist/components/ProgressRing/ProgressRing.d.ts +22 -5
- package/dist/components/ProgressRing/ProgressRing.d.ts.map +1 -1
- package/dist/components/ProgressRing/index.d.ts +1 -1
- package/dist/components/ProgressRing/index.d.ts.map +1 -1
- package/dist/components/PromptInput/PromptInput.d.ts +59 -16
- package/dist/components/PromptInput/PromptInput.d.ts.map +1 -1
- package/dist/components/PromptInput/index.d.ts +1 -1
- package/dist/components/PromptInput/index.d.ts.map +1 -1
- package/dist/components/Quote/Quote.d.ts +20 -6
- package/dist/components/Quote/Quote.d.ts.map +1 -1
- package/dist/components/Quote/index.d.ts +1 -1
- package/dist/components/Quote/index.d.ts.map +1 -1
- package/dist/components/Radio/Radio.d.ts +12 -5
- package/dist/components/Radio/Radio.d.ts.map +1 -1
- package/dist/components/Radio/RadioGroup.d.ts +16 -15
- package/dist/components/Radio/RadioGroup.d.ts.map +1 -1
- package/dist/components/Radio/index.d.ts +2 -2
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/RangeSlider/RangeSlider.d.ts +18 -5
- package/dist/components/RangeSlider/RangeSlider.d.ts.map +1 -1
- package/dist/components/RangeSlider/index.d.ts +1 -1
- package/dist/components/RangeSlider/index.d.ts.map +1 -1
- package/dist/components/Rating/BinaryRating.d.ts +40 -0
- package/dist/components/Rating/BinaryRating.d.ts.map +1 -0
- package/dist/components/Rating/Rating.d.ts +21 -6
- package/dist/components/Rating/Rating.d.ts.map +1 -1
- package/dist/components/Rating/index.d.ts +2 -1
- package/dist/components/Rating/index.d.ts.map +1 -1
- package/dist/components/Resizable/Resizable.d.ts +32 -36
- package/dist/components/Resizable/Resizable.d.ts.map +1 -1
- package/dist/components/Resizable/index.d.ts +1 -1
- package/dist/components/Resizable/index.d.ts.map +1 -1
- package/dist/components/Ribbon/Ribbon.d.ts +12 -6
- package/dist/components/Ribbon/Ribbon.d.ts.map +1 -1
- package/dist/components/Ribbon/index.d.ts +1 -1
- package/dist/components/Ribbon/index.d.ts.map +1 -1
- package/dist/components/Sankey/Sankey.d.ts +53 -0
- package/dist/components/Sankey/Sankey.d.ts.map +1 -0
- package/dist/components/Sankey/index.d.ts +2 -0
- package/dist/components/Sankey/index.d.ts.map +1 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts +33 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts.map +1 -0
- package/dist/components/ScrollArea/index.d.ts +2 -0
- package/dist/components/ScrollArea/index.d.ts.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +38 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts.map +1 -0
- package/dist/components/SegmentedControl/index.d.ts +2 -0
- package/dist/components/SegmentedControl/index.d.ts.map +1 -0
- package/dist/components/Select/Select.d.ts +19 -1
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Sheet/Sheet.d.ts.map +1 -1
- package/dist/components/Show/Show.d.ts +35 -0
- package/dist/components/Show/Show.d.ts.map +1 -0
- package/dist/components/Show/index.d.ts +2 -0
- package/dist/components/Show/index.d.ts.map +1 -0
- package/dist/components/Sidebar/Sidebar.d.ts +7 -8
- package/dist/components/Sidebar/Sidebar.d.ts.map +1 -1
- package/dist/components/Skeleton/Skeleton.d.ts +43 -5
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/components/Skeleton/index.d.ts +1 -1
- package/dist/components/Skeleton/index.d.ts.map +1 -1
- package/dist/components/Slider/Slider.d.ts +26 -7
- package/dist/components/Slider/Slider.d.ts.map +1 -1
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/SocialButton/SocialButton.d.ts +23 -5
- package/dist/components/SocialButton/SocialButton.d.ts.map +1 -1
- package/dist/components/SocialButton/index.d.ts +1 -1
- package/dist/components/SocialButton/index.d.ts.map +1 -1
- package/dist/components/Sortable/Sortable.d.ts +14 -6
- package/dist/components/Sortable/Sortable.d.ts.map +1 -1
- package/dist/components/Sparkline/Sparkline.d.ts +38 -3
- package/dist/components/Sparkline/Sparkline.d.ts.map +1 -1
- package/dist/components/Sparkline/index.d.ts +1 -1
- package/dist/components/Sparkline/index.d.ts.map +1 -1
- package/dist/components/Spinner/Spinner.d.ts +14 -5
- package/dist/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/components/Spinner/index.d.ts +1 -1
- package/dist/components/Spinner/index.d.ts.map +1 -1
- package/dist/components/Spotlight/Spotlight.d.ts +37 -0
- package/dist/components/Spotlight/Spotlight.d.ts.map +1 -0
- package/dist/components/Spotlight/index.d.ts +2 -0
- package/dist/components/Spotlight/index.d.ts.map +1 -0
- package/dist/components/Stack/Stack.d.ts +41 -0
- package/dist/components/Stack/Stack.d.ts.map +1 -0
- package/dist/components/Stack/index.d.ts +2 -0
- package/dist/components/Stack/index.d.ts.map +1 -0
- package/dist/components/Stat/Stat.d.ts +15 -6
- package/dist/components/Stat/Stat.d.ts.map +1 -1
- package/dist/components/Stat/index.d.ts +1 -1
- package/dist/components/Stat/index.d.ts.map +1 -1
- package/dist/components/StatusTiles/StatusTiles.d.ts +39 -0
- package/dist/components/StatusTiles/StatusTiles.d.ts.map +1 -0
- package/dist/components/StatusTiles/index.d.ts +2 -0
- package/dist/components/StatusTiles/index.d.ts.map +1 -0
- package/dist/components/Stepper/Stepper.d.ts +53 -0
- package/dist/components/Stepper/Stepper.d.ts.map +1 -0
- package/dist/components/Stepper/index.d.ts +2 -0
- package/dist/components/Stepper/index.d.ts.map +1 -0
- package/dist/components/Switch/Switch.d.ts +11 -6
- package/dist/components/Switch/Switch.d.ts.map +1 -1
- package/dist/components/Switch/index.d.ts +1 -1
- package/dist/components/Switch/index.d.ts.map +1 -1
- package/dist/components/Table/Table.d.ts +11 -5
- package/dist/components/Table/Table.d.ts.map +1 -1
- package/dist/components/TagsInput/TagsInput.d.ts +10 -5
- package/dist/components/TagsInput/TagsInput.d.ts.map +1 -1
- package/dist/components/TagsInput/index.d.ts +1 -1
- package/dist/components/TagsInput/index.d.ts.map +1 -1
- package/dist/components/TemplateCard/TemplateCard.d.ts +120 -0
- package/dist/components/TemplateCard/TemplateCard.d.ts.map +1 -0
- package/dist/components/TemplateCard/index.d.ts +2 -0
- package/dist/components/TemplateCard/index.d.ts.map +1 -0
- package/dist/components/TestimonialCard/TestimonialCard.d.ts +30 -5
- package/dist/components/TestimonialCard/TestimonialCard.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.d.ts +81 -7
- package/dist/components/Textarea/Textarea.d.ts.map +1 -1
- package/dist/components/Textarea/index.d.ts +1 -1
- package/dist/components/Textarea/index.d.ts.map +1 -1
- package/dist/components/TimePicker/TimePicker.d.ts +7 -5
- package/dist/components/TimePicker/TimePicker.d.ts.map +1 -1
- package/dist/components/TimePicker/index.d.ts +1 -1
- package/dist/components/TimePicker/index.d.ts.map +1 -1
- package/dist/components/Timeline/Timeline.d.ts +14 -5
- package/dist/components/Timeline/Timeline.d.ts.map +1 -1
- package/dist/components/Timeline/index.d.ts +1 -1
- package/dist/components/Timeline/index.d.ts.map +1 -1
- package/dist/components/TimezonePicker/TimezonePicker.d.ts +8 -5
- package/dist/components/TimezonePicker/TimezonePicker.d.ts.map +1 -1
- package/dist/components/TimezonePicker/index.d.ts +1 -1
- package/dist/components/TimezonePicker/index.d.ts.map +1 -1
- package/dist/components/Toast/Toast.d.ts +15 -0
- package/dist/components/Toast/Toast.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.d.ts +16 -6
- package/dist/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/Toggle/index.d.ts +1 -1
- package/dist/components/Toggle/index.d.ts.map +1 -1
- package/dist/components/ToolCard/ToolCard.d.ts +12 -10
- package/dist/components/ToolCard/ToolCard.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +13 -2
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/index.d.ts +1 -1
- package/dist/components/Tooltip/index.d.ts.map +1 -1
- package/dist/components/TraceStep/TraceStep.d.ts +37 -8
- package/dist/components/TraceStep/TraceStep.d.ts.map +1 -1
- package/dist/components/TreeView/TreeView.d.ts +54 -0
- package/dist/components/TreeView/TreeView.d.ts.map +1 -0
- package/dist/components/TreeView/index.d.ts +2 -0
- package/dist/components/TreeView/index.d.ts.map +1 -0
- package/dist/components/UserCard/UserCard.d.ts +38 -5
- package/dist/components/UserCard/UserCard.d.ts.map +1 -1
- package/dist/components/XmlViewer/XmlViewer.d.ts +11 -6
- package/dist/components/XmlViewer/XmlViewer.d.ts.map +1 -1
- package/dist/components/YamlViewer/YamlViewer.d.ts +13 -6
- package/dist/components/YamlViewer/YamlViewer.d.ts.map +1 -1
- package/dist/hooks/useBanner.d.ts +27 -0
- package/dist/hooks/useBanner.d.ts.map +1 -0
- package/dist/hooks/useBreakpoint.d.ts +29 -0
- package/dist/hooks/useBreakpoint.d.ts.map +1 -0
- package/dist/hooks/useCallout.d.ts +32 -0
- package/dist/hooks/useCallout.d.ts.map +1 -0
- package/dist/hooks/useMediaQuery.d.ts +15 -0
- package/dist/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/hooks/usePasswordStrength.d.ts +37 -0
- package/dist/hooks/usePasswordStrength.d.ts.map +1 -0
- package/dist/hooks/useRating.d.ts +51 -0
- package/dist/hooks/useRating.d.ts.map +1 -0
- package/dist/hooks/useTextareaCommands.d.ts +55 -0
- package/dist/hooks/useTextareaCommands.d.ts.map +1 -0
- package/dist/hooks/useTextareaSelection.d.ts +34 -0
- package/dist/hooks/useTextareaSelection.d.ts.map +1 -0
- package/dist/hooks/useTextareaTools.d.ts +88 -0
- package/dist/hooks/useTextareaTools.d.ts.map +1 -0
- package/dist/hooks/useTimeline.d.ts +31 -0
- package/dist/hooks/useTimeline.d.ts.map +1 -0
- package/dist/hooks/useTraceTimeline.d.ts +54 -0
- package/dist/hooks/useTraceTimeline.d.ts.map +1 -0
- package/dist/index.cjs +22959 -10158
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +90 -47
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23914 -10637
- package/dist/index.js.map +1 -1
- package/dist/monaco.cjs +359 -488
- package/dist/monaco.cjs.map +1 -1
- package/dist/monaco.d.ts +1 -1
- package/dist/monaco.d.ts.map +1 -1
- package/dist/monaco.js +381 -489
- package/dist/monaco.js.map +1 -1
- package/dist/stories/_shared/TestPage.d.ts +12 -0
- package/dist/stories/_shared/TestPage.d.ts.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/utils/Slot.d.ts +7 -0
- package/dist/utils/Slot.d.ts.map +1 -0
- package/dist/utils/composeRefs.d.ts +7 -0
- package/dist/utils/composeRefs.d.ts.map +1 -0
- package/dist/utils/gradients.d.ts +77 -0
- package/dist/utils/gradients.d.ts.map +1 -0
- package/dist/utils/zIndex.d.ts +53 -0
- package/dist/utils/zIndex.d.ts.map +1 -0
- package/package.json +5 -5
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
import { type InputHTMLAttributes, type ReactNode } from "react";
|
|
2
|
+
export type CheckboxSize = "sm" | "md" | "lg";
|
|
2
3
|
export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> {
|
|
4
|
+
/** Controlled checked state. */
|
|
3
5
|
checked?: boolean;
|
|
6
|
+
/** Uncontrolled initial state. */
|
|
4
7
|
defaultChecked?: boolean;
|
|
8
|
+
/** Fires with the new selection state. */
|
|
5
9
|
onChange?: (isSelected: boolean) => void;
|
|
10
|
+
/** Mixed-state checkbox (for "select all" with partial children). */
|
|
6
11
|
indeterminate?: boolean;
|
|
7
12
|
disabled?: boolean;
|
|
8
|
-
label
|
|
9
|
-
|
|
13
|
+
/** Visible label. Pair with `description` for "label + helper text" stacks. */
|
|
14
|
+
label?: ReactNode;
|
|
15
|
+
/** Optional helper text below the label. Linked via `aria-describedby` so
|
|
16
|
+
* AT users hear the description after the label. */
|
|
17
|
+
description?: ReactNode;
|
|
18
|
+
/** Mark the field as invalid. Adds the error tint + `aria-invalid`. */
|
|
19
|
+
error?: boolean;
|
|
20
|
+
/** Error message rendered under the description. */
|
|
21
|
+
errorMessage?: ReactNode;
|
|
22
|
+
size?: CheckboxSize;
|
|
10
23
|
className?: string;
|
|
11
24
|
}
|
|
12
|
-
export declare
|
|
25
|
+
export declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
13
26
|
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAUf,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9C,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;IACxE,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,qEAAqE;IACrE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+EAA+E;IAC/E,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;wDACoD;IACpD,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,uEAAuE;IACvE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,oDAAoD;IACpD,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD,eAAO,MAAM,QAAQ,4GA6KpB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Checkbox, type CheckboxProps } from "./Checkbox";
|
|
1
|
+
export { Checkbox, type CheckboxProps, type CheckboxSize } from "./Checkbox";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1,15 +1,34 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { type ComponentPropsWithoutRef, type MouseEvent, type ReactNode } from "react";
|
|
2
|
+
export type ChipVariant = "default" | "primary" | "success" | "warning" | "error";
|
|
3
|
+
export type ChipSize = "sm" | "md" | "lg";
|
|
4
|
+
export interface ChipProps extends Omit<ComponentPropsWithoutRef<"span">, "color" | "onClick"> {
|
|
5
|
+
variant?: ChipVariant;
|
|
6
|
+
size?: ChipSize;
|
|
7
|
+
/** Avatar slot rendered before the label (portrait-style, circular). */
|
|
5
8
|
avatar?: ReactNode;
|
|
9
|
+
/** Icon slot rendered before the label (glyph-style, currentColor). Ignored
|
|
10
|
+
* when `avatar` is also set. */
|
|
6
11
|
icon?: ReactNode;
|
|
12
|
+
/** Show a `×` button to remove the chip. */
|
|
7
13
|
removable?: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
14
|
+
/** Fires when the remove button is clicked (or activated via keyboard).
|
|
15
|
+
* Receives the event so callers can `stopPropagation` / `preventDefault`. */
|
|
16
|
+
onRemove?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
17
|
+
/** Accessible label for the remove button. Defaults to `"Remove"`. */
|
|
18
|
+
removeLabel?: string;
|
|
19
|
+
/** Click handler for the entire chip (filter-chip pattern). Sets
|
|
20
|
+
* `role="button"` + Enter/Space activation. */
|
|
21
|
+
onClick?: (event: MouseEvent<HTMLSpanElement>) => void;
|
|
22
|
+
/** Toggle state for filter chips. When set, advertises `aria-pressed`
|
|
23
|
+
* and tints the chip with accent chrome. Pair with `onClick` to wire a
|
|
24
|
+
* stateful filter cluster. */
|
|
25
|
+
selected?: boolean;
|
|
10
26
|
disabled?: boolean;
|
|
11
|
-
|
|
12
|
-
|
|
27
|
+
/** Render Chip's styling onto a custom child element (Radix-style Slot).
|
|
28
|
+
* Internal slots (avatar / icon / label / remove button) are NOT rendered
|
|
29
|
+
* when `asChild` is true — useful for "chip-as-link" / router-link. */
|
|
30
|
+
asChild?: boolean;
|
|
31
|
+
children?: ReactNode;
|
|
13
32
|
}
|
|
14
|
-
export declare
|
|
33
|
+
export declare const Chip: import("react").ForwardRefExoticComponent<ChipProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
15
34
|
//# sourceMappingURL=Chip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAI7B,KAAK,UAAU,EAEf,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAQf,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAClF,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE1C,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnE,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB,wEAAwE;IACxE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;oCACgC;IAChC,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;iFAC6E;IAC7E,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC1D,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;mDAC+C;IAC/C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IAEvD;;kCAE8B;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;2EAEuE;IACvE,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAMD,eAAO,MAAM,IAAI,uGAkHf,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Chip, type ChipProps } from "./Chip";
|
|
1
|
+
export { Chip, type ChipProps, type ChipSize, type ChipVariant } from "./Chip";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,KAAK,WAAW,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -1,13 +1,51 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export
|
|
1
|
+
import { type ButtonHTMLAttributes, type MouseEvent, type ReactNode } from "react";
|
|
2
|
+
export type ChoiceCardSize = "sm" | "md" | "lg";
|
|
3
|
+
/**
|
|
4
|
+
* Selection model:
|
|
5
|
+
* - `single` → behaves like a radio button (`role="radio"`).
|
|
6
|
+
* - `multiple` → behaves like a checkbox (`role="checkbox"`).
|
|
7
|
+
*/
|
|
8
|
+
export type ChoiceCardSelectionMode = "single" | "multiple";
|
|
9
|
+
/**
|
|
10
|
+
* Layout:
|
|
11
|
+
* - `vertical` → icon top-left, check top-right (default — dense grids).
|
|
12
|
+
* - `horizontal` → icon-left-of-body, check on the right (list view).
|
|
13
|
+
*/
|
|
14
|
+
export type ChoiceCardOrientation = "vertical" | "horizontal";
|
|
15
|
+
export interface ChoiceCardProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type" | "title" | "onSelect"> {
|
|
16
|
+
/** Optional leading icon (top-left in vertical, left in horizontal). */
|
|
3
17
|
icon?: ReactNode;
|
|
18
|
+
/** Visible title — the primary label of the choice. */
|
|
4
19
|
title: ReactNode;
|
|
20
|
+
/** Optional supporting text under the title. */
|
|
5
21
|
description?: ReactNode;
|
|
22
|
+
/** Selection state. Controlled. */
|
|
6
23
|
selected?: boolean;
|
|
7
|
-
|
|
24
|
+
/**
|
|
25
|
+
* Optional trailing badge (e.g. "Recommended", "New"). Overrides the
|
|
26
|
+
* default check indicator in the top-right slot.
|
|
27
|
+
*/
|
|
8
28
|
badge?: ReactNode;
|
|
9
|
-
|
|
10
|
-
|
|
29
|
+
/** Selection model — drives the ARIA role + indicator shape. */
|
|
30
|
+
selectionMode?: ChoiceCardSelectionMode;
|
|
31
|
+
/** Size variant. */
|
|
32
|
+
size?: ChoiceCardSize;
|
|
33
|
+
/** Layout variant. */
|
|
34
|
+
orientation?: ChoiceCardOrientation;
|
|
35
|
+
/** Disable interaction. */
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Ergonomic alternative to `onClick`. Fires with the next selection
|
|
39
|
+
* state (`!selected`) so consumers don't have to derive it themselves.
|
|
40
|
+
*
|
|
41
|
+
* <ChoiceCard
|
|
42
|
+
* selected={mode === "upsert"}
|
|
43
|
+
* onSelect={(next) => next && setMode("upsert")}
|
|
44
|
+
* />
|
|
45
|
+
*/
|
|
46
|
+
onSelect?: (next: boolean, e: MouseEvent<HTMLButtonElement>) => void;
|
|
47
|
+
/** Suppress the check-indicator pop animation. */
|
|
48
|
+
disableAnimation?: boolean;
|
|
11
49
|
}
|
|
12
|
-
export declare
|
|
50
|
+
export declare const ChoiceCard: import("react").ForwardRefExoticComponent<ChoiceCardProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
13
51
|
//# sourceMappingURL=ChoiceCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChoiceCard.d.ts","sourceRoot":"","sources":["../../../src/components/ChoiceCard/ChoiceCard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChoiceCard.d.ts","sourceRoot":"","sources":["../../../src/components/ChoiceCard/ChoiceCard.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,oBAAoB,EAEzB,KAAK,UAAU,EACf,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAOf,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhD;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE5D;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG,UAAU,GAAG,YAAY,CAAC;AAE9D,MAAM,WAAW,eACf,SAAQ,IAAI,CACV,oBAAoB,CAAC,iBAAiB,CAAC,EAGvC,MAAM,GAAG,OAAO,GAAG,UAAU,CAC9B;IACD,wEAAwE;IACxE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,uDAAuD;IACvD,KAAK,EAAE,SAAS,CAAC;IACjB,gDAAgD;IAChD,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,gEAAgE;IAChE,aAAa,CAAC,EAAE,uBAAuB,CAAC;IACxC,oBAAoB;IACpB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,sBAAsB;IACtB,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IACrE,kDAAkD;IAClD,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAMD,eAAO,MAAM,UAAU,+GA0GtB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ChoiceCard, type ChoiceCardProps } from "./ChoiceCard";
|
|
1
|
+
export { ChoiceCard, type ChoiceCardProps, type ChoiceCardSelectionMode, type ChoiceCardSize, } from "./ChoiceCard";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ChoiceCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ChoiceCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,cAAc,GACpB,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode, type RefObject } from "react";
|
|
2
|
+
export type CoachmarkPlacement = "top" | "bottom" | "left" | "right" | "auto";
|
|
3
|
+
export interface CoachmarkProps extends Omit<ComponentPropsWithoutRef<"div">, "title" | "children" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart"> {
|
|
4
|
+
/** Whether the coachmark is open. */
|
|
5
|
+
open: boolean;
|
|
6
|
+
/** The element to anchor to. */
|
|
7
|
+
target: RefObject<HTMLElement | null>;
|
|
8
|
+
/** Preferred placement. Default `"auto"` (picks the side with most room). */
|
|
9
|
+
placement?: CoachmarkPlacement;
|
|
10
|
+
/** Distance between target and coachmark. Default `12`. */
|
|
11
|
+
offset?: number;
|
|
12
|
+
/** Title (heading). */
|
|
13
|
+
title: ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* Heading level for the title. Default `"h3"`. Override when the
|
|
16
|
+
* surrounding page lacks h1/h2 so axe's `heading-order` rule is
|
|
17
|
+
* satisfied (a Coachmark inside a page with no prior heading should
|
|
18
|
+
* use `"h2"`, etc).
|
|
19
|
+
*/
|
|
20
|
+
titleAs?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
21
|
+
/** Body text. */
|
|
22
|
+
description?: ReactNode;
|
|
23
|
+
/** Optional leading icon in the header. */
|
|
24
|
+
icon?: ReactNode;
|
|
25
|
+
/** Optional custom action slot (replaces default Next/Skip buttons). */
|
|
26
|
+
action?: ReactNode;
|
|
27
|
+
/** Fires when the user clicks Dismiss / X / Skip. */
|
|
28
|
+
onDismiss: () => void;
|
|
29
|
+
/** Multi-step: 1-based current step. */
|
|
30
|
+
step?: number;
|
|
31
|
+
/** Multi-step: total step count. */
|
|
32
|
+
totalSteps?: number;
|
|
33
|
+
/** Multi-step: fires when user clicks Next. */
|
|
34
|
+
onNext?: () => void;
|
|
35
|
+
/** Multi-step: fires when user clicks Previous. */
|
|
36
|
+
onPrev?: () => void;
|
|
37
|
+
/** Multi-step: override the Next button label. */
|
|
38
|
+
nextLabel?: ReactNode;
|
|
39
|
+
/** Multi-step: override the Previous button label. */
|
|
40
|
+
prevLabel?: ReactNode;
|
|
41
|
+
/** Override the Dismiss / Skip label. Default `"Skip"` in tour mode, `"Got it"` solo. */
|
|
42
|
+
dismissLabel?: ReactNode;
|
|
43
|
+
/** Highlight the target with a halo. Default `true`. */
|
|
44
|
+
highlightTarget?: boolean;
|
|
45
|
+
/** DOM node to portal into. Defaults to `document.body`. */
|
|
46
|
+
container?: Element | null;
|
|
47
|
+
/** Skip mount animation. */
|
|
48
|
+
disableAnimation?: boolean;
|
|
49
|
+
}
|
|
50
|
+
export declare const Coachmark: import("react").ForwardRefExoticComponent<CoachmarkProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
51
|
+
export declare function useCoachmarkSeen(key: string, storagePrefix?: string): [boolean, () => void];
|
|
52
|
+
//# sourceMappingURL=Coachmark.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Coachmark.d.ts","sourceRoot":"","sources":["../../../src/components/Coachmark/Coachmark.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EACd,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAqCf,MAAM,MAAM,kBAAkB,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAE9E,MAAM,WAAW,cACf,SAAQ,IAAI,CACV,wBAAwB,CAAC,KAAK,CAAC,EAC7B,OAAO,GACP,UAAU,GACV,QAAQ,GACR,aAAa,GACb,WAAW,GACX,kBAAkB,CACrB;IACD,qCAAqC;IACrC,IAAI,EAAE,OAAO,CAAC;IACd,gCAAgC;IAChC,MAAM,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACtC,6EAA6E;IAC7E,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B,2DAA2D;IAC3D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uBAAuB;IACvB,KAAK,EAAE,SAAS,CAAC;IACjB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAClD,iBAAiB;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,wEAAwE;IACxE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,qDAAqD;IACrD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,wCAAwC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oCAAoC;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,mDAAmD;IACnD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,kDAAkD;IAClD,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,sDAAsD;IACtD,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,yFAAyF;IACzF,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,wDAAwD;IACxD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,4DAA4D;IAC5D,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,4BAA4B;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAwED,eAAO,MAAM,SAAS,2GAoQrB,CAAC;AAcF,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,MAAM,EACX,aAAa,SAAmB,GAC/B,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC,CAsBvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Coachmark/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,gBAAgB,GACjB,MAAM,aAAa,CAAC"}
|
|
@@ -37,6 +37,15 @@ export interface CodeEditorProps {
|
|
|
37
37
|
showCounter?: boolean;
|
|
38
38
|
/** Enable Cmd+F search bar. Default true. */
|
|
39
39
|
searchable?: boolean;
|
|
40
|
+
/** Form integration — passes through to the underlying <textarea>. */
|
|
41
|
+
name?: string;
|
|
42
|
+
/** Form attribute (for buttons rendered outside their parent form). */
|
|
43
|
+
form?: string;
|
|
44
|
+
/** Mark as required for native form validation. */
|
|
45
|
+
required?: boolean;
|
|
46
|
+
/** Native id (replaces the auto-generated one if you need to pair a
|
|
47
|
+
* <label htmlFor> with this editor). */
|
|
48
|
+
id?: string;
|
|
40
49
|
}
|
|
41
|
-
export declare
|
|
50
|
+
export declare const CodeEditor: import("react").ForwardRefExoticComponent<CodeEditorProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
42
51
|
//# sourceMappingURL=CodeEditor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeEditor.d.ts","sourceRoot":"","sources":["../../../src/components/CodeEditor/CodeEditor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CodeEditor.d.ts","sourceRoot":"","sources":["../../../src/components/CodeEditor/CodeEditor.tsx"],"names":[],"mappings":"AAQA,OAAO,EAEL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAGf,MAAM,MAAM,kBAAkB,GAAG,KAAK,GAAG,MAAM,GAAG,YAAY,GAAG,YAAY,GAAG,MAAM,GAAG,OAAO,CAAC;AAEjG,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,sBAAsB;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sCAAsC;IACtC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iCAAiC;IACjC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,sCAAsC;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,oDAAoD;IACpD,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0DAA0D;IAC1D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6EAA6E;IAC7E,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gEAAgE;IAChE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,6CAA6C;IAC7C,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,sEAAsE;IACtE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uEAAuE;IACvE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;4CACwC;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAgCD,eAAO,MAAM,UAAU,iHAmkBtB,CAAC"}
|
|
@@ -1,14 +1,33 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
2
|
-
export
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export type ColorPickerSize = "sm" | "md" | "lg";
|
|
3
|
+
export interface ColorPickerProps extends Omit<ComponentPropsWithoutRef<"div">, "onChange"> {
|
|
4
|
+
/** Visible label rendered above the field. */
|
|
3
5
|
label?: ReactNode;
|
|
6
|
+
/** Helper text under the field, wired via `aria-describedby`. */
|
|
7
|
+
description?: ReactNode;
|
|
8
|
+
/** Controlled value. */
|
|
4
9
|
value: string;
|
|
10
|
+
/** Fires with the new hex (only emitted on valid values). */
|
|
5
11
|
onChange?: (value: string) => void;
|
|
6
|
-
swatches
|
|
12
|
+
/** Preset swatches displayed as a radio-group. */
|
|
13
|
+
swatches?: readonly string[];
|
|
14
|
+
/** Show the hex text input. Default true. */
|
|
7
15
|
showHex?: boolean;
|
|
16
|
+
/** Show the native picker trigger. Default true. */
|
|
8
17
|
showPicker?: boolean;
|
|
9
|
-
|
|
18
|
+
/** Size variant. */
|
|
19
|
+
size?: ColorPickerSize;
|
|
10
20
|
disabled?: boolean;
|
|
11
|
-
|
|
21
|
+
/** Mark the field as invalid (red ring + `aria-invalid`). */
|
|
22
|
+
error?: boolean;
|
|
23
|
+
/** Error message rendered under the field; wired via `aria-describedby`. */
|
|
24
|
+
errorMessage?: ReactNode;
|
|
25
|
+
/** Form integration — passed to the hidden hex input. */
|
|
26
|
+
name?: string;
|
|
27
|
+
/** Form attribute (when input is rendered outside its form). */
|
|
28
|
+
form?: string;
|
|
29
|
+
/** Mark as required for native form validation. */
|
|
30
|
+
required?: boolean;
|
|
12
31
|
}
|
|
13
|
-
export declare
|
|
32
|
+
export declare const ColorPicker: import("react").ForwardRefExoticComponent<ColorPickerProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
14
33
|
//# sourceMappingURL=ColorPicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,wBAAwB,EAG7B,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAOf,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEjD,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IACzD,8CAA8C;IAC9C,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,iEAAiE;IACjE,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,wBAAwB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,kDAAkD;IAClD,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,6CAA6C;IAC7C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oDAAoD;IACpD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oBAAoB;IACpB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,4EAA4E;IAC5E,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB,yDAAyD;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gEAAgE;IAChE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AA0BD,eAAO,MAAM,WAAW,+GA+MvB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ColorPicker, type ColorPickerProps } from "./ColorPicker";
|
|
1
|
+
export { ColorPicker, type ColorPickerProps, type ColorPickerSize, } from "./ColorPicker";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,eAAe,GACrB,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export interface CommandPaletteItem {
|
|
3
|
+
/** Stable identifier for the command (returned to onSelect). */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Display label. */
|
|
6
|
+
label: ReactNode;
|
|
7
|
+
/** Optional leading icon. */
|
|
8
|
+
icon?: ReactNode;
|
|
9
|
+
/** Additional search terms — concatenated to label for matching. */
|
|
10
|
+
keywords?: string[];
|
|
11
|
+
/** Optional shortcut chip (rendered right-aligned, e.g. "G P"). */
|
|
12
|
+
shortcut?: string;
|
|
13
|
+
/** Optional secondary text under the label (path, ID, hint). */
|
|
14
|
+
description?: ReactNode;
|
|
15
|
+
/** Mark as destructive — applies red tint on hover. */
|
|
16
|
+
danger?: boolean;
|
|
17
|
+
/** Disable this command. */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/** Action to run when the user activates the command. */
|
|
20
|
+
onSelect?: () => void;
|
|
21
|
+
}
|
|
22
|
+
export interface CommandPaletteGroup {
|
|
23
|
+
/** Group heading (rendered as a sticky section label). */
|
|
24
|
+
heading: ReactNode;
|
|
25
|
+
/** Commands in this group. */
|
|
26
|
+
items: CommandPaletteItem[];
|
|
27
|
+
}
|
|
28
|
+
export interface CommandPaletteProps extends Omit<ComponentPropsWithoutRef<"div">, "onSelect" | "children" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart"> {
|
|
29
|
+
/** Whether the palette is open. Required (always controlled). */
|
|
30
|
+
open: boolean;
|
|
31
|
+
/** Fires when the user dismisses (Esc, click outside, item activation). */
|
|
32
|
+
onClose: () => void;
|
|
33
|
+
/** Command groups. */
|
|
34
|
+
groups: CommandPaletteGroup[];
|
|
35
|
+
/** Input placeholder. Default `"Search for actions, pages, datasets…"`. */
|
|
36
|
+
placeholder?: string;
|
|
37
|
+
/** Fires once per selection — useful for analytics or modal-managed flows. */
|
|
38
|
+
onSelect?: (item: CommandPaletteItem) => void;
|
|
39
|
+
/** Rendered when search returns no results. */
|
|
40
|
+
emptyState?: ReactNode;
|
|
41
|
+
/** Footer slot (hint, status, link). */
|
|
42
|
+
footer?: ReactNode;
|
|
43
|
+
/**
|
|
44
|
+
* Custom filter function. Defaults to case-insensitive substring
|
|
45
|
+
* match across `label` (when a string) + `keywords` + the group
|
|
46
|
+
* heading (when a string).
|
|
47
|
+
*/
|
|
48
|
+
filter?: (item: CommandPaletteItem, query: string, groupHeading: ReactNode) => boolean;
|
|
49
|
+
/**
|
|
50
|
+
* DOM node to render the portal into. Defaults to `document.body`.
|
|
51
|
+
* Pass a different container when the app embeds the palette in a
|
|
52
|
+
* specific Shadow DOM / scoped tree.
|
|
53
|
+
*/
|
|
54
|
+
container?: Element | null;
|
|
55
|
+
/** Disable the open animation (for testing / SSR snapshots). */
|
|
56
|
+
disableAnimation?: boolean;
|
|
57
|
+
}
|
|
58
|
+
export declare const CommandPalette: import("react").ForwardRefExoticComponent<CommandPaletteProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
59
|
+
export declare function useCommandPaletteShortcut(toggle: () => void, options?: {
|
|
60
|
+
/** Disable when input fields are focused. Default true — prevents
|
|
61
|
+
* Cmd+K hijacking native browser behaviors. */
|
|
62
|
+
skipInputs?: boolean;
|
|
63
|
+
}): void;
|
|
64
|
+
//# sourceMappingURL=CommandPalette.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandPalette.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPalette.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,wBAAwB,EAG7B,KAAK,SAAS,EAOf,MAAM,OAAO,CAAC;AAwBf,MAAM,WAAW,kBAAkB;IACjC,gEAAgE;IAChE,EAAE,EAAE,MAAM,CAAC;IACX,qBAAqB;IACrB,KAAK,EAAE,SAAS,CAAC;IACjB,6BAA6B;IAC7B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gEAAgE;IAChE,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,uDAAuD;IACvD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,mBAAmB;IAClC,0DAA0D;IAC1D,OAAO,EAAE,SAAS,CAAC;IACnB,8BAA8B;IAC9B,KAAK,EAAE,kBAAkB,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,mBACf,SAAQ,IAAI,CACV,wBAAwB,CAAC,KAAK,CAAC,EAC7B,UAAU,GACV,UAAU,GACV,QAAQ,GACR,aAAa,GACb,WAAW,GACX,kBAAkB,CACrB;IACD,iEAAiE;IACjE,IAAI,EAAE,OAAO,CAAC;IACd,2EAA2E;IAC3E,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,sBAAsB;IACtB,MAAM,EAAE,mBAAmB,EAAE,CAAC;IAC9B,2EAA2E;IAC3E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC9C,+CAA+C;IAC/C,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,wCAAwC;IACxC,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,SAAS,KAAK,OAAO,CAAC;IACvF;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,gEAAgE;IAChE,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AA4BD,eAAO,MAAM,cAAc,gHAgT1B,CAAC;AAeF,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,MAAM,IAAI,EAClB,OAAO,GAAE;IACP;mDAC+C;IAC/C,UAAU,CAAC,EAAE,OAAO,CAAC;CACjB,GACL,IAAI,CAmBN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,yBAAyB,GAC1B,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
2
|
export interface ConditionField {
|
|
3
3
|
value: string;
|
|
4
4
|
label: string;
|
|
@@ -15,13 +15,17 @@ export interface Condition {
|
|
|
15
15
|
field: string;
|
|
16
16
|
operator: string;
|
|
17
17
|
value: string;
|
|
18
|
+
/** Per-row join operator — joins this condition to the one above it.
|
|
19
|
+
* Only used when the builder is in `joinMode="per-row"`. The first
|
|
20
|
+
* condition's value is ignored (nothing to join to). */
|
|
21
|
+
joinOperator?: "AND" | "OR";
|
|
18
22
|
}
|
|
19
23
|
export interface ConditionGroup {
|
|
20
24
|
type: "group";
|
|
21
25
|
joinOperator: "AND" | "OR";
|
|
22
26
|
conditions: (Condition | ConditionGroup)[];
|
|
23
27
|
}
|
|
24
|
-
export interface ConditionBuilderProps {
|
|
28
|
+
export interface ConditionBuilderProps extends Omit<ComponentPropsWithoutRef<"div">, "onChange"> {
|
|
25
29
|
conditions: Condition[];
|
|
26
30
|
onChange: (conditions: Condition[]) => void;
|
|
27
31
|
fields: ConditionField[];
|
|
@@ -29,9 +33,25 @@ export interface ConditionBuilderProps {
|
|
|
29
33
|
/** Auto-enables search above 8 options. Force on/off via boolean. */
|
|
30
34
|
searchable?: boolean;
|
|
31
35
|
allowGroups?: boolean;
|
|
36
|
+
/** Join-operator scope:
|
|
37
|
+
* - `"global"` (default) — one operator joins every condition. Toggling
|
|
38
|
+
* any row's button switches it for all rows. Use when the group
|
|
39
|
+
* semantically reads as "match ALL" / "match ANY".
|
|
40
|
+
* - `"per-row"` — each condition carries its own `joinOperator`,
|
|
41
|
+
* which can be mixed freely (Notion / Linear / Airtable style).
|
|
42
|
+
* The toggle on each row affects only that row.
|
|
43
|
+
*/
|
|
44
|
+
joinMode?: "global" | "per-row";
|
|
45
|
+
/** Global join operator. Used in `joinMode="global"` (the default), and
|
|
46
|
+
* as the default value for newly-added rows in `joinMode="per-row"`. */
|
|
32
47
|
joinOperator?: "AND" | "OR";
|
|
48
|
+
/** Fires when the global join operator changes. Only used in
|
|
49
|
+
* `joinMode="global"`. (Per-row toggles flow through `onChange`.) */
|
|
33
50
|
onJoinChange?: (join: "AND" | "OR") => void;
|
|
34
|
-
|
|
51
|
+
/** Custom label for the "Add condition" button. */
|
|
52
|
+
addLabel?: ReactNode;
|
|
53
|
+
/** Custom aria-label for the remove buttons. Defaults to "Remove condition". */
|
|
54
|
+
removeLabel?: string;
|
|
35
55
|
}
|
|
36
|
-
export declare
|
|
56
|
+
export declare const ConditionBuilder: import("react").ForwardRefExoticComponent<ConditionBuilderProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
37
57
|
//# sourceMappingURL=ConditionBuilder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/ConditionBuilder/ConditionBuilder.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConditionBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/ConditionBuilder/ConditionBuilder.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,KAAK,wBAAwB,EAG7B,KAAK,SAAS,EAOf,MAAM,OAAO,CAAC;AAGf,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd;;4DAEwD;IACxD,YAAY,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,KAAK,GAAG,IAAI,CAAC;IAC3B,UAAU,EAAE,CAAC,SAAS,GAAG,cAAc,CAAC,EAAE,CAAC;CAC5C;AAED,MAAM,WAAW,qBACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IACzD,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;IAC5C,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC/B,qEAAqE;IACrE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAChC;4EACwE;IACxE,YAAY,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC5B;yEACqE;IACrE,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;IAC5C,mDAAmD;IACnD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,gFAAgF;IAChF,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAsMD,eAAO,MAAM,gBAAgB,kHA4L3B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
2
|
-
export
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export type ConfigPanelSide = "right" | "left";
|
|
3
|
+
export interface ConfigPanelProps extends Omit<ComponentPropsWithoutRef<"div">, "onAnimationStart" | "onDrag" | "onDragStart" | "onDragEnd"> {
|
|
3
4
|
open?: boolean;
|
|
4
5
|
onClose?: () => void;
|
|
5
6
|
title?: string;
|
|
@@ -8,25 +9,30 @@ export interface ConfigPanelProps {
|
|
|
8
9
|
children?: ReactNode;
|
|
9
10
|
/**
|
|
10
11
|
* Custom body renderer. When supplied, replaces the schema-driven body
|
|
11
|
-
* but
|
|
12
|
+
* but NOT the header / footer / wrapper chrome — the standard close
|
|
12
13
|
* button, title, and save/cancel actions are still rendered around it.
|
|
13
14
|
*
|
|
14
|
-
* Use this when a consumer needs to swap out the body (e.g. a custom
|
|
15
|
-
* node-kind configurator) while keeping the panel's behaviour and
|
|
16
|
-
* visual contract consistent with the rest of the design system.
|
|
17
|
-
*
|
|
18
15
|
* Precedence: `customRender` > `children`.
|
|
19
16
|
*/
|
|
20
17
|
customRender?: ReactNode;
|
|
21
18
|
/**
|
|
22
|
-
* Custom footer slot — replaces the default
|
|
23
|
-
*
|
|
24
|
-
*
|
|
19
|
+
* Custom footer slot — replaces the default Save / Cancel buttons.
|
|
20
|
+
* Useful for multi-step wizards / custom action sets. Header + wrapper
|
|
21
|
+
* chrome stay intact.
|
|
25
22
|
*/
|
|
26
23
|
customFooter?: ReactNode;
|
|
27
24
|
onSave?: () => void;
|
|
28
25
|
onCancel?: () => void;
|
|
29
|
-
|
|
26
|
+
/** Override the Save button label. */
|
|
27
|
+
saveLabel?: ReactNode;
|
|
28
|
+
/** Override the Cancel button label. */
|
|
29
|
+
cancelLabel?: ReactNode;
|
|
30
|
+
/** Override the close button's aria-label (default "Close panel"). */
|
|
31
|
+
closeLabel?: string;
|
|
32
|
+
/** Slide-in direction. Default "right". */
|
|
33
|
+
side?: ConfigPanelSide;
|
|
34
|
+
/** Close the panel when the user presses Escape. Default true. */
|
|
35
|
+
closeOnEsc?: boolean;
|
|
30
36
|
}
|
|
31
|
-
export declare
|
|
37
|
+
export declare const ConfigPanel: import("react").ForwardRefExoticComponent<ConfigPanelProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
32
38
|
//# sourceMappingURL=ConfigPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigPanel.d.ts","sourceRoot":"","sources":["../../../src/components/ConfigPanel/ConfigPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConfigPanel.d.ts","sourceRoot":"","sources":["../../../src/components/ConfigPanel/ConfigPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,wBAAwB,EAG7B,KAAK,SAAS,EAGf,MAAM,OAAO,CAAC;AAQf,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,MAAM,CAAC;AAE/C,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,QAAQ,GAAG,aAAa,GAAG,WAAW,CAAC;IAC1G,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;;OAIG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB,sCAAsC;IACtC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,wCAAwC;IACxC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,kEAAkE;IAClE,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAMD,eAAO,MAAM,WAAW,6GAmJvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ConfigPanel/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ConfigPanel/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { type DialogSize } from "../Dialog";
|
|
3
|
+
export type ConfirmDialogTone = "danger" | "primary" | "warning";
|
|
4
|
+
export interface ConfirmDialogProps {
|
|
5
|
+
/** Whether the dialog is open. */
|
|
6
|
+
open: boolean;
|
|
7
|
+
/** Fires when the dialog should close (Esc / overlay-click / cancel). */
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
/** Title (heading) — required for both UX clarity and a11y labelling. */
|
|
10
|
+
title: ReactNode;
|
|
11
|
+
/** Body content (description, consequences, warning text). */
|
|
12
|
+
description?: ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Confirm action. Sync OR async. When the returned Promise rejects,
|
|
15
|
+
* the dialog stays open so the consumer can show an inline error;
|
|
16
|
+
* on resolve, the dialog closes automatically.
|
|
17
|
+
*/
|
|
18
|
+
onConfirm: () => void | Promise<void>;
|
|
19
|
+
/** Confirm button label. Default depends on tone. */
|
|
20
|
+
confirmLabel?: ReactNode;
|
|
21
|
+
/** Cancel button label. Default `"Cancel"`. */
|
|
22
|
+
cancelLabel?: ReactNode;
|
|
23
|
+
/** Visual tone. Default `"danger"` — it's the most common case. */
|
|
24
|
+
tone?: ConfirmDialogTone;
|
|
25
|
+
/** Force the confirm button into a loading state (e.g. external state). */
|
|
26
|
+
loading?: boolean;
|
|
27
|
+
/** Disable the confirm button (e.g. validation gate). */
|
|
28
|
+
disableConfirm?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Require the user to type a specific phrase before the confirm
|
|
31
|
+
* button enables. Used for high-stakes ops ("type the pipeline name
|
|
32
|
+
* to delete"). Comparison is case-sensitive.
|
|
33
|
+
*/
|
|
34
|
+
requireConfirmText?: string;
|
|
35
|
+
/** Override the required-text input label. */
|
|
36
|
+
requireConfirmLabel?: ReactNode;
|
|
37
|
+
/** Which button gets initial focus. Default `"cancel"` (safer). */
|
|
38
|
+
defaultFocus?: "cancel" | "confirm";
|
|
39
|
+
/** Optional leading icon in the header. */
|
|
40
|
+
icon?: ReactNode;
|
|
41
|
+
/** Dialog size. Default `"sm"`. */
|
|
42
|
+
size?: DialogSize;
|
|
43
|
+
/** Fires when the user clicks Cancel (in addition to onClose). */
|
|
44
|
+
onCancel?: () => void;
|
|
45
|
+
}
|
|
46
|
+
export declare const ConfirmDialog: import("react").ForwardRefExoticComponent<ConfirmDialogProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
47
|
+
//# sourceMappingURL=ConfirmDialog.d.ts.map
|