@ckc-net/puck-extended 0.2.0 → 0.2.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/index.d.ts +411 -207
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1374 -1215
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +11 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as react0 from "react";
|
|
2
|
-
import React$1 from "react";
|
|
3
|
-
import * as
|
|
2
|
+
import React$1, { ComponentProps, ReactNode, SyntheticEvent } from "react";
|
|
3
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
4
4
|
import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
|
|
5
5
|
import { Input as Input$1 } from "@base-ui/react/input";
|
|
6
6
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
7
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
8
|
+
import { VariantProps } from "class-variance-authority";
|
|
7
9
|
import { Radio } from "@base-ui/react/radio";
|
|
8
10
|
import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
|
|
9
11
|
import * as _puckeditor_core0 from "@puckeditor/core";
|
|
@@ -11,12 +13,17 @@ import { Field, FieldProps, Fields } from "@puckeditor/core";
|
|
|
11
13
|
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
12
14
|
import { Accordion as Accordion$1 } from "@base-ui/react/accordion";
|
|
13
15
|
import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
|
|
14
|
-
import {
|
|
15
|
-
import { VariantProps } from "class-variance-authority";
|
|
16
|
+
import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
16
17
|
import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
|
|
18
|
+
import { ScrollArea as ScrollArea$1 } from "@base-ui/react/scroll-area";
|
|
19
|
+
import { ColumnDef, PaginationState, SortingState } from "@tanstack/react-table";
|
|
20
|
+
import * as _tiptap_extension_text_style0 from "@tiptap/extension-text-style";
|
|
17
21
|
import { Menu as Menu$1 } from "@base-ui/react/menu";
|
|
18
22
|
import { Separator as Separator$1 } from "@base-ui/react/separator";
|
|
23
|
+
import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
19
24
|
import { Toast } from "@base-ui/react/toast";
|
|
25
|
+
import { Editor } from "@tiptap/react";
|
|
26
|
+
import * as _tiptap_core0 from "@tiptap/core";
|
|
20
27
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
21
28
|
import * as _base_ui_react0 from "@base-ui/react";
|
|
22
29
|
|
|
@@ -37,7 +44,7 @@ declare const FieldNumberUnit: ({
|
|
|
37
44
|
label: string;
|
|
38
45
|
field: any;
|
|
39
46
|
readOnly?: boolean;
|
|
40
|
-
}) =>
|
|
47
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
41
48
|
//#endregion
|
|
42
49
|
//#region src/overrides/plugin.d.ts
|
|
43
50
|
declare const createPuckOverridesPlugin: () => {
|
|
@@ -51,7 +58,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
51
58
|
label?: string;
|
|
52
59
|
parentAction?: react0.ReactNode;
|
|
53
60
|
children?: react0.ReactNode;
|
|
54
|
-
}):
|
|
61
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
55
62
|
Action: ({
|
|
56
63
|
children,
|
|
57
64
|
label,
|
|
@@ -60,31 +67,31 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
60
67
|
children: react0.ReactNode;
|
|
61
68
|
label?: string;
|
|
62
69
|
onClick: (e: react0.SyntheticEvent) => void;
|
|
63
|
-
}) =>
|
|
70
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
64
71
|
Label: ({
|
|
65
72
|
label
|
|
66
73
|
}: {
|
|
67
74
|
label: string;
|
|
68
|
-
}) =>
|
|
75
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
69
76
|
Group: ({
|
|
70
77
|
children
|
|
71
78
|
}: {
|
|
72
79
|
children: react0.ReactNode;
|
|
73
|
-
}) =>
|
|
74
|
-
Separator: () =>
|
|
80
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
81
|
+
Separator: () => react_jsx_runtime3.JSX.Element;
|
|
75
82
|
};
|
|
76
83
|
drawer: ({
|
|
77
84
|
children
|
|
78
85
|
}: {
|
|
79
86
|
children: React.ReactNode;
|
|
80
|
-
}) =>
|
|
87
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
81
88
|
drawerItem: ({
|
|
82
89
|
name,
|
|
83
90
|
icon
|
|
84
91
|
}: {
|
|
85
92
|
name: string;
|
|
86
93
|
icon?: React.ReactNode;
|
|
87
|
-
}) =>
|
|
94
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
88
95
|
fields: ({
|
|
89
96
|
children
|
|
90
97
|
}: {
|
|
@@ -94,14 +101,14 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
94
101
|
path?: string;
|
|
95
102
|
index?: number;
|
|
96
103
|
} | null;
|
|
97
|
-
}) =>
|
|
104
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
98
105
|
fieldLabel: ({
|
|
99
106
|
children,
|
|
100
107
|
label
|
|
101
108
|
}: {
|
|
102
109
|
children: React.ReactNode;
|
|
103
110
|
label: string;
|
|
104
|
-
}) =>
|
|
111
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
105
112
|
fieldTypes: {
|
|
106
113
|
checkbox: ({
|
|
107
114
|
onChange,
|
|
@@ -120,7 +127,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
120
127
|
};
|
|
121
128
|
}) & {
|
|
122
129
|
label: string;
|
|
123
|
-
}) =>
|
|
130
|
+
}) => react_jsx_runtime3.JSX.Element | null;
|
|
124
131
|
numberUnit: ({
|
|
125
132
|
onChange,
|
|
126
133
|
value,
|
|
@@ -133,7 +140,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
133
140
|
label: string;
|
|
134
141
|
field: any;
|
|
135
142
|
readOnly?: boolean;
|
|
136
|
-
}) =>
|
|
143
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
137
144
|
radio: ({
|
|
138
145
|
onChange,
|
|
139
146
|
value,
|
|
@@ -151,7 +158,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
151
158
|
};
|
|
152
159
|
}) & {
|
|
153
160
|
label: string;
|
|
154
|
-
}) =>
|
|
161
|
+
}) => react_jsx_runtime3.JSX.Element | null;
|
|
155
162
|
select: ({
|
|
156
163
|
onChange,
|
|
157
164
|
value,
|
|
@@ -164,7 +171,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
164
171
|
label: string;
|
|
165
172
|
field: any;
|
|
166
173
|
readOnly?: boolean;
|
|
167
|
-
}) =>
|
|
174
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
168
175
|
text: ({
|
|
169
176
|
onChange,
|
|
170
177
|
value,
|
|
@@ -177,7 +184,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
177
184
|
label?: string;
|
|
178
185
|
field: any;
|
|
179
186
|
readOnly?: boolean;
|
|
180
|
-
}) =>
|
|
187
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
181
188
|
textarea: ({
|
|
182
189
|
onChange,
|
|
183
190
|
value,
|
|
@@ -190,7 +197,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
190
197
|
label: string;
|
|
191
198
|
field: any;
|
|
192
199
|
readOnly?: boolean;
|
|
193
|
-
}) =>
|
|
200
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
194
201
|
};
|
|
195
202
|
};
|
|
196
203
|
};
|
|
@@ -202,7 +209,7 @@ declare const Label: ({
|
|
|
202
209
|
}: {
|
|
203
210
|
label?: string;
|
|
204
211
|
readOnly?: boolean;
|
|
205
|
-
}) =>
|
|
212
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
206
213
|
//#endregion
|
|
207
214
|
//#region src/components/Fields/Input/index.d.ts
|
|
208
215
|
declare const FieldInput: ({
|
|
@@ -217,7 +224,7 @@ declare const FieldInput: ({
|
|
|
217
224
|
label?: string;
|
|
218
225
|
field: any;
|
|
219
226
|
readOnly?: boolean;
|
|
220
|
-
}) =>
|
|
227
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
221
228
|
//#endregion
|
|
222
229
|
//#region src/components/Fields/Textarea/index.d.ts
|
|
223
230
|
declare const FieldTextarea: ({
|
|
@@ -232,7 +239,7 @@ declare const FieldTextarea: ({
|
|
|
232
239
|
label: string;
|
|
233
240
|
field: any;
|
|
234
241
|
readOnly?: boolean;
|
|
235
|
-
}) =>
|
|
242
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
236
243
|
//#endregion
|
|
237
244
|
//#region src/components/Fields/Select/index.d.ts
|
|
238
245
|
declare const FieldSelect: ({
|
|
@@ -247,7 +254,7 @@ declare const FieldSelect: ({
|
|
|
247
254
|
label: string;
|
|
248
255
|
field: any;
|
|
249
256
|
readOnly?: boolean;
|
|
250
|
-
}) =>
|
|
257
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
251
258
|
//#endregion
|
|
252
259
|
//#region src/components/ui/radio.d.ts
|
|
253
260
|
type RadioLayout = "horizontal" | "inline";
|
|
@@ -261,12 +268,12 @@ declare function RadioGroup({
|
|
|
261
268
|
className,
|
|
262
269
|
layout,
|
|
263
270
|
...props
|
|
264
|
-
}: RadioGroupProps):
|
|
271
|
+
}: RadioGroupProps): react_jsx_runtime3.JSX.Element;
|
|
265
272
|
declare function RadioGroupItem({
|
|
266
273
|
className,
|
|
267
274
|
layout,
|
|
268
275
|
...props
|
|
269
|
-
}: RadioGroupItemProps):
|
|
276
|
+
}: RadioGroupItemProps): react_jsx_runtime3.JSX.Element;
|
|
270
277
|
//#endregion
|
|
271
278
|
//#region src/components/Fields/Radio/index.d.ts
|
|
272
279
|
type RadioProps = FieldProps<Field<any>> & {
|
|
@@ -287,7 +294,7 @@ declare const FieldRadio: ({
|
|
|
287
294
|
label
|
|
288
295
|
}: RadioProps & {
|
|
289
296
|
label: string;
|
|
290
|
-
}) =>
|
|
297
|
+
}) => react_jsx_runtime3.JSX.Element | null;
|
|
291
298
|
//#endregion
|
|
292
299
|
//#region src/components/ui/checkbox.d.ts
|
|
293
300
|
type CheckboxLayout = "horizontal" | "inline";
|
|
@@ -298,7 +305,7 @@ declare function Checkbox({
|
|
|
298
305
|
className,
|
|
299
306
|
layout,
|
|
300
307
|
...props
|
|
301
|
-
}: CheckboxProps$1):
|
|
308
|
+
}: CheckboxProps$1): react_jsx_runtime3.JSX.Element;
|
|
302
309
|
//#endregion
|
|
303
310
|
//#region src/components/Fields/Checkbox/index.d.ts
|
|
304
311
|
type CheckboxProps = FieldProps<Field<any>> & {
|
|
@@ -319,7 +326,31 @@ declare const FieldCheckbox: ({
|
|
|
319
326
|
label
|
|
320
327
|
}: CheckboxProps & {
|
|
321
328
|
label: string;
|
|
322
|
-
}) =>
|
|
329
|
+
}) => react_jsx_runtime3.JSX.Element | null;
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region src/components/RichTextMenuLink/index.d.ts
|
|
332
|
+
type RichTextMenuLinkProps = {
|
|
333
|
+
editor: Editor | null;
|
|
334
|
+
};
|
|
335
|
+
declare function RichTextMenuLink({
|
|
336
|
+
editor,
|
|
337
|
+
...props
|
|
338
|
+
}: RichTextMenuLinkProps & Omit<ComponentProps<"div">, keyof RichTextMenuLinkProps>): react_jsx_runtime3.JSX.Element;
|
|
339
|
+
//#endregion
|
|
340
|
+
//#region src/components/RichTextMenuColorPicker/index.d.ts
|
|
341
|
+
type RichTextMenuColorPickerProps = {
|
|
342
|
+
editor: Editor | null;
|
|
343
|
+
};
|
|
344
|
+
/**
|
|
345
|
+
* Pre-configured tiptap extensions for text color support.
|
|
346
|
+
* Spread this into `tiptap.extensions` in your field config:
|
|
347
|
+
* `extensions: [...richTextMenuColorPickerExtension]`
|
|
348
|
+
*/
|
|
349
|
+
declare const richTextMenuColorPickerExtension: (_tiptap_core0.Mark<_tiptap_extension_text_style0.TextStyleOptions, any> | _tiptap_core0.Extension<_tiptap_extension_text_style0.ColorOptions, any>)[];
|
|
350
|
+
declare function RichTextMenuColorPicker({
|
|
351
|
+
editor,
|
|
352
|
+
...props
|
|
353
|
+
}: RichTextMenuColorPickerProps & Omit<ComponentProps<"div">, keyof RichTextMenuColorPickerProps>): react_jsx_runtime3.JSX.Element;
|
|
323
354
|
//#endregion
|
|
324
355
|
//#region src/components/MediaPicker/index.d.ts
|
|
325
356
|
type MediaItem = {
|
|
@@ -347,21 +378,30 @@ declare const MediaPicker: ({
|
|
|
347
378
|
mediaType,
|
|
348
379
|
acceptedTypes,
|
|
349
380
|
maxSize
|
|
350
|
-
}: MediaPickerProps) =>
|
|
381
|
+
}: MediaPickerProps) => react_jsx_runtime3.JSX.Element;
|
|
351
382
|
declare const getMediaUrl: (value?: MediaPickerValue) => string | undefined;
|
|
352
383
|
//#endregion
|
|
353
384
|
//#region src/components/PagePicker/index.d.ts
|
|
354
385
|
type PageItem = {
|
|
355
386
|
id: number;
|
|
356
387
|
name: string;
|
|
357
|
-
slug: string;
|
|
358
388
|
url: string;
|
|
359
|
-
|
|
389
|
+
/** Correspond au champ `published` (boolean) de PageLang */
|
|
390
|
+
published: boolean;
|
|
391
|
+
};
|
|
392
|
+
/**
|
|
393
|
+
* Référence stable vers une page — ne contient jamais l'URL,
|
|
394
|
+
* qui peut changer. Utiliser `usePageUrl` pour la résolution dynamique.
|
|
395
|
+
*/
|
|
396
|
+
type PageReference = {
|
|
397
|
+
id: number;
|
|
398
|
+
name: string;
|
|
399
|
+
url: string;
|
|
360
400
|
};
|
|
361
401
|
type PagePickerValue = {
|
|
362
402
|
type?: "url" | "page";
|
|
363
403
|
url?: string;
|
|
364
|
-
page?:
|
|
404
|
+
page?: PageReference | null;
|
|
365
405
|
};
|
|
366
406
|
type PagePickerProps = {
|
|
367
407
|
value?: PagePickerValue;
|
|
@@ -370,11 +410,156 @@ type PagePickerProps = {
|
|
|
370
410
|
declare const PagePicker: ({
|
|
371
411
|
value,
|
|
372
412
|
onChange
|
|
373
|
-
}: PagePickerProps) =>
|
|
374
|
-
|
|
413
|
+
}: PagePickerProps) => react_jsx_runtime3.JSX.Element;
|
|
414
|
+
/**
|
|
415
|
+
* Hook React qui résout dynamiquement l'URL courante d'un `PagePickerValue`.
|
|
416
|
+
*
|
|
417
|
+
* Pour les références de page (`type: "page"`), l'URL est récupérée depuis
|
|
418
|
+
* l'API à partir de l'`id` de la page — ce qui garantit que le lien reste
|
|
419
|
+
* valide même si l'URL de la page a été modifiée après la sélection.
|
|
420
|
+
*
|
|
421
|
+
* @example
|
|
422
|
+
* const { url, loading } = usePageUrl(value)
|
|
423
|
+
* return loading ? <Spinner /> : <a href={url}>Lien</a>
|
|
424
|
+
*/
|
|
425
|
+
declare const usePageUrl: (value?: PagePickerValue) => {
|
|
426
|
+
url: string | undefined;
|
|
427
|
+
loading: boolean;
|
|
428
|
+
};
|
|
429
|
+
//#endregion
|
|
430
|
+
//#region src/components/ActionBar/index.d.ts
|
|
431
|
+
declare const ActionBar: {
|
|
432
|
+
({
|
|
433
|
+
label,
|
|
434
|
+
parentAction,
|
|
435
|
+
children
|
|
436
|
+
}: {
|
|
437
|
+
label?: string;
|
|
438
|
+
parentAction?: ReactNode;
|
|
439
|
+
children?: ReactNode;
|
|
440
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
441
|
+
Action: ({
|
|
442
|
+
children,
|
|
443
|
+
label,
|
|
444
|
+
onClick
|
|
445
|
+
}: {
|
|
446
|
+
children: ReactNode;
|
|
447
|
+
label?: string;
|
|
448
|
+
onClick: (e: SyntheticEvent) => void;
|
|
449
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
450
|
+
Label: ({
|
|
451
|
+
label
|
|
452
|
+
}: {
|
|
453
|
+
label: string;
|
|
454
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
455
|
+
Group: ({
|
|
456
|
+
children
|
|
457
|
+
}: {
|
|
458
|
+
children: ReactNode;
|
|
459
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
460
|
+
Separator: () => react_jsx_runtime3.JSX.Element;
|
|
461
|
+
};
|
|
462
|
+
//#endregion
|
|
463
|
+
//#region src/components/DrawerItem/index.d.ts
|
|
464
|
+
declare const DrawerItem: ({
|
|
465
|
+
name,
|
|
466
|
+
icon
|
|
467
|
+
}: {
|
|
468
|
+
name: string;
|
|
469
|
+
icon?: React.ReactNode;
|
|
470
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
471
|
+
//#endregion
|
|
472
|
+
//#region src/components/FieldGroups/index.d.ts
|
|
473
|
+
type ItemSelector = {
|
|
474
|
+
path?: string;
|
|
475
|
+
index?: number;
|
|
476
|
+
};
|
|
477
|
+
type FieldGroupsProps = {
|
|
478
|
+
children: React$1.ReactNode;
|
|
479
|
+
isLoading: boolean;
|
|
480
|
+
itemSelector?: ItemSelector | null;
|
|
481
|
+
};
|
|
482
|
+
declare const FieldGroups: ({
|
|
483
|
+
children
|
|
484
|
+
}: FieldGroupsProps) => react_jsx_runtime3.JSX.Element;
|
|
485
|
+
//#endregion
|
|
486
|
+
//#region src/components/PickerModal/index.d.ts
|
|
487
|
+
type PickerModalProps<T extends {
|
|
488
|
+
id: number | string;
|
|
489
|
+
}> = {
|
|
490
|
+
title: string;
|
|
491
|
+
/** Search */
|
|
492
|
+
searchQuery: string;
|
|
493
|
+
onSearch: (query: string) => void;
|
|
494
|
+
searchPlaceholder?: string;
|
|
495
|
+
/** Table data */
|
|
496
|
+
columns: ColumnDef<T>[];
|
|
497
|
+
data: T[];
|
|
498
|
+
loading: boolean;
|
|
499
|
+
totalItems: number;
|
|
500
|
+
/** Highlighted row */
|
|
501
|
+
selectedId?: number | string;
|
|
502
|
+
onRowClick: (item: T) => void;
|
|
503
|
+
/** Pagination — tanstack PaginationState */
|
|
504
|
+
pagination: PaginationState;
|
|
505
|
+
onPaginationChange: React$1.Dispatch<React$1.SetStateAction<PaginationState>>;
|
|
506
|
+
/** Sorting (optional — pass undefined to disable entirely) */
|
|
507
|
+
sorting?: SortingState;
|
|
508
|
+
onSortingChange?: React$1.Dispatch<React$1.SetStateAction<SortingState>>;
|
|
509
|
+
/** Page size selector options (defaults to [10, 25, 50, 100]) */
|
|
510
|
+
pageSizeOptions?: number[];
|
|
511
|
+
/** Empty state */
|
|
512
|
+
emptyIcon?: React$1.ReactNode;
|
|
513
|
+
emptyMessage?: string;
|
|
514
|
+
/** Optional footer (e.g. upload zone) */
|
|
515
|
+
footer?: React$1.ReactNode;
|
|
516
|
+
};
|
|
517
|
+
declare function PickerModal<T extends {
|
|
518
|
+
id: number | string;
|
|
519
|
+
}>({
|
|
520
|
+
title,
|
|
521
|
+
searchQuery,
|
|
522
|
+
onSearch,
|
|
523
|
+
searchPlaceholder,
|
|
524
|
+
columns,
|
|
525
|
+
data,
|
|
526
|
+
loading,
|
|
527
|
+
totalItems,
|
|
528
|
+
selectedId,
|
|
529
|
+
onRowClick,
|
|
530
|
+
pagination,
|
|
531
|
+
onPaginationChange,
|
|
532
|
+
sorting,
|
|
533
|
+
onSortingChange,
|
|
534
|
+
pageSizeOptions,
|
|
535
|
+
emptyIcon,
|
|
536
|
+
emptyMessage,
|
|
537
|
+
footer
|
|
538
|
+
}: PickerModalProps<T>): react_jsx_runtime3.JSX.Element;
|
|
539
|
+
//#endregion
|
|
540
|
+
//#region src/components/ColorPicker/index.d.ts
|
|
541
|
+
type ColorPickerProps = {
|
|
542
|
+
value?: string;
|
|
543
|
+
onChange: (value: string) => void;
|
|
544
|
+
};
|
|
545
|
+
declare const PREDEFINED_COLORS: {
|
|
546
|
+
name: string;
|
|
547
|
+
value: string;
|
|
548
|
+
}[];
|
|
549
|
+
declare const GRAY_COLORS: {
|
|
550
|
+
name: string;
|
|
551
|
+
value: string;
|
|
552
|
+
}[];
|
|
553
|
+
type ColorPickerContentProps = {
|
|
554
|
+
value?: string;
|
|
555
|
+
onChange: (value: string) => void;
|
|
556
|
+
onClear: () => void;
|
|
557
|
+
};
|
|
558
|
+
declare const ColorPickerContent: React$1.FC<ColorPickerContentProps>;
|
|
559
|
+
declare const ColorPicker: React$1.FC<ColorPickerProps>;
|
|
375
560
|
//#endregion
|
|
376
561
|
//#region src/components/ui/accordion.d.ts
|
|
377
|
-
declare const cssAnimationPresets$
|
|
562
|
+
declare const cssAnimationPresets$1: {
|
|
378
563
|
none: string;
|
|
379
564
|
fade: string[];
|
|
380
565
|
scale: string[];
|
|
@@ -382,7 +567,7 @@ declare const cssAnimationPresets$2: {
|
|
|
382
567
|
perspective: string[];
|
|
383
568
|
perspectiveBlur: string[];
|
|
384
569
|
};
|
|
385
|
-
declare const cssTransitionPresets$
|
|
570
|
+
declare const cssTransitionPresets$1: {
|
|
386
571
|
inExpo: string;
|
|
387
572
|
outExpo: string;
|
|
388
573
|
inOutExpo: string;
|
|
@@ -412,8 +597,8 @@ declare const cssTransitionPresets$2: {
|
|
|
412
597
|
inOutCirc: string;
|
|
413
598
|
inOutBase: string;
|
|
414
599
|
};
|
|
415
|
-
type CSSAnimationPreset = keyof typeof cssAnimationPresets$
|
|
416
|
-
type CSSTransitionPreset = keyof typeof cssTransitionPresets$
|
|
600
|
+
type CSSAnimationPreset = keyof typeof cssAnimationPresets$1;
|
|
601
|
+
type CSSTransitionPreset = keyof typeof cssTransitionPresets$1;
|
|
417
602
|
type AccordionVariant = "default" | "card" | "swiss";
|
|
418
603
|
interface AccordionProps extends Accordion$1.Root.Props {
|
|
419
604
|
animationPreset?: CSSAnimationPreset;
|
|
@@ -432,19 +617,19 @@ declare function Accordion({
|
|
|
432
617
|
className,
|
|
433
618
|
multiple,
|
|
434
619
|
...props
|
|
435
|
-
}: AccordionProps):
|
|
620
|
+
}: AccordionProps): react_jsx_runtime3.JSX.Element;
|
|
436
621
|
interface AccordionItemProps extends Accordion$1.Item.Props {}
|
|
437
622
|
declare function AccordionItem({
|
|
438
623
|
value: itemValue,
|
|
439
624
|
onOpenChange,
|
|
440
625
|
className,
|
|
441
626
|
...rest
|
|
442
|
-
}: AccordionItemProps):
|
|
627
|
+
}: AccordionItemProps): react_jsx_runtime3.JSX.Element;
|
|
443
628
|
interface AccordionHeaderProps extends Accordion$1.Header.Props {}
|
|
444
629
|
declare function AccordionHeader({
|
|
445
630
|
className,
|
|
446
631
|
...props
|
|
447
|
-
}: AccordionHeaderProps):
|
|
632
|
+
}: AccordionHeaderProps): react_jsx_runtime3.JSX.Element;
|
|
448
633
|
interface AccordionTriggerProps extends Accordion$1.Trigger.Props {
|
|
449
634
|
icon?: (props: {
|
|
450
635
|
open: boolean;
|
|
@@ -455,19 +640,36 @@ declare function AccordionTrigger({
|
|
|
455
640
|
icon,
|
|
456
641
|
children,
|
|
457
642
|
...props
|
|
458
|
-
}: AccordionTriggerProps):
|
|
643
|
+
}: AccordionTriggerProps): react_jsx_runtime3.JSX.Element;
|
|
459
644
|
interface AccordionPanelProps extends Accordion$1.Panel.Props {}
|
|
460
645
|
declare function AccordionPanel({
|
|
461
646
|
className,
|
|
462
647
|
children,
|
|
463
648
|
style,
|
|
464
649
|
...props
|
|
465
|
-
}: AccordionPanelProps):
|
|
650
|
+
}: AccordionPanelProps): react_jsx_runtime3.JSX.Element;
|
|
651
|
+
//#endregion
|
|
652
|
+
//#region src/components/ui/badge.d.ts
|
|
653
|
+
declare const badgeVariants: (props?: ({
|
|
654
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
655
|
+
variant?: "default" | "destructive" | "error" | "info" | "outline" | "secondary" | "success" | "warning" | null | undefined;
|
|
656
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
657
|
+
interface BadgeProps extends useRender.ComponentProps<"span"> {
|
|
658
|
+
variant?: VariantProps<typeof badgeVariants>["variant"];
|
|
659
|
+
size?: VariantProps<typeof badgeVariants>["size"];
|
|
660
|
+
}
|
|
661
|
+
declare function Badge({
|
|
662
|
+
className,
|
|
663
|
+
variant,
|
|
664
|
+
size,
|
|
665
|
+
render,
|
|
666
|
+
...props
|
|
667
|
+
}: BadgeProps): react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>>;
|
|
466
668
|
//#endregion
|
|
467
669
|
//#region src/components/ui/button.d.ts
|
|
468
670
|
declare const buttonVariants: (props?: ({
|
|
469
|
-
size?: "icon" | "default" | "
|
|
470
|
-
variant?: "default" | "destructive" | "
|
|
671
|
+
size?: "icon" | "default" | "lg" | "sm" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "xl" | "xs" | null | undefined;
|
|
672
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "link" | "destructive-outline" | "ghost" | "primary" | null | undefined;
|
|
471
673
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
472
674
|
interface ButtonProps extends useRender.ComponentProps<"button"> {
|
|
473
675
|
variant?: VariantProps<typeof buttonVariants>["variant"];
|
|
@@ -483,7 +685,7 @@ declare function Button({
|
|
|
483
685
|
//#endregion
|
|
484
686
|
//#region src/components/ui/dialog.d.ts
|
|
485
687
|
declare const Dialog: typeof Dialog$1.Root;
|
|
486
|
-
declare function DialogTrigger(props: Dialog$1.Trigger.Props):
|
|
688
|
+
declare function DialogTrigger(props: Dialog$1.Trigger.Props): react_jsx_runtime3.JSX.Element;
|
|
487
689
|
declare function DialogPopup({
|
|
488
690
|
className,
|
|
489
691
|
children,
|
|
@@ -493,33 +695,59 @@ declare function DialogPopup({
|
|
|
493
695
|
}: Dialog$1.Popup.Props & {
|
|
494
696
|
showCloseButton?: boolean;
|
|
495
697
|
bottomStickOnMobile?: boolean;
|
|
496
|
-
}):
|
|
698
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
497
699
|
declare function DialogHeader({
|
|
498
700
|
className,
|
|
499
701
|
...props
|
|
500
|
-
}: React.ComponentProps<"div">):
|
|
702
|
+
}: React.ComponentProps<"div">): react_jsx_runtime3.JSX.Element;
|
|
501
703
|
declare function DialogFooter({
|
|
502
704
|
className,
|
|
503
705
|
variant,
|
|
504
706
|
...props
|
|
505
707
|
}: React.ComponentProps<"div"> & {
|
|
506
708
|
variant?: "default" | "bare";
|
|
507
|
-
}):
|
|
709
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
508
710
|
declare function DialogTitle({
|
|
509
711
|
className,
|
|
510
712
|
...props
|
|
511
|
-
}: Dialog$1.Title.Props):
|
|
713
|
+
}: Dialog$1.Title.Props): react_jsx_runtime3.JSX.Element;
|
|
512
714
|
declare function DialogDescription({
|
|
513
715
|
className,
|
|
514
716
|
...props
|
|
515
|
-
}: Dialog$1.Description.Props):
|
|
717
|
+
}: Dialog$1.Description.Props): react_jsx_runtime3.JSX.Element;
|
|
516
718
|
declare function DialogPanel({
|
|
517
719
|
className,
|
|
518
720
|
scrollFade,
|
|
519
721
|
...props
|
|
520
722
|
}: React.ComponentProps<"div"> & {
|
|
521
723
|
scrollFade?: boolean;
|
|
522
|
-
}):
|
|
724
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
725
|
+
//#endregion
|
|
726
|
+
//#region src/components/ui/frame.d.ts
|
|
727
|
+
declare function Frame({
|
|
728
|
+
className,
|
|
729
|
+
...props
|
|
730
|
+
}: react0.ComponentProps<"div">): react_jsx_runtime3.JSX.Element;
|
|
731
|
+
declare function FramePanel({
|
|
732
|
+
className,
|
|
733
|
+
...props
|
|
734
|
+
}: react0.ComponentProps<"div">): react_jsx_runtime3.JSX.Element;
|
|
735
|
+
declare function FrameHeader({
|
|
736
|
+
className,
|
|
737
|
+
...props
|
|
738
|
+
}: react0.ComponentProps<"header">): react_jsx_runtime3.JSX.Element;
|
|
739
|
+
declare function FrameTitle({
|
|
740
|
+
className,
|
|
741
|
+
...props
|
|
742
|
+
}: react0.ComponentProps<"div">): react_jsx_runtime3.JSX.Element;
|
|
743
|
+
declare function FrameDescription({
|
|
744
|
+
className,
|
|
745
|
+
...props
|
|
746
|
+
}: react0.ComponentProps<"div">): react_jsx_runtime3.JSX.Element;
|
|
747
|
+
declare function FrameFooter({
|
|
748
|
+
className,
|
|
749
|
+
...props
|
|
750
|
+
}: react0.ComponentProps<"footer">): react_jsx_runtime3.JSX.Element;
|
|
523
751
|
//#endregion
|
|
524
752
|
//#region src/components/ui/input.d.ts
|
|
525
753
|
type InputProps = Omit<Input$1.Props & react0.RefAttributes<HTMLInputElement>, "size"> & {
|
|
@@ -533,7 +761,7 @@ declare function Input({
|
|
|
533
761
|
unstyled,
|
|
534
762
|
nativeInput,
|
|
535
763
|
...props
|
|
536
|
-
}: InputProps):
|
|
764
|
+
}: InputProps): react_jsx_runtime3.JSX.Element;
|
|
537
765
|
//#endregion
|
|
538
766
|
//#region src/components/ui/textarea.d.ts
|
|
539
767
|
type TextareaProps = react0.ComponentProps<"textarea"> & {
|
|
@@ -545,13 +773,13 @@ declare function Textarea({
|
|
|
545
773
|
size,
|
|
546
774
|
unstyled,
|
|
547
775
|
...props
|
|
548
|
-
}: TextareaProps):
|
|
776
|
+
}: TextareaProps): react_jsx_runtime3.JSX.Element;
|
|
549
777
|
//#endregion
|
|
550
778
|
//#region src/components/ui/input-group.d.ts
|
|
551
779
|
declare function InputGroup({
|
|
552
780
|
className,
|
|
553
781
|
...props
|
|
554
|
-
}: react0.ComponentProps<"div">):
|
|
782
|
+
}: react0.ComponentProps<"div">): react_jsx_runtime3.JSX.Element;
|
|
555
783
|
declare const inputGroupAddonVariants: (props?: ({
|
|
556
784
|
align?: "inline-start" | "block-end" | "block-start" | "inline-end" | null | undefined;
|
|
557
785
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
@@ -559,25 +787,25 @@ declare function InputGroupAddon({
|
|
|
559
787
|
className,
|
|
560
788
|
align,
|
|
561
789
|
...props
|
|
562
|
-
}: react0.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>):
|
|
790
|
+
}: react0.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime3.JSX.Element;
|
|
563
791
|
declare function InputGroupText({
|
|
564
792
|
className,
|
|
565
793
|
...props
|
|
566
|
-
}: react0.ComponentProps<"span">):
|
|
794
|
+
}: react0.ComponentProps<"span">): react_jsx_runtime3.JSX.Element;
|
|
567
795
|
declare function InputGroupInput({
|
|
568
796
|
className,
|
|
569
797
|
...props
|
|
570
|
-
}: InputProps):
|
|
798
|
+
}: InputProps): react_jsx_runtime3.JSX.Element;
|
|
571
799
|
declare function InputGroupTextarea({
|
|
572
800
|
className,
|
|
573
801
|
...props
|
|
574
|
-
}: TextareaProps):
|
|
802
|
+
}: TextareaProps): react_jsx_runtime3.JSX.Element;
|
|
575
803
|
//#endregion
|
|
576
804
|
//#region src/components/ui/menu.d.ts
|
|
577
805
|
declare const MenuCreateHandle: typeof Menu$1.createHandle;
|
|
578
806
|
declare const Menu: typeof Menu$1.Root;
|
|
579
807
|
declare const MenuPortal: react0.ForwardRefExoticComponent<Omit<_base_ui_react0.ContextMenuPortalProps, "ref"> & react0.RefAttributes<HTMLDivElement>>;
|
|
580
|
-
declare function MenuTrigger(props: Menu$1.Trigger.Props):
|
|
808
|
+
declare function MenuTrigger(props: Menu$1.Trigger.Props): react_jsx_runtime3.JSX.Element;
|
|
581
809
|
declare function MenuPopup({
|
|
582
810
|
children,
|
|
583
811
|
className,
|
|
@@ -591,8 +819,8 @@ declare function MenuPopup({
|
|
|
591
819
|
sideOffset?: Menu$1.Positioner.Props["sideOffset"];
|
|
592
820
|
alignOffset?: Menu$1.Positioner.Props["alignOffset"];
|
|
593
821
|
side?: Menu$1.Positioner.Props["side"];
|
|
594
|
-
}):
|
|
595
|
-
declare function MenuGroup(props: Menu$1.Group.Props):
|
|
822
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
823
|
+
declare function MenuGroup(props: Menu$1.Group.Props): react_jsx_runtime3.JSX.Element;
|
|
596
824
|
declare function MenuItem({
|
|
597
825
|
className,
|
|
598
826
|
inset,
|
|
@@ -601,7 +829,7 @@ declare function MenuItem({
|
|
|
601
829
|
}: Menu$1.Item.Props & {
|
|
602
830
|
inset?: boolean;
|
|
603
831
|
variant?: "default" | "destructive";
|
|
604
|
-
}):
|
|
832
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
605
833
|
declare function MenuCheckboxItem({
|
|
606
834
|
className,
|
|
607
835
|
children,
|
|
@@ -610,29 +838,29 @@ declare function MenuCheckboxItem({
|
|
|
610
838
|
...props
|
|
611
839
|
}: Menu$1.CheckboxItem.Props & {
|
|
612
840
|
variant?: "default" | "switch";
|
|
613
|
-
}):
|
|
614
|
-
declare function MenuRadioGroup(props: Menu$1.RadioGroup.Props):
|
|
841
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
842
|
+
declare function MenuRadioGroup(props: Menu$1.RadioGroup.Props): react_jsx_runtime3.JSX.Element;
|
|
615
843
|
declare function MenuRadioItem({
|
|
616
844
|
className,
|
|
617
845
|
children,
|
|
618
846
|
...props
|
|
619
|
-
}: Menu$1.RadioItem.Props):
|
|
847
|
+
}: Menu$1.RadioItem.Props): react_jsx_runtime3.JSX.Element;
|
|
620
848
|
declare function MenuGroupLabel({
|
|
621
849
|
className,
|
|
622
850
|
inset,
|
|
623
851
|
...props
|
|
624
852
|
}: Menu$1.GroupLabel.Props & {
|
|
625
853
|
inset?: boolean;
|
|
626
|
-
}):
|
|
854
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
627
855
|
declare function MenuSeparator({
|
|
628
856
|
className,
|
|
629
857
|
...props
|
|
630
|
-
}: Menu$1.Separator.Props):
|
|
858
|
+
}: Menu$1.Separator.Props): react_jsx_runtime3.JSX.Element;
|
|
631
859
|
declare function MenuShortcut({
|
|
632
860
|
className,
|
|
633
861
|
...props
|
|
634
|
-
}: react0.ComponentProps<"kbd">):
|
|
635
|
-
declare function MenuSub(props: Menu$1.SubmenuRoot.Props):
|
|
862
|
+
}: react0.ComponentProps<"kbd">): react_jsx_runtime3.JSX.Element;
|
|
863
|
+
declare function MenuSub(props: Menu$1.SubmenuRoot.Props): react_jsx_runtime3.JSX.Element;
|
|
636
864
|
declare function MenuSubTrigger({
|
|
637
865
|
className,
|
|
638
866
|
inset,
|
|
@@ -640,7 +868,7 @@ declare function MenuSubTrigger({
|
|
|
640
868
|
...props
|
|
641
869
|
}: Menu$1.SubmenuTrigger.Props & {
|
|
642
870
|
inset?: boolean;
|
|
643
|
-
}):
|
|
871
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
644
872
|
declare function MenuSubPopup({
|
|
645
873
|
className,
|
|
646
874
|
sideOffset,
|
|
@@ -651,215 +879,191 @@ declare function MenuSubPopup({
|
|
|
651
879
|
align?: Menu$1.Positioner.Props["align"];
|
|
652
880
|
sideOffset?: Menu$1.Positioner.Props["sideOffset"];
|
|
653
881
|
alignOffset?: Menu$1.Positioner.Props["alignOffset"];
|
|
654
|
-
}):
|
|
882
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
655
883
|
//#endregion
|
|
656
884
|
//#region src/components/ui/pagination.d.ts
|
|
657
885
|
declare function Pagination({
|
|
658
886
|
className,
|
|
659
887
|
...props
|
|
660
|
-
}: react0.ComponentProps<"nav">):
|
|
888
|
+
}: react0.ComponentProps<"nav">): react_jsx_runtime3.JSX.Element;
|
|
661
889
|
declare function PaginationContent({
|
|
662
890
|
className,
|
|
663
891
|
...props
|
|
664
|
-
}: react0.ComponentProps<"ul">):
|
|
892
|
+
}: react0.ComponentProps<"ul">): react_jsx_runtime3.JSX.Element;
|
|
665
893
|
declare function PaginationItem({
|
|
666
894
|
...props
|
|
667
|
-
}: react0.ComponentProps<"li">):
|
|
895
|
+
}: react0.ComponentProps<"li">): react_jsx_runtime3.JSX.Element;
|
|
668
896
|
type PaginationLinkProps = {
|
|
669
897
|
isActive?: boolean;
|
|
670
|
-
|
|
898
|
+
size?: react0.ComponentProps<typeof Button>["size"];
|
|
899
|
+
} & useRender.ComponentProps<"a">;
|
|
671
900
|
declare function PaginationLink({
|
|
672
901
|
className,
|
|
673
902
|
isActive,
|
|
674
903
|
size,
|
|
904
|
+
render,
|
|
675
905
|
...props
|
|
676
|
-
}: PaginationLinkProps):
|
|
906
|
+
}: PaginationLinkProps): react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>>;
|
|
677
907
|
declare function PaginationPrevious({
|
|
678
908
|
className,
|
|
679
909
|
...props
|
|
680
|
-
}: react0.ComponentProps<typeof PaginationLink>):
|
|
910
|
+
}: react0.ComponentProps<typeof PaginationLink>): react_jsx_runtime3.JSX.Element;
|
|
681
911
|
declare function PaginationNext({
|
|
682
912
|
className,
|
|
683
913
|
...props
|
|
684
|
-
}: react0.ComponentProps<typeof PaginationLink>):
|
|
914
|
+
}: react0.ComponentProps<typeof PaginationLink>): react_jsx_runtime3.JSX.Element;
|
|
685
915
|
declare function PaginationEllipsis({
|
|
686
916
|
className,
|
|
687
917
|
...props
|
|
688
|
-
}: react0.ComponentProps<"span">):
|
|
918
|
+
}: react0.ComponentProps<"span">): react_jsx_runtime3.JSX.Element;
|
|
689
919
|
//#endregion
|
|
690
|
-
//#region src/components/ui/
|
|
691
|
-
declare const
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
inQuad: string;
|
|
716
|
-
outQuad: string;
|
|
717
|
-
inOutQuad: string;
|
|
718
|
-
inCubic: string;
|
|
719
|
-
outCubic: string;
|
|
720
|
-
inOutCubic: string;
|
|
721
|
-
inQuart: string;
|
|
722
|
-
outQuart: string;
|
|
723
|
-
inOutQuart: string;
|
|
724
|
-
inQuint: string;
|
|
725
|
-
outQuint: string;
|
|
726
|
-
inOutQuint: string;
|
|
727
|
-
inCirc: string;
|
|
728
|
-
outCirc: string;
|
|
729
|
-
inOutCirc: string;
|
|
730
|
-
inOutBase: string;
|
|
731
|
-
};
|
|
732
|
-
type CSSAnimationPresets$1 = keyof typeof cssAnimationPresets$1;
|
|
733
|
-
type CSSTransitionPresets$1 = keyof typeof cssTransitionPresets$1;
|
|
734
|
-
type Backdrop = "opaque" | "blur" | "transparent";
|
|
735
|
-
interface SelectRootProps extends React.ComponentProps<typeof Select$1.Root> {
|
|
736
|
-
backdrop?: Backdrop;
|
|
737
|
-
}
|
|
738
|
-
declare function Select({
|
|
739
|
-
backdrop,
|
|
920
|
+
//#region src/components/ui/popover.d.ts
|
|
921
|
+
declare const PopoverCreateHandle: typeof Popover$1.createHandle;
|
|
922
|
+
declare const Popover: typeof Popover$1.Root;
|
|
923
|
+
declare function PopoverTrigger(props: Popover$1.Trigger.Props): react_jsx_runtime3.JSX.Element;
|
|
924
|
+
declare function PopoverPopup({
|
|
925
|
+
children,
|
|
926
|
+
className,
|
|
927
|
+
side,
|
|
928
|
+
align,
|
|
929
|
+
sideOffset,
|
|
930
|
+
alignOffset,
|
|
931
|
+
tooltipStyle,
|
|
932
|
+
...props
|
|
933
|
+
}: Popover$1.Popup.Props & {
|
|
934
|
+
side?: Popover$1.Positioner.Props["side"];
|
|
935
|
+
align?: Popover$1.Positioner.Props["align"];
|
|
936
|
+
sideOffset?: Popover$1.Positioner.Props["sideOffset"];
|
|
937
|
+
alignOffset?: Popover$1.Positioner.Props["alignOffset"];
|
|
938
|
+
tooltipStyle?: boolean;
|
|
939
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
940
|
+
declare function PopoverClose({
|
|
941
|
+
...props
|
|
942
|
+
}: Popover$1.Close.Props): react_jsx_runtime3.JSX.Element;
|
|
943
|
+
declare function PopoverTitle({
|
|
944
|
+
className,
|
|
740
945
|
...props
|
|
741
|
-
}:
|
|
742
|
-
|
|
743
|
-
declare function SelectTrigger({
|
|
946
|
+
}: Popover$1.Title.Props): react_jsx_runtime3.JSX.Element;
|
|
947
|
+
declare function PopoverDescription({
|
|
744
948
|
className,
|
|
745
949
|
...props
|
|
746
|
-
}:
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
declare function SelectValue({
|
|
950
|
+
}: Popover$1.Description.Props): react_jsx_runtime3.JSX.Element;
|
|
951
|
+
//#endregion
|
|
952
|
+
//#region src/components/ui/scroll-area.d.ts
|
|
953
|
+
declare function ScrollArea({
|
|
751
954
|
className,
|
|
752
|
-
|
|
955
|
+
children,
|
|
956
|
+
scrollFade,
|
|
957
|
+
scrollbarGutter,
|
|
753
958
|
...props
|
|
754
|
-
}:
|
|
755
|
-
|
|
756
|
-
|
|
959
|
+
}: ScrollArea$1.Root.Props & {
|
|
960
|
+
scrollFade?: boolean;
|
|
961
|
+
scrollbarGutter?: boolean;
|
|
962
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
963
|
+
declare function ScrollBar({
|
|
757
964
|
className,
|
|
965
|
+
orientation,
|
|
758
966
|
...props
|
|
759
|
-
}:
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
967
|
+
}: ScrollArea$1.Scrollbar.Props): react_jsx_runtime3.JSX.Element;
|
|
968
|
+
//#endregion
|
|
969
|
+
//#region src/components/ui/select.d.ts
|
|
970
|
+
declare const Select: typeof Select$1.Root;
|
|
971
|
+
declare const selectTriggerVariants: (props?: ({
|
|
972
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
973
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
974
|
+
declare function SelectTrigger({
|
|
975
|
+
className,
|
|
976
|
+
size,
|
|
977
|
+
children,
|
|
978
|
+
...props
|
|
979
|
+
}: Select$1.Trigger.Props & VariantProps<typeof selectTriggerVariants>): react_jsx_runtime3.JSX.Element;
|
|
980
|
+
declare function SelectValue({
|
|
981
|
+
className,
|
|
982
|
+
...props
|
|
983
|
+
}: Select$1.Value.Props): react_jsx_runtime3.JSX.Element;
|
|
767
984
|
declare function SelectPopup({
|
|
768
985
|
className,
|
|
769
|
-
|
|
770
|
-
transitionPreset,
|
|
771
|
-
reduceMotion,
|
|
772
|
-
showArrow,
|
|
986
|
+
children,
|
|
773
987
|
side,
|
|
774
988
|
sideOffset,
|
|
775
989
|
align,
|
|
776
990
|
alignOffset,
|
|
777
991
|
alignItemWithTrigger,
|
|
778
|
-
|
|
779
|
-
...
|
|
780
|
-
}:
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
992
|
+
anchor,
|
|
993
|
+
...props
|
|
994
|
+
}: Select$1.Popup.Props & {
|
|
995
|
+
side?: Select$1.Positioner.Props["side"];
|
|
996
|
+
sideOffset?: Select$1.Positioner.Props["sideOffset"];
|
|
997
|
+
align?: Select$1.Positioner.Props["align"];
|
|
998
|
+
alignOffset?: Select$1.Positioner.Props["alignOffset"];
|
|
999
|
+
alignItemWithTrigger?: Select$1.Positioner.Props["alignItemWithTrigger"];
|
|
1000
|
+
anchor?: Select$1.Positioner.Props["anchor"];
|
|
1001
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
787
1002
|
declare function SelectItem({
|
|
788
1003
|
className,
|
|
1004
|
+
children,
|
|
789
1005
|
...props
|
|
790
|
-
}:
|
|
791
|
-
interface SelectItemTextProps extends React.ComponentProps<typeof Select$1.ItemText> {}
|
|
792
|
-
declare function SelectItemText({
|
|
793
|
-
className,
|
|
794
|
-
...props
|
|
795
|
-
}: SelectItemTextProps): react_jsx_runtime27.JSX.Element;
|
|
796
|
-
interface SelectItemIndicatorProps extends React.ComponentProps<typeof Select$1.ItemIndicator> {}
|
|
797
|
-
declare function SelectItemIndicator({
|
|
798
|
-
className,
|
|
799
|
-
...props
|
|
800
|
-
}: SelectItemIndicatorProps): react_jsx_runtime27.JSX.Element;
|
|
801
|
-
interface SelectGroupProps extends React.ComponentProps<typeof Select$1.Group> {}
|
|
802
|
-
declare function SelectGroup({
|
|
803
|
-
...props
|
|
804
|
-
}: SelectGroupProps): react_jsx_runtime27.JSX.Element;
|
|
805
|
-
interface SelectGroupLabelProps extends React.ComponentProps<typeof Select$1.GroupLabel> {}
|
|
806
|
-
declare function SelectGroupLabel({
|
|
807
|
-
...props
|
|
808
|
-
}: SelectGroupLabelProps): react_jsx_runtime27.JSX.Element;
|
|
809
|
-
declare function SelectScrollUpArrow(props: React.ComponentProps<typeof Select$1.ScrollUpArrow>): react_jsx_runtime27.JSX.Element;
|
|
810
|
-
declare function SelectScrollDownArrow(props: React.ComponentProps<typeof Select$1.ScrollDownArrow>): react_jsx_runtime27.JSX.Element;
|
|
811
|
-
interface SelectSeparatorProps extends React.ComponentProps<typeof Select$1.Separator> {}
|
|
1006
|
+
}: Select$1.Item.Props): react_jsx_runtime3.JSX.Element;
|
|
812
1007
|
declare function SelectSeparator({
|
|
1008
|
+
className,
|
|
813
1009
|
...props
|
|
814
|
-
}:
|
|
1010
|
+
}: Select$1.Separator.Props): react_jsx_runtime3.JSX.Element;
|
|
1011
|
+
declare function SelectGroup(props: Select$1.Group.Props): react_jsx_runtime3.JSX.Element;
|
|
1012
|
+
declare function SelectGroupLabel(props: Select$1.GroupLabel.Props): react_jsx_runtime3.JSX.Element;
|
|
815
1013
|
//#endregion
|
|
816
1014
|
//#region src/components/ui/separator.d.ts
|
|
817
1015
|
declare function Separator({
|
|
818
1016
|
className,
|
|
819
1017
|
orientation,
|
|
820
1018
|
...props
|
|
821
|
-
}: Separator$1.Props):
|
|
1019
|
+
}: Separator$1.Props): react_jsx_runtime3.JSX.Element;
|
|
1020
|
+
//#endregion
|
|
1021
|
+
//#region src/components/ui/switch.d.ts
|
|
1022
|
+
declare function Switch({
|
|
1023
|
+
className,
|
|
1024
|
+
...props
|
|
1025
|
+
}: Switch$1.Root.Props): react_jsx_runtime3.JSX.Element;
|
|
822
1026
|
//#endregion
|
|
823
1027
|
//#region src/components/ui/table.d.ts
|
|
824
1028
|
declare function Table({
|
|
825
1029
|
className,
|
|
826
1030
|
...props
|
|
827
|
-
}: react0.ComponentProps<"table">):
|
|
1031
|
+
}: react0.ComponentProps<"table">): react_jsx_runtime3.JSX.Element;
|
|
828
1032
|
declare function TableHeader({
|
|
829
1033
|
className,
|
|
830
1034
|
...props
|
|
831
|
-
}: react0.ComponentProps<"thead">):
|
|
1035
|
+
}: react0.ComponentProps<"thead">): react_jsx_runtime3.JSX.Element;
|
|
832
1036
|
declare function TableBody({
|
|
833
1037
|
className,
|
|
834
1038
|
...props
|
|
835
|
-
}: react0.ComponentProps<"tbody">):
|
|
1039
|
+
}: react0.ComponentProps<"tbody">): react_jsx_runtime3.JSX.Element;
|
|
836
1040
|
declare function TableFooter({
|
|
837
1041
|
className,
|
|
838
1042
|
...props
|
|
839
|
-
}: react0.ComponentProps<"tfoot">):
|
|
1043
|
+
}: react0.ComponentProps<"tfoot">): react_jsx_runtime3.JSX.Element;
|
|
840
1044
|
declare function TableRow({
|
|
841
1045
|
className,
|
|
842
1046
|
...props
|
|
843
|
-
}: react0.ComponentProps<"tr">):
|
|
1047
|
+
}: react0.ComponentProps<"tr">): react_jsx_runtime3.JSX.Element;
|
|
844
1048
|
declare function TableHead({
|
|
845
1049
|
className,
|
|
846
1050
|
...props
|
|
847
|
-
}: react0.ComponentProps<"th">):
|
|
1051
|
+
}: react0.ComponentProps<"th">): react_jsx_runtime3.JSX.Element;
|
|
848
1052
|
declare function TableCell({
|
|
849
1053
|
className,
|
|
850
1054
|
...props
|
|
851
|
-
}: react0.ComponentProps<"td">):
|
|
1055
|
+
}: react0.ComponentProps<"td">): react_jsx_runtime3.JSX.Element;
|
|
852
1056
|
declare function TableCaption({
|
|
853
1057
|
className,
|
|
854
1058
|
...props
|
|
855
|
-
}: react0.ComponentProps<"caption">):
|
|
1059
|
+
}: react0.ComponentProps<"caption">): react_jsx_runtime3.JSX.Element;
|
|
856
1060
|
//#endregion
|
|
857
1061
|
//#region src/components/ui/tabs.d.ts
|
|
858
1062
|
type TabsVariant = "default" | "underline";
|
|
859
1063
|
declare function Tabs({
|
|
860
1064
|
className,
|
|
861
1065
|
...props
|
|
862
|
-
}: Tabs$1.Root.Props):
|
|
1066
|
+
}: Tabs$1.Root.Props): react_jsx_runtime3.JSX.Element;
|
|
863
1067
|
declare function TabsList({
|
|
864
1068
|
variant,
|
|
865
1069
|
className,
|
|
@@ -867,15 +1071,15 @@ declare function TabsList({
|
|
|
867
1071
|
...props
|
|
868
1072
|
}: Tabs$1.List.Props & {
|
|
869
1073
|
variant?: TabsVariant;
|
|
870
|
-
}):
|
|
1074
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
871
1075
|
declare function TabsTab({
|
|
872
1076
|
className,
|
|
873
1077
|
...props
|
|
874
|
-
}: Tabs$1.Tab.Props):
|
|
1078
|
+
}: Tabs$1.Tab.Props): react_jsx_runtime3.JSX.Element;
|
|
875
1079
|
declare function TabsPanel({
|
|
876
1080
|
className,
|
|
877
1081
|
...props
|
|
878
|
-
}: Tabs$1.Panel.Props):
|
|
1082
|
+
}: Tabs$1.Panel.Props): react_jsx_runtime3.JSX.Element;
|
|
879
1083
|
//#endregion
|
|
880
1084
|
//#region src/components/ui/toast.d.ts
|
|
881
1085
|
declare const toastManager: _base_ui_react0.ToastManager;
|
|
@@ -888,11 +1092,11 @@ declare function ToastProvider({
|
|
|
888
1092
|
children,
|
|
889
1093
|
position,
|
|
890
1094
|
...props
|
|
891
|
-
}: ToastProviderProps):
|
|
1095
|
+
}: ToastProviderProps): react_jsx_runtime3.JSX.Element;
|
|
892
1096
|
declare function AnchoredToastProvider({
|
|
893
1097
|
children,
|
|
894
1098
|
...props
|
|
895
|
-
}: Toast.Provider.Props):
|
|
1099
|
+
}: Toast.Provider.Props): react_jsx_runtime3.JSX.Element;
|
|
896
1100
|
//#endregion
|
|
897
1101
|
//#region src/components/ui/tooltip.d.ts
|
|
898
1102
|
declare const cssAnimationPresets: {
|
|
@@ -943,13 +1147,13 @@ interface TooltipProviderProps extends Tooltip$1.Provider.Props {}
|
|
|
943
1147
|
declare function TooltipProvider({
|
|
944
1148
|
delay,
|
|
945
1149
|
...props
|
|
946
|
-
}: TooltipProviderProps):
|
|
1150
|
+
}: TooltipProviderProps): react_jsx_runtime3.JSX.Element;
|
|
947
1151
|
interface TooltipProps extends Tooltip$1.Root.Props {}
|
|
948
1152
|
declare function Tooltip({
|
|
949
1153
|
...props
|
|
950
|
-
}: TooltipProps):
|
|
1154
|
+
}: TooltipProps): react_jsx_runtime3.JSX.Element;
|
|
951
1155
|
interface TooltipTriggerProps extends Tooltip$1.Trigger.Props {}
|
|
952
|
-
declare function TooltipTrigger(props: TooltipTriggerProps):
|
|
1156
|
+
declare function TooltipTrigger(props: TooltipTriggerProps): react_jsx_runtime3.JSX.Element;
|
|
953
1157
|
interface TooltipPositionerProps extends Tooltip$1.Positioner.Props {}
|
|
954
1158
|
interface TooltipPopupProps extends Tooltip$1.Popup.Props, Pick<TooltipPositionerProps, "side" | "sideOffset" | "align" | "alignOffset"> {
|
|
955
1159
|
animationPreset?: CSSAnimationPresets;
|
|
@@ -968,7 +1172,7 @@ declare function TooltipPopup({
|
|
|
968
1172
|
align,
|
|
969
1173
|
alignOffset,
|
|
970
1174
|
...rest
|
|
971
|
-
}: TooltipPopupProps):
|
|
1175
|
+
}: TooltipPopupProps): react_jsx_runtime3.JSX.Element;
|
|
972
1176
|
//#endregion
|
|
973
1177
|
//#region src/utils/animation.d.ts
|
|
974
1178
|
type AnimationTraitProps = {
|
|
@@ -1143,5 +1347,5 @@ type OptimizedImageAttrs = {
|
|
|
1143
1347
|
*/
|
|
1144
1348
|
declare function useOptimizedImage(src: string | undefined): OptimizedImageAttrs | null;
|
|
1145
1349
|
//#endregion
|
|
1146
|
-
export { Accordion, AccordionHeader, AccordionItem, AccordionPanel, AccordionTrigger, AnchoredToastProvider, AnimationTraitProps, Button, Checkbox, type CheckboxLayout, Dialog, DialogDescription, DialogFooter, DialogHeader, DialogPanel, DialogPopup, DialogTitle, DialogTrigger, DisplayTraitProps, FieldCheckbox, FieldInput, FieldNumberUnit, FieldRadio, FieldSelect, FieldTextarea, FontWeightTraitProps, Input, InputGroup, InputGroupAddon, InputGroupInput, InputGroupText, InputGroupTextarea, type InputProps, Label, LineHeightTraitProps, MarginItem, MarginTraitProps, MarginValue, type MediaItem, MediaPicker, type MediaPickerProps, type MediaPickerValue, Menu, MenuCheckboxItem, MenuCreateHandle, MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, MenuPortal, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuShortcut, MenuSub, MenuSubPopup, MenuSubTrigger, MenuTrigger, OptimizedImageAttrs, PaddingItem, PaddingTraitProps, PaddingValue, type PageItem, PagePicker, type PagePickerProps, type PagePickerValue, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PositionTraitProps, RadioGroup, RadioGroupItem, type RadioLayout,
|
|
1350
|
+
export { Accordion, AccordionHeader, AccordionItem, AccordionPanel, AccordionTrigger, ActionBar, AnchoredToastProvider, AnimationTraitProps, Badge, Button, Checkbox, type CheckboxLayout, ColorPicker, ColorPickerContent, type ColorPickerContentProps, type ColorPickerProps, Dialog, DialogDescription, DialogFooter, DialogHeader, DialogPanel, DialogPopup, DialogTitle, DialogTrigger, DisplayTraitProps, DrawerItem, FieldCheckbox, FieldGroups, FieldInput, FieldNumberUnit, FieldRadio, FieldSelect, FieldTextarea, FontWeightTraitProps, Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle, GRAY_COLORS, Input, InputGroup, InputGroupAddon, InputGroupInput, InputGroupText, InputGroupTextarea, type InputProps, Label, LineHeightTraitProps, MarginItem, MarginTraitProps, MarginValue, type MediaItem, MediaPicker, type MediaPickerProps, type MediaPickerValue, Menu, MenuCheckboxItem, MenuCreateHandle, MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, MenuPortal, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuShortcut, MenuSub, MenuSubPopup, MenuSubTrigger, MenuTrigger, OptimizedImageAttrs, PREDEFINED_COLORS, PaddingItem, PaddingTraitProps, PaddingValue, type PageItem, PagePicker, type PagePickerProps, type PagePickerValue, type PageReference, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PickerModal, type PickerModalProps, Popover, PopoverClose, PopoverPopup as PopoverContent, PopoverPopup, PopoverCreateHandle, PopoverDescription, PopoverTitle, PopoverTrigger, PositionTraitProps, RadioGroup, RadioGroupItem, type RadioLayout, RichTextMenuColorPicker, RichTextMenuLink, ScrollArea, ScrollBar, Select, SelectGroup, SelectGroupLabel, SelectItem, SelectPopup, SelectSeparator, SelectTrigger, SelectValue, Separator, SizeTraitProps, SizeValue, SpacingTraitProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsPanel as TabsContent, TabsPanel, TabsList, TabsTab, TabsTab as TabsTrigger, TextAlignTraitProps, TextColorTraitProps, TextDecorationTraitProps, TextSizeTraitProps, TextTransformTraitProps, Textarea, type TextareaProps, type ToastPosition, ToastProvider, Tooltip, TooltipPopup, TooltipProvider, TooltipTrigger, TypographyTraitProps, anchoredToastManager, animationDefaultProps, animationField, animationToAttributes, badgeVariants, buttonVariants, createPuckOverridesPlugin, displayDefaultProps, displayField, displayToClasses, fontWeightDefaultProps, fontWeightField, fontWeightToClasses, getMediaUrl, lineHeightDefaultProps, lineHeightField, lineHeightToClasses, marginDefaultProps, marginField, marginToClasses, paddingDefaultProps, paddingField, paddingToClasses, positionDefaultProps, positionField, positionToClasses, richTextMenuColorPickerExtension, sizeDefaultProps, sizeField, sizeToClasses, spacingDefaultProps, spacingFieldNames, spacingFields, spacingOptions, spacingToClasses, textAlignDefaultProps, textAlignField, textAlignToClasses, textColorDefaultProps, textColorField, textColorToClasses, textDecorationDefaultProps, textDecorationField, textDecorationToClasses, textSizeDefaultProps, textSizeField, textSizeToClasses, textTransformDefaultProps, textTransformField, textTransformToClasses, toastManager, typographyDefaultProps, typographyFieldNames, typographyFields, typographyToClasses, useOptimizedImage, usePageUrl };
|
|
1147
1351
|
//# sourceMappingURL=index.d.ts.map
|