@saas-ui/react 3.0.0-alpha.1 → 3.0.0-alpha.11

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