@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
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export type AccordionMode = "single" | "multiple";
|
|
3
|
+
export type AccordionVariant = "default" | "bordered" | "separated";
|
|
4
|
+
export interface AccordionItem {
|
|
5
|
+
/** Stable identifier. */
|
|
6
|
+
id: string;
|
|
7
|
+
/** Header label. */
|
|
8
|
+
label: ReactNode;
|
|
9
|
+
/** Optional secondary line below the label. */
|
|
10
|
+
description?: ReactNode;
|
|
11
|
+
/** Optional leading icon. */
|
|
12
|
+
icon?: ReactNode;
|
|
13
|
+
/** Optional trailing slot in the header (badge, count, action). */
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
/** Panel content. */
|
|
16
|
+
content: ReactNode;
|
|
17
|
+
/** Disable interaction for this item. */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface AccordionProps extends Omit<ComponentPropsWithoutRef<"div">, "onChange" | "defaultValue" | "children" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart"> {
|
|
21
|
+
/** Items to render. */
|
|
22
|
+
items: AccordionItem[];
|
|
23
|
+
/** Single vs multiple expansion. Default `"single"`. */
|
|
24
|
+
mode?: AccordionMode;
|
|
25
|
+
/** Controlled expanded item ids. */
|
|
26
|
+
value?: string[];
|
|
27
|
+
/** Uncontrolled initial expanded ids. */
|
|
28
|
+
defaultValue?: string[];
|
|
29
|
+
/** Fires when the expanded set changes. */
|
|
30
|
+
onValueChange?: (value: string[]) => void;
|
|
31
|
+
/**
|
|
32
|
+
* Allow the last open item to be closed (single mode). Default
|
|
33
|
+
* `true`. When `false`, one item is always open — useful for tabbed-
|
|
34
|
+
* like surfaces.
|
|
35
|
+
*/
|
|
36
|
+
collapsible?: boolean;
|
|
37
|
+
/** Visual variant. Default `"default"`. */
|
|
38
|
+
variant?: AccordionVariant;
|
|
39
|
+
/** Visual size. Default `"md"`. */
|
|
40
|
+
size?: "sm" | "md" | "lg";
|
|
41
|
+
/** Disable the entire accordion. */
|
|
42
|
+
disabled?: boolean;
|
|
43
|
+
}
|
|
44
|
+
export declare const Accordion: import("react").ForwardRefExoticComponent<AccordionProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
45
|
+
//# sourceMappingURL=Accordion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,wBAAwB,EAG7B,KAAK,SAAS,EAIf,MAAM,OAAO,CAAC;AAoBf,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,UAAU,CAAC;AAClD,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,CAAC;AAEpE,MAAM,WAAW,aAAa;IAC5B,yBAAyB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,KAAK,EAAE,SAAS,CAAC;IACjB,+CAA+C;IAC/C,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,6BAA6B;IAC7B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,qBAAqB;IACrB,OAAO,EAAE,SAAS,CAAC;IACnB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,cACf,SAAQ,IAAI,CACV,wBAAwB,CAAC,KAAK,CAAC,EAC7B,UAAU,GACV,cAAc,GACd,UAAU,GACV,QAAQ,GACR,aAAa,GACb,WAAW,GACX,kBAAkB,CACrB;IACD,uBAAuB;IACvB,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,wDAAwD;IACxD,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,yCAAyC;IACzC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,2CAA2C;IAC3C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC1C;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,mCAAmC;IACnC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAMD,eAAO,MAAM,SAAS,2GA0MrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,gBAAgB,GACtB,MAAM,aAAa,CAAC"}
|
|
@@ -1,25 +1,71 @@
|
|
|
1
|
-
import type
|
|
2
|
-
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* The catalog variant of AgentCard — identity + capability summary for
|
|
4
|
+
* the agent catalog browse experience. Other variants ship as sibling
|
|
5
|
+
* components (AgentStatusCard, AgentProviderCard, etc.) to keep the API
|
|
6
|
+
* narrow and the typing precise per-shape.
|
|
7
|
+
*/
|
|
8
|
+
/** Agent runtime states. Added `success` in v1.1. Re-mapped `paused` to
|
|
9
|
+
* a neutral surface (was status-pending which read as warning-in-progress). */
|
|
10
|
+
export type AgentStatus = "idle" | "running" | "success" | "failed" | "paused" | "draft";
|
|
11
|
+
/** DAG node taxonomy — drives the avatar surface color so the catalog
|
|
12
|
+
* grid color-codes agents by their role at a glance. */
|
|
13
|
+
export type AgentType = "trigger" | "action" | "transform" | "condition" | "io";
|
|
14
|
+
/** Three sizes for different surfaces — sm for compact lists, md for catalog
|
|
15
|
+
* grids (default), lg for hero / featured placements. */
|
|
16
|
+
export type AgentCardSize = "sm" | "md" | "lg";
|
|
17
|
+
/** Density modifier — comfortable matches the default; dense tightens
|
|
18
|
+
* vertical rhythm for high-information surfaces (admin tables, etc.). */
|
|
19
|
+
export type AgentCardDensity = "comfortable" | "dense";
|
|
3
20
|
export interface AgentCardProps {
|
|
21
|
+
/** Agent display name. */
|
|
4
22
|
name: ReactNode;
|
|
5
|
-
/** Optional role / one-line description. */
|
|
23
|
+
/** Optional role / one-line description (e.g. "Routing", "Schema drift detector"). */
|
|
6
24
|
role?: ReactNode;
|
|
7
|
-
/** Avatar / glyph for the agent. Defaults to
|
|
25
|
+
/** Avatar / glyph for the agent. Defaults to the first character of `name`. */
|
|
8
26
|
avatar?: ReactNode;
|
|
9
27
|
/** Model identifier (e.g. "claude-opus-4-7", "gpt-4o"). */
|
|
10
28
|
model?: string;
|
|
11
|
-
/**
|
|
29
|
+
/** Runtime status. Drives the right-aligned status pill. */
|
|
12
30
|
status?: AgentStatus;
|
|
31
|
+
/** Agent type — colors the avatar surface per the DAG node taxonomy. */
|
|
32
|
+
agentType?: AgentType;
|
|
13
33
|
/** Tool count badge. */
|
|
14
34
|
toolCount?: number;
|
|
15
|
-
/**
|
|
35
|
+
/** Tags rendered as a chip cluster below the meta row. */
|
|
36
|
+
tags?: readonly string[];
|
|
37
|
+
/** Maximum number of tag chips to render before collapsing the rest
|
|
38
|
+
* into a `+N` overflow chip. Defaults are size-aware (sm: 2, md: 3,
|
|
39
|
+
* lg: 4). Pass `Infinity` or `0` to render every tag without overflow. */
|
|
40
|
+
maxTags?: number;
|
|
41
|
+
/** When the agent was last used. Accepts a Date or ISO string. Displayed as relative time. */
|
|
42
|
+
lastUsedAt?: Date | string;
|
|
43
|
+
/** Size variant. */
|
|
44
|
+
size?: AgentCardSize;
|
|
45
|
+
/** Density modifier. */
|
|
46
|
+
density?: AgentCardDensity;
|
|
47
|
+
/** Hover affordance. Use when the card is clickable. */
|
|
16
48
|
interactive?: boolean;
|
|
49
|
+
/** Renders a checkbox in the top-left for multi-select grids. */
|
|
50
|
+
selectable?: boolean;
|
|
51
|
+
/** Controlled selection state. Pair with `onSelectChange`. */
|
|
52
|
+
selected?: boolean;
|
|
53
|
+
/** Fires when the checkbox is toggled. */
|
|
54
|
+
onSelectChange?: (selected: boolean) => void;
|
|
55
|
+
/** Loading skeleton state — replaces content with shimmer blocks. */
|
|
56
|
+
loading?: boolean;
|
|
57
|
+
/** Error state — shows the message in place of content. */
|
|
58
|
+
error?: string;
|
|
59
|
+
/** Optional retry handler shown alongside the error message. */
|
|
60
|
+
onRetry?: () => void;
|
|
17
61
|
/** Actions slot (right side under status). */
|
|
18
62
|
actions?: ReactNode;
|
|
19
63
|
/** Stats slot at the bottom (e.g. runs / success rate). */
|
|
20
64
|
stats?: ReactNode;
|
|
65
|
+
/** Click handler. When set, the card becomes role="button" with Enter/Space keyboard activation. */
|
|
21
66
|
onClick?: () => void;
|
|
22
67
|
className?: string;
|
|
68
|
+
id?: string;
|
|
23
69
|
}
|
|
24
|
-
export declare
|
|
70
|
+
export declare const AgentCard: import("react").ForwardRefExoticComponent<AgentCardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
71
|
//# sourceMappingURL=AgentCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentCard.d.ts","sourceRoot":"","sources":["../../../src/components/AgentCard/AgentCard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"AgentCard.d.ts","sourceRoot":"","sources":["../../../src/components/AgentCard/AgentCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAmD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKxF;;;;;GAKG;AAEH;+EAC+E;AAC/E,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,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AAE,OAAO,CAAC;IAClB,2DAA2D;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,2DAA2D;IAC3D,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB,oGAAoG;IACpG,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAmCD,eAAO,MAAM,SAAS,2GAqSpB,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type MouseEvent, type ReactNode } from "react";
|
|
2
|
+
import { type CardRadius } from "../Card";
|
|
3
|
+
export type AlertSeverity = "P0" | "P1" | "P2" | "P3" | "info";
|
|
4
|
+
export type AlertState = "open" | "acknowledged" | "resolved" | "muted";
|
|
5
|
+
export interface AlertCardResource {
|
|
6
|
+
/** Display label (e.g. "orders_sync"). */
|
|
7
|
+
label: ReactNode;
|
|
8
|
+
/** Optional category prefix (e.g. "Pipeline"). Rendered muted before the label. */
|
|
9
|
+
kind?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export interface AlertCardAction {
|
|
12
|
+
/** Display label — also used as aria-label when only a glyph is shown. */
|
|
13
|
+
label: string;
|
|
14
|
+
/** Optional icon node. */
|
|
15
|
+
icon?: ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Visual emphasis.
|
|
18
|
+
* - primary → Ack action (filled accent)
|
|
19
|
+
* - success → Resolve action (filled success tone)
|
|
20
|
+
* - danger → Escalate action (filled red)
|
|
21
|
+
* - neutral → tertiary, default
|
|
22
|
+
*/
|
|
23
|
+
tone?: "primary" | "success" | "danger" | "neutral";
|
|
24
|
+
onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface AlertCardProps extends Omit<ComponentPropsWithoutRef<"div">, "title" | "onChange" | "onClick" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart"> {
|
|
28
|
+
/** Severity / priority level. Drives the stripe + badge color. */
|
|
29
|
+
severity: AlertSeverity;
|
|
30
|
+
/** Override the severity badge label (defaults to the severity code). */
|
|
31
|
+
severityLabel?: ReactNode;
|
|
32
|
+
/** Alert title. */
|
|
33
|
+
title: ReactNode;
|
|
34
|
+
/** Heading level for the title. Default `"h3"`. */
|
|
35
|
+
titleAs?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
36
|
+
/** Optional descriptive body text. */
|
|
37
|
+
description?: ReactNode;
|
|
38
|
+
/** Affected resources — rendered as a kind/label list. */
|
|
39
|
+
resources?: AlertCardResource[];
|
|
40
|
+
/** When the alert fired (timestamp or relative time). */
|
|
41
|
+
firedAt?: ReactNode;
|
|
42
|
+
/** Assignee / owner handle (e.g. "@oncall-eu"). */
|
|
43
|
+
assignee?: ReactNode;
|
|
44
|
+
/** Lifecycle state — drives an optional state pill in the header. */
|
|
45
|
+
state?: AlertState;
|
|
46
|
+
/** Override the state pill label (defaults to the humanized state). */
|
|
47
|
+
stateLabel?: ReactNode;
|
|
48
|
+
/** Optional tag chips (env, team, runbook id). */
|
|
49
|
+
tags?: ReactNode[];
|
|
50
|
+
/** Action buttons rendered at the bottom of the card. */
|
|
51
|
+
actions?: AlertCardAction[];
|
|
52
|
+
/** Right-aligned trailing slot in the header (icon button, link). */
|
|
53
|
+
trailing?: ReactNode;
|
|
54
|
+
/** Visual size. Default `"md"`. */
|
|
55
|
+
size?: "sm" | "md" | "lg";
|
|
56
|
+
/** Render the card as a real `<a>` when href is provided. */
|
|
57
|
+
href?: string;
|
|
58
|
+
/** Whole-card click handler. */
|
|
59
|
+
onClick?: (e: MouseEvent<HTMLDivElement>) => void;
|
|
60
|
+
/** Disable interaction. */
|
|
61
|
+
disabled?: boolean;
|
|
62
|
+
/** Card corner radius (passes through). */
|
|
63
|
+
radius?: CardRadius;
|
|
64
|
+
/**
|
|
65
|
+
* ARIA live-region politeness. Default is `"off"` — the card is a
|
|
66
|
+
* passive surface that consumers can audit at their own pace.
|
|
67
|
+
*
|
|
68
|
+
* Set to `"assertive"` ONLY for genuinely live, in-the-moment alerts
|
|
69
|
+
* (e.g. a banner that just fired) so screen readers interrupt; set to
|
|
70
|
+
* `"polite"` for queued announcements. Avoid changing live alerts
|
|
71
|
+
* mid-flight — re-rendering inside an active live region re-announces.
|
|
72
|
+
*/
|
|
73
|
+
live?: "off" | "polite" | "assertive";
|
|
74
|
+
}
|
|
75
|
+
export declare const AlertCard: import("react").ForwardRefExoticComponent<AlertCardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
76
|
+
//# sourceMappingURL=AlertCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertCard.d.ts","sourceRoot":"","sources":["../../../src/components/AlertCard/AlertCard.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAE7B,KAAK,UAAU,EACf,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAqBhD,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAE/D,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,cAAc,GAAG,UAAU,GAAG,OAAO,CAAC;AAExE,MAAM,WAAW,iBAAiB;IAChC,0CAA0C;IAC1C,KAAK,EAAE,SAAS,CAAC;IACjB,mFAAmF;IACnF,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,0EAA0E;IAC1E,KAAK,EAAE,MAAM,CAAC;IACd,0BAA0B;IAC1B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;;;OAMG;IACH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AAO,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;IACpB;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,WAAW,CAAC;CACvC;AAyBD,eAAO,MAAM,SAAS,2GAoQrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AlertCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,UAAU,GAChB,MAAM,aAAa,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
2
|
-
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
type HeadingLevel = "h1" | "h2" | "h3" | "h4";
|
|
3
|
+
type DivPropsBase = Omit<ComponentPropsWithoutRef<"div">, "title" | "children" | "onChange">;
|
|
4
|
+
export interface AuthCardProps extends DivPropsBase {
|
|
3
5
|
logo?: ReactNode;
|
|
4
6
|
title?: ReactNode;
|
|
5
7
|
description?: ReactNode;
|
|
@@ -7,82 +9,67 @@ export interface AuthCardProps {
|
|
|
7
9
|
scope?: ReactNode;
|
|
8
10
|
/**
|
|
9
11
|
* Fully custom header that REPLACES the auto-built logo + title +
|
|
10
|
-
* description block.
|
|
11
|
-
*
|
|
12
|
-
* `logo`, `title`, `description`, and `scope` are ignored.
|
|
12
|
+
* description block. When provided, `logo`/`title`/`description`/`scope`
|
|
13
|
+
* are ignored.
|
|
13
14
|
*/
|
|
14
15
|
header?: ReactNode;
|
|
15
|
-
/**
|
|
16
|
-
* Extra content rendered immediately after the description, before the
|
|
17
|
-
* body. Common uses: step indicator ("Step 2 of 3"), breadcrumb,
|
|
18
|
-
* informational chip.
|
|
19
|
-
*/
|
|
16
|
+
/** Extra content immediately after the description, before the body. */
|
|
20
17
|
headerExtra?: ReactNode;
|
|
21
|
-
/**
|
|
22
|
-
* When set, an error Banner is rendered above the body — same Banner
|
|
23
|
-
* the consumer would otherwise hand-roll. Pass `false` / `null` /
|
|
24
|
-
* `undefined` to hide. Accepts the same ReactNode shape Banner expects
|
|
25
|
-
* for its body.
|
|
26
|
-
*/
|
|
18
|
+
/** Inline error banner above the body. Pass falsy to hide. */
|
|
27
19
|
error?: ReactNode;
|
|
28
|
-
/**
|
|
20
|
+
/** Inline success banner above the body. */
|
|
29
21
|
success?: ReactNode;
|
|
30
22
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
23
|
+
* Heading level for the auto-built title. Default `"h1"` because a
|
|
24
|
+
* standalone auth page typically has the card as its primary landmark.
|
|
25
|
+
* Use `"h2"` when the card is nested in a larger page (e.g. modal).
|
|
34
26
|
*/
|
|
27
|
+
headingLevel?: HeadingLevel;
|
|
28
|
+
/** Header alignment. Default `"center"`. */
|
|
35
29
|
align?: "center" | "left";
|
|
36
|
-
/**
|
|
37
|
-
* Card width override. Default 400px (matches the historical default).
|
|
38
|
-
* Pass a number (px) or any CSS length string (e.g. "440px", "32rem").
|
|
39
|
-
*/
|
|
30
|
+
/** Card width — number → px, string → any CSS length. Default 400. */
|
|
40
31
|
width?: number | string;
|
|
32
|
+
/** Disable the mount fade-up animation (e.g. for SSR snapshots). */
|
|
33
|
+
disableAnimation?: boolean;
|
|
41
34
|
children: ReactNode;
|
|
42
35
|
divider?: ReactNode;
|
|
43
36
|
footer?: ReactNode;
|
|
44
|
-
className?: string;
|
|
45
37
|
}
|
|
46
|
-
export declare
|
|
47
|
-
export interface AuthDividerProps {
|
|
38
|
+
export declare const AuthCard: import("react").ForwardRefExoticComponent<AuthCardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
39
|
+
export interface AuthDividerProps extends Omit<ComponentPropsWithoutRef<"div">, "children"> {
|
|
48
40
|
children?: ReactNode;
|
|
49
|
-
className?: string;
|
|
50
41
|
}
|
|
51
|
-
export declare
|
|
52
|
-
export interface AuthSectionProps {
|
|
42
|
+
export declare const AuthDivider: import("react").ForwardRefExoticComponent<AuthDividerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
43
|
+
export interface AuthSectionProps extends Omit<ComponentPropsWithoutRef<"div">, "children" | "title"> {
|
|
53
44
|
label?: ReactNode;
|
|
54
45
|
description?: ReactNode;
|
|
55
46
|
children: ReactNode;
|
|
56
|
-
className?: string;
|
|
57
47
|
}
|
|
58
|
-
export declare
|
|
48
|
+
export declare const AuthSection: import("react").ForwardRefExoticComponent<AuthSectionProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
59
49
|
export interface AuthTab {
|
|
60
50
|
id: string;
|
|
61
51
|
label: ReactNode;
|
|
62
52
|
icon?: ReactNode;
|
|
63
|
-
description?: ReactNode;
|
|
64
53
|
content: ReactNode;
|
|
65
54
|
}
|
|
66
|
-
export interface AuthTabsProps {
|
|
55
|
+
export interface AuthTabsProps extends Omit<ComponentPropsWithoutRef<"div">, "onChange" | "children"> {
|
|
67
56
|
tabs: AuthTab[];
|
|
68
57
|
defaultTab?: string;
|
|
69
58
|
value?: string;
|
|
70
59
|
onChange?: (id: string) => void;
|
|
71
|
-
className?: string;
|
|
72
60
|
}
|
|
73
|
-
export declare
|
|
74
|
-
export interface AuthFieldRowProps {
|
|
61
|
+
export declare const AuthTabs: import("react").ForwardRefExoticComponent<AuthTabsProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
62
|
+
export interface AuthFieldRowProps extends Omit<ComponentPropsWithoutRef<"div">, "children"> {
|
|
75
63
|
children: ReactNode;
|
|
76
64
|
/** Grid template columns. Default: "1fr 1fr". */
|
|
77
65
|
columns?: string;
|
|
78
|
-
className?: string;
|
|
79
66
|
}
|
|
80
|
-
export declare
|
|
67
|
+
export declare const AuthFieldRow: import("react").ForwardRefExoticComponent<AuthFieldRowProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
81
68
|
export type AuthBadgeTone = "neutral" | "org" | "personal" | "developer";
|
|
82
|
-
export interface AuthBadgeProps {
|
|
69
|
+
export interface AuthBadgeProps extends Omit<ComponentPropsWithoutRef<"span">, "children"> {
|
|
83
70
|
tone?: AuthBadgeTone;
|
|
84
71
|
children: ReactNode;
|
|
85
|
-
className?: string;
|
|
86
72
|
}
|
|
87
|
-
export declare
|
|
73
|
+
export declare const AuthBadge: import("react").ForwardRefExoticComponent<AuthBadgeProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
74
|
+
export {};
|
|
88
75
|
//# sourceMappingURL=AuthCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthCard.d.ts","sourceRoot":"","sources":["../../../src/components/AuthCard/AuthCard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AuthCard.d.ts","sourceRoot":"","sources":["../../../src/components/AuthCard/AuthCard.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,wBAAwB,EAG7B,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AASf,KAAK,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9C,KAAK,YAAY,GAAG,IAAI,CACtB,wBAAwB,CAAC,KAAK,CAAC,EAC/B,OAAO,GAAG,UAAU,GAAG,UAAU,CAClC,CAAC;AAEF,MAAM,WAAW,aAAc,SAAQ,YAAY;IACjD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,oEAAoE;IACpE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,wE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AC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC;AAED,eAAO,MAAM,QAAQ,0GAuGpB,CAAC;AAQF,MAAM,WAAW,iBACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IACzD,QAAQ,EAAE,SAAS,CAAC;IACpB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,YAAY,8GAgBxB,CAAC;AAaF,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,KAAK,GAAG,UAAU,GAAG,WAAW,CAAC;AASzE,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC;IAC1D,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,4GAcrB,CAAC"}
|
|
@@ -1,20 +1,57 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export type AvatarSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
3
|
+
export type AvatarShape = "circle" | "square";
|
|
4
|
+
/** Presence indicator. `online` pulses gently; reduced-motion is respected. */
|
|
5
|
+
export type AvatarStatus = "online" | "offline" | "busy" | "away";
|
|
6
|
+
export interface AvatarProps extends Omit<ComponentPropsWithoutRef<"div">, "color" | "children" | "onClick" | "onKeyDown"> {
|
|
7
|
+
/** Image URL. If loading fails, falls back to `initials` (then `icon`, then `?`). */
|
|
3
8
|
src?: string;
|
|
9
|
+
/** Accessible name for the avatar. Used as the `<img>` alt AND as the
|
|
10
|
+
* wrapping element's accessible name. If you only pass `initials`,
|
|
11
|
+
* this is recommended so AT announces "Jane Doe avatar" not "J D". */
|
|
4
12
|
alt?: string;
|
|
13
|
+
/** Initials to render when there is no image. Auto-uppercased and
|
|
14
|
+
* truncated to 2 characters so passing a full name stays sane. */
|
|
5
15
|
initials?: string;
|
|
6
|
-
/**
|
|
16
|
+
/** Optional icon slot — rendered when neither `src` nor `initials` is
|
|
17
|
+
* available (or used directly when you want a system/bot avatar). */
|
|
18
|
+
icon?: ReactNode;
|
|
19
|
+
/** Override the default `?` fallback content. */
|
|
20
|
+
fallback?: ReactNode;
|
|
21
|
+
/** Stable seed for the persistent palette. Falls back to `initials` /
|
|
22
|
+
* `alt` so the same person consistently gets the same color even if
|
|
23
|
+
* their name changes case or you only have a partial identity. */
|
|
7
24
|
seed?: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
25
|
+
/** Pixel/font size variant. */
|
|
26
|
+
size?: AvatarSize;
|
|
27
|
+
/** Shape — `circle` (people, default) or `square` (teams, bots, brands). */
|
|
28
|
+
shape?: AvatarShape;
|
|
29
|
+
/** Presence indicator dot. */
|
|
30
|
+
status?: AvatarStatus;
|
|
31
|
+
/** Human-readable status label folded into the accessible name. Defaults
|
|
32
|
+
* to the capitalized `status` value. */
|
|
33
|
+
statusLabel?: string;
|
|
34
|
+
/** When set, the avatar becomes a button (Enter/Space activated). */
|
|
35
|
+
onClick?: () => void;
|
|
36
|
+
/** Native image attributes — set `loading="eager"` for above-the-fold avatars
|
|
37
|
+
* if you've measured CLS regressions. Defaults to `lazy`. */
|
|
38
|
+
imgLoading?: "eager" | "lazy";
|
|
39
|
+
/** Native referrerPolicy for cross-origin avatar hosts (Gravatar, etc.). */
|
|
40
|
+
referrerPolicy?: ComponentPropsWithoutRef<"img">["referrerPolicy"];
|
|
11
41
|
}
|
|
12
|
-
export declare
|
|
13
|
-
export interface AvatarStackProps {
|
|
42
|
+
export declare const Avatar: import("react").ForwardRefExoticComponent<AvatarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
43
|
+
export interface AvatarStackProps extends Omit<ComponentPropsWithoutRef<"div">, "children"> {
|
|
44
|
+
/** Avatars to display (in left-to-right stacking order). */
|
|
14
45
|
children: ReactNode;
|
|
15
|
-
|
|
16
|
-
/** Max avatars to show; rest collapse into "+N". */
|
|
46
|
+
/** Max avatars to show before collapsing the surplus into `+N`. */
|
|
17
47
|
max?: number;
|
|
48
|
+
/** Size applied to the overflow chip. Defaults to `md`. */
|
|
49
|
+
size?: AvatarSize;
|
|
50
|
+
/** Replace the default `+N` overflow chip. Receives the hidden count. */
|
|
51
|
+
renderOverflow?: (count: number) => ReactNode;
|
|
52
|
+
/** Stacking direction. `ltr` (default) overlaps each successive avatar to
|
|
53
|
+
* the right of the previous one; `rtl` mirrors. */
|
|
54
|
+
direction?: "ltr" | "rtl";
|
|
18
55
|
}
|
|
19
|
-
export declare
|
|
56
|
+
export declare const AvatarStack: import("react").ForwardRefExoticComponent<AvatarStackProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
57
|
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAG7B,KAAK,SAAS,EAIf,MAAM,OAAO,CAAC;AAOf,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC1D,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC9C,+EAA+E;AAC/E,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAElE,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,K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AAM,WAAW,6GAoDvB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Avatar, type AvatarProps, AvatarStack, type AvatarStackProps } from "./Avatar";
|
|
1
|
+
export { Avatar, type AvatarProps, type AvatarShape, type AvatarSize, AvatarStack, type AvatarStackProps, type AvatarStatus, } from "./Avatar";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,YAAY,GAClB,MAAM,UAAU,CAAC"}
|
|
@@ -1,13 +1,51 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { type ComponentPropsWithoutRef, type MouseEvent, type ReactNode } from "react";
|
|
2
|
+
export type BadgeVariant = "success" | "warning" | "error" | "info" | "neutral" | "accent";
|
|
3
|
+
export type BadgeSize = "sm" | "md" | "lg";
|
|
4
|
+
export interface BadgeProps extends Omit<ComponentPropsWithoutRef<"span">, "color" | "onClick"> {
|
|
5
|
+
variant?: BadgeVariant;
|
|
6
|
+
size?: BadgeSize;
|
|
7
|
+
/** Render a colored dot before the text. Mutually exclusive with `icon`. */
|
|
5
8
|
dot?: boolean;
|
|
9
|
+
/** Custom icon node rendered before the text. If both `icon` and `dot`
|
|
10
|
+
* are passed, `icon` wins. */
|
|
11
|
+
icon?: ReactNode;
|
|
12
|
+
/** Render a `×` button to remove the badge. */
|
|
13
|
+
closable?: boolean;
|
|
14
|
+
/** @deprecated Use `closable`. Kept as an alias for back-compat. */
|
|
6
15
|
closeable?: boolean;
|
|
7
|
-
|
|
16
|
+
/** Fires when the user clicks (or activates via keyboard) the close
|
|
17
|
+
* button. Receives the MouseEvent so callers can `stopPropagation` /
|
|
18
|
+
* `preventDefault` as needed. */
|
|
19
|
+
onClose?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
20
|
+
/** Accessible label for the close button. Defaults to "Remove". Override
|
|
21
|
+
* for localization or contextual reads ("Remove tag 'cdc'"). */
|
|
22
|
+
closeLabel?: string;
|
|
23
|
+
/** Thin outline + transparent background instead of the filled chip. */
|
|
8
24
|
outlined?: boolean;
|
|
9
|
-
|
|
10
|
-
|
|
25
|
+
/** Truncate long text with an ellipsis and surface the full content as a
|
|
26
|
+
* `title` tooltip. `true` uses the design default (200 px); a number sets
|
|
27
|
+
* an explicit max-width in px. */
|
|
28
|
+
truncate?: boolean | number;
|
|
29
|
+
/** Numeric badge convenience. Renders the value (or "99+" if > 99).
|
|
30
|
+
* Ignored when `children` is also set. */
|
|
31
|
+
count?: number;
|
|
32
|
+
/** Click handler for the entire badge. Sets `role="button"` and wires
|
|
33
|
+
* Enter / Space keyboard activation. */
|
|
34
|
+
onClick?: (event: MouseEvent<HTMLSpanElement>) => void;
|
|
35
|
+
/** Render Badge's styling onto a custom child element (Radix-style Slot).
|
|
36
|
+
* Useful for letting Badge own the chrome while a router link / tooltip
|
|
37
|
+
* trigger / etc. owns the actual element semantics.
|
|
38
|
+
*
|
|
39
|
+
* Example:
|
|
40
|
+
* <Badge asChild variant="accent">
|
|
41
|
+
* <NextLink href="/pricing">Beta</NextLink>
|
|
42
|
+
* </Badge>
|
|
43
|
+
*
|
|
44
|
+
* When `asChild` is true, Badge does NOT render its internal `dot`,
|
|
45
|
+
* `icon`, or close-button slots — the consumer fully owns the content.
|
|
46
|
+
* For chips with built-in slots, use the regular form without asChild. */
|
|
47
|
+
asChild?: boolean;
|
|
48
|
+
children?: ReactNode;
|
|
11
49
|
}
|
|
12
|
-
export declare
|
|
50
|
+
export declare const Badge: import("react").ForwardRefExoticComponent<BadgeProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
13
51
|
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAI7B,KAAK,UAAU,EACf,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAQf,MAAM,MAAM,YAAY,GACpB,SAAS,GACT,SAAS,GACT,OAAO,GACP,MAAM,GACN,SAAS,GACT,QAAQ,CAAC;AAEb,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE3C,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnE,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB,4EAA4E;IAC5E,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;kCAC8B;IAC9B,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oEAAoE;IACpE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;qCAEiC;IACjC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IACzD;oEACgE;IAChE,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;sCAEkC;IAClC,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAE5B;8CAC0C;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;4CACwC;IACxC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IAEvD;;;;;;;;;;;8EAW0E;IAC1E,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAwCD,eAAO,MAAM,KAAK,wGA6HhB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Badge, type BadgeProps } from "./Badge";
|
|
1
|
+
export { Badge, type BadgeProps, type BadgeSize, type BadgeVariant, } from "./Badge";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,YAAY,GAClB,MAAM,SAAS,CAAC"}
|
|
@@ -1,14 +1,61 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export type BannerVariant = "info" | "success" | "warning" | "error" | "promo" | "neutral";
|
|
3
|
+
export type BannerSize = "sm" | "md" | "lg";
|
|
4
|
+
/** Direction the banner slides in / out from. Default = `down` (enters
|
|
5
|
+
* slightly above its final position, settles down + fades in). */
|
|
6
|
+
export type BannerAnimateFrom = "top" | "bottom" | "left" | "right" | "none";
|
|
7
|
+
export type BannerAppearance = "filled" | "outlined" | "subtle";
|
|
8
|
+
export interface BannerProps extends Omit<ComponentPropsWithoutRef<"div">, "color" | "title"> {
|
|
9
|
+
/** Visual / semantic variant. `error` defaults to `role="alert"`; the rest
|
|
10
|
+
* default to `role="status"` (polite live region). */
|
|
11
|
+
variant?: BannerVariant;
|
|
12
|
+
/** Size variant. */
|
|
13
|
+
size?: BannerSize;
|
|
14
|
+
/** Appearance treatment. `filled` (default) uses the variant's bg/border;
|
|
15
|
+
* `outlined` keeps the border but drops the fill; `subtle` mutes both. */
|
|
16
|
+
appearance?: BannerAppearance;
|
|
17
|
+
/** Leading icon. If omitted, Banner renders a sensible default per
|
|
18
|
+
* variant (info/success/warning/error/promo). Pass `null` explicitly to
|
|
19
|
+
* suppress the default. */
|
|
20
|
+
icon?: ReactNode | null;
|
|
5
21
|
title?: ReactNode;
|
|
6
22
|
description?: ReactNode;
|
|
23
|
+
/** Trailing action slot (typically a Button). */
|
|
7
24
|
action?: ReactNode;
|
|
25
|
+
/** Renders a dismiss `×` button on the trailing edge. */
|
|
8
26
|
dismissible?: boolean;
|
|
27
|
+
/** Fires when the dismiss button is clicked. */
|
|
9
28
|
onDismiss?: () => void;
|
|
29
|
+
/** Accessible label for the dismiss button. Defaults to "Dismiss". */
|
|
30
|
+
dismissLabel?: string;
|
|
31
|
+
/** Override the inferred role. Pass explicitly for non-default
|
|
32
|
+
* announcements ("alert", "alertdialog", "region", etc.). */
|
|
33
|
+
role?: ComponentPropsWithoutRef<"div">["role"];
|
|
34
|
+
/** Auto-focus the banner when it first mounts. Useful for error banners
|
|
35
|
+
* that should grab focus on appearance so AT users notice them. */
|
|
36
|
+
autoFocus?: boolean;
|
|
37
|
+
/** Controls whether the banner is mounted. Pair with `useBanner()` for
|
|
38
|
+
* declarative show/hide state, or wire to your own state. When omitted,
|
|
39
|
+
* the banner is always mounted (the regular, animation-free shape). */
|
|
40
|
+
open?: boolean;
|
|
41
|
+
/** Direction the enter/exit animation slides from. Defaults to `top`.
|
|
42
|
+
* `none` disables the slide entirely (still fades). */
|
|
43
|
+
animateFrom?: BannerAnimateFrom;
|
|
44
|
+
/** Disable all enter/exit motion. Use when the banner is part of a
|
|
45
|
+
* larger animation managed externally. */
|
|
46
|
+
disableAnimation?: boolean;
|
|
47
|
+
/** Render Banner's styling onto a custom child element (Radix-style Slot).
|
|
48
|
+
*
|
|
49
|
+
* Example — a clickable banner-as-link:
|
|
50
|
+
* <Banner asChild variant="promo">
|
|
51
|
+
* <a href="/changelog">New release! See what's new →</a>
|
|
52
|
+
* </Banner>
|
|
53
|
+
*
|
|
54
|
+
* When `asChild` is true, Banner does NOT render its internal icon /
|
|
55
|
+
* title / description / action / dismiss slots. The consumer's element
|
|
56
|
+
* fully owns the content. */
|
|
57
|
+
asChild?: boolean;
|
|
10
58
|
children?: ReactNode;
|
|
11
|
-
className?: string;
|
|
12
59
|
}
|
|
13
|
-
export declare
|
|
60
|
+
export declare const Banner: import("react").ForwardRefExoticComponent<BannerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
61
|
//# sourceMappingURL=Banner.d.ts.map
|