cortex-react-components 3.3.0 → 4.0.3

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