@vritti/quantum-ui 0.2.10 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Alert.js +4 -32
- package/dist/Alert.js.map +1 -1
- package/dist/AppSelector.js +37 -0
- package/dist/AppSelector.js.map +1 -0
- package/dist/Avatar.js +6 -6
- package/dist/Avatar.js.map +1 -1
- package/dist/Badge2.js +3 -3
- package/dist/Breadcrumb.js +125 -0
- package/dist/Breadcrumb.js.map +1 -0
- package/dist/Button.js +9 -5
- package/dist/Button.js.map +1 -1
- package/dist/Button2.js +4 -4
- package/dist/Button2.js.map +1 -1
- package/dist/Card.js +1 -1
- package/dist/CardSkeleton.js +17 -0
- package/dist/CardSkeleton.js.map +1 -0
- package/dist/Chart.js +6196 -6402
- package/dist/Chart.js.map +1 -1
- package/dist/Checkbox2.js +7 -6
- package/dist/Checkbox2.js.map +1 -1
- package/dist/CheckboxGroup.js +74 -0
- package/dist/CheckboxGroup.js.map +1 -0
- package/dist/CloudProviderSelector.js +37 -0
- package/dist/CloudProviderSelector.js.map +1 -0
- package/dist/Collapsible.js +8 -0
- package/dist/Collapsible.js.map +1 -0
- package/dist/Combination.js +10 -2509
- package/dist/Combination.js.map +1 -1
- package/dist/ConfirmContext.js +75 -0
- package/dist/ConfirmContext.js.map +1 -0
- package/dist/CurrencySelector.js +194 -0
- package/dist/CurrencySelector.js.map +1 -0
- package/dist/DangerZoneSkeleton.js +52 -0
- package/dist/DangerZoneSkeleton.js.map +1 -0
- package/dist/DatePicker.js +36 -18
- package/dist/DatePicker.js.map +1 -1
- package/dist/DeploymentSelector.js +37 -0
- package/dist/DeploymentSelector.js.map +1 -0
- package/dist/Dialog.js +159 -0
- package/dist/Dialog.js.map +1 -0
- package/dist/DropdownMenu.js +66 -1493
- package/dist/DropdownMenu.js.map +1 -1
- package/dist/Empty.js +49 -0
- package/dist/Empty.js.map +1 -0
- package/dist/ErrorBoundary.js +255 -0
- package/dist/ErrorBoundary.js.map +1 -0
- package/dist/FeatureSelector.js +37 -0
- package/dist/FeatureSelector.js.map +1 -0
- package/dist/FilePreview.js +194 -0
- package/dist/FilePreview.js.map +1 -0
- package/dist/Form.js +1922 -20
- package/dist/Form.js.map +1 -1
- package/dist/HierarchyGraph.js +10729 -0
- package/dist/HierarchyGraph.js.map +1 -0
- package/dist/IndustrySelector.js +37 -0
- package/dist/IndustrySelector.js.map +1 -0
- package/dist/Input.js +22 -0
- package/dist/Input.js.map +1 -0
- package/dist/Label.js +2 -22
- package/dist/Label.js.map +1 -1
- package/dist/LocaleSelector.js +111 -0
- package/dist/LocaleSelector.js.map +1 -0
- package/dist/MicrofrontendSelector.js +19 -0
- package/dist/MicrofrontendSelector.js.map +1 -0
- package/dist/OTPField.js +29 -27
- package/dist/OTPField.js.map +1 -1
- package/dist/PageHeaderSkeleton.js +35 -0
- package/dist/PageHeaderSkeleton.js.map +1 -0
- package/dist/PasswordField.js +2 -50
- package/dist/PasswordField.js.map +1 -1
- package/dist/PhoneField.js +9 -14
- package/dist/PhoneField.js.map +1 -1
- package/dist/PlanSelector.js +37 -0
- package/dist/PlanSelector.js.map +1 -0
- package/dist/Progress.js +5 -4
- package/dist/Progress.js.map +1 -1
- package/dist/RadioGroup.js +392 -0
- package/dist/RadioGroup.js.map +1 -0
- package/dist/RegionSelector.js +37 -0
- package/dist/RegionSelector.js.map +1 -0
- package/dist/Select.js +780 -0
- package/dist/Select.js.map +1 -0
- package/dist/SelectFilter.js +387 -0
- package/dist/SelectFilter.js.map +1 -0
- package/dist/Sidebar.js +616 -0
- package/dist/Sidebar.js.map +1 -0
- package/dist/SingleSelect.js +429 -0
- package/dist/SingleSelect.js.map +1 -0
- package/dist/Skeleton.js +1 -1
- package/dist/Sonner.js +2 -1134
- package/dist/Sonner.js.map +1 -1
- package/dist/Sortable.js +4517 -0
- package/dist/Sortable.js.map +1 -0
- package/dist/Spinner.js +1 -1
- package/dist/StepProgressIndicator.js +42 -0
- package/dist/StepProgressIndicator.js.map +1 -0
- package/dist/Switch.js +16 -16
- package/dist/Switch.js.map +1 -1
- package/dist/TabsSkeleton.js +188 -0
- package/dist/TabsSkeleton.js.map +1 -0
- package/dist/TextArea.js +17 -20
- package/dist/TextArea.js.map +1 -1
- package/dist/TextField.js +3 -19
- package/dist/TextField.js.map +1 -1
- package/dist/TimezoneSelector.js +144 -0
- package/dist/TimezoneSelector.js.map +1 -0
- package/dist/Toggle.js +3 -33
- package/dist/Toggle.js.map +1 -1
- package/dist/Typography.js +1 -1
- package/dist/UploadFile.js +232 -0
- package/dist/UploadFile.js.map +1 -0
- package/dist/ValueFilter.js +123 -0
- package/dist/ValueFilter.js.map +1 -0
- package/dist/ViewTabs.js +218 -0
- package/dist/ViewTabs.js.map +1 -0
- package/dist/_commonjsHelpers.js +3 -1
- package/dist/_commonjsHelpers.js.map +1 -1
- package/dist/assets/quantum-ui.css +808 -38
- package/dist/axios.js +4575 -0
- package/dist/axios.js.map +1 -0
- package/dist/circle-alert.js +19 -0
- package/dist/circle-alert.js.map +1 -0
- package/dist/circle-check.js +18 -0
- package/dist/circle-check.js.map +1 -0
- package/dist/collapsible2.js +154 -0
- package/dist/collapsible2.js.map +1 -0
- package/dist/components/Breadcrumb.js +2 -0
- package/dist/components/Breadcrumb.js.map +1 -0
- package/dist/components/Card.js +1 -0
- package/dist/components/Card.js.map +1 -1
- package/dist/components/CheckboxGroup.js +2 -0
- package/dist/components/CheckboxGroup.js.map +1 -0
- package/dist/components/Collapsible.js +2 -0
- package/dist/components/Collapsible.js.map +1 -0
- package/dist/components/DangerZone.js +2 -0
- package/dist/components/DangerZone.js.map +1 -0
- package/dist/components/DataTable.js +1 -1
- package/dist/components/Dialog.js +2 -0
- package/dist/components/Dialog.js.map +1 -0
- package/dist/components/DropdownMenu.js +1 -1
- package/dist/components/Empty.js +2 -0
- package/dist/components/Empty.js.map +1 -0
- package/dist/components/ErrorBoundary.js +2 -0
- package/dist/components/ErrorBoundary.js.map +1 -0
- package/dist/components/FilePreview.js +2 -0
- package/dist/components/FilePreview.js.map +1 -0
- package/dist/components/HierarchyGraph.js +2 -0
- package/dist/components/HierarchyGraph.js.map +1 -0
- package/dist/components/PageHeader.js +2 -0
- package/dist/components/PageHeader.js.map +1 -0
- package/dist/components/RadioGroup.js +2 -0
- package/dist/components/RadioGroup.js.map +1 -0
- package/dist/components/RichTextEditor.js +4 -0
- package/dist/components/RichTextEditor.js.map +1 -0
- package/dist/components/Select.js +6 -1356
- package/dist/components/Select.js.map +1 -1
- package/dist/components/Sidebar.js +2 -0
- package/dist/components/Sidebar.js.map +1 -0
- package/dist/components/Sortable.js +2 -0
- package/dist/components/Sortable.js.map +1 -0
- package/dist/components/StepProgressIndicator.js +2 -0
- package/dist/components/StepProgressIndicator.js.map +1 -0
- package/dist/components/Tabs.js +2 -0
- package/dist/components/Tabs.js.map +1 -0
- package/dist/components/UploadFile.js +2 -0
- package/dist/components/UploadFile.js.map +1 -0
- package/dist/components/ValueFilter.js +2 -0
- package/dist/components/ValueFilter.js.map +1 -0
- package/dist/components/ViewTabs.js +2 -0
- package/dist/components/ViewTabs.js.map +1 -0
- package/dist/context/index.js +1 -0
- package/dist/context/index.js.map +1 -1
- package/dist/dropdown-menu.js +1209 -0
- package/dist/dropdown-menu.js.map +1 -0
- package/dist/ellipsis.js +19 -0
- package/dist/ellipsis.js.map +1 -0
- package/dist/eye.js +52 -0
- package/dist/eye.js.map +1 -0
- package/dist/field.js +2 -2
- package/dist/file-text.js +27 -0
- package/dist/file-text.js.map +1 -0
- package/dist/grip-vertical.js +22 -0
- package/dist/grip-vertical.js.map +1 -0
- package/dist/hooks/index.js +3 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/image-component.js +614 -0
- package/dist/image-component.js.map +1 -0
- package/dist/index.js +48 -12
- package/dist/index.js.map +1 -1
- package/dist/index10.js +181 -11
- package/dist/index10.js.map +1 -1
- package/dist/index11.js +177 -4
- package/dist/index11.js.map +1 -1
- package/dist/index12.js +17 -38
- package/dist/index12.js.map +1 -1
- package/dist/index13.js +204 -188
- package/dist/index13.js.map +1 -1
- package/dist/index14.js +124 -192
- package/dist/index14.js.map +1 -1
- package/dist/index15.js +79 -0
- package/dist/index15.js.map +1 -0
- package/dist/index16.js +16 -0
- package/dist/index16.js.map +1 -0
- package/dist/index17.js +1137 -0
- package/dist/index17.js.map +1 -0
- package/dist/index18.js +41 -0
- package/dist/index18.js.map +1 -0
- package/dist/index19.js +314 -0
- package/dist/index19.js.map +1 -0
- package/dist/index2.js +54030 -59
- package/dist/index2.js.map +1 -1
- package/dist/index20.js +488 -0
- package/dist/index20.js.map +1 -0
- package/dist/index21.js +2540 -0
- package/dist/index21.js.map +1 -0
- package/dist/index22.js +36 -0
- package/dist/index22.js.map +1 -0
- package/dist/index23.js +13 -0
- package/dist/index23.js.map +1 -0
- package/dist/index24.js +8 -0
- package/dist/index24.js.map +1 -0
- package/dist/index25.js +35 -0
- package/dist/index25.js.map +1 -0
- package/dist/index26.js +65 -0
- package/dist/index26.js.map +1 -0
- package/dist/index27.js +16 -0
- package/dist/index27.js.map +1 -0
- package/dist/index28.js +41 -0
- package/dist/index28.js.map +1 -0
- package/dist/index29.js +84 -0
- package/dist/index29.js.map +1 -0
- package/dist/index3.js +41 -61
- package/dist/index3.js.map +1 -1
- package/dist/index30.js +199 -0
- package/dist/index30.js.map +1 -0
- package/dist/index4.js +290 -92
- package/dist/index4.js.map +1 -1
- package/dist/index5.js +102 -42
- package/dist/index5.js.map +1 -1
- package/dist/index6.js +35 -8
- package/dist/index6.js.map +1 -1
- package/dist/index7.js +1141 -110
- package/dist/index7.js.map +1 -1
- package/dist/index8.js +19 -34
- package/dist/index8.js.map +1 -1
- package/dist/index9.js +27 -4
- package/dist/index9.js.map +1 -1
- package/dist/lib/components/Breadcrumb/Breadcrumb.d.ts +17 -0
- package/dist/lib/components/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/lib/components/Breadcrumb/index.d.ts +4 -0
- package/dist/lib/components/Breadcrumb/index.d.ts.map +1 -0
- package/dist/lib/components/Button/Button.d.ts +3 -1
- package/dist/lib/components/Button/Button.d.ts.map +1 -1
- package/dist/lib/components/Card/CardSkeleton.d.ts +9 -0
- package/dist/lib/components/Card/CardSkeleton.d.ts.map +1 -0
- package/dist/lib/components/Card/index.d.ts +1 -0
- package/dist/lib/components/Card/index.d.ts.map +1 -1
- package/dist/lib/components/Chart/Chart.d.ts +1 -1
- package/dist/lib/components/Chart/Chart.d.ts.map +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroup.d.ts +24 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroup.d.ts.map +1 -0
- package/dist/lib/components/CheckboxGroup/index.d.ts +3 -0
- package/dist/lib/components/CheckboxGroup/index.d.ts.map +1 -0
- package/dist/lib/components/Collapsible/Collapsible.d.ts +5 -0
- package/dist/lib/components/Collapsible/Collapsible.d.ts.map +1 -0
- package/dist/lib/components/Collapsible/index.d.ts +2 -0
- package/dist/lib/components/Collapsible/index.d.ts.map +1 -0
- package/dist/lib/components/DangerZone/DangerZone.d.ts +13 -0
- package/dist/lib/components/DangerZone/DangerZone.d.ts.map +1 -0
- package/dist/lib/components/DangerZone/DangerZoneSkeleton.d.ts +9 -0
- package/dist/lib/components/DangerZone/DangerZoneSkeleton.d.ts.map +1 -0
- package/dist/lib/components/DangerZone/index.d.ts +4 -0
- package/dist/lib/components/DangerZone/index.d.ts.map +1 -0
- package/dist/lib/components/DataTable/DataTable.d.ts +2 -11
- package/dist/lib/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/lib/components/DataTable/components/DataTableColumnHeader.d.ts.map +1 -1
- package/dist/lib/components/DataTable/components/DataTableEmpty.d.ts.map +1 -1
- package/dist/lib/components/DataTable/components/DataTableFilters.d.ts +11 -0
- package/dist/lib/components/DataTable/components/DataTableFilters.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTableImportDialog.d.ts +16 -0
- package/dist/lib/components/DataTable/components/DataTableImportDialog.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTablePagination.d.ts +1 -2
- package/dist/lib/components/DataTable/components/DataTablePagination.d.ts.map +1 -1
- package/dist/lib/components/DataTable/components/DataTableRowDensity.d.ts +11 -0
- package/dist/lib/components/DataTable/components/DataTableRowDensity.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTableSearch.d.ts +14 -0
- package/dist/lib/components/DataTable/components/DataTableSearch.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTableSelectionBar.d.ts +14 -0
- package/dist/lib/components/DataTable/components/DataTableSelectionBar.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTableViewOptions.d.ts.map +1 -1
- package/dist/lib/components/DataTable/components/DataTableViewTabs.d.ts +7 -0
- package/dist/lib/components/DataTable/components/DataTableViewTabs.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTableViewsMenu.d.ts +14 -0
- package/dist/lib/components/DataTable/components/DataTableViewsMenu.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/FilterWrapper.d.ts +21 -0
- package/dist/lib/components/DataTable/components/FilterWrapper.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/RowActions.d.ts +20 -0
- package/dist/lib/components/DataTable/components/RowActions.d.ts.map +1 -0
- package/dist/lib/components/DataTable/hooks/useAutoUpsert.d.ts +3 -0
- package/dist/lib/components/DataTable/hooks/useAutoUpsert.d.ts.map +1 -0
- package/dist/lib/components/DataTable/hooks/useDataTable.d.ts +24 -2
- package/dist/lib/components/DataTable/hooks/useDataTable.d.ts.map +1 -1
- package/dist/lib/components/DataTable/index.d.ts +11 -3
- package/dist/lib/components/DataTable/index.d.ts.map +1 -1
- package/dist/lib/components/DataTable/store/store.d.ts +28 -0
- package/dist/lib/components/DataTable/store/store.d.ts.map +1 -0
- package/dist/lib/components/DataTable/store/useTableSlice.d.ts +18 -0
- package/dist/lib/components/DataTable/store/useTableSlice.d.ts.map +1 -0
- package/dist/lib/components/DataTable/types.d.ts +55 -56
- package/dist/lib/components/DataTable/types.d.ts.map +1 -1
- package/dist/lib/components/DataTable/utils.d.ts +8 -1
- package/dist/lib/components/DataTable/utils.d.ts.map +1 -1
- package/dist/lib/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/lib/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/lib/components/Dialog/Dialog.d.ts +31 -0
- package/dist/lib/components/Dialog/Dialog.d.ts.map +1 -0
- package/dist/lib/components/Dialog/index.d.ts +3 -0
- package/dist/lib/components/Dialog/index.d.ts.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/lib/components/DropdownMenu/types.d.ts +10 -1
- package/dist/lib/components/DropdownMenu/types.d.ts.map +1 -1
- package/dist/lib/components/Editor/context/editor-config-context.d.ts +9 -0
- package/dist/lib/components/Editor/context/editor-config-context.d.ts.map +1 -0
- package/dist/lib/components/Editor/context/toolbar-context.d.ts +18 -0
- package/dist/lib/components/Editor/context/toolbar-context.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-hooks/use-debounce.d.ts +2 -0
- package/dist/lib/components/Editor/editor-hooks/use-debounce.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-hooks/use-modal.d.ts +6 -0
- package/dist/lib/components/Editor/editor-hooks/use-modal.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-hooks/use-report.d.ts +2 -0
- package/dist/lib/components/Editor/editor-hooks/use-report.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-hooks/use-update-toolbar.d.ts +3 -0
- package/dist/lib/components/Editor/editor-hooks/use-update-toolbar.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/button-group.d.ts +12 -0
- package/dist/lib/components/Editor/editor-ui/button-group.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/button.d.ts +11 -0
- package/dist/lib/components/Editor/editor-ui/button.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/code-button.d.ts +8 -0
- package/dist/lib/components/Editor/editor-ui/code-button.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/color-picker.d.ts +92 -0
- package/dist/lib/components/Editor/editor-ui/color-picker.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/command.d.ts +19 -0
- package/dist/lib/components/Editor/editor-ui/command.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/content-editable.d.ts +9 -0
- package/dist/lib/components/Editor/editor-ui/content-editable.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/dialog.d.ts +16 -0
- package/dist/lib/components/Editor/editor-ui/dialog.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/image-component.d.ts +16 -0
- package/dist/lib/components/Editor/editor-ui/image-component.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/image-resizer.d.ts +18 -0
- package/dist/lib/components/Editor/editor-ui/image-resizer.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/input.d.ts +4 -0
- package/dist/lib/components/Editor/editor-ui/input.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/label.d.ts +5 -0
- package/dist/lib/components/Editor/editor-ui/label.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/popover.d.ts +8 -0
- package/dist/lib/components/Editor/editor-ui/popover.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/scroll-area.d.ts +6 -0
- package/dist/lib/components/Editor/editor-ui/scroll-area.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/select.d.ts +16 -0
- package/dist/lib/components/Editor/editor-ui/select.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/separator.d.ts +5 -0
- package/dist/lib/components/Editor/editor-ui/separator.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/tabs.d.ts +8 -0
- package/dist/lib/components/Editor/editor-ui/tabs.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/toggle-group.d.ts +8 -0
- package/dist/lib/components/Editor/editor-ui/toggle-group.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/toggle.d.ts +10 -0
- package/dist/lib/components/Editor/editor-ui/toggle.d.ts.map +1 -0
- package/dist/lib/components/Editor/editor-ui/tooltip.d.ts +8 -0
- package/dist/lib/components/Editor/editor-ui/tooltip.d.ts.map +1 -0
- package/dist/lib/components/Editor/index.d.ts +4 -0
- package/dist/lib/components/Editor/index.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/autocomplete-node.d.ts +19 -0
- package/dist/lib/components/Editor/nodes/autocomplete-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/embeds/tweet-node.d.ts +22 -0
- package/dist/lib/components/Editor/nodes/embeds/tweet-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/embeds/youtube-node.d.ts +23 -0
- package/dist/lib/components/Editor/nodes/embeds/youtube-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/emoji-node.d.ts +18 -0
- package/dist/lib/components/Editor/nodes/emoji-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/image-node.d.ts +49 -0
- package/dist/lib/components/Editor/nodes/image-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/keyword-node.d.ts +15 -0
- package/dist/lib/components/Editor/nodes/keyword-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/layout-container-node.d.ts +23 -0
- package/dist/lib/components/Editor/nodes/layout-container-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/layout-item-node.d.ts +15 -0
- package/dist/lib/components/Editor/nodes/layout-item-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/mention-node.d.ts +21 -0
- package/dist/lib/components/Editor/nodes/mention-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes/nodes.d.ts +3 -0
- package/dist/lib/components/Editor/nodes/nodes.d.ts.map +1 -0
- package/dist/lib/components/Editor/nodes.d.ts +2 -0
- package/dist/lib/components/Editor/nodes.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/actions-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/actions/actions-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/character-limit-plugin.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/actions/character-limit-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/clear-editor-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/actions/clear-editor-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/counter-character-plugin.d.ts +6 -0
- package/dist/lib/components/Editor/plugins/actions/counter-character-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/edit-mode-toggle-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/actions/edit-mode-toggle-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/import-export-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/actions/import-export-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/markdown-toggle-plugin.d.ts +6 -0
- package/dist/lib/components/Editor/plugins/actions/markdown-toggle-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/max-length-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/actions/max-length-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/share-content-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/actions/share-content-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/speech-to-text-plugin.d.ts +7 -0
- package/dist/lib/components/Editor/plugins/actions/speech-to-text-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/actions/tree-view-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/actions/tree-view-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/auto-link-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/auto-link-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/autocomplete-plugin.d.ts +11 -0
- package/dist/lib/components/Editor/plugins/autocomplete-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/code-action-menu-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/code-action-menu-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/code-highlight-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/code-highlight-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/component-picker-menu-plugin.d.ts +9 -0
- package/dist/lib/components/Editor/plugins/component-picker-menu-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/context-menu-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/context-menu-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/drag-drop-paste-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/drag-drop-paste-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/draggable-block-plugin.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/draggable-block-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/embeds/auto-embed-plugin.d.ts +18 -0
- package/dist/lib/components/Editor/plugins/embeds/auto-embed-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/embeds/twitter-plugin.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/embeds/twitter-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/embeds/youtube-plugin.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/embeds/youtube-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/emoji-picker-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/emoji-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/emojis-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/emojis-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/floating-link-editor-plugin.d.ts +7 -0
- package/dist/lib/components/Editor/plugins/floating-link-editor-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/floating-text-format-plugin.d.ts +7 -0
- package/dist/lib/components/Editor/plugins/floating-text-format-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/images-plugin.d.ts +25 -0
- package/dist/lib/components/Editor/plugins/images-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/keywords-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/keywords-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/layout-plugin.d.ts +13 -0
- package/dist/lib/components/Editor/plugins/layout-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/link-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/link-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/list-max-indent-level-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/list-max-indent-level-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/mentions-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/mentions-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/alignment-picker-plugin.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/picker/alignment-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/bulleted-list-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/bulleted-list-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/check-list-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/check-list-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/code-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/code-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/columns-layout-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/columns-layout-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/component-picker-menu-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/picker/component-picker-menu-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/component-picker-option.d.ts +17 -0
- package/dist/lib/components/Editor/plugins/picker/component-picker-option.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/divider-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/divider-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/embeds-picker-plugin.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/picker/embeds-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/heading-picker-plugin.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/picker/heading-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/image-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/image-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/numbered-list-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/numbered-list-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/paragraph-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/paragraph-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/quote-picker-plugin.d.ts +3 -0
- package/dist/lib/components/Editor/plugins/picker/quote-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/picker/table-picker-plugin.d.ts +6 -0
- package/dist/lib/components/Editor/plugins/picker/table-picker-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/plugins.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/plugins.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/tab-focus-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/tab-focus-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/table-plugin.d.ts +34 -0
- package/dist/lib/components/Editor/plugins/table-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/block-format-data.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/block-format-data.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-bulleted-list.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-bulleted-list.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-check-list.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-check-list.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-code-block.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-code-block.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-heading.d.ts +5 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-heading.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-numbered-list.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-numbered-list.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-paragraph.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-paragraph.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-quote.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format/format-quote.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format-toolbar-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-format-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-columns-layout.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-columns-layout.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-embeds.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-embeds.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-horizontal-rule.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-horizontal-rule.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-image.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-image.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-table.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert/insert-table.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/toolbar/block-insert-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/clear-formatting-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/clear-formatting-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/code-language-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/code-language-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/element-format-toolbar-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/toolbar/element-format-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-background-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-background-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-color-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-color-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-family-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-family-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-format-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-format-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-size-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/font-size-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/history-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/history-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/horizontal-rule-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/horizontal-rule-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/image-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/image-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/link-toolbar-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/toolbar/link-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/subsuper-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/subsuper-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/table-toolbar-plugin.d.ts +2 -0
- package/dist/lib/components/Editor/plugins/toolbar/table-toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/toolbar/toolbar-plugin.d.ts +6 -0
- package/dist/lib/components/Editor/plugins/toolbar/toolbar-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins/typing-pref-plugin.d.ts +4 -0
- package/dist/lib/components/Editor/plugins/typing-pref-plugin.d.ts.map +1 -0
- package/dist/lib/components/Editor/plugins.d.ts +2 -0
- package/dist/lib/components/Editor/plugins.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/can-use-dom.d.ts +2 -0
- package/dist/lib/components/Editor/shared/can-use-dom.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/caret-from-point.d.ts +5 -0
- package/dist/lib/components/Editor/shared/caret-from-point.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/environment.d.ts +18 -0
- package/dist/lib/components/Editor/shared/environment.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/invariant.d.ts +2 -0
- package/dist/lib/components/Editor/shared/invariant.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/normalize-class-names.d.ts +2 -0
- package/dist/lib/components/Editor/shared/normalize-class-names.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/react-patches.d.ts +2 -0
- package/dist/lib/components/Editor/shared/react-patches.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/react-test-utils.d.ts +3 -0
- package/dist/lib/components/Editor/shared/react-test-utils.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/simple-diff-with-cursor.d.ts +6 -0
- package/dist/lib/components/Editor/shared/simple-diff-with-cursor.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/use-layout-effect.d.ts +4 -0
- package/dist/lib/components/Editor/shared/use-layout-effect.d.ts.map +1 -0
- package/dist/lib/components/Editor/shared/warn-only-once.d.ts +2 -0
- package/dist/lib/components/Editor/shared/warn-only-once.d.ts.map +1 -0
- package/dist/lib/components/Editor/themes/editor-theme.d.ts +3 -0
- package/dist/lib/components/Editor/themes/editor-theme.d.ts.map +1 -0
- package/dist/lib/components/Editor/transformers/index.d.ts +16 -0
- package/dist/lib/components/Editor/transformers/index.d.ts.map +1 -0
- package/dist/lib/components/Editor/transformers/markdown-emoji-transformer.d.ts +3 -0
- package/dist/lib/components/Editor/transformers/markdown-emoji-transformer.d.ts.map +1 -0
- package/dist/lib/components/Editor/transformers/markdown-hr-transformer.d.ts +3 -0
- package/dist/lib/components/Editor/transformers/markdown-hr-transformer.d.ts.map +1 -0
- package/dist/lib/components/Editor/transformers/markdown-image-transformer.d.ts +3 -0
- package/dist/lib/components/Editor/transformers/markdown-image-transformer.d.ts.map +1 -0
- package/dist/lib/components/Editor/transformers/markdown-table-transformer.d.ts +3 -0
- package/dist/lib/components/Editor/transformers/markdown-table-transformer.d.ts.map +1 -0
- package/dist/lib/components/Editor/transformers/markdown-tweet-transformer.d.ts +3 -0
- package/dist/lib/components/Editor/transformers/markdown-tweet-transformer.d.ts.map +1 -0
- package/dist/lib/components/Editor/types.d.ts +23 -0
- package/dist/lib/components/Editor/types.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/can-use-dom.d.ts +2 -0
- package/dist/lib/components/Editor/utils/can-use-dom.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/collapsible.d.ts +3 -0
- package/dist/lib/components/Editor/utils/collapsible.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/doc-serialization.d.ts +4 -0
- package/dist/lib/components/Editor/utils/doc-serialization.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/emoji-list.d.ts +21 -0
- package/dist/lib/components/Editor/utils/emoji-list.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/get-dom-range-rect.d.ts +2 -0
- package/dist/lib/components/Editor/utils/get-dom-range-rect.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/get-selected-node.d.ts +3 -0
- package/dist/lib/components/Editor/utils/get-selected-node.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/guard.d.ts +2 -0
- package/dist/lib/components/Editor/utils/guard.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/is-mobile-width.d.ts +2 -0
- package/dist/lib/components/Editor/utils/is-mobile-width.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/set-floating-elem-position-for-link-editor.d.ts +2 -0
- package/dist/lib/components/Editor/utils/set-floating-elem-position-for-link-editor.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/set-floating-elem-position.d.ts +2 -0
- package/dist/lib/components/Editor/utils/set-floating-elem-position.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/swipe.d.ts +5 -0
- package/dist/lib/components/Editor/utils/swipe.d.ts.map +1 -0
- package/dist/lib/components/Editor/utils/url.d.ts +3 -0
- package/dist/lib/components/Editor/utils/url.d.ts.map +1 -0
- package/dist/lib/components/Empty/Empty.d.ts +12 -0
- package/dist/lib/components/Empty/Empty.d.ts.map +1 -0
- package/dist/lib/components/Empty/index.d.ts +3 -0
- package/dist/lib/components/Empty/index.d.ts.map +1 -0
- package/dist/lib/components/ErrorBoundary/ErrorBoundary.d.ts +7 -0
- package/dist/lib/components/ErrorBoundary/ErrorBoundary.d.ts.map +1 -0
- package/dist/lib/components/ErrorBoundary/ErrorPage.d.ts +38 -0
- package/dist/lib/components/ErrorBoundary/ErrorPage.d.ts.map +1 -0
- package/dist/lib/components/ErrorBoundary/index.d.ts +3 -0
- package/dist/lib/components/ErrorBoundary/index.d.ts.map +1 -0
- package/dist/lib/components/FilePreview/FilePreview.d.ts +8 -0
- package/dist/lib/components/FilePreview/FilePreview.d.ts.map +1 -0
- package/dist/lib/components/FilePreview/index.d.ts +2 -0
- package/dist/lib/components/FilePreview/index.d.ts.map +1 -0
- package/dist/lib/components/Form/Form.d.ts +5 -3
- package/dist/lib/components/Form/Form.d.ts.map +1 -1
- package/dist/lib/components/HierarchyGraph/HierarchyGraph.d.ts +24 -0
- package/dist/lib/components/HierarchyGraph/HierarchyGraph.d.ts.map +1 -0
- package/dist/lib/components/HierarchyGraph/index.d.ts +5 -0
- package/dist/lib/components/HierarchyGraph/index.d.ts.map +1 -0
- package/dist/lib/components/PageHeader/PageHeader.d.ts +8 -0
- package/dist/lib/components/PageHeader/PageHeader.d.ts.map +1 -0
- package/dist/lib/components/PageHeader/PageHeaderSkeleton.d.ts +10 -0
- package/dist/lib/components/PageHeader/PageHeaderSkeleton.d.ts.map +1 -0
- package/dist/lib/components/PageHeader/index.d.ts +3 -0
- package/dist/lib/components/PageHeader/index.d.ts.map +1 -0
- package/dist/lib/components/PhoneField/PhoneField.d.ts.map +1 -1
- package/dist/lib/components/RadioGroup/RadioGroup.d.ts +23 -0
- package/dist/lib/components/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/dist/lib/components/RadioGroup/index.d.ts +3 -0
- package/dist/lib/components/RadioGroup/index.d.ts.map +1 -0
- package/dist/lib/components/Select/Select.d.ts +8 -10
- package/dist/lib/components/Select/Select.d.ts.map +1 -1
- package/dist/lib/components/Select/SelectFilter.d.ts +20 -0
- package/dist/lib/components/Select/SelectFilter.d.ts.map +1 -0
- package/dist/lib/components/Select/components/MultiSelect/MultiSelect.d.ts +3 -1
- package/dist/lib/components/Select/components/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/lib/components/Select/components/MultiSelect/MultiSelectFilter.d.ts +13 -6
- package/dist/lib/components/Select/components/MultiSelect/MultiSelectFilter.d.ts.map +1 -1
- package/dist/lib/components/Select/components/SingleSelect/SingleSelect.d.ts +17 -1
- package/dist/lib/components/Select/components/SingleSelect/SingleSelect.d.ts.map +1 -1
- package/dist/lib/components/Select/components/SingleSelect/SingleSelectFilter.d.ts +9 -2
- package/dist/lib/components/Select/components/SingleSelect/SingleSelectFilter.d.ts.map +1 -1
- package/dist/lib/components/Select/hooks/useMultiSelect.d.ts +2 -1
- package/dist/lib/components/Select/hooks/useMultiSelect.d.ts.map +1 -1
- package/dist/lib/components/Select/hooks/useSelect.d.ts +3 -1
- package/dist/lib/components/Select/hooks/useSelect.d.ts.map +1 -1
- package/dist/lib/components/Select/hooks/useSingleSelect.d.ts +2 -1
- package/dist/lib/components/Select/hooks/useSingleSelect.d.ts.map +1 -1
- package/dist/lib/components/Select/index.d.ts +4 -2
- package/dist/lib/components/Select/index.d.ts.map +1 -1
- package/dist/lib/components/Select/types.d.ts +8 -1
- package/dist/lib/components/Select/types.d.ts.map +1 -1
- package/dist/lib/components/Sidebar/Sidebar.d.ts +24 -0
- package/dist/lib/components/Sidebar/Sidebar.d.ts.map +1 -0
- package/dist/lib/components/Sidebar/index.d.ts +2 -0
- package/dist/lib/components/Sidebar/index.d.ts.map +1 -0
- package/dist/lib/components/Sortable/Sortable.d.ts +39 -0
- package/dist/lib/components/Sortable/Sortable.d.ts.map +1 -0
- package/dist/lib/components/Sortable/index.d.ts +3 -0
- package/dist/lib/components/Sortable/index.d.ts.map +1 -0
- package/dist/lib/components/StepProgressIndicator/StepProgressIndicator.d.ts +12 -0
- package/dist/lib/components/StepProgressIndicator/StepProgressIndicator.d.ts.map +1 -0
- package/dist/lib/components/StepProgressIndicator/index.d.ts +3 -0
- package/dist/lib/components/StepProgressIndicator/index.d.ts.map +1 -0
- package/dist/lib/components/Switch/Switch.d.ts.map +1 -1
- package/dist/lib/components/Tabs/Tabs.d.ts +27 -0
- package/dist/lib/components/Tabs/Tabs.d.ts.map +1 -0
- package/dist/lib/components/Tabs/TabsSkeleton.d.ts +11 -0
- package/dist/lib/components/Tabs/TabsSkeleton.d.ts.map +1 -0
- package/dist/lib/components/Tabs/index.d.ts +3 -0
- package/dist/lib/components/Tabs/index.d.ts.map +1 -0
- package/dist/lib/components/TextArea/TextArea.d.ts.map +1 -1
- package/dist/lib/components/UploadFile/UploadFile.d.ts +26 -0
- package/dist/lib/components/UploadFile/UploadFile.d.ts.map +1 -0
- package/dist/lib/components/UploadFile/index.d.ts +2 -0
- package/dist/lib/components/UploadFile/index.d.ts.map +1 -0
- package/dist/lib/components/ValueFilter/ValueFilter.d.ts +11 -0
- package/dist/lib/components/ValueFilter/ValueFilter.d.ts.map +1 -0
- package/dist/lib/components/ValueFilter/index.d.ts +3 -0
- package/dist/lib/components/ValueFilter/index.d.ts.map +1 -0
- package/dist/lib/components/ViewTabs/ViewTabs.d.ts +23 -0
- package/dist/lib/components/ViewTabs/ViewTabs.d.ts.map +1 -0
- package/dist/lib/components/ViewTabs/index.d.ts +3 -0
- package/dist/lib/components/ViewTabs/index.d.ts.map +1 -0
- package/dist/lib/components/index.d.ts +19 -0
- package/dist/lib/components/index.d.ts.map +1 -1
- package/dist/lib/config/index.d.ts +6 -0
- package/dist/lib/config/index.d.ts.map +1 -1
- package/dist/lib/context/ConfirmContext.d.ts +21 -0
- package/dist/lib/context/ConfirmContext.d.ts.map +1 -0
- package/dist/lib/context/index.d.ts +1 -0
- package/dist/lib/context/index.d.ts.map +1 -1
- package/dist/lib/hooks/index.d.ts +5 -0
- package/dist/lib/hooks/index.d.ts.map +1 -1
- package/dist/lib/hooks/useConfirm.d.ts +4 -0
- package/dist/lib/hooks/useConfirm.d.ts.map +1 -0
- package/dist/lib/hooks/useDialog.d.ts +11 -0
- package/dist/lib/hooks/useDialog.d.ts.map +1 -0
- package/dist/lib/hooks/useIsMobile.d.ts +2 -0
- package/dist/lib/hooks/useIsMobile.d.ts.map +1 -0
- package/dist/lib/hooks/useSlugParams.d.ts +12 -0
- package/dist/lib/hooks/useSlugParams.d.ts.map +1 -0
- package/dist/lib/hooks/useTimer.d.ts +6 -0
- package/dist/lib/hooks/useTimer.d.ts.map +1 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/selects/app/AppFilter.d.ts +11 -0
- package/dist/lib/selects/app/AppFilter.d.ts.map +1 -0
- package/dist/lib/selects/app/AppSelector.d.ts +4 -0
- package/dist/lib/selects/app/AppSelector.d.ts.map +1 -0
- package/dist/lib/selects/app/index.d.ts +3 -0
- package/dist/lib/selects/app/index.d.ts.map +1 -0
- package/dist/lib/selects/app-code/AppCodeFilter.d.ts +11 -0
- package/dist/lib/selects/app-code/AppCodeFilter.d.ts.map +1 -0
- package/dist/lib/selects/app-code/AppCodeSelector.d.ts +4 -0
- package/dist/lib/selects/app-code/AppCodeSelector.d.ts.map +1 -0
- package/dist/lib/selects/app-code/index.d.ts +3 -0
- package/dist/lib/selects/app-code/index.d.ts.map +1 -0
- package/dist/lib/selects/cloud-provider/CloudProviderFilter.d.ts +11 -0
- package/dist/lib/selects/cloud-provider/CloudProviderFilter.d.ts.map +1 -0
- package/dist/lib/selects/cloud-provider/CloudProviderSelector.d.ts +4 -0
- package/dist/lib/selects/cloud-provider/CloudProviderSelector.d.ts.map +1 -0
- package/dist/lib/selects/cloud-provider/index.d.ts +3 -0
- package/dist/lib/selects/cloud-provider/index.d.ts.map +1 -0
- package/dist/lib/selects/currency/CurrencyFilter.d.ts +11 -0
- package/dist/lib/selects/currency/CurrencyFilter.d.ts.map +1 -0
- package/dist/lib/selects/currency/CurrencySelector.d.ts +4 -0
- package/dist/lib/selects/currency/CurrencySelector.d.ts.map +1 -0
- package/dist/lib/selects/currency/currencies.d.ts +3 -0
- package/dist/lib/selects/currency/currencies.d.ts.map +1 -0
- package/dist/lib/selects/currency/index.d.ts +3 -0
- package/dist/lib/selects/currency/index.d.ts.map +1 -0
- package/dist/lib/selects/deployment/DeploymentFilter.d.ts +11 -0
- package/dist/lib/selects/deployment/DeploymentFilter.d.ts.map +1 -0
- package/dist/lib/selects/deployment/DeploymentSelector.d.ts +4 -0
- package/dist/lib/selects/deployment/DeploymentSelector.d.ts.map +1 -0
- package/dist/lib/selects/deployment/index.d.ts +3 -0
- package/dist/lib/selects/deployment/index.d.ts.map +1 -0
- package/dist/lib/selects/feature/FeatureFilter.d.ts +11 -0
- package/dist/lib/selects/feature/FeatureFilter.d.ts.map +1 -0
- package/dist/lib/selects/feature/FeatureSelector.d.ts +4 -0
- package/dist/lib/selects/feature/FeatureSelector.d.ts.map +1 -0
- package/dist/lib/selects/feature/index.d.ts +3 -0
- package/dist/lib/selects/feature/index.d.ts.map +1 -0
- package/dist/lib/selects/index.d.ts +12 -0
- package/dist/lib/selects/index.d.ts.map +1 -0
- package/dist/lib/selects/industry/IndustryFilter.d.ts +11 -0
- package/dist/lib/selects/industry/IndustryFilter.d.ts.map +1 -0
- package/dist/lib/selects/industry/IndustrySelector.d.ts +4 -0
- package/dist/lib/selects/industry/IndustrySelector.d.ts.map +1 -0
- package/dist/lib/selects/industry/index.d.ts +3 -0
- package/dist/lib/selects/industry/index.d.ts.map +1 -0
- package/dist/lib/selects/locale/LocaleFilter.d.ts +11 -0
- package/dist/lib/selects/locale/LocaleFilter.d.ts.map +1 -0
- package/dist/lib/selects/locale/LocaleSelector.d.ts +4 -0
- package/dist/lib/selects/locale/LocaleSelector.d.ts.map +1 -0
- package/dist/lib/selects/locale/index.d.ts +3 -0
- package/dist/lib/selects/locale/index.d.ts.map +1 -0
- package/dist/lib/selects/locale/locales.d.ts +3 -0
- package/dist/lib/selects/locale/locales.d.ts.map +1 -0
- package/dist/lib/selects/microfrontend/MicrofrontendSelector.d.ts +4 -0
- package/dist/lib/selects/microfrontend/MicrofrontendSelector.d.ts.map +1 -0
- package/dist/lib/selects/microfrontend/index.d.ts +2 -0
- package/dist/lib/selects/microfrontend/index.d.ts.map +1 -0
- package/dist/lib/selects/plan/PlanFilter.d.ts +11 -0
- package/dist/lib/selects/plan/PlanFilter.d.ts.map +1 -0
- package/dist/lib/selects/plan/PlanSelector.d.ts +4 -0
- package/dist/lib/selects/plan/PlanSelector.d.ts.map +1 -0
- package/dist/lib/selects/plan/index.d.ts +3 -0
- package/dist/lib/selects/plan/index.d.ts.map +1 -0
- package/dist/lib/selects/region/RegionFilter.d.ts +11 -0
- package/dist/lib/selects/region/RegionFilter.d.ts.map +1 -0
- package/dist/lib/selects/region/RegionSelector.d.ts +4 -0
- package/dist/lib/selects/region/RegionSelector.d.ts.map +1 -0
- package/dist/lib/selects/region/index.d.ts +3 -0
- package/dist/lib/selects/region/index.d.ts.map +1 -0
- package/dist/lib/selects/timezone/TimezoneFilter.d.ts +11 -0
- package/dist/lib/selects/timezone/TimezoneFilter.d.ts.map +1 -0
- package/dist/lib/selects/timezone/TimezoneSelector.d.ts +4 -0
- package/dist/lib/selects/timezone/TimezoneSelector.d.ts.map +1 -0
- package/dist/lib/selects/timezone/index.d.ts +3 -0
- package/dist/lib/selects/timezone/index.d.ts.map +1 -0
- package/dist/lib/selects/timezone/timezones.d.ts +3 -0
- package/dist/lib/selects/timezone/timezones.d.ts.map +1 -0
- package/dist/lib/services/table-views.service.d.ts +25 -0
- package/dist/lib/services/table-views.service.d.ts.map +1 -0
- package/dist/lib/types/api-response.d.ts +21 -0
- package/dist/lib/types/api-response.d.ts.map +1 -0
- package/dist/lib/types/table-filter.d.ts +41 -0
- package/dist/lib/types/table-filter.d.ts.map +1 -0
- package/dist/lib/utils/axios.d.ts.map +1 -1
- package/dist/lib/utils/index.d.ts +1 -0
- package/dist/lib/utils/index.d.ts.map +1 -1
- package/dist/lib/utils/motion.d.ts +2 -0
- package/dist/lib/utils/motion.d.ts.map +1 -0
- package/dist/lib/utils/slug.d.ts +7 -0
- package/dist/lib/utils/slug.d.ts.map +1 -0
- package/dist/plus.js +18 -0
- package/dist/plus.js.map +1 -0
- package/dist/popover.js +3 -299
- package/dist/popover.js.map +1 -1
- package/dist/proxy.js +11392 -0
- package/dist/proxy.js.map +1 -0
- package/dist/react-error-boundary.js +67 -0
- package/dist/react-error-boundary.js.map +1 -0
- package/dist/select2.js +116 -0
- package/dist/select2.js.map +1 -0
- package/dist/selects/app-code.js +37 -0
- package/dist/selects/app-code.js.map +1 -0
- package/dist/selects/app.js +2 -0
- package/dist/selects/app.js.map +1 -0
- package/dist/selects/cloud-provider.js +2 -0
- package/dist/selects/cloud-provider.js.map +1 -0
- package/dist/selects/currency.js +2 -0
- package/dist/selects/currency.js.map +1 -0
- package/dist/selects/deployment.js +2 -0
- package/dist/selects/deployment.js.map +1 -0
- package/dist/selects/feature.js +2 -0
- package/dist/selects/feature.js.map +1 -0
- package/dist/selects/industry.js +2 -0
- package/dist/selects/industry.js.map +1 -0
- package/dist/selects/locale.js +2 -0
- package/dist/selects/locale.js.map +1 -0
- package/dist/selects/microfrontend.js +2 -0
- package/dist/selects/microfrontend.js.map +1 -0
- package/dist/selects/plan.js +2 -0
- package/dist/selects/plan.js.map +1 -0
- package/dist/selects/region.js +2 -0
- package/dist/selects/region.js.map +1 -0
- package/dist/selects/timezone.js +2 -0
- package/dist/selects/timezone.js.map +1 -0
- package/dist/separator2.js +2 -28
- package/dist/separator2.js.map +1 -1
- package/dist/shadcn/index.d.ts +2 -0
- package/dist/shadcn/index.d.ts.map +1 -1
- package/dist/shadcn/shadcnBreadcrumb/breadcrumb.d.ts +18 -0
- package/dist/shadcn/shadcnBreadcrumb/breadcrumb.d.ts.map +1 -0
- package/dist/shadcn/shadcnBreadcrumb/index.d.ts +2 -0
- package/dist/shadcn/shadcnBreadcrumb/index.d.ts.map +1 -0
- package/dist/shadcn/shadcnCalendar/calendar.d.ts +1 -1
- package/dist/shadcn/shadcnCalendar/calendar.d.ts.map +1 -1
- package/dist/shadcn/shadcnChart/Chart.d.ts +2 -2
- package/dist/shadcn/shadcnChart/Chart.d.ts.map +1 -1
- package/dist/shadcn/shadcnCollapsible/collapsible.d.ts +7 -0
- package/dist/shadcn/shadcnCollapsible/collapsible.d.ts.map +1 -0
- package/dist/shadcn/shadcnCollapsible/index.d.ts +2 -0
- package/dist/shadcn/shadcnCollapsible/index.d.ts.map +1 -0
- package/dist/shadcn/shadcnDialog/dialog.d.ts +20 -0
- package/dist/shadcn/shadcnDialog/dialog.d.ts.map +1 -0
- package/dist/shadcn/shadcnDialog/index.d.ts +2 -0
- package/dist/shadcn/shadcnDialog/index.d.ts.map +1 -0
- package/dist/shadcn/shadcnDropdownMenu/dropdown-menu.d.ts +1 -1
- package/dist/shadcn/shadcnDropdownMenu/dropdown-menu.d.ts.map +1 -1
- package/dist/shadcn/shadcnForm/form.d.ts +1 -1
- package/dist/shadcn/shadcnForm/form.d.ts.map +1 -1
- package/dist/shadcn/shadcnInputOTP/InputOTP.d.ts +1 -1
- package/dist/shadcn/shadcnInputOTP/InputOTP.d.ts.map +1 -1
- package/dist/shadcn/shadcnMultiSelect/multi-select.d.ts +1 -1
- package/dist/shadcn/shadcnMultiSelect/multi-select.d.ts.map +1 -1
- package/dist/shadcn/shadcnProgress/Progress.d.ts +1 -1
- package/dist/shadcn/shadcnProgress/Progress.d.ts.map +1 -1
- package/dist/shadcn/shadcnRadioGroup/RadioGroup.d.ts +6 -0
- package/dist/shadcn/shadcnRadioGroup/RadioGroup.d.ts.map +1 -0
- package/dist/shadcn/shadcnRadioGroup/index.d.ts +2 -0
- package/dist/shadcn/shadcnRadioGroup/index.d.ts.map +1 -0
- package/dist/shadcn/shadcnSheet/sheet.d.ts +1 -1
- package/dist/shadcn/shadcnSheet/sheet.d.ts.map +1 -1
- package/dist/shadcn/shadcnSidebar/index.d.ts +2 -0
- package/dist/shadcn/shadcnSidebar/index.d.ts.map +1 -0
- package/dist/shadcn/shadcnSidebar/sidebar.d.ts +86 -0
- package/dist/shadcn/shadcnSidebar/sidebar.d.ts.map +1 -0
- package/dist/shadcn/shadcnSingleSelect/single-select.d.ts +2 -1
- package/dist/shadcn/shadcnSingleSelect/single-select.d.ts.map +1 -1
- package/dist/shadcn/shadcnSwitch/Switch.d.ts.map +1 -1
- package/dist/shadcn/shadcnTable/table.d.ts +1 -1
- package/dist/shadcn/shadcnTable/table.d.ts.map +1 -1
- package/dist/shadcn/shadcnTabs/index.d.ts +2 -0
- package/dist/shadcn/shadcnTabs/index.d.ts.map +1 -0
- package/dist/shadcn/shadcnTabs/tabs.d.ts +8 -0
- package/dist/shadcn/shadcnTabs/tabs.d.ts.map +1 -0
- package/dist/shadcn/shadcnTooltip/tooltip.d.ts +1 -1
- package/dist/shadcn/shadcnTooltip/tooltip.d.ts.map +1 -1
- package/dist/share-2.js +42 -0
- package/dist/share-2.js.map +1 -0
- package/dist/text-align-justify.js +34 -0
- package/dist/text-align-justify.js.map +1 -0
- package/dist/trash-2.js +55 -0
- package/dist/trash-2.js.map +1 -0
- package/dist/types/api-response.js +2 -0
- package/dist/types/api-response.js.map +1 -0
- package/dist/types/table-filter.js +17 -0
- package/dist/types/table-filter.js.map +1 -0
- package/dist/upload.js +19 -0
- package/dist/upload.js.map +1 -0
- package/dist/useConfirm.js +37 -0
- package/dist/useConfirm.js.map +1 -0
- package/dist/useDataTable.js +26545 -0
- package/dist/useDataTable.js.map +1 -0
- package/dist/useIsMobile.js +19 -0
- package/dist/useIsMobile.js.map +1 -0
- package/dist/{useSSE.js → useTimer.js} +33 -3
- package/dist/useTimer.js.map +1 -0
- package/dist/utils/axios.js +2 -4167
- package/dist/utils/axios.js.map +1 -1
- package/dist/utils/motion.js +4425 -0
- package/dist/utils/motion.js.map +1 -0
- package/dist/utils/slug.js +15 -0
- package/dist/utils/slug.js.map +1 -0
- package/dist/utils.js +3137 -3750
- package/dist/utils.js.map +1 -1
- package/dist/value.js +820 -0
- package/dist/value.js.map +1 -0
- package/package.json +186 -3
- package/dist/lib/components/DataTable/components/DataTableToolbar.d.ts +0 -15
- package/dist/lib/components/DataTable/components/DataTableToolbar.d.ts.map +0 -1
- package/dist/useSSE.js.map +0 -1
- package/dist/utils2.js +0 -3042
- package/dist/utils2.js.map +0 -1
package/dist/utils2.js
DELETED
|
@@ -1,3042 +0,0 @@
|
|
|
1
|
-
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}
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Concatenates two arrays faster than the array spread operator.
|
|
5
|
-
*/
|
|
6
|
-
const concatArrays = (array1, array2) => {
|
|
7
|
-
// Pre-allocate for better V8 optimization
|
|
8
|
-
const combinedArray = new Array(array1.length + array2.length);
|
|
9
|
-
for (let i = 0; i < array1.length; i++) {
|
|
10
|
-
combinedArray[i] = array1[i];
|
|
11
|
-
}
|
|
12
|
-
for (let i = 0; i < array2.length; i++) {
|
|
13
|
-
combinedArray[array1.length + i] = array2[i];
|
|
14
|
-
}
|
|
15
|
-
return combinedArray;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
// Factory function ensures consistent object shapes
|
|
19
|
-
const createClassValidatorObject = (classGroupId, validator) => ({
|
|
20
|
-
classGroupId,
|
|
21
|
-
validator
|
|
22
|
-
});
|
|
23
|
-
// Factory ensures consistent ClassPartObject shape
|
|
24
|
-
const createClassPartObject = (nextPart = new Map(), validators = null, classGroupId) => ({
|
|
25
|
-
nextPart,
|
|
26
|
-
validators,
|
|
27
|
-
classGroupId
|
|
28
|
-
});
|
|
29
|
-
const CLASS_PART_SEPARATOR = '-';
|
|
30
|
-
const EMPTY_CONFLICTS = [];
|
|
31
|
-
// I use two dots here because one dot is used as prefix for class groups in plugins
|
|
32
|
-
const ARBITRARY_PROPERTY_PREFIX = 'arbitrary..';
|
|
33
|
-
const createClassGroupUtils = config => {
|
|
34
|
-
const classMap = createClassMap(config);
|
|
35
|
-
const {
|
|
36
|
-
conflictingClassGroups,
|
|
37
|
-
conflictingClassGroupModifiers
|
|
38
|
-
} = config;
|
|
39
|
-
const getClassGroupId = className => {
|
|
40
|
-
if (className.startsWith('[') && className.endsWith(']')) {
|
|
41
|
-
return getGroupIdForArbitraryProperty(className);
|
|
42
|
-
}
|
|
43
|
-
const classParts = className.split(CLASS_PART_SEPARATOR);
|
|
44
|
-
// Classes like `-inset-1` produce an empty string as first classPart. We assume that classes for negative values are used correctly and skip it.
|
|
45
|
-
const startIndex = classParts[0] === '' && classParts.length > 1 ? 1 : 0;
|
|
46
|
-
return getGroupRecursive(classParts, startIndex, classMap);
|
|
47
|
-
};
|
|
48
|
-
const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
|
|
49
|
-
if (hasPostfixModifier) {
|
|
50
|
-
const modifierConflicts = conflictingClassGroupModifiers[classGroupId];
|
|
51
|
-
const baseConflicts = conflictingClassGroups[classGroupId];
|
|
52
|
-
if (modifierConflicts) {
|
|
53
|
-
if (baseConflicts) {
|
|
54
|
-
// Merge base conflicts with modifier conflicts
|
|
55
|
-
return concatArrays(baseConflicts, modifierConflicts);
|
|
56
|
-
}
|
|
57
|
-
// Only modifier conflicts
|
|
58
|
-
return modifierConflicts;
|
|
59
|
-
}
|
|
60
|
-
// Fall back to without postfix if no modifier conflicts
|
|
61
|
-
return baseConflicts || EMPTY_CONFLICTS;
|
|
62
|
-
}
|
|
63
|
-
return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;
|
|
64
|
-
};
|
|
65
|
-
return {
|
|
66
|
-
getClassGroupId,
|
|
67
|
-
getConflictingClassGroupIds
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
const getGroupRecursive = (classParts, startIndex, classPartObject) => {
|
|
71
|
-
const classPathsLength = classParts.length - startIndex;
|
|
72
|
-
if (classPathsLength === 0) {
|
|
73
|
-
return classPartObject.classGroupId;
|
|
74
|
-
}
|
|
75
|
-
const currentClassPart = classParts[startIndex];
|
|
76
|
-
const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
|
|
77
|
-
if (nextClassPartObject) {
|
|
78
|
-
const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);
|
|
79
|
-
if (result) return result;
|
|
80
|
-
}
|
|
81
|
-
const validators = classPartObject.validators;
|
|
82
|
-
if (validators === null) {
|
|
83
|
-
return undefined;
|
|
84
|
-
}
|
|
85
|
-
// Build classRest string efficiently by joining from startIndex onwards
|
|
86
|
-
const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);
|
|
87
|
-
const validatorsLength = validators.length;
|
|
88
|
-
for (let i = 0; i < validatorsLength; i++) {
|
|
89
|
-
const validatorObj = validators[i];
|
|
90
|
-
if (validatorObj.validator(classRest)) {
|
|
91
|
-
return validatorObj.classGroupId;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
return undefined;
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* Get the class group ID for an arbitrary property.
|
|
98
|
-
*
|
|
99
|
-
* @param className - The class name to get the group ID for. Is expected to be string starting with `[` and ending with `]`.
|
|
100
|
-
*/
|
|
101
|
-
const getGroupIdForArbitraryProperty = className => className.slice(1, -1).indexOf(':') === -1 ? undefined : (() => {
|
|
102
|
-
const content = className.slice(1, -1);
|
|
103
|
-
const colonIndex = content.indexOf(':');
|
|
104
|
-
const property = content.slice(0, colonIndex);
|
|
105
|
-
return property ? ARBITRARY_PROPERTY_PREFIX + property : undefined;
|
|
106
|
-
})();
|
|
107
|
-
/**
|
|
108
|
-
* Exported for testing only
|
|
109
|
-
*/
|
|
110
|
-
const createClassMap = config => {
|
|
111
|
-
const {
|
|
112
|
-
theme,
|
|
113
|
-
classGroups
|
|
114
|
-
} = config;
|
|
115
|
-
return processClassGroups(classGroups, theme);
|
|
116
|
-
};
|
|
117
|
-
// Split into separate functions to maintain monomorphic call sites
|
|
118
|
-
const processClassGroups = (classGroups, theme) => {
|
|
119
|
-
const classMap = createClassPartObject();
|
|
120
|
-
for (const classGroupId in classGroups) {
|
|
121
|
-
const group = classGroups[classGroupId];
|
|
122
|
-
processClassesRecursively(group, classMap, classGroupId, theme);
|
|
123
|
-
}
|
|
124
|
-
return classMap;
|
|
125
|
-
};
|
|
126
|
-
const processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
|
|
127
|
-
const len = classGroup.length;
|
|
128
|
-
for (let i = 0; i < len; i++) {
|
|
129
|
-
const classDefinition = classGroup[i];
|
|
130
|
-
processClassDefinition(classDefinition, classPartObject, classGroupId, theme);
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
// Split into separate functions for each type to maintain monomorphic call sites
|
|
134
|
-
const processClassDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
|
|
135
|
-
if (typeof classDefinition === 'string') {
|
|
136
|
-
processStringDefinition(classDefinition, classPartObject, classGroupId);
|
|
137
|
-
return;
|
|
138
|
-
}
|
|
139
|
-
if (typeof classDefinition === 'function') {
|
|
140
|
-
processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);
|
|
141
|
-
return;
|
|
142
|
-
}
|
|
143
|
-
processObjectDefinition(classDefinition, classPartObject, classGroupId, theme);
|
|
144
|
-
};
|
|
145
|
-
const processStringDefinition = (classDefinition, classPartObject, classGroupId) => {
|
|
146
|
-
const classPartObjectToEdit = classDefinition === '' ? classPartObject : getPart(classPartObject, classDefinition);
|
|
147
|
-
classPartObjectToEdit.classGroupId = classGroupId;
|
|
148
|
-
};
|
|
149
|
-
const processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
|
|
150
|
-
if (isThemeGetter(classDefinition)) {
|
|
151
|
-
processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
|
|
152
|
-
return;
|
|
153
|
-
}
|
|
154
|
-
if (classPartObject.validators === null) {
|
|
155
|
-
classPartObject.validators = [];
|
|
156
|
-
}
|
|
157
|
-
classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition));
|
|
158
|
-
};
|
|
159
|
-
const processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
|
|
160
|
-
const entries = Object.entries(classDefinition);
|
|
161
|
-
const len = entries.length;
|
|
162
|
-
for (let i = 0; i < len; i++) {
|
|
163
|
-
const [key, value] = entries[i];
|
|
164
|
-
processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);
|
|
165
|
-
}
|
|
166
|
-
};
|
|
167
|
-
const getPart = (classPartObject, path) => {
|
|
168
|
-
let current = classPartObject;
|
|
169
|
-
const parts = path.split(CLASS_PART_SEPARATOR);
|
|
170
|
-
const len = parts.length;
|
|
171
|
-
for (let i = 0; i < len; i++) {
|
|
172
|
-
const part = parts[i];
|
|
173
|
-
let next = current.nextPart.get(part);
|
|
174
|
-
if (!next) {
|
|
175
|
-
next = createClassPartObject();
|
|
176
|
-
current.nextPart.set(part, next);
|
|
177
|
-
}
|
|
178
|
-
current = next;
|
|
179
|
-
}
|
|
180
|
-
return current;
|
|
181
|
-
};
|
|
182
|
-
// Type guard maintains monomorphic check
|
|
183
|
-
const isThemeGetter = func => 'isThemeGetter' in func && func.isThemeGetter === true;
|
|
184
|
-
|
|
185
|
-
// LRU cache implementation using plain objects for simplicity
|
|
186
|
-
const createLruCache = maxCacheSize => {
|
|
187
|
-
if (maxCacheSize < 1) {
|
|
188
|
-
return {
|
|
189
|
-
get: () => undefined,
|
|
190
|
-
set: () => {}
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
let cacheSize = 0;
|
|
194
|
-
let cache = Object.create(null);
|
|
195
|
-
let previousCache = Object.create(null);
|
|
196
|
-
const update = (key, value) => {
|
|
197
|
-
cache[key] = value;
|
|
198
|
-
cacheSize++;
|
|
199
|
-
if (cacheSize > maxCacheSize) {
|
|
200
|
-
cacheSize = 0;
|
|
201
|
-
previousCache = cache;
|
|
202
|
-
cache = Object.create(null);
|
|
203
|
-
}
|
|
204
|
-
};
|
|
205
|
-
return {
|
|
206
|
-
get(key) {
|
|
207
|
-
let value = cache[key];
|
|
208
|
-
if (value !== undefined) {
|
|
209
|
-
return value;
|
|
210
|
-
}
|
|
211
|
-
if ((value = previousCache[key]) !== undefined) {
|
|
212
|
-
update(key, value);
|
|
213
|
-
return value;
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
set(key, value) {
|
|
217
|
-
if (key in cache) {
|
|
218
|
-
cache[key] = value;
|
|
219
|
-
} else {
|
|
220
|
-
update(key, value);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
};
|
|
224
|
-
};
|
|
225
|
-
const IMPORTANT_MODIFIER = '!';
|
|
226
|
-
const MODIFIER_SEPARATOR = ':';
|
|
227
|
-
const EMPTY_MODIFIERS = [];
|
|
228
|
-
// Pre-allocated result object shape for consistency
|
|
229
|
-
const createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal) => ({
|
|
230
|
-
modifiers,
|
|
231
|
-
hasImportantModifier,
|
|
232
|
-
baseClassName,
|
|
233
|
-
maybePostfixModifierPosition,
|
|
234
|
-
isExternal
|
|
235
|
-
});
|
|
236
|
-
const createParseClassName = config => {
|
|
237
|
-
const {
|
|
238
|
-
prefix,
|
|
239
|
-
experimentalParseClassName
|
|
240
|
-
} = config;
|
|
241
|
-
/**
|
|
242
|
-
* Parse class name into parts.
|
|
243
|
-
*
|
|
244
|
-
* Inspired by `splitAtTopLevelOnly` used in Tailwind CSS
|
|
245
|
-
* @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js
|
|
246
|
-
*/
|
|
247
|
-
let parseClassName = className => {
|
|
248
|
-
// Use simple array with push for better performance
|
|
249
|
-
const modifiers = [];
|
|
250
|
-
let bracketDepth = 0;
|
|
251
|
-
let parenDepth = 0;
|
|
252
|
-
let modifierStart = 0;
|
|
253
|
-
let postfixModifierPosition;
|
|
254
|
-
const len = className.length;
|
|
255
|
-
for (let index = 0; index < len; index++) {
|
|
256
|
-
const currentCharacter = className[index];
|
|
257
|
-
if (bracketDepth === 0 && parenDepth === 0) {
|
|
258
|
-
if (currentCharacter === MODIFIER_SEPARATOR) {
|
|
259
|
-
modifiers.push(className.slice(modifierStart, index));
|
|
260
|
-
modifierStart = index + 1;
|
|
261
|
-
continue;
|
|
262
|
-
}
|
|
263
|
-
if (currentCharacter === '/') {
|
|
264
|
-
postfixModifierPosition = index;
|
|
265
|
-
continue;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
if (currentCharacter === '[') bracketDepth++;else if (currentCharacter === ']') bracketDepth--;else if (currentCharacter === '(') parenDepth++;else if (currentCharacter === ')') parenDepth--;
|
|
269
|
-
}
|
|
270
|
-
const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);
|
|
271
|
-
// Inline important modifier check
|
|
272
|
-
let baseClassName = baseClassNameWithImportantModifier;
|
|
273
|
-
let hasImportantModifier = false;
|
|
274
|
-
if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {
|
|
275
|
-
baseClassName = baseClassNameWithImportantModifier.slice(0, -1);
|
|
276
|
-
hasImportantModifier = true;
|
|
277
|
-
} else if (
|
|
278
|
-
/**
|
|
279
|
-
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
280
|
-
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
281
|
-
*/
|
|
282
|
-
baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)) {
|
|
283
|
-
baseClassName = baseClassNameWithImportantModifier.slice(1);
|
|
284
|
-
hasImportantModifier = true;
|
|
285
|
-
}
|
|
286
|
-
const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : undefined;
|
|
287
|
-
return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition);
|
|
288
|
-
};
|
|
289
|
-
if (prefix) {
|
|
290
|
-
const fullPrefix = prefix + MODIFIER_SEPARATOR;
|
|
291
|
-
const parseClassNameOriginal = parseClassName;
|
|
292
|
-
parseClassName = className => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, undefined, true);
|
|
293
|
-
}
|
|
294
|
-
if (experimentalParseClassName) {
|
|
295
|
-
const parseClassNameOriginal = parseClassName;
|
|
296
|
-
parseClassName = className => experimentalParseClassName({
|
|
297
|
-
className,
|
|
298
|
-
parseClassName: parseClassNameOriginal
|
|
299
|
-
});
|
|
300
|
-
}
|
|
301
|
-
return parseClassName;
|
|
302
|
-
};
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* Sorts modifiers according to following schema:
|
|
306
|
-
* - Predefined modifiers are sorted alphabetically
|
|
307
|
-
* - When an arbitrary variant appears, it must be preserved which modifiers are before and after it
|
|
308
|
-
*/
|
|
309
|
-
const createSortModifiers = config => {
|
|
310
|
-
// Pre-compute weights for all known modifiers for O(1) comparison
|
|
311
|
-
const modifierWeights = new Map();
|
|
312
|
-
// Assign weights to sensitive modifiers (highest priority, but preserve order)
|
|
313
|
-
config.orderSensitiveModifiers.forEach((mod, index) => {
|
|
314
|
-
modifierWeights.set(mod, 1000000 + index); // High weights for sensitive mods
|
|
315
|
-
});
|
|
316
|
-
return modifiers => {
|
|
317
|
-
const result = [];
|
|
318
|
-
let currentSegment = [];
|
|
319
|
-
// Process modifiers in one pass
|
|
320
|
-
for (let i = 0; i < modifiers.length; i++) {
|
|
321
|
-
const modifier = modifiers[i];
|
|
322
|
-
// Check if modifier is sensitive (starts with '[' or in orderSensitiveModifiers)
|
|
323
|
-
const isArbitrary = modifier[0] === '[';
|
|
324
|
-
const isOrderSensitive = modifierWeights.has(modifier);
|
|
325
|
-
if (isArbitrary || isOrderSensitive) {
|
|
326
|
-
// Sort and flush current segment alphabetically
|
|
327
|
-
if (currentSegment.length > 0) {
|
|
328
|
-
currentSegment.sort();
|
|
329
|
-
result.push(...currentSegment);
|
|
330
|
-
currentSegment = [];
|
|
331
|
-
}
|
|
332
|
-
result.push(modifier);
|
|
333
|
-
} else {
|
|
334
|
-
// Regular modifier - add to current segment for batch sorting
|
|
335
|
-
currentSegment.push(modifier);
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
// Sort and add any remaining segment items
|
|
339
|
-
if (currentSegment.length > 0) {
|
|
340
|
-
currentSegment.sort();
|
|
341
|
-
result.push(...currentSegment);
|
|
342
|
-
}
|
|
343
|
-
return result;
|
|
344
|
-
};
|
|
345
|
-
};
|
|
346
|
-
const createConfigUtils = config => ({
|
|
347
|
-
cache: createLruCache(config.cacheSize),
|
|
348
|
-
parseClassName: createParseClassName(config),
|
|
349
|
-
sortModifiers: createSortModifiers(config),
|
|
350
|
-
...createClassGroupUtils(config)
|
|
351
|
-
});
|
|
352
|
-
const SPLIT_CLASSES_REGEX = /\s+/;
|
|
353
|
-
const mergeClassList = (classList, configUtils) => {
|
|
354
|
-
const {
|
|
355
|
-
parseClassName,
|
|
356
|
-
getClassGroupId,
|
|
357
|
-
getConflictingClassGroupIds,
|
|
358
|
-
sortModifiers
|
|
359
|
-
} = configUtils;
|
|
360
|
-
/**
|
|
361
|
-
* Set of classGroupIds in following format:
|
|
362
|
-
* `{importantModifier}{variantModifiers}{classGroupId}`
|
|
363
|
-
* @example 'float'
|
|
364
|
-
* @example 'hover:focus:bg-color'
|
|
365
|
-
* @example 'md:!pr'
|
|
366
|
-
*/
|
|
367
|
-
const classGroupsInConflict = [];
|
|
368
|
-
const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
|
|
369
|
-
let result = '';
|
|
370
|
-
for (let index = classNames.length - 1; index >= 0; index -= 1) {
|
|
371
|
-
const originalClassName = classNames[index];
|
|
372
|
-
const {
|
|
373
|
-
isExternal,
|
|
374
|
-
modifiers,
|
|
375
|
-
hasImportantModifier,
|
|
376
|
-
baseClassName,
|
|
377
|
-
maybePostfixModifierPosition
|
|
378
|
-
} = parseClassName(originalClassName);
|
|
379
|
-
if (isExternal) {
|
|
380
|
-
result = originalClassName + (result.length > 0 ? ' ' + result : result);
|
|
381
|
-
continue;
|
|
382
|
-
}
|
|
383
|
-
let hasPostfixModifier = !!maybePostfixModifierPosition;
|
|
384
|
-
let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
|
|
385
|
-
if (!classGroupId) {
|
|
386
|
-
if (!hasPostfixModifier) {
|
|
387
|
-
// Not a Tailwind class
|
|
388
|
-
result = originalClassName + (result.length > 0 ? ' ' + result : result);
|
|
389
|
-
continue;
|
|
390
|
-
}
|
|
391
|
-
classGroupId = getClassGroupId(baseClassName);
|
|
392
|
-
if (!classGroupId) {
|
|
393
|
-
// Not a Tailwind class
|
|
394
|
-
result = originalClassName + (result.length > 0 ? ' ' + result : result);
|
|
395
|
-
continue;
|
|
396
|
-
}
|
|
397
|
-
hasPostfixModifier = false;
|
|
398
|
-
}
|
|
399
|
-
// Fast path: skip sorting for empty or single modifier
|
|
400
|
-
const variantModifier = modifiers.length === 0 ? '' : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(':');
|
|
401
|
-
const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
|
|
402
|
-
const classId = modifierId + classGroupId;
|
|
403
|
-
if (classGroupsInConflict.indexOf(classId) > -1) {
|
|
404
|
-
// Tailwind class omitted due to conflict
|
|
405
|
-
continue;
|
|
406
|
-
}
|
|
407
|
-
classGroupsInConflict.push(classId);
|
|
408
|
-
const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
|
|
409
|
-
for (let i = 0; i < conflictGroups.length; ++i) {
|
|
410
|
-
const group = conflictGroups[i];
|
|
411
|
-
classGroupsInConflict.push(modifierId + group);
|
|
412
|
-
}
|
|
413
|
-
// Tailwind class not in conflict
|
|
414
|
-
result = originalClassName + (result.length > 0 ? ' ' + result : result);
|
|
415
|
-
}
|
|
416
|
-
return result;
|
|
417
|
-
};
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
|
|
421
|
-
*
|
|
422
|
-
* Specifically:
|
|
423
|
-
* - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
|
|
424
|
-
* - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
|
|
425
|
-
*
|
|
426
|
-
* Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
|
|
427
|
-
*/
|
|
428
|
-
const twJoin = (...classLists) => {
|
|
429
|
-
let index = 0;
|
|
430
|
-
let argument;
|
|
431
|
-
let resolvedValue;
|
|
432
|
-
let string = '';
|
|
433
|
-
while (index < classLists.length) {
|
|
434
|
-
if (argument = classLists[index++]) {
|
|
435
|
-
if (resolvedValue = toValue(argument)) {
|
|
436
|
-
string && (string += ' ');
|
|
437
|
-
string += resolvedValue;
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
return string;
|
|
442
|
-
};
|
|
443
|
-
const toValue = mix => {
|
|
444
|
-
// Fast path for strings
|
|
445
|
-
if (typeof mix === 'string') {
|
|
446
|
-
return mix;
|
|
447
|
-
}
|
|
448
|
-
let resolvedValue;
|
|
449
|
-
let string = '';
|
|
450
|
-
for (let k = 0; k < mix.length; k++) {
|
|
451
|
-
if (mix[k]) {
|
|
452
|
-
if (resolvedValue = toValue(mix[k])) {
|
|
453
|
-
string && (string += ' ');
|
|
454
|
-
string += resolvedValue;
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
return string;
|
|
459
|
-
};
|
|
460
|
-
const createTailwindMerge = (createConfigFirst, ...createConfigRest) => {
|
|
461
|
-
let configUtils;
|
|
462
|
-
let cacheGet;
|
|
463
|
-
let cacheSet;
|
|
464
|
-
let functionToCall;
|
|
465
|
-
const initTailwindMerge = classList => {
|
|
466
|
-
const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
|
|
467
|
-
configUtils = createConfigUtils(config);
|
|
468
|
-
cacheGet = configUtils.cache.get;
|
|
469
|
-
cacheSet = configUtils.cache.set;
|
|
470
|
-
functionToCall = tailwindMerge;
|
|
471
|
-
return tailwindMerge(classList);
|
|
472
|
-
};
|
|
473
|
-
const tailwindMerge = classList => {
|
|
474
|
-
const cachedResult = cacheGet(classList);
|
|
475
|
-
if (cachedResult) {
|
|
476
|
-
return cachedResult;
|
|
477
|
-
}
|
|
478
|
-
const result = mergeClassList(classList, configUtils);
|
|
479
|
-
cacheSet(classList, result);
|
|
480
|
-
return result;
|
|
481
|
-
};
|
|
482
|
-
functionToCall = initTailwindMerge;
|
|
483
|
-
return (...args) => functionToCall(twJoin(...args));
|
|
484
|
-
};
|
|
485
|
-
const fallbackThemeArr = [];
|
|
486
|
-
const fromTheme = key => {
|
|
487
|
-
const themeGetter = theme => theme[key] || fallbackThemeArr;
|
|
488
|
-
themeGetter.isThemeGetter = true;
|
|
489
|
-
return themeGetter;
|
|
490
|
-
};
|
|
491
|
-
const arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
|
|
492
|
-
const arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
|
|
493
|
-
const fractionRegex = /^\d+\/\d+$/;
|
|
494
|
-
const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
495
|
-
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$/;
|
|
496
|
-
const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/;
|
|
497
|
-
// Shadow always begins with x and y offset separated by underscore optionally prepended by inset
|
|
498
|
-
const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
|
499
|
-
const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
500
|
-
const isFraction = value => fractionRegex.test(value);
|
|
501
|
-
const isNumber = value => !!value && !Number.isNaN(Number(value));
|
|
502
|
-
const isInteger = value => !!value && Number.isInteger(Number(value));
|
|
503
|
-
const isPercent = value => value.endsWith('%') && isNumber(value.slice(0, -1));
|
|
504
|
-
const isTshirtSize = value => tshirtUnitRegex.test(value);
|
|
505
|
-
const isAny = () => true;
|
|
506
|
-
const isLengthOnly = value =>
|
|
507
|
-
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
508
|
-
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
509
|
-
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
510
|
-
lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
|
|
511
|
-
const isNever = () => false;
|
|
512
|
-
const isShadow = value => shadowRegex.test(value);
|
|
513
|
-
const isImage = value => imageRegex.test(value);
|
|
514
|
-
const isAnyNonArbitrary = value => !isArbitraryValue(value) && !isArbitraryVariable(value);
|
|
515
|
-
const isArbitrarySize = value => getIsArbitraryValue(value, isLabelSize, isNever);
|
|
516
|
-
const isArbitraryValue = value => arbitraryValueRegex.test(value);
|
|
517
|
-
const isArbitraryLength = value => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
|
|
518
|
-
const isArbitraryNumber = value => getIsArbitraryValue(value, isLabelNumber, isNumber);
|
|
519
|
-
const isArbitraryPosition = value => getIsArbitraryValue(value, isLabelPosition, isNever);
|
|
520
|
-
const isArbitraryImage = value => getIsArbitraryValue(value, isLabelImage, isImage);
|
|
521
|
-
const isArbitraryShadow = value => getIsArbitraryValue(value, isLabelShadow, isShadow);
|
|
522
|
-
const isArbitraryVariable = value => arbitraryVariableRegex.test(value);
|
|
523
|
-
const isArbitraryVariableLength = value => getIsArbitraryVariable(value, isLabelLength);
|
|
524
|
-
const isArbitraryVariableFamilyName = value => getIsArbitraryVariable(value, isLabelFamilyName);
|
|
525
|
-
const isArbitraryVariablePosition = value => getIsArbitraryVariable(value, isLabelPosition);
|
|
526
|
-
const isArbitraryVariableSize = value => getIsArbitraryVariable(value, isLabelSize);
|
|
527
|
-
const isArbitraryVariableImage = value => getIsArbitraryVariable(value, isLabelImage);
|
|
528
|
-
const isArbitraryVariableShadow = value => getIsArbitraryVariable(value, isLabelShadow, true);
|
|
529
|
-
// Helpers
|
|
530
|
-
const getIsArbitraryValue = (value, testLabel, testValue) => {
|
|
531
|
-
const result = arbitraryValueRegex.exec(value);
|
|
532
|
-
if (result) {
|
|
533
|
-
if (result[1]) {
|
|
534
|
-
return testLabel(result[1]);
|
|
535
|
-
}
|
|
536
|
-
return testValue(result[2]);
|
|
537
|
-
}
|
|
538
|
-
return false;
|
|
539
|
-
};
|
|
540
|
-
const getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {
|
|
541
|
-
const result = arbitraryVariableRegex.exec(value);
|
|
542
|
-
if (result) {
|
|
543
|
-
if (result[1]) {
|
|
544
|
-
return testLabel(result[1]);
|
|
545
|
-
}
|
|
546
|
-
return shouldMatchNoLabel;
|
|
547
|
-
}
|
|
548
|
-
return false;
|
|
549
|
-
};
|
|
550
|
-
// Labels
|
|
551
|
-
const isLabelPosition = label => label === 'position' || label === 'percentage';
|
|
552
|
-
const isLabelImage = label => label === 'image' || label === 'url';
|
|
553
|
-
const isLabelSize = label => label === 'length' || label === 'size' || label === 'bg-size';
|
|
554
|
-
const isLabelLength = label => label === 'length';
|
|
555
|
-
const isLabelNumber = label => label === 'number';
|
|
556
|
-
const isLabelFamilyName = label => label === 'family-name';
|
|
557
|
-
const isLabelShadow = label => label === 'shadow';
|
|
558
|
-
const getDefaultConfig = () => {
|
|
559
|
-
/**
|
|
560
|
-
* Theme getters for theme variable namespaces
|
|
561
|
-
* @see https://tailwindcss.com/docs/theme#theme-variable-namespaces
|
|
562
|
-
*/
|
|
563
|
-
/***/
|
|
564
|
-
const themeColor = fromTheme('color');
|
|
565
|
-
const themeFont = fromTheme('font');
|
|
566
|
-
const themeText = fromTheme('text');
|
|
567
|
-
const themeFontWeight = fromTheme('font-weight');
|
|
568
|
-
const themeTracking = fromTheme('tracking');
|
|
569
|
-
const themeLeading = fromTheme('leading');
|
|
570
|
-
const themeBreakpoint = fromTheme('breakpoint');
|
|
571
|
-
const themeContainer = fromTheme('container');
|
|
572
|
-
const themeSpacing = fromTheme('spacing');
|
|
573
|
-
const themeRadius = fromTheme('radius');
|
|
574
|
-
const themeShadow = fromTheme('shadow');
|
|
575
|
-
const themeInsetShadow = fromTheme('inset-shadow');
|
|
576
|
-
const themeTextShadow = fromTheme('text-shadow');
|
|
577
|
-
const themeDropShadow = fromTheme('drop-shadow');
|
|
578
|
-
const themeBlur = fromTheme('blur');
|
|
579
|
-
const themePerspective = fromTheme('perspective');
|
|
580
|
-
const themeAspect = fromTheme('aspect');
|
|
581
|
-
const themeEase = fromTheme('ease');
|
|
582
|
-
const themeAnimate = fromTheme('animate');
|
|
583
|
-
/**
|
|
584
|
-
* Helpers to avoid repeating the same scales
|
|
585
|
-
*
|
|
586
|
-
* We use functions that create a new array every time they're called instead of static arrays.
|
|
587
|
-
* 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.
|
|
588
|
-
*/
|
|
589
|
-
/***/
|
|
590
|
-
const scaleBreak = () => ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'];
|
|
591
|
-
const scalePosition = () => ['center', 'top', 'bottom', 'left', 'right', 'top-left',
|
|
592
|
-
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
593
|
-
'left-top', 'top-right',
|
|
594
|
-
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
595
|
-
'right-top', 'bottom-right',
|
|
596
|
-
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
597
|
-
'right-bottom', 'bottom-left',
|
|
598
|
-
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
599
|
-
'left-bottom'];
|
|
600
|
-
const scalePositionWithArbitrary = () => [...scalePosition(), isArbitraryVariable, isArbitraryValue];
|
|
601
|
-
const scaleOverflow = () => ['auto', 'hidden', 'clip', 'visible', 'scroll'];
|
|
602
|
-
const scaleOverscroll = () => ['auto', 'contain', 'none'];
|
|
603
|
-
const scaleUnambiguousSpacing = () => [isArbitraryVariable, isArbitraryValue, themeSpacing];
|
|
604
|
-
const scaleInset = () => [isFraction, 'full', 'auto', ...scaleUnambiguousSpacing()];
|
|
605
|
-
const scaleGridTemplateColsRows = () => [isInteger, 'none', 'subgrid', isArbitraryVariable, isArbitraryValue];
|
|
606
|
-
const scaleGridColRowStartAndEnd = () => ['auto', {
|
|
607
|
-
span: ['full', isInteger, isArbitraryVariable, isArbitraryValue]
|
|
608
|
-
}, isInteger, isArbitraryVariable, isArbitraryValue];
|
|
609
|
-
const scaleGridColRowStartOrEnd = () => [isInteger, 'auto', isArbitraryVariable, isArbitraryValue];
|
|
610
|
-
const scaleGridAutoColsRows = () => ['auto', 'min', 'max', 'fr', isArbitraryVariable, isArbitraryValue];
|
|
611
|
-
const scaleAlignPrimaryAxis = () => ['start', 'end', 'center', 'between', 'around', 'evenly', 'stretch', 'baseline', 'center-safe', 'end-safe'];
|
|
612
|
-
const scaleAlignSecondaryAxis = () => ['start', 'end', 'center', 'stretch', 'center-safe', 'end-safe'];
|
|
613
|
-
const scaleMargin = () => ['auto', ...scaleUnambiguousSpacing()];
|
|
614
|
-
const scaleSizing = () => [isFraction, 'auto', 'full', 'dvw', 'dvh', 'lvw', 'lvh', 'svw', 'svh', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];
|
|
615
|
-
const scaleColor = () => [themeColor, isArbitraryVariable, isArbitraryValue];
|
|
616
|
-
const scaleBgPosition = () => [...scalePosition(), isArbitraryVariablePosition, isArbitraryPosition, {
|
|
617
|
-
position: [isArbitraryVariable, isArbitraryValue]
|
|
618
|
-
}];
|
|
619
|
-
const scaleBgRepeat = () => ['no-repeat', {
|
|
620
|
-
repeat: ['', 'x', 'y', 'space', 'round']
|
|
621
|
-
}];
|
|
622
|
-
const scaleBgSize = () => ['auto', 'cover', 'contain', isArbitraryVariableSize, isArbitrarySize, {
|
|
623
|
-
size: [isArbitraryVariable, isArbitraryValue]
|
|
624
|
-
}];
|
|
625
|
-
const scaleGradientStopPosition = () => [isPercent, isArbitraryVariableLength, isArbitraryLength];
|
|
626
|
-
const scaleRadius = () => [
|
|
627
|
-
// Deprecated since Tailwind CSS v4.0.0
|
|
628
|
-
'', 'none', 'full', themeRadius, isArbitraryVariable, isArbitraryValue];
|
|
629
|
-
const scaleBorderWidth = () => ['', isNumber, isArbitraryVariableLength, isArbitraryLength];
|
|
630
|
-
const scaleLineStyle = () => ['solid', 'dashed', 'dotted', 'double'];
|
|
631
|
-
const scaleBlendMode = () => ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'];
|
|
632
|
-
const scaleMaskImagePosition = () => [isNumber, isPercent, isArbitraryVariablePosition, isArbitraryPosition];
|
|
633
|
-
const scaleBlur = () => [
|
|
634
|
-
// Deprecated since Tailwind CSS v4.0.0
|
|
635
|
-
'', 'none', themeBlur, isArbitraryVariable, isArbitraryValue];
|
|
636
|
-
const scaleRotate = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];
|
|
637
|
-
const scaleScale = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];
|
|
638
|
-
const scaleSkew = () => [isNumber, isArbitraryVariable, isArbitraryValue];
|
|
639
|
-
const scaleTranslate = () => [isFraction, 'full', ...scaleUnambiguousSpacing()];
|
|
640
|
-
return {
|
|
641
|
-
cacheSize: 500,
|
|
642
|
-
theme: {
|
|
643
|
-
animate: ['spin', 'ping', 'pulse', 'bounce'],
|
|
644
|
-
aspect: ['video'],
|
|
645
|
-
blur: [isTshirtSize],
|
|
646
|
-
breakpoint: [isTshirtSize],
|
|
647
|
-
color: [isAny],
|
|
648
|
-
container: [isTshirtSize],
|
|
649
|
-
'drop-shadow': [isTshirtSize],
|
|
650
|
-
ease: ['in', 'out', 'in-out'],
|
|
651
|
-
font: [isAnyNonArbitrary],
|
|
652
|
-
'font-weight': ['thin', 'extralight', 'light', 'normal', 'medium', 'semibold', 'bold', 'extrabold', 'black'],
|
|
653
|
-
'inset-shadow': [isTshirtSize],
|
|
654
|
-
leading: ['none', 'tight', 'snug', 'normal', 'relaxed', 'loose'],
|
|
655
|
-
perspective: ['dramatic', 'near', 'normal', 'midrange', 'distant', 'none'],
|
|
656
|
-
radius: [isTshirtSize],
|
|
657
|
-
shadow: [isTshirtSize],
|
|
658
|
-
spacing: ['px', isNumber],
|
|
659
|
-
text: [isTshirtSize],
|
|
660
|
-
'text-shadow': [isTshirtSize],
|
|
661
|
-
tracking: ['tighter', 'tight', 'normal', 'wide', 'wider', 'widest']
|
|
662
|
-
},
|
|
663
|
-
classGroups: {
|
|
664
|
-
// --------------
|
|
665
|
-
// --- Layout ---
|
|
666
|
-
// --------------
|
|
667
|
-
/**
|
|
668
|
-
* Aspect Ratio
|
|
669
|
-
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
670
|
-
*/
|
|
671
|
-
aspect: [{
|
|
672
|
-
aspect: ['auto', 'square', isFraction, isArbitraryValue, isArbitraryVariable, themeAspect]
|
|
673
|
-
}],
|
|
674
|
-
/**
|
|
675
|
-
* Container
|
|
676
|
-
* @see https://tailwindcss.com/docs/container
|
|
677
|
-
* @deprecated since Tailwind CSS v4.0.0
|
|
678
|
-
*/
|
|
679
|
-
container: ['container'],
|
|
680
|
-
/**
|
|
681
|
-
* Columns
|
|
682
|
-
* @see https://tailwindcss.com/docs/columns
|
|
683
|
-
*/
|
|
684
|
-
columns: [{
|
|
685
|
-
columns: [isNumber, isArbitraryValue, isArbitraryVariable, themeContainer]
|
|
686
|
-
}],
|
|
687
|
-
/**
|
|
688
|
-
* Break After
|
|
689
|
-
* @see https://tailwindcss.com/docs/break-after
|
|
690
|
-
*/
|
|
691
|
-
'break-after': [{
|
|
692
|
-
'break-after': scaleBreak()
|
|
693
|
-
}],
|
|
694
|
-
/**
|
|
695
|
-
* Break Before
|
|
696
|
-
* @see https://tailwindcss.com/docs/break-before
|
|
697
|
-
*/
|
|
698
|
-
'break-before': [{
|
|
699
|
-
'break-before': scaleBreak()
|
|
700
|
-
}],
|
|
701
|
-
/**
|
|
702
|
-
* Break Inside
|
|
703
|
-
* @see https://tailwindcss.com/docs/break-inside
|
|
704
|
-
*/
|
|
705
|
-
'break-inside': [{
|
|
706
|
-
'break-inside': ['auto', 'avoid', 'avoid-page', 'avoid-column']
|
|
707
|
-
}],
|
|
708
|
-
/**
|
|
709
|
-
* Box Decoration Break
|
|
710
|
-
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
711
|
-
*/
|
|
712
|
-
'box-decoration': [{
|
|
713
|
-
'box-decoration': ['slice', 'clone']
|
|
714
|
-
}],
|
|
715
|
-
/**
|
|
716
|
-
* Box Sizing
|
|
717
|
-
* @see https://tailwindcss.com/docs/box-sizing
|
|
718
|
-
*/
|
|
719
|
-
box: [{
|
|
720
|
-
box: ['border', 'content']
|
|
721
|
-
}],
|
|
722
|
-
/**
|
|
723
|
-
* Display
|
|
724
|
-
* @see https://tailwindcss.com/docs/display
|
|
725
|
-
*/
|
|
726
|
-
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'],
|
|
727
|
-
/**
|
|
728
|
-
* Screen Reader Only
|
|
729
|
-
* @see https://tailwindcss.com/docs/display#screen-reader-only
|
|
730
|
-
*/
|
|
731
|
-
sr: ['sr-only', 'not-sr-only'],
|
|
732
|
-
/**
|
|
733
|
-
* Floats
|
|
734
|
-
* @see https://tailwindcss.com/docs/float
|
|
735
|
-
*/
|
|
736
|
-
float: [{
|
|
737
|
-
float: ['right', 'left', 'none', 'start', 'end']
|
|
738
|
-
}],
|
|
739
|
-
/**
|
|
740
|
-
* Clear
|
|
741
|
-
* @see https://tailwindcss.com/docs/clear
|
|
742
|
-
*/
|
|
743
|
-
clear: [{
|
|
744
|
-
clear: ['left', 'right', 'both', 'none', 'start', 'end']
|
|
745
|
-
}],
|
|
746
|
-
/**
|
|
747
|
-
* Isolation
|
|
748
|
-
* @see https://tailwindcss.com/docs/isolation
|
|
749
|
-
*/
|
|
750
|
-
isolation: ['isolate', 'isolation-auto'],
|
|
751
|
-
/**
|
|
752
|
-
* Object Fit
|
|
753
|
-
* @see https://tailwindcss.com/docs/object-fit
|
|
754
|
-
*/
|
|
755
|
-
'object-fit': [{
|
|
756
|
-
object: ['contain', 'cover', 'fill', 'none', 'scale-down']
|
|
757
|
-
}],
|
|
758
|
-
/**
|
|
759
|
-
* Object Position
|
|
760
|
-
* @see https://tailwindcss.com/docs/object-position
|
|
761
|
-
*/
|
|
762
|
-
'object-position': [{
|
|
763
|
-
object: scalePositionWithArbitrary()
|
|
764
|
-
}],
|
|
765
|
-
/**
|
|
766
|
-
* Overflow
|
|
767
|
-
* @see https://tailwindcss.com/docs/overflow
|
|
768
|
-
*/
|
|
769
|
-
overflow: [{
|
|
770
|
-
overflow: scaleOverflow()
|
|
771
|
-
}],
|
|
772
|
-
/**
|
|
773
|
-
* Overflow X
|
|
774
|
-
* @see https://tailwindcss.com/docs/overflow
|
|
775
|
-
*/
|
|
776
|
-
'overflow-x': [{
|
|
777
|
-
'overflow-x': scaleOverflow()
|
|
778
|
-
}],
|
|
779
|
-
/**
|
|
780
|
-
* Overflow Y
|
|
781
|
-
* @see https://tailwindcss.com/docs/overflow
|
|
782
|
-
*/
|
|
783
|
-
'overflow-y': [{
|
|
784
|
-
'overflow-y': scaleOverflow()
|
|
785
|
-
}],
|
|
786
|
-
/**
|
|
787
|
-
* Overscroll Behavior
|
|
788
|
-
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
789
|
-
*/
|
|
790
|
-
overscroll: [{
|
|
791
|
-
overscroll: scaleOverscroll()
|
|
792
|
-
}],
|
|
793
|
-
/**
|
|
794
|
-
* Overscroll Behavior X
|
|
795
|
-
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
796
|
-
*/
|
|
797
|
-
'overscroll-x': [{
|
|
798
|
-
'overscroll-x': scaleOverscroll()
|
|
799
|
-
}],
|
|
800
|
-
/**
|
|
801
|
-
* Overscroll Behavior Y
|
|
802
|
-
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
803
|
-
*/
|
|
804
|
-
'overscroll-y': [{
|
|
805
|
-
'overscroll-y': scaleOverscroll()
|
|
806
|
-
}],
|
|
807
|
-
/**
|
|
808
|
-
* Position
|
|
809
|
-
* @see https://tailwindcss.com/docs/position
|
|
810
|
-
*/
|
|
811
|
-
position: ['static', 'fixed', 'absolute', 'relative', 'sticky'],
|
|
812
|
-
/**
|
|
813
|
-
* Top / Right / Bottom / Left
|
|
814
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
815
|
-
*/
|
|
816
|
-
inset: [{
|
|
817
|
-
inset: scaleInset()
|
|
818
|
-
}],
|
|
819
|
-
/**
|
|
820
|
-
* Right / Left
|
|
821
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
822
|
-
*/
|
|
823
|
-
'inset-x': [{
|
|
824
|
-
'inset-x': scaleInset()
|
|
825
|
-
}],
|
|
826
|
-
/**
|
|
827
|
-
* Top / Bottom
|
|
828
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
829
|
-
*/
|
|
830
|
-
'inset-y': [{
|
|
831
|
-
'inset-y': scaleInset()
|
|
832
|
-
}],
|
|
833
|
-
/**
|
|
834
|
-
* Start
|
|
835
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
836
|
-
*/
|
|
837
|
-
start: [{
|
|
838
|
-
start: scaleInset()
|
|
839
|
-
}],
|
|
840
|
-
/**
|
|
841
|
-
* End
|
|
842
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
843
|
-
*/
|
|
844
|
-
end: [{
|
|
845
|
-
end: scaleInset()
|
|
846
|
-
}],
|
|
847
|
-
/**
|
|
848
|
-
* Top
|
|
849
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
850
|
-
*/
|
|
851
|
-
top: [{
|
|
852
|
-
top: scaleInset()
|
|
853
|
-
}],
|
|
854
|
-
/**
|
|
855
|
-
* Right
|
|
856
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
857
|
-
*/
|
|
858
|
-
right: [{
|
|
859
|
-
right: scaleInset()
|
|
860
|
-
}],
|
|
861
|
-
/**
|
|
862
|
-
* Bottom
|
|
863
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
864
|
-
*/
|
|
865
|
-
bottom: [{
|
|
866
|
-
bottom: scaleInset()
|
|
867
|
-
}],
|
|
868
|
-
/**
|
|
869
|
-
* Left
|
|
870
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
871
|
-
*/
|
|
872
|
-
left: [{
|
|
873
|
-
left: scaleInset()
|
|
874
|
-
}],
|
|
875
|
-
/**
|
|
876
|
-
* Visibility
|
|
877
|
-
* @see https://tailwindcss.com/docs/visibility
|
|
878
|
-
*/
|
|
879
|
-
visibility: ['visible', 'invisible', 'collapse'],
|
|
880
|
-
/**
|
|
881
|
-
* Z-Index
|
|
882
|
-
* @see https://tailwindcss.com/docs/z-index
|
|
883
|
-
*/
|
|
884
|
-
z: [{
|
|
885
|
-
z: [isInteger, 'auto', isArbitraryVariable, isArbitraryValue]
|
|
886
|
-
}],
|
|
887
|
-
// ------------------------
|
|
888
|
-
// --- Flexbox and Grid ---
|
|
889
|
-
// ------------------------
|
|
890
|
-
/**
|
|
891
|
-
* Flex Basis
|
|
892
|
-
* @see https://tailwindcss.com/docs/flex-basis
|
|
893
|
-
*/
|
|
894
|
-
basis: [{
|
|
895
|
-
basis: [isFraction, 'full', 'auto', themeContainer, ...scaleUnambiguousSpacing()]
|
|
896
|
-
}],
|
|
897
|
-
/**
|
|
898
|
-
* Flex Direction
|
|
899
|
-
* @see https://tailwindcss.com/docs/flex-direction
|
|
900
|
-
*/
|
|
901
|
-
'flex-direction': [{
|
|
902
|
-
flex: ['row', 'row-reverse', 'col', 'col-reverse']
|
|
903
|
-
}],
|
|
904
|
-
/**
|
|
905
|
-
* Flex Wrap
|
|
906
|
-
* @see https://tailwindcss.com/docs/flex-wrap
|
|
907
|
-
*/
|
|
908
|
-
'flex-wrap': [{
|
|
909
|
-
flex: ['nowrap', 'wrap', 'wrap-reverse']
|
|
910
|
-
}],
|
|
911
|
-
/**
|
|
912
|
-
* Flex
|
|
913
|
-
* @see https://tailwindcss.com/docs/flex
|
|
914
|
-
*/
|
|
915
|
-
flex: [{
|
|
916
|
-
flex: [isNumber, isFraction, 'auto', 'initial', 'none', isArbitraryValue]
|
|
917
|
-
}],
|
|
918
|
-
/**
|
|
919
|
-
* Flex Grow
|
|
920
|
-
* @see https://tailwindcss.com/docs/flex-grow
|
|
921
|
-
*/
|
|
922
|
-
grow: [{
|
|
923
|
-
grow: ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
924
|
-
}],
|
|
925
|
-
/**
|
|
926
|
-
* Flex Shrink
|
|
927
|
-
* @see https://tailwindcss.com/docs/flex-shrink
|
|
928
|
-
*/
|
|
929
|
-
shrink: [{
|
|
930
|
-
shrink: ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
931
|
-
}],
|
|
932
|
-
/**
|
|
933
|
-
* Order
|
|
934
|
-
* @see https://tailwindcss.com/docs/order
|
|
935
|
-
*/
|
|
936
|
-
order: [{
|
|
937
|
-
order: [isInteger, 'first', 'last', 'none', isArbitraryVariable, isArbitraryValue]
|
|
938
|
-
}],
|
|
939
|
-
/**
|
|
940
|
-
* Grid Template Columns
|
|
941
|
-
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
942
|
-
*/
|
|
943
|
-
'grid-cols': [{
|
|
944
|
-
'grid-cols': scaleGridTemplateColsRows()
|
|
945
|
-
}],
|
|
946
|
-
/**
|
|
947
|
-
* Grid Column Start / End
|
|
948
|
-
* @see https://tailwindcss.com/docs/grid-column
|
|
949
|
-
*/
|
|
950
|
-
'col-start-end': [{
|
|
951
|
-
col: scaleGridColRowStartAndEnd()
|
|
952
|
-
}],
|
|
953
|
-
/**
|
|
954
|
-
* Grid Column Start
|
|
955
|
-
* @see https://tailwindcss.com/docs/grid-column
|
|
956
|
-
*/
|
|
957
|
-
'col-start': [{
|
|
958
|
-
'col-start': scaleGridColRowStartOrEnd()
|
|
959
|
-
}],
|
|
960
|
-
/**
|
|
961
|
-
* Grid Column End
|
|
962
|
-
* @see https://tailwindcss.com/docs/grid-column
|
|
963
|
-
*/
|
|
964
|
-
'col-end': [{
|
|
965
|
-
'col-end': scaleGridColRowStartOrEnd()
|
|
966
|
-
}],
|
|
967
|
-
/**
|
|
968
|
-
* Grid Template Rows
|
|
969
|
-
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
970
|
-
*/
|
|
971
|
-
'grid-rows': [{
|
|
972
|
-
'grid-rows': scaleGridTemplateColsRows()
|
|
973
|
-
}],
|
|
974
|
-
/**
|
|
975
|
-
* Grid Row Start / End
|
|
976
|
-
* @see https://tailwindcss.com/docs/grid-row
|
|
977
|
-
*/
|
|
978
|
-
'row-start-end': [{
|
|
979
|
-
row: scaleGridColRowStartAndEnd()
|
|
980
|
-
}],
|
|
981
|
-
/**
|
|
982
|
-
* Grid Row Start
|
|
983
|
-
* @see https://tailwindcss.com/docs/grid-row
|
|
984
|
-
*/
|
|
985
|
-
'row-start': [{
|
|
986
|
-
'row-start': scaleGridColRowStartOrEnd()
|
|
987
|
-
}],
|
|
988
|
-
/**
|
|
989
|
-
* Grid Row End
|
|
990
|
-
* @see https://tailwindcss.com/docs/grid-row
|
|
991
|
-
*/
|
|
992
|
-
'row-end': [{
|
|
993
|
-
'row-end': scaleGridColRowStartOrEnd()
|
|
994
|
-
}],
|
|
995
|
-
/**
|
|
996
|
-
* Grid Auto Flow
|
|
997
|
-
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
998
|
-
*/
|
|
999
|
-
'grid-flow': [{
|
|
1000
|
-
'grid-flow': ['row', 'col', 'dense', 'row-dense', 'col-dense']
|
|
1001
|
-
}],
|
|
1002
|
-
/**
|
|
1003
|
-
* Grid Auto Columns
|
|
1004
|
-
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1005
|
-
*/
|
|
1006
|
-
'auto-cols': [{
|
|
1007
|
-
'auto-cols': scaleGridAutoColsRows()
|
|
1008
|
-
}],
|
|
1009
|
-
/**
|
|
1010
|
-
* Grid Auto Rows
|
|
1011
|
-
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1012
|
-
*/
|
|
1013
|
-
'auto-rows': [{
|
|
1014
|
-
'auto-rows': scaleGridAutoColsRows()
|
|
1015
|
-
}],
|
|
1016
|
-
/**
|
|
1017
|
-
* Gap
|
|
1018
|
-
* @see https://tailwindcss.com/docs/gap
|
|
1019
|
-
*/
|
|
1020
|
-
gap: [{
|
|
1021
|
-
gap: scaleUnambiguousSpacing()
|
|
1022
|
-
}],
|
|
1023
|
-
/**
|
|
1024
|
-
* Gap X
|
|
1025
|
-
* @see https://tailwindcss.com/docs/gap
|
|
1026
|
-
*/
|
|
1027
|
-
'gap-x': [{
|
|
1028
|
-
'gap-x': scaleUnambiguousSpacing()
|
|
1029
|
-
}],
|
|
1030
|
-
/**
|
|
1031
|
-
* Gap Y
|
|
1032
|
-
* @see https://tailwindcss.com/docs/gap
|
|
1033
|
-
*/
|
|
1034
|
-
'gap-y': [{
|
|
1035
|
-
'gap-y': scaleUnambiguousSpacing()
|
|
1036
|
-
}],
|
|
1037
|
-
/**
|
|
1038
|
-
* Justify Content
|
|
1039
|
-
* @see https://tailwindcss.com/docs/justify-content
|
|
1040
|
-
*/
|
|
1041
|
-
'justify-content': [{
|
|
1042
|
-
justify: [...scaleAlignPrimaryAxis(), 'normal']
|
|
1043
|
-
}],
|
|
1044
|
-
/**
|
|
1045
|
-
* Justify Items
|
|
1046
|
-
* @see https://tailwindcss.com/docs/justify-items
|
|
1047
|
-
*/
|
|
1048
|
-
'justify-items': [{
|
|
1049
|
-
'justify-items': [...scaleAlignSecondaryAxis(), 'normal']
|
|
1050
|
-
}],
|
|
1051
|
-
/**
|
|
1052
|
-
* Justify Self
|
|
1053
|
-
* @see https://tailwindcss.com/docs/justify-self
|
|
1054
|
-
*/
|
|
1055
|
-
'justify-self': [{
|
|
1056
|
-
'justify-self': ['auto', ...scaleAlignSecondaryAxis()]
|
|
1057
|
-
}],
|
|
1058
|
-
/**
|
|
1059
|
-
* Align Content
|
|
1060
|
-
* @see https://tailwindcss.com/docs/align-content
|
|
1061
|
-
*/
|
|
1062
|
-
'align-content': [{
|
|
1063
|
-
content: ['normal', ...scaleAlignPrimaryAxis()]
|
|
1064
|
-
}],
|
|
1065
|
-
/**
|
|
1066
|
-
* Align Items
|
|
1067
|
-
* @see https://tailwindcss.com/docs/align-items
|
|
1068
|
-
*/
|
|
1069
|
-
'align-items': [{
|
|
1070
|
-
items: [...scaleAlignSecondaryAxis(), {
|
|
1071
|
-
baseline: ['', 'last']
|
|
1072
|
-
}]
|
|
1073
|
-
}],
|
|
1074
|
-
/**
|
|
1075
|
-
* Align Self
|
|
1076
|
-
* @see https://tailwindcss.com/docs/align-self
|
|
1077
|
-
*/
|
|
1078
|
-
'align-self': [{
|
|
1079
|
-
self: ['auto', ...scaleAlignSecondaryAxis(), {
|
|
1080
|
-
baseline: ['', 'last']
|
|
1081
|
-
}]
|
|
1082
|
-
}],
|
|
1083
|
-
/**
|
|
1084
|
-
* Place Content
|
|
1085
|
-
* @see https://tailwindcss.com/docs/place-content
|
|
1086
|
-
*/
|
|
1087
|
-
'place-content': [{
|
|
1088
|
-
'place-content': scaleAlignPrimaryAxis()
|
|
1089
|
-
}],
|
|
1090
|
-
/**
|
|
1091
|
-
* Place Items
|
|
1092
|
-
* @see https://tailwindcss.com/docs/place-items
|
|
1093
|
-
*/
|
|
1094
|
-
'place-items': [{
|
|
1095
|
-
'place-items': [...scaleAlignSecondaryAxis(), 'baseline']
|
|
1096
|
-
}],
|
|
1097
|
-
/**
|
|
1098
|
-
* Place Self
|
|
1099
|
-
* @see https://tailwindcss.com/docs/place-self
|
|
1100
|
-
*/
|
|
1101
|
-
'place-self': [{
|
|
1102
|
-
'place-self': ['auto', ...scaleAlignSecondaryAxis()]
|
|
1103
|
-
}],
|
|
1104
|
-
// Spacing
|
|
1105
|
-
/**
|
|
1106
|
-
* Padding
|
|
1107
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1108
|
-
*/
|
|
1109
|
-
p: [{
|
|
1110
|
-
p: scaleUnambiguousSpacing()
|
|
1111
|
-
}],
|
|
1112
|
-
/**
|
|
1113
|
-
* Padding X
|
|
1114
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1115
|
-
*/
|
|
1116
|
-
px: [{
|
|
1117
|
-
px: scaleUnambiguousSpacing()
|
|
1118
|
-
}],
|
|
1119
|
-
/**
|
|
1120
|
-
* Padding Y
|
|
1121
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1122
|
-
*/
|
|
1123
|
-
py: [{
|
|
1124
|
-
py: scaleUnambiguousSpacing()
|
|
1125
|
-
}],
|
|
1126
|
-
/**
|
|
1127
|
-
* Padding Start
|
|
1128
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1129
|
-
*/
|
|
1130
|
-
ps: [{
|
|
1131
|
-
ps: scaleUnambiguousSpacing()
|
|
1132
|
-
}],
|
|
1133
|
-
/**
|
|
1134
|
-
* Padding End
|
|
1135
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1136
|
-
*/
|
|
1137
|
-
pe: [{
|
|
1138
|
-
pe: scaleUnambiguousSpacing()
|
|
1139
|
-
}],
|
|
1140
|
-
/**
|
|
1141
|
-
* Padding Top
|
|
1142
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1143
|
-
*/
|
|
1144
|
-
pt: [{
|
|
1145
|
-
pt: scaleUnambiguousSpacing()
|
|
1146
|
-
}],
|
|
1147
|
-
/**
|
|
1148
|
-
* Padding Right
|
|
1149
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1150
|
-
*/
|
|
1151
|
-
pr: [{
|
|
1152
|
-
pr: scaleUnambiguousSpacing()
|
|
1153
|
-
}],
|
|
1154
|
-
/**
|
|
1155
|
-
* Padding Bottom
|
|
1156
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1157
|
-
*/
|
|
1158
|
-
pb: [{
|
|
1159
|
-
pb: scaleUnambiguousSpacing()
|
|
1160
|
-
}],
|
|
1161
|
-
/**
|
|
1162
|
-
* Padding Left
|
|
1163
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1164
|
-
*/
|
|
1165
|
-
pl: [{
|
|
1166
|
-
pl: scaleUnambiguousSpacing()
|
|
1167
|
-
}],
|
|
1168
|
-
/**
|
|
1169
|
-
* Margin
|
|
1170
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1171
|
-
*/
|
|
1172
|
-
m: [{
|
|
1173
|
-
m: scaleMargin()
|
|
1174
|
-
}],
|
|
1175
|
-
/**
|
|
1176
|
-
* Margin X
|
|
1177
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1178
|
-
*/
|
|
1179
|
-
mx: [{
|
|
1180
|
-
mx: scaleMargin()
|
|
1181
|
-
}],
|
|
1182
|
-
/**
|
|
1183
|
-
* Margin Y
|
|
1184
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1185
|
-
*/
|
|
1186
|
-
my: [{
|
|
1187
|
-
my: scaleMargin()
|
|
1188
|
-
}],
|
|
1189
|
-
/**
|
|
1190
|
-
* Margin Start
|
|
1191
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1192
|
-
*/
|
|
1193
|
-
ms: [{
|
|
1194
|
-
ms: scaleMargin()
|
|
1195
|
-
}],
|
|
1196
|
-
/**
|
|
1197
|
-
* Margin End
|
|
1198
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1199
|
-
*/
|
|
1200
|
-
me: [{
|
|
1201
|
-
me: scaleMargin()
|
|
1202
|
-
}],
|
|
1203
|
-
/**
|
|
1204
|
-
* Margin Top
|
|
1205
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1206
|
-
*/
|
|
1207
|
-
mt: [{
|
|
1208
|
-
mt: scaleMargin()
|
|
1209
|
-
}],
|
|
1210
|
-
/**
|
|
1211
|
-
* Margin Right
|
|
1212
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1213
|
-
*/
|
|
1214
|
-
mr: [{
|
|
1215
|
-
mr: scaleMargin()
|
|
1216
|
-
}],
|
|
1217
|
-
/**
|
|
1218
|
-
* Margin Bottom
|
|
1219
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1220
|
-
*/
|
|
1221
|
-
mb: [{
|
|
1222
|
-
mb: scaleMargin()
|
|
1223
|
-
}],
|
|
1224
|
-
/**
|
|
1225
|
-
* Margin Left
|
|
1226
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1227
|
-
*/
|
|
1228
|
-
ml: [{
|
|
1229
|
-
ml: scaleMargin()
|
|
1230
|
-
}],
|
|
1231
|
-
/**
|
|
1232
|
-
* Space Between X
|
|
1233
|
-
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1234
|
-
*/
|
|
1235
|
-
'space-x': [{
|
|
1236
|
-
'space-x': scaleUnambiguousSpacing()
|
|
1237
|
-
}],
|
|
1238
|
-
/**
|
|
1239
|
-
* Space Between X Reverse
|
|
1240
|
-
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1241
|
-
*/
|
|
1242
|
-
'space-x-reverse': ['space-x-reverse'],
|
|
1243
|
-
/**
|
|
1244
|
-
* Space Between Y
|
|
1245
|
-
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1246
|
-
*/
|
|
1247
|
-
'space-y': [{
|
|
1248
|
-
'space-y': scaleUnambiguousSpacing()
|
|
1249
|
-
}],
|
|
1250
|
-
/**
|
|
1251
|
-
* Space Between Y Reverse
|
|
1252
|
-
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1253
|
-
*/
|
|
1254
|
-
'space-y-reverse': ['space-y-reverse'],
|
|
1255
|
-
// --------------
|
|
1256
|
-
// --- Sizing ---
|
|
1257
|
-
// --------------
|
|
1258
|
-
/**
|
|
1259
|
-
* Size
|
|
1260
|
-
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1261
|
-
*/
|
|
1262
|
-
size: [{
|
|
1263
|
-
size: scaleSizing()
|
|
1264
|
-
}],
|
|
1265
|
-
/**
|
|
1266
|
-
* Width
|
|
1267
|
-
* @see https://tailwindcss.com/docs/width
|
|
1268
|
-
*/
|
|
1269
|
-
w: [{
|
|
1270
|
-
w: [themeContainer, 'screen', ...scaleSizing()]
|
|
1271
|
-
}],
|
|
1272
|
-
/**
|
|
1273
|
-
* Min-Width
|
|
1274
|
-
* @see https://tailwindcss.com/docs/min-width
|
|
1275
|
-
*/
|
|
1276
|
-
'min-w': [{
|
|
1277
|
-
'min-w': [themeContainer, 'screen', /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1278
|
-
'none', ...scaleSizing()]
|
|
1279
|
-
}],
|
|
1280
|
-
/**
|
|
1281
|
-
* Max-Width
|
|
1282
|
-
* @see https://tailwindcss.com/docs/max-width
|
|
1283
|
-
*/
|
|
1284
|
-
'max-w': [{
|
|
1285
|
-
'max-w': [themeContainer, 'screen', 'none', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1286
|
-
'prose', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1287
|
-
{
|
|
1288
|
-
screen: [themeBreakpoint]
|
|
1289
|
-
}, ...scaleSizing()]
|
|
1290
|
-
}],
|
|
1291
|
-
/**
|
|
1292
|
-
* Height
|
|
1293
|
-
* @see https://tailwindcss.com/docs/height
|
|
1294
|
-
*/
|
|
1295
|
-
h: [{
|
|
1296
|
-
h: ['screen', 'lh', ...scaleSizing()]
|
|
1297
|
-
}],
|
|
1298
|
-
/**
|
|
1299
|
-
* Min-Height
|
|
1300
|
-
* @see https://tailwindcss.com/docs/min-height
|
|
1301
|
-
*/
|
|
1302
|
-
'min-h': [{
|
|
1303
|
-
'min-h': ['screen', 'lh', 'none', ...scaleSizing()]
|
|
1304
|
-
}],
|
|
1305
|
-
/**
|
|
1306
|
-
* Max-Height
|
|
1307
|
-
* @see https://tailwindcss.com/docs/max-height
|
|
1308
|
-
*/
|
|
1309
|
-
'max-h': [{
|
|
1310
|
-
'max-h': ['screen', 'lh', ...scaleSizing()]
|
|
1311
|
-
}],
|
|
1312
|
-
// ------------------
|
|
1313
|
-
// --- Typography ---
|
|
1314
|
-
// ------------------
|
|
1315
|
-
/**
|
|
1316
|
-
* Font Size
|
|
1317
|
-
* @see https://tailwindcss.com/docs/font-size
|
|
1318
|
-
*/
|
|
1319
|
-
'font-size': [{
|
|
1320
|
-
text: ['base', themeText, isArbitraryVariableLength, isArbitraryLength]
|
|
1321
|
-
}],
|
|
1322
|
-
/**
|
|
1323
|
-
* Font Smoothing
|
|
1324
|
-
* @see https://tailwindcss.com/docs/font-smoothing
|
|
1325
|
-
*/
|
|
1326
|
-
'font-smoothing': ['antialiased', 'subpixel-antialiased'],
|
|
1327
|
-
/**
|
|
1328
|
-
* Font Style
|
|
1329
|
-
* @see https://tailwindcss.com/docs/font-style
|
|
1330
|
-
*/
|
|
1331
|
-
'font-style': ['italic', 'not-italic'],
|
|
1332
|
-
/**
|
|
1333
|
-
* Font Weight
|
|
1334
|
-
* @see https://tailwindcss.com/docs/font-weight
|
|
1335
|
-
*/
|
|
1336
|
-
'font-weight': [{
|
|
1337
|
-
font: [themeFontWeight, isArbitraryVariable, isArbitraryNumber]
|
|
1338
|
-
}],
|
|
1339
|
-
/**
|
|
1340
|
-
* Font Stretch
|
|
1341
|
-
* @see https://tailwindcss.com/docs/font-stretch
|
|
1342
|
-
*/
|
|
1343
|
-
'font-stretch': [{
|
|
1344
|
-
'font-stretch': ['ultra-condensed', 'extra-condensed', 'condensed', 'semi-condensed', 'normal', 'semi-expanded', 'expanded', 'extra-expanded', 'ultra-expanded', isPercent, isArbitraryValue]
|
|
1345
|
-
}],
|
|
1346
|
-
/**
|
|
1347
|
-
* Font Family
|
|
1348
|
-
* @see https://tailwindcss.com/docs/font-family
|
|
1349
|
-
*/
|
|
1350
|
-
'font-family': [{
|
|
1351
|
-
font: [isArbitraryVariableFamilyName, isArbitraryValue, themeFont]
|
|
1352
|
-
}],
|
|
1353
|
-
/**
|
|
1354
|
-
* Font Variant Numeric
|
|
1355
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1356
|
-
*/
|
|
1357
|
-
'fvn-normal': ['normal-nums'],
|
|
1358
|
-
/**
|
|
1359
|
-
* Font Variant Numeric
|
|
1360
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1361
|
-
*/
|
|
1362
|
-
'fvn-ordinal': ['ordinal'],
|
|
1363
|
-
/**
|
|
1364
|
-
* Font Variant Numeric
|
|
1365
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1366
|
-
*/
|
|
1367
|
-
'fvn-slashed-zero': ['slashed-zero'],
|
|
1368
|
-
/**
|
|
1369
|
-
* Font Variant Numeric
|
|
1370
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1371
|
-
*/
|
|
1372
|
-
'fvn-figure': ['lining-nums', 'oldstyle-nums'],
|
|
1373
|
-
/**
|
|
1374
|
-
* Font Variant Numeric
|
|
1375
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1376
|
-
*/
|
|
1377
|
-
'fvn-spacing': ['proportional-nums', 'tabular-nums'],
|
|
1378
|
-
/**
|
|
1379
|
-
* Font Variant Numeric
|
|
1380
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1381
|
-
*/
|
|
1382
|
-
'fvn-fraction': ['diagonal-fractions', 'stacked-fractions'],
|
|
1383
|
-
/**
|
|
1384
|
-
* Letter Spacing
|
|
1385
|
-
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1386
|
-
*/
|
|
1387
|
-
tracking: [{
|
|
1388
|
-
tracking: [themeTracking, isArbitraryVariable, isArbitraryValue]
|
|
1389
|
-
}],
|
|
1390
|
-
/**
|
|
1391
|
-
* Line Clamp
|
|
1392
|
-
* @see https://tailwindcss.com/docs/line-clamp
|
|
1393
|
-
*/
|
|
1394
|
-
'line-clamp': [{
|
|
1395
|
-
'line-clamp': [isNumber, 'none', isArbitraryVariable, isArbitraryNumber]
|
|
1396
|
-
}],
|
|
1397
|
-
/**
|
|
1398
|
-
* Line Height
|
|
1399
|
-
* @see https://tailwindcss.com/docs/line-height
|
|
1400
|
-
*/
|
|
1401
|
-
leading: [{
|
|
1402
|
-
leading: [/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1403
|
-
themeLeading, ...scaleUnambiguousSpacing()]
|
|
1404
|
-
}],
|
|
1405
|
-
/**
|
|
1406
|
-
* List Style Image
|
|
1407
|
-
* @see https://tailwindcss.com/docs/list-style-image
|
|
1408
|
-
*/
|
|
1409
|
-
'list-image': [{
|
|
1410
|
-
'list-image': ['none', isArbitraryVariable, isArbitraryValue]
|
|
1411
|
-
}],
|
|
1412
|
-
/**
|
|
1413
|
-
* List Style Position
|
|
1414
|
-
* @see https://tailwindcss.com/docs/list-style-position
|
|
1415
|
-
*/
|
|
1416
|
-
'list-style-position': [{
|
|
1417
|
-
list: ['inside', 'outside']
|
|
1418
|
-
}],
|
|
1419
|
-
/**
|
|
1420
|
-
* List Style Type
|
|
1421
|
-
* @see https://tailwindcss.com/docs/list-style-type
|
|
1422
|
-
*/
|
|
1423
|
-
'list-style-type': [{
|
|
1424
|
-
list: ['disc', 'decimal', 'none', isArbitraryVariable, isArbitraryValue]
|
|
1425
|
-
}],
|
|
1426
|
-
/**
|
|
1427
|
-
* Text Alignment
|
|
1428
|
-
* @see https://tailwindcss.com/docs/text-align
|
|
1429
|
-
*/
|
|
1430
|
-
'text-alignment': [{
|
|
1431
|
-
text: ['left', 'center', 'right', 'justify', 'start', 'end']
|
|
1432
|
-
}],
|
|
1433
|
-
/**
|
|
1434
|
-
* Placeholder Color
|
|
1435
|
-
* @deprecated since Tailwind CSS v3.0.0
|
|
1436
|
-
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1437
|
-
*/
|
|
1438
|
-
'placeholder-color': [{
|
|
1439
|
-
placeholder: scaleColor()
|
|
1440
|
-
}],
|
|
1441
|
-
/**
|
|
1442
|
-
* Text Color
|
|
1443
|
-
* @see https://tailwindcss.com/docs/text-color
|
|
1444
|
-
*/
|
|
1445
|
-
'text-color': [{
|
|
1446
|
-
text: scaleColor()
|
|
1447
|
-
}],
|
|
1448
|
-
/**
|
|
1449
|
-
* Text Decoration
|
|
1450
|
-
* @see https://tailwindcss.com/docs/text-decoration
|
|
1451
|
-
*/
|
|
1452
|
-
'text-decoration': ['underline', 'overline', 'line-through', 'no-underline'],
|
|
1453
|
-
/**
|
|
1454
|
-
* Text Decoration Style
|
|
1455
|
-
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1456
|
-
*/
|
|
1457
|
-
'text-decoration-style': [{
|
|
1458
|
-
decoration: [...scaleLineStyle(), 'wavy']
|
|
1459
|
-
}],
|
|
1460
|
-
/**
|
|
1461
|
-
* Text Decoration Thickness
|
|
1462
|
-
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1463
|
-
*/
|
|
1464
|
-
'text-decoration-thickness': [{
|
|
1465
|
-
decoration: [isNumber, 'from-font', 'auto', isArbitraryVariable, isArbitraryLength]
|
|
1466
|
-
}],
|
|
1467
|
-
/**
|
|
1468
|
-
* Text Decoration Color
|
|
1469
|
-
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1470
|
-
*/
|
|
1471
|
-
'text-decoration-color': [{
|
|
1472
|
-
decoration: scaleColor()
|
|
1473
|
-
}],
|
|
1474
|
-
/**
|
|
1475
|
-
* Text Underline Offset
|
|
1476
|
-
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1477
|
-
*/
|
|
1478
|
-
'underline-offset': [{
|
|
1479
|
-
'underline-offset': [isNumber, 'auto', isArbitraryVariable, isArbitraryValue]
|
|
1480
|
-
}],
|
|
1481
|
-
/**
|
|
1482
|
-
* Text Transform
|
|
1483
|
-
* @see https://tailwindcss.com/docs/text-transform
|
|
1484
|
-
*/
|
|
1485
|
-
'text-transform': ['uppercase', 'lowercase', 'capitalize', 'normal-case'],
|
|
1486
|
-
/**
|
|
1487
|
-
* Text Overflow
|
|
1488
|
-
* @see https://tailwindcss.com/docs/text-overflow
|
|
1489
|
-
*/
|
|
1490
|
-
'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],
|
|
1491
|
-
/**
|
|
1492
|
-
* Text Wrap
|
|
1493
|
-
* @see https://tailwindcss.com/docs/text-wrap
|
|
1494
|
-
*/
|
|
1495
|
-
'text-wrap': [{
|
|
1496
|
-
text: ['wrap', 'nowrap', 'balance', 'pretty']
|
|
1497
|
-
}],
|
|
1498
|
-
/**
|
|
1499
|
-
* Text Indent
|
|
1500
|
-
* @see https://tailwindcss.com/docs/text-indent
|
|
1501
|
-
*/
|
|
1502
|
-
indent: [{
|
|
1503
|
-
indent: scaleUnambiguousSpacing()
|
|
1504
|
-
}],
|
|
1505
|
-
/**
|
|
1506
|
-
* Vertical Alignment
|
|
1507
|
-
* @see https://tailwindcss.com/docs/vertical-align
|
|
1508
|
-
*/
|
|
1509
|
-
'vertical-align': [{
|
|
1510
|
-
align: ['baseline', 'top', 'middle', 'bottom', 'text-top', 'text-bottom', 'sub', 'super', isArbitraryVariable, isArbitraryValue]
|
|
1511
|
-
}],
|
|
1512
|
-
/**
|
|
1513
|
-
* Whitespace
|
|
1514
|
-
* @see https://tailwindcss.com/docs/whitespace
|
|
1515
|
-
*/
|
|
1516
|
-
whitespace: [{
|
|
1517
|
-
whitespace: ['normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap', 'break-spaces']
|
|
1518
|
-
}],
|
|
1519
|
-
/**
|
|
1520
|
-
* Word Break
|
|
1521
|
-
* @see https://tailwindcss.com/docs/word-break
|
|
1522
|
-
*/
|
|
1523
|
-
break: [{
|
|
1524
|
-
break: ['normal', 'words', 'all', 'keep']
|
|
1525
|
-
}],
|
|
1526
|
-
/**
|
|
1527
|
-
* Overflow Wrap
|
|
1528
|
-
* @see https://tailwindcss.com/docs/overflow-wrap
|
|
1529
|
-
*/
|
|
1530
|
-
wrap: [{
|
|
1531
|
-
wrap: ['break-word', 'anywhere', 'normal']
|
|
1532
|
-
}],
|
|
1533
|
-
/**
|
|
1534
|
-
* Hyphens
|
|
1535
|
-
* @see https://tailwindcss.com/docs/hyphens
|
|
1536
|
-
*/
|
|
1537
|
-
hyphens: [{
|
|
1538
|
-
hyphens: ['none', 'manual', 'auto']
|
|
1539
|
-
}],
|
|
1540
|
-
/**
|
|
1541
|
-
* Content
|
|
1542
|
-
* @see https://tailwindcss.com/docs/content
|
|
1543
|
-
*/
|
|
1544
|
-
content: [{
|
|
1545
|
-
content: ['none', isArbitraryVariable, isArbitraryValue]
|
|
1546
|
-
}],
|
|
1547
|
-
// -------------------
|
|
1548
|
-
// --- Backgrounds ---
|
|
1549
|
-
// -------------------
|
|
1550
|
-
/**
|
|
1551
|
-
* Background Attachment
|
|
1552
|
-
* @see https://tailwindcss.com/docs/background-attachment
|
|
1553
|
-
*/
|
|
1554
|
-
'bg-attachment': [{
|
|
1555
|
-
bg: ['fixed', 'local', 'scroll']
|
|
1556
|
-
}],
|
|
1557
|
-
/**
|
|
1558
|
-
* Background Clip
|
|
1559
|
-
* @see https://tailwindcss.com/docs/background-clip
|
|
1560
|
-
*/
|
|
1561
|
-
'bg-clip': [{
|
|
1562
|
-
'bg-clip': ['border', 'padding', 'content', 'text']
|
|
1563
|
-
}],
|
|
1564
|
-
/**
|
|
1565
|
-
* Background Origin
|
|
1566
|
-
* @see https://tailwindcss.com/docs/background-origin
|
|
1567
|
-
*/
|
|
1568
|
-
'bg-origin': [{
|
|
1569
|
-
'bg-origin': ['border', 'padding', 'content']
|
|
1570
|
-
}],
|
|
1571
|
-
/**
|
|
1572
|
-
* Background Position
|
|
1573
|
-
* @see https://tailwindcss.com/docs/background-position
|
|
1574
|
-
*/
|
|
1575
|
-
'bg-position': [{
|
|
1576
|
-
bg: scaleBgPosition()
|
|
1577
|
-
}],
|
|
1578
|
-
/**
|
|
1579
|
-
* Background Repeat
|
|
1580
|
-
* @see https://tailwindcss.com/docs/background-repeat
|
|
1581
|
-
*/
|
|
1582
|
-
'bg-repeat': [{
|
|
1583
|
-
bg: scaleBgRepeat()
|
|
1584
|
-
}],
|
|
1585
|
-
/**
|
|
1586
|
-
* Background Size
|
|
1587
|
-
* @see https://tailwindcss.com/docs/background-size
|
|
1588
|
-
*/
|
|
1589
|
-
'bg-size': [{
|
|
1590
|
-
bg: scaleBgSize()
|
|
1591
|
-
}],
|
|
1592
|
-
/**
|
|
1593
|
-
* Background Image
|
|
1594
|
-
* @see https://tailwindcss.com/docs/background-image
|
|
1595
|
-
*/
|
|
1596
|
-
'bg-image': [{
|
|
1597
|
-
bg: ['none', {
|
|
1598
|
-
linear: [{
|
|
1599
|
-
to: ['t', 'tr', 'r', 'br', 'b', 'bl', 'l', 'tl']
|
|
1600
|
-
}, isInteger, isArbitraryVariable, isArbitraryValue],
|
|
1601
|
-
radial: ['', isArbitraryVariable, isArbitraryValue],
|
|
1602
|
-
conic: [isInteger, isArbitraryVariable, isArbitraryValue]
|
|
1603
|
-
}, isArbitraryVariableImage, isArbitraryImage]
|
|
1604
|
-
}],
|
|
1605
|
-
/**
|
|
1606
|
-
* Background Color
|
|
1607
|
-
* @see https://tailwindcss.com/docs/background-color
|
|
1608
|
-
*/
|
|
1609
|
-
'bg-color': [{
|
|
1610
|
-
bg: scaleColor()
|
|
1611
|
-
}],
|
|
1612
|
-
/**
|
|
1613
|
-
* Gradient Color Stops From Position
|
|
1614
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1615
|
-
*/
|
|
1616
|
-
'gradient-from-pos': [{
|
|
1617
|
-
from: scaleGradientStopPosition()
|
|
1618
|
-
}],
|
|
1619
|
-
/**
|
|
1620
|
-
* Gradient Color Stops Via Position
|
|
1621
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1622
|
-
*/
|
|
1623
|
-
'gradient-via-pos': [{
|
|
1624
|
-
via: scaleGradientStopPosition()
|
|
1625
|
-
}],
|
|
1626
|
-
/**
|
|
1627
|
-
* Gradient Color Stops To Position
|
|
1628
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1629
|
-
*/
|
|
1630
|
-
'gradient-to-pos': [{
|
|
1631
|
-
to: scaleGradientStopPosition()
|
|
1632
|
-
}],
|
|
1633
|
-
/**
|
|
1634
|
-
* Gradient Color Stops From
|
|
1635
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1636
|
-
*/
|
|
1637
|
-
'gradient-from': [{
|
|
1638
|
-
from: scaleColor()
|
|
1639
|
-
}],
|
|
1640
|
-
/**
|
|
1641
|
-
* Gradient Color Stops Via
|
|
1642
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1643
|
-
*/
|
|
1644
|
-
'gradient-via': [{
|
|
1645
|
-
via: scaleColor()
|
|
1646
|
-
}],
|
|
1647
|
-
/**
|
|
1648
|
-
* Gradient Color Stops To
|
|
1649
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1650
|
-
*/
|
|
1651
|
-
'gradient-to': [{
|
|
1652
|
-
to: scaleColor()
|
|
1653
|
-
}],
|
|
1654
|
-
// ---------------
|
|
1655
|
-
// --- Borders ---
|
|
1656
|
-
// ---------------
|
|
1657
|
-
/**
|
|
1658
|
-
* Border Radius
|
|
1659
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1660
|
-
*/
|
|
1661
|
-
rounded: [{
|
|
1662
|
-
rounded: scaleRadius()
|
|
1663
|
-
}],
|
|
1664
|
-
/**
|
|
1665
|
-
* Border Radius Start
|
|
1666
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1667
|
-
*/
|
|
1668
|
-
'rounded-s': [{
|
|
1669
|
-
'rounded-s': scaleRadius()
|
|
1670
|
-
}],
|
|
1671
|
-
/**
|
|
1672
|
-
* Border Radius End
|
|
1673
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1674
|
-
*/
|
|
1675
|
-
'rounded-e': [{
|
|
1676
|
-
'rounded-e': scaleRadius()
|
|
1677
|
-
}],
|
|
1678
|
-
/**
|
|
1679
|
-
* Border Radius Top
|
|
1680
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1681
|
-
*/
|
|
1682
|
-
'rounded-t': [{
|
|
1683
|
-
'rounded-t': scaleRadius()
|
|
1684
|
-
}],
|
|
1685
|
-
/**
|
|
1686
|
-
* Border Radius Right
|
|
1687
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1688
|
-
*/
|
|
1689
|
-
'rounded-r': [{
|
|
1690
|
-
'rounded-r': scaleRadius()
|
|
1691
|
-
}],
|
|
1692
|
-
/**
|
|
1693
|
-
* Border Radius Bottom
|
|
1694
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1695
|
-
*/
|
|
1696
|
-
'rounded-b': [{
|
|
1697
|
-
'rounded-b': scaleRadius()
|
|
1698
|
-
}],
|
|
1699
|
-
/**
|
|
1700
|
-
* Border Radius Left
|
|
1701
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1702
|
-
*/
|
|
1703
|
-
'rounded-l': [{
|
|
1704
|
-
'rounded-l': scaleRadius()
|
|
1705
|
-
}],
|
|
1706
|
-
/**
|
|
1707
|
-
* Border Radius Start Start
|
|
1708
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1709
|
-
*/
|
|
1710
|
-
'rounded-ss': [{
|
|
1711
|
-
'rounded-ss': scaleRadius()
|
|
1712
|
-
}],
|
|
1713
|
-
/**
|
|
1714
|
-
* Border Radius Start End
|
|
1715
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1716
|
-
*/
|
|
1717
|
-
'rounded-se': [{
|
|
1718
|
-
'rounded-se': scaleRadius()
|
|
1719
|
-
}],
|
|
1720
|
-
/**
|
|
1721
|
-
* Border Radius End End
|
|
1722
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1723
|
-
*/
|
|
1724
|
-
'rounded-ee': [{
|
|
1725
|
-
'rounded-ee': scaleRadius()
|
|
1726
|
-
}],
|
|
1727
|
-
/**
|
|
1728
|
-
* Border Radius End Start
|
|
1729
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1730
|
-
*/
|
|
1731
|
-
'rounded-es': [{
|
|
1732
|
-
'rounded-es': scaleRadius()
|
|
1733
|
-
}],
|
|
1734
|
-
/**
|
|
1735
|
-
* Border Radius Top Left
|
|
1736
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1737
|
-
*/
|
|
1738
|
-
'rounded-tl': [{
|
|
1739
|
-
'rounded-tl': scaleRadius()
|
|
1740
|
-
}],
|
|
1741
|
-
/**
|
|
1742
|
-
* Border Radius Top Right
|
|
1743
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1744
|
-
*/
|
|
1745
|
-
'rounded-tr': [{
|
|
1746
|
-
'rounded-tr': scaleRadius()
|
|
1747
|
-
}],
|
|
1748
|
-
/**
|
|
1749
|
-
* Border Radius Bottom Right
|
|
1750
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1751
|
-
*/
|
|
1752
|
-
'rounded-br': [{
|
|
1753
|
-
'rounded-br': scaleRadius()
|
|
1754
|
-
}],
|
|
1755
|
-
/**
|
|
1756
|
-
* Border Radius Bottom Left
|
|
1757
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1758
|
-
*/
|
|
1759
|
-
'rounded-bl': [{
|
|
1760
|
-
'rounded-bl': scaleRadius()
|
|
1761
|
-
}],
|
|
1762
|
-
/**
|
|
1763
|
-
* Border Width
|
|
1764
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1765
|
-
*/
|
|
1766
|
-
'border-w': [{
|
|
1767
|
-
border: scaleBorderWidth()
|
|
1768
|
-
}],
|
|
1769
|
-
/**
|
|
1770
|
-
* Border Width X
|
|
1771
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1772
|
-
*/
|
|
1773
|
-
'border-w-x': [{
|
|
1774
|
-
'border-x': scaleBorderWidth()
|
|
1775
|
-
}],
|
|
1776
|
-
/**
|
|
1777
|
-
* Border Width Y
|
|
1778
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1779
|
-
*/
|
|
1780
|
-
'border-w-y': [{
|
|
1781
|
-
'border-y': scaleBorderWidth()
|
|
1782
|
-
}],
|
|
1783
|
-
/**
|
|
1784
|
-
* Border Width Start
|
|
1785
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1786
|
-
*/
|
|
1787
|
-
'border-w-s': [{
|
|
1788
|
-
'border-s': scaleBorderWidth()
|
|
1789
|
-
}],
|
|
1790
|
-
/**
|
|
1791
|
-
* Border Width End
|
|
1792
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1793
|
-
*/
|
|
1794
|
-
'border-w-e': [{
|
|
1795
|
-
'border-e': scaleBorderWidth()
|
|
1796
|
-
}],
|
|
1797
|
-
/**
|
|
1798
|
-
* Border Width Top
|
|
1799
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1800
|
-
*/
|
|
1801
|
-
'border-w-t': [{
|
|
1802
|
-
'border-t': scaleBorderWidth()
|
|
1803
|
-
}],
|
|
1804
|
-
/**
|
|
1805
|
-
* Border Width Right
|
|
1806
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1807
|
-
*/
|
|
1808
|
-
'border-w-r': [{
|
|
1809
|
-
'border-r': scaleBorderWidth()
|
|
1810
|
-
}],
|
|
1811
|
-
/**
|
|
1812
|
-
* Border Width Bottom
|
|
1813
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1814
|
-
*/
|
|
1815
|
-
'border-w-b': [{
|
|
1816
|
-
'border-b': scaleBorderWidth()
|
|
1817
|
-
}],
|
|
1818
|
-
/**
|
|
1819
|
-
* Border Width Left
|
|
1820
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1821
|
-
*/
|
|
1822
|
-
'border-w-l': [{
|
|
1823
|
-
'border-l': scaleBorderWidth()
|
|
1824
|
-
}],
|
|
1825
|
-
/**
|
|
1826
|
-
* Divide Width X
|
|
1827
|
-
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1828
|
-
*/
|
|
1829
|
-
'divide-x': [{
|
|
1830
|
-
'divide-x': scaleBorderWidth()
|
|
1831
|
-
}],
|
|
1832
|
-
/**
|
|
1833
|
-
* Divide Width X Reverse
|
|
1834
|
-
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1835
|
-
*/
|
|
1836
|
-
'divide-x-reverse': ['divide-x-reverse'],
|
|
1837
|
-
/**
|
|
1838
|
-
* Divide Width Y
|
|
1839
|
-
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1840
|
-
*/
|
|
1841
|
-
'divide-y': [{
|
|
1842
|
-
'divide-y': scaleBorderWidth()
|
|
1843
|
-
}],
|
|
1844
|
-
/**
|
|
1845
|
-
* Divide Width Y Reverse
|
|
1846
|
-
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1847
|
-
*/
|
|
1848
|
-
'divide-y-reverse': ['divide-y-reverse'],
|
|
1849
|
-
/**
|
|
1850
|
-
* Border Style
|
|
1851
|
-
* @see https://tailwindcss.com/docs/border-style
|
|
1852
|
-
*/
|
|
1853
|
-
'border-style': [{
|
|
1854
|
-
border: [...scaleLineStyle(), 'hidden', 'none']
|
|
1855
|
-
}],
|
|
1856
|
-
/**
|
|
1857
|
-
* Divide Style
|
|
1858
|
-
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1859
|
-
*/
|
|
1860
|
-
'divide-style': [{
|
|
1861
|
-
divide: [...scaleLineStyle(), 'hidden', 'none']
|
|
1862
|
-
}],
|
|
1863
|
-
/**
|
|
1864
|
-
* Border Color
|
|
1865
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1866
|
-
*/
|
|
1867
|
-
'border-color': [{
|
|
1868
|
-
border: scaleColor()
|
|
1869
|
-
}],
|
|
1870
|
-
/**
|
|
1871
|
-
* Border Color X
|
|
1872
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1873
|
-
*/
|
|
1874
|
-
'border-color-x': [{
|
|
1875
|
-
'border-x': scaleColor()
|
|
1876
|
-
}],
|
|
1877
|
-
/**
|
|
1878
|
-
* Border Color Y
|
|
1879
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1880
|
-
*/
|
|
1881
|
-
'border-color-y': [{
|
|
1882
|
-
'border-y': scaleColor()
|
|
1883
|
-
}],
|
|
1884
|
-
/**
|
|
1885
|
-
* Border Color S
|
|
1886
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1887
|
-
*/
|
|
1888
|
-
'border-color-s': [{
|
|
1889
|
-
'border-s': scaleColor()
|
|
1890
|
-
}],
|
|
1891
|
-
/**
|
|
1892
|
-
* Border Color E
|
|
1893
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1894
|
-
*/
|
|
1895
|
-
'border-color-e': [{
|
|
1896
|
-
'border-e': scaleColor()
|
|
1897
|
-
}],
|
|
1898
|
-
/**
|
|
1899
|
-
* Border Color Top
|
|
1900
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1901
|
-
*/
|
|
1902
|
-
'border-color-t': [{
|
|
1903
|
-
'border-t': scaleColor()
|
|
1904
|
-
}],
|
|
1905
|
-
/**
|
|
1906
|
-
* Border Color Right
|
|
1907
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1908
|
-
*/
|
|
1909
|
-
'border-color-r': [{
|
|
1910
|
-
'border-r': scaleColor()
|
|
1911
|
-
}],
|
|
1912
|
-
/**
|
|
1913
|
-
* Border Color Bottom
|
|
1914
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1915
|
-
*/
|
|
1916
|
-
'border-color-b': [{
|
|
1917
|
-
'border-b': scaleColor()
|
|
1918
|
-
}],
|
|
1919
|
-
/**
|
|
1920
|
-
* Border Color Left
|
|
1921
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1922
|
-
*/
|
|
1923
|
-
'border-color-l': [{
|
|
1924
|
-
'border-l': scaleColor()
|
|
1925
|
-
}],
|
|
1926
|
-
/**
|
|
1927
|
-
* Divide Color
|
|
1928
|
-
* @see https://tailwindcss.com/docs/divide-color
|
|
1929
|
-
*/
|
|
1930
|
-
'divide-color': [{
|
|
1931
|
-
divide: scaleColor()
|
|
1932
|
-
}],
|
|
1933
|
-
/**
|
|
1934
|
-
* Outline Style
|
|
1935
|
-
* @see https://tailwindcss.com/docs/outline-style
|
|
1936
|
-
*/
|
|
1937
|
-
'outline-style': [{
|
|
1938
|
-
outline: [...scaleLineStyle(), 'none', 'hidden']
|
|
1939
|
-
}],
|
|
1940
|
-
/**
|
|
1941
|
-
* Outline Offset
|
|
1942
|
-
* @see https://tailwindcss.com/docs/outline-offset
|
|
1943
|
-
*/
|
|
1944
|
-
'outline-offset': [{
|
|
1945
|
-
'outline-offset': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
1946
|
-
}],
|
|
1947
|
-
/**
|
|
1948
|
-
* Outline Width
|
|
1949
|
-
* @see https://tailwindcss.com/docs/outline-width
|
|
1950
|
-
*/
|
|
1951
|
-
'outline-w': [{
|
|
1952
|
-
outline: ['', isNumber, isArbitraryVariableLength, isArbitraryLength]
|
|
1953
|
-
}],
|
|
1954
|
-
/**
|
|
1955
|
-
* Outline Color
|
|
1956
|
-
* @see https://tailwindcss.com/docs/outline-color
|
|
1957
|
-
*/
|
|
1958
|
-
'outline-color': [{
|
|
1959
|
-
outline: scaleColor()
|
|
1960
|
-
}],
|
|
1961
|
-
// ---------------
|
|
1962
|
-
// --- Effects ---
|
|
1963
|
-
// ---------------
|
|
1964
|
-
/**
|
|
1965
|
-
* Box Shadow
|
|
1966
|
-
* @see https://tailwindcss.com/docs/box-shadow
|
|
1967
|
-
*/
|
|
1968
|
-
shadow: [{
|
|
1969
|
-
shadow: [
|
|
1970
|
-
// Deprecated since Tailwind CSS v4.0.0
|
|
1971
|
-
'', 'none', themeShadow, isArbitraryVariableShadow, isArbitraryShadow]
|
|
1972
|
-
}],
|
|
1973
|
-
/**
|
|
1974
|
-
* Box Shadow Color
|
|
1975
|
-
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
1976
|
-
*/
|
|
1977
|
-
'shadow-color': [{
|
|
1978
|
-
shadow: scaleColor()
|
|
1979
|
-
}],
|
|
1980
|
-
/**
|
|
1981
|
-
* Inset Box Shadow
|
|
1982
|
-
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1983
|
-
*/
|
|
1984
|
-
'inset-shadow': [{
|
|
1985
|
-
'inset-shadow': ['none', themeInsetShadow, isArbitraryVariableShadow, isArbitraryShadow]
|
|
1986
|
-
}],
|
|
1987
|
-
/**
|
|
1988
|
-
* Inset Box Shadow Color
|
|
1989
|
-
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
1990
|
-
*/
|
|
1991
|
-
'inset-shadow-color': [{
|
|
1992
|
-
'inset-shadow': scaleColor()
|
|
1993
|
-
}],
|
|
1994
|
-
/**
|
|
1995
|
-
* Ring Width
|
|
1996
|
-
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1997
|
-
*/
|
|
1998
|
-
'ring-w': [{
|
|
1999
|
-
ring: scaleBorderWidth()
|
|
2000
|
-
}],
|
|
2001
|
-
/**
|
|
2002
|
-
* Ring Width Inset
|
|
2003
|
-
* @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
|
|
2004
|
-
* @deprecated since Tailwind CSS v4.0.0
|
|
2005
|
-
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2006
|
-
*/
|
|
2007
|
-
'ring-w-inset': ['ring-inset'],
|
|
2008
|
-
/**
|
|
2009
|
-
* Ring Color
|
|
2010
|
-
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2011
|
-
*/
|
|
2012
|
-
'ring-color': [{
|
|
2013
|
-
ring: scaleColor()
|
|
2014
|
-
}],
|
|
2015
|
-
/**
|
|
2016
|
-
* Ring Offset Width
|
|
2017
|
-
* @see https://v3.tailwindcss.com/docs/ring-offset-width
|
|
2018
|
-
* @deprecated since Tailwind CSS v4.0.0
|
|
2019
|
-
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2020
|
-
*/
|
|
2021
|
-
'ring-offset-w': [{
|
|
2022
|
-
'ring-offset': [isNumber, isArbitraryLength]
|
|
2023
|
-
}],
|
|
2024
|
-
/**
|
|
2025
|
-
* Ring Offset Color
|
|
2026
|
-
* @see https://v3.tailwindcss.com/docs/ring-offset-color
|
|
2027
|
-
* @deprecated since Tailwind CSS v4.0.0
|
|
2028
|
-
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2029
|
-
*/
|
|
2030
|
-
'ring-offset-color': [{
|
|
2031
|
-
'ring-offset': scaleColor()
|
|
2032
|
-
}],
|
|
2033
|
-
/**
|
|
2034
|
-
* Inset Ring Width
|
|
2035
|
-
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2036
|
-
*/
|
|
2037
|
-
'inset-ring-w': [{
|
|
2038
|
-
'inset-ring': scaleBorderWidth()
|
|
2039
|
-
}],
|
|
2040
|
-
/**
|
|
2041
|
-
* Inset Ring Color
|
|
2042
|
-
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2043
|
-
*/
|
|
2044
|
-
'inset-ring-color': [{
|
|
2045
|
-
'inset-ring': scaleColor()
|
|
2046
|
-
}],
|
|
2047
|
-
/**
|
|
2048
|
-
* Text Shadow
|
|
2049
|
-
* @see https://tailwindcss.com/docs/text-shadow
|
|
2050
|
-
*/
|
|
2051
|
-
'text-shadow': [{
|
|
2052
|
-
'text-shadow': ['none', themeTextShadow, isArbitraryVariableShadow, isArbitraryShadow]
|
|
2053
|
-
}],
|
|
2054
|
-
/**
|
|
2055
|
-
* Text Shadow Color
|
|
2056
|
-
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2057
|
-
*/
|
|
2058
|
-
'text-shadow-color': [{
|
|
2059
|
-
'text-shadow': scaleColor()
|
|
2060
|
-
}],
|
|
2061
|
-
/**
|
|
2062
|
-
* Opacity
|
|
2063
|
-
* @see https://tailwindcss.com/docs/opacity
|
|
2064
|
-
*/
|
|
2065
|
-
opacity: [{
|
|
2066
|
-
opacity: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2067
|
-
}],
|
|
2068
|
-
/**
|
|
2069
|
-
* Mix Blend Mode
|
|
2070
|
-
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2071
|
-
*/
|
|
2072
|
-
'mix-blend': [{
|
|
2073
|
-
'mix-blend': [...scaleBlendMode(), 'plus-darker', 'plus-lighter']
|
|
2074
|
-
}],
|
|
2075
|
-
/**
|
|
2076
|
-
* Background Blend Mode
|
|
2077
|
-
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2078
|
-
*/
|
|
2079
|
-
'bg-blend': [{
|
|
2080
|
-
'bg-blend': scaleBlendMode()
|
|
2081
|
-
}],
|
|
2082
|
-
/**
|
|
2083
|
-
* Mask Clip
|
|
2084
|
-
* @see https://tailwindcss.com/docs/mask-clip
|
|
2085
|
-
*/
|
|
2086
|
-
'mask-clip': [{
|
|
2087
|
-
'mask-clip': ['border', 'padding', 'content', 'fill', 'stroke', 'view']
|
|
2088
|
-
}, 'mask-no-clip'],
|
|
2089
|
-
/**
|
|
2090
|
-
* Mask Composite
|
|
2091
|
-
* @see https://tailwindcss.com/docs/mask-composite
|
|
2092
|
-
*/
|
|
2093
|
-
'mask-composite': [{
|
|
2094
|
-
mask: ['add', 'subtract', 'intersect', 'exclude']
|
|
2095
|
-
}],
|
|
2096
|
-
/**
|
|
2097
|
-
* Mask Image
|
|
2098
|
-
* @see https://tailwindcss.com/docs/mask-image
|
|
2099
|
-
*/
|
|
2100
|
-
'mask-image-linear-pos': [{
|
|
2101
|
-
'mask-linear': [isNumber]
|
|
2102
|
-
}],
|
|
2103
|
-
'mask-image-linear-from-pos': [{
|
|
2104
|
-
'mask-linear-from': scaleMaskImagePosition()
|
|
2105
|
-
}],
|
|
2106
|
-
'mask-image-linear-to-pos': [{
|
|
2107
|
-
'mask-linear-to': scaleMaskImagePosition()
|
|
2108
|
-
}],
|
|
2109
|
-
'mask-image-linear-from-color': [{
|
|
2110
|
-
'mask-linear-from': scaleColor()
|
|
2111
|
-
}],
|
|
2112
|
-
'mask-image-linear-to-color': [{
|
|
2113
|
-
'mask-linear-to': scaleColor()
|
|
2114
|
-
}],
|
|
2115
|
-
'mask-image-t-from-pos': [{
|
|
2116
|
-
'mask-t-from': scaleMaskImagePosition()
|
|
2117
|
-
}],
|
|
2118
|
-
'mask-image-t-to-pos': [{
|
|
2119
|
-
'mask-t-to': scaleMaskImagePosition()
|
|
2120
|
-
}],
|
|
2121
|
-
'mask-image-t-from-color': [{
|
|
2122
|
-
'mask-t-from': scaleColor()
|
|
2123
|
-
}],
|
|
2124
|
-
'mask-image-t-to-color': [{
|
|
2125
|
-
'mask-t-to': scaleColor()
|
|
2126
|
-
}],
|
|
2127
|
-
'mask-image-r-from-pos': [{
|
|
2128
|
-
'mask-r-from': scaleMaskImagePosition()
|
|
2129
|
-
}],
|
|
2130
|
-
'mask-image-r-to-pos': [{
|
|
2131
|
-
'mask-r-to': scaleMaskImagePosition()
|
|
2132
|
-
}],
|
|
2133
|
-
'mask-image-r-from-color': [{
|
|
2134
|
-
'mask-r-from': scaleColor()
|
|
2135
|
-
}],
|
|
2136
|
-
'mask-image-r-to-color': [{
|
|
2137
|
-
'mask-r-to': scaleColor()
|
|
2138
|
-
}],
|
|
2139
|
-
'mask-image-b-from-pos': [{
|
|
2140
|
-
'mask-b-from': scaleMaskImagePosition()
|
|
2141
|
-
}],
|
|
2142
|
-
'mask-image-b-to-pos': [{
|
|
2143
|
-
'mask-b-to': scaleMaskImagePosition()
|
|
2144
|
-
}],
|
|
2145
|
-
'mask-image-b-from-color': [{
|
|
2146
|
-
'mask-b-from': scaleColor()
|
|
2147
|
-
}],
|
|
2148
|
-
'mask-image-b-to-color': [{
|
|
2149
|
-
'mask-b-to': scaleColor()
|
|
2150
|
-
}],
|
|
2151
|
-
'mask-image-l-from-pos': [{
|
|
2152
|
-
'mask-l-from': scaleMaskImagePosition()
|
|
2153
|
-
}],
|
|
2154
|
-
'mask-image-l-to-pos': [{
|
|
2155
|
-
'mask-l-to': scaleMaskImagePosition()
|
|
2156
|
-
}],
|
|
2157
|
-
'mask-image-l-from-color': [{
|
|
2158
|
-
'mask-l-from': scaleColor()
|
|
2159
|
-
}],
|
|
2160
|
-
'mask-image-l-to-color': [{
|
|
2161
|
-
'mask-l-to': scaleColor()
|
|
2162
|
-
}],
|
|
2163
|
-
'mask-image-x-from-pos': [{
|
|
2164
|
-
'mask-x-from': scaleMaskImagePosition()
|
|
2165
|
-
}],
|
|
2166
|
-
'mask-image-x-to-pos': [{
|
|
2167
|
-
'mask-x-to': scaleMaskImagePosition()
|
|
2168
|
-
}],
|
|
2169
|
-
'mask-image-x-from-color': [{
|
|
2170
|
-
'mask-x-from': scaleColor()
|
|
2171
|
-
}],
|
|
2172
|
-
'mask-image-x-to-color': [{
|
|
2173
|
-
'mask-x-to': scaleColor()
|
|
2174
|
-
}],
|
|
2175
|
-
'mask-image-y-from-pos': [{
|
|
2176
|
-
'mask-y-from': scaleMaskImagePosition()
|
|
2177
|
-
}],
|
|
2178
|
-
'mask-image-y-to-pos': [{
|
|
2179
|
-
'mask-y-to': scaleMaskImagePosition()
|
|
2180
|
-
}],
|
|
2181
|
-
'mask-image-y-from-color': [{
|
|
2182
|
-
'mask-y-from': scaleColor()
|
|
2183
|
-
}],
|
|
2184
|
-
'mask-image-y-to-color': [{
|
|
2185
|
-
'mask-y-to': scaleColor()
|
|
2186
|
-
}],
|
|
2187
|
-
'mask-image-radial': [{
|
|
2188
|
-
'mask-radial': [isArbitraryVariable, isArbitraryValue]
|
|
2189
|
-
}],
|
|
2190
|
-
'mask-image-radial-from-pos': [{
|
|
2191
|
-
'mask-radial-from': scaleMaskImagePosition()
|
|
2192
|
-
}],
|
|
2193
|
-
'mask-image-radial-to-pos': [{
|
|
2194
|
-
'mask-radial-to': scaleMaskImagePosition()
|
|
2195
|
-
}],
|
|
2196
|
-
'mask-image-radial-from-color': [{
|
|
2197
|
-
'mask-radial-from': scaleColor()
|
|
2198
|
-
}],
|
|
2199
|
-
'mask-image-radial-to-color': [{
|
|
2200
|
-
'mask-radial-to': scaleColor()
|
|
2201
|
-
}],
|
|
2202
|
-
'mask-image-radial-shape': [{
|
|
2203
|
-
'mask-radial': ['circle', 'ellipse']
|
|
2204
|
-
}],
|
|
2205
|
-
'mask-image-radial-size': [{
|
|
2206
|
-
'mask-radial': [{
|
|
2207
|
-
closest: ['side', 'corner'],
|
|
2208
|
-
farthest: ['side', 'corner']
|
|
2209
|
-
}]
|
|
2210
|
-
}],
|
|
2211
|
-
'mask-image-radial-pos': [{
|
|
2212
|
-
'mask-radial-at': scalePosition()
|
|
2213
|
-
}],
|
|
2214
|
-
'mask-image-conic-pos': [{
|
|
2215
|
-
'mask-conic': [isNumber]
|
|
2216
|
-
}],
|
|
2217
|
-
'mask-image-conic-from-pos': [{
|
|
2218
|
-
'mask-conic-from': scaleMaskImagePosition()
|
|
2219
|
-
}],
|
|
2220
|
-
'mask-image-conic-to-pos': [{
|
|
2221
|
-
'mask-conic-to': scaleMaskImagePosition()
|
|
2222
|
-
}],
|
|
2223
|
-
'mask-image-conic-from-color': [{
|
|
2224
|
-
'mask-conic-from': scaleColor()
|
|
2225
|
-
}],
|
|
2226
|
-
'mask-image-conic-to-color': [{
|
|
2227
|
-
'mask-conic-to': scaleColor()
|
|
2228
|
-
}],
|
|
2229
|
-
/**
|
|
2230
|
-
* Mask Mode
|
|
2231
|
-
* @see https://tailwindcss.com/docs/mask-mode
|
|
2232
|
-
*/
|
|
2233
|
-
'mask-mode': [{
|
|
2234
|
-
mask: ['alpha', 'luminance', 'match']
|
|
2235
|
-
}],
|
|
2236
|
-
/**
|
|
2237
|
-
* Mask Origin
|
|
2238
|
-
* @see https://tailwindcss.com/docs/mask-origin
|
|
2239
|
-
*/
|
|
2240
|
-
'mask-origin': [{
|
|
2241
|
-
'mask-origin': ['border', 'padding', 'content', 'fill', 'stroke', 'view']
|
|
2242
|
-
}],
|
|
2243
|
-
/**
|
|
2244
|
-
* Mask Position
|
|
2245
|
-
* @see https://tailwindcss.com/docs/mask-position
|
|
2246
|
-
*/
|
|
2247
|
-
'mask-position': [{
|
|
2248
|
-
mask: scaleBgPosition()
|
|
2249
|
-
}],
|
|
2250
|
-
/**
|
|
2251
|
-
* Mask Repeat
|
|
2252
|
-
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2253
|
-
*/
|
|
2254
|
-
'mask-repeat': [{
|
|
2255
|
-
mask: scaleBgRepeat()
|
|
2256
|
-
}],
|
|
2257
|
-
/**
|
|
2258
|
-
* Mask Size
|
|
2259
|
-
* @see https://tailwindcss.com/docs/mask-size
|
|
2260
|
-
*/
|
|
2261
|
-
'mask-size': [{
|
|
2262
|
-
mask: scaleBgSize()
|
|
2263
|
-
}],
|
|
2264
|
-
/**
|
|
2265
|
-
* Mask Type
|
|
2266
|
-
* @see https://tailwindcss.com/docs/mask-type
|
|
2267
|
-
*/
|
|
2268
|
-
'mask-type': [{
|
|
2269
|
-
'mask-type': ['alpha', 'luminance']
|
|
2270
|
-
}],
|
|
2271
|
-
/**
|
|
2272
|
-
* Mask Image
|
|
2273
|
-
* @see https://tailwindcss.com/docs/mask-image
|
|
2274
|
-
*/
|
|
2275
|
-
'mask-image': [{
|
|
2276
|
-
mask: ['none', isArbitraryVariable, isArbitraryValue]
|
|
2277
|
-
}],
|
|
2278
|
-
// ---------------
|
|
2279
|
-
// --- Filters ---
|
|
2280
|
-
// ---------------
|
|
2281
|
-
/**
|
|
2282
|
-
* Filter
|
|
2283
|
-
* @see https://tailwindcss.com/docs/filter
|
|
2284
|
-
*/
|
|
2285
|
-
filter: [{
|
|
2286
|
-
filter: [
|
|
2287
|
-
// Deprecated since Tailwind CSS v3.0.0
|
|
2288
|
-
'', 'none', isArbitraryVariable, isArbitraryValue]
|
|
2289
|
-
}],
|
|
2290
|
-
/**
|
|
2291
|
-
* Blur
|
|
2292
|
-
* @see https://tailwindcss.com/docs/blur
|
|
2293
|
-
*/
|
|
2294
|
-
blur: [{
|
|
2295
|
-
blur: scaleBlur()
|
|
2296
|
-
}],
|
|
2297
|
-
/**
|
|
2298
|
-
* Brightness
|
|
2299
|
-
* @see https://tailwindcss.com/docs/brightness
|
|
2300
|
-
*/
|
|
2301
|
-
brightness: [{
|
|
2302
|
-
brightness: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2303
|
-
}],
|
|
2304
|
-
/**
|
|
2305
|
-
* Contrast
|
|
2306
|
-
* @see https://tailwindcss.com/docs/contrast
|
|
2307
|
-
*/
|
|
2308
|
-
contrast: [{
|
|
2309
|
-
contrast: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2310
|
-
}],
|
|
2311
|
-
/**
|
|
2312
|
-
* Drop Shadow
|
|
2313
|
-
* @see https://tailwindcss.com/docs/drop-shadow
|
|
2314
|
-
*/
|
|
2315
|
-
'drop-shadow': [{
|
|
2316
|
-
'drop-shadow': [
|
|
2317
|
-
// Deprecated since Tailwind CSS v4.0.0
|
|
2318
|
-
'', 'none', themeDropShadow, isArbitraryVariableShadow, isArbitraryShadow]
|
|
2319
|
-
}],
|
|
2320
|
-
/**
|
|
2321
|
-
* Drop Shadow Color
|
|
2322
|
-
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2323
|
-
*/
|
|
2324
|
-
'drop-shadow-color': [{
|
|
2325
|
-
'drop-shadow': scaleColor()
|
|
2326
|
-
}],
|
|
2327
|
-
/**
|
|
2328
|
-
* Grayscale
|
|
2329
|
-
* @see https://tailwindcss.com/docs/grayscale
|
|
2330
|
-
*/
|
|
2331
|
-
grayscale: [{
|
|
2332
|
-
grayscale: ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2333
|
-
}],
|
|
2334
|
-
/**
|
|
2335
|
-
* Hue Rotate
|
|
2336
|
-
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2337
|
-
*/
|
|
2338
|
-
'hue-rotate': [{
|
|
2339
|
-
'hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2340
|
-
}],
|
|
2341
|
-
/**
|
|
2342
|
-
* Invert
|
|
2343
|
-
* @see https://tailwindcss.com/docs/invert
|
|
2344
|
-
*/
|
|
2345
|
-
invert: [{
|
|
2346
|
-
invert: ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2347
|
-
}],
|
|
2348
|
-
/**
|
|
2349
|
-
* Saturate
|
|
2350
|
-
* @see https://tailwindcss.com/docs/saturate
|
|
2351
|
-
*/
|
|
2352
|
-
saturate: [{
|
|
2353
|
-
saturate: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2354
|
-
}],
|
|
2355
|
-
/**
|
|
2356
|
-
* Sepia
|
|
2357
|
-
* @see https://tailwindcss.com/docs/sepia
|
|
2358
|
-
*/
|
|
2359
|
-
sepia: [{
|
|
2360
|
-
sepia: ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2361
|
-
}],
|
|
2362
|
-
/**
|
|
2363
|
-
* Backdrop Filter
|
|
2364
|
-
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
2365
|
-
*/
|
|
2366
|
-
'backdrop-filter': [{
|
|
2367
|
-
'backdrop-filter': [
|
|
2368
|
-
// Deprecated since Tailwind CSS v3.0.0
|
|
2369
|
-
'', 'none', isArbitraryVariable, isArbitraryValue]
|
|
2370
|
-
}],
|
|
2371
|
-
/**
|
|
2372
|
-
* Backdrop Blur
|
|
2373
|
-
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2374
|
-
*/
|
|
2375
|
-
'backdrop-blur': [{
|
|
2376
|
-
'backdrop-blur': scaleBlur()
|
|
2377
|
-
}],
|
|
2378
|
-
/**
|
|
2379
|
-
* Backdrop Brightness
|
|
2380
|
-
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2381
|
-
*/
|
|
2382
|
-
'backdrop-brightness': [{
|
|
2383
|
-
'backdrop-brightness': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2384
|
-
}],
|
|
2385
|
-
/**
|
|
2386
|
-
* Backdrop Contrast
|
|
2387
|
-
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2388
|
-
*/
|
|
2389
|
-
'backdrop-contrast': [{
|
|
2390
|
-
'backdrop-contrast': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2391
|
-
}],
|
|
2392
|
-
/**
|
|
2393
|
-
* Backdrop Grayscale
|
|
2394
|
-
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2395
|
-
*/
|
|
2396
|
-
'backdrop-grayscale': [{
|
|
2397
|
-
'backdrop-grayscale': ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2398
|
-
}],
|
|
2399
|
-
/**
|
|
2400
|
-
* Backdrop Hue Rotate
|
|
2401
|
-
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2402
|
-
*/
|
|
2403
|
-
'backdrop-hue-rotate': [{
|
|
2404
|
-
'backdrop-hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2405
|
-
}],
|
|
2406
|
-
/**
|
|
2407
|
-
* Backdrop Invert
|
|
2408
|
-
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2409
|
-
*/
|
|
2410
|
-
'backdrop-invert': [{
|
|
2411
|
-
'backdrop-invert': ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2412
|
-
}],
|
|
2413
|
-
/**
|
|
2414
|
-
* Backdrop Opacity
|
|
2415
|
-
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2416
|
-
*/
|
|
2417
|
-
'backdrop-opacity': [{
|
|
2418
|
-
'backdrop-opacity': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2419
|
-
}],
|
|
2420
|
-
/**
|
|
2421
|
-
* Backdrop Saturate
|
|
2422
|
-
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2423
|
-
*/
|
|
2424
|
-
'backdrop-saturate': [{
|
|
2425
|
-
'backdrop-saturate': [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2426
|
-
}],
|
|
2427
|
-
/**
|
|
2428
|
-
* Backdrop Sepia
|
|
2429
|
-
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2430
|
-
*/
|
|
2431
|
-
'backdrop-sepia': [{
|
|
2432
|
-
'backdrop-sepia': ['', isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2433
|
-
}],
|
|
2434
|
-
// --------------
|
|
2435
|
-
// --- Tables ---
|
|
2436
|
-
// --------------
|
|
2437
|
-
/**
|
|
2438
|
-
* Border Collapse
|
|
2439
|
-
* @see https://tailwindcss.com/docs/border-collapse
|
|
2440
|
-
*/
|
|
2441
|
-
'border-collapse': [{
|
|
2442
|
-
border: ['collapse', 'separate']
|
|
2443
|
-
}],
|
|
2444
|
-
/**
|
|
2445
|
-
* Border Spacing
|
|
2446
|
-
* @see https://tailwindcss.com/docs/border-spacing
|
|
2447
|
-
*/
|
|
2448
|
-
'border-spacing': [{
|
|
2449
|
-
'border-spacing': scaleUnambiguousSpacing()
|
|
2450
|
-
}],
|
|
2451
|
-
/**
|
|
2452
|
-
* Border Spacing X
|
|
2453
|
-
* @see https://tailwindcss.com/docs/border-spacing
|
|
2454
|
-
*/
|
|
2455
|
-
'border-spacing-x': [{
|
|
2456
|
-
'border-spacing-x': scaleUnambiguousSpacing()
|
|
2457
|
-
}],
|
|
2458
|
-
/**
|
|
2459
|
-
* Border Spacing Y
|
|
2460
|
-
* @see https://tailwindcss.com/docs/border-spacing
|
|
2461
|
-
*/
|
|
2462
|
-
'border-spacing-y': [{
|
|
2463
|
-
'border-spacing-y': scaleUnambiguousSpacing()
|
|
2464
|
-
}],
|
|
2465
|
-
/**
|
|
2466
|
-
* Table Layout
|
|
2467
|
-
* @see https://tailwindcss.com/docs/table-layout
|
|
2468
|
-
*/
|
|
2469
|
-
'table-layout': [{
|
|
2470
|
-
table: ['auto', 'fixed']
|
|
2471
|
-
}],
|
|
2472
|
-
/**
|
|
2473
|
-
* Caption Side
|
|
2474
|
-
* @see https://tailwindcss.com/docs/caption-side
|
|
2475
|
-
*/
|
|
2476
|
-
caption: [{
|
|
2477
|
-
caption: ['top', 'bottom']
|
|
2478
|
-
}],
|
|
2479
|
-
// ---------------------------------
|
|
2480
|
-
// --- Transitions and Animation ---
|
|
2481
|
-
// ---------------------------------
|
|
2482
|
-
/**
|
|
2483
|
-
* Transition Property
|
|
2484
|
-
* @see https://tailwindcss.com/docs/transition-property
|
|
2485
|
-
*/
|
|
2486
|
-
transition: [{
|
|
2487
|
-
transition: ['', 'all', 'colors', 'opacity', 'shadow', 'transform', 'none', isArbitraryVariable, isArbitraryValue]
|
|
2488
|
-
}],
|
|
2489
|
-
/**
|
|
2490
|
-
* Transition Behavior
|
|
2491
|
-
* @see https://tailwindcss.com/docs/transition-behavior
|
|
2492
|
-
*/
|
|
2493
|
-
'transition-behavior': [{
|
|
2494
|
-
transition: ['normal', 'discrete']
|
|
2495
|
-
}],
|
|
2496
|
-
/**
|
|
2497
|
-
* Transition Duration
|
|
2498
|
-
* @see https://tailwindcss.com/docs/transition-duration
|
|
2499
|
-
*/
|
|
2500
|
-
duration: [{
|
|
2501
|
-
duration: [isNumber, 'initial', isArbitraryVariable, isArbitraryValue]
|
|
2502
|
-
}],
|
|
2503
|
-
/**
|
|
2504
|
-
* Transition Timing Function
|
|
2505
|
-
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2506
|
-
*/
|
|
2507
|
-
ease: [{
|
|
2508
|
-
ease: ['linear', 'initial', themeEase, isArbitraryVariable, isArbitraryValue]
|
|
2509
|
-
}],
|
|
2510
|
-
/**
|
|
2511
|
-
* Transition Delay
|
|
2512
|
-
* @see https://tailwindcss.com/docs/transition-delay
|
|
2513
|
-
*/
|
|
2514
|
-
delay: [{
|
|
2515
|
-
delay: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2516
|
-
}],
|
|
2517
|
-
/**
|
|
2518
|
-
* Animation
|
|
2519
|
-
* @see https://tailwindcss.com/docs/animation
|
|
2520
|
-
*/
|
|
2521
|
-
animate: [{
|
|
2522
|
-
animate: ['none', themeAnimate, isArbitraryVariable, isArbitraryValue]
|
|
2523
|
-
}],
|
|
2524
|
-
// ------------------
|
|
2525
|
-
// --- Transforms ---
|
|
2526
|
-
// ------------------
|
|
2527
|
-
/**
|
|
2528
|
-
* Backface Visibility
|
|
2529
|
-
* @see https://tailwindcss.com/docs/backface-visibility
|
|
2530
|
-
*/
|
|
2531
|
-
backface: [{
|
|
2532
|
-
backface: ['hidden', 'visible']
|
|
2533
|
-
}],
|
|
2534
|
-
/**
|
|
2535
|
-
* Perspective
|
|
2536
|
-
* @see https://tailwindcss.com/docs/perspective
|
|
2537
|
-
*/
|
|
2538
|
-
perspective: [{
|
|
2539
|
-
perspective: [themePerspective, isArbitraryVariable, isArbitraryValue]
|
|
2540
|
-
}],
|
|
2541
|
-
/**
|
|
2542
|
-
* Perspective Origin
|
|
2543
|
-
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2544
|
-
*/
|
|
2545
|
-
'perspective-origin': [{
|
|
2546
|
-
'perspective-origin': scalePositionWithArbitrary()
|
|
2547
|
-
}],
|
|
2548
|
-
/**
|
|
2549
|
-
* Rotate
|
|
2550
|
-
* @see https://tailwindcss.com/docs/rotate
|
|
2551
|
-
*/
|
|
2552
|
-
rotate: [{
|
|
2553
|
-
rotate: scaleRotate()
|
|
2554
|
-
}],
|
|
2555
|
-
/**
|
|
2556
|
-
* Rotate X
|
|
2557
|
-
* @see https://tailwindcss.com/docs/rotate
|
|
2558
|
-
*/
|
|
2559
|
-
'rotate-x': [{
|
|
2560
|
-
'rotate-x': scaleRotate()
|
|
2561
|
-
}],
|
|
2562
|
-
/**
|
|
2563
|
-
* Rotate Y
|
|
2564
|
-
* @see https://tailwindcss.com/docs/rotate
|
|
2565
|
-
*/
|
|
2566
|
-
'rotate-y': [{
|
|
2567
|
-
'rotate-y': scaleRotate()
|
|
2568
|
-
}],
|
|
2569
|
-
/**
|
|
2570
|
-
* Rotate Z
|
|
2571
|
-
* @see https://tailwindcss.com/docs/rotate
|
|
2572
|
-
*/
|
|
2573
|
-
'rotate-z': [{
|
|
2574
|
-
'rotate-z': scaleRotate()
|
|
2575
|
-
}],
|
|
2576
|
-
/**
|
|
2577
|
-
* Scale
|
|
2578
|
-
* @see https://tailwindcss.com/docs/scale
|
|
2579
|
-
*/
|
|
2580
|
-
scale: [{
|
|
2581
|
-
scale: scaleScale()
|
|
2582
|
-
}],
|
|
2583
|
-
/**
|
|
2584
|
-
* Scale X
|
|
2585
|
-
* @see https://tailwindcss.com/docs/scale
|
|
2586
|
-
*/
|
|
2587
|
-
'scale-x': [{
|
|
2588
|
-
'scale-x': scaleScale()
|
|
2589
|
-
}],
|
|
2590
|
-
/**
|
|
2591
|
-
* Scale Y
|
|
2592
|
-
* @see https://tailwindcss.com/docs/scale
|
|
2593
|
-
*/
|
|
2594
|
-
'scale-y': [{
|
|
2595
|
-
'scale-y': scaleScale()
|
|
2596
|
-
}],
|
|
2597
|
-
/**
|
|
2598
|
-
* Scale Z
|
|
2599
|
-
* @see https://tailwindcss.com/docs/scale
|
|
2600
|
-
*/
|
|
2601
|
-
'scale-z': [{
|
|
2602
|
-
'scale-z': scaleScale()
|
|
2603
|
-
}],
|
|
2604
|
-
/**
|
|
2605
|
-
* Scale 3D
|
|
2606
|
-
* @see https://tailwindcss.com/docs/scale
|
|
2607
|
-
*/
|
|
2608
|
-
'scale-3d': ['scale-3d'],
|
|
2609
|
-
/**
|
|
2610
|
-
* Skew
|
|
2611
|
-
* @see https://tailwindcss.com/docs/skew
|
|
2612
|
-
*/
|
|
2613
|
-
skew: [{
|
|
2614
|
-
skew: scaleSkew()
|
|
2615
|
-
}],
|
|
2616
|
-
/**
|
|
2617
|
-
* Skew X
|
|
2618
|
-
* @see https://tailwindcss.com/docs/skew
|
|
2619
|
-
*/
|
|
2620
|
-
'skew-x': [{
|
|
2621
|
-
'skew-x': scaleSkew()
|
|
2622
|
-
}],
|
|
2623
|
-
/**
|
|
2624
|
-
* Skew Y
|
|
2625
|
-
* @see https://tailwindcss.com/docs/skew
|
|
2626
|
-
*/
|
|
2627
|
-
'skew-y': [{
|
|
2628
|
-
'skew-y': scaleSkew()
|
|
2629
|
-
}],
|
|
2630
|
-
/**
|
|
2631
|
-
* Transform
|
|
2632
|
-
* @see https://tailwindcss.com/docs/transform
|
|
2633
|
-
*/
|
|
2634
|
-
transform: [{
|
|
2635
|
-
transform: [isArbitraryVariable, isArbitraryValue, '', 'none', 'gpu', 'cpu']
|
|
2636
|
-
}],
|
|
2637
|
-
/**
|
|
2638
|
-
* Transform Origin
|
|
2639
|
-
* @see https://tailwindcss.com/docs/transform-origin
|
|
2640
|
-
*/
|
|
2641
|
-
'transform-origin': [{
|
|
2642
|
-
origin: scalePositionWithArbitrary()
|
|
2643
|
-
}],
|
|
2644
|
-
/**
|
|
2645
|
-
* Transform Style
|
|
2646
|
-
* @see https://tailwindcss.com/docs/transform-style
|
|
2647
|
-
*/
|
|
2648
|
-
'transform-style': [{
|
|
2649
|
-
transform: ['3d', 'flat']
|
|
2650
|
-
}],
|
|
2651
|
-
/**
|
|
2652
|
-
* Translate
|
|
2653
|
-
* @see https://tailwindcss.com/docs/translate
|
|
2654
|
-
*/
|
|
2655
|
-
translate: [{
|
|
2656
|
-
translate: scaleTranslate()
|
|
2657
|
-
}],
|
|
2658
|
-
/**
|
|
2659
|
-
* Translate X
|
|
2660
|
-
* @see https://tailwindcss.com/docs/translate
|
|
2661
|
-
*/
|
|
2662
|
-
'translate-x': [{
|
|
2663
|
-
'translate-x': scaleTranslate()
|
|
2664
|
-
}],
|
|
2665
|
-
/**
|
|
2666
|
-
* Translate Y
|
|
2667
|
-
* @see https://tailwindcss.com/docs/translate
|
|
2668
|
-
*/
|
|
2669
|
-
'translate-y': [{
|
|
2670
|
-
'translate-y': scaleTranslate()
|
|
2671
|
-
}],
|
|
2672
|
-
/**
|
|
2673
|
-
* Translate Z
|
|
2674
|
-
* @see https://tailwindcss.com/docs/translate
|
|
2675
|
-
*/
|
|
2676
|
-
'translate-z': [{
|
|
2677
|
-
'translate-z': scaleTranslate()
|
|
2678
|
-
}],
|
|
2679
|
-
/**
|
|
2680
|
-
* Translate None
|
|
2681
|
-
* @see https://tailwindcss.com/docs/translate
|
|
2682
|
-
*/
|
|
2683
|
-
'translate-none': ['translate-none'],
|
|
2684
|
-
// ---------------------
|
|
2685
|
-
// --- Interactivity ---
|
|
2686
|
-
// ---------------------
|
|
2687
|
-
/**
|
|
2688
|
-
* Accent Color
|
|
2689
|
-
* @see https://tailwindcss.com/docs/accent-color
|
|
2690
|
-
*/
|
|
2691
|
-
accent: [{
|
|
2692
|
-
accent: scaleColor()
|
|
2693
|
-
}],
|
|
2694
|
-
/**
|
|
2695
|
-
* Appearance
|
|
2696
|
-
* @see https://tailwindcss.com/docs/appearance
|
|
2697
|
-
*/
|
|
2698
|
-
appearance: [{
|
|
2699
|
-
appearance: ['none', 'auto']
|
|
2700
|
-
}],
|
|
2701
|
-
/**
|
|
2702
|
-
* Caret Color
|
|
2703
|
-
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2704
|
-
*/
|
|
2705
|
-
'caret-color': [{
|
|
2706
|
-
caret: scaleColor()
|
|
2707
|
-
}],
|
|
2708
|
-
/**
|
|
2709
|
-
* Color Scheme
|
|
2710
|
-
* @see https://tailwindcss.com/docs/color-scheme
|
|
2711
|
-
*/
|
|
2712
|
-
'color-scheme': [{
|
|
2713
|
-
scheme: ['normal', 'dark', 'light', 'light-dark', 'only-dark', 'only-light']
|
|
2714
|
-
}],
|
|
2715
|
-
/**
|
|
2716
|
-
* Cursor
|
|
2717
|
-
* @see https://tailwindcss.com/docs/cursor
|
|
2718
|
-
*/
|
|
2719
|
-
cursor: [{
|
|
2720
|
-
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]
|
|
2721
|
-
}],
|
|
2722
|
-
/**
|
|
2723
|
-
* Field Sizing
|
|
2724
|
-
* @see https://tailwindcss.com/docs/field-sizing
|
|
2725
|
-
*/
|
|
2726
|
-
'field-sizing': [{
|
|
2727
|
-
'field-sizing': ['fixed', 'content']
|
|
2728
|
-
}],
|
|
2729
|
-
/**
|
|
2730
|
-
* Pointer Events
|
|
2731
|
-
* @see https://tailwindcss.com/docs/pointer-events
|
|
2732
|
-
*/
|
|
2733
|
-
'pointer-events': [{
|
|
2734
|
-
'pointer-events': ['auto', 'none']
|
|
2735
|
-
}],
|
|
2736
|
-
/**
|
|
2737
|
-
* Resize
|
|
2738
|
-
* @see https://tailwindcss.com/docs/resize
|
|
2739
|
-
*/
|
|
2740
|
-
resize: [{
|
|
2741
|
-
resize: ['none', '', 'y', 'x']
|
|
2742
|
-
}],
|
|
2743
|
-
/**
|
|
2744
|
-
* Scroll Behavior
|
|
2745
|
-
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
2746
|
-
*/
|
|
2747
|
-
'scroll-behavior': [{
|
|
2748
|
-
scroll: ['auto', 'smooth']
|
|
2749
|
-
}],
|
|
2750
|
-
/**
|
|
2751
|
-
* Scroll Margin
|
|
2752
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2753
|
-
*/
|
|
2754
|
-
'scroll-m': [{
|
|
2755
|
-
'scroll-m': scaleUnambiguousSpacing()
|
|
2756
|
-
}],
|
|
2757
|
-
/**
|
|
2758
|
-
* Scroll Margin X
|
|
2759
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2760
|
-
*/
|
|
2761
|
-
'scroll-mx': [{
|
|
2762
|
-
'scroll-mx': scaleUnambiguousSpacing()
|
|
2763
|
-
}],
|
|
2764
|
-
/**
|
|
2765
|
-
* Scroll Margin Y
|
|
2766
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2767
|
-
*/
|
|
2768
|
-
'scroll-my': [{
|
|
2769
|
-
'scroll-my': scaleUnambiguousSpacing()
|
|
2770
|
-
}],
|
|
2771
|
-
/**
|
|
2772
|
-
* Scroll Margin Start
|
|
2773
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2774
|
-
*/
|
|
2775
|
-
'scroll-ms': [{
|
|
2776
|
-
'scroll-ms': scaleUnambiguousSpacing()
|
|
2777
|
-
}],
|
|
2778
|
-
/**
|
|
2779
|
-
* Scroll Margin End
|
|
2780
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2781
|
-
*/
|
|
2782
|
-
'scroll-me': [{
|
|
2783
|
-
'scroll-me': scaleUnambiguousSpacing()
|
|
2784
|
-
}],
|
|
2785
|
-
/**
|
|
2786
|
-
* Scroll Margin Top
|
|
2787
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2788
|
-
*/
|
|
2789
|
-
'scroll-mt': [{
|
|
2790
|
-
'scroll-mt': scaleUnambiguousSpacing()
|
|
2791
|
-
}],
|
|
2792
|
-
/**
|
|
2793
|
-
* Scroll Margin Right
|
|
2794
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2795
|
-
*/
|
|
2796
|
-
'scroll-mr': [{
|
|
2797
|
-
'scroll-mr': scaleUnambiguousSpacing()
|
|
2798
|
-
}],
|
|
2799
|
-
/**
|
|
2800
|
-
* Scroll Margin Bottom
|
|
2801
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2802
|
-
*/
|
|
2803
|
-
'scroll-mb': [{
|
|
2804
|
-
'scroll-mb': scaleUnambiguousSpacing()
|
|
2805
|
-
}],
|
|
2806
|
-
/**
|
|
2807
|
-
* Scroll Margin Left
|
|
2808
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2809
|
-
*/
|
|
2810
|
-
'scroll-ml': [{
|
|
2811
|
-
'scroll-ml': scaleUnambiguousSpacing()
|
|
2812
|
-
}],
|
|
2813
|
-
/**
|
|
2814
|
-
* Scroll Padding
|
|
2815
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2816
|
-
*/
|
|
2817
|
-
'scroll-p': [{
|
|
2818
|
-
'scroll-p': scaleUnambiguousSpacing()
|
|
2819
|
-
}],
|
|
2820
|
-
/**
|
|
2821
|
-
* Scroll Padding X
|
|
2822
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2823
|
-
*/
|
|
2824
|
-
'scroll-px': [{
|
|
2825
|
-
'scroll-px': scaleUnambiguousSpacing()
|
|
2826
|
-
}],
|
|
2827
|
-
/**
|
|
2828
|
-
* Scroll Padding Y
|
|
2829
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2830
|
-
*/
|
|
2831
|
-
'scroll-py': [{
|
|
2832
|
-
'scroll-py': scaleUnambiguousSpacing()
|
|
2833
|
-
}],
|
|
2834
|
-
/**
|
|
2835
|
-
* Scroll Padding Start
|
|
2836
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2837
|
-
*/
|
|
2838
|
-
'scroll-ps': [{
|
|
2839
|
-
'scroll-ps': scaleUnambiguousSpacing()
|
|
2840
|
-
}],
|
|
2841
|
-
/**
|
|
2842
|
-
* Scroll Padding End
|
|
2843
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2844
|
-
*/
|
|
2845
|
-
'scroll-pe': [{
|
|
2846
|
-
'scroll-pe': scaleUnambiguousSpacing()
|
|
2847
|
-
}],
|
|
2848
|
-
/**
|
|
2849
|
-
* Scroll Padding Top
|
|
2850
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2851
|
-
*/
|
|
2852
|
-
'scroll-pt': [{
|
|
2853
|
-
'scroll-pt': scaleUnambiguousSpacing()
|
|
2854
|
-
}],
|
|
2855
|
-
/**
|
|
2856
|
-
* Scroll Padding Right
|
|
2857
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2858
|
-
*/
|
|
2859
|
-
'scroll-pr': [{
|
|
2860
|
-
'scroll-pr': scaleUnambiguousSpacing()
|
|
2861
|
-
}],
|
|
2862
|
-
/**
|
|
2863
|
-
* Scroll Padding Bottom
|
|
2864
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2865
|
-
*/
|
|
2866
|
-
'scroll-pb': [{
|
|
2867
|
-
'scroll-pb': scaleUnambiguousSpacing()
|
|
2868
|
-
}],
|
|
2869
|
-
/**
|
|
2870
|
-
* Scroll Padding Left
|
|
2871
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2872
|
-
*/
|
|
2873
|
-
'scroll-pl': [{
|
|
2874
|
-
'scroll-pl': scaleUnambiguousSpacing()
|
|
2875
|
-
}],
|
|
2876
|
-
/**
|
|
2877
|
-
* Scroll Snap Align
|
|
2878
|
-
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
2879
|
-
*/
|
|
2880
|
-
'snap-align': [{
|
|
2881
|
-
snap: ['start', 'end', 'center', 'align-none']
|
|
2882
|
-
}],
|
|
2883
|
-
/**
|
|
2884
|
-
* Scroll Snap Stop
|
|
2885
|
-
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
2886
|
-
*/
|
|
2887
|
-
'snap-stop': [{
|
|
2888
|
-
snap: ['normal', 'always']
|
|
2889
|
-
}],
|
|
2890
|
-
/**
|
|
2891
|
-
* Scroll Snap Type
|
|
2892
|
-
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2893
|
-
*/
|
|
2894
|
-
'snap-type': [{
|
|
2895
|
-
snap: ['none', 'x', 'y', 'both']
|
|
2896
|
-
}],
|
|
2897
|
-
/**
|
|
2898
|
-
* Scroll Snap Type Strictness
|
|
2899
|
-
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2900
|
-
*/
|
|
2901
|
-
'snap-strictness': [{
|
|
2902
|
-
snap: ['mandatory', 'proximity']
|
|
2903
|
-
}],
|
|
2904
|
-
/**
|
|
2905
|
-
* Touch Action
|
|
2906
|
-
* @see https://tailwindcss.com/docs/touch-action
|
|
2907
|
-
*/
|
|
2908
|
-
touch: [{
|
|
2909
|
-
touch: ['auto', 'none', 'manipulation']
|
|
2910
|
-
}],
|
|
2911
|
-
/**
|
|
2912
|
-
* Touch Action X
|
|
2913
|
-
* @see https://tailwindcss.com/docs/touch-action
|
|
2914
|
-
*/
|
|
2915
|
-
'touch-x': [{
|
|
2916
|
-
'touch-pan': ['x', 'left', 'right']
|
|
2917
|
-
}],
|
|
2918
|
-
/**
|
|
2919
|
-
* Touch Action Y
|
|
2920
|
-
* @see https://tailwindcss.com/docs/touch-action
|
|
2921
|
-
*/
|
|
2922
|
-
'touch-y': [{
|
|
2923
|
-
'touch-pan': ['y', 'up', 'down']
|
|
2924
|
-
}],
|
|
2925
|
-
/**
|
|
2926
|
-
* Touch Action Pinch Zoom
|
|
2927
|
-
* @see https://tailwindcss.com/docs/touch-action
|
|
2928
|
-
*/
|
|
2929
|
-
'touch-pz': ['touch-pinch-zoom'],
|
|
2930
|
-
/**
|
|
2931
|
-
* User Select
|
|
2932
|
-
* @see https://tailwindcss.com/docs/user-select
|
|
2933
|
-
*/
|
|
2934
|
-
select: [{
|
|
2935
|
-
select: ['none', 'text', 'all', 'auto']
|
|
2936
|
-
}],
|
|
2937
|
-
/**
|
|
2938
|
-
* Will Change
|
|
2939
|
-
* @see https://tailwindcss.com/docs/will-change
|
|
2940
|
-
*/
|
|
2941
|
-
'will-change': [{
|
|
2942
|
-
'will-change': ['auto', 'scroll', 'contents', 'transform', isArbitraryVariable, isArbitraryValue]
|
|
2943
|
-
}],
|
|
2944
|
-
// -----------
|
|
2945
|
-
// --- SVG ---
|
|
2946
|
-
// -----------
|
|
2947
|
-
/**
|
|
2948
|
-
* Fill
|
|
2949
|
-
* @see https://tailwindcss.com/docs/fill
|
|
2950
|
-
*/
|
|
2951
|
-
fill: [{
|
|
2952
|
-
fill: ['none', ...scaleColor()]
|
|
2953
|
-
}],
|
|
2954
|
-
/**
|
|
2955
|
-
* Stroke Width
|
|
2956
|
-
* @see https://tailwindcss.com/docs/stroke-width
|
|
2957
|
-
*/
|
|
2958
|
-
'stroke-w': [{
|
|
2959
|
-
stroke: [isNumber, isArbitraryVariableLength, isArbitraryLength, isArbitraryNumber]
|
|
2960
|
-
}],
|
|
2961
|
-
/**
|
|
2962
|
-
* Stroke
|
|
2963
|
-
* @see https://tailwindcss.com/docs/stroke
|
|
2964
|
-
*/
|
|
2965
|
-
stroke: [{
|
|
2966
|
-
stroke: ['none', ...scaleColor()]
|
|
2967
|
-
}],
|
|
2968
|
-
// ---------------------
|
|
2969
|
-
// --- Accessibility ---
|
|
2970
|
-
// ---------------------
|
|
2971
|
-
/**
|
|
2972
|
-
* Forced Color Adjust
|
|
2973
|
-
* @see https://tailwindcss.com/docs/forced-color-adjust
|
|
2974
|
-
*/
|
|
2975
|
-
'forced-color-adjust': [{
|
|
2976
|
-
'forced-color-adjust': ['auto', 'none']
|
|
2977
|
-
}]
|
|
2978
|
-
},
|
|
2979
|
-
conflictingClassGroups: {
|
|
2980
|
-
overflow: ['overflow-x', 'overflow-y'],
|
|
2981
|
-
overscroll: ['overscroll-x', 'overscroll-y'],
|
|
2982
|
-
inset: ['inset-x', 'inset-y', 'start', 'end', 'top', 'right', 'bottom', 'left'],
|
|
2983
|
-
'inset-x': ['right', 'left'],
|
|
2984
|
-
'inset-y': ['top', 'bottom'],
|
|
2985
|
-
flex: ['basis', 'grow', 'shrink'],
|
|
2986
|
-
gap: ['gap-x', 'gap-y'],
|
|
2987
|
-
p: ['px', 'py', 'ps', 'pe', 'pt', 'pr', 'pb', 'pl'],
|
|
2988
|
-
px: ['pr', 'pl'],
|
|
2989
|
-
py: ['pt', 'pb'],
|
|
2990
|
-
m: ['mx', 'my', 'ms', 'me', 'mt', 'mr', 'mb', 'ml'],
|
|
2991
|
-
mx: ['mr', 'ml'],
|
|
2992
|
-
my: ['mt', 'mb'],
|
|
2993
|
-
size: ['w', 'h'],
|
|
2994
|
-
'font-size': ['leading'],
|
|
2995
|
-
'fvn-normal': ['fvn-ordinal', 'fvn-slashed-zero', 'fvn-figure', 'fvn-spacing', 'fvn-fraction'],
|
|
2996
|
-
'fvn-ordinal': ['fvn-normal'],
|
|
2997
|
-
'fvn-slashed-zero': ['fvn-normal'],
|
|
2998
|
-
'fvn-figure': ['fvn-normal'],
|
|
2999
|
-
'fvn-spacing': ['fvn-normal'],
|
|
3000
|
-
'fvn-fraction': ['fvn-normal'],
|
|
3001
|
-
'line-clamp': ['display', 'overflow'],
|
|
3002
|
-
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'],
|
|
3003
|
-
'rounded-s': ['rounded-ss', 'rounded-es'],
|
|
3004
|
-
'rounded-e': ['rounded-se', 'rounded-ee'],
|
|
3005
|
-
'rounded-t': ['rounded-tl', 'rounded-tr'],
|
|
3006
|
-
'rounded-r': ['rounded-tr', 'rounded-br'],
|
|
3007
|
-
'rounded-b': ['rounded-br', 'rounded-bl'],
|
|
3008
|
-
'rounded-l': ['rounded-tl', 'rounded-bl'],
|
|
3009
|
-
'border-spacing': ['border-spacing-x', 'border-spacing-y'],
|
|
3010
|
-
'border-w': ['border-w-x', 'border-w-y', 'border-w-s', 'border-w-e', 'border-w-t', 'border-w-r', 'border-w-b', 'border-w-l'],
|
|
3011
|
-
'border-w-x': ['border-w-r', 'border-w-l'],
|
|
3012
|
-
'border-w-y': ['border-w-t', 'border-w-b'],
|
|
3013
|
-
'border-color': ['border-color-x', 'border-color-y', 'border-color-s', 'border-color-e', 'border-color-t', 'border-color-r', 'border-color-b', 'border-color-l'],
|
|
3014
|
-
'border-color-x': ['border-color-r', 'border-color-l'],
|
|
3015
|
-
'border-color-y': ['border-color-t', 'border-color-b'],
|
|
3016
|
-
translate: ['translate-x', 'translate-y', 'translate-none'],
|
|
3017
|
-
'translate-none': ['translate', 'translate-x', 'translate-y', 'translate-z'],
|
|
3018
|
-
'scroll-m': ['scroll-mx', 'scroll-my', 'scroll-ms', 'scroll-me', 'scroll-mt', 'scroll-mr', 'scroll-mb', 'scroll-ml'],
|
|
3019
|
-
'scroll-mx': ['scroll-mr', 'scroll-ml'],
|
|
3020
|
-
'scroll-my': ['scroll-mt', 'scroll-mb'],
|
|
3021
|
-
'scroll-p': ['scroll-px', 'scroll-py', 'scroll-ps', 'scroll-pe', 'scroll-pt', 'scroll-pr', 'scroll-pb', 'scroll-pl'],
|
|
3022
|
-
'scroll-px': ['scroll-pr', 'scroll-pl'],
|
|
3023
|
-
'scroll-py': ['scroll-pt', 'scroll-pb'],
|
|
3024
|
-
touch: ['touch-x', 'touch-y', 'touch-pz'],
|
|
3025
|
-
'touch-x': ['touch'],
|
|
3026
|
-
'touch-y': ['touch'],
|
|
3027
|
-
'touch-pz': ['touch']
|
|
3028
|
-
},
|
|
3029
|
-
conflictingClassGroupModifiers: {
|
|
3030
|
-
'font-size': ['leading']
|
|
3031
|
-
},
|
|
3032
|
-
orderSensitiveModifiers: ['*', '**', 'after', 'backdrop', 'before', 'details-content', 'file', 'first-letter', 'first-line', 'marker', 'placeholder', 'selection']
|
|
3033
|
-
};
|
|
3034
|
-
};
|
|
3035
|
-
const twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);
|
|
3036
|
-
|
|
3037
|
-
function cn(...inputs) {
|
|
3038
|
-
return twMerge(clsx(inputs));
|
|
3039
|
-
}
|
|
3040
|
-
|
|
3041
|
-
export { clsx as a, cn as c };
|
|
3042
|
-
//# sourceMappingURL=utils2.js.map
|