@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,11 +1,29 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export type SocialProvider = "google" | "github" | "apple" | "twitter" | "custom";
|
|
3
|
-
export
|
|
1
|
+
import { type ButtonHTMLAttributes, type ReactNode } from "react";
|
|
2
|
+
export type SocialProvider = "google" | "github" | "apple" | "x" | "twitter" | "microsoft" | "linkedin" | "custom";
|
|
3
|
+
export type SocialButtonSize = "sm" | "md" | "lg";
|
|
4
|
+
type ButtonAttrs = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart">;
|
|
5
|
+
export interface SocialButtonProps extends ButtonAttrs {
|
|
4
6
|
provider: SocialProvider;
|
|
7
|
+
/** Override the default "Continue with X" label. */
|
|
5
8
|
label?: ReactNode;
|
|
9
|
+
/** Override the default brand glyph. */
|
|
6
10
|
icon?: ReactNode;
|
|
7
|
-
size?:
|
|
11
|
+
size?: SocialButtonSize;
|
|
12
|
+
/** Stretch to fill the container. Defaults to true — auth flows almost
|
|
13
|
+
* always want full-width social buttons. */
|
|
8
14
|
fullWidth?: boolean;
|
|
15
|
+
/** Forward to Button's loading state — disables + shows spinner. */
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
/** Override label rendered during loading (e.g. "Continuing…"). */
|
|
18
|
+
loadingText?: ReactNode;
|
|
19
|
+
/** Icon-only mode — hides the label, keeps the brand glyph centered. */
|
|
20
|
+
iconOnly?: boolean;
|
|
9
21
|
}
|
|
10
|
-
|
|
22
|
+
/**
|
|
23
|
+
* Social-auth button. Wraps the polished `Button` primitive so we get
|
|
24
|
+
* focus rings, loading spinner, disabled cursor, etc. for free — adds
|
|
25
|
+
* provider-specific branding (logo + dark/light theming) on top.
|
|
26
|
+
*/
|
|
27
|
+
export declare const SocialButton: import("react").ForwardRefExoticComponent<SocialButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
28
|
+
export {};
|
|
11
29
|
//# sourceMappingURL=SocialButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialButton.d.ts","sourceRoot":"","sources":["../../../src/components/SocialButton/SocialButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SocialButton.d.ts","sourceRoot":"","sources":["../../../src/components/SocialButton/SocialButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,oBAAoB,EAEzB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAQf,MAAM,MAAM,cAAc,GACtB,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,GAAG,GACH,SAAS,GACT,WAAW,GACX,UAAU,GACV,QAAQ,CAAC;AAEb,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAElD,KAAK,WAAW,GAAG,IAAI,CACrB,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,QAAQ,GAAG,aAAa,GAAG,WAAW,GAAG,kBAAkB,CAC5D,CAAC;AAEF,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACpD,QAAQ,EAAE,cAAc,CAAC;IACzB,oDAAoD;IACpD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,wCAAwC;IACxC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB;iDAC6C;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mEAAmE;IACnE,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAyFD;;;;GAIG;AACH,eAAO,MAAM,YAAY,iHAuDxB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SocialButton, type SocialButtonProps, type SocialProvider } from "./SocialButton";
|
|
1
|
+
export { SocialButton, type SocialButtonProps, type SocialButtonSize, type SocialProvider, } from "./SocialButton";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SocialButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SocialButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { type CSSProperties, type DragEvent, type ReactNode } from "react";
|
|
1
|
+
import { type ComponentPropsWithoutRef, type CSSProperties, type DragEvent, type ReactNode } from "react";
|
|
2
2
|
export interface SortableItem {
|
|
3
3
|
id: string;
|
|
4
4
|
}
|
|
5
|
-
|
|
5
|
+
type DivPropsBase = Omit<ComponentPropsWithoutRef<"div">, "onChange" | "children" | "onDrop">;
|
|
6
|
+
export interface SortableProps<T extends SortableItem> extends DivPropsBase {
|
|
6
7
|
items: T[];
|
|
7
8
|
onChange: (items: T[]) => void;
|
|
8
9
|
renderItem: (item: T, index: number, dragProps: SortableDragProps) => ReactNode;
|
|
@@ -14,7 +15,6 @@ export interface SortableProps<T extends SortableItem> {
|
|
|
14
15
|
autoScroll?: boolean;
|
|
15
16
|
/** Auto-scroll trigger zone in pixels from the edge. Default 48. */
|
|
16
17
|
autoScrollEdge?: number;
|
|
17
|
-
className?: string;
|
|
18
18
|
}
|
|
19
19
|
export interface SortableDragProps {
|
|
20
20
|
/** Spread on the drag handle element. */
|
|
@@ -25,7 +25,11 @@ export interface SortableDragProps {
|
|
|
25
25
|
onKeyDown: (e: React.KeyboardEvent) => void;
|
|
26
26
|
role: string;
|
|
27
27
|
"aria-roledescription": string;
|
|
28
|
-
|
|
28
|
+
/** Non-standard but widely-supported data attribute consumers can
|
|
29
|
+
* hook into for keyboard-lift styling. ARIA 1.1 deprecated
|
|
30
|
+
* `aria-grabbed` — the live region inside Sortable announces the
|
|
31
|
+
* lift state to AT. */
|
|
32
|
+
"data-kb-active"?: boolean;
|
|
29
33
|
tabIndex: number;
|
|
30
34
|
};
|
|
31
35
|
/** Whether THIS item is currently being dragged. */
|
|
@@ -33,13 +37,17 @@ export interface SortableDragProps {
|
|
|
33
37
|
/** Whether this item is the keyboard-lift source. */
|
|
34
38
|
isKeyboardActive: boolean;
|
|
35
39
|
}
|
|
36
|
-
export declare function Sortable<T extends SortableItem>({ items, onChange, renderItem, direction, disabled, autoScroll, autoScrollEdge, className, }: SortableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
export declare function Sortable<T extends SortableItem>({ items, onChange, renderItem, direction, disabled, autoScroll, autoScrollEdge, className, ...rest }: SortableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
37
41
|
export interface DragHandleProps {
|
|
38
42
|
className?: string;
|
|
39
43
|
style?: CSSProperties;
|
|
44
|
+
/** Accessible name. Default "Drag to reorder". */
|
|
45
|
+
"aria-label"?: string;
|
|
46
|
+
/** @deprecated — use `aria-label` (the standard prop name). */
|
|
40
47
|
ariaLabel?: string;
|
|
41
48
|
/** Spread the dragHandleProps from Sortable's renderItem here. */
|
|
42
49
|
dragProps?: SortableDragProps["dragHandleProps"];
|
|
43
50
|
}
|
|
44
|
-
export declare
|
|
51
|
+
export declare const DragHandle: import("react").ForwardRefExoticComponent<DragHandleProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
52
|
+
export {};
|
|
45
53
|
//# sourceMappingURL=Sortable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sortable.d.ts","sourceRoot":"","sources":["../../../src/components/Sortable/Sortable.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"Sortable.d.ts","sourceRoot":"","sources":["../../../src/components/Sortable/Sortable.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAClB,KAAK,SAAS,EAEd,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAIf,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,KAAK,YAAY,GAAG,IAAI,CACtB,wBAAwB,CAAC,KAAK,CAAC,EAC/B,UAAU,GAAG,UAAU,GAAG,QAAQ,CACnC,CAAC;AAEF,MAAM,WAAW,aAAa,CAAC,CAAC,SAAS,YAAY,CAAE,SAAQ,YAAY;IACzE,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IAC/B,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,KAAK,SAAS,CAAC;IAChF,mCAAmC;IACnC,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACtC,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4EAA4E;IAC5E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oEAAoE;IACpE,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,yCAAyC;IACzC,eAAe,EAAE;QACf,SAAS,EAAE,OAAO,CAAC;QACnB,WAAW,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI,CAAC;QACpC,SAAS,EAAE,MAAM,IAAI,CAAC;QACtB,SAAS,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,KAAK,IAAI,CAAC;QAC5C,IAAI,EAAE,MAAM,CAAC;QACb,sBAAsB,EAAE,MAAM,CAAC;QAC/B;;;gCAGwB;QACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAC3B,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,oDAAoD;IACpD,UAAU,EAAE,OAAO,CAAC;IACpB,qDAAqD;IACrD,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAMD,wBAAgB,QAAQ,CAAC,CAAC,SAAS,YAAY,EAAE,EAC/C,KAAK,EACL,QAAQ,EACR,UAAU,EACV,SAAsB,EACtB,QAAgB,EAChB,UAAiB,EACjB,cAAmB,EACnB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,aAAa,CAAC,CAAC,CAAC,2CAqRlB;AAGD,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,kDAAkD;IAClD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kEAAkE;IAClE,SAAS,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;CAClD;AAED,eAAO,MAAM,UAAU,6GAwBtB,CAAC"}
|
|
@@ -1,12 +1,47 @@
|
|
|
1
|
-
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export type SparklineVariant = "line" | "bar" | "winloss";
|
|
3
|
+
export interface SparklineProps extends Omit<ComponentPropsWithoutRef<"div">, "title" | "onChange"> {
|
|
2
4
|
data: number[];
|
|
5
|
+
variant?: SparklineVariant;
|
|
6
|
+
/** Outer pixel width. Default 80. */
|
|
3
7
|
width?: number;
|
|
8
|
+
/** Outer pixel height. Default 24. */
|
|
4
9
|
height?: number;
|
|
10
|
+
/** Stroke / bar color. Default `var(--ods-accent)`. */
|
|
5
11
|
stroke?: string;
|
|
12
|
+
/** Area fill color (line variant only). When truthy, paints under the line. */
|
|
6
13
|
fill?: string;
|
|
14
|
+
/** Smooth curve (line variant only). Default true. */
|
|
7
15
|
smooth?: boolean;
|
|
8
|
-
|
|
16
|
+
/** Draw a dot at the LAST data point — useful "this is now" indicator. */
|
|
17
|
+
showDot?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Highlight a specific data point. If omitted and `showDot` is true,
|
|
20
|
+
* the last point is highlighted. Pass -1 to suppress the dot when
|
|
21
|
+
* `showDot` is also true.
|
|
22
|
+
*/
|
|
23
|
+
highlightIndex?: number;
|
|
24
|
+
/** Horizontal reference line at a specific value (e.g. SLA target). */
|
|
25
|
+
baseline?: number;
|
|
26
|
+
/** Color for the baseline (and below-baseline winloss bars). */
|
|
27
|
+
baselineColor?: string;
|
|
28
|
+
/**
|
|
29
|
+
* winloss: values strictly above this go "up" (success), strictly
|
|
30
|
+
* below go "down" (failure), exactly equal hide. Default 0.
|
|
31
|
+
*/
|
|
32
|
+
threshold?: number;
|
|
33
|
+
/** Color for "down" bars in winloss mode. Default failed-fg. */
|
|
34
|
+
downColor?: string;
|
|
35
|
+
/** Optional per-point labels used in the native hover title. */
|
|
36
|
+
labels?: string[];
|
|
37
|
+
/** Format the numeric value in the hover title. */
|
|
38
|
+
formatValue?: (value: number) => string;
|
|
39
|
+
/** Suppress the mount animation. */
|
|
40
|
+
disableAnimation?: boolean;
|
|
41
|
+
/** Accessible label — auto-generated when omitted. */
|
|
9
42
|
"aria-label"?: string;
|
|
43
|
+
/** Optional content rendered when there's no data (instead of returning null). */
|
|
44
|
+
emptyState?: ReactNode;
|
|
10
45
|
}
|
|
11
|
-
export declare
|
|
46
|
+
export declare const Sparkline: import("react").ForwardRefExoticComponent<SparklineProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
47
|
//# sourceMappingURL=Sparkline.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sparkline.d.ts","sourceRoot":"","sources":["../../../src/components/Sparkline/Sparkline.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Sparkline.d.ts","sourceRoot":"","sources":["../../../src/components/Sparkline/Sparkline.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EAGf,MAAM,OAAO,CAAC;AAcf,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,CAAC;AAE1D,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IACnE,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uDAAuD;IACvD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+EAA+E;IAC/E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sDAAsD;IACtD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uEAAuE;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gEAAgE;IAChE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,mDAAmD;IACnD,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACxC,oCAAoC;IACpC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,sDAAsD;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kFAAkF;IAClF,UAAU,CAAC,EAAE,SAAS,CAAC;CACxB;AA0CD,eAAO,MAAM,SAAS,2GAsMrB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Sparkline, type SparklineProps } from "./Sparkline";
|
|
1
|
+
export { Sparkline, type SparklineProps, type SparklineVariant, } from "./Sparkline";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Sparkline/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Sparkline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,cAAc,EACnB,KAAK,gBAAgB,GACtB,MAAM,aAAa,CAAC"}
|
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { type ComponentPropsWithoutRef } from "react";
|
|
2
|
+
export type SpinnerSize = "sm" | "md" | "lg" | "xl";
|
|
3
|
+
export type SpinnerTone = "accent" | "muted" | "primary" | "success" | "warning" | "error" | "inverse";
|
|
4
|
+
type SvgPropsBase = Omit<ComponentPropsWithoutRef<"svg">, "color" | "viewBox" | "fill" | "size">;
|
|
5
|
+
export interface SpinnerProps extends SvgPropsBase {
|
|
6
|
+
/** Keyword size OR custom pixel number. Default `"md"`. */
|
|
7
|
+
size?: SpinnerSize | number;
|
|
8
|
+
/** Token-driven colour. Defaults to `"accent"`. Consumers can also
|
|
9
|
+
* set `color` directly via `style` if they need a one-off. */
|
|
10
|
+
tone?: SpinnerTone;
|
|
11
|
+
/** Accessible label. Default `"Loading"`. */
|
|
12
|
+
label?: string;
|
|
5
13
|
}
|
|
6
|
-
export declare
|
|
14
|
+
export declare const Spinner: import("react").ForwardRefExoticComponent<SpinnerProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
15
|
+
export {};
|
|
7
16
|
//# sourceMappingURL=Spinner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,OAAO,CAAC;AAOf,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACpD,MAAM,MAAM,WAAW,GACnB,QAAQ,GACR,OAAO,GACP,SAAS,GACT,SAAS,GACT,SAAS,GACT,OAAO,GACP,SAAS,CAAC;AAEd,KAAK,YAAY,GAAG,IAAI,CACtB,wBAAwB,CAAC,KAAK,CAAC,EAC/B,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CACtC,CAAC;AAEF,MAAM,WAAW,YAAa,SAAQ,YAAY;IAChD,2DAA2D;IAC3D,IAAI,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IAC5B;mEAC+D;IAC/D,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAaD,eAAO,MAAM,OAAO,wGA2ClB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Spinner, type SpinnerProps } from "./Spinner";
|
|
1
|
+
export { Spinner, type SpinnerProps, type SpinnerSize, type SpinnerTone, } from "./Spinner";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,WAAW,GACjB,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode, type RefObject } from "react";
|
|
2
|
+
export type SpotlightShape = "rect" | "circle";
|
|
3
|
+
export interface SpotlightProps extends Omit<ComponentPropsWithoutRef<"div">, "children" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart"> {
|
|
4
|
+
/** Whether the spotlight is shown. */
|
|
5
|
+
open: boolean;
|
|
6
|
+
/** Target element to highlight. */
|
|
7
|
+
target: RefObject<HTMLElement | null>;
|
|
8
|
+
/** Padding around the target's bounding box (px). Default `8`. */
|
|
9
|
+
padding?: number;
|
|
10
|
+
/** Cutout shape. Default `"rect"`. */
|
|
11
|
+
shape?: SpotlightShape;
|
|
12
|
+
/** Corner radius for rect shape (px). Default `8`. */
|
|
13
|
+
radius?: number;
|
|
14
|
+
/** Dim layer color. Default `"rgb(0 0 0 / 0.55)"`. */
|
|
15
|
+
dimColor?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether clicks on the target itself pass through to it. Default
|
|
18
|
+
* `true` (so users can interact with the highlighted element).
|
|
19
|
+
* Set `false` when the tour wants to drive the flow itself.
|
|
20
|
+
*/
|
|
21
|
+
allowTargetInteraction?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Optional content rendered inside the spotlight overlay (e.g. a
|
|
24
|
+
* mini instruction card). For full-fidelity tour cards, prefer
|
|
25
|
+
* rendering a sibling `<Coachmark target={target}>` and leave this
|
|
26
|
+
* unset.
|
|
27
|
+
*/
|
|
28
|
+
children?: ReactNode;
|
|
29
|
+
/** Fires when the dim layer is clicked. */
|
|
30
|
+
onDismiss?: () => void;
|
|
31
|
+
/** DOM node to portal into. Defaults to `document.body`. */
|
|
32
|
+
container?: Element | null;
|
|
33
|
+
/** Skip mount animation (still respects reduced-motion). */
|
|
34
|
+
disableAnimation?: boolean;
|
|
35
|
+
}
|
|
36
|
+
export declare const Spotlight: import("react").ForwardRefExoticComponent<SpotlightProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
37
|
+
//# sourceMappingURL=Spotlight.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spotlight.d.ts","sourceRoot":"","sources":["../../../src/components/Spotlight/Spotlight.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EACd,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AA8Bf,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE/C,MAAM,WAAW,cACf,SAAQ,IAAI,CACV,wBAAwB,CAAC,KAAK,CAAC,EAC7B,UAAU,GACV,QAAQ,GACR,aAAa,GACb,WAAW,GACX,kBAAkB,CACrB;IACD,sCAAsC;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,mCAAmC;IACnC,MAAM,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACtC,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sCAAsC;IACtC,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,4DAA4D;IAC5D,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAMD,eAAO,MAAM,SAAS,2GAqLrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Spotlight/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,cAAc,EACnB,KAAK,cAAc,GACpB,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ElementType, type ReactNode } from "react";
|
|
2
|
+
export type StackDirection = "row" | "column" | "row-reverse" | "column-reverse";
|
|
3
|
+
export type StackAlign = "start" | "center" | "end" | "stretch" | "baseline";
|
|
4
|
+
export type StackJustify = "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
5
|
+
export type StackWrap = "nowrap" | "wrap" | "wrap-reverse";
|
|
6
|
+
/**
|
|
7
|
+
* Gap takes a token-step number (1–8 → `--ods-space-1`…`--ods-space-8`)
|
|
8
|
+
* OR a raw CSS value (e.g. `"12px"`, `"1rem"`). Token-step is the
|
|
9
|
+
* preferred path — anchors to the spacing scale.
|
|
10
|
+
*/
|
|
11
|
+
export type StackGap = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | (string & {});
|
|
12
|
+
export interface StackProps extends Omit<ComponentPropsWithoutRef<"div">, "children"> {
|
|
13
|
+
/** Layout direction. Default `"column"`. */
|
|
14
|
+
direction?: StackDirection;
|
|
15
|
+
/** Gap between children. Default `2` (`--ods-space-2`). */
|
|
16
|
+
gap?: StackGap;
|
|
17
|
+
/** Cross-axis alignment. Default `"stretch"`. */
|
|
18
|
+
align?: StackAlign;
|
|
19
|
+
/** Main-axis alignment. Default `"start"`. */
|
|
20
|
+
justify?: StackJustify;
|
|
21
|
+
/** Flex-wrap. Default `"nowrap"`. */
|
|
22
|
+
wrap?: StackWrap;
|
|
23
|
+
/** Inline-flex (vs the default block-level flex). */
|
|
24
|
+
inline?: boolean;
|
|
25
|
+
/** Stretch to fill the parent. */
|
|
26
|
+
fullWidth?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Optional divider node placed between every pair of children.
|
|
29
|
+
* Common: `<Divider />`. The divider is wrapped in a flex item, so
|
|
30
|
+
* Stack's gap applies on both sides of it.
|
|
31
|
+
*/
|
|
32
|
+
divider?: ReactNode;
|
|
33
|
+
/** Render as a different element. Default `"div"`. */
|
|
34
|
+
as?: ElementType;
|
|
35
|
+
/** Children to lay out. */
|
|
36
|
+
children?: ReactNode;
|
|
37
|
+
}
|
|
38
|
+
export declare const Stack: import("react").ForwardRefExoticComponent<StackProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
39
|
+
export declare const HStack: import("react").ForwardRefExoticComponent<Omit<StackProps, "direction"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
40
|
+
export declare const VStack: import("react").ForwardRefExoticComponent<Omit<StackProps, "direction"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
41
|
+
//# sourceMappingURL=Stack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/components/Stack/Stack.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,wBAAwB,EAC7B,KAAK,WAAW,EAGhB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAiBf,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,QAAQ,GAAG,aAAa,GAAG,gBAAgB,CAAC;AACjF,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,GAAG,UAAU,CAAC;AAC7E,MAAM,MAAM,YAAY,GACpB,OAAO,GACP,QAAQ,GACR,KAAK,GACL,SAAS,GACT,QAAQ,GACR,QAAQ,CAAC;AACb,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,cAAc,CAAC;AAE3D;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAEzE,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IACzD,4CAA4C;IAC5C,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,2DAA2D;IAC3D,GAAG,CAAC,EAAE,QAAQ,CAAC;IACf,iDAAiD;IACjD,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,qCAAqC;IACrC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,qDAAqD;IACrD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,kCAAkC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,sDAAsD;IACtD,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAiCD,eAAO,MAAM,KAAK,uGA2DhB,CAAC;AAQH,eAAO,MAAM,MAAM,0HAIlB,CAAC;AAGF,eAAO,MAAM,MAAM,0HAIlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Stack/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,SAAS,EACd,MAAM,GACP,MAAM,SAAS,CAAC"}
|
|
@@ -1,13 +1,22 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export type StatSize = "sm" | "md" | "lg";
|
|
3
|
+
export type StatDeltaTrend = "up" | "down" | "neutral";
|
|
4
|
+
type DivPropsBase = Omit<ComponentPropsWithoutRef<"div">, "children">;
|
|
5
|
+
export interface StatProps extends DivPropsBase {
|
|
3
6
|
label: ReactNode;
|
|
4
7
|
value: ReactNode;
|
|
8
|
+
/** Delta value rendered below the main value with a trend glyph. */
|
|
5
9
|
delta?: ReactNode;
|
|
6
|
-
|
|
10
|
+
/** Trend direction — drives the colour + arrow icon. */
|
|
11
|
+
deltaTrend?: StatDeltaTrend;
|
|
12
|
+
/** Trailing text after the delta value (e.g. "vs. last week"). */
|
|
7
13
|
deltaSuffix?: ReactNode;
|
|
14
|
+
/** Leading icon in the head row, alongside the label. */
|
|
8
15
|
icon?: ReactNode;
|
|
9
|
-
|
|
10
|
-
|
|
16
|
+
/** Optional description rendered below the value (above the delta). */
|
|
17
|
+
description?: ReactNode;
|
|
18
|
+
size?: StatSize;
|
|
11
19
|
}
|
|
12
|
-
export declare
|
|
20
|
+
export declare const Stat: import("react").ForwardRefExoticComponent<StatProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export {};
|
|
13
22
|
//# sourceMappingURL=Stat.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stat.d.ts","sourceRoot":"","sources":["../../../src/components/Stat/Stat.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Stat.d.ts","sourceRoot":"","sources":["../../../src/components/Stat/Stat.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAQf,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC1C,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC;AAEvD,KAAK,YAAY,GAAG,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;AAEtE,MAAM,WAAW,SAAU,SAAQ,YAAY;IAC7C,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;IACjB,oEAAoE;IACpE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,wDAAwD;IACxD,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,kEAAkE;IAClE,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,yDAAyD;IACzD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,uEAAuE;IACvE,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB;AAMD,eAAO,MAAM,IAAI,sGAqDf,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Stat, type StatProps } from "./Stat";
|
|
1
|
+
export { Stat, type StatDeltaTrend, type StatProps, type StatSize, } from "./Stat";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Stat/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Stat/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,QAAQ,GACd,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export type StatusTileStatus = "success" | "failed" | "running" | "pending" | "skipped" | "idle";
|
|
3
|
+
export interface StatusTile {
|
|
4
|
+
/** Stable id used for keying + click callbacks. */
|
|
5
|
+
id: string;
|
|
6
|
+
status: StatusTileStatus;
|
|
7
|
+
/** Optional tooltip text. */
|
|
8
|
+
label?: ReactNode;
|
|
9
|
+
/** Color override (wins over the status default). */
|
|
10
|
+
color?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface StatusTilesProps extends Omit<ComponentPropsWithoutRef<"div">, "title" | "onChange"> {
|
|
13
|
+
data: StatusTile[];
|
|
14
|
+
/** Tile pixel width. Default 10. */
|
|
15
|
+
tileWidth?: number;
|
|
16
|
+
/** Tile pixel height. Default 16. */
|
|
17
|
+
tileHeight?: number;
|
|
18
|
+
/** Gap between tiles in px. Default 2. */
|
|
19
|
+
gap?: number;
|
|
20
|
+
/** Tile corner radius (CSS length). Default `var(--ods-radius-1)`. */
|
|
21
|
+
radius?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Max tiles to render. When `data` is longer than this, the OLDEST
|
|
24
|
+
* tiles are dropped so the most-recent runs stay visible (canonical
|
|
25
|
+
* "last N runs" behaviour). Default Infinity (render all).
|
|
26
|
+
*/
|
|
27
|
+
max?: number;
|
|
28
|
+
/** Suppress the mount stagger-fade animation. */
|
|
29
|
+
disableAnimation?: boolean;
|
|
30
|
+
title?: ReactNode;
|
|
31
|
+
/** Right-aligned summary text. */
|
|
32
|
+
summary?: ReactNode;
|
|
33
|
+
/** Accessible label — auto-generated when omitted. */
|
|
34
|
+
"aria-label"?: string;
|
|
35
|
+
onTileHover?: (tile: StatusTile | null, index: number | null) => void;
|
|
36
|
+
onTileClick?: (tile: StatusTile, index: number) => void;
|
|
37
|
+
}
|
|
38
|
+
export declare const StatusTiles: import("react").ForwardRefExoticComponent<StatusTilesProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
39
|
+
//# sourceMappingURL=StatusTiles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusTiles.d.ts","sourceRoot":"","sources":["../../../src/components/StatusTiles/StatusTiles.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,wBAAwB,EAG7B,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAWf,MAAM,MAAM,gBAAgB,GACxB,SAAS,GACT,QAAQ,GACR,SAAS,GACT,SAAS,GACT,SAAS,GACT,MAAM,CAAC;AAEX,MAAM,WAAW,UAAU;IACzB,mDAAmD;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,gBAAgB,CAAC;IACzB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IACnE,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qCAAqC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0CAA0C;IAC1C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,sEAAsE;IACtE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,iDAAiD;IACjD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,kCAAkC;IAClC,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB,sDAAsD;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACtE,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACzD;AA4BD,eAAO,MAAM,WAAW,6GA0JvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StatusTiles/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export type StepperStatus = "complete" | "active" | "pending" | "error";
|
|
3
|
+
export type StepperOrientation = "horizontal" | "vertical";
|
|
4
|
+
export type StepperSize = "sm" | "md" | "lg";
|
|
5
|
+
export interface StepperStep {
|
|
6
|
+
/** Display label. */
|
|
7
|
+
label: ReactNode;
|
|
8
|
+
/** Optional secondary description. */
|
|
9
|
+
description?: ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* Override the per-step status. When omitted, status is derived from
|
|
12
|
+
* the stepper's `active` index: indices below = `complete`, equal =
|
|
13
|
+
* `active`, above = `pending`.
|
|
14
|
+
*/
|
|
15
|
+
status?: StepperStatus;
|
|
16
|
+
/** Optional custom indicator node. Replaces the default number / icon. */
|
|
17
|
+
indicator?: ReactNode;
|
|
18
|
+
/** Disable interaction for this step. */
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Mark a step as "optional" — renders a small "Optional" hint under
|
|
22
|
+
* the label. Useful for skip-able onboarding steps.
|
|
23
|
+
*/
|
|
24
|
+
optional?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface StepperProps extends Omit<ComponentPropsWithoutRef<"ol">, "onChange" | "onClick" | "children"> {
|
|
27
|
+
/** The step definitions. */
|
|
28
|
+
steps: StepperStep[];
|
|
29
|
+
/** Controlled: active 0-based step index. */
|
|
30
|
+
active?: number;
|
|
31
|
+
/** Uncontrolled fallback when `active` is not provided. Default `0`. */
|
|
32
|
+
defaultActive?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Fires when the user activates a step (click or keyboard). Pass
|
|
35
|
+
* this prop to make the stepper interactive — without it, steps are
|
|
36
|
+
* pure visual indicators.
|
|
37
|
+
*/
|
|
38
|
+
onStepChange?: (index: number) => void;
|
|
39
|
+
/** Layout. Default `"horizontal"`. */
|
|
40
|
+
orientation?: StepperOrientation;
|
|
41
|
+
/** Visual size. Default `"md"`. */
|
|
42
|
+
size?: StepperSize;
|
|
43
|
+
/**
|
|
44
|
+
* When true, the connector lines between steps adopt the success
|
|
45
|
+
* tone for completed segments — a "filling progress bar" feel. When
|
|
46
|
+
* false, connectors stay muted. Default `true`.
|
|
47
|
+
*/
|
|
48
|
+
showProgressTrail?: boolean;
|
|
49
|
+
/** Disable the entire stepper. */
|
|
50
|
+
disabled?: boolean;
|
|
51
|
+
}
|
|
52
|
+
export declare const Stepper: import("react").ForwardRefExoticComponent<StepperProps & import("react").RefAttributes<HTMLOListElement>>;
|
|
53
|
+
//# sourceMappingURL=Stepper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Stepper.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,wBAAwB,EAI7B,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAuBf,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAExE,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG,UAAU,CAAC;AAE3D,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7C,MAAM,WAAW,WAAW;IAC1B,qBAAqB;IACrB,KAAK,EAAE,SAAS,CAAC;IACjB,sCAAsC;IACtC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,YACf,SAAQ,IAAI,CACV,wBAAwB,CAAC,IAAI,CAAC,EAC9B,UAAU,GAAG,SAAS,GAAG,UAAU,CACpC;IACD,4BAA4B;IAC5B,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wEAAwE;IACxE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,sCAAsC;IACtC,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,mCAAmC;IACnC,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,kCAAkC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAiBD,eAAO,MAAM,OAAO,2GAwMnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,WAAW,GACjB,MAAM,WAAW,CAAC"}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export type SwitchSize = "sm" | "md" | "lg";
|
|
3
|
+
type InputPropsBase = Omit<ComponentPropsWithoutRef<"input">, "type" | "onChange" | "size" | "checked" | "defaultChecked">;
|
|
4
|
+
export interface SwitchProps extends InputPropsBase {
|
|
3
5
|
checked?: boolean;
|
|
4
6
|
defaultChecked?: boolean;
|
|
5
7
|
onChange?: (isSelected: boolean) => void;
|
|
6
8
|
disabled?: boolean;
|
|
7
|
-
size?:
|
|
8
|
-
label
|
|
9
|
-
|
|
9
|
+
size?: SwitchSize;
|
|
10
|
+
/** Visible label — accepts rich content. */
|
|
11
|
+
label?: ReactNode;
|
|
12
|
+
/** Optional sublabel rendered below the label. */
|
|
13
|
+
description?: ReactNode;
|
|
10
14
|
}
|
|
11
|
-
export declare
|
|
15
|
+
export declare const Switch: import("react").ForwardRefExoticComponent<SwitchProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
16
|
+
export {};
|
|
12
17
|
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAUf,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C,KAAK,cAAc,GAAG,IAAI,CACxB,wBAAwB,CAAC,OAAO,CAAC,EACjC,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,gBAAgB,CAC5D,CAAC;AAEF,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,kDAAkD;IAClD,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAMD,eAAO,MAAM,MAAM,0GAkGjB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Switch, type SwitchProps } from "./Switch";
|
|
1
|
+
export { Switch, type SwitchProps, type SwitchSize } from "./Switch";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
2
|
export interface TableColumn<T = any> {
|
|
3
3
|
key: string;
|
|
4
4
|
header: ReactNode;
|
|
@@ -6,7 +6,8 @@ export interface TableColumn<T = any> {
|
|
|
6
6
|
width?: string | number;
|
|
7
7
|
render?: (value: any, row: T, index: number) => ReactNode;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
type WrapperPropsBase = Omit<ComponentPropsWithoutRef<"div">, "children" | "data">;
|
|
10
|
+
export interface TableProps<T extends Record<string, any> = Record<string, any>> extends WrapperPropsBase {
|
|
10
11
|
columns: TableColumn<T>[];
|
|
11
12
|
data: T[];
|
|
12
13
|
selectable?: boolean;
|
|
@@ -18,8 +19,13 @@ export interface TableProps<T extends Record<string, any> = Record<string, any>>
|
|
|
18
19
|
sortKey?: string;
|
|
19
20
|
sortDirection?: "asc" | "desc";
|
|
20
21
|
loading?: boolean;
|
|
21
|
-
emptyMessage?:
|
|
22
|
-
|
|
22
|
+
emptyMessage?: ReactNode;
|
|
23
|
+
/** Accessible name for the table region. Default "Data table". */
|
|
24
|
+
"aria-label"?: string;
|
|
23
25
|
}
|
|
24
|
-
|
|
26
|
+
declare function TableInner<T extends Record<string, any> = Record<string, any>>({ columns, data, selectable, selectedRows, onSelectionChange, expandable, renderExpanded, onSort, sortKey, sortDirection, loading, emptyMessage, className, "aria-label": ariaLabel, ...rest }: TableProps<T>, ref: React.Ref<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare const Table: <T extends Record<string, any> = Record<string, any>>(props: TableProps<T> & {
|
|
28
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
29
|
+
}) => ReturnType<typeof TableInner>;
|
|
30
|
+
export {};
|
|
25
31
|
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EAGf,MAAM,OAAO,CAAC;AASf,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;CAC3D;AAED,KAAK,gBAAgB,GAAG,IAAI,CAC1B,wBAAwB,CAAC,KAAK,CAAC,EAC/B,UAAU,GAAG,MAAM,CACpB,CAAC;AAEF,MAAM,WAAW,UAAU,CACzB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CACnD,SAAQ,gBAAgB;IACxB,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1B,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACpD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IACtD,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,GAAG,MAAM,KAAK,IAAI,CAAC;IAC1D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,iBAAS,UAAU,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACrE,EACE,OAAO,EACP,IAAI,EACJ,UAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,UAAkB,EAClB,cAAc,EACd,MAAM,EACN,OAAO,EACP,aAAa,EACb,OAAe,EACf,YAAkC,EAClC,SAAS,EACT,YAAY,EAAE,SAAwB,EACtC,GAAG,IAAI,EACR,EAAE,UAAU,CAAC,CAAC,CAAC,EAChB,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,2CA0I/B;AAKD,eAAO,MAAM,KAAK,EAA6B,CAC7C,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAEnD,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;CAAE,KACvD,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC"}
|