@octaviaflow/core 3.0.17-beta.0 → 3.0.18-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-2RD5OERK.js +2553 -0
- package/dist/chunk-2RD5OERK.js.map +1 -0
- package/dist/chunk-CGWNV2HS.js +2549 -0
- package/dist/chunk-CGWNV2HS.js.map +1 -0
- package/dist/chunk-CS7JWNQD.js +2552 -0
- package/dist/chunk-CS7JWNQD.js.map +1 -0
- package/dist/chunk-D6CFZILB.js +2550 -0
- package/dist/chunk-D6CFZILB.js.map +1 -0
- package/dist/chunk-ECOTUJWJ.js +2548 -0
- package/dist/chunk-ECOTUJWJ.js.map +1 -0
- package/dist/chunk-F3ZHEDDP.js +2548 -0
- package/dist/chunk-F3ZHEDDP.js.map +1 -0
- package/dist/chunk-QWICIDGH.js +2547 -0
- package/dist/chunk-QWICIDGH.js.map +1 -0
- package/dist/chunk-TTKIDRN7.js +2551 -0
- package/dist/chunk-TTKIDRN7.js.map +1 -0
- package/dist/chunk-UFGAO5OY.js +2546 -0
- package/dist/chunk-UFGAO5OY.js.map +1 -0
- 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/ActionsDrawer/ActionsDrawer.d.ts +6 -0
- package/dist/components/ActionsDrawer/ActionsDrawer.d.ts.map +1 -1
- 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 +29 -4
- 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/ExecutionConsole/ExecutionConsole.d.ts +18 -2
- package/dist/components/ExecutionConsole/ExecutionConsole.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/FlowMinimap/FlowMinimap.d.ts +27 -2
- package/dist/components/FlowMinimap/FlowMinimap.d.ts.map +1 -1
- package/dist/components/FlowToolbar/FlowToolbar.d.ts +91 -1
- package/dist/components/FlowToolbar/FlowToolbar.d.ts.map +1 -1
- package/dist/components/FlowToolbar/index.d.ts +1 -1
- package/dist/components/FlowToolbar/index.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/Tabs/Tabs.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 +25553 -12329
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +92 -49
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25703 -12011
- 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/dist/workflow/components/kinds/BaseNode.d.ts +7 -1
- package/dist/workflow/components/kinds/BaseNode.d.ts.map +1 -1
- package/dist/workflow/components/kinds/index.d.ts +6 -0
- package/dist/workflow/components/kinds/index.d.ts.map +1 -1
- package/dist/workflow.cjs +9 -2
- package/dist/workflow.cjs.map +1 -1
- package/dist/workflow.js +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from "react";
|
|
2
|
+
import type { BreakpointName } from "../../hooks/useBreakpoint";
|
|
3
|
+
export type ShowBreakpoint = Exclude<BreakpointName, "base">;
|
|
4
|
+
export interface ShowProps extends Omit<HTMLAttributes<HTMLSpanElement>, "children"> {
|
|
5
|
+
/** Render only when viewport width ≥ this breakpoint (inclusive). */
|
|
6
|
+
above?: ShowBreakpoint;
|
|
7
|
+
/** Render only when viewport width < this breakpoint (exclusive). */
|
|
8
|
+
below?: ShowBreakpoint;
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Declarative responsive show/hide gated by the v1 breakpoint scale.
|
|
13
|
+
*
|
|
14
|
+
* Implementation: CSS-driven via `[data-ods-show-above]` / `[data-ods-show-below]`
|
|
15
|
+
* attribute selectors in `@octaviaflow/styles`. There's no hydration mismatch
|
|
16
|
+
* because the server and client emit identical markup — the visibility
|
|
17
|
+
* decision lives in CSS @media rules, not in JS state.
|
|
18
|
+
*
|
|
19
|
+
* The wrapper uses `display: contents` so it doesn't affect layout flow.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* // Mobile-only navigation drawer
|
|
23
|
+
* <Show below="md"><MobileNav /></Show>
|
|
24
|
+
*
|
|
25
|
+
* // Desktop-only sidebar
|
|
26
|
+
* <Show above="lg"><Sidebar /></Show>
|
|
27
|
+
*
|
|
28
|
+
* // Tablet-only strip (md range)
|
|
29
|
+
* <Show above="md" below="lg"><TabletStrip /></Show>
|
|
30
|
+
*/
|
|
31
|
+
export declare function Show({ above, below, children, ...rest }: ShowProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare namespace Show {
|
|
33
|
+
var displayName: string;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=Show.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Show.d.ts","sourceRoot":"","sources":["../../../src/components/Show/Show.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;AAE7D,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,UAAU,CAAC;IAClF,qEAAqE;IACrE,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,qEAAqE;IACrE,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,SAAS,2CAclE;yBAde,IAAI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Show/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -42,17 +42,16 @@ export interface SidebarUser {
|
|
|
42
42
|
}
|
|
43
43
|
export interface SidebarProps {
|
|
44
44
|
/**
|
|
45
|
-
* - "rail" — always-collapsed
|
|
46
|
-
* - "expanded" — always-expanded
|
|
45
|
+
* - "rail" — always-collapsed 48 px rail
|
|
46
|
+
* - "expanded" — always-expanded 224 px
|
|
47
47
|
* - "auto" — rail that expands into a floating overlay on hover;
|
|
48
48
|
* user can pin it to stay expanded (persisted to localStorage)
|
|
49
|
+
*
|
|
50
|
+
* Branding (logo + product name) intentionally lives in the app's top
|
|
51
|
+
* bar / page header, NOT on the sidebar. That keeps the sidebar focused
|
|
52
|
+
* on navigation and avoids redundant chrome.
|
|
49
53
|
*/
|
|
50
54
|
variant?: "rail" | "expanded" | "auto";
|
|
51
|
-
brand?: {
|
|
52
|
-
name: ReactNode;
|
|
53
|
-
subtitle?: ReactNode;
|
|
54
|
-
};
|
|
55
|
-
logo?: ReactNode;
|
|
56
55
|
sections?: SidebarSection[];
|
|
57
56
|
items?: SidebarNavItem[];
|
|
58
57
|
footerItems?: SidebarNavItem[];
|
|
@@ -69,5 +68,5 @@ export interface SidebarProps {
|
|
|
69
68
|
height?: number | string;
|
|
70
69
|
className?: string;
|
|
71
70
|
}
|
|
72
|
-
export declare function Sidebar({ variant,
|
|
71
|
+
export declare function Sidebar({ variant, sections, items, footerItems, user, onToggle, pinned: pinnedProp, defaultPinned, onPinnedChange, pinStorageKey, hoverOpenDelay, hoverCloseDelay, tooltipDelay, height, className, }: SidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
73
72
|
//# sourceMappingURL=Sidebar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAA4C,MAAM,OAAO,CAAC;AAEjF,OAAO,EAAgB,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEnF,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oEAAoE;IACpE,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;IAC5B,2EAA2E;IAC3E,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,EAAE,cAAc,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,YAAY;IAC3B
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAA4C,MAAM,OAAO,CAAC;AAEjF,OAAO,EAAgB,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEnF,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oEAAoE;IACpE,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;IAC5B,2EAA2E;IAC3E,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,EAAE,cAAc,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,YAAY;IAC3B;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;IACvC,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,cAAc,EAAE,CAAC;IACzB,WAAW,CAAC,EAAE,cAAc,EAAE,CAAC;IAC/B,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,wFAAwF;IACxF,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAGtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,OAAO,CAAC,EACtB,OAAoB,EACpB,QAAQ,EACR,KAAK,EACL,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,MAAM,EAAE,UAAU,EAClB,aAAqB,EACrB,cAAc,EACd,aAAoC,EACpC,cAAoB,EACpB,eAAqB,EACrB,YAAkB,EAClB,MAAe,EACf,SAAS,GACV,EAAE,YAAY,2CAkId"}
|
|
@@ -1,9 +1,47 @@
|
|
|
1
|
-
|
|
1
|
+
import { type ComponentPropsWithoutRef } from "react";
|
|
2
|
+
export type SkeletonShape =
|
|
3
|
+
/** Rounded rectangle — the workhorse shape. */
|
|
4
|
+
"rect"
|
|
5
|
+
/** Perfect circle — pass either `width` OR `height`; the other matches. */
|
|
6
|
+
| "circle"
|
|
7
|
+
/** Single line of text — small height, full width by default. */
|
|
8
|
+
| "text"
|
|
9
|
+
/** Fully-rounded pill — chip / badge placeholders. */
|
|
10
|
+
| "pill";
|
|
11
|
+
export type SkeletonAnimation = "pulse" | "shimmer" | "none";
|
|
12
|
+
type DivPropsBase = Omit<ComponentPropsWithoutRef<"div">, "children" | "width" | "height">;
|
|
13
|
+
export interface SkeletonProps extends DivPropsBase {
|
|
14
|
+
shape?: SkeletonShape;
|
|
15
|
+
/** Width — number = px, string = any CSS length. */
|
|
16
|
+
width?: number | string;
|
|
17
|
+
/** Height — number = px, string = any CSS length. For `shape="circle"`
|
|
18
|
+
* omit one of `width` / `height` and the other matches. */
|
|
19
|
+
height?: number | string;
|
|
20
|
+
/** Animation mode. Default `"pulse"`. */
|
|
21
|
+
animation?: SkeletonAnimation;
|
|
22
|
+
/** @deprecated — use `shape` instead. Kept for back-compat with v1. */
|
|
2
23
|
variant?: "text" | "circular" | "rectangular";
|
|
3
|
-
|
|
4
|
-
|
|
24
|
+
/** @deprecated — use `<SkeletonText lines={…}>` instead. Renders an
|
|
25
|
+
* inline group of `text` skeletons for legacy callers. */
|
|
5
26
|
lines?: number;
|
|
6
|
-
className?: string;
|
|
7
27
|
}
|
|
8
|
-
export declare
|
|
28
|
+
export declare const Skeleton: import("react").ForwardRefExoticComponent<SkeletonProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
29
|
+
export interface SkeletonTextProps extends DivPropsBase {
|
|
30
|
+
lines?: number;
|
|
31
|
+
width?: number | string;
|
|
32
|
+
/** Width of the LAST line as a fraction of the others (0–1) so the
|
|
33
|
+
* paragraph feels naturally "wrapped". Default 0.75. */
|
|
34
|
+
lastLineWidth?: number;
|
|
35
|
+
animation?: SkeletonAnimation;
|
|
36
|
+
}
|
|
37
|
+
export declare const SkeletonText: import("react").ForwardRefExoticComponent<SkeletonTextProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
38
|
+
export interface SkeletonGroupProps extends ComponentPropsWithoutRef<"div"> {
|
|
39
|
+
/** Layout direction. Default `"vertical"`. */
|
|
40
|
+
direction?: "vertical" | "horizontal";
|
|
41
|
+
/** Gap between children in px or any CSS length. */
|
|
42
|
+
gap?: number | string;
|
|
43
|
+
"aria-label"?: string;
|
|
44
|
+
}
|
|
45
|
+
export declare const SkeletonGroup: import("react").ForwardRefExoticComponent<SkeletonGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
46
|
+
export {};
|
|
9
47
|
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Skeleton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,OAAO,CAAC;AAYf,MAAM,MAAM,aAAa;AACvB,+CAA+C;AAC7C,MAAM;AACR,2EAA2E;GACzE,QAAQ;AACV,iEAAiE;GAC/D,MAAM;AACR,sDAAsD;GACpD,MAAM,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAE7D,KAAK,YAAY,GAAG,IAAI,CACtB,wBAAwB,CAAC,KAAK,CAAC,EAC/B,UAAU,GAAG,OAAO,GAAG,QAAQ,CAChC,CAAC;AAEF,MAAM,WAAW,aAAc,SAAQ,YAAY;IACjD,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;gEAC4D;IAC5D,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,yCAAyC;IACzC,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,uEAAuE;IACvE,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,aAAa,CAAC;IAC9C;+DAC2D;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAuBD,eAAO,MAAM,QAAQ,0GAsEpB,CAAC;AAQF,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;6DACyD;IACzD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,iBAAiB,CAAC;CAC/B;AAED,eAAO,MAAM,YAAY,8GAsCxB,CAAC;AAiBF,MAAM,WAAW,kBACf,SAAQ,wBAAwB,CAAC,KAAK,CAAC;IACvC,8CAA8C;IAC9C,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACtC,oDAAoD;IACpD,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,aAAa,+GAkCzB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Skeleton, type SkeletonProps } from "./Skeleton";
|
|
1
|
+
export { Skeleton, type SkeletonAnimation, SkeletonGroup, type SkeletonGroupProps, type SkeletonProps, type SkeletonShape, SkeletonText, type SkeletonTextProps, } from "./Skeleton";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,iBAAiB,EACtB,aAAa,EACb,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,YAAY,EACZ,KAAK,iBAAiB,GACvB,MAAM,YAAY,CAAC"}
|
|
@@ -1,18 +1,37 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export type SliderSize = "sm" | "md" | "lg";
|
|
3
|
+
export type SliderVariant = "primary" | "success" | "warning" | "error";
|
|
4
|
+
export interface SliderMark {
|
|
5
|
+
value: number;
|
|
6
|
+
label?: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
type InputPropsBase = Omit<ComponentPropsWithoutRef<"input">, "type" | "value" | "onChange" | "size" | "min" | "max" | "step" | "prefix">;
|
|
9
|
+
export interface SliderProps extends InputPropsBase {
|
|
3
10
|
label?: ReactNode;
|
|
4
11
|
value: number;
|
|
5
12
|
onChange?: (value: number) => void;
|
|
6
13
|
min?: number;
|
|
7
14
|
max?: number;
|
|
8
15
|
step?: number;
|
|
16
|
+
/** Format the rendered + announced value. Used for both the visible
|
|
17
|
+
* value pill AND `aria-valuetext`, so AT users hear "$50" instead
|
|
18
|
+
* of just "50". */
|
|
9
19
|
formatValue?: (value: number) => ReactNode;
|
|
10
20
|
showValue?: boolean;
|
|
11
|
-
size?:
|
|
21
|
+
size?: SliderSize;
|
|
12
22
|
disabled?: boolean;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
23
|
+
/** Visual tone — drives the fill + thumb-border colour. */
|
|
24
|
+
variant?: SliderVariant;
|
|
25
|
+
/** Helper text rendered below the track. Suppressed when `error` is set. */
|
|
26
|
+
helperText?: ReactNode;
|
|
27
|
+
/** Error message — renders with `role="alert"`, tints the track, sets
|
|
28
|
+
* `aria-invalid`. */
|
|
29
|
+
error?: ReactNode;
|
|
30
|
+
/** Optional tick marks under the track for discrete sliders. Each
|
|
31
|
+
* mark renders a small tick at its `value`; a label is shown when
|
|
32
|
+
* provided. */
|
|
33
|
+
marks?: SliderMark[];
|
|
16
34
|
}
|
|
17
|
-
export declare
|
|
35
|
+
export declare const Slider: import("react").ForwardRefExoticComponent<SliderProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
36
|
+
export {};
|
|
18
37
|
//# sourceMappingURL=Slider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAOf,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC5C,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAExE,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,KAAK,cAAc,GAAG,IAAI,CACxB,wBAAwB,CAAC,OAAO,CAAC,EACjC,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,QAAQ,CAC3E,CAAC;AAEF,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;wBAEoB;IACpB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IAC3C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,4EAA4E;IAC5E,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB;0BACsB;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;oBAEgB;IAChB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;CACtB;AAMD,eAAO,MAAM,MAAM,0GA0IjB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Slider, type SliderProps } from "./Slider";
|
|
1
|
+
export { Slider, type SliderMark, type SliderProps, type SliderSize, type SliderVariant, } from "./Slider";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,aAAa,GACnB,MAAM,UAAU,CAAC"}
|
|
@@ -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
|