@worldcoin/mini-apps-ui-kit-react 1.0.0-canary.2 → 1.0.0-canary.20
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 +15 -17
- package/dist/_virtual/_commonjsHelpers.js +3 -3
- package/dist/_virtual/create-plugin.js +2 -2
- package/dist/_virtual/createPlugin.js +2 -2
- package/dist/_virtual/plugin.js +5 -5
- package/dist/components/AlertDialog/AlertDialog.js +73 -74
- package/dist/components/AlertDialog/index.d.ts +2 -1
- package/dist/components/AlertDialog/use-alert-dialog.js +9 -7
- package/dist/components/BottomBar/BottomBar.d.ts +4 -3
- package/dist/components/BottomBar/BottomBar.js +11 -8
- package/dist/components/BottomBar/index.d.ts +1 -1
- package/dist/components/BulletList/BulletList.d.ts +10 -5
- package/dist/components/BulletList/BulletList.js +28 -8
- package/dist/components/BulletList/index.d.ts +1 -1
- package/dist/components/Button/Button.d.ts +4 -9
- package/dist/components/Button/Button.js +38 -48
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +4 -3
- package/dist/components/Checkbox/Checkbox.js +21 -20
- package/dist/components/Checkbox/index.d.ts +1 -1
- package/dist/components/Chip/Chip.d.ts +6 -5
- package/dist/components/Chip/Chip.js +25 -15
- package/dist/components/Chip/index.d.ts +1 -1
- package/dist/components/CircularIcon/CircularIcon.d.ts +10 -0
- package/dist/components/CircularIcon/CircularIcon.js +34 -0
- package/dist/components/CircularIcon/index.d.ts +1 -0
- package/dist/components/ClearButton/Clear.d.ts +3 -2
- package/dist/components/ClearButton/Clear.js +7 -7
- package/dist/components/ClearButton/ClearButton.d.ts +2 -2
- package/dist/components/ClearButton/ClearButton.js +21 -17
- package/dist/components/ClearButton/index.d.ts +1 -1
- package/dist/components/ColorPicker/ColorPicker.d.ts +4 -3
- package/dist/components/ColorPicker/ColorPicker.js +36 -38
- package/dist/components/ColorPicker/index.d.ts +2 -1
- package/dist/components/CountryDrawer/CountryDrawer.d.ts +14 -2
- package/dist/components/CountryDrawer/CountryDrawer.js +58 -47
- package/dist/components/CountryDrawer/index.d.ts +1 -1
- package/dist/components/CountryDrawer/useCountryFiltering.js +7 -6
- package/dist/components/CountryDrawer/useCountryGrouping.js +18 -12
- package/dist/components/Drawer/Drawer.js +56 -55
- package/dist/components/Drawer/index.d.ts +2 -1
- package/dist/components/Drawer/use-drawer.js +9 -7
- package/dist/components/Flag/Flag.d.ts +4 -4
- package/dist/components/Flag/Flag.js +24 -10
- package/dist/components/Flag/constants.d.ts +1 -2
- package/dist/components/Flag/constants.js +2 -5
- package/dist/components/Flag/index.d.ts +1 -2
- package/dist/components/Flag/types.d.ts +2 -0
- package/dist/components/Flag/utils.d.ts +1 -1
- package/dist/components/Flag/utils.js +5 -3
- package/dist/components/Form/Form.d.ts +8 -7
- package/dist/components/Form/Form.js +29 -24
- package/dist/components/Icons/ArrowDown.js +6 -6
- package/dist/components/Icons/Clear.d.ts +8 -0
- package/dist/components/Icons/Delete.d.ts +1 -0
- package/dist/components/Icons/Fail.js +77 -75
- package/dist/components/Icons/MagicWand.js +11 -11
- package/dist/components/Icons/Magnifier.js +8 -8
- package/dist/components/Icons/Success.js +77 -75
- package/dist/components/Icons/Tick.js +7 -7
- package/dist/components/Icons/XMark.js +7 -7
- package/dist/components/Input/Input.d.ts +14 -43
- package/dist/components/Input/Input.js +182 -130
- package/dist/components/Input/index.d.ts +1 -1
- package/dist/components/ListItem/ListItem.d.ts +3 -2
- package/dist/components/ListItem/ListItem.js +30 -28
- package/dist/components/ListItem/index.d.ts +1 -1
- package/dist/components/LiveFeedback/LiveFeedback.d.ts +21 -0
- package/dist/components/LiveFeedback/LiveFeedback.js +48 -0
- package/dist/components/LiveFeedback/index.d.ts +1 -0
- package/dist/components/Marble/Marble.d.ts +2 -2
- package/dist/components/Marble/Marble.js +12 -13
- package/dist/components/Marble/index.d.ts +1 -1
- package/dist/components/NumberPad/Delete.js +6 -6
- package/dist/components/NumberPad/NumberPad.d.ts +3 -2
- package/dist/components/NumberPad/NumberPad.js +39 -36
- package/dist/components/NumberPad/index.d.ts +1 -1
- package/dist/components/OTPField/OTPField.d.ts +53 -2
- package/dist/components/OTPField/OTPField.js +63 -40
- package/dist/components/OTPField/index.d.ts +1 -1
- package/dist/components/PasswordField/PasswordField.d.ts +4 -3
- package/dist/components/PasswordField/index.d.ts +1 -1
- package/dist/components/PasteButton/PasteButton.d.ts +2 -2
- package/dist/components/PasteButton/PasteButton.js +25 -25
- package/dist/components/PasteButton/index.d.ts +1 -1
- package/dist/components/PhoneField/CountryListItem.js +34 -33
- package/dist/components/PhoneField/CountrySelectorButton.js +29 -27
- package/dist/components/PhoneField/GroupedCountryList.js +27 -24
- package/dist/components/PhoneField/PhoneField.d.ts +5 -9
- package/dist/components/PhoneField/PhoneField.js +79 -76
- package/dist/components/PhoneField/constants.d.ts +0 -1
- package/dist/components/PhoneField/constants.js +26 -24
- package/dist/components/PhoneField/index.d.ts +1 -1
- package/dist/components/PhoneField/utils.js +31 -20
- package/dist/components/Pill/Pill.d.ts +4 -3
- package/dist/components/Pill/Pill.js +27 -24
- package/dist/components/Pill/index.d.ts +1 -1
- package/dist/components/Progress/Progress.d.ts +6 -2
- package/dist/components/Progress/Progress.js +32 -29
- package/dist/components/Progress/index.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts +4 -3
- package/dist/components/RadioGroup/RadioGroup.js +30 -28
- package/dist/components/RadioGroup/RadioGroupItem.d.ts +4 -3
- package/dist/components/RadioGroup/RadioGroupItem.js +20 -19
- package/dist/components/RadioGroup/index.d.ts +2 -2
- package/dist/components/SearchField/SearchField.d.ts +4 -3
- package/dist/components/SearchField/SearchField.js +73 -67
- package/dist/components/SearchField/index.d.ts +1 -1
- package/dist/components/Select/Select.d.ts +5 -4
- package/dist/components/Select/Select.js +103 -63
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/Spinner/Spinner.d.ts +6 -2
- package/dist/components/Spinner/Spinner.js +37 -34
- package/dist/components/Spinner/index.d.ts +1 -1
- package/dist/components/Switch/Switch.d.ts +4 -3
- package/dist/components/Switch/Switch.js +20 -19
- package/dist/components/Switch/index.d.ts +1 -1
- package/dist/components/Tabs/Tabs.js +40 -40
- package/dist/components/Tabs/index.d.ts +2 -2
- package/dist/components/Tabs/types.d.ts +2 -2
- package/dist/components/TextArea/TextArea.d.ts +9 -4
- package/dist/components/TextArea/TextArea.js +70 -49
- package/dist/components/TextArea/index.d.ts +1 -1
- package/dist/components/Toast/Toast.js +47 -44
- package/dist/components/Toast/Toaster.d.ts +5 -1
- package/dist/components/Toast/Toaster.js +10 -9
- package/dist/components/Toast/index.d.ts +3 -3
- package/dist/components/Toast/use-toast.js +92 -67
- package/dist/components/ToggleGroup/ToggleGroup.js +18 -18
- package/dist/components/ToggleGroup/index.d.ts +1 -0
- package/dist/components/Token/Token.d.ts +3 -2
- package/dist/components/Token/Token.js +11 -11
- package/dist/components/Token/icons/btc.js +8 -8
- package/dist/components/Token/icons/dai.js +8 -8
- package/dist/components/Token/icons/eth.js +8 -8
- package/dist/components/Token/icons/index.js +12 -12
- package/dist/components/Token/icons/usdc.js +10 -10
- package/dist/components/Token/icons/usdt.js +8 -8
- package/dist/components/Token/icons/utils.js +10 -9
- package/dist/components/Token/icons/wld.js +8 -8
- package/dist/components/Token/index.d.ts +1 -1
- package/dist/components/TopBar/TopBar.d.ts +9 -3
- package/dist/components/TopBar/TopBar.js +34 -20
- package/dist/components/TopBar/index.d.ts +1 -1
- package/dist/components/Typography/Typography.d.ts +4 -3
- package/dist/components/Typography/Typography.js +27 -25
- package/dist/components/Typography/index.d.ts +1 -1
- package/dist/components/WalletAddressField/WalletAddressField.d.ts +4 -3
- package/dist/components/WalletAddressField/WalletAddressField.js +75 -65
- package/dist/components/WalletAddressField/index.d.ts +1 -1
- package/dist/index.d.ts +35 -34
- package/dist/index.js +93 -100
- package/dist/lib/constants/dropdownStyles.js +2 -2
- package/dist/lib/utils.js +11 -9
- package/dist/node_modules/.pnpm/@floating-ui_core@1.6.8/node_modules/@floating-ui/core/dist/floating-ui.core.js +558 -368
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.6.12/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +515 -304
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +258 -171
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.8/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +137 -102
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.8/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +110 -86
- package/dist/node_modules/.pnpm/@radix-ui_number@1.1.0/node_modules/@radix-ui/number/dist/index.js +3 -3
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.1/node_modules/@radix-ui/primitive/dist/index.js +7 -5
- package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_wfj52omijboqejc6zhpwkjvyjq/node_modules/@radix-ui/react-arrow/dist/index.js +17 -16
- package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1.1.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18._5vtvszwgvdmnkk62ia2dob365m/node_modules/@radix-ui/react-checkbox/dist/index.js +122 -96
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@1_du3umibpgknzrmwryvhzp3lgou/node_modules/@radix-ui/react-collection/dist/index.js +55 -35
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@1_tagbd57u5fsqga6qdjecsll7fm/node_modules/@radix-ui/react-collection/dist/index.js +55 -35
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js +29 -19
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.js +64 -53
- package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.4_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._vurlugjqrhlu53o6edaj3yx2bq/node_modules/@radix-ui/react-dialog/dist/index.js +274 -195
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-direction/dist/index.js +6 -6
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types__ejthwt4vwbnzwtfufv7q3bddiy/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +182 -97
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.5_@types_react-dom@18.3.5_@types_react@18.3.18__@types__nitdfoqpcbroetgllwgz3is5ai/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +186 -100
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js +23 -11
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@_4owg5o3kd7femmpae5yic5inii/node_modules/@radix-ui/react-focus-scope/dist/index.js +170 -99
- package/dist/node_modules/.pnpm/@radix-ui_react-form@0.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_z32yjmfa36dn2egycaeb5u52lm/node_modules/@radix-ui/react-form/dist/index.js +365 -234
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.js +11 -10
- package/dist/node_modules/.pnpm/@radix-ui_react-label@2.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_qr7n7ocfbwauilv6obluyms2qy/node_modules/@radix-ui/react-label/dist/index.js +21 -15
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._z2gu7tymhfvx6ebd6lqqykecmq/node_modules/@radix-ui/react-popper/dist/index.js +206 -138
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._jmui37rk6fvzofztyauznikgpi/node_modules/@radix-ui/react-portal/dist/index.js +15 -13
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.4_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._ulc3jfxcmrz2rfz7bui53djdtu/node_modules/@radix-ui/react-portal/dist/index.js +15 -13
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18._pqwkltkxenlrsgmgun6icjiigu/node_modules/@radix-ui/react-presence/dist/index.js +104 -46
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.0.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18_sspjpiczol7qxzbuuyfihuep4u/node_modules/@radix-ui/react-primitive/dist/index.js +20 -14
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.0.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18_sejcxqoscaweil2bvgwwavaoha/node_modules/@radix-ui/react-primitive/dist/index.js +20 -14
- package/dist/node_modules/.pnpm/@radix-ui_react-progress@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18._wpsg2ubedou6txnsnvgmus4txq/node_modules/@radix-ui/react-progress/dist/index.js +71 -59
- package/dist/node_modules/.pnpm/@radix-ui_react-radio-group@1.2.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@_2u6lfd2xt65wmbxn7lgvaxqbmy/node_modules/@radix-ui/react-radio-group/dist/index.js +211 -161
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react_bkbd3syfptkiebtjifbhjosaba/node_modules/@radix-ui/react-roving-focus/dist/index.js +176 -132
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react_ki7uy4u3diz5446cqygvbjwuge/node_modules/@radix-ui/react-roving-focus/dist/index.js +176 -132
- package/dist/node_modules/.pnpm/@radix-ui_react-select@2.1.4_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._atdh45n5c7sked5b6tbwgdz7re/node_modules/@radix-ui/react-select/dist/index.js +938 -607
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js +70 -36
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.1.2_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js +72 -34
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._udl6ccyllphugejc6sszfrese4/node_modules/@radix-ui/react-switch/dist/index.js +104 -81
- package/dist/node_modules/.pnpm/@radix-ui_react-toast@1.2.6_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_mux33mveszkw5z6iia6acnivvy/node_modules/@radix-ui/react-toast/dist/index.js +517 -323
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react_3smwloudr6a3igss4kifyxcwju/node_modules/@radix-ui/react-toggle-group/dist/index.js +139 -105
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._yiv2ptaqcv244n5f7zfldmgupm/node_modules/@radix-ui/react-toggle/dist/index.js +25 -21
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +10 -9
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +36 -23
- package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +13 -10
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +3 -3
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js +11 -5
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-size/dist/index.js +34 -22
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_re_m7thze522i3jfpb2tnge6dybgi/node_modules/@radix-ui/react-visually-hidden/dist/index.js +29 -26
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_re_omyrydx3gc2oidaiqb4gsovieq/node_modules/@radix-ui/react-visually-hidden/dist/index.js +29 -26
- package/dist/node_modules/.pnpm/@uidotdev_usehooks@2.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@uidotdev/usehooks/index.js +53 -26
- package/dist/node_modules/.pnpm/aria-hidden@1.2.4/node_modules/aria-hidden/dist/es2015/index.js +111 -41
- package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js +40 -30
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +13 -13
- package/dist/node_modules/.pnpm/countries-list@3.1.1/node_modules/countries-list/mjs/index.js +6 -4
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +5 -3
- package/dist/node_modules/.pnpm/input-otp@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/input-otp/dist/index.js +152 -145
- package/dist/node_modules/.pnpm/react-international-phone@4.4.0_react@18.3.1/node_modules/react-international-phone/dist/index.js +291 -271
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js +41 -65
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +8 -5
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +28 -16
- package/dist/node_modules/.pnpm/react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +8 -8
- package/dist/node_modules/.pnpm/react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +157 -95
- package/dist/node_modules/.pnpm/react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +31 -24
- package/dist/node_modules/.pnpm/react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +12 -9
- package/dist/node_modules/.pnpm/react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +86 -48
- package/dist/node_modules/.pnpm/react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +3 -3
- package/dist/node_modules/.pnpm/react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +5 -5
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/component.js +9 -7
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/hook.js +11 -10
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js +35 -17
- package/dist/node_modules/.pnpm/tailwind-merge@2.6.0/node_modules/tailwind-merge/dist/bundle-mjs.js +625 -424
- package/dist/node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/public/create-plugin.js +21 -17
- package/dist/node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/util/createPlugin.js +28 -21
- package/dist/node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/plugin.js +10 -8
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +33 -21
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js +8 -3
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +28 -19
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js +15 -11
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.18_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js +15 -12
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.18_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.js +64 -43
- package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_react-dom@18.3._7iqkcrcg5qjc3n2ixm6rnrnx3e/node_modules/vaul/dist/index.js +1205 -764
- package/dist/tailwind/index.d.ts +36 -0
- package/dist/{tailwind/index.js → tailwind.js} +119 -20
- package/package.json +86 -79
- package/public/flags/AD.svg +35 -0
- package/public/flags/AE.svg +30 -0
- package/public/flags/AF.svg +34 -0
- package/public/flags/AG.svg +38 -0
- package/public/flags/AI.svg +54 -0
- package/public/flags/AL.svg +22 -0
- package/public/flags/AM.svg +26 -0
- package/public/flags/AO.svg +34 -0
- package/public/flags/AR.svg +30 -0
- package/public/flags/AS.svg +38 -0
- package/public/flags/AT.svg +26 -0
- package/public/flags/AU.svg +59 -0
- package/public/flags/AW.svg +38 -0
- package/public/flags/AX.svg +38 -0
- package/public/flags/AZ.svg +34 -0
- package/public/flags/BA.svg +30 -0
- package/public/flags/BB.svg +30 -0
- package/public/flags/BD.svg +22 -0
- package/public/flags/BE.svg +26 -0
- package/public/flags/BF.svg +31 -0
- package/public/flags/BG.svg +26 -0
- package/public/flags/BH.svg +22 -0
- package/public/flags/BI.svg +50 -0
- package/public/flags/BJ.svg +26 -0
- package/public/flags/BL.svg +44 -0
- package/public/flags/BM.svg +52 -0
- package/public/flags/BN.svg +42 -0
- package/public/flags/BO.svg +26 -0
- package/public/flags/BQ.svg +34 -0
- package/public/flags/BR.svg +34 -0
- package/public/flags/BS.svg +30 -0
- package/public/flags/BT.svg +30 -0
- package/public/flags/BW.svg +30 -0
- package/public/flags/BY.svg +50 -0
- package/public/flags/BZ.svg +43 -0
- package/public/flags/CA.svg +30 -0
- package/public/flags/CC.svg +54 -0
- package/public/flags/CD.svg +34 -0
- package/public/flags/CF.svg +52 -0
- package/public/flags/CG.svg +26 -0
- package/public/flags/CH.svg +22 -0
- package/public/flags/CI.svg +26 -0
- package/public/flags/CK.svg +66 -0
- package/public/flags/CL.svg +30 -0
- package/public/flags/CM.svg +30 -0
- package/public/flags/CN.svg +38 -0
- package/public/flags/CO.svg +26 -0
- package/public/flags/CR.svg +30 -0
- package/public/flags/CU.svg +39 -0
- package/public/flags/CV.svg +70 -0
- package/public/flags/CW.svg +34 -0
- package/public/flags/CY.svg +26 -0
- package/public/flags/CZ.svg +26 -0
- package/public/flags/DE.svg +26 -0
- package/public/flags/DJ.svg +30 -0
- package/public/flags/DK.svg +34 -0
- package/public/flags/DM.svg +114 -0
- package/public/flags/DO.svg +46 -0
- package/public/flags/DZ.svg +30 -0
- package/public/flags/EC.svg +38 -0
- package/public/flags/EE.svg +26 -0
- package/public/flags/EG.svg +30 -0
- package/public/flags/ER.svg +30 -0
- package/public/flags/ES.svg +26 -0
- package/public/flags/ET.svg +38 -0
- package/public/flags/EU.svg +50 -0
- package/public/flags/FI.svg +22 -0
- package/public/flags/FJ.svg +47 -0
- package/public/flags/FK.svg +50 -0
- package/public/flags/FM.svg +34 -0
- package/public/flags/FO.svg +26 -0
- package/public/flags/FR.svg +26 -0
- package/public/flags/GA.svg +26 -0
- package/public/flags/GB.svg +70 -0
- package/public/flags/GD.svg +83 -0
- package/public/flags/GE.svg +38 -0
- package/public/flags/GG.svg +26 -0
- package/public/flags/GH.svg +30 -0
- package/public/flags/GI.svg +30 -0
- package/public/flags/GL.svg +30 -0
- package/public/flags/GM.svg +30 -0
- package/public/flags/GN.svg +26 -0
- package/public/flags/GP.svg +26 -0
- package/public/flags/GQ.svg +39 -0
- package/public/flags/GR.svg +38 -0
- package/public/flags/GT.svg +34 -0
- package/public/flags/GU.svg +44 -0
- package/public/flags/GW.svg +34 -0
- package/public/flags/GY.svg +38 -0
- package/public/flags/HK.svg +38 -0
- package/public/flags/HN.svg +46 -0
- package/public/flags/HR.svg +69 -0
- package/public/flags/HT.svg +40 -0
- package/public/flags/HU.svg +26 -0
- package/public/flags/ID.svg +22 -0
- package/public/flags/IE.svg +26 -0
- package/public/flags/IL.svg +30 -0
- package/public/flags/IM.svg +22 -0
- package/public/flags/IN.svg +38 -0
- package/public/flags/IO.svg +82 -0
- package/public/flags/IQ.svg +38 -0
- package/public/flags/IR.svg +30 -0
- package/public/flags/IS.svg +38 -0
- package/public/flags/IT.svg +26 -0
- package/public/flags/JE.svg +30 -0
- package/public/flags/JM.svg +34 -0
- package/public/flags/JO.svg +34 -0
- package/public/flags/JP.svg +22 -0
- package/public/flags/KE.svg +54 -0
- package/public/flags/KG.svg +42 -0
- package/public/flags/KH.svg +30 -0
- package/public/flags/KI.svg +46 -0
- package/public/flags/KM.svg +54 -0
- package/public/flags/KP.svg +38 -0
- package/public/flags/KR.svg +98 -0
- package/public/flags/KW.svg +30 -0
- package/public/flags/KY.svg +55 -0
- package/public/flags/KZ.svg +30 -0
- package/public/flags/LA.svg +30 -0
- package/public/flags/LB.svg +30 -0
- package/public/flags/LC.svg +21 -0
- package/public/flags/LI.svg +26 -0
- package/public/flags/LK.svg +32 -0
- package/public/flags/LR.svg +70 -0
- package/public/flags/LS.svg +30 -0
- package/public/flags/LT.svg +26 -0
- package/public/flags/LU.svg +26 -0
- package/public/flags/LV.svg +26 -0
- package/public/flags/LY.svg +34 -0
- package/public/flags/MA.svg +22 -0
- package/public/flags/MC.svg +22 -0
- package/public/flags/MD.svg +35 -0
- package/public/flags/ME.svg +35 -0
- package/public/flags/MG.svg +26 -0
- package/public/flags/MH.svg +30 -0
- package/public/flags/MK.svg +58 -0
- package/public/flags/ML.svg +26 -0
- package/public/flags/MM.svg +30 -0
- package/public/flags/MN.svg +42 -0
- package/public/flags/MO.svg +50 -0
- package/public/flags/MP.svg +34 -0
- package/public/flags/MQ.svg +50 -0
- package/public/flags/MR.svg +26 -0
- package/public/flags/MS.svg +46 -0
- package/public/flags/MT.svg +26 -0
- package/public/flags/MU.svg +30 -0
- package/public/flags/MV.svg +23 -0
- package/public/flags/MW.svg +30 -0
- package/public/flags/MX.svg +34 -0
- package/public/flags/MY.svg +46 -0
- package/public/flags/MZ.svg +43 -0
- package/public/flags/NA.svg +34 -0
- package/public/flags/NE.svg +30 -0
- package/public/flags/NF.svg +30 -0
- package/public/flags/NG.svg +26 -0
- package/public/flags/NI.svg +39 -0
- package/public/flags/NL.svg +26 -0
- package/public/flags/NO.svg +38 -0
- package/public/flags/NP.svg +39 -0
- package/public/flags/NR.svg +34 -0
- package/public/flags/NU.svg +55 -0
- package/public/flags/NZ.svg +50 -0
- package/public/flags/OM.svg +38 -0
- package/public/flags/PA.svg +34 -0
- package/public/flags/PE.svg +26 -0
- package/public/flags/PF.svg +37 -0
- package/public/flags/PG.svg +46 -0
- package/public/flags/PH.svg +42 -0
- package/public/flags/PK.svg +34 -0
- package/public/flags/PL.svg +22 -0
- package/public/flags/PN.svg +50 -0
- package/public/flags/PR.svg +38 -0
- package/public/flags/PS.svg +30 -0
- package/public/flags/PT.svg +34 -0
- package/public/flags/PW.svg +22 -0
- package/public/flags/PY.svg +34 -0
- package/public/flags/QA.svg +22 -0
- package/public/flags/RO.svg +26 -0
- package/public/flags/RS.svg +42 -0
- package/public/flags/RU.svg +26 -0
- package/public/flags/RW.svg +30 -0
- package/public/flags/SA.svg +36 -0
- package/public/flags/SB.svg +46 -0
- package/public/flags/SC.svg +34 -0
- package/public/flags/SD.svg +30 -0
- package/public/flags/SE.svg +39 -0
- package/public/flags/SG.svg +46 -0
- package/public/flags/SI.svg +30 -0
- package/public/flags/SK.svg +42 -0
- package/public/flags/SL.svg +26 -0
- package/public/flags/SM.svg +42 -0
- package/public/flags/SN.svg +30 -0
- package/public/flags/SO.svg +22 -0
- package/public/flags/SR.svg +34 -0
- package/public/flags/SS.svg +38 -0
- package/public/flags/ST.svg +38 -0
- package/public/flags/SV.svg +35 -0
- package/public/flags/SX.svg +46 -0
- package/public/flags/SY.svg +34 -0
- package/public/flags/SZ.svg +50 -0
- package/public/flags/TC.svg +54 -0
- package/public/flags/TD.svg +26 -0
- package/public/flags/TG.svg +38 -0
- package/public/flags/TH.svg +30 -0
- package/public/flags/TJ.svg +58 -0
- package/public/flags/TK.svg +38 -0
- package/public/flags/TL.svg +30 -0
- package/public/flags/TM.svg +95 -0
- package/public/flags/TN.svg +30 -0
- package/public/flags/TO.svg +26 -0
- package/public/flags/TR.svg +26 -0
- package/public/flags/TT.svg +30 -0
- package/public/flags/TV.svg +72 -0
- package/public/flags/TW.svg +34 -0
- package/public/flags/TZ.svg +30 -0
- package/public/flags/UA.svg +22 -0
- package/public/flags/UG.svg +42 -0
- package/public/flags/US.svg +38 -0
- package/public/flags/UY.svg +42 -0
- package/public/flags/UZ.svg +86 -0
- package/public/flags/VA.svg +30 -0
- package/public/flags/VC.svg +43 -0
- package/public/flags/VE.svg +58 -0
- package/public/flags/VG.svg +53 -0
- package/public/flags/VN.svg +22 -0
- package/public/flags/VU.svg +111 -0
- package/public/flags/WS.svg +42 -0
- package/public/flags/XK.svg +46 -0
- package/public/flags/YE.svg +26 -0
- package/public/flags/ZA.svg +38 -0
- package/public/flags/ZM.svg +34 -0
- package/public/flags/ZW.svg +58 -0
- package/public/globals.css +3 -1
- package/dist/_virtual/dynamic-import-helper.js +0 -16
- package/dist/components/AlertDialog/index.js +0 -12
- package/dist/components/AlertDialog/types.js +0 -1
- package/dist/components/BottomBar/index.js +0 -4
- package/dist/components/BulletList/index.js +0 -4
- package/dist/components/BulletListItem/BulletListItem.d.ts +0 -7
- package/dist/components/BulletListItem/BulletListItem.js +0 -23
- package/dist/components/BulletListItem/index.d.ts +0 -1
- package/dist/components/BulletListItem/index.js +0 -4
- package/dist/components/BulletPoint/BulletPoint.d.ts +0 -6
- package/dist/components/BulletPoint/BulletPoint.js +0 -22
- package/dist/components/BulletPoint/index.d.ts +0 -1
- package/dist/components/BulletPoint/index.js +0 -1
- package/dist/components/Button/index.js +0 -4
- package/dist/components/Checkbox/index.js +0 -4
- package/dist/components/Chip/index.js +0 -4
- package/dist/components/ClearButton/index.js +0 -4
- package/dist/components/ColorPicker/index.js +0 -5
- package/dist/components/CountryDrawer/index.js +0 -4
- package/dist/components/Drawer/index.js +0 -9
- package/dist/components/Drawer/types.js +0 -1
- package/dist/components/Flag/LazyFlag.d.ts +0 -13
- package/dist/components/Flag/LazyFlag.js +0 -25
- package/dist/components/Flag/flag-components/ad.d.ts +0 -3
- package/dist/components/Flag/flag-components/ad.js +0 -56
- package/dist/components/Flag/flag-components/ae.d.ts +0 -3
- package/dist/components/Flag/flag-components/ae.js +0 -48
- package/dist/components/Flag/flag-components/af.d.ts +0 -3
- package/dist/components/Flag/flag-components/af.js +0 -55
- package/dist/components/Flag/flag-components/ag.d.ts +0 -3
- package/dist/components/Flag/flag-components/ag.js +0 -62
- package/dist/components/Flag/flag-components/ai.d.ts +0 -3
- package/dist/components/Flag/flag-components/ai.js +0 -90
- package/dist/components/Flag/flag-components/al.d.ts +0 -3
- package/dist/components/Flag/flag-components/al.js +0 -34
- package/dist/components/Flag/flag-components/am.d.ts +0 -3
- package/dist/components/Flag/flag-components/am.js +0 -41
- package/dist/components/Flag/flag-components/ao.d.ts +0 -3
- package/dist/components/Flag/flag-components/ao.js +0 -55
- package/dist/components/Flag/flag-components/ar.d.ts +0 -3
- package/dist/components/Flag/flag-components/ar.js +0 -48
- package/dist/components/Flag/flag-components/as.d.ts +0 -3
- package/dist/components/Flag/flag-components/as.js +0 -62
- package/dist/components/Flag/flag-components/at.d.ts +0 -3
- package/dist/components/Flag/flag-components/at.js +0 -41
- package/dist/components/Flag/flag-components/au.d.ts +0 -3
- package/dist/components/Flag/flag-components/au.js +0 -98
- package/dist/components/Flag/flag-components/aw.d.ts +0 -3
- package/dist/components/Flag/flag-components/aw.js +0 -62
- package/dist/components/Flag/flag-components/ax.d.ts +0 -3
- package/dist/components/Flag/flag-components/ax.js +0 -62
- package/dist/components/Flag/flag-components/az.d.ts +0 -3
- package/dist/components/Flag/flag-components/az.js +0 -55
- package/dist/components/Flag/flag-components/ba.d.ts +0 -3
- package/dist/components/Flag/flag-components/ba.js +0 -48
- package/dist/components/Flag/flag-components/bb.d.ts +0 -3
- package/dist/components/Flag/flag-components/bb.js +0 -48
- package/dist/components/Flag/flag-components/bd.d.ts +0 -3
- package/dist/components/Flag/flag-components/bd.js +0 -34
- package/dist/components/Flag/flag-components/be.d.ts +0 -3
- package/dist/components/Flag/flag-components/be.js +0 -41
- package/dist/components/Flag/flag-components/bf.d.ts +0 -3
- package/dist/components/Flag/flag-components/bf.js +0 -49
- package/dist/components/Flag/flag-components/bg.d.ts +0 -3
- package/dist/components/Flag/flag-components/bg.js +0 -41
- package/dist/components/Flag/flag-components/bh.d.ts +0 -3
- package/dist/components/Flag/flag-components/bh.js +0 -34
- package/dist/components/Flag/flag-components/bi.d.ts +0 -3
- package/dist/components/Flag/flag-components/bi.js +0 -83
- package/dist/components/Flag/flag-components/bj.d.ts +0 -3
- package/dist/components/Flag/flag-components/bj.js +0 -41
- package/dist/components/Flag/flag-components/bl.d.ts +0 -3
- package/dist/components/Flag/flag-components/bl.js +0 -71
- package/dist/components/Flag/flag-components/bm.d.ts +0 -3
- package/dist/components/Flag/flag-components/bm.js +0 -85
- package/dist/components/Flag/flag-components/bn.d.ts +0 -3
- package/dist/components/Flag/flag-components/bn.js +0 -66
- package/dist/components/Flag/flag-components/bo.d.ts +0 -3
- package/dist/components/Flag/flag-components/bo.js +0 -41
- package/dist/components/Flag/flag-components/bq.d.ts +0 -3
- package/dist/components/Flag/flag-components/bq.js +0 -55
- package/dist/components/Flag/flag-components/br.d.ts +0 -3
- package/dist/components/Flag/flag-components/br.js +0 -55
- package/dist/components/Flag/flag-components/bs.d.ts +0 -3
- package/dist/components/Flag/flag-components/bs.js +0 -48
- package/dist/components/Flag/flag-components/bt.d.ts +0 -3
- package/dist/components/Flag/flag-components/bt.js +0 -48
- package/dist/components/Flag/flag-components/bw.d.ts +0 -3
- package/dist/components/Flag/flag-components/bw.js +0 -48
- package/dist/components/Flag/flag-components/by.d.ts +0 -3
- package/dist/components/Flag/flag-components/by.js +0 -83
- package/dist/components/Flag/flag-components/bz.d.ts +0 -3
- package/dist/components/Flag/flag-components/bz.js +0 -70
- package/dist/components/Flag/flag-components/ca.d.ts +0 -3
- package/dist/components/Flag/flag-components/ca.js +0 -48
- package/dist/components/Flag/flag-components/cc.d.ts +0 -3
- package/dist/components/Flag/flag-components/cc.js +0 -90
- package/dist/components/Flag/flag-components/cd.d.ts +0 -3
- package/dist/components/Flag/flag-components/cd.js +0 -55
- package/dist/components/Flag/flag-components/cf.d.ts +0 -3
- package/dist/components/Flag/flag-components/cf.js +0 -85
- package/dist/components/Flag/flag-components/cg.d.ts +0 -3
- package/dist/components/Flag/flag-components/cg.js +0 -41
- package/dist/components/Flag/flag-components/ch.d.ts +0 -3
- package/dist/components/Flag/flag-components/ch.js +0 -34
- package/dist/components/Flag/flag-components/ci.d.ts +0 -3
- package/dist/components/Flag/flag-components/ci.js +0 -41
- package/dist/components/Flag/flag-components/ck.d.ts +0 -3
- package/dist/components/Flag/flag-components/ck.js +0 -111
- package/dist/components/Flag/flag-components/cl.d.ts +0 -3
- package/dist/components/Flag/flag-components/cl.js +0 -48
- package/dist/components/Flag/flag-components/cm.d.ts +0 -3
- package/dist/components/Flag/flag-components/cm.js +0 -48
- package/dist/components/Flag/flag-components/cn.d.ts +0 -3
- package/dist/components/Flag/flag-components/cn.js +0 -62
- package/dist/components/Flag/flag-components/co.d.ts +0 -3
- package/dist/components/Flag/flag-components/co.js +0 -41
- package/dist/components/Flag/flag-components/cr.d.ts +0 -3
- package/dist/components/Flag/flag-components/cr.js +0 -48
- package/dist/components/Flag/flag-components/cu.d.ts +0 -3
- package/dist/components/Flag/flag-components/cu.js +0 -63
- package/dist/components/Flag/flag-components/cv.d.ts +0 -3
- package/dist/components/Flag/flag-components/cv.js +0 -118
- package/dist/components/Flag/flag-components/cw.d.ts +0 -3
- package/dist/components/Flag/flag-components/cw.js +0 -55
- package/dist/components/Flag/flag-components/cy.d.ts +0 -3
- package/dist/components/Flag/flag-components/cy.js +0 -41
- package/dist/components/Flag/flag-components/cz.d.ts +0 -3
- package/dist/components/Flag/flag-components/cz.js +0 -41
- package/dist/components/Flag/flag-components/de.d.ts +0 -3
- package/dist/components/Flag/flag-components/de.js +0 -41
- package/dist/components/Flag/flag-components/dj.d.ts +0 -3
- package/dist/components/Flag/flag-components/dj.js +0 -48
- package/dist/components/Flag/flag-components/dk.d.ts +0 -3
- package/dist/components/Flag/flag-components/dk.js +0 -55
- package/dist/components/Flag/flag-components/dm.d.ts +0 -3
- package/dist/components/Flag/flag-components/dm.js +0 -195
- package/dist/components/Flag/flag-components/do.d.ts +0 -3
- package/dist/components/Flag/flag-components/do.js +0 -76
- package/dist/components/Flag/flag-components/dz.d.ts +0 -3
- package/dist/components/Flag/flag-components/dz.js +0 -48
- package/dist/components/Flag/flag-components/ec.d.ts +0 -3
- package/dist/components/Flag/flag-components/ec.js +0 -62
- package/dist/components/Flag/flag-components/ee.d.ts +0 -3
- package/dist/components/Flag/flag-components/ee.js +0 -41
- package/dist/components/Flag/flag-components/eg.d.ts +0 -3
- package/dist/components/Flag/flag-components/eg.js +0 -48
- package/dist/components/Flag/flag-components/er.d.ts +0 -3
- package/dist/components/Flag/flag-components/er.js +0 -48
- package/dist/components/Flag/flag-components/es.d.ts +0 -3
- package/dist/components/Flag/flag-components/es.js +0 -41
- package/dist/components/Flag/flag-components/et.d.ts +0 -3
- package/dist/components/Flag/flag-components/et.js +0 -62
- package/dist/components/Flag/flag-components/eu.d.ts +0 -3
- package/dist/components/Flag/flag-components/eu.js +0 -83
- package/dist/components/Flag/flag-components/fi.d.ts +0 -3
- package/dist/components/Flag/flag-components/fi.js +0 -34
- package/dist/components/Flag/flag-components/fj.d.ts +0 -3
- package/dist/components/Flag/flag-components/fj.js +0 -77
- package/dist/components/Flag/flag-components/fk.d.ts +0 -3
- package/dist/components/Flag/flag-components/fk.js +0 -83
- package/dist/components/Flag/flag-components/fm.d.ts +0 -3
- package/dist/components/Flag/flag-components/fm.js +0 -55
- package/dist/components/Flag/flag-components/fo.d.ts +0 -3
- package/dist/components/Flag/flag-components/fo.js +0 -41
- package/dist/components/Flag/flag-components/fr.d.ts +0 -3
- package/dist/components/Flag/flag-components/fr.js +0 -41
- package/dist/components/Flag/flag-components/ga.d.ts +0 -3
- package/dist/components/Flag/flag-components/ga.js +0 -41
- package/dist/components/Flag/flag-components/gb.d.ts +0 -3
- package/dist/components/Flag/flag-components/gb.js +0 -118
- package/dist/components/Flag/flag-components/gd.d.ts +0 -3
- package/dist/components/Flag/flag-components/gd.js +0 -140
- package/dist/components/Flag/flag-components/ge.d.ts +0 -3
- package/dist/components/Flag/flag-components/ge.js +0 -62
- package/dist/components/Flag/flag-components/gg.d.ts +0 -3
- package/dist/components/Flag/flag-components/gg.js +0 -41
- package/dist/components/Flag/flag-components/gh.d.ts +0 -3
- package/dist/components/Flag/flag-components/gh.js +0 -48
- package/dist/components/Flag/flag-components/gi.d.ts +0 -3
- package/dist/components/Flag/flag-components/gi.js +0 -48
- package/dist/components/Flag/flag-components/gl.d.ts +0 -3
- package/dist/components/Flag/flag-components/gl.js +0 -48
- package/dist/components/Flag/flag-components/gm.d.ts +0 -3
- package/dist/components/Flag/flag-components/gm.js +0 -48
- package/dist/components/Flag/flag-components/gn.d.ts +0 -3
- package/dist/components/Flag/flag-components/gn.js +0 -41
- package/dist/components/Flag/flag-components/gp.d.ts +0 -3
- package/dist/components/Flag/flag-components/gp.js +0 -41
- package/dist/components/Flag/flag-components/gq.d.ts +0 -3
- package/dist/components/Flag/flag-components/gq.js +0 -63
- package/dist/components/Flag/flag-components/gr.d.ts +0 -3
- package/dist/components/Flag/flag-components/gr.js +0 -62
- package/dist/components/Flag/flag-components/gt.d.ts +0 -3
- package/dist/components/Flag/flag-components/gt.js +0 -55
- package/dist/components/Flag/flag-components/gu.d.ts +0 -3
- package/dist/components/Flag/flag-components/gu.js +0 -71
- package/dist/components/Flag/flag-components/gw.d.ts +0 -3
- package/dist/components/Flag/flag-components/gw.js +0 -55
- package/dist/components/Flag/flag-components/gy.d.ts +0 -3
- package/dist/components/Flag/flag-components/gy.js +0 -62
- package/dist/components/Flag/flag-components/hk.d.ts +0 -3
- package/dist/components/Flag/flag-components/hk.js +0 -62
- package/dist/components/Flag/flag-components/hn.d.ts +0 -3
- package/dist/components/Flag/flag-components/hn.js +0 -76
- package/dist/components/Flag/flag-components/hr.d.ts +0 -3
- package/dist/components/Flag/flag-components/hr.js +0 -108
- package/dist/components/Flag/flag-components/ht.d.ts +0 -3
- package/dist/components/Flag/flag-components/ht.js +0 -64
- package/dist/components/Flag/flag-components/hu.d.ts +0 -3
- package/dist/components/Flag/flag-components/hu.js +0 -41
- package/dist/components/Flag/flag-components/id.d.ts +0 -3
- package/dist/components/Flag/flag-components/id.js +0 -34
- package/dist/components/Flag/flag-components/ie.d.ts +0 -3
- package/dist/components/Flag/flag-components/ie.js +0 -41
- package/dist/components/Flag/flag-components/il.d.ts +0 -3
- package/dist/components/Flag/flag-components/il.js +0 -48
- package/dist/components/Flag/flag-components/im.d.ts +0 -3
- package/dist/components/Flag/flag-components/im.js +0 -34
- package/dist/components/Flag/flag-components/in.d.ts +0 -3
- package/dist/components/Flag/flag-components/in.js +0 -62
- package/dist/components/Flag/flag-components/index.d.ts +0 -232
- package/dist/components/Flag/flag-components/index.js +0 -466
- package/dist/components/Flag/flag-components/io.d.ts +0 -3
- package/dist/components/Flag/flag-components/io.js +0 -136
- package/dist/components/Flag/flag-components/iq.d.ts +0 -3
- package/dist/components/Flag/flag-components/iq.js +0 -62
- package/dist/components/Flag/flag-components/ir.d.ts +0 -3
- package/dist/components/Flag/flag-components/ir.js +0 -48
- package/dist/components/Flag/flag-components/is.d.ts +0 -3
- package/dist/components/Flag/flag-components/is.js +0 -62
- package/dist/components/Flag/flag-components/it.d.ts +0 -3
- package/dist/components/Flag/flag-components/it.js +0 -41
- package/dist/components/Flag/flag-components/je.d.ts +0 -3
- package/dist/components/Flag/flag-components/je.js +0 -48
- package/dist/components/Flag/flag-components/jm.d.ts +0 -3
- package/dist/components/Flag/flag-components/jm.js +0 -55
- package/dist/components/Flag/flag-components/jo.d.ts +0 -3
- package/dist/components/Flag/flag-components/jo.js +0 -55
- package/dist/components/Flag/flag-components/jp.d.ts +0 -3
- package/dist/components/Flag/flag-components/jp.js +0 -34
- package/dist/components/Flag/flag-components/ke.d.ts +0 -3
- package/dist/components/Flag/flag-components/ke.js +0 -90
- package/dist/components/Flag/flag-components/kg.d.ts +0 -3
- package/dist/components/Flag/flag-components/kg.js +0 -69
- package/dist/components/Flag/flag-components/kh.d.ts +0 -3
- package/dist/components/Flag/flag-components/kh.js +0 -48
- package/dist/components/Flag/flag-components/ki.d.ts +0 -3
- package/dist/components/Flag/flag-components/ki.js +0 -76
- package/dist/components/Flag/flag-components/km.d.ts +0 -3
- package/dist/components/Flag/flag-components/km.js +0 -90
- package/dist/components/Flag/flag-components/kp.d.ts +0 -3
- package/dist/components/Flag/flag-components/kp.js +0 -62
- package/dist/components/Flag/flag-components/kr.d.ts +0 -3
- package/dist/components/Flag/flag-components/kr.js +0 -167
- package/dist/components/Flag/flag-components/kw.d.ts +0 -3
- package/dist/components/Flag/flag-components/kw.js +0 -48
- package/dist/components/Flag/flag-components/ky.d.ts +0 -3
- package/dist/components/Flag/flag-components/ky.js +0 -91
- package/dist/components/Flag/flag-components/kz.d.ts +0 -3
- package/dist/components/Flag/flag-components/kz.js +0 -48
- package/dist/components/Flag/flag-components/la.d.ts +0 -3
- package/dist/components/Flag/flag-components/la.js +0 -48
- package/dist/components/Flag/flag-components/lb.d.ts +0 -3
- package/dist/components/Flag/flag-components/lb.js +0 -48
- package/dist/components/Flag/flag-components/lc.d.ts +0 -3
- package/dist/components/Flag/flag-components/lc.js +0 -30
- package/dist/components/Flag/flag-components/li.d.ts +0 -3
- package/dist/components/Flag/flag-components/li.js +0 -41
- package/dist/components/Flag/flag-components/lk.d.ts +0 -3
- package/dist/components/Flag/flag-components/lk.js +0 -50
- package/dist/components/Flag/flag-components/lr.d.ts +0 -3
- package/dist/components/Flag/flag-components/lr.js +0 -118
- package/dist/components/Flag/flag-components/ls.d.ts +0 -3
- package/dist/components/Flag/flag-components/ls.js +0 -48
- package/dist/components/Flag/flag-components/lt.d.ts +0 -3
- package/dist/components/Flag/flag-components/lt.js +0 -41
- package/dist/components/Flag/flag-components/lu.d.ts +0 -3
- package/dist/components/Flag/flag-components/lu.js +0 -41
- package/dist/components/Flag/flag-components/lv.d.ts +0 -3
- package/dist/components/Flag/flag-components/lv.js +0 -41
- package/dist/components/Flag/flag-components/ly.d.ts +0 -3
- package/dist/components/Flag/flag-components/ly.js +0 -55
- package/dist/components/Flag/flag-components/ma.d.ts +0 -3
- package/dist/components/Flag/flag-components/ma.js +0 -34
- package/dist/components/Flag/flag-components/mc.d.ts +0 -3
- package/dist/components/Flag/flag-components/mc.js +0 -34
- package/dist/components/Flag/flag-components/md.d.ts +0 -3
- package/dist/components/Flag/flag-components/md.js +0 -56
- package/dist/components/Flag/flag-components/me.d.ts +0 -3
- package/dist/components/Flag/flag-components/me.js +0 -56
- package/dist/components/Flag/flag-components/mg.d.ts +0 -3
- package/dist/components/Flag/flag-components/mg.js +0 -41
- package/dist/components/Flag/flag-components/mh.d.ts +0 -3
- package/dist/components/Flag/flag-components/mh.js +0 -48
- package/dist/components/Flag/flag-components/mk.d.ts +0 -3
- package/dist/components/Flag/flag-components/mk.js +0 -97
- package/dist/components/Flag/flag-components/ml.d.ts +0 -3
- package/dist/components/Flag/flag-components/ml.js +0 -41
- package/dist/components/Flag/flag-components/mm.d.ts +0 -3
- package/dist/components/Flag/flag-components/mm.js +0 -48
- package/dist/components/Flag/flag-components/mn.d.ts +0 -3
- package/dist/components/Flag/flag-components/mn.js +0 -66
- package/dist/components/Flag/flag-components/mo.d.ts +0 -3
- package/dist/components/Flag/flag-components/mo.js +0 -83
- package/dist/components/Flag/flag-components/mp.d.ts +0 -3
- package/dist/components/Flag/flag-components/mp.js +0 -55
- package/dist/components/Flag/flag-components/mq.d.ts +0 -3
- package/dist/components/Flag/flag-components/mq.js +0 -83
- package/dist/components/Flag/flag-components/mr.d.ts +0 -3
- package/dist/components/Flag/flag-components/mr.js +0 -41
- package/dist/components/Flag/flag-components/ms.d.ts +0 -3
- package/dist/components/Flag/flag-components/ms.js +0 -76
- package/dist/components/Flag/flag-components/mt.d.ts +0 -3
- package/dist/components/Flag/flag-components/mt.js +0 -41
- package/dist/components/Flag/flag-components/mu.d.ts +0 -3
- package/dist/components/Flag/flag-components/mu.js +0 -48
- package/dist/components/Flag/flag-components/mv.d.ts +0 -3
- package/dist/components/Flag/flag-components/mv.js +0 -35
- package/dist/components/Flag/flag-components/mw.d.ts +0 -3
- package/dist/components/Flag/flag-components/mw.js +0 -48
- package/dist/components/Flag/flag-components/mx.d.ts +0 -3
- package/dist/components/Flag/flag-components/mx.js +0 -55
- package/dist/components/Flag/flag-components/my.d.ts +0 -3
- package/dist/components/Flag/flag-components/my.js +0 -76
- package/dist/components/Flag/flag-components/mz.d.ts +0 -3
- package/dist/components/Flag/flag-components/mz.js +0 -70
- package/dist/components/Flag/flag-components/na.d.ts +0 -3
- package/dist/components/Flag/flag-components/na.js +0 -55
- package/dist/components/Flag/flag-components/ne.d.ts +0 -3
- package/dist/components/Flag/flag-components/ne.js +0 -48
- package/dist/components/Flag/flag-components/nf.d.ts +0 -3
- package/dist/components/Flag/flag-components/nf.js +0 -48
- package/dist/components/Flag/flag-components/ng.d.ts +0 -3
- package/dist/components/Flag/flag-components/ng.js +0 -41
- package/dist/components/Flag/flag-components/ni.d.ts +0 -3
- package/dist/components/Flag/flag-components/ni.js +0 -63
- package/dist/components/Flag/flag-components/nl.d.ts +0 -3
- package/dist/components/Flag/flag-components/nl.js +0 -41
- package/dist/components/Flag/flag-components/no.d.ts +0 -3
- package/dist/components/Flag/flag-components/no.js +0 -62
- package/dist/components/Flag/flag-components/np.d.ts +0 -3
- package/dist/components/Flag/flag-components/np.js +0 -63
- package/dist/components/Flag/flag-components/nr.d.ts +0 -3
- package/dist/components/Flag/flag-components/nr.js +0 -55
- package/dist/components/Flag/flag-components/nu.d.ts +0 -3
- package/dist/components/Flag/flag-components/nu.js +0 -91
- package/dist/components/Flag/flag-components/nz.d.ts +0 -3
- package/dist/components/Flag/flag-components/nz.js +0 -83
- package/dist/components/Flag/flag-components/om.d.ts +0 -3
- package/dist/components/Flag/flag-components/om.js +0 -62
- package/dist/components/Flag/flag-components/pa.d.ts +0 -3
- package/dist/components/Flag/flag-components/pa.js +0 -55
- package/dist/components/Flag/flag-components/pe.d.ts +0 -3
- package/dist/components/Flag/flag-components/pe.js +0 -41
- package/dist/components/Flag/flag-components/pf.d.ts +0 -3
- package/dist/components/Flag/flag-components/pf.js +0 -58
- package/dist/components/Flag/flag-components/pg.d.ts +0 -3
- package/dist/components/Flag/flag-components/pg.js +0 -76
- package/dist/components/Flag/flag-components/ph.d.ts +0 -3
- package/dist/components/Flag/flag-components/ph.js +0 -69
- package/dist/components/Flag/flag-components/pk.d.ts +0 -3
- package/dist/components/Flag/flag-components/pk.js +0 -55
- package/dist/components/Flag/flag-components/pl.d.ts +0 -3
- package/dist/components/Flag/flag-components/pl.js +0 -34
- package/dist/components/Flag/flag-components/pn.d.ts +0 -3
- package/dist/components/Flag/flag-components/pn.js +0 -83
- package/dist/components/Flag/flag-components/pr.d.ts +0 -3
- package/dist/components/Flag/flag-components/pr.js +0 -62
- package/dist/components/Flag/flag-components/ps.d.ts +0 -3
- package/dist/components/Flag/flag-components/ps.js +0 -48
- package/dist/components/Flag/flag-components/pt.d.ts +0 -3
- package/dist/components/Flag/flag-components/pt.js +0 -55
- package/dist/components/Flag/flag-components/pw.d.ts +0 -3
- package/dist/components/Flag/flag-components/pw.js +0 -34
- package/dist/components/Flag/flag-components/py.d.ts +0 -3
- package/dist/components/Flag/flag-components/py.js +0 -55
- package/dist/components/Flag/flag-components/qa.d.ts +0 -3
- package/dist/components/Flag/flag-components/qa.js +0 -34
- package/dist/components/Flag/flag-components/ro.d.ts +0 -3
- package/dist/components/Flag/flag-components/ro.js +0 -41
- package/dist/components/Flag/flag-components/rs.d.ts +0 -3
- package/dist/components/Flag/flag-components/rs.js +0 -69
- package/dist/components/Flag/flag-components/ru.d.ts +0 -3
- package/dist/components/Flag/flag-components/ru.js +0 -41
- package/dist/components/Flag/flag-components/rw.d.ts +0 -3
- package/dist/components/Flag/flag-components/rw.js +0 -48
- package/dist/components/Flag/flag-components/sa.d.ts +0 -3
- package/dist/components/Flag/flag-components/sa.js +0 -57
- package/dist/components/Flag/flag-components/sb.d.ts +0 -3
- package/dist/components/Flag/flag-components/sb.js +0 -76
- package/dist/components/Flag/flag-components/sc.d.ts +0 -3
- package/dist/components/Flag/flag-components/sc.js +0 -55
- package/dist/components/Flag/flag-components/sd.d.ts +0 -3
- package/dist/components/Flag/flag-components/sd.js +0 -48
- package/dist/components/Flag/flag-components/se.d.ts +0 -3
- package/dist/components/Flag/flag-components/se.js +0 -63
- package/dist/components/Flag/flag-components/sg.d.ts +0 -3
- package/dist/components/Flag/flag-components/sg.js +0 -76
- package/dist/components/Flag/flag-components/si.d.ts +0 -3
- package/dist/components/Flag/flag-components/si.js +0 -48
- package/dist/components/Flag/flag-components/sk.d.ts +0 -3
- package/dist/components/Flag/flag-components/sk.js +0 -69
- package/dist/components/Flag/flag-components/sl.d.ts +0 -3
- package/dist/components/Flag/flag-components/sl.js +0 -41
- package/dist/components/Flag/flag-components/sm.d.ts +0 -3
- package/dist/components/Flag/flag-components/sm.js +0 -69
- package/dist/components/Flag/flag-components/sn.d.ts +0 -3
- package/dist/components/Flag/flag-components/sn.js +0 -48
- package/dist/components/Flag/flag-components/so.d.ts +0 -3
- package/dist/components/Flag/flag-components/so.js +0 -34
- package/dist/components/Flag/flag-components/sr.d.ts +0 -3
- package/dist/components/Flag/flag-components/sr.js +0 -55
- package/dist/components/Flag/flag-components/ss.d.ts +0 -3
- package/dist/components/Flag/flag-components/ss.js +0 -62
- package/dist/components/Flag/flag-components/st.d.ts +0 -3
- package/dist/components/Flag/flag-components/st.js +0 -62
- package/dist/components/Flag/flag-components/sv.d.ts +0 -3
- package/dist/components/Flag/flag-components/sv.js +0 -56
- package/dist/components/Flag/flag-components/sx.d.ts +0 -3
- package/dist/components/Flag/flag-components/sx.js +0 -76
- package/dist/components/Flag/flag-components/sy.d.ts +0 -3
- package/dist/components/Flag/flag-components/sy.js +0 -55
- package/dist/components/Flag/flag-components/sz.d.ts +0 -3
- package/dist/components/Flag/flag-components/sz.js +0 -80
- package/dist/components/Flag/flag-components/tc.d.ts +0 -3
- package/dist/components/Flag/flag-components/tc.js +0 -90
- package/dist/components/Flag/flag-components/td.d.ts +0 -3
- package/dist/components/Flag/flag-components/td.js +0 -41
- package/dist/components/Flag/flag-components/tg.d.ts +0 -3
- package/dist/components/Flag/flag-components/tg.js +0 -62
- package/dist/components/Flag/flag-components/th.d.ts +0 -3
- package/dist/components/Flag/flag-components/th.js +0 -48
- package/dist/components/Flag/flag-components/tj.d.ts +0 -3
- package/dist/components/Flag/flag-components/tj.js +0 -97
- package/dist/components/Flag/flag-components/tk.d.ts +0 -3
- package/dist/components/Flag/flag-components/tk.js +0 -62
- package/dist/components/Flag/flag-components/tl.d.ts +0 -3
- package/dist/components/Flag/flag-components/tl.js +0 -48
- package/dist/components/Flag/flag-components/tm.d.ts +0 -3
- package/dist/components/Flag/flag-components/tm.js +0 -161
- package/dist/components/Flag/flag-components/tn.d.ts +0 -3
- package/dist/components/Flag/flag-components/tn.js +0 -48
- package/dist/components/Flag/flag-components/to.d.ts +0 -3
- package/dist/components/Flag/flag-components/to.js +0 -41
- package/dist/components/Flag/flag-components/tr.d.ts +0 -3
- package/dist/components/Flag/flag-components/tr.js +0 -41
- package/dist/components/Flag/flag-components/tt.d.ts +0 -3
- package/dist/components/Flag/flag-components/tt.js +0 -48
- package/dist/components/Flag/flag-components/tv.d.ts +0 -3
- package/dist/components/Flag/flag-components/tv.js +0 -120
- package/dist/components/Flag/flag-components/tw.d.ts +0 -3
- package/dist/components/Flag/flag-components/tw.js +0 -55
- package/dist/components/Flag/flag-components/tz.d.ts +0 -3
- package/dist/components/Flag/flag-components/tz.js +0 -48
- package/dist/components/Flag/flag-components/ua.d.ts +0 -3
- package/dist/components/Flag/flag-components/ua.js +0 -34
- package/dist/components/Flag/flag-components/ug.d.ts +0 -3
- package/dist/components/Flag/flag-components/ug.js +0 -69
- package/dist/components/Flag/flag-components/us.d.ts +0 -3
- package/dist/components/Flag/flag-components/us.js +0 -62
- package/dist/components/Flag/flag-components/uy.d.ts +0 -3
- package/dist/components/Flag/flag-components/uy.js +0 -69
- package/dist/components/Flag/flag-components/uz.d.ts +0 -3
- package/dist/components/Flag/flag-components/uz.js +0 -146
- package/dist/components/Flag/flag-components/va.d.ts +0 -3
- package/dist/components/Flag/flag-components/va.js +0 -48
- package/dist/components/Flag/flag-components/vc.d.ts +0 -3
- package/dist/components/Flag/flag-components/vc.js +0 -70
- package/dist/components/Flag/flag-components/ve.d.ts +0 -3
- package/dist/components/Flag/flag-components/ve.js +0 -97
- package/dist/components/Flag/flag-components/vg.d.ts +0 -3
- package/dist/components/Flag/flag-components/vg.js +0 -83
- package/dist/components/Flag/flag-components/vn.d.ts +0 -3
- package/dist/components/Flag/flag-components/vn.js +0 -34
- package/dist/components/Flag/flag-components/vu.d.ts +0 -3
- package/dist/components/Flag/flag-components/vu.js +0 -189
- package/dist/components/Flag/flag-components/ws.d.ts +0 -3
- package/dist/components/Flag/flag-components/ws.js +0 -69
- package/dist/components/Flag/flag-components/xk.d.ts +0 -3
- package/dist/components/Flag/flag-components/xk.js +0 -76
- package/dist/components/Flag/flag-components/ye.d.ts +0 -3
- package/dist/components/Flag/flag-components/ye.js +0 -41
- package/dist/components/Flag/flag-components/za.d.ts +0 -3
- package/dist/components/Flag/flag-components/za.js +0 -62
- package/dist/components/Flag/flag-components/zm.d.ts +0 -3
- package/dist/components/Flag/flag-components/zm.js +0 -55
- package/dist/components/Flag/flag-components/zw.d.ts +0 -3
- package/dist/components/Flag/flag-components/zw.js +0 -97
- package/dist/components/Flag/index.js +0 -8
- package/dist/components/Form/index.js +0 -4
- package/dist/components/Icons/Eye.js +0 -40
- package/dist/components/Icons/EyeClosed.js +0 -60
- package/dist/components/Input/index.js +0 -6
- package/dist/components/ListItem/index.js +0 -4
- package/dist/components/Marble/index.js +0 -4
- package/dist/components/NumberPad/index.js +0 -4
- package/dist/components/OTPField/index.js +0 -4
- package/dist/components/PasswordField/PasswordField.js +0 -45
- package/dist/components/PasswordField/index.js +0 -4
- package/dist/components/PasteButton/index.js +0 -4
- package/dist/components/PhoneField/index.js +0 -6
- package/dist/components/Pill/index.js +0 -4
- package/dist/components/Progress/index.js +0 -4
- package/dist/components/RadioGroup/index.js +0 -6
- package/dist/components/SearchField/index.js +0 -4
- package/dist/components/Select/index.js +0 -4
- package/dist/components/Spinner/index.js +0 -4
- package/dist/components/Switch/index.js +0 -4
- package/dist/components/Tabs/index.js +0 -5
- package/dist/components/Tabs/types.js +0 -1
- package/dist/components/TextArea/index.js +0 -4
- package/dist/components/Toast/index.js +0 -12
- package/dist/components/ToggleGroup/index.js +0 -5
- package/dist/components/ToggleGroup/types.js +0 -1
- package/dist/components/Token/icons/types.js +0 -1
- package/dist/components/Token/index.js +0 -4
- package/dist/components/TopBar/index.js +0 -4
- package/dist/components/Typography/index.js +0 -5
- package/dist/components/WalletAddressField/index.js +0 -4
package/dist/node_modules/.pnpm/tailwind-merge@2.6.0/node_modules/tailwind-merge/dist/bundle-mjs.js
CHANGED
@@ -1,262 +1,462 @@
|
|
1
|
-
const
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
const u = t[i] || [];
|
13
|
-
return s && o[i] ? [...u, ...o[i]] : u;
|
1
|
+
const CLASS_PART_SEPARATOR = "-";
|
2
|
+
const createClassGroupUtils = (config) => {
|
3
|
+
const classMap = createClassMap(config);
|
4
|
+
const {
|
5
|
+
conflictingClassGroups,
|
6
|
+
conflictingClassGroupModifiers
|
7
|
+
} = config;
|
8
|
+
const getClassGroupId = (className) => {
|
9
|
+
const classParts = className.split(CLASS_PART_SEPARATOR);
|
10
|
+
if (classParts[0] === "" && classParts.length !== 1) {
|
11
|
+
classParts.shift();
|
14
12
|
}
|
13
|
+
return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
|
14
|
+
};
|
15
|
+
const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
|
16
|
+
const conflicts = conflictingClassGroups[classGroupId] || [];
|
17
|
+
if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
|
18
|
+
return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
|
19
|
+
}
|
20
|
+
return conflicts;
|
21
|
+
};
|
22
|
+
return {
|
23
|
+
getClassGroupId,
|
24
|
+
getConflictingClassGroupIds
|
15
25
|
};
|
16
|
-
}
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
validator: s
|
28
|
-
}) => s(n))) == null ? void 0 : i.classGroupId;
|
29
|
-
}, K = /^\[(.+)\]$/, ne = (e) => {
|
30
|
-
if (K.test(e)) {
|
31
|
-
const r = K.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
|
32
|
-
if (t)
|
33
|
-
return "arbitrary.." + t;
|
26
|
+
};
|
27
|
+
const getGroupRecursive = (classParts, classPartObject) => {
|
28
|
+
var _a;
|
29
|
+
if (classParts.length === 0) {
|
30
|
+
return classPartObject.classGroupId;
|
31
|
+
}
|
32
|
+
const currentClassPart = classParts[0];
|
33
|
+
const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
|
34
|
+
const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : void 0;
|
35
|
+
if (classGroupFromNextClassPart) {
|
36
|
+
return classGroupFromNextClassPart;
|
34
37
|
}
|
35
|
-
|
38
|
+
if (classPartObject.validators.length === 0) {
|
39
|
+
return void 0;
|
40
|
+
}
|
41
|
+
const classRest = classParts.join(CLASS_PART_SEPARATOR);
|
42
|
+
return (_a = classPartObject.validators.find(({
|
43
|
+
validator
|
44
|
+
}) => validator(classRest))) == null ? void 0 : _a.classGroupId;
|
45
|
+
};
|
46
|
+
const arbitraryPropertyRegex = /^\[(.+)\]$/;
|
47
|
+
const getGroupIdForArbitraryProperty = (className) => {
|
48
|
+
if (arbitraryPropertyRegex.test(className)) {
|
49
|
+
const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
|
50
|
+
const property = arbitraryPropertyClassName == null ? void 0 : arbitraryPropertyClassName.substring(0, arbitraryPropertyClassName.indexOf(":"));
|
51
|
+
if (property) {
|
52
|
+
return "arbitrary.." + property;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
};
|
56
|
+
const createClassMap = (config) => {
|
36
57
|
const {
|
37
|
-
theme
|
38
|
-
prefix
|
39
|
-
} =
|
58
|
+
theme,
|
59
|
+
prefix
|
60
|
+
} = config;
|
61
|
+
const classMap = {
|
40
62
|
nextPart: /* @__PURE__ */ new Map(),
|
41
63
|
validators: []
|
42
64
|
};
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
}
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
65
|
+
const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);
|
66
|
+
prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {
|
67
|
+
processClassesRecursively(classGroup, classMap, classGroupId, theme);
|
68
|
+
});
|
69
|
+
return classMap;
|
70
|
+
};
|
71
|
+
const processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
|
72
|
+
classGroup.forEach((classDefinition) => {
|
73
|
+
if (typeof classDefinition === "string") {
|
74
|
+
const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
|
75
|
+
classPartObjectToEdit.classGroupId = classGroupId;
|
51
76
|
return;
|
52
77
|
}
|
53
|
-
if (typeof
|
54
|
-
if (
|
55
|
-
|
78
|
+
if (typeof classDefinition === "function") {
|
79
|
+
if (isThemeGetter(classDefinition)) {
|
80
|
+
processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
|
56
81
|
return;
|
57
82
|
}
|
58
|
-
|
59
|
-
validator:
|
60
|
-
classGroupId
|
83
|
+
classPartObject.validators.push({
|
84
|
+
validator: classDefinition,
|
85
|
+
classGroupId
|
61
86
|
});
|
62
87
|
return;
|
63
88
|
}
|
64
|
-
Object.entries(
|
65
|
-
|
89
|
+
Object.entries(classDefinition).forEach(([key, classGroup2]) => {
|
90
|
+
processClassesRecursively(classGroup2, getPart(classPartObject, key), classGroupId, theme);
|
91
|
+
});
|
92
|
+
});
|
93
|
+
};
|
94
|
+
const getPart = (classPartObject, path) => {
|
95
|
+
let currentClassPartObject = classPartObject;
|
96
|
+
path.split(CLASS_PART_SEPARATOR).forEach((pathPart) => {
|
97
|
+
if (!currentClassPartObject.nextPart.has(pathPart)) {
|
98
|
+
currentClassPartObject.nextPart.set(pathPart, {
|
99
|
+
nextPart: /* @__PURE__ */ new Map(),
|
100
|
+
validators: []
|
101
|
+
});
|
102
|
+
}
|
103
|
+
currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
|
104
|
+
});
|
105
|
+
return currentClassPartObject;
|
106
|
+
};
|
107
|
+
const isThemeGetter = (func) => func.isThemeGetter;
|
108
|
+
const getPrefixedClassGroupEntries = (classGroupEntries, prefix) => {
|
109
|
+
if (!prefix) {
|
110
|
+
return classGroupEntries;
|
111
|
+
}
|
112
|
+
return classGroupEntries.map(([classGroupId, classGroup]) => {
|
113
|
+
const prefixedClassGroup = classGroup.map((classDefinition) => {
|
114
|
+
if (typeof classDefinition === "string") {
|
115
|
+
return prefix + classDefinition;
|
116
|
+
}
|
117
|
+
if (typeof classDefinition === "object") {
|
118
|
+
return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));
|
119
|
+
}
|
120
|
+
return classDefinition;
|
66
121
|
});
|
122
|
+
return [classGroupId, prefixedClassGroup];
|
67
123
|
});
|
68
|
-
}
|
69
|
-
|
70
|
-
|
71
|
-
t.nextPart.has(o) || t.nextPart.set(o, {
|
72
|
-
nextPart: /* @__PURE__ */ new Map(),
|
73
|
-
validators: []
|
74
|
-
}), t = t.nextPart.get(o);
|
75
|
-
}), t;
|
76
|
-
}, le = (e) => e.isThemeGetter, ie = (e, r) => r ? e.map(([t, o]) => {
|
77
|
-
const a = o.map((n) => typeof n == "string" ? r + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([i, s]) => [r + i, s])) : n);
|
78
|
-
return [t, a];
|
79
|
-
}) : e, ae = (e) => {
|
80
|
-
if (e < 1)
|
124
|
+
};
|
125
|
+
const createLruCache = (maxCacheSize) => {
|
126
|
+
if (maxCacheSize < 1) {
|
81
127
|
return {
|
82
|
-
get: () =>
|
83
|
-
},
|
128
|
+
get: () => void 0,
|
84
129
|
set: () => {
|
85
130
|
}
|
86
131
|
};
|
87
|
-
|
88
|
-
|
89
|
-
|
132
|
+
}
|
133
|
+
let cacheSize = 0;
|
134
|
+
let cache = /* @__PURE__ */ new Map();
|
135
|
+
let previousCache = /* @__PURE__ */ new Map();
|
136
|
+
const update = (key, value) => {
|
137
|
+
cache.set(key, value);
|
138
|
+
cacheSize++;
|
139
|
+
if (cacheSize > maxCacheSize) {
|
140
|
+
cacheSize = 0;
|
141
|
+
previousCache = cache;
|
142
|
+
cache = /* @__PURE__ */ new Map();
|
143
|
+
}
|
90
144
|
};
|
91
145
|
return {
|
92
|
-
get(
|
93
|
-
let
|
94
|
-
if (
|
95
|
-
return
|
96
|
-
|
97
|
-
|
146
|
+
get(key) {
|
147
|
+
let value = cache.get(key);
|
148
|
+
if (value !== void 0) {
|
149
|
+
return value;
|
150
|
+
}
|
151
|
+
if ((value = previousCache.get(key)) !== void 0) {
|
152
|
+
update(key, value);
|
153
|
+
return value;
|
154
|
+
}
|
98
155
|
},
|
99
|
-
set(
|
100
|
-
|
156
|
+
set(key, value) {
|
157
|
+
if (cache.has(key)) {
|
158
|
+
cache.set(key, value);
|
159
|
+
} else {
|
160
|
+
update(key, value);
|
161
|
+
}
|
101
162
|
}
|
102
163
|
};
|
103
|
-
}
|
164
|
+
};
|
165
|
+
const IMPORTANT_MODIFIER = "!";
|
166
|
+
const createParseClassName = (config) => {
|
104
167
|
const {
|
105
|
-
separator
|
106
|
-
experimentalParseClassName
|
107
|
-
} =
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
168
|
+
separator,
|
169
|
+
experimentalParseClassName
|
170
|
+
} = config;
|
171
|
+
const isSeparatorSingleCharacter = separator.length === 1;
|
172
|
+
const firstSeparatorCharacter = separator[0];
|
173
|
+
const separatorLength = separator.length;
|
174
|
+
const parseClassName = (className) => {
|
175
|
+
const modifiers = [];
|
176
|
+
let bracketDepth = 0;
|
177
|
+
let modifierStart = 0;
|
178
|
+
let postfixModifierPosition;
|
179
|
+
for (let index = 0; index < className.length; index++) {
|
180
|
+
let currentCharacter = className[index];
|
181
|
+
if (bracketDepth === 0) {
|
182
|
+
if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {
|
183
|
+
modifiers.push(className.slice(modifierStart, index));
|
184
|
+
modifierStart = index + separatorLength;
|
115
185
|
continue;
|
116
186
|
}
|
117
|
-
if (
|
118
|
-
|
187
|
+
if (currentCharacter === "/") {
|
188
|
+
postfixModifierPosition = index;
|
119
189
|
continue;
|
120
190
|
}
|
121
191
|
}
|
122
|
-
|
192
|
+
if (currentCharacter === "[") {
|
193
|
+
bracketDepth++;
|
194
|
+
} else if (currentCharacter === "]") {
|
195
|
+
bracketDepth--;
|
196
|
+
}
|
123
197
|
}
|
124
|
-
const
|
198
|
+
const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);
|
199
|
+
const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);
|
200
|
+
const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;
|
201
|
+
const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
|
125
202
|
return {
|
126
|
-
modifiers
|
127
|
-
hasImportantModifier
|
128
|
-
baseClassName
|
129
|
-
maybePostfixModifierPosition
|
203
|
+
modifiers,
|
204
|
+
hasImportantModifier,
|
205
|
+
baseClassName,
|
206
|
+
maybePostfixModifierPosition
|
130
207
|
};
|
131
208
|
};
|
132
|
-
|
133
|
-
className
|
134
|
-
|
135
|
-
|
136
|
-
}
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
}
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
209
|
+
if (experimentalParseClassName) {
|
210
|
+
return (className) => experimentalParseClassName({
|
211
|
+
className,
|
212
|
+
parseClassName
|
213
|
+
});
|
214
|
+
}
|
215
|
+
return parseClassName;
|
216
|
+
};
|
217
|
+
const sortModifiers = (modifiers) => {
|
218
|
+
if (modifiers.length <= 1) {
|
219
|
+
return modifiers;
|
220
|
+
}
|
221
|
+
const sortedModifiers = [];
|
222
|
+
let unsortedModifiers = [];
|
223
|
+
modifiers.forEach((modifier) => {
|
224
|
+
const isArbitraryVariant = modifier[0] === "[";
|
225
|
+
if (isArbitraryVariant) {
|
226
|
+
sortedModifiers.push(...unsortedModifiers.sort(), modifier);
|
227
|
+
unsortedModifiers = [];
|
228
|
+
} else {
|
229
|
+
unsortedModifiers.push(modifier);
|
230
|
+
}
|
231
|
+
});
|
232
|
+
sortedModifiers.push(...unsortedModifiers.sort());
|
233
|
+
return sortedModifiers;
|
234
|
+
};
|
235
|
+
const createConfigUtils = (config) => ({
|
236
|
+
cache: createLruCache(config.cacheSize),
|
237
|
+
parseClassName: createParseClassName(config),
|
238
|
+
...createClassGroupUtils(config)
|
239
|
+
});
|
240
|
+
const SPLIT_CLASSES_REGEX = /\s+/;
|
241
|
+
const mergeClassList = (classList, configUtils) => {
|
149
242
|
const {
|
150
|
-
parseClassName
|
151
|
-
getClassGroupId
|
152
|
-
getConflictingClassGroupIds
|
153
|
-
} =
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
243
|
+
parseClassName,
|
244
|
+
getClassGroupId,
|
245
|
+
getConflictingClassGroupIds
|
246
|
+
} = configUtils;
|
247
|
+
const classGroupsInConflict = [];
|
248
|
+
const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
|
249
|
+
let result = "";
|
250
|
+
for (let index = classNames.length - 1; index >= 0; index -= 1) {
|
251
|
+
const originalClassName = classNames[index];
|
252
|
+
const {
|
253
|
+
modifiers,
|
254
|
+
hasImportantModifier,
|
255
|
+
baseClassName,
|
256
|
+
maybePostfixModifierPosition
|
257
|
+
} = parseClassName(originalClassName);
|
258
|
+
let hasPostfixModifier = Boolean(maybePostfixModifierPosition);
|
259
|
+
let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
|
260
|
+
if (!classGroupId) {
|
261
|
+
if (!hasPostfixModifier) {
|
262
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
166
263
|
continue;
|
167
264
|
}
|
168
|
-
|
169
|
-
|
265
|
+
classGroupId = getClassGroupId(baseClassName);
|
266
|
+
if (!classGroupId) {
|
267
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
170
268
|
continue;
|
171
269
|
}
|
172
|
-
|
270
|
+
hasPostfixModifier = false;
|
173
271
|
}
|
174
|
-
const
|
175
|
-
|
272
|
+
const variantModifier = sortModifiers(modifiers).join(":");
|
273
|
+
const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
|
274
|
+
const classId = modifierId + classGroupId;
|
275
|
+
if (classGroupsInConflict.includes(classId)) {
|
176
276
|
continue;
|
177
|
-
n.push(h);
|
178
|
-
const R = a(b, w);
|
179
|
-
for (let A = 0; A < R.length; ++A) {
|
180
|
-
const E = R[A];
|
181
|
-
n.push(f + E);
|
182
277
|
}
|
183
|
-
|
278
|
+
classGroupsInConflict.push(classId);
|
279
|
+
const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
|
280
|
+
for (let i = 0; i < conflictGroups.length; ++i) {
|
281
|
+
const group = conflictGroups[i];
|
282
|
+
classGroupsInConflict.push(modifierId + group);
|
283
|
+
}
|
284
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
184
285
|
}
|
185
|
-
return
|
286
|
+
return result;
|
186
287
|
};
|
187
|
-
function
|
188
|
-
let
|
189
|
-
|
190
|
-
|
191
|
-
|
288
|
+
function twJoin() {
|
289
|
+
let index = 0;
|
290
|
+
let argument;
|
291
|
+
let resolvedValue;
|
292
|
+
let string = "";
|
293
|
+
while (index < arguments.length) {
|
294
|
+
if (argument = arguments[index++]) {
|
295
|
+
if (resolvedValue = toValue(argument)) {
|
296
|
+
string && (string += " ");
|
297
|
+
string += resolvedValue;
|
298
|
+
}
|
299
|
+
}
|
300
|
+
}
|
301
|
+
return string;
|
192
302
|
}
|
193
|
-
const
|
194
|
-
if (typeof
|
195
|
-
return
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
303
|
+
const toValue = (mix) => {
|
304
|
+
if (typeof mix === "string") {
|
305
|
+
return mix;
|
306
|
+
}
|
307
|
+
let resolvedValue;
|
308
|
+
let string = "";
|
309
|
+
for (let k = 0; k < mix.length; k++) {
|
310
|
+
if (mix[k]) {
|
311
|
+
if (resolvedValue = toValue(mix[k])) {
|
312
|
+
string && (string += " ");
|
313
|
+
string += resolvedValue;
|
314
|
+
}
|
315
|
+
}
|
316
|
+
}
|
317
|
+
return string;
|
200
318
|
};
|
201
|
-
function
|
202
|
-
let
|
203
|
-
|
204
|
-
|
205
|
-
|
319
|
+
function createTailwindMerge(createConfigFirst, ...createConfigRest) {
|
320
|
+
let configUtils;
|
321
|
+
let cacheGet;
|
322
|
+
let cacheSet;
|
323
|
+
let functionToCall = initTailwindMerge;
|
324
|
+
function initTailwindMerge(classList) {
|
325
|
+
const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
|
326
|
+
configUtils = createConfigUtils(config);
|
327
|
+
cacheGet = configUtils.cache.get;
|
328
|
+
cacheSet = configUtils.cache.set;
|
329
|
+
functionToCall = tailwindMerge;
|
330
|
+
return tailwindMerge(classList);
|
206
331
|
}
|
207
|
-
function
|
208
|
-
const
|
209
|
-
if (
|
210
|
-
return
|
211
|
-
|
212
|
-
|
332
|
+
function tailwindMerge(classList) {
|
333
|
+
const cachedResult = cacheGet(classList);
|
334
|
+
if (cachedResult) {
|
335
|
+
return cachedResult;
|
336
|
+
}
|
337
|
+
const result = mergeClassList(classList, configUtils);
|
338
|
+
cacheSet(classList, result);
|
339
|
+
return result;
|
213
340
|
}
|
214
|
-
return function() {
|
215
|
-
return
|
341
|
+
return function callTailwindMerge() {
|
342
|
+
return functionToCall(twJoin.apply(null, arguments));
|
216
343
|
};
|
217
344
|
}
|
218
|
-
const
|
219
|
-
const
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
345
|
+
const fromTheme = (key) => {
|
346
|
+
const themeGetter = (theme) => theme[key] || [];
|
347
|
+
themeGetter.isThemeGetter = true;
|
348
|
+
return themeGetter;
|
349
|
+
};
|
350
|
+
const arbitraryValueRegex = /^\[(?:([a-z-]+):)?(.+)\]$/i;
|
351
|
+
const fractionRegex = /^\d+\/\d+$/;
|
352
|
+
const stringLengths = /* @__PURE__ */ new Set(["px", "full", "screen"]);
|
353
|
+
const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
354
|
+
const lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/;
|
355
|
+
const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
|
356
|
+
const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
357
|
+
const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
358
|
+
const isLength = (value) => isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
|
359
|
+
const isArbitraryLength = (value) => getIsArbitraryValue(value, "length", isLengthOnly);
|
360
|
+
const isNumber = (value) => Boolean(value) && !Number.isNaN(Number(value));
|
361
|
+
const isArbitraryNumber = (value) => getIsArbitraryValue(value, "number", isNumber);
|
362
|
+
const isInteger = (value) => Boolean(value) && Number.isInteger(Number(value));
|
363
|
+
const isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
|
364
|
+
const isArbitraryValue = (value) => arbitraryValueRegex.test(value);
|
365
|
+
const isTshirtSize = (value) => tshirtUnitRegex.test(value);
|
366
|
+
const sizeLabels = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
|
367
|
+
const isArbitrarySize = (value) => getIsArbitraryValue(value, sizeLabels, isNever);
|
368
|
+
const isArbitraryPosition = (value) => getIsArbitraryValue(value, "position", isNever);
|
369
|
+
const imageLabels = /* @__PURE__ */ new Set(["image", "url"]);
|
370
|
+
const isArbitraryImage = (value) => getIsArbitraryValue(value, imageLabels, isImage);
|
371
|
+
const isArbitraryShadow = (value) => getIsArbitraryValue(value, "", isShadow);
|
372
|
+
const isAny = () => true;
|
373
|
+
const getIsArbitraryValue = (value, label, testValue) => {
|
374
|
+
const result = arbitraryValueRegex.exec(value);
|
375
|
+
if (result) {
|
376
|
+
if (result[1]) {
|
377
|
+
return typeof label === "string" ? result[1] === label : label.has(result[1]);
|
378
|
+
}
|
379
|
+
return testValue(result[2]);
|
380
|
+
}
|
381
|
+
return false;
|
382
|
+
};
|
383
|
+
const isLengthOnly = (value) => (
|
225
384
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
226
385
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
227
386
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
228
|
-
|
229
|
-
)
|
230
|
-
|
387
|
+
lengthUnitRegex.test(value) && !colorFunctionRegex.test(value)
|
388
|
+
);
|
389
|
+
const isNever = () => false;
|
390
|
+
const isShadow = (value) => shadowRegex.test(value);
|
391
|
+
const isImage = (value) => imageRegex.test(value);
|
392
|
+
const getDefaultConfig = () => {
|
393
|
+
const colors = fromTheme("colors");
|
394
|
+
const spacing = fromTheme("spacing");
|
395
|
+
const blur = fromTheme("blur");
|
396
|
+
const brightness = fromTheme("brightness");
|
397
|
+
const borderColor = fromTheme("borderColor");
|
398
|
+
const borderRadius = fromTheme("borderRadius");
|
399
|
+
const borderSpacing = fromTheme("borderSpacing");
|
400
|
+
const borderWidth = fromTheme("borderWidth");
|
401
|
+
const contrast = fromTheme("contrast");
|
402
|
+
const grayscale = fromTheme("grayscale");
|
403
|
+
const hueRotate = fromTheme("hueRotate");
|
404
|
+
const invert = fromTheme("invert");
|
405
|
+
const gap = fromTheme("gap");
|
406
|
+
const gradientColorStops = fromTheme("gradientColorStops");
|
407
|
+
const gradientColorStopPositions = fromTheme("gradientColorStopPositions");
|
408
|
+
const inset = fromTheme("inset");
|
409
|
+
const margin = fromTheme("margin");
|
410
|
+
const opacity = fromTheme("opacity");
|
411
|
+
const padding = fromTheme("padding");
|
412
|
+
const saturate = fromTheme("saturate");
|
413
|
+
const scale = fromTheme("scale");
|
414
|
+
const sepia = fromTheme("sepia");
|
415
|
+
const skew = fromTheme("skew");
|
416
|
+
const space = fromTheme("space");
|
417
|
+
const translate = fromTheme("translate");
|
418
|
+
const getOverscroll = () => ["auto", "contain", "none"];
|
419
|
+
const getOverflow = () => ["auto", "hidden", "clip", "visible", "scroll"];
|
420
|
+
const getSpacingWithAutoAndArbitrary = () => ["auto", isArbitraryValue, spacing];
|
421
|
+
const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];
|
422
|
+
const getLengthWithEmptyAndArbitrary = () => ["", isLength, isArbitraryLength];
|
423
|
+
const getNumberWithAutoAndArbitrary = () => ["auto", isNumber, isArbitraryValue];
|
424
|
+
const getPositions = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
|
425
|
+
const getLineStyles = () => ["solid", "dashed", "dotted", "double", "none"];
|
426
|
+
const getBlendModes = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];
|
427
|
+
const getAlign = () => ["start", "end", "center", "between", "around", "evenly", "stretch"];
|
428
|
+
const getZeroAndEmpty = () => ["", "0", isArbitraryValue];
|
429
|
+
const getBreaks = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
|
430
|
+
const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];
|
231
431
|
return {
|
232
432
|
cacheSize: 500,
|
233
433
|
separator: ":",
|
234
434
|
theme: {
|
235
|
-
colors: [
|
236
|
-
spacing: [
|
237
|
-
blur: ["none", "",
|
238
|
-
brightness:
|
239
|
-
borderColor: [
|
240
|
-
borderRadius: ["none", "", "full",
|
241
|
-
borderSpacing:
|
242
|
-
borderWidth:
|
243
|
-
contrast:
|
244
|
-
grayscale:
|
245
|
-
hueRotate:
|
246
|
-
invert:
|
247
|
-
gap:
|
248
|
-
gradientColorStops: [
|
249
|
-
gradientColorStopPositions: [
|
250
|
-
inset:
|
251
|
-
margin:
|
252
|
-
opacity:
|
253
|
-
padding:
|
254
|
-
saturate:
|
255
|
-
scale:
|
256
|
-
sepia:
|
257
|
-
skew:
|
258
|
-
space:
|
259
|
-
translate:
|
435
|
+
colors: [isAny],
|
436
|
+
spacing: [isLength, isArbitraryLength],
|
437
|
+
blur: ["none", "", isTshirtSize, isArbitraryValue],
|
438
|
+
brightness: getNumberAndArbitrary(),
|
439
|
+
borderColor: [colors],
|
440
|
+
borderRadius: ["none", "", "full", isTshirtSize, isArbitraryValue],
|
441
|
+
borderSpacing: getSpacingWithArbitrary(),
|
442
|
+
borderWidth: getLengthWithEmptyAndArbitrary(),
|
443
|
+
contrast: getNumberAndArbitrary(),
|
444
|
+
grayscale: getZeroAndEmpty(),
|
445
|
+
hueRotate: getNumberAndArbitrary(),
|
446
|
+
invert: getZeroAndEmpty(),
|
447
|
+
gap: getSpacingWithArbitrary(),
|
448
|
+
gradientColorStops: [colors],
|
449
|
+
gradientColorStopPositions: [isPercent, isArbitraryLength],
|
450
|
+
inset: getSpacingWithAutoAndArbitrary(),
|
451
|
+
margin: getSpacingWithAutoAndArbitrary(),
|
452
|
+
opacity: getNumberAndArbitrary(),
|
453
|
+
padding: getSpacingWithArbitrary(),
|
454
|
+
saturate: getNumberAndArbitrary(),
|
455
|
+
scale: getNumberAndArbitrary(),
|
456
|
+
sepia: getZeroAndEmpty(),
|
457
|
+
skew: getNumberAndArbitrary(),
|
458
|
+
space: getSpacingWithArbitrary(),
|
459
|
+
translate: getSpacingWithArbitrary()
|
260
460
|
},
|
261
461
|
classGroups: {
|
262
462
|
// Layout
|
@@ -265,7 +465,7 @@ const c = (e) => {
|
|
265
465
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
266
466
|
*/
|
267
467
|
aspect: [{
|
268
|
-
aspect: ["auto", "square", "video",
|
468
|
+
aspect: ["auto", "square", "video", isArbitraryValue]
|
269
469
|
}],
|
270
470
|
/**
|
271
471
|
* Container
|
@@ -277,21 +477,21 @@ const c = (e) => {
|
|
277
477
|
* @see https://tailwindcss.com/docs/columns
|
278
478
|
*/
|
279
479
|
columns: [{
|
280
|
-
columns: [
|
480
|
+
columns: [isTshirtSize]
|
281
481
|
}],
|
282
482
|
/**
|
283
483
|
* Break After
|
284
484
|
* @see https://tailwindcss.com/docs/break-after
|
285
485
|
*/
|
286
486
|
"break-after": [{
|
287
|
-
"break-after":
|
487
|
+
"break-after": getBreaks()
|
288
488
|
}],
|
289
489
|
/**
|
290
490
|
* Break Before
|
291
491
|
* @see https://tailwindcss.com/docs/break-before
|
292
492
|
*/
|
293
493
|
"break-before": [{
|
294
|
-
"break-before":
|
494
|
+
"break-before": getBreaks()
|
295
495
|
}],
|
296
496
|
/**
|
297
497
|
* Break Inside
|
@@ -350,49 +550,49 @@ const c = (e) => {
|
|
350
550
|
* @see https://tailwindcss.com/docs/object-position
|
351
551
|
*/
|
352
552
|
"object-position": [{
|
353
|
-
object: [...
|
553
|
+
object: [...getPositions(), isArbitraryValue]
|
354
554
|
}],
|
355
555
|
/**
|
356
556
|
* Overflow
|
357
557
|
* @see https://tailwindcss.com/docs/overflow
|
358
558
|
*/
|
359
559
|
overflow: [{
|
360
|
-
overflow:
|
560
|
+
overflow: getOverflow()
|
361
561
|
}],
|
362
562
|
/**
|
363
563
|
* Overflow X
|
364
564
|
* @see https://tailwindcss.com/docs/overflow
|
365
565
|
*/
|
366
566
|
"overflow-x": [{
|
367
|
-
"overflow-x":
|
567
|
+
"overflow-x": getOverflow()
|
368
568
|
}],
|
369
569
|
/**
|
370
570
|
* Overflow Y
|
371
571
|
* @see https://tailwindcss.com/docs/overflow
|
372
572
|
*/
|
373
573
|
"overflow-y": [{
|
374
|
-
"overflow-y":
|
574
|
+
"overflow-y": getOverflow()
|
375
575
|
}],
|
376
576
|
/**
|
377
577
|
* Overscroll Behavior
|
378
578
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
379
579
|
*/
|
380
580
|
overscroll: [{
|
381
|
-
overscroll:
|
581
|
+
overscroll: getOverscroll()
|
382
582
|
}],
|
383
583
|
/**
|
384
584
|
* Overscroll Behavior X
|
385
585
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
386
586
|
*/
|
387
587
|
"overscroll-x": [{
|
388
|
-
"overscroll-x":
|
588
|
+
"overscroll-x": getOverscroll()
|
389
589
|
}],
|
390
590
|
/**
|
391
591
|
* Overscroll Behavior Y
|
392
592
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
393
593
|
*/
|
394
594
|
"overscroll-y": [{
|
395
|
-
"overscroll-y":
|
595
|
+
"overscroll-y": getOverscroll()
|
396
596
|
}],
|
397
597
|
/**
|
398
598
|
* Position
|
@@ -404,63 +604,63 @@ const c = (e) => {
|
|
404
604
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
405
605
|
*/
|
406
606
|
inset: [{
|
407
|
-
inset: [
|
607
|
+
inset: [inset]
|
408
608
|
}],
|
409
609
|
/**
|
410
610
|
* Right / Left
|
411
611
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
412
612
|
*/
|
413
613
|
"inset-x": [{
|
414
|
-
"inset-x": [
|
614
|
+
"inset-x": [inset]
|
415
615
|
}],
|
416
616
|
/**
|
417
617
|
* Top / Bottom
|
418
618
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
419
619
|
*/
|
420
620
|
"inset-y": [{
|
421
|
-
"inset-y": [
|
621
|
+
"inset-y": [inset]
|
422
622
|
}],
|
423
623
|
/**
|
424
624
|
* Start
|
425
625
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
426
626
|
*/
|
427
627
|
start: [{
|
428
|
-
start: [
|
628
|
+
start: [inset]
|
429
629
|
}],
|
430
630
|
/**
|
431
631
|
* End
|
432
632
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
433
633
|
*/
|
434
634
|
end: [{
|
435
|
-
end: [
|
635
|
+
end: [inset]
|
436
636
|
}],
|
437
637
|
/**
|
438
638
|
* Top
|
439
639
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
440
640
|
*/
|
441
641
|
top: [{
|
442
|
-
top: [
|
642
|
+
top: [inset]
|
443
643
|
}],
|
444
644
|
/**
|
445
645
|
* Right
|
446
646
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
447
647
|
*/
|
448
648
|
right: [{
|
449
|
-
right: [
|
649
|
+
right: [inset]
|
450
650
|
}],
|
451
651
|
/**
|
452
652
|
* Bottom
|
453
653
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
454
654
|
*/
|
455
655
|
bottom: [{
|
456
|
-
bottom: [
|
656
|
+
bottom: [inset]
|
457
657
|
}],
|
458
658
|
/**
|
459
659
|
* Left
|
460
660
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
461
661
|
*/
|
462
662
|
left: [{
|
463
|
-
left: [
|
663
|
+
left: [inset]
|
464
664
|
}],
|
465
665
|
/**
|
466
666
|
* Visibility
|
@@ -472,7 +672,7 @@ const c = (e) => {
|
|
472
672
|
* @see https://tailwindcss.com/docs/z-index
|
473
673
|
*/
|
474
674
|
z: [{
|
475
|
-
z: ["auto",
|
675
|
+
z: ["auto", isInteger, isArbitraryValue]
|
476
676
|
}],
|
477
677
|
// Flexbox and Grid
|
478
678
|
/**
|
@@ -480,7 +680,7 @@ const c = (e) => {
|
|
480
680
|
* @see https://tailwindcss.com/docs/flex-basis
|
481
681
|
*/
|
482
682
|
basis: [{
|
483
|
-
basis:
|
683
|
+
basis: getSpacingWithAutoAndArbitrary()
|
484
684
|
}],
|
485
685
|
/**
|
486
686
|
* Flex Direction
|
@@ -501,35 +701,35 @@ const c = (e) => {
|
|
501
701
|
* @see https://tailwindcss.com/docs/flex
|
502
702
|
*/
|
503
703
|
flex: [{
|
504
|
-
flex: ["1", "auto", "initial", "none",
|
704
|
+
flex: ["1", "auto", "initial", "none", isArbitraryValue]
|
505
705
|
}],
|
506
706
|
/**
|
507
707
|
* Flex Grow
|
508
708
|
* @see https://tailwindcss.com/docs/flex-grow
|
509
709
|
*/
|
510
710
|
grow: [{
|
511
|
-
grow:
|
711
|
+
grow: getZeroAndEmpty()
|
512
712
|
}],
|
513
713
|
/**
|
514
714
|
* Flex Shrink
|
515
715
|
* @see https://tailwindcss.com/docs/flex-shrink
|
516
716
|
*/
|
517
717
|
shrink: [{
|
518
|
-
shrink:
|
718
|
+
shrink: getZeroAndEmpty()
|
519
719
|
}],
|
520
720
|
/**
|
521
721
|
* Order
|
522
722
|
* @see https://tailwindcss.com/docs/order
|
523
723
|
*/
|
524
724
|
order: [{
|
525
|
-
order: ["first", "last", "none",
|
725
|
+
order: ["first", "last", "none", isInteger, isArbitraryValue]
|
526
726
|
}],
|
527
727
|
/**
|
528
728
|
* Grid Template Columns
|
529
729
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
530
730
|
*/
|
531
731
|
"grid-cols": [{
|
532
|
-
"grid-cols": [
|
732
|
+
"grid-cols": [isAny]
|
533
733
|
}],
|
534
734
|
/**
|
535
735
|
* Grid Column Start / End
|
@@ -537,29 +737,29 @@ const c = (e) => {
|
|
537
737
|
*/
|
538
738
|
"col-start-end": [{
|
539
739
|
col: ["auto", {
|
540
|
-
span: ["full",
|
541
|
-
},
|
740
|
+
span: ["full", isInteger, isArbitraryValue]
|
741
|
+
}, isArbitraryValue]
|
542
742
|
}],
|
543
743
|
/**
|
544
744
|
* Grid Column Start
|
545
745
|
* @see https://tailwindcss.com/docs/grid-column
|
546
746
|
*/
|
547
747
|
"col-start": [{
|
548
|
-
"col-start":
|
748
|
+
"col-start": getNumberWithAutoAndArbitrary()
|
549
749
|
}],
|
550
750
|
/**
|
551
751
|
* Grid Column End
|
552
752
|
* @see https://tailwindcss.com/docs/grid-column
|
553
753
|
*/
|
554
754
|
"col-end": [{
|
555
|
-
"col-end":
|
755
|
+
"col-end": getNumberWithAutoAndArbitrary()
|
556
756
|
}],
|
557
757
|
/**
|
558
758
|
* Grid Template Rows
|
559
759
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
560
760
|
*/
|
561
761
|
"grid-rows": [{
|
562
|
-
"grid-rows": [
|
762
|
+
"grid-rows": [isAny]
|
563
763
|
}],
|
564
764
|
/**
|
565
765
|
* Grid Row Start / End
|
@@ -567,22 +767,22 @@ const c = (e) => {
|
|
567
767
|
*/
|
568
768
|
"row-start-end": [{
|
569
769
|
row: ["auto", {
|
570
|
-
span: [
|
571
|
-
},
|
770
|
+
span: [isInteger, isArbitraryValue]
|
771
|
+
}, isArbitraryValue]
|
572
772
|
}],
|
573
773
|
/**
|
574
774
|
* Grid Row Start
|
575
775
|
* @see https://tailwindcss.com/docs/grid-row
|
576
776
|
*/
|
577
777
|
"row-start": [{
|
578
|
-
"row-start":
|
778
|
+
"row-start": getNumberWithAutoAndArbitrary()
|
579
779
|
}],
|
580
780
|
/**
|
581
781
|
* Grid Row End
|
582
782
|
* @see https://tailwindcss.com/docs/grid-row
|
583
783
|
*/
|
584
784
|
"row-end": [{
|
585
|
-
"row-end":
|
785
|
+
"row-end": getNumberWithAutoAndArbitrary()
|
586
786
|
}],
|
587
787
|
/**
|
588
788
|
* Grid Auto Flow
|
@@ -596,42 +796,42 @@ const c = (e) => {
|
|
596
796
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
597
797
|
*/
|
598
798
|
"auto-cols": [{
|
599
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
799
|
+
"auto-cols": ["auto", "min", "max", "fr", isArbitraryValue]
|
600
800
|
}],
|
601
801
|
/**
|
602
802
|
* Grid Auto Rows
|
603
803
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
604
804
|
*/
|
605
805
|
"auto-rows": [{
|
606
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
806
|
+
"auto-rows": ["auto", "min", "max", "fr", isArbitraryValue]
|
607
807
|
}],
|
608
808
|
/**
|
609
809
|
* Gap
|
610
810
|
* @see https://tailwindcss.com/docs/gap
|
611
811
|
*/
|
612
812
|
gap: [{
|
613
|
-
gap: [
|
813
|
+
gap: [gap]
|
614
814
|
}],
|
615
815
|
/**
|
616
816
|
* Gap X
|
617
817
|
* @see https://tailwindcss.com/docs/gap
|
618
818
|
*/
|
619
819
|
"gap-x": [{
|
620
|
-
"gap-x": [
|
820
|
+
"gap-x": [gap]
|
621
821
|
}],
|
622
822
|
/**
|
623
823
|
* Gap Y
|
624
824
|
* @see https://tailwindcss.com/docs/gap
|
625
825
|
*/
|
626
826
|
"gap-y": [{
|
627
|
-
"gap-y": [
|
827
|
+
"gap-y": [gap]
|
628
828
|
}],
|
629
829
|
/**
|
630
830
|
* Justify Content
|
631
831
|
* @see https://tailwindcss.com/docs/justify-content
|
632
832
|
*/
|
633
833
|
"justify-content": [{
|
634
|
-
justify: ["normal", ...
|
834
|
+
justify: ["normal", ...getAlign()]
|
635
835
|
}],
|
636
836
|
/**
|
637
837
|
* Justify Items
|
@@ -652,7 +852,7 @@ const c = (e) => {
|
|
652
852
|
* @see https://tailwindcss.com/docs/align-content
|
653
853
|
*/
|
654
854
|
"align-content": [{
|
655
|
-
content: ["normal", ...
|
855
|
+
content: ["normal", ...getAlign(), "baseline"]
|
656
856
|
}],
|
657
857
|
/**
|
658
858
|
* Align Items
|
@@ -673,7 +873,7 @@ const c = (e) => {
|
|
673
873
|
* @see https://tailwindcss.com/docs/place-content
|
674
874
|
*/
|
675
875
|
"place-content": [{
|
676
|
-
"place-content": [...
|
876
|
+
"place-content": [...getAlign(), "baseline"]
|
677
877
|
}],
|
678
878
|
/**
|
679
879
|
* Place Items
|
@@ -695,133 +895,133 @@ const c = (e) => {
|
|
695
895
|
* @see https://tailwindcss.com/docs/padding
|
696
896
|
*/
|
697
897
|
p: [{
|
698
|
-
p: [
|
898
|
+
p: [padding]
|
699
899
|
}],
|
700
900
|
/**
|
701
901
|
* Padding X
|
702
902
|
* @see https://tailwindcss.com/docs/padding
|
703
903
|
*/
|
704
904
|
px: [{
|
705
|
-
px: [
|
905
|
+
px: [padding]
|
706
906
|
}],
|
707
907
|
/**
|
708
908
|
* Padding Y
|
709
909
|
* @see https://tailwindcss.com/docs/padding
|
710
910
|
*/
|
711
911
|
py: [{
|
712
|
-
py: [
|
912
|
+
py: [padding]
|
713
913
|
}],
|
714
914
|
/**
|
715
915
|
* Padding Start
|
716
916
|
* @see https://tailwindcss.com/docs/padding
|
717
917
|
*/
|
718
918
|
ps: [{
|
719
|
-
ps: [
|
919
|
+
ps: [padding]
|
720
920
|
}],
|
721
921
|
/**
|
722
922
|
* Padding End
|
723
923
|
* @see https://tailwindcss.com/docs/padding
|
724
924
|
*/
|
725
925
|
pe: [{
|
726
|
-
pe: [
|
926
|
+
pe: [padding]
|
727
927
|
}],
|
728
928
|
/**
|
729
929
|
* Padding Top
|
730
930
|
* @see https://tailwindcss.com/docs/padding
|
731
931
|
*/
|
732
932
|
pt: [{
|
733
|
-
pt: [
|
933
|
+
pt: [padding]
|
734
934
|
}],
|
735
935
|
/**
|
736
936
|
* Padding Right
|
737
937
|
* @see https://tailwindcss.com/docs/padding
|
738
938
|
*/
|
739
939
|
pr: [{
|
740
|
-
pr: [
|
940
|
+
pr: [padding]
|
741
941
|
}],
|
742
942
|
/**
|
743
943
|
* Padding Bottom
|
744
944
|
* @see https://tailwindcss.com/docs/padding
|
745
945
|
*/
|
746
946
|
pb: [{
|
747
|
-
pb: [
|
947
|
+
pb: [padding]
|
748
948
|
}],
|
749
949
|
/**
|
750
950
|
* Padding Left
|
751
951
|
* @see https://tailwindcss.com/docs/padding
|
752
952
|
*/
|
753
953
|
pl: [{
|
754
|
-
pl: [
|
954
|
+
pl: [padding]
|
755
955
|
}],
|
756
956
|
/**
|
757
957
|
* Margin
|
758
958
|
* @see https://tailwindcss.com/docs/margin
|
759
959
|
*/
|
760
960
|
m: [{
|
761
|
-
m: [
|
961
|
+
m: [margin]
|
762
962
|
}],
|
763
963
|
/**
|
764
964
|
* Margin X
|
765
965
|
* @see https://tailwindcss.com/docs/margin
|
766
966
|
*/
|
767
967
|
mx: [{
|
768
|
-
mx: [
|
968
|
+
mx: [margin]
|
769
969
|
}],
|
770
970
|
/**
|
771
971
|
* Margin Y
|
772
972
|
* @see https://tailwindcss.com/docs/margin
|
773
973
|
*/
|
774
974
|
my: [{
|
775
|
-
my: [
|
975
|
+
my: [margin]
|
776
976
|
}],
|
777
977
|
/**
|
778
978
|
* Margin Start
|
779
979
|
* @see https://tailwindcss.com/docs/margin
|
780
980
|
*/
|
781
981
|
ms: [{
|
782
|
-
ms: [
|
982
|
+
ms: [margin]
|
783
983
|
}],
|
784
984
|
/**
|
785
985
|
* Margin End
|
786
986
|
* @see https://tailwindcss.com/docs/margin
|
787
987
|
*/
|
788
988
|
me: [{
|
789
|
-
me: [
|
989
|
+
me: [margin]
|
790
990
|
}],
|
791
991
|
/**
|
792
992
|
* Margin Top
|
793
993
|
* @see https://tailwindcss.com/docs/margin
|
794
994
|
*/
|
795
995
|
mt: [{
|
796
|
-
mt: [
|
996
|
+
mt: [margin]
|
797
997
|
}],
|
798
998
|
/**
|
799
999
|
* Margin Right
|
800
1000
|
* @see https://tailwindcss.com/docs/margin
|
801
1001
|
*/
|
802
1002
|
mr: [{
|
803
|
-
mr: [
|
1003
|
+
mr: [margin]
|
804
1004
|
}],
|
805
1005
|
/**
|
806
1006
|
* Margin Bottom
|
807
1007
|
* @see https://tailwindcss.com/docs/margin
|
808
1008
|
*/
|
809
1009
|
mb: [{
|
810
|
-
mb: [
|
1010
|
+
mb: [margin]
|
811
1011
|
}],
|
812
1012
|
/**
|
813
1013
|
* Margin Left
|
814
1014
|
* @see https://tailwindcss.com/docs/margin
|
815
1015
|
*/
|
816
1016
|
ml: [{
|
817
|
-
ml: [
|
1017
|
+
ml: [margin]
|
818
1018
|
}],
|
819
1019
|
/**
|
820
1020
|
* Space Between X
|
821
1021
|
* @see https://tailwindcss.com/docs/space
|
822
1022
|
*/
|
823
1023
|
"space-x": [{
|
824
|
-
"space-x": [
|
1024
|
+
"space-x": [space]
|
825
1025
|
}],
|
826
1026
|
/**
|
827
1027
|
* Space Between X Reverse
|
@@ -833,7 +1033,7 @@ const c = (e) => {
|
|
833
1033
|
* @see https://tailwindcss.com/docs/space
|
834
1034
|
*/
|
835
1035
|
"space-y": [{
|
836
|
-
"space-y": [
|
1036
|
+
"space-y": [space]
|
837
1037
|
}],
|
838
1038
|
/**
|
839
1039
|
* Space Between Y Reverse
|
@@ -846,51 +1046,51 @@ const c = (e) => {
|
|
846
1046
|
* @see https://tailwindcss.com/docs/width
|
847
1047
|
*/
|
848
1048
|
w: [{
|
849
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw",
|
1049
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", isArbitraryValue, spacing]
|
850
1050
|
}],
|
851
1051
|
/**
|
852
1052
|
* Min-Width
|
853
1053
|
* @see https://tailwindcss.com/docs/min-width
|
854
1054
|
*/
|
855
1055
|
"min-w": [{
|
856
|
-
"min-w": [
|
1056
|
+
"min-w": [isArbitraryValue, spacing, "min", "max", "fit"]
|
857
1057
|
}],
|
858
1058
|
/**
|
859
1059
|
* Max-Width
|
860
1060
|
* @see https://tailwindcss.com/docs/max-width
|
861
1061
|
*/
|
862
1062
|
"max-w": [{
|
863
|
-
"max-w": [
|
864
|
-
screen: [
|
865
|
-
},
|
1063
|
+
"max-w": [isArbitraryValue, spacing, "none", "full", "min", "max", "fit", "prose", {
|
1064
|
+
screen: [isTshirtSize]
|
1065
|
+
}, isTshirtSize]
|
866
1066
|
}],
|
867
1067
|
/**
|
868
1068
|
* Height
|
869
1069
|
* @see https://tailwindcss.com/docs/height
|
870
1070
|
*/
|
871
1071
|
h: [{
|
872
|
-
h: [
|
1072
|
+
h: [isArbitraryValue, spacing, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
873
1073
|
}],
|
874
1074
|
/**
|
875
1075
|
* Min-Height
|
876
1076
|
* @see https://tailwindcss.com/docs/min-height
|
877
1077
|
*/
|
878
1078
|
"min-h": [{
|
879
|
-
"min-h": [
|
1079
|
+
"min-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
|
880
1080
|
}],
|
881
1081
|
/**
|
882
1082
|
* Max-Height
|
883
1083
|
* @see https://tailwindcss.com/docs/max-height
|
884
1084
|
*/
|
885
1085
|
"max-h": [{
|
886
|
-
"max-h": [
|
1086
|
+
"max-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
|
887
1087
|
}],
|
888
1088
|
/**
|
889
1089
|
* Size
|
890
1090
|
* @see https://tailwindcss.com/docs/size
|
891
1091
|
*/
|
892
1092
|
size: [{
|
893
|
-
size: [
|
1093
|
+
size: [isArbitraryValue, spacing, "auto", "min", "max", "fit"]
|
894
1094
|
}],
|
895
1095
|
// Typography
|
896
1096
|
/**
|
@@ -898,7 +1098,7 @@ const c = (e) => {
|
|
898
1098
|
* @see https://tailwindcss.com/docs/font-size
|
899
1099
|
*/
|
900
1100
|
"font-size": [{
|
901
|
-
text: ["base",
|
1101
|
+
text: ["base", isTshirtSize, isArbitraryLength]
|
902
1102
|
}],
|
903
1103
|
/**
|
904
1104
|
* Font Smoothing
|
@@ -915,14 +1115,14 @@ const c = (e) => {
|
|
915
1115
|
* @see https://tailwindcss.com/docs/font-weight
|
916
1116
|
*/
|
917
1117
|
"font-weight": [{
|
918
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
1118
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", isArbitraryNumber]
|
919
1119
|
}],
|
920
1120
|
/**
|
921
1121
|
* Font Family
|
922
1122
|
* @see https://tailwindcss.com/docs/font-family
|
923
1123
|
*/
|
924
1124
|
"font-family": [{
|
925
|
-
font: [
|
1125
|
+
font: [isAny]
|
926
1126
|
}],
|
927
1127
|
/**
|
928
1128
|
* Font Variant Numeric
|
@@ -959,35 +1159,35 @@ const c = (e) => {
|
|
959
1159
|
* @see https://tailwindcss.com/docs/letter-spacing
|
960
1160
|
*/
|
961
1161
|
tracking: [{
|
962
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
1162
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", isArbitraryValue]
|
963
1163
|
}],
|
964
1164
|
/**
|
965
1165
|
* Line Clamp
|
966
1166
|
* @see https://tailwindcss.com/docs/line-clamp
|
967
1167
|
*/
|
968
1168
|
"line-clamp": [{
|
969
|
-
"line-clamp": ["none",
|
1169
|
+
"line-clamp": ["none", isNumber, isArbitraryNumber]
|
970
1170
|
}],
|
971
1171
|
/**
|
972
1172
|
* Line Height
|
973
1173
|
* @see https://tailwindcss.com/docs/line-height
|
974
1174
|
*/
|
975
1175
|
leading: [{
|
976
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
1176
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", isLength, isArbitraryValue]
|
977
1177
|
}],
|
978
1178
|
/**
|
979
1179
|
* List Style Image
|
980
1180
|
* @see https://tailwindcss.com/docs/list-style-image
|
981
1181
|
*/
|
982
1182
|
"list-image": [{
|
983
|
-
"list-image": ["none",
|
1183
|
+
"list-image": ["none", isArbitraryValue]
|
984
1184
|
}],
|
985
1185
|
/**
|
986
1186
|
* List Style Type
|
987
1187
|
* @see https://tailwindcss.com/docs/list-style-type
|
988
1188
|
*/
|
989
1189
|
"list-style-type": [{
|
990
|
-
list: ["none", "disc", "decimal",
|
1190
|
+
list: ["none", "disc", "decimal", isArbitraryValue]
|
991
1191
|
}],
|
992
1192
|
/**
|
993
1193
|
* List Style Position
|
@@ -1002,14 +1202,14 @@ const c = (e) => {
|
|
1002
1202
|
* @see https://tailwindcss.com/docs/placeholder-color
|
1003
1203
|
*/
|
1004
1204
|
"placeholder-color": [{
|
1005
|
-
placeholder: [
|
1205
|
+
placeholder: [colors]
|
1006
1206
|
}],
|
1007
1207
|
/**
|
1008
1208
|
* Placeholder Opacity
|
1009
1209
|
* @see https://tailwindcss.com/docs/placeholder-opacity
|
1010
1210
|
*/
|
1011
1211
|
"placeholder-opacity": [{
|
1012
|
-
"placeholder-opacity": [
|
1212
|
+
"placeholder-opacity": [opacity]
|
1013
1213
|
}],
|
1014
1214
|
/**
|
1015
1215
|
* Text Alignment
|
@@ -1023,14 +1223,14 @@ const c = (e) => {
|
|
1023
1223
|
* @see https://tailwindcss.com/docs/text-color
|
1024
1224
|
*/
|
1025
1225
|
"text-color": [{
|
1026
|
-
text: [
|
1226
|
+
text: [colors]
|
1027
1227
|
}],
|
1028
1228
|
/**
|
1029
1229
|
* Text Opacity
|
1030
1230
|
* @see https://tailwindcss.com/docs/text-opacity
|
1031
1231
|
*/
|
1032
1232
|
"text-opacity": [{
|
1033
|
-
"text-opacity": [
|
1233
|
+
"text-opacity": [opacity]
|
1034
1234
|
}],
|
1035
1235
|
/**
|
1036
1236
|
* Text Decoration
|
@@ -1042,28 +1242,28 @@ const c = (e) => {
|
|
1042
1242
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
1043
1243
|
*/
|
1044
1244
|
"text-decoration-style": [{
|
1045
|
-
decoration: [...
|
1245
|
+
decoration: [...getLineStyles(), "wavy"]
|
1046
1246
|
}],
|
1047
1247
|
/**
|
1048
1248
|
* Text Decoration Thickness
|
1049
1249
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
1050
1250
|
*/
|
1051
1251
|
"text-decoration-thickness": [{
|
1052
|
-
decoration: ["auto", "from-font",
|
1252
|
+
decoration: ["auto", "from-font", isLength, isArbitraryLength]
|
1053
1253
|
}],
|
1054
1254
|
/**
|
1055
1255
|
* Text Underline Offset
|
1056
1256
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
1057
1257
|
*/
|
1058
1258
|
"underline-offset": [{
|
1059
|
-
"underline-offset": ["auto",
|
1259
|
+
"underline-offset": ["auto", isLength, isArbitraryValue]
|
1060
1260
|
}],
|
1061
1261
|
/**
|
1062
1262
|
* Text Decoration Color
|
1063
1263
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
1064
1264
|
*/
|
1065
1265
|
"text-decoration-color": [{
|
1066
|
-
decoration: [
|
1266
|
+
decoration: [colors]
|
1067
1267
|
}],
|
1068
1268
|
/**
|
1069
1269
|
* Text Transform
|
@@ -1087,14 +1287,14 @@ const c = (e) => {
|
|
1087
1287
|
* @see https://tailwindcss.com/docs/text-indent
|
1088
1288
|
*/
|
1089
1289
|
indent: [{
|
1090
|
-
indent:
|
1290
|
+
indent: getSpacingWithArbitrary()
|
1091
1291
|
}],
|
1092
1292
|
/**
|
1093
1293
|
* Vertical Alignment
|
1094
1294
|
* @see https://tailwindcss.com/docs/vertical-align
|
1095
1295
|
*/
|
1096
1296
|
"vertical-align": [{
|
1097
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
1297
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", isArbitraryValue]
|
1098
1298
|
}],
|
1099
1299
|
/**
|
1100
1300
|
* Whitespace
|
@@ -1122,7 +1322,7 @@ const c = (e) => {
|
|
1122
1322
|
* @see https://tailwindcss.com/docs/content
|
1123
1323
|
*/
|
1124
1324
|
content: [{
|
1125
|
-
content: ["none",
|
1325
|
+
content: ["none", isArbitraryValue]
|
1126
1326
|
}],
|
1127
1327
|
// Backgrounds
|
1128
1328
|
/**
|
@@ -1145,7 +1345,7 @@ const c = (e) => {
|
|
1145
1345
|
* @see https://tailwindcss.com/docs/background-opacity
|
1146
1346
|
*/
|
1147
1347
|
"bg-opacity": [{
|
1148
|
-
"bg-opacity": [
|
1348
|
+
"bg-opacity": [opacity]
|
1149
1349
|
}],
|
1150
1350
|
/**
|
1151
1351
|
* Background Origin
|
@@ -1159,7 +1359,7 @@ const c = (e) => {
|
|
1159
1359
|
* @see https://tailwindcss.com/docs/background-position
|
1160
1360
|
*/
|
1161
1361
|
"bg-position": [{
|
1162
|
-
bg: [...
|
1362
|
+
bg: [...getPositions(), isArbitraryPosition]
|
1163
1363
|
}],
|
1164
1364
|
/**
|
1165
1365
|
* Background Repeat
|
@@ -1175,7 +1375,7 @@ const c = (e) => {
|
|
1175
1375
|
* @see https://tailwindcss.com/docs/background-size
|
1176
1376
|
*/
|
1177
1377
|
"bg-size": [{
|
1178
|
-
bg: ["auto", "cover", "contain",
|
1378
|
+
bg: ["auto", "cover", "contain", isArbitrarySize]
|
1179
1379
|
}],
|
1180
1380
|
/**
|
1181
1381
|
* Background Image
|
@@ -1184,56 +1384,56 @@ const c = (e) => {
|
|
1184
1384
|
"bg-image": [{
|
1185
1385
|
bg: ["none", {
|
1186
1386
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
1187
|
-
},
|
1387
|
+
}, isArbitraryImage]
|
1188
1388
|
}],
|
1189
1389
|
/**
|
1190
1390
|
* Background Color
|
1191
1391
|
* @see https://tailwindcss.com/docs/background-color
|
1192
1392
|
*/
|
1193
1393
|
"bg-color": [{
|
1194
|
-
bg: [
|
1394
|
+
bg: [colors]
|
1195
1395
|
}],
|
1196
1396
|
/**
|
1197
1397
|
* Gradient Color Stops From Position
|
1198
1398
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
1199
1399
|
*/
|
1200
1400
|
"gradient-from-pos": [{
|
1201
|
-
from: [
|
1401
|
+
from: [gradientColorStopPositions]
|
1202
1402
|
}],
|
1203
1403
|
/**
|
1204
1404
|
* Gradient Color Stops Via Position
|
1205
1405
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
1206
1406
|
*/
|
1207
1407
|
"gradient-via-pos": [{
|
1208
|
-
via: [
|
1408
|
+
via: [gradientColorStopPositions]
|
1209
1409
|
}],
|
1210
1410
|
/**
|
1211
1411
|
* Gradient Color Stops To Position
|
1212
1412
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
1213
1413
|
*/
|
1214
1414
|
"gradient-to-pos": [{
|
1215
|
-
to: [
|
1415
|
+
to: [gradientColorStopPositions]
|
1216
1416
|
}],
|
1217
1417
|
/**
|
1218
1418
|
* Gradient Color Stops From
|
1219
1419
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
1220
1420
|
*/
|
1221
1421
|
"gradient-from": [{
|
1222
|
-
from: [
|
1422
|
+
from: [gradientColorStops]
|
1223
1423
|
}],
|
1224
1424
|
/**
|
1225
1425
|
* Gradient Color Stops Via
|
1226
1426
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
1227
1427
|
*/
|
1228
1428
|
"gradient-via": [{
|
1229
|
-
via: [
|
1429
|
+
via: [gradientColorStops]
|
1230
1430
|
}],
|
1231
1431
|
/**
|
1232
1432
|
* Gradient Color Stops To
|
1233
1433
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
1234
1434
|
*/
|
1235
1435
|
"gradient-to": [{
|
1236
|
-
to: [
|
1436
|
+
to: [gradientColorStops]
|
1237
1437
|
}],
|
1238
1438
|
// Borders
|
1239
1439
|
/**
|
@@ -1241,189 +1441,189 @@ const c = (e) => {
|
|
1241
1441
|
* @see https://tailwindcss.com/docs/border-radius
|
1242
1442
|
*/
|
1243
1443
|
rounded: [{
|
1244
|
-
rounded: [
|
1444
|
+
rounded: [borderRadius]
|
1245
1445
|
}],
|
1246
1446
|
/**
|
1247
1447
|
* Border Radius Start
|
1248
1448
|
* @see https://tailwindcss.com/docs/border-radius
|
1249
1449
|
*/
|
1250
1450
|
"rounded-s": [{
|
1251
|
-
"rounded-s": [
|
1451
|
+
"rounded-s": [borderRadius]
|
1252
1452
|
}],
|
1253
1453
|
/**
|
1254
1454
|
* Border Radius End
|
1255
1455
|
* @see https://tailwindcss.com/docs/border-radius
|
1256
1456
|
*/
|
1257
1457
|
"rounded-e": [{
|
1258
|
-
"rounded-e": [
|
1458
|
+
"rounded-e": [borderRadius]
|
1259
1459
|
}],
|
1260
1460
|
/**
|
1261
1461
|
* Border Radius Top
|
1262
1462
|
* @see https://tailwindcss.com/docs/border-radius
|
1263
1463
|
*/
|
1264
1464
|
"rounded-t": [{
|
1265
|
-
"rounded-t": [
|
1465
|
+
"rounded-t": [borderRadius]
|
1266
1466
|
}],
|
1267
1467
|
/**
|
1268
1468
|
* Border Radius Right
|
1269
1469
|
* @see https://tailwindcss.com/docs/border-radius
|
1270
1470
|
*/
|
1271
1471
|
"rounded-r": [{
|
1272
|
-
"rounded-r": [
|
1472
|
+
"rounded-r": [borderRadius]
|
1273
1473
|
}],
|
1274
1474
|
/**
|
1275
1475
|
* Border Radius Bottom
|
1276
1476
|
* @see https://tailwindcss.com/docs/border-radius
|
1277
1477
|
*/
|
1278
1478
|
"rounded-b": [{
|
1279
|
-
"rounded-b": [
|
1479
|
+
"rounded-b": [borderRadius]
|
1280
1480
|
}],
|
1281
1481
|
/**
|
1282
1482
|
* Border Radius Left
|
1283
1483
|
* @see https://tailwindcss.com/docs/border-radius
|
1284
1484
|
*/
|
1285
1485
|
"rounded-l": [{
|
1286
|
-
"rounded-l": [
|
1486
|
+
"rounded-l": [borderRadius]
|
1287
1487
|
}],
|
1288
1488
|
/**
|
1289
1489
|
* Border Radius Start Start
|
1290
1490
|
* @see https://tailwindcss.com/docs/border-radius
|
1291
1491
|
*/
|
1292
1492
|
"rounded-ss": [{
|
1293
|
-
"rounded-ss": [
|
1493
|
+
"rounded-ss": [borderRadius]
|
1294
1494
|
}],
|
1295
1495
|
/**
|
1296
1496
|
* Border Radius Start End
|
1297
1497
|
* @see https://tailwindcss.com/docs/border-radius
|
1298
1498
|
*/
|
1299
1499
|
"rounded-se": [{
|
1300
|
-
"rounded-se": [
|
1500
|
+
"rounded-se": [borderRadius]
|
1301
1501
|
}],
|
1302
1502
|
/**
|
1303
1503
|
* Border Radius End End
|
1304
1504
|
* @see https://tailwindcss.com/docs/border-radius
|
1305
1505
|
*/
|
1306
1506
|
"rounded-ee": [{
|
1307
|
-
"rounded-ee": [
|
1507
|
+
"rounded-ee": [borderRadius]
|
1308
1508
|
}],
|
1309
1509
|
/**
|
1310
1510
|
* Border Radius End Start
|
1311
1511
|
* @see https://tailwindcss.com/docs/border-radius
|
1312
1512
|
*/
|
1313
1513
|
"rounded-es": [{
|
1314
|
-
"rounded-es": [
|
1514
|
+
"rounded-es": [borderRadius]
|
1315
1515
|
}],
|
1316
1516
|
/**
|
1317
1517
|
* Border Radius Top Left
|
1318
1518
|
* @see https://tailwindcss.com/docs/border-radius
|
1319
1519
|
*/
|
1320
1520
|
"rounded-tl": [{
|
1321
|
-
"rounded-tl": [
|
1521
|
+
"rounded-tl": [borderRadius]
|
1322
1522
|
}],
|
1323
1523
|
/**
|
1324
1524
|
* Border Radius Top Right
|
1325
1525
|
* @see https://tailwindcss.com/docs/border-radius
|
1326
1526
|
*/
|
1327
1527
|
"rounded-tr": [{
|
1328
|
-
"rounded-tr": [
|
1528
|
+
"rounded-tr": [borderRadius]
|
1329
1529
|
}],
|
1330
1530
|
/**
|
1331
1531
|
* Border Radius Bottom Right
|
1332
1532
|
* @see https://tailwindcss.com/docs/border-radius
|
1333
1533
|
*/
|
1334
1534
|
"rounded-br": [{
|
1335
|
-
"rounded-br": [
|
1535
|
+
"rounded-br": [borderRadius]
|
1336
1536
|
}],
|
1337
1537
|
/**
|
1338
1538
|
* Border Radius Bottom Left
|
1339
1539
|
* @see https://tailwindcss.com/docs/border-radius
|
1340
1540
|
*/
|
1341
1541
|
"rounded-bl": [{
|
1342
|
-
"rounded-bl": [
|
1542
|
+
"rounded-bl": [borderRadius]
|
1343
1543
|
}],
|
1344
1544
|
/**
|
1345
1545
|
* Border Width
|
1346
1546
|
* @see https://tailwindcss.com/docs/border-width
|
1347
1547
|
*/
|
1348
1548
|
"border-w": [{
|
1349
|
-
border: [
|
1549
|
+
border: [borderWidth]
|
1350
1550
|
}],
|
1351
1551
|
/**
|
1352
1552
|
* Border Width X
|
1353
1553
|
* @see https://tailwindcss.com/docs/border-width
|
1354
1554
|
*/
|
1355
1555
|
"border-w-x": [{
|
1356
|
-
"border-x": [
|
1556
|
+
"border-x": [borderWidth]
|
1357
1557
|
}],
|
1358
1558
|
/**
|
1359
1559
|
* Border Width Y
|
1360
1560
|
* @see https://tailwindcss.com/docs/border-width
|
1361
1561
|
*/
|
1362
1562
|
"border-w-y": [{
|
1363
|
-
"border-y": [
|
1563
|
+
"border-y": [borderWidth]
|
1364
1564
|
}],
|
1365
1565
|
/**
|
1366
1566
|
* Border Width Start
|
1367
1567
|
* @see https://tailwindcss.com/docs/border-width
|
1368
1568
|
*/
|
1369
1569
|
"border-w-s": [{
|
1370
|
-
"border-s": [
|
1570
|
+
"border-s": [borderWidth]
|
1371
1571
|
}],
|
1372
1572
|
/**
|
1373
1573
|
* Border Width End
|
1374
1574
|
* @see https://tailwindcss.com/docs/border-width
|
1375
1575
|
*/
|
1376
1576
|
"border-w-e": [{
|
1377
|
-
"border-e": [
|
1577
|
+
"border-e": [borderWidth]
|
1378
1578
|
}],
|
1379
1579
|
/**
|
1380
1580
|
* Border Width Top
|
1381
1581
|
* @see https://tailwindcss.com/docs/border-width
|
1382
1582
|
*/
|
1383
1583
|
"border-w-t": [{
|
1384
|
-
"border-t": [
|
1584
|
+
"border-t": [borderWidth]
|
1385
1585
|
}],
|
1386
1586
|
/**
|
1387
1587
|
* Border Width Right
|
1388
1588
|
* @see https://tailwindcss.com/docs/border-width
|
1389
1589
|
*/
|
1390
1590
|
"border-w-r": [{
|
1391
|
-
"border-r": [
|
1591
|
+
"border-r": [borderWidth]
|
1392
1592
|
}],
|
1393
1593
|
/**
|
1394
1594
|
* Border Width Bottom
|
1395
1595
|
* @see https://tailwindcss.com/docs/border-width
|
1396
1596
|
*/
|
1397
1597
|
"border-w-b": [{
|
1398
|
-
"border-b": [
|
1598
|
+
"border-b": [borderWidth]
|
1399
1599
|
}],
|
1400
1600
|
/**
|
1401
1601
|
* Border Width Left
|
1402
1602
|
* @see https://tailwindcss.com/docs/border-width
|
1403
1603
|
*/
|
1404
1604
|
"border-w-l": [{
|
1405
|
-
"border-l": [
|
1605
|
+
"border-l": [borderWidth]
|
1406
1606
|
}],
|
1407
1607
|
/**
|
1408
1608
|
* Border Opacity
|
1409
1609
|
* @see https://tailwindcss.com/docs/border-opacity
|
1410
1610
|
*/
|
1411
1611
|
"border-opacity": [{
|
1412
|
-
"border-opacity": [
|
1612
|
+
"border-opacity": [opacity]
|
1413
1613
|
}],
|
1414
1614
|
/**
|
1415
1615
|
* Border Style
|
1416
1616
|
* @see https://tailwindcss.com/docs/border-style
|
1417
1617
|
*/
|
1418
1618
|
"border-style": [{
|
1419
|
-
border: [...
|
1619
|
+
border: [...getLineStyles(), "hidden"]
|
1420
1620
|
}],
|
1421
1621
|
/**
|
1422
1622
|
* Divide Width X
|
1423
1623
|
* @see https://tailwindcss.com/docs/divide-width
|
1424
1624
|
*/
|
1425
1625
|
"divide-x": [{
|
1426
|
-
"divide-x": [
|
1626
|
+
"divide-x": [borderWidth]
|
1427
1627
|
}],
|
1428
1628
|
/**
|
1429
1629
|
* Divide Width X Reverse
|
@@ -1435,7 +1635,7 @@ const c = (e) => {
|
|
1435
1635
|
* @see https://tailwindcss.com/docs/divide-width
|
1436
1636
|
*/
|
1437
1637
|
"divide-y": [{
|
1438
|
-
"divide-y": [
|
1638
|
+
"divide-y": [borderWidth]
|
1439
1639
|
}],
|
1440
1640
|
/**
|
1441
1641
|
* Divide Width Y Reverse
|
@@ -1447,119 +1647,119 @@ const c = (e) => {
|
|
1447
1647
|
* @see https://tailwindcss.com/docs/divide-opacity
|
1448
1648
|
*/
|
1449
1649
|
"divide-opacity": [{
|
1450
|
-
"divide-opacity": [
|
1650
|
+
"divide-opacity": [opacity]
|
1451
1651
|
}],
|
1452
1652
|
/**
|
1453
1653
|
* Divide Style
|
1454
1654
|
* @see https://tailwindcss.com/docs/divide-style
|
1455
1655
|
*/
|
1456
1656
|
"divide-style": [{
|
1457
|
-
divide:
|
1657
|
+
divide: getLineStyles()
|
1458
1658
|
}],
|
1459
1659
|
/**
|
1460
1660
|
* Border Color
|
1461
1661
|
* @see https://tailwindcss.com/docs/border-color
|
1462
1662
|
*/
|
1463
1663
|
"border-color": [{
|
1464
|
-
border: [
|
1664
|
+
border: [borderColor]
|
1465
1665
|
}],
|
1466
1666
|
/**
|
1467
1667
|
* Border Color X
|
1468
1668
|
* @see https://tailwindcss.com/docs/border-color
|
1469
1669
|
*/
|
1470
1670
|
"border-color-x": [{
|
1471
|
-
"border-x": [
|
1671
|
+
"border-x": [borderColor]
|
1472
1672
|
}],
|
1473
1673
|
/**
|
1474
1674
|
* Border Color Y
|
1475
1675
|
* @see https://tailwindcss.com/docs/border-color
|
1476
1676
|
*/
|
1477
1677
|
"border-color-y": [{
|
1478
|
-
"border-y": [
|
1678
|
+
"border-y": [borderColor]
|
1479
1679
|
}],
|
1480
1680
|
/**
|
1481
1681
|
* Border Color S
|
1482
1682
|
* @see https://tailwindcss.com/docs/border-color
|
1483
1683
|
*/
|
1484
1684
|
"border-color-s": [{
|
1485
|
-
"border-s": [
|
1685
|
+
"border-s": [borderColor]
|
1486
1686
|
}],
|
1487
1687
|
/**
|
1488
1688
|
* Border Color E
|
1489
1689
|
* @see https://tailwindcss.com/docs/border-color
|
1490
1690
|
*/
|
1491
1691
|
"border-color-e": [{
|
1492
|
-
"border-e": [
|
1692
|
+
"border-e": [borderColor]
|
1493
1693
|
}],
|
1494
1694
|
/**
|
1495
1695
|
* Border Color Top
|
1496
1696
|
* @see https://tailwindcss.com/docs/border-color
|
1497
1697
|
*/
|
1498
1698
|
"border-color-t": [{
|
1499
|
-
"border-t": [
|
1699
|
+
"border-t": [borderColor]
|
1500
1700
|
}],
|
1501
1701
|
/**
|
1502
1702
|
* Border Color Right
|
1503
1703
|
* @see https://tailwindcss.com/docs/border-color
|
1504
1704
|
*/
|
1505
1705
|
"border-color-r": [{
|
1506
|
-
"border-r": [
|
1706
|
+
"border-r": [borderColor]
|
1507
1707
|
}],
|
1508
1708
|
/**
|
1509
1709
|
* Border Color Bottom
|
1510
1710
|
* @see https://tailwindcss.com/docs/border-color
|
1511
1711
|
*/
|
1512
1712
|
"border-color-b": [{
|
1513
|
-
"border-b": [
|
1713
|
+
"border-b": [borderColor]
|
1514
1714
|
}],
|
1515
1715
|
/**
|
1516
1716
|
* Border Color Left
|
1517
1717
|
* @see https://tailwindcss.com/docs/border-color
|
1518
1718
|
*/
|
1519
1719
|
"border-color-l": [{
|
1520
|
-
"border-l": [
|
1720
|
+
"border-l": [borderColor]
|
1521
1721
|
}],
|
1522
1722
|
/**
|
1523
1723
|
* Divide Color
|
1524
1724
|
* @see https://tailwindcss.com/docs/divide-color
|
1525
1725
|
*/
|
1526
1726
|
"divide-color": [{
|
1527
|
-
divide: [
|
1727
|
+
divide: [borderColor]
|
1528
1728
|
}],
|
1529
1729
|
/**
|
1530
1730
|
* Outline Style
|
1531
1731
|
* @see https://tailwindcss.com/docs/outline-style
|
1532
1732
|
*/
|
1533
1733
|
"outline-style": [{
|
1534
|
-
outline: ["", ...
|
1734
|
+
outline: ["", ...getLineStyles()]
|
1535
1735
|
}],
|
1536
1736
|
/**
|
1537
1737
|
* Outline Offset
|
1538
1738
|
* @see https://tailwindcss.com/docs/outline-offset
|
1539
1739
|
*/
|
1540
1740
|
"outline-offset": [{
|
1541
|
-
"outline-offset": [
|
1741
|
+
"outline-offset": [isLength, isArbitraryValue]
|
1542
1742
|
}],
|
1543
1743
|
/**
|
1544
1744
|
* Outline Width
|
1545
1745
|
* @see https://tailwindcss.com/docs/outline-width
|
1546
1746
|
*/
|
1547
1747
|
"outline-w": [{
|
1548
|
-
outline: [
|
1748
|
+
outline: [isLength, isArbitraryLength]
|
1549
1749
|
}],
|
1550
1750
|
/**
|
1551
1751
|
* Outline Color
|
1552
1752
|
* @see https://tailwindcss.com/docs/outline-color
|
1553
1753
|
*/
|
1554
1754
|
"outline-color": [{
|
1555
|
-
outline: [
|
1755
|
+
outline: [colors]
|
1556
1756
|
}],
|
1557
1757
|
/**
|
1558
1758
|
* Ring Width
|
1559
1759
|
* @see https://tailwindcss.com/docs/ring-width
|
1560
1760
|
*/
|
1561
1761
|
"ring-w": [{
|
1562
|
-
ring:
|
1762
|
+
ring: getLengthWithEmptyAndArbitrary()
|
1563
1763
|
}],
|
1564
1764
|
/**
|
1565
1765
|
* Ring Width Inset
|
@@ -1571,28 +1771,28 @@ const c = (e) => {
|
|
1571
1771
|
* @see https://tailwindcss.com/docs/ring-color
|
1572
1772
|
*/
|
1573
1773
|
"ring-color": [{
|
1574
|
-
ring: [
|
1774
|
+
ring: [colors]
|
1575
1775
|
}],
|
1576
1776
|
/**
|
1577
1777
|
* Ring Opacity
|
1578
1778
|
* @see https://tailwindcss.com/docs/ring-opacity
|
1579
1779
|
*/
|
1580
1780
|
"ring-opacity": [{
|
1581
|
-
"ring-opacity": [
|
1781
|
+
"ring-opacity": [opacity]
|
1582
1782
|
}],
|
1583
1783
|
/**
|
1584
1784
|
* Ring Offset Width
|
1585
1785
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
1586
1786
|
*/
|
1587
1787
|
"ring-offset-w": [{
|
1588
|
-
"ring-offset": [
|
1788
|
+
"ring-offset": [isLength, isArbitraryLength]
|
1589
1789
|
}],
|
1590
1790
|
/**
|
1591
1791
|
* Ring Offset Color
|
1592
1792
|
* @see https://tailwindcss.com/docs/ring-offset-color
|
1593
1793
|
*/
|
1594
1794
|
"ring-offset-color": [{
|
1595
|
-
"ring-offset": [
|
1795
|
+
"ring-offset": [colors]
|
1596
1796
|
}],
|
1597
1797
|
// Effects
|
1598
1798
|
/**
|
@@ -1600,35 +1800,35 @@ const c = (e) => {
|
|
1600
1800
|
* @see https://tailwindcss.com/docs/box-shadow
|
1601
1801
|
*/
|
1602
1802
|
shadow: [{
|
1603
|
-
shadow: ["", "inner", "none",
|
1803
|
+
shadow: ["", "inner", "none", isTshirtSize, isArbitraryShadow]
|
1604
1804
|
}],
|
1605
1805
|
/**
|
1606
1806
|
* Box Shadow Color
|
1607
1807
|
* @see https://tailwindcss.com/docs/box-shadow-color
|
1608
1808
|
*/
|
1609
1809
|
"shadow-color": [{
|
1610
|
-
shadow: [
|
1810
|
+
shadow: [isAny]
|
1611
1811
|
}],
|
1612
1812
|
/**
|
1613
1813
|
* Opacity
|
1614
1814
|
* @see https://tailwindcss.com/docs/opacity
|
1615
1815
|
*/
|
1616
1816
|
opacity: [{
|
1617
|
-
opacity: [
|
1817
|
+
opacity: [opacity]
|
1618
1818
|
}],
|
1619
1819
|
/**
|
1620
1820
|
* Mix Blend Mode
|
1621
1821
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
1622
1822
|
*/
|
1623
1823
|
"mix-blend": [{
|
1624
|
-
"mix-blend": [...
|
1824
|
+
"mix-blend": [...getBlendModes(), "plus-lighter", "plus-darker"]
|
1625
1825
|
}],
|
1626
1826
|
/**
|
1627
1827
|
* Background Blend Mode
|
1628
1828
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
1629
1829
|
*/
|
1630
1830
|
"bg-blend": [{
|
1631
|
-
"bg-blend":
|
1831
|
+
"bg-blend": getBlendModes()
|
1632
1832
|
}],
|
1633
1833
|
// Filters
|
1634
1834
|
/**
|
@@ -1644,63 +1844,63 @@ const c = (e) => {
|
|
1644
1844
|
* @see https://tailwindcss.com/docs/blur
|
1645
1845
|
*/
|
1646
1846
|
blur: [{
|
1647
|
-
blur: [
|
1847
|
+
blur: [blur]
|
1648
1848
|
}],
|
1649
1849
|
/**
|
1650
1850
|
* Brightness
|
1651
1851
|
* @see https://tailwindcss.com/docs/brightness
|
1652
1852
|
*/
|
1653
1853
|
brightness: [{
|
1654
|
-
brightness: [
|
1854
|
+
brightness: [brightness]
|
1655
1855
|
}],
|
1656
1856
|
/**
|
1657
1857
|
* Contrast
|
1658
1858
|
* @see https://tailwindcss.com/docs/contrast
|
1659
1859
|
*/
|
1660
1860
|
contrast: [{
|
1661
|
-
contrast: [
|
1861
|
+
contrast: [contrast]
|
1662
1862
|
}],
|
1663
1863
|
/**
|
1664
1864
|
* Drop Shadow
|
1665
1865
|
* @see https://tailwindcss.com/docs/drop-shadow
|
1666
1866
|
*/
|
1667
1867
|
"drop-shadow": [{
|
1668
|
-
"drop-shadow": ["", "none",
|
1868
|
+
"drop-shadow": ["", "none", isTshirtSize, isArbitraryValue]
|
1669
1869
|
}],
|
1670
1870
|
/**
|
1671
1871
|
* Grayscale
|
1672
1872
|
* @see https://tailwindcss.com/docs/grayscale
|
1673
1873
|
*/
|
1674
1874
|
grayscale: [{
|
1675
|
-
grayscale: [
|
1875
|
+
grayscale: [grayscale]
|
1676
1876
|
}],
|
1677
1877
|
/**
|
1678
1878
|
* Hue Rotate
|
1679
1879
|
* @see https://tailwindcss.com/docs/hue-rotate
|
1680
1880
|
*/
|
1681
1881
|
"hue-rotate": [{
|
1682
|
-
"hue-rotate": [
|
1882
|
+
"hue-rotate": [hueRotate]
|
1683
1883
|
}],
|
1684
1884
|
/**
|
1685
1885
|
* Invert
|
1686
1886
|
* @see https://tailwindcss.com/docs/invert
|
1687
1887
|
*/
|
1688
1888
|
invert: [{
|
1689
|
-
invert: [
|
1889
|
+
invert: [invert]
|
1690
1890
|
}],
|
1691
1891
|
/**
|
1692
1892
|
* Saturate
|
1693
1893
|
* @see https://tailwindcss.com/docs/saturate
|
1694
1894
|
*/
|
1695
1895
|
saturate: [{
|
1696
|
-
saturate: [
|
1896
|
+
saturate: [saturate]
|
1697
1897
|
}],
|
1698
1898
|
/**
|
1699
1899
|
* Sepia
|
1700
1900
|
* @see https://tailwindcss.com/docs/sepia
|
1701
1901
|
*/
|
1702
1902
|
sepia: [{
|
1703
|
-
sepia: [
|
1903
|
+
sepia: [sepia]
|
1704
1904
|
}],
|
1705
1905
|
/**
|
1706
1906
|
* Backdrop Filter
|
@@ -1715,63 +1915,63 @@ const c = (e) => {
|
|
1715
1915
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
1716
1916
|
*/
|
1717
1917
|
"backdrop-blur": [{
|
1718
|
-
"backdrop-blur": [
|
1918
|
+
"backdrop-blur": [blur]
|
1719
1919
|
}],
|
1720
1920
|
/**
|
1721
1921
|
* Backdrop Brightness
|
1722
1922
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
1723
1923
|
*/
|
1724
1924
|
"backdrop-brightness": [{
|
1725
|
-
"backdrop-brightness": [
|
1925
|
+
"backdrop-brightness": [brightness]
|
1726
1926
|
}],
|
1727
1927
|
/**
|
1728
1928
|
* Backdrop Contrast
|
1729
1929
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
1730
1930
|
*/
|
1731
1931
|
"backdrop-contrast": [{
|
1732
|
-
"backdrop-contrast": [
|
1932
|
+
"backdrop-contrast": [contrast]
|
1733
1933
|
}],
|
1734
1934
|
/**
|
1735
1935
|
* Backdrop Grayscale
|
1736
1936
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
1737
1937
|
*/
|
1738
1938
|
"backdrop-grayscale": [{
|
1739
|
-
"backdrop-grayscale": [
|
1939
|
+
"backdrop-grayscale": [grayscale]
|
1740
1940
|
}],
|
1741
1941
|
/**
|
1742
1942
|
* Backdrop Hue Rotate
|
1743
1943
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
1744
1944
|
*/
|
1745
1945
|
"backdrop-hue-rotate": [{
|
1746
|
-
"backdrop-hue-rotate": [
|
1946
|
+
"backdrop-hue-rotate": [hueRotate]
|
1747
1947
|
}],
|
1748
1948
|
/**
|
1749
1949
|
* Backdrop Invert
|
1750
1950
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
1751
1951
|
*/
|
1752
1952
|
"backdrop-invert": [{
|
1753
|
-
"backdrop-invert": [
|
1953
|
+
"backdrop-invert": [invert]
|
1754
1954
|
}],
|
1755
1955
|
/**
|
1756
1956
|
* Backdrop Opacity
|
1757
1957
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
1758
1958
|
*/
|
1759
1959
|
"backdrop-opacity": [{
|
1760
|
-
"backdrop-opacity": [
|
1960
|
+
"backdrop-opacity": [opacity]
|
1761
1961
|
}],
|
1762
1962
|
/**
|
1763
1963
|
* Backdrop Saturate
|
1764
1964
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
1765
1965
|
*/
|
1766
1966
|
"backdrop-saturate": [{
|
1767
|
-
"backdrop-saturate": [
|
1967
|
+
"backdrop-saturate": [saturate]
|
1768
1968
|
}],
|
1769
1969
|
/**
|
1770
1970
|
* Backdrop Sepia
|
1771
1971
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
1772
1972
|
*/
|
1773
1973
|
"backdrop-sepia": [{
|
1774
|
-
"backdrop-sepia": [
|
1974
|
+
"backdrop-sepia": [sepia]
|
1775
1975
|
}],
|
1776
1976
|
// Tables
|
1777
1977
|
/**
|
@@ -1786,21 +1986,21 @@ const c = (e) => {
|
|
1786
1986
|
* @see https://tailwindcss.com/docs/border-spacing
|
1787
1987
|
*/
|
1788
1988
|
"border-spacing": [{
|
1789
|
-
"border-spacing": [
|
1989
|
+
"border-spacing": [borderSpacing]
|
1790
1990
|
}],
|
1791
1991
|
/**
|
1792
1992
|
* Border Spacing X
|
1793
1993
|
* @see https://tailwindcss.com/docs/border-spacing
|
1794
1994
|
*/
|
1795
1995
|
"border-spacing-x": [{
|
1796
|
-
"border-spacing-x": [
|
1996
|
+
"border-spacing-x": [borderSpacing]
|
1797
1997
|
}],
|
1798
1998
|
/**
|
1799
1999
|
* Border Spacing Y
|
1800
2000
|
* @see https://tailwindcss.com/docs/border-spacing
|
1801
2001
|
*/
|
1802
2002
|
"border-spacing-y": [{
|
1803
|
-
"border-spacing-y": [
|
2003
|
+
"border-spacing-y": [borderSpacing]
|
1804
2004
|
}],
|
1805
2005
|
/**
|
1806
2006
|
* Table Layout
|
@@ -1822,35 +2022,35 @@ const c = (e) => {
|
|
1822
2022
|
* @see https://tailwindcss.com/docs/transition-property
|
1823
2023
|
*/
|
1824
2024
|
transition: [{
|
1825
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
2025
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", isArbitraryValue]
|
1826
2026
|
}],
|
1827
2027
|
/**
|
1828
2028
|
* Transition Duration
|
1829
2029
|
* @see https://tailwindcss.com/docs/transition-duration
|
1830
2030
|
*/
|
1831
2031
|
duration: [{
|
1832
|
-
duration:
|
2032
|
+
duration: getNumberAndArbitrary()
|
1833
2033
|
}],
|
1834
2034
|
/**
|
1835
2035
|
* Transition Timing Function
|
1836
2036
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
1837
2037
|
*/
|
1838
2038
|
ease: [{
|
1839
|
-
ease: ["linear", "in", "out", "in-out",
|
2039
|
+
ease: ["linear", "in", "out", "in-out", isArbitraryValue]
|
1840
2040
|
}],
|
1841
2041
|
/**
|
1842
2042
|
* Transition Delay
|
1843
2043
|
* @see https://tailwindcss.com/docs/transition-delay
|
1844
2044
|
*/
|
1845
2045
|
delay: [{
|
1846
|
-
delay:
|
2046
|
+
delay: getNumberAndArbitrary()
|
1847
2047
|
}],
|
1848
2048
|
/**
|
1849
2049
|
* Animation
|
1850
2050
|
* @see https://tailwindcss.com/docs/animation
|
1851
2051
|
*/
|
1852
2052
|
animate: [{
|
1853
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
2053
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", isArbitraryValue]
|
1854
2054
|
}],
|
1855
2055
|
// Transforms
|
1856
2056
|
/**
|
@@ -1865,63 +2065,63 @@ const c = (e) => {
|
|
1865
2065
|
* @see https://tailwindcss.com/docs/scale
|
1866
2066
|
*/
|
1867
2067
|
scale: [{
|
1868
|
-
scale: [
|
2068
|
+
scale: [scale]
|
1869
2069
|
}],
|
1870
2070
|
/**
|
1871
2071
|
* Scale X
|
1872
2072
|
* @see https://tailwindcss.com/docs/scale
|
1873
2073
|
*/
|
1874
2074
|
"scale-x": [{
|
1875
|
-
"scale-x": [
|
2075
|
+
"scale-x": [scale]
|
1876
2076
|
}],
|
1877
2077
|
/**
|
1878
2078
|
* Scale Y
|
1879
2079
|
* @see https://tailwindcss.com/docs/scale
|
1880
2080
|
*/
|
1881
2081
|
"scale-y": [{
|
1882
|
-
"scale-y": [
|
2082
|
+
"scale-y": [scale]
|
1883
2083
|
}],
|
1884
2084
|
/**
|
1885
2085
|
* Rotate
|
1886
2086
|
* @see https://tailwindcss.com/docs/rotate
|
1887
2087
|
*/
|
1888
2088
|
rotate: [{
|
1889
|
-
rotate: [
|
2089
|
+
rotate: [isInteger, isArbitraryValue]
|
1890
2090
|
}],
|
1891
2091
|
/**
|
1892
2092
|
* Translate X
|
1893
2093
|
* @see https://tailwindcss.com/docs/translate
|
1894
2094
|
*/
|
1895
2095
|
"translate-x": [{
|
1896
|
-
"translate-x": [
|
2096
|
+
"translate-x": [translate]
|
1897
2097
|
}],
|
1898
2098
|
/**
|
1899
2099
|
* Translate Y
|
1900
2100
|
* @see https://tailwindcss.com/docs/translate
|
1901
2101
|
*/
|
1902
2102
|
"translate-y": [{
|
1903
|
-
"translate-y": [
|
2103
|
+
"translate-y": [translate]
|
1904
2104
|
}],
|
1905
2105
|
/**
|
1906
2106
|
* Skew X
|
1907
2107
|
* @see https://tailwindcss.com/docs/skew
|
1908
2108
|
*/
|
1909
2109
|
"skew-x": [{
|
1910
|
-
"skew-x": [
|
2110
|
+
"skew-x": [skew]
|
1911
2111
|
}],
|
1912
2112
|
/**
|
1913
2113
|
* Skew Y
|
1914
2114
|
* @see https://tailwindcss.com/docs/skew
|
1915
2115
|
*/
|
1916
2116
|
"skew-y": [{
|
1917
|
-
"skew-y": [
|
2117
|
+
"skew-y": [skew]
|
1918
2118
|
}],
|
1919
2119
|
/**
|
1920
2120
|
* Transform Origin
|
1921
2121
|
* @see https://tailwindcss.com/docs/transform-origin
|
1922
2122
|
*/
|
1923
2123
|
"transform-origin": [{
|
1924
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
2124
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", isArbitraryValue]
|
1925
2125
|
}],
|
1926
2126
|
// Interactivity
|
1927
2127
|
/**
|
@@ -1929,7 +2129,7 @@ const c = (e) => {
|
|
1929
2129
|
* @see https://tailwindcss.com/docs/accent-color
|
1930
2130
|
*/
|
1931
2131
|
accent: [{
|
1932
|
-
accent: ["auto",
|
2132
|
+
accent: ["auto", colors]
|
1933
2133
|
}],
|
1934
2134
|
/**
|
1935
2135
|
* Appearance
|
@@ -1943,14 +2143,14 @@ const c = (e) => {
|
|
1943
2143
|
* @see https://tailwindcss.com/docs/cursor
|
1944
2144
|
*/
|
1945
2145
|
cursor: [{
|
1946
|
-
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",
|
2146
|
+
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", isArbitraryValue]
|
1947
2147
|
}],
|
1948
2148
|
/**
|
1949
2149
|
* Caret Color
|
1950
2150
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
1951
2151
|
*/
|
1952
2152
|
"caret-color": [{
|
1953
|
-
caret: [
|
2153
|
+
caret: [colors]
|
1954
2154
|
}],
|
1955
2155
|
/**
|
1956
2156
|
* Pointer Events
|
@@ -1978,126 +2178,126 @@ const c = (e) => {
|
|
1978
2178
|
* @see https://tailwindcss.com/docs/scroll-margin
|
1979
2179
|
*/
|
1980
2180
|
"scroll-m": [{
|
1981
|
-
"scroll-m":
|
2181
|
+
"scroll-m": getSpacingWithArbitrary()
|
1982
2182
|
}],
|
1983
2183
|
/**
|
1984
2184
|
* Scroll Margin X
|
1985
2185
|
* @see https://tailwindcss.com/docs/scroll-margin
|
1986
2186
|
*/
|
1987
2187
|
"scroll-mx": [{
|
1988
|
-
"scroll-mx":
|
2188
|
+
"scroll-mx": getSpacingWithArbitrary()
|
1989
2189
|
}],
|
1990
2190
|
/**
|
1991
2191
|
* Scroll Margin Y
|
1992
2192
|
* @see https://tailwindcss.com/docs/scroll-margin
|
1993
2193
|
*/
|
1994
2194
|
"scroll-my": [{
|
1995
|
-
"scroll-my":
|
2195
|
+
"scroll-my": getSpacingWithArbitrary()
|
1996
2196
|
}],
|
1997
2197
|
/**
|
1998
2198
|
* Scroll Margin Start
|
1999
2199
|
* @see https://tailwindcss.com/docs/scroll-margin
|
2000
2200
|
*/
|
2001
2201
|
"scroll-ms": [{
|
2002
|
-
"scroll-ms":
|
2202
|
+
"scroll-ms": getSpacingWithArbitrary()
|
2003
2203
|
}],
|
2004
2204
|
/**
|
2005
2205
|
* Scroll Margin End
|
2006
2206
|
* @see https://tailwindcss.com/docs/scroll-margin
|
2007
2207
|
*/
|
2008
2208
|
"scroll-me": [{
|
2009
|
-
"scroll-me":
|
2209
|
+
"scroll-me": getSpacingWithArbitrary()
|
2010
2210
|
}],
|
2011
2211
|
/**
|
2012
2212
|
* Scroll Margin Top
|
2013
2213
|
* @see https://tailwindcss.com/docs/scroll-margin
|
2014
2214
|
*/
|
2015
2215
|
"scroll-mt": [{
|
2016
|
-
"scroll-mt":
|
2216
|
+
"scroll-mt": getSpacingWithArbitrary()
|
2017
2217
|
}],
|
2018
2218
|
/**
|
2019
2219
|
* Scroll Margin Right
|
2020
2220
|
* @see https://tailwindcss.com/docs/scroll-margin
|
2021
2221
|
*/
|
2022
2222
|
"scroll-mr": [{
|
2023
|
-
"scroll-mr":
|
2223
|
+
"scroll-mr": getSpacingWithArbitrary()
|
2024
2224
|
}],
|
2025
2225
|
/**
|
2026
2226
|
* Scroll Margin Bottom
|
2027
2227
|
* @see https://tailwindcss.com/docs/scroll-margin
|
2028
2228
|
*/
|
2029
2229
|
"scroll-mb": [{
|
2030
|
-
"scroll-mb":
|
2230
|
+
"scroll-mb": getSpacingWithArbitrary()
|
2031
2231
|
}],
|
2032
2232
|
/**
|
2033
2233
|
* Scroll Margin Left
|
2034
2234
|
* @see https://tailwindcss.com/docs/scroll-margin
|
2035
2235
|
*/
|
2036
2236
|
"scroll-ml": [{
|
2037
|
-
"scroll-ml":
|
2237
|
+
"scroll-ml": getSpacingWithArbitrary()
|
2038
2238
|
}],
|
2039
2239
|
/**
|
2040
2240
|
* Scroll Padding
|
2041
2241
|
* @see https://tailwindcss.com/docs/scroll-padding
|
2042
2242
|
*/
|
2043
2243
|
"scroll-p": [{
|
2044
|
-
"scroll-p":
|
2244
|
+
"scroll-p": getSpacingWithArbitrary()
|
2045
2245
|
}],
|
2046
2246
|
/**
|
2047
2247
|
* Scroll Padding X
|
2048
2248
|
* @see https://tailwindcss.com/docs/scroll-padding
|
2049
2249
|
*/
|
2050
2250
|
"scroll-px": [{
|
2051
|
-
"scroll-px":
|
2251
|
+
"scroll-px": getSpacingWithArbitrary()
|
2052
2252
|
}],
|
2053
2253
|
/**
|
2054
2254
|
* Scroll Padding Y
|
2055
2255
|
* @see https://tailwindcss.com/docs/scroll-padding
|
2056
2256
|
*/
|
2057
2257
|
"scroll-py": [{
|
2058
|
-
"scroll-py":
|
2258
|
+
"scroll-py": getSpacingWithArbitrary()
|
2059
2259
|
}],
|
2060
2260
|
/**
|
2061
2261
|
* Scroll Padding Start
|
2062
2262
|
* @see https://tailwindcss.com/docs/scroll-padding
|
2063
2263
|
*/
|
2064
2264
|
"scroll-ps": [{
|
2065
|
-
"scroll-ps":
|
2265
|
+
"scroll-ps": getSpacingWithArbitrary()
|
2066
2266
|
}],
|
2067
2267
|
/**
|
2068
2268
|
* Scroll Padding End
|
2069
2269
|
* @see https://tailwindcss.com/docs/scroll-padding
|
2070
2270
|
*/
|
2071
2271
|
"scroll-pe": [{
|
2072
|
-
"scroll-pe":
|
2272
|
+
"scroll-pe": getSpacingWithArbitrary()
|
2073
2273
|
}],
|
2074
2274
|
/**
|
2075
2275
|
* Scroll Padding Top
|
2076
2276
|
* @see https://tailwindcss.com/docs/scroll-padding
|
2077
2277
|
*/
|
2078
2278
|
"scroll-pt": [{
|
2079
|
-
"scroll-pt":
|
2279
|
+
"scroll-pt": getSpacingWithArbitrary()
|
2080
2280
|
}],
|
2081
2281
|
/**
|
2082
2282
|
* Scroll Padding Right
|
2083
2283
|
* @see https://tailwindcss.com/docs/scroll-padding
|
2084
2284
|
*/
|
2085
2285
|
"scroll-pr": [{
|
2086
|
-
"scroll-pr":
|
2286
|
+
"scroll-pr": getSpacingWithArbitrary()
|
2087
2287
|
}],
|
2088
2288
|
/**
|
2089
2289
|
* Scroll Padding Bottom
|
2090
2290
|
* @see https://tailwindcss.com/docs/scroll-padding
|
2091
2291
|
*/
|
2092
2292
|
"scroll-pb": [{
|
2093
|
-
"scroll-pb":
|
2293
|
+
"scroll-pb": getSpacingWithArbitrary()
|
2094
2294
|
}],
|
2095
2295
|
/**
|
2096
2296
|
* Scroll Padding Left
|
2097
2297
|
* @see https://tailwindcss.com/docs/scroll-padding
|
2098
2298
|
*/
|
2099
2299
|
"scroll-pl": [{
|
2100
|
-
"scroll-pl":
|
2300
|
+
"scroll-pl": getSpacingWithArbitrary()
|
2101
2301
|
}],
|
2102
2302
|
/**
|
2103
2303
|
* Scroll Snap Align
|
@@ -2165,7 +2365,7 @@ const c = (e) => {
|
|
2165
2365
|
* @see https://tailwindcss.com/docs/will-change
|
2166
2366
|
*/
|
2167
2367
|
"will-change": [{
|
2168
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
2368
|
+
"will-change": ["auto", "scroll", "contents", "transform", isArbitraryValue]
|
2169
2369
|
}],
|
2170
2370
|
// SVG
|
2171
2371
|
/**
|
@@ -2173,21 +2373,21 @@ const c = (e) => {
|
|
2173
2373
|
* @see https://tailwindcss.com/docs/fill
|
2174
2374
|
*/
|
2175
2375
|
fill: [{
|
2176
|
-
fill: [
|
2376
|
+
fill: [colors, "none"]
|
2177
2377
|
}],
|
2178
2378
|
/**
|
2179
2379
|
* Stroke Width
|
2180
2380
|
* @see https://tailwindcss.com/docs/stroke-width
|
2181
2381
|
*/
|
2182
2382
|
"stroke-w": [{
|
2183
|
-
stroke: [
|
2383
|
+
stroke: [isLength, isArbitraryLength, isArbitraryNumber]
|
2184
2384
|
}],
|
2185
2385
|
/**
|
2186
2386
|
* Stroke
|
2187
2387
|
* @see https://tailwindcss.com/docs/stroke
|
2188
2388
|
*/
|
2189
2389
|
stroke: [{
|
2190
|
-
stroke: [
|
2390
|
+
stroke: [colors, "none"]
|
2191
2391
|
}],
|
2192
2392
|
// Accessibility
|
2193
2393
|
/**
|
@@ -2255,11 +2455,12 @@ const c = (e) => {
|
|
2255
2455
|
"font-size": ["leading"]
|
2256
2456
|
}
|
2257
2457
|
};
|
2258
|
-
}
|
2458
|
+
};
|
2459
|
+
const twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
|
2259
2460
|
export {
|
2260
|
-
|
2261
|
-
|
2262
|
-
|
2263
|
-
|
2264
|
-
|
2461
|
+
createTailwindMerge,
|
2462
|
+
fromTheme,
|
2463
|
+
getDefaultConfig,
|
2464
|
+
twJoin,
|
2465
|
+
twMerge
|
2265
2466
|
};
|