@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/Banner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/Banner.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,wBAAwB,EAI7B,KAAK,SAAS,EAIf,MAAM,OAAO,CAAC;AAQf,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;AAC3F,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C;kEACkE;AAClE,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAC7E,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,CAAC;AAEhE,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAChE;0DACsD;IACtD,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,oBAAoB;IACpB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;8EAC0E;IAC1E,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAE9B;;+BAE2B;IAC3B,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACxB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB,iDAAiD;IACjD,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,yDAAyD;IACzD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,sEAAsE;IACtE,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;iEAC6D;IAC7D,IAAI,CAAC,EAAE,wBAAwB,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;IAE/C;uEACmE;IACnE,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;2EAEuE;IACvE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;2DACuD;IACvD,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC;8CAC0C;IAC1C,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;;;;;;;;iCAS6B;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA+FD,eAAO,MAAM,MAAM,wGAkKjB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Banner, type BannerProps } from "./Banner";
|
|
1
|
+
export { Banner, type BannerAnimateFrom, type BannerAppearance, type BannerProps, type BannerSize, type BannerVariant, } from "./Banner";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,aAAa,GACnB,MAAM,UAAU,CAAC"}
|
|
@@ -1,17 +1,74 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export type BarChartOrientation = "vertical" | "horizontal";
|
|
3
|
+
export type BarChartMode = "single" | "grouped" | "stacked";
|
|
4
|
+
export type BarChartAxis = "y" | "x" | "both" | "none";
|
|
2
5
|
export interface BarDatum {
|
|
3
6
|
label: ReactNode;
|
|
4
7
|
value: number;
|
|
5
8
|
highlighted?: boolean;
|
|
9
|
+
/** Optional per-bar color override (single-series mode only). */
|
|
10
|
+
color?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface BarSeries {
|
|
13
|
+
/** Series id used for keying. */
|
|
14
|
+
id: string;
|
|
15
|
+
/** Series legend label. */
|
|
16
|
+
name: ReactNode;
|
|
17
|
+
/** Series color. */
|
|
18
|
+
color: string;
|
|
19
|
+
/** One value per x-axis tick. Length should match the chart's `data`. */
|
|
20
|
+
values: number[];
|
|
6
21
|
}
|
|
7
|
-
export interface BarChartProps {
|
|
8
|
-
|
|
22
|
+
export interface BarChartProps extends Omit<ComponentPropsWithoutRef<"div">, "title" | "onChange"> {
|
|
23
|
+
/**
|
|
24
|
+
* Single-series data. The simplest API — each datum is a (label, value)
|
|
25
|
+
* pair rendered as one bar.
|
|
26
|
+
*/
|
|
27
|
+
data?: BarDatum[];
|
|
28
|
+
/**
|
|
29
|
+
* Multi-series data. Pass an array of series; each series produces one
|
|
30
|
+
* bar per x-axis category. Pair with `categories` to label the x-axis,
|
|
31
|
+
* and pick `mode="grouped"` or `mode="stacked"` to control layout.
|
|
32
|
+
*/
|
|
33
|
+
series?: BarSeries[];
|
|
34
|
+
/** Category labels for multi-series mode. Length should match each series' `values`. */
|
|
35
|
+
categories?: ReactNode[];
|
|
36
|
+
/** Layout for multi-series. Default `"grouped"`. Ignored when only `data` is provided. */
|
|
37
|
+
mode?: BarChartMode;
|
|
38
|
+
/** Bar orientation. Default `"vertical"`. */
|
|
39
|
+
orientation?: BarChartOrientation;
|
|
40
|
+
/** Chart drawing area in px. Default 160. */
|
|
9
41
|
height?: number;
|
|
42
|
+
/** Default bar color for single-series mode. */
|
|
10
43
|
color?: string;
|
|
44
|
+
/** Highlight color for `highlighted` datums in single-series mode. */
|
|
11
45
|
highlightColor?: string;
|
|
12
46
|
title?: ReactNode;
|
|
47
|
+
/** Big number rendered on the right side of the header. */
|
|
13
48
|
total?: ReactNode;
|
|
14
|
-
|
|
49
|
+
/**
|
|
50
|
+
* Fixed value-axis cap. When omitted, auto-derived from data (stacked
|
|
51
|
+
* mode sums the stack; grouped/single uses the max value).
|
|
52
|
+
*/
|
|
53
|
+
yMax?: number;
|
|
54
|
+
/** Which axes to render. Default `"y"`. */
|
|
55
|
+
showAxis?: BarChartAxis;
|
|
56
|
+
/** Number of value-axis ticks. Default 5 (including 0). */
|
|
57
|
+
yTicks?: number;
|
|
58
|
+
/** Format raw value → display string (used on axis labels + tooltip). */
|
|
59
|
+
formatValue?: (value: number) => string;
|
|
60
|
+
/** Render the floating hover tooltip with the bar's label + value. Default true. */
|
|
61
|
+
showTooltip?: boolean;
|
|
62
|
+
/** Show the legend (multi-series mode only). Default true. */
|
|
63
|
+
showLegend?: boolean;
|
|
64
|
+
/** Suppress the mount stagger-grow animation. */
|
|
65
|
+
disableAnimation?: boolean;
|
|
66
|
+
/** Accessible label. Auto-generated from `title` + data summary when omitted. */
|
|
67
|
+
"aria-label"?: string;
|
|
68
|
+
/** Fires when the user hovers/focuses or leaves a bar. */
|
|
69
|
+
onBarHover?: (bar: BarDatum | null, index: number | null) => void;
|
|
70
|
+
/** Fires when the user clicks or activates (Enter/Space) a bar. */
|
|
71
|
+
onBarClick?: (bar: BarDatum, index: number) => void;
|
|
15
72
|
}
|
|
16
|
-
export declare
|
|
73
|
+
export declare const BarChart: import("react").ForwardRefExoticComponent<BarChartProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
74
|
//# sourceMappingURL=BarChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BarChart.d.ts","sourceRoot":"","sources":["../../../src/components/BarChart/BarChart.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BarChart.d.ts","sourceRoot":"","sources":["../../../src/components/BarChart/BarChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,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3D,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,2DAA2D;IAC3D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yEAAyE;IACzE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAExC,oFAAoF;IACpF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,iDAAiD;IACjD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,iFAAiF;IACjF,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,0DAA0D;IAC1D,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,QAAQ,GAAG,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAClE,mEAAmE;IACnE,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACrD;AAuBD,eAAO,MAAM,QAAQ,0GAwdpB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { BarChart, type BarChartProps, type BarDatum } from "./BarChart";
|
|
1
|
+
export { BarChart, type BarChartAxis, type BarChartMode, type BarChartOrientation, type BarChartProps, type BarDatum, type BarSeries, } from "./BarChart";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BarChart/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BarChart/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,SAAS,GACf,MAAM,YAAY,CAAC"}
|
|
@@ -1,13 +1,48 @@
|
|
|
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 BlogCardOrientation = "vertical" | "horizontal";
|
|
5
|
+
export type BlogCardCoverAspect = "16/9" | "4/3" | "1/1" | "3/4" | "21/9";
|
|
6
|
+
export interface BlogCardAuthor {
|
|
7
|
+
name: ReactNode;
|
|
8
|
+
/** Optional avatar — passed through to the polished `Avatar` primitive. */
|
|
9
|
+
avatar?: Pick<AvatarProps, "src" | "initials" | "alt">;
|
|
10
|
+
/** Optional role / handle / etc. */
|
|
11
|
+
byline?: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export interface BlogCardProps extends Omit<ComponentPropsWithoutRef<"div">, "title" | "onChange" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart"> {
|
|
14
|
+
/** Cover artwork — usually an `<img>` element, but accepts any node. */
|
|
3
15
|
cover?: ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Cover aspect ratio. Lets a grid of cards stay visually consistent
|
|
18
|
+
* regardless of source image dimensions. Default `"16/9"`.
|
|
19
|
+
*/
|
|
20
|
+
coverAspect?: BlogCardCoverAspect;
|
|
21
|
+
/** Single category chip (legacy — prefer `tags`). */
|
|
4
22
|
category?: ReactNode;
|
|
23
|
+
/** Multiple category chips. Rendered before the title. */
|
|
24
|
+
tags?: ReactNode[];
|
|
25
|
+
/** Date / publish info — inline meta. */
|
|
5
26
|
meta?: ReactNode;
|
|
27
|
+
/** Structured reading-time slot. Renders alongside `meta`. */
|
|
28
|
+
readingTime?: ReactNode;
|
|
29
|
+
/** Required title — drives `aria-labelledby` on the card. */
|
|
6
30
|
title: ReactNode;
|
|
31
|
+
/** Heading level for the title. Default `"h3"`. */
|
|
32
|
+
titleAs?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
7
33
|
description?: ReactNode;
|
|
34
|
+
/** Structured author block — avatar + name + optional byline. */
|
|
35
|
+
author?: BlogCardAuthor;
|
|
36
|
+
/** Right-aligned footer content (call-to-action / "Read more" link). */
|
|
37
|
+
footer?: ReactNode;
|
|
38
|
+
/** Card corner radius. */
|
|
39
|
+
radius?: CardRadius;
|
|
40
|
+
/** Cover on top (default) or cover on left. */
|
|
41
|
+
orientation?: BlogCardOrientation;
|
|
42
|
+
/** When set, the card renders as an `<a>` element. */
|
|
8
43
|
href?: string;
|
|
44
|
+
/** Click handler. Pairing with `href` is fine; both fire. */
|
|
9
45
|
onClick?: () => void;
|
|
10
|
-
className?: string;
|
|
11
46
|
}
|
|
12
|
-
export declare
|
|
47
|
+
export declare const BlogCard: import("react").ForwardRefExoticComponent<BlogCardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
48
|
//# sourceMappingURL=BlogCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlogCard.d.ts","sourceRoot":"","sources":["../../../src/components/BlogCard/BlogCard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"BlogCard.d.ts","sourceRoot":"","sources":["../../../src/components/BlogCard/BlogCard.tsx"],"names":[],"mappings":"AACA,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;AAahD,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,YAAY,CAAC;AAC5D,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;AAE1E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 -1,11 +1,20 @@
|
|
|
1
|
-
import { type ButtonHTMLAttributes, type ReactNode } from "react";
|
|
1
|
+
import { type ButtonHTMLAttributes, type CSSProperties, type ReactNode } from "react";
|
|
2
2
|
export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart"> {
|
|
3
3
|
variant?: "primary" | "secondary" | "ghost" | "danger" | "icon";
|
|
4
4
|
size?: "sm" | "md" | "lg";
|
|
5
5
|
loading?: boolean;
|
|
6
|
+
/** Override the rendered label while loading. Useful for action verbs that
|
|
7
|
+
* change form mid-request — e.g. `"Sign in"` → `"Signing in…"`. */
|
|
8
|
+
loadingText?: ReactNode;
|
|
9
|
+
/** Accessible label for the spinner (announced by AT during loading).
|
|
10
|
+
* Defaults to `"Loading"`. Customize for localization or context. */
|
|
11
|
+
loadingLabel?: string;
|
|
6
12
|
leftIcon?: ReactNode;
|
|
7
13
|
rightIcon?: ReactNode;
|
|
8
14
|
fullWidth?: boolean;
|
|
15
|
+
/** Toggle-button state. When defined, the button advertises
|
|
16
|
+
* `aria-pressed` and adds `--pressed` styling. */
|
|
17
|
+
pressed?: boolean;
|
|
9
18
|
children?: ReactNode;
|
|
10
19
|
/**
|
|
11
20
|
* Override the cursor shown on hover. When omitted, the cursor auto-resolves:
|
|
@@ -17,9 +26,18 @@ export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement
|
|
|
17
26
|
* Pass an explicit value (e.g. `"text"`, `"grab"`) to override the
|
|
18
27
|
* auto-resolve for the specific story / use case.
|
|
19
28
|
*/
|
|
20
|
-
cursor?:
|
|
21
|
-
|
|
22
|
-
|
|
29
|
+
cursor?: CSSProperties["cursor"];
|
|
30
|
+
/** Render Button's styling onto a custom child element (Radix-style Slot).
|
|
31
|
+
*
|
|
32
|
+
* <Button asChild variant="primary">
|
|
33
|
+
* <NextLink href="/checkout">Continue</NextLink>
|
|
34
|
+
* </Button>
|
|
35
|
+
*
|
|
36
|
+
* When `asChild` is true, Button does NOT render its internal icon /
|
|
37
|
+
* label / spinner slots — the consumer's element fully owns content. Use
|
|
38
|
+
* the regular form (without `asChild`) when you want the built-in
|
|
39
|
+
* slots / loading spinner / size-scaled icons. */
|
|
40
|
+
asChild?: boolean;
|
|
23
41
|
}
|
|
24
|
-
export declare
|
|
42
|
+
export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
25
43
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAGlB,KAAK,SAAS,EAIf,MAAM,OAAO,CAAC;AAMf,MAAM,WAAW,WACf,SAAQ,IAAI,CACV,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,QAAQ,GAAG,aAAa,GAAG,WAAW,GAAG,kBAAkB,CAC5D;IACD,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAChE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;uEACmE;IACnE,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;yEACqE;IACrE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;sDACkD;IAClD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IACjC;;;;;;;;;sDASkD;IAClD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,MAAM,2GAgMjB,CAAC"}
|
|
@@ -1,17 +1,66 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from "react";
|
|
1
2
|
export type DateRange = {
|
|
2
3
|
start: Date | null;
|
|
3
4
|
end: Date | null;
|
|
4
5
|
};
|
|
5
|
-
|
|
6
|
+
/** Week-day index (0=Sun, 1=Mon, …, 6=Sat). */
|
|
7
|
+
export type WeekStart = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
8
|
+
export interface CalendarProps extends Omit<ComponentPropsWithoutRef<"div">, "onChange" | "defaultValue"> {
|
|
9
|
+
/** "single" picks one date; "range" picks a start + end date. */
|
|
6
10
|
mode?: "single" | "range";
|
|
11
|
+
/** Selected value. For `mode="single"` pass a `Date | null`; for
|
|
12
|
+
* `mode="range"` pass `{ start, end }`. */
|
|
7
13
|
value?: Date | DateRange | null;
|
|
8
14
|
onChange?: (value: Date | DateRange | null) => void;
|
|
15
|
+
/** Uncontrolled initial visible month. */
|
|
16
|
+
defaultMonth?: Date;
|
|
17
|
+
/** Controlled visible month (1st of month). */
|
|
9
18
|
month?: Date;
|
|
10
19
|
onMonthChange?: (month: Date) => void;
|
|
20
|
+
/** Hard min / max bounds — dates outside this range are disabled. */
|
|
11
21
|
minDate?: Date;
|
|
12
22
|
maxDate?: Date;
|
|
13
|
-
|
|
14
|
-
|
|
23
|
+
/** Predicate for arbitrary per-date disabling (weekends, holidays, …).
|
|
24
|
+
* Runs in addition to min/max bounds. */
|
|
25
|
+
isDateDisabled?: (date: Date) => boolean;
|
|
26
|
+
/** Day of week the grid starts on. 0=Sun (US default), 1=Mon (ISO), etc. */
|
|
27
|
+
weekStartsOn?: WeekStart;
|
|
28
|
+
/** Number of months rendered side-by-side. 1 (default) or 2. */
|
|
29
|
+
numberOfMonths?: 1 | 2;
|
|
30
|
+
/** Locale tag for Intl formatting (month name + weekday header).
|
|
31
|
+
* Defaults to the user agent's locale. */
|
|
32
|
+
locale?: string;
|
|
33
|
+
/** Show a footer with `Today` / `Clear` actions. */
|
|
34
|
+
showFooter?: boolean;
|
|
35
|
+
todayLabel?: string;
|
|
36
|
+
clearLabel?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Header layout:
|
|
39
|
+
* - `"label"` (default) — month + year as a static caption
|
|
40
|
+
* - `"dropdowns"` — month + year become `<select>`s so users can
|
|
41
|
+
* jump directly to any month/year without
|
|
42
|
+
* paginating month-by-month.
|
|
43
|
+
*
|
|
44
|
+
* The prev / next month arrows render in both modes; the dropdowns
|
|
45
|
+
* are the fast-jump path on top.
|
|
46
|
+
*/
|
|
47
|
+
captionLayout?: "label" | "dropdowns";
|
|
48
|
+
/**
|
|
49
|
+
* Year-dropdown lower bound. When omitted, defaults to either
|
|
50
|
+
* `minDate.getFullYear()` (when set) or `today - 50`.
|
|
51
|
+
*/
|
|
52
|
+
fromYear?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Year-dropdown upper bound. When omitted, defaults to either
|
|
55
|
+
* `maxDate.getFullYear()` (when set) or `today + 50`.
|
|
56
|
+
*/
|
|
57
|
+
toYear?: number;
|
|
58
|
+
/** When true, the grid focuses its initial date on mount. Use in popovers
|
|
59
|
+
* so keyboard users land inside the calendar immediately. */
|
|
60
|
+
autoFocus?: boolean;
|
|
61
|
+
/** Accessible label for the calendar grid. */
|
|
62
|
+
"aria-label"?: string;
|
|
15
63
|
}
|
|
16
|
-
export declare
|
|
64
|
+
export declare const Calendar: import("react").ForwardRefExoticComponent<CalendarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
65
|
+
export default Calendar;
|
|
17
66
|
//# sourceMappingURL=Calendar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../../src/components/Calendar/Calendar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../../src/components/Calendar/Calendar.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,wBAAwB,EAU9B,MAAM,OAAO,CAAC;AAQf,MAAM,MAAM,SAAS,GAAG;IAAE,KAAK,EAAE,IAAI,GAAG,IAAI,CAAC;IAAC,GAAG,EAAE,IAAI,GAAG,IAAI,CAAA;CAAE,CAAC;AAEjE,+CAA+C;AAC/C,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAElD,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,cAAc,CAAC;IAC1E,iEAAiE;IACjE,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B;+CAC2C;IAC3C,KAAK,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC;IAEpD,0CAA0C;IAC1C,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK,IAAI,CAAC;IAEtC,qEAAqE;IACrE,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,OAAO,CAAC,EAAE,IAAI,CAAC;IACf;6CACyC;IACzC,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IAEzC,4EAA4E;IAC5E,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB,gEAAgE;IAChE,cAAc,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IAEvB;8CAC0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,oDAAoD;IACpD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;;;;;OASG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,WAAW,CAAC;IAEtC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;iEAC6D;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAiCD,eAAO,MAAM,QAAQ,0GAscnB,CAAC;AAIH,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export interface CalendarDay {
|
|
3
|
+
/** ISO date `YYYY-MM-DD` (or a `Date`). */
|
|
4
|
+
date: string | Date;
|
|
5
|
+
value: number;
|
|
6
|
+
label?: ReactNode;
|
|
7
|
+
color?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface CalendarHeatmapProps extends Omit<ComponentPropsWithoutRef<"div">, "title" | "onChange"> {
|
|
10
|
+
data: CalendarDay[];
|
|
11
|
+
/** Inclusive start date for the grid. Default: data min OR (today - 1y). */
|
|
12
|
+
startDate?: string | Date;
|
|
13
|
+
/** Inclusive end date for the grid. Default: data max OR today. */
|
|
14
|
+
endDate?: string | Date;
|
|
15
|
+
/** N color stops low → high. Default = accent ramp. */
|
|
16
|
+
colorScale?: string[];
|
|
17
|
+
/** Lower bound of value domain. Default: data min OR 0. */
|
|
18
|
+
domainMin?: number;
|
|
19
|
+
/** Upper bound of value domain. Default: data max OR 1. */
|
|
20
|
+
domainMax?: number;
|
|
21
|
+
/** Color for days with no entry. */
|
|
22
|
+
emptyColor?: string;
|
|
23
|
+
/** Cell pixel size. Default 12. */
|
|
24
|
+
cellSize?: number;
|
|
25
|
+
/** Gap between cells. Default 2. */
|
|
26
|
+
cellGap?: number;
|
|
27
|
+
/** Cell corner radius (CSS length). Default `var(--ods-radius-1)`. */
|
|
28
|
+
cellRadius?: string;
|
|
29
|
+
/** Week start day. 0 = Sunday, 1 = Monday. Default 0. */
|
|
30
|
+
weekStartsOn?: 0 | 1;
|
|
31
|
+
title?: ReactNode;
|
|
32
|
+
total?: ReactNode;
|
|
33
|
+
/** Show the month labels along the top. Default true. */
|
|
34
|
+
showMonthLabels?: boolean;
|
|
35
|
+
/** Show the weekday labels along the left. Default true. */
|
|
36
|
+
showWeekdayLabels?: boolean;
|
|
37
|
+
/** Show the legend (less / more) below the grid. Default true. */
|
|
38
|
+
showLegend?: boolean;
|
|
39
|
+
formatValue?: (value: number) => string;
|
|
40
|
+
formatDate?: (date: Date) => string;
|
|
41
|
+
disableAnimation?: boolean;
|
|
42
|
+
"aria-label"?: string;
|
|
43
|
+
onDayHover?: (day: CalendarDay | null, date: Date | null) => void;
|
|
44
|
+
onDayClick?: (day: CalendarDay, date: Date) => void;
|
|
45
|
+
}
|
|
46
|
+
export declare const CalendarHeatmap: import("react").ForwardRefExoticComponent<CalendarHeatmapProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
47
|
+
//# sourceMappingURL=CalendarHeatmap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarHeatmap.d.ts","sourceRoot":"","sources":["../../../src/components/CalendarHeatmap/CalendarHeatmap.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,wBAAwB,EAG7B,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAWf,MAAM,WAAW,WAAW;IAC1B,2CAA2C;IAC3C,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAA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AI,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IAClE,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;CACrD;AAoED,eAAO,MAAM,eAAe,iHAiV1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CalendarHeatmap/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,KAAK,WAAW,EAChB,KAAK,oBAAoB,GAC1B,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,10 +1,36 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export
|
|
3
|
-
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export type CalloutVariant = "tip" | "info" | "warning" | "danger" | "success" | "neutral";
|
|
3
|
+
export type CalloutSize = "sm" | "md" | "lg";
|
|
4
|
+
export interface CalloutProps extends Omit<ComponentPropsWithoutRef<"div">, "color" | "title"> {
|
|
5
|
+
variant?: CalloutVariant;
|
|
6
|
+
size?: CalloutSize;
|
|
7
|
+
/** Heading shown above the body content. */
|
|
4
8
|
title?: ReactNode;
|
|
5
|
-
icon
|
|
6
|
-
|
|
7
|
-
|
|
9
|
+
/** Override the default per-variant icon. Pass `null` to suppress entirely. */
|
|
10
|
+
icon?: ReactNode | null;
|
|
11
|
+
/** Render a dismiss `×` button on the trailing edge. */
|
|
12
|
+
dismissible?: boolean;
|
|
13
|
+
/** Fires when the dismiss button is clicked. */
|
|
14
|
+
onDismiss?: () => void;
|
|
15
|
+
/** Accessible label for the dismiss button. Defaults to "Dismiss". */
|
|
16
|
+
dismissLabel?: string;
|
|
17
|
+
/** Override the inferred ARIA role. `danger` → `role="alert"`; the rest
|
|
18
|
+
* stay an unlabelled inline block (callouts are usually documentation,
|
|
19
|
+
* not live regions). Override explicitly when needed. */
|
|
20
|
+
role?: ComponentPropsWithoutRef<"div">["role"];
|
|
21
|
+
/** Render Callout's styling onto a custom child element (Radix-style
|
|
22
|
+
* Slot). Internal slots (icon, title, dismiss) are NOT rendered — the
|
|
23
|
+
* consumer's element fully owns content. Useful for "callout-as-link"
|
|
24
|
+
* or wrapping a router-link as a tip card. */
|
|
25
|
+
asChild?: boolean;
|
|
26
|
+
/** Controls whether the callout is mounted. Pair with `useCallout()` for
|
|
27
|
+
* declarative dismiss + persistence, or wire to your own state. When
|
|
28
|
+
* omitted, the callout is always mounted (the regular static shape). */
|
|
29
|
+
open?: boolean;
|
|
30
|
+
/** Disable the enter/exit animation. Use when the callout is part of a
|
|
31
|
+
* larger animation managed externally. */
|
|
32
|
+
disableAnimation?: boolean;
|
|
33
|
+
children?: ReactNode;
|
|
8
34
|
}
|
|
9
|
-
export declare
|
|
35
|
+
export declare const Callout: import("react").ForwardRefExoticComponent<CalloutProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
36
|
//# sourceMappingURL=Callout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Callout.d.ts","sourceRoot":"","sources":["../../../src/components/Callout/Callout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Callout.d.ts","sourceRoot":"","sources":["../../../src/components/Callout/Callout.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,wBAAwB,EAI7B,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAQf,MAAM,MAAM,cAAc,GACtB,KAAK,GACL,MAAM,GACN,SAAS,GACT,QAAQ,GACR,SAAS,GACT,SAAS,CAAC;AAEd,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7C,MAAM,WAAW,YACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAChE,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,+EAA+E;IAC/E,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAExB,wDAAwD;IACxD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,sEAAsE;IACtE,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;6DAEyD;IACzD,IAAI,CAAC,EAAE,wBAAwB,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;IAE/C;;;kDAG8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;4EAEwE;IACxE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;8CAC0C;IAC1C,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA+FD,eAAO,MAAM,OAAO,yGA4HlB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Callout, type CalloutProps } from "./Callout";
|
|
1
|
+
export { Callout, type CalloutProps, type CalloutSize, type CalloutVariant, } from "./Callout";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Callout/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Callout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,cAAc,GACpB,MAAM,WAAW,CAAC"}
|
|
@@ -1,11 +1,52 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export type CardVariant = "default" | "elevated" | "outlined" | "subtle" | "selected";
|
|
3
|
+
export type CardPadding = "none" | "sm" | "md" | "lg" | "xl";
|
|
4
|
+
export type CardRadius = "none" | "sm" | "md" | "lg";
|
|
5
|
+
export interface CardProps extends Omit<ComponentPropsWithoutRef<"div">, "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart"> {
|
|
6
|
+
variant?: CardVariant;
|
|
7
|
+
padding?: CardPadding;
|
|
8
|
+
radius?: CardRadius;
|
|
9
|
+
/** Apply hover affordance (lift + tint) without making the card clickable.
|
|
10
|
+
* For purely-visual surfaces that respond to mouse-over. */
|
|
6
11
|
hoverable?: boolean;
|
|
7
|
-
|
|
8
|
-
|
|
12
|
+
/** Disable a clickable card. Adds `aria-disabled` and suppresses interaction. */
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
/** Loading skeleton — replaces the card chrome with a shimmer block of
|
|
15
|
+
* the same height. */
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
/** Render Card's styling onto a custom child element (Radix-style Slot).
|
|
18
|
+
*
|
|
19
|
+
* <Card asChild variant="elevated">
|
|
20
|
+
* <NextLink href="/blog/post-1">{...}</NextLink>
|
|
21
|
+
* </Card>
|
|
22
|
+
*
|
|
23
|
+
* When set, Card does NOT wrap the child in motion.div — the consumer's
|
|
24
|
+
* element fully owns content. Use without asChild for the built-in
|
|
25
|
+
* hover / tap motion + keyboard activation. */
|
|
26
|
+
asChild?: boolean;
|
|
27
|
+
children?: ReactNode;
|
|
9
28
|
}
|
|
10
|
-
export declare
|
|
29
|
+
export declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>> & {
|
|
30
|
+
Header: typeof CardHeader;
|
|
31
|
+
Body: typeof CardBody;
|
|
32
|
+
Footer: typeof CardFooter;
|
|
33
|
+
Title: typeof CardTitle;
|
|
34
|
+
Description: typeof CardDescription;
|
|
35
|
+
};
|
|
36
|
+
export interface CardSectionProps extends ComponentPropsWithoutRef<"div"> {
|
|
37
|
+
children?: ReactNode;
|
|
38
|
+
}
|
|
39
|
+
export declare const CardHeader: import("react").ForwardRefExoticComponent<CardSectionProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
40
|
+
export declare const CardBody: import("react").ForwardRefExoticComponent<CardSectionProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
41
|
+
export declare const CardFooter: import("react").ForwardRefExoticComponent<CardSectionProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
42
|
+
export interface CardTitleProps extends ComponentPropsWithoutRef<"h3"> {
|
|
43
|
+
/** Override the heading level. Defaults to `<h3>`. */
|
|
44
|
+
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
45
|
+
children?: ReactNode;
|
|
46
|
+
}
|
|
47
|
+
export declare const CardTitle: import("react").ForwardRefExoticComponent<CardTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
48
|
+
export interface CardDescriptionProps extends ComponentPropsWithoutRef<"p"> {
|
|
49
|
+
children?: ReactNode;
|
|
50
|
+
}
|
|
51
|
+
export declare const CardDescription: import("react").ForwardRefExoticComponent<CardDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
11
52
|
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,wBAAwB,EAK7B,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAQf,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,QAAQ,GAAG,UAAU,CAAC;AACtF,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,C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I,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC7C,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,SAAS,+GAYrB,CAAC;AAGF,MAAM,WAAW,oBAAqB,SAAQ,wBAAwB,CAAC,GAAG,CAAC;IACzE,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,uHAS1B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Card, type CardProps } from "./Card";
|
|
1
|
+
export { Card, CardBody, CardDescription, type CardDescriptionProps, CardFooter, CardHeader, type CardPadding, type CardProps, type CardRadius, type CardSectionProps, CardTitle, type CardTitleProps, type CardVariant, } from "./Card";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,eAAe,EACf,KAAK,oBAAoB,EACzB,UAAU,EACV,UAAU,EACV,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,SAAS,EACT,KAAK,cAAc,EACnB,KAAK,WAAW,GACjB,MAAM,QAAQ,CAAC"}
|
|
@@ -1,13 +1,38 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export
|
|
3
|
-
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
export type ChatBubbleVariant = "user" | "bot" | "system";
|
|
3
|
+
export type ChatBubbleSize = "sm" | "md" | "lg";
|
|
4
|
+
export type ChatBubbleStatus = "sent" | "delivered" | "read" | "failed";
|
|
5
|
+
export interface ChatBubbleProps extends Omit<ComponentPropsWithoutRef<"div">, "color" | "title"> {
|
|
6
|
+
variant?: ChatBubbleVariant;
|
|
7
|
+
size?: ChatBubbleSize;
|
|
8
|
+
/** Display name shown in the meta row. */
|
|
4
9
|
author?: ReactNode;
|
|
10
|
+
/** Wall-clock timestamp (or ReactNode for relative formatters). */
|
|
5
11
|
timestamp?: ReactNode;
|
|
12
|
+
/** Avatar slot. Falls back to a string-initial Avatar when omitted. */
|
|
6
13
|
avatar?: ReactNode;
|
|
7
|
-
initial
|
|
14
|
+
/** Override the auto-derived initial (first char of `author`). */
|
|
15
|
+
initial?: string;
|
|
16
|
+
/** Hide the avatar entirely — useful for "consecutive messages from the
|
|
17
|
+
* same author" patterns. */
|
|
8
18
|
hideAvatar?: boolean;
|
|
9
|
-
children
|
|
10
|
-
|
|
19
|
+
/** Show a typing indicator instead of children (three pulsing dots). */
|
|
20
|
+
isTyping?: boolean;
|
|
21
|
+
/** Delivery state badge in the meta row. `failed` adds an error tint to
|
|
22
|
+
* the bubble. */
|
|
23
|
+
status?: ChatBubbleStatus;
|
|
24
|
+
/** Optional action slot rendered under the bubble (e.g. "Retry", reaction
|
|
25
|
+
* buttons, copy-to-clipboard). */
|
|
26
|
+
actions?: ReactNode;
|
|
27
|
+
/** Optional attachments slot rendered below the body (file chips, image
|
|
28
|
+
* previews, code blocks). */
|
|
29
|
+
attachments?: ReactNode;
|
|
30
|
+
/** Render ChatBubble's chrome onto a custom child element via Slot.
|
|
31
|
+
* Internal slots (avatar, body, meta, actions) are NOT rendered when
|
|
32
|
+
* `asChild` is true — useful for wrapping a router-link as a clickable
|
|
33
|
+
* message bubble. */
|
|
34
|
+
asChild?: boolean;
|
|
35
|
+
children?: ReactNode;
|
|
11
36
|
}
|
|
12
|
-
export declare
|
|
37
|
+
export declare const ChatBubble: import("react").ForwardRefExoticComponent<ChatBubbleProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
38
|
//# sourceMappingURL=ChatBubble.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatBubble.d.ts","sourceRoot":"","sources":["../../../src/components/ChatBubble/ChatBubble.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ChatBubble.d.ts","sourceRoot":"","sources":["../../../src/components/ChatBubble/ChatBubble.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAI7B,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AASf,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC;AAC1D,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAChD,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC;AAExE,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAChE,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,IAAI,CAAC,EAAE,cAAc,CAAC;IAEtB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,mEAAmE;IACnE,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB,uEAAuE;IACvE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;gCAC4B;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;qBACiB;IACjB,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAE1B;sCACkC;IAClC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;iCAC6B;IAC7B,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;;yBAGqB;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAiDD,eAAO,MAAM,UAAU,4GAgItB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ChatBubble, type ChatBubbleProps } from "./ChatBubble";
|
|
1
|
+
export { ChatBubble, type ChatBubbleProps, type ChatBubbleSize, type ChatBubbleStatus, type ChatBubbleVariant, } from "./ChatBubble";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ChatBubble/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ChatBubble/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACvB,MAAM,cAAc,CAAC"}
|