@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
|
@@ -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,MAA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/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,SA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AAS,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAA4D,MAAM,OAAO,CAAC;AAKjG,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA+DD,wBAAgB,IAAI,CAAC,EACnB,KAAK,EACL,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,WAA0B,EAC1B,SAAS,GACV,EAAE,SAAS,2CA+HX"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
2
|
-
export
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export type TagsInputSize = "sm" | "md" | "lg";
|
|
3
|
+
type InputPropsBase = Omit<ComponentPropsWithoutRef<"input">, "type" | "value" | "onChange" | "size" | "prefix">;
|
|
4
|
+
export interface TagsInputProps extends InputPropsBase {
|
|
3
5
|
label?: ReactNode;
|
|
4
6
|
value: string[];
|
|
5
7
|
onChange?: (value: string[]) => void;
|
|
@@ -8,10 +10,13 @@ export interface TagsInputProps {
|
|
|
8
10
|
disabled?: boolean;
|
|
9
11
|
error?: ReactNode;
|
|
10
12
|
helperText?: ReactNode;
|
|
11
|
-
size?:
|
|
13
|
+
size?: TagsInputSize;
|
|
12
14
|
validate?: (tag: string) => boolean;
|
|
15
|
+
/** Keys that commit the draft as a new tag. Default `["Enter", ","]`. */
|
|
13
16
|
separators?: string[];
|
|
14
|
-
|
|
17
|
+
/** Extra class on the wrapper (NOT the input). */
|
|
18
|
+
wrapperClassName?: string;
|
|
15
19
|
}
|
|
16
|
-
export declare
|
|
20
|
+
export declare const TagsInput: import("react").ForwardRefExoticComponent<TagsInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
21
|
+
export {};
|
|
17
22
|
//# sourceMappingURL=TagsInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagsInput.d.ts","sourceRoot":"","sources":["../../../src/components/TagsInput/TagsInput.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"TagsInput.d.ts","sourceRoot":"","sources":["../../../src/components/TagsInput/TagsInput.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAG7B,KAAK,SAAS,EAGf,MAAM,OAAO,CAAC;AAQf,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE/C,KAAK,cAAc,GAAG,IAAI,CACxB,wBAAwB,CAAC,OAAO,CAAC,EACjC,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,GAAG,QAAQ,CAClD,CAAC;AAEF,MAAM,WAAW,cAAe,SAAQ,cAAc;IACpD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;IACpC,yEAAyE;IACzE,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,kDAAkD;IAClD,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAMD,eAAO,MAAM,SAAS,6GAiIrB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { TagsInput, type TagsInputProps } from "./TagsInput";
|
|
1
|
+
export { TagsInput, type TagsInputProps, type TagsInputSize, } from "./TagsInput";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TagsInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TagsInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type MouseEvent, type ReactNode } from "react";
|
|
2
|
+
import { type AvatarProps } from "../Avatar";
|
|
3
|
+
import { type CardRadius } from "../Card";
|
|
4
|
+
export type TemplateCardImageAspect = "16/9" | "4/3" | "1/1" | "3/4" | "21/9";
|
|
5
|
+
/**
|
|
6
|
+
* Tone for the icon-slot variant. Drives the tinted background +
|
|
7
|
+
* foreground color routing. Mirrors `IconCard`'s tone vocabulary so the
|
|
8
|
+
* mental model is consistent across surfaces.
|
|
9
|
+
*/
|
|
10
|
+
export type TemplateCardIconTone = "default" | "primary" | "success" | "warning" | "error" | "info";
|
|
11
|
+
/**
|
|
12
|
+
* Connector glyph rendered BETWEEN icon tiles in the multi-icon flow
|
|
13
|
+
* variant. Built-ins cover the common cases; pass a `ReactNode` for a
|
|
14
|
+
* custom glyph (e.g. a dotted line, a custom SVG).
|
|
15
|
+
*/
|
|
16
|
+
export type TemplateCardIconConnector = "arrow" | "dot" | "line" | "plus" | ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Single step in the multi-icon flow. Each step renders as its own
|
|
19
|
+
* tinted tile; the connector glyph sits between consecutive steps.
|
|
20
|
+
*/
|
|
21
|
+
export interface TemplateCardIconStep {
|
|
22
|
+
/** The icon node (e.g. `<DataBaseIcon />`). */
|
|
23
|
+
icon: ReactNode;
|
|
24
|
+
/** Override the tone for this step (otherwise inherits `iconTone`). */
|
|
25
|
+
tone?: TemplateCardIconTone;
|
|
26
|
+
/**
|
|
27
|
+
* Accessible label for the step. Optional — when omitted, the step
|
|
28
|
+
* inherits aria-hidden from the parent slot. Pass when the icon is
|
|
29
|
+
* the only thing identifying the step's role.
|
|
30
|
+
*/
|
|
31
|
+
label?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface TemplateCardAuthor {
|
|
34
|
+
/** Display name (e.g. "Octaviaflow", "@vish"). */
|
|
35
|
+
name: ReactNode;
|
|
36
|
+
/** Optional avatar — forwarded to the polished Avatar primitive. */
|
|
37
|
+
avatar?: Pick<AvatarProps, "src" | "initials" | "alt">;
|
|
38
|
+
/** Optional secondary label (e.g. "Official", "Community"). */
|
|
39
|
+
byline?: ReactNode;
|
|
40
|
+
}
|
|
41
|
+
export interface TemplateCardStat {
|
|
42
|
+
/** Label (e.g. "Steps", "Setup", "Installs"). */
|
|
43
|
+
label: ReactNode;
|
|
44
|
+
/** Value (e.g. "8", "~5 min", "12.4k"). */
|
|
45
|
+
value: ReactNode;
|
|
46
|
+
/** Optional icon glyph rendered before the value. */
|
|
47
|
+
icon?: ReactNode;
|
|
48
|
+
}
|
|
49
|
+
export interface TemplateCardProps extends Omit<ComponentPropsWithoutRef<"div">, "title" | "onChange" | "onClick" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart"> {
|
|
50
|
+
/** Template display name. */
|
|
51
|
+
name: ReactNode;
|
|
52
|
+
/** Heading level for the name. Default `"h3"`. */
|
|
53
|
+
nameAs?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
54
|
+
/** Short description (1–2 lines). */
|
|
55
|
+
description?: ReactNode;
|
|
56
|
+
/** Preview image / illustration (full-bleed). */
|
|
57
|
+
image?: ReactNode;
|
|
58
|
+
/**
|
|
59
|
+
* Icon-only variant for the image slot. Renders the icon centered on
|
|
60
|
+
* a tinted background of the same aspect ratio as `image`. Use this
|
|
61
|
+
* for connector-heavy / category-driven template libraries where a
|
|
62
|
+
* single glyph (e.g. `<DataBaseIcon />`) reads faster than a hero
|
|
63
|
+
* illustration.
|
|
64
|
+
*
|
|
65
|
+
* Mutually exclusive with `image` and `icons` — render priority is
|
|
66
|
+
* `image` > `icons` > `icon`.
|
|
67
|
+
*/
|
|
68
|
+
icon?: ReactNode;
|
|
69
|
+
/**
|
|
70
|
+
* Multi-icon flow variant — renders 2+ icons in a row with a
|
|
71
|
+
* connector glyph between each pair. Used for templates that bridge
|
|
72
|
+
* services (e.g. Postgres → Snowflake, GitHub → Linear, Stripe →
|
|
73
|
+
* BigQuery). Each step can carry its own tone for the tile tint.
|
|
74
|
+
*
|
|
75
|
+
* Render priority: `image` > `icons` > `icon`. A single-step array
|
|
76
|
+
* is allowed but `icon` reads cleaner for that case.
|
|
77
|
+
*/
|
|
78
|
+
icons?: TemplateCardIconStep[];
|
|
79
|
+
/** Glyph rendered between icon tiles. Default `"arrow"`. */
|
|
80
|
+
iconConnector?: TemplateCardIconConnector;
|
|
81
|
+
/**
|
|
82
|
+
* Tint for the icon-slot. Default `"default"`. For multi-icon flow,
|
|
83
|
+
* acts as the fallback when an individual step omits `tone`.
|
|
84
|
+
*/
|
|
85
|
+
iconTone?: TemplateCardIconTone;
|
|
86
|
+
/** Aspect ratio of the image / icon slot. Default `"16/9"`. */
|
|
87
|
+
imageAspect?: TemplateCardImageAspect;
|
|
88
|
+
/** Functional category label (e.g. "Replication", "Analytics", "AI"). */
|
|
89
|
+
category?: ReactNode;
|
|
90
|
+
/** Author / publisher attribution. */
|
|
91
|
+
author?: TemplateCardAuthor;
|
|
92
|
+
/** Functional stats below the description. */
|
|
93
|
+
stats?: TemplateCardStat[];
|
|
94
|
+
/**
|
|
95
|
+
* Technology / connector requirements. Rendered as monospace chips
|
|
96
|
+
* (e.g. "Postgres", "Snowflake", "S3"). Different from `tags` which
|
|
97
|
+
* are free-form labels.
|
|
98
|
+
*/
|
|
99
|
+
requirements?: ReactNode[];
|
|
100
|
+
/** Free-form tag chips (e.g. "popular", "beta", "official"). */
|
|
101
|
+
tags?: ReactNode[];
|
|
102
|
+
/** Primary CTA slot (e.g. "Use template"). */
|
|
103
|
+
cta?: ReactNode;
|
|
104
|
+
/** Footer link slot (e.g. "View workflow ↗"). */
|
|
105
|
+
footer?: ReactNode;
|
|
106
|
+
/** Featured badge — small text rendered over the top-left of the image. */
|
|
107
|
+
badge?: ReactNode;
|
|
108
|
+
/** Visual size. Default `"md"`. */
|
|
109
|
+
size?: "sm" | "md" | "lg";
|
|
110
|
+
/** Render the card as a real `<a>` when href is provided. */
|
|
111
|
+
href?: string;
|
|
112
|
+
/** Whole-card click handler. */
|
|
113
|
+
onClick?: (e: MouseEvent<HTMLDivElement>) => void;
|
|
114
|
+
/** Disable interaction. */
|
|
115
|
+
disabled?: boolean;
|
|
116
|
+
/** Card corner radius (passes through). */
|
|
117
|
+
radius?: CardRadius;
|
|
118
|
+
}
|
|
119
|
+
export declare const TemplateCard: import("react").ForwardRefExoticComponent<TemplateCardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
120
|
+
//# sourceMappingURL=TemplateCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TemplateCard.d.ts","sourceRoot":"","sources":["../../../src/components/TemplateCard/TemplateCard.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAE7B,KAAK,UAAU,EACf,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAiBhD,MAAM,MAAM,uBAAuB,GAC/B,MAAM,GACN,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,CAAC;AAEX;;;;GAIG;AACH,MAAM,MAAM,oBAAoB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B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,GACtB,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,12 +1,37 @@
|
|
|
1
|
-
import type
|
|
2
|
-
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
import { type AvatarProps } from "../Avatar";
|
|
3
|
+
import { type CardRadius } from "../Card";
|
|
4
|
+
export type TestimonialCardSize = "sm" | "md" | "lg";
|
|
5
|
+
export interface TestimonialCardAuthor {
|
|
6
|
+
/** Display name. */
|
|
7
|
+
name: ReactNode;
|
|
8
|
+
/** Avatar — forwarded to the polished Avatar primitive. */
|
|
9
|
+
avatar?: Pick<AvatarProps, "src" | "initials" | "alt">;
|
|
10
|
+
/** Job title / role / handle. */
|
|
11
|
+
role?: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export interface TestimonialCardProps extends Omit<ComponentPropsWithoutRef<"figure">, "role" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart"> {
|
|
14
|
+
/** The testimonial body. */
|
|
3
15
|
quote: ReactNode;
|
|
4
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Author — accepts either a plain ReactNode (legacy: name only) or a
|
|
18
|
+
* structured `{ name, role?, avatar? }` object (preferred).
|
|
19
|
+
*/
|
|
20
|
+
author: ReactNode | TestimonialCardAuthor;
|
|
21
|
+
/** Legacy: author role rendered below the name. Use `author.role` instead. */
|
|
5
22
|
role?: ReactNode;
|
|
23
|
+
/** Legacy: raw avatar slot (e.g. <img />). Use `author.avatar` instead. */
|
|
6
24
|
avatar?: ReactNode;
|
|
25
|
+
/** Legacy: initial character to render in the avatar circle. */
|
|
7
26
|
initial?: ReactNode;
|
|
27
|
+
/** 0–5 star rating. */
|
|
8
28
|
rating?: number;
|
|
9
|
-
|
|
29
|
+
/** Optional company logo node — rendered top-right (e.g. customer logo). */
|
|
30
|
+
logo?: ReactNode;
|
|
31
|
+
/** Size variant — drives quote-text size + padding. */
|
|
32
|
+
size?: TestimonialCardSize;
|
|
33
|
+
/** Card corner radius (passes through). */
|
|
34
|
+
radius?: CardRadius;
|
|
10
35
|
}
|
|
11
|
-
export declare
|
|
36
|
+
export declare const TestimonialCard: import("react").ForwardRefExoticComponent<TestimonialCardProps & import("react").RefAttributes<HTMLElement>>;
|
|
12
37
|
//# sourceMappingURL=TestimonialCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TestimonialCard.d.ts","sourceRoot":"","sources":["../../../src/components/TestimonialCard/TestimonialCard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TestimonialCard.d.ts","sourceRoot":"","sources":["../../../src/components/TestimonialCard/TestimonialCard.tsx"],"names":[],"mappings":"AAMA,OAAO,EACL,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAWhD,MAAM,MAAM,mBAAmB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAErD,MAAM,WAAW,qBAAqB;IACpC,oBAAoB;IACpB,IAAI,EAAE,SAAS,CAAC;IAChB,2DAA2D;IAC3D,MAAM,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,KAAK,GAAG,UAAU,GAAG,KAAK,CAAC,CAAC;IACvD,iCAAiC;IACjC,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,oBACf,SAAQ,IAAI,CACV,wBAAwB,CAAC,QAAQ,CAAC,EAGlC,MAAM,GAAG,QAAQ,GAAG,aAAa,GAAG,WAAW,GAAG,kBAAkB,CACrE;IACD,4BAA4B;IAC5B,KAAK,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,MAAM,EAAE,SAAS,GAAG,qBAAqB,CAAC;IAC1C,8EAA8E;IAC9E,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,2EAA2E;IAC3E,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,gEAAgE;IAChE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,uBAAuB;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4EAA4E;IAC5E,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,uDAAuD;IACvD,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,2CAA2C;IAC3C,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB;AAaD,eAAO,MAAM,eAAe,8GAgJ1B,CAAC"}
|
|
@@ -1,12 +1,86 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
import { type TextareaCommand } from "../../hooks/useTextareaCommands";
|
|
3
|
+
import { type TextareaTool } from "../../hooks/useTextareaTools";
|
|
4
|
+
export type TextareaSize = "sm" | "md" | "lg";
|
|
5
|
+
/** User-resize handle direction. Mirrors the native CSS `resize`
|
|
6
|
+
* property. Pass `false` (legacy) and we map it to `"none"`. */
|
|
7
|
+
export type TextareaResize = "vertical" | "horizontal" | "both" | "none" | boolean;
|
|
8
|
+
type TextareaPropsBase = Omit<ComponentPropsWithoutRef<"textarea">, "size" | "prefix">;
|
|
9
|
+
export interface TextareaProps extends TextareaPropsBase {
|
|
10
|
+
/** Visible label — accepts rich content. */
|
|
11
|
+
label?: ReactNode;
|
|
12
|
+
/** Boolean error flag — pairs with `errorMessage`. (Back-compat with v1.) */
|
|
4
13
|
error?: boolean;
|
|
5
|
-
|
|
6
|
-
|
|
14
|
+
/** Error message. When set with `error={true}` renders below the input
|
|
15
|
+
* with `role="alert"` and tints the border. */
|
|
16
|
+
errorMessage?: ReactNode;
|
|
17
|
+
/** Helper text rendered below the field when no error is set. */
|
|
18
|
+
helperText?: ReactNode;
|
|
19
|
+
/** User-drag resize handle direction. Default `"vertical"`.
|
|
20
|
+
*
|
|
21
|
+
* - `"vertical"` — only the bottom edge is draggable (most common).
|
|
22
|
+
* - `"horizontal"` — only the right edge.
|
|
23
|
+
* - `"both"` — corner handle, both axes.
|
|
24
|
+
* - `"none"` — no user resize (auto-grow still works if enabled).
|
|
25
|
+
* - Legacy `boolean` — `true` ≡ `"vertical"`, `false` ≡ `"none"`.
|
|
26
|
+
*/
|
|
27
|
+
resize?: TextareaResize;
|
|
28
|
+
/** Auto-grow the textarea as the user types, capped at `maxRows`.
|
|
29
|
+
* Default `false`. When enabled the user-drag `resize` handle is
|
|
30
|
+
* typically set to `"none"` so the two systems don't fight. */
|
|
31
|
+
autoResize?: boolean;
|
|
32
|
+
/** Minimum visible rows (only when `autoResize` is on). Default `rows`. */
|
|
33
|
+
minRows?: number;
|
|
34
|
+
/** Maximum visible rows before the textarea scrolls (only when
|
|
35
|
+
* `autoResize` is on). Default `Infinity`. */
|
|
36
|
+
maxRows?: number;
|
|
37
|
+
/** Hard pixel ceiling on the textarea's height — applied as inline
|
|
38
|
+
* `max-height`. Pair with `autoResize` to cap the auto-grow OR use
|
|
39
|
+
* alone to limit how tall the user can drag the resize handle. */
|
|
40
|
+
maxHeight?: number | string;
|
|
41
|
+
/** Hard pixel ceiling on the textarea's width — applied as inline
|
|
42
|
+
* `max-width`. Useful when `resize="horizontal"` or `"both"`. */
|
|
43
|
+
maxWidth?: number | string;
|
|
44
|
+
/** Minimum pixel floor for the textarea's height. */
|
|
45
|
+
minHeight?: number | string;
|
|
46
|
+
/** Minimum pixel floor for the textarea's width. */
|
|
47
|
+
minWidth?: number | string;
|
|
7
48
|
maxLength?: number;
|
|
8
|
-
size?:
|
|
49
|
+
size?: TextareaSize;
|
|
9
50
|
rows?: number;
|
|
51
|
+
commands?: TextareaCommand[];
|
|
52
|
+
/** Trigger character for the command palette. Default `"/"`. */
|
|
53
|
+
commandTrigger?: string;
|
|
54
|
+
/** Show a floating Copy / Cut toolbar over a non-empty selection.
|
|
55
|
+
* Default `false`. */
|
|
56
|
+
selectionToolbar?: boolean;
|
|
57
|
+
/** Custom actions appended to the selection toolbar's built-in
|
|
58
|
+
* Copy / Cut. Each action receives the live selected text and the
|
|
59
|
+
* selection helpers from `useTextareaSelection`. */
|
|
60
|
+
selectionActions?: TextareaSelectionAction[];
|
|
61
|
+
/** Always-visible toolbar of tools that act on the textarea content.
|
|
62
|
+
* Compose from the `textareaTools` factory (bold, italic, code,
|
|
63
|
+
* heading, link, undo, …) and / or pass custom `TextareaTool`
|
|
64
|
+
* objects. The toolbar uses `useTextareaTools` under the hood —
|
|
65
|
+
* consumers can also call the hook directly to roll their own UI. */
|
|
66
|
+
tools?: TextareaTool[];
|
|
67
|
+
/** Where the tools toolbar sits relative to the field. Default
|
|
68
|
+
* `"top"`. */
|
|
69
|
+
toolbarPosition?: "top" | "bottom";
|
|
10
70
|
}
|
|
11
|
-
export
|
|
71
|
+
export interface TextareaSelectionAction {
|
|
72
|
+
id: string;
|
|
73
|
+
label: ReactNode;
|
|
74
|
+
icon?: ReactNode;
|
|
75
|
+
/** Called when the user clicks the action. Receives the live
|
|
76
|
+
* selection text and the helpers from `useTextareaSelection`. */
|
|
77
|
+
onAction: (selection: string, helpers: {
|
|
78
|
+
replace: (s: string) => void;
|
|
79
|
+
wrap: (open: string, close?: string) => void;
|
|
80
|
+
copy: () => Promise<boolean>;
|
|
81
|
+
cut: () => Promise<boolean>;
|
|
82
|
+
}) => void;
|
|
83
|
+
}
|
|
84
|
+
export declare const Textarea: import("react").ForwardRefExoticComponent<TextareaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
85
|
+
export {};
|
|
12
86
|
//# sourceMappingURL=Textarea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,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,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IAqBd,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAC;IAC7B,gEAAgE;IAChE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;2BACuB;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;yDAEqD;IACrD,gBAAgB,CAAC,EAAE,uBAAuB,EAAE,CAAC;IAC7C;;;;0EAIsE;IACtE,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;IACvB;mBACe;IACf,eAAe,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;CACpC;AAMD,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;sEACkE;IAClE,QAAQ,EAAE,CACR,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE;QACP,OAAO,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;QAC7B,IAAI,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;QAC7C,IAAI,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;QAC7B,GAAG,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;KAC7B,KACE,IAAI,CAAC;CACX;AAMD,eAAO,MAAM,QAAQ,+GAubpB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Textarea, type TextareaProps } from "./Textarea";
|
|
1
|
+
export { Textarea, type TextareaProps, type TextareaResize, type TextareaSelectionAction, type TextareaSize, } from "./Textarea";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,YAAY,GAClB,MAAM,YAAY,CAAC"}
|