@fayz-ai/ui 0.8.2 → 0.8.3

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 (46) hide show
  1. package/dist/{chunk-J3IUFUNR.js → chunk-2GDQUARM.js} +3 -3
  2. package/dist/{chunk-J3IUFUNR.js.map → chunk-2GDQUARM.js.map} +1 -1
  3. package/dist/{chunk-W5O2X277.js → chunk-A7O7KGNL.js} +8 -4
  4. package/dist/chunk-A7O7KGNL.js.map +1 -0
  5. package/dist/{chunk-FY7OZNKU.js → chunk-BVF2KPTT.js} +7 -7
  6. package/dist/{chunk-FY7OZNKU.js.map → chunk-BVF2KPTT.js.map} +1 -1
  7. package/dist/{chunk-MZZMZYSE.js → chunk-ID2HQK2Q.js} +328 -51
  8. package/dist/chunk-ID2HQK2Q.js.map +1 -0
  9. package/dist/{chunk-ODY3GZ3Y.cjs → chunk-MI6FOB4O.cjs} +7 -7
  10. package/dist/{chunk-ODY3GZ3Y.cjs.map → chunk-MI6FOB4O.cjs.map} +1 -1
  11. package/dist/{chunk-IEYCOJTY.cjs → chunk-SVVKUMSL.cjs} +6 -6
  12. package/dist/{chunk-IEYCOJTY.cjs.map → chunk-SVVKUMSL.cjs.map} +1 -1
  13. package/dist/{chunk-NWPMNPGR.cjs → chunk-WF3STNDX.cjs} +38 -34
  14. package/dist/chunk-WF3STNDX.cjs.map +1 -0
  15. package/dist/{chunk-XAOGMWLC.cjs → chunk-XIRJGVDK.cjs} +325 -48
  16. package/dist/chunk-XIRJGVDK.cjs.map +1 -0
  17. package/dist/dashboard/OnboardingWidget.d.ts.map +1 -1
  18. package/dist/dashboard/index.cjs +26 -26
  19. package/dist/dashboard/index.js +2 -2
  20. package/dist/index.cjs +122 -122
  21. package/dist/index.js +4 -4
  22. package/dist/layout/AppShell.d.ts +41 -1
  23. package/dist/layout/AppShell.d.ts.map +1 -1
  24. package/dist/layout/ModulePage.d.ts +9 -6
  25. package/dist/layout/ModulePage.d.ts.map +1 -1
  26. package/dist/layout/Sidebar.d.ts +20 -1
  27. package/dist/layout/Sidebar.d.ts.map +1 -1
  28. package/dist/layout/Topbar.d.ts +13 -1
  29. package/dist/layout/Topbar.d.ts.map +1 -1
  30. package/dist/layout/index.cjs +19 -19
  31. package/dist/layout/index.js +1 -1
  32. package/dist/primitives/data-table.d.ts.map +1 -1
  33. package/dist/primitives/index.cjs +77 -77
  34. package/dist/primitives/index.js +2 -2
  35. package/package.json +3 -3
  36. package/src/dashboard/OnboardingWidget.tsx +10 -1
  37. package/src/layout/AppShell.tsx +255 -7
  38. package/src/layout/ModulePage.tsx +32 -3
  39. package/src/layout/Sidebar.tsx +132 -35
  40. package/src/layout/Topbar.tsx +51 -4
  41. package/src/primitives/data-table.tsx +10 -1
  42. package/src/styles.css +34 -0
  43. package/dist/chunk-MZZMZYSE.js.map +0 -1
  44. package/dist/chunk-NWPMNPGR.cjs.map +0 -1
  45. package/dist/chunk-W5O2X277.js.map +0 -1
  46. package/dist/chunk-XAOGMWLC.cjs.map +0 -1
@@ -1,219 +1,219 @@
1
1
  'use strict';
2
2
 
3
- var chunkIEYCOJTY_cjs = require('../chunk-IEYCOJTY.cjs');
3
+ var chunkSVVKUMSL_cjs = require('../chunk-SVVKUMSL.cjs');
4
4
  var chunkOW73RZOU_cjs = require('../chunk-OW73RZOU.cjs');
5
- var chunkODY3GZ3Y_cjs = require('../chunk-ODY3GZ3Y.cjs');
5
+ var chunkMI6FOB4O_cjs = require('../chunk-MI6FOB4O.cjs');
6
6
  var chunkH6OULCHF_cjs = require('../chunk-H6OULCHF.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "Badge", {
11
11
  enumerable: true,
12
- get: function () { return chunkIEYCOJTY_cjs.Badge; }
12
+ get: function () { return chunkSVVKUMSL_cjs.Badge; }
13
13
  });
14
14
  Object.defineProperty(exports, "Breadcrumb", {
15
15
  enumerable: true,
16
- get: function () { return chunkIEYCOJTY_cjs.Breadcrumb; }
16
+ get: function () { return chunkSVVKUMSL_cjs.Breadcrumb; }
17
17
  });
18
18
  Object.defineProperty(exports, "Checkbox", {
19
19
  enumerable: true,
20
- get: function () { return chunkIEYCOJTY_cjs.Checkbox; }
20
+ get: function () { return chunkSVVKUMSL_cjs.Checkbox; }
21
21
  });
22
22
  Object.defineProperty(exports, "ConfirmDialog", {
23
23
  enumerable: true,
24
- get: function () { return chunkIEYCOJTY_cjs.ConfirmDialog; }
24
+ get: function () { return chunkSVVKUMSL_cjs.ConfirmDialog; }
25
25
  });
26
26
  Object.defineProperty(exports, "CurrencyInput", {
27
27
  enumerable: true,
28
- get: function () { return chunkIEYCOJTY_cjs.CurrencyInput; }
28
+ get: function () { return chunkSVVKUMSL_cjs.CurrencyInput; }
29
29
  });
30
30
  Object.defineProperty(exports, "DatePicker", {
31
31
  enumerable: true,
32
- get: function () { return chunkIEYCOJTY_cjs.DatePicker; }
32
+ get: function () { return chunkSVVKUMSL_cjs.DatePicker; }
33
33
  });
34
34
  Object.defineProperty(exports, "Input", {
35
35
  enumerable: true,
36
- get: function () { return chunkIEYCOJTY_cjs.Input; }
36
+ get: function () { return chunkSVVKUMSL_cjs.Input; }
37
37
  });
38
38
  Object.defineProperty(exports, "ListView", {
39
39
  enumerable: true,
40
- get: function () { return chunkIEYCOJTY_cjs.ListView; }
40
+ get: function () { return chunkSVVKUMSL_cjs.ListView; }
41
41
  });
42
42
  Object.defineProperty(exports, "Markdown", {
43
43
  enumerable: true,
44
- get: function () { return chunkIEYCOJTY_cjs.Markdown; }
44
+ get: function () { return chunkSVVKUMSL_cjs.Markdown; }
45
45
  });
46
46
  Object.defineProperty(exports, "MarkdownEditor", {
47
47
  enumerable: true,
48
- get: function () { return chunkIEYCOJTY_cjs.MarkdownEditor; }
48
+ get: function () { return chunkSVVKUMSL_cjs.MarkdownEditor; }
49
49
  });
50
50
  Object.defineProperty(exports, "Modal", {
51
51
  enumerable: true,
52
- get: function () { return chunkIEYCOJTY_cjs.Modal; }
52
+ get: function () { return chunkSVVKUMSL_cjs.Modal; }
53
53
  });
54
54
  Object.defineProperty(exports, "ModalBody", {
55
55
  enumerable: true,
56
- get: function () { return chunkIEYCOJTY_cjs.ModalBody; }
56
+ get: function () { return chunkSVVKUMSL_cjs.ModalBody; }
57
57
  });
58
58
  Object.defineProperty(exports, "ModalClose", {
59
59
  enumerable: true,
60
- get: function () { return chunkIEYCOJTY_cjs.ModalClose; }
60
+ get: function () { return chunkSVVKUMSL_cjs.ModalClose; }
61
61
  });
62
62
  Object.defineProperty(exports, "ModalContent", {
63
63
  enumerable: true,
64
- get: function () { return chunkIEYCOJTY_cjs.ModalContent; }
64
+ get: function () { return chunkSVVKUMSL_cjs.ModalContent; }
65
65
  });
66
66
  Object.defineProperty(exports, "ModalDescription", {
67
67
  enumerable: true,
68
- get: function () { return chunkIEYCOJTY_cjs.ModalDescription; }
68
+ get: function () { return chunkSVVKUMSL_cjs.ModalDescription; }
69
69
  });
70
70
  Object.defineProperty(exports, "ModalFooter", {
71
71
  enumerable: true,
72
- get: function () { return chunkIEYCOJTY_cjs.ModalFooter; }
72
+ get: function () { return chunkSVVKUMSL_cjs.ModalFooter; }
73
73
  });
74
74
  Object.defineProperty(exports, "ModalHeader", {
75
75
  enumerable: true,
76
- get: function () { return chunkIEYCOJTY_cjs.ModalHeader; }
76
+ get: function () { return chunkSVVKUMSL_cjs.ModalHeader; }
77
77
  });
78
78
  Object.defineProperty(exports, "ModalOverlay", {
79
79
  enumerable: true,
80
- get: function () { return chunkIEYCOJTY_cjs.ModalOverlay; }
80
+ get: function () { return chunkSVVKUMSL_cjs.ModalOverlay; }
81
81
  });
82
82
  Object.defineProperty(exports, "ModalPortal", {
83
83
  enumerable: true,
84
- get: function () { return chunkIEYCOJTY_cjs.ModalPortal; }
84
+ get: function () { return chunkSVVKUMSL_cjs.ModalPortal; }
85
85
  });
86
86
  Object.defineProperty(exports, "ModalTitle", {
87
87
  enumerable: true,
88
- get: function () { return chunkIEYCOJTY_cjs.ModalTitle; }
88
+ get: function () { return chunkSVVKUMSL_cjs.ModalTitle; }
89
89
  });
90
90
  Object.defineProperty(exports, "ModalTrigger", {
91
91
  enumerable: true,
92
- get: function () { return chunkIEYCOJTY_cjs.ModalTrigger; }
92
+ get: function () { return chunkSVVKUMSL_cjs.ModalTrigger; }
93
93
  });
94
94
  Object.defineProperty(exports, "Popover", {
95
95
  enumerable: true,
96
- get: function () { return chunkIEYCOJTY_cjs.Popover; }
96
+ get: function () { return chunkSVVKUMSL_cjs.Popover; }
97
97
  });
98
98
  Object.defineProperty(exports, "PopoverContent", {
99
99
  enumerable: true,
100
- get: function () { return chunkIEYCOJTY_cjs.PopoverContent; }
100
+ get: function () { return chunkSVVKUMSL_cjs.PopoverContent; }
101
101
  });
102
102
  Object.defineProperty(exports, "PopoverTrigger", {
103
103
  enumerable: true,
104
- get: function () { return chunkIEYCOJTY_cjs.PopoverTrigger; }
104
+ get: function () { return chunkSVVKUMSL_cjs.PopoverTrigger; }
105
105
  });
106
106
  Object.defineProperty(exports, "SearchCombobox", {
107
107
  enumerable: true,
108
- get: function () { return chunkIEYCOJTY_cjs.SearchCombobox; }
108
+ get: function () { return chunkSVVKUMSL_cjs.SearchCombobox; }
109
109
  });
110
110
  Object.defineProperty(exports, "SearchSelect", {
111
111
  enumerable: true,
112
- get: function () { return chunkIEYCOJTY_cjs.SearchSelect; }
112
+ get: function () { return chunkSVVKUMSL_cjs.SearchSelect; }
113
113
  });
114
114
  Object.defineProperty(exports, "Select", {
115
115
  enumerable: true,
116
- get: function () { return chunkIEYCOJTY_cjs.Select; }
116
+ get: function () { return chunkSVVKUMSL_cjs.Select; }
117
117
  });
118
118
  Object.defineProperty(exports, "SelectContent", {
119
119
  enumerable: true,
120
- get: function () { return chunkIEYCOJTY_cjs.SelectContent; }
120
+ get: function () { return chunkSVVKUMSL_cjs.SelectContent; }
121
121
  });
122
122
  Object.defineProperty(exports, "SelectGroup", {
123
123
  enumerable: true,
124
- get: function () { return chunkIEYCOJTY_cjs.SelectGroup; }
124
+ get: function () { return chunkSVVKUMSL_cjs.SelectGroup; }
125
125
  });
126
126
  Object.defineProperty(exports, "SelectItem", {
127
127
  enumerable: true,
128
- get: function () { return chunkIEYCOJTY_cjs.SelectItem; }
128
+ get: function () { return chunkSVVKUMSL_cjs.SelectItem; }
129
129
  });
130
130
  Object.defineProperty(exports, "SelectLabel", {
131
131
  enumerable: true,
132
- get: function () { return chunkIEYCOJTY_cjs.SelectLabel; }
132
+ get: function () { return chunkSVVKUMSL_cjs.SelectLabel; }
133
133
  });
134
134
  Object.defineProperty(exports, "SelectScrollDownButton", {
135
135
  enumerable: true,
136
- get: function () { return chunkIEYCOJTY_cjs.SelectScrollDownButton; }
136
+ get: function () { return chunkSVVKUMSL_cjs.SelectScrollDownButton; }
137
137
  });
138
138
  Object.defineProperty(exports, "SelectScrollUpButton", {
139
139
  enumerable: true,
140
- get: function () { return chunkIEYCOJTY_cjs.SelectScrollUpButton; }
140
+ get: function () { return chunkSVVKUMSL_cjs.SelectScrollUpButton; }
141
141
  });
142
142
  Object.defineProperty(exports, "SelectSeparator", {
143
143
  enumerable: true,
144
- get: function () { return chunkIEYCOJTY_cjs.SelectSeparator; }
144
+ get: function () { return chunkSVVKUMSL_cjs.SelectSeparator; }
145
145
  });
146
146
  Object.defineProperty(exports, "SelectTrigger", {
147
147
  enumerable: true,
148
- get: function () { return chunkIEYCOJTY_cjs.SelectTrigger; }
148
+ get: function () { return chunkSVVKUMSL_cjs.SelectTrigger; }
149
149
  });
150
150
  Object.defineProperty(exports, "SelectValue", {
151
151
  enumerable: true,
152
- get: function () { return chunkIEYCOJTY_cjs.SelectValue; }
152
+ get: function () { return chunkSVVKUMSL_cjs.SelectValue; }
153
153
  });
154
154
  Object.defineProperty(exports, "Separator", {
155
155
  enumerable: true,
156
- get: function () { return chunkIEYCOJTY_cjs.Separator; }
156
+ get: function () { return chunkSVVKUMSL_cjs.Separator; }
157
157
  });
158
158
  Object.defineProperty(exports, "Skeleton", {
159
159
  enumerable: true,
160
- get: function () { return chunkIEYCOJTY_cjs.Skeleton; }
160
+ get: function () { return chunkSVVKUMSL_cjs.Skeleton; }
161
161
  });
162
162
  Object.defineProperty(exports, "TableSkeleton", {
163
163
  enumerable: true,
164
- get: function () { return chunkIEYCOJTY_cjs.TableSkeleton; }
164
+ get: function () { return chunkSVVKUMSL_cjs.TableSkeleton; }
165
165
  });
166
166
  Object.defineProperty(exports, "Tabs", {
167
167
  enumerable: true,
168
- get: function () { return chunkIEYCOJTY_cjs.Tabs; }
168
+ get: function () { return chunkSVVKUMSL_cjs.Tabs; }
169
169
  });
170
170
  Object.defineProperty(exports, "TabsContent", {
171
171
  enumerable: true,
172
- get: function () { return chunkIEYCOJTY_cjs.TabsContent; }
172
+ get: function () { return chunkSVVKUMSL_cjs.TabsContent; }
173
173
  });
174
174
  Object.defineProperty(exports, "TabsList", {
175
175
  enumerable: true,
176
- get: function () { return chunkIEYCOJTY_cjs.TabsList; }
176
+ get: function () { return chunkSVVKUMSL_cjs.TabsList; }
177
177
  });
178
178
  Object.defineProperty(exports, "TabsTrigger", {
179
179
  enumerable: true,
180
- get: function () { return chunkIEYCOJTY_cjs.TabsTrigger; }
180
+ get: function () { return chunkSVVKUMSL_cjs.TabsTrigger; }
181
181
  });
182
182
  Object.defineProperty(exports, "TimePicker", {
183
183
  enumerable: true,
184
- get: function () { return chunkIEYCOJTY_cjs.TimePicker; }
184
+ get: function () { return chunkSVVKUMSL_cjs.TimePicker; }
185
185
  });
186
186
  Object.defineProperty(exports, "ToastProvider", {
187
187
  enumerable: true,
188
- get: function () { return chunkIEYCOJTY_cjs.ToastProvider; }
188
+ get: function () { return chunkSVVKUMSL_cjs.ToastProvider; }
189
189
  });
190
190
  Object.defineProperty(exports, "Tooltip", {
191
191
  enumerable: true,
192
- get: function () { return chunkIEYCOJTY_cjs.Tooltip; }
192
+ get: function () { return chunkSVVKUMSL_cjs.Tooltip; }
193
193
  });
194
194
  Object.defineProperty(exports, "TooltipContent", {
195
195
  enumerable: true,
196
- get: function () { return chunkIEYCOJTY_cjs.TooltipContent; }
196
+ get: function () { return chunkSVVKUMSL_cjs.TooltipContent; }
197
197
  });
198
198
  Object.defineProperty(exports, "TooltipProvider", {
199
199
  enumerable: true,
200
- get: function () { return chunkIEYCOJTY_cjs.TooltipProvider; }
200
+ get: function () { return chunkSVVKUMSL_cjs.TooltipProvider; }
201
201
  });
202
202
  Object.defineProperty(exports, "TooltipTrigger", {
203
203
  enumerable: true,
204
- get: function () { return chunkIEYCOJTY_cjs.TooltipTrigger; }
204
+ get: function () { return chunkSVVKUMSL_cjs.TooltipTrigger; }
205
205
  });
206
206
  Object.defineProperty(exports, "badgeVariants", {
207
207
  enumerable: true,
208
- get: function () { return chunkIEYCOJTY_cjs.badgeVariants; }
208
+ get: function () { return chunkSVVKUMSL_cjs.badgeVariants; }
209
209
  });
210
210
  Object.defineProperty(exports, "renderMarkdown", {
211
211
  enumerable: true,
212
- get: function () { return chunkIEYCOJTY_cjs.renderMarkdown; }
212
+ get: function () { return chunkSVVKUMSL_cjs.renderMarkdown; }
213
213
  });
214
214
  Object.defineProperty(exports, "toast", {
215
215
  enumerable: true,
216
- get: function () { return chunkIEYCOJTY_cjs.toast; }
216
+ get: function () { return chunkSVVKUMSL_cjs.toast; }
217
217
  });
218
218
  Object.defineProperty(exports, "Sheet", {
219
219
  enumerable: true,
@@ -261,95 +261,95 @@ Object.defineProperty(exports, "SheetTrigger", {
261
261
  });
262
262
  Object.defineProperty(exports, "Card", {
263
263
  enumerable: true,
264
- get: function () { return chunkODY3GZ3Y_cjs.Card; }
264
+ get: function () { return chunkMI6FOB4O_cjs.Card; }
265
265
  });
266
266
  Object.defineProperty(exports, "CardContent", {
267
267
  enumerable: true,
268
- get: function () { return chunkODY3GZ3Y_cjs.CardContent; }
268
+ get: function () { return chunkMI6FOB4O_cjs.CardContent; }
269
269
  });
270
270
  Object.defineProperty(exports, "CardDescription", {
271
271
  enumerable: true,
272
- get: function () { return chunkODY3GZ3Y_cjs.CardDescription; }
272
+ get: function () { return chunkMI6FOB4O_cjs.CardDescription; }
273
273
  });
274
274
  Object.defineProperty(exports, "CardFooter", {
275
275
  enumerable: true,
276
- get: function () { return chunkODY3GZ3Y_cjs.CardFooter; }
276
+ get: function () { return chunkMI6FOB4O_cjs.CardFooter; }
277
277
  });
278
278
  Object.defineProperty(exports, "CardHeader", {
279
279
  enumerable: true,
280
- get: function () { return chunkODY3GZ3Y_cjs.CardHeader; }
280
+ get: function () { return chunkMI6FOB4O_cjs.CardHeader; }
281
281
  });
282
282
  Object.defineProperty(exports, "CardTitle", {
283
283
  enumerable: true,
284
- get: function () { return chunkODY3GZ3Y_cjs.CardTitle; }
284
+ get: function () { return chunkMI6FOB4O_cjs.CardTitle; }
285
285
  });
286
286
  Object.defineProperty(exports, "DataTable", {
287
287
  enumerable: true,
288
- get: function () { return chunkODY3GZ3Y_cjs.DataTable; }
288
+ get: function () { return chunkMI6FOB4O_cjs.DataTable; }
289
289
  });
290
290
  Object.defineProperty(exports, "Dropdown", {
291
291
  enumerable: true,
292
- get: function () { return chunkODY3GZ3Y_cjs.Dropdown; }
292
+ get: function () { return chunkMI6FOB4O_cjs.Dropdown; }
293
293
  });
294
294
  Object.defineProperty(exports, "DropdownCheckboxItem", {
295
295
  enumerable: true,
296
- get: function () { return chunkODY3GZ3Y_cjs.DropdownCheckboxItem; }
296
+ get: function () { return chunkMI6FOB4O_cjs.DropdownCheckboxItem; }
297
297
  });
298
298
  Object.defineProperty(exports, "DropdownContent", {
299
299
  enumerable: true,
300
- get: function () { return chunkODY3GZ3Y_cjs.DropdownContent; }
300
+ get: function () { return chunkMI6FOB4O_cjs.DropdownContent; }
301
301
  });
302
302
  Object.defineProperty(exports, "DropdownGroup", {
303
303
  enumerable: true,
304
- get: function () { return chunkODY3GZ3Y_cjs.DropdownGroup; }
304
+ get: function () { return chunkMI6FOB4O_cjs.DropdownGroup; }
305
305
  });
306
306
  Object.defineProperty(exports, "DropdownItem", {
307
307
  enumerable: true,
308
- get: function () { return chunkODY3GZ3Y_cjs.DropdownItem; }
308
+ get: function () { return chunkMI6FOB4O_cjs.DropdownItem; }
309
309
  });
310
310
  Object.defineProperty(exports, "DropdownLabel", {
311
311
  enumerable: true,
312
- get: function () { return chunkODY3GZ3Y_cjs.DropdownLabel; }
312
+ get: function () { return chunkMI6FOB4O_cjs.DropdownLabel; }
313
313
  });
314
314
  Object.defineProperty(exports, "DropdownPortal", {
315
315
  enumerable: true,
316
- get: function () { return chunkODY3GZ3Y_cjs.DropdownPortal; }
316
+ get: function () { return chunkMI6FOB4O_cjs.DropdownPortal; }
317
317
  });
318
318
  Object.defineProperty(exports, "DropdownRadioGroup", {
319
319
  enumerable: true,
320
- get: function () { return chunkODY3GZ3Y_cjs.DropdownRadioGroup; }
320
+ get: function () { return chunkMI6FOB4O_cjs.DropdownRadioGroup; }
321
321
  });
322
322
  Object.defineProperty(exports, "DropdownRadioItem", {
323
323
  enumerable: true,
324
- get: function () { return chunkODY3GZ3Y_cjs.DropdownRadioItem; }
324
+ get: function () { return chunkMI6FOB4O_cjs.DropdownRadioItem; }
325
325
  });
326
326
  Object.defineProperty(exports, "DropdownSeparator", {
327
327
  enumerable: true,
328
- get: function () { return chunkODY3GZ3Y_cjs.DropdownSeparator; }
328
+ get: function () { return chunkMI6FOB4O_cjs.DropdownSeparator; }
329
329
  });
330
330
  Object.defineProperty(exports, "DropdownShortcut", {
331
331
  enumerable: true,
332
- get: function () { return chunkODY3GZ3Y_cjs.DropdownShortcut; }
332
+ get: function () { return chunkMI6FOB4O_cjs.DropdownShortcut; }
333
333
  });
334
334
  Object.defineProperty(exports, "DropdownSub", {
335
335
  enumerable: true,
336
- get: function () { return chunkODY3GZ3Y_cjs.DropdownSub; }
336
+ get: function () { return chunkMI6FOB4O_cjs.DropdownSub; }
337
337
  });
338
338
  Object.defineProperty(exports, "DropdownSubContent", {
339
339
  enumerable: true,
340
- get: function () { return chunkODY3GZ3Y_cjs.DropdownSubContent; }
340
+ get: function () { return chunkMI6FOB4O_cjs.DropdownSubContent; }
341
341
  });
342
342
  Object.defineProperty(exports, "DropdownSubTrigger", {
343
343
  enumerable: true,
344
- get: function () { return chunkODY3GZ3Y_cjs.DropdownSubTrigger; }
344
+ get: function () { return chunkMI6FOB4O_cjs.DropdownSubTrigger; }
345
345
  });
346
346
  Object.defineProperty(exports, "DropdownTrigger", {
347
347
  enumerable: true,
348
- get: function () { return chunkODY3GZ3Y_cjs.DropdownTrigger; }
348
+ get: function () { return chunkMI6FOB4O_cjs.DropdownTrigger; }
349
349
  });
350
350
  Object.defineProperty(exports, "SegmentedControl", {
351
351
  enumerable: true,
352
- get: function () { return chunkODY3GZ3Y_cjs.SegmentedControl; }
352
+ get: function () { return chunkMI6FOB4O_cjs.SegmentedControl; }
353
353
  });
354
354
  Object.defineProperty(exports, "Button", {
355
355
  enumerable: true,
@@ -1,6 +1,6 @@
1
- export { Badge, Breadcrumb, Checkbox, ConfirmDialog, CurrencyInput, DatePicker, Input, ListView, Markdown, MarkdownEditor, Modal, ModalBody, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, Popover, PopoverContent, PopoverTrigger, SearchCombobox, SearchSelect, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Skeleton, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, TimePicker, ToastProvider, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, renderMarkdown, toast } from '../chunk-J3IUFUNR.js';
1
+ export { Badge, Breadcrumb, Checkbox, ConfirmDialog, CurrencyInput, DatePicker, Input, ListView, Markdown, MarkdownEditor, Modal, ModalBody, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, Popover, PopoverContent, PopoverTrigger, SearchCombobox, SearchSelect, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Skeleton, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, TimePicker, ToastProvider, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, renderMarkdown, toast } from '../chunk-2GDQUARM.js';
2
2
  export { Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from '../chunk-75EFDLST.js';
3
- export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, DataTable, Dropdown, DropdownCheckboxItem, DropdownContent, DropdownGroup, DropdownItem, DropdownLabel, DropdownPortal, DropdownRadioGroup, DropdownRadioItem, DropdownSeparator, DropdownShortcut, DropdownSub, DropdownSubContent, DropdownSubTrigger, DropdownTrigger, SegmentedControl } from '../chunk-FY7OZNKU.js';
3
+ export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, DataTable, Dropdown, DropdownCheckboxItem, DropdownContent, DropdownGroup, DropdownItem, DropdownLabel, DropdownPortal, DropdownRadioGroup, DropdownRadioItem, DropdownSeparator, DropdownShortcut, DropdownSub, DropdownSubContent, DropdownSubTrigger, DropdownTrigger, SegmentedControl } from '../chunk-BVF2KPTT.js';
4
4
  export { Button, buttonVariants } from '../chunk-YRVE4FOD.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "fayz": {
4
4
  "status": "beta"
5
5
  },
6
- "version": "0.8.2",
6
+ "version": "0.8.3",
7
7
  "description": "Fayz SDK UI — Radix + Tailwind component library with CRUD engine and layout shells",
8
8
  "type": "module",
9
9
  "main": "./dist/index.cjs",
@@ -84,8 +84,8 @@
84
84
  "sonner": "^1.5.0",
85
85
  "tailwind-merge": "^2.4.0",
86
86
  "zustand": "^4.5.0",
87
- "@fayz-ai/core": "^0.8.1",
88
- "@fayz-ai/auth": "^0.8.1"
87
+ "@fayz-ai/core": "^0.8.3",
88
+ "@fayz-ai/auth": "^0.8.3"
89
89
  },
90
90
  "devDependencies": {
91
91
  "@types/react": "^18.3.0",
@@ -37,6 +37,10 @@ export function OnboardingWidget({
37
37
  const [completed, setCompleted] = React.useState<Record<string, boolean>>(() =>
38
38
  Object.fromEntries(steps.map((s) => [s.id, Boolean(s.done)])),
39
39
  )
40
+ // Async checks start unresolved: don't paint until they settle, or an
41
+ // already-onboarded tenant flashes the checklist for the query round-trip
42
+ // before allDone hides it (mount → visible 0/N → resolve → null).
43
+ const [resolved, setResolved] = React.useState(() => steps.every((s) => s.done != null || !s.check))
40
44
 
41
45
  React.useEffect(() => {
42
46
  let cancelled = false
@@ -44,12 +48,17 @@ export function OnboardingWidget({
44
48
  if (s.done != null) return [s.id, s.done] as const
45
49
  if (!s.check) return [s.id, false] as const
46
50
  try { return [s.id, await s.check()] as const } catch { return [s.id, false] as const }
47
- })).then((entries) => { if (!cancelled) setCompleted(Object.fromEntries(entries)) })
51
+ })).then((entries) => {
52
+ if (cancelled) return
53
+ setCompleted(Object.fromEntries(entries))
54
+ setResolved(true)
55
+ })
48
56
  return () => { cancelled = true }
49
57
  }, [steps])
50
58
 
51
59
  const doneCount = steps.filter((s) => completed[s.id]).length
52
60
  const allDone = doneCount === steps.length
61
+ if (!resolved) return null
53
62
  if (allDone && hideWhenComplete) return null
54
63
 
55
64
  const runAction = (action: OnboardingStepInput['action']) => {