@octaviaflow/core 3.0.18-beta.0 → 3.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion/Accordion.d.ts +45 -0
- package/dist/components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/Accordion/index.d.ts +2 -0
- package/dist/components/Accordion/index.d.ts.map +1 -0
- package/dist/components/AgentCard/AgentCard.d.ts +53 -7
- package/dist/components/AgentCard/AgentCard.d.ts.map +1 -1
- package/dist/components/AlertCard/AlertCard.d.ts +76 -0
- package/dist/components/AlertCard/AlertCard.d.ts.map +1 -0
- package/dist/components/AlertCard/index.d.ts +2 -0
- package/dist/components/AlertCard/index.d.ts.map +1 -0
- package/dist/components/AuthCard/AuthCard.d.ts +29 -42
- package/dist/components/AuthCard/AuthCard.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.d.ts +48 -11
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar/index.d.ts +1 -1
- package/dist/components/Avatar/index.d.ts.map +1 -1
- package/dist/components/Badge/Badge.d.ts +46 -8
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Banner/Banner.d.ts +53 -6
- package/dist/components/Banner/Banner.d.ts.map +1 -1
- package/dist/components/Banner/index.d.ts +1 -1
- package/dist/components/Banner/index.d.ts.map +1 -1
- package/dist/components/BarChart/BarChart.d.ts +62 -5
- package/dist/components/BarChart/BarChart.d.ts.map +1 -1
- package/dist/components/BarChart/index.d.ts +1 -1
- package/dist/components/BarChart/index.d.ts.map +1 -1
- package/dist/components/BlogCard/BlogCard.d.ts +39 -4
- package/dist/components/BlogCard/BlogCard.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +23 -5
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Calendar/Calendar.d.ts +53 -4
- package/dist/components/Calendar/Calendar.d.ts.map +1 -1
- package/dist/components/CalendarHeatmap/CalendarHeatmap.d.ts +47 -0
- package/dist/components/CalendarHeatmap/CalendarHeatmap.d.ts.map +1 -0
- package/dist/components/CalendarHeatmap/index.d.ts +2 -0
- package/dist/components/CalendarHeatmap/index.d.ts.map +1 -0
- package/dist/components/Callout/Callout.d.ts +33 -7
- package/dist/components/Callout/Callout.d.ts.map +1 -1
- package/dist/components/Callout/index.d.ts +1 -1
- package/dist/components/Callout/index.d.ts.map +1 -1
- package/dist/components/Card/Card.d.ts +49 -8
- package/dist/components/Card/Card.d.ts.map +1 -1
- package/dist/components/Card/index.d.ts +1 -1
- package/dist/components/Card/index.d.ts.map +1 -1
- package/dist/components/ChatBubble/ChatBubble.d.ts +32 -7
- package/dist/components/ChatBubble/ChatBubble.d.ts.map +1 -1
- package/dist/components/ChatBubble/index.d.ts +1 -1
- package/dist/components/ChatBubble/index.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +16 -3
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Checkbox/index.d.ts +1 -1
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Chip/Chip.d.ts +28 -9
- package/dist/components/Chip/Chip.d.ts.map +1 -1
- package/dist/components/Chip/index.d.ts +1 -1
- package/dist/components/Chip/index.d.ts.map +1 -1
- package/dist/components/ChoiceCard/ChoiceCard.d.ts +44 -6
- package/dist/components/ChoiceCard/ChoiceCard.d.ts.map +1 -1
- package/dist/components/ChoiceCard/index.d.ts +1 -1
- package/dist/components/ChoiceCard/index.d.ts.map +1 -1
- package/dist/components/Coachmark/Coachmark.d.ts +52 -0
- package/dist/components/Coachmark/Coachmark.d.ts.map +1 -0
- package/dist/components/Coachmark/index.d.ts +2 -0
- package/dist/components/Coachmark/index.d.ts.map +1 -0
- package/dist/components/CodeEditor/CodeEditor.d.ts +10 -1
- package/dist/components/CodeEditor/CodeEditor.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPicker.d.ts +25 -6
- package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/dist/components/ColorPicker/index.d.ts +1 -1
- package/dist/components/ColorPicker/index.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPalette.d.ts +64 -0
- package/dist/components/CommandPalette/CommandPalette.d.ts.map +1 -0
- package/dist/components/CommandPalette/index.d.ts +2 -0
- package/dist/components/CommandPalette/index.d.ts.map +1 -0
- package/dist/components/ConditionBuilder/ConditionBuilder.d.ts +24 -4
- package/dist/components/ConditionBuilder/ConditionBuilder.d.ts.map +1 -1
- package/dist/components/ConfigPanel/ConfigPanel.d.ts +18 -12
- package/dist/components/ConfigPanel/ConfigPanel.d.ts.map +1 -1
- package/dist/components/ConfigPanel/index.d.ts +1 -1
- package/dist/components/ConfigPanel/index.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.d.ts +47 -0
- package/dist/components/ConfirmDialog/ConfirmDialog.d.ts.map +1 -0
- package/dist/components/ConfirmDialog/index.d.ts +2 -0
- package/dist/components/ConfirmDialog/index.d.ts.map +1 -0
- package/dist/components/ConnectorCard/ConnectorCard.d.ts +49 -0
- package/dist/components/ConnectorCard/ConnectorCard.d.ts.map +1 -0
- package/dist/components/ConnectorCard/index.d.ts +2 -0
- package/dist/components/ConnectorCard/index.d.ts.map +1 -0
- package/dist/components/ContextMenu/ContextMenu.d.ts +46 -0
- package/dist/components/ContextMenu/ContextMenu.d.ts.map +1 -0
- package/dist/components/ContextMenu/index.d.ts +2 -0
- package/dist/components/ContextMenu/index.d.ts.map +1 -0
- package/dist/components/CountUp/CountUp.d.ts +35 -0
- package/dist/components/CountUp/CountUp.d.ts.map +1 -0
- package/dist/components/CountUp/index.d.ts +2 -0
- package/dist/components/CountUp/index.d.ts.map +1 -0
- package/dist/components/DataMapper/DataMapper.d.ts +3 -3
- package/dist/components/DataMapper/DataMapper.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.d.ts +35 -3
- package/dist/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/components/DatasetCard/DatasetCard.d.ts +55 -0
- package/dist/components/DatasetCard/DatasetCard.d.ts.map +1 -0
- package/dist/components/DatasetCard/index.d.ts +2 -0
- package/dist/components/DatasetCard/index.d.ts.map +1 -0
- package/dist/components/DatePicker/DatePicker.d.ts +18 -5
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/components/DatePicker/index.d.ts +1 -1
- package/dist/components/DatePicker/index.d.ts.map +1 -1
- package/dist/components/DescriptionList/DescriptionList.d.ts +10 -6
- package/dist/components/DescriptionList/DescriptionList.d.ts.map +1 -1
- package/dist/components/DescriptionList/index.d.ts +1 -1
- package/dist/components/DescriptionList/index.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.d.ts +13 -5
- package/dist/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog/index.d.ts +1 -1
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/Divider/Divider.d.ts +24 -0
- package/dist/components/Divider/Divider.d.ts.map +1 -0
- package/dist/components/Divider/index.d.ts +2 -0
- package/dist/components/Divider/index.d.ts.map +1 -0
- package/dist/components/DonutChart/DonutChart.d.ts +32 -4
- package/dist/components/DonutChart/DonutChart.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.d.ts +12 -5
- package/dist/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/components/Drawer/index.d.ts +1 -1
- package/dist/components/Drawer/index.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +16 -6
- package/dist/components/EmptyState/EmptyState.d.ts.map +1 -1
- package/dist/components/EmptyState/index.d.ts +1 -1
- package/dist/components/EmptyState/index.d.ts.map +1 -1
- package/dist/components/FeatureCard/FeatureCard.d.ts +29 -10
- package/dist/components/FeatureCard/FeatureCard.d.ts.map +1 -1
- package/dist/components/FileDropzone/FileDropzone.d.ts +3 -3
- package/dist/components/FileDropzone/FileDropzone.d.ts.map +1 -1
- package/dist/components/Gauge/Gauge.d.ts +46 -0
- package/dist/components/Gauge/Gauge.d.ts.map +1 -0
- package/dist/components/Gauge/index.d.ts +2 -0
- package/dist/components/Gauge/index.d.ts.map +1 -0
- package/dist/components/Grid/Grid.d.ts +46 -0
- package/dist/components/Grid/Grid.d.ts.map +1 -0
- package/dist/components/Grid/index.d.ts +2 -0
- package/dist/components/Grid/index.d.ts.map +1 -0
- package/dist/components/Heatmap/Heatmap.d.ts +54 -0
- package/dist/components/Heatmap/Heatmap.d.ts.map +1 -0
- package/dist/components/Heatmap/index.d.ts +2 -0
- package/dist/components/Heatmap/index.d.ts.map +1 -0
- package/dist/components/IconCard/IconCard.d.ts +24 -6
- package/dist/components/IconCard/IconCard.d.ts.map +1 -1
- package/dist/components/IconCard/index.d.ts +1 -1
- package/dist/components/IconCard/index.d.ts.map +1 -1
- package/dist/components/InlineMessage/InlineMessage.d.ts +24 -0
- package/dist/components/InlineMessage/InlineMessage.d.ts.map +1 -0
- package/dist/components/InlineMessage/index.d.ts +2 -0
- package/dist/components/InlineMessage/index.d.ts.map +1 -0
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/IntegrationCard/IntegrationCard.d.ts +69 -0
- package/dist/components/IntegrationCard/IntegrationCard.d.ts.map +1 -0
- package/dist/components/IntegrationCard/index.d.ts +2 -0
- package/dist/components/IntegrationCard/index.d.ts.map +1 -0
- package/dist/components/JsonViewer/JsonViewer.d.ts +10 -4
- package/dist/components/JsonViewer/JsonViewer.d.ts.map +1 -1
- package/dist/components/KanbanCard/KanbanCard.d.ts +40 -7
- package/dist/components/KanbanCard/KanbanCard.d.ts.map +1 -1
- package/dist/components/Kbd/Kbd.d.ts +8 -9
- package/dist/components/Kbd/Kbd.d.ts.map +1 -1
- package/dist/components/Kbd/index.d.ts +1 -1
- package/dist/components/Kbd/index.d.ts.map +1 -1
- package/dist/components/LineChart/LineChart.d.ts +42 -4
- package/dist/components/LineChart/LineChart.d.ts.map +1 -1
- package/dist/components/LineChart/index.d.ts +1 -1
- package/dist/components/LineChart/index.d.ts.map +1 -1
- package/dist/components/LinkButton/LinkButton.d.ts +16 -4
- package/dist/components/LinkButton/LinkButton.d.ts.map +1 -1
- package/dist/components/LinkButton/index.d.ts +1 -1
- package/dist/components/LinkButton/index.d.ts.map +1 -1
- package/dist/components/MetricCard/MetricCard.d.ts +71 -0
- package/dist/components/MetricCard/MetricCard.d.ts.map +1 -0
- package/dist/components/MetricCard/index.d.ts +2 -0
- package/dist/components/MetricCard/index.d.ts.map +1 -0
- package/dist/components/MonacoEditor/MonacoDiffEditor.d.ts +22 -5
- package/dist/components/MonacoEditor/MonacoDiffEditor.d.ts.map +1 -1
- package/dist/components/MonacoEditor/MonacoEditor.d.ts +28 -7
- package/dist/components/MonacoEditor/MonacoEditor.d.ts.map +1 -1
- package/dist/components/MonacoEditor/index.d.ts +2 -2
- package/dist/components/MonacoEditor/index.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelect.d.ts +23 -7
- package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/components/MultiSelect/index.d.ts +1 -1
- package/dist/components/MultiSelect/index.d.ts.map +1 -1
- package/dist/components/NumberInput/NumberInput.d.ts +13 -7
- package/dist/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/components/NumberInput/index.d.ts +1 -1
- package/dist/components/NumberInput/index.d.ts.map +1 -1
- package/dist/components/OTPInput/OTPInput.d.ts +27 -4
- package/dist/components/OTPInput/OTPInput.d.ts.map +1 -1
- package/dist/components/OTPInput/index.d.ts +1 -1
- package/dist/components/OTPInput/index.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.d.ts +50 -0
- package/dist/components/Pagination/Pagination.d.ts.map +1 -0
- package/dist/components/Pagination/index.d.ts +2 -0
- package/dist/components/Pagination/index.d.ts.map +1 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts +22 -7
- package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
- package/dist/components/PasswordInput/index.d.ts +1 -1
- package/dist/components/PasswordInput/index.d.ts.map +1 -1
- package/dist/components/PhoneInput/PhoneInput.d.ts +19 -6
- package/dist/components/PhoneInput/PhoneInput.d.ts.map +1 -1
- package/dist/components/PhoneInput/countries.d.ts +15 -0
- package/dist/components/PhoneInput/countries.d.ts.map +1 -0
- package/dist/components/PhoneInput/index.d.ts +2 -1
- package/dist/components/PhoneInput/index.d.ts.map +1 -1
- package/dist/components/PipelineCard/PipelineCard.d.ts +100 -0
- package/dist/components/PipelineCard/PipelineCard.d.ts.map +1 -0
- package/dist/components/PipelineCard/index.d.ts +2 -0
- package/dist/components/PipelineCard/index.d.ts.map +1 -0
- package/dist/components/Popover/Popover.d.ts +5 -1
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/PricingCard/PricingCard.d.ts +28 -5
- package/dist/components/PricingCard/PricingCard.d.ts.map +1 -1
- package/dist/components/ProductCard/ProductCard.d.ts +35 -4
- package/dist/components/ProductCard/ProductCard.d.ts.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.d.ts +28 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/dist/components/ProgressBar/index.d.ts +2 -0
- package/dist/components/ProgressBar/index.d.ts.map +1 -0
- package/dist/components/ProgressRing/ProgressRing.d.ts +22 -5
- package/dist/components/ProgressRing/ProgressRing.d.ts.map +1 -1
- package/dist/components/ProgressRing/index.d.ts +1 -1
- package/dist/components/ProgressRing/index.d.ts.map +1 -1
- package/dist/components/PromptInput/PromptInput.d.ts +59 -16
- package/dist/components/PromptInput/PromptInput.d.ts.map +1 -1
- package/dist/components/PromptInput/index.d.ts +1 -1
- package/dist/components/PromptInput/index.d.ts.map +1 -1
- package/dist/components/Quote/Quote.d.ts +20 -6
- package/dist/components/Quote/Quote.d.ts.map +1 -1
- package/dist/components/Quote/index.d.ts +1 -1
- package/dist/components/Quote/index.d.ts.map +1 -1
- package/dist/components/Radio/Radio.d.ts +12 -5
- package/dist/components/Radio/Radio.d.ts.map +1 -1
- package/dist/components/Radio/RadioGroup.d.ts +16 -15
- package/dist/components/Radio/RadioGroup.d.ts.map +1 -1
- package/dist/components/Radio/index.d.ts +2 -2
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/RangeSlider/RangeSlider.d.ts +18 -5
- package/dist/components/RangeSlider/RangeSlider.d.ts.map +1 -1
- package/dist/components/RangeSlider/index.d.ts +1 -1
- package/dist/components/RangeSlider/index.d.ts.map +1 -1
- package/dist/components/Rating/BinaryRating.d.ts +40 -0
- package/dist/components/Rating/BinaryRating.d.ts.map +1 -0
- package/dist/components/Rating/Rating.d.ts +21 -6
- package/dist/components/Rating/Rating.d.ts.map +1 -1
- package/dist/components/Rating/index.d.ts +2 -1
- package/dist/components/Rating/index.d.ts.map +1 -1
- package/dist/components/Resizable/Resizable.d.ts +32 -36
- package/dist/components/Resizable/Resizable.d.ts.map +1 -1
- package/dist/components/Resizable/index.d.ts +1 -1
- package/dist/components/Resizable/index.d.ts.map +1 -1
- package/dist/components/Ribbon/Ribbon.d.ts +12 -6
- package/dist/components/Ribbon/Ribbon.d.ts.map +1 -1
- package/dist/components/Ribbon/index.d.ts +1 -1
- package/dist/components/Ribbon/index.d.ts.map +1 -1
- package/dist/components/Sankey/Sankey.d.ts +53 -0
- package/dist/components/Sankey/Sankey.d.ts.map +1 -0
- package/dist/components/Sankey/index.d.ts +2 -0
- package/dist/components/Sankey/index.d.ts.map +1 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts +33 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts.map +1 -0
- package/dist/components/ScrollArea/index.d.ts +2 -0
- package/dist/components/ScrollArea/index.d.ts.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +38 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts.map +1 -0
- package/dist/components/SegmentedControl/index.d.ts +2 -0
- package/dist/components/SegmentedControl/index.d.ts.map +1 -0
- package/dist/components/Select/Select.d.ts +19 -1
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Sheet/Sheet.d.ts.map +1 -1
- package/dist/components/Show/Show.d.ts +35 -0
- package/dist/components/Show/Show.d.ts.map +1 -0
- package/dist/components/Show/index.d.ts +2 -0
- package/dist/components/Show/index.d.ts.map +1 -0
- package/dist/components/Sidebar/Sidebar.d.ts +7 -8
- package/dist/components/Sidebar/Sidebar.d.ts.map +1 -1
- package/dist/components/Skeleton/Skeleton.d.ts +43 -5
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/components/Skeleton/index.d.ts +1 -1
- package/dist/components/Skeleton/index.d.ts.map +1 -1
- package/dist/components/Slider/Slider.d.ts +26 -7
- package/dist/components/Slider/Slider.d.ts.map +1 -1
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/SocialButton/SocialButton.d.ts +23 -5
- package/dist/components/SocialButton/SocialButton.d.ts.map +1 -1
- package/dist/components/SocialButton/index.d.ts +1 -1
- package/dist/components/SocialButton/index.d.ts.map +1 -1
- package/dist/components/Sortable/Sortable.d.ts +14 -6
- package/dist/components/Sortable/Sortable.d.ts.map +1 -1
- package/dist/components/Sparkline/Sparkline.d.ts +38 -3
- package/dist/components/Sparkline/Sparkline.d.ts.map +1 -1
- package/dist/components/Sparkline/index.d.ts +1 -1
- package/dist/components/Sparkline/index.d.ts.map +1 -1
- package/dist/components/Spinner/Spinner.d.ts +14 -5
- package/dist/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/components/Spinner/index.d.ts +1 -1
- package/dist/components/Spinner/index.d.ts.map +1 -1
- package/dist/components/Spotlight/Spotlight.d.ts +37 -0
- package/dist/components/Spotlight/Spotlight.d.ts.map +1 -0
- package/dist/components/Spotlight/index.d.ts +2 -0
- package/dist/components/Spotlight/index.d.ts.map +1 -0
- package/dist/components/Stack/Stack.d.ts +41 -0
- package/dist/components/Stack/Stack.d.ts.map +1 -0
- package/dist/components/Stack/index.d.ts +2 -0
- package/dist/components/Stack/index.d.ts.map +1 -0
- package/dist/components/Stat/Stat.d.ts +15 -6
- package/dist/components/Stat/Stat.d.ts.map +1 -1
- package/dist/components/Stat/index.d.ts +1 -1
- package/dist/components/Stat/index.d.ts.map +1 -1
- package/dist/components/StatusTiles/StatusTiles.d.ts +39 -0
- package/dist/components/StatusTiles/StatusTiles.d.ts.map +1 -0
- package/dist/components/StatusTiles/index.d.ts +2 -0
- package/dist/components/StatusTiles/index.d.ts.map +1 -0
- package/dist/components/Stepper/Stepper.d.ts +53 -0
- package/dist/components/Stepper/Stepper.d.ts.map +1 -0
- package/dist/components/Stepper/index.d.ts +2 -0
- package/dist/components/Stepper/index.d.ts.map +1 -0
- package/dist/components/Switch/Switch.d.ts +11 -6
- package/dist/components/Switch/Switch.d.ts.map +1 -1
- package/dist/components/Switch/index.d.ts +1 -1
- package/dist/components/Switch/index.d.ts.map +1 -1
- package/dist/components/Table/Table.d.ts +11 -5
- package/dist/components/Table/Table.d.ts.map +1 -1
- package/dist/components/TagsInput/TagsInput.d.ts +10 -5
- package/dist/components/TagsInput/TagsInput.d.ts.map +1 -1
- package/dist/components/TagsInput/index.d.ts +1 -1
- package/dist/components/TagsInput/index.d.ts.map +1 -1
- package/dist/components/TemplateCard/TemplateCard.d.ts +120 -0
- package/dist/components/TemplateCard/TemplateCard.d.ts.map +1 -0
- package/dist/components/TemplateCard/index.d.ts +2 -0
- package/dist/components/TemplateCard/index.d.ts.map +1 -0
- package/dist/components/TestimonialCard/TestimonialCard.d.ts +30 -5
- package/dist/components/TestimonialCard/TestimonialCard.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.d.ts +81 -7
- package/dist/components/Textarea/Textarea.d.ts.map +1 -1
- package/dist/components/Textarea/index.d.ts +1 -1
- package/dist/components/Textarea/index.d.ts.map +1 -1
- package/dist/components/TimePicker/TimePicker.d.ts +7 -5
- package/dist/components/TimePicker/TimePicker.d.ts.map +1 -1
- package/dist/components/TimePicker/index.d.ts +1 -1
- package/dist/components/TimePicker/index.d.ts.map +1 -1
- package/dist/components/Timeline/Timeline.d.ts +14 -5
- package/dist/components/Timeline/Timeline.d.ts.map +1 -1
- package/dist/components/Timeline/index.d.ts +1 -1
- package/dist/components/Timeline/index.d.ts.map +1 -1
- package/dist/components/TimezonePicker/TimezonePicker.d.ts +8 -5
- package/dist/components/TimezonePicker/TimezonePicker.d.ts.map +1 -1
- package/dist/components/TimezonePicker/index.d.ts +1 -1
- package/dist/components/TimezonePicker/index.d.ts.map +1 -1
- package/dist/components/Toast/Toast.d.ts +15 -0
- package/dist/components/Toast/Toast.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.d.ts +16 -6
- package/dist/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/Toggle/index.d.ts +1 -1
- package/dist/components/Toggle/index.d.ts.map +1 -1
- package/dist/components/ToolCard/ToolCard.d.ts +12 -10
- package/dist/components/ToolCard/ToolCard.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +13 -2
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/index.d.ts +1 -1
- package/dist/components/Tooltip/index.d.ts.map +1 -1
- package/dist/components/TraceStep/TraceStep.d.ts +37 -8
- package/dist/components/TraceStep/TraceStep.d.ts.map +1 -1
- package/dist/components/TreeView/TreeView.d.ts +54 -0
- package/dist/components/TreeView/TreeView.d.ts.map +1 -0
- package/dist/components/TreeView/index.d.ts +2 -0
- package/dist/components/TreeView/index.d.ts.map +1 -0
- package/dist/components/UserCard/UserCard.d.ts +38 -5
- package/dist/components/UserCard/UserCard.d.ts.map +1 -1
- package/dist/components/XmlViewer/XmlViewer.d.ts +11 -6
- package/dist/components/XmlViewer/XmlViewer.d.ts.map +1 -1
- package/dist/components/YamlViewer/YamlViewer.d.ts +13 -6
- package/dist/components/YamlViewer/YamlViewer.d.ts.map +1 -1
- package/dist/hooks/useBanner.d.ts +27 -0
- package/dist/hooks/useBanner.d.ts.map +1 -0
- package/dist/hooks/useBreakpoint.d.ts +29 -0
- package/dist/hooks/useBreakpoint.d.ts.map +1 -0
- package/dist/hooks/useCallout.d.ts +32 -0
- package/dist/hooks/useCallout.d.ts.map +1 -0
- package/dist/hooks/useMediaQuery.d.ts +15 -0
- package/dist/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/hooks/usePasswordStrength.d.ts +37 -0
- package/dist/hooks/usePasswordStrength.d.ts.map +1 -0
- package/dist/hooks/useRating.d.ts +51 -0
- package/dist/hooks/useRating.d.ts.map +1 -0
- package/dist/hooks/useTextareaCommands.d.ts +55 -0
- package/dist/hooks/useTextareaCommands.d.ts.map +1 -0
- package/dist/hooks/useTextareaSelection.d.ts +34 -0
- package/dist/hooks/useTextareaSelection.d.ts.map +1 -0
- package/dist/hooks/useTextareaTools.d.ts +88 -0
- package/dist/hooks/useTextareaTools.d.ts.map +1 -0
- package/dist/hooks/useTimeline.d.ts +31 -0
- package/dist/hooks/useTimeline.d.ts.map +1 -0
- package/dist/hooks/useTraceTimeline.d.ts +54 -0
- package/dist/hooks/useTraceTimeline.d.ts.map +1 -0
- package/dist/index.cjs +22959 -10158
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +90 -47
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23914 -10637
- package/dist/index.js.map +1 -1
- package/dist/monaco.cjs +359 -488
- package/dist/monaco.cjs.map +1 -1
- package/dist/monaco.d.ts +1 -1
- package/dist/monaco.d.ts.map +1 -1
- package/dist/monaco.js +381 -489
- package/dist/monaco.js.map +1 -1
- package/dist/stories/_shared/TestPage.d.ts +12 -0
- package/dist/stories/_shared/TestPage.d.ts.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/utils/Slot.d.ts +7 -0
- package/dist/utils/Slot.d.ts.map +1 -0
- package/dist/utils/composeRefs.d.ts +7 -0
- package/dist/utils/composeRefs.d.ts.map +1 -0
- package/dist/utils/gradients.d.ts +77 -0
- package/dist/utils/gradients.d.ts.map +1 -0
- package/dist/utils/zIndex.d.ts +53 -0
- package/dist/utils/zIndex.d.ts.map +1 -0
- package/package.json +5 -5
|
@@ -1,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,GAC5B,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,OAAO,GACP,MAAM,CAAC;AAEX;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GACjC,OAAO,GACP,KAAK,GACL,MAAM,GACN,MAAM,GACN,SAAS,CAAC;AAEd;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,+CAA+C;IAC/C,IAAI,EAAE,SAAS,CAAC;IAChB,uEAAuE;IACvE,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WA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gBAAgB,EAAE,CAAC;IAC3B;;;;OAIG;IACH,YAAY,CAAC,EAAE,SAAS,EAAE,CAAC;IAC3B,gEAAgE;IAChE,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC;IACnB,8CAA8C;IAC9C,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB,iDAAiD;IACjD,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,mCAAmC;IACnC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,6DAA6D;IAC7D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAClD,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB;AAMD,eAAO,MAAM,YAAY,8GA0SxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TemplateCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,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,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAG7B,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAIf,OAAO,EACL,KAAK,eAAe,EAErB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,KAAK,YAAY,EAElB,MAAM,8BAA8B,CAAC;AAQtC,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9C;iEACiE;AACjE,MAAM,MAAM,cAAc,GACtB,UAAU,GACV,YAAY,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AC;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"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
2
|
export interface TimeValue {
|
|
3
3
|
hours: number;
|
|
4
4
|
minutes: number;
|
|
5
5
|
seconds?: number;
|
|
6
6
|
period?: "AM" | "PM";
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type TimePickerSize = "sm" | "md" | "lg";
|
|
9
|
+
type DivPropsBase = Omit<ComponentPropsWithoutRef<"div">, "onChange" | "children" | "defaultValue">;
|
|
10
|
+
export interface TimePickerProps extends DivPropsBase {
|
|
9
11
|
label?: ReactNode;
|
|
10
12
|
value: TimeValue;
|
|
11
13
|
onChange?: (value: TimeValue) => void;
|
|
@@ -13,11 +15,11 @@ export interface TimePickerProps {
|
|
|
13
15
|
showSeconds?: boolean;
|
|
14
16
|
minuteStep?: number;
|
|
15
17
|
secondStep?: number;
|
|
16
|
-
size?:
|
|
18
|
+
size?: TimePickerSize;
|
|
17
19
|
disabled?: boolean;
|
|
18
20
|
error?: ReactNode;
|
|
19
21
|
helperText?: ReactNode;
|
|
20
|
-
className?: string;
|
|
21
22
|
}
|
|
22
|
-
export declare
|
|
23
|
+
export declare const TimePicker: import("react").ForwardRefExoticComponent<TimePickerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
24
|
+
export {};
|
|
23
25
|
//# sourceMappingURL=TimePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../src/components/TimePicker/TimePicker.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../src/components/TimePicker/TimePicker.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAI7B,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AASf,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACtB;AAED,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhD,KAAK,YAAY,GAAG,IAAI,CACtB,wBAAwB,CAAC,KAAK,CAAC,EAC/B,UAAU,GAAG,UAAU,GAAG,cAAc,CACzC,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IACtC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,UAAU,CAAC,EAAE,SAAS,CAAC;CACxB;AAmBD,eAAO,MAAM,UAAU,4GA8erB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { TimePicker, type TimePickerProps, type TimeValue } from "./TimePicker";
|
|
1
|
+
export { TimePicker, type TimePickerProps, type TimePickerSize, type TimeValue, } from "./TimePicker";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TimePicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TimePicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,SAAS,GACf,MAAM,cAAc,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
2
|
export type TimelineStatus = "default" | "success" | "warning" | "error" | "muted";
|
|
3
|
+
export type TimelineSize = "sm" | "md";
|
|
3
4
|
export interface TimelineItem {
|
|
4
5
|
id: string;
|
|
5
6
|
title: ReactNode;
|
|
@@ -8,10 +9,18 @@ export interface TimelineItem {
|
|
|
8
9
|
icon?: ReactNode;
|
|
9
10
|
status?: TimelineStatus;
|
|
10
11
|
}
|
|
11
|
-
|
|
12
|
+
type OlPropsBase = Omit<ComponentPropsWithoutRef<"ol">, "children">;
|
|
13
|
+
export interface TimelineProps extends OlPropsBase {
|
|
12
14
|
items: TimelineItem[];
|
|
13
|
-
size?:
|
|
14
|
-
|
|
15
|
+
size?: TimelineSize;
|
|
16
|
+
/** Animate items entering / leaving / reordering via framer-motion.
|
|
17
|
+
* Default `true`. Respects `prefers-reduced-motion`. */
|
|
18
|
+
animated?: boolean;
|
|
19
|
+
/** Per-item delay (ms) layered on top of the entry animation so a
|
|
20
|
+
* freshly-mounted list "ticks in" instead of all items appearing
|
|
21
|
+
* simultaneously. Default `40`. Set `0` to disable the cascade. */
|
|
22
|
+
staggerDelay?: number;
|
|
15
23
|
}
|
|
16
|
-
export declare
|
|
24
|
+
export declare const Timeline: import("react").ForwardRefExoticComponent<TimelineProps & import("react").RefAttributes<HTMLOListElement>>;
|
|
25
|
+
export {};
|
|
17
26
|
//# sourceMappingURL=Timeline.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../src/components/Timeline/Timeline.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../src/components/Timeline/Timeline.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAOf,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,SAAS,GACT,SAAS,GACT,OAAO,GACP,OAAO,CAAC;AAEZ,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,CAAC;AAEvC,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,KAAK,WAAW,GAAG,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,CAAC;AAEpE,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;6DACyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;wEAEoE;IACpE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAMD,eAAO,MAAM,QAAQ,4GA6EpB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Timeline, type TimelineItem, type TimelineProps, type TimelineStatus, } from "./Timeline";
|
|
1
|
+
export { Timeline, type TimelineItem, type TimelineProps, type TimelineSize, type TimelineStatus, } from "./Timeline";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Timeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,cAAc,GACpB,MAAM,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Timeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,cAAc,GACpB,MAAM,YAAY,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
2
|
export interface TimezoneOption {
|
|
3
3
|
/** IANA name, e.g. "America/Los_Angeles". */
|
|
4
4
|
iana: string;
|
|
@@ -9,17 +9,20 @@ export interface TimezoneOption {
|
|
|
9
9
|
/** Optional country / region for filtering. */
|
|
10
10
|
region?: string;
|
|
11
11
|
}
|
|
12
|
-
export
|
|
12
|
+
export type TimezonePickerSize = "sm" | "md" | "lg";
|
|
13
|
+
type DivPropsBase = Omit<ComponentPropsWithoutRef<"div">, "onChange" | "children" | "defaultValue">;
|
|
14
|
+
export interface TimezonePickerProps extends DivPropsBase {
|
|
13
15
|
label?: ReactNode;
|
|
16
|
+
/** IANA timezone name. */
|
|
14
17
|
value: string;
|
|
15
18
|
onChange?: (iana: string) => void;
|
|
16
19
|
options?: TimezoneOption[];
|
|
17
|
-
size?:
|
|
20
|
+
size?: TimezonePickerSize;
|
|
18
21
|
disabled?: boolean;
|
|
19
22
|
error?: ReactNode;
|
|
20
23
|
helperText?: ReactNode;
|
|
21
24
|
placeholder?: string;
|
|
22
|
-
className?: string;
|
|
23
25
|
}
|
|
24
|
-
export declare
|
|
26
|
+
export declare const TimezonePicker: import("react").ForwardRefExoticComponent<TimezonePickerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
27
|
+
export {};
|
|
25
28
|
//# sourceMappingURL=TimezonePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimezonePicker.d.ts","sourceRoot":"","sources":["../../../src/components/TimezonePicker/TimezonePicker.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"TimezonePicker.d.ts","sourceRoot":"","sources":["../../../src/components/TimezonePicker/TimezonePicker.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAG7B,KAAK,SAAS,EAOf,MAAM,OAAO,CAAC;AASf,MAAM,WAAW,cAAc;IAC7B,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,MAAM,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,KAAK,YAAY,GAAG,IAAI,CACtB,wBAAwB,CAAC,KAAK,CAAC,EAC/B,UAAU,GAAG,UAAU,GAAG,cAAc,CACzC,CAAC;AAEF,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;IAC3B,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAiBD,eAAO,MAAM,cAAc,gHAwU1B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { type TimezoneOption, TimezonePicker, type TimezonePickerProps, } from "./TimezonePicker";
|
|
1
|
+
export { type TimezoneOption, TimezonePicker, type TimezonePickerProps, type TimezonePickerSize, } from "./TimezonePicker";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TimezonePicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EACnB,cAAc,EACd,KAAK,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TimezonePicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EACnB,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GACxB,MAAM,kBAAkB,CAAC"}
|
|
@@ -8,7 +8,22 @@ export interface ToastOptions {
|
|
|
8
8
|
title?: ReactNode;
|
|
9
9
|
description?: ReactNode;
|
|
10
10
|
icon?: ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Custom action node (advanced escape hatch). Rendered as-is —
|
|
13
|
+
* the design system does NOT override the consumer's styling, so
|
|
14
|
+
* pass whatever component you want. Click handling is also entirely
|
|
15
|
+
* the consumer's responsibility; this does NOT auto-dismiss the
|
|
16
|
+
* toast. Prefer `actionLabel` + `onAction` for the standard chip.
|
|
17
|
+
*/
|
|
11
18
|
action?: ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* Label for the first-class action chip — rendered with consistent
|
|
21
|
+
* accent-tinted styling across all toasts. Auto-dismisses the toast
|
|
22
|
+
* after `onAction` runs (the user has acknowledged it).
|
|
23
|
+
*/
|
|
24
|
+
actionLabel?: string;
|
|
25
|
+
/** Click handler for the `actionLabel` chip. Fires before dismissal. */
|
|
26
|
+
onAction?: () => void;
|
|
12
27
|
/** Completely replaces the default body. */
|
|
13
28
|
render?: (props: {
|
|
14
29
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAOf,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AACpE,MAAM,MAAM,aAAa,GACrB,UAAU,GACV,YAAY,G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ACxE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,KAAK,SAAS,CAAC;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B;AA+QD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB,eAAe,CAAC,EAAE,aAAa,CAAC;IAChC,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAWD,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,eAAgC,EAChC,QAAY,GACb,EAAE,kBAAkB,2CAiGpB;AAKD,wBAAgB,QAAQ;sBAKgB,YAAY;2BAC7B,SAAS,SAAQ,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,SAAS,CAAC;yBAE5D,SAAS,SAAQ,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,SAAS,CAAC;2BAExD,SAAS,SAAQ,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,SAAS,CAAC;wBAE7D,SAAS,SAAQ,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,SAAS,CAAC;yBAGhE,WAAW,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,SACrC,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC;;kBA7YxB,MAAM,KAAK,IAAI;4BACL,aAAa,KAAK,IAAI;EAiZ/C"}
|
|
@@ -1,18 +1,28 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode, type Ref } from "react";
|
|
2
2
|
export interface ToggleOption<T extends string = string> {
|
|
3
3
|
value: T;
|
|
4
4
|
label: ReactNode;
|
|
5
5
|
icon?: ReactNode;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type ToggleSize = "sm" | "md" | "lg";
|
|
9
|
+
type DivPropsBase = Omit<ComponentPropsWithoutRef<"div">, "onChange" | "children" | "role" | "defaultValue">;
|
|
10
|
+
export interface ToggleProps<T extends string = string> extends DivPropsBase {
|
|
11
|
+
label?: ReactNode;
|
|
9
12
|
options: ToggleOption<T>[];
|
|
10
13
|
value: T;
|
|
11
14
|
onChange?: (value: T) => void;
|
|
12
|
-
size?:
|
|
15
|
+
size?: ToggleSize;
|
|
13
16
|
fullWidth?: boolean;
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
/** Disables every option in the group. Per-option disable still works. */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
error?: ReactNode;
|
|
20
|
+
helperText?: ReactNode;
|
|
21
|
+
ref?: Ref<HTMLDivElement>;
|
|
22
|
+
}
|
|
23
|
+
export declare function Toggle<T extends string = string>({ label, options, value, onChange, size, fullWidth, disabled, error, helperText, id: providedId, className, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": consumerDescribedBy, ref, ...rest }: ToggleProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare namespace Toggle {
|
|
25
|
+
var displayName: string;
|
|
16
26
|
}
|
|
17
|
-
export
|
|
27
|
+
export {};
|
|
18
28
|
//# sourceMappingURL=Toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/Toggle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/Toggle.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EACd,KAAK,GAAG,EAIT,MAAM,OAAO,CAAC;AAGf,MAAM,WAAW,YAAY,CAAC,CAAC,SA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AlLe,MAAM"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Toggle, type ToggleOption, type ToggleProps } from "./Toggle";
|
|
1
|
+
export { Toggle, type ToggleOption, type ToggleProps, type ToggleSize, } from "./Toggle";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,UAAU,GAChB,MAAM,UAAU,CAAC"}
|