@ckc-net/puck-extended 0.2.1 → 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 +390 -256
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1312 -1359
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +9 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as react0 from "react";
|
|
2
|
-
import React$1, { ComponentProps } 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,19 +13,19 @@ 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 * as _tiptap_extension_link0 from "@tiptap/extension-link";
|
|
15
|
-
import { useRender } from "@base-ui/react/use-render";
|
|
16
|
-
import { VariantProps } from "class-variance-authority";
|
|
17
16
|
import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
18
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";
|
|
19
21
|
import { Menu as Menu$1 } from "@base-ui/react/menu";
|
|
20
22
|
import { Separator as Separator$1 } from "@base-ui/react/separator";
|
|
21
23
|
import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
22
24
|
import { Toast } from "@base-ui/react/toast";
|
|
23
|
-
import * as _tiptap_core0 from "@tiptap/core";
|
|
24
25
|
import { Editor } from "@tiptap/react";
|
|
26
|
+
import * as _tiptap_core0 from "@tiptap/core";
|
|
25
27
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
26
|
-
import * as
|
|
28
|
+
import * as _base_ui_react0 from "@base-ui/react";
|
|
27
29
|
|
|
28
30
|
//#region src/components/Fields/NumberUnit/index.d.ts
|
|
29
31
|
type NumberUnitValue = {
|
|
@@ -42,7 +44,7 @@ declare const FieldNumberUnit: ({
|
|
|
42
44
|
label: string;
|
|
43
45
|
field: any;
|
|
44
46
|
readOnly?: boolean;
|
|
45
|
-
}) =>
|
|
47
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
46
48
|
//#endregion
|
|
47
49
|
//#region src/overrides/plugin.d.ts
|
|
48
50
|
declare const createPuckOverridesPlugin: () => {
|
|
@@ -56,7 +58,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
56
58
|
label?: string;
|
|
57
59
|
parentAction?: react0.ReactNode;
|
|
58
60
|
children?: react0.ReactNode;
|
|
59
|
-
}):
|
|
61
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
60
62
|
Action: ({
|
|
61
63
|
children,
|
|
62
64
|
label,
|
|
@@ -65,31 +67,31 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
65
67
|
children: react0.ReactNode;
|
|
66
68
|
label?: string;
|
|
67
69
|
onClick: (e: react0.SyntheticEvent) => void;
|
|
68
|
-
}) =>
|
|
70
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
69
71
|
Label: ({
|
|
70
72
|
label
|
|
71
73
|
}: {
|
|
72
74
|
label: string;
|
|
73
|
-
}) =>
|
|
75
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
74
76
|
Group: ({
|
|
75
77
|
children
|
|
76
78
|
}: {
|
|
77
79
|
children: react0.ReactNode;
|
|
78
|
-
}) =>
|
|
79
|
-
Separator: () =>
|
|
80
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
81
|
+
Separator: () => react_jsx_runtime3.JSX.Element;
|
|
80
82
|
};
|
|
81
83
|
drawer: ({
|
|
82
84
|
children
|
|
83
85
|
}: {
|
|
84
86
|
children: React.ReactNode;
|
|
85
|
-
}) =>
|
|
87
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
86
88
|
drawerItem: ({
|
|
87
89
|
name,
|
|
88
90
|
icon
|
|
89
91
|
}: {
|
|
90
92
|
name: string;
|
|
91
93
|
icon?: React.ReactNode;
|
|
92
|
-
}) =>
|
|
94
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
93
95
|
fields: ({
|
|
94
96
|
children
|
|
95
97
|
}: {
|
|
@@ -99,14 +101,14 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
99
101
|
path?: string;
|
|
100
102
|
index?: number;
|
|
101
103
|
} | null;
|
|
102
|
-
}) =>
|
|
104
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
103
105
|
fieldLabel: ({
|
|
104
106
|
children,
|
|
105
107
|
label
|
|
106
108
|
}: {
|
|
107
109
|
children: React.ReactNode;
|
|
108
110
|
label: string;
|
|
109
|
-
}) =>
|
|
111
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
110
112
|
fieldTypes: {
|
|
111
113
|
checkbox: ({
|
|
112
114
|
onChange,
|
|
@@ -125,7 +127,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
125
127
|
};
|
|
126
128
|
}) & {
|
|
127
129
|
label: string;
|
|
128
|
-
}) =>
|
|
130
|
+
}) => react_jsx_runtime3.JSX.Element | null;
|
|
129
131
|
numberUnit: ({
|
|
130
132
|
onChange,
|
|
131
133
|
value,
|
|
@@ -138,7 +140,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
138
140
|
label: string;
|
|
139
141
|
field: any;
|
|
140
142
|
readOnly?: boolean;
|
|
141
|
-
}) =>
|
|
143
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
142
144
|
radio: ({
|
|
143
145
|
onChange,
|
|
144
146
|
value,
|
|
@@ -156,7 +158,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
156
158
|
};
|
|
157
159
|
}) & {
|
|
158
160
|
label: string;
|
|
159
|
-
}) =>
|
|
161
|
+
}) => react_jsx_runtime3.JSX.Element | null;
|
|
160
162
|
select: ({
|
|
161
163
|
onChange,
|
|
162
164
|
value,
|
|
@@ -169,7 +171,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
169
171
|
label: string;
|
|
170
172
|
field: any;
|
|
171
173
|
readOnly?: boolean;
|
|
172
|
-
}) =>
|
|
174
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
173
175
|
text: ({
|
|
174
176
|
onChange,
|
|
175
177
|
value,
|
|
@@ -182,7 +184,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
182
184
|
label?: string;
|
|
183
185
|
field: any;
|
|
184
186
|
readOnly?: boolean;
|
|
185
|
-
}) =>
|
|
187
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
186
188
|
textarea: ({
|
|
187
189
|
onChange,
|
|
188
190
|
value,
|
|
@@ -195,7 +197,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
195
197
|
label: string;
|
|
196
198
|
field: any;
|
|
197
199
|
readOnly?: boolean;
|
|
198
|
-
}) =>
|
|
200
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
199
201
|
};
|
|
200
202
|
};
|
|
201
203
|
};
|
|
@@ -207,7 +209,7 @@ declare const Label: ({
|
|
|
207
209
|
}: {
|
|
208
210
|
label?: string;
|
|
209
211
|
readOnly?: boolean;
|
|
210
|
-
}) =>
|
|
212
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
211
213
|
//#endregion
|
|
212
214
|
//#region src/components/Fields/Input/index.d.ts
|
|
213
215
|
declare const FieldInput: ({
|
|
@@ -222,7 +224,7 @@ declare const FieldInput: ({
|
|
|
222
224
|
label?: string;
|
|
223
225
|
field: any;
|
|
224
226
|
readOnly?: boolean;
|
|
225
|
-
}) =>
|
|
227
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
226
228
|
//#endregion
|
|
227
229
|
//#region src/components/Fields/Textarea/index.d.ts
|
|
228
230
|
declare const FieldTextarea: ({
|
|
@@ -237,7 +239,7 @@ declare const FieldTextarea: ({
|
|
|
237
239
|
label: string;
|
|
238
240
|
field: any;
|
|
239
241
|
readOnly?: boolean;
|
|
240
|
-
}) =>
|
|
242
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
241
243
|
//#endregion
|
|
242
244
|
//#region src/components/Fields/Select/index.d.ts
|
|
243
245
|
declare const FieldSelect: ({
|
|
@@ -252,7 +254,7 @@ declare const FieldSelect: ({
|
|
|
252
254
|
label: string;
|
|
253
255
|
field: any;
|
|
254
256
|
readOnly?: boolean;
|
|
255
|
-
}) =>
|
|
257
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
256
258
|
//#endregion
|
|
257
259
|
//#region src/components/ui/radio.d.ts
|
|
258
260
|
type RadioLayout = "horizontal" | "inline";
|
|
@@ -266,12 +268,12 @@ declare function RadioGroup({
|
|
|
266
268
|
className,
|
|
267
269
|
layout,
|
|
268
270
|
...props
|
|
269
|
-
}: RadioGroupProps):
|
|
271
|
+
}: RadioGroupProps): react_jsx_runtime3.JSX.Element;
|
|
270
272
|
declare function RadioGroupItem({
|
|
271
273
|
className,
|
|
272
274
|
layout,
|
|
273
275
|
...props
|
|
274
|
-
}: RadioGroupItemProps):
|
|
276
|
+
}: RadioGroupItemProps): react_jsx_runtime3.JSX.Element;
|
|
275
277
|
//#endregion
|
|
276
278
|
//#region src/components/Fields/Radio/index.d.ts
|
|
277
279
|
type RadioProps = FieldProps<Field<any>> & {
|
|
@@ -292,7 +294,7 @@ declare const FieldRadio: ({
|
|
|
292
294
|
label
|
|
293
295
|
}: RadioProps & {
|
|
294
296
|
label: string;
|
|
295
|
-
}) =>
|
|
297
|
+
}) => react_jsx_runtime3.JSX.Element | null;
|
|
296
298
|
//#endregion
|
|
297
299
|
//#region src/components/ui/checkbox.d.ts
|
|
298
300
|
type CheckboxLayout = "horizontal" | "inline";
|
|
@@ -303,7 +305,7 @@ declare function Checkbox({
|
|
|
303
305
|
className,
|
|
304
306
|
layout,
|
|
305
307
|
...props
|
|
306
|
-
}: CheckboxProps$1):
|
|
308
|
+
}: CheckboxProps$1): react_jsx_runtime3.JSX.Element;
|
|
307
309
|
//#endregion
|
|
308
310
|
//#region src/components/Fields/Checkbox/index.d.ts
|
|
309
311
|
type CheckboxProps = FieldProps<Field<any>> & {
|
|
@@ -324,34 +326,31 @@ declare const FieldCheckbox: ({
|
|
|
324
326
|
label
|
|
325
327
|
}: CheckboxProps & {
|
|
326
328
|
label: string;
|
|
327
|
-
}) =>
|
|
329
|
+
}) => react_jsx_runtime3.JSX.Element | null;
|
|
328
330
|
//#endregion
|
|
329
331
|
//#region src/components/RichTextMenuLink/index.d.ts
|
|
330
332
|
type RichTextMenuLinkProps = {
|
|
331
333
|
editor: Editor | null;
|
|
332
|
-
editorState?: {
|
|
333
|
-
isLink?: boolean;
|
|
334
|
-
canLink?: boolean;
|
|
335
|
-
};
|
|
336
334
|
};
|
|
337
|
-
declare
|
|
338
|
-
editor
|
|
339
|
-
|
|
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 = {
|
|
340
342
|
editor: Editor | null;
|
|
341
|
-
}) => {
|
|
342
|
-
isLink: boolean;
|
|
343
|
-
canLink: boolean;
|
|
344
343
|
};
|
|
345
344
|
/**
|
|
346
|
-
* Pre-configured tiptap
|
|
347
|
-
*
|
|
345
|
+
* Pre-configured tiptap extensions for text color support.
|
|
346
|
+
* Spread this into `tiptap.extensions` in your field config:
|
|
347
|
+
* `extensions: [...richTextMenuColorPickerExtension]`
|
|
348
348
|
*/
|
|
349
|
-
declare const
|
|
350
|
-
declare function
|
|
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
351
|
editor,
|
|
352
|
-
editorState,
|
|
353
352
|
...props
|
|
354
|
-
}:
|
|
353
|
+
}: RichTextMenuColorPickerProps & Omit<ComponentProps<"div">, keyof RichTextMenuColorPickerProps>): react_jsx_runtime3.JSX.Element;
|
|
355
354
|
//#endregion
|
|
356
355
|
//#region src/components/MediaPicker/index.d.ts
|
|
357
356
|
type MediaItem = {
|
|
@@ -379,21 +378,30 @@ declare const MediaPicker: ({
|
|
|
379
378
|
mediaType,
|
|
380
379
|
acceptedTypes,
|
|
381
380
|
maxSize
|
|
382
|
-
}: MediaPickerProps) =>
|
|
381
|
+
}: MediaPickerProps) => react_jsx_runtime3.JSX.Element;
|
|
383
382
|
declare const getMediaUrl: (value?: MediaPickerValue) => string | undefined;
|
|
384
383
|
//#endregion
|
|
385
384
|
//#region src/components/PagePicker/index.d.ts
|
|
386
385
|
type PageItem = {
|
|
387
386
|
id: number;
|
|
388
387
|
name: string;
|
|
389
|
-
slug: string;
|
|
390
388
|
url: string;
|
|
391
|
-
|
|
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;
|
|
392
400
|
};
|
|
393
401
|
type PagePickerValue = {
|
|
394
402
|
type?: "url" | "page";
|
|
395
403
|
url?: string;
|
|
396
|
-
page?:
|
|
404
|
+
page?: PageReference | null;
|
|
397
405
|
};
|
|
398
406
|
type PagePickerProps = {
|
|
399
407
|
value?: PagePickerValue;
|
|
@@ -402,11 +410,156 @@ type PagePickerProps = {
|
|
|
402
410
|
declare const PagePicker: ({
|
|
403
411
|
value,
|
|
404
412
|
onChange
|
|
405
|
-
}: PagePickerProps) =>
|
|
406
|
-
|
|
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>;
|
|
407
560
|
//#endregion
|
|
408
561
|
//#region src/components/ui/accordion.d.ts
|
|
409
|
-
declare const cssAnimationPresets$
|
|
562
|
+
declare const cssAnimationPresets$1: {
|
|
410
563
|
none: string;
|
|
411
564
|
fade: string[];
|
|
412
565
|
scale: string[];
|
|
@@ -414,7 +567,7 @@ declare const cssAnimationPresets$2: {
|
|
|
414
567
|
perspective: string[];
|
|
415
568
|
perspectiveBlur: string[];
|
|
416
569
|
};
|
|
417
|
-
declare const cssTransitionPresets$
|
|
570
|
+
declare const cssTransitionPresets$1: {
|
|
418
571
|
inExpo: string;
|
|
419
572
|
outExpo: string;
|
|
420
573
|
inOutExpo: string;
|
|
@@ -444,8 +597,8 @@ declare const cssTransitionPresets$2: {
|
|
|
444
597
|
inOutCirc: string;
|
|
445
598
|
inOutBase: string;
|
|
446
599
|
};
|
|
447
|
-
type CSSAnimationPreset = keyof typeof cssAnimationPresets$
|
|
448
|
-
type CSSTransitionPreset = keyof typeof cssTransitionPresets$
|
|
600
|
+
type CSSAnimationPreset = keyof typeof cssAnimationPresets$1;
|
|
601
|
+
type CSSTransitionPreset = keyof typeof cssTransitionPresets$1;
|
|
449
602
|
type AccordionVariant = "default" | "card" | "swiss";
|
|
450
603
|
interface AccordionProps extends Accordion$1.Root.Props {
|
|
451
604
|
animationPreset?: CSSAnimationPreset;
|
|
@@ -464,19 +617,19 @@ declare function Accordion({
|
|
|
464
617
|
className,
|
|
465
618
|
multiple,
|
|
466
619
|
...props
|
|
467
|
-
}: AccordionProps):
|
|
620
|
+
}: AccordionProps): react_jsx_runtime3.JSX.Element;
|
|
468
621
|
interface AccordionItemProps extends Accordion$1.Item.Props {}
|
|
469
622
|
declare function AccordionItem({
|
|
470
623
|
value: itemValue,
|
|
471
624
|
onOpenChange,
|
|
472
625
|
className,
|
|
473
626
|
...rest
|
|
474
|
-
}: AccordionItemProps):
|
|
627
|
+
}: AccordionItemProps): react_jsx_runtime3.JSX.Element;
|
|
475
628
|
interface AccordionHeaderProps extends Accordion$1.Header.Props {}
|
|
476
629
|
declare function AccordionHeader({
|
|
477
630
|
className,
|
|
478
631
|
...props
|
|
479
|
-
}: AccordionHeaderProps):
|
|
632
|
+
}: AccordionHeaderProps): react_jsx_runtime3.JSX.Element;
|
|
480
633
|
interface AccordionTriggerProps extends Accordion$1.Trigger.Props {
|
|
481
634
|
icon?: (props: {
|
|
482
635
|
open: boolean;
|
|
@@ -487,19 +640,36 @@ declare function AccordionTrigger({
|
|
|
487
640
|
icon,
|
|
488
641
|
children,
|
|
489
642
|
...props
|
|
490
|
-
}: AccordionTriggerProps):
|
|
643
|
+
}: AccordionTriggerProps): react_jsx_runtime3.JSX.Element;
|
|
491
644
|
interface AccordionPanelProps extends Accordion$1.Panel.Props {}
|
|
492
645
|
declare function AccordionPanel({
|
|
493
646
|
className,
|
|
494
647
|
children,
|
|
495
648
|
style,
|
|
496
649
|
...props
|
|
497
|
-
}: 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>>;
|
|
498
668
|
//#endregion
|
|
499
669
|
//#region src/components/ui/button.d.ts
|
|
500
670
|
declare const buttonVariants: (props?: ({
|
|
501
|
-
size?: "icon" | "default" | "
|
|
502
|
-
variant?: "
|
|
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;
|
|
503
673
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
504
674
|
interface ButtonProps extends useRender.ComponentProps<"button"> {
|
|
505
675
|
variant?: VariantProps<typeof buttonVariants>["variant"];
|
|
@@ -515,7 +685,7 @@ declare function Button({
|
|
|
515
685
|
//#endregion
|
|
516
686
|
//#region src/components/ui/dialog.d.ts
|
|
517
687
|
declare const Dialog: typeof Dialog$1.Root;
|
|
518
|
-
declare function DialogTrigger(props: Dialog$1.Trigger.Props):
|
|
688
|
+
declare function DialogTrigger(props: Dialog$1.Trigger.Props): react_jsx_runtime3.JSX.Element;
|
|
519
689
|
declare function DialogPopup({
|
|
520
690
|
className,
|
|
521
691
|
children,
|
|
@@ -525,33 +695,59 @@ declare function DialogPopup({
|
|
|
525
695
|
}: Dialog$1.Popup.Props & {
|
|
526
696
|
showCloseButton?: boolean;
|
|
527
697
|
bottomStickOnMobile?: boolean;
|
|
528
|
-
}):
|
|
698
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
529
699
|
declare function DialogHeader({
|
|
530
700
|
className,
|
|
531
701
|
...props
|
|
532
|
-
}: React.ComponentProps<"div">):
|
|
702
|
+
}: React.ComponentProps<"div">): react_jsx_runtime3.JSX.Element;
|
|
533
703
|
declare function DialogFooter({
|
|
534
704
|
className,
|
|
535
705
|
variant,
|
|
536
706
|
...props
|
|
537
707
|
}: React.ComponentProps<"div"> & {
|
|
538
708
|
variant?: "default" | "bare";
|
|
539
|
-
}):
|
|
709
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
540
710
|
declare function DialogTitle({
|
|
541
711
|
className,
|
|
542
712
|
...props
|
|
543
|
-
}: Dialog$1.Title.Props):
|
|
713
|
+
}: Dialog$1.Title.Props): react_jsx_runtime3.JSX.Element;
|
|
544
714
|
declare function DialogDescription({
|
|
545
715
|
className,
|
|
546
716
|
...props
|
|
547
|
-
}: Dialog$1.Description.Props):
|
|
717
|
+
}: Dialog$1.Description.Props): react_jsx_runtime3.JSX.Element;
|
|
548
718
|
declare function DialogPanel({
|
|
549
719
|
className,
|
|
550
720
|
scrollFade,
|
|
551
721
|
...props
|
|
552
722
|
}: React.ComponentProps<"div"> & {
|
|
553
723
|
scrollFade?: boolean;
|
|
554
|
-
}):
|
|
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;
|
|
555
751
|
//#endregion
|
|
556
752
|
//#region src/components/ui/input.d.ts
|
|
557
753
|
type InputProps = Omit<Input$1.Props & react0.RefAttributes<HTMLInputElement>, "size"> & {
|
|
@@ -565,7 +761,7 @@ declare function Input({
|
|
|
565
761
|
unstyled,
|
|
566
762
|
nativeInput,
|
|
567
763
|
...props
|
|
568
|
-
}: InputProps):
|
|
764
|
+
}: InputProps): react_jsx_runtime3.JSX.Element;
|
|
569
765
|
//#endregion
|
|
570
766
|
//#region src/components/ui/textarea.d.ts
|
|
571
767
|
type TextareaProps = react0.ComponentProps<"textarea"> & {
|
|
@@ -577,13 +773,13 @@ declare function Textarea({
|
|
|
577
773
|
size,
|
|
578
774
|
unstyled,
|
|
579
775
|
...props
|
|
580
|
-
}: TextareaProps):
|
|
776
|
+
}: TextareaProps): react_jsx_runtime3.JSX.Element;
|
|
581
777
|
//#endregion
|
|
582
778
|
//#region src/components/ui/input-group.d.ts
|
|
583
779
|
declare function InputGroup({
|
|
584
780
|
className,
|
|
585
781
|
...props
|
|
586
|
-
}: react0.ComponentProps<"div">):
|
|
782
|
+
}: react0.ComponentProps<"div">): react_jsx_runtime3.JSX.Element;
|
|
587
783
|
declare const inputGroupAddonVariants: (props?: ({
|
|
588
784
|
align?: "inline-start" | "block-end" | "block-start" | "inline-end" | null | undefined;
|
|
589
785
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
@@ -591,25 +787,25 @@ declare function InputGroupAddon({
|
|
|
591
787
|
className,
|
|
592
788
|
align,
|
|
593
789
|
...props
|
|
594
|
-
}: react0.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>):
|
|
790
|
+
}: react0.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime3.JSX.Element;
|
|
595
791
|
declare function InputGroupText({
|
|
596
792
|
className,
|
|
597
793
|
...props
|
|
598
|
-
}: react0.ComponentProps<"span">):
|
|
794
|
+
}: react0.ComponentProps<"span">): react_jsx_runtime3.JSX.Element;
|
|
599
795
|
declare function InputGroupInput({
|
|
600
796
|
className,
|
|
601
797
|
...props
|
|
602
|
-
}: InputProps):
|
|
798
|
+
}: InputProps): react_jsx_runtime3.JSX.Element;
|
|
603
799
|
declare function InputGroupTextarea({
|
|
604
800
|
className,
|
|
605
801
|
...props
|
|
606
|
-
}: TextareaProps):
|
|
802
|
+
}: TextareaProps): react_jsx_runtime3.JSX.Element;
|
|
607
803
|
//#endregion
|
|
608
804
|
//#region src/components/ui/menu.d.ts
|
|
609
805
|
declare const MenuCreateHandle: typeof Menu$1.createHandle;
|
|
610
806
|
declare const Menu: typeof Menu$1.Root;
|
|
611
|
-
declare const MenuPortal: react0.ForwardRefExoticComponent<Omit<
|
|
612
|
-
declare function MenuTrigger(props: Menu$1.Trigger.Props):
|
|
807
|
+
declare const MenuPortal: react0.ForwardRefExoticComponent<Omit<_base_ui_react0.ContextMenuPortalProps, "ref"> & react0.RefAttributes<HTMLDivElement>>;
|
|
808
|
+
declare function MenuTrigger(props: Menu$1.Trigger.Props): react_jsx_runtime3.JSX.Element;
|
|
613
809
|
declare function MenuPopup({
|
|
614
810
|
children,
|
|
615
811
|
className,
|
|
@@ -623,8 +819,8 @@ declare function MenuPopup({
|
|
|
623
819
|
sideOffset?: Menu$1.Positioner.Props["sideOffset"];
|
|
624
820
|
alignOffset?: Menu$1.Positioner.Props["alignOffset"];
|
|
625
821
|
side?: Menu$1.Positioner.Props["side"];
|
|
626
|
-
}):
|
|
627
|
-
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;
|
|
628
824
|
declare function MenuItem({
|
|
629
825
|
className,
|
|
630
826
|
inset,
|
|
@@ -633,7 +829,7 @@ declare function MenuItem({
|
|
|
633
829
|
}: Menu$1.Item.Props & {
|
|
634
830
|
inset?: boolean;
|
|
635
831
|
variant?: "default" | "destructive";
|
|
636
|
-
}):
|
|
832
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
637
833
|
declare function MenuCheckboxItem({
|
|
638
834
|
className,
|
|
639
835
|
children,
|
|
@@ -642,29 +838,29 @@ declare function MenuCheckboxItem({
|
|
|
642
838
|
...props
|
|
643
839
|
}: Menu$1.CheckboxItem.Props & {
|
|
644
840
|
variant?: "default" | "switch";
|
|
645
|
-
}):
|
|
646
|
-
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;
|
|
647
843
|
declare function MenuRadioItem({
|
|
648
844
|
className,
|
|
649
845
|
children,
|
|
650
846
|
...props
|
|
651
|
-
}: Menu$1.RadioItem.Props):
|
|
847
|
+
}: Menu$1.RadioItem.Props): react_jsx_runtime3.JSX.Element;
|
|
652
848
|
declare function MenuGroupLabel({
|
|
653
849
|
className,
|
|
654
850
|
inset,
|
|
655
851
|
...props
|
|
656
852
|
}: Menu$1.GroupLabel.Props & {
|
|
657
853
|
inset?: boolean;
|
|
658
|
-
}):
|
|
854
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
659
855
|
declare function MenuSeparator({
|
|
660
856
|
className,
|
|
661
857
|
...props
|
|
662
|
-
}: Menu$1.Separator.Props):
|
|
858
|
+
}: Menu$1.Separator.Props): react_jsx_runtime3.JSX.Element;
|
|
663
859
|
declare function MenuShortcut({
|
|
664
860
|
className,
|
|
665
861
|
...props
|
|
666
|
-
}: react0.ComponentProps<"kbd">):
|
|
667
|
-
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;
|
|
668
864
|
declare function MenuSubTrigger({
|
|
669
865
|
className,
|
|
670
866
|
inset,
|
|
@@ -672,7 +868,7 @@ declare function MenuSubTrigger({
|
|
|
672
868
|
...props
|
|
673
869
|
}: Menu$1.SubmenuTrigger.Props & {
|
|
674
870
|
inset?: boolean;
|
|
675
|
-
}):
|
|
871
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
676
872
|
declare function MenuSubPopup({
|
|
677
873
|
className,
|
|
678
874
|
sideOffset,
|
|
@@ -683,12 +879,48 @@ declare function MenuSubPopup({
|
|
|
683
879
|
align?: Menu$1.Positioner.Props["align"];
|
|
684
880
|
sideOffset?: Menu$1.Positioner.Props["sideOffset"];
|
|
685
881
|
alignOffset?: Menu$1.Positioner.Props["alignOffset"];
|
|
686
|
-
}):
|
|
882
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
883
|
+
//#endregion
|
|
884
|
+
//#region src/components/ui/pagination.d.ts
|
|
885
|
+
declare function Pagination({
|
|
886
|
+
className,
|
|
887
|
+
...props
|
|
888
|
+
}: react0.ComponentProps<"nav">): react_jsx_runtime3.JSX.Element;
|
|
889
|
+
declare function PaginationContent({
|
|
890
|
+
className,
|
|
891
|
+
...props
|
|
892
|
+
}: react0.ComponentProps<"ul">): react_jsx_runtime3.JSX.Element;
|
|
893
|
+
declare function PaginationItem({
|
|
894
|
+
...props
|
|
895
|
+
}: react0.ComponentProps<"li">): react_jsx_runtime3.JSX.Element;
|
|
896
|
+
type PaginationLinkProps = {
|
|
897
|
+
isActive?: boolean;
|
|
898
|
+
size?: react0.ComponentProps<typeof Button>["size"];
|
|
899
|
+
} & useRender.ComponentProps<"a">;
|
|
900
|
+
declare function PaginationLink({
|
|
901
|
+
className,
|
|
902
|
+
isActive,
|
|
903
|
+
size,
|
|
904
|
+
render,
|
|
905
|
+
...props
|
|
906
|
+
}: PaginationLinkProps): react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>>;
|
|
907
|
+
declare function PaginationPrevious({
|
|
908
|
+
className,
|
|
909
|
+
...props
|
|
910
|
+
}: react0.ComponentProps<typeof PaginationLink>): react_jsx_runtime3.JSX.Element;
|
|
911
|
+
declare function PaginationNext({
|
|
912
|
+
className,
|
|
913
|
+
...props
|
|
914
|
+
}: react0.ComponentProps<typeof PaginationLink>): react_jsx_runtime3.JSX.Element;
|
|
915
|
+
declare function PaginationEllipsis({
|
|
916
|
+
className,
|
|
917
|
+
...props
|
|
918
|
+
}: react0.ComponentProps<"span">): react_jsx_runtime3.JSX.Element;
|
|
687
919
|
//#endregion
|
|
688
920
|
//#region src/components/ui/popover.d.ts
|
|
689
921
|
declare const PopoverCreateHandle: typeof Popover$1.createHandle;
|
|
690
922
|
declare const Popover: typeof Popover$1.Root;
|
|
691
|
-
declare function PopoverTrigger(props: Popover$1.Trigger.Props):
|
|
923
|
+
declare function PopoverTrigger(props: Popover$1.Trigger.Props): react_jsx_runtime3.JSX.Element;
|
|
692
924
|
declare function PopoverPopup({
|
|
693
925
|
children,
|
|
694
926
|
className,
|
|
@@ -704,232 +936,134 @@ declare function PopoverPopup({
|
|
|
704
936
|
sideOffset?: Popover$1.Positioner.Props["sideOffset"];
|
|
705
937
|
alignOffset?: Popover$1.Positioner.Props["alignOffset"];
|
|
706
938
|
tooltipStyle?: boolean;
|
|
707
|
-
}):
|
|
939
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
708
940
|
declare function PopoverClose({
|
|
709
941
|
...props
|
|
710
|
-
}: Popover$1.Close.Props):
|
|
942
|
+
}: Popover$1.Close.Props): react_jsx_runtime3.JSX.Element;
|
|
711
943
|
declare function PopoverTitle({
|
|
712
944
|
className,
|
|
713
945
|
...props
|
|
714
|
-
}: Popover$1.Title.Props):
|
|
946
|
+
}: Popover$1.Title.Props): react_jsx_runtime3.JSX.Element;
|
|
715
947
|
declare function PopoverDescription({
|
|
716
948
|
className,
|
|
717
949
|
...props
|
|
718
|
-
}: Popover$1.Description.Props):
|
|
950
|
+
}: Popover$1.Description.Props): react_jsx_runtime3.JSX.Element;
|
|
719
951
|
//#endregion
|
|
720
|
-
//#region src/components/ui/
|
|
721
|
-
declare function
|
|
722
|
-
className,
|
|
723
|
-
...props
|
|
724
|
-
}: react0.ComponentProps<"nav">): react_jsx_runtime18.JSX.Element;
|
|
725
|
-
declare function PaginationContent({
|
|
726
|
-
className,
|
|
727
|
-
...props
|
|
728
|
-
}: react0.ComponentProps<"ul">): react_jsx_runtime18.JSX.Element;
|
|
729
|
-
declare function PaginationItem({
|
|
730
|
-
...props
|
|
731
|
-
}: react0.ComponentProps<"li">): react_jsx_runtime18.JSX.Element;
|
|
732
|
-
type PaginationLinkProps = {
|
|
733
|
-
isActive?: boolean;
|
|
734
|
-
} & Pick<react0.ComponentProps<typeof Button>, "size"> & react0.ComponentProps<"a">;
|
|
735
|
-
declare function PaginationLink({
|
|
736
|
-
className,
|
|
737
|
-
isActive,
|
|
738
|
-
size,
|
|
739
|
-
...props
|
|
740
|
-
}: PaginationLinkProps): react_jsx_runtime18.JSX.Element;
|
|
741
|
-
declare function PaginationPrevious({
|
|
742
|
-
className,
|
|
743
|
-
...props
|
|
744
|
-
}: react0.ComponentProps<typeof PaginationLink>): react_jsx_runtime18.JSX.Element;
|
|
745
|
-
declare function PaginationNext({
|
|
952
|
+
//#region src/components/ui/scroll-area.d.ts
|
|
953
|
+
declare function ScrollArea({
|
|
746
954
|
className,
|
|
955
|
+
children,
|
|
956
|
+
scrollFade,
|
|
957
|
+
scrollbarGutter,
|
|
747
958
|
...props
|
|
748
|
-
}:
|
|
749
|
-
|
|
959
|
+
}: ScrollArea$1.Root.Props & {
|
|
960
|
+
scrollFade?: boolean;
|
|
961
|
+
scrollbarGutter?: boolean;
|
|
962
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
963
|
+
declare function ScrollBar({
|
|
750
964
|
className,
|
|
965
|
+
orientation,
|
|
751
966
|
...props
|
|
752
|
-
}:
|
|
967
|
+
}: ScrollArea$1.Scrollbar.Props): react_jsx_runtime3.JSX.Element;
|
|
753
968
|
//#endregion
|
|
754
969
|
//#region src/components/ui/select.d.ts
|
|
755
|
-
declare const
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
slideOutside: string[];
|
|
760
|
-
slideInside: string[];
|
|
761
|
-
wipe: string[];
|
|
762
|
-
wipeScale: string[];
|
|
763
|
-
motion: string[];
|
|
764
|
-
motionBlur: string[];
|
|
765
|
-
};
|
|
766
|
-
declare const cssTransitionPresets$1: {
|
|
767
|
-
inExpo: string;
|
|
768
|
-
outExpo: string;
|
|
769
|
-
inOutExpo: string;
|
|
770
|
-
anticipate: string;
|
|
771
|
-
quickOut: string;
|
|
772
|
-
overshootOut: string;
|
|
773
|
-
swiftOut: string;
|
|
774
|
-
snappyOut: string;
|
|
775
|
-
in: string;
|
|
776
|
-
out: string;
|
|
777
|
-
inOut: string;
|
|
778
|
-
outIn: string;
|
|
779
|
-
inQuad: string;
|
|
780
|
-
outQuad: string;
|
|
781
|
-
inOutQuad: string;
|
|
782
|
-
inCubic: string;
|
|
783
|
-
outCubic: string;
|
|
784
|
-
inOutCubic: string;
|
|
785
|
-
inQuart: string;
|
|
786
|
-
outQuart: string;
|
|
787
|
-
inOutQuart: string;
|
|
788
|
-
inQuint: string;
|
|
789
|
-
outQuint: string;
|
|
790
|
-
inOutQuint: string;
|
|
791
|
-
inCirc: string;
|
|
792
|
-
outCirc: string;
|
|
793
|
-
inOutCirc: string;
|
|
794
|
-
inOutBase: string;
|
|
795
|
-
};
|
|
796
|
-
type CSSAnimationPresets$1 = keyof typeof cssAnimationPresets$1;
|
|
797
|
-
type CSSTransitionPresets$1 = keyof typeof cssTransitionPresets$1;
|
|
798
|
-
type Backdrop = "opaque" | "blur" | "transparent";
|
|
799
|
-
interface SelectRootProps extends React.ComponentProps<typeof Select$1.Root> {
|
|
800
|
-
backdrop?: Backdrop;
|
|
801
|
-
}
|
|
802
|
-
declare function Select({
|
|
803
|
-
backdrop,
|
|
804
|
-
...props
|
|
805
|
-
}: SelectRootProps): react_jsx_runtime18.JSX.Element;
|
|
806
|
-
interface SelectTriggerProps extends React.ComponentProps<typeof Select$1.Trigger> {}
|
|
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;
|
|
807
974
|
declare function SelectTrigger({
|
|
808
975
|
className,
|
|
976
|
+
size,
|
|
977
|
+
children,
|
|
809
978
|
...props
|
|
810
|
-
}:
|
|
811
|
-
interface SelectValueProps extends React.ComponentProps<typeof Select$1.Value> {
|
|
812
|
-
placeholder?: string;
|
|
813
|
-
}
|
|
979
|
+
}: Select$1.Trigger.Props & VariantProps<typeof selectTriggerVariants>): react_jsx_runtime3.JSX.Element;
|
|
814
980
|
declare function SelectValue({
|
|
815
|
-
className,
|
|
816
|
-
placeholder,
|
|
817
|
-
...props
|
|
818
|
-
}: SelectValueProps): react_jsx_runtime18.JSX.Element;
|
|
819
|
-
interface SelectIconProps extends React.ComponentProps<typeof Select$1.Icon> {}
|
|
820
|
-
declare function SelectIcon({
|
|
821
981
|
className,
|
|
822
982
|
...props
|
|
823
|
-
}:
|
|
824
|
-
interface SelectPositionerProps extends React.ComponentProps<typeof Select$1.Positioner> {}
|
|
825
|
-
interface SelectPopupProps extends React.ComponentProps<typeof Select$1.Popup>, Pick<SelectPositionerProps, "side" | "sideOffset" | "align" | "alignOffset" | "alignItemWithTrigger"> {
|
|
826
|
-
animationPreset?: CSSAnimationPresets$1;
|
|
827
|
-
transitionPreset?: CSSTransitionPresets$1;
|
|
828
|
-
reduceMotion?: boolean;
|
|
829
|
-
showArrow?: boolean;
|
|
830
|
-
}
|
|
983
|
+
}: Select$1.Value.Props): react_jsx_runtime3.JSX.Element;
|
|
831
984
|
declare function SelectPopup({
|
|
832
985
|
className,
|
|
833
|
-
|
|
834
|
-
transitionPreset,
|
|
835
|
-
reduceMotion,
|
|
836
|
-
showArrow,
|
|
986
|
+
children,
|
|
837
987
|
side,
|
|
838
988
|
sideOffset,
|
|
839
989
|
align,
|
|
840
990
|
alignOffset,
|
|
841
991
|
alignItemWithTrigger,
|
|
842
|
-
|
|
843
|
-
...
|
|
844
|
-
}:
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
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;
|
|
851
1002
|
declare function SelectItem({
|
|
852
1003
|
className,
|
|
1004
|
+
children,
|
|
853
1005
|
...props
|
|
854
|
-
}:
|
|
855
|
-
interface SelectItemTextProps extends React.ComponentProps<typeof Select$1.ItemText> {}
|
|
856
|
-
declare function SelectItemText({
|
|
857
|
-
className,
|
|
858
|
-
...props
|
|
859
|
-
}: SelectItemTextProps): react_jsx_runtime18.JSX.Element;
|
|
860
|
-
interface SelectItemIndicatorProps extends React.ComponentProps<typeof Select$1.ItemIndicator> {}
|
|
861
|
-
declare function SelectItemIndicator({
|
|
862
|
-
className,
|
|
863
|
-
...props
|
|
864
|
-
}: SelectItemIndicatorProps): react_jsx_runtime18.JSX.Element;
|
|
865
|
-
interface SelectGroupProps extends React.ComponentProps<typeof Select$1.Group> {}
|
|
866
|
-
declare function SelectGroup({
|
|
867
|
-
...props
|
|
868
|
-
}: SelectGroupProps): react_jsx_runtime18.JSX.Element;
|
|
869
|
-
interface SelectGroupLabelProps extends React.ComponentProps<typeof Select$1.GroupLabel> {}
|
|
870
|
-
declare function SelectGroupLabel({
|
|
871
|
-
...props
|
|
872
|
-
}: SelectGroupLabelProps): react_jsx_runtime18.JSX.Element;
|
|
873
|
-
declare function SelectScrollUpArrow(props: React.ComponentProps<typeof Select$1.ScrollUpArrow>): react_jsx_runtime18.JSX.Element;
|
|
874
|
-
declare function SelectScrollDownArrow(props: React.ComponentProps<typeof Select$1.ScrollDownArrow>): react_jsx_runtime18.JSX.Element;
|
|
875
|
-
interface SelectSeparatorProps extends React.ComponentProps<typeof Select$1.Separator> {}
|
|
1006
|
+
}: Select$1.Item.Props): react_jsx_runtime3.JSX.Element;
|
|
876
1007
|
declare function SelectSeparator({
|
|
1008
|
+
className,
|
|
877
1009
|
...props
|
|
878
|
-
}:
|
|
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;
|
|
879
1013
|
//#endregion
|
|
880
1014
|
//#region src/components/ui/separator.d.ts
|
|
881
1015
|
declare function Separator({
|
|
882
1016
|
className,
|
|
883
1017
|
orientation,
|
|
884
1018
|
...props
|
|
885
|
-
}: Separator$1.Props):
|
|
1019
|
+
}: Separator$1.Props): react_jsx_runtime3.JSX.Element;
|
|
886
1020
|
//#endregion
|
|
887
1021
|
//#region src/components/ui/switch.d.ts
|
|
888
1022
|
declare function Switch({
|
|
889
1023
|
className,
|
|
890
1024
|
...props
|
|
891
|
-
}: Switch$1.Root.Props):
|
|
1025
|
+
}: Switch$1.Root.Props): react_jsx_runtime3.JSX.Element;
|
|
892
1026
|
//#endregion
|
|
893
1027
|
//#region src/components/ui/table.d.ts
|
|
894
1028
|
declare function Table({
|
|
895
1029
|
className,
|
|
896
1030
|
...props
|
|
897
|
-
}: react0.ComponentProps<"table">):
|
|
1031
|
+
}: react0.ComponentProps<"table">): react_jsx_runtime3.JSX.Element;
|
|
898
1032
|
declare function TableHeader({
|
|
899
1033
|
className,
|
|
900
1034
|
...props
|
|
901
|
-
}: react0.ComponentProps<"thead">):
|
|
1035
|
+
}: react0.ComponentProps<"thead">): react_jsx_runtime3.JSX.Element;
|
|
902
1036
|
declare function TableBody({
|
|
903
1037
|
className,
|
|
904
1038
|
...props
|
|
905
|
-
}: react0.ComponentProps<"tbody">):
|
|
1039
|
+
}: react0.ComponentProps<"tbody">): react_jsx_runtime3.JSX.Element;
|
|
906
1040
|
declare function TableFooter({
|
|
907
1041
|
className,
|
|
908
1042
|
...props
|
|
909
|
-
}: react0.ComponentProps<"tfoot">):
|
|
1043
|
+
}: react0.ComponentProps<"tfoot">): react_jsx_runtime3.JSX.Element;
|
|
910
1044
|
declare function TableRow({
|
|
911
1045
|
className,
|
|
912
1046
|
...props
|
|
913
|
-
}: react0.ComponentProps<"tr">):
|
|
1047
|
+
}: react0.ComponentProps<"tr">): react_jsx_runtime3.JSX.Element;
|
|
914
1048
|
declare function TableHead({
|
|
915
1049
|
className,
|
|
916
1050
|
...props
|
|
917
|
-
}: react0.ComponentProps<"th">):
|
|
1051
|
+
}: react0.ComponentProps<"th">): react_jsx_runtime3.JSX.Element;
|
|
918
1052
|
declare function TableCell({
|
|
919
1053
|
className,
|
|
920
1054
|
...props
|
|
921
|
-
}: react0.ComponentProps<"td">):
|
|
1055
|
+
}: react0.ComponentProps<"td">): react_jsx_runtime3.JSX.Element;
|
|
922
1056
|
declare function TableCaption({
|
|
923
1057
|
className,
|
|
924
1058
|
...props
|
|
925
|
-
}: react0.ComponentProps<"caption">):
|
|
1059
|
+
}: react0.ComponentProps<"caption">): react_jsx_runtime3.JSX.Element;
|
|
926
1060
|
//#endregion
|
|
927
1061
|
//#region src/components/ui/tabs.d.ts
|
|
928
1062
|
type TabsVariant = "default" | "underline";
|
|
929
1063
|
declare function Tabs({
|
|
930
1064
|
className,
|
|
931
1065
|
...props
|
|
932
|
-
}: Tabs$1.Root.Props):
|
|
1066
|
+
}: Tabs$1.Root.Props): react_jsx_runtime3.JSX.Element;
|
|
933
1067
|
declare function TabsList({
|
|
934
1068
|
variant,
|
|
935
1069
|
className,
|
|
@@ -937,19 +1071,19 @@ declare function TabsList({
|
|
|
937
1071
|
...props
|
|
938
1072
|
}: Tabs$1.List.Props & {
|
|
939
1073
|
variant?: TabsVariant;
|
|
940
|
-
}):
|
|
1074
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
941
1075
|
declare function TabsTab({
|
|
942
1076
|
className,
|
|
943
1077
|
...props
|
|
944
|
-
}: Tabs$1.Tab.Props):
|
|
1078
|
+
}: Tabs$1.Tab.Props): react_jsx_runtime3.JSX.Element;
|
|
945
1079
|
declare function TabsPanel({
|
|
946
1080
|
className,
|
|
947
1081
|
...props
|
|
948
|
-
}: Tabs$1.Panel.Props):
|
|
1082
|
+
}: Tabs$1.Panel.Props): react_jsx_runtime3.JSX.Element;
|
|
949
1083
|
//#endregion
|
|
950
1084
|
//#region src/components/ui/toast.d.ts
|
|
951
|
-
declare const toastManager:
|
|
952
|
-
declare const anchoredToastManager:
|
|
1085
|
+
declare const toastManager: _base_ui_react0.ToastManager;
|
|
1086
|
+
declare const anchoredToastManager: _base_ui_react0.ToastManager;
|
|
953
1087
|
type ToastPosition = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
954
1088
|
interface ToastProviderProps extends Toast.Provider.Props {
|
|
955
1089
|
position?: ToastPosition;
|
|
@@ -958,11 +1092,11 @@ declare function ToastProvider({
|
|
|
958
1092
|
children,
|
|
959
1093
|
position,
|
|
960
1094
|
...props
|
|
961
|
-
}: ToastProviderProps):
|
|
1095
|
+
}: ToastProviderProps): react_jsx_runtime3.JSX.Element;
|
|
962
1096
|
declare function AnchoredToastProvider({
|
|
963
1097
|
children,
|
|
964
1098
|
...props
|
|
965
|
-
}: Toast.Provider.Props):
|
|
1099
|
+
}: Toast.Provider.Props): react_jsx_runtime3.JSX.Element;
|
|
966
1100
|
//#endregion
|
|
967
1101
|
//#region src/components/ui/tooltip.d.ts
|
|
968
1102
|
declare const cssAnimationPresets: {
|
|
@@ -1013,13 +1147,13 @@ interface TooltipProviderProps extends Tooltip$1.Provider.Props {}
|
|
|
1013
1147
|
declare function TooltipProvider({
|
|
1014
1148
|
delay,
|
|
1015
1149
|
...props
|
|
1016
|
-
}: TooltipProviderProps):
|
|
1150
|
+
}: TooltipProviderProps): react_jsx_runtime3.JSX.Element;
|
|
1017
1151
|
interface TooltipProps extends Tooltip$1.Root.Props {}
|
|
1018
1152
|
declare function Tooltip({
|
|
1019
1153
|
...props
|
|
1020
|
-
}: TooltipProps):
|
|
1154
|
+
}: TooltipProps): react_jsx_runtime3.JSX.Element;
|
|
1021
1155
|
interface TooltipTriggerProps extends Tooltip$1.Trigger.Props {}
|
|
1022
|
-
declare function TooltipTrigger(props: TooltipTriggerProps):
|
|
1156
|
+
declare function TooltipTrigger(props: TooltipTriggerProps): react_jsx_runtime3.JSX.Element;
|
|
1023
1157
|
interface TooltipPositionerProps extends Tooltip$1.Positioner.Props {}
|
|
1024
1158
|
interface TooltipPopupProps extends Tooltip$1.Popup.Props, Pick<TooltipPositionerProps, "side" | "sideOffset" | "align" | "alignOffset"> {
|
|
1025
1159
|
animationPreset?: CSSAnimationPresets;
|
|
@@ -1038,7 +1172,7 @@ declare function TooltipPopup({
|
|
|
1038
1172
|
align,
|
|
1039
1173
|
alignOffset,
|
|
1040
1174
|
...rest
|
|
1041
|
-
}: TooltipPopupProps):
|
|
1175
|
+
}: TooltipPopupProps): react_jsx_runtime3.JSX.Element;
|
|
1042
1176
|
//#endregion
|
|
1043
1177
|
//#region src/utils/animation.d.ts
|
|
1044
1178
|
type AnimationTraitProps = {
|
|
@@ -1213,5 +1347,5 @@ type OptimizedImageAttrs = {
|
|
|
1213
1347
|
*/
|
|
1214
1348
|
declare function useOptimizedImage(src: string | undefined): OptimizedImageAttrs | null;
|
|
1215
1349
|
//#endregion
|
|
1216
|
-
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, Popover, PopoverClose, PopoverPopup as PopoverContent, PopoverPopup, PopoverCreateHandle, PopoverDescription, PopoverTitle, PopoverTrigger, 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 };
|
|
1217
1351
|
//# sourceMappingURL=index.d.ts.map
|