adp-web-components 0.0.88 → 0.0.90

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 (399) hide show
  1. package/dist/cjs/cn-BHnqYtun.js +2597 -0
  2. package/dist/cjs/contact-us-form.cjs.entry.js +10 -21
  3. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +15 -32
  4. package/dist/cjs/flexible-container.cjs.entry.js +134 -0
  5. package/dist/cjs/form-dialog_8.cjs.entry.js +36 -92
  6. package/dist/cjs/{get-local-language-833c6cb0.js → get-local-language-XsAJEAsO.js} +338 -295
  7. package/dist/cjs/{index-a8de3655.js → index-BjyafrBw.js} +525 -288
  8. package/dist/cjs/information-table.cjs.entry.js +40 -0
  9. package/dist/cjs/loader.cjs.js +3 -6
  10. package/dist/cjs/loading-spinner.cjs.entry.js +6 -10
  11. package/dist/cjs/part-lookup.cjs.entry.js +14 -21
  12. package/dist/cjs/service-booking-form.cjs.entry.js +10 -21
  13. package/dist/cjs/shift-accordion.cjs.entry.js +29 -0
  14. package/dist/cjs/shift-components.cjs.js +7 -8
  15. package/dist/cjs/shift-slider.cjs.entry.js +70 -0
  16. package/dist/cjs/shift-tab-content_7.cjs.entry.js +1487 -0
  17. package/dist/cjs/shift-tabs_2.cjs.entry.js +301 -0
  18. package/dist/cjs/{type-34123f2d.js → type-BAD2dFzP.js} +32 -123
  19. package/dist/cjs/{type-6d925789.js → type-CCsnwaKp.js} +11 -8
  20. package/dist/cjs/{type-f37ab1af.js → type-DT5vXP0E.js} +4 -4
  21. package/dist/cjs/{type-4f0e1603.js → vehicle-info-layout-BSAeLW7e.js} +11 -1
  22. package/dist/cjs/vehicle-lookup.cjs.entry.js +60 -50
  23. package/dist/cjs/vin-extractor.cjs.entry.js +22 -32
  24. package/dist/collection/collection-manifest.json +19 -13
  25. package/dist/collection/components/components/card-content.js +7 -0
  26. package/dist/collection/components/components/flexible-container.css +1 -0
  27. package/dist/collection/components/components/flexible-container.js +317 -0
  28. package/dist/collection/components/components/information-table.css +1 -0
  29. package/dist/collection/components/components/information-table.js +137 -0
  30. package/dist/collection/components/components/loading-spinner.css +1 -1
  31. package/dist/collection/components/components/loading-spinner.js +4 -5
  32. package/dist/collection/components/components/material-card.js +34 -0
  33. package/dist/collection/components/{vehicle-lookup/service-history.css → components/shift-accordion.css} +1 -1
  34. package/dist/collection/components/components/shift-accordion.js +102 -0
  35. package/dist/collection/components/components/shift-slider.css +1 -0
  36. package/dist/collection/components/components/shift-slider.js +95 -0
  37. package/dist/collection/components/components/shift-tab-content.css +1 -0
  38. package/dist/collection/components/components/shift-tab-content.js +98 -0
  39. package/dist/collection/components/components/shift-tabs.css +1 -0
  40. package/dist/collection/components/components/shift-tabs.js +140 -0
  41. package/dist/collection/components/components/vehicle-info-layout.js +7 -0
  42. package/dist/collection/components/form-elements/form-dialog.js +13 -9
  43. package/dist/collection/components/form-elements/form-input.js +42 -26
  44. package/dist/collection/components/form-elements/form-select.js +54 -38
  45. package/dist/collection/components/form-elements/form-shadow-input.js +11 -9
  46. package/dist/collection/components/form-elements/form-structure-error.js +4 -2
  47. package/dist/collection/components/form-elements/form-structure.js +29 -13
  48. package/dist/collection/components/form-elements/form-submit.js +15 -7
  49. package/dist/collection/components/form-elements/form-text-area.js +33 -20
  50. package/dist/collection/components/forms/contact-us-form.js +37 -22
  51. package/dist/collection/components/forms/service-booking-form.js +37 -22
  52. package/dist/collection/components/part-lookup/dead-stock-lookup.js +40 -27
  53. package/dist/collection/components/part-lookup/distributor-lookup.js +46 -29
  54. package/dist/collection/components/part-lookup/manufacturer-lookup.js +54 -35
  55. package/dist/collection/components/part-lookup/part-lookup.js +39 -23
  56. package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +5 -5
  57. package/dist/collection/components/vehicle-lookup/components/StatusCard.js +2 -2
  58. package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
  59. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +99 -47
  60. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -0
  61. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +959 -0
  62. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -0
  63. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +590 -0
  64. package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
  65. package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +123 -53
  66. package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -0
  67. package/dist/collection/components/vehicle-lookup/{paint-thickness.js → vehicle-paint-thickness.js} +99 -43
  68. package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +3 -0
  69. package/dist/collection/components/vehicle-lookup/{service-history.js → vehicle-service-history.js} +101 -38
  70. package/dist/collection/components/vehicle-lookup/vehicle-specification.css +3 -1
  71. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +66 -38
  72. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +3 -0
  73. package/dist/collection/components/vehicle-lookup/{warranty-details.js → vehicle-warranty-details.js} +168 -54
  74. package/dist/collection/components/vin-extractor/vin-extractor.js +60 -39
  75. package/dist/collection/global/lib/children-with-tag.js +24 -0
  76. package/dist/collection/global/lib/container-has-tag.js +28 -0
  77. package/dist/collection/global/lib/get-local-language.js +15 -5
  78. package/dist/collection/global/lib/scroll-into-container-view.js +16 -0
  79. package/dist/collection/global/types/generated/part/dead-stock-dto.js +1 -0
  80. package/dist/collection/global/types/generated/part/hs-code-dto.js +1 -0
  81. package/dist/collection/global/types/generated/part/part-lookup-dto.js +1 -0
  82. package/dist/collection/global/types/generated/part/part-price-dto.js +1 -0
  83. package/dist/collection/global/types/generated/part/price-dto.js +1 -0
  84. package/dist/collection/global/types/generated/part/stock-part-dto.js +1 -0
  85. package/dist/collection/global/types/generated/vehicle-lookup/accessory-dto.js +1 -0
  86. package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-dto.js +1 -0
  87. package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-image-dto.js +1 -0
  88. package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-part-dto.js +1 -0
  89. package/dist/collection/global/types/generated/vehicle-lookup/ssc-dto.js +1 -0
  90. package/dist/collection/global/types/generated/vehicle-lookup/ssc-labor-dto.js +1 -0
  91. package/dist/collection/global/types/generated/vehicle-lookup/ssc-part-dto.js +1 -0
  92. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-broker-sale-information.js +1 -0
  93. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-identifiers-dto.js +1 -0
  94. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-labor-dto.js +1 -0
  95. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-lookup-dto.js +1 -0
  96. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-part-dto.js +1 -0
  97. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-sale-information.js +1 -0
  98. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-history-dto.js +1 -0
  99. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-item-dto.js +1 -0
  100. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-item-group.js +1 -0
  101. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-specification-dto.js +1 -0
  102. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-variant-info-dto.js +1 -0
  103. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-warranty-dto.js +1 -0
  104. package/dist/collection/locale-mapper.js +3 -3
  105. package/dist/collection/locales/partLookup/manufacturer/type.js +3 -3
  106. package/dist/collection/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.js +9 -6
  107. package/dist/collection/locales/vehicleLookup/warranty/type.js +1 -0
  108. package/dist/collection/locales/vehicleLookup/wrapper-type.js +2 -2
  109. package/dist/collection/templates/part-lookup/mock-data.js +14 -14
  110. package/dist/collection/templates/vehicle-lookup/mock-data.js +228 -191
  111. package/dist/collection/templates/vehicle-lookup/warranty-mock-data.js +45 -27
  112. package/dist/components/contact-us-form.js +1 -1
  113. package/dist/components/dead-stock-lookup.js +1 -1
  114. package/dist/components/distributor-lookup.js +1 -1
  115. package/dist/components/flexible-container.d.ts +11 -0
  116. package/dist/components/flexible-container.js +5 -0
  117. package/dist/components/form-dialog.js +1 -1
  118. package/dist/components/form-input.js +1 -1
  119. package/dist/components/form-select.js +1 -1
  120. package/dist/components/form-shadow-input.js +1 -1
  121. package/dist/components/form-structure-error.js +1 -1
  122. package/dist/components/form-structure.js +1 -1
  123. package/dist/components/form-submit.js +1 -1
  124. package/dist/components/form-text-area.js +1 -1
  125. package/dist/components/index.js +1 -1
  126. package/dist/components/{paint-thickness.d.ts → information-table.d.ts} +4 -4
  127. package/dist/components/information-table.js +5 -0
  128. package/dist/components/loading-spinner.js +1 -1
  129. package/dist/components/manufacturer-lookup.js +1 -1
  130. package/dist/components/p-1vy-Ba6r.js +5 -0
  131. package/dist/components/p-B6QhQCZi.js +5 -0
  132. package/dist/components/p-BDkK65_1.js +5 -0
  133. package/dist/components/p-BK16Cn81.js +5 -0
  134. package/dist/components/{p-a054ecb1.js → p-BaJpYztb.js} +1 -1
  135. package/dist/components/p-C-4kx8qU.js +5 -0
  136. package/dist/components/p-C1F_f1WE.js +5 -0
  137. package/dist/components/p-CACnUI7c.js +5 -0
  138. package/dist/components/p-CDOvd2iD.js +5 -0
  139. package/dist/components/p-CGzOJT7g.js +5 -0
  140. package/dist/components/p-CINfIgzX.js +5 -0
  141. package/dist/components/p-CJpwqpuQ.js +5 -0
  142. package/dist/components/p-CK4E5G0i.js +5 -0
  143. package/dist/components/p-CUqXnLyM.js +5 -0
  144. package/dist/components/p-CjWDXQ_q.js +5 -0
  145. package/dist/components/p-Cl9ct-bZ.js +5 -0
  146. package/dist/components/p-CqGVdvFp.js +5 -0
  147. package/dist/components/p-D2bxjSGr.js +5 -0
  148. package/dist/components/p-D63WC2_Y.js +5 -0
  149. package/dist/components/p-D7yku_Qi.js +5 -0
  150. package/dist/components/p-DXHx6lre.js +5 -0
  151. package/dist/components/p-DXj5zsQK.js +5 -0
  152. package/dist/components/p-DsCtgcZn.js +5 -0
  153. package/dist/components/p-DxjQlmaz.js +5 -0
  154. package/dist/components/p-JtBlsz4j.js +5 -0
  155. package/dist/components/p-P3fAKtye.js +5 -0
  156. package/dist/components/p-nxlqujKv.js +5 -0
  157. package/dist/components/p-vvHN2Olh.js +5 -0
  158. package/dist/components/p-yQ70lKV2.js +5 -0
  159. package/dist/components/part-lookup.js +1 -1
  160. package/dist/components/service-booking-form.js +1 -1
  161. package/dist/components/{service-history.d.ts → shift-accordion.d.ts} +4 -4
  162. package/dist/components/shift-accordion.js +5 -0
  163. package/dist/components/{dynamic-claim.d.ts → shift-slider.d.ts} +4 -4
  164. package/dist/components/shift-slider.js +5 -0
  165. package/dist/components/{warranty-details.d.ts → shift-tab-content.d.ts} +4 -4
  166. package/dist/components/shift-tab-content.js +5 -0
  167. package/dist/components/{dynamic-redeem.d.ts → shift-tabs.d.ts} +4 -4
  168. package/dist/components/shift-tabs.js +5 -0
  169. package/dist/components/vehicle-accessories.js +1 -1
  170. package/dist/components/vehicle-claimable-items.d.ts +11 -0
  171. package/dist/components/vehicle-claimable-items.js +5 -0
  172. package/dist/components/vehicle-item-claim-form.d.ts +11 -0
  173. package/dist/components/vehicle-item-claim-form.js +5 -0
  174. package/dist/components/vehicle-lookup.js +1 -1
  175. package/dist/components/vehicle-paint-thickness.d.ts +11 -0
  176. package/dist/components/vehicle-paint-thickness.js +5 -0
  177. package/dist/components/vehicle-service-history.d.ts +11 -0
  178. package/dist/components/vehicle-service-history.js +5 -0
  179. package/dist/components/vehicle-specification.js +1 -1
  180. package/dist/components/vehicle-warranty-details.d.ts +11 -0
  181. package/dist/components/vehicle-warranty-details.js +5 -0
  182. package/dist/components/vin-extractor.js +1 -1
  183. package/dist/esm/cn-BK16Cn81.js +2595 -0
  184. package/dist/esm/contact-us-form.entry.js +10 -19
  185. package/dist/esm/dead-stock-lookup_3.entry.js +15 -30
  186. package/dist/esm/flexible-container.entry.js +132 -0
  187. package/dist/esm/form-dialog_8.entry.js +36 -90
  188. package/dist/esm/{get-local-language-c101a29e.js → get-local-language-BPo-xYwK.js} +339 -296
  189. package/dist/esm/{index-3a623f7c.js → index-CikEOqe0.js} +524 -268
  190. package/dist/esm/information-table.entry.js +38 -0
  191. package/dist/esm/loader.js +3 -4
  192. package/dist/esm/loading-spinner.entry.js +6 -8
  193. package/dist/esm/part-lookup.entry.js +14 -19
  194. package/dist/esm/service-booking-form.entry.js +10 -19
  195. package/dist/esm/shift-accordion.entry.js +27 -0
  196. package/dist/esm/shift-components.js +5 -5
  197. package/dist/esm/shift-slider.entry.js +68 -0
  198. package/dist/esm/shift-tab-content_7.entry.js +1479 -0
  199. package/dist/esm/shift-tabs_2.entry.js +298 -0
  200. package/dist/esm/{type-da6a6181.js → type-CfLRnI1J.js} +10 -7
  201. package/dist/esm/{type-a560f317.js → type-D9Rd8Kcd.js} +5 -5
  202. package/dist/esm/{type-ecf0121e.js → type-DHujxJVp.js} +32 -123
  203. package/dist/esm/vehicle-info-layout-D1bvY1nt.js +43 -0
  204. package/dist/esm/vehicle-lookup.entry.js +55 -43
  205. package/dist/esm/vin-extractor.entry.js +22 -30
  206. package/dist/locales/errors/ru.json +10 -10
  207. package/dist/locales/partLookup/deadStock/ru.json +3 -3
  208. package/dist/locales/partLookup/distributor/ru.json +14 -14
  209. package/dist/locales/partLookup/manufacturer/ar.json +3 -3
  210. package/dist/locales/partLookup/manufacturer/en.json +3 -3
  211. package/dist/locales/partLookup/manufacturer/ku.json +3 -3
  212. package/dist/locales/partLookup/manufacturer/ru.json +15 -15
  213. package/dist/locales/partLookup/manufacturer/type.ts +3 -3
  214. package/dist/locales/vehicleLookup/accessories/ru.json +6 -6
  215. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ar.json +6 -3
  216. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/en.json +4 -1
  217. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ku.json +6 -3
  218. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ru.json +10 -7
  219. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.ts +10 -7
  220. package/dist/locales/vehicleLookup/paintThickness/ru.json +7 -7
  221. package/dist/locales/vehicleLookup/serviceHistory/ru.json +8 -8
  222. package/dist/locales/vehicleLookup/specification/ru.json +8 -8
  223. package/dist/locales/vehicleLookup/warranty/ar.json +1 -0
  224. package/dist/locales/vehicleLookup/warranty/en.json +1 -0
  225. package/dist/locales/vehicleLookup/warranty/ku.json +1 -0
  226. package/dist/locales/vehicleLookup/warranty/ru.json +17 -16
  227. package/dist/locales/vehicleLookup/warranty/type.ts +1 -0
  228. package/dist/locales/vehicleLookup/wrapper-type.ts +2 -2
  229. package/dist/shift-components/p-0c8bbdd0.entry.js +5 -0
  230. package/dist/shift-components/p-238f5df0.entry.js +5 -0
  231. package/dist/shift-components/p-389f444c.entry.js +5 -0
  232. package/dist/shift-components/p-5dd208de.entry.js +5 -0
  233. package/dist/shift-components/p-5f91eb5f.entry.js +5 -0
  234. package/dist/shift-components/p-76dd44e9.entry.js +5 -0
  235. package/dist/shift-components/p-9a51dae0.entry.js +5 -0
  236. package/dist/shift-components/p-BAMA88Mr.js +5 -0
  237. package/dist/shift-components/p-BK16Cn81.js +5 -0
  238. package/dist/shift-components/p-Br0JD1CD.js +5 -0
  239. package/dist/shift-components/p-CIU9c3pi.js +5 -0
  240. package/dist/shift-components/p-CikEOqe0.js +6 -0
  241. package/dist/shift-components/p-CuQ84qxe.js +5 -0
  242. package/dist/shift-components/p-DHb8KxaG.js +5 -0
  243. package/dist/shift-components/p-af44ca99.entry.js +5 -0
  244. package/dist/shift-components/p-b6497f63.entry.js +5 -0
  245. package/dist/shift-components/p-d0e6cd78.entry.js +5 -0
  246. package/dist/shift-components/p-f1225504.entry.js +5 -0
  247. package/dist/shift-components/p-f282c740.entry.js +5 -0
  248. package/dist/shift-components/p-faabbd23.entry.js +5 -0
  249. package/dist/shift-components/p-ff0fec09.entry.js +5 -0
  250. package/dist/shift-components/shift-components.esm.js +1 -1
  251. package/dist/types/components/components/card-content.d.ts +10 -0
  252. package/dist/types/components/components/flexible-container.d.ts +30 -0
  253. package/dist/types/components/components/information-table.d.ts +20 -0
  254. package/dist/types/components/components/material-card.d.ts +16 -0
  255. package/dist/types/components/components/shift-accordion.d.ts +13 -0
  256. package/dist/types/components/components/shift-slider.d.ts +11 -0
  257. package/dist/types/components/components/shift-tab-content.d.ts +12 -0
  258. package/dist/types/components/components/shift-tabs.d.ts +12 -0
  259. package/dist/types/components/components/vehicle-info-layout.d.ts +11 -0
  260. package/dist/types/components/part-lookup/dead-stock-lookup.d.ts +5 -5
  261. package/dist/types/components/part-lookup/distributor-lookup.d.ts +5 -5
  262. package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +5 -5
  263. package/dist/types/components/vehicle-lookup/components/CardsContainer.d.ts +5 -4
  264. package/dist/types/components/vehicle-lookup/components/StatusCard.d.ts +4 -2
  265. package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +6 -5
  266. package/dist/types/components/vehicle-lookup/{dynamic-claim.d.ts → vehicle-claimable-items.d.ts} +31 -22
  267. package/dist/types/components/vehicle-lookup/{dynamic-redeem.d.ts → vehicle-item-claim-form.d.ts} +34 -10
  268. package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +20 -16
  269. package/dist/types/components/vehicle-lookup/{paint-thickness.d.ts → vehicle-paint-thickness.d.ts} +8 -6
  270. package/dist/types/components/vehicle-lookup/{service-history.d.ts → vehicle-service-history.d.ts} +7 -6
  271. package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +6 -5
  272. package/dist/types/components/vehicle-lookup/{warranty-details.d.ts → vehicle-warranty-details.d.ts} +9 -8
  273. package/dist/types/components.d.ts +1060 -195
  274. package/dist/types/global/api/partInformation.d.ts +5 -5
  275. package/dist/types/global/api/vehicleInformation.d.ts +4 -4
  276. package/dist/types/global/lib/children-with-tag.d.ts +1 -0
  277. package/dist/types/global/lib/container-has-tag.d.ts +1 -0
  278. package/dist/types/global/lib/scroll-into-container-view.d.ts +1 -0
  279. package/dist/types/global/types/generated/part/branch-dead-stock-dto.d.ts +5 -0
  280. package/dist/types/global/types/generated/part/dead-stock-dto.d.ts +6 -0
  281. package/dist/types/global/types/generated/part/hs-code-dto.d.ts +5 -0
  282. package/dist/types/global/types/generated/part/part-lookup-dto.d.ts +27 -0
  283. package/dist/types/global/types/generated/part/part-price-dto.d.ts +10 -0
  284. package/dist/types/global/types/generated/part/price-dto.d.ts +6 -0
  285. package/dist/types/global/types/generated/part/stock-part-dto.d.ts +5 -0
  286. package/dist/types/global/types/generated/vehicle-lookup/accessory-dto.d.ts +5 -0
  287. package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-dto.d.ts +6 -0
  288. package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-image-dto.d.ts +4 -0
  289. package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-part-dto.d.ts +5 -0
  290. package/dist/types/global/types/generated/vehicle-lookup/ssc-dto.d.ts +10 -0
  291. package/dist/types/global/types/generated/vehicle-lookup/ssc-labor-dto.d.ts +5 -0
  292. package/dist/types/global/types/generated/vehicle-lookup/ssc-part-dto.d.ts +5 -0
  293. package/dist/types/global/types/generated/vehicle-lookup/vehicle-broker-sale-information.d.ts +7 -0
  294. package/dist/types/global/types/generated/vehicle-lookup/vehicle-identifiers-dto.d.ts +9 -0
  295. package/dist/types/global/types/generated/vehicle-lookup/vehicle-labor-dto.d.ts +6 -0
  296. package/dist/types/global/types/generated/vehicle-lookup/vehicle-lookup-dto.d.ts +27 -0
  297. package/dist/types/global/types/generated/vehicle-lookup/vehicle-part-dto.d.ts +6 -0
  298. package/dist/types/global/types/generated/vehicle-lookup/vehicle-sale-information.d.ts +16 -0
  299. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-history-dto.d.ts +16 -0
  300. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-item-dto.d.ts +34 -0
  301. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-item-group.d.ts +6 -0
  302. package/dist/types/global/types/generated/vehicle-lookup/vehicle-specification-dto.d.ts +22 -0
  303. package/dist/types/global/types/generated/vehicle-lookup/vehicle-variant-info-dto.d.ts +5 -0
  304. package/dist/types/global/types/generated/vehicle-lookup/vehicle-warranty-dto.d.ts +8 -0
  305. package/dist/types/locale-mapper.d.ts +2 -2
  306. package/dist/types/locales/partLookup/distributor/type.d.ts +2 -2
  307. package/dist/types/locales/partLookup/manufacturer/type.d.ts +6 -6
  308. package/dist/types/locales/partLookup/wrapper-type.d.ts +8 -8
  309. package/dist/types/locales/vehicleLookup/accessories/type.d.ts +2 -2
  310. package/dist/types/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.d.ts +28 -16
  311. package/dist/types/locales/vehicleLookup/paintThickness/type.d.ts +4 -4
  312. package/dist/types/locales/vehicleLookup/serviceHistory/type.d.ts +4 -4
  313. package/dist/types/locales/vehicleLookup/warranty/type.d.ts +2 -0
  314. package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +52 -44
  315. package/dist/types/stencil-public-runtime.d.ts +23 -1
  316. package/package.json +10 -8
  317. package/LICENSE +0 -21
  318. package/dist/cjs/app-globals-4aa8f46f.js +0 -46
  319. package/dist/cjs/cn-f559f9e5.js +0 -2588
  320. package/dist/cjs/dynamic-claim_6.cjs.entry.js +0 -1224
  321. package/dist/cjs/dynamic-redeem.cjs.entry.js +0 -210
  322. package/dist/collection/components/vehicle-lookup/components/SSCTable.js +0 -18
  323. package/dist/collection/components/vehicle-lookup/dynamic-claim.css +0 -1
  324. package/dist/collection/components/vehicle-lookup/dynamic-claim.js +0 -756
  325. package/dist/collection/components/vehicle-lookup/dynamic-redeem.css +0 -1
  326. package/dist/collection/components/vehicle-lookup/dynamic-redeem.js +0 -444
  327. package/dist/collection/components/vehicle-lookup/paint-thickness.css +0 -1
  328. package/dist/collection/components/vehicle-lookup/warranty-details.css +0 -1
  329. package/dist/collection/global/types/vehicle-information.js +0 -5
  330. package/dist/collection/templates/vehicle-lookup/vehicle-lookup.js +0 -285
  331. package/dist/components/dynamic-claim.js +0 -5
  332. package/dist/components/dynamic-redeem.js +0 -5
  333. package/dist/components/p-11b381c5.js +0 -5
  334. package/dist/components/p-193d8106.js +0 -5
  335. package/dist/components/p-200d1808.js +0 -5
  336. package/dist/components/p-226ba896.js +0 -5
  337. package/dist/components/p-26f6cc29.js +0 -5
  338. package/dist/components/p-294d8325.js +0 -5
  339. package/dist/components/p-2acdd0af.js +0 -5
  340. package/dist/components/p-2fda2f2f.js +0 -5
  341. package/dist/components/p-3c0afe07.js +0 -5
  342. package/dist/components/p-48a9b8e5.js +0 -5
  343. package/dist/components/p-5454a106.js +0 -5
  344. package/dist/components/p-55c8cd0b.js +0 -5
  345. package/dist/components/p-6a7bbdf3.js +0 -5
  346. package/dist/components/p-79ecb709.js +0 -5
  347. package/dist/components/p-7e46c004.js +0 -5
  348. package/dist/components/p-8b1d90d7.js +0 -5
  349. package/dist/components/p-98d9e7ab.js +0 -5
  350. package/dist/components/p-a3684493.js +0 -5
  351. package/dist/components/p-a6d70cb6.js +0 -5
  352. package/dist/components/p-b09904be.js +0 -5
  353. package/dist/components/p-be50ca5e.js +0 -5
  354. package/dist/components/p-bffefd15.js +0 -5
  355. package/dist/components/p-d87dc098.js +0 -5
  356. package/dist/components/p-da2d6d3a.js +0 -5
  357. package/dist/components/p-f5eeeb44.js +0 -5
  358. package/dist/components/paint-thickness.js +0 -5
  359. package/dist/components/service-history.js +0 -5
  360. package/dist/components/warranty-details.js +0 -5
  361. package/dist/esm/app-globals-68faa233.js +0 -44
  362. package/dist/esm/cn-cc419b94.js +0 -2586
  363. package/dist/esm/dynamic-claim_6.entry.js +0 -1215
  364. package/dist/esm/dynamic-redeem.entry.js +0 -206
  365. package/dist/esm/type-b8db76db.js +0 -34
  366. package/dist/shift-components/p-232a8be0.entry.js +0 -5
  367. package/dist/shift-components/p-303060dd.entry.js +0 -5
  368. package/dist/shift-components/p-3ab6a99b.entry.js +0 -5
  369. package/dist/shift-components/p-446d908d.js +0 -5
  370. package/dist/shift-components/p-5b788e6a.entry.js +0 -5
  371. package/dist/shift-components/p-6723e1a8.js +0 -5
  372. package/dist/shift-components/p-74a3ad1c.entry.js +0 -5
  373. package/dist/shift-components/p-7b7d6d0e.entry.js +0 -5
  374. package/dist/shift-components/p-7fe5bd46.js +0 -5
  375. package/dist/shift-components/p-88368ab5.entry.js +0 -5
  376. package/dist/shift-components/p-9474a4da.js +0 -6
  377. package/dist/shift-components/p-95723679.entry.js +0 -5
  378. package/dist/shift-components/p-98d9e7ab.js +0 -5
  379. package/dist/shift-components/p-a0f7ad13.js +0 -5
  380. package/dist/shift-components/p-a90b4fd3.js +0 -5
  381. package/dist/shift-components/p-dee0018f.entry.js +0 -5
  382. package/dist/shift-components/p-e85c3c9f.js +0 -5
  383. package/dist/shift-components/p-fa9b43e2.entry.js +0 -5
  384. package/dist/types/components/vehicle-lookup/components/SSCTable.d.ts +0 -9
  385. package/dist/types/global/types/part-information.d.ts +0 -53
  386. package/dist/types/global/types/vehicle-information.d.ts +0 -182
  387. package/loader/package.json +0 -11
  388. package/readme.md +0 -15
  389. /package/dist/cjs/{loader-baf2418b.js → loader-jtAYWeFG.js} +0 -0
  390. /package/dist/cjs/{validate-vin-32e95695.js → validate-vin-CJDIXpJO.js} +0 -0
  391. /package/dist/collection/global/types/{part-information.js → generated/part/branch-dead-stock-dto.js} +0 -0
  392. /package/dist/components/{p-00a27a58.js → p-B5YdqGVm.js} +0 -0
  393. /package/dist/components/{p-fab97ac7.js → p-BT4rhLRL.js} +0 -0
  394. /package/dist/components/{p-a21e2e2e.js → p-C-EQDloC.js} +0 -0
  395. /package/dist/components/{p-383b4ddf.js → p-CUREVASG.js} +0 -0
  396. /package/dist/esm/{loader-027b88af.js → loader-C-EQDloC.js} +0 -0
  397. /package/dist/esm/{validate-vin-f4d23a44.js → validate-vin-CUREVASG.js} +0 -0
  398. /package/dist/shift-components/{p-a21e2e2e.js → p-C-EQDloC.js} +0 -0
  399. /package/dist/shift-components/{p-383b4ddf.js → p-CUREVASG.js} +0 -0
@@ -0,0 +1,2597 @@
1
+ /*!
2
+ * Built by ShiftSoftware
3
+ * Copyright (c)
4
+ */
5
+ 'use strict';
6
+
7
+ function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
8
+
9
+ var bundleCjs = {};
10
+
11
+ var hasRequiredBundleCjs;
12
+
13
+ function requireBundleCjs () {
14
+ if (hasRequiredBundleCjs) return bundleCjs;
15
+ hasRequiredBundleCjs = 1;
16
+ (function (exports) {
17
+
18
+ Object.defineProperty(exports, Symbol.toStringTag, {
19
+ value: 'Module'
20
+ });
21
+ const CLASS_PART_SEPARATOR = '-';
22
+ const createClassGroupUtils = config => {
23
+ const classMap = createClassMap(config);
24
+ const {
25
+ conflictingClassGroups,
26
+ conflictingClassGroupModifiers
27
+ } = config;
28
+ const getClassGroupId = className => {
29
+ const classParts = className.split(CLASS_PART_SEPARATOR);
30
+ // 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.
31
+ if (classParts[0] === '' && classParts.length !== 1) {
32
+ classParts.shift();
33
+ }
34
+ return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
35
+ };
36
+ const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
37
+ const conflicts = conflictingClassGroups[classGroupId] || [];
38
+ if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
39
+ return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
40
+ }
41
+ return conflicts;
42
+ };
43
+ return {
44
+ getClassGroupId,
45
+ getConflictingClassGroupIds
46
+ };
47
+ };
48
+ const getGroupRecursive = (classParts, classPartObject) => {
49
+ if (classParts.length === 0) {
50
+ return classPartObject.classGroupId;
51
+ }
52
+ const currentClassPart = classParts[0];
53
+ const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
54
+ const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : undefined;
55
+ if (classGroupFromNextClassPart) {
56
+ return classGroupFromNextClassPart;
57
+ }
58
+ if (classPartObject.validators.length === 0) {
59
+ return undefined;
60
+ }
61
+ const classRest = classParts.join(CLASS_PART_SEPARATOR);
62
+ return classPartObject.validators.find(({
63
+ validator
64
+ }) => validator(classRest))?.classGroupId;
65
+ };
66
+ const arbitraryPropertyRegex = /^\[(.+)\]$/;
67
+ const getGroupIdForArbitraryProperty = className => {
68
+ if (arbitraryPropertyRegex.test(className)) {
69
+ const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
70
+ const property = arbitraryPropertyClassName?.substring(0, arbitraryPropertyClassName.indexOf(':'));
71
+ if (property) {
72
+ // I use two dots here because one dot is used as prefix for class groups in plugins
73
+ return 'arbitrary..' + property;
74
+ }
75
+ }
76
+ };
77
+ /**
78
+ * Exported for testing only
79
+ */
80
+ const createClassMap = config => {
81
+ const {
82
+ theme,
83
+ prefix
84
+ } = config;
85
+ const classMap = {
86
+ nextPart: new Map(),
87
+ validators: []
88
+ };
89
+ const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);
90
+ prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {
91
+ processClassesRecursively(classGroup, classMap, classGroupId, theme);
92
+ });
93
+ return classMap;
94
+ };
95
+ const processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
96
+ classGroup.forEach(classDefinition => {
97
+ if (typeof classDefinition === 'string') {
98
+ const classPartObjectToEdit = classDefinition === '' ? classPartObject : getPart(classPartObject, classDefinition);
99
+ classPartObjectToEdit.classGroupId = classGroupId;
100
+ return;
101
+ }
102
+ if (typeof classDefinition === 'function') {
103
+ if (isThemeGetter(classDefinition)) {
104
+ processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
105
+ return;
106
+ }
107
+ classPartObject.validators.push({
108
+ validator: classDefinition,
109
+ classGroupId
110
+ });
111
+ return;
112
+ }
113
+ Object.entries(classDefinition).forEach(([key, classGroup]) => {
114
+ processClassesRecursively(classGroup, getPart(classPartObject, key), classGroupId, theme);
115
+ });
116
+ });
117
+ };
118
+ const getPart = (classPartObject, path) => {
119
+ let currentClassPartObject = classPartObject;
120
+ path.split(CLASS_PART_SEPARATOR).forEach(pathPart => {
121
+ if (!currentClassPartObject.nextPart.has(pathPart)) {
122
+ currentClassPartObject.nextPart.set(pathPart, {
123
+ nextPart: new Map(),
124
+ validators: []
125
+ });
126
+ }
127
+ currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
128
+ });
129
+ return currentClassPartObject;
130
+ };
131
+ const isThemeGetter = func => func.isThemeGetter;
132
+ const getPrefixedClassGroupEntries = (classGroupEntries, prefix) => {
133
+ if (!prefix) {
134
+ return classGroupEntries;
135
+ }
136
+ return classGroupEntries.map(([classGroupId, classGroup]) => {
137
+ const prefixedClassGroup = classGroup.map(classDefinition => {
138
+ if (typeof classDefinition === 'string') {
139
+ return prefix + classDefinition;
140
+ }
141
+ if (typeof classDefinition === 'object') {
142
+ return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));
143
+ }
144
+ return classDefinition;
145
+ });
146
+ return [classGroupId, prefixedClassGroup];
147
+ });
148
+ };
149
+
150
+ // LRU cache inspired from hashlru (https://github.com/dominictarr/hashlru/blob/v1.0.4/index.js) but object replaced with Map to improve performance
151
+ const createLruCache = maxCacheSize => {
152
+ if (maxCacheSize < 1) {
153
+ return {
154
+ get: () => undefined,
155
+ set: () => {}
156
+ };
157
+ }
158
+ let cacheSize = 0;
159
+ let cache = new Map();
160
+ let previousCache = new Map();
161
+ const update = (key, value) => {
162
+ cache.set(key, value);
163
+ cacheSize++;
164
+ if (cacheSize > maxCacheSize) {
165
+ cacheSize = 0;
166
+ previousCache = cache;
167
+ cache = new Map();
168
+ }
169
+ };
170
+ return {
171
+ get(key) {
172
+ let value = cache.get(key);
173
+ if (value !== undefined) {
174
+ return value;
175
+ }
176
+ if ((value = previousCache.get(key)) !== undefined) {
177
+ update(key, value);
178
+ return value;
179
+ }
180
+ },
181
+ set(key, value) {
182
+ if (cache.has(key)) {
183
+ cache.set(key, value);
184
+ } else {
185
+ update(key, value);
186
+ }
187
+ }
188
+ };
189
+ };
190
+ const IMPORTANT_MODIFIER = '!';
191
+ const createParseClassName = config => {
192
+ const {
193
+ separator,
194
+ experimentalParseClassName
195
+ } = config;
196
+ const isSeparatorSingleCharacter = separator.length === 1;
197
+ const firstSeparatorCharacter = separator[0];
198
+ const separatorLength = separator.length;
199
+ // parseClassName inspired by https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js
200
+ const parseClassName = className => {
201
+ const modifiers = [];
202
+ let bracketDepth = 0;
203
+ let modifierStart = 0;
204
+ let postfixModifierPosition;
205
+ for (let index = 0; index < className.length; index++) {
206
+ let currentCharacter = className[index];
207
+ if (bracketDepth === 0) {
208
+ if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {
209
+ modifiers.push(className.slice(modifierStart, index));
210
+ modifierStart = index + separatorLength;
211
+ continue;
212
+ }
213
+ if (currentCharacter === '/') {
214
+ postfixModifierPosition = index;
215
+ continue;
216
+ }
217
+ }
218
+ if (currentCharacter === '[') {
219
+ bracketDepth++;
220
+ } else if (currentCharacter === ']') {
221
+ bracketDepth--;
222
+ }
223
+ }
224
+ const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);
225
+ const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);
226
+ const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;
227
+ const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : undefined;
228
+ return {
229
+ modifiers,
230
+ hasImportantModifier,
231
+ baseClassName,
232
+ maybePostfixModifierPosition
233
+ };
234
+ };
235
+ if (experimentalParseClassName) {
236
+ return className => experimentalParseClassName({
237
+ className,
238
+ parseClassName
239
+ });
240
+ }
241
+ return parseClassName;
242
+ };
243
+ /**
244
+ * Sorts modifiers according to following schema:
245
+ * - Predefined modifiers are sorted alphabetically
246
+ * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it
247
+ */
248
+ const sortModifiers = modifiers => {
249
+ if (modifiers.length <= 1) {
250
+ return modifiers;
251
+ }
252
+ const sortedModifiers = [];
253
+ let unsortedModifiers = [];
254
+ modifiers.forEach(modifier => {
255
+ const isArbitraryVariant = modifier[0] === '[';
256
+ if (isArbitraryVariant) {
257
+ sortedModifiers.push(...unsortedModifiers.sort(), modifier);
258
+ unsortedModifiers = [];
259
+ } else {
260
+ unsortedModifiers.push(modifier);
261
+ }
262
+ });
263
+ sortedModifiers.push(...unsortedModifiers.sort());
264
+ return sortedModifiers;
265
+ };
266
+ const createConfigUtils = config => ({
267
+ cache: createLruCache(config.cacheSize),
268
+ parseClassName: createParseClassName(config),
269
+ ...createClassGroupUtils(config)
270
+ });
271
+ const SPLIT_CLASSES_REGEX = /\s+/;
272
+ const mergeClassList = (classList, configUtils) => {
273
+ const {
274
+ parseClassName,
275
+ getClassGroupId,
276
+ getConflictingClassGroupIds
277
+ } = configUtils;
278
+ /**
279
+ * Set of classGroupIds in following format:
280
+ * `{importantModifier}{variantModifiers}{classGroupId}`
281
+ * @example 'float'
282
+ * @example 'hover:focus:bg-color'
283
+ * @example 'md:!pr'
284
+ */
285
+ const classGroupsInConflict = [];
286
+ const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
287
+ let result = '';
288
+ for (let index = classNames.length - 1; index >= 0; index -= 1) {
289
+ const originalClassName = classNames[index];
290
+ const {
291
+ modifiers,
292
+ hasImportantModifier,
293
+ baseClassName,
294
+ maybePostfixModifierPosition
295
+ } = parseClassName(originalClassName);
296
+ let hasPostfixModifier = Boolean(maybePostfixModifierPosition);
297
+ let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
298
+ if (!classGroupId) {
299
+ if (!hasPostfixModifier) {
300
+ // Not a Tailwind class
301
+ result = originalClassName + (result.length > 0 ? ' ' + result : result);
302
+ continue;
303
+ }
304
+ classGroupId = getClassGroupId(baseClassName);
305
+ if (!classGroupId) {
306
+ // Not a Tailwind class
307
+ result = originalClassName + (result.length > 0 ? ' ' + result : result);
308
+ continue;
309
+ }
310
+ hasPostfixModifier = false;
311
+ }
312
+ const variantModifier = sortModifiers(modifiers).join(':');
313
+ const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
314
+ const classId = modifierId + classGroupId;
315
+ if (classGroupsInConflict.includes(classId)) {
316
+ // Tailwind class omitted due to conflict
317
+ continue;
318
+ }
319
+ classGroupsInConflict.push(classId);
320
+ const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
321
+ for (let i = 0; i < conflictGroups.length; ++i) {
322
+ const group = conflictGroups[i];
323
+ classGroupsInConflict.push(modifierId + group);
324
+ }
325
+ // Tailwind class not in conflict
326
+ result = originalClassName + (result.length > 0 ? ' ' + result : result);
327
+ }
328
+ return result;
329
+ };
330
+
331
+ /**
332
+ * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
333
+ *
334
+ * Specifically:
335
+ * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
336
+ * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
337
+ *
338
+ * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
339
+ */
340
+ function twJoin() {
341
+ let index = 0;
342
+ let argument;
343
+ let resolvedValue;
344
+ let string = '';
345
+ while (index < arguments.length) {
346
+ if (argument = arguments[index++]) {
347
+ if (resolvedValue = toValue(argument)) {
348
+ string && (string += ' ');
349
+ string += resolvedValue;
350
+ }
351
+ }
352
+ }
353
+ return string;
354
+ }
355
+ const toValue = mix => {
356
+ if (typeof mix === 'string') {
357
+ return mix;
358
+ }
359
+ let resolvedValue;
360
+ let string = '';
361
+ for (let k = 0; k < mix.length; k++) {
362
+ if (mix[k]) {
363
+ if (resolvedValue = toValue(mix[k])) {
364
+ string && (string += ' ');
365
+ string += resolvedValue;
366
+ }
367
+ }
368
+ }
369
+ return string;
370
+ };
371
+ function createTailwindMerge(createConfigFirst, ...createConfigRest) {
372
+ let configUtils;
373
+ let cacheGet;
374
+ let cacheSet;
375
+ let functionToCall = initTailwindMerge;
376
+ function initTailwindMerge(classList) {
377
+ const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
378
+ configUtils = createConfigUtils(config);
379
+ cacheGet = configUtils.cache.get;
380
+ cacheSet = configUtils.cache.set;
381
+ functionToCall = tailwindMerge;
382
+ return tailwindMerge(classList);
383
+ }
384
+ function tailwindMerge(classList) {
385
+ const cachedResult = cacheGet(classList);
386
+ if (cachedResult) {
387
+ return cachedResult;
388
+ }
389
+ const result = mergeClassList(classList, configUtils);
390
+ cacheSet(classList, result);
391
+ return result;
392
+ }
393
+ return function callTailwindMerge() {
394
+ return functionToCall(twJoin.apply(null, arguments));
395
+ };
396
+ }
397
+ const fromTheme = key => {
398
+ const themeGetter = theme => theme[key] || [];
399
+ themeGetter.isThemeGetter = true;
400
+ return themeGetter;
401
+ };
402
+ const arbitraryValueRegex = /^\[(?:([a-z-]+):)?(.+)\]$/i;
403
+ const fractionRegex = /^\d+\/\d+$/;
404
+ const stringLengths = /*#__PURE__*/new Set(['px', 'full', 'screen']);
405
+ const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
406
+ 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$/;
407
+ const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
408
+ // Shadow always begins with x and y offset separated by underscore optionally prepended by inset
409
+ const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
410
+ const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
411
+ const isLength = value => isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
412
+ const isArbitraryLength = value => getIsArbitraryValue(value, 'length', isLengthOnly);
413
+ const isNumber = value => Boolean(value) && !Number.isNaN(Number(value));
414
+ const isArbitraryNumber = value => getIsArbitraryValue(value, 'number', isNumber);
415
+ const isInteger = value => Boolean(value) && Number.isInteger(Number(value));
416
+ const isPercent = value => value.endsWith('%') && isNumber(value.slice(0, -1));
417
+ const isArbitraryValue = value => arbitraryValueRegex.test(value);
418
+ const isTshirtSize = value => tshirtUnitRegex.test(value);
419
+ const sizeLabels = /*#__PURE__*/new Set(['length', 'size', 'percentage']);
420
+ const isArbitrarySize = value => getIsArbitraryValue(value, sizeLabels, isNever);
421
+ const isArbitraryPosition = value => getIsArbitraryValue(value, 'position', isNever);
422
+ const imageLabels = /*#__PURE__*/new Set(['image', 'url']);
423
+ const isArbitraryImage = value => getIsArbitraryValue(value, imageLabels, isImage);
424
+ const isArbitraryShadow = value => getIsArbitraryValue(value, '', isShadow);
425
+ const isAny = () => true;
426
+ const getIsArbitraryValue = (value, label, testValue) => {
427
+ const result = arbitraryValueRegex.exec(value);
428
+ if (result) {
429
+ if (result[1]) {
430
+ return typeof label === 'string' ? result[1] === label : label.has(result[1]);
431
+ }
432
+ return testValue(result[2]);
433
+ }
434
+ return false;
435
+ };
436
+ const isLengthOnly = value =>
437
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
438
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
439
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
440
+ lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
441
+ const isNever = () => false;
442
+ const isShadow = value => shadowRegex.test(value);
443
+ const isImage = value => imageRegex.test(value);
444
+ const validators = /*#__PURE__*/Object.defineProperty({
445
+ __proto__: null,
446
+ isAny,
447
+ isArbitraryImage,
448
+ isArbitraryLength,
449
+ isArbitraryNumber,
450
+ isArbitraryPosition,
451
+ isArbitraryShadow,
452
+ isArbitrarySize,
453
+ isArbitraryValue,
454
+ isInteger,
455
+ isLength,
456
+ isNumber,
457
+ isPercent,
458
+ isTshirtSize
459
+ }, Symbol.toStringTag, {
460
+ value: 'Module'
461
+ });
462
+ const getDefaultConfig = () => {
463
+ const colors = fromTheme('colors');
464
+ const spacing = fromTheme('spacing');
465
+ const blur = fromTheme('blur');
466
+ const brightness = fromTheme('brightness');
467
+ const borderColor = fromTheme('borderColor');
468
+ const borderRadius = fromTheme('borderRadius');
469
+ const borderSpacing = fromTheme('borderSpacing');
470
+ const borderWidth = fromTheme('borderWidth');
471
+ const contrast = fromTheme('contrast');
472
+ const grayscale = fromTheme('grayscale');
473
+ const hueRotate = fromTheme('hueRotate');
474
+ const invert = fromTheme('invert');
475
+ const gap = fromTheme('gap');
476
+ const gradientColorStops = fromTheme('gradientColorStops');
477
+ const gradientColorStopPositions = fromTheme('gradientColorStopPositions');
478
+ const inset = fromTheme('inset');
479
+ const margin = fromTheme('margin');
480
+ const opacity = fromTheme('opacity');
481
+ const padding = fromTheme('padding');
482
+ const saturate = fromTheme('saturate');
483
+ const scale = fromTheme('scale');
484
+ const sepia = fromTheme('sepia');
485
+ const skew = fromTheme('skew');
486
+ const space = fromTheme('space');
487
+ const translate = fromTheme('translate');
488
+ const getOverscroll = () => ['auto', 'contain', 'none'];
489
+ const getOverflow = () => ['auto', 'hidden', 'clip', 'visible', 'scroll'];
490
+ const getSpacingWithAutoAndArbitrary = () => ['auto', isArbitraryValue, spacing];
491
+ const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];
492
+ const getLengthWithEmptyAndArbitrary = () => ['', isLength, isArbitraryLength];
493
+ const getNumberWithAutoAndArbitrary = () => ['auto', isNumber, isArbitraryValue];
494
+ const getPositions = () => ['bottom', 'center', 'left', 'left-bottom', 'left-top', 'right', 'right-bottom', 'right-top', 'top'];
495
+ const getLineStyles = () => ['solid', 'dashed', 'dotted', 'double', 'none'];
496
+ const getBlendModes = () => ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'];
497
+ const getAlign = () => ['start', 'end', 'center', 'between', 'around', 'evenly', 'stretch'];
498
+ const getZeroAndEmpty = () => ['', '0', isArbitraryValue];
499
+ const getBreaks = () => ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'];
500
+ const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];
501
+ return {
502
+ cacheSize: 500,
503
+ separator: ':',
504
+ theme: {
505
+ colors: [isAny],
506
+ spacing: [isLength, isArbitraryLength],
507
+ blur: ['none', '', isTshirtSize, isArbitraryValue],
508
+ brightness: getNumberAndArbitrary(),
509
+ borderColor: [colors],
510
+ borderRadius: ['none', '', 'full', isTshirtSize, isArbitraryValue],
511
+ borderSpacing: getSpacingWithArbitrary(),
512
+ borderWidth: getLengthWithEmptyAndArbitrary(),
513
+ contrast: getNumberAndArbitrary(),
514
+ grayscale: getZeroAndEmpty(),
515
+ hueRotate: getNumberAndArbitrary(),
516
+ invert: getZeroAndEmpty(),
517
+ gap: getSpacingWithArbitrary(),
518
+ gradientColorStops: [colors],
519
+ gradientColorStopPositions: [isPercent, isArbitraryLength],
520
+ inset: getSpacingWithAutoAndArbitrary(),
521
+ margin: getSpacingWithAutoAndArbitrary(),
522
+ opacity: getNumberAndArbitrary(),
523
+ padding: getSpacingWithArbitrary(),
524
+ saturate: getNumberAndArbitrary(),
525
+ scale: getNumberAndArbitrary(),
526
+ sepia: getZeroAndEmpty(),
527
+ skew: getNumberAndArbitrary(),
528
+ space: getSpacingWithArbitrary(),
529
+ translate: getSpacingWithArbitrary()
530
+ },
531
+ classGroups: {
532
+ // Layout
533
+ /**
534
+ * Aspect Ratio
535
+ * @see https://tailwindcss.com/docs/aspect-ratio
536
+ */
537
+ aspect: [{
538
+ aspect: ['auto', 'square', 'video', isArbitraryValue]
539
+ }],
540
+ /**
541
+ * Container
542
+ * @see https://tailwindcss.com/docs/container
543
+ */
544
+ container: ['container'],
545
+ /**
546
+ * Columns
547
+ * @see https://tailwindcss.com/docs/columns
548
+ */
549
+ columns: [{
550
+ columns: [isTshirtSize]
551
+ }],
552
+ /**
553
+ * Break After
554
+ * @see https://tailwindcss.com/docs/break-after
555
+ */
556
+ 'break-after': [{
557
+ 'break-after': getBreaks()
558
+ }],
559
+ /**
560
+ * Break Before
561
+ * @see https://tailwindcss.com/docs/break-before
562
+ */
563
+ 'break-before': [{
564
+ 'break-before': getBreaks()
565
+ }],
566
+ /**
567
+ * Break Inside
568
+ * @see https://tailwindcss.com/docs/break-inside
569
+ */
570
+ 'break-inside': [{
571
+ 'break-inside': ['auto', 'avoid', 'avoid-page', 'avoid-column']
572
+ }],
573
+ /**
574
+ * Box Decoration Break
575
+ * @see https://tailwindcss.com/docs/box-decoration-break
576
+ */
577
+ 'box-decoration': [{
578
+ 'box-decoration': ['slice', 'clone']
579
+ }],
580
+ /**
581
+ * Box Sizing
582
+ * @see https://tailwindcss.com/docs/box-sizing
583
+ */
584
+ box: [{
585
+ box: ['border', 'content']
586
+ }],
587
+ /**
588
+ * Display
589
+ * @see https://tailwindcss.com/docs/display
590
+ */
591
+ 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'],
592
+ /**
593
+ * Floats
594
+ * @see https://tailwindcss.com/docs/float
595
+ */
596
+ float: [{
597
+ float: ['right', 'left', 'none', 'start', 'end']
598
+ }],
599
+ /**
600
+ * Clear
601
+ * @see https://tailwindcss.com/docs/clear
602
+ */
603
+ clear: [{
604
+ clear: ['left', 'right', 'both', 'none', 'start', 'end']
605
+ }],
606
+ /**
607
+ * Isolation
608
+ * @see https://tailwindcss.com/docs/isolation
609
+ */
610
+ isolation: ['isolate', 'isolation-auto'],
611
+ /**
612
+ * Object Fit
613
+ * @see https://tailwindcss.com/docs/object-fit
614
+ */
615
+ 'object-fit': [{
616
+ object: ['contain', 'cover', 'fill', 'none', 'scale-down']
617
+ }],
618
+ /**
619
+ * Object Position
620
+ * @see https://tailwindcss.com/docs/object-position
621
+ */
622
+ 'object-position': [{
623
+ object: [...getPositions(), isArbitraryValue]
624
+ }],
625
+ /**
626
+ * Overflow
627
+ * @see https://tailwindcss.com/docs/overflow
628
+ */
629
+ overflow: [{
630
+ overflow: getOverflow()
631
+ }],
632
+ /**
633
+ * Overflow X
634
+ * @see https://tailwindcss.com/docs/overflow
635
+ */
636
+ 'overflow-x': [{
637
+ 'overflow-x': getOverflow()
638
+ }],
639
+ /**
640
+ * Overflow Y
641
+ * @see https://tailwindcss.com/docs/overflow
642
+ */
643
+ 'overflow-y': [{
644
+ 'overflow-y': getOverflow()
645
+ }],
646
+ /**
647
+ * Overscroll Behavior
648
+ * @see https://tailwindcss.com/docs/overscroll-behavior
649
+ */
650
+ overscroll: [{
651
+ overscroll: getOverscroll()
652
+ }],
653
+ /**
654
+ * Overscroll Behavior X
655
+ * @see https://tailwindcss.com/docs/overscroll-behavior
656
+ */
657
+ 'overscroll-x': [{
658
+ 'overscroll-x': getOverscroll()
659
+ }],
660
+ /**
661
+ * Overscroll Behavior Y
662
+ * @see https://tailwindcss.com/docs/overscroll-behavior
663
+ */
664
+ 'overscroll-y': [{
665
+ 'overscroll-y': getOverscroll()
666
+ }],
667
+ /**
668
+ * Position
669
+ * @see https://tailwindcss.com/docs/position
670
+ */
671
+ position: ['static', 'fixed', 'absolute', 'relative', 'sticky'],
672
+ /**
673
+ * Top / Right / Bottom / Left
674
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
675
+ */
676
+ inset: [{
677
+ inset: [inset]
678
+ }],
679
+ /**
680
+ * Right / Left
681
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
682
+ */
683
+ 'inset-x': [{
684
+ 'inset-x': [inset]
685
+ }],
686
+ /**
687
+ * Top / Bottom
688
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
689
+ */
690
+ 'inset-y': [{
691
+ 'inset-y': [inset]
692
+ }],
693
+ /**
694
+ * Start
695
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
696
+ */
697
+ start: [{
698
+ start: [inset]
699
+ }],
700
+ /**
701
+ * End
702
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
703
+ */
704
+ end: [{
705
+ end: [inset]
706
+ }],
707
+ /**
708
+ * Top
709
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
710
+ */
711
+ top: [{
712
+ top: [inset]
713
+ }],
714
+ /**
715
+ * Right
716
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
717
+ */
718
+ right: [{
719
+ right: [inset]
720
+ }],
721
+ /**
722
+ * Bottom
723
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
724
+ */
725
+ bottom: [{
726
+ bottom: [inset]
727
+ }],
728
+ /**
729
+ * Left
730
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
731
+ */
732
+ left: [{
733
+ left: [inset]
734
+ }],
735
+ /**
736
+ * Visibility
737
+ * @see https://tailwindcss.com/docs/visibility
738
+ */
739
+ visibility: ['visible', 'invisible', 'collapse'],
740
+ /**
741
+ * Z-Index
742
+ * @see https://tailwindcss.com/docs/z-index
743
+ */
744
+ z: [{
745
+ z: ['auto', isInteger, isArbitraryValue]
746
+ }],
747
+ // Flexbox and Grid
748
+ /**
749
+ * Flex Basis
750
+ * @see https://tailwindcss.com/docs/flex-basis
751
+ */
752
+ basis: [{
753
+ basis: getSpacingWithAutoAndArbitrary()
754
+ }],
755
+ /**
756
+ * Flex Direction
757
+ * @see https://tailwindcss.com/docs/flex-direction
758
+ */
759
+ 'flex-direction': [{
760
+ flex: ['row', 'row-reverse', 'col', 'col-reverse']
761
+ }],
762
+ /**
763
+ * Flex Wrap
764
+ * @see https://tailwindcss.com/docs/flex-wrap
765
+ */
766
+ 'flex-wrap': [{
767
+ flex: ['wrap', 'wrap-reverse', 'nowrap']
768
+ }],
769
+ /**
770
+ * Flex
771
+ * @see https://tailwindcss.com/docs/flex
772
+ */
773
+ flex: [{
774
+ flex: ['1', 'auto', 'initial', 'none', isArbitraryValue]
775
+ }],
776
+ /**
777
+ * Flex Grow
778
+ * @see https://tailwindcss.com/docs/flex-grow
779
+ */
780
+ grow: [{
781
+ grow: getZeroAndEmpty()
782
+ }],
783
+ /**
784
+ * Flex Shrink
785
+ * @see https://tailwindcss.com/docs/flex-shrink
786
+ */
787
+ shrink: [{
788
+ shrink: getZeroAndEmpty()
789
+ }],
790
+ /**
791
+ * Order
792
+ * @see https://tailwindcss.com/docs/order
793
+ */
794
+ order: [{
795
+ order: ['first', 'last', 'none', isInteger, isArbitraryValue]
796
+ }],
797
+ /**
798
+ * Grid Template Columns
799
+ * @see https://tailwindcss.com/docs/grid-template-columns
800
+ */
801
+ 'grid-cols': [{
802
+ 'grid-cols': [isAny]
803
+ }],
804
+ /**
805
+ * Grid Column Start / End
806
+ * @see https://tailwindcss.com/docs/grid-column
807
+ */
808
+ 'col-start-end': [{
809
+ col: ['auto', {
810
+ span: ['full', isInteger, isArbitraryValue]
811
+ }, isArbitraryValue]
812
+ }],
813
+ /**
814
+ * Grid Column Start
815
+ * @see https://tailwindcss.com/docs/grid-column
816
+ */
817
+ 'col-start': [{
818
+ 'col-start': getNumberWithAutoAndArbitrary()
819
+ }],
820
+ /**
821
+ * Grid Column End
822
+ * @see https://tailwindcss.com/docs/grid-column
823
+ */
824
+ 'col-end': [{
825
+ 'col-end': getNumberWithAutoAndArbitrary()
826
+ }],
827
+ /**
828
+ * Grid Template Rows
829
+ * @see https://tailwindcss.com/docs/grid-template-rows
830
+ */
831
+ 'grid-rows': [{
832
+ 'grid-rows': [isAny]
833
+ }],
834
+ /**
835
+ * Grid Row Start / End
836
+ * @see https://tailwindcss.com/docs/grid-row
837
+ */
838
+ 'row-start-end': [{
839
+ row: ['auto', {
840
+ span: [isInteger, isArbitraryValue]
841
+ }, isArbitraryValue]
842
+ }],
843
+ /**
844
+ * Grid Row Start
845
+ * @see https://tailwindcss.com/docs/grid-row
846
+ */
847
+ 'row-start': [{
848
+ 'row-start': getNumberWithAutoAndArbitrary()
849
+ }],
850
+ /**
851
+ * Grid Row End
852
+ * @see https://tailwindcss.com/docs/grid-row
853
+ */
854
+ 'row-end': [{
855
+ 'row-end': getNumberWithAutoAndArbitrary()
856
+ }],
857
+ /**
858
+ * Grid Auto Flow
859
+ * @see https://tailwindcss.com/docs/grid-auto-flow
860
+ */
861
+ 'grid-flow': [{
862
+ 'grid-flow': ['row', 'col', 'dense', 'row-dense', 'col-dense']
863
+ }],
864
+ /**
865
+ * Grid Auto Columns
866
+ * @see https://tailwindcss.com/docs/grid-auto-columns
867
+ */
868
+ 'auto-cols': [{
869
+ 'auto-cols': ['auto', 'min', 'max', 'fr', isArbitraryValue]
870
+ }],
871
+ /**
872
+ * Grid Auto Rows
873
+ * @see https://tailwindcss.com/docs/grid-auto-rows
874
+ */
875
+ 'auto-rows': [{
876
+ 'auto-rows': ['auto', 'min', 'max', 'fr', isArbitraryValue]
877
+ }],
878
+ /**
879
+ * Gap
880
+ * @see https://tailwindcss.com/docs/gap
881
+ */
882
+ gap: [{
883
+ gap: [gap]
884
+ }],
885
+ /**
886
+ * Gap X
887
+ * @see https://tailwindcss.com/docs/gap
888
+ */
889
+ 'gap-x': [{
890
+ 'gap-x': [gap]
891
+ }],
892
+ /**
893
+ * Gap Y
894
+ * @see https://tailwindcss.com/docs/gap
895
+ */
896
+ 'gap-y': [{
897
+ 'gap-y': [gap]
898
+ }],
899
+ /**
900
+ * Justify Content
901
+ * @see https://tailwindcss.com/docs/justify-content
902
+ */
903
+ 'justify-content': [{
904
+ justify: ['normal', ...getAlign()]
905
+ }],
906
+ /**
907
+ * Justify Items
908
+ * @see https://tailwindcss.com/docs/justify-items
909
+ */
910
+ 'justify-items': [{
911
+ 'justify-items': ['start', 'end', 'center', 'stretch']
912
+ }],
913
+ /**
914
+ * Justify Self
915
+ * @see https://tailwindcss.com/docs/justify-self
916
+ */
917
+ 'justify-self': [{
918
+ 'justify-self': ['auto', 'start', 'end', 'center', 'stretch']
919
+ }],
920
+ /**
921
+ * Align Content
922
+ * @see https://tailwindcss.com/docs/align-content
923
+ */
924
+ 'align-content': [{
925
+ content: ['normal', ...getAlign(), 'baseline']
926
+ }],
927
+ /**
928
+ * Align Items
929
+ * @see https://tailwindcss.com/docs/align-items
930
+ */
931
+ 'align-items': [{
932
+ items: ['start', 'end', 'center', 'baseline', 'stretch']
933
+ }],
934
+ /**
935
+ * Align Self
936
+ * @see https://tailwindcss.com/docs/align-self
937
+ */
938
+ 'align-self': [{
939
+ self: ['auto', 'start', 'end', 'center', 'stretch', 'baseline']
940
+ }],
941
+ /**
942
+ * Place Content
943
+ * @see https://tailwindcss.com/docs/place-content
944
+ */
945
+ 'place-content': [{
946
+ 'place-content': [...getAlign(), 'baseline']
947
+ }],
948
+ /**
949
+ * Place Items
950
+ * @see https://tailwindcss.com/docs/place-items
951
+ */
952
+ 'place-items': [{
953
+ 'place-items': ['start', 'end', 'center', 'baseline', 'stretch']
954
+ }],
955
+ /**
956
+ * Place Self
957
+ * @see https://tailwindcss.com/docs/place-self
958
+ */
959
+ 'place-self': [{
960
+ 'place-self': ['auto', 'start', 'end', 'center', 'stretch']
961
+ }],
962
+ // Spacing
963
+ /**
964
+ * Padding
965
+ * @see https://tailwindcss.com/docs/padding
966
+ */
967
+ p: [{
968
+ p: [padding]
969
+ }],
970
+ /**
971
+ * Padding X
972
+ * @see https://tailwindcss.com/docs/padding
973
+ */
974
+ px: [{
975
+ px: [padding]
976
+ }],
977
+ /**
978
+ * Padding Y
979
+ * @see https://tailwindcss.com/docs/padding
980
+ */
981
+ py: [{
982
+ py: [padding]
983
+ }],
984
+ /**
985
+ * Padding Start
986
+ * @see https://tailwindcss.com/docs/padding
987
+ */
988
+ ps: [{
989
+ ps: [padding]
990
+ }],
991
+ /**
992
+ * Padding End
993
+ * @see https://tailwindcss.com/docs/padding
994
+ */
995
+ pe: [{
996
+ pe: [padding]
997
+ }],
998
+ /**
999
+ * Padding Top
1000
+ * @see https://tailwindcss.com/docs/padding
1001
+ */
1002
+ pt: [{
1003
+ pt: [padding]
1004
+ }],
1005
+ /**
1006
+ * Padding Right
1007
+ * @see https://tailwindcss.com/docs/padding
1008
+ */
1009
+ pr: [{
1010
+ pr: [padding]
1011
+ }],
1012
+ /**
1013
+ * Padding Bottom
1014
+ * @see https://tailwindcss.com/docs/padding
1015
+ */
1016
+ pb: [{
1017
+ pb: [padding]
1018
+ }],
1019
+ /**
1020
+ * Padding Left
1021
+ * @see https://tailwindcss.com/docs/padding
1022
+ */
1023
+ pl: [{
1024
+ pl: [padding]
1025
+ }],
1026
+ /**
1027
+ * Margin
1028
+ * @see https://tailwindcss.com/docs/margin
1029
+ */
1030
+ m: [{
1031
+ m: [margin]
1032
+ }],
1033
+ /**
1034
+ * Margin X
1035
+ * @see https://tailwindcss.com/docs/margin
1036
+ */
1037
+ mx: [{
1038
+ mx: [margin]
1039
+ }],
1040
+ /**
1041
+ * Margin Y
1042
+ * @see https://tailwindcss.com/docs/margin
1043
+ */
1044
+ my: [{
1045
+ my: [margin]
1046
+ }],
1047
+ /**
1048
+ * Margin Start
1049
+ * @see https://tailwindcss.com/docs/margin
1050
+ */
1051
+ ms: [{
1052
+ ms: [margin]
1053
+ }],
1054
+ /**
1055
+ * Margin End
1056
+ * @see https://tailwindcss.com/docs/margin
1057
+ */
1058
+ me: [{
1059
+ me: [margin]
1060
+ }],
1061
+ /**
1062
+ * Margin Top
1063
+ * @see https://tailwindcss.com/docs/margin
1064
+ */
1065
+ mt: [{
1066
+ mt: [margin]
1067
+ }],
1068
+ /**
1069
+ * Margin Right
1070
+ * @see https://tailwindcss.com/docs/margin
1071
+ */
1072
+ mr: [{
1073
+ mr: [margin]
1074
+ }],
1075
+ /**
1076
+ * Margin Bottom
1077
+ * @see https://tailwindcss.com/docs/margin
1078
+ */
1079
+ mb: [{
1080
+ mb: [margin]
1081
+ }],
1082
+ /**
1083
+ * Margin Left
1084
+ * @see https://tailwindcss.com/docs/margin
1085
+ */
1086
+ ml: [{
1087
+ ml: [margin]
1088
+ }],
1089
+ /**
1090
+ * Space Between X
1091
+ * @see https://tailwindcss.com/docs/space
1092
+ */
1093
+ 'space-x': [{
1094
+ 'space-x': [space]
1095
+ }],
1096
+ /**
1097
+ * Space Between X Reverse
1098
+ * @see https://tailwindcss.com/docs/space
1099
+ */
1100
+ 'space-x-reverse': ['space-x-reverse'],
1101
+ /**
1102
+ * Space Between Y
1103
+ * @see https://tailwindcss.com/docs/space
1104
+ */
1105
+ 'space-y': [{
1106
+ 'space-y': [space]
1107
+ }],
1108
+ /**
1109
+ * Space Between Y Reverse
1110
+ * @see https://tailwindcss.com/docs/space
1111
+ */
1112
+ 'space-y-reverse': ['space-y-reverse'],
1113
+ // Sizing
1114
+ /**
1115
+ * Width
1116
+ * @see https://tailwindcss.com/docs/width
1117
+ */
1118
+ w: [{
1119
+ w: ['auto', 'min', 'max', 'fit', 'svw', 'lvw', 'dvw', isArbitraryValue, spacing]
1120
+ }],
1121
+ /**
1122
+ * Min-Width
1123
+ * @see https://tailwindcss.com/docs/min-width
1124
+ */
1125
+ 'min-w': [{
1126
+ 'min-w': [isArbitraryValue, spacing, 'min', 'max', 'fit']
1127
+ }],
1128
+ /**
1129
+ * Max-Width
1130
+ * @see https://tailwindcss.com/docs/max-width
1131
+ */
1132
+ 'max-w': [{
1133
+ 'max-w': [isArbitraryValue, spacing, 'none', 'full', 'min', 'max', 'fit', 'prose', {
1134
+ screen: [isTshirtSize]
1135
+ }, isTshirtSize]
1136
+ }],
1137
+ /**
1138
+ * Height
1139
+ * @see https://tailwindcss.com/docs/height
1140
+ */
1141
+ h: [{
1142
+ h: [isArbitraryValue, spacing, 'auto', 'min', 'max', 'fit', 'svh', 'lvh', 'dvh']
1143
+ }],
1144
+ /**
1145
+ * Min-Height
1146
+ * @see https://tailwindcss.com/docs/min-height
1147
+ */
1148
+ 'min-h': [{
1149
+ 'min-h': [isArbitraryValue, spacing, 'min', 'max', 'fit', 'svh', 'lvh', 'dvh']
1150
+ }],
1151
+ /**
1152
+ * Max-Height
1153
+ * @see https://tailwindcss.com/docs/max-height
1154
+ */
1155
+ 'max-h': [{
1156
+ 'max-h': [isArbitraryValue, spacing, 'min', 'max', 'fit', 'svh', 'lvh', 'dvh']
1157
+ }],
1158
+ /**
1159
+ * Size
1160
+ * @see https://tailwindcss.com/docs/size
1161
+ */
1162
+ size: [{
1163
+ size: [isArbitraryValue, spacing, 'auto', 'min', 'max', 'fit']
1164
+ }],
1165
+ // Typography
1166
+ /**
1167
+ * Font Size
1168
+ * @see https://tailwindcss.com/docs/font-size
1169
+ */
1170
+ 'font-size': [{
1171
+ text: ['base', isTshirtSize, isArbitraryLength]
1172
+ }],
1173
+ /**
1174
+ * Font Smoothing
1175
+ * @see https://tailwindcss.com/docs/font-smoothing
1176
+ */
1177
+ 'font-smoothing': ['antialiased', 'subpixel-antialiased'],
1178
+ /**
1179
+ * Font Style
1180
+ * @see https://tailwindcss.com/docs/font-style
1181
+ */
1182
+ 'font-style': ['italic', 'not-italic'],
1183
+ /**
1184
+ * Font Weight
1185
+ * @see https://tailwindcss.com/docs/font-weight
1186
+ */
1187
+ 'font-weight': [{
1188
+ font: ['thin', 'extralight', 'light', 'normal', 'medium', 'semibold', 'bold', 'extrabold', 'black', isArbitraryNumber]
1189
+ }],
1190
+ /**
1191
+ * Font Family
1192
+ * @see https://tailwindcss.com/docs/font-family
1193
+ */
1194
+ 'font-family': [{
1195
+ font: [isAny]
1196
+ }],
1197
+ /**
1198
+ * Font Variant Numeric
1199
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1200
+ */
1201
+ 'fvn-normal': ['normal-nums'],
1202
+ /**
1203
+ * Font Variant Numeric
1204
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1205
+ */
1206
+ 'fvn-ordinal': ['ordinal'],
1207
+ /**
1208
+ * Font Variant Numeric
1209
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1210
+ */
1211
+ 'fvn-slashed-zero': ['slashed-zero'],
1212
+ /**
1213
+ * Font Variant Numeric
1214
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1215
+ */
1216
+ 'fvn-figure': ['lining-nums', 'oldstyle-nums'],
1217
+ /**
1218
+ * Font Variant Numeric
1219
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1220
+ */
1221
+ 'fvn-spacing': ['proportional-nums', 'tabular-nums'],
1222
+ /**
1223
+ * Font Variant Numeric
1224
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1225
+ */
1226
+ 'fvn-fraction': ['diagonal-fractions', 'stacked-fractions'],
1227
+ /**
1228
+ * Letter Spacing
1229
+ * @see https://tailwindcss.com/docs/letter-spacing
1230
+ */
1231
+ tracking: [{
1232
+ tracking: ['tighter', 'tight', 'normal', 'wide', 'wider', 'widest', isArbitraryValue]
1233
+ }],
1234
+ /**
1235
+ * Line Clamp
1236
+ * @see https://tailwindcss.com/docs/line-clamp
1237
+ */
1238
+ 'line-clamp': [{
1239
+ 'line-clamp': ['none', isNumber, isArbitraryNumber]
1240
+ }],
1241
+ /**
1242
+ * Line Height
1243
+ * @see https://tailwindcss.com/docs/line-height
1244
+ */
1245
+ leading: [{
1246
+ leading: ['none', 'tight', 'snug', 'normal', 'relaxed', 'loose', isLength, isArbitraryValue]
1247
+ }],
1248
+ /**
1249
+ * List Style Image
1250
+ * @see https://tailwindcss.com/docs/list-style-image
1251
+ */
1252
+ 'list-image': [{
1253
+ 'list-image': ['none', isArbitraryValue]
1254
+ }],
1255
+ /**
1256
+ * List Style Type
1257
+ * @see https://tailwindcss.com/docs/list-style-type
1258
+ */
1259
+ 'list-style-type': [{
1260
+ list: ['none', 'disc', 'decimal', isArbitraryValue]
1261
+ }],
1262
+ /**
1263
+ * List Style Position
1264
+ * @see https://tailwindcss.com/docs/list-style-position
1265
+ */
1266
+ 'list-style-position': [{
1267
+ list: ['inside', 'outside']
1268
+ }],
1269
+ /**
1270
+ * Placeholder Color
1271
+ * @deprecated since Tailwind CSS v3.0.0
1272
+ * @see https://tailwindcss.com/docs/placeholder-color
1273
+ */
1274
+ 'placeholder-color': [{
1275
+ placeholder: [colors]
1276
+ }],
1277
+ /**
1278
+ * Placeholder Opacity
1279
+ * @see https://tailwindcss.com/docs/placeholder-opacity
1280
+ */
1281
+ 'placeholder-opacity': [{
1282
+ 'placeholder-opacity': [opacity]
1283
+ }],
1284
+ /**
1285
+ * Text Alignment
1286
+ * @see https://tailwindcss.com/docs/text-align
1287
+ */
1288
+ 'text-alignment': [{
1289
+ text: ['left', 'center', 'right', 'justify', 'start', 'end']
1290
+ }],
1291
+ /**
1292
+ * Text Color
1293
+ * @see https://tailwindcss.com/docs/text-color
1294
+ */
1295
+ 'text-color': [{
1296
+ text: [colors]
1297
+ }],
1298
+ /**
1299
+ * Text Opacity
1300
+ * @see https://tailwindcss.com/docs/text-opacity
1301
+ */
1302
+ 'text-opacity': [{
1303
+ 'text-opacity': [opacity]
1304
+ }],
1305
+ /**
1306
+ * Text Decoration
1307
+ * @see https://tailwindcss.com/docs/text-decoration
1308
+ */
1309
+ 'text-decoration': ['underline', 'overline', 'line-through', 'no-underline'],
1310
+ /**
1311
+ * Text Decoration Style
1312
+ * @see https://tailwindcss.com/docs/text-decoration-style
1313
+ */
1314
+ 'text-decoration-style': [{
1315
+ decoration: [...getLineStyles(), 'wavy']
1316
+ }],
1317
+ /**
1318
+ * Text Decoration Thickness
1319
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1320
+ */
1321
+ 'text-decoration-thickness': [{
1322
+ decoration: ['auto', 'from-font', isLength, isArbitraryLength]
1323
+ }],
1324
+ /**
1325
+ * Text Underline Offset
1326
+ * @see https://tailwindcss.com/docs/text-underline-offset
1327
+ */
1328
+ 'underline-offset': [{
1329
+ 'underline-offset': ['auto', isLength, isArbitraryValue]
1330
+ }],
1331
+ /**
1332
+ * Text Decoration Color
1333
+ * @see https://tailwindcss.com/docs/text-decoration-color
1334
+ */
1335
+ 'text-decoration-color': [{
1336
+ decoration: [colors]
1337
+ }],
1338
+ /**
1339
+ * Text Transform
1340
+ * @see https://tailwindcss.com/docs/text-transform
1341
+ */
1342
+ 'text-transform': ['uppercase', 'lowercase', 'capitalize', 'normal-case'],
1343
+ /**
1344
+ * Text Overflow
1345
+ * @see https://tailwindcss.com/docs/text-overflow
1346
+ */
1347
+ 'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],
1348
+ /**
1349
+ * Text Wrap
1350
+ * @see https://tailwindcss.com/docs/text-wrap
1351
+ */
1352
+ 'text-wrap': [{
1353
+ text: ['wrap', 'nowrap', 'balance', 'pretty']
1354
+ }],
1355
+ /**
1356
+ * Text Indent
1357
+ * @see https://tailwindcss.com/docs/text-indent
1358
+ */
1359
+ indent: [{
1360
+ indent: getSpacingWithArbitrary()
1361
+ }],
1362
+ /**
1363
+ * Vertical Alignment
1364
+ * @see https://tailwindcss.com/docs/vertical-align
1365
+ */
1366
+ 'vertical-align': [{
1367
+ align: ['baseline', 'top', 'middle', 'bottom', 'text-top', 'text-bottom', 'sub', 'super', isArbitraryValue]
1368
+ }],
1369
+ /**
1370
+ * Whitespace
1371
+ * @see https://tailwindcss.com/docs/whitespace
1372
+ */
1373
+ whitespace: [{
1374
+ whitespace: ['normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap', 'break-spaces']
1375
+ }],
1376
+ /**
1377
+ * Word Break
1378
+ * @see https://tailwindcss.com/docs/word-break
1379
+ */
1380
+ break: [{
1381
+ break: ['normal', 'words', 'all', 'keep']
1382
+ }],
1383
+ /**
1384
+ * Hyphens
1385
+ * @see https://tailwindcss.com/docs/hyphens
1386
+ */
1387
+ hyphens: [{
1388
+ hyphens: ['none', 'manual', 'auto']
1389
+ }],
1390
+ /**
1391
+ * Content
1392
+ * @see https://tailwindcss.com/docs/content
1393
+ */
1394
+ content: [{
1395
+ content: ['none', isArbitraryValue]
1396
+ }],
1397
+ // Backgrounds
1398
+ /**
1399
+ * Background Attachment
1400
+ * @see https://tailwindcss.com/docs/background-attachment
1401
+ */
1402
+ 'bg-attachment': [{
1403
+ bg: ['fixed', 'local', 'scroll']
1404
+ }],
1405
+ /**
1406
+ * Background Clip
1407
+ * @see https://tailwindcss.com/docs/background-clip
1408
+ */
1409
+ 'bg-clip': [{
1410
+ 'bg-clip': ['border', 'padding', 'content', 'text']
1411
+ }],
1412
+ /**
1413
+ * Background Opacity
1414
+ * @deprecated since Tailwind CSS v3.0.0
1415
+ * @see https://tailwindcss.com/docs/background-opacity
1416
+ */
1417
+ 'bg-opacity': [{
1418
+ 'bg-opacity': [opacity]
1419
+ }],
1420
+ /**
1421
+ * Background Origin
1422
+ * @see https://tailwindcss.com/docs/background-origin
1423
+ */
1424
+ 'bg-origin': [{
1425
+ 'bg-origin': ['border', 'padding', 'content']
1426
+ }],
1427
+ /**
1428
+ * Background Position
1429
+ * @see https://tailwindcss.com/docs/background-position
1430
+ */
1431
+ 'bg-position': [{
1432
+ bg: [...getPositions(), isArbitraryPosition]
1433
+ }],
1434
+ /**
1435
+ * Background Repeat
1436
+ * @see https://tailwindcss.com/docs/background-repeat
1437
+ */
1438
+ 'bg-repeat': [{
1439
+ bg: ['no-repeat', {
1440
+ repeat: ['', 'x', 'y', 'round', 'space']
1441
+ }]
1442
+ }],
1443
+ /**
1444
+ * Background Size
1445
+ * @see https://tailwindcss.com/docs/background-size
1446
+ */
1447
+ 'bg-size': [{
1448
+ bg: ['auto', 'cover', 'contain', isArbitrarySize]
1449
+ }],
1450
+ /**
1451
+ * Background Image
1452
+ * @see https://tailwindcss.com/docs/background-image
1453
+ */
1454
+ 'bg-image': [{
1455
+ bg: ['none', {
1456
+ 'gradient-to': ['t', 'tr', 'r', 'br', 'b', 'bl', 'l', 'tl']
1457
+ }, isArbitraryImage]
1458
+ }],
1459
+ /**
1460
+ * Background Color
1461
+ * @see https://tailwindcss.com/docs/background-color
1462
+ */
1463
+ 'bg-color': [{
1464
+ bg: [colors]
1465
+ }],
1466
+ /**
1467
+ * Gradient Color Stops From Position
1468
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1469
+ */
1470
+ 'gradient-from-pos': [{
1471
+ from: [gradientColorStopPositions]
1472
+ }],
1473
+ /**
1474
+ * Gradient Color Stops Via Position
1475
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1476
+ */
1477
+ 'gradient-via-pos': [{
1478
+ via: [gradientColorStopPositions]
1479
+ }],
1480
+ /**
1481
+ * Gradient Color Stops To Position
1482
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1483
+ */
1484
+ 'gradient-to-pos': [{
1485
+ to: [gradientColorStopPositions]
1486
+ }],
1487
+ /**
1488
+ * Gradient Color Stops From
1489
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1490
+ */
1491
+ 'gradient-from': [{
1492
+ from: [gradientColorStops]
1493
+ }],
1494
+ /**
1495
+ * Gradient Color Stops Via
1496
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1497
+ */
1498
+ 'gradient-via': [{
1499
+ via: [gradientColorStops]
1500
+ }],
1501
+ /**
1502
+ * Gradient Color Stops To
1503
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1504
+ */
1505
+ 'gradient-to': [{
1506
+ to: [gradientColorStops]
1507
+ }],
1508
+ // Borders
1509
+ /**
1510
+ * Border Radius
1511
+ * @see https://tailwindcss.com/docs/border-radius
1512
+ */
1513
+ rounded: [{
1514
+ rounded: [borderRadius]
1515
+ }],
1516
+ /**
1517
+ * Border Radius Start
1518
+ * @see https://tailwindcss.com/docs/border-radius
1519
+ */
1520
+ 'rounded-s': [{
1521
+ 'rounded-s': [borderRadius]
1522
+ }],
1523
+ /**
1524
+ * Border Radius End
1525
+ * @see https://tailwindcss.com/docs/border-radius
1526
+ */
1527
+ 'rounded-e': [{
1528
+ 'rounded-e': [borderRadius]
1529
+ }],
1530
+ /**
1531
+ * Border Radius Top
1532
+ * @see https://tailwindcss.com/docs/border-radius
1533
+ */
1534
+ 'rounded-t': [{
1535
+ 'rounded-t': [borderRadius]
1536
+ }],
1537
+ /**
1538
+ * Border Radius Right
1539
+ * @see https://tailwindcss.com/docs/border-radius
1540
+ */
1541
+ 'rounded-r': [{
1542
+ 'rounded-r': [borderRadius]
1543
+ }],
1544
+ /**
1545
+ * Border Radius Bottom
1546
+ * @see https://tailwindcss.com/docs/border-radius
1547
+ */
1548
+ 'rounded-b': [{
1549
+ 'rounded-b': [borderRadius]
1550
+ }],
1551
+ /**
1552
+ * Border Radius Left
1553
+ * @see https://tailwindcss.com/docs/border-radius
1554
+ */
1555
+ 'rounded-l': [{
1556
+ 'rounded-l': [borderRadius]
1557
+ }],
1558
+ /**
1559
+ * Border Radius Start Start
1560
+ * @see https://tailwindcss.com/docs/border-radius
1561
+ */
1562
+ 'rounded-ss': [{
1563
+ 'rounded-ss': [borderRadius]
1564
+ }],
1565
+ /**
1566
+ * Border Radius Start End
1567
+ * @see https://tailwindcss.com/docs/border-radius
1568
+ */
1569
+ 'rounded-se': [{
1570
+ 'rounded-se': [borderRadius]
1571
+ }],
1572
+ /**
1573
+ * Border Radius End End
1574
+ * @see https://tailwindcss.com/docs/border-radius
1575
+ */
1576
+ 'rounded-ee': [{
1577
+ 'rounded-ee': [borderRadius]
1578
+ }],
1579
+ /**
1580
+ * Border Radius End Start
1581
+ * @see https://tailwindcss.com/docs/border-radius
1582
+ */
1583
+ 'rounded-es': [{
1584
+ 'rounded-es': [borderRadius]
1585
+ }],
1586
+ /**
1587
+ * Border Radius Top Left
1588
+ * @see https://tailwindcss.com/docs/border-radius
1589
+ */
1590
+ 'rounded-tl': [{
1591
+ 'rounded-tl': [borderRadius]
1592
+ }],
1593
+ /**
1594
+ * Border Radius Top Right
1595
+ * @see https://tailwindcss.com/docs/border-radius
1596
+ */
1597
+ 'rounded-tr': [{
1598
+ 'rounded-tr': [borderRadius]
1599
+ }],
1600
+ /**
1601
+ * Border Radius Bottom Right
1602
+ * @see https://tailwindcss.com/docs/border-radius
1603
+ */
1604
+ 'rounded-br': [{
1605
+ 'rounded-br': [borderRadius]
1606
+ }],
1607
+ /**
1608
+ * Border Radius Bottom Left
1609
+ * @see https://tailwindcss.com/docs/border-radius
1610
+ */
1611
+ 'rounded-bl': [{
1612
+ 'rounded-bl': [borderRadius]
1613
+ }],
1614
+ /**
1615
+ * Border Width
1616
+ * @see https://tailwindcss.com/docs/border-width
1617
+ */
1618
+ 'border-w': [{
1619
+ border: [borderWidth]
1620
+ }],
1621
+ /**
1622
+ * Border Width X
1623
+ * @see https://tailwindcss.com/docs/border-width
1624
+ */
1625
+ 'border-w-x': [{
1626
+ 'border-x': [borderWidth]
1627
+ }],
1628
+ /**
1629
+ * Border Width Y
1630
+ * @see https://tailwindcss.com/docs/border-width
1631
+ */
1632
+ 'border-w-y': [{
1633
+ 'border-y': [borderWidth]
1634
+ }],
1635
+ /**
1636
+ * Border Width Start
1637
+ * @see https://tailwindcss.com/docs/border-width
1638
+ */
1639
+ 'border-w-s': [{
1640
+ 'border-s': [borderWidth]
1641
+ }],
1642
+ /**
1643
+ * Border Width End
1644
+ * @see https://tailwindcss.com/docs/border-width
1645
+ */
1646
+ 'border-w-e': [{
1647
+ 'border-e': [borderWidth]
1648
+ }],
1649
+ /**
1650
+ * Border Width Top
1651
+ * @see https://tailwindcss.com/docs/border-width
1652
+ */
1653
+ 'border-w-t': [{
1654
+ 'border-t': [borderWidth]
1655
+ }],
1656
+ /**
1657
+ * Border Width Right
1658
+ * @see https://tailwindcss.com/docs/border-width
1659
+ */
1660
+ 'border-w-r': [{
1661
+ 'border-r': [borderWidth]
1662
+ }],
1663
+ /**
1664
+ * Border Width Bottom
1665
+ * @see https://tailwindcss.com/docs/border-width
1666
+ */
1667
+ 'border-w-b': [{
1668
+ 'border-b': [borderWidth]
1669
+ }],
1670
+ /**
1671
+ * Border Width Left
1672
+ * @see https://tailwindcss.com/docs/border-width
1673
+ */
1674
+ 'border-w-l': [{
1675
+ 'border-l': [borderWidth]
1676
+ }],
1677
+ /**
1678
+ * Border Opacity
1679
+ * @see https://tailwindcss.com/docs/border-opacity
1680
+ */
1681
+ 'border-opacity': [{
1682
+ 'border-opacity': [opacity]
1683
+ }],
1684
+ /**
1685
+ * Border Style
1686
+ * @see https://tailwindcss.com/docs/border-style
1687
+ */
1688
+ 'border-style': [{
1689
+ border: [...getLineStyles(), 'hidden']
1690
+ }],
1691
+ /**
1692
+ * Divide Width X
1693
+ * @see https://tailwindcss.com/docs/divide-width
1694
+ */
1695
+ 'divide-x': [{
1696
+ 'divide-x': [borderWidth]
1697
+ }],
1698
+ /**
1699
+ * Divide Width X Reverse
1700
+ * @see https://tailwindcss.com/docs/divide-width
1701
+ */
1702
+ 'divide-x-reverse': ['divide-x-reverse'],
1703
+ /**
1704
+ * Divide Width Y
1705
+ * @see https://tailwindcss.com/docs/divide-width
1706
+ */
1707
+ 'divide-y': [{
1708
+ 'divide-y': [borderWidth]
1709
+ }],
1710
+ /**
1711
+ * Divide Width Y Reverse
1712
+ * @see https://tailwindcss.com/docs/divide-width
1713
+ */
1714
+ 'divide-y-reverse': ['divide-y-reverse'],
1715
+ /**
1716
+ * Divide Opacity
1717
+ * @see https://tailwindcss.com/docs/divide-opacity
1718
+ */
1719
+ 'divide-opacity': [{
1720
+ 'divide-opacity': [opacity]
1721
+ }],
1722
+ /**
1723
+ * Divide Style
1724
+ * @see https://tailwindcss.com/docs/divide-style
1725
+ */
1726
+ 'divide-style': [{
1727
+ divide: getLineStyles()
1728
+ }],
1729
+ /**
1730
+ * Border Color
1731
+ * @see https://tailwindcss.com/docs/border-color
1732
+ */
1733
+ 'border-color': [{
1734
+ border: [borderColor]
1735
+ }],
1736
+ /**
1737
+ * Border Color X
1738
+ * @see https://tailwindcss.com/docs/border-color
1739
+ */
1740
+ 'border-color-x': [{
1741
+ 'border-x': [borderColor]
1742
+ }],
1743
+ /**
1744
+ * Border Color Y
1745
+ * @see https://tailwindcss.com/docs/border-color
1746
+ */
1747
+ 'border-color-y': [{
1748
+ 'border-y': [borderColor]
1749
+ }],
1750
+ /**
1751
+ * Border Color S
1752
+ * @see https://tailwindcss.com/docs/border-color
1753
+ */
1754
+ 'border-color-s': [{
1755
+ 'border-s': [borderColor]
1756
+ }],
1757
+ /**
1758
+ * Border Color E
1759
+ * @see https://tailwindcss.com/docs/border-color
1760
+ */
1761
+ 'border-color-e': [{
1762
+ 'border-e': [borderColor]
1763
+ }],
1764
+ /**
1765
+ * Border Color Top
1766
+ * @see https://tailwindcss.com/docs/border-color
1767
+ */
1768
+ 'border-color-t': [{
1769
+ 'border-t': [borderColor]
1770
+ }],
1771
+ /**
1772
+ * Border Color Right
1773
+ * @see https://tailwindcss.com/docs/border-color
1774
+ */
1775
+ 'border-color-r': [{
1776
+ 'border-r': [borderColor]
1777
+ }],
1778
+ /**
1779
+ * Border Color Bottom
1780
+ * @see https://tailwindcss.com/docs/border-color
1781
+ */
1782
+ 'border-color-b': [{
1783
+ 'border-b': [borderColor]
1784
+ }],
1785
+ /**
1786
+ * Border Color Left
1787
+ * @see https://tailwindcss.com/docs/border-color
1788
+ */
1789
+ 'border-color-l': [{
1790
+ 'border-l': [borderColor]
1791
+ }],
1792
+ /**
1793
+ * Divide Color
1794
+ * @see https://tailwindcss.com/docs/divide-color
1795
+ */
1796
+ 'divide-color': [{
1797
+ divide: [borderColor]
1798
+ }],
1799
+ /**
1800
+ * Outline Style
1801
+ * @see https://tailwindcss.com/docs/outline-style
1802
+ */
1803
+ 'outline-style': [{
1804
+ outline: ['', ...getLineStyles()]
1805
+ }],
1806
+ /**
1807
+ * Outline Offset
1808
+ * @see https://tailwindcss.com/docs/outline-offset
1809
+ */
1810
+ 'outline-offset': [{
1811
+ 'outline-offset': [isLength, isArbitraryValue]
1812
+ }],
1813
+ /**
1814
+ * Outline Width
1815
+ * @see https://tailwindcss.com/docs/outline-width
1816
+ */
1817
+ 'outline-w': [{
1818
+ outline: [isLength, isArbitraryLength]
1819
+ }],
1820
+ /**
1821
+ * Outline Color
1822
+ * @see https://tailwindcss.com/docs/outline-color
1823
+ */
1824
+ 'outline-color': [{
1825
+ outline: [colors]
1826
+ }],
1827
+ /**
1828
+ * Ring Width
1829
+ * @see https://tailwindcss.com/docs/ring-width
1830
+ */
1831
+ 'ring-w': [{
1832
+ ring: getLengthWithEmptyAndArbitrary()
1833
+ }],
1834
+ /**
1835
+ * Ring Width Inset
1836
+ * @see https://tailwindcss.com/docs/ring-width
1837
+ */
1838
+ 'ring-w-inset': ['ring-inset'],
1839
+ /**
1840
+ * Ring Color
1841
+ * @see https://tailwindcss.com/docs/ring-color
1842
+ */
1843
+ 'ring-color': [{
1844
+ ring: [colors]
1845
+ }],
1846
+ /**
1847
+ * Ring Opacity
1848
+ * @see https://tailwindcss.com/docs/ring-opacity
1849
+ */
1850
+ 'ring-opacity': [{
1851
+ 'ring-opacity': [opacity]
1852
+ }],
1853
+ /**
1854
+ * Ring Offset Width
1855
+ * @see https://tailwindcss.com/docs/ring-offset-width
1856
+ */
1857
+ 'ring-offset-w': [{
1858
+ 'ring-offset': [isLength, isArbitraryLength]
1859
+ }],
1860
+ /**
1861
+ * Ring Offset Color
1862
+ * @see https://tailwindcss.com/docs/ring-offset-color
1863
+ */
1864
+ 'ring-offset-color': [{
1865
+ 'ring-offset': [colors]
1866
+ }],
1867
+ // Effects
1868
+ /**
1869
+ * Box Shadow
1870
+ * @see https://tailwindcss.com/docs/box-shadow
1871
+ */
1872
+ shadow: [{
1873
+ shadow: ['', 'inner', 'none', isTshirtSize, isArbitraryShadow]
1874
+ }],
1875
+ /**
1876
+ * Box Shadow Color
1877
+ * @see https://tailwindcss.com/docs/box-shadow-color
1878
+ */
1879
+ 'shadow-color': [{
1880
+ shadow: [isAny]
1881
+ }],
1882
+ /**
1883
+ * Opacity
1884
+ * @see https://tailwindcss.com/docs/opacity
1885
+ */
1886
+ opacity: [{
1887
+ opacity: [opacity]
1888
+ }],
1889
+ /**
1890
+ * Mix Blend Mode
1891
+ * @see https://tailwindcss.com/docs/mix-blend-mode
1892
+ */
1893
+ 'mix-blend': [{
1894
+ 'mix-blend': [...getBlendModes(), 'plus-lighter', 'plus-darker']
1895
+ }],
1896
+ /**
1897
+ * Background Blend Mode
1898
+ * @see https://tailwindcss.com/docs/background-blend-mode
1899
+ */
1900
+ 'bg-blend': [{
1901
+ 'bg-blend': getBlendModes()
1902
+ }],
1903
+ // Filters
1904
+ /**
1905
+ * Filter
1906
+ * @deprecated since Tailwind CSS v3.0.0
1907
+ * @see https://tailwindcss.com/docs/filter
1908
+ */
1909
+ filter: [{
1910
+ filter: ['', 'none']
1911
+ }],
1912
+ /**
1913
+ * Blur
1914
+ * @see https://tailwindcss.com/docs/blur
1915
+ */
1916
+ blur: [{
1917
+ blur: [blur]
1918
+ }],
1919
+ /**
1920
+ * Brightness
1921
+ * @see https://tailwindcss.com/docs/brightness
1922
+ */
1923
+ brightness: [{
1924
+ brightness: [brightness]
1925
+ }],
1926
+ /**
1927
+ * Contrast
1928
+ * @see https://tailwindcss.com/docs/contrast
1929
+ */
1930
+ contrast: [{
1931
+ contrast: [contrast]
1932
+ }],
1933
+ /**
1934
+ * Drop Shadow
1935
+ * @see https://tailwindcss.com/docs/drop-shadow
1936
+ */
1937
+ 'drop-shadow': [{
1938
+ 'drop-shadow': ['', 'none', isTshirtSize, isArbitraryValue]
1939
+ }],
1940
+ /**
1941
+ * Grayscale
1942
+ * @see https://tailwindcss.com/docs/grayscale
1943
+ */
1944
+ grayscale: [{
1945
+ grayscale: [grayscale]
1946
+ }],
1947
+ /**
1948
+ * Hue Rotate
1949
+ * @see https://tailwindcss.com/docs/hue-rotate
1950
+ */
1951
+ 'hue-rotate': [{
1952
+ 'hue-rotate': [hueRotate]
1953
+ }],
1954
+ /**
1955
+ * Invert
1956
+ * @see https://tailwindcss.com/docs/invert
1957
+ */
1958
+ invert: [{
1959
+ invert: [invert]
1960
+ }],
1961
+ /**
1962
+ * Saturate
1963
+ * @see https://tailwindcss.com/docs/saturate
1964
+ */
1965
+ saturate: [{
1966
+ saturate: [saturate]
1967
+ }],
1968
+ /**
1969
+ * Sepia
1970
+ * @see https://tailwindcss.com/docs/sepia
1971
+ */
1972
+ sepia: [{
1973
+ sepia: [sepia]
1974
+ }],
1975
+ /**
1976
+ * Backdrop Filter
1977
+ * @deprecated since Tailwind CSS v3.0.0
1978
+ * @see https://tailwindcss.com/docs/backdrop-filter
1979
+ */
1980
+ 'backdrop-filter': [{
1981
+ 'backdrop-filter': ['', 'none']
1982
+ }],
1983
+ /**
1984
+ * Backdrop Blur
1985
+ * @see https://tailwindcss.com/docs/backdrop-blur
1986
+ */
1987
+ 'backdrop-blur': [{
1988
+ 'backdrop-blur': [blur]
1989
+ }],
1990
+ /**
1991
+ * Backdrop Brightness
1992
+ * @see https://tailwindcss.com/docs/backdrop-brightness
1993
+ */
1994
+ 'backdrop-brightness': [{
1995
+ 'backdrop-brightness': [brightness]
1996
+ }],
1997
+ /**
1998
+ * Backdrop Contrast
1999
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2000
+ */
2001
+ 'backdrop-contrast': [{
2002
+ 'backdrop-contrast': [contrast]
2003
+ }],
2004
+ /**
2005
+ * Backdrop Grayscale
2006
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2007
+ */
2008
+ 'backdrop-grayscale': [{
2009
+ 'backdrop-grayscale': [grayscale]
2010
+ }],
2011
+ /**
2012
+ * Backdrop Hue Rotate
2013
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2014
+ */
2015
+ 'backdrop-hue-rotate': [{
2016
+ 'backdrop-hue-rotate': [hueRotate]
2017
+ }],
2018
+ /**
2019
+ * Backdrop Invert
2020
+ * @see https://tailwindcss.com/docs/backdrop-invert
2021
+ */
2022
+ 'backdrop-invert': [{
2023
+ 'backdrop-invert': [invert]
2024
+ }],
2025
+ /**
2026
+ * Backdrop Opacity
2027
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2028
+ */
2029
+ 'backdrop-opacity': [{
2030
+ 'backdrop-opacity': [opacity]
2031
+ }],
2032
+ /**
2033
+ * Backdrop Saturate
2034
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2035
+ */
2036
+ 'backdrop-saturate': [{
2037
+ 'backdrop-saturate': [saturate]
2038
+ }],
2039
+ /**
2040
+ * Backdrop Sepia
2041
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2042
+ */
2043
+ 'backdrop-sepia': [{
2044
+ 'backdrop-sepia': [sepia]
2045
+ }],
2046
+ // Tables
2047
+ /**
2048
+ * Border Collapse
2049
+ * @see https://tailwindcss.com/docs/border-collapse
2050
+ */
2051
+ 'border-collapse': [{
2052
+ border: ['collapse', 'separate']
2053
+ }],
2054
+ /**
2055
+ * Border Spacing
2056
+ * @see https://tailwindcss.com/docs/border-spacing
2057
+ */
2058
+ 'border-spacing': [{
2059
+ 'border-spacing': [borderSpacing]
2060
+ }],
2061
+ /**
2062
+ * Border Spacing X
2063
+ * @see https://tailwindcss.com/docs/border-spacing
2064
+ */
2065
+ 'border-spacing-x': [{
2066
+ 'border-spacing-x': [borderSpacing]
2067
+ }],
2068
+ /**
2069
+ * Border Spacing Y
2070
+ * @see https://tailwindcss.com/docs/border-spacing
2071
+ */
2072
+ 'border-spacing-y': [{
2073
+ 'border-spacing-y': [borderSpacing]
2074
+ }],
2075
+ /**
2076
+ * Table Layout
2077
+ * @see https://tailwindcss.com/docs/table-layout
2078
+ */
2079
+ 'table-layout': [{
2080
+ table: ['auto', 'fixed']
2081
+ }],
2082
+ /**
2083
+ * Caption Side
2084
+ * @see https://tailwindcss.com/docs/caption-side
2085
+ */
2086
+ caption: [{
2087
+ caption: ['top', 'bottom']
2088
+ }],
2089
+ // Transitions and Animation
2090
+ /**
2091
+ * Tranisition Property
2092
+ * @see https://tailwindcss.com/docs/transition-property
2093
+ */
2094
+ transition: [{
2095
+ transition: ['none', 'all', '', 'colors', 'opacity', 'shadow', 'transform', isArbitraryValue]
2096
+ }],
2097
+ /**
2098
+ * Transition Duration
2099
+ * @see https://tailwindcss.com/docs/transition-duration
2100
+ */
2101
+ duration: [{
2102
+ duration: getNumberAndArbitrary()
2103
+ }],
2104
+ /**
2105
+ * Transition Timing Function
2106
+ * @see https://tailwindcss.com/docs/transition-timing-function
2107
+ */
2108
+ ease: [{
2109
+ ease: ['linear', 'in', 'out', 'in-out', isArbitraryValue]
2110
+ }],
2111
+ /**
2112
+ * Transition Delay
2113
+ * @see https://tailwindcss.com/docs/transition-delay
2114
+ */
2115
+ delay: [{
2116
+ delay: getNumberAndArbitrary()
2117
+ }],
2118
+ /**
2119
+ * Animation
2120
+ * @see https://tailwindcss.com/docs/animation
2121
+ */
2122
+ animate: [{
2123
+ animate: ['none', 'spin', 'ping', 'pulse', 'bounce', isArbitraryValue]
2124
+ }],
2125
+ // Transforms
2126
+ /**
2127
+ * Transform
2128
+ * @see https://tailwindcss.com/docs/transform
2129
+ */
2130
+ transform: [{
2131
+ transform: ['', 'gpu', 'none']
2132
+ }],
2133
+ /**
2134
+ * Scale
2135
+ * @see https://tailwindcss.com/docs/scale
2136
+ */
2137
+ scale: [{
2138
+ scale: [scale]
2139
+ }],
2140
+ /**
2141
+ * Scale X
2142
+ * @see https://tailwindcss.com/docs/scale
2143
+ */
2144
+ 'scale-x': [{
2145
+ 'scale-x': [scale]
2146
+ }],
2147
+ /**
2148
+ * Scale Y
2149
+ * @see https://tailwindcss.com/docs/scale
2150
+ */
2151
+ 'scale-y': [{
2152
+ 'scale-y': [scale]
2153
+ }],
2154
+ /**
2155
+ * Rotate
2156
+ * @see https://tailwindcss.com/docs/rotate
2157
+ */
2158
+ rotate: [{
2159
+ rotate: [isInteger, isArbitraryValue]
2160
+ }],
2161
+ /**
2162
+ * Translate X
2163
+ * @see https://tailwindcss.com/docs/translate
2164
+ */
2165
+ 'translate-x': [{
2166
+ 'translate-x': [translate]
2167
+ }],
2168
+ /**
2169
+ * Translate Y
2170
+ * @see https://tailwindcss.com/docs/translate
2171
+ */
2172
+ 'translate-y': [{
2173
+ 'translate-y': [translate]
2174
+ }],
2175
+ /**
2176
+ * Skew X
2177
+ * @see https://tailwindcss.com/docs/skew
2178
+ */
2179
+ 'skew-x': [{
2180
+ 'skew-x': [skew]
2181
+ }],
2182
+ /**
2183
+ * Skew Y
2184
+ * @see https://tailwindcss.com/docs/skew
2185
+ */
2186
+ 'skew-y': [{
2187
+ 'skew-y': [skew]
2188
+ }],
2189
+ /**
2190
+ * Transform Origin
2191
+ * @see https://tailwindcss.com/docs/transform-origin
2192
+ */
2193
+ 'transform-origin': [{
2194
+ origin: ['center', 'top', 'top-right', 'right', 'bottom-right', 'bottom', 'bottom-left', 'left', 'top-left', isArbitraryValue]
2195
+ }],
2196
+ // Interactivity
2197
+ /**
2198
+ * Accent Color
2199
+ * @see https://tailwindcss.com/docs/accent-color
2200
+ */
2201
+ accent: [{
2202
+ accent: ['auto', colors]
2203
+ }],
2204
+ /**
2205
+ * Appearance
2206
+ * @see https://tailwindcss.com/docs/appearance
2207
+ */
2208
+ appearance: [{
2209
+ appearance: ['none', 'auto']
2210
+ }],
2211
+ /**
2212
+ * Cursor
2213
+ * @see https://tailwindcss.com/docs/cursor
2214
+ */
2215
+ cursor: [{
2216
+ cursor: ['auto', 'default', 'pointer', 'wait', 'text', 'move', 'help', 'not-allowed', 'none', 'context-menu', 'progress', 'cell', 'crosshair', 'vertical-text', 'alias', 'copy', 'no-drop', 'grab', 'grabbing', 'all-scroll', 'col-resize', 'row-resize', 'n-resize', 'e-resize', 's-resize', 'w-resize', 'ne-resize', 'nw-resize', 'se-resize', 'sw-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'zoom-in', 'zoom-out', isArbitraryValue]
2217
+ }],
2218
+ /**
2219
+ * Caret Color
2220
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2221
+ */
2222
+ 'caret-color': [{
2223
+ caret: [colors]
2224
+ }],
2225
+ /**
2226
+ * Pointer Events
2227
+ * @see https://tailwindcss.com/docs/pointer-events
2228
+ */
2229
+ 'pointer-events': [{
2230
+ 'pointer-events': ['none', 'auto']
2231
+ }],
2232
+ /**
2233
+ * Resize
2234
+ * @see https://tailwindcss.com/docs/resize
2235
+ */
2236
+ resize: [{
2237
+ resize: ['none', 'y', 'x', '']
2238
+ }],
2239
+ /**
2240
+ * Scroll Behavior
2241
+ * @see https://tailwindcss.com/docs/scroll-behavior
2242
+ */
2243
+ 'scroll-behavior': [{
2244
+ scroll: ['auto', 'smooth']
2245
+ }],
2246
+ /**
2247
+ * Scroll Margin
2248
+ * @see https://tailwindcss.com/docs/scroll-margin
2249
+ */
2250
+ 'scroll-m': [{
2251
+ 'scroll-m': getSpacingWithArbitrary()
2252
+ }],
2253
+ /**
2254
+ * Scroll Margin X
2255
+ * @see https://tailwindcss.com/docs/scroll-margin
2256
+ */
2257
+ 'scroll-mx': [{
2258
+ 'scroll-mx': getSpacingWithArbitrary()
2259
+ }],
2260
+ /**
2261
+ * Scroll Margin Y
2262
+ * @see https://tailwindcss.com/docs/scroll-margin
2263
+ */
2264
+ 'scroll-my': [{
2265
+ 'scroll-my': getSpacingWithArbitrary()
2266
+ }],
2267
+ /**
2268
+ * Scroll Margin Start
2269
+ * @see https://tailwindcss.com/docs/scroll-margin
2270
+ */
2271
+ 'scroll-ms': [{
2272
+ 'scroll-ms': getSpacingWithArbitrary()
2273
+ }],
2274
+ /**
2275
+ * Scroll Margin End
2276
+ * @see https://tailwindcss.com/docs/scroll-margin
2277
+ */
2278
+ 'scroll-me': [{
2279
+ 'scroll-me': getSpacingWithArbitrary()
2280
+ }],
2281
+ /**
2282
+ * Scroll Margin Top
2283
+ * @see https://tailwindcss.com/docs/scroll-margin
2284
+ */
2285
+ 'scroll-mt': [{
2286
+ 'scroll-mt': getSpacingWithArbitrary()
2287
+ }],
2288
+ /**
2289
+ * Scroll Margin Right
2290
+ * @see https://tailwindcss.com/docs/scroll-margin
2291
+ */
2292
+ 'scroll-mr': [{
2293
+ 'scroll-mr': getSpacingWithArbitrary()
2294
+ }],
2295
+ /**
2296
+ * Scroll Margin Bottom
2297
+ * @see https://tailwindcss.com/docs/scroll-margin
2298
+ */
2299
+ 'scroll-mb': [{
2300
+ 'scroll-mb': getSpacingWithArbitrary()
2301
+ }],
2302
+ /**
2303
+ * Scroll Margin Left
2304
+ * @see https://tailwindcss.com/docs/scroll-margin
2305
+ */
2306
+ 'scroll-ml': [{
2307
+ 'scroll-ml': getSpacingWithArbitrary()
2308
+ }],
2309
+ /**
2310
+ * Scroll Padding
2311
+ * @see https://tailwindcss.com/docs/scroll-padding
2312
+ */
2313
+ 'scroll-p': [{
2314
+ 'scroll-p': getSpacingWithArbitrary()
2315
+ }],
2316
+ /**
2317
+ * Scroll Padding X
2318
+ * @see https://tailwindcss.com/docs/scroll-padding
2319
+ */
2320
+ 'scroll-px': [{
2321
+ 'scroll-px': getSpacingWithArbitrary()
2322
+ }],
2323
+ /**
2324
+ * Scroll Padding Y
2325
+ * @see https://tailwindcss.com/docs/scroll-padding
2326
+ */
2327
+ 'scroll-py': [{
2328
+ 'scroll-py': getSpacingWithArbitrary()
2329
+ }],
2330
+ /**
2331
+ * Scroll Padding Start
2332
+ * @see https://tailwindcss.com/docs/scroll-padding
2333
+ */
2334
+ 'scroll-ps': [{
2335
+ 'scroll-ps': getSpacingWithArbitrary()
2336
+ }],
2337
+ /**
2338
+ * Scroll Padding End
2339
+ * @see https://tailwindcss.com/docs/scroll-padding
2340
+ */
2341
+ 'scroll-pe': [{
2342
+ 'scroll-pe': getSpacingWithArbitrary()
2343
+ }],
2344
+ /**
2345
+ * Scroll Padding Top
2346
+ * @see https://tailwindcss.com/docs/scroll-padding
2347
+ */
2348
+ 'scroll-pt': [{
2349
+ 'scroll-pt': getSpacingWithArbitrary()
2350
+ }],
2351
+ /**
2352
+ * Scroll Padding Right
2353
+ * @see https://tailwindcss.com/docs/scroll-padding
2354
+ */
2355
+ 'scroll-pr': [{
2356
+ 'scroll-pr': getSpacingWithArbitrary()
2357
+ }],
2358
+ /**
2359
+ * Scroll Padding Bottom
2360
+ * @see https://tailwindcss.com/docs/scroll-padding
2361
+ */
2362
+ 'scroll-pb': [{
2363
+ 'scroll-pb': getSpacingWithArbitrary()
2364
+ }],
2365
+ /**
2366
+ * Scroll Padding Left
2367
+ * @see https://tailwindcss.com/docs/scroll-padding
2368
+ */
2369
+ 'scroll-pl': [{
2370
+ 'scroll-pl': getSpacingWithArbitrary()
2371
+ }],
2372
+ /**
2373
+ * Scroll Snap Align
2374
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2375
+ */
2376
+ 'snap-align': [{
2377
+ snap: ['start', 'end', 'center', 'align-none']
2378
+ }],
2379
+ /**
2380
+ * Scroll Snap Stop
2381
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2382
+ */
2383
+ 'snap-stop': [{
2384
+ snap: ['normal', 'always']
2385
+ }],
2386
+ /**
2387
+ * Scroll Snap Type
2388
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2389
+ */
2390
+ 'snap-type': [{
2391
+ snap: ['none', 'x', 'y', 'both']
2392
+ }],
2393
+ /**
2394
+ * Scroll Snap Type Strictness
2395
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2396
+ */
2397
+ 'snap-strictness': [{
2398
+ snap: ['mandatory', 'proximity']
2399
+ }],
2400
+ /**
2401
+ * Touch Action
2402
+ * @see https://tailwindcss.com/docs/touch-action
2403
+ */
2404
+ touch: [{
2405
+ touch: ['auto', 'none', 'manipulation']
2406
+ }],
2407
+ /**
2408
+ * Touch Action X
2409
+ * @see https://tailwindcss.com/docs/touch-action
2410
+ */
2411
+ 'touch-x': [{
2412
+ 'touch-pan': ['x', 'left', 'right']
2413
+ }],
2414
+ /**
2415
+ * Touch Action Y
2416
+ * @see https://tailwindcss.com/docs/touch-action
2417
+ */
2418
+ 'touch-y': [{
2419
+ 'touch-pan': ['y', 'up', 'down']
2420
+ }],
2421
+ /**
2422
+ * Touch Action Pinch Zoom
2423
+ * @see https://tailwindcss.com/docs/touch-action
2424
+ */
2425
+ 'touch-pz': ['touch-pinch-zoom'],
2426
+ /**
2427
+ * User Select
2428
+ * @see https://tailwindcss.com/docs/user-select
2429
+ */
2430
+ select: [{
2431
+ select: ['none', 'text', 'all', 'auto']
2432
+ }],
2433
+ /**
2434
+ * Will Change
2435
+ * @see https://tailwindcss.com/docs/will-change
2436
+ */
2437
+ 'will-change': [{
2438
+ 'will-change': ['auto', 'scroll', 'contents', 'transform', isArbitraryValue]
2439
+ }],
2440
+ // SVG
2441
+ /**
2442
+ * Fill
2443
+ * @see https://tailwindcss.com/docs/fill
2444
+ */
2445
+ fill: [{
2446
+ fill: [colors, 'none']
2447
+ }],
2448
+ /**
2449
+ * Stroke Width
2450
+ * @see https://tailwindcss.com/docs/stroke-width
2451
+ */
2452
+ 'stroke-w': [{
2453
+ stroke: [isLength, isArbitraryLength, isArbitraryNumber]
2454
+ }],
2455
+ /**
2456
+ * Stroke
2457
+ * @see https://tailwindcss.com/docs/stroke
2458
+ */
2459
+ stroke: [{
2460
+ stroke: [colors, 'none']
2461
+ }],
2462
+ // Accessibility
2463
+ /**
2464
+ * Screen Readers
2465
+ * @see https://tailwindcss.com/docs/screen-readers
2466
+ */
2467
+ sr: ['sr-only', 'not-sr-only'],
2468
+ /**
2469
+ * Forced Color Adjust
2470
+ * @see https://tailwindcss.com/docs/forced-color-adjust
2471
+ */
2472
+ 'forced-color-adjust': [{
2473
+ 'forced-color-adjust': ['auto', 'none']
2474
+ }]
2475
+ },
2476
+ conflictingClassGroups: {
2477
+ overflow: ['overflow-x', 'overflow-y'],
2478
+ overscroll: ['overscroll-x', 'overscroll-y'],
2479
+ inset: ['inset-x', 'inset-y', 'start', 'end', 'top', 'right', 'bottom', 'left'],
2480
+ 'inset-x': ['right', 'left'],
2481
+ 'inset-y': ['top', 'bottom'],
2482
+ flex: ['basis', 'grow', 'shrink'],
2483
+ gap: ['gap-x', 'gap-y'],
2484
+ p: ['px', 'py', 'ps', 'pe', 'pt', 'pr', 'pb', 'pl'],
2485
+ px: ['pr', 'pl'],
2486
+ py: ['pt', 'pb'],
2487
+ m: ['mx', 'my', 'ms', 'me', 'mt', 'mr', 'mb', 'ml'],
2488
+ mx: ['mr', 'ml'],
2489
+ my: ['mt', 'mb'],
2490
+ size: ['w', 'h'],
2491
+ 'font-size': ['leading'],
2492
+ 'fvn-normal': ['fvn-ordinal', 'fvn-slashed-zero', 'fvn-figure', 'fvn-spacing', 'fvn-fraction'],
2493
+ 'fvn-ordinal': ['fvn-normal'],
2494
+ 'fvn-slashed-zero': ['fvn-normal'],
2495
+ 'fvn-figure': ['fvn-normal'],
2496
+ 'fvn-spacing': ['fvn-normal'],
2497
+ 'fvn-fraction': ['fvn-normal'],
2498
+ 'line-clamp': ['display', 'overflow'],
2499
+ 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'],
2500
+ 'rounded-s': ['rounded-ss', 'rounded-es'],
2501
+ 'rounded-e': ['rounded-se', 'rounded-ee'],
2502
+ 'rounded-t': ['rounded-tl', 'rounded-tr'],
2503
+ 'rounded-r': ['rounded-tr', 'rounded-br'],
2504
+ 'rounded-b': ['rounded-br', 'rounded-bl'],
2505
+ 'rounded-l': ['rounded-tl', 'rounded-bl'],
2506
+ 'border-spacing': ['border-spacing-x', 'border-spacing-y'],
2507
+ 'border-w': ['border-w-s', 'border-w-e', 'border-w-t', 'border-w-r', 'border-w-b', 'border-w-l'],
2508
+ 'border-w-x': ['border-w-r', 'border-w-l'],
2509
+ 'border-w-y': ['border-w-t', 'border-w-b'],
2510
+ 'border-color': ['border-color-s', 'border-color-e', 'border-color-t', 'border-color-r', 'border-color-b', 'border-color-l'],
2511
+ 'border-color-x': ['border-color-r', 'border-color-l'],
2512
+ 'border-color-y': ['border-color-t', 'border-color-b'],
2513
+ 'scroll-m': ['scroll-mx', 'scroll-my', 'scroll-ms', 'scroll-me', 'scroll-mt', 'scroll-mr', 'scroll-mb', 'scroll-ml'],
2514
+ 'scroll-mx': ['scroll-mr', 'scroll-ml'],
2515
+ 'scroll-my': ['scroll-mt', 'scroll-mb'],
2516
+ 'scroll-p': ['scroll-px', 'scroll-py', 'scroll-ps', 'scroll-pe', 'scroll-pt', 'scroll-pr', 'scroll-pb', 'scroll-pl'],
2517
+ 'scroll-px': ['scroll-pr', 'scroll-pl'],
2518
+ 'scroll-py': ['scroll-pt', 'scroll-pb'],
2519
+ touch: ['touch-x', 'touch-y', 'touch-pz'],
2520
+ 'touch-x': ['touch'],
2521
+ 'touch-y': ['touch'],
2522
+ 'touch-pz': ['touch']
2523
+ },
2524
+ conflictingClassGroupModifiers: {
2525
+ 'font-size': ['leading']
2526
+ }
2527
+ };
2528
+ };
2529
+
2530
+ /**
2531
+ * @param baseConfig Config where other config will be merged into. This object will be mutated.
2532
+ * @param configExtension Partial config to merge into the `baseConfig`.
2533
+ */
2534
+ const mergeConfigs = (baseConfig, {
2535
+ cacheSize,
2536
+ prefix,
2537
+ separator,
2538
+ experimentalParseClassName,
2539
+ extend = {},
2540
+ override = {}
2541
+ }) => {
2542
+ overrideProperty(baseConfig, 'cacheSize', cacheSize);
2543
+ overrideProperty(baseConfig, 'prefix', prefix);
2544
+ overrideProperty(baseConfig, 'separator', separator);
2545
+ overrideProperty(baseConfig, 'experimentalParseClassName', experimentalParseClassName);
2546
+ for (const configKey in override) {
2547
+ overrideConfigProperties(baseConfig[configKey], override[configKey]);
2548
+ }
2549
+ for (const key in extend) {
2550
+ mergeConfigProperties(baseConfig[key], extend[key]);
2551
+ }
2552
+ return baseConfig;
2553
+ };
2554
+ const overrideProperty = (baseObject, overrideKey, overrideValue) => {
2555
+ if (overrideValue !== undefined) {
2556
+ baseObject[overrideKey] = overrideValue;
2557
+ }
2558
+ };
2559
+ const overrideConfigProperties = (baseObject, overrideObject) => {
2560
+ if (overrideObject) {
2561
+ for (const key in overrideObject) {
2562
+ overrideProperty(baseObject, key, overrideObject[key]);
2563
+ }
2564
+ }
2565
+ };
2566
+ const mergeConfigProperties = (baseObject, mergeObject) => {
2567
+ if (mergeObject) {
2568
+ for (const key in mergeObject) {
2569
+ const mergeValue = mergeObject[key];
2570
+ if (mergeValue !== undefined) {
2571
+ baseObject[key] = (baseObject[key] || []).concat(mergeValue);
2572
+ }
2573
+ }
2574
+ }
2575
+ };
2576
+ const extendTailwindMerge = (configExtension, ...createConfig) => typeof configExtension === 'function' ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);
2577
+ const twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);
2578
+ exports.createTailwindMerge = createTailwindMerge;
2579
+ exports.extendTailwindMerge = extendTailwindMerge;
2580
+ exports.fromTheme = fromTheme;
2581
+ exports.getDefaultConfig = getDefaultConfig;
2582
+ exports.mergeConfigs = mergeConfigs;
2583
+ exports.twJoin = twJoin;
2584
+ exports.twMerge = twMerge;
2585
+ exports.validators = validators;
2586
+
2587
+ } (bundleCjs));
2588
+ return bundleCjs;
2589
+ }
2590
+
2591
+ var bundleCjsExports = /*@__PURE__*/ requireBundleCjs();
2592
+
2593
+ function cn(...inputs) {
2594
+ return bundleCjsExports.twMerge(clsx(inputs));
2595
+ }
2596
+
2597
+ exports.cn = cn;