@saas-ui/react 3.0.0-alpha.0 → 3.0.0-alpha.10

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 (397) hide show
  1. package/CHANGELOG.md +85 -0
  2. package/dist/chunk-2EUACKRH.js +26 -0
  3. package/dist/chunk-32JGENDB.js +19 -0
  4. package/dist/chunk-3MO37LYW.js +326 -0
  5. package/dist/chunk-4TR3AOMG.js +33 -0
  6. package/dist/chunk-6LOMIKR5.js +69 -0
  7. package/dist/chunk-6ZNR6N2K.js +45 -0
  8. package/dist/chunk-7VSTNV2B.js +53 -0
  9. package/dist/chunk-BCNPBZZK.js +45 -0
  10. package/dist/chunk-CB52LBJK.js +71 -0
  11. package/dist/chunk-CD2JUFI2.js +231 -0
  12. package/dist/chunk-FJFNGSPL.js +23 -0
  13. package/dist/chunk-FZW2DYK3.js +19 -0
  14. package/dist/chunk-GGAKUS66.js +141 -0
  15. package/dist/chunk-H6TFEHY4.js +63 -0
  16. package/dist/chunk-HELHPHIQ.js +35 -0
  17. package/dist/chunk-I2RXEKTB.js +38 -0
  18. package/dist/chunk-JGHXJ3PI.js +102 -0
  19. package/dist/chunk-KTLWEUNW.js +1 -0
  20. package/dist/chunk-L356FPLY.js +20 -0
  21. package/dist/chunk-LIYUBUOP.js +119 -0
  22. package/dist/chunk-M7FOBCOV.js +184 -0
  23. package/dist/chunk-NSD5HRIP.js +46 -0
  24. package/dist/chunk-O2WVT2BP.js +35 -0
  25. package/dist/chunk-PKI6YH2V.js +31 -0
  26. package/dist/chunk-Q6SNJJO2.js +63 -0
  27. package/dist/chunk-QSNSWCTM.js +32 -0
  28. package/dist/chunk-RTMS5TJN.js +10 -0
  29. package/dist/chunk-S3CQW7GD.js +100 -0
  30. package/dist/chunk-SA3OGTOO.js +23 -0
  31. package/dist/chunk-SKXSBAOS.js +35 -0
  32. package/dist/chunk-TT4C5VXB.js +36 -0
  33. package/dist/chunk-TZBAM4AD.js +20 -0
  34. package/dist/chunk-UCQ3LZIE.js +43 -0
  35. package/dist/chunk-ULAJ3JEO.js +32 -0
  36. package/dist/chunk-VDXTEASE.js +117 -0
  37. package/dist/chunk-WYLMBMAH.js +22 -0
  38. package/dist/components/app-shell/index.cjs +68 -0
  39. package/dist/components/app-shell/index.d.cts +30 -0
  40. package/dist/components/app-shell/index.d.ts +30 -0
  41. package/dist/components/app-shell/index.js +8 -0
  42. package/dist/components/avatar/index.cjs +69 -0
  43. package/dist/components/avatar/index.d.cts +18 -0
  44. package/dist/components/avatar/index.d.ts +18 -0
  45. package/dist/components/avatar/index.js +10 -0
  46. package/dist/components/breadcrumb/index.cjs +58 -0
  47. package/dist/components/breadcrumb/index.d.cts +17 -0
  48. package/dist/components/breadcrumb/index.d.ts +17 -0
  49. package/dist/components/breadcrumb/index.js +8 -0
  50. package/dist/components/button/index.cjs +65 -0
  51. package/dist/components/button/index.d.cts +12 -0
  52. package/dist/components/button/index.d.ts +12 -0
  53. package/dist/components/button/index.js +8 -0
  54. package/dist/components/checkbox/index.cjs +45 -0
  55. package/dist/components/checkbox/index.d.cts +11 -0
  56. package/dist/components/checkbox/index.d.ts +11 -0
  57. package/dist/components/checkbox/index.js +8 -0
  58. package/dist/components/close-button/index.cjs +142 -0
  59. package/dist/components/close-button/index.d.cts +8 -0
  60. package/dist/components/close-button/index.d.ts +8 -0
  61. package/dist/components/close-button/index.js +9 -0
  62. package/dist/components/command/index.cjs +56 -0
  63. package/dist/components/command/index.d.cts +6 -0
  64. package/dist/components/command/index.d.ts +6 -0
  65. package/dist/components/command/index.js +8 -0
  66. package/dist/components/dialog/index.cjs +204 -0
  67. package/dist/components/dialog/index.d.cts +27 -0
  68. package/dist/components/dialog/index.d.ts +27 -0
  69. package/dist/components/dialog/index.js +10 -0
  70. package/dist/components/drawer/index.cjs +196 -0
  71. package/dist/components/drawer/index.d.cts +28 -0
  72. package/dist/components/drawer/index.d.ts +28 -0
  73. package/dist/components/drawer/index.js +10 -0
  74. package/dist/components/empty-state/index.cjs +48 -0
  75. package/dist/components/empty-state/index.d.cts +11 -0
  76. package/dist/components/empty-state/index.d.ts +11 -0
  77. package/dist/components/empty-state/index.js +8 -0
  78. package/dist/components/grid-list/index.cjs +68 -0
  79. package/dist/components/grid-list/index.d.cts +22 -0
  80. package/dist/components/grid-list/index.d.ts +22 -0
  81. package/dist/components/grid-list/index.js +8 -0
  82. package/dist/components/icon-badge/index.cjs +70 -0
  83. package/dist/components/icon-badge/index.d.cts +16 -0
  84. package/dist/components/icon-badge/index.d.ts +16 -0
  85. package/dist/components/icon-badge/index.js +8 -0
  86. package/dist/components/icons/index.cjs +155 -0
  87. package/dist/components/icons/index.d.cts +19 -0
  88. package/dist/components/icons/index.d.ts +19 -0
  89. package/dist/components/icons/index.js +35 -0
  90. package/dist/components/input-group/index.cjs +56 -0
  91. package/dist/components/input-group/index.d.cts +13 -0
  92. package/dist/components/input-group/index.d.ts +13 -0
  93. package/dist/components/input-group/index.js +8 -0
  94. package/dist/components/link/index.cjs +71 -0
  95. package/dist/components/link/index.d.cts +13 -0
  96. package/dist/components/link/index.d.ts +13 -0
  97. package/dist/components/link/index.js +9 -0
  98. package/dist/components/loading-overlay/index.cjs +84 -0
  99. package/dist/components/loading-overlay/index.d.cts +26 -0
  100. package/dist/components/loading-overlay/index.d.ts +26 -0
  101. package/dist/components/loading-overlay/index.js +11 -0
  102. package/dist/components/menu/index.cjs +249 -0
  103. package/dist/components/menu/index.d.cts +39 -0
  104. package/dist/components/menu/index.d.ts +39 -0
  105. package/dist/components/menu/index.js +11 -0
  106. package/dist/components/navbar/index.cjs +111 -0
  107. package/dist/components/navbar/index.d.cts +21 -0
  108. package/dist/components/navbar/index.d.ts +21 -0
  109. package/dist/components/navbar/index.js +9 -0
  110. package/dist/components/number-input/index.cjs +82 -0
  111. package/dist/components/number-input/index.d.cts +13 -0
  112. package/dist/components/number-input/index.d.ts +13 -0
  113. package/dist/components/number-input/index.js +9 -0
  114. package/dist/components/password-input/index.cjs +284 -0
  115. package/dist/components/password-input/index.d.cts +18 -0
  116. package/dist/components/password-input/index.d.ts +18 -0
  117. package/dist/components/password-input/index.js +9 -0
  118. package/dist/components/persona/index.cjs +218 -0
  119. package/dist/components/persona/index.d.cts +113 -0
  120. package/dist/components/persona/index.d.ts +113 -0
  121. package/dist/components/persona/index.js +12 -0
  122. package/dist/components/pin-input/index.cjs +51 -0
  123. package/dist/components/pin-input/index.d.cts +12 -0
  124. package/dist/components/pin-input/index.d.ts +12 -0
  125. package/dist/components/pin-input/index.js +8 -0
  126. package/dist/components/radio/index.cjs +48 -0
  127. package/dist/components/radio/index.d.cts +12 -0
  128. package/dist/components/radio/index.d.ts +12 -0
  129. package/dist/components/radio/index.js +10 -0
  130. package/dist/components/search-input/index.cjs +244 -0
  131. package/dist/components/search-input/index.d.cts +15 -0
  132. package/dist/components/search-input/index.d.ts +15 -0
  133. package/dist/components/search-input/index.js +10 -0
  134. package/dist/components/segmented-control/index.cjs +60 -0
  135. package/dist/components/segmented-control/index.d.cts +14 -0
  136. package/dist/components/segmented-control/index.d.ts +14 -0
  137. package/dist/components/segmented-control/index.js +8 -0
  138. package/dist/components/select/index.cjs +233 -0
  139. package/dist/components/select/index.d.cts +32 -0
  140. package/dist/components/select/index.d.ts +32 -0
  141. package/dist/components/select/index.js +10 -0
  142. package/dist/components/sidebar/index.cjs +166 -0
  143. package/dist/components/sidebar/index.d.cts +86 -0
  144. package/dist/components/sidebar/index.d.ts +86 -0
  145. package/dist/components/sidebar/index.js +14 -0
  146. package/dist/components/spinner/index.cjs +44 -0
  147. package/dist/components/spinner/index.d.cts +10 -0
  148. package/dist/components/spinner/index.d.ts +10 -0
  149. package/dist/components/spinner/index.js +8 -0
  150. package/dist/components/steps/index.cjs +189 -0
  151. package/dist/components/steps/index.d.cts +31 -0
  152. package/dist/components/steps/index.d.ts +31 -0
  153. package/dist/components/steps/index.js +10 -0
  154. package/dist/components/switch/index.cjs +48 -0
  155. package/dist/components/switch/index.d.cts +18 -0
  156. package/dist/components/switch/index.d.ts +18 -0
  157. package/dist/components/switch/index.js +8 -0
  158. package/dist/components/toaster/index.cjs +54 -0
  159. package/dist/components/toaster/index.d.cts +10 -0
  160. package/dist/components/toaster/index.d.ts +10 -0
  161. package/dist/components/toaster/index.js +10 -0
  162. package/dist/components/tooltip/index.cjs +57 -0
  163. package/dist/components/tooltip/index.d.cts +14 -0
  164. package/dist/components/tooltip/index.d.ts +14 -0
  165. package/dist/components/tooltip/index.js +8 -0
  166. package/dist/index.cjs +2358 -222
  167. package/dist/index.d.cts +46 -10
  168. package/dist/index.d.ts +46 -10
  169. package/dist/index.js +523 -305
  170. package/dist/theme/tokens/colors.cjs +349 -0
  171. package/dist/theme/tokens/colors.d.cts +856 -0
  172. package/dist/theme/tokens/colors.d.ts +856 -0
  173. package/dist/theme/tokens/colors.js +8 -0
  174. package/package.json +15 -9
  175. package/dist/index.cjs.map +0 -1
  176. package/dist/index.js.map +0 -1
  177. package/src/components/accordion.tsx +0 -47
  178. package/src/components/action-bar.tsx +0 -40
  179. package/src/components/alert.tsx +0 -51
  180. package/src/components/app-shell/app-shell.recipe.ts +0 -52
  181. package/src/components/app-shell/app-shell.stories.tsx +0 -51
  182. package/src/components/app-shell/app-shell.tsx +0 -94
  183. package/src/components/app-shell/index.ts +0 -3
  184. package/src/components/avatar.tsx +0 -74
  185. package/src/components/blockquote.tsx +0 -31
  186. package/src/components/breadcrumbs/breadcrumb.stories.tsx +0 -17
  187. package/src/components/breadcrumbs/breadcrumb.tsx +0 -36
  188. package/src/components/breadcrumbs/index.ts +0 -1
  189. package/src/components/breadcrumbs/namespace.ts +0 -8
  190. package/src/components/button/button.recipe.ts +0 -182
  191. package/src/components/button/button.stories.tsx +0 -99
  192. package/src/components/button/button.tsx +0 -55
  193. package/src/components/button/index.ts +0 -2
  194. package/src/components/checkbox/checkbox.tsx +0 -26
  195. package/src/components/checkbox/index.ts +0 -2
  196. package/src/components/checkbox-card.tsx +0 -57
  197. package/src/components/checkbox.tsx +0 -25
  198. package/src/components/clipboard.tsx +0 -107
  199. package/src/components/close-button/close-button.stories.tsx +0 -12
  200. package/src/components/close-button/close-button.tsx +0 -18
  201. package/src/components/close-button/index.ts +0 -2
  202. package/src/components/color-mode.tsx +0 -65
  203. package/src/components/command/command.recipe.ts +0 -17
  204. package/src/components/command/command.stories.tsx +0 -47
  205. package/src/components/command/command.tsx +0 -50
  206. package/src/components/command/index.ts +0 -1
  207. package/src/components/data-list.tsx +0 -37
  208. package/src/components/dialog/dialog.tsx +0 -66
  209. package/src/components/dialog/index.ts +0 -1
  210. package/src/components/dialog/namespace.ts +0 -18
  211. package/src/components/drawer/drawer.tsx +0 -56
  212. package/src/components/drawer/index.ts +0 -3
  213. package/src/components/drawer/namespace.ts +0 -19
  214. package/src/components/empty-state.tsx +0 -34
  215. package/src/components/field.tsx +0 -33
  216. package/src/components/file-button.tsx +0 -166
  217. package/src/components/grid-list/grid-list.recipe.ts +0 -113
  218. package/src/components/hover-card.tsx +0 -35
  219. package/src/components/icon-badge/icon-badge.recipe.ts +0 -57
  220. package/src/components/icon-badge/icon-badge.stories.tsx +0 -38
  221. package/src/components/icon-badge/icon-badge.tsx +0 -59
  222. package/src/components/icon-badge/index.ts +0 -2
  223. package/src/components/icons/create-icon.tsx +0 -41
  224. package/src/components/icons/icons.tsx +0 -121
  225. package/src/components/icons/index.ts +0 -1
  226. package/src/components/input-group/index.ts +0 -1
  227. package/src/components/input-group/input-group.tsx +0 -46
  228. package/src/components/link/index.ts +0 -2
  229. package/src/components/link/link.stories.tsx +0 -17
  230. package/src/components/link/link.test.tsx +0 -33
  231. package/src/components/link/link.tsx +0 -27
  232. package/src/components/link-button.tsx +0 -12
  233. package/src/components/loading-overlay/index.ts +0 -1
  234. package/src/components/loading-overlay/loading-overlay.recipe.ts +0 -61
  235. package/src/components/loading-overlay/loading-overlay.stories.tsx +0 -68
  236. package/src/components/loading-overlay/loading-overlay.tsx +0 -54
  237. package/src/components/loading-overlay/namespace.ts +0 -7
  238. package/src/components/menu.tsx +0 -108
  239. package/src/components/native-select.tsx +0 -57
  240. package/src/components/navbar/index.ts +0 -1
  241. package/src/components/navbar/namespace.ts +0 -9
  242. package/src/components/navbar/navbar.recipe.ts +0 -109
  243. package/src/components/navbar/navbar.stories.tsx +0 -435
  244. package/src/components/navbar/navbar.test.tsx +0 -49
  245. package/src/components/navbar/navbar.tsx +0 -39
  246. package/src/components/number-input/index.ts +0 -2
  247. package/src/components/number-input/number-input.tsx +0 -41
  248. package/src/components/pagination.tsx +0 -207
  249. package/src/components/password-input/index.ts +0 -2
  250. package/src/components/password-input/password-input.tsx +0 -98
  251. package/src/components/persona/index.ts +0 -2
  252. package/src/components/persona/namespace.ts +0 -18
  253. package/src/components/persona/persona-primitive.tsx +0 -220
  254. package/src/components/persona/persona.recipe.ts +0 -94
  255. package/src/components/persona/persona.stories.tsx +0 -101
  256. package/src/components/persona/persona.tsx +0 -143
  257. package/src/components/pin-input/index.ts +0 -2
  258. package/src/components/pin-input/pin-input.tsx +0 -36
  259. package/src/components/popover.tsx +0 -58
  260. package/src/components/progress-circle.tsx +0 -37
  261. package/src/components/progress.tsx +0 -40
  262. package/src/components/prose.tsx +0 -264
  263. package/src/components/provider.tsx +0 -12
  264. package/src/components/radio/index.ts +0 -2
  265. package/src/components/radio/radio.tsx +0 -27
  266. package/src/components/radio-card.tsx +0 -57
  267. package/src/components/radio.tsx +0 -24
  268. package/src/components/rating.tsx +0 -27
  269. package/src/components/search-input/index.ts +0 -2
  270. package/src/components/search-input/search-input.stories.tsx +0 -63
  271. package/src/components/search-input/search-input.tsx +0 -134
  272. package/src/components/segmented-control.tsx +0 -47
  273. package/src/components/select/index.ts +0 -1
  274. package/src/components/select/namespace.ts +0 -18
  275. package/src/components/select/select.tsx +0 -135
  276. package/src/components/sidebar/index.ts +0 -7
  277. package/src/components/sidebar/namespace.ts +0 -27
  278. package/src/components/sidebar/sidebar-item.recipe.ts +0 -65
  279. package/src/components/sidebar/sidebar.recipe.ts +0 -237
  280. package/src/components/sidebar/sidebar.stories.tsx +0 -903
  281. package/src/components/sidebar/sidebar.tsx +0 -204
  282. package/src/components/skeleton.tsx +0 -44
  283. package/src/components/slider.tsx +0 -53
  284. package/src/components/spinner/index.ts +0 -2
  285. package/src/components/spinner/spinner.stories.tsx +0 -19
  286. package/src/components/spinner/spinner.tsx +0 -21
  287. package/src/components/stat.tsx +0 -75
  288. package/src/components/status.tsx +0 -29
  289. package/src/components/stepper-input.tsx +0 -49
  290. package/src/components/steps/index.ts +0 -1
  291. package/src/components/steps/namespace.ts +0 -16
  292. package/src/components/steps/steps.tsx +0 -82
  293. package/src/components/switch/index.ts +0 -3
  294. package/src/components/switch/switch.tsx +0 -39
  295. package/src/components/tag.tsx +0 -39
  296. package/src/components/timeline.tsx +0 -17
  297. package/src/components/toaster.tsx +0 -43
  298. package/src/components/toggle-tip.tsx +0 -62
  299. package/src/components/tooltip.tsx +0 -46
  300. package/src/index.ts +0 -7
  301. package/src/preset.ts +0 -9
  302. package/src/provider/index.ts +0 -4
  303. package/src/provider/sui-provider.tsx +0 -34
  304. package/src/provider/use-link.test.tsx +0 -60
  305. package/src/provider/use-link.tsx +0 -13
  306. package/src/theme/animation-styles.ts +0 -53
  307. package/src/theme/breakpoints.ts +0 -11
  308. package/src/theme/conditions.ts +0 -26
  309. package/src/theme/fluid-font-sizes.ts +0 -65
  310. package/src/theme/global-css.ts +0 -94
  311. package/src/theme/index.ts +0 -72
  312. package/src/theme/layer-styles.ts +0 -116
  313. package/src/theme/recipes/chakra/accordion.ts +0 -145
  314. package/src/theme/recipes/chakra/action-bar.ts +0 -62
  315. package/src/theme/recipes/chakra/alert.ts +0 -157
  316. package/src/theme/recipes/chakra/avatar.ts +0 -141
  317. package/src/theme/recipes/chakra/badge.ts +0 -67
  318. package/src/theme/recipes/chakra/blockquote.ts +0 -83
  319. package/src/theme/recipes/chakra/breadcrumb.ts +0 -94
  320. package/src/theme/recipes/chakra/card.ts +0 -99
  321. package/src/theme/recipes/chakra/checkbox-card.ts +0 -212
  322. package/src/theme/recipes/chakra/checkbox.ts +0 -70
  323. package/src/theme/recipes/chakra/checkmark.ts +0 -83
  324. package/src/theme/recipes/chakra/code.ts +0 -17
  325. package/src/theme/recipes/chakra/collapsible.ts +0 -20
  326. package/src/theme/recipes/chakra/container.ts +0 -26
  327. package/src/theme/recipes/chakra/data-list.ts +0 -80
  328. package/src/theme/recipes/chakra/dialog.ts +0 -225
  329. package/src/theme/recipes/chakra/drawer.ts +0 -201
  330. package/src/theme/recipes/chakra/editable.ts +0 -88
  331. package/src/theme/recipes/chakra/empty-state.ts +0 -88
  332. package/src/theme/recipes/chakra/field.ts +0 -68
  333. package/src/theme/recipes/chakra/fieldset.ts +0 -62
  334. package/src/theme/recipes/chakra/file-upload.ts +0 -96
  335. package/src/theme/recipes/chakra/heading.ts +0 -27
  336. package/src/theme/recipes/chakra/hover-card.ts +0 -68
  337. package/src/theme/recipes/chakra/icon.ts +0 -30
  338. package/src/theme/recipes/chakra/input-addon.ts +0 -40
  339. package/src/theme/recipes/chakra/input.ts +0 -96
  340. package/src/theme/recipes/chakra/kbd.ts +0 -60
  341. package/src/theme/recipes/chakra/link.ts +0 -37
  342. package/src/theme/recipes/chakra/list.ts +0 -67
  343. package/src/theme/recipes/chakra/mark.ts +0 -27
  344. package/src/theme/recipes/chakra/menu.ts +0 -124
  345. package/src/theme/recipes/chakra/native-select.ts +0 -140
  346. package/src/theme/recipes/chakra/number-input.ts +0 -115
  347. package/src/theme/recipes/chakra/pin-input.ts +0 -27
  348. package/src/theme/recipes/chakra/popover.ts +0 -86
  349. package/src/theme/recipes/chakra/progress-circle.ts +0 -94
  350. package/src/theme/recipes/chakra/progress.ts +0 -127
  351. package/src/theme/recipes/chakra/radio-card.ts +0 -220
  352. package/src/theme/recipes/chakra/radio-group.ts +0 -72
  353. package/src/theme/recipes/chakra/radiomark.ts +0 -107
  354. package/src/theme/recipes/chakra/rating-group.ts +0 -94
  355. package/src/theme/recipes/chakra/segment-group.ts +0 -117
  356. package/src/theme/recipes/chakra/select.ts +0 -282
  357. package/src/theme/recipes/chakra/separator.ts +0 -51
  358. package/src/theme/recipes/chakra/skeleton.ts +0 -53
  359. package/src/theme/recipes/chakra/skip-nav-link.ts +0 -34
  360. package/src/theme/recipes/chakra/slider.ts +0 -178
  361. package/src/theme/recipes/chakra/spinner.ts +0 -32
  362. package/src/theme/recipes/chakra/stat.ts +0 -79
  363. package/src/theme/recipes/chakra/status.ts +0 -48
  364. package/src/theme/recipes/chakra/steps.ts +0 -218
  365. package/src/theme/recipes/chakra/switch.ts +0 -167
  366. package/src/theme/recipes/chakra/table.ts +0 -172
  367. package/src/theme/recipes/chakra/tabs.ts +0 -280
  368. package/src/theme/recipes/chakra/tag.ts +0 -131
  369. package/src/theme/recipes/chakra/textarea.ts +0 -88
  370. package/src/theme/recipes/chakra/timeline.ts +0 -138
  371. package/src/theme/recipes/chakra/toast.ts +0 -96
  372. package/src/theme/recipes/chakra/tooltip.ts +0 -40
  373. package/src/theme/recipes.ts +0 -46
  374. package/src/theme/semantic-tokens/colors.ts +0 -403
  375. package/src/theme/semantic-tokens/radii.ts +0 -7
  376. package/src/theme/semantic-tokens/shadows.ts +0 -52
  377. package/src/theme/slot-recipes.ts +0 -104
  378. package/src/theme/text-styles.ts +0 -39
  379. package/src/theme/tokens/animations.ts +0 -8
  380. package/src/theme/tokens/aspect-ratios.ts +0 -10
  381. package/src/theme/tokens/blurs.ts +0 -12
  382. package/src/theme/tokens/borders.ts +0 -9
  383. package/src/theme/tokens/colors.ts +0 -177
  384. package/src/theme/tokens/cursor.ts +0 -12
  385. package/src/theme/tokens/durations.ts +0 -11
  386. package/src/theme/tokens/easings.ts +0 -10
  387. package/src/theme/tokens/font-sizes.ts +0 -20
  388. package/src/theme/tokens/font-weights.ts +0 -13
  389. package/src/theme/tokens/fonts.ts +0 -15
  390. package/src/theme/tokens/keyframes.ts +0 -173
  391. package/src/theme/tokens/letter-spacing.ts +0 -9
  392. package/src/theme/tokens/line-heights.ts +0 -19
  393. package/src/theme/tokens/radius.ts +0 -18
  394. package/src/theme/tokens/sizes.ts +0 -71
  395. package/src/theme/tokens/spacing.ts +0 -38
  396. package/src/theme/tokens/z-indices.ts +0 -34
  397. package/src/theme/utils.ts +0 -46
package/dist/index.cjs CHANGED
@@ -17,7 +17,6 @@ var __copyProps = (to, from, except, desc) => {
17
17
  }
18
18
  return to;
19
19
  };
20
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
21
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
21
  // If the importer is in node compatibility mode or this is not an ESM
23
22
  // file that has been converted to a CommonJS file using a Babel-
@@ -31,16 +30,55 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
31
30
  // src/index.ts
32
31
  var src_exports = {};
33
32
  __export(src_exports, {
33
+ AppShell: () => AppShell,
34
+ Avatar: () => Avatar,
35
+ AvatarGroup: () => AvatarGroup,
36
+ Breadcrumb: () => breadcrumb_exports,
37
+ Button: () => Button,
38
+ Checkbox: () => Checkbox,
39
+ CloseButton: () => CloseButton,
40
+ Command: () => Command,
41
+ Dialog: () => namespace_exports,
42
+ Drawer: () => namespace_exports2,
43
+ EmptyState: () => EmptyState,
44
+ GridList: () => grid_list_exports,
45
+ IconBadge: () => IconBadge,
46
+ InputGroup: () => InputGroup,
47
+ Link: () => Link,
48
+ LoadingOverlay: () => loading_overlay_exports,
49
+ Menu: () => menu_exports,
50
+ Navbar: () => navbar_exports,
51
+ NumberInput: () => NumberInput,
52
+ PasswordInput: () => PasswordInput,
53
+ Persona: () => Persona,
54
+ PersonaAvatar: () => PersonaAvatar2,
55
+ PinInput: () => PinInput,
56
+ Radio: () => Radio,
57
+ RadioGroup: () => RadioGroup,
58
+ SearchInput: () => SearchInput,
59
+ SegmentedControl: () => SegmentedControl,
60
+ Select: () => namespace_exports3,
61
+ Sidebar: () => sidebar_exports,
62
+ Spinner: () => Spinner2,
63
+ Steps: () => steps_exports,
34
64
  SuiContext: () => SuiContext,
35
65
  SuiProvider: () => SuiProvider,
36
- createSystem: () => import_react100.createSystem,
66
+ Switch: () => Switch,
67
+ Toaster: () => Toaster,
68
+ Tooltip: () => Tooltip,
69
+ createSystem: () => import_react162.createSystem,
37
70
  defaultConfig: () => defaultConfig,
71
+ defaultPresenceOptions: () => defaultPresenceOptions,
38
72
  defaultSystem: () => defaultSystem,
73
+ toast: () => toast,
39
74
  useLink: () => useLink,
75
+ useLoadingOverlayStyles: () => useLoadingOverlayStyles,
76
+ useSidebar: () => import_sidebar2.useSidebar,
77
+ useSidebarItemStyles: () => useSidebarItemStyles,
78
+ useSidebarStyles: () => useSidebarStyles,
40
79
  useSui: () => useSui
41
80
  });
42
81
  module.exports = __toCommonJS(src_exports);
43
- __reExport(src_exports, require("@saas-ui/core"), module.exports);
44
82
 
45
83
  // src/preset.ts
46
84
  var import_react97 = require("@chakra-ui/react");
@@ -341,6 +379,7 @@ var import_react5 = require("@chakra-ui/react");
341
379
  var buttonRecipe = (0, import_react5.defineRecipe)({
342
380
  className: "chakra-button",
343
381
  base: {
382
+ colorPalette: "gray",
344
383
  display: "inline-flex",
345
384
  appearance: "none",
346
385
  alignItems: "center",
@@ -437,6 +476,7 @@ var buttonRecipe = (0, import_react5.defineRecipe)({
437
476
  "--btn-shadow": "shadows.sm",
438
477
  boxShadow: "0 0 0 1px rgba(0,0,0,0.4) inset, 0px 2px 0px 0px rgba(255,255,255,0.2) inset, var(--btn-shadow)",
439
478
  textShadow: "0 1px 2px rgba(0,0,0,0.3)",
479
+ overflow: "clip",
440
480
  _after: {
441
481
  content: '""',
442
482
  position: "absolute",
@@ -860,11 +900,6 @@ var inputRecipe = (0, import_react14.defineRecipe)({
860
900
  },
861
901
  variants: {
862
902
  size: {
863
- "2xs": {
864
- textStyle: "xs",
865
- px: "2",
866
- "--input-height": "sizes.7"
867
- },
868
903
  xs: {
869
904
  textStyle: "xs",
870
905
  px: "2",
@@ -889,11 +924,6 @@ var inputRecipe = (0, import_react14.defineRecipe)({
889
924
  textStyle: "md",
890
925
  px: "4.5",
891
926
  "--input-height": "sizes.12"
892
- },
893
- "2xl": {
894
- textStyle: "lg",
895
- px: "5",
896
- "--input-height": "sizes.16"
897
927
  }
898
928
  },
899
929
  variant: {
@@ -1464,8 +1494,8 @@ var recipes = {
1464
1494
  checkmark: checkmarkRecipe,
1465
1495
  radiomark: radiomarkRecipe,
1466
1496
  // Saas UI
1467
- command: commandRecipe,
1468
- iconBadge: iconBadgeRecipe
1497
+ suiCommand: commandRecipe,
1498
+ suiIconBadge: iconBadgeRecipe
1469
1499
  };
1470
1500
 
1471
1501
  // src/theme/semantic-tokens/colors.ts
@@ -1543,11 +1573,14 @@ var semanticColors = import_react25.defineSemanticTokens.colors({
1543
1573
  DEFAULT: {
1544
1574
  value: { _light: "{colors.black}", _dark: "{colors.gray.50}" }
1545
1575
  },
1576
+ muted: {
1577
+ value: { _light: "{colors.gray.500}", _dark: "{colors.gray.500}" }
1578
+ },
1546
1579
  subtle: {
1547
1580
  value: { _light: "{colors.gray.600}", _dark: "{colors.gray.400}" }
1548
1581
  },
1549
- muted: {
1550
- value: { _light: "{colors.gray.400}", _dark: "{colors.gray.500}" }
1582
+ emphasized: {
1583
+ value: { _light: "{colors.gray.800}", _dark: "{colors.gray.200}" }
1551
1584
  },
1552
1585
  inverted: {
1553
1586
  value: { _light: "{colors.gray.50}", _dark: "{colors.black}" }
@@ -1569,12 +1602,12 @@ var semanticColors = import_react25.defineSemanticTokens.colors({
1569
1602
  DEFAULT: {
1570
1603
  value: { _light: "{colors.gray.200}", _dark: "{colors.gray.800}" }
1571
1604
  },
1572
- subtle: {
1573
- value: { _light: "{colors.gray.100}", _dark: "{colors.gray.900}" }
1574
- },
1575
1605
  muted: {
1576
1606
  value: { _light: "{colors.gray.50}", _dark: "{colors.gray.950}" }
1577
1607
  },
1608
+ subtle: {
1609
+ value: { _light: "{colors.gray.100}", _dark: "{colors.gray.900}" }
1610
+ },
1578
1611
  emphasized: {
1579
1612
  value: { _light: "{colors.gray.300}", _dark: "{colors.gray.700}" }
1580
1613
  },
@@ -1602,19 +1635,22 @@ var semanticColors = import_react25.defineSemanticTokens.colors({
1602
1635
  value: { _light: "white", _dark: "white" }
1603
1636
  },
1604
1637
  fg: {
1605
- value: { _light: "{colors.purple.700}", _dark: "{colors.purple.300}" }
1638
+ value: { _light: "{colors.indigo.700}", _dark: "{colors.indigo.300}" }
1606
1639
  },
1607
1640
  muted: {
1608
- value: { _light: "{colors.purple.50}", _dark: "{colors.purple.950}" }
1641
+ value: { _light: "{colors.indigo.50}", _dark: "{colors.indigo.950}" }
1609
1642
  },
1610
1643
  subtle: {
1611
- value: { _light: "{colors.purple.100}", _dark: "{colors.purple.900}" }
1644
+ value: { _light: "{colors.indigo.100}", _dark: "{colors.indigo.900}" }
1612
1645
  },
1613
1646
  emphasized: {
1614
- value: { _light: "{colors.purple.200}", _dark: "{colors.purple.800}" }
1647
+ value: { _light: "{colors.indigo.200}", _dark: "{colors.indigo.800}" }
1615
1648
  },
1616
1649
  solid: {
1617
- value: { _light: "{colors.purple.600}", _dark: "{colors.purple.600}" }
1650
+ value: { _light: "{colors.indigo.600}", _dark: "{colors.indigo.600}" }
1651
+ },
1652
+ focusRing: {
1653
+ value: { _light: "{colors.indigo.600}", _dark: "{colors.indigo.600}" }
1618
1654
  }
1619
1655
  },
1620
1656
  neutral: {
@@ -1635,6 +1671,32 @@ var semanticColors = import_react25.defineSemanticTokens.colors({
1635
1671
  },
1636
1672
  solid: {
1637
1673
  value: { _light: "{colors.gray.900}", _dark: "{colors.white}" }
1674
+ },
1675
+ focusRing: {
1676
+ value: { _light: "{colors.gray.600}", _dark: "{colors.gray.600}" }
1677
+ }
1678
+ },
1679
+ slate: {
1680
+ contrast: {
1681
+ value: { _light: "white", _dark: "white" }
1682
+ },
1683
+ fg: {
1684
+ value: { _light: "{colors.slate.900}", _dark: "{colors.slate.200}" }
1685
+ },
1686
+ muted: {
1687
+ value: { _light: "{colors.slate.100}", _dark: "{colors.slate.900}" }
1688
+ },
1689
+ subtle: {
1690
+ value: { _light: "{colors.slate.200}", _dark: "{colors.slate.800}" }
1691
+ },
1692
+ emphasized: {
1693
+ value: { _light: "{colors.slate.300}", _dark: "{colors.slate.700}" }
1694
+ },
1695
+ solid: {
1696
+ value: { _light: "{colors.slate.500}", _dark: "{colors.slate.500}" }
1697
+ },
1698
+ focusRing: {
1699
+ value: { _light: "{colors.slate.600}", _dark: "{colors.slate.600}" }
1638
1700
  }
1639
1701
  },
1640
1702
  gray: {
@@ -1655,6 +1717,55 @@ var semanticColors = import_react25.defineSemanticTokens.colors({
1655
1717
  },
1656
1718
  solid: {
1657
1719
  value: { _light: "{colors.gray.500}", _dark: "{colors.gray.500}" }
1720
+ },
1721
+ focusRing: {
1722
+ value: { _light: "{colors.gray.600}", _dark: "{colors.gray.600}" }
1723
+ }
1724
+ },
1725
+ zinc: {
1726
+ contrast: {
1727
+ value: { _light: "white", _dark: "white" }
1728
+ },
1729
+ fg: {
1730
+ value: { _light: "{colors.zinc.900}", _dark: "{colors.zinc.200}" }
1731
+ },
1732
+ muted: {
1733
+ value: { _light: "{colors.zinc.100}", _dark: "{colors.zinc.900}" }
1734
+ },
1735
+ subtle: {
1736
+ value: { _light: "{colors.zinc.200}", _dark: "{colors.zinc.800}" }
1737
+ },
1738
+ emphasized: {
1739
+ value: { _light: "{colors.zinc.300}", _dark: "{colors.zinc.700}" }
1740
+ },
1741
+ solid: {
1742
+ value: { _light: "{colors.zinc.500}", _dark: "{colors.zinc.500}" }
1743
+ },
1744
+ focusRing: {
1745
+ value: { _light: "{colors.zinc.600}", _dark: "{colors.zinc.600}" }
1746
+ }
1747
+ },
1748
+ stone: {
1749
+ contrast: {
1750
+ value: { _light: "white", _dark: "white" }
1751
+ },
1752
+ fg: {
1753
+ value: { _light: "{colors.stone.900}", _dark: "{colors.stone.200}" }
1754
+ },
1755
+ muted: {
1756
+ value: { _light: "{colors.stone.100}", _dark: "{colors.stone.900}" }
1757
+ },
1758
+ subtle: {
1759
+ value: { _light: "{colors.stone.200}", _dark: "{colors.stone.800}" }
1760
+ },
1761
+ emphasized: {
1762
+ value: { _light: "{colors.stone.300}", _dark: "{colors.stone.700}" }
1763
+ },
1764
+ solid: {
1765
+ value: { _light: "{colors.stone.500}", _dark: "{colors.stone.500}" }
1766
+ },
1767
+ focusRing: {
1768
+ value: { _light: "{colors.stone.600}", _dark: "{colors.stone.600}" }
1658
1769
  }
1659
1770
  },
1660
1771
  red: {
@@ -1675,6 +1786,9 @@ var semanticColors = import_react25.defineSemanticTokens.colors({
1675
1786
  },
1676
1787
  solid: {
1677
1788
  value: { _light: "{colors.red.600}", _dark: "{colors.red.600}" }
1789
+ },
1790
+ focusRing: {
1791
+ value: { _light: "{colors.red.600}", _dark: "{colors.red.600}" }
1678
1792
  }
1679
1793
  },
1680
1794
  orange: {
@@ -1694,7 +1808,79 @@ var semanticColors = import_react25.defineSemanticTokens.colors({
1694
1808
  value: { _light: "{colors.orange.200}", _dark: "{colors.orange.800}" }
1695
1809
  },
1696
1810
  solid: {
1697
- value: { _light: "{colors.orange.600}", _dark: "{colors.orange.500}" }
1811
+ value: { _light: "{colors.orange.600}", _dark: "{colors.orange.600}" }
1812
+ },
1813
+ focusRing: {
1814
+ value: { _light: "{colors.orange.600}", _dark: "{colors.orange.600}" }
1815
+ }
1816
+ },
1817
+ amber: {
1818
+ contrast: {
1819
+ value: { _light: "black", _dark: "black" }
1820
+ },
1821
+ fg: {
1822
+ value: { _light: "{colors.amber.700}", _dark: "{colors.amber.300}" }
1823
+ },
1824
+ muted: {
1825
+ value: { _light: "{colors.amber.50}", _dark: "{colors.amber.950}" }
1826
+ },
1827
+ subtle: {
1828
+ value: { _light: "{colors.amber.100}", _dark: "{colors.amber.900}" }
1829
+ },
1830
+ emphasized: {
1831
+ value: { _light: "{colors.amber.200}", _dark: "{colors.amber.800}" }
1832
+ },
1833
+ solid: {
1834
+ value: { _light: "{colors.amber.400}", _dark: "{colors.amber.400}" }
1835
+ },
1836
+ focusRing: {
1837
+ value: { _light: "{colors.amber.400}", _dark: "{colors.amber.400}" }
1838
+ }
1839
+ },
1840
+ yellow: {
1841
+ contrast: {
1842
+ value: { _light: "black", _dark: "black" }
1843
+ },
1844
+ fg: {
1845
+ value: { _light: "{colors.yellow.700}", _dark: "{colors.yellow.300}" }
1846
+ },
1847
+ muted: {
1848
+ value: { _light: "{colors.yellow.50}", _dark: "{colors.yellow.950}" }
1849
+ },
1850
+ subtle: {
1851
+ value: { _light: "{colors.yellow.100}", _dark: "{colors.yellow.900}" }
1852
+ },
1853
+ emphasized: {
1854
+ value: { _light: "{colors.yellow.200}", _dark: "{colors.yellow.800}" }
1855
+ },
1856
+ solid: {
1857
+ value: { _light: "{colors.yellow.400}", _dark: "{colors.yellow.400}" }
1858
+ },
1859
+ focusRing: {
1860
+ value: { _light: "{colors.yellow.400}", _dark: "{colors.yellow.400}" }
1861
+ }
1862
+ },
1863
+ lime: {
1864
+ contrast: {
1865
+ value: { _light: "black", _dark: "black" }
1866
+ },
1867
+ fg: {
1868
+ value: { _light: "{colors.lime.700}", _dark: "{colors.lime.300}" }
1869
+ },
1870
+ muted: {
1871
+ value: { _light: "{colors.lime.50}", _dark: "{colors.lime.950}" }
1872
+ },
1873
+ subtle: {
1874
+ value: { _light: "{colors.lime.100}", _dark: "{colors.lime.900}" }
1875
+ },
1876
+ emphasized: {
1877
+ value: { _light: "{colors.lime.200}", _dark: "{colors.lime.800}" }
1878
+ },
1879
+ solid: {
1880
+ value: { _light: "{colors.lime.400}", _dark: "{colors.lime.400}" }
1881
+ },
1882
+ focusRing: {
1883
+ value: { _light: "{colors.lime.400}", _dark: "{colors.lime.400}" }
1698
1884
  }
1699
1885
  },
1700
1886
  green: {
@@ -1715,66 +1901,124 @@ var semanticColors = import_react25.defineSemanticTokens.colors({
1715
1901
  },
1716
1902
  solid: {
1717
1903
  value: { _light: "{colors.green.600}", _dark: "{colors.green.600}" }
1904
+ },
1905
+ focusRing: {
1906
+ value: { _light: "{colors.green.600}", _dark: "{colors.green.600}" }
1718
1907
  }
1719
1908
  },
1720
- blue: {
1909
+ emerald: {
1721
1910
  contrast: {
1722
1911
  value: { _light: "white", _dark: "white" }
1723
1912
  },
1724
1913
  fg: {
1725
- value: { _light: "{colors.blue.700}", _dark: "{colors.blue.300}" }
1914
+ value: { _light: "{colors.emerald.700}", _dark: "{colors.emerald.300}" }
1726
1915
  },
1727
1916
  muted: {
1728
- value: { _light: "{colors.blue.50}", _dark: "{colors.blue.950}" }
1917
+ value: { _light: "{colors.emerald.50}", _dark: "{colors.emerald.950}" }
1729
1918
  },
1730
1919
  subtle: {
1731
- value: { _light: "{colors.blue.100}", _dark: "{colors.blue.900}" }
1920
+ value: { _light: "{colors.emerald.100}", _dark: "{colors.emerald.900}" }
1732
1921
  },
1733
1922
  emphasized: {
1734
- value: { _light: "{colors.blue.200}", _dark: "{colors.blue.800}" }
1923
+ value: { _light: "{colors.emerald.200}", _dark: "{colors.emerald.800}" }
1735
1924
  },
1736
1925
  solid: {
1737
- value: { _light: "{colors.blue.600}", _dark: "{colors.blue.600}" }
1926
+ value: { _light: "{colors.emerald.600}", _dark: "{colors.emerald.600}" }
1927
+ },
1928
+ focusRing: {
1929
+ value: { _light: "{colors.emerald.600}", _dark: "{colors.emerald.600}" }
1738
1930
  }
1739
1931
  },
1740
- yellow: {
1932
+ teal: {
1741
1933
  contrast: {
1742
- value: { _light: "black", _dark: "black" }
1934
+ value: { _light: "white", _dark: "white" }
1743
1935
  },
1744
1936
  fg: {
1745
- value: { _light: "{colors.yellow.700}", _dark: "{colors.yellow.300}" }
1937
+ value: { _light: "{colors.teal.700}", _dark: "{colors.teal.300}" }
1746
1938
  },
1747
1939
  muted: {
1748
- value: { _light: "{colors.yellow.50}", _dark: "{colors.yellow.950}" }
1940
+ value: { _light: "{colors.teal.50}", _dark: "{colors.teal.950}" }
1749
1941
  },
1750
1942
  subtle: {
1751
- value: { _light: "{colors.yellow.100}", _dark: "{colors.yellow.900}" }
1943
+ value: { _light: "{colors.teal.100}", _dark: "{colors.teal.900}" }
1752
1944
  },
1753
1945
  emphasized: {
1754
- value: { _light: "{colors.yellow.200}", _dark: "{colors.yellow.800}" }
1946
+ value: { _light: "{colors.teal.200}", _dark: "{colors.teal.800}" }
1755
1947
  },
1756
1948
  solid: {
1757
- value: { _light: "{colors.yellow.300}", _dark: "{colors.yellow.300}" }
1949
+ value: { _light: "{colors.teal.600}", _dark: "{colors.teal.600}" }
1950
+ },
1951
+ focusRing: {
1952
+ value: { _light: "{colors.teal.600}", _dark: "{colors.teal.600}" }
1758
1953
  }
1759
1954
  },
1760
- teal: {
1955
+ cyan: {
1761
1956
  contrast: {
1762
1957
  value: { _light: "white", _dark: "white" }
1763
1958
  },
1764
1959
  fg: {
1765
- value: { _light: "{colors.teal.700}", _dark: "{colors.teal.300}" }
1960
+ value: { _light: "{colors.cyan.700}", _dark: "{colors.cyan.300}" }
1766
1961
  },
1767
1962
  muted: {
1768
- value: { _light: "{colors.teal.50}", _dark: "{colors.teal.950}" }
1963
+ value: { _light: "{colors.cyan.50}", _dark: "{colors.cyan.950}" }
1769
1964
  },
1770
1965
  subtle: {
1771
- value: { _light: "{colors.teal.100}", _dark: "{colors.teal.900}" }
1966
+ value: { _light: "{colors.cyan.100}", _dark: "{colors.cyan.900}" }
1772
1967
  },
1773
1968
  emphasized: {
1774
- value: { _light: "{colors.teal.200}", _dark: "{colors.teal.800}" }
1969
+ value: { _light: "{colors.cyan.200}", _dark: "{colors.cyan.800}" }
1775
1970
  },
1776
1971
  solid: {
1777
- value: { _light: "{colors.teal.600}", _dark: "{colors.teal.600}" }
1972
+ value: { _light: "{colors.cyan.600}", _dark: "{colors.cyan.600}" }
1973
+ },
1974
+ focusRing: {
1975
+ value: { _light: "{colors.cyan.600}", _dark: "{colors.cyan.600}" }
1976
+ }
1977
+ },
1978
+ sky: {
1979
+ contrast: {
1980
+ value: { _light: "white", _dark: "white" }
1981
+ },
1982
+ fg: {
1983
+ value: { _light: "{colors.sky.700}", _dark: "{colors.sky.300}" }
1984
+ },
1985
+ muted: {
1986
+ value: { _light: "{colors.sky.50}", _dark: "{colors.sky.950}" }
1987
+ },
1988
+ subtle: {
1989
+ value: { _light: "{colors.sky.100}", _dark: "{colors.sky.900}" }
1990
+ },
1991
+ emphasized: {
1992
+ value: { _light: "{colors.sky.200}", _dark: "{colors.sky.800}" }
1993
+ },
1994
+ solid: {
1995
+ value: { _light: "{colors.sky.600}", _dark: "{colors.sky.600}" }
1996
+ },
1997
+ focusRing: {
1998
+ value: { _light: "{colors.sky.600}", _dark: "{colors.sky.600}" }
1999
+ }
2000
+ },
2001
+ blue: {
2002
+ contrast: {
2003
+ value: { _light: "white", _dark: "white" }
2004
+ },
2005
+ fg: {
2006
+ value: { _light: "{colors.blue.700}", _dark: "{colors.blue.300}" }
2007
+ },
2008
+ muted: {
2009
+ value: { _light: "{colors.blue.50}", _dark: "{colors.blue.950}" }
2010
+ },
2011
+ subtle: {
2012
+ value: { _light: "{colors.blue.100}", _dark: "{colors.blue.900}" }
2013
+ },
2014
+ emphasized: {
2015
+ value: { _light: "{colors.blue.200}", _dark: "{colors.blue.800}" }
2016
+ },
2017
+ solid: {
2018
+ value: { _light: "{colors.blue.600}", _dark: "{colors.blue.600}" }
2019
+ },
2020
+ focusRing: {
2021
+ value: { _light: "{colors.blue.600}", _dark: "{colors.blue.600}" }
1778
2022
  }
1779
2023
  },
1780
2024
  indigo: {
@@ -1795,6 +2039,32 @@ var semanticColors = import_react25.defineSemanticTokens.colors({
1795
2039
  },
1796
2040
  solid: {
1797
2041
  value: { _light: "{colors.indigo.600}", _dark: "{colors.indigo.600}" }
2042
+ },
2043
+ focusRing: {
2044
+ value: { _light: "{colors.indigo.600}", _dark: "{colors.indigo.600}" }
2045
+ }
2046
+ },
2047
+ violet: {
2048
+ contrast: {
2049
+ value: { _light: "white", _dark: "white" }
2050
+ },
2051
+ fg: {
2052
+ value: { _light: "{colors.violet.700}", _dark: "{colors.violet.300}" }
2053
+ },
2054
+ muted: {
2055
+ value: { _light: "{colors.violet.50}", _dark: "{colors.violet.950}" }
2056
+ },
2057
+ subtle: {
2058
+ value: { _light: "{colors.violet.100}", _dark: "{colors.violet.900}" }
2059
+ },
2060
+ emphasized: {
2061
+ value: { _light: "{colors.violet.200}", _dark: "{colors.violet.800}" }
2062
+ },
2063
+ solid: {
2064
+ value: { _light: "{colors.violet.600}", _dark: "{colors.violet.600}" }
2065
+ },
2066
+ focusRing: {
2067
+ value: { _light: "{colors.violet.600}", _dark: "{colors.violet.600}" }
1798
2068
  }
1799
2069
  },
1800
2070
  purple: {
@@ -1815,6 +2085,32 @@ var semanticColors = import_react25.defineSemanticTokens.colors({
1815
2085
  },
1816
2086
  solid: {
1817
2087
  value: { _light: "{colors.purple.600}", _dark: "{colors.purple.600}" }
2088
+ },
2089
+ focusRing: {
2090
+ value: { _light: "{colors.purple.600}", _dark: "{colors.purple.600}" }
2091
+ }
2092
+ },
2093
+ fuchsia: {
2094
+ contrast: {
2095
+ value: { _light: "white", _dark: "white" }
2096
+ },
2097
+ fg: {
2098
+ value: { _light: "{colors.fuchsia.700}", _dark: "{colors.fuchsia.300}" }
2099
+ },
2100
+ muted: {
2101
+ value: { _light: "{colors.fuchsia.50}", _dark: "{colors.fuchsia.950}" }
2102
+ },
2103
+ subtle: {
2104
+ value: { _light: "{colors.fuchsia.100}", _dark: "{colors.fuchsia.900}" }
2105
+ },
2106
+ emphasized: {
2107
+ value: { _light: "{colors.fuchsia.200}", _dark: "{colors.fuchsia.800}" }
2108
+ },
2109
+ solid: {
2110
+ value: { _light: "{colors.fuchsia.600}", _dark: "{colors.fuchsia.600}" }
2111
+ },
2112
+ focusRing: {
2113
+ value: { _light: "{colors.fuchsia.600}", _dark: "{colors.fuchsia.600}" }
1818
2114
  }
1819
2115
  },
1820
2116
  pink: {
@@ -1835,26 +2131,32 @@ var semanticColors = import_react25.defineSemanticTokens.colors({
1835
2131
  },
1836
2132
  solid: {
1837
2133
  value: { _light: "{colors.pink.600}", _dark: "{colors.pink.600}" }
2134
+ },
2135
+ focusRing: {
2136
+ value: { _light: "{colors.pink.600}", _dark: "{colors.pink.600}" }
1838
2137
  }
1839
2138
  },
1840
- cyan: {
2139
+ rose: {
1841
2140
  contrast: {
1842
2141
  value: { _light: "white", _dark: "white" }
1843
2142
  },
1844
2143
  fg: {
1845
- value: { _light: "{colors.cyan.700}", _dark: "{colors.cyan.300}" }
2144
+ value: { _light: "{colors.rose.700}", _dark: "{colors.rose.300}" }
1846
2145
  },
1847
2146
  muted: {
1848
- value: { _light: "{colors.cyan.50}", _dark: "{colors.cyan.950}" }
2147
+ value: { _light: "{colors.rose.50}", _dark: "{colors.rose.950}" }
1849
2148
  },
1850
2149
  subtle: {
1851
- value: { _light: "{colors.cyan.100}", _dark: "{colors.cyan.900}" }
2150
+ value: { _light: "{colors.rose.100}", _dark: "{colors.rose.900}" }
1852
2151
  },
1853
2152
  emphasized: {
1854
- value: { _light: "{colors.cyan.200}", _dark: "{colors.cyan.800}" }
2153
+ value: { _light: "{colors.rose.200}", _dark: "{colors.rose.800}" }
1855
2154
  },
1856
2155
  solid: {
1857
- value: { _light: "{colors.cyan.600}", _dark: "{colors.cyan.600}" }
2156
+ value: { _light: "{colors.rose.600}", _dark: "{colors.rose.600}" }
2157
+ },
2158
+ focusRing: {
2159
+ value: { _light: "{colors.rose.600}", _dark: "{colors.rose.600}" }
1858
2160
  }
1859
2161
  }
1860
2162
  });
@@ -1971,7 +2273,7 @@ var appShellSlotRecipe = (0, import_react28.defineSlotRecipe)({
1971
2273
  var import_react29 = require("@chakra-ui/react");
1972
2274
  var gridListSlotRecipe = (0, import_react29.defineSlotRecipe)({
1973
2275
  className: "sui-grid-list",
1974
- slots: ["root", "item", "header", "icon"],
2276
+ slots: ["root", "item", "header", "cell"],
1975
2277
  base: {
1976
2278
  root: {
1977
2279
  py: 2,
@@ -2035,7 +2337,7 @@ var gridListSlotRecipe = (0, import_react29.defineSlotRecipe)({
2035
2337
  fontWeight: "semibold",
2036
2338
  color: "muted"
2037
2339
  },
2038
- icon: {
2340
+ cell: {
2039
2341
  display: "flex",
2040
2342
  flexShrink: 0
2041
2343
  }
@@ -2147,7 +2449,7 @@ var loadingOverlaySlotRecipe = (0, import_react30.defineSlotRecipe)({
2147
2449
  var import_react31 = require("@chakra-ui/react");
2148
2450
  var navbarSlotRecipe = (0, import_react31.defineSlotRecipe)({
2149
2451
  className: "sui-navbar",
2150
- slots: ["root", "content", "brand", "item"],
2452
+ slots: ["root", "content", "brand", "item", "link"],
2151
2453
  base: {
2152
2454
  root: {
2153
2455
  display: "flex",
@@ -2184,7 +2486,7 @@ var navbarSlotRecipe = (0, import_react31.defineSlotRecipe)({
2184
2486
  whiteSpace: "nowrap",
2185
2487
  boxSizing: "border-box"
2186
2488
  },
2187
- item: {
2489
+ link: {
2188
2490
  bg: "transparent",
2189
2491
  color: "currentColor",
2190
2492
  display: "inline-flex",
@@ -2240,7 +2542,7 @@ var navbarSlotRecipe = (0, import_react31.defineSlotRecipe)({
2240
2542
  },
2241
2543
  gap: 4
2242
2544
  },
2243
- item: {
2545
+ link: {
2244
2546
  px: 3,
2245
2547
  h: 8
2246
2548
  }
@@ -2351,7 +2653,7 @@ var personaSlotRecipe = (0, import_react32.defineSlotRecipe)({
2351
2653
  var import_react33 = require("@chakra-ui/react");
2352
2654
  var sidebarNavItemSlotRecipe = (0, import_react33.defineSlotRecipe)({
2353
2655
  className: "sui-sidebar-nav-item",
2354
- slots: ["item", "button"],
2656
+ slots: ["item", "button", "endElement"],
2355
2657
  base: {
2356
2658
  item: {
2357
2659
  position: "relative"
@@ -2371,7 +2673,14 @@ var sidebarNavItemSlotRecipe = (0, import_react33.defineSlotRecipe)({
2371
2673
  focusVisibleRing: "outside",
2372
2674
  "& > svg": {
2373
2675
  boxSize: 4
2676
+ },
2677
+ '&:has([data-slot="endElement"])': {
2678
+ pe: 0
2374
2679
  }
2680
+ },
2681
+ endElement: {
2682
+ display: "flex",
2683
+ gap: "1px"
2375
2684
  }
2376
2685
  },
2377
2686
  variants: {
@@ -2399,10 +2708,10 @@ var sidebarNavItemSlotRecipe = (0, import_react33.defineSlotRecipe)({
2399
2708
  button: {
2400
2709
  borderRadius: "md",
2401
2710
  px: 2,
2402
- height: 8,
2403
- "&:has(:nth-child(3))": {
2404
- pe: 0
2405
- }
2711
+ height: 8
2712
+ },
2713
+ endElement: {
2714
+ pe: "1"
2406
2715
  }
2407
2716
  }
2408
2717
  }
@@ -2430,8 +2739,6 @@ var sidebarSlotRecipe = (0, import_react34.defineSlotRecipe)({
2430
2739
  "groupTitle",
2431
2740
  "groupEndElement",
2432
2741
  "groupContent",
2433
- "item",
2434
- "itemEndElement",
2435
2742
  "track"
2436
2743
  ],
2437
2744
  base: {
@@ -2640,6 +2947,9 @@ var sidebarSlotRecipe = (0, import_react34.defineSlotRecipe)({
2640
2947
  },
2641
2948
  footer: {
2642
2949
  px: 3
2950
+ },
2951
+ groupEndElement: {
2952
+ pe: "1"
2643
2953
  }
2644
2954
  }
2645
2955
  }
@@ -3677,7 +3987,7 @@ var checkboxCardSlotRecipe = (0, import_react43.defineSlotRecipe)({
3677
3987
  var import_react44 = require("@chakra-ui/react");
3678
3988
  var import_anatomy10 = require("@chakra-ui/react/anatomy");
3679
3989
  var collapsibleSlotRecipe = (0, import_react44.defineSlotRecipe)({
3680
- slots: import_anatomy10.collapsibleAnataomy.keys(),
3990
+ slots: import_anatomy10.collapsibleAnatomy.keys(),
3681
3991
  className: "chakra-collapsible",
3682
3992
  base: {
3683
3993
  content: {
@@ -4668,6 +4978,7 @@ var menuSlotRecipe = (0, import_react54.defineSlotRecipe)({
4668
4978
  bg: "bg.panel",
4669
4979
  boxShadow: "lg",
4670
4980
  color: "fg",
4981
+ maxHeight: "var(--available-height)",
4671
4982
  "--menu-z-index": "zIndex.dropdown",
4672
4983
  zIndex: "calc(var(--menu-z-index) + var(--layer-index, 0))",
4673
4984
  borderRadius: "l2",
@@ -7674,13 +7985,13 @@ var slotRecipes = {
7674
7985
  status: statusSlotRecipe,
7675
7986
  timeline: timelineSlotRecipe,
7676
7987
  // Saas UI Recipes
7677
- appShell: appShellSlotRecipe,
7678
- loadingOverlay: loadingOverlaySlotRecipe,
7679
- persona: personaSlotRecipe,
7680
- gridList: gridListSlotRecipe,
7681
- navbar: navbarSlotRecipe,
7682
- sidebar: sidebarSlotRecipe,
7683
- sidebarNavItem: sidebarNavItemSlotRecipe
7988
+ suiAppShell: appShellSlotRecipe,
7989
+ suiLoadingOverlay: loadingOverlaySlotRecipe,
7990
+ suiPersona: personaSlotRecipe,
7991
+ suiGridList: gridListSlotRecipe,
7992
+ suiNavbar: navbarSlotRecipe,
7993
+ suiSidebar: sidebarSlotRecipe,
7994
+ suiSidebarNavItem: sidebarNavItemSlotRecipe
7684
7995
  };
7685
7996
 
7686
7997
  // src/theme/text-styles.ts
@@ -7771,176 +8082,319 @@ var import_react82 = require("@chakra-ui/react");
7771
8082
  var colors = import_react82.defineTokens.colors({
7772
8083
  transparent: { value: "transparent" },
7773
8084
  current: { value: "currentColor" },
7774
- black: { value: "#09090B" },
7775
- white: { value: "#FFFFFF" },
8085
+ black: { value: "oklch(0.07 0 0)" },
8086
+ white: { value: "oklch(1 0 0)" },
7776
8087
  whiteAlpha: {
7777
- 50: { value: "rgba(255, 255, 255, 0.04)" },
7778
- 100: { value: "rgba(255, 255, 255, 0.06)" },
7779
- 200: { value: "rgba(255, 255, 255, 0.08)" },
7780
- 300: { value: "rgba(255, 255, 255, 0.16)" },
7781
- 400: { value: "rgba(255, 255, 255, 0.24)" },
7782
- 500: { value: "rgba(255, 255, 255, 0.36)" },
7783
- 600: { value: "rgba(255, 255, 255, 0.48)" },
7784
- 700: { value: "rgba(255, 255, 255, 0.64)" },
7785
- 800: { value: "rgba(255, 255, 255, 0.80)" },
7786
- 900: { value: "rgba(255, 255, 255, 0.92)" },
7787
- 950: { value: "rgba(255, 255, 255, 0.95)" }
8088
+ 50: { value: "oklch(1 0 0 / 0.04)" },
8089
+ 100: { value: "oklch(1 0 0 / 0.06)" },
8090
+ 200: { value: "oklch(1 0 0 / 0.08)" },
8091
+ 300: { value: "oklch(1 0 0 / 0.16)" },
8092
+ 400: { value: "oklch(1 0 0 / 0.24)" },
8093
+ 500: { value: "oklch(1 0 0 / 0.36)" },
8094
+ 600: { value: "oklch(1 0 0 / 0.48)" },
8095
+ 700: { value: "oklch(1 0 0 / 0.64)" },
8096
+ 800: { value: "oklch(1 0 0 / 0.80)" },
8097
+ 900: { value: "oklch(1 0 0 / 0.92)" },
8098
+ 950: { value: "oklch(1 0 0 / 0.95)" }
7788
8099
  },
7789
8100
  blackAlpha: {
7790
- 50: { value: "rgba(0, 0, 0, 0.04)" },
7791
- 100: { value: "rgba(0, 0, 0, 0.06)" },
7792
- 200: { value: "rgba(0, 0, 0, 0.08)" },
7793
- 300: { value: "rgba(0, 0, 0, 0.16)" },
7794
- 400: { value: "rgba(0, 0, 0, 0.24)" },
7795
- 500: { value: "rgba(0, 0, 0, 0.36)" },
7796
- 600: { value: "rgba(0, 0, 0, 0.48)" },
7797
- 700: { value: "rgba(0, 0, 0, 0.64)" },
7798
- 800: { value: "rgba(0, 0, 0, 0.80)" },
7799
- 900: { value: "rgba(0, 0, 0, 0.92)" },
7800
- 950: { value: "rgba(0, 0, 0, 0.95)" }
8101
+ 50: { value: "oklch(0 0 0 / 0.04)" },
8102
+ 100: { value: "oklch(0 0 0 / 0.06)" },
8103
+ 200: { value: "oklch(0 0 0 / 0.08)" },
8104
+ 300: { value: "oklch(0 0 0 / 0.16)" },
8105
+ 400: { value: "oklch(0 0 0 / 0.24)" },
8106
+ 500: { value: "oklch(0 0 0 / 0.36)" },
8107
+ 600: { value: "oklch(0 0 0 / 0.48)" },
8108
+ 700: { value: "oklch(0 0 0 / 0.64)" },
8109
+ 800: { value: "oklch(0 0 0 / 0.80)" },
8110
+ 900: { value: "oklch(0 0 0 / 0.92)" },
8111
+ 950: { value: "oklch(0 0 0 / 0.95)" }
8112
+ },
8113
+ slate: {
8114
+ 50: { value: "oklch(0.984 0.003 247.858)" },
8115
+ 100: { value: "oklch(0.968 0.007 247.896)" },
8116
+ 200: { value: "oklch(0.929 0.013 255.508)" },
8117
+ 300: { value: "oklch(0.869 0.022 252.894)" },
8118
+ 400: { value: "oklch(0.704 0.04 256.788)" },
8119
+ 500: { value: "oklch(0.554 0.046 257.417)" },
8120
+ 600: { value: "oklch(0.446 0.043 257.281)" },
8121
+ 700: { value: "oklch(0.372 0.044 257.287)" },
8122
+ 800: { value: "oklch(0.279 0.041 260.031)" },
8123
+ 900: { value: "oklch(0.208 0.042 265.755)" },
8124
+ 950: { value: "oklch(0.129 0.042 264.695)" }
7801
8125
  },
7802
8126
  gray: {
7803
- 50: { value: "#fafafa" },
7804
- 100: { value: "#f4f4f5" },
7805
- 200: { value: "#e4e4e7" },
7806
- 300: { value: "#d4d4d8" },
7807
- 400: { value: "#a1a1aa" },
7808
- 500: { value: "#71717a" },
7809
- 600: { value: "#52525b" },
7810
- 700: { value: "#3f3f46" },
7811
- 800: { value: "#27272a" },
7812
- 900: { value: "#18181b" },
7813
- 950: { value: "#111111" }
8127
+ 50: { value: "oklch(0.985 0.002 247.839)" },
8128
+ 100: { value: "oklch(0.967 0.003 264.542)" },
8129
+ 200: { value: "oklch(0.928 0.006 264.531)" },
8130
+ 300: { value: "oklch(0.872 0.01 258.338)" },
8131
+ 400: { value: "oklch(0.707 0.022 261.325)" },
8132
+ 500: { value: "oklch(0.551 0.027 264.364)" },
8133
+ 600: { value: "oklch(0.446 0.03 256.802)" },
8134
+ 700: { value: "oklch(0.373 0.034 259.733)" },
8135
+ 800: { value: "oklch(0.278 0.033 256.848)" },
8136
+ 900: { value: "oklch(0.21 0.034 264.665)" },
8137
+ 950: { value: "oklch(0.13 0.028 261.692)" }
8138
+ },
8139
+ zinc: {
8140
+ 50: { value: "oklch(0.985 0 0)" },
8141
+ 100: { value: "oklch(0.967 0.001 286.375)" },
8142
+ 200: { value: "oklch(0.92 0.004 286.32)" },
8143
+ 300: { value: "oklch(0.871 0.006 286.286)" },
8144
+ 400: { value: "oklch(0.705 0.015 286.067)" },
8145
+ 500: { value: "oklch(0.552 0.016 285.938)" },
8146
+ 600: { value: "oklch(0.442 0.017 285.786)" },
8147
+ 700: { value: "oklch(0.37 0.013 285.805)" },
8148
+ 800: { value: "oklch(0.274 0.006 286.033)" },
8149
+ 900: { value: "oklch(0.21 0.006 285.885)" },
8150
+ 950: { value: "oklch(0.141 0.005 285.823)" }
8151
+ },
8152
+ neutral: {
8153
+ 50: { value: "oklch(0.985 0 0)" },
8154
+ 100: { value: "oklch(0.97 0 0)" },
8155
+ 200: { value: "oklch(0.922 0 0)" },
8156
+ 300: { value: "oklch(0.87 0 0)" },
8157
+ 400: { value: "oklch(0.708 0 0)" },
8158
+ 500: { value: "oklch(0.556 0 0)" },
8159
+ 600: { value: "oklch(0.439 0 0)" },
8160
+ 700: { value: "oklch(0.371 0 0)" },
8161
+ 800: { value: "oklch(0.269 0 0)" },
8162
+ 900: { value: "oklch(0.205 0 0)" },
8163
+ 950: { value: "oklch(0.145 0 0)" }
8164
+ },
8165
+ stone: {
8166
+ 50: { value: "oklch(0.985 0.001 106.423)" },
8167
+ 100: { value: "oklch(0.97 0.001 106.424)" },
8168
+ 200: { value: "oklch(0.923 0.003 48.717)" },
8169
+ 300: { value: "oklch(0.869 0.005 56.366)" },
8170
+ 400: { value: "oklch(0.709 0.01 56.259)" },
8171
+ 500: { value: "oklch(0.553 0.013 58.071)" },
8172
+ 600: { value: "oklch(0.444 0.011 73.639)" },
8173
+ 700: { value: "oklch(0.374 0.01 67.558)" },
8174
+ 800: { value: "oklch(0.268 0.007 34.298)" },
8175
+ 900: { value: "oklch(0.216 0.006 56.043)" },
8176
+ 950: { value: "oklch(0.147 0.004 49.25)" }
7814
8177
  },
7815
8178
  red: {
7816
- 50: { value: "#fef2f2" },
7817
- 100: { value: "#fee2e2" },
7818
- 200: { value: "#fecaca" },
7819
- 300: { value: "#fca5a5" },
7820
- 400: { value: "#f87171" },
7821
- 500: { value: "#ef4444" },
7822
- 600: { value: "#dc2626" },
7823
- 700: { value: "#991919" },
7824
- 800: { value: "#511111" },
7825
- 900: { value: "#300c0c" },
7826
- 950: { value: "#1f0808" }
8179
+ 50: { value: "oklch(0.971 0.013 17.38)" },
8180
+ 100: { value: "oklch(0.936 0.032 17.717)" },
8181
+ 200: { value: "oklch(0.885 0.062 18.334)" },
8182
+ 300: { value: "oklch(0.808 0.114 19.571)" },
8183
+ 400: { value: "oklch(0.704 0.191 22.216)" },
8184
+ 500: { value: "oklch(0.637 0.237 25.331)" },
8185
+ 600: { value: "oklch(0.577 0.245 27.325)" },
8186
+ 700: { value: "oklch(0.505 0.213 27.518)" },
8187
+ 800: { value: "oklch(0.444 0.177 26.899)" },
8188
+ 900: { value: "oklch(0.396 0.141 25.723)" },
8189
+ 950: { value: "oklch(0.258 0.092 26.042)" }
7827
8190
  },
7828
8191
  orange: {
7829
- 50: { value: "#fff7ed" },
7830
- 100: { value: "#ffedd5" },
7831
- 200: { value: "#fed7aa" },
7832
- 300: { value: "#fdba74" },
7833
- 400: { value: "#fb923c" },
7834
- 500: { value: "#f97316" },
7835
- 600: { value: "#ea580c" },
7836
- 700: { value: "#92310a" },
7837
- 800: { value: "#6c2710" },
7838
- 900: { value: "#3b1106" },
7839
- 950: { value: "#220a04" }
8192
+ 50: { value: "oklch(0.98 0.016 73.684)" },
8193
+ 100: { value: "oklch(0.954 0.038 75.164)" },
8194
+ 200: { value: "oklch(0.901 0.076 70.697)" },
8195
+ 300: { value: "oklch(0.837 0.128 66.29)" },
8196
+ 400: { value: "oklch(0.75 0.183 55.934)" },
8197
+ 500: { value: "oklch(0.705 0.213 47.604)" },
8198
+ 600: { value: "oklch(0.646 0.222 41.116)" },
8199
+ 700: { value: "oklch(0.553 0.195 38.402)" },
8200
+ 800: { value: "oklch(0.47 0.157 37.304)" },
8201
+ 900: { value: "oklch(0.408 0.123 38.172)" },
8202
+ 950: { value: "oklch(0.266 0.079 36.259)" }
8203
+ },
8204
+ amber: {
8205
+ 50: { value: "oklch(0.987 0.022 95.277)" },
8206
+ 100: { value: "oklch(0.962 0.059 95.617)" },
8207
+ 200: { value: "oklch(0.924 0.12 95.746)" },
8208
+ 300: { value: "oklch(0.879 0.169 91.605)" },
8209
+ 400: { value: "oklch(0.828 0.189 84.429)" },
8210
+ 500: { value: "oklch(0.769 0.188 70.08)" },
8211
+ 600: { value: "oklch(0.666 0.179 58.318)" },
8212
+ 700: { value: "oklch(0.555 0.163 48.998)" },
8213
+ 800: { value: "oklch(0.473 0.137 46.201)" },
8214
+ 900: { value: "oklch(0.414 0.112 45.904)" },
8215
+ 950: { value: "oklch(0.279 0.077 45.635)" }
7840
8216
  },
7841
8217
  yellow: {
7842
- 50: { value: "#fefce8" },
7843
- 100: { value: "#fef9c3" },
7844
- 200: { value: "#fef08a" },
7845
- 300: { value: "#fde047" },
7846
- 400: { value: "#facc15" },
7847
- 500: { value: "#eab308" },
7848
- 600: { value: "#ca8a04" },
7849
- 700: { value: "#845209" },
7850
- 800: { value: "#713f12" },
7851
- 900: { value: "#422006" },
7852
- 950: { value: "#281304" }
8218
+ 50: { value: "oklch(0.987 0.026 102.212)" },
8219
+ 100: { value: "oklch(0.973 0.071 103.193)" },
8220
+ 200: { value: "oklch(0.945 0.129 101.54)" },
8221
+ 300: { value: "oklch(0.897 0.182 98.111)" },
8222
+ 400: { value: "oklch(0.854 0.184 96.404)" },
8223
+ 500: { value: "oklch(0.795 0.180 86.047)" },
8224
+ 600: { value: "oklch(0.681 0.162 75.834)" },
8225
+ 700: { value: "oklch(0.554 0.135 66.442)" },
8226
+ 800: { value: "oklch(0.476 0.114 61.907)" },
8227
+ 900: { value: "oklch(0.421 0.095 57.708)" },
8228
+ 950: { value: "oklch(0.286 0.066 53.813)" }
8229
+ },
8230
+ lime: {
8231
+ 50: { value: "oklch(0.986 0.031 120.757)" },
8232
+ 100: { value: "oklch(0.967 0.067 122.328)" },
8233
+ 200: { value: "oklch(0.938 0.127 124.321)" },
8234
+ 300: { value: "oklch(0.897 0.196 126.665)" },
8235
+ 400: { value: "oklch(0.841 0.238 128.85)" },
8236
+ 500: { value: "oklch(0.768 0.233 130.85)" },
8237
+ 600: { value: "oklch(0.648 0.2 131.684)" },
8238
+ 700: { value: "oklch(0.532 0.157 131.589)" },
8239
+ 800: { value: "oklch(0.453 0.124 130.933)" },
8240
+ 900: { value: "oklch(0.405 0.101 131.063)" },
8241
+ 950: { value: "oklch(0.274 0.072 132.109)" }
7853
8242
  },
7854
8243
  green: {
7855
- 50: { value: "#f0fdf4" },
7856
- 100: { value: "#dcfce7" },
7857
- 200: { value: "#bbf7d0" },
7858
- 300: { value: "#86efac" },
7859
- 400: { value: "#4ade80" },
7860
- 500: { value: "#22c55e" },
7861
- 600: { value: "#16a34a" },
7862
- 700: { value: "#116932" },
7863
- 800: { value: "#124a28" },
7864
- 900: { value: "#042713" },
7865
- 950: { value: "#03190c" }
8244
+ 50: { value: "oklch(0.982 0.018 155.826)" },
8245
+ 100: { value: "oklch(0.962 0.044 156.743)" },
8246
+ 200: { value: "oklch(0.925 0.084 155.995)" },
8247
+ 300: { value: "oklch(0.871 0.15 154.449)" },
8248
+ 400: { value: "oklch(0.792 0.209 151.711)" },
8249
+ 500: { value: "oklch(0.723 0.219 149.579)" },
8250
+ 600: { value: "oklch(0.627 0.194 149.214)" },
8251
+ 700: { value: "oklch(0.527 0.154 150.069)" },
8252
+ 800: { value: "oklch(0.448 0.119 151.328)" },
8253
+ 900: { value: "oklch(0.393 0.095 152.535)" },
8254
+ 950: { value: "oklch(0.266 0.065 152.934)" }
8255
+ },
8256
+ emerald: {
8257
+ 50: { value: "oklch(0.979 0.021 166.113)" },
8258
+ 100: { value: "oklch(0.95 0.052 163.051)" },
8259
+ 200: { value: "oklch(0.905 0.093 164.15)" },
8260
+ 300: { value: "oklch(0.845 0.143 164.978)" },
8261
+ 400: { value: "oklch(0.765 0.177 163.223)" },
8262
+ 500: { value: "oklch(0.696 0.17 162.48)" },
8263
+ 600: { value: "oklch(0.596 0.145 163.225)" },
8264
+ 700: { value: "oklch(0.508 0.118 165.612)" },
8265
+ 800: { value: "oklch(0.432 0.095 166.913)" },
8266
+ 900: { value: "oklch(0.378 0.077 168.94)" },
8267
+ 950: { value: "oklch(0.262 0.051 172.552)" }
7866
8268
  },
7867
8269
  teal: {
7868
- 50: { value: "#f0fdfa" },
7869
- 100: { value: "#ccfbf1" },
7870
- 200: { value: "#99f6e4" },
7871
- 300: { value: "#5eead4" },
7872
- 400: { value: "#2dd4bf" },
7873
- 500: { value: "#14b8a6" },
7874
- 600: { value: "#0d9488" },
7875
- 700: { value: "#0c5d56" },
7876
- 800: { value: "#114240" },
7877
- 900: { value: "#032726" },
7878
- 950: { value: "#021716" }
7879
- },
7880
- blue: {
7881
- 50: { value: "#eff6ff" },
7882
- 100: { value: "#dbeafe" },
7883
- 200: { value: "#bfdbfe" },
7884
- 300: { value: "#a3cfff" },
7885
- 400: { value: "#60a5fa" },
7886
- 500: { value: "#3b82f6" },
7887
- 600: { value: "#2563eb" },
7888
- 700: { value: "#173da6" },
7889
- 800: { value: "#1a3478" },
7890
- 900: { value: "#14204a" },
7891
- 950: { value: "#0c142e" }
8270
+ 50: { value: "oklch(0.984 0.014 180.72)" },
8271
+ 100: { value: "oklch(0.953 0.051 180.801)" },
8272
+ 200: { value: "oklch(0.91 0.096 180.426)" },
8273
+ 300: { value: "oklch(0.855 0.138 181.071)" },
8274
+ 400: { value: "oklch(0.777 0.152 181.912)" },
8275
+ 500: { value: "oklch(0.704 0.14 182.503)" },
8276
+ 600: { value: "oklch(0.6 0.118 184.704)" },
8277
+ 700: { value: "oklch(0.511 0.096 186.391)" },
8278
+ 800: { value: "oklch(0.437 0.078 188.216)" },
8279
+ 900: { value: "oklch(0.386 0.063 188.416)" },
8280
+ 950: { value: "oklch(0.277 0.046 192.524)" }
7892
8281
  },
7893
8282
  cyan: {
7894
- 50: { value: "#ecfeff" },
7895
- 100: { value: "#cffafe" },
7896
- 200: { value: "#a5f3fc" },
7897
- 300: { value: "#67e8f9" },
7898
- 400: { value: "#22d3ee" },
7899
- 500: { value: "#06b6d4" },
7900
- 600: { value: "#0891b2" },
7901
- 700: { value: "#0c5c72" },
7902
- 800: { value: "#134152" },
7903
- 900: { value: "#072a38" },
7904
- 950: { value: "#051b24" }
8283
+ 50: { value: "oklch(0.984 0.019 200.873)" },
8284
+ 100: { value: "oklch(0.956 0.045 203.388)" },
8285
+ 200: { value: "oklch(0.917 0.08 205.041)" },
8286
+ 300: { value: "oklch(0.865 0.127 207.078)" },
8287
+ 400: { value: "oklch(0.789 0.154 211.53)" },
8288
+ 500: { value: "oklch(0.715 0.143 215.221)" },
8289
+ 600: { value: "oklch(0.609 0.126 221.723)" },
8290
+ 700: { value: "oklch(0.52 0.105 223.128)" },
8291
+ 800: { value: "oklch(0.45 0.085 224.283)" },
8292
+ 900: { value: "oklch(0.398 0.07 227.392)" },
8293
+ 950: { value: "oklch(0.302 0.056 229.695)" }
8294
+ },
8295
+ sky: {
8296
+ 50: { value: "oklch(0.977 0.013 236.62)" },
8297
+ 100: { value: "oklch(0.951 0.026 236.824)" },
8298
+ 200: { value: "oklch(0.901 0.058 230.902)" },
8299
+ 300: { value: "oklch(0.828 0.111 230.318)" },
8300
+ 400: { value: "oklch(0.746 0.16 232.661)" },
8301
+ 500: { value: "oklch(0.685 0.169 237.323)" },
8302
+ 600: { value: "oklch(0.588 0.158 241.966)" },
8303
+ 700: { value: "oklch(0.5 0.134 242.749)" },
8304
+ 800: { value: "oklch(0.443 0.11 240.79)" },
8305
+ 900: { value: "oklch(0.391 0.09 240.876)" },
8306
+ 950: { value: "oklch(0.293 0.066 243.157)" }
8307
+ },
8308
+ blue: {
8309
+ 50: { value: "oklch(0.97 0.014 254.604)" },
8310
+ 100: { value: "oklch(0.932 0.032 255.585)" },
8311
+ 200: { value: "oklch(0.882 0.059 254.128)" },
8312
+ 300: { value: "oklch(0.809 0.105 251.813)" },
8313
+ 400: { value: "oklch(0.707 0.165 254.624)" },
8314
+ 500: { value: "oklch(0.623 0.214 259.815)" },
8315
+ 600: { value: "oklch(0.546 0.245 262.881)" },
8316
+ 700: { value: "oklch(0.488 0.243 264.376)" },
8317
+ 800: { value: "oklch(0.424 0.199 265.638)" },
8318
+ 900: { value: "oklch(0.379 0.146 265.522)" },
8319
+ 950: { value: "oklch(0.282 0.091 267.935)" }
7905
8320
  },
7906
8321
  indigo: {
7907
- 50: { value: "#eef2ff" },
7908
- 100: { value: "#e0e7ff" },
7909
- 200: { value: "#c7d2fe" },
7910
- 300: { value: "#a5b4fc" },
7911
- 400: { value: "#818cf8" },
7912
- 500: { value: "#6366f1" },
7913
- 600: { value: "#4f46e5" },
7914
- 700: { value: "#4338ca" },
7915
- 800: { value: "#3730a3" },
7916
- 900: { value: "#312e81" },
7917
- 950: { value: "#1e1b4b" }
8322
+ 50: { value: "oklch(0.962 0.018 272.314)" },
8323
+ 100: { value: "oklch(0.93 0.034 272.788)" },
8324
+ 200: { value: "oklch(0.87 0.065 274.039)" },
8325
+ 300: { value: "oklch(0.785 0.115 274.713)" },
8326
+ 400: { value: "oklch(0.673 0.182 276.935)" },
8327
+ 500: { value: "oklch(0.585 0.233 277.117)" },
8328
+ 600: { value: "oklch(0.511 0.262 276.966)" },
8329
+ 700: { value: "oklch(0.457 0.24 277.023)" },
8330
+ 800: { value: "oklch(0.398 0.195 277.366)" },
8331
+ 900: { value: "oklch(0.359 0.144 278.697)" },
8332
+ 950: { value: "oklch(0.257 0.09 281.288)" }
8333
+ },
8334
+ violet: {
8335
+ 50: { value: "oklch(0.969 0.016 293.756)" },
8336
+ 100: { value: "oklch(0.943 0.029 294.588)" },
8337
+ 200: { value: "oklch(0.894 0.057 293.283)" },
8338
+ 300: { value: "oklch(0.811 0.111 293.571)" },
8339
+ 400: { value: "oklch(0.702 0.183 293.541)" },
8340
+ 500: { value: "oklch(0.606 0.25 292.717)" },
8341
+ 600: { value: "oklch(0.541 0.281 293.009)" },
8342
+ 700: { value: "oklch(0.491 0.27 292.581)" },
8343
+ 800: { value: "oklch(0.432 0.232 292.759)" },
8344
+ 900: { value: "oklch(0.38 0.189 293.745)" },
8345
+ 950: { value: "oklch(0.283 0.141 291.089)" }
7918
8346
  },
7919
8347
  purple: {
7920
- 50: { value: "#faf5ff" },
7921
- 100: { value: "#f3e8ff" },
7922
- 200: { value: "#e9d5ff" },
7923
- 300: { value: "#d8b4fe" },
7924
- 400: { value: "#c084fc" },
7925
- 500: { value: "#a855f7" },
7926
- 600: { value: "#9333ea" },
7927
- 700: { value: "#641ba3" },
7928
- 800: { value: "#4a1772" },
7929
- 900: { value: "#2f0553" },
7930
- 950: { value: "#1a032e" }
8348
+ 50: { value: "oklch(0.977 0.014 308.299)" },
8349
+ 100: { value: "oklch(0.946 0.033 307.174)" },
8350
+ 200: { value: "oklch(0.902 0.063 306.703)" },
8351
+ 300: { value: "oklch(0.827 0.119 306.383)" },
8352
+ 400: { value: "oklch(0.714 0.203 305.504)" },
8353
+ 500: { value: "oklch(0.627 0.265 303.9)" },
8354
+ 600: { value: "oklch(0.558 0.288 302.321)" },
8355
+ 700: { value: "oklch(0.496 0.265 301.924)" },
8356
+ 800: { value: "oklch(0.438 0.218 303.724)" },
8357
+ 900: { value: "oklch(0.381 0.176 304.987)" },
8358
+ 950: { value: "oklch(0.291 0.149 302.717)" }
8359
+ },
8360
+ fuchsia: {
8361
+ 50: { value: "oklch(0.977 0.017 320.058)" },
8362
+ 100: { value: "oklch(0.952 0.037 318.852)" },
8363
+ 200: { value: "oklch(0.903 0.076 319.62)" },
8364
+ 300: { value: "oklch(0.833 0.145 321.434)" },
8365
+ 400: { value: "oklch(0.74 0.238 322.16)" },
8366
+ 500: { value: "oklch(0.667 0.295 322.15)" },
8367
+ 600: { value: "oklch(0.591 0.293 322.896)" },
8368
+ 700: { value: "oklch(0.518 0.253 323.949)" },
8369
+ 800: { value: "oklch(0.452 0.211 324.591)" },
8370
+ 900: { value: "oklch(0.401 0.17 325.612)" },
8371
+ 950: { value: "oklch(0.293 0.136 325.661)" }
7931
8372
  },
7932
8373
  pink: {
7933
- 50: { value: "#fdf2f8" },
7934
- 100: { value: "#fce7f3" },
7935
- 200: { value: "#fbcfe8" },
7936
- 300: { value: "#f9a8d4" },
7937
- 400: { value: "#f472b6" },
7938
- 500: { value: "#ec4899" },
7939
- 600: { value: "#db2777" },
7940
- 700: { value: "#a41752" },
7941
- 800: { value: "#6d0e34" },
7942
- 900: { value: "#45061f" },
7943
- 950: { value: "#2c0514" }
8374
+ 50: { value: "oklch(0.971 0.014 343.198)" },
8375
+ 100: { value: "oklch(0.948 0.028 342.258)" },
8376
+ 200: { value: "oklch(0.899 0.061 343.231)" },
8377
+ 300: { value: "oklch(0.823 0.12 346.018)" },
8378
+ 400: { value: "oklch(0.718 0.202 349.761)" },
8379
+ 500: { value: "oklch(0.656 0.241 354.308)" },
8380
+ 600: { value: "oklch(0.592 0.249 0.584)" },
8381
+ 700: { value: "oklch(0.525 0.223 3.958)" },
8382
+ 800: { value: "oklch(0.459 0.187 3.815)" },
8383
+ 900: { value: "oklch(0.408 0.153 2.432)" },
8384
+ 950: { value: "oklch(0.284 0.109 3.907)" }
8385
+ },
8386
+ rose: {
8387
+ 50: { value: "oklch(0.969 0.015 12.422)" },
8388
+ 100: { value: "oklch(0.941 0.03 12.58)" },
8389
+ 200: { value: "oklch(0.892 0.058 10.001)" },
8390
+ 300: { value: "oklch(0.81 0.117 11.638)" },
8391
+ 400: { value: "oklch(0.712 0.194 13.428)" },
8392
+ 500: { value: "oklch(0.645 0.246 16.439)" },
8393
+ 600: { value: "oklch(0.586 0.253 17.585)" },
8394
+ 700: { value: "oklch(0.514 0.222 16.935)" },
8395
+ 800: { value: "oklch(0.455 0.188 13.697)" },
8396
+ 900: { value: "oklch(0.41 0.159 10.272)" },
8397
+ 950: { value: "oklch(0.271 0.105 12.094)" }
7944
8398
  }
7945
8399
  });
7946
8400
 
@@ -8419,7 +8873,7 @@ var defaultConfig = (0, import_react97.mergeConfigs)(import_react97.defaultBaseC
8419
8873
  var defaultSystem = (0, import_react97.createSystem)(defaultConfig);
8420
8874
 
8421
8875
  // src/index.ts
8422
- var import_react100 = require("@chakra-ui/react");
8876
+ var import_react162 = require("@chakra-ui/react");
8423
8877
 
8424
8878
  // src/provider/sui-provider.tsx
8425
8879
  var React = __toESM(require("react"), 1);
@@ -8447,15 +8901,1697 @@ function useLink() {
8447
8901
  }
8448
8902
  return import_react99.chakra.a;
8449
8903
  }
8904
+
8905
+ // src/components/app-shell/app-shell.tsx
8906
+ var import_react100 = require("react");
8907
+ var import_react101 = require("@chakra-ui/react");
8908
+ var import_jsx_runtime2 = require("react/jsx-runtime");
8909
+ var {
8910
+ withProvider,
8911
+ withContext,
8912
+ useStyles: useAppShellStyles
8913
+ } = (0, import_react101.createSlotRecipeContext)({
8914
+ key: "suiAppShell"
8915
+ });
8916
+ var AppShellRoot = withProvider(
8917
+ "div",
8918
+ "root",
8919
+ { forwardAsChild: true }
8920
+ );
8921
+ var AppShellContent = withContext("div", "content", { forwardAsChild: true });
8922
+ var AppShellMain = withContext(
8923
+ "div",
8924
+ "main",
8925
+ { forwardAsChild: true }
8926
+ );
8927
+ var AppShell = (0, import_react100.forwardRef)(
8928
+ (props, ref) => {
8929
+ const { header, sidebar, aside, footer, children, ...rootProps } = props;
8930
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(AppShellRoot, { ref, ...rootProps, children: [
8931
+ header,
8932
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(AppShellContent, { children: [
8933
+ sidebar,
8934
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(AppShellMain, { children }),
8935
+ aside
8936
+ ] }),
8937
+ footer
8938
+ ] });
8939
+ }
8940
+ );
8941
+ AppShell.displayName = "AppShell";
8942
+
8943
+ // src/components/avatar/avatar.tsx
8944
+ var import_react102 = require("react");
8945
+ var import_react103 = require("@chakra-ui/react");
8946
+ var import_jsx_runtime3 = require("react/jsx-runtime");
8947
+ var Avatar = (0, import_react102.forwardRef)(
8948
+ function Avatar2(props, ref) {
8949
+ const { name, src, srcSet, loading, icon, fallback: fallback2, children, ...rest } = props;
8950
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_react103.Avatar.Root, { ref, ...rest, children: [
8951
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(AvatarFallback, { name, icon, children: fallback2 }),
8952
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react103.Avatar.Image, { src, srcSet, loading }),
8953
+ children
8954
+ ] });
8955
+ }
8956
+ );
8957
+ var AvatarFallback = (0, import_react102.forwardRef)(
8958
+ function AvatarFallback2(props, ref) {
8959
+ const { name, icon, children, ...rest } = props;
8960
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_react103.Avatar.Fallback, { ref, ...rest, children: [
8961
+ children,
8962
+ name != null && children == null && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: getInitials(name) }),
8963
+ name == null && children == null && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react103.Avatar.Icon, { asChild: !!icon, children: icon })
8964
+ ] });
8965
+ }
8966
+ );
8967
+ function getInitials(name) {
8968
+ const names = name.trim().split(" ");
8969
+ const firstName = names[0] != null ? names[0] : "";
8970
+ const lastName = names.length > 1 ? names[names.length - 1] : "";
8971
+ return firstName && lastName ? `${firstName.charAt(0)}${lastName.charAt(0)}` : firstName.charAt(0);
8972
+ }
8973
+ var AvatarGroup = (0, import_react102.forwardRef)(
8974
+ function AvatarGroup2(props, ref) {
8975
+ const { size, variant, borderless, ...rest } = props;
8976
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react103.Avatar.PropsProvider, { value: { size, variant, borderless }, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react103.Group, { gap: "0", spaceX: "-3", ref, ...rest }) });
8977
+ }
8978
+ );
8979
+
8980
+ // src/components/breadcrumb/breadcrumb.tsx
8981
+ var breadcrumb_exports = {};
8982
+ __export(breadcrumb_exports, {
8983
+ CurrentLink: () => BreadcrumbCurrentLink,
8984
+ Ellipsis: () => BreadcrumbEllipsis,
8985
+ Link: () => BreadcrumbLink,
8986
+ Root: () => BreadcrumbRoot
8987
+ });
8988
+ var import_react104 = require("react");
8989
+ var import_react105 = require("@chakra-ui/react");
8990
+ var import_jsx_runtime4 = require("react/jsx-runtime");
8991
+ var BreadcrumbRoot = (0, import_react104.forwardRef)(
8992
+ function BreadcrumbRoot2(props, ref) {
8993
+ const { separator = "/", separatorGap, children, ...rest } = props;
8994
+ const validChildren = import_react104.Children.toArray(children).filter(import_react104.isValidElement);
8995
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react105.Breadcrumb.Root, { ref, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react105.Breadcrumb.List, { gap: separatorGap, children: validChildren.map((child, index) => {
8996
+ const last = index === validChildren.length - 1;
8997
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_react104.Fragment, { children: [
8998
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react105.Breadcrumb.Item, { children: child }),
8999
+ !last && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react105.Breadcrumb.Separator, { children: separator })
9000
+ ] }, index);
9001
+ }) }) });
9002
+ }
9003
+ );
9004
+ var BreadcrumbLink = import_react105.Breadcrumb.Link;
9005
+ var BreadcrumbCurrentLink = import_react105.Breadcrumb.CurrentLink;
9006
+ var BreadcrumbEllipsis = import_react105.Breadcrumb.Ellipsis;
9007
+
9008
+ // src/components/button/button.tsx
9009
+ var import_react106 = require("react");
9010
+ var import_react107 = require("@chakra-ui/react");
9011
+ var import_jsx_runtime5 = require("react/jsx-runtime");
9012
+ var Button = (0, import_react106.forwardRef)(
9013
+ function Button2(props, ref) {
9014
+ const {
9015
+ loading,
9016
+ disabled,
9017
+ loadingText,
9018
+ children,
9019
+ variant = "glass",
9020
+ colorPalette = variant === "glass" ? "accent" : "gray",
9021
+ ...rest
9022
+ } = props;
9023
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
9024
+ import_react107.Button,
9025
+ {
9026
+ colorPalette,
9027
+ disabled: loading || disabled,
9028
+ variant,
9029
+ ref,
9030
+ ...rest,
9031
+ children: loading && !loadingText ? /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
9032
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react107.AbsoluteCenter, { display: "inline-flex", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react107.Spinner, { size: "inherit", color: "inherit" }) }),
9033
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react107.Span, { opacity: 0, children })
9034
+ ] }) : loading && loadingText ? /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
9035
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react107.Spinner, { size: "inherit", color: "inherit" }),
9036
+ loadingText
9037
+ ] }) : children
9038
+ }
9039
+ );
9040
+ }
9041
+ );
9042
+
9043
+ // src/components/checkbox/checkbox.tsx
9044
+ var import_react108 = require("react");
9045
+ var import_react109 = require("@chakra-ui/react");
9046
+ var import_jsx_runtime6 = require("react/jsx-runtime");
9047
+ var Checkbox = (0, import_react108.forwardRef)(
9048
+ function Checkbox2(props, ref) {
9049
+ const { icon, children, inputProps, rootRef, ...rest } = props;
9050
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_react109.Checkbox.Root, { ref: rootRef, ...rest, children: [
9051
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react109.Checkbox.HiddenInput, { ref, ...inputProps }),
9052
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react109.Checkbox.Control, { children: icon || /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react109.Checkbox.Indicator, {}) }),
9053
+ children != null && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react109.Checkbox.Label, { children })
9054
+ ] });
9055
+ }
9056
+ );
9057
+
9058
+ // src/components/close-button/close-button.tsx
9059
+ var import_react111 = require("react");
9060
+ var import_react112 = require("@chakra-ui/react");
9061
+
9062
+ // src/components/icons/create-icon.tsx
9063
+ var import_react110 = require("@chakra-ui/react");
9064
+ var createIcon = (props) => {
9065
+ return (0, import_react110.createIcon)({
9066
+ viewBox: "0 0 24 24",
9067
+ defaultProps: {
9068
+ fill: "none",
9069
+ stroke: "currentColor",
9070
+ strokeWidth: "2",
9071
+ strokeLinecap: "round",
9072
+ strokeLinejoin: "round"
9073
+ },
9074
+ ...props
9075
+ });
9076
+ };
9077
+
9078
+ // src/components/icons/icons.tsx
9079
+ var import_jsx_runtime7 = require("react/jsx-runtime");
9080
+ var ChevronUpIcon = createIcon({
9081
+ displayName: "ChevronUpIcon",
9082
+ path: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("polyline", { points: "18 15 12 9 6 15" })
9083
+ });
9084
+ var ChevronDownIcon = createIcon({
9085
+ displayName: "ChevronDownIcon",
9086
+ path: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("polyline", { points: "6 9 12 15 18 9" })
9087
+ });
9088
+ var ChevronLeftIcon = createIcon({
9089
+ displayName: "ChevronLeftIcon",
9090
+ path: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("polyline", { points: "15 18 9 12 15 6" })
9091
+ });
9092
+ var ChevronRightIcon = createIcon({
9093
+ displayName: "ChevronRightIcon",
9094
+ path: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("polyline", { points: "9 18 15 12 9 6" })
9095
+ });
9096
+ var HamburgerIcon = createIcon({
9097
+ displayName: "ChevronDownIcon",
9098
+ path: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("g", { fill: "none", children: [
9099
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
9100
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
9101
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
9102
+ ] })
9103
+ });
9104
+ var CloseIcon = createIcon({
9105
+ displayName: "CloseIcon",
9106
+ path: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("g", { children: [
9107
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
9108
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
9109
+ ] })
9110
+ });
9111
+ var FilterIcon = createIcon({
9112
+ displayName: "FilterIcon",
9113
+ path: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" })
9114
+ });
9115
+ var CalendarIcon = createIcon({
9116
+ displayName: "CalendarIcon",
9117
+ path: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("g", { children: [
9118
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
9119
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
9120
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
9121
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
9122
+ ] })
9123
+ });
9124
+ var PlusIcon = createIcon({
9125
+ displayName: "PlusIcon",
9126
+ path: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("g", { children: [
9127
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
9128
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
9129
+ ] })
9130
+ });
9131
+ var MinusIcon = createIcon({
9132
+ displayName: "MinusIcon",
9133
+ path: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) })
9134
+ });
9135
+ var ViewOffIcon = createIcon({
9136
+ displayName: "ViewOffIcon",
9137
+ path: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("g", { children: [
9138
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" }),
9139
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
9140
+ ] })
9141
+ });
9142
+ var ViewIcon = createIcon({
9143
+ displayName: "ViewOffIcon",
9144
+ path: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("g", { children: [
9145
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
9146
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "3" })
9147
+ ] })
9148
+ });
9149
+ var SearchIcon = createIcon({
9150
+ displayName: "SearchIcon",
9151
+ path: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("g", { children: [
9152
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "11", cy: "11", r: "8" }),
9153
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
9154
+ ] })
9155
+ });
9156
+ var CheckIcon = createIcon({
9157
+ displayName: "CheckIcon",
9158
+ path: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("polyline", { points: "20 6 9 17 4 12" }) })
9159
+ });
9160
+
9161
+ // src/components/close-button/close-button.tsx
9162
+ var import_jsx_runtime8 = require("react/jsx-runtime");
9163
+ var CloseButton = (0, import_react111.forwardRef)(
9164
+ function CloseButton2(props, ref) {
9165
+ var _a7;
9166
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react112.IconButton, { variant: "ghost", "aria-label": "Close", ref, ...props, children: (_a7 = props.children) != null ? _a7 : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(CloseIcon, {}) });
9167
+ }
9168
+ );
9169
+
9170
+ // src/components/command/command.tsx
9171
+ var import_react113 = require("@chakra-ui/react");
9172
+ var import_react114 = require("@chakra-ui/react");
9173
+ var import_jsx_runtime9 = require("react/jsx-runtime");
9174
+ var { withContext: withContext2 } = (0, import_react114.createRecipeContext)({
9175
+ key: "suiCommand"
9176
+ });
9177
+ var Key = ({ children }) => {
9178
+ if (typeof children !== "string") {
9179
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children });
9180
+ }
9181
+ if (["then", "or", "+"].includes(children)) {
9182
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children });
9183
+ }
9184
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react113.Kbd, { children });
9185
+ };
9186
+ var Command = (props) => {
9187
+ const { children, ...rest } = props;
9188
+ if (typeof children !== "string") {
9189
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children });
9190
+ }
9191
+ const keys = children.split(/\s|\+/);
9192
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CommandRoot, { ...rest, children: keys.map((key) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Key, { children: key }, key)) });
9193
+ };
9194
+ var CommandRoot = withContext2("span");
9195
+
9196
+ // src/components/dialog/namespace.ts
9197
+ var namespace_exports = {};
9198
+ __export(namespace_exports, {
9199
+ ActionTrigger: () => DialogActionTrigger,
9200
+ Backdrop: () => DialogBackdrop,
9201
+ Body: () => DialogBody,
9202
+ CloseTrigger: () => DialogCloseTrigger,
9203
+ Content: () => DialogContent,
9204
+ Context: () => import_dialog2.DialogContext,
9205
+ Description: () => DialogDescription,
9206
+ Footer: () => DialogFooter,
9207
+ Header: () => DialogHeader,
9208
+ Root: () => DialogRoot,
9209
+ Title: () => DialogTitle,
9210
+ Trigger: () => DialogTrigger
9211
+ });
9212
+
9213
+ // src/components/dialog/dialog.tsx
9214
+ var import_react115 = require("react");
9215
+ var import_react116 = require("@chakra-ui/react");
9216
+ var import_dialog2 = require("@ark-ui/react/dialog");
9217
+ var import_jsx_runtime10 = require("react/jsx-runtime");
9218
+ var DialogContent = (0, import_react115.forwardRef)(
9219
+ function DialogContent2(props, ref) {
9220
+ const {
9221
+ children,
9222
+ portalled = true,
9223
+ portalRef,
9224
+ backdrop = true,
9225
+ ...rest
9226
+ } = props;
9227
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_react116.Portal, { disabled: !portalled, container: portalRef, children: [
9228
+ backdrop && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react116.Dialog.Backdrop, {}),
9229
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react116.Dialog.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react116.Dialog.Content, { ref, ...rest, asChild: false, children }) })
9230
+ ] });
9231
+ }
9232
+ );
9233
+ var DialogCloseTrigger = (0, import_react115.forwardRef)(function DialogCloseTrigger2(props, ref) {
9234
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
9235
+ import_react116.Dialog.CloseTrigger,
9236
+ {
9237
+ position: "absolute",
9238
+ top: "2",
9239
+ insetEnd: "2",
9240
+ ...props,
9241
+ asChild: true,
9242
+ children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(CloseButton, { size: "sm", ref, children: props.children })
9243
+ }
9244
+ );
9245
+ });
9246
+ var DialogRoot = import_react116.Dialog.Root;
9247
+ var DialogFooter = import_react116.Dialog.Footer;
9248
+ var DialogHeader = import_react116.Dialog.Header;
9249
+ var DialogBody = import_react116.Dialog.Body;
9250
+ var DialogBackdrop = import_react116.Dialog.Backdrop;
9251
+ var DialogTitle = import_react116.Dialog.Title;
9252
+ var DialogDescription = import_react116.Dialog.Description;
9253
+ var DialogTrigger = import_react116.Dialog.Trigger;
9254
+ var DialogActionTrigger = import_react116.Dialog.ActionTrigger;
9255
+
9256
+ // src/components/drawer/namespace.ts
9257
+ var namespace_exports2 = {};
9258
+ __export(namespace_exports2, {
9259
+ ActionTrigger: () => DrawerActionTrigger,
9260
+ Backdrop: () => DrawerBackdrop,
9261
+ Body: () => DrawerBody,
9262
+ CloseTrigger: () => DrawerCloseTrigger,
9263
+ Content: () => DrawerContent,
9264
+ Context: () => DrawerContext,
9265
+ Description: () => DrawerDescription,
9266
+ Footer: () => DrawerFooter,
9267
+ Header: () => DrawerHeader,
9268
+ Root: () => DrawerRoot,
9269
+ Title: () => DrawerTitle,
9270
+ Trigger: () => DrawerTrigger
9271
+ });
9272
+
9273
+ // src/components/drawer/drawer.tsx
9274
+ var import_react117 = require("react");
9275
+ var import_dialog4 = require("@ark-ui/react/dialog");
9276
+ var import_react118 = require("@chakra-ui/react");
9277
+ var import_jsx_runtime11 = require("react/jsx-runtime");
9278
+ var DrawerContent = (0, import_react117.forwardRef)(
9279
+ function DrawerContent2(props, ref) {
9280
+ const { children, portalled = true, portalRef, offset, ...rest } = props;
9281
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react118.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react118.Drawer.Positioner, { padding: offset, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react118.Drawer.Content, { ref, ...rest, asChild: false, children }) }) });
9282
+ }
9283
+ );
9284
+ var DrawerCloseTrigger = (0, import_react117.forwardRef)(function DrawerCloseTrigger2(props, ref) {
9285
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
9286
+ import_react118.Drawer.CloseTrigger,
9287
+ {
9288
+ position: "absolute",
9289
+ top: "2",
9290
+ insetEnd: "2",
9291
+ ...props,
9292
+ asChild: true,
9293
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(CloseButton, { size: "sm", ref })
9294
+ }
9295
+ );
9296
+ });
9297
+ var DrawerTrigger = import_react118.Drawer.Trigger;
9298
+ var DrawerRoot = import_react118.Drawer.Root;
9299
+ var DrawerFooter = import_react118.Drawer.Footer;
9300
+ var DrawerHeader = import_react118.Drawer.Header;
9301
+ var DrawerBody = import_react118.Drawer.Body;
9302
+ var DrawerBackdrop = import_react118.Drawer.Backdrop;
9303
+ var DrawerDescription = import_react118.Drawer.Description;
9304
+ var DrawerTitle = import_react118.Drawer.Title;
9305
+ var DrawerActionTrigger = import_react118.Drawer.ActionTrigger;
9306
+ var DrawerContext = import_dialog4.DialogContext;
9307
+
9308
+ // src/components/empty-state/empty-state.tsx
9309
+ var import_react119 = require("@chakra-ui/react");
9310
+ var import_react120 = require("react");
9311
+ var import_jsx_runtime12 = require("react/jsx-runtime");
9312
+ var EmptyState = (0, import_react120.forwardRef)(
9313
+ function EmptyState2(props, ref) {
9314
+ const { title, description, icon, children, ...rest } = props;
9315
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react119.EmptyState.Root, { ref, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_react119.EmptyState.Content, { children: [
9316
+ icon && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react119.EmptyState.Indicator, { children: icon }),
9317
+ description ? /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_react119.VStack, { textAlign: "center", children: [
9318
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react119.EmptyState.Title, { children: title }),
9319
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react119.EmptyState.Description, { children: description })
9320
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react119.EmptyState.Title, { children: title }),
9321
+ children
9322
+ ] }) });
9323
+ }
9324
+ );
9325
+
9326
+ // src/components/grid-list/grid-list.tsx
9327
+ var grid_list_exports = {};
9328
+ __export(grid_list_exports, {
9329
+ Cell: () => GridListCell,
9330
+ Header: () => GridListHeader,
9331
+ Item: () => GridListItem,
9332
+ Root: () => GridListRoot
9333
+ });
9334
+ var import_grid_list = require("@saas-ui/core/grid-list");
9335
+
9336
+ // src/components/grid-list/grid-list.context.ts
9337
+ var import_react121 = require("@chakra-ui/react");
9338
+ var {
9339
+ withProvider: withProvider2,
9340
+ withContext: withContext3,
9341
+ useStyles: useGridListStyles
9342
+ } = (0, import_react121.createSlotRecipeContext)({
9343
+ key: "suiGridList"
9344
+ });
9345
+
9346
+ // src/components/grid-list/grid-list.tsx
9347
+ var GridListRoot = withProvider2(
9348
+ import_grid_list.GridList.Root,
9349
+ "root"
9350
+ );
9351
+ var GridListItem = withContext3(
9352
+ import_grid_list.GridList.Item,
9353
+ "item"
9354
+ );
9355
+ var GridListHeader = withContext3(
9356
+ import_grid_list.GridList.Header,
9357
+ "header"
9358
+ );
9359
+ var GridListCell = withContext3(
9360
+ import_grid_list.GridList.Cell,
9361
+ "cell"
9362
+ );
9363
+
9364
+ // src/components/icon-badge/icon-badge.tsx
9365
+ var React2 = __toESM(require("react"), 1);
9366
+ var import_react122 = require("react");
9367
+ var import_react123 = require("@chakra-ui/react");
9368
+ var import_utils7 = require("@saas-ui/core/utils");
9369
+ var import_jsx_runtime13 = require("react/jsx-runtime");
9370
+ var IconBadge = React2.forwardRef(
9371
+ (props, ref) => {
9372
+ const { icon, children, ...rest } = props;
9373
+ const recipe = (0, import_react123.useRecipe)({ key: "suiIconBadge", recipe: props.recipe });
9374
+ const [variantProps, localProps] = recipe.splitVariantProps(rest);
9375
+ const styles = recipe(variantProps);
9376
+ const element = icon || children;
9377
+ const _children = (0, import_react122.isValidElement)(element) ? (0, import_react122.cloneElement)(element, {
9378
+ "aria-hidden": true,
9379
+ focusable: false
9380
+ }) : null;
9381
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
9382
+ import_react123.chakra.div,
9383
+ {
9384
+ ref,
9385
+ ...localProps,
9386
+ css: [styles, props.css],
9387
+ className: (0, import_utils7.cx)(recipe.className, props.className),
9388
+ children: _children
9389
+ }
9390
+ );
9391
+ }
9392
+ );
9393
+
9394
+ // src/components/input-group/input-group.tsx
9395
+ var import_react124 = require("react");
9396
+ var import_react125 = require("@chakra-ui/react");
9397
+ var import_jsx_runtime14 = require("react/jsx-runtime");
9398
+ var InputGroup = (0, import_react124.forwardRef)(
9399
+ function InputGroup2(props, ref) {
9400
+ const {
9401
+ startElement,
9402
+ startElementProps,
9403
+ endElement,
9404
+ endElementProps,
9405
+ children,
9406
+ ...rest
9407
+ } = props;
9408
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_react125.Group, { ref, display: "flex", ...rest, children: [
9409
+ startElement && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react125.InputElement, { pointerEvents: "none", ...startElementProps, children: startElement }),
9410
+ (0, import_react124.isValidElement)(children) && (0, import_react124.cloneElement)(children, {
9411
+ ...startElement && { ps: "calc(var(--input-height) - 6px)" },
9412
+ ...endElement && { pe: "calc(var(--input-height) - 6px)" },
9413
+ ...children.props
9414
+ }),
9415
+ endElement && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react125.InputElement, { placement: "end", ...endElementProps, children: endElement })
9416
+ ] });
9417
+ }
9418
+ );
9419
+
9420
+ // src/components/link/link.tsx
9421
+ var import_react126 = __toESM(require("react"), 1);
9422
+ var import_react127 = require("@chakra-ui/react");
9423
+ var import_jsx_runtime15 = require("react/jsx-runtime");
9424
+ var Link = import_react126.default.forwardRef(
9425
+ (props, ref) => {
9426
+ const LinkComponent = useLink();
9427
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react127.Link, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(LinkComponent, { ref, ...props }) });
9428
+ }
9429
+ );
9430
+ Link.displayName = "Link";
9431
+
9432
+ // src/components/loading-overlay/loading-overlay.tsx
9433
+ var loading_overlay_exports = {};
9434
+ __export(loading_overlay_exports, {
9435
+ Root: () => LoadingOverlayRoot,
9436
+ Spinner: () => LoadingOverlaySpinner,
9437
+ Text: () => LoadingOverlayText
9438
+ });
9439
+ var import_presence = require("@ark-ui/react/presence");
9440
+ var import_react131 = require("@chakra-ui/react");
9441
+
9442
+ // src/components/spinner/spinner.tsx
9443
+ var import_react128 = require("react");
9444
+ var import_react129 = require("@chakra-ui/react");
9445
+ var import_jsx_runtime16 = require("react/jsx-runtime");
9446
+ var Spinner2 = (0, import_react128.forwardRef)(
9447
+ function Spinner3(props, ref) {
9448
+ const { loading, children, ...rest } = props;
9449
+ if (loading === false) {
9450
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_jsx_runtime16.Fragment, { children });
9451
+ }
9452
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_react129.Spinner, { ref, ...rest });
9453
+ }
9454
+ );
9455
+
9456
+ // src/components/loading-overlay/loading-overlay.context.ts
9457
+ var import_react130 = require("@chakra-ui/react");
9458
+ var {
9459
+ useStyles: useLoadingOverlayStyles,
9460
+ withContext: withContext4,
9461
+ withProvider: withProvider3
9462
+ } = (0, import_react130.createSlotRecipeContext)({
9463
+ key: "suiLoadingOverlay"
9464
+ });
9465
+
9466
+ // src/components/loading-overlay/loading-overlay.tsx
9467
+ var import_jsx_runtime17 = require("react/jsx-runtime");
9468
+ var LoadingOverlay = (props) => {
9469
+ const { children, loading = true, ...rest } = props;
9470
+ const [presenceProps, rootProps] = (0, import_presence.splitPresenceProps)(rest);
9471
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_presence.Presence, { present: loading, ...presenceProps, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react131.chakra.div, { ...rootProps, children }) });
9472
+ };
9473
+ var LoadingOverlayRoot = withProvider3(
9474
+ LoadingOverlay,
9475
+ "root"
9476
+ );
9477
+ LoadingOverlayRoot.displayName = "LoadingOverlay";
9478
+ var LoadingOverlaySpinner = Spinner2;
9479
+ var LoadingOverlayText = withContext4(
9480
+ "p",
9481
+ "text"
9482
+ );
9483
+
9484
+ // src/components/navbar/navbar.tsx
9485
+ var navbar_exports = {};
9486
+ __export(navbar_exports, {
9487
+ Brand: () => NavbarBrand,
9488
+ Content: () => NavbarContent,
9489
+ Item: () => NavbarItem,
9490
+ Link: () => NavbarLink,
9491
+ Root: () => NavbarRoot
9492
+ });
9493
+ var import_react133 = require("react");
9494
+ var import_navbar = require("@saas-ui/core/navbar");
9495
+
9496
+ // src/components/navbar/navbar.context.ts
9497
+ var import_react132 = require("@chakra-ui/react");
9498
+ var {
9499
+ withProvider: withProvider4,
9500
+ withContext: withContext5,
9501
+ useStyles: useNavbarStyles
9502
+ } = (0, import_react132.createSlotRecipeContext)({
9503
+ key: "suiNavbar"
9504
+ });
9505
+
9506
+ // src/components/navbar/navbar.tsx
9507
+ var import_jsx_runtime18 = require("react/jsx-runtime");
9508
+ var NavbarRoot = withProvider4(
9509
+ import_navbar.Navbar.Root,
9510
+ "root"
9511
+ );
9512
+ var NavbarBrand = withContext5(
9513
+ import_navbar.Navbar.Brand,
9514
+ "brand"
9515
+ );
9516
+ var NavbarContent = withContext5(
9517
+ import_navbar.Navbar.Content,
9518
+ "content"
9519
+ );
9520
+ var NavbarItem = withContext5(
9521
+ import_navbar.Navbar.Item,
9522
+ "item"
9523
+ );
9524
+ var NavbarLink = withContext5(
9525
+ (0, import_react133.forwardRef)((props, ref) => {
9526
+ const Link2 = useLink();
9527
+ const { active, ...rest } = props;
9528
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_navbar.Navbar.Link, { asChild: true, ...rest, ref, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Link2, { "data-active": active ? "" : void 0, ...props }) });
9529
+ }),
9530
+ "link",
9531
+ {
9532
+ forwardAsChild: true
9533
+ }
9534
+ );
9535
+
9536
+ // src/components/number-input/number-input.tsx
9537
+ var import_react134 = require("react");
9538
+ var import_react135 = require("@chakra-ui/react");
9539
+ var import_jsx_runtime19 = require("react/jsx-runtime");
9540
+ var NumberInput = (0, import_react134.forwardRef)(
9541
+ function NumberInput2(props, ref) {
9542
+ const {
9543
+ hideControls,
9544
+ startElement,
9545
+ endElement,
9546
+ inputProps,
9547
+ rootRef,
9548
+ ...rest
9549
+ } = props;
9550
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_react135.NumberInput.Root, { ref: rootRef, ...rest, children: [
9551
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(InputGroup, { startElement, endElement, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react135.NumberInput.Input, { ref, ...inputProps }) }),
9552
+ !hideControls && !endElement ? /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_react135.NumberInput.Control, { children: [
9553
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react135.NumberInput.IncrementTrigger, {}),
9554
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react135.NumberInput.DecrementTrigger, {})
9555
+ ] }) : null
9556
+ ] });
9557
+ }
9558
+ );
9559
+
9560
+ // src/components/menu/menu.tsx
9561
+ var menu_exports = {};
9562
+ __export(menu_exports, {
9563
+ Arrow: () => MenuArrow,
9564
+ Button: () => MenuButton,
9565
+ CheckboxItem: () => MenuCheckboxItem,
9566
+ Content: () => MenuContent,
9567
+ Context: () => MenuContext,
9568
+ ContextTrigger: () => MenuContextTrigger,
9569
+ Item: () => MenuItem,
9570
+ ItemCommand: () => MenuItemCommand,
9571
+ ItemGroup: () => MenuItemGroup,
9572
+ ItemText: () => MenuItemText,
9573
+ RadioItem: () => MenuRadioItem,
9574
+ RadioItemGroup: () => MenuRadioItemGroup,
9575
+ Root: () => MenuRoot,
9576
+ Separator: () => MenuSeparator,
9577
+ Trigger: () => MenuTrigger,
9578
+ TriggerItem: () => MenuTriggerItem
9579
+ });
9580
+ var import_react136 = require("react");
9581
+ var import_react137 = require("@chakra-ui/react");
9582
+ var import_jsx_runtime20 = require("react/jsx-runtime");
9583
+ var MenuContent = (0, import_react136.forwardRef)(
9584
+ function MenuContent2(props, ref) {
9585
+ const { portalled = true, portalRef, ...rest } = props;
9586
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Menu.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Menu.Content, { ref, ...rest }) }) });
9587
+ }
9588
+ );
9589
+ var MenuArrow = (0, import_react136.forwardRef)(
9590
+ function MenuArrow2(props, ref) {
9591
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Menu.Arrow, { ref, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Menu.ArrowTip, {}) });
9592
+ }
9593
+ );
9594
+ var MenuCheckboxItem = (0, import_react136.forwardRef)(function MenuCheckboxItem2(props, ref) {
9595
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_react137.Menu.CheckboxItem, { ref, ...props, children: [
9596
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Menu.ItemIndicator, { hidden: false, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(CheckIcon, {}) }),
9597
+ props.children
9598
+ ] });
9599
+ });
9600
+ var MenuRadioItem = (0, import_react136.forwardRef)(
9601
+ function MenuRadioItem2(props, ref) {
9602
+ const { children, ...rest } = props;
9603
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_react137.Menu.RadioItem, { ps: "8", ref, ...rest, children: [
9604
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.AbsoluteCenter, { axis: "horizontal", left: "4", asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Menu.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(CheckIcon, {}) }) }),
9605
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Menu.ItemText, { children })
9606
+ ] });
9607
+ }
9608
+ );
9609
+ var MenuItemGroup = (0, import_react136.forwardRef)(
9610
+ function MenuItemGroup2(props, ref) {
9611
+ const { title, children, ...rest } = props;
9612
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_react137.Menu.ItemGroup, { ref, ...rest, children: [
9613
+ title && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react137.Menu.ItemGroupLabel, { userSelect: "none", children: title }),
9614
+ children
9615
+ ] });
9616
+ }
9617
+ );
9618
+ var MenuTriggerItem = (0, import_react136.forwardRef)(
9619
+ function MenuTriggerItem2(props, ref) {
9620
+ const { startIcon, children, ...rest } = props;
9621
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_react137.Menu.TriggerItem, { ref, ...rest, children: [
9622
+ startIcon,
9623
+ children,
9624
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ChevronRightIcon, {})
9625
+ ] });
9626
+ }
9627
+ );
9628
+ var MenuButton = (0, import_react136.forwardRef)(
9629
+ function MenuButton2(props, ref) {
9630
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(MenuTrigger, { ref, ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Button, {}) });
9631
+ }
9632
+ );
9633
+ var MenuRadioItemGroup = import_react137.Menu.RadioItemGroup;
9634
+ var MenuContextTrigger = import_react137.Menu.ContextTrigger;
9635
+ var MenuRoot = import_react137.Menu.Root;
9636
+ var MenuSeparator = import_react137.Menu.Separator;
9637
+ var MenuContext = import_react137.Menu.Context;
9638
+ var MenuItem = import_react137.Menu.Item;
9639
+ var MenuItemText = import_react137.Menu.ItemText;
9640
+ var MenuItemCommand = import_react137.Menu.ItemCommand;
9641
+ var MenuTrigger = import_react137.Menu.Trigger;
9642
+
9643
+ // src/components/password-input/password-input.tsx
9644
+ var import_react140 = require("react");
9645
+ var import_react141 = require("@chakra-ui/react");
9646
+
9647
+ // ../../node_modules/react-icons/lib/iconBase.mjs
9648
+ var import_react139 = __toESM(require("react"), 1);
9649
+
9650
+ // ../../node_modules/react-icons/lib/iconContext.mjs
9651
+ var import_react138 = __toESM(require("react"), 1);
9652
+ var DefaultContext = {
9653
+ color: void 0,
9654
+ size: void 0,
9655
+ className: void 0,
9656
+ style: void 0,
9657
+ attr: void 0
9658
+ };
9659
+ var IconContext = import_react138.default.createContext && /* @__PURE__ */ import_react138.default.createContext(DefaultContext);
9660
+
9661
+ // ../../node_modules/react-icons/lib/iconBase.mjs
9662
+ var _excluded = ["attr", "size", "title"];
9663
+ function _objectWithoutProperties(source, excluded) {
9664
+ if (source == null) return {};
9665
+ var target = _objectWithoutPropertiesLoose(source, excluded);
9666
+ var key, i;
9667
+ if (Object.getOwnPropertySymbols) {
9668
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
9669
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
9670
+ key = sourceSymbolKeys[i];
9671
+ if (excluded.indexOf(key) >= 0) continue;
9672
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
9673
+ target[key] = source[key];
9674
+ }
9675
+ }
9676
+ return target;
9677
+ }
9678
+ function _objectWithoutPropertiesLoose(source, excluded) {
9679
+ if (source == null) return {};
9680
+ var target = {};
9681
+ for (var key in source) {
9682
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
9683
+ if (excluded.indexOf(key) >= 0) continue;
9684
+ target[key] = source[key];
9685
+ }
9686
+ }
9687
+ return target;
9688
+ }
9689
+ function _extends() {
9690
+ _extends = Object.assign ? Object.assign.bind() : function(target) {
9691
+ for (var i = 1; i < arguments.length; i++) {
9692
+ var source = arguments[i];
9693
+ for (var key in source) {
9694
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
9695
+ target[key] = source[key];
9696
+ }
9697
+ }
9698
+ }
9699
+ return target;
9700
+ };
9701
+ return _extends.apply(this, arguments);
9702
+ }
9703
+ function ownKeys(e, r) {
9704
+ var t = Object.keys(e);
9705
+ if (Object.getOwnPropertySymbols) {
9706
+ var o = Object.getOwnPropertySymbols(e);
9707
+ r && (o = o.filter(function(r2) {
9708
+ return Object.getOwnPropertyDescriptor(e, r2).enumerable;
9709
+ })), t.push.apply(t, o);
9710
+ }
9711
+ return t;
9712
+ }
9713
+ function _objectSpread(e) {
9714
+ for (var r = 1; r < arguments.length; r++) {
9715
+ var t = null != arguments[r] ? arguments[r] : {};
9716
+ r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
9717
+ _defineProperty(e, r2, t[r2]);
9718
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
9719
+ Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
9720
+ });
9721
+ }
9722
+ return e;
9723
+ }
9724
+ function _defineProperty(obj, key, value) {
9725
+ key = _toPropertyKey(key);
9726
+ if (key in obj) {
9727
+ Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
9728
+ } else {
9729
+ obj[key] = value;
9730
+ }
9731
+ return obj;
9732
+ }
9733
+ function _toPropertyKey(t) {
9734
+ var i = _toPrimitive(t, "string");
9735
+ return "symbol" == typeof i ? i : i + "";
9736
+ }
9737
+ function _toPrimitive(t, r) {
9738
+ if ("object" != typeof t || !t) return t;
9739
+ var e = t[Symbol.toPrimitive];
9740
+ if (void 0 !== e) {
9741
+ var i = e.call(t, r || "default");
9742
+ if ("object" != typeof i) return i;
9743
+ throw new TypeError("@@toPrimitive must return a primitive value.");
9744
+ }
9745
+ return ("string" === r ? String : Number)(t);
9746
+ }
9747
+ function Tree2Element(tree) {
9748
+ return tree && tree.map((node, i) => /* @__PURE__ */ import_react139.default.createElement(node.tag, _objectSpread({
9749
+ key: i
9750
+ }, node.attr), Tree2Element(node.child)));
9751
+ }
9752
+ function GenIcon(data) {
9753
+ return (props) => /* @__PURE__ */ import_react139.default.createElement(IconBase, _extends({
9754
+ attr: _objectSpread({}, data.attr)
9755
+ }, props), Tree2Element(data.child));
9756
+ }
9757
+ function IconBase(props) {
9758
+ var elem = (conf) => {
9759
+ var {
9760
+ attr,
9761
+ size,
9762
+ title
9763
+ } = props, svgProps = _objectWithoutProperties(props, _excluded);
9764
+ var computedSize = size || conf.size || "1em";
9765
+ var className;
9766
+ if (conf.className) className = conf.className;
9767
+ if (props.className) className = (className ? className + " " : "") + props.className;
9768
+ return /* @__PURE__ */ import_react139.default.createElement("svg", _extends({
9769
+ stroke: "currentColor",
9770
+ fill: "currentColor",
9771
+ strokeWidth: "0"
9772
+ }, conf.attr, attr, svgProps, {
9773
+ className,
9774
+ style: _objectSpread(_objectSpread({
9775
+ color: props.color || conf.color
9776
+ }, conf.style), props.style),
9777
+ height: computedSize,
9778
+ width: computedSize,
9779
+ xmlns: "http://www.w3.org/2000/svg"
9780
+ }), title && /* @__PURE__ */ import_react139.default.createElement("title", null, title), props.children);
9781
+ };
9782
+ return IconContext !== void 0 ? /* @__PURE__ */ import_react139.default.createElement(IconContext.Consumer, null, (conf) => elem(conf)) : elem(DefaultContext);
9783
+ }
9784
+
9785
+ // ../../node_modules/react-icons/lu/index.mjs
9786
+ function LuEyeOff(props) {
9787
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M9.88 9.88a3 3 0 1 0 4.24 4.24" }, "child": [] }, { "tag": "path", "attr": { "d": "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }, "child": [] }, { "tag": "path", "attr": { "d": "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }, "child": [] }, { "tag": "line", "attr": { "x1": "2", "x2": "22", "y1": "2", "y2": "22" }, "child": [] }] })(props);
9788
+ }
9789
+ function LuEye(props) {
9790
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }, "child": [] }, { "tag": "circle", "attr": { "cx": "12", "cy": "12", "r": "3" }, "child": [] }] })(props);
9791
+ }
9792
+
9793
+ // src/components/password-input/password-input.tsx
9794
+ var import_jsx_runtime21 = require("react/jsx-runtime");
9795
+ var PasswordInput = (0, import_react140.forwardRef)(
9796
+ function PasswordInput2(props, ref) {
9797
+ const {
9798
+ rootProps,
9799
+ defaultVisible,
9800
+ visible: visibleProp,
9801
+ onVisibleChange,
9802
+ visibilityIcon = { on: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(LuEye, {}), off: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(LuEyeOff, {}) },
9803
+ ...rest
9804
+ } = props;
9805
+ const [visible, setVisible] = (0, import_react141.useControllableState)({
9806
+ value: visibleProp,
9807
+ defaultValue: defaultVisible || false,
9808
+ onChange: onVisibleChange
9809
+ });
9810
+ const inputRef = (0, import_react140.useRef)(null);
9811
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
9812
+ InputGroup,
9813
+ {
9814
+ width: "full",
9815
+ endElement: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
9816
+ VisibilityTrigger,
9817
+ {
9818
+ disabled: rest.disabled,
9819
+ onPointerDown: (e) => {
9820
+ if (rest.disabled) return;
9821
+ if (e.button !== 0) return;
9822
+ e.preventDefault();
9823
+ setVisible(!visible);
9824
+ },
9825
+ children: visible ? visibilityIcon.off : visibilityIcon.on
9826
+ }
9827
+ ),
9828
+ ...rootProps,
9829
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
9830
+ import_react141.Input,
9831
+ {
9832
+ ...rest,
9833
+ ref: (0, import_react141.mergeRefs)(ref, inputRef),
9834
+ type: visible ? "text" : "password"
9835
+ }
9836
+ )
9837
+ }
9838
+ );
9839
+ }
9840
+ );
9841
+ var VisibilityTrigger = (0, import_react140.forwardRef)(
9842
+ function VisibilityTrigger2(props, ref) {
9843
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
9844
+ import_react141.IconButton,
9845
+ {
9846
+ tabIndex: -1,
9847
+ ref,
9848
+ me: "-2",
9849
+ aspectRatio: "square",
9850
+ size: "sm",
9851
+ variant: "ghost",
9852
+ colorPalette: "gray",
9853
+ height: "calc(100% - {spacing.2})",
9854
+ "aria-label": "Toggle password visibility",
9855
+ ...props
9856
+ }
9857
+ );
9858
+ }
9859
+ );
9860
+
9861
+ // src/components/persona/persona.tsx
9862
+ var React7 = __toESM(require("react"), 1);
9863
+
9864
+ // src/components/persona/persona-primitive.tsx
9865
+ var import_react143 = require("react");
9866
+ var import_react144 = require("@chakra-ui/react");
9867
+ var import_utils8 = require("@saas-ui/core/utils");
9868
+
9869
+ // src/components/persona/persona.context.ts
9870
+ var import_react142 = require("@chakra-ui/react");
9871
+ var {
9872
+ useStyles: usePersonaStyles,
9873
+ withProvider: withProvider5,
9874
+ withContext: withContext6
9875
+ } = (0, import_react142.createSlotRecipeContext)({
9876
+ key: "suiPersona"
9877
+ });
9878
+
9879
+ // src/components/persona/persona-primitive.tsx
9880
+ var import_jsx_runtime22 = require("react/jsx-runtime");
9881
+ var PersonaRoot = withProvider5(
9882
+ (0, import_react143.forwardRef)((props, ref) => {
9883
+ const { outOfOffice, presence, ...rest } = props;
9884
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
9885
+ import_react144.chakra.div,
9886
+ {
9887
+ ref,
9888
+ ...rest,
9889
+ "data-out-of-office": (0, import_utils8.dataAttr)(outOfOffice),
9890
+ "data-presence": presence,
9891
+ css: [
9892
+ presence ? {
9893
+ "--persona-presence": `colors.presence.${presence}`
9894
+ } : void 0,
9895
+ rest.css
9896
+ ]
9897
+ }
9898
+ );
9899
+ }),
9900
+ "root"
9901
+ );
9902
+ var PersonaAvatar = (0, import_react143.forwardRef)(
9903
+ (props, ref) => {
9904
+ const {
9905
+ name,
9906
+ getInitials: getInitials2 = (name2) => name2 == null ? void 0 : name2[0],
9907
+ icon,
9908
+ loading,
9909
+ onError,
9910
+ src,
9911
+ srcSet,
9912
+ children,
9913
+ ...rest
9914
+ } = props;
9915
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_react144.Avatar.Root, { ref, ...rest, children: [
9916
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_react144.Avatar.Fallback, { children: getInitials2(name) }),
9917
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
9918
+ import_react144.Avatar.Image,
9919
+ {
9920
+ src,
9921
+ srcSet,
9922
+ loading,
9923
+ onError
9924
+ }
9925
+ ),
9926
+ children
9927
+ ] });
9928
+ }
9929
+ );
9930
+ var PersonaPresenceBadge = withContext6("span", "presence");
9931
+ var PersonaDetails = withContext6(
9932
+ "div",
9933
+ "details"
9934
+ );
9935
+ var PersonaLabel = withContext6(
9936
+ "span",
9937
+ "label"
9938
+ );
9939
+ PersonaLabel.displayName = "PersonaLabel";
9940
+ var PersonaSecondaryLabel = withContext6(
9941
+ "span",
9942
+ "secondaryLabel"
9943
+ );
9944
+ var PersonaTertiaryLabel = withContext6(
9945
+ "span",
9946
+ "tertiaryLabel"
9947
+ );
9948
+
9949
+ // src/components/persona/persona.tsx
9950
+ var import_jsx_runtime23 = require("react/jsx-runtime");
9951
+ var Persona = React7.forwardRef(
9952
+ (props, ref) => {
9953
+ const {
9954
+ name,
9955
+ presence,
9956
+ presenceIcon,
9957
+ isOutOfOffice,
9958
+ label,
9959
+ secondaryLabel,
9960
+ tertiaryLabel,
9961
+ size,
9962
+ hideDetails,
9963
+ children,
9964
+ /** Avatar props */
9965
+ getInitials: getInitials2,
9966
+ icon,
9967
+ loading,
9968
+ onError,
9969
+ src,
9970
+ srcSet,
9971
+ ...rest
9972
+ } = props;
9973
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
9974
+ PersonaRoot,
9975
+ {
9976
+ ref,
9977
+ outOfOffice: isOutOfOffice,
9978
+ presence,
9979
+ ...rest,
9980
+ children: [
9981
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
9982
+ PersonaAvatar,
9983
+ {
9984
+ name,
9985
+ size,
9986
+ getInitials: getInitials2,
9987
+ icon,
9988
+ loading,
9989
+ onError,
9990
+ src,
9991
+ srcSet,
9992
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(PersonaPresenceBadge, { children: presenceIcon })
9993
+ }
9994
+ ),
9995
+ !hideDetails && /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(PersonaDetails, { children: [
9996
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(PersonaLabel, { children: label || name }),
9997
+ secondaryLabel && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(PersonaSecondaryLabel, { children: secondaryLabel }),
9998
+ tertiaryLabel && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(PersonaTertiaryLabel, { children: tertiaryLabel }),
9999
+ children
10000
+ ] })
10001
+ ]
10002
+ }
10003
+ );
10004
+ }
10005
+ );
10006
+ Persona.displayName = "Persona";
10007
+ var PersonaAvatar2 = React7.forwardRef(function PersonaAvatar3(props, ref) {
10008
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Persona, { ref, ...props, hideDetails: true });
10009
+ });
10010
+
10011
+ // src/components/persona/presence.ts
10012
+ var defaultPresenceOptions = {
10013
+ online: {
10014
+ label: "Online",
10015
+ color: "presence.online"
10016
+ },
10017
+ offline: {
10018
+ label: "Offline",
10019
+ color: "presence.offline"
10020
+ },
10021
+ busy: {
10022
+ label: "Busy",
10023
+ color: "presence.busy"
10024
+ },
10025
+ dnd: {
10026
+ label: "Do-not-disturb",
10027
+ color: "presence.dnd"
10028
+ },
10029
+ away: {
10030
+ label: "Away",
10031
+ color: "presence.away"
10032
+ }
10033
+ };
10034
+
10035
+ // src/components/pin-input/pin-input.tsx
10036
+ var import_react145 = require("react");
10037
+ var import_react146 = require("@chakra-ui/react");
10038
+ var import_jsx_runtime24 = require("react/jsx-runtime");
10039
+ var PinInput = (0, import_react145.forwardRef)(
10040
+ function PinInput2(props, ref) {
10041
+ const {
10042
+ pinLength = 4,
10043
+ inputProps,
10044
+ rootRef,
10045
+ attached,
10046
+ gap = attached ? 0 : 2,
10047
+ ...rest
10048
+ } = props;
10049
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_react146.PinInput.Root, { ref: rootRef, ...rest, children: [
10050
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react146.PinInput.HiddenInput, { ref, ...inputProps }),
10051
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react146.PinInput.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react146.Group, { attached, gap, children: Array.from({ length: pinLength }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react146.PinInput.Input, { index }, index)) }) })
10052
+ ] });
10053
+ }
10054
+ );
10055
+
10056
+ // src/components/radio/radio.tsx
10057
+ var import_react147 = require("react");
10058
+ var import_react148 = require("@chakra-ui/react");
10059
+ var import_jsx_runtime25 = require("react/jsx-runtime");
10060
+ var Radio = (0, import_react147.forwardRef)(
10061
+ function Radio2(props, ref) {
10062
+ const { children, inputProps, rootRef, ...rest } = props;
10063
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_react148.RadioGroup.Item, { ref: rootRef, ...rest, children: [
10064
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react148.RadioGroup.ItemHiddenInput, { ref, ...inputProps }),
10065
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react148.RadioGroup.ItemIndicator, {}),
10066
+ children && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react148.RadioGroup.ItemText, { children })
10067
+ ] });
10068
+ }
10069
+ );
10070
+ var RadioGroup = import_react148.RadioGroup.Root;
10071
+
10072
+ // src/components/search-input/search-input.tsx
10073
+ var import_react149 = __toESM(require("react"), 1);
10074
+ var import_react150 = require("@chakra-ui/react");
10075
+ var import_utils9 = require("@saas-ui/core/utils");
10076
+ var import_jsx_runtime26 = require("react/jsx-runtime");
10077
+ var SearchInput = (0, import_react149.forwardRef)(
10078
+ (props, ref) => {
10079
+ const {
10080
+ placeholder = "Search",
10081
+ value: valueProp,
10082
+ defaultValue: defaultValueProp,
10083
+ size,
10084
+ variant,
10085
+ width = "full",
10086
+ icon = /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SearchIcon, {}),
10087
+ resetIcon,
10088
+ endElement: endElementProp,
10089
+ onChange: onChangeProp,
10090
+ onReset: onResetProp,
10091
+ onKeyDown: onKeyDownProp,
10092
+ disabled,
10093
+ ...inputProps
10094
+ } = props;
10095
+ const inputRef = import_react149.default.useRef(null);
10096
+ const [value, setValue] = (0, import_react150.useControllableState)({
10097
+ value: valueProp,
10098
+ defaultValue: defaultValueProp
10099
+ });
10100
+ const onChange = import_react149.default.useCallback(
10101
+ (e) => {
10102
+ setValue(e.target.value);
10103
+ },
10104
+ [setValue]
10105
+ );
10106
+ const onKeyDown = import_react149.default.useCallback(
10107
+ (event) => {
10108
+ if (event.key === "Escape") {
10109
+ setValue("");
10110
+ onReset();
10111
+ }
10112
+ },
10113
+ [onResetProp, setValue]
10114
+ );
10115
+ const onReset = () => {
10116
+ var _a7;
10117
+ setValue("");
10118
+ onResetProp == null ? void 0 : onResetProp();
10119
+ (_a7 = inputRef.current) == null ? void 0 : _a7.focus();
10120
+ };
10121
+ const showReset = value && !props.disabled;
10122
+ const endElement = showReset ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SearchInputResetButton, { size, children: resetIcon }) : endElementProp;
10123
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_react150.Group, { width, children: [
10124
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
10125
+ import_react150.InputElement,
10126
+ {
10127
+ placement: "start",
10128
+ px: "0",
10129
+ aspectRatio: "9/10",
10130
+ fontSize: size,
10131
+ children: icon
10132
+ }
10133
+ ),
10134
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
10135
+ import_react150.Input,
10136
+ {
10137
+ type: "text",
10138
+ placeholder,
10139
+ variant,
10140
+ size,
10141
+ value,
10142
+ disabled,
10143
+ ref: (0, import_react150.mergeRefs)(ref, inputRef),
10144
+ onChange: (0, import_utils9.callAll)(onChange, onChangeProp),
10145
+ onKeyDown: (0, import_utils9.callAll)(onKeyDown, onKeyDownProp),
10146
+ ps: "calc(var(--input-height) - var(--input-height) / 10)",
10147
+ pe: "calc(var(--input-height) - var(--input-height) / 10)",
10148
+ ...inputProps
10149
+ }
10150
+ ),
10151
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react150.InputElement, { placement: "end", children: endElement })
10152
+ ] });
10153
+ }
10154
+ );
10155
+ var SearchInputResetButton = (0, import_react149.forwardRef)(
10156
+ (props, ref) => {
10157
+ const { children = /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(CloseIcon, {}), ...rest } = props;
10158
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
10159
+ import_react150.IconButton,
10160
+ {
10161
+ ref,
10162
+ variant: "ghost",
10163
+ "aria-label": "Reset search",
10164
+ me: "-2",
10165
+ aspectRatio: "square",
10166
+ height: "calc(100% - {spacing.2})",
10167
+ ...rest,
10168
+ children
10169
+ }
10170
+ );
10171
+ }
10172
+ );
10173
+ SearchInput.displayName = "SearchInput";
10174
+
10175
+ // src/components/select/namespace.ts
10176
+ var namespace_exports3 = {};
10177
+ __export(namespace_exports3, {
10178
+ Content: () => SelectContent,
10179
+ Item: () => SelectItem,
10180
+ ItemGroup: () => SelectItemGroup,
10181
+ ItemText: () => SelectItemText,
10182
+ Label: () => SelectLabel,
10183
+ Root: () => SelectRoot,
10184
+ Trigger: () => SelectTrigger,
10185
+ ValueText: () => SelectValueText
10186
+ });
10187
+
10188
+ // src/components/select/select.tsx
10189
+ var import_react151 = require("react");
10190
+ var import_react152 = require("@chakra-ui/react");
10191
+ var import_jsx_runtime27 = require("react/jsx-runtime");
10192
+ var SelectTrigger = (0, import_react151.forwardRef)(
10193
+ function SelectTrigger2(props, ref) {
10194
+ const { children, clearable, ...rest } = props;
10195
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_react152.Select.Control, { ...rest, children: [
10196
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react152.Select.Trigger, { ref, children }),
10197
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_react152.Select.IndicatorGroup, { children: [
10198
+ clearable && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SelectClearTrigger, {}),
10199
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react152.Select.Indicator, {})
10200
+ ] })
10201
+ ] });
10202
+ }
10203
+ );
10204
+ var SelectClearTrigger = (0, import_react151.forwardRef)(function SelectClearTrigger2(props, ref) {
10205
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react152.Select.ClearTrigger, { asChild: true, ...props, ref, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
10206
+ CloseButton,
10207
+ {
10208
+ size: "xs",
10209
+ variant: "plain",
10210
+ focusVisibleRing: "inside",
10211
+ focusRingWidth: "2px",
10212
+ pointerEvents: "auto"
10213
+ }
10214
+ ) });
10215
+ });
10216
+ var SelectContent = (0, import_react151.forwardRef)(
10217
+ function SelectContent2(props, ref) {
10218
+ const { portalled = true, portalRef, ...rest } = props;
10219
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react152.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react152.Select.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react152.Select.Content, { ...rest, ref }) }) });
10220
+ }
10221
+ );
10222
+ var SelectItem = (0, import_react151.forwardRef)(
10223
+ function SelectItem2(props, ref) {
10224
+ const { item, children, ...rest } = props;
10225
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_react152.Select.Item, { item, ...rest, ref, children: [
10226
+ children,
10227
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react152.Select.ItemIndicator, {})
10228
+ ] }, item.value);
10229
+ }
10230
+ );
10231
+ var SelectValueText = (0, import_react151.forwardRef)(function SelectValueText2(props, ref) {
10232
+ const { children, ...rest } = props;
10233
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react152.Select.ValueText, { ...rest, ref, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react152.Select.Context, { children: (select) => {
10234
+ const items = select.selectedItems;
10235
+ if (items.length === 0) return props.placeholder;
10236
+ if (children) return children(items);
10237
+ if (items.length === 1)
10238
+ return select.collection.stringifyItem(items[0]);
10239
+ return `${items.length} selected`;
10240
+ } }) });
10241
+ });
10242
+ var SelectRoot = (0, import_react151.forwardRef)(function SelectRoot2(props, ref) {
10243
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
10244
+ import_react152.Select.Root,
10245
+ {
10246
+ ...props,
10247
+ ref,
10248
+ positioning: { sameWidth: true, ...props.positioning }
10249
+ }
10250
+ );
10251
+ });
10252
+ var SelectItemGroup = (0, import_react151.forwardRef)(
10253
+ function SelectItemGroup2(props, ref) {
10254
+ const { children, label, ...rest } = props;
10255
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_react152.Select.ItemGroup, { ...rest, ref, children: [
10256
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react152.Select.ItemGroupLabel, { children: label }),
10257
+ children
10258
+ ] });
10259
+ }
10260
+ );
10261
+ var SelectLabel = import_react152.Select.Label;
10262
+ var SelectItemText = import_react152.Select.ItemText;
10263
+
10264
+ // src/components/segmented-control/segmented-control.tsx
10265
+ var import_react153 = require("react");
10266
+ var import_react154 = require("@chakra-ui/react");
10267
+ var import_jsx_runtime28 = require("react/jsx-runtime");
10268
+ function normalize(items) {
10269
+ return items.map((item) => {
10270
+ if (typeof item === "string") return { value: item, label: item };
10271
+ return item;
10272
+ });
10273
+ }
10274
+ var SegmentedControl = (0, import_react153.forwardRef)(function SegmentedControl2(props, ref) {
10275
+ const { items, ...rest } = props;
10276
+ const data = (0, import_react153.useMemo)(() => normalize(items), [items]);
10277
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_react154.SegmentGroup.Root, { ref, ...rest, children: [
10278
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react154.SegmentGroup.Indicator, {}),
10279
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react154.For, { each: data, children: (item) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
10280
+ import_react154.SegmentGroup.Item,
10281
+ {
10282
+ value: item.value,
10283
+ disabled: item.disabled,
10284
+ children: [
10285
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react154.SegmentGroup.ItemText, { children: item.label }),
10286
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react154.SegmentGroup.ItemHiddenInput, {})
10287
+ ]
10288
+ },
10289
+ item.value
10290
+ ) })
10291
+ ] });
10292
+ });
10293
+
10294
+ // src/components/sidebar/sidebar.tsx
10295
+ var sidebar_exports = {};
10296
+ __export(sidebar_exports, {
10297
+ Backdrop: () => SidebarBackdrop,
10298
+ Body: () => SidebarBody,
10299
+ FlyoutTrigger: () => SidebarFlyoutTrigger,
10300
+ Footer: () => SidebarFooter,
10301
+ Group: () => SidebarGroup,
10302
+ GroupContent: () => SidebarGroupContent,
10303
+ GroupEndElement: () => SidebarGroupEndElement,
10304
+ GroupHeader: () => SidebarGroupHeader,
10305
+ GroupTitle: () => SidebarGroupTitle,
10306
+ Header: () => SidebarHeader,
10307
+ NavButton: () => SidebarNavButton,
10308
+ NavButtonEndElement: () => SidebarNavButtonEndElement,
10309
+ NavItem: () => SidebarNavItem,
10310
+ Provider: () => SidebarProvider,
10311
+ Root: () => SidebarRoot,
10312
+ Track: () => SidebarTrack,
10313
+ Trigger: () => SidebarTrigger
10314
+ });
10315
+ var import_sidebar = require("@saas-ui/core/sidebar");
10316
+
10317
+ // src/components/sidebar/sidebar.context.ts
10318
+ var import_react155 = require("@chakra-ui/react");
10319
+ var {
10320
+ withContext: withContext7,
10321
+ useRecipeResult,
10322
+ StylesProvider,
10323
+ ClassNamesProvider,
10324
+ useStyles: useSidebarStyles
10325
+ } = (0, import_react155.createSlotRecipeContext)({
10326
+ key: "suiSidebar"
10327
+ });
10328
+ var {
10329
+ withProvider: withItemProvider,
10330
+ withContext: withItemContext,
10331
+ useStyles: useSidebarItemStyles
10332
+ } = (0, import_react155.createSlotRecipeContext)({
10333
+ key: "suiSidebarNavItem"
10334
+ });
10335
+
10336
+ // src/components/sidebar/sidebar.tsx
10337
+ var import_jsx_runtime29 = require("react/jsx-runtime");
10338
+ var SidebarProvider = function SidebarProvider2(props) {
10339
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_sidebar.Sidebar.Provider, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(RecipeProvider, { ...props, children: props.children }) });
10340
+ };
10341
+ function RecipeProvider(props) {
10342
+ const { mode } = (0, import_sidebar.useSidebar)();
10343
+ const { styles, classNames } = useRecipeResult({
10344
+ ...props,
10345
+ mode
10346
+ });
10347
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(StylesProvider, { value: styles, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ClassNamesProvider, { value: classNames, children: props.children }) });
10348
+ }
10349
+ var SidebarRoot = withContext7(
10350
+ import_sidebar.Sidebar.Root,
10351
+ "root"
10352
+ );
10353
+ var SidebarTrigger = withContext7(
10354
+ import_sidebar.Sidebar.Trigger,
10355
+ "trigger",
10356
+ {
10357
+ forwardAsChild: true
10358
+ }
10359
+ );
10360
+ var SidebarFlyoutTrigger = withContext7(import_sidebar.Sidebar.FlyoutTrigger, "flyoutTrigger", {
10361
+ forwardAsChild: true
10362
+ });
10363
+ var SidebarBackdrop = withContext7(
10364
+ import_sidebar.Sidebar.Backdrop,
10365
+ "backdrop",
10366
+ {
10367
+ forwardAsChild: true
10368
+ }
10369
+ );
10370
+ var SidebarHeader = withContext7(
10371
+ import_sidebar.Sidebar.Header,
10372
+ "header"
10373
+ );
10374
+ var SidebarBody = withContext7(
10375
+ import_sidebar.Sidebar.Body,
10376
+ "body"
10377
+ );
10378
+ var SidebarFooter = withContext7(
10379
+ import_sidebar.Sidebar.Footer,
10380
+ "footer"
10381
+ );
10382
+ var SidebarTrack = withContext7(
10383
+ import_sidebar.Sidebar.Track,
10384
+ "track",
10385
+ {
10386
+ forwardAsChild: true
10387
+ }
10388
+ );
10389
+ var SidebarGroup = withContext7(
10390
+ import_sidebar.Sidebar.Group,
10391
+ "group",
10392
+ {
10393
+ defaultProps: {
10394
+ role: "group"
10395
+ }
10396
+ }
10397
+ );
10398
+ var SidebarGroupHeader = withContext7(
10399
+ import_sidebar.Sidebar.GroupHeader,
10400
+ "groupHeader"
10401
+ );
10402
+ var SidebarGroupTitle = withContext7(import_sidebar.Sidebar.GroupTitle, "groupTitle");
10403
+ var SidebarGroupEndElement = withContext7(import_sidebar.Sidebar.GroupEndElement, "groupEndElement");
10404
+ var SidebarGroupContent = withContext7(
10405
+ import_sidebar.Sidebar.GroupContent,
10406
+ "groupContent"
10407
+ );
10408
+ var SidebarNavItem = withItemProvider(
10409
+ import_sidebar.Sidebar.NavItem,
10410
+ "item"
10411
+ );
10412
+ var SidebarNavButton = withItemContext(import_sidebar.Sidebar.NavButton, "button", {
10413
+ forwardAsChild: true
10414
+ });
10415
+ var SidebarNavButtonEndElement = withItemContext(import_sidebar.Sidebar.NavItemEndElement, "endElement", {
10416
+ defaultProps: {
10417
+ "data-slot": "endElement"
10418
+ }
10419
+ });
10420
+
10421
+ // src/components/sidebar/index.ts
10422
+ var import_sidebar2 = require("@saas-ui/core/sidebar");
10423
+
10424
+ // src/components/toaster/toaster.tsx
10425
+ var import_react156 = require("@chakra-ui/react");
10426
+ var import_jsx_runtime30 = require("react/jsx-runtime");
10427
+ var toast = (0, import_react156.createToaster)({
10428
+ placement: "bottom-end",
10429
+ pauseOnPageIdle: true
10430
+ });
10431
+ var Toaster = () => {
10432
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react156.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react156.Toaster, { toaster: toast, insetInline: { mdDown: "4" }, children: (toast2) => {
10433
+ var _a7;
10434
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_react156.Toast.Root, { width: { md: "sm" }, children: [
10435
+ toast2.type === "loading" ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react156.Spinner, { size: "sm", color: "colorPalette.solid" }) : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react156.Toast.Indicator, {}),
10436
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_react156.Stack, { gap: "1", flex: "1", maxWidth: "100%", children: [
10437
+ toast2.title && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react156.Toast.Title, { children: toast2.title }),
10438
+ toast2.description && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react156.Toast.Description, { children: toast2.description })
10439
+ ] }),
10440
+ toast2.action && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react156.Toast.ActionTrigger, { children: toast2.action.label }),
10441
+ ((_a7 = toast2.meta) == null ? void 0 : _a7.closable) && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react156.Toast.CloseTrigger, {})
10442
+ ] });
10443
+ } }) });
10444
+ };
10445
+
10446
+ // src/components/steps/steps.tsx
10447
+ var steps_exports = {};
10448
+ __export(steps_exports, {
10449
+ CompletedContent: () => StepsCompletedContent,
10450
+ Content: () => StepsContent,
10451
+ Indicator: () => StepsIndicator,
10452
+ Item: () => StepsItem,
10453
+ List: () => StepsList,
10454
+ NextTrigger: () => StepsNextTrigger,
10455
+ PrevTrigger: () => StepsPrevTrigger,
10456
+ Root: () => StepsRoot
10457
+ });
10458
+ var import_react157 = require("@chakra-ui/react");
10459
+ var import_jsx_runtime31 = require("react/jsx-runtime");
10460
+ var StepsItem = (props) => {
10461
+ const { title, description, completedIcon, icon, ...rest } = props;
10462
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_react157.Steps.Item, { ...rest, children: [
10463
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_react157.Steps.Trigger, { children: [
10464
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
10465
+ import_react157.Steps.Status,
10466
+ {
10467
+ complete: completedIcon || /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(CheckIcon, {}),
10468
+ incomplete: icon || /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Number, {})
10469
+ }
10470
+ ) }),
10471
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(StepInfo, { title, description })
10472
+ ] }),
10473
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Separator, {})
10474
+ ] });
10475
+ };
10476
+ var StepInfo = (props) => {
10477
+ const { title, description } = props;
10478
+ if (title && description) {
10479
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_react157.Box, { children: [
10480
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Title, { children: title }),
10481
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Description, { children: description })
10482
+ ] });
10483
+ }
10484
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_jsx_runtime31.Fragment, { children: [
10485
+ title && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Title, { children: title }),
10486
+ description && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Description, { children: description })
10487
+ ] });
10488
+ };
10489
+ var StepsIndicator = (props) => {
10490
+ const { icon = /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Number, {}), completedIcon } = props;
10491
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.Status, { complete: completedIcon, incomplete: icon }) });
10492
+ };
10493
+ var StepsList = import_react157.Steps.List;
10494
+ var StepsRoot = import_react157.Steps.Root;
10495
+ var StepsContent = import_react157.Steps.Content;
10496
+ var StepsCompletedContent = import_react157.Steps.CompletedContent;
10497
+ var StepsNextTrigger = (props) => {
10498
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.NextTrigger, { ...props });
10499
+ };
10500
+ var StepsPrevTrigger = (props) => {
10501
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react157.Steps.PrevTrigger, { ...props });
10502
+ };
10503
+
10504
+ // src/components/switch/switch.tsx
10505
+ var import_react158 = require("@chakra-ui/react");
10506
+ var import_react159 = require("react");
10507
+ var import_jsx_runtime32 = require("react/jsx-runtime");
10508
+ var Switch = (0, import_react159.forwardRef)(
10509
+ function Switch2(props, ref) {
10510
+ const { inputProps, children, rootRef, trackLabel, thumbLabel, ...rest } = props;
10511
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_react158.Switch.Root, { ref: rootRef, ...rest, children: [
10512
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react158.Switch.HiddenInput, { ref, ...inputProps }),
10513
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_react158.Switch.Control, { children: [
10514
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react158.Switch.Thumb, { children: thumbLabel && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react158.Switch.ThumbIndicator, { fallback: thumbLabel == null ? void 0 : thumbLabel.off, children: thumbLabel == null ? void 0 : thumbLabel.on }) }),
10515
+ trackLabel && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react158.Switch.Indicator, { fallback: trackLabel.off, children: trackLabel.on })
10516
+ ] }),
10517
+ children != null && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react158.Switch.Label, { children })
10518
+ ] });
10519
+ }
10520
+ );
10521
+
10522
+ // src/components/tooltip/tooltip.tsx
10523
+ var import_react160 = require("react");
10524
+ var import_react161 = require("@chakra-ui/react");
10525
+ var import_jsx_runtime33 = require("react/jsx-runtime");
10526
+ var Tooltip = (0, import_react160.forwardRef)(
10527
+ function Tooltip2(props, ref) {
10528
+ const {
10529
+ showArrow,
10530
+ children,
10531
+ disabled,
10532
+ portalled,
10533
+ content,
10534
+ contentProps,
10535
+ portalRef,
10536
+ ...rest
10537
+ } = props;
10538
+ if (disabled) return children;
10539
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_react161.Tooltip.Root, { ...rest, children: [
10540
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react161.Tooltip.Trigger, { asChild: true, children }),
10541
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react161.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react161.Tooltip.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_react161.Tooltip.Content, { ref, ...contentProps, children: [
10542
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react161.Tooltip.Arrow, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react161.Tooltip.ArrowTip, {}) }),
10543
+ content
10544
+ ] }) }) })
10545
+ ] });
10546
+ }
10547
+ );
8450
10548
  // Annotate the CommonJS export names for ESM import in node:
8451
10549
  0 && (module.exports = {
10550
+ AppShell,
10551
+ Avatar,
10552
+ AvatarGroup,
10553
+ Breadcrumb,
10554
+ Button,
10555
+ Checkbox,
10556
+ CloseButton,
10557
+ Command,
10558
+ Dialog,
10559
+ Drawer,
10560
+ EmptyState,
10561
+ GridList,
10562
+ IconBadge,
10563
+ InputGroup,
10564
+ Link,
10565
+ LoadingOverlay,
10566
+ Menu,
10567
+ Navbar,
10568
+ NumberInput,
10569
+ PasswordInput,
10570
+ Persona,
10571
+ PersonaAvatar,
10572
+ PinInput,
10573
+ Radio,
10574
+ RadioGroup,
10575
+ SearchInput,
10576
+ SegmentedControl,
10577
+ Select,
10578
+ Sidebar,
10579
+ Spinner,
10580
+ Steps,
8452
10581
  SuiContext,
8453
10582
  SuiProvider,
10583
+ Switch,
10584
+ Toaster,
10585
+ Tooltip,
8454
10586
  createSystem,
8455
10587
  defaultConfig,
10588
+ defaultPresenceOptions,
8456
10589
  defaultSystem,
10590
+ toast,
8457
10591
  useLink,
8458
- useSui,
8459
- ...require("@saas-ui/core")
10592
+ useLoadingOverlayStyles,
10593
+ useSidebar,
10594
+ useSidebarItemStyles,
10595
+ useSidebarStyles,
10596
+ useSui
8460
10597
  });
8461
- //# sourceMappingURL=index.cjs.map