@flikk/ui 1.0.0-beta.3 → 1.0.0-beta.31
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/CHANGELOG.md +1281 -0
- package/README.md +52 -0
- package/dist/bg/1.webp +0 -0
- package/dist/bg/10.webp +0 -0
- package/dist/bg/11.webp +0 -0
- package/dist/bg/12.webp +0 -0
- package/dist/bg/13.webp +0 -0
- package/dist/bg/14.webp +0 -0
- package/dist/bg/15.webp +0 -0
- package/dist/bg/16.webp +0 -0
- package/dist/bg/17.webp +0 -0
- package/dist/bg/18.webp +0 -0
- package/dist/bg/19.webp +0 -0
- package/dist/bg/2.webp +0 -0
- package/dist/bg/20.webp +0 -0
- package/dist/bg/21.webp +0 -0
- package/dist/bg/22.webp +0 -0
- package/dist/bg/3.webp +0 -0
- package/dist/bg/4.webp +0 -0
- package/dist/bg/5.webp +0 -0
- package/dist/bg/6.webp +0 -0
- package/dist/bg/7.webp +0 -0
- package/dist/bg/8.webp +0 -0
- package/dist/bg/9.webp +0 -0
- package/dist/components/ai/AgentStatus/AgentStatus.d.ts +3 -0
- package/dist/components/ai/AgentStatus/AgentStatus.js +144 -0
- package/dist/components/ai/AgentStatus/AgentStatus.theme.d.ts +2 -0
- package/dist/components/ai/AgentStatus/AgentStatus.theme.js +37 -0
- package/dist/components/ai/AgentStatus/AgentStatus.types.d.ts +116 -0
- package/dist/components/ai/AgentStatus/index.d.ts +3 -0
- package/dist/components/ai/CodeBlock/CodeBlock.js +24 -7
- package/dist/components/ai/CodeBlock/CodeBlock.theme.js +3 -4
- package/dist/components/ai/CodeBlock/CodeBlock.types.d.ts +0 -2
- package/dist/components/ai/CodeBlock/LanguageIcon.js +1 -0
- package/dist/components/ai/PromptInput/PromptInput.animations.d.ts +25 -0
- package/dist/components/ai/PromptInput/PromptInput.animations.js +61 -0
- package/dist/components/ai/PromptInput/PromptInput.js +110 -150
- package/dist/components/ai/PromptInput/PromptInput.theme.js +24 -3
- package/dist/components/ai/PromptInput/PromptInput.types.d.ts +49 -1
- package/dist/components/ai/PromptInput/VoiceRecorder.d.ts +11 -0
- package/dist/components/ai/PromptInput/VoiceRecorder.js +328 -0
- package/dist/components/ai/PromptInput/VoiceRecorder.types.d.ts +17 -0
- package/dist/components/ai/PromptInput/index.d.ts +1 -0
- package/dist/components/ai/{PromptSuggestions → PromptSuggestion}/PromptSuggestion.js +1 -0
- package/dist/components/ai/{PromptSuggestions → PromptSuggestion}/PromptSuggestion.theme.js +4 -4
- package/dist/components/ai/Reasoning/Reasoning.d.ts +5 -0
- package/dist/components/ai/Reasoning/Reasoning.js +16 -0
- package/dist/components/ai/Reasoning/Reasoning.types.d.ts +20 -0
- package/dist/components/ai/Reasoning/index.d.ts +2 -0
- package/dist/components/ai/SourceCitation/SourceCitation.d.ts +4 -0
- package/dist/components/ai/SourceCitation/SourceCitation.js +29 -0
- package/dist/components/ai/SourceCitation/SourceCitation.theme.d.ts +2 -0
- package/dist/components/ai/SourceCitation/SourceCitation.theme.js +23 -0
- package/dist/components/ai/SourceCitation/SourceCitation.types.d.ts +55 -0
- package/dist/components/ai/SourceCitation/index.d.ts +3 -0
- package/dist/components/ai/StreamingResponse/AnimatedText.js +4 -3
- package/dist/components/ai/StreamingResponse/ErrorDisplay.js +3 -2
- package/dist/components/ai/StreamingResponse/MarkdownRenderer.d.ts +5 -2
- package/dist/components/ai/StreamingResponse/MarkdownRenderer.js +60 -35
- package/dist/components/ai/StreamingResponse/StreamingCursor.d.ts +4 -5
- package/dist/components/ai/StreamingResponse/StreamingCursor.js +14 -10
- package/dist/components/ai/StreamingResponse/StreamingResponse.animations.d.ts +9 -2
- package/dist/components/ai/StreamingResponse/StreamingResponse.animations.js +37 -12
- package/dist/components/ai/StreamingResponse/StreamingResponse.js +9 -4
- package/dist/components/ai/StreamingResponse/StreamingResponse.theme.js +3 -1
- package/dist/components/ai/StreamingResponse/StreamingResponse.types.d.ts +9 -7
- package/dist/components/ai/StreamingResponse/WordAnimationContext.d.ts +27 -0
- package/dist/components/ai/StreamingResponse/WordAnimationContext.js +136 -0
- package/dist/components/ai/StreamingResponse/index.d.ts +3 -1
- package/dist/components/ai/TokenCounter/TokenCounter.js +3 -2
- package/dist/components/ai/TokenCounter/TokenCounter.theme.js +1 -1
- package/dist/components/ai/index.d.ts +5 -9
- package/dist/components/ai/index.js +14 -8
- package/dist/components/ai/shared/StatusIndicator.d.ts +8 -0
- package/dist/components/ai/shared/StatusIndicator.js +34 -0
- package/dist/components/canvas/Background.d.ts +19 -0
- package/dist/components/canvas/Background.js +24 -0
- package/dist/components/canvas/BaseNode.d.ts +15 -0
- package/dist/components/canvas/BaseNode.js +20 -0
- package/dist/components/canvas/CanvasToolbar.d.ts +34 -0
- package/dist/components/canvas/CanvasToolbar.js +35 -0
- package/dist/components/canvas/Edge.d.ts +32 -0
- package/dist/components/canvas/Edge.js +113 -0
- package/dist/components/canvas/EdgeLayer.d.ts +19 -0
- package/dist/components/canvas/EdgeLayer.js +121 -0
- package/dist/components/canvas/Handle.d.ts +11 -0
- package/dist/components/canvas/Handle.js +64 -0
- package/dist/components/canvas/MiniMap.d.ts +22 -0
- package/dist/components/canvas/MiniMap.js +106 -0
- package/dist/components/canvas/NodeCanvas.d.ts +10 -0
- package/dist/components/canvas/NodeCanvas.js +481 -0
- package/dist/components/canvas/NodeCanvas.theme.d.ts +7 -0
- package/dist/components/canvas/NodeCanvas.theme.js +9 -0
- package/dist/components/canvas/NodeCanvas.types.d.ts +191 -0
- package/dist/components/canvas/NodeControls.d.ts +25 -0
- package/dist/components/canvas/NodeControls.js +41 -0
- package/dist/components/canvas/NodeRenderer.d.ts +22 -0
- package/dist/components/canvas/NodeRenderer.js +126 -0
- package/dist/components/canvas/changes.d.ts +11 -0
- package/dist/components/canvas/changes.js +76 -0
- package/dist/components/canvas/changes.test.d.ts +1 -0
- package/dist/components/canvas/context/CanvasContext.d.ts +41 -0
- package/dist/components/canvas/context/CanvasContext.js +34 -0
- package/dist/components/canvas/context/ConnectionContext.d.ts +33 -0
- package/dist/components/canvas/context/ConnectionContext.js +14 -0
- package/dist/components/canvas/context/HandleRegistry.d.ts +24 -0
- package/dist/components/canvas/context/HandleRegistry.js +16 -0
- package/dist/components/canvas/context/InteractionContext.d.ts +18 -0
- package/dist/components/canvas/context/InteractionContext.js +15 -0
- package/dist/components/canvas/context/NodeIdContext.d.ts +3 -0
- package/dist/components/canvas/context/NodeIdContext.js +16 -0
- package/dist/components/canvas/hooks/useConnection.d.ts +17 -0
- package/dist/components/canvas/hooks/useConnection.js +30 -0
- package/dist/components/canvas/hooks/useMarquee.d.ts +25 -0
- package/dist/components/canvas/hooks/useMarquee.js +92 -0
- package/dist/components/canvas/hooks/useNodeDrag.d.ts +23 -0
- package/dist/components/canvas/hooks/useNodeDrag.js +111 -0
- package/dist/components/canvas/hooks/usePanZoom.d.ts +30 -0
- package/dist/components/canvas/hooks/usePanZoom.js +195 -0
- package/dist/components/canvas/hooks/useViewport.d.ts +21 -0
- package/dist/components/canvas/hooks/useViewport.js +36 -0
- package/dist/components/canvas/index.d.ts +14 -0
- package/dist/components/canvas/index.js +12 -0
- package/dist/components/canvas/layout.d.ts +22 -0
- package/dist/components/canvas/layout.js +67 -0
- package/dist/components/canvas/layout.test.d.ts +1 -0
- package/dist/components/canvas/utils.d.ts +4 -0
- package/dist/components/canvas/utils.js +16 -0
- package/dist/components/canvas/utils.test.d.ts +1 -0
- package/dist/components/charts/ActivityRings/ActivityRings.js +29 -18
- package/dist/components/charts/ActivityRings/ActivityRings.types.d.ts +2 -3
- package/dist/components/charts/ActivityRings/ActivityRings.types.js +2 -1
- package/dist/components/charts/AreaChart/AreaChart.js +213 -176
- package/dist/components/charts/AreaChart/AreaChart.theme.d.ts +1 -6
- package/dist/components/charts/AreaChart/AreaChart.theme.js +7 -19
- package/dist/components/charts/AreaChart/AreaChart.types.d.ts +23 -16
- package/dist/components/charts/AreaChart/AreaChart.types.js +11 -3
- package/dist/components/charts/AreaChart/index.d.ts +1 -1
- package/dist/components/charts/BarChart/BarChart.js +220 -185
- package/dist/components/charts/BarChart/BarChart.types.d.ts +22 -18
- package/dist/components/charts/BarChart/BarChart.types.js +12 -4
- package/dist/components/charts/ChartContainer.d.ts +7 -0
- package/dist/components/charts/ChartContainer.js +11 -8
- package/dist/components/charts/{shared/BarRenderer → ComboChart}/BarRenderer.d.ts +3 -1
- package/dist/components/charts/{shared/BarRenderer → ComboChart}/BarRenderer.js +145 -107
- package/dist/components/charts/{shared/BarRenderer → ComboChart}/BarRenderer.types.d.ts +17 -5
- package/dist/components/charts/ComboChart/ComboChart.js +29 -25
- package/dist/components/charts/ComboChart/ComboChart.types.d.ts +18 -16
- package/dist/components/charts/ComboChart/ComboChart.types.js +18 -2
- package/dist/components/charts/ComboChart/ComboChartCanvas.d.ts +98 -0
- package/dist/components/charts/{shared/ChartContainer/ChartContainer.js → ComboChart/ComboChartCanvas.js} +41 -44
- package/dist/components/charts/{shared/ChartContainer/ChartContainer.types.d.ts → ComboChart/ComboChartCanvas.types.d.ts} +23 -3
- package/dist/components/charts/{shared/LineRenderer → ComboChart}/LineRenderer.d.ts +3 -1
- package/dist/components/charts/{shared/LineRenderer → ComboChart}/LineRenderer.js +42 -24
- package/dist/components/charts/{shared/LineRenderer → ComboChart}/LineRenderer.types.d.ts +11 -5
- package/dist/components/charts/DonutChart/DonutChart.js +3 -2
- package/dist/components/charts/DonutChart/DonutChart.theme.js +1 -1
- package/dist/components/charts/DonutChart/DonutChart.types.d.ts +1 -2
- package/dist/components/charts/DonutChart/MultiSegmentDonutChart.js +10 -24
- package/dist/components/charts/DonutChart/MultiSegmentDonutChart.types.d.ts +1 -2
- package/dist/components/charts/DonutChart/donut-utils.js +1 -0
- package/dist/components/charts/FunnelChart/FunnelChart.animations.js +1 -48
- package/dist/components/charts/FunnelChart/FunnelChart.d.ts +3 -4
- package/dist/components/charts/FunnelChart/FunnelChart.js +306 -358
- package/dist/components/charts/Heatmap/Heatmap.js +29 -36
- package/dist/components/charts/Heatmap/HeatmapCell.js +2 -1
- package/dist/components/charts/Heatmap/HeatmapLegend.js +1 -1
- package/dist/components/charts/HorizontalBarChart/HorizontalBarChart.d.ts +16 -0
- package/dist/components/charts/HorizontalBarChart/HorizontalBarChart.js +237 -0
- package/dist/components/charts/HorizontalBarChart/HorizontalBarChart.types.d.ts +62 -0
- package/dist/components/charts/HorizontalBarChart/HorizontalBarChart.types.js +21 -0
- package/dist/components/charts/HorizontalBarChart/index.d.ts +3 -0
- package/dist/components/charts/LineChart/LineChart.js +197 -167
- package/dist/components/charts/LineChart/LineChart.types.d.ts +14 -17
- package/dist/components/charts/LineChart/LineChart.types.js +11 -3
- package/dist/components/charts/LollipopChart/LollipopChart.d.ts +3 -0
- package/dist/components/charts/LollipopChart/LollipopChart.js +361 -0
- package/dist/components/charts/LollipopChart/LollipopChart.types.d.ts +42 -0
- package/dist/components/charts/LollipopChart/LollipopChart.types.js +12 -0
- package/dist/components/charts/LollipopChart/index.d.ts +3 -0
- package/dist/components/charts/RadarChart/RadarChart.js +10 -2
- package/dist/components/charts/RadarChart/RadarChart.theme.js +5 -10
- package/dist/components/charts/RadarChart/RadarChart.types.d.ts +0 -8
- package/dist/components/charts/ScatterPlot/ScatterPlot.js +72 -72
- package/dist/components/charts/ScatterPlot/ScatterPlot.theme.d.ts +0 -4
- package/dist/components/charts/ScatterPlot/ScatterPlot.theme.js +10 -6
- package/dist/components/charts/ScatterPlot/ScatterPlot.types.d.ts +15 -26
- package/dist/components/charts/ScatterPlot/ScatterPlot.types.js +9 -2
- package/dist/components/charts/StackedBarChart/StackedBarChart.js +209 -154
- package/dist/components/charts/StackedBarChart/StackedBarChart.types.d.ts +22 -20
- package/dist/components/charts/StackedBarChart/StackedBarChart.types.js +13 -4
- package/dist/components/charts/hooks/index.d.ts +3 -1
- package/dist/components/charts/hooks/useChartAccessibility.d.ts +1 -1
- package/dist/components/charts/hooks/useChartAccessibility.js +4 -0
- package/dist/components/charts/hooks/useChartDimensions.d.ts +29 -0
- package/dist/components/charts/hooks/useChartDimensions.js +43 -0
- package/dist/components/charts/hooks/useChartScales.js +1 -1
- package/dist/components/charts/hooks/useChartTheme.js +1 -0
- package/dist/components/charts/hooks/useChartValidation.d.ts +0 -8
- package/dist/components/charts/hooks/useChartValidation.js +1 -0
- package/dist/components/charts/hooks/useTooltipPosition.js +19 -6
- package/dist/components/charts/index.d.ts +9 -3
- package/dist/components/charts/index.js +7 -3
- package/dist/components/charts/shared/ChartAxis/CategoryYAxis.d.ts +14 -0
- package/dist/components/charts/shared/ChartAxis/CategoryYAxis.js +35 -0
- package/dist/components/charts/shared/ChartAxis/ChartAxis.types.d.ts +69 -8
- package/dist/components/charts/shared/ChartAxis/ValueXAxis.d.ts +14 -0
- package/dist/components/charts/shared/ChartAxis/ValueXAxis.js +64 -0
- package/dist/components/charts/shared/ChartAxis/XAxis.js +1 -1
- package/dist/components/charts/shared/ChartAxis/YAxis.js +2 -2
- package/dist/components/charts/shared/ChartAxis/index.d.ts +3 -1
- package/dist/components/charts/shared/ChartCrosshair/ChartCrosshair.js +5 -12
- package/dist/components/charts/shared/ChartErrorBoundary/ChartErrorBoundary.js +2 -1
- package/dist/components/charts/shared/ChartGrid/HorizontalGrid.d.ts +0 -2
- package/dist/components/charts/shared/ChartGrid/HorizontalGrid.js +1 -1
- package/dist/components/charts/shared/ChartGrid/VerticalGrid.d.ts +29 -0
- package/dist/components/charts/shared/ChartGrid/VerticalGrid.js +26 -0
- package/dist/components/charts/shared/ChartGrid/index.d.ts +2 -0
- package/dist/components/charts/shared/ChartLegend/ChartLegend.d.ts +5 -2
- package/dist/components/charts/shared/ChartLegend/ChartLegend.js +15 -22
- package/dist/components/charts/shared/ChartLegend/ChartLegend.types.d.ts +7 -12
- package/dist/components/charts/shared/ChartLegend/index.d.ts +2 -3
- package/dist/components/charts/shared/ChartMarker/ChartMarker.js +8 -1
- package/dist/components/charts/shared/ChartText/ChartText.js +2 -1
- package/dist/components/charts/shared/ChartTooltip/ChartTooltip.js +4 -13
- package/dist/components/charts/shared/ChartTooltip/ChartTooltip.theme.js +1 -1
- package/dist/components/charts/shared/ChartTooltip/ChartTooltip.types.d.ts +13 -2
- package/dist/components/charts/shared/index.d.ts +0 -7
- package/dist/components/charts/theme/chart.theme.js +24 -23
- package/dist/components/charts/types/chart.types.d.ts +35 -7
- package/dist/components/charts/types/chart.types.js +11 -10
- package/dist/components/charts/utils/animation-utils.d.ts +95 -0
- package/dist/components/charts/utils/animation-utils.js +148 -2
- package/dist/components/charts/utils/bar-emphasis.d.ts +109 -0
- package/dist/components/charts/utils/bar-emphasis.js +85 -0
- package/dist/components/charts/utils/chart-validation.js +7 -0
- package/dist/components/charts/utils/index.d.ts +1 -0
- package/dist/components/charts/utils/series-color.d.ts +7 -0
- package/dist/components/charts/utils/series-color.js +20 -0
- package/dist/components/core/Accordion/Accordion.animations.d.ts +6 -1
- package/dist/components/core/Accordion/Accordion.animations.js +15 -1
- package/dist/components/core/Accordion/Accordion.d.ts +4 -4
- package/dist/components/core/Accordion/Accordion.js +23 -19
- package/dist/components/core/Accordion/Accordion.theme.d.ts +2 -2
- package/dist/components/core/Accordion/Accordion.theme.js +7 -7
- package/dist/components/core/Accordion/Accordion.types.d.ts +63 -5
- package/dist/components/core/Accordion/AccordionBody.d.ts +3 -0
- package/dist/components/core/Accordion/{AccordionContent.js → AccordionBody.js} +6 -5
- package/dist/components/core/Accordion/AccordionContext.d.ts +3 -0
- package/dist/components/core/Accordion/AccordionContext.js +15 -0
- package/dist/components/core/Accordion/AccordionItem.js +14 -10
- package/dist/components/core/Accordion/AccordionTrigger.js +52 -10
- package/dist/components/core/Accordion/index.d.ts +2 -2
- package/dist/components/core/Alert/Alert.animations.d.ts +12 -0
- package/dist/components/core/Alert/Alert.animations.js +60 -0
- package/dist/components/core/Alert/Alert.js +29 -10
- package/dist/components/core/Alert/Alert.theme.js +3 -12
- package/dist/components/core/Alert/Alert.types.d.ts +6 -13
- package/dist/components/core/Alert/index.d.ts +1 -1
- package/dist/components/core/AlertDialog/AlertDialog.js +15 -1
- package/dist/components/core/Avatar/Avatar.js +104 -39
- package/dist/components/core/Avatar/Avatar.theme.d.ts +10 -8
- package/dist/components/core/Avatar/Avatar.theme.js +80 -14
- package/dist/components/core/Avatar/Avatar.types.d.ts +55 -9
- package/dist/components/core/Avatar/index.d.ts +1 -1
- package/dist/components/core/AvatarGroup/AvatarGroup.animations.js +3 -2
- package/dist/components/core/AvatarGroup/AvatarGroup.js +12 -10
- package/dist/components/core/AvatarGroup/AvatarGroup.theme.d.ts +1 -2
- package/dist/components/core/AvatarGroup/AvatarGroup.theme.js +6 -8
- package/dist/components/core/AvatarGroup/AvatarGroup.types.d.ts +0 -6
- package/dist/components/core/AvatarGroup/index.d.ts +1 -1
- package/dist/components/core/Badge/Badge.animations.js +6 -3
- package/dist/components/core/Badge/Badge.d.ts +1 -1
- package/dist/components/core/Badge/Badge.js +36 -74
- package/dist/components/core/Badge/Badge.theme.js +75 -66
- package/dist/components/core/Badge/Badge.types.d.ts +21 -34
- package/dist/components/core/Breadcrumbs/Breadcrumbs.js +24 -25
- package/dist/components/core/Breadcrumbs/Breadcrumbs.theme.d.ts +1 -4
- package/dist/components/core/Breadcrumbs/Breadcrumbs.theme.js +4 -4
- package/dist/components/core/Breadcrumbs/Breadcrumbs.types.d.ts +1 -1
- package/dist/components/core/Button/Button.d.ts +1 -1
- package/dist/components/core/Button/Button.js +49 -53
- package/dist/components/core/Button/Button.ripple.d.ts +5 -1
- package/dist/components/core/Button/Button.ripple.js +31 -24
- package/dist/components/core/Button/Button.theme.d.ts +4 -4
- package/dist/components/core/Button/Button.theme.js +63 -92
- package/dist/components/core/Button/Button.types.d.ts +23 -7
- package/dist/components/core/Button/index.d.ts +2 -0
- package/dist/components/core/ButtonGroup/ButtonGroup.theme.js +6 -6
- package/dist/components/core/ButtonGroup/ButtonGroupText.js +1 -3
- package/dist/components/core/Calendar/Calendar.animations.js +1 -0
- package/dist/components/core/Calendar/Calendar.js +134 -10
- package/dist/components/core/Calendar/Calendar.theme.js +22 -26
- package/dist/components/core/Calendar/Calendar.types.d.ts +4 -2
- package/dist/components/core/Calendar/CalendarEvent/CalendarEvent.types.d.ts +5 -6
- package/dist/components/core/Calendar/CalendarMini/CalendarMini.animations.js +1 -0
- package/dist/components/core/Calendar/CalendarMini/CalendarMini.js +9 -5
- package/dist/components/core/Calendar/CalendarMini/CalendarMini.theme.js +2 -2
- package/dist/components/core/Card/Card.d.ts +2 -2
- package/dist/components/core/Card/Card.js +17 -6
- package/dist/components/core/Card/Card.theme.js +16 -6
- package/dist/components/core/Card/Card.types.d.ts +43 -15
- package/dist/components/core/Card/CardBody.d.ts +3 -0
- package/dist/components/core/Card/CardBody.js +11 -0
- package/dist/components/core/Card/CardFooter.js +1 -1
- package/dist/components/core/Card/CardHeader.js +1 -1
- package/dist/components/core/Card/CardSubtitle.d.ts +1 -1
- package/dist/components/core/Card/CardTitle.d.ts +1 -1
- package/dist/components/core/Card/index.d.ts +2 -2
- package/dist/components/core/CardStack/CardStack.js +1 -0
- package/dist/components/core/Carousel/Carousel.js +5 -4
- package/dist/components/core/Carousel/Carousel.types.d.ts +4 -4
- package/dist/components/core/Carousel/CarouselBody.d.ts +4 -0
- package/dist/components/core/Carousel/{CarouselContent.js → CarouselBody.js} +12 -5
- package/dist/components/core/Carousel/CarouselContext.js +1 -0
- package/dist/components/core/Carousel/CarouselNext.js +3 -2
- package/dist/components/core/Carousel/CarouselPrevious.js +3 -2
- package/dist/components/core/Carousel/index.d.ts +2 -1
- package/dist/components/core/CommandPalette/CommandItem.js +5 -5
- package/dist/components/core/CommandPalette/CommandPalette.animations.js +1 -0
- package/dist/components/core/CommandPalette/CommandPalette.js +61 -14
- package/dist/components/core/CommandPalette/CommandPalette.theme.js +15 -18
- package/dist/components/core/CommandPalette/CommandPalette.types.d.ts +16 -2
- package/dist/components/core/ContextMenu/ContextMenu.d.ts +2 -2
- package/dist/components/core/ContextMenu/ContextMenu.js +38 -15
- package/dist/components/core/ContextMenu/ContextMenu.theme.js +15 -15
- package/dist/components/core/ContextMenu/ContextMenu.types.d.ts +19 -2
- package/dist/components/core/ContextMenu/ContextMenuBody.d.ts +6 -0
- package/dist/components/core/ContextMenu/{ContextMenuContent.js → ContextMenuBody.js} +20 -11
- package/dist/components/core/ContextMenu/ContextMenuContext.js +1 -0
- package/dist/components/core/ContextMenu/ContextMenuItem.js +19 -9
- package/dist/components/core/ContextMenu/ContextMenuLabel.js +1 -0
- package/dist/components/core/ContextMenu/ContextMenuSeparator.js +1 -0
- package/dist/components/core/ContextMenu/ContextMenuSub.js +4 -3
- package/dist/components/core/ContextMenu/ContextMenuSubBody.d.ts +6 -0
- package/dist/components/core/ContextMenu/{ContextMenuSubContent.js → ContextMenuSubBody.js} +16 -9
- package/dist/components/core/ContextMenu/ContextMenuSubTrigger.js +4 -3
- package/dist/components/core/ContextMenu/ContextMenuTrigger.js +13 -6
- package/dist/components/core/ContextMenu/index.d.ts +1 -1
- package/dist/components/core/DotSeparator/DotSeparator.d.ts +3 -0
- package/dist/components/core/DotSeparator/DotSeparator.js +20 -0
- package/dist/components/core/DotSeparator/DotSeparator.theme.d.ts +2 -0
- package/dist/components/core/DotSeparator/DotSeparator.theme.js +10 -0
- package/dist/components/core/DotSeparator/DotSeparator.types.d.ts +25 -0
- package/dist/components/core/DotSeparator/index.d.ts +3 -0
- package/dist/components/core/DragDrop/DragDrop.js +189 -17
- package/dist/components/core/DragDrop/DragDrop.types.d.ts +6 -0
- package/dist/components/core/Drawer/Drawer.animations.js +14 -12
- package/dist/components/core/Drawer/Drawer.d.ts +6 -6
- package/dist/components/core/Drawer/Drawer.js +63 -20
- package/dist/components/core/Drawer/Drawer.theme.d.ts +2 -0
- package/dist/components/core/Drawer/Drawer.theme.js +23 -16
- package/dist/components/core/Drawer/Drawer.types.d.ts +24 -6
- package/dist/components/core/Drawer/DrawerBody.d.ts +5 -0
- package/dist/components/core/Drawer/{DrawerContent.js → DrawerBody.js} +5 -4
- package/dist/components/core/Drawer/DrawerContext.d.ts +3 -0
- package/dist/components/core/Drawer/DrawerContext.js +15 -0
- package/dist/components/core/Drawer/DrawerFooter.js +2 -1
- package/dist/components/core/Drawer/DrawerHeader.js +5 -3
- package/dist/components/core/Drawer/DrawerSubtitle.js +2 -1
- package/dist/components/core/Drawer/DrawerTitle.d.ts +1 -1
- package/dist/components/core/Drawer/DrawerTitle.js +4 -3
- package/dist/components/core/Drawer/index.d.ts +2 -1
- package/dist/components/core/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/core/Dropdown/Dropdown.js +28 -10
- package/dist/components/core/Dropdown/Dropdown.theme.js +9 -7
- package/dist/components/core/Dropdown/Dropdown.types.d.ts +12 -3
- package/dist/components/core/Dropdown/DropdownContext.js +1 -0
- package/dist/components/core/Dropdown/DropdownItem.js +5 -4
- package/dist/components/core/Dropdown/DropdownMenu.js +75 -74
- package/dist/components/core/Dropdown/DropdownSection.js +5 -2
- package/dist/components/core/Dropdown/DropdownSeparator.js +2 -1
- package/dist/components/core/Dropdown/DropdownTrigger.d.ts +6 -1
- package/dist/components/core/Dropdown/DropdownTrigger.js +42 -9
- package/dist/components/core/Empty/Empty.js +1 -1
- package/dist/components/core/Empty/Empty.theme.js +1 -1
- package/dist/components/core/HeroCard/HeroCard.d.ts +5 -0
- package/dist/components/core/HeroCard/HeroCard.js +100 -0
- package/dist/components/core/HeroCard/HeroCard.theme.d.ts +3 -0
- package/dist/components/core/HeroCard/HeroCard.theme.js +11 -0
- package/dist/components/core/HeroCard/HeroCard.types.d.ts +70 -0
- package/dist/components/core/HeroCard/index.d.ts +4 -0
- package/dist/components/core/Icon/Icon.d.ts +3 -0
- package/dist/components/core/Icon/Icon.js +70 -0
- package/dist/components/core/Icon/Icon.theme.d.ts +2 -0
- package/dist/components/core/Icon/Icon.theme.js +19 -0
- package/dist/components/core/Icon/Icon.types.d.ts +32 -0
- package/dist/components/core/Icon/data/fileTypes.d.ts +7 -0
- package/dist/components/core/Icon/data/fileTypes.js +30 -0
- package/dist/components/core/Icon/data/paymentMethods.d.ts +27 -0
- package/dist/components/core/Icon/data/paymentMethods.js +169 -0
- package/dist/components/core/Icon/index.d.ts +4 -0
- package/dist/components/core/ImagePlaceholder/ImagePlaceholder.d.ts +14 -0
- package/dist/components/core/ImagePlaceholder/ImagePlaceholder.js +37 -0
- package/dist/components/core/ImagePlaceholder/ImagePlaceholder.theme.d.ts +6 -0
- package/dist/components/core/ImagePlaceholder/ImagePlaceholder.theme.js +8 -0
- package/dist/components/core/ImagePlaceholder/ImagePlaceholder.types.d.ts +32 -0
- package/dist/components/core/ImagePlaceholder/index.d.ts +2 -0
- package/dist/components/core/Kbd/Kbd.theme.js +5 -3
- package/dist/components/core/Link/Link.d.ts +1 -1
- package/dist/components/core/Link/Link.js +62 -29
- package/dist/components/core/Link/Link.types.d.ts +26 -9
- package/dist/components/core/Masonry/Masonry.js +88 -71
- package/dist/components/core/Masonry/Masonry.theme.js +10 -4
- package/dist/components/core/MenuItem/MenuItem.js +23 -2
- package/dist/components/core/MenuItem/MenuItem.theme.d.ts +6 -0
- package/dist/components/core/MenuItem/MenuItem.theme.js +25 -18
- package/dist/components/core/MenuItem/MenuItem.types.d.ts +3 -1
- package/dist/components/core/Message/Message.d.ts +10 -1
- package/dist/components/core/Message/Message.js +50 -8
- package/dist/components/core/Message/Message.theme.js +27 -7
- package/dist/components/core/Message/Message.types.d.ts +122 -7
- package/dist/components/core/Message/MessageActions.js +1 -0
- package/dist/components/core/Message/MessageAudio.d.ts +8 -0
- package/dist/components/core/Message/MessageAudio.js +12 -0
- package/dist/components/core/Message/MessageAvatar.d.ts +2 -2
- package/dist/components/core/Message/MessageAvatar.js +4 -3
- package/dist/components/core/Message/MessageBody.d.ts +8 -0
- package/dist/components/core/Message/{MessageContent.js → MessageBody.js} +4 -3
- package/dist/components/core/Message/MessageContext.d.ts +3 -1
- package/dist/components/core/Message/MessageContext.js +1 -0
- package/dist/components/core/Message/MessageDateDivider.d.ts +6 -0
- package/dist/components/core/Message/MessageDateDivider.js +10 -0
- package/dist/components/core/Message/MessageFile.d.ts +9 -0
- package/dist/components/core/Message/MessageFile.js +16 -0
- package/dist/components/core/Message/MessageImage.d.ts +11 -0
- package/dist/components/core/Message/MessageImage.js +14 -0
- package/dist/components/core/Message/MessageLink.d.ts +10 -0
- package/dist/components/core/Message/MessageLink.js +15 -0
- package/dist/components/core/Message/MessageList.js +1 -0
- package/dist/components/core/Message/MessageReactions.d.ts +8 -0
- package/dist/components/core/Message/MessageReactions.js +13 -0
- package/dist/components/core/Message/MessageReply.d.ts +8 -0
- package/dist/components/core/Message/MessageReply.js +10 -0
- package/dist/components/core/Message/MessageSenderName.d.ts +6 -0
- package/dist/components/core/Message/MessageSenderName.js +10 -0
- package/dist/components/core/Message/MessageStatusIndicator.d.ts +9 -0
- package/dist/components/core/Message/MessageStatusIndicator.js +46 -0
- package/dist/components/core/Message/MessageTimestamp.js +1 -0
- package/dist/components/core/Message/TypeWriter.d.ts +1 -1
- package/dist/components/core/Message/TypeWriter.js +74 -9
- package/dist/components/core/Message/index.d.ts +21 -1
- package/dist/components/core/Modal/Modal.animations.d.ts +1 -0
- package/dist/components/core/Modal/Modal.animations.js +20 -30
- package/dist/components/core/Modal/Modal.d.ts +4 -6
- package/dist/components/core/Modal/Modal.js +21 -22
- package/dist/components/core/Modal/Modal.theme.js +15 -12
- package/dist/components/core/Modal/Modal.types.d.ts +15 -12
- package/dist/components/core/Modal/ModalBody.js +9 -9
- package/dist/components/core/Modal/ModalContext.d.ts +3 -0
- package/dist/components/core/Modal/ModalContext.js +16 -0
- package/dist/components/core/Modal/ModalFooter.js +3 -2
- package/dist/components/core/Modal/ModalHeader.js +5 -3
- package/dist/components/core/Modal/ModalSubtitle.js +2 -1
- package/dist/components/core/Modal/ModalTitle.d.ts +1 -1
- package/dist/components/core/Modal/ModalTitle.js +4 -3
- package/dist/components/core/Modal/index.d.ts +1 -1
- package/dist/components/core/ModalStack/ModalStack.animations.js +1 -0
- package/dist/components/core/ModalStack/ModalStack.d.ts +1 -1
- package/dist/components/core/ModalStack/ModalStack.js +2 -1
- package/dist/components/core/ModalStack/ModalStack.types.d.ts +1 -2
- package/dist/components/core/ModalStack/ModalStackModal.d.ts +1 -1
- package/dist/components/core/ModalStack/ModalStackModal.js +20 -16
- package/dist/components/core/NavItem/NavItem.d.ts +1 -1
- package/dist/components/core/NavItem/NavItem.js +273 -79
- package/dist/components/core/NavItem/NavItem.theme.js +31 -9
- package/dist/components/core/NavItem/NavItem.types.d.ts +51 -59
- package/dist/components/core/NavItem/index.d.ts +1 -1
- package/dist/components/core/OfflineIndicator/OfflineIndicator.animations.d.ts +22 -0
- package/dist/components/core/OfflineIndicator/OfflineIndicator.animations.js +54 -0
- package/dist/components/core/OfflineIndicator/OfflineIndicator.js +24 -24
- package/dist/components/core/OfflineIndicator/OfflineIndicator.theme.js +26 -7
- package/dist/components/core/OfflineIndicator/OfflineIndicator.types.d.ts +17 -0
- package/dist/components/core/PageHeading/PageHeading.js +8 -3
- package/dist/components/core/PageHeading/PageHeading.theme.js +3 -3
- package/dist/components/core/PageHeading/PageHeading.types.d.ts +13 -2
- package/dist/components/core/PageHeading/PageHeadingBackButton.js +6 -3
- package/dist/components/core/Pagination/Pagination.js +10 -4
- package/dist/components/core/Pagination/Pagination.theme.d.ts +2 -10
- package/dist/components/core/Pagination/Pagination.theme.js +6 -6
- package/dist/components/core/Pagination/Pagination.types.d.ts +11 -1
- package/dist/components/core/Pill/Pill.js +17 -6
- package/dist/components/core/Pill/Pill.theme.js +13 -11
- package/dist/components/core/Popover/Popover.d.ts +2 -2
- package/dist/components/core/Popover/Popover.js +11 -10
- package/dist/components/core/Popover/Popover.theme.d.ts +1 -1
- package/dist/components/core/Popover/Popover.theme.js +4 -2
- package/dist/components/core/Popover/Popover.types.d.ts +21 -3
- package/dist/components/core/Popover/PopoverBody.d.ts +7 -0
- package/dist/components/core/Popover/PopoverBody.js +134 -0
- package/dist/components/core/Popover/PopoverContext.js +1 -0
- package/dist/components/core/Popover/PopoverTrigger.d.ts +1 -1
- package/dist/components/core/Popover/PopoverTrigger.js +13 -12
- package/dist/components/core/Popover/index.d.ts +4 -3
- package/dist/components/core/Progress/Progress.d.ts +9 -8
- package/dist/components/core/Progress/Progress.js +18 -17
- package/dist/components/core/Progress/Progress.theme.js +6 -14
- package/dist/components/core/Progress/Progress.types.d.ts +2 -19
- package/dist/components/core/Progress/index.d.ts +1 -1
- package/dist/components/core/Rating/Rating.js +17 -10
- package/dist/components/core/Rating/Rating.theme.js +1 -1
- package/dist/components/core/ScrollArea/ScrollArea.js +294 -12
- package/dist/components/core/ScrollArea/ScrollArea.theme.js +1 -1
- package/dist/components/core/ScrollArea/ScrollArea.types.d.ts +24 -4
- package/dist/components/core/ScrollArea/index.d.ts +1 -1
- package/dist/components/core/ScrollArea/smooth/SmoothScrollEngine.d.ts +5 -0
- package/dist/components/core/ScrollArea/smooth/SmoothScrollEngine.js +37 -3
- package/dist/components/core/ScrollArea/smooth/SnapPointDetector.js +1 -0
- package/dist/components/core/ScrollArea/smooth/useSmoothScroll.js +5 -0
- package/dist/components/core/ScrollArea/smooth/useSmoothScroll.types.d.ts +5 -0
- package/dist/components/core/Segmented/Segmented.js +21 -19
- package/dist/components/core/Segmented/Segmented.theme.js +10 -7
- package/dist/components/core/Segmented/SegmentedItem.js +30 -3
- package/dist/components/core/Separator/Separator.js +1 -0
- package/dist/components/core/Sidebar/Sidebar.d.ts +14 -1
- package/dist/components/core/Sidebar/Sidebar.js +95 -21
- package/dist/components/core/Sidebar/Sidebar.theme.js +7 -7
- package/dist/components/core/Sidebar/Sidebar.types.d.ts +190 -8
- package/dist/components/core/Sidebar/SidebarCard.d.ts +25 -0
- package/dist/components/core/Sidebar/SidebarCard.js +69 -0
- package/dist/components/core/Sidebar/SidebarCard.theme.d.ts +8 -0
- package/dist/components/core/Sidebar/SidebarCard.theme.js +18 -0
- package/dist/components/core/Sidebar/SidebarContent.js +11 -4
- package/dist/components/core/Sidebar/SidebarContext.d.ts +26 -11
- package/dist/components/core/Sidebar/SidebarContext.js +87 -11
- package/dist/components/core/Sidebar/SidebarFooter.js +5 -4
- package/dist/components/core/Sidebar/SidebarHeader.js +15 -4
- package/dist/components/core/Sidebar/SidebarLogo.d.ts +3 -0
- package/dist/components/core/Sidebar/SidebarLogo.js +49 -0
- package/dist/components/core/Sidebar/SidebarMobileTrigger.d.ts +3 -0
- package/dist/components/core/Sidebar/SidebarMobileTrigger.js +30 -0
- package/dist/components/core/Sidebar/SidebarNav.js +6 -2
- package/dist/components/core/Sidebar/SidebarNavGroup.js +6 -5
- package/dist/components/core/Sidebar/SidebarSearch.d.ts +22 -0
- package/dist/components/core/Sidebar/SidebarSearch.js +136 -0
- package/dist/components/core/Sidebar/SidebarToggle.js +9 -4
- package/dist/components/core/Sidebar/SidebarUserProfile.d.ts +3 -0
- package/dist/components/core/Sidebar/SidebarUserProfile.js +49 -0
- package/dist/components/core/Sidebar/index.d.ts +7 -3
- package/dist/components/core/Skeleton/Skeleton.js +2 -2
- package/dist/components/core/Skeleton/Skeleton.theme.js +1 -1
- package/dist/components/core/SlidingNumber/SlidingNumber.js +3 -1
- package/dist/components/core/Sortable/Sortable.animations.js +1 -0
- package/dist/components/core/Sortable/Sortable.d.ts +1 -1
- package/dist/components/core/Sortable/Sortable.js +25 -8
- package/dist/components/core/Sortable/Sortable.theme.js +1 -1
- package/dist/components/core/Sortable/Sortable.types.d.ts +9 -5
- package/dist/components/core/Spinner/Spinner.js +1 -0
- package/dist/components/core/Spinner/Spinner.theme.js +4 -6
- package/dist/components/core/Spinner/Spinner.types.d.ts +2 -1
- package/dist/components/core/Tabs/Tabs.animations.d.ts +2 -2
- package/dist/components/core/Tabs/Tabs.animations.js +4 -3
- package/dist/components/core/Tabs/Tabs.d.ts +1 -1
- package/dist/components/core/Tabs/Tabs.js +15 -7
- package/dist/components/core/Tabs/Tabs.theme.d.ts +2 -2
- package/dist/components/core/Tabs/Tabs.theme.js +6 -6
- package/dist/components/core/Tabs/Tabs.types.d.ts +13 -9
- package/dist/components/core/Tabs/TabsBody.d.ts +6 -0
- package/dist/components/core/Tabs/{TabsContent.js → TabsBody.js} +15 -12
- package/dist/components/core/Tabs/TabsContext.js +1 -0
- package/dist/components/core/Tabs/TabsList.js +20 -21
- package/dist/components/core/Tabs/TabsTrigger.js +81 -38
- package/dist/components/core/Tabs/index.d.ts +2 -2
- package/dist/components/core/Tag/Tag.animations.js +0 -13
- package/dist/components/core/Tag/Tag.d.ts +2 -2
- package/dist/components/core/Tag/Tag.js +48 -6
- package/dist/components/core/Tag/Tag.theme.js +21 -6
- package/dist/components/core/Tag/Tag.types.d.ts +31 -1
- package/dist/components/core/Toast/Toast.animations.d.ts +3 -2
- package/dist/components/core/Toast/Toast.animations.js +20 -17
- package/dist/components/core/Toast/Toast.d.ts +2 -2
- package/dist/components/core/Toast/Toast.js +67 -32
- package/dist/components/core/Toast/Toast.theme.js +8 -16
- package/dist/components/core/Toast/Toast.types.d.ts +41 -48
- package/dist/components/core/Toast/ToastProvider.js +7 -2
- package/dist/components/core/Toast/index.d.ts +1 -1
- package/dist/components/core/Toast/useToast.js +10 -11
- package/dist/components/core/Tooltip/Tooltip.animations.js +19 -53
- package/dist/components/core/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/core/Tooltip/Tooltip.js +89 -45
- package/dist/components/core/Tooltip/Tooltip.theme.js +4 -3
- package/dist/components/core/Tooltip/Tooltip.types.d.ts +38 -1
- package/dist/components/core/Tree/Tree.animations.d.ts +1 -2
- package/dist/components/core/Tree/Tree.animations.js +20 -58
- package/dist/components/core/Tree/Tree.js +184 -12
- package/dist/components/core/index.d.ts +4 -2
- package/dist/components/core/index.js +29 -6
- package/dist/components/core/shared/interaction.animations.d.ts +51 -0
- package/dist/components/core/shared/interaction.animations.js +59 -0
- package/dist/components/data-display/DescriptionList/DescriptionList.js +24 -7
- package/dist/components/data-display/DescriptionList/DescriptionList.theme.js +10 -3
- package/dist/components/data-display/DescriptionList/DescriptionList.types.d.ts +49 -10
- package/dist/components/data-display/DescriptionList/index.d.ts +1 -1
- package/dist/components/data-display/Feed/Feed.animations.d.ts +40 -0
- package/dist/components/data-display/Feed/Feed.animations.js +26 -0
- package/dist/components/data-display/Feed/Feed.d.ts +5 -1
- package/dist/components/data-display/Feed/Feed.js +114 -55
- package/dist/components/data-display/Feed/Feed.theme.js +11 -13
- package/dist/components/data-display/Feed/Feed.types.d.ts +66 -34
- package/dist/components/data-display/Feed/index.d.ts +1 -1
- package/dist/components/data-display/GanttChart/GanttChart.d.ts +3 -4
- package/dist/components/data-display/GanttChart/GanttChart.js +36 -25
- package/dist/components/data-display/GanttChart/GanttChart.theme.js +19 -17
- package/dist/components/data-display/GanttChart/GanttChart.types.d.ts +21 -2
- package/dist/components/data-display/GanttChart/GanttChart.utils.js +1 -1
- package/dist/components/data-display/GanttChart/GanttChartContext.d.ts +5 -0
- package/dist/components/data-display/GanttChart/GanttChartContext.js +26 -0
- package/dist/components/data-display/GanttChart/GanttChartPanel.d.ts +1 -1
- package/dist/components/data-display/GanttChart/GanttChartPanel.js +6 -5
- package/dist/components/data-display/GanttChart/GanttDependencyArrows.js +9 -5
- package/dist/components/data-display/GanttChart/GanttGroupBar.js +2 -1
- package/dist/components/data-display/GanttChart/GanttMilestone.js +8 -7
- package/dist/components/data-display/GanttChart/GanttSplitter.js +17 -2
- package/dist/components/data-display/GanttChart/GanttTableGroupRow.js +5 -4
- package/dist/components/data-display/GanttChart/GanttTableHeader.js +2 -1
- package/dist/components/data-display/GanttChart/GanttTablePanel.js +3 -2
- package/dist/components/data-display/GanttChart/GanttTableTaskRow.js +4 -3
- package/dist/components/data-display/GanttChart/GanttTaskBar.js +43 -19
- package/dist/components/data-display/GanttChart/GanttTaskContextMenu.js +4 -3
- package/dist/components/data-display/GanttChart/GanttTimelineGrid.js +4 -2
- package/dist/components/data-display/GanttChart/GanttTimelineHeader.js +37 -12
- package/dist/components/data-display/GanttChart/GanttToolbar.js +6 -4
- package/dist/components/data-display/GanttChart/hooks/useGanttDates.js +1 -0
- package/dist/components/data-display/GanttChart/hooks/useGanttDrag.js +4 -2
- package/dist/components/data-display/GanttChart/hooks/useGanttLayout.js +1 -0
- package/dist/components/data-display/GanttChart/hooks/useGanttScrollSync.js +1 -0
- package/dist/components/data-display/GanttChart/index.d.ts +1 -1
- package/dist/components/data-display/KPI/KPI.js +15 -4
- package/dist/components/data-display/KPI/KPI.theme.js +10 -11
- package/dist/components/data-display/KPI/KPI.types.d.ts +5 -4
- package/dist/components/data-display/Metric/Metric.js +9 -9
- package/dist/components/data-display/Metric/Metric.theme.d.ts +3 -2
- package/dist/components/data-display/Metric/Metric.theme.js +55 -64
- package/dist/components/data-display/Metric/Metric.types.d.ts +22 -25
- package/dist/components/data-display/Table/Table.animations.js +17 -10
- package/dist/components/data-display/Table/Table.d.ts +2 -7
- package/dist/components/data-display/Table/Table.filterUtils.js +8 -1
- package/dist/components/data-display/Table/Table.js +28 -31
- package/dist/components/data-display/Table/Table.theme.js +47 -19
- package/dist/components/data-display/Table/Table.types.d.ts +37 -8
- package/dist/components/data-display/Table/TableActions.js +7 -6
- package/dist/components/data-display/Table/TableActionsMenu.js +3 -3
- package/dist/components/data-display/Table/TableBody.js +3 -2
- package/dist/components/data-display/Table/TableCell.d.ts +1 -1
- package/dist/components/data-display/Table/TableCell.js +13 -5
- package/dist/components/data-display/Table/TableColumnManager.js +5 -2
- package/dist/components/data-display/Table/TableContext.d.ts +11 -0
- package/dist/components/data-display/Table/TableContext.js +21 -0
- package/dist/components/data-display/Table/TableDeclarative.js +8 -9
- package/dist/components/data-display/Table/TableFilter.js +34 -26
- package/dist/components/data-display/Table/TableHeader.js +6 -2
- package/dist/components/data-display/Table/TablePagination.js +4 -7
- package/dist/components/data-display/Table/TableRow.d.ts +1 -1
- package/dist/components/data-display/Table/TableRow.js +14 -10
- package/dist/components/data-display/Table/TableSelectionHeader.js +7 -5
- package/dist/components/data-display/Table/hooks/useTableColumns.js +1 -0
- package/dist/components/data-display/Table/hooks/useTableExpansion.js +1 -0
- package/dist/components/data-display/Table/hooks/useTableFilter.js +1 -0
- package/dist/components/data-display/Table/hooks/useTablePagination.js +1 -0
- package/dist/components/data-display/Table/hooks/useTableSelection.js +1 -0
- package/dist/components/data-display/Table/index.d.ts +2 -2
- package/dist/components/data-display/Table/index.js +2 -2
- package/dist/components/data-display/Timeline/Timeline.animations.d.ts +0 -7
- package/dist/components/data-display/Timeline/Timeline.animations.js +2 -27
- package/dist/components/data-display/Timeline/Timeline.d.ts +2 -2
- package/dist/components/data-display/Timeline/Timeline.js +33 -17
- package/dist/components/data-display/Timeline/Timeline.theme.d.ts +2 -16
- package/dist/components/data-display/Timeline/Timeline.theme.js +14 -8
- package/dist/components/data-display/Timeline/Timeline.types.d.ts +70 -27
- package/dist/components/data-display/Timeline/Timeline.utils.d.ts +6 -0
- package/dist/components/data-display/Timeline/Timeline.utils.js +11 -0
- package/dist/components/data-display/Timeline/TimelineContent.js +5 -8
- package/dist/components/data-display/Timeline/TimelineContext.d.ts +3 -0
- package/dist/components/data-display/Timeline/TimelineContext.js +16 -0
- package/dist/components/data-display/Timeline/TimelineItem.js +21 -40
- package/dist/components/data-display/Timeline/TimelineMarker.js +14 -11
- package/dist/components/data-display/Timeline/index.d.ts +2 -2
- package/dist/components/effects/3d/index.d.ts +4 -0
- package/dist/components/effects/3d/index.js +2 -0
- package/dist/components/effects/AIOrb/AIOrb.d.ts +1 -0
- package/dist/components/effects/AIOrb/AIOrb.js +3 -2
- package/dist/components/effects/AIOrb/AIOrb.types.d.ts +1 -0
- package/dist/components/effects/AIOrb/hooks/index.d.ts +2 -0
- package/dist/components/effects/AIOrb/hooks/useOrbState.d.ts +20 -0
- package/dist/components/effects/AIOrb/hooks/useOrbState.js +28 -0
- package/dist/components/effects/AIOrb/index.d.ts +2 -2
- package/dist/components/effects/AIOrb/variants/Aura/Aura.d.ts +3 -0
- package/dist/components/effects/AIOrb/variants/Aura/Aura.js +84 -0
- package/dist/components/effects/AIOrb/variants/Aura/Aura.shaders.d.ts +28 -0
- package/dist/components/effects/AIOrb/variants/Aura/Aura.shaders.js +191 -0
- package/dist/components/effects/AIOrb/variants/Aura/Aura.types.d.ts +53 -0
- package/dist/components/effects/AIOrb/variants/Aura/index.d.ts +2 -0
- package/dist/components/effects/AIOrb/variants/DotSphere/DotSphere.d.ts +7 -0
- package/dist/components/effects/AIOrb/variants/DotSphere/DotSphere.impl.d.ts +3 -0
- package/dist/components/effects/AIOrb/variants/DotSphere/DotSphere.impl.js +176 -0
- package/dist/components/effects/AIOrb/variants/DotSphere/DotSphere.js +29 -130
- package/dist/components/effects/AIOrb/variants/DotSphere/DotSphere.types.d.ts +6 -0
- package/dist/components/effects/AIOrb/variants/Liquid/Liquid.d.ts +8 -0
- package/dist/components/effects/AIOrb/variants/Liquid/Liquid.impl.d.ts +3 -0
- package/dist/components/effects/AIOrb/variants/Liquid/Liquid.impl.js +140 -0
- package/dist/components/effects/AIOrb/variants/Liquid/Liquid.js +29 -101
- package/dist/components/effects/AIOrb/variants/Liquid/Liquid.types.d.ts +6 -0
- package/dist/components/effects/AIOrb/variants/index.d.ts +2 -0
- package/dist/components/effects/Animated/Animated.animations.js +29 -10
- package/dist/components/effects/Animated/Animated.d.ts +4 -4
- package/dist/components/effects/Animated/Animated.js +9 -9
- package/dist/components/effects/Animated/AnimatedContext.d.ts +3 -0
- package/dist/components/effects/Animated/AnimatedContext.js +12 -0
- package/dist/components/effects/Animated/AnimatedItem.d.ts +1 -1
- package/dist/components/effects/Animated/AnimatedItem.js +7 -5
- package/dist/components/effects/Aurora/Aurora.d.ts +6 -17
- package/dist/components/effects/Aurora/Aurora.js +332 -105
- package/dist/components/effects/Aurora/Aurora.types.d.ts +6 -0
- package/dist/components/effects/ColorPanels/ColorPanels.d.ts +8 -0
- package/dist/components/effects/ColorPanels/ColorPanels.js +66 -0
- package/dist/components/effects/ColorPanels/ColorPanels.shaders.d.ts +12 -0
- package/dist/components/effects/ColorPanels/ColorPanels.shaders.js +218 -0
- package/dist/components/effects/ColorPanels/ColorPanels.types.d.ts +29 -0
- package/dist/components/effects/ColorPanels/ColorPanels.types.js +3 -0
- package/dist/components/effects/ColorPanels/index.d.ts +2 -0
- package/dist/components/effects/CustomCursor/CustomCursor.d.ts +4 -4
- package/dist/components/effects/CustomCursor/CustomCursor.js +55 -55
- package/dist/components/effects/CustomCursor/CustomCursor.theme.js +2 -2
- package/dist/components/effects/CustomCursor/CustomCursor.types.d.ts +5 -4
- package/dist/components/effects/Dithering/Dithering.d.ts +10 -0
- package/dist/components/effects/Dithering/Dithering.js +62 -0
- package/dist/components/effects/Dithering/Dithering.shaders.d.ts +11 -0
- package/dist/components/effects/Dithering/Dithering.shaders.js +166 -0
- package/dist/components/effects/Dithering/Dithering.types.d.ts +31 -0
- package/dist/components/effects/Dithering/Dithering.types.js +17 -0
- package/dist/components/effects/Dithering/index.d.ts +3 -0
- package/dist/components/effects/DotPattern/DotPattern.js +8 -1
- package/dist/components/effects/DotPattern/DotPattern.types.d.ts +4 -2
- package/dist/components/effects/FlutedGlass/FlutedGlass.d.ts +9 -0
- package/dist/components/effects/FlutedGlass/FlutedGlass.js +80 -0
- package/dist/components/effects/FlutedGlass/FlutedGlass.shaders.d.ts +12 -0
- package/dist/components/effects/FlutedGlass/FlutedGlass.shaders.js +335 -0
- package/dist/components/effects/FlutedGlass/FlutedGlass.types.d.ts +61 -0
- package/dist/components/effects/FlutedGlass/FlutedGlass.types.js +16 -0
- package/dist/components/effects/FlutedGlass/index.d.ts +3 -0
- package/dist/components/effects/GemSmoke/GemSmoke.d.ts +8 -0
- package/dist/components/effects/GemSmoke/GemSmoke.js +70 -0
- package/dist/components/effects/GemSmoke/GemSmoke.shaders.d.ts +18 -0
- package/dist/components/effects/GemSmoke/GemSmoke.shaders.js +181 -0
- package/dist/components/effects/GemSmoke/GemSmoke.types.d.ts +37 -0
- package/dist/components/effects/GemSmoke/GemSmoke.types.js +10 -0
- package/dist/components/effects/GemSmoke/index.d.ts +3 -0
- package/dist/components/effects/GlassEffect/GlassEffect.js +1 -1
- package/dist/components/effects/GlassSurface/GlassSurface.d.ts +1 -1
- package/dist/components/effects/GlassSurface/GlassSurface.js +40 -34
- package/dist/components/effects/GlassSurface/GlassSurface.types.d.ts +14 -0
- package/dist/components/effects/GodRays/GodRays.d.ts +8 -0
- package/dist/components/effects/GodRays/GodRays.js +68 -0
- package/dist/components/effects/GodRays/GodRays.shaders.d.ts +10 -0
- package/dist/components/effects/GodRays/GodRays.shaders.js +128 -0
- package/dist/components/effects/GodRays/GodRays.types.d.ts +25 -0
- package/dist/components/effects/GodRays/GodRays.types.js +3 -0
- package/dist/components/effects/GodRays/index.d.ts +2 -0
- package/dist/components/effects/GradientMesh/GradientMesh.d.ts +9 -0
- package/dist/components/effects/GradientMesh/GradientMesh.js +56 -0
- package/dist/components/effects/GradientMesh/GradientMesh.shaders.d.ts +15 -0
- package/dist/components/effects/GradientMesh/GradientMesh.shaders.js +127 -0
- package/dist/components/effects/GradientMesh/GradientMesh.types.d.ts +17 -0
- package/dist/components/effects/GradientMesh/GradientMesh.types.js +3 -0
- package/dist/components/effects/GradientMesh/index.d.ts +2 -0
- package/dist/components/effects/GrainGradient/GrainGradient.d.ts +9 -0
- package/dist/components/effects/GrainGradient/GrainGradient.js +62 -0
- package/dist/components/effects/GrainGradient/GrainGradient.shaders.d.ts +17 -0
- package/dist/components/effects/GrainGradient/GrainGradient.shaders.js +168 -0
- package/dist/components/effects/GrainGradient/GrainGradient.types.d.ts +26 -0
- package/dist/components/effects/GrainGradient/GrainGradient.types.js +9 -0
- package/dist/components/effects/GrainGradient/index.d.ts +3 -0
- package/dist/components/effects/GridPattern/GridPattern.js +1 -0
- package/dist/components/effects/HalftoneCmyk/HalftoneCmyk.d.ts +10 -0
- package/dist/components/effects/HalftoneCmyk/HalftoneCmyk.js +78 -0
- package/dist/components/effects/HalftoneCmyk/HalftoneCmyk.shaders.d.ts +22 -0
- package/dist/components/effects/HalftoneCmyk/HalftoneCmyk.shaders.js +239 -0
- package/dist/components/effects/HalftoneCmyk/HalftoneCmyk.types.d.ts +52 -0
- package/dist/components/effects/HalftoneCmyk/index.d.ts +2 -0
- package/dist/components/effects/HalftoneDots/HalftoneDots.d.ts +9 -0
- package/dist/components/effects/HalftoneDots/HalftoneDots.js +68 -0
- package/dist/components/effects/HalftoneDots/HalftoneDots.shaders.d.ts +13 -0
- package/dist/components/effects/HalftoneDots/HalftoneDots.shaders.js +296 -0
- package/dist/components/effects/HalftoneDots/HalftoneDots.types.d.ts +43 -0
- package/dist/components/effects/HalftoneDots/HalftoneDots.types.js +12 -0
- package/dist/components/effects/HalftoneDots/index.d.ts +3 -0
- package/dist/components/effects/ImageDithering/ImageDithering.d.ts +9 -0
- package/dist/components/effects/ImageDithering/ImageDithering.js +68 -0
- package/dist/components/effects/ImageDithering/ImageDithering.shaders.d.ts +12 -0
- package/dist/components/effects/ImageDithering/ImageDithering.shaders.js +117 -0
- package/dist/components/effects/ImageDithering/ImageDithering.types.d.ts +30 -0
- package/dist/components/effects/ImageDithering/ImageDithering.types.js +8 -0
- package/dist/components/effects/ImageDithering/index.d.ts +3 -0
- package/dist/components/effects/InteractiveCharacters/InteractiveCharacters.animations.d.ts +39 -0
- package/dist/components/effects/InteractiveCharacters/InteractiveCharacters.animations.js +98 -0
- package/dist/components/effects/InteractiveCharacters/InteractiveCharacters.d.ts +3 -0
- package/dist/components/effects/InteractiveCharacters/InteractiveCharacters.js +105 -0
- package/dist/components/effects/InteractiveCharacters/InteractiveCharacters.types.d.ts +30 -0
- package/dist/components/effects/InteractiveCharacters/characters/BlobCharacter.d.ts +3 -0
- package/dist/components/effects/InteractiveCharacters/characters/BlobCharacter.js +46 -0
- package/dist/components/effects/InteractiveCharacters/characters/SmallCharacter.d.ts +3 -0
- package/dist/components/effects/InteractiveCharacters/characters/SmallCharacter.js +46 -0
- package/dist/components/effects/InteractiveCharacters/characters/TallCharacter.d.ts +3 -0
- package/dist/components/effects/InteractiveCharacters/characters/TallCharacter.js +48 -0
- package/dist/components/effects/InteractiveCharacters/hooks/useBlink.d.ts +14 -0
- package/dist/components/effects/InteractiveCharacters/hooks/useBlink.js +42 -0
- package/dist/components/effects/InteractiveCharacters/hooks/useIdleAnimation.d.ts +25 -0
- package/dist/components/effects/InteractiveCharacters/hooks/useIdleAnimation.js +85 -0
- package/dist/components/effects/InteractiveCharacters/hooks/useMouseTracking.d.ts +18 -0
- package/dist/components/effects/InteractiveCharacters/hooks/useMouseTracking.js +36 -0
- package/dist/components/effects/InteractiveCharacters/index.d.ts +2 -0
- package/dist/components/effects/LiquidMetal/LiquidMetal.d.ts +9 -0
- package/dist/components/effects/LiquidMetal/LiquidMetal.js +61 -0
- package/dist/components/effects/LiquidMetal/LiquidMetal.shaders.d.ts +19 -0
- package/dist/components/effects/LiquidMetal/LiquidMetal.shaders.js +202 -0
- package/dist/components/effects/LiquidMetal/LiquidMetal.types.d.ts +34 -0
- package/dist/components/effects/LiquidMetal/LiquidMetal.types.js +9 -0
- package/dist/components/effects/LiquidMetal/index.d.ts +3 -0
- package/dist/components/effects/MagneticElement/MagneticElement.js +1 -0
- package/dist/components/effects/MeshGradient/MeshGradient.d.ts +25 -0
- package/dist/components/effects/MeshGradient/MeshGradient.js +47 -0
- package/dist/components/effects/MeshGradient/MeshGradient.types.d.ts +40 -0
- package/dist/components/effects/MeshGradient/MeshGradient.utils.d.ts +83 -0
- package/dist/components/effects/MeshGradient/MeshGradient.utils.js +112 -0
- package/dist/components/effects/MeshGradient/index.d.ts +4 -0
- package/dist/components/effects/Metaballs/Metaballs.d.ts +8 -0
- package/dist/components/effects/Metaballs/Metaballs.js +59 -0
- package/dist/components/effects/Metaballs/Metaballs.shaders.d.ts +10 -0
- package/dist/components/effects/Metaballs/Metaballs.shaders.js +102 -0
- package/dist/components/effects/Metaballs/Metaballs.types.d.ts +16 -0
- package/dist/components/effects/Metaballs/Metaballs.types.js +3 -0
- package/dist/components/effects/Metaballs/index.d.ts +2 -0
- package/dist/components/effects/Neumorphic/InsetCircleButton.d.ts +10 -0
- package/dist/components/effects/Neumorphic/InsetCircleButton.js +11 -0
- package/dist/components/effects/Neumorphic/InsetPill.d.ts +8 -0
- package/dist/components/effects/Neumorphic/InsetPill.js +8 -0
- package/dist/components/effects/Neumorphic/index.d.ts +4 -0
- package/dist/components/effects/NoiseOverlay/NoiseOverlay.d.ts +1 -1
- package/dist/components/effects/NoiseOverlay/NoiseOverlay.js +5 -4
- package/dist/components/effects/Overlay/Overlay.js +52 -25
- package/dist/components/effects/Overlay/Overlay.theme.js +1 -2
- package/dist/components/effects/PaperTexture/PaperTexture.d.ts +9 -0
- package/dist/components/effects/PaperTexture/PaperTexture.js +61 -0
- package/dist/components/effects/PaperTexture/PaperTexture.shaders.d.ts +22 -0
- package/dist/components/effects/PaperTexture/PaperTexture.shaders.js +145 -0
- package/dist/components/effects/PaperTexture/PaperTexture.types.d.ts +19 -0
- package/dist/components/effects/PaperTexture/index.d.ts +2 -0
- package/dist/components/effects/Particles/Particles.js +1 -0
- package/dist/components/effects/Particles/Particles.scene.js +1 -0
- package/dist/components/effects/Preloader/Preloader.animations.d.ts +23 -0
- package/dist/components/effects/Preloader/Preloader.animations.js +150 -0
- package/dist/components/effects/Preloader/Preloader.d.ts +3 -0
- package/dist/components/effects/Preloader/Preloader.js +120 -0
- package/dist/components/effects/Preloader/Preloader.types.d.ts +63 -0
- package/dist/components/effects/Preloader/index.d.ts +2 -0
- package/dist/components/effects/ProgressiveBlur/ProgressiveBlur.js +26 -14
- package/dist/components/effects/ProgressiveBlur/ProgressiveBlur.types.d.ts +2 -0
- package/dist/components/effects/PulsingBorder/PulsingBorder.d.ts +27 -0
- package/dist/components/effects/PulsingBorder/PulsingBorder.js +174 -0
- package/dist/components/effects/PulsingBorder/PulsingBorder.shaders.d.ts +14 -0
- package/dist/components/effects/PulsingBorder/PulsingBorder.shaders.js +258 -0
- package/dist/components/effects/PulsingBorder/PulsingBorder.types.d.ts +75 -0
- package/dist/components/effects/PulsingBorder/PulsingBorder.types.js +3 -0
- package/dist/components/effects/PulsingBorder/index.d.ts +2 -0
- package/dist/components/effects/ScrollReveal/ScrollReveal.js +1 -0
- package/dist/components/effects/Shimmer/Shimmer.d.ts +21 -0
- package/dist/components/effects/Shimmer/Shimmer.js +44 -0
- package/dist/components/effects/Shimmer/Shimmer.types.d.ts +49 -0
- package/dist/components/effects/Shimmer/index.d.ts +2 -0
- package/dist/components/effects/SmokeRing/SmokeRing.d.ts +8 -0
- package/dist/components/effects/SmokeRing/SmokeRing.js +62 -0
- package/dist/components/effects/SmokeRing/SmokeRing.shaders.d.ts +14 -0
- package/dist/components/effects/SmokeRing/SmokeRing.shaders.js +130 -0
- package/dist/components/effects/SmokeRing/SmokeRing.types.d.ts +22 -0
- package/dist/components/effects/SmokeRing/SmokeRing.types.js +3 -0
- package/dist/components/effects/SmokeRing/index.d.ts +2 -0
- package/dist/components/effects/StaticGradientMesh/StaticGradientMesh.d.ts +9 -0
- package/dist/components/effects/StaticGradientMesh/StaticGradientMesh.js +59 -0
- package/dist/components/effects/StaticGradientMesh/StaticGradientMesh.shaders.d.ts +14 -0
- package/dist/components/effects/StaticGradientMesh/StaticGradientMesh.shaders.js +129 -0
- package/dist/components/effects/StaticGradientMesh/StaticGradientMesh.types.d.ts +23 -0
- package/dist/components/effects/StaticGradientMesh/StaticGradientMesh.types.js +3 -0
- package/dist/components/effects/StaticGradientMesh/index.d.ts +2 -0
- package/dist/components/effects/StaticRadialGradient/StaticRadialGradient.d.ts +9 -0
- package/dist/components/effects/StaticRadialGradient/StaticRadialGradient.js +66 -0
- package/dist/components/effects/StaticRadialGradient/StaticRadialGradient.shaders.d.ts +13 -0
- package/dist/components/effects/StaticRadialGradient/StaticRadialGradient.shaders.js +169 -0
- package/dist/components/effects/StaticRadialGradient/StaticRadialGradient.types.d.ts +29 -0
- package/dist/components/effects/StaticRadialGradient/StaticRadialGradient.types.js +3 -0
- package/dist/components/effects/StaticRadialGradient/index.d.ts +2 -0
- package/dist/components/effects/StripePattern/StripePattern.d.ts +18 -0
- package/dist/components/effects/StripePattern/StripePattern.js +55 -0
- package/dist/components/effects/StripePattern/StripePattern.types.d.ts +53 -0
- package/dist/components/effects/StripePattern/index.d.ts +2 -0
- package/dist/components/effects/TiltCard/TiltCard.d.ts +12 -0
- package/dist/components/effects/TiltCard/TiltCard.glow.d.ts +28 -0
- package/dist/components/effects/TiltCard/TiltCard.glow.js +115 -0
- package/dist/components/effects/TiltCard/TiltCard.js +178 -0
- package/dist/components/effects/{SpotlightBorder/SpotlightBorder.shaders.d.ts → TiltCard/TiltCard.shaders.d.ts} +1 -1
- package/dist/components/effects/{SpotlightBorder/SpotlightBorder.shaders.js → TiltCard/TiltCard.shaders.js} +1 -1
- package/dist/components/effects/TiltCard/TiltCard.types.d.ts +88 -0
- package/dist/components/effects/TiltCard/index.d.ts +2 -0
- package/dist/components/effects/Water/Water.d.ts +9 -0
- package/dist/components/effects/Water/Water.js +65 -0
- package/dist/components/effects/Water/Water.shaders.d.ts +11 -0
- package/dist/components/effects/Water/Water.shaders.js +123 -0
- package/dist/components/effects/Water/Water.types.d.ts +25 -0
- package/dist/components/effects/Water/index.d.ts +2 -0
- package/dist/components/effects/index.d.ts +57 -16
- package/dist/components/effects/index.js +30 -8
- package/dist/components/effects/shared/ShaderCanvas/ShaderCanvas.d.ts +13 -0
- package/dist/components/effects/shared/ShaderCanvas/ShaderCanvas.js +255 -0
- package/dist/components/effects/shared/ShaderCanvas/ShaderCanvas.types.d.ts +18 -0
- package/dist/components/effects/shared/ShaderCanvas/index.d.ts +2 -0
- package/dist/components/effects/shared/bayerMatrices.glsl.d.ts +10 -0
- package/dist/components/effects/shared/bayerMatrices.glsl.js +44 -0
- package/dist/components/effects/shared/imageUV.glsl.d.ts +12 -0
- package/dist/components/effects/shared/imageUV.glsl.js +26 -0
- package/dist/components/effects/shared/index.d.ts +7 -0
- package/dist/components/effects/shared/resolveShaderColor.d.ts +13 -0
- package/dist/components/effects/shared/resolveShaderColor.js +62 -0
- package/dist/components/effects/shared/resolveShaderColor.test.d.ts +1 -0
- package/dist/components/effects/shared/shaderNoise.glsl.d.ts +34 -0
- package/dist/components/effects/shared/shaderNoise.glsl.js +84 -0
- package/dist/components/forms/Checkbox/Checkbox.animations.d.ts +14 -0
- package/dist/components/forms/Checkbox/Checkbox.animations.js +54 -0
- package/dist/components/forms/Checkbox/Checkbox.d.ts +3 -4
- package/dist/components/forms/Checkbox/Checkbox.js +55 -12
- package/dist/components/forms/Checkbox/Checkbox.theme.js +14 -8
- package/dist/components/forms/Checkbox/Checkbox.types.d.ts +36 -8
- package/dist/components/forms/Checkbox/CheckboxContext.d.ts +14 -0
- package/dist/components/forms/Checkbox/CheckboxContext.js +13 -0
- package/dist/components/forms/Checkbox/CheckboxGroup.d.ts +3 -0
- package/dist/components/forms/Checkbox/CheckboxGroup.js +48 -0
- package/dist/components/forms/Checkbox/index.d.ts +1 -1
- package/dist/components/forms/ColorPicker/ColorPicker.d.ts +6 -10
- package/dist/components/forms/ColorPicker/ColorPicker.js +150 -27
- package/dist/components/forms/ColorPicker/ColorPicker.theme.js +8 -5
- package/dist/components/forms/ColorPicker/ColorPicker.types.d.ts +112 -5
- package/dist/components/forms/ColorPicker/ColorPicker2DCanvas.js +44 -6
- package/dist/components/forms/ColorPicker/ColorPickerBody.d.ts +7 -0
- package/dist/components/forms/ColorPicker/{ColorPickerContent.js → ColorPickerBody.js} +17 -14
- package/dist/components/forms/ColorPicker/ColorPickerContext.d.ts +4 -0
- package/dist/components/forms/ColorPicker/ColorPickerContext.js +13 -0
- package/dist/components/forms/ColorPicker/ColorPickerEyeDropper.js +7 -6
- package/dist/components/forms/ColorPicker/ColorPickerFormatSelector.js +2 -1
- package/dist/components/forms/ColorPicker/ColorPickerGradient.d.ts +7 -0
- package/dist/components/forms/ColorPicker/ColorPickerGradient.js +187 -0
- package/dist/components/forms/ColorPicker/ColorPickerHeader.d.ts +14 -0
- package/dist/components/forms/ColorPicker/ColorPickerHeader.js +32 -0
- package/dist/components/forms/ColorPicker/ColorPickerImage.d.ts +6 -0
- package/dist/components/forms/ColorPicker/ColorPickerImage.js +155 -0
- package/dist/components/forms/ColorPicker/ColorPickerInput.d.ts +0 -4
- package/dist/components/forms/ColorPicker/ColorPickerInput.js +54 -61
- package/dist/components/forms/ColorPicker/ColorPickerPresets.js +14 -12
- package/dist/components/forms/ColorPicker/ColorPickerSavedColors.d.ts +3 -0
- package/dist/components/forms/ColorPicker/ColorPickerSavedColors.js +70 -0
- package/dist/components/forms/ColorPicker/ColorPickerSliders.d.ts +1 -2
- package/dist/components/forms/ColorPicker/ColorPickerSliders.js +85 -23
- package/dist/components/forms/ColorPicker/ColorPickerSwatch.d.ts +1 -1
- package/dist/components/forms/ColorPicker/ColorPickerSwatch.js +11 -9
- package/dist/components/forms/ColorPicker/ColorPickerTrigger.js +22 -3
- package/dist/components/forms/ColorPicker/index.d.ts +9 -3
- package/dist/components/forms/Combobox/Combobox.js +92 -71
- package/dist/components/forms/Combobox/Combobox.theme.js +4 -6
- package/dist/components/forms/Combobox/Combobox.types.d.ts +12 -2
- package/dist/components/forms/DatePicker/DatePicker.animations.js +17 -25
- package/dist/components/forms/DatePicker/DatePicker.d.ts +6 -26
- package/dist/components/forms/DatePicker/DatePicker.js +10 -8
- package/dist/components/forms/DatePicker/DatePicker.theme.js +13 -20
- package/dist/components/forms/DatePicker/DatePicker.types.d.ts +28 -6
- package/dist/components/forms/DatePicker/DatePickerBody.d.ts +7 -0
- package/dist/components/forms/DatePicker/{DatePickerContent.js → DatePickerBody.js} +32 -54
- package/dist/components/forms/DatePicker/DatePickerContext.d.ts +29 -0
- package/dist/components/forms/DatePicker/DatePickerContext.js +6 -0
- package/dist/components/forms/DatePicker/DatePickerPresets.js +2 -1
- package/dist/components/forms/DatePicker/DatePickerTrigger.js +6 -5
- package/dist/components/forms/DatePicker/index.d.ts +2 -2
- package/dist/components/forms/DateRangePicker/DateRangePicker.animations.d.ts +1 -0
- package/dist/components/forms/DateRangePicker/DateRangePicker.d.ts +17 -0
- package/dist/components/forms/DateRangePicker/DateRangePicker.js +121 -0
- package/dist/components/forms/DateRangePicker/DateRangePicker.theme.d.ts +5 -0
- package/dist/components/forms/DateRangePicker/DateRangePicker.theme.js +45 -0
- package/dist/components/forms/DateRangePicker/DateRangePicker.types.d.ts +177 -0
- package/dist/components/forms/DateRangePicker/DateRangePickerBody.d.ts +6 -0
- package/dist/components/forms/DateRangePicker/DateRangePickerBody.js +186 -0
- package/dist/components/forms/DateRangePicker/DateRangePickerContext.d.ts +24 -0
- package/dist/components/forms/DateRangePicker/DateRangePickerContext.js +5 -0
- package/dist/components/forms/DateRangePicker/DateRangePickerPresets.d.ts +6 -0
- package/dist/components/forms/DateRangePicker/DateRangePickerPresets.js +42 -0
- package/dist/components/forms/DateRangePicker/DateRangePickerTrigger.d.ts +6 -0
- package/dist/components/forms/DateRangePicker/DateRangePickerTrigger.js +33 -0
- package/dist/components/forms/DateRangePicker/dateRangePresets.d.ts +5 -0
- package/dist/components/forms/DateRangePicker/dateRangePresets.js +59 -0
- package/dist/components/forms/DateRangePicker/index.d.ts +4 -0
- package/dist/components/forms/FileUpload/FileUpload.animations.d.ts +29 -0
- package/dist/components/forms/FileUpload/FileUpload.animations.js +19 -0
- package/dist/components/forms/FileUpload/FileUpload.js +96 -133
- package/dist/components/forms/FileUpload/FileUpload.theme.d.ts +2 -10
- package/dist/components/forms/FileUpload/FileUpload.theme.js +20 -30
- package/dist/components/forms/FileUpload/FileUpload.types.d.ts +41 -10
- package/dist/components/forms/FileUpload/FileUploadProgress.animations.d.ts +36 -0
- package/dist/components/forms/FileUpload/FileUploadProgress.animations.js +22 -0
- package/dist/components/forms/FileUpload/FileUploadProgress.d.ts +3 -0
- package/dist/components/forms/FileUpload/FileUploadProgress.js +119 -0
- package/dist/components/forms/FileUpload/FileUploadProgress.theme.d.ts +19 -0
- package/dist/components/forms/FileUpload/FileUploadProgress.theme.js +27 -0
- package/dist/components/forms/FileUpload/FileUploadProgress.types.d.ts +33 -0
- package/dist/components/forms/FileUpload/index.d.ts +3 -0
- package/dist/components/forms/FormLabel/FormLabel.js +2 -2
- package/dist/components/forms/FormLabel/FormLabel.theme.js +1 -1
- package/dist/components/forms/Input/Input.js +17 -17
- package/dist/components/forms/Input/Input.theme.js +42 -31
- package/dist/components/forms/Input/Input.types.d.ts +20 -4
- package/dist/components/forms/Input/index.d.ts +1 -0
- package/dist/components/forms/Input/inputMasks.d.ts +24 -0
- package/dist/components/forms/Input/inputMasks.js +61 -5
- package/dist/components/forms/InputAddress/InputAddress.d.ts +6 -1
- package/dist/components/forms/InputAddress/InputAddress.js +108 -20
- package/dist/components/forms/InputAddress/InputAddress.theme.js +5 -5
- package/dist/components/forms/InputAddress/InputAddress.types.d.ts +8 -2
- package/dist/components/forms/InputAddress/index.d.ts +1 -1
- package/dist/components/forms/InputCounter/InputCounter.d.ts +1 -1
- package/dist/components/forms/InputCounter/InputCounter.js +81 -55
- package/dist/components/forms/InputCounter/InputCounter.theme.js +1 -1
- package/dist/components/forms/InputCounter/InputCounter.types.d.ts +17 -3
- package/dist/components/forms/InputCreditCard/InputCreditCard.d.ts +1 -1
- package/dist/components/forms/InputCreditCard/InputCreditCard.js +33 -9
- package/dist/components/forms/InputCreditCard/InputCreditCard.theme.js +5 -5
- package/dist/components/forms/InputCreditCard/InputCreditCard.types.d.ts +9 -0
- package/dist/components/forms/InputCreditCard/index.d.ts +1 -0
- package/dist/components/forms/InputDate/InputDate.js +1 -0
- package/dist/components/forms/InputOTP/InputOTP.d.ts +3 -12
- package/dist/components/forms/InputOTP/InputOTP.js +160 -150
- package/dist/components/forms/InputOTP/InputOTP.theme.d.ts +5 -1
- package/dist/components/forms/InputOTP/InputOTP.theme.js +40 -5
- package/dist/components/forms/InputOTP/InputOTP.types.d.ts +72 -6
- package/dist/components/forms/InputOTP/index.d.ts +1 -1
- package/dist/components/forms/InputTag/InputTag.js +71 -54
- package/dist/components/forms/InputTag/InputTag.theme.js +1 -1
- package/dist/components/forms/InputTag/InputTag.types.d.ts +10 -2
- package/dist/components/forms/Mention/Mention.d.ts +1 -1
- package/dist/components/forms/Mention/Mention.js +505 -199
- package/dist/components/forms/Mention/Mention.theme.js +19 -28
- package/dist/components/forms/Mention/Mention.types.d.ts +75 -18
- package/dist/components/forms/Mention/Mention.utils.d.ts +42 -0
- package/dist/components/forms/Mention/Mention.utils.js +314 -0
- package/dist/components/forms/Mention/index.d.ts +1 -1
- package/dist/components/forms/Radio/Radio.animations.d.ts +10 -0
- package/dist/components/forms/Radio/Radio.animations.js +38 -0
- package/dist/components/forms/Radio/Radio.d.ts +3 -4
- package/dist/components/forms/Radio/Radio.js +46 -5
- package/dist/components/forms/Radio/Radio.theme.js +25 -13
- package/dist/components/forms/Radio/Radio.types.d.ts +39 -10
- package/dist/components/forms/Radio/RadioContext.d.ts +14 -0
- package/dist/components/forms/Radio/RadioContext.js +13 -0
- package/dist/components/forms/Radio/RadioGroup.d.ts +3 -0
- package/dist/components/forms/Radio/RadioGroup.js +44 -0
- package/dist/components/forms/Radio/index.d.ts +1 -1
- package/dist/components/forms/RichTextEditor/RichTextEditor.animations.js +1 -0
- package/dist/components/forms/RichTextEditor/RichTextEditor.d.ts +18 -0
- package/dist/components/forms/RichTextEditor/RichTextEditor.js +1268 -255
- package/dist/components/forms/RichTextEditor/RichTextEditor.theme.d.ts +53 -1
- package/dist/components/forms/RichTextEditor/RichTextEditor.theme.js +100 -25
- package/dist/components/forms/RichTextEditor/RichTextEditor.types.d.ts +69 -5
- package/dist/components/forms/RichTextEditor/index.d.ts +2 -2
- package/dist/components/forms/Select/Select.animations.js +17 -25
- package/dist/components/forms/Select/Select.d.ts +11 -3
- package/dist/components/forms/Select/Select.js +84 -79
- package/dist/components/forms/Select/Select.theme.js +7 -7
- package/dist/components/forms/Select/Select.types.d.ts +53 -9
- package/dist/components/forms/Select/useSelectState.js +7 -0
- package/dist/components/forms/SelectableCard/SelectableCard.animations.d.ts +1 -2
- package/dist/components/forms/SelectableCard/SelectableCard.animations.js +6 -7
- package/dist/components/forms/SelectableCard/SelectableCard.d.ts +1 -1
- package/dist/components/forms/SelectableCard/SelectableCard.js +43 -27
- package/dist/components/forms/SelectableCard/SelectableCard.theme.js +15 -25
- package/dist/components/forms/SelectableCard/SelectableCard.types.d.ts +16 -4
- package/dist/components/forms/SelectableCard/SelectableCardContext.d.ts +1 -0
- package/dist/components/forms/SelectableCard/SelectableCardContext.js +5 -7
- package/dist/components/forms/SelectableCard/SelectableCardGroup.js +32 -10
- package/dist/components/forms/SelectableCard/index.d.ts +1 -1
- package/dist/components/forms/Signature/Signature.js +13 -3
- package/dist/components/forms/Signature/Signature.types.d.ts +9 -3
- package/dist/components/forms/Slider/Slider.js +42 -7
- package/dist/components/forms/Slider/Slider.theme.js +11 -5
- package/dist/components/forms/Slider/Slider.types.d.ts +2 -2
- package/dist/components/forms/Switch/Switch.js +41 -21
- package/dist/components/forms/Switch/Switch.theme.d.ts +36 -6
- package/dist/components/forms/Switch/Switch.theme.js +45 -4
- package/dist/components/forms/Switch/Switch.types.d.ts +36 -8
- package/dist/components/forms/Textarea/Textarea.js +12 -3
- package/dist/components/forms/Textarea/Textarea.types.d.ts +12 -4
- package/dist/components/forms/TimePicker/TimePicker.d.ts +2 -12
- package/dist/components/forms/TimePicker/TimePicker.js +8 -5
- package/dist/components/forms/TimePicker/TimePicker.theme.js +11 -14
- package/dist/components/forms/TimePicker/TimePicker.types.d.ts +21 -2
- package/dist/components/forms/TimePicker/TimePickerContent.js +13 -112
- package/dist/components/forms/TimePicker/TimePickerContext.d.ts +15 -0
- package/dist/components/forms/TimePicker/TimePickerContext.js +6 -0
- package/dist/components/forms/TimePicker/TimePickerTrigger.js +22 -8
- package/dist/components/forms/TimePicker/WheelColumn.js +1 -0
- package/dist/components/forms/TimePicker/useWheelPicker.js +1 -0
- package/dist/components/forms/forms.theme.d.ts +1 -0
- package/dist/components/forms/forms.theme.js +98 -45
- package/dist/components/forms/index.d.ts +11 -11
- package/dist/components/forms/index.js +22 -88
- package/dist/components/generative/GenerativeView.d.ts +21 -0
- package/dist/components/generative/GenerativeView.js +117 -0
- package/dist/components/generative/actions.d.ts +26 -0
- package/dist/components/generative/actions.js +51 -0
- package/dist/components/generative/actions.test.d.ts +1 -0
- package/dist/components/generative/index.d.ts +11 -0
- package/dist/components/generative/index.js +9 -0
- package/dist/components/generative/registry.d.ts +43 -0
- package/dist/components/generative/registry.js +325 -0
- package/dist/components/generative/resolvers.d.ts +35 -0
- package/dist/components/generative/resolvers.js +93 -0
- package/dist/components/generative/schema.generated.d.ts +2 -0
- package/dist/components/generative/schema.generated.js +4362 -0
- package/dist/components/generative/schemaTypes.d.ts +30 -0
- package/dist/components/generative/streaming.d.ts +39 -0
- package/dist/components/generative/streaming.js +283 -0
- package/dist/components/generative/streaming.test.d.ts +1 -0
- package/dist/components/generative/tools.d.ts +21 -0
- package/dist/components/generative/tools.js +54 -0
- package/dist/components/generative/tools.test.d.ts +1 -0
- package/dist/components/generative/types.d.ts +41 -0
- package/dist/components/generative/useGenerativeStream.d.ts +37 -0
- package/dist/components/generative/useGenerativeStream.js +37 -0
- package/dist/components/generative/validate.d.ts +24 -0
- package/dist/components/generative/validate.js +351 -0
- package/dist/components/generative/validate.test.d.ts +1 -0
- package/dist/components/layout/AppShell/AppShell.d.ts +10 -0
- package/dist/components/layout/AppShell/AppShell.js +85 -0
- package/dist/components/layout/AppShell/AppShell.theme.d.ts +3 -0
- package/dist/components/layout/AppShell/AppShell.theme.js +42 -0
- package/dist/components/layout/AppShell/AppShell.types.d.ts +127 -0
- package/dist/components/layout/AppShell/AppShellContext.d.ts +14 -0
- package/dist/components/layout/AppShell/AppShellContext.js +20 -0
- package/dist/components/layout/AppShell/AppShellFooter.d.ts +3 -0
- package/dist/components/layout/AppShell/AppShellFooter.js +12 -0
- package/dist/components/layout/AppShell/AppShellHeader.d.ts +3 -0
- package/dist/components/layout/AppShell/AppShellHeader.js +12 -0
- package/dist/components/layout/AppShell/AppShellMain.d.ts +3 -0
- package/dist/components/layout/AppShell/AppShellMain.js +20 -0
- package/dist/components/layout/AppShell/AppShellRightPanel.d.ts +3 -0
- package/dist/components/layout/AppShell/AppShellRightPanel.js +17 -0
- package/dist/components/layout/AppShell/AppShellSidebar.d.ts +3 -0
- package/dist/components/layout/AppShell/AppShellSidebar.js +17 -0
- package/dist/components/layout/AppShell/AppShellTopbar.d.ts +3 -0
- package/dist/components/layout/AppShell/AppShellTopbar.js +12 -0
- package/dist/components/layout/AppShell/index.d.ts +3 -0
- package/dist/components/layout/FormLayout/FormLayout.d.ts +0 -2
- package/dist/components/layout/FormLayout/FormLayout.js +14 -6
- package/dist/components/layout/FormLayout/FormLayout.theme.js +2 -5
- package/dist/components/layout/FormLayout/FormLayout.types.d.ts +9 -27
- package/dist/components/layout/FormLayout/FormLayoutSection.js +9 -2
- package/dist/components/layout/FormLayout/index.d.ts +1 -1
- package/dist/components/layout/Grid/Grid.d.ts +3 -0
- package/dist/components/layout/Grid/Grid.js +58 -0
- package/dist/components/layout/Grid/Grid.theme.d.ts +2 -0
- package/dist/components/layout/Grid/Grid.theme.js +35 -0
- package/dist/components/layout/Grid/Grid.types.d.ts +71 -0
- package/dist/components/layout/Grid/index.d.ts +3 -0
- package/dist/components/layout/Section/Section.d.ts +3 -0
- package/dist/components/layout/Section/Section.js +19 -0
- package/dist/components/layout/Section/Section.theme.d.ts +2 -0
- package/dist/components/layout/Section/Section.theme.js +10 -0
- package/dist/components/layout/Section/Section.types.d.ts +34 -0
- package/dist/components/layout/Section/index.d.ts +3 -0
- package/dist/components/layout/Stack/Stack.d.ts +3 -0
- package/dist/components/layout/Stack/Stack.js +27 -0
- package/dist/components/layout/Stack/Stack.theme.d.ts +2 -0
- package/dist/components/layout/Stack/Stack.theme.js +10 -0
- package/dist/components/layout/Stack/Stack.types.d.ts +46 -0
- package/dist/components/layout/Stack/index.d.ts +3 -0
- package/dist/components/layout/index.d.ts +4 -1
- package/dist/components/layout/index.js +10 -0
- package/dist/generative.schema.json +4360 -0
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/useClickOutside.d.ts +10 -4
- package/dist/hooks/useClickOutside.js +45 -24
- package/dist/hooks/useDarkMode.d.ts +1 -0
- package/dist/hooks/useDarkMode.js +43 -0
- package/dist/hooks/useElapsedTime.d.ts +28 -0
- package/dist/hooks/useElapsedTime.js +37 -0
- package/dist/hooks/useFocusTrap.js +1 -0
- package/dist/hooks/useFormStateMachine.d.ts +1 -1
- package/dist/hooks/useIsClient.js +1 -0
- package/dist/hooks/useMediaQuery.d.ts +5 -0
- package/dist/hooks/useMediaQuery.js +22 -0
- package/dist/hooks/useNetworkStatus.d.ts +0 -4
- package/dist/hooks/useNetworkStatus.js +2 -5
- package/dist/hooks/useOverlay.d.ts +2 -0
- package/dist/hooks/useOverlay.js +39 -4
- package/dist/hooks/useScaleBackground.js +6 -2
- package/dist/hooks/useSelectPortal.d.ts +20 -2
- package/dist/hooks/useSelectPortal.js +180 -58
- package/dist/hooks/useSlidingNumber.js +1 -0
- package/dist/hooks/useStreamingSSE.d.ts +0 -5
- package/dist/hooks/useStreamingSSE.js +1 -5
- package/dist/hooks/useTypewriter.js +1 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.js +60 -72
- package/dist/registry.json +12043 -0
- package/dist/shadcn-compat.css +80 -0
- package/dist/styles.css +1 -1
- package/dist/test/render.d.ts +11 -0
- package/dist/test/setup.d.ts +1 -0
- package/dist/theme/SurfaceContext.d.ts +98 -0
- package/dist/theme/SurfaceContext.js +114 -0
- package/dist/theme/ThemeContext.js +19 -0
- package/dist/theme/animations.d.ts +75 -0
- package/dist/theme/animations.js +132 -0
- package/dist/theme/index.d.ts +5 -0
- package/dist/theme.css +28 -0
- package/dist/themes/ember.css +131 -0
- package/dist/themes/iris.css +94 -0
- package/dist/themes/jade.css +139 -0
- package/dist/tools.json +4498 -0
- package/dist/utils/actionQueue.d.ts +0 -4
- package/dist/utils/actionQueue.js +1 -4
- package/dist/utils/cn.js +21 -1
- package/dist/utils/colorUtils.d.ts +53 -0
- package/dist/utils/colorUtils.js +90 -0
- package/dist/utils/dateUtils.js +81 -15
- package/dist/utils/formatUtils.d.ts +10 -0
- package/dist/utils/formatUtils.js +24 -0
- package/dist/utils/index.d.ts +3 -1
- package/dist/utils/paletteGenerator.d.ts +46 -0
- package/dist/utils/performanceMonitor.js +1 -0
- package/dist/utils/smoothScrollUtils.js +1 -0
- package/dist/utils/stateMachine.d.ts +4 -4
- package/package.json +87 -33
- package/src/global.scss +1025 -0
- package/src/styles/theme.css +1126 -0
- package/tailwind.preset.cjs +60 -13
- package/dist/components/ai/ApprovalCard/ApprovalCard.d.ts +0 -3
- package/dist/components/ai/ApprovalCard/ApprovalCard.js +0 -15
- package/dist/components/ai/ApprovalCard/ApprovalCard.theme.d.ts +0 -13
- package/dist/components/ai/ApprovalCard/ApprovalCard.theme.js +0 -15
- package/dist/components/ai/ApprovalCard/ApprovalCard.types.d.ts +0 -43
- package/dist/components/ai/ApprovalCard/index.d.ts +0 -2
- package/dist/components/ai/MessageHistory/MessageHistory.d.ts +0 -18
- package/dist/components/ai/MessageHistory/MessageHistory.js +0 -97
- package/dist/components/ai/MessageHistory/MessageHistory.theme.d.ts +0 -2
- package/dist/components/ai/MessageHistory/MessageHistory.theme.js +0 -8
- package/dist/components/ai/MessageHistory/MessageHistory.types.d.ts +0 -94
- package/dist/components/ai/MessageHistory/index.d.ts +0 -3
- package/dist/components/ai/ThinkingIndicator/ThinkingIndicator.animations.d.ts +0 -10
- package/dist/components/ai/ThinkingIndicator/ThinkingIndicator.animations.js +0 -47
- package/dist/components/ai/ThinkingIndicator/ThinkingIndicator.d.ts +0 -20
- package/dist/components/ai/ThinkingIndicator/ThinkingIndicator.js +0 -55
- package/dist/components/ai/ThinkingIndicator/ThinkingIndicator.theme.d.ts +0 -2
- package/dist/components/ai/ThinkingIndicator/ThinkingIndicator.theme.js +0 -20
- package/dist/components/ai/ThinkingIndicator/ThinkingIndicator.types.d.ts +0 -67
- package/dist/components/ai/ThinkingIndicator/index.d.ts +0 -3
- package/dist/components/charts/shared/BarRenderer/index.d.ts +0 -3
- package/dist/components/charts/shared/ChartContainer/ChartContainer.d.ts +0 -85
- package/dist/components/charts/shared/ChartContainer/index.d.ts +0 -3
- package/dist/components/charts/shared/ChartLegend/ChartLegendContent.d.ts +0 -7
- package/dist/components/charts/shared/ChartLegend/ChartLegendContent.js +0 -18
- package/dist/components/charts/shared/LineRenderer/index.d.ts +0 -2
- package/dist/components/core/Accordion/AccordionContent.d.ts +0 -3
- package/dist/components/core/Button/Button.animations.d.ts +0 -5
- package/dist/components/core/Card/CardContent.d.ts +0 -3
- package/dist/components/core/Card/CardContent.js +0 -11
- package/dist/components/core/Carousel/CarouselContent.d.ts +0 -4
- package/dist/components/core/ContextMenu/ContextMenuContent.d.ts +0 -6
- package/dist/components/core/ContextMenu/ContextMenuSubContent.d.ts +0 -6
- package/dist/components/core/Drawer/DrawerContent.d.ts +0 -5
- package/dist/components/core/Loader/Loader.d.ts +0 -24
- package/dist/components/core/Loader/Loader.js +0 -57
- package/dist/components/core/Loader/Loader.theme.d.ts +0 -27
- package/dist/components/core/Loader/Loader.theme.js +0 -60
- package/dist/components/core/Loader/Loader.types.d.ts +0 -71
- package/dist/components/core/Loader/index.d.ts +0 -2
- package/dist/components/core/Message/MessageContent.d.ts +0 -8
- package/dist/components/core/Pill/Pill.animations.d.ts +0 -32
- package/dist/components/core/Pill/Pill.animations.js +0 -25
- package/dist/components/core/Popover/Popover.animations.js +0 -13
- package/dist/components/core/Popover/PopoverContent.d.ts +0 -7
- package/dist/components/core/Popover/PopoverContent.js +0 -136
- package/dist/components/core/Sidebar/SidebarSubmenu.d.ts +0 -7
- package/dist/components/core/Sidebar/SidebarSubmenu.js +0 -12
- package/dist/components/core/SocialIcon/SocialIcon.d.ts +0 -3
- package/dist/components/core/SocialIcon/SocialIcon.js +0 -30
- package/dist/components/core/SocialIcon/SocialIcon.theme.d.ts +0 -2
- package/dist/components/core/SocialIcon/SocialIcon.theme.js +0 -12
- package/dist/components/core/SocialIcon/SocialIcon.types.d.ts +0 -18
- package/dist/components/core/SocialIcon/index.d.ts +0 -2
- package/dist/components/core/Tabs/TabsContent.d.ts +0 -6
- package/dist/components/effects/MorphingText/MorphingText.d.ts +0 -17
- package/dist/components/effects/MorphingText/MorphingText.js +0 -91
- package/dist/components/effects/MorphingText/MorphingText.types.d.ts +0 -18
- package/dist/components/effects/MorphingText/index.d.ts +0 -2
- package/dist/components/effects/ParallaxSection/ParallaxSection.d.ts +0 -26
- package/dist/components/effects/ParallaxSection/ParallaxSection.js +0 -71
- package/dist/components/effects/ParallaxSection/ParallaxSection.types.d.ts +0 -11
- package/dist/components/effects/ParallaxSection/index.d.ts +0 -2
- package/dist/components/effects/Spotlight/Spotlight.d.ts +0 -36
- package/dist/components/effects/Spotlight/Spotlight.js +0 -112
- package/dist/components/effects/Spotlight/Spotlight.types.d.ts +0 -29
- package/dist/components/effects/Spotlight/index.d.ts +0 -2
- package/dist/components/effects/SpotlightBorder/SpotlightBorder.d.ts +0 -18
- package/dist/components/effects/SpotlightBorder/SpotlightBorder.js +0 -214
- package/dist/components/effects/SpotlightBorder/SpotlightBorder.types.d.ts +0 -61
- package/dist/components/effects/SpotlightBorder/index.d.ts +0 -2
- package/dist/components/effects/StickyScroll/StickyScroll.d.ts +0 -30
- package/dist/components/effects/StickyScroll/StickyScroll.js +0 -128
- package/dist/components/effects/StickyScroll/StickyScroll.types.d.ts +0 -19
- package/dist/components/effects/StickyScroll/index.d.ts +0 -2
- package/dist/components/forms/ColorPicker/ColorPickerContent.d.ts +0 -7
- package/dist/components/forms/CronInput/CronInput.d.ts +0 -3
- package/dist/components/forms/CronInput/CronInput.js +0 -107
- package/dist/components/forms/CronInput/CronInput.theme.d.ts +0 -6
- package/dist/components/forms/CronInput/CronInput.theme.js +0 -84
- package/dist/components/forms/CronInput/CronInput.types.d.ts +0 -98
- package/dist/components/forms/CronInput/CronInput.utils.d.ts +0 -67
- package/dist/components/forms/CronInput/CronInput.utils.js +0 -505
- package/dist/components/forms/CronInput/index.d.ts +0 -4
- package/dist/components/forms/DatePicker/DatePickerContent.d.ts +0 -7
- package/dist/components/forms/TransferList/TransferList.animations.d.ts +0 -10
- package/dist/components/forms/TransferList/TransferList.animations.js +0 -32
- package/dist/components/forms/TransferList/TransferList.d.ts +0 -28
- package/dist/components/forms/TransferList/TransferList.js +0 -199
- package/dist/components/forms/TransferList/TransferList.theme.d.ts +0 -6
- package/dist/components/forms/TransferList/TransferList.theme.js +0 -60
- package/dist/components/forms/TransferList/TransferList.types.d.ts +0 -101
- package/dist/components/forms/TransferList/index.d.ts +0 -3
- package/dist/components/layout/FormLayout/FormLayoutBody.d.ts +0 -3
- package/dist/components/layout/FormLayout/FormLayoutBody.js +0 -91
- package/dist/components/layout/FormLayout/FormLayoutHeader.d.ts +0 -3
- package/dist/components/layout/FormLayout/FormLayoutHeader.js +0 -12
- package/dist/components/layout/PageLayout/PageLayout.d.ts +0 -7
- package/dist/components/layout/PageLayout/PageLayout.js +0 -33
- package/dist/components/layout/PageLayout/PageLayout.theme.d.ts +0 -2
- package/dist/components/layout/PageLayout/PageLayout.theme.js +0 -10
- package/dist/components/layout/PageLayout/PageLayout.types.d.ts +0 -39
- package/dist/components/layout/PageLayout/PageLayoutContent.d.ts +0 -3
- package/dist/components/layout/PageLayout/PageLayoutContent.js +0 -12
- package/dist/components/layout/PageLayout/PageLayoutHeader.d.ts +0 -3
- package/dist/components/layout/PageLayout/PageLayoutHeader.js +0 -12
- package/dist/components/layout/PageLayout/PageLayoutSidebar.d.ts +0 -3
- package/dist/components/layout/PageLayout/PageLayoutSidebar.js +0 -12
- package/dist/components/layout/PageLayout/index.d.ts +0 -3
- package/dist/icons/Icon.d.ts +0 -24
- package/dist/icons/Icon.js +0 -30
- package/dist/icons/Index.d.ts +0 -16
- package/dist/icons/core/ChevronUpDown.d.ts +0 -1
- package/dist/icons/core/ChevronUpDown.js +0 -7
- package/dist/icons/core/DollarIcon.d.ts +0 -1
- package/dist/icons/core/DollarIcon.js +0 -5
- package/dist/icons/core/LockIcon.d.ts +0 -1
- package/dist/icons/core/LockIcon.js +0 -5
- package/dist/icons/core/MinusIcon.d.ts +0 -1
- package/dist/icons/core/MinusIcon.js +0 -7
- package/dist/icons/core/PlusIcon.d.ts +0 -1
- package/dist/icons/core/PlusIcon.js +0 -7
- package/dist/icons/core/SearchIcon.d.ts +0 -1
- package/dist/icons/core/SearchIcon.js +0 -7
- package/dist/icons/core/TickIcon.d.ts +0 -1
- package/dist/icons/core/TickIcon.js +0 -5
- package/dist/icons/core/User.d.ts +0 -1
- package/dist/utils/useClickOutside.d.ts +0 -1
- /package/dist/components/ai/{PromptSuggestions → PromptSuggestion}/PromptSuggestion.d.ts +0 -0
- /package/dist/components/ai/{PromptSuggestions → PromptSuggestion}/PromptSuggestion.theme.d.ts +0 -0
- /package/dist/components/ai/{PromptSuggestions → PromptSuggestion}/PromptSuggestion.types.d.ts +0 -0
- /package/dist/components/ai/{PromptSuggestions → PromptSuggestion}/index.d.ts +0 -0
- /package/dist/components/core/{SocialIcon → Icon/data}/platforms.d.ts +0 -0
- /package/dist/components/core/{SocialIcon → Icon/data}/platforms.js +0 -0
- /package/dist/components/effects/{SpotlightBorder/SpotlightBorder.types.js → TiltCard/TiltCard.types.js} +0 -0
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { useRef, useEffect } from 'react';
|
|
4
|
+
import { useReducedMotion } from 'motion/react';
|
|
5
|
+
import { cn } from '../../../utils/cn.js';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* TiltCard wraps content in a damped 3D mouse tilt. The tilt is a pure CSS
|
|
9
|
+
* transform — no WebGL. The optional `glow` spotlight border lazy-loads the
|
|
10
|
+
* `three` peer dependency on demand (see TiltCard.glow.ts).
|
|
11
|
+
*
|
|
12
|
+
* The animation loop is demand-driven: it runs only while the pointer is near
|
|
13
|
+
* the card or the damped values are still settling, then stops — an idle
|
|
14
|
+
* TiltCard costs nothing per frame.
|
|
15
|
+
*/
|
|
16
|
+
const TiltCard = ({ children, tiltIntensity = 6, glow = false, variation = "rounded-rect", rounded, borderWidth = 2, glowColor = "#ffffff", spotlightSize = 0.4, spotlightEdge = 0.5, glowExtent = 20, glowIntensity = 0.6, shouldAnimate = true, className, style, ...props }) => {
|
|
17
|
+
const outerRef = useRef(null);
|
|
18
|
+
const contentRef = useRef(null);
|
|
19
|
+
const glowRef = useRef(null);
|
|
20
|
+
// Loop reads live prop values from refs so prop changes never tear down WebGL
|
|
21
|
+
const tiltRef = useRef(tiltIntensity);
|
|
22
|
+
tiltRef.current = tiltIntensity;
|
|
23
|
+
const glowParamsRef = useRef({ glowColor, spotlightSize, spotlightEdge, glowIntensity, borderWidth });
|
|
24
|
+
glowParamsRef.current = { glowColor, spotlightSize, spotlightEdge, glowIntensity, borderWidth };
|
|
25
|
+
// useReducedMotion is SSR-safe (null on server, real value after hydration)
|
|
26
|
+
const prefersReducedMotion = useReducedMotion();
|
|
27
|
+
const isAnimating = shouldAnimate && !prefersReducedMotion;
|
|
28
|
+
useEffect(() => {
|
|
29
|
+
const outer = outerRef.current;
|
|
30
|
+
const content = contentRef.current;
|
|
31
|
+
if (!outer || !content || !isAnimating)
|
|
32
|
+
return;
|
|
33
|
+
let disposed = false;
|
|
34
|
+
// Pointer in client coords — the handler does NO layout reads; the loop
|
|
35
|
+
// converts to content-local with one getBoundingClientRect per frame.
|
|
36
|
+
let pointer = null;
|
|
37
|
+
let cachedRect = null;
|
|
38
|
+
const st = { mx: -1e4, my: -1e4, dmx: -1e4, dmy: -1e4, rx: 0, ry: 0, raf: 0, running: false, last: 0 };
|
|
39
|
+
// How far outside the card the pointer still matters (glow lights up on approach)
|
|
40
|
+
const proximity = glow ? Math.max(glowExtent * 3, 120) : 0;
|
|
41
|
+
const loop = (now) => {
|
|
42
|
+
var _a;
|
|
43
|
+
if (disposed)
|
|
44
|
+
return;
|
|
45
|
+
const dt = Math.min(Math.max((now - st.last) / 1000, 0.001), 0.05);
|
|
46
|
+
st.last = now;
|
|
47
|
+
const rect = content.getBoundingClientRect();
|
|
48
|
+
cachedRect = rect;
|
|
49
|
+
if (pointer) {
|
|
50
|
+
const nx = pointer.x - rect.left;
|
|
51
|
+
const ny = pointer.y - rect.top;
|
|
52
|
+
// First arrival: snap the damped position instead of easing in from the
|
|
53
|
+
// far-away sentinel (easing from -10000 produces a violent tilt/glow sweep)
|
|
54
|
+
if (st.mx <= -9e3) {
|
|
55
|
+
st.dmx = nx;
|
|
56
|
+
st.dmy = ny;
|
|
57
|
+
}
|
|
58
|
+
st.mx = nx;
|
|
59
|
+
st.my = ny;
|
|
60
|
+
}
|
|
61
|
+
// dt-normalized damping — same feel at 60Hz and 120Hz
|
|
62
|
+
const aMouse = 1 - Math.exp(-12 * dt);
|
|
63
|
+
st.dmx += (st.mx - st.dmx) * aMouse;
|
|
64
|
+
st.dmy += (st.my - st.dmy) * aMouse;
|
|
65
|
+
const w = rect.width;
|
|
66
|
+
const h = rect.height;
|
|
67
|
+
// Gate on the DAMPED position — the tilt target derives from it, so the
|
|
68
|
+
// gate and the target must agree or transient positions leak through
|
|
69
|
+
const inside = !!pointer && st.dmx >= 0 && st.dmx <= w && st.dmy >= 0 && st.dmy <= h;
|
|
70
|
+
let targetRX = 0;
|
|
71
|
+
let targetRY = 0;
|
|
72
|
+
if (tiltRef.current > 0 && inside && w > 0 && h > 0) {
|
|
73
|
+
targetRY = (st.dmx / w - 0.5) * tiltRef.current;
|
|
74
|
+
targetRX = -(st.dmy / h - 0.5) * tiltRef.current;
|
|
75
|
+
}
|
|
76
|
+
const aTilt = 1 - Math.exp(-10 * dt);
|
|
77
|
+
st.rx += (targetRX - st.rx) * aTilt;
|
|
78
|
+
st.ry += (targetRY - st.ry) * aTilt;
|
|
79
|
+
const settledFlat = Math.abs(st.rx) < 0.01 && Math.abs(st.ry) < 0.01 && !inside;
|
|
80
|
+
outer.style.transform = settledFlat
|
|
81
|
+
? ""
|
|
82
|
+
: `perspective(1000px) rotateX(${st.rx}deg) rotateY(${st.ry}deg)`;
|
|
83
|
+
(_a = glowRef.current) === null || _a === void 0 ? void 0 : _a.render(st.dmx, st.dmy);
|
|
84
|
+
// Idle detection: stop once everything converged — a motionless hover
|
|
85
|
+
// renders nothing new. Any pointermove (or leave) restarts the loop.
|
|
86
|
+
const mouseSettled = Math.abs(st.mx - st.dmx) < 0.1 && Math.abs(st.my - st.dmy) < 0.1;
|
|
87
|
+
const tiltSettled = Math.abs(targetRX - st.rx) < 0.005 && Math.abs(targetRY - st.ry) < 0.005;
|
|
88
|
+
if (mouseSettled && tiltSettled) {
|
|
89
|
+
st.running = false;
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
st.raf = requestAnimationFrame(loop);
|
|
93
|
+
};
|
|
94
|
+
const start = () => {
|
|
95
|
+
if (st.running || disposed)
|
|
96
|
+
return;
|
|
97
|
+
st.running = true;
|
|
98
|
+
st.last = performance.now();
|
|
99
|
+
st.raf = requestAnimationFrame(loop);
|
|
100
|
+
};
|
|
101
|
+
const onPointerMove = (e) => {
|
|
102
|
+
pointer = { x: e.clientX, y: e.clientY };
|
|
103
|
+
if (proximity > 0) {
|
|
104
|
+
// Document-level listener (glow reacts on approach): cheap pre-check
|
|
105
|
+
// against the cached rect so far-away moves don't wake the loop.
|
|
106
|
+
if (!cachedRect)
|
|
107
|
+
cachedRect = content.getBoundingClientRect();
|
|
108
|
+
const r = cachedRect;
|
|
109
|
+
if (e.clientX < r.left - proximity ||
|
|
110
|
+
e.clientX > r.right + proximity ||
|
|
111
|
+
e.clientY < r.top - proximity ||
|
|
112
|
+
e.clientY > r.bottom + proximity)
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
start();
|
|
116
|
+
};
|
|
117
|
+
const onPointerLeave = () => {
|
|
118
|
+
pointer = null;
|
|
119
|
+
st.mx = -1e4;
|
|
120
|
+
st.my = -1e4;
|
|
121
|
+
start(); // let the tilt ease back to rest, then the loop self-stops
|
|
122
|
+
};
|
|
123
|
+
const invalidateRect = () => {
|
|
124
|
+
cachedRect = null;
|
|
125
|
+
};
|
|
126
|
+
// Tilt-only: element-scoped listeners. Glow: document-scoped (the border
|
|
127
|
+
// lights up as the cursor approaches from outside).
|
|
128
|
+
const moveTarget = glow ? document : outer;
|
|
129
|
+
moveTarget.addEventListener("pointermove", onPointerMove, { passive: true });
|
|
130
|
+
const leaveTarget = glow ? document.documentElement : outer;
|
|
131
|
+
leaveTarget.addEventListener("pointerleave", onPointerLeave);
|
|
132
|
+
window.addEventListener("scroll", invalidateRect, { passive: true, capture: true });
|
|
133
|
+
const ro = new ResizeObserver(() => {
|
|
134
|
+
var _a;
|
|
135
|
+
invalidateRect();
|
|
136
|
+
(_a = glowRef.current) === null || _a === void 0 ? void 0 : _a.resize();
|
|
137
|
+
start(); // re-render the glow at the new size, then settle
|
|
138
|
+
});
|
|
139
|
+
ro.observe(content);
|
|
140
|
+
if (glow) {
|
|
141
|
+
import('./TiltCard.glow.js')
|
|
142
|
+
.then(({ createGlowEffect }) => {
|
|
143
|
+
if (disposed)
|
|
144
|
+
return;
|
|
145
|
+
const effect = createGlowEffect({ host: outer, content, variation, glowExtent, rounded });
|
|
146
|
+
effect.setParams(glowParamsRef.current);
|
|
147
|
+
effect.resize();
|
|
148
|
+
glowRef.current = effect;
|
|
149
|
+
start();
|
|
150
|
+
})
|
|
151
|
+
.catch((err) => {
|
|
152
|
+
if (process.env.NODE_ENV !== "production") {
|
|
153
|
+
console.error('[TiltCard] `glow` requires the optional "three" peer dependency.', err);
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
return () => {
|
|
158
|
+
var _a;
|
|
159
|
+
disposed = true;
|
|
160
|
+
moveTarget.removeEventListener("pointermove", onPointerMove);
|
|
161
|
+
leaveTarget.removeEventListener("pointerleave", onPointerLeave);
|
|
162
|
+
window.removeEventListener("scroll", invalidateRect, { capture: true });
|
|
163
|
+
ro.disconnect();
|
|
164
|
+
cancelAnimationFrame(st.raf);
|
|
165
|
+
outer.style.transform = "";
|
|
166
|
+
(_a = glowRef.current) === null || _a === void 0 ? void 0 : _a.dispose();
|
|
167
|
+
glowRef.current = null;
|
|
168
|
+
};
|
|
169
|
+
}, [isAnimating, glow, variation, glowExtent, rounded]);
|
|
170
|
+
// Live-update glow uniforms without tearing down the WebGL context
|
|
171
|
+
useEffect(() => {
|
|
172
|
+
var _a;
|
|
173
|
+
(_a = glowRef.current) === null || _a === void 0 ? void 0 : _a.setParams({ glowColor, spotlightSize, spotlightEdge, glowIntensity, borderWidth });
|
|
174
|
+
}, [glowColor, spotlightSize, spotlightEdge, glowIntensity, borderWidth]);
|
|
175
|
+
return (jsx("div", { ref: outerRef, className: cn("relative overflow-visible", className), style: { ...style, ...(rounded ? { borderRadius: rounded } : {}) }, ...props, children: jsx("div", { ref: contentRef, className: "relative h-full w-full", style: { borderRadius: "inherit", zIndex: 20 }, children: children }) }));
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
export { TiltCard };
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type TiltCardVariation = "rounded-rect" | "circle" | "circle-ring" | "triangle";
|
|
3
|
+
export declare const variationMap: Record<TiltCardVariation, number>;
|
|
4
|
+
/**
|
|
5
|
+
* TiltCard — wraps content in a damped 3D mouse tilt (pure CSS transform,
|
|
6
|
+
* no WebGL cost), with an optional `glow` spotlight border (lazy-loads the
|
|
7
|
+
* `three` optional peer dependency only when enabled).
|
|
8
|
+
*
|
|
9
|
+
* @example Tilt only — cheap, no WebGL
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <TiltCard tiltIntensity={6}>
|
|
12
|
+
* <Card>…</Card>
|
|
13
|
+
* </TiltCard>
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* @example With the spotlight border glow
|
|
17
|
+
* ```tsx
|
|
18
|
+
* <TiltCard glow glowColor="#3b82f6" borderWidth={2} glowExtent={30}>
|
|
19
|
+
* <Card className="bg-gray-900">…</Card>
|
|
20
|
+
* </TiltCard>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export interface TiltCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
24
|
+
/** Content to wrap with the effect */
|
|
25
|
+
children: React.ReactNode;
|
|
26
|
+
/**
|
|
27
|
+
* Max tilt in degrees as the mouse moves across the card. 0 disables the tilt.
|
|
28
|
+
* @default 6
|
|
29
|
+
*/
|
|
30
|
+
tiltIntensity?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Enable the WebGL spotlight border (illuminates near the cursor with a soft
|
|
33
|
+
* outer glow). Lazy-loads `three` — without it, TiltCard never touches WebGL.
|
|
34
|
+
* ⚠️ Each glowing instance owns a WebGL context; browsers cap ~8–16 live
|
|
35
|
+
* contexts, so avoid enabling it on large collections of cards.
|
|
36
|
+
* @default false
|
|
37
|
+
*/
|
|
38
|
+
glow?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Shape variation for the glow border
|
|
41
|
+
* @default 'rounded-rect'
|
|
42
|
+
*/
|
|
43
|
+
variation?: TiltCardVariation;
|
|
44
|
+
/**
|
|
45
|
+
* Border radius for the container (e.g., "1rem", "var(--card-radius)").
|
|
46
|
+
* Controls both the container clip and the shader's corner roundness.
|
|
47
|
+
* @default undefined (inherits from className like rounded-xl)
|
|
48
|
+
*/
|
|
49
|
+
rounded?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Glow border stroke width in pixels
|
|
52
|
+
* @default 2
|
|
53
|
+
*/
|
|
54
|
+
borderWidth?: number;
|
|
55
|
+
/**
|
|
56
|
+
* Color of the glow border (any CSS color three.js can parse)
|
|
57
|
+
* @default '#ffffff'
|
|
58
|
+
*/
|
|
59
|
+
glowColor?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Size of the mouse-following spotlight (0-1)
|
|
62
|
+
* @default 0.4
|
|
63
|
+
*/
|
|
64
|
+
spotlightSize?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Edge softness of the spotlight (higher = softer falloff)
|
|
67
|
+
* @default 0.5
|
|
68
|
+
*/
|
|
69
|
+
spotlightEdge?: number;
|
|
70
|
+
/**
|
|
71
|
+
* How far the glow can spread outside the container in pixels.
|
|
72
|
+
* Also prevents clipping of child shadows.
|
|
73
|
+
* @default 20
|
|
74
|
+
*/
|
|
75
|
+
glowExtent?: number;
|
|
76
|
+
/**
|
|
77
|
+
* Overall intensity of the glow halo (0-1)
|
|
78
|
+
* @default 0.6
|
|
79
|
+
*/
|
|
80
|
+
glowIntensity?: number;
|
|
81
|
+
/**
|
|
82
|
+
* Whether to animate (respects prefers-reduced-motion)
|
|
83
|
+
* @default true
|
|
84
|
+
*/
|
|
85
|
+
shouldAnimate?: boolean;
|
|
86
|
+
/** Additional className for the container */
|
|
87
|
+
className?: string;
|
|
88
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { WaterProps } from "./Water.types";
|
|
3
|
+
/**
|
|
4
|
+
* Animated water-caustic image filter — distorts a source image with
|
|
5
|
+
* ripple/wave displacement and caustic light highlights. WebGL2-powered;
|
|
6
|
+
* falls back to the plain source image (via `object-fit: cover`) when
|
|
7
|
+
* WebGL2 is unavailable or the user prefers reduced motion.
|
|
8
|
+
*/
|
|
9
|
+
export declare const Water: React.FC<WaterProps>;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { useState, useMemo, useRef, useCallback } from 'react';
|
|
4
|
+
import { useReducedMotion } from 'motion/react';
|
|
5
|
+
import { useIsClient } from '../../../hooks/useIsClient.js';
|
|
6
|
+
import { useDarkMode } from '../../../hooks/useDarkMode.js';
|
|
7
|
+
import { cn } from '../../../utils/cn.js';
|
|
8
|
+
import { ShaderCanvas } from '../shared/ShaderCanvas/ShaderCanvas.js';
|
|
9
|
+
import { resolveShaderColor } from '../shared/resolveShaderColor.js';
|
|
10
|
+
import { waterFragmentShader } from './Water.shaders.js';
|
|
11
|
+
|
|
12
|
+
const DEFAULT_COLOR_BACK = "var(--color-surface-sunken)";
|
|
13
|
+
const DEFAULT_COLOR_HIGHLIGHT = "var(--color-primary-50)";
|
|
14
|
+
function useWebgl2Supported(disabled) {
|
|
15
|
+
return useMemo(() => {
|
|
16
|
+
if (disabled || typeof document === "undefined")
|
|
17
|
+
return false;
|
|
18
|
+
try {
|
|
19
|
+
return !!document.createElement("canvas").getContext("webgl2");
|
|
20
|
+
}
|
|
21
|
+
catch (_a) {
|
|
22
|
+
return false;
|
|
23
|
+
}
|
|
24
|
+
}, [disabled]);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Animated water-caustic image filter — distorts a source image with
|
|
28
|
+
* ripple/wave displacement and caustic light highlights. WebGL2-powered;
|
|
29
|
+
* falls back to the plain source image (via `object-fit: cover`) when
|
|
30
|
+
* WebGL2 is unavailable or the user prefers reduced motion.
|
|
31
|
+
*/
|
|
32
|
+
const Water = ({ image, colorBack = DEFAULT_COLOR_BACK, colorHighlight = DEFAULT_COLOR_HIGHLIGHT, highlights = 0.5, layering = 0.3, edges = 0, caustic = 1, waves = 0.3, size = 0.3, speed = 1, className, style, ...props }) => {
|
|
33
|
+
const isClient = useIsClient();
|
|
34
|
+
const shouldReduceMotion = useReducedMotion();
|
|
35
|
+
const isDark = useDarkMode();
|
|
36
|
+
const webglSupported = useWebgl2Supported(!!shouldReduceMotion);
|
|
37
|
+
const [imageAspectRatio, setImageAspectRatio] = useState(16 / 9);
|
|
38
|
+
const resolvedBack = useMemo(() => resolveShaderColor(colorBack),
|
|
39
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
40
|
+
[colorBack, isDark]);
|
|
41
|
+
const resolvedHighlight = useMemo(() => resolveShaderColor(colorHighlight),
|
|
42
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
43
|
+
[colorHighlight, isDark]);
|
|
44
|
+
const texturesRef = useRef({ u_image: image });
|
|
45
|
+
texturesRef.current.u_image = image;
|
|
46
|
+
const handleTextureLoad = useCallback((name, aspectRatio) => {
|
|
47
|
+
if (name === "u_image")
|
|
48
|
+
setImageAspectRatio(aspectRatio);
|
|
49
|
+
}, []);
|
|
50
|
+
const uniformsRef = useRef({});
|
|
51
|
+
uniformsRef.current.u_colorBack = resolvedBack;
|
|
52
|
+
uniformsRef.current.u_colorHighlight = resolvedHighlight;
|
|
53
|
+
uniformsRef.current.u_imageAspectRatio = imageAspectRatio;
|
|
54
|
+
uniformsRef.current.u_highlights = highlights;
|
|
55
|
+
uniformsRef.current.u_layering = layering;
|
|
56
|
+
uniformsRef.current.u_edges = edges;
|
|
57
|
+
uniformsRef.current.u_caustic = caustic;
|
|
58
|
+
uniformsRef.current.u_waves = waves;
|
|
59
|
+
uniformsRef.current.u_size = size;
|
|
60
|
+
uniformsRef.current.u_speed = speed;
|
|
61
|
+
const imageSrc = typeof image === "string" ? image : image.src;
|
|
62
|
+
return (jsx("div", { className: cn("absolute inset-0 overflow-hidden pointer-events-none select-none", className), style: style, "aria-hidden": "true", ...props, children: isClient && webglSupported ? (jsx(ShaderCanvas, { fragmentShader: waterFragmentShader, uniformsRef: uniformsRef, texturesRef: texturesRef, onTextureLoad: handleTextureLoad })) : (jsx("img", { src: imageSrc, alt: "", className: "absolute inset-0 w-full h-full object-cover" })) }));
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export { Water };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Water fragment shader — adapted from paper-design/shaders' `water.ts`
|
|
3
|
+
* (https://github.com/paper-design/shaders, Apache License 2.0). An image
|
|
4
|
+
* filter: distorts a source image with caustic-noise ripples and wave
|
|
5
|
+
* displacement.
|
|
6
|
+
*
|
|
7
|
+
* Simplified from the original: image UV computed via the shared
|
|
8
|
+
* `getImageCoverUV` cover-fit helper (see shared/imageUV.glsl.ts) instead of
|
|
9
|
+
* paper-design's ShaderSizingParams fit/scale/rotation engine.
|
|
10
|
+
*/
|
|
11
|
+
export declare const waterFragmentShader = "#version 300 es\nprecision mediump float;\n\nuniform float iTime;\nuniform vec2 iResolution;\n\nuniform vec4 u_colorBack;\nuniform vec4 u_colorHighlight;\n\nuniform sampler2D u_image;\nuniform float u_imageAspectRatio;\n\nuniform float u_size;\nuniform float u_highlights;\nuniform float u_layering;\nuniform float u_edges;\nuniform float u_caustic;\nuniform float u_waves;\nuniform float u_speed;\n\nout vec4 fragColor;\n\n\nvec3 mod289(vec3 x) { return x - floor(x * (1.0 / 289.0)) * 289.0; }\nvec2 mod289(vec2 x) { return x - floor(x * (1.0 / 289.0)) * 289.0; }\nvec3 permute(vec3 x) { return mod289(((x * 34.0) + 1.0) * x); }\n\nfloat snoise(vec2 v) {\n const vec4 C = vec4(0.211324865405187, 0.366025403784439,\n -0.577350269189626, 0.024390243902439);\n vec2 i = floor(v + dot(v, C.yy));\n vec2 x0 = v - i + dot(i, C.xx);\n\n vec2 i1 = (x0.x > x0.y) ? vec2(1.0, 0.0) : vec2(0.0, 1.0);\n vec4 x12 = x0.xyxy + C.xxzz;\n x12.xy -= i1;\n\n i = mod289(i);\n vec3 p = permute(permute(i.y + vec3(0.0, i1.y, 1.0)) + i.x + vec3(0.0, i1.x, 1.0));\n\n vec3 m = max(0.5 - vec3(dot(x0, x0), dot(x12.xy, x12.xy), dot(x12.zw, x12.zw)), 0.0);\n m = m * m;\n m = m * m;\n\n vec3 x = 2.0 * fract(p * C.www) - 1.0;\n vec3 h = abs(x) - 0.5;\n vec3 ox = floor(x + 0.5);\n vec3 a0 = x - ox;\n\n m *= 1.79284291400159 - 0.85373472095314 * (a0 * a0 + h * h);\n\n vec3 g;\n g.x = a0.x * x0.x + h.x * x0.y;\n g.yz = a0.yz * x12.xz + h.yz * x12.yw;\n return 130.0 * dot(m, g);\n}\n\n\nvec2 getImageCoverUV(vec2 fragUV, vec2 resolution, float imageAspectRatio) {\n float containerAspect = resolution.x / resolution.y;\n // Container wider (relative to its height) than the image: sample a\n // narrower vertical slice of the image (crop top/bottom) so it fills the\n // container width with no letterboxing. Container narrower/taller than\n // the image: sample a narrower horizontal slice (crop left/right) instead.\n vec2 scale = containerAspect > imageAspectRatio\n ? vec2(1.0, imageAspectRatio / containerAspect)\n : vec2(containerAspect / imageAspectRatio, 1.0);\n return (fragUV - 0.5) * scale + 0.5;\n}\n\n\nfloat getUvFrame(vec2 uv) {\n float aax = 2. * fwidth(uv.x);\n float aay = 2. * fwidth(uv.y);\n\n float left = smoothstep(0., aax, uv.x);\n float right = 1.0 - smoothstep(1. - aax, 1., uv.x);\n float bottom = smoothstep(0., aay, uv.y);\n float top = 1.0 - smoothstep(1. - aay, 1., uv.y);\n\n return left * right * bottom * top;\n}\n\nmat2 rotate2D(float r) {\n return mat2(cos(r), sin(r), -sin(r), cos(r));\n}\n\nfloat getCausticNoise(vec2 uv, float t, float scale) {\n vec2 n = vec2(.1);\n vec2 N = vec2(.1);\n mat2 m = rotate2D(.5);\n for (int j = 0; j < 6; j++) {\n uv *= m;\n n *= m;\n vec2 q = uv * scale + float(j) + n + (.5 + .5 * float(j)) * (mod(float(j), 2.) - 1.) * t;\n n += sin(q);\n N += cos(q) / scale;\n scale *= 1.1;\n }\n return (N.x + N.y + 1.);\n}\n\nvoid main() {\n vec2 fragUV = gl_FragCoord.xy / iResolution.xy;\n vec2 imageUV = getImageCoverUV(fragUV, iResolution, u_imageAspectRatio);\n vec2 patternUV = imageUV - .5;\n patternUV = (patternUV * vec2(u_imageAspectRatio, 1.));\n patternUV /= (.01 + .09 * u_size);\n\n float t = u_speed * iTime;\n\n float wavesNoise = snoise((.3 + .1 * sin(t)) * .1 * patternUV + vec2(0., .4 * t));\n\n float causticNoise = getCausticNoise(patternUV + u_waves * vec2(1., -1.) * wavesNoise, 2. * t, 1.5);\n causticNoise += u_layering * getCausticNoise(patternUV + 2. * u_waves * vec2(1., -1.) * wavesNoise, 1.5 * t, 2.);\n causticNoise = causticNoise * causticNoise;\n\n float edgesDistortion = smoothstep(0., .1, imageUV.x);\n edgesDistortion *= smoothstep(0., .1, imageUV.y);\n edgesDistortion *= (smoothstep(1., 1.1, imageUV.x) + (1.0 - smoothstep(.8, .95, imageUV.x)));\n edgesDistortion *= (1.0 - smoothstep(.9, 1., imageUV.y));\n edgesDistortion = mix(edgesDistortion, 1., u_edges);\n\n float causticNoiseDistortion = .02 * causticNoise * edgesDistortion;\n float wavesDistortion = .1 * u_waves * wavesNoise;\n\n imageUV += vec2(wavesDistortion, -wavesDistortion);\n imageUV += (u_caustic * causticNoiseDistortion);\n\n float frame = getUvFrame(imageUV);\n vec4 image = texture(u_image, imageUV);\n vec4 backColor = u_colorBack;\n backColor.rgb *= backColor.a;\n\n vec3 color = mix(backColor.rgb, image.rgb, image.a * frame);\n float opacity = backColor.a + image.a * frame;\n\n causticNoise = max(-.2, causticNoise);\n\n float hightlight = .025 * u_highlights * causticNoise;\n hightlight *= u_colorHighlight.a;\n color = mix(color, u_colorHighlight.rgb, .05 * u_highlights * causticNoise);\n opacity += hightlight;\n\n color += hightlight * (.5 + .5 * wavesNoise);\n opacity += hightlight * (.5 + .5 * wavesNoise);\n\n opacity = clamp(opacity, 0., 1.);\n\n fragColor = vec4(color, opacity);\n}\n";
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import 'react/jsx-runtime';
|
|
2
|
+
import 'react';
|
|
3
|
+
import { glslSimplexNoise2D } from '../shared/shaderNoise.glsl.js';
|
|
4
|
+
import { glslImageCoverUV } from '../shared/imageUV.glsl.js';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Water fragment shader — adapted from paper-design/shaders' `water.ts`
|
|
8
|
+
* (https://github.com/paper-design/shaders, Apache License 2.0). An image
|
|
9
|
+
* filter: distorts a source image with caustic-noise ripples and wave
|
|
10
|
+
* displacement.
|
|
11
|
+
*
|
|
12
|
+
* Simplified from the original: image UV computed via the shared
|
|
13
|
+
* `getImageCoverUV` cover-fit helper (see shared/imageUV.glsl.ts) instead of
|
|
14
|
+
* paper-design's ShaderSizingParams fit/scale/rotation engine.
|
|
15
|
+
*/
|
|
16
|
+
const waterFragmentShader = `#version 300 es
|
|
17
|
+
precision mediump float;
|
|
18
|
+
|
|
19
|
+
uniform float iTime;
|
|
20
|
+
uniform vec2 iResolution;
|
|
21
|
+
|
|
22
|
+
uniform vec4 u_colorBack;
|
|
23
|
+
uniform vec4 u_colorHighlight;
|
|
24
|
+
|
|
25
|
+
uniform sampler2D u_image;
|
|
26
|
+
uniform float u_imageAspectRatio;
|
|
27
|
+
|
|
28
|
+
uniform float u_size;
|
|
29
|
+
uniform float u_highlights;
|
|
30
|
+
uniform float u_layering;
|
|
31
|
+
uniform float u_edges;
|
|
32
|
+
uniform float u_caustic;
|
|
33
|
+
uniform float u_waves;
|
|
34
|
+
uniform float u_speed;
|
|
35
|
+
|
|
36
|
+
out vec4 fragColor;
|
|
37
|
+
|
|
38
|
+
${glslSimplexNoise2D}
|
|
39
|
+
${glslImageCoverUV}
|
|
40
|
+
|
|
41
|
+
float getUvFrame(vec2 uv) {
|
|
42
|
+
float aax = 2. * fwidth(uv.x);
|
|
43
|
+
float aay = 2. * fwidth(uv.y);
|
|
44
|
+
|
|
45
|
+
float left = smoothstep(0., aax, uv.x);
|
|
46
|
+
float right = 1.0 - smoothstep(1. - aax, 1., uv.x);
|
|
47
|
+
float bottom = smoothstep(0., aay, uv.y);
|
|
48
|
+
float top = 1.0 - smoothstep(1. - aay, 1., uv.y);
|
|
49
|
+
|
|
50
|
+
return left * right * bottom * top;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
mat2 rotate2D(float r) {
|
|
54
|
+
return mat2(cos(r), sin(r), -sin(r), cos(r));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
float getCausticNoise(vec2 uv, float t, float scale) {
|
|
58
|
+
vec2 n = vec2(.1);
|
|
59
|
+
vec2 N = vec2(.1);
|
|
60
|
+
mat2 m = rotate2D(.5);
|
|
61
|
+
for (int j = 0; j < 6; j++) {
|
|
62
|
+
uv *= m;
|
|
63
|
+
n *= m;
|
|
64
|
+
vec2 q = uv * scale + float(j) + n + (.5 + .5 * float(j)) * (mod(float(j), 2.) - 1.) * t;
|
|
65
|
+
n += sin(q);
|
|
66
|
+
N += cos(q) / scale;
|
|
67
|
+
scale *= 1.1;
|
|
68
|
+
}
|
|
69
|
+
return (N.x + N.y + 1.);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
void main() {
|
|
73
|
+
vec2 fragUV = gl_FragCoord.xy / iResolution.xy;
|
|
74
|
+
vec2 imageUV = getImageCoverUV(fragUV, iResolution, u_imageAspectRatio);
|
|
75
|
+
vec2 patternUV = imageUV - .5;
|
|
76
|
+
patternUV = (patternUV * vec2(u_imageAspectRatio, 1.));
|
|
77
|
+
patternUV /= (.01 + .09 * u_size);
|
|
78
|
+
|
|
79
|
+
float t = u_speed * iTime;
|
|
80
|
+
|
|
81
|
+
float wavesNoise = snoise((.3 + .1 * sin(t)) * .1 * patternUV + vec2(0., .4 * t));
|
|
82
|
+
|
|
83
|
+
float causticNoise = getCausticNoise(patternUV + u_waves * vec2(1., -1.) * wavesNoise, 2. * t, 1.5);
|
|
84
|
+
causticNoise += u_layering * getCausticNoise(patternUV + 2. * u_waves * vec2(1., -1.) * wavesNoise, 1.5 * t, 2.);
|
|
85
|
+
causticNoise = causticNoise * causticNoise;
|
|
86
|
+
|
|
87
|
+
float edgesDistortion = smoothstep(0., .1, imageUV.x);
|
|
88
|
+
edgesDistortion *= smoothstep(0., .1, imageUV.y);
|
|
89
|
+
edgesDistortion *= (smoothstep(1., 1.1, imageUV.x) + (1.0 - smoothstep(.8, .95, imageUV.x)));
|
|
90
|
+
edgesDistortion *= (1.0 - smoothstep(.9, 1., imageUV.y));
|
|
91
|
+
edgesDistortion = mix(edgesDistortion, 1., u_edges);
|
|
92
|
+
|
|
93
|
+
float causticNoiseDistortion = .02 * causticNoise * edgesDistortion;
|
|
94
|
+
float wavesDistortion = .1 * u_waves * wavesNoise;
|
|
95
|
+
|
|
96
|
+
imageUV += vec2(wavesDistortion, -wavesDistortion);
|
|
97
|
+
imageUV += (u_caustic * causticNoiseDistortion);
|
|
98
|
+
|
|
99
|
+
float frame = getUvFrame(imageUV);
|
|
100
|
+
vec4 image = texture(u_image, imageUV);
|
|
101
|
+
vec4 backColor = u_colorBack;
|
|
102
|
+
backColor.rgb *= backColor.a;
|
|
103
|
+
|
|
104
|
+
vec3 color = mix(backColor.rgb, image.rgb, image.a * frame);
|
|
105
|
+
float opacity = backColor.a + image.a * frame;
|
|
106
|
+
|
|
107
|
+
causticNoise = max(-.2, causticNoise);
|
|
108
|
+
|
|
109
|
+
float hightlight = .025 * u_highlights * causticNoise;
|
|
110
|
+
hightlight *= u_colorHighlight.a;
|
|
111
|
+
color = mix(color, u_colorHighlight.rgb, .05 * u_highlights * causticNoise);
|
|
112
|
+
opacity += hightlight;
|
|
113
|
+
|
|
114
|
+
color += hightlight * (.5 + .5 * wavesNoise);
|
|
115
|
+
opacity += hightlight * (.5 + .5 * wavesNoise);
|
|
116
|
+
|
|
117
|
+
opacity = clamp(opacity, 0., 1.);
|
|
118
|
+
|
|
119
|
+
fragColor = vec4(color, opacity);
|
|
120
|
+
}
|
|
121
|
+
`;
|
|
122
|
+
|
|
123
|
+
export { waterFragmentShader };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { ShaderTextureSource } from "../shared";
|
|
3
|
+
export interface WaterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/** Source image (URL or an existing HTMLImageElement). Required. */
|
|
5
|
+
image: ShaderTextureSource;
|
|
6
|
+
/** Background CSS color shown behind image edges. Default: 'var(--color-surface-sunken)'. */
|
|
7
|
+
colorBack?: string;
|
|
8
|
+
/** Caustic highlight tint color. Default: 'var(--color-primary-50)'. */
|
|
9
|
+
colorHighlight?: string;
|
|
10
|
+
/** Caustic highlight strength, 0-1+. Default: 0.5. */
|
|
11
|
+
highlights?: number;
|
|
12
|
+
/** Secondary caustic layer strength, 0-1. Default: 0.3. */
|
|
13
|
+
layering?: number;
|
|
14
|
+
/** Edge ripple distortion strength, 0-1. Default: 0. */
|
|
15
|
+
edges?: number;
|
|
16
|
+
/** Overall caustic distortion strength, 0-1. Default: 1. */
|
|
17
|
+
caustic?: number;
|
|
18
|
+
/** Wave displacement strength, 0-1. Default: 0.3. */
|
|
19
|
+
waves?: number;
|
|
20
|
+
/** Ripple pattern scale. Default: 0.3. */
|
|
21
|
+
size?: number;
|
|
22
|
+
/** Animation speed multiplier. Default: 1. */
|
|
23
|
+
speed?: number;
|
|
24
|
+
className?: string;
|
|
25
|
+
}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
export { CustomCursor } from "./CustomCursor";
|
|
2
|
-
export type { CustomCursorProps } from "./CustomCursor";
|
|
1
|
+
export { CustomCursorProvider, CustomCursor, CustomCursorFollow, useCustomCursor } from "./CustomCursor";
|
|
2
|
+
export type { CustomCursorProps, CustomCursorProviderProps, CustomCursorFollowProps, CustomCursorContextType, CustomCursorSize, CustomCursorColor, CustomCursorVariant, CustomCursorShape, CustomCursorTheme, CustomCursorThemeOverrides, } from "./CustomCursor";
|
|
3
3
|
export { GlassEffect } from "./GlassEffect";
|
|
4
4
|
export type { GlassEffectProps, BlendMode } from "./GlassEffect";
|
|
5
5
|
export { Overlay } from "./Overlay";
|
|
6
6
|
export type { OverlayProps, OverlayPosition, OverlayAnimations, } from "./Overlay";
|
|
7
|
-
export { SpotlightBorder } from "./SpotlightBorder";
|
|
8
|
-
export type { SpotlightBorderProps, SpotlightBorderVariation, } from "./SpotlightBorder";
|
|
9
7
|
export { GlassSurface } from "./GlassSurface";
|
|
10
8
|
export type { GlassSurfaceProps, GlassChannel, GlassMixBlendMode, } from "./GlassSurface";
|
|
11
|
-
export { AIOrb } from "./AIOrb";
|
|
12
|
-
export type { AIOrbProps, DotSphereProps, LiquidProps } from "./AIOrb";
|
|
13
9
|
export { Animated } from "./Animated";
|
|
14
10
|
export type { AnimatedGroupProps, AnimatedItemProps, AnimationPreset, AnimatedElement, } from "./Animated";
|
|
15
11
|
export { ProgressiveBlur } from "./ProgressiveBlur";
|
|
@@ -18,21 +14,66 @@ export { Aurora } from "./Aurora";
|
|
|
18
14
|
export type { AuroraProps } from "./Aurora";
|
|
19
15
|
export { MagneticElement } from "./MagneticElement";
|
|
20
16
|
export type { MagneticElementProps } from "./MagneticElement";
|
|
21
|
-
export { MorphingText } from "./MorphingText";
|
|
22
|
-
export type { MorphingTextProps } from "./MorphingText";
|
|
23
17
|
export { GridPattern } from "./GridPattern";
|
|
24
18
|
export type { GridPatternProps, GridPatternFadeDirection, } from "./GridPattern";
|
|
25
19
|
export { DotPattern } from "./DotPattern";
|
|
26
20
|
export type { DotPatternProps, DotPatternFadeDirection, } from "./DotPattern";
|
|
21
|
+
export { StripePattern } from "./StripePattern";
|
|
22
|
+
export type { StripePatternProps, StripePatternFadeDirection, } from "./StripePattern";
|
|
27
23
|
export { NoiseOverlay } from "./NoiseOverlay";
|
|
28
24
|
export type { NoiseOverlayProps, NoiseBlendMode } from "./NoiseOverlay";
|
|
29
|
-
export {
|
|
30
|
-
export type {
|
|
31
|
-
export { Particles } from "./Particles";
|
|
32
|
-
export type { ParticlesProps } from "./Particles";
|
|
33
|
-
export { ParallaxSection } from "./ParallaxSection";
|
|
34
|
-
export type { ParallaxSectionProps } from "./ParallaxSection";
|
|
25
|
+
export { TiltCard } from "./TiltCard";
|
|
26
|
+
export type { TiltCardProps, TiltCardVariation } from "./TiltCard";
|
|
35
27
|
export { ScrollReveal } from "./ScrollReveal";
|
|
36
28
|
export type { ScrollRevealProps, ScrollRevealPreset } from "./ScrollReveal";
|
|
37
|
-
export {
|
|
38
|
-
export type {
|
|
29
|
+
export { Preloader } from "./Preloader";
|
|
30
|
+
export type { PreloaderProps, PreloaderDirection, PreloaderType, } from "./Preloader";
|
|
31
|
+
export { InteractiveCharacters } from "./InteractiveCharacters";
|
|
32
|
+
export type { InteractiveCharactersProps, CharacterState, CharacterSize, } from "./InteractiveCharacters";
|
|
33
|
+
export { InsetCircleButton, InsetPill } from "./Neumorphic";
|
|
34
|
+
export type { InsetCircleButtonProps, InsetPillProps, } from "./Neumorphic";
|
|
35
|
+
export { AIOrb } from "./AIOrb";
|
|
36
|
+
export type { AIOrbProps, OrbState } from "./AIOrb";
|
|
37
|
+
export type { DotSphereProps, LiquidProps, AuraProps } from "./AIOrb";
|
|
38
|
+
export { Particles } from "./Particles";
|
|
39
|
+
export type { ParticlesProps } from "./Particles";
|
|
40
|
+
export { MeshGradient, DEFAULT_MESH_COLORS, MESH_PALETTES, pickPalette, getMeshTextTone, } from "./MeshGradient";
|
|
41
|
+
export type { MeshGradientProps, MeshGradientBlendMode, } from "./MeshGradient";
|
|
42
|
+
export { Shimmer } from "./Shimmer";
|
|
43
|
+
export type { ShimmerProps, ShimmerVariant } from "./Shimmer";
|
|
44
|
+
export { Dithering } from "./Dithering";
|
|
45
|
+
export type { DitheringProps, DitheringShape, DitheringType } from "./Dithering";
|
|
46
|
+
export { GradientMesh } from "./GradientMesh";
|
|
47
|
+
export type { GradientMeshProps } from "./GradientMesh";
|
|
48
|
+
export { StaticGradientMesh } from "./StaticGradientMesh";
|
|
49
|
+
export type { StaticGradientMeshProps } from "./StaticGradientMesh";
|
|
50
|
+
export { StaticRadialGradient } from "./StaticRadialGradient";
|
|
51
|
+
export type { StaticRadialGradientProps } from "./StaticRadialGradient";
|
|
52
|
+
export { Metaballs } from "./Metaballs";
|
|
53
|
+
export type { MetaballsProps } from "./Metaballs";
|
|
54
|
+
export { ColorPanels } from "./ColorPanels";
|
|
55
|
+
export type { ColorPanelsProps } from "./ColorPanels";
|
|
56
|
+
export { SmokeRing } from "./SmokeRing";
|
|
57
|
+
export type { SmokeRingProps } from "./SmokeRing";
|
|
58
|
+
export { GodRays } from "./GodRays";
|
|
59
|
+
export type { GodRaysProps } from "./GodRays";
|
|
60
|
+
export { GrainGradient } from "./GrainGradient";
|
|
61
|
+
export type { GrainGradientProps, GrainGradientShape } from "./GrainGradient";
|
|
62
|
+
export { PulsingBorder } from "./PulsingBorder";
|
|
63
|
+
export type { PulsingBorderProps } from "./PulsingBorder";
|
|
64
|
+
export { LiquidMetal } from "./LiquidMetal";
|
|
65
|
+
export type { LiquidMetalProps, LiquidMetalShape } from "./LiquidMetal";
|
|
66
|
+
export { GemSmoke } from "./GemSmoke";
|
|
67
|
+
export type { GemSmokeProps, GemSmokeShape } from "./GemSmoke";
|
|
68
|
+
export { Water } from "./Water";
|
|
69
|
+
export type { WaterProps } from "./Water";
|
|
70
|
+
export { ImageDithering } from "./ImageDithering";
|
|
71
|
+
export type { ImageDitheringProps, ImageDitheringType } from "./ImageDithering";
|
|
72
|
+
export { PaperTexture } from "./PaperTexture";
|
|
73
|
+
export type { PaperTextureProps } from "./PaperTexture";
|
|
74
|
+
export { FlutedGlass } from "./FlutedGlass";
|
|
75
|
+
export type { FlutedGlassProps, FlutedGlassShape, FlutedGlassDistortionShape, } from "./FlutedGlass";
|
|
76
|
+
export { HalftoneDots } from "./HalftoneDots";
|
|
77
|
+
export type { HalftoneDotsProps, HalftoneDotsType, HalftoneDotsGrid, } from "./HalftoneDots";
|
|
78
|
+
export { HalftoneCmyk } from "./HalftoneCmyk";
|
|
79
|
+
export type { HalftoneCmykProps } from "./HalftoneCmyk";
|