@ckc-net/puck-extended 0.2.0 → 0.2.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react0 from "react";
2
- import React$1 from "react";
3
- import * as react_jsx_runtime27 from "react/jsx-runtime";
2
+ import React$1, { ComponentProps } from "react";
3
+ import * as react_jsx_runtime18 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";
@@ -11,14 +11,19 @@ import { Field, FieldProps, Fields } from "@puckeditor/core";
11
11
  import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
12
12
  import { Accordion as Accordion$1 } from "@base-ui/react/accordion";
13
13
  import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
14
+ import * as _tiptap_extension_link0 from "@tiptap/extension-link";
14
15
  import { useRender } from "@base-ui/react/use-render";
15
16
  import { VariantProps } from "class-variance-authority";
17
+ import { Popover as Popover$1 } from "@base-ui/react/popover";
16
18
  import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
17
19
  import { Menu as Menu$1 } from "@base-ui/react/menu";
18
20
  import { Separator as Separator$1 } from "@base-ui/react/separator";
21
+ import { Switch as Switch$1 } from "@base-ui/react/switch";
19
22
  import { Toast } from "@base-ui/react/toast";
23
+ import * as _tiptap_core0 from "@tiptap/core";
24
+ import { Editor } from "@tiptap/react";
20
25
  import * as class_variance_authority_types0 from "class-variance-authority/types";
21
- import * as _base_ui_react0 from "@base-ui/react";
26
+ import * as _base_ui_react1 from "@base-ui/react";
22
27
 
23
28
  //#region src/components/Fields/NumberUnit/index.d.ts
24
29
  type NumberUnitValue = {
@@ -37,7 +42,7 @@ declare const FieldNumberUnit: ({
37
42
  label: string;
38
43
  field: any;
39
44
  readOnly?: boolean;
40
- }) => react_jsx_runtime27.JSX.Element;
45
+ }) => react_jsx_runtime18.JSX.Element;
41
46
  //#endregion
42
47
  //#region src/overrides/plugin.d.ts
43
48
  declare const createPuckOverridesPlugin: () => {
@@ -51,7 +56,7 @@ declare const createPuckOverridesPlugin: () => {
51
56
  label?: string;
52
57
  parentAction?: react0.ReactNode;
53
58
  children?: react0.ReactNode;
54
- }): react_jsx_runtime27.JSX.Element;
59
+ }): react_jsx_runtime18.JSX.Element;
55
60
  Action: ({
56
61
  children,
57
62
  label,
@@ -60,31 +65,31 @@ declare const createPuckOverridesPlugin: () => {
60
65
  children: react0.ReactNode;
61
66
  label?: string;
62
67
  onClick: (e: react0.SyntheticEvent) => void;
63
- }) => react_jsx_runtime27.JSX.Element;
68
+ }) => react_jsx_runtime18.JSX.Element;
64
69
  Label: ({
65
70
  label
66
71
  }: {
67
72
  label: string;
68
- }) => react_jsx_runtime27.JSX.Element;
73
+ }) => react_jsx_runtime18.JSX.Element;
69
74
  Group: ({
70
75
  children
71
76
  }: {
72
77
  children: react0.ReactNode;
73
- }) => react_jsx_runtime27.JSX.Element;
74
- Separator: () => react_jsx_runtime27.JSX.Element;
78
+ }) => react_jsx_runtime18.JSX.Element;
79
+ Separator: () => react_jsx_runtime18.JSX.Element;
75
80
  };
76
81
  drawer: ({
77
82
  children
78
83
  }: {
79
84
  children: React.ReactNode;
80
- }) => react_jsx_runtime27.JSX.Element;
85
+ }) => react_jsx_runtime18.JSX.Element;
81
86
  drawerItem: ({
82
87
  name,
83
88
  icon
84
89
  }: {
85
90
  name: string;
86
91
  icon?: React.ReactNode;
87
- }) => react_jsx_runtime27.JSX.Element;
92
+ }) => react_jsx_runtime18.JSX.Element;
88
93
  fields: ({
89
94
  children
90
95
  }: {
@@ -94,14 +99,14 @@ declare const createPuckOverridesPlugin: () => {
94
99
  path?: string;
95
100
  index?: number;
96
101
  } | null;
97
- }) => react_jsx_runtime27.JSX.Element;
102
+ }) => react_jsx_runtime18.JSX.Element;
98
103
  fieldLabel: ({
99
104
  children,
100
105
  label
101
106
  }: {
102
107
  children: React.ReactNode;
103
108
  label: string;
104
- }) => react_jsx_runtime27.JSX.Element;
109
+ }) => react_jsx_runtime18.JSX.Element;
105
110
  fieldTypes: {
106
111
  checkbox: ({
107
112
  onChange,
@@ -120,7 +125,7 @@ declare const createPuckOverridesPlugin: () => {
120
125
  };
121
126
  }) & {
122
127
  label: string;
123
- }) => react_jsx_runtime27.JSX.Element | null;
128
+ }) => react_jsx_runtime18.JSX.Element | null;
124
129
  numberUnit: ({
125
130
  onChange,
126
131
  value,
@@ -133,7 +138,7 @@ declare const createPuckOverridesPlugin: () => {
133
138
  label: string;
134
139
  field: any;
135
140
  readOnly?: boolean;
136
- }) => react_jsx_runtime27.JSX.Element;
141
+ }) => react_jsx_runtime18.JSX.Element;
137
142
  radio: ({
138
143
  onChange,
139
144
  value,
@@ -151,7 +156,7 @@ declare const createPuckOverridesPlugin: () => {
151
156
  };
152
157
  }) & {
153
158
  label: string;
154
- }) => react_jsx_runtime27.JSX.Element | null;
159
+ }) => react_jsx_runtime18.JSX.Element | null;
155
160
  select: ({
156
161
  onChange,
157
162
  value,
@@ -164,7 +169,7 @@ declare const createPuckOverridesPlugin: () => {
164
169
  label: string;
165
170
  field: any;
166
171
  readOnly?: boolean;
167
- }) => react_jsx_runtime27.JSX.Element;
172
+ }) => react_jsx_runtime18.JSX.Element;
168
173
  text: ({
169
174
  onChange,
170
175
  value,
@@ -177,7 +182,7 @@ declare const createPuckOverridesPlugin: () => {
177
182
  label?: string;
178
183
  field: any;
179
184
  readOnly?: boolean;
180
- }) => react_jsx_runtime27.JSX.Element;
185
+ }) => react_jsx_runtime18.JSX.Element;
181
186
  textarea: ({
182
187
  onChange,
183
188
  value,
@@ -190,7 +195,7 @@ declare const createPuckOverridesPlugin: () => {
190
195
  label: string;
191
196
  field: any;
192
197
  readOnly?: boolean;
193
- }) => react_jsx_runtime27.JSX.Element;
198
+ }) => react_jsx_runtime18.JSX.Element;
194
199
  };
195
200
  };
196
201
  };
@@ -202,7 +207,7 @@ declare const Label: ({
202
207
  }: {
203
208
  label?: string;
204
209
  readOnly?: boolean;
205
- }) => react_jsx_runtime27.JSX.Element;
210
+ }) => react_jsx_runtime18.JSX.Element;
206
211
  //#endregion
207
212
  //#region src/components/Fields/Input/index.d.ts
208
213
  declare const FieldInput: ({
@@ -217,7 +222,7 @@ declare const FieldInput: ({
217
222
  label?: string;
218
223
  field: any;
219
224
  readOnly?: boolean;
220
- }) => react_jsx_runtime27.JSX.Element;
225
+ }) => react_jsx_runtime18.JSX.Element;
221
226
  //#endregion
222
227
  //#region src/components/Fields/Textarea/index.d.ts
223
228
  declare const FieldTextarea: ({
@@ -232,7 +237,7 @@ declare const FieldTextarea: ({
232
237
  label: string;
233
238
  field: any;
234
239
  readOnly?: boolean;
235
- }) => react_jsx_runtime27.JSX.Element;
240
+ }) => react_jsx_runtime18.JSX.Element;
236
241
  //#endregion
237
242
  //#region src/components/Fields/Select/index.d.ts
238
243
  declare const FieldSelect: ({
@@ -247,7 +252,7 @@ declare const FieldSelect: ({
247
252
  label: string;
248
253
  field: any;
249
254
  readOnly?: boolean;
250
- }) => react_jsx_runtime27.JSX.Element;
255
+ }) => react_jsx_runtime18.JSX.Element;
251
256
  //#endregion
252
257
  //#region src/components/ui/radio.d.ts
253
258
  type RadioLayout = "horizontal" | "inline";
@@ -261,12 +266,12 @@ declare function RadioGroup({
261
266
  className,
262
267
  layout,
263
268
  ...props
264
- }: RadioGroupProps): react_jsx_runtime27.JSX.Element;
269
+ }: RadioGroupProps): react_jsx_runtime18.JSX.Element;
265
270
  declare function RadioGroupItem({
266
271
  className,
267
272
  layout,
268
273
  ...props
269
- }: RadioGroupItemProps): react_jsx_runtime27.JSX.Element;
274
+ }: RadioGroupItemProps): react_jsx_runtime18.JSX.Element;
270
275
  //#endregion
271
276
  //#region src/components/Fields/Radio/index.d.ts
272
277
  type RadioProps = FieldProps<Field<any>> & {
@@ -287,7 +292,7 @@ declare const FieldRadio: ({
287
292
  label
288
293
  }: RadioProps & {
289
294
  label: string;
290
- }) => react_jsx_runtime27.JSX.Element | null;
295
+ }) => react_jsx_runtime18.JSX.Element | null;
291
296
  //#endregion
292
297
  //#region src/components/ui/checkbox.d.ts
293
298
  type CheckboxLayout = "horizontal" | "inline";
@@ -298,7 +303,7 @@ declare function Checkbox({
298
303
  className,
299
304
  layout,
300
305
  ...props
301
- }: CheckboxProps$1): react_jsx_runtime27.JSX.Element;
306
+ }: CheckboxProps$1): react_jsx_runtime18.JSX.Element;
302
307
  //#endregion
303
308
  //#region src/components/Fields/Checkbox/index.d.ts
304
309
  type CheckboxProps = FieldProps<Field<any>> & {
@@ -319,7 +324,34 @@ declare const FieldCheckbox: ({
319
324
  label
320
325
  }: CheckboxProps & {
321
326
  label: string;
322
- }) => react_jsx_runtime27.JSX.Element | null;
327
+ }) => react_jsx_runtime18.JSX.Element | null;
328
+ //#endregion
329
+ //#region src/components/RichTextMenuLink/index.d.ts
330
+ type RichTextMenuLinkProps = {
331
+ editor: Editor | null;
332
+ editorState?: {
333
+ isLink?: boolean;
334
+ canLink?: boolean;
335
+ };
336
+ };
337
+ declare const richTextMenuLinkSelector: ({
338
+ editor
339
+ }: {
340
+ editor: Editor | null;
341
+ }) => {
342
+ isLink: boolean;
343
+ canLink: boolean;
344
+ };
345
+ /**
346
+ * Pre-configured tiptap Link extension ready to use in Puck's richtext field.
347
+ * Add this to `tiptap.extensions` in your field config.
348
+ */
349
+ declare const richTextMenuLinkExtension: _tiptap_core0.Mark<_tiptap_extension_link0.LinkOptions, any>;
350
+ declare function RichTextMenuLink({
351
+ editor,
352
+ editorState,
353
+ ...props
354
+ }: RichTextMenuLinkProps & Omit<ComponentProps<"div">, keyof RichTextMenuLinkProps>): react_jsx_runtime18.JSX.Element;
323
355
  //#endregion
324
356
  //#region src/components/MediaPicker/index.d.ts
325
357
  type MediaItem = {
@@ -347,7 +379,7 @@ declare const MediaPicker: ({
347
379
  mediaType,
348
380
  acceptedTypes,
349
381
  maxSize
350
- }: MediaPickerProps) => react_jsx_runtime27.JSX.Element;
382
+ }: MediaPickerProps) => react_jsx_runtime18.JSX.Element;
351
383
  declare const getMediaUrl: (value?: MediaPickerValue) => string | undefined;
352
384
  //#endregion
353
385
  //#region src/components/PagePicker/index.d.ts
@@ -370,7 +402,7 @@ type PagePickerProps = {
370
402
  declare const PagePicker: ({
371
403
  value,
372
404
  onChange
373
- }: PagePickerProps) => react_jsx_runtime27.JSX.Element;
405
+ }: PagePickerProps) => react_jsx_runtime18.JSX.Element;
374
406
  declare const getPageUrl: (value?: PagePickerValue) => string | undefined;
375
407
  //#endregion
376
408
  //#region src/components/ui/accordion.d.ts
@@ -432,19 +464,19 @@ declare function Accordion({
432
464
  className,
433
465
  multiple,
434
466
  ...props
435
- }: AccordionProps): react_jsx_runtime27.JSX.Element;
467
+ }: AccordionProps): react_jsx_runtime18.JSX.Element;
436
468
  interface AccordionItemProps extends Accordion$1.Item.Props {}
437
469
  declare function AccordionItem({
438
470
  value: itemValue,
439
471
  onOpenChange,
440
472
  className,
441
473
  ...rest
442
- }: AccordionItemProps): react_jsx_runtime27.JSX.Element;
474
+ }: AccordionItemProps): react_jsx_runtime18.JSX.Element;
443
475
  interface AccordionHeaderProps extends Accordion$1.Header.Props {}
444
476
  declare function AccordionHeader({
445
477
  className,
446
478
  ...props
447
- }: AccordionHeaderProps): react_jsx_runtime27.JSX.Element;
479
+ }: AccordionHeaderProps): react_jsx_runtime18.JSX.Element;
448
480
  interface AccordionTriggerProps extends Accordion$1.Trigger.Props {
449
481
  icon?: (props: {
450
482
  open: boolean;
@@ -455,19 +487,19 @@ declare function AccordionTrigger({
455
487
  icon,
456
488
  children,
457
489
  ...props
458
- }: AccordionTriggerProps): react_jsx_runtime27.JSX.Element;
490
+ }: AccordionTriggerProps): react_jsx_runtime18.JSX.Element;
459
491
  interface AccordionPanelProps extends Accordion$1.Panel.Props {}
460
492
  declare function AccordionPanel({
461
493
  className,
462
494
  children,
463
495
  style,
464
496
  ...props
465
- }: AccordionPanelProps): react_jsx_runtime27.JSX.Element;
497
+ }: AccordionPanelProps): react_jsx_runtime18.JSX.Element;
466
498
  //#endregion
467
499
  //#region src/components/ui/button.d.ts
468
500
  declare const buttonVariants: (props?: ({
469
501
  size?: "icon" | "default" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "lg" | "sm" | "xl" | "xs" | null | undefined;
470
- variant?: "default" | "destructive" | "destructive-outline" | "ghost" | "link" | "outline" | "primary" | "secondary" | null | undefined;
502
+ variant?: "link" | "default" | "destructive" | "destructive-outline" | "ghost" | "outline" | "primary" | "secondary" | null | undefined;
471
503
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
472
504
  interface ButtonProps extends useRender.ComponentProps<"button"> {
473
505
  variant?: VariantProps<typeof buttonVariants>["variant"];
@@ -483,7 +515,7 @@ declare function Button({
483
515
  //#endregion
484
516
  //#region src/components/ui/dialog.d.ts
485
517
  declare const Dialog: typeof Dialog$1.Root;
486
- declare function DialogTrigger(props: Dialog$1.Trigger.Props): react_jsx_runtime27.JSX.Element;
518
+ declare function DialogTrigger(props: Dialog$1.Trigger.Props): react_jsx_runtime18.JSX.Element;
487
519
  declare function DialogPopup({
488
520
  className,
489
521
  children,
@@ -493,33 +525,33 @@ declare function DialogPopup({
493
525
  }: Dialog$1.Popup.Props & {
494
526
  showCloseButton?: boolean;
495
527
  bottomStickOnMobile?: boolean;
496
- }): react_jsx_runtime27.JSX.Element;
528
+ }): react_jsx_runtime18.JSX.Element;
497
529
  declare function DialogHeader({
498
530
  className,
499
531
  ...props
500
- }: React.ComponentProps<"div">): react_jsx_runtime27.JSX.Element;
532
+ }: React.ComponentProps<"div">): react_jsx_runtime18.JSX.Element;
501
533
  declare function DialogFooter({
502
534
  className,
503
535
  variant,
504
536
  ...props
505
537
  }: React.ComponentProps<"div"> & {
506
538
  variant?: "default" | "bare";
507
- }): react_jsx_runtime27.JSX.Element;
539
+ }): react_jsx_runtime18.JSX.Element;
508
540
  declare function DialogTitle({
509
541
  className,
510
542
  ...props
511
- }: Dialog$1.Title.Props): react_jsx_runtime27.JSX.Element;
543
+ }: Dialog$1.Title.Props): react_jsx_runtime18.JSX.Element;
512
544
  declare function DialogDescription({
513
545
  className,
514
546
  ...props
515
- }: Dialog$1.Description.Props): react_jsx_runtime27.JSX.Element;
547
+ }: Dialog$1.Description.Props): react_jsx_runtime18.JSX.Element;
516
548
  declare function DialogPanel({
517
549
  className,
518
550
  scrollFade,
519
551
  ...props
520
552
  }: React.ComponentProps<"div"> & {
521
553
  scrollFade?: boolean;
522
- }): react_jsx_runtime27.JSX.Element;
554
+ }): react_jsx_runtime18.JSX.Element;
523
555
  //#endregion
524
556
  //#region src/components/ui/input.d.ts
525
557
  type InputProps = Omit<Input$1.Props & react0.RefAttributes<HTMLInputElement>, "size"> & {
@@ -533,7 +565,7 @@ declare function Input({
533
565
  unstyled,
534
566
  nativeInput,
535
567
  ...props
536
- }: InputProps): react_jsx_runtime27.JSX.Element;
568
+ }: InputProps): react_jsx_runtime18.JSX.Element;
537
569
  //#endregion
538
570
  //#region src/components/ui/textarea.d.ts
539
571
  type TextareaProps = react0.ComponentProps<"textarea"> & {
@@ -545,13 +577,13 @@ declare function Textarea({
545
577
  size,
546
578
  unstyled,
547
579
  ...props
548
- }: TextareaProps): react_jsx_runtime27.JSX.Element;
580
+ }: TextareaProps): react_jsx_runtime18.JSX.Element;
549
581
  //#endregion
550
582
  //#region src/components/ui/input-group.d.ts
551
583
  declare function InputGroup({
552
584
  className,
553
585
  ...props
554
- }: react0.ComponentProps<"div">): react_jsx_runtime27.JSX.Element;
586
+ }: react0.ComponentProps<"div">): react_jsx_runtime18.JSX.Element;
555
587
  declare const inputGroupAddonVariants: (props?: ({
556
588
  align?: "inline-start" | "block-end" | "block-start" | "inline-end" | null | undefined;
557
589
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
@@ -559,25 +591,25 @@ declare function InputGroupAddon({
559
591
  className,
560
592
  align,
561
593
  ...props
562
- }: react0.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime27.JSX.Element;
594
+ }: react0.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime18.JSX.Element;
563
595
  declare function InputGroupText({
564
596
  className,
565
597
  ...props
566
- }: react0.ComponentProps<"span">): react_jsx_runtime27.JSX.Element;
598
+ }: react0.ComponentProps<"span">): react_jsx_runtime18.JSX.Element;
567
599
  declare function InputGroupInput({
568
600
  className,
569
601
  ...props
570
- }: InputProps): react_jsx_runtime27.JSX.Element;
602
+ }: InputProps): react_jsx_runtime18.JSX.Element;
571
603
  declare function InputGroupTextarea({
572
604
  className,
573
605
  ...props
574
- }: TextareaProps): react_jsx_runtime27.JSX.Element;
606
+ }: TextareaProps): react_jsx_runtime18.JSX.Element;
575
607
  //#endregion
576
608
  //#region src/components/ui/menu.d.ts
577
609
  declare const MenuCreateHandle: typeof Menu$1.createHandle;
578
610
  declare const Menu: typeof Menu$1.Root;
579
- declare const MenuPortal: react0.ForwardRefExoticComponent<Omit<_base_ui_react0.ContextMenuPortalProps, "ref"> & react0.RefAttributes<HTMLDivElement>>;
580
- declare function MenuTrigger(props: Menu$1.Trigger.Props): react_jsx_runtime27.JSX.Element;
611
+ declare const MenuPortal: react0.ForwardRefExoticComponent<Omit<_base_ui_react1.ContextMenuPortalProps, "ref"> & react0.RefAttributes<HTMLDivElement>>;
612
+ declare function MenuTrigger(props: Menu$1.Trigger.Props): react_jsx_runtime18.JSX.Element;
581
613
  declare function MenuPopup({
582
614
  children,
583
615
  className,
@@ -591,8 +623,8 @@ declare function MenuPopup({
591
623
  sideOffset?: Menu$1.Positioner.Props["sideOffset"];
592
624
  alignOffset?: Menu$1.Positioner.Props["alignOffset"];
593
625
  side?: Menu$1.Positioner.Props["side"];
594
- }): react_jsx_runtime27.JSX.Element;
595
- declare function MenuGroup(props: Menu$1.Group.Props): react_jsx_runtime27.JSX.Element;
626
+ }): react_jsx_runtime18.JSX.Element;
627
+ declare function MenuGroup(props: Menu$1.Group.Props): react_jsx_runtime18.JSX.Element;
596
628
  declare function MenuItem({
597
629
  className,
598
630
  inset,
@@ -601,7 +633,7 @@ declare function MenuItem({
601
633
  }: Menu$1.Item.Props & {
602
634
  inset?: boolean;
603
635
  variant?: "default" | "destructive";
604
- }): react_jsx_runtime27.JSX.Element;
636
+ }): react_jsx_runtime18.JSX.Element;
605
637
  declare function MenuCheckboxItem({
606
638
  className,
607
639
  children,
@@ -610,29 +642,29 @@ declare function MenuCheckboxItem({
610
642
  ...props
611
643
  }: Menu$1.CheckboxItem.Props & {
612
644
  variant?: "default" | "switch";
613
- }): react_jsx_runtime27.JSX.Element;
614
- declare function MenuRadioGroup(props: Menu$1.RadioGroup.Props): react_jsx_runtime27.JSX.Element;
645
+ }): react_jsx_runtime18.JSX.Element;
646
+ declare function MenuRadioGroup(props: Menu$1.RadioGroup.Props): react_jsx_runtime18.JSX.Element;
615
647
  declare function MenuRadioItem({
616
648
  className,
617
649
  children,
618
650
  ...props
619
- }: Menu$1.RadioItem.Props): react_jsx_runtime27.JSX.Element;
651
+ }: Menu$1.RadioItem.Props): react_jsx_runtime18.JSX.Element;
620
652
  declare function MenuGroupLabel({
621
653
  className,
622
654
  inset,
623
655
  ...props
624
656
  }: Menu$1.GroupLabel.Props & {
625
657
  inset?: boolean;
626
- }): react_jsx_runtime27.JSX.Element;
658
+ }): react_jsx_runtime18.JSX.Element;
627
659
  declare function MenuSeparator({
628
660
  className,
629
661
  ...props
630
- }: Menu$1.Separator.Props): react_jsx_runtime27.JSX.Element;
662
+ }: Menu$1.Separator.Props): react_jsx_runtime18.JSX.Element;
631
663
  declare function MenuShortcut({
632
664
  className,
633
665
  ...props
634
- }: react0.ComponentProps<"kbd">): react_jsx_runtime27.JSX.Element;
635
- declare function MenuSub(props: Menu$1.SubmenuRoot.Props): react_jsx_runtime27.JSX.Element;
666
+ }: react0.ComponentProps<"kbd">): react_jsx_runtime18.JSX.Element;
667
+ declare function MenuSub(props: Menu$1.SubmenuRoot.Props): react_jsx_runtime18.JSX.Element;
636
668
  declare function MenuSubTrigger({
637
669
  className,
638
670
  inset,
@@ -640,7 +672,7 @@ declare function MenuSubTrigger({
640
672
  ...props
641
673
  }: Menu$1.SubmenuTrigger.Props & {
642
674
  inset?: boolean;
643
- }): react_jsx_runtime27.JSX.Element;
675
+ }): react_jsx_runtime18.JSX.Element;
644
676
  declare function MenuSubPopup({
645
677
  className,
646
678
  sideOffset,
@@ -651,20 +683,52 @@ declare function MenuSubPopup({
651
683
  align?: Menu$1.Positioner.Props["align"];
652
684
  sideOffset?: Menu$1.Positioner.Props["sideOffset"];
653
685
  alignOffset?: Menu$1.Positioner.Props["alignOffset"];
654
- }): react_jsx_runtime27.JSX.Element;
686
+ }): react_jsx_runtime18.JSX.Element;
687
+ //#endregion
688
+ //#region src/components/ui/popover.d.ts
689
+ declare const PopoverCreateHandle: typeof Popover$1.createHandle;
690
+ declare const Popover: typeof Popover$1.Root;
691
+ declare function PopoverTrigger(props: Popover$1.Trigger.Props): react_jsx_runtime18.JSX.Element;
692
+ declare function PopoverPopup({
693
+ children,
694
+ className,
695
+ side,
696
+ align,
697
+ sideOffset,
698
+ alignOffset,
699
+ tooltipStyle,
700
+ ...props
701
+ }: Popover$1.Popup.Props & {
702
+ side?: Popover$1.Positioner.Props["side"];
703
+ align?: Popover$1.Positioner.Props["align"];
704
+ sideOffset?: Popover$1.Positioner.Props["sideOffset"];
705
+ alignOffset?: Popover$1.Positioner.Props["alignOffset"];
706
+ tooltipStyle?: boolean;
707
+ }): react_jsx_runtime18.JSX.Element;
708
+ declare function PopoverClose({
709
+ ...props
710
+ }: Popover$1.Close.Props): react_jsx_runtime18.JSX.Element;
711
+ declare function PopoverTitle({
712
+ className,
713
+ ...props
714
+ }: Popover$1.Title.Props): react_jsx_runtime18.JSX.Element;
715
+ declare function PopoverDescription({
716
+ className,
717
+ ...props
718
+ }: Popover$1.Description.Props): react_jsx_runtime18.JSX.Element;
655
719
  //#endregion
656
720
  //#region src/components/ui/pagination.d.ts
657
721
  declare function Pagination({
658
722
  className,
659
723
  ...props
660
- }: react0.ComponentProps<"nav">): react_jsx_runtime27.JSX.Element;
724
+ }: react0.ComponentProps<"nav">): react_jsx_runtime18.JSX.Element;
661
725
  declare function PaginationContent({
662
726
  className,
663
727
  ...props
664
- }: react0.ComponentProps<"ul">): react_jsx_runtime27.JSX.Element;
728
+ }: react0.ComponentProps<"ul">): react_jsx_runtime18.JSX.Element;
665
729
  declare function PaginationItem({
666
730
  ...props
667
- }: react0.ComponentProps<"li">): react_jsx_runtime27.JSX.Element;
731
+ }: react0.ComponentProps<"li">): react_jsx_runtime18.JSX.Element;
668
732
  type PaginationLinkProps = {
669
733
  isActive?: boolean;
670
734
  } & Pick<react0.ComponentProps<typeof Button>, "size"> & react0.ComponentProps<"a">;
@@ -673,19 +737,19 @@ declare function PaginationLink({
673
737
  isActive,
674
738
  size,
675
739
  ...props
676
- }: PaginationLinkProps): react_jsx_runtime27.JSX.Element;
740
+ }: PaginationLinkProps): react_jsx_runtime18.JSX.Element;
677
741
  declare function PaginationPrevious({
678
742
  className,
679
743
  ...props
680
- }: react0.ComponentProps<typeof PaginationLink>): react_jsx_runtime27.JSX.Element;
744
+ }: react0.ComponentProps<typeof PaginationLink>): react_jsx_runtime18.JSX.Element;
681
745
  declare function PaginationNext({
682
746
  className,
683
747
  ...props
684
- }: react0.ComponentProps<typeof PaginationLink>): react_jsx_runtime27.JSX.Element;
748
+ }: react0.ComponentProps<typeof PaginationLink>): react_jsx_runtime18.JSX.Element;
685
749
  declare function PaginationEllipsis({
686
750
  className,
687
751
  ...props
688
- }: react0.ComponentProps<"span">): react_jsx_runtime27.JSX.Element;
752
+ }: react0.ComponentProps<"span">): react_jsx_runtime18.JSX.Element;
689
753
  //#endregion
690
754
  //#region src/components/ui/select.d.ts
691
755
  declare const cssAnimationPresets$1: {
@@ -738,12 +802,12 @@ interface SelectRootProps extends React.ComponentProps<typeof Select$1.Root> {
738
802
  declare function Select({
739
803
  backdrop,
740
804
  ...props
741
- }: SelectRootProps): react_jsx_runtime27.JSX.Element;
805
+ }: SelectRootProps): react_jsx_runtime18.JSX.Element;
742
806
  interface SelectTriggerProps extends React.ComponentProps<typeof Select$1.Trigger> {}
743
807
  declare function SelectTrigger({
744
808
  className,
745
809
  ...props
746
- }: SelectTriggerProps): react_jsx_runtime27.JSX.Element;
810
+ }: SelectTriggerProps): react_jsx_runtime18.JSX.Element;
747
811
  interface SelectValueProps extends React.ComponentProps<typeof Select$1.Value> {
748
812
  placeholder?: string;
749
813
  }
@@ -751,12 +815,12 @@ declare function SelectValue({
751
815
  className,
752
816
  placeholder,
753
817
  ...props
754
- }: SelectValueProps): react_jsx_runtime27.JSX.Element;
818
+ }: SelectValueProps): react_jsx_runtime18.JSX.Element;
755
819
  interface SelectIconProps extends React.ComponentProps<typeof Select$1.Icon> {}
756
820
  declare function SelectIcon({
757
821
  className,
758
822
  ...props
759
- }: SelectIconProps): react_jsx_runtime27.JSX.Element;
823
+ }: SelectIconProps): react_jsx_runtime18.JSX.Element;
760
824
  interface SelectPositionerProps extends React.ComponentProps<typeof Select$1.Positioner> {}
761
825
  interface SelectPopupProps extends React.ComponentProps<typeof Select$1.Popup>, Pick<SelectPositionerProps, "side" | "sideOffset" | "align" | "alignOffset" | "alignItemWithTrigger"> {
762
826
  animationPreset?: CSSAnimationPresets$1;
@@ -777,89 +841,95 @@ declare function SelectPopup({
777
841
  alignItemWithTrigger,
778
842
  children,
779
843
  ...rest
780
- }: SelectPopupProps): react_jsx_runtime27.JSX.Element;
844
+ }: SelectPopupProps): react_jsx_runtime18.JSX.Element;
781
845
  interface SelectListProps extends React.ComponentProps<typeof Select$1.List> {}
782
846
  declare function SelectList({
783
847
  className,
784
848
  ...props
785
- }: SelectListProps): react_jsx_runtime27.JSX.Element;
849
+ }: SelectListProps): react_jsx_runtime18.JSX.Element;
786
850
  interface SelectItemProps extends React.ComponentProps<typeof Select$1.Item> {}
787
851
  declare function SelectItem({
788
852
  className,
789
853
  ...props
790
- }: SelectItemProps): react_jsx_runtime27.JSX.Element;
854
+ }: SelectItemProps): react_jsx_runtime18.JSX.Element;
791
855
  interface SelectItemTextProps extends React.ComponentProps<typeof Select$1.ItemText> {}
792
856
  declare function SelectItemText({
793
857
  className,
794
858
  ...props
795
- }: SelectItemTextProps): react_jsx_runtime27.JSX.Element;
859
+ }: SelectItemTextProps): react_jsx_runtime18.JSX.Element;
796
860
  interface SelectItemIndicatorProps extends React.ComponentProps<typeof Select$1.ItemIndicator> {}
797
861
  declare function SelectItemIndicator({
798
862
  className,
799
863
  ...props
800
- }: SelectItemIndicatorProps): react_jsx_runtime27.JSX.Element;
864
+ }: SelectItemIndicatorProps): react_jsx_runtime18.JSX.Element;
801
865
  interface SelectGroupProps extends React.ComponentProps<typeof Select$1.Group> {}
802
866
  declare function SelectGroup({
803
867
  ...props
804
- }: SelectGroupProps): react_jsx_runtime27.JSX.Element;
868
+ }: SelectGroupProps): react_jsx_runtime18.JSX.Element;
805
869
  interface SelectGroupLabelProps extends React.ComponentProps<typeof Select$1.GroupLabel> {}
806
870
  declare function SelectGroupLabel({
807
871
  ...props
808
- }: SelectGroupLabelProps): react_jsx_runtime27.JSX.Element;
809
- declare function SelectScrollUpArrow(props: React.ComponentProps<typeof Select$1.ScrollUpArrow>): react_jsx_runtime27.JSX.Element;
810
- declare function SelectScrollDownArrow(props: React.ComponentProps<typeof Select$1.ScrollDownArrow>): react_jsx_runtime27.JSX.Element;
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;
811
875
  interface SelectSeparatorProps extends React.ComponentProps<typeof Select$1.Separator> {}
812
876
  declare function SelectSeparator({
813
877
  ...props
814
- }: SelectSeparatorProps): react_jsx_runtime27.JSX.Element;
878
+ }: SelectSeparatorProps): react_jsx_runtime18.JSX.Element;
815
879
  //#endregion
816
880
  //#region src/components/ui/separator.d.ts
817
881
  declare function Separator({
818
882
  className,
819
883
  orientation,
820
884
  ...props
821
- }: Separator$1.Props): react_jsx_runtime27.JSX.Element;
885
+ }: Separator$1.Props): react_jsx_runtime18.JSX.Element;
886
+ //#endregion
887
+ //#region src/components/ui/switch.d.ts
888
+ declare function Switch({
889
+ className,
890
+ ...props
891
+ }: Switch$1.Root.Props): react_jsx_runtime18.JSX.Element;
822
892
  //#endregion
823
893
  //#region src/components/ui/table.d.ts
824
894
  declare function Table({
825
895
  className,
826
896
  ...props
827
- }: react0.ComponentProps<"table">): react_jsx_runtime27.JSX.Element;
897
+ }: react0.ComponentProps<"table">): react_jsx_runtime18.JSX.Element;
828
898
  declare function TableHeader({
829
899
  className,
830
900
  ...props
831
- }: react0.ComponentProps<"thead">): react_jsx_runtime27.JSX.Element;
901
+ }: react0.ComponentProps<"thead">): react_jsx_runtime18.JSX.Element;
832
902
  declare function TableBody({
833
903
  className,
834
904
  ...props
835
- }: react0.ComponentProps<"tbody">): react_jsx_runtime27.JSX.Element;
905
+ }: react0.ComponentProps<"tbody">): react_jsx_runtime18.JSX.Element;
836
906
  declare function TableFooter({
837
907
  className,
838
908
  ...props
839
- }: react0.ComponentProps<"tfoot">): react_jsx_runtime27.JSX.Element;
909
+ }: react0.ComponentProps<"tfoot">): react_jsx_runtime18.JSX.Element;
840
910
  declare function TableRow({
841
911
  className,
842
912
  ...props
843
- }: react0.ComponentProps<"tr">): react_jsx_runtime27.JSX.Element;
913
+ }: react0.ComponentProps<"tr">): react_jsx_runtime18.JSX.Element;
844
914
  declare function TableHead({
845
915
  className,
846
916
  ...props
847
- }: react0.ComponentProps<"th">): react_jsx_runtime27.JSX.Element;
917
+ }: react0.ComponentProps<"th">): react_jsx_runtime18.JSX.Element;
848
918
  declare function TableCell({
849
919
  className,
850
920
  ...props
851
- }: react0.ComponentProps<"td">): react_jsx_runtime27.JSX.Element;
921
+ }: react0.ComponentProps<"td">): react_jsx_runtime18.JSX.Element;
852
922
  declare function TableCaption({
853
923
  className,
854
924
  ...props
855
- }: react0.ComponentProps<"caption">): react_jsx_runtime27.JSX.Element;
925
+ }: react0.ComponentProps<"caption">): react_jsx_runtime18.JSX.Element;
856
926
  //#endregion
857
927
  //#region src/components/ui/tabs.d.ts
858
928
  type TabsVariant = "default" | "underline";
859
929
  declare function Tabs({
860
930
  className,
861
931
  ...props
862
- }: Tabs$1.Root.Props): react_jsx_runtime27.JSX.Element;
932
+ }: Tabs$1.Root.Props): react_jsx_runtime18.JSX.Element;
863
933
  declare function TabsList({
864
934
  variant,
865
935
  className,
@@ -867,19 +937,19 @@ declare function TabsList({
867
937
  ...props
868
938
  }: Tabs$1.List.Props & {
869
939
  variant?: TabsVariant;
870
- }): react_jsx_runtime27.JSX.Element;
940
+ }): react_jsx_runtime18.JSX.Element;
871
941
  declare function TabsTab({
872
942
  className,
873
943
  ...props
874
- }: Tabs$1.Tab.Props): react_jsx_runtime27.JSX.Element;
944
+ }: Tabs$1.Tab.Props): react_jsx_runtime18.JSX.Element;
875
945
  declare function TabsPanel({
876
946
  className,
877
947
  ...props
878
- }: Tabs$1.Panel.Props): react_jsx_runtime27.JSX.Element;
948
+ }: Tabs$1.Panel.Props): react_jsx_runtime18.JSX.Element;
879
949
  //#endregion
880
950
  //#region src/components/ui/toast.d.ts
881
- declare const toastManager: _base_ui_react0.ToastManager;
882
- declare const anchoredToastManager: _base_ui_react0.ToastManager;
951
+ declare const toastManager: _base_ui_react1.ToastManager;
952
+ declare const anchoredToastManager: _base_ui_react1.ToastManager;
883
953
  type ToastPosition = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
884
954
  interface ToastProviderProps extends Toast.Provider.Props {
885
955
  position?: ToastPosition;
@@ -888,11 +958,11 @@ declare function ToastProvider({
888
958
  children,
889
959
  position,
890
960
  ...props
891
- }: ToastProviderProps): react_jsx_runtime27.JSX.Element;
961
+ }: ToastProviderProps): react_jsx_runtime18.JSX.Element;
892
962
  declare function AnchoredToastProvider({
893
963
  children,
894
964
  ...props
895
- }: Toast.Provider.Props): react_jsx_runtime27.JSX.Element;
965
+ }: Toast.Provider.Props): react_jsx_runtime18.JSX.Element;
896
966
  //#endregion
897
967
  //#region src/components/ui/tooltip.d.ts
898
968
  declare const cssAnimationPresets: {
@@ -943,13 +1013,13 @@ interface TooltipProviderProps extends Tooltip$1.Provider.Props {}
943
1013
  declare function TooltipProvider({
944
1014
  delay,
945
1015
  ...props
946
- }: TooltipProviderProps): react_jsx_runtime27.JSX.Element;
1016
+ }: TooltipProviderProps): react_jsx_runtime18.JSX.Element;
947
1017
  interface TooltipProps extends Tooltip$1.Root.Props {}
948
1018
  declare function Tooltip({
949
1019
  ...props
950
- }: TooltipProps): react_jsx_runtime27.JSX.Element;
1020
+ }: TooltipProps): react_jsx_runtime18.JSX.Element;
951
1021
  interface TooltipTriggerProps extends Tooltip$1.Trigger.Props {}
952
- declare function TooltipTrigger(props: TooltipTriggerProps): react_jsx_runtime27.JSX.Element;
1022
+ declare function TooltipTrigger(props: TooltipTriggerProps): react_jsx_runtime18.JSX.Element;
953
1023
  interface TooltipPositionerProps extends Tooltip$1.Positioner.Props {}
954
1024
  interface TooltipPopupProps extends Tooltip$1.Popup.Props, Pick<TooltipPositionerProps, "side" | "sideOffset" | "align" | "alignOffset"> {
955
1025
  animationPreset?: CSSAnimationPresets;
@@ -968,7 +1038,7 @@ declare function TooltipPopup({
968
1038
  align,
969
1039
  alignOffset,
970
1040
  ...rest
971
- }: TooltipPopupProps): react_jsx_runtime27.JSX.Element;
1041
+ }: TooltipPopupProps): react_jsx_runtime18.JSX.Element;
972
1042
  //#endregion
973
1043
  //#region src/utils/animation.d.ts
974
1044
  type AnimationTraitProps = {
@@ -1143,5 +1213,5 @@ type OptimizedImageAttrs = {
1143
1213
  */
1144
1214
  declare function useOptimizedImage(src: string | undefined): OptimizedImageAttrs | null;
1145
1215
  //#endregion
1146
- export { Accordion, AccordionHeader, AccordionItem, AccordionPanel, AccordionTrigger, AnchoredToastProvider, AnimationTraitProps, Button, Checkbox, type CheckboxLayout, Dialog, DialogDescription, DialogFooter, DialogHeader, DialogPanel, DialogPopup, DialogTitle, DialogTrigger, DisplayTraitProps, FieldCheckbox, FieldInput, FieldNumberUnit, FieldRadio, FieldSelect, FieldTextarea, FontWeightTraitProps, Input, InputGroup, InputGroupAddon, InputGroupInput, InputGroupText, InputGroupTextarea, type InputProps, Label, LineHeightTraitProps, MarginItem, MarginTraitProps, MarginValue, type MediaItem, MediaPicker, type MediaPickerProps, type MediaPickerValue, Menu, MenuCheckboxItem, MenuCreateHandle, MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, MenuPortal, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuShortcut, MenuSub, MenuSubPopup, MenuSubTrigger, MenuTrigger, OptimizedImageAttrs, PaddingItem, PaddingTraitProps, PaddingValue, type PageItem, PagePicker, type PagePickerProps, type PagePickerValue, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PositionTraitProps, RadioGroup, RadioGroupItem, type RadioLayout, Select, SelectGroup, SelectGroupLabel, SelectIcon, SelectItem, SelectItemIndicator, SelectItemText, SelectList, SelectPopup, SelectScrollDownArrow, SelectScrollUpArrow, SelectSeparator, SelectTrigger, SelectValue, Separator, SizeTraitProps, SizeValue, SpacingTraitProps, 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, buttonVariants, createPuckOverridesPlugin, displayDefaultProps, displayField, displayToClasses, fontWeightDefaultProps, fontWeightField, fontWeightToClasses, getMediaUrl, getPageUrl, lineHeightDefaultProps, lineHeightField, lineHeightToClasses, marginDefaultProps, marginField, marginToClasses, paddingDefaultProps, paddingField, paddingToClasses, positionDefaultProps, positionField, positionToClasses, 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 };
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, RichTextMenuLink, Select, SelectGroup, SelectGroupLabel, SelectIcon, SelectItem, SelectItemIndicator, SelectItemText, SelectList, SelectPopup, SelectScrollDownArrow, SelectScrollUpArrow, 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, buttonVariants, createPuckOverridesPlugin, displayDefaultProps, displayField, displayToClasses, fontWeightDefaultProps, fontWeightField, fontWeightToClasses, getMediaUrl, getPageUrl, lineHeightDefaultProps, lineHeightField, lineHeightToClasses, marginDefaultProps, marginField, marginToClasses, paddingDefaultProps, paddingField, paddingToClasses, positionDefaultProps, positionField, positionToClasses, richTextMenuLinkExtension, richTextMenuLinkSelector, 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 };
1147
1217
  //# sourceMappingURL=index.d.ts.map