@saas-ui/react 3.0.0-alpha.3 → 3.0.0-alpha.31

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 (208) hide show
  1. package/CHANGELOG.md +410 -1
  2. package/dist/chunk-2EUACKRH.js +26 -0
  3. package/dist/chunk-32DD6PHF.js +63 -0
  4. package/dist/chunk-3JZ42NYM.js +100 -0
  5. package/dist/chunk-3MO37LYW.js +326 -0
  6. package/dist/chunk-46ISJZBS.js +119 -0
  7. package/dist/{chunk-VDXTEASE.js → chunk-4TPVIHNO.js} +10 -1
  8. package/dist/chunk-52XM5VXJ.js +9 -0
  9. package/dist/chunk-5MTFSSOH.js +16 -0
  10. package/dist/chunk-6YZ76Q2W.js +8 -0
  11. package/dist/chunk-6ZNR6N2K.js +45 -0
  12. package/dist/chunk-CQD32UVJ.js +8 -0
  13. package/dist/chunk-GRUMUCSL.js +109 -0
  14. package/dist/chunk-GWC5GCMW.js +177 -0
  15. package/dist/chunk-I2RXEKTB.js +38 -0
  16. package/dist/chunk-IEWHAXXU.js +28 -0
  17. package/dist/chunk-IGT224EZ.js +56 -0
  18. package/dist/chunk-INV6RT5B.js +8 -0
  19. package/dist/chunk-IVLUAUU5.js +10 -0
  20. package/dist/chunk-JMYI6YXR.js +1 -0
  21. package/dist/chunk-JO4WJVYO.js +43 -0
  22. package/dist/chunk-K2SPPLAY.js +231 -0
  23. package/dist/chunk-KE5AC3TZ.js +63 -0
  24. package/dist/chunk-KFXNVUEZ.js +102 -0
  25. package/dist/chunk-L356FPLY.js +20 -0
  26. package/dist/chunk-LTVFG6UC.js +54 -0
  27. package/dist/chunk-MLJN6IOJ.js +96 -0
  28. package/dist/chunk-MS2ELLDY.js +26 -0
  29. package/dist/chunk-NGGISORT.js +29 -0
  30. package/dist/chunk-NGSHWY7E.js +27 -0
  31. package/dist/chunk-NSD5HRIP.js +46 -0
  32. package/dist/chunk-Q6SNJJO2.js +63 -0
  33. package/dist/chunk-QSNSWCTM.js +32 -0
  34. package/dist/chunk-RLIAFHVM.js +66 -0
  35. package/dist/chunk-S5J6REMC.js +40 -0
  36. package/dist/chunk-SA3OGTOO.js +23 -0
  37. package/dist/chunk-SKXSBAOS.js +35 -0
  38. package/dist/{components/breadcrumbs/index.js → chunk-TT4C5VXB.js} +6 -7
  39. package/dist/chunk-TZBAM4AD.js +20 -0
  40. package/dist/chunk-U23VDAWJ.js +143 -0
  41. package/dist/chunk-UASXI64E.js +34 -0
  42. package/dist/chunk-VZG7EJ64.js +70 -0
  43. package/dist/chunk-WYLMBMAH.js +22 -0
  44. package/dist/chunk-YHQ5JGCC.js +1 -0
  45. package/dist/chunk-YKSY7UOM.js +20 -0
  46. package/dist/{chunk-FZW2DYK3.js → chunk-YXGJOOMM.js} +1 -1
  47. package/dist/components/app-shell/index.cjs +1 -1
  48. package/dist/components/app-shell/index.d.cts +1 -1
  49. package/dist/components/app-shell/index.d.ts +1 -1
  50. package/dist/components/app-shell/index.js +3 -40
  51. package/dist/components/avatar/index.cjs +69 -0
  52. package/dist/components/avatar/index.d.cts +18 -0
  53. package/dist/components/avatar/index.d.ts +18 -0
  54. package/dist/components/avatar/index.js +11 -0
  55. package/dist/components/badge/index.cjs +31 -0
  56. package/dist/components/badge/index.d.cts +7 -0
  57. package/dist/components/badge/index.d.ts +7 -0
  58. package/dist/components/badge/index.js +8 -0
  59. package/dist/components/{breadcrumbs → breadcrumb}/index.cjs +8 -10
  60. package/dist/components/{breadcrumbs → breadcrumb}/index.d.cts +3 -4
  61. package/dist/components/{breadcrumbs → breadcrumb}/index.d.ts +3 -4
  62. package/dist/components/breadcrumb/index.js +8 -0
  63. package/dist/components/button/index.cjs +8 -26
  64. package/dist/components/button/index.js +3 -40
  65. package/dist/components/card/index.cjs +31 -0
  66. package/dist/components/card/index.d.cts +1 -0
  67. package/dist/components/card/index.d.ts +1 -0
  68. package/dist/components/card/index.js +8 -0
  69. package/dist/components/checkbox/index.js +3 -15
  70. package/dist/components/close-button/index.cjs +8 -0
  71. package/dist/components/close-button/index.js +3 -2
  72. package/dist/components/command/index.cjs +13 -13
  73. package/dist/components/command/index.d.cts +28 -2
  74. package/dist/components/command/index.d.ts +28 -2
  75. package/dist/components/command/index.js +3 -28
  76. package/dist/components/data-list/index.cjs +33 -0
  77. package/dist/components/data-list/index.d.cts +1 -0
  78. package/dist/components/data-list/index.d.ts +1 -0
  79. package/dist/components/data-list/index.js +10 -0
  80. package/dist/components/dialog/index.cjs +51 -90
  81. package/dist/components/dialog/index.d.cts +35 -16
  82. package/dist/components/dialog/index.d.ts +35 -16
  83. package/dist/components/dialog/index.js +7 -69
  84. package/dist/components/drawer/index.cjs +55 -97
  85. package/dist/components/drawer/index.d.cts +34 -18
  86. package/dist/components/drawer/index.d.ts +34 -18
  87. package/dist/components/drawer/index.js +7 -61
  88. package/dist/components/empty-state/index.cjs +50 -0
  89. package/dist/components/empty-state/index.d.cts +11 -0
  90. package/dist/components/empty-state/index.d.ts +11 -0
  91. package/dist/components/empty-state/index.js +8 -0
  92. package/dist/components/file-upload/index.cjs +254 -0
  93. package/dist/components/file-upload/index.d.cts +43 -0
  94. package/dist/components/file-upload/index.d.ts +43 -0
  95. package/dist/components/file-upload/index.js +10 -0
  96. package/dist/components/grid-list/index.cjs +68 -0
  97. package/dist/components/grid-list/index.d.cts +84 -0
  98. package/dist/components/grid-list/index.d.ts +84 -0
  99. package/dist/components/grid-list/index.js +8 -0
  100. package/dist/components/icon-badge/index.cjs +1 -1
  101. package/dist/components/icon-badge/index.d.cts +1 -1
  102. package/dist/components/icon-badge/index.d.ts +1 -1
  103. package/dist/components/icon-badge/index.js +3 -33
  104. package/dist/components/icon-button/index.cjs +67 -0
  105. package/dist/components/icon-button/index.d.cts +9 -0
  106. package/dist/components/icon-button/index.d.ts +9 -0
  107. package/dist/components/icon-button/index.js +9 -0
  108. package/dist/components/icons/index.cjs +10 -0
  109. package/dist/components/icons/index.d.cts +2 -1
  110. package/dist/components/icons/index.d.ts +2 -1
  111. package/dist/components/icons/index.js +3 -1
  112. package/dist/components/input/index.cjs +37 -0
  113. package/dist/components/input/index.d.cts +1 -0
  114. package/dist/components/input/index.d.ts +1 -0
  115. package/dist/components/input/index.js +14 -0
  116. package/dist/components/link/index.js +3 -14
  117. package/dist/components/loading-overlay/index.cjs +44 -1878
  118. package/dist/components/loading-overlay/index.d.cts +19 -6
  119. package/dist/components/loading-overlay/index.d.ts +19 -6
  120. package/dist/components/loading-overlay/index.js +7 -1874
  121. package/dist/components/menu/index.cjs +239 -0
  122. package/dist/components/menu/index.d.cts +39 -0
  123. package/dist/components/menu/index.d.ts +39 -0
  124. package/dist/components/menu/index.js +11 -0
  125. package/dist/components/navbar/index.cjs +61 -15
  126. package/dist/components/navbar/index.d.cts +12 -9
  127. package/dist/components/navbar/index.d.ts +12 -9
  128. package/dist/components/navbar/index.js +5 -38
  129. package/dist/components/number-input/index.cjs +9 -1
  130. package/dist/components/number-input/index.js +3 -26
  131. package/dist/components/pagination/index.cjs +215 -0
  132. package/dist/components/pagination/index.d.cts +41 -0
  133. package/dist/components/pagination/index.d.ts +41 -0
  134. package/dist/components/pagination/index.js +9 -0
  135. package/dist/components/password-input/index.cjs +2 -2
  136. package/dist/components/password-input/index.js +3 -225
  137. package/dist/components/persona/index.cjs +101 -36
  138. package/dist/components/persona/index.d.cts +131 -5
  139. package/dist/components/persona/index.d.ts +131 -5
  140. package/dist/components/persona/index.js +8 -144
  141. package/dist/components/pin-input/index.js +3 -21
  142. package/dist/components/popover/index.cjs +214 -0
  143. package/dist/components/popover/index.d.cts +37 -0
  144. package/dist/components/popover/index.d.ts +37 -0
  145. package/dist/components/popover/index.js +11 -0
  146. package/dist/components/progress/index.cjs +31 -0
  147. package/dist/components/progress/index.d.cts +1 -0
  148. package/dist/components/progress/index.d.ts +1 -0
  149. package/dist/components/progress/index.js +8 -0
  150. package/dist/components/progress-circle/index.cjs +31 -0
  151. package/dist/components/progress-circle/index.d.cts +1 -0
  152. package/dist/components/progress-circle/index.d.ts +1 -0
  153. package/dist/components/progress-circle/index.js +8 -0
  154. package/dist/components/radio/index.js +4 -16
  155. package/dist/components/search-input/index.cjs +8 -0
  156. package/dist/components/search-input/index.js +4 -114
  157. package/dist/components/segmented-control/index.cjs +60 -0
  158. package/dist/components/segmented-control/index.d.cts +14 -0
  159. package/dist/components/segmented-control/index.d.ts +14 -0
  160. package/dist/components/segmented-control/index.js +8 -0
  161. package/dist/components/select/index.cjs +8 -0
  162. package/dist/components/select/index.js +6 -95
  163. package/dist/components/sidebar/index.cjs +66 -32
  164. package/dist/components/sidebar/index.d.cts +30 -25
  165. package/dist/components/sidebar/index.d.ts +30 -25
  166. package/dist/components/sidebar/index.js +7 -101
  167. package/dist/components/status/index.cjs +45 -0
  168. package/dist/components/status/index.d.cts +17 -0
  169. package/dist/components/status/index.d.ts +17 -0
  170. package/dist/components/status/index.js +8 -0
  171. package/dist/components/steps/index.cjs +17 -10
  172. package/dist/components/steps/index.d.cts +4 -4
  173. package/dist/components/steps/index.d.ts +4 -4
  174. package/dist/components/steps/index.js +6 -67
  175. package/dist/components/switch/index.js +3 -18
  176. package/dist/components/tabs/index.cjs +35 -0
  177. package/dist/components/tabs/index.d.cts +1 -0
  178. package/dist/components/tabs/index.d.ts +1 -0
  179. package/dist/components/tabs/index.js +12 -0
  180. package/dist/components/tag/index.cjs +53 -0
  181. package/dist/components/tag/index.d.cts +12 -0
  182. package/dist/components/tag/index.d.ts +12 -0
  183. package/dist/components/tag/index.js +8 -0
  184. package/dist/components/textarea/index.cjs +31 -0
  185. package/dist/components/textarea/index.d.cts +1 -0
  186. package/dist/components/textarea/index.d.ts +1 -0
  187. package/dist/components/textarea/index.js +8 -0
  188. package/dist/components/toaster/index.cjs +204 -0
  189. package/dist/components/toaster/index.d.cts +11 -0
  190. package/dist/components/toaster/index.d.ts +11 -0
  191. package/dist/components/toaster/index.js +12 -0
  192. package/dist/components/tooltip/index.cjs +57 -0
  193. package/dist/components/tooltip/index.d.cts +14 -0
  194. package/dist/components/tooltip/index.d.ts +14 -0
  195. package/dist/components/tooltip/index.js +8 -0
  196. package/dist/index.cjs +8618 -5735
  197. package/dist/index.d.cts +50 -2
  198. package/dist/index.d.ts +50 -2
  199. package/dist/index.js +5733 -5021
  200. package/dist/theme/tokens/colors.cjs +349 -0
  201. package/dist/theme/tokens/colors.d.cts +856 -0
  202. package/dist/theme/tokens/colors.d.ts +856 -0
  203. package/dist/theme/tokens/colors.js +8 -0
  204. package/dist/types-DnFoUudY.d.cts +10 -0
  205. package/dist/types-DnFoUudY.d.ts +10 -0
  206. package/package.json +11 -4
  207. package/dist/chunk-VBIVLREP.js +0 -45
  208. /package/dist/{chunk-KHRLZUV4.js → chunk-O2WVT2BP.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,238 @@
1
1
  # @saas-ui/react
2
2
 
3
+ ## 3.0.0-alpha.31
4
+
5
+ ### Patch Changes
6
+
7
+ - Inputs now use semanti radii tokens
8
+ - SegmentGroup now use semantic radii tokens
9
+ - Forward ref to LoadingOverlay.Root
10
+
11
+ ## 3.0.0-alpha.30
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [0f49a18]
16
+ - @saas-ui/hooks@3.0.0-alpha.5
17
+ - @saas-ui/core@3.0.0-alpha.8
18
+
19
+ ## 3.0.0-alpha.29
20
+
21
+ ### Patch Changes
22
+
23
+ - Improved text selection color contrast
24
+
25
+ ## 3.0.0-alpha.28
26
+
27
+ ### Patch Changes
28
+
29
+ - 6a8bf46: Decreased default overlay translucency
30
+ - 6a8bf46: Fix dialog backdrop z-index
31
+
32
+ ## 3.0.0-alpha.27
33
+
34
+ ### Patch Changes
35
+
36
+ - 56b0623: Update with upstream changes
37
+ - 56b0623: Fixed issue where backdrop would render on top of dialog and drawer
38
+
39
+ ## 3.0.0-alpha.26
40
+
41
+ ### Patch Changes
42
+
43
+ - c51e12c: Improved radii tokens
44
+
45
+ ## 3.0.0-alpha.25
46
+
47
+ ### Minor Changes
48
+
49
+ - 8d8ffaa: Translucency and backdrop effect of overlay elements can now be configured
50
+ - 8d8ffaa: Added FileUpload component
51
+ - 8d8ffaa: Added Popover component
52
+ - 8d8ffaa: Added semantic tokens and scales for control, panel and indicator
53
+
54
+ ### Patch Changes
55
+
56
+ - 8d8ffaa: Added ghost variant to tabs recipe
57
+
58
+ ## 3.0.0-alpha.24
59
+
60
+ ### Minor Changes
61
+
62
+ - ac2d80d: Improved toaster styles and allow setting global defaults
63
+
64
+ ### Patch Changes
65
+
66
+ - 9d47676: Improved tabs recipe, new pills variant and xs size
67
+
68
+ ## 3.0.0-alpha.23
69
+
70
+ ### Patch Changes
71
+
72
+ - 8ac704a: Improved tag recipe and support status component.
73
+
74
+ ## 3.0.0-alpha.22
75
+
76
+ ### Minor Changes
77
+
78
+ - Added Status component
79
+ - Added Badge and Tag components
80
+
81
+ ### Patch Changes
82
+
83
+ - Fixed GridList prop forwarding
84
+ - Changed default Button variant to surface
85
+ - Fixed issue where Button colorPalette could not be changed using the recipe
86
+ - Rename Drawer and Dialog CloseTrigger to CloseButton
87
+ - Improved Button glass variant hover color
88
+ - Improved semantic grays and shadows balance
89
+
90
+ ## 3.0.0-alpha.21
91
+
92
+ ### Patch Changes
93
+
94
+ - 6f9f04d: Fixed issue where Sidebar mode could not be controlled
95
+ - Updated dependencies [6f9f04d]
96
+ - @saas-ui/core@3.0.0-alpha.7
97
+
98
+ ## 3.0.0-alpha.20
99
+
100
+ ### Minor Changes
101
+
102
+ - f85d493: Added Sidebar.Context component that allows you to access sidebar context using a render prop
103
+ - f85d493: Sidebar mode can now be controlled using the sidebar context
104
+
105
+ ### Patch Changes
106
+
107
+ - Updated dependencies [f85d493]
108
+ - Updated dependencies [f85d493]
109
+ - @saas-ui/core@3.0.0-alpha.6
110
+
111
+ ## 3.0.0-alpha.19
112
+
113
+ ### Patch Changes
114
+
115
+ - ba3b566: Improved Sidebar contrast
116
+ - 38082d4: Improved horizontal field styles
117
+ - ba3b566: Improved focusRing styles
118
+ - ba3b566: Added SegmentControl stories and made sizing consistent with buttons
119
+ - 3a73bc8: Fixed incorrect props type for GridListRoot
120
+ - ba3b566: Sidebar.Button now renders a div with role="button"
121
+ - 727b902: Allow click event on Sidebar.Track to be prevented
122
+
123
+ ## 3.0.0-alpha.18
124
+
125
+ ### Minor Changes
126
+
127
+ - eb02362: Improved GridList recipe
128
+
129
+ ### Patch Changes
130
+
131
+ - e7fe684: Export Pagination Context component
132
+ - eb02362: Add missing PaginationPageTextProps export
133
+ - Updated dependencies [eb02362]
134
+ - @saas-ui/core@3.0.0-alpha.5
135
+
136
+ ## 3.0.0-alpha.17
137
+
138
+ ### Minor Changes
139
+
140
+ - a2ef175: Added Pagination component
141
+
142
+ ## 3.0.0-alpha.16
143
+
144
+ ### Patch Changes
145
+
146
+ - 205580d: Added option to customize the Command modifiers
147
+ - 205580d: Added size variant to Command
148
+
149
+ ## 3.0.0-alpha.15
150
+
151
+ ### Patch Changes
152
+
153
+ - 2285040: Improved avatar and persona sizes
154
+ - 2285040: No longer showing presence badge if no presence is set
155
+
156
+ ## 3.0.0-alpha.14
157
+
158
+ ### Patch Changes
159
+
160
+ - 0067207: Fixed issue where paddingStart would not apply to grouped inputs
161
+ - 0067207: Added 4.5 spacing
162
+
163
+ ## 3.0.0-alpha.13
164
+
165
+ ### Patch Changes
166
+
167
+ - b51aff9: Improved form components recipes sizing
168
+ - b51aff9: Fixed passing menu button props to button component
169
+
170
+ ## 3.0.0-alpha.12
171
+
172
+ ### Patch Changes
173
+
174
+ - 61ce1b5: Fixed sidebar item end element positioning
175
+
176
+ ## 3.0.0-alpha.11
177
+
178
+ ### Patch Changes
179
+
180
+ - 19309d4: Improved Sidebar recipe with beter balance and added --sidebar-item-icon-color variable
181
+ - 19309d4: Improved font size balance
182
+
183
+ ## 3.0.0-alpha.10
184
+
185
+ ### Patch Changes
186
+
187
+ - 212a7e6: Add missing focusRing semantic tokens
188
+ - 942e9a0: Improved SidebarNavItem positioning
189
+ - 212a7e6: Improved yellow color tokens
190
+ - 65fac53: Fixed semantic token inconsistencies
191
+
192
+ ## 3.0.0-alpha.9
193
+
194
+ ### Minor Changes
195
+
196
+ - f0f5ab0: Improve Navbar composition
197
+
198
+ ## 3.0.0-alpha.8
199
+
200
+ ### Patch Changes
201
+
202
+ - 64e680e: Update default button colorPalette to gray
203
+ - 64e680e: Export Menu.Context
204
+
205
+ ## 3.0.0-alpha.7
206
+
207
+ ### Major Changes
208
+
209
+ - 8e760c5: Added new wide gammut color tokens
210
+
211
+ ## 3.0.0-alpha.6
212
+
213
+ ### Minor Changes
214
+
215
+ - 95c8652: Update to Chakra UI 3.2.1
216
+
217
+ ### Patch Changes
218
+
219
+ - Updated dependencies [95c8652]
220
+ - @saas-ui/hooks@3.0.0-alpha.4
221
+ - @saas-ui/core@3.0.0-alpha.4
222
+
223
+ ## 3.0.0-alpha.5
224
+
225
+ ### Minor Changes
226
+
227
+ - e9fec88: Added toaster and menu components
228
+ - f62c3d6: Export all components from root barrel file
229
+
230
+ ## 3.0.0-alpha.4
231
+
232
+ ### Patch Changes
233
+
234
+ - 7808a76: Restructure slot components and add ui namespaces to recipes
235
+
3
236
  ## 3.0.0-alpha.3
4
237
 
5
238
  ### Patch Changes
@@ -38,11 +271,187 @@
38
271
 
39
272
  - v3 alpha release
40
273
 
274
+ ## 2.11.4
275
+
276
+ ### Patch Changes
277
+
278
+ - Updated dependencies [091fd38]
279
+ - @saas-ui/forms@2.11.0
280
+ - @saas-ui/modals@2.4.4
281
+ - @saas-ui/data-table@13.0.4
282
+
283
+ ## 2.11.3
284
+
285
+ ### Patch Changes
286
+
287
+ - Updated dependencies [eb53116]
288
+ - @saas-ui/forms@2.10.0
289
+ - @saas-ui/modals@2.4.3
290
+ - @saas-ui/data-table@13.0.3
291
+
292
+ ## 2.11.2
293
+
294
+ ### Patch Changes
295
+
296
+ - 862937a: Bump chakra version
297
+ - Updated dependencies [862937a]
298
+ - @saas-ui/data-table@13.0.2
299
+ - @saas-ui/nprogress@2.2.1
300
+ - @saas-ui/hotkeys@2.5.1
301
+ - @saas-ui/modals@2.4.2
302
+ - @saas-ui/forms@2.9.1
303
+ - @saas-ui/theme@2.6.1
304
+ - @saas-ui/core@2.8.1
305
+
306
+ ## 2.11.1
307
+
308
+ ### Patch Changes
309
+
310
+ - Updated dependencies [a69829a]
311
+ - @saas-ui/hooks@2.3.0
312
+ - @saas-ui/modals@2.4.1
313
+ - @saas-ui/data-table@13.0.1
314
+
315
+ ## 2.11.0
316
+
317
+ ### Minor Changes
318
+
319
+ - 803ede7: Updated Chakra UI version range to >=2.9.0 <3
320
+
321
+ ### Patch Changes
322
+
323
+ - Updated dependencies [803ede7]
324
+ - @saas-ui/data-table@13.0.0
325
+ - @saas-ui/nprogress@2.2.0
326
+ - @saas-ui/hotkeys@2.5.0
327
+ - @saas-ui/modals@2.4.0
328
+ - @saas-ui/forms@2.9.0
329
+ - @saas-ui/hooks@2.2.0
330
+ - @saas-ui/theme@2.6.0
331
+ - @saas-ui/core@2.8.0
332
+
333
+ ## 2.10.5
334
+
335
+ ### Patch Changes
336
+
337
+ - c9daf50: Fixed issue where link component prop would not be passed to NavItem
338
+ - Updated dependencies [c9daf50]
339
+ - @saas-ui/core@2.7.2
340
+ - @saas-ui/data-table@12.0.5
341
+ - @saas-ui/forms@2.8.2
342
+ - @saas-ui/hotkeys@2.4.2
343
+ - @saas-ui/modals@2.3.5
344
+
345
+ ## 2.10.4
346
+
347
+ ### Patch Changes
348
+
349
+ - a863a5e: Updated package type to fix next 15 support
350
+ - Updated dependencies [a863a5e]
351
+ - @saas-ui/modals@2.3.4
352
+ - @saas-ui/data-table@12.0.4
353
+
354
+ ## 2.10.3
355
+
41
356
  ### Patch Changes
42
357
 
43
358
  - Updated dependencies
359
+ <<<<<<< HEAD
44
360
  - @saas-ui/hooks@3.0.0-alpha.0
45
- - @saas-ui/core@3.0.0-alpha.0
361
+ - # @saas-ui/core@3.0.0-alpha.0
362
+ - @saas-ui/modals@2.3.3
363
+ - @saas-ui/data-table@12.0.3
364
+
365
+ ## 2.10.2
366
+
367
+ ### Patch Changes
368
+
369
+ - 7669720: Fixed publint issues
370
+ - Updated dependencies [7669720]
371
+ - @saas-ui/modals@2.3.2
372
+ - @saas-ui/data-table@12.0.2
373
+
374
+ ## 2.10.1
375
+
376
+ ### Patch Changes
377
+
378
+ - 5e24ec4: Fixed issue where as prop on NavItem would always be overruled by internal Link prop if href is passed
379
+ - Updated dependencies [5e24ec4]
380
+ - @saas-ui/core@2.7.1
381
+ - @saas-ui/data-table@12.0.1
382
+ - @saas-ui/forms@2.8.1
383
+ - @saas-ui/hotkeys@2.4.1
384
+ - @saas-ui/modals@2.3.1
385
+
386
+ ## 2.10.0
387
+
388
+ ### Minor Changes
389
+
390
+ - fc799df: Removed deprecated Chakra UI dependency
391
+
392
+ ### Patch Changes
393
+
394
+ - Updated dependencies [fc799df]
395
+ - @saas-ui/hotkeys@2.4.0
396
+ - @saas-ui/modals@2.3.0
397
+ - @saas-ui/forms@2.8.0
398
+ - @saas-ui/core@2.7.0
399
+ - @saas-ui/data-table@12.0.0
400
+
401
+ ## 2.9.1
402
+
403
+ ### Patch Changes
404
+
405
+ - f0ee3db: Updated to Chakra 2.10
406
+ - Updated dependencies [f0ee3db]
407
+ - @saas-ui/data-table@11.0.1
408
+ - @saas-ui/nprogress@2.1.1
409
+ - @saas-ui/hotkeys@2.3.1
410
+ - @saas-ui/modals@2.2.1
411
+ - @saas-ui/forms@2.7.1
412
+ - @saas-ui/theme@2.5.1
413
+ - @saas-ui/core@2.6.1
414
+
415
+ ## 2.9.0
416
+
417
+ ### Minor Changes
418
+
419
+ - 2ac496a: Upgraded to Chakra UI v2.9.3
420
+
421
+ ### Patch Changes
422
+
423
+ - Updated dependencies [2ac496a]
424
+ - @saas-ui/data-table@11.0.0
425
+ - @saas-ui/nprogress@2.1.0
426
+ - @saas-ui/hotkeys@2.3.0
427
+ - @saas-ui/modals@2.2.0
428
+ - @saas-ui/forms@2.7.0
429
+ - @saas-ui/hooks@2.1.0
430
+ - @saas-ui/theme@2.5.0
431
+ - @saas-ui/core@2.6.0
432
+
433
+ ## 2.8.11
434
+
435
+ ### Patch Changes
436
+
437
+ - 5e000e0: Removed background color from loading overlay fill variant
438
+ - Updated dependencies [5e000e0]
439
+ - @saas-ui/theme@2.4.2
440
+ - @saas-ui/core@2.5.6
441
+ - @saas-ui/data-table@10.0.11
442
+ - @saas-ui/forms@2.6.11
443
+ - @saas-ui/hotkeys@2.2.14
444
+ - @saas-ui/modals@2.1.41
445
+
446
+ ## 2.8.10
447
+
448
+ ### Patch Changes
449
+
450
+ - Updated dependencies [fc2203a]
451
+ - @saas-ui/forms@2.6.10
452
+ - @saas-ui/modals@2.1.40
453
+ - @saas-ui/data-table@10.0.10
454
+ > > > > > > > v3
46
455
 
47
456
  ## 2.8.9
48
457
 
@@ -0,0 +1,26 @@
1
+ 'use client'
2
+
3
+ // src/components/pin-input/pin-input.tsx
4
+ import { forwardRef } from "react";
5
+ import { PinInput as ChakraPinInput, Group } from "@chakra-ui/react";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ var PinInput = forwardRef(
8
+ function PinInput2(props, ref) {
9
+ const {
10
+ pinLength = 4,
11
+ inputProps,
12
+ rootRef,
13
+ attached,
14
+ gap = attached ? 0 : 2,
15
+ ...rest
16
+ } = props;
17
+ return /* @__PURE__ */ jsxs(ChakraPinInput.Root, { ref: rootRef, ...rest, children: [
18
+ /* @__PURE__ */ jsx(ChakraPinInput.HiddenInput, { ref, ...inputProps }),
19
+ /* @__PURE__ */ jsx(ChakraPinInput.Control, { children: /* @__PURE__ */ jsx(Group, { attached, gap, children: Array.from({ length: pinLength }).map((_, index) => /* @__PURE__ */ jsx(ChakraPinInput.Input, { index }, index)) }) })
20
+ ] });
21
+ }
22
+ );
23
+
24
+ export {
25
+ PinInput
26
+ };
@@ -0,0 +1,63 @@
1
+ 'use client'
2
+ import {
3
+ CloseButton
4
+ } from "./chunk-YXGJOOMM.js";
5
+ import {
6
+ __export
7
+ } from "./chunk-RTMS5TJN.js";
8
+
9
+ // src/components/dialog/dialog.tsx
10
+ var dialog_exports = {};
11
+ __export(dialog_exports, {
12
+ ActionTrigger: () => ActionTrigger,
13
+ Backdrop: () => Backdrop,
14
+ Body: () => Body,
15
+ CloseButton: () => CloseButton2,
16
+ CloseTrigger: () => CloseTrigger,
17
+ Content: () => Content,
18
+ Context: () => Context,
19
+ Description: () => Description,
20
+ DialogContext: () => DialogContext,
21
+ Footer: () => Footer,
22
+ Header: () => Header,
23
+ Root: () => Root,
24
+ Title: () => Title,
25
+ Trigger: () => Trigger
26
+ });
27
+ import { forwardRef } from "react";
28
+ import { Dialog as ChakraDialog, Portal } from "@chakra-ui/react";
29
+ import { DialogContext } from "@ark-ui/react/dialog";
30
+ import { jsx, jsxs } from "react/jsx-runtime";
31
+ var Content = forwardRef(
32
+ function DialogContent(props, ref) {
33
+ const {
34
+ children,
35
+ portalled = true,
36
+ portalRef,
37
+ backdrop = true,
38
+ ...rest
39
+ } = props;
40
+ return /* @__PURE__ */ jsxs(Portal, { disabled: !portalled, container: portalRef, children: [
41
+ backdrop && /* @__PURE__ */ jsx(ChakraDialog.Backdrop, {}),
42
+ /* @__PURE__ */ jsx(ChakraDialog.Positioner, { children: /* @__PURE__ */ jsx(ChakraDialog.Content, { ref, ...rest, asChild: false, children }) })
43
+ ] });
44
+ }
45
+ );
46
+ var CloseButton2 = forwardRef(function DialogCloseTrigger(props, ref) {
47
+ return /* @__PURE__ */ jsx(ChakraDialog.CloseTrigger, { ...props, asChild: true, children: /* @__PURE__ */ jsx(CloseButton, { size: "sm", ref, children: props.children }) });
48
+ });
49
+ var CloseTrigger = ChakraDialog.CloseTrigger;
50
+ var Root = ChakraDialog.Root;
51
+ var Context = ChakraDialog.Context;
52
+ var Footer = ChakraDialog.Footer;
53
+ var Header = ChakraDialog.Header;
54
+ var Body = ChakraDialog.Body;
55
+ var Backdrop = ChakraDialog.Backdrop;
56
+ var Title = ChakraDialog.Title;
57
+ var Description = ChakraDialog.Description;
58
+ var Trigger = ChakraDialog.Trigger;
59
+ var ActionTrigger = ChakraDialog.ActionTrigger;
60
+
61
+ export {
62
+ dialog_exports
63
+ };
@@ -0,0 +1,100 @@
1
+ 'use client'
2
+ import {
3
+ CloseButton
4
+ } from "./chunk-YXGJOOMM.js";
5
+ import {
6
+ __export
7
+ } from "./chunk-RTMS5TJN.js";
8
+
9
+ // src/components/select/namespace.ts
10
+ var namespace_exports = {};
11
+ __export(namespace_exports, {
12
+ Content: () => SelectContent,
13
+ Item: () => SelectItem,
14
+ ItemGroup: () => SelectItemGroup,
15
+ ItemText: () => SelectItemText,
16
+ Label: () => SelectLabel,
17
+ Root: () => SelectRoot,
18
+ Trigger: () => SelectTrigger,
19
+ ValueText: () => SelectValueText
20
+ });
21
+
22
+ // src/components/select/select.tsx
23
+ import { forwardRef } from "react";
24
+ import { Portal, Select as SelectPrimitive } from "@chakra-ui/react";
25
+ import { jsx, jsxs } from "react/jsx-runtime";
26
+ var SelectTrigger = forwardRef(
27
+ function SelectTrigger2(props, ref) {
28
+ const { children, clearable, ...rest } = props;
29
+ return /* @__PURE__ */ jsxs(SelectPrimitive.Control, { ...rest, children: [
30
+ /* @__PURE__ */ jsx(SelectPrimitive.Trigger, { ref, children }),
31
+ /* @__PURE__ */ jsxs(SelectPrimitive.IndicatorGroup, { children: [
32
+ clearable && /* @__PURE__ */ jsx(SelectClearTrigger, {}),
33
+ /* @__PURE__ */ jsx(SelectPrimitive.Indicator, {})
34
+ ] })
35
+ ] });
36
+ }
37
+ );
38
+ var SelectClearTrigger = forwardRef(function SelectClearTrigger2(props, ref) {
39
+ return /* @__PURE__ */ jsx(SelectPrimitive.ClearTrigger, { asChild: true, ...props, ref, children: /* @__PURE__ */ jsx(
40
+ CloseButton,
41
+ {
42
+ size: "xs",
43
+ variant: "plain",
44
+ focusVisibleRing: "inside",
45
+ focusRingWidth: "2px",
46
+ pointerEvents: "auto"
47
+ }
48
+ ) });
49
+ });
50
+ var SelectContent = forwardRef(
51
+ function SelectContent2(props, ref) {
52
+ const { portalled = true, portalRef, ...rest } = props;
53
+ return /* @__PURE__ */ jsx(Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx(SelectPrimitive.Positioner, { children: /* @__PURE__ */ jsx(SelectPrimitive.Content, { ...rest, ref }) }) });
54
+ }
55
+ );
56
+ var SelectItem = forwardRef(
57
+ function SelectItem2(props, ref) {
58
+ const { item, children, ...rest } = props;
59
+ return /* @__PURE__ */ jsxs(SelectPrimitive.Item, { item, ...rest, ref, children: [
60
+ children,
61
+ /* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, {})
62
+ ] }, item.value);
63
+ }
64
+ );
65
+ var SelectValueText = forwardRef(function SelectValueText2(props, ref) {
66
+ const { children, ...rest } = props;
67
+ return /* @__PURE__ */ jsx(SelectPrimitive.ValueText, { ...rest, ref, children: /* @__PURE__ */ jsx(SelectPrimitive.Context, { children: (select) => {
68
+ const items = select.selectedItems;
69
+ if (items.length === 0) return props.placeholder;
70
+ if (children) return children(items);
71
+ if (items.length === 1)
72
+ return select.collection.stringifyItem(items[0]);
73
+ return `${items.length} selected`;
74
+ } }) });
75
+ });
76
+ var SelectRoot = forwardRef(function SelectRoot2(props, ref) {
77
+ return /* @__PURE__ */ jsx(
78
+ SelectPrimitive.Root,
79
+ {
80
+ ...props,
81
+ ref,
82
+ positioning: { sameWidth: true, ...props.positioning }
83
+ }
84
+ );
85
+ });
86
+ var SelectItemGroup = forwardRef(
87
+ function SelectItemGroup2(props, ref) {
88
+ const { children, label, ...rest } = props;
89
+ return /* @__PURE__ */ jsxs(SelectPrimitive.ItemGroup, { ...rest, ref, children: [
90
+ /* @__PURE__ */ jsx(SelectPrimitive.ItemGroupLabel, { children: label }),
91
+ children
92
+ ] });
93
+ }
94
+ );
95
+ var SelectLabel = SelectPrimitive.Label;
96
+ var SelectItemText = SelectPrimitive.ItemText;
97
+
98
+ export {
99
+ namespace_exports
100
+ };