@psnext/design-system 1.1.0 → 1.2.1

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 (789) hide show
  1. package/README.md +137 -30
  2. package/dist/Header.cjs +890 -0
  3. package/dist/Header.cjs.map +1 -0
  4. package/dist/Header.js +798 -0
  5. package/dist/Header.js.map +1 -0
  6. package/dist/Icon.cjs +1969 -0
  7. package/dist/Icon.cjs.map +1 -0
  8. package/dist/Icon.js +1956 -0
  9. package/dist/Icon.js.map +1 -0
  10. package/dist/{ThemeProvider.cjs → Logo.cjs} +164 -1211
  11. package/dist/Logo.cjs.map +1 -0
  12. package/dist/{ThemeProvider.js → Logo.js} +166 -840
  13. package/dist/Logo.js.map +1 -0
  14. package/dist/Sidebar.cjs +562 -0
  15. package/dist/Sidebar.cjs.map +1 -0
  16. package/dist/Sidebar.js +416 -0
  17. package/dist/Sidebar.js.map +1 -0
  18. package/dist/{utils.cjs → chunk.cjs} +0 -39
  19. package/dist/cn.cjs +15 -0
  20. package/dist/cn.cjs.map +1 -0
  21. package/dist/cn.js +10 -0
  22. package/dist/cn.js.map +1 -0
  23. package/dist/index.cjs +413 -346
  24. package/dist/index.d.cts +12 -1996
  25. package/dist/index.d.cts.map +1 -1
  26. package/dist/index.d.ts +12 -1996
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +71 -5
  29. package/dist/index10.d.cts +38 -0
  30. package/dist/index10.d.cts.map +1 -0
  31. package/dist/index10.d.ts +38 -0
  32. package/dist/index10.d.ts.map +1 -0
  33. package/dist/index11.d.cts +30 -0
  34. package/dist/index11.d.cts.map +1 -0
  35. package/dist/index11.d.ts +30 -0
  36. package/dist/index11.d.ts.map +1 -0
  37. package/dist/index12.d.cts +75 -0
  38. package/dist/index12.d.cts.map +1 -0
  39. package/dist/index12.d.ts +75 -0
  40. package/dist/index12.d.ts.map +1 -0
  41. package/dist/index13.d.cts +57 -0
  42. package/dist/index13.d.cts.map +1 -0
  43. package/dist/index13.d.ts +57 -0
  44. package/dist/index13.d.ts.map +1 -0
  45. package/dist/index14.d.cts +98 -0
  46. package/dist/index14.d.cts.map +1 -0
  47. package/dist/index14.d.ts +98 -0
  48. package/dist/index14.d.ts.map +1 -0
  49. package/dist/index15.d.cts +29 -0
  50. package/dist/index15.d.cts.map +1 -0
  51. package/dist/index15.d.ts +29 -0
  52. package/dist/index15.d.ts.map +1 -0
  53. package/dist/index16.d.cts +38 -0
  54. package/dist/index16.d.cts.map +1 -0
  55. package/dist/index16.d.ts +38 -0
  56. package/dist/index16.d.ts.map +1 -0
  57. package/dist/index17.d.cts +19 -0
  58. package/dist/index17.d.cts.map +1 -0
  59. package/dist/index17.d.ts +19 -0
  60. package/dist/index17.d.ts.map +1 -0
  61. package/dist/index18.d.cts +73 -0
  62. package/dist/index18.d.cts.map +1 -0
  63. package/dist/index18.d.ts +73 -0
  64. package/dist/index18.d.ts.map +1 -0
  65. package/dist/index19.d.cts +66 -0
  66. package/dist/index19.d.cts.map +1 -0
  67. package/dist/index19.d.ts +66 -0
  68. package/dist/index19.d.ts.map +1 -0
  69. package/dist/index2.d.cts +44 -4
  70. package/dist/index2.d.cts.map +1 -0
  71. package/dist/index2.d.ts +44 -4
  72. package/dist/index2.d.ts.map +1 -0
  73. package/dist/index20.d.cts +96 -0
  74. package/dist/index20.d.cts.map +1 -0
  75. package/dist/index20.d.ts +96 -0
  76. package/dist/index20.d.ts.map +1 -0
  77. package/dist/index21.d.cts +34 -0
  78. package/dist/index21.d.cts.map +1 -0
  79. package/dist/index21.d.ts +34 -0
  80. package/dist/index21.d.ts.map +1 -0
  81. package/dist/index22.d.cts +62 -0
  82. package/dist/index22.d.cts.map +1 -0
  83. package/dist/index22.d.ts +62 -0
  84. package/dist/index22.d.ts.map +1 -0
  85. package/dist/index23.d.cts +99 -0
  86. package/dist/index23.d.cts.map +1 -0
  87. package/dist/index23.d.ts +99 -0
  88. package/dist/index23.d.ts.map +1 -0
  89. package/dist/index24.d.cts +49 -0
  90. package/dist/index24.d.cts.map +1 -0
  91. package/dist/index24.d.ts +49 -0
  92. package/dist/index24.d.ts.map +1 -0
  93. package/dist/index25.d.cts +17 -0
  94. package/dist/index25.d.cts.map +1 -0
  95. package/dist/index25.d.ts +17 -0
  96. package/dist/index25.d.ts.map +1 -0
  97. package/dist/index26.d.cts +80 -0
  98. package/dist/index26.d.cts.map +1 -0
  99. package/dist/index26.d.ts +80 -0
  100. package/dist/index26.d.ts.map +1 -0
  101. package/dist/index27.d.cts +71 -0
  102. package/dist/index27.d.cts.map +1 -0
  103. package/dist/index27.d.ts +71 -0
  104. package/dist/index27.d.ts.map +1 -0
  105. package/dist/index28.d.cts +37 -0
  106. package/dist/index28.d.cts.map +1 -0
  107. package/dist/index28.d.ts +37 -0
  108. package/dist/index28.d.ts.map +1 -0
  109. package/dist/index29.d.cts +25 -0
  110. package/dist/index29.d.cts.map +1 -0
  111. package/dist/index29.d.ts +25 -0
  112. package/dist/index29.d.ts.map +1 -0
  113. package/dist/index3.d.cts +62 -0
  114. package/dist/index3.d.cts.map +1 -0
  115. package/dist/index3.d.ts +62 -0
  116. package/dist/index3.d.ts.map +1 -0
  117. package/dist/index30.d.cts +59 -0
  118. package/dist/index30.d.cts.map +1 -0
  119. package/dist/index30.d.ts +59 -0
  120. package/dist/index30.d.ts.map +1 -0
  121. package/dist/index31.d.cts +40 -0
  122. package/dist/index31.d.cts.map +1 -0
  123. package/dist/index31.d.ts +40 -0
  124. package/dist/index31.d.ts.map +1 -0
  125. package/dist/index32.d.cts +23 -0
  126. package/dist/index32.d.cts.map +1 -0
  127. package/dist/index32.d.ts +23 -0
  128. package/dist/index32.d.ts.map +1 -0
  129. package/dist/index33.d.cts +55 -0
  130. package/dist/index33.d.cts.map +1 -0
  131. package/dist/index33.d.ts +55 -0
  132. package/dist/index33.d.ts.map +1 -0
  133. package/dist/index34.d.cts +43 -0
  134. package/dist/index34.d.cts.map +1 -0
  135. package/dist/index34.d.ts +43 -0
  136. package/dist/index34.d.ts.map +1 -0
  137. package/dist/index35.d.cts +77 -0
  138. package/dist/index35.d.cts.map +1 -0
  139. package/dist/index35.d.ts +77 -0
  140. package/dist/index35.d.ts.map +1 -0
  141. package/dist/index36.d.cts +19 -0
  142. package/dist/index36.d.cts.map +1 -0
  143. package/dist/index36.d.ts +19 -0
  144. package/dist/index36.d.ts.map +1 -0
  145. package/dist/index37.d.cts +29 -0
  146. package/dist/index37.d.cts.map +1 -0
  147. package/dist/index37.d.ts +29 -0
  148. package/dist/index37.d.ts.map +1 -0
  149. package/dist/index38.d.cts +20 -0
  150. package/dist/index38.d.cts.map +1 -0
  151. package/dist/index38.d.ts +20 -0
  152. package/dist/index38.d.ts.map +1 -0
  153. package/dist/index39.d.cts +105 -0
  154. package/dist/index39.d.cts.map +1 -0
  155. package/dist/index39.d.ts +105 -0
  156. package/dist/index39.d.ts.map +1 -0
  157. package/dist/index4.d.cts +11 -0
  158. package/dist/index4.d.cts.map +1 -0
  159. package/dist/index4.d.ts +11 -0
  160. package/dist/index4.d.ts.map +1 -0
  161. package/dist/index40.d.cts +22 -0
  162. package/dist/index40.d.cts.map +1 -0
  163. package/dist/index40.d.ts +22 -0
  164. package/dist/index40.d.ts.map +1 -0
  165. package/dist/index41.d.cts +56 -0
  166. package/dist/index41.d.cts.map +1 -0
  167. package/dist/index41.d.ts +56 -0
  168. package/dist/index41.d.ts.map +1 -0
  169. package/dist/index42.d.cts +45 -0
  170. package/dist/index42.d.cts.map +1 -0
  171. package/dist/index42.d.ts +45 -0
  172. package/dist/index42.d.ts.map +1 -0
  173. package/dist/index43.d.cts +96 -0
  174. package/dist/index43.d.cts.map +1 -0
  175. package/dist/index43.d.ts +96 -0
  176. package/dist/index43.d.ts.map +1 -0
  177. package/dist/index44.d.cts +48 -0
  178. package/dist/index44.d.cts.map +1 -0
  179. package/dist/index44.d.ts +48 -0
  180. package/dist/index44.d.ts.map +1 -0
  181. package/dist/index45.d.cts +28 -0
  182. package/dist/index45.d.cts.map +1 -0
  183. package/dist/index45.d.ts +28 -0
  184. package/dist/index45.d.ts.map +1 -0
  185. package/dist/index46.d.cts +41 -0
  186. package/dist/index46.d.cts.map +1 -0
  187. package/dist/index46.d.ts +41 -0
  188. package/dist/index46.d.ts.map +1 -0
  189. package/dist/index47.d.cts +25 -0
  190. package/dist/index47.d.cts.map +1 -0
  191. package/dist/index47.d.ts +25 -0
  192. package/dist/index47.d.ts.map +1 -0
  193. package/dist/index48.d.cts +21 -0
  194. package/dist/index48.d.cts.map +1 -0
  195. package/dist/index48.d.ts +21 -0
  196. package/dist/index48.d.ts.map +1 -0
  197. package/dist/index49.d.cts +69 -0
  198. package/dist/index49.d.cts.map +1 -0
  199. package/dist/index49.d.ts +69 -0
  200. package/dist/index49.d.ts.map +1 -0
  201. package/dist/index5.d.cts +45 -0
  202. package/dist/index5.d.cts.map +1 -0
  203. package/dist/index5.d.ts +45 -0
  204. package/dist/index5.d.ts.map +1 -0
  205. package/dist/index50.d.cts +63 -0
  206. package/dist/index50.d.cts.map +1 -0
  207. package/dist/index50.d.ts +63 -0
  208. package/dist/index50.d.ts.map +1 -0
  209. package/dist/index51.d.cts +31 -0
  210. package/dist/index51.d.cts.map +1 -0
  211. package/dist/index51.d.ts +31 -0
  212. package/dist/index51.d.ts.map +1 -0
  213. package/dist/index52.d.cts +209 -0
  214. package/dist/index52.d.cts.map +1 -0
  215. package/dist/index52.d.ts +209 -0
  216. package/dist/index52.d.ts.map +1 -0
  217. package/dist/index53.d.cts +26 -0
  218. package/dist/index53.d.cts.map +1 -0
  219. package/dist/index53.d.ts +26 -0
  220. package/dist/index53.d.ts.map +1 -0
  221. package/dist/index54.d.cts +28 -0
  222. package/dist/index54.d.cts.map +1 -0
  223. package/dist/index54.d.ts +28 -0
  224. package/dist/index54.d.ts.map +1 -0
  225. package/dist/index55.d.cts +25 -0
  226. package/dist/index55.d.cts.map +1 -0
  227. package/dist/index55.d.ts +25 -0
  228. package/dist/index55.d.ts.map +1 -0
  229. package/dist/index56.d.cts +12 -0
  230. package/dist/index56.d.cts.map +1 -0
  231. package/dist/index56.d.ts +12 -0
  232. package/dist/index56.d.ts.map +1 -0
  233. package/dist/index57.d.cts +50 -0
  234. package/dist/index57.d.cts.map +1 -0
  235. package/dist/index57.d.ts +50 -0
  236. package/dist/index57.d.ts.map +1 -0
  237. package/dist/index58.d.cts +51 -0
  238. package/dist/index58.d.cts.map +1 -0
  239. package/dist/index58.d.ts +51 -0
  240. package/dist/index58.d.ts.map +1 -0
  241. package/dist/index59.d.cts +58 -0
  242. package/dist/index59.d.cts.map +1 -0
  243. package/dist/index59.d.ts +58 -0
  244. package/dist/index59.d.ts.map +1 -0
  245. package/dist/index6.d.cts +26 -0
  246. package/dist/index6.d.cts.map +1 -0
  247. package/dist/index6.d.ts +26 -0
  248. package/dist/index6.d.ts.map +1 -0
  249. package/dist/index60.d.cts +45 -0
  250. package/dist/index60.d.cts.map +1 -0
  251. package/dist/index60.d.ts +45 -0
  252. package/dist/index60.d.ts.map +1 -0
  253. package/dist/index61.d.cts +21 -0
  254. package/dist/index61.d.cts.map +1 -0
  255. package/dist/index61.d.ts +21 -0
  256. package/dist/index61.d.ts.map +1 -0
  257. package/dist/index62.d.cts +45 -0
  258. package/dist/index62.d.cts.map +1 -0
  259. package/dist/index62.d.ts +45 -0
  260. package/dist/index62.d.ts.map +1 -0
  261. package/dist/index63.d.cts +23 -0
  262. package/dist/index63.d.cts.map +1 -0
  263. package/dist/index63.d.ts +23 -0
  264. package/dist/index63.d.ts.map +1 -0
  265. package/dist/index64.d.cts +48 -0
  266. package/dist/index64.d.cts.map +1 -0
  267. package/dist/index64.d.ts +48 -0
  268. package/dist/index64.d.ts.map +1 -0
  269. package/dist/index65.d.cts +25 -0
  270. package/dist/index65.d.cts.map +1 -0
  271. package/dist/index65.d.ts +25 -0
  272. package/dist/index65.d.ts.map +1 -0
  273. package/dist/index66.d.cts +19 -0
  274. package/dist/index66.d.cts.map +1 -0
  275. package/dist/index66.d.ts +19 -0
  276. package/dist/index66.d.ts.map +1 -0
  277. package/dist/index67.d.cts +37 -0
  278. package/dist/index67.d.cts.map +1 -0
  279. package/dist/index67.d.ts +37 -0
  280. package/dist/index67.d.ts.map +1 -0
  281. package/dist/index68.d.cts +36 -0
  282. package/dist/index68.d.cts.map +1 -0
  283. package/dist/index68.d.ts +36 -0
  284. package/dist/index68.d.ts.map +1 -0
  285. package/dist/index69.d.cts +69 -0
  286. package/dist/index69.d.ts +69 -0
  287. package/dist/index7.d.cts +46 -0
  288. package/dist/index7.d.cts.map +1 -0
  289. package/dist/index7.d.ts +46 -0
  290. package/dist/index7.d.ts.map +1 -0
  291. package/dist/index70.d.cts +242 -0
  292. package/dist/index70.d.cts.map +1 -0
  293. package/dist/index70.d.ts +242 -0
  294. package/dist/index70.d.ts.map +1 -0
  295. package/dist/index8.d.cts +26 -0
  296. package/dist/index8.d.cts.map +1 -0
  297. package/dist/index8.d.ts +26 -0
  298. package/dist/index8.d.ts.map +1 -0
  299. package/dist/index9.d.cts +20 -0
  300. package/dist/index9.d.cts.map +1 -0
  301. package/dist/index9.d.ts +20 -0
  302. package/dist/index9.d.ts.map +1 -0
  303. package/dist/layouts/Container/index.cjs +39 -0
  304. package/dist/layouts/Container/index.cjs.map +1 -0
  305. package/dist/layouts/Container/index.d.cts +2 -0
  306. package/dist/layouts/Container/index.d.ts +2 -0
  307. package/dist/layouts/Container/index.js +38 -0
  308. package/dist/layouts/Container/index.js.map +1 -0
  309. package/dist/layouts/PageBackground/index.cjs +22 -0
  310. package/dist/layouts/PageBackground/index.cjs.map +1 -0
  311. package/dist/layouts/PageBackground/index.d.cts +2 -0
  312. package/dist/layouts/PageBackground/index.d.ts +2 -0
  313. package/dist/layouts/PageBackground/index.js +21 -0
  314. package/dist/layouts/PageBackground/index.js.map +1 -0
  315. package/dist/{Stack.cjs → layouts/Stack/index.cjs} +7 -15
  316. package/dist/layouts/Stack/index.cjs.map +1 -0
  317. package/dist/layouts/Stack/index.d.cts +2 -0
  318. package/dist/layouts/Stack/index.d.ts +2 -0
  319. package/dist/{Stack.js → layouts/Stack/index.js} +4 -3
  320. package/dist/layouts/Stack/index.js.map +1 -0
  321. package/dist/layouts/TwoColumn/index.cjs +51 -0
  322. package/dist/layouts/TwoColumn/index.cjs.map +1 -0
  323. package/dist/layouts/TwoColumn/index.d.cts +2 -0
  324. package/dist/layouts/TwoColumn/index.d.ts +2 -0
  325. package/dist/layouts/TwoColumn/index.js +48 -0
  326. package/dist/layouts/TwoColumn/index.js.map +1 -0
  327. package/dist/layouts/index.cjs +13 -100
  328. package/dist/layouts/index.d.cts +5 -76
  329. package/dist/layouts/index.d.ts +5 -76
  330. package/dist/layouts/index.js +4 -91
  331. package/dist/patterns/DataTable/index.cjs +114 -0
  332. package/dist/patterns/DataTable/index.cjs.map +1 -0
  333. package/dist/patterns/DataTable/index.d.cts +43 -0
  334. package/dist/patterns/DataTable/index.d.cts.map +1 -0
  335. package/dist/patterns/DataTable/index.d.ts +43 -0
  336. package/dist/patterns/DataTable/index.d.ts.map +1 -0
  337. package/dist/patterns/DataTable/index.js +110 -0
  338. package/dist/patterns/DataTable/index.js.map +1 -0
  339. package/dist/patterns/Footer/index.cjs +76 -0
  340. package/dist/patterns/Footer/index.cjs.map +1 -0
  341. package/dist/patterns/Footer/index.d.cts +54 -0
  342. package/dist/patterns/Footer/index.d.cts.map +1 -0
  343. package/dist/patterns/Footer/index.d.ts +54 -0
  344. package/dist/patterns/Footer/index.d.ts.map +1 -0
  345. package/dist/patterns/Footer/index.js +70 -0
  346. package/dist/patterns/Footer/index.js.map +1 -0
  347. package/dist/patterns/Header/index.cjs +17 -0
  348. package/dist/patterns/Header/index.d.cts +2 -0
  349. package/dist/patterns/Header/index.d.ts +2 -0
  350. package/dist/patterns/Header/index.js +2 -0
  351. package/dist/patterns/MediaObject/index.cjs +108 -0
  352. package/dist/patterns/MediaObject/index.cjs.map +1 -0
  353. package/dist/patterns/MediaObject/index.d.cts +71 -0
  354. package/dist/patterns/MediaObject/index.d.cts.map +1 -0
  355. package/dist/patterns/MediaObject/index.d.ts +71 -0
  356. package/dist/patterns/MediaObject/index.d.ts.map +1 -0
  357. package/dist/patterns/MediaObject/index.js +99 -0
  358. package/dist/patterns/MediaObject/index.js.map +1 -0
  359. package/dist/patterns/SectionCard/index.cjs +35 -0
  360. package/dist/patterns/SectionCard/index.cjs.map +1 -0
  361. package/dist/patterns/SectionCard/index.d.cts +21 -0
  362. package/dist/patterns/SectionCard/index.d.cts.map +1 -0
  363. package/dist/patterns/SectionCard/index.d.ts +21 -0
  364. package/dist/patterns/SectionCard/index.d.ts.map +1 -0
  365. package/dist/patterns/SectionCard/index.js +34 -0
  366. package/dist/patterns/SectionCard/index.js.map +1 -0
  367. package/dist/patterns/SectionHeading/index.cjs +44 -0
  368. package/dist/patterns/SectionHeading/index.cjs.map +1 -0
  369. package/dist/patterns/SectionHeading/index.d.cts +37 -0
  370. package/dist/patterns/SectionHeading/index.d.cts.map +1 -0
  371. package/dist/patterns/SectionHeading/index.d.ts +37 -0
  372. package/dist/patterns/SectionHeading/index.d.ts.map +1 -0
  373. package/dist/patterns/SectionHeading/index.js +43 -0
  374. package/dist/patterns/SectionHeading/index.js.map +1 -0
  375. package/dist/patterns/index.cjs +40 -1124
  376. package/dist/patterns/index.d.cts +7 -410
  377. package/dist/patterns/index.d.ts +7 -410
  378. package/dist/patterns/index.js +6 -1088
  379. package/dist/primitives/Accordion/index.cjs +54 -0
  380. package/dist/primitives/Accordion/index.cjs.map +1 -0
  381. package/dist/primitives/Accordion/index.d.cts +2 -0
  382. package/dist/primitives/Accordion/index.d.ts +2 -0
  383. package/dist/primitives/Accordion/index.js +50 -0
  384. package/dist/primitives/Accordion/index.js.map +1 -0
  385. package/dist/primitives/Alert/index.cjs +61 -0
  386. package/dist/primitives/Alert/index.cjs.map +1 -0
  387. package/dist/primitives/Alert/index.d.cts +2 -0
  388. package/dist/primitives/Alert/index.d.ts +2 -0
  389. package/dist/primitives/Alert/index.js +57 -0
  390. package/dist/primitives/Alert/index.js.map +1 -0
  391. package/dist/primitives/AlertDialog/index.cjs +102 -0
  392. package/dist/primitives/AlertDialog/index.cjs.map +1 -0
  393. package/dist/primitives/AlertDialog/index.d.cts +2 -0
  394. package/dist/primitives/AlertDialog/index.d.ts +2 -0
  395. package/dist/primitives/AlertDialog/index.js +90 -0
  396. package/dist/primitives/AlertDialog/index.js.map +1 -0
  397. package/dist/primitives/AspectRatio/index.cjs +15 -0
  398. package/dist/primitives/AspectRatio/index.cjs.map +1 -0
  399. package/dist/primitives/AspectRatio/index.d.cts +2 -0
  400. package/dist/primitives/AspectRatio/index.d.ts +2 -0
  401. package/dist/primitives/AspectRatio/index.js +14 -0
  402. package/dist/primitives/AspectRatio/index.js.map +1 -0
  403. package/dist/primitives/Avatar/index.cjs +64 -0
  404. package/dist/primitives/Avatar/index.cjs.map +1 -0
  405. package/dist/primitives/Avatar/index.d.cts +2 -0
  406. package/dist/primitives/Avatar/index.d.ts +2 -0
  407. package/dist/primitives/Avatar/index.js +58 -0
  408. package/dist/primitives/Avatar/index.js.map +1 -0
  409. package/dist/primitives/Badge/index.cjs +44 -0
  410. package/dist/primitives/Badge/index.cjs.map +1 -0
  411. package/dist/primitives/Badge/index.d.cts +2 -0
  412. package/dist/primitives/Badge/index.d.ts +2 -0
  413. package/dist/primitives/Badge/index.js +43 -0
  414. package/dist/primitives/Badge/index.js.map +1 -0
  415. package/dist/primitives/Breadcrumb/index.cjs +82 -0
  416. package/dist/primitives/Breadcrumb/index.cjs.map +1 -0
  417. package/dist/primitives/Breadcrumb/index.d.cts +2 -0
  418. package/dist/primitives/Breadcrumb/index.d.ts +2 -0
  419. package/dist/primitives/Breadcrumb/index.js +75 -0
  420. package/dist/primitives/Breadcrumb/index.js.map +1 -0
  421. package/dist/primitives/Button/index.cjs +61 -0
  422. package/dist/primitives/Button/index.cjs.map +1 -0
  423. package/dist/primitives/Button/index.d.cts +2 -0
  424. package/dist/primitives/Button/index.d.ts +2 -0
  425. package/dist/primitives/Button/index.js +60 -0
  426. package/dist/primitives/Button/index.js.map +1 -0
  427. package/dist/primitives/ButtonGroup/index.cjs +46 -0
  428. package/dist/primitives/ButtonGroup/index.cjs.map +1 -0
  429. package/dist/primitives/ButtonGroup/index.d.cts +2 -0
  430. package/dist/primitives/ButtonGroup/index.d.ts +2 -0
  431. package/dist/primitives/ButtonGroup/index.js +43 -0
  432. package/dist/primitives/ButtonGroup/index.js.map +1 -0
  433. package/dist/primitives/Calendar/index.cjs +112 -0
  434. package/dist/primitives/Calendar/index.cjs.map +1 -0
  435. package/dist/primitives/Calendar/index.d.cts +2 -0
  436. package/dist/primitives/Calendar/index.d.ts +2 -0
  437. package/dist/primitives/Calendar/index.js +108 -0
  438. package/dist/primitives/Calendar/index.js.map +1 -0
  439. package/dist/primitives/Card/index.cjs +128 -0
  440. package/dist/primitives/Card/index.cjs.map +1 -0
  441. package/dist/primitives/Card/index.d.cts +2 -0
  442. package/dist/primitives/Card/index.d.ts +2 -0
  443. package/dist/primitives/Card/index.js +121 -0
  444. package/dist/primitives/Card/index.js.map +1 -0
  445. package/dist/primitives/Carousel/index.cjs +146 -0
  446. package/dist/primitives/Carousel/index.cjs.map +1 -0
  447. package/dist/primitives/Carousel/index.d.cts +2 -0
  448. package/dist/primitives/Carousel/index.d.ts +2 -0
  449. package/dist/primitives/Carousel/index.js +138 -0
  450. package/dist/primitives/Carousel/index.js.map +1 -0
  451. package/dist/primitives/Chart/index.cjs +162 -0
  452. package/dist/primitives/Chart/index.cjs.map +1 -0
  453. package/dist/primitives/Chart/index.d.cts +2 -0
  454. package/dist/primitives/Chart/index.d.ts +2 -0
  455. package/dist/primitives/Chart/index.js +153 -0
  456. package/dist/primitives/Chart/index.js.map +1 -0
  457. package/dist/primitives/Checkbox/index.cjs +53 -0
  458. package/dist/primitives/Checkbox/index.cjs.map +1 -0
  459. package/dist/primitives/Checkbox/index.d.cts +2 -0
  460. package/dist/primitives/Checkbox/index.d.ts +2 -0
  461. package/dist/primitives/Checkbox/index.js +51 -0
  462. package/dist/primitives/Checkbox/index.js.map +1 -0
  463. package/dist/primitives/CheckboxTree/index.cjs +106 -0
  464. package/dist/primitives/CheckboxTree/index.cjs.map +1 -0
  465. package/dist/primitives/CheckboxTree/index.d.cts +2 -0
  466. package/dist/primitives/CheckboxTree/index.d.ts +2 -0
  467. package/dist/primitives/CheckboxTree/index.js +103 -0
  468. package/dist/primitives/CheckboxTree/index.js.map +1 -0
  469. package/dist/primitives/Collapsible/index.cjs +31 -0
  470. package/dist/primitives/Collapsible/index.cjs.map +1 -0
  471. package/dist/primitives/Collapsible/index.d.cts +2 -0
  472. package/dist/primitives/Collapsible/index.d.ts +2 -0
  473. package/dist/primitives/Collapsible/index.js +28 -0
  474. package/dist/primitives/Collapsible/index.js.map +1 -0
  475. package/dist/primitives/Command/index.cjs +104 -0
  476. package/dist/primitives/Command/index.cjs.map +1 -0
  477. package/dist/primitives/Command/index.d.cts +2 -0
  478. package/dist/primitives/Command/index.d.ts +2 -0
  479. package/dist/primitives/Command/index.js +95 -0
  480. package/dist/primitives/Command/index.js.map +1 -0
  481. package/dist/primitives/ContextMenu/index.cjs +152 -0
  482. package/dist/primitives/ContextMenu/index.cjs.map +1 -0
  483. package/dist/primitives/ContextMenu/index.d.cts +2 -0
  484. package/dist/primitives/ContextMenu/index.d.ts +2 -0
  485. package/dist/primitives/ContextMenu/index.js +137 -0
  486. package/dist/primitives/ContextMenu/index.js.map +1 -0
  487. package/dist/primitives/Credits/index.cjs +39 -0
  488. package/dist/primitives/Credits/index.cjs.map +1 -0
  489. package/dist/primitives/Credits/index.d.cts +2 -0
  490. package/dist/primitives/Credits/index.d.ts +2 -0
  491. package/dist/primitives/Credits/index.js +38 -0
  492. package/dist/primitives/Credits/index.js.map +1 -0
  493. package/dist/primitives/Dialog/index.cjs +121 -0
  494. package/dist/primitives/Dialog/index.cjs.map +1 -0
  495. package/dist/primitives/Dialog/index.d.cts +2 -0
  496. package/dist/primitives/Dialog/index.d.ts +2 -0
  497. package/dist/primitives/Dialog/index.js +111 -0
  498. package/dist/primitives/Dialog/index.js.map +1 -0
  499. package/dist/primitives/Drawer/index.cjs +98 -0
  500. package/dist/primitives/Drawer/index.cjs.map +1 -0
  501. package/dist/primitives/Drawer/index.d.cts +2 -0
  502. package/dist/primitives/Drawer/index.d.ts +2 -0
  503. package/dist/primitives/Drawer/index.js +88 -0
  504. package/dist/primitives/Drawer/index.js.map +1 -0
  505. package/dist/primitives/DropdownMenu/index.cjs +153 -0
  506. package/dist/primitives/DropdownMenu/index.cjs.map +1 -0
  507. package/dist/primitives/DropdownMenu/index.d.cts +2 -0
  508. package/dist/primitives/DropdownMenu/index.d.ts +2 -0
  509. package/dist/primitives/DropdownMenu/index.js +138 -0
  510. package/dist/primitives/DropdownMenu/index.js.map +1 -0
  511. package/dist/primitives/Empty/index.cjs +84 -0
  512. package/dist/primitives/Empty/index.cjs.map +1 -0
  513. package/dist/primitives/Empty/index.d.cts +2 -0
  514. package/dist/primitives/Empty/index.d.ts +2 -0
  515. package/dist/primitives/Empty/index.js +77 -0
  516. package/dist/primitives/Empty/index.js.map +1 -0
  517. package/dist/primitives/Field/index.cjs +139 -0
  518. package/dist/primitives/Field/index.cjs.map +1 -0
  519. package/dist/primitives/Field/index.d.cts +2 -0
  520. package/dist/primitives/Field/index.d.ts +2 -0
  521. package/dist/primitives/Field/index.js +129 -0
  522. package/dist/primitives/Field/index.js.map +1 -0
  523. package/dist/primitives/Form/index.cjs +104 -0
  524. package/dist/primitives/Form/index.cjs.map +1 -0
  525. package/dist/primitives/Form/index.d.cts +2 -0
  526. package/dist/primitives/Form/index.d.ts +2 -0
  527. package/dist/primitives/Form/index.js +94 -0
  528. package/dist/primitives/Form/index.js.map +1 -0
  529. package/dist/primitives/Heading/index.cjs +53 -0
  530. package/dist/primitives/Heading/index.cjs.map +1 -0
  531. package/dist/primitives/Heading/index.d.cts +2 -0
  532. package/dist/primitives/Heading/index.d.ts +2 -0
  533. package/dist/primitives/Heading/index.js +52 -0
  534. package/dist/primitives/Heading/index.js.map +1 -0
  535. package/dist/primitives/HoverCard/index.cjs +38 -0
  536. package/dist/primitives/HoverCard/index.cjs.map +1 -0
  537. package/dist/primitives/HoverCard/index.d.cts +2 -0
  538. package/dist/primitives/HoverCard/index.d.ts +2 -0
  539. package/dist/primitives/HoverCard/index.js +35 -0
  540. package/dist/primitives/HoverCard/index.js.map +1 -0
  541. package/dist/primitives/Icon/index.cjs +4 -0
  542. package/dist/primitives/Icon/index.d.cts +2 -0
  543. package/dist/primitives/Icon/index.d.ts +2 -0
  544. package/dist/primitives/Icon/index.js +2 -0
  545. package/dist/primitives/InfoBanner/index.cjs +79 -0
  546. package/dist/primitives/InfoBanner/index.cjs.map +1 -0
  547. package/dist/primitives/InfoBanner/index.d.cts +2 -0
  548. package/dist/primitives/InfoBanner/index.d.ts +2 -0
  549. package/dist/primitives/InfoBanner/index.js +78 -0
  550. package/dist/primitives/InfoBanner/index.js.map +1 -0
  551. package/dist/primitives/Input/index.cjs +39 -0
  552. package/dist/primitives/Input/index.cjs.map +1 -0
  553. package/dist/primitives/Input/index.d.cts +2 -0
  554. package/dist/primitives/Input/index.d.ts +2 -0
  555. package/dist/primitives/Input/index.js +38 -0
  556. package/dist/primitives/Input/index.js.map +1 -0
  557. package/dist/primitives/InputGroup/index.cjs +91 -0
  558. package/dist/primitives/InputGroup/index.cjs.map +1 -0
  559. package/dist/primitives/InputGroup/index.d.cts +2 -0
  560. package/dist/primitives/InputGroup/index.d.ts +2 -0
  561. package/dist/primitives/InputGroup/index.js +85 -0
  562. package/dist/primitives/InputGroup/index.js.map +1 -0
  563. package/dist/primitives/InputOtp/index.cjs +80 -0
  564. package/dist/primitives/InputOtp/index.cjs.map +1 -0
  565. package/dist/primitives/InputOtp/index.d.cts +2 -0
  566. package/dist/primitives/InputOtp/index.d.ts +2 -0
  567. package/dist/primitives/InputOtp/index.js +74 -0
  568. package/dist/primitives/InputOtp/index.js.map +1 -0
  569. package/dist/primitives/Item/index.cjs +137 -0
  570. package/dist/primitives/Item/index.cjs.map +1 -0
  571. package/dist/primitives/Item/index.d.cts +2 -0
  572. package/dist/primitives/Item/index.d.ts +2 -0
  573. package/dist/primitives/Item/index.js +127 -0
  574. package/dist/primitives/Item/index.js.map +1 -0
  575. package/dist/primitives/Kbd/index.cjs +25 -0
  576. package/dist/primitives/Kbd/index.cjs.map +1 -0
  577. package/dist/primitives/Kbd/index.d.cts +2 -0
  578. package/dist/primitives/Kbd/index.d.ts +2 -0
  579. package/dist/primitives/Kbd/index.js +23 -0
  580. package/dist/primitives/Kbd/index.js.map +1 -0
  581. package/dist/primitives/Label/index.cjs +18 -0
  582. package/dist/primitives/Label/index.cjs.map +1 -0
  583. package/dist/primitives/Label/index.d.cts +2 -0
  584. package/dist/primitives/Label/index.d.ts +2 -0
  585. package/dist/primitives/Label/index.js +17 -0
  586. package/dist/primitives/Label/index.js.map +1 -0
  587. package/dist/primitives/Link/index.cjs +38 -0
  588. package/dist/primitives/Link/index.cjs.map +1 -0
  589. package/dist/primitives/Link/index.d.cts +2 -0
  590. package/dist/primitives/Link/index.d.ts +2 -0
  591. package/dist/primitives/Link/index.js +37 -0
  592. package/dist/primitives/Link/index.js.map +1 -0
  593. package/dist/primitives/Logo/index.cjs +3 -0
  594. package/dist/primitives/Logo/index.d.cts +2 -0
  595. package/dist/primitives/Logo/index.d.ts +2 -0
  596. package/dist/primitives/Logo/index.js +2 -0
  597. package/dist/primitives/Menubar/index.cjs +165 -0
  598. package/dist/primitives/Menubar/index.cjs.map +1 -0
  599. package/dist/primitives/Menubar/index.d.cts +2 -0
  600. package/dist/primitives/Menubar/index.d.ts +2 -0
  601. package/dist/primitives/Menubar/index.js +149 -0
  602. package/dist/primitives/Menubar/index.js.map +1 -0
  603. package/dist/primitives/NativeSelect/index.cjs +40 -0
  604. package/dist/primitives/NativeSelect/index.cjs.map +1 -0
  605. package/dist/primitives/NativeSelect/index.d.cts +2 -0
  606. package/dist/primitives/NativeSelect/index.d.ts +2 -0
  607. package/dist/primitives/NativeSelect/index.js +39 -0
  608. package/dist/primitives/NativeSelect/index.js.map +1 -0
  609. package/dist/primitives/NavRail/index.cjs +195 -0
  610. package/dist/primitives/NavRail/index.cjs.map +1 -0
  611. package/dist/primitives/NavRail/index.d.cts +2 -0
  612. package/dist/primitives/NavRail/index.d.ts +2 -0
  613. package/dist/primitives/NavRail/index.js +185 -0
  614. package/dist/primitives/NavRail/index.js.map +1 -0
  615. package/dist/primitives/NavigationMenu/index.cjs +98 -0
  616. package/dist/primitives/NavigationMenu/index.cjs.map +1 -0
  617. package/dist/primitives/NavigationMenu/index.d.cts +2 -0
  618. package/dist/primitives/NavigationMenu/index.d.ts +2 -0
  619. package/dist/primitives/NavigationMenu/index.js +89 -0
  620. package/dist/primitives/NavigationMenu/index.js.map +1 -0
  621. package/dist/primitives/Pagination/index.cjs +93 -0
  622. package/dist/primitives/Pagination/index.cjs.map +1 -0
  623. package/dist/primitives/Pagination/index.d.cts +2 -0
  624. package/dist/primitives/Pagination/index.d.ts +2 -0
  625. package/dist/primitives/Pagination/index.js +86 -0
  626. package/dist/primitives/Pagination/index.js.map +1 -0
  627. package/dist/primitives/Popover/index.cjs +70 -0
  628. package/dist/primitives/Popover/index.cjs.map +1 -0
  629. package/dist/primitives/Popover/index.d.cts +2 -0
  630. package/dist/primitives/Popover/index.d.ts +2 -0
  631. package/dist/primitives/Popover/index.js +63 -0
  632. package/dist/primitives/Popover/index.js.map +1 -0
  633. package/dist/primitives/Progress/index.cjs +44 -0
  634. package/dist/primitives/Progress/index.cjs.map +1 -0
  635. package/dist/primitives/Progress/index.d.cts +2 -0
  636. package/dist/primitives/Progress/index.d.ts +2 -0
  637. package/dist/primitives/Progress/index.js +43 -0
  638. package/dist/primitives/Progress/index.js.map +1 -0
  639. package/dist/primitives/RadioGroup/index.cjs +65 -0
  640. package/dist/primitives/RadioGroup/index.cjs.map +1 -0
  641. package/dist/primitives/RadioGroup/index.d.cts +2 -0
  642. package/dist/primitives/RadioGroup/index.d.ts +2 -0
  643. package/dist/primitives/RadioGroup/index.js +62 -0
  644. package/dist/primitives/RadioGroup/index.js.map +1 -0
  645. package/dist/primitives/Resizable/index.cjs +41 -0
  646. package/dist/primitives/Resizable/index.cjs.map +1 -0
  647. package/dist/primitives/Resizable/index.d.cts +2 -0
  648. package/dist/primitives/Resizable/index.d.ts +2 -0
  649. package/dist/primitives/Resizable/index.js +36 -0
  650. package/dist/primitives/Resizable/index.js.map +1 -0
  651. package/dist/primitives/ScrollArea/index.cjs +40 -0
  652. package/dist/primitives/ScrollArea/index.cjs.map +1 -0
  653. package/dist/primitives/ScrollArea/index.d.cts +2 -0
  654. package/dist/primitives/ScrollArea/index.d.ts +2 -0
  655. package/dist/primitives/ScrollArea/index.js +38 -0
  656. package/dist/primitives/ScrollArea/index.js.map +1 -0
  657. package/dist/primitives/Select/index.cjs +126 -0
  658. package/dist/primitives/Select/index.cjs.map +1 -0
  659. package/dist/primitives/Select/index.d.cts +2 -0
  660. package/dist/primitives/Select/index.d.ts +2 -0
  661. package/dist/primitives/Select/index.js +116 -0
  662. package/dist/primitives/Select/index.js.map +1 -0
  663. package/dist/primitives/Separator/index.cjs +25 -0
  664. package/dist/primitives/Separator/index.cjs.map +1 -0
  665. package/dist/primitives/Separator/index.d.cts +2 -0
  666. package/dist/primitives/Separator/index.d.ts +2 -0
  667. package/dist/primitives/Separator/index.js +24 -0
  668. package/dist/primitives/Separator/index.js.map +1 -0
  669. package/dist/primitives/Sheet/index.cjs +107 -0
  670. package/dist/primitives/Sheet/index.cjs.map +1 -0
  671. package/dist/primitives/Sheet/index.d.cts +2 -0
  672. package/dist/primitives/Sheet/index.d.ts +2 -0
  673. package/dist/primitives/Sheet/index.js +99 -0
  674. package/dist/primitives/Sheet/index.js.map +1 -0
  675. package/dist/primitives/Sidebar/index.cjs +26 -0
  676. package/dist/primitives/Sidebar/index.d.cts +2 -0
  677. package/dist/primitives/Sidebar/index.d.ts +2 -0
  678. package/dist/primitives/Sidebar/index.js +2 -0
  679. package/dist/primitives/Skeleton/index.cjs +43 -0
  680. package/dist/primitives/Skeleton/index.cjs.map +1 -0
  681. package/dist/primitives/Skeleton/index.d.cts +2 -0
  682. package/dist/primitives/Skeleton/index.d.ts +2 -0
  683. package/dist/primitives/Skeleton/index.js +39 -0
  684. package/dist/primitives/Skeleton/index.js.map +1 -0
  685. package/dist/primitives/Slider/index.cjs +46 -0
  686. package/dist/primitives/Slider/index.cjs.map +1 -0
  687. package/dist/primitives/Slider/index.d.cts +2 -0
  688. package/dist/primitives/Slider/index.d.ts +2 -0
  689. package/dist/primitives/Slider/index.js +43 -0
  690. package/dist/primitives/Slider/index.js.map +1 -0
  691. package/dist/primitives/Sonner/index.cjs +42 -0
  692. package/dist/primitives/Sonner/index.cjs.map +1 -0
  693. package/dist/primitives/Sonner/index.d.cts +2 -0
  694. package/dist/primitives/Sonner/index.d.ts +2 -0
  695. package/dist/primitives/Sonner/index.js +41 -0
  696. package/dist/primitives/Sonner/index.js.map +1 -0
  697. package/dist/primitives/Spinner/index.cjs +19 -0
  698. package/dist/primitives/Spinner/index.cjs.map +1 -0
  699. package/dist/primitives/Spinner/index.d.cts +2 -0
  700. package/dist/primitives/Spinner/index.d.ts +2 -0
  701. package/dist/primitives/Spinner/index.js +18 -0
  702. package/dist/primitives/Spinner/index.js.map +1 -0
  703. package/dist/primitives/Switch/index.cjs +71 -0
  704. package/dist/primitives/Switch/index.cjs.map +1 -0
  705. package/dist/primitives/Switch/index.d.cts +2 -0
  706. package/dist/primitives/Switch/index.d.ts +2 -0
  707. package/dist/primitives/Switch/index.js +68 -0
  708. package/dist/primitives/Switch/index.js.map +1 -0
  709. package/dist/primitives/Table/index.cjs +84 -0
  710. package/dist/primitives/Table/index.cjs.map +1 -0
  711. package/dist/primitives/Table/index.d.cts +2 -0
  712. package/dist/primitives/Table/index.d.ts +2 -0
  713. package/dist/primitives/Table/index.js +76 -0
  714. package/dist/primitives/Table/index.js.map +1 -0
  715. package/dist/primitives/Tabs/index.cjs +267 -0
  716. package/dist/primitives/Tabs/index.cjs.map +1 -0
  717. package/dist/primitives/Tabs/index.d.cts +2 -0
  718. package/dist/primitives/Tabs/index.d.ts +2 -0
  719. package/dist/primitives/Tabs/index.js +258 -0
  720. package/dist/primitives/Tabs/index.js.map +1 -0
  721. package/dist/primitives/Text/index.cjs +64 -0
  722. package/dist/primitives/Text/index.cjs.map +1 -0
  723. package/dist/primitives/Text/index.d.cts +2 -0
  724. package/dist/primitives/Text/index.d.ts +2 -0
  725. package/dist/primitives/Text/index.js +63 -0
  726. package/dist/primitives/Text/index.js.map +1 -0
  727. package/dist/primitives/Textarea/index.cjs +24 -0
  728. package/dist/primitives/Textarea/index.cjs.map +1 -0
  729. package/dist/primitives/Textarea/index.d.cts +2 -0
  730. package/dist/primitives/Textarea/index.d.ts +2 -0
  731. package/dist/primitives/Textarea/index.js +23 -0
  732. package/dist/primitives/Textarea/index.js.map +1 -0
  733. package/dist/primitives/ThemeProvider/index.cjs +93 -0
  734. package/dist/primitives/ThemeProvider/index.cjs.map +1 -0
  735. package/dist/primitives/ThemeProvider/index.d.cts +2 -0
  736. package/dist/primitives/ThemeProvider/index.d.ts +2 -0
  737. package/dist/primitives/ThemeProvider/index.js +88 -0
  738. package/dist/primitives/ThemeProvider/index.js.map +1 -0
  739. package/dist/primitives/Toggle/index.cjs +59 -0
  740. package/dist/primitives/Toggle/index.cjs.map +1 -0
  741. package/dist/primitives/Toggle/index.d.cts +2 -0
  742. package/dist/primitives/Toggle/index.d.ts +2 -0
  743. package/dist/primitives/Toggle/index.js +58 -0
  744. package/dist/primitives/Toggle/index.js.map +1 -0
  745. package/dist/primitives/ToggleGroup/index.cjs +65 -0
  746. package/dist/primitives/ToggleGroup/index.cjs.map +1 -0
  747. package/dist/primitives/ToggleGroup/index.d.cts +2 -0
  748. package/dist/primitives/ToggleGroup/index.d.ts +2 -0
  749. package/dist/primitives/ToggleGroup/index.js +61 -0
  750. package/dist/primitives/ToggleGroup/index.js.map +1 -0
  751. package/dist/primitives/Tooltip/index.cjs +47 -0
  752. package/dist/primitives/Tooltip/index.cjs.map +1 -0
  753. package/dist/primitives/Tooltip/index.d.cts +2 -0
  754. package/dist/primitives/Tooltip/index.d.ts +2 -0
  755. package/dist/primitives/Tooltip/index.js +43 -0
  756. package/dist/primitives/Tooltip/index.js.map +1 -0
  757. package/dist/primitives/index.cjs +398 -335
  758. package/dist/primitives/index.d.cts +65 -3
  759. package/dist/primitives/index.d.ts +65 -3
  760. package/dist/primitives/index.js +65 -3
  761. package/dist/styles/base.css +70 -0
  762. package/dist/styles/semantic.css +76 -5
  763. package/dist/styles/theme.css +44 -1
  764. package/dist/styles/tokens/border-radius.css +2 -1
  765. package/dist/styles/tokens/mode-dark.css +1 -1
  766. package/package.json +27 -3
  767. package/dist/Stack.cjs.map +0 -1
  768. package/dist/Stack.js.map +0 -1
  769. package/dist/ThemeProvider.cjs.map +0 -1
  770. package/dist/ThemeProvider.d.cts +0 -85
  771. package/dist/ThemeProvider.d.cts.map +0 -1
  772. package/dist/ThemeProvider.d.ts +0 -85
  773. package/dist/ThemeProvider.d.ts.map +0 -1
  774. package/dist/ThemeProvider.js.map +0 -1
  775. package/dist/layouts/index.cjs.map +0 -1
  776. package/dist/layouts/index.d.cts.map +0 -1
  777. package/dist/layouts/index.d.ts.map +0 -1
  778. package/dist/layouts/index.js.map +0 -1
  779. package/dist/patterns/index.cjs.map +0 -1
  780. package/dist/patterns/index.d.cts.map +0 -1
  781. package/dist/patterns/index.d.ts.map +0 -1
  782. package/dist/patterns/index.js.map +0 -1
  783. package/dist/primitives.cjs +0 -6979
  784. package/dist/primitives.cjs.map +0 -1
  785. package/dist/primitives.js +0 -5357
  786. package/dist/primitives.js.map +0 -1
  787. package/dist/utils.cjs.map +0 -1
  788. package/dist/utils.js +0 -27
  789. package/dist/utils.js.map +0 -1
@@ -1,428 +1,26 @@
1
- const require_utils = require("./utils.cjs");
2
- let react = require("react");
3
- react = require_utils.__toESM(react);
4
- let lucide_react = require("lucide-react");
5
- let radix_ui = require("radix-ui");
1
+ const require_primitives_ThemeProvider_index = require("./primitives/ThemeProvider/index.cjs");
6
2
  let react_jsx_runtime = require("react/jsx-runtime");
7
- let class_variance_authority = require("class-variance-authority");
8
- //#region src/primitives/Spinner/Spinner.tsx
9
- function Spinner({ className, ...props }) {
10
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Loader2Icon, {
11
- role: "status",
12
- "aria-label": "Loading",
13
- "data-slot": "spinner",
14
- className: require_utils.cn("size-4 animate-spin", className),
15
- ...props
16
- });
17
- }
18
- //#endregion
19
- //#region src/primitives/Button/Button.tsx
20
- const buttonVariants = (0, class_variance_authority.cva)("inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium cursor-pointer transition-[background-color,color,border-color,box-shadow,opacity,transform] duration-150 ease-out active:scale-[0.97] disabled:pointer-events-none disabled:opacity-50 disabled:active:scale-100 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
21
- variants: {
22
- variant: {
23
- default: "bg-primary text-primary-foreground hover:bg-primary/90",
24
- destructive: "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
25
- outline: "border bg-background text-foreground hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
26
- secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
27
- ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
28
- link: "text-primary underline-offset-4 hover:underline"
29
- },
30
- size: {
31
- xs: "h-7 gap-1 px-2.5 text-xs has-[>svg]:px-2",
32
- sm: "h-8 gap-1.5 px-3 has-[>svg]:px-2.5",
33
- default: "h-9 px-4 py-2 has-[>svg]:px-3",
34
- lg: "h-10 px-6 has-[>svg]:px-4",
35
- icon: "size-9"
36
- },
37
- shape: {
38
- default: "rounded-full",
39
- square: "rounded-md"
40
- }
41
- },
42
- defaultVariants: {
43
- variant: "default",
44
- size: "default",
45
- shape: "default"
46
- }
47
- });
48
- function Button({ className, variant, size, shape, asChild = false, loading = false, disabled, children, ...props }) {
49
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(asChild ? radix_ui.Slot.Root : "button", {
50
- "data-slot": "button",
51
- "data-loading": loading || void 0,
52
- className: require_utils.cn(buttonVariants({
53
- variant,
54
- size,
55
- shape,
56
- className
57
- })),
58
- disabled: disabled || loading,
59
- ...props,
60
- children: asChild ? children : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [loading ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Spinner, {}) : null, children] })
61
- });
62
- }
63
- //#endregion
64
- //#region src/primitives/Avatar/Avatar.tsx
65
- function Avatar({ className, size = "default", shape = "round", ...props }) {
66
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.Avatar.Root, {
67
- "data-slot": "avatar",
68
- "data-size": size,
69
- "data-shape": shape,
70
- className: require_utils.cn("group/avatar relative flex size-10 shrink-0 overflow-hidden rounded-full select-none", "data-[size=sm]:size-8 data-[size=xs]:size-6 data-[size=xxs]:size-5", "data-[shape=roundrect]:rounded-lg", className),
71
- ...props
72
- });
73
- }
74
- function AvatarImage({ className, ...props }) {
75
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.Avatar.Image, {
76
- "data-slot": "avatar-image",
77
- className: require_utils.cn("aspect-square size-full", className),
78
- ...props
79
- });
80
- }
81
- function AvatarFallback({ className, ...props }) {
82
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.Avatar.Fallback, {
83
- "data-slot": "avatar-fallback",
84
- className: require_utils.cn("bg-muted flex size-full items-center justify-center rounded-full", "group-data-[shape=roundrect]/avatar:rounded-lg", "group-data-[size=sm]/avatar:text-sm group-data-[size=xs]/avatar:text-xs group-data-[size=xxs]/avatar:text-[10px]", className),
85
- ...props
86
- });
87
- }
88
- function AvatarBadge({ className, ...props }) {
89
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
90
- "data-slot": "avatar-badge",
91
- className: require_utils.cn("absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-primary text-primary-foreground ring-2 ring-background select-none", "group-data-[size=default]/avatar:size-3 group-data-[size=default]/avatar:[&>svg]:size-2", "group-data-[size=sm]/avatar:size-2.5 group-data-[size=sm]/avatar:[&>svg]:size-2", "group-data-[size=xs]/avatar:size-2 group-data-[size=xs]/avatar:[&>svg]:size-1.5", "group-data-[size=xxs]/avatar:size-1.5 group-data-[size=xxs]/avatar:[&>svg]:size-1", className),
92
- ...props
93
- });
94
- }
95
- function AvatarGroup({ className, ...props }) {
96
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
97
- "data-slot": "avatar-group",
98
- className: require_utils.cn("group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2 *:data-[slot=avatar]:ring-background", className),
99
- ...props
100
- });
101
- }
102
- function AvatarGroupCount({ className, ...props }) {
103
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
104
- "data-slot": "avatar-group-count",
105
- className: require_utils.cn("relative flex size-10 shrink-0 items-center justify-center rounded-full bg-muted text-sm text-muted-foreground ring-2 ring-background group-has-data-[size=sm]/avatar-group:size-8 [&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-4", className),
106
- ...props
107
- });
108
- }
109
- //#endregion
110
- //#region src/primitives/Card/Card.tsx
111
- const cardVariants = (0, class_variance_authority.cva)("flex flex-col gap-6 rounded-xl border text-card-foreground", {
112
- variants: {
113
- variant: {
114
- default: "bg-card",
115
- glass: "border-transparent backdrop-blur-[var(--glass-blur)]"
116
- },
117
- tint: {
118
- subtle: "",
119
- light: "",
120
- medium: "",
121
- heavy: ""
122
- }
123
- },
124
- compoundVariants: [
125
- {
126
- variant: "glass",
127
- tint: "subtle",
128
- class: "bg-[var(--glass-subtle)]"
129
- },
130
- {
131
- variant: "glass",
132
- tint: "light",
133
- class: "bg-[var(--glass-light)]"
134
- },
135
- {
136
- variant: "glass",
137
- tint: "medium",
138
- class: "bg-[var(--glass-medium)]"
139
- },
140
- {
141
- variant: "glass",
142
- tint: "heavy",
143
- class: "bg-[var(--glass-heavy)]"
144
- }
145
- ],
146
- defaultVariants: {
147
- variant: "default",
148
- tint: "light"
149
- }
150
- });
151
- function Card({ className, variant, tint, ...props }) {
152
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
153
- "data-slot": "card",
154
- "data-variant": variant ?? "default",
155
- className: require_utils.cn(cardVariants({
156
- variant,
157
- tint
158
- }), className),
159
- ...props
160
- });
161
- }
162
- function CardHeader({ className, ...props }) {
163
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
164
- "data-slot": "card-header",
165
- className: require_utils.cn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 pt-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", className),
166
- ...props
167
- });
168
- }
169
- function CardTitle({ className, ...props }) {
170
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", {
171
- "data-slot": "card-title",
172
- className: require_utils.cn("leading-none", className),
173
- ...props
174
- });
175
- }
176
- function CardDescription({ className, ...props }) {
177
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
178
- "data-slot": "card-description",
179
- className: require_utils.cn("text-muted-foreground", className),
180
- ...props
181
- });
182
- }
183
- function CardAction({ className, ...props }) {
184
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
185
- "data-slot": "card-action",
186
- className: require_utils.cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end", className),
187
- ...props
188
- });
189
- }
190
- function CardContent({ className, ...props }) {
191
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
192
- "data-slot": "card-content",
193
- className: require_utils.cn("px-6 [&:last-child]:pb-6", className),
194
- ...props
195
- });
196
- }
197
- function CardFooter({ className, ...props }) {
198
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
199
- "data-slot": "card-footer",
200
- className: require_utils.cn("flex items-center px-6 pb-6 [.border-t]:pt-6", className),
201
- ...props
202
- });
203
- }
204
- //#endregion
205
- //#region src/primitives/Credits/Credits.tsx
206
- const creditsVariants = (0, class_variance_authority.cva)("inline-flex w-fit items-center gap-1 rounded-full px-2.5 py-0.5 text-sm font-medium tabular-nums whitespace-nowrap [&>svg]:size-3.5 [&>svg]:shrink-0", {
207
- variants: { variant: {
208
- default: "bg-muted text-foreground [&>svg]:text-muted-foreground",
209
- warning: "bg-[var(--bg-warning-subtle)] text-[var(--content-warning-bold)]",
210
- critical: "bg-[var(--bg-error-subtle)] text-[var(--content-error-bold)]"
211
- } },
212
- defaultVariants: { variant: "default" }
213
- });
214
- /** Escalate the variant as the balance drops. */
215
- function resolveVariant(value, lowThreshold) {
216
- if (value <= 0) return "critical";
217
- if (value <= lowThreshold) return "warning";
218
- return "default";
219
- }
220
- /** Whole-number, thousands-separated (e.g. 9995.79 → "9,995"). */
221
- function formatCredits(value) {
222
- return Math.floor(value).toLocaleString();
223
- }
224
- function Credits({ className, value, variant, lowThreshold = 200, icon, format = formatCredits, ...props }) {
225
- const resolved = variant ?? resolveVariant(value, lowThreshold);
226
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
227
- "data-slot": "credits",
228
- "data-variant": resolved,
229
- className: require_utils.cn(creditsVariants({ variant: resolved }), className),
230
- ...props,
231
- children: [icon ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CirclePlus, { "aria-hidden": "true" }), format(value)]
232
- });
233
- }
234
- //#endregion
235
- //#region src/primitives/DropdownMenu/DropdownMenu.tsx
236
- function DropdownMenu({ ...props }) {
237
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.DropdownMenu.Root, {
238
- "data-slot": "dropdown-menu",
239
- ...props
240
- });
241
- }
242
- function DropdownMenuPortal({ ...props }) {
243
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.DropdownMenu.Portal, {
244
- "data-slot": "dropdown-menu-portal",
245
- ...props
246
- });
247
- }
248
- function DropdownMenuTrigger({ ...props }) {
249
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.DropdownMenu.Trigger, {
250
- "data-slot": "dropdown-menu-trigger",
251
- ...props
252
- });
253
- }
254
- function DropdownMenuContent({ className, sideOffset = 4, ...props }) {
255
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.DropdownMenu.Portal, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.DropdownMenu.Content, {
256
- "data-slot": "dropdown-menu-content",
257
- sideOffset,
258
- className: require_utils.cn("z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95", className),
259
- ...props
260
- }) });
261
- }
262
- function DropdownMenuGroup({ ...props }) {
263
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.DropdownMenu.Group, {
264
- "data-slot": "dropdown-menu-group",
265
- ...props
266
- });
267
- }
268
- function DropdownMenuItem({ className, inset, variant = "default", ...props }) {
269
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.DropdownMenu.Item, {
270
- "data-slot": "dropdown-menu-item",
271
- "data-inset": inset,
272
- "data-variant": variant,
273
- className: require_utils.cn("relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground data-[variant=destructive]:*:[svg]:text-destructive!", className),
274
- ...props
275
- });
276
- }
277
- function DropdownMenuCheckboxItem({ className, children, checked, ...props }) {
278
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(radix_ui.DropdownMenu.CheckboxItem, {
279
- "data-slot": "dropdown-menu-checkbox-item",
280
- className: require_utils.cn("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
281
- checked,
282
- ...props,
283
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
284
- className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
285
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.DropdownMenu.ItemIndicator, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CheckIcon, { className: "size-4" }) })
286
- }), children]
287
- });
288
- }
289
- function DropdownMenuRadioGroup({ ...props }) {
290
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.DropdownMenu.RadioGroup, {
291
- "data-slot": "dropdown-menu-radio-group",
292
- ...props
293
- });
294
- }
295
- function DropdownMenuRadioItem({ className, children, ...props }) {
296
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(radix_ui.DropdownMenu.RadioItem, {
297
- "data-slot": "dropdown-menu-radio-item",
298
- className: require_utils.cn("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
299
- ...props,
300
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
301
- className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
302
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.DropdownMenu.ItemIndicator, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CircleIcon, { className: "size-2 fill-current" }) })
303
- }), children]
304
- });
305
- }
306
- function DropdownMenuLabel({ className, inset, ...props }) {
307
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.DropdownMenu.Label, {
308
- "data-slot": "dropdown-menu-label",
309
- "data-inset": inset,
310
- className: require_utils.cn("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", className),
311
- ...props
312
- });
313
- }
314
- function DropdownMenuSeparator({ className, ...props }) {
315
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.DropdownMenu.Separator, {
316
- "data-slot": "dropdown-menu-separator",
317
- className: require_utils.cn("-mx-1 my-1 h-px bg-border", className),
318
- ...props
319
- });
320
- }
321
- function DropdownMenuShortcut({ className, ...props }) {
322
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
323
- "data-slot": "dropdown-menu-shortcut",
324
- className: require_utils.cn("ml-auto text-xs tracking-widest text-muted-foreground", className),
325
- ...props
326
- });
327
- }
328
- function DropdownMenuSub({ ...props }) {
329
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.DropdownMenu.Sub, {
330
- "data-slot": "dropdown-menu-sub",
331
- ...props
332
- });
333
- }
334
- function DropdownMenuSubTrigger({ className, inset, children, ...props }) {
335
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(radix_ui.DropdownMenu.SubTrigger, {
336
- "data-slot": "dropdown-menu-sub-trigger",
337
- "data-inset": inset,
338
- className: require_utils.cn("flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[inset]:pl-8 data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground", className),
339
- ...props,
340
- children: [children, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronRightIcon, { className: "ml-auto size-4" })]
341
- });
342
- }
343
- function DropdownMenuSubContent({ className, ...props }) {
344
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.DropdownMenu.SubContent, {
345
- "data-slot": "dropdown-menu-sub-content",
346
- className: require_utils.cn("z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95", className),
347
- ...props
348
- });
349
- }
350
- //#endregion
351
- //#region src/primitives/Heading/Heading.tsx
352
- const headingVariants = (0, class_variance_authority.cva)("font-heading text-balance", {
353
- variants: {
354
- size: {
355
- "1": "text-[length:var(--heading-1-font-size)] leading-[var(--heading-1-line-height)] font-normal",
356
- "2": "text-[length:var(--heading-2-font-size)] leading-[var(--heading-2-line-height)] font-normal",
357
- "3": "text-[length:var(--heading-3-font-size)] leading-[var(--heading-3-line-height)] font-normal",
358
- "4": "text-[length:var(--heading-4-font-size)] leading-[var(--heading-4-line-height)] font-normal",
359
- "5": "text-[length:var(--heading-5-font-size)] leading-[var(--heading-5-line-height)] font-medium",
360
- "6": "text-[length:var(--heading-6-font-size)] leading-[var(--heading-6-line-height)] font-medium",
361
- "7": "text-[length:var(--heading-7-font-size)] leading-[var(--heading-7-line-height)] font-medium"
362
- },
363
- weight: {
364
- normal: "font-normal",
365
- medium: "font-medium",
366
- semibold: "font-semibold"
367
- },
368
- align: {
369
- left: "text-left",
370
- center: "text-center",
371
- right: "text-right"
372
- },
373
- gradient: {
374
- true: "bg-gradient-to-r from-[var(--gradient-heading-from)] to-[var(--gradient-heading-to)] bg-clip-text text-transparent",
375
- false: "text-foreground"
376
- }
377
- },
378
- defaultVariants: {
379
- size: "2",
380
- gradient: false
381
- }
382
- });
383
- function Heading({ as, className, size, weight, align, gradient, ...props }) {
384
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(as ?? "h2", {
385
- "data-slot": "heading",
386
- className: require_utils.cn(headingVariants({
387
- size,
388
- weight,
389
- align,
390
- gradient
391
- }), className),
392
- ...props
393
- });
394
- }
395
- //#endregion
396
- //#region src/primitives/Input/Input.tsx
397
- const inputVariants = (0, class_variance_authority.cva)(require_utils.cn("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input bg-input-background flex w-full min-w-0 border transition-[color,box-shadow] outline-none file:inline-flex file:border-0 file:bg-transparent file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive"), {
398
- variants: {
399
- size: {
400
- xs: "h-6 px-2 py-0.5 text-xs file:h-5 file:text-xs",
401
- sm: "h-8 px-2.5 py-1 text-sm file:h-6 file:text-xs",
402
- default: "h-9 px-3 py-1 text-base md:text-sm file:h-7 file:text-sm",
403
- lg: "h-10 px-4 py-2 text-base file:h-8 file:text-sm"
404
- },
405
- shape: {
406
- default: "rounded-md",
407
- round: "rounded-full"
408
- }
409
- },
410
- defaultVariants: {
411
- size: "default",
412
- shape: "default"
413
- }
414
- });
415
- function Input({ className, type, size, shape, ...props }) {
416
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
417
- type,
418
- "data-slot": "input",
419
- className: require_utils.cn(inputVariants({
420
- size,
421
- shape
422
- }), className),
423
- ...props
424
- });
425
- }
3
+ //#region src/primitives/Logo/marks/brand-colors.ts
4
+ /**
5
+ * Fixed brand colours for the product logos.
6
+ *
7
+ * A logo is brand identity — its colours must NOT follow the app theme, the
8
+ * active product, or any white-label / org override. These marks were
9
+ * previously wired to theme tokens (the `--red-500` token for the red mark,
10
+ * the `--logo-accent` token for the white cut-out), which let a theme switch —
11
+ * or a future white-label client overriding those tokens — silently recolour
12
+ * the logo. They are intentionally hard-coded here.
13
+ *
14
+ * Note: the wordmark text and negative space still resolve to
15
+ * `--foreground` / `--background` so the lockup stays legible on light and dark
16
+ * page backgrounds. That is legibility against the page, not brand colour, and
17
+ * is intentionally left theme-aware.
18
+ */
19
+ /** PS AI brand red — the logo mark. (Was the `--red-500` token.) */
20
+ const LOGO_BRAND_RED = "#e90130";
21
+ /** White cut-out inside the mark. (Was the `--logo-accent` token.) */
22
+ const LOGO_MARK_WHITE = "#ffffff";
23
+ const LOGO_MARK_DARK = "#111827";
426
24
  //#endregion
427
25
  //#region src/primitives/Logo/marks/bodhi-icon.tsx
428
26
  function BodhiIcon(props) {
@@ -433,11 +31,11 @@ function BodhiIcon(props) {
433
31
  fill: "none",
434
32
  xmlns: "http://www.w3.org/2000/svg",
435
33
  ...props,
436
- style: { fill: "var(--red-500)" },
34
+ style: { fill: LOGO_BRAND_RED },
437
35
  children: [
438
36
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
439
37
  d: "M63.3 32.5c0 17.32-14.06 32.05-31.4 32.05C14.55 64.55.5 49.82.5 32.5A31.4 31.4 0 0 1 31.9 1.13 31.4 31.4 0 0 1 63.3 32.5",
440
- fill: "white"
38
+ fill: LOGO_MARK_WHITE
441
39
  }),
442
40
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M32 .55a32 32 0 0 1 2.64 63.9l-.79-11.57.4-1.01 8.6-8.79a2.38 2.38 0 0 0 4.42-.85l8.54-.87a2.39 2.39 0 1 0 2.74-2.9l.17-9.7c.9-.04 1.6-.75 1.6-1.68a1.69 1.69 0 0 0-2.59-1.42L52.1 18a2.28 2.28 0 0 0-3.36-3.09l-4.88-4.22q.1-.28.1-.59a1.69 1.69 0 0 0-3.17-.8l-6.55-1.27a1.69 1.69 0 0 0-3.32-.01l-6.6 1.29a1.7 1.7 0 0 0-3.08 1.38l-4.88 4.22q-.23-.24-.55-.42a2.29 2.29 0 0 0-2.8 3.51l-5.64 7.66a1.7 1.7 0 0 0-.91-.27 1.69 1.69 0 0 0-.08 3.37l.17 9.85a2.39 2.39 0 1 0 3.26 2.8l8.02.82a2.38 2.38 0 0 0 4.06 1.34l8.4 9.04-.78 11.86C13 63.2 0 50.24 0 32.56a32 32 0 0 1 32-32" }),
443
41
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M40.52 35.07a2.4 2.4 0 0 0 1.97.3l1.43 4.35c-.82.37-1.4 1.2-1.4 2.17v.07l-8.9 6.9-.2-7.96z" }),
@@ -468,6 +66,7 @@ function BodhiIcon(props) {
468
66
  //#endregion
469
67
  //#region src/primitives/Logo/marks/bodhi-logo.tsx
470
68
  function BodhiLogo(props) {
69
+ const theme = require_primitives_ThemeProvider_index.useTheme();
471
70
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
472
71
  width: "101",
473
72
  height: "37",
@@ -476,158 +75,158 @@ function BodhiLogo(props) {
476
75
  xmlns: "http://www.w3.org/2000/svg",
477
76
  ...props,
478
77
  style: {
479
- "--logo-circle-bg": "var(--background)",
480
- "--logo-icon-red": "var(--red-500)",
481
- "--logo-text-dark": "var(--foreground)"
78
+ "--logo-brand-red": LOGO_BRAND_RED,
79
+ "--logo-mark-white": LOGO_MARK_WHITE,
80
+ "--logo-mark-dark": theme.theme === "dark" ? LOGO_MARK_WHITE : LOGO_MARK_DARK
482
81
  },
483
82
  children: [
484
83
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
485
84
  d: "M35.6 18.28c0 9.74-7.9 18.03-17.66 18.03S.28 28.02.28 18.28 8.18.64 17.94.64s17.67 7.9 17.67 17.64",
486
- fill: "var(--logo-circle-bg)"
85
+ fill: "var(--logo-mark-white)"
487
86
  }),
488
87
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
489
88
  d: "M18 .31a18 18 0 0 1 1.48 35.95l-.44-6.52.23-.56 4.83-4.95a1.34 1.34 0 0 0 2.49-.47l4.8-.5a1.34 1.34 0 1 0 1.55-1.63l.09-5.45c.5-.02.9-.42.9-.95a.95.95 0 0 0-1.46-.8l-3.17-4.3a1.28 1.28 0 0 0-1.89-1.74L24.67 6q.06-.15.06-.33a.95.95 0 0 0-1.79-.45l-3.68-.71a.95.95 0 0 0-1.87 0l-3.71.71a.95.95 0 0 0-1.73.78L9.2 8.4a1.29 1.29 0 0 0-1.89 1.74l-3.16 4.3a1 1 0 0 0-.52-.15.95.95 0 0 0-.04 1.9l.1 5.54a1.34 1.34 0 1 0 1.83 1.57l4.5.47a1.34 1.34 0 0 0 2.3.75l4.72 5.08-.44 6.68C7.3 35.55 0 28.26 0 18.3a18 18 0 0 1 18-18",
490
- fill: "var(--logo-icon-red)"
89
+ fill: "var(--logo-brand-red)"
491
90
  }),
492
91
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
493
92
  d: "M22.8 19.73a1.3 1.3 0 0 0 1.1.16l.8 2.45c-.46.21-.78.68-.78 1.22v.04l-5.01 3.89L18.8 23z",
494
- fill: "var(--logo-icon-red)"
93
+ fill: "var(--logo-brand-red)"
495
94
  }),
496
95
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
497
96
  d: "m17.35 22.99-.24 4.47-4.47-3.49a1.34 1.34 0 0 0-.73-1.63l.85-2.55q.54-.01.9-.37z",
498
- fill: "var(--logo-icon-red)"
97
+ fill: "var(--logo-brand-red)"
499
98
  }),
500
99
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
501
100
  d: "M7.06 18.7a1.5 1.5 0 0 0 1.5.1l2.08 3.63a1.3 1.3 0 0 0-.62 1.2l-4.47-.45.02-.23c0-.53-.31-.99-.76-1.2z",
502
- fill: "var(--logo-icon-red)"
101
+ fill: "var(--logo-brand-red)"
503
102
  }),
504
103
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
505
104
  d: "M31.88 21.88a1.3 1.3 0 0 0-.51 1.26l-4.77.5v-.08c0-.47-.25-.9-.62-1.13l2.09-3.64a1.5 1.5 0 0 0 1.47-.09z",
506
- fill: "var(--logo-icon-red)"
105
+ fill: "var(--logo-brand-red)"
507
106
  }),
508
107
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
509
108
  d: "M22.4 17.88a1.34 1.34 0 0 0 .3 1.78l-3.9 3.2-.16-6.42q.26-.13.45-.36z",
510
- fill: "var(--logo-icon-red)"
109
+ fill: "var(--logo-brand-red)"
511
110
  }),
512
111
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
513
112
  d: "M17.22 16.27q.2.17.46.25l-.33 6.3-3.6-3.48a1.3 1.3 0 0 0 .27-1.33z",
514
- fill: "var(--logo-icon-red)"
113
+ fill: "var(--logo-brand-red)"
515
114
  }),
516
115
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
517
116
  d: "M11.41 18.52c.04.67.56 1.2 1.22 1.26l-.83 2.52a1.3 1.3 0 0 0-1.06.07l-2.08-3.64q.32-.2.52-.53z",
518
- fill: "var(--logo-icon-red)"
117
+ fill: "var(--logo-brand-red)"
519
118
  }),
520
119
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
521
120
  d: "M27.44 18.2q.2.33.52.53l-2.09 3.64a1 1 0 0 0-.45-.14l-.16-.01q-.23 0-.44.08l-.8-2.45c.5-.19.85-.68.85-1.25v-.03z",
522
- fill: "var(--logo-icon-red)"
121
+ fill: "var(--logo-brand-red)"
523
122
  }),
524
123
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
525
124
  d: "M32.2 15.77q.26.36.7.4l-.09 5.44h-.12q-.37 0-.67.18l-2.35-3.18a1.5 1.5 0 0 0 .47-1.6z",
526
- fill: "var(--logo-icon-red)"
125
+ fill: "var(--logo-brand-red)"
527
126
  }),
528
127
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
529
128
  d: "M6.47 17.01a1.5 1.5 0 0 0 .49 1.61L4.7 21.7a1.3 1.3 0 0 0-.9-.02l-.1-5.5q.47-.04.71-.4z",
530
- fill: "var(--logo-icon-red)"
129
+ fill: "var(--logo-brand-red)"
531
130
  }),
532
131
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
533
132
  d: "M27.68 16.4a1.5 1.5 0 0 0-.3 1.69l-2.52.36a1.3 1.3 0 0 0-.75-1.05l.48-4.53q.29-.01.5-.14z",
534
- fill: "var(--logo-icon-red)"
133
+ fill: "var(--logo-brand-red)"
535
134
  }),
536
135
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
537
136
  d: "M11.53 12.73q.2.13.49.14h.01l.45 4.26c-.6.12-1.05.64-1.07 1.27l-2.17-.31a1.5 1.5 0 0 0-.3-1.68z",
538
- fill: "var(--logo-icon-red)"
137
+ fill: "var(--logo-brand-red)"
539
138
  }),
540
139
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
541
140
  d: "M16.78 14.8a1.3 1.3 0 0 0 .31 1.36l-3.13 1.7a1.3 1.3 0 0 0-1.36-.75l-.45-4.25q.3-.05.52-.26z",
542
- fill: "var(--logo-icon-red)"
141
+ fill: "var(--logo-brand-red)"
543
142
  }),
544
143
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
545
144
  d: "M23.94 12.6q.23.21.53.26l-.48 4.49a1.3 1.3 0 0 0-1.43.32l-.1.11-3.3-1.8a1.3 1.3 0 0 0 .23-.93z",
546
- fill: "var(--logo-icon-red)"
145
+ fill: "var(--logo-brand-red)"
547
146
  }),
548
147
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
549
148
  d: "M27.23 9.9c.32.58 1.02.81 1.62.55l.12-.05q.14-.08.25-.18l3.16 4.29a.95.95 0 0 0-.24 1.16l-2.04 1.22a1.5 1.5 0 0 0-2.33-.57l-2.58-3.66a.95.95 0 0 0 .19-1.29z",
550
- fill: "var(--logo-icon-red)"
149
+ fill: "var(--logo-brand-red)"
551
150
  }),
552
151
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
553
152
  d: "M11.24 11.37a.95.95 0 0 0 .19 1.29l-2.58 3.66a1.48 1.48 0 0 0-2.33.57l-2.04-1.22a.94.94 0 0 0-.24-1.17l3.16-4.28q.11.1.25.18c.62.34 1.4.12 1.74-.5z",
554
- fill: "var(--logo-icon-red)"
153
+ fill: "var(--logo-brand-red)"
555
154
  }),
556
155
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
557
156
  d: "m23.66 11.77-.01.15q0 .34.21.6l-4.5 2.4a1.3 1.3 0 0 0-1.07-1.01l.04-2.33c.47 0 .85-.35.93-.8z",
558
- fill: "var(--logo-icon-red)"
157
+ fill: "var(--logo-brand-red)"
559
158
  }),
560
159
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
561
160
  d: "M17.4 10.85c.1.38.41.67.81.72l-.04 2.32h-.11c-.55 0-1.03.33-1.23.8l-4.07-2.18a1 1 0 0 0 .2-.73z",
562
- fill: "var(--logo-icon-red)"
161
+ fill: "var(--logo-brand-red)"
563
162
  }),
564
163
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
565
164
  d: "M12 6.13c.14.26.4.45.7.5h.14q.4 0 .68-.29l4.17 3.59a1 1 0 0 0-.3.8l-4.46.93a.95.95 0 0 0-1.61-.38L9.45 9.79c.2-.44.12-.95-.17-1.31z",
566
- fill: "var(--logo-icon-red)"
165
+ fill: "var(--logo-brand-red)"
567
166
  }),
568
167
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
569
168
  d: "M27.34 8.48c-.3.36-.36.87-.17 1.3l-1.87 1.5a.95.95 0 0 0-1.61.37l-4.42-.99v-.03q0-.3-.16-.54l4.02-3.72a.95.95 0 0 0 1.49-.24z",
570
- fill: "var(--logo-icon-red)"
169
+ fill: "var(--logo-brand-red)"
571
170
  }),
572
171
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
573
172
  d: "M22.9 5.35a1 1 0 0 0 .15.94L19.03 10a1 1 0 0 0-.66-.32l.08-4.06a.95.95 0 0 0 .82-.94v-.04z",
574
- fill: "var(--logo-icon-red)"
173
+ fill: "var(--logo-brand-red)"
575
174
  }),
576
175
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
577
176
  d: "M17.38 4.68c0 .52.42.95.94.95l-.07 4.05a1 1 0 0 0-.47.17l-4.18-3.6a1 1 0 0 0 .13-.9l3.65-.71z",
578
- fill: "var(--logo-icon-red)"
177
+ fill: "var(--logo-brand-red)"
579
178
  }),
580
179
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
581
180
  "fill-rule": "evenodd",
582
181
  "clip-rule": "evenodd",
583
182
  d: "M66.27 5.17a.5.5 0 0 0 .49-.5.5.5 0 0 0-.5-.5.5.5 0 0 0-.48.5c0 .28.22.5.49.5",
584
- fill: "var(--logo-text-dark)"
183
+ fill: "var(--logo-mark-dark)"
585
184
  }),
586
185
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
587
186
  "fill-rule": "evenodd",
588
187
  "clip-rule": "evenodd",
589
188
  d: "M65.88 12.73h.76V6.1h-.76z",
590
- fill: "var(--logo-text-dark)"
189
+ fill: "var(--logo-mark-dark)"
591
190
  }),
592
191
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
593
192
  "fill-rule": "evenodd",
594
193
  "clip-rule": "evenodd",
595
194
  d: "M50.72 9.4c0-1.38 1.06-2.5 2.37-2.5 1.3 0 2.37 1.12 2.37 2.5v.1c-.05 1.37-1.1 2.44-2.37 2.44-1.28 0-2.37-1.14-2.37-2.54m2.37 3.32c.92 0 1.77-.41 2.37-1.15v1.16h.76V6.1h-.76v1.14a3 3 0 0 0-2.37-1.14 3.2 3.2 0 0 0-3.13 3.3c0 1.8 1.4 3.31 3.13 3.31",
596
- fill: "var(--logo-text-dark)"
195
+ fill: "var(--logo-mark-dark)"
597
196
  }),
598
197
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
599
198
  "fill-rule": "evenodd",
600
199
  "clip-rule": "evenodd",
601
200
  d: "M61.35 11.94c-1.28 0-2.32-1.07-2.37-2.43v-.1c0-1.4 1.06-2.52 2.37-2.52 1.3 0 2.37 1.13 2.37 2.51 0 1.39-1.07 2.54-2.37 2.54m3.13-2.54c0-1.81-1.4-3.29-3.13-3.29-.93 0-1.78.41-2.37 1.14V6.1h-.76v9h.76v-3.53c.6.73 1.45 1.14 2.37 1.14 1.72 0 3.13-1.49 3.13-3.32",
602
- fill: "var(--logo-text-dark)"
201
+ fill: "var(--logo-mark-dark)"
603
202
  }),
604
203
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
605
204
  "fill-rule": "evenodd",
606
205
  "clip-rule": "evenodd",
607
206
  d: "M78.73 6.11c-.72 0-1.4.3-1.9.84V6.1h-.74v6.62h.73V8.8a1.95 1.95 0 0 1 1.9-1.93c1.03 0 1.9.86 1.9 1.93v3.92h.75V8.8c0-1.49-1.19-2.7-2.64-2.7",
608
- fill: "var(--logo-text-dark)"
207
+ fill: "var(--logo-mark-dark)"
609
208
  }),
610
209
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
611
210
  "fill-rule": "evenodd",
612
211
  "clip-rule": "evenodd",
613
212
  d: "m85.3 11.97-.07.02q-.11.04-.37.05-.44.02-.44-.67v-4.5h.9V6.1h-.9V3.89h-.78V6.1h-.9v.76h.9v4.53q0 .74.28 1.01.27.3.77.31.37 0 .61-.1l.05-.01z",
614
- fill: "var(--logo-text-dark)"
213
+ fill: "var(--logo-mark-dark)"
615
214
  }),
616
215
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
617
216
  "fill-rule": "evenodd",
618
217
  "clip-rule": "evenodd",
619
218
  d: "M71.42 6.88c1.11 0 2.07.83 2.3 1.97h-4.65a2.4 2.4 0 0 1 2.34-1.97m1.98 3.94a2.3 2.3 0 0 1-1.99 1.14 2.46 2.46 0 0 1-2.39-2.36h5.14c.2 0 .37-.15.37-.35v-.06c-.13-1.75-1.47-3.08-3.12-3.08a3.24 3.24 0 0 0-3.14 3.32c0 1.83 1.41 3.3 3.14 3.3 1.06 0 2.04-.56 2.61-1.5z",
620
- fill: "var(--logo-text-dark)"
219
+ fill: "var(--logo-mark-dark)"
621
220
  }),
622
221
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
623
222
  "fill-rule": "evenodd",
624
223
  "clip-rule": "evenodd",
625
224
  d: "M48.2 9.53s-.2-.16-.41-.25c-.22-.09-.52-.2-1.16-.35q-.12-.04-.25-.06-.63-.17-1-.44-.33-.28-.3-.61.01-.39.4-.67.45-.34 1.18-.3c.54.02.95.3 1.39.62l.04.03.55-.53-.26-.2c-.44-.3-.97-.62-1.69-.65q-.95-.04-1.6.38c-.47.32-.77.79-.77 1.28-.01.37.07.72.43 1.08.43.43 1.1.65 1.72.77.53.1 1.02.3 1.26.51.3.28.4.48.4.77q-.02.42-.48.72c-.3.23-.73.35-1.18.33a3.2 3.2 0 0 1-1.82-.78l-.04-.04-.54.51.05.05q1.09.95 2.31 1.02a2.6 2.6 0 0 0 1.64-.46q.77-.54.81-1.32a1.7 1.7 0 0 0-.68-1.41",
626
- fill: "var(--logo-text-dark)"
225
+ fill: "var(--logo-mark-dark)"
627
226
  }),
628
227
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
629
228
  d: "M53.33 27.23a2.75 2.75 0 1 0-5.5-.02 2.77 2.77 0 0 0 2.76 2.74 2.77 2.77 0 0 0 2.74-2.72m-7.96-12.08h2.76v8.42Q49.5 22 51.39 22c2.7 0 4.76 2.24 4.76 5.2 0 3.04-2.04 5.22-4.82 5.22a3.9 3.9 0 0 1-3.2-1.58v1.28h-2.76zm15.19 12.02a2.74 2.74 0 0 0 2.76 2.78 2.8 2.8 0 0 0 2.78-2.74 2.8 2.8 0 0 0-2.78-2.74 2.8 2.8 0 0 0-2.76 2.7m-2.84-.04c0-2.98 2.38-5.14 5.62-5.14s5.58 2.16 5.58 5.2c0 3.16-2.36 5.22-5.64 5.22-3.34 0-5.56-2.18-5.56-5.28m21.1.1a2.76 2.76 0 0 0-2.75-2.76 2.76 2.76 0 0 0-2.74 2.74c0 1.5 1.24 2.74 2.74 2.74a2.8 2.8 0 0 0 2.74-2.72m-.3-3.66v-8.42h2.75v16.96h-2.76v-1.28a3.9 3.9 0 0 1-3.2 1.58c-2.76 0-4.82-2.22-4.82-5.22 0-2.92 2.06-5.2 4.76-5.2q1.92.01 3.26 1.58m5.34 8.54V15.15h2.76v8.44a3.6 3.6 0 0 1 3.06-1.6c1.4 0 2.3.52 2.96 1.34.52.66.68 1.54.68 2.62v6.16h-2.76v-5.38c0-1.74-.5-2.4-1.86-2.4q-2.09 0-2.08 2.76v5.02zm12.01-9.8h2.76v9.8h-2.76zm-.26-4.14c0-.9.74-1.64 1.64-1.64s1.64.74 1.64 1.64-.74 1.64-1.64 1.64-1.64-.74-1.64-1.64",
630
- fill: "var(--logo-text-dark)"
229
+ fill: "var(--logo-mark-dark)"
631
230
  })
632
231
  ]
633
232
  });
@@ -635,6 +234,7 @@ function BodhiLogo(props) {
635
234
  //#endregion
636
235
  //#region src/primitives/Logo/marks/psai-logo.tsx
637
236
  function PSAILogo(props) {
237
+ const theme = require_primitives_ThemeProvider_index.useTheme();
638
238
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
639
239
  width: "151",
640
240
  height: "38",
@@ -643,144 +243,144 @@ function PSAILogo(props) {
643
243
  xmlns: "http://www.w3.org/2000/svg",
644
244
  ...props,
645
245
  style: {
646
- "--psai-primary-red": "var(--red-500)",
647
- "--psai-accent-white": "var(--logo-accent)",
648
- "--psai-text-dark": "var(--foreground)"
246
+ "--logo-brand-red": LOGO_BRAND_RED,
247
+ "--logo-mark-white": LOGO_MARK_WHITE,
248
+ "--logo-mark-dark": theme.theme === "dark" ? LOGO_MARK_WHITE : LOGO_MARK_DARK
649
249
  },
650
250
  children: [
651
251
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
652
252
  d: "M18.08 0C8.11 0 0 8.29 0 18.47s8.11 18.47 18.08 18.47 18.08-8.28 18.08-18.47S28.06 0 18.08 0",
653
- fill: "var(--psai-primary-red)"
253
+ fill: "var(--logo-brand-red)"
654
254
  }),
655
255
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
656
256
  "fill-rule": "evenodd",
657
257
  "clip-rule": "evenodd",
658
258
  d: "M31.58 24.2c-.27.66-1.02.97-1.67.7a1.3 1.3 0 0 1-.69-1.7 1.27 1.27 0 0 1 1.67-.7c.65.27.96 1.03.69 1.7",
659
- fill: "var(--psai-accent-white)"
259
+ fill: "var(--logo-mark-white)"
660
260
  }),
661
261
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
662
262
  "fill-rule": "evenodd",
663
263
  "clip-rule": "evenodd",
664
264
  d: "M23.66 32.26c-.65.28-1.4-.04-1.66-.7-.27-.67.04-1.43.69-1.7.65-.28 1.4.04 1.66.7.27.67-.04 1.43-.69 1.7",
665
- fill: "var(--psai-accent-white)"
265
+ fill: "var(--logo-mark-white)"
666
266
  }),
667
267
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
668
268
  "fill-rule": "evenodd",
669
269
  "clip-rule": "evenodd",
670
270
  d: "M12.48 32.26a1.3 1.3 0 0 1-.7-1.7 1.27 1.27 0 0 1 1.67-.71c.65.28.96 1.04.7 1.7-.28.67-1.02.98-1.67.7",
671
- fill: "var(--psai-accent-white)"
271
+ fill: "var(--logo-mark-white)"
672
272
  }),
673
273
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
674
274
  "fill-rule": "evenodd",
675
275
  "clip-rule": "evenodd",
676
276
  d: "M4.57 24.17c-.26-.67.05-1.43.7-1.7.65-.28 1.4.04 1.66.7.27.67-.04 1.43-.7 1.7-.64.28-1.39-.04-1.66-.7",
677
- fill: "var(--psai-accent-white)"
277
+ fill: "var(--logo-mark-white)"
678
278
  }),
679
279
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
680
280
  "fill-rule": "evenodd",
681
281
  "clip-rule": "evenodd",
682
282
  d: "M4.59 12.74a1.27 1.27 0 0 1 1.66-.7c.65.28.96 1.04.7 1.7-.28.67-1.02.98-1.67.7a1.3 1.3 0 0 1-.7-1.7",
683
- fill: "var(--psai-accent-white)"
283
+ fill: "var(--logo-mark-white)"
684
284
  }),
685
285
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
686
286
  "fill-rule": "evenodd",
687
287
  "clip-rule": "evenodd",
688
288
  d: "M12.5 4.67c.65-.27 1.4.04 1.67.7.27.67-.04 1.43-.7 1.7-.64.28-1.39-.03-1.66-.7s.04-1.42.7-1.7",
689
- fill: "var(--psai-accent-white)"
289
+ fill: "var(--logo-mark-white)"
690
290
  }),
691
291
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
692
292
  "fill-rule": "evenodd",
693
293
  "clip-rule": "evenodd",
694
294
  d: "M23.69 4.68c.65.28.95 1.04.68 1.7-.27.67-1.01.98-1.66.7a1.3 1.3 0 0 1-.69-1.7 1.27 1.27 0 0 1 1.67-.7",
695
- fill: "var(--psai-accent-white)"
295
+ fill: "var(--logo-mark-white)"
696
296
  }),
697
297
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
698
298
  "fill-rule": "evenodd",
699
299
  "clip-rule": "evenodd",
700
300
  d: "M31.59 12.77c.27.67-.04 1.43-.7 1.7-.64.28-1.39-.04-1.66-.7-.27-.67.04-1.43.7-1.7.65-.28 1.39.04 1.66.7",
701
- fill: "var(--psai-accent-white)"
301
+ fill: "var(--logo-mark-white)"
702
302
  }),
703
303
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
704
304
  "fill-rule": "evenodd",
705
305
  "clip-rule": "evenodd",
706
306
  d: "M19.42 20.97c-1 1.39-1.7 3.64-.39 4.98.89.91.22 2.42-.98 2.42s-1.87-1.5-.98-2.42c1.31-1.34.6-3.59-.39-4.98a9 9 0 0 0-1.04-1.14c-1.37-1-3.58-1.73-4.89-.39-.88.9-2.36.22-2.36-1 0-1.23 1.48-1.91 2.36-1 1.31 1.34 3.52.62 4.89-.4.23-.17.95-.84 1.1-1.07 1-1.4 1.7-3.64.39-4.98-.89-.91-.22-2.42.98-2.42s1.87 1.5.98 2.42c-1.31 1.34-.6 3.59.39 4.98.17.25.82.97 1.04 1.13 1.37 1.02 3.57 1.74 4.89.4.88-.9 2.36-.22 2.36 1 0 1.23-1.48 1.91-2.36 1-1.31-1.34-3.52-.62-4.89.4-.23.17-.95.84-1.1 1.07",
707
- fill: "var(--psai-accent-white)"
307
+ fill: "var(--logo-mark-white)"
708
308
  }),
709
309
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
710
310
  "fill-rule": "evenodd",
711
311
  "clip-rule": "evenodd",
712
312
  d: "M25.04 11.37c.74.76.74 2 0 2.77-.75.76-1.97.76-2.72 0-.74-.77-.74-2 0-2.77a1.9 1.9 0 0 1 2.72 0",
713
- fill: "var(--psai-accent-white)"
313
+ fill: "var(--logo-mark-white)"
714
314
  }),
715
315
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
716
316
  "fill-rule": "evenodd",
717
317
  "clip-rule": "evenodd",
718
318
  d: "M25.04 25.57c-.75.77-1.97.77-2.72 0-.74-.76-.74-2 0-2.76a1.9 1.9 0 0 1 2.72 0c.74.76.74 2 0 2.76",
719
- fill: "var(--psai-accent-white)"
319
+ fill: "var(--logo-mark-white)"
720
320
  }),
721
321
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
722
322
  "fill-rule": "evenodd",
723
323
  "clip-rule": "evenodd",
724
324
  d: "M11.13 25.57c-.75-.76-.75-2 0-2.76a1.9 1.9 0 0 1 2.7 0c.76.76.76 2 0 2.76-.74.77-1.95.77-2.7 0",
725
- fill: "var(--psai-accent-white)"
325
+ fill: "var(--logo-mark-white)"
726
326
  }),
727
327
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
728
328
  "fill-rule": "evenodd",
729
329
  "clip-rule": "evenodd",
730
330
  d: "M11.13 11.37a1.9 1.9 0 0 1 2.7 0c.76.76.76 2 0 2.77-.74.76-1.95.76-2.7 0-.75-.77-.75-2 0-2.77",
731
- fill: "var(--psai-accent-white)"
331
+ fill: "var(--logo-mark-white)"
732
332
  }),
733
333
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
734
334
  "fill-rule": "evenodd",
735
335
  "clip-rule": "evenodd",
736
336
  d: "M66.37 5.64a.5.5 0 0 0 .48-.5.5.5 0 0 0-.48-.5.5.5 0 0 0-.5.5c0 .28.23.5.5.5",
737
- fill: "var(--psai-text-dark)"
337
+ fill: "var(--logo-mark-dark)"
738
338
  }),
739
339
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
740
340
  "fill-rule": "evenodd",
741
341
  "clip-rule": "evenodd",
742
342
  d: "M65.98 13.2h.76V6.58h-.76z",
743
- fill: "var(--psai-text-dark)"
343
+ fill: "var(--logo-mark-dark)"
744
344
  }),
745
345
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
746
346
  "fill-rule": "evenodd",
747
347
  "clip-rule": "evenodd",
748
348
  d: "M50.82 9.87c0-1.38 1.06-2.5 2.37-2.5 1.3 0 2.37 1.12 2.37 2.5v.1c-.06 1.37-1.1 2.44-2.37 2.44-1.28 0-2.37-1.14-2.37-2.54m2.37 3.32c.92 0 1.77-.41 2.36-1.14v1.15h.77V6.58h-.77v1.14a3 3 0 0 0-2.36-1.14 3.2 3.2 0 0 0-3.14 3.3c0 1.8 1.4 3.31 3.14 3.31",
749
- fill: "var(--psai-text-dark)"
349
+ fill: "var(--logo-mark-dark)"
750
350
  }),
751
351
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
752
352
  "fill-rule": "evenodd",
753
353
  "clip-rule": "evenodd",
754
354
  d: "M61.45 12.41c-1.28 0-2.32-1.07-2.37-2.43v-.1c0-1.4 1.06-2.52 2.37-2.52 1.3 0 2.36 1.13 2.36 2.51 0 1.39-1.06 2.54-2.36 2.54m3.13-2.54c0-1.81-1.4-3.29-3.13-3.29-.93 0-1.78.41-2.37 1.14V6.58h-.77v9h.77v-3.53c.6.73 1.44 1.14 2.37 1.14 1.72 0 3.13-1.49 3.13-3.32",
755
- fill: "var(--psai-text-dark)"
355
+ fill: "var(--logo-mark-dark)"
756
356
  }),
757
357
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
758
358
  "fill-rule": "evenodd",
759
359
  "clip-rule": "evenodd",
760
360
  d: "M78.83 6.58c-.73 0-1.41.3-1.9.84v-.84h-.74v6.62h.73V9.28a1.95 1.95 0 0 1 1.9-1.93c1.03 0 1.9.86 1.9 1.93v3.92h.75V9.28c0-1.49-1.19-2.7-2.64-2.7",
761
- fill: "var(--psai-text-dark)"
361
+ fill: "var(--logo-mark-dark)"
762
362
  }),
763
363
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
764
364
  "fill-rule": "evenodd",
765
365
  "clip-rule": "evenodd",
766
366
  d: "m85.4 12.44-.07.02q-.11.04-.37.05-.45.02-.44-.67v-4.5h.9v-.76h-.9V4.36h-.78v2.22h-.9v.76h.9v4.53q0 .74.28 1.01.27.3.76.31.38 0 .62-.1l.04-.01z",
767
- fill: "var(--psai-text-dark)"
367
+ fill: "var(--logo-mark-dark)"
768
368
  }),
769
369
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
770
370
  "fill-rule": "evenodd",
771
371
  "clip-rule": "evenodd",
772
372
  d: "M71.51 7.35c1.12 0 2.08.83 2.3 1.97h-4.64a2.4 2.4 0 0 1 2.34-1.97m1.99 3.94a2.3 2.3 0 0 1-1.99 1.14 2.46 2.46 0 0 1-2.39-2.36h5.14c.2 0 .37-.15.37-.35v-.06c-.13-1.75-1.47-3.08-3.12-3.08a3.24 3.24 0 0 0-3.14 3.32c0 1.83 1.4 3.3 3.14 3.3 1.06 0 2.04-.56 2.61-1.5z",
773
- fill: "var(--psai-text-dark)"
373
+ fill: "var(--logo-mark-dark)"
774
374
  }),
775
375
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
776
376
  "fill-rule": "evenodd",
777
377
  "clip-rule": "evenodd",
778
378
  d: "M48.3 10s-.2-.16-.41-.25c-.22-.09-.52-.2-1.16-.35q-.12-.04-.25-.06a3 3 0 0 1-1-.44q-.34-.28-.3-.61.01-.39.4-.67.45-.34 1.18-.3c.53.02.94.3 1.38.62l.05.03.55-.53-.27-.2c-.43-.3-.97-.62-1.68-.65q-.95-.04-1.61.38c-.47.32-.76.79-.77 1.28 0 .38.07.72.44 1.08.43.43 1.1.65 1.72.77.53.1 1.02.3 1.26.51.3.28.4.48.4.77q-.03.42-.49.72c-.3.23-.73.35-1.17.33q-.9-.05-1.82-.78l-.04-.04-.55.51.06.05q1.08.95 2.31 1.02a2.6 2.6 0 0 0 1.64-.46q.77-.54.8-1.32A1.7 1.7 0 0 0 48.3 10",
779
- fill: "var(--psai-text-dark)"
379
+ fill: "var(--logo-mark-dark)"
780
380
  }),
781
381
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
782
382
  d: "M53.26 27.7a2.76 2.76 0 0 0-2.74-2.76 2.7 2.7 0 0 0-2.74 2.74c0 1.52 1.2 2.74 2.74 2.74a2.8 2.8 0 0 0 2.74-2.72m-.3-3.66v-1.26h2.76v9.8h-2.76V31.3a3.9 3.9 0 0 1-3.2 1.58c-2.76 0-4.82-2.26-4.82-5.22 0-2.92 2.04-5.2 4.76-5.2q1.92.01 3.26 1.58m5.32-1.26h2.76v9.8h-2.76zm-.26-4.14c0-.9.74-1.64 1.64-1.64s1.64.74 1.64 1.64-.74 1.64-1.64 1.64-1.64-.74-1.64-1.64m17.5 9.06a2.75 2.75 0 1 0-5.5-.02 2.77 2.77 0 0 0 2.76 2.74c1.5 0 2.74-1.26 2.74-2.72m-5.2 3.6v6.5h-2.76V22.78h2.76v1.26a4 4 0 0 1 3.2-1.58c2.76 0 4.82 2.28 4.82 5.22 0 2.96-2.08 5.2-4.76 5.2a4.1 4.1 0 0 1-3.26-1.58m10.11 1.28v-9.8h2.76v1.48q1.02-1.8 2.84-1.8.57 0 1.2.24l-.38 2.58a3 3 0 0 0-1.32-.34q-2.34 0-2.34 2.94v4.7zm10.43-4.94a2.74 2.74 0 0 0 2.76 2.78 2.8 2.8 0 0 0 2.78-2.74 2.8 2.8 0 0 0-2.78-2.74 2.8 2.8 0 0 0-2.76 2.7m-2.84-.04c0-2.98 2.38-5.14 5.62-5.14s5.58 2.16 5.58 5.2c0 3.16-2.36 5.22-5.64 5.22-3.34 0-5.56-2.18-5.56-5.28m21.1.1a2.76 2.76 0 0 0-2.75-2.76 2.76 2.76 0 0 0-2.74 2.74c0 1.5 1.24 2.74 2.74 2.74a2.8 2.8 0 0 0 2.74-2.72m-.3-3.66v-8.42h2.75v16.96h-2.76V31.3a3.9 3.9 0 0 1-3.2 1.58c-2.76 0-4.82-2.22-4.82-5.22 0-2.92 2.06-5.2 4.76-5.2q1.92.01 3.26 1.58m5.34-1.26h2.76v5.56q0 2.22 1.98 2.22 2 0 2-2.22v-5.56h2.74v6.02c0 2.62-1.7 4.08-4.74 4.08s-4.74-1.46-4.74-4.08zm19.43.28v2.7a3.6 3.6 0 0 0-2.24-.82 2.7 2.7 0 0 0-2.8 2.74c0 1.6 1.2 2.74 2.8 2.74q1.2 0 2.24-.82v2.7q-1.26.57-2.52.58a5.22 5.22 0 1 1 .04-10.42q1.35 0 2.48.6m2.1 2.08h-1.08v-2.36h1.08v-3.34h2.76v3.34h1.92v2.36h-1.92v2.92c0 1.52.18 2.4 1.2 2.4q.28 0 .5-.04v2.4c-.3.04-.86.06-1.16.06-2.14 0-3.3-1.58-3.3-3.84zm13.16-1.68-1.36 1.6a2.7 2.7 0 0 0-1.62-.64c-.6 0-1.06.36-1.06.82 0 .48.26.64 1.56 1.1 2.28.8 2.98 1.48 2.98 3.04 0 2.06-1.7 3.52-4.1 3.52a4.8 4.8 0 0 1-3.72-1.62l1.42-1.68q1.14 1.15 2.32 1.16c.7 0 1.24-.46 1.24-1.08 0-.54-.22-.78-1.5-1.24-2.38-.84-2.86-1.48-2.86-2.9 0-1.9 1.54-3.12 3.5-3.12q1.8 0 3.2 1.04",
783
- fill: "var(--psai-text-dark)"
383
+ fill: "var(--logo-mark-dark)"
784
384
  })
785
385
  ]
786
386
  });
@@ -795,86 +395,86 @@ function SlingshotIcon(props) {
795
395
  fill: "none",
796
396
  xmlns: "http://www.w3.org/2000/svg",
797
397
  ...props,
798
- style: { fill: "var(--red-500)" },
398
+ style: { fill: LOGO_BRAND_RED },
799
399
  children: [
800
400
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M32 0C14.35 0 0 14.35 0 32s14.35 32 32 32 32-14.35 32-32S49.64 0 32 0" }),
801
401
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
802
402
  "fill-rule": "evenodd",
803
403
  "clip-rule": "evenodd",
804
404
  d: "M55.88 41.92a2.25 2.25 0 1 1-4.15-1.72 2.25 2.25 0 0 1 4.15 1.72",
805
- fill: "white"
405
+ fill: LOGO_MARK_WHITE
806
406
  }),
807
407
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
808
408
  "fill-rule": "evenodd",
809
409
  "clip-rule": "evenodd",
810
410
  d: "M41.87 55.9a2.26 2.26 0 1 1-1.72-4.18 2.26 2.26 0 0 1 1.72 4.18",
811
- fill: "white"
411
+ fill: LOGO_MARK_WHITE
812
412
  }),
813
413
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
814
414
  "fill-rule": "evenodd",
815
415
  "clip-rule": "evenodd",
816
416
  d: "M22.08 55.88a2.26 2.26 0 1 1 1.74-4.16 2.26 2.26 0 0 1-1.74 4.16",
817
- fill: "white"
417
+ fill: LOGO_MARK_WHITE
818
418
  }),
819
419
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
820
420
  "fill-rule": "evenodd",
821
421
  "clip-rule": "evenodd",
822
422
  d: "M8.1 41.87",
823
- fill: "white"
423
+ fill: LOGO_MARK_WHITE
824
424
  }),
825
425
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
826
426
  "fill-rule": "evenodd",
827
427
  "clip-rule": "evenodd",
828
428
  d: "M8.12 22.08a2.25 2.25 0 1 1 1.22 2.94 2.26 2.26 0 0 1-1.22-2.94",
829
- fill: "white"
429
+ fill: LOGO_MARK_WHITE
830
430
  }),
831
431
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
832
432
  "fill-rule": "evenodd",
833
433
  "clip-rule": "evenodd",
834
434
  d: "M22.13 8.1a2.26 2.26 0 1 1-1.22 2.94 2.26 2.26 0 0 1 1.22-2.95",
835
- fill: "white"
435
+ fill: LOGO_MARK_WHITE
836
436
  }),
837
437
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
838
438
  "fill-rule": "evenodd",
839
439
  "clip-rule": "evenodd",
840
440
  d: "M41.92 8.12",
841
- fill: "white"
441
+ fill: LOGO_MARK_WHITE
842
442
  }),
843
443
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
844
444
  "fill-rule": "evenodd",
845
445
  "clip-rule": "evenodd",
846
446
  d: "M55.9 22.13a2.26 2.26 0 1 1-2.95-1.22 2.26 2.26 0 0 1 2.95 1.22",
847
- fill: "white"
447
+ fill: LOGO_MARK_WHITE
848
448
  }),
849
449
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
850
450
  "fill-rule": "evenodd",
851
451
  "clip-rule": "evenodd",
852
452
  d: "M34.36 36.32c-1.75 2.42-3 6.33-.68 8.64 1.57 1.58.38 4.19-1.74 4.19s-3.3-2.61-1.73-4.19c2.32-2.32 1.07-6.22-.69-8.64-.3-.42-1.46-1.68-1.85-1.96-2.42-1.75-6.32-3-8.64-.68-1.57 1.57-4.18.39-4.18-1.73s2.61-3.31 4.18-1.74c2.32 2.32 6.23 1.07 8.64-.68.42-.3 1.68-1.47 1.96-1.86 1.76-2.41 3-6.31.69-8.64-1.58-1.57-.4-4.18 1.73-4.18s3.3 2.61 1.73 4.18c-2.31 2.32-1.07 6.23.69 8.64.3.42 1.46 1.68 1.85 1.96 2.42 1.76 6.32 3 8.64.69 1.57-1.58 4.18-.39 4.18 1.73s-2.6 3.31-4.18 1.74c-2.32-2.32-6.22-1.07-8.64.68-.42.3-1.68 1.47-1.96 1.85",
853
- fill: "white"
453
+ fill: LOGO_MARK_WHITE
854
454
  }),
855
455
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
856
456
  "fill-rule": "evenodd",
857
457
  "clip-rule": "evenodd",
858
458
  d: "M44.3 19.7a3.39 3.39 0 1 1-4.78 4.8 3.39 3.39 0 0 1 4.78-4.8",
859
- fill: "white"
459
+ fill: LOGO_MARK_WHITE
860
460
  }),
861
461
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
862
462
  "fill-rule": "evenodd",
863
463
  "clip-rule": "evenodd",
864
464
  d: "M44.3 44.3a3.4 3.4 0 1 1-4.79-4.79 3.4 3.4 0 0 1 4.8 4.8",
865
- fill: "white"
465
+ fill: LOGO_MARK_WHITE
866
466
  }),
867
467
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
868
468
  "fill-rule": "evenodd",
869
469
  "clip-rule": "evenodd",
870
470
  d: "M19.7 44.3a3.39 3.39 0 1 1 4.78-4.79 3.39 3.39 0 0 1-4.79 4.8",
871
- fill: "white"
471
+ fill: LOGO_MARK_WHITE
872
472
  }),
873
473
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
874
474
  "fill-rule": "evenodd",
875
475
  "clip-rule": "evenodd",
876
476
  d: "M19.7 19.7a3.39 3.39 0 1 1 4.79 4.78 3.39 3.39 0 0 1-4.8-4.78",
877
- fill: "white"
477
+ fill: LOGO_MARK_WHITE
878
478
  })
879
479
  ]
880
480
  });
@@ -882,6 +482,7 @@ function SlingshotIcon(props) {
882
482
  //#endregion
883
483
  //#region src/primitives/Logo/marks/slingshot-logo.tsx
884
484
  function SlingshotLogo(props) {
485
+ const theme = require_primitives_ThemeProvider_index.useTheme();
885
486
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
886
487
  width: "133",
887
488
  height: "36",
@@ -890,178 +491,178 @@ function SlingshotLogo(props) {
890
491
  xmlns: "http://www.w3.org/2000/svg",
891
492
  ...props,
892
493
  style: {
893
- "--slingshot-primary-red": "var(--red-500)",
894
- "--slingshot-accent-white": "var(--logo-accent)",
895
- "--slingshot-text-dark": "var(--foreground)"
494
+ "--logo-brand-red": LOGO_BRAND_RED,
495
+ "--logo-mark-white": LOGO_MARK_WHITE,
496
+ "--logo-mark-dark": theme.theme === "dark" ? LOGO_MARK_WHITE : LOGO_MARK_DARK
896
497
  },
897
498
  children: [
898
499
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
899
500
  d: "M18 0C8.07 0 0 8.07 0 18s8.07 18 18 18 18-8.07 18-18S27.92 0 18 0",
900
- fill: "var(--slingshot-primary-red)"
501
+ fill: "var(--logo-brand-red)"
901
502
  }),
902
503
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
903
504
  "fill-rule": "evenodd",
904
505
  "clip-rule": "evenodd",
905
506
  d: "M31.43 23.58a1.27 1.27 0 1 1-2.33-.97 1.27 1.27 0 0 1 2.33.97",
906
- fill: "var(--slingshot-accent-white)"
507
+ fill: "var(--logo-mark-white)"
907
508
  }),
908
509
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
909
510
  "fill-rule": "evenodd",
910
511
  "clip-rule": "evenodd",
911
512
  d: "M23.55 31.44a1.27 1.27 0 1 1-.96-2.35 1.27 1.27 0 0 1 .96 2.35",
912
- fill: "var(--slingshot-accent-white)"
513
+ fill: "var(--logo-mark-white)"
913
514
  }),
914
515
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
915
516
  "fill-rule": "evenodd",
916
517
  "clip-rule": "evenodd",
917
518
  d: "M12.42 31.43a1.27 1.27 0 1 1 .98-2.34 1.27 1.27 0 0 1-.98 2.34",
918
- fill: "var(--slingshot-accent-white)"
519
+ fill: "var(--logo-mark-white)"
919
520
  }),
920
521
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
921
522
  "fill-rule": "evenodd",
922
523
  "clip-rule": "evenodd",
923
524
  d: "M4.55 23.55",
924
- fill: "var(--slingshot-accent-white)"
525
+ fill: "var(--logo-mark-white)"
925
526
  }),
926
527
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
927
528
  "fill-rule": "evenodd",
928
529
  "clip-rule": "evenodd",
929
530
  d: "M4.57 12.42a1.27 1.27 0 1 1 .69 1.66 1.27 1.27 0 0 1-.7-1.66",
930
- fill: "var(--slingshot-accent-white)"
531
+ fill: "var(--logo-mark-white)"
931
532
  }),
932
533
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
933
534
  "fill-rule": "evenodd",
934
535
  "clip-rule": "evenodd",
935
536
  d: "M12.45 4.55a1.27 1.27 0 1 1-.7 1.66c-.26-.65.05-1.39.7-1.66",
936
- fill: "var(--slingshot-accent-white)"
537
+ fill: "var(--logo-mark-white)"
937
538
  }),
938
539
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
939
540
  "fill-rule": "evenodd",
940
541
  "clip-rule": "evenodd",
941
542
  d: "M23.58 4.57",
942
- fill: "var(--slingshot-accent-white)"
543
+ fill: "var(--logo-mark-white)"
943
544
  }),
944
545
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
945
546
  "fill-rule": "evenodd",
946
547
  "clip-rule": "evenodd",
947
548
  d: "M31.45 12.45a1.27 1.27 0 1 1-1.66-.7c.65-.26 1.39.05 1.66.7",
948
- fill: "var(--slingshot-accent-white)"
549
+ fill: "var(--logo-mark-white)"
949
550
  }),
950
551
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
951
552
  "fill-rule": "evenodd",
952
553
  "clip-rule": "evenodd",
953
554
  d: "M19.33 20.43c-.99 1.36-1.7 3.56-.39 4.86.89.89.22 2.35-.97 2.35-1.2 0-1.86-1.46-.98-2.35 1.3-1.3.6-3.5-.38-4.86a9 9 0 0 0-1.04-1.1c-1.37-.99-3.56-1.69-4.86-.39-.89.89-2.36.22-2.36-.97 0-1.2 1.47-1.86 2.36-.98 1.3 1.3 3.5.6 4.86-.38.23-.17.94-.82 1.1-1.04.98-1.36 1.69-3.56.38-4.86-.88-.89-.22-2.36.98-2.36s1.86 1.47.97 2.36c-1.3 1.3-.6 3.5.39 4.86.17.23.82.94 1.04 1.1 1.36.99 3.55 1.69 4.86.38.89-.88 2.35-.21 2.35.98 0 1.2-1.46 1.86-2.35.98-1.3-1.3-3.5-.6-4.86.38-.24.17-.94.82-1.1 1.04",
954
- fill: "var(--slingshot-accent-white)"
555
+ fill: "var(--logo-mark-white)"
955
556
  }),
956
557
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
957
558
  "fill-rule": "evenodd",
958
559
  "clip-rule": "evenodd",
959
560
  d: "M24.92 11.08a1.9 1.9 0 1 1-2.7 2.7 1.9 1.9 0 0 1 2.7-2.7",
960
- fill: "var(--slingshot-accent-white)"
561
+ fill: "var(--logo-mark-white)"
961
562
  }),
962
563
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
963
564
  "fill-rule": "evenodd",
964
565
  "clip-rule": "evenodd",
965
566
  d: "M24.92 24.92a1.9 1.9 0 1 1-2.7-2.7 1.9 1.9 0 0 1 2.7 2.7",
966
- fill: "var(--slingshot-accent-white)"
567
+ fill: "var(--logo-mark-white)"
967
568
  }),
968
569
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
969
570
  "fill-rule": "evenodd",
970
571
  "clip-rule": "evenodd",
971
572
  d: "M11.08 24.92a1.9 1.9 0 1 1 2.69-2.7 1.9 1.9 0 0 1-2.7 2.7",
972
- fill: "var(--slingshot-accent-white)"
573
+ fill: "var(--logo-mark-white)"
973
574
  }),
974
575
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
975
576
  "fill-rule": "evenodd",
976
577
  "clip-rule": "evenodd",
977
578
  d: "M11.08 11.08a1.9 1.9 0 1 1 2.7 2.69 1.9 1.9 0 0 1-2.7-2.69",
978
- fill: "var(--slingshot-accent-white)"
579
+ fill: "var(--logo-mark-white)"
979
580
  }),
980
581
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
981
582
  "fill-rule": "evenodd",
982
583
  "clip-rule": "evenodd",
983
584
  d: "M66.2 2.12a.5.5 0 0 0 .49-.5.5.5 0 0 0-.49-.5.5.5 0 0 0-.49.5c0 .28.22.5.5.5",
984
- fill: "var(--slingshot-text-dark)"
585
+ fill: "var(--logo-mark-dark)"
985
586
  }),
986
587
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
987
588
  "fill-rule": "evenodd",
988
589
  "clip-rule": "evenodd",
989
590
  d: "M65.81 9.68h.77V3.06h-.77z",
990
- fill: "var(--slingshot-text-dark)"
591
+ fill: "var(--logo-mark-dark)"
991
592
  }),
992
593
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
993
594
  "fill-rule": "evenodd",
994
595
  "clip-rule": "evenodd",
995
596
  d: "M50.65 6.35c0-1.38 1.06-2.51 2.37-2.51 1.3 0 2.37 1.13 2.37 2.51v.1c-.05 1.37-1.1 2.44-2.37 2.44-1.28 0-2.37-1.14-2.37-2.54m2.37 3.32c.92 0 1.77-.42 2.37-1.15v1.16h.76V3.06h-.76V4.2a3 3 0 0 0-2.37-1.14 3.2 3.2 0 0 0-3.13 3.3c0 1.8 1.4 3.31 3.13 3.31",
996
- fill: "var(--slingshot-text-dark)"
597
+ fill: "var(--logo-mark-dark)"
997
598
  }),
998
599
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
999
600
  "fill-rule": "evenodd",
1000
601
  "clip-rule": "evenodd",
1001
602
  d: "M61.28 8.9c-1.28 0-2.32-1.08-2.37-2.44v-.1c0-1.4 1.06-2.52 2.37-2.52 1.3 0 2.37 1.13 2.37 2.51 0 1.39-1.06 2.54-2.37 2.54m3.13-2.55c0-1.81-1.4-3.29-3.13-3.29-.92 0-1.78.41-2.37 1.14V3.06h-.76v9h.76V8.52c.6.74 1.45 1.15 2.37 1.15 1.73 0 3.13-1.49 3.13-3.32",
1002
- fill: "var(--slingshot-text-dark)"
603
+ fill: "var(--logo-mark-dark)"
1003
604
  }),
1004
605
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1005
606
  "fill-rule": "evenodd",
1006
607
  "clip-rule": "evenodd",
1007
608
  d: "M78.66 3.06c-.72 0-1.4.3-1.9.83v-.83h-.74v6.62h.74V5.76a1.95 1.95 0 0 1 1.9-1.93c1.03 0 1.9.86 1.9 1.93v3.92h.74V5.76c0-1.49-1.18-2.7-2.64-2.7",
1008
- fill: "var(--slingshot-text-dark)"
609
+ fill: "var(--logo-mark-dark)"
1009
610
  }),
1010
611
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1011
612
  "fill-rule": "evenodd",
1012
613
  "clip-rule": "evenodd",
1013
614
  d: "m85.24 8.92-.08.02q-.11.04-.37.05-.44.02-.43-.67v-4.5h.9v-.76h-.9V.84h-.78v2.22h-.9v.76h.9v4.52q0 .74.27 1.02.27.3.77.31.38 0 .62-.1l.04-.01z",
1014
- fill: "var(--slingshot-text-dark)"
615
+ fill: "var(--logo-mark-dark)"
1015
616
  }),
1016
617
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1017
618
  "fill-rule": "evenodd",
1018
619
  "clip-rule": "evenodd",
1019
620
  d: "M71.35 3.83c1.12 0 2.07.82 2.3 1.97h-4.64a2.4 2.4 0 0 1 2.34-1.97m1.98 3.94a2.3 2.3 0 0 1-1.98 1.14 2.46 2.46 0 0 1-2.4-2.36h5.14c.21 0 .38-.15.38-.35v-.06c-.14-1.75-1.48-3.08-3.12-3.08a3.24 3.24 0 0 0-3.15 3.32c0 1.83 1.41 3.3 3.15 3.3 1.06 0 2.03-.56 2.6-1.5z",
1020
- fill: "var(--slingshot-text-dark)"
621
+ fill: "var(--logo-mark-dark)"
1021
622
  }),
1022
623
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1023
624
  "fill-rule": "evenodd",
1024
625
  "clip-rule": "evenodd",
1025
626
  d: "M48.13 6.48s-.2-.16-.4-.25c-.22-.09-.53-.2-1.16-.36q-.13-.02-.25-.06-.64-.16-1-.43-.34-.28-.31-.61.01-.39.4-.67.46-.34 1.18-.3c.54.02.95.3 1.39.62l.04.03.55-.53-.26-.2c-.44-.3-.97-.62-1.69-.65q-.94-.04-1.6.38c-.47.32-.77.79-.77 1.28 0 .37.07.72.43 1.08.43.42 1.1.65 1.72.77.53.1 1.02.3 1.27.51.3.28.4.48.4.76q-.04.43-.5.73c-.3.23-.72.35-1.17.33a3 3 0 0 1-1.81-.78l-.05-.04-.54.51.05.05q1.09.95 2.32 1.02A2.6 2.6 0 0 0 48 9.21q.76-.54.8-1.32a1.7 1.7 0 0 0-.68-1.41",
1026
- fill: "var(--slingshot-text-dark)"
627
+ fill: "var(--logo-mark-dark)"
1027
628
  }),
1028
629
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1029
630
  d: "M127.12 20.6h-1.22v-2.7h1.22v-3.84h3.1v3.83h2.15v2.71h-2.16v3.35c0 1.74.2 2.75 1.35 2.75l.56-.04v2.75c-.33.04-.96.07-1.3.07-2.4 0-3.7-1.82-3.7-4.4z",
1030
- fill: "var(--slingshot-text-dark)"
631
+ fill: "var(--logo-mark-dark)"
1031
632
  }),
1032
633
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1033
634
  d: "M116.04 23.47a3.1 3.1 0 0 0 3.1 3.19 3.14 3.14 0 0 0 0-6.28c-1.71 0-3.1 1.44-3.1 3.1m-2.85-.04c0-3.02 2.33-5.9 5.97-5.9a5.84 5.84 0 0 1 5.92 5.96 5.8 5.8 0 0 1-5.99 5.99c-3.68 0-5.9-3.04-5.9-6.05",
1034
- fill: "var(--slingshot-text-dark)"
635
+ fill: "var(--logo-mark-dark)"
1035
636
  }),
1036
637
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1037
638
  d: "m98.89 18.68-1.53 1.83a3 3 0 0 0-1.82-.73c-.67 0-1.19.41-1.19.94s.3.73 1.75 1.26c2.56.92 3.35 1.7 3.35 3.49 0 2.36-1.9 4.03-4.6 4.03a5.4 5.4 0 0 1-4.18-1.86l1.6-1.92q1.28 1.32 2.6 1.33c.78 0 1.4-.53 1.4-1.24 0-.62-.26-.9-1.7-1.42-2.66-.97-3.2-1.7-3.2-3.33 0-2.18 1.73-3.57 3.93-3.57q2-.01 3.59 1.19",
1038
- fill: "var(--slingshot-text-dark)"
639
+ fill: "var(--logo-mark-dark)"
1039
640
  }),
1040
641
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1041
642
  d: "M65.46 29.14V17.9h3.1v1.4a4.2 4.2 0 0 1 3.43-1.77c2.22 0 4.09 1.3 4.09 4.34v7.27h-3.1v-6.17c0-1.88-.52-2.76-2.09-2.76s-2.33 1-2.33 3.1v5.83z",
1042
- fill: "var(--slingshot-text-dark)"
643
+ fill: "var(--logo-mark-dark)"
1043
644
  }),
1044
645
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1045
646
  d: "M60.17 17.9h3.1v11.23h-3.1zm-.29-3.45c0-1.03.83-1.88 1.84-1.88s1.84.85 1.84 1.88-.83 1.88-1.84 1.88a1.87 1.87 0 0 1-1.84-1.88",
1046
- fill: "var(--slingshot-text-dark)"
647
+ fill: "var(--logo-mark-dark)"
1047
648
  }),
1048
649
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1049
650
  d: "m52.22 18.68-1.53 1.83a3 3 0 0 0-1.82-.73c-.67 0-1.19.41-1.19.94s.3.73 1.75 1.26c2.56.92 3.35 1.7 3.35 3.49 0 2.36-1.9 4.03-4.6 4.03A5.4 5.4 0 0 1 44 27.64l1.6-1.92q1.28 1.32 2.6 1.33c.78 0 1.39-.53 1.39-1.24 0-.62-.25-.9-1.68-1.42-2.68-.97-3.21-1.7-3.21-3.33 0-2.18 1.72-3.57 3.92-3.57q2.02-.01 3.6 1.19",
1050
- fill: "var(--slingshot-text-dark)"
651
+ fill: "var(--logo-mark-dark)"
1051
652
  }),
1052
653
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1053
654
  d: "M57.17 23.6c0 1.75.3 2.76 1.44 2.76q.2 0 .43-.05v2.75c-.34.05-.74.07-1.04.07-2.74 0-3.92-1.95-3.92-4.54V12.7h3.1z",
1054
- fill: "var(--slingshot-text-dark)"
655
+ fill: "var(--logo-mark-dark)"
1055
656
  }),
1056
657
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1057
658
  d: "M104.03 19.36a4 4 0 0 1 3.43-1.83c1.58 0 2.59.6 3.33 1.53.58.76.76 1.77.76 3v7.07h-3.1v-6.17c0-2-.56-2.75-2.09-2.75q-2.34 0-2.33 3.17v5.75h-3.1V12.57h3.1z",
1058
- fill: "var(--slingshot-text-dark)"
659
+ fill: "var(--logo-mark-dark)"
1059
660
  }),
1060
661
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1061
662
  "fill-rule": "evenodd",
1062
663
  "clip-rule": "evenodd",
1063
664
  d: "m89.41 28-.03 1.78q-.08 1.21-.3 1.85c-.7 2.09-2.88 3.53-5.55 3.53-3.19 0-5.61-2.04-5.86-4.7h3.32q.49 2.03 2.6 2.02c1.63 0 2.57-.86 2.72-2.63v-1.77c-4.29 2.94-8.66-.68-8.66-4.59a5.5 5.5 0 0 1 4.98-5.64c1.46 0 2.74.25 3.68 1.47v-1.47h3.1zm-6.04-7.67a3.14 3.14 0 0 0-3.07 3.12 3.1 3.1 0 0 0 3.07 3.16 3.15 3.15 0 0 0 0-6.28",
1064
- fill: "var(--slingshot-text-dark)"
665
+ fill: "var(--logo-mark-dark)"
1065
666
  })
1066
667
  ]
1067
668
  });
@@ -1076,16 +677,17 @@ function SustainIcon(props) {
1076
677
  fill: "none",
1077
678
  xmlns: "http://www.w3.org/2000/svg",
1078
679
  ...props,
1079
- style: { fill: "var(--red-500)" },
680
+ style: { fill: LOGO_BRAND_RED },
1080
681
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1081
682
  d: "M63.3 32.5c0 17.32-14.06 32.05-31.4 32.05C14.55 64.55.5 49.82.5 32.5A31.4 31.4 0 0 1 31.9 1.13 31.4 31.4 0 0 1 63.3 32.5",
1082
- fill: "white"
683
+ fill: LOGO_MARK_WHITE
1083
684
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M58.8 33.3q2.7 0 5.2.53-.15 3.15-.86 6.1-2.09-.46-4.36-.48v.18a2.05 2.05 0 0 0-3.85.95 2.05 2.05 0 0 0 3.98.66q1.93 0 3.75.43a33 33 0 0 1-2.01 5.09q-.91-.15-1.87-.15a12.65 12.65 0 0 0-12.63 12.62v1.94a32 32 0 0 1-4.94 1.94q-.3-1.32-.37-2.72c.6-.36 1-1.01 1-1.77 0-1.13-.9-2.04-2.04-2.04-1.13 0-2.04.91-2.04 2.04 0 1.14.55 1.62 1.31 1.92q.12 1.54.43 3.05-2.95.71-6.1.85a25.96 25.96 0 0 1 25.4-31.12zm-53.66 0a25.96 25.96 0 0 1 25.41 31.12q-3.15-.14-6.1-.86.33-1.45.43-2.97a2.04 2.04 0 0 0 1.44-1.97c0-1.13-.91-2.04-2.05-2.04s-2.04.91-2.04 2.04c0 .7.36 1.31.89 1.7q-.09 1.42-.38 2.76a31 31 0 0 1-5.1-2.04q.12-.9.13-1.81c0-6.96-5.67-12.62-12.63-12.62H3.3a32 32 0 0 1-1.95-4.97q1.78-.39 3.63-.4a2.05 2.05 0 1 0 1.94-2.7c-1.14 0-1.41.4-1.77 1.01v-.1q-2.2.02-4.28.48-.71-2.96-.86-6.07a27 27 0 0 1 5.12-.5zm41.13 27.8c-.07.48-.1 3.35-.11.07zM5.14 48.38c5.98 0 10.87 4.86 10.87 10.86s0 .6-.05.9a32 32 0 0 1-11.7-11.71c.3 0 .58-.05.88-.05m53.67 0q.48-.01.96.05a32 32 0 0 1-11.78 11.77q-.04-.48-.05-.96c0-5.97 4.87-10.86 10.87-10.86M31.99 11.98a27.8 27.8 0 0 0 21 20.16 27.8 27.8 0 0 0-21 20.16 27.8 27.8 0 0 0-21-20.16 27.8 27.8 0 0 0 21-20.16M3.34 46.71c-.44-.06-3.5-.1-.05-.1zm28.67-23.06a8.8 8.8 0 0 1-8.77 8.77 8.8 8.8 0 0 1 8.77 8.8 8.8 8.8 0 0 1 8.78-8.8A8.8 8.8 0 0 1 32 23.65M30.68.45q.41 2.23.4 4.6A26.07 26.07 0 0 1 5.04 31.01c-4.87 0-4.52-.18-4.99-.53q.2-3.11.96-6.05 1.96.42 4.03.43c.3.73 1.04 1.23 1.9 1.23 1.13 0 2.03-.9 2.03-2.04 0-1.13-.9-2.04-2.04-2.04-1.13 0-1.43.43-1.79 1.06a17 17 0 0 1-3.63-.38 30 30 0 0 1 2.15-5.09q.75.09 1.5.1c6.96 0 12.64-5.67 12.64-12.62V3.76q2.42-1.2 5.06-2 .25 1.32.3 2.71c-.55.38-.9.99-.9 1.7 0 1.13.9 2.03 2.04 2.03a2.04 2.04 0 0 0 .63-3.98q-.06-1.49-.35-2.92c1.96-.45 4-.76 6.07-.83zm2.62 0q3.13.12 6.07.82-.29 1.47-.35 3a2 2 0 0 0-1.29 1.9c0 .85.91 2.03 2.05 2.03a2.03 2.03 0 0 0 1-3.8q.05-1.35.3-2.67 2.7.8 5.15 2.01-.08.64-.08 1.31c0 6.96 5.68 12.63 12.63 12.63h1.64a33 33 0 0 1 2.1 4.99q-1.82.37-3.71.37A2.1 2.1 0 0 0 56.99 22c-1.13 0-2.04.9-2.04 2.04a2.06 2.06 0 0 0 3.93.8q2.13 0 4.14-.45.76 2.95.96 6.07-2.51.51-5.17.53A25.96 25.96 0 0 1 33.27.44zm27.08 17.14c.41.04 3.87.08.04.08zm-44.4-12.5.03-.03c0 5.97-4.87 10.86-10.87 10.86H4.6a32.5 32.5 0 0 1 11.4-11.2zm31.99-.44a32 32 0 0 1 11.47 11.22h-.63A10.9 10.9 0 0 1 47.94 5v-.37z" })]
1084
685
  });
1085
686
  }
1086
687
  //#endregion
1087
688
  //#region src/primitives/Logo/marks/sustain-logo.tsx
1088
689
  function SustainLogo(props) {
690
+ const theme = require_primitives_ThemeProvider_index.useTheme();
1089
691
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
1090
692
  width: "113",
1091
693
  height: "37",
@@ -1094,105 +696,104 @@ function SustainLogo(props) {
1094
696
  xmlns: "http://www.w3.org/2000/svg",
1095
697
  ...props,
1096
698
  style: {
1097
- "--sustain-circle-bg": "var(--background)",
1098
- "--sustain-primary-red": "var(--red-500)",
1099
- "--sustain-accent-white": "var(--foreground)",
1100
- "--sustain-text-dark": "var(--foreground)"
699
+ "--logo-brand-red": LOGO_BRAND_RED,
700
+ "--logo-mark-white": LOGO_MARK_WHITE,
701
+ "--logo-mark-dark": theme.theme === "dark" ? LOGO_MARK_WHITE : LOGO_MARK_DARK
1101
702
  },
1102
703
  children: [
1103
704
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1104
705
  d: "M35.6 18.28c0 9.74-7.9 18.03-17.66 18.03S.28 28.02.28 18.28 8.18.64 17.94.64s17.67 7.9 17.67 17.64",
1105
- fill: "var(--sustain-circle-bg)"
706
+ fill: "var(--logo-mark-white)"
1106
707
  }),
1107
708
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1108
709
  d: "M33.08 18.73q1.5 0 2.92.3a18 18 0 0 1-.48 3.43q-1.19-.26-2.45-.27v.1a1.15 1.15 0 0 0-2.17.54c0 .64.5 1.15 1.14 1.15.51 0 .94-.33 1.1-.78q1.09 0 2.1.24-.44 1.48-1.13 2.86-.52-.09-1.04-.08a7.1 7.1 0 0 0-7.1 7.1c0 3.9.02.7.08 1.04a18 18 0 0 1-2.87 1.14q-.16-.74-.21-1.53c.34-.2.57-.57.57-1 0-.63-.51-1.14-1.15-1.14s-1.15.5-1.15 1.15c0 .63.31.9.74 1.07q.06.87.24 1.72-1.66.4-3.43.48-.3-1.43-.3-2.92a14.6 14.6 0 0 1 14.59-14.58z",
1109
- fill: "var(--sustain-primary-red)"
710
+ fill: "var(--logo-brand-red)"
1110
711
  }),
1111
712
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1112
713
  d: "M2.9 18.73a14.6 14.6 0 0 1 14.28 17.5 18 18 0 0 1-3.43-.48q.19-.8.24-1.67c.47-.14.81-.58.81-1.1 0-.64-.5-1.15-1.15-1.15-.63 0-1.14.5-1.14 1.15 0 .4.2.73.5.95q-.05.79-.22 1.55-1.49-.45-2.86-1.14.07-.51.07-1.02c0-3.92-3.2-7.1-7.1-7.1-3.92 0-.69.02-1.01.07Q1.2 24.92.75 23.42a10 10 0 0 1 2.04-.22 1.15 1.15 0 1 0 1.1-1.52c-.64 0-.8.23-1 .57v-.06q-1.24 0-2.4.27A18 18 0 0 1 0 19.04q1.41-.27 2.88-.28z",
1113
- fill: "var(--sustain-primary-red)"
714
+ fill: "var(--logo-brand-red)"
1114
715
  }),
1115
716
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1116
717
  d: "M33.08 27.2q.26-.01.54.04A18 18 0 0 1 27 33.85q-.03-.27-.03-.53c0-3.36 2.73-6.11 6.1-6.11",
1117
- fill: "var(--sustain-primary-red)"
718
+ fill: "var(--logo-brand-red)"
1118
719
  }),
1119
720
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1120
721
  d: "M2.9 27.2A6.1 6.1 0 0 1 9 33.33c0 3.37 0 .34-.02.5a18 18 0 0 1-6.58-6.58q.24-.02.5-.03",
1121
- fill: "var(--sustain-primary-red)"
722
+ fill: "var(--logo-brand-red)"
1122
723
  }),
1123
724
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1124
725
  "fill-rule": "evenodd",
1125
726
  "clip-rule": "evenodd",
1126
727
  d: "M18 6.74a15.7 15.7 0 0 0 11.8 11.34A15.6 15.6 0 0 0 18 29.42 15.6 15.6 0 0 0 6.17 18.08 15.6 15.6 0 0 0 18 6.74m0 6.56a4.94 4.94 0 0 1-4.93 4.94 4.94 4.94 0 0 1 4.94 4.94 4.96 4.96 0 0 1 4.93-4.94 4.94 4.94 0 0 1-4.93-4.94",
1127
- fill: "var(--sustain-primary-red)"
728
+ fill: "var(--logo-brand-red)"
1128
729
  }),
1129
730
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1130
731
  d: "M18.73.25q1.76.07 3.42.47a11 11 0 0 0-.2 1.68c-.43.17-.72.59-.72 1.07s.5 1.15 1.14 1.15a1.14 1.14 0 0 0 .57-2.14q.02-.77.17-1.5 1.5.44 2.9 1.13-.05.36-.05.73c0 3.92 3.2 7.1 7.1 7.1 3.92 0 .6-.02.9-.05q.72 1.36 1.2 2.86-1.02.21-2.08.21c-.2-.35-.58-.6-1.02-.6-.64 0-1.15.52-1.15 1.16s.51 1.14 1.15 1.14c.48 0 .88-.28 1.06-.69q1.2 0 2.33-.26.42 1.66.54 3.42-1.42.28-2.91.3A14.6 14.6 0 0 1 18.72.25z",
1131
- fill: "var(--sustain-primary-red)"
732
+ fill: "var(--logo-brand-red)"
1132
733
  }),
1133
734
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1134
735
  d: "M17.26.25q.22 1.25.22 2.6c0 8.03-6.6 14.6-14.64 14.6-2.74 0-2.55-.11-2.81-.3q.1-1.77.54-3.4 1.1.23 2.27.23c.17.41.58.7 1.06.7.64 0 1.15-.51 1.15-1.15s-.51-1.15-1.15-1.15-.8.24-1 .6q-1.05 0-2.05-.21.47-1.5 1.2-2.87.43.05.86.06c3.91 0 7.1-3.19 7.1-7.1s0-.48-.04-.72q1.38-.69 2.89-1.15.14.74.17 1.53a1.14 1.14 0 0 0 .64 2.1 1.15 1.15 0 0 0 .35-2.24q-.03-.85-.2-1.65a18 18 0 0 1 3.42-.47z",
1135
- fill: "var(--sustain-primary-red)"
736
+ fill: "var(--logo-brand-red)"
1136
737
  }),
1137
738
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1138
739
  d: "M9 2.84C9 6.2 6.27 8.95 2.9 8.95h-.32A18 18 0 0 1 9 2.65v.2z",
1139
- fill: "var(--sustain-primary-red)"
740
+ fill: "var(--logo-brand-red)"
1140
741
  }),
1141
742
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1142
743
  d: "M26.98 2.62a18 18 0 0 1 6.45 6.3h-.35a6.1 6.1 0 0 1-6.11-6.1V2.6z",
1143
- fill: "var(--sustain-primary-red)"
744
+ fill: "var(--logo-brand-red)"
1144
745
  }),
1145
746
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1146
747
  "fill-rule": "evenodd",
1147
748
  "clip-rule": "evenodd",
1148
749
  d: "M66.27 5.17a.5.5 0 0 0 .49-.5.5.5 0 0 0-.5-.5.5.5 0 0 0-.48.5c0 .28.22.5.49.5",
1149
- fill: "var(--sustain-accent-white)"
750
+ fill: "var(--logo-mark-dark)"
1150
751
  }),
1151
752
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1152
753
  "fill-rule": "evenodd",
1153
754
  "clip-rule": "evenodd",
1154
755
  d: "M65.88 12.73h.76V6.1h-.76z",
1155
- fill: "var(--sustain-accent-white)"
756
+ fill: "var(--logo-mark-dark)"
1156
757
  }),
1157
758
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1158
759
  "fill-rule": "evenodd",
1159
760
  "clip-rule": "evenodd",
1160
761
  d: "M50.72 9.4c0-1.38 1.06-2.5 2.37-2.5 1.3 0 2.37 1.12 2.37 2.5v.1c-.05 1.37-1.1 2.44-2.37 2.44-1.28 0-2.37-1.14-2.37-2.54m2.37 3.32c.92 0 1.77-.41 2.37-1.15v1.16h.76V6.1h-.76v1.14a3 3 0 0 0-2.37-1.14 3.2 3.2 0 0 0-3.13 3.3c0 1.8 1.4 3.31 3.13 3.31",
1161
- fill: "var(--sustain-accent-white)"
762
+ fill: "var(--logo-mark-dark)"
1162
763
  }),
1163
764
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1164
765
  "fill-rule": "evenodd",
1165
766
  "clip-rule": "evenodd",
1166
767
  d: "M61.35 11.94c-1.28 0-2.32-1.07-2.37-2.43v-.1c0-1.4 1.06-2.52 2.37-2.52 1.3 0 2.37 1.13 2.37 2.51 0 1.39-1.07 2.54-2.37 2.54m3.13-2.54c0-1.81-1.4-3.29-3.13-3.29-.93 0-1.78.41-2.37 1.14V6.1h-.76v9h.76v-3.53c.6.73 1.45 1.14 2.37 1.14 1.72 0 3.13-1.49 3.13-3.32",
1167
- fill: "var(--sustain-accent-white)"
768
+ fill: "var(--logo-mark-dark)"
1168
769
  }),
1169
770
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1170
771
  "fill-rule": "evenodd",
1171
772
  "clip-rule": "evenodd",
1172
773
  d: "M78.73 6.11c-.72 0-1.4.3-1.9.84V6.1h-.74v6.62h.73V8.8a1.95 1.95 0 0 1 1.9-1.93c1.03 0 1.9.86 1.9 1.93v3.92h.75V8.8c0-1.49-1.19-2.7-2.64-2.7",
1173
- fill: "var(--sustain-accent-white)"
774
+ fill: "var(--logo-mark-dark)"
1174
775
  }),
1175
776
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1176
777
  "fill-rule": "evenodd",
1177
778
  "clip-rule": "evenodd",
1178
779
  d: "m85.3 11.97-.07.02q-.11.04-.37.05-.44.02-.44-.67v-4.5h.9V6.1h-.9V3.89h-.78V6.1h-.9v.76h.9v4.53q0 .74.28 1.01.27.3.77.31.37 0 .61-.1l.05-.01z",
1179
- fill: "var(--sustain-accent-white)"
780
+ fill: "var(--logo-mark-dark)"
1180
781
  }),
1181
782
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1182
783
  "fill-rule": "evenodd",
1183
784
  "clip-rule": "evenodd",
1184
785
  d: "M71.42 6.88c1.11 0 2.07.83 2.3 1.97h-4.65a2.4 2.4 0 0 1 2.34-1.97m1.98 3.94a2.3 2.3 0 0 1-1.99 1.14 2.46 2.46 0 0 1-2.39-2.36h5.14c.2 0 .37-.15.37-.35v-.06c-.13-1.75-1.47-3.08-3.12-3.08a3.24 3.24 0 0 0-3.14 3.32c0 1.83 1.41 3.3 3.14 3.3 1.06 0 2.04-.56 2.61-1.5z",
1185
- fill: "var(--sustain-accent-white)"
786
+ fill: "var(--logo-mark-dark)"
1186
787
  }),
1187
788
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1188
789
  "fill-rule": "evenodd",
1189
790
  "clip-rule": "evenodd",
1190
791
  d: "M48.2 9.53s-.2-.16-.41-.25c-.22-.09-.52-.2-1.16-.35q-.12-.04-.25-.06-.63-.17-1-.44-.33-.28-.3-.61.01-.39.4-.67.45-.34 1.18-.3c.54.02.95.3 1.39.62l.04.03.55-.53-.26-.2c-.44-.3-.97-.62-1.69-.65q-.95-.04-1.6.38c-.47.32-.77.79-.77 1.28-.01.37.07.72.43 1.08.43.43 1.1.65 1.72.77.53.1 1.02.3 1.26.51.3.28.4.48.4.77q-.02.42-.48.72c-.3.23-.73.35-1.18.33a3.2 3.2 0 0 1-1.82-.78l-.04-.04-.54.51.05.05q1.09.95 2.31 1.02a2.6 2.6 0 0 0 1.64-.46q.77-.54.81-1.32a1.7 1.7 0 0 0-.68-1.41",
1191
- fill: "var(--sustain-accent-white)"
792
+ fill: "var(--logo-mark-dark)"
1192
793
  }),
1193
794
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1194
795
  d: "m52.1 23-1.35 1.6a2.7 2.7 0 0 0-1.62-.65c-.6 0-1.06.36-1.06.82 0 .48.26.64 1.56 1.1 2.28.8 2.98 1.48 2.98 3.04 0 2.06-1.7 3.52-4.1 3.52a4.8 4.8 0 0 1-3.72-1.62l1.42-1.68q1.15 1.15 2.32 1.16c.7 0 1.24-.46 1.24-1.08 0-.54-.22-.78-1.5-1.24-2.38-.84-2.86-1.48-2.86-2.9 0-1.9 1.54-3.12 3.5-3.12q1.8 0 3.2 1.04m2.43-.69h2.76v5.56q0 2.22 1.98 2.22 2 0 2-2.22v-5.56H64v6.02c0 2.62-1.7 4.08-4.74 4.08s-4.74-1.46-4.74-4.08zm18.8.68-1.35 1.6a2.7 2.7 0 0 0-1.62-.64c-.6 0-1.06.36-1.06.82 0 .48.26.64 1.56 1.1 2.28.8 2.98 1.48 2.98 3.04 0 2.06-1.7 3.52-4.1 3.52a4.8 4.8 0 0 1-3.72-1.62l1.42-1.68q1.15 1.15 2.32 1.16c.7 0 1.24-.46 1.24-1.08 0-.54-.22-.78-1.5-1.24-2.38-.84-2.86-1.48-2.86-2.9 0-1.9 1.54-3.12 3.5-3.12q1.8 0 3.2 1.04m2.45 1.68H74.7v-2.36h1.08v-3.34h2.76v3.34h1.92v2.36h-1.92v2.92c0 1.52.18 2.4 1.2 2.4q.28 0 .5-.04v2.4c-.3.04-.86.06-1.16.06-2.14 0-3.3-1.58-3.3-3.84zM90 27.23a2.76 2.76 0 0 0-2.74-2.76 2.7 2.7 0 0 0-2.74 2.74c0 1.52 1.2 2.74 2.74 2.74A2.8 2.8 0 0 0 90 27.23m-.3-3.66v-1.26h2.76v9.8H89.7v-1.28a3.9 3.9 0 0 1-3.2 1.58c-2.76 0-4.82-2.26-4.82-5.22 0-2.92 2.04-5.2 4.76-5.2q1.91.01 3.26 1.58m5.31-1.26h2.76v9.8h-2.76zm-.26-4.14c0-.9.74-1.64 1.64-1.64s1.64.74 1.64 1.64-.74 1.64-1.64 1.64-1.64-.74-1.64-1.64m5.58 13.94v-9.8h2.76v1.22a3.7 3.7 0 0 1 3.06-1.54c1.98 0 3.64 1.14 3.64 3.78v6.34h-2.76v-5.38c0-1.64-.46-2.4-1.86-2.4-1.38 0-2.08.86-2.08 2.7v5.08z",
1195
- fill: "var(--sustain-accent-white)"
796
+ fill: "var(--logo-mark-dark)"
1196
797
  })
1197
798
  ]
1198
799
  });
@@ -1217,6 +818,7 @@ const MARKS = {
1217
818
  icon: PSAILogo
1218
819
  }
1219
820
  };
821
+ /** Renders a product's brand mark (wordmark or compact icon) as an inline SVG. */
1220
822
  function Logo({ brand, variant = "logo", ...props }) {
1221
823
  const Mark = MARKS[brand][variant];
1222
824
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Mark, {
@@ -1227,660 +829,11 @@ function Logo({ brand, variant = "logo", ...props }) {
1227
829
  });
1228
830
  }
1229
831
  //#endregion
1230
- //#region src/primitives/Popover/Popover.tsx
1231
- function Popover({ ...props }) {
1232
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.Popover.Root, {
1233
- "data-slot": "popover",
1234
- ...props
1235
- });
1236
- }
1237
- function PopoverTrigger({ ...props }) {
1238
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.Popover.Trigger, {
1239
- "data-slot": "popover-trigger",
1240
- ...props
1241
- });
1242
- }
1243
- function PopoverContent({ className, align = "center", sideOffset = 4, ...props }) {
1244
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.Popover.Portal, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.Popover.Content, {
1245
- "data-slot": "popover-content",
1246
- align,
1247
- sideOffset,
1248
- className: require_utils.cn("z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border bg-card p-4 text-card-foreground shadow-md outline-hidden 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95", className),
1249
- ...props
1250
- }) });
1251
- }
1252
- function PopoverAnchor({ ...props }) {
1253
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.Popover.Anchor, {
1254
- "data-slot": "popover-anchor",
1255
- ...props
1256
- });
1257
- }
1258
- function PopoverHeader({ className, ...props }) {
1259
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1260
- "data-slot": "popover-header",
1261
- className: require_utils.cn("flex flex-col gap-1 text-sm", className),
1262
- ...props
1263
- });
1264
- }
1265
- function PopoverTitle({ className, ...props }) {
1266
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1267
- "data-slot": "popover-title",
1268
- className: require_utils.cn("font-medium", className),
1269
- ...props
1270
- });
1271
- }
1272
- function PopoverDescription({ className, ...props }) {
1273
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
1274
- "data-slot": "popover-description",
1275
- className: require_utils.cn("text-muted-foreground", className),
1276
- ...props
1277
- });
1278
- }
1279
- //#endregion
1280
- //#region src/primitives/Skeleton/Skeleton.tsx
1281
- function Skeleton({ className, ...props }) {
1282
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1283
- "data-slot": "skeleton",
1284
- className: require_utils.cn("skeleton-shimmer rounded-md", className),
1285
- ...props
1286
- });
1287
- }
1288
- function SkeletonAvatar({ className, ...props }) {
1289
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Skeleton, {
1290
- "data-slot": "skeleton-avatar",
1291
- className: require_utils.cn("size-10 rounded-full", className),
1292
- ...props
1293
- });
1294
- }
1295
- function SkeletonLine({ className, ...props }) {
1296
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Skeleton, {
1297
- "data-slot": "skeleton-line",
1298
- className: require_utils.cn("h-4 w-full rounded-full", className),
1299
- ...props
1300
- });
1301
- }
1302
- function SkeletonObject({ className, ...props }) {
1303
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Skeleton, {
1304
- "data-slot": "skeleton-object",
1305
- className: require_utils.cn("h-24 w-full rounded-md", className),
1306
- ...props
1307
- });
1308
- }
1309
- //#endregion
1310
- //#region src/primitives/Table/Table.tsx
1311
- function Table({ className, striped = false, ...props }) {
1312
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1313
- "data-slot": "table-container",
1314
- className: "relative w-full overflow-x-auto",
1315
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("table", {
1316
- "data-slot": "table",
1317
- "data-striped": striped || void 0,
1318
- className: require_utils.cn("w-full caption-bottom text-sm", striped && "[&_tbody_tr:nth-child(even)]:bg-muted/50", className),
1319
- ...props
1320
- })
1321
- });
1322
- }
1323
- function TableHeader({ className, ...props }) {
1324
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("thead", {
1325
- "data-slot": "table-header",
1326
- className: require_utils.cn("[&_tr]:border-b", className),
1327
- ...props
1328
- });
1329
- }
1330
- function TableBody({ className, ...props }) {
1331
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tbody", {
1332
- "data-slot": "table-body",
1333
- className: require_utils.cn("[&_tr:last-child]:border-0", className),
1334
- ...props
1335
- });
1336
- }
1337
- function TableFooter({ className, ...props }) {
1338
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tfoot", {
1339
- "data-slot": "table-footer",
1340
- className: require_utils.cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", className),
1341
- ...props
1342
- });
1343
- }
1344
- function TableRow({ className, ...props }) {
1345
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tr", {
1346
- "data-slot": "table-row",
1347
- className: require_utils.cn("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted", className),
1348
- ...props
1349
- });
1350
- }
1351
- function TableHead({ className, ...props }) {
1352
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
1353
- "data-slot": "table-head",
1354
- className: require_utils.cn("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className),
1355
- ...props
1356
- });
1357
- }
1358
- function TableCell({ className, ...props }) {
1359
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
1360
- "data-slot": "table-cell",
1361
- className: require_utils.cn("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className),
1362
- ...props
1363
- });
1364
- }
1365
- function TableCaption({ className, ...props }) {
1366
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("caption", {
1367
- "data-slot": "table-caption",
1368
- className: require_utils.cn("mt-4 text-sm text-muted-foreground", className),
1369
- ...props
1370
- });
1371
- }
1372
- //#endregion
1373
- //#region src/primitives/Text/Text.tsx
1374
- const textVariants = (0, class_variance_authority.cva)("", {
1375
- variants: {
1376
- size: {
1377
- large: "text-[length:var(--paragraph-large-font-size)] leading-[var(--paragraph-large-line-height)]",
1378
- regular: "text-[length:var(--paragraph-regular-font-size)] leading-[var(--paragraph-regular-line-height)]",
1379
- small: "text-[length:var(--paragraph-small-font-size)] leading-[var(--paragraph-small-line-height)]",
1380
- mini: "text-[length:var(--paragraph-mini-font-size)] leading-[var(--paragraph-mini-line-height)]",
1381
- caption: "text-[length:var(--caption-font-size)] leading-[var(--caption-line-height)] tracking-[var(--caption-letter-spacing)] uppercase"
1382
- },
1383
- weight: {
1384
- normal: "font-normal",
1385
- medium: "font-medium",
1386
- semibold: "font-semibold"
1387
- },
1388
- variant: {
1389
- default: "text-foreground",
1390
- muted: "text-muted-foreground",
1391
- primary: "text-primary",
1392
- destructive: "text-destructive",
1393
- success: "text-[var(--content-success)]"
1394
- },
1395
- font: {
1396
- body: "font-sans",
1397
- heading: "font-heading",
1398
- mono: "font-mono"
1399
- },
1400
- align: {
1401
- left: "text-left",
1402
- center: "text-center",
1403
- right: "text-right"
1404
- },
1405
- truncate: { true: "truncate" }
1406
- },
1407
- defaultVariants: {
1408
- size: "regular",
1409
- weight: "normal",
1410
- variant: "default",
1411
- font: "body"
1412
- }
1413
- });
1414
- function Text({ as, className, size, weight, variant, font, align, truncate, ...props }) {
1415
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(as ?? "p", {
1416
- "data-slot": "text",
1417
- className: require_utils.cn(textVariants({
1418
- size,
1419
- weight,
1420
- variant,
1421
- font,
1422
- align,
1423
- truncate
1424
- }), className),
1425
- ...props
1426
- });
1427
- }
1428
- //#endregion
1429
- //#region src/primitives/ThemeProvider/ThemeProvider.tsx
1430
- const PRODUCTS = [
1431
- "slingshot",
1432
- "sustain",
1433
- "bodhi",
1434
- "psai"
1435
- ];
1436
- const ThemeContext = react.createContext(null);
1437
- const DEFAULT_STORAGE_KEY = "ds-theme-preferences";
1438
- function readStored(storageKey) {
1439
- try {
1440
- const raw = localStorage.getItem(storageKey);
1441
- if (!raw) return {};
1442
- const parsed = JSON.parse(raw);
1443
- return {
1444
- theme: parsed.theme === "dark" || parsed.theme === "light" ? parsed.theme : void 0,
1445
- product: PRODUCTS.includes(parsed.product) ? parsed.product : void 0
1446
- };
1447
- } catch {
1448
- return {};
1449
- }
1450
- }
1451
- function prefersDark() {
1452
- try {
1453
- return window.matchMedia("(prefers-color-scheme: dark)").matches;
1454
- } catch {
1455
- return false;
1456
- }
1457
- }
1458
- function applyToDocument({ theme, product }) {
1459
- const root = document.documentElement;
1460
- root.classList.toggle("dark", theme === "dark");
1461
- for (const p of PRODUCTS) root.classList.toggle(`theme-${p}`, p === product);
1462
- }
1463
- function ThemeProvider({ children, defaultTheme = "light", defaultProduct = "slingshot", storageKey = DEFAULT_STORAGE_KEY }) {
1464
- const [prefs, setPrefs] = react.useState(() => {
1465
- if (typeof window === "undefined") return {
1466
- theme: defaultTheme,
1467
- product: defaultProduct
1468
- };
1469
- const stored = readStored(storageKey);
1470
- return {
1471
- theme: stored.theme ?? (prefersDark() ? "dark" : defaultTheme),
1472
- product: stored.product ?? defaultProduct
1473
- };
1474
- });
1475
- react.useEffect(() => {
1476
- applyToDocument(prefs);
1477
- try {
1478
- localStorage.setItem(storageKey, JSON.stringify(prefs));
1479
- } catch {}
1480
- }, [prefs, storageKey]);
1481
- const value = react.useMemo(() => ({
1482
- ...prefs,
1483
- setTheme: (theme) => setPrefs((p) => ({
1484
- ...p,
1485
- theme
1486
- })),
1487
- toggleTheme: () => setPrefs((p) => ({
1488
- ...p,
1489
- theme: p.theme === "dark" ? "light" : "dark"
1490
- })),
1491
- setProduct: (product) => setPrefs((p) => ({
1492
- ...p,
1493
- product
1494
- }))
1495
- }), [prefs]);
1496
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ThemeContext.Provider, {
1497
- value,
1498
- children
1499
- });
1500
- }
1501
- function useTheme() {
1502
- const ctx = react.useContext(ThemeContext);
1503
- if (!ctx) throw new Error("useTheme must be used within a <ThemeProvider>.");
1504
- return ctx;
1505
- }
1506
- //#endregion
1507
- Object.defineProperty(exports, "Avatar", {
1508
- enumerable: true,
1509
- get: function() {
1510
- return Avatar;
1511
- }
1512
- });
1513
- Object.defineProperty(exports, "AvatarBadge", {
1514
- enumerable: true,
1515
- get: function() {
1516
- return AvatarBadge;
1517
- }
1518
- });
1519
- Object.defineProperty(exports, "AvatarFallback", {
1520
- enumerable: true,
1521
- get: function() {
1522
- return AvatarFallback;
1523
- }
1524
- });
1525
- Object.defineProperty(exports, "AvatarGroup", {
1526
- enumerable: true,
1527
- get: function() {
1528
- return AvatarGroup;
1529
- }
1530
- });
1531
- Object.defineProperty(exports, "AvatarGroupCount", {
1532
- enumerable: true,
1533
- get: function() {
1534
- return AvatarGroupCount;
1535
- }
1536
- });
1537
- Object.defineProperty(exports, "AvatarImage", {
1538
- enumerable: true,
1539
- get: function() {
1540
- return AvatarImage;
1541
- }
1542
- });
1543
- Object.defineProperty(exports, "Button", {
1544
- enumerable: true,
1545
- get: function() {
1546
- return Button;
1547
- }
1548
- });
1549
- Object.defineProperty(exports, "Card", {
1550
- enumerable: true,
1551
- get: function() {
1552
- return Card;
1553
- }
1554
- });
1555
- Object.defineProperty(exports, "CardAction", {
1556
- enumerable: true,
1557
- get: function() {
1558
- return CardAction;
1559
- }
1560
- });
1561
- Object.defineProperty(exports, "CardContent", {
1562
- enumerable: true,
1563
- get: function() {
1564
- return CardContent;
1565
- }
1566
- });
1567
- Object.defineProperty(exports, "CardDescription", {
1568
- enumerable: true,
1569
- get: function() {
1570
- return CardDescription;
1571
- }
1572
- });
1573
- Object.defineProperty(exports, "CardFooter", {
1574
- enumerable: true,
1575
- get: function() {
1576
- return CardFooter;
1577
- }
1578
- });
1579
- Object.defineProperty(exports, "CardHeader", {
1580
- enumerable: true,
1581
- get: function() {
1582
- return CardHeader;
1583
- }
1584
- });
1585
- Object.defineProperty(exports, "CardTitle", {
1586
- enumerable: true,
1587
- get: function() {
1588
- return CardTitle;
1589
- }
1590
- });
1591
- Object.defineProperty(exports, "Credits", {
1592
- enumerable: true,
1593
- get: function() {
1594
- return Credits;
1595
- }
1596
- });
1597
- Object.defineProperty(exports, "DropdownMenu", {
1598
- enumerable: true,
1599
- get: function() {
1600
- return DropdownMenu;
1601
- }
1602
- });
1603
- Object.defineProperty(exports, "DropdownMenuCheckboxItem", {
1604
- enumerable: true,
1605
- get: function() {
1606
- return DropdownMenuCheckboxItem;
1607
- }
1608
- });
1609
- Object.defineProperty(exports, "DropdownMenuContent", {
1610
- enumerable: true,
1611
- get: function() {
1612
- return DropdownMenuContent;
1613
- }
1614
- });
1615
- Object.defineProperty(exports, "DropdownMenuGroup", {
1616
- enumerable: true,
1617
- get: function() {
1618
- return DropdownMenuGroup;
1619
- }
1620
- });
1621
- Object.defineProperty(exports, "DropdownMenuItem", {
1622
- enumerable: true,
1623
- get: function() {
1624
- return DropdownMenuItem;
1625
- }
1626
- });
1627
- Object.defineProperty(exports, "DropdownMenuLabel", {
1628
- enumerable: true,
1629
- get: function() {
1630
- return DropdownMenuLabel;
1631
- }
1632
- });
1633
- Object.defineProperty(exports, "DropdownMenuPortal", {
1634
- enumerable: true,
1635
- get: function() {
1636
- return DropdownMenuPortal;
1637
- }
1638
- });
1639
- Object.defineProperty(exports, "DropdownMenuRadioGroup", {
1640
- enumerable: true,
1641
- get: function() {
1642
- return DropdownMenuRadioGroup;
1643
- }
1644
- });
1645
- Object.defineProperty(exports, "DropdownMenuRadioItem", {
1646
- enumerable: true,
1647
- get: function() {
1648
- return DropdownMenuRadioItem;
1649
- }
1650
- });
1651
- Object.defineProperty(exports, "DropdownMenuSeparator", {
1652
- enumerable: true,
1653
- get: function() {
1654
- return DropdownMenuSeparator;
1655
- }
1656
- });
1657
- Object.defineProperty(exports, "DropdownMenuShortcut", {
1658
- enumerable: true,
1659
- get: function() {
1660
- return DropdownMenuShortcut;
1661
- }
1662
- });
1663
- Object.defineProperty(exports, "DropdownMenuSub", {
1664
- enumerable: true,
1665
- get: function() {
1666
- return DropdownMenuSub;
1667
- }
1668
- });
1669
- Object.defineProperty(exports, "DropdownMenuSubContent", {
1670
- enumerable: true,
1671
- get: function() {
1672
- return DropdownMenuSubContent;
1673
- }
1674
- });
1675
- Object.defineProperty(exports, "DropdownMenuSubTrigger", {
1676
- enumerable: true,
1677
- get: function() {
1678
- return DropdownMenuSubTrigger;
1679
- }
1680
- });
1681
- Object.defineProperty(exports, "DropdownMenuTrigger", {
1682
- enumerable: true,
1683
- get: function() {
1684
- return DropdownMenuTrigger;
1685
- }
1686
- });
1687
- Object.defineProperty(exports, "Heading", {
1688
- enumerable: true,
1689
- get: function() {
1690
- return Heading;
1691
- }
1692
- });
1693
- Object.defineProperty(exports, "Input", {
1694
- enumerable: true,
1695
- get: function() {
1696
- return Input;
1697
- }
1698
- });
1699
832
  Object.defineProperty(exports, "Logo", {
1700
833
  enumerable: true,
1701
834
  get: function() {
1702
835
  return Logo;
1703
836
  }
1704
837
  });
1705
- Object.defineProperty(exports, "Popover", {
1706
- enumerable: true,
1707
- get: function() {
1708
- return Popover;
1709
- }
1710
- });
1711
- Object.defineProperty(exports, "PopoverAnchor", {
1712
- enumerable: true,
1713
- get: function() {
1714
- return PopoverAnchor;
1715
- }
1716
- });
1717
- Object.defineProperty(exports, "PopoverContent", {
1718
- enumerable: true,
1719
- get: function() {
1720
- return PopoverContent;
1721
- }
1722
- });
1723
- Object.defineProperty(exports, "PopoverDescription", {
1724
- enumerable: true,
1725
- get: function() {
1726
- return PopoverDescription;
1727
- }
1728
- });
1729
- Object.defineProperty(exports, "PopoverHeader", {
1730
- enumerable: true,
1731
- get: function() {
1732
- return PopoverHeader;
1733
- }
1734
- });
1735
- Object.defineProperty(exports, "PopoverTitle", {
1736
- enumerable: true,
1737
- get: function() {
1738
- return PopoverTitle;
1739
- }
1740
- });
1741
- Object.defineProperty(exports, "PopoverTrigger", {
1742
- enumerable: true,
1743
- get: function() {
1744
- return PopoverTrigger;
1745
- }
1746
- });
1747
- Object.defineProperty(exports, "Skeleton", {
1748
- enumerable: true,
1749
- get: function() {
1750
- return Skeleton;
1751
- }
1752
- });
1753
- Object.defineProperty(exports, "SkeletonAvatar", {
1754
- enumerable: true,
1755
- get: function() {
1756
- return SkeletonAvatar;
1757
- }
1758
- });
1759
- Object.defineProperty(exports, "SkeletonLine", {
1760
- enumerable: true,
1761
- get: function() {
1762
- return SkeletonLine;
1763
- }
1764
- });
1765
- Object.defineProperty(exports, "SkeletonObject", {
1766
- enumerable: true,
1767
- get: function() {
1768
- return SkeletonObject;
1769
- }
1770
- });
1771
- Object.defineProperty(exports, "Spinner", {
1772
- enumerable: true,
1773
- get: function() {
1774
- return Spinner;
1775
- }
1776
- });
1777
- Object.defineProperty(exports, "Table", {
1778
- enumerable: true,
1779
- get: function() {
1780
- return Table;
1781
- }
1782
- });
1783
- Object.defineProperty(exports, "TableBody", {
1784
- enumerable: true,
1785
- get: function() {
1786
- return TableBody;
1787
- }
1788
- });
1789
- Object.defineProperty(exports, "TableCaption", {
1790
- enumerable: true,
1791
- get: function() {
1792
- return TableCaption;
1793
- }
1794
- });
1795
- Object.defineProperty(exports, "TableCell", {
1796
- enumerable: true,
1797
- get: function() {
1798
- return TableCell;
1799
- }
1800
- });
1801
- Object.defineProperty(exports, "TableFooter", {
1802
- enumerable: true,
1803
- get: function() {
1804
- return TableFooter;
1805
- }
1806
- });
1807
- Object.defineProperty(exports, "TableHead", {
1808
- enumerable: true,
1809
- get: function() {
1810
- return TableHead;
1811
- }
1812
- });
1813
- Object.defineProperty(exports, "TableHeader", {
1814
- enumerable: true,
1815
- get: function() {
1816
- return TableHeader;
1817
- }
1818
- });
1819
- Object.defineProperty(exports, "TableRow", {
1820
- enumerable: true,
1821
- get: function() {
1822
- return TableRow;
1823
- }
1824
- });
1825
- Object.defineProperty(exports, "Text", {
1826
- enumerable: true,
1827
- get: function() {
1828
- return Text;
1829
- }
1830
- });
1831
- Object.defineProperty(exports, "ThemeContext", {
1832
- enumerable: true,
1833
- get: function() {
1834
- return ThemeContext;
1835
- }
1836
- });
1837
- Object.defineProperty(exports, "ThemeProvider", {
1838
- enumerable: true,
1839
- get: function() {
1840
- return ThemeProvider;
1841
- }
1842
- });
1843
- Object.defineProperty(exports, "buttonVariants", {
1844
- enumerable: true,
1845
- get: function() {
1846
- return buttonVariants;
1847
- }
1848
- });
1849
- Object.defineProperty(exports, "cardVariants", {
1850
- enumerable: true,
1851
- get: function() {
1852
- return cardVariants;
1853
- }
1854
- });
1855
- Object.defineProperty(exports, "creditsVariants", {
1856
- enumerable: true,
1857
- get: function() {
1858
- return creditsVariants;
1859
- }
1860
- });
1861
- Object.defineProperty(exports, "headingVariants", {
1862
- enumerable: true,
1863
- get: function() {
1864
- return headingVariants;
1865
- }
1866
- });
1867
- Object.defineProperty(exports, "inputVariants", {
1868
- enumerable: true,
1869
- get: function() {
1870
- return inputVariants;
1871
- }
1872
- });
1873
- Object.defineProperty(exports, "textVariants", {
1874
- enumerable: true,
1875
- get: function() {
1876
- return textVariants;
1877
- }
1878
- });
1879
- Object.defineProperty(exports, "useTheme", {
1880
- enumerable: true,
1881
- get: function() {
1882
- return useTheme;
1883
- }
1884
- });
1885
838
 
1886
- //# sourceMappingURL=ThemeProvider.cjs.map
839
+ //# sourceMappingURL=Logo.cjs.map