@satoshibits/react-json-schema-builder 1.0.0 → 1.0.2

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