@namuna-nur/ui-kit 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +338 -0
- package/lib/.gitkeep +0 -0
- package/lib/atoms/index.js +39 -0
- package/lib/hooks/index.js +8 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +152 -0
- package/lib/molecules/index.js +101 -0
- package/lib/setupTests.d.ts +0 -0
- package/lib/shared/Avatar.tokens.js +7510 -0
- package/lib/shared/MessageSettings.tokens.js +8693 -0
- package/lib/shared/TabDots.tokens.js +1075 -0
- package/lib/shared/twMerge.js +3535 -0
- package/lib/shared/useClickOutside.js +16 -0
- package/lib/shared/useDebounce.js +15 -0
- package/lib/shared/useOption.js +8 -0
- package/lib/src/_shared/Accordion.utils.d.ts +15 -0
- package/lib/src/_shared/Dropdown.utils.d.ts +27 -0
- package/lib/src/_shared/Modal.utils.d.ts +16 -0
- package/lib/src/_shared/Popover.utils.d.ts +5 -0
- package/lib/src/_shared/Tab.utils.d.ts +6 -0
- package/lib/src/_shared/index.d.ts +5 -0
- package/lib/src/_shared/types.d.ts +7 -0
- package/lib/src/assets/icons/index.d.ts +151 -0
- package/lib/src/assets/images/index.d.ts +11 -0
- package/lib/src/atoms/Avatar/Avatar.d.ts +2 -0
- package/lib/src/atoms/Avatar/Avatar.stories.d.ts +9 -0
- package/lib/src/atoms/Avatar/Avatar.test.d.ts +1 -0
- package/lib/src/atoms/Avatar/Avatar.tokens.d.ts +8 -0
- package/lib/src/atoms/Avatar/Avatar.types.d.ts +24 -0
- package/lib/src/atoms/Avatar/index.d.ts +3 -0
- package/lib/src/atoms/Button/Button.d.ts +16 -0
- package/lib/src/atoms/Button/Button.stories.d.ts +8 -0
- package/lib/src/atoms/Button/Button.test.d.ts +1 -0
- package/lib/src/atoms/Button/Button.tokens.d.ts +52 -0
- package/lib/src/atoms/Button/Button.types.d.ts +23 -0
- package/lib/src/atoms/Button/index.d.ts +3 -0
- package/lib/src/atoms/Checkbox/Checkbox.d.ts +5 -0
- package/lib/src/atoms/Checkbox/Checkbox.stories.d.ts +8 -0
- package/lib/src/atoms/Checkbox/Checkbox.test.d.ts +1 -0
- package/lib/src/atoms/Checkbox/Checkbox.tokens.d.ts +18 -0
- package/lib/src/atoms/Checkbox/Checkbox.types.d.ts +7 -0
- package/lib/src/atoms/Checkbox/index.d.ts +3 -0
- package/lib/src/atoms/Headline/Headline.d.ts +3 -0
- package/lib/src/atoms/Headline/Headline.stories.d.ts +8 -0
- package/lib/src/atoms/Headline/Headline.test.d.ts +1 -0
- package/lib/src/atoms/Headline/Headline.types.d.ts +13 -0
- package/lib/src/atoms/Headline/index.d.ts +2 -0
- package/lib/src/atoms/IconButton/IconButton.d.ts +13 -0
- package/lib/src/atoms/IconButton/IconButton.stories.d.ts +9 -0
- package/lib/src/atoms/IconButton/IconButton.test.d.ts +1 -0
- package/lib/src/atoms/IconButton/IconButton.tokens.d.ts +47 -0
- package/lib/src/atoms/IconButton/IconButton.types.d.ts +24 -0
- package/lib/src/atoms/IconButton/index.d.ts +3 -0
- package/lib/src/atoms/Input/Input.d.ts +11 -0
- package/lib/src/atoms/Input/Input.stories.d.ts +12 -0
- package/lib/src/atoms/Input/Input.test.d.ts +1 -0
- package/lib/src/atoms/Input/Input.tokens.d.ts +21 -0
- package/lib/src/atoms/Input/Input.types.d.ts +27 -0
- package/lib/src/atoms/Input/index.d.ts +3 -0
- package/lib/src/atoms/Label/Label.d.ts +4 -0
- package/lib/src/atoms/Label/Label.stories.d.ts +6 -0
- package/lib/src/atoms/Label/Label.test.d.ts +1 -0
- package/lib/src/atoms/Label/Label.tokens.d.ts +2 -0
- package/lib/src/atoms/Label/Label.types.d.ts +11 -0
- package/lib/src/atoms/Label/index.d.ts +3 -0
- package/lib/src/atoms/Message/Message.d.ts +8 -0
- package/lib/src/atoms/Message/Message.stories.d.ts +10 -0
- package/lib/src/atoms/Message/Message.test.d.ts +1 -0
- package/lib/src/atoms/Message/Message.tokens.d.ts +2 -0
- package/lib/src/atoms/Message/Message.types.d.ts +38 -0
- package/lib/src/atoms/Message/index.d.ts +3 -0
- package/lib/src/atoms/Notification/Notification.d.ts +2 -0
- package/lib/src/atoms/Notification/Notification.data.d.ts +7 -0
- package/lib/src/atoms/Notification/Notification.stories.d.ts +9 -0
- package/lib/src/atoms/Notification/Notification.test.d.ts +1 -0
- package/lib/src/atoms/Notification/Notification.types.d.ts +8 -0
- package/lib/src/atoms/Notification/Notification.utils.d.ts +20 -0
- package/lib/src/atoms/Notification/index.d.ts +2 -0
- package/lib/src/atoms/Radio/Radio.d.ts +5 -0
- package/lib/src/atoms/Radio/Radio.stories.d.ts +7 -0
- package/lib/src/atoms/Radio/Radio.test.d.ts +1 -0
- package/lib/src/atoms/Radio/Radio.tokens.d.ts +20 -0
- package/lib/src/atoms/Radio/Radio.types.d.ts +10 -0
- package/lib/src/atoms/Radio/index.d.ts +3 -0
- package/lib/src/atoms/Select/Select.d.ts +2 -0
- package/lib/src/atoms/Select/Select.stories.d.ts +13 -0
- package/lib/src/atoms/Select/Select.test.d.ts +1 -0
- package/lib/src/atoms/Select/Select.tokens.d.ts +43 -0
- package/lib/src/atoms/Select/Select.types.d.ts +30 -0
- package/lib/src/atoms/Select/index.d.ts +3 -0
- package/lib/src/atoms/Status/Status.d.ts +2 -0
- package/lib/src/atoms/Status/Status.stories.d.ts +9 -0
- package/lib/src/atoms/Status/Status.test.d.ts +1 -0
- package/lib/src/atoms/Status/Status.tokens.d.ts +10 -0
- package/lib/src/atoms/Status/Status.types.d.ts +8 -0
- package/lib/src/atoms/Status/index.d.ts +3 -0
- package/lib/src/atoms/Switch/Switch.d.ts +8 -0
- package/lib/src/atoms/Switch/Switch.stories.d.ts +6 -0
- package/lib/src/atoms/Switch/Switch.test.d.ts +1 -0
- package/lib/src/atoms/Switch/Switch.tokens.d.ts +2 -0
- package/lib/src/atoms/Switch/Switch.types.d.ts +19 -0
- package/lib/src/atoms/Switch/index.d.ts +3 -0
- package/lib/src/atoms/Tab/Tab.d.ts +10 -0
- package/lib/src/atoms/Tab/Tab.stories.d.ts +14 -0
- package/lib/src/atoms/Tab/Tab.test.d.ts +1 -0
- package/lib/src/atoms/Tab/Tab.tokens.d.ts +31 -0
- package/lib/src/atoms/Tab/Tab.types.d.ts +14 -0
- package/lib/src/atoms/Tab/index.d.ts +3 -0
- package/lib/src/atoms/TabDots/TabDots.d.ts +2 -0
- package/lib/src/atoms/TabDots/TabDots.stories.d.ts +5 -0
- package/lib/src/atoms/TabDots/TabDots.test.d.ts +1 -0
- package/lib/src/atoms/TabDots/TabDots.tokens.d.ts +5 -0
- package/lib/src/atoms/TabDots/TabDots.types.d.ts +12 -0
- package/lib/src/atoms/TabDots/index.d.ts +3 -0
- package/lib/src/atoms/Text/Text.d.ts +2 -0
- package/lib/src/atoms/Text/Text.stories.d.ts +10 -0
- package/lib/src/atoms/Text/Text.test.d.ts +1 -0
- package/lib/src/atoms/Text/Text.types.d.ts +14 -0
- package/lib/src/atoms/Text/index.d.ts +2 -0
- package/lib/src/atoms/Textarea/Teaxtarea.test.d.ts +1 -0
- package/lib/src/atoms/Textarea/Textarea.d.ts +5 -0
- package/lib/src/atoms/Textarea/Textarea.stories.d.ts +12 -0
- package/lib/src/atoms/Textarea/Textarea.tokens.d.ts +2 -0
- package/lib/src/atoms/Textarea/Textarea.types.d.ts +24 -0
- package/lib/src/atoms/Textarea/index.d.ts +3 -0
- package/lib/src/atoms/Toggle/Toggle.d.ts +11 -0
- package/lib/src/atoms/Toggle/Toggle.stories.d.ts +10 -0
- package/lib/src/atoms/Toggle/Toggle.test.d.ts +1 -0
- package/lib/src/atoms/Toggle/Toggle.tokens.d.ts +2 -0
- package/lib/src/atoms/Toggle/Toggle.types.d.ts +15 -0
- package/lib/src/atoms/Toggle/index.d.ts +3 -0
- package/lib/src/atoms/Tooltip/Tooltip.d.ts +2 -0
- package/lib/src/atoms/Tooltip/Tooltip.stories.d.ts +9 -0
- package/lib/src/atoms/Tooltip/Tooltip.test.d.ts +1 -0
- package/lib/src/atoms/Tooltip/Tooltip.tokens.d.ts +4 -0
- package/lib/src/atoms/Tooltip/Tooltip.types.d.ts +8 -0
- package/lib/src/atoms/Tooltip/index.d.ts +3 -0
- package/lib/src/atoms/index.d.ts +19 -0
- package/lib/src/context/use-toast.context.d.ts +10 -0
- package/lib/src/hooks/index.d.ts +3 -0
- package/lib/src/hooks/use-toast.d.ts +11 -0
- package/lib/src/hooks/use-toast.types.d.ts +32 -0
- package/lib/src/hooks/useClickOutside.d.ts +2 -0
- package/lib/src/hooks/useDebounce.d.ts +1 -0
- package/lib/src/hooks/useOption.d.ts +6 -0
- package/lib/src/index.d.ts +5 -0
- package/lib/src/molecules/Accordion/Accordion.d.ts +2 -0
- package/lib/src/molecules/Accordion/Accordion.stories.d.ts +7 -0
- package/lib/src/molecules/Accordion/Accordion.test.d.ts +1 -0
- package/lib/src/molecules/Accordion/Accordion.tokens.d.ts +19 -0
- package/lib/src/molecules/Accordion/Accordion.types.d.ts +27 -0
- package/lib/src/molecules/Accordion/index.d.ts +3 -0
- package/lib/src/molecules/ApartmentCard/ApartmentCard.d.ts +2 -0
- package/lib/src/molecules/ApartmentCard/ApartmentCard.data.d.ts +2 -0
- package/lib/src/molecules/ApartmentCard/ApartmentCard.stories.d.ts +5 -0
- package/lib/src/molecules/ApartmentCard/ApartmentCard.test.d.ts +1 -0
- package/lib/src/molecules/ApartmentCard/ApartmentCard.tokens.d.ts +12 -0
- package/lib/src/molecules/ApartmentCard/ApartmentCard.types.d.ts +26 -0
- package/lib/src/molecules/ApartmentCard/index.d.ts +3 -0
- package/lib/src/molecules/AvatarGroup/AvatarGroup.d.ts +2 -0
- package/lib/src/molecules/AvatarGroup/AvatarGroup.stories.d.ts +9 -0
- package/lib/src/molecules/AvatarGroup/AvatarGroup.test.d.ts +1 -0
- package/lib/src/molecules/AvatarGroup/AvatarGroup.tokens.d.ts +6 -0
- package/lib/src/molecules/AvatarGroup/AvatarGroup.types.d.ts +22 -0
- package/lib/src/molecules/AvatarGroup/index.d.ts +3 -0
- package/lib/src/molecules/Breadcrumb/Breadcrumb.d.ts +4 -0
- package/lib/src/molecules/Breadcrumb/Breadcrumb.stories.d.ts +8 -0
- package/lib/src/molecules/Breadcrumb/Breadcrumb.test.d.ts +1 -0
- package/lib/src/molecules/Breadcrumb/Breadcrumb.tokens.d.ts +7 -0
- package/lib/src/molecules/Breadcrumb/Breadcrumb.types.d.ts +16 -0
- package/lib/src/molecules/Breadcrumb/Breadcrumb.utils.d.ts +11 -0
- package/lib/src/molecules/Breadcrumb/index.d.ts +3 -0
- package/lib/src/molecules/CardFiles/CardFiles.d.ts +2 -0
- package/lib/src/molecules/CardFiles/CardFiles.stories.d.ts +7 -0
- package/lib/src/molecules/CardFiles/CardFiles.test.d.ts +1 -0
- package/lib/src/molecules/CardFiles/CardFiles.tokens.d.ts +28 -0
- package/lib/src/molecules/CardFiles/CardFiles.types.d.ts +40 -0
- package/lib/src/molecules/CardFiles/index.d.ts +3 -0
- package/lib/src/molecules/CardServices/CardServices.d.ts +5 -0
- package/lib/src/molecules/CardServices/CardServices.stories.d.ts +6 -0
- package/lib/src/molecules/CardServices/CardServices.test.d.ts +1 -0
- package/lib/src/molecules/CardServices/CardServices.tokens.d.ts +17 -0
- package/lib/src/molecules/CardServices/CardServices.types.d.ts +18 -0
- package/lib/src/molecules/CardServices/index.d.ts +3 -0
- package/lib/src/molecules/ChatButton/ChatButton.d.ts +2 -0
- package/lib/src/molecules/ChatButton/ChatButton.stories.d.ts +6 -0
- package/lib/src/molecules/ChatButton/ChatButton.test.d.ts +1 -0
- package/lib/src/molecules/ChatButton/ChatButton.tokens.d.ts +12 -0
- package/lib/src/molecules/ChatButton/ChatButton.types.d.ts +18 -0
- package/lib/src/molecules/ChatButton/index.d.ts +3 -0
- package/lib/src/molecules/ChatCard/ChatCard.d.ts +3 -0
- package/lib/src/molecules/ChatCard/ChatCard.stories.d.ts +8 -0
- package/lib/src/molecules/ChatCard/ChatCard.test.d.ts +1 -0
- package/lib/src/molecules/ChatCard/ChatCard.tokens.d.ts +9 -0
- package/lib/src/molecules/ChatCard/ChatCard.types.d.ts +18 -0
- package/lib/src/molecules/ChatCard/index.d.ts +3 -0
- package/lib/src/molecules/ChatList/ChatList.d.ts +3 -0
- package/lib/src/molecules/ChatList/ChatList.stories.d.ts +5 -0
- package/lib/src/molecules/ChatList/ChatList.test.d.ts +1 -0
- package/lib/src/molecules/ChatList/ChatList.tokens.d.ts +4 -0
- package/lib/src/molecules/ChatList/ChatList.types.d.ts +14 -0
- package/lib/src/molecules/ChatList/index.d.ts +3 -0
- package/lib/src/molecules/ChatMessage/ChatMessage.d.ts +2 -0
- package/lib/src/molecules/ChatMessage/ChatMessage.data.d.ts +3 -0
- package/lib/src/molecules/ChatMessage/ChatMessage.stories.d.ts +9 -0
- package/lib/src/molecules/ChatMessage/ChatMessage.test.d.ts +1 -0
- package/lib/src/molecules/ChatMessage/ChatMessage.tokens.d.ts +6 -0
- package/lib/src/molecules/ChatMessage/ChatMessage.types.d.ts +19 -0
- package/lib/src/molecules/ChatMessage/index.d.ts +3 -0
- package/lib/src/molecules/ChatSidebar/ChatSidebar.d.ts +2 -0
- package/lib/src/molecules/ChatSidebar/ChatSidebar.data.d.ts +4 -0
- package/lib/src/molecules/ChatSidebar/ChatSidebar.stories.d.ts +36 -0
- package/lib/src/molecules/ChatSidebar/ChatSidebar.test.d.ts +1 -0
- package/lib/src/molecules/ChatSidebar/ChatSidebar.tokens.d.ts +7 -0
- package/lib/src/molecules/ChatSidebar/ChatSidebar.types.d.ts +35 -0
- package/lib/src/molecules/ChatSidebar/index.d.ts +3 -0
- package/lib/src/molecules/CheckboxGroup/CheckboxGroup.d.ts +2 -0
- package/lib/src/molecules/CheckboxGroup/CheckboxGroup.stories.d.ts +8 -0
- package/lib/src/molecules/CheckboxGroup/CheckboxGroup.test.d.ts +1 -0
- package/lib/src/molecules/CheckboxGroup/CheckboxGroup.tokens.d.ts +16 -0
- package/lib/src/molecules/CheckboxGroup/CheckboxGroup.types.d.ts +8 -0
- package/lib/src/molecules/CheckboxGroup/index.d.ts +3 -0
- package/lib/src/molecules/CommentInput/CommentInput.d.ts +3 -0
- package/lib/src/molecules/CommentInput/CommentInput.stories.d.ts +8 -0
- package/lib/src/molecules/CommentInput/CommentInput.test.d.ts +1 -0
- package/lib/src/molecules/CommentInput/CommentInput.tokens.d.ts +9 -0
- package/lib/src/molecules/CommentInput/CommentInput.types.d.ts +29 -0
- package/lib/src/molecules/CommentInput/index.d.ts +3 -0
- package/lib/src/molecules/CommentList/CommentList.d.ts +3 -0
- package/lib/src/molecules/CommentList/CommentList.stories.d.ts +7 -0
- package/lib/src/molecules/CommentList/CommentList.test.d.ts +1 -0
- package/lib/src/molecules/CommentList/CommentList.tokens.d.ts +35 -0
- package/lib/src/molecules/CommentList/CommentList.types.d.ts +21 -0
- package/lib/src/molecules/CommentList/index.d.ts +3 -0
- package/lib/src/molecules/DateOfBirth/DateOfBirth.d.ts +2 -0
- package/lib/src/molecules/DateOfBirth/DateOfBirth.stories.d.ts +10 -0
- package/lib/src/molecules/DateOfBirth/DateOfBirth.test.d.ts +1 -0
- package/lib/src/molecules/DateOfBirth/DateOfBirth.tokens.d.ts +6 -0
- package/lib/src/molecules/DateOfBirth/DateOfBirth.types.d.ts +13 -0
- package/lib/src/molecules/DateOfBirth/index.d.ts +3 -0
- package/lib/src/molecules/DatePicker/DatePicker.d.ts +2 -0
- package/lib/src/molecules/DatePicker/DatePicker.stories.d.ts +8 -0
- package/lib/src/molecules/DatePicker/DatePicker.test.d.ts +1 -0
- package/lib/src/molecules/DatePicker/DatePicker.tokens.d.ts +57 -0
- package/lib/src/molecules/DatePicker/DatePicker.types.d.ts +18 -0
- package/lib/src/molecules/DatePicker/index.d.ts +3 -0
- package/lib/src/molecules/DeleteMessage/DeleteMessage.d.ts +2 -0
- package/lib/src/molecules/DeleteMessage/DeleteMessage.stories.d.ts +6 -0
- package/lib/src/molecules/DeleteMessage/DeleteMessage.test.d.ts +1 -0
- package/lib/src/molecules/DeleteMessage/DeleteMessage.tokens.d.ts +9 -0
- package/lib/src/molecules/DeleteMessage/DeleteMessage.types.d.ts +13 -0
- package/lib/src/molecules/DeleteMessage/index.d.ts +3 -0
- package/lib/src/molecules/DragAndDrop/DragAndDrop.d.ts +2 -0
- package/lib/src/molecules/DragAndDrop/DragAndDrop.stories.d.ts +14 -0
- package/lib/src/molecules/DragAndDrop/DragAndDrop.test.d.ts +1 -0
- package/lib/src/molecules/DragAndDrop/DragAndDrop.tokens.d.ts +2 -0
- package/lib/src/molecules/DragAndDrop/DragAndDrop.types.d.ts +19 -0
- package/lib/src/molecules/DragAndDrop/index.d.ts +3 -0
- package/lib/src/molecules/Dropdown/Dropdown.d.ts +3 -0
- package/lib/src/molecules/Dropdown/Dropdown.stories.d.ts +6 -0
- package/lib/src/molecules/Dropdown/Dropdown.test.d.ts +1 -0
- package/lib/src/molecules/Dropdown/Dropdown.tokens.d.ts +13 -0
- package/lib/src/molecules/Dropdown/Dropdown.types.d.ts +20 -0
- package/lib/src/molecules/Dropdown/index.d.ts +3 -0
- package/lib/src/molecules/FileUploader/FileUploader.d.ts +2 -0
- package/lib/src/molecules/FileUploader/FileUploader.stories.d.ts +7 -0
- package/lib/src/molecules/FileUploader/FileUploader.test.d.ts +1 -0
- package/lib/src/molecules/FileUploader/FileUploader.tokens.d.ts +19 -0
- package/lib/src/molecules/FileUploader/FileUploader.types.d.ts +18 -0
- package/lib/src/molecules/FileUploader/index.d.ts +3 -0
- package/lib/src/molecules/FilterTable/FilterTable.d.ts +2 -0
- package/lib/src/molecules/FilterTable/FilterTable.stories.d.ts +8 -0
- package/lib/src/molecules/FilterTable/FilterTable.test.d.ts +1 -0
- package/lib/src/molecules/FilterTable/FilterTable.tokens.d.ts +19 -0
- package/lib/src/molecules/FilterTable/FilterTable.types.d.ts +35 -0
- package/lib/src/molecules/FilterTable/index.d.ts +3 -0
- package/lib/src/molecules/IconTitle/IconTitle.d.ts +2 -0
- package/lib/src/molecules/IconTitle/IconTitle.stories.d.ts +6 -0
- package/lib/src/molecules/IconTitle/IconTitle.test.d.ts +1 -0
- package/lib/src/molecules/IconTitle/IconTitle.tokens.d.ts +5 -0
- package/lib/src/molecules/IconTitle/IconTitle.types.d.ts +20 -0
- package/lib/src/molecules/IconTitle/index.d.ts +3 -0
- package/lib/src/molecules/InputGroup/InputGroup.d.ts +2 -0
- package/lib/src/molecules/InputGroup/InputGroup.stories.d.ts +11 -0
- package/lib/src/molecules/InputGroup/InputGroup.test.d.ts +1 -0
- package/lib/src/molecules/InputGroup/InputGroup.tokens.d.ts +34 -0
- package/lib/src/molecules/InputGroup/InputGroup.types.d.ts +34 -0
- package/lib/src/molecules/InputGroup/index.d.ts +3 -0
- package/lib/src/molecules/LabelWithValue/LabelWithValue.d.ts +2 -0
- package/lib/src/molecules/LabelWithValue/LabelWithValue.stories.d.ts +5 -0
- package/lib/src/molecules/LabelWithValue/LabelWithValue.test.d.ts +1 -0
- package/lib/src/molecules/LabelWithValue/LabelWithValue.tokens.d.ts +4 -0
- package/lib/src/molecules/LabelWithValue/LabelWithValue.types.d.ts +12 -0
- package/lib/src/molecules/LabelWithValue/index.d.ts +3 -0
- package/lib/src/molecules/Languages/Languages.d.ts +2 -0
- package/lib/src/molecules/Languages/Languages.stories.d.ts +5 -0
- package/lib/src/molecules/Languages/Languages.test.d.ts +1 -0
- package/lib/src/molecules/Languages/Languages.tokens.d.ts +4 -0
- package/lib/src/molecules/Languages/Languages.types.d.ts +23 -0
- package/lib/src/molecules/Languages/index.d.ts +3 -0
- package/lib/src/molecules/Link/Link.d.ts +2 -0
- package/lib/src/molecules/Link/Link.stories.d.ts +7 -0
- package/lib/src/molecules/Link/Link.test.d.ts +1 -0
- package/lib/src/molecules/Link/Link.tokens.d.ts +9 -0
- package/lib/src/molecules/Link/Link.types.d.ts +15 -0
- package/lib/src/molecules/Link/index.d.ts +3 -0
- package/lib/src/molecules/MessageSettings/MessageSettings.d.ts +2 -0
- package/lib/src/molecules/MessageSettings/MessageSettings.stories.d.ts +5 -0
- package/lib/src/molecules/MessageSettings/MessageSettings.test.d.ts +1 -0
- package/lib/src/molecules/MessageSettings/MessageSettings.tokens.d.ts +13 -0
- package/lib/src/molecules/MessageSettings/MessageSettings.types.d.ts +21 -0
- package/lib/src/molecules/MessageSettings/MessageSettings.utils.d.ts +2 -0
- package/lib/src/molecules/MessageSettings/index.d.ts +3 -0
- package/lib/src/molecules/MultiSelect/MultiSelect.d.ts +2 -0
- package/lib/src/molecules/MultiSelect/MultiSelect.stories.d.ts +7 -0
- package/lib/src/molecules/MultiSelect/MultiSelect.test.d.ts +1 -0
- package/lib/src/molecules/MultiSelect/MultiSelect.tokens.d.ts +2 -0
- package/lib/src/molecules/MultiSelect/MultiSelect.types.d.ts +60 -0
- package/lib/src/molecules/MultiSelect/index.d.ts +3 -0
- package/lib/src/molecules/NavButton/NavButton.d.ts +2 -0
- package/lib/src/molecules/NavButton/NavButton.stories.d.ts +9 -0
- package/lib/src/molecules/NavButton/NavButton.test.d.ts +1 -0
- package/lib/src/molecules/NavButton/NavButton.tokens.d.ts +15 -0
- package/lib/src/molecules/NavButton/NavButton.types.d.ts +26 -0
- package/lib/src/molecules/NavButton/index.d.ts +3 -0
- package/lib/src/molecules/Pagination/Pagination.d.ts +2 -0
- package/lib/src/molecules/Pagination/Pagination.stories.d.ts +7 -0
- package/lib/src/molecules/Pagination/Pagination.test.d.ts +1 -0
- package/lib/src/molecules/Pagination/Pagination.tokens.d.ts +28 -0
- package/lib/src/molecules/Pagination/Pagination.types.d.ts +16 -0
- package/lib/src/molecules/Pagination/Pagination.utils.d.ts +1 -0
- package/lib/src/molecules/Pagination/index.d.ts +3 -0
- package/lib/src/molecules/PasswordInput/PasswordInput.d.ts +2 -0
- package/lib/src/molecules/PasswordInput/PasswordInput.stories.d.ts +12 -0
- package/lib/src/molecules/PasswordInput/PasswordInput.test.d.ts +1 -0
- package/lib/src/molecules/PasswordInput/PasswordInput.tokens.d.ts +2 -0
- package/lib/src/molecules/PasswordInput/PasswordInput.types.d.ts +19 -0
- package/lib/src/molecules/PasswordInput/index.d.ts +3 -0
- package/lib/src/molecules/PaymentCard/PaymentCard.d.ts +2 -0
- package/lib/src/molecules/PaymentCard/PaymentCard.stories.d.ts +5 -0
- package/lib/src/molecules/PaymentCard/PaymentCard.test.d.ts +1 -0
- package/lib/src/molecules/PaymentCard/PaymentCard.tokens.d.ts +20 -0
- package/lib/src/molecules/PaymentCard/PaymentCard.types.d.ts +19 -0
- package/lib/src/molecules/PaymentCard/index.d.ts +3 -0
- package/lib/src/molecules/PhoneInput/PhoneInput.d.ts +2 -0
- package/lib/src/molecules/PhoneInput/PhoneInput.stories.d.ts +10 -0
- package/lib/src/molecules/PhoneInput/PhoneInput.test.d.ts +1 -0
- package/lib/src/molecules/PhoneInput/PhoneInput.tokens.d.ts +2 -0
- package/lib/src/molecules/PhoneInput/PhoneInput.types.d.ts +27 -0
- package/lib/src/molecules/PhoneInput/index.d.ts +3 -0
- package/lib/src/molecules/Plate/Plate.d.ts +4 -0
- package/lib/src/molecules/Plate/Plate.stories.d.ts +7 -0
- package/lib/src/molecules/Plate/Plate.test.d.ts +1 -0
- package/lib/src/molecules/Plate/Plate.tokens.d.ts +2 -0
- package/lib/src/molecules/Plate/Plate.types.d.ts +36 -0
- package/lib/src/molecules/Plate/index.d.ts +3 -0
- package/lib/src/molecules/RadioGroup/RadioGroup.d.ts +11 -0
- package/lib/src/molecules/RadioGroup/RadioGroup.stories.d.ts +7 -0
- package/lib/src/molecules/RadioGroup/RadioGroup.test.d.ts +1 -0
- package/lib/src/molecules/RadioGroup/RadioGroup.tokens.d.ts +13 -0
- package/lib/src/molecules/RadioGroup/RadioGroup.types.d.ts +14 -0
- package/lib/src/molecules/RadioGroup/index.d.ts +3 -0
- package/lib/src/molecules/SearchInput/SearchInput.d.ts +22 -0
- package/lib/src/molecules/SearchInput/SearchInput.stories.d.ts +7 -0
- package/lib/src/molecules/SearchInput/SearchInput.test.d.ts +1 -0
- package/lib/src/molecules/SearchInput/SearchInput.tokens.d.ts +42 -0
- package/lib/src/molecules/SearchInput/SearchInput.types.d.ts +38 -0
- package/lib/src/molecules/SearchInput/index.d.ts +3 -0
- package/lib/src/molecules/SelectGroup/SelectGroup.d.ts +2 -0
- package/lib/src/molecules/SelectGroup/SelectGroup.stories.d.ts +6 -0
- package/lib/src/molecules/SelectGroup/SelectGroup.test.d.ts +1 -0
- package/lib/src/molecules/SelectGroup/SelectGroup.tokens.d.ts +3 -0
- package/lib/src/molecules/SelectGroup/SelectGroup.types.d.ts +12 -0
- package/lib/src/molecules/SelectGroup/index.d.ts +3 -0
- package/lib/src/molecules/SelectList/SelectList.d.ts +2 -0
- package/lib/src/molecules/SelectList/SelectList.stories.d.ts +7 -0
- package/lib/src/molecules/SelectList/SelectList.test.d.ts +1 -0
- package/lib/src/molecules/SelectList/SelectList.tokens.d.ts +29 -0
- package/lib/src/molecules/SelectList/SelectList.types.d.ts +20 -0
- package/lib/src/molecules/SelectList/index.d.ts +3 -0
- package/lib/src/molecules/ServiceOrders/ServiceOrders.d.ts +2 -0
- package/lib/src/molecules/ServiceOrders/ServiceOrders.data.d.ts +2 -0
- package/lib/src/molecules/ServiceOrders/ServiceOrders.stories.d.ts +5 -0
- package/lib/src/molecules/ServiceOrders/ServiceOrders.test.d.ts +1 -0
- package/lib/src/molecules/ServiceOrders/ServiceOrders.tokens.d.ts +11 -0
- package/lib/src/molecules/ServiceOrders/ServiceOrders.types.d.ts +19 -0
- package/lib/src/molecules/ServiceOrders/index.d.ts +3 -0
- package/lib/src/molecules/Sidebar/Sidebar.d.ts +2 -0
- package/lib/src/molecules/Sidebar/Sidebar.data.d.ts +2 -0
- package/lib/src/molecules/Sidebar/Sidebar.stories.d.ts +7 -0
- package/lib/src/molecules/Sidebar/Sidebar.test.d.ts +1 -0
- package/lib/src/molecules/Sidebar/Sidebar.tokens.d.ts +12 -0
- package/lib/src/molecules/Sidebar/Sidebar.types.d.ts +20 -0
- package/lib/src/molecules/Sidebar/Sidebar.utils.d.ts +2 -0
- package/lib/src/molecules/Sidebar/index.d.ts +3 -0
- package/lib/src/molecules/StatusSelect/StatusSelect.d.ts +2 -0
- package/lib/src/molecules/StatusSelect/StatusSelect.stories.d.ts +5 -0
- package/lib/src/molecules/StatusSelect/StatusSelect.test.d.ts +1 -0
- package/lib/src/molecules/StatusSelect/StatusSelect.tokens.d.ts +28 -0
- package/lib/src/molecules/StatusSelect/StatusSelect.types.d.ts +25 -0
- package/lib/src/molecules/StatusSelect/index.d.ts +3 -0
- package/lib/src/molecules/Stepper/Stepper.d.ts +2 -0
- package/lib/src/molecules/Stepper/Stepper.stories.d.ts +8 -0
- package/lib/src/molecules/Stepper/Stepper.test.d.ts +1 -0
- package/lib/src/molecules/Stepper/Stepper.tokens.d.ts +21 -0
- package/lib/src/molecules/Stepper/Stepper.types.d.ts +33 -0
- package/lib/src/molecules/Stepper/index.d.ts +3 -0
- package/lib/src/molecules/TabGroup/TabGroup.d.ts +3 -0
- package/lib/src/molecules/TabGroup/TabGroup.stories.d.ts +6 -0
- package/lib/src/molecules/TabGroup/TabGroup.test.d.ts +1 -0
- package/lib/src/molecules/TabGroup/TabGroup.tokens.d.ts +26 -0
- package/lib/src/molecules/TabGroup/TabGroup.types.d.ts +33 -0
- package/lib/src/molecules/TabGroup/TabGroup.utils.d.ts +2 -0
- package/lib/src/molecules/TabGroup/index.d.ts +3 -0
- package/lib/src/molecules/TabSwitch/TabSwitch.d.ts +3 -0
- package/lib/src/molecules/TabSwitch/TabSwitch.stories.d.ts +5 -0
- package/lib/src/molecules/TabSwitch/TabSwitch.test.d.ts +1 -0
- package/lib/src/molecules/TabSwitch/TabSwitch.tokens.d.ts +10 -0
- package/lib/src/molecules/TabSwitch/TabSwitch.types.d.ts +28 -0
- package/lib/src/molecules/TabSwitch/TabSwitch.utils.d.ts +2 -0
- package/lib/src/molecules/TabSwitch/index.d.ts +3 -0
- package/lib/src/molecules/Table/Table.d.ts +2 -0
- package/lib/src/molecules/Table/Table.stories.d.ts +5 -0
- package/lib/src/molecules/Table/Table.test.d.ts +1 -0
- package/lib/src/molecules/Table/Table.tokens.d.ts +14 -0
- package/lib/src/molecules/Table/Table.types.d.ts +18 -0
- package/lib/src/molecules/Table/index.d.ts +3 -0
- package/lib/src/molecules/Table/mocks/data.d.ts +15 -0
- package/lib/src/molecules/TextareaGroup/TextareaGroup.d.ts +2 -0
- package/lib/src/molecules/TextareaGroup/TextareaGroup.stories.d.ts +8 -0
- package/lib/src/molecules/TextareaGroup/TextareaGroup.test.d.ts +1 -0
- package/lib/src/molecules/TextareaGroup/TextareaGroup.tokens.d.ts +2 -0
- package/lib/src/molecules/TextareaGroup/TextareaGroup.types.d.ts +13 -0
- package/lib/src/molecules/TextareaGroup/index.d.ts +3 -0
- package/lib/src/molecules/ToggleGroup/ToggleGroup.d.ts +2 -0
- package/lib/src/molecules/ToggleGroup/ToggleGroup.stories.d.ts +9 -0
- package/lib/src/molecules/ToggleGroup/ToggleGroup.test.d.ts +1 -0
- package/lib/src/molecules/ToggleGroup/ToggleGroup.types.d.ts +12 -0
- package/lib/src/molecules/ToggleGroup/ToogleGroup.tokens.d.ts +3 -0
- package/lib/src/molecules/ToggleGroup/index.d.ts +3 -0
- package/lib/src/molecules/UploadInput/UploadInput.d.ts +18 -0
- package/lib/src/molecules/UploadInput/UploadInput.stories.d.ts +8 -0
- package/lib/src/molecules/UploadInput/UploadInput.test.d.ts +1 -0
- package/lib/src/molecules/UploadInput/UploadInput.tokens.d.ts +17 -0
- package/lib/src/molecules/UploadInput/UploadInput.types.d.ts +30 -0
- package/lib/src/molecules/UploadInput/UploadInput.utils.d.ts +3 -0
- package/lib/src/molecules/UploadInput/index.d.ts +3 -0
- package/lib/src/molecules/UserContact/UserContact.d.ts +2 -0
- package/lib/src/molecules/UserContact/UserContact.stories.d.ts +8 -0
- package/lib/src/molecules/UserContact/UserContact.test.d.ts +1 -0
- package/lib/src/molecules/UserContact/UserContact.tokens.d.ts +10 -0
- package/lib/src/molecules/UserContact/UserContact.types.d.ts +15 -0
- package/lib/src/molecules/UserContact/index.d.ts +3 -0
- package/lib/src/molecules/index.d.ts +49 -0
- package/lib/src/tokens/colors.d.ts +2 -0
- package/lib/src/tokens/index.d.ts +3 -0
- package/lib/src/tokens/types.d.ts +36 -0
- package/lib/src/tokens/typography.d.ts +2 -0
- package/lib/src/utils/date.d.ts +1 -0
- package/lib/src/utils/index.d.ts +2 -0
- package/lib/src/utils/twMerge.d.ts +7 -0
- package/lib/tokens/index.js +248 -0
- package/lib/utils/index.js +11 -0
- package/lib/vite.config.d.ts +2 -0
- package/package.json +163 -0
|
@@ -0,0 +1,3535 @@
|
|
|
1
|
+
import { typographyTokens as K, colorTokens as Ee } from "../tokens/index.js";
|
|
2
|
+
const ke = 6048e5, Ne = 864e5, ue = Symbol.for("constructDateFrom");
|
|
3
|
+
function T(e, t) {
|
|
4
|
+
return typeof e == "function" ? e(t) : e && typeof e == "object" && ue in e ? e[ue](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
5
|
+
}
|
|
6
|
+
function M(e, t) {
|
|
7
|
+
return T(t || e, e);
|
|
8
|
+
}
|
|
9
|
+
let ze = {};
|
|
10
|
+
function B() {
|
|
11
|
+
return ze;
|
|
12
|
+
}
|
|
13
|
+
function L(e, t) {
|
|
14
|
+
var s, l, d, f;
|
|
15
|
+
const r = B(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((l = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : l.weekStartsOn) ?? r.weekStartsOn ?? ((f = (d = r.locale) == null ? void 0 : d.options) == null ? void 0 : f.weekStartsOn) ?? 0, o = M(e, t == null ? void 0 : t.in), a = o.getDay(), i = (a < n ? 7 : 0) + a - n;
|
|
16
|
+
return o.setDate(o.getDate() - i), o.setHours(0, 0, 0, 0), o;
|
|
17
|
+
}
|
|
18
|
+
function X(e, t) {
|
|
19
|
+
return L(e, { ...t, weekStartsOn: 1 });
|
|
20
|
+
}
|
|
21
|
+
function Me(e, t) {
|
|
22
|
+
const r = M(e, t == null ? void 0 : t.in), n = r.getFullYear(), o = T(r, 0);
|
|
23
|
+
o.setFullYear(n + 1, 0, 4), o.setHours(0, 0, 0, 0);
|
|
24
|
+
const a = X(o), i = T(r, 0);
|
|
25
|
+
i.setFullYear(n, 0, 4), i.setHours(0, 0, 0, 0);
|
|
26
|
+
const s = X(i);
|
|
27
|
+
return r.getTime() >= a.getTime() ? n + 1 : r.getTime() >= s.getTime() ? n : n - 1;
|
|
28
|
+
}
|
|
29
|
+
function fe(e) {
|
|
30
|
+
const t = M(e), r = new Date(
|
|
31
|
+
Date.UTC(
|
|
32
|
+
t.getFullYear(),
|
|
33
|
+
t.getMonth(),
|
|
34
|
+
t.getDate(),
|
|
35
|
+
t.getHours(),
|
|
36
|
+
t.getMinutes(),
|
|
37
|
+
t.getSeconds(),
|
|
38
|
+
t.getMilliseconds()
|
|
39
|
+
)
|
|
40
|
+
);
|
|
41
|
+
return r.setUTCFullYear(t.getFullYear()), +e - +r;
|
|
42
|
+
}
|
|
43
|
+
function Fe(e, ...t) {
|
|
44
|
+
const r = T.bind(
|
|
45
|
+
null,
|
|
46
|
+
t.find((n) => typeof n == "object")
|
|
47
|
+
);
|
|
48
|
+
return t.map(r);
|
|
49
|
+
}
|
|
50
|
+
function me(e, t) {
|
|
51
|
+
const r = M(e, t == null ? void 0 : t.in);
|
|
52
|
+
return r.setHours(0, 0, 0, 0), r;
|
|
53
|
+
}
|
|
54
|
+
function Ae(e, t, r) {
|
|
55
|
+
const [n, o] = Fe(
|
|
56
|
+
r == null ? void 0 : r.in,
|
|
57
|
+
e,
|
|
58
|
+
t
|
|
59
|
+
), a = me(n), i = me(o), s = +a - fe(a), l = +i - fe(i);
|
|
60
|
+
return Math.round((s - l) / Ne);
|
|
61
|
+
}
|
|
62
|
+
function Ge(e, t) {
|
|
63
|
+
const r = Me(e, t), n = T(e, 0);
|
|
64
|
+
return n.setFullYear(r, 0, 4), n.setHours(0, 0, 0, 0), X(n);
|
|
65
|
+
}
|
|
66
|
+
function Re(e) {
|
|
67
|
+
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
68
|
+
}
|
|
69
|
+
function qe(e) {
|
|
70
|
+
return !(!Re(e) && typeof e != "number" || isNaN(+M(e)));
|
|
71
|
+
}
|
|
72
|
+
function je(e, t) {
|
|
73
|
+
const r = M(e, t == null ? void 0 : t.in);
|
|
74
|
+
return r.setFullYear(r.getFullYear(), 0, 1), r.setHours(0, 0, 0, 0), r;
|
|
75
|
+
}
|
|
76
|
+
const Ie = {
|
|
77
|
+
lessThanXSeconds: {
|
|
78
|
+
one: "less than a second",
|
|
79
|
+
other: "less than {{count}} seconds"
|
|
80
|
+
},
|
|
81
|
+
xSeconds: {
|
|
82
|
+
one: "1 second",
|
|
83
|
+
other: "{{count}} seconds"
|
|
84
|
+
},
|
|
85
|
+
halfAMinute: "half a minute",
|
|
86
|
+
lessThanXMinutes: {
|
|
87
|
+
one: "less than a minute",
|
|
88
|
+
other: "less than {{count}} minutes"
|
|
89
|
+
},
|
|
90
|
+
xMinutes: {
|
|
91
|
+
one: "1 minute",
|
|
92
|
+
other: "{{count}} minutes"
|
|
93
|
+
},
|
|
94
|
+
aboutXHours: {
|
|
95
|
+
one: "about 1 hour",
|
|
96
|
+
other: "about {{count}} hours"
|
|
97
|
+
},
|
|
98
|
+
xHours: {
|
|
99
|
+
one: "1 hour",
|
|
100
|
+
other: "{{count}} hours"
|
|
101
|
+
},
|
|
102
|
+
xDays: {
|
|
103
|
+
one: "1 day",
|
|
104
|
+
other: "{{count}} days"
|
|
105
|
+
},
|
|
106
|
+
aboutXWeeks: {
|
|
107
|
+
one: "about 1 week",
|
|
108
|
+
other: "about {{count}} weeks"
|
|
109
|
+
},
|
|
110
|
+
xWeeks: {
|
|
111
|
+
one: "1 week",
|
|
112
|
+
other: "{{count}} weeks"
|
|
113
|
+
},
|
|
114
|
+
aboutXMonths: {
|
|
115
|
+
one: "about 1 month",
|
|
116
|
+
other: "about {{count}} months"
|
|
117
|
+
},
|
|
118
|
+
xMonths: {
|
|
119
|
+
one: "1 month",
|
|
120
|
+
other: "{{count}} months"
|
|
121
|
+
},
|
|
122
|
+
aboutXYears: {
|
|
123
|
+
one: "about 1 year",
|
|
124
|
+
other: "about {{count}} years"
|
|
125
|
+
},
|
|
126
|
+
xYears: {
|
|
127
|
+
one: "1 year",
|
|
128
|
+
other: "{{count}} years"
|
|
129
|
+
},
|
|
130
|
+
overXYears: {
|
|
131
|
+
one: "over 1 year",
|
|
132
|
+
other: "over {{count}} years"
|
|
133
|
+
},
|
|
134
|
+
almostXYears: {
|
|
135
|
+
one: "almost 1 year",
|
|
136
|
+
other: "almost {{count}} years"
|
|
137
|
+
}
|
|
138
|
+
}, Le = (e, t, r) => {
|
|
139
|
+
let n;
|
|
140
|
+
const o = Ie[e];
|
|
141
|
+
return typeof o == "string" ? n = o : t === 1 ? n = o.one : n = o.other.replace("{{count}}", t.toString()), r != null && r.addSuffix ? r.comparison && r.comparison > 0 ? "in " + n : n + " ago" : n;
|
|
142
|
+
};
|
|
143
|
+
function Z(e) {
|
|
144
|
+
return (t = {}) => {
|
|
145
|
+
const r = t.width ? String(t.width) : e.defaultWidth;
|
|
146
|
+
return e.formats[r] || e.formats[e.defaultWidth];
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
const _e = {
|
|
150
|
+
full: "EEEE, MMMM do, y",
|
|
151
|
+
long: "MMMM do, y",
|
|
152
|
+
medium: "MMM d, y",
|
|
153
|
+
short: "MM/dd/yyyy"
|
|
154
|
+
}, He = {
|
|
155
|
+
full: "h:mm:ss a zzzz",
|
|
156
|
+
long: "h:mm:ss a z",
|
|
157
|
+
medium: "h:mm:ss a",
|
|
158
|
+
short: "h:mm a"
|
|
159
|
+
}, Qe = {
|
|
160
|
+
full: "{{date}} 'at' {{time}}",
|
|
161
|
+
long: "{{date}} 'at' {{time}}",
|
|
162
|
+
medium: "{{date}}, {{time}}",
|
|
163
|
+
short: "{{date}}, {{time}}"
|
|
164
|
+
}, Xe = {
|
|
165
|
+
date: Z({
|
|
166
|
+
formats: _e,
|
|
167
|
+
defaultWidth: "full"
|
|
168
|
+
}),
|
|
169
|
+
time: Z({
|
|
170
|
+
formats: He,
|
|
171
|
+
defaultWidth: "full"
|
|
172
|
+
}),
|
|
173
|
+
dateTime: Z({
|
|
174
|
+
formats: Qe,
|
|
175
|
+
defaultWidth: "full"
|
|
176
|
+
})
|
|
177
|
+
}, Be = {
|
|
178
|
+
lastWeek: "'last' eeee 'at' p",
|
|
179
|
+
yesterday: "'yesterday at' p",
|
|
180
|
+
today: "'today at' p",
|
|
181
|
+
tomorrow: "'tomorrow at' p",
|
|
182
|
+
nextWeek: "eeee 'at' p",
|
|
183
|
+
other: "P"
|
|
184
|
+
}, Ve = (e, t, r, n) => Be[e];
|
|
185
|
+
function G(e) {
|
|
186
|
+
return (t, r) => {
|
|
187
|
+
const n = r != null && r.context ? String(r.context) : "standalone";
|
|
188
|
+
let o;
|
|
189
|
+
if (n === "formatting" && e.formattingValues) {
|
|
190
|
+
const i = e.defaultFormattingWidth || e.defaultWidth, s = r != null && r.width ? String(r.width) : i;
|
|
191
|
+
o = e.formattingValues[s] || e.formattingValues[i];
|
|
192
|
+
} else {
|
|
193
|
+
const i = e.defaultWidth, s = r != null && r.width ? String(r.width) : e.defaultWidth;
|
|
194
|
+
o = e.values[s] || e.values[i];
|
|
195
|
+
}
|
|
196
|
+
const a = e.argumentCallback ? e.argumentCallback(t) : t;
|
|
197
|
+
return o[a];
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
const $e = {
|
|
201
|
+
narrow: ["B", "A"],
|
|
202
|
+
abbreviated: ["BC", "AD"],
|
|
203
|
+
wide: ["Before Christ", "Anno Domini"]
|
|
204
|
+
}, Je = {
|
|
205
|
+
narrow: ["1", "2", "3", "4"],
|
|
206
|
+
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
207
|
+
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
208
|
+
}, Ue = {
|
|
209
|
+
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
210
|
+
abbreviated: [
|
|
211
|
+
"Jan",
|
|
212
|
+
"Feb",
|
|
213
|
+
"Mar",
|
|
214
|
+
"Apr",
|
|
215
|
+
"May",
|
|
216
|
+
"Jun",
|
|
217
|
+
"Jul",
|
|
218
|
+
"Aug",
|
|
219
|
+
"Sep",
|
|
220
|
+
"Oct",
|
|
221
|
+
"Nov",
|
|
222
|
+
"Dec"
|
|
223
|
+
],
|
|
224
|
+
wide: [
|
|
225
|
+
"January",
|
|
226
|
+
"February",
|
|
227
|
+
"March",
|
|
228
|
+
"April",
|
|
229
|
+
"May",
|
|
230
|
+
"June",
|
|
231
|
+
"July",
|
|
232
|
+
"August",
|
|
233
|
+
"September",
|
|
234
|
+
"October",
|
|
235
|
+
"November",
|
|
236
|
+
"December"
|
|
237
|
+
]
|
|
238
|
+
}, Ke = {
|
|
239
|
+
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
240
|
+
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
241
|
+
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
242
|
+
wide: [
|
|
243
|
+
"Sunday",
|
|
244
|
+
"Monday",
|
|
245
|
+
"Tuesday",
|
|
246
|
+
"Wednesday",
|
|
247
|
+
"Thursday",
|
|
248
|
+
"Friday",
|
|
249
|
+
"Saturday"
|
|
250
|
+
]
|
|
251
|
+
}, Ze = {
|
|
252
|
+
narrow: {
|
|
253
|
+
am: "a",
|
|
254
|
+
pm: "p",
|
|
255
|
+
midnight: "mi",
|
|
256
|
+
noon: "n",
|
|
257
|
+
morning: "morning",
|
|
258
|
+
afternoon: "afternoon",
|
|
259
|
+
evening: "evening",
|
|
260
|
+
night: "night"
|
|
261
|
+
},
|
|
262
|
+
abbreviated: {
|
|
263
|
+
am: "AM",
|
|
264
|
+
pm: "PM",
|
|
265
|
+
midnight: "midnight",
|
|
266
|
+
noon: "noon",
|
|
267
|
+
morning: "morning",
|
|
268
|
+
afternoon: "afternoon",
|
|
269
|
+
evening: "evening",
|
|
270
|
+
night: "night"
|
|
271
|
+
},
|
|
272
|
+
wide: {
|
|
273
|
+
am: "a.m.",
|
|
274
|
+
pm: "p.m.",
|
|
275
|
+
midnight: "midnight",
|
|
276
|
+
noon: "noon",
|
|
277
|
+
morning: "morning",
|
|
278
|
+
afternoon: "afternoon",
|
|
279
|
+
evening: "evening",
|
|
280
|
+
night: "night"
|
|
281
|
+
}
|
|
282
|
+
}, et = {
|
|
283
|
+
narrow: {
|
|
284
|
+
am: "a",
|
|
285
|
+
pm: "p",
|
|
286
|
+
midnight: "mi",
|
|
287
|
+
noon: "n",
|
|
288
|
+
morning: "in the morning",
|
|
289
|
+
afternoon: "in the afternoon",
|
|
290
|
+
evening: "in the evening",
|
|
291
|
+
night: "at night"
|
|
292
|
+
},
|
|
293
|
+
abbreviated: {
|
|
294
|
+
am: "AM",
|
|
295
|
+
pm: "PM",
|
|
296
|
+
midnight: "midnight",
|
|
297
|
+
noon: "noon",
|
|
298
|
+
morning: "in the morning",
|
|
299
|
+
afternoon: "in the afternoon",
|
|
300
|
+
evening: "in the evening",
|
|
301
|
+
night: "at night"
|
|
302
|
+
},
|
|
303
|
+
wide: {
|
|
304
|
+
am: "a.m.",
|
|
305
|
+
pm: "p.m.",
|
|
306
|
+
midnight: "midnight",
|
|
307
|
+
noon: "noon",
|
|
308
|
+
morning: "in the morning",
|
|
309
|
+
afternoon: "in the afternoon",
|
|
310
|
+
evening: "in the evening",
|
|
311
|
+
night: "at night"
|
|
312
|
+
}
|
|
313
|
+
}, tt = (e, t) => {
|
|
314
|
+
const r = Number(e), n = r % 100;
|
|
315
|
+
if (n > 20 || n < 10)
|
|
316
|
+
switch (n % 10) {
|
|
317
|
+
case 1:
|
|
318
|
+
return r + "st";
|
|
319
|
+
case 2:
|
|
320
|
+
return r + "nd";
|
|
321
|
+
case 3:
|
|
322
|
+
return r + "rd";
|
|
323
|
+
}
|
|
324
|
+
return r + "th";
|
|
325
|
+
}, rt = {
|
|
326
|
+
ordinalNumber: tt,
|
|
327
|
+
era: G({
|
|
328
|
+
values: $e,
|
|
329
|
+
defaultWidth: "wide"
|
|
330
|
+
}),
|
|
331
|
+
quarter: G({
|
|
332
|
+
values: Je,
|
|
333
|
+
defaultWidth: "wide",
|
|
334
|
+
argumentCallback: (e) => e - 1
|
|
335
|
+
}),
|
|
336
|
+
month: G({
|
|
337
|
+
values: Ue,
|
|
338
|
+
defaultWidth: "wide"
|
|
339
|
+
}),
|
|
340
|
+
day: G({
|
|
341
|
+
values: Ke,
|
|
342
|
+
defaultWidth: "wide"
|
|
343
|
+
}),
|
|
344
|
+
dayPeriod: G({
|
|
345
|
+
values: Ze,
|
|
346
|
+
defaultWidth: "wide",
|
|
347
|
+
formattingValues: et,
|
|
348
|
+
defaultFormattingWidth: "wide"
|
|
349
|
+
})
|
|
350
|
+
};
|
|
351
|
+
function R(e) {
|
|
352
|
+
return (t, r = {}) => {
|
|
353
|
+
const n = r.width, o = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], a = t.match(o);
|
|
354
|
+
if (!a)
|
|
355
|
+
return null;
|
|
356
|
+
const i = a[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? ot(s, (y) => y.test(i)) : (
|
|
357
|
+
// [TODO] -- I challenge you to fix the type
|
|
358
|
+
nt(s, (y) => y.test(i))
|
|
359
|
+
);
|
|
360
|
+
let d;
|
|
361
|
+
d = e.valueCallback ? e.valueCallback(l) : l, d = r.valueCallback ? (
|
|
362
|
+
// [TODO] -- I challenge you to fix the type
|
|
363
|
+
r.valueCallback(d)
|
|
364
|
+
) : d;
|
|
365
|
+
const f = t.slice(i.length);
|
|
366
|
+
return { value: d, rest: f };
|
|
367
|
+
};
|
|
368
|
+
}
|
|
369
|
+
function nt(e, t) {
|
|
370
|
+
for (const r in e)
|
|
371
|
+
if (Object.prototype.hasOwnProperty.call(e, r) && t(e[r]))
|
|
372
|
+
return r;
|
|
373
|
+
}
|
|
374
|
+
function ot(e, t) {
|
|
375
|
+
for (let r = 0; r < e.length; r++)
|
|
376
|
+
if (t(e[r]))
|
|
377
|
+
return r;
|
|
378
|
+
}
|
|
379
|
+
function at(e) {
|
|
380
|
+
return (t, r = {}) => {
|
|
381
|
+
const n = t.match(e.matchPattern);
|
|
382
|
+
if (!n) return null;
|
|
383
|
+
const o = n[0], a = t.match(e.parsePattern);
|
|
384
|
+
if (!a) return null;
|
|
385
|
+
let i = e.valueCallback ? e.valueCallback(a[0]) : a[0];
|
|
386
|
+
i = r.valueCallback ? r.valueCallback(i) : i;
|
|
387
|
+
const s = t.slice(o.length);
|
|
388
|
+
return { value: i, rest: s };
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
const st = /^(\d+)(th|st|nd|rd)?/i, it = /\d+/i, ct = {
|
|
392
|
+
narrow: /^(b|a)/i,
|
|
393
|
+
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
394
|
+
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
395
|
+
}, lt = {
|
|
396
|
+
any: [/^b/i, /^(a|c)/i]
|
|
397
|
+
}, dt = {
|
|
398
|
+
narrow: /^[1234]/i,
|
|
399
|
+
abbreviated: /^q[1234]/i,
|
|
400
|
+
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
401
|
+
}, ut = {
|
|
402
|
+
any: [/1/i, /2/i, /3/i, /4/i]
|
|
403
|
+
}, ft = {
|
|
404
|
+
narrow: /^[jfmasond]/i,
|
|
405
|
+
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
406
|
+
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
407
|
+
}, mt = {
|
|
408
|
+
narrow: [
|
|
409
|
+
/^j/i,
|
|
410
|
+
/^f/i,
|
|
411
|
+
/^m/i,
|
|
412
|
+
/^a/i,
|
|
413
|
+
/^m/i,
|
|
414
|
+
/^j/i,
|
|
415
|
+
/^j/i,
|
|
416
|
+
/^a/i,
|
|
417
|
+
/^s/i,
|
|
418
|
+
/^o/i,
|
|
419
|
+
/^n/i,
|
|
420
|
+
/^d/i
|
|
421
|
+
],
|
|
422
|
+
any: [
|
|
423
|
+
/^ja/i,
|
|
424
|
+
/^f/i,
|
|
425
|
+
/^mar/i,
|
|
426
|
+
/^ap/i,
|
|
427
|
+
/^may/i,
|
|
428
|
+
/^jun/i,
|
|
429
|
+
/^jul/i,
|
|
430
|
+
/^au/i,
|
|
431
|
+
/^s/i,
|
|
432
|
+
/^o/i,
|
|
433
|
+
/^n/i,
|
|
434
|
+
/^d/i
|
|
435
|
+
]
|
|
436
|
+
}, ht = {
|
|
437
|
+
narrow: /^[smtwf]/i,
|
|
438
|
+
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
439
|
+
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
440
|
+
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
441
|
+
}, gt = {
|
|
442
|
+
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
443
|
+
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
444
|
+
}, bt = {
|
|
445
|
+
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
446
|
+
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
447
|
+
}, pt = {
|
|
448
|
+
any: {
|
|
449
|
+
am: /^a/i,
|
|
450
|
+
pm: /^p/i,
|
|
451
|
+
midnight: /^mi/i,
|
|
452
|
+
noon: /^no/i,
|
|
453
|
+
morning: /morning/i,
|
|
454
|
+
afternoon: /afternoon/i,
|
|
455
|
+
evening: /evening/i,
|
|
456
|
+
night: /night/i
|
|
457
|
+
}
|
|
458
|
+
}, yt = {
|
|
459
|
+
ordinalNumber: at({
|
|
460
|
+
matchPattern: st,
|
|
461
|
+
parsePattern: it,
|
|
462
|
+
valueCallback: (e) => parseInt(e, 10)
|
|
463
|
+
}),
|
|
464
|
+
era: R({
|
|
465
|
+
matchPatterns: ct,
|
|
466
|
+
defaultMatchWidth: "wide",
|
|
467
|
+
parsePatterns: lt,
|
|
468
|
+
defaultParseWidth: "any"
|
|
469
|
+
}),
|
|
470
|
+
quarter: R({
|
|
471
|
+
matchPatterns: dt,
|
|
472
|
+
defaultMatchWidth: "wide",
|
|
473
|
+
parsePatterns: ut,
|
|
474
|
+
defaultParseWidth: "any",
|
|
475
|
+
valueCallback: (e) => e + 1
|
|
476
|
+
}),
|
|
477
|
+
month: R({
|
|
478
|
+
matchPatterns: ft,
|
|
479
|
+
defaultMatchWidth: "wide",
|
|
480
|
+
parsePatterns: mt,
|
|
481
|
+
defaultParseWidth: "any"
|
|
482
|
+
}),
|
|
483
|
+
day: R({
|
|
484
|
+
matchPatterns: ht,
|
|
485
|
+
defaultMatchWidth: "wide",
|
|
486
|
+
parsePatterns: gt,
|
|
487
|
+
defaultParseWidth: "any"
|
|
488
|
+
}),
|
|
489
|
+
dayPeriod: R({
|
|
490
|
+
matchPatterns: bt,
|
|
491
|
+
defaultMatchWidth: "any",
|
|
492
|
+
parsePatterns: pt,
|
|
493
|
+
defaultParseWidth: "any"
|
|
494
|
+
})
|
|
495
|
+
}, wt = {
|
|
496
|
+
code: "en-US",
|
|
497
|
+
formatDistance: Le,
|
|
498
|
+
formatLong: Xe,
|
|
499
|
+
formatRelative: Ve,
|
|
500
|
+
localize: rt,
|
|
501
|
+
match: yt,
|
|
502
|
+
options: {
|
|
503
|
+
weekStartsOn: 0,
|
|
504
|
+
firstWeekContainsDate: 1
|
|
505
|
+
}
|
|
506
|
+
};
|
|
507
|
+
function xt(e, t) {
|
|
508
|
+
const r = M(e, t == null ? void 0 : t.in);
|
|
509
|
+
return Ae(r, je(r)) + 1;
|
|
510
|
+
}
|
|
511
|
+
function vt(e, t) {
|
|
512
|
+
const r = M(e, t == null ? void 0 : t.in), n = +X(r) - +Ge(r);
|
|
513
|
+
return Math.round(n / ke) + 1;
|
|
514
|
+
}
|
|
515
|
+
function Pe(e, t) {
|
|
516
|
+
var f, y, w, v;
|
|
517
|
+
const r = M(e, t == null ? void 0 : t.in), n = r.getFullYear(), o = B(), a = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((y = (f = t == null ? void 0 : t.locale) == null ? void 0 : f.options) == null ? void 0 : y.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((v = (w = o.locale) == null ? void 0 : w.options) == null ? void 0 : v.firstWeekContainsDate) ?? 1, i = T((t == null ? void 0 : t.in) || e, 0);
|
|
518
|
+
i.setFullYear(n + 1, 0, a), i.setHours(0, 0, 0, 0);
|
|
519
|
+
const s = L(i, t), l = T((t == null ? void 0 : t.in) || e, 0);
|
|
520
|
+
l.setFullYear(n, 0, a), l.setHours(0, 0, 0, 0);
|
|
521
|
+
const d = L(l, t);
|
|
522
|
+
return +r >= +s ? n + 1 : +r >= +d ? n : n - 1;
|
|
523
|
+
}
|
|
524
|
+
function kt(e, t) {
|
|
525
|
+
var s, l, d, f;
|
|
526
|
+
const r = B(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : l.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((f = (d = r.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, o = Pe(e, t), a = T((t == null ? void 0 : t.in) || e, 0);
|
|
527
|
+
return a.setFullYear(o, 0, n), a.setHours(0, 0, 0, 0), L(a, t);
|
|
528
|
+
}
|
|
529
|
+
function Mt(e, t) {
|
|
530
|
+
const r = M(e, t == null ? void 0 : t.in), n = +L(r, t) - +kt(r, t);
|
|
531
|
+
return Math.round(n / ke) + 1;
|
|
532
|
+
}
|
|
533
|
+
function m(e, t) {
|
|
534
|
+
const r = e < 0 ? "-" : "", n = Math.abs(e).toString().padStart(t, "0");
|
|
535
|
+
return r + n;
|
|
536
|
+
}
|
|
537
|
+
const O = {
|
|
538
|
+
// Year
|
|
539
|
+
y(e, t) {
|
|
540
|
+
const r = e.getFullYear(), n = r > 0 ? r : 1 - r;
|
|
541
|
+
return m(t === "yy" ? n % 100 : n, t.length);
|
|
542
|
+
},
|
|
543
|
+
// Month
|
|
544
|
+
M(e, t) {
|
|
545
|
+
const r = e.getMonth();
|
|
546
|
+
return t === "M" ? String(r + 1) : m(r + 1, 2);
|
|
547
|
+
},
|
|
548
|
+
// Day of the month
|
|
549
|
+
d(e, t) {
|
|
550
|
+
return m(e.getDate(), t.length);
|
|
551
|
+
},
|
|
552
|
+
// AM or PM
|
|
553
|
+
a(e, t) {
|
|
554
|
+
const r = e.getHours() / 12 >= 1 ? "pm" : "am";
|
|
555
|
+
switch (t) {
|
|
556
|
+
case "a":
|
|
557
|
+
case "aa":
|
|
558
|
+
return r.toUpperCase();
|
|
559
|
+
case "aaa":
|
|
560
|
+
return r;
|
|
561
|
+
case "aaaaa":
|
|
562
|
+
return r[0];
|
|
563
|
+
case "aaaa":
|
|
564
|
+
default:
|
|
565
|
+
return r === "am" ? "a.m." : "p.m.";
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
// Hour [1-12]
|
|
569
|
+
h(e, t) {
|
|
570
|
+
return m(e.getHours() % 12 || 12, t.length);
|
|
571
|
+
},
|
|
572
|
+
// Hour [0-23]
|
|
573
|
+
H(e, t) {
|
|
574
|
+
return m(e.getHours(), t.length);
|
|
575
|
+
},
|
|
576
|
+
// Minute
|
|
577
|
+
m(e, t) {
|
|
578
|
+
return m(e.getMinutes(), t.length);
|
|
579
|
+
},
|
|
580
|
+
// Second
|
|
581
|
+
s(e, t) {
|
|
582
|
+
return m(e.getSeconds(), t.length);
|
|
583
|
+
},
|
|
584
|
+
// Fraction of second
|
|
585
|
+
S(e, t) {
|
|
586
|
+
const r = t.length, n = e.getMilliseconds(), o = Math.trunc(
|
|
587
|
+
n * Math.pow(10, r - 3)
|
|
588
|
+
);
|
|
589
|
+
return m(o, t.length);
|
|
590
|
+
}
|
|
591
|
+
}, E = {
|
|
592
|
+
midnight: "midnight",
|
|
593
|
+
noon: "noon",
|
|
594
|
+
morning: "morning",
|
|
595
|
+
afternoon: "afternoon",
|
|
596
|
+
evening: "evening",
|
|
597
|
+
night: "night"
|
|
598
|
+
}, he = {
|
|
599
|
+
// Era
|
|
600
|
+
G: function(e, t, r) {
|
|
601
|
+
const n = e.getFullYear() > 0 ? 1 : 0;
|
|
602
|
+
switch (t) {
|
|
603
|
+
case "G":
|
|
604
|
+
case "GG":
|
|
605
|
+
case "GGG":
|
|
606
|
+
return r.era(n, { width: "abbreviated" });
|
|
607
|
+
case "GGGGG":
|
|
608
|
+
return r.era(n, { width: "narrow" });
|
|
609
|
+
case "GGGG":
|
|
610
|
+
default:
|
|
611
|
+
return r.era(n, { width: "wide" });
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
// Year
|
|
615
|
+
y: function(e, t, r) {
|
|
616
|
+
if (t === "yo") {
|
|
617
|
+
const n = e.getFullYear(), o = n > 0 ? n : 1 - n;
|
|
618
|
+
return r.ordinalNumber(o, { unit: "year" });
|
|
619
|
+
}
|
|
620
|
+
return O.y(e, t);
|
|
621
|
+
},
|
|
622
|
+
// Local week-numbering year
|
|
623
|
+
Y: function(e, t, r, n) {
|
|
624
|
+
const o = Pe(e, n), a = o > 0 ? o : 1 - o;
|
|
625
|
+
if (t === "YY") {
|
|
626
|
+
const i = a % 100;
|
|
627
|
+
return m(i, 2);
|
|
628
|
+
}
|
|
629
|
+
return t === "Yo" ? r.ordinalNumber(a, { unit: "year" }) : m(a, t.length);
|
|
630
|
+
},
|
|
631
|
+
// ISO week-numbering year
|
|
632
|
+
R: function(e, t) {
|
|
633
|
+
const r = Me(e);
|
|
634
|
+
return m(r, t.length);
|
|
635
|
+
},
|
|
636
|
+
// Extended year. This is a single number designating the year of this calendar system.
|
|
637
|
+
// The main difference between `y` and `u` localizers are B.C. years:
|
|
638
|
+
// | Year | `y` | `u` |
|
|
639
|
+
// |------|-----|-----|
|
|
640
|
+
// | AC 1 | 1 | 1 |
|
|
641
|
+
// | BC 1 | 1 | 0 |
|
|
642
|
+
// | BC 2 | 2 | -1 |
|
|
643
|
+
// Also `yy` always returns the last two digits of a year,
|
|
644
|
+
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
645
|
+
u: function(e, t) {
|
|
646
|
+
const r = e.getFullYear();
|
|
647
|
+
return m(r, t.length);
|
|
648
|
+
},
|
|
649
|
+
// Quarter
|
|
650
|
+
Q: function(e, t, r) {
|
|
651
|
+
const n = Math.ceil((e.getMonth() + 1) / 3);
|
|
652
|
+
switch (t) {
|
|
653
|
+
case "Q":
|
|
654
|
+
return String(n);
|
|
655
|
+
case "QQ":
|
|
656
|
+
return m(n, 2);
|
|
657
|
+
case "Qo":
|
|
658
|
+
return r.ordinalNumber(n, { unit: "quarter" });
|
|
659
|
+
case "QQQ":
|
|
660
|
+
return r.quarter(n, {
|
|
661
|
+
width: "abbreviated",
|
|
662
|
+
context: "formatting"
|
|
663
|
+
});
|
|
664
|
+
case "QQQQQ":
|
|
665
|
+
return r.quarter(n, {
|
|
666
|
+
width: "narrow",
|
|
667
|
+
context: "formatting"
|
|
668
|
+
});
|
|
669
|
+
case "QQQQ":
|
|
670
|
+
default:
|
|
671
|
+
return r.quarter(n, {
|
|
672
|
+
width: "wide",
|
|
673
|
+
context: "formatting"
|
|
674
|
+
});
|
|
675
|
+
}
|
|
676
|
+
},
|
|
677
|
+
// Stand-alone quarter
|
|
678
|
+
q: function(e, t, r) {
|
|
679
|
+
const n = Math.ceil((e.getMonth() + 1) / 3);
|
|
680
|
+
switch (t) {
|
|
681
|
+
case "q":
|
|
682
|
+
return String(n);
|
|
683
|
+
case "qq":
|
|
684
|
+
return m(n, 2);
|
|
685
|
+
case "qo":
|
|
686
|
+
return r.ordinalNumber(n, { unit: "quarter" });
|
|
687
|
+
case "qqq":
|
|
688
|
+
return r.quarter(n, {
|
|
689
|
+
width: "abbreviated",
|
|
690
|
+
context: "standalone"
|
|
691
|
+
});
|
|
692
|
+
case "qqqqq":
|
|
693
|
+
return r.quarter(n, {
|
|
694
|
+
width: "narrow",
|
|
695
|
+
context: "standalone"
|
|
696
|
+
});
|
|
697
|
+
case "qqqq":
|
|
698
|
+
default:
|
|
699
|
+
return r.quarter(n, {
|
|
700
|
+
width: "wide",
|
|
701
|
+
context: "standalone"
|
|
702
|
+
});
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
// Month
|
|
706
|
+
M: function(e, t, r) {
|
|
707
|
+
const n = e.getMonth();
|
|
708
|
+
switch (t) {
|
|
709
|
+
case "M":
|
|
710
|
+
case "MM":
|
|
711
|
+
return O.M(e, t);
|
|
712
|
+
case "Mo":
|
|
713
|
+
return r.ordinalNumber(n + 1, { unit: "month" });
|
|
714
|
+
case "MMM":
|
|
715
|
+
return r.month(n, {
|
|
716
|
+
width: "abbreviated",
|
|
717
|
+
context: "formatting"
|
|
718
|
+
});
|
|
719
|
+
case "MMMMM":
|
|
720
|
+
return r.month(n, {
|
|
721
|
+
width: "narrow",
|
|
722
|
+
context: "formatting"
|
|
723
|
+
});
|
|
724
|
+
case "MMMM":
|
|
725
|
+
default:
|
|
726
|
+
return r.month(n, { width: "wide", context: "formatting" });
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
// Stand-alone month
|
|
730
|
+
L: function(e, t, r) {
|
|
731
|
+
const n = e.getMonth();
|
|
732
|
+
switch (t) {
|
|
733
|
+
case "L":
|
|
734
|
+
return String(n + 1);
|
|
735
|
+
case "LL":
|
|
736
|
+
return m(n + 1, 2);
|
|
737
|
+
case "Lo":
|
|
738
|
+
return r.ordinalNumber(n + 1, { unit: "month" });
|
|
739
|
+
case "LLL":
|
|
740
|
+
return r.month(n, {
|
|
741
|
+
width: "abbreviated",
|
|
742
|
+
context: "standalone"
|
|
743
|
+
});
|
|
744
|
+
case "LLLLL":
|
|
745
|
+
return r.month(n, {
|
|
746
|
+
width: "narrow",
|
|
747
|
+
context: "standalone"
|
|
748
|
+
});
|
|
749
|
+
case "LLLL":
|
|
750
|
+
default:
|
|
751
|
+
return r.month(n, { width: "wide", context: "standalone" });
|
|
752
|
+
}
|
|
753
|
+
},
|
|
754
|
+
// Local week of year
|
|
755
|
+
w: function(e, t, r, n) {
|
|
756
|
+
const o = Mt(e, n);
|
|
757
|
+
return t === "wo" ? r.ordinalNumber(o, { unit: "week" }) : m(o, t.length);
|
|
758
|
+
},
|
|
759
|
+
// ISO week of year
|
|
760
|
+
I: function(e, t, r) {
|
|
761
|
+
const n = vt(e);
|
|
762
|
+
return t === "Io" ? r.ordinalNumber(n, { unit: "week" }) : m(n, t.length);
|
|
763
|
+
},
|
|
764
|
+
// Day of the month
|
|
765
|
+
d: function(e, t, r) {
|
|
766
|
+
return t === "do" ? r.ordinalNumber(e.getDate(), { unit: "date" }) : O.d(e, t);
|
|
767
|
+
},
|
|
768
|
+
// Day of year
|
|
769
|
+
D: function(e, t, r) {
|
|
770
|
+
const n = xt(e);
|
|
771
|
+
return t === "Do" ? r.ordinalNumber(n, { unit: "dayOfYear" }) : m(n, t.length);
|
|
772
|
+
},
|
|
773
|
+
// Day of week
|
|
774
|
+
E: function(e, t, r) {
|
|
775
|
+
const n = e.getDay();
|
|
776
|
+
switch (t) {
|
|
777
|
+
case "E":
|
|
778
|
+
case "EE":
|
|
779
|
+
case "EEE":
|
|
780
|
+
return r.day(n, {
|
|
781
|
+
width: "abbreviated",
|
|
782
|
+
context: "formatting"
|
|
783
|
+
});
|
|
784
|
+
case "EEEEE":
|
|
785
|
+
return r.day(n, {
|
|
786
|
+
width: "narrow",
|
|
787
|
+
context: "formatting"
|
|
788
|
+
});
|
|
789
|
+
case "EEEEEE":
|
|
790
|
+
return r.day(n, {
|
|
791
|
+
width: "short",
|
|
792
|
+
context: "formatting"
|
|
793
|
+
});
|
|
794
|
+
case "EEEE":
|
|
795
|
+
default:
|
|
796
|
+
return r.day(n, {
|
|
797
|
+
width: "wide",
|
|
798
|
+
context: "formatting"
|
|
799
|
+
});
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
// Local day of week
|
|
803
|
+
e: function(e, t, r, n) {
|
|
804
|
+
const o = e.getDay(), a = (o - n.weekStartsOn + 8) % 7 || 7;
|
|
805
|
+
switch (t) {
|
|
806
|
+
case "e":
|
|
807
|
+
return String(a);
|
|
808
|
+
case "ee":
|
|
809
|
+
return m(a, 2);
|
|
810
|
+
case "eo":
|
|
811
|
+
return r.ordinalNumber(a, { unit: "day" });
|
|
812
|
+
case "eee":
|
|
813
|
+
return r.day(o, {
|
|
814
|
+
width: "abbreviated",
|
|
815
|
+
context: "formatting"
|
|
816
|
+
});
|
|
817
|
+
case "eeeee":
|
|
818
|
+
return r.day(o, {
|
|
819
|
+
width: "narrow",
|
|
820
|
+
context: "formatting"
|
|
821
|
+
});
|
|
822
|
+
case "eeeeee":
|
|
823
|
+
return r.day(o, {
|
|
824
|
+
width: "short",
|
|
825
|
+
context: "formatting"
|
|
826
|
+
});
|
|
827
|
+
case "eeee":
|
|
828
|
+
default:
|
|
829
|
+
return r.day(o, {
|
|
830
|
+
width: "wide",
|
|
831
|
+
context: "formatting"
|
|
832
|
+
});
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
// Stand-alone local day of week
|
|
836
|
+
c: function(e, t, r, n) {
|
|
837
|
+
const o = e.getDay(), a = (o - n.weekStartsOn + 8) % 7 || 7;
|
|
838
|
+
switch (t) {
|
|
839
|
+
case "c":
|
|
840
|
+
return String(a);
|
|
841
|
+
case "cc":
|
|
842
|
+
return m(a, t.length);
|
|
843
|
+
case "co":
|
|
844
|
+
return r.ordinalNumber(a, { unit: "day" });
|
|
845
|
+
case "ccc":
|
|
846
|
+
return r.day(o, {
|
|
847
|
+
width: "abbreviated",
|
|
848
|
+
context: "standalone"
|
|
849
|
+
});
|
|
850
|
+
case "ccccc":
|
|
851
|
+
return r.day(o, {
|
|
852
|
+
width: "narrow",
|
|
853
|
+
context: "standalone"
|
|
854
|
+
});
|
|
855
|
+
case "cccccc":
|
|
856
|
+
return r.day(o, {
|
|
857
|
+
width: "short",
|
|
858
|
+
context: "standalone"
|
|
859
|
+
});
|
|
860
|
+
case "cccc":
|
|
861
|
+
default:
|
|
862
|
+
return r.day(o, {
|
|
863
|
+
width: "wide",
|
|
864
|
+
context: "standalone"
|
|
865
|
+
});
|
|
866
|
+
}
|
|
867
|
+
},
|
|
868
|
+
// ISO day of week
|
|
869
|
+
i: function(e, t, r) {
|
|
870
|
+
const n = e.getDay(), o = n === 0 ? 7 : n;
|
|
871
|
+
switch (t) {
|
|
872
|
+
case "i":
|
|
873
|
+
return String(o);
|
|
874
|
+
case "ii":
|
|
875
|
+
return m(o, t.length);
|
|
876
|
+
case "io":
|
|
877
|
+
return r.ordinalNumber(o, { unit: "day" });
|
|
878
|
+
case "iii":
|
|
879
|
+
return r.day(n, {
|
|
880
|
+
width: "abbreviated",
|
|
881
|
+
context: "formatting"
|
|
882
|
+
});
|
|
883
|
+
case "iiiii":
|
|
884
|
+
return r.day(n, {
|
|
885
|
+
width: "narrow",
|
|
886
|
+
context: "formatting"
|
|
887
|
+
});
|
|
888
|
+
case "iiiiii":
|
|
889
|
+
return r.day(n, {
|
|
890
|
+
width: "short",
|
|
891
|
+
context: "formatting"
|
|
892
|
+
});
|
|
893
|
+
case "iiii":
|
|
894
|
+
default:
|
|
895
|
+
return r.day(n, {
|
|
896
|
+
width: "wide",
|
|
897
|
+
context: "formatting"
|
|
898
|
+
});
|
|
899
|
+
}
|
|
900
|
+
},
|
|
901
|
+
// AM or PM
|
|
902
|
+
a: function(e, t, r) {
|
|
903
|
+
const o = e.getHours() / 12 >= 1 ? "pm" : "am";
|
|
904
|
+
switch (t) {
|
|
905
|
+
case "a":
|
|
906
|
+
case "aa":
|
|
907
|
+
return r.dayPeriod(o, {
|
|
908
|
+
width: "abbreviated",
|
|
909
|
+
context: "formatting"
|
|
910
|
+
});
|
|
911
|
+
case "aaa":
|
|
912
|
+
return r.dayPeriod(o, {
|
|
913
|
+
width: "abbreviated",
|
|
914
|
+
context: "formatting"
|
|
915
|
+
}).toLowerCase();
|
|
916
|
+
case "aaaaa":
|
|
917
|
+
return r.dayPeriod(o, {
|
|
918
|
+
width: "narrow",
|
|
919
|
+
context: "formatting"
|
|
920
|
+
});
|
|
921
|
+
case "aaaa":
|
|
922
|
+
default:
|
|
923
|
+
return r.dayPeriod(o, {
|
|
924
|
+
width: "wide",
|
|
925
|
+
context: "formatting"
|
|
926
|
+
});
|
|
927
|
+
}
|
|
928
|
+
},
|
|
929
|
+
// AM, PM, midnight, noon
|
|
930
|
+
b: function(e, t, r) {
|
|
931
|
+
const n = e.getHours();
|
|
932
|
+
let o;
|
|
933
|
+
switch (n === 12 ? o = E.noon : n === 0 ? o = E.midnight : o = n / 12 >= 1 ? "pm" : "am", t) {
|
|
934
|
+
case "b":
|
|
935
|
+
case "bb":
|
|
936
|
+
return r.dayPeriod(o, {
|
|
937
|
+
width: "abbreviated",
|
|
938
|
+
context: "formatting"
|
|
939
|
+
});
|
|
940
|
+
case "bbb":
|
|
941
|
+
return r.dayPeriod(o, {
|
|
942
|
+
width: "abbreviated",
|
|
943
|
+
context: "formatting"
|
|
944
|
+
}).toLowerCase();
|
|
945
|
+
case "bbbbb":
|
|
946
|
+
return r.dayPeriod(o, {
|
|
947
|
+
width: "narrow",
|
|
948
|
+
context: "formatting"
|
|
949
|
+
});
|
|
950
|
+
case "bbbb":
|
|
951
|
+
default:
|
|
952
|
+
return r.dayPeriod(o, {
|
|
953
|
+
width: "wide",
|
|
954
|
+
context: "formatting"
|
|
955
|
+
});
|
|
956
|
+
}
|
|
957
|
+
},
|
|
958
|
+
// in the morning, in the afternoon, in the evening, at night
|
|
959
|
+
B: function(e, t, r) {
|
|
960
|
+
const n = e.getHours();
|
|
961
|
+
let o;
|
|
962
|
+
switch (n >= 17 ? o = E.evening : n >= 12 ? o = E.afternoon : n >= 4 ? o = E.morning : o = E.night, t) {
|
|
963
|
+
case "B":
|
|
964
|
+
case "BB":
|
|
965
|
+
case "BBB":
|
|
966
|
+
return r.dayPeriod(o, {
|
|
967
|
+
width: "abbreviated",
|
|
968
|
+
context: "formatting"
|
|
969
|
+
});
|
|
970
|
+
case "BBBBB":
|
|
971
|
+
return r.dayPeriod(o, {
|
|
972
|
+
width: "narrow",
|
|
973
|
+
context: "formatting"
|
|
974
|
+
});
|
|
975
|
+
case "BBBB":
|
|
976
|
+
default:
|
|
977
|
+
return r.dayPeriod(o, {
|
|
978
|
+
width: "wide",
|
|
979
|
+
context: "formatting"
|
|
980
|
+
});
|
|
981
|
+
}
|
|
982
|
+
},
|
|
983
|
+
// Hour [1-12]
|
|
984
|
+
h: function(e, t, r) {
|
|
985
|
+
if (t === "ho") {
|
|
986
|
+
let n = e.getHours() % 12;
|
|
987
|
+
return n === 0 && (n = 12), r.ordinalNumber(n, { unit: "hour" });
|
|
988
|
+
}
|
|
989
|
+
return O.h(e, t);
|
|
990
|
+
},
|
|
991
|
+
// Hour [0-23]
|
|
992
|
+
H: function(e, t, r) {
|
|
993
|
+
return t === "Ho" ? r.ordinalNumber(e.getHours(), { unit: "hour" }) : O.H(e, t);
|
|
994
|
+
},
|
|
995
|
+
// Hour [0-11]
|
|
996
|
+
K: function(e, t, r) {
|
|
997
|
+
const n = e.getHours() % 12;
|
|
998
|
+
return t === "Ko" ? r.ordinalNumber(n, { unit: "hour" }) : m(n, t.length);
|
|
999
|
+
},
|
|
1000
|
+
// Hour [1-24]
|
|
1001
|
+
k: function(e, t, r) {
|
|
1002
|
+
let n = e.getHours();
|
|
1003
|
+
return n === 0 && (n = 24), t === "ko" ? r.ordinalNumber(n, { unit: "hour" }) : m(n, t.length);
|
|
1004
|
+
},
|
|
1005
|
+
// Minute
|
|
1006
|
+
m: function(e, t, r) {
|
|
1007
|
+
return t === "mo" ? r.ordinalNumber(e.getMinutes(), { unit: "minute" }) : O.m(e, t);
|
|
1008
|
+
},
|
|
1009
|
+
// Second
|
|
1010
|
+
s: function(e, t, r) {
|
|
1011
|
+
return t === "so" ? r.ordinalNumber(e.getSeconds(), { unit: "second" }) : O.s(e, t);
|
|
1012
|
+
},
|
|
1013
|
+
// Fraction of second
|
|
1014
|
+
S: function(e, t) {
|
|
1015
|
+
return O.S(e, t);
|
|
1016
|
+
},
|
|
1017
|
+
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
1018
|
+
X: function(e, t, r) {
|
|
1019
|
+
const n = e.getTimezoneOffset();
|
|
1020
|
+
if (n === 0)
|
|
1021
|
+
return "Z";
|
|
1022
|
+
switch (t) {
|
|
1023
|
+
case "X":
|
|
1024
|
+
return be(n);
|
|
1025
|
+
case "XXXX":
|
|
1026
|
+
case "XX":
|
|
1027
|
+
return Y(n);
|
|
1028
|
+
case "XXXXX":
|
|
1029
|
+
case "XXX":
|
|
1030
|
+
default:
|
|
1031
|
+
return Y(n, ":");
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
1034
|
+
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
1035
|
+
x: function(e, t, r) {
|
|
1036
|
+
const n = e.getTimezoneOffset();
|
|
1037
|
+
switch (t) {
|
|
1038
|
+
case "x":
|
|
1039
|
+
return be(n);
|
|
1040
|
+
case "xxxx":
|
|
1041
|
+
case "xx":
|
|
1042
|
+
return Y(n);
|
|
1043
|
+
case "xxxxx":
|
|
1044
|
+
case "xxx":
|
|
1045
|
+
default:
|
|
1046
|
+
return Y(n, ":");
|
|
1047
|
+
}
|
|
1048
|
+
},
|
|
1049
|
+
// Timezone (GMT)
|
|
1050
|
+
O: function(e, t, r) {
|
|
1051
|
+
const n = e.getTimezoneOffset();
|
|
1052
|
+
switch (t) {
|
|
1053
|
+
case "O":
|
|
1054
|
+
case "OO":
|
|
1055
|
+
case "OOO":
|
|
1056
|
+
return "GMT" + ge(n, ":");
|
|
1057
|
+
case "OOOO":
|
|
1058
|
+
default:
|
|
1059
|
+
return "GMT" + Y(n, ":");
|
|
1060
|
+
}
|
|
1061
|
+
},
|
|
1062
|
+
// Timezone (specific non-location)
|
|
1063
|
+
z: function(e, t, r) {
|
|
1064
|
+
const n = e.getTimezoneOffset();
|
|
1065
|
+
switch (t) {
|
|
1066
|
+
case "z":
|
|
1067
|
+
case "zz":
|
|
1068
|
+
case "zzz":
|
|
1069
|
+
return "GMT" + ge(n, ":");
|
|
1070
|
+
case "zzzz":
|
|
1071
|
+
default:
|
|
1072
|
+
return "GMT" + Y(n, ":");
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
// Seconds timestamp
|
|
1076
|
+
t: function(e, t, r) {
|
|
1077
|
+
const n = Math.trunc(+e / 1e3);
|
|
1078
|
+
return m(n, t.length);
|
|
1079
|
+
},
|
|
1080
|
+
// Milliseconds timestamp
|
|
1081
|
+
T: function(e, t, r) {
|
|
1082
|
+
return m(+e, t.length);
|
|
1083
|
+
}
|
|
1084
|
+
};
|
|
1085
|
+
function ge(e, t = "") {
|
|
1086
|
+
const r = e > 0 ? "-" : "+", n = Math.abs(e), o = Math.trunc(n / 60), a = n % 60;
|
|
1087
|
+
return a === 0 ? r + String(o) : r + String(o) + t + m(a, 2);
|
|
1088
|
+
}
|
|
1089
|
+
function be(e, t) {
|
|
1090
|
+
return e % 60 === 0 ? (e > 0 ? "-" : "+") + m(Math.abs(e) / 60, 2) : Y(e, t);
|
|
1091
|
+
}
|
|
1092
|
+
function Y(e, t = "") {
|
|
1093
|
+
const r = e > 0 ? "-" : "+", n = Math.abs(e), o = m(Math.trunc(n / 60), 2), a = m(n % 60, 2);
|
|
1094
|
+
return r + o + t + a;
|
|
1095
|
+
}
|
|
1096
|
+
const pe = (e, t) => {
|
|
1097
|
+
switch (e) {
|
|
1098
|
+
case "P":
|
|
1099
|
+
return t.date({ width: "short" });
|
|
1100
|
+
case "PP":
|
|
1101
|
+
return t.date({ width: "medium" });
|
|
1102
|
+
case "PPP":
|
|
1103
|
+
return t.date({ width: "long" });
|
|
1104
|
+
case "PPPP":
|
|
1105
|
+
default:
|
|
1106
|
+
return t.date({ width: "full" });
|
|
1107
|
+
}
|
|
1108
|
+
}, Se = (e, t) => {
|
|
1109
|
+
switch (e) {
|
|
1110
|
+
case "p":
|
|
1111
|
+
return t.time({ width: "short" });
|
|
1112
|
+
case "pp":
|
|
1113
|
+
return t.time({ width: "medium" });
|
|
1114
|
+
case "ppp":
|
|
1115
|
+
return t.time({ width: "long" });
|
|
1116
|
+
case "pppp":
|
|
1117
|
+
default:
|
|
1118
|
+
return t.time({ width: "full" });
|
|
1119
|
+
}
|
|
1120
|
+
}, Pt = (e, t) => {
|
|
1121
|
+
const r = e.match(/(P+)(p+)?/) || [], n = r[1], o = r[2];
|
|
1122
|
+
if (!o)
|
|
1123
|
+
return pe(e, t);
|
|
1124
|
+
let a;
|
|
1125
|
+
switch (n) {
|
|
1126
|
+
case "P":
|
|
1127
|
+
a = t.dateTime({ width: "short" });
|
|
1128
|
+
break;
|
|
1129
|
+
case "PP":
|
|
1130
|
+
a = t.dateTime({ width: "medium" });
|
|
1131
|
+
break;
|
|
1132
|
+
case "PPP":
|
|
1133
|
+
a = t.dateTime({ width: "long" });
|
|
1134
|
+
break;
|
|
1135
|
+
case "PPPP":
|
|
1136
|
+
default:
|
|
1137
|
+
a = t.dateTime({ width: "full" });
|
|
1138
|
+
break;
|
|
1139
|
+
}
|
|
1140
|
+
return a.replace("{{date}}", pe(n, t)).replace("{{time}}", Se(o, t));
|
|
1141
|
+
}, St = {
|
|
1142
|
+
p: Se,
|
|
1143
|
+
P: Pt
|
|
1144
|
+
}, Ot = /^D+$/, Ct = /^Y+$/, Wt = ["D", "DD", "YY", "YYYY"];
|
|
1145
|
+
function Tt(e) {
|
|
1146
|
+
return Ot.test(e);
|
|
1147
|
+
}
|
|
1148
|
+
function Dt(e) {
|
|
1149
|
+
return Ct.test(e);
|
|
1150
|
+
}
|
|
1151
|
+
function Yt(e, t, r) {
|
|
1152
|
+
const n = Et(e, t, r);
|
|
1153
|
+
if (console.warn(n), Wt.includes(e)) throw new RangeError(n);
|
|
1154
|
+
}
|
|
1155
|
+
function Et(e, t, r) {
|
|
1156
|
+
const n = e[0] === "Y" ? "years" : "days of the month";
|
|
1157
|
+
return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
1158
|
+
}
|
|
1159
|
+
const Nt = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, zt = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ft = /^'([^]*?)'?$/, At = /''/g, Gt = /[a-zA-Z]/;
|
|
1160
|
+
function kr(e, t, r) {
|
|
1161
|
+
var f, y, w, v;
|
|
1162
|
+
const n = B(), o = n.locale ?? wt, a = n.firstWeekContainsDate ?? ((y = (f = n.locale) == null ? void 0 : f.options) == null ? void 0 : y.firstWeekContainsDate) ?? 1, i = n.weekStartsOn ?? ((v = (w = n.locale) == null ? void 0 : w.options) == null ? void 0 : v.weekStartsOn) ?? 0, s = M(e, r == null ? void 0 : r.in);
|
|
1163
|
+
if (!qe(s))
|
|
1164
|
+
throw new RangeError("Invalid time value");
|
|
1165
|
+
let l = t.match(zt).map((b) => {
|
|
1166
|
+
const u = b[0];
|
|
1167
|
+
if (u === "p" || u === "P") {
|
|
1168
|
+
const h = St[u];
|
|
1169
|
+
return h(b, o.formatLong);
|
|
1170
|
+
}
|
|
1171
|
+
return b;
|
|
1172
|
+
}).join("").match(Nt).map((b) => {
|
|
1173
|
+
if (b === "''")
|
|
1174
|
+
return { isToken: !1, value: "'" };
|
|
1175
|
+
const u = b[0];
|
|
1176
|
+
if (u === "'")
|
|
1177
|
+
return { isToken: !1, value: Rt(b) };
|
|
1178
|
+
if (he[u])
|
|
1179
|
+
return { isToken: !0, value: b };
|
|
1180
|
+
if (u.match(Gt))
|
|
1181
|
+
throw new RangeError(
|
|
1182
|
+
"Format string contains an unescaped latin alphabet character `" + u + "`"
|
|
1183
|
+
);
|
|
1184
|
+
return { isToken: !1, value: b };
|
|
1185
|
+
});
|
|
1186
|
+
o.localize.preprocessor && (l = o.localize.preprocessor(s, l));
|
|
1187
|
+
const d = {
|
|
1188
|
+
firstWeekContainsDate: a,
|
|
1189
|
+
weekStartsOn: i,
|
|
1190
|
+
locale: o
|
|
1191
|
+
};
|
|
1192
|
+
return l.map((b) => {
|
|
1193
|
+
if (!b.isToken) return b.value;
|
|
1194
|
+
const u = b.value;
|
|
1195
|
+
(Dt(u) || Tt(u)) && Yt(u, t, String(e));
|
|
1196
|
+
const h = he[u[0]];
|
|
1197
|
+
return h(s, u, o.localize, d);
|
|
1198
|
+
}).join("");
|
|
1199
|
+
}
|
|
1200
|
+
function Rt(e) {
|
|
1201
|
+
const t = e.match(Ft);
|
|
1202
|
+
return t ? t[1].replace(At, "'") : e;
|
|
1203
|
+
}
|
|
1204
|
+
function Oe(e) {
|
|
1205
|
+
var t, r, n = "";
|
|
1206
|
+
if (typeof e == "string" || typeof e == "number") n += e;
|
|
1207
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
1208
|
+
var o = e.length;
|
|
1209
|
+
for (t = 0; t < o; t++) e[t] && (r = Oe(e[t])) && (n && (n += " "), n += r);
|
|
1210
|
+
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
1211
|
+
return n;
|
|
1212
|
+
}
|
|
1213
|
+
function qt() {
|
|
1214
|
+
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = Oe(e)) && (n && (n += " "), n += t);
|
|
1215
|
+
return n;
|
|
1216
|
+
}
|
|
1217
|
+
const ne = "-", jt = (e) => {
|
|
1218
|
+
const t = Lt(e), {
|
|
1219
|
+
conflictingClassGroups: r,
|
|
1220
|
+
conflictingClassGroupModifiers: n
|
|
1221
|
+
} = e;
|
|
1222
|
+
return {
|
|
1223
|
+
getClassGroupId: (i) => {
|
|
1224
|
+
const s = i.split(ne);
|
|
1225
|
+
return s[0] === "" && s.length !== 1 && s.shift(), Ce(s, t) || It(i);
|
|
1226
|
+
},
|
|
1227
|
+
getConflictingClassGroupIds: (i, s) => {
|
|
1228
|
+
const l = r[i] || [];
|
|
1229
|
+
return s && n[i] ? [...l, ...n[i]] : l;
|
|
1230
|
+
}
|
|
1231
|
+
};
|
|
1232
|
+
}, Ce = (e, t) => {
|
|
1233
|
+
var i;
|
|
1234
|
+
if (e.length === 0)
|
|
1235
|
+
return t.classGroupId;
|
|
1236
|
+
const r = e[0], n = t.nextPart.get(r), o = n ? Ce(e.slice(1), n) : void 0;
|
|
1237
|
+
if (o)
|
|
1238
|
+
return o;
|
|
1239
|
+
if (t.validators.length === 0)
|
|
1240
|
+
return;
|
|
1241
|
+
const a = e.join(ne);
|
|
1242
|
+
return (i = t.validators.find(({
|
|
1243
|
+
validator: s
|
|
1244
|
+
}) => s(a))) == null ? void 0 : i.classGroupId;
|
|
1245
|
+
}, ye = /^\[(.+)\]$/, It = (e) => {
|
|
1246
|
+
if (ye.test(e)) {
|
|
1247
|
+
const t = ye.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
1248
|
+
if (r)
|
|
1249
|
+
return "arbitrary.." + r;
|
|
1250
|
+
}
|
|
1251
|
+
}, Lt = (e) => {
|
|
1252
|
+
const {
|
|
1253
|
+
theme: t,
|
|
1254
|
+
prefix: r
|
|
1255
|
+
} = e, n = {
|
|
1256
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
1257
|
+
validators: []
|
|
1258
|
+
};
|
|
1259
|
+
return Ht(Object.entries(e.classGroups), r).forEach(([a, i]) => {
|
|
1260
|
+
re(i, n, a, t);
|
|
1261
|
+
}), n;
|
|
1262
|
+
}, re = (e, t, r, n) => {
|
|
1263
|
+
e.forEach((o) => {
|
|
1264
|
+
if (typeof o == "string") {
|
|
1265
|
+
const a = o === "" ? t : we(t, o);
|
|
1266
|
+
a.classGroupId = r;
|
|
1267
|
+
return;
|
|
1268
|
+
}
|
|
1269
|
+
if (typeof o == "function") {
|
|
1270
|
+
if (_t(o)) {
|
|
1271
|
+
re(o(n), t, r, n);
|
|
1272
|
+
return;
|
|
1273
|
+
}
|
|
1274
|
+
t.validators.push({
|
|
1275
|
+
validator: o,
|
|
1276
|
+
classGroupId: r
|
|
1277
|
+
});
|
|
1278
|
+
return;
|
|
1279
|
+
}
|
|
1280
|
+
Object.entries(o).forEach(([a, i]) => {
|
|
1281
|
+
re(i, we(t, a), r, n);
|
|
1282
|
+
});
|
|
1283
|
+
});
|
|
1284
|
+
}, we = (e, t) => {
|
|
1285
|
+
let r = e;
|
|
1286
|
+
return t.split(ne).forEach((n) => {
|
|
1287
|
+
r.nextPart.has(n) || r.nextPart.set(n, {
|
|
1288
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
1289
|
+
validators: []
|
|
1290
|
+
}), r = r.nextPart.get(n);
|
|
1291
|
+
}), r;
|
|
1292
|
+
}, _t = (e) => e.isThemeGetter, Ht = (e, t) => t ? e.map(([r, n]) => {
|
|
1293
|
+
const o = n.map((a) => typeof a == "string" ? t + a : typeof a == "object" ? Object.fromEntries(Object.entries(a).map(([i, s]) => [t + i, s])) : a);
|
|
1294
|
+
return [r, o];
|
|
1295
|
+
}) : e, Qt = (e) => {
|
|
1296
|
+
if (e < 1)
|
|
1297
|
+
return {
|
|
1298
|
+
get: () => {
|
|
1299
|
+
},
|
|
1300
|
+
set: () => {
|
|
1301
|
+
}
|
|
1302
|
+
};
|
|
1303
|
+
let t = 0, r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
|
|
1304
|
+
const o = (a, i) => {
|
|
1305
|
+
r.set(a, i), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map());
|
|
1306
|
+
};
|
|
1307
|
+
return {
|
|
1308
|
+
get(a) {
|
|
1309
|
+
let i = r.get(a);
|
|
1310
|
+
if (i !== void 0)
|
|
1311
|
+
return i;
|
|
1312
|
+
if ((i = n.get(a)) !== void 0)
|
|
1313
|
+
return o(a, i), i;
|
|
1314
|
+
},
|
|
1315
|
+
set(a, i) {
|
|
1316
|
+
r.has(a) ? r.set(a, i) : o(a, i);
|
|
1317
|
+
}
|
|
1318
|
+
};
|
|
1319
|
+
}, We = "!", Xt = (e) => {
|
|
1320
|
+
const {
|
|
1321
|
+
separator: t,
|
|
1322
|
+
experimentalParseClassName: r
|
|
1323
|
+
} = e, n = t.length === 1, o = t[0], a = t.length, i = (s) => {
|
|
1324
|
+
const l = [];
|
|
1325
|
+
let d = 0, f = 0, y;
|
|
1326
|
+
for (let h = 0; h < s.length; h++) {
|
|
1327
|
+
let x = s[h];
|
|
1328
|
+
if (d === 0) {
|
|
1329
|
+
if (x === o && (n || s.slice(h, h + a) === t)) {
|
|
1330
|
+
l.push(s.slice(f, h)), f = h + a;
|
|
1331
|
+
continue;
|
|
1332
|
+
}
|
|
1333
|
+
if (x === "/") {
|
|
1334
|
+
y = h;
|
|
1335
|
+
continue;
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
x === "[" ? d++ : x === "]" && d--;
|
|
1339
|
+
}
|
|
1340
|
+
const w = l.length === 0 ? s : s.substring(f), v = w.startsWith(We), b = v ? w.substring(1) : w, u = y && y > f ? y - f : void 0;
|
|
1341
|
+
return {
|
|
1342
|
+
modifiers: l,
|
|
1343
|
+
hasImportantModifier: v,
|
|
1344
|
+
baseClassName: b,
|
|
1345
|
+
maybePostfixModifierPosition: u
|
|
1346
|
+
};
|
|
1347
|
+
};
|
|
1348
|
+
return r ? (s) => r({
|
|
1349
|
+
className: s,
|
|
1350
|
+
parseClassName: i
|
|
1351
|
+
}) : i;
|
|
1352
|
+
}, Bt = (e) => {
|
|
1353
|
+
if (e.length <= 1)
|
|
1354
|
+
return e;
|
|
1355
|
+
const t = [];
|
|
1356
|
+
let r = [];
|
|
1357
|
+
return e.forEach((n) => {
|
|
1358
|
+
n[0] === "[" ? (t.push(...r.sort(), n), r = []) : r.push(n);
|
|
1359
|
+
}), t.push(...r.sort()), t;
|
|
1360
|
+
}, Vt = (e) => ({
|
|
1361
|
+
cache: Qt(e.cacheSize),
|
|
1362
|
+
parseClassName: Xt(e),
|
|
1363
|
+
...jt(e)
|
|
1364
|
+
}), $t = /\s+/, Jt = (e, t) => {
|
|
1365
|
+
const {
|
|
1366
|
+
parseClassName: r,
|
|
1367
|
+
getClassGroupId: n,
|
|
1368
|
+
getConflictingClassGroupIds: o
|
|
1369
|
+
} = t, a = [], i = e.trim().split($t);
|
|
1370
|
+
let s = "";
|
|
1371
|
+
for (let l = i.length - 1; l >= 0; l -= 1) {
|
|
1372
|
+
const d = i[l], {
|
|
1373
|
+
modifiers: f,
|
|
1374
|
+
hasImportantModifier: y,
|
|
1375
|
+
baseClassName: w,
|
|
1376
|
+
maybePostfixModifierPosition: v
|
|
1377
|
+
} = r(d);
|
|
1378
|
+
let b = !!v, u = n(b ? w.substring(0, v) : w);
|
|
1379
|
+
if (!u) {
|
|
1380
|
+
if (!b) {
|
|
1381
|
+
s = d + (s.length > 0 ? " " + s : s);
|
|
1382
|
+
continue;
|
|
1383
|
+
}
|
|
1384
|
+
if (u = n(w), !u) {
|
|
1385
|
+
s = d + (s.length > 0 ? " " + s : s);
|
|
1386
|
+
continue;
|
|
1387
|
+
}
|
|
1388
|
+
b = !1;
|
|
1389
|
+
}
|
|
1390
|
+
const h = Bt(f).join(":"), x = y ? h + We : h, k = x + u;
|
|
1391
|
+
if (a.includes(k))
|
|
1392
|
+
continue;
|
|
1393
|
+
a.push(k);
|
|
1394
|
+
const F = o(u, b);
|
|
1395
|
+
for (let D = 0; D < F.length; ++D) {
|
|
1396
|
+
const _ = F[D];
|
|
1397
|
+
a.push(x + _);
|
|
1398
|
+
}
|
|
1399
|
+
s = d + (s.length > 0 ? " " + s : s);
|
|
1400
|
+
}
|
|
1401
|
+
return s;
|
|
1402
|
+
};
|
|
1403
|
+
function Ut() {
|
|
1404
|
+
let e = 0, t, r, n = "";
|
|
1405
|
+
for (; e < arguments.length; )
|
|
1406
|
+
(t = arguments[e++]) && (r = Te(t)) && (n && (n += " "), n += r);
|
|
1407
|
+
return n;
|
|
1408
|
+
}
|
|
1409
|
+
const Te = (e) => {
|
|
1410
|
+
if (typeof e == "string")
|
|
1411
|
+
return e;
|
|
1412
|
+
let t, r = "";
|
|
1413
|
+
for (let n = 0; n < e.length; n++)
|
|
1414
|
+
e[n] && (t = Te(e[n])) && (r && (r += " "), r += t);
|
|
1415
|
+
return r;
|
|
1416
|
+
};
|
|
1417
|
+
function xe(e, ...t) {
|
|
1418
|
+
let r, n, o, a = i;
|
|
1419
|
+
function i(l) {
|
|
1420
|
+
const d = t.reduce((f, y) => y(f), e());
|
|
1421
|
+
return r = Vt(d), n = r.cache.get, o = r.cache.set, a = s, s(l);
|
|
1422
|
+
}
|
|
1423
|
+
function s(l) {
|
|
1424
|
+
const d = n(l);
|
|
1425
|
+
if (d)
|
|
1426
|
+
return d;
|
|
1427
|
+
const f = Jt(l, r);
|
|
1428
|
+
return o(l, f), f;
|
|
1429
|
+
}
|
|
1430
|
+
return function() {
|
|
1431
|
+
return a(Ut.apply(null, arguments));
|
|
1432
|
+
};
|
|
1433
|
+
}
|
|
1434
|
+
const g = (e) => {
|
|
1435
|
+
const t = (r) => r[e] || [];
|
|
1436
|
+
return t.isThemeGetter = !0, t;
|
|
1437
|
+
}, De = /^\[(?:([a-z-]+):)?(.+)\]$/i, Kt = /^\d+\/\d+$/, Zt = /* @__PURE__ */ new Set(["px", "full", "screen"]), er = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, tr = /\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$/, rr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, nr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, or = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, S = (e) => N(e) || Zt.has(e) || Kt.test(e), C = (e) => z(e, "length", fr), N = (e) => !!e && !Number.isNaN(Number(e)), ee = (e) => z(e, "number", N), q = (e) => !!e && Number.isInteger(Number(e)), ar = (e) => e.endsWith("%") && N(e.slice(0, -1)), c = (e) => De.test(e), W = (e) => er.test(e), sr = /* @__PURE__ */ new Set(["length", "size", "percentage"]), ir = (e) => z(e, sr, Ye), cr = (e) => z(e, "position", Ye), lr = /* @__PURE__ */ new Set(["image", "url"]), dr = (e) => z(e, lr, hr), ur = (e) => z(e, "", mr), j = () => !0, z = (e, t, r) => {
|
|
1438
|
+
const n = De.exec(e);
|
|
1439
|
+
return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
|
|
1440
|
+
}, fr = (e) => (
|
|
1441
|
+
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
1442
|
+
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
1443
|
+
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1444
|
+
tr.test(e) && !rr.test(e)
|
|
1445
|
+
), Ye = () => !1, mr = (e) => nr.test(e), hr = (e) => or.test(e), ve = () => {
|
|
1446
|
+
const e = g("colors"), t = g("spacing"), r = g("blur"), n = g("brightness"), o = g("borderColor"), a = g("borderRadius"), i = g("borderSpacing"), s = g("borderWidth"), l = g("contrast"), d = g("grayscale"), f = g("hueRotate"), y = g("invert"), w = g("gap"), v = g("gradientColorStops"), b = g("gradientColorStopPositions"), u = g("inset"), h = g("margin"), x = g("opacity"), k = g("padding"), F = g("saturate"), D = g("scale"), _ = g("sepia"), oe = g("skew"), ae = g("space"), se = g("translate"), V = () => ["auto", "contain", "none"], $ = () => ["auto", "hidden", "clip", "visible", "scroll"], J = () => ["auto", c, t], p = () => [c, t], ie = () => ["", S, C], H = () => ["auto", N, c], ce = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Q = () => ["solid", "dashed", "dotted", "double", "none"], le = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], U = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], A = () => ["", "0", c], de = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], P = () => [N, c];
|
|
1447
|
+
return {
|
|
1448
|
+
cacheSize: 500,
|
|
1449
|
+
separator: ":",
|
|
1450
|
+
theme: {
|
|
1451
|
+
colors: [j],
|
|
1452
|
+
spacing: [S, C],
|
|
1453
|
+
blur: ["none", "", W, c],
|
|
1454
|
+
brightness: P(),
|
|
1455
|
+
borderColor: [e],
|
|
1456
|
+
borderRadius: ["none", "", "full", W, c],
|
|
1457
|
+
borderSpacing: p(),
|
|
1458
|
+
borderWidth: ie(),
|
|
1459
|
+
contrast: P(),
|
|
1460
|
+
grayscale: A(),
|
|
1461
|
+
hueRotate: P(),
|
|
1462
|
+
invert: A(),
|
|
1463
|
+
gap: p(),
|
|
1464
|
+
gradientColorStops: [e],
|
|
1465
|
+
gradientColorStopPositions: [ar, C],
|
|
1466
|
+
inset: J(),
|
|
1467
|
+
margin: J(),
|
|
1468
|
+
opacity: P(),
|
|
1469
|
+
padding: p(),
|
|
1470
|
+
saturate: P(),
|
|
1471
|
+
scale: P(),
|
|
1472
|
+
sepia: A(),
|
|
1473
|
+
skew: P(),
|
|
1474
|
+
space: p(),
|
|
1475
|
+
translate: p()
|
|
1476
|
+
},
|
|
1477
|
+
classGroups: {
|
|
1478
|
+
// Layout
|
|
1479
|
+
/**
|
|
1480
|
+
* Aspect Ratio
|
|
1481
|
+
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
1482
|
+
*/
|
|
1483
|
+
aspect: [{
|
|
1484
|
+
aspect: ["auto", "square", "video", c]
|
|
1485
|
+
}],
|
|
1486
|
+
/**
|
|
1487
|
+
* Container
|
|
1488
|
+
* @see https://tailwindcss.com/docs/container
|
|
1489
|
+
*/
|
|
1490
|
+
container: ["container"],
|
|
1491
|
+
/**
|
|
1492
|
+
* Columns
|
|
1493
|
+
* @see https://tailwindcss.com/docs/columns
|
|
1494
|
+
*/
|
|
1495
|
+
columns: [{
|
|
1496
|
+
columns: [W]
|
|
1497
|
+
}],
|
|
1498
|
+
/**
|
|
1499
|
+
* Break After
|
|
1500
|
+
* @see https://tailwindcss.com/docs/break-after
|
|
1501
|
+
*/
|
|
1502
|
+
"break-after": [{
|
|
1503
|
+
"break-after": de()
|
|
1504
|
+
}],
|
|
1505
|
+
/**
|
|
1506
|
+
* Break Before
|
|
1507
|
+
* @see https://tailwindcss.com/docs/break-before
|
|
1508
|
+
*/
|
|
1509
|
+
"break-before": [{
|
|
1510
|
+
"break-before": de()
|
|
1511
|
+
}],
|
|
1512
|
+
/**
|
|
1513
|
+
* Break Inside
|
|
1514
|
+
* @see https://tailwindcss.com/docs/break-inside
|
|
1515
|
+
*/
|
|
1516
|
+
"break-inside": [{
|
|
1517
|
+
"break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
|
|
1518
|
+
}],
|
|
1519
|
+
/**
|
|
1520
|
+
* Box Decoration Break
|
|
1521
|
+
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
1522
|
+
*/
|
|
1523
|
+
"box-decoration": [{
|
|
1524
|
+
"box-decoration": ["slice", "clone"]
|
|
1525
|
+
}],
|
|
1526
|
+
/**
|
|
1527
|
+
* Box Sizing
|
|
1528
|
+
* @see https://tailwindcss.com/docs/box-sizing
|
|
1529
|
+
*/
|
|
1530
|
+
box: [{
|
|
1531
|
+
box: ["border", "content"]
|
|
1532
|
+
}],
|
|
1533
|
+
/**
|
|
1534
|
+
* Display
|
|
1535
|
+
* @see https://tailwindcss.com/docs/display
|
|
1536
|
+
*/
|
|
1537
|
+
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"],
|
|
1538
|
+
/**
|
|
1539
|
+
* Floats
|
|
1540
|
+
* @see https://tailwindcss.com/docs/float
|
|
1541
|
+
*/
|
|
1542
|
+
float: [{
|
|
1543
|
+
float: ["right", "left", "none", "start", "end"]
|
|
1544
|
+
}],
|
|
1545
|
+
/**
|
|
1546
|
+
* Clear
|
|
1547
|
+
* @see https://tailwindcss.com/docs/clear
|
|
1548
|
+
*/
|
|
1549
|
+
clear: [{
|
|
1550
|
+
clear: ["left", "right", "both", "none", "start", "end"]
|
|
1551
|
+
}],
|
|
1552
|
+
/**
|
|
1553
|
+
* Isolation
|
|
1554
|
+
* @see https://tailwindcss.com/docs/isolation
|
|
1555
|
+
*/
|
|
1556
|
+
isolation: ["isolate", "isolation-auto"],
|
|
1557
|
+
/**
|
|
1558
|
+
* Object Fit
|
|
1559
|
+
* @see https://tailwindcss.com/docs/object-fit
|
|
1560
|
+
*/
|
|
1561
|
+
"object-fit": [{
|
|
1562
|
+
object: ["contain", "cover", "fill", "none", "scale-down"]
|
|
1563
|
+
}],
|
|
1564
|
+
/**
|
|
1565
|
+
* Object Position
|
|
1566
|
+
* @see https://tailwindcss.com/docs/object-position
|
|
1567
|
+
*/
|
|
1568
|
+
"object-position": [{
|
|
1569
|
+
object: [...ce(), c]
|
|
1570
|
+
}],
|
|
1571
|
+
/**
|
|
1572
|
+
* Overflow
|
|
1573
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
1574
|
+
*/
|
|
1575
|
+
overflow: [{
|
|
1576
|
+
overflow: $()
|
|
1577
|
+
}],
|
|
1578
|
+
/**
|
|
1579
|
+
* Overflow X
|
|
1580
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
1581
|
+
*/
|
|
1582
|
+
"overflow-x": [{
|
|
1583
|
+
"overflow-x": $()
|
|
1584
|
+
}],
|
|
1585
|
+
/**
|
|
1586
|
+
* Overflow Y
|
|
1587
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
1588
|
+
*/
|
|
1589
|
+
"overflow-y": [{
|
|
1590
|
+
"overflow-y": $()
|
|
1591
|
+
}],
|
|
1592
|
+
/**
|
|
1593
|
+
* Overscroll Behavior
|
|
1594
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1595
|
+
*/
|
|
1596
|
+
overscroll: [{
|
|
1597
|
+
overscroll: V()
|
|
1598
|
+
}],
|
|
1599
|
+
/**
|
|
1600
|
+
* Overscroll Behavior X
|
|
1601
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1602
|
+
*/
|
|
1603
|
+
"overscroll-x": [{
|
|
1604
|
+
"overscroll-x": V()
|
|
1605
|
+
}],
|
|
1606
|
+
/**
|
|
1607
|
+
* Overscroll Behavior Y
|
|
1608
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1609
|
+
*/
|
|
1610
|
+
"overscroll-y": [{
|
|
1611
|
+
"overscroll-y": V()
|
|
1612
|
+
}],
|
|
1613
|
+
/**
|
|
1614
|
+
* Position
|
|
1615
|
+
* @see https://tailwindcss.com/docs/position
|
|
1616
|
+
*/
|
|
1617
|
+
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
1618
|
+
/**
|
|
1619
|
+
* Top / Right / Bottom / Left
|
|
1620
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1621
|
+
*/
|
|
1622
|
+
inset: [{
|
|
1623
|
+
inset: [u]
|
|
1624
|
+
}],
|
|
1625
|
+
/**
|
|
1626
|
+
* Right / Left
|
|
1627
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1628
|
+
*/
|
|
1629
|
+
"inset-x": [{
|
|
1630
|
+
"inset-x": [u]
|
|
1631
|
+
}],
|
|
1632
|
+
/**
|
|
1633
|
+
* Top / Bottom
|
|
1634
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1635
|
+
*/
|
|
1636
|
+
"inset-y": [{
|
|
1637
|
+
"inset-y": [u]
|
|
1638
|
+
}],
|
|
1639
|
+
/**
|
|
1640
|
+
* Start
|
|
1641
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1642
|
+
*/
|
|
1643
|
+
start: [{
|
|
1644
|
+
start: [u]
|
|
1645
|
+
}],
|
|
1646
|
+
/**
|
|
1647
|
+
* End
|
|
1648
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1649
|
+
*/
|
|
1650
|
+
end: [{
|
|
1651
|
+
end: [u]
|
|
1652
|
+
}],
|
|
1653
|
+
/**
|
|
1654
|
+
* Top
|
|
1655
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1656
|
+
*/
|
|
1657
|
+
top: [{
|
|
1658
|
+
top: [u]
|
|
1659
|
+
}],
|
|
1660
|
+
/**
|
|
1661
|
+
* Right
|
|
1662
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1663
|
+
*/
|
|
1664
|
+
right: [{
|
|
1665
|
+
right: [u]
|
|
1666
|
+
}],
|
|
1667
|
+
/**
|
|
1668
|
+
* Bottom
|
|
1669
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1670
|
+
*/
|
|
1671
|
+
bottom: [{
|
|
1672
|
+
bottom: [u]
|
|
1673
|
+
}],
|
|
1674
|
+
/**
|
|
1675
|
+
* Left
|
|
1676
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1677
|
+
*/
|
|
1678
|
+
left: [{
|
|
1679
|
+
left: [u]
|
|
1680
|
+
}],
|
|
1681
|
+
/**
|
|
1682
|
+
* Visibility
|
|
1683
|
+
* @see https://tailwindcss.com/docs/visibility
|
|
1684
|
+
*/
|
|
1685
|
+
visibility: ["visible", "invisible", "collapse"],
|
|
1686
|
+
/**
|
|
1687
|
+
* Z-Index
|
|
1688
|
+
* @see https://tailwindcss.com/docs/z-index
|
|
1689
|
+
*/
|
|
1690
|
+
z: [{
|
|
1691
|
+
z: ["auto", q, c]
|
|
1692
|
+
}],
|
|
1693
|
+
// Flexbox and Grid
|
|
1694
|
+
/**
|
|
1695
|
+
* Flex Basis
|
|
1696
|
+
* @see https://tailwindcss.com/docs/flex-basis
|
|
1697
|
+
*/
|
|
1698
|
+
basis: [{
|
|
1699
|
+
basis: J()
|
|
1700
|
+
}],
|
|
1701
|
+
/**
|
|
1702
|
+
* Flex Direction
|
|
1703
|
+
* @see https://tailwindcss.com/docs/flex-direction
|
|
1704
|
+
*/
|
|
1705
|
+
"flex-direction": [{
|
|
1706
|
+
flex: ["row", "row-reverse", "col", "col-reverse"]
|
|
1707
|
+
}],
|
|
1708
|
+
/**
|
|
1709
|
+
* Flex Wrap
|
|
1710
|
+
* @see https://tailwindcss.com/docs/flex-wrap
|
|
1711
|
+
*/
|
|
1712
|
+
"flex-wrap": [{
|
|
1713
|
+
flex: ["wrap", "wrap-reverse", "nowrap"]
|
|
1714
|
+
}],
|
|
1715
|
+
/**
|
|
1716
|
+
* Flex
|
|
1717
|
+
* @see https://tailwindcss.com/docs/flex
|
|
1718
|
+
*/
|
|
1719
|
+
flex: [{
|
|
1720
|
+
flex: ["1", "auto", "initial", "none", c]
|
|
1721
|
+
}],
|
|
1722
|
+
/**
|
|
1723
|
+
* Flex Grow
|
|
1724
|
+
* @see https://tailwindcss.com/docs/flex-grow
|
|
1725
|
+
*/
|
|
1726
|
+
grow: [{
|
|
1727
|
+
grow: A()
|
|
1728
|
+
}],
|
|
1729
|
+
/**
|
|
1730
|
+
* Flex Shrink
|
|
1731
|
+
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1732
|
+
*/
|
|
1733
|
+
shrink: [{
|
|
1734
|
+
shrink: A()
|
|
1735
|
+
}],
|
|
1736
|
+
/**
|
|
1737
|
+
* Order
|
|
1738
|
+
* @see https://tailwindcss.com/docs/order
|
|
1739
|
+
*/
|
|
1740
|
+
order: [{
|
|
1741
|
+
order: ["first", "last", "none", q, c]
|
|
1742
|
+
}],
|
|
1743
|
+
/**
|
|
1744
|
+
* Grid Template Columns
|
|
1745
|
+
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1746
|
+
*/
|
|
1747
|
+
"grid-cols": [{
|
|
1748
|
+
"grid-cols": [j]
|
|
1749
|
+
}],
|
|
1750
|
+
/**
|
|
1751
|
+
* Grid Column Start / End
|
|
1752
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
1753
|
+
*/
|
|
1754
|
+
"col-start-end": [{
|
|
1755
|
+
col: ["auto", {
|
|
1756
|
+
span: ["full", q, c]
|
|
1757
|
+
}, c]
|
|
1758
|
+
}],
|
|
1759
|
+
/**
|
|
1760
|
+
* Grid Column Start
|
|
1761
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
1762
|
+
*/
|
|
1763
|
+
"col-start": [{
|
|
1764
|
+
"col-start": H()
|
|
1765
|
+
}],
|
|
1766
|
+
/**
|
|
1767
|
+
* Grid Column End
|
|
1768
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
1769
|
+
*/
|
|
1770
|
+
"col-end": [{
|
|
1771
|
+
"col-end": H()
|
|
1772
|
+
}],
|
|
1773
|
+
/**
|
|
1774
|
+
* Grid Template Rows
|
|
1775
|
+
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1776
|
+
*/
|
|
1777
|
+
"grid-rows": [{
|
|
1778
|
+
"grid-rows": [j]
|
|
1779
|
+
}],
|
|
1780
|
+
/**
|
|
1781
|
+
* Grid Row Start / End
|
|
1782
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
1783
|
+
*/
|
|
1784
|
+
"row-start-end": [{
|
|
1785
|
+
row: ["auto", {
|
|
1786
|
+
span: [q, c]
|
|
1787
|
+
}, c]
|
|
1788
|
+
}],
|
|
1789
|
+
/**
|
|
1790
|
+
* Grid Row Start
|
|
1791
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
1792
|
+
*/
|
|
1793
|
+
"row-start": [{
|
|
1794
|
+
"row-start": H()
|
|
1795
|
+
}],
|
|
1796
|
+
/**
|
|
1797
|
+
* Grid Row End
|
|
1798
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
1799
|
+
*/
|
|
1800
|
+
"row-end": [{
|
|
1801
|
+
"row-end": H()
|
|
1802
|
+
}],
|
|
1803
|
+
/**
|
|
1804
|
+
* Grid Auto Flow
|
|
1805
|
+
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
1806
|
+
*/
|
|
1807
|
+
"grid-flow": [{
|
|
1808
|
+
"grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
|
|
1809
|
+
}],
|
|
1810
|
+
/**
|
|
1811
|
+
* Grid Auto Columns
|
|
1812
|
+
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1813
|
+
*/
|
|
1814
|
+
"auto-cols": [{
|
|
1815
|
+
"auto-cols": ["auto", "min", "max", "fr", c]
|
|
1816
|
+
}],
|
|
1817
|
+
/**
|
|
1818
|
+
* Grid Auto Rows
|
|
1819
|
+
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1820
|
+
*/
|
|
1821
|
+
"auto-rows": [{
|
|
1822
|
+
"auto-rows": ["auto", "min", "max", "fr", c]
|
|
1823
|
+
}],
|
|
1824
|
+
/**
|
|
1825
|
+
* Gap
|
|
1826
|
+
* @see https://tailwindcss.com/docs/gap
|
|
1827
|
+
*/
|
|
1828
|
+
gap: [{
|
|
1829
|
+
gap: [w]
|
|
1830
|
+
}],
|
|
1831
|
+
/**
|
|
1832
|
+
* Gap X
|
|
1833
|
+
* @see https://tailwindcss.com/docs/gap
|
|
1834
|
+
*/
|
|
1835
|
+
"gap-x": [{
|
|
1836
|
+
"gap-x": [w]
|
|
1837
|
+
}],
|
|
1838
|
+
/**
|
|
1839
|
+
* Gap Y
|
|
1840
|
+
* @see https://tailwindcss.com/docs/gap
|
|
1841
|
+
*/
|
|
1842
|
+
"gap-y": [{
|
|
1843
|
+
"gap-y": [w]
|
|
1844
|
+
}],
|
|
1845
|
+
/**
|
|
1846
|
+
* Justify Content
|
|
1847
|
+
* @see https://tailwindcss.com/docs/justify-content
|
|
1848
|
+
*/
|
|
1849
|
+
"justify-content": [{
|
|
1850
|
+
justify: ["normal", ...U()]
|
|
1851
|
+
}],
|
|
1852
|
+
/**
|
|
1853
|
+
* Justify Items
|
|
1854
|
+
* @see https://tailwindcss.com/docs/justify-items
|
|
1855
|
+
*/
|
|
1856
|
+
"justify-items": [{
|
|
1857
|
+
"justify-items": ["start", "end", "center", "stretch"]
|
|
1858
|
+
}],
|
|
1859
|
+
/**
|
|
1860
|
+
* Justify Self
|
|
1861
|
+
* @see https://tailwindcss.com/docs/justify-self
|
|
1862
|
+
*/
|
|
1863
|
+
"justify-self": [{
|
|
1864
|
+
"justify-self": ["auto", "start", "end", "center", "stretch"]
|
|
1865
|
+
}],
|
|
1866
|
+
/**
|
|
1867
|
+
* Align Content
|
|
1868
|
+
* @see https://tailwindcss.com/docs/align-content
|
|
1869
|
+
*/
|
|
1870
|
+
"align-content": [{
|
|
1871
|
+
content: ["normal", ...U(), "baseline"]
|
|
1872
|
+
}],
|
|
1873
|
+
/**
|
|
1874
|
+
* Align Items
|
|
1875
|
+
* @see https://tailwindcss.com/docs/align-items
|
|
1876
|
+
*/
|
|
1877
|
+
"align-items": [{
|
|
1878
|
+
items: ["start", "end", "center", "baseline", "stretch"]
|
|
1879
|
+
}],
|
|
1880
|
+
/**
|
|
1881
|
+
* Align Self
|
|
1882
|
+
* @see https://tailwindcss.com/docs/align-self
|
|
1883
|
+
*/
|
|
1884
|
+
"align-self": [{
|
|
1885
|
+
self: ["auto", "start", "end", "center", "stretch", "baseline"]
|
|
1886
|
+
}],
|
|
1887
|
+
/**
|
|
1888
|
+
* Place Content
|
|
1889
|
+
* @see https://tailwindcss.com/docs/place-content
|
|
1890
|
+
*/
|
|
1891
|
+
"place-content": [{
|
|
1892
|
+
"place-content": [...U(), "baseline"]
|
|
1893
|
+
}],
|
|
1894
|
+
/**
|
|
1895
|
+
* Place Items
|
|
1896
|
+
* @see https://tailwindcss.com/docs/place-items
|
|
1897
|
+
*/
|
|
1898
|
+
"place-items": [{
|
|
1899
|
+
"place-items": ["start", "end", "center", "baseline", "stretch"]
|
|
1900
|
+
}],
|
|
1901
|
+
/**
|
|
1902
|
+
* Place Self
|
|
1903
|
+
* @see https://tailwindcss.com/docs/place-self
|
|
1904
|
+
*/
|
|
1905
|
+
"place-self": [{
|
|
1906
|
+
"place-self": ["auto", "start", "end", "center", "stretch"]
|
|
1907
|
+
}],
|
|
1908
|
+
// Spacing
|
|
1909
|
+
/**
|
|
1910
|
+
* Padding
|
|
1911
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1912
|
+
*/
|
|
1913
|
+
p: [{
|
|
1914
|
+
p: [k]
|
|
1915
|
+
}],
|
|
1916
|
+
/**
|
|
1917
|
+
* Padding X
|
|
1918
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1919
|
+
*/
|
|
1920
|
+
px: [{
|
|
1921
|
+
px: [k]
|
|
1922
|
+
}],
|
|
1923
|
+
/**
|
|
1924
|
+
* Padding Y
|
|
1925
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1926
|
+
*/
|
|
1927
|
+
py: [{
|
|
1928
|
+
py: [k]
|
|
1929
|
+
}],
|
|
1930
|
+
/**
|
|
1931
|
+
* Padding Start
|
|
1932
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1933
|
+
*/
|
|
1934
|
+
ps: [{
|
|
1935
|
+
ps: [k]
|
|
1936
|
+
}],
|
|
1937
|
+
/**
|
|
1938
|
+
* Padding End
|
|
1939
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1940
|
+
*/
|
|
1941
|
+
pe: [{
|
|
1942
|
+
pe: [k]
|
|
1943
|
+
}],
|
|
1944
|
+
/**
|
|
1945
|
+
* Padding Top
|
|
1946
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1947
|
+
*/
|
|
1948
|
+
pt: [{
|
|
1949
|
+
pt: [k]
|
|
1950
|
+
}],
|
|
1951
|
+
/**
|
|
1952
|
+
* Padding Right
|
|
1953
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1954
|
+
*/
|
|
1955
|
+
pr: [{
|
|
1956
|
+
pr: [k]
|
|
1957
|
+
}],
|
|
1958
|
+
/**
|
|
1959
|
+
* Padding Bottom
|
|
1960
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1961
|
+
*/
|
|
1962
|
+
pb: [{
|
|
1963
|
+
pb: [k]
|
|
1964
|
+
}],
|
|
1965
|
+
/**
|
|
1966
|
+
* Padding Left
|
|
1967
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1968
|
+
*/
|
|
1969
|
+
pl: [{
|
|
1970
|
+
pl: [k]
|
|
1971
|
+
}],
|
|
1972
|
+
/**
|
|
1973
|
+
* Margin
|
|
1974
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1975
|
+
*/
|
|
1976
|
+
m: [{
|
|
1977
|
+
m: [h]
|
|
1978
|
+
}],
|
|
1979
|
+
/**
|
|
1980
|
+
* Margin X
|
|
1981
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1982
|
+
*/
|
|
1983
|
+
mx: [{
|
|
1984
|
+
mx: [h]
|
|
1985
|
+
}],
|
|
1986
|
+
/**
|
|
1987
|
+
* Margin Y
|
|
1988
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1989
|
+
*/
|
|
1990
|
+
my: [{
|
|
1991
|
+
my: [h]
|
|
1992
|
+
}],
|
|
1993
|
+
/**
|
|
1994
|
+
* Margin Start
|
|
1995
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1996
|
+
*/
|
|
1997
|
+
ms: [{
|
|
1998
|
+
ms: [h]
|
|
1999
|
+
}],
|
|
2000
|
+
/**
|
|
2001
|
+
* Margin End
|
|
2002
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2003
|
+
*/
|
|
2004
|
+
me: [{
|
|
2005
|
+
me: [h]
|
|
2006
|
+
}],
|
|
2007
|
+
/**
|
|
2008
|
+
* Margin Top
|
|
2009
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2010
|
+
*/
|
|
2011
|
+
mt: [{
|
|
2012
|
+
mt: [h]
|
|
2013
|
+
}],
|
|
2014
|
+
/**
|
|
2015
|
+
* Margin Right
|
|
2016
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2017
|
+
*/
|
|
2018
|
+
mr: [{
|
|
2019
|
+
mr: [h]
|
|
2020
|
+
}],
|
|
2021
|
+
/**
|
|
2022
|
+
* Margin Bottom
|
|
2023
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2024
|
+
*/
|
|
2025
|
+
mb: [{
|
|
2026
|
+
mb: [h]
|
|
2027
|
+
}],
|
|
2028
|
+
/**
|
|
2029
|
+
* Margin Left
|
|
2030
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2031
|
+
*/
|
|
2032
|
+
ml: [{
|
|
2033
|
+
ml: [h]
|
|
2034
|
+
}],
|
|
2035
|
+
/**
|
|
2036
|
+
* Space Between X
|
|
2037
|
+
* @see https://tailwindcss.com/docs/space
|
|
2038
|
+
*/
|
|
2039
|
+
"space-x": [{
|
|
2040
|
+
"space-x": [ae]
|
|
2041
|
+
}],
|
|
2042
|
+
/**
|
|
2043
|
+
* Space Between X Reverse
|
|
2044
|
+
* @see https://tailwindcss.com/docs/space
|
|
2045
|
+
*/
|
|
2046
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
2047
|
+
/**
|
|
2048
|
+
* Space Between Y
|
|
2049
|
+
* @see https://tailwindcss.com/docs/space
|
|
2050
|
+
*/
|
|
2051
|
+
"space-y": [{
|
|
2052
|
+
"space-y": [ae]
|
|
2053
|
+
}],
|
|
2054
|
+
/**
|
|
2055
|
+
* Space Between Y Reverse
|
|
2056
|
+
* @see https://tailwindcss.com/docs/space
|
|
2057
|
+
*/
|
|
2058
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
2059
|
+
// Sizing
|
|
2060
|
+
/**
|
|
2061
|
+
* Width
|
|
2062
|
+
* @see https://tailwindcss.com/docs/width
|
|
2063
|
+
*/
|
|
2064
|
+
w: [{
|
|
2065
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", c, t]
|
|
2066
|
+
}],
|
|
2067
|
+
/**
|
|
2068
|
+
* Min-Width
|
|
2069
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
2070
|
+
*/
|
|
2071
|
+
"min-w": [{
|
|
2072
|
+
"min-w": [c, t, "min", "max", "fit"]
|
|
2073
|
+
}],
|
|
2074
|
+
/**
|
|
2075
|
+
* Max-Width
|
|
2076
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
2077
|
+
*/
|
|
2078
|
+
"max-w": [{
|
|
2079
|
+
"max-w": [c, t, "none", "full", "min", "max", "fit", "prose", {
|
|
2080
|
+
screen: [W]
|
|
2081
|
+
}, W]
|
|
2082
|
+
}],
|
|
2083
|
+
/**
|
|
2084
|
+
* Height
|
|
2085
|
+
* @see https://tailwindcss.com/docs/height
|
|
2086
|
+
*/
|
|
2087
|
+
h: [{
|
|
2088
|
+
h: [c, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
2089
|
+
}],
|
|
2090
|
+
/**
|
|
2091
|
+
* Min-Height
|
|
2092
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
2093
|
+
*/
|
|
2094
|
+
"min-h": [{
|
|
2095
|
+
"min-h": [c, t, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
2096
|
+
}],
|
|
2097
|
+
/**
|
|
2098
|
+
* Max-Height
|
|
2099
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
2100
|
+
*/
|
|
2101
|
+
"max-h": [{
|
|
2102
|
+
"max-h": [c, t, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
2103
|
+
}],
|
|
2104
|
+
/**
|
|
2105
|
+
* Size
|
|
2106
|
+
* @see https://tailwindcss.com/docs/size
|
|
2107
|
+
*/
|
|
2108
|
+
size: [{
|
|
2109
|
+
size: [c, t, "auto", "min", "max", "fit"]
|
|
2110
|
+
}],
|
|
2111
|
+
// Typography
|
|
2112
|
+
/**
|
|
2113
|
+
* Font Size
|
|
2114
|
+
* @see https://tailwindcss.com/docs/font-size
|
|
2115
|
+
*/
|
|
2116
|
+
"font-size": [{
|
|
2117
|
+
text: ["base", W, C]
|
|
2118
|
+
}],
|
|
2119
|
+
/**
|
|
2120
|
+
* Font Smoothing
|
|
2121
|
+
* @see https://tailwindcss.com/docs/font-smoothing
|
|
2122
|
+
*/
|
|
2123
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
2124
|
+
/**
|
|
2125
|
+
* Font Style
|
|
2126
|
+
* @see https://tailwindcss.com/docs/font-style
|
|
2127
|
+
*/
|
|
2128
|
+
"font-style": ["italic", "not-italic"],
|
|
2129
|
+
/**
|
|
2130
|
+
* Font Weight
|
|
2131
|
+
* @see https://tailwindcss.com/docs/font-weight
|
|
2132
|
+
*/
|
|
2133
|
+
"font-weight": [{
|
|
2134
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", ee]
|
|
2135
|
+
}],
|
|
2136
|
+
/**
|
|
2137
|
+
* Font Family
|
|
2138
|
+
* @see https://tailwindcss.com/docs/font-family
|
|
2139
|
+
*/
|
|
2140
|
+
"font-family": [{
|
|
2141
|
+
font: [j]
|
|
2142
|
+
}],
|
|
2143
|
+
/**
|
|
2144
|
+
* Font Variant Numeric
|
|
2145
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2146
|
+
*/
|
|
2147
|
+
"fvn-normal": ["normal-nums"],
|
|
2148
|
+
/**
|
|
2149
|
+
* Font Variant Numeric
|
|
2150
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2151
|
+
*/
|
|
2152
|
+
"fvn-ordinal": ["ordinal"],
|
|
2153
|
+
/**
|
|
2154
|
+
* Font Variant Numeric
|
|
2155
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2156
|
+
*/
|
|
2157
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
2158
|
+
/**
|
|
2159
|
+
* Font Variant Numeric
|
|
2160
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2161
|
+
*/
|
|
2162
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
2163
|
+
/**
|
|
2164
|
+
* Font Variant Numeric
|
|
2165
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2166
|
+
*/
|
|
2167
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
2168
|
+
/**
|
|
2169
|
+
* Font Variant Numeric
|
|
2170
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2171
|
+
*/
|
|
2172
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
2173
|
+
/**
|
|
2174
|
+
* Letter Spacing
|
|
2175
|
+
* @see https://tailwindcss.com/docs/letter-spacing
|
|
2176
|
+
*/
|
|
2177
|
+
tracking: [{
|
|
2178
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", c]
|
|
2179
|
+
}],
|
|
2180
|
+
/**
|
|
2181
|
+
* Line Clamp
|
|
2182
|
+
* @see https://tailwindcss.com/docs/line-clamp
|
|
2183
|
+
*/
|
|
2184
|
+
"line-clamp": [{
|
|
2185
|
+
"line-clamp": ["none", N, ee]
|
|
2186
|
+
}],
|
|
2187
|
+
/**
|
|
2188
|
+
* Line Height
|
|
2189
|
+
* @see https://tailwindcss.com/docs/line-height
|
|
2190
|
+
*/
|
|
2191
|
+
leading: [{
|
|
2192
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", S, c]
|
|
2193
|
+
}],
|
|
2194
|
+
/**
|
|
2195
|
+
* List Style Image
|
|
2196
|
+
* @see https://tailwindcss.com/docs/list-style-image
|
|
2197
|
+
*/
|
|
2198
|
+
"list-image": [{
|
|
2199
|
+
"list-image": ["none", c]
|
|
2200
|
+
}],
|
|
2201
|
+
/**
|
|
2202
|
+
* List Style Type
|
|
2203
|
+
* @see https://tailwindcss.com/docs/list-style-type
|
|
2204
|
+
*/
|
|
2205
|
+
"list-style-type": [{
|
|
2206
|
+
list: ["none", "disc", "decimal", c]
|
|
2207
|
+
}],
|
|
2208
|
+
/**
|
|
2209
|
+
* List Style Position
|
|
2210
|
+
* @see https://tailwindcss.com/docs/list-style-position
|
|
2211
|
+
*/
|
|
2212
|
+
"list-style-position": [{
|
|
2213
|
+
list: ["inside", "outside"]
|
|
2214
|
+
}],
|
|
2215
|
+
/**
|
|
2216
|
+
* Placeholder Color
|
|
2217
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
2218
|
+
* @see https://tailwindcss.com/docs/placeholder-color
|
|
2219
|
+
*/
|
|
2220
|
+
"placeholder-color": [{
|
|
2221
|
+
placeholder: [e]
|
|
2222
|
+
}],
|
|
2223
|
+
/**
|
|
2224
|
+
* Placeholder Opacity
|
|
2225
|
+
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
2226
|
+
*/
|
|
2227
|
+
"placeholder-opacity": [{
|
|
2228
|
+
"placeholder-opacity": [x]
|
|
2229
|
+
}],
|
|
2230
|
+
/**
|
|
2231
|
+
* Text Alignment
|
|
2232
|
+
* @see https://tailwindcss.com/docs/text-align
|
|
2233
|
+
*/
|
|
2234
|
+
"text-alignment": [{
|
|
2235
|
+
text: ["left", "center", "right", "justify", "start", "end"]
|
|
2236
|
+
}],
|
|
2237
|
+
/**
|
|
2238
|
+
* Text Color
|
|
2239
|
+
* @see https://tailwindcss.com/docs/text-color
|
|
2240
|
+
*/
|
|
2241
|
+
"text-color": [{
|
|
2242
|
+
text: [e]
|
|
2243
|
+
}],
|
|
2244
|
+
/**
|
|
2245
|
+
* Text Opacity
|
|
2246
|
+
* @see https://tailwindcss.com/docs/text-opacity
|
|
2247
|
+
*/
|
|
2248
|
+
"text-opacity": [{
|
|
2249
|
+
"text-opacity": [x]
|
|
2250
|
+
}],
|
|
2251
|
+
/**
|
|
2252
|
+
* Text Decoration
|
|
2253
|
+
* @see https://tailwindcss.com/docs/text-decoration
|
|
2254
|
+
*/
|
|
2255
|
+
"text-decoration": ["underline", "overline", "line-through", "no-underline"],
|
|
2256
|
+
/**
|
|
2257
|
+
* Text Decoration Style
|
|
2258
|
+
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
2259
|
+
*/
|
|
2260
|
+
"text-decoration-style": [{
|
|
2261
|
+
decoration: [...Q(), "wavy"]
|
|
2262
|
+
}],
|
|
2263
|
+
/**
|
|
2264
|
+
* Text Decoration Thickness
|
|
2265
|
+
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
2266
|
+
*/
|
|
2267
|
+
"text-decoration-thickness": [{
|
|
2268
|
+
decoration: ["auto", "from-font", S, C]
|
|
2269
|
+
}],
|
|
2270
|
+
/**
|
|
2271
|
+
* Text Underline Offset
|
|
2272
|
+
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
2273
|
+
*/
|
|
2274
|
+
"underline-offset": [{
|
|
2275
|
+
"underline-offset": ["auto", S, c]
|
|
2276
|
+
}],
|
|
2277
|
+
/**
|
|
2278
|
+
* Text Decoration Color
|
|
2279
|
+
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
2280
|
+
*/
|
|
2281
|
+
"text-decoration-color": [{
|
|
2282
|
+
decoration: [e]
|
|
2283
|
+
}],
|
|
2284
|
+
/**
|
|
2285
|
+
* Text Transform
|
|
2286
|
+
* @see https://tailwindcss.com/docs/text-transform
|
|
2287
|
+
*/
|
|
2288
|
+
"text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
|
|
2289
|
+
/**
|
|
2290
|
+
* Text Overflow
|
|
2291
|
+
* @see https://tailwindcss.com/docs/text-overflow
|
|
2292
|
+
*/
|
|
2293
|
+
"text-overflow": ["truncate", "text-ellipsis", "text-clip"],
|
|
2294
|
+
/**
|
|
2295
|
+
* Text Wrap
|
|
2296
|
+
* @see https://tailwindcss.com/docs/text-wrap
|
|
2297
|
+
*/
|
|
2298
|
+
"text-wrap": [{
|
|
2299
|
+
text: ["wrap", "nowrap", "balance", "pretty"]
|
|
2300
|
+
}],
|
|
2301
|
+
/**
|
|
2302
|
+
* Text Indent
|
|
2303
|
+
* @see https://tailwindcss.com/docs/text-indent
|
|
2304
|
+
*/
|
|
2305
|
+
indent: [{
|
|
2306
|
+
indent: p()
|
|
2307
|
+
}],
|
|
2308
|
+
/**
|
|
2309
|
+
* Vertical Alignment
|
|
2310
|
+
* @see https://tailwindcss.com/docs/vertical-align
|
|
2311
|
+
*/
|
|
2312
|
+
"vertical-align": [{
|
|
2313
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", c]
|
|
2314
|
+
}],
|
|
2315
|
+
/**
|
|
2316
|
+
* Whitespace
|
|
2317
|
+
* @see https://tailwindcss.com/docs/whitespace
|
|
2318
|
+
*/
|
|
2319
|
+
whitespace: [{
|
|
2320
|
+
whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
|
|
2321
|
+
}],
|
|
2322
|
+
/**
|
|
2323
|
+
* Word Break
|
|
2324
|
+
* @see https://tailwindcss.com/docs/word-break
|
|
2325
|
+
*/
|
|
2326
|
+
break: [{
|
|
2327
|
+
break: ["normal", "words", "all", "keep"]
|
|
2328
|
+
}],
|
|
2329
|
+
/**
|
|
2330
|
+
* Hyphens
|
|
2331
|
+
* @see https://tailwindcss.com/docs/hyphens
|
|
2332
|
+
*/
|
|
2333
|
+
hyphens: [{
|
|
2334
|
+
hyphens: ["none", "manual", "auto"]
|
|
2335
|
+
}],
|
|
2336
|
+
/**
|
|
2337
|
+
* Content
|
|
2338
|
+
* @see https://tailwindcss.com/docs/content
|
|
2339
|
+
*/
|
|
2340
|
+
content: [{
|
|
2341
|
+
content: ["none", c]
|
|
2342
|
+
}],
|
|
2343
|
+
// Backgrounds
|
|
2344
|
+
/**
|
|
2345
|
+
* Background Attachment
|
|
2346
|
+
* @see https://tailwindcss.com/docs/background-attachment
|
|
2347
|
+
*/
|
|
2348
|
+
"bg-attachment": [{
|
|
2349
|
+
bg: ["fixed", "local", "scroll"]
|
|
2350
|
+
}],
|
|
2351
|
+
/**
|
|
2352
|
+
* Background Clip
|
|
2353
|
+
* @see https://tailwindcss.com/docs/background-clip
|
|
2354
|
+
*/
|
|
2355
|
+
"bg-clip": [{
|
|
2356
|
+
"bg-clip": ["border", "padding", "content", "text"]
|
|
2357
|
+
}],
|
|
2358
|
+
/**
|
|
2359
|
+
* Background Opacity
|
|
2360
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
2361
|
+
* @see https://tailwindcss.com/docs/background-opacity
|
|
2362
|
+
*/
|
|
2363
|
+
"bg-opacity": [{
|
|
2364
|
+
"bg-opacity": [x]
|
|
2365
|
+
}],
|
|
2366
|
+
/**
|
|
2367
|
+
* Background Origin
|
|
2368
|
+
* @see https://tailwindcss.com/docs/background-origin
|
|
2369
|
+
*/
|
|
2370
|
+
"bg-origin": [{
|
|
2371
|
+
"bg-origin": ["border", "padding", "content"]
|
|
2372
|
+
}],
|
|
2373
|
+
/**
|
|
2374
|
+
* Background Position
|
|
2375
|
+
* @see https://tailwindcss.com/docs/background-position
|
|
2376
|
+
*/
|
|
2377
|
+
"bg-position": [{
|
|
2378
|
+
bg: [...ce(), cr]
|
|
2379
|
+
}],
|
|
2380
|
+
/**
|
|
2381
|
+
* Background Repeat
|
|
2382
|
+
* @see https://tailwindcss.com/docs/background-repeat
|
|
2383
|
+
*/
|
|
2384
|
+
"bg-repeat": [{
|
|
2385
|
+
bg: ["no-repeat", {
|
|
2386
|
+
repeat: ["", "x", "y", "round", "space"]
|
|
2387
|
+
}]
|
|
2388
|
+
}],
|
|
2389
|
+
/**
|
|
2390
|
+
* Background Size
|
|
2391
|
+
* @see https://tailwindcss.com/docs/background-size
|
|
2392
|
+
*/
|
|
2393
|
+
"bg-size": [{
|
|
2394
|
+
bg: ["auto", "cover", "contain", ir]
|
|
2395
|
+
}],
|
|
2396
|
+
/**
|
|
2397
|
+
* Background Image
|
|
2398
|
+
* @see https://tailwindcss.com/docs/background-image
|
|
2399
|
+
*/
|
|
2400
|
+
"bg-image": [{
|
|
2401
|
+
bg: ["none", {
|
|
2402
|
+
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
2403
|
+
}, dr]
|
|
2404
|
+
}],
|
|
2405
|
+
/**
|
|
2406
|
+
* Background Color
|
|
2407
|
+
* @see https://tailwindcss.com/docs/background-color
|
|
2408
|
+
*/
|
|
2409
|
+
"bg-color": [{
|
|
2410
|
+
bg: [e]
|
|
2411
|
+
}],
|
|
2412
|
+
/**
|
|
2413
|
+
* Gradient Color Stops From Position
|
|
2414
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2415
|
+
*/
|
|
2416
|
+
"gradient-from-pos": [{
|
|
2417
|
+
from: [b]
|
|
2418
|
+
}],
|
|
2419
|
+
/**
|
|
2420
|
+
* Gradient Color Stops Via Position
|
|
2421
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2422
|
+
*/
|
|
2423
|
+
"gradient-via-pos": [{
|
|
2424
|
+
via: [b]
|
|
2425
|
+
}],
|
|
2426
|
+
/**
|
|
2427
|
+
* Gradient Color Stops To Position
|
|
2428
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2429
|
+
*/
|
|
2430
|
+
"gradient-to-pos": [{
|
|
2431
|
+
to: [b]
|
|
2432
|
+
}],
|
|
2433
|
+
/**
|
|
2434
|
+
* Gradient Color Stops From
|
|
2435
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2436
|
+
*/
|
|
2437
|
+
"gradient-from": [{
|
|
2438
|
+
from: [v]
|
|
2439
|
+
}],
|
|
2440
|
+
/**
|
|
2441
|
+
* Gradient Color Stops Via
|
|
2442
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2443
|
+
*/
|
|
2444
|
+
"gradient-via": [{
|
|
2445
|
+
via: [v]
|
|
2446
|
+
}],
|
|
2447
|
+
/**
|
|
2448
|
+
* Gradient Color Stops To
|
|
2449
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2450
|
+
*/
|
|
2451
|
+
"gradient-to": [{
|
|
2452
|
+
to: [v]
|
|
2453
|
+
}],
|
|
2454
|
+
// Borders
|
|
2455
|
+
/**
|
|
2456
|
+
* Border Radius
|
|
2457
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2458
|
+
*/
|
|
2459
|
+
rounded: [{
|
|
2460
|
+
rounded: [a]
|
|
2461
|
+
}],
|
|
2462
|
+
/**
|
|
2463
|
+
* Border Radius Start
|
|
2464
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2465
|
+
*/
|
|
2466
|
+
"rounded-s": [{
|
|
2467
|
+
"rounded-s": [a]
|
|
2468
|
+
}],
|
|
2469
|
+
/**
|
|
2470
|
+
* Border Radius End
|
|
2471
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2472
|
+
*/
|
|
2473
|
+
"rounded-e": [{
|
|
2474
|
+
"rounded-e": [a]
|
|
2475
|
+
}],
|
|
2476
|
+
/**
|
|
2477
|
+
* Border Radius Top
|
|
2478
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2479
|
+
*/
|
|
2480
|
+
"rounded-t": [{
|
|
2481
|
+
"rounded-t": [a]
|
|
2482
|
+
}],
|
|
2483
|
+
/**
|
|
2484
|
+
* Border Radius Right
|
|
2485
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2486
|
+
*/
|
|
2487
|
+
"rounded-r": [{
|
|
2488
|
+
"rounded-r": [a]
|
|
2489
|
+
}],
|
|
2490
|
+
/**
|
|
2491
|
+
* Border Radius Bottom
|
|
2492
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2493
|
+
*/
|
|
2494
|
+
"rounded-b": [{
|
|
2495
|
+
"rounded-b": [a]
|
|
2496
|
+
}],
|
|
2497
|
+
/**
|
|
2498
|
+
* Border Radius Left
|
|
2499
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2500
|
+
*/
|
|
2501
|
+
"rounded-l": [{
|
|
2502
|
+
"rounded-l": [a]
|
|
2503
|
+
}],
|
|
2504
|
+
/**
|
|
2505
|
+
* Border Radius Start Start
|
|
2506
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2507
|
+
*/
|
|
2508
|
+
"rounded-ss": [{
|
|
2509
|
+
"rounded-ss": [a]
|
|
2510
|
+
}],
|
|
2511
|
+
/**
|
|
2512
|
+
* Border Radius Start End
|
|
2513
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2514
|
+
*/
|
|
2515
|
+
"rounded-se": [{
|
|
2516
|
+
"rounded-se": [a]
|
|
2517
|
+
}],
|
|
2518
|
+
/**
|
|
2519
|
+
* Border Radius End End
|
|
2520
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2521
|
+
*/
|
|
2522
|
+
"rounded-ee": [{
|
|
2523
|
+
"rounded-ee": [a]
|
|
2524
|
+
}],
|
|
2525
|
+
/**
|
|
2526
|
+
* Border Radius End Start
|
|
2527
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2528
|
+
*/
|
|
2529
|
+
"rounded-es": [{
|
|
2530
|
+
"rounded-es": [a]
|
|
2531
|
+
}],
|
|
2532
|
+
/**
|
|
2533
|
+
* Border Radius Top Left
|
|
2534
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2535
|
+
*/
|
|
2536
|
+
"rounded-tl": [{
|
|
2537
|
+
"rounded-tl": [a]
|
|
2538
|
+
}],
|
|
2539
|
+
/**
|
|
2540
|
+
* Border Radius Top Right
|
|
2541
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2542
|
+
*/
|
|
2543
|
+
"rounded-tr": [{
|
|
2544
|
+
"rounded-tr": [a]
|
|
2545
|
+
}],
|
|
2546
|
+
/**
|
|
2547
|
+
* Border Radius Bottom Right
|
|
2548
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2549
|
+
*/
|
|
2550
|
+
"rounded-br": [{
|
|
2551
|
+
"rounded-br": [a]
|
|
2552
|
+
}],
|
|
2553
|
+
/**
|
|
2554
|
+
* Border Radius Bottom Left
|
|
2555
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2556
|
+
*/
|
|
2557
|
+
"rounded-bl": [{
|
|
2558
|
+
"rounded-bl": [a]
|
|
2559
|
+
}],
|
|
2560
|
+
/**
|
|
2561
|
+
* Border Width
|
|
2562
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2563
|
+
*/
|
|
2564
|
+
"border-w": [{
|
|
2565
|
+
border: [s]
|
|
2566
|
+
}],
|
|
2567
|
+
/**
|
|
2568
|
+
* Border Width X
|
|
2569
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2570
|
+
*/
|
|
2571
|
+
"border-w-x": [{
|
|
2572
|
+
"border-x": [s]
|
|
2573
|
+
}],
|
|
2574
|
+
/**
|
|
2575
|
+
* Border Width Y
|
|
2576
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2577
|
+
*/
|
|
2578
|
+
"border-w-y": [{
|
|
2579
|
+
"border-y": [s]
|
|
2580
|
+
}],
|
|
2581
|
+
/**
|
|
2582
|
+
* Border Width Start
|
|
2583
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2584
|
+
*/
|
|
2585
|
+
"border-w-s": [{
|
|
2586
|
+
"border-s": [s]
|
|
2587
|
+
}],
|
|
2588
|
+
/**
|
|
2589
|
+
* Border Width End
|
|
2590
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2591
|
+
*/
|
|
2592
|
+
"border-w-e": [{
|
|
2593
|
+
"border-e": [s]
|
|
2594
|
+
}],
|
|
2595
|
+
/**
|
|
2596
|
+
* Border Width Top
|
|
2597
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2598
|
+
*/
|
|
2599
|
+
"border-w-t": [{
|
|
2600
|
+
"border-t": [s]
|
|
2601
|
+
}],
|
|
2602
|
+
/**
|
|
2603
|
+
* Border Width Right
|
|
2604
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2605
|
+
*/
|
|
2606
|
+
"border-w-r": [{
|
|
2607
|
+
"border-r": [s]
|
|
2608
|
+
}],
|
|
2609
|
+
/**
|
|
2610
|
+
* Border Width Bottom
|
|
2611
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2612
|
+
*/
|
|
2613
|
+
"border-w-b": [{
|
|
2614
|
+
"border-b": [s]
|
|
2615
|
+
}],
|
|
2616
|
+
/**
|
|
2617
|
+
* Border Width Left
|
|
2618
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2619
|
+
*/
|
|
2620
|
+
"border-w-l": [{
|
|
2621
|
+
"border-l": [s]
|
|
2622
|
+
}],
|
|
2623
|
+
/**
|
|
2624
|
+
* Border Opacity
|
|
2625
|
+
* @see https://tailwindcss.com/docs/border-opacity
|
|
2626
|
+
*/
|
|
2627
|
+
"border-opacity": [{
|
|
2628
|
+
"border-opacity": [x]
|
|
2629
|
+
}],
|
|
2630
|
+
/**
|
|
2631
|
+
* Border Style
|
|
2632
|
+
* @see https://tailwindcss.com/docs/border-style
|
|
2633
|
+
*/
|
|
2634
|
+
"border-style": [{
|
|
2635
|
+
border: [...Q(), "hidden"]
|
|
2636
|
+
}],
|
|
2637
|
+
/**
|
|
2638
|
+
* Divide Width X
|
|
2639
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
2640
|
+
*/
|
|
2641
|
+
"divide-x": [{
|
|
2642
|
+
"divide-x": [s]
|
|
2643
|
+
}],
|
|
2644
|
+
/**
|
|
2645
|
+
* Divide Width X Reverse
|
|
2646
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
2647
|
+
*/
|
|
2648
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
2649
|
+
/**
|
|
2650
|
+
* Divide Width Y
|
|
2651
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
2652
|
+
*/
|
|
2653
|
+
"divide-y": [{
|
|
2654
|
+
"divide-y": [s]
|
|
2655
|
+
}],
|
|
2656
|
+
/**
|
|
2657
|
+
* Divide Width Y Reverse
|
|
2658
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
2659
|
+
*/
|
|
2660
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
2661
|
+
/**
|
|
2662
|
+
* Divide Opacity
|
|
2663
|
+
* @see https://tailwindcss.com/docs/divide-opacity
|
|
2664
|
+
*/
|
|
2665
|
+
"divide-opacity": [{
|
|
2666
|
+
"divide-opacity": [x]
|
|
2667
|
+
}],
|
|
2668
|
+
/**
|
|
2669
|
+
* Divide Style
|
|
2670
|
+
* @see https://tailwindcss.com/docs/divide-style
|
|
2671
|
+
*/
|
|
2672
|
+
"divide-style": [{
|
|
2673
|
+
divide: Q()
|
|
2674
|
+
}],
|
|
2675
|
+
/**
|
|
2676
|
+
* Border Color
|
|
2677
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2678
|
+
*/
|
|
2679
|
+
"border-color": [{
|
|
2680
|
+
border: [o]
|
|
2681
|
+
}],
|
|
2682
|
+
/**
|
|
2683
|
+
* Border Color X
|
|
2684
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2685
|
+
*/
|
|
2686
|
+
"border-color-x": [{
|
|
2687
|
+
"border-x": [o]
|
|
2688
|
+
}],
|
|
2689
|
+
/**
|
|
2690
|
+
* Border Color Y
|
|
2691
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2692
|
+
*/
|
|
2693
|
+
"border-color-y": [{
|
|
2694
|
+
"border-y": [o]
|
|
2695
|
+
}],
|
|
2696
|
+
/**
|
|
2697
|
+
* Border Color S
|
|
2698
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2699
|
+
*/
|
|
2700
|
+
"border-color-s": [{
|
|
2701
|
+
"border-s": [o]
|
|
2702
|
+
}],
|
|
2703
|
+
/**
|
|
2704
|
+
* Border Color E
|
|
2705
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2706
|
+
*/
|
|
2707
|
+
"border-color-e": [{
|
|
2708
|
+
"border-e": [o]
|
|
2709
|
+
}],
|
|
2710
|
+
/**
|
|
2711
|
+
* Border Color Top
|
|
2712
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2713
|
+
*/
|
|
2714
|
+
"border-color-t": [{
|
|
2715
|
+
"border-t": [o]
|
|
2716
|
+
}],
|
|
2717
|
+
/**
|
|
2718
|
+
* Border Color Right
|
|
2719
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2720
|
+
*/
|
|
2721
|
+
"border-color-r": [{
|
|
2722
|
+
"border-r": [o]
|
|
2723
|
+
}],
|
|
2724
|
+
/**
|
|
2725
|
+
* Border Color Bottom
|
|
2726
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2727
|
+
*/
|
|
2728
|
+
"border-color-b": [{
|
|
2729
|
+
"border-b": [o]
|
|
2730
|
+
}],
|
|
2731
|
+
/**
|
|
2732
|
+
* Border Color Left
|
|
2733
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2734
|
+
*/
|
|
2735
|
+
"border-color-l": [{
|
|
2736
|
+
"border-l": [o]
|
|
2737
|
+
}],
|
|
2738
|
+
/**
|
|
2739
|
+
* Divide Color
|
|
2740
|
+
* @see https://tailwindcss.com/docs/divide-color
|
|
2741
|
+
*/
|
|
2742
|
+
"divide-color": [{
|
|
2743
|
+
divide: [o]
|
|
2744
|
+
}],
|
|
2745
|
+
/**
|
|
2746
|
+
* Outline Style
|
|
2747
|
+
* @see https://tailwindcss.com/docs/outline-style
|
|
2748
|
+
*/
|
|
2749
|
+
"outline-style": [{
|
|
2750
|
+
outline: ["", ...Q()]
|
|
2751
|
+
}],
|
|
2752
|
+
/**
|
|
2753
|
+
* Outline Offset
|
|
2754
|
+
* @see https://tailwindcss.com/docs/outline-offset
|
|
2755
|
+
*/
|
|
2756
|
+
"outline-offset": [{
|
|
2757
|
+
"outline-offset": [S, c]
|
|
2758
|
+
}],
|
|
2759
|
+
/**
|
|
2760
|
+
* Outline Width
|
|
2761
|
+
* @see https://tailwindcss.com/docs/outline-width
|
|
2762
|
+
*/
|
|
2763
|
+
"outline-w": [{
|
|
2764
|
+
outline: [S, C]
|
|
2765
|
+
}],
|
|
2766
|
+
/**
|
|
2767
|
+
* Outline Color
|
|
2768
|
+
* @see https://tailwindcss.com/docs/outline-color
|
|
2769
|
+
*/
|
|
2770
|
+
"outline-color": [{
|
|
2771
|
+
outline: [e]
|
|
2772
|
+
}],
|
|
2773
|
+
/**
|
|
2774
|
+
* Ring Width
|
|
2775
|
+
* @see https://tailwindcss.com/docs/ring-width
|
|
2776
|
+
*/
|
|
2777
|
+
"ring-w": [{
|
|
2778
|
+
ring: ie()
|
|
2779
|
+
}],
|
|
2780
|
+
/**
|
|
2781
|
+
* Ring Width Inset
|
|
2782
|
+
* @see https://tailwindcss.com/docs/ring-width
|
|
2783
|
+
*/
|
|
2784
|
+
"ring-w-inset": ["ring-inset"],
|
|
2785
|
+
/**
|
|
2786
|
+
* Ring Color
|
|
2787
|
+
* @see https://tailwindcss.com/docs/ring-color
|
|
2788
|
+
*/
|
|
2789
|
+
"ring-color": [{
|
|
2790
|
+
ring: [e]
|
|
2791
|
+
}],
|
|
2792
|
+
/**
|
|
2793
|
+
* Ring Opacity
|
|
2794
|
+
* @see https://tailwindcss.com/docs/ring-opacity
|
|
2795
|
+
*/
|
|
2796
|
+
"ring-opacity": [{
|
|
2797
|
+
"ring-opacity": [x]
|
|
2798
|
+
}],
|
|
2799
|
+
/**
|
|
2800
|
+
* Ring Offset Width
|
|
2801
|
+
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
2802
|
+
*/
|
|
2803
|
+
"ring-offset-w": [{
|
|
2804
|
+
"ring-offset": [S, C]
|
|
2805
|
+
}],
|
|
2806
|
+
/**
|
|
2807
|
+
* Ring Offset Color
|
|
2808
|
+
* @see https://tailwindcss.com/docs/ring-offset-color
|
|
2809
|
+
*/
|
|
2810
|
+
"ring-offset-color": [{
|
|
2811
|
+
"ring-offset": [e]
|
|
2812
|
+
}],
|
|
2813
|
+
// Effects
|
|
2814
|
+
/**
|
|
2815
|
+
* Box Shadow
|
|
2816
|
+
* @see https://tailwindcss.com/docs/box-shadow
|
|
2817
|
+
*/
|
|
2818
|
+
shadow: [{
|
|
2819
|
+
shadow: ["", "inner", "none", W, ur]
|
|
2820
|
+
}],
|
|
2821
|
+
/**
|
|
2822
|
+
* Box Shadow Color
|
|
2823
|
+
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
2824
|
+
*/
|
|
2825
|
+
"shadow-color": [{
|
|
2826
|
+
shadow: [j]
|
|
2827
|
+
}],
|
|
2828
|
+
/**
|
|
2829
|
+
* Opacity
|
|
2830
|
+
* @see https://tailwindcss.com/docs/opacity
|
|
2831
|
+
*/
|
|
2832
|
+
opacity: [{
|
|
2833
|
+
opacity: [x]
|
|
2834
|
+
}],
|
|
2835
|
+
/**
|
|
2836
|
+
* Mix Blend Mode
|
|
2837
|
+
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2838
|
+
*/
|
|
2839
|
+
"mix-blend": [{
|
|
2840
|
+
"mix-blend": [...le(), "plus-lighter", "plus-darker"]
|
|
2841
|
+
}],
|
|
2842
|
+
/**
|
|
2843
|
+
* Background Blend Mode
|
|
2844
|
+
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2845
|
+
*/
|
|
2846
|
+
"bg-blend": [{
|
|
2847
|
+
"bg-blend": le()
|
|
2848
|
+
}],
|
|
2849
|
+
// Filters
|
|
2850
|
+
/**
|
|
2851
|
+
* Filter
|
|
2852
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
2853
|
+
* @see https://tailwindcss.com/docs/filter
|
|
2854
|
+
*/
|
|
2855
|
+
filter: [{
|
|
2856
|
+
filter: ["", "none"]
|
|
2857
|
+
}],
|
|
2858
|
+
/**
|
|
2859
|
+
* Blur
|
|
2860
|
+
* @see https://tailwindcss.com/docs/blur
|
|
2861
|
+
*/
|
|
2862
|
+
blur: [{
|
|
2863
|
+
blur: [r]
|
|
2864
|
+
}],
|
|
2865
|
+
/**
|
|
2866
|
+
* Brightness
|
|
2867
|
+
* @see https://tailwindcss.com/docs/brightness
|
|
2868
|
+
*/
|
|
2869
|
+
brightness: [{
|
|
2870
|
+
brightness: [n]
|
|
2871
|
+
}],
|
|
2872
|
+
/**
|
|
2873
|
+
* Contrast
|
|
2874
|
+
* @see https://tailwindcss.com/docs/contrast
|
|
2875
|
+
*/
|
|
2876
|
+
contrast: [{
|
|
2877
|
+
contrast: [l]
|
|
2878
|
+
}],
|
|
2879
|
+
/**
|
|
2880
|
+
* Drop Shadow
|
|
2881
|
+
* @see https://tailwindcss.com/docs/drop-shadow
|
|
2882
|
+
*/
|
|
2883
|
+
"drop-shadow": [{
|
|
2884
|
+
"drop-shadow": ["", "none", W, c]
|
|
2885
|
+
}],
|
|
2886
|
+
/**
|
|
2887
|
+
* Grayscale
|
|
2888
|
+
* @see https://tailwindcss.com/docs/grayscale
|
|
2889
|
+
*/
|
|
2890
|
+
grayscale: [{
|
|
2891
|
+
grayscale: [d]
|
|
2892
|
+
}],
|
|
2893
|
+
/**
|
|
2894
|
+
* Hue Rotate
|
|
2895
|
+
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2896
|
+
*/
|
|
2897
|
+
"hue-rotate": [{
|
|
2898
|
+
"hue-rotate": [f]
|
|
2899
|
+
}],
|
|
2900
|
+
/**
|
|
2901
|
+
* Invert
|
|
2902
|
+
* @see https://tailwindcss.com/docs/invert
|
|
2903
|
+
*/
|
|
2904
|
+
invert: [{
|
|
2905
|
+
invert: [y]
|
|
2906
|
+
}],
|
|
2907
|
+
/**
|
|
2908
|
+
* Saturate
|
|
2909
|
+
* @see https://tailwindcss.com/docs/saturate
|
|
2910
|
+
*/
|
|
2911
|
+
saturate: [{
|
|
2912
|
+
saturate: [F]
|
|
2913
|
+
}],
|
|
2914
|
+
/**
|
|
2915
|
+
* Sepia
|
|
2916
|
+
* @see https://tailwindcss.com/docs/sepia
|
|
2917
|
+
*/
|
|
2918
|
+
sepia: [{
|
|
2919
|
+
sepia: [_]
|
|
2920
|
+
}],
|
|
2921
|
+
/**
|
|
2922
|
+
* Backdrop Filter
|
|
2923
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
2924
|
+
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
2925
|
+
*/
|
|
2926
|
+
"backdrop-filter": [{
|
|
2927
|
+
"backdrop-filter": ["", "none"]
|
|
2928
|
+
}],
|
|
2929
|
+
/**
|
|
2930
|
+
* Backdrop Blur
|
|
2931
|
+
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2932
|
+
*/
|
|
2933
|
+
"backdrop-blur": [{
|
|
2934
|
+
"backdrop-blur": [r]
|
|
2935
|
+
}],
|
|
2936
|
+
/**
|
|
2937
|
+
* Backdrop Brightness
|
|
2938
|
+
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2939
|
+
*/
|
|
2940
|
+
"backdrop-brightness": [{
|
|
2941
|
+
"backdrop-brightness": [n]
|
|
2942
|
+
}],
|
|
2943
|
+
/**
|
|
2944
|
+
* Backdrop Contrast
|
|
2945
|
+
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2946
|
+
*/
|
|
2947
|
+
"backdrop-contrast": [{
|
|
2948
|
+
"backdrop-contrast": [l]
|
|
2949
|
+
}],
|
|
2950
|
+
/**
|
|
2951
|
+
* Backdrop Grayscale
|
|
2952
|
+
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2953
|
+
*/
|
|
2954
|
+
"backdrop-grayscale": [{
|
|
2955
|
+
"backdrop-grayscale": [d]
|
|
2956
|
+
}],
|
|
2957
|
+
/**
|
|
2958
|
+
* Backdrop Hue Rotate
|
|
2959
|
+
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2960
|
+
*/
|
|
2961
|
+
"backdrop-hue-rotate": [{
|
|
2962
|
+
"backdrop-hue-rotate": [f]
|
|
2963
|
+
}],
|
|
2964
|
+
/**
|
|
2965
|
+
* Backdrop Invert
|
|
2966
|
+
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2967
|
+
*/
|
|
2968
|
+
"backdrop-invert": [{
|
|
2969
|
+
"backdrop-invert": [y]
|
|
2970
|
+
}],
|
|
2971
|
+
/**
|
|
2972
|
+
* Backdrop Opacity
|
|
2973
|
+
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2974
|
+
*/
|
|
2975
|
+
"backdrop-opacity": [{
|
|
2976
|
+
"backdrop-opacity": [x]
|
|
2977
|
+
}],
|
|
2978
|
+
/**
|
|
2979
|
+
* Backdrop Saturate
|
|
2980
|
+
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2981
|
+
*/
|
|
2982
|
+
"backdrop-saturate": [{
|
|
2983
|
+
"backdrop-saturate": [F]
|
|
2984
|
+
}],
|
|
2985
|
+
/**
|
|
2986
|
+
* Backdrop Sepia
|
|
2987
|
+
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2988
|
+
*/
|
|
2989
|
+
"backdrop-sepia": [{
|
|
2990
|
+
"backdrop-sepia": [_]
|
|
2991
|
+
}],
|
|
2992
|
+
// Tables
|
|
2993
|
+
/**
|
|
2994
|
+
* Border Collapse
|
|
2995
|
+
* @see https://tailwindcss.com/docs/border-collapse
|
|
2996
|
+
*/
|
|
2997
|
+
"border-collapse": [{
|
|
2998
|
+
border: ["collapse", "separate"]
|
|
2999
|
+
}],
|
|
3000
|
+
/**
|
|
3001
|
+
* Border Spacing
|
|
3002
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
3003
|
+
*/
|
|
3004
|
+
"border-spacing": [{
|
|
3005
|
+
"border-spacing": [i]
|
|
3006
|
+
}],
|
|
3007
|
+
/**
|
|
3008
|
+
* Border Spacing X
|
|
3009
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
3010
|
+
*/
|
|
3011
|
+
"border-spacing-x": [{
|
|
3012
|
+
"border-spacing-x": [i]
|
|
3013
|
+
}],
|
|
3014
|
+
/**
|
|
3015
|
+
* Border Spacing Y
|
|
3016
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
3017
|
+
*/
|
|
3018
|
+
"border-spacing-y": [{
|
|
3019
|
+
"border-spacing-y": [i]
|
|
3020
|
+
}],
|
|
3021
|
+
/**
|
|
3022
|
+
* Table Layout
|
|
3023
|
+
* @see https://tailwindcss.com/docs/table-layout
|
|
3024
|
+
*/
|
|
3025
|
+
"table-layout": [{
|
|
3026
|
+
table: ["auto", "fixed"]
|
|
3027
|
+
}],
|
|
3028
|
+
/**
|
|
3029
|
+
* Caption Side
|
|
3030
|
+
* @see https://tailwindcss.com/docs/caption-side
|
|
3031
|
+
*/
|
|
3032
|
+
caption: [{
|
|
3033
|
+
caption: ["top", "bottom"]
|
|
3034
|
+
}],
|
|
3035
|
+
// Transitions and Animation
|
|
3036
|
+
/**
|
|
3037
|
+
* Tranisition Property
|
|
3038
|
+
* @see https://tailwindcss.com/docs/transition-property
|
|
3039
|
+
*/
|
|
3040
|
+
transition: [{
|
|
3041
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", c]
|
|
3042
|
+
}],
|
|
3043
|
+
/**
|
|
3044
|
+
* Transition Duration
|
|
3045
|
+
* @see https://tailwindcss.com/docs/transition-duration
|
|
3046
|
+
*/
|
|
3047
|
+
duration: [{
|
|
3048
|
+
duration: P()
|
|
3049
|
+
}],
|
|
3050
|
+
/**
|
|
3051
|
+
* Transition Timing Function
|
|
3052
|
+
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
3053
|
+
*/
|
|
3054
|
+
ease: [{
|
|
3055
|
+
ease: ["linear", "in", "out", "in-out", c]
|
|
3056
|
+
}],
|
|
3057
|
+
/**
|
|
3058
|
+
* Transition Delay
|
|
3059
|
+
* @see https://tailwindcss.com/docs/transition-delay
|
|
3060
|
+
*/
|
|
3061
|
+
delay: [{
|
|
3062
|
+
delay: P()
|
|
3063
|
+
}],
|
|
3064
|
+
/**
|
|
3065
|
+
* Animation
|
|
3066
|
+
* @see https://tailwindcss.com/docs/animation
|
|
3067
|
+
*/
|
|
3068
|
+
animate: [{
|
|
3069
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", c]
|
|
3070
|
+
}],
|
|
3071
|
+
// Transforms
|
|
3072
|
+
/**
|
|
3073
|
+
* Transform
|
|
3074
|
+
* @see https://tailwindcss.com/docs/transform
|
|
3075
|
+
*/
|
|
3076
|
+
transform: [{
|
|
3077
|
+
transform: ["", "gpu", "none"]
|
|
3078
|
+
}],
|
|
3079
|
+
/**
|
|
3080
|
+
* Scale
|
|
3081
|
+
* @see https://tailwindcss.com/docs/scale
|
|
3082
|
+
*/
|
|
3083
|
+
scale: [{
|
|
3084
|
+
scale: [D]
|
|
3085
|
+
}],
|
|
3086
|
+
/**
|
|
3087
|
+
* Scale X
|
|
3088
|
+
* @see https://tailwindcss.com/docs/scale
|
|
3089
|
+
*/
|
|
3090
|
+
"scale-x": [{
|
|
3091
|
+
"scale-x": [D]
|
|
3092
|
+
}],
|
|
3093
|
+
/**
|
|
3094
|
+
* Scale Y
|
|
3095
|
+
* @see https://tailwindcss.com/docs/scale
|
|
3096
|
+
*/
|
|
3097
|
+
"scale-y": [{
|
|
3098
|
+
"scale-y": [D]
|
|
3099
|
+
}],
|
|
3100
|
+
/**
|
|
3101
|
+
* Rotate
|
|
3102
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
3103
|
+
*/
|
|
3104
|
+
rotate: [{
|
|
3105
|
+
rotate: [q, c]
|
|
3106
|
+
}],
|
|
3107
|
+
/**
|
|
3108
|
+
* Translate X
|
|
3109
|
+
* @see https://tailwindcss.com/docs/translate
|
|
3110
|
+
*/
|
|
3111
|
+
"translate-x": [{
|
|
3112
|
+
"translate-x": [se]
|
|
3113
|
+
}],
|
|
3114
|
+
/**
|
|
3115
|
+
* Translate Y
|
|
3116
|
+
* @see https://tailwindcss.com/docs/translate
|
|
3117
|
+
*/
|
|
3118
|
+
"translate-y": [{
|
|
3119
|
+
"translate-y": [se]
|
|
3120
|
+
}],
|
|
3121
|
+
/**
|
|
3122
|
+
* Skew X
|
|
3123
|
+
* @see https://tailwindcss.com/docs/skew
|
|
3124
|
+
*/
|
|
3125
|
+
"skew-x": [{
|
|
3126
|
+
"skew-x": [oe]
|
|
3127
|
+
}],
|
|
3128
|
+
/**
|
|
3129
|
+
* Skew Y
|
|
3130
|
+
* @see https://tailwindcss.com/docs/skew
|
|
3131
|
+
*/
|
|
3132
|
+
"skew-y": [{
|
|
3133
|
+
"skew-y": [oe]
|
|
3134
|
+
}],
|
|
3135
|
+
/**
|
|
3136
|
+
* Transform Origin
|
|
3137
|
+
* @see https://tailwindcss.com/docs/transform-origin
|
|
3138
|
+
*/
|
|
3139
|
+
"transform-origin": [{
|
|
3140
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", c]
|
|
3141
|
+
}],
|
|
3142
|
+
// Interactivity
|
|
3143
|
+
/**
|
|
3144
|
+
* Accent Color
|
|
3145
|
+
* @see https://tailwindcss.com/docs/accent-color
|
|
3146
|
+
*/
|
|
3147
|
+
accent: [{
|
|
3148
|
+
accent: ["auto", e]
|
|
3149
|
+
}],
|
|
3150
|
+
/**
|
|
3151
|
+
* Appearance
|
|
3152
|
+
* @see https://tailwindcss.com/docs/appearance
|
|
3153
|
+
*/
|
|
3154
|
+
appearance: [{
|
|
3155
|
+
appearance: ["none", "auto"]
|
|
3156
|
+
}],
|
|
3157
|
+
/**
|
|
3158
|
+
* Cursor
|
|
3159
|
+
* @see https://tailwindcss.com/docs/cursor
|
|
3160
|
+
*/
|
|
3161
|
+
cursor: [{
|
|
3162
|
+
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", c]
|
|
3163
|
+
}],
|
|
3164
|
+
/**
|
|
3165
|
+
* Caret Color
|
|
3166
|
+
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
3167
|
+
*/
|
|
3168
|
+
"caret-color": [{
|
|
3169
|
+
caret: [e]
|
|
3170
|
+
}],
|
|
3171
|
+
/**
|
|
3172
|
+
* Pointer Events
|
|
3173
|
+
* @see https://tailwindcss.com/docs/pointer-events
|
|
3174
|
+
*/
|
|
3175
|
+
"pointer-events": [{
|
|
3176
|
+
"pointer-events": ["none", "auto"]
|
|
3177
|
+
}],
|
|
3178
|
+
/**
|
|
3179
|
+
* Resize
|
|
3180
|
+
* @see https://tailwindcss.com/docs/resize
|
|
3181
|
+
*/
|
|
3182
|
+
resize: [{
|
|
3183
|
+
resize: ["none", "y", "x", ""]
|
|
3184
|
+
}],
|
|
3185
|
+
/**
|
|
3186
|
+
* Scroll Behavior
|
|
3187
|
+
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
3188
|
+
*/
|
|
3189
|
+
"scroll-behavior": [{
|
|
3190
|
+
scroll: ["auto", "smooth"]
|
|
3191
|
+
}],
|
|
3192
|
+
/**
|
|
3193
|
+
* Scroll Margin
|
|
3194
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3195
|
+
*/
|
|
3196
|
+
"scroll-m": [{
|
|
3197
|
+
"scroll-m": p()
|
|
3198
|
+
}],
|
|
3199
|
+
/**
|
|
3200
|
+
* Scroll Margin X
|
|
3201
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3202
|
+
*/
|
|
3203
|
+
"scroll-mx": [{
|
|
3204
|
+
"scroll-mx": p()
|
|
3205
|
+
}],
|
|
3206
|
+
/**
|
|
3207
|
+
* Scroll Margin Y
|
|
3208
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3209
|
+
*/
|
|
3210
|
+
"scroll-my": [{
|
|
3211
|
+
"scroll-my": p()
|
|
3212
|
+
}],
|
|
3213
|
+
/**
|
|
3214
|
+
* Scroll Margin Start
|
|
3215
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3216
|
+
*/
|
|
3217
|
+
"scroll-ms": [{
|
|
3218
|
+
"scroll-ms": p()
|
|
3219
|
+
}],
|
|
3220
|
+
/**
|
|
3221
|
+
* Scroll Margin End
|
|
3222
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3223
|
+
*/
|
|
3224
|
+
"scroll-me": [{
|
|
3225
|
+
"scroll-me": p()
|
|
3226
|
+
}],
|
|
3227
|
+
/**
|
|
3228
|
+
* Scroll Margin Top
|
|
3229
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3230
|
+
*/
|
|
3231
|
+
"scroll-mt": [{
|
|
3232
|
+
"scroll-mt": p()
|
|
3233
|
+
}],
|
|
3234
|
+
/**
|
|
3235
|
+
* Scroll Margin Right
|
|
3236
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3237
|
+
*/
|
|
3238
|
+
"scroll-mr": [{
|
|
3239
|
+
"scroll-mr": p()
|
|
3240
|
+
}],
|
|
3241
|
+
/**
|
|
3242
|
+
* Scroll Margin Bottom
|
|
3243
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3244
|
+
*/
|
|
3245
|
+
"scroll-mb": [{
|
|
3246
|
+
"scroll-mb": p()
|
|
3247
|
+
}],
|
|
3248
|
+
/**
|
|
3249
|
+
* Scroll Margin Left
|
|
3250
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3251
|
+
*/
|
|
3252
|
+
"scroll-ml": [{
|
|
3253
|
+
"scroll-ml": p()
|
|
3254
|
+
}],
|
|
3255
|
+
/**
|
|
3256
|
+
* Scroll Padding
|
|
3257
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3258
|
+
*/
|
|
3259
|
+
"scroll-p": [{
|
|
3260
|
+
"scroll-p": p()
|
|
3261
|
+
}],
|
|
3262
|
+
/**
|
|
3263
|
+
* Scroll Padding X
|
|
3264
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3265
|
+
*/
|
|
3266
|
+
"scroll-px": [{
|
|
3267
|
+
"scroll-px": p()
|
|
3268
|
+
}],
|
|
3269
|
+
/**
|
|
3270
|
+
* Scroll Padding Y
|
|
3271
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3272
|
+
*/
|
|
3273
|
+
"scroll-py": [{
|
|
3274
|
+
"scroll-py": p()
|
|
3275
|
+
}],
|
|
3276
|
+
/**
|
|
3277
|
+
* Scroll Padding Start
|
|
3278
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3279
|
+
*/
|
|
3280
|
+
"scroll-ps": [{
|
|
3281
|
+
"scroll-ps": p()
|
|
3282
|
+
}],
|
|
3283
|
+
/**
|
|
3284
|
+
* Scroll Padding End
|
|
3285
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3286
|
+
*/
|
|
3287
|
+
"scroll-pe": [{
|
|
3288
|
+
"scroll-pe": p()
|
|
3289
|
+
}],
|
|
3290
|
+
/**
|
|
3291
|
+
* Scroll Padding Top
|
|
3292
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3293
|
+
*/
|
|
3294
|
+
"scroll-pt": [{
|
|
3295
|
+
"scroll-pt": p()
|
|
3296
|
+
}],
|
|
3297
|
+
/**
|
|
3298
|
+
* Scroll Padding Right
|
|
3299
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3300
|
+
*/
|
|
3301
|
+
"scroll-pr": [{
|
|
3302
|
+
"scroll-pr": p()
|
|
3303
|
+
}],
|
|
3304
|
+
/**
|
|
3305
|
+
* Scroll Padding Bottom
|
|
3306
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3307
|
+
*/
|
|
3308
|
+
"scroll-pb": [{
|
|
3309
|
+
"scroll-pb": p()
|
|
3310
|
+
}],
|
|
3311
|
+
/**
|
|
3312
|
+
* Scroll Padding Left
|
|
3313
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3314
|
+
*/
|
|
3315
|
+
"scroll-pl": [{
|
|
3316
|
+
"scroll-pl": p()
|
|
3317
|
+
}],
|
|
3318
|
+
/**
|
|
3319
|
+
* Scroll Snap Align
|
|
3320
|
+
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
3321
|
+
*/
|
|
3322
|
+
"snap-align": [{
|
|
3323
|
+
snap: ["start", "end", "center", "align-none"]
|
|
3324
|
+
}],
|
|
3325
|
+
/**
|
|
3326
|
+
* Scroll Snap Stop
|
|
3327
|
+
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
3328
|
+
*/
|
|
3329
|
+
"snap-stop": [{
|
|
3330
|
+
snap: ["normal", "always"]
|
|
3331
|
+
}],
|
|
3332
|
+
/**
|
|
3333
|
+
* Scroll Snap Type
|
|
3334
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
3335
|
+
*/
|
|
3336
|
+
"snap-type": [{
|
|
3337
|
+
snap: ["none", "x", "y", "both"]
|
|
3338
|
+
}],
|
|
3339
|
+
/**
|
|
3340
|
+
* Scroll Snap Type Strictness
|
|
3341
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
3342
|
+
*/
|
|
3343
|
+
"snap-strictness": [{
|
|
3344
|
+
snap: ["mandatory", "proximity"]
|
|
3345
|
+
}],
|
|
3346
|
+
/**
|
|
3347
|
+
* Touch Action
|
|
3348
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3349
|
+
*/
|
|
3350
|
+
touch: [{
|
|
3351
|
+
touch: ["auto", "none", "manipulation"]
|
|
3352
|
+
}],
|
|
3353
|
+
/**
|
|
3354
|
+
* Touch Action X
|
|
3355
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3356
|
+
*/
|
|
3357
|
+
"touch-x": [{
|
|
3358
|
+
"touch-pan": ["x", "left", "right"]
|
|
3359
|
+
}],
|
|
3360
|
+
/**
|
|
3361
|
+
* Touch Action Y
|
|
3362
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3363
|
+
*/
|
|
3364
|
+
"touch-y": [{
|
|
3365
|
+
"touch-pan": ["y", "up", "down"]
|
|
3366
|
+
}],
|
|
3367
|
+
/**
|
|
3368
|
+
* Touch Action Pinch Zoom
|
|
3369
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3370
|
+
*/
|
|
3371
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
3372
|
+
/**
|
|
3373
|
+
* User Select
|
|
3374
|
+
* @see https://tailwindcss.com/docs/user-select
|
|
3375
|
+
*/
|
|
3376
|
+
select: [{
|
|
3377
|
+
select: ["none", "text", "all", "auto"]
|
|
3378
|
+
}],
|
|
3379
|
+
/**
|
|
3380
|
+
* Will Change
|
|
3381
|
+
* @see https://tailwindcss.com/docs/will-change
|
|
3382
|
+
*/
|
|
3383
|
+
"will-change": [{
|
|
3384
|
+
"will-change": ["auto", "scroll", "contents", "transform", c]
|
|
3385
|
+
}],
|
|
3386
|
+
// SVG
|
|
3387
|
+
/**
|
|
3388
|
+
* Fill
|
|
3389
|
+
* @see https://tailwindcss.com/docs/fill
|
|
3390
|
+
*/
|
|
3391
|
+
fill: [{
|
|
3392
|
+
fill: [e, "none"]
|
|
3393
|
+
}],
|
|
3394
|
+
/**
|
|
3395
|
+
* Stroke Width
|
|
3396
|
+
* @see https://tailwindcss.com/docs/stroke-width
|
|
3397
|
+
*/
|
|
3398
|
+
"stroke-w": [{
|
|
3399
|
+
stroke: [S, C, ee]
|
|
3400
|
+
}],
|
|
3401
|
+
/**
|
|
3402
|
+
* Stroke
|
|
3403
|
+
* @see https://tailwindcss.com/docs/stroke
|
|
3404
|
+
*/
|
|
3405
|
+
stroke: [{
|
|
3406
|
+
stroke: [e, "none"]
|
|
3407
|
+
}],
|
|
3408
|
+
// Accessibility
|
|
3409
|
+
/**
|
|
3410
|
+
* Screen Readers
|
|
3411
|
+
* @see https://tailwindcss.com/docs/screen-readers
|
|
3412
|
+
*/
|
|
3413
|
+
sr: ["sr-only", "not-sr-only"],
|
|
3414
|
+
/**
|
|
3415
|
+
* Forced Color Adjust
|
|
3416
|
+
* @see https://tailwindcss.com/docs/forced-color-adjust
|
|
3417
|
+
*/
|
|
3418
|
+
"forced-color-adjust": [{
|
|
3419
|
+
"forced-color-adjust": ["auto", "none"]
|
|
3420
|
+
}]
|
|
3421
|
+
},
|
|
3422
|
+
conflictingClassGroups: {
|
|
3423
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
3424
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
3425
|
+
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
3426
|
+
"inset-x": ["right", "left"],
|
|
3427
|
+
"inset-y": ["top", "bottom"],
|
|
3428
|
+
flex: ["basis", "grow", "shrink"],
|
|
3429
|
+
gap: ["gap-x", "gap-y"],
|
|
3430
|
+
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
3431
|
+
px: ["pr", "pl"],
|
|
3432
|
+
py: ["pt", "pb"],
|
|
3433
|
+
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
3434
|
+
mx: ["mr", "ml"],
|
|
3435
|
+
my: ["mt", "mb"],
|
|
3436
|
+
size: ["w", "h"],
|
|
3437
|
+
"font-size": ["leading"],
|
|
3438
|
+
"fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
|
|
3439
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
3440
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
3441
|
+
"fvn-figure": ["fvn-normal"],
|
|
3442
|
+
"fvn-spacing": ["fvn-normal"],
|
|
3443
|
+
"fvn-fraction": ["fvn-normal"],
|
|
3444
|
+
"line-clamp": ["display", "overflow"],
|
|
3445
|
+
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"],
|
|
3446
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
3447
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
3448
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
3449
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
3450
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
3451
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
3452
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
3453
|
+
"border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
3454
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
3455
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
3456
|
+
"border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
3457
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
3458
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
3459
|
+
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
3460
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
3461
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
3462
|
+
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
3463
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
3464
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
3465
|
+
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
3466
|
+
"touch-x": ["touch"],
|
|
3467
|
+
"touch-y": ["touch"],
|
|
3468
|
+
"touch-pz": ["touch"]
|
|
3469
|
+
},
|
|
3470
|
+
conflictingClassGroupModifiers: {
|
|
3471
|
+
"font-size": ["leading"]
|
|
3472
|
+
}
|
|
3473
|
+
};
|
|
3474
|
+
}, gr = (e, {
|
|
3475
|
+
cacheSize: t,
|
|
3476
|
+
prefix: r,
|
|
3477
|
+
separator: n,
|
|
3478
|
+
experimentalParseClassName: o,
|
|
3479
|
+
extend: a = {},
|
|
3480
|
+
override: i = {}
|
|
3481
|
+
}) => {
|
|
3482
|
+
I(e, "cacheSize", t), I(e, "prefix", r), I(e, "separator", n), I(e, "experimentalParseClassName", o);
|
|
3483
|
+
for (const s in i)
|
|
3484
|
+
br(e[s], i[s]);
|
|
3485
|
+
for (const s in a)
|
|
3486
|
+
pr(e[s], a[s]);
|
|
3487
|
+
return e;
|
|
3488
|
+
}, I = (e, t, r) => {
|
|
3489
|
+
r !== void 0 && (e[t] = r);
|
|
3490
|
+
}, br = (e, t) => {
|
|
3491
|
+
if (t)
|
|
3492
|
+
for (const r in t)
|
|
3493
|
+
I(e, r, t[r]);
|
|
3494
|
+
}, pr = (e, t) => {
|
|
3495
|
+
if (t)
|
|
3496
|
+
for (const r in t) {
|
|
3497
|
+
const n = t[r];
|
|
3498
|
+
n !== void 0 && (e[r] = (e[r] || []).concat(n));
|
|
3499
|
+
}
|
|
3500
|
+
}, yr = (e, ...t) => typeof e == "function" ? xe(ve, e, ...t) : xe(() => gr(ve(), e), ...t), te = (e, { splitClassName: t } = { splitClassName: !0 }) => {
|
|
3501
|
+
const r = {};
|
|
3502
|
+
return Object.keys(e).forEach((n) => {
|
|
3503
|
+
const [o, a] = t ? n.split("-") : ["", n], i = `text-${t ? o : n}`;
|
|
3504
|
+
r[i] || (r[i] = []), r[i].push(a);
|
|
3505
|
+
}), r;
|
|
3506
|
+
}, wr = (e) => {
|
|
3507
|
+
const t = {};
|
|
3508
|
+
return Object.entries(e).forEach(([r, n]) => {
|
|
3509
|
+
const o = `text-${r}`;
|
|
3510
|
+
t[o] = Object.keys(n).filter(
|
|
3511
|
+
(a) => !isNaN(Number(a))
|
|
3512
|
+
);
|
|
3513
|
+
}), t;
|
|
3514
|
+
}, xr = yr({
|
|
3515
|
+
extend: {
|
|
3516
|
+
classGroups: {
|
|
3517
|
+
"font-size": [
|
|
3518
|
+
te(K.textStyles.body),
|
|
3519
|
+
te(K.textStyles.headings, {
|
|
3520
|
+
splitClassName: !1
|
|
3521
|
+
}),
|
|
3522
|
+
te(K.textStyles.link, {
|
|
3523
|
+
splitClassName: !1
|
|
3524
|
+
})
|
|
3525
|
+
],
|
|
3526
|
+
"text-color": [wr(Ee)]
|
|
3527
|
+
}
|
|
3528
|
+
}
|
|
3529
|
+
}), Mr = (...e) => xr(qt(e));
|
|
3530
|
+
export {
|
|
3531
|
+
Mr as a,
|
|
3532
|
+
qt as b,
|
|
3533
|
+
te as c,
|
|
3534
|
+
kr as f
|
|
3535
|
+
};
|