@plusui/library 0.1.0

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