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