cortex-react-components 3.2.2 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (543) hide show
  1. package/dist/{chunk-5GFRQ4NR.mjs → chunk-2BKXIIFJ.mjs} +183 -36
  2. package/dist/{chunk-LQPN7L4Z.mjs → chunk-3DWDGYDG.mjs} +1 -1
  3. package/dist/{chunk-PTDP7PZK.mjs → chunk-3G7VLQG5.mjs} +1 -1
  4. package/dist/{chunk-56NFUKPK.mjs → chunk-3K6EVFOW.mjs} +1 -1
  5. package/dist/{chunk-PFA2P52R.mjs → chunk-3RYHYKVQ.mjs} +1 -1
  6. package/dist/{chunk-XDV7AVPQ.mjs → chunk-4JSM5VYZ.mjs} +2 -2
  7. package/dist/{chunk-VMYEV3FG.mjs → chunk-4YRR74Y4.mjs} +1 -1
  8. package/dist/{chunk-I4MTJN23.mjs → chunk-6A7T3O6T.mjs} +6 -5
  9. package/dist/{chunk-G46GZ57S.mjs → chunk-6LF4K7ER.mjs} +5 -5
  10. package/dist/{chunk-2363JAWB.mjs → chunk-6S7EQDLL.mjs} +1 -1
  11. package/dist/{chunk-ZBCZGWDU.mjs → chunk-7HHLKQE4.mjs} +1 -1
  12. package/dist/{chunk-YUBPY7L4.mjs → chunk-7LM2P6N3.mjs} +1 -1
  13. package/dist/{chunk-VMDVXNP5.mjs → chunk-AKMJBGUU.mjs} +16 -16
  14. package/dist/{chunk-V4I6U2SE.mjs → chunk-AVNBD2X5.mjs} +1 -1
  15. package/dist/{chunk-2L6AWG6R.mjs → chunk-AZ5MV7NO.mjs} +2 -2
  16. package/dist/{chunk-YOKF4FEM.mjs → chunk-BMZG77IE.mjs} +1 -1
  17. package/dist/chunk-BXEALHGJ.mjs +142 -0
  18. package/dist/{chunk-V6YEUAIH.mjs → chunk-CV7GOXGO.mjs} +2 -2
  19. package/dist/{chunk-YKX5AGFQ.mjs → chunk-D3AHBPI5.mjs} +1 -1
  20. package/dist/{chunk-2VF2D4DL.mjs → chunk-DGDELNS3.mjs} +1 -1
  21. package/dist/{chunk-RJZMTP7J.mjs → chunk-DHB2L7O2.mjs} +1 -1
  22. package/dist/{chunk-ZED4UNH7.mjs → chunk-DPTILX6A.mjs} +2 -2
  23. package/dist/{chunk-RQGM66Q4.mjs → chunk-DRLNETNN.mjs} +1 -1
  24. package/dist/{chunk-673GELPP.mjs → chunk-DVWMM7AI.mjs} +3 -3
  25. package/dist/{chunk-O633TXQG.mjs → chunk-EEVXIKNB.mjs} +1 -1
  26. package/dist/{chunk-EQYJUXKZ.mjs → chunk-EGCBZZGV.mjs} +1 -1
  27. package/dist/{chunk-HK2DQNBU.mjs → chunk-ETV6EEYB.mjs} +4 -4
  28. package/dist/{chunk-ORWAJNJO.mjs → chunk-F6SQTC6R.mjs} +3 -3
  29. package/dist/{chunk-25EF7VEC.mjs → chunk-F7JPOQIC.mjs} +1 -1
  30. package/dist/{chunk-JQNNFILH.mjs → chunk-FWRVXOCU.mjs} +1 -1
  31. package/dist/{chunk-4YSV633W.mjs → chunk-GAWBCR4S.mjs} +1 -1
  32. package/dist/{chunk-ZWV2O6CK.mjs → chunk-GR45UN4U.mjs} +3 -3
  33. package/dist/chunk-GXN5ZNBZ.mjs +135 -0
  34. package/dist/{chunk-CIFGBEFV.mjs → chunk-HNBHBFLY.mjs} +1 -1
  35. package/dist/{chunk-USEHRJFR.mjs → chunk-HNVHGBNE.mjs} +1 -1
  36. package/dist/{chunk-QPO45D6F.mjs → chunk-I2MVZVXE.mjs} +1 -1
  37. package/dist/chunk-IC4N2KYF.mjs +401 -0
  38. package/dist/{chunk-QOYK2HBL.mjs → chunk-IM5B557Z.mjs} +19 -19
  39. package/dist/{chunk-J5ZETWHG.mjs → chunk-IQ67MHAY.mjs} +2 -2
  40. package/dist/{chunk-UFBLZW2N.mjs → chunk-IWQEM5KO.mjs} +2 -2
  41. package/dist/{chunk-UJI3Y73K.mjs → chunk-J5GM5CJK.mjs} +3 -3
  42. package/dist/chunk-JCSRFM37.mjs +595 -0
  43. package/dist/{chunk-QMFGV3M5.mjs → chunk-JOGVCBYP.mjs} +1 -1
  44. package/dist/{chunk-K6N5K2A7.mjs → chunk-JWMQOARK.mjs} +4 -4
  45. package/dist/{chunk-DSVXGGGV.mjs → chunk-K5ZNBHQO.mjs} +1 -1
  46. package/dist/{chunk-UYUP2DAL.mjs → chunk-KHFPDDTO.mjs} +1 -1
  47. package/dist/{chunk-CVH5TDS6.mjs → chunk-KJVAS4I7.mjs} +27 -12
  48. package/dist/{chunk-4PC77ZEN.mjs → chunk-KMGTUNRZ.mjs} +1 -1
  49. package/dist/{chunk-LVLEZS7Q.mjs → chunk-KYY7BMXI.mjs} +1 -1
  50. package/dist/{chunk-GDMWNNYC.mjs → chunk-LRMDRQRJ.mjs} +2 -2
  51. package/dist/{chunk-CIXAM7LW.mjs → chunk-LRTEGIZ7.mjs} +12 -12
  52. package/dist/{chunk-XGHUG2WQ.mjs → chunk-MDG2I4PB.mjs} +1 -1
  53. package/dist/{chunk-S27KJUKF.mjs → chunk-N5HTSJLI.mjs} +1 -1
  54. package/dist/{chunk-MPFWWJYT.mjs → chunk-N5Q2DYUR.mjs} +2 -2
  55. package/dist/{chunk-3W5H36HK.mjs → chunk-NNH7EC5Z.mjs} +1 -1
  56. package/dist/{chunk-5Z7JRCOM.mjs → chunk-NSYYRG6A.mjs} +1 -1
  57. package/dist/{chunk-JD7SR5V3.mjs → chunk-NUAJQK4H.mjs} +64 -8
  58. package/dist/{chunk-SSF2CAW7.mjs → chunk-OR3XMMEK.mjs} +9 -9
  59. package/dist/{chunk-RC6YHGVV.mjs → chunk-PE7KJR4A.mjs} +1 -1
  60. package/dist/{chunk-V2BZ7RE7.mjs → chunk-PLFX66EX.mjs} +1 -1
  61. package/dist/{chunk-E6M7XAYT.mjs → chunk-Q45EN2QB.mjs} +1 -1
  62. package/dist/{chunk-22E2TZBE.mjs → chunk-QDO6BAAN.mjs} +13 -5
  63. package/dist/{chunk-P4P6J2SW.mjs → chunk-QJGBUBSB.mjs} +2 -2
  64. package/dist/{chunk-TIGSOXUA.mjs → chunk-QJQ66DYZ.mjs} +1 -1
  65. package/dist/{chunk-ZF2DELZ5.mjs → chunk-QXOHY4AT.mjs} +39 -3
  66. package/dist/{chunk-NF4JWFAZ.mjs → chunk-RFMER577.mjs} +1 -1
  67. package/dist/{chunk-PIGOOCU6.mjs → chunk-RNHGLZYP.mjs} +1 -1
  68. package/dist/{chunk-QUGB53Z3.mjs → chunk-RV4VRLGN.mjs} +1 -1
  69. package/dist/{chunk-KCPLIAIF.mjs → chunk-SJI6X5DK.mjs} +2 -2
  70. package/dist/{chunk-B63AROCU.mjs → chunk-SMX6BH2N.mjs} +1 -1
  71. package/dist/{chunk-L3SZS7PC.mjs → chunk-SNUES6JA.mjs} +1 -1
  72. package/dist/{chunk-6R3QP53O.mjs → chunk-TZH6L2OH.mjs} +2 -2
  73. package/dist/{chunk-EJJNYV7C.mjs → chunk-U6ZFUE5O.mjs} +2 -2
  74. package/dist/{chunk-OPJMXB4K.mjs → chunk-UCK4TW63.mjs} +4 -4
  75. package/dist/{chunk-HI6QOZHR.mjs → chunk-V6VAVPKH.mjs} +1 -1
  76. package/dist/{chunk-PRMR24PY.mjs → chunk-WAR2OXXK.mjs} +4 -4
  77. package/dist/{chunk-4PFDNMLD.mjs → chunk-WEIPDZOJ.mjs} +1 -1
  78. package/dist/{chunk-TLCSKAWQ.mjs → chunk-WZBXR7J3.mjs} +5 -5
  79. package/dist/{chunk-FECAR2TE.mjs → chunk-X4GP2O3Y.mjs} +2 -2
  80. package/dist/{chunk-UNEYYMLL.mjs → chunk-XCZCWSOY.mjs} +2 -2
  81. package/dist/{chunk-QE3XE3LW.mjs → chunk-Y4KJTMKO.mjs} +1 -1
  82. package/dist/{chunk-AOSO2JVA.mjs → chunk-YUZYLKBD.mjs} +1 -1
  83. package/dist/{chunk-YFOEG4PP.mjs → chunk-Z6MYLHDW.mjs} +1 -1
  84. package/dist/{chunk-TP5AUT7W.mjs → chunk-ZJB7AFL5.mjs} +2 -2
  85. package/dist/components/AdvancedComponents/AppSidebar.d.ts +1 -1
  86. package/dist/components/AdvancedComponents/AppSidebar.js +480 -301
  87. package/dist/components/AdvancedComponents/AppSidebar.mjs +3 -3
  88. package/dist/components/AdvancedComponents/index.js +480 -301
  89. package/dist/components/AdvancedComponents/index.mjs +3 -3
  90. package/dist/components/AdvancedComponents/user-selection.d.ts +1 -1
  91. package/dist/components/AdvancedComponents/user-selection.js +1 -1
  92. package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
  93. package/dist/components/Blocks/Banner.mjs +3 -3
  94. package/dist/components/Blocks/CallToAction.mjs +3 -3
  95. package/dist/components/Blocks/CollapsibleArea.mjs +4 -4
  96. package/dist/components/Blocks/Content.mjs +4 -4
  97. package/dist/components/Blocks/FeaturesBlock.mjs +3 -3
  98. package/dist/components/Blocks/RelatedPosts.mjs +4 -4
  99. package/dist/components/Blocks/RenderBlocks.mjs +6 -6
  100. package/dist/components/Blocks/ReusableContentBlock.mjs +6 -6
  101. package/dist/components/Blocks/index.mjs +7 -7
  102. package/dist/components/Cards/ContentCard.mjs +3 -3
  103. package/dist/components/Cards/FeatureCard.mjs +3 -3
  104. package/dist/components/Cards/index.mjs +3 -3
  105. package/dist/components/Chat/CopilotInterface.d.ts +1 -1
  106. package/dist/components/Chat/CopilotInterface.js +527 -330
  107. package/dist/components/Chat/CopilotInterface.mjs +5 -5
  108. package/dist/components/Chat/chat-session-sidebar.d.ts +1 -1
  109. package/dist/components/Chat/demo-long-messages.js +527 -330
  110. package/dist/components/Chat/demo-long-messages.mjs +5 -5
  111. package/dist/components/Chat/demo-tests.js +527 -330
  112. package/dist/components/Chat/demo-tests.mjs +5 -5
  113. package/dist/components/Chat/demo.js +527 -330
  114. package/dist/components/Chat/demo.mjs +5 -5
  115. package/dist/components/Chat/example-usage.js +527 -330
  116. package/dist/components/Chat/example-usage.mjs +6 -6
  117. package/dist/components/Chat/example-with-vercel-ai.js +527 -330
  118. package/dist/components/Chat/example-with-vercel-ai.mjs +5 -5
  119. package/dist/components/Chat/index.js +527 -330
  120. package/dist/components/Chat/index.mjs +8 -8
  121. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +2 -2
  122. package/dist/components/DeliveryLead/index.mjs +4 -4
  123. package/dist/components/DigitalColleagues/Views/TeamsIndexView.d.ts +1 -9
  124. package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +22 -27
  125. package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +4 -6
  126. package/dist/components/DigitalColleagues/index.d.ts +0 -18
  127. package/dist/components/DigitalColleagues/index.js +0 -16754
  128. package/dist/components/DigitalColleagues/test-data.d.ts +1 -112
  129. package/dist/components/DigitalColleagues/test-data.js +482 -308
  130. package/dist/components/DigitalColleagues/test-data.mjs +1 -5
  131. package/dist/components/{Foundary → Foundry}/AppSidebarLeft.js +3 -3
  132. package/dist/components/{DigitalColleagues → Foundry}/AppSidebarLeft.mjs +3 -3
  133. package/dist/components/{Foundary → Foundry}/DashboardHeader.js +2 -2
  134. package/dist/components/{Foundary → Foundry}/DashboardHeader.mjs +1 -1
  135. package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.js +2 -2
  136. package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.mjs +4 -4
  137. package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.js +3 -3
  138. package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.mjs +4 -4
  139. package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.js +2 -2
  140. package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.mjs +1 -1
  141. package/dist/components/{Foundary → Foundry}/LandingMenu.js +2 -2
  142. package/dist/components/{Foundary → Foundry}/LandingMenu.mjs +1 -1
  143. package/dist/components/{Foundary → Foundry}/Login.js +2 -2
  144. package/dist/components/{Foundary → Foundry}/Login.mjs +1 -1
  145. package/dist/components/{Foundary → Foundry}/MainPage.js +4 -4
  146. package/dist/components/{DigitalColleagues → Foundry}/MainPage.mjs +9 -9
  147. package/dist/components/{DigitalColleagues → Foundry}/ManagementSidebar.d.ts +2 -2
  148. package/dist/components/{Foundary → Foundry}/ManagementSidebar.js +12 -4
  149. package/dist/components/{DigitalColleagues → Foundry}/ManagementSidebar.mjs +1 -1
  150. package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.js +1860 -2162
  151. package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.mjs +42 -41
  152. package/dist/components/{Foundary → Foundry}/README-document-edit.js +1 -1
  153. package/dist/components/{Foundary → Foundry}/README-document-edit.mjs +1 -1
  154. package/dist/components/{Foundary → Foundry}/README-document-preview.js +1 -1
  155. package/dist/components/{Foundary → Foundry}/README-document-preview.mjs +1 -1
  156. package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.js +1 -1
  157. package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.mjs +1 -1
  158. package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.js +1 -1
  159. package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.mjs +1 -1
  160. package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.js +1 -1
  161. package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.mjs +1 -1
  162. package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.js +1 -1
  163. package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.mjs +1 -1
  164. package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.js +1 -1
  165. package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.mjs +1 -1
  166. package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.js +1 -1
  167. package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.mjs +1 -1
  168. package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.js +1 -1
  169. package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.mjs +1 -1
  170. package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.js +2 -2
  171. package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.mjs +1 -1
  172. package/dist/components/{Foundary → Foundry}/RichText/index.js +18 -18
  173. package/dist/components/{Foundary → Foundry}/RichText/index.mjs +12 -12
  174. package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.js +4 -4
  175. package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.mjs +2 -2
  176. package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.js +7 -7
  177. package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.mjs +3 -3
  178. package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.js +16 -16
  179. package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.mjs +11 -11
  180. package/dist/components/{Foundary → Foundry}/SearchableSelect.js +2 -2
  181. package/dist/components/{DigitalColleagues → Foundry}/SearchableSelect.mjs +1 -1
  182. package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.d.ts +4 -2
  183. package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.js +526 -211
  184. package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.mjs +12 -10
  185. package/dist/components/Foundry/Views/KnowledgeView.docs.js +2 -0
  186. package/dist/components/Foundry/Views/KnowledgeView.docs.mjs +7 -0
  187. package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.js +29 -29
  188. package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.mjs +21 -21
  189. package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.js +9 -8
  190. package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.mjs +4 -4
  191. package/dist/components/{Foundary → Foundry}/Views/index.js +2929 -2050
  192. package/dist/components/{Foundary → Foundry}/Views/index.mjs +64 -61
  193. package/dist/components/Foundry/add-colleague-to-team-form.d.ts +10 -0
  194. package/dist/components/{DigitalColleagues/colleague-type-selection.js → Foundry/add-colleague-to-team-form.js} +156 -91
  195. package/dist/components/{DigitalColleagues/colleague-card.mjs → Foundry/add-colleague-to-team-form.mjs} +3 -4
  196. package/dist/components/{.archive → Foundry}/app-card.d.ts +1 -1
  197. package/dist/components/Foundry/app-card.js +2669 -0
  198. package/dist/components/{DigitalColleagues/digital-colleague-options.mjs → Foundry/app-card.mjs} +5 -3
  199. package/dist/components/{Foundary → Foundry}/colleague-card.js +2 -2
  200. package/dist/components/{Foundary → Foundry}/colleague-card.mjs +1 -1
  201. package/dist/components/{Foundary → Foundry}/colleague-form.js +4 -4
  202. package/dist/components/{Foundary → Foundry}/colleague-form.mjs +2 -2
  203. package/dist/components/{Foundary → Foundry}/colleague-type-selection.js +2 -2
  204. package/dist/components/{DigitalColleagues → Foundry}/colleague-type-selection.mjs +1 -1
  205. package/dist/components/Foundry/digital-colleague-selection.d.ts +9 -0
  206. package/dist/components/{DigitalColleagues/digital-colleague-clone.js → Foundry/digital-colleague-selection.js} +59 -100
  207. package/dist/components/{DigitalColleagues/digital-colleague-clone.mjs → Foundry/digital-colleague-selection.mjs} +3 -3
  208. package/dist/components/{Foundary → Foundry}/document-edit.js +20 -20
  209. package/dist/components/{Foundary → Foundry}/document-edit.mjs +13 -13
  210. package/dist/components/{Foundary → Foundry}/document-preview-examples.js +24 -24
  211. package/dist/components/{Foundary → Foundry}/document-preview-examples.mjs +15 -15
  212. package/dist/components/{Foundary → Foundry}/document-preview.js +22 -22
  213. package/dist/components/{Foundary → Foundry}/document-preview.mjs +14 -14
  214. package/dist/components/{Foundary → Foundry}/file-edit.js +20 -20
  215. package/dist/components/{Foundary → Foundry}/file-edit.mjs +16 -16
  216. package/dist/components/{Foundary → Foundry}/foundary-clone.js +3 -3
  217. package/dist/components/{Foundary → Foundry}/foundary-clone.mjs +1 -1
  218. package/dist/components/{Foundary → Foundry}/foundary-layout.d.ts +3 -3
  219. package/dist/components/{Foundary → Foundry}/foundary-layout.js +485 -306
  220. package/dist/components/{Foundary → Foundry}/foundary-layout.mjs +6 -6
  221. package/dist/components/{Foundary → Foundry}/foundary-options.d.ts +2 -1
  222. package/dist/components/{Foundary → Foundry}/foundary-options.js +39 -3
  223. package/dist/components/{Foundary → Foundry}/foundary-options.mjs +1 -1
  224. package/dist/components/{Foundary → Foundry}/index.d.ts +3 -1
  225. package/dist/components/{Foundary → Foundry}/index.js +3465 -3267
  226. package/dist/components/{Foundary → Foundry}/index.mjs +102 -95
  227. package/dist/components/{Foundary → Foundry}/knowledge-browser.js +24 -24
  228. package/dist/components/{Foundary → Foundry}/knowledge-browser.mjs +15 -15
  229. package/dist/components/{Foundary → Foundry}/knowledge-search.js +2 -2
  230. package/dist/components/{DigitalColleagues → Foundry}/knowledge-search.mjs +1 -1
  231. package/dist/components/{Foundary → Foundry}/team-form.js +2 -2
  232. package/dist/components/{Foundary → Foundry}/team-form.mjs +1 -1
  233. package/dist/components/{Foundary → Foundry}/test-data.js +1 -1
  234. package/dist/components/{Foundary → Foundry}/test-data.mjs +1 -1
  235. package/dist/components/{Foundary → Foundry}/types.d.ts +26 -0
  236. package/dist/components/{Foundary → Foundry}/types.js +1 -1
  237. package/dist/components/HeaderFooter/Header.mjs +1 -1
  238. package/dist/components/HeaderFooter/SectionHeading.mjs +4 -4
  239. package/dist/components/HeaderFooter/index.mjs +11 -11
  240. package/dist/components/Heros/DashboardHero/DashboardHero.js +5 -4
  241. package/dist/components/Heros/DashboardHero/DashboardHero.mjs +2 -2
  242. package/dist/components/Heros/DashboardHero/index.js +5 -4
  243. package/dist/components/Heros/DashboardHero/index.mjs +2 -2
  244. package/dist/components/Heros/HighImpact/index.mjs +4 -4
  245. package/dist/components/Heros/LowImpact/index.mjs +4 -4
  246. package/dist/components/Heros/MediumImpact/index.mjs +4 -4
  247. package/dist/components/Heros/PostHero/index.mjs +3 -3
  248. package/dist/components/Heros/RenderHero.mjs +7 -7
  249. package/dist/components/Heros/index.js +5 -4
  250. package/dist/components/Heros/index.mjs +14 -14
  251. package/dist/components/Layouts/OutputHeaderFooter.mjs +4 -4
  252. package/dist/components/Layouts/Print.mjs +8 -8
  253. package/dist/components/Layouts/SlideShow.mjs +9 -9
  254. package/dist/components/Layouts/index.mjs +13 -13
  255. package/dist/components/Menus/SidebarLeft.mjs +3 -3
  256. package/dist/components/Menus/SidebarLeftMulti.mjs +3 -3
  257. package/dist/components/Menus/SidebarRight.mjs +3 -3
  258. package/dist/components/Menus/index.mjs +5 -5
  259. package/dist/components/Payload/RichText/index.mjs +3 -3
  260. package/dist/components/Payload/RichText/serialize.mjs +3 -3
  261. package/dist/components/Payload/index.mjs +3 -3
  262. package/dist/components/Projects/AddEpicModal.d.ts +1 -1
  263. package/dist/components/Projects/AddSprintModal.d.ts +1 -1
  264. package/dist/components/Projects/AddTaskModal.d.ts +1 -1
  265. package/dist/components/Projects/EpicFilter.d.ts +6 -2
  266. package/dist/components/Projects/EpicFilter.js +6 -6
  267. package/dist/components/Projects/EpicFilter.mjs +6 -6
  268. package/dist/components/Projects/EpicsView.d.ts +12 -2
  269. package/dist/components/Projects/EpicsView.js +3980 -736
  270. package/dist/components/Projects/EpicsView.mjs +46 -4
  271. package/dist/components/Projects/FileView.d.ts +1 -1
  272. package/dist/components/Projects/FileView.js +24 -23
  273. package/dist/components/Projects/FileView.mjs +20 -20
  274. package/dist/components/Projects/GanttView.d.ts +13 -0
  275. package/dist/components/{DigitalColleagues/colleague-card.js → Projects/GanttView.js} +559 -260
  276. package/dist/components/Projects/GanttView.mjs +20 -0
  277. package/dist/components/Projects/KanbanBoardView.d.ts +1 -1
  278. package/dist/components/Projects/KanbanBoardView.js +25 -24
  279. package/dist/components/Projects/KanbanBoardView.mjs +26 -26
  280. package/dist/components/Projects/KanbanColumn.d.ts +1 -1
  281. package/dist/components/Projects/PlanningView.d.ts +1 -1
  282. package/dist/components/Projects/PlanningView.js +5 -4
  283. package/dist/components/Projects/PlanningView.mjs +3 -3
  284. package/dist/components/Projects/ProjectPage.d.ts +3 -3
  285. package/dist/components/Projects/ProjectPage.js +1744 -983
  286. package/dist/components/Projects/ProjectPage.mjs +39 -38
  287. package/dist/components/Projects/ProjectView.d.ts +2 -2
  288. package/dist/components/Projects/ProjectView.js +1227 -662
  289. package/dist/components/Projects/ProjectView.mjs +34 -33
  290. package/dist/components/Projects/ProjectsIndexView.d.ts +1 -1
  291. package/dist/components/Projects/ProjectsIndexView.js +5 -4
  292. package/dist/components/Projects/ProjectsIndexView.mjs +4 -4
  293. package/dist/components/Projects/SprintBoardView.d.ts +4 -1
  294. package/dist/components/Projects/SprintBoardView.js +271 -129
  295. package/dist/components/Projects/SprintBoardView.mjs +26 -26
  296. package/dist/components/Projects/TaskCard.d.ts +1 -1
  297. package/dist/components/Projects/TaskDetailsModal.d.ts +1 -1
  298. package/dist/components/Projects/TaskDetailsModal.js +20 -20
  299. package/dist/components/Projects/TaskDetailsModal.mjs +20 -20
  300. package/dist/components/Projects/TaskSidebar.d.ts +1 -1
  301. package/dist/components/Projects/TaskSidebar.js +2 -2
  302. package/dist/components/Projects/TaskSidebar.mjs +2 -2
  303. package/dist/components/Projects/TasksView.d.ts +1 -1
  304. package/dist/components/Projects/TasksView.js +5 -4
  305. package/dist/components/Projects/TasksView.mjs +3 -3
  306. package/dist/components/Projects/business-unit-switcher.d.ts +1 -1
  307. package/dist/components/Projects/business-units.d.ts +1 -1
  308. package/dist/components/Projects/file-list.d.ts +1 -1
  309. package/dist/components/Projects/file-list.js +19 -19
  310. package/dist/components/Projects/file-list.mjs +17 -17
  311. package/dist/components/Projects/index.js +557 -250
  312. package/dist/components/Projects/index.mjs +35 -35
  313. package/dist/components/Projects/project-card.d.ts +1 -1
  314. package/dist/components/Projects/project-form.d.ts +1 -1
  315. package/dist/components/Projects/team-card.d.ts +1 -1
  316. package/dist/components/Projects/team-switcher-bar.d.ts +1 -1
  317. package/dist/components/Projects/test-data.d.ts +448 -29
  318. package/dist/components/dc-temp/dashboard-integration-example.js +497 -325
  319. package/dist/components/dc-temp/dashboard-integration-example.mjs +6 -6
  320. package/dist/components/dc-temp/index.d.ts +3 -3
  321. package/dist/components/dc-temp/index.js +3773 -3007
  322. package/dist/components/dc-temp/index.mjs +35 -33
  323. package/dist/components/dc-temp/mock-data.d.ts +2 -2
  324. package/dist/components/index.d.ts +1 -1
  325. package/dist/components/index.js +3337 -3100
  326. package/dist/components/index.mjs +163 -157
  327. package/dist/components/ui/index.mjs +9 -9
  328. package/dist/components/ui/sidebar.mjs +2 -2
  329. package/dist/decorators/Intranet.css +54 -14
  330. package/dist/decorators/Intranet.mjs +99 -99
  331. package/dist/globals.css +54 -14
  332. package/dist/hooks/use-local-storage.d.ts +2 -1
  333. package/dist/hooks/use-local-storage.js +5 -4
  334. package/dist/hooks/use-local-storage.mjs +1 -1
  335. package/dist/index.js +3345 -3108
  336. package/dist/index.mjs +174 -168
  337. package/dist/metafile-cjs.json +1 -1
  338. package/dist/metafile-esm.json +1 -1
  339. package/dist/pages/Blog.mjs +12 -12
  340. package/dist/pages/Documentation.mjs +9 -9
  341. package/dist/pages/IndexPage.mjs +17 -17
  342. package/dist/pages/Intranet.mjs +3 -3
  343. package/dist/pages/LandingPage.mjs +111 -111
  344. package/dist/pages/Page.mjs +16 -16
  345. package/dist/pages/Publish.mjs +100 -100
  346. package/dist/pages/Website.mjs +19 -19
  347. package/dist/sections/AboutSection.mjs +5 -5
  348. package/dist/sections/BlogDetail.mjs +4 -4
  349. package/dist/sections/BlogList.mjs +5 -5
  350. package/dist/sections/BlogListSection.mjs +5 -5
  351. package/dist/sections/ContactSection.mjs +5 -5
  352. package/dist/sections/PageSections.mjs +109 -109
  353. package/dist/sections/PricingSection.mjs +5 -5
  354. package/dist/sections/ServiceDetail.mjs +4 -4
  355. package/dist/sections/ServiceDetailSection.mjs +4 -4
  356. package/dist/sections/ServiceSection.mjs +100 -100
  357. package/dist/sections/form/index.mjs +2 -2
  358. package/dist/sections/index.mjs +109 -109
  359. package/package.json +5 -2
  360. package/dist/chunk-5MMSWFVA.mjs +0 -364
  361. package/dist/chunk-7TDXZ32Q.mjs +0 -197
  362. package/dist/chunk-APXXTGT4.mjs +0 -424
  363. package/dist/chunk-BZENEU5C.mjs +0 -160
  364. package/dist/chunk-CNQTT5P3.mjs +0 -276
  365. package/dist/chunk-CQKCEXF2.mjs +0 -82
  366. package/dist/chunk-EKQB7NJA.mjs +0 -194
  367. package/dist/chunk-G4WW3ZTX.mjs +0 -1063
  368. package/dist/chunk-G7SFQSC7.mjs +0 -306
  369. package/dist/chunk-IWG2URAU.mjs +0 -74
  370. package/dist/chunk-IWSATDRG.mjs +0 -118
  371. package/dist/chunk-JRNDRMIC.mjs +0 -73
  372. package/dist/chunk-K2C4VMGF.mjs +0 -121
  373. package/dist/chunk-M6ELOAGS.mjs +0 -136
  374. package/dist/chunk-NAUBZM7P.mjs +0 -183
  375. package/dist/chunk-NHDPHK6D.mjs +0 -72
  376. package/dist/chunk-R5MJWISX.mjs +0 -194
  377. package/dist/chunk-RKYMAFRJ.mjs +0 -92
  378. package/dist/chunk-SZBUXY6L.mjs +0 -121
  379. package/dist/chunk-UHOCECJY.mjs +0 -365
  380. package/dist/chunk-VY6L37RQ.mjs +0 -103
  381. package/dist/chunk-X6UI73UN.mjs +0 -262
  382. package/dist/components/DigitalColleagues/AppSidebarLeft.js +0 -3407
  383. package/dist/components/DigitalColleagues/DashboardHeader.js +0 -2756
  384. package/dist/components/DigitalColleagues/DashboardHeader.mjs +0 -15
  385. package/dist/components/DigitalColleagues/DigitalColleageusLayout.d.ts +0 -28
  386. package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +0 -4417
  387. package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +0 -31
  388. package/dist/components/DigitalColleagues/MainPage.js +0 -4080
  389. package/dist/components/DigitalColleagues/ManagementSidebar.js +0 -99
  390. package/dist/components/DigitalColleagues/Pages/dashboardpage.d.ts +0 -18
  391. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +0 -8514
  392. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +0 -78
  393. package/dist/components/DigitalColleagues/README-document-edit.js +0 -2
  394. package/dist/components/DigitalColleagues/README-document-edit.mjs +0 -7
  395. package/dist/components/DigitalColleagues/README-document-preview.js +0 -2
  396. package/dist/components/DigitalColleagues/README-document-preview.mjs +0 -7
  397. package/dist/components/DigitalColleagues/SearchableSelect.js +0 -2745
  398. package/dist/components/DigitalColleagues/Views/ColleaguesView.d.ts +0 -14
  399. package/dist/components/DigitalColleagues/Views/ColleaguesView.js +0 -3795
  400. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +0 -28
  401. package/dist/components/DigitalColleagues/Views/KnowledgeView.d.ts +0 -11
  402. package/dist/components/DigitalColleagues/Views/KnowledgeView.docs.js +0 -2
  403. package/dist/components/DigitalColleagues/Views/KnowledgeView.docs.mjs +0 -7
  404. package/dist/components/DigitalColleagues/Views/KnowledgeView.js +0 -3935
  405. package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +0 -26
  406. package/dist/components/DigitalColleagues/Views/index.js +0 -12284
  407. package/dist/components/DigitalColleagues/Views/index.mjs +0 -114
  408. package/dist/components/DigitalColleagues/colleague-form.d.ts +0 -14
  409. package/dist/components/DigitalColleagues/colleague-form.js +0 -3086
  410. package/dist/components/DigitalColleagues/colleague-form.mjs +0 -22
  411. package/dist/components/DigitalColleagues/digital-colleague-clone.d.ts +0 -9
  412. package/dist/components/DigitalColleagues/digital-colleague-options.d.ts +0 -7
  413. package/dist/components/DigitalColleagues/digital-colleague-options.js +0 -2697
  414. package/dist/components/DigitalColleagues/document-edit.d.ts +0 -10
  415. package/dist/components/DigitalColleagues/document-edit.js +0 -3112
  416. package/dist/components/DigitalColleagues/document-edit.mjs +0 -20
  417. package/dist/components/DigitalColleagues/document-preview-examples.js +0 -3433
  418. package/dist/components/DigitalColleagues/document-preview-examples.mjs +0 -151
  419. package/dist/components/DigitalColleagues/document-preview.d.ts +0 -18
  420. package/dist/components/DigitalColleagues/document-preview.js +0 -3296
  421. package/dist/components/DigitalColleagues/document-preview.mjs +0 -21
  422. package/dist/components/DigitalColleagues/index.mjs +0 -200
  423. package/dist/components/DigitalColleagues/knowledge-browser.d.ts +0 -13
  424. package/dist/components/DigitalColleagues/knowledge-browser.js +0 -3581
  425. package/dist/components/DigitalColleagues/knowledge-browser.mjs +0 -23
  426. package/dist/components/DigitalColleagues/knowledge-search.d.ts +0 -12
  427. package/dist/components/DigitalColleagues/knowledge-search.js +0 -2819
  428. package/dist/components/DigitalColleagues/team-form.d.ts +0 -24
  429. package/dist/components/DigitalColleagues/team-form.js +0 -2836
  430. package/dist/components/DigitalColleagues/team-form.mjs +0 -20
  431. package/dist/components/DigitalColleagues/types.d.ts +0 -289
  432. package/dist/components/DigitalColleagues/types.js +0 -18
  433. package/dist/components/Foundary/AppSidebarLeft.css +0 -917
  434. package/dist/components/Foundary/AppSidebarLeft.d.ts +0 -47
  435. package/dist/components/Foundary/AppSidebarLeft.mjs +0 -23
  436. package/dist/components/Foundary/DashboardHeader.css +0 -917
  437. package/dist/components/Foundary/DashboardHeader.d.ts +0 -8
  438. package/dist/components/Foundary/MainPage.css +0 -917
  439. package/dist/components/Foundary/MainPage.d.ts +0 -3
  440. package/dist/components/Foundary/MainPage.mjs +0 -46
  441. package/dist/components/Foundary/ManagementSidebar.d.ts +0 -8
  442. package/dist/components/Foundary/ManagementSidebar.mjs +0 -9
  443. package/dist/components/Foundary/Pages/dashboardpage.css +0 -917
  444. package/dist/components/Foundary/SearchableSelect.css +0 -917
  445. package/dist/components/Foundary/SearchableSelect.d.ts +0 -16
  446. package/dist/components/Foundary/SearchableSelect.mjs +0 -16
  447. package/dist/components/Foundary/Views/ColleaguesView.css +0 -917
  448. package/dist/components/Foundary/Views/KnowledgeView.css +0 -917
  449. package/dist/components/Foundary/Views/KnowledgeView.docs.js +0 -2
  450. package/dist/components/Foundary/Views/KnowledgeView.docs.mjs +0 -7
  451. package/dist/components/Foundary/Views/index.css +0 -917
  452. package/dist/components/Foundary/Views/index.d.ts +0 -7
  453. package/dist/components/Foundary/colleague-card.d.ts +0 -12
  454. package/dist/components/Foundary/colleague-form.css +0 -917
  455. package/dist/components/Foundary/colleague-type-selection.css +0 -917
  456. package/dist/components/Foundary/colleague-type-selection.d.ts +0 -7
  457. package/dist/components/Foundary/colleague-type-selection.mjs +0 -16
  458. package/dist/components/Foundary/document-edit.css +0 -917
  459. package/dist/components/Foundary/document-preview-examples.css +0 -917
  460. package/dist/components/Foundary/document-preview-examples.d.ts +0 -12
  461. package/dist/components/Foundary/document-preview.css +0 -917
  462. package/dist/components/Foundary/index.css +0 -917
  463. package/dist/components/Foundary/knowledge-browser.css +0 -917
  464. package/dist/components/Foundary/knowledge-search.css +0 -917
  465. package/dist/components/Foundary/knowledge-search.mjs +0 -20
  466. package/dist/components/Foundary/team-form.css +0 -917
  467. package/dist/{chunk-AEFGMCK3.mjs → chunk-D5KV6INF.mjs} +3 -3
  468. package/dist/{chunk-SNG6OKEL.mjs → chunk-FTVOJKVA.mjs} +3 -3
  469. package/dist/{chunk-OT2SSFKS.mjs → chunk-GSG52WU5.mjs} +3 -3
  470. /package/dist/components/{DigitalColleagues → Foundry}/AppSidebarLeft.css +0 -0
  471. /package/dist/components/{DigitalColleagues → Foundry}/AppSidebarLeft.d.ts +0 -0
  472. /package/dist/components/{DigitalColleagues → Foundry}/DashboardHeader.css +0 -0
  473. /package/dist/components/{DigitalColleagues → Foundry}/DashboardHeader.d.ts +0 -0
  474. /package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.css +0 -0
  475. /package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.d.ts +0 -0
  476. /package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.css +0 -0
  477. /package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.d.ts +0 -0
  478. /package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.css +0 -0
  479. /package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.d.ts +0 -0
  480. /package/dist/components/{Foundary → Foundry}/LandingMenu.css +0 -0
  481. /package/dist/components/{Foundary → Foundry}/LandingMenu.d.ts +0 -0
  482. /package/dist/components/{Foundary → Foundry}/Login.css +0 -0
  483. /package/dist/components/{Foundary → Foundry}/Login.d.ts +0 -0
  484. /package/dist/components/{DigitalColleagues → Foundry}/MainPage.css +0 -0
  485. /package/dist/components/{DigitalColleagues → Foundry}/MainPage.d.ts +0 -0
  486. /package/dist/components/{DigitalColleagues → Foundry}/Pages/dashboardpage.css +0 -0
  487. /package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.d.ts +0 -0
  488. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.d.ts +0 -0
  489. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.d.ts +0 -0
  490. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.d.ts +0 -0
  491. /package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.d.ts +0 -0
  492. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.d.ts +0 -0
  493. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.d.ts +0 -0
  494. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.d.ts +0 -0
  495. /package/dist/components/{DigitalColleagues/Views → Foundry/RichText/components/RawUploadComponent}/index.css +0 -0
  496. /package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.d.ts +0 -0
  497. /package/dist/components/{DigitalColleagues → Foundry/RichText}/index.css +0 -0
  498. /package/dist/components/{Foundary → Foundry}/RichText/index.d.ts +0 -0
  499. /package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.css +0 -0
  500. /package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.d.ts +0 -0
  501. /package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.css +0 -0
  502. /package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.d.ts +0 -0
  503. /package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.css +0 -0
  504. /package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.d.ts +0 -0
  505. /package/dist/components/{DigitalColleagues → Foundry}/SearchableSelect.css +0 -0
  506. /package/dist/components/{DigitalColleagues → Foundry}/SearchableSelect.d.ts +0 -0
  507. /package/dist/components/{DigitalColleagues → Foundry}/Views/ColleaguesView.css +0 -0
  508. /package/dist/components/{DigitalColleagues → Foundry}/Views/KnowledgeView.css +0 -0
  509. /package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.d.ts +0 -0
  510. /package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.css +0 -0
  511. /package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.d.ts +0 -0
  512. /package/dist/components/{Foundary/RichText/components/RawUploadComponent → Foundry/Views}/index.css +0 -0
  513. /package/dist/components/{DigitalColleagues → Foundry}/Views/index.d.ts +0 -0
  514. /package/dist/components/{DigitalColleagues/DigitalColleageusLayout.css → Foundry/add-colleague-to-team-form.css} +0 -0
  515. /package/dist/components/{DigitalColleagues/colleague-card.css → Foundry/app-card.css} +0 -0
  516. /package/dist/components/{Foundary → Foundry}/colleague-card.css +0 -0
  517. /package/dist/components/{DigitalColleagues → Foundry}/colleague-card.d.ts +0 -0
  518. /package/dist/components/{DigitalColleagues → Foundry}/colleague-form.css +0 -0
  519. /package/dist/components/{Foundary → Foundry}/colleague-form.d.ts +0 -0
  520. /package/dist/components/{DigitalColleagues → Foundry}/colleague-type-selection.css +0 -0
  521. /package/dist/components/{DigitalColleagues → Foundry}/colleague-type-selection.d.ts +0 -0
  522. /package/dist/components/{DigitalColleagues/digital-colleague-clone.css → Foundry/digital-colleague-selection.css} +0 -0
  523. /package/dist/components/{DigitalColleagues → Foundry}/document-edit.css +0 -0
  524. /package/dist/components/{Foundary → Foundry}/document-edit.d.ts +0 -0
  525. /package/dist/components/{DigitalColleagues → Foundry}/document-preview-examples.css +0 -0
  526. /package/dist/components/{DigitalColleagues → Foundry}/document-preview-examples.d.ts +0 -0
  527. /package/dist/components/{DigitalColleagues → Foundry}/document-preview.css +0 -0
  528. /package/dist/components/{Foundary → Foundry}/document-preview.d.ts +0 -0
  529. /package/dist/components/{Foundary → Foundry}/file-edit.css +0 -0
  530. /package/dist/components/{Foundary → Foundry}/file-edit.d.ts +0 -0
  531. /package/dist/components/{Foundary → Foundry}/foundary-clone.css +0 -0
  532. /package/dist/components/{Foundary → Foundry}/foundary-clone.d.ts +0 -0
  533. /package/dist/components/{Foundary → Foundry}/foundary-layout.css +0 -0
  534. /package/dist/components/{Foundary → Foundry}/foundary-options.css +0 -0
  535. /package/dist/components/{Foundary/RichText → Foundry}/index.css +0 -0
  536. /package/dist/components/{DigitalColleagues → Foundry}/knowledge-browser.css +0 -0
  537. /package/dist/components/{Foundary → Foundry}/knowledge-browser.d.ts +0 -0
  538. /package/dist/components/{DigitalColleagues → Foundry}/knowledge-search.css +0 -0
  539. /package/dist/components/{Foundary → Foundry}/knowledge-search.d.ts +0 -0
  540. /package/dist/components/{DigitalColleagues → Foundry}/team-form.css +0 -0
  541. /package/dist/components/{Foundary → Foundry}/team-form.d.ts +0 -0
  542. /package/dist/components/{Foundary → Foundry}/test-data.d.ts +0 -0
  543. /package/dist/components/{DigitalColleagues/digital-colleague-options.css → Projects/GanttView.css} +0 -0
@@ -1,4080 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- "use strict";
5
- "use client";
6
- var __create = Object.create;
7
- var __defProp = Object.defineProperty;
8
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
- var __getOwnPropNames = Object.getOwnPropertyNames;
10
- var __getProtoOf = Object.getPrototypeOf;
11
- var __hasOwnProp = Object.prototype.hasOwnProperty;
12
- var __export = (target, all) => {
13
- for (var name in all)
14
- __defProp(target, name, { get: all[name], enumerable: true });
15
- };
16
- var __copyProps = (to, from, except, desc) => {
17
- if (from && typeof from === "object" || typeof from === "function") {
18
- for (let key of __getOwnPropNames(from))
19
- if (!__hasOwnProp.call(to, key) && key !== except)
20
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
21
- }
22
- return to;
23
- };
24
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
25
- // If the importer is in node compatibility mode or this is not an ESM
26
- // file that has been converted to a CommonJS file using a Babel-
27
- // compatible transform (i.e. "__esModule" has not been set), then set
28
- // "default" to the CommonJS "module.exports" for node compatibility.
29
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
30
- mod
31
- ));
32
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
33
-
34
- // src/components/DigitalColleagues/MainPage.tsx
35
- var MainPage_exports = {};
36
- __export(MainPage_exports, {
37
- default: () => Documentation
38
- });
39
- module.exports = __toCommonJS(MainPage_exports);
40
-
41
- // src/components/ui/breadcrumb.tsx
42
- var React = __toESM(require("react"));
43
- var import_react_icons = require("@radix-ui/react-icons");
44
- var import_react_slot = require("@radix-ui/react-slot");
45
-
46
- // src/utils/cn.ts
47
- var import_clsx = require("clsx");
48
-
49
- // node_modules/.pnpm/tailwind-merge@2.6.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
50
- var CLASS_PART_SEPARATOR = "-";
51
- var createClassGroupUtils = (config) => {
52
- const classMap = createClassMap(config);
53
- const {
54
- conflictingClassGroups,
55
- conflictingClassGroupModifiers
56
- } = config;
57
- const getClassGroupId = (className) => {
58
- const classParts = className.split(CLASS_PART_SEPARATOR);
59
- if (classParts[0] === "" && classParts.length !== 1) {
60
- classParts.shift();
61
- }
62
- return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
63
- };
64
- const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
65
- const conflicts = conflictingClassGroups[classGroupId] || [];
66
- if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
67
- return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
68
- }
69
- return conflicts;
70
- };
71
- return {
72
- getClassGroupId,
73
- getConflictingClassGroupIds
74
- };
75
- };
76
- var getGroupRecursive = (classParts, classPartObject) => {
77
- if (classParts.length === 0) {
78
- return classPartObject.classGroupId;
79
- }
80
- const currentClassPart = classParts[0];
81
- const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
82
- const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : void 0;
83
- if (classGroupFromNextClassPart) {
84
- return classGroupFromNextClassPart;
85
- }
86
- if (classPartObject.validators.length === 0) {
87
- return void 0;
88
- }
89
- const classRest = classParts.join(CLASS_PART_SEPARATOR);
90
- return classPartObject.validators.find(({
91
- validator
92
- }) => validator(classRest))?.classGroupId;
93
- };
94
- var arbitraryPropertyRegex = /^\[(.+)\]$/;
95
- var getGroupIdForArbitraryProperty = (className) => {
96
- if (arbitraryPropertyRegex.test(className)) {
97
- const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
98
- const property = arbitraryPropertyClassName?.substring(0, arbitraryPropertyClassName.indexOf(":"));
99
- if (property) {
100
- return "arbitrary.." + property;
101
- }
102
- }
103
- };
104
- var createClassMap = (config) => {
105
- const {
106
- theme,
107
- prefix
108
- } = config;
109
- const classMap = {
110
- nextPart: /* @__PURE__ */ new Map(),
111
- validators: []
112
- };
113
- const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);
114
- prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {
115
- processClassesRecursively(classGroup, classMap, classGroupId, theme);
116
- });
117
- return classMap;
118
- };
119
- var processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
120
- classGroup.forEach((classDefinition) => {
121
- if (typeof classDefinition === "string") {
122
- const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
123
- classPartObjectToEdit.classGroupId = classGroupId;
124
- return;
125
- }
126
- if (typeof classDefinition === "function") {
127
- if (isThemeGetter(classDefinition)) {
128
- processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
129
- return;
130
- }
131
- classPartObject.validators.push({
132
- validator: classDefinition,
133
- classGroupId
134
- });
135
- return;
136
- }
137
- Object.entries(classDefinition).forEach(([key, classGroup2]) => {
138
- processClassesRecursively(classGroup2, getPart(classPartObject, key), classGroupId, theme);
139
- });
140
- });
141
- };
142
- var getPart = (classPartObject, path) => {
143
- let currentClassPartObject = classPartObject;
144
- path.split(CLASS_PART_SEPARATOR).forEach((pathPart) => {
145
- if (!currentClassPartObject.nextPart.has(pathPart)) {
146
- currentClassPartObject.nextPart.set(pathPart, {
147
- nextPart: /* @__PURE__ */ new Map(),
148
- validators: []
149
- });
150
- }
151
- currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
152
- });
153
- return currentClassPartObject;
154
- };
155
- var isThemeGetter = (func) => func.isThemeGetter;
156
- var getPrefixedClassGroupEntries = (classGroupEntries, prefix) => {
157
- if (!prefix) {
158
- return classGroupEntries;
159
- }
160
- return classGroupEntries.map(([classGroupId, classGroup]) => {
161
- const prefixedClassGroup = classGroup.map((classDefinition) => {
162
- if (typeof classDefinition === "string") {
163
- return prefix + classDefinition;
164
- }
165
- if (typeof classDefinition === "object") {
166
- return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));
167
- }
168
- return classDefinition;
169
- });
170
- return [classGroupId, prefixedClassGroup];
171
- });
172
- };
173
- var createLruCache = (maxCacheSize) => {
174
- if (maxCacheSize < 1) {
175
- return {
176
- get: () => void 0,
177
- set: () => {
178
- }
179
- };
180
- }
181
- let cacheSize = 0;
182
- let cache = /* @__PURE__ */ new Map();
183
- let previousCache = /* @__PURE__ */ new Map();
184
- const update = (key, value) => {
185
- cache.set(key, value);
186
- cacheSize++;
187
- if (cacheSize > maxCacheSize) {
188
- cacheSize = 0;
189
- previousCache = cache;
190
- cache = /* @__PURE__ */ new Map();
191
- }
192
- };
193
- return {
194
- get(key) {
195
- let value = cache.get(key);
196
- if (value !== void 0) {
197
- return value;
198
- }
199
- if ((value = previousCache.get(key)) !== void 0) {
200
- update(key, value);
201
- return value;
202
- }
203
- },
204
- set(key, value) {
205
- if (cache.has(key)) {
206
- cache.set(key, value);
207
- } else {
208
- update(key, value);
209
- }
210
- }
211
- };
212
- };
213
- var IMPORTANT_MODIFIER = "!";
214
- var createParseClassName = (config) => {
215
- const {
216
- separator,
217
- experimentalParseClassName
218
- } = config;
219
- const isSeparatorSingleCharacter = separator.length === 1;
220
- const firstSeparatorCharacter = separator[0];
221
- const separatorLength = separator.length;
222
- const parseClassName = (className) => {
223
- const modifiers = [];
224
- let bracketDepth = 0;
225
- let modifierStart = 0;
226
- let postfixModifierPosition;
227
- for (let index = 0; index < className.length; index++) {
228
- let currentCharacter = className[index];
229
- if (bracketDepth === 0) {
230
- if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {
231
- modifiers.push(className.slice(modifierStart, index));
232
- modifierStart = index + separatorLength;
233
- continue;
234
- }
235
- if (currentCharacter === "/") {
236
- postfixModifierPosition = index;
237
- continue;
238
- }
239
- }
240
- if (currentCharacter === "[") {
241
- bracketDepth++;
242
- } else if (currentCharacter === "]") {
243
- bracketDepth--;
244
- }
245
- }
246
- const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);
247
- const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);
248
- const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;
249
- const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
250
- return {
251
- modifiers,
252
- hasImportantModifier,
253
- baseClassName,
254
- maybePostfixModifierPosition
255
- };
256
- };
257
- if (experimentalParseClassName) {
258
- return (className) => experimentalParseClassName({
259
- className,
260
- parseClassName
261
- });
262
- }
263
- return parseClassName;
264
- };
265
- var sortModifiers = (modifiers) => {
266
- if (modifiers.length <= 1) {
267
- return modifiers;
268
- }
269
- const sortedModifiers = [];
270
- let unsortedModifiers = [];
271
- modifiers.forEach((modifier) => {
272
- const isArbitraryVariant = modifier[0] === "[";
273
- if (isArbitraryVariant) {
274
- sortedModifiers.push(...unsortedModifiers.sort(), modifier);
275
- unsortedModifiers = [];
276
- } else {
277
- unsortedModifiers.push(modifier);
278
- }
279
- });
280
- sortedModifiers.push(...unsortedModifiers.sort());
281
- return sortedModifiers;
282
- };
283
- var createConfigUtils = (config) => ({
284
- cache: createLruCache(config.cacheSize),
285
- parseClassName: createParseClassName(config),
286
- ...createClassGroupUtils(config)
287
- });
288
- var SPLIT_CLASSES_REGEX = /\s+/;
289
- var mergeClassList = (classList, configUtils) => {
290
- const {
291
- parseClassName,
292
- getClassGroupId,
293
- getConflictingClassGroupIds
294
- } = configUtils;
295
- const classGroupsInConflict = [];
296
- const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
297
- let result = "";
298
- for (let index = classNames.length - 1; index >= 0; index -= 1) {
299
- const originalClassName = classNames[index];
300
- const {
301
- modifiers,
302
- hasImportantModifier,
303
- baseClassName,
304
- maybePostfixModifierPosition
305
- } = parseClassName(originalClassName);
306
- let hasPostfixModifier = Boolean(maybePostfixModifierPosition);
307
- let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
308
- if (!classGroupId) {
309
- if (!hasPostfixModifier) {
310
- result = originalClassName + (result.length > 0 ? " " + result : result);
311
- continue;
312
- }
313
- classGroupId = getClassGroupId(baseClassName);
314
- if (!classGroupId) {
315
- result = originalClassName + (result.length > 0 ? " " + result : result);
316
- continue;
317
- }
318
- hasPostfixModifier = false;
319
- }
320
- const variantModifier = sortModifiers(modifiers).join(":");
321
- const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
322
- const classId = modifierId + classGroupId;
323
- if (classGroupsInConflict.includes(classId)) {
324
- continue;
325
- }
326
- classGroupsInConflict.push(classId);
327
- const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
328
- for (let i = 0; i < conflictGroups.length; ++i) {
329
- const group = conflictGroups[i];
330
- classGroupsInConflict.push(modifierId + group);
331
- }
332
- result = originalClassName + (result.length > 0 ? " " + result : result);
333
- }
334
- return result;
335
- };
336
- function twJoin() {
337
- let index = 0;
338
- let argument;
339
- let resolvedValue;
340
- let string = "";
341
- while (index < arguments.length) {
342
- if (argument = arguments[index++]) {
343
- if (resolvedValue = toValue(argument)) {
344
- string && (string += " ");
345
- string += resolvedValue;
346
- }
347
- }
348
- }
349
- return string;
350
- }
351
- var toValue = (mix) => {
352
- if (typeof mix === "string") {
353
- return mix;
354
- }
355
- let resolvedValue;
356
- let string = "";
357
- for (let k = 0; k < mix.length; k++) {
358
- if (mix[k]) {
359
- if (resolvedValue = toValue(mix[k])) {
360
- string && (string += " ");
361
- string += resolvedValue;
362
- }
363
- }
364
- }
365
- return string;
366
- };
367
- function createTailwindMerge(createConfigFirst, ...createConfigRest) {
368
- let configUtils;
369
- let cacheGet;
370
- let cacheSet;
371
- let functionToCall = initTailwindMerge;
372
- function initTailwindMerge(classList) {
373
- const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
374
- configUtils = createConfigUtils(config);
375
- cacheGet = configUtils.cache.get;
376
- cacheSet = configUtils.cache.set;
377
- functionToCall = tailwindMerge;
378
- return tailwindMerge(classList);
379
- }
380
- function tailwindMerge(classList) {
381
- const cachedResult = cacheGet(classList);
382
- if (cachedResult) {
383
- return cachedResult;
384
- }
385
- const result = mergeClassList(classList, configUtils);
386
- cacheSet(classList, result);
387
- return result;
388
- }
389
- return function callTailwindMerge() {
390
- return functionToCall(twJoin.apply(null, arguments));
391
- };
392
- }
393
- var fromTheme = (key) => {
394
- const themeGetter = (theme) => theme[key] || [];
395
- themeGetter.isThemeGetter = true;
396
- return themeGetter;
397
- };
398
- var arbitraryValueRegex = /^\[(?:([a-z-]+):)?(.+)\]$/i;
399
- var fractionRegex = /^\d+\/\d+$/;
400
- var stringLengths = /* @__PURE__ */ new Set(["px", "full", "screen"]);
401
- var tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
402
- 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$/;
403
- var colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
404
- var shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
405
- var imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
406
- var isLength = (value) => isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
407
- var isArbitraryLength = (value) => getIsArbitraryValue(value, "length", isLengthOnly);
408
- var isNumber = (value) => Boolean(value) && !Number.isNaN(Number(value));
409
- var isArbitraryNumber = (value) => getIsArbitraryValue(value, "number", isNumber);
410
- var isInteger = (value) => Boolean(value) && Number.isInteger(Number(value));
411
- var isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
412
- var isArbitraryValue = (value) => arbitraryValueRegex.test(value);
413
- var isTshirtSize = (value) => tshirtUnitRegex.test(value);
414
- var sizeLabels = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
415
- var isArbitrarySize = (value) => getIsArbitraryValue(value, sizeLabels, isNever);
416
- var isArbitraryPosition = (value) => getIsArbitraryValue(value, "position", isNever);
417
- var imageLabels = /* @__PURE__ */ new Set(["image", "url"]);
418
- var isArbitraryImage = (value) => getIsArbitraryValue(value, imageLabels, isImage);
419
- var isArbitraryShadow = (value) => getIsArbitraryValue(value, "", isShadow);
420
- var isAny = () => true;
421
- var getIsArbitraryValue = (value, label, testValue) => {
422
- const result = arbitraryValueRegex.exec(value);
423
- if (result) {
424
- if (result[1]) {
425
- return typeof label === "string" ? result[1] === label : label.has(result[1]);
426
- }
427
- return testValue(result[2]);
428
- }
429
- return false;
430
- };
431
- var isLengthOnly = (value) => (
432
- // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
433
- // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
434
- // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
435
- lengthUnitRegex.test(value) && !colorFunctionRegex.test(value)
436
- );
437
- var isNever = () => false;
438
- var isShadow = (value) => shadowRegex.test(value);
439
- var isImage = (value) => imageRegex.test(value);
440
- var getDefaultConfig = () => {
441
- const colors = fromTheme("colors");
442
- const spacing = fromTheme("spacing");
443
- const blur = fromTheme("blur");
444
- const brightness = fromTheme("brightness");
445
- const borderColor = fromTheme("borderColor");
446
- const borderRadius = fromTheme("borderRadius");
447
- const borderSpacing = fromTheme("borderSpacing");
448
- const borderWidth = fromTheme("borderWidth");
449
- const contrast = fromTheme("contrast");
450
- const grayscale = fromTheme("grayscale");
451
- const hueRotate = fromTheme("hueRotate");
452
- const invert = fromTheme("invert");
453
- const gap = fromTheme("gap");
454
- const gradientColorStops = fromTheme("gradientColorStops");
455
- const gradientColorStopPositions = fromTheme("gradientColorStopPositions");
456
- const inset = fromTheme("inset");
457
- const margin = fromTheme("margin");
458
- const opacity = fromTheme("opacity");
459
- const padding = fromTheme("padding");
460
- const saturate = fromTheme("saturate");
461
- const scale = fromTheme("scale");
462
- const sepia = fromTheme("sepia");
463
- const skew = fromTheme("skew");
464
- const space = fromTheme("space");
465
- const translate = fromTheme("translate");
466
- const getOverscroll = () => ["auto", "contain", "none"];
467
- const getOverflow = () => ["auto", "hidden", "clip", "visible", "scroll"];
468
- const getSpacingWithAutoAndArbitrary = () => ["auto", isArbitraryValue, spacing];
469
- const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];
470
- const getLengthWithEmptyAndArbitrary = () => ["", isLength, isArbitraryLength];
471
- const getNumberWithAutoAndArbitrary = () => ["auto", isNumber, isArbitraryValue];
472
- const getPositions = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
473
- const getLineStyles = () => ["solid", "dashed", "dotted", "double", "none"];
474
- const getBlendModes = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];
475
- const getAlign = () => ["start", "end", "center", "between", "around", "evenly", "stretch"];
476
- const getZeroAndEmpty = () => ["", "0", isArbitraryValue];
477
- const getBreaks = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
478
- const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];
479
- return {
480
- cacheSize: 500,
481
- separator: ":",
482
- theme: {
483
- colors: [isAny],
484
- spacing: [isLength, isArbitraryLength],
485
- blur: ["none", "", isTshirtSize, isArbitraryValue],
486
- brightness: getNumberAndArbitrary(),
487
- borderColor: [colors],
488
- borderRadius: ["none", "", "full", isTshirtSize, isArbitraryValue],
489
- borderSpacing: getSpacingWithArbitrary(),
490
- borderWidth: getLengthWithEmptyAndArbitrary(),
491
- contrast: getNumberAndArbitrary(),
492
- grayscale: getZeroAndEmpty(),
493
- hueRotate: getNumberAndArbitrary(),
494
- invert: getZeroAndEmpty(),
495
- gap: getSpacingWithArbitrary(),
496
- gradientColorStops: [colors],
497
- gradientColorStopPositions: [isPercent, isArbitraryLength],
498
- inset: getSpacingWithAutoAndArbitrary(),
499
- margin: getSpacingWithAutoAndArbitrary(),
500
- opacity: getNumberAndArbitrary(),
501
- padding: getSpacingWithArbitrary(),
502
- saturate: getNumberAndArbitrary(),
503
- scale: getNumberAndArbitrary(),
504
- sepia: getZeroAndEmpty(),
505
- skew: getNumberAndArbitrary(),
506
- space: getSpacingWithArbitrary(),
507
- translate: getSpacingWithArbitrary()
508
- },
509
- classGroups: {
510
- // Layout
511
- /**
512
- * Aspect Ratio
513
- * @see https://tailwindcss.com/docs/aspect-ratio
514
- */
515
- aspect: [{
516
- aspect: ["auto", "square", "video", isArbitraryValue]
517
- }],
518
- /**
519
- * Container
520
- * @see https://tailwindcss.com/docs/container
521
- */
522
- container: ["container"],
523
- /**
524
- * Columns
525
- * @see https://tailwindcss.com/docs/columns
526
- */
527
- columns: [{
528
- columns: [isTshirtSize]
529
- }],
530
- /**
531
- * Break After
532
- * @see https://tailwindcss.com/docs/break-after
533
- */
534
- "break-after": [{
535
- "break-after": getBreaks()
536
- }],
537
- /**
538
- * Break Before
539
- * @see https://tailwindcss.com/docs/break-before
540
- */
541
- "break-before": [{
542
- "break-before": getBreaks()
543
- }],
544
- /**
545
- * Break Inside
546
- * @see https://tailwindcss.com/docs/break-inside
547
- */
548
- "break-inside": [{
549
- "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
550
- }],
551
- /**
552
- * Box Decoration Break
553
- * @see https://tailwindcss.com/docs/box-decoration-break
554
- */
555
- "box-decoration": [{
556
- "box-decoration": ["slice", "clone"]
557
- }],
558
- /**
559
- * Box Sizing
560
- * @see https://tailwindcss.com/docs/box-sizing
561
- */
562
- box: [{
563
- box: ["border", "content"]
564
- }],
565
- /**
566
- * Display
567
- * @see https://tailwindcss.com/docs/display
568
- */
569
- 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"],
570
- /**
571
- * Floats
572
- * @see https://tailwindcss.com/docs/float
573
- */
574
- float: [{
575
- float: ["right", "left", "none", "start", "end"]
576
- }],
577
- /**
578
- * Clear
579
- * @see https://tailwindcss.com/docs/clear
580
- */
581
- clear: [{
582
- clear: ["left", "right", "both", "none", "start", "end"]
583
- }],
584
- /**
585
- * Isolation
586
- * @see https://tailwindcss.com/docs/isolation
587
- */
588
- isolation: ["isolate", "isolation-auto"],
589
- /**
590
- * Object Fit
591
- * @see https://tailwindcss.com/docs/object-fit
592
- */
593
- "object-fit": [{
594
- object: ["contain", "cover", "fill", "none", "scale-down"]
595
- }],
596
- /**
597
- * Object Position
598
- * @see https://tailwindcss.com/docs/object-position
599
- */
600
- "object-position": [{
601
- object: [...getPositions(), isArbitraryValue]
602
- }],
603
- /**
604
- * Overflow
605
- * @see https://tailwindcss.com/docs/overflow
606
- */
607
- overflow: [{
608
- overflow: getOverflow()
609
- }],
610
- /**
611
- * Overflow X
612
- * @see https://tailwindcss.com/docs/overflow
613
- */
614
- "overflow-x": [{
615
- "overflow-x": getOverflow()
616
- }],
617
- /**
618
- * Overflow Y
619
- * @see https://tailwindcss.com/docs/overflow
620
- */
621
- "overflow-y": [{
622
- "overflow-y": getOverflow()
623
- }],
624
- /**
625
- * Overscroll Behavior
626
- * @see https://tailwindcss.com/docs/overscroll-behavior
627
- */
628
- overscroll: [{
629
- overscroll: getOverscroll()
630
- }],
631
- /**
632
- * Overscroll Behavior X
633
- * @see https://tailwindcss.com/docs/overscroll-behavior
634
- */
635
- "overscroll-x": [{
636
- "overscroll-x": getOverscroll()
637
- }],
638
- /**
639
- * Overscroll Behavior Y
640
- * @see https://tailwindcss.com/docs/overscroll-behavior
641
- */
642
- "overscroll-y": [{
643
- "overscroll-y": getOverscroll()
644
- }],
645
- /**
646
- * Position
647
- * @see https://tailwindcss.com/docs/position
648
- */
649
- position: ["static", "fixed", "absolute", "relative", "sticky"],
650
- /**
651
- * Top / Right / Bottom / Left
652
- * @see https://tailwindcss.com/docs/top-right-bottom-left
653
- */
654
- inset: [{
655
- inset: [inset]
656
- }],
657
- /**
658
- * Right / Left
659
- * @see https://tailwindcss.com/docs/top-right-bottom-left
660
- */
661
- "inset-x": [{
662
- "inset-x": [inset]
663
- }],
664
- /**
665
- * Top / Bottom
666
- * @see https://tailwindcss.com/docs/top-right-bottom-left
667
- */
668
- "inset-y": [{
669
- "inset-y": [inset]
670
- }],
671
- /**
672
- * Start
673
- * @see https://tailwindcss.com/docs/top-right-bottom-left
674
- */
675
- start: [{
676
- start: [inset]
677
- }],
678
- /**
679
- * End
680
- * @see https://tailwindcss.com/docs/top-right-bottom-left
681
- */
682
- end: [{
683
- end: [inset]
684
- }],
685
- /**
686
- * Top
687
- * @see https://tailwindcss.com/docs/top-right-bottom-left
688
- */
689
- top: [{
690
- top: [inset]
691
- }],
692
- /**
693
- * Right
694
- * @see https://tailwindcss.com/docs/top-right-bottom-left
695
- */
696
- right: [{
697
- right: [inset]
698
- }],
699
- /**
700
- * Bottom
701
- * @see https://tailwindcss.com/docs/top-right-bottom-left
702
- */
703
- bottom: [{
704
- bottom: [inset]
705
- }],
706
- /**
707
- * Left
708
- * @see https://tailwindcss.com/docs/top-right-bottom-left
709
- */
710
- left: [{
711
- left: [inset]
712
- }],
713
- /**
714
- * Visibility
715
- * @see https://tailwindcss.com/docs/visibility
716
- */
717
- visibility: ["visible", "invisible", "collapse"],
718
- /**
719
- * Z-Index
720
- * @see https://tailwindcss.com/docs/z-index
721
- */
722
- z: [{
723
- z: ["auto", isInteger, isArbitraryValue]
724
- }],
725
- // Flexbox and Grid
726
- /**
727
- * Flex Basis
728
- * @see https://tailwindcss.com/docs/flex-basis
729
- */
730
- basis: [{
731
- basis: getSpacingWithAutoAndArbitrary()
732
- }],
733
- /**
734
- * Flex Direction
735
- * @see https://tailwindcss.com/docs/flex-direction
736
- */
737
- "flex-direction": [{
738
- flex: ["row", "row-reverse", "col", "col-reverse"]
739
- }],
740
- /**
741
- * Flex Wrap
742
- * @see https://tailwindcss.com/docs/flex-wrap
743
- */
744
- "flex-wrap": [{
745
- flex: ["wrap", "wrap-reverse", "nowrap"]
746
- }],
747
- /**
748
- * Flex
749
- * @see https://tailwindcss.com/docs/flex
750
- */
751
- flex: [{
752
- flex: ["1", "auto", "initial", "none", isArbitraryValue]
753
- }],
754
- /**
755
- * Flex Grow
756
- * @see https://tailwindcss.com/docs/flex-grow
757
- */
758
- grow: [{
759
- grow: getZeroAndEmpty()
760
- }],
761
- /**
762
- * Flex Shrink
763
- * @see https://tailwindcss.com/docs/flex-shrink
764
- */
765
- shrink: [{
766
- shrink: getZeroAndEmpty()
767
- }],
768
- /**
769
- * Order
770
- * @see https://tailwindcss.com/docs/order
771
- */
772
- order: [{
773
- order: ["first", "last", "none", isInteger, isArbitraryValue]
774
- }],
775
- /**
776
- * Grid Template Columns
777
- * @see https://tailwindcss.com/docs/grid-template-columns
778
- */
779
- "grid-cols": [{
780
- "grid-cols": [isAny]
781
- }],
782
- /**
783
- * Grid Column Start / End
784
- * @see https://tailwindcss.com/docs/grid-column
785
- */
786
- "col-start-end": [{
787
- col: ["auto", {
788
- span: ["full", isInteger, isArbitraryValue]
789
- }, isArbitraryValue]
790
- }],
791
- /**
792
- * Grid Column Start
793
- * @see https://tailwindcss.com/docs/grid-column
794
- */
795
- "col-start": [{
796
- "col-start": getNumberWithAutoAndArbitrary()
797
- }],
798
- /**
799
- * Grid Column End
800
- * @see https://tailwindcss.com/docs/grid-column
801
- */
802
- "col-end": [{
803
- "col-end": getNumberWithAutoAndArbitrary()
804
- }],
805
- /**
806
- * Grid Template Rows
807
- * @see https://tailwindcss.com/docs/grid-template-rows
808
- */
809
- "grid-rows": [{
810
- "grid-rows": [isAny]
811
- }],
812
- /**
813
- * Grid Row Start / End
814
- * @see https://tailwindcss.com/docs/grid-row
815
- */
816
- "row-start-end": [{
817
- row: ["auto", {
818
- span: [isInteger, isArbitraryValue]
819
- }, isArbitraryValue]
820
- }],
821
- /**
822
- * Grid Row Start
823
- * @see https://tailwindcss.com/docs/grid-row
824
- */
825
- "row-start": [{
826
- "row-start": getNumberWithAutoAndArbitrary()
827
- }],
828
- /**
829
- * Grid Row End
830
- * @see https://tailwindcss.com/docs/grid-row
831
- */
832
- "row-end": [{
833
- "row-end": getNumberWithAutoAndArbitrary()
834
- }],
835
- /**
836
- * Grid Auto Flow
837
- * @see https://tailwindcss.com/docs/grid-auto-flow
838
- */
839
- "grid-flow": [{
840
- "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
841
- }],
842
- /**
843
- * Grid Auto Columns
844
- * @see https://tailwindcss.com/docs/grid-auto-columns
845
- */
846
- "auto-cols": [{
847
- "auto-cols": ["auto", "min", "max", "fr", isArbitraryValue]
848
- }],
849
- /**
850
- * Grid Auto Rows
851
- * @see https://tailwindcss.com/docs/grid-auto-rows
852
- */
853
- "auto-rows": [{
854
- "auto-rows": ["auto", "min", "max", "fr", isArbitraryValue]
855
- }],
856
- /**
857
- * Gap
858
- * @see https://tailwindcss.com/docs/gap
859
- */
860
- gap: [{
861
- gap: [gap]
862
- }],
863
- /**
864
- * Gap X
865
- * @see https://tailwindcss.com/docs/gap
866
- */
867
- "gap-x": [{
868
- "gap-x": [gap]
869
- }],
870
- /**
871
- * Gap Y
872
- * @see https://tailwindcss.com/docs/gap
873
- */
874
- "gap-y": [{
875
- "gap-y": [gap]
876
- }],
877
- /**
878
- * Justify Content
879
- * @see https://tailwindcss.com/docs/justify-content
880
- */
881
- "justify-content": [{
882
- justify: ["normal", ...getAlign()]
883
- }],
884
- /**
885
- * Justify Items
886
- * @see https://tailwindcss.com/docs/justify-items
887
- */
888
- "justify-items": [{
889
- "justify-items": ["start", "end", "center", "stretch"]
890
- }],
891
- /**
892
- * Justify Self
893
- * @see https://tailwindcss.com/docs/justify-self
894
- */
895
- "justify-self": [{
896
- "justify-self": ["auto", "start", "end", "center", "stretch"]
897
- }],
898
- /**
899
- * Align Content
900
- * @see https://tailwindcss.com/docs/align-content
901
- */
902
- "align-content": [{
903
- content: ["normal", ...getAlign(), "baseline"]
904
- }],
905
- /**
906
- * Align Items
907
- * @see https://tailwindcss.com/docs/align-items
908
- */
909
- "align-items": [{
910
- items: ["start", "end", "center", "baseline", "stretch"]
911
- }],
912
- /**
913
- * Align Self
914
- * @see https://tailwindcss.com/docs/align-self
915
- */
916
- "align-self": [{
917
- self: ["auto", "start", "end", "center", "stretch", "baseline"]
918
- }],
919
- /**
920
- * Place Content
921
- * @see https://tailwindcss.com/docs/place-content
922
- */
923
- "place-content": [{
924
- "place-content": [...getAlign(), "baseline"]
925
- }],
926
- /**
927
- * Place Items
928
- * @see https://tailwindcss.com/docs/place-items
929
- */
930
- "place-items": [{
931
- "place-items": ["start", "end", "center", "baseline", "stretch"]
932
- }],
933
- /**
934
- * Place Self
935
- * @see https://tailwindcss.com/docs/place-self
936
- */
937
- "place-self": [{
938
- "place-self": ["auto", "start", "end", "center", "stretch"]
939
- }],
940
- // Spacing
941
- /**
942
- * Padding
943
- * @see https://tailwindcss.com/docs/padding
944
- */
945
- p: [{
946
- p: [padding]
947
- }],
948
- /**
949
- * Padding X
950
- * @see https://tailwindcss.com/docs/padding
951
- */
952
- px: [{
953
- px: [padding]
954
- }],
955
- /**
956
- * Padding Y
957
- * @see https://tailwindcss.com/docs/padding
958
- */
959
- py: [{
960
- py: [padding]
961
- }],
962
- /**
963
- * Padding Start
964
- * @see https://tailwindcss.com/docs/padding
965
- */
966
- ps: [{
967
- ps: [padding]
968
- }],
969
- /**
970
- * Padding End
971
- * @see https://tailwindcss.com/docs/padding
972
- */
973
- pe: [{
974
- pe: [padding]
975
- }],
976
- /**
977
- * Padding Top
978
- * @see https://tailwindcss.com/docs/padding
979
- */
980
- pt: [{
981
- pt: [padding]
982
- }],
983
- /**
984
- * Padding Right
985
- * @see https://tailwindcss.com/docs/padding
986
- */
987
- pr: [{
988
- pr: [padding]
989
- }],
990
- /**
991
- * Padding Bottom
992
- * @see https://tailwindcss.com/docs/padding
993
- */
994
- pb: [{
995
- pb: [padding]
996
- }],
997
- /**
998
- * Padding Left
999
- * @see https://tailwindcss.com/docs/padding
1000
- */
1001
- pl: [{
1002
- pl: [padding]
1003
- }],
1004
- /**
1005
- * Margin
1006
- * @see https://tailwindcss.com/docs/margin
1007
- */
1008
- m: [{
1009
- m: [margin]
1010
- }],
1011
- /**
1012
- * Margin X
1013
- * @see https://tailwindcss.com/docs/margin
1014
- */
1015
- mx: [{
1016
- mx: [margin]
1017
- }],
1018
- /**
1019
- * Margin Y
1020
- * @see https://tailwindcss.com/docs/margin
1021
- */
1022
- my: [{
1023
- my: [margin]
1024
- }],
1025
- /**
1026
- * Margin Start
1027
- * @see https://tailwindcss.com/docs/margin
1028
- */
1029
- ms: [{
1030
- ms: [margin]
1031
- }],
1032
- /**
1033
- * Margin End
1034
- * @see https://tailwindcss.com/docs/margin
1035
- */
1036
- me: [{
1037
- me: [margin]
1038
- }],
1039
- /**
1040
- * Margin Top
1041
- * @see https://tailwindcss.com/docs/margin
1042
- */
1043
- mt: [{
1044
- mt: [margin]
1045
- }],
1046
- /**
1047
- * Margin Right
1048
- * @see https://tailwindcss.com/docs/margin
1049
- */
1050
- mr: [{
1051
- mr: [margin]
1052
- }],
1053
- /**
1054
- * Margin Bottom
1055
- * @see https://tailwindcss.com/docs/margin
1056
- */
1057
- mb: [{
1058
- mb: [margin]
1059
- }],
1060
- /**
1061
- * Margin Left
1062
- * @see https://tailwindcss.com/docs/margin
1063
- */
1064
- ml: [{
1065
- ml: [margin]
1066
- }],
1067
- /**
1068
- * Space Between X
1069
- * @see https://tailwindcss.com/docs/space
1070
- */
1071
- "space-x": [{
1072
- "space-x": [space]
1073
- }],
1074
- /**
1075
- * Space Between X Reverse
1076
- * @see https://tailwindcss.com/docs/space
1077
- */
1078
- "space-x-reverse": ["space-x-reverse"],
1079
- /**
1080
- * Space Between Y
1081
- * @see https://tailwindcss.com/docs/space
1082
- */
1083
- "space-y": [{
1084
- "space-y": [space]
1085
- }],
1086
- /**
1087
- * Space Between Y Reverse
1088
- * @see https://tailwindcss.com/docs/space
1089
- */
1090
- "space-y-reverse": ["space-y-reverse"],
1091
- // Sizing
1092
- /**
1093
- * Width
1094
- * @see https://tailwindcss.com/docs/width
1095
- */
1096
- w: [{
1097
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", isArbitraryValue, spacing]
1098
- }],
1099
- /**
1100
- * Min-Width
1101
- * @see https://tailwindcss.com/docs/min-width
1102
- */
1103
- "min-w": [{
1104
- "min-w": [isArbitraryValue, spacing, "min", "max", "fit"]
1105
- }],
1106
- /**
1107
- * Max-Width
1108
- * @see https://tailwindcss.com/docs/max-width
1109
- */
1110
- "max-w": [{
1111
- "max-w": [isArbitraryValue, spacing, "none", "full", "min", "max", "fit", "prose", {
1112
- screen: [isTshirtSize]
1113
- }, isTshirtSize]
1114
- }],
1115
- /**
1116
- * Height
1117
- * @see https://tailwindcss.com/docs/height
1118
- */
1119
- h: [{
1120
- h: [isArbitraryValue, spacing, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1121
- }],
1122
- /**
1123
- * Min-Height
1124
- * @see https://tailwindcss.com/docs/min-height
1125
- */
1126
- "min-h": [{
1127
- "min-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
1128
- }],
1129
- /**
1130
- * Max-Height
1131
- * @see https://tailwindcss.com/docs/max-height
1132
- */
1133
- "max-h": [{
1134
- "max-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
1135
- }],
1136
- /**
1137
- * Size
1138
- * @see https://tailwindcss.com/docs/size
1139
- */
1140
- size: [{
1141
- size: [isArbitraryValue, spacing, "auto", "min", "max", "fit"]
1142
- }],
1143
- // Typography
1144
- /**
1145
- * Font Size
1146
- * @see https://tailwindcss.com/docs/font-size
1147
- */
1148
- "font-size": [{
1149
- text: ["base", isTshirtSize, isArbitraryLength]
1150
- }],
1151
- /**
1152
- * Font Smoothing
1153
- * @see https://tailwindcss.com/docs/font-smoothing
1154
- */
1155
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
1156
- /**
1157
- * Font Style
1158
- * @see https://tailwindcss.com/docs/font-style
1159
- */
1160
- "font-style": ["italic", "not-italic"],
1161
- /**
1162
- * Font Weight
1163
- * @see https://tailwindcss.com/docs/font-weight
1164
- */
1165
- "font-weight": [{
1166
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", isArbitraryNumber]
1167
- }],
1168
- /**
1169
- * Font Family
1170
- * @see https://tailwindcss.com/docs/font-family
1171
- */
1172
- "font-family": [{
1173
- font: [isAny]
1174
- }],
1175
- /**
1176
- * Font Variant Numeric
1177
- * @see https://tailwindcss.com/docs/font-variant-numeric
1178
- */
1179
- "fvn-normal": ["normal-nums"],
1180
- /**
1181
- * Font Variant Numeric
1182
- * @see https://tailwindcss.com/docs/font-variant-numeric
1183
- */
1184
- "fvn-ordinal": ["ordinal"],
1185
- /**
1186
- * Font Variant Numeric
1187
- * @see https://tailwindcss.com/docs/font-variant-numeric
1188
- */
1189
- "fvn-slashed-zero": ["slashed-zero"],
1190
- /**
1191
- * Font Variant Numeric
1192
- * @see https://tailwindcss.com/docs/font-variant-numeric
1193
- */
1194
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
1195
- /**
1196
- * Font Variant Numeric
1197
- * @see https://tailwindcss.com/docs/font-variant-numeric
1198
- */
1199
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
1200
- /**
1201
- * Font Variant Numeric
1202
- * @see https://tailwindcss.com/docs/font-variant-numeric
1203
- */
1204
- "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1205
- /**
1206
- * Letter Spacing
1207
- * @see https://tailwindcss.com/docs/letter-spacing
1208
- */
1209
- tracking: [{
1210
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", isArbitraryValue]
1211
- }],
1212
- /**
1213
- * Line Clamp
1214
- * @see https://tailwindcss.com/docs/line-clamp
1215
- */
1216
- "line-clamp": [{
1217
- "line-clamp": ["none", isNumber, isArbitraryNumber]
1218
- }],
1219
- /**
1220
- * Line Height
1221
- * @see https://tailwindcss.com/docs/line-height
1222
- */
1223
- leading: [{
1224
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", isLength, isArbitraryValue]
1225
- }],
1226
- /**
1227
- * List Style Image
1228
- * @see https://tailwindcss.com/docs/list-style-image
1229
- */
1230
- "list-image": [{
1231
- "list-image": ["none", isArbitraryValue]
1232
- }],
1233
- /**
1234
- * List Style Type
1235
- * @see https://tailwindcss.com/docs/list-style-type
1236
- */
1237
- "list-style-type": [{
1238
- list: ["none", "disc", "decimal", isArbitraryValue]
1239
- }],
1240
- /**
1241
- * List Style Position
1242
- * @see https://tailwindcss.com/docs/list-style-position
1243
- */
1244
- "list-style-position": [{
1245
- list: ["inside", "outside"]
1246
- }],
1247
- /**
1248
- * Placeholder Color
1249
- * @deprecated since Tailwind CSS v3.0.0
1250
- * @see https://tailwindcss.com/docs/placeholder-color
1251
- */
1252
- "placeholder-color": [{
1253
- placeholder: [colors]
1254
- }],
1255
- /**
1256
- * Placeholder Opacity
1257
- * @see https://tailwindcss.com/docs/placeholder-opacity
1258
- */
1259
- "placeholder-opacity": [{
1260
- "placeholder-opacity": [opacity]
1261
- }],
1262
- /**
1263
- * Text Alignment
1264
- * @see https://tailwindcss.com/docs/text-align
1265
- */
1266
- "text-alignment": [{
1267
- text: ["left", "center", "right", "justify", "start", "end"]
1268
- }],
1269
- /**
1270
- * Text Color
1271
- * @see https://tailwindcss.com/docs/text-color
1272
- */
1273
- "text-color": [{
1274
- text: [colors]
1275
- }],
1276
- /**
1277
- * Text Opacity
1278
- * @see https://tailwindcss.com/docs/text-opacity
1279
- */
1280
- "text-opacity": [{
1281
- "text-opacity": [opacity]
1282
- }],
1283
- /**
1284
- * Text Decoration
1285
- * @see https://tailwindcss.com/docs/text-decoration
1286
- */
1287
- "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1288
- /**
1289
- * Text Decoration Style
1290
- * @see https://tailwindcss.com/docs/text-decoration-style
1291
- */
1292
- "text-decoration-style": [{
1293
- decoration: [...getLineStyles(), "wavy"]
1294
- }],
1295
- /**
1296
- * Text Decoration Thickness
1297
- * @see https://tailwindcss.com/docs/text-decoration-thickness
1298
- */
1299
- "text-decoration-thickness": [{
1300
- decoration: ["auto", "from-font", isLength, isArbitraryLength]
1301
- }],
1302
- /**
1303
- * Text Underline Offset
1304
- * @see https://tailwindcss.com/docs/text-underline-offset
1305
- */
1306
- "underline-offset": [{
1307
- "underline-offset": ["auto", isLength, isArbitraryValue]
1308
- }],
1309
- /**
1310
- * Text Decoration Color
1311
- * @see https://tailwindcss.com/docs/text-decoration-color
1312
- */
1313
- "text-decoration-color": [{
1314
- decoration: [colors]
1315
- }],
1316
- /**
1317
- * Text Transform
1318
- * @see https://tailwindcss.com/docs/text-transform
1319
- */
1320
- "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1321
- /**
1322
- * Text Overflow
1323
- * @see https://tailwindcss.com/docs/text-overflow
1324
- */
1325
- "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1326
- /**
1327
- * Text Wrap
1328
- * @see https://tailwindcss.com/docs/text-wrap
1329
- */
1330
- "text-wrap": [{
1331
- text: ["wrap", "nowrap", "balance", "pretty"]
1332
- }],
1333
- /**
1334
- * Text Indent
1335
- * @see https://tailwindcss.com/docs/text-indent
1336
- */
1337
- indent: [{
1338
- indent: getSpacingWithArbitrary()
1339
- }],
1340
- /**
1341
- * Vertical Alignment
1342
- * @see https://tailwindcss.com/docs/vertical-align
1343
- */
1344
- "vertical-align": [{
1345
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", isArbitraryValue]
1346
- }],
1347
- /**
1348
- * Whitespace
1349
- * @see https://tailwindcss.com/docs/whitespace
1350
- */
1351
- whitespace: [{
1352
- whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1353
- }],
1354
- /**
1355
- * Word Break
1356
- * @see https://tailwindcss.com/docs/word-break
1357
- */
1358
- break: [{
1359
- break: ["normal", "words", "all", "keep"]
1360
- }],
1361
- /**
1362
- * Hyphens
1363
- * @see https://tailwindcss.com/docs/hyphens
1364
- */
1365
- hyphens: [{
1366
- hyphens: ["none", "manual", "auto"]
1367
- }],
1368
- /**
1369
- * Content
1370
- * @see https://tailwindcss.com/docs/content
1371
- */
1372
- content: [{
1373
- content: ["none", isArbitraryValue]
1374
- }],
1375
- // Backgrounds
1376
- /**
1377
- * Background Attachment
1378
- * @see https://tailwindcss.com/docs/background-attachment
1379
- */
1380
- "bg-attachment": [{
1381
- bg: ["fixed", "local", "scroll"]
1382
- }],
1383
- /**
1384
- * Background Clip
1385
- * @see https://tailwindcss.com/docs/background-clip
1386
- */
1387
- "bg-clip": [{
1388
- "bg-clip": ["border", "padding", "content", "text"]
1389
- }],
1390
- /**
1391
- * Background Opacity
1392
- * @deprecated since Tailwind CSS v3.0.0
1393
- * @see https://tailwindcss.com/docs/background-opacity
1394
- */
1395
- "bg-opacity": [{
1396
- "bg-opacity": [opacity]
1397
- }],
1398
- /**
1399
- * Background Origin
1400
- * @see https://tailwindcss.com/docs/background-origin
1401
- */
1402
- "bg-origin": [{
1403
- "bg-origin": ["border", "padding", "content"]
1404
- }],
1405
- /**
1406
- * Background Position
1407
- * @see https://tailwindcss.com/docs/background-position
1408
- */
1409
- "bg-position": [{
1410
- bg: [...getPositions(), isArbitraryPosition]
1411
- }],
1412
- /**
1413
- * Background Repeat
1414
- * @see https://tailwindcss.com/docs/background-repeat
1415
- */
1416
- "bg-repeat": [{
1417
- bg: ["no-repeat", {
1418
- repeat: ["", "x", "y", "round", "space"]
1419
- }]
1420
- }],
1421
- /**
1422
- * Background Size
1423
- * @see https://tailwindcss.com/docs/background-size
1424
- */
1425
- "bg-size": [{
1426
- bg: ["auto", "cover", "contain", isArbitrarySize]
1427
- }],
1428
- /**
1429
- * Background Image
1430
- * @see https://tailwindcss.com/docs/background-image
1431
- */
1432
- "bg-image": [{
1433
- bg: ["none", {
1434
- "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1435
- }, isArbitraryImage]
1436
- }],
1437
- /**
1438
- * Background Color
1439
- * @see https://tailwindcss.com/docs/background-color
1440
- */
1441
- "bg-color": [{
1442
- bg: [colors]
1443
- }],
1444
- /**
1445
- * Gradient Color Stops From Position
1446
- * @see https://tailwindcss.com/docs/gradient-color-stops
1447
- */
1448
- "gradient-from-pos": [{
1449
- from: [gradientColorStopPositions]
1450
- }],
1451
- /**
1452
- * Gradient Color Stops Via Position
1453
- * @see https://tailwindcss.com/docs/gradient-color-stops
1454
- */
1455
- "gradient-via-pos": [{
1456
- via: [gradientColorStopPositions]
1457
- }],
1458
- /**
1459
- * Gradient Color Stops To Position
1460
- * @see https://tailwindcss.com/docs/gradient-color-stops
1461
- */
1462
- "gradient-to-pos": [{
1463
- to: [gradientColorStopPositions]
1464
- }],
1465
- /**
1466
- * Gradient Color Stops From
1467
- * @see https://tailwindcss.com/docs/gradient-color-stops
1468
- */
1469
- "gradient-from": [{
1470
- from: [gradientColorStops]
1471
- }],
1472
- /**
1473
- * Gradient Color Stops Via
1474
- * @see https://tailwindcss.com/docs/gradient-color-stops
1475
- */
1476
- "gradient-via": [{
1477
- via: [gradientColorStops]
1478
- }],
1479
- /**
1480
- * Gradient Color Stops To
1481
- * @see https://tailwindcss.com/docs/gradient-color-stops
1482
- */
1483
- "gradient-to": [{
1484
- to: [gradientColorStops]
1485
- }],
1486
- // Borders
1487
- /**
1488
- * Border Radius
1489
- * @see https://tailwindcss.com/docs/border-radius
1490
- */
1491
- rounded: [{
1492
- rounded: [borderRadius]
1493
- }],
1494
- /**
1495
- * Border Radius Start
1496
- * @see https://tailwindcss.com/docs/border-radius
1497
- */
1498
- "rounded-s": [{
1499
- "rounded-s": [borderRadius]
1500
- }],
1501
- /**
1502
- * Border Radius End
1503
- * @see https://tailwindcss.com/docs/border-radius
1504
- */
1505
- "rounded-e": [{
1506
- "rounded-e": [borderRadius]
1507
- }],
1508
- /**
1509
- * Border Radius Top
1510
- * @see https://tailwindcss.com/docs/border-radius
1511
- */
1512
- "rounded-t": [{
1513
- "rounded-t": [borderRadius]
1514
- }],
1515
- /**
1516
- * Border Radius Right
1517
- * @see https://tailwindcss.com/docs/border-radius
1518
- */
1519
- "rounded-r": [{
1520
- "rounded-r": [borderRadius]
1521
- }],
1522
- /**
1523
- * Border Radius Bottom
1524
- * @see https://tailwindcss.com/docs/border-radius
1525
- */
1526
- "rounded-b": [{
1527
- "rounded-b": [borderRadius]
1528
- }],
1529
- /**
1530
- * Border Radius Left
1531
- * @see https://tailwindcss.com/docs/border-radius
1532
- */
1533
- "rounded-l": [{
1534
- "rounded-l": [borderRadius]
1535
- }],
1536
- /**
1537
- * Border Radius Start Start
1538
- * @see https://tailwindcss.com/docs/border-radius
1539
- */
1540
- "rounded-ss": [{
1541
- "rounded-ss": [borderRadius]
1542
- }],
1543
- /**
1544
- * Border Radius Start End
1545
- * @see https://tailwindcss.com/docs/border-radius
1546
- */
1547
- "rounded-se": [{
1548
- "rounded-se": [borderRadius]
1549
- }],
1550
- /**
1551
- * Border Radius End End
1552
- * @see https://tailwindcss.com/docs/border-radius
1553
- */
1554
- "rounded-ee": [{
1555
- "rounded-ee": [borderRadius]
1556
- }],
1557
- /**
1558
- * Border Radius End Start
1559
- * @see https://tailwindcss.com/docs/border-radius
1560
- */
1561
- "rounded-es": [{
1562
- "rounded-es": [borderRadius]
1563
- }],
1564
- /**
1565
- * Border Radius Top Left
1566
- * @see https://tailwindcss.com/docs/border-radius
1567
- */
1568
- "rounded-tl": [{
1569
- "rounded-tl": [borderRadius]
1570
- }],
1571
- /**
1572
- * Border Radius Top Right
1573
- * @see https://tailwindcss.com/docs/border-radius
1574
- */
1575
- "rounded-tr": [{
1576
- "rounded-tr": [borderRadius]
1577
- }],
1578
- /**
1579
- * Border Radius Bottom Right
1580
- * @see https://tailwindcss.com/docs/border-radius
1581
- */
1582
- "rounded-br": [{
1583
- "rounded-br": [borderRadius]
1584
- }],
1585
- /**
1586
- * Border Radius Bottom Left
1587
- * @see https://tailwindcss.com/docs/border-radius
1588
- */
1589
- "rounded-bl": [{
1590
- "rounded-bl": [borderRadius]
1591
- }],
1592
- /**
1593
- * Border Width
1594
- * @see https://tailwindcss.com/docs/border-width
1595
- */
1596
- "border-w": [{
1597
- border: [borderWidth]
1598
- }],
1599
- /**
1600
- * Border Width X
1601
- * @see https://tailwindcss.com/docs/border-width
1602
- */
1603
- "border-w-x": [{
1604
- "border-x": [borderWidth]
1605
- }],
1606
- /**
1607
- * Border Width Y
1608
- * @see https://tailwindcss.com/docs/border-width
1609
- */
1610
- "border-w-y": [{
1611
- "border-y": [borderWidth]
1612
- }],
1613
- /**
1614
- * Border Width Start
1615
- * @see https://tailwindcss.com/docs/border-width
1616
- */
1617
- "border-w-s": [{
1618
- "border-s": [borderWidth]
1619
- }],
1620
- /**
1621
- * Border Width End
1622
- * @see https://tailwindcss.com/docs/border-width
1623
- */
1624
- "border-w-e": [{
1625
- "border-e": [borderWidth]
1626
- }],
1627
- /**
1628
- * Border Width Top
1629
- * @see https://tailwindcss.com/docs/border-width
1630
- */
1631
- "border-w-t": [{
1632
- "border-t": [borderWidth]
1633
- }],
1634
- /**
1635
- * Border Width Right
1636
- * @see https://tailwindcss.com/docs/border-width
1637
- */
1638
- "border-w-r": [{
1639
- "border-r": [borderWidth]
1640
- }],
1641
- /**
1642
- * Border Width Bottom
1643
- * @see https://tailwindcss.com/docs/border-width
1644
- */
1645
- "border-w-b": [{
1646
- "border-b": [borderWidth]
1647
- }],
1648
- /**
1649
- * Border Width Left
1650
- * @see https://tailwindcss.com/docs/border-width
1651
- */
1652
- "border-w-l": [{
1653
- "border-l": [borderWidth]
1654
- }],
1655
- /**
1656
- * Border Opacity
1657
- * @see https://tailwindcss.com/docs/border-opacity
1658
- */
1659
- "border-opacity": [{
1660
- "border-opacity": [opacity]
1661
- }],
1662
- /**
1663
- * Border Style
1664
- * @see https://tailwindcss.com/docs/border-style
1665
- */
1666
- "border-style": [{
1667
- border: [...getLineStyles(), "hidden"]
1668
- }],
1669
- /**
1670
- * Divide Width X
1671
- * @see https://tailwindcss.com/docs/divide-width
1672
- */
1673
- "divide-x": [{
1674
- "divide-x": [borderWidth]
1675
- }],
1676
- /**
1677
- * Divide Width X Reverse
1678
- * @see https://tailwindcss.com/docs/divide-width
1679
- */
1680
- "divide-x-reverse": ["divide-x-reverse"],
1681
- /**
1682
- * Divide Width Y
1683
- * @see https://tailwindcss.com/docs/divide-width
1684
- */
1685
- "divide-y": [{
1686
- "divide-y": [borderWidth]
1687
- }],
1688
- /**
1689
- * Divide Width Y Reverse
1690
- * @see https://tailwindcss.com/docs/divide-width
1691
- */
1692
- "divide-y-reverse": ["divide-y-reverse"],
1693
- /**
1694
- * Divide Opacity
1695
- * @see https://tailwindcss.com/docs/divide-opacity
1696
- */
1697
- "divide-opacity": [{
1698
- "divide-opacity": [opacity]
1699
- }],
1700
- /**
1701
- * Divide Style
1702
- * @see https://tailwindcss.com/docs/divide-style
1703
- */
1704
- "divide-style": [{
1705
- divide: getLineStyles()
1706
- }],
1707
- /**
1708
- * Border Color
1709
- * @see https://tailwindcss.com/docs/border-color
1710
- */
1711
- "border-color": [{
1712
- border: [borderColor]
1713
- }],
1714
- /**
1715
- * Border Color X
1716
- * @see https://tailwindcss.com/docs/border-color
1717
- */
1718
- "border-color-x": [{
1719
- "border-x": [borderColor]
1720
- }],
1721
- /**
1722
- * Border Color Y
1723
- * @see https://tailwindcss.com/docs/border-color
1724
- */
1725
- "border-color-y": [{
1726
- "border-y": [borderColor]
1727
- }],
1728
- /**
1729
- * Border Color S
1730
- * @see https://tailwindcss.com/docs/border-color
1731
- */
1732
- "border-color-s": [{
1733
- "border-s": [borderColor]
1734
- }],
1735
- /**
1736
- * Border Color E
1737
- * @see https://tailwindcss.com/docs/border-color
1738
- */
1739
- "border-color-e": [{
1740
- "border-e": [borderColor]
1741
- }],
1742
- /**
1743
- * Border Color Top
1744
- * @see https://tailwindcss.com/docs/border-color
1745
- */
1746
- "border-color-t": [{
1747
- "border-t": [borderColor]
1748
- }],
1749
- /**
1750
- * Border Color Right
1751
- * @see https://tailwindcss.com/docs/border-color
1752
- */
1753
- "border-color-r": [{
1754
- "border-r": [borderColor]
1755
- }],
1756
- /**
1757
- * Border Color Bottom
1758
- * @see https://tailwindcss.com/docs/border-color
1759
- */
1760
- "border-color-b": [{
1761
- "border-b": [borderColor]
1762
- }],
1763
- /**
1764
- * Border Color Left
1765
- * @see https://tailwindcss.com/docs/border-color
1766
- */
1767
- "border-color-l": [{
1768
- "border-l": [borderColor]
1769
- }],
1770
- /**
1771
- * Divide Color
1772
- * @see https://tailwindcss.com/docs/divide-color
1773
- */
1774
- "divide-color": [{
1775
- divide: [borderColor]
1776
- }],
1777
- /**
1778
- * Outline Style
1779
- * @see https://tailwindcss.com/docs/outline-style
1780
- */
1781
- "outline-style": [{
1782
- outline: ["", ...getLineStyles()]
1783
- }],
1784
- /**
1785
- * Outline Offset
1786
- * @see https://tailwindcss.com/docs/outline-offset
1787
- */
1788
- "outline-offset": [{
1789
- "outline-offset": [isLength, isArbitraryValue]
1790
- }],
1791
- /**
1792
- * Outline Width
1793
- * @see https://tailwindcss.com/docs/outline-width
1794
- */
1795
- "outline-w": [{
1796
- outline: [isLength, isArbitraryLength]
1797
- }],
1798
- /**
1799
- * Outline Color
1800
- * @see https://tailwindcss.com/docs/outline-color
1801
- */
1802
- "outline-color": [{
1803
- outline: [colors]
1804
- }],
1805
- /**
1806
- * Ring Width
1807
- * @see https://tailwindcss.com/docs/ring-width
1808
- */
1809
- "ring-w": [{
1810
- ring: getLengthWithEmptyAndArbitrary()
1811
- }],
1812
- /**
1813
- * Ring Width Inset
1814
- * @see https://tailwindcss.com/docs/ring-width
1815
- */
1816
- "ring-w-inset": ["ring-inset"],
1817
- /**
1818
- * Ring Color
1819
- * @see https://tailwindcss.com/docs/ring-color
1820
- */
1821
- "ring-color": [{
1822
- ring: [colors]
1823
- }],
1824
- /**
1825
- * Ring Opacity
1826
- * @see https://tailwindcss.com/docs/ring-opacity
1827
- */
1828
- "ring-opacity": [{
1829
- "ring-opacity": [opacity]
1830
- }],
1831
- /**
1832
- * Ring Offset Width
1833
- * @see https://tailwindcss.com/docs/ring-offset-width
1834
- */
1835
- "ring-offset-w": [{
1836
- "ring-offset": [isLength, isArbitraryLength]
1837
- }],
1838
- /**
1839
- * Ring Offset Color
1840
- * @see https://tailwindcss.com/docs/ring-offset-color
1841
- */
1842
- "ring-offset-color": [{
1843
- "ring-offset": [colors]
1844
- }],
1845
- // Effects
1846
- /**
1847
- * Box Shadow
1848
- * @see https://tailwindcss.com/docs/box-shadow
1849
- */
1850
- shadow: [{
1851
- shadow: ["", "inner", "none", isTshirtSize, isArbitraryShadow]
1852
- }],
1853
- /**
1854
- * Box Shadow Color
1855
- * @see https://tailwindcss.com/docs/box-shadow-color
1856
- */
1857
- "shadow-color": [{
1858
- shadow: [isAny]
1859
- }],
1860
- /**
1861
- * Opacity
1862
- * @see https://tailwindcss.com/docs/opacity
1863
- */
1864
- opacity: [{
1865
- opacity: [opacity]
1866
- }],
1867
- /**
1868
- * Mix Blend Mode
1869
- * @see https://tailwindcss.com/docs/mix-blend-mode
1870
- */
1871
- "mix-blend": [{
1872
- "mix-blend": [...getBlendModes(), "plus-lighter", "plus-darker"]
1873
- }],
1874
- /**
1875
- * Background Blend Mode
1876
- * @see https://tailwindcss.com/docs/background-blend-mode
1877
- */
1878
- "bg-blend": [{
1879
- "bg-blend": getBlendModes()
1880
- }],
1881
- // Filters
1882
- /**
1883
- * Filter
1884
- * @deprecated since Tailwind CSS v3.0.0
1885
- * @see https://tailwindcss.com/docs/filter
1886
- */
1887
- filter: [{
1888
- filter: ["", "none"]
1889
- }],
1890
- /**
1891
- * Blur
1892
- * @see https://tailwindcss.com/docs/blur
1893
- */
1894
- blur: [{
1895
- blur: [blur]
1896
- }],
1897
- /**
1898
- * Brightness
1899
- * @see https://tailwindcss.com/docs/brightness
1900
- */
1901
- brightness: [{
1902
- brightness: [brightness]
1903
- }],
1904
- /**
1905
- * Contrast
1906
- * @see https://tailwindcss.com/docs/contrast
1907
- */
1908
- contrast: [{
1909
- contrast: [contrast]
1910
- }],
1911
- /**
1912
- * Drop Shadow
1913
- * @see https://tailwindcss.com/docs/drop-shadow
1914
- */
1915
- "drop-shadow": [{
1916
- "drop-shadow": ["", "none", isTshirtSize, isArbitraryValue]
1917
- }],
1918
- /**
1919
- * Grayscale
1920
- * @see https://tailwindcss.com/docs/grayscale
1921
- */
1922
- grayscale: [{
1923
- grayscale: [grayscale]
1924
- }],
1925
- /**
1926
- * Hue Rotate
1927
- * @see https://tailwindcss.com/docs/hue-rotate
1928
- */
1929
- "hue-rotate": [{
1930
- "hue-rotate": [hueRotate]
1931
- }],
1932
- /**
1933
- * Invert
1934
- * @see https://tailwindcss.com/docs/invert
1935
- */
1936
- invert: [{
1937
- invert: [invert]
1938
- }],
1939
- /**
1940
- * Saturate
1941
- * @see https://tailwindcss.com/docs/saturate
1942
- */
1943
- saturate: [{
1944
- saturate: [saturate]
1945
- }],
1946
- /**
1947
- * Sepia
1948
- * @see https://tailwindcss.com/docs/sepia
1949
- */
1950
- sepia: [{
1951
- sepia: [sepia]
1952
- }],
1953
- /**
1954
- * Backdrop Filter
1955
- * @deprecated since Tailwind CSS v3.0.0
1956
- * @see https://tailwindcss.com/docs/backdrop-filter
1957
- */
1958
- "backdrop-filter": [{
1959
- "backdrop-filter": ["", "none"]
1960
- }],
1961
- /**
1962
- * Backdrop Blur
1963
- * @see https://tailwindcss.com/docs/backdrop-blur
1964
- */
1965
- "backdrop-blur": [{
1966
- "backdrop-blur": [blur]
1967
- }],
1968
- /**
1969
- * Backdrop Brightness
1970
- * @see https://tailwindcss.com/docs/backdrop-brightness
1971
- */
1972
- "backdrop-brightness": [{
1973
- "backdrop-brightness": [brightness]
1974
- }],
1975
- /**
1976
- * Backdrop Contrast
1977
- * @see https://tailwindcss.com/docs/backdrop-contrast
1978
- */
1979
- "backdrop-contrast": [{
1980
- "backdrop-contrast": [contrast]
1981
- }],
1982
- /**
1983
- * Backdrop Grayscale
1984
- * @see https://tailwindcss.com/docs/backdrop-grayscale
1985
- */
1986
- "backdrop-grayscale": [{
1987
- "backdrop-grayscale": [grayscale]
1988
- }],
1989
- /**
1990
- * Backdrop Hue Rotate
1991
- * @see https://tailwindcss.com/docs/backdrop-hue-rotate
1992
- */
1993
- "backdrop-hue-rotate": [{
1994
- "backdrop-hue-rotate": [hueRotate]
1995
- }],
1996
- /**
1997
- * Backdrop Invert
1998
- * @see https://tailwindcss.com/docs/backdrop-invert
1999
- */
2000
- "backdrop-invert": [{
2001
- "backdrop-invert": [invert]
2002
- }],
2003
- /**
2004
- * Backdrop Opacity
2005
- * @see https://tailwindcss.com/docs/backdrop-opacity
2006
- */
2007
- "backdrop-opacity": [{
2008
- "backdrop-opacity": [opacity]
2009
- }],
2010
- /**
2011
- * Backdrop Saturate
2012
- * @see https://tailwindcss.com/docs/backdrop-saturate
2013
- */
2014
- "backdrop-saturate": [{
2015
- "backdrop-saturate": [saturate]
2016
- }],
2017
- /**
2018
- * Backdrop Sepia
2019
- * @see https://tailwindcss.com/docs/backdrop-sepia
2020
- */
2021
- "backdrop-sepia": [{
2022
- "backdrop-sepia": [sepia]
2023
- }],
2024
- // Tables
2025
- /**
2026
- * Border Collapse
2027
- * @see https://tailwindcss.com/docs/border-collapse
2028
- */
2029
- "border-collapse": [{
2030
- border: ["collapse", "separate"]
2031
- }],
2032
- /**
2033
- * Border Spacing
2034
- * @see https://tailwindcss.com/docs/border-spacing
2035
- */
2036
- "border-spacing": [{
2037
- "border-spacing": [borderSpacing]
2038
- }],
2039
- /**
2040
- * Border Spacing X
2041
- * @see https://tailwindcss.com/docs/border-spacing
2042
- */
2043
- "border-spacing-x": [{
2044
- "border-spacing-x": [borderSpacing]
2045
- }],
2046
- /**
2047
- * Border Spacing Y
2048
- * @see https://tailwindcss.com/docs/border-spacing
2049
- */
2050
- "border-spacing-y": [{
2051
- "border-spacing-y": [borderSpacing]
2052
- }],
2053
- /**
2054
- * Table Layout
2055
- * @see https://tailwindcss.com/docs/table-layout
2056
- */
2057
- "table-layout": [{
2058
- table: ["auto", "fixed"]
2059
- }],
2060
- /**
2061
- * Caption Side
2062
- * @see https://tailwindcss.com/docs/caption-side
2063
- */
2064
- caption: [{
2065
- caption: ["top", "bottom"]
2066
- }],
2067
- // Transitions and Animation
2068
- /**
2069
- * Tranisition Property
2070
- * @see https://tailwindcss.com/docs/transition-property
2071
- */
2072
- transition: [{
2073
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", isArbitraryValue]
2074
- }],
2075
- /**
2076
- * Transition Duration
2077
- * @see https://tailwindcss.com/docs/transition-duration
2078
- */
2079
- duration: [{
2080
- duration: getNumberAndArbitrary()
2081
- }],
2082
- /**
2083
- * Transition Timing Function
2084
- * @see https://tailwindcss.com/docs/transition-timing-function
2085
- */
2086
- ease: [{
2087
- ease: ["linear", "in", "out", "in-out", isArbitraryValue]
2088
- }],
2089
- /**
2090
- * Transition Delay
2091
- * @see https://tailwindcss.com/docs/transition-delay
2092
- */
2093
- delay: [{
2094
- delay: getNumberAndArbitrary()
2095
- }],
2096
- /**
2097
- * Animation
2098
- * @see https://tailwindcss.com/docs/animation
2099
- */
2100
- animate: [{
2101
- animate: ["none", "spin", "ping", "pulse", "bounce", isArbitraryValue]
2102
- }],
2103
- // Transforms
2104
- /**
2105
- * Transform
2106
- * @see https://tailwindcss.com/docs/transform
2107
- */
2108
- transform: [{
2109
- transform: ["", "gpu", "none"]
2110
- }],
2111
- /**
2112
- * Scale
2113
- * @see https://tailwindcss.com/docs/scale
2114
- */
2115
- scale: [{
2116
- scale: [scale]
2117
- }],
2118
- /**
2119
- * Scale X
2120
- * @see https://tailwindcss.com/docs/scale
2121
- */
2122
- "scale-x": [{
2123
- "scale-x": [scale]
2124
- }],
2125
- /**
2126
- * Scale Y
2127
- * @see https://tailwindcss.com/docs/scale
2128
- */
2129
- "scale-y": [{
2130
- "scale-y": [scale]
2131
- }],
2132
- /**
2133
- * Rotate
2134
- * @see https://tailwindcss.com/docs/rotate
2135
- */
2136
- rotate: [{
2137
- rotate: [isInteger, isArbitraryValue]
2138
- }],
2139
- /**
2140
- * Translate X
2141
- * @see https://tailwindcss.com/docs/translate
2142
- */
2143
- "translate-x": [{
2144
- "translate-x": [translate]
2145
- }],
2146
- /**
2147
- * Translate Y
2148
- * @see https://tailwindcss.com/docs/translate
2149
- */
2150
- "translate-y": [{
2151
- "translate-y": [translate]
2152
- }],
2153
- /**
2154
- * Skew X
2155
- * @see https://tailwindcss.com/docs/skew
2156
- */
2157
- "skew-x": [{
2158
- "skew-x": [skew]
2159
- }],
2160
- /**
2161
- * Skew Y
2162
- * @see https://tailwindcss.com/docs/skew
2163
- */
2164
- "skew-y": [{
2165
- "skew-y": [skew]
2166
- }],
2167
- /**
2168
- * Transform Origin
2169
- * @see https://tailwindcss.com/docs/transform-origin
2170
- */
2171
- "transform-origin": [{
2172
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", isArbitraryValue]
2173
- }],
2174
- // Interactivity
2175
- /**
2176
- * Accent Color
2177
- * @see https://tailwindcss.com/docs/accent-color
2178
- */
2179
- accent: [{
2180
- accent: ["auto", colors]
2181
- }],
2182
- /**
2183
- * Appearance
2184
- * @see https://tailwindcss.com/docs/appearance
2185
- */
2186
- appearance: [{
2187
- appearance: ["none", "auto"]
2188
- }],
2189
- /**
2190
- * Cursor
2191
- * @see https://tailwindcss.com/docs/cursor
2192
- */
2193
- cursor: [{
2194
- 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]
2195
- }],
2196
- /**
2197
- * Caret Color
2198
- * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2199
- */
2200
- "caret-color": [{
2201
- caret: [colors]
2202
- }],
2203
- /**
2204
- * Pointer Events
2205
- * @see https://tailwindcss.com/docs/pointer-events
2206
- */
2207
- "pointer-events": [{
2208
- "pointer-events": ["none", "auto"]
2209
- }],
2210
- /**
2211
- * Resize
2212
- * @see https://tailwindcss.com/docs/resize
2213
- */
2214
- resize: [{
2215
- resize: ["none", "y", "x", ""]
2216
- }],
2217
- /**
2218
- * Scroll Behavior
2219
- * @see https://tailwindcss.com/docs/scroll-behavior
2220
- */
2221
- "scroll-behavior": [{
2222
- scroll: ["auto", "smooth"]
2223
- }],
2224
- /**
2225
- * Scroll Margin
2226
- * @see https://tailwindcss.com/docs/scroll-margin
2227
- */
2228
- "scroll-m": [{
2229
- "scroll-m": getSpacingWithArbitrary()
2230
- }],
2231
- /**
2232
- * Scroll Margin X
2233
- * @see https://tailwindcss.com/docs/scroll-margin
2234
- */
2235
- "scroll-mx": [{
2236
- "scroll-mx": getSpacingWithArbitrary()
2237
- }],
2238
- /**
2239
- * Scroll Margin Y
2240
- * @see https://tailwindcss.com/docs/scroll-margin
2241
- */
2242
- "scroll-my": [{
2243
- "scroll-my": getSpacingWithArbitrary()
2244
- }],
2245
- /**
2246
- * Scroll Margin Start
2247
- * @see https://tailwindcss.com/docs/scroll-margin
2248
- */
2249
- "scroll-ms": [{
2250
- "scroll-ms": getSpacingWithArbitrary()
2251
- }],
2252
- /**
2253
- * Scroll Margin End
2254
- * @see https://tailwindcss.com/docs/scroll-margin
2255
- */
2256
- "scroll-me": [{
2257
- "scroll-me": getSpacingWithArbitrary()
2258
- }],
2259
- /**
2260
- * Scroll Margin Top
2261
- * @see https://tailwindcss.com/docs/scroll-margin
2262
- */
2263
- "scroll-mt": [{
2264
- "scroll-mt": getSpacingWithArbitrary()
2265
- }],
2266
- /**
2267
- * Scroll Margin Right
2268
- * @see https://tailwindcss.com/docs/scroll-margin
2269
- */
2270
- "scroll-mr": [{
2271
- "scroll-mr": getSpacingWithArbitrary()
2272
- }],
2273
- /**
2274
- * Scroll Margin Bottom
2275
- * @see https://tailwindcss.com/docs/scroll-margin
2276
- */
2277
- "scroll-mb": [{
2278
- "scroll-mb": getSpacingWithArbitrary()
2279
- }],
2280
- /**
2281
- * Scroll Margin Left
2282
- * @see https://tailwindcss.com/docs/scroll-margin
2283
- */
2284
- "scroll-ml": [{
2285
- "scroll-ml": getSpacingWithArbitrary()
2286
- }],
2287
- /**
2288
- * Scroll Padding
2289
- * @see https://tailwindcss.com/docs/scroll-padding
2290
- */
2291
- "scroll-p": [{
2292
- "scroll-p": getSpacingWithArbitrary()
2293
- }],
2294
- /**
2295
- * Scroll Padding X
2296
- * @see https://tailwindcss.com/docs/scroll-padding
2297
- */
2298
- "scroll-px": [{
2299
- "scroll-px": getSpacingWithArbitrary()
2300
- }],
2301
- /**
2302
- * Scroll Padding Y
2303
- * @see https://tailwindcss.com/docs/scroll-padding
2304
- */
2305
- "scroll-py": [{
2306
- "scroll-py": getSpacingWithArbitrary()
2307
- }],
2308
- /**
2309
- * Scroll Padding Start
2310
- * @see https://tailwindcss.com/docs/scroll-padding
2311
- */
2312
- "scroll-ps": [{
2313
- "scroll-ps": getSpacingWithArbitrary()
2314
- }],
2315
- /**
2316
- * Scroll Padding End
2317
- * @see https://tailwindcss.com/docs/scroll-padding
2318
- */
2319
- "scroll-pe": [{
2320
- "scroll-pe": getSpacingWithArbitrary()
2321
- }],
2322
- /**
2323
- * Scroll Padding Top
2324
- * @see https://tailwindcss.com/docs/scroll-padding
2325
- */
2326
- "scroll-pt": [{
2327
- "scroll-pt": getSpacingWithArbitrary()
2328
- }],
2329
- /**
2330
- * Scroll Padding Right
2331
- * @see https://tailwindcss.com/docs/scroll-padding
2332
- */
2333
- "scroll-pr": [{
2334
- "scroll-pr": getSpacingWithArbitrary()
2335
- }],
2336
- /**
2337
- * Scroll Padding Bottom
2338
- * @see https://tailwindcss.com/docs/scroll-padding
2339
- */
2340
- "scroll-pb": [{
2341
- "scroll-pb": getSpacingWithArbitrary()
2342
- }],
2343
- /**
2344
- * Scroll Padding Left
2345
- * @see https://tailwindcss.com/docs/scroll-padding
2346
- */
2347
- "scroll-pl": [{
2348
- "scroll-pl": getSpacingWithArbitrary()
2349
- }],
2350
- /**
2351
- * Scroll Snap Align
2352
- * @see https://tailwindcss.com/docs/scroll-snap-align
2353
- */
2354
- "snap-align": [{
2355
- snap: ["start", "end", "center", "align-none"]
2356
- }],
2357
- /**
2358
- * Scroll Snap Stop
2359
- * @see https://tailwindcss.com/docs/scroll-snap-stop
2360
- */
2361
- "snap-stop": [{
2362
- snap: ["normal", "always"]
2363
- }],
2364
- /**
2365
- * Scroll Snap Type
2366
- * @see https://tailwindcss.com/docs/scroll-snap-type
2367
- */
2368
- "snap-type": [{
2369
- snap: ["none", "x", "y", "both"]
2370
- }],
2371
- /**
2372
- * Scroll Snap Type Strictness
2373
- * @see https://tailwindcss.com/docs/scroll-snap-type
2374
- */
2375
- "snap-strictness": [{
2376
- snap: ["mandatory", "proximity"]
2377
- }],
2378
- /**
2379
- * Touch Action
2380
- * @see https://tailwindcss.com/docs/touch-action
2381
- */
2382
- touch: [{
2383
- touch: ["auto", "none", "manipulation"]
2384
- }],
2385
- /**
2386
- * Touch Action X
2387
- * @see https://tailwindcss.com/docs/touch-action
2388
- */
2389
- "touch-x": [{
2390
- "touch-pan": ["x", "left", "right"]
2391
- }],
2392
- /**
2393
- * Touch Action Y
2394
- * @see https://tailwindcss.com/docs/touch-action
2395
- */
2396
- "touch-y": [{
2397
- "touch-pan": ["y", "up", "down"]
2398
- }],
2399
- /**
2400
- * Touch Action Pinch Zoom
2401
- * @see https://tailwindcss.com/docs/touch-action
2402
- */
2403
- "touch-pz": ["touch-pinch-zoom"],
2404
- /**
2405
- * User Select
2406
- * @see https://tailwindcss.com/docs/user-select
2407
- */
2408
- select: [{
2409
- select: ["none", "text", "all", "auto"]
2410
- }],
2411
- /**
2412
- * Will Change
2413
- * @see https://tailwindcss.com/docs/will-change
2414
- */
2415
- "will-change": [{
2416
- "will-change": ["auto", "scroll", "contents", "transform", isArbitraryValue]
2417
- }],
2418
- // SVG
2419
- /**
2420
- * Fill
2421
- * @see https://tailwindcss.com/docs/fill
2422
- */
2423
- fill: [{
2424
- fill: [colors, "none"]
2425
- }],
2426
- /**
2427
- * Stroke Width
2428
- * @see https://tailwindcss.com/docs/stroke-width
2429
- */
2430
- "stroke-w": [{
2431
- stroke: [isLength, isArbitraryLength, isArbitraryNumber]
2432
- }],
2433
- /**
2434
- * Stroke
2435
- * @see https://tailwindcss.com/docs/stroke
2436
- */
2437
- stroke: [{
2438
- stroke: [colors, "none"]
2439
- }],
2440
- // Accessibility
2441
- /**
2442
- * Screen Readers
2443
- * @see https://tailwindcss.com/docs/screen-readers
2444
- */
2445
- sr: ["sr-only", "not-sr-only"],
2446
- /**
2447
- * Forced Color Adjust
2448
- * @see https://tailwindcss.com/docs/forced-color-adjust
2449
- */
2450
- "forced-color-adjust": [{
2451
- "forced-color-adjust": ["auto", "none"]
2452
- }]
2453
- },
2454
- conflictingClassGroups: {
2455
- overflow: ["overflow-x", "overflow-y"],
2456
- overscroll: ["overscroll-x", "overscroll-y"],
2457
- inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
2458
- "inset-x": ["right", "left"],
2459
- "inset-y": ["top", "bottom"],
2460
- flex: ["basis", "grow", "shrink"],
2461
- gap: ["gap-x", "gap-y"],
2462
- p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
2463
- px: ["pr", "pl"],
2464
- py: ["pt", "pb"],
2465
- m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
2466
- mx: ["mr", "ml"],
2467
- my: ["mt", "mb"],
2468
- size: ["w", "h"],
2469
- "font-size": ["leading"],
2470
- "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2471
- "fvn-ordinal": ["fvn-normal"],
2472
- "fvn-slashed-zero": ["fvn-normal"],
2473
- "fvn-figure": ["fvn-normal"],
2474
- "fvn-spacing": ["fvn-normal"],
2475
- "fvn-fraction": ["fvn-normal"],
2476
- "line-clamp": ["display", "overflow"],
2477
- 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"],
2478
- "rounded-s": ["rounded-ss", "rounded-es"],
2479
- "rounded-e": ["rounded-se", "rounded-ee"],
2480
- "rounded-t": ["rounded-tl", "rounded-tr"],
2481
- "rounded-r": ["rounded-tr", "rounded-br"],
2482
- "rounded-b": ["rounded-br", "rounded-bl"],
2483
- "rounded-l": ["rounded-tl", "rounded-bl"],
2484
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
2485
- "border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2486
- "border-w-x": ["border-w-r", "border-w-l"],
2487
- "border-w-y": ["border-w-t", "border-w-b"],
2488
- "border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2489
- "border-color-x": ["border-color-r", "border-color-l"],
2490
- "border-color-y": ["border-color-t", "border-color-b"],
2491
- "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
2492
- "scroll-mx": ["scroll-mr", "scroll-ml"],
2493
- "scroll-my": ["scroll-mt", "scroll-mb"],
2494
- "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
2495
- "scroll-px": ["scroll-pr", "scroll-pl"],
2496
- "scroll-py": ["scroll-pt", "scroll-pb"],
2497
- touch: ["touch-x", "touch-y", "touch-pz"],
2498
- "touch-x": ["touch"],
2499
- "touch-y": ["touch"],
2500
- "touch-pz": ["touch"]
2501
- },
2502
- conflictingClassGroupModifiers: {
2503
- "font-size": ["leading"]
2504
- }
2505
- };
2506
- };
2507
- var twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
2508
-
2509
- // src/utils/cn.ts
2510
- function cn(...inputs) {
2511
- return twMerge((0, import_clsx.clsx)(inputs));
2512
- }
2513
-
2514
- // src/components/ui/breadcrumb.tsx
2515
- var import_jsx_runtime = require("react/jsx-runtime");
2516
- var Breadcrumb = React.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("nav", { ref, "aria-label": "breadcrumb", ...props }));
2517
- Breadcrumb.displayName = "Breadcrumb";
2518
- var BreadcrumbList = React.forwardRef(
2519
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2520
- "ol",
2521
- {
2522
- ref,
2523
- className: cn(
2524
- "flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",
2525
- className
2526
- ),
2527
- ...props
2528
- }
2529
- )
2530
- );
2531
- BreadcrumbList.displayName = "BreadcrumbList";
2532
- var BreadcrumbItem = React.forwardRef(
2533
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", { ref, className: cn("inline-flex items-center gap-1.5", className), ...props })
2534
- );
2535
- BreadcrumbItem.displayName = "BreadcrumbItem";
2536
- var BreadcrumbLink = React.forwardRef(({ asChild, className, ...props }, ref) => {
2537
- const Comp = asChild ? import_react_slot.Slot : "a";
2538
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2539
- Comp,
2540
- {
2541
- ref,
2542
- className: cn("transition-colors hover:text-foreground", className),
2543
- ...props
2544
- }
2545
- );
2546
- });
2547
- BreadcrumbLink.displayName = "BreadcrumbLink";
2548
- var BreadcrumbPage = React.forwardRef(
2549
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2550
- "span",
2551
- {
2552
- ref,
2553
- role: "link",
2554
- "aria-disabled": "true",
2555
- "aria-current": "page",
2556
- className: cn("font-normal text-foreground", className),
2557
- ...props
2558
- }
2559
- )
2560
- );
2561
- BreadcrumbPage.displayName = "BreadcrumbPage";
2562
- var BreadcrumbSeparator = ({ children, className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2563
- "li",
2564
- {
2565
- role: "presentation",
2566
- "aria-hidden": "true",
2567
- className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className),
2568
- ...props,
2569
- children: children ?? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_icons.ChevronRightIcon, {})
2570
- }
2571
- );
2572
- BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
2573
- var BreadcrumbEllipsis = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
2574
- "span",
2575
- {
2576
- role: "presentation",
2577
- "aria-hidden": "true",
2578
- className: cn("flex h-9 w-9 items-center justify-center", className),
2579
- ...props,
2580
- children: [
2581
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_icons.DotsHorizontalIcon, { className: "h-4 w-4" }),
2582
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "sr-only", children: "More" })
2583
- ]
2584
- }
2585
- );
2586
- BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
2587
-
2588
- // src/components/ui/separator.tsx
2589
- var React2 = __toESM(require("react"));
2590
- var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"));
2591
- var import_jsx_runtime2 = require("react/jsx-runtime");
2592
- var Separator = React2.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
2593
- SeparatorPrimitive.Root,
2594
- {
2595
- ref,
2596
- decorative,
2597
- orientation,
2598
- className: cn(
2599
- "shrink-0 bg-border",
2600
- orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
2601
- className
2602
- ),
2603
- ...props
2604
- }
2605
- ));
2606
- Separator.displayName = SeparatorPrimitive.Root.displayName;
2607
-
2608
- // src/components/ui/sidebar.tsx
2609
- var React7 = __toESM(require("react"));
2610
- var import_react_slot3 = require("@radix-ui/react-slot");
2611
- var import_class_variance_authority3 = require("class-variance-authority");
2612
- var import_lucide_react = require("lucide-react");
2613
-
2614
- // src/hooks/use-mobile.ts
2615
- var import_react = require("react");
2616
- var useIsMobile = (maxWidth = 768) => {
2617
- const [isMobile, setIsMobile] = (0, import_react.useState)(false);
2618
- (0, import_react.useEffect)(() => {
2619
- const handleResize = () => {
2620
- setIsMobile(window.innerWidth < maxWidth);
2621
- };
2622
- handleResize();
2623
- window.addEventListener("resize", handleResize);
2624
- return () => window.removeEventListener("resize", handleResize);
2625
- }, [maxWidth]);
2626
- return isMobile;
2627
- };
2628
-
2629
- // src/components/ui/button.tsx
2630
- var import_react_slot2 = require("@radix-ui/react-slot");
2631
- var import_class_variance_authority = require("class-variance-authority");
2632
- var React3 = __toESM(require("react"));
2633
- var import_jsx_runtime3 = require("react/jsx-runtime");
2634
- var buttonVariants = (0, import_class_variance_authority.cva)(
2635
- "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",
2636
- {
2637
- defaultVariants: {
2638
- size: "default",
2639
- variant: "default"
2640
- },
2641
- variants: {
2642
- size: {
2643
- clear: "",
2644
- default: "h-10 px-4 py-2",
2645
- icon: "h-10 w-10",
2646
- lg: "h-11 rounded px-8",
2647
- sm: "h-9 rounded px-3"
2648
- },
2649
- variant: {
2650
- default: "bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",
2651
- destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
2652
- ghost: "hover:bg-card hover:text-accent",
2653
- link: "text-primary items-start justify-start underline-offset-4 hover:underline",
2654
- outline: "border border-border bg-background hover:bg-card hover:text-accent",
2655
- secondary: "bg-secondary text-secondary-foreground hover:bg-accent"
2656
- }
2657
- }
2658
- }
2659
- );
2660
- var Button = React3.forwardRef(
2661
- ({ asChild = false, className, size, variant, ...props }, ref) => {
2662
- const Comp = asChild ? import_react_slot2.Slot : "button";
2663
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Comp, { className: cn(buttonVariants({ className, size, variant })), ref, ...props });
2664
- }
2665
- );
2666
- Button.displayName = "Button";
2667
-
2668
- // src/components/ui/input.tsx
2669
- var React4 = __toESM(require("react"));
2670
- var import_jsx_runtime4 = require("react/jsx-runtime");
2671
- var Input = React4.forwardRef(
2672
- ({ className, type, ...props }, ref) => {
2673
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
2674
- "input",
2675
- {
2676
- type,
2677
- className: cn(
2678
- "flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
2679
- className
2680
- ),
2681
- ref,
2682
- ...props
2683
- }
2684
- );
2685
- }
2686
- );
2687
- Input.displayName = "Input";
2688
-
2689
- // src/components/ui/sheet.tsx
2690
- var React5 = __toESM(require("react"));
2691
- var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"));
2692
- var import_react_icons2 = require("@radix-ui/react-icons");
2693
- var import_class_variance_authority2 = require("class-variance-authority");
2694
- var import_jsx_runtime5 = require("react/jsx-runtime");
2695
- var Sheet = SheetPrimitive.Root;
2696
- var SheetPortal = SheetPrimitive.Portal;
2697
- var SheetOverlay = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
2698
- SheetPrimitive.Overlay,
2699
- {
2700
- className: cn(
2701
- "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
2702
- className
2703
- ),
2704
- ...props,
2705
- ref
2706
- }
2707
- ));
2708
- SheetOverlay.displayName = SheetPrimitive.Overlay.displayName;
2709
- var sheetVariants = (0, import_class_variance_authority2.cva)(
2710
- "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",
2711
- {
2712
- variants: {
2713
- side: {
2714
- top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
2715
- bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
2716
- left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
2717
- right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
2718
- }
2719
- },
2720
- defaultVariants: {
2721
- side: "right"
2722
- }
2723
- }
2724
- );
2725
- var SheetContent = React5.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(SheetPortal, { children: [
2726
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SheetOverlay, {}),
2727
- /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(SheetPrimitive.Content, { ref, className: cn(sheetVariants({ side }), className), ...props, children: [
2728
- /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
2729
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react_icons2.Cross2Icon, { className: "h-4 w-4" }),
2730
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "sr-only", children: "Close" })
2731
- ] }),
2732
- children
2733
- ] })
2734
- ] }));
2735
- SheetContent.displayName = SheetPrimitive.Content.displayName;
2736
- var SheetHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
2737
- SheetHeader.displayName = "SheetHeader";
2738
- var SheetFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
2739
- "div",
2740
- {
2741
- className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className),
2742
- ...props
2743
- }
2744
- );
2745
- SheetFooter.displayName = "SheetFooter";
2746
- var SheetTitle = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
2747
- SheetPrimitive.Title,
2748
- {
2749
- ref,
2750
- className: cn("text-lg font-semibold text-foreground", className),
2751
- ...props
2752
- }
2753
- ));
2754
- SheetTitle.displayName = SheetPrimitive.Title.displayName;
2755
- var SheetDescription = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
2756
- SheetPrimitive.Description,
2757
- {
2758
- ref,
2759
- className: cn("text-sm text-muted-foreground", className),
2760
- ...props
2761
- }
2762
- ));
2763
- SheetDescription.displayName = SheetPrimitive.Description.displayName;
2764
-
2765
- // src/components/ui/skeleton.tsx
2766
- var import_jsx_runtime6 = require("react/jsx-runtime");
2767
- function Skeleton({ className, ...props }) {
2768
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: cn("animate-pulse rounded-md bg-primary/10", className), ...props });
2769
- }
2770
-
2771
- // src/components/ui/tooltip.tsx
2772
- var React6 = __toESM(require("react"));
2773
- var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
2774
- var import_jsx_runtime7 = require("react/jsx-runtime");
2775
- var TooltipProvider = TooltipPrimitive.Provider;
2776
- var Tooltip = TooltipPrimitive.Root;
2777
- var TooltipTrigger = TooltipPrimitive.Trigger;
2778
- var TooltipContent = React6.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(TooltipPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2779
- TooltipPrimitive.Content,
2780
- {
2781
- ref,
2782
- sideOffset,
2783
- className: cn(
2784
- "z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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",
2785
- className
2786
- ),
2787
- ...props
2788
- }
2789
- ) }));
2790
- TooltipContent.displayName = TooltipPrimitive.Content.displayName;
2791
-
2792
- // src/components/ui/sidebar.tsx
2793
- var import_jsx_runtime8 = require("react/jsx-runtime");
2794
- var SIDEBAR_COOKIE_NAME = "sidebar:state";
2795
- var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
2796
- var SIDEBAR_WIDTH = "16rem";
2797
- var SIDEBAR_WIDTH_MOBILE = "18rem";
2798
- var SIDEBAR_WIDTH_ICON = "3rem";
2799
- var SIDEBAR_KEYBOARD_SHORTCUT = "b";
2800
- var SidebarContext = React7.createContext(null);
2801
- function useSidebar() {
2802
- const context = React7.useContext(SidebarContext);
2803
- if (!context) {
2804
- throw new Error("useSidebar must be used within a SidebarProvider.");
2805
- }
2806
- return context;
2807
- }
2808
- var SidebarProvider = React7.forwardRef(
2809
- ({
2810
- defaultOpen = true,
2811
- open: openProp,
2812
- onOpenChange: setOpenProp,
2813
- className,
2814
- style,
2815
- children,
2816
- ...props
2817
- }, ref) => {
2818
- const isMobile = useIsMobile(1300);
2819
- const [openMobile, setOpenMobile] = React7.useState(false);
2820
- const [_open, _setOpen] = React7.useState(defaultOpen);
2821
- const open = openProp ?? _open;
2822
- const setOpen = React7.useCallback(
2823
- (value) => {
2824
- if (setOpenProp) {
2825
- return setOpenProp?.(typeof value === "function" ? value(open) : value);
2826
- }
2827
- _setOpen(value);
2828
- document.cookie = `${SIDEBAR_COOKIE_NAME}=${open}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`;
2829
- },
2830
- [setOpenProp, open]
2831
- );
2832
- const toggleSidebar = React7.useCallback(() => {
2833
- return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
2834
- }, [isMobile, setOpen, setOpenMobile]);
2835
- React7.useEffect(() => {
2836
- const handleKeyDown = (event) => {
2837
- if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
2838
- event.preventDefault();
2839
- toggleSidebar();
2840
- }
2841
- };
2842
- window.addEventListener("keydown", handleKeyDown);
2843
- return () => window.removeEventListener("keydown", handleKeyDown);
2844
- }, [toggleSidebar]);
2845
- const state = open ? "expanded" : "collapsed";
2846
- const contextValue = React7.useMemo(
2847
- () => ({
2848
- state,
2849
- open,
2850
- setOpen,
2851
- isMobile,
2852
- openMobile,
2853
- setOpenMobile,
2854
- toggleSidebar
2855
- }),
2856
- [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
2857
- );
2858
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2859
- "div",
2860
- {
2861
- style: {
2862
- "--sidebar-width": SIDEBAR_WIDTH,
2863
- "--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
2864
- ...style
2865
- },
2866
- className: cn(
2867
- "group/sidebar-wrapper flex w-full has-[[data-variant=inset]]:bg-sidebar",
2868
- className
2869
- ),
2870
- ref,
2871
- ...props,
2872
- children
2873
- }
2874
- ) }) });
2875
- }
2876
- );
2877
- SidebarProvider.displayName = "SidebarProvider";
2878
- var Sidebar = React7.forwardRef(
2879
- ({
2880
- side = "left",
2881
- variant = "sidebar",
2882
- collapsible = "offcanvas",
2883
- className,
2884
- children,
2885
- ...props
2886
- }, ref) => {
2887
- const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
2888
- if (collapsible === "none") {
2889
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2890
- "div",
2891
- {
2892
- className: cn(
2893
- "flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",
2894
- className
2895
- ),
2896
- ref,
2897
- ...props,
2898
- children
2899
- }
2900
- );
2901
- }
2902
- if (isMobile) {
2903
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2904
- SheetContent,
2905
- {
2906
- "data-sidebar": "sidebar",
2907
- "data-mobile": "true",
2908
- className: "w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",
2909
- style: {
2910
- "--sidebar-width": SIDEBAR_WIDTH_MOBILE
2911
- },
2912
- side,
2913
- children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "flex h-full w-full flex-col", children })
2914
- }
2915
- ) });
2916
- }
2917
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
2918
- "div",
2919
- {
2920
- ref,
2921
- className: "group peer hidden md:block text-sidebar-foreground",
2922
- "data-state": state,
2923
- "data-collapsible": state === "collapsed" ? collapsible : "",
2924
- "data-variant": variant,
2925
- "data-side": side,
2926
- children: [
2927
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2928
- "div",
2929
- {
2930
- className: cn(
2931
- "duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear",
2932
- "group-data-[collapsible=offcanvas]:w-0",
2933
- "group-data-[side=right]:rotate-180",
2934
- variant === "floating" || variant === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]" : "group-data-[collapsible=icon]:w-[--sidebar-width-icon]"
2935
- )
2936
- }
2937
- ),
2938
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2939
- "div",
2940
- {
2941
- className: cn(
2942
- "duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",
2943
- side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
2944
- // Adjust the padding for floating and inset variants.
2945
- variant === "floating" || variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]" : "group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",
2946
- className
2947
- ),
2948
- ...props,
2949
- children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2950
- "div",
2951
- {
2952
- "data-sidebar": "sidebar",
2953
- className: "flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",
2954
- children
2955
- }
2956
- )
2957
- }
2958
- )
2959
- ]
2960
- }
2961
- );
2962
- }
2963
- );
2964
- Sidebar.displayName = "Sidebar";
2965
- var SidebarTrigger = React7.forwardRef(({ className, onClick, ...props }, ref) => {
2966
- const { toggleSidebar } = useSidebar();
2967
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
2968
- Button,
2969
- {
2970
- ref,
2971
- "data-sidebar": "trigger",
2972
- variant: "ghost",
2973
- size: "icon",
2974
- className: cn("h-7 w-7", className),
2975
- onClick: (event) => {
2976
- onClick?.(event);
2977
- toggleSidebar();
2978
- },
2979
- ...props,
2980
- children: [
2981
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react.PanelLeft, {}),
2982
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
2983
- ]
2984
- }
2985
- );
2986
- });
2987
- SidebarTrigger.displayName = "SidebarTrigger";
2988
- var SidebarRail = React7.forwardRef(
2989
- ({ className, ...props }, ref) => {
2990
- const { toggleSidebar } = useSidebar();
2991
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2992
- "button",
2993
- {
2994
- ref,
2995
- "data-sidebar": "rail",
2996
- "aria-label": "Toggle Sidebar",
2997
- tabIndex: -1,
2998
- onClick: toggleSidebar,
2999
- title: "Toggle Sidebar",
3000
- className: cn(
3001
- "absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex",
3002
- "[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize",
3003
- "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
3004
- "group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar",
3005
- "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
3006
- "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
3007
- className
3008
- ),
3009
- ...props
3010
- }
3011
- );
3012
- }
3013
- );
3014
- SidebarRail.displayName = "SidebarRail";
3015
- var SidebarInset = React7.forwardRef(
3016
- ({ className, ...props }, ref) => {
3017
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3018
- "main",
3019
- {
3020
- ref,
3021
- className: cn(
3022
- "flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full",
3023
- "md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",
3024
- className
3025
- ),
3026
- ...props
3027
- }
3028
- );
3029
- }
3030
- );
3031
- SidebarInset.displayName = "SidebarInset";
3032
- var SidebarInput = React7.forwardRef(({ className, ...props }, ref) => {
3033
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3034
- Input,
3035
- {
3036
- ref,
3037
- "data-sidebar": "input",
3038
- className: cn(
3039
- "h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",
3040
- className
3041
- ),
3042
- ...props
3043
- }
3044
- );
3045
- });
3046
- SidebarInput.displayName = "SidebarInput";
3047
- var SidebarHeader = React7.forwardRef(
3048
- ({ className, ...props }, ref) => {
3049
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3050
- "div",
3051
- {
3052
- ref,
3053
- "data-sidebar": "header",
3054
- className: cn("flex flex-col gap-2 p-2", className),
3055
- ...props
3056
- }
3057
- );
3058
- }
3059
- );
3060
- SidebarHeader.displayName = "SidebarHeader";
3061
- var SidebarFooter = React7.forwardRef(
3062
- ({ className, ...props }, ref) => {
3063
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3064
- "div",
3065
- {
3066
- ref,
3067
- "data-sidebar": "footer",
3068
- className: cn("flex flex-col gap-2 p-2", className),
3069
- ...props
3070
- }
3071
- );
3072
- }
3073
- );
3074
- SidebarFooter.displayName = "SidebarFooter";
3075
- var SidebarSeparator = React7.forwardRef(({ className, ...props }, ref) => {
3076
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3077
- Separator,
3078
- {
3079
- ref,
3080
- "data-sidebar": "separator",
3081
- className: cn("mx-2 w-auto bg-sidebar-border", className),
3082
- ...props
3083
- }
3084
- );
3085
- });
3086
- SidebarSeparator.displayName = "SidebarSeparator";
3087
- var SidebarContent = React7.forwardRef(
3088
- ({ className, ...props }, ref) => {
3089
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3090
- "div",
3091
- {
3092
- ref,
3093
- "data-sidebar": "content",
3094
- className: cn(
3095
- "flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
3096
- className
3097
- ),
3098
- ...props
3099
- }
3100
- );
3101
- }
3102
- );
3103
- SidebarContent.displayName = "SidebarContent";
3104
- var SidebarGroup = React7.forwardRef(
3105
- ({ className, ...props }, ref) => {
3106
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3107
- "div",
3108
- {
3109
- ref,
3110
- "data-sidebar": "group",
3111
- className: cn("relative flex w-full min-w-0 flex-col p-2", className),
3112
- ...props
3113
- }
3114
- );
3115
- }
3116
- );
3117
- SidebarGroup.displayName = "SidebarGroup";
3118
- var SidebarGroupLabel = React7.forwardRef(({ className, asChild = false, ...props }, ref) => {
3119
- const Comp = asChild ? import_react_slot3.Slot : "div";
3120
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3121
- Comp,
3122
- {
3123
- ref,
3124
- "data-sidebar": "group-label",
3125
- className: cn(
3126
- "duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
3127
- "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
3128
- className
3129
- ),
3130
- ...props
3131
- }
3132
- );
3133
- });
3134
- SidebarGroupLabel.displayName = "SidebarGroupLabel";
3135
- var SidebarGroupAction = React7.forwardRef(({ className, asChild = false, ...props }, ref) => {
3136
- const Comp = asChild ? import_react_slot3.Slot : "button";
3137
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3138
- Comp,
3139
- {
3140
- ref,
3141
- "data-sidebar": "group-action",
3142
- className: cn(
3143
- "absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
3144
- // Increases the hit area of the button on mobile.
3145
- "after:absolute after:-inset-2 after:md:hidden",
3146
- "group-data-[collapsible=icon]:hidden",
3147
- className
3148
- ),
3149
- ...props
3150
- }
3151
- );
3152
- });
3153
- SidebarGroupAction.displayName = "SidebarGroupAction";
3154
- var SidebarGroupContent = React7.forwardRef(
3155
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3156
- "div",
3157
- {
3158
- ref,
3159
- "data-sidebar": "group-content",
3160
- className: cn("w-full text-sm", className),
3161
- ...props
3162
- }
3163
- )
3164
- );
3165
- SidebarGroupContent.displayName = "SidebarGroupContent";
3166
- var SidebarMenu = React7.forwardRef(
3167
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3168
- "ul",
3169
- {
3170
- ref,
3171
- "data-sidebar": "menu",
3172
- className: cn("flex w-full min-w-0 flex-col gap-1", className),
3173
- ...props
3174
- }
3175
- )
3176
- );
3177
- SidebarMenu.displayName = "SidebarMenu";
3178
- var SidebarMenuItem = React7.forwardRef(
3179
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3180
- "li",
3181
- {
3182
- ref,
3183
- "data-sidebar": "menu-item",
3184
- className: cn("group/menu-item relative", className),
3185
- ...props
3186
- }
3187
- )
3188
- );
3189
- SidebarMenuItem.displayName = "SidebarMenuItem";
3190
- var sidebarMenuButtonVariants = (0, import_class_variance_authority3.cva)(
3191
- "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
3192
- {
3193
- variants: {
3194
- variant: {
3195
- default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
3196
- outline: "bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"
3197
- },
3198
- size: {
3199
- default: "h-8 text-sm",
3200
- sm: "h-7 text-xs",
3201
- lg: "h-12 text-sm group-data-[collapsible=icon]:!p-0"
3202
- }
3203
- },
3204
- defaultVariants: {
3205
- variant: "default",
3206
- size: "default"
3207
- }
3208
- }
3209
- );
3210
- var SidebarMenuButton = React7.forwardRef(
3211
- ({
3212
- asChild = false,
3213
- isActive = false,
3214
- variant = "default",
3215
- size = "default",
3216
- tooltip,
3217
- className,
3218
- ...props
3219
- }, ref) => {
3220
- const Comp = asChild ? import_react_slot3.Slot : "button";
3221
- const { isMobile, state } = useSidebar();
3222
- const button = /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3223
- Comp,
3224
- {
3225
- ref,
3226
- "data-sidebar": "menu-button",
3227
- "data-size": size,
3228
- "data-active": isActive,
3229
- className: cn(sidebarMenuButtonVariants({ variant, size }), className),
3230
- ...props
3231
- }
3232
- );
3233
- if (!tooltip) {
3234
- return button;
3235
- }
3236
- if (typeof tooltip === "string") {
3237
- tooltip = {
3238
- children: tooltip
3239
- };
3240
- }
3241
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(Tooltip, { children: [
3242
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(TooltipTrigger, { asChild: true, children: button }),
3243
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3244
- TooltipContent,
3245
- {
3246
- side: "right",
3247
- align: "center",
3248
- hidden: state !== "collapsed" || isMobile,
3249
- ...tooltip
3250
- }
3251
- )
3252
- ] });
3253
- }
3254
- );
3255
- SidebarMenuButton.displayName = "SidebarMenuButton";
3256
- var SidebarMenuAction = React7.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
3257
- const Comp = asChild ? import_react_slot3.Slot : "button";
3258
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3259
- Comp,
3260
- {
3261
- ref,
3262
- "data-sidebar": "menu-action",
3263
- className: cn(
3264
- "absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0",
3265
- // Increases the hit area of the button on mobile.
3266
- "after:absolute after:-inset-2 after:md:hidden",
3267
- "peer-data-[size=sm]/menu-button:top-1",
3268
- "peer-data-[size=default]/menu-button:top-1.5",
3269
- "peer-data-[size=lg]/menu-button:top-2.5",
3270
- "group-data-[collapsible=icon]:hidden",
3271
- showOnHover && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",
3272
- className
3273
- ),
3274
- ...props
3275
- }
3276
- );
3277
- });
3278
- SidebarMenuAction.displayName = "SidebarMenuAction";
3279
- var SidebarMenuBadge = React7.forwardRef(
3280
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3281
- "div",
3282
- {
3283
- ref,
3284
- "data-sidebar": "menu-badge",
3285
- className: cn(
3286
- "absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none",
3287
- "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
3288
- "peer-data-[size=sm]/menu-button:top-1",
3289
- "peer-data-[size=default]/menu-button:top-1.5",
3290
- "peer-data-[size=lg]/menu-button:top-2.5",
3291
- "group-data-[collapsible=icon]:hidden",
3292
- className
3293
- ),
3294
- ...props
3295
- }
3296
- )
3297
- );
3298
- SidebarMenuBadge.displayName = "SidebarMenuBadge";
3299
- var SidebarMenuSkeleton = React7.forwardRef(({ className, showIcon = false, ...props }, ref) => {
3300
- const width = React7.useMemo(() => {
3301
- return `${Math.floor(Math.random() * 40) + 50}%`;
3302
- }, []);
3303
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
3304
- "div",
3305
- {
3306
- ref,
3307
- "data-sidebar": "menu-skeleton",
3308
- className: cn("rounded-md h-8 flex gap-2 px-2 items-center", className),
3309
- ...props,
3310
- children: [
3311
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Skeleton, { className: "size-4 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
3312
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3313
- Skeleton,
3314
- {
3315
- className: "h-4 flex-1 max-w-[--skeleton-width]",
3316
- "data-sidebar": "menu-skeleton-text",
3317
- style: {
3318
- "--skeleton-width": width
3319
- }
3320
- }
3321
- )
3322
- ]
3323
- }
3324
- );
3325
- });
3326
- SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
3327
- var SidebarMenuSub = React7.forwardRef(
3328
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3329
- "ul",
3330
- {
3331
- ref,
3332
- "data-sidebar": "menu-sub",
3333
- className: cn(
3334
- "mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5",
3335
- "group-data-[collapsible=icon]:hidden",
3336
- className
3337
- ),
3338
- ...props
3339
- }
3340
- )
3341
- );
3342
- SidebarMenuSub.displayName = "SidebarMenuSub";
3343
- var SidebarMenuSubItem = React7.forwardRef(
3344
- ({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("li", { ref, ...props })
3345
- );
3346
- SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
3347
- var SidebarMenuSubButton = React7.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
3348
- const Comp = asChild ? import_react_slot3.Slot : "a";
3349
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3350
- Comp,
3351
- {
3352
- ref,
3353
- "data-sidebar": "menu-sub-button",
3354
- "data-size": size,
3355
- "data-active": isActive,
3356
- className: cn(
3357
- "flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground",
3358
- "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
3359
- size === "sm" && "text-xs",
3360
- size === "md" && "text-sm",
3361
- "group-data-[collapsible=icon]:hidden",
3362
- className
3363
- ),
3364
- ...props
3365
- }
3366
- );
3367
- });
3368
- SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
3369
-
3370
- // src/components/DigitalColleagues/AppSidebarLeft.tsx
3371
- var import_lucide_react2 = require("lucide-react");
3372
-
3373
- // src/components/ui/collapsible.tsx
3374
- var CollapsiblePrimitive = __toESM(require("@radix-ui/react-collapsible"));
3375
- var Collapsible = CollapsiblePrimitive.Root;
3376
- var CollapsibleTrigger2 = CollapsiblePrimitive.CollapsibleTrigger;
3377
- var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
3378
-
3379
- // src/components/DigitalColleagues/AppSidebarLeft.tsx
3380
- var import_clsx2 = __toESM(require("clsx"));
3381
- var import_jsx_runtime9 = require("react/jsx-runtime");
3382
- function AppSidebarLeft({
3383
- mainNav,
3384
- secondaryNav,
3385
- ongoingWork,
3386
- title,
3387
- subTitle,
3388
- pathName,
3389
- menuHeading,
3390
- onNavClick,
3391
- loading = false,
3392
- LinkComponent,
3393
- ...props
3394
- }) {
3395
- const Button2 = ({ href, children, ...props2 }) => {
3396
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
3397
- "button",
3398
- {
3399
- onClick: () => onNavClick && onNavClick(href),
3400
- className: "flex items-center justify-start w-full text-sm text-left px-4 py-2",
3401
- ...props2,
3402
- children
3403
- }
3404
- );
3405
- };
3406
- const Link2 = LinkComponent ? (props2) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(LinkComponent, { ...props2 }) : onNavClick ? Button2 : (props2) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("a", { ...props2 });
3407
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(Sidebar, { ...props, variant: "inset", children: [
3408
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SidebarHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SidebarMenu, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SidebarMenuItem, { children: loading ? /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "grid flex-1 p-2 text-left text-m leading-tight", children: [
3409
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Skeleton, { className: "bg-gray-200 my-2 w-full h-7" }),
3410
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Skeleton, { className: "bg-gray-200 w-3/4 my-2 h-5" })
3411
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "grid flex-1 p-2 text-left text-m leading-tight", children: [
3412
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "truncate font-semibold", children: title }),
3413
- subTitle && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "truncate text-sm", children: subTitle })
3414
- ] }) }) }) }),
3415
- loading && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(SidebarContent, { children: [
3416
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Skeleton, { className: "bg-gray-200 w-3/4 h-5" }),
3417
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Skeleton, { className: "bg-gray-200 w-3/4 h-5" }),
3418
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Skeleton, { className: "bg-gray-200 w-3/4 h-5" }),
3419
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Skeleton, { className: "bg-gray-200 w-3/4 h-5" }),
3420
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Skeleton, { className: "bg-gray-200 w-3/4 h-5" }),
3421
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Skeleton, { className: "bg-gray-200 w-3/4 h-5" }),
3422
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Skeleton, { className: "bg-gray-200 w-3/4 h-5" }),
3423
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Skeleton, { className: "bg-gray-200 w-3/4 h-5" }),
3424
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Skeleton, { className: "bg-gray-200 w-3/4 h-5" }),
3425
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Skeleton, { className: "bg-gray-200 w-3/4 h-5" })
3426
- ] }),
3427
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(SidebarContent, { children: [
3428
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "px-4 text-sm", children: "Recent Work" }),
3429
- ongoingWork && !loading && ongoingWork.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Menu, { subNav: item, pathName, Link: Link2 }, index)),
3430
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "border-t border-gray-200 my-4" }),
3431
- mainNav && !loading && mainNav.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Menu, { subNav: item, pathName, Link: Link2 }, index)),
3432
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SidebarGroup, { className: "mt-auto", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SidebarGroupContent, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SidebarMenu, { children: secondaryNav && !loading && secondaryNav.map((item) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SidebarMenuButton, { asChild: true, size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(Link2, { href: item.url || "", children: [
3433
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(item.icon, {}),
3434
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: item.label })
3435
- ] }) }) }, item.label)) }) }) })
3436
- ] }),
3437
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SidebarFooter, {})
3438
- ] });
3439
- }
3440
- function Menu({
3441
- subNav,
3442
- pathName,
3443
- Link: Link2
3444
- }) {
3445
- const item = subNav;
3446
- let isActive = false;
3447
- if (item.links) {
3448
- item.links.map((link) => {
3449
- if (link.url === pathName) {
3450
- isActive = true;
3451
- }
3452
- });
3453
- }
3454
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Collapsible, { defaultOpen: true, className: "group/collapsible", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SidebarGroup, { className: "py-0", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SidebarMenu, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Collapsible, { asChild: true, defaultOpen: item.isActive, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(SidebarMenuItem, { children: [
3455
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
3456
- SidebarMenuButton,
3457
- {
3458
- asChild: true,
3459
- tooltip: item.label,
3460
- className: (0, import_clsx2.default)(isActive && "font-bold text-accent"),
3461
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(Link2, { href: item.url, children: [
3462
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(item.icon, {}),
3463
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: item.label })
3464
- ] })
3465
- }
3466
- ),
3467
- item.links?.length ? /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
3468
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CollapsibleTrigger2, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(SidebarMenuAction, { className: "data-[state=open]:rotate-90", children: [
3469
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react2.ChevronRight, {}),
3470
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "sr-only", children: "Toggle" })
3471
- ] }) }),
3472
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CollapsibleContent2, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SidebarMenuSub, { children: item.links?.map((subItem) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SidebarMenuSubItem, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
3473
- SidebarMenuSubButton,
3474
- {
3475
- asChild: true,
3476
- className: (0, import_clsx2.default)(subItem.url === pathName && "font-bold text-accent"),
3477
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Link2, { href: subItem.url, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: subItem.label }) })
3478
- }
3479
- ) }, subItem.label)) }) })
3480
- ] }) : null
3481
- ] }) }, item.label) }) }) });
3482
- }
3483
-
3484
- // src/hooks/use-toast.tsx
3485
- var React8 = __toESM(require("react"));
3486
- var TOAST_LIMIT = 1;
3487
- var TOAST_REMOVE_DELAY = 1e6;
3488
- var count = 0;
3489
- function genId() {
3490
- count = (count + 1) % Number.MAX_SAFE_INTEGER;
3491
- return count.toString();
3492
- }
3493
- var toastTimeouts = /* @__PURE__ */ new Map();
3494
- var addToRemoveQueue = (toastId) => {
3495
- if (toastTimeouts.has(toastId)) {
3496
- return;
3497
- }
3498
- const timeout = setTimeout(() => {
3499
- toastTimeouts.delete(toastId);
3500
- dispatch({
3501
- type: "REMOVE_TOAST",
3502
- toastId
3503
- });
3504
- }, TOAST_REMOVE_DELAY);
3505
- toastTimeouts.set(toastId, timeout);
3506
- };
3507
- var reducer = (state, action) => {
3508
- switch (action.type) {
3509
- case "ADD_TOAST":
3510
- return {
3511
- ...state,
3512
- toasts: [action.toast, ...state.toasts].slice(0, TOAST_LIMIT)
3513
- };
3514
- case "UPDATE_TOAST":
3515
- return {
3516
- ...state,
3517
- toasts: state.toasts.map((t) => t.id === action.toast.id ? { ...t, ...action.toast } : t)
3518
- };
3519
- case "DISMISS_TOAST": {
3520
- const { toastId } = action;
3521
- if (toastId) {
3522
- addToRemoveQueue(toastId);
3523
- } else {
3524
- state.toasts.forEach((toast2) => {
3525
- addToRemoveQueue(toast2.id);
3526
- });
3527
- }
3528
- return {
3529
- ...state,
3530
- toasts: state.toasts.map(
3531
- (t) => t.id === toastId || toastId === void 0 ? {
3532
- ...t,
3533
- open: false
3534
- } : t
3535
- )
3536
- };
3537
- }
3538
- case "REMOVE_TOAST":
3539
- if (action.toastId === void 0) {
3540
- return {
3541
- ...state,
3542
- toasts: []
3543
- };
3544
- }
3545
- return {
3546
- ...state,
3547
- toasts: state.toasts.filter((t) => t.id !== action.toastId)
3548
- };
3549
- }
3550
- };
3551
- var listeners = [];
3552
- var memoryState = { toasts: [] };
3553
- function dispatch(action) {
3554
- memoryState = reducer(memoryState, action);
3555
- listeners.forEach((listener) => {
3556
- listener(memoryState);
3557
- });
3558
- }
3559
- function toast({ ...props }) {
3560
- const id = genId();
3561
- const update = (props2) => dispatch({
3562
- type: "UPDATE_TOAST",
3563
- toast: { ...props2, id }
3564
- });
3565
- const dismiss = () => dispatch({ type: "DISMISS_TOAST", toastId: id });
3566
- dispatch({
3567
- type: "ADD_TOAST",
3568
- toast: {
3569
- ...props,
3570
- id,
3571
- open: true,
3572
- onOpenChange: (open) => {
3573
- if (!open) dismiss();
3574
- }
3575
- }
3576
- });
3577
- return {
3578
- id,
3579
- dismiss,
3580
- update
3581
- };
3582
- }
3583
- function useToast() {
3584
- const [state, setState] = React8.useState(memoryState);
3585
- React8.useEffect(() => {
3586
- listeners.push(setState);
3587
- return () => {
3588
- const index = listeners.indexOf(setState);
3589
- if (index > -1) {
3590
- listeners.splice(index, 1);
3591
- }
3592
- };
3593
- }, [state]);
3594
- return {
3595
- ...state,
3596
- toast,
3597
- dismiss: (toastId) => dispatch({ type: "DISMISS_TOAST", toastId })
3598
- };
3599
- }
3600
-
3601
- // src/components/ui/toast.tsx
3602
- var React9 = __toESM(require("react"));
3603
- var ToastPrimitives = __toESM(require("@radix-ui/react-toast"));
3604
- var import_class_variance_authority4 = require("class-variance-authority");
3605
- var import_lucide_react3 = require("lucide-react");
3606
- var import_jsx_runtime10 = require("react/jsx-runtime");
3607
- var ToastProvider = ToastPrimitives.Provider;
3608
- var ToastViewport = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3609
- ToastPrimitives.Viewport,
3610
- {
3611
- ref,
3612
- className: cn(
3613
- "fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",
3614
- className
3615
- ),
3616
- ...props
3617
- }
3618
- ));
3619
- ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
3620
- var toastVariants = (0, import_class_variance_authority4.cva)(
3621
- "group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
3622
- {
3623
- variants: {
3624
- variant: {
3625
- default: "border bg-background text-foreground",
3626
- destructive: "destructive group border-destructive bg-destructive text-destructive-foreground"
3627
- }
3628
- },
3629
- defaultVariants: {
3630
- variant: "default"
3631
- }
3632
- }
3633
- );
3634
- var Toast = React9.forwardRef(({ className, variant, ...props }, ref) => {
3635
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3636
- ToastPrimitives.Root,
3637
- {
3638
- ref,
3639
- className: cn(toastVariants({ variant }), className),
3640
- ...props
3641
- }
3642
- );
3643
- });
3644
- Toast.displayName = ToastPrimitives.Root.displayName;
3645
- var ToastAction = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3646
- ToastPrimitives.Action,
3647
- {
3648
- ref,
3649
- className: cn(
3650
- "inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",
3651
- className
3652
- ),
3653
- ...props
3654
- }
3655
- ));
3656
- ToastAction.displayName = ToastPrimitives.Action.displayName;
3657
- var ToastClose = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3658
- ToastPrimitives.Close,
3659
- {
3660
- ref,
3661
- className: cn(
3662
- "absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",
3663
- className
3664
- ),
3665
- "toast-close": "",
3666
- ...props,
3667
- children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react3.X, { className: "h-4 w-4" })
3668
- }
3669
- ));
3670
- ToastClose.displayName = ToastPrimitives.Close.displayName;
3671
- var ToastTitle = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3672
- ToastPrimitives.Title,
3673
- {
3674
- ref,
3675
- className: cn("text-sm font-semibold [&+div]:text-xs", className),
3676
- ...props
3677
- }
3678
- ));
3679
- ToastTitle.displayName = ToastPrimitives.Title.displayName;
3680
- var ToastDescription = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3681
- ToastPrimitives.Description,
3682
- {
3683
- ref,
3684
- className: cn("text-sm opacity-90", className),
3685
- ...props
3686
- }
3687
- ));
3688
- ToastDescription.displayName = ToastPrimitives.Description.displayName;
3689
-
3690
- // src/components/ui/toaster.tsx
3691
- var import_jsx_runtime11 = require("react/jsx-runtime");
3692
- function Toaster() {
3693
- const { toasts } = useToast();
3694
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(ToastProvider, { children: [
3695
- toasts.map(function({ id, title, description, action, ...props }) {
3696
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(Toast, { ...props, children: [
3697
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "grid gap-1", children: [
3698
- title && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ToastTitle, { children: title }),
3699
- description && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ToastDescription, { children: description })
3700
- ] }),
3701
- action,
3702
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ToastClose, {})
3703
- ] }, id);
3704
- }),
3705
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ToastViewport, {})
3706
- ] });
3707
- }
3708
-
3709
- // src/components/Images/DynamicIcon.tsx
3710
- var import_jsx_runtime12 = require("react/jsx-runtime");
3711
- var DynamicIcon = ({
3712
- type = "solid",
3713
- iconName = "cloud",
3714
- size = "lg",
3715
- className
3716
- }) => {
3717
- const typeWithPrefix = type.includes("fa-") ? type + " " : "fa-" + type + " ";
3718
- const name = "fa-" + iconName;
3719
- const classNameContent = className ?? "";
3720
- let icon = typeWithPrefix + name + " fa-" + size + " " + classNameContent;
3721
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("i", { className: icon });
3722
- };
3723
-
3724
- // src/components/HeaderFooter/HeaderMenu.tsx
3725
- var import_react2 = require("@headlessui/react");
3726
- var import_solid = require("@heroicons/react/20/solid");
3727
- var import_jsx_runtime13 = require("react/jsx-runtime");
3728
- var HeaderMenu = ({ name, items, actions = [], href }) => {
3729
- if (!items && href) {
3730
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
3731
- "a",
3732
- {
3733
- href,
3734
- className: "flex items-center gap-x-1 text-sm text-foreground group",
3735
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("span", { className: "relative", children: [
3736
- name,
3737
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100" })
3738
- ] })
3739
- }
3740
- );
3741
- }
3742
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_react2.Popover, { children: [
3743
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_react2.PopoverButton, { className: "flex items-center gap-x-1 text-sm/6 text-foreground outline-none group", children: [
3744
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("span", { className: "relative", children: [
3745
- name,
3746
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100" })
3747
- ] }),
3748
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_solid.ChevronDownIcon, { "aria-hidden": "true", className: "h-5 w-5 flex-none text-accent" })
3749
- ] }),
3750
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
3751
- import_react2.PopoverPanel,
3752
- {
3753
- transition: true,
3754
- className: "absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",
3755
- children: [
3756
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50", children: items && items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "group relative rounded-lg p-6 text-sm/6 box-border", children: [
3757
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90", children: item.icon && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { icon: item.icon, size: "4x" }) }),
3758
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
3759
- "a",
3760
- {
3761
- href: item.href,
3762
- className: "mt-6 block text-popover-foreground group-hover:text-accent",
3763
- children: [
3764
- item.name,
3765
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "absolute inset-0" })
3766
- ]
3767
- }
3768
- ),
3769
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { className: "mt-1 text-popover-foreground/80 group-hover:text-accent", children: item.description })
3770
- ] }, item.name)) }),
3771
- actions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "bg-gray-50", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "mx-auto max-w-7xl px-6 lg:px-8", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5", children: actions.map((item) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
3772
- "a",
3773
- {
3774
- href: item.href,
3775
- className: "flex items-center max-h-12 justify-center gap-x-2.5 p-3 text-sm/6 text-gray-900 hover:bg-gray-100",
3776
- children: [
3777
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { icon: item.icon, className: "h-5 w-5 flex-none text-gray-400" }),
3778
- item.name
3779
- ]
3780
- },
3781
- item.name
3782
- )) }) }) })
3783
- ]
3784
- }
3785
- )
3786
- ] });
3787
- };
3788
- var Icon = ({
3789
- icon,
3790
- className,
3791
- size = "lg"
3792
- }) => {
3793
- if (!icon) return null;
3794
- if ("type" in icon) {
3795
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(DynamicIcon, { ...icon, size });
3796
- } else if ("src" in icon) {
3797
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: cn(className, "h-full max-w-32 items-start text-left"), children: icon && typeof icon.src === "string" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("img", { src: icon.src, style: { objectFit: "contain", width: "100%", height: "100%" } }) });
3798
- }
3799
- };
3800
- var HeaderMenu_default = HeaderMenu;
3801
-
3802
- // src/components/Other/CustomLink.tsx
3803
- var import_link = __toESM(require("next/link"));
3804
- var import_jsx_runtime14 = require("react/jsx-runtime");
3805
- function CustomLink({ children, href, openNewTab, ...props }) {
3806
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_link.default, { href, target: openNewTab ? "_blank" : "_self", ...props, children });
3807
- }
3808
-
3809
- // src/components/HeaderFooter/HeaderDesktop.tsx
3810
- var import_react3 = require("react");
3811
-
3812
- // src/components/HeaderFooter/BrandLogo.tsx
3813
- var import_image = __toESM(require("next/image"));
3814
- var import_jsx_runtime15 = require("react/jsx-runtime");
3815
- function BrandLogo({ logoLight, logoDark, mobile = false }) {
3816
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(CustomLink, { href: "/", className: cn(mobile ? "py-1" : "py-2"), children: [
3817
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
3818
- import_image.default,
3819
- {
3820
- className: "logo-light dark:hidden",
3821
- src: logoLight.src,
3822
- width: logoLight.width,
3823
- height: logoLight.height,
3824
- alt: `${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,
3825
- sizes: "100vw",
3826
- priority: true,
3827
- style: {
3828
- width: "auto",
3829
- height: mobile ? 35 : 50
3830
- }
3831
- }
3832
- ),
3833
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
3834
- import_image.default,
3835
- {
3836
- className: "hidden dark:block",
3837
- src: logoDark.src,
3838
- width: logoDark.width,
3839
- height: logoDark.height,
3840
- alt: `${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,
3841
- sizes: "100vw",
3842
- priority: true,
3843
- style: {
3844
- // width: '200px',
3845
- width: "auto",
3846
- height: mobile ? 35 : 50
3847
- // height: 'auto',
3848
- }
3849
- }
3850
- )
3851
- ] });
3852
- }
3853
-
3854
- // src/components/HeaderFooter/HeaderDesktop.tsx
3855
- var import_next_themes = require("next-themes");
3856
- var import_lucide_react4 = require("lucide-react");
3857
- var import_react4 = require("@headlessui/react");
3858
- var import_jsx_runtime16 = require("react/jsx-runtime");
3859
- function HeaderDesktop({ isMenuOpen, logoLight, logoDark, menuItems, themeControl = false, wide = false }) {
3860
- const [isScrolled, setIsScrolled] = (0, import_react3.useState)(false);
3861
- const [currentTheme, setCurrentTheme] = (0, import_react3.useState)("");
3862
- const themes2 = ["light", "dark"];
3863
- const { theme, setTheme } = (0, import_next_themes.useTheme)();
3864
- (0, import_react3.useEffect)(() => {
3865
- setCurrentTheme(theme || "dark");
3866
- }, [theme]);
3867
- const toggleTheme = () => {
3868
- const nextTheme = themes2[(themes2.indexOf(currentTheme) + 1) % themes2.length];
3869
- setCurrentTheme(nextTheme);
3870
- setTheme(nextTheme);
3871
- };
3872
- (0, import_react3.useEffect)(() => {
3873
- const handleScroll = () => {
3874
- const currentScrollY = window.scrollY;
3875
- if (currentScrollY > 100) {
3876
- setIsScrolled(true);
3877
- } else {
3878
- setIsScrolled(false);
3879
- }
3880
- };
3881
- window.addEventListener("scroll", handleScroll, { passive: true });
3882
- return () => window.removeEventListener("scroll", handleScroll);
3883
- }, []);
3884
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_jsx_runtime16.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3885
- "header",
3886
- {
3887
- className: `z-50 pb-0 transition-all duration-300 hidden lg:block ${isScrolled || isMenuOpen ? "translate-y-0" : "-translate-y-full bg-transparent"}`,
3888
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("nav", { className: "backdrop-blur-sm bg-background/80 text-white p-0", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: cn("flex items-center justify-between px-9 py-0", !wide && "container"), children: [
3889
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(BrandLogo, { logoDark, logoLight }),
3890
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_react4.PopoverGroup, { className: cn("hidden lg:flex lg:gap-x-12", wide && "pr-20"), children: menuItems && menuItems.map((menu) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(HeaderMenu_default, { ...menu }, menu.name)) }),
3891
- themeControl && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3892
- "button",
3893
- {
3894
- className: "fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",
3895
- onClick: toggleTheme,
3896
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "relative", children: [
3897
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react4.Sun, { className: "absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0" }),
3898
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react4.Moon, { className: "absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100" })
3899
- ] })
3900
- }
3901
- )
3902
- ] }) })
3903
- }
3904
- ) });
3905
- }
3906
-
3907
- // src/components/HeaderFooter/HeaderMobile.tsx
3908
- var import_react5 = require("react");
3909
- var import_react6 = require("@headlessui/react");
3910
- var import_outline = require("@heroicons/react/24/outline");
3911
- var import_next_themes2 = require("next-themes");
3912
- var import_jsx_runtime17 = require("react/jsx-runtime");
3913
- var themes = ["light", "dark"];
3914
- function HeaderMobile({
3915
- logoLight,
3916
- logoDark,
3917
- menuItems,
3918
- isMenuOpen = true
3919
- }) {
3920
- const [isScrolled, setIsScrolled] = (0, import_react5.useState)(false);
3921
- const { theme, setTheme } = (0, import_next_themes2.useTheme)();
3922
- const [mobileMenuOpen, setMobileMenuOpen] = (0, import_react5.useState)(false);
3923
- const [currentTheme, setCurrentTheme] = (0, import_react5.useState)("light");
3924
- (0, import_react5.useEffect)(() => {
3925
- const handleScroll = () => {
3926
- const currentScrollY = window.scrollY;
3927
- if (currentScrollY > 100) {
3928
- setIsScrolled(true);
3929
- } else {
3930
- setIsScrolled(false);
3931
- }
3932
- };
3933
- window.addEventListener("scroll", handleScroll, { passive: true });
3934
- return () => window.removeEventListener("scroll", handleScroll);
3935
- }, []);
3936
- (0, import_react5.useEffect)(() => {
3937
- setCurrentTheme(theme || "dark");
3938
- }, [theme]);
3939
- const toggleTheme = () => {
3940
- const nextTheme = themes[(themes.indexOf(currentTheme) + 1) % themes.length];
3941
- setCurrentTheme(nextTheme);
3942
- setTheme(nextTheme);
3943
- };
3944
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_jsx_runtime17.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
3945
- "header",
3946
- {
3947
- className: `z-50 pb-10 transition-all duration-300 block lg:hidden ${isScrolled || isMenuOpen ? "translate-y-0" : "-translate-y-full bg-transparent"}`,
3948
- children: [
3949
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("nav", { className: cn("backdrop-blur-sm text-white p-0", mobileMenuOpen && "hidden"), children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent", children: [
3950
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(BrandLogo, { logoDark, logoLight, mobile: true }),
3951
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "flex items-center space-x-4", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
3952
- "button",
3953
- {
3954
- type: "button",
3955
- onClick: () => setMobileMenuOpen(true),
3956
- className: "fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",
3957
- children: [
3958
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "sr-only", children: "Open main menu" }),
3959
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_outline.Bars3Icon, { "aria-hidden": "true", className: "h-4 w-4" })
3960
- ]
3961
- }
3962
- ) })
3963
- ] }) }),
3964
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_react6.Dialog, { open: mobileMenuOpen, onClose: setMobileMenuOpen, className: "lg:hidden", children: [
3965
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "fixed inset-0 z-10 bg-black bg-opacity-50", "aria-hidden": "true" }),
3966
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_react6.DialogPanel, { className: "fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-background dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10", children: [
3967
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "flex items-stretch justify-between", children: [
3968
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(BrandLogo, { logoDark, logoLight, mobile: true }),
3969
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
3970
- "button",
3971
- {
3972
- type: "button",
3973
- onClick: () => setMobileMenuOpen(false),
3974
- className: "-m-2.5 rounded-md p-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",
3975
- children: [
3976
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "sr-only", children: "Close menu" }),
3977
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_outline.XMarkIcon, { "aria-hidden": "true", className: "h-6 w-6" })
3978
- ]
3979
- }
3980
- )
3981
- ] }),
3982
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "mt-6 flow-root", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "-my-6 divide-y divide-gray-500/10", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "space-y-2 px-2 py-6", children: menuItems && menuItems.map((menu) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DisclosureItem, { ...menu }, menu.name)) }) }) })
3983
- ] })
3984
- ] })
3985
- ]
3986
- }
3987
- ) });
3988
- }
3989
- function DisclosureItem({ name, items, actions, href }) {
3990
- if (!items && href) {
3991
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3992
- "a",
3993
- {
3994
- href,
3995
- className: "-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",
3996
- children: name
3997
- }
3998
- );
3999
- }
4000
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_react6.Disclosure, { as: "div", className: "-mx-3", children: [
4001
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react6.DisclosureButton, { className: "group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent", children: name }),
4002
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react6.DisclosurePanel, { className: "mt-2 space-y-2", children: items && items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4003
- import_react6.DisclosureButton,
4004
- {
4005
- as: "a",
4006
- href: item.href,
4007
- className: "block rounded-lg py-2 pl-6 pr-3 text-sm dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",
4008
- children: item.name
4009
- },
4010
- item.name
4011
- )) })
4012
- ] });
4013
- }
4014
-
4015
- // src/components/HeaderFooter/Header.tsx
4016
- var import_jsx_runtime18 = require("react/jsx-runtime");
4017
- function Header({ isMenuOpen, logoLight, logoDark, menuItems, className, wide, themeControl = false }) {
4018
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: cn("fixed top-0 left-0 right-0 z-50", className), children: [
4019
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4020
- HeaderDesktop,
4021
- {
4022
- isMenuOpen,
4023
- logoLight,
4024
- logoDark,
4025
- menuItems,
4026
- themeControl,
4027
- wide
4028
- }
4029
- ),
4030
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4031
- HeaderMobile,
4032
- {
4033
- isMenuOpen,
4034
- logoLight,
4035
- logoDark,
4036
- menuItems
4037
- }
4038
- )
4039
- ] });
4040
- }
4041
-
4042
- // src/images/cortex-reply-light.png
4043
- var cortex_reply_light_default = "../../cortex-reply-light-27IMI3G7.png";
4044
-
4045
- // src/images/cortex-reply-dark.png
4046
- var cortex_reply_dark_default = "../../cortex-reply-dark-XPAJJJYY.png";
4047
-
4048
- // src/components/DigitalColleagues/MainPage.tsx
4049
- var import_jsx_runtime19 = require("react/jsx-runtime");
4050
- function Documentation({ ...args }) {
4051
- return (
4052
- // <div className="flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain">
4053
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "bg-sidebar", children: [
4054
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Header, { isMenuOpen: true, logoLight: cortex_reply_light_default, logoDark: cortex_reply_dark_default, ...args.header, className: "bg-sidebar", wide: true }),
4055
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(SidebarProvider, { className: "top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip", children: [
4056
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AppSidebarLeft, { ...args.sidebarLeft, className: "flex-none top-24" }),
4057
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(SidebarInset, { className: "grow overflow-hidden", children: [
4058
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("header", { className: "flex h-16 shrink-0 items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex items-center gap-2 px-4", children: [
4059
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(SidebarTrigger, { className: "-ml-1" }),
4060
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Separator, { orientation: "vertical", className: "mr-2 h-4" }),
4061
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Breadcrumb, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(BreadcrumbList, { children: [
4062
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(BreadcrumbItem, { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(BreadcrumbLink, { href: "#", children: "Building Your Application" }) }),
4063
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(BreadcrumbSeparator, { className: "hidden md:block" }),
4064
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(BreadcrumbItem, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(BreadcrumbPage, { children: "Data Fetching" }) })
4065
- ] }) })
4066
- ] }) }),
4067
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex flex-1 flex-col gap-4 p-4 pt-0", children: [
4068
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "grid auto-rows-min gap-4 md:grid-cols-3", children: [
4069
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "aspect-video rounded-xl bg-muted/50" }),
4070
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "aspect-video rounded-xl bg-muted/50" }),
4071
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "aspect-video rounded-xl bg-muted/50" })
4072
- ] }),
4073
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "flex-1 rounded-xl bg-muted/50 md:min-h-min" })
4074
- ] })
4075
- ] })
4076
- ] }),
4077
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Toaster, {})
4078
- ] })
4079
- );
4080
- }