cortex-react-components 3.2.2 → 3.3.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 (380) hide show
  1. package/dist/{chunk-KCPLIAIF.mjs → chunk-2D3EN2AX.mjs} +2 -2
  2. package/dist/{chunk-PRMR24PY.mjs → chunk-36W3BORX.mjs} +3 -3
  3. package/dist/{chunk-PTDP7PZK.mjs → chunk-3G7VLQG5.mjs} +1 -1
  4. package/dist/{chunk-6R3QP53O.mjs → chunk-4JHX6BW6.mjs} +2 -2
  5. package/dist/{chunk-XDV7AVPQ.mjs → chunk-4JSM5VYZ.mjs} +2 -2
  6. package/dist/{chunk-K6N5K2A7.mjs → chunk-4P5Q6UXF.mjs} +4 -4
  7. package/dist/{chunk-UNEYYMLL.mjs → chunk-6NRBLKM4.mjs} +2 -2
  8. package/dist/{chunk-5Z7JRCOM.mjs → chunk-7ZCW4XMR.mjs} +1 -1
  9. package/dist/{chunk-V4I6U2SE.mjs → chunk-AVNBD2X5.mjs} +1 -1
  10. package/dist/{chunk-YOKF4FEM.mjs → chunk-BMZG77IE.mjs} +1 -1
  11. package/dist/chunk-BXEALHGJ.mjs +142 -0
  12. package/dist/{chunk-G7SFQSC7.mjs → chunk-C444TUVA.mjs} +6 -6
  13. package/dist/{chunk-JD7SR5V3.mjs → chunk-CONYNX7Y.mjs} +63 -7
  14. package/dist/{chunk-2VF2D4DL.mjs → chunk-DGDELNS3.mjs} +1 -1
  15. package/dist/{chunk-RJZMTP7J.mjs → chunk-DHB2L7O2.mjs} +1 -1
  16. package/dist/{chunk-ZED4UNH7.mjs → chunk-DPTILX6A.mjs} +2 -2
  17. package/dist/{chunk-ZBCZGWDU.mjs → chunk-EC5I4CIO.mjs} +2 -2
  18. package/dist/{chunk-ORWAJNJO.mjs → chunk-EDYFH3EJ.mjs} +4 -4
  19. package/dist/{chunk-EQYJUXKZ.mjs → chunk-EGCBZZGV.mjs} +1 -1
  20. package/dist/{chunk-PAXCURFR.mjs → chunk-EGZL4DVZ.mjs} +1 -1
  21. package/dist/{chunk-G46GZ57S.mjs → chunk-EJJITIA3.mjs} +2 -2
  22. package/dist/{chunk-LVLEZS7Q.mjs → chunk-ETG5N2OG.mjs} +1 -1
  23. package/dist/{chunk-25EF7VEC.mjs → chunk-F7JPOQIC.mjs} +1 -1
  24. package/dist/{chunk-RQGM66Q4.mjs → chunk-FABRRO2B.mjs} +1 -1
  25. package/dist/{chunk-JQNNFILH.mjs → chunk-FWRVXOCU.mjs} +1 -1
  26. package/dist/{chunk-4YSV633W.mjs → chunk-GAWBCR4S.mjs} +1 -1
  27. package/dist/{chunk-VMDVXNP5.mjs → chunk-GGOGMLBY.mjs} +14 -14
  28. package/dist/chunk-GXN5ZNBZ.mjs +135 -0
  29. package/dist/{chunk-3R2LCGLI.mjs → chunk-HLEMFDTD.mjs} +1 -1
  30. package/dist/{chunk-S27KJUKF.mjs → chunk-HMVIQFLN.mjs} +1 -1
  31. package/dist/{chunk-CIFGBEFV.mjs → chunk-HNBHBFLY.mjs} +1 -1
  32. package/dist/{chunk-O633TXQG.mjs → chunk-HUZCVQP7.mjs} +1 -1
  33. package/dist/{chunk-MPFWWJYT.mjs → chunk-IDMTHUC4.mjs} +2 -2
  34. package/dist/{chunk-2L6AWG6R.mjs → chunk-IJ3E6ZXF.mjs} +2 -2
  35. package/dist/{chunk-G5N5MCLS.mjs → chunk-IVOPNDSN.mjs} +5 -5
  36. package/dist/{chunk-PFA2P52R.mjs → chunk-JFXWP3RQ.mjs} +1 -1
  37. package/dist/{chunk-UYUP2DAL.mjs → chunk-KHFPDDTO.mjs} +1 -1
  38. package/dist/{chunk-6GO5N6ZP.mjs → chunk-KIZUBPPQ.mjs} +1 -1
  39. package/dist/{chunk-QE3XE3LW.mjs → chunk-KOK3VCJZ.mjs} +1 -1
  40. package/dist/{chunk-YKX5AGFQ.mjs → chunk-L4SNPNYU.mjs} +2 -2
  41. package/dist/{chunk-CIXAM7LW.mjs → chunk-LGGOEYDB.mjs} +13 -13
  42. package/dist/{chunk-SSF2CAW7.mjs → chunk-LM4J7254.mjs} +1 -1
  43. package/dist/{chunk-FECAR2TE.mjs → chunk-LPK5R32M.mjs} +1 -1
  44. package/dist/{chunk-UHOCECJY.mjs → chunk-LQQ6C7FN.mjs} +4 -4
  45. package/dist/{chunk-22E2TZBE.mjs → chunk-LTDXFLCW.mjs} +1 -1
  46. package/dist/{chunk-QOYK2HBL.mjs → chunk-MZVEK6A5.mjs} +13 -13
  47. package/dist/{chunk-3W5H36HK.mjs → chunk-NNH7EC5Z.mjs} +1 -1
  48. package/dist/{chunk-P4P6J2SW.mjs → chunk-NQMJXY3N.mjs} +2 -2
  49. package/dist/{chunk-ZWV2O6CK.mjs → chunk-NVSA5BFC.mjs} +3 -3
  50. package/dist/{chunk-UFBLZW2N.mjs → chunk-OCVHSV6Z.mjs} +2 -2
  51. package/dist/{chunk-673GELPP.mjs → chunk-OXP3LJ53.mjs} +1 -1
  52. package/dist/{chunk-5OGDBGXG.mjs → chunk-PJZ5PWKP.mjs} +1 -1
  53. package/dist/{chunk-V2BZ7RE7.mjs → chunk-PLFX66EX.mjs} +1 -1
  54. package/dist/{chunk-E6M7XAYT.mjs → chunk-Q45EN2QB.mjs} +1 -1
  55. package/dist/{chunk-J5ZETWHG.mjs → chunk-Q6CUUDUR.mjs} +2 -2
  56. package/dist/{chunk-USEHRJFR.mjs → chunk-QETXXFRW.mjs} +1 -1
  57. package/dist/{chunk-ZF2DELZ5.mjs → chunk-QXOHY4AT.mjs} +39 -3
  58. package/dist/{chunk-NF4JWFAZ.mjs → chunk-RFMER577.mjs} +1 -1
  59. package/dist/{chunk-YUBPY7L4.mjs → chunk-RFQKQLNT.mjs} +5 -5
  60. package/dist/{chunk-QUGB53Z3.mjs → chunk-RV4VRLGN.mjs} +1 -1
  61. package/dist/{chunk-TLCSKAWQ.mjs → chunk-SM57JU3T.mjs} +5 -5
  62. package/dist/{chunk-B63AROCU.mjs → chunk-SMX6BH2N.mjs} +1 -1
  63. package/dist/{chunk-L3SZS7PC.mjs → chunk-SNUES6JA.mjs} +1 -1
  64. package/dist/{chunk-5GFRQ4NR.mjs → chunk-SSDRUPMS.mjs} +1 -1
  65. package/dist/{chunk-GDMWNNYC.mjs → chunk-SSE3MQDP.mjs} +1 -1
  66. package/dist/{chunk-UJI3Y73K.mjs → chunk-TDOOQIMQ.mjs} +2 -2
  67. package/dist/{chunk-EJJNYV7C.mjs → chunk-U6ZFUE5O.mjs} +2 -2
  68. package/dist/{chunk-2363JAWB.mjs → chunk-URC56DLC.mjs} +1 -1
  69. package/dist/{chunk-HI6QOZHR.mjs → chunk-V6VAVPKH.mjs} +1 -1
  70. package/dist/{chunk-4PFDNMLD.mjs → chunk-WEIPDZOJ.mjs} +1 -1
  71. package/dist/{chunk-PIGOOCU6.mjs → chunk-WJTVZ6CB.mjs} +1 -1
  72. package/dist/{chunk-56NFUKPK.mjs → chunk-WX5QYPGU.mjs} +1 -1
  73. package/dist/{chunk-LQPN7L4Z.mjs → chunk-XFJPL6FS.mjs} +1 -1
  74. package/dist/{chunk-4PC77ZEN.mjs → chunk-XZFMQXYJ.mjs} +1 -1
  75. package/dist/{chunk-TIGSOXUA.mjs → chunk-YD7Q7IZX.mjs} +1 -1
  76. package/dist/{chunk-AOSO2JVA.mjs → chunk-YUZYLKBD.mjs} +1 -1
  77. package/dist/{chunk-CVH5TDS6.mjs → chunk-YY4VLYYH.mjs} +4 -4
  78. package/dist/{chunk-HK2DQNBU.mjs → chunk-Z54HOXSV.mjs} +4 -4
  79. package/dist/{chunk-TP5AUT7W.mjs → chunk-ZJB7AFL5.mjs} +2 -2
  80. package/dist/components/AdvancedComponents/user-selection.d.ts +1 -1
  81. package/dist/components/AdvancedComponents/user-selection.js +1 -1
  82. package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
  83. package/dist/components/Blocks/Banner.mjs +10 -10
  84. package/dist/components/Blocks/CallToAction.mjs +10 -10
  85. package/dist/components/Blocks/CollapsibleArea.mjs +11 -11
  86. package/dist/components/Blocks/Content.mjs +11 -11
  87. package/dist/components/Blocks/FeaturesBlock.mjs +10 -10
  88. package/dist/components/Blocks/ImageBlock.mjs +3 -3
  89. package/dist/components/Blocks/MediaBlock.mjs +3 -3
  90. package/dist/components/Blocks/RelatedPosts.mjs +12 -12
  91. package/dist/components/Blocks/RenderBlocks.mjs +13 -13
  92. package/dist/components/Blocks/ReusableContentBlock.mjs +13 -13
  93. package/dist/components/Blocks/index.mjs +20 -20
  94. package/dist/components/CRM/index.mjs +3 -3
  95. package/dist/components/Cards/ContentCard.mjs +10 -10
  96. package/dist/components/Cards/FeatureCard.mjs +10 -10
  97. package/dist/components/Cards/index.mjs +16 -16
  98. package/dist/components/Chat/ChatInterface.mjs +11 -11
  99. package/dist/components/Chat/CopilotInterface.mjs +12 -12
  100. package/dist/components/Chat/PartTypes/MessageHandler.mjs +9 -9
  101. package/dist/components/Chat/PartTypes/index.mjs +11 -11
  102. package/dist/components/Chat/demo-long-messages.mjs +12 -12
  103. package/dist/components/Chat/demo-tests.mjs +12 -12
  104. package/dist/components/Chat/demo.mjs +12 -12
  105. package/dist/components/Chat/example-usage.mjs +13 -13
  106. package/dist/components/Chat/example-with-vercel-ai.mjs +12 -12
  107. package/dist/components/Chat/index.mjs +20 -20
  108. package/dist/components/DigitalColleagues/MainPage.mjs +2 -2
  109. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +18 -18
  110. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +16 -16
  111. package/dist/components/DigitalColleagues/Views/ColleaguesView.d.ts +1 -1
  112. package/dist/components/DigitalColleagues/Views/ColleaguesView.js +1 -1
  113. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +3 -3
  114. package/dist/components/DigitalColleagues/Views/index.js +21 -21
  115. package/dist/components/DigitalColleagues/Views/index.mjs +28 -28
  116. package/dist/components/DigitalColleagues/digital-colleague-clone.d.ts +1 -1
  117. package/dist/components/DigitalColleagues/index.js +20 -20
  118. package/dist/components/DigitalColleagues/index.mjs +45 -45
  119. package/dist/components/{Foundary → Foundry}/AppSidebarLeft.js +3 -3
  120. package/dist/components/{Foundary → Foundry}/AppSidebarLeft.mjs +1 -1
  121. package/dist/components/{Foundary → Foundry}/DashboardHeader.js +2 -2
  122. package/dist/components/{Foundary → Foundry}/DashboardHeader.mjs +1 -1
  123. package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.js +2 -2
  124. package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.mjs +1 -1
  125. package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.js +3 -3
  126. package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.mjs +1 -1
  127. package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.js +2 -2
  128. package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.mjs +1 -1
  129. package/dist/components/{Foundary → Foundry}/LandingMenu.js +2 -2
  130. package/dist/components/{Foundary → Foundry}/LandingMenu.mjs +1 -1
  131. package/dist/components/{Foundary → Foundry}/Login.js +2 -2
  132. package/dist/components/{Foundary → Foundry}/Login.mjs +1 -1
  133. package/dist/components/{Foundary → Foundry}/MainPage.js +4 -4
  134. package/dist/components/{Foundary → Foundry}/MainPage.mjs +4 -4
  135. package/dist/components/{Foundary → Foundry}/ManagementSidebar.js +1 -1
  136. package/dist/components/{Foundary → Foundry}/ManagementSidebar.mjs +1 -1
  137. package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.js +912 -598
  138. package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.mjs +34 -32
  139. package/dist/components/{Foundary → Foundry}/README-document-edit.js +1 -1
  140. package/dist/components/{Foundary → Foundry}/README-document-edit.mjs +1 -1
  141. package/dist/components/{Foundary → Foundry}/README-document-preview.js +1 -1
  142. package/dist/components/{Foundary → Foundry}/README-document-preview.mjs +1 -1
  143. package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.js +1 -1
  144. package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.mjs +1 -1
  145. package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.js +1 -1
  146. package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.mjs +1 -1
  147. package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.js +1 -1
  148. package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.mjs +1 -1
  149. package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.js +1 -1
  150. package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.mjs +1 -1
  151. package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.js +1 -1
  152. package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.mjs +1 -1
  153. package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.js +1 -1
  154. package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.mjs +1 -1
  155. package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.js +1 -1
  156. package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.mjs +1 -1
  157. package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.js +2 -2
  158. package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.mjs +1 -1
  159. package/dist/components/{Foundary → Foundry}/RichText/index.js +18 -18
  160. package/dist/components/{Foundary → Foundry}/RichText/index.mjs +12 -12
  161. package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.js +4 -4
  162. package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.mjs +2 -2
  163. package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.js +7 -7
  164. package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.mjs +3 -3
  165. package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.js +16 -16
  166. package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.mjs +11 -11
  167. package/dist/components/{Foundary → Foundry}/SearchableSelect.js +2 -2
  168. package/dist/components/{Foundary → Foundry}/SearchableSelect.mjs +1 -1
  169. package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.d.ts +4 -2
  170. package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.js +521 -207
  171. package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.mjs +10 -8
  172. package/dist/components/Foundry/Views/KnowledgeView.docs.js +2 -0
  173. package/dist/components/Foundry/Views/KnowledgeView.docs.mjs +7 -0
  174. package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.js +29 -29
  175. package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.mjs +18 -18
  176. package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.js +4 -4
  177. package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.mjs +2 -2
  178. package/dist/components/{Foundary → Foundry}/Views/index.js +2169 -1855
  179. package/dist/components/{Foundary → Foundry}/Views/index.mjs +42 -40
  180. package/dist/components/Foundry/add-colleague-to-team-form.d.ts +10 -0
  181. package/dist/components/Foundry/add-colleague-to-team-form.js +2762 -0
  182. package/dist/components/Foundry/add-colleague-to-team-form.mjs +18 -0
  183. package/dist/components/{Foundary → Foundry}/colleague-card.js +2 -2
  184. package/dist/components/{Foundary → Foundry}/colleague-card.mjs +1 -1
  185. package/dist/components/{Foundary → Foundry}/colleague-form.js +4 -4
  186. package/dist/components/{Foundary → Foundry}/colleague-form.mjs +2 -2
  187. package/dist/components/{Foundary → Foundry}/colleague-type-selection.js +2 -2
  188. package/dist/components/{Foundary → Foundry}/colleague-type-selection.mjs +1 -1
  189. package/dist/components/Foundry/digital-colleague-selection.d.ts +9 -0
  190. package/dist/components/Foundry/digital-colleague-selection.js +2787 -0
  191. package/dist/components/Foundry/digital-colleague-selection.mjs +19 -0
  192. package/dist/components/{Foundary → Foundry}/document-edit.js +20 -20
  193. package/dist/components/{Foundary → Foundry}/document-edit.mjs +13 -13
  194. package/dist/components/{Foundary → Foundry}/document-preview-examples.js +24 -24
  195. package/dist/components/{Foundary → Foundry}/document-preview-examples.mjs +15 -15
  196. package/dist/components/{Foundary → Foundry}/document-preview.js +22 -22
  197. package/dist/components/{Foundary → Foundry}/document-preview.mjs +14 -14
  198. package/dist/components/{Foundary → Foundry}/file-edit.js +20 -20
  199. package/dist/components/{Foundary → Foundry}/file-edit.mjs +13 -13
  200. package/dist/components/{Foundary → Foundry}/foundary-clone.js +3 -3
  201. package/dist/components/{Foundary → Foundry}/foundary-clone.mjs +1 -1
  202. package/dist/components/{Foundary → Foundry}/foundary-layout.d.ts +3 -3
  203. package/dist/components/{Foundary → Foundry}/foundary-layout.js +5 -5
  204. package/dist/components/{Foundary → Foundry}/foundary-layout.mjs +3 -3
  205. package/dist/components/{Foundary → Foundry}/foundary-options.d.ts +2 -1
  206. package/dist/components/{Foundary → Foundry}/foundary-options.js +39 -3
  207. package/dist/components/{Foundary → Foundry}/foundary-options.mjs +1 -1
  208. package/dist/components/{Foundary → Foundry}/index.d.ts +3 -1
  209. package/dist/components/{Foundary → Foundry}/index.js +2248 -1930
  210. package/dist/components/{Foundary → Foundry}/index.mjs +67 -59
  211. package/dist/components/{Foundary → Foundry}/knowledge-browser.js +24 -24
  212. package/dist/components/{Foundary → Foundry}/knowledge-browser.mjs +15 -15
  213. package/dist/components/Foundry/knowledge-search.css +917 -0
  214. package/dist/components/{Foundary → Foundry}/knowledge-search.js +2 -2
  215. package/dist/components/{Foundary → Foundry}/knowledge-search.mjs +1 -1
  216. package/dist/components/Foundry/team-form.css +917 -0
  217. package/dist/components/{Foundary → Foundry}/team-form.js +2 -2
  218. package/dist/components/{Foundary → Foundry}/team-form.mjs +1 -1
  219. package/dist/components/{Foundary → Foundry}/test-data.js +1 -1
  220. package/dist/components/{Foundary → Foundry}/test-data.mjs +1 -1
  221. package/dist/components/{Foundary → Foundry}/types.js +1 -1
  222. package/dist/components/HeaderFooter/SectionHeading.mjs +11 -11
  223. package/dist/components/HeaderFooter/index.mjs +6 -6
  224. package/dist/components/Heros/HighImpact/index.mjs +11 -11
  225. package/dist/components/Heros/LowImpact/index.mjs +11 -11
  226. package/dist/components/Heros/MediumImpact/index.mjs +11 -11
  227. package/dist/components/Heros/RenderHero.mjs +14 -14
  228. package/dist/components/Heros/index.mjs +16 -16
  229. package/dist/components/Layouts/OutputHeaderFooter.mjs +13 -13
  230. package/dist/components/Layouts/Print.mjs +17 -17
  231. package/dist/components/Layouts/SlideShow.mjs +19 -19
  232. package/dist/components/Layouts/index.mjs +20 -20
  233. package/dist/components/Payload/CollectionArchive/index.mjs +4 -4
  234. package/dist/components/Payload/Media/index.mjs +2 -2
  235. package/dist/components/Payload/PayloadCard/index.mjs +3 -3
  236. package/dist/components/Payload/RichText/index.mjs +10 -10
  237. package/dist/components/Payload/RichText/serialize.mjs +10 -10
  238. package/dist/components/Payload/index.mjs +12 -12
  239. package/dist/components/Projects/AddEpicModal.d.ts +1 -1
  240. package/dist/components/Projects/AddSprintModal.d.ts +1 -1
  241. package/dist/components/Projects/AddTaskModal.d.ts +1 -1
  242. package/dist/components/Projects/EpicsView.d.ts +1 -1
  243. package/dist/components/Projects/FileView.d.ts +1 -1
  244. package/dist/components/Projects/FileView.js +19 -19
  245. package/dist/components/Projects/FileView.mjs +15 -15
  246. package/dist/components/Projects/KanbanBoardView.d.ts +1 -1
  247. package/dist/components/Projects/KanbanBoardView.js +20 -20
  248. package/dist/components/Projects/KanbanBoardView.mjs +18 -18
  249. package/dist/components/Projects/PlanningView.d.ts +1 -1
  250. package/dist/components/Projects/ProjectPage.d.ts +1 -1
  251. package/dist/components/Projects/ProjectPage.js +19 -19
  252. package/dist/components/Projects/ProjectPage.mjs +20 -20
  253. package/dist/components/Projects/ProjectView.d.ts +1 -1
  254. package/dist/components/Projects/ProjectView.js +20 -20
  255. package/dist/components/Projects/ProjectView.mjs +20 -20
  256. package/dist/components/Projects/ProjectsIndexView.d.ts +1 -1
  257. package/dist/components/Projects/SprintBoardView.d.ts +1 -1
  258. package/dist/components/Projects/SprintBoardView.js +20 -20
  259. package/dist/components/Projects/SprintBoardView.mjs +18 -18
  260. package/dist/components/Projects/TaskCard.d.ts +1 -1
  261. package/dist/components/Projects/TaskDetailsModal.d.ts +1 -1
  262. package/dist/components/Projects/TaskDetailsModal.js +20 -20
  263. package/dist/components/Projects/TaskDetailsModal.mjs +17 -17
  264. package/dist/components/Projects/TaskSidebar.d.ts +1 -1
  265. package/dist/components/Projects/TaskSidebar.js +2 -2
  266. package/dist/components/Projects/TaskSidebar.mjs +2 -2
  267. package/dist/components/Projects/TasksView.d.ts +1 -1
  268. package/dist/components/Projects/file-list.d.ts +1 -1
  269. package/dist/components/Projects/file-list.js +19 -19
  270. package/dist/components/Projects/file-list.mjs +14 -14
  271. package/dist/components/Projects/index.js +20 -20
  272. package/dist/components/Projects/index.mjs +21 -21
  273. package/dist/components/dc-temp/index.js +19 -19
  274. package/dist/components/dc-temp/index.mjs +19 -19
  275. package/dist/components/dc-temp/mock-data.d.ts +1 -1
  276. package/dist/components/index.d.ts +1 -1
  277. package/dist/components/index.js +2279 -1961
  278. package/dist/components/index.mjs +159 -151
  279. package/dist/decorators/Intranet.mjs +97 -95
  280. package/dist/index.js +2505 -2187
  281. package/dist/index.mjs +170 -162
  282. package/dist/metafile-cjs.json +1 -1
  283. package/dist/metafile-esm.json +1 -1
  284. package/dist/pages/Blog.mjs +13 -13
  285. package/dist/pages/Documentation.mjs +2 -2
  286. package/dist/pages/IndexPage.mjs +20 -20
  287. package/dist/pages/Intranet.mjs +1 -1
  288. package/dist/pages/LandingPage.mjs +109 -107
  289. package/dist/pages/Page.mjs +17 -17
  290. package/dist/pages/Publish.mjs +98 -96
  291. package/dist/pages/Website.mjs +21 -21
  292. package/dist/sections/AboutSection.mjs +12 -12
  293. package/dist/sections/BlogDetail.mjs +11 -11
  294. package/dist/sections/BlogList.mjs +12 -12
  295. package/dist/sections/ContactSection.mjs +12 -12
  296. package/dist/sections/PageSections.mjs +107 -105
  297. package/dist/sections/PricingSection.mjs +12 -12
  298. package/dist/sections/ServiceDetail.mjs +11 -11
  299. package/dist/sections/ServiceDetailSection.mjs +11 -11
  300. package/dist/sections/ServiceSection.mjs +98 -96
  301. package/dist/sections/form/index.mjs +2 -2
  302. package/dist/sections/index.mjs +107 -105
  303. package/package.json +1 -1
  304. package/dist/components/Foundary/Views/KnowledgeView.docs.js +0 -2
  305. package/dist/components/Foundary/Views/KnowledgeView.docs.mjs +0 -7
  306. package/dist/{chunk-NKRBXAPF.mjs → chunk-2YHN7ZCJ.mjs} +3 -3
  307. package/dist/{chunk-OT2SSFKS.mjs → chunk-GSG52WU5.mjs} +3 -3
  308. package/dist/{chunk-L666B5DN.mjs → chunk-GZGWWPCP.mjs} +12 -12
  309. /package/dist/components/{Foundary → Foundry}/AppSidebarLeft.css +0 -0
  310. /package/dist/components/{Foundary → Foundry}/AppSidebarLeft.d.ts +0 -0
  311. /package/dist/components/{Foundary → Foundry}/DashboardHeader.css +0 -0
  312. /package/dist/components/{Foundary → Foundry}/DashboardHeader.d.ts +0 -0
  313. /package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.css +0 -0
  314. /package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.d.ts +0 -0
  315. /package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.css +0 -0
  316. /package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.d.ts +0 -0
  317. /package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.css +0 -0
  318. /package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.d.ts +0 -0
  319. /package/dist/components/{Foundary → Foundry}/LandingMenu.css +0 -0
  320. /package/dist/components/{Foundary → Foundry}/LandingMenu.d.ts +0 -0
  321. /package/dist/components/{Foundary → Foundry}/Login.css +0 -0
  322. /package/dist/components/{Foundary → Foundry}/Login.d.ts +0 -0
  323. /package/dist/components/{Foundary → Foundry}/MainPage.css +0 -0
  324. /package/dist/components/{Foundary → Foundry}/MainPage.d.ts +0 -0
  325. /package/dist/components/{Foundary → Foundry}/ManagementSidebar.d.ts +0 -0
  326. /package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.css +0 -0
  327. /package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.d.ts +0 -0
  328. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.d.ts +0 -0
  329. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.d.ts +0 -0
  330. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.d.ts +0 -0
  331. /package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.d.ts +0 -0
  332. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.d.ts +0 -0
  333. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.d.ts +0 -0
  334. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.d.ts +0 -0
  335. /package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.css +0 -0
  336. /package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.d.ts +0 -0
  337. /package/dist/components/{Foundary → Foundry}/RichText/index.css +0 -0
  338. /package/dist/components/{Foundary → Foundry}/RichText/index.d.ts +0 -0
  339. /package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.css +0 -0
  340. /package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.d.ts +0 -0
  341. /package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.css +0 -0
  342. /package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.d.ts +0 -0
  343. /package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.css +0 -0
  344. /package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.d.ts +0 -0
  345. /package/dist/components/{Foundary → Foundry}/SearchableSelect.css +0 -0
  346. /package/dist/components/{Foundary → Foundry}/SearchableSelect.d.ts +0 -0
  347. /package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.css +0 -0
  348. /package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.css +0 -0
  349. /package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.d.ts +0 -0
  350. /package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.css +0 -0
  351. /package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.d.ts +0 -0
  352. /package/dist/components/{Foundary → Foundry}/Views/index.css +0 -0
  353. /package/dist/components/{Foundary → Foundry}/Views/index.d.ts +0 -0
  354. /package/dist/components/{Foundary/colleague-card.css → Foundry/add-colleague-to-team-form.css} +0 -0
  355. /package/dist/components/{Foundary/colleague-form.css → Foundry/colleague-card.css} +0 -0
  356. /package/dist/components/{Foundary → Foundry}/colleague-card.d.ts +0 -0
  357. /package/dist/components/{Foundary/colleague-type-selection.css → Foundry/colleague-form.css} +0 -0
  358. /package/dist/components/{Foundary → Foundry}/colleague-form.d.ts +0 -0
  359. /package/dist/components/{Foundary/document-edit.css → Foundry/colleague-type-selection.css} +0 -0
  360. /package/dist/components/{Foundary → Foundry}/colleague-type-selection.d.ts +0 -0
  361. /package/dist/components/{Foundary/document-preview-examples.css → Foundry/digital-colleague-selection.css} +0 -0
  362. /package/dist/components/{Foundary/document-preview.css → Foundry/document-edit.css} +0 -0
  363. /package/dist/components/{Foundary → Foundry}/document-edit.d.ts +0 -0
  364. /package/dist/components/{Foundary/file-edit.css → Foundry/document-preview-examples.css} +0 -0
  365. /package/dist/components/{Foundary → Foundry}/document-preview-examples.d.ts +0 -0
  366. /package/dist/components/{Foundary/foundary-clone.css → Foundry/document-preview.css} +0 -0
  367. /package/dist/components/{Foundary → Foundry}/document-preview.d.ts +0 -0
  368. /package/dist/components/{Foundary/foundary-layout.css → Foundry/file-edit.css} +0 -0
  369. /package/dist/components/{Foundary → Foundry}/file-edit.d.ts +0 -0
  370. /package/dist/components/{Foundary/foundary-options.css → Foundry/foundary-clone.css} +0 -0
  371. /package/dist/components/{Foundary → Foundry}/foundary-clone.d.ts +0 -0
  372. /package/dist/components/{Foundary/index.css → Foundry/foundary-layout.css} +0 -0
  373. /package/dist/components/{Foundary/knowledge-browser.css → Foundry/foundary-options.css} +0 -0
  374. /package/dist/components/{Foundary/knowledge-search.css → Foundry/index.css} +0 -0
  375. /package/dist/components/{Foundary/team-form.css → Foundry/knowledge-browser.css} +0 -0
  376. /package/dist/components/{Foundary → Foundry}/knowledge-browser.d.ts +0 -0
  377. /package/dist/components/{Foundary → Foundry}/knowledge-search.d.ts +0 -0
  378. /package/dist/components/{Foundary → Foundry}/team-form.d.ts +0 -0
  379. /package/dist/components/{Foundary → Foundry}/test-data.d.ts +0 -0
  380. /package/dist/components/{Foundary → Foundry}/types.d.ts +0 -0
@@ -0,0 +1,2762 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ "use strict";
5
+ "use client";
6
+ var __create = Object.create;
7
+ var __defProp = Object.defineProperty;
8
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
+ var __getOwnPropNames = Object.getOwnPropertyNames;
10
+ var __getProtoOf = Object.getPrototypeOf;
11
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
12
+ var __export = (target, all) => {
13
+ for (var name in all)
14
+ __defProp(target, name, { get: all[name], enumerable: true });
15
+ };
16
+ var __copyProps = (to, from, except, desc) => {
17
+ if (from && typeof from === "object" || typeof from === "function") {
18
+ for (let key of __getOwnPropNames(from))
19
+ if (!__hasOwnProp.call(to, key) && key !== except)
20
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
21
+ }
22
+ return to;
23
+ };
24
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
25
+ // If the importer is in node compatibility mode or this is not an ESM
26
+ // file that has been converted to a CommonJS file using a Babel-
27
+ // compatible transform (i.e. "__esModule" has not been set), then set
28
+ // "default" to the CommonJS "module.exports" for node compatibility.
29
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
30
+ mod
31
+ ));
32
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
33
+
34
+ // src/components/Foundry/add-colleague-to-team-form.tsx
35
+ var add_colleague_to_team_form_exports = {};
36
+ __export(add_colleague_to_team_form_exports, {
37
+ AddColleagueToTeamForm: () => AddColleagueToTeamForm
38
+ });
39
+ module.exports = __toCommonJS(add_colleague_to_team_form_exports);
40
+ var import_lucide_react = require("lucide-react");
41
+
42
+ // src/utils/cn.ts
43
+ var import_clsx = require("clsx");
44
+
45
+ // node_modules/.pnpm/tailwind-merge@2.6.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
46
+ var CLASS_PART_SEPARATOR = "-";
47
+ var createClassGroupUtils = (config) => {
48
+ const classMap = createClassMap(config);
49
+ const {
50
+ conflictingClassGroups,
51
+ conflictingClassGroupModifiers
52
+ } = config;
53
+ const getClassGroupId = (className) => {
54
+ const classParts = className.split(CLASS_PART_SEPARATOR);
55
+ if (classParts[0] === "" && classParts.length !== 1) {
56
+ classParts.shift();
57
+ }
58
+ return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
59
+ };
60
+ const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
61
+ const conflicts = conflictingClassGroups[classGroupId] || [];
62
+ if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
63
+ return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
64
+ }
65
+ return conflicts;
66
+ };
67
+ return {
68
+ getClassGroupId,
69
+ getConflictingClassGroupIds
70
+ };
71
+ };
72
+ var getGroupRecursive = (classParts, classPartObject) => {
73
+ if (classParts.length === 0) {
74
+ return classPartObject.classGroupId;
75
+ }
76
+ const currentClassPart = classParts[0];
77
+ const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
78
+ const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : void 0;
79
+ if (classGroupFromNextClassPart) {
80
+ return classGroupFromNextClassPart;
81
+ }
82
+ if (classPartObject.validators.length === 0) {
83
+ return void 0;
84
+ }
85
+ const classRest = classParts.join(CLASS_PART_SEPARATOR);
86
+ return classPartObject.validators.find(({
87
+ validator
88
+ }) => validator(classRest))?.classGroupId;
89
+ };
90
+ var arbitraryPropertyRegex = /^\[(.+)\]$/;
91
+ var getGroupIdForArbitraryProperty = (className) => {
92
+ if (arbitraryPropertyRegex.test(className)) {
93
+ const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
94
+ const property = arbitraryPropertyClassName?.substring(0, arbitraryPropertyClassName.indexOf(":"));
95
+ if (property) {
96
+ return "arbitrary.." + property;
97
+ }
98
+ }
99
+ };
100
+ var createClassMap = (config) => {
101
+ const {
102
+ theme,
103
+ prefix
104
+ } = config;
105
+ const classMap = {
106
+ nextPart: /* @__PURE__ */ new Map(),
107
+ validators: []
108
+ };
109
+ const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);
110
+ prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {
111
+ processClassesRecursively(classGroup, classMap, classGroupId, theme);
112
+ });
113
+ return classMap;
114
+ };
115
+ var processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
116
+ classGroup.forEach((classDefinition) => {
117
+ if (typeof classDefinition === "string") {
118
+ const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
119
+ classPartObjectToEdit.classGroupId = classGroupId;
120
+ return;
121
+ }
122
+ if (typeof classDefinition === "function") {
123
+ if (isThemeGetter(classDefinition)) {
124
+ processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
125
+ return;
126
+ }
127
+ classPartObject.validators.push({
128
+ validator: classDefinition,
129
+ classGroupId
130
+ });
131
+ return;
132
+ }
133
+ Object.entries(classDefinition).forEach(([key, classGroup2]) => {
134
+ processClassesRecursively(classGroup2, getPart(classPartObject, key), classGroupId, theme);
135
+ });
136
+ });
137
+ };
138
+ var getPart = (classPartObject, path) => {
139
+ let currentClassPartObject = classPartObject;
140
+ path.split(CLASS_PART_SEPARATOR).forEach((pathPart) => {
141
+ if (!currentClassPartObject.nextPart.has(pathPart)) {
142
+ currentClassPartObject.nextPart.set(pathPart, {
143
+ nextPart: /* @__PURE__ */ new Map(),
144
+ validators: []
145
+ });
146
+ }
147
+ currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
148
+ });
149
+ return currentClassPartObject;
150
+ };
151
+ var isThemeGetter = (func) => func.isThemeGetter;
152
+ var getPrefixedClassGroupEntries = (classGroupEntries, prefix) => {
153
+ if (!prefix) {
154
+ return classGroupEntries;
155
+ }
156
+ return classGroupEntries.map(([classGroupId, classGroup]) => {
157
+ const prefixedClassGroup = classGroup.map((classDefinition) => {
158
+ if (typeof classDefinition === "string") {
159
+ return prefix + classDefinition;
160
+ }
161
+ if (typeof classDefinition === "object") {
162
+ return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));
163
+ }
164
+ return classDefinition;
165
+ });
166
+ return [classGroupId, prefixedClassGroup];
167
+ });
168
+ };
169
+ var createLruCache = (maxCacheSize) => {
170
+ if (maxCacheSize < 1) {
171
+ return {
172
+ get: () => void 0,
173
+ set: () => {
174
+ }
175
+ };
176
+ }
177
+ let cacheSize = 0;
178
+ let cache = /* @__PURE__ */ new Map();
179
+ let previousCache = /* @__PURE__ */ new Map();
180
+ const update = (key, value) => {
181
+ cache.set(key, value);
182
+ cacheSize++;
183
+ if (cacheSize > maxCacheSize) {
184
+ cacheSize = 0;
185
+ previousCache = cache;
186
+ cache = /* @__PURE__ */ new Map();
187
+ }
188
+ };
189
+ return {
190
+ get(key) {
191
+ let value = cache.get(key);
192
+ if (value !== void 0) {
193
+ return value;
194
+ }
195
+ if ((value = previousCache.get(key)) !== void 0) {
196
+ update(key, value);
197
+ return value;
198
+ }
199
+ },
200
+ set(key, value) {
201
+ if (cache.has(key)) {
202
+ cache.set(key, value);
203
+ } else {
204
+ update(key, value);
205
+ }
206
+ }
207
+ };
208
+ };
209
+ var IMPORTANT_MODIFIER = "!";
210
+ var createParseClassName = (config) => {
211
+ const {
212
+ separator,
213
+ experimentalParseClassName
214
+ } = config;
215
+ const isSeparatorSingleCharacter = separator.length === 1;
216
+ const firstSeparatorCharacter = separator[0];
217
+ const separatorLength = separator.length;
218
+ const parseClassName = (className) => {
219
+ const modifiers = [];
220
+ let bracketDepth = 0;
221
+ let modifierStart = 0;
222
+ let postfixModifierPosition;
223
+ for (let index = 0; index < className.length; index++) {
224
+ let currentCharacter = className[index];
225
+ if (bracketDepth === 0) {
226
+ if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {
227
+ modifiers.push(className.slice(modifierStart, index));
228
+ modifierStart = index + separatorLength;
229
+ continue;
230
+ }
231
+ if (currentCharacter === "/") {
232
+ postfixModifierPosition = index;
233
+ continue;
234
+ }
235
+ }
236
+ if (currentCharacter === "[") {
237
+ bracketDepth++;
238
+ } else if (currentCharacter === "]") {
239
+ bracketDepth--;
240
+ }
241
+ }
242
+ const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);
243
+ const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);
244
+ const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;
245
+ const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
246
+ return {
247
+ modifiers,
248
+ hasImportantModifier,
249
+ baseClassName,
250
+ maybePostfixModifierPosition
251
+ };
252
+ };
253
+ if (experimentalParseClassName) {
254
+ return (className) => experimentalParseClassName({
255
+ className,
256
+ parseClassName
257
+ });
258
+ }
259
+ return parseClassName;
260
+ };
261
+ var sortModifiers = (modifiers) => {
262
+ if (modifiers.length <= 1) {
263
+ return modifiers;
264
+ }
265
+ const sortedModifiers = [];
266
+ let unsortedModifiers = [];
267
+ modifiers.forEach((modifier) => {
268
+ const isArbitraryVariant = modifier[0] === "[";
269
+ if (isArbitraryVariant) {
270
+ sortedModifiers.push(...unsortedModifiers.sort(), modifier);
271
+ unsortedModifiers = [];
272
+ } else {
273
+ unsortedModifiers.push(modifier);
274
+ }
275
+ });
276
+ sortedModifiers.push(...unsortedModifiers.sort());
277
+ return sortedModifiers;
278
+ };
279
+ var createConfigUtils = (config) => ({
280
+ cache: createLruCache(config.cacheSize),
281
+ parseClassName: createParseClassName(config),
282
+ ...createClassGroupUtils(config)
283
+ });
284
+ var SPLIT_CLASSES_REGEX = /\s+/;
285
+ var mergeClassList = (classList, configUtils) => {
286
+ const {
287
+ parseClassName,
288
+ getClassGroupId,
289
+ getConflictingClassGroupIds
290
+ } = configUtils;
291
+ const classGroupsInConflict = [];
292
+ const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
293
+ let result = "";
294
+ for (let index = classNames.length - 1; index >= 0; index -= 1) {
295
+ const originalClassName = classNames[index];
296
+ const {
297
+ modifiers,
298
+ hasImportantModifier,
299
+ baseClassName,
300
+ maybePostfixModifierPosition
301
+ } = parseClassName(originalClassName);
302
+ let hasPostfixModifier = Boolean(maybePostfixModifierPosition);
303
+ let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
304
+ if (!classGroupId) {
305
+ if (!hasPostfixModifier) {
306
+ result = originalClassName + (result.length > 0 ? " " + result : result);
307
+ continue;
308
+ }
309
+ classGroupId = getClassGroupId(baseClassName);
310
+ if (!classGroupId) {
311
+ result = originalClassName + (result.length > 0 ? " " + result : result);
312
+ continue;
313
+ }
314
+ hasPostfixModifier = false;
315
+ }
316
+ const variantModifier = sortModifiers(modifiers).join(":");
317
+ const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
318
+ const classId = modifierId + classGroupId;
319
+ if (classGroupsInConflict.includes(classId)) {
320
+ continue;
321
+ }
322
+ classGroupsInConflict.push(classId);
323
+ const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
324
+ for (let i = 0; i < conflictGroups.length; ++i) {
325
+ const group = conflictGroups[i];
326
+ classGroupsInConflict.push(modifierId + group);
327
+ }
328
+ result = originalClassName + (result.length > 0 ? " " + result : result);
329
+ }
330
+ return result;
331
+ };
332
+ function twJoin() {
333
+ let index = 0;
334
+ let argument;
335
+ let resolvedValue;
336
+ let string = "";
337
+ while (index < arguments.length) {
338
+ if (argument = arguments[index++]) {
339
+ if (resolvedValue = toValue(argument)) {
340
+ string && (string += " ");
341
+ string += resolvedValue;
342
+ }
343
+ }
344
+ }
345
+ return string;
346
+ }
347
+ var toValue = (mix) => {
348
+ if (typeof mix === "string") {
349
+ return mix;
350
+ }
351
+ let resolvedValue;
352
+ let string = "";
353
+ for (let k = 0; k < mix.length; k++) {
354
+ if (mix[k]) {
355
+ if (resolvedValue = toValue(mix[k])) {
356
+ string && (string += " ");
357
+ string += resolvedValue;
358
+ }
359
+ }
360
+ }
361
+ return string;
362
+ };
363
+ function createTailwindMerge(createConfigFirst, ...createConfigRest) {
364
+ let configUtils;
365
+ let cacheGet;
366
+ let cacheSet;
367
+ let functionToCall = initTailwindMerge;
368
+ function initTailwindMerge(classList) {
369
+ const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
370
+ configUtils = createConfigUtils(config);
371
+ cacheGet = configUtils.cache.get;
372
+ cacheSet = configUtils.cache.set;
373
+ functionToCall = tailwindMerge;
374
+ return tailwindMerge(classList);
375
+ }
376
+ function tailwindMerge(classList) {
377
+ const cachedResult = cacheGet(classList);
378
+ if (cachedResult) {
379
+ return cachedResult;
380
+ }
381
+ const result = mergeClassList(classList, configUtils);
382
+ cacheSet(classList, result);
383
+ return result;
384
+ }
385
+ return function callTailwindMerge() {
386
+ return functionToCall(twJoin.apply(null, arguments));
387
+ };
388
+ }
389
+ var fromTheme = (key) => {
390
+ const themeGetter = (theme) => theme[key] || [];
391
+ themeGetter.isThemeGetter = true;
392
+ return themeGetter;
393
+ };
394
+ var arbitraryValueRegex = /^\[(?:([a-z-]+):)?(.+)\]$/i;
395
+ var fractionRegex = /^\d+\/\d+$/;
396
+ var stringLengths = /* @__PURE__ */ new Set(["px", "full", "screen"]);
397
+ var tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
398
+ var 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$/;
399
+ var colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
400
+ var shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
401
+ var imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
402
+ var isLength = (value) => isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
403
+ var isArbitraryLength = (value) => getIsArbitraryValue(value, "length", isLengthOnly);
404
+ var isNumber = (value) => Boolean(value) && !Number.isNaN(Number(value));
405
+ var isArbitraryNumber = (value) => getIsArbitraryValue(value, "number", isNumber);
406
+ var isInteger = (value) => Boolean(value) && Number.isInteger(Number(value));
407
+ var isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
408
+ var isArbitraryValue = (value) => arbitraryValueRegex.test(value);
409
+ var isTshirtSize = (value) => tshirtUnitRegex.test(value);
410
+ var sizeLabels = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
411
+ var isArbitrarySize = (value) => getIsArbitraryValue(value, sizeLabels, isNever);
412
+ var isArbitraryPosition = (value) => getIsArbitraryValue(value, "position", isNever);
413
+ var imageLabels = /* @__PURE__ */ new Set(["image", "url"]);
414
+ var isArbitraryImage = (value) => getIsArbitraryValue(value, imageLabels, isImage);
415
+ var isArbitraryShadow = (value) => getIsArbitraryValue(value, "", isShadow);
416
+ var isAny = () => true;
417
+ var getIsArbitraryValue = (value, label, testValue) => {
418
+ const result = arbitraryValueRegex.exec(value);
419
+ if (result) {
420
+ if (result[1]) {
421
+ return typeof label === "string" ? result[1] === label : label.has(result[1]);
422
+ }
423
+ return testValue(result[2]);
424
+ }
425
+ return false;
426
+ };
427
+ var isLengthOnly = (value) => (
428
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
429
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
430
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
431
+ lengthUnitRegex.test(value) && !colorFunctionRegex.test(value)
432
+ );
433
+ var isNever = () => false;
434
+ var isShadow = (value) => shadowRegex.test(value);
435
+ var isImage = (value) => imageRegex.test(value);
436
+ var getDefaultConfig = () => {
437
+ const colors = fromTheme("colors");
438
+ const spacing = fromTheme("spacing");
439
+ const blur = fromTheme("blur");
440
+ const brightness = fromTheme("brightness");
441
+ const borderColor = fromTheme("borderColor");
442
+ const borderRadius = fromTheme("borderRadius");
443
+ const borderSpacing = fromTheme("borderSpacing");
444
+ const borderWidth = fromTheme("borderWidth");
445
+ const contrast = fromTheme("contrast");
446
+ const grayscale = fromTheme("grayscale");
447
+ const hueRotate = fromTheme("hueRotate");
448
+ const invert = fromTheme("invert");
449
+ const gap = fromTheme("gap");
450
+ const gradientColorStops = fromTheme("gradientColorStops");
451
+ const gradientColorStopPositions = fromTheme("gradientColorStopPositions");
452
+ const inset = fromTheme("inset");
453
+ const margin = fromTheme("margin");
454
+ const opacity = fromTheme("opacity");
455
+ const padding = fromTheme("padding");
456
+ const saturate = fromTheme("saturate");
457
+ const scale = fromTheme("scale");
458
+ const sepia = fromTheme("sepia");
459
+ const skew = fromTheme("skew");
460
+ const space = fromTheme("space");
461
+ const translate = fromTheme("translate");
462
+ const getOverscroll = () => ["auto", "contain", "none"];
463
+ const getOverflow = () => ["auto", "hidden", "clip", "visible", "scroll"];
464
+ const getSpacingWithAutoAndArbitrary = () => ["auto", isArbitraryValue, spacing];
465
+ const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];
466
+ const getLengthWithEmptyAndArbitrary = () => ["", isLength, isArbitraryLength];
467
+ const getNumberWithAutoAndArbitrary = () => ["auto", isNumber, isArbitraryValue];
468
+ const getPositions = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
469
+ const getLineStyles = () => ["solid", "dashed", "dotted", "double", "none"];
470
+ const getBlendModes = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];
471
+ const getAlign = () => ["start", "end", "center", "between", "around", "evenly", "stretch"];
472
+ const getZeroAndEmpty = () => ["", "0", isArbitraryValue];
473
+ const getBreaks = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
474
+ const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];
475
+ return {
476
+ cacheSize: 500,
477
+ separator: ":",
478
+ theme: {
479
+ colors: [isAny],
480
+ spacing: [isLength, isArbitraryLength],
481
+ blur: ["none", "", isTshirtSize, isArbitraryValue],
482
+ brightness: getNumberAndArbitrary(),
483
+ borderColor: [colors],
484
+ borderRadius: ["none", "", "full", isTshirtSize, isArbitraryValue],
485
+ borderSpacing: getSpacingWithArbitrary(),
486
+ borderWidth: getLengthWithEmptyAndArbitrary(),
487
+ contrast: getNumberAndArbitrary(),
488
+ grayscale: getZeroAndEmpty(),
489
+ hueRotate: getNumberAndArbitrary(),
490
+ invert: getZeroAndEmpty(),
491
+ gap: getSpacingWithArbitrary(),
492
+ gradientColorStops: [colors],
493
+ gradientColorStopPositions: [isPercent, isArbitraryLength],
494
+ inset: getSpacingWithAutoAndArbitrary(),
495
+ margin: getSpacingWithAutoAndArbitrary(),
496
+ opacity: getNumberAndArbitrary(),
497
+ padding: getSpacingWithArbitrary(),
498
+ saturate: getNumberAndArbitrary(),
499
+ scale: getNumberAndArbitrary(),
500
+ sepia: getZeroAndEmpty(),
501
+ skew: getNumberAndArbitrary(),
502
+ space: getSpacingWithArbitrary(),
503
+ translate: getSpacingWithArbitrary()
504
+ },
505
+ classGroups: {
506
+ // Layout
507
+ /**
508
+ * Aspect Ratio
509
+ * @see https://tailwindcss.com/docs/aspect-ratio
510
+ */
511
+ aspect: [{
512
+ aspect: ["auto", "square", "video", isArbitraryValue]
513
+ }],
514
+ /**
515
+ * Container
516
+ * @see https://tailwindcss.com/docs/container
517
+ */
518
+ container: ["container"],
519
+ /**
520
+ * Columns
521
+ * @see https://tailwindcss.com/docs/columns
522
+ */
523
+ columns: [{
524
+ columns: [isTshirtSize]
525
+ }],
526
+ /**
527
+ * Break After
528
+ * @see https://tailwindcss.com/docs/break-after
529
+ */
530
+ "break-after": [{
531
+ "break-after": getBreaks()
532
+ }],
533
+ /**
534
+ * Break Before
535
+ * @see https://tailwindcss.com/docs/break-before
536
+ */
537
+ "break-before": [{
538
+ "break-before": getBreaks()
539
+ }],
540
+ /**
541
+ * Break Inside
542
+ * @see https://tailwindcss.com/docs/break-inside
543
+ */
544
+ "break-inside": [{
545
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
546
+ }],
547
+ /**
548
+ * Box Decoration Break
549
+ * @see https://tailwindcss.com/docs/box-decoration-break
550
+ */
551
+ "box-decoration": [{
552
+ "box-decoration": ["slice", "clone"]
553
+ }],
554
+ /**
555
+ * Box Sizing
556
+ * @see https://tailwindcss.com/docs/box-sizing
557
+ */
558
+ box: [{
559
+ box: ["border", "content"]
560
+ }],
561
+ /**
562
+ * Display
563
+ * @see https://tailwindcss.com/docs/display
564
+ */
565
+ 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"],
566
+ /**
567
+ * Floats
568
+ * @see https://tailwindcss.com/docs/float
569
+ */
570
+ float: [{
571
+ float: ["right", "left", "none", "start", "end"]
572
+ }],
573
+ /**
574
+ * Clear
575
+ * @see https://tailwindcss.com/docs/clear
576
+ */
577
+ clear: [{
578
+ clear: ["left", "right", "both", "none", "start", "end"]
579
+ }],
580
+ /**
581
+ * Isolation
582
+ * @see https://tailwindcss.com/docs/isolation
583
+ */
584
+ isolation: ["isolate", "isolation-auto"],
585
+ /**
586
+ * Object Fit
587
+ * @see https://tailwindcss.com/docs/object-fit
588
+ */
589
+ "object-fit": [{
590
+ object: ["contain", "cover", "fill", "none", "scale-down"]
591
+ }],
592
+ /**
593
+ * Object Position
594
+ * @see https://tailwindcss.com/docs/object-position
595
+ */
596
+ "object-position": [{
597
+ object: [...getPositions(), isArbitraryValue]
598
+ }],
599
+ /**
600
+ * Overflow
601
+ * @see https://tailwindcss.com/docs/overflow
602
+ */
603
+ overflow: [{
604
+ overflow: getOverflow()
605
+ }],
606
+ /**
607
+ * Overflow X
608
+ * @see https://tailwindcss.com/docs/overflow
609
+ */
610
+ "overflow-x": [{
611
+ "overflow-x": getOverflow()
612
+ }],
613
+ /**
614
+ * Overflow Y
615
+ * @see https://tailwindcss.com/docs/overflow
616
+ */
617
+ "overflow-y": [{
618
+ "overflow-y": getOverflow()
619
+ }],
620
+ /**
621
+ * Overscroll Behavior
622
+ * @see https://tailwindcss.com/docs/overscroll-behavior
623
+ */
624
+ overscroll: [{
625
+ overscroll: getOverscroll()
626
+ }],
627
+ /**
628
+ * Overscroll Behavior X
629
+ * @see https://tailwindcss.com/docs/overscroll-behavior
630
+ */
631
+ "overscroll-x": [{
632
+ "overscroll-x": getOverscroll()
633
+ }],
634
+ /**
635
+ * Overscroll Behavior Y
636
+ * @see https://tailwindcss.com/docs/overscroll-behavior
637
+ */
638
+ "overscroll-y": [{
639
+ "overscroll-y": getOverscroll()
640
+ }],
641
+ /**
642
+ * Position
643
+ * @see https://tailwindcss.com/docs/position
644
+ */
645
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
646
+ /**
647
+ * Top / Right / Bottom / Left
648
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
649
+ */
650
+ inset: [{
651
+ inset: [inset]
652
+ }],
653
+ /**
654
+ * Right / Left
655
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
656
+ */
657
+ "inset-x": [{
658
+ "inset-x": [inset]
659
+ }],
660
+ /**
661
+ * Top / Bottom
662
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
663
+ */
664
+ "inset-y": [{
665
+ "inset-y": [inset]
666
+ }],
667
+ /**
668
+ * Start
669
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
670
+ */
671
+ start: [{
672
+ start: [inset]
673
+ }],
674
+ /**
675
+ * End
676
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
677
+ */
678
+ end: [{
679
+ end: [inset]
680
+ }],
681
+ /**
682
+ * Top
683
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
684
+ */
685
+ top: [{
686
+ top: [inset]
687
+ }],
688
+ /**
689
+ * Right
690
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
691
+ */
692
+ right: [{
693
+ right: [inset]
694
+ }],
695
+ /**
696
+ * Bottom
697
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
698
+ */
699
+ bottom: [{
700
+ bottom: [inset]
701
+ }],
702
+ /**
703
+ * Left
704
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
705
+ */
706
+ left: [{
707
+ left: [inset]
708
+ }],
709
+ /**
710
+ * Visibility
711
+ * @see https://tailwindcss.com/docs/visibility
712
+ */
713
+ visibility: ["visible", "invisible", "collapse"],
714
+ /**
715
+ * Z-Index
716
+ * @see https://tailwindcss.com/docs/z-index
717
+ */
718
+ z: [{
719
+ z: ["auto", isInteger, isArbitraryValue]
720
+ }],
721
+ // Flexbox and Grid
722
+ /**
723
+ * Flex Basis
724
+ * @see https://tailwindcss.com/docs/flex-basis
725
+ */
726
+ basis: [{
727
+ basis: getSpacingWithAutoAndArbitrary()
728
+ }],
729
+ /**
730
+ * Flex Direction
731
+ * @see https://tailwindcss.com/docs/flex-direction
732
+ */
733
+ "flex-direction": [{
734
+ flex: ["row", "row-reverse", "col", "col-reverse"]
735
+ }],
736
+ /**
737
+ * Flex Wrap
738
+ * @see https://tailwindcss.com/docs/flex-wrap
739
+ */
740
+ "flex-wrap": [{
741
+ flex: ["wrap", "wrap-reverse", "nowrap"]
742
+ }],
743
+ /**
744
+ * Flex
745
+ * @see https://tailwindcss.com/docs/flex
746
+ */
747
+ flex: [{
748
+ flex: ["1", "auto", "initial", "none", isArbitraryValue]
749
+ }],
750
+ /**
751
+ * Flex Grow
752
+ * @see https://tailwindcss.com/docs/flex-grow
753
+ */
754
+ grow: [{
755
+ grow: getZeroAndEmpty()
756
+ }],
757
+ /**
758
+ * Flex Shrink
759
+ * @see https://tailwindcss.com/docs/flex-shrink
760
+ */
761
+ shrink: [{
762
+ shrink: getZeroAndEmpty()
763
+ }],
764
+ /**
765
+ * Order
766
+ * @see https://tailwindcss.com/docs/order
767
+ */
768
+ order: [{
769
+ order: ["first", "last", "none", isInteger, isArbitraryValue]
770
+ }],
771
+ /**
772
+ * Grid Template Columns
773
+ * @see https://tailwindcss.com/docs/grid-template-columns
774
+ */
775
+ "grid-cols": [{
776
+ "grid-cols": [isAny]
777
+ }],
778
+ /**
779
+ * Grid Column Start / End
780
+ * @see https://tailwindcss.com/docs/grid-column
781
+ */
782
+ "col-start-end": [{
783
+ col: ["auto", {
784
+ span: ["full", isInteger, isArbitraryValue]
785
+ }, isArbitraryValue]
786
+ }],
787
+ /**
788
+ * Grid Column Start
789
+ * @see https://tailwindcss.com/docs/grid-column
790
+ */
791
+ "col-start": [{
792
+ "col-start": getNumberWithAutoAndArbitrary()
793
+ }],
794
+ /**
795
+ * Grid Column End
796
+ * @see https://tailwindcss.com/docs/grid-column
797
+ */
798
+ "col-end": [{
799
+ "col-end": getNumberWithAutoAndArbitrary()
800
+ }],
801
+ /**
802
+ * Grid Template Rows
803
+ * @see https://tailwindcss.com/docs/grid-template-rows
804
+ */
805
+ "grid-rows": [{
806
+ "grid-rows": [isAny]
807
+ }],
808
+ /**
809
+ * Grid Row Start / End
810
+ * @see https://tailwindcss.com/docs/grid-row
811
+ */
812
+ "row-start-end": [{
813
+ row: ["auto", {
814
+ span: [isInteger, isArbitraryValue]
815
+ }, isArbitraryValue]
816
+ }],
817
+ /**
818
+ * Grid Row Start
819
+ * @see https://tailwindcss.com/docs/grid-row
820
+ */
821
+ "row-start": [{
822
+ "row-start": getNumberWithAutoAndArbitrary()
823
+ }],
824
+ /**
825
+ * Grid Row End
826
+ * @see https://tailwindcss.com/docs/grid-row
827
+ */
828
+ "row-end": [{
829
+ "row-end": getNumberWithAutoAndArbitrary()
830
+ }],
831
+ /**
832
+ * Grid Auto Flow
833
+ * @see https://tailwindcss.com/docs/grid-auto-flow
834
+ */
835
+ "grid-flow": [{
836
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
837
+ }],
838
+ /**
839
+ * Grid Auto Columns
840
+ * @see https://tailwindcss.com/docs/grid-auto-columns
841
+ */
842
+ "auto-cols": [{
843
+ "auto-cols": ["auto", "min", "max", "fr", isArbitraryValue]
844
+ }],
845
+ /**
846
+ * Grid Auto Rows
847
+ * @see https://tailwindcss.com/docs/grid-auto-rows
848
+ */
849
+ "auto-rows": [{
850
+ "auto-rows": ["auto", "min", "max", "fr", isArbitraryValue]
851
+ }],
852
+ /**
853
+ * Gap
854
+ * @see https://tailwindcss.com/docs/gap
855
+ */
856
+ gap: [{
857
+ gap: [gap]
858
+ }],
859
+ /**
860
+ * Gap X
861
+ * @see https://tailwindcss.com/docs/gap
862
+ */
863
+ "gap-x": [{
864
+ "gap-x": [gap]
865
+ }],
866
+ /**
867
+ * Gap Y
868
+ * @see https://tailwindcss.com/docs/gap
869
+ */
870
+ "gap-y": [{
871
+ "gap-y": [gap]
872
+ }],
873
+ /**
874
+ * Justify Content
875
+ * @see https://tailwindcss.com/docs/justify-content
876
+ */
877
+ "justify-content": [{
878
+ justify: ["normal", ...getAlign()]
879
+ }],
880
+ /**
881
+ * Justify Items
882
+ * @see https://tailwindcss.com/docs/justify-items
883
+ */
884
+ "justify-items": [{
885
+ "justify-items": ["start", "end", "center", "stretch"]
886
+ }],
887
+ /**
888
+ * Justify Self
889
+ * @see https://tailwindcss.com/docs/justify-self
890
+ */
891
+ "justify-self": [{
892
+ "justify-self": ["auto", "start", "end", "center", "stretch"]
893
+ }],
894
+ /**
895
+ * Align Content
896
+ * @see https://tailwindcss.com/docs/align-content
897
+ */
898
+ "align-content": [{
899
+ content: ["normal", ...getAlign(), "baseline"]
900
+ }],
901
+ /**
902
+ * Align Items
903
+ * @see https://tailwindcss.com/docs/align-items
904
+ */
905
+ "align-items": [{
906
+ items: ["start", "end", "center", "baseline", "stretch"]
907
+ }],
908
+ /**
909
+ * Align Self
910
+ * @see https://tailwindcss.com/docs/align-self
911
+ */
912
+ "align-self": [{
913
+ self: ["auto", "start", "end", "center", "stretch", "baseline"]
914
+ }],
915
+ /**
916
+ * Place Content
917
+ * @see https://tailwindcss.com/docs/place-content
918
+ */
919
+ "place-content": [{
920
+ "place-content": [...getAlign(), "baseline"]
921
+ }],
922
+ /**
923
+ * Place Items
924
+ * @see https://tailwindcss.com/docs/place-items
925
+ */
926
+ "place-items": [{
927
+ "place-items": ["start", "end", "center", "baseline", "stretch"]
928
+ }],
929
+ /**
930
+ * Place Self
931
+ * @see https://tailwindcss.com/docs/place-self
932
+ */
933
+ "place-self": [{
934
+ "place-self": ["auto", "start", "end", "center", "stretch"]
935
+ }],
936
+ // Spacing
937
+ /**
938
+ * Padding
939
+ * @see https://tailwindcss.com/docs/padding
940
+ */
941
+ p: [{
942
+ p: [padding]
943
+ }],
944
+ /**
945
+ * Padding X
946
+ * @see https://tailwindcss.com/docs/padding
947
+ */
948
+ px: [{
949
+ px: [padding]
950
+ }],
951
+ /**
952
+ * Padding Y
953
+ * @see https://tailwindcss.com/docs/padding
954
+ */
955
+ py: [{
956
+ py: [padding]
957
+ }],
958
+ /**
959
+ * Padding Start
960
+ * @see https://tailwindcss.com/docs/padding
961
+ */
962
+ ps: [{
963
+ ps: [padding]
964
+ }],
965
+ /**
966
+ * Padding End
967
+ * @see https://tailwindcss.com/docs/padding
968
+ */
969
+ pe: [{
970
+ pe: [padding]
971
+ }],
972
+ /**
973
+ * Padding Top
974
+ * @see https://tailwindcss.com/docs/padding
975
+ */
976
+ pt: [{
977
+ pt: [padding]
978
+ }],
979
+ /**
980
+ * Padding Right
981
+ * @see https://tailwindcss.com/docs/padding
982
+ */
983
+ pr: [{
984
+ pr: [padding]
985
+ }],
986
+ /**
987
+ * Padding Bottom
988
+ * @see https://tailwindcss.com/docs/padding
989
+ */
990
+ pb: [{
991
+ pb: [padding]
992
+ }],
993
+ /**
994
+ * Padding Left
995
+ * @see https://tailwindcss.com/docs/padding
996
+ */
997
+ pl: [{
998
+ pl: [padding]
999
+ }],
1000
+ /**
1001
+ * Margin
1002
+ * @see https://tailwindcss.com/docs/margin
1003
+ */
1004
+ m: [{
1005
+ m: [margin]
1006
+ }],
1007
+ /**
1008
+ * Margin X
1009
+ * @see https://tailwindcss.com/docs/margin
1010
+ */
1011
+ mx: [{
1012
+ mx: [margin]
1013
+ }],
1014
+ /**
1015
+ * Margin Y
1016
+ * @see https://tailwindcss.com/docs/margin
1017
+ */
1018
+ my: [{
1019
+ my: [margin]
1020
+ }],
1021
+ /**
1022
+ * Margin Start
1023
+ * @see https://tailwindcss.com/docs/margin
1024
+ */
1025
+ ms: [{
1026
+ ms: [margin]
1027
+ }],
1028
+ /**
1029
+ * Margin End
1030
+ * @see https://tailwindcss.com/docs/margin
1031
+ */
1032
+ me: [{
1033
+ me: [margin]
1034
+ }],
1035
+ /**
1036
+ * Margin Top
1037
+ * @see https://tailwindcss.com/docs/margin
1038
+ */
1039
+ mt: [{
1040
+ mt: [margin]
1041
+ }],
1042
+ /**
1043
+ * Margin Right
1044
+ * @see https://tailwindcss.com/docs/margin
1045
+ */
1046
+ mr: [{
1047
+ mr: [margin]
1048
+ }],
1049
+ /**
1050
+ * Margin Bottom
1051
+ * @see https://tailwindcss.com/docs/margin
1052
+ */
1053
+ mb: [{
1054
+ mb: [margin]
1055
+ }],
1056
+ /**
1057
+ * Margin Left
1058
+ * @see https://tailwindcss.com/docs/margin
1059
+ */
1060
+ ml: [{
1061
+ ml: [margin]
1062
+ }],
1063
+ /**
1064
+ * Space Between X
1065
+ * @see https://tailwindcss.com/docs/space
1066
+ */
1067
+ "space-x": [{
1068
+ "space-x": [space]
1069
+ }],
1070
+ /**
1071
+ * Space Between X Reverse
1072
+ * @see https://tailwindcss.com/docs/space
1073
+ */
1074
+ "space-x-reverse": ["space-x-reverse"],
1075
+ /**
1076
+ * Space Between Y
1077
+ * @see https://tailwindcss.com/docs/space
1078
+ */
1079
+ "space-y": [{
1080
+ "space-y": [space]
1081
+ }],
1082
+ /**
1083
+ * Space Between Y Reverse
1084
+ * @see https://tailwindcss.com/docs/space
1085
+ */
1086
+ "space-y-reverse": ["space-y-reverse"],
1087
+ // Sizing
1088
+ /**
1089
+ * Width
1090
+ * @see https://tailwindcss.com/docs/width
1091
+ */
1092
+ w: [{
1093
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", isArbitraryValue, spacing]
1094
+ }],
1095
+ /**
1096
+ * Min-Width
1097
+ * @see https://tailwindcss.com/docs/min-width
1098
+ */
1099
+ "min-w": [{
1100
+ "min-w": [isArbitraryValue, spacing, "min", "max", "fit"]
1101
+ }],
1102
+ /**
1103
+ * Max-Width
1104
+ * @see https://tailwindcss.com/docs/max-width
1105
+ */
1106
+ "max-w": [{
1107
+ "max-w": [isArbitraryValue, spacing, "none", "full", "min", "max", "fit", "prose", {
1108
+ screen: [isTshirtSize]
1109
+ }, isTshirtSize]
1110
+ }],
1111
+ /**
1112
+ * Height
1113
+ * @see https://tailwindcss.com/docs/height
1114
+ */
1115
+ h: [{
1116
+ h: [isArbitraryValue, spacing, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1117
+ }],
1118
+ /**
1119
+ * Min-Height
1120
+ * @see https://tailwindcss.com/docs/min-height
1121
+ */
1122
+ "min-h": [{
1123
+ "min-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
1124
+ }],
1125
+ /**
1126
+ * Max-Height
1127
+ * @see https://tailwindcss.com/docs/max-height
1128
+ */
1129
+ "max-h": [{
1130
+ "max-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
1131
+ }],
1132
+ /**
1133
+ * Size
1134
+ * @see https://tailwindcss.com/docs/size
1135
+ */
1136
+ size: [{
1137
+ size: [isArbitraryValue, spacing, "auto", "min", "max", "fit"]
1138
+ }],
1139
+ // Typography
1140
+ /**
1141
+ * Font Size
1142
+ * @see https://tailwindcss.com/docs/font-size
1143
+ */
1144
+ "font-size": [{
1145
+ text: ["base", isTshirtSize, isArbitraryLength]
1146
+ }],
1147
+ /**
1148
+ * Font Smoothing
1149
+ * @see https://tailwindcss.com/docs/font-smoothing
1150
+ */
1151
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1152
+ /**
1153
+ * Font Style
1154
+ * @see https://tailwindcss.com/docs/font-style
1155
+ */
1156
+ "font-style": ["italic", "not-italic"],
1157
+ /**
1158
+ * Font Weight
1159
+ * @see https://tailwindcss.com/docs/font-weight
1160
+ */
1161
+ "font-weight": [{
1162
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", isArbitraryNumber]
1163
+ }],
1164
+ /**
1165
+ * Font Family
1166
+ * @see https://tailwindcss.com/docs/font-family
1167
+ */
1168
+ "font-family": [{
1169
+ font: [isAny]
1170
+ }],
1171
+ /**
1172
+ * Font Variant Numeric
1173
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1174
+ */
1175
+ "fvn-normal": ["normal-nums"],
1176
+ /**
1177
+ * Font Variant Numeric
1178
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1179
+ */
1180
+ "fvn-ordinal": ["ordinal"],
1181
+ /**
1182
+ * Font Variant Numeric
1183
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1184
+ */
1185
+ "fvn-slashed-zero": ["slashed-zero"],
1186
+ /**
1187
+ * Font Variant Numeric
1188
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1189
+ */
1190
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1191
+ /**
1192
+ * Font Variant Numeric
1193
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1194
+ */
1195
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1196
+ /**
1197
+ * Font Variant Numeric
1198
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1199
+ */
1200
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1201
+ /**
1202
+ * Letter Spacing
1203
+ * @see https://tailwindcss.com/docs/letter-spacing
1204
+ */
1205
+ tracking: [{
1206
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", isArbitraryValue]
1207
+ }],
1208
+ /**
1209
+ * Line Clamp
1210
+ * @see https://tailwindcss.com/docs/line-clamp
1211
+ */
1212
+ "line-clamp": [{
1213
+ "line-clamp": ["none", isNumber, isArbitraryNumber]
1214
+ }],
1215
+ /**
1216
+ * Line Height
1217
+ * @see https://tailwindcss.com/docs/line-height
1218
+ */
1219
+ leading: [{
1220
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", isLength, isArbitraryValue]
1221
+ }],
1222
+ /**
1223
+ * List Style Image
1224
+ * @see https://tailwindcss.com/docs/list-style-image
1225
+ */
1226
+ "list-image": [{
1227
+ "list-image": ["none", isArbitraryValue]
1228
+ }],
1229
+ /**
1230
+ * List Style Type
1231
+ * @see https://tailwindcss.com/docs/list-style-type
1232
+ */
1233
+ "list-style-type": [{
1234
+ list: ["none", "disc", "decimal", isArbitraryValue]
1235
+ }],
1236
+ /**
1237
+ * List Style Position
1238
+ * @see https://tailwindcss.com/docs/list-style-position
1239
+ */
1240
+ "list-style-position": [{
1241
+ list: ["inside", "outside"]
1242
+ }],
1243
+ /**
1244
+ * Placeholder Color
1245
+ * @deprecated since Tailwind CSS v3.0.0
1246
+ * @see https://tailwindcss.com/docs/placeholder-color
1247
+ */
1248
+ "placeholder-color": [{
1249
+ placeholder: [colors]
1250
+ }],
1251
+ /**
1252
+ * Placeholder Opacity
1253
+ * @see https://tailwindcss.com/docs/placeholder-opacity
1254
+ */
1255
+ "placeholder-opacity": [{
1256
+ "placeholder-opacity": [opacity]
1257
+ }],
1258
+ /**
1259
+ * Text Alignment
1260
+ * @see https://tailwindcss.com/docs/text-align
1261
+ */
1262
+ "text-alignment": [{
1263
+ text: ["left", "center", "right", "justify", "start", "end"]
1264
+ }],
1265
+ /**
1266
+ * Text Color
1267
+ * @see https://tailwindcss.com/docs/text-color
1268
+ */
1269
+ "text-color": [{
1270
+ text: [colors]
1271
+ }],
1272
+ /**
1273
+ * Text Opacity
1274
+ * @see https://tailwindcss.com/docs/text-opacity
1275
+ */
1276
+ "text-opacity": [{
1277
+ "text-opacity": [opacity]
1278
+ }],
1279
+ /**
1280
+ * Text Decoration
1281
+ * @see https://tailwindcss.com/docs/text-decoration
1282
+ */
1283
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1284
+ /**
1285
+ * Text Decoration Style
1286
+ * @see https://tailwindcss.com/docs/text-decoration-style
1287
+ */
1288
+ "text-decoration-style": [{
1289
+ decoration: [...getLineStyles(), "wavy"]
1290
+ }],
1291
+ /**
1292
+ * Text Decoration Thickness
1293
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1294
+ */
1295
+ "text-decoration-thickness": [{
1296
+ decoration: ["auto", "from-font", isLength, isArbitraryLength]
1297
+ }],
1298
+ /**
1299
+ * Text Underline Offset
1300
+ * @see https://tailwindcss.com/docs/text-underline-offset
1301
+ */
1302
+ "underline-offset": [{
1303
+ "underline-offset": ["auto", isLength, isArbitraryValue]
1304
+ }],
1305
+ /**
1306
+ * Text Decoration Color
1307
+ * @see https://tailwindcss.com/docs/text-decoration-color
1308
+ */
1309
+ "text-decoration-color": [{
1310
+ decoration: [colors]
1311
+ }],
1312
+ /**
1313
+ * Text Transform
1314
+ * @see https://tailwindcss.com/docs/text-transform
1315
+ */
1316
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1317
+ /**
1318
+ * Text Overflow
1319
+ * @see https://tailwindcss.com/docs/text-overflow
1320
+ */
1321
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1322
+ /**
1323
+ * Text Wrap
1324
+ * @see https://tailwindcss.com/docs/text-wrap
1325
+ */
1326
+ "text-wrap": [{
1327
+ text: ["wrap", "nowrap", "balance", "pretty"]
1328
+ }],
1329
+ /**
1330
+ * Text Indent
1331
+ * @see https://tailwindcss.com/docs/text-indent
1332
+ */
1333
+ indent: [{
1334
+ indent: getSpacingWithArbitrary()
1335
+ }],
1336
+ /**
1337
+ * Vertical Alignment
1338
+ * @see https://tailwindcss.com/docs/vertical-align
1339
+ */
1340
+ "vertical-align": [{
1341
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", isArbitraryValue]
1342
+ }],
1343
+ /**
1344
+ * Whitespace
1345
+ * @see https://tailwindcss.com/docs/whitespace
1346
+ */
1347
+ whitespace: [{
1348
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1349
+ }],
1350
+ /**
1351
+ * Word Break
1352
+ * @see https://tailwindcss.com/docs/word-break
1353
+ */
1354
+ break: [{
1355
+ break: ["normal", "words", "all", "keep"]
1356
+ }],
1357
+ /**
1358
+ * Hyphens
1359
+ * @see https://tailwindcss.com/docs/hyphens
1360
+ */
1361
+ hyphens: [{
1362
+ hyphens: ["none", "manual", "auto"]
1363
+ }],
1364
+ /**
1365
+ * Content
1366
+ * @see https://tailwindcss.com/docs/content
1367
+ */
1368
+ content: [{
1369
+ content: ["none", isArbitraryValue]
1370
+ }],
1371
+ // Backgrounds
1372
+ /**
1373
+ * Background Attachment
1374
+ * @see https://tailwindcss.com/docs/background-attachment
1375
+ */
1376
+ "bg-attachment": [{
1377
+ bg: ["fixed", "local", "scroll"]
1378
+ }],
1379
+ /**
1380
+ * Background Clip
1381
+ * @see https://tailwindcss.com/docs/background-clip
1382
+ */
1383
+ "bg-clip": [{
1384
+ "bg-clip": ["border", "padding", "content", "text"]
1385
+ }],
1386
+ /**
1387
+ * Background Opacity
1388
+ * @deprecated since Tailwind CSS v3.0.0
1389
+ * @see https://tailwindcss.com/docs/background-opacity
1390
+ */
1391
+ "bg-opacity": [{
1392
+ "bg-opacity": [opacity]
1393
+ }],
1394
+ /**
1395
+ * Background Origin
1396
+ * @see https://tailwindcss.com/docs/background-origin
1397
+ */
1398
+ "bg-origin": [{
1399
+ "bg-origin": ["border", "padding", "content"]
1400
+ }],
1401
+ /**
1402
+ * Background Position
1403
+ * @see https://tailwindcss.com/docs/background-position
1404
+ */
1405
+ "bg-position": [{
1406
+ bg: [...getPositions(), isArbitraryPosition]
1407
+ }],
1408
+ /**
1409
+ * Background Repeat
1410
+ * @see https://tailwindcss.com/docs/background-repeat
1411
+ */
1412
+ "bg-repeat": [{
1413
+ bg: ["no-repeat", {
1414
+ repeat: ["", "x", "y", "round", "space"]
1415
+ }]
1416
+ }],
1417
+ /**
1418
+ * Background Size
1419
+ * @see https://tailwindcss.com/docs/background-size
1420
+ */
1421
+ "bg-size": [{
1422
+ bg: ["auto", "cover", "contain", isArbitrarySize]
1423
+ }],
1424
+ /**
1425
+ * Background Image
1426
+ * @see https://tailwindcss.com/docs/background-image
1427
+ */
1428
+ "bg-image": [{
1429
+ bg: ["none", {
1430
+ "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1431
+ }, isArbitraryImage]
1432
+ }],
1433
+ /**
1434
+ * Background Color
1435
+ * @see https://tailwindcss.com/docs/background-color
1436
+ */
1437
+ "bg-color": [{
1438
+ bg: [colors]
1439
+ }],
1440
+ /**
1441
+ * Gradient Color Stops From Position
1442
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1443
+ */
1444
+ "gradient-from-pos": [{
1445
+ from: [gradientColorStopPositions]
1446
+ }],
1447
+ /**
1448
+ * Gradient Color Stops Via Position
1449
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1450
+ */
1451
+ "gradient-via-pos": [{
1452
+ via: [gradientColorStopPositions]
1453
+ }],
1454
+ /**
1455
+ * Gradient Color Stops To Position
1456
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1457
+ */
1458
+ "gradient-to-pos": [{
1459
+ to: [gradientColorStopPositions]
1460
+ }],
1461
+ /**
1462
+ * Gradient Color Stops From
1463
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1464
+ */
1465
+ "gradient-from": [{
1466
+ from: [gradientColorStops]
1467
+ }],
1468
+ /**
1469
+ * Gradient Color Stops Via
1470
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1471
+ */
1472
+ "gradient-via": [{
1473
+ via: [gradientColorStops]
1474
+ }],
1475
+ /**
1476
+ * Gradient Color Stops To
1477
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1478
+ */
1479
+ "gradient-to": [{
1480
+ to: [gradientColorStops]
1481
+ }],
1482
+ // Borders
1483
+ /**
1484
+ * Border Radius
1485
+ * @see https://tailwindcss.com/docs/border-radius
1486
+ */
1487
+ rounded: [{
1488
+ rounded: [borderRadius]
1489
+ }],
1490
+ /**
1491
+ * Border Radius Start
1492
+ * @see https://tailwindcss.com/docs/border-radius
1493
+ */
1494
+ "rounded-s": [{
1495
+ "rounded-s": [borderRadius]
1496
+ }],
1497
+ /**
1498
+ * Border Radius End
1499
+ * @see https://tailwindcss.com/docs/border-radius
1500
+ */
1501
+ "rounded-e": [{
1502
+ "rounded-e": [borderRadius]
1503
+ }],
1504
+ /**
1505
+ * Border Radius Top
1506
+ * @see https://tailwindcss.com/docs/border-radius
1507
+ */
1508
+ "rounded-t": [{
1509
+ "rounded-t": [borderRadius]
1510
+ }],
1511
+ /**
1512
+ * Border Radius Right
1513
+ * @see https://tailwindcss.com/docs/border-radius
1514
+ */
1515
+ "rounded-r": [{
1516
+ "rounded-r": [borderRadius]
1517
+ }],
1518
+ /**
1519
+ * Border Radius Bottom
1520
+ * @see https://tailwindcss.com/docs/border-radius
1521
+ */
1522
+ "rounded-b": [{
1523
+ "rounded-b": [borderRadius]
1524
+ }],
1525
+ /**
1526
+ * Border Radius Left
1527
+ * @see https://tailwindcss.com/docs/border-radius
1528
+ */
1529
+ "rounded-l": [{
1530
+ "rounded-l": [borderRadius]
1531
+ }],
1532
+ /**
1533
+ * Border Radius Start Start
1534
+ * @see https://tailwindcss.com/docs/border-radius
1535
+ */
1536
+ "rounded-ss": [{
1537
+ "rounded-ss": [borderRadius]
1538
+ }],
1539
+ /**
1540
+ * Border Radius Start End
1541
+ * @see https://tailwindcss.com/docs/border-radius
1542
+ */
1543
+ "rounded-se": [{
1544
+ "rounded-se": [borderRadius]
1545
+ }],
1546
+ /**
1547
+ * Border Radius End End
1548
+ * @see https://tailwindcss.com/docs/border-radius
1549
+ */
1550
+ "rounded-ee": [{
1551
+ "rounded-ee": [borderRadius]
1552
+ }],
1553
+ /**
1554
+ * Border Radius End Start
1555
+ * @see https://tailwindcss.com/docs/border-radius
1556
+ */
1557
+ "rounded-es": [{
1558
+ "rounded-es": [borderRadius]
1559
+ }],
1560
+ /**
1561
+ * Border Radius Top Left
1562
+ * @see https://tailwindcss.com/docs/border-radius
1563
+ */
1564
+ "rounded-tl": [{
1565
+ "rounded-tl": [borderRadius]
1566
+ }],
1567
+ /**
1568
+ * Border Radius Top Right
1569
+ * @see https://tailwindcss.com/docs/border-radius
1570
+ */
1571
+ "rounded-tr": [{
1572
+ "rounded-tr": [borderRadius]
1573
+ }],
1574
+ /**
1575
+ * Border Radius Bottom Right
1576
+ * @see https://tailwindcss.com/docs/border-radius
1577
+ */
1578
+ "rounded-br": [{
1579
+ "rounded-br": [borderRadius]
1580
+ }],
1581
+ /**
1582
+ * Border Radius Bottom Left
1583
+ * @see https://tailwindcss.com/docs/border-radius
1584
+ */
1585
+ "rounded-bl": [{
1586
+ "rounded-bl": [borderRadius]
1587
+ }],
1588
+ /**
1589
+ * Border Width
1590
+ * @see https://tailwindcss.com/docs/border-width
1591
+ */
1592
+ "border-w": [{
1593
+ border: [borderWidth]
1594
+ }],
1595
+ /**
1596
+ * Border Width X
1597
+ * @see https://tailwindcss.com/docs/border-width
1598
+ */
1599
+ "border-w-x": [{
1600
+ "border-x": [borderWidth]
1601
+ }],
1602
+ /**
1603
+ * Border Width Y
1604
+ * @see https://tailwindcss.com/docs/border-width
1605
+ */
1606
+ "border-w-y": [{
1607
+ "border-y": [borderWidth]
1608
+ }],
1609
+ /**
1610
+ * Border Width Start
1611
+ * @see https://tailwindcss.com/docs/border-width
1612
+ */
1613
+ "border-w-s": [{
1614
+ "border-s": [borderWidth]
1615
+ }],
1616
+ /**
1617
+ * Border Width End
1618
+ * @see https://tailwindcss.com/docs/border-width
1619
+ */
1620
+ "border-w-e": [{
1621
+ "border-e": [borderWidth]
1622
+ }],
1623
+ /**
1624
+ * Border Width Top
1625
+ * @see https://tailwindcss.com/docs/border-width
1626
+ */
1627
+ "border-w-t": [{
1628
+ "border-t": [borderWidth]
1629
+ }],
1630
+ /**
1631
+ * Border Width Right
1632
+ * @see https://tailwindcss.com/docs/border-width
1633
+ */
1634
+ "border-w-r": [{
1635
+ "border-r": [borderWidth]
1636
+ }],
1637
+ /**
1638
+ * Border Width Bottom
1639
+ * @see https://tailwindcss.com/docs/border-width
1640
+ */
1641
+ "border-w-b": [{
1642
+ "border-b": [borderWidth]
1643
+ }],
1644
+ /**
1645
+ * Border Width Left
1646
+ * @see https://tailwindcss.com/docs/border-width
1647
+ */
1648
+ "border-w-l": [{
1649
+ "border-l": [borderWidth]
1650
+ }],
1651
+ /**
1652
+ * Border Opacity
1653
+ * @see https://tailwindcss.com/docs/border-opacity
1654
+ */
1655
+ "border-opacity": [{
1656
+ "border-opacity": [opacity]
1657
+ }],
1658
+ /**
1659
+ * Border Style
1660
+ * @see https://tailwindcss.com/docs/border-style
1661
+ */
1662
+ "border-style": [{
1663
+ border: [...getLineStyles(), "hidden"]
1664
+ }],
1665
+ /**
1666
+ * Divide Width X
1667
+ * @see https://tailwindcss.com/docs/divide-width
1668
+ */
1669
+ "divide-x": [{
1670
+ "divide-x": [borderWidth]
1671
+ }],
1672
+ /**
1673
+ * Divide Width X Reverse
1674
+ * @see https://tailwindcss.com/docs/divide-width
1675
+ */
1676
+ "divide-x-reverse": ["divide-x-reverse"],
1677
+ /**
1678
+ * Divide Width Y
1679
+ * @see https://tailwindcss.com/docs/divide-width
1680
+ */
1681
+ "divide-y": [{
1682
+ "divide-y": [borderWidth]
1683
+ }],
1684
+ /**
1685
+ * Divide Width Y Reverse
1686
+ * @see https://tailwindcss.com/docs/divide-width
1687
+ */
1688
+ "divide-y-reverse": ["divide-y-reverse"],
1689
+ /**
1690
+ * Divide Opacity
1691
+ * @see https://tailwindcss.com/docs/divide-opacity
1692
+ */
1693
+ "divide-opacity": [{
1694
+ "divide-opacity": [opacity]
1695
+ }],
1696
+ /**
1697
+ * Divide Style
1698
+ * @see https://tailwindcss.com/docs/divide-style
1699
+ */
1700
+ "divide-style": [{
1701
+ divide: getLineStyles()
1702
+ }],
1703
+ /**
1704
+ * Border Color
1705
+ * @see https://tailwindcss.com/docs/border-color
1706
+ */
1707
+ "border-color": [{
1708
+ border: [borderColor]
1709
+ }],
1710
+ /**
1711
+ * Border Color X
1712
+ * @see https://tailwindcss.com/docs/border-color
1713
+ */
1714
+ "border-color-x": [{
1715
+ "border-x": [borderColor]
1716
+ }],
1717
+ /**
1718
+ * Border Color Y
1719
+ * @see https://tailwindcss.com/docs/border-color
1720
+ */
1721
+ "border-color-y": [{
1722
+ "border-y": [borderColor]
1723
+ }],
1724
+ /**
1725
+ * Border Color S
1726
+ * @see https://tailwindcss.com/docs/border-color
1727
+ */
1728
+ "border-color-s": [{
1729
+ "border-s": [borderColor]
1730
+ }],
1731
+ /**
1732
+ * Border Color E
1733
+ * @see https://tailwindcss.com/docs/border-color
1734
+ */
1735
+ "border-color-e": [{
1736
+ "border-e": [borderColor]
1737
+ }],
1738
+ /**
1739
+ * Border Color Top
1740
+ * @see https://tailwindcss.com/docs/border-color
1741
+ */
1742
+ "border-color-t": [{
1743
+ "border-t": [borderColor]
1744
+ }],
1745
+ /**
1746
+ * Border Color Right
1747
+ * @see https://tailwindcss.com/docs/border-color
1748
+ */
1749
+ "border-color-r": [{
1750
+ "border-r": [borderColor]
1751
+ }],
1752
+ /**
1753
+ * Border Color Bottom
1754
+ * @see https://tailwindcss.com/docs/border-color
1755
+ */
1756
+ "border-color-b": [{
1757
+ "border-b": [borderColor]
1758
+ }],
1759
+ /**
1760
+ * Border Color Left
1761
+ * @see https://tailwindcss.com/docs/border-color
1762
+ */
1763
+ "border-color-l": [{
1764
+ "border-l": [borderColor]
1765
+ }],
1766
+ /**
1767
+ * Divide Color
1768
+ * @see https://tailwindcss.com/docs/divide-color
1769
+ */
1770
+ "divide-color": [{
1771
+ divide: [borderColor]
1772
+ }],
1773
+ /**
1774
+ * Outline Style
1775
+ * @see https://tailwindcss.com/docs/outline-style
1776
+ */
1777
+ "outline-style": [{
1778
+ outline: ["", ...getLineStyles()]
1779
+ }],
1780
+ /**
1781
+ * Outline Offset
1782
+ * @see https://tailwindcss.com/docs/outline-offset
1783
+ */
1784
+ "outline-offset": [{
1785
+ "outline-offset": [isLength, isArbitraryValue]
1786
+ }],
1787
+ /**
1788
+ * Outline Width
1789
+ * @see https://tailwindcss.com/docs/outline-width
1790
+ */
1791
+ "outline-w": [{
1792
+ outline: [isLength, isArbitraryLength]
1793
+ }],
1794
+ /**
1795
+ * Outline Color
1796
+ * @see https://tailwindcss.com/docs/outline-color
1797
+ */
1798
+ "outline-color": [{
1799
+ outline: [colors]
1800
+ }],
1801
+ /**
1802
+ * Ring Width
1803
+ * @see https://tailwindcss.com/docs/ring-width
1804
+ */
1805
+ "ring-w": [{
1806
+ ring: getLengthWithEmptyAndArbitrary()
1807
+ }],
1808
+ /**
1809
+ * Ring Width Inset
1810
+ * @see https://tailwindcss.com/docs/ring-width
1811
+ */
1812
+ "ring-w-inset": ["ring-inset"],
1813
+ /**
1814
+ * Ring Color
1815
+ * @see https://tailwindcss.com/docs/ring-color
1816
+ */
1817
+ "ring-color": [{
1818
+ ring: [colors]
1819
+ }],
1820
+ /**
1821
+ * Ring Opacity
1822
+ * @see https://tailwindcss.com/docs/ring-opacity
1823
+ */
1824
+ "ring-opacity": [{
1825
+ "ring-opacity": [opacity]
1826
+ }],
1827
+ /**
1828
+ * Ring Offset Width
1829
+ * @see https://tailwindcss.com/docs/ring-offset-width
1830
+ */
1831
+ "ring-offset-w": [{
1832
+ "ring-offset": [isLength, isArbitraryLength]
1833
+ }],
1834
+ /**
1835
+ * Ring Offset Color
1836
+ * @see https://tailwindcss.com/docs/ring-offset-color
1837
+ */
1838
+ "ring-offset-color": [{
1839
+ "ring-offset": [colors]
1840
+ }],
1841
+ // Effects
1842
+ /**
1843
+ * Box Shadow
1844
+ * @see https://tailwindcss.com/docs/box-shadow
1845
+ */
1846
+ shadow: [{
1847
+ shadow: ["", "inner", "none", isTshirtSize, isArbitraryShadow]
1848
+ }],
1849
+ /**
1850
+ * Box Shadow Color
1851
+ * @see https://tailwindcss.com/docs/box-shadow-color
1852
+ */
1853
+ "shadow-color": [{
1854
+ shadow: [isAny]
1855
+ }],
1856
+ /**
1857
+ * Opacity
1858
+ * @see https://tailwindcss.com/docs/opacity
1859
+ */
1860
+ opacity: [{
1861
+ opacity: [opacity]
1862
+ }],
1863
+ /**
1864
+ * Mix Blend Mode
1865
+ * @see https://tailwindcss.com/docs/mix-blend-mode
1866
+ */
1867
+ "mix-blend": [{
1868
+ "mix-blend": [...getBlendModes(), "plus-lighter", "plus-darker"]
1869
+ }],
1870
+ /**
1871
+ * Background Blend Mode
1872
+ * @see https://tailwindcss.com/docs/background-blend-mode
1873
+ */
1874
+ "bg-blend": [{
1875
+ "bg-blend": getBlendModes()
1876
+ }],
1877
+ // Filters
1878
+ /**
1879
+ * Filter
1880
+ * @deprecated since Tailwind CSS v3.0.0
1881
+ * @see https://tailwindcss.com/docs/filter
1882
+ */
1883
+ filter: [{
1884
+ filter: ["", "none"]
1885
+ }],
1886
+ /**
1887
+ * Blur
1888
+ * @see https://tailwindcss.com/docs/blur
1889
+ */
1890
+ blur: [{
1891
+ blur: [blur]
1892
+ }],
1893
+ /**
1894
+ * Brightness
1895
+ * @see https://tailwindcss.com/docs/brightness
1896
+ */
1897
+ brightness: [{
1898
+ brightness: [brightness]
1899
+ }],
1900
+ /**
1901
+ * Contrast
1902
+ * @see https://tailwindcss.com/docs/contrast
1903
+ */
1904
+ contrast: [{
1905
+ contrast: [contrast]
1906
+ }],
1907
+ /**
1908
+ * Drop Shadow
1909
+ * @see https://tailwindcss.com/docs/drop-shadow
1910
+ */
1911
+ "drop-shadow": [{
1912
+ "drop-shadow": ["", "none", isTshirtSize, isArbitraryValue]
1913
+ }],
1914
+ /**
1915
+ * Grayscale
1916
+ * @see https://tailwindcss.com/docs/grayscale
1917
+ */
1918
+ grayscale: [{
1919
+ grayscale: [grayscale]
1920
+ }],
1921
+ /**
1922
+ * Hue Rotate
1923
+ * @see https://tailwindcss.com/docs/hue-rotate
1924
+ */
1925
+ "hue-rotate": [{
1926
+ "hue-rotate": [hueRotate]
1927
+ }],
1928
+ /**
1929
+ * Invert
1930
+ * @see https://tailwindcss.com/docs/invert
1931
+ */
1932
+ invert: [{
1933
+ invert: [invert]
1934
+ }],
1935
+ /**
1936
+ * Saturate
1937
+ * @see https://tailwindcss.com/docs/saturate
1938
+ */
1939
+ saturate: [{
1940
+ saturate: [saturate]
1941
+ }],
1942
+ /**
1943
+ * Sepia
1944
+ * @see https://tailwindcss.com/docs/sepia
1945
+ */
1946
+ sepia: [{
1947
+ sepia: [sepia]
1948
+ }],
1949
+ /**
1950
+ * Backdrop Filter
1951
+ * @deprecated since Tailwind CSS v3.0.0
1952
+ * @see https://tailwindcss.com/docs/backdrop-filter
1953
+ */
1954
+ "backdrop-filter": [{
1955
+ "backdrop-filter": ["", "none"]
1956
+ }],
1957
+ /**
1958
+ * Backdrop Blur
1959
+ * @see https://tailwindcss.com/docs/backdrop-blur
1960
+ */
1961
+ "backdrop-blur": [{
1962
+ "backdrop-blur": [blur]
1963
+ }],
1964
+ /**
1965
+ * Backdrop Brightness
1966
+ * @see https://tailwindcss.com/docs/backdrop-brightness
1967
+ */
1968
+ "backdrop-brightness": [{
1969
+ "backdrop-brightness": [brightness]
1970
+ }],
1971
+ /**
1972
+ * Backdrop Contrast
1973
+ * @see https://tailwindcss.com/docs/backdrop-contrast
1974
+ */
1975
+ "backdrop-contrast": [{
1976
+ "backdrop-contrast": [contrast]
1977
+ }],
1978
+ /**
1979
+ * Backdrop Grayscale
1980
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
1981
+ */
1982
+ "backdrop-grayscale": [{
1983
+ "backdrop-grayscale": [grayscale]
1984
+ }],
1985
+ /**
1986
+ * Backdrop Hue Rotate
1987
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
1988
+ */
1989
+ "backdrop-hue-rotate": [{
1990
+ "backdrop-hue-rotate": [hueRotate]
1991
+ }],
1992
+ /**
1993
+ * Backdrop Invert
1994
+ * @see https://tailwindcss.com/docs/backdrop-invert
1995
+ */
1996
+ "backdrop-invert": [{
1997
+ "backdrop-invert": [invert]
1998
+ }],
1999
+ /**
2000
+ * Backdrop Opacity
2001
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2002
+ */
2003
+ "backdrop-opacity": [{
2004
+ "backdrop-opacity": [opacity]
2005
+ }],
2006
+ /**
2007
+ * Backdrop Saturate
2008
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2009
+ */
2010
+ "backdrop-saturate": [{
2011
+ "backdrop-saturate": [saturate]
2012
+ }],
2013
+ /**
2014
+ * Backdrop Sepia
2015
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2016
+ */
2017
+ "backdrop-sepia": [{
2018
+ "backdrop-sepia": [sepia]
2019
+ }],
2020
+ // Tables
2021
+ /**
2022
+ * Border Collapse
2023
+ * @see https://tailwindcss.com/docs/border-collapse
2024
+ */
2025
+ "border-collapse": [{
2026
+ border: ["collapse", "separate"]
2027
+ }],
2028
+ /**
2029
+ * Border Spacing
2030
+ * @see https://tailwindcss.com/docs/border-spacing
2031
+ */
2032
+ "border-spacing": [{
2033
+ "border-spacing": [borderSpacing]
2034
+ }],
2035
+ /**
2036
+ * Border Spacing X
2037
+ * @see https://tailwindcss.com/docs/border-spacing
2038
+ */
2039
+ "border-spacing-x": [{
2040
+ "border-spacing-x": [borderSpacing]
2041
+ }],
2042
+ /**
2043
+ * Border Spacing Y
2044
+ * @see https://tailwindcss.com/docs/border-spacing
2045
+ */
2046
+ "border-spacing-y": [{
2047
+ "border-spacing-y": [borderSpacing]
2048
+ }],
2049
+ /**
2050
+ * Table Layout
2051
+ * @see https://tailwindcss.com/docs/table-layout
2052
+ */
2053
+ "table-layout": [{
2054
+ table: ["auto", "fixed"]
2055
+ }],
2056
+ /**
2057
+ * Caption Side
2058
+ * @see https://tailwindcss.com/docs/caption-side
2059
+ */
2060
+ caption: [{
2061
+ caption: ["top", "bottom"]
2062
+ }],
2063
+ // Transitions and Animation
2064
+ /**
2065
+ * Tranisition Property
2066
+ * @see https://tailwindcss.com/docs/transition-property
2067
+ */
2068
+ transition: [{
2069
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", isArbitraryValue]
2070
+ }],
2071
+ /**
2072
+ * Transition Duration
2073
+ * @see https://tailwindcss.com/docs/transition-duration
2074
+ */
2075
+ duration: [{
2076
+ duration: getNumberAndArbitrary()
2077
+ }],
2078
+ /**
2079
+ * Transition Timing Function
2080
+ * @see https://tailwindcss.com/docs/transition-timing-function
2081
+ */
2082
+ ease: [{
2083
+ ease: ["linear", "in", "out", "in-out", isArbitraryValue]
2084
+ }],
2085
+ /**
2086
+ * Transition Delay
2087
+ * @see https://tailwindcss.com/docs/transition-delay
2088
+ */
2089
+ delay: [{
2090
+ delay: getNumberAndArbitrary()
2091
+ }],
2092
+ /**
2093
+ * Animation
2094
+ * @see https://tailwindcss.com/docs/animation
2095
+ */
2096
+ animate: [{
2097
+ animate: ["none", "spin", "ping", "pulse", "bounce", isArbitraryValue]
2098
+ }],
2099
+ // Transforms
2100
+ /**
2101
+ * Transform
2102
+ * @see https://tailwindcss.com/docs/transform
2103
+ */
2104
+ transform: [{
2105
+ transform: ["", "gpu", "none"]
2106
+ }],
2107
+ /**
2108
+ * Scale
2109
+ * @see https://tailwindcss.com/docs/scale
2110
+ */
2111
+ scale: [{
2112
+ scale: [scale]
2113
+ }],
2114
+ /**
2115
+ * Scale X
2116
+ * @see https://tailwindcss.com/docs/scale
2117
+ */
2118
+ "scale-x": [{
2119
+ "scale-x": [scale]
2120
+ }],
2121
+ /**
2122
+ * Scale Y
2123
+ * @see https://tailwindcss.com/docs/scale
2124
+ */
2125
+ "scale-y": [{
2126
+ "scale-y": [scale]
2127
+ }],
2128
+ /**
2129
+ * Rotate
2130
+ * @see https://tailwindcss.com/docs/rotate
2131
+ */
2132
+ rotate: [{
2133
+ rotate: [isInteger, isArbitraryValue]
2134
+ }],
2135
+ /**
2136
+ * Translate X
2137
+ * @see https://tailwindcss.com/docs/translate
2138
+ */
2139
+ "translate-x": [{
2140
+ "translate-x": [translate]
2141
+ }],
2142
+ /**
2143
+ * Translate Y
2144
+ * @see https://tailwindcss.com/docs/translate
2145
+ */
2146
+ "translate-y": [{
2147
+ "translate-y": [translate]
2148
+ }],
2149
+ /**
2150
+ * Skew X
2151
+ * @see https://tailwindcss.com/docs/skew
2152
+ */
2153
+ "skew-x": [{
2154
+ "skew-x": [skew]
2155
+ }],
2156
+ /**
2157
+ * Skew Y
2158
+ * @see https://tailwindcss.com/docs/skew
2159
+ */
2160
+ "skew-y": [{
2161
+ "skew-y": [skew]
2162
+ }],
2163
+ /**
2164
+ * Transform Origin
2165
+ * @see https://tailwindcss.com/docs/transform-origin
2166
+ */
2167
+ "transform-origin": [{
2168
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", isArbitraryValue]
2169
+ }],
2170
+ // Interactivity
2171
+ /**
2172
+ * Accent Color
2173
+ * @see https://tailwindcss.com/docs/accent-color
2174
+ */
2175
+ accent: [{
2176
+ accent: ["auto", colors]
2177
+ }],
2178
+ /**
2179
+ * Appearance
2180
+ * @see https://tailwindcss.com/docs/appearance
2181
+ */
2182
+ appearance: [{
2183
+ appearance: ["none", "auto"]
2184
+ }],
2185
+ /**
2186
+ * Cursor
2187
+ * @see https://tailwindcss.com/docs/cursor
2188
+ */
2189
+ cursor: [{
2190
+ 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]
2191
+ }],
2192
+ /**
2193
+ * Caret Color
2194
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2195
+ */
2196
+ "caret-color": [{
2197
+ caret: [colors]
2198
+ }],
2199
+ /**
2200
+ * Pointer Events
2201
+ * @see https://tailwindcss.com/docs/pointer-events
2202
+ */
2203
+ "pointer-events": [{
2204
+ "pointer-events": ["none", "auto"]
2205
+ }],
2206
+ /**
2207
+ * Resize
2208
+ * @see https://tailwindcss.com/docs/resize
2209
+ */
2210
+ resize: [{
2211
+ resize: ["none", "y", "x", ""]
2212
+ }],
2213
+ /**
2214
+ * Scroll Behavior
2215
+ * @see https://tailwindcss.com/docs/scroll-behavior
2216
+ */
2217
+ "scroll-behavior": [{
2218
+ scroll: ["auto", "smooth"]
2219
+ }],
2220
+ /**
2221
+ * Scroll Margin
2222
+ * @see https://tailwindcss.com/docs/scroll-margin
2223
+ */
2224
+ "scroll-m": [{
2225
+ "scroll-m": getSpacingWithArbitrary()
2226
+ }],
2227
+ /**
2228
+ * Scroll Margin X
2229
+ * @see https://tailwindcss.com/docs/scroll-margin
2230
+ */
2231
+ "scroll-mx": [{
2232
+ "scroll-mx": getSpacingWithArbitrary()
2233
+ }],
2234
+ /**
2235
+ * Scroll Margin Y
2236
+ * @see https://tailwindcss.com/docs/scroll-margin
2237
+ */
2238
+ "scroll-my": [{
2239
+ "scroll-my": getSpacingWithArbitrary()
2240
+ }],
2241
+ /**
2242
+ * Scroll Margin Start
2243
+ * @see https://tailwindcss.com/docs/scroll-margin
2244
+ */
2245
+ "scroll-ms": [{
2246
+ "scroll-ms": getSpacingWithArbitrary()
2247
+ }],
2248
+ /**
2249
+ * Scroll Margin End
2250
+ * @see https://tailwindcss.com/docs/scroll-margin
2251
+ */
2252
+ "scroll-me": [{
2253
+ "scroll-me": getSpacingWithArbitrary()
2254
+ }],
2255
+ /**
2256
+ * Scroll Margin Top
2257
+ * @see https://tailwindcss.com/docs/scroll-margin
2258
+ */
2259
+ "scroll-mt": [{
2260
+ "scroll-mt": getSpacingWithArbitrary()
2261
+ }],
2262
+ /**
2263
+ * Scroll Margin Right
2264
+ * @see https://tailwindcss.com/docs/scroll-margin
2265
+ */
2266
+ "scroll-mr": [{
2267
+ "scroll-mr": getSpacingWithArbitrary()
2268
+ }],
2269
+ /**
2270
+ * Scroll Margin Bottom
2271
+ * @see https://tailwindcss.com/docs/scroll-margin
2272
+ */
2273
+ "scroll-mb": [{
2274
+ "scroll-mb": getSpacingWithArbitrary()
2275
+ }],
2276
+ /**
2277
+ * Scroll Margin Left
2278
+ * @see https://tailwindcss.com/docs/scroll-margin
2279
+ */
2280
+ "scroll-ml": [{
2281
+ "scroll-ml": getSpacingWithArbitrary()
2282
+ }],
2283
+ /**
2284
+ * Scroll Padding
2285
+ * @see https://tailwindcss.com/docs/scroll-padding
2286
+ */
2287
+ "scroll-p": [{
2288
+ "scroll-p": getSpacingWithArbitrary()
2289
+ }],
2290
+ /**
2291
+ * Scroll Padding X
2292
+ * @see https://tailwindcss.com/docs/scroll-padding
2293
+ */
2294
+ "scroll-px": [{
2295
+ "scroll-px": getSpacingWithArbitrary()
2296
+ }],
2297
+ /**
2298
+ * Scroll Padding Y
2299
+ * @see https://tailwindcss.com/docs/scroll-padding
2300
+ */
2301
+ "scroll-py": [{
2302
+ "scroll-py": getSpacingWithArbitrary()
2303
+ }],
2304
+ /**
2305
+ * Scroll Padding Start
2306
+ * @see https://tailwindcss.com/docs/scroll-padding
2307
+ */
2308
+ "scroll-ps": [{
2309
+ "scroll-ps": getSpacingWithArbitrary()
2310
+ }],
2311
+ /**
2312
+ * Scroll Padding End
2313
+ * @see https://tailwindcss.com/docs/scroll-padding
2314
+ */
2315
+ "scroll-pe": [{
2316
+ "scroll-pe": getSpacingWithArbitrary()
2317
+ }],
2318
+ /**
2319
+ * Scroll Padding Top
2320
+ * @see https://tailwindcss.com/docs/scroll-padding
2321
+ */
2322
+ "scroll-pt": [{
2323
+ "scroll-pt": getSpacingWithArbitrary()
2324
+ }],
2325
+ /**
2326
+ * Scroll Padding Right
2327
+ * @see https://tailwindcss.com/docs/scroll-padding
2328
+ */
2329
+ "scroll-pr": [{
2330
+ "scroll-pr": getSpacingWithArbitrary()
2331
+ }],
2332
+ /**
2333
+ * Scroll Padding Bottom
2334
+ * @see https://tailwindcss.com/docs/scroll-padding
2335
+ */
2336
+ "scroll-pb": [{
2337
+ "scroll-pb": getSpacingWithArbitrary()
2338
+ }],
2339
+ /**
2340
+ * Scroll Padding Left
2341
+ * @see https://tailwindcss.com/docs/scroll-padding
2342
+ */
2343
+ "scroll-pl": [{
2344
+ "scroll-pl": getSpacingWithArbitrary()
2345
+ }],
2346
+ /**
2347
+ * Scroll Snap Align
2348
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2349
+ */
2350
+ "snap-align": [{
2351
+ snap: ["start", "end", "center", "align-none"]
2352
+ }],
2353
+ /**
2354
+ * Scroll Snap Stop
2355
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2356
+ */
2357
+ "snap-stop": [{
2358
+ snap: ["normal", "always"]
2359
+ }],
2360
+ /**
2361
+ * Scroll Snap Type
2362
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2363
+ */
2364
+ "snap-type": [{
2365
+ snap: ["none", "x", "y", "both"]
2366
+ }],
2367
+ /**
2368
+ * Scroll Snap Type Strictness
2369
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2370
+ */
2371
+ "snap-strictness": [{
2372
+ snap: ["mandatory", "proximity"]
2373
+ }],
2374
+ /**
2375
+ * Touch Action
2376
+ * @see https://tailwindcss.com/docs/touch-action
2377
+ */
2378
+ touch: [{
2379
+ touch: ["auto", "none", "manipulation"]
2380
+ }],
2381
+ /**
2382
+ * Touch Action X
2383
+ * @see https://tailwindcss.com/docs/touch-action
2384
+ */
2385
+ "touch-x": [{
2386
+ "touch-pan": ["x", "left", "right"]
2387
+ }],
2388
+ /**
2389
+ * Touch Action Y
2390
+ * @see https://tailwindcss.com/docs/touch-action
2391
+ */
2392
+ "touch-y": [{
2393
+ "touch-pan": ["y", "up", "down"]
2394
+ }],
2395
+ /**
2396
+ * Touch Action Pinch Zoom
2397
+ * @see https://tailwindcss.com/docs/touch-action
2398
+ */
2399
+ "touch-pz": ["touch-pinch-zoom"],
2400
+ /**
2401
+ * User Select
2402
+ * @see https://tailwindcss.com/docs/user-select
2403
+ */
2404
+ select: [{
2405
+ select: ["none", "text", "all", "auto"]
2406
+ }],
2407
+ /**
2408
+ * Will Change
2409
+ * @see https://tailwindcss.com/docs/will-change
2410
+ */
2411
+ "will-change": [{
2412
+ "will-change": ["auto", "scroll", "contents", "transform", isArbitraryValue]
2413
+ }],
2414
+ // SVG
2415
+ /**
2416
+ * Fill
2417
+ * @see https://tailwindcss.com/docs/fill
2418
+ */
2419
+ fill: [{
2420
+ fill: [colors, "none"]
2421
+ }],
2422
+ /**
2423
+ * Stroke Width
2424
+ * @see https://tailwindcss.com/docs/stroke-width
2425
+ */
2426
+ "stroke-w": [{
2427
+ stroke: [isLength, isArbitraryLength, isArbitraryNumber]
2428
+ }],
2429
+ /**
2430
+ * Stroke
2431
+ * @see https://tailwindcss.com/docs/stroke
2432
+ */
2433
+ stroke: [{
2434
+ stroke: [colors, "none"]
2435
+ }],
2436
+ // Accessibility
2437
+ /**
2438
+ * Screen Readers
2439
+ * @see https://tailwindcss.com/docs/screen-readers
2440
+ */
2441
+ sr: ["sr-only", "not-sr-only"],
2442
+ /**
2443
+ * Forced Color Adjust
2444
+ * @see https://tailwindcss.com/docs/forced-color-adjust
2445
+ */
2446
+ "forced-color-adjust": [{
2447
+ "forced-color-adjust": ["auto", "none"]
2448
+ }]
2449
+ },
2450
+ conflictingClassGroups: {
2451
+ overflow: ["overflow-x", "overflow-y"],
2452
+ overscroll: ["overscroll-x", "overscroll-y"],
2453
+ inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
2454
+ "inset-x": ["right", "left"],
2455
+ "inset-y": ["top", "bottom"],
2456
+ flex: ["basis", "grow", "shrink"],
2457
+ gap: ["gap-x", "gap-y"],
2458
+ p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
2459
+ px: ["pr", "pl"],
2460
+ py: ["pt", "pb"],
2461
+ m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
2462
+ mx: ["mr", "ml"],
2463
+ my: ["mt", "mb"],
2464
+ size: ["w", "h"],
2465
+ "font-size": ["leading"],
2466
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2467
+ "fvn-ordinal": ["fvn-normal"],
2468
+ "fvn-slashed-zero": ["fvn-normal"],
2469
+ "fvn-figure": ["fvn-normal"],
2470
+ "fvn-spacing": ["fvn-normal"],
2471
+ "fvn-fraction": ["fvn-normal"],
2472
+ "line-clamp": ["display", "overflow"],
2473
+ 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"],
2474
+ "rounded-s": ["rounded-ss", "rounded-es"],
2475
+ "rounded-e": ["rounded-se", "rounded-ee"],
2476
+ "rounded-t": ["rounded-tl", "rounded-tr"],
2477
+ "rounded-r": ["rounded-tr", "rounded-br"],
2478
+ "rounded-b": ["rounded-br", "rounded-bl"],
2479
+ "rounded-l": ["rounded-tl", "rounded-bl"],
2480
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
2481
+ "border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2482
+ "border-w-x": ["border-w-r", "border-w-l"],
2483
+ "border-w-y": ["border-w-t", "border-w-b"],
2484
+ "border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2485
+ "border-color-x": ["border-color-r", "border-color-l"],
2486
+ "border-color-y": ["border-color-t", "border-color-b"],
2487
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
2488
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
2489
+ "scroll-my": ["scroll-mt", "scroll-mb"],
2490
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
2491
+ "scroll-px": ["scroll-pr", "scroll-pl"],
2492
+ "scroll-py": ["scroll-pt", "scroll-pb"],
2493
+ touch: ["touch-x", "touch-y", "touch-pz"],
2494
+ "touch-x": ["touch"],
2495
+ "touch-y": ["touch"],
2496
+ "touch-pz": ["touch"]
2497
+ },
2498
+ conflictingClassGroupModifiers: {
2499
+ "font-size": ["leading"]
2500
+ }
2501
+ };
2502
+ };
2503
+ var twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
2504
+
2505
+ // src/utils/cn.ts
2506
+ function cn(...inputs) {
2507
+ return twMerge((0, import_clsx.clsx)(inputs));
2508
+ }
2509
+
2510
+ // src/components/ui/button.tsx
2511
+ var import_react_slot = require("@radix-ui/react-slot");
2512
+ var import_class_variance_authority = require("class-variance-authority");
2513
+ var React = __toESM(require("react"));
2514
+ var import_jsx_runtime = require("react/jsx-runtime");
2515
+ var buttonVariants = (0, import_class_variance_authority.cva)(
2516
+ "inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
2517
+ {
2518
+ defaultVariants: {
2519
+ size: "default",
2520
+ variant: "default"
2521
+ },
2522
+ variants: {
2523
+ size: {
2524
+ clear: "",
2525
+ default: "h-10 px-4 py-2",
2526
+ icon: "h-10 w-10",
2527
+ lg: "h-11 rounded px-8",
2528
+ sm: "h-9 rounded px-3"
2529
+ },
2530
+ variant: {
2531
+ default: "bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",
2532
+ destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
2533
+ ghost: "hover:bg-card hover:text-accent",
2534
+ link: "text-primary items-start justify-start underline-offset-4 hover:underline",
2535
+ outline: "border border-border bg-background hover:bg-card hover:text-accent",
2536
+ secondary: "bg-secondary text-secondary-foreground hover:bg-accent"
2537
+ }
2538
+ }
2539
+ }
2540
+ );
2541
+ var Button = React.forwardRef(
2542
+ ({ asChild = false, className, size, variant, ...props }, ref) => {
2543
+ const Comp = asChild ? import_react_slot.Slot : "button";
2544
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Comp, { className: cn(buttonVariants({ className, size, variant })), ref, ...props });
2545
+ }
2546
+ );
2547
+ Button.displayName = "Button";
2548
+
2549
+ // src/components/ui/card.tsx
2550
+ var React2 = __toESM(require("react"));
2551
+ var import_jsx_runtime2 = require("react/jsx-runtime");
2552
+ var Card = React2.forwardRef(
2553
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
2554
+ "div",
2555
+ {
2556
+ ref,
2557
+ className: cn("rounded-xl border bg-card text-card-foreground shadow", className),
2558
+ ...props
2559
+ }
2560
+ )
2561
+ );
2562
+ Card.displayName = "Card";
2563
+ var CardHeader = React2.forwardRef(
2564
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { ref, className: cn("flex flex-col space-y-1.5 p-6", className), ...props })
2565
+ );
2566
+ CardHeader.displayName = "CardHeader";
2567
+ var CardTitle = React2.forwardRef(
2568
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
2569
+ "div",
2570
+ {
2571
+ ref,
2572
+ className: cn("font-semibold leading-none tracking-tight", className),
2573
+ ...props
2574
+ }
2575
+ )
2576
+ );
2577
+ CardTitle.displayName = "CardTitle";
2578
+ var CardDescription = React2.forwardRef(
2579
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props })
2580
+ );
2581
+ CardDescription.displayName = "CardDescription";
2582
+ var CardContent = React2.forwardRef(
2583
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { ref, className: cn("p-6 pt-0", className), ...props })
2584
+ );
2585
+ CardContent.displayName = "CardContent";
2586
+ var CardFooter = React2.forwardRef(
2587
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { ref, className: cn("flex items-center p-6 pt-0", className), ...props })
2588
+ );
2589
+ CardFooter.displayName = "CardFooter";
2590
+
2591
+ // src/components/ui/avatar.tsx
2592
+ var React3 = __toESM(require("react"));
2593
+ var AvatarPrimitive = __toESM(require("@radix-ui/react-avatar"));
2594
+ var import_jsx_runtime3 = require("react/jsx-runtime");
2595
+ var Avatar = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
2596
+ AvatarPrimitive.Root,
2597
+ {
2598
+ ref,
2599
+ className: cn("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", className),
2600
+ ...props
2601
+ }
2602
+ ));
2603
+ Avatar.displayName = AvatarPrimitive.Root.displayName;
2604
+ var AvatarImage = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
2605
+ AvatarPrimitive.Image,
2606
+ {
2607
+ ref,
2608
+ className: cn("aspect-square h-full w-full", className),
2609
+ ...props
2610
+ }
2611
+ ));
2612
+ AvatarImage.displayName = AvatarPrimitive.Image.displayName;
2613
+ var AvatarFallback = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
2614
+ AvatarPrimitive.Fallback,
2615
+ {
2616
+ ref,
2617
+ className: cn(
2618
+ "flex h-full w-full items-center justify-center rounded-full bg-muted",
2619
+ className
2620
+ ),
2621
+ ...props
2622
+ }
2623
+ ));
2624
+ AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
2625
+
2626
+ // src/components/ui/badge.tsx
2627
+ var import_class_variance_authority2 = require("class-variance-authority");
2628
+ var import_jsx_runtime4 = require("react/jsx-runtime");
2629
+ var badgeVariants = (0, import_class_variance_authority2.cva)(
2630
+ "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
2631
+ {
2632
+ variants: {
2633
+ variant: {
2634
+ default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
2635
+ secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
2636
+ destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
2637
+ outline: "text-foreground"
2638
+ }
2639
+ },
2640
+ defaultVariants: {
2641
+ variant: "default"
2642
+ }
2643
+ }
2644
+ );
2645
+ function Badge({ className, variant, ...props }) {
2646
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: cn(badgeVariants({ variant }), className), ...props });
2647
+ }
2648
+
2649
+ // src/components/Foundry/add-colleague-to-team-form.tsx
2650
+ var import_react = require("motion/react");
2651
+ var import_jsx_runtime5 = require("react/jsx-runtime");
2652
+ function AddColleagueToTeamForm({
2653
+ colleague,
2654
+ team,
2655
+ onSave,
2656
+ onCancel,
2657
+ isLoading = false
2658
+ }) {
2659
+ const handleSubmit = (e) => {
2660
+ e.preventDefault();
2661
+ onSave(colleague, team.id);
2662
+ };
2663
+ const isColleagueAlreadyMember = () => {
2664
+ if (!team.members) return false;
2665
+ return team.members.some(
2666
+ (member) => member.relationTo === "digital-colleagues" && (typeof member.value === "number" && member.value === colleague.id || typeof member.value === "object" && member.value.id === colleague.id)
2667
+ );
2668
+ };
2669
+ const alreadyMember = isColleagueAlreadyMember();
2670
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "px-2 md:px-4 py-4 space-y-6", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react.AnimatePresence, { mode: "wait", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
2671
+ import_react.motion.div,
2672
+ {
2673
+ initial: { opacity: 0, y: 10 },
2674
+ animate: { opacity: 1, y: 0 },
2675
+ exit: { opacity: 0, y: -10 },
2676
+ transition: { duration: 0.2 },
2677
+ children: [
2678
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-center gap-4 mb-6", children: [
2679
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(Button, { variant: "ghost", onClick: onCancel, className: "gap-2", children: [
2680
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react.ChevronLeft, { className: "h-4 w-4" }),
2681
+ "Back"
2682
+ ] }),
2683
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { children: [
2684
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("h1", { className: "text-3xl font-bold", children: "Add to Team" }),
2685
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("p", { className: "text-muted-foreground", children: "Confirm adding this digital colleague to your team" })
2686
+ ] })
2687
+ ] }),
2688
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("form", { onSubmit: handleSubmit, className: "space-y-6", children: [
2689
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(Card, { children: [
2690
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(CardHeader, {}),
2691
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(CardContent, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-start gap-4", children: [
2692
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Avatar, { className: "h-16 w-16", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(AvatarFallback, { className: "bg-purple-100", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react.Bot, { className: "h-8 w-8 text-purple-600" }) }) }),
2693
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex-1 space-y-2", children: [
2694
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("h3", { className: "text-xl font-semibold", children: colleague.name }),
2695
+ colleague.jobDescription && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("p", { className: "text-sm text-muted-foreground", children: colleague.jobDescription }),
2696
+ colleague.model && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-center gap-2 text-sm", children: [
2697
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react.Bot, { className: "h-4 w-4 text-muted-foreground" }),
2698
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "text-muted-foreground", children: typeof colleague.model === "object" ? colleague.model.name : colleague.model })
2699
+ ] }),
2700
+ colleague.capabilities && colleague.capabilities.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex flex-wrap gap-1 mt-2", children: [
2701
+ colleague.capabilities.slice(0, 5).map((cap, index) => {
2702
+ const capName = typeof cap === "object" && cap.value && typeof cap.value === "object" && "name" in cap.value ? String(cap.value.name) : "Capability";
2703
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Badge, { variant: "secondary", className: "text-xs", children: capName }, index);
2704
+ }),
2705
+ colleague.capabilities.length > 5 && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(Badge, { variant: "outline", className: "text-xs", children: [
2706
+ "+",
2707
+ colleague.capabilities.length - 5,
2708
+ " more"
2709
+ ] })
2710
+ ] })
2711
+ ] })
2712
+ ] }) })
2713
+ ] }),
2714
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(Card, { children: [
2715
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(CardHeader, { children: [
2716
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(CardTitle, { className: "text-lg", children: "Team" }),
2717
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("p", { className: "text-sm text-muted-foreground", children: "This colleague will be added to the following team" })
2718
+ ] }),
2719
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(CardContent, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "p-4 border rounded-lg bg-primary/5 border-primary", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-start gap-3", children: [
2720
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "flex-shrink-0 mt-1", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react.Users, { className: "h-5 w-5 text-blue-600" }) }) }),
2721
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex-1", children: [
2722
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-center gap-2", children: [
2723
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("h3", { className: "text-base font-semibold", children: team.name }),
2724
+ alreadyMember && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(Badge, { variant: "secondary", className: "text-xs", children: [
2725
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react.Check, { className: "h-3 w-3 mr-1" }),
2726
+ "Already a member"
2727
+ ] })
2728
+ ] }),
2729
+ team.description && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("p", { className: "text-sm text-muted-foreground mt-1", children: team.description }),
2730
+ team.members && team.members.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("p", { className: "text-xs text-muted-foreground mt-2", children: [
2731
+ team.members.length,
2732
+ " current member",
2733
+ team.members.length !== 1 ? "s" : ""
2734
+ ] })
2735
+ ] })
2736
+ ] }) }) })
2737
+ ] }),
2738
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-center justify-end gap-3", children: [
2739
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Button, { type: "button", variant: "outline", onClick: onCancel, disabled: isLoading, children: "Cancel" }),
2740
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
2741
+ Button,
2742
+ {
2743
+ type: "submit",
2744
+ disabled: isLoading || alreadyMember,
2745
+ className: "gap-2",
2746
+ children: [
2747
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react.Users, { className: "h-4 w-4" }),
2748
+ alreadyMember ? "Already in Team" : "Add to Team"
2749
+ ]
2750
+ }
2751
+ )
2752
+ ] })
2753
+ ] })
2754
+ ]
2755
+ },
2756
+ "add-colleague-to-team"
2757
+ ) }) });
2758
+ }
2759
+ // Annotate the CommonJS export names for ESM import in node:
2760
+ 0 && (module.exports = {
2761
+ AddColleagueToTeamForm
2762
+ });