@mastra/playground-ui 55.0.0 → 56.0.0-alpha.5
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 +20 -0
- package/dist/Badge-5RAaa8U3.js +123 -0
- package/dist/Badge-5RAaa8U3.js.map +1 -0
- package/dist/Badge-DUXOjcfL.cjs +125 -0
- package/dist/Badge-DUXOjcfL.cjs.map +1 -0
- package/dist/Button-B1TWWXCy.cjs +137 -0
- package/dist/Button-B1TWWXCy.cjs.map +1 -0
- package/dist/Button-XSiL3zvL.js +133 -0
- package/dist/Button-XSiL3zvL.js.map +1 -0
- package/dist/Card-BnHDiblE.js +96 -0
- package/dist/Card-BnHDiblE.js.map +1 -0
- package/dist/Card-Cwtkduiw.cjs +123 -0
- package/dist/Card-Cwtkduiw.cjs.map +1 -0
- package/dist/EmptyState-BpwEnZ55.js +31 -0
- package/dist/EmptyState-BpwEnZ55.js.map +1 -0
- package/dist/EmptyState-CbHg7j-K.cjs +33 -0
- package/dist/EmptyState-CbHg7j-K.cjs.map +1 -0
- package/dist/Notice-BkL7EPmo.js +89 -0
- package/dist/Notice-BkL7EPmo.js.map +1 -0
- package/dist/Notice-CoaE5a2D.cjs +91 -0
- package/dist/Notice-CoaE5a2D.cjs.map +1 -0
- package/dist/PermissionDenied-CJaLT_6Y.js +22 -0
- package/dist/PermissionDenied-CJaLT_6Y.js.map +1 -0
- package/dist/PermissionDenied-NzPheIbg.cjs +24 -0
- package/dist/PermissionDenied-NzPheIbg.cjs.map +1 -0
- package/dist/PullRequestIcon.css +7 -0
- package/dist/SessionExpired-C2NfmuTN.cjs +47 -0
- package/dist/SessionExpired-C2NfmuTN.cjs.map +1 -0
- package/dist/SessionExpired-C_J0XX8S.js +45 -0
- package/dist/SessionExpired-C_J0XX8S.js.map +1 -0
- package/dist/Txt-23XtxAlc.js +28 -0
- package/dist/Txt-23XtxAlc.js.map +1 -0
- package/dist/Txt-BZXvaPLR.cjs +30 -0
- package/dist/Txt-BZXvaPLR.cjs.map +1 -0
- package/dist/activity-DP2I8sw_.js +49 -0
- package/dist/activity-DP2I8sw_.js.map +1 -0
- package/dist/activity-qA_Yy7v6.cjs +52 -0
- package/dist/activity-qA_Yy7v6.cjs.map +1 -0
- package/dist/activity.css +365 -0
- package/dist/arrival-CLDx8jeY.js +19 -0
- package/dist/arrival-CLDx8jeY.js.map +1 -0
- package/dist/arrival-CbbPGaqT.cjs +22 -0
- package/dist/arrival-CbbPGaqT.cjs.map +1 -0
- package/dist/ask-user-Bv1kGn_m.cjs +146 -0
- package/dist/ask-user-Bv1kGn_m.cjs.map +1 -0
- package/dist/ask-user-PM_6vU2N.js +137 -0
- package/dist/ask-user-PM_6vU2N.js.map +1 -0
- package/dist/buttons-group-ACr7Jau0.js +162 -0
- package/dist/buttons-group-ACr7Jau0.js.map +1 -0
- package/dist/buttons-group-CdQdd_cj.cjs +186 -0
- package/dist/buttons-group-CdQdd_cj.cjs.map +1 -0
- package/dist/chat-notification-Ct-Pi0rp.js +107 -0
- package/dist/chat-notification-Ct-Pi0rp.js.map +1 -0
- package/dist/chat-notification-EPdPuR9k.cjs +111 -0
- package/dist/chat-notification-EPdPuR9k.cjs.map +1 -0
- package/dist/chat-signal-BPlIIAtB.cjs +42 -0
- package/dist/chat-signal-BPlIIAtB.cjs.map +1 -0
- package/dist/chat-signal-evW1798B.js +40 -0
- package/dist/chat-signal-evW1798B.js.map +1 -0
- package/dist/checkbox-BDsWLL97.cjs +109 -0
- package/dist/checkbox-BDsWLL97.cjs.map +1 -0
- package/dist/checkbox-D0cJaGBz.js +88 -0
- package/dist/checkbox-D0cJaGBz.js.map +1 -0
- package/dist/cn-DPfV6E6L.cjs +3294 -0
- package/dist/cn-DPfV6E6L.cjs.map +1 -0
- package/dist/cn-Dxjsbr9n.js +3291 -0
- package/dist/cn-Dxjsbr9n.js.map +1 -0
- package/dist/code-block-B7ySYtNZ.js +86 -0
- package/dist/code-block-B7ySYtNZ.js.map +1 -0
- package/dist/code-block-C4soB6uN.cjs +88 -0
- package/dist/code-block-C4soB6uN.cjs.map +1 -0
- package/dist/code-editor-JI0lkx_d.cjs +486 -0
- package/dist/code-editor-JI0lkx_d.cjs.map +1 -0
- package/dist/code-editor-pVut50_I.js +478 -0
- package/dist/code-editor-pVut50_I.js.map +1 -0
- package/dist/collapsible-T4jTNOOE.cjs +61 -0
- package/dist/collapsible-T4jTNOOE.cjs.map +1 -0
- package/dist/collapsible-cOfcD1BM.js +57 -0
- package/dist/collapsible-cOfcD1BM.js.map +1 -0
- package/dist/combobox-0lN2FQ8-.js +171 -0
- package/dist/combobox-0lN2FQ8-.js.map +1 -0
- package/dist/combobox-D8Q-oa8_.cjs +192 -0
- package/dist/combobox-D8Q-oa8_.cjs.map +1 -0
- package/dist/combobox-styles-BjTWZmnO.cjs +93 -0
- package/dist/combobox-styles-BjTWZmnO.cjs.map +1 -0
- package/dist/combobox-styles-DOgXFKNk.js +89 -0
- package/dist/combobox-styles-DOgXFKNk.js.map +1 -0
- package/dist/command-BElAH1Uo.cjs +197 -0
- package/dist/command-BElAH1Uo.cjs.map +1 -0
- package/dist/command-Dnep1cdn.js +168 -0
- package/dist/command-Dnep1cdn.js.map +1 -0
- package/dist/components/Activity.cjs.js +11 -0
- package/dist/components/Activity.cjs.js.map +1 -0
- package/dist/components/Activity.d.ts +2 -0
- package/dist/components/Activity.es.js +2 -0
- package/dist/components/Activity.es.js.map +1 -0
- package/dist/components/AlertDialog.cjs.js +2 -2
- package/dist/components/AlertDialog.es.js +2 -2
- package/dist/components/Arrival.cjs.js +1 -1
- package/dist/components/Arrival.es.js +1 -1
- package/dist/components/Avatar.cjs.js +2 -2
- package/dist/components/Avatar.es.js +2 -2
- package/dist/components/Badge.cjs.js +1 -1
- package/dist/components/Badge.es.js +1 -1
- package/dist/components/BrandLoader.cjs.js +1 -1
- package/dist/components/BrandLoader.es.js +1 -1
- package/dist/components/Breadcrumb.cjs.js +2 -2
- package/dist/components/Breadcrumb.es.js +2 -2
- package/dist/components/Button.cjs.js +2 -2
- package/dist/components/Button.es.js +3 -3
- package/dist/components/ButtonsGroup.cjs.js +1 -1
- package/dist/components/ButtonsGroup.es.js +1 -1
- package/dist/components/Card.cjs.js +1 -1
- package/dist/components/Card.es.js +1 -1
- package/dist/components/ChatShell.cjs.js +2 -2
- package/dist/components/ChatShell.es.js +2 -2
- package/dist/components/Checkbox.cjs.js +1 -1
- package/dist/components/Checkbox.es.js +1 -1
- package/dist/components/ClampedText.cjs.js +3 -3
- package/dist/components/ClampedText.es.js +3 -3
- package/dist/components/CodeBlock.cjs.js +1 -1
- package/dist/components/CodeBlock.es.js +1 -1
- package/dist/components/CodeEditor.cjs.js +1 -1
- package/dist/components/CodeEditor.es.js +1 -1
- package/dist/components/Collapsible.cjs.js +1 -1
- package/dist/components/Collapsible.es.js +1 -1
- package/dist/components/Columns.cjs.js +2 -2
- package/dist/components/Columns.es.js +2 -2
- package/dist/components/Combobox.cjs.js +3 -2
- package/dist/components/Combobox.cjs.js.map +1 -1
- package/dist/components/Combobox.es.js +2 -1
- package/dist/components/Combobox.es.js.map +1 -1
- package/dist/components/Command.cjs.js +1 -1
- package/dist/components/Command.es.js +1 -1
- package/dist/components/CommandPalette.cjs.js +4 -4
- package/dist/components/CommandPalette.es.js +4 -4
- package/dist/components/Comment.cjs.js +6 -6
- package/dist/components/Comment.es.js +6 -6
- package/dist/components/Composer.cjs.js +12 -141
- package/dist/components/Composer.cjs.js.map +1 -1
- package/dist/components/Composer.es.js +5 -135
- package/dist/components/Composer.es.js.map +1 -1
- package/dist/components/ContextMenu.cjs.js +1 -1
- package/dist/components/ContextMenu.es.js +1 -1
- package/dist/components/CopyButton.cjs.js +1 -1
- package/dist/components/CopyButton.es.js +1 -1
- package/dist/components/DashboardCard.cjs.js +1 -1
- package/dist/components/DashboardCard.es.js +1 -1
- package/dist/components/DataCodeSection.cjs.js +1 -1
- package/dist/components/DataCodeSection.es.js +1 -1
- package/dist/components/DataDetailsPanel.cjs.js +21 -17
- package/dist/components/DataDetailsPanel.cjs.js.map +1 -1
- package/dist/components/DataDetailsPanel.es.js +21 -17
- package/dist/components/DataDetailsPanel.es.js.map +1 -1
- package/dist/components/DataFilter.cjs.js +3 -3
- package/dist/components/DataFilter.es.js +3 -3
- package/dist/components/DataKeysAndValues.cjs.js +1 -1
- package/dist/components/DataKeysAndValues.es.js +1 -1
- package/dist/components/DataList.cjs.js +4 -4
- package/dist/components/DataList.es.js +4 -4
- package/dist/components/DataPanel.cjs.js +1 -1
- package/dist/components/DataPanel.es.js +1 -1
- package/dist/components/DateRangeTimeline.cjs.js +5 -5
- package/dist/components/DateRangeTimeline.es.js +5 -5
- package/dist/components/DateTimePicker.cjs.js +6 -6
- package/dist/components/DateTimePicker.es.js +6 -6
- package/dist/components/DateTimeRangePicker.cjs.js +1 -1
- package/dist/components/DateTimeRangePicker.es.js +1 -1
- package/dist/components/Dialog.cjs.js +3 -3
- package/dist/components/Dialog.es.js +4 -4
- package/dist/components/Drawer.cjs.js +1 -1
- package/dist/components/Drawer.es.js +1 -1
- package/dist/components/DropdownMenu.cjs.js +1 -1
- package/dist/components/DropdownMenu.es.js +1 -1
- package/dist/components/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState.es.js +1 -1
- package/dist/components/Entity.cjs.js +2 -2
- package/dist/components/Entity.es.js +2 -2
- package/dist/components/EntityHeader.cjs.js +2 -2
- package/dist/components/EntityHeader.es.js +2 -2
- package/dist/components/Entry.cjs.js +1 -1
- package/dist/components/Entry.es.js +1 -1
- package/dist/components/EnvironmentVariablesEditor.cjs.js +7 -7
- package/dist/components/EnvironmentVariablesEditor.es.js +7 -7
- package/dist/components/ErrorBoundary.cjs.js +2 -2
- package/dist/components/ErrorBoundary.es.js +2 -2
- package/dist/components/FilterBar.cjs.js +415 -0
- package/dist/components/FilterBar.cjs.js.map +1 -0
- package/dist/components/FilterBar.d.ts +2 -0
- package/dist/components/FilterBar.es.js +404 -0
- package/dist/components/FilterBar.es.js.map +1 -0
- package/dist/components/FormFieldBlocks.cjs.js +5 -5
- package/dist/components/FormFieldBlocks.es.js +5 -5
- package/dist/components/Header.cjs.js +2 -2
- package/dist/components/Header.es.js +2 -2
- package/dist/components/HorizontalBars.cjs.js +1 -1
- package/dist/components/HorizontalBars.es.js +1 -1
- package/dist/components/HoverCard.cjs.js +1 -1
- package/dist/components/HoverCard.es.js +1 -1
- package/dist/components/Input.cjs.js +1 -1
- package/dist/components/Input.es.js +1 -1
- package/dist/components/InputGroup.cjs.js +1 -1
- package/dist/components/InputGroup.es.js +1 -1
- package/dist/components/IntegrationDialog.cjs.js +4 -4
- package/dist/components/IntegrationDialog.es.js +4 -4
- package/dist/components/ItemList.cjs.js +3 -3
- package/dist/components/ItemList.es.js +3 -3
- package/dist/components/JSONSchemaForm.cjs.js +5 -5
- package/dist/components/JSONSchemaForm.es.js +5 -5
- package/dist/components/Kbd.cjs.js +1 -1
- package/dist/components/Kbd.es.js +1 -1
- package/dist/components/KeyValueList.cjs.js +2 -2
- package/dist/components/KeyValueList.es.js +2 -2
- package/dist/components/Label.cjs.js +1 -1
- package/dist/components/Label.es.js +1 -1
- package/dist/components/ListSearch.cjs.js +1 -1
- package/dist/components/ListSearch.es.js +1 -1
- package/dist/components/Logo.cjs.js +1 -1
- package/dist/components/Logo.es.js +1 -1
- package/dist/components/LogsDataList.cjs.js +4 -2
- package/dist/components/LogsDataList.cjs.js.map +1 -1
- package/dist/components/LogsDataList.es.js +4 -2
- package/dist/components/LogsDataList.es.js.map +1 -1
- package/dist/components/MainContent.cjs.js +1 -1
- package/dist/components/MainContent.es.js +1 -1
- package/dist/components/MainHeader.cjs.js +1 -1
- package/dist/components/MainHeader.es.js +1 -1
- package/dist/components/MainSidebar.cjs.js +11 -836
- package/dist/components/MainSidebar.cjs.js.map +1 -1
- package/dist/components/MainSidebar.es.js +1 -830
- package/dist/components/MainSidebar.es.js.map +1 -1
- package/dist/components/MarkdownRenderer.cjs.js +1 -1
- package/dist/components/MarkdownRenderer.es.js +1 -1
- package/dist/components/Message.cjs.js +26 -0
- package/dist/components/Message.cjs.js.map +1 -0
- package/dist/components/Message.d.ts +2 -0
- package/dist/components/Message.es.js +19 -0
- package/dist/components/Message.es.js.map +1 -0
- package/dist/components/MessageScroller.cjs.js +1 -1
- package/dist/components/MessageScroller.es.js +1 -1
- package/dist/components/MetricsCard.cjs.js +1 -1
- package/dist/components/MetricsCard.es.js +1 -1
- package/dist/components/MetricsFlexGrid.cjs.js +1 -1
- package/dist/components/MetricsFlexGrid.es.js +1 -1
- package/dist/components/MetricsKpiCard.cjs.js +1 -1
- package/dist/components/MetricsKpiCard.es.js +1 -1
- package/dist/components/Notice.cjs.js +1 -1
- package/dist/components/Notice.es.js +1 -1
- package/dist/components/PageHeader.cjs.js +1 -1
- package/dist/components/PageHeader.es.js +1 -1
- package/dist/components/PageLayout.cjs.js +1 -1
- package/dist/components/PageLayout.es.js +1 -1
- package/dist/components/PendingIndicator.cjs.js +1 -1
- package/dist/components/PendingIndicator.es.js +1 -1
- package/dist/components/PermissionDenied.cjs.js +1 -1
- package/dist/components/PermissionDenied.es.js +1 -1
- package/dist/components/Popover.cjs.js +1 -1
- package/dist/components/Popover.es.js +1 -1
- package/dist/components/PrevNextNav.cjs.js +2 -2
- package/dist/components/PrevNextNav.es.js +2 -2
- package/dist/components/PropertyFilter.cjs.js +5 -5
- package/dist/components/PropertyFilter.es.js +6 -6
- package/dist/components/PullRequestIcon.cjs.js +21 -0
- package/dist/components/PullRequestIcon.cjs.js.map +1 -0
- package/dist/components/PullRequestIcon.d.ts +2 -0
- package/dist/components/PullRequestIcon.es.js +17 -0
- package/dist/components/PullRequestIcon.es.js.map +1 -0
- package/dist/components/RadioGroup.cjs.js +1 -1
- package/dist/components/RadioGroup.es.js +1 -1
- package/dist/components/RuleBuilder.cjs.js +4 -4
- package/dist/components/RuleBuilder.es.js +4 -4
- package/dist/components/SankeyChart.cjs.js +1 -1
- package/dist/components/SankeyChart.es.js +1 -1
- package/dist/components/ScatterPlotChart.cjs.js +2 -2
- package/dist/components/ScatterPlotChart.es.js +2 -2
- package/dist/components/ScrollArea.cjs.js +1 -1
- package/dist/components/ScrollArea.es.js +1 -1
- package/dist/components/Section.cjs.js +1 -1
- package/dist/components/Section.es.js +1 -1
- package/dist/components/SectionCard.cjs.js +1 -1
- package/dist/components/SectionCard.es.js +1 -1
- package/dist/components/Sections.cjs.js +1 -1
- package/dist/components/Sections.es.js +1 -1
- package/dist/components/Select.cjs.js +1 -1
- package/dist/components/Select.es.js +1 -1
- package/dist/components/SessionExpired.cjs.js +1 -1
- package/dist/components/SessionExpired.es.js +1 -1
- package/dist/components/SettingsLayout.cjs.js +1 -1
- package/dist/components/SettingsLayout.es.js +1 -1
- package/dist/components/SettingsRow.cjs.js +1 -1
- package/dist/components/SettingsRow.es.js +1 -1
- package/dist/components/Shimmer.cjs.js +1 -1
- package/dist/components/Shimmer.es.js +1 -1
- package/dist/components/SideDialog.cjs.js +6 -6
- package/dist/components/SideDialog.es.js +6 -6
- package/dist/components/Skeleton.cjs.js +1 -1
- package/dist/components/Skeleton.es.js +1 -1
- package/dist/components/Slider.cjs.js +1 -1
- package/dist/components/Slider.es.js +1 -1
- package/dist/components/Spinner.cjs.js +1 -1
- package/dist/components/Spinner.es.js +1 -1
- package/dist/components/StatusIndicators.cjs.js +144 -0
- package/dist/components/StatusIndicators.cjs.js.map +1 -0
- package/dist/components/StatusIndicators.d.ts +2 -0
- package/dist/components/StatusIndicators.es.js +137 -0
- package/dist/components/StatusIndicators.es.js.map +1 -0
- package/dist/components/Steps.cjs.js +2 -2
- package/dist/components/Steps.es.js +2 -2
- package/dist/components/Switch.cjs.js +1 -1
- package/dist/components/Switch.es.js +1 -1
- package/dist/components/Table.cjs.js +2 -2
- package/dist/components/Table.es.js +2 -2
- package/dist/components/Tabs.cjs.js +3 -3
- package/dist/components/Tabs.es.js +3 -3
- package/dist/components/Text.cjs.js +1 -1
- package/dist/components/Text.es.js +1 -1
- package/dist/components/Textarea.cjs.js +1 -1
- package/dist/components/Textarea.es.js +1 -1
- package/dist/components/ThemeToggle.cjs.js +1 -1
- package/dist/components/ThemeToggle.es.js +1 -1
- package/dist/components/ThreadList.cjs.js +3 -3
- package/dist/components/ThreadList.es.js +3 -3
- package/dist/components/ThreadRail.cjs.js +1 -1
- package/dist/components/ThreadRail.es.js +1 -1
- package/dist/components/Toaster.cjs.js +1 -1
- package/dist/components/Toaster.es.js +1 -1
- package/dist/components/TokenBudget.cjs.js +1 -1
- package/dist/components/TokenBudget.es.js +1 -1
- package/dist/components/Tooltip.cjs.js +1 -1
- package/dist/components/Tooltip.es.js +1 -1
- package/dist/components/Tree.cjs.js +2 -2
- package/dist/components/Tree.es.js +2 -2
- package/dist/components/Truncate.cjs.js +4 -4
- package/dist/components/Truncate.es.js +4 -4
- package/dist/components/Txt.cjs.js +1 -1
- package/dist/components/Txt.es.js +1 -1
- package/dist/components/Workflow.cjs.js +675 -364
- package/dist/components/Workflow.cjs.js.map +1 -1
- package/dist/components/Workflow.es.js +679 -366
- package/dist/components/Workflow.es.js.map +1 -1
- package/dist/components/ai/ask-user.cjs.js +1 -1
- package/dist/components/ai/ask-user.es.js +1 -1
- package/dist/components/ai/chat-event.cjs.js +42 -0
- package/dist/components/ai/chat-event.cjs.js.map +1 -0
- package/dist/components/ai/chat-event.d.ts +2 -0
- package/dist/components/ai/chat-event.es.js +36 -0
- package/dist/components/ai/chat-event.es.js.map +1 -0
- package/dist/components/ai/plan.cjs.js +5 -5
- package/dist/components/ai/plan.es.js +5 -5
- package/dist/components/ai/task-list.cjs.js +4 -4
- package/dist/components/ai/task-list.es.js +4 -4
- package/dist/components/ai/tool-approval.cjs.js +11 -0
- package/dist/components/ai/tool-approval.cjs.js.map +1 -0
- package/dist/components/ai/tool-approval.d.ts +2 -0
- package/dist/components/ai/tool-approval.es.js +2 -0
- package/dist/components/ai/tool-approval.es.js.map +1 -0
- package/dist/components/ai/tool-call.cjs.js +46 -6
- package/dist/components/ai/tool-call.cjs.js.map +1 -1
- package/dist/components/ai/tool-call.es.js +46 -9
- package/dist/components/ai/tool-call.es.js.map +1 -1
- package/dist/composer-CocKItIW.js +148 -0
- package/dist/composer-CocKItIW.js.map +1 -0
- package/dist/composer-V_EBklyt.cjs +156 -0
- package/dist/composer-V_EBklyt.cjs.map +1 -0
- package/dist/composer.css +207 -0
- package/dist/copy-button-BBCLrGJB.js +36 -0
- package/dist/copy-button-BBCLrGJB.js.map +1 -0
- package/dist/copy-button-Clv2tQeH.cjs +38 -0
- package/dist/copy-button-Clv2tQeH.cjs.map +1 -0
- package/dist/dashboard-card-a6jDCcvz.js +9 -0
- package/dist/dashboard-card-a6jDCcvz.js.map +1 -0
- package/dist/dashboard-card-zx6leZwS.cjs +11 -0
- package/dist/dashboard-card-zx6leZwS.cjs.map +1 -0
- package/dist/data-code-section-AstkW2b3.js +348 -0
- package/dist/data-code-section-AstkW2b3.js.map +1 -0
- package/dist/data-code-section-CKb8P3pZ.cjs +350 -0
- package/dist/data-code-section-CKb8P3pZ.cjs.map +1 -0
- package/dist/data-keys-and-values-CDhHx4Tc.cjs +124 -0
- package/dist/data-keys-and-values-CDhHx4Tc.cjs.map +1 -0
- package/dist/data-keys-and-values-DNqDDNb0.js +122 -0
- package/dist/data-keys-and-values-DNqDDNb0.js.map +1 -0
- package/dist/data-list-CIUOCtR5.js +179 -0
- package/dist/data-list-CIUOCtR5.js.map +1 -0
- package/dist/data-list-DjSl3F2g.cjs +183 -0
- package/dist/data-list-DjSl3F2g.cjs.map +1 -0
- package/dist/data-list-skeleton--fY5L1tO.cjs +38 -0
- package/dist/data-list-skeleton--fY5L1tO.cjs.map +1 -0
- package/dist/data-list-skeleton-CL2Z3dY1.js +36 -0
- package/dist/data-list-skeleton-CL2Z3dY1.js.map +1 -0
- package/dist/data-list-top-BA2UVl0j.js +481 -0
- package/dist/data-list-top-BA2UVl0j.js.map +1 -0
- package/dist/data-list-top-B_RRVRf5.cjs +510 -0
- package/dist/data-list-top-B_RRVRf5.cjs.map +1 -0
- package/dist/data-panel-3TqqdlmK.js +220 -0
- package/dist/data-panel-3TqqdlmK.js.map +1 -0
- package/dist/data-panel-BmQlOkMA.cjs +241 -0
- package/dist/data-panel-BmQlOkMA.cjs.map +1 -0
- package/dist/data-panel-section-heading-BmSBR8A5.cjs +23 -0
- package/dist/data-panel-section-heading-BmSBR8A5.cjs.map +1 -0
- package/dist/data-panel-section-heading-DhzuleNL.js +21 -0
- package/dist/data-panel-section-heading-DhzuleNL.js.map +1 -0
- package/dist/date-picker-BpMCtOR1.js +48 -0
- package/dist/date-picker-BpMCtOR1.js.map +1 -0
- package/dist/date-picker-DXV1waxg.cjs +50 -0
- package/dist/date-picker-DXV1waxg.cjs.map +1 -0
- package/dist/date-time-range-picker-DG2DJpni.cjs +169 -0
- package/dist/date-time-range-picker-DG2DJpni.cjs.map +1 -0
- package/dist/date-time-range-picker-jOWChtnl.js +167 -0
- package/dist/date-time-range-picker-jOWChtnl.js.map +1 -0
- package/dist/dialog-BUcAVIly.js +242 -0
- package/dist/dialog-BUcAVIly.js.map +1 -0
- package/dist/dialog-h9MPZQgc.cjs +276 -0
- package/dist/dialog-h9MPZQgc.cjs.map +1 -0
- package/dist/domains/chat/attachments/attachment-preview-dialog.cjs.js +30 -14
- package/dist/domains/chat/attachments/attachment-preview-dialog.cjs.js.map +1 -1
- package/dist/domains/chat/attachments/attachment-preview-dialog.es.js +31 -15
- package/dist/domains/chat/attachments/attachment-preview-dialog.es.js.map +1 -1
- package/dist/domains/chat/attachments/composer-attachment-list.cjs.js +21 -0
- package/dist/domains/chat/attachments/composer-attachment-list.cjs.js.map +1 -0
- package/dist/domains/chat/attachments/composer-attachment-list.d.ts +2 -0
- package/dist/domains/chat/attachments/composer-attachment-list.es.js +17 -0
- package/dist/domains/chat/attachments/composer-attachment-list.es.js.map +1 -0
- package/dist/domains/chat/attachments/composer-attachment.cjs.js +52 -0
- package/dist/domains/chat/attachments/composer-attachment.cjs.js.map +1 -0
- package/dist/domains/chat/attachments/composer-attachment.d.ts +2 -0
- package/dist/domains/chat/attachments/composer-attachment.es.js +48 -0
- package/dist/domains/chat/attachments/composer-attachment.es.js.map +1 -0
- package/dist/domains/chat/components/badge-wrapper.cjs.js +2 -2
- package/dist/domains/chat/components/badge-wrapper.es.js +2 -2
- package/dist/domains/chat/components/loading-badge.cjs.js +2 -2
- package/dist/domains/chat/components/loading-badge.es.js +2 -2
- package/dist/domains/chat/components/network-choice-metadata-dialog.cjs.js +4 -4
- package/dist/domains/chat/components/network-choice-metadata-dialog.es.js +4 -4
- package/dist/domains/chat/components/section-label.cjs.js +1 -1
- package/dist/domains/chat/components/section-label.es.js +1 -1
- package/dist/domains/chat/messages/notification-signal-notice-variant.cjs.js.map +1 -1
- package/dist/domains/chat/messages/notification-signal-notice-variant.es.js.map +1 -1
- package/dist/domains/chat/messages/notification-signal-notice.cjs.js +8 -20
- package/dist/domains/chat/messages/notification-signal-notice.cjs.js.map +1 -1
- package/dist/domains/chat/messages/notification-signal-notice.es.js +9 -21
- package/dist/domains/chat/messages/notification-signal-notice.es.js.map +1 -1
- package/dist/domains/chat/messages/reasoning-content.cjs.js +14 -0
- package/dist/domains/chat/messages/reasoning-content.cjs.js.map +1 -0
- package/dist/domains/chat/messages/reasoning-content.d.ts +2 -0
- package/dist/domains/chat/messages/reasoning-content.es.js +10 -0
- package/dist/domains/chat/messages/reasoning-content.es.js.map +1 -0
- package/dist/domains/chat/messages/reasoning-streaming-line.cjs.js +3 -3
- package/dist/domains/chat/messages/reasoning-streaming-line.cjs.js.map +1 -1
- package/dist/domains/chat/messages/reasoning-streaming-line.es.js +3 -3
- package/dist/domains/chat/messages/reasoning-streaming-line.es.js.map +1 -1
- package/dist/domains/chat/messages/reasoning.cjs.js +30 -14
- package/dist/domains/chat/messages/reasoning.cjs.js.map +1 -1
- package/dist/domains/chat/messages/reasoning.es.js +32 -16
- package/dist/domains/chat/messages/reasoning.es.js.map +1 -1
- package/dist/domains/chat/messages/renderers/assistant-text-part-renderer.cjs.js.map +1 -1
- package/dist/domains/chat/messages/renderers/assistant-text-part-renderer.es.js.map +1 -1
- package/dist/domains/chat/messages/renderers/data-part-renderer.cjs.js.map +1 -1
- package/dist/domains/chat/messages/renderers/data-part-renderer.es.js.map +1 -1
- package/dist/domains/chat/messages/renderers/in-message-attachment.cjs.js +1 -1
- package/dist/domains/chat/messages/renderers/in-message-attachment.cjs.js.map +1 -1
- package/dist/domains/chat/messages/renderers/in-message-attachment.es.js +1 -1
- package/dist/domains/chat/messages/renderers/in-message-attachment.es.js.map +1 -1
- package/dist/domains/chat/messages/renderers/message-text.cjs.js +4 -4
- package/dist/domains/chat/messages/renderers/message-text.es.js +4 -4
- package/dist/domains/chat/messages/renderers/reasoning-part-renderer.cjs.js +3 -8
- package/dist/domains/chat/messages/renderers/reasoning-part-renderer.cjs.js.map +1 -1
- package/dist/domains/chat/messages/renderers/reasoning-part-renderer.es.js +3 -8
- package/dist/domains/chat/messages/renderers/reasoning-part-renderer.es.js.map +1 -1
- package/dist/domains/chat/messages/renderers/status-renderers.cjs.js +1 -1
- package/dist/domains/chat/messages/renderers/status-renderers.cjs.js.map +1 -1
- package/dist/domains/chat/messages/renderers/status-renderers.es.js +1 -1
- package/dist/domains/chat/messages/renderers/status-renderers.es.js.map +1 -1
- package/dist/domains/chat/messages/renderers/tool-part.cjs.js +12 -2
- package/dist/domains/chat/messages/renderers/tool-part.cjs.js.map +1 -1
- package/dist/domains/chat/messages/renderers/tool-part.es.js +12 -2
- package/dist/domains/chat/messages/renderers/tool-part.es.js.map +1 -1
- package/dist/domains/chat/messages/renderers/user-file-part-renderer.cjs.js +2 -1
- package/dist/domains/chat/messages/renderers/user-file-part-renderer.cjs.js.map +1 -1
- package/dist/domains/chat/messages/renderers/user-file-part-renderer.es.js +2 -1
- package/dist/domains/chat/messages/renderers/user-file-part-renderer.es.js.map +1 -1
- package/dist/domains/chat/messages/renderers/user-text-part-renderer.cjs.js.map +1 -1
- package/dist/domains/chat/messages/renderers/user-text-part-renderer.es.js.map +1 -1
- package/dist/domains/chat/messages/signal-badge.cjs.js +3 -19
- package/dist/domains/chat/messages/signal-badge.cjs.js.map +1 -1
- package/dist/domains/chat/messages/signal-badge.es.js +4 -20
- package/dist/domains/chat/messages/signal-badge.es.js.map +1 -1
- package/dist/domains/chat/messages/tripwire-notice.cjs.js +2 -2
- package/dist/domains/chat/messages/tripwire-notice.es.js +2 -2
- package/dist/domains/chat/tools/badges/ask-user-badge.cjs.js +1 -1
- package/dist/domains/chat/tools/badges/ask-user-badge.es.js +1 -1
- package/dist/domains/chat/tools/badges/code-mode-badge.cjs.js +2 -2
- package/dist/domains/chat/tools/badges/code-mode-badge.es.js +2 -2
- package/dist/domains/chat/tools/badges/observation-marker-badge.cjs.js +3 -3
- package/dist/domains/chat/tools/badges/observation-marker-badge.es.js +3 -3
- package/dist/domains/chat/tools/badges/observation-renderer.cjs.js +2 -2
- package/dist/domains/chat/tools/badges/observation-renderer.es.js +2 -2
- package/dist/domains/chat/tools/badges/tool-approval-buttons.cjs.js +11 -24
- package/dist/domains/chat/tools/badges/tool-approval-buttons.cjs.js.map +1 -1
- package/dist/domains/chat/tools/badges/tool-approval-buttons.es.js +11 -24
- package/dist/domains/chat/tools/badges/tool-approval-buttons.es.js.map +1 -1
- package/dist/domains/chat/tools/tool-card-kind.cjs.js +2 -1
- package/dist/domains/chat/tools/tool-card-kind.cjs.js.map +1 -1
- package/dist/domains/chat/tools/tool-card-kind.es.js +2 -1
- package/dist/domains/chat/tools/tool-card-kind.es.js.map +1 -1
- package/dist/domains/chat/tools/tool-groups.cjs.js +1 -0
- package/dist/domains/chat/tools/tool-groups.cjs.js.map +1 -1
- package/dist/domains/chat/tools/tool-groups.es.js +1 -0
- package/dist/domains/chat/tools/tool-groups.es.js.map +1 -1
- package/dist/domains/logs/components/log-details-view.cjs.js +4 -4
- package/dist/domains/logs/components/log-details-view.es.js +4 -4
- package/dist/domains/logs/components/logs-error-content.cjs.js +3 -3
- package/dist/domains/logs/components/logs-error-content.es.js +3 -3
- package/dist/domains/logs/components/logs-layout.cjs.js +1 -1
- package/dist/domains/logs/components/logs-layout.es.js +1 -1
- package/dist/domains/logs/components/logs-list-view.cjs.js +2 -2
- package/dist/domains/logs/components/logs-list-view.es.js +2 -2
- package/dist/domains/logs/components/logs-toolbar.cjs.js +2 -2
- package/dist/domains/logs/components/logs-toolbar.cjs.js.map +1 -1
- package/dist/domains/logs/components/logs-toolbar.es.js +2 -2
- package/dist/domains/logs/components/logs-toolbar.es.js.map +1 -1
- package/dist/domains/logs/components/no-logs-info.cjs.js +2 -2
- package/dist/domains/logs/components/no-logs-info.es.js +2 -2
- package/dist/domains/logs/hooks/use-logs-filter-persistence.cjs.js +1 -1
- package/dist/domains/logs/hooks/use-logs-filter-persistence.es.js +1 -1
- package/dist/domains/logs/hooks/use-logs.cjs.js.map +1 -1
- package/dist/domains/logs/hooks/use-logs.es.js.map +1 -1
- package/dist/domains/logs/log-filters.cjs.js.map +1 -1
- package/dist/domains/logs/log-filters.es.js.map +1 -1
- package/dist/domains/memory/components/flame-graph.cjs.js +1 -1
- package/dist/domains/memory/components/flame-graph.es.js +1 -1
- package/dist/domains/memory/components/memory-studio-panel.cjs.js +3 -3
- package/dist/domains/memory/components/memory-studio-panel.es.js +3 -3
- package/dist/domains/memory/components/observation-detail-view.cjs.js +4 -4
- package/dist/domains/memory/components/observation-detail-view.es.js +4 -4
- package/dist/domains/memory/components/thread-context-progress.cjs.js +1 -1
- package/dist/domains/memory/components/thread-context-progress.es.js +1 -1
- package/dist/domains/metrics/components/bar-list.cjs.js +1 -1
- package/dist/domains/metrics/components/bar-list.es.js +1 -1
- package/dist/domains/metrics/components/card-action-buttons.cjs.js +1 -1
- package/dist/domains/metrics/components/card-action-buttons.es.js +1 -1
- package/dist/domains/metrics/components/date-range-selector.cjs.js +1 -1
- package/dist/domains/metrics/components/date-range-selector.es.js +1 -1
- package/dist/domains/metrics/components/kpi-card-view.cjs.js +1 -1
- package/dist/domains/metrics/components/kpi-card-view.es.js +1 -1
- package/dist/domains/metrics/components/latency-card-view.cjs.js +4 -4
- package/dist/domains/metrics/components/latency-card-view.es.js +4 -4
- package/dist/domains/metrics/components/memory-card-view.cjs.js +5 -5
- package/dist/domains/metrics/components/memory-card-view.es.js +5 -5
- package/dist/domains/metrics/components/model-usage-cost-card-view.cjs.js +2 -2
- package/dist/domains/metrics/components/model-usage-cost-card-view.es.js +2 -2
- package/dist/domains/metrics/components/scores-card-view.cjs.js +5 -5
- package/dist/domains/metrics/components/scores-card-view.es.js +5 -5
- package/dist/domains/metrics/components/token-usage-by-agent-card-view.cjs.js +5 -5
- package/dist/domains/metrics/components/token-usage-by-agent-card-view.es.js +5 -5
- package/dist/domains/metrics/components/token-usage-timeline-card-view.cjs.js +4 -4
- package/dist/domains/metrics/components/token-usage-timeline-card-view.es.js +4 -4
- package/dist/domains/metrics/components/traces-volume-card-view.cjs.js +5 -5
- package/dist/domains/metrics/components/traces-volume-card-view.es.js +5 -5
- package/dist/domains/traces/components/no-traces-info.cjs.js +1 -1
- package/dist/domains/traces/components/no-traces-info.es.js +1 -1
- package/dist/domains/traces/components/span-data-panel-view.cjs.js +42 -57
- package/dist/domains/traces/components/span-data-panel-view.cjs.js.map +1 -1
- package/dist/domains/traces/components/span-data-panel-view.es.js +42 -57
- package/dist/domains/traces/components/span-data-panel-view.es.js.map +1 -1
- package/dist/domains/traces/components/span-details-view.cjs.js +31 -8
- package/dist/domains/traces/components/span-details-view.cjs.js.map +1 -1
- package/dist/domains/traces/components/span-details-view.es.js +31 -8
- package/dist/domains/traces/components/span-details-view.es.js.map +1 -1
- package/dist/domains/traces/components/span-payload/span-error-renderer.cjs.js +38 -0
- package/dist/domains/traces/components/span-payload/span-error-renderer.cjs.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-error-renderer.d.ts +2 -0
- package/dist/domains/traces/components/span-payload/span-error-renderer.es.js +34 -0
- package/dist/domains/traces/components/span-payload/span-error-renderer.es.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-input-renderers.cjs.js +50 -0
- package/dist/domains/traces/components/span-payload/span-input-renderers.cjs.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-input-renderers.d.ts +2 -0
- package/dist/domains/traces/components/span-payload/span-input-renderers.es.js +46 -0
- package/dist/domains/traces/components/span-payload/span-input-renderers.es.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-output-renderers.cjs.js +97 -0
- package/dist/domains/traces/components/span-payload/span-output-renderers.cjs.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-output-renderers.d.ts +2 -0
- package/dist/domains/traces/components/span-payload/span-output-renderers.es.js +93 -0
- package/dist/domains/traces/components/span-payload/span-output-renderers.es.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-payload-attachment.cjs.js +34 -0
- package/dist/domains/traces/components/span-payload/span-payload-attachment.cjs.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-payload-attachment.d.ts +2 -0
- package/dist/domains/traces/components/span-payload/span-payload-attachment.es.js +30 -0
- package/dist/domains/traces/components/span-payload/span-payload-attachment.es.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-payload-json.cjs.js +25 -0
- package/dist/domains/traces/components/span-payload/span-payload-json.cjs.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-payload-json.d.ts +2 -0
- package/dist/domains/traces/components/span-payload/span-payload-json.es.js +21 -0
- package/dist/domains/traces/components/span-payload/span-payload-json.es.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-payload-messages.cjs.js +79 -0
- package/dist/domains/traces/components/span-payload/span-payload-messages.cjs.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-payload-messages.d.ts +2 -0
- package/dist/domains/traces/components/span-payload/span-payload-messages.es.js +75 -0
- package/dist/domains/traces/components/span-payload/span-payload-messages.es.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-payload-primitives.cjs.js +18 -0
- package/dist/domains/traces/components/span-payload/span-payload-primitives.cjs.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-payload-primitives.d.ts +2 -0
- package/dist/domains/traces/components/span-payload/span-payload-primitives.es.js +6 -0
- package/dist/domains/traces/components/span-payload/span-payload-primitives.es.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-payload-registry.cjs.js +14 -0
- package/dist/domains/traces/components/span-payload/span-payload-registry.cjs.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-payload-registry.d.ts +2 -0
- package/dist/domains/traces/components/span-payload/span-payload-registry.es.js +9 -0
- package/dist/domains/traces/components/span-payload/span-payload-registry.es.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-payload-section.cjs.js +73 -0
- package/dist/domains/traces/components/span-payload/span-payload-section.cjs.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-payload-section.d.ts +2 -0
- package/dist/domains/traces/components/span-payload/span-payload-section.es.js +69 -0
- package/dist/domains/traces/components/span-payload/span-payload-section.es.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-payload-tool.cjs.js +15 -0
- package/dist/domains/traces/components/span-payload/span-payload-tool.cjs.js.map +1 -0
- package/dist/domains/traces/components/span-payload/span-payload-tool.d.ts +2 -0
- package/dist/domains/traces/components/span-payload/span-payload-tool.es.js +7 -0
- package/dist/domains/traces/components/span-payload/span-payload-tool.es.js.map +1 -0
- package/dist/domains/traces/components/span-payload.cjs.js +20 -0
- package/dist/domains/traces/components/span-payload.cjs.js.map +1 -0
- package/dist/domains/traces/components/span-payload.d.ts +2 -0
- package/dist/domains/traces/components/span-payload.es.js +7 -0
- package/dist/domains/traces/components/span-payload.es.js.map +1 -0
- package/dist/domains/traces/components/span-rows.cjs.js +1 -55
- package/dist/domains/traces/components/span-rows.cjs.js.map +1 -1
- package/dist/domains/traces/components/span-rows.es.js +1 -55
- package/dist/domains/traces/components/span-rows.es.js.map +1 -1
- package/dist/domains/traces/components/span-summary-description.cjs.js +8 -44
- package/dist/domains/traces/components/span-summary-description.cjs.js.map +1 -1
- package/dist/domains/traces/components/span-summary-description.es.js +8 -44
- package/dist/domains/traces/components/span-summary-description.es.js.map +1 -1
- package/dist/domains/traces/components/span-timeline-row.cjs.js +139 -0
- package/dist/domains/traces/components/span-timeline-row.cjs.js.map +1 -0
- package/dist/domains/traces/components/span-timeline-row.d.ts +2 -0
- package/dist/domains/traces/components/span-timeline-row.es.js +135 -0
- package/dist/domains/traces/components/span-timeline-row.es.js.map +1 -0
- package/dist/domains/traces/components/span-timing-hover-card.cjs.js +3 -3
- package/dist/domains/traces/components/span-timing-hover-card.es.js +3 -3
- package/dist/domains/traces/components/span-token-usage.cjs.js +2 -2
- package/dist/domains/traces/components/span-token-usage.es.js +2 -2
- package/dist/domains/traces/components/span-tree-row.cjs.js +3 -20
- package/dist/domains/traces/components/span-tree-row.cjs.js.map +1 -1
- package/dist/domains/traces/components/span-tree-row.es.js +3 -20
- package/dist/domains/traces/components/span-tree-row.es.js.map +1 -1
- package/dist/domains/traces/components/thread-trace/thread-trace-details.cjs.js +7 -12
- package/dist/domains/traces/components/thread-trace/thread-trace-details.cjs.js.map +1 -1
- package/dist/domains/traces/components/thread-trace/thread-trace-details.es.js +7 -12
- package/dist/domains/traces/components/thread-trace/thread-trace-details.es.js.map +1 -1
- package/dist/domains/traces/components/thread-trace/thread-trace-list.cjs.js +1 -1
- package/dist/domains/traces/components/thread-trace/thread-trace-list.es.js +1 -1
- package/dist/domains/traces/components/thread-trace/thread-trace-messages.cjs.js +1 -1
- package/dist/domains/traces/components/thread-trace/thread-trace-messages.es.js +1 -1
- package/dist/domains/traces/components/thread-trace/thread-trace-rail.cjs.js +2 -2
- package/dist/domains/traces/components/thread-trace/thread-trace-rail.es.js +2 -2
- package/dist/domains/traces/components/thread-trace/thread-trace-root.cjs.js +1 -1
- package/dist/domains/traces/components/thread-trace/thread-trace-root.es.js +1 -1
- package/dist/domains/traces/components/thread-trace/thread-trace-row.cjs.js +1 -1
- package/dist/domains/traces/components/thread-trace/thread-trace-row.es.js +1 -1
- package/dist/domains/traces/components/thread-trace/thread-trace-span-panel.cjs.js +1 -1
- package/dist/domains/traces/components/thread-trace/thread-trace-span-panel.es.js +1 -1
- package/dist/domains/traces/components/thread-trace/thread-trace-spans-tab.cjs.js +3 -3
- package/dist/domains/traces/components/thread-trace/thread-trace-spans-tab.es.js +3 -3
- package/dist/domains/traces/components/timeline-name-col.cjs.js +51 -22
- package/dist/domains/traces/components/timeline-name-col.cjs.js.map +1 -1
- package/dist/domains/traces/components/timeline-name-col.es.js +51 -22
- package/dist/domains/traces/components/timeline-name-col.es.js.map +1 -1
- package/dist/domains/traces/components/timeline-structure-sign.cjs.js +2 -2
- package/dist/domains/traces/components/timeline-structure-sign.cjs.js.map +1 -1
- package/dist/domains/traces/components/timeline-structure-sign.es.js +2 -2
- package/dist/domains/traces/components/timeline-structure-sign.es.js.map +1 -1
- package/dist/domains/traces/components/timeline-timing-col.cjs.js +2 -2
- package/dist/domains/traces/components/timeline-timing-col.es.js +2 -2
- package/dist/domains/traces/components/trace-columns-menu.cjs.js +6 -6
- package/dist/domains/traces/components/trace-columns-menu.cjs.js.map +1 -1
- package/dist/domains/traces/components/trace-columns-menu.es.js +6 -6
- package/dist/domains/traces/components/trace-columns-menu.es.js.map +1 -1
- package/dist/domains/traces/components/trace-data-panel-view.cjs.js +150 -146
- package/dist/domains/traces/components/trace-data-panel-view.cjs.js.map +1 -1
- package/dist/domains/traces/components/trace-data-panel-view.es.js +151 -147
- package/dist/domains/traces/components/trace-data-panel-view.es.js.map +1 -1
- package/dist/domains/traces/components/trace-details-view.cjs.js.map +1 -1
- package/dist/domains/traces/components/trace-details-view.es.js.map +1 -1
- package/dist/domains/traces/components/trace-id-button.cjs.js +2 -2
- package/dist/domains/traces/components/trace-id-button.es.js +2 -2
- package/dist/domains/traces/components/trace-keys-and-values.cjs.js +2 -2
- package/dist/domains/traces/components/trace-keys-and-values.es.js +2 -2
- package/dist/domains/traces/components/trace-span-timeline.cjs.js +10 -16
- package/dist/domains/traces/components/trace-span-timeline.cjs.js.map +1 -1
- package/dist/domains/traces/components/trace-span-timeline.es.js +10 -16
- package/dist/domains/traces/components/trace-span-timeline.es.js.map +1 -1
- package/dist/domains/traces/components/trace-span-tree.cjs.js +29 -18
- package/dist/domains/traces/components/trace-span-tree.cjs.js.map +1 -1
- package/dist/domains/traces/components/trace-span-tree.es.js +29 -18
- package/dist/domains/traces/components/trace-span-tree.es.js.map +1 -1
- package/dist/domains/traces/components/trace-status-value.cjs.js +1 -1
- package/dist/domains/traces/components/trace-status-value.es.js +1 -1
- package/dist/domains/traces/components/trace-summary-description.cjs.js +21 -75
- package/dist/domains/traces/components/trace-summary-description.cjs.js.map +1 -1
- package/dist/domains/traces/components/trace-summary-description.es.js +22 -76
- package/dist/domains/traces/components/trace-summary-description.es.js.map +1 -1
- package/dist/domains/traces/components/trace-time-range-chip.cjs.js +74 -0
- package/dist/domains/traces/components/trace-time-range-chip.cjs.js.map +1 -0
- package/dist/domains/traces/components/trace-time-range-chip.d.ts +2 -0
- package/dist/domains/traces/components/trace-time-range-chip.es.js +67 -0
- package/dist/domains/traces/components/trace-time-range-chip.es.js.map +1 -0
- package/dist/domains/traces/components/traces-error-content.cjs.js +2 -2
- package/dist/domains/traces/components/traces-error-content.es.js +2 -2
- package/dist/domains/traces/components/traces-list-mode-toggle.cjs.js +2 -2
- package/dist/domains/traces/components/traces-list-mode-toggle.es.js +2 -2
- package/dist/domains/traces/components/traces-list-view-adapter.cjs.js +24 -0
- package/dist/domains/traces/components/traces-list-view-adapter.cjs.js.map +1 -0
- package/dist/domains/traces/components/traces-list-view-adapter.d.ts +2 -0
- package/dist/domains/traces/components/traces-list-view-adapter.es.js +20 -0
- package/dist/domains/traces/components/traces-list-view-adapter.es.js.map +1 -0
- package/dist/domains/traces/components/traces-list-view.cjs.js +4 -4
- package/dist/domains/traces/components/traces-list-view.es.js +4 -4
- package/dist/domains/traces/components.cjs.js +14 -10
- package/dist/domains/traces/components.cjs.js.map +1 -1
- package/dist/domains/traces/components.es.js +7 -5
- package/dist/domains/traces/components.es.js.map +1 -1
- package/dist/domains/traces/hooks/use-download-trace-json.cjs.js +1 -1
- package/dist/domains/traces/hooks/use-download-trace-json.es.js +1 -1
- package/dist/domains/traces/hooks/use-span-detail.cjs.js.map +1 -1
- package/dist/domains/traces/hooks/use-span-detail.es.js.map +1 -1
- package/dist/domains/traces/hooks/use-trace-query.cjs.js +90 -0
- package/dist/domains/traces/hooks/use-trace-query.cjs.js.map +1 -0
- package/dist/domains/traces/hooks/use-trace-query.d.ts +2 -0
- package/dist/domains/traces/hooks/use-trace-query.es.js +83 -0
- package/dist/domains/traces/hooks/use-trace-query.es.js.map +1 -0
- package/dist/domains/traces/hooks/use-trace-span-navigation.cjs.js.map +1 -1
- package/dist/domains/traces/hooks/use-trace-span-navigation.es.js.map +1 -1
- package/dist/domains/traces/hooks/use-trace-spans.cjs.js +2 -1
- package/dist/domains/traces/hooks/use-trace-spans.cjs.js.map +1 -1
- package/dist/domains/traces/hooks/use-trace-spans.es.js +3 -2
- package/dist/domains/traces/hooks/use-trace-spans.es.js.map +1 -1
- package/dist/domains/traces/hooks/use-trace-url-state.cjs.js +21 -2
- package/dist/domains/traces/hooks/use-trace-url-state.cjs.js.map +1 -1
- package/dist/domains/traces/hooks/use-trace-url-state.es.js +21 -2
- package/dist/domains/traces/hooks/use-trace-url-state.es.js.map +1 -1
- package/dist/domains/traces/hooks/use-traces.cjs.js +9 -7
- package/dist/domains/traces/hooks/use-traces.cjs.js.map +1 -1
- package/dist/domains/traces/hooks/use-traces.es.js +9 -7
- package/dist/domains/traces/hooks/use-traces.es.js.map +1 -1
- package/dist/domains/traces/hooks.cjs.js +2 -0
- package/dist/domains/traces/hooks.cjs.js.map +1 -1
- package/dist/domains/traces/hooks.es.js +1 -0
- package/dist/domains/traces/hooks.es.js.map +1 -1
- package/dist/domains/traces/trace-filters.cjs.js +117 -87
- package/dist/domains/traces/trace-filters.cjs.js.map +1 -1
- package/dist/domains/traces/trace-filters.es.js +112 -86
- package/dist/domains/traces/trace-filters.es.js.map +1 -1
- package/dist/domains/traces/trace-query-filters.cjs.js +66 -0
- package/dist/domains/traces/trace-query-filters.cjs.js.map +1 -0
- package/dist/domains/traces/trace-query-filters.d.ts +2 -0
- package/dist/domains/traces/trace-query-filters.es.js +61 -0
- package/dist/domains/traces/trace-query-filters.es.js.map +1 -0
- package/dist/domains/traces/types.cjs.js.map +1 -1
- package/dist/domains/traces/types.es.js.map +1 -1
- package/dist/domains/traces/utils/filter-spans-keeping-ancestors.cjs.js.map +1 -1
- package/dist/domains/traces/utils/filter-spans-keeping-ancestors.es.js.map +1 -1
- package/dist/domains/traces/utils/span-utils.cjs.js.map +1 -1
- package/dist/domains/traces/utils/span-utils.es.js.map +1 -1
- package/dist/domains/traces/utils/to-searchable-spans.cjs.js.map +1 -1
- package/dist/domains/traces/utils/to-searchable-spans.es.js.map +1 -1
- package/dist/domains/traces.cjs.js +25 -12
- package/dist/domains/traces.cjs.js.map +1 -1
- package/dist/domains/traces.es.js +10 -6
- package/dist/domains/traces.es.js.map +1 -1
- package/dist/drawer-B2GbH_X2.js +327 -0
- package/dist/drawer-B2GbH_X2.js.map +1 -0
- package/dist/drawer-BZ-HuIEI.cjs +367 -0
- package/dist/drawer-BZ-HuIEI.cjs.map +1 -0
- package/dist/dropdown-menu-BYns1-0U.js +206 -0
- package/dist/dropdown-menu-BYns1-0U.js.map +1 -0
- package/dist/dropdown-menu-CP2LVgOe.cjs +227 -0
- package/dist/dropdown-menu-CP2LVgOe.cjs.map +1 -0
- package/dist/ee/signals/components/entity-index-compact-grid.cjs.js +3 -3
- package/dist/ee/signals/components/entity-index-compact-grid.es.js +3 -3
- package/dist/ee/signals/components/entity-index-list.cjs.js +4 -2
- package/dist/ee/signals/components/entity-index-list.cjs.js.map +1 -1
- package/dist/ee/signals/components/entity-index-list.es.js +4 -2
- package/dist/ee/signals/components/entity-index-list.es.js.map +1 -1
- package/dist/ee/signals/components/signals-empty-state.cjs.js +2 -2
- package/dist/ee/signals/components/signals-empty-state.es.js +2 -2
- package/dist/ee/signals/components/trace-intelligence-entity-detail.cjs.js +2 -2
- package/dist/ee/signals/components/trace-intelligence-entity-detail.es.js +2 -2
- package/dist/ee/signals/components/trace-intelligence-entity-index.cjs.js +10 -9
- package/dist/ee/signals/components/trace-intelligence-entity-index.cjs.js.map +1 -1
- package/dist/ee/signals/components/trace-intelligence-entity-index.es.js +10 -9
- package/dist/ee/signals/components/trace-intelligence-entity-index.es.js.map +1 -1
- package/dist/ee/signals/examples-pager.cjs.js +1 -1
- package/dist/ee/signals/examples-pager.es.js +1 -1
- package/dist/ee/signals/flow-card.cjs.js +2 -2
- package/dist/ee/signals/flow-card.es.js +2 -2
- package/dist/ee/signals/noise-detail-panel.cjs.js +1 -1
- package/dist/ee/signals/noise-detail-panel.es.js +1 -1
- package/dist/ee/signals/sankey-signals.cjs.js +1 -1
- package/dist/ee/signals/sankey-signals.es.js +1 -1
- package/dist/ee/signals/settings/signal-definition-form-dialog.cjs.js +6 -6
- package/dist/ee/signals/settings/signal-definition-form-dialog.es.js +6 -6
- package/dist/ee/signals/settings/trace-signal-settings.cjs.js +5 -5
- package/dist/ee/signals/settings/trace-signal-settings.es.js +5 -5
- package/dist/ee/signals/signal-delta-column.cjs.js +1 -1
- package/dist/ee/signals/signal-delta-column.es.js +1 -1
- package/dist/ee/signals/signal-lifelines.cjs.js +1 -1
- package/dist/ee/signals/signal-lifelines.es.js +1 -1
- package/dist/ee/signals/signals-error-state.cjs.js +1 -1
- package/dist/ee/signals/signals-error-state.es.js +1 -1
- package/dist/ee/signals/signals-loading-skeleton.cjs.js +1 -1
- package/dist/ee/signals/signals-loading-skeleton.es.js +1 -1
- package/dist/ee/signals/snapshot-timeline.cjs.js +1 -1
- package/dist/ee/signals/snapshot-timeline.es.js +1 -1
- package/dist/ee/signals/sortable-signal-headers.cjs.js +1 -1
- package/dist/ee/signals/sortable-signal-headers.es.js +1 -1
- package/dist/ee/signals/theme-detail-panel.cjs.js +2 -2
- package/dist/ee/signals/theme-detail-panel.es.js +2 -2
- package/dist/ee/signals/theme-filter-banner.cjs.js +1 -1
- package/dist/ee/signals/theme-filter-banner.es.js +1 -1
- package/dist/ee/signals/theme-trend-chart.cjs.js +1 -1
- package/dist/ee/signals/theme-trend-chart.es.js +1 -1
- package/dist/ee/signals/trace-insight-view.cjs.js +1 -1
- package/dist/ee/signals/trace-insight-view.es.js +1 -1
- package/dist/ee/signals/trace-intelligence-explainer.cjs.js +1 -1
- package/dist/ee/signals/trace-intelligence-explainer.es.js +1 -1
- package/dist/ee/signals/view-mode-tab.cjs.js +2 -2
- package/dist/ee/signals/view-mode-tab.es.js +2 -2
- package/dist/ee/topics/components/topic-trace-details-panel.cjs.js +1 -1
- package/dist/ee/topics/components/topic-trace-details-panel.es.js +1 -1
- package/dist/ee/topics/components/topic-trace-summary-list.cjs.js +3 -3
- package/dist/ee/topics/components/topic-trace-summary-list.es.js +3 -3
- package/dist/field-block-CygzGxNe.cjs +87 -0
- package/dist/field-block-CygzGxNe.cjs.map +1 -0
- package/dist/field-block-DtG78nn_.js +85 -0
- package/dist/field-block-DtG78nn_.js.map +1 -0
- package/dist/filter-bar-chip-BJOyhaA2.js +838 -0
- package/dist/filter-bar-chip-BJOyhaA2.js.map +1 -0
- package/dist/filter-bar-chip-CR_L2kMF.cjs +853 -0
- package/dist/filter-bar-chip-CR_L2kMF.cjs.map +1 -0
- package/dist/hooks/use-copy-to-clipboard.cjs.js +1 -1
- package/dist/hooks/use-copy-to-clipboard.es.js +1 -1
- package/dist/hooks/use-local-storage-state.cjs.js +49 -0
- package/dist/hooks/use-local-storage-state.cjs.js.map +1 -1
- package/dist/hooks/use-local-storage-state.es.js +50 -2
- package/dist/hooks/use-local-storage-state.es.js.map +1 -1
- package/dist/horizontal-bars-DIPivfLF.js +139 -0
- package/dist/horizontal-bars-DIPivfLF.js.map +1 -0
- package/dist/horizontal-bars-OAOC9rdk.cjs +141 -0
- package/dist/horizontal-bars-OAOC9rdk.cjs.map +1 -0
- package/dist/hover-card-CM9fAKvc.js +68 -0
- package/dist/hover-card-CM9fAKvc.js.map +1 -0
- package/dist/hover-card-Cc3NmZ4K.cjs +91 -0
- package/dist/hover-card-Cc3NmZ4K.cjs.map +1 -0
- package/dist/icons/Icon.cjs.js +1 -1
- package/dist/icons/Icon.es.js +1 -1
- package/dist/index-BXfwV6wk.js +45 -0
- package/dist/index-BXfwV6wk.js.map +1 -0
- package/dist/index-Bk0d-AeX.cjs +47 -0
- package/dist/index-Bk0d-AeX.cjs.map +1 -0
- package/dist/input-BCrGOM5G.cjs +85 -0
- package/dist/input-BCrGOM5G.cjs.map +1 -0
- package/dist/input-DtmX7xH7.js +64 -0
- package/dist/input-DtmX7xH7.js.map +1 -0
- package/dist/input-group-BU0Y5c26.cjs +242 -0
- package/dist/input-group-BU0Y5c26.cjs.map +1 -0
- package/dist/input-group-DoaB_TKp.js +216 -0
- package/dist/input-group-DoaB_TKp.js.map +1 -0
- package/dist/kbd-D5WtLU30.cjs +34 -0
- package/dist/kbd-D5WtLU30.cjs.map +1 -0
- package/dist/kbd-DB7Dmf_Y.js +32 -0
- package/dist/kbd-DB7Dmf_Y.js.map +1 -0
- package/dist/label-BBPnGszd.js +13 -0
- package/dist/label-BBPnGszd.js.map +1 -0
- package/dist/label-DzQOqIjw.cjs +34 -0
- package/dist/label-DzQOqIjw.cjs.map +1 -0
- package/dist/layout/tabbed-container.cjs.js +8 -8
- package/dist/layout/tabbed-container.es.js +8 -8
- package/dist/list-search-BnVN4tCC.cjs +73 -0
- package/dist/list-search-BnVN4tCC.cjs.map +1 -0
- package/dist/list-search-DQoVumEX.js +71 -0
- package/dist/list-search-DQoVumEX.js.map +1 -0
- package/dist/logs-data-list-Bd2_UAY0.js +79 -0
- package/dist/logs-data-list-Bd2_UAY0.js.map +1 -0
- package/dist/logs-data-list-DsYct8cw.cjs +81 -0
- package/dist/logs-data-list-DsYct8cw.cjs.map +1 -0
- package/dist/main-sidebar-CbjWru0s.js +830 -0
- package/dist/main-sidebar-CbjWru0s.js.map +1 -0
- package/dist/main-sidebar-Dff0E73N.cjs +848 -0
- package/dist/main-sidebar-Dff0E73N.cjs.map +1 -0
- package/dist/markdown-renderer-BSdZmxVF.js +408 -0
- package/dist/markdown-renderer-BSdZmxVF.js.map +1 -0
- package/dist/markdown-renderer-Dmz44_t7.cjs +410 -0
- package/dist/markdown-renderer-Dmz44_t7.cjs.map +1 -0
- package/dist/message-BUXs9JiZ.js +62 -0
- package/dist/message-BUXs9JiZ.js.map +1 -0
- package/dist/message-C5ND0pCv.cjs +66 -0
- package/dist/message-C5ND0pCv.cjs.map +1 -0
- package/dist/message-scroller-BVPLQUbE.cjs +857 -0
- package/dist/message-scroller-BVPLQUbE.cjs.map +1 -0
- package/dist/message-scroller-D9amU0Yo.js +831 -0
- package/dist/message-scroller-D9amU0Yo.js.map +1 -0
- package/dist/metrics-card-DBUsAdmf.js +93 -0
- package/dist/metrics-card-DBUsAdmf.js.map +1 -0
- package/dist/metrics-card-DpofvZg6.cjs +95 -0
- package/dist/metrics-card-DpofvZg6.cjs.map +1 -0
- package/dist/metrics-kpi-card-BPrFp1TR.cjs +79 -0
- package/dist/metrics-kpi-card-BPrFp1TR.cjs.map +1 -0
- package/dist/metrics-kpi-card-pmhPUTXh.js +77 -0
- package/dist/metrics-kpi-card-pmhPUTXh.js.map +1 -0
- package/dist/new/layout/app-shell.cjs.js +2 -12
- package/dist/new/layout/app-shell.cjs.js.map +1 -1
- package/dist/new/layout/app-shell.es.js +2 -12
- package/dist/new/layout/app-shell.es.js.map +1 -1
- package/dist/new/layout/page-header.cjs.js +1 -1
- package/dist/new/layout/page-header.es.js +1 -1
- package/dist/new/settings.cjs.js +5 -5
- package/dist/new/settings.es.js +5 -5
- package/dist/new/sidebar.cjs.js +460 -0
- package/dist/new/sidebar.cjs.js.map +1 -0
- package/dist/new/sidebar.d.ts +2 -0
- package/dist/new/sidebar.es.js +443 -0
- package/dist/new/sidebar.es.js.map +1 -0
- package/dist/no-data-page-layout-CvHNrd5V.cjs +104 -0
- package/dist/no-data-page-layout-CvHNrd5V.cjs.map +1 -0
- package/dist/no-data-page-layout-DrvRnmH_.js +101 -0
- package/dist/no-data-page-layout-DrvRnmH_.js.map +1 -0
- package/dist/page-header-AH0Kk_7X.cjs +125 -0
- package/dist/page-header-AH0Kk_7X.cjs.map +1 -0
- package/dist/page-header-CyhgAInp.js +123 -0
- package/dist/page-header-CyhgAInp.js.map +1 -0
- package/dist/popover-DJ0zMfQ2.js +97 -0
- package/dist/popover-DJ0zMfQ2.js.map +1 -0
- package/dist/popover-DUVKoksf.cjs +121 -0
- package/dist/popover-DUVKoksf.cjs.map +1 -0
- package/dist/primitives/menu-item.cjs.js +2 -2
- package/dist/primitives/menu-item.es.js +2 -2
- package/dist/primitives/resize-handle-indicator.cjs.js +2 -2
- package/dist/primitives/resize-handle-indicator.es.js +2 -2
- package/dist/primitives/trigger-button.cjs.js +2 -2
- package/dist/primitives/trigger-button.es.js +2 -2
- package/dist/property-filter-applied-DAb2fYrC.cjs +348 -0
- package/dist/property-filter-applied-DAb2fYrC.cjs.map +1 -0
- package/dist/property-filter-applied-JrhwHYy8.js +344 -0
- package/dist/property-filter-applied-JrhwHYy8.js.map +1 -0
- package/dist/resize/collapsible-panel.cjs.js +3 -3
- package/dist/resize/collapsible-panel.es.js +3 -3
- package/dist/resize/panel-drawer.cjs.js +2 -2
- package/dist/resize/panel-drawer.es.js +2 -2
- package/dist/resize/panel-group.cjs.js +1 -1
- package/dist/resize/panel-group.es.js +1 -1
- package/dist/resize/panel-icon-button.cjs.js +1 -1
- package/dist/resize/panel-icon-button.es.js +1 -1
- package/dist/resize/separator.cjs.js +5 -3
- package/dist/resize/separator.cjs.js.map +1 -1
- package/dist/resize/separator.es.js +5 -3
- package/dist/resize/separator.es.js.map +1 -1
- package/dist/sankey-chart-C-H3aTGD.cjs +926 -0
- package/dist/sankey-chart-C-H3aTGD.cjs.map +1 -0
- package/dist/sankey-chart-Cy2eAal0.js +916 -0
- package/dist/sankey-chart-Cy2eAal0.js.map +1 -0
- package/dist/scroll-area-CVqPmOtx.cjs +245 -0
- package/dist/scroll-area-CVqPmOtx.cjs.map +1 -0
- package/dist/scroll-area-DmygE5DR.js +223 -0
- package/dist/scroll-area-DmygE5DR.js.map +1 -0
- package/dist/search-field-block-BC_iZ1gM.js +119 -0
- package/dist/search-field-block-BC_iZ1gM.js.map +1 -0
- package/dist/search-field-block-DOVzCqW2.cjs +121 -0
- package/dist/search-field-block-DOVzCqW2.cjs.map +1 -0
- package/dist/section-CqNErNly.js +111 -0
- package/dist/section-CqNErNly.js.map +1 -0
- package/dist/section-DIpI_2jD.cjs +115 -0
- package/dist/section-DIpI_2jD.cjs.map +1 -0
- package/dist/select-BX-NDhBK.js +133 -0
- package/dist/select-BX-NDhBK.js.map +1 -0
- package/dist/select-DIOGGfVZ.cjs +159 -0
- package/dist/select-DIOGGfVZ.cjs.map +1 -0
- package/dist/select-field-block-B-6QQC7t.js +48 -0
- package/dist/select-field-block-B-6QQC7t.js.map +1 -0
- package/dist/select-field-block-DAf3Soge.cjs +50 -0
- package/dist/select-field-block-DAf3Soge.cjs.map +1 -0
- package/dist/settings-container-B61AM2uQ.cjs +29 -0
- package/dist/settings-container-B61AM2uQ.cjs.map +1 -0
- package/dist/settings-container-XeohBaUd.js +26 -0
- package/dist/settings-container-XeohBaUd.js.map +1 -0
- package/dist/settings-layout-0LmqNUIq.js +55 -0
- package/dist/settings-layout-0LmqNUIq.js.map +1 -0
- package/dist/settings-layout-e0UQtxvw.cjs +57 -0
- package/dist/settings-layout-e0UQtxvw.cjs.map +1 -0
- package/dist/settings-row-BjlCkP3o.cjs +92 -0
- package/dist/settings-row-BjlCkP3o.cjs.map +1 -0
- package/dist/settings-row-CxdGvdwb.js +89 -0
- package/dist/settings-row-CxdGvdwb.js.map +1 -0
- package/dist/shimmer-R2LMMF5x.js +23 -0
- package/dist/shimmer-R2LMMF5x.js.map +1 -0
- package/dist/shimmer-erjPu8YL.cjs +25 -0
- package/dist/shimmer-erjPu8YL.cjs.map +1 -0
- package/dist/skeleton-B3O2CoYQ.cjs +25 -0
- package/dist/skeleton-B3O2CoYQ.cjs.map +1 -0
- package/dist/skeleton-D-kHfsjd.js +23 -0
- package/dist/skeleton-D-kHfsjd.js.map +1 -0
- package/dist/slider-CP5EfpIm.js +95 -0
- package/dist/slider-CP5EfpIm.js.map +1 -0
- package/dist/slider-CTJiezAe.cjs +97 -0
- package/dist/slider-CTJiezAe.cjs.map +1 -0
- package/dist/spacings-2GNiO8Oq.js +171 -0
- package/dist/spacings-2GNiO8Oq.js.map +1 -0
- package/dist/spacings-DJ7CTlfI.cjs +179 -0
- package/dist/spacings-DJ7CTlfI.cjs.map +1 -0
- package/dist/span-payload-primitives-Bc21pM0m.cjs +75 -0
- package/dist/span-payload-primitives-Bc21pM0m.cjs.map +1 -0
- package/dist/span-payload-primitives-DXg3l6FW.js +68 -0
- package/dist/span-payload-primitives-DXg3l6FW.js.map +1 -0
- package/dist/spinner-DcDI1lhS.cjs +53 -0
- package/dist/spinner-DcDI1lhS.cjs.map +1 -0
- package/dist/spinner-RdQ_iJAG.js +51 -0
- package/dist/spinner-RdQ_iJAG.js.map +1 -0
- package/dist/src/domains/chat/attachments/attachment-preview-dialog.d.ts +2 -10
- package/dist/src/domains/chat/attachments/composer-attachment-list.d.ts +3 -0
- package/dist/src/domains/chat/attachments/composer-attachment.d.ts +8 -0
- package/dist/src/domains/chat/messages/notification-signal-notice-variant.d.ts +1 -2
- package/dist/src/domains/chat/messages/reasoning-content.d.ts +3 -0
- package/dist/src/domains/chat/messages/reasoning-streaming-line.d.ts +0 -5
- package/dist/src/domains/chat/messages/reasoning.d.ts +2 -1
- package/dist/src/domains/chat/messages/renderers/assistant-text-part-renderer.d.ts +1 -1
- package/dist/src/domains/chat/messages/renderers/data-part-renderer.d.ts +1 -1
- package/dist/src/domains/chat/messages/renderers/in-message-attachment.d.ts +0 -5
- package/dist/src/domains/chat/messages/renderers/reasoning-part-renderer.d.ts +2 -14
- package/dist/src/domains/chat/messages/renderers/status-renderers.d.ts +1 -1
- package/dist/src/domains/chat/messages/renderers/tool-part.d.ts +3 -1
- package/dist/src/domains/chat/messages/renderers/user-file-part-renderer.d.ts +1 -8
- package/dist/src/domains/chat/messages/renderers/user-text-part-renderer.d.ts +1 -1
- package/dist/src/domains/chat/stories/attachments.stories.d.ts +1 -0
- package/dist/src/domains/chat/stories/composer-attachments.stories.d.ts +18 -0
- package/dist/src/domains/chat/stories/reasoning.stories.d.ts +2 -1
- package/dist/src/domains/chat/tools/tool-groups.d.ts +1 -1
- package/dist/src/domains/logs/hooks/use-logs.d.ts +2 -1
- package/dist/src/domains/logs/log-filters.d.ts +2 -1
- package/dist/src/domains/metrics/hooks/use-active-resources-kpi-metrics.d.ts +6 -6
- package/dist/src/domains/metrics/hooks/use-active-threads-kpi-metrics.d.ts +6 -6
- package/dist/src/domains/metrics/hooks/use-agent-runs-kpi-metrics.d.ts +6 -6
- package/dist/src/domains/traces/components/index.d.ts +2 -5
- package/dist/src/domains/traces/components/span-data-panel-view.d.ts +1 -1
- package/dist/src/domains/traces/components/span-details-view.d.ts +1 -1
- package/dist/src/domains/traces/components/span-payload/index.d.ts +7 -0
- package/dist/src/domains/traces/components/span-payload/span-error-renderer.d.ts +7 -0
- package/dist/src/domains/traces/components/span-payload/span-input-renderers.d.ts +6 -0
- package/dist/src/domains/traces/components/span-payload/span-output-renderers.d.ts +6 -0
- package/dist/src/domains/traces/components/span-payload/span-payload-attachment.d.ts +3 -0
- package/dist/src/domains/traces/components/span-payload/span-payload-json.d.ts +6 -0
- package/dist/src/domains/traces/components/span-payload/span-payload-messages.d.ts +6 -0
- package/dist/src/domains/traces/components/span-payload/span-payload-primitives.d.ts +22 -0
- package/dist/src/domains/traces/components/span-payload/span-payload-registry.d.ts +31 -0
- package/dist/src/domains/traces/components/span-payload/span-payload-section.d.ts +24 -0
- package/dist/src/domains/traces/components/span-payload/span-payload-tool.d.ts +4 -0
- package/dist/src/domains/traces/components/span-payload/span-payload.stories.d.ts +23 -0
- package/dist/src/domains/traces/components/span-rows.d.ts +0 -8
- package/dist/src/domains/traces/components/span-summary-description.d.ts +1 -2
- package/dist/src/domains/traces/components/span-timeline-row.d.ts +10 -0
- package/dist/src/domains/traces/components/span-tree-row.d.ts +5 -3
- package/dist/src/domains/traces/components/thread-trace/thread-trace-details.d.ts +2 -4
- package/dist/src/domains/traces/components/timeline-name-col.d.ts +6 -1
- package/dist/src/domains/traces/components/trace-data-panel-view.d.ts +12 -6
- package/dist/src/domains/traces/components/trace-details-view.d.ts +1 -1
- package/dist/src/domains/traces/components/trace-span-timeline.d.ts +6 -5
- package/dist/src/domains/traces/components/trace-span-tree.d.ts +2 -2
- package/dist/src/domains/traces/components/trace-summary-description.d.ts +1 -2
- package/dist/src/domains/traces/components/trace-time-range-chip.d.ts +17 -0
- package/dist/src/domains/traces/components/traces-list-view-adapter.d.ts +3 -0
- package/dist/src/domains/traces/hooks/index.d.ts +1 -0
- package/dist/src/domains/traces/hooks/use-span-detail.d.ts +4 -7
- package/dist/src/domains/traces/hooks/use-trace-query.d.ts +38 -0
- package/dist/src/domains/traces/hooks/use-trace-span-navigation.d.ts +1 -1
- package/dist/src/domains/traces/hooks/use-trace-spans.d.ts +188 -150
- package/dist/src/domains/traces/hooks/use-trace-url-state.d.ts +3 -0
- package/dist/src/domains/traces/hooks/use-traces.d.ts +7 -1
- package/dist/src/domains/traces/index.d.ts +1 -0
- package/dist/src/domains/traces/trace-filters.d.ts +22 -17
- package/dist/src/domains/traces/trace-query-filters.d.ts +6 -0
- package/dist/src/domains/traces/types.d.ts +6 -1
- package/dist/src/domains/traces/utils/filter-spans-keeping-ancestors.d.ts +1 -1
- package/dist/src/domains/traces/utils/span-utils.d.ts +1 -1
- package/dist/src/domains/traces/utils/to-searchable-spans.d.ts +4 -3
- package/dist/src/ds/components/Activity/activity.d.ts +10 -0
- package/dist/src/ds/components/Activity/activity.stories.d.ts +20 -0
- package/dist/src/ds/components/Activity/index.d.ts +1 -0
- package/dist/src/ds/components/Collapsible/collapsible.d.ts +2 -0
- package/dist/src/ds/components/Collapsible/collapsible.stories.d.ts +1 -0
- package/dist/src/ds/components/Composer/composer.d.ts +8 -7
- package/dist/src/ds/components/Composer/composer.stories.d.ts +7 -1
- package/dist/src/ds/components/Composer/index.d.ts +2 -2
- package/dist/src/ds/components/Composer/use-composer-pointer.d.ts +9 -0
- package/dist/src/ds/components/DataCodeSection/data-code-section.d.ts +3 -1
- package/dist/src/ds/components/DataDetailsPanel/data-details-panel-code-section.d.ts +3 -1
- package/dist/src/ds/components/DataPanel/data-panel-close-button.d.ts +3 -1
- package/dist/src/ds/components/DataPanel/data-panel-content.d.ts +3 -1
- package/dist/src/ds/components/DataPanel/data-panel-header-actions.d.ts +8 -0
- package/dist/src/ds/components/DataPanel/data-panel-header-content.d.ts +5 -0
- package/dist/src/ds/components/DataPanel/data-panel-metadata.d.ts +18 -0
- package/dist/src/ds/components/DataPanel/data-panel-next-prev-nav.d.ts +3 -1
- package/dist/src/ds/components/DataPanel/data-panel-root.d.ts +24 -2
- package/dist/src/ds/components/DataPanel/data-panel.d.ts +7 -0
- package/dist/src/ds/components/DataPanel/data-panel.stories.d.ts +4 -1
- package/dist/src/ds/components/DataPanel/index.d.ts +3 -0
- package/dist/src/ds/components/DateTimeRangePicker/date-time-range-picker.d.ts +15 -1
- package/dist/src/ds/components/FilterBar/default-operators.d.ts +3 -0
- package/dist/src/ds/components/FilterBar/filter-bar-chip.d.ts +35 -0
- package/dist/src/ds/components/FilterBar/filter-bar-clear.d.ts +4 -0
- package/dist/src/ds/components/FilterBar/filter-bar-context.d.ts +46 -0
- package/dist/src/ds/components/FilterBar/filter-bar-draft-chip.d.ts +11 -0
- package/dist/src/ds/components/FilterBar/filter-bar-input.d.ts +10 -0
- package/dist/src/ds/components/FilterBar/filter-bar-option-list.d.ts +17 -0
- package/dist/src/ds/components/FilterBar/filter-bar.d.ts +34 -0
- package/dist/src/ds/components/FilterBar/filter-bar.stories.d.ts +10 -0
- package/dist/src/ds/components/FilterBar/index.d.ts +8 -0
- package/dist/src/ds/components/FilterBar/match-query.d.ts +4 -0
- package/dist/src/ds/components/FilterBar/types.d.ts +59 -0
- package/dist/src/ds/components/FilterBar/use-value-step.d.ts +33 -0
- package/dist/src/ds/components/FilterBar/use-value-suggestions.d.ts +23 -0
- package/dist/src/ds/components/MainSidebar/main-sidebar-mobile-trigger.d.ts +0 -1
- package/dist/src/ds/components/MainSidebar/main-sidebar-nav-header.d.ts +0 -1
- package/dist/src/ds/components/MainSidebar/main-sidebar-nav-item-classes.d.ts +0 -11
- package/dist/src/ds/components/MainSidebar/main-sidebar-nav-link.d.ts +0 -6
- package/dist/src/ds/components/Message/index.d.ts +4 -0
- package/dist/src/ds/components/Message/message-copy-button.d.ts +3 -0
- package/dist/src/ds/components/Message/message-timestamp.d.ts +3 -0
- package/dist/src/ds/components/Message/message.d.ts +13 -0
- package/dist/src/ds/components/Message/message.stories.d.ts +10 -0
- package/dist/src/ds/components/PullRequestIcon/index.d.ts +2 -0
- package/dist/src/ds/components/PullRequestIcon/pull-request-icon.d.ts +25 -0
- package/dist/src/ds/components/PullRequestIcon/pull-request-icon.stories.d.ts +24 -0
- package/dist/src/ds/components/Slider/slider.d.ts +2 -2
- package/dist/src/ds/components/Slider/slider.stories.d.ts +1 -0
- package/dist/src/ds/components/StatusIndicators/index.d.ts +3 -0
- package/dist/src/ds/components/StatusIndicators/status-dot-styles.d.ts +11 -0
- package/dist/src/ds/components/StatusIndicators/status-dot.d.ts +8 -0
- package/dist/src/ds/components/StatusIndicators/status-dot.stories.d.ts +9 -0
- package/dist/src/ds/components/StatusIndicators/status.d.ts +7 -0
- package/dist/src/ds/components/StatusIndicators/status.stories.d.ts +7 -0
- package/dist/src/ds/components/Workflow/cards/condition/workflow-condition-card-view.d.ts +2 -0
- package/dist/src/ds/components/Workflow/cards/condition/workflow-condition-card.d.ts +3 -0
- package/dist/src/ds/components/Workflow/cards/condition/workflow-condition-expression.d.ts +2 -0
- package/dist/src/ds/components/Workflow/cards/condition/workflow-condition-source.d.ts +3 -0
- package/dist/src/ds/components/Workflow/cards/step/workflow-step-card-view.d.ts +2 -0
- package/dist/src/ds/components/Workflow/cards/timing/workflow-time-dial.d.ts +8 -0
- package/dist/src/ds/components/Workflow/cards/timing/workflow-timing.d.ts +2 -0
- package/dist/src/ds/components/Workflow/cards/workflow-card-badge-utils.d.ts +0 -1
- package/dist/src/ds/components/Workflow/cards/workflow-card-kind.d.ts +10 -0
- package/dist/src/ds/components/Workflow/cards/workflow-clock.d.ts +2 -1
- package/dist/src/ds/components/Workflow/cards/workflow-type-badge.d.ts +2 -0
- package/dist/src/ds/components/Workflow/controls/workflow-debug-controls.d.ts +5 -1
- package/dist/src/ds/components/Workflow/data/workflow-edge-data-button.d.ts +4 -1
- package/dist/src/ds/components/Workflow/graph/types.d.ts +1 -0
- package/dist/src/ds/components/Workflow/graph/workflow-camera-duration.d.ts +1 -0
- package/dist/src/ds/components/Workflow/graph/workflow-data-edge-view.d.ts +3 -1
- package/dist/src/ds/components/Workflow/graph/workflow-graph-canvas.d.ts +5 -2
- package/dist/src/ds/components/Workflow/graph/workflow-graph-groups.d.ts +11 -0
- package/dist/src/ds/components/Workflow/graph/zoom-slider.d.ts +4 -1
- package/dist/src/ds/components/Workflow/index.d.ts +5 -6
- package/dist/src/ds/components/Workflow/stories/graph/graph-example.d.ts +4 -2
- package/dist/src/ds/components/Workflow/stories/workflow-condition-card.stories.d.ts +4 -2
- package/dist/src/ds/components/Workflow/stories/workflow-controls.stories.d.ts +5 -0
- package/dist/src/ds/components/Workflow/stories/workflow-data.stories.d.ts +2 -1
- package/dist/src/ds/components/Workflow/stories/workflow-graph.stories.d.ts +4 -1
- package/dist/src/ds/components/Workflow/stories/workflow-step-card.stories.d.ts +7 -1
- package/dist/src/ds/components/Workflow/types.d.ts +5 -11
- package/dist/src/ds/components/Workflow/workflow-canvas-inset.d.ts +3 -0
- package/dist/src/ds/components/ai/chat-event/chat-event-preview.d.ts +1 -0
- package/dist/src/ds/components/ai/chat-event/chat-event.d.ts +14 -0
- package/dist/src/ds/components/ai/chat-event/chat-notification.d.ts +17 -0
- package/dist/src/ds/components/ai/chat-event/chat-signal.d.ts +9 -0
- package/dist/src/ds/components/ai/chat-event/chat-skill.d.ts +7 -0
- package/dist/src/ds/components/ai/chat-event/chat-time-gap.d.ts +3 -0
- package/dist/src/ds/components/ai/chat-event/index.d.ts +7 -0
- package/dist/src/ds/components/ai/chat-event/notification-variant.d.ts +2 -0
- package/dist/src/ds/components/ai/chat-event/stories/notification.stories.d.ts +59 -0
- package/dist/src/ds/components/ai/chat-event/stories/signal.stories.d.ts +46 -0
- package/dist/src/ds/components/ai/chat-event/stories/skill.stories.d.ts +29 -0
- package/dist/src/ds/components/ai/chat-event/stories/time-gap.stories.d.ts +16 -0
- package/dist/src/ds/components/ai/tool-approval/index.d.ts +2 -0
- package/dist/src/ds/components/ai/tool-approval/tool-approval-actions.stories.d.ts +44 -0
- package/dist/src/ds/components/ai/tool-approval/tool-approval.d.ts +15 -0
- package/dist/src/ds/components/ai/tool-approval/tool-approval.stories.d.ts +61 -0
- package/dist/src/ds/components/ai/tool-call/index.d.ts +3 -0
- package/dist/src/ds/components/ai/tool-call/tool-call-arguments.d.ts +8 -0
- package/dist/src/ds/components/ai/tool-call/tool-call-output.d.ts +7 -0
- package/dist/src/ds/components/ai/tool-call/tool-call-presentation.stories.d.ts +74 -0
- package/dist/src/ds/components/ai/tool-call/tool-call-time.d.ts +3 -0
- package/dist/src/ds/new/sidebar/index.d.ts +12 -0
- package/dist/src/ds/new/sidebar/sidebar-new-brand.d.ts +6 -0
- package/dist/src/ds/new/sidebar/sidebar-new-footer.d.ts +3 -0
- package/dist/src/ds/new/sidebar/sidebar-new-header.d.ts +3 -0
- package/dist/src/ds/new/sidebar/sidebar-new-meter.d.ts +24 -0
- package/dist/src/ds/new/sidebar/sidebar-new-nav-header.d.ts +11 -0
- package/dist/src/ds/new/sidebar/sidebar-new-nav-stack-context.d.ts +8 -0
- package/dist/src/ds/new/sidebar/sidebar-new-nav-stack-page-classes.d.ts +1 -0
- package/dist/src/ds/new/sidebar/sidebar-new-nav-stack-root-view.d.ts +3 -0
- package/dist/src/ds/new/sidebar/sidebar-new-nav-stack-root.d.ts +7 -0
- package/dist/src/ds/new/sidebar/sidebar-new-nav-stack-view.d.ts +9 -0
- package/dist/src/ds/new/sidebar/sidebar-new-nav-stack.d.ts +10 -0
- package/dist/src/ds/new/sidebar/sidebar-new-nav.d.ts +3 -0
- package/dist/src/ds/new/sidebar/sidebar-new-root.d.ts +5 -0
- package/dist/src/ds/new/sidebar/sidebar-new-section-link.d.ts +8 -0
- package/dist/src/ds/new/sidebar/sidebar-new-sections.d.ts +8 -0
- package/dist/src/ds/new/sidebar/sidebar-new-trigger.d.ts +3 -0
- package/dist/src/ds/new/sidebar/sidebar-new.d.ts +36 -0
- package/dist/src/ds/new/sidebar/sidebar-new.stories.d.ts +6 -0
- package/dist/src/ds/tokens/color-foundations.stories.d.ts +5 -0
- package/dist/src/ds/tokens/colors.d.ts +11 -0
- package/dist/src/ds/tokens/tokens.stories.d.ts +2 -0
- package/dist/src/ds/tokens/typography-foundations.stories.d.ts +5 -0
- package/dist/src/hooks/use-local-storage-state.d.ts +16 -0
- package/dist/src/lib/colors.d.ts +4 -0
- package/dist/src/lib/resize/separator.d.ts +3 -3
- package/dist/style.css +1158 -175
- package/dist/switch-BcnKroGU.js +103 -0
- package/dist/switch-BcnKroGU.js.map +1 -0
- package/dist/switch-Ceskil-p.cjs +124 -0
- package/dist/switch-Ceskil-p.cjs.map +1 -0
- package/dist/tabs-content-BlFddYrd.cjs +31 -0
- package/dist/tabs-content-BlFddYrd.cjs.map +1 -0
- package/dist/tabs-content-CmPMnkWh.js +29 -0
- package/dist/tabs-content-CmPMnkWh.js.map +1 -0
- package/dist/tabs-root-BQher6zA.js +324 -0
- package/dist/tabs-root-BQher6zA.js.map +1 -0
- package/dist/tabs-root-C9QBXz5M.cjs +327 -0
- package/dist/tabs-root-C9QBXz5M.cjs.map +1 -0
- package/dist/tabs-tab-Bm3yxYaU.cjs +99 -0
- package/dist/tabs-tab-Bm3yxYaU.cjs.map +1 -0
- package/dist/tabs-tab-s-H_a_rq.js +97 -0
- package/dist/tabs-tab-s-H_a_rq.js.map +1 -0
- package/dist/text-field-block-CaKbUpyB.cjs +51 -0
- package/dist/text-field-block-CaKbUpyB.cjs.map +1 -0
- package/dist/text-field-block-CpyiVrs2.js +49 -0
- package/dist/text-field-block-CpyiVrs2.js.map +1 -0
- package/dist/textarea-Bmwc25Lg.js +62 -0
- package/dist/textarea-Bmwc25Lg.js.map +1 -0
- package/dist/textarea-DT2CGgeh.cjs +83 -0
- package/dist/textarea-DT2CGgeh.cjs.map +1 -0
- package/dist/thread-rail-CK8UN7hw.cjs +334 -0
- package/dist/thread-rail-CK8UN7hw.cjs.map +1 -0
- package/dist/thread-rail-DanTArf6.js +313 -0
- package/dist/thread-rail-DanTArf6.js.map +1 -0
- package/dist/time-picker-BDo0bkc7.js +76 -0
- package/dist/time-picker-BDo0bkc7.js.map +1 -0
- package/dist/time-picker-Cut4FeGH.cjs +78 -0
- package/dist/time-picker-Cut4FeGH.cjs.map +1 -0
- package/dist/toast-BfIhbri4.js +52 -0
- package/dist/toast-BfIhbri4.js.map +1 -0
- package/dist/toast-DF-uDV6R.cjs +55 -0
- package/dist/toast-DF-uDV6R.cjs.map +1 -0
- package/dist/tokens.cjs.js +1 -1
- package/dist/tokens.es.js +1 -1
- package/dist/tool-approval-B_6bj-6N.cjs +69 -0
- package/dist/tool-approval-B_6bj-6N.cjs.map +1 -0
- package/dist/tool-approval-RUhKvh57.js +66 -0
- package/dist/tool-approval-RUhKvh57.js.map +1 -0
- package/dist/tool-call-B-OO_6DC.js +181 -0
- package/dist/tool-call-B-OO_6DC.js.map +1 -0
- package/dist/tool-call-DEtotEm0.cjs +196 -0
- package/dist/tool-call-DEtotEm0.cjs.map +1 -0
- package/dist/tooltip-D1PLTHDf.js +112 -0
- package/dist/tooltip-D1PLTHDf.js.map +1 -0
- package/dist/tooltip-D9ylrXmx.cjs +136 -0
- package/dist/tooltip-D9ylrXmx.cjs.map +1 -0
- package/dist/tooltip.css +31 -0
- package/dist/traces-data-list-B6WI6noa.cjs +86 -0
- package/dist/traces-data-list-B6WI6noa.cjs.map +1 -0
- package/dist/traces-data-list-DC2gtmyd.js +84 -0
- package/dist/traces-data-list-DC2gtmyd.js.map +1 -0
- package/dist/utils/cn.cjs.js +1 -1
- package/dist/utils/cn.es.js +1 -1
- package/dist/utils/colors.cjs.js +7 -0
- package/dist/utils/colors.cjs.js.map +1 -1
- package/dist/utils/colors.es.js +6 -1
- package/dist/utils/colors.es.js.map +1 -1
- package/dist/utils/toast.cjs.js +1 -1
- package/dist/utils/toast.es.js +1 -1
- package/new-theme.css +31 -0
- package/package.json +19 -11
- package/theme.css +53 -0
- package/dist/Badge-B-LKnrNk.cjs +0 -125
- package/dist/Badge-B-LKnrNk.cjs.map +0 -1
- package/dist/Badge-BqVBVHGc.js +0 -123
- package/dist/Badge-BqVBVHGc.js.map +0 -1
- package/dist/Button-BJOVwaxp.cjs +0 -137
- package/dist/Button-BJOVwaxp.cjs.map +0 -1
- package/dist/Button-BVGwYwHT.js +0 -133
- package/dist/Button-BVGwYwHT.js.map +0 -1
- package/dist/Card-DYmiv8Dx.js +0 -96
- package/dist/Card-DYmiv8Dx.js.map +0 -1
- package/dist/Card-DZjvLsN9.cjs +0 -123
- package/dist/Card-DZjvLsN9.cjs.map +0 -1
- package/dist/Composer.css +0 -102
- package/dist/EmptyState--bOUm8JU.cjs +0 -33
- package/dist/EmptyState--bOUm8JU.cjs.map +0 -1
- package/dist/EmptyState-CLoSRKxC.js +0 -31
- package/dist/EmptyState-CLoSRKxC.js.map +0 -1
- package/dist/Notice-CMZ86f1g.js +0 -89
- package/dist/Notice-CMZ86f1g.js.map +0 -1
- package/dist/Notice-D0Mvqvr0.cjs +0 -91
- package/dist/Notice-D0Mvqvr0.cjs.map +0 -1
- package/dist/PermissionDenied-BmAbJ1Xn.js +0 -22
- package/dist/PermissionDenied-BmAbJ1Xn.js.map +0 -1
- package/dist/PermissionDenied-Dge5a7OX.cjs +0 -24
- package/dist/PermissionDenied-Dge5a7OX.cjs.map +0 -1
- package/dist/SessionExpired-CAOgb-6E.cjs +0 -47
- package/dist/SessionExpired-CAOgb-6E.cjs.map +0 -1
- package/dist/SessionExpired-DSPFseGA.js +0 -45
- package/dist/SessionExpired-DSPFseGA.js.map +0 -1
- package/dist/Txt-CfPhlZOu.js +0 -28
- package/dist/Txt-CfPhlZOu.js.map +0 -1
- package/dist/Txt-i-sXSs2m.cjs +0 -30
- package/dist/Txt-i-sXSs2m.cjs.map +0 -1
- package/dist/arrival-Cf8ZO8cU.js +0 -19
- package/dist/arrival-Cf8ZO8cU.js.map +0 -1
- package/dist/arrival-Ck5yjMkc.cjs +0 -22
- package/dist/arrival-Ck5yjMkc.cjs.map +0 -1
- package/dist/ask-user-DQGe7ZTv.cjs +0 -146
- package/dist/ask-user-DQGe7ZTv.cjs.map +0 -1
- package/dist/ask-user-Dh9YowL4.js +0 -137
- package/dist/ask-user-Dh9YowL4.js.map +0 -1
- package/dist/buttons-group-CHyXDQBp.js +0 -162
- package/dist/buttons-group-CHyXDQBp.js.map +0 -1
- package/dist/buttons-group-jq7kUVlX.cjs +0 -186
- package/dist/buttons-group-jq7kUVlX.cjs.map +0 -1
- package/dist/checkbox-CC39oYEv.js +0 -88
- package/dist/checkbox-CC39oYEv.js.map +0 -1
- package/dist/checkbox-DWXCTy8y.cjs +0 -109
- package/dist/checkbox-DWXCTy8y.cjs.map +0 -1
- package/dist/cn-ByEbywDh.js +0 -3291
- package/dist/cn-ByEbywDh.js.map +0 -1
- package/dist/cn-DnbTIGXa.cjs +0 -3294
- package/dist/cn-DnbTIGXa.cjs.map +0 -1
- package/dist/code-block-BdzrmA-p.js +0 -86
- package/dist/code-block-BdzrmA-p.js.map +0 -1
- package/dist/code-block-D1RequlX.cjs +0 -88
- package/dist/code-block-D1RequlX.cjs.map +0 -1
- package/dist/code-editor-CopnXVKT.cjs +0 -486
- package/dist/code-editor-CopnXVKT.cjs.map +0 -1
- package/dist/code-editor-D7BftGSx.js +0 -478
- package/dist/code-editor-D7BftGSx.js.map +0 -1
- package/dist/collapsible-4eeo2ZU2.js +0 -57
- package/dist/collapsible-4eeo2ZU2.js.map +0 -1
- package/dist/collapsible-JOs0f0e1.cjs +0 -61
- package/dist/collapsible-JOs0f0e1.cjs.map +0 -1
- package/dist/combobox-DO__6QlF.cjs +0 -276
- package/dist/combobox-DO__6QlF.cjs.map +0 -1
- package/dist/combobox-Ua6bvpM8.js +0 -254
- package/dist/combobox-Ua6bvpM8.js.map +0 -1
- package/dist/command-CNKdcyyr.js +0 -168
- package/dist/command-CNKdcyyr.js.map +0 -1
- package/dist/command-Cva4qgS9.cjs +0 -197
- package/dist/command-Cva4qgS9.cjs.map +0 -1
- package/dist/copy-button-ChUCFd-x.js +0 -46
- package/dist/copy-button-ChUCFd-x.js.map +0 -1
- package/dist/copy-button-zLZfswrj.cjs +0 -48
- package/dist/copy-button-zLZfswrj.cjs.map +0 -1
- package/dist/dashboard-card-0kjXfhTF.cjs +0 -11
- package/dist/dashboard-card-0kjXfhTF.cjs.map +0 -1
- package/dist/dashboard-card-CDg79V_9.js +0 -9
- package/dist/dashboard-card-CDg79V_9.js.map +0 -1
- package/dist/data-code-section-BLvh46xK.cjs +0 -364
- package/dist/data-code-section-BLvh46xK.cjs.map +0 -1
- package/dist/data-code-section-DSelBhmP.js +0 -361
- package/dist/data-code-section-DSelBhmP.js.map +0 -1
- package/dist/data-keys-and-values-778xnwOK.js +0 -122
- package/dist/data-keys-and-values-778xnwOK.js.map +0 -1
- package/dist/data-keys-and-values-CUqVRfqS.cjs +0 -124
- package/dist/data-keys-and-values-CUqVRfqS.cjs.map +0 -1
- package/dist/data-list-4_cVlINT.cjs +0 -183
- package/dist/data-list-4_cVlINT.cjs.map +0 -1
- package/dist/data-list-Bm70XKg_.js +0 -179
- package/dist/data-list-Bm70XKg_.js.map +0 -1
- package/dist/data-list-skeleton-B7flrjdA.cjs +0 -38
- package/dist/data-list-skeleton-B7flrjdA.cjs.map +0 -1
- package/dist/data-list-skeleton-BJVs8rDE.js +0 -36
- package/dist/data-list-skeleton-BJVs8rDE.js.map +0 -1
- package/dist/data-list-top-BeUxfGy2.js +0 -481
- package/dist/data-list-top-BeUxfGy2.js.map +0 -1
- package/dist/data-list-top-D9zFnKEi.cjs +0 -510
- package/dist/data-list-top-D9zFnKEi.cjs.map +0 -1
- package/dist/data-panel-5iuux0r_.js +0 -89
- package/dist/data-panel-5iuux0r_.js.map +0 -1
- package/dist/data-panel-tSErqolu.cjs +0 -91
- package/dist/data-panel-tSErqolu.cjs.map +0 -1
- package/dist/date-picker-Cj8MwnUv.cjs +0 -50
- package/dist/date-picker-Cj8MwnUv.cjs.map +0 -1
- package/dist/date-picker-LbXedaEh.js +0 -48
- package/dist/date-picker-LbXedaEh.js.map +0 -1
- package/dist/date-time-range-picker-C0J7p78l.cjs +0 -167
- package/dist/date-time-range-picker-C0J7p78l.cjs.map +0 -1
- package/dist/date-time-range-picker-CcoU5-2_.js +0 -165
- package/dist/date-time-range-picker-CcoU5-2_.js.map +0 -1
- package/dist/dialog-B1DwyLJJ.cjs +0 -276
- package/dist/dialog-B1DwyLJJ.cjs.map +0 -1
- package/dist/dialog-Dfrt_JCJ.js +0 -242
- package/dist/dialog-Dfrt_JCJ.js.map +0 -1
- package/dist/domains/traces/components/span-duration-col.cjs.js +0 -25
- package/dist/domains/traces/components/span-duration-col.cjs.js.map +0 -1
- package/dist/domains/traces/components/span-duration-col.d.ts +0 -2
- package/dist/domains/traces/components/span-duration-col.es.js +0 -21
- package/dist/domains/traces/components/span-duration-col.es.js.map +0 -1
- package/dist/domains/traces/components/span-timeline-col.cjs.js +0 -48
- package/dist/domains/traces/components/span-timeline-col.cjs.js.map +0 -1
- package/dist/domains/traces/components/span-timeline-col.d.ts +0 -2
- package/dist/domains/traces/components/span-timeline-col.es.js +0 -44
- package/dist/domains/traces/components/span-timeline-col.es.js.map +0 -1
- package/dist/domains/traces/components/timeline-expand-col.cjs.js +0 -89
- package/dist/domains/traces/components/timeline-expand-col.cjs.js.map +0 -1
- package/dist/domains/traces/components/timeline-expand-col.d.ts +0 -2
- package/dist/domains/traces/components/timeline-expand-col.es.js +0 -85
- package/dist/domains/traces/components/timeline-expand-col.es.js.map +0 -1
- package/dist/domains/traces/components/traces-layout.cjs.js +0 -63
- package/dist/domains/traces/components/traces-layout.cjs.js.map +0 -1
- package/dist/domains/traces/components/traces-layout.d.ts +0 -2
- package/dist/domains/traces/components/traces-layout.es.js +0 -59
- package/dist/domains/traces/components/traces-layout.es.js.map +0 -1
- package/dist/domains/traces/components/traces-toolbar.cjs.js +0 -70
- package/dist/domains/traces/components/traces-toolbar.cjs.js.map +0 -1
- package/dist/domains/traces/components/traces-toolbar.d.ts +0 -2
- package/dist/domains/traces/components/traces-toolbar.es.js +0 -66
- package/dist/domains/traces/components/traces-toolbar.es.js.map +0 -1
- package/dist/drawer-Bq7j_MiM.cjs +0 -366
- package/dist/drawer-Bq7j_MiM.cjs.map +0 -1
- package/dist/drawer-D1m2faHU.js +0 -326
- package/dist/drawer-D1m2faHU.js.map +0 -1
- package/dist/dropdown-menu-Bfh5ROWe.cjs +0 -227
- package/dist/dropdown-menu-Bfh5ROWe.cjs.map +0 -1
- package/dist/dropdown-menu-C853KwJJ.js +0 -206
- package/dist/dropdown-menu-C853KwJJ.js.map +0 -1
- package/dist/field-block-CVOfRWvX.js +0 -85
- package/dist/field-block-CVOfRWvX.js.map +0 -1
- package/dist/field-block-DosykAiQ.cjs +0 -87
- package/dist/field-block-DosykAiQ.cjs.map +0 -1
- package/dist/horizontal-bars--Czy2stS.cjs +0 -141
- package/dist/horizontal-bars--Czy2stS.cjs.map +0 -1
- package/dist/horizontal-bars-_vgi09Md.js +0 -139
- package/dist/horizontal-bars-_vgi09Md.js.map +0 -1
- package/dist/hover-card-B5zQKp9k.js +0 -68
- package/dist/hover-card-B5zQKp9k.js.map +0 -1
- package/dist/hover-card-B_Wz_e0F.cjs +0 -91
- package/dist/hover-card-B_Wz_e0F.cjs.map +0 -1
- package/dist/index-BxcigDwC.cjs +0 -47
- package/dist/index-BxcigDwC.cjs.map +0 -1
- package/dist/index-CZvpHqka.js +0 -45
- package/dist/index-CZvpHqka.js.map +0 -1
- package/dist/input-D3SUXvgI.cjs +0 -85
- package/dist/input-D3SUXvgI.cjs.map +0 -1
- package/dist/input-DinpgQXj.js +0 -64
- package/dist/input-DinpgQXj.js.map +0 -1
- package/dist/input-group-CBuqhxnJ.cjs +0 -242
- package/dist/input-group-CBuqhxnJ.cjs.map +0 -1
- package/dist/input-group-Dv1YsFDZ.js +0 -216
- package/dist/input-group-Dv1YsFDZ.js.map +0 -1
- package/dist/kbd-BaoBQUlL.cjs +0 -34
- package/dist/kbd-BaoBQUlL.cjs.map +0 -1
- package/dist/kbd-Bod0H0VQ.js +0 -32
- package/dist/kbd-Bod0H0VQ.js.map +0 -1
- package/dist/label-BICQQTjz.cjs +0 -34
- package/dist/label-BICQQTjz.cjs.map +0 -1
- package/dist/label-BKfZzqfr.js +0 -13
- package/dist/label-BKfZzqfr.js.map +0 -1
- package/dist/list-search-BwcO9d9M.cjs +0 -73
- package/dist/list-search-BwcO9d9M.cjs.map +0 -1
- package/dist/list-search-C8FBcDpo.js +0 -71
- package/dist/list-search-C8FBcDpo.js.map +0 -1
- package/dist/logs-data-list-B0hzHq0b.cjs +0 -81
- package/dist/logs-data-list-B0hzHq0b.cjs.map +0 -1
- package/dist/logs-data-list-CWu83qI7.js +0 -79
- package/dist/logs-data-list-CWu83qI7.js.map +0 -1
- package/dist/markdown-renderer-Dp1fJwUB.js +0 -408
- package/dist/markdown-renderer-Dp1fJwUB.js.map +0 -1
- package/dist/markdown-renderer-hBiN_N_-.cjs +0 -410
- package/dist/markdown-renderer-hBiN_N_-.cjs.map +0 -1
- package/dist/message-scroller-A5mO14YC.cjs +0 -857
- package/dist/message-scroller-A5mO14YC.cjs.map +0 -1
- package/dist/message-scroller-JeImISU5.js +0 -831
- package/dist/message-scroller-JeImISU5.js.map +0 -1
- package/dist/metrics-card-DJC-d549.cjs +0 -95
- package/dist/metrics-card-DJC-d549.cjs.map +0 -1
- package/dist/metrics-card-kreeaS1o.js +0 -93
- package/dist/metrics-card-kreeaS1o.js.map +0 -1
- package/dist/metrics-kpi-card-CgB7izeJ.cjs +0 -79
- package/dist/metrics-kpi-card-CgB7izeJ.cjs.map +0 -1
- package/dist/metrics-kpi-card-D5s2a9Xh.js +0 -77
- package/dist/metrics-kpi-card-D5s2a9Xh.js.map +0 -1
- package/dist/no-data-page-layout-BHmXbQix.js +0 -101
- package/dist/no-data-page-layout-BHmXbQix.js.map +0 -1
- package/dist/no-data-page-layout-BrqtWTU9.cjs +0 -104
- package/dist/no-data-page-layout-BrqtWTU9.cjs.map +0 -1
- package/dist/page-header-CGRV1f_f.js +0 -123
- package/dist/page-header-CGRV1f_f.js.map +0 -1
- package/dist/page-header-CTdBcOWK.cjs +0 -125
- package/dist/page-header-CTdBcOWK.cjs.map +0 -1
- package/dist/popover-DL_Vqxfp.cjs +0 -121
- package/dist/popover-DL_Vqxfp.cjs.map +0 -1
- package/dist/popover-L2o0kHi2.js +0 -97
- package/dist/popover-L2o0kHi2.js.map +0 -1
- package/dist/property-filter-applied-CF-InSu-.js +0 -344
- package/dist/property-filter-applied-CF-InSu-.js.map +0 -1
- package/dist/property-filter-applied-D35zWa7S.cjs +0 -348
- package/dist/property-filter-applied-D35zWa7S.cjs.map +0 -1
- package/dist/sankey-chart-D4lfGeI-.js +0 -916
- package/dist/sankey-chart-D4lfGeI-.js.map +0 -1
- package/dist/sankey-chart-ZfcUvZFu.cjs +0 -926
- package/dist/sankey-chart-ZfcUvZFu.cjs.map +0 -1
- package/dist/scroll-area-B0L1nYJS.js +0 -223
- package/dist/scroll-area-B0L1nYJS.js.map +0 -1
- package/dist/scroll-area-DK4w_mMg.cjs +0 -245
- package/dist/scroll-area-DK4w_mMg.cjs.map +0 -1
- package/dist/search-field-block-DhgD7NhZ.js +0 -119
- package/dist/search-field-block-DhgD7NhZ.js.map +0 -1
- package/dist/search-field-block-DnJYUEGi.cjs +0 -121
- package/dist/search-field-block-DnJYUEGi.cjs.map +0 -1
- package/dist/section-9jESC1la.js +0 -111
- package/dist/section-9jESC1la.js.map +0 -1
- package/dist/section-C_yrhQFt.cjs +0 -115
- package/dist/section-C_yrhQFt.cjs.map +0 -1
- package/dist/select-3GcRJGtd.js +0 -133
- package/dist/select-3GcRJGtd.js.map +0 -1
- package/dist/select-4dVGVp0V.cjs +0 -159
- package/dist/select-4dVGVp0V.cjs.map +0 -1
- package/dist/select-field-block-BEyjBDiB.js +0 -48
- package/dist/select-field-block-BEyjBDiB.js.map +0 -1
- package/dist/select-field-block-By8NfJoe.cjs +0 -50
- package/dist/select-field-block-By8NfJoe.cjs.map +0 -1
- package/dist/settings-container-C3d4Y528.js +0 -26
- package/dist/settings-container-C3d4Y528.js.map +0 -1
- package/dist/settings-container-aSJeNRdZ.cjs +0 -29
- package/dist/settings-container-aSJeNRdZ.cjs.map +0 -1
- package/dist/settings-layout-BjjVaZgN.cjs +0 -57
- package/dist/settings-layout-BjjVaZgN.cjs.map +0 -1
- package/dist/settings-layout-DlXTuCQ7.js +0 -55
- package/dist/settings-layout-DlXTuCQ7.js.map +0 -1
- package/dist/settings-row-BKz6r927.cjs +0 -92
- package/dist/settings-row-BKz6r927.cjs.map +0 -1
- package/dist/settings-row-T98nqxPD.js +0 -89
- package/dist/settings-row-T98nqxPD.js.map +0 -1
- package/dist/shimmer-Bt9INFuE.js +0 -23
- package/dist/shimmer-Bt9INFuE.js.map +0 -1
- package/dist/shimmer-GOCqjnzu.cjs +0 -25
- package/dist/shimmer-GOCqjnzu.cjs.map +0 -1
- package/dist/skeleton-DYq_5Fad.cjs +0 -25
- package/dist/skeleton-DYq_5Fad.cjs.map +0 -1
- package/dist/skeleton-KJCC29GI.js +0 -23
- package/dist/skeleton-KJCC29GI.js.map +0 -1
- package/dist/slider-AfRJ3a4W.js +0 -88
- package/dist/slider-AfRJ3a4W.js.map +0 -1
- package/dist/slider-BXYQmaQy.cjs +0 -90
- package/dist/slider-BXYQmaQy.cjs.map +0 -1
- package/dist/spacings-DQxytUI3.js +0 -162
- package/dist/spacings-DQxytUI3.js.map +0 -1
- package/dist/spacings-VmI3HJoY.cjs +0 -170
- package/dist/spacings-VmI3HJoY.cjs.map +0 -1
- package/dist/spinner-Bj7FQzLQ.cjs +0 -53
- package/dist/spinner-Bj7FQzLQ.cjs.map +0 -1
- package/dist/spinner-CUkNhTKC.js +0 -51
- package/dist/spinner-CUkNhTKC.js.map +0 -1
- package/dist/src/domains/traces/components/span-duration-col.d.ts +0 -9
- package/dist/src/domains/traces/components/span-timeline-col.d.ts +0 -6
- package/dist/src/domains/traces/components/timeline-expand-col.d.ts +0 -18
- package/dist/src/domains/traces/components/traces-layout.d.ts +0 -30
- package/dist/src/domains/traces/components/traces-toolbar.d.ts +0 -19
- package/dist/src/ds/components/Composer/use-composer-pointer-angle.d.ts +0 -2
- package/dist/src/ds/components/Workflow/cards/workflow-card-badges.d.ts +0 -6
- package/dist/src/ds/components/Workflow/cards/workflow-card-status-icon.d.ts +0 -6
- package/dist/src/ds/components/Workflow/cards/workflow-condition-card-view.d.ts +0 -2
- package/dist/src/ds/components/Workflow/cards/workflow-condition-card.d.ts +0 -5
- package/dist/src/ds/components/Workflow/cards/workflow-condition-code.d.ts +0 -12
- package/dist/src/ds/components/Workflow/cards/workflow-step-card-view.d.ts +0 -2
- package/dist/switch-A-j7GDcX.js +0 -103
- package/dist/switch-A-j7GDcX.js.map +0 -1
- package/dist/switch-BROLIeGF.cjs +0 -124
- package/dist/switch-BROLIeGF.cjs.map +0 -1
- package/dist/tabs-content-CV7YrtD1.cjs +0 -31
- package/dist/tabs-content-CV7YrtD1.cjs.map +0 -1
- package/dist/tabs-content-CW6RtAEV.js +0 -29
- package/dist/tabs-content-CW6RtAEV.js.map +0 -1
- package/dist/tabs-root-BAy8m6GO.js +0 -324
- package/dist/tabs-root-BAy8m6GO.js.map +0 -1
- package/dist/tabs-root-Dw7gHsnZ.cjs +0 -327
- package/dist/tabs-root-Dw7gHsnZ.cjs.map +0 -1
- package/dist/tabs-tab-CP-kzlvB.cjs +0 -99
- package/dist/tabs-tab-CP-kzlvB.cjs.map +0 -1
- package/dist/tabs-tab-K5mQhs7r.js +0 -97
- package/dist/tabs-tab-K5mQhs7r.js.map +0 -1
- package/dist/text-field-block-CUN9gL4j.js +0 -49
- package/dist/text-field-block-CUN9gL4j.js.map +0 -1
- package/dist/text-field-block-WuwrSNEX.cjs +0 -51
- package/dist/text-field-block-WuwrSNEX.cjs.map +0 -1
- package/dist/textarea-BCVPeJzr.js +0 -62
- package/dist/textarea-BCVPeJzr.js.map +0 -1
- package/dist/textarea-D9XsLoN5.cjs +0 -83
- package/dist/textarea-D9XsLoN5.cjs.map +0 -1
- package/dist/thread-rail-lebYetuv.cjs +0 -334
- package/dist/thread-rail-lebYetuv.cjs.map +0 -1
- package/dist/thread-rail-o19IAzcJ.js +0 -313
- package/dist/thread-rail-o19IAzcJ.js.map +0 -1
- package/dist/time-picker-BKpmCbXS.cjs +0 -78
- package/dist/time-picker-BKpmCbXS.cjs.map +0 -1
- package/dist/time-picker-SgrQvt0V.js +0 -76
- package/dist/time-picker-SgrQvt0V.js.map +0 -1
- package/dist/toast-FypW736q.cjs +0 -55
- package/dist/toast-FypW736q.cjs.map +0 -1
- package/dist/toast-Xv8jgrMR.js +0 -52
- package/dist/toast-Xv8jgrMR.js.map +0 -1
- package/dist/tool-call-BlKbOYRH.js +0 -181
- package/dist/tool-call-BlKbOYRH.js.map +0 -1
- package/dist/tool-call-DVh_yWov.cjs +0 -196
- package/dist/tool-call-DVh_yWov.cjs.map +0 -1
- package/dist/tooltip-BsSNtmxl.cjs +0 -136
- package/dist/tooltip-BsSNtmxl.cjs.map +0 -1
- package/dist/tooltip-Vj_jjcxE.js +0 -112
- package/dist/tooltip-Vj_jjcxE.js.map +0 -1
- package/dist/traces-data-list-0WfYCKdc.cjs +0 -86
- package/dist/traces-data-list-0WfYCKdc.cjs.map +0 -1
- package/dist/traces-data-list-BOiAOwYM.js +0 -84
- package/dist/traces-data-list-BOiAOwYM.js.map +0 -1
|
@@ -0,0 +1,3291 @@
|
|
|
1
|
+
import { B as BorderColors, C as Colors, S as Shadows, G as Glows, b as Sizes, a as BorderRadius, c as Spacings } from './spacings-2GNiO8Oq.js';
|
|
2
|
+
import { F as FontSizes, L as LineHeights } from './fonts-BD38FYaQ.js';
|
|
3
|
+
|
|
4
|
+
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Concatenates two arrays faster than the array spread operator.
|
|
8
|
+
*/
|
|
9
|
+
const concatArrays = (array1, array2) => {
|
|
10
|
+
// Pre-allocate for better V8 optimization
|
|
11
|
+
const combinedArray = new Array(array1.length + array2.length);
|
|
12
|
+
for (let i = 0; i < array1.length; i++) {
|
|
13
|
+
combinedArray[i] = array1[i];
|
|
14
|
+
}
|
|
15
|
+
for (let i = 0; i < array2.length; i++) {
|
|
16
|
+
combinedArray[array1.length + i] = array2[i];
|
|
17
|
+
}
|
|
18
|
+
return combinedArray;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
// Factory function ensures consistent object shapes
|
|
22
|
+
const createClassValidatorObject = (classGroupId, validator) => ({
|
|
23
|
+
classGroupId,
|
|
24
|
+
validator
|
|
25
|
+
});
|
|
26
|
+
// Factory ensures consistent ClassPartObject shape
|
|
27
|
+
const createClassPartObject = (nextPart = new Map(), validators = null, classGroupId) => ({
|
|
28
|
+
nextPart,
|
|
29
|
+
validators,
|
|
30
|
+
classGroupId
|
|
31
|
+
});
|
|
32
|
+
const CLASS_PART_SEPARATOR = '-';
|
|
33
|
+
const EMPTY_CONFLICTS = [];
|
|
34
|
+
// I use two dots here because one dot is used as prefix for class groups in plugins
|
|
35
|
+
const ARBITRARY_PROPERTY_PREFIX = 'arbitrary..';
|
|
36
|
+
const createClassGroupUtils = config => {
|
|
37
|
+
const classMap = createClassMap(config);
|
|
38
|
+
const {
|
|
39
|
+
conflictingClassGroups,
|
|
40
|
+
conflictingClassGroupModifiers
|
|
41
|
+
} = config;
|
|
42
|
+
const getClassGroupId = className => {
|
|
43
|
+
if (className.startsWith('[') && className.endsWith(']')) {
|
|
44
|
+
return getGroupIdForArbitraryProperty(className);
|
|
45
|
+
}
|
|
46
|
+
const classParts = className.split(CLASS_PART_SEPARATOR);
|
|
47
|
+
// Classes like `-inset-1` produce an empty string as first classPart. We assume that classes for negative values are used correctly and skip it.
|
|
48
|
+
const startIndex = classParts[0] === '' && classParts.length > 1 ? 1 : 0;
|
|
49
|
+
return getGroupRecursive(classParts, startIndex, classMap);
|
|
50
|
+
};
|
|
51
|
+
const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
|
|
52
|
+
if (hasPostfixModifier) {
|
|
53
|
+
const modifierConflicts = conflictingClassGroupModifiers[classGroupId];
|
|
54
|
+
const baseConflicts = conflictingClassGroups[classGroupId];
|
|
55
|
+
if (modifierConflicts) {
|
|
56
|
+
if (baseConflicts) {
|
|
57
|
+
// Merge base conflicts with modifier conflicts
|
|
58
|
+
return concatArrays(baseConflicts, modifierConflicts);
|
|
59
|
+
}
|
|
60
|
+
// Only modifier conflicts
|
|
61
|
+
return modifierConflicts;
|
|
62
|
+
}
|
|
63
|
+
// Fall back to without postfix if no modifier conflicts
|
|
64
|
+
return baseConflicts || EMPTY_CONFLICTS;
|
|
65
|
+
}
|
|
66
|
+
return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;
|
|
67
|
+
};
|
|
68
|
+
return {
|
|
69
|
+
getClassGroupId,
|
|
70
|
+
getConflictingClassGroupIds
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
const getGroupRecursive = (classParts, startIndex, classPartObject) => {
|
|
74
|
+
const classPathsLength = classParts.length - startIndex;
|
|
75
|
+
if (classPathsLength === 0) {
|
|
76
|
+
return classPartObject.classGroupId;
|
|
77
|
+
}
|
|
78
|
+
const currentClassPart = classParts[startIndex];
|
|
79
|
+
const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
|
|
80
|
+
if (nextClassPartObject) {
|
|
81
|
+
const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);
|
|
82
|
+
if (result) return result;
|
|
83
|
+
}
|
|
84
|
+
const validators = classPartObject.validators;
|
|
85
|
+
if (validators === null) {
|
|
86
|
+
return undefined;
|
|
87
|
+
}
|
|
88
|
+
// Build classRest string efficiently by joining from startIndex onwards
|
|
89
|
+
const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);
|
|
90
|
+
const validatorsLength = validators.length;
|
|
91
|
+
for (let i = 0; i < validatorsLength; i++) {
|
|
92
|
+
const validatorObj = validators[i];
|
|
93
|
+
if (validatorObj.validator(classRest)) {
|
|
94
|
+
return validatorObj.classGroupId;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
return undefined;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Get the class group ID for an arbitrary property.
|
|
101
|
+
*
|
|
102
|
+
* @param className - The class name to get the group ID for. Is expected to be string starting with `[` and ending with `]`.
|
|
103
|
+
*/
|
|
104
|
+
const getGroupIdForArbitraryProperty = className => className.slice(1, -1).indexOf(':') === -1 ? undefined : (() => {
|
|
105
|
+
const content = className.slice(1, -1);
|
|
106
|
+
const colonIndex = content.indexOf(':');
|
|
107
|
+
const property = content.slice(0, colonIndex);
|
|
108
|
+
return property ? ARBITRARY_PROPERTY_PREFIX + property : undefined;
|
|
109
|
+
})();
|
|
110
|
+
/**
|
|
111
|
+
* Exported for testing only
|
|
112
|
+
*/
|
|
113
|
+
const createClassMap = config => {
|
|
114
|
+
const {
|
|
115
|
+
theme,
|
|
116
|
+
classGroups
|
|
117
|
+
} = config;
|
|
118
|
+
return processClassGroups(classGroups, theme);
|
|
119
|
+
};
|
|
120
|
+
// Split into separate functions to maintain monomorphic call sites
|
|
121
|
+
const processClassGroups = (classGroups, theme) => {
|
|
122
|
+
const classMap = createClassPartObject();
|
|
123
|
+
for (const classGroupId in classGroups) {
|
|
124
|
+
const group = classGroups[classGroupId];
|
|
125
|
+
processClassesRecursively(group, classMap, classGroupId, theme);
|
|
126
|
+
}
|
|
127
|
+
return classMap;
|
|
128
|
+
};
|
|
129
|
+
const processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
|
|
130
|
+
const len = classGroup.length;
|
|
131
|
+
for (let i = 0; i < len; i++) {
|
|
132
|
+
const classDefinition = classGroup[i];
|
|
133
|
+
processClassDefinition(classDefinition, classPartObject, classGroupId, theme);
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
// Split into separate functions for each type to maintain monomorphic call sites
|
|
137
|
+
const processClassDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
|
|
138
|
+
if (typeof classDefinition === 'string') {
|
|
139
|
+
processStringDefinition(classDefinition, classPartObject, classGroupId);
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
if (typeof classDefinition === 'function') {
|
|
143
|
+
processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
processObjectDefinition(classDefinition, classPartObject, classGroupId, theme);
|
|
147
|
+
};
|
|
148
|
+
const processStringDefinition = (classDefinition, classPartObject, classGroupId) => {
|
|
149
|
+
const classPartObjectToEdit = classDefinition === '' ? classPartObject : getPart(classPartObject, classDefinition);
|
|
150
|
+
classPartObjectToEdit.classGroupId = classGroupId;
|
|
151
|
+
};
|
|
152
|
+
const processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
|
|
153
|
+
if (isThemeGetter(classDefinition)) {
|
|
154
|
+
processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
if (classPartObject.validators === null) {
|
|
158
|
+
classPartObject.validators = [];
|
|
159
|
+
}
|
|
160
|
+
classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition));
|
|
161
|
+
};
|
|
162
|
+
const processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
|
|
163
|
+
const entries = Object.entries(classDefinition);
|
|
164
|
+
const len = entries.length;
|
|
165
|
+
for (let i = 0; i < len; i++) {
|
|
166
|
+
const [key, value] = entries[i];
|
|
167
|
+
processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
const getPart = (classPartObject, path) => {
|
|
171
|
+
let current = classPartObject;
|
|
172
|
+
const parts = path.split(CLASS_PART_SEPARATOR);
|
|
173
|
+
const len = parts.length;
|
|
174
|
+
for (let i = 0; i < len; i++) {
|
|
175
|
+
const part = parts[i];
|
|
176
|
+
let next = current.nextPart.get(part);
|
|
177
|
+
if (!next) {
|
|
178
|
+
next = createClassPartObject();
|
|
179
|
+
current.nextPart.set(part, next);
|
|
180
|
+
}
|
|
181
|
+
current = next;
|
|
182
|
+
}
|
|
183
|
+
return current;
|
|
184
|
+
};
|
|
185
|
+
// Type guard maintains monomorphic check
|
|
186
|
+
const isThemeGetter = func => 'isThemeGetter' in func && func.isThemeGetter === true;
|
|
187
|
+
|
|
188
|
+
// LRU cache implementation using plain objects for simplicity
|
|
189
|
+
const createLruCache = maxCacheSize => {
|
|
190
|
+
if (maxCacheSize < 1) {
|
|
191
|
+
return {
|
|
192
|
+
get: () => undefined,
|
|
193
|
+
set: () => {}
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
let cacheSize = 0;
|
|
197
|
+
let cache = Object.create(null);
|
|
198
|
+
let previousCache = Object.create(null);
|
|
199
|
+
const update = (key, value) => {
|
|
200
|
+
cache[key] = value;
|
|
201
|
+
cacheSize++;
|
|
202
|
+
if (cacheSize > maxCacheSize) {
|
|
203
|
+
cacheSize = 0;
|
|
204
|
+
previousCache = cache;
|
|
205
|
+
cache = Object.create(null);
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
return {
|
|
209
|
+
get(key) {
|
|
210
|
+
let value = cache[key];
|
|
211
|
+
if (value !== undefined) {
|
|
212
|
+
return value;
|
|
213
|
+
}
|
|
214
|
+
if ((value = previousCache[key]) !== undefined) {
|
|
215
|
+
update(key, value);
|
|
216
|
+
return value;
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
set(key, value) {
|
|
220
|
+
if (key in cache) {
|
|
221
|
+
cache[key] = value;
|
|
222
|
+
} else {
|
|
223
|
+
update(key, value);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
const IMPORTANT_MODIFIER = '!';
|
|
229
|
+
const MODIFIER_SEPARATOR = ':';
|
|
230
|
+
const EMPTY_MODIFIERS = [];
|
|
231
|
+
// Pre-allocated result object shape for consistency
|
|
232
|
+
const createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal) => ({
|
|
233
|
+
modifiers,
|
|
234
|
+
hasImportantModifier,
|
|
235
|
+
baseClassName,
|
|
236
|
+
maybePostfixModifierPosition,
|
|
237
|
+
isExternal
|
|
238
|
+
});
|
|
239
|
+
const createParseClassName = config => {
|
|
240
|
+
const {
|
|
241
|
+
prefix,
|
|
242
|
+
experimentalParseClassName
|
|
243
|
+
} = config;
|
|
244
|
+
/**
|
|
245
|
+
* Parse class name into parts.
|
|
246
|
+
*
|
|
247
|
+
* Inspired by `splitAtTopLevelOnly` used in Tailwind CSS
|
|
248
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js
|
|
249
|
+
*/
|
|
250
|
+
let parseClassName = className => {
|
|
251
|
+
// Use simple array with push for better performance
|
|
252
|
+
const modifiers = [];
|
|
253
|
+
let bracketDepth = 0;
|
|
254
|
+
let parenDepth = 0;
|
|
255
|
+
let modifierStart = 0;
|
|
256
|
+
let postfixModifierPosition;
|
|
257
|
+
const len = className.length;
|
|
258
|
+
for (let index = 0; index < len; index++) {
|
|
259
|
+
const currentCharacter = className[index];
|
|
260
|
+
if (bracketDepth === 0 && parenDepth === 0) {
|
|
261
|
+
if (currentCharacter === MODIFIER_SEPARATOR) {
|
|
262
|
+
modifiers.push(className.slice(modifierStart, index));
|
|
263
|
+
modifierStart = index + 1;
|
|
264
|
+
continue;
|
|
265
|
+
}
|
|
266
|
+
if (currentCharacter === '/') {
|
|
267
|
+
postfixModifierPosition = index;
|
|
268
|
+
continue;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
if (currentCharacter === '[') bracketDepth++;else if (currentCharacter === ']') bracketDepth--;else if (currentCharacter === '(') parenDepth++;else if (currentCharacter === ')') parenDepth--;
|
|
272
|
+
}
|
|
273
|
+
const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);
|
|
274
|
+
// Inline important modifier check
|
|
275
|
+
let baseClassName = baseClassNameWithImportantModifier;
|
|
276
|
+
let hasImportantModifier = false;
|
|
277
|
+
if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {
|
|
278
|
+
baseClassName = baseClassNameWithImportantModifier.slice(0, -1);
|
|
279
|
+
hasImportantModifier = true;
|
|
280
|
+
} else if (
|
|
281
|
+
/**
|
|
282
|
+
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
283
|
+
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
284
|
+
*/
|
|
285
|
+
baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)) {
|
|
286
|
+
baseClassName = baseClassNameWithImportantModifier.slice(1);
|
|
287
|
+
hasImportantModifier = true;
|
|
288
|
+
}
|
|
289
|
+
const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : undefined;
|
|
290
|
+
return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition);
|
|
291
|
+
};
|
|
292
|
+
if (prefix) {
|
|
293
|
+
const fullPrefix = prefix + MODIFIER_SEPARATOR;
|
|
294
|
+
const parseClassNameOriginal = parseClassName;
|
|
295
|
+
parseClassName = className => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, undefined, true);
|
|
296
|
+
}
|
|
297
|
+
if (experimentalParseClassName) {
|
|
298
|
+
const parseClassNameOriginal = parseClassName;
|
|
299
|
+
parseClassName = className => experimentalParseClassName({
|
|
300
|
+
className,
|
|
301
|
+
parseClassName: parseClassNameOriginal
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
return parseClassName;
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Sorts modifiers according to following schema:
|
|
309
|
+
* - Predefined modifiers are sorted alphabetically
|
|
310
|
+
* - When an arbitrary variant appears, it must be preserved which modifiers are before and after it
|
|
311
|
+
*/
|
|
312
|
+
const createSortModifiers = config => {
|
|
313
|
+
// Pre-compute weights for all known modifiers for O(1) comparison
|
|
314
|
+
const modifierWeights = new Map();
|
|
315
|
+
// Assign weights to sensitive modifiers (highest priority, but preserve order)
|
|
316
|
+
config.orderSensitiveModifiers.forEach((mod, index) => {
|
|
317
|
+
modifierWeights.set(mod, 1000000 + index); // High weights for sensitive mods
|
|
318
|
+
});
|
|
319
|
+
return modifiers => {
|
|
320
|
+
const result = [];
|
|
321
|
+
let currentSegment = [];
|
|
322
|
+
// Process modifiers in one pass
|
|
323
|
+
for (let i = 0; i < modifiers.length; i++) {
|
|
324
|
+
const modifier = modifiers[i];
|
|
325
|
+
// Check if modifier is sensitive (starts with '[' or in orderSensitiveModifiers)
|
|
326
|
+
const isArbitrary = modifier[0] === '[';
|
|
327
|
+
const isOrderSensitive = modifierWeights.has(modifier);
|
|
328
|
+
if (isArbitrary || isOrderSensitive) {
|
|
329
|
+
// Sort and flush current segment alphabetically
|
|
330
|
+
if (currentSegment.length > 0) {
|
|
331
|
+
currentSegment.sort();
|
|
332
|
+
result.push(...currentSegment);
|
|
333
|
+
currentSegment = [];
|
|
334
|
+
}
|
|
335
|
+
result.push(modifier);
|
|
336
|
+
} else {
|
|
337
|
+
// Regular modifier - add to current segment for batch sorting
|
|
338
|
+
currentSegment.push(modifier);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
// Sort and add any remaining segment items
|
|
342
|
+
if (currentSegment.length > 0) {
|
|
343
|
+
currentSegment.sort();
|
|
344
|
+
result.push(...currentSegment);
|
|
345
|
+
}
|
|
346
|
+
return result;
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
const createConfigUtils = config => ({
|
|
350
|
+
cache: createLruCache(config.cacheSize),
|
|
351
|
+
parseClassName: createParseClassName(config),
|
|
352
|
+
sortModifiers: createSortModifiers(config),
|
|
353
|
+
...createClassGroupUtils(config)
|
|
354
|
+
});
|
|
355
|
+
const SPLIT_CLASSES_REGEX = /\s+/;
|
|
356
|
+
const mergeClassList = (classList, configUtils) => {
|
|
357
|
+
const {
|
|
358
|
+
parseClassName,
|
|
359
|
+
getClassGroupId,
|
|
360
|
+
getConflictingClassGroupIds,
|
|
361
|
+
sortModifiers
|
|
362
|
+
} = configUtils;
|
|
363
|
+
/**
|
|
364
|
+
* Set of classGroupIds in following format:
|
|
365
|
+
* `{importantModifier}{variantModifiers}{classGroupId}`
|
|
366
|
+
* @example 'float'
|
|
367
|
+
* @example 'hover:focus:bg-color'
|
|
368
|
+
* @example 'md:!pr'
|
|
369
|
+
*/
|
|
370
|
+
const classGroupsInConflict = [];
|
|
371
|
+
const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
|
|
372
|
+
let result = '';
|
|
373
|
+
for (let index = classNames.length - 1; index >= 0; index -= 1) {
|
|
374
|
+
const originalClassName = classNames[index];
|
|
375
|
+
const {
|
|
376
|
+
isExternal,
|
|
377
|
+
modifiers,
|
|
378
|
+
hasImportantModifier,
|
|
379
|
+
baseClassName,
|
|
380
|
+
maybePostfixModifierPosition
|
|
381
|
+
} = parseClassName(originalClassName);
|
|
382
|
+
if (isExternal) {
|
|
383
|
+
result = originalClassName + (result.length > 0 ? ' ' + result : result);
|
|
384
|
+
continue;
|
|
385
|
+
}
|
|
386
|
+
let hasPostfixModifier = !!maybePostfixModifierPosition;
|
|
387
|
+
let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
|
|
388
|
+
if (!classGroupId) {
|
|
389
|
+
if (!hasPostfixModifier) {
|
|
390
|
+
// Not a Tailwind class
|
|
391
|
+
result = originalClassName + (result.length > 0 ? ' ' + result : result);
|
|
392
|
+
continue;
|
|
393
|
+
}
|
|
394
|
+
classGroupId = getClassGroupId(baseClassName);
|
|
395
|
+
if (!classGroupId) {
|
|
396
|
+
// Not a Tailwind class
|
|
397
|
+
result = originalClassName + (result.length > 0 ? ' ' + result : result);
|
|
398
|
+
continue;
|
|
399
|
+
}
|
|
400
|
+
hasPostfixModifier = false;
|
|
401
|
+
}
|
|
402
|
+
// Fast path: skip sorting for empty or single modifier
|
|
403
|
+
const variantModifier = modifiers.length === 0 ? '' : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(':');
|
|
404
|
+
const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
|
|
405
|
+
const classId = modifierId + classGroupId;
|
|
406
|
+
if (classGroupsInConflict.indexOf(classId) > -1) {
|
|
407
|
+
// Tailwind class omitted due to conflict
|
|
408
|
+
continue;
|
|
409
|
+
}
|
|
410
|
+
classGroupsInConflict.push(classId);
|
|
411
|
+
const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
|
|
412
|
+
for (let i = 0; i < conflictGroups.length; ++i) {
|
|
413
|
+
const group = conflictGroups[i];
|
|
414
|
+
classGroupsInConflict.push(modifierId + group);
|
|
415
|
+
}
|
|
416
|
+
// Tailwind class not in conflict
|
|
417
|
+
result = originalClassName + (result.length > 0 ? ' ' + result : result);
|
|
418
|
+
}
|
|
419
|
+
return result;
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
|
|
424
|
+
*
|
|
425
|
+
* Specifically:
|
|
426
|
+
* - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
|
|
427
|
+
* - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
|
|
428
|
+
*
|
|
429
|
+
* Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
|
|
430
|
+
*/
|
|
431
|
+
const twJoin = (...classLists) => {
|
|
432
|
+
let index = 0;
|
|
433
|
+
let argument;
|
|
434
|
+
let resolvedValue;
|
|
435
|
+
let string = '';
|
|
436
|
+
while (index < classLists.length) {
|
|
437
|
+
if (argument = classLists[index++]) {
|
|
438
|
+
if (resolvedValue = toValue(argument)) {
|
|
439
|
+
string && (string += ' ');
|
|
440
|
+
string += resolvedValue;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
return string;
|
|
445
|
+
};
|
|
446
|
+
const toValue = mix => {
|
|
447
|
+
// Fast path for strings
|
|
448
|
+
if (typeof mix === 'string') {
|
|
449
|
+
return mix;
|
|
450
|
+
}
|
|
451
|
+
let resolvedValue;
|
|
452
|
+
let string = '';
|
|
453
|
+
for (let k = 0; k < mix.length; k++) {
|
|
454
|
+
if (mix[k]) {
|
|
455
|
+
if (resolvedValue = toValue(mix[k])) {
|
|
456
|
+
string && (string += ' ');
|
|
457
|
+
string += resolvedValue;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
return string;
|
|
462
|
+
};
|
|
463
|
+
const createTailwindMerge = (createConfigFirst, ...createConfigRest) => {
|
|
464
|
+
let configUtils;
|
|
465
|
+
let cacheGet;
|
|
466
|
+
let cacheSet;
|
|
467
|
+
let functionToCall;
|
|
468
|
+
const initTailwindMerge = classList => {
|
|
469
|
+
const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
|
|
470
|
+
configUtils = createConfigUtils(config);
|
|
471
|
+
cacheGet = configUtils.cache.get;
|
|
472
|
+
cacheSet = configUtils.cache.set;
|
|
473
|
+
functionToCall = tailwindMerge;
|
|
474
|
+
return tailwindMerge(classList);
|
|
475
|
+
};
|
|
476
|
+
const tailwindMerge = classList => {
|
|
477
|
+
const cachedResult = cacheGet(classList);
|
|
478
|
+
if (cachedResult) {
|
|
479
|
+
return cachedResult;
|
|
480
|
+
}
|
|
481
|
+
const result = mergeClassList(classList, configUtils);
|
|
482
|
+
cacheSet(classList, result);
|
|
483
|
+
return result;
|
|
484
|
+
};
|
|
485
|
+
functionToCall = initTailwindMerge;
|
|
486
|
+
return (...args) => functionToCall(twJoin(...args));
|
|
487
|
+
};
|
|
488
|
+
const fallbackThemeArr = [];
|
|
489
|
+
const fromTheme = key => {
|
|
490
|
+
const themeGetter = theme => theme[key] || fallbackThemeArr;
|
|
491
|
+
themeGetter.isThemeGetter = true;
|
|
492
|
+
return themeGetter;
|
|
493
|
+
};
|
|
494
|
+
const arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
|
|
495
|
+
const arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
|
|
496
|
+
const fractionRegex = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/;
|
|
497
|
+
const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
498
|
+
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$/;
|
|
499
|
+
const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/;
|
|
500
|
+
// Shadow always begins with x and y offset separated by underscore optionally prepended by inset
|
|
501
|
+
const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
|
502
|
+
const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
503
|
+
const isFraction = value => fractionRegex.test(value);
|
|
504
|
+
const isNumber = value => !!value && !Number.isNaN(Number(value));
|
|
505
|
+
const isInteger = value => !!value && Number.isInteger(Number(value));
|
|
506
|
+
const isPercent = value => value.endsWith('%') && isNumber(value.slice(0, -1));
|
|
507
|
+
const isTshirtSize = value => tshirtUnitRegex.test(value);
|
|
508
|
+
const isAny = () => true;
|
|
509
|
+
const isLengthOnly = value =>
|
|
510
|
+
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
511
|
+
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
512
|
+
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
513
|
+
lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
|
|
514
|
+
const isNever = () => false;
|
|
515
|
+
const isShadow = value => shadowRegex.test(value);
|
|
516
|
+
const isImage = value => imageRegex.test(value);
|
|
517
|
+
const isAnyNonArbitrary = value => !isArbitraryValue(value) && !isArbitraryVariable(value);
|
|
518
|
+
const isArbitrarySize = value => getIsArbitraryValue(value, isLabelSize, isNever);
|
|
519
|
+
const isArbitraryValue = value => arbitraryValueRegex.test(value);
|
|
520
|
+
const isArbitraryLength = value => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
|
|
521
|
+
const isArbitraryNumber = value => getIsArbitraryValue(value, isLabelNumber, isNumber);
|
|
522
|
+
const isArbitraryWeight = value => getIsArbitraryValue(value, isLabelWeight, isAny);
|
|
523
|
+
const isArbitraryFamilyName = value => getIsArbitraryValue(value, isLabelFamilyName, isNever);
|
|
524
|
+
const isArbitraryPosition = value => getIsArbitraryValue(value, isLabelPosition, isNever);
|
|
525
|
+
const isArbitraryImage = value => getIsArbitraryValue(value, isLabelImage, isImage);
|
|
526
|
+
const isArbitraryShadow = value => getIsArbitraryValue(value, isLabelShadow, isShadow);
|
|
527
|
+
const isArbitraryVariable = value => arbitraryVariableRegex.test(value);
|
|
528
|
+
const isArbitraryVariableLength = value => getIsArbitraryVariable(value, isLabelLength);
|
|
529
|
+
const isArbitraryVariableFamilyName = value => getIsArbitraryVariable(value, isLabelFamilyName);
|
|
530
|
+
const isArbitraryVariablePosition = value => getIsArbitraryVariable(value, isLabelPosition);
|
|
531
|
+
const isArbitraryVariableSize = value => getIsArbitraryVariable(value, isLabelSize);
|
|
532
|
+
const isArbitraryVariableImage = value => getIsArbitraryVariable(value, isLabelImage);
|
|
533
|
+
const isArbitraryVariableShadow = value => getIsArbitraryVariable(value, isLabelShadow, true);
|
|
534
|
+
const isArbitraryVariableWeight = value => getIsArbitraryVariable(value, isLabelWeight, true);
|
|
535
|
+
// Helpers
|
|
536
|
+
const getIsArbitraryValue = (value, testLabel, testValue) => {
|
|
537
|
+
const result = arbitraryValueRegex.exec(value);
|
|
538
|
+
if (result) {
|
|
539
|
+
if (result[1]) {
|
|
540
|
+
return testLabel(result[1]);
|
|
541
|
+
}
|
|
542
|
+
return testValue(result[2]);
|
|
543
|
+
}
|
|
544
|
+
return false;
|
|
545
|
+
};
|
|
546
|
+
const getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {
|
|
547
|
+
const result = arbitraryVariableRegex.exec(value);
|
|
548
|
+
if (result) {
|
|
549
|
+
if (result[1]) {
|
|
550
|
+
return testLabel(result[1]);
|
|
551
|
+
}
|
|
552
|
+
return shouldMatchNoLabel;
|
|
553
|
+
}
|
|
554
|
+
return false;
|
|
555
|
+
};
|
|
556
|
+
// Labels
|
|
557
|
+
const isLabelPosition = label => label === 'position' || label === 'percentage';
|
|
558
|
+
const isLabelImage = label => label === 'image' || label === 'url';
|
|
559
|
+
const isLabelSize = label => label === 'length' || label === 'size' || label === 'bg-size';
|
|
560
|
+
const isLabelLength = label => label === 'length';
|
|
561
|
+
const isLabelNumber = label => label === 'number';
|
|
562
|
+
const isLabelFamilyName = label => label === 'family-name';
|
|
563
|
+
const isLabelWeight = label => label === 'number' || label === 'weight';
|
|
564
|
+
const isLabelShadow = label => label === 'shadow';
|
|
565
|
+
const getDefaultConfig = () => {
|
|
566
|
+
/**
|
|
567
|
+
* Theme getters for theme variable namespaces
|
|
568
|
+
* @see https://tailwindcss.com/docs/theme#theme-variable-namespaces
|
|
569
|
+
*/
|
|
570
|
+
/***/
|
|
571
|
+
const themeColor = fromTheme('color');
|
|
572
|
+
const themeFont = fromTheme('font');
|
|
573
|
+
const themeText = fromTheme('text');
|
|
574
|
+
const themeFontWeight = fromTheme('font-weight');
|
|
575
|
+
const themeTracking = fromTheme('tracking');
|
|
576
|
+
const themeLeading = fromTheme('leading');
|
|
577
|
+
const themeBreakpoint = fromTheme('breakpoint');
|
|
578
|
+
const themeContainer = fromTheme('container');
|
|
579
|
+
const themeSpacing = fromTheme('spacing');
|
|
580
|
+
const themeRadius = fromTheme('radius');
|
|
581
|
+
const themeShadow = fromTheme('shadow');
|
|
582
|
+
const themeInsetShadow = fromTheme('inset-shadow');
|
|
583
|
+
const themeTextShadow = fromTheme('text-shadow');
|
|
584
|
+
const themeDropShadow = fromTheme('drop-shadow');
|
|
585
|
+
const themeBlur = fromTheme('blur');
|
|
586
|
+
const themePerspective = fromTheme('perspective');
|
|
587
|
+
const themeAspect = fromTheme('aspect');
|
|
588
|
+
const themeEase = fromTheme('ease');
|
|
589
|
+
const themeAnimate = fromTheme('animate');
|
|
590
|
+
/**
|
|
591
|
+
* Helpers to avoid repeating the same scales
|
|
592
|
+
*
|
|
593
|
+
* We use functions that create a new array every time they're called instead of static arrays.
|
|
594
|
+
* 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.
|
|
595
|
+
*/
|
|
596
|
+
/***/
|
|
597
|
+
const scaleBreak = () => ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'];
|
|
598
|
+
const scalePosition = () => ['center', 'top', 'bottom', 'left', 'right', 'top-left',
|
|
599
|
+
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
600
|
+
'left-top', 'top-right',
|
|
601
|
+
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
602
|
+
'right-top', 'bottom-right',
|
|
603
|
+
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
604
|
+
'right-bottom', 'bottom-left',
|
|
605
|
+
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
606
|
+
'left-bottom'];
|
|
607
|
+
const scalePositionWithArbitrary = () => [...scalePosition(), isArbitraryVariable, isArbitraryValue];
|
|
608
|
+
const scaleOverflow = () => ['auto', 'hidden', 'clip', 'visible', 'scroll'];
|
|
609
|
+
const scaleOverscroll = () => ['auto', 'contain', 'none'];
|
|
610
|
+
const scaleUnambiguousSpacing = () => [isArbitraryVariable, isArbitraryValue, themeSpacing];
|
|
611
|
+
const scaleInset = () => [isFraction, 'full', 'auto', ...scaleUnambiguousSpacing()];
|
|
612
|
+
const scaleGridTemplateColsRows = () => [isInteger, 'none', 'subgrid', isArbitraryVariable, isArbitraryValue];
|
|
613
|
+
const scaleGridColRowStartAndEnd = () => ['auto', {
|
|
614
|
+
span: ['full', isInteger, isArbitraryVariable, isArbitraryValue]
|
|
615
|
+
}, isInteger, isArbitraryVariable, isArbitraryValue];
|
|
616
|
+
const scaleGridColRowStartOrEnd = () => [isInteger, 'auto', isArbitraryVariable, isArbitraryValue];
|
|
617
|
+
const scaleGridAutoColsRows = () => ['auto', 'min', 'max', 'fr', isArbitraryVariable, isArbitraryValue];
|
|
618
|
+
const scaleAlignPrimaryAxis = () => ['start', 'end', 'center', 'between', 'around', 'evenly', 'stretch', 'baseline', 'center-safe', 'end-safe'];
|
|
619
|
+
const scaleAlignSecondaryAxis = () => ['start', 'end', 'center', 'stretch', 'center-safe', 'end-safe'];
|
|
620
|
+
const scaleMargin = () => ['auto', ...scaleUnambiguousSpacing()];
|
|
621
|
+
const scaleSizing = () => [isFraction, 'auto', 'full', 'dvw', 'dvh', 'lvw', 'lvh', 'svw', 'svh', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];
|
|
622
|
+
const scaleSizingInline = () => [isFraction, 'screen', 'full', 'dvw', 'lvw', 'svw', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];
|
|
623
|
+
const scaleSizingBlock = () => [isFraction, 'screen', 'full', 'lh', 'dvh', 'lvh', 'svh', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];
|
|
624
|
+
const scaleColor = () => [themeColor, isArbitraryVariable, isArbitraryValue];
|
|
625
|
+
const scaleBgPosition = () => [...scalePosition(), isArbitraryVariablePosition, isArbitraryPosition, {
|
|
626
|
+
position: [isArbitraryVariable, isArbitraryValue]
|
|
627
|
+
}];
|
|
628
|
+
const scaleBgRepeat = () => ['no-repeat', {
|
|
629
|
+
repeat: ['', 'x', 'y', 'space', 'round']
|
|
630
|
+
}];
|
|
631
|
+
const scaleBgSize = () => ['auto', 'cover', 'contain', isArbitraryVariableSize, isArbitrarySize, {
|
|
632
|
+
size: [isArbitraryVariable, isArbitraryValue]
|
|
633
|
+
}];
|
|
634
|
+
const scaleGradientStopPosition = () => [isPercent, isArbitraryVariableLength, isArbitraryLength];
|
|
635
|
+
const scaleRadius = () => [
|
|
636
|
+
// Deprecated since Tailwind CSS v4.0.0
|
|
637
|
+
'', 'none', 'full', themeRadius, isArbitraryVariable, isArbitraryValue];
|
|
638
|
+
const scaleBorderWidth = () => ['', isNumber, isArbitraryVariableLength, isArbitraryLength];
|
|
639
|
+
const scaleLineStyle = () => ['solid', 'dashed', 'dotted', 'double'];
|
|
640
|
+
const scaleBlendMode = () => ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'];
|
|
641
|
+
const scaleMaskImagePosition = () => [isNumber, isPercent, isArbitraryVariablePosition, isArbitraryPosition];
|
|
642
|
+
const scaleBlur = () => [
|
|
643
|
+
// Deprecated since Tailwind CSS v4.0.0
|
|
644
|
+
'', 'none', themeBlur, isArbitraryVariable, isArbitraryValue];
|
|
645
|
+
const scaleRotate = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];
|
|
646
|
+
const scaleScale = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];
|
|
647
|
+
const scaleSkew = () => [isNumber, isArbitraryVariable, isArbitraryValue];
|
|
648
|
+
const scaleTranslate = () => [isFraction, 'full', ...scaleUnambiguousSpacing()];
|
|
649
|
+
return {
|
|
650
|
+
cacheSize: 500,
|
|
651
|
+
theme: {
|
|
652
|
+
animate: ['spin', 'ping', 'pulse', 'bounce'],
|
|
653
|
+
aspect: ['video'],
|
|
654
|
+
blur: [isTshirtSize],
|
|
655
|
+
breakpoint: [isTshirtSize],
|
|
656
|
+
color: [isAny],
|
|
657
|
+
container: [isTshirtSize],
|
|
658
|
+
'drop-shadow': [isTshirtSize],
|
|
659
|
+
ease: ['in', 'out', 'in-out'],
|
|
660
|
+
font: [isAnyNonArbitrary],
|
|
661
|
+
'font-weight': ['thin', 'extralight', 'light', 'normal', 'medium', 'semibold', 'bold', 'extrabold', 'black'],
|
|
662
|
+
'inset-shadow': [isTshirtSize],
|
|
663
|
+
leading: ['none', 'tight', 'snug', 'normal', 'relaxed', 'loose'],
|
|
664
|
+
perspective: ['dramatic', 'near', 'normal', 'midrange', 'distant', 'none'],
|
|
665
|
+
radius: [isTshirtSize],
|
|
666
|
+
shadow: [isTshirtSize],
|
|
667
|
+
spacing: ['px', isNumber],
|
|
668
|
+
text: [isTshirtSize],
|
|
669
|
+
'text-shadow': [isTshirtSize],
|
|
670
|
+
tracking: ['tighter', 'tight', 'normal', 'wide', 'wider', 'widest']
|
|
671
|
+
},
|
|
672
|
+
classGroups: {
|
|
673
|
+
// --------------
|
|
674
|
+
// --- Layout ---
|
|
675
|
+
// --------------
|
|
676
|
+
/**
|
|
677
|
+
* Aspect Ratio
|
|
678
|
+
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
679
|
+
*/
|
|
680
|
+
aspect: [{
|
|
681
|
+
aspect: ['auto', 'square', isFraction, isArbitraryValue, isArbitraryVariable, themeAspect]
|
|
682
|
+
}],
|
|
683
|
+
/**
|
|
684
|
+
* Container
|
|
685
|
+
* @see https://tailwindcss.com/docs/container
|
|
686
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
687
|
+
*/
|
|
688
|
+
container: ['container'],
|
|
689
|
+
/**
|
|
690
|
+
* Columns
|
|
691
|
+
* @see https://tailwindcss.com/docs/columns
|
|
692
|
+
*/
|
|
693
|
+
columns: [{
|
|
694
|
+
columns: [isNumber, isArbitraryValue, isArbitraryVariable, themeContainer]
|
|
695
|
+
}],
|
|
696
|
+
/**
|
|
697
|
+
* Break After
|
|
698
|
+
* @see https://tailwindcss.com/docs/break-after
|
|
699
|
+
*/
|
|
700
|
+
'break-after': [{
|
|
701
|
+
'break-after': scaleBreak()
|
|
702
|
+
}],
|
|
703
|
+
/**
|
|
704
|
+
* Break Before
|
|
705
|
+
* @see https://tailwindcss.com/docs/break-before
|
|
706
|
+
*/
|
|
707
|
+
'break-before': [{
|
|
708
|
+
'break-before': scaleBreak()
|
|
709
|
+
}],
|
|
710
|
+
/**
|
|
711
|
+
* Break Inside
|
|
712
|
+
* @see https://tailwindcss.com/docs/break-inside
|
|
713
|
+
*/
|
|
714
|
+
'break-inside': [{
|
|
715
|
+
'break-inside': ['auto', 'avoid', 'avoid-page', 'avoid-column']
|
|
716
|
+
}],
|
|
717
|
+
/**
|
|
718
|
+
* Box Decoration Break
|
|
719
|
+
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
720
|
+
*/
|
|
721
|
+
'box-decoration': [{
|
|
722
|
+
'box-decoration': ['slice', 'clone']
|
|
723
|
+
}],
|
|
724
|
+
/**
|
|
725
|
+
* Box Sizing
|
|
726
|
+
* @see https://tailwindcss.com/docs/box-sizing
|
|
727
|
+
*/
|
|
728
|
+
box: [{
|
|
729
|
+
box: ['border', 'content']
|
|
730
|
+
}],
|
|
731
|
+
/**
|
|
732
|
+
* Display
|
|
733
|
+
* @see https://tailwindcss.com/docs/display
|
|
734
|
+
*/
|
|
735
|
+
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'],
|
|
736
|
+
/**
|
|
737
|
+
* Screen Reader Only
|
|
738
|
+
* @see https://tailwindcss.com/docs/display#screen-reader-only
|
|
739
|
+
*/
|
|
740
|
+
sr: ['sr-only', 'not-sr-only'],
|
|
741
|
+
/**
|
|
742
|
+
* Floats
|
|
743
|
+
* @see https://tailwindcss.com/docs/float
|
|
744
|
+
*/
|
|
745
|
+
float: [{
|
|
746
|
+
float: ['right', 'left', 'none', 'start', 'end']
|
|
747
|
+
}],
|
|
748
|
+
/**
|
|
749
|
+
* Clear
|
|
750
|
+
* @see https://tailwindcss.com/docs/clear
|
|
751
|
+
*/
|
|
752
|
+
clear: [{
|
|
753
|
+
clear: ['left', 'right', 'both', 'none', 'start', 'end']
|
|
754
|
+
}],
|
|
755
|
+
/**
|
|
756
|
+
* Isolation
|
|
757
|
+
* @see https://tailwindcss.com/docs/isolation
|
|
758
|
+
*/
|
|
759
|
+
isolation: ['isolate', 'isolation-auto'],
|
|
760
|
+
/**
|
|
761
|
+
* Object Fit
|
|
762
|
+
* @see https://tailwindcss.com/docs/object-fit
|
|
763
|
+
*/
|
|
764
|
+
'object-fit': [{
|
|
765
|
+
object: ['contain', 'cover', 'fill', 'none', 'scale-down']
|
|
766
|
+
}],
|
|
767
|
+
/**
|
|
768
|
+
* Object Position
|
|
769
|
+
* @see https://tailwindcss.com/docs/object-position
|
|
770
|
+
*/
|
|
771
|
+
'object-position': [{
|
|
772
|
+
object: scalePositionWithArbitrary()
|
|
773
|
+
}],
|
|
774
|
+
/**
|
|
775
|
+
* Overflow
|
|
776
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
777
|
+
*/
|
|
778
|
+
overflow: [{
|
|
779
|
+
overflow: scaleOverflow()
|
|
780
|
+
}],
|
|
781
|
+
/**
|
|
782
|
+
* Overflow X
|
|
783
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
784
|
+
*/
|
|
785
|
+
'overflow-x': [{
|
|
786
|
+
'overflow-x': scaleOverflow()
|
|
787
|
+
}],
|
|
788
|
+
/**
|
|
789
|
+
* Overflow Y
|
|
790
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
791
|
+
*/
|
|
792
|
+
'overflow-y': [{
|
|
793
|
+
'overflow-y': scaleOverflow()
|
|
794
|
+
}],
|
|
795
|
+
/**
|
|
796
|
+
* Overscroll Behavior
|
|
797
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
798
|
+
*/
|
|
799
|
+
overscroll: [{
|
|
800
|
+
overscroll: scaleOverscroll()
|
|
801
|
+
}],
|
|
802
|
+
/**
|
|
803
|
+
* Overscroll Behavior X
|
|
804
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
805
|
+
*/
|
|
806
|
+
'overscroll-x': [{
|
|
807
|
+
'overscroll-x': scaleOverscroll()
|
|
808
|
+
}],
|
|
809
|
+
/**
|
|
810
|
+
* Overscroll Behavior Y
|
|
811
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
812
|
+
*/
|
|
813
|
+
'overscroll-y': [{
|
|
814
|
+
'overscroll-y': scaleOverscroll()
|
|
815
|
+
}],
|
|
816
|
+
/**
|
|
817
|
+
* Position
|
|
818
|
+
* @see https://tailwindcss.com/docs/position
|
|
819
|
+
*/
|
|
820
|
+
position: ['static', 'fixed', 'absolute', 'relative', 'sticky'],
|
|
821
|
+
/**
|
|
822
|
+
* Inset
|
|
823
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
824
|
+
*/
|
|
825
|
+
inset: [{
|
|
826
|
+
inset: scaleInset()
|
|
827
|
+
}],
|
|
828
|
+
/**
|
|
829
|
+
* Inset Inline
|
|
830
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
831
|
+
*/
|
|
832
|
+
'inset-x': [{
|
|
833
|
+
'inset-x': scaleInset()
|
|
834
|
+
}],
|
|
835
|
+
/**
|
|
836
|
+
* Inset Block
|
|
837
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
838
|
+
*/
|
|
839
|
+
'inset-y': [{
|
|
840
|
+
'inset-y': scaleInset()
|
|
841
|
+
}],
|
|
842
|
+
/**
|
|
843
|
+
* Inset Inline Start
|
|
844
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
845
|
+
* @todo class group will be renamed to `inset-s` in next major release
|
|
846
|
+
*/
|
|
847
|
+
start: [{
|
|
848
|
+
'inset-s': scaleInset(),
|
|
849
|
+
/**
|
|
850
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
851
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
852
|
+
*/
|
|
853
|
+
start: scaleInset()
|
|
854
|
+
}],
|
|
855
|
+
/**
|
|
856
|
+
* Inset Inline End
|
|
857
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
858
|
+
* @todo class group will be renamed to `inset-e` in next major release
|
|
859
|
+
*/
|
|
860
|
+
end: [{
|
|
861
|
+
'inset-e': scaleInset(),
|
|
862
|
+
/**
|
|
863
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
864
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
865
|
+
*/
|
|
866
|
+
end: scaleInset()
|
|
867
|
+
}],
|
|
868
|
+
/**
|
|
869
|
+
* Inset Block Start
|
|
870
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
871
|
+
*/
|
|
872
|
+
'inset-bs': [{
|
|
873
|
+
'inset-bs': scaleInset()
|
|
874
|
+
}],
|
|
875
|
+
/**
|
|
876
|
+
* Inset Block End
|
|
877
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
878
|
+
*/
|
|
879
|
+
'inset-be': [{
|
|
880
|
+
'inset-be': scaleInset()
|
|
881
|
+
}],
|
|
882
|
+
/**
|
|
883
|
+
* Top
|
|
884
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
885
|
+
*/
|
|
886
|
+
top: [{
|
|
887
|
+
top: scaleInset()
|
|
888
|
+
}],
|
|
889
|
+
/**
|
|
890
|
+
* Right
|
|
891
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
892
|
+
*/
|
|
893
|
+
right: [{
|
|
894
|
+
right: scaleInset()
|
|
895
|
+
}],
|
|
896
|
+
/**
|
|
897
|
+
* Bottom
|
|
898
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
899
|
+
*/
|
|
900
|
+
bottom: [{
|
|
901
|
+
bottom: scaleInset()
|
|
902
|
+
}],
|
|
903
|
+
/**
|
|
904
|
+
* Left
|
|
905
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
906
|
+
*/
|
|
907
|
+
left: [{
|
|
908
|
+
left: scaleInset()
|
|
909
|
+
}],
|
|
910
|
+
/**
|
|
911
|
+
* Visibility
|
|
912
|
+
* @see https://tailwindcss.com/docs/visibility
|
|
913
|
+
*/
|
|
914
|
+
visibility: ['visible', 'invisible', 'collapse'],
|
|
915
|
+
/**
|
|
916
|
+
* Z-Index
|
|
917
|
+
* @see https://tailwindcss.com/docs/z-index
|
|
918
|
+
*/
|
|
919
|
+
z: [{
|
|
920
|
+
z: [isInteger, 'auto', isArbitraryVariable, isArbitraryValue]
|
|
921
|
+
}],
|
|
922
|
+
// ------------------------
|
|
923
|
+
// --- Flexbox and Grid ---
|
|
924
|
+
// ------------------------
|
|
925
|
+
/**
|
|
926
|
+
* Flex Basis
|
|
927
|
+
* @see https://tailwindcss.com/docs/flex-basis
|
|
928
|
+
*/
|
|
929
|
+
basis: [{
|
|
930
|
+
basis: [isFraction, 'full', 'auto', themeContainer, ...scaleUnambiguousSpacing()]
|
|
931
|
+
}],
|
|
932
|
+
/**
|
|
933
|
+
* Flex Direction
|
|
934
|
+
* @see https://tailwindcss.com/docs/flex-direction
|
|
935
|
+
*/
|
|
936
|
+
'flex-direction': [{
|
|
937
|
+
flex: ['row', 'row-reverse', 'col', 'col-reverse']
|
|
938
|
+
}],
|
|
939
|
+
/**
|
|
940
|
+
* Flex Wrap
|
|
941
|
+
* @see https://tailwindcss.com/docs/flex-wrap
|
|
942
|
+
*/
|
|
943
|
+
'flex-wrap': [{
|
|
944
|
+
flex: ['nowrap', 'wrap', 'wrap-reverse']
|
|
945
|
+
}],
|
|
946
|
+
/**
|
|
947
|
+
* Flex
|
|
948
|
+
* @see https://tailwindcss.com/docs/flex
|
|
949
|
+
*/
|
|
950
|
+
flex: [{
|
|
951
|
+
flex: [isNumber, isFraction, 'auto', 'initial', 'none', isArbitraryValue]
|
|
952
|
+
}],
|
|
953
|
+
/**
|
|
954
|
+
* Flex Grow
|
|
955
|
+
* @see https://tailwindcss.com/docs/flex-grow
|
|
956
|
+
*/
|
|
957
|
+
grow: [{
|
|
958
|
+
grow: ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
959
|
+
}],
|
|
960
|
+
/**
|
|
961
|
+
* Flex Shrink
|
|
962
|
+
* @see https://tailwindcss.com/docs/flex-shrink
|
|
963
|
+
*/
|
|
964
|
+
shrink: [{
|
|
965
|
+
shrink: ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
966
|
+
}],
|
|
967
|
+
/**
|
|
968
|
+
* Order
|
|
969
|
+
* @see https://tailwindcss.com/docs/order
|
|
970
|
+
*/
|
|
971
|
+
order: [{
|
|
972
|
+
order: [isInteger, 'first', 'last', 'none', isArbitraryVariable, isArbitraryValue]
|
|
973
|
+
}],
|
|
974
|
+
/**
|
|
975
|
+
* Grid Template Columns
|
|
976
|
+
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
977
|
+
*/
|
|
978
|
+
'grid-cols': [{
|
|
979
|
+
'grid-cols': scaleGridTemplateColsRows()
|
|
980
|
+
}],
|
|
981
|
+
/**
|
|
982
|
+
* Grid Column Start / End
|
|
983
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
984
|
+
*/
|
|
985
|
+
'col-start-end': [{
|
|
986
|
+
col: scaleGridColRowStartAndEnd()
|
|
987
|
+
}],
|
|
988
|
+
/**
|
|
989
|
+
* Grid Column Start
|
|
990
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
991
|
+
*/
|
|
992
|
+
'col-start': [{
|
|
993
|
+
'col-start': scaleGridColRowStartOrEnd()
|
|
994
|
+
}],
|
|
995
|
+
/**
|
|
996
|
+
* Grid Column End
|
|
997
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
998
|
+
*/
|
|
999
|
+
'col-end': [{
|
|
1000
|
+
'col-end': scaleGridColRowStartOrEnd()
|
|
1001
|
+
}],
|
|
1002
|
+
/**
|
|
1003
|
+
* Grid Template Rows
|
|
1004
|
+
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1005
|
+
*/
|
|
1006
|
+
'grid-rows': [{
|
|
1007
|
+
'grid-rows': scaleGridTemplateColsRows()
|
|
1008
|
+
}],
|
|
1009
|
+
/**
|
|
1010
|
+
* Grid Row Start / End
|
|
1011
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
1012
|
+
*/
|
|
1013
|
+
'row-start-end': [{
|
|
1014
|
+
row: scaleGridColRowStartAndEnd()
|
|
1015
|
+
}],
|
|
1016
|
+
/**
|
|
1017
|
+
* Grid Row Start
|
|
1018
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
1019
|
+
*/
|
|
1020
|
+
'row-start': [{
|
|
1021
|
+
'row-start': scaleGridColRowStartOrEnd()
|
|
1022
|
+
}],
|
|
1023
|
+
/**
|
|
1024
|
+
* Grid Row End
|
|
1025
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
1026
|
+
*/
|
|
1027
|
+
'row-end': [{
|
|
1028
|
+
'row-end': scaleGridColRowStartOrEnd()
|
|
1029
|
+
}],
|
|
1030
|
+
/**
|
|
1031
|
+
* Grid Auto Flow
|
|
1032
|
+
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
1033
|
+
*/
|
|
1034
|
+
'grid-flow': [{
|
|
1035
|
+
'grid-flow': ['row', 'col', 'dense', 'row-dense', 'col-dense']
|
|
1036
|
+
}],
|
|
1037
|
+
/**
|
|
1038
|
+
* Grid Auto Columns
|
|
1039
|
+
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1040
|
+
*/
|
|
1041
|
+
'auto-cols': [{
|
|
1042
|
+
'auto-cols': scaleGridAutoColsRows()
|
|
1043
|
+
}],
|
|
1044
|
+
/**
|
|
1045
|
+
* Grid Auto Rows
|
|
1046
|
+
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1047
|
+
*/
|
|
1048
|
+
'auto-rows': [{
|
|
1049
|
+
'auto-rows': scaleGridAutoColsRows()
|
|
1050
|
+
}],
|
|
1051
|
+
/**
|
|
1052
|
+
* Gap
|
|
1053
|
+
* @see https://tailwindcss.com/docs/gap
|
|
1054
|
+
*/
|
|
1055
|
+
gap: [{
|
|
1056
|
+
gap: scaleUnambiguousSpacing()
|
|
1057
|
+
}],
|
|
1058
|
+
/**
|
|
1059
|
+
* Gap X
|
|
1060
|
+
* @see https://tailwindcss.com/docs/gap
|
|
1061
|
+
*/
|
|
1062
|
+
'gap-x': [{
|
|
1063
|
+
'gap-x': scaleUnambiguousSpacing()
|
|
1064
|
+
}],
|
|
1065
|
+
/**
|
|
1066
|
+
* Gap Y
|
|
1067
|
+
* @see https://tailwindcss.com/docs/gap
|
|
1068
|
+
*/
|
|
1069
|
+
'gap-y': [{
|
|
1070
|
+
'gap-y': scaleUnambiguousSpacing()
|
|
1071
|
+
}],
|
|
1072
|
+
/**
|
|
1073
|
+
* Justify Content
|
|
1074
|
+
* @see https://tailwindcss.com/docs/justify-content
|
|
1075
|
+
*/
|
|
1076
|
+
'justify-content': [{
|
|
1077
|
+
justify: [...scaleAlignPrimaryAxis(), 'normal']
|
|
1078
|
+
}],
|
|
1079
|
+
/**
|
|
1080
|
+
* Justify Items
|
|
1081
|
+
* @see https://tailwindcss.com/docs/justify-items
|
|
1082
|
+
*/
|
|
1083
|
+
'justify-items': [{
|
|
1084
|
+
'justify-items': [...scaleAlignSecondaryAxis(), 'normal']
|
|
1085
|
+
}],
|
|
1086
|
+
/**
|
|
1087
|
+
* Justify Self
|
|
1088
|
+
* @see https://tailwindcss.com/docs/justify-self
|
|
1089
|
+
*/
|
|
1090
|
+
'justify-self': [{
|
|
1091
|
+
'justify-self': ['auto', ...scaleAlignSecondaryAxis()]
|
|
1092
|
+
}],
|
|
1093
|
+
/**
|
|
1094
|
+
* Align Content
|
|
1095
|
+
* @see https://tailwindcss.com/docs/align-content
|
|
1096
|
+
*/
|
|
1097
|
+
'align-content': [{
|
|
1098
|
+
content: ['normal', ...scaleAlignPrimaryAxis()]
|
|
1099
|
+
}],
|
|
1100
|
+
/**
|
|
1101
|
+
* Align Items
|
|
1102
|
+
* @see https://tailwindcss.com/docs/align-items
|
|
1103
|
+
*/
|
|
1104
|
+
'align-items': [{
|
|
1105
|
+
items: [...scaleAlignSecondaryAxis(), {
|
|
1106
|
+
baseline: ['', 'last']
|
|
1107
|
+
}]
|
|
1108
|
+
}],
|
|
1109
|
+
/**
|
|
1110
|
+
* Align Self
|
|
1111
|
+
* @see https://tailwindcss.com/docs/align-self
|
|
1112
|
+
*/
|
|
1113
|
+
'align-self': [{
|
|
1114
|
+
self: ['auto', ...scaleAlignSecondaryAxis(), {
|
|
1115
|
+
baseline: ['', 'last']
|
|
1116
|
+
}]
|
|
1117
|
+
}],
|
|
1118
|
+
/**
|
|
1119
|
+
* Place Content
|
|
1120
|
+
* @see https://tailwindcss.com/docs/place-content
|
|
1121
|
+
*/
|
|
1122
|
+
'place-content': [{
|
|
1123
|
+
'place-content': scaleAlignPrimaryAxis()
|
|
1124
|
+
}],
|
|
1125
|
+
/**
|
|
1126
|
+
* Place Items
|
|
1127
|
+
* @see https://tailwindcss.com/docs/place-items
|
|
1128
|
+
*/
|
|
1129
|
+
'place-items': [{
|
|
1130
|
+
'place-items': [...scaleAlignSecondaryAxis(), 'baseline']
|
|
1131
|
+
}],
|
|
1132
|
+
/**
|
|
1133
|
+
* Place Self
|
|
1134
|
+
* @see https://tailwindcss.com/docs/place-self
|
|
1135
|
+
*/
|
|
1136
|
+
'place-self': [{
|
|
1137
|
+
'place-self': ['auto', ...scaleAlignSecondaryAxis()]
|
|
1138
|
+
}],
|
|
1139
|
+
// Spacing
|
|
1140
|
+
/**
|
|
1141
|
+
* Padding
|
|
1142
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1143
|
+
*/
|
|
1144
|
+
p: [{
|
|
1145
|
+
p: scaleUnambiguousSpacing()
|
|
1146
|
+
}],
|
|
1147
|
+
/**
|
|
1148
|
+
* Padding Inline
|
|
1149
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1150
|
+
*/
|
|
1151
|
+
px: [{
|
|
1152
|
+
px: scaleUnambiguousSpacing()
|
|
1153
|
+
}],
|
|
1154
|
+
/**
|
|
1155
|
+
* Padding Block
|
|
1156
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1157
|
+
*/
|
|
1158
|
+
py: [{
|
|
1159
|
+
py: scaleUnambiguousSpacing()
|
|
1160
|
+
}],
|
|
1161
|
+
/**
|
|
1162
|
+
* Padding Inline Start
|
|
1163
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1164
|
+
*/
|
|
1165
|
+
ps: [{
|
|
1166
|
+
ps: scaleUnambiguousSpacing()
|
|
1167
|
+
}],
|
|
1168
|
+
/**
|
|
1169
|
+
* Padding Inline End
|
|
1170
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1171
|
+
*/
|
|
1172
|
+
pe: [{
|
|
1173
|
+
pe: scaleUnambiguousSpacing()
|
|
1174
|
+
}],
|
|
1175
|
+
/**
|
|
1176
|
+
* Padding Block Start
|
|
1177
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1178
|
+
*/
|
|
1179
|
+
pbs: [{
|
|
1180
|
+
pbs: scaleUnambiguousSpacing()
|
|
1181
|
+
}],
|
|
1182
|
+
/**
|
|
1183
|
+
* Padding Block End
|
|
1184
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1185
|
+
*/
|
|
1186
|
+
pbe: [{
|
|
1187
|
+
pbe: scaleUnambiguousSpacing()
|
|
1188
|
+
}],
|
|
1189
|
+
/**
|
|
1190
|
+
* Padding Top
|
|
1191
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1192
|
+
*/
|
|
1193
|
+
pt: [{
|
|
1194
|
+
pt: scaleUnambiguousSpacing()
|
|
1195
|
+
}],
|
|
1196
|
+
/**
|
|
1197
|
+
* Padding Right
|
|
1198
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1199
|
+
*/
|
|
1200
|
+
pr: [{
|
|
1201
|
+
pr: scaleUnambiguousSpacing()
|
|
1202
|
+
}],
|
|
1203
|
+
/**
|
|
1204
|
+
* Padding Bottom
|
|
1205
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1206
|
+
*/
|
|
1207
|
+
pb: [{
|
|
1208
|
+
pb: scaleUnambiguousSpacing()
|
|
1209
|
+
}],
|
|
1210
|
+
/**
|
|
1211
|
+
* Padding Left
|
|
1212
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1213
|
+
*/
|
|
1214
|
+
pl: [{
|
|
1215
|
+
pl: scaleUnambiguousSpacing()
|
|
1216
|
+
}],
|
|
1217
|
+
/**
|
|
1218
|
+
* Margin
|
|
1219
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1220
|
+
*/
|
|
1221
|
+
m: [{
|
|
1222
|
+
m: scaleMargin()
|
|
1223
|
+
}],
|
|
1224
|
+
/**
|
|
1225
|
+
* Margin Inline
|
|
1226
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1227
|
+
*/
|
|
1228
|
+
mx: [{
|
|
1229
|
+
mx: scaleMargin()
|
|
1230
|
+
}],
|
|
1231
|
+
/**
|
|
1232
|
+
* Margin Block
|
|
1233
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1234
|
+
*/
|
|
1235
|
+
my: [{
|
|
1236
|
+
my: scaleMargin()
|
|
1237
|
+
}],
|
|
1238
|
+
/**
|
|
1239
|
+
* Margin Inline Start
|
|
1240
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1241
|
+
*/
|
|
1242
|
+
ms: [{
|
|
1243
|
+
ms: scaleMargin()
|
|
1244
|
+
}],
|
|
1245
|
+
/**
|
|
1246
|
+
* Margin Inline End
|
|
1247
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1248
|
+
*/
|
|
1249
|
+
me: [{
|
|
1250
|
+
me: scaleMargin()
|
|
1251
|
+
}],
|
|
1252
|
+
/**
|
|
1253
|
+
* Margin Block Start
|
|
1254
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1255
|
+
*/
|
|
1256
|
+
mbs: [{
|
|
1257
|
+
mbs: scaleMargin()
|
|
1258
|
+
}],
|
|
1259
|
+
/**
|
|
1260
|
+
* Margin Block End
|
|
1261
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1262
|
+
*/
|
|
1263
|
+
mbe: [{
|
|
1264
|
+
mbe: scaleMargin()
|
|
1265
|
+
}],
|
|
1266
|
+
/**
|
|
1267
|
+
* Margin Top
|
|
1268
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1269
|
+
*/
|
|
1270
|
+
mt: [{
|
|
1271
|
+
mt: scaleMargin()
|
|
1272
|
+
}],
|
|
1273
|
+
/**
|
|
1274
|
+
* Margin Right
|
|
1275
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1276
|
+
*/
|
|
1277
|
+
mr: [{
|
|
1278
|
+
mr: scaleMargin()
|
|
1279
|
+
}],
|
|
1280
|
+
/**
|
|
1281
|
+
* Margin Bottom
|
|
1282
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1283
|
+
*/
|
|
1284
|
+
mb: [{
|
|
1285
|
+
mb: scaleMargin()
|
|
1286
|
+
}],
|
|
1287
|
+
/**
|
|
1288
|
+
* Margin Left
|
|
1289
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1290
|
+
*/
|
|
1291
|
+
ml: [{
|
|
1292
|
+
ml: scaleMargin()
|
|
1293
|
+
}],
|
|
1294
|
+
/**
|
|
1295
|
+
* Space Between X
|
|
1296
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1297
|
+
*/
|
|
1298
|
+
'space-x': [{
|
|
1299
|
+
'space-x': scaleUnambiguousSpacing()
|
|
1300
|
+
}],
|
|
1301
|
+
/**
|
|
1302
|
+
* Space Between X Reverse
|
|
1303
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1304
|
+
*/
|
|
1305
|
+
'space-x-reverse': ['space-x-reverse'],
|
|
1306
|
+
/**
|
|
1307
|
+
* Space Between Y
|
|
1308
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1309
|
+
*/
|
|
1310
|
+
'space-y': [{
|
|
1311
|
+
'space-y': scaleUnambiguousSpacing()
|
|
1312
|
+
}],
|
|
1313
|
+
/**
|
|
1314
|
+
* Space Between Y Reverse
|
|
1315
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1316
|
+
*/
|
|
1317
|
+
'space-y-reverse': ['space-y-reverse'],
|
|
1318
|
+
// --------------
|
|
1319
|
+
// --- Sizing ---
|
|
1320
|
+
// --------------
|
|
1321
|
+
/**
|
|
1322
|
+
* Size
|
|
1323
|
+
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1324
|
+
*/
|
|
1325
|
+
size: [{
|
|
1326
|
+
size: scaleSizing()
|
|
1327
|
+
}],
|
|
1328
|
+
/**
|
|
1329
|
+
* Inline Size
|
|
1330
|
+
* @see https://tailwindcss.com/docs/width
|
|
1331
|
+
*/
|
|
1332
|
+
'inline-size': [{
|
|
1333
|
+
inline: ['auto', ...scaleSizingInline()]
|
|
1334
|
+
}],
|
|
1335
|
+
/**
|
|
1336
|
+
* Min-Inline Size
|
|
1337
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1338
|
+
*/
|
|
1339
|
+
'min-inline-size': [{
|
|
1340
|
+
'min-inline': ['auto', ...scaleSizingInline()]
|
|
1341
|
+
}],
|
|
1342
|
+
/**
|
|
1343
|
+
* Max-Inline Size
|
|
1344
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1345
|
+
*/
|
|
1346
|
+
'max-inline-size': [{
|
|
1347
|
+
'max-inline': ['none', ...scaleSizingInline()]
|
|
1348
|
+
}],
|
|
1349
|
+
/**
|
|
1350
|
+
* Block Size
|
|
1351
|
+
* @see https://tailwindcss.com/docs/height
|
|
1352
|
+
*/
|
|
1353
|
+
'block-size': [{
|
|
1354
|
+
block: ['auto', ...scaleSizingBlock()]
|
|
1355
|
+
}],
|
|
1356
|
+
/**
|
|
1357
|
+
* Min-Block Size
|
|
1358
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1359
|
+
*/
|
|
1360
|
+
'min-block-size': [{
|
|
1361
|
+
'min-block': ['auto', ...scaleSizingBlock()]
|
|
1362
|
+
}],
|
|
1363
|
+
/**
|
|
1364
|
+
* Max-Block Size
|
|
1365
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1366
|
+
*/
|
|
1367
|
+
'max-block-size': [{
|
|
1368
|
+
'max-block': ['none', ...scaleSizingBlock()]
|
|
1369
|
+
}],
|
|
1370
|
+
/**
|
|
1371
|
+
* Width
|
|
1372
|
+
* @see https://tailwindcss.com/docs/width
|
|
1373
|
+
*/
|
|
1374
|
+
w: [{
|
|
1375
|
+
w: [themeContainer, 'screen', ...scaleSizing()]
|
|
1376
|
+
}],
|
|
1377
|
+
/**
|
|
1378
|
+
* Min-Width
|
|
1379
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1380
|
+
*/
|
|
1381
|
+
'min-w': [{
|
|
1382
|
+
'min-w': [themeContainer, 'screen', /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1383
|
+
'none', ...scaleSizing()]
|
|
1384
|
+
}],
|
|
1385
|
+
/**
|
|
1386
|
+
* Max-Width
|
|
1387
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1388
|
+
*/
|
|
1389
|
+
'max-w': [{
|
|
1390
|
+
'max-w': [themeContainer, 'screen', 'none', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1391
|
+
'prose', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1392
|
+
{
|
|
1393
|
+
screen: [themeBreakpoint]
|
|
1394
|
+
}, ...scaleSizing()]
|
|
1395
|
+
}],
|
|
1396
|
+
/**
|
|
1397
|
+
* Height
|
|
1398
|
+
* @see https://tailwindcss.com/docs/height
|
|
1399
|
+
*/
|
|
1400
|
+
h: [{
|
|
1401
|
+
h: ['screen', 'lh', ...scaleSizing()]
|
|
1402
|
+
}],
|
|
1403
|
+
/**
|
|
1404
|
+
* Min-Height
|
|
1405
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1406
|
+
*/
|
|
1407
|
+
'min-h': [{
|
|
1408
|
+
'min-h': ['screen', 'lh', 'none', ...scaleSizing()]
|
|
1409
|
+
}],
|
|
1410
|
+
/**
|
|
1411
|
+
* Max-Height
|
|
1412
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1413
|
+
*/
|
|
1414
|
+
'max-h': [{
|
|
1415
|
+
'max-h': ['screen', 'lh', ...scaleSizing()]
|
|
1416
|
+
}],
|
|
1417
|
+
// ------------------
|
|
1418
|
+
// --- Typography ---
|
|
1419
|
+
// ------------------
|
|
1420
|
+
/**
|
|
1421
|
+
* Font Size
|
|
1422
|
+
* @see https://tailwindcss.com/docs/font-size
|
|
1423
|
+
*/
|
|
1424
|
+
'font-size': [{
|
|
1425
|
+
text: ['base', themeText, isArbitraryVariableLength, isArbitraryLength]
|
|
1426
|
+
}],
|
|
1427
|
+
/**
|
|
1428
|
+
* Font Smoothing
|
|
1429
|
+
* @see https://tailwindcss.com/docs/font-smoothing
|
|
1430
|
+
*/
|
|
1431
|
+
'font-smoothing': ['antialiased', 'subpixel-antialiased'],
|
|
1432
|
+
/**
|
|
1433
|
+
* Font Style
|
|
1434
|
+
* @see https://tailwindcss.com/docs/font-style
|
|
1435
|
+
*/
|
|
1436
|
+
'font-style': ['italic', 'not-italic'],
|
|
1437
|
+
/**
|
|
1438
|
+
* Font Weight
|
|
1439
|
+
* @see https://tailwindcss.com/docs/font-weight
|
|
1440
|
+
*/
|
|
1441
|
+
'font-weight': [{
|
|
1442
|
+
font: [themeFontWeight, isArbitraryVariableWeight, isArbitraryWeight]
|
|
1443
|
+
}],
|
|
1444
|
+
/**
|
|
1445
|
+
* Font Stretch
|
|
1446
|
+
* @see https://tailwindcss.com/docs/font-stretch
|
|
1447
|
+
*/
|
|
1448
|
+
'font-stretch': [{
|
|
1449
|
+
'font-stretch': ['ultra-condensed', 'extra-condensed', 'condensed', 'semi-condensed', 'normal', 'semi-expanded', 'expanded', 'extra-expanded', 'ultra-expanded', isPercent, isArbitraryValue]
|
|
1450
|
+
}],
|
|
1451
|
+
/**
|
|
1452
|
+
* Font Family
|
|
1453
|
+
* @see https://tailwindcss.com/docs/font-family
|
|
1454
|
+
*/
|
|
1455
|
+
'font-family': [{
|
|
1456
|
+
font: [isArbitraryVariableFamilyName, isArbitraryFamilyName, themeFont]
|
|
1457
|
+
}],
|
|
1458
|
+
/**
|
|
1459
|
+
* Font Feature Settings
|
|
1460
|
+
* @see https://tailwindcss.com/docs/font-feature-settings
|
|
1461
|
+
*/
|
|
1462
|
+
'font-features': [{
|
|
1463
|
+
'font-features': [isArbitraryValue]
|
|
1464
|
+
}],
|
|
1465
|
+
/**
|
|
1466
|
+
* Font Variant Numeric
|
|
1467
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1468
|
+
*/
|
|
1469
|
+
'fvn-normal': ['normal-nums'],
|
|
1470
|
+
/**
|
|
1471
|
+
* Font Variant Numeric
|
|
1472
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1473
|
+
*/
|
|
1474
|
+
'fvn-ordinal': ['ordinal'],
|
|
1475
|
+
/**
|
|
1476
|
+
* Font Variant Numeric
|
|
1477
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1478
|
+
*/
|
|
1479
|
+
'fvn-slashed-zero': ['slashed-zero'],
|
|
1480
|
+
/**
|
|
1481
|
+
* Font Variant Numeric
|
|
1482
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1483
|
+
*/
|
|
1484
|
+
'fvn-figure': ['lining-nums', 'oldstyle-nums'],
|
|
1485
|
+
/**
|
|
1486
|
+
* Font Variant Numeric
|
|
1487
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1488
|
+
*/
|
|
1489
|
+
'fvn-spacing': ['proportional-nums', 'tabular-nums'],
|
|
1490
|
+
/**
|
|
1491
|
+
* Font Variant Numeric
|
|
1492
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1493
|
+
*/
|
|
1494
|
+
'fvn-fraction': ['diagonal-fractions', 'stacked-fractions'],
|
|
1495
|
+
/**
|
|
1496
|
+
* Letter Spacing
|
|
1497
|
+
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1498
|
+
*/
|
|
1499
|
+
tracking: [{
|
|
1500
|
+
tracking: [themeTracking, isArbitraryVariable, isArbitraryValue]
|
|
1501
|
+
}],
|
|
1502
|
+
/**
|
|
1503
|
+
* Line Clamp
|
|
1504
|
+
* @see https://tailwindcss.com/docs/line-clamp
|
|
1505
|
+
*/
|
|
1506
|
+
'line-clamp': [{
|
|
1507
|
+
'line-clamp': [isNumber, 'none', isArbitraryVariable, isArbitraryNumber]
|
|
1508
|
+
}],
|
|
1509
|
+
/**
|
|
1510
|
+
* Line Height
|
|
1511
|
+
* @see https://tailwindcss.com/docs/line-height
|
|
1512
|
+
*/
|
|
1513
|
+
leading: [{
|
|
1514
|
+
leading: [/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1515
|
+
themeLeading, ...scaleUnambiguousSpacing()]
|
|
1516
|
+
}],
|
|
1517
|
+
/**
|
|
1518
|
+
* List Style Image
|
|
1519
|
+
* @see https://tailwindcss.com/docs/list-style-image
|
|
1520
|
+
*/
|
|
1521
|
+
'list-image': [{
|
|
1522
|
+
'list-image': ['none', isArbitraryVariable, isArbitraryValue]
|
|
1523
|
+
}],
|
|
1524
|
+
/**
|
|
1525
|
+
* List Style Position
|
|
1526
|
+
* @see https://tailwindcss.com/docs/list-style-position
|
|
1527
|
+
*/
|
|
1528
|
+
'list-style-position': [{
|
|
1529
|
+
list: ['inside', 'outside']
|
|
1530
|
+
}],
|
|
1531
|
+
/**
|
|
1532
|
+
* List Style Type
|
|
1533
|
+
* @see https://tailwindcss.com/docs/list-style-type
|
|
1534
|
+
*/
|
|
1535
|
+
'list-style-type': [{
|
|
1536
|
+
list: ['disc', 'decimal', 'none', isArbitraryVariable, isArbitraryValue]
|
|
1537
|
+
}],
|
|
1538
|
+
/**
|
|
1539
|
+
* Text Alignment
|
|
1540
|
+
* @see https://tailwindcss.com/docs/text-align
|
|
1541
|
+
*/
|
|
1542
|
+
'text-alignment': [{
|
|
1543
|
+
text: ['left', 'center', 'right', 'justify', 'start', 'end']
|
|
1544
|
+
}],
|
|
1545
|
+
/**
|
|
1546
|
+
* Placeholder Color
|
|
1547
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
1548
|
+
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1549
|
+
*/
|
|
1550
|
+
'placeholder-color': [{
|
|
1551
|
+
placeholder: scaleColor()
|
|
1552
|
+
}],
|
|
1553
|
+
/**
|
|
1554
|
+
* Text Color
|
|
1555
|
+
* @see https://tailwindcss.com/docs/text-color
|
|
1556
|
+
*/
|
|
1557
|
+
'text-color': [{
|
|
1558
|
+
text: scaleColor()
|
|
1559
|
+
}],
|
|
1560
|
+
/**
|
|
1561
|
+
* Text Decoration
|
|
1562
|
+
* @see https://tailwindcss.com/docs/text-decoration
|
|
1563
|
+
*/
|
|
1564
|
+
'text-decoration': ['underline', 'overline', 'line-through', 'no-underline'],
|
|
1565
|
+
/**
|
|
1566
|
+
* Text Decoration Style
|
|
1567
|
+
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1568
|
+
*/
|
|
1569
|
+
'text-decoration-style': [{
|
|
1570
|
+
decoration: [...scaleLineStyle(), 'wavy']
|
|
1571
|
+
}],
|
|
1572
|
+
/**
|
|
1573
|
+
* Text Decoration Thickness
|
|
1574
|
+
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1575
|
+
*/
|
|
1576
|
+
'text-decoration-thickness': [{
|
|
1577
|
+
decoration: [isNumber, 'from-font', 'auto', isArbitraryVariable, isArbitraryLength]
|
|
1578
|
+
}],
|
|
1579
|
+
/**
|
|
1580
|
+
* Text Decoration Color
|
|
1581
|
+
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1582
|
+
*/
|
|
1583
|
+
'text-decoration-color': [{
|
|
1584
|
+
decoration: scaleColor()
|
|
1585
|
+
}],
|
|
1586
|
+
/**
|
|
1587
|
+
* Text Underline Offset
|
|
1588
|
+
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1589
|
+
*/
|
|
1590
|
+
'underline-offset': [{
|
|
1591
|
+
'underline-offset': [isNumber, 'auto', isArbitraryVariable, isArbitraryValue]
|
|
1592
|
+
}],
|
|
1593
|
+
/**
|
|
1594
|
+
* Text Transform
|
|
1595
|
+
* @see https://tailwindcss.com/docs/text-transform
|
|
1596
|
+
*/
|
|
1597
|
+
'text-transform': ['uppercase', 'lowercase', 'capitalize', 'normal-case'],
|
|
1598
|
+
/**
|
|
1599
|
+
* Text Overflow
|
|
1600
|
+
* @see https://tailwindcss.com/docs/text-overflow
|
|
1601
|
+
*/
|
|
1602
|
+
'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],
|
|
1603
|
+
/**
|
|
1604
|
+
* Text Wrap
|
|
1605
|
+
* @see https://tailwindcss.com/docs/text-wrap
|
|
1606
|
+
*/
|
|
1607
|
+
'text-wrap': [{
|
|
1608
|
+
text: ['wrap', 'nowrap', 'balance', 'pretty']
|
|
1609
|
+
}],
|
|
1610
|
+
/**
|
|
1611
|
+
* Text Indent
|
|
1612
|
+
* @see https://tailwindcss.com/docs/text-indent
|
|
1613
|
+
*/
|
|
1614
|
+
indent: [{
|
|
1615
|
+
indent: scaleUnambiguousSpacing()
|
|
1616
|
+
}],
|
|
1617
|
+
/**
|
|
1618
|
+
* Vertical Alignment
|
|
1619
|
+
* @see https://tailwindcss.com/docs/vertical-align
|
|
1620
|
+
*/
|
|
1621
|
+
'vertical-align': [{
|
|
1622
|
+
align: ['baseline', 'top', 'middle', 'bottom', 'text-top', 'text-bottom', 'sub', 'super', isArbitraryVariable, isArbitraryValue]
|
|
1623
|
+
}],
|
|
1624
|
+
/**
|
|
1625
|
+
* Whitespace
|
|
1626
|
+
* @see https://tailwindcss.com/docs/whitespace
|
|
1627
|
+
*/
|
|
1628
|
+
whitespace: [{
|
|
1629
|
+
whitespace: ['normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap', 'break-spaces']
|
|
1630
|
+
}],
|
|
1631
|
+
/**
|
|
1632
|
+
* Word Break
|
|
1633
|
+
* @see https://tailwindcss.com/docs/word-break
|
|
1634
|
+
*/
|
|
1635
|
+
break: [{
|
|
1636
|
+
break: ['normal', 'words', 'all', 'keep']
|
|
1637
|
+
}],
|
|
1638
|
+
/**
|
|
1639
|
+
* Overflow Wrap
|
|
1640
|
+
* @see https://tailwindcss.com/docs/overflow-wrap
|
|
1641
|
+
*/
|
|
1642
|
+
wrap: [{
|
|
1643
|
+
wrap: ['break-word', 'anywhere', 'normal']
|
|
1644
|
+
}],
|
|
1645
|
+
/**
|
|
1646
|
+
* Hyphens
|
|
1647
|
+
* @see https://tailwindcss.com/docs/hyphens
|
|
1648
|
+
*/
|
|
1649
|
+
hyphens: [{
|
|
1650
|
+
hyphens: ['none', 'manual', 'auto']
|
|
1651
|
+
}],
|
|
1652
|
+
/**
|
|
1653
|
+
* Content
|
|
1654
|
+
* @see https://tailwindcss.com/docs/content
|
|
1655
|
+
*/
|
|
1656
|
+
content: [{
|
|
1657
|
+
content: ['none', isArbitraryVariable, isArbitraryValue]
|
|
1658
|
+
}],
|
|
1659
|
+
// -------------------
|
|
1660
|
+
// --- Backgrounds ---
|
|
1661
|
+
// -------------------
|
|
1662
|
+
/**
|
|
1663
|
+
* Background Attachment
|
|
1664
|
+
* @see https://tailwindcss.com/docs/background-attachment
|
|
1665
|
+
*/
|
|
1666
|
+
'bg-attachment': [{
|
|
1667
|
+
bg: ['fixed', 'local', 'scroll']
|
|
1668
|
+
}],
|
|
1669
|
+
/**
|
|
1670
|
+
* Background Clip
|
|
1671
|
+
* @see https://tailwindcss.com/docs/background-clip
|
|
1672
|
+
*/
|
|
1673
|
+
'bg-clip': [{
|
|
1674
|
+
'bg-clip': ['border', 'padding', 'content', 'text']
|
|
1675
|
+
}],
|
|
1676
|
+
/**
|
|
1677
|
+
* Background Origin
|
|
1678
|
+
* @see https://tailwindcss.com/docs/background-origin
|
|
1679
|
+
*/
|
|
1680
|
+
'bg-origin': [{
|
|
1681
|
+
'bg-origin': ['border', 'padding', 'content']
|
|
1682
|
+
}],
|
|
1683
|
+
/**
|
|
1684
|
+
* Background Position
|
|
1685
|
+
* @see https://tailwindcss.com/docs/background-position
|
|
1686
|
+
*/
|
|
1687
|
+
'bg-position': [{
|
|
1688
|
+
bg: scaleBgPosition()
|
|
1689
|
+
}],
|
|
1690
|
+
/**
|
|
1691
|
+
* Background Repeat
|
|
1692
|
+
* @see https://tailwindcss.com/docs/background-repeat
|
|
1693
|
+
*/
|
|
1694
|
+
'bg-repeat': [{
|
|
1695
|
+
bg: scaleBgRepeat()
|
|
1696
|
+
}],
|
|
1697
|
+
/**
|
|
1698
|
+
* Background Size
|
|
1699
|
+
* @see https://tailwindcss.com/docs/background-size
|
|
1700
|
+
*/
|
|
1701
|
+
'bg-size': [{
|
|
1702
|
+
bg: scaleBgSize()
|
|
1703
|
+
}],
|
|
1704
|
+
/**
|
|
1705
|
+
* Background Image
|
|
1706
|
+
* @see https://tailwindcss.com/docs/background-image
|
|
1707
|
+
*/
|
|
1708
|
+
'bg-image': [{
|
|
1709
|
+
bg: ['none', {
|
|
1710
|
+
linear: [{
|
|
1711
|
+
to: ['t', 'tr', 'r', 'br', 'b', 'bl', 'l', 'tl']
|
|
1712
|
+
}, isInteger, isArbitraryVariable, isArbitraryValue],
|
|
1713
|
+
radial: ['', isArbitraryVariable, isArbitraryValue],
|
|
1714
|
+
conic: [isInteger, isArbitraryVariable, isArbitraryValue]
|
|
1715
|
+
}, isArbitraryVariableImage, isArbitraryImage]
|
|
1716
|
+
}],
|
|
1717
|
+
/**
|
|
1718
|
+
* Background Color
|
|
1719
|
+
* @see https://tailwindcss.com/docs/background-color
|
|
1720
|
+
*/
|
|
1721
|
+
'bg-color': [{
|
|
1722
|
+
bg: scaleColor()
|
|
1723
|
+
}],
|
|
1724
|
+
/**
|
|
1725
|
+
* Gradient Color Stops From Position
|
|
1726
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1727
|
+
*/
|
|
1728
|
+
'gradient-from-pos': [{
|
|
1729
|
+
from: scaleGradientStopPosition()
|
|
1730
|
+
}],
|
|
1731
|
+
/**
|
|
1732
|
+
* Gradient Color Stops Via Position
|
|
1733
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1734
|
+
*/
|
|
1735
|
+
'gradient-via-pos': [{
|
|
1736
|
+
via: scaleGradientStopPosition()
|
|
1737
|
+
}],
|
|
1738
|
+
/**
|
|
1739
|
+
* Gradient Color Stops To Position
|
|
1740
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1741
|
+
*/
|
|
1742
|
+
'gradient-to-pos': [{
|
|
1743
|
+
to: scaleGradientStopPosition()
|
|
1744
|
+
}],
|
|
1745
|
+
/**
|
|
1746
|
+
* Gradient Color Stops From
|
|
1747
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1748
|
+
*/
|
|
1749
|
+
'gradient-from': [{
|
|
1750
|
+
from: scaleColor()
|
|
1751
|
+
}],
|
|
1752
|
+
/**
|
|
1753
|
+
* Gradient Color Stops Via
|
|
1754
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1755
|
+
*/
|
|
1756
|
+
'gradient-via': [{
|
|
1757
|
+
via: scaleColor()
|
|
1758
|
+
}],
|
|
1759
|
+
/**
|
|
1760
|
+
* Gradient Color Stops To
|
|
1761
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1762
|
+
*/
|
|
1763
|
+
'gradient-to': [{
|
|
1764
|
+
to: scaleColor()
|
|
1765
|
+
}],
|
|
1766
|
+
// ---------------
|
|
1767
|
+
// --- Borders ---
|
|
1768
|
+
// ---------------
|
|
1769
|
+
/**
|
|
1770
|
+
* Border Radius
|
|
1771
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1772
|
+
*/
|
|
1773
|
+
rounded: [{
|
|
1774
|
+
rounded: scaleRadius()
|
|
1775
|
+
}],
|
|
1776
|
+
/**
|
|
1777
|
+
* Border Radius Start
|
|
1778
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1779
|
+
*/
|
|
1780
|
+
'rounded-s': [{
|
|
1781
|
+
'rounded-s': scaleRadius()
|
|
1782
|
+
}],
|
|
1783
|
+
/**
|
|
1784
|
+
* Border Radius End
|
|
1785
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1786
|
+
*/
|
|
1787
|
+
'rounded-e': [{
|
|
1788
|
+
'rounded-e': scaleRadius()
|
|
1789
|
+
}],
|
|
1790
|
+
/**
|
|
1791
|
+
* Border Radius Top
|
|
1792
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1793
|
+
*/
|
|
1794
|
+
'rounded-t': [{
|
|
1795
|
+
'rounded-t': scaleRadius()
|
|
1796
|
+
}],
|
|
1797
|
+
/**
|
|
1798
|
+
* Border Radius Right
|
|
1799
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1800
|
+
*/
|
|
1801
|
+
'rounded-r': [{
|
|
1802
|
+
'rounded-r': scaleRadius()
|
|
1803
|
+
}],
|
|
1804
|
+
/**
|
|
1805
|
+
* Border Radius Bottom
|
|
1806
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1807
|
+
*/
|
|
1808
|
+
'rounded-b': [{
|
|
1809
|
+
'rounded-b': scaleRadius()
|
|
1810
|
+
}],
|
|
1811
|
+
/**
|
|
1812
|
+
* Border Radius Left
|
|
1813
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1814
|
+
*/
|
|
1815
|
+
'rounded-l': [{
|
|
1816
|
+
'rounded-l': scaleRadius()
|
|
1817
|
+
}],
|
|
1818
|
+
/**
|
|
1819
|
+
* Border Radius Start Start
|
|
1820
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1821
|
+
*/
|
|
1822
|
+
'rounded-ss': [{
|
|
1823
|
+
'rounded-ss': scaleRadius()
|
|
1824
|
+
}],
|
|
1825
|
+
/**
|
|
1826
|
+
* Border Radius Start End
|
|
1827
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1828
|
+
*/
|
|
1829
|
+
'rounded-se': [{
|
|
1830
|
+
'rounded-se': scaleRadius()
|
|
1831
|
+
}],
|
|
1832
|
+
/**
|
|
1833
|
+
* Border Radius End End
|
|
1834
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1835
|
+
*/
|
|
1836
|
+
'rounded-ee': [{
|
|
1837
|
+
'rounded-ee': scaleRadius()
|
|
1838
|
+
}],
|
|
1839
|
+
/**
|
|
1840
|
+
* Border Radius End Start
|
|
1841
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1842
|
+
*/
|
|
1843
|
+
'rounded-es': [{
|
|
1844
|
+
'rounded-es': scaleRadius()
|
|
1845
|
+
}],
|
|
1846
|
+
/**
|
|
1847
|
+
* Border Radius Top Left
|
|
1848
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1849
|
+
*/
|
|
1850
|
+
'rounded-tl': [{
|
|
1851
|
+
'rounded-tl': scaleRadius()
|
|
1852
|
+
}],
|
|
1853
|
+
/**
|
|
1854
|
+
* Border Radius Top Right
|
|
1855
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1856
|
+
*/
|
|
1857
|
+
'rounded-tr': [{
|
|
1858
|
+
'rounded-tr': scaleRadius()
|
|
1859
|
+
}],
|
|
1860
|
+
/**
|
|
1861
|
+
* Border Radius Bottom Right
|
|
1862
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1863
|
+
*/
|
|
1864
|
+
'rounded-br': [{
|
|
1865
|
+
'rounded-br': scaleRadius()
|
|
1866
|
+
}],
|
|
1867
|
+
/**
|
|
1868
|
+
* Border Radius Bottom Left
|
|
1869
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1870
|
+
*/
|
|
1871
|
+
'rounded-bl': [{
|
|
1872
|
+
'rounded-bl': scaleRadius()
|
|
1873
|
+
}],
|
|
1874
|
+
/**
|
|
1875
|
+
* Border Width
|
|
1876
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1877
|
+
*/
|
|
1878
|
+
'border-w': [{
|
|
1879
|
+
border: scaleBorderWidth()
|
|
1880
|
+
}],
|
|
1881
|
+
/**
|
|
1882
|
+
* Border Width Inline
|
|
1883
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1884
|
+
*/
|
|
1885
|
+
'border-w-x': [{
|
|
1886
|
+
'border-x': scaleBorderWidth()
|
|
1887
|
+
}],
|
|
1888
|
+
/**
|
|
1889
|
+
* Border Width Block
|
|
1890
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1891
|
+
*/
|
|
1892
|
+
'border-w-y': [{
|
|
1893
|
+
'border-y': scaleBorderWidth()
|
|
1894
|
+
}],
|
|
1895
|
+
/**
|
|
1896
|
+
* Border Width Inline Start
|
|
1897
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1898
|
+
*/
|
|
1899
|
+
'border-w-s': [{
|
|
1900
|
+
'border-s': scaleBorderWidth()
|
|
1901
|
+
}],
|
|
1902
|
+
/**
|
|
1903
|
+
* Border Width Inline End
|
|
1904
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1905
|
+
*/
|
|
1906
|
+
'border-w-e': [{
|
|
1907
|
+
'border-e': scaleBorderWidth()
|
|
1908
|
+
}],
|
|
1909
|
+
/**
|
|
1910
|
+
* Border Width Block Start
|
|
1911
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1912
|
+
*/
|
|
1913
|
+
'border-w-bs': [{
|
|
1914
|
+
'border-bs': scaleBorderWidth()
|
|
1915
|
+
}],
|
|
1916
|
+
/**
|
|
1917
|
+
* Border Width Block End
|
|
1918
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1919
|
+
*/
|
|
1920
|
+
'border-w-be': [{
|
|
1921
|
+
'border-be': scaleBorderWidth()
|
|
1922
|
+
}],
|
|
1923
|
+
/**
|
|
1924
|
+
* Border Width Top
|
|
1925
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1926
|
+
*/
|
|
1927
|
+
'border-w-t': [{
|
|
1928
|
+
'border-t': scaleBorderWidth()
|
|
1929
|
+
}],
|
|
1930
|
+
/**
|
|
1931
|
+
* Border Width Right
|
|
1932
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1933
|
+
*/
|
|
1934
|
+
'border-w-r': [{
|
|
1935
|
+
'border-r': scaleBorderWidth()
|
|
1936
|
+
}],
|
|
1937
|
+
/**
|
|
1938
|
+
* Border Width Bottom
|
|
1939
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1940
|
+
*/
|
|
1941
|
+
'border-w-b': [{
|
|
1942
|
+
'border-b': scaleBorderWidth()
|
|
1943
|
+
}],
|
|
1944
|
+
/**
|
|
1945
|
+
* Border Width Left
|
|
1946
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1947
|
+
*/
|
|
1948
|
+
'border-w-l': [{
|
|
1949
|
+
'border-l': scaleBorderWidth()
|
|
1950
|
+
}],
|
|
1951
|
+
/**
|
|
1952
|
+
* Divide Width X
|
|
1953
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1954
|
+
*/
|
|
1955
|
+
'divide-x': [{
|
|
1956
|
+
'divide-x': scaleBorderWidth()
|
|
1957
|
+
}],
|
|
1958
|
+
/**
|
|
1959
|
+
* Divide Width X Reverse
|
|
1960
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1961
|
+
*/
|
|
1962
|
+
'divide-x-reverse': ['divide-x-reverse'],
|
|
1963
|
+
/**
|
|
1964
|
+
* Divide Width Y
|
|
1965
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1966
|
+
*/
|
|
1967
|
+
'divide-y': [{
|
|
1968
|
+
'divide-y': scaleBorderWidth()
|
|
1969
|
+
}],
|
|
1970
|
+
/**
|
|
1971
|
+
* Divide Width Y Reverse
|
|
1972
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1973
|
+
*/
|
|
1974
|
+
'divide-y-reverse': ['divide-y-reverse'],
|
|
1975
|
+
/**
|
|
1976
|
+
* Border Style
|
|
1977
|
+
* @see https://tailwindcss.com/docs/border-style
|
|
1978
|
+
*/
|
|
1979
|
+
'border-style': [{
|
|
1980
|
+
border: [...scaleLineStyle(), 'hidden', 'none']
|
|
1981
|
+
}],
|
|
1982
|
+
/**
|
|
1983
|
+
* Divide Style
|
|
1984
|
+
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1985
|
+
*/
|
|
1986
|
+
'divide-style': [{
|
|
1987
|
+
divide: [...scaleLineStyle(), 'hidden', 'none']
|
|
1988
|
+
}],
|
|
1989
|
+
/**
|
|
1990
|
+
* Border Color
|
|
1991
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1992
|
+
*/
|
|
1993
|
+
'border-color': [{
|
|
1994
|
+
border: scaleColor()
|
|
1995
|
+
}],
|
|
1996
|
+
/**
|
|
1997
|
+
* Border Color Inline
|
|
1998
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1999
|
+
*/
|
|
2000
|
+
'border-color-x': [{
|
|
2001
|
+
'border-x': scaleColor()
|
|
2002
|
+
}],
|
|
2003
|
+
/**
|
|
2004
|
+
* Border Color Block
|
|
2005
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2006
|
+
*/
|
|
2007
|
+
'border-color-y': [{
|
|
2008
|
+
'border-y': scaleColor()
|
|
2009
|
+
}],
|
|
2010
|
+
/**
|
|
2011
|
+
* Border Color Inline Start
|
|
2012
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2013
|
+
*/
|
|
2014
|
+
'border-color-s': [{
|
|
2015
|
+
'border-s': scaleColor()
|
|
2016
|
+
}],
|
|
2017
|
+
/**
|
|
2018
|
+
* Border Color Inline End
|
|
2019
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2020
|
+
*/
|
|
2021
|
+
'border-color-e': [{
|
|
2022
|
+
'border-e': scaleColor()
|
|
2023
|
+
}],
|
|
2024
|
+
/**
|
|
2025
|
+
* Border Color Block Start
|
|
2026
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2027
|
+
*/
|
|
2028
|
+
'border-color-bs': [{
|
|
2029
|
+
'border-bs': scaleColor()
|
|
2030
|
+
}],
|
|
2031
|
+
/**
|
|
2032
|
+
* Border Color Block End
|
|
2033
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2034
|
+
*/
|
|
2035
|
+
'border-color-be': [{
|
|
2036
|
+
'border-be': scaleColor()
|
|
2037
|
+
}],
|
|
2038
|
+
/**
|
|
2039
|
+
* Border Color Top
|
|
2040
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2041
|
+
*/
|
|
2042
|
+
'border-color-t': [{
|
|
2043
|
+
'border-t': scaleColor()
|
|
2044
|
+
}],
|
|
2045
|
+
/**
|
|
2046
|
+
* Border Color Right
|
|
2047
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2048
|
+
*/
|
|
2049
|
+
'border-color-r': [{
|
|
2050
|
+
'border-r': scaleColor()
|
|
2051
|
+
}],
|
|
2052
|
+
/**
|
|
2053
|
+
* Border Color Bottom
|
|
2054
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2055
|
+
*/
|
|
2056
|
+
'border-color-b': [{
|
|
2057
|
+
'border-b': scaleColor()
|
|
2058
|
+
}],
|
|
2059
|
+
/**
|
|
2060
|
+
* Border Color Left
|
|
2061
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2062
|
+
*/
|
|
2063
|
+
'border-color-l': [{
|
|
2064
|
+
'border-l': scaleColor()
|
|
2065
|
+
}],
|
|
2066
|
+
/**
|
|
2067
|
+
* Divide Color
|
|
2068
|
+
* @see https://tailwindcss.com/docs/divide-color
|
|
2069
|
+
*/
|
|
2070
|
+
'divide-color': [{
|
|
2071
|
+
divide: scaleColor()
|
|
2072
|
+
}],
|
|
2073
|
+
/**
|
|
2074
|
+
* Outline Style
|
|
2075
|
+
* @see https://tailwindcss.com/docs/outline-style
|
|
2076
|
+
*/
|
|
2077
|
+
'outline-style': [{
|
|
2078
|
+
outline: [...scaleLineStyle(), 'none', 'hidden']
|
|
2079
|
+
}],
|
|
2080
|
+
/**
|
|
2081
|
+
* Outline Offset
|
|
2082
|
+
* @see https://tailwindcss.com/docs/outline-offset
|
|
2083
|
+
*/
|
|
2084
|
+
'outline-offset': [{
|
|
2085
|
+
'outline-offset': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2086
|
+
}],
|
|
2087
|
+
/**
|
|
2088
|
+
* Outline Width
|
|
2089
|
+
* @see https://tailwindcss.com/docs/outline-width
|
|
2090
|
+
*/
|
|
2091
|
+
'outline-w': [{
|
|
2092
|
+
outline: ['', isNumber, isArbitraryVariableLength, isArbitraryLength]
|
|
2093
|
+
}],
|
|
2094
|
+
/**
|
|
2095
|
+
* Outline Color
|
|
2096
|
+
* @see https://tailwindcss.com/docs/outline-color
|
|
2097
|
+
*/
|
|
2098
|
+
'outline-color': [{
|
|
2099
|
+
outline: scaleColor()
|
|
2100
|
+
}],
|
|
2101
|
+
// ---------------
|
|
2102
|
+
// --- Effects ---
|
|
2103
|
+
// ---------------
|
|
2104
|
+
/**
|
|
2105
|
+
* Box Shadow
|
|
2106
|
+
* @see https://tailwindcss.com/docs/box-shadow
|
|
2107
|
+
*/
|
|
2108
|
+
shadow: [{
|
|
2109
|
+
shadow: [
|
|
2110
|
+
// Deprecated since Tailwind CSS v4.0.0
|
|
2111
|
+
'', 'none', themeShadow, isArbitraryVariableShadow, isArbitraryShadow]
|
|
2112
|
+
}],
|
|
2113
|
+
/**
|
|
2114
|
+
* Box Shadow Color
|
|
2115
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2116
|
+
*/
|
|
2117
|
+
'shadow-color': [{
|
|
2118
|
+
shadow: scaleColor()
|
|
2119
|
+
}],
|
|
2120
|
+
/**
|
|
2121
|
+
* Inset Box Shadow
|
|
2122
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2123
|
+
*/
|
|
2124
|
+
'inset-shadow': [{
|
|
2125
|
+
'inset-shadow': ['none', themeInsetShadow, isArbitraryVariableShadow, isArbitraryShadow]
|
|
2126
|
+
}],
|
|
2127
|
+
/**
|
|
2128
|
+
* Inset Box Shadow Color
|
|
2129
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2130
|
+
*/
|
|
2131
|
+
'inset-shadow-color': [{
|
|
2132
|
+
'inset-shadow': scaleColor()
|
|
2133
|
+
}],
|
|
2134
|
+
/**
|
|
2135
|
+
* Ring Width
|
|
2136
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2137
|
+
*/
|
|
2138
|
+
'ring-w': [{
|
|
2139
|
+
ring: scaleBorderWidth()
|
|
2140
|
+
}],
|
|
2141
|
+
/**
|
|
2142
|
+
* Ring Width Inset
|
|
2143
|
+
* @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
|
|
2144
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
2145
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2146
|
+
*/
|
|
2147
|
+
'ring-w-inset': ['ring-inset'],
|
|
2148
|
+
/**
|
|
2149
|
+
* Ring Color
|
|
2150
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2151
|
+
*/
|
|
2152
|
+
'ring-color': [{
|
|
2153
|
+
ring: scaleColor()
|
|
2154
|
+
}],
|
|
2155
|
+
/**
|
|
2156
|
+
* Ring Offset Width
|
|
2157
|
+
* @see https://v3.tailwindcss.com/docs/ring-offset-width
|
|
2158
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
2159
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2160
|
+
*/
|
|
2161
|
+
'ring-offset-w': [{
|
|
2162
|
+
'ring-offset': [isNumber, isArbitraryLength]
|
|
2163
|
+
}],
|
|
2164
|
+
/**
|
|
2165
|
+
* Ring Offset Color
|
|
2166
|
+
* @see https://v3.tailwindcss.com/docs/ring-offset-color
|
|
2167
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
2168
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2169
|
+
*/
|
|
2170
|
+
'ring-offset-color': [{
|
|
2171
|
+
'ring-offset': scaleColor()
|
|
2172
|
+
}],
|
|
2173
|
+
/**
|
|
2174
|
+
* Inset Ring Width
|
|
2175
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2176
|
+
*/
|
|
2177
|
+
'inset-ring-w': [{
|
|
2178
|
+
'inset-ring': scaleBorderWidth()
|
|
2179
|
+
}],
|
|
2180
|
+
/**
|
|
2181
|
+
* Inset Ring Color
|
|
2182
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2183
|
+
*/
|
|
2184
|
+
'inset-ring-color': [{
|
|
2185
|
+
'inset-ring': scaleColor()
|
|
2186
|
+
}],
|
|
2187
|
+
/**
|
|
2188
|
+
* Text Shadow
|
|
2189
|
+
* @see https://tailwindcss.com/docs/text-shadow
|
|
2190
|
+
*/
|
|
2191
|
+
'text-shadow': [{
|
|
2192
|
+
'text-shadow': ['none', themeTextShadow, isArbitraryVariableShadow, isArbitraryShadow]
|
|
2193
|
+
}],
|
|
2194
|
+
/**
|
|
2195
|
+
* Text Shadow Color
|
|
2196
|
+
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2197
|
+
*/
|
|
2198
|
+
'text-shadow-color': [{
|
|
2199
|
+
'text-shadow': scaleColor()
|
|
2200
|
+
}],
|
|
2201
|
+
/**
|
|
2202
|
+
* Opacity
|
|
2203
|
+
* @see https://tailwindcss.com/docs/opacity
|
|
2204
|
+
*/
|
|
2205
|
+
opacity: [{
|
|
2206
|
+
opacity: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2207
|
+
}],
|
|
2208
|
+
/**
|
|
2209
|
+
* Mix Blend Mode
|
|
2210
|
+
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2211
|
+
*/
|
|
2212
|
+
'mix-blend': [{
|
|
2213
|
+
'mix-blend': [...scaleBlendMode(), 'plus-darker', 'plus-lighter']
|
|
2214
|
+
}],
|
|
2215
|
+
/**
|
|
2216
|
+
* Background Blend Mode
|
|
2217
|
+
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2218
|
+
*/
|
|
2219
|
+
'bg-blend': [{
|
|
2220
|
+
'bg-blend': scaleBlendMode()
|
|
2221
|
+
}],
|
|
2222
|
+
/**
|
|
2223
|
+
* Mask Clip
|
|
2224
|
+
* @see https://tailwindcss.com/docs/mask-clip
|
|
2225
|
+
*/
|
|
2226
|
+
'mask-clip': [{
|
|
2227
|
+
'mask-clip': ['border', 'padding', 'content', 'fill', 'stroke', 'view']
|
|
2228
|
+
}, 'mask-no-clip'],
|
|
2229
|
+
/**
|
|
2230
|
+
* Mask Composite
|
|
2231
|
+
* @see https://tailwindcss.com/docs/mask-composite
|
|
2232
|
+
*/
|
|
2233
|
+
'mask-composite': [{
|
|
2234
|
+
mask: ['add', 'subtract', 'intersect', 'exclude']
|
|
2235
|
+
}],
|
|
2236
|
+
/**
|
|
2237
|
+
* Mask Image
|
|
2238
|
+
* @see https://tailwindcss.com/docs/mask-image
|
|
2239
|
+
*/
|
|
2240
|
+
'mask-image-linear-pos': [{
|
|
2241
|
+
'mask-linear': [isNumber]
|
|
2242
|
+
}],
|
|
2243
|
+
'mask-image-linear-from-pos': [{
|
|
2244
|
+
'mask-linear-from': scaleMaskImagePosition()
|
|
2245
|
+
}],
|
|
2246
|
+
'mask-image-linear-to-pos': [{
|
|
2247
|
+
'mask-linear-to': scaleMaskImagePosition()
|
|
2248
|
+
}],
|
|
2249
|
+
'mask-image-linear-from-color': [{
|
|
2250
|
+
'mask-linear-from': scaleColor()
|
|
2251
|
+
}],
|
|
2252
|
+
'mask-image-linear-to-color': [{
|
|
2253
|
+
'mask-linear-to': scaleColor()
|
|
2254
|
+
}],
|
|
2255
|
+
'mask-image-t-from-pos': [{
|
|
2256
|
+
'mask-t-from': scaleMaskImagePosition()
|
|
2257
|
+
}],
|
|
2258
|
+
'mask-image-t-to-pos': [{
|
|
2259
|
+
'mask-t-to': scaleMaskImagePosition()
|
|
2260
|
+
}],
|
|
2261
|
+
'mask-image-t-from-color': [{
|
|
2262
|
+
'mask-t-from': scaleColor()
|
|
2263
|
+
}],
|
|
2264
|
+
'mask-image-t-to-color': [{
|
|
2265
|
+
'mask-t-to': scaleColor()
|
|
2266
|
+
}],
|
|
2267
|
+
'mask-image-r-from-pos': [{
|
|
2268
|
+
'mask-r-from': scaleMaskImagePosition()
|
|
2269
|
+
}],
|
|
2270
|
+
'mask-image-r-to-pos': [{
|
|
2271
|
+
'mask-r-to': scaleMaskImagePosition()
|
|
2272
|
+
}],
|
|
2273
|
+
'mask-image-r-from-color': [{
|
|
2274
|
+
'mask-r-from': scaleColor()
|
|
2275
|
+
}],
|
|
2276
|
+
'mask-image-r-to-color': [{
|
|
2277
|
+
'mask-r-to': scaleColor()
|
|
2278
|
+
}],
|
|
2279
|
+
'mask-image-b-from-pos': [{
|
|
2280
|
+
'mask-b-from': scaleMaskImagePosition()
|
|
2281
|
+
}],
|
|
2282
|
+
'mask-image-b-to-pos': [{
|
|
2283
|
+
'mask-b-to': scaleMaskImagePosition()
|
|
2284
|
+
}],
|
|
2285
|
+
'mask-image-b-from-color': [{
|
|
2286
|
+
'mask-b-from': scaleColor()
|
|
2287
|
+
}],
|
|
2288
|
+
'mask-image-b-to-color': [{
|
|
2289
|
+
'mask-b-to': scaleColor()
|
|
2290
|
+
}],
|
|
2291
|
+
'mask-image-l-from-pos': [{
|
|
2292
|
+
'mask-l-from': scaleMaskImagePosition()
|
|
2293
|
+
}],
|
|
2294
|
+
'mask-image-l-to-pos': [{
|
|
2295
|
+
'mask-l-to': scaleMaskImagePosition()
|
|
2296
|
+
}],
|
|
2297
|
+
'mask-image-l-from-color': [{
|
|
2298
|
+
'mask-l-from': scaleColor()
|
|
2299
|
+
}],
|
|
2300
|
+
'mask-image-l-to-color': [{
|
|
2301
|
+
'mask-l-to': scaleColor()
|
|
2302
|
+
}],
|
|
2303
|
+
'mask-image-x-from-pos': [{
|
|
2304
|
+
'mask-x-from': scaleMaskImagePosition()
|
|
2305
|
+
}],
|
|
2306
|
+
'mask-image-x-to-pos': [{
|
|
2307
|
+
'mask-x-to': scaleMaskImagePosition()
|
|
2308
|
+
}],
|
|
2309
|
+
'mask-image-x-from-color': [{
|
|
2310
|
+
'mask-x-from': scaleColor()
|
|
2311
|
+
}],
|
|
2312
|
+
'mask-image-x-to-color': [{
|
|
2313
|
+
'mask-x-to': scaleColor()
|
|
2314
|
+
}],
|
|
2315
|
+
'mask-image-y-from-pos': [{
|
|
2316
|
+
'mask-y-from': scaleMaskImagePosition()
|
|
2317
|
+
}],
|
|
2318
|
+
'mask-image-y-to-pos': [{
|
|
2319
|
+
'mask-y-to': scaleMaskImagePosition()
|
|
2320
|
+
}],
|
|
2321
|
+
'mask-image-y-from-color': [{
|
|
2322
|
+
'mask-y-from': scaleColor()
|
|
2323
|
+
}],
|
|
2324
|
+
'mask-image-y-to-color': [{
|
|
2325
|
+
'mask-y-to': scaleColor()
|
|
2326
|
+
}],
|
|
2327
|
+
'mask-image-radial': [{
|
|
2328
|
+
'mask-radial': [isArbitraryVariable, isArbitraryValue]
|
|
2329
|
+
}],
|
|
2330
|
+
'mask-image-radial-from-pos': [{
|
|
2331
|
+
'mask-radial-from': scaleMaskImagePosition()
|
|
2332
|
+
}],
|
|
2333
|
+
'mask-image-radial-to-pos': [{
|
|
2334
|
+
'mask-radial-to': scaleMaskImagePosition()
|
|
2335
|
+
}],
|
|
2336
|
+
'mask-image-radial-from-color': [{
|
|
2337
|
+
'mask-radial-from': scaleColor()
|
|
2338
|
+
}],
|
|
2339
|
+
'mask-image-radial-to-color': [{
|
|
2340
|
+
'mask-radial-to': scaleColor()
|
|
2341
|
+
}],
|
|
2342
|
+
'mask-image-radial-shape': [{
|
|
2343
|
+
'mask-radial': ['circle', 'ellipse']
|
|
2344
|
+
}],
|
|
2345
|
+
'mask-image-radial-size': [{
|
|
2346
|
+
'mask-radial': [{
|
|
2347
|
+
closest: ['side', 'corner'],
|
|
2348
|
+
farthest: ['side', 'corner']
|
|
2349
|
+
}]
|
|
2350
|
+
}],
|
|
2351
|
+
'mask-image-radial-pos': [{
|
|
2352
|
+
'mask-radial-at': scalePosition()
|
|
2353
|
+
}],
|
|
2354
|
+
'mask-image-conic-pos': [{
|
|
2355
|
+
'mask-conic': [isNumber]
|
|
2356
|
+
}],
|
|
2357
|
+
'mask-image-conic-from-pos': [{
|
|
2358
|
+
'mask-conic-from': scaleMaskImagePosition()
|
|
2359
|
+
}],
|
|
2360
|
+
'mask-image-conic-to-pos': [{
|
|
2361
|
+
'mask-conic-to': scaleMaskImagePosition()
|
|
2362
|
+
}],
|
|
2363
|
+
'mask-image-conic-from-color': [{
|
|
2364
|
+
'mask-conic-from': scaleColor()
|
|
2365
|
+
}],
|
|
2366
|
+
'mask-image-conic-to-color': [{
|
|
2367
|
+
'mask-conic-to': scaleColor()
|
|
2368
|
+
}],
|
|
2369
|
+
/**
|
|
2370
|
+
* Mask Mode
|
|
2371
|
+
* @see https://tailwindcss.com/docs/mask-mode
|
|
2372
|
+
*/
|
|
2373
|
+
'mask-mode': [{
|
|
2374
|
+
mask: ['alpha', 'luminance', 'match']
|
|
2375
|
+
}],
|
|
2376
|
+
/**
|
|
2377
|
+
* Mask Origin
|
|
2378
|
+
* @see https://tailwindcss.com/docs/mask-origin
|
|
2379
|
+
*/
|
|
2380
|
+
'mask-origin': [{
|
|
2381
|
+
'mask-origin': ['border', 'padding', 'content', 'fill', 'stroke', 'view']
|
|
2382
|
+
}],
|
|
2383
|
+
/**
|
|
2384
|
+
* Mask Position
|
|
2385
|
+
* @see https://tailwindcss.com/docs/mask-position
|
|
2386
|
+
*/
|
|
2387
|
+
'mask-position': [{
|
|
2388
|
+
mask: scaleBgPosition()
|
|
2389
|
+
}],
|
|
2390
|
+
/**
|
|
2391
|
+
* Mask Repeat
|
|
2392
|
+
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2393
|
+
*/
|
|
2394
|
+
'mask-repeat': [{
|
|
2395
|
+
mask: scaleBgRepeat()
|
|
2396
|
+
}],
|
|
2397
|
+
/**
|
|
2398
|
+
* Mask Size
|
|
2399
|
+
* @see https://tailwindcss.com/docs/mask-size
|
|
2400
|
+
*/
|
|
2401
|
+
'mask-size': [{
|
|
2402
|
+
mask: scaleBgSize()
|
|
2403
|
+
}],
|
|
2404
|
+
/**
|
|
2405
|
+
* Mask Type
|
|
2406
|
+
* @see https://tailwindcss.com/docs/mask-type
|
|
2407
|
+
*/
|
|
2408
|
+
'mask-type': [{
|
|
2409
|
+
'mask-type': ['alpha', 'luminance']
|
|
2410
|
+
}],
|
|
2411
|
+
/**
|
|
2412
|
+
* Mask Image
|
|
2413
|
+
* @see https://tailwindcss.com/docs/mask-image
|
|
2414
|
+
*/
|
|
2415
|
+
'mask-image': [{
|
|
2416
|
+
mask: ['none', isArbitraryVariable, isArbitraryValue]
|
|
2417
|
+
}],
|
|
2418
|
+
// ---------------
|
|
2419
|
+
// --- Filters ---
|
|
2420
|
+
// ---------------
|
|
2421
|
+
/**
|
|
2422
|
+
* Filter
|
|
2423
|
+
* @see https://tailwindcss.com/docs/filter
|
|
2424
|
+
*/
|
|
2425
|
+
filter: [{
|
|
2426
|
+
filter: [
|
|
2427
|
+
// Deprecated since Tailwind CSS v3.0.0
|
|
2428
|
+
'', 'none', isArbitraryVariable, isArbitraryValue]
|
|
2429
|
+
}],
|
|
2430
|
+
/**
|
|
2431
|
+
* Blur
|
|
2432
|
+
* @see https://tailwindcss.com/docs/blur
|
|
2433
|
+
*/
|
|
2434
|
+
blur: [{
|
|
2435
|
+
blur: scaleBlur()
|
|
2436
|
+
}],
|
|
2437
|
+
/**
|
|
2438
|
+
* Brightness
|
|
2439
|
+
* @see https://tailwindcss.com/docs/brightness
|
|
2440
|
+
*/
|
|
2441
|
+
brightness: [{
|
|
2442
|
+
brightness: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2443
|
+
}],
|
|
2444
|
+
/**
|
|
2445
|
+
* Contrast
|
|
2446
|
+
* @see https://tailwindcss.com/docs/contrast
|
|
2447
|
+
*/
|
|
2448
|
+
contrast: [{
|
|
2449
|
+
contrast: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2450
|
+
}],
|
|
2451
|
+
/**
|
|
2452
|
+
* Drop Shadow
|
|
2453
|
+
* @see https://tailwindcss.com/docs/drop-shadow
|
|
2454
|
+
*/
|
|
2455
|
+
'drop-shadow': [{
|
|
2456
|
+
'drop-shadow': [
|
|
2457
|
+
// Deprecated since Tailwind CSS v4.0.0
|
|
2458
|
+
'', 'none', themeDropShadow, isArbitraryVariableShadow, isArbitraryShadow]
|
|
2459
|
+
}],
|
|
2460
|
+
/**
|
|
2461
|
+
* Drop Shadow Color
|
|
2462
|
+
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2463
|
+
*/
|
|
2464
|
+
'drop-shadow-color': [{
|
|
2465
|
+
'drop-shadow': scaleColor()
|
|
2466
|
+
}],
|
|
2467
|
+
/**
|
|
2468
|
+
* Grayscale
|
|
2469
|
+
* @see https://tailwindcss.com/docs/grayscale
|
|
2470
|
+
*/
|
|
2471
|
+
grayscale: [{
|
|
2472
|
+
grayscale: ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2473
|
+
}],
|
|
2474
|
+
/**
|
|
2475
|
+
* Hue Rotate
|
|
2476
|
+
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2477
|
+
*/
|
|
2478
|
+
'hue-rotate': [{
|
|
2479
|
+
'hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2480
|
+
}],
|
|
2481
|
+
/**
|
|
2482
|
+
* Invert
|
|
2483
|
+
* @see https://tailwindcss.com/docs/invert
|
|
2484
|
+
*/
|
|
2485
|
+
invert: [{
|
|
2486
|
+
invert: ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2487
|
+
}],
|
|
2488
|
+
/**
|
|
2489
|
+
* Saturate
|
|
2490
|
+
* @see https://tailwindcss.com/docs/saturate
|
|
2491
|
+
*/
|
|
2492
|
+
saturate: [{
|
|
2493
|
+
saturate: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2494
|
+
}],
|
|
2495
|
+
/**
|
|
2496
|
+
* Sepia
|
|
2497
|
+
* @see https://tailwindcss.com/docs/sepia
|
|
2498
|
+
*/
|
|
2499
|
+
sepia: [{
|
|
2500
|
+
sepia: ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2501
|
+
}],
|
|
2502
|
+
/**
|
|
2503
|
+
* Backdrop Filter
|
|
2504
|
+
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
2505
|
+
*/
|
|
2506
|
+
'backdrop-filter': [{
|
|
2507
|
+
'backdrop-filter': [
|
|
2508
|
+
// Deprecated since Tailwind CSS v3.0.0
|
|
2509
|
+
'', 'none', isArbitraryVariable, isArbitraryValue]
|
|
2510
|
+
}],
|
|
2511
|
+
/**
|
|
2512
|
+
* Backdrop Blur
|
|
2513
|
+
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2514
|
+
*/
|
|
2515
|
+
'backdrop-blur': [{
|
|
2516
|
+
'backdrop-blur': scaleBlur()
|
|
2517
|
+
}],
|
|
2518
|
+
/**
|
|
2519
|
+
* Backdrop Brightness
|
|
2520
|
+
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2521
|
+
*/
|
|
2522
|
+
'backdrop-brightness': [{
|
|
2523
|
+
'backdrop-brightness': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2524
|
+
}],
|
|
2525
|
+
/**
|
|
2526
|
+
* Backdrop Contrast
|
|
2527
|
+
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2528
|
+
*/
|
|
2529
|
+
'backdrop-contrast': [{
|
|
2530
|
+
'backdrop-contrast': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2531
|
+
}],
|
|
2532
|
+
/**
|
|
2533
|
+
* Backdrop Grayscale
|
|
2534
|
+
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2535
|
+
*/
|
|
2536
|
+
'backdrop-grayscale': [{
|
|
2537
|
+
'backdrop-grayscale': ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2538
|
+
}],
|
|
2539
|
+
/**
|
|
2540
|
+
* Backdrop Hue Rotate
|
|
2541
|
+
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2542
|
+
*/
|
|
2543
|
+
'backdrop-hue-rotate': [{
|
|
2544
|
+
'backdrop-hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2545
|
+
}],
|
|
2546
|
+
/**
|
|
2547
|
+
* Backdrop Invert
|
|
2548
|
+
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2549
|
+
*/
|
|
2550
|
+
'backdrop-invert': [{
|
|
2551
|
+
'backdrop-invert': ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2552
|
+
}],
|
|
2553
|
+
/**
|
|
2554
|
+
* Backdrop Opacity
|
|
2555
|
+
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2556
|
+
*/
|
|
2557
|
+
'backdrop-opacity': [{
|
|
2558
|
+
'backdrop-opacity': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2559
|
+
}],
|
|
2560
|
+
/**
|
|
2561
|
+
* Backdrop Saturate
|
|
2562
|
+
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2563
|
+
*/
|
|
2564
|
+
'backdrop-saturate': [{
|
|
2565
|
+
'backdrop-saturate': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2566
|
+
}],
|
|
2567
|
+
/**
|
|
2568
|
+
* Backdrop Sepia
|
|
2569
|
+
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2570
|
+
*/
|
|
2571
|
+
'backdrop-sepia': [{
|
|
2572
|
+
'backdrop-sepia': ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2573
|
+
}],
|
|
2574
|
+
// --------------
|
|
2575
|
+
// --- Tables ---
|
|
2576
|
+
// --------------
|
|
2577
|
+
/**
|
|
2578
|
+
* Border Collapse
|
|
2579
|
+
* @see https://tailwindcss.com/docs/border-collapse
|
|
2580
|
+
*/
|
|
2581
|
+
'border-collapse': [{
|
|
2582
|
+
border: ['collapse', 'separate']
|
|
2583
|
+
}],
|
|
2584
|
+
/**
|
|
2585
|
+
* Border Spacing
|
|
2586
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2587
|
+
*/
|
|
2588
|
+
'border-spacing': [{
|
|
2589
|
+
'border-spacing': scaleUnambiguousSpacing()
|
|
2590
|
+
}],
|
|
2591
|
+
/**
|
|
2592
|
+
* Border Spacing X
|
|
2593
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2594
|
+
*/
|
|
2595
|
+
'border-spacing-x': [{
|
|
2596
|
+
'border-spacing-x': scaleUnambiguousSpacing()
|
|
2597
|
+
}],
|
|
2598
|
+
/**
|
|
2599
|
+
* Border Spacing Y
|
|
2600
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2601
|
+
*/
|
|
2602
|
+
'border-spacing-y': [{
|
|
2603
|
+
'border-spacing-y': scaleUnambiguousSpacing()
|
|
2604
|
+
}],
|
|
2605
|
+
/**
|
|
2606
|
+
* Table Layout
|
|
2607
|
+
* @see https://tailwindcss.com/docs/table-layout
|
|
2608
|
+
*/
|
|
2609
|
+
'table-layout': [{
|
|
2610
|
+
table: ['auto', 'fixed']
|
|
2611
|
+
}],
|
|
2612
|
+
/**
|
|
2613
|
+
* Caption Side
|
|
2614
|
+
* @see https://tailwindcss.com/docs/caption-side
|
|
2615
|
+
*/
|
|
2616
|
+
caption: [{
|
|
2617
|
+
caption: ['top', 'bottom']
|
|
2618
|
+
}],
|
|
2619
|
+
// ---------------------------------
|
|
2620
|
+
// --- Transitions and Animation ---
|
|
2621
|
+
// ---------------------------------
|
|
2622
|
+
/**
|
|
2623
|
+
* Transition Property
|
|
2624
|
+
* @see https://tailwindcss.com/docs/transition-property
|
|
2625
|
+
*/
|
|
2626
|
+
transition: [{
|
|
2627
|
+
transition: ['', 'all', 'colors', 'opacity', 'shadow', 'transform', 'none', isArbitraryVariable, isArbitraryValue]
|
|
2628
|
+
}],
|
|
2629
|
+
/**
|
|
2630
|
+
* Transition Behavior
|
|
2631
|
+
* @see https://tailwindcss.com/docs/transition-behavior
|
|
2632
|
+
*/
|
|
2633
|
+
'transition-behavior': [{
|
|
2634
|
+
transition: ['normal', 'discrete']
|
|
2635
|
+
}],
|
|
2636
|
+
/**
|
|
2637
|
+
* Transition Duration
|
|
2638
|
+
* @see https://tailwindcss.com/docs/transition-duration
|
|
2639
|
+
*/
|
|
2640
|
+
duration: [{
|
|
2641
|
+
duration: [isNumber, 'initial', isArbitraryVariable, isArbitraryValue]
|
|
2642
|
+
}],
|
|
2643
|
+
/**
|
|
2644
|
+
* Transition Timing Function
|
|
2645
|
+
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2646
|
+
*/
|
|
2647
|
+
ease: [{
|
|
2648
|
+
ease: ['linear', 'initial', themeEase, isArbitraryVariable, isArbitraryValue]
|
|
2649
|
+
}],
|
|
2650
|
+
/**
|
|
2651
|
+
* Transition Delay
|
|
2652
|
+
* @see https://tailwindcss.com/docs/transition-delay
|
|
2653
|
+
*/
|
|
2654
|
+
delay: [{
|
|
2655
|
+
delay: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2656
|
+
}],
|
|
2657
|
+
/**
|
|
2658
|
+
* Animation
|
|
2659
|
+
* @see https://tailwindcss.com/docs/animation
|
|
2660
|
+
*/
|
|
2661
|
+
animate: [{
|
|
2662
|
+
animate: ['none', themeAnimate, isArbitraryVariable, isArbitraryValue]
|
|
2663
|
+
}],
|
|
2664
|
+
// ------------------
|
|
2665
|
+
// --- Transforms ---
|
|
2666
|
+
// ------------------
|
|
2667
|
+
/**
|
|
2668
|
+
* Backface Visibility
|
|
2669
|
+
* @see https://tailwindcss.com/docs/backface-visibility
|
|
2670
|
+
*/
|
|
2671
|
+
backface: [{
|
|
2672
|
+
backface: ['hidden', 'visible']
|
|
2673
|
+
}],
|
|
2674
|
+
/**
|
|
2675
|
+
* Perspective
|
|
2676
|
+
* @see https://tailwindcss.com/docs/perspective
|
|
2677
|
+
*/
|
|
2678
|
+
perspective: [{
|
|
2679
|
+
perspective: [themePerspective, isArbitraryVariable, isArbitraryValue]
|
|
2680
|
+
}],
|
|
2681
|
+
/**
|
|
2682
|
+
* Perspective Origin
|
|
2683
|
+
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2684
|
+
*/
|
|
2685
|
+
'perspective-origin': [{
|
|
2686
|
+
'perspective-origin': scalePositionWithArbitrary()
|
|
2687
|
+
}],
|
|
2688
|
+
/**
|
|
2689
|
+
* Rotate
|
|
2690
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2691
|
+
*/
|
|
2692
|
+
rotate: [{
|
|
2693
|
+
rotate: scaleRotate()
|
|
2694
|
+
}],
|
|
2695
|
+
/**
|
|
2696
|
+
* Rotate X
|
|
2697
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2698
|
+
*/
|
|
2699
|
+
'rotate-x': [{
|
|
2700
|
+
'rotate-x': scaleRotate()
|
|
2701
|
+
}],
|
|
2702
|
+
/**
|
|
2703
|
+
* Rotate Y
|
|
2704
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2705
|
+
*/
|
|
2706
|
+
'rotate-y': [{
|
|
2707
|
+
'rotate-y': scaleRotate()
|
|
2708
|
+
}],
|
|
2709
|
+
/**
|
|
2710
|
+
* Rotate Z
|
|
2711
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2712
|
+
*/
|
|
2713
|
+
'rotate-z': [{
|
|
2714
|
+
'rotate-z': scaleRotate()
|
|
2715
|
+
}],
|
|
2716
|
+
/**
|
|
2717
|
+
* Scale
|
|
2718
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2719
|
+
*/
|
|
2720
|
+
scale: [{
|
|
2721
|
+
scale: scaleScale()
|
|
2722
|
+
}],
|
|
2723
|
+
/**
|
|
2724
|
+
* Scale X
|
|
2725
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2726
|
+
*/
|
|
2727
|
+
'scale-x': [{
|
|
2728
|
+
'scale-x': scaleScale()
|
|
2729
|
+
}],
|
|
2730
|
+
/**
|
|
2731
|
+
* Scale Y
|
|
2732
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2733
|
+
*/
|
|
2734
|
+
'scale-y': [{
|
|
2735
|
+
'scale-y': scaleScale()
|
|
2736
|
+
}],
|
|
2737
|
+
/**
|
|
2738
|
+
* Scale Z
|
|
2739
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2740
|
+
*/
|
|
2741
|
+
'scale-z': [{
|
|
2742
|
+
'scale-z': scaleScale()
|
|
2743
|
+
}],
|
|
2744
|
+
/**
|
|
2745
|
+
* Scale 3D
|
|
2746
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2747
|
+
*/
|
|
2748
|
+
'scale-3d': ['scale-3d'],
|
|
2749
|
+
/**
|
|
2750
|
+
* Skew
|
|
2751
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2752
|
+
*/
|
|
2753
|
+
skew: [{
|
|
2754
|
+
skew: scaleSkew()
|
|
2755
|
+
}],
|
|
2756
|
+
/**
|
|
2757
|
+
* Skew X
|
|
2758
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2759
|
+
*/
|
|
2760
|
+
'skew-x': [{
|
|
2761
|
+
'skew-x': scaleSkew()
|
|
2762
|
+
}],
|
|
2763
|
+
/**
|
|
2764
|
+
* Skew Y
|
|
2765
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2766
|
+
*/
|
|
2767
|
+
'skew-y': [{
|
|
2768
|
+
'skew-y': scaleSkew()
|
|
2769
|
+
}],
|
|
2770
|
+
/**
|
|
2771
|
+
* Transform
|
|
2772
|
+
* @see https://tailwindcss.com/docs/transform
|
|
2773
|
+
*/
|
|
2774
|
+
transform: [{
|
|
2775
|
+
transform: [isArbitraryVariable, isArbitraryValue, '', 'none', 'gpu', 'cpu']
|
|
2776
|
+
}],
|
|
2777
|
+
/**
|
|
2778
|
+
* Transform Origin
|
|
2779
|
+
* @see https://tailwindcss.com/docs/transform-origin
|
|
2780
|
+
*/
|
|
2781
|
+
'transform-origin': [{
|
|
2782
|
+
origin: scalePositionWithArbitrary()
|
|
2783
|
+
}],
|
|
2784
|
+
/**
|
|
2785
|
+
* Transform Style
|
|
2786
|
+
* @see https://tailwindcss.com/docs/transform-style
|
|
2787
|
+
*/
|
|
2788
|
+
'transform-style': [{
|
|
2789
|
+
transform: ['3d', 'flat']
|
|
2790
|
+
}],
|
|
2791
|
+
/**
|
|
2792
|
+
* Translate
|
|
2793
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2794
|
+
*/
|
|
2795
|
+
translate: [{
|
|
2796
|
+
translate: scaleTranslate()
|
|
2797
|
+
}],
|
|
2798
|
+
/**
|
|
2799
|
+
* Translate X
|
|
2800
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2801
|
+
*/
|
|
2802
|
+
'translate-x': [{
|
|
2803
|
+
'translate-x': scaleTranslate()
|
|
2804
|
+
}],
|
|
2805
|
+
/**
|
|
2806
|
+
* Translate Y
|
|
2807
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2808
|
+
*/
|
|
2809
|
+
'translate-y': [{
|
|
2810
|
+
'translate-y': scaleTranslate()
|
|
2811
|
+
}],
|
|
2812
|
+
/**
|
|
2813
|
+
* Translate Z
|
|
2814
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2815
|
+
*/
|
|
2816
|
+
'translate-z': [{
|
|
2817
|
+
'translate-z': scaleTranslate()
|
|
2818
|
+
}],
|
|
2819
|
+
/**
|
|
2820
|
+
* Translate None
|
|
2821
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2822
|
+
*/
|
|
2823
|
+
'translate-none': ['translate-none'],
|
|
2824
|
+
// ---------------------
|
|
2825
|
+
// --- Interactivity ---
|
|
2826
|
+
// ---------------------
|
|
2827
|
+
/**
|
|
2828
|
+
* Accent Color
|
|
2829
|
+
* @see https://tailwindcss.com/docs/accent-color
|
|
2830
|
+
*/
|
|
2831
|
+
accent: [{
|
|
2832
|
+
accent: scaleColor()
|
|
2833
|
+
}],
|
|
2834
|
+
/**
|
|
2835
|
+
* Appearance
|
|
2836
|
+
* @see https://tailwindcss.com/docs/appearance
|
|
2837
|
+
*/
|
|
2838
|
+
appearance: [{
|
|
2839
|
+
appearance: ['none', 'auto']
|
|
2840
|
+
}],
|
|
2841
|
+
/**
|
|
2842
|
+
* Caret Color
|
|
2843
|
+
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2844
|
+
*/
|
|
2845
|
+
'caret-color': [{
|
|
2846
|
+
caret: scaleColor()
|
|
2847
|
+
}],
|
|
2848
|
+
/**
|
|
2849
|
+
* Color Scheme
|
|
2850
|
+
* @see https://tailwindcss.com/docs/color-scheme
|
|
2851
|
+
*/
|
|
2852
|
+
'color-scheme': [{
|
|
2853
|
+
scheme: ['normal', 'dark', 'light', 'light-dark', 'only-dark', 'only-light']
|
|
2854
|
+
}],
|
|
2855
|
+
/**
|
|
2856
|
+
* Cursor
|
|
2857
|
+
* @see https://tailwindcss.com/docs/cursor
|
|
2858
|
+
*/
|
|
2859
|
+
cursor: [{
|
|
2860
|
+
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]
|
|
2861
|
+
}],
|
|
2862
|
+
/**
|
|
2863
|
+
* Field Sizing
|
|
2864
|
+
* @see https://tailwindcss.com/docs/field-sizing
|
|
2865
|
+
*/
|
|
2866
|
+
'field-sizing': [{
|
|
2867
|
+
'field-sizing': ['fixed', 'content']
|
|
2868
|
+
}],
|
|
2869
|
+
/**
|
|
2870
|
+
* Pointer Events
|
|
2871
|
+
* @see https://tailwindcss.com/docs/pointer-events
|
|
2872
|
+
*/
|
|
2873
|
+
'pointer-events': [{
|
|
2874
|
+
'pointer-events': ['auto', 'none']
|
|
2875
|
+
}],
|
|
2876
|
+
/**
|
|
2877
|
+
* Resize
|
|
2878
|
+
* @see https://tailwindcss.com/docs/resize
|
|
2879
|
+
*/
|
|
2880
|
+
resize: [{
|
|
2881
|
+
resize: ['none', '', 'y', 'x']
|
|
2882
|
+
}],
|
|
2883
|
+
/**
|
|
2884
|
+
* Scroll Behavior
|
|
2885
|
+
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
2886
|
+
*/
|
|
2887
|
+
'scroll-behavior': [{
|
|
2888
|
+
scroll: ['auto', 'smooth']
|
|
2889
|
+
}],
|
|
2890
|
+
/**
|
|
2891
|
+
* Scroll Margin
|
|
2892
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2893
|
+
*/
|
|
2894
|
+
'scroll-m': [{
|
|
2895
|
+
'scroll-m': scaleUnambiguousSpacing()
|
|
2896
|
+
}],
|
|
2897
|
+
/**
|
|
2898
|
+
* Scroll Margin Inline
|
|
2899
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2900
|
+
*/
|
|
2901
|
+
'scroll-mx': [{
|
|
2902
|
+
'scroll-mx': scaleUnambiguousSpacing()
|
|
2903
|
+
}],
|
|
2904
|
+
/**
|
|
2905
|
+
* Scroll Margin Block
|
|
2906
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2907
|
+
*/
|
|
2908
|
+
'scroll-my': [{
|
|
2909
|
+
'scroll-my': scaleUnambiguousSpacing()
|
|
2910
|
+
}],
|
|
2911
|
+
/**
|
|
2912
|
+
* Scroll Margin Inline Start
|
|
2913
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2914
|
+
*/
|
|
2915
|
+
'scroll-ms': [{
|
|
2916
|
+
'scroll-ms': scaleUnambiguousSpacing()
|
|
2917
|
+
}],
|
|
2918
|
+
/**
|
|
2919
|
+
* Scroll Margin Inline End
|
|
2920
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2921
|
+
*/
|
|
2922
|
+
'scroll-me': [{
|
|
2923
|
+
'scroll-me': scaleUnambiguousSpacing()
|
|
2924
|
+
}],
|
|
2925
|
+
/**
|
|
2926
|
+
* Scroll Margin Block Start
|
|
2927
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2928
|
+
*/
|
|
2929
|
+
'scroll-mbs': [{
|
|
2930
|
+
'scroll-mbs': scaleUnambiguousSpacing()
|
|
2931
|
+
}],
|
|
2932
|
+
/**
|
|
2933
|
+
* Scroll Margin Block End
|
|
2934
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2935
|
+
*/
|
|
2936
|
+
'scroll-mbe': [{
|
|
2937
|
+
'scroll-mbe': scaleUnambiguousSpacing()
|
|
2938
|
+
}],
|
|
2939
|
+
/**
|
|
2940
|
+
* Scroll Margin Top
|
|
2941
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2942
|
+
*/
|
|
2943
|
+
'scroll-mt': [{
|
|
2944
|
+
'scroll-mt': scaleUnambiguousSpacing()
|
|
2945
|
+
}],
|
|
2946
|
+
/**
|
|
2947
|
+
* Scroll Margin Right
|
|
2948
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2949
|
+
*/
|
|
2950
|
+
'scroll-mr': [{
|
|
2951
|
+
'scroll-mr': scaleUnambiguousSpacing()
|
|
2952
|
+
}],
|
|
2953
|
+
/**
|
|
2954
|
+
* Scroll Margin Bottom
|
|
2955
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2956
|
+
*/
|
|
2957
|
+
'scroll-mb': [{
|
|
2958
|
+
'scroll-mb': scaleUnambiguousSpacing()
|
|
2959
|
+
}],
|
|
2960
|
+
/**
|
|
2961
|
+
* Scroll Margin Left
|
|
2962
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2963
|
+
*/
|
|
2964
|
+
'scroll-ml': [{
|
|
2965
|
+
'scroll-ml': scaleUnambiguousSpacing()
|
|
2966
|
+
}],
|
|
2967
|
+
/**
|
|
2968
|
+
* Scroll Padding
|
|
2969
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2970
|
+
*/
|
|
2971
|
+
'scroll-p': [{
|
|
2972
|
+
'scroll-p': scaleUnambiguousSpacing()
|
|
2973
|
+
}],
|
|
2974
|
+
/**
|
|
2975
|
+
* Scroll Padding Inline
|
|
2976
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2977
|
+
*/
|
|
2978
|
+
'scroll-px': [{
|
|
2979
|
+
'scroll-px': scaleUnambiguousSpacing()
|
|
2980
|
+
}],
|
|
2981
|
+
/**
|
|
2982
|
+
* Scroll Padding Block
|
|
2983
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2984
|
+
*/
|
|
2985
|
+
'scroll-py': [{
|
|
2986
|
+
'scroll-py': scaleUnambiguousSpacing()
|
|
2987
|
+
}],
|
|
2988
|
+
/**
|
|
2989
|
+
* Scroll Padding Inline Start
|
|
2990
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2991
|
+
*/
|
|
2992
|
+
'scroll-ps': [{
|
|
2993
|
+
'scroll-ps': scaleUnambiguousSpacing()
|
|
2994
|
+
}],
|
|
2995
|
+
/**
|
|
2996
|
+
* Scroll Padding Inline End
|
|
2997
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2998
|
+
*/
|
|
2999
|
+
'scroll-pe': [{
|
|
3000
|
+
'scroll-pe': scaleUnambiguousSpacing()
|
|
3001
|
+
}],
|
|
3002
|
+
/**
|
|
3003
|
+
* Scroll Padding Block Start
|
|
3004
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3005
|
+
*/
|
|
3006
|
+
'scroll-pbs': [{
|
|
3007
|
+
'scroll-pbs': scaleUnambiguousSpacing()
|
|
3008
|
+
}],
|
|
3009
|
+
/**
|
|
3010
|
+
* Scroll Padding Block End
|
|
3011
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3012
|
+
*/
|
|
3013
|
+
'scroll-pbe': [{
|
|
3014
|
+
'scroll-pbe': scaleUnambiguousSpacing()
|
|
3015
|
+
}],
|
|
3016
|
+
/**
|
|
3017
|
+
* Scroll Padding Top
|
|
3018
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3019
|
+
*/
|
|
3020
|
+
'scroll-pt': [{
|
|
3021
|
+
'scroll-pt': scaleUnambiguousSpacing()
|
|
3022
|
+
}],
|
|
3023
|
+
/**
|
|
3024
|
+
* Scroll Padding Right
|
|
3025
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3026
|
+
*/
|
|
3027
|
+
'scroll-pr': [{
|
|
3028
|
+
'scroll-pr': scaleUnambiguousSpacing()
|
|
3029
|
+
}],
|
|
3030
|
+
/**
|
|
3031
|
+
* Scroll Padding Bottom
|
|
3032
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3033
|
+
*/
|
|
3034
|
+
'scroll-pb': [{
|
|
3035
|
+
'scroll-pb': scaleUnambiguousSpacing()
|
|
3036
|
+
}],
|
|
3037
|
+
/**
|
|
3038
|
+
* Scroll Padding Left
|
|
3039
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3040
|
+
*/
|
|
3041
|
+
'scroll-pl': [{
|
|
3042
|
+
'scroll-pl': scaleUnambiguousSpacing()
|
|
3043
|
+
}],
|
|
3044
|
+
/**
|
|
3045
|
+
* Scroll Snap Align
|
|
3046
|
+
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
3047
|
+
*/
|
|
3048
|
+
'snap-align': [{
|
|
3049
|
+
snap: ['start', 'end', 'center', 'align-none']
|
|
3050
|
+
}],
|
|
3051
|
+
/**
|
|
3052
|
+
* Scroll Snap Stop
|
|
3053
|
+
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
3054
|
+
*/
|
|
3055
|
+
'snap-stop': [{
|
|
3056
|
+
snap: ['normal', 'always']
|
|
3057
|
+
}],
|
|
3058
|
+
/**
|
|
3059
|
+
* Scroll Snap Type
|
|
3060
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
3061
|
+
*/
|
|
3062
|
+
'snap-type': [{
|
|
3063
|
+
snap: ['none', 'x', 'y', 'both']
|
|
3064
|
+
}],
|
|
3065
|
+
/**
|
|
3066
|
+
* Scroll Snap Type Strictness
|
|
3067
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
3068
|
+
*/
|
|
3069
|
+
'snap-strictness': [{
|
|
3070
|
+
snap: ['mandatory', 'proximity']
|
|
3071
|
+
}],
|
|
3072
|
+
/**
|
|
3073
|
+
* Touch Action
|
|
3074
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3075
|
+
*/
|
|
3076
|
+
touch: [{
|
|
3077
|
+
touch: ['auto', 'none', 'manipulation']
|
|
3078
|
+
}],
|
|
3079
|
+
/**
|
|
3080
|
+
* Touch Action X
|
|
3081
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3082
|
+
*/
|
|
3083
|
+
'touch-x': [{
|
|
3084
|
+
'touch-pan': ['x', 'left', 'right']
|
|
3085
|
+
}],
|
|
3086
|
+
/**
|
|
3087
|
+
* Touch Action Y
|
|
3088
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3089
|
+
*/
|
|
3090
|
+
'touch-y': [{
|
|
3091
|
+
'touch-pan': ['y', 'up', 'down']
|
|
3092
|
+
}],
|
|
3093
|
+
/**
|
|
3094
|
+
* Touch Action Pinch Zoom
|
|
3095
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3096
|
+
*/
|
|
3097
|
+
'touch-pz': ['touch-pinch-zoom'],
|
|
3098
|
+
/**
|
|
3099
|
+
* User Select
|
|
3100
|
+
* @see https://tailwindcss.com/docs/user-select
|
|
3101
|
+
*/
|
|
3102
|
+
select: [{
|
|
3103
|
+
select: ['none', 'text', 'all', 'auto']
|
|
3104
|
+
}],
|
|
3105
|
+
/**
|
|
3106
|
+
* Will Change
|
|
3107
|
+
* @see https://tailwindcss.com/docs/will-change
|
|
3108
|
+
*/
|
|
3109
|
+
'will-change': [{
|
|
3110
|
+
'will-change': ['auto', 'scroll', 'contents', 'transform', isArbitraryVariable, isArbitraryValue]
|
|
3111
|
+
}],
|
|
3112
|
+
// -----------
|
|
3113
|
+
// --- SVG ---
|
|
3114
|
+
// -----------
|
|
3115
|
+
/**
|
|
3116
|
+
* Fill
|
|
3117
|
+
* @see https://tailwindcss.com/docs/fill
|
|
3118
|
+
*/
|
|
3119
|
+
fill: [{
|
|
3120
|
+
fill: ['none', ...scaleColor()]
|
|
3121
|
+
}],
|
|
3122
|
+
/**
|
|
3123
|
+
* Stroke Width
|
|
3124
|
+
* @see https://tailwindcss.com/docs/stroke-width
|
|
3125
|
+
*/
|
|
3126
|
+
'stroke-w': [{
|
|
3127
|
+
stroke: [isNumber, isArbitraryVariableLength, isArbitraryLength, isArbitraryNumber]
|
|
3128
|
+
}],
|
|
3129
|
+
/**
|
|
3130
|
+
* Stroke
|
|
3131
|
+
* @see https://tailwindcss.com/docs/stroke
|
|
3132
|
+
*/
|
|
3133
|
+
stroke: [{
|
|
3134
|
+
stroke: ['none', ...scaleColor()]
|
|
3135
|
+
}],
|
|
3136
|
+
// ---------------------
|
|
3137
|
+
// --- Accessibility ---
|
|
3138
|
+
// ---------------------
|
|
3139
|
+
/**
|
|
3140
|
+
* Forced Color Adjust
|
|
3141
|
+
* @see https://tailwindcss.com/docs/forced-color-adjust
|
|
3142
|
+
*/
|
|
3143
|
+
'forced-color-adjust': [{
|
|
3144
|
+
'forced-color-adjust': ['auto', 'none']
|
|
3145
|
+
}]
|
|
3146
|
+
},
|
|
3147
|
+
conflictingClassGroups: {
|
|
3148
|
+
overflow: ['overflow-x', 'overflow-y'],
|
|
3149
|
+
overscroll: ['overscroll-x', 'overscroll-y'],
|
|
3150
|
+
inset: ['inset-x', 'inset-y', 'inset-bs', 'inset-be', 'start', 'end', 'top', 'right', 'bottom', 'left'],
|
|
3151
|
+
'inset-x': ['right', 'left'],
|
|
3152
|
+
'inset-y': ['top', 'bottom'],
|
|
3153
|
+
flex: ['basis', 'grow', 'shrink'],
|
|
3154
|
+
gap: ['gap-x', 'gap-y'],
|
|
3155
|
+
p: ['px', 'py', 'ps', 'pe', 'pbs', 'pbe', 'pt', 'pr', 'pb', 'pl'],
|
|
3156
|
+
px: ['pr', 'pl'],
|
|
3157
|
+
py: ['pt', 'pb'],
|
|
3158
|
+
m: ['mx', 'my', 'ms', 'me', 'mbs', 'mbe', 'mt', 'mr', 'mb', 'ml'],
|
|
3159
|
+
mx: ['mr', 'ml'],
|
|
3160
|
+
my: ['mt', 'mb'],
|
|
3161
|
+
size: ['w', 'h'],
|
|
3162
|
+
'font-size': ['leading'],
|
|
3163
|
+
'fvn-normal': ['fvn-ordinal', 'fvn-slashed-zero', 'fvn-figure', 'fvn-spacing', 'fvn-fraction'],
|
|
3164
|
+
'fvn-ordinal': ['fvn-normal'],
|
|
3165
|
+
'fvn-slashed-zero': ['fvn-normal'],
|
|
3166
|
+
'fvn-figure': ['fvn-normal'],
|
|
3167
|
+
'fvn-spacing': ['fvn-normal'],
|
|
3168
|
+
'fvn-fraction': ['fvn-normal'],
|
|
3169
|
+
'line-clamp': ['display', 'overflow'],
|
|
3170
|
+
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'],
|
|
3171
|
+
'rounded-s': ['rounded-ss', 'rounded-es'],
|
|
3172
|
+
'rounded-e': ['rounded-se', 'rounded-ee'],
|
|
3173
|
+
'rounded-t': ['rounded-tl', 'rounded-tr'],
|
|
3174
|
+
'rounded-r': ['rounded-tr', 'rounded-br'],
|
|
3175
|
+
'rounded-b': ['rounded-br', 'rounded-bl'],
|
|
3176
|
+
'rounded-l': ['rounded-tl', 'rounded-bl'],
|
|
3177
|
+
'border-spacing': ['border-spacing-x', 'border-spacing-y'],
|
|
3178
|
+
'border-w': ['border-w-x', 'border-w-y', 'border-w-s', 'border-w-e', 'border-w-bs', 'border-w-be', 'border-w-t', 'border-w-r', 'border-w-b', 'border-w-l'],
|
|
3179
|
+
'border-w-x': ['border-w-r', 'border-w-l'],
|
|
3180
|
+
'border-w-y': ['border-w-t', 'border-w-b'],
|
|
3181
|
+
'border-color': ['border-color-x', 'border-color-y', 'border-color-s', 'border-color-e', 'border-color-bs', 'border-color-be', 'border-color-t', 'border-color-r', 'border-color-b', 'border-color-l'],
|
|
3182
|
+
'border-color-x': ['border-color-r', 'border-color-l'],
|
|
3183
|
+
'border-color-y': ['border-color-t', 'border-color-b'],
|
|
3184
|
+
translate: ['translate-x', 'translate-y', 'translate-none'],
|
|
3185
|
+
'translate-none': ['translate', 'translate-x', 'translate-y', 'translate-z'],
|
|
3186
|
+
'scroll-m': ['scroll-mx', 'scroll-my', 'scroll-ms', 'scroll-me', 'scroll-mbs', 'scroll-mbe', 'scroll-mt', 'scroll-mr', 'scroll-mb', 'scroll-ml'],
|
|
3187
|
+
'scroll-mx': ['scroll-mr', 'scroll-ml'],
|
|
3188
|
+
'scroll-my': ['scroll-mt', 'scroll-mb'],
|
|
3189
|
+
'scroll-p': ['scroll-px', 'scroll-py', 'scroll-ps', 'scroll-pe', 'scroll-pbs', 'scroll-pbe', 'scroll-pt', 'scroll-pr', 'scroll-pb', 'scroll-pl'],
|
|
3190
|
+
'scroll-px': ['scroll-pr', 'scroll-pl'],
|
|
3191
|
+
'scroll-py': ['scroll-pt', 'scroll-pb'],
|
|
3192
|
+
touch: ['touch-x', 'touch-y', 'touch-pz'],
|
|
3193
|
+
'touch-x': ['touch'],
|
|
3194
|
+
'touch-y': ['touch'],
|
|
3195
|
+
'touch-pz': ['touch']
|
|
3196
|
+
},
|
|
3197
|
+
conflictingClassGroupModifiers: {
|
|
3198
|
+
'font-size': ['leading']
|
|
3199
|
+
},
|
|
3200
|
+
orderSensitiveModifiers: ['*', '**', 'after', 'backdrop', 'before', 'details-content', 'file', 'first-letter', 'first-line', 'marker', 'placeholder', 'selection']
|
|
3201
|
+
};
|
|
3202
|
+
};
|
|
3203
|
+
|
|
3204
|
+
/**
|
|
3205
|
+
* @param baseConfig Config where other config will be merged into. This object will be mutated.
|
|
3206
|
+
* @param configExtension Partial config to merge into the `baseConfig`.
|
|
3207
|
+
*/
|
|
3208
|
+
const mergeConfigs = (baseConfig, {
|
|
3209
|
+
cacheSize,
|
|
3210
|
+
prefix,
|
|
3211
|
+
experimentalParseClassName,
|
|
3212
|
+
extend = {},
|
|
3213
|
+
override = {}
|
|
3214
|
+
}) => {
|
|
3215
|
+
overrideProperty(baseConfig, 'cacheSize', cacheSize);
|
|
3216
|
+
overrideProperty(baseConfig, 'prefix', prefix);
|
|
3217
|
+
overrideProperty(baseConfig, 'experimentalParseClassName', experimentalParseClassName);
|
|
3218
|
+
overrideConfigProperties(baseConfig.theme, override.theme);
|
|
3219
|
+
overrideConfigProperties(baseConfig.classGroups, override.classGroups);
|
|
3220
|
+
overrideConfigProperties(baseConfig.conflictingClassGroups, override.conflictingClassGroups);
|
|
3221
|
+
overrideConfigProperties(baseConfig.conflictingClassGroupModifiers, override.conflictingClassGroupModifiers);
|
|
3222
|
+
overrideProperty(baseConfig, 'orderSensitiveModifiers', override.orderSensitiveModifiers);
|
|
3223
|
+
mergeConfigProperties(baseConfig.theme, extend.theme);
|
|
3224
|
+
mergeConfigProperties(baseConfig.classGroups, extend.classGroups);
|
|
3225
|
+
mergeConfigProperties(baseConfig.conflictingClassGroups, extend.conflictingClassGroups);
|
|
3226
|
+
mergeConfigProperties(baseConfig.conflictingClassGroupModifiers, extend.conflictingClassGroupModifiers);
|
|
3227
|
+
mergeArrayProperties(baseConfig, extend, 'orderSensitiveModifiers');
|
|
3228
|
+
return baseConfig;
|
|
3229
|
+
};
|
|
3230
|
+
const overrideProperty = (baseObject, overrideKey, overrideValue) => {
|
|
3231
|
+
if (overrideValue !== undefined) {
|
|
3232
|
+
baseObject[overrideKey] = overrideValue;
|
|
3233
|
+
}
|
|
3234
|
+
};
|
|
3235
|
+
const overrideConfigProperties = (baseObject, overrideObject) => {
|
|
3236
|
+
if (overrideObject) {
|
|
3237
|
+
for (const key in overrideObject) {
|
|
3238
|
+
overrideProperty(baseObject, key, overrideObject[key]);
|
|
3239
|
+
}
|
|
3240
|
+
}
|
|
3241
|
+
};
|
|
3242
|
+
const mergeConfigProperties = (baseObject, mergeObject) => {
|
|
3243
|
+
if (mergeObject) {
|
|
3244
|
+
for (const key in mergeObject) {
|
|
3245
|
+
mergeArrayProperties(baseObject, mergeObject, key);
|
|
3246
|
+
}
|
|
3247
|
+
}
|
|
3248
|
+
};
|
|
3249
|
+
const mergeArrayProperties = (baseObject, mergeObject, key) => {
|
|
3250
|
+
const mergeValue = mergeObject[key];
|
|
3251
|
+
if (mergeValue !== undefined) {
|
|
3252
|
+
baseObject[key] = baseObject[key] ? baseObject[key].concat(mergeValue) : mergeValue;
|
|
3253
|
+
}
|
|
3254
|
+
};
|
|
3255
|
+
const extendTailwindMerge = (configExtension, ...createConfig) => typeof configExtension === 'function' ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);
|
|
3256
|
+
|
|
3257
|
+
const colorKeys = Object.keys({ ...Colors, ...BorderColors });
|
|
3258
|
+
const spacingKeys = Object.keys(Spacings);
|
|
3259
|
+
const fontSizeKeys = Object.keys(FontSizes);
|
|
3260
|
+
const lineHeightKeys = Object.keys(LineHeights);
|
|
3261
|
+
const borderRadiusKeys = Object.keys(BorderRadius);
|
|
3262
|
+
const sizeKeys = Object.keys(Sizes);
|
|
3263
|
+
const shadowKeys = Object.keys(Shadows).concat(Object.keys(Glows));
|
|
3264
|
+
const twMerge = extendTailwindMerge({
|
|
3265
|
+
extend: {
|
|
3266
|
+
theme: {
|
|
3267
|
+
color: colorKeys,
|
|
3268
|
+
spacing: spacingKeys,
|
|
3269
|
+
radius: borderRadiusKeys,
|
|
3270
|
+
leading: lineHeightKeys,
|
|
3271
|
+
shadow: shadowKeys
|
|
3272
|
+
},
|
|
3273
|
+
classGroups: {
|
|
3274
|
+
"font-size": [{ text: fontSizeKeys }],
|
|
3275
|
+
h: [{ h: sizeKeys }],
|
|
3276
|
+
w: [{ w: sizeKeys }],
|
|
3277
|
+
size: [{ size: sizeKeys }],
|
|
3278
|
+
"min-h": [{ "min-h": sizeKeys }],
|
|
3279
|
+
"min-w": [{ "min-w": sizeKeys }],
|
|
3280
|
+
"max-h": [{ "max-h": sizeKeys }],
|
|
3281
|
+
"max-w": [{ "max-w": sizeKeys }]
|
|
3282
|
+
}
|
|
3283
|
+
}
|
|
3284
|
+
});
|
|
3285
|
+
|
|
3286
|
+
function cn(...inputs) {
|
|
3287
|
+
return twMerge(clsx(inputs));
|
|
3288
|
+
}
|
|
3289
|
+
|
|
3290
|
+
export { clsx as a, cn as c };
|
|
3291
|
+
//# sourceMappingURL=cn-Dxjsbr9n.js.map
|