flikkui 0.1.0-beta.9 → 0.2.0-beta.2
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/README.md +14 -130
- package/dist/cli/commands/init.d.ts +7 -0
- package/dist/cli/commands/init.js +82 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.js +17 -0
- package/dist/cli/utils/detectProject.d.ts +9 -0
- package/dist/cli/utils/detectProject.js +126 -0
- package/dist/cli/utils/injectCSS.d.ts +8 -0
- package/dist/cli/utils/injectCSS.js +82 -0
- package/dist/cli/utils/installDeps.d.ts +2 -0
- package/dist/cli/utils/installDeps.js +44 -0
- package/dist/cli/utils/logger.d.ts +9 -0
- package/dist/cli/utils/logger.js +35 -0
- package/dist/cli/utils/setupTailwind.d.ts +7 -0
- package/dist/cli/utils/setupTailwind.js +98 -0
- package/dist/components/ai/ApprovalCard/ApprovalCard.d.ts +3 -0
- package/dist/components/ai/ApprovalCard/ApprovalCard.js +42 -0
- package/dist/components/ai/ApprovalCard/ApprovalCard.theme.d.ts +15 -0
- package/dist/components/ai/ApprovalCard/ApprovalCard.theme.js +17 -0
- package/dist/components/ai/ApprovalCard/ApprovalCard.types.d.ts +43 -0
- package/dist/components/ai/ApprovalCard/index.d.ts +2 -0
- package/dist/components/ai/ArtifactContainer/ArtifactContainer.d.ts +6 -0
- package/dist/components/ai/ArtifactContainer/ArtifactContainer.js +127 -0
- package/dist/components/ai/ArtifactContainer/ArtifactContainer.theme.d.ts +6 -0
- package/dist/components/ai/ArtifactContainer/ArtifactContainer.theme.js +14 -0
- package/dist/components/ai/ArtifactContainer/ArtifactContainer.types.d.ts +57 -0
- package/dist/components/ai/ArtifactContainer/index.d.ts +3 -0
- package/dist/components/ai/ChatInterface/ChatInterface.d.ts +26 -0
- package/dist/components/ai/ChatInterface/ChatInterface.js +65 -0
- package/dist/components/ai/ChatInterface/ChatInterface.theme.d.ts +2 -0
- package/dist/components/ai/ChatInterface/ChatInterface.theme.js +8 -0
- package/dist/components/ai/ChatInterface/ChatInterface.types.d.ts +68 -0
- package/dist/components/ai/ChatInterface/ChatInterface.types.js +19 -0
- package/dist/components/ai/ChatInterface/index.d.ts +4 -0
- package/dist/components/ai/CodeBlock/CodeBlock.d.ts +34 -0
- package/dist/components/ai/CodeBlock/CodeBlock.js +192 -0
- package/dist/components/ai/CodeBlock/CodeBlock.theme.d.ts +2 -0
- package/dist/components/ai/CodeBlock/CodeBlock.theme.js +17 -0
- package/dist/components/ai/CodeBlock/CodeBlock.types.d.ts +108 -0
- package/dist/components/ai/CodeBlock/LanguageIcon.d.ts +10 -0
- package/dist/components/ai/CodeBlock/LanguageIcon.js +98 -0
- package/dist/components/ai/CodeBlock/index.d.ts +3 -0
- package/dist/components/ai/EditingIndicator/EditingIndicator.animations.d.ts +31 -0
- package/dist/components/ai/EditingIndicator/EditingIndicator.animations.js +115 -0
- package/dist/components/ai/EditingIndicator/EditingIndicator.d.ts +35 -0
- package/dist/components/ai/EditingIndicator/EditingIndicator.js +94 -0
- package/dist/components/ai/EditingIndicator/EditingIndicator.theme.d.ts +2 -0
- package/dist/components/ai/EditingIndicator/EditingIndicator.theme.js +13 -0
- package/dist/components/ai/EditingIndicator/EditingIndicator.types.d.ts +54 -0
- package/dist/components/ai/EditingIndicator/index.d.ts +9 -0
- package/dist/components/ai/GenerativeRenderer/GenerativeRenderer.d.ts +3 -0
- package/dist/components/ai/GenerativeRenderer/GenerativeRenderer.js +126 -0
- package/dist/components/ai/GenerativeRenderer/GenerativeRenderer.theme.d.ts +2 -0
- package/dist/components/ai/GenerativeRenderer/GenerativeRenderer.theme.js +8 -0
- package/dist/components/ai/GenerativeRenderer/GenerativeRenderer.types.d.ts +45 -0
- package/dist/components/ai/GenerativeRenderer/index.d.ts +3 -0
- package/dist/components/ai/MessageHistory/MessageHistory.d.ts +18 -0
- package/dist/components/ai/MessageHistory/MessageHistory.js +100 -0
- package/dist/components/ai/MessageHistory/MessageHistory.theme.d.ts +2 -0
- package/dist/components/ai/MessageHistory/MessageHistory.theme.js +8 -0
- package/dist/components/ai/MessageHistory/MessageHistory.types.d.ts +94 -0
- package/dist/components/ai/MessageHistory/index.d.ts +3 -0
- package/dist/components/ai/PresenceIndicator/PresenceIndicator.animations.d.ts +17 -0
- package/dist/components/ai/PresenceIndicator/PresenceIndicator.animations.js +56 -0
- package/dist/components/ai/PresenceIndicator/PresenceIndicator.d.ts +38 -0
- package/dist/components/ai/PresenceIndicator/PresenceIndicator.js +110 -0
- package/dist/components/ai/PresenceIndicator/PresenceIndicator.theme.d.ts +2 -0
- package/dist/components/ai/PresenceIndicator/PresenceIndicator.theme.js +13 -0
- package/dist/components/ai/PresenceIndicator/PresenceIndicator.types.d.ts +53 -0
- package/dist/components/ai/PresenceIndicator/index.d.ts +8 -0
- package/dist/components/ai/PresenceProvider/PresenceContext.d.ts +24 -0
- package/dist/components/ai/PresenceProvider/PresenceContext.js +34 -0
- package/dist/components/ai/PresenceProvider/PresenceProvider.d.ts +32 -0
- package/dist/components/ai/PresenceProvider/PresenceProvider.js +321 -0
- package/dist/components/ai/PresenceProvider/PresenceProvider.types.d.ts +140 -0
- package/dist/components/ai/PresenceProvider/adapters/MockAdapter.d.ts +102 -0
- package/dist/components/ai/PresenceProvider/adapters/MockAdapter.js +331 -0
- package/dist/components/ai/PresenceProvider/adapters/PresenceAdapter.d.ts +93 -0
- package/dist/components/ai/PresenceProvider/adapters/SupabaseAdapter.d.ts +134 -0
- package/dist/components/ai/PresenceProvider/adapters/WebSocketAdapter.d.ts +149 -0
- package/dist/components/ai/PresenceProvider/adapters/index.d.ts +11 -0
- package/dist/components/ai/PresenceProvider/index.d.ts +10 -0
- package/dist/components/ai/PromptInput/PromptInput.d.ts +24 -0
- package/dist/components/ai/PromptInput/PromptInput.js +563 -0
- package/dist/components/ai/PromptInput/PromptInput.theme.d.ts +2 -0
- package/dist/components/ai/PromptInput/PromptInput.theme.js +15 -0
- package/dist/components/ai/PromptInput/PromptInput.types.d.ts +219 -0
- package/dist/components/ai/PromptInput/index.d.ts +3 -0
- package/dist/components/ai/PromptSuggestions/PromptSuggestions.d.ts +27 -0
- package/dist/components/ai/PromptSuggestions/PromptSuggestions.js +61 -0
- package/dist/components/ai/PromptSuggestions/PromptSuggestions.types.d.ts +65 -0
- package/dist/components/ai/PromptSuggestions/index.d.ts +2 -0
- package/dist/components/ai/StreamingResponse/ErrorDisplay.d.ts +23 -0
- package/dist/components/ai/StreamingResponse/ErrorDisplay.js +49 -0
- package/dist/components/ai/StreamingResponse/MarkdownRenderer.d.ts +17 -0
- package/dist/components/ai/StreamingResponse/MarkdownRenderer.js +114 -0
- package/dist/components/ai/StreamingResponse/StreamingResponse.d.ts +22 -0
- package/dist/components/ai/StreamingResponse/StreamingResponse.js +79 -0
- package/dist/components/ai/StreamingResponse/StreamingResponse.theme.d.ts +2 -0
- package/dist/components/ai/StreamingResponse/StreamingResponse.theme.js +10 -0
- package/dist/components/ai/StreamingResponse/StreamingResponse.types.d.ts +101 -0
- package/dist/components/ai/StreamingResponse/index.d.ts +9 -0
- package/dist/components/ai/ThinkingIndicator/ThinkingIndicator.animations.d.ts +10 -0
- package/dist/components/ai/ThinkingIndicator/ThinkingIndicator.animations.js +47 -0
- package/dist/components/ai/ThinkingIndicator/ThinkingIndicator.d.ts +20 -0
- package/dist/components/ai/ThinkingIndicator/ThinkingIndicator.js +56 -0
- package/dist/components/ai/ThinkingIndicator/ThinkingIndicator.theme.d.ts +2 -0
- package/dist/components/ai/ThinkingIndicator/ThinkingIndicator.theme.js +20 -0
- package/dist/components/ai/ThinkingIndicator/ThinkingIndicator.types.d.ts +67 -0
- package/dist/components/ai/ThinkingIndicator/index.d.ts +3 -0
- package/dist/components/ai/TokenCounter/TokenCounter.d.ts +21 -0
- package/dist/components/ai/TokenCounter/TokenCounter.js +72 -0
- package/dist/components/ai/TokenCounter/TokenCounter.theme.d.ts +2 -0
- package/dist/components/ai/TokenCounter/TokenCounter.theme.js +28 -0
- package/dist/components/ai/TokenCounter/TokenCounter.types.d.ts +104 -0
- package/dist/components/ai/TokenCounter/index.d.ts +4 -0
- package/dist/components/ai/TokenCounter/tokenUtils.d.ts +23 -0
- package/dist/components/ai/TokenCounter/tokenUtils.js +108 -0
- package/dist/components/ai/VersionSlider/VersionSlider.d.ts +3 -0
- package/dist/components/ai/VersionSlider/VersionSlider.js +97 -0
- package/dist/components/ai/VersionSlider/VersionSlider.theme.d.ts +2 -0
- package/dist/components/ai/VersionSlider/VersionSlider.theme.js +18 -0
- package/dist/components/ai/VersionSlider/VersionSlider.types.d.ts +77 -0
- package/dist/components/ai/VersionSlider/index.d.ts +3 -0
- package/dist/components/ai/index.d.ts +33 -0
- package/dist/components/charts/ActivityRings/ActivityRings.d.ts +9 -0
- package/dist/components/charts/ActivityRings/ActivityRings.js +163 -0
- package/dist/components/charts/ActivityRings/ActivityRings.theme.d.ts +7 -0
- package/dist/components/charts/ActivityRings/ActivityRings.theme.js +27 -0
- package/dist/components/charts/ActivityRings/ActivityRings.types.d.ts +62 -0
- package/dist/components/charts/ActivityRings/ActivityRings.types.js +8 -0
- package/dist/components/charts/ActivityRings/index.d.ts +4 -0
- package/dist/components/charts/AreaChart/AreaChart.js +291 -285
- package/dist/components/charts/AreaChart/AreaChart.theme.d.ts +24 -0
- package/dist/components/charts/AreaChart/AreaChart.theme.js +45 -0
- package/dist/components/charts/AreaChart/AreaChart.types.d.ts +4 -1
- package/dist/components/charts/AreaChart/AreaChart.types.js +12 -2
- package/dist/components/charts/AreaChart/index.d.ts +2 -0
- package/dist/components/charts/BarChart/BarChart.js +349 -262
- package/dist/components/charts/BarChart/BarChart.types.d.ts +13 -5
- package/dist/components/charts/BarChart/BarChart.types.js +10 -2
- package/dist/components/charts/ChartContainer.js +23 -19
- package/dist/components/charts/ComboChart/ComboChart.d.ts +9 -0
- package/dist/components/charts/ComboChart/ComboChart.js +160 -0
- package/dist/components/charts/ComboChart/ComboChart.theme.d.ts +7 -0
- package/dist/components/charts/ComboChart/ComboChart.types.d.ts +51 -0
- package/dist/components/charts/ComboChart/ComboChart.types.js +15 -0
- package/dist/components/charts/ComboChart/index.d.ts +4 -0
- package/dist/components/charts/DonutChart/DonutChart.js +171 -0
- package/dist/components/charts/DonutChart/DonutChart.theme.d.ts +0 -37
- package/dist/components/charts/DonutChart/DonutChart.theme.js +24 -0
- package/dist/components/charts/DonutChart/DonutChart.types.d.ts +16 -0
- package/dist/components/charts/DonutChart/MultiSegmentDonutChart.d.ts +7 -0
- package/dist/components/charts/DonutChart/MultiSegmentDonutChart.js +263 -0
- package/dist/components/charts/DonutChart/MultiSegmentDonutChart.theme.d.ts +50 -0
- package/dist/components/charts/DonutChart/MultiSegmentDonutChart.theme.js +36 -0
- package/dist/components/charts/DonutChart/MultiSegmentDonutChart.types.d.ts +124 -0
- package/dist/components/charts/DonutChart/donut-utils.d.ts +40 -0
- package/dist/components/charts/DonutChart/donut-utils.js +115 -0
- package/dist/components/charts/DonutChart/index.d.ts +9 -0
- package/dist/components/charts/FunnelChart/FunnelChart.animations.d.ts +35 -0
- package/dist/components/charts/FunnelChart/FunnelChart.animations.js +106 -0
- package/dist/components/charts/FunnelChart/FunnelChart.d.ts +9 -0
- package/dist/components/charts/FunnelChart/FunnelChart.js +511 -0
- package/dist/components/charts/FunnelChart/FunnelChart.theme.d.ts +2 -0
- package/dist/components/charts/FunnelChart/FunnelChart.theme.js +12 -0
- package/dist/components/charts/FunnelChart/FunnelChart.types.d.ts +105 -0
- package/dist/components/charts/FunnelChart/index.d.ts +4 -0
- package/dist/components/charts/Heatmap/Heatmap.js +76 -65
- package/dist/components/charts/Heatmap/Heatmap.theme.d.ts +12 -0
- package/dist/components/charts/Heatmap/Heatmap.theme.js +18 -0
- package/dist/components/charts/Heatmap/Heatmap.types.d.ts +7 -24
- package/dist/components/charts/Heatmap/HeatmapCell.js +25 -33
- package/dist/components/charts/Heatmap/HeatmapLegend.d.ts +0 -1
- package/dist/components/charts/Heatmap/HeatmapLegend.js +12 -11
- package/dist/components/charts/Heatmap/index.d.ts +2 -1
- package/dist/components/charts/Heatmap/utils/heatmapUtils.js +38 -42
- package/dist/components/charts/LineChart/LineChart.js +239 -204
- package/dist/components/charts/LineChart/LineChart.types.d.ts +9 -3
- package/dist/components/charts/LineChart/LineChart.types.js +10 -2
- package/dist/components/charts/ScatterPlot/ScatterPlot.d.ts +9 -0
- package/dist/components/charts/ScatterPlot/ScatterPlot.js +218 -0
- package/dist/components/charts/ScatterPlot/ScatterPlot.theme.d.ts +22 -0
- package/dist/components/charts/ScatterPlot/ScatterPlot.theme.js +38 -0
- package/dist/components/charts/ScatterPlot/ScatterPlot.types.d.ts +71 -0
- package/dist/components/charts/ScatterPlot/ScatterPlot.types.js +12 -0
- package/dist/components/charts/ScatterPlot/index.d.ts +3 -0
- package/dist/components/charts/StackedBarChart/StackedBarChart.d.ts +3 -0
- package/dist/components/charts/StackedBarChart/StackedBarChart.js +318 -0
- package/dist/components/charts/StackedBarChart/StackedBarChart.types.d.ts +34 -0
- package/dist/components/charts/StackedBarChart/StackedBarChart.types.js +14 -0
- package/dist/components/charts/StackedBarChart/index.d.ts +3 -0
- package/dist/components/charts/hooks/index.d.ts +2 -0
- package/dist/components/charts/hooks/useChartAccessibility.d.ts +1 -1
- package/dist/components/charts/hooks/useChartAccessibility.js +34 -41
- package/dist/components/charts/hooks/useChartScales.d.ts +87 -0
- package/dist/components/charts/hooks/useChartScales.js +178 -0
- package/dist/components/charts/hooks/useChartTheme.js +51 -32
- package/dist/components/charts/hooks/useChartValidation.js +15 -16
- package/dist/components/charts/hooks/useTooltipPosition.js +91 -89
- package/dist/components/charts/index.d.ts +52 -37
- package/dist/components/charts/index.js +38 -0
- package/dist/components/charts/shared/BarRenderer/BarRenderer.d.ts +9 -0
- package/dist/components/charts/shared/BarRenderer/BarRenderer.js +299 -0
- package/dist/components/charts/shared/BarRenderer/BarRenderer.types.d.ts +85 -0
- package/dist/components/charts/shared/BarRenderer/index.d.ts +3 -0
- package/dist/components/charts/shared/ChartAxis/ChartAxis.types.d.ts +2 -0
- package/dist/components/charts/shared/ChartAxis/XAxis.js +15 -6
- package/dist/components/charts/shared/ChartAxis/YAxis.js +24 -25
- package/dist/components/charts/shared/ChartContainer/ChartContainer.d.ts +85 -0
- package/dist/components/charts/shared/ChartContainer/ChartContainer.js +178 -0
- package/dist/components/charts/shared/ChartContainer/ChartContainer.types.d.ts +91 -0
- package/dist/components/charts/shared/ChartContainer/index.d.ts +3 -0
- package/dist/components/charts/shared/ChartCrosshair/ChartCrosshair.js +4 -6
- package/dist/components/charts/shared/ChartCrosshair/ChartCrosshair.theme.js +1 -1
- package/dist/components/charts/shared/ChartErrorBoundary/ChartErrorBoundary.js +15 -20
- package/dist/components/charts/shared/ChartGrid/HorizontalGrid.js +4 -5
- package/dist/components/charts/shared/ChartLegend/ChartLegend.js +5 -7
- package/dist/components/charts/shared/ChartLegend/ChartLegendContent.js +4 -6
- package/dist/components/charts/shared/ChartMarker/ChartMarker.js +6 -9
- package/dist/components/charts/shared/ChartMarker/ChartMarker.theme.js +1 -1
- package/dist/components/charts/shared/ChartMarker/ChartMarker.types.d.ts +1 -1
- package/dist/components/charts/shared/ChartText/ChartText.js +7 -9
- package/dist/components/charts/shared/ChartText/ChartText.theme.js +2 -2
- package/dist/components/charts/shared/ChartTooltip/ChartTooltip.d.ts +2 -2
- package/dist/components/charts/shared/ChartTooltip/ChartTooltip.js +56 -50
- package/dist/components/charts/shared/ChartTooltip/ChartTooltip.theme.d.ts +7 -0
- package/dist/components/charts/shared/ChartTooltip/ChartTooltip.theme.js +18 -0
- package/dist/components/charts/shared/ChartTooltip/ChartTooltip.types.d.ts +28 -2
- package/dist/components/charts/shared/ChartTooltip/index.d.ts +2 -1
- package/dist/components/charts/shared/LineRenderer/LineRenderer.d.ts +9 -0
- package/dist/components/charts/shared/LineRenderer/LineRenderer.js +310 -0
- package/dist/components/charts/shared/LineRenderer/LineRenderer.types.d.ts +83 -0
- package/dist/components/charts/shared/LineRenderer/index.d.ts +2 -0
- package/dist/components/charts/shared/index.d.ts +7 -0
- package/dist/components/charts/theme/chart.theme.js +2 -2
- package/dist/components/charts/types/chart.types.d.ts +8 -3
- package/dist/components/charts/types/chart.types.js +5 -3
- package/dist/components/charts/utils/animation-utils.d.ts +111 -0
- package/dist/components/charts/utils/animation-utils.js +116 -0
- package/dist/components/charts/utils/chart-validation.js +79 -96
- package/dist/components/charts/utils/color-utils.js +32 -72
- package/dist/components/charts/utils/index.d.ts +1 -0
- package/dist/components/core/Accordion/Accordion.animations.js +2 -2
- package/dist/components/core/Accordion/Accordion.d.ts +2 -3
- package/dist/components/core/Accordion/Accordion.js +23 -19
- package/dist/components/core/Accordion/Accordion.theme.d.ts +3 -0
- package/dist/components/core/Accordion/Accordion.theme.js +14 -4
- package/dist/components/core/Accordion/Accordion.types.d.ts +7 -0
- package/dist/components/core/Accordion/AccordionContent.js +7 -14
- package/dist/components/core/Accordion/AccordionItem.js +17 -21
- package/dist/components/core/Accordion/AccordionTrigger.js +7 -18
- package/dist/components/core/Accordion/index.d.ts +1 -2
- package/dist/components/core/Alert/Alert.d.ts +3 -0
- package/dist/components/core/Alert/Alert.js +33 -0
- package/dist/components/core/Alert/Alert.theme.d.ts +2 -0
- package/dist/components/core/Alert/Alert.theme.js +16 -0
- package/dist/components/core/Alert/Alert.types.d.ts +35 -0
- package/dist/components/core/AlertDialog/AlertDialog.d.ts +6 -0
- package/dist/components/core/AlertDialog/AlertDialog.js +24 -0
- package/dist/components/core/AlertDialog/AlertDialog.types.d.ts +18 -0
- package/dist/components/core/AlertDialog/index.d.ts +2 -0
- package/dist/components/core/Avatar/Avatar.d.ts +0 -1
- package/dist/components/core/Avatar/Avatar.js +38 -35
- package/dist/components/core/Avatar/Avatar.theme.d.ts +1 -1
- package/dist/components/core/Avatar/Avatar.theme.js +12 -12
- package/dist/components/core/Avatar/Avatar.types.d.ts +5 -0
- package/dist/components/core/AvatarGroup/AvatarGroup.animations.d.ts +6 -5
- package/dist/components/core/AvatarGroup/AvatarGroup.animations.js +61 -35
- package/dist/components/core/AvatarGroup/AvatarGroup.d.ts +0 -1
- package/dist/components/core/AvatarGroup/AvatarGroup.js +51 -45
- package/dist/components/core/AvatarGroup/AvatarGroup.theme.d.ts +1 -1
- package/dist/components/core/AvatarGroup/AvatarGroup.theme.js +9 -9
- package/dist/components/core/Badge/Badge.animations.js +5 -5
- package/dist/components/core/Badge/Badge.d.ts +2 -2
- package/dist/components/core/Badge/Badge.js +174 -57
- package/dist/components/core/Badge/Badge.theme.d.ts +2 -1
- package/dist/components/core/Badge/Badge.theme.js +109 -28
- package/dist/components/core/Badge/Badge.types.d.ts +100 -32
- package/dist/components/core/Breadcrumbs/Breadcrumbs.d.ts +3 -3
- package/dist/components/core/Breadcrumbs/Breadcrumbs.js +52 -48
- package/dist/components/core/Breadcrumbs/Breadcrumbs.theme.d.ts +2 -0
- package/dist/components/core/Breadcrumbs/Breadcrumbs.theme.js +11 -13
- package/dist/components/core/Breadcrumbs/Breadcrumbs.types.d.ts +4 -15
- package/dist/components/core/Breadcrumbs/index.d.ts +1 -2
- package/dist/components/core/Button/Button.d.ts +1 -1
- package/dist/components/core/Button/Button.js +111 -54
- package/dist/components/core/Button/Button.ripple.d.ts +67 -0
- package/dist/components/core/Button/Button.ripple.js +227 -0
- package/dist/components/core/Button/Button.theme.d.ts +11 -4
- package/dist/components/core/Button/Button.theme.js +120 -17
- package/dist/components/core/Button/Button.types.d.ts +21 -2
- package/dist/components/core/Button/index.d.ts +1 -1
- package/dist/components/core/ButtonGroup/ButtonGroup.d.ts +4 -0
- package/dist/components/core/ButtonGroup/ButtonGroup.js +10 -0
- package/dist/components/core/ButtonGroup/ButtonGroup.theme.d.ts +19 -0
- package/dist/components/core/ButtonGroup/ButtonGroup.theme.js +50 -0
- package/dist/components/core/ButtonGroup/ButtonGroup.types.d.ts +36 -0
- package/dist/components/core/ButtonGroup/ButtonGroupSeparator.d.ts +4 -0
- package/dist/components/core/ButtonGroup/ButtonGroupSeparator.js +12 -0
- package/dist/components/core/ButtonGroup/ButtonGroupText.d.ts +4 -0
- package/dist/components/core/ButtonGroup/ButtonGroupText.js +20 -0
- package/dist/components/core/ButtonGroup/index.d.ts +4 -0
- package/dist/components/core/Calendar/Calendar.animations.d.ts +12 -0
- package/dist/components/core/Calendar/Calendar.animations.js +37 -0
- package/dist/components/core/Calendar/Calendar.d.ts +3 -0
- package/dist/components/core/Calendar/Calendar.js +401 -0
- package/dist/components/core/Calendar/Calendar.theme.d.ts +6 -0
- package/dist/components/core/Calendar/Calendar.theme.js +54 -0
- package/dist/components/core/Calendar/Calendar.types.d.ts +124 -0
- package/dist/components/core/Calendar/CalendarEvent/CalendarEvent.d.ts +1 -1
- package/dist/components/core/Calendar/CalendarEvent/index.d.ts +2 -2
- package/dist/components/core/Calendar/CalendarMini/CalendarMini.animations.d.ts +4 -0
- package/dist/components/core/Calendar/CalendarMini/CalendarMini.animations.js +27 -0
- package/dist/components/core/Calendar/CalendarMini/CalendarMini.d.ts +3 -0
- package/dist/components/core/Calendar/CalendarMini/CalendarMini.js +266 -0
- package/dist/components/core/Calendar/CalendarMini/CalendarMini.theme.d.ts +2 -0
- package/dist/components/core/Calendar/CalendarMini/CalendarMini.theme.js +9 -0
- package/dist/components/core/Calendar/CalendarMini/CalendarMini.types.d.ts +93 -0
- package/dist/components/core/Calendar/CalendarMini/index.d.ts +2 -0
- package/dist/components/core/Calendar/calendar.utils.d.ts +19 -0
- package/dist/components/core/Calendar/calendar.utils.js +53 -0
- package/dist/components/core/Calendar/index.d.ts +5 -0
- package/dist/components/core/Card/Card.d.ts +7 -7
- package/dist/components/core/Card/Card.js +12 -31
- package/dist/components/core/Card/Card.theme.d.ts +1 -1
- package/dist/components/core/Card/Card.theme.js +7 -2
- package/dist/components/core/Card/Card.types.d.ts +12 -2
- package/dist/components/core/Card/CardContent.d.ts +3 -0
- package/dist/components/core/Card/CardContent.js +10 -0
- package/dist/components/core/Card/CardDescription.d.ts +3 -0
- package/dist/components/core/Card/CardDescription.js +10 -0
- package/dist/components/core/Card/CardFooter.d.ts +3 -0
- package/dist/components/core/Card/CardFooter.js +10 -0
- package/dist/components/core/Card/CardHeader.d.ts +3 -0
- package/dist/components/core/Card/CardHeader.js +10 -0
- package/dist/components/core/Card/CardTitle.d.ts +3 -0
- package/dist/components/core/Card/CardTitle.js +10 -0
- package/dist/components/core/CardStack/CardStack.animations.d.ts +47 -0
- package/dist/components/core/CardStack/CardStack.d.ts +3 -0
- package/dist/components/core/CardStack/CardStack.js +181 -0
- package/dist/components/core/CardStack/CardStack.theme.d.ts +6 -0
- package/dist/components/core/CardStack/CardStack.theme.js +33 -0
- package/dist/components/core/CardStack/CardStack.types.d.ts +139 -0
- package/dist/components/core/CardStack/index.d.ts +7 -0
- package/dist/components/core/Carousel/Carousel.d.ts +1 -1
- package/dist/components/core/Carousel/Carousel.js +71 -80
- package/dist/components/core/Carousel/Carousel.theme.d.ts +9 -1
- package/dist/components/core/Carousel/Carousel.theme.js +17 -13
- package/dist/components/core/Carousel/Carousel.types.d.ts +58 -109
- package/dist/components/core/Carousel/CarouselContent.d.ts +4 -0
- package/dist/components/core/Carousel/CarouselContent.js +54 -0
- package/dist/components/core/Carousel/CarouselContext.js +3 -3
- package/dist/components/core/Carousel/CarouselItem.d.ts +4 -0
- package/dist/components/core/Carousel/CarouselItem.js +10 -0
- package/dist/components/core/Carousel/CarouselNext.d.ts +4 -0
- package/dist/components/core/Carousel/CarouselNext.js +14 -0
- package/dist/components/core/Carousel/CarouselPrevious.d.ts +4 -0
- package/dist/components/core/Carousel/CarouselPrevious.js +14 -0
- package/dist/components/core/Carousel/index.d.ts +2 -4
- package/dist/components/core/CommandPalette/CommandItem.d.ts +51 -0
- package/dist/components/core/CommandPalette/CommandItem.js +139 -0
- package/dist/components/core/CommandPalette/CommandPalette.animations.d.ts +6 -0
- package/dist/components/core/CommandPalette/CommandPalette.animations.js +51 -0
- package/dist/components/core/CommandPalette/CommandPalette.d.ts +29 -0
- package/dist/components/core/CommandPalette/CommandPalette.js +220 -0
- package/dist/components/core/CommandPalette/CommandPalette.theme.d.ts +2 -0
- package/dist/components/core/CommandPalette/CommandPalette.theme.js +30 -0
- package/dist/components/core/CommandPalette/CommandPalette.types.d.ts +89 -0
- package/dist/components/core/CommandPalette/index.d.ts +3 -0
- package/dist/components/core/ContextMenu/ContextMenu.d.ts +15 -0
- package/dist/components/core/ContextMenu/ContextMenu.theme.d.ts +11 -0
- package/dist/components/core/ContextMenu/ContextMenu.types.d.ts +86 -0
- package/dist/components/core/ContextMenu/ContextMenuContent.d.ts +6 -0
- package/dist/components/core/ContextMenu/ContextMenuContext.d.ts +5 -0
- package/dist/components/core/ContextMenu/ContextMenuItem.d.ts +7 -0
- package/dist/components/core/ContextMenu/ContextMenuLabel.d.ts +6 -0
- package/dist/components/core/ContextMenu/ContextMenuSeparator.d.ts +6 -0
- package/dist/components/core/ContextMenu/ContextMenuSub.d.ts +6 -0
- package/dist/components/core/ContextMenu/ContextMenuSubContent.d.ts +6 -0
- package/dist/components/core/ContextMenu/ContextMenuSubTrigger.d.ts +6 -0
- package/dist/components/core/ContextMenu/ContextMenuTrigger.d.ts +6 -0
- package/dist/components/core/ContextMenu/index.d.ts +4 -0
- package/dist/components/core/Divider/Divider.js +19 -11
- package/dist/components/core/Divider/Divider.theme.js +1 -1
- package/dist/components/core/DragDrop/DragDrop.d.ts +9 -0
- package/dist/components/core/DragDrop/DragDrop.js +207 -0
- package/dist/components/core/DragDrop/DragDrop.theme.js +8 -0
- package/dist/components/core/DragDrop/DragDrop.types.d.ts +55 -0
- package/dist/components/core/DragDrop/index.d.ts +2 -0
- package/dist/components/core/Drawer/Drawer.animations.js +3 -3
- package/dist/components/core/Drawer/Drawer.d.ts +3 -4
- package/dist/components/core/Drawer/Drawer.js +42 -33
- package/dist/components/core/Drawer/Drawer.theme.d.ts +6 -4
- package/dist/components/core/Drawer/Drawer.theme.js +30 -19
- package/dist/components/core/Drawer/Drawer.types.d.ts +2 -2
- package/dist/components/core/Drawer/DrawerContent.d.ts +6 -0
- package/dist/components/core/Drawer/DrawerContent.js +11 -0
- package/dist/components/core/Drawer/DrawerFooter.js +3 -5
- package/dist/components/core/Drawer/DrawerHeader.js +6 -8
- package/dist/components/core/Drawer/index.d.ts +2 -2
- package/dist/components/core/Dropdown/Dropdown.d.ts +15 -0
- package/dist/components/core/Dropdown/Dropdown.js +93 -0
- package/dist/components/core/Dropdown/Dropdown.theme.d.ts +10 -0
- package/dist/components/core/Dropdown/Dropdown.theme.js +33 -0
- package/dist/components/core/Dropdown/Dropdown.types.d.ts +83 -0
- package/dist/components/core/Dropdown/DropdownContext.d.ts +3 -0
- package/dist/components/core/Dropdown/DropdownContext.js +12 -0
- package/dist/components/core/Dropdown/DropdownItem.d.ts +6 -0
- package/dist/components/core/Dropdown/DropdownItem.js +78 -0
- package/dist/components/core/Dropdown/DropdownMenu.d.ts +6 -0
- package/dist/components/core/Dropdown/DropdownMenu.js +222 -0
- package/dist/components/core/Dropdown/DropdownSection.d.ts +6 -0
- package/dist/components/core/Dropdown/DropdownSection.js +18 -0
- package/dist/components/core/Dropdown/DropdownSeparator.d.ts +6 -0
- package/dist/components/core/Dropdown/DropdownSeparator.js +14 -0
- package/dist/components/core/Dropdown/DropdownTrigger.d.ts +9 -0
- package/dist/components/core/Dropdown/DropdownTrigger.js +44 -0
- package/dist/components/core/Dropdown/index.d.ts +9 -0
- package/dist/components/core/Empty/Empty.d.ts +4 -0
- package/dist/components/core/Empty/Empty.js +24 -0
- package/dist/components/core/Empty/Empty.theme.js +13 -0
- package/dist/components/core/Empty/index.d.ts +3 -0
- package/dist/components/core/Kbd/Kbd.d.ts +14 -0
- package/dist/components/core/Kbd/Kbd.js +69 -0
- package/dist/components/core/Kbd/Kbd.theme.d.ts +10 -0
- package/dist/components/core/Kbd/Kbd.theme.js +13 -0
- package/dist/components/core/Kbd/Kbd.types.d.ts +22 -0
- package/dist/components/core/Kbd/index.d.ts +2 -0
- package/dist/components/core/Link/Link.d.ts +4 -0
- package/dist/components/core/Link/Link.js +39 -0
- package/dist/components/core/Link/Link.types.d.ts +22 -0
- package/dist/components/core/Link/index.d.ts +2 -0
- package/dist/components/core/Loader/Loader.d.ts +24 -0
- package/dist/components/core/Loader/Loader.js +59 -0
- package/dist/components/core/Loader/Loader.theme.d.ts +27 -0
- package/dist/components/core/Loader/Loader.theme.js +60 -0
- package/dist/components/core/Loader/Loader.types.d.ts +71 -0
- package/dist/components/core/Loader/index.d.ts +2 -0
- package/dist/components/core/Masonry/Masonry.d.ts +4 -0
- package/dist/components/core/Masonry/Masonry.js +212 -0
- package/dist/components/core/Masonry/Masonry.theme.js +34 -0
- package/dist/components/core/Masonry/Masonry.types.d.ts +49 -0
- package/dist/components/core/Masonry/index.d.ts +3 -0
- package/dist/components/core/Message/Message.d.ts +8 -0
- package/dist/components/core/Message/Message.js +130 -0
- package/dist/components/core/Message/Message.theme.d.ts +6 -0
- package/dist/components/core/Message/Message.theme.js +46 -0
- package/dist/components/core/Message/Message.types.d.ts +169 -0
- package/dist/components/core/Message/MessageActions.d.ts +8 -0
- package/dist/components/core/Message/MessageActions.js +16 -0
- package/dist/components/core/Message/MessageAvatar.d.ts +16 -0
- package/dist/components/core/Message/MessageAvatar.js +16 -0
- package/dist/components/core/Message/MessageContent.d.ts +8 -0
- package/dist/components/core/Message/MessageContent.js +21 -0
- package/dist/components/core/Message/MessageContext.d.ts +9 -0
- package/dist/components/core/Message/MessageContext.js +12 -0
- package/dist/components/core/Message/MessageTimestamp.d.ts +8 -0
- package/dist/components/core/Message/MessageTimestamp.js +18 -0
- package/dist/components/core/Message/TypeWriter.d.ts +38 -0
- package/dist/components/core/Message/TypeWriter.js +27 -0
- package/dist/components/core/Message/index.d.ts +5 -0
- package/dist/components/core/Metric/Metric.d.ts +3 -0
- package/dist/components/core/Metric/Metric.js +29 -0
- package/dist/components/core/Metric/Metric.theme.d.ts +6 -0
- package/dist/components/core/Metric/Metric.theme.js +68 -0
- package/dist/components/core/Metric/Metric.types.d.ts +73 -0
- package/dist/components/core/Metric/index.d.ts +3 -0
- package/dist/components/core/Modal/Modal.animations.js +2 -2
- package/dist/components/core/Modal/Modal.d.ts +10 -3
- package/dist/components/core/Modal/Modal.js +45 -29
- package/dist/components/core/Modal/Modal.theme.js +11 -10
- package/dist/components/core/Modal/Modal.types.d.ts +18 -5
- package/dist/components/core/Modal/ModalBody.js +33 -6
- package/dist/components/core/Modal/ModalDescription.d.ts +6 -0
- package/dist/components/core/Modal/ModalDescription.js +11 -0
- package/dist/components/core/Modal/ModalFooter.js +3 -5
- package/dist/components/core/Modal/ModalHeader.d.ts +1 -1
- package/dist/components/core/Modal/ModalHeader.js +12 -10
- package/dist/components/core/Modal/ModalTitle.d.ts +6 -0
- package/dist/components/core/Modal/ModalTitle.js +11 -0
- package/dist/components/core/Modal/index.d.ts +2 -2
- package/dist/components/core/NavItem/NavItem.js +132 -0
- package/dist/components/core/NavItem/NavItem.theme.js +27 -0
- package/dist/components/core/NavItem/NavItem.types.d.ts +168 -0
- package/dist/components/core/Notification/Notification.js +106 -0
- package/dist/components/core/Notification/Notification.theme.d.ts +16 -0
- package/dist/components/core/Notification/Notification.theme.js +57 -0
- package/dist/components/core/Notification/Notification.types.d.ts +46 -0
- package/dist/components/core/OfflineIndicator/OfflineIndicator.d.ts +20 -0
- package/dist/components/core/OfflineIndicator/OfflineIndicator.js +112 -0
- package/dist/components/core/OfflineIndicator/OfflineIndicator.theme.d.ts +2 -0
- package/dist/components/core/OfflineIndicator/OfflineIndicator.theme.js +22 -0
- package/dist/components/core/OfflineIndicator/OfflineIndicator.types.d.ts +57 -0
- package/dist/components/core/OfflineIndicator/index.d.ts +3 -0
- package/dist/components/core/Pagination/Pagination.d.ts +1 -1
- package/dist/components/core/Pagination/Pagination.js +53 -59
- package/dist/components/core/Pagination/Pagination.theme.d.ts +6 -15
- package/dist/components/core/Pagination/Pagination.theme.js +28 -19
- package/dist/components/core/Pagination/Pagination.types.d.ts +2 -23
- package/dist/components/core/Pagination/index.d.ts +1 -1
- package/dist/components/core/Pill/Pill.animations.d.ts +32 -0
- package/dist/components/core/Pill/Pill.animations.js +25 -0
- package/dist/components/core/Pill/Pill.d.ts +43 -0
- package/dist/components/core/Pill/Pill.js +145 -0
- package/dist/components/core/Pill/Pill.theme.d.ts +8 -0
- package/dist/components/core/Pill/Pill.theme.js +65 -0
- package/dist/components/core/Pill/Pill.types.d.ts +95 -0
- package/dist/components/core/Pill/index.d.ts +3 -0
- package/dist/components/core/Popover/Popover.animations.js +3 -3
- package/dist/components/core/Popover/Popover.d.ts +1 -20
- package/dist/components/core/Popover/Popover.js +27 -26
- package/dist/components/core/Popover/Popover.theme.js +2 -2
- package/dist/components/core/Popover/PopoverContent.d.ts +1 -1
- package/dist/components/core/Popover/PopoverContent.js +37 -127
- package/dist/components/core/Popover/PopoverContext.js +3 -3
- package/dist/components/core/Popover/PopoverTrigger.js +21 -12
- package/dist/components/core/Popover/index.d.ts +1 -2
- package/dist/components/core/ProgressiveBlur/ProgressiveBlur.d.ts +30 -3
- package/dist/components/core/ProgressiveBlur/ProgressiveBlur.js +216 -32
- package/dist/components/core/ProgressiveBlur/ProgressiveBlur.theme.d.ts +0 -6
- package/dist/components/core/ProgressiveBlur/ProgressiveBlur.types.d.ts +8 -2
- package/dist/components/core/ProgressiveBlur/index.d.ts +2 -2
- package/dist/components/core/RetryBoundary/RetryBoundary.d.ts +35 -0
- package/dist/components/core/RetryBoundary/RetryBoundary.js +154 -0
- package/dist/components/core/RetryBoundary/RetryBoundary.theme.d.ts +2 -0
- package/dist/components/core/RetryBoundary/RetryBoundary.theme.js +7 -0
- package/dist/components/core/RetryBoundary/RetryBoundary.types.d.ts +51 -0
- package/dist/components/core/RetryBoundary/index.d.ts +3 -0
- package/dist/components/core/Segmented/Segmented.d.ts +0 -1
- package/dist/components/core/Segmented/Segmented.js +24 -24
- package/dist/components/core/Segmented/Segmented.theme.d.ts +1 -1
- package/dist/components/core/Segmented/Segmented.theme.js +7 -7
- package/dist/components/core/Segmented/SegmentedContext.js +1 -1
- package/dist/components/core/Segmented/SegmentedItem.d.ts +0 -1
- package/dist/components/core/Segmented/SegmentedItem.js +9 -11
- package/dist/components/core/Segmented/index.d.ts +0 -2
- package/dist/components/core/Sidebar/Sidebar.d.ts +3 -0
- package/dist/components/core/Sidebar/Sidebar.js +41 -0
- package/dist/components/core/Sidebar/Sidebar.theme.js +16 -0
- package/dist/components/core/Sidebar/SidebarContent.d.ts +3 -0
- package/dist/components/core/Sidebar/SidebarContent.js +12 -0
- package/dist/components/core/Sidebar/SidebarContext.js +37 -0
- package/dist/components/core/Sidebar/SidebarFooter.d.ts +3 -0
- package/dist/components/core/Sidebar/SidebarFooter.js +12 -0
- package/dist/components/core/Sidebar/SidebarHeader.d.ts +3 -0
- package/dist/components/core/Sidebar/SidebarHeader.js +19 -0
- package/dist/components/core/Sidebar/SidebarNav.js +9 -0
- package/dist/components/core/Sidebar/SidebarNavGroup.d.ts +3 -0
- package/dist/components/core/Sidebar/SidebarNavGroup.js +17 -0
- package/dist/components/core/Sidebar/SidebarSubmenu.d.ts +7 -0
- package/dist/components/core/Sidebar/SidebarSubmenu.js +12 -0
- package/dist/components/core/Sidebar/SidebarToggle.d.ts +3 -0
- package/dist/components/core/Sidebar/SidebarToggle.js +28 -0
- package/dist/components/core/Sidebar/index.d.ts +10 -0
- package/dist/components/core/Skeleton/Skeleton.d.ts +24 -0
- package/dist/components/core/Skeleton/Skeleton.js +60 -0
- package/dist/components/core/Skeleton/Skeleton.theme.d.ts +15 -0
- package/dist/components/core/Skeleton/Skeleton.theme.js +18 -0
- package/dist/components/core/Skeleton/Skeleton.types.d.ts +45 -0
- package/dist/components/core/Skeleton/index.d.ts +2 -0
- package/dist/components/core/SlidingNumber/SlidingNumber.d.ts +16 -0
- package/dist/components/core/SlidingNumber/SlidingNumber.js +67 -0
- package/dist/components/core/SlidingNumber/SlidingNumber.types.d.ts +36 -0
- package/dist/components/core/SlidingNumber/index.d.ts +2 -0
- package/dist/components/core/Sortable/Sortable.animations.d.ts +48 -0
- package/dist/components/core/Sortable/Sortable.animations.js +78 -0
- package/dist/components/core/Sortable/Sortable.d.ts +4 -0
- package/dist/components/core/Sortable/Sortable.js +210 -0
- package/dist/components/core/Sortable/Sortable.theme.js +7 -0
- package/dist/components/core/Sortable/Sortable.types.d.ts +71 -0
- package/dist/components/core/Spinner/Spinner.d.ts +4 -0
- package/dist/components/core/Spinner/Spinner.js +12 -0
- package/dist/components/core/Spinner/Spinner.theme.js +26 -0
- package/dist/components/core/Spinner/Spinner.types.d.ts +31 -0
- package/dist/components/core/Spinner/index.d.ts +2 -0
- package/dist/components/core/Stepper/Stepper.d.ts +1 -1
- package/dist/components/core/Stepper/Stepper.js +17 -16
- package/dist/components/core/Stepper/Stepper.theme.d.ts +35 -30
- package/dist/components/core/Stepper/Stepper.theme.js +51 -3
- package/dist/components/core/Stepper/Stepper.types.d.ts +2 -0
- package/dist/components/core/Stepper/StepperItem.d.ts +26 -0
- package/dist/components/core/Stepper/StepperItem.js +112 -0
- package/dist/components/core/Stepper/index.d.ts +1 -1
- package/dist/components/core/Table/Table.d.ts +54 -0
- package/dist/components/core/Table/Table.js +223 -0
- package/dist/components/core/Table/Table.theme.js +63 -0
- package/dist/components/core/Table/Table.types.d.ts +268 -0
- package/dist/components/core/Table/Table.utils.js +30 -0
- package/dist/components/core/Table/components/DeclarativeComponents.js +117 -0
- package/dist/components/core/Table/components/TableActions/TableActions.d.ts +8 -0
- package/dist/components/core/Table/components/TableActions/TableActions.js +73 -0
- package/dist/components/core/Table/components/TableActions/TableActionsMenu.js +27 -0
- package/dist/components/core/Table/components/TablePagination/TablePagination.js +49 -0
- package/dist/components/core/Table/components/TableSelectionHeader/TableSelectionHeader.d.ts +15 -0
- package/dist/components/core/Table/components/TableSelectionHeader/TableSelectionHeader.js +27 -0
- package/dist/components/core/Table/components/TableSelectionHeader/index.d.ts +3 -0
- package/dist/components/core/Table/components/core/TableBody.js +32 -0
- package/dist/components/core/Table/components/core/TableCell.js +45 -0
- package/dist/components/core/Table/components/core/TableHeader.js +75 -0
- package/dist/components/core/Table/components/core/TableRow.js +44 -0
- package/dist/components/core/Table/index.d.ts +20 -0
- package/dist/components/core/Table/index.js +21 -0
- package/dist/components/core/Tabs/Tabs.animations.d.ts +23 -0
- package/dist/components/core/Tabs/Tabs.animations.js +84 -0
- package/dist/components/core/Tabs/Tabs.d.ts +0 -1
- package/dist/components/core/Tabs/Tabs.js +64 -20
- package/dist/components/core/Tabs/Tabs.theme.d.ts +2 -1
- package/dist/components/core/Tabs/Tabs.theme.js +12 -10
- package/dist/components/core/Tabs/Tabs.types.d.ts +86 -20
- package/dist/components/core/Tabs/TabsContent.d.ts +1 -1
- package/dist/components/core/Tabs/TabsContent.js +36 -11
- package/dist/components/core/Tabs/TabsContext.js +3 -3
- package/dist/components/core/Tabs/TabsList.d.ts +1 -1
- package/dist/components/core/Tabs/TabsList.js +78 -7
- package/dist/components/core/Tabs/TabsTrigger.d.ts +1 -1
- package/dist/components/core/Tabs/TabsTrigger.js +121 -53
- package/dist/components/core/Tabs/index.d.ts +1 -4
- package/dist/components/core/Toast/Toast.animations.js +58 -0
- package/dist/components/core/Toast/Toast.js +62 -0
- package/dist/components/core/Toast/Toast.theme.js +22 -0
- package/dist/components/core/Toast/Toast.types.d.ts +108 -0
- package/dist/components/core/Toast/ToastProvider.js +75 -0
- package/dist/components/core/Toast/useToast.js +97 -0
- package/dist/components/core/Tooltip/Tooltip.animations.js +45 -11
- package/dist/components/core/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/core/Tooltip/Tooltip.js +96 -50
- package/dist/components/core/Tooltip/Tooltip.theme.d.ts +0 -4
- package/dist/components/core/Tooltip/Tooltip.theme.js +4 -8
- package/dist/components/core/Tooltip/index.d.ts +1 -1
- package/dist/components/core/Tree/Tree.animations.d.ts +4 -3
- package/dist/components/core/Tree/Tree.animations.js +75 -17
- package/dist/components/core/Tree/Tree.js +99 -69
- package/dist/components/core/Tree/Tree.theme.js +7 -8
- package/dist/components/core/Tree/Tree.types.d.ts +0 -2
- package/dist/components/core/index.d.ts +45 -0
- package/dist/components/core/index.js +94 -0
- package/dist/components/effects/CustomCursor/CustomCursor.animations.d.ts +16 -0
- package/dist/components/effects/CustomCursor/CustomCursor.animations.js +46 -0
- package/dist/components/effects/CustomCursor/CustomCursor.d.ts +48 -0
- package/dist/components/effects/CustomCursor/CustomCursor.js +300 -0
- package/dist/components/effects/CustomCursor/CustomCursor.theme.d.ts +6 -0
- package/dist/components/effects/CustomCursor/CustomCursor.theme.js +32 -0
- package/dist/components/effects/CustomCursor/CustomCursor.types.d.ts +88 -0
- package/dist/components/effects/CustomCursor/index.d.ts +4 -0
- package/dist/components/effects/GlassEffect/GlassEffect.d.ts +15 -0
- package/dist/components/effects/GlassEffect/GlassEffect.js +38 -0
- package/dist/components/effects/GlassEffect/GlassEffect.types.d.ts +19 -0
- package/dist/components/effects/GlassEffect/index.d.ts +2 -0
- package/dist/components/effects/GlassSurface/GlassSurface.d.ts +8 -0
- package/dist/components/effects/GlassSurface/GlassSurface.js +262 -0
- package/dist/components/effects/GlassSurface/GlassSurface.types.d.ts +57 -0
- package/dist/components/effects/GlassSurface/index.d.ts +2 -0
- package/dist/components/effects/Overlay/Overlay.d.ts +31 -0
- package/dist/components/effects/Overlay/Overlay.js +141 -0
- package/dist/components/effects/Overlay/Overlay.types.d.ts +49 -0
- package/dist/components/effects/Overlay/index.d.ts +2 -0
- package/dist/components/effects/SpotlightBorder/SpotlightBorder.d.ts +18 -0
- package/dist/components/effects/SpotlightBorder/SpotlightBorder.js +196 -0
- package/dist/components/effects/SpotlightBorder/SpotlightBorder.shaders.d.ts +7 -0
- package/dist/components/effects/SpotlightBorder/SpotlightBorder.shaders.js +152 -0
- package/dist/components/effects/SpotlightBorder/SpotlightBorder.types.d.ts +61 -0
- package/dist/components/effects/SpotlightBorder/SpotlightBorder.types.js +8 -0
- package/dist/components/effects/SpotlightBorder/index.d.ts +2 -0
- package/dist/components/effects/index.d.ts +10 -0
- package/dist/components/effects/index.js +5 -0
- package/dist/components/forms/Checkbox/Checkbox.d.ts +0 -1
- package/dist/components/forms/Checkbox/Checkbox.js +16 -19
- package/dist/components/forms/Checkbox/Checkbox.theme.d.ts +1 -0
- package/dist/components/forms/Checkbox/Checkbox.theme.js +32 -5
- package/dist/components/forms/Checkbox/index.d.ts +3 -3
- package/dist/components/forms/ColorPicker/ColorPicker.animations.d.ts +17 -0
- package/dist/components/forms/ColorPicker/ColorPicker.d.ts +27 -0
- package/dist/components/forms/ColorPicker/ColorPicker.theme.d.ts +6 -0
- package/dist/components/forms/ColorPicker/ColorPicker.types.d.ts +219 -0
- package/dist/components/forms/ColorPicker/ColorPicker2DCanvas.d.ts +10 -0
- package/dist/components/forms/ColorPicker/ColorPickerContent.d.ts +7 -0
- package/dist/components/forms/ColorPicker/ColorPickerEyeDropper.d.ts +7 -0
- package/dist/components/forms/ColorPicker/ColorPickerFormatSelector.d.ts +7 -0
- package/dist/components/forms/ColorPicker/ColorPickerInput.d.ts +7 -0
- package/dist/components/forms/ColorPicker/ColorPickerPresets.d.ts +7 -0
- package/dist/components/forms/ColorPicker/ColorPickerSliders.d.ts +7 -0
- package/dist/components/forms/ColorPicker/ColorPickerSwatch.d.ts +7 -0
- package/dist/components/forms/ColorPicker/ColorPickerTrigger.d.ts +7 -0
- package/dist/components/forms/ColorPicker/colorUtils.d.ts +121 -0
- package/dist/components/forms/ColorPicker/index.d.ts +17 -0
- package/dist/components/forms/DatePicker/DatePicker.animations.d.ts +11 -32
- package/dist/components/forms/DatePicker/DatePicker.animations.js +33 -0
- package/dist/components/forms/DatePicker/DatePicker.d.ts +37 -3
- package/dist/components/forms/DatePicker/DatePicker.js +143 -0
- package/dist/components/forms/DatePicker/DatePicker.theme.d.ts +7 -4
- package/dist/components/forms/DatePicker/DatePicker.theme.js +54 -0
- package/dist/components/forms/DatePicker/DatePicker.types.d.ts +122 -84
- package/dist/components/forms/DatePicker/DatePickerContent.d.ts +7 -0
- package/dist/components/forms/DatePicker/DatePickerContent.js +232 -0
- package/dist/components/forms/DatePicker/DatePickerPresets.d.ts +12 -0
- package/dist/components/forms/DatePicker/DatePickerPresets.js +40 -0
- package/dist/components/forms/DatePicker/DatePickerTrigger.d.ts +7 -0
- package/dist/components/forms/DatePicker/DatePickerTrigger.js +37 -0
- package/dist/components/forms/DatePicker/index.d.ts +2 -4
- package/dist/components/forms/FileUpload/FileUpload.d.ts +23 -0
- package/dist/components/forms/FileUpload/FileUpload.js +294 -0
- package/dist/components/forms/FileUpload/FileUpload.theme.d.ts +25 -0
- package/dist/components/forms/FileUpload/FileUpload.theme.js +36 -0
- package/dist/components/forms/FileUpload/FileUpload.types.d.ts +94 -0
- package/dist/components/forms/FileUpload/index.d.ts +3 -0
- package/dist/components/forms/FormLabel/FormLabel.js +2 -4
- package/dist/components/forms/FormLabel/FormLabel.theme.js +3 -3
- package/dist/components/forms/Input/Input.js +125 -118
- package/dist/components/forms/Input/Input.theme.d.ts +0 -1
- package/dist/components/forms/Input/Input.theme.js +37 -26
- package/dist/components/forms/Input/Input.types.d.ts +21 -13
- package/dist/components/forms/Input/inputMasks.d.ts +15 -0
- package/dist/components/forms/Input/inputMasks.js +197 -35
- package/dist/components/forms/InputAddress/InputAddress.js +36 -27
- package/dist/components/forms/InputAddress/InputAddress.theme.js +11 -6
- package/dist/components/forms/InputCounter/InputCounter.d.ts +29 -0
- package/dist/components/forms/InputCounter/InputCounter.js +173 -0
- package/dist/components/forms/InputCounter/InputCounter.theme.d.ts +6 -0
- package/dist/components/forms/InputCounter/InputCounter.theme.js +11 -0
- package/dist/components/forms/InputCounter/InputCounter.types.d.ts +54 -0
- package/dist/components/forms/InputCounter/index.d.ts +3 -0
- package/dist/components/forms/InputCreditCard/InputCreditCard.js +83 -0
- package/dist/components/forms/InputCreditCard/InputCreditCard.theme.js +42 -0
- package/dist/components/forms/InputDate/InputDate.d.ts +28 -0
- package/dist/components/forms/InputDate/InputDate.js +155 -0
- package/dist/components/forms/InputDate/InputDate.theme.d.ts +11 -0
- package/dist/components/forms/InputDate/InputDate.theme.js +13 -0
- package/dist/components/forms/InputDate/InputDate.types.d.ts +25 -0
- package/dist/components/forms/InputDate/index.d.ts +3 -0
- package/dist/components/forms/InputOTP/InputOTP.js +50 -47
- package/dist/components/forms/InputOTP/InputOTP.theme.d.ts +4 -0
- package/dist/components/forms/InputOTP/InputOTP.theme.js +19 -8
- package/dist/components/forms/InputOTP/InputOTP.types.d.ts +5 -6
- package/dist/components/forms/OptimisticForm/OptimisticForm.d.ts +33 -0
- package/dist/components/forms/OptimisticForm/OptimisticForm.js +87 -0
- package/dist/components/forms/OptimisticForm/OptimisticForm.theme.d.ts +2 -0
- package/dist/components/forms/OptimisticForm/OptimisticForm.theme.js +8 -0
- package/dist/components/forms/OptimisticForm/OptimisticForm.types.d.ts +74 -0
- package/dist/components/forms/OptimisticForm/index.d.ts +3 -0
- package/dist/components/forms/Radio/Radio.d.ts +0 -1
- package/dist/components/forms/Radio/Radio.js +10 -12
- package/dist/components/forms/Radio/Radio.theme.js +4 -4
- package/dist/components/forms/Radio/index.d.ts +3 -3
- package/dist/components/forms/RichTextEditor/RichTextEditor.animations.d.ts +7 -0
- package/dist/components/forms/RichTextEditor/RichTextEditor.animations.js +31 -0
- package/dist/components/forms/RichTextEditor/RichTextEditor.d.ts +0 -1
- package/dist/components/forms/RichTextEditor/RichTextEditor.js +618 -851
- package/dist/components/forms/RichTextEditor/RichTextEditor.theme.d.ts +1 -2
- package/dist/components/forms/RichTextEditor/RichTextEditor.theme.js +33 -16
- package/dist/components/forms/RichTextEditor/RichTextEditor.types.d.ts +19 -4
- package/dist/components/forms/RichTextEditor/index.d.ts +1 -1
- package/dist/components/forms/Select/Select.animations.d.ts +8 -1
- package/dist/components/forms/Select/Select.animations.js +8 -6
- package/dist/components/forms/Select/Select.d.ts +2 -6
- package/dist/components/forms/Select/Select.js +329 -147
- package/dist/components/forms/Select/Select.theme.d.ts +1 -1
- package/dist/components/forms/Select/Select.theme.js +29 -18
- package/dist/components/forms/Select/Select.types.d.ts +38 -22
- package/dist/components/forms/Select/index.d.ts +2 -2
- package/dist/components/forms/Signature/Signature.js +81 -45
- package/dist/components/forms/Signature/Signature.theme.d.ts +5 -1
- package/dist/components/forms/Signature/Signature.theme.js +29 -3
- package/dist/components/forms/Signature/Signature.types.d.ts +60 -0
- package/dist/components/forms/Signature/index.d.ts +1 -0
- package/dist/components/forms/Slider/Slider.d.ts +0 -1
- package/dist/components/forms/Slider/Slider.js +246 -0
- package/dist/components/forms/Slider/Slider.theme.d.ts +14 -4
- package/dist/components/forms/Slider/Slider.theme.js +26 -0
- package/dist/components/forms/Slider/Slider.types.d.ts +16 -38
- package/dist/components/forms/Slider/index.d.ts +1 -1
- package/dist/components/forms/StepperForm/StepperForm.d.ts +7 -0
- package/dist/components/forms/StepperForm/StepperForm.js +96 -0
- package/dist/components/forms/StepperForm/StepperForm.theme.d.ts +2 -0
- package/dist/components/forms/StepperForm/StepperForm.theme.js +19 -0
- package/dist/components/forms/StepperForm/StepperForm.types.d.ts +65 -0
- package/dist/components/forms/StepperForm/StepperForm.types.js +12 -0
- package/dist/components/forms/StepperForm/index.d.ts +3 -0
- package/dist/components/forms/Switch/Switch.d.ts +0 -1
- package/dist/components/forms/Switch/Switch.js +34 -38
- package/dist/components/forms/Switch/Switch.theme.d.ts +10 -26
- package/dist/components/forms/Switch/Switch.theme.js +10 -35
- package/dist/components/forms/Switch/Switch.types.d.ts +18 -37
- package/dist/components/forms/Switch/index.d.ts +3 -3
- package/dist/components/forms/Textarea/Textarea.d.ts +0 -1
- package/dist/components/forms/Textarea/Textarea.js +36 -22
- package/dist/components/forms/Textarea/Textarea.theme.d.ts +0 -1
- package/dist/components/forms/Textarea/Textarea.theme.js +7 -7
- package/dist/components/forms/Textarea/Textarea.types.d.ts +2 -0
- package/dist/components/forms/Textarea/index.d.ts +2 -2
- package/dist/components/forms/TimePicker/TimePicker.animations.d.ts +0 -1
- package/dist/components/forms/TimePicker/TimePicker.d.ts +11 -1
- package/dist/components/forms/TimePicker/TimePicker.js +115 -237
- package/dist/components/forms/TimePicker/TimePicker.theme.d.ts +3 -3
- package/dist/components/forms/TimePicker/TimePicker.theme.js +60 -103
- package/dist/components/forms/TimePicker/TimePicker.types.d.ts +78 -33
- package/dist/components/forms/TimePicker/TimePickerContent.d.ts +15 -0
- package/dist/components/forms/TimePicker/TimePickerContent.js +49 -0
- package/dist/components/forms/TimePicker/TimePickerTrigger.d.ts +8 -0
- package/dist/components/forms/TimePicker/TimePickerTrigger.js +46 -0
- package/dist/components/forms/TimePicker/index.d.ts +5 -3
- package/dist/components/forms/forms.theme.d.ts +12 -7
- package/dist/components/forms/forms.theme.js +48 -19
- package/dist/components/forms/index.d.ts +59 -13
- package/dist/components/forms/index.js +51 -0
- package/dist/hooks/index.d.ts +14 -0
- package/dist/hooks/useFormStateMachine.d.ts +31 -0
- package/dist/hooks/useFormStateMachine.js +70 -0
- package/dist/hooks/useNetworkStatus.d.ts +40 -0
- package/dist/hooks/useNetworkStatus.js +89 -0
- package/dist/hooks/useOptimisticMutation.d.ts +109 -0
- package/dist/hooks/useOptimisticMutation.js +171 -0
- package/dist/hooks/useOverlay.d.ts +47 -0
- package/dist/hooks/useOverlay.js +71 -0
- package/dist/hooks/usePresence.d.ts +88 -0
- package/dist/hooks/useSelectPortal.d.ts +28 -0
- package/dist/hooks/useSelectPortal.js +325 -0
- package/dist/hooks/useSlidingNumber.d.ts +60 -0
- package/dist/hooks/useSlidingNumber.js +66 -0
- package/dist/hooks/useStreamingSSE.d.ts +80 -0
- package/dist/hooks/useStreamingSSE.js +225 -0
- package/dist/hooks/useTypewriter.d.ts +51 -0
- package/dist/hooks/useTypewriter.js +116 -0
- package/dist/icons/Icon.js +4 -6
- package/dist/icons/core/ChevronUpDown.js +3 -4
- package/dist/icons/core/DollarIcon.js +2 -3
- package/dist/icons/core/LockIcon.js +2 -3
- package/dist/icons/core/MinusIcon.js +3 -4
- package/dist/icons/core/PlusIcon.js +3 -4
- package/dist/icons/core/SearchIcon.js +3 -4
- package/dist/icons/core/TickIcon.js +3 -4
- package/dist/index.d.ts +11 -47
- package/dist/index.js +188 -71
- package/dist/styles.css +1 -1
- package/dist/utils/actionQueue.d.ts +113 -0
- package/dist/utils/actionQueue.js +203 -0
- package/dist/utils/cn.js +3 -7
- package/dist/utils/dateUtils.d.ts +60 -0
- package/dist/utils/dateUtils.js +66 -11
- package/dist/utils/debounce.js +3 -7
- package/dist/utils/formValidation.d.ts +20 -0
- package/dist/utils/formValidation.js +21 -0
- package/dist/utils/index.d.ts +14 -5
- package/dist/utils/optimisticErrors.d.ts +79 -0
- package/dist/utils/optimisticErrors.js +96 -0
- package/dist/utils/presenceUtils.d.ts +66 -0
- package/dist/utils/presenceUtils.js +107 -0
- package/dist/utils/retryUtils.d.ts +49 -0
- package/dist/utils/retryUtils.js +53 -0
- package/dist/utils/sseFormatParsers.d.ts +64 -0
- package/dist/utils/sseFormatParsers.js +124 -0
- package/dist/utils/stateMachine.d.ts +43 -0
- package/dist/utils/stateMachine.js +45 -0
- package/dist/utils/streamingErrors.d.ts +70 -0
- package/dist/utils/streamingErrors.js +93 -0
- package/dist/utils/typeaheadUtils.d.ts +35 -0
- package/dist/utils/typeaheadUtils.js +59 -0
- package/dist/utils/useClickOutside.js +5 -5
- package/package.json +76 -20
- package/dist/_virtual/jsx-runtime.js +0 -5
- package/dist/_virtual/jsx-runtime2.js +0 -3
- package/dist/_virtual/react-jsx-runtime.development.js +0 -3
- package/dist/_virtual/react-jsx-runtime.production.js +0 -3
- package/dist/components/core/Accordion/index.js +0 -5
- package/dist/components/core/Button/Button.animations.js +0 -20
- package/dist/components/core/Calendar/DayView/DayViewCell.d.ts +0 -20
- package/dist/components/core/Calendar/MonthView/MonthView.d.ts +0 -2
- package/dist/components/core/Calendar/MonthView/components/CalendarCell/CalendarCell.d.ts +0 -4
- package/dist/components/core/Calendar/MonthView/components/CalendarCell/CalendarCell.theme.d.ts +0 -29
- package/dist/components/core/Calendar/MonthView/components/CalendarCell/CalendarCell.types.d.ts +0 -41
- package/dist/components/core/Calendar/MonthView/components/CalendarCell/index.d.ts +0 -3
- package/dist/components/core/Calendar/MonthView/components/MontViewHeader/MonthViewHeader.d.ts +0 -2
- package/dist/components/core/Carousel/Carousel.animations.d.ts +0 -33
- package/dist/components/core/Carousel/Carousel.animations.js +0 -353
- package/dist/components/core/Carousel/components/CarouselControlButton.d.ts +0 -4
- package/dist/components/core/Carousel/components/CarouselControlButton.js +0 -26
- package/dist/components/core/Carousel/components/CarouselControls.d.ts +0 -4
- package/dist/components/core/Carousel/components/CarouselControls.js +0 -17
- package/dist/components/core/Carousel/components/CarouselSlide.d.ts +0 -4
- package/dist/components/core/Carousel/components/CarouselSlide.js +0 -74
- package/dist/components/core/Carousel/components/index.d.ts +0 -3
- package/dist/components/core/Carousel/index.js +0 -5
- package/dist/components/core/Drawer/DrawerBody.d.ts +0 -6
- package/dist/components/core/Drawer/DrawerBody.js +0 -13
- package/dist/components/core/Popover/index.js +0 -6
- package/dist/components/core/ProgressiveBlur/ProgressiveBlur.theme.js +0 -17
- package/dist/components/core/Stepper/components/ConnectorLine.d.ts +0 -21
- package/dist/components/core/Stepper/components/ConnectorLine.js +0 -42
- package/dist/components/core/Stepper/components/IconCircle.d.ts +0 -19
- package/dist/components/core/Stepper/components/IconCircle.js +0 -44
- package/dist/components/core/Stepper/components/ProgressIndicator.d.ts +0 -7
- package/dist/components/core/Stepper/components/ProgressIndicator.js +0 -12
- package/dist/components/core/Stepper/components/StepContent.d.ts +0 -20
- package/dist/components/core/Stepper/components/StepContent.js +0 -36
- package/dist/components/core/Stepper/components/StepperItem.d.ts +0 -24
- package/dist/components/core/Stepper/components/StepperItem.js +0 -22
- package/dist/components/core/Tabs/index.js +0 -9
- package/dist/components/core/Tooltip/useTooltipPositioning.js +0 -59
- package/dist/components/data-display/Masonry/Masonry.d.ts +0 -4
- package/dist/components/data-display/Masonry/Masonry.js +0 -184
- package/dist/components/data-display/Masonry/Masonry.theme.js +0 -40
- package/dist/components/data-display/Masonry/Masonry.types.d.ts +0 -53
- package/dist/components/data-display/Masonry/index.d.ts +0 -3
- package/dist/components/data-display/Table/Table.d.ts +0 -54
- package/dist/components/data-display/Table/Table.js +0 -177
- package/dist/components/data-display/Table/Table.theme.js +0 -28
- package/dist/components/data-display/Table/Table.types.d.ts +0 -297
- package/dist/components/data-display/Table/Table.utils.js +0 -28
- package/dist/components/data-display/Table/components/DeclarativeComponents.js +0 -123
- package/dist/components/data-display/Table/components/TableActions/TableActions.d.ts +0 -8
- package/dist/components/data-display/Table/components/TableActions/TableActions.js +0 -56
- package/dist/components/data-display/Table/components/TableActions/TableActionsMenu.js +0 -29
- package/dist/components/data-display/Table/components/TableColumnManager/TableColumnManager.d.ts +0 -3
- package/dist/components/data-display/Table/components/TableColumnManager/TableColumnManager.js +0 -85
- package/dist/components/data-display/Table/components/TableColumnManager/TableColumnManager.theme.d.ts +0 -20
- package/dist/components/data-display/Table/components/TableColumnManager/TableColumnManager.theme.js +0 -21
- package/dist/components/data-display/Table/components/TableColumnManager/index.d.ts +0 -1
- package/dist/components/data-display/Table/components/TablePagination/TablePagination.js +0 -51
- package/dist/components/data-display/Table/components/TableSelectionHeader/TableSelectionHeader.d.ts +0 -16
- package/dist/components/data-display/Table/components/TableSelectionHeader/TableSelectionHeader.js +0 -29
- package/dist/components/data-display/Table/components/TableSelectionHeader/index.d.ts +0 -3
- package/dist/components/data-display/Table/components/core/TableBody.js +0 -32
- package/dist/components/data-display/Table/components/core/TableCell.js +0 -47
- package/dist/components/data-display/Table/components/core/TableHeader.js +0 -77
- package/dist/components/data-display/Table/components/core/TableRow.js +0 -46
- package/dist/components/data-display/Table/index.d.ts +0 -21
- package/dist/components/data-display/Table/index.js +0 -20
- package/dist/components/feedback/Alert/Alert.d.ts +0 -3
- package/dist/components/feedback/Alert/Alert.js +0 -36
- package/dist/components/feedback/Alert/Alert.theme.d.ts +0 -2
- package/dist/components/feedback/Alert/Alert.theme.js +0 -17
- package/dist/components/feedback/Alert/Alert.types.d.ts +0 -44
- package/dist/components/feedback/ChatMessage/ChatMessage.d.ts +0 -3
- package/dist/components/feedback/ChatMessage/ChatMessage.js +0 -26
- package/dist/components/feedback/ChatMessage/ChatMessage.theme.d.ts +0 -2
- package/dist/components/feedback/ChatMessage/ChatMessage.theme.js +0 -16
- package/dist/components/feedback/ChatMessage/ChatMessage.types.d.ts +0 -72
- package/dist/components/feedback/ChatMessage/index.d.ts +0 -2
- package/dist/components/feedback/Empty/Empty.d.ts +0 -4
- package/dist/components/feedback/Empty/Empty.js +0 -26
- package/dist/components/feedback/Empty/Empty.theme.js +0 -13
- package/dist/components/feedback/Empty/index.d.ts +0 -3
- package/dist/components/feedback/Notification/Notification.js +0 -41
- package/dist/components/feedback/Notification/Notification.theme.d.ts +0 -17
- package/dist/components/feedback/Notification/Notification.theme.js +0 -49
- package/dist/components/feedback/Notification/Notification.types.d.ts +0 -33
- package/dist/components/feedback/Spinner/Spinner.d.ts +0 -4
- package/dist/components/feedback/Spinner/Spinner.js +0 -14
- package/dist/components/feedback/Spinner/Spinner.theme.js +0 -26
- package/dist/components/feedback/Spinner/Spinner.types.d.ts +0 -31
- package/dist/components/feedback/Spinner/index.d.ts +0 -2
- package/dist/components/feedback/Toast/Toast.animations.js +0 -58
- package/dist/components/feedback/Toast/Toast.js +0 -67
- package/dist/components/feedback/Toast/Toast.theme.js +0 -18
- package/dist/components/feedback/Toast/Toast.types.d.ts +0 -99
- package/dist/components/feedback/Toast/ToastProvider.js +0 -73
- package/dist/components/feedback/Toast/useToast.js +0 -91
- package/dist/components/feedback/index.d.ts +0 -11
- package/dist/components/forms/DatePicker/components/CalendarHeader/CalendarHeader.d.ts +0 -7
- package/dist/components/forms/DatePicker/components/CalendarHeader/CalendarHeader.theme.d.ts +0 -6
- package/dist/components/forms/DatePicker/components/CalendarHeader/CalendarHeader.types.d.ts +0 -42
- package/dist/components/forms/DatePicker/components/CalendarHeader/index.d.ts +0 -3
- package/dist/components/forms/DatePicker/components/DateInput/DateInput.d.ts +0 -7
- package/dist/components/forms/DatePicker/components/DateInput/DateInput.types.d.ts +0 -25
- package/dist/components/forms/DatePicker/components/DateInput/index.d.ts +0 -2
- package/dist/components/forms/DatePicker/components/MonthPicker/MonthPicker.d.ts +0 -7
- package/dist/components/forms/DatePicker/components/MonthPicker/MonthPicker.theme.d.ts +0 -6
- package/dist/components/forms/DatePicker/components/MonthPicker/MonthPicker.types.d.ts +0 -64
- package/dist/components/forms/DatePicker/components/MonthPicker/index.d.ts +0 -3
- package/dist/components/forms/DatePicker/components/YearPicker/YearPicker.d.ts +0 -7
- package/dist/components/forms/DatePicker/components/YearPicker/YearPicker.theme.d.ts +0 -6
- package/dist/components/forms/DatePicker/components/YearPicker/YearPicker.types.d.ts +0 -62
- package/dist/components/forms/DatePicker/components/YearPicker/index.d.ts +0 -3
- package/dist/components/forms/DatePicker/components/index.d.ts +0 -8
- package/dist/components/forms/DateRangePicker/DateRangePicker.d.ts +0 -7
- package/dist/components/forms/DateRangePicker/DateRangePicker.theme.d.ts +0 -6
- package/dist/components/forms/DateRangePicker/DateRangePicker.types.d.ts +0 -129
- package/dist/components/forms/DateRangePicker/index.d.ts +0 -3
- package/dist/components/forms/TimePicker/TimePicker.animations.js +0 -188
- package/dist/components/layout/DragDrop/DragDrop.d.ts +0 -4
- package/dist/components/layout/DragDrop/DragDrop.js +0 -62
- package/dist/components/layout/DragDrop/DragDrop.theme.js +0 -8
- package/dist/components/layout/DragDrop/DragDrop.types.d.ts +0 -50
- package/dist/components/layout/DragDrop/index.d.ts +0 -2
- package/dist/components/layout/Sortable/Sortable.animations.js +0 -81
- package/dist/components/layout/Sortable/Sortable.d.ts +0 -4
- package/dist/components/layout/Sortable/Sortable.js +0 -165
- package/dist/components/layout/Sortable/Sortable.theme.js +0 -7
- package/dist/components/layout/Sortable/Sortable.types.d.ts +0 -67
- package/dist/components/layout/index.d.ts +0 -2
- package/dist/components/navigation/NavItem/NavItem.js +0 -93
- package/dist/components/navigation/NavItem/NavItem.theme.js +0 -27
- package/dist/components/navigation/NavItem/NavItem.types.d.ts +0 -113
- package/dist/components/navigation/Sidebar/Sidebar.d.ts +0 -3
- package/dist/components/navigation/Sidebar/Sidebar.js +0 -28
- package/dist/components/navigation/Sidebar/Sidebar.theme.js +0 -16
- package/dist/components/navigation/Sidebar/SidebarContent.d.ts +0 -3
- package/dist/components/navigation/Sidebar/SidebarContent.js +0 -12
- package/dist/components/navigation/Sidebar/SidebarContext.js +0 -38
- package/dist/components/navigation/Sidebar/SidebarFooter.d.ts +0 -3
- package/dist/components/navigation/Sidebar/SidebarFooter.js +0 -11
- package/dist/components/navigation/Sidebar/SidebarHeader.d.ts +0 -3
- package/dist/components/navigation/Sidebar/SidebarHeader.js +0 -22
- package/dist/components/navigation/Sidebar/SidebarNav.js +0 -11
- package/dist/components/navigation/Sidebar/SidebarNavGroup.d.ts +0 -3
- package/dist/components/navigation/Sidebar/SidebarNavGroup.js +0 -19
- package/dist/components/navigation/Sidebar/SidebarToggle.d.ts +0 -3
- package/dist/components/navigation/Sidebar/SidebarToggle.js +0 -26
- package/dist/components/navigation/Sidebar/index.d.ts +0 -9
- package/dist/components/navigation/index.d.ts +0 -4
- package/dist/node_modules/@heroicons/react/20/solid/esm/ChevronDownIcon.js +0 -26
- package/dist/node_modules/@heroicons/react/20/solid/esm/ChevronRightIcon.js +0 -26
- package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowUturnLeftIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowUturnRightIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/Bars3BottomLeftIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/Bars3BottomRightIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/Bars3Icon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/BoldIcon.js +0 -27
- package/dist/node_modules/@heroicons/react/24/outline/esm/CheckIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChevronDoubleLeftIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChevronDoubleRightIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChevronLeftIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChevronRightIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChevronUpDownIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/ClockIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/Cog6ToothIcon.js +0 -32
- package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/EllipsisVerticalIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/ItalicIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/LockClosedIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/MinusIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/PlusIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/UnderlineIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/outline/esm/XMarkIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/solid/esm/ArrowPathIcon.js +0 -26
- package/dist/node_modules/@heroicons/react/24/solid/esm/BellIcon.js +0 -26
- package/dist/node_modules/@heroicons/react/24/solid/esm/CheckCircleIcon.js +0 -26
- package/dist/node_modules/@heroicons/react/24/solid/esm/ExclamationTriangleIcon.js +0 -26
- package/dist/node_modules/@heroicons/react/24/solid/esm/EyeIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/solid/esm/EyeSlashIcon.js +0 -28
- package/dist/node_modules/@heroicons/react/24/solid/esm/InformationCircleIcon.js +0 -26
- package/dist/node_modules/@heroicons/react/24/solid/esm/LockClosedIcon.js +0 -26
- package/dist/node_modules/@heroicons/react/24/solid/esm/PaintBrushIcon.js +0 -26
- package/dist/node_modules/@heroicons/react/24/solid/esm/XCircleIcon.js +0 -26
- package/dist/node_modules/@heroicons/react/24/solid/esm/XMarkIcon.js +0 -26
- package/dist/node_modules/clsx/dist/clsx.js +0 -3
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +0 -103
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +0 -85
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +0 -59
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +0 -26
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/animation/utils/calc-child-stagger.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +0 -40
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -87
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -63
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -165
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -44
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -501
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -129
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -41
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -157
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -50
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -33
- package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -36
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -40
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -147
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -72
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -49
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -107
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -3
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -38
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -139
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -79
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -57
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +0 -91
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +0 -33
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +0 -31
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +0 -119
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +0 -52
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +0 -54
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +0 -31
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +0 -1582
- package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -112
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +0 -41
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +0 -35
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +0 -49
- package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +0 -26
- package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +0 -489
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -45
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +0 -43
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -59
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -44
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -57
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -65
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -62
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/render/store.js +0 -3
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -45
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -33
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -57
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +0 -3
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +0 -357
- package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +0 -3
- package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +0 -51
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +0 -36
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +0 -31
- package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/utils/delay.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -3
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +0 -47
- package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/value/use-combine-values.js +0 -37
- package/dist/node_modules/framer-motion/dist/es/value/use-computed.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/value/use-motion-value.js +0 -38
- package/dist/node_modules/framer-motion/dist/es/value/use-spring.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -176
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -341
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -158
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -65
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -87
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -51
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.js +0 -86
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.js +0 -176
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -131
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -147
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -36
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -42
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -42
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -3
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -29
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -43
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -71
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -81
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -83
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -38
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -3
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -3
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -83
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -79
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -47
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -93
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/transform.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -325
- package/dist/node_modules/motion-dom/dist/es/value/spring-value.js +0 -54
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -40
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -42
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -29
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -91
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -50
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -3
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -3
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -3
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -3
- package/dist/node_modules/motion-utils/dist/es/array.js +0 -11
- package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -9
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -9
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -51
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -3
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -41
- package/dist/node_modules/motion-utils/dist/es/errors.js +0 -18
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -3
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/memo.js +0 -11
- package/dist/node_modules/motion-utils/dist/es/noop.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -11
- package/dist/node_modules/motion-utils/dist/es/progress.js +0 -19
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -40
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -12
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -11
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -11
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -368
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -44
- package/dist/node_modules/react/jsx-runtime.js +0 -19
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2956
- package/dist/node_modules/tslib/tslib.es6.js +0 -70
- /package/dist/components/{feedback → core}/Alert/index.d.ts +0 -0
- /package/dist/components/{layout → core}/DragDrop/DragDrop.theme.d.ts +0 -0
- /package/dist/components/{feedback → core}/Empty/Empty.theme.d.ts +0 -0
- /package/dist/components/{feedback → core}/Empty/Empty.types.d.ts +0 -0
- /package/dist/components/{data-display → core}/Masonry/Masonry.theme.d.ts +0 -0
- /package/dist/components/{navigation → core}/NavItem/NavItem.d.ts +0 -0
- /package/dist/components/{navigation → core}/NavItem/NavItem.theme.d.ts +0 -0
- /package/dist/components/{navigation → core}/NavItem/index.d.ts +0 -0
- /package/dist/components/{feedback → core}/Notification/Notification.d.ts +0 -0
- /package/dist/components/{feedback → core}/Notification/index.d.ts +0 -0
- /package/dist/components/{navigation → core}/Sidebar/Sidebar.theme.d.ts +0 -0
- /package/dist/components/{navigation → core}/Sidebar/Sidebar.types.d.ts +0 -0
- /package/dist/components/{navigation → core}/Sidebar/SidebarContext.d.ts +0 -0
- /package/dist/components/{navigation → core}/Sidebar/SidebarNav.d.ts +0 -0
- /package/dist/components/{layout → core}/Sortable/Sortable.theme.d.ts +0 -0
- /package/dist/components/{layout → core}/Sortable/index.d.ts +0 -0
- /package/dist/components/{feedback → core}/Spinner/Spinner.theme.d.ts +0 -0
- /package/dist/components/{data-display → core}/Table/Table.animations.d.ts +0 -0
- /package/dist/components/{data-display → core}/Table/Table.theme.d.ts +0 -0
- /package/dist/components/{data-display → core}/Table/Table.utils.d.ts +0 -0
- /package/dist/components/{data-display → core}/Table/components/DeclarativeComponents.d.ts +0 -0
- /package/dist/components/{data-display → core}/Table/components/TableActions/TableActions.types.d.ts +0 -0
- /package/dist/components/{data-display → core}/Table/components/TableActions/TableActionsMenu.d.ts +0 -0
- /package/dist/components/{data-display → core}/Table/components/TableActions/index.d.ts +0 -0
- /package/dist/components/{data-display → core}/Table/components/TableActionsMenu.d.ts +0 -0
- /package/dist/components/{data-display → core}/Table/components/TablePagination/TablePagination.d.ts +0 -0
- /package/dist/components/{data-display → core}/Table/components/TablePagination/TablePagination.types.d.ts +0 -0
- /package/dist/components/{data-display → core}/Table/components/TablePagination/index.d.ts +0 -0
- /package/dist/components/{data-display → core}/Table/components/core/TableBody.d.ts +0 -0
- /package/dist/components/{data-display → core}/Table/components/core/TableCell.d.ts +0 -0
- /package/dist/components/{data-display → core}/Table/components/core/TableHeader.d.ts +0 -0
- /package/dist/components/{data-display → core}/Table/components/core/TableRow.d.ts +0 -0
- /package/dist/components/{data-display → core}/Table/components/core/index.d.ts +0 -0
- /package/dist/components/{feedback → core}/Toast/Toast.animations.d.ts +0 -0
- /package/dist/components/{feedback → core}/Toast/Toast.d.ts +0 -0
- /package/dist/components/{feedback → core}/Toast/Toast.theme.d.ts +0 -0
- /package/dist/components/{feedback → core}/Toast/ToastProvider.d.ts +0 -0
- /package/dist/components/{feedback → core}/Toast/index.d.ts +0 -0
- /package/dist/components/{feedback → core}/Toast/useToast.d.ts +0 -0
|
@@ -1,2956 +0,0 @@
|
|
|
1
|
-
const CLASS_PART_SEPARATOR = '-';
|
|
2
|
-
const createClassGroupUtils = config => {
|
|
3
|
-
const classMap = createClassMap(config);
|
|
4
|
-
const {
|
|
5
|
-
conflictingClassGroups,
|
|
6
|
-
conflictingClassGroupModifiers
|
|
7
|
-
} = config;
|
|
8
|
-
const getClassGroupId = className => {
|
|
9
|
-
const classParts = className.split(CLASS_PART_SEPARATOR);
|
|
10
|
-
// Classes like `-inset-1` produce an empty string as first classPart. We assume that classes for negative values are used correctly and remove it from classParts.
|
|
11
|
-
if (classParts[0] === '' && classParts.length !== 1) {
|
|
12
|
-
classParts.shift();
|
|
13
|
-
}
|
|
14
|
-
return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
|
|
15
|
-
};
|
|
16
|
-
const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
|
|
17
|
-
const conflicts = conflictingClassGroups[classGroupId] || [];
|
|
18
|
-
if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
|
|
19
|
-
return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
|
|
20
|
-
}
|
|
21
|
-
return conflicts;
|
|
22
|
-
};
|
|
23
|
-
return {
|
|
24
|
-
getClassGroupId,
|
|
25
|
-
getConflictingClassGroupIds
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
const getGroupRecursive = (classParts, classPartObject) => {
|
|
29
|
-
if (classParts.length === 0) {
|
|
30
|
-
return classPartObject.classGroupId;
|
|
31
|
-
}
|
|
32
|
-
const currentClassPart = classParts[0];
|
|
33
|
-
const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
|
|
34
|
-
const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : undefined;
|
|
35
|
-
if (classGroupFromNextClassPart) {
|
|
36
|
-
return classGroupFromNextClassPart;
|
|
37
|
-
}
|
|
38
|
-
if (classPartObject.validators.length === 0) {
|
|
39
|
-
return undefined;
|
|
40
|
-
}
|
|
41
|
-
const classRest = classParts.join(CLASS_PART_SEPARATOR);
|
|
42
|
-
return classPartObject.validators.find(({
|
|
43
|
-
validator
|
|
44
|
-
}) => validator(classRest))?.classGroupId;
|
|
45
|
-
};
|
|
46
|
-
const arbitraryPropertyRegex = /^\[(.+)\]$/;
|
|
47
|
-
const getGroupIdForArbitraryProperty = className => {
|
|
48
|
-
if (arbitraryPropertyRegex.test(className)) {
|
|
49
|
-
const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
|
|
50
|
-
const property = arbitraryPropertyClassName?.substring(0, arbitraryPropertyClassName.indexOf(':'));
|
|
51
|
-
if (property) {
|
|
52
|
-
// I use two dots here because one dot is used as prefix for class groups in plugins
|
|
53
|
-
return 'arbitrary..' + property;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* Exported for testing only
|
|
59
|
-
*/
|
|
60
|
-
const createClassMap = config => {
|
|
61
|
-
const {
|
|
62
|
-
theme,
|
|
63
|
-
classGroups
|
|
64
|
-
} = config;
|
|
65
|
-
const classMap = {
|
|
66
|
-
nextPart: new Map(),
|
|
67
|
-
validators: []
|
|
68
|
-
};
|
|
69
|
-
for (const classGroupId in classGroups) {
|
|
70
|
-
processClassesRecursively(classGroups[classGroupId], classMap, classGroupId, theme);
|
|
71
|
-
}
|
|
72
|
-
return classMap;
|
|
73
|
-
};
|
|
74
|
-
const processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
|
|
75
|
-
classGroup.forEach(classDefinition => {
|
|
76
|
-
if (typeof classDefinition === 'string') {
|
|
77
|
-
const classPartObjectToEdit = classDefinition === '' ? classPartObject : getPart(classPartObject, classDefinition);
|
|
78
|
-
classPartObjectToEdit.classGroupId = classGroupId;
|
|
79
|
-
return;
|
|
80
|
-
}
|
|
81
|
-
if (typeof classDefinition === 'function') {
|
|
82
|
-
if (isThemeGetter(classDefinition)) {
|
|
83
|
-
processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
classPartObject.validators.push({
|
|
87
|
-
validator: classDefinition,
|
|
88
|
-
classGroupId
|
|
89
|
-
});
|
|
90
|
-
return;
|
|
91
|
-
}
|
|
92
|
-
Object.entries(classDefinition).forEach(([key, classGroup]) => {
|
|
93
|
-
processClassesRecursively(classGroup, getPart(classPartObject, key), classGroupId, theme);
|
|
94
|
-
});
|
|
95
|
-
});
|
|
96
|
-
};
|
|
97
|
-
const getPart = (classPartObject, path) => {
|
|
98
|
-
let currentClassPartObject = classPartObject;
|
|
99
|
-
path.split(CLASS_PART_SEPARATOR).forEach(pathPart => {
|
|
100
|
-
if (!currentClassPartObject.nextPart.has(pathPart)) {
|
|
101
|
-
currentClassPartObject.nextPart.set(pathPart, {
|
|
102
|
-
nextPart: new Map(),
|
|
103
|
-
validators: []
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
|
|
107
|
-
});
|
|
108
|
-
return currentClassPartObject;
|
|
109
|
-
};
|
|
110
|
-
const isThemeGetter = func => func.isThemeGetter;
|
|
111
|
-
|
|
112
|
-
// LRU cache inspired from hashlru (https://github.com/dominictarr/hashlru/blob/v1.0.4/index.js) but object replaced with Map to improve performance
|
|
113
|
-
const createLruCache = maxCacheSize => {
|
|
114
|
-
if (maxCacheSize < 1) {
|
|
115
|
-
return {
|
|
116
|
-
get: () => undefined,
|
|
117
|
-
set: () => {}
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
let cacheSize = 0;
|
|
121
|
-
let cache = new Map();
|
|
122
|
-
let previousCache = new Map();
|
|
123
|
-
const update = (key, value) => {
|
|
124
|
-
cache.set(key, value);
|
|
125
|
-
cacheSize++;
|
|
126
|
-
if (cacheSize > maxCacheSize) {
|
|
127
|
-
cacheSize = 0;
|
|
128
|
-
previousCache = cache;
|
|
129
|
-
cache = new Map();
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
return {
|
|
133
|
-
get(key) {
|
|
134
|
-
let value = cache.get(key);
|
|
135
|
-
if (value !== undefined) {
|
|
136
|
-
return value;
|
|
137
|
-
}
|
|
138
|
-
if ((value = previousCache.get(key)) !== undefined) {
|
|
139
|
-
update(key, value);
|
|
140
|
-
return value;
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
set(key, value) {
|
|
144
|
-
if (cache.has(key)) {
|
|
145
|
-
cache.set(key, value);
|
|
146
|
-
} else {
|
|
147
|
-
update(key, value);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
const IMPORTANT_MODIFIER = '!';
|
|
153
|
-
const MODIFIER_SEPARATOR = ':';
|
|
154
|
-
const MODIFIER_SEPARATOR_LENGTH = MODIFIER_SEPARATOR.length;
|
|
155
|
-
const createParseClassName = config => {
|
|
156
|
-
const {
|
|
157
|
-
prefix,
|
|
158
|
-
experimentalParseClassName
|
|
159
|
-
} = config;
|
|
160
|
-
/**
|
|
161
|
-
* Parse class name into parts.
|
|
162
|
-
*
|
|
163
|
-
* Inspired by `splitAtTopLevelOnly` used in Tailwind CSS
|
|
164
|
-
* @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js
|
|
165
|
-
*/
|
|
166
|
-
let parseClassName = className => {
|
|
167
|
-
const modifiers = [];
|
|
168
|
-
let bracketDepth = 0;
|
|
169
|
-
let parenDepth = 0;
|
|
170
|
-
let modifierStart = 0;
|
|
171
|
-
let postfixModifierPosition;
|
|
172
|
-
for (let index = 0; index < className.length; index++) {
|
|
173
|
-
let currentCharacter = className[index];
|
|
174
|
-
if (bracketDepth === 0 && parenDepth === 0) {
|
|
175
|
-
if (currentCharacter === MODIFIER_SEPARATOR) {
|
|
176
|
-
modifiers.push(className.slice(modifierStart, index));
|
|
177
|
-
modifierStart = index + MODIFIER_SEPARATOR_LENGTH;
|
|
178
|
-
continue;
|
|
179
|
-
}
|
|
180
|
-
if (currentCharacter === '/') {
|
|
181
|
-
postfixModifierPosition = index;
|
|
182
|
-
continue;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
if (currentCharacter === '[') {
|
|
186
|
-
bracketDepth++;
|
|
187
|
-
} else if (currentCharacter === ']') {
|
|
188
|
-
bracketDepth--;
|
|
189
|
-
} else if (currentCharacter === '(') {
|
|
190
|
-
parenDepth++;
|
|
191
|
-
} else if (currentCharacter === ')') {
|
|
192
|
-
parenDepth--;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);
|
|
196
|
-
const baseClassName = stripImportantModifier(baseClassNameWithImportantModifier);
|
|
197
|
-
const hasImportantModifier = baseClassName !== baseClassNameWithImportantModifier;
|
|
198
|
-
const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : undefined;
|
|
199
|
-
return {
|
|
200
|
-
modifiers,
|
|
201
|
-
hasImportantModifier,
|
|
202
|
-
baseClassName,
|
|
203
|
-
maybePostfixModifierPosition
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
if (prefix) {
|
|
207
|
-
const fullPrefix = prefix + MODIFIER_SEPARATOR;
|
|
208
|
-
const parseClassNameOriginal = parseClassName;
|
|
209
|
-
parseClassName = className => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.substring(fullPrefix.length)) : {
|
|
210
|
-
isExternal: true,
|
|
211
|
-
modifiers: [],
|
|
212
|
-
hasImportantModifier: false,
|
|
213
|
-
baseClassName: className,
|
|
214
|
-
maybePostfixModifierPosition: undefined
|
|
215
|
-
};
|
|
216
|
-
}
|
|
217
|
-
if (experimentalParseClassName) {
|
|
218
|
-
const parseClassNameOriginal = parseClassName;
|
|
219
|
-
parseClassName = className => experimentalParseClassName({
|
|
220
|
-
className,
|
|
221
|
-
parseClassName: parseClassNameOriginal
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
|
-
return parseClassName;
|
|
225
|
-
};
|
|
226
|
-
const stripImportantModifier = baseClassName => {
|
|
227
|
-
if (baseClassName.endsWith(IMPORTANT_MODIFIER)) {
|
|
228
|
-
return baseClassName.substring(0, baseClassName.length - 1);
|
|
229
|
-
}
|
|
230
|
-
/**
|
|
231
|
-
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
232
|
-
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
233
|
-
*/
|
|
234
|
-
if (baseClassName.startsWith(IMPORTANT_MODIFIER)) {
|
|
235
|
-
return baseClassName.substring(1);
|
|
236
|
-
}
|
|
237
|
-
return baseClassName;
|
|
238
|
-
};
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* Sorts modifiers according to following schema:
|
|
242
|
-
* - Predefined modifiers are sorted alphabetically
|
|
243
|
-
* - When an arbitrary variant appears, it must be preserved which modifiers are before and after it
|
|
244
|
-
*/
|
|
245
|
-
const createSortModifiers = config => {
|
|
246
|
-
const orderSensitiveModifiers = Object.fromEntries(config.orderSensitiveModifiers.map(modifier => [modifier, true]));
|
|
247
|
-
const sortModifiers = modifiers => {
|
|
248
|
-
if (modifiers.length <= 1) {
|
|
249
|
-
return modifiers;
|
|
250
|
-
}
|
|
251
|
-
const sortedModifiers = [];
|
|
252
|
-
let unsortedModifiers = [];
|
|
253
|
-
modifiers.forEach(modifier => {
|
|
254
|
-
const isPositionSensitive = modifier[0] === '[' || orderSensitiveModifiers[modifier];
|
|
255
|
-
if (isPositionSensitive) {
|
|
256
|
-
sortedModifiers.push(...unsortedModifiers.sort(), modifier);
|
|
257
|
-
unsortedModifiers = [];
|
|
258
|
-
} else {
|
|
259
|
-
unsortedModifiers.push(modifier);
|
|
260
|
-
}
|
|
261
|
-
});
|
|
262
|
-
sortedModifiers.push(...unsortedModifiers.sort());
|
|
263
|
-
return sortedModifiers;
|
|
264
|
-
};
|
|
265
|
-
return sortModifiers;
|
|
266
|
-
};
|
|
267
|
-
const createConfigUtils = config => ({
|
|
268
|
-
cache: createLruCache(config.cacheSize),
|
|
269
|
-
parseClassName: createParseClassName(config),
|
|
270
|
-
sortModifiers: createSortModifiers(config),
|
|
271
|
-
...createClassGroupUtils(config)
|
|
272
|
-
});
|
|
273
|
-
const SPLIT_CLASSES_REGEX = /\s+/;
|
|
274
|
-
const mergeClassList = (classList, configUtils) => {
|
|
275
|
-
const {
|
|
276
|
-
parseClassName,
|
|
277
|
-
getClassGroupId,
|
|
278
|
-
getConflictingClassGroupIds,
|
|
279
|
-
sortModifiers
|
|
280
|
-
} = configUtils;
|
|
281
|
-
/**
|
|
282
|
-
* Set of classGroupIds in following format:
|
|
283
|
-
* `{importantModifier}{variantModifiers}{classGroupId}`
|
|
284
|
-
* @example 'float'
|
|
285
|
-
* @example 'hover:focus:bg-color'
|
|
286
|
-
* @example 'md:!pr'
|
|
287
|
-
*/
|
|
288
|
-
const classGroupsInConflict = [];
|
|
289
|
-
const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
|
|
290
|
-
let result = '';
|
|
291
|
-
for (let index = classNames.length - 1; index >= 0; index -= 1) {
|
|
292
|
-
const originalClassName = classNames[index];
|
|
293
|
-
const {
|
|
294
|
-
isExternal,
|
|
295
|
-
modifiers,
|
|
296
|
-
hasImportantModifier,
|
|
297
|
-
baseClassName,
|
|
298
|
-
maybePostfixModifierPosition
|
|
299
|
-
} = parseClassName(originalClassName);
|
|
300
|
-
if (isExternal) {
|
|
301
|
-
result = originalClassName + (result.length > 0 ? ' ' + result : result);
|
|
302
|
-
continue;
|
|
303
|
-
}
|
|
304
|
-
let hasPostfixModifier = !!maybePostfixModifierPosition;
|
|
305
|
-
let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
|
|
306
|
-
if (!classGroupId) {
|
|
307
|
-
if (!hasPostfixModifier) {
|
|
308
|
-
// Not a Tailwind class
|
|
309
|
-
result = originalClassName + (result.length > 0 ? ' ' + result : result);
|
|
310
|
-
continue;
|
|
311
|
-
}
|
|
312
|
-
classGroupId = getClassGroupId(baseClassName);
|
|
313
|
-
if (!classGroupId) {
|
|
314
|
-
// Not a Tailwind class
|
|
315
|
-
result = originalClassName + (result.length > 0 ? ' ' + result : result);
|
|
316
|
-
continue;
|
|
317
|
-
}
|
|
318
|
-
hasPostfixModifier = false;
|
|
319
|
-
}
|
|
320
|
-
const variantModifier = sortModifiers(modifiers).join(':');
|
|
321
|
-
const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
|
|
322
|
-
const classId = modifierId + classGroupId;
|
|
323
|
-
if (classGroupsInConflict.includes(classId)) {
|
|
324
|
-
// Tailwind class omitted due to conflict
|
|
325
|
-
continue;
|
|
326
|
-
}
|
|
327
|
-
classGroupsInConflict.push(classId);
|
|
328
|
-
const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
|
|
329
|
-
for (let i = 0; i < conflictGroups.length; ++i) {
|
|
330
|
-
const group = conflictGroups[i];
|
|
331
|
-
classGroupsInConflict.push(modifierId + group);
|
|
332
|
-
}
|
|
333
|
-
// Tailwind class not in conflict
|
|
334
|
-
result = originalClassName + (result.length > 0 ? ' ' + result : result);
|
|
335
|
-
}
|
|
336
|
-
return result;
|
|
337
|
-
};
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
|
|
341
|
-
*
|
|
342
|
-
* Specifically:
|
|
343
|
-
* - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
|
|
344
|
-
* - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
|
|
345
|
-
*
|
|
346
|
-
* Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
|
|
347
|
-
*/
|
|
348
|
-
function twJoin() {
|
|
349
|
-
let index = 0;
|
|
350
|
-
let argument;
|
|
351
|
-
let resolvedValue;
|
|
352
|
-
let string = '';
|
|
353
|
-
while (index < arguments.length) {
|
|
354
|
-
if (argument = arguments[index++]) {
|
|
355
|
-
if (resolvedValue = toValue(argument)) {
|
|
356
|
-
string && (string += ' ');
|
|
357
|
-
string += resolvedValue;
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
return string;
|
|
362
|
-
}
|
|
363
|
-
const toValue = mix => {
|
|
364
|
-
if (typeof mix === 'string') {
|
|
365
|
-
return mix;
|
|
366
|
-
}
|
|
367
|
-
let resolvedValue;
|
|
368
|
-
let string = '';
|
|
369
|
-
for (let k = 0; k < mix.length; k++) {
|
|
370
|
-
if (mix[k]) {
|
|
371
|
-
if (resolvedValue = toValue(mix[k])) {
|
|
372
|
-
string && (string += ' ');
|
|
373
|
-
string += resolvedValue;
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
return string;
|
|
378
|
-
};
|
|
379
|
-
function createTailwindMerge(createConfigFirst, ...createConfigRest) {
|
|
380
|
-
let configUtils;
|
|
381
|
-
let cacheGet;
|
|
382
|
-
let cacheSet;
|
|
383
|
-
let functionToCall = initTailwindMerge;
|
|
384
|
-
function initTailwindMerge(classList) {
|
|
385
|
-
const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
|
|
386
|
-
configUtils = createConfigUtils(config);
|
|
387
|
-
cacheGet = configUtils.cache.get;
|
|
388
|
-
cacheSet = configUtils.cache.set;
|
|
389
|
-
functionToCall = tailwindMerge;
|
|
390
|
-
return tailwindMerge(classList);
|
|
391
|
-
}
|
|
392
|
-
function tailwindMerge(classList) {
|
|
393
|
-
const cachedResult = cacheGet(classList);
|
|
394
|
-
if (cachedResult) {
|
|
395
|
-
return cachedResult;
|
|
396
|
-
}
|
|
397
|
-
const result = mergeClassList(classList, configUtils);
|
|
398
|
-
cacheSet(classList, result);
|
|
399
|
-
return result;
|
|
400
|
-
}
|
|
401
|
-
return function callTailwindMerge() {
|
|
402
|
-
return functionToCall(twJoin.apply(null, arguments));
|
|
403
|
-
};
|
|
404
|
-
}
|
|
405
|
-
const fromTheme = key => {
|
|
406
|
-
const themeGetter = theme => theme[key] || [];
|
|
407
|
-
themeGetter.isThemeGetter = true;
|
|
408
|
-
return themeGetter;
|
|
409
|
-
};
|
|
410
|
-
const arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
|
|
411
|
-
const arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
|
|
412
|
-
const fractionRegex = /^\d+\/\d+$/;
|
|
413
|
-
const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
414
|
-
const lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/;
|
|
415
|
-
const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/;
|
|
416
|
-
// Shadow always begins with x and y offset separated by underscore optionally prepended by inset
|
|
417
|
-
const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
|
418
|
-
const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
419
|
-
const isFraction = value => fractionRegex.test(value);
|
|
420
|
-
const isNumber = value => !!value && !Number.isNaN(Number(value));
|
|
421
|
-
const isInteger = value => !!value && Number.isInteger(Number(value));
|
|
422
|
-
const isPercent = value => value.endsWith('%') && isNumber(value.slice(0, -1));
|
|
423
|
-
const isTshirtSize = value => tshirtUnitRegex.test(value);
|
|
424
|
-
const isAny = () => true;
|
|
425
|
-
const isLengthOnly = value =>
|
|
426
|
-
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
427
|
-
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
428
|
-
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
429
|
-
lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
|
|
430
|
-
const isNever = () => false;
|
|
431
|
-
const isShadow = value => shadowRegex.test(value);
|
|
432
|
-
const isImage = value => imageRegex.test(value);
|
|
433
|
-
const isAnyNonArbitrary = value => !isArbitraryValue(value) && !isArbitraryVariable(value);
|
|
434
|
-
const isArbitrarySize = value => getIsArbitraryValue(value, isLabelSize, isNever);
|
|
435
|
-
const isArbitraryValue = value => arbitraryValueRegex.test(value);
|
|
436
|
-
const isArbitraryLength = value => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
|
|
437
|
-
const isArbitraryNumber = value => getIsArbitraryValue(value, isLabelNumber, isNumber);
|
|
438
|
-
const isArbitraryPosition = value => getIsArbitraryValue(value, isLabelPosition, isNever);
|
|
439
|
-
const isArbitraryImage = value => getIsArbitraryValue(value, isLabelImage, isImage);
|
|
440
|
-
const isArbitraryShadow = value => getIsArbitraryValue(value, isLabelShadow, isShadow);
|
|
441
|
-
const isArbitraryVariable = value => arbitraryVariableRegex.test(value);
|
|
442
|
-
const isArbitraryVariableLength = value => getIsArbitraryVariable(value, isLabelLength);
|
|
443
|
-
const isArbitraryVariableFamilyName = value => getIsArbitraryVariable(value, isLabelFamilyName);
|
|
444
|
-
const isArbitraryVariablePosition = value => getIsArbitraryVariable(value, isLabelPosition);
|
|
445
|
-
const isArbitraryVariableSize = value => getIsArbitraryVariable(value, isLabelSize);
|
|
446
|
-
const isArbitraryVariableImage = value => getIsArbitraryVariable(value, isLabelImage);
|
|
447
|
-
const isArbitraryVariableShadow = value => getIsArbitraryVariable(value, isLabelShadow, true);
|
|
448
|
-
// Helpers
|
|
449
|
-
const getIsArbitraryValue = (value, testLabel, testValue) => {
|
|
450
|
-
const result = arbitraryValueRegex.exec(value);
|
|
451
|
-
if (result) {
|
|
452
|
-
if (result[1]) {
|
|
453
|
-
return testLabel(result[1]);
|
|
454
|
-
}
|
|
455
|
-
return testValue(result[2]);
|
|
456
|
-
}
|
|
457
|
-
return false;
|
|
458
|
-
};
|
|
459
|
-
const getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {
|
|
460
|
-
const result = arbitraryVariableRegex.exec(value);
|
|
461
|
-
if (result) {
|
|
462
|
-
if (result[1]) {
|
|
463
|
-
return testLabel(result[1]);
|
|
464
|
-
}
|
|
465
|
-
return shouldMatchNoLabel;
|
|
466
|
-
}
|
|
467
|
-
return false;
|
|
468
|
-
};
|
|
469
|
-
// Labels
|
|
470
|
-
const isLabelPosition = label => label === 'position' || label === 'percentage';
|
|
471
|
-
const isLabelImage = label => label === 'image' || label === 'url';
|
|
472
|
-
const isLabelSize = label => label === 'length' || label === 'size' || label === 'bg-size';
|
|
473
|
-
const isLabelLength = label => label === 'length';
|
|
474
|
-
const isLabelNumber = label => label === 'number';
|
|
475
|
-
const isLabelFamilyName = label => label === 'family-name';
|
|
476
|
-
const isLabelShadow = label => label === 'shadow';
|
|
477
|
-
const getDefaultConfig = () => {
|
|
478
|
-
/**
|
|
479
|
-
* Theme getters for theme variable namespaces
|
|
480
|
-
* @see https://tailwindcss.com/docs/theme#theme-variable-namespaces
|
|
481
|
-
*/
|
|
482
|
-
/***/
|
|
483
|
-
const themeColor = fromTheme('color');
|
|
484
|
-
const themeFont = fromTheme('font');
|
|
485
|
-
const themeText = fromTheme('text');
|
|
486
|
-
const themeFontWeight = fromTheme('font-weight');
|
|
487
|
-
const themeTracking = fromTheme('tracking');
|
|
488
|
-
const themeLeading = fromTheme('leading');
|
|
489
|
-
const themeBreakpoint = fromTheme('breakpoint');
|
|
490
|
-
const themeContainer = fromTheme('container');
|
|
491
|
-
const themeSpacing = fromTheme('spacing');
|
|
492
|
-
const themeRadius = fromTheme('radius');
|
|
493
|
-
const themeShadow = fromTheme('shadow');
|
|
494
|
-
const themeInsetShadow = fromTheme('inset-shadow');
|
|
495
|
-
const themeTextShadow = fromTheme('text-shadow');
|
|
496
|
-
const themeDropShadow = fromTheme('drop-shadow');
|
|
497
|
-
const themeBlur = fromTheme('blur');
|
|
498
|
-
const themePerspective = fromTheme('perspective');
|
|
499
|
-
const themeAspect = fromTheme('aspect');
|
|
500
|
-
const themeEase = fromTheme('ease');
|
|
501
|
-
const themeAnimate = fromTheme('animate');
|
|
502
|
-
/**
|
|
503
|
-
* Helpers to avoid repeating the same scales
|
|
504
|
-
*
|
|
505
|
-
* We use functions that create a new array every time they're called instead of static arrays.
|
|
506
|
-
* This ensures that users who modify any scale by mutating the array (e.g. with `array.push(element)`) don't accidentally mutate arrays in other parts of the config.
|
|
507
|
-
*/
|
|
508
|
-
/***/
|
|
509
|
-
const scaleBreak = () => ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'];
|
|
510
|
-
const scalePosition = () => ['center', 'top', 'bottom', 'left', 'right', 'top-left',
|
|
511
|
-
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
512
|
-
'left-top', 'top-right',
|
|
513
|
-
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
514
|
-
'right-top', 'bottom-right',
|
|
515
|
-
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
516
|
-
'right-bottom', 'bottom-left',
|
|
517
|
-
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
518
|
-
'left-bottom'];
|
|
519
|
-
const scalePositionWithArbitrary = () => [...scalePosition(), isArbitraryVariable, isArbitraryValue];
|
|
520
|
-
const scaleOverflow = () => ['auto', 'hidden', 'clip', 'visible', 'scroll'];
|
|
521
|
-
const scaleOverscroll = () => ['auto', 'contain', 'none'];
|
|
522
|
-
const scaleUnambiguousSpacing = () => [isArbitraryVariable, isArbitraryValue, themeSpacing];
|
|
523
|
-
const scaleInset = () => [isFraction, 'full', 'auto', ...scaleUnambiguousSpacing()];
|
|
524
|
-
const scaleGridTemplateColsRows = () => [isInteger, 'none', 'subgrid', isArbitraryVariable, isArbitraryValue];
|
|
525
|
-
const scaleGridColRowStartAndEnd = () => ['auto', {
|
|
526
|
-
span: ['full', isInteger, isArbitraryVariable, isArbitraryValue]
|
|
527
|
-
}, isInteger, isArbitraryVariable, isArbitraryValue];
|
|
528
|
-
const scaleGridColRowStartOrEnd = () => [isInteger, 'auto', isArbitraryVariable, isArbitraryValue];
|
|
529
|
-
const scaleGridAutoColsRows = () => ['auto', 'min', 'max', 'fr', isArbitraryVariable, isArbitraryValue];
|
|
530
|
-
const scaleAlignPrimaryAxis = () => ['start', 'end', 'center', 'between', 'around', 'evenly', 'stretch', 'baseline', 'center-safe', 'end-safe'];
|
|
531
|
-
const scaleAlignSecondaryAxis = () => ['start', 'end', 'center', 'stretch', 'center-safe', 'end-safe'];
|
|
532
|
-
const scaleMargin = () => ['auto', ...scaleUnambiguousSpacing()];
|
|
533
|
-
const scaleSizing = () => [isFraction, 'auto', 'full', 'dvw', 'dvh', 'lvw', 'lvh', 'svw', 'svh', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];
|
|
534
|
-
const scaleColor = () => [themeColor, isArbitraryVariable, isArbitraryValue];
|
|
535
|
-
const scaleBgPosition = () => [...scalePosition(), isArbitraryVariablePosition, isArbitraryPosition, {
|
|
536
|
-
position: [isArbitraryVariable, isArbitraryValue]
|
|
537
|
-
}];
|
|
538
|
-
const scaleBgRepeat = () => ['no-repeat', {
|
|
539
|
-
repeat: ['', 'x', 'y', 'space', 'round']
|
|
540
|
-
}];
|
|
541
|
-
const scaleBgSize = () => ['auto', 'cover', 'contain', isArbitraryVariableSize, isArbitrarySize, {
|
|
542
|
-
size: [isArbitraryVariable, isArbitraryValue]
|
|
543
|
-
}];
|
|
544
|
-
const scaleGradientStopPosition = () => [isPercent, isArbitraryVariableLength, isArbitraryLength];
|
|
545
|
-
const scaleRadius = () => [
|
|
546
|
-
// Deprecated since Tailwind CSS v4.0.0
|
|
547
|
-
'', 'none', 'full', themeRadius, isArbitraryVariable, isArbitraryValue];
|
|
548
|
-
const scaleBorderWidth = () => ['', isNumber, isArbitraryVariableLength, isArbitraryLength];
|
|
549
|
-
const scaleLineStyle = () => ['solid', 'dashed', 'dotted', 'double'];
|
|
550
|
-
const scaleBlendMode = () => ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'];
|
|
551
|
-
const scaleMaskImagePosition = () => [isNumber, isPercent, isArbitraryVariablePosition, isArbitraryPosition];
|
|
552
|
-
const scaleBlur = () => [
|
|
553
|
-
// Deprecated since Tailwind CSS v4.0.0
|
|
554
|
-
'', 'none', themeBlur, isArbitraryVariable, isArbitraryValue];
|
|
555
|
-
const scaleRotate = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];
|
|
556
|
-
const scaleScale = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];
|
|
557
|
-
const scaleSkew = () => [isNumber, isArbitraryVariable, isArbitraryValue];
|
|
558
|
-
const scaleTranslate = () => [isFraction, 'full', ...scaleUnambiguousSpacing()];
|
|
559
|
-
return {
|
|
560
|
-
cacheSize: 500,
|
|
561
|
-
theme: {
|
|
562
|
-
animate: ['spin', 'ping', 'pulse', 'bounce'],
|
|
563
|
-
aspect: ['video'],
|
|
564
|
-
blur: [isTshirtSize],
|
|
565
|
-
breakpoint: [isTshirtSize],
|
|
566
|
-
color: [isAny],
|
|
567
|
-
container: [isTshirtSize],
|
|
568
|
-
'drop-shadow': [isTshirtSize],
|
|
569
|
-
ease: ['in', 'out', 'in-out'],
|
|
570
|
-
font: [isAnyNonArbitrary],
|
|
571
|
-
'font-weight': ['thin', 'extralight', 'light', 'normal', 'medium', 'semibold', 'bold', 'extrabold', 'black'],
|
|
572
|
-
'inset-shadow': [isTshirtSize],
|
|
573
|
-
leading: ['none', 'tight', 'snug', 'normal', 'relaxed', 'loose'],
|
|
574
|
-
perspective: ['dramatic', 'near', 'normal', 'midrange', 'distant', 'none'],
|
|
575
|
-
radius: [isTshirtSize],
|
|
576
|
-
shadow: [isTshirtSize],
|
|
577
|
-
spacing: ['px', isNumber],
|
|
578
|
-
text: [isTshirtSize],
|
|
579
|
-
'text-shadow': [isTshirtSize],
|
|
580
|
-
tracking: ['tighter', 'tight', 'normal', 'wide', 'wider', 'widest']
|
|
581
|
-
},
|
|
582
|
-
classGroups: {
|
|
583
|
-
// --------------
|
|
584
|
-
// --- Layout ---
|
|
585
|
-
// --------------
|
|
586
|
-
/**
|
|
587
|
-
* Aspect Ratio
|
|
588
|
-
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
589
|
-
*/
|
|
590
|
-
aspect: [{
|
|
591
|
-
aspect: ['auto', 'square', isFraction, isArbitraryValue, isArbitraryVariable, themeAspect]
|
|
592
|
-
}],
|
|
593
|
-
/**
|
|
594
|
-
* Container
|
|
595
|
-
* @see https://tailwindcss.com/docs/container
|
|
596
|
-
* @deprecated since Tailwind CSS v4.0.0
|
|
597
|
-
*/
|
|
598
|
-
container: ['container'],
|
|
599
|
-
/**
|
|
600
|
-
* Columns
|
|
601
|
-
* @see https://tailwindcss.com/docs/columns
|
|
602
|
-
*/
|
|
603
|
-
columns: [{
|
|
604
|
-
columns: [isNumber, isArbitraryValue, isArbitraryVariable, themeContainer]
|
|
605
|
-
}],
|
|
606
|
-
/**
|
|
607
|
-
* Break After
|
|
608
|
-
* @see https://tailwindcss.com/docs/break-after
|
|
609
|
-
*/
|
|
610
|
-
'break-after': [{
|
|
611
|
-
'break-after': scaleBreak()
|
|
612
|
-
}],
|
|
613
|
-
/**
|
|
614
|
-
* Break Before
|
|
615
|
-
* @see https://tailwindcss.com/docs/break-before
|
|
616
|
-
*/
|
|
617
|
-
'break-before': [{
|
|
618
|
-
'break-before': scaleBreak()
|
|
619
|
-
}],
|
|
620
|
-
/**
|
|
621
|
-
* Break Inside
|
|
622
|
-
* @see https://tailwindcss.com/docs/break-inside
|
|
623
|
-
*/
|
|
624
|
-
'break-inside': [{
|
|
625
|
-
'break-inside': ['auto', 'avoid', 'avoid-page', 'avoid-column']
|
|
626
|
-
}],
|
|
627
|
-
/**
|
|
628
|
-
* Box Decoration Break
|
|
629
|
-
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
630
|
-
*/
|
|
631
|
-
'box-decoration': [{
|
|
632
|
-
'box-decoration': ['slice', 'clone']
|
|
633
|
-
}],
|
|
634
|
-
/**
|
|
635
|
-
* Box Sizing
|
|
636
|
-
* @see https://tailwindcss.com/docs/box-sizing
|
|
637
|
-
*/
|
|
638
|
-
box: [{
|
|
639
|
-
box: ['border', 'content']
|
|
640
|
-
}],
|
|
641
|
-
/**
|
|
642
|
-
* Display
|
|
643
|
-
* @see https://tailwindcss.com/docs/display
|
|
644
|
-
*/
|
|
645
|
-
display: ['block', 'inline-block', 'inline', 'flex', 'inline-flex', 'table', 'inline-table', 'table-caption', 'table-cell', 'table-column', 'table-column-group', 'table-footer-group', 'table-header-group', 'table-row-group', 'table-row', 'flow-root', 'grid', 'inline-grid', 'contents', 'list-item', 'hidden'],
|
|
646
|
-
/**
|
|
647
|
-
* Screen Reader Only
|
|
648
|
-
* @see https://tailwindcss.com/docs/display#screen-reader-only
|
|
649
|
-
*/
|
|
650
|
-
sr: ['sr-only', 'not-sr-only'],
|
|
651
|
-
/**
|
|
652
|
-
* Floats
|
|
653
|
-
* @see https://tailwindcss.com/docs/float
|
|
654
|
-
*/
|
|
655
|
-
float: [{
|
|
656
|
-
float: ['right', 'left', 'none', 'start', 'end']
|
|
657
|
-
}],
|
|
658
|
-
/**
|
|
659
|
-
* Clear
|
|
660
|
-
* @see https://tailwindcss.com/docs/clear
|
|
661
|
-
*/
|
|
662
|
-
clear: [{
|
|
663
|
-
clear: ['left', 'right', 'both', 'none', 'start', 'end']
|
|
664
|
-
}],
|
|
665
|
-
/**
|
|
666
|
-
* Isolation
|
|
667
|
-
* @see https://tailwindcss.com/docs/isolation
|
|
668
|
-
*/
|
|
669
|
-
isolation: ['isolate', 'isolation-auto'],
|
|
670
|
-
/**
|
|
671
|
-
* Object Fit
|
|
672
|
-
* @see https://tailwindcss.com/docs/object-fit
|
|
673
|
-
*/
|
|
674
|
-
'object-fit': [{
|
|
675
|
-
object: ['contain', 'cover', 'fill', 'none', 'scale-down']
|
|
676
|
-
}],
|
|
677
|
-
/**
|
|
678
|
-
* Object Position
|
|
679
|
-
* @see https://tailwindcss.com/docs/object-position
|
|
680
|
-
*/
|
|
681
|
-
'object-position': [{
|
|
682
|
-
object: scalePositionWithArbitrary()
|
|
683
|
-
}],
|
|
684
|
-
/**
|
|
685
|
-
* Overflow
|
|
686
|
-
* @see https://tailwindcss.com/docs/overflow
|
|
687
|
-
*/
|
|
688
|
-
overflow: [{
|
|
689
|
-
overflow: scaleOverflow()
|
|
690
|
-
}],
|
|
691
|
-
/**
|
|
692
|
-
* Overflow X
|
|
693
|
-
* @see https://tailwindcss.com/docs/overflow
|
|
694
|
-
*/
|
|
695
|
-
'overflow-x': [{
|
|
696
|
-
'overflow-x': scaleOverflow()
|
|
697
|
-
}],
|
|
698
|
-
/**
|
|
699
|
-
* Overflow Y
|
|
700
|
-
* @see https://tailwindcss.com/docs/overflow
|
|
701
|
-
*/
|
|
702
|
-
'overflow-y': [{
|
|
703
|
-
'overflow-y': scaleOverflow()
|
|
704
|
-
}],
|
|
705
|
-
/**
|
|
706
|
-
* Overscroll Behavior
|
|
707
|
-
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
708
|
-
*/
|
|
709
|
-
overscroll: [{
|
|
710
|
-
overscroll: scaleOverscroll()
|
|
711
|
-
}],
|
|
712
|
-
/**
|
|
713
|
-
* Overscroll Behavior X
|
|
714
|
-
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
715
|
-
*/
|
|
716
|
-
'overscroll-x': [{
|
|
717
|
-
'overscroll-x': scaleOverscroll()
|
|
718
|
-
}],
|
|
719
|
-
/**
|
|
720
|
-
* Overscroll Behavior Y
|
|
721
|
-
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
722
|
-
*/
|
|
723
|
-
'overscroll-y': [{
|
|
724
|
-
'overscroll-y': scaleOverscroll()
|
|
725
|
-
}],
|
|
726
|
-
/**
|
|
727
|
-
* Position
|
|
728
|
-
* @see https://tailwindcss.com/docs/position
|
|
729
|
-
*/
|
|
730
|
-
position: ['static', 'fixed', 'absolute', 'relative', 'sticky'],
|
|
731
|
-
/**
|
|
732
|
-
* Top / Right / Bottom / Left
|
|
733
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
734
|
-
*/
|
|
735
|
-
inset: [{
|
|
736
|
-
inset: scaleInset()
|
|
737
|
-
}],
|
|
738
|
-
/**
|
|
739
|
-
* Right / Left
|
|
740
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
741
|
-
*/
|
|
742
|
-
'inset-x': [{
|
|
743
|
-
'inset-x': scaleInset()
|
|
744
|
-
}],
|
|
745
|
-
/**
|
|
746
|
-
* Top / Bottom
|
|
747
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
748
|
-
*/
|
|
749
|
-
'inset-y': [{
|
|
750
|
-
'inset-y': scaleInset()
|
|
751
|
-
}],
|
|
752
|
-
/**
|
|
753
|
-
* Start
|
|
754
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
755
|
-
*/
|
|
756
|
-
start: [{
|
|
757
|
-
start: scaleInset()
|
|
758
|
-
}],
|
|
759
|
-
/**
|
|
760
|
-
* End
|
|
761
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
762
|
-
*/
|
|
763
|
-
end: [{
|
|
764
|
-
end: scaleInset()
|
|
765
|
-
}],
|
|
766
|
-
/**
|
|
767
|
-
* Top
|
|
768
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
769
|
-
*/
|
|
770
|
-
top: [{
|
|
771
|
-
top: scaleInset()
|
|
772
|
-
}],
|
|
773
|
-
/**
|
|
774
|
-
* Right
|
|
775
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
776
|
-
*/
|
|
777
|
-
right: [{
|
|
778
|
-
right: scaleInset()
|
|
779
|
-
}],
|
|
780
|
-
/**
|
|
781
|
-
* Bottom
|
|
782
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
783
|
-
*/
|
|
784
|
-
bottom: [{
|
|
785
|
-
bottom: scaleInset()
|
|
786
|
-
}],
|
|
787
|
-
/**
|
|
788
|
-
* Left
|
|
789
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
790
|
-
*/
|
|
791
|
-
left: [{
|
|
792
|
-
left: scaleInset()
|
|
793
|
-
}],
|
|
794
|
-
/**
|
|
795
|
-
* Visibility
|
|
796
|
-
* @see https://tailwindcss.com/docs/visibility
|
|
797
|
-
*/
|
|
798
|
-
visibility: ['visible', 'invisible', 'collapse'],
|
|
799
|
-
/**
|
|
800
|
-
* Z-Index
|
|
801
|
-
* @see https://tailwindcss.com/docs/z-index
|
|
802
|
-
*/
|
|
803
|
-
z: [{
|
|
804
|
-
z: [isInteger, 'auto', isArbitraryVariable, isArbitraryValue]
|
|
805
|
-
}],
|
|
806
|
-
// ------------------------
|
|
807
|
-
// --- Flexbox and Grid ---
|
|
808
|
-
// ------------------------
|
|
809
|
-
/**
|
|
810
|
-
* Flex Basis
|
|
811
|
-
* @see https://tailwindcss.com/docs/flex-basis
|
|
812
|
-
*/
|
|
813
|
-
basis: [{
|
|
814
|
-
basis: [isFraction, 'full', 'auto', themeContainer, ...scaleUnambiguousSpacing()]
|
|
815
|
-
}],
|
|
816
|
-
/**
|
|
817
|
-
* Flex Direction
|
|
818
|
-
* @see https://tailwindcss.com/docs/flex-direction
|
|
819
|
-
*/
|
|
820
|
-
'flex-direction': [{
|
|
821
|
-
flex: ['row', 'row-reverse', 'col', 'col-reverse']
|
|
822
|
-
}],
|
|
823
|
-
/**
|
|
824
|
-
* Flex Wrap
|
|
825
|
-
* @see https://tailwindcss.com/docs/flex-wrap
|
|
826
|
-
*/
|
|
827
|
-
'flex-wrap': [{
|
|
828
|
-
flex: ['nowrap', 'wrap', 'wrap-reverse']
|
|
829
|
-
}],
|
|
830
|
-
/**
|
|
831
|
-
* Flex
|
|
832
|
-
* @see https://tailwindcss.com/docs/flex
|
|
833
|
-
*/
|
|
834
|
-
flex: [{
|
|
835
|
-
flex: [isNumber, isFraction, 'auto', 'initial', 'none', isArbitraryValue]
|
|
836
|
-
}],
|
|
837
|
-
/**
|
|
838
|
-
* Flex Grow
|
|
839
|
-
* @see https://tailwindcss.com/docs/flex-grow
|
|
840
|
-
*/
|
|
841
|
-
grow: [{
|
|
842
|
-
grow: ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
843
|
-
}],
|
|
844
|
-
/**
|
|
845
|
-
* Flex Shrink
|
|
846
|
-
* @see https://tailwindcss.com/docs/flex-shrink
|
|
847
|
-
*/
|
|
848
|
-
shrink: [{
|
|
849
|
-
shrink: ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
850
|
-
}],
|
|
851
|
-
/**
|
|
852
|
-
* Order
|
|
853
|
-
* @see https://tailwindcss.com/docs/order
|
|
854
|
-
*/
|
|
855
|
-
order: [{
|
|
856
|
-
order: [isInteger, 'first', 'last', 'none', isArbitraryVariable, isArbitraryValue]
|
|
857
|
-
}],
|
|
858
|
-
/**
|
|
859
|
-
* Grid Template Columns
|
|
860
|
-
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
861
|
-
*/
|
|
862
|
-
'grid-cols': [{
|
|
863
|
-
'grid-cols': scaleGridTemplateColsRows()
|
|
864
|
-
}],
|
|
865
|
-
/**
|
|
866
|
-
* Grid Column Start / End
|
|
867
|
-
* @see https://tailwindcss.com/docs/grid-column
|
|
868
|
-
*/
|
|
869
|
-
'col-start-end': [{
|
|
870
|
-
col: scaleGridColRowStartAndEnd()
|
|
871
|
-
}],
|
|
872
|
-
/**
|
|
873
|
-
* Grid Column Start
|
|
874
|
-
* @see https://tailwindcss.com/docs/grid-column
|
|
875
|
-
*/
|
|
876
|
-
'col-start': [{
|
|
877
|
-
'col-start': scaleGridColRowStartOrEnd()
|
|
878
|
-
}],
|
|
879
|
-
/**
|
|
880
|
-
* Grid Column End
|
|
881
|
-
* @see https://tailwindcss.com/docs/grid-column
|
|
882
|
-
*/
|
|
883
|
-
'col-end': [{
|
|
884
|
-
'col-end': scaleGridColRowStartOrEnd()
|
|
885
|
-
}],
|
|
886
|
-
/**
|
|
887
|
-
* Grid Template Rows
|
|
888
|
-
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
889
|
-
*/
|
|
890
|
-
'grid-rows': [{
|
|
891
|
-
'grid-rows': scaleGridTemplateColsRows()
|
|
892
|
-
}],
|
|
893
|
-
/**
|
|
894
|
-
* Grid Row Start / End
|
|
895
|
-
* @see https://tailwindcss.com/docs/grid-row
|
|
896
|
-
*/
|
|
897
|
-
'row-start-end': [{
|
|
898
|
-
row: scaleGridColRowStartAndEnd()
|
|
899
|
-
}],
|
|
900
|
-
/**
|
|
901
|
-
* Grid Row Start
|
|
902
|
-
* @see https://tailwindcss.com/docs/grid-row
|
|
903
|
-
*/
|
|
904
|
-
'row-start': [{
|
|
905
|
-
'row-start': scaleGridColRowStartOrEnd()
|
|
906
|
-
}],
|
|
907
|
-
/**
|
|
908
|
-
* Grid Row End
|
|
909
|
-
* @see https://tailwindcss.com/docs/grid-row
|
|
910
|
-
*/
|
|
911
|
-
'row-end': [{
|
|
912
|
-
'row-end': scaleGridColRowStartOrEnd()
|
|
913
|
-
}],
|
|
914
|
-
/**
|
|
915
|
-
* Grid Auto Flow
|
|
916
|
-
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
917
|
-
*/
|
|
918
|
-
'grid-flow': [{
|
|
919
|
-
'grid-flow': ['row', 'col', 'dense', 'row-dense', 'col-dense']
|
|
920
|
-
}],
|
|
921
|
-
/**
|
|
922
|
-
* Grid Auto Columns
|
|
923
|
-
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
924
|
-
*/
|
|
925
|
-
'auto-cols': [{
|
|
926
|
-
'auto-cols': scaleGridAutoColsRows()
|
|
927
|
-
}],
|
|
928
|
-
/**
|
|
929
|
-
* Grid Auto Rows
|
|
930
|
-
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
931
|
-
*/
|
|
932
|
-
'auto-rows': [{
|
|
933
|
-
'auto-rows': scaleGridAutoColsRows()
|
|
934
|
-
}],
|
|
935
|
-
/**
|
|
936
|
-
* Gap
|
|
937
|
-
* @see https://tailwindcss.com/docs/gap
|
|
938
|
-
*/
|
|
939
|
-
gap: [{
|
|
940
|
-
gap: scaleUnambiguousSpacing()
|
|
941
|
-
}],
|
|
942
|
-
/**
|
|
943
|
-
* Gap X
|
|
944
|
-
* @see https://tailwindcss.com/docs/gap
|
|
945
|
-
*/
|
|
946
|
-
'gap-x': [{
|
|
947
|
-
'gap-x': scaleUnambiguousSpacing()
|
|
948
|
-
}],
|
|
949
|
-
/**
|
|
950
|
-
* Gap Y
|
|
951
|
-
* @see https://tailwindcss.com/docs/gap
|
|
952
|
-
*/
|
|
953
|
-
'gap-y': [{
|
|
954
|
-
'gap-y': scaleUnambiguousSpacing()
|
|
955
|
-
}],
|
|
956
|
-
/**
|
|
957
|
-
* Justify Content
|
|
958
|
-
* @see https://tailwindcss.com/docs/justify-content
|
|
959
|
-
*/
|
|
960
|
-
'justify-content': [{
|
|
961
|
-
justify: [...scaleAlignPrimaryAxis(), 'normal']
|
|
962
|
-
}],
|
|
963
|
-
/**
|
|
964
|
-
* Justify Items
|
|
965
|
-
* @see https://tailwindcss.com/docs/justify-items
|
|
966
|
-
*/
|
|
967
|
-
'justify-items': [{
|
|
968
|
-
'justify-items': [...scaleAlignSecondaryAxis(), 'normal']
|
|
969
|
-
}],
|
|
970
|
-
/**
|
|
971
|
-
* Justify Self
|
|
972
|
-
* @see https://tailwindcss.com/docs/justify-self
|
|
973
|
-
*/
|
|
974
|
-
'justify-self': [{
|
|
975
|
-
'justify-self': ['auto', ...scaleAlignSecondaryAxis()]
|
|
976
|
-
}],
|
|
977
|
-
/**
|
|
978
|
-
* Align Content
|
|
979
|
-
* @see https://tailwindcss.com/docs/align-content
|
|
980
|
-
*/
|
|
981
|
-
'align-content': [{
|
|
982
|
-
content: ['normal', ...scaleAlignPrimaryAxis()]
|
|
983
|
-
}],
|
|
984
|
-
/**
|
|
985
|
-
* Align Items
|
|
986
|
-
* @see https://tailwindcss.com/docs/align-items
|
|
987
|
-
*/
|
|
988
|
-
'align-items': [{
|
|
989
|
-
items: [...scaleAlignSecondaryAxis(), {
|
|
990
|
-
baseline: ['', 'last']
|
|
991
|
-
}]
|
|
992
|
-
}],
|
|
993
|
-
/**
|
|
994
|
-
* Align Self
|
|
995
|
-
* @see https://tailwindcss.com/docs/align-self
|
|
996
|
-
*/
|
|
997
|
-
'align-self': [{
|
|
998
|
-
self: ['auto', ...scaleAlignSecondaryAxis(), {
|
|
999
|
-
baseline: ['', 'last']
|
|
1000
|
-
}]
|
|
1001
|
-
}],
|
|
1002
|
-
/**
|
|
1003
|
-
* Place Content
|
|
1004
|
-
* @see https://tailwindcss.com/docs/place-content
|
|
1005
|
-
*/
|
|
1006
|
-
'place-content': [{
|
|
1007
|
-
'place-content': scaleAlignPrimaryAxis()
|
|
1008
|
-
}],
|
|
1009
|
-
/**
|
|
1010
|
-
* Place Items
|
|
1011
|
-
* @see https://tailwindcss.com/docs/place-items
|
|
1012
|
-
*/
|
|
1013
|
-
'place-items': [{
|
|
1014
|
-
'place-items': [...scaleAlignSecondaryAxis(), 'baseline']
|
|
1015
|
-
}],
|
|
1016
|
-
/**
|
|
1017
|
-
* Place Self
|
|
1018
|
-
* @see https://tailwindcss.com/docs/place-self
|
|
1019
|
-
*/
|
|
1020
|
-
'place-self': [{
|
|
1021
|
-
'place-self': ['auto', ...scaleAlignSecondaryAxis()]
|
|
1022
|
-
}],
|
|
1023
|
-
// Spacing
|
|
1024
|
-
/**
|
|
1025
|
-
* Padding
|
|
1026
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1027
|
-
*/
|
|
1028
|
-
p: [{
|
|
1029
|
-
p: scaleUnambiguousSpacing()
|
|
1030
|
-
}],
|
|
1031
|
-
/**
|
|
1032
|
-
* Padding X
|
|
1033
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1034
|
-
*/
|
|
1035
|
-
px: [{
|
|
1036
|
-
px: scaleUnambiguousSpacing()
|
|
1037
|
-
}],
|
|
1038
|
-
/**
|
|
1039
|
-
* Padding Y
|
|
1040
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1041
|
-
*/
|
|
1042
|
-
py: [{
|
|
1043
|
-
py: scaleUnambiguousSpacing()
|
|
1044
|
-
}],
|
|
1045
|
-
/**
|
|
1046
|
-
* Padding Start
|
|
1047
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1048
|
-
*/
|
|
1049
|
-
ps: [{
|
|
1050
|
-
ps: scaleUnambiguousSpacing()
|
|
1051
|
-
}],
|
|
1052
|
-
/**
|
|
1053
|
-
* Padding End
|
|
1054
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1055
|
-
*/
|
|
1056
|
-
pe: [{
|
|
1057
|
-
pe: scaleUnambiguousSpacing()
|
|
1058
|
-
}],
|
|
1059
|
-
/**
|
|
1060
|
-
* Padding Top
|
|
1061
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1062
|
-
*/
|
|
1063
|
-
pt: [{
|
|
1064
|
-
pt: scaleUnambiguousSpacing()
|
|
1065
|
-
}],
|
|
1066
|
-
/**
|
|
1067
|
-
* Padding Right
|
|
1068
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1069
|
-
*/
|
|
1070
|
-
pr: [{
|
|
1071
|
-
pr: scaleUnambiguousSpacing()
|
|
1072
|
-
}],
|
|
1073
|
-
/**
|
|
1074
|
-
* Padding Bottom
|
|
1075
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1076
|
-
*/
|
|
1077
|
-
pb: [{
|
|
1078
|
-
pb: scaleUnambiguousSpacing()
|
|
1079
|
-
}],
|
|
1080
|
-
/**
|
|
1081
|
-
* Padding Left
|
|
1082
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1083
|
-
*/
|
|
1084
|
-
pl: [{
|
|
1085
|
-
pl: scaleUnambiguousSpacing()
|
|
1086
|
-
}],
|
|
1087
|
-
/**
|
|
1088
|
-
* Margin
|
|
1089
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1090
|
-
*/
|
|
1091
|
-
m: [{
|
|
1092
|
-
m: scaleMargin()
|
|
1093
|
-
}],
|
|
1094
|
-
/**
|
|
1095
|
-
* Margin X
|
|
1096
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1097
|
-
*/
|
|
1098
|
-
mx: [{
|
|
1099
|
-
mx: scaleMargin()
|
|
1100
|
-
}],
|
|
1101
|
-
/**
|
|
1102
|
-
* Margin Y
|
|
1103
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1104
|
-
*/
|
|
1105
|
-
my: [{
|
|
1106
|
-
my: scaleMargin()
|
|
1107
|
-
}],
|
|
1108
|
-
/**
|
|
1109
|
-
* Margin Start
|
|
1110
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1111
|
-
*/
|
|
1112
|
-
ms: [{
|
|
1113
|
-
ms: scaleMargin()
|
|
1114
|
-
}],
|
|
1115
|
-
/**
|
|
1116
|
-
* Margin End
|
|
1117
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1118
|
-
*/
|
|
1119
|
-
me: [{
|
|
1120
|
-
me: scaleMargin()
|
|
1121
|
-
}],
|
|
1122
|
-
/**
|
|
1123
|
-
* Margin Top
|
|
1124
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1125
|
-
*/
|
|
1126
|
-
mt: [{
|
|
1127
|
-
mt: scaleMargin()
|
|
1128
|
-
}],
|
|
1129
|
-
/**
|
|
1130
|
-
* Margin Right
|
|
1131
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1132
|
-
*/
|
|
1133
|
-
mr: [{
|
|
1134
|
-
mr: scaleMargin()
|
|
1135
|
-
}],
|
|
1136
|
-
/**
|
|
1137
|
-
* Margin Bottom
|
|
1138
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1139
|
-
*/
|
|
1140
|
-
mb: [{
|
|
1141
|
-
mb: scaleMargin()
|
|
1142
|
-
}],
|
|
1143
|
-
/**
|
|
1144
|
-
* Margin Left
|
|
1145
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1146
|
-
*/
|
|
1147
|
-
ml: [{
|
|
1148
|
-
ml: scaleMargin()
|
|
1149
|
-
}],
|
|
1150
|
-
/**
|
|
1151
|
-
* Space Between X
|
|
1152
|
-
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1153
|
-
*/
|
|
1154
|
-
'space-x': [{
|
|
1155
|
-
'space-x': scaleUnambiguousSpacing()
|
|
1156
|
-
}],
|
|
1157
|
-
/**
|
|
1158
|
-
* Space Between X Reverse
|
|
1159
|
-
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1160
|
-
*/
|
|
1161
|
-
'space-x-reverse': ['space-x-reverse'],
|
|
1162
|
-
/**
|
|
1163
|
-
* Space Between Y
|
|
1164
|
-
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1165
|
-
*/
|
|
1166
|
-
'space-y': [{
|
|
1167
|
-
'space-y': scaleUnambiguousSpacing()
|
|
1168
|
-
}],
|
|
1169
|
-
/**
|
|
1170
|
-
* Space Between Y Reverse
|
|
1171
|
-
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1172
|
-
*/
|
|
1173
|
-
'space-y-reverse': ['space-y-reverse'],
|
|
1174
|
-
// --------------
|
|
1175
|
-
// --- Sizing ---
|
|
1176
|
-
// --------------
|
|
1177
|
-
/**
|
|
1178
|
-
* Size
|
|
1179
|
-
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1180
|
-
*/
|
|
1181
|
-
size: [{
|
|
1182
|
-
size: scaleSizing()
|
|
1183
|
-
}],
|
|
1184
|
-
/**
|
|
1185
|
-
* Width
|
|
1186
|
-
* @see https://tailwindcss.com/docs/width
|
|
1187
|
-
*/
|
|
1188
|
-
w: [{
|
|
1189
|
-
w: [themeContainer, 'screen', ...scaleSizing()]
|
|
1190
|
-
}],
|
|
1191
|
-
/**
|
|
1192
|
-
* Min-Width
|
|
1193
|
-
* @see https://tailwindcss.com/docs/min-width
|
|
1194
|
-
*/
|
|
1195
|
-
'min-w': [{
|
|
1196
|
-
'min-w': [themeContainer, 'screen', /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1197
|
-
'none', ...scaleSizing()]
|
|
1198
|
-
}],
|
|
1199
|
-
/**
|
|
1200
|
-
* Max-Width
|
|
1201
|
-
* @see https://tailwindcss.com/docs/max-width
|
|
1202
|
-
*/
|
|
1203
|
-
'max-w': [{
|
|
1204
|
-
'max-w': [themeContainer, 'screen', 'none', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1205
|
-
'prose', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1206
|
-
{
|
|
1207
|
-
screen: [themeBreakpoint]
|
|
1208
|
-
}, ...scaleSizing()]
|
|
1209
|
-
}],
|
|
1210
|
-
/**
|
|
1211
|
-
* Height
|
|
1212
|
-
* @see https://tailwindcss.com/docs/height
|
|
1213
|
-
*/
|
|
1214
|
-
h: [{
|
|
1215
|
-
h: ['screen', 'lh', ...scaleSizing()]
|
|
1216
|
-
}],
|
|
1217
|
-
/**
|
|
1218
|
-
* Min-Height
|
|
1219
|
-
* @see https://tailwindcss.com/docs/min-height
|
|
1220
|
-
*/
|
|
1221
|
-
'min-h': [{
|
|
1222
|
-
'min-h': ['screen', 'lh', 'none', ...scaleSizing()]
|
|
1223
|
-
}],
|
|
1224
|
-
/**
|
|
1225
|
-
* Max-Height
|
|
1226
|
-
* @see https://tailwindcss.com/docs/max-height
|
|
1227
|
-
*/
|
|
1228
|
-
'max-h': [{
|
|
1229
|
-
'max-h': ['screen', 'lh', ...scaleSizing()]
|
|
1230
|
-
}],
|
|
1231
|
-
// ------------------
|
|
1232
|
-
// --- Typography ---
|
|
1233
|
-
// ------------------
|
|
1234
|
-
/**
|
|
1235
|
-
* Font Size
|
|
1236
|
-
* @see https://tailwindcss.com/docs/font-size
|
|
1237
|
-
*/
|
|
1238
|
-
'font-size': [{
|
|
1239
|
-
text: ['base', themeText, isArbitraryVariableLength, isArbitraryLength]
|
|
1240
|
-
}],
|
|
1241
|
-
/**
|
|
1242
|
-
* Font Smoothing
|
|
1243
|
-
* @see https://tailwindcss.com/docs/font-smoothing
|
|
1244
|
-
*/
|
|
1245
|
-
'font-smoothing': ['antialiased', 'subpixel-antialiased'],
|
|
1246
|
-
/**
|
|
1247
|
-
* Font Style
|
|
1248
|
-
* @see https://tailwindcss.com/docs/font-style
|
|
1249
|
-
*/
|
|
1250
|
-
'font-style': ['italic', 'not-italic'],
|
|
1251
|
-
/**
|
|
1252
|
-
* Font Weight
|
|
1253
|
-
* @see https://tailwindcss.com/docs/font-weight
|
|
1254
|
-
*/
|
|
1255
|
-
'font-weight': [{
|
|
1256
|
-
font: [themeFontWeight, isArbitraryVariable, isArbitraryNumber]
|
|
1257
|
-
}],
|
|
1258
|
-
/**
|
|
1259
|
-
* Font Stretch
|
|
1260
|
-
* @see https://tailwindcss.com/docs/font-stretch
|
|
1261
|
-
*/
|
|
1262
|
-
'font-stretch': [{
|
|
1263
|
-
'font-stretch': ['ultra-condensed', 'extra-condensed', 'condensed', 'semi-condensed', 'normal', 'semi-expanded', 'expanded', 'extra-expanded', 'ultra-expanded', isPercent, isArbitraryValue]
|
|
1264
|
-
}],
|
|
1265
|
-
/**
|
|
1266
|
-
* Font Family
|
|
1267
|
-
* @see https://tailwindcss.com/docs/font-family
|
|
1268
|
-
*/
|
|
1269
|
-
'font-family': [{
|
|
1270
|
-
font: [isArbitraryVariableFamilyName, isArbitraryValue, themeFont]
|
|
1271
|
-
}],
|
|
1272
|
-
/**
|
|
1273
|
-
* Font Variant Numeric
|
|
1274
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1275
|
-
*/
|
|
1276
|
-
'fvn-normal': ['normal-nums'],
|
|
1277
|
-
/**
|
|
1278
|
-
* Font Variant Numeric
|
|
1279
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1280
|
-
*/
|
|
1281
|
-
'fvn-ordinal': ['ordinal'],
|
|
1282
|
-
/**
|
|
1283
|
-
* Font Variant Numeric
|
|
1284
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1285
|
-
*/
|
|
1286
|
-
'fvn-slashed-zero': ['slashed-zero'],
|
|
1287
|
-
/**
|
|
1288
|
-
* Font Variant Numeric
|
|
1289
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1290
|
-
*/
|
|
1291
|
-
'fvn-figure': ['lining-nums', 'oldstyle-nums'],
|
|
1292
|
-
/**
|
|
1293
|
-
* Font Variant Numeric
|
|
1294
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1295
|
-
*/
|
|
1296
|
-
'fvn-spacing': ['proportional-nums', 'tabular-nums'],
|
|
1297
|
-
/**
|
|
1298
|
-
* Font Variant Numeric
|
|
1299
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1300
|
-
*/
|
|
1301
|
-
'fvn-fraction': ['diagonal-fractions', 'stacked-fractions'],
|
|
1302
|
-
/**
|
|
1303
|
-
* Letter Spacing
|
|
1304
|
-
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1305
|
-
*/
|
|
1306
|
-
tracking: [{
|
|
1307
|
-
tracking: [themeTracking, isArbitraryVariable, isArbitraryValue]
|
|
1308
|
-
}],
|
|
1309
|
-
/**
|
|
1310
|
-
* Line Clamp
|
|
1311
|
-
* @see https://tailwindcss.com/docs/line-clamp
|
|
1312
|
-
*/
|
|
1313
|
-
'line-clamp': [{
|
|
1314
|
-
'line-clamp': [isNumber, 'none', isArbitraryVariable, isArbitraryNumber]
|
|
1315
|
-
}],
|
|
1316
|
-
/**
|
|
1317
|
-
* Line Height
|
|
1318
|
-
* @see https://tailwindcss.com/docs/line-height
|
|
1319
|
-
*/
|
|
1320
|
-
leading: [{
|
|
1321
|
-
leading: [/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1322
|
-
themeLeading, ...scaleUnambiguousSpacing()]
|
|
1323
|
-
}],
|
|
1324
|
-
/**
|
|
1325
|
-
* List Style Image
|
|
1326
|
-
* @see https://tailwindcss.com/docs/list-style-image
|
|
1327
|
-
*/
|
|
1328
|
-
'list-image': [{
|
|
1329
|
-
'list-image': ['none', isArbitraryVariable, isArbitraryValue]
|
|
1330
|
-
}],
|
|
1331
|
-
/**
|
|
1332
|
-
* List Style Position
|
|
1333
|
-
* @see https://tailwindcss.com/docs/list-style-position
|
|
1334
|
-
*/
|
|
1335
|
-
'list-style-position': [{
|
|
1336
|
-
list: ['inside', 'outside']
|
|
1337
|
-
}],
|
|
1338
|
-
/**
|
|
1339
|
-
* List Style Type
|
|
1340
|
-
* @see https://tailwindcss.com/docs/list-style-type
|
|
1341
|
-
*/
|
|
1342
|
-
'list-style-type': [{
|
|
1343
|
-
list: ['disc', 'decimal', 'none', isArbitraryVariable, isArbitraryValue]
|
|
1344
|
-
}],
|
|
1345
|
-
/**
|
|
1346
|
-
* Text Alignment
|
|
1347
|
-
* @see https://tailwindcss.com/docs/text-align
|
|
1348
|
-
*/
|
|
1349
|
-
'text-alignment': [{
|
|
1350
|
-
text: ['left', 'center', 'right', 'justify', 'start', 'end']
|
|
1351
|
-
}],
|
|
1352
|
-
/**
|
|
1353
|
-
* Placeholder Color
|
|
1354
|
-
* @deprecated since Tailwind CSS v3.0.0
|
|
1355
|
-
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1356
|
-
*/
|
|
1357
|
-
'placeholder-color': [{
|
|
1358
|
-
placeholder: scaleColor()
|
|
1359
|
-
}],
|
|
1360
|
-
/**
|
|
1361
|
-
* Text Color
|
|
1362
|
-
* @see https://tailwindcss.com/docs/text-color
|
|
1363
|
-
*/
|
|
1364
|
-
'text-color': [{
|
|
1365
|
-
text: scaleColor()
|
|
1366
|
-
}],
|
|
1367
|
-
/**
|
|
1368
|
-
* Text Decoration
|
|
1369
|
-
* @see https://tailwindcss.com/docs/text-decoration
|
|
1370
|
-
*/
|
|
1371
|
-
'text-decoration': ['underline', 'overline', 'line-through', 'no-underline'],
|
|
1372
|
-
/**
|
|
1373
|
-
* Text Decoration Style
|
|
1374
|
-
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1375
|
-
*/
|
|
1376
|
-
'text-decoration-style': [{
|
|
1377
|
-
decoration: [...scaleLineStyle(), 'wavy']
|
|
1378
|
-
}],
|
|
1379
|
-
/**
|
|
1380
|
-
* Text Decoration Thickness
|
|
1381
|
-
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1382
|
-
*/
|
|
1383
|
-
'text-decoration-thickness': [{
|
|
1384
|
-
decoration: [isNumber, 'from-font', 'auto', isArbitraryVariable, isArbitraryLength]
|
|
1385
|
-
}],
|
|
1386
|
-
/**
|
|
1387
|
-
* Text Decoration Color
|
|
1388
|
-
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1389
|
-
*/
|
|
1390
|
-
'text-decoration-color': [{
|
|
1391
|
-
decoration: scaleColor()
|
|
1392
|
-
}],
|
|
1393
|
-
/**
|
|
1394
|
-
* Text Underline Offset
|
|
1395
|
-
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1396
|
-
*/
|
|
1397
|
-
'underline-offset': [{
|
|
1398
|
-
'underline-offset': [isNumber, 'auto', isArbitraryVariable, isArbitraryValue]
|
|
1399
|
-
}],
|
|
1400
|
-
/**
|
|
1401
|
-
* Text Transform
|
|
1402
|
-
* @see https://tailwindcss.com/docs/text-transform
|
|
1403
|
-
*/
|
|
1404
|
-
'text-transform': ['uppercase', 'lowercase', 'capitalize', 'normal-case'],
|
|
1405
|
-
/**
|
|
1406
|
-
* Text Overflow
|
|
1407
|
-
* @see https://tailwindcss.com/docs/text-overflow
|
|
1408
|
-
*/
|
|
1409
|
-
'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],
|
|
1410
|
-
/**
|
|
1411
|
-
* Text Wrap
|
|
1412
|
-
* @see https://tailwindcss.com/docs/text-wrap
|
|
1413
|
-
*/
|
|
1414
|
-
'text-wrap': [{
|
|
1415
|
-
text: ['wrap', 'nowrap', 'balance', 'pretty']
|
|
1416
|
-
}],
|
|
1417
|
-
/**
|
|
1418
|
-
* Text Indent
|
|
1419
|
-
* @see https://tailwindcss.com/docs/text-indent
|
|
1420
|
-
*/
|
|
1421
|
-
indent: [{
|
|
1422
|
-
indent: scaleUnambiguousSpacing()
|
|
1423
|
-
}],
|
|
1424
|
-
/**
|
|
1425
|
-
* Vertical Alignment
|
|
1426
|
-
* @see https://tailwindcss.com/docs/vertical-align
|
|
1427
|
-
*/
|
|
1428
|
-
'vertical-align': [{
|
|
1429
|
-
align: ['baseline', 'top', 'middle', 'bottom', 'text-top', 'text-bottom', 'sub', 'super', isArbitraryVariable, isArbitraryValue]
|
|
1430
|
-
}],
|
|
1431
|
-
/**
|
|
1432
|
-
* Whitespace
|
|
1433
|
-
* @see https://tailwindcss.com/docs/whitespace
|
|
1434
|
-
*/
|
|
1435
|
-
whitespace: [{
|
|
1436
|
-
whitespace: ['normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap', 'break-spaces']
|
|
1437
|
-
}],
|
|
1438
|
-
/**
|
|
1439
|
-
* Word Break
|
|
1440
|
-
* @see https://tailwindcss.com/docs/word-break
|
|
1441
|
-
*/
|
|
1442
|
-
break: [{
|
|
1443
|
-
break: ['normal', 'words', 'all', 'keep']
|
|
1444
|
-
}],
|
|
1445
|
-
/**
|
|
1446
|
-
* Overflow Wrap
|
|
1447
|
-
* @see https://tailwindcss.com/docs/overflow-wrap
|
|
1448
|
-
*/
|
|
1449
|
-
wrap: [{
|
|
1450
|
-
wrap: ['break-word', 'anywhere', 'normal']
|
|
1451
|
-
}],
|
|
1452
|
-
/**
|
|
1453
|
-
* Hyphens
|
|
1454
|
-
* @see https://tailwindcss.com/docs/hyphens
|
|
1455
|
-
*/
|
|
1456
|
-
hyphens: [{
|
|
1457
|
-
hyphens: ['none', 'manual', 'auto']
|
|
1458
|
-
}],
|
|
1459
|
-
/**
|
|
1460
|
-
* Content
|
|
1461
|
-
* @see https://tailwindcss.com/docs/content
|
|
1462
|
-
*/
|
|
1463
|
-
content: [{
|
|
1464
|
-
content: ['none', isArbitraryVariable, isArbitraryValue]
|
|
1465
|
-
}],
|
|
1466
|
-
// -------------------
|
|
1467
|
-
// --- Backgrounds ---
|
|
1468
|
-
// -------------------
|
|
1469
|
-
/**
|
|
1470
|
-
* Background Attachment
|
|
1471
|
-
* @see https://tailwindcss.com/docs/background-attachment
|
|
1472
|
-
*/
|
|
1473
|
-
'bg-attachment': [{
|
|
1474
|
-
bg: ['fixed', 'local', 'scroll']
|
|
1475
|
-
}],
|
|
1476
|
-
/**
|
|
1477
|
-
* Background Clip
|
|
1478
|
-
* @see https://tailwindcss.com/docs/background-clip
|
|
1479
|
-
*/
|
|
1480
|
-
'bg-clip': [{
|
|
1481
|
-
'bg-clip': ['border', 'padding', 'content', 'text']
|
|
1482
|
-
}],
|
|
1483
|
-
/**
|
|
1484
|
-
* Background Origin
|
|
1485
|
-
* @see https://tailwindcss.com/docs/background-origin
|
|
1486
|
-
*/
|
|
1487
|
-
'bg-origin': [{
|
|
1488
|
-
'bg-origin': ['border', 'padding', 'content']
|
|
1489
|
-
}],
|
|
1490
|
-
/**
|
|
1491
|
-
* Background Position
|
|
1492
|
-
* @see https://tailwindcss.com/docs/background-position
|
|
1493
|
-
*/
|
|
1494
|
-
'bg-position': [{
|
|
1495
|
-
bg: scaleBgPosition()
|
|
1496
|
-
}],
|
|
1497
|
-
/**
|
|
1498
|
-
* Background Repeat
|
|
1499
|
-
* @see https://tailwindcss.com/docs/background-repeat
|
|
1500
|
-
*/
|
|
1501
|
-
'bg-repeat': [{
|
|
1502
|
-
bg: scaleBgRepeat()
|
|
1503
|
-
}],
|
|
1504
|
-
/**
|
|
1505
|
-
* Background Size
|
|
1506
|
-
* @see https://tailwindcss.com/docs/background-size
|
|
1507
|
-
*/
|
|
1508
|
-
'bg-size': [{
|
|
1509
|
-
bg: scaleBgSize()
|
|
1510
|
-
}],
|
|
1511
|
-
/**
|
|
1512
|
-
* Background Image
|
|
1513
|
-
* @see https://tailwindcss.com/docs/background-image
|
|
1514
|
-
*/
|
|
1515
|
-
'bg-image': [{
|
|
1516
|
-
bg: ['none', {
|
|
1517
|
-
linear: [{
|
|
1518
|
-
to: ['t', 'tr', 'r', 'br', 'b', 'bl', 'l', 'tl']
|
|
1519
|
-
}, isInteger, isArbitraryVariable, isArbitraryValue],
|
|
1520
|
-
radial: ['', isArbitraryVariable, isArbitraryValue],
|
|
1521
|
-
conic: [isInteger, isArbitraryVariable, isArbitraryValue]
|
|
1522
|
-
}, isArbitraryVariableImage, isArbitraryImage]
|
|
1523
|
-
}],
|
|
1524
|
-
/**
|
|
1525
|
-
* Background Color
|
|
1526
|
-
* @see https://tailwindcss.com/docs/background-color
|
|
1527
|
-
*/
|
|
1528
|
-
'bg-color': [{
|
|
1529
|
-
bg: scaleColor()
|
|
1530
|
-
}],
|
|
1531
|
-
/**
|
|
1532
|
-
* Gradient Color Stops From Position
|
|
1533
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1534
|
-
*/
|
|
1535
|
-
'gradient-from-pos': [{
|
|
1536
|
-
from: scaleGradientStopPosition()
|
|
1537
|
-
}],
|
|
1538
|
-
/**
|
|
1539
|
-
* Gradient Color Stops Via Position
|
|
1540
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1541
|
-
*/
|
|
1542
|
-
'gradient-via-pos': [{
|
|
1543
|
-
via: scaleGradientStopPosition()
|
|
1544
|
-
}],
|
|
1545
|
-
/**
|
|
1546
|
-
* Gradient Color Stops To Position
|
|
1547
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1548
|
-
*/
|
|
1549
|
-
'gradient-to-pos': [{
|
|
1550
|
-
to: scaleGradientStopPosition()
|
|
1551
|
-
}],
|
|
1552
|
-
/**
|
|
1553
|
-
* Gradient Color Stops From
|
|
1554
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1555
|
-
*/
|
|
1556
|
-
'gradient-from': [{
|
|
1557
|
-
from: scaleColor()
|
|
1558
|
-
}],
|
|
1559
|
-
/**
|
|
1560
|
-
* Gradient Color Stops Via
|
|
1561
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1562
|
-
*/
|
|
1563
|
-
'gradient-via': [{
|
|
1564
|
-
via: scaleColor()
|
|
1565
|
-
}],
|
|
1566
|
-
/**
|
|
1567
|
-
* Gradient Color Stops To
|
|
1568
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1569
|
-
*/
|
|
1570
|
-
'gradient-to': [{
|
|
1571
|
-
to: scaleColor()
|
|
1572
|
-
}],
|
|
1573
|
-
// ---------------
|
|
1574
|
-
// --- Borders ---
|
|
1575
|
-
// ---------------
|
|
1576
|
-
/**
|
|
1577
|
-
* Border Radius
|
|
1578
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1579
|
-
*/
|
|
1580
|
-
rounded: [{
|
|
1581
|
-
rounded: scaleRadius()
|
|
1582
|
-
}],
|
|
1583
|
-
/**
|
|
1584
|
-
* Border Radius Start
|
|
1585
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1586
|
-
*/
|
|
1587
|
-
'rounded-s': [{
|
|
1588
|
-
'rounded-s': scaleRadius()
|
|
1589
|
-
}],
|
|
1590
|
-
/**
|
|
1591
|
-
* Border Radius End
|
|
1592
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1593
|
-
*/
|
|
1594
|
-
'rounded-e': [{
|
|
1595
|
-
'rounded-e': scaleRadius()
|
|
1596
|
-
}],
|
|
1597
|
-
/**
|
|
1598
|
-
* Border Radius Top
|
|
1599
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1600
|
-
*/
|
|
1601
|
-
'rounded-t': [{
|
|
1602
|
-
'rounded-t': scaleRadius()
|
|
1603
|
-
}],
|
|
1604
|
-
/**
|
|
1605
|
-
* Border Radius Right
|
|
1606
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1607
|
-
*/
|
|
1608
|
-
'rounded-r': [{
|
|
1609
|
-
'rounded-r': scaleRadius()
|
|
1610
|
-
}],
|
|
1611
|
-
/**
|
|
1612
|
-
* Border Radius Bottom
|
|
1613
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1614
|
-
*/
|
|
1615
|
-
'rounded-b': [{
|
|
1616
|
-
'rounded-b': scaleRadius()
|
|
1617
|
-
}],
|
|
1618
|
-
/**
|
|
1619
|
-
* Border Radius Left
|
|
1620
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1621
|
-
*/
|
|
1622
|
-
'rounded-l': [{
|
|
1623
|
-
'rounded-l': scaleRadius()
|
|
1624
|
-
}],
|
|
1625
|
-
/**
|
|
1626
|
-
* Border Radius Start Start
|
|
1627
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1628
|
-
*/
|
|
1629
|
-
'rounded-ss': [{
|
|
1630
|
-
'rounded-ss': scaleRadius()
|
|
1631
|
-
}],
|
|
1632
|
-
/**
|
|
1633
|
-
* Border Radius Start End
|
|
1634
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1635
|
-
*/
|
|
1636
|
-
'rounded-se': [{
|
|
1637
|
-
'rounded-se': scaleRadius()
|
|
1638
|
-
}],
|
|
1639
|
-
/**
|
|
1640
|
-
* Border Radius End End
|
|
1641
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1642
|
-
*/
|
|
1643
|
-
'rounded-ee': [{
|
|
1644
|
-
'rounded-ee': scaleRadius()
|
|
1645
|
-
}],
|
|
1646
|
-
/**
|
|
1647
|
-
* Border Radius End Start
|
|
1648
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1649
|
-
*/
|
|
1650
|
-
'rounded-es': [{
|
|
1651
|
-
'rounded-es': scaleRadius()
|
|
1652
|
-
}],
|
|
1653
|
-
/**
|
|
1654
|
-
* Border Radius Top Left
|
|
1655
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1656
|
-
*/
|
|
1657
|
-
'rounded-tl': [{
|
|
1658
|
-
'rounded-tl': scaleRadius()
|
|
1659
|
-
}],
|
|
1660
|
-
/**
|
|
1661
|
-
* Border Radius Top Right
|
|
1662
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1663
|
-
*/
|
|
1664
|
-
'rounded-tr': [{
|
|
1665
|
-
'rounded-tr': scaleRadius()
|
|
1666
|
-
}],
|
|
1667
|
-
/**
|
|
1668
|
-
* Border Radius Bottom Right
|
|
1669
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1670
|
-
*/
|
|
1671
|
-
'rounded-br': [{
|
|
1672
|
-
'rounded-br': scaleRadius()
|
|
1673
|
-
}],
|
|
1674
|
-
/**
|
|
1675
|
-
* Border Radius Bottom Left
|
|
1676
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1677
|
-
*/
|
|
1678
|
-
'rounded-bl': [{
|
|
1679
|
-
'rounded-bl': scaleRadius()
|
|
1680
|
-
}],
|
|
1681
|
-
/**
|
|
1682
|
-
* Border Width
|
|
1683
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1684
|
-
*/
|
|
1685
|
-
'border-w': [{
|
|
1686
|
-
border: scaleBorderWidth()
|
|
1687
|
-
}],
|
|
1688
|
-
/**
|
|
1689
|
-
* Border Width X
|
|
1690
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1691
|
-
*/
|
|
1692
|
-
'border-w-x': [{
|
|
1693
|
-
'border-x': scaleBorderWidth()
|
|
1694
|
-
}],
|
|
1695
|
-
/**
|
|
1696
|
-
* Border Width Y
|
|
1697
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1698
|
-
*/
|
|
1699
|
-
'border-w-y': [{
|
|
1700
|
-
'border-y': scaleBorderWidth()
|
|
1701
|
-
}],
|
|
1702
|
-
/**
|
|
1703
|
-
* Border Width Start
|
|
1704
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1705
|
-
*/
|
|
1706
|
-
'border-w-s': [{
|
|
1707
|
-
'border-s': scaleBorderWidth()
|
|
1708
|
-
}],
|
|
1709
|
-
/**
|
|
1710
|
-
* Border Width End
|
|
1711
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1712
|
-
*/
|
|
1713
|
-
'border-w-e': [{
|
|
1714
|
-
'border-e': scaleBorderWidth()
|
|
1715
|
-
}],
|
|
1716
|
-
/**
|
|
1717
|
-
* Border Width Top
|
|
1718
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1719
|
-
*/
|
|
1720
|
-
'border-w-t': [{
|
|
1721
|
-
'border-t': scaleBorderWidth()
|
|
1722
|
-
}],
|
|
1723
|
-
/**
|
|
1724
|
-
* Border Width Right
|
|
1725
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1726
|
-
*/
|
|
1727
|
-
'border-w-r': [{
|
|
1728
|
-
'border-r': scaleBorderWidth()
|
|
1729
|
-
}],
|
|
1730
|
-
/**
|
|
1731
|
-
* Border Width Bottom
|
|
1732
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1733
|
-
*/
|
|
1734
|
-
'border-w-b': [{
|
|
1735
|
-
'border-b': scaleBorderWidth()
|
|
1736
|
-
}],
|
|
1737
|
-
/**
|
|
1738
|
-
* Border Width Left
|
|
1739
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1740
|
-
*/
|
|
1741
|
-
'border-w-l': [{
|
|
1742
|
-
'border-l': scaleBorderWidth()
|
|
1743
|
-
}],
|
|
1744
|
-
/**
|
|
1745
|
-
* Divide Width X
|
|
1746
|
-
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1747
|
-
*/
|
|
1748
|
-
'divide-x': [{
|
|
1749
|
-
'divide-x': scaleBorderWidth()
|
|
1750
|
-
}],
|
|
1751
|
-
/**
|
|
1752
|
-
* Divide Width X Reverse
|
|
1753
|
-
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1754
|
-
*/
|
|
1755
|
-
'divide-x-reverse': ['divide-x-reverse'],
|
|
1756
|
-
/**
|
|
1757
|
-
* Divide Width Y
|
|
1758
|
-
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1759
|
-
*/
|
|
1760
|
-
'divide-y': [{
|
|
1761
|
-
'divide-y': scaleBorderWidth()
|
|
1762
|
-
}],
|
|
1763
|
-
/**
|
|
1764
|
-
* Divide Width Y Reverse
|
|
1765
|
-
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1766
|
-
*/
|
|
1767
|
-
'divide-y-reverse': ['divide-y-reverse'],
|
|
1768
|
-
/**
|
|
1769
|
-
* Border Style
|
|
1770
|
-
* @see https://tailwindcss.com/docs/border-style
|
|
1771
|
-
*/
|
|
1772
|
-
'border-style': [{
|
|
1773
|
-
border: [...scaleLineStyle(), 'hidden', 'none']
|
|
1774
|
-
}],
|
|
1775
|
-
/**
|
|
1776
|
-
* Divide Style
|
|
1777
|
-
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1778
|
-
*/
|
|
1779
|
-
'divide-style': [{
|
|
1780
|
-
divide: [...scaleLineStyle(), 'hidden', 'none']
|
|
1781
|
-
}],
|
|
1782
|
-
/**
|
|
1783
|
-
* Border Color
|
|
1784
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1785
|
-
*/
|
|
1786
|
-
'border-color': [{
|
|
1787
|
-
border: scaleColor()
|
|
1788
|
-
}],
|
|
1789
|
-
/**
|
|
1790
|
-
* Border Color X
|
|
1791
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1792
|
-
*/
|
|
1793
|
-
'border-color-x': [{
|
|
1794
|
-
'border-x': scaleColor()
|
|
1795
|
-
}],
|
|
1796
|
-
/**
|
|
1797
|
-
* Border Color Y
|
|
1798
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1799
|
-
*/
|
|
1800
|
-
'border-color-y': [{
|
|
1801
|
-
'border-y': scaleColor()
|
|
1802
|
-
}],
|
|
1803
|
-
/**
|
|
1804
|
-
* Border Color S
|
|
1805
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1806
|
-
*/
|
|
1807
|
-
'border-color-s': [{
|
|
1808
|
-
'border-s': scaleColor()
|
|
1809
|
-
}],
|
|
1810
|
-
/**
|
|
1811
|
-
* Border Color E
|
|
1812
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1813
|
-
*/
|
|
1814
|
-
'border-color-e': [{
|
|
1815
|
-
'border-e': scaleColor()
|
|
1816
|
-
}],
|
|
1817
|
-
/**
|
|
1818
|
-
* Border Color Top
|
|
1819
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1820
|
-
*/
|
|
1821
|
-
'border-color-t': [{
|
|
1822
|
-
'border-t': scaleColor()
|
|
1823
|
-
}],
|
|
1824
|
-
/**
|
|
1825
|
-
* Border Color Right
|
|
1826
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1827
|
-
*/
|
|
1828
|
-
'border-color-r': [{
|
|
1829
|
-
'border-r': scaleColor()
|
|
1830
|
-
}],
|
|
1831
|
-
/**
|
|
1832
|
-
* Border Color Bottom
|
|
1833
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1834
|
-
*/
|
|
1835
|
-
'border-color-b': [{
|
|
1836
|
-
'border-b': scaleColor()
|
|
1837
|
-
}],
|
|
1838
|
-
/**
|
|
1839
|
-
* Border Color Left
|
|
1840
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1841
|
-
*/
|
|
1842
|
-
'border-color-l': [{
|
|
1843
|
-
'border-l': scaleColor()
|
|
1844
|
-
}],
|
|
1845
|
-
/**
|
|
1846
|
-
* Divide Color
|
|
1847
|
-
* @see https://tailwindcss.com/docs/divide-color
|
|
1848
|
-
*/
|
|
1849
|
-
'divide-color': [{
|
|
1850
|
-
divide: scaleColor()
|
|
1851
|
-
}],
|
|
1852
|
-
/**
|
|
1853
|
-
* Outline Style
|
|
1854
|
-
* @see https://tailwindcss.com/docs/outline-style
|
|
1855
|
-
*/
|
|
1856
|
-
'outline-style': [{
|
|
1857
|
-
outline: [...scaleLineStyle(), 'none', 'hidden']
|
|
1858
|
-
}],
|
|
1859
|
-
/**
|
|
1860
|
-
* Outline Offset
|
|
1861
|
-
* @see https://tailwindcss.com/docs/outline-offset
|
|
1862
|
-
*/
|
|
1863
|
-
'outline-offset': [{
|
|
1864
|
-
'outline-offset': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
1865
|
-
}],
|
|
1866
|
-
/**
|
|
1867
|
-
* Outline Width
|
|
1868
|
-
* @see https://tailwindcss.com/docs/outline-width
|
|
1869
|
-
*/
|
|
1870
|
-
'outline-w': [{
|
|
1871
|
-
outline: ['', isNumber, isArbitraryVariableLength, isArbitraryLength]
|
|
1872
|
-
}],
|
|
1873
|
-
/**
|
|
1874
|
-
* Outline Color
|
|
1875
|
-
* @see https://tailwindcss.com/docs/outline-color
|
|
1876
|
-
*/
|
|
1877
|
-
'outline-color': [{
|
|
1878
|
-
outline: scaleColor()
|
|
1879
|
-
}],
|
|
1880
|
-
// ---------------
|
|
1881
|
-
// --- Effects ---
|
|
1882
|
-
// ---------------
|
|
1883
|
-
/**
|
|
1884
|
-
* Box Shadow
|
|
1885
|
-
* @see https://tailwindcss.com/docs/box-shadow
|
|
1886
|
-
*/
|
|
1887
|
-
shadow: [{
|
|
1888
|
-
shadow: [
|
|
1889
|
-
// Deprecated since Tailwind CSS v4.0.0
|
|
1890
|
-
'', 'none', themeShadow, isArbitraryVariableShadow, isArbitraryShadow]
|
|
1891
|
-
}],
|
|
1892
|
-
/**
|
|
1893
|
-
* Box Shadow Color
|
|
1894
|
-
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
1895
|
-
*/
|
|
1896
|
-
'shadow-color': [{
|
|
1897
|
-
shadow: scaleColor()
|
|
1898
|
-
}],
|
|
1899
|
-
/**
|
|
1900
|
-
* Inset Box Shadow
|
|
1901
|
-
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1902
|
-
*/
|
|
1903
|
-
'inset-shadow': [{
|
|
1904
|
-
'inset-shadow': ['none', themeInsetShadow, isArbitraryVariableShadow, isArbitraryShadow]
|
|
1905
|
-
}],
|
|
1906
|
-
/**
|
|
1907
|
-
* Inset Box Shadow Color
|
|
1908
|
-
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
1909
|
-
*/
|
|
1910
|
-
'inset-shadow-color': [{
|
|
1911
|
-
'inset-shadow': scaleColor()
|
|
1912
|
-
}],
|
|
1913
|
-
/**
|
|
1914
|
-
* Ring Width
|
|
1915
|
-
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1916
|
-
*/
|
|
1917
|
-
'ring-w': [{
|
|
1918
|
-
ring: scaleBorderWidth()
|
|
1919
|
-
}],
|
|
1920
|
-
/**
|
|
1921
|
-
* Ring Width Inset
|
|
1922
|
-
* @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
|
|
1923
|
-
* @deprecated since Tailwind CSS v4.0.0
|
|
1924
|
-
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1925
|
-
*/
|
|
1926
|
-
'ring-w-inset': ['ring-inset'],
|
|
1927
|
-
/**
|
|
1928
|
-
* Ring Color
|
|
1929
|
-
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
1930
|
-
*/
|
|
1931
|
-
'ring-color': [{
|
|
1932
|
-
ring: scaleColor()
|
|
1933
|
-
}],
|
|
1934
|
-
/**
|
|
1935
|
-
* Ring Offset Width
|
|
1936
|
-
* @see https://v3.tailwindcss.com/docs/ring-offset-width
|
|
1937
|
-
* @deprecated since Tailwind CSS v4.0.0
|
|
1938
|
-
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1939
|
-
*/
|
|
1940
|
-
'ring-offset-w': [{
|
|
1941
|
-
'ring-offset': [isNumber, isArbitraryLength]
|
|
1942
|
-
}],
|
|
1943
|
-
/**
|
|
1944
|
-
* Ring Offset Color
|
|
1945
|
-
* @see https://v3.tailwindcss.com/docs/ring-offset-color
|
|
1946
|
-
* @deprecated since Tailwind CSS v4.0.0
|
|
1947
|
-
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1948
|
-
*/
|
|
1949
|
-
'ring-offset-color': [{
|
|
1950
|
-
'ring-offset': scaleColor()
|
|
1951
|
-
}],
|
|
1952
|
-
/**
|
|
1953
|
-
* Inset Ring Width
|
|
1954
|
-
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1955
|
-
*/
|
|
1956
|
-
'inset-ring-w': [{
|
|
1957
|
-
'inset-ring': scaleBorderWidth()
|
|
1958
|
-
}],
|
|
1959
|
-
/**
|
|
1960
|
-
* Inset Ring Color
|
|
1961
|
-
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
1962
|
-
*/
|
|
1963
|
-
'inset-ring-color': [{
|
|
1964
|
-
'inset-ring': scaleColor()
|
|
1965
|
-
}],
|
|
1966
|
-
/**
|
|
1967
|
-
* Text Shadow
|
|
1968
|
-
* @see https://tailwindcss.com/docs/text-shadow
|
|
1969
|
-
*/
|
|
1970
|
-
'text-shadow': [{
|
|
1971
|
-
'text-shadow': ['none', themeTextShadow, isArbitraryVariableShadow, isArbitraryShadow]
|
|
1972
|
-
}],
|
|
1973
|
-
/**
|
|
1974
|
-
* Text Shadow Color
|
|
1975
|
-
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
1976
|
-
*/
|
|
1977
|
-
'text-shadow-color': [{
|
|
1978
|
-
'text-shadow': scaleColor()
|
|
1979
|
-
}],
|
|
1980
|
-
/**
|
|
1981
|
-
* Opacity
|
|
1982
|
-
* @see https://tailwindcss.com/docs/opacity
|
|
1983
|
-
*/
|
|
1984
|
-
opacity: [{
|
|
1985
|
-
opacity: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
1986
|
-
}],
|
|
1987
|
-
/**
|
|
1988
|
-
* Mix Blend Mode
|
|
1989
|
-
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1990
|
-
*/
|
|
1991
|
-
'mix-blend': [{
|
|
1992
|
-
'mix-blend': [...scaleBlendMode(), 'plus-darker', 'plus-lighter']
|
|
1993
|
-
}],
|
|
1994
|
-
/**
|
|
1995
|
-
* Background Blend Mode
|
|
1996
|
-
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1997
|
-
*/
|
|
1998
|
-
'bg-blend': [{
|
|
1999
|
-
'bg-blend': scaleBlendMode()
|
|
2000
|
-
}],
|
|
2001
|
-
/**
|
|
2002
|
-
* Mask Clip
|
|
2003
|
-
* @see https://tailwindcss.com/docs/mask-clip
|
|
2004
|
-
*/
|
|
2005
|
-
'mask-clip': [{
|
|
2006
|
-
'mask-clip': ['border', 'padding', 'content', 'fill', 'stroke', 'view']
|
|
2007
|
-
}, 'mask-no-clip'],
|
|
2008
|
-
/**
|
|
2009
|
-
* Mask Composite
|
|
2010
|
-
* @see https://tailwindcss.com/docs/mask-composite
|
|
2011
|
-
*/
|
|
2012
|
-
'mask-composite': [{
|
|
2013
|
-
mask: ['add', 'subtract', 'intersect', 'exclude']
|
|
2014
|
-
}],
|
|
2015
|
-
/**
|
|
2016
|
-
* Mask Image
|
|
2017
|
-
* @see https://tailwindcss.com/docs/mask-image
|
|
2018
|
-
*/
|
|
2019
|
-
'mask-image-linear-pos': [{
|
|
2020
|
-
'mask-linear': [isNumber]
|
|
2021
|
-
}],
|
|
2022
|
-
'mask-image-linear-from-pos': [{
|
|
2023
|
-
'mask-linear-from': scaleMaskImagePosition()
|
|
2024
|
-
}],
|
|
2025
|
-
'mask-image-linear-to-pos': [{
|
|
2026
|
-
'mask-linear-to': scaleMaskImagePosition()
|
|
2027
|
-
}],
|
|
2028
|
-
'mask-image-linear-from-color': [{
|
|
2029
|
-
'mask-linear-from': scaleColor()
|
|
2030
|
-
}],
|
|
2031
|
-
'mask-image-linear-to-color': [{
|
|
2032
|
-
'mask-linear-to': scaleColor()
|
|
2033
|
-
}],
|
|
2034
|
-
'mask-image-t-from-pos': [{
|
|
2035
|
-
'mask-t-from': scaleMaskImagePosition()
|
|
2036
|
-
}],
|
|
2037
|
-
'mask-image-t-to-pos': [{
|
|
2038
|
-
'mask-t-to': scaleMaskImagePosition()
|
|
2039
|
-
}],
|
|
2040
|
-
'mask-image-t-from-color': [{
|
|
2041
|
-
'mask-t-from': scaleColor()
|
|
2042
|
-
}],
|
|
2043
|
-
'mask-image-t-to-color': [{
|
|
2044
|
-
'mask-t-to': scaleColor()
|
|
2045
|
-
}],
|
|
2046
|
-
'mask-image-r-from-pos': [{
|
|
2047
|
-
'mask-r-from': scaleMaskImagePosition()
|
|
2048
|
-
}],
|
|
2049
|
-
'mask-image-r-to-pos': [{
|
|
2050
|
-
'mask-r-to': scaleMaskImagePosition()
|
|
2051
|
-
}],
|
|
2052
|
-
'mask-image-r-from-color': [{
|
|
2053
|
-
'mask-r-from': scaleColor()
|
|
2054
|
-
}],
|
|
2055
|
-
'mask-image-r-to-color': [{
|
|
2056
|
-
'mask-r-to': scaleColor()
|
|
2057
|
-
}],
|
|
2058
|
-
'mask-image-b-from-pos': [{
|
|
2059
|
-
'mask-b-from': scaleMaskImagePosition()
|
|
2060
|
-
}],
|
|
2061
|
-
'mask-image-b-to-pos': [{
|
|
2062
|
-
'mask-b-to': scaleMaskImagePosition()
|
|
2063
|
-
}],
|
|
2064
|
-
'mask-image-b-from-color': [{
|
|
2065
|
-
'mask-b-from': scaleColor()
|
|
2066
|
-
}],
|
|
2067
|
-
'mask-image-b-to-color': [{
|
|
2068
|
-
'mask-b-to': scaleColor()
|
|
2069
|
-
}],
|
|
2070
|
-
'mask-image-l-from-pos': [{
|
|
2071
|
-
'mask-l-from': scaleMaskImagePosition()
|
|
2072
|
-
}],
|
|
2073
|
-
'mask-image-l-to-pos': [{
|
|
2074
|
-
'mask-l-to': scaleMaskImagePosition()
|
|
2075
|
-
}],
|
|
2076
|
-
'mask-image-l-from-color': [{
|
|
2077
|
-
'mask-l-from': scaleColor()
|
|
2078
|
-
}],
|
|
2079
|
-
'mask-image-l-to-color': [{
|
|
2080
|
-
'mask-l-to': scaleColor()
|
|
2081
|
-
}],
|
|
2082
|
-
'mask-image-x-from-pos': [{
|
|
2083
|
-
'mask-x-from': scaleMaskImagePosition()
|
|
2084
|
-
}],
|
|
2085
|
-
'mask-image-x-to-pos': [{
|
|
2086
|
-
'mask-x-to': scaleMaskImagePosition()
|
|
2087
|
-
}],
|
|
2088
|
-
'mask-image-x-from-color': [{
|
|
2089
|
-
'mask-x-from': scaleColor()
|
|
2090
|
-
}],
|
|
2091
|
-
'mask-image-x-to-color': [{
|
|
2092
|
-
'mask-x-to': scaleColor()
|
|
2093
|
-
}],
|
|
2094
|
-
'mask-image-y-from-pos': [{
|
|
2095
|
-
'mask-y-from': scaleMaskImagePosition()
|
|
2096
|
-
}],
|
|
2097
|
-
'mask-image-y-to-pos': [{
|
|
2098
|
-
'mask-y-to': scaleMaskImagePosition()
|
|
2099
|
-
}],
|
|
2100
|
-
'mask-image-y-from-color': [{
|
|
2101
|
-
'mask-y-from': scaleColor()
|
|
2102
|
-
}],
|
|
2103
|
-
'mask-image-y-to-color': [{
|
|
2104
|
-
'mask-y-to': scaleColor()
|
|
2105
|
-
}],
|
|
2106
|
-
'mask-image-radial': [{
|
|
2107
|
-
'mask-radial': [isArbitraryVariable, isArbitraryValue]
|
|
2108
|
-
}],
|
|
2109
|
-
'mask-image-radial-from-pos': [{
|
|
2110
|
-
'mask-radial-from': scaleMaskImagePosition()
|
|
2111
|
-
}],
|
|
2112
|
-
'mask-image-radial-to-pos': [{
|
|
2113
|
-
'mask-radial-to': scaleMaskImagePosition()
|
|
2114
|
-
}],
|
|
2115
|
-
'mask-image-radial-from-color': [{
|
|
2116
|
-
'mask-radial-from': scaleColor()
|
|
2117
|
-
}],
|
|
2118
|
-
'mask-image-radial-to-color': [{
|
|
2119
|
-
'mask-radial-to': scaleColor()
|
|
2120
|
-
}],
|
|
2121
|
-
'mask-image-radial-shape': [{
|
|
2122
|
-
'mask-radial': ['circle', 'ellipse']
|
|
2123
|
-
}],
|
|
2124
|
-
'mask-image-radial-size': [{
|
|
2125
|
-
'mask-radial': [{
|
|
2126
|
-
closest: ['side', 'corner'],
|
|
2127
|
-
farthest: ['side', 'corner']
|
|
2128
|
-
}]
|
|
2129
|
-
}],
|
|
2130
|
-
'mask-image-radial-pos': [{
|
|
2131
|
-
'mask-radial-at': scalePosition()
|
|
2132
|
-
}],
|
|
2133
|
-
'mask-image-conic-pos': [{
|
|
2134
|
-
'mask-conic': [isNumber]
|
|
2135
|
-
}],
|
|
2136
|
-
'mask-image-conic-from-pos': [{
|
|
2137
|
-
'mask-conic-from': scaleMaskImagePosition()
|
|
2138
|
-
}],
|
|
2139
|
-
'mask-image-conic-to-pos': [{
|
|
2140
|
-
'mask-conic-to': scaleMaskImagePosition()
|
|
2141
|
-
}],
|
|
2142
|
-
'mask-image-conic-from-color': [{
|
|
2143
|
-
'mask-conic-from': scaleColor()
|
|
2144
|
-
}],
|
|
2145
|
-
'mask-image-conic-to-color': [{
|
|
2146
|
-
'mask-conic-to': scaleColor()
|
|
2147
|
-
}],
|
|
2148
|
-
/**
|
|
2149
|
-
* Mask Mode
|
|
2150
|
-
* @see https://tailwindcss.com/docs/mask-mode
|
|
2151
|
-
*/
|
|
2152
|
-
'mask-mode': [{
|
|
2153
|
-
mask: ['alpha', 'luminance', 'match']
|
|
2154
|
-
}],
|
|
2155
|
-
/**
|
|
2156
|
-
* Mask Origin
|
|
2157
|
-
* @see https://tailwindcss.com/docs/mask-origin
|
|
2158
|
-
*/
|
|
2159
|
-
'mask-origin': [{
|
|
2160
|
-
'mask-origin': ['border', 'padding', 'content', 'fill', 'stroke', 'view']
|
|
2161
|
-
}],
|
|
2162
|
-
/**
|
|
2163
|
-
* Mask Position
|
|
2164
|
-
* @see https://tailwindcss.com/docs/mask-position
|
|
2165
|
-
*/
|
|
2166
|
-
'mask-position': [{
|
|
2167
|
-
mask: scaleBgPosition()
|
|
2168
|
-
}],
|
|
2169
|
-
/**
|
|
2170
|
-
* Mask Repeat
|
|
2171
|
-
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2172
|
-
*/
|
|
2173
|
-
'mask-repeat': [{
|
|
2174
|
-
mask: scaleBgRepeat()
|
|
2175
|
-
}],
|
|
2176
|
-
/**
|
|
2177
|
-
* Mask Size
|
|
2178
|
-
* @see https://tailwindcss.com/docs/mask-size
|
|
2179
|
-
*/
|
|
2180
|
-
'mask-size': [{
|
|
2181
|
-
mask: scaleBgSize()
|
|
2182
|
-
}],
|
|
2183
|
-
/**
|
|
2184
|
-
* Mask Type
|
|
2185
|
-
* @see https://tailwindcss.com/docs/mask-type
|
|
2186
|
-
*/
|
|
2187
|
-
'mask-type': [{
|
|
2188
|
-
'mask-type': ['alpha', 'luminance']
|
|
2189
|
-
}],
|
|
2190
|
-
/**
|
|
2191
|
-
* Mask Image
|
|
2192
|
-
* @see https://tailwindcss.com/docs/mask-image
|
|
2193
|
-
*/
|
|
2194
|
-
'mask-image': [{
|
|
2195
|
-
mask: ['none', isArbitraryVariable, isArbitraryValue]
|
|
2196
|
-
}],
|
|
2197
|
-
// ---------------
|
|
2198
|
-
// --- Filters ---
|
|
2199
|
-
// ---------------
|
|
2200
|
-
/**
|
|
2201
|
-
* Filter
|
|
2202
|
-
* @see https://tailwindcss.com/docs/filter
|
|
2203
|
-
*/
|
|
2204
|
-
filter: [{
|
|
2205
|
-
filter: [
|
|
2206
|
-
// Deprecated since Tailwind CSS v3.0.0
|
|
2207
|
-
'', 'none', isArbitraryVariable, isArbitraryValue]
|
|
2208
|
-
}],
|
|
2209
|
-
/**
|
|
2210
|
-
* Blur
|
|
2211
|
-
* @see https://tailwindcss.com/docs/blur
|
|
2212
|
-
*/
|
|
2213
|
-
blur: [{
|
|
2214
|
-
blur: scaleBlur()
|
|
2215
|
-
}],
|
|
2216
|
-
/**
|
|
2217
|
-
* Brightness
|
|
2218
|
-
* @see https://tailwindcss.com/docs/brightness
|
|
2219
|
-
*/
|
|
2220
|
-
brightness: [{
|
|
2221
|
-
brightness: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2222
|
-
}],
|
|
2223
|
-
/**
|
|
2224
|
-
* Contrast
|
|
2225
|
-
* @see https://tailwindcss.com/docs/contrast
|
|
2226
|
-
*/
|
|
2227
|
-
contrast: [{
|
|
2228
|
-
contrast: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2229
|
-
}],
|
|
2230
|
-
/**
|
|
2231
|
-
* Drop Shadow
|
|
2232
|
-
* @see https://tailwindcss.com/docs/drop-shadow
|
|
2233
|
-
*/
|
|
2234
|
-
'drop-shadow': [{
|
|
2235
|
-
'drop-shadow': [
|
|
2236
|
-
// Deprecated since Tailwind CSS v4.0.0
|
|
2237
|
-
'', 'none', themeDropShadow, isArbitraryVariableShadow, isArbitraryShadow]
|
|
2238
|
-
}],
|
|
2239
|
-
/**
|
|
2240
|
-
* Drop Shadow Color
|
|
2241
|
-
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2242
|
-
*/
|
|
2243
|
-
'drop-shadow-color': [{
|
|
2244
|
-
'drop-shadow': scaleColor()
|
|
2245
|
-
}],
|
|
2246
|
-
/**
|
|
2247
|
-
* Grayscale
|
|
2248
|
-
* @see https://tailwindcss.com/docs/grayscale
|
|
2249
|
-
*/
|
|
2250
|
-
grayscale: [{
|
|
2251
|
-
grayscale: ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2252
|
-
}],
|
|
2253
|
-
/**
|
|
2254
|
-
* Hue Rotate
|
|
2255
|
-
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2256
|
-
*/
|
|
2257
|
-
'hue-rotate': [{
|
|
2258
|
-
'hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2259
|
-
}],
|
|
2260
|
-
/**
|
|
2261
|
-
* Invert
|
|
2262
|
-
* @see https://tailwindcss.com/docs/invert
|
|
2263
|
-
*/
|
|
2264
|
-
invert: [{
|
|
2265
|
-
invert: ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2266
|
-
}],
|
|
2267
|
-
/**
|
|
2268
|
-
* Saturate
|
|
2269
|
-
* @see https://tailwindcss.com/docs/saturate
|
|
2270
|
-
*/
|
|
2271
|
-
saturate: [{
|
|
2272
|
-
saturate: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2273
|
-
}],
|
|
2274
|
-
/**
|
|
2275
|
-
* Sepia
|
|
2276
|
-
* @see https://tailwindcss.com/docs/sepia
|
|
2277
|
-
*/
|
|
2278
|
-
sepia: [{
|
|
2279
|
-
sepia: ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2280
|
-
}],
|
|
2281
|
-
/**
|
|
2282
|
-
* Backdrop Filter
|
|
2283
|
-
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
2284
|
-
*/
|
|
2285
|
-
'backdrop-filter': [{
|
|
2286
|
-
'backdrop-filter': [
|
|
2287
|
-
// Deprecated since Tailwind CSS v3.0.0
|
|
2288
|
-
'', 'none', isArbitraryVariable, isArbitraryValue]
|
|
2289
|
-
}],
|
|
2290
|
-
/**
|
|
2291
|
-
* Backdrop Blur
|
|
2292
|
-
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2293
|
-
*/
|
|
2294
|
-
'backdrop-blur': [{
|
|
2295
|
-
'backdrop-blur': scaleBlur()
|
|
2296
|
-
}],
|
|
2297
|
-
/**
|
|
2298
|
-
* Backdrop Brightness
|
|
2299
|
-
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2300
|
-
*/
|
|
2301
|
-
'backdrop-brightness': [{
|
|
2302
|
-
'backdrop-brightness': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2303
|
-
}],
|
|
2304
|
-
/**
|
|
2305
|
-
* Backdrop Contrast
|
|
2306
|
-
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2307
|
-
*/
|
|
2308
|
-
'backdrop-contrast': [{
|
|
2309
|
-
'backdrop-contrast': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2310
|
-
}],
|
|
2311
|
-
/**
|
|
2312
|
-
* Backdrop Grayscale
|
|
2313
|
-
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2314
|
-
*/
|
|
2315
|
-
'backdrop-grayscale': [{
|
|
2316
|
-
'backdrop-grayscale': ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2317
|
-
}],
|
|
2318
|
-
/**
|
|
2319
|
-
* Backdrop Hue Rotate
|
|
2320
|
-
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2321
|
-
*/
|
|
2322
|
-
'backdrop-hue-rotate': [{
|
|
2323
|
-
'backdrop-hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2324
|
-
}],
|
|
2325
|
-
/**
|
|
2326
|
-
* Backdrop Invert
|
|
2327
|
-
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2328
|
-
*/
|
|
2329
|
-
'backdrop-invert': [{
|
|
2330
|
-
'backdrop-invert': ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2331
|
-
}],
|
|
2332
|
-
/**
|
|
2333
|
-
* Backdrop Opacity
|
|
2334
|
-
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2335
|
-
*/
|
|
2336
|
-
'backdrop-opacity': [{
|
|
2337
|
-
'backdrop-opacity': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2338
|
-
}],
|
|
2339
|
-
/**
|
|
2340
|
-
* Backdrop Saturate
|
|
2341
|
-
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2342
|
-
*/
|
|
2343
|
-
'backdrop-saturate': [{
|
|
2344
|
-
'backdrop-saturate': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2345
|
-
}],
|
|
2346
|
-
/**
|
|
2347
|
-
* Backdrop Sepia
|
|
2348
|
-
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2349
|
-
*/
|
|
2350
|
-
'backdrop-sepia': [{
|
|
2351
|
-
'backdrop-sepia': ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2352
|
-
}],
|
|
2353
|
-
// --------------
|
|
2354
|
-
// --- Tables ---
|
|
2355
|
-
// --------------
|
|
2356
|
-
/**
|
|
2357
|
-
* Border Collapse
|
|
2358
|
-
* @see https://tailwindcss.com/docs/border-collapse
|
|
2359
|
-
*/
|
|
2360
|
-
'border-collapse': [{
|
|
2361
|
-
border: ['collapse', 'separate']
|
|
2362
|
-
}],
|
|
2363
|
-
/**
|
|
2364
|
-
* Border Spacing
|
|
2365
|
-
* @see https://tailwindcss.com/docs/border-spacing
|
|
2366
|
-
*/
|
|
2367
|
-
'border-spacing': [{
|
|
2368
|
-
'border-spacing': scaleUnambiguousSpacing()
|
|
2369
|
-
}],
|
|
2370
|
-
/**
|
|
2371
|
-
* Border Spacing X
|
|
2372
|
-
* @see https://tailwindcss.com/docs/border-spacing
|
|
2373
|
-
*/
|
|
2374
|
-
'border-spacing-x': [{
|
|
2375
|
-
'border-spacing-x': scaleUnambiguousSpacing()
|
|
2376
|
-
}],
|
|
2377
|
-
/**
|
|
2378
|
-
* Border Spacing Y
|
|
2379
|
-
* @see https://tailwindcss.com/docs/border-spacing
|
|
2380
|
-
*/
|
|
2381
|
-
'border-spacing-y': [{
|
|
2382
|
-
'border-spacing-y': scaleUnambiguousSpacing()
|
|
2383
|
-
}],
|
|
2384
|
-
/**
|
|
2385
|
-
* Table Layout
|
|
2386
|
-
* @see https://tailwindcss.com/docs/table-layout
|
|
2387
|
-
*/
|
|
2388
|
-
'table-layout': [{
|
|
2389
|
-
table: ['auto', 'fixed']
|
|
2390
|
-
}],
|
|
2391
|
-
/**
|
|
2392
|
-
* Caption Side
|
|
2393
|
-
* @see https://tailwindcss.com/docs/caption-side
|
|
2394
|
-
*/
|
|
2395
|
-
caption: [{
|
|
2396
|
-
caption: ['top', 'bottom']
|
|
2397
|
-
}],
|
|
2398
|
-
// ---------------------------------
|
|
2399
|
-
// --- Transitions and Animation ---
|
|
2400
|
-
// ---------------------------------
|
|
2401
|
-
/**
|
|
2402
|
-
* Transition Property
|
|
2403
|
-
* @see https://tailwindcss.com/docs/transition-property
|
|
2404
|
-
*/
|
|
2405
|
-
transition: [{
|
|
2406
|
-
transition: ['', 'all', 'colors', 'opacity', 'shadow', 'transform', 'none', isArbitraryVariable, isArbitraryValue]
|
|
2407
|
-
}],
|
|
2408
|
-
/**
|
|
2409
|
-
* Transition Behavior
|
|
2410
|
-
* @see https://tailwindcss.com/docs/transition-behavior
|
|
2411
|
-
*/
|
|
2412
|
-
'transition-behavior': [{
|
|
2413
|
-
transition: ['normal', 'discrete']
|
|
2414
|
-
}],
|
|
2415
|
-
/**
|
|
2416
|
-
* Transition Duration
|
|
2417
|
-
* @see https://tailwindcss.com/docs/transition-duration
|
|
2418
|
-
*/
|
|
2419
|
-
duration: [{
|
|
2420
|
-
duration: [isNumber, 'initial', isArbitraryVariable, isArbitraryValue]
|
|
2421
|
-
}],
|
|
2422
|
-
/**
|
|
2423
|
-
* Transition Timing Function
|
|
2424
|
-
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2425
|
-
*/
|
|
2426
|
-
ease: [{
|
|
2427
|
-
ease: ['linear', 'initial', themeEase, isArbitraryVariable, isArbitraryValue]
|
|
2428
|
-
}],
|
|
2429
|
-
/**
|
|
2430
|
-
* Transition Delay
|
|
2431
|
-
* @see https://tailwindcss.com/docs/transition-delay
|
|
2432
|
-
*/
|
|
2433
|
-
delay: [{
|
|
2434
|
-
delay: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2435
|
-
}],
|
|
2436
|
-
/**
|
|
2437
|
-
* Animation
|
|
2438
|
-
* @see https://tailwindcss.com/docs/animation
|
|
2439
|
-
*/
|
|
2440
|
-
animate: [{
|
|
2441
|
-
animate: ['none', themeAnimate, isArbitraryVariable, isArbitraryValue]
|
|
2442
|
-
}],
|
|
2443
|
-
// ------------------
|
|
2444
|
-
// --- Transforms ---
|
|
2445
|
-
// ------------------
|
|
2446
|
-
/**
|
|
2447
|
-
* Backface Visibility
|
|
2448
|
-
* @see https://tailwindcss.com/docs/backface-visibility
|
|
2449
|
-
*/
|
|
2450
|
-
backface: [{
|
|
2451
|
-
backface: ['hidden', 'visible']
|
|
2452
|
-
}],
|
|
2453
|
-
/**
|
|
2454
|
-
* Perspective
|
|
2455
|
-
* @see https://tailwindcss.com/docs/perspective
|
|
2456
|
-
*/
|
|
2457
|
-
perspective: [{
|
|
2458
|
-
perspective: [themePerspective, isArbitraryVariable, isArbitraryValue]
|
|
2459
|
-
}],
|
|
2460
|
-
/**
|
|
2461
|
-
* Perspective Origin
|
|
2462
|
-
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2463
|
-
*/
|
|
2464
|
-
'perspective-origin': [{
|
|
2465
|
-
'perspective-origin': scalePositionWithArbitrary()
|
|
2466
|
-
}],
|
|
2467
|
-
/**
|
|
2468
|
-
* Rotate
|
|
2469
|
-
* @see https://tailwindcss.com/docs/rotate
|
|
2470
|
-
*/
|
|
2471
|
-
rotate: [{
|
|
2472
|
-
rotate: scaleRotate()
|
|
2473
|
-
}],
|
|
2474
|
-
/**
|
|
2475
|
-
* Rotate X
|
|
2476
|
-
* @see https://tailwindcss.com/docs/rotate
|
|
2477
|
-
*/
|
|
2478
|
-
'rotate-x': [{
|
|
2479
|
-
'rotate-x': scaleRotate()
|
|
2480
|
-
}],
|
|
2481
|
-
/**
|
|
2482
|
-
* Rotate Y
|
|
2483
|
-
* @see https://tailwindcss.com/docs/rotate
|
|
2484
|
-
*/
|
|
2485
|
-
'rotate-y': [{
|
|
2486
|
-
'rotate-y': scaleRotate()
|
|
2487
|
-
}],
|
|
2488
|
-
/**
|
|
2489
|
-
* Rotate Z
|
|
2490
|
-
* @see https://tailwindcss.com/docs/rotate
|
|
2491
|
-
*/
|
|
2492
|
-
'rotate-z': [{
|
|
2493
|
-
'rotate-z': scaleRotate()
|
|
2494
|
-
}],
|
|
2495
|
-
/**
|
|
2496
|
-
* Scale
|
|
2497
|
-
* @see https://tailwindcss.com/docs/scale
|
|
2498
|
-
*/
|
|
2499
|
-
scale: [{
|
|
2500
|
-
scale: scaleScale()
|
|
2501
|
-
}],
|
|
2502
|
-
/**
|
|
2503
|
-
* Scale X
|
|
2504
|
-
* @see https://tailwindcss.com/docs/scale
|
|
2505
|
-
*/
|
|
2506
|
-
'scale-x': [{
|
|
2507
|
-
'scale-x': scaleScale()
|
|
2508
|
-
}],
|
|
2509
|
-
/**
|
|
2510
|
-
* Scale Y
|
|
2511
|
-
* @see https://tailwindcss.com/docs/scale
|
|
2512
|
-
*/
|
|
2513
|
-
'scale-y': [{
|
|
2514
|
-
'scale-y': scaleScale()
|
|
2515
|
-
}],
|
|
2516
|
-
/**
|
|
2517
|
-
* Scale Z
|
|
2518
|
-
* @see https://tailwindcss.com/docs/scale
|
|
2519
|
-
*/
|
|
2520
|
-
'scale-z': [{
|
|
2521
|
-
'scale-z': scaleScale()
|
|
2522
|
-
}],
|
|
2523
|
-
/**
|
|
2524
|
-
* Scale 3D
|
|
2525
|
-
* @see https://tailwindcss.com/docs/scale
|
|
2526
|
-
*/
|
|
2527
|
-
'scale-3d': ['scale-3d'],
|
|
2528
|
-
/**
|
|
2529
|
-
* Skew
|
|
2530
|
-
* @see https://tailwindcss.com/docs/skew
|
|
2531
|
-
*/
|
|
2532
|
-
skew: [{
|
|
2533
|
-
skew: scaleSkew()
|
|
2534
|
-
}],
|
|
2535
|
-
/**
|
|
2536
|
-
* Skew X
|
|
2537
|
-
* @see https://tailwindcss.com/docs/skew
|
|
2538
|
-
*/
|
|
2539
|
-
'skew-x': [{
|
|
2540
|
-
'skew-x': scaleSkew()
|
|
2541
|
-
}],
|
|
2542
|
-
/**
|
|
2543
|
-
* Skew Y
|
|
2544
|
-
* @see https://tailwindcss.com/docs/skew
|
|
2545
|
-
*/
|
|
2546
|
-
'skew-y': [{
|
|
2547
|
-
'skew-y': scaleSkew()
|
|
2548
|
-
}],
|
|
2549
|
-
/**
|
|
2550
|
-
* Transform
|
|
2551
|
-
* @see https://tailwindcss.com/docs/transform
|
|
2552
|
-
*/
|
|
2553
|
-
transform: [{
|
|
2554
|
-
transform: [isArbitraryVariable, isArbitraryValue, '', 'none', 'gpu', 'cpu']
|
|
2555
|
-
}],
|
|
2556
|
-
/**
|
|
2557
|
-
* Transform Origin
|
|
2558
|
-
* @see https://tailwindcss.com/docs/transform-origin
|
|
2559
|
-
*/
|
|
2560
|
-
'transform-origin': [{
|
|
2561
|
-
origin: scalePositionWithArbitrary()
|
|
2562
|
-
}],
|
|
2563
|
-
/**
|
|
2564
|
-
* Transform Style
|
|
2565
|
-
* @see https://tailwindcss.com/docs/transform-style
|
|
2566
|
-
*/
|
|
2567
|
-
'transform-style': [{
|
|
2568
|
-
transform: ['3d', 'flat']
|
|
2569
|
-
}],
|
|
2570
|
-
/**
|
|
2571
|
-
* Translate
|
|
2572
|
-
* @see https://tailwindcss.com/docs/translate
|
|
2573
|
-
*/
|
|
2574
|
-
translate: [{
|
|
2575
|
-
translate: scaleTranslate()
|
|
2576
|
-
}],
|
|
2577
|
-
/**
|
|
2578
|
-
* Translate X
|
|
2579
|
-
* @see https://tailwindcss.com/docs/translate
|
|
2580
|
-
*/
|
|
2581
|
-
'translate-x': [{
|
|
2582
|
-
'translate-x': scaleTranslate()
|
|
2583
|
-
}],
|
|
2584
|
-
/**
|
|
2585
|
-
* Translate Y
|
|
2586
|
-
* @see https://tailwindcss.com/docs/translate
|
|
2587
|
-
*/
|
|
2588
|
-
'translate-y': [{
|
|
2589
|
-
'translate-y': scaleTranslate()
|
|
2590
|
-
}],
|
|
2591
|
-
/**
|
|
2592
|
-
* Translate Z
|
|
2593
|
-
* @see https://tailwindcss.com/docs/translate
|
|
2594
|
-
*/
|
|
2595
|
-
'translate-z': [{
|
|
2596
|
-
'translate-z': scaleTranslate()
|
|
2597
|
-
}],
|
|
2598
|
-
/**
|
|
2599
|
-
* Translate None
|
|
2600
|
-
* @see https://tailwindcss.com/docs/translate
|
|
2601
|
-
*/
|
|
2602
|
-
'translate-none': ['translate-none'],
|
|
2603
|
-
// ---------------------
|
|
2604
|
-
// --- Interactivity ---
|
|
2605
|
-
// ---------------------
|
|
2606
|
-
/**
|
|
2607
|
-
* Accent Color
|
|
2608
|
-
* @see https://tailwindcss.com/docs/accent-color
|
|
2609
|
-
*/
|
|
2610
|
-
accent: [{
|
|
2611
|
-
accent: scaleColor()
|
|
2612
|
-
}],
|
|
2613
|
-
/**
|
|
2614
|
-
* Appearance
|
|
2615
|
-
* @see https://tailwindcss.com/docs/appearance
|
|
2616
|
-
*/
|
|
2617
|
-
appearance: [{
|
|
2618
|
-
appearance: ['none', 'auto']
|
|
2619
|
-
}],
|
|
2620
|
-
/**
|
|
2621
|
-
* Caret Color
|
|
2622
|
-
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2623
|
-
*/
|
|
2624
|
-
'caret-color': [{
|
|
2625
|
-
caret: scaleColor()
|
|
2626
|
-
}],
|
|
2627
|
-
/**
|
|
2628
|
-
* Color Scheme
|
|
2629
|
-
* @see https://tailwindcss.com/docs/color-scheme
|
|
2630
|
-
*/
|
|
2631
|
-
'color-scheme': [{
|
|
2632
|
-
scheme: ['normal', 'dark', 'light', 'light-dark', 'only-dark', 'only-light']
|
|
2633
|
-
}],
|
|
2634
|
-
/**
|
|
2635
|
-
* Cursor
|
|
2636
|
-
* @see https://tailwindcss.com/docs/cursor
|
|
2637
|
-
*/
|
|
2638
|
-
cursor: [{
|
|
2639
|
-
cursor: ['auto', 'default', 'pointer', 'wait', 'text', 'move', 'help', 'not-allowed', 'none', 'context-menu', 'progress', 'cell', 'crosshair', 'vertical-text', 'alias', 'copy', 'no-drop', 'grab', 'grabbing', 'all-scroll', 'col-resize', 'row-resize', 'n-resize', 'e-resize', 's-resize', 'w-resize', 'ne-resize', 'nw-resize', 'se-resize', 'sw-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'zoom-in', 'zoom-out', isArbitraryVariable, isArbitraryValue]
|
|
2640
|
-
}],
|
|
2641
|
-
/**
|
|
2642
|
-
* Field Sizing
|
|
2643
|
-
* @see https://tailwindcss.com/docs/field-sizing
|
|
2644
|
-
*/
|
|
2645
|
-
'field-sizing': [{
|
|
2646
|
-
'field-sizing': ['fixed', 'content']
|
|
2647
|
-
}],
|
|
2648
|
-
/**
|
|
2649
|
-
* Pointer Events
|
|
2650
|
-
* @see https://tailwindcss.com/docs/pointer-events
|
|
2651
|
-
*/
|
|
2652
|
-
'pointer-events': [{
|
|
2653
|
-
'pointer-events': ['auto', 'none']
|
|
2654
|
-
}],
|
|
2655
|
-
/**
|
|
2656
|
-
* Resize
|
|
2657
|
-
* @see https://tailwindcss.com/docs/resize
|
|
2658
|
-
*/
|
|
2659
|
-
resize: [{
|
|
2660
|
-
resize: ['none', '', 'y', 'x']
|
|
2661
|
-
}],
|
|
2662
|
-
/**
|
|
2663
|
-
* Scroll Behavior
|
|
2664
|
-
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
2665
|
-
*/
|
|
2666
|
-
'scroll-behavior': [{
|
|
2667
|
-
scroll: ['auto', 'smooth']
|
|
2668
|
-
}],
|
|
2669
|
-
/**
|
|
2670
|
-
* Scroll Margin
|
|
2671
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2672
|
-
*/
|
|
2673
|
-
'scroll-m': [{
|
|
2674
|
-
'scroll-m': scaleUnambiguousSpacing()
|
|
2675
|
-
}],
|
|
2676
|
-
/**
|
|
2677
|
-
* Scroll Margin X
|
|
2678
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2679
|
-
*/
|
|
2680
|
-
'scroll-mx': [{
|
|
2681
|
-
'scroll-mx': scaleUnambiguousSpacing()
|
|
2682
|
-
}],
|
|
2683
|
-
/**
|
|
2684
|
-
* Scroll Margin Y
|
|
2685
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2686
|
-
*/
|
|
2687
|
-
'scroll-my': [{
|
|
2688
|
-
'scroll-my': scaleUnambiguousSpacing()
|
|
2689
|
-
}],
|
|
2690
|
-
/**
|
|
2691
|
-
* Scroll Margin Start
|
|
2692
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2693
|
-
*/
|
|
2694
|
-
'scroll-ms': [{
|
|
2695
|
-
'scroll-ms': scaleUnambiguousSpacing()
|
|
2696
|
-
}],
|
|
2697
|
-
/**
|
|
2698
|
-
* Scroll Margin End
|
|
2699
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2700
|
-
*/
|
|
2701
|
-
'scroll-me': [{
|
|
2702
|
-
'scroll-me': scaleUnambiguousSpacing()
|
|
2703
|
-
}],
|
|
2704
|
-
/**
|
|
2705
|
-
* Scroll Margin Top
|
|
2706
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2707
|
-
*/
|
|
2708
|
-
'scroll-mt': [{
|
|
2709
|
-
'scroll-mt': scaleUnambiguousSpacing()
|
|
2710
|
-
}],
|
|
2711
|
-
/**
|
|
2712
|
-
* Scroll Margin Right
|
|
2713
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2714
|
-
*/
|
|
2715
|
-
'scroll-mr': [{
|
|
2716
|
-
'scroll-mr': scaleUnambiguousSpacing()
|
|
2717
|
-
}],
|
|
2718
|
-
/**
|
|
2719
|
-
* Scroll Margin Bottom
|
|
2720
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2721
|
-
*/
|
|
2722
|
-
'scroll-mb': [{
|
|
2723
|
-
'scroll-mb': scaleUnambiguousSpacing()
|
|
2724
|
-
}],
|
|
2725
|
-
/**
|
|
2726
|
-
* Scroll Margin Left
|
|
2727
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2728
|
-
*/
|
|
2729
|
-
'scroll-ml': [{
|
|
2730
|
-
'scroll-ml': scaleUnambiguousSpacing()
|
|
2731
|
-
}],
|
|
2732
|
-
/**
|
|
2733
|
-
* Scroll Padding
|
|
2734
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2735
|
-
*/
|
|
2736
|
-
'scroll-p': [{
|
|
2737
|
-
'scroll-p': scaleUnambiguousSpacing()
|
|
2738
|
-
}],
|
|
2739
|
-
/**
|
|
2740
|
-
* Scroll Padding X
|
|
2741
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2742
|
-
*/
|
|
2743
|
-
'scroll-px': [{
|
|
2744
|
-
'scroll-px': scaleUnambiguousSpacing()
|
|
2745
|
-
}],
|
|
2746
|
-
/**
|
|
2747
|
-
* Scroll Padding Y
|
|
2748
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2749
|
-
*/
|
|
2750
|
-
'scroll-py': [{
|
|
2751
|
-
'scroll-py': scaleUnambiguousSpacing()
|
|
2752
|
-
}],
|
|
2753
|
-
/**
|
|
2754
|
-
* Scroll Padding Start
|
|
2755
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2756
|
-
*/
|
|
2757
|
-
'scroll-ps': [{
|
|
2758
|
-
'scroll-ps': scaleUnambiguousSpacing()
|
|
2759
|
-
}],
|
|
2760
|
-
/**
|
|
2761
|
-
* Scroll Padding End
|
|
2762
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2763
|
-
*/
|
|
2764
|
-
'scroll-pe': [{
|
|
2765
|
-
'scroll-pe': scaleUnambiguousSpacing()
|
|
2766
|
-
}],
|
|
2767
|
-
/**
|
|
2768
|
-
* Scroll Padding Top
|
|
2769
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2770
|
-
*/
|
|
2771
|
-
'scroll-pt': [{
|
|
2772
|
-
'scroll-pt': scaleUnambiguousSpacing()
|
|
2773
|
-
}],
|
|
2774
|
-
/**
|
|
2775
|
-
* Scroll Padding Right
|
|
2776
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2777
|
-
*/
|
|
2778
|
-
'scroll-pr': [{
|
|
2779
|
-
'scroll-pr': scaleUnambiguousSpacing()
|
|
2780
|
-
}],
|
|
2781
|
-
/**
|
|
2782
|
-
* Scroll Padding Bottom
|
|
2783
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2784
|
-
*/
|
|
2785
|
-
'scroll-pb': [{
|
|
2786
|
-
'scroll-pb': scaleUnambiguousSpacing()
|
|
2787
|
-
}],
|
|
2788
|
-
/**
|
|
2789
|
-
* Scroll Padding Left
|
|
2790
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2791
|
-
*/
|
|
2792
|
-
'scroll-pl': [{
|
|
2793
|
-
'scroll-pl': scaleUnambiguousSpacing()
|
|
2794
|
-
}],
|
|
2795
|
-
/**
|
|
2796
|
-
* Scroll Snap Align
|
|
2797
|
-
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
2798
|
-
*/
|
|
2799
|
-
'snap-align': [{
|
|
2800
|
-
snap: ['start', 'end', 'center', 'align-none']
|
|
2801
|
-
}],
|
|
2802
|
-
/**
|
|
2803
|
-
* Scroll Snap Stop
|
|
2804
|
-
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
2805
|
-
*/
|
|
2806
|
-
'snap-stop': [{
|
|
2807
|
-
snap: ['normal', 'always']
|
|
2808
|
-
}],
|
|
2809
|
-
/**
|
|
2810
|
-
* Scroll Snap Type
|
|
2811
|
-
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2812
|
-
*/
|
|
2813
|
-
'snap-type': [{
|
|
2814
|
-
snap: ['none', 'x', 'y', 'both']
|
|
2815
|
-
}],
|
|
2816
|
-
/**
|
|
2817
|
-
* Scroll Snap Type Strictness
|
|
2818
|
-
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2819
|
-
*/
|
|
2820
|
-
'snap-strictness': [{
|
|
2821
|
-
snap: ['mandatory', 'proximity']
|
|
2822
|
-
}],
|
|
2823
|
-
/**
|
|
2824
|
-
* Touch Action
|
|
2825
|
-
* @see https://tailwindcss.com/docs/touch-action
|
|
2826
|
-
*/
|
|
2827
|
-
touch: [{
|
|
2828
|
-
touch: ['auto', 'none', 'manipulation']
|
|
2829
|
-
}],
|
|
2830
|
-
/**
|
|
2831
|
-
* Touch Action X
|
|
2832
|
-
* @see https://tailwindcss.com/docs/touch-action
|
|
2833
|
-
*/
|
|
2834
|
-
'touch-x': [{
|
|
2835
|
-
'touch-pan': ['x', 'left', 'right']
|
|
2836
|
-
}],
|
|
2837
|
-
/**
|
|
2838
|
-
* Touch Action Y
|
|
2839
|
-
* @see https://tailwindcss.com/docs/touch-action
|
|
2840
|
-
*/
|
|
2841
|
-
'touch-y': [{
|
|
2842
|
-
'touch-pan': ['y', 'up', 'down']
|
|
2843
|
-
}],
|
|
2844
|
-
/**
|
|
2845
|
-
* Touch Action Pinch Zoom
|
|
2846
|
-
* @see https://tailwindcss.com/docs/touch-action
|
|
2847
|
-
*/
|
|
2848
|
-
'touch-pz': ['touch-pinch-zoom'],
|
|
2849
|
-
/**
|
|
2850
|
-
* User Select
|
|
2851
|
-
* @see https://tailwindcss.com/docs/user-select
|
|
2852
|
-
*/
|
|
2853
|
-
select: [{
|
|
2854
|
-
select: ['none', 'text', 'all', 'auto']
|
|
2855
|
-
}],
|
|
2856
|
-
/**
|
|
2857
|
-
* Will Change
|
|
2858
|
-
* @see https://tailwindcss.com/docs/will-change
|
|
2859
|
-
*/
|
|
2860
|
-
'will-change': [{
|
|
2861
|
-
'will-change': ['auto', 'scroll', 'contents', 'transform', isArbitraryVariable, isArbitraryValue]
|
|
2862
|
-
}],
|
|
2863
|
-
// -----------
|
|
2864
|
-
// --- SVG ---
|
|
2865
|
-
// -----------
|
|
2866
|
-
/**
|
|
2867
|
-
* Fill
|
|
2868
|
-
* @see https://tailwindcss.com/docs/fill
|
|
2869
|
-
*/
|
|
2870
|
-
fill: [{
|
|
2871
|
-
fill: ['none', ...scaleColor()]
|
|
2872
|
-
}],
|
|
2873
|
-
/**
|
|
2874
|
-
* Stroke Width
|
|
2875
|
-
* @see https://tailwindcss.com/docs/stroke-width
|
|
2876
|
-
*/
|
|
2877
|
-
'stroke-w': [{
|
|
2878
|
-
stroke: [isNumber, isArbitraryVariableLength, isArbitraryLength, isArbitraryNumber]
|
|
2879
|
-
}],
|
|
2880
|
-
/**
|
|
2881
|
-
* Stroke
|
|
2882
|
-
* @see https://tailwindcss.com/docs/stroke
|
|
2883
|
-
*/
|
|
2884
|
-
stroke: [{
|
|
2885
|
-
stroke: ['none', ...scaleColor()]
|
|
2886
|
-
}],
|
|
2887
|
-
// ---------------------
|
|
2888
|
-
// --- Accessibility ---
|
|
2889
|
-
// ---------------------
|
|
2890
|
-
/**
|
|
2891
|
-
* Forced Color Adjust
|
|
2892
|
-
* @see https://tailwindcss.com/docs/forced-color-adjust
|
|
2893
|
-
*/
|
|
2894
|
-
'forced-color-adjust': [{
|
|
2895
|
-
'forced-color-adjust': ['auto', 'none']
|
|
2896
|
-
}]
|
|
2897
|
-
},
|
|
2898
|
-
conflictingClassGroups: {
|
|
2899
|
-
overflow: ['overflow-x', 'overflow-y'],
|
|
2900
|
-
overscroll: ['overscroll-x', 'overscroll-y'],
|
|
2901
|
-
inset: ['inset-x', 'inset-y', 'start', 'end', 'top', 'right', 'bottom', 'left'],
|
|
2902
|
-
'inset-x': ['right', 'left'],
|
|
2903
|
-
'inset-y': ['top', 'bottom'],
|
|
2904
|
-
flex: ['basis', 'grow', 'shrink'],
|
|
2905
|
-
gap: ['gap-x', 'gap-y'],
|
|
2906
|
-
p: ['px', 'py', 'ps', 'pe', 'pt', 'pr', 'pb', 'pl'],
|
|
2907
|
-
px: ['pr', 'pl'],
|
|
2908
|
-
py: ['pt', 'pb'],
|
|
2909
|
-
m: ['mx', 'my', 'ms', 'me', 'mt', 'mr', 'mb', 'ml'],
|
|
2910
|
-
mx: ['mr', 'ml'],
|
|
2911
|
-
my: ['mt', 'mb'],
|
|
2912
|
-
size: ['w', 'h'],
|
|
2913
|
-
'font-size': ['leading'],
|
|
2914
|
-
'fvn-normal': ['fvn-ordinal', 'fvn-slashed-zero', 'fvn-figure', 'fvn-spacing', 'fvn-fraction'],
|
|
2915
|
-
'fvn-ordinal': ['fvn-normal'],
|
|
2916
|
-
'fvn-slashed-zero': ['fvn-normal'],
|
|
2917
|
-
'fvn-figure': ['fvn-normal'],
|
|
2918
|
-
'fvn-spacing': ['fvn-normal'],
|
|
2919
|
-
'fvn-fraction': ['fvn-normal'],
|
|
2920
|
-
'line-clamp': ['display', 'overflow'],
|
|
2921
|
-
rounded: ['rounded-s', 'rounded-e', 'rounded-t', 'rounded-r', 'rounded-b', 'rounded-l', 'rounded-ss', 'rounded-se', 'rounded-ee', 'rounded-es', 'rounded-tl', 'rounded-tr', 'rounded-br', 'rounded-bl'],
|
|
2922
|
-
'rounded-s': ['rounded-ss', 'rounded-es'],
|
|
2923
|
-
'rounded-e': ['rounded-se', 'rounded-ee'],
|
|
2924
|
-
'rounded-t': ['rounded-tl', 'rounded-tr'],
|
|
2925
|
-
'rounded-r': ['rounded-tr', 'rounded-br'],
|
|
2926
|
-
'rounded-b': ['rounded-br', 'rounded-bl'],
|
|
2927
|
-
'rounded-l': ['rounded-tl', 'rounded-bl'],
|
|
2928
|
-
'border-spacing': ['border-spacing-x', 'border-spacing-y'],
|
|
2929
|
-
'border-w': ['border-w-x', 'border-w-y', 'border-w-s', 'border-w-e', 'border-w-t', 'border-w-r', 'border-w-b', 'border-w-l'],
|
|
2930
|
-
'border-w-x': ['border-w-r', 'border-w-l'],
|
|
2931
|
-
'border-w-y': ['border-w-t', 'border-w-b'],
|
|
2932
|
-
'border-color': ['border-color-x', 'border-color-y', 'border-color-s', 'border-color-e', 'border-color-t', 'border-color-r', 'border-color-b', 'border-color-l'],
|
|
2933
|
-
'border-color-x': ['border-color-r', 'border-color-l'],
|
|
2934
|
-
'border-color-y': ['border-color-t', 'border-color-b'],
|
|
2935
|
-
translate: ['translate-x', 'translate-y', 'translate-none'],
|
|
2936
|
-
'translate-none': ['translate', 'translate-x', 'translate-y', 'translate-z'],
|
|
2937
|
-
'scroll-m': ['scroll-mx', 'scroll-my', 'scroll-ms', 'scroll-me', 'scroll-mt', 'scroll-mr', 'scroll-mb', 'scroll-ml'],
|
|
2938
|
-
'scroll-mx': ['scroll-mr', 'scroll-ml'],
|
|
2939
|
-
'scroll-my': ['scroll-mt', 'scroll-mb'],
|
|
2940
|
-
'scroll-p': ['scroll-px', 'scroll-py', 'scroll-ps', 'scroll-pe', 'scroll-pt', 'scroll-pr', 'scroll-pb', 'scroll-pl'],
|
|
2941
|
-
'scroll-px': ['scroll-pr', 'scroll-pl'],
|
|
2942
|
-
'scroll-py': ['scroll-pt', 'scroll-pb'],
|
|
2943
|
-
touch: ['touch-x', 'touch-y', 'touch-pz'],
|
|
2944
|
-
'touch-x': ['touch'],
|
|
2945
|
-
'touch-y': ['touch'],
|
|
2946
|
-
'touch-pz': ['touch']
|
|
2947
|
-
},
|
|
2948
|
-
conflictingClassGroupModifiers: {
|
|
2949
|
-
'font-size': ['leading']
|
|
2950
|
-
},
|
|
2951
|
-
orderSensitiveModifiers: ['*', '**', 'after', 'backdrop', 'before', 'details-content', 'file', 'first-letter', 'first-line', 'marker', 'placeholder', 'selection']
|
|
2952
|
-
};
|
|
2953
|
-
};
|
|
2954
|
-
const twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);
|
|
2955
|
-
|
|
2956
|
-
export { createTailwindMerge, fromTheme, getDefaultConfig, twJoin, twMerge };
|