@zimyo/ui 1.0.1 → 1.1.0

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