@fayz-ai/ui 0.8.0 → 0.8.2
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/dist/{chunk-7PTRAWHO.cjs → chunk-IEYCOJTY.cjs} +213 -2
- package/dist/chunk-IEYCOJTY.cjs.map +1 -0
- package/dist/{chunk-OTUH4K4B.js → chunk-J3IUFUNR.js} +213 -3
- package/dist/chunk-J3IUFUNR.js.map +1 -0
- package/dist/{chunk-COC5DDFG.js → chunk-MZZMZYSE.js} +5 -4
- package/dist/chunk-MZZMZYSE.js.map +1 -0
- package/dist/{chunk-HG5RH3B3.cjs → chunk-XAOGMWLC.cjs} +4 -3
- package/dist/chunk-XAOGMWLC.cjs.map +1 -0
- package/dist/index.cjs +76 -72
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/layout/Topbar.d.ts.map +1 -1
- package/dist/layout/index.cjs +19 -19
- package/dist/layout/index.js +1 -1
- package/dist/primitives/SearchCombobox.d.ts +38 -0
- package/dist/primitives/SearchCombobox.d.ts.map +1 -0
- package/dist/primitives/index.cjs +56 -52
- package/dist/primitives/index.d.ts +1 -0
- package/dist/primitives/index.d.ts.map +1 -1
- package/dist/primitives/index.js +1 -1
- package/package.json +3 -3
- package/src/index.ts +2 -0
- package/src/layout/Topbar.tsx +2 -1
- package/src/primitives/SearchCombobox.tsx +216 -0
- package/src/primitives/index.ts +1 -0
- package/dist/chunk-7PTRAWHO.cjs.map +0 -1
- package/dist/chunk-COC5DDFG.js.map +0 -1
- package/dist/chunk-HG5RH3B3.cjs.map +0 -1
- package/dist/chunk-OTUH4K4B.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkIEYCOJTY_cjs = require('./chunk-IEYCOJTY.cjs');
|
|
4
|
+
var chunkXAOGMWLC_cjs = require('./chunk-XAOGMWLC.cjs');
|
|
5
5
|
var chunkOW73RZOU_cjs = require('./chunk-OW73RZOU.cjs');
|
|
6
6
|
var chunkTDGSY5W6_cjs = require('./chunk-TDGSY5W6.cjs');
|
|
7
7
|
var chunkNWPMNPGR_cjs = require('./chunk-NWPMNPGR.cjs');
|
|
@@ -69,283 +69,287 @@ AvatarFallback.displayName = AvatarPrimitive__namespace.Fallback.displayName;
|
|
|
69
69
|
|
|
70
70
|
Object.defineProperty(exports, "Badge", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkIEYCOJTY_cjs.Badge; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "Breadcrumb", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkIEYCOJTY_cjs.Breadcrumb; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "Checkbox", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkIEYCOJTY_cjs.Checkbox; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "ConfirmDialog", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkIEYCOJTY_cjs.ConfirmDialog; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "CurrencyInput", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkIEYCOJTY_cjs.CurrencyInput; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "DatePicker", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkIEYCOJTY_cjs.DatePicker; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "Input", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkIEYCOJTY_cjs.Input; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "ListView", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkIEYCOJTY_cjs.ListView; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "Markdown", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkIEYCOJTY_cjs.Markdown; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "MarkdownEditor", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkIEYCOJTY_cjs.MarkdownEditor; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "Modal", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkIEYCOJTY_cjs.Modal; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "ModalBody", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkIEYCOJTY_cjs.ModalBody; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "ModalClose", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkIEYCOJTY_cjs.ModalClose; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "ModalContent", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkIEYCOJTY_cjs.ModalContent; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "ModalDescription", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkIEYCOJTY_cjs.ModalDescription; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "ModalFooter", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkIEYCOJTY_cjs.ModalFooter; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "ModalHeader", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkIEYCOJTY_cjs.ModalHeader; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "ModalOverlay", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkIEYCOJTY_cjs.ModalOverlay; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "ModalPortal", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkIEYCOJTY_cjs.ModalPortal; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "ModalTitle", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkIEYCOJTY_cjs.ModalTitle; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "ModalTrigger", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkIEYCOJTY_cjs.ModalTrigger; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "Popover", {
|
|
155
155
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkIEYCOJTY_cjs.Popover; }
|
|
157
157
|
});
|
|
158
158
|
Object.defineProperty(exports, "PopoverContent", {
|
|
159
159
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkIEYCOJTY_cjs.PopoverContent; }
|
|
161
161
|
});
|
|
162
162
|
Object.defineProperty(exports, "PopoverTrigger", {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkIEYCOJTY_cjs.PopoverTrigger; }
|
|
165
|
+
});
|
|
166
|
+
Object.defineProperty(exports, "SearchCombobox", {
|
|
167
|
+
enumerable: true,
|
|
168
|
+
get: function () { return chunkIEYCOJTY_cjs.SearchCombobox; }
|
|
165
169
|
});
|
|
166
170
|
Object.defineProperty(exports, "SearchSelect", {
|
|
167
171
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkIEYCOJTY_cjs.SearchSelect; }
|
|
169
173
|
});
|
|
170
174
|
Object.defineProperty(exports, "Select", {
|
|
171
175
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkIEYCOJTY_cjs.Select; }
|
|
173
177
|
});
|
|
174
178
|
Object.defineProperty(exports, "SelectContent", {
|
|
175
179
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkIEYCOJTY_cjs.SelectContent; }
|
|
177
181
|
});
|
|
178
182
|
Object.defineProperty(exports, "SelectGroup", {
|
|
179
183
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkIEYCOJTY_cjs.SelectGroup; }
|
|
181
185
|
});
|
|
182
186
|
Object.defineProperty(exports, "SelectItem", {
|
|
183
187
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkIEYCOJTY_cjs.SelectItem; }
|
|
185
189
|
});
|
|
186
190
|
Object.defineProperty(exports, "SelectLabel", {
|
|
187
191
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkIEYCOJTY_cjs.SelectLabel; }
|
|
189
193
|
});
|
|
190
194
|
Object.defineProperty(exports, "SelectScrollDownButton", {
|
|
191
195
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkIEYCOJTY_cjs.SelectScrollDownButton; }
|
|
193
197
|
});
|
|
194
198
|
Object.defineProperty(exports, "SelectScrollUpButton", {
|
|
195
199
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkIEYCOJTY_cjs.SelectScrollUpButton; }
|
|
197
201
|
});
|
|
198
202
|
Object.defineProperty(exports, "SelectSeparator", {
|
|
199
203
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkIEYCOJTY_cjs.SelectSeparator; }
|
|
201
205
|
});
|
|
202
206
|
Object.defineProperty(exports, "SelectTrigger", {
|
|
203
207
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkIEYCOJTY_cjs.SelectTrigger; }
|
|
205
209
|
});
|
|
206
210
|
Object.defineProperty(exports, "SelectValue", {
|
|
207
211
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkIEYCOJTY_cjs.SelectValue; }
|
|
209
213
|
});
|
|
210
214
|
Object.defineProperty(exports, "Separator", {
|
|
211
215
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkIEYCOJTY_cjs.Separator; }
|
|
213
217
|
});
|
|
214
218
|
Object.defineProperty(exports, "Skeleton", {
|
|
215
219
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkIEYCOJTY_cjs.Skeleton; }
|
|
217
221
|
});
|
|
218
222
|
Object.defineProperty(exports, "TableSkeleton", {
|
|
219
223
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkIEYCOJTY_cjs.TableSkeleton; }
|
|
221
225
|
});
|
|
222
226
|
Object.defineProperty(exports, "Tabs", {
|
|
223
227
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkIEYCOJTY_cjs.Tabs; }
|
|
225
229
|
});
|
|
226
230
|
Object.defineProperty(exports, "TabsContent", {
|
|
227
231
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkIEYCOJTY_cjs.TabsContent; }
|
|
229
233
|
});
|
|
230
234
|
Object.defineProperty(exports, "TabsList", {
|
|
231
235
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkIEYCOJTY_cjs.TabsList; }
|
|
233
237
|
});
|
|
234
238
|
Object.defineProperty(exports, "TabsTrigger", {
|
|
235
239
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkIEYCOJTY_cjs.TabsTrigger; }
|
|
237
241
|
});
|
|
238
242
|
Object.defineProperty(exports, "TimePicker", {
|
|
239
243
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkIEYCOJTY_cjs.TimePicker; }
|
|
241
245
|
});
|
|
242
246
|
Object.defineProperty(exports, "ToastProvider", {
|
|
243
247
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkIEYCOJTY_cjs.ToastProvider; }
|
|
245
249
|
});
|
|
246
250
|
Object.defineProperty(exports, "Tooltip", {
|
|
247
251
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkIEYCOJTY_cjs.Tooltip; }
|
|
249
253
|
});
|
|
250
254
|
Object.defineProperty(exports, "TooltipContent", {
|
|
251
255
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkIEYCOJTY_cjs.TooltipContent; }
|
|
253
257
|
});
|
|
254
258
|
Object.defineProperty(exports, "TooltipProvider", {
|
|
255
259
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkIEYCOJTY_cjs.TooltipProvider; }
|
|
257
261
|
});
|
|
258
262
|
Object.defineProperty(exports, "TooltipTrigger", {
|
|
259
263
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkIEYCOJTY_cjs.TooltipTrigger; }
|
|
261
265
|
});
|
|
262
266
|
Object.defineProperty(exports, "badgeVariants", {
|
|
263
267
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkIEYCOJTY_cjs.badgeVariants; }
|
|
265
269
|
});
|
|
266
270
|
Object.defineProperty(exports, "renderMarkdown", {
|
|
267
271
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkIEYCOJTY_cjs.renderMarkdown; }
|
|
269
273
|
});
|
|
270
274
|
Object.defineProperty(exports, "toast", {
|
|
271
275
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkIEYCOJTY_cjs.toast; }
|
|
273
277
|
});
|
|
274
278
|
Object.defineProperty(exports, "AppShell", {
|
|
275
279
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkXAOGMWLC_cjs.AppShell; }
|
|
277
281
|
});
|
|
278
282
|
Object.defineProperty(exports, "BackStyleProvider", {
|
|
279
283
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunkXAOGMWLC_cjs.BackStyleProvider; }
|
|
281
285
|
});
|
|
282
286
|
Object.defineProperty(exports, "ContentSplit", {
|
|
283
287
|
enumerable: true,
|
|
284
|
-
get: function () { return
|
|
288
|
+
get: function () { return chunkXAOGMWLC_cjs.ContentSplit; }
|
|
285
289
|
});
|
|
286
290
|
Object.defineProperty(exports, "ContentSplitTrigger", {
|
|
287
291
|
enumerable: true,
|
|
288
|
-
get: function () { return
|
|
292
|
+
get: function () { return chunkXAOGMWLC_cjs.ContentSplitTrigger; }
|
|
289
293
|
});
|
|
290
294
|
Object.defineProperty(exports, "ICON_MAP", {
|
|
291
295
|
enumerable: true,
|
|
292
|
-
get: function () { return
|
|
296
|
+
get: function () { return chunkXAOGMWLC_cjs.ICON_MAP; }
|
|
293
297
|
});
|
|
294
298
|
Object.defineProperty(exports, "ModuleLayoutProvider", {
|
|
295
299
|
enumerable: true,
|
|
296
|
-
get: function () { return
|
|
300
|
+
get: function () { return chunkXAOGMWLC_cjs.ModuleLayoutProvider; }
|
|
297
301
|
});
|
|
298
302
|
Object.defineProperty(exports, "ModulePage", {
|
|
299
303
|
enumerable: true,
|
|
300
|
-
get: function () { return
|
|
304
|
+
get: function () { return chunkXAOGMWLC_cjs.ModulePage; }
|
|
301
305
|
});
|
|
302
306
|
Object.defineProperty(exports, "NavTransitionProvider", {
|
|
303
307
|
enumerable: true,
|
|
304
|
-
get: function () { return
|
|
308
|
+
get: function () { return chunkXAOGMWLC_cjs.NavTransitionProvider; }
|
|
305
309
|
});
|
|
306
310
|
Object.defineProperty(exports, "PageHeaderActions", {
|
|
307
311
|
enumerable: true,
|
|
308
|
-
get: function () { return
|
|
312
|
+
get: function () { return chunkXAOGMWLC_cjs.PageHeaderActions; }
|
|
309
313
|
});
|
|
310
314
|
Object.defineProperty(exports, "PageTransition", {
|
|
311
315
|
enumerable: true,
|
|
312
|
-
get: function () { return
|
|
316
|
+
get: function () { return chunkXAOGMWLC_cjs.PageTransition; }
|
|
313
317
|
});
|
|
314
318
|
Object.defineProperty(exports, "Sidebar", {
|
|
315
319
|
enumerable: true,
|
|
316
|
-
get: function () { return
|
|
320
|
+
get: function () { return chunkXAOGMWLC_cjs.Sidebar; }
|
|
317
321
|
});
|
|
318
322
|
Object.defineProperty(exports, "SubpageHeader", {
|
|
319
323
|
enumerable: true,
|
|
320
|
-
get: function () { return
|
|
324
|
+
get: function () { return chunkXAOGMWLC_cjs.SubpageHeader; }
|
|
321
325
|
});
|
|
322
326
|
Object.defineProperty(exports, "Topbar", {
|
|
323
327
|
enumerable: true,
|
|
324
|
-
get: function () { return
|
|
328
|
+
get: function () { return chunkXAOGMWLC_cjs.Topbar; }
|
|
325
329
|
});
|
|
326
330
|
Object.defineProperty(exports, "useBackStyle", {
|
|
327
331
|
enumerable: true,
|
|
328
|
-
get: function () { return
|
|
332
|
+
get: function () { return chunkXAOGMWLC_cjs.useBackStyle; }
|
|
329
333
|
});
|
|
330
334
|
Object.defineProperty(exports, "useLayoutStore", {
|
|
331
335
|
enumerable: true,
|
|
332
|
-
get: function () { return
|
|
336
|
+
get: function () { return chunkXAOGMWLC_cjs.useLayoutStore; }
|
|
333
337
|
});
|
|
334
338
|
Object.defineProperty(exports, "useModuleHeaderActionsSlot", {
|
|
335
339
|
enumerable: true,
|
|
336
|
-
get: function () { return
|
|
340
|
+
get: function () { return chunkXAOGMWLC_cjs.useModuleHeaderActionsSlot; }
|
|
337
341
|
});
|
|
338
342
|
Object.defineProperty(exports, "useModuleHeaderSlot", {
|
|
339
343
|
enumerable: true,
|
|
340
|
-
get: function () { return
|
|
344
|
+
get: function () { return chunkXAOGMWLC_cjs.useModuleHeaderSlot; }
|
|
341
345
|
});
|
|
342
346
|
Object.defineProperty(exports, "useModuleLayout", {
|
|
343
347
|
enumerable: true,
|
|
344
|
-
get: function () { return
|
|
348
|
+
get: function () { return chunkXAOGMWLC_cjs.useModuleLayout; }
|
|
345
349
|
});
|
|
346
350
|
Object.defineProperty(exports, "useNavTransition", {
|
|
347
351
|
enumerable: true,
|
|
348
|
-
get: function () { return
|
|
352
|
+
get: function () { return chunkXAOGMWLC_cjs.useNavTransition; }
|
|
349
353
|
});
|
|
350
354
|
Object.defineProperty(exports, "SaveBar", {
|
|
351
355
|
enumerable: true,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { cn } from './utils/cn';
|
|
2
|
-
export { Button, buttonVariants, type ButtonProps, Input, type InputProps, Badge, badgeVariants, type BadgeProps, Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent, Modal, ModalPortal, ModalOverlay, ModalClose, ModalTrigger, ModalContent, ModalHeader, ModalBody, ModalFooter, ModalTitle, ModalDescription, type ModalSize, Dropdown, DropdownTrigger, DropdownContent, DropdownItem, DropdownCheckboxItem, DropdownRadioItem, DropdownLabel, DropdownSeparator, DropdownShortcut, DropdownGroup, DropdownPortal, DropdownSub, DropdownSubContent, DropdownSubTrigger, DropdownRadioGroup, DataTable, type DataTableProps, Checkbox, type CheckboxColor, type CheckboxProps, Sheet, SheetPortal, SheetOverlay, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetBody, SheetFooter, SheetTitle, SheetDescription, Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, ToastProvider, toast, Tabs, TabsList, TabsTrigger, TabsContent, Separator, Breadcrumb, Tooltip, TooltipTrigger, TooltipContent, TooltipProvider, TimePicker, Skeleton, TableSkeleton, ListView, DatePicker, SearchSelect, type SearchSelectOption, type SearchSelectProps, CurrencyInput, ConfirmDialog, Popover, PopoverTrigger, PopoverContent, SegmentedControl, type SegmentedControlProps, type SegmentedOption, Markdown, renderMarkdown, type MarkdownProps, MarkdownEditor, type MarkdownEditorProps, } from './primitives';
|
|
2
|
+
export { Button, buttonVariants, type ButtonProps, Input, type InputProps, Badge, badgeVariants, type BadgeProps, Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent, Modal, ModalPortal, ModalOverlay, ModalClose, ModalTrigger, ModalContent, ModalHeader, ModalBody, ModalFooter, ModalTitle, ModalDescription, type ModalSize, Dropdown, DropdownTrigger, DropdownContent, DropdownItem, DropdownCheckboxItem, DropdownRadioItem, DropdownLabel, DropdownSeparator, DropdownShortcut, DropdownGroup, DropdownPortal, DropdownSub, DropdownSubContent, DropdownSubTrigger, DropdownRadioGroup, DataTable, type DataTableProps, Checkbox, type CheckboxColor, type CheckboxProps, Sheet, SheetPortal, SheetOverlay, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetBody, SheetFooter, SheetTitle, SheetDescription, Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, ToastProvider, toast, Tabs, TabsList, TabsTrigger, TabsContent, Separator, Breadcrumb, Tooltip, TooltipTrigger, TooltipContent, TooltipProvider, TimePicker, Skeleton, TableSkeleton, ListView, DatePicker, SearchSelect, type SearchSelectOption, type SearchSelectProps, CurrencyInput, ConfirmDialog, Popover, PopoverTrigger, PopoverContent, SegmentedControl, type SegmentedControlProps, type SegmentedOption, Markdown, renderMarkdown, type MarkdownProps, MarkdownEditor, type MarkdownEditorProps, SearchCombobox, type ComboboxOption, } from './primitives';
|
|
3
3
|
export { AppShell, type AppShellProps, type AppShellUser, type BottomNavItem, type BottomNavRouteItem, type BottomNavActionItem, type MobileHeaderVariant, Sidebar, type SidebarProps, type SidebarUser, type NavigationItem, ICON_MAP, Topbar, type TopbarProps, ModulePage, SubpageHeader, ContentSplit, ContentSplitTrigger, ModuleLayoutProvider, useModuleLayout, PageHeaderActions, BackStyleProvider, useBackStyle, SaveBar, SaveBarProvider, useSaveBar, useBackHandler, type SaveBarRegistration, useModuleHeaderSlot, useModuleHeaderActionsSlot, PageTransition, NavTransitionProvider, useNavTransition, type NavTransition, type ModulePageProps, type ModuleNavItem, type ModuleNavVariant, type SubpageHeaderProps, type ContentSplitProps, type ContentSplitTriggerProps, type BackButtonStyle, } from './layout';
|
|
4
4
|
export { useLayoutStore, useThemeStore, lightTheme, darkTheme, type ThemeTokens, type SemanticColors, type UIPerceptionTokens, type CreateThemeOptions, } from './stores';
|
|
5
5
|
export { ThemeProvider, useTheme, createTheme, createFayzTheme, fayzThemePresets, type ThemeProviderProps, type FayzThemePresetId, } from './theme';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAA;AAG/B,OAAO,EACL,MAAM,EACN,cAAc,EACd,KAAK,WAAW,EAChB,KAAK,EACL,KAAK,UAAU,EACf,KAAK,EACL,aAAa,EACb,KAAK,UAAU,EACf,IAAI,EACJ,UAAU,EACV,UAAU,EACV,SAAS,EACT,eAAe,EACf,WAAW,EACX,KAAK,EACL,WAAW,EACX,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,SAAS,EACT,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,KAAK,SAAS,EACd,QAAQ,EACR,eAAe,EACf,eAAe,EACf,YAAY,EACZ,oBAAoB,EACpB,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,SAAS,EACT,KAAK,cAAc,EACnB,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,SAAS,EACT,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,MAAM,EACN,WAAW,EACX,WAAW,EACX,aAAa,EACb,aAAa,EACb,WAAW,EACX,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACtB,aAAa,EACb,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,WAAW,EACX,SAAS,EACT,UAAU,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACd,eAAe,EACf,UAAU,EACV,QAAQ,EACR,aAAa,EACb,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,aAAa,EACb,aAAa,EACb,OAAO,EACP,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,QAAQ,EACR,cAAc,EACd,KAAK,aAAa,EAClB,cAAc,EACd,KAAK,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAA;AAG/B,OAAO,EACL,MAAM,EACN,cAAc,EACd,KAAK,WAAW,EAChB,KAAK,EACL,KAAK,UAAU,EACf,KAAK,EACL,aAAa,EACb,KAAK,UA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K,kBAAkB,EACvB,QAAQ,EACR,KAAK,aAAa,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,KAAK,cAAc,EACnB,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,OAAO,EACP,cAAc,EACd,KAAK,YAAY,EACjB,WAAW,EACX,KAAK,gBAAgB,EACrB,WAAW,EACX,KAAK,gBAAgB,EACrB,gBAAgB,EAChB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACd,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,WAAW,GACjB,MAAM,aAAa,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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, 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-
|
|
2
|
-
export { AppShell, BackStyleProvider, ContentSplit, ContentSplitTrigger, ICON_MAP, ModuleLayoutProvider, ModulePage, NavTransitionProvider, PageHeaderActions, PageTransition, Sidebar, SubpageHeader, Topbar, useBackStyle, useLayoutStore, useModuleHeaderActionsSlot, useModuleHeaderSlot, useModuleLayout, useNavTransition } from './chunk-
|
|
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';
|
|
2
|
+
export { AppShell, BackStyleProvider, ContentSplit, ContentSplitTrigger, ICON_MAP, ModuleLayoutProvider, ModulePage, NavTransitionProvider, PageHeaderActions, PageTransition, Sidebar, SubpageHeader, Topbar, useBackStyle, useLayoutStore, useModuleHeaderActionsSlot, useModuleHeaderSlot, useModuleLayout, useNavTransition } from './chunk-MZZMZYSE.js';
|
|
3
3
|
export { SaveBar, SaveBarProvider, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, useBackHandler, useSaveBar } from './chunk-75EFDLST.js';
|
|
4
4
|
export { ThemeProvider, createFayzTheme, createTheme, darkTheme, fayzThemePresets, lightTheme, useTheme, useThemeStore } from './chunk-O5F4LLSL.js';
|
|
5
5
|
export { ChartWidget, DEFAULT_RANGE_OPTIONS, DashboardCanvas, DashboardCustomizeMenu, DashboardGrid, DashboardNavigateProvider, DashboardRangeControl, DashboardRangeProvider, GoldCard, KpiCard, OnboardingWidget, TableWidget, WidgetGrid, defineChartWidget, defineCustomWidget, defineKpiWidget, defineOnboardingWidget, defineTableWidget, formatKpiValue, renderIcon, resolveDashboardLayout, useDashboardNavigate, useDashboardPreferences, useDashboardRange } from './chunk-W5O2X277.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Topbar.d.ts","sourceRoot":"","sources":["../../src/layout/Topbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,
|
|
1
|
+
{"version":3,"file":"Topbar.d.ts","sourceRoot":"","sources":["../../src/layout/Topbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAsGL,KAAK,UAAU,EAChB,MAAM,cAAc,CAAA;AAIrB,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,GAAG,WAAW,GAAG,UAAU,CAAA;IAC1C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAA;IAC3B,UAAU,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAA;KAAE,CAAA;CAChF;AAED,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,cAAc,EAAE,CAAA;IAC5B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,IAAI,CAAC,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAC9D,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,EAAE,CAAA;CAClF;AAmED,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAS/C,CAAA;AAoED,wBAAgB,MAAM,CAAC,EACrB,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAiB,EACjB,UAAU,EACV,iBAA+B,EAC/B,SAAS,EACT,SAAS,EACT,UAAU,EACV,SAAS,EACT,cAAc,GACf,EAAE,WAAW,qBAwHb"}
|
package/dist/layout/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXAOGMWLC_cjs = require('../chunk-XAOGMWLC.cjs');
|
|
4
4
|
var chunkOW73RZOU_cjs = require('../chunk-OW73RZOU.cjs');
|
|
5
5
|
require('../chunk-H6OULCHF.cjs');
|
|
6
6
|
|
|
@@ -8,75 +8,75 @@ require('../chunk-H6OULCHF.cjs');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "AppShell", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkXAOGMWLC_cjs.AppShell; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "BackStyleProvider", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkXAOGMWLC_cjs.BackStyleProvider; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "ContentSplit", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkXAOGMWLC_cjs.ContentSplit; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "ContentSplitTrigger", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkXAOGMWLC_cjs.ContentSplitTrigger; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "ICON_MAP", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkXAOGMWLC_cjs.ICON_MAP; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "ModuleLayoutProvider", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkXAOGMWLC_cjs.ModuleLayoutProvider; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "ModulePage", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkXAOGMWLC_cjs.ModulePage; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "NavTransitionProvider", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkXAOGMWLC_cjs.NavTransitionProvider; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "PageHeaderActions", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkXAOGMWLC_cjs.PageHeaderActions; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "PageTransition", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkXAOGMWLC_cjs.PageTransition; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "Sidebar", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkXAOGMWLC_cjs.Sidebar; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "SubpageHeader", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkXAOGMWLC_cjs.SubpageHeader; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "Topbar", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkXAOGMWLC_cjs.Topbar; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "useBackStyle", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkXAOGMWLC_cjs.useBackStyle; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "useModuleHeaderActionsSlot", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkXAOGMWLC_cjs.useModuleHeaderActionsSlot; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "useModuleHeaderSlot", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkXAOGMWLC_cjs.useModuleHeaderSlot; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "useModuleLayout", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkXAOGMWLC_cjs.useModuleLayout; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "useNavTransition", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkXAOGMWLC_cjs.useNavTransition; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "SaveBar", {
|
|
82
82
|
enumerable: true,
|
package/dist/layout/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AppShell, BackStyleProvider, ContentSplit, ContentSplitTrigger, ICON_MAP, ModuleLayoutProvider, ModulePage, NavTransitionProvider, PageHeaderActions, PageTransition, Sidebar, SubpageHeader, Topbar, useBackStyle, useModuleHeaderActionsSlot, useModuleHeaderSlot, useModuleLayout, useNavTransition } from '../chunk-
|
|
1
|
+
export { AppShell, BackStyleProvider, ContentSplit, ContentSplitTrigger, ICON_MAP, ModuleLayoutProvider, ModulePage, NavTransitionProvider, PageHeaderActions, PageTransition, Sidebar, SubpageHeader, Topbar, useBackStyle, useModuleHeaderActionsSlot, useModuleHeaderSlot, useModuleLayout, useNavTransition } from '../chunk-MZZMZYSE.js';
|
|
2
2
|
export { SaveBar, SaveBarProvider, useBackHandler, useSaveBar } from '../chunk-75EFDLST.js';
|
|
3
3
|
import '../chunk-YRVE4FOD.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ComboboxOption {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
price?: number;
|
|
7
|
+
data?: Record<string, unknown>;
|
|
8
|
+
}
|
|
9
|
+
interface SearchComboboxProps {
|
|
10
|
+
value: string;
|
|
11
|
+
onChange: (value: string) => void;
|
|
12
|
+
onSelect: (option: ComboboxOption) => void;
|
|
13
|
+
options: ComboboxOption[];
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
autoFocus?: boolean;
|
|
16
|
+
onBlurEmpty?: () => void;
|
|
17
|
+
renderRight?: (option: ComboboxOption) => React.ReactNode;
|
|
18
|
+
/** Show a "+ Create ..." option when search has no exact match */
|
|
19
|
+
allowCreate?: boolean;
|
|
20
|
+
/** Called when user clicks the create option. Receives the current search text. */
|
|
21
|
+
onCreateNew?: (searchText: string) => void;
|
|
22
|
+
/** Label for the create option (default: 'Create') */
|
|
23
|
+
createLabel?: string;
|
|
24
|
+
className?: string;
|
|
25
|
+
/** Minimal style — no border/bg, just underline on focus. For inline use. */
|
|
26
|
+
minimal?: boolean;
|
|
27
|
+
/** Inline label shown when collapsed. Click reveals the search input. */
|
|
28
|
+
inlineLabel?: string;
|
|
29
|
+
/** Icon for the inline label: 'search' (default) or 'plus' (for "add" actions) */
|
|
30
|
+
inlineIcon?: 'search' | 'plus';
|
|
31
|
+
/** Show a loading skeleton in the dropdown while results are being fetched */
|
|
32
|
+
loading?: boolean;
|
|
33
|
+
/** Called when the input gains focus */
|
|
34
|
+
onFocus?: () => void;
|
|
35
|
+
}
|
|
36
|
+
export declare function SearchCombobox({ value, onChange, onSelect, options, placeholder, autoFocus, onBlurEmpty, renderRight, allowCreate, onCreateNew, createLabel, className, minimal, inlineLabel, inlineIcon, loading, onFocus: onFocusProp, }: SearchComboboxProps): React.JSX.Element;
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=SearchCombobox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchCombobox.d.ts","sourceRoot":"","sources":["../../src/primitives/SearchCombobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAA;AAQvE,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC/B;AAED,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,QAAQ,EAAE,CAAC,MAAM,E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