@ckc-net/puck-extended 0.3.0 → 0.5.0
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/README.md +18 -0
- package/dist/index.d.ts +258 -223
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1311 -350
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -2,25 +2,25 @@ import * as react0 from "react";
|
|
|
2
2
|
import React$1, { ComponentProps, ReactNode, SyntheticEvent } from "react";
|
|
3
3
|
import { useRender } from "@base-ui/react/use-render";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as
|
|
6
|
-
import { Tooltip as
|
|
5
|
+
import * as react_jsx_runtime63 from "react/jsx-runtime";
|
|
6
|
+
import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
|
|
7
7
|
import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
|
|
8
8
|
import { Input as Input$1 } from "@base-ui/react/input";
|
|
9
9
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
10
10
|
import { Radio } from "@base-ui/react/radio";
|
|
11
11
|
import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
|
|
12
|
+
import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
12
13
|
import * as _puckeditor_core0 from "@puckeditor/core";
|
|
13
14
|
import { ComponentConfig, Field, FieldProps, Fields, Slot } from "@puckeditor/core";
|
|
14
|
-
import { Tabs as
|
|
15
|
+
import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
|
|
15
16
|
import { Accordion as AccordionPrimitive } from "@base-ui/react/accordion";
|
|
16
17
|
import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
17
18
|
import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
|
|
18
|
-
import { ScrollArea as
|
|
19
|
+
import { ScrollArea as ScrollAreaPrimitive } from "@base-ui/react/scroll-area";
|
|
19
20
|
import { ColumnDef, PaginationState, SortingState } from "@tanstack/react-table";
|
|
20
21
|
import * as _tiptap_extension_text_style0 from "@tiptap/extension-text-style";
|
|
21
|
-
import { Menu as
|
|
22
|
+
import { Menu as MenuPrimitive } from "@base-ui/react/menu";
|
|
22
23
|
import { Separator as Separator$1 } from "@base-ui/react/separator";
|
|
23
|
-
import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
24
24
|
import { Toast } from "@base-ui/react/toast";
|
|
25
25
|
import { Editor } from "@tiptap/react";
|
|
26
26
|
import * as _tiptap_core0 from "@tiptap/core";
|
|
@@ -44,7 +44,7 @@ declare const FieldNumberUnit: ({
|
|
|
44
44
|
label: string;
|
|
45
45
|
field: any;
|
|
46
46
|
readOnly?: boolean;
|
|
47
|
-
}) =>
|
|
47
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/overrides/plugin.d.ts
|
|
50
50
|
declare const createPuckOverridesPlugin: () => {
|
|
@@ -58,7 +58,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
58
58
|
label?: string;
|
|
59
59
|
parentAction?: react0.ReactNode;
|
|
60
60
|
children?: react0.ReactNode;
|
|
61
|
-
}):
|
|
61
|
+
}): react_jsx_runtime63.JSX.Element;
|
|
62
62
|
Action: ({
|
|
63
63
|
children,
|
|
64
64
|
label,
|
|
@@ -66,32 +66,32 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
66
66
|
}: {
|
|
67
67
|
children: react0.ReactNode;
|
|
68
68
|
label?: string;
|
|
69
|
-
onClick
|
|
70
|
-
}) =>
|
|
69
|
+
onClick?: (e: react0.SyntheticEvent) => void;
|
|
70
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
71
71
|
Label: ({
|
|
72
72
|
label
|
|
73
73
|
}: {
|
|
74
74
|
label: string;
|
|
75
|
-
}) =>
|
|
75
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
76
76
|
Group: ({
|
|
77
77
|
children
|
|
78
78
|
}: {
|
|
79
79
|
children: react0.ReactNode;
|
|
80
|
-
}) =>
|
|
81
|
-
Separator: () =>
|
|
80
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
81
|
+
Separator: () => react_jsx_runtime63.JSX.Element;
|
|
82
82
|
};
|
|
83
83
|
drawer: ({
|
|
84
84
|
children
|
|
85
85
|
}: {
|
|
86
86
|
children: React.ReactNode;
|
|
87
|
-
}) =>
|
|
87
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
88
88
|
drawerItem: ({
|
|
89
89
|
name,
|
|
90
90
|
icon
|
|
91
91
|
}: {
|
|
92
92
|
name: string;
|
|
93
93
|
icon?: React.ReactNode;
|
|
94
|
-
}) =>
|
|
94
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
95
95
|
fields: ({
|
|
96
96
|
children
|
|
97
97
|
}: {
|
|
@@ -101,7 +101,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
101
101
|
path?: string;
|
|
102
102
|
index?: number;
|
|
103
103
|
} | null;
|
|
104
|
-
}) =>
|
|
104
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
105
105
|
fieldLabel: ({
|
|
106
106
|
children,
|
|
107
107
|
label,
|
|
@@ -112,7 +112,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
112
112
|
label?: string;
|
|
113
113
|
field?: any;
|
|
114
114
|
tooltip?: string;
|
|
115
|
-
}) =>
|
|
115
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
116
116
|
fieldTypes: {
|
|
117
117
|
checkbox: ({
|
|
118
118
|
onChange,
|
|
@@ -133,7 +133,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
133
133
|
};
|
|
134
134
|
}) & {
|
|
135
135
|
label: string;
|
|
136
|
-
}) =>
|
|
136
|
+
}) => react_jsx_runtime63.JSX.Element | null;
|
|
137
137
|
numberUnit: ({
|
|
138
138
|
onChange,
|
|
139
139
|
value,
|
|
@@ -146,7 +146,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
146
146
|
label: string;
|
|
147
147
|
field: any;
|
|
148
148
|
readOnly?: boolean;
|
|
149
|
-
}) =>
|
|
149
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
150
150
|
radio: ({
|
|
151
151
|
onChange,
|
|
152
152
|
value,
|
|
@@ -164,7 +164,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
164
164
|
};
|
|
165
165
|
}) & {
|
|
166
166
|
label: string;
|
|
167
|
-
}) =>
|
|
167
|
+
}) => react_jsx_runtime63.JSX.Element | null;
|
|
168
168
|
select: ({
|
|
169
169
|
onChange,
|
|
170
170
|
value,
|
|
@@ -177,7 +177,22 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
177
177
|
label: string;
|
|
178
178
|
field: any;
|
|
179
179
|
readOnly?: boolean;
|
|
180
|
-
}) =>
|
|
180
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
181
|
+
switch: ({
|
|
182
|
+
onChange,
|
|
183
|
+
value,
|
|
184
|
+
readOnly,
|
|
185
|
+
field,
|
|
186
|
+
label
|
|
187
|
+
}: _puckeditor_core0.FieldProps<_puckeditor_core0.Field<any>> & {
|
|
188
|
+
name: string;
|
|
189
|
+
field: _puckeditor_core0.Field<any> & {
|
|
190
|
+
readOnly?: boolean;
|
|
191
|
+
tooltip?: string;
|
|
192
|
+
layout?: SwitchLayout;
|
|
193
|
+
};
|
|
194
|
+
label: string;
|
|
195
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
181
196
|
text: ({
|
|
182
197
|
onChange,
|
|
183
198
|
value,
|
|
@@ -190,7 +205,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
190
205
|
label?: string;
|
|
191
206
|
field: any;
|
|
192
207
|
readOnly?: boolean;
|
|
193
|
-
}) =>
|
|
208
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
194
209
|
textarea: ({
|
|
195
210
|
onChange,
|
|
196
211
|
value,
|
|
@@ -203,7 +218,7 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
203
218
|
label: string;
|
|
204
219
|
field: any;
|
|
205
220
|
readOnly?: boolean;
|
|
206
|
-
}) =>
|
|
221
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
207
222
|
};
|
|
208
223
|
};
|
|
209
224
|
};
|
|
@@ -212,12 +227,16 @@ declare const createPuckOverridesPlugin: () => {
|
|
|
212
227
|
declare const Label: ({
|
|
213
228
|
label,
|
|
214
229
|
readOnly,
|
|
215
|
-
tooltip
|
|
230
|
+
tooltip,
|
|
231
|
+
action,
|
|
232
|
+
className
|
|
216
233
|
}: {
|
|
217
234
|
label?: string;
|
|
218
235
|
readOnly?: boolean;
|
|
219
236
|
tooltip?: string;
|
|
220
|
-
|
|
237
|
+
action?: React$1.ReactNode;
|
|
238
|
+
className?: string;
|
|
239
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
221
240
|
//#endregion
|
|
222
241
|
//#region src/components/Fields/Input/index.d.ts
|
|
223
242
|
declare const FieldInput: ({
|
|
@@ -232,7 +251,7 @@ declare const FieldInput: ({
|
|
|
232
251
|
label?: string;
|
|
233
252
|
field: any;
|
|
234
253
|
readOnly?: boolean;
|
|
235
|
-
}) =>
|
|
254
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
236
255
|
//#endregion
|
|
237
256
|
//#region src/components/Fields/Textarea/index.d.ts
|
|
238
257
|
declare const FieldTextarea: ({
|
|
@@ -247,7 +266,7 @@ declare const FieldTextarea: ({
|
|
|
247
266
|
label: string;
|
|
248
267
|
field: any;
|
|
249
268
|
readOnly?: boolean;
|
|
250
|
-
}) =>
|
|
269
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
251
270
|
//#endregion
|
|
252
271
|
//#region src/components/Fields/Select/index.d.ts
|
|
253
272
|
declare const FieldSelect: ({
|
|
@@ -262,7 +281,7 @@ declare const FieldSelect: ({
|
|
|
262
281
|
label: string;
|
|
263
282
|
field: any;
|
|
264
283
|
readOnly?: boolean;
|
|
265
|
-
}) =>
|
|
284
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
266
285
|
//#endregion
|
|
267
286
|
//#region src/components/ui/radio.d.ts
|
|
268
287
|
type RadioLayout = "horizontal" | "inline";
|
|
@@ -276,12 +295,12 @@ declare function RadioGroup({
|
|
|
276
295
|
className,
|
|
277
296
|
layout,
|
|
278
297
|
...props
|
|
279
|
-
}: RadioGroupProps):
|
|
298
|
+
}: RadioGroupProps): react_jsx_runtime63.JSX.Element;
|
|
280
299
|
declare function RadioGroupItem({
|
|
281
300
|
className,
|
|
282
301
|
layout,
|
|
283
302
|
...props
|
|
284
|
-
}: RadioGroupItemProps):
|
|
303
|
+
}: RadioGroupItemProps): react_jsx_runtime63.JSX.Element;
|
|
285
304
|
//#endregion
|
|
286
305
|
//#region src/components/Fields/Radio/index.d.ts
|
|
287
306
|
type RadioProps = FieldProps<Field<any>> & {
|
|
@@ -302,7 +321,7 @@ declare const FieldRadio: ({
|
|
|
302
321
|
label
|
|
303
322
|
}: RadioProps & {
|
|
304
323
|
label: string;
|
|
305
|
-
}) =>
|
|
324
|
+
}) => react_jsx_runtime63.JSX.Element | null;
|
|
306
325
|
//#endregion
|
|
307
326
|
//#region src/components/ui/checkbox.d.ts
|
|
308
327
|
type CheckboxLayout = "horizontal" | "inline";
|
|
@@ -313,7 +332,7 @@ declare function Checkbox({
|
|
|
313
332
|
className,
|
|
314
333
|
layout,
|
|
315
334
|
...props
|
|
316
|
-
}: CheckboxProps$1):
|
|
335
|
+
}: CheckboxProps$1): react_jsx_runtime63.JSX.Element;
|
|
317
336
|
//#endregion
|
|
318
337
|
//#region src/components/Fields/Checkbox/index.d.ts
|
|
319
338
|
type CheckboxProps = FieldProps<Field<any>> & {
|
|
@@ -336,7 +355,26 @@ declare const FieldCheckbox: ({
|
|
|
336
355
|
label
|
|
337
356
|
}: CheckboxProps & {
|
|
338
357
|
label: string;
|
|
339
|
-
}) =>
|
|
358
|
+
}) => react_jsx_runtime63.JSX.Element | null;
|
|
359
|
+
//#endregion
|
|
360
|
+
//#region src/components/Fields/Switch/index.d.ts
|
|
361
|
+
type SwitchLayout = "inline" | "stacked";
|
|
362
|
+
type SwitchFieldProps = FieldProps<Field<any>> & {
|
|
363
|
+
name: string;
|
|
364
|
+
field: Field<any> & {
|
|
365
|
+
readOnly?: boolean;
|
|
366
|
+
tooltip?: string;
|
|
367
|
+
layout?: SwitchLayout;
|
|
368
|
+
};
|
|
369
|
+
label: string;
|
|
370
|
+
};
|
|
371
|
+
declare const FieldSwitch: ({
|
|
372
|
+
onChange,
|
|
373
|
+
value,
|
|
374
|
+
readOnly,
|
|
375
|
+
field,
|
|
376
|
+
label
|
|
377
|
+
}: SwitchFieldProps) => react_jsx_runtime63.JSX.Element;
|
|
340
378
|
//#endregion
|
|
341
379
|
//#region src/components/RichTextMenuLink/index.d.ts
|
|
342
380
|
type RichTextMenuLinkProps = {
|
|
@@ -345,7 +383,7 @@ type RichTextMenuLinkProps = {
|
|
|
345
383
|
declare function RichTextMenuLink({
|
|
346
384
|
editor,
|
|
347
385
|
...props
|
|
348
|
-
}: RichTextMenuLinkProps & Omit<ComponentProps<"div">, keyof RichTextMenuLinkProps>):
|
|
386
|
+
}: RichTextMenuLinkProps & Omit<ComponentProps<"div">, keyof RichTextMenuLinkProps>): react_jsx_runtime63.JSX.Element;
|
|
349
387
|
//#endregion
|
|
350
388
|
//#region src/components/RichTextMenuColorPicker/index.d.ts
|
|
351
389
|
type RichTextMenuColorPickerProps = {
|
|
@@ -360,24 +398,35 @@ declare const richTextMenuColorPickerExtension: (_tiptap_core0.Mark<_tiptap_exte
|
|
|
360
398
|
declare function RichTextMenuColorPicker({
|
|
361
399
|
editor,
|
|
362
400
|
...props
|
|
363
|
-
}: RichTextMenuColorPickerProps & Omit<ComponentProps<"div">, keyof RichTextMenuColorPickerProps>):
|
|
401
|
+
}: RichTextMenuColorPickerProps & Omit<ComponentProps<"div">, keyof RichTextMenuColorPickerProps>): react_jsx_runtime63.JSX.Element;
|
|
402
|
+
//#endregion
|
|
403
|
+
//#region src/plugins/unsplash/utils/unsplashClient.d.ts
|
|
404
|
+
type UnsplashPhoto = {
|
|
405
|
+
id: string;
|
|
406
|
+
description?: string | null;
|
|
407
|
+
altDescription?: string | null;
|
|
408
|
+
thumbUrl: string;
|
|
409
|
+
regularUrl: string;
|
|
410
|
+
htmlUrl: string;
|
|
411
|
+
width?: number;
|
|
412
|
+
height?: number;
|
|
413
|
+
authorName?: string;
|
|
414
|
+
};
|
|
364
415
|
//#endregion
|
|
365
416
|
//#region src/components/MediaPicker/index.d.ts
|
|
366
417
|
type MediaItem = {
|
|
367
418
|
id: number;
|
|
368
419
|
name: string;
|
|
369
420
|
url: string;
|
|
370
|
-
thumbnail: string;
|
|
371
421
|
type: string;
|
|
372
422
|
};
|
|
373
423
|
/**
|
|
374
|
-
* Référence stable vers un média —
|
|
375
|
-
*
|
|
424
|
+
* Référence stable vers un média — identifié uniquement par son `id`.
|
|
425
|
+
* Utiliser `useMediaUrl` pour résoudre l'URL courante depuis l'API.
|
|
376
426
|
*/
|
|
377
427
|
type MediaReference = {
|
|
378
428
|
id: number;
|
|
379
429
|
name: string;
|
|
380
|
-
thumbnail?: string;
|
|
381
430
|
};
|
|
382
431
|
type MediaPickerValue = {
|
|
383
432
|
type?: "url" | "media";
|
|
@@ -390,19 +439,24 @@ type MediaPickerProps = {
|
|
|
390
439
|
mediaType?: string;
|
|
391
440
|
acceptedTypes?: string;
|
|
392
441
|
maxSize?: number;
|
|
442
|
+
unsplashSearchEndpoint?: string;
|
|
443
|
+
unsplashFeaturedQuery?: string;
|
|
444
|
+
unsplashDownloadEndpoint?: string;
|
|
445
|
+
unsplashUploadEndpoint?: string;
|
|
446
|
+
onUnsplashDownloadPhoto?: (photo: UnsplashPhoto) => void | Promise<void>;
|
|
393
447
|
};
|
|
394
448
|
declare const MediaPicker: ({
|
|
395
449
|
value,
|
|
396
450
|
onChange,
|
|
397
451
|
mediaType,
|
|
398
452
|
acceptedTypes,
|
|
399
|
-
maxSize
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
453
|
+
maxSize,
|
|
454
|
+
unsplashSearchEndpoint,
|
|
455
|
+
unsplashFeaturedQuery,
|
|
456
|
+
unsplashDownloadEndpoint,
|
|
457
|
+
unsplashUploadEndpoint,
|
|
458
|
+
onUnsplashDownloadPhoto
|
|
459
|
+
}: MediaPickerProps) => react_jsx_runtime63.JSX.Element;
|
|
406
460
|
/**
|
|
407
461
|
* Hook React qui résout dynamiquement l'URL courante d'un `MediaPickerValue`.
|
|
408
462
|
*
|
|
@@ -448,7 +502,7 @@ type PagePickerProps = {
|
|
|
448
502
|
declare const PagePicker: ({
|
|
449
503
|
value,
|
|
450
504
|
onChange
|
|
451
|
-
}: PagePickerProps) =>
|
|
505
|
+
}: PagePickerProps) => react_jsx_runtime63.JSX.Element;
|
|
452
506
|
/**
|
|
453
507
|
* Hook React qui résout dynamiquement l'URL courante d'un `PagePickerValue`.
|
|
454
508
|
*
|
|
@@ -475,7 +529,7 @@ declare const ActionBar: {
|
|
|
475
529
|
label?: string;
|
|
476
530
|
parentAction?: ReactNode;
|
|
477
531
|
children?: ReactNode;
|
|
478
|
-
}):
|
|
532
|
+
}): react_jsx_runtime63.JSX.Element;
|
|
479
533
|
Action: ({
|
|
480
534
|
children,
|
|
481
535
|
label,
|
|
@@ -483,19 +537,19 @@ declare const ActionBar: {
|
|
|
483
537
|
}: {
|
|
484
538
|
children: ReactNode;
|
|
485
539
|
label?: string;
|
|
486
|
-
onClick
|
|
487
|
-
}) =>
|
|
540
|
+
onClick?: (e: SyntheticEvent) => void;
|
|
541
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
488
542
|
Label: ({
|
|
489
543
|
label
|
|
490
544
|
}: {
|
|
491
545
|
label: string;
|
|
492
|
-
}) =>
|
|
546
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
493
547
|
Group: ({
|
|
494
548
|
children
|
|
495
549
|
}: {
|
|
496
550
|
children: ReactNode;
|
|
497
|
-
}) =>
|
|
498
|
-
Separator: () =>
|
|
551
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
552
|
+
Separator: () => react_jsx_runtime63.JSX.Element;
|
|
499
553
|
};
|
|
500
554
|
//#endregion
|
|
501
555
|
//#region src/components/DrawerItem/index.d.ts
|
|
@@ -505,7 +559,7 @@ declare const DrawerItem: ({
|
|
|
505
559
|
}: {
|
|
506
560
|
name: string;
|
|
507
561
|
icon?: React.ReactNode;
|
|
508
|
-
}) =>
|
|
562
|
+
}) => react_jsx_runtime63.JSX.Element;
|
|
509
563
|
//#endregion
|
|
510
564
|
//#region src/components/FieldGroups/index.d.ts
|
|
511
565
|
type ItemSelector = {
|
|
@@ -519,7 +573,7 @@ type FieldGroupsProps = {
|
|
|
519
573
|
};
|
|
520
574
|
declare const FieldGroups: ({
|
|
521
575
|
children
|
|
522
|
-
}: FieldGroupsProps) =>
|
|
576
|
+
}: FieldGroupsProps) => react_jsx_runtime63.JSX.Element;
|
|
523
577
|
//#endregion
|
|
524
578
|
//#region src/components/PickerModal/index.d.ts
|
|
525
579
|
type PickerModalProps<T extends {
|
|
@@ -551,6 +605,12 @@ type PickerModalProps<T extends {
|
|
|
551
605
|
emptyMessage?: string;
|
|
552
606
|
/** Optional footer (e.g. upload zone) */
|
|
553
607
|
footer?: React$1.ReactNode;
|
|
608
|
+
/** Optional content rendered next to the search bar (e.g. source selector) */
|
|
609
|
+
filterContent?: React$1.ReactNode;
|
|
610
|
+
/** When provided, replaces the table/loading area entirely */
|
|
611
|
+
tableContent?: React$1.ReactNode;
|
|
612
|
+
/** Overlay rendered inside the modal popup (e.g. image preview) */
|
|
613
|
+
overlay?: React$1.ReactNode;
|
|
554
614
|
};
|
|
555
615
|
declare function PickerModal<T extends {
|
|
556
616
|
id: number | string;
|
|
@@ -572,8 +632,11 @@ declare function PickerModal<T extends {
|
|
|
572
632
|
pageSizeOptions,
|
|
573
633
|
emptyIcon,
|
|
574
634
|
emptyMessage,
|
|
575
|
-
footer
|
|
576
|
-
|
|
635
|
+
footer,
|
|
636
|
+
filterContent,
|
|
637
|
+
tableContent,
|
|
638
|
+
overlay
|
|
639
|
+
}: PickerModalProps<T>): react_jsx_runtime63.JSX.Element;
|
|
577
640
|
//#endregion
|
|
578
641
|
//#region src/components/ColorPicker/index.d.ts
|
|
579
642
|
type ColorPickerProps = {
|
|
@@ -633,7 +696,7 @@ declare function Badge({
|
|
|
633
696
|
//#region src/components/ui/button.d.ts
|
|
634
697
|
declare const buttonVariants: (props?: ({
|
|
635
698
|
size?: "icon" | "default" | "lg" | "sm" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "xl" | "xs" | null | undefined;
|
|
636
|
-
variant?: "
|
|
699
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "destructive-outline" | "ghost" | "primary" | null | undefined;
|
|
637
700
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
638
701
|
interface ButtonProps extends useRender.ComponentProps<"button"> {
|
|
639
702
|
variant?: VariantProps<typeof buttonVariants>["variant"];
|
|
@@ -649,7 +712,7 @@ declare function Button({
|
|
|
649
712
|
//#endregion
|
|
650
713
|
//#region src/components/ui/dialog.d.ts
|
|
651
714
|
declare const Dialog: typeof Dialog$1.Root;
|
|
652
|
-
declare function DialogTrigger(props: Dialog$1.Trigger.Props):
|
|
715
|
+
declare function DialogTrigger(props: Dialog$1.Trigger.Props): react_jsx_runtime63.JSX.Element;
|
|
653
716
|
declare function DialogPopup({
|
|
654
717
|
className,
|
|
655
718
|
children,
|
|
@@ -659,59 +722,59 @@ declare function DialogPopup({
|
|
|
659
722
|
}: Dialog$1.Popup.Props & {
|
|
660
723
|
showCloseButton?: boolean;
|
|
661
724
|
bottomStickOnMobile?: boolean;
|
|
662
|
-
}):
|
|
725
|
+
}): react_jsx_runtime63.JSX.Element;
|
|
663
726
|
declare function DialogHeader({
|
|
664
727
|
className,
|
|
665
728
|
...props
|
|
666
|
-
}: React.ComponentProps<"div">):
|
|
729
|
+
}: React.ComponentProps<"div">): react_jsx_runtime63.JSX.Element;
|
|
667
730
|
declare function DialogFooter({
|
|
668
731
|
className,
|
|
669
732
|
variant,
|
|
670
733
|
...props
|
|
671
734
|
}: React.ComponentProps<"div"> & {
|
|
672
735
|
variant?: "default" | "bare";
|
|
673
|
-
}):
|
|
736
|
+
}): react_jsx_runtime63.JSX.Element;
|
|
674
737
|
declare function DialogTitle({
|
|
675
738
|
className,
|
|
676
739
|
...props
|
|
677
|
-
}: Dialog$1.Title.Props):
|
|
740
|
+
}: Dialog$1.Title.Props): react_jsx_runtime63.JSX.Element;
|
|
678
741
|
declare function DialogDescription({
|
|
679
742
|
className,
|
|
680
743
|
...props
|
|
681
|
-
}: Dialog$1.Description.Props):
|
|
744
|
+
}: Dialog$1.Description.Props): react_jsx_runtime63.JSX.Element;
|
|
682
745
|
declare function DialogPanel({
|
|
683
746
|
className,
|
|
684
747
|
scrollFade,
|
|
685
748
|
...props
|
|
686
749
|
}: React.ComponentProps<"div"> & {
|
|
687
750
|
scrollFade?: boolean;
|
|
688
|
-
}):
|
|
751
|
+
}): react_jsx_runtime63.JSX.Element;
|
|
689
752
|
//#endregion
|
|
690
753
|
//#region src/components/ui/frame.d.ts
|
|
691
754
|
declare function Frame({
|
|
692
755
|
className,
|
|
693
756
|
...props
|
|
694
|
-
}: react0.ComponentProps<"div">):
|
|
757
|
+
}: react0.ComponentProps<"div">): react_jsx_runtime63.JSX.Element;
|
|
695
758
|
declare function FramePanel({
|
|
696
759
|
className,
|
|
697
760
|
...props
|
|
698
|
-
}: react0.ComponentProps<"div">):
|
|
761
|
+
}: react0.ComponentProps<"div">): react_jsx_runtime63.JSX.Element;
|
|
699
762
|
declare function FrameHeader({
|
|
700
763
|
className,
|
|
701
764
|
...props
|
|
702
|
-
}: react0.ComponentProps<"header">):
|
|
765
|
+
}: react0.ComponentProps<"header">): react_jsx_runtime63.JSX.Element;
|
|
703
766
|
declare function FrameTitle({
|
|
704
767
|
className,
|
|
705
768
|
...props
|
|
706
|
-
}: react0.ComponentProps<"div">):
|
|
769
|
+
}: react0.ComponentProps<"div">): react_jsx_runtime63.JSX.Element;
|
|
707
770
|
declare function FrameDescription({
|
|
708
771
|
className,
|
|
709
772
|
...props
|
|
710
|
-
}: react0.ComponentProps<"div">):
|
|
773
|
+
}: react0.ComponentProps<"div">): react_jsx_runtime63.JSX.Element;
|
|
711
774
|
declare function FrameFooter({
|
|
712
775
|
className,
|
|
713
776
|
...props
|
|
714
|
-
}: react0.ComponentProps<"footer">):
|
|
777
|
+
}: react0.ComponentProps<"footer">): react_jsx_runtime63.JSX.Element;
|
|
715
778
|
//#endregion
|
|
716
779
|
//#region src/components/ui/input.d.ts
|
|
717
780
|
type InputProps = Omit<Input$1.Props & react0.RefAttributes<HTMLInputElement>, "size"> & {
|
|
@@ -725,7 +788,7 @@ declare function Input({
|
|
|
725
788
|
unstyled,
|
|
726
789
|
nativeInput,
|
|
727
790
|
...props
|
|
728
|
-
}: InputProps):
|
|
791
|
+
}: InputProps): react_jsx_runtime63.JSX.Element;
|
|
729
792
|
//#endregion
|
|
730
793
|
//#region src/components/ui/textarea.d.ts
|
|
731
794
|
type TextareaProps = react0.ComponentProps<"textarea"> & {
|
|
@@ -737,13 +800,13 @@ declare function Textarea({
|
|
|
737
800
|
size,
|
|
738
801
|
unstyled,
|
|
739
802
|
...props
|
|
740
|
-
}: TextareaProps):
|
|
803
|
+
}: TextareaProps): react_jsx_runtime63.JSX.Element;
|
|
741
804
|
//#endregion
|
|
742
805
|
//#region src/components/ui/input-group.d.ts
|
|
743
806
|
declare function InputGroup({
|
|
744
807
|
className,
|
|
745
808
|
...props
|
|
746
|
-
}: react0.ComponentProps<"div">):
|
|
809
|
+
}: react0.ComponentProps<"div">): react_jsx_runtime63.JSX.Element;
|
|
747
810
|
declare const inputGroupAddonVariants: (props?: ({
|
|
748
811
|
align?: "inline-start" | "block-end" | "block-start" | "inline-end" | null | undefined;
|
|
749
812
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
@@ -751,25 +814,27 @@ declare function InputGroupAddon({
|
|
|
751
814
|
className,
|
|
752
815
|
align,
|
|
753
816
|
...props
|
|
754
|
-
}: react0.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>):
|
|
817
|
+
}: react0.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime63.JSX.Element;
|
|
755
818
|
declare function InputGroupText({
|
|
756
819
|
className,
|
|
757
820
|
...props
|
|
758
|
-
}: react0.ComponentProps<"span">):
|
|
821
|
+
}: react0.ComponentProps<"span">): react_jsx_runtime63.JSX.Element;
|
|
759
822
|
declare function InputGroupInput({
|
|
760
823
|
className,
|
|
761
824
|
...props
|
|
762
|
-
}: InputProps):
|
|
825
|
+
}: InputProps): react_jsx_runtime63.JSX.Element;
|
|
763
826
|
declare function InputGroupTextarea({
|
|
764
827
|
className,
|
|
765
828
|
...props
|
|
766
|
-
}: TextareaProps):
|
|
829
|
+
}: TextareaProps): react_jsx_runtime63.JSX.Element;
|
|
767
830
|
//#endregion
|
|
768
831
|
//#region src/components/ui/menu.d.ts
|
|
769
|
-
declare const
|
|
770
|
-
declare
|
|
771
|
-
|
|
772
|
-
|
|
832
|
+
declare const Menu: typeof MenuPrimitive.Root;
|
|
833
|
+
declare function MenuTrigger({
|
|
834
|
+
className,
|
|
835
|
+
children,
|
|
836
|
+
...props
|
|
837
|
+
}: MenuPrimitive.Trigger.Props): react0.ReactElement;
|
|
773
838
|
declare function MenuPopup({
|
|
774
839
|
children,
|
|
775
840
|
className,
|
|
@@ -777,86 +842,86 @@ declare function MenuPopup({
|
|
|
777
842
|
align,
|
|
778
843
|
alignOffset,
|
|
779
844
|
side,
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
845
|
+
anchor,
|
|
846
|
+
portalProps,
|
|
847
|
+
...props
|
|
848
|
+
}: MenuPrimitive.Popup.Props & {
|
|
849
|
+
align?: MenuPrimitive.Positioner.Props["align"];
|
|
850
|
+
sideOffset?: MenuPrimitive.Positioner.Props["sideOffset"];
|
|
851
|
+
alignOffset?: MenuPrimitive.Positioner.Props["alignOffset"];
|
|
852
|
+
side?: MenuPrimitive.Positioner.Props["side"];
|
|
853
|
+
anchor?: MenuPrimitive.Positioner.Props["anchor"];
|
|
854
|
+
portalProps?: MenuPrimitive.Portal.Props;
|
|
855
|
+
}): react0.ReactElement;
|
|
856
|
+
declare function MenuGroup(props: MenuPrimitive.Group.Props): react0.ReactElement;
|
|
788
857
|
declare function MenuItem({
|
|
789
858
|
className,
|
|
790
859
|
inset,
|
|
791
860
|
variant,
|
|
792
861
|
...props
|
|
793
|
-
}:
|
|
862
|
+
}: MenuPrimitive.Item.Props & {
|
|
794
863
|
inset?: boolean;
|
|
795
864
|
variant?: "default" | "destructive";
|
|
796
|
-
}):
|
|
865
|
+
}): react0.ReactElement;
|
|
797
866
|
declare function MenuCheckboxItem({
|
|
798
867
|
className,
|
|
799
868
|
children,
|
|
800
869
|
checked,
|
|
801
870
|
variant,
|
|
802
871
|
...props
|
|
803
|
-
}:
|
|
872
|
+
}: MenuPrimitive.CheckboxItem.Props & {
|
|
804
873
|
variant?: "default" | "switch";
|
|
805
|
-
}):
|
|
806
|
-
declare function MenuRadioGroup(props:
|
|
874
|
+
}): react0.ReactElement;
|
|
875
|
+
declare function MenuRadioGroup(props: MenuPrimitive.RadioGroup.Props): react0.ReactElement;
|
|
807
876
|
declare function MenuRadioItem({
|
|
808
877
|
className,
|
|
809
878
|
children,
|
|
810
879
|
...props
|
|
811
|
-
}:
|
|
880
|
+
}: MenuPrimitive.RadioItem.Props): react0.ReactElement;
|
|
812
881
|
declare function MenuGroupLabel({
|
|
813
882
|
className,
|
|
814
883
|
inset,
|
|
815
884
|
...props
|
|
816
|
-
}:
|
|
885
|
+
}: MenuPrimitive.GroupLabel.Props & {
|
|
817
886
|
inset?: boolean;
|
|
818
|
-
}):
|
|
887
|
+
}): react0.ReactElement;
|
|
819
888
|
declare function MenuSeparator({
|
|
820
889
|
className,
|
|
821
890
|
...props
|
|
822
|
-
}:
|
|
823
|
-
declare function
|
|
824
|
-
className,
|
|
825
|
-
...props
|
|
826
|
-
}: react0.ComponentProps<"kbd">): react_jsx_runtime18.JSX.Element;
|
|
827
|
-
declare function MenuSub(props: Menu$1.SubmenuRoot.Props): react_jsx_runtime18.JSX.Element;
|
|
891
|
+
}: MenuPrimitive.Separator.Props): react0.ReactElement;
|
|
892
|
+
declare function MenuSub(props: MenuPrimitive.SubmenuRoot.Props): react0.ReactElement;
|
|
828
893
|
declare function MenuSubTrigger({
|
|
829
894
|
className,
|
|
830
895
|
inset,
|
|
831
896
|
children,
|
|
832
897
|
...props
|
|
833
|
-
}:
|
|
898
|
+
}: MenuPrimitive.SubmenuTrigger.Props & {
|
|
834
899
|
inset?: boolean;
|
|
835
|
-
}):
|
|
900
|
+
}): react0.ReactElement;
|
|
836
901
|
declare function MenuSubPopup({
|
|
837
902
|
className,
|
|
838
903
|
sideOffset,
|
|
839
904
|
alignOffset,
|
|
840
905
|
align,
|
|
841
906
|
...props
|
|
842
|
-
}:
|
|
843
|
-
align?:
|
|
844
|
-
sideOffset?:
|
|
845
|
-
alignOffset?:
|
|
846
|
-
}):
|
|
907
|
+
}: MenuPrimitive.Popup.Props & {
|
|
908
|
+
align?: MenuPrimitive.Positioner.Props["align"];
|
|
909
|
+
sideOffset?: MenuPrimitive.Positioner.Props["sideOffset"];
|
|
910
|
+
alignOffset?: MenuPrimitive.Positioner.Props["alignOffset"];
|
|
911
|
+
}): react0.ReactElement;
|
|
847
912
|
//#endregion
|
|
848
913
|
//#region src/components/ui/pagination.d.ts
|
|
849
914
|
declare function Pagination({
|
|
850
915
|
className,
|
|
851
916
|
...props
|
|
852
|
-
}: react0.ComponentProps<"nav">):
|
|
917
|
+
}: react0.ComponentProps<"nav">): react_jsx_runtime63.JSX.Element;
|
|
853
918
|
declare function PaginationContent({
|
|
854
919
|
className,
|
|
855
920
|
...props
|
|
856
|
-
}: react0.ComponentProps<"ul">):
|
|
921
|
+
}: react0.ComponentProps<"ul">): react_jsx_runtime63.JSX.Element;
|
|
857
922
|
declare function PaginationItem({
|
|
858
923
|
...props
|
|
859
|
-
}: react0.ComponentProps<"li">):
|
|
924
|
+
}: react0.ComponentProps<"li">): react_jsx_runtime63.JSX.Element;
|
|
860
925
|
type PaginationLinkProps = {
|
|
861
926
|
isActive?: boolean;
|
|
862
927
|
size?: react0.ComponentProps<typeof Button>["size"];
|
|
@@ -871,20 +936,20 @@ declare function PaginationLink({
|
|
|
871
936
|
declare function PaginationPrevious({
|
|
872
937
|
className,
|
|
873
938
|
...props
|
|
874
|
-
}: react0.ComponentProps<typeof PaginationLink>):
|
|
939
|
+
}: react0.ComponentProps<typeof PaginationLink>): react_jsx_runtime63.JSX.Element;
|
|
875
940
|
declare function PaginationNext({
|
|
876
941
|
className,
|
|
877
942
|
...props
|
|
878
|
-
}: react0.ComponentProps<typeof PaginationLink>):
|
|
943
|
+
}: react0.ComponentProps<typeof PaginationLink>): react_jsx_runtime63.JSX.Element;
|
|
879
944
|
declare function PaginationEllipsis({
|
|
880
945
|
className,
|
|
881
946
|
...props
|
|
882
|
-
}: react0.ComponentProps<"span">):
|
|
947
|
+
}: react0.ComponentProps<"span">): react_jsx_runtime63.JSX.Element;
|
|
883
948
|
//#endregion
|
|
884
949
|
//#region src/components/ui/popover.d.ts
|
|
885
950
|
declare const PopoverCreateHandle: typeof Popover$1.createHandle;
|
|
886
951
|
declare const Popover: typeof Popover$1.Root;
|
|
887
|
-
declare function PopoverTrigger(props: Popover$1.Trigger.Props):
|
|
952
|
+
declare function PopoverTrigger(props: Popover$1.Trigger.Props): react_jsx_runtime63.JSX.Element;
|
|
888
953
|
declare function PopoverPopup({
|
|
889
954
|
children,
|
|
890
955
|
className,
|
|
@@ -900,18 +965,18 @@ declare function PopoverPopup({
|
|
|
900
965
|
sideOffset?: Popover$1.Positioner.Props["sideOffset"];
|
|
901
966
|
alignOffset?: Popover$1.Positioner.Props["alignOffset"];
|
|
902
967
|
tooltipStyle?: boolean;
|
|
903
|
-
}):
|
|
968
|
+
}): react_jsx_runtime63.JSX.Element;
|
|
904
969
|
declare function PopoverClose({
|
|
905
970
|
...props
|
|
906
|
-
}: Popover$1.Close.Props):
|
|
971
|
+
}: Popover$1.Close.Props): react_jsx_runtime63.JSX.Element;
|
|
907
972
|
declare function PopoverTitle({
|
|
908
973
|
className,
|
|
909
974
|
...props
|
|
910
|
-
}: Popover$1.Title.Props):
|
|
975
|
+
}: Popover$1.Title.Props): react_jsx_runtime63.JSX.Element;
|
|
911
976
|
declare function PopoverDescription({
|
|
912
977
|
className,
|
|
913
978
|
...props
|
|
914
|
-
}: Popover$1.Description.Props):
|
|
979
|
+
}: Popover$1.Description.Props): react_jsx_runtime63.JSX.Element;
|
|
915
980
|
//#endregion
|
|
916
981
|
//#region src/components/ui/scroll-area.d.ts
|
|
917
982
|
declare function ScrollArea({
|
|
@@ -920,15 +985,15 @@ declare function ScrollArea({
|
|
|
920
985
|
scrollFade,
|
|
921
986
|
scrollbarGutter,
|
|
922
987
|
...props
|
|
923
|
-
}:
|
|
988
|
+
}: ScrollAreaPrimitive.Root.Props & {
|
|
924
989
|
scrollFade?: boolean;
|
|
925
990
|
scrollbarGutter?: boolean;
|
|
926
|
-
}):
|
|
991
|
+
}): React$1.ReactElement;
|
|
927
992
|
declare function ScrollBar({
|
|
928
993
|
className,
|
|
929
994
|
orientation,
|
|
930
995
|
...props
|
|
931
|
-
}:
|
|
996
|
+
}: ScrollAreaPrimitive.Scrollbar.Props): React$1.ReactElement;
|
|
932
997
|
//#endregion
|
|
933
998
|
//#region src/components/ui/select.d.ts
|
|
934
999
|
declare const Select: typeof Select$1.Root;
|
|
@@ -940,11 +1005,11 @@ declare function SelectTrigger({
|
|
|
940
1005
|
size,
|
|
941
1006
|
children,
|
|
942
1007
|
...props
|
|
943
|
-
}: Select$1.Trigger.Props & VariantProps<typeof selectTriggerVariants>):
|
|
1008
|
+
}: Select$1.Trigger.Props & VariantProps<typeof selectTriggerVariants>): react_jsx_runtime63.JSX.Element;
|
|
944
1009
|
declare function SelectValue({
|
|
945
1010
|
className,
|
|
946
1011
|
...props
|
|
947
|
-
}: Select$1.Value.Props):
|
|
1012
|
+
}: Select$1.Value.Props): react_jsx_runtime63.JSX.Element;
|
|
948
1013
|
declare function SelectPopup({
|
|
949
1014
|
className,
|
|
950
1015
|
children,
|
|
@@ -962,88 +1027,88 @@ declare function SelectPopup({
|
|
|
962
1027
|
alignOffset?: Select$1.Positioner.Props["alignOffset"];
|
|
963
1028
|
alignItemWithTrigger?: Select$1.Positioner.Props["alignItemWithTrigger"];
|
|
964
1029
|
anchor?: Select$1.Positioner.Props["anchor"];
|
|
965
|
-
}):
|
|
1030
|
+
}): react_jsx_runtime63.JSX.Element;
|
|
966
1031
|
declare function SelectItem({
|
|
967
1032
|
className,
|
|
968
1033
|
children,
|
|
969
1034
|
...props
|
|
970
|
-
}: Select$1.Item.Props):
|
|
1035
|
+
}: Select$1.Item.Props): react_jsx_runtime63.JSX.Element;
|
|
971
1036
|
declare function SelectSeparator({
|
|
972
1037
|
className,
|
|
973
1038
|
...props
|
|
974
|
-
}: Select$1.Separator.Props):
|
|
975
|
-
declare function SelectGroup(props: Select$1.Group.Props):
|
|
976
|
-
declare function SelectGroupLabel(props: Select$1.GroupLabel.Props):
|
|
1039
|
+
}: Select$1.Separator.Props): react_jsx_runtime63.JSX.Element;
|
|
1040
|
+
declare function SelectGroup(props: Select$1.Group.Props): react_jsx_runtime63.JSX.Element;
|
|
1041
|
+
declare function SelectGroupLabel(props: Select$1.GroupLabel.Props): react_jsx_runtime63.JSX.Element;
|
|
977
1042
|
//#endregion
|
|
978
1043
|
//#region src/components/ui/separator.d.ts
|
|
979
1044
|
declare function Separator({
|
|
980
1045
|
className,
|
|
981
1046
|
orientation,
|
|
982
1047
|
...props
|
|
983
|
-
}: Separator$1.Props):
|
|
1048
|
+
}: Separator$1.Props): react_jsx_runtime63.JSX.Element;
|
|
984
1049
|
//#endregion
|
|
985
1050
|
//#region src/components/ui/switch.d.ts
|
|
986
1051
|
declare function Switch({
|
|
987
1052
|
className,
|
|
988
1053
|
...props
|
|
989
|
-
}: Switch$1.Root.Props):
|
|
1054
|
+
}: Switch$1.Root.Props): react_jsx_runtime63.JSX.Element;
|
|
990
1055
|
//#endregion
|
|
991
1056
|
//#region src/components/ui/table.d.ts
|
|
992
1057
|
declare function Table({
|
|
993
1058
|
className,
|
|
994
1059
|
...props
|
|
995
|
-
}: react0.ComponentProps<"table">):
|
|
1060
|
+
}: react0.ComponentProps<"table">): react_jsx_runtime63.JSX.Element;
|
|
996
1061
|
declare function TableHeader({
|
|
997
1062
|
className,
|
|
998
1063
|
...props
|
|
999
|
-
}: react0.ComponentProps<"thead">):
|
|
1064
|
+
}: react0.ComponentProps<"thead">): react_jsx_runtime63.JSX.Element;
|
|
1000
1065
|
declare function TableBody({
|
|
1001
1066
|
className,
|
|
1002
1067
|
...props
|
|
1003
|
-
}: react0.ComponentProps<"tbody">):
|
|
1068
|
+
}: react0.ComponentProps<"tbody">): react_jsx_runtime63.JSX.Element;
|
|
1004
1069
|
declare function TableFooter({
|
|
1005
1070
|
className,
|
|
1006
1071
|
...props
|
|
1007
|
-
}: react0.ComponentProps<"tfoot">):
|
|
1072
|
+
}: react0.ComponentProps<"tfoot">): react_jsx_runtime63.JSX.Element;
|
|
1008
1073
|
declare function TableRow({
|
|
1009
1074
|
className,
|
|
1010
1075
|
...props
|
|
1011
|
-
}: react0.ComponentProps<"tr">):
|
|
1076
|
+
}: react0.ComponentProps<"tr">): react_jsx_runtime63.JSX.Element;
|
|
1012
1077
|
declare function TableHead({
|
|
1013
1078
|
className,
|
|
1014
1079
|
...props
|
|
1015
|
-
}: react0.ComponentProps<"th">):
|
|
1080
|
+
}: react0.ComponentProps<"th">): react_jsx_runtime63.JSX.Element;
|
|
1016
1081
|
declare function TableCell({
|
|
1017
1082
|
className,
|
|
1018
1083
|
...props
|
|
1019
|
-
}: react0.ComponentProps<"td">):
|
|
1084
|
+
}: react0.ComponentProps<"td">): react_jsx_runtime63.JSX.Element;
|
|
1020
1085
|
declare function TableCaption({
|
|
1021
1086
|
className,
|
|
1022
1087
|
...props
|
|
1023
|
-
}: react0.ComponentProps<"caption">):
|
|
1088
|
+
}: react0.ComponentProps<"caption">): react_jsx_runtime63.JSX.Element;
|
|
1024
1089
|
//#endregion
|
|
1025
1090
|
//#region src/components/ui/tabs.d.ts
|
|
1026
1091
|
type TabsVariant = "default" | "underline";
|
|
1027
1092
|
declare function Tabs({
|
|
1028
1093
|
className,
|
|
1029
1094
|
...props
|
|
1030
|
-
}:
|
|
1095
|
+
}: TabsPrimitive.Root.Props): React$1.ReactElement;
|
|
1031
1096
|
declare function TabsList({
|
|
1032
1097
|
variant,
|
|
1033
1098
|
className,
|
|
1034
1099
|
children,
|
|
1035
1100
|
...props
|
|
1036
|
-
}:
|
|
1101
|
+
}: TabsPrimitive.List.Props & {
|
|
1037
1102
|
variant?: TabsVariant;
|
|
1038
|
-
}):
|
|
1103
|
+
}): React$1.ReactElement;
|
|
1039
1104
|
declare function TabsTab({
|
|
1040
1105
|
className,
|
|
1041
1106
|
...props
|
|
1042
|
-
}:
|
|
1107
|
+
}: TabsPrimitive.Tab.Props): React$1.ReactElement;
|
|
1043
1108
|
declare function TabsPanel({
|
|
1044
1109
|
className,
|
|
1045
1110
|
...props
|
|
1046
|
-
}:
|
|
1111
|
+
}: TabsPrimitive.Panel.Props): React$1.ReactElement;
|
|
1047
1112
|
//#endregion
|
|
1048
1113
|
//#region src/components/ui/toast.d.ts
|
|
1049
1114
|
declare const toastManager: _base_ui_react0.ToastManager;
|
|
@@ -1056,87 +1121,32 @@ declare function ToastProvider({
|
|
|
1056
1121
|
children,
|
|
1057
1122
|
position,
|
|
1058
1123
|
...props
|
|
1059
|
-
}: ToastProviderProps):
|
|
1124
|
+
}: ToastProviderProps): react_jsx_runtime63.JSX.Element;
|
|
1060
1125
|
declare function AnchoredToastProvider({
|
|
1061
1126
|
children,
|
|
1062
1127
|
...props
|
|
1063
|
-
}: Toast.Provider.Props):
|
|
1128
|
+
}: Toast.Provider.Props): react_jsx_runtime63.JSX.Element;
|
|
1064
1129
|
//#endregion
|
|
1065
1130
|
//#region src/components/ui/tooltip.d.ts
|
|
1066
|
-
declare const
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
fade: string[];
|
|
1070
|
-
slideOutside: string[];
|
|
1071
|
-
slideInside: string[];
|
|
1072
|
-
wipe: string[];
|
|
1073
|
-
wipeScale: string[];
|
|
1074
|
-
motion: string[];
|
|
1075
|
-
motionBlur: string[];
|
|
1076
|
-
};
|
|
1077
|
-
declare const cssTransitionPresets: {
|
|
1078
|
-
inExpo: string;
|
|
1079
|
-
outExpo: string;
|
|
1080
|
-
inOutExpo: string;
|
|
1081
|
-
anticipate: string;
|
|
1082
|
-
quickOut: string;
|
|
1083
|
-
overshootOut: string;
|
|
1084
|
-
swiftOut: string;
|
|
1085
|
-
snappyOut: string;
|
|
1086
|
-
in: string;
|
|
1087
|
-
out: string;
|
|
1088
|
-
inOut: string;
|
|
1089
|
-
outIn: string;
|
|
1090
|
-
inQuad: string;
|
|
1091
|
-
outQuad: string;
|
|
1092
|
-
inOutQuad: string;
|
|
1093
|
-
inCubic: string;
|
|
1094
|
-
outCubic: string;
|
|
1095
|
-
inOutCubic: string;
|
|
1096
|
-
inQuart: string;
|
|
1097
|
-
outQuart: string;
|
|
1098
|
-
inOutQuart: string;
|
|
1099
|
-
inQuint: string;
|
|
1100
|
-
outQuint: string;
|
|
1101
|
-
inOutQuint: string;
|
|
1102
|
-
inCirc: string;
|
|
1103
|
-
outCirc: string;
|
|
1104
|
-
inOutCirc: string;
|
|
1105
|
-
inOutBase: string;
|
|
1106
|
-
none: string;
|
|
1107
|
-
};
|
|
1108
|
-
type CSSAnimationPresets = keyof typeof cssAnimationPresets;
|
|
1109
|
-
type CSSTransitionPresets = keyof typeof cssTransitionPresets;
|
|
1110
|
-
interface TooltipProviderProps extends Tooltip$1.Provider.Props {}
|
|
1111
|
-
declare function TooltipProvider({
|
|
1112
|
-
delay,
|
|
1113
|
-
...props
|
|
1114
|
-
}: TooltipProviderProps): react_jsx_runtime18.JSX.Element;
|
|
1115
|
-
interface TooltipProps extends Tooltip$1.Root.Props {}
|
|
1116
|
-
declare function Tooltip({
|
|
1117
|
-
...props
|
|
1118
|
-
}: TooltipProps): react_jsx_runtime18.JSX.Element;
|
|
1119
|
-
interface TooltipTriggerProps extends Tooltip$1.Trigger.Props {}
|
|
1120
|
-
declare function TooltipTrigger(props: TooltipTriggerProps): react_jsx_runtime18.JSX.Element;
|
|
1121
|
-
interface TooltipPositionerProps extends Tooltip$1.Positioner.Props {}
|
|
1122
|
-
interface TooltipPopupProps extends Tooltip$1.Popup.Props, Pick<TooltipPositionerProps, "side" | "sideOffset" | "align" | "alignOffset"> {
|
|
1123
|
-
animationPreset?: CSSAnimationPresets;
|
|
1124
|
-
transitionPreset?: CSSTransitionPresets;
|
|
1125
|
-
reduceMotion?: boolean;
|
|
1126
|
-
showArrow?: boolean;
|
|
1127
|
-
}
|
|
1131
|
+
declare const TooltipProvider: typeof TooltipPrimitive.Provider;
|
|
1132
|
+
declare const Tooltip: typeof TooltipPrimitive.Root;
|
|
1133
|
+
declare function TooltipTrigger(props: TooltipPrimitive.Trigger.Props): React$1.ReactElement;
|
|
1128
1134
|
declare function TooltipPopup({
|
|
1129
1135
|
className,
|
|
1130
|
-
animationPreset,
|
|
1131
|
-
transitionPreset,
|
|
1132
|
-
reduceMotion,
|
|
1133
|
-
showArrow,
|
|
1134
|
-
side,
|
|
1135
|
-
sideOffset,
|
|
1136
1136
|
align,
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1137
|
+
sideOffset,
|
|
1138
|
+
side,
|
|
1139
|
+
anchor,
|
|
1140
|
+
children,
|
|
1141
|
+
portalProps,
|
|
1142
|
+
...props
|
|
1143
|
+
}: TooltipPrimitive.Popup.Props & {
|
|
1144
|
+
align?: TooltipPrimitive.Positioner.Props["align"];
|
|
1145
|
+
side?: TooltipPrimitive.Positioner.Props["side"];
|
|
1146
|
+
sideOffset?: TooltipPrimitive.Positioner.Props["sideOffset"];
|
|
1147
|
+
anchor?: TooltipPrimitive.Positioner.Props["anchor"];
|
|
1148
|
+
portalProps?: TooltipPrimitive.Portal.Props;
|
|
1149
|
+
}): React$1.ReactElement;
|
|
1140
1150
|
//#endregion
|
|
1141
1151
|
//#region src/blocks/Template/index.d.ts
|
|
1142
1152
|
type TemplateProps = {
|
|
@@ -1314,7 +1324,7 @@ declare const sizeDefaultProps: SizeTraitProps;
|
|
|
1314
1324
|
//#endregion
|
|
1315
1325
|
//#region src/utils/spacing.d.ts
|
|
1316
1326
|
type SpacingTraitProps = MarginTraitProps & PaddingTraitProps;
|
|
1317
|
-
declare const
|
|
1327
|
+
declare const spacingField: {
|
|
1318
1328
|
[x: string]: _puckeditor_core0.Field<any, {}>;
|
|
1319
1329
|
[x: number]: _puckeditor_core0.Field<any, {}>;
|
|
1320
1330
|
};
|
|
@@ -1370,7 +1380,7 @@ declare const textTransformDefaultProps: TextTransformTraitProps;
|
|
|
1370
1380
|
//#endregion
|
|
1371
1381
|
//#region src/utils/typography.d.ts
|
|
1372
1382
|
type TypographyTraitProps = TextAlignTraitProps & TextTransformTraitProps & TextDecorationTraitProps & TextSizeTraitProps & TextColorTraitProps & LineHeightTraitProps & FontWeightTraitProps;
|
|
1373
|
-
declare const
|
|
1383
|
+
declare const typographyField: {
|
|
1374
1384
|
[x: string]: _puckeditor_core0.Field<any, {}>;
|
|
1375
1385
|
[x: number]: _puckeditor_core0.Field<any, {}>;
|
|
1376
1386
|
};
|
|
@@ -1378,6 +1388,15 @@ declare const typographyDefaultProps: TypographyTraitProps;
|
|
|
1378
1388
|
declare function typographyToClasses(props: Partial<TypographyTraitProps>): string;
|
|
1379
1389
|
declare const typographyFieldNames: readonly ["textAlign", "textTransform", "textDecoration", "textSize", "textColor", "lineHeight", "fontWeight"];
|
|
1380
1390
|
//#endregion
|
|
1391
|
+
//#region src/utils/csrf.d.ts
|
|
1392
|
+
/**
|
|
1393
|
+
* Récupère le jeton CSRF à partir d'une balise meta dans le DOM.
|
|
1394
|
+
* Standard Laravel : <meta name="csrf-token" content="...">
|
|
1395
|
+
*
|
|
1396
|
+
* @returns Le jeton CSRF sous forme de chaîne, ou null s'il n'est pas trouvé ou si l'exécution n'est pas côté client.
|
|
1397
|
+
*/
|
|
1398
|
+
declare function getCsrfToken(): string | null;
|
|
1399
|
+
//#endregion
|
|
1381
1400
|
//#region src/hooks/useOptimizedImage.d.ts
|
|
1382
1401
|
type OptimizedImageAttrs = {
|
|
1383
1402
|
srcset?: string;
|
|
@@ -1389,5 +1408,21 @@ type OptimizedImageAttrs = {
|
|
|
1389
1408
|
*/
|
|
1390
1409
|
declare function useOptimizedImage(src: string | undefined): OptimizedImageAttrs | null;
|
|
1391
1410
|
//#endregion
|
|
1392
|
-
|
|
1411
|
+
//#region src/plugins/redactor-assistant/index.d.ts
|
|
1412
|
+
declare function createRedactorPlugin(): {
|
|
1413
|
+
name: string;
|
|
1414
|
+
overrides: {
|
|
1415
|
+
fieldTypes: {
|
|
1416
|
+
richtext: ({
|
|
1417
|
+
children,
|
|
1418
|
+
onChange,
|
|
1419
|
+
value,
|
|
1420
|
+
field,
|
|
1421
|
+
label
|
|
1422
|
+
}: any) => react_jsx_runtime63.JSX.Element;
|
|
1423
|
+
};
|
|
1424
|
+
};
|
|
1425
|
+
};
|
|
1426
|
+
//#endregion
|
|
1427
|
+
export { Accordion, AccordionItem, AccordionPanel, AccordionTrigger, ActionBar, AnchoredToastProvider, AnimationTraitProps, Badge, Button, Checkbox, type CheckboxLayout, ColorPicker, ColorPickerContent, type ColorPickerContentProps, type ColorPickerProps, type CreateTemplateBlockOptions, CustomClassesTraitProps, Dialog, DialogDescription, DialogFooter, DialogHeader, DialogPanel, DialogPopup, DialogTitle, DialogTrigger, DisplayTraitProps, DrawerItem, FieldCheckbox, FieldGroups, FieldInput, FieldNumberUnit, FieldRadio, FieldSelect, FieldSwitch, 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, type MediaReference, Menu, MenuCheckboxItem, MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, MenuRadioGroup, MenuRadioItem, MenuSeparator, 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, type SwitchLayout, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsList, TabsPanel, TabsTab, type TabsVariant, type TemplateProps, TextAlignTraitProps, TextColorTraitProps, TextDecorationTraitProps, TextSizeTraitProps, TextTransformTraitProps, Textarea, type TextareaProps, type ToastPosition, ToastProvider, Tooltip, TooltipPopup, TooltipProvider, TooltipTrigger, TypographyTraitProps, type UnsplashPhoto, anchoredToastManager, animationDefaultProps, animationField, animationToAttributes, badgeVariants, buttonVariants, createPuckOverridesPlugin, createRedactorPlugin, createTemplateBlock, customClassesDefaultProps, customClassesField, customClassesToClasses, displayDefaultProps, displayField, displayToClasses, fontWeightDefaultProps, fontWeightField, fontWeightToClasses, getCsrfToken, lineHeightDefaultProps, lineHeightField, lineHeightToClasses, marginDefaultProps, marginField, marginToClasses, paddingDefaultProps, paddingField, paddingToClasses, pageField, positionDefaultProps, positionField, positionToClasses, richTextMenuColorPickerExtension, sizeDefaultProps, sizeField, sizeToClasses, spacingDefaultProps, spacingField, spacingFieldNames, spacingOptions, spacingToClasses, textAlignDefaultProps, textAlignField, textAlignToClasses, textColorDefaultProps, textColorField, textColorToClasses, textDecorationDefaultProps, textDecorationField, textDecorationToClasses, textSizeDefaultProps, textSizeField, textSizeToClasses, textTransformDefaultProps, textTransformField, textTransformToClasses, toastManager, typographyDefaultProps, typographyField, typographyFieldNames, typographyToClasses, useMediaUrl, useOptimizedImage, usePageUrl };
|
|
1393
1428
|
//# sourceMappingURL=index.d.ts.map
|