@typlog/ui 0.11.6 → 0.11.8

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.
Files changed (38) hide show
  1. package/components/alert.css +15 -0
  2. package/{dist/components → components}/button.css +0 -4
  3. package/{dist/components → components}/dialog.css +15 -15
  4. package/{dist/components → components}/pagination.css +0 -4
  5. package/{dist/components.css → components.css} +15 -15
  6. package/{dist/components.d.ts → components.d.ts} +96 -46
  7. package/{dist/components.js → components.js} +116 -68
  8. package/package.json +15 -43
  9. package/LICENSE +0 -21
  10. package/README.md +0 -9
  11. /package/{dist/addons.css → addons.css} +0 -0
  12. /package/{dist/addons.d.ts → addons.d.ts} +0 -0
  13. /package/{dist/addons.js → addons.js} +0 -0
  14. /package/{dist/base.css → base.css} +0 -0
  15. /package/{dist/components → components}/accordion.css +0 -0
  16. /package/{dist/components → components}/avatar.css +0 -0
  17. /package/{dist/components → components}/badge.css +0 -0
  18. /package/{dist/components → components}/card.css +0 -0
  19. /package/{dist/components → components}/checkbox.css +0 -0
  20. /package/{dist/components → components}/collapsible.css +0 -0
  21. /package/{dist/components → components}/combobox.css +0 -0
  22. /package/{dist/components → components}/dropdown.css +0 -0
  23. /package/{dist/components → components}/editable.css +0 -0
  24. /package/{dist/components → components}/icon.css +0 -0
  25. /package/{dist/components → components}/inputs.css +0 -0
  26. /package/{dist/components → components}/inset.css +0 -0
  27. /package/{dist/components → components}/popover.css +0 -0
  28. /package/{dist/components → components}/quota.css +0 -0
  29. /package/{dist/components → components}/radio.css +0 -0
  30. /package/{dist/components → components}/scrollarea.css +0 -0
  31. /package/{dist/components → components}/select.css +0 -0
  32. /package/{dist/components → components}/separator.css +0 -0
  33. /package/{dist/components → components}/spinner.css +0 -0
  34. /package/{dist/components → components}/switch.css +0 -0
  35. /package/{dist/components → components}/table.css +0 -0
  36. /package/{dist/components → components}/tabs.css +0 -0
  37. /package/{dist/components → components}/toggle.css +0 -0
  38. /package/{dist/components → components}/tooltip.css +0 -0
@@ -0,0 +1,15 @@
1
+
2
+ .ui-DialogTitle {
3
+ font-size: var(--font-size-4);
4
+ font-weight: var(--font-weight-semibold);
5
+ line-height: var(--line-height-4);
6
+ }
7
+
8
+ .ui-DialogDescription {
9
+ font-size: var(--font-size-3);
10
+ line-height: var(--line-height-2);
11
+ color: var(--gray-11);
12
+ }
13
+ .ui-DialogTitle + .ui-DialogDescription {
14
+ margin-top: var(--space-2);
15
+ }
@@ -130,10 +130,6 @@
130
130
  .ui-Button:where(.r-variant-soft, .r-variant-ghost):where(.r-high-contrast) {
131
131
  color: var(--accent-12);
132
132
  }
133
- .ui-Button:where(.r-variant-soft):where([data-disabled]) {
134
- color: var(--gray-a8);
135
- background-color: var(--gray-a3);
136
- }
137
133
  .ui-Button:where(.r-variant-soft) {
138
134
  background-color: var(--accent-a3);
139
135
  }
@@ -1,4 +1,19 @@
1
1
 
2
+ .ui-DialogTitle {
3
+ font-size: var(--font-size-4);
4
+ font-weight: var(--font-weight-semibold);
5
+ line-height: var(--line-height-4);
6
+ }
7
+
8
+ .ui-DialogDescription {
9
+ font-size: var(--font-size-3);
10
+ line-height: var(--line-height-2);
11
+ color: var(--gray-11);
12
+ }
13
+ .ui-DialogTitle + .ui-DialogDescription {
14
+ margin-top: var(--space-2);
15
+ }
16
+
2
17
  .ui-Button {
3
18
  display: inline-flex;
4
19
  align-items: center;
@@ -130,10 +145,6 @@
130
145
  .ui-Button:where(.r-variant-soft, .r-variant-ghost):where(.r-high-contrast) {
131
146
  color: var(--accent-12);
132
147
  }
133
- .ui-Button:where(.r-variant-soft):where([data-disabled]) {
134
- color: var(--gray-a8);
135
- background-color: var(--gray-a3);
136
- }
137
148
  .ui-Button:where(.r-variant-soft) {
138
149
  background-color: var(--accent-a3);
139
150
  }
@@ -329,17 +340,6 @@
329
340
  top: calc(var(--dialog-content-padding) / 1.5);
330
341
  right: var(--dialog-content-padding);
331
342
  }
332
- .ui-DialogContent > h2[id^="reka-dialog-title"] {
333
- font-size: var(--font-size-5);
334
- font-weight: var(--font-weight-bold);
335
- line-height: var(--line-height-4);
336
- margin-bottom: var(--space-3);
337
- }
338
- .ui-DialogContent > p[id^="reka-dialog-description"] {
339
- font-size: var(--font-size-3);
340
- line-height: var(--line-height-2);
341
- letter-spacing: var(--letter-spacing-2);
342
- }
343
343
  @media (min-width: 520px) {
344
344
  .ui-DialogContainer {
345
345
  justify-content: center;
@@ -130,10 +130,6 @@
130
130
  .ui-Button:where(.r-variant-soft, .r-variant-ghost):where(.r-high-contrast) {
131
131
  color: var(--accent-12);
132
132
  }
133
- .ui-Button:where(.r-variant-soft):where([data-disabled]) {
134
- color: var(--gray-a8);
135
- background-color: var(--gray-a3);
136
- }
137
133
  .ui-Button:where(.r-variant-soft) {
138
134
  background-color: var(--accent-a3);
139
135
  }
@@ -521,10 +521,6 @@
521
521
  .ui-Button:where(.r-variant-soft, .r-variant-ghost):where(.r-high-contrast) {
522
522
  color: var(--accent-12);
523
523
  }
524
- .ui-Button:where(.r-variant-soft):where([data-disabled]) {
525
- color: var(--gray-a8);
526
- background-color: var(--gray-a3);
527
- }
528
524
  .ui-Button:where(.r-variant-soft) {
529
525
  background-color: var(--accent-a3);
530
526
  }
@@ -799,6 +795,21 @@
799
795
  background-color: var(--gray-a9);
800
796
  }
801
797
 
798
+ .ui-DialogTitle {
799
+ font-size: var(--font-size-4);
800
+ font-weight: var(--font-weight-semibold);
801
+ line-height: var(--line-height-4);
802
+ }
803
+
804
+ .ui-DialogDescription {
805
+ font-size: var(--font-size-3);
806
+ line-height: var(--line-height-2);
807
+ color: var(--gray-11);
808
+ }
809
+ .ui-DialogTitle + .ui-DialogDescription {
810
+ margin-top: var(--space-2);
811
+ }
812
+
802
813
  .ui-DialogOverlay {
803
814
  position: fixed;
804
815
  inset: 0;
@@ -865,17 +876,6 @@
865
876
  top: calc(var(--dialog-content-padding) / 1.5);
866
877
  right: var(--dialog-content-padding);
867
878
  }
868
- .ui-DialogContent > h2[id^="reka-dialog-title"] {
869
- font-size: var(--font-size-5);
870
- font-weight: var(--font-weight-bold);
871
- line-height: var(--line-height-4);
872
- margin-bottom: var(--space-3);
873
- }
874
- .ui-DialogContent > p[id^="reka-dialog-description"] {
875
- font-size: var(--font-size-3);
876
- line-height: var(--line-height-2);
877
- letter-spacing: var(--letter-spacing-2);
878
- }
879
879
  @media (min-width: 520px) {
880
880
  .ui-DialogContainer {
881
881
  justify-content: center;
@@ -4,12 +4,14 @@ import { AccordionContentProps } from 'reka-ui';
4
4
  import { AccordionItemProps } from 'reka-ui';
5
5
  import { AccordionRootProps as AccordionRootProps_2 } from 'reka-ui';
6
6
  import { AlertDialogAction } from 'reka-ui';
7
+ import { AlertDialogActionProps } from 'reka-ui';
7
8
  import { AlertDialogCancel } from 'reka-ui';
9
+ import { AlertDialogCancelProps } from 'reka-ui';
8
10
  import { AlertDialogContentProps as AlertDialogContentProps_2 } from 'reka-ui';
9
- import { AlertDialogDescription } from 'reka-ui';
11
+ import { AlertDialogProps } from 'reka-ui';
10
12
  import { AlertDialogRoot } from 'reka-ui';
11
- import { AlertDialogTitle } from 'reka-ui';
12
13
  import { AlertDialogTrigger } from 'reka-ui';
14
+ import { AlertDialogTriggerProps } from 'reka-ui';
13
15
  import { AsTag } from 'reka-ui';
14
16
  import { CheckboxRootProps } from 'reka-ui';
15
17
  import { CollapsibleContentProps } from 'reka-ui';
@@ -27,11 +29,12 @@ import { ComponentOptionsMixin } from 'vue';
27
29
  import { ComponentProvideOptions } from 'vue';
28
30
  import { DefineComponent } from 'vue';
29
31
  import { DialogClose } from 'reka-ui';
32
+ import { DialogCloseProps } from 'reka-ui';
30
33
  import { DialogContentProps as DialogContentProps_2 } from 'reka-ui';
31
- import { DialogDescription } from 'reka-ui';
32
34
  import { DialogRoot } from 'reka-ui';
33
- import { DialogTitle } from 'reka-ui';
35
+ import { DialogRootProps } from 'reka-ui';
34
36
  import { DialogTrigger } from 'reka-ui';
37
+ import { DialogTriggerProps } from 'reka-ui';
35
38
  import { DropdownMenuContentProps as DropdownMenuContentProps_2 } from 'reka-ui';
36
39
  import { DropdownMenuItemProps as DropdownMenuItemProps_2 } from 'reka-ui';
37
40
  import { DropdownMenuRoot } from 'reka-ui';
@@ -49,6 +52,7 @@ import { PublicProps } from 'vue';
49
52
  import { RadioGroupItemProps } from 'reka-ui';
50
53
  import { RadioGroupRootProps as RadioGroupRootProps_2 } from 'reka-ui';
51
54
  import { RadioGroupItem as RadioTabsItem } from 'reka-ui';
55
+ import { Ref } from 'vue';
52
56
  import { ScrollAreaRootProps } from 'reka-ui';
53
57
  import { SelectContentProps as SelectContentProps_2 } from 'reka-ui';
54
58
  import { SelectGroup } from 'reka-ui';
@@ -363,6 +367,18 @@ declare type __VLS_WithTemplateSlots_43<T, S> = T & {
363
367
  };
364
368
  };
365
369
 
370
+ declare type __VLS_WithTemplateSlots_44<T, S> = T & {
371
+ new (): {
372
+ $slots: S;
373
+ };
374
+ };
375
+
376
+ declare type __VLS_WithTemplateSlots_45<T, S> = T & {
377
+ new (): {
378
+ $slots: S;
379
+ };
380
+ };
381
+
366
382
  declare type __VLS_WithTemplateSlots_5<T, S> = T & {
367
383
  new (): {
368
384
  $slots: S;
@@ -393,19 +409,19 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
393
409
  };
394
410
  };
395
411
 
396
- export declare const AccordionContent: __VLS_WithTemplateSlots_38<DefineComponent<AccordionContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionContentProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
412
+ export declare const AccordionContent: __VLS_WithTemplateSlots_40<DefineComponent<AccordionContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionContentProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
397
413
  default?(_: {}): any;
398
414
  }>;
399
415
 
400
416
  export { AccordionContentProps }
401
417
 
402
- export declare const AccordionItem: __VLS_WithTemplateSlots_37<DefineComponent<AccordionItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
418
+ export declare const AccordionItem: __VLS_WithTemplateSlots_39<DefineComponent<AccordionItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
403
419
  default?(_: {}): any;
404
420
  }>;
405
421
 
406
422
  export { AccordionItemProps }
407
423
 
408
- export declare const AccordionRoot: __VLS_WithTemplateSlots_36<DefineComponent<AccordionRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
424
+ export declare const AccordionRoot: __VLS_WithTemplateSlots_38<DefineComponent<AccordionRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
409
425
  "update:modelValue": (value: string | string[] | undefined) => any;
410
426
  }, string, PublicProps, Readonly<AccordionRootProps> & Readonly<{
411
427
  "onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
@@ -419,7 +435,7 @@ export declare interface AccordionRootProps extends AccordionRootProps_2 {
419
435
  size?: '1' | '2' | '3';
420
436
  }
421
437
 
422
- export declare const AccordionTrigger: __VLS_WithTemplateSlots_39<DefineComponent<AccordionTriggerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionTriggerProps> & Readonly<{}>, {
438
+ export declare const AccordionTrigger: __VLS_WithTemplateSlots_41<DefineComponent<AccordionTriggerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionTriggerProps> & Readonly<{}>, {
423
439
  indicator: "plus-minus" | "chevron";
424
440
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
425
441
  default?(_: {}): any;
@@ -435,9 +451,13 @@ export declare interface AccordionTriggerProps extends PrimitiveProps {
435
451
 
436
452
  export { AlertDialogAction }
437
453
 
454
+ export { AlertDialogActionProps }
455
+
438
456
  export { AlertDialogCancel }
439
457
 
440
- export declare const AlertDialogContent: __VLS_WithTemplateSlots_10<DefineComponent<AlertDialogContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
458
+ export { AlertDialogCancelProps }
459
+
460
+ export declare const AlertDialogContent: __VLS_WithTemplateSlots_12<DefineComponent<AlertDialogContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
441
461
  escapeKeyDown: (event: KeyboardEvent) => any;
442
462
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
443
463
  focusOutside: (event: FocusOutsideEvent) => any;
@@ -469,14 +489,14 @@ export declare interface AlertDialogContentProps extends AlertDialogContentProps
469
489
  maxHeight?: string;
470
490
  }
471
491
 
472
- export { AlertDialogDescription }
492
+ export { AlertDialogProps }
473
493
 
474
494
  export { AlertDialogRoot }
475
495
 
476
- export { AlertDialogTitle }
477
-
478
496
  export { AlertDialogTrigger }
479
497
 
498
+ export { AlertDialogTriggerProps }
499
+
480
500
  export declare const Avatar: DefineComponent<AvatarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AvatarProps> & Readonly<{}>, {
481
501
  radius: RadiusType;
482
502
  size: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
@@ -624,7 +644,7 @@ declare interface CheckboxGroupItemProps extends CheckboxProps {
624
644
  value: string;
625
645
  }
626
646
 
627
- export declare const CheckboxGroupRoot: __VLS_WithTemplateSlots_15<DefineComponent< {
647
+ export declare const CheckboxGroupRoot: __VLS_WithTemplateSlots_17<DefineComponent< {
628
648
  modelValue?: any[];
629
649
  } & CheckboxGroupRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
630
650
  "update:modelValue": (value: any[]) => any;
@@ -656,7 +676,7 @@ declare interface ChevronIconProps {
656
676
  arrowTransform?: 'right-down' | 'right-up' | 'up-down' | 'down-up';
657
677
  }
658
678
 
659
- export declare const CollapsibleContent: __VLS_WithTemplateSlots_40<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
679
+ export declare const CollapsibleContent: __VLS_WithTemplateSlots_42<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
660
680
 
661
681
  export { CollapsibleRoot }
662
682
 
@@ -684,7 +704,7 @@ export declare interface ColorFieldProps {
684
704
 
685
705
  export declare type ColorType = 'gray' | 'gold' | 'bronze' | 'brown' | 'yellow' | 'amber' | 'orange' | 'tomato' | 'red' | 'ruby' | 'crimson' | 'pink' | 'plum' | 'purple' | 'violet' | 'iris' | 'indigo' | 'blue' | 'cyan' | 'teal' | 'jade' | 'green' | 'grass' | 'lime' | 'mint' | 'sky';
686
706
 
687
- export declare const ComboboxContent: __VLS_WithTemplateSlots_27<DefineComponent<ComboboxContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
707
+ export declare const ComboboxContent: __VLS_WithTemplateSlots_29<DefineComponent<ComboboxContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
688
708
  escapeKeyDown: (event: KeyboardEvent) => any;
689
709
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
690
710
  focusOutside: (event: FocusOutsideEvent) => any;
@@ -710,7 +730,7 @@ export { ComboboxEmpty }
710
730
 
711
731
  export { ComboboxGroup }
712
732
 
713
- export declare const ComboboxInput: __VLS_WithTemplateSlots_26<DefineComponent<ComboboxInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
733
+ export declare const ComboboxInput: __VLS_WithTemplateSlots_28<DefineComponent<ComboboxInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
714
734
  "update:modelValue": (args_0: string) => any;
715
735
  }, string, PublicProps, Readonly<ComboboxInputProps> & Readonly<{
716
736
  "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
@@ -728,13 +748,13 @@ declare interface ComboboxInputProps extends ComboboxInputProps_2 {
728
748
  placeholder?: string;
729
749
  }
730
750
 
731
- export declare const ComboboxItem: __VLS_WithTemplateSlots_28<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
751
+ export declare const ComboboxItem: __VLS_WithTemplateSlots_30<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
732
752
 
733
- export declare const ComboboxLabel: __VLS_WithTemplateSlots_29<DefineComponent<ComboboxLabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ComboboxLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
753
+ export declare const ComboboxLabel: __VLS_WithTemplateSlots_31<DefineComponent<ComboboxLabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ComboboxLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
734
754
  default?(_: {}): any;
735
755
  }>;
736
756
 
737
- export declare const ComboboxRoot: __VLS_WithTemplateSlots_25<DefineComponent<ComboboxRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
757
+ export declare const ComboboxRoot: __VLS_WithTemplateSlots_27<DefineComponent<ComboboxRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
738
758
  "update:modelValue": (value: AcceptableValue) => any;
739
759
  "update:open": (value: boolean) => any;
740
760
  highlight: (payload: {
@@ -761,7 +781,23 @@ export declare interface ComboboxRootProps extends ComboboxRootProps_2 {
761
781
  highContrast?: boolean;
762
782
  }
763
783
 
764
- declare const _default: __VLS_WithTemplateSlots_30<DefineComponent<RadioGroupRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
784
+ declare const _default: __VLS_WithTemplateSlots_10<DefineComponent<PrimitiveProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PrimitiveProps> & Readonly<{}>, {
785
+ as: AsTag | Component;
786
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
787
+ default?(_: {}): any;
788
+ }>;
789
+ export { _default as AlertDialogTitle }
790
+ export { _default as DialogTitle }
791
+
792
+ declare const _default_2: __VLS_WithTemplateSlots_11<DefineComponent<PrimitiveProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PrimitiveProps> & Readonly<{}>, {
793
+ as: AsTag | Component;
794
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
795
+ default?(_: {}): any;
796
+ }>;
797
+ export { _default_2 as AlertDialogDescription }
798
+ export { _default_2 as DialogDescription }
799
+
800
+ declare const _default_3: __VLS_WithTemplateSlots_32<DefineComponent<RadioGroupRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
765
801
  "update:modelValue": (payload: string) => any;
766
802
  }, string, PublicProps, Readonly<RadioGroupRootProps> & Readonly<{
767
803
  "onUpdate:modelValue"?: ((payload: string) => any) | undefined;
@@ -771,12 +807,14 @@ variant: "surface" | "soft";
771
807
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
772
808
  default?(_: {}): any;
773
809
  }>;
774
- export { _default as RadioCardsRoot }
775
- export { _default as RadioGroupRoot }
810
+ export { _default_3 as RadioCardsRoot }
811
+ export { _default_3 as RadioGroupRoot }
776
812
 
777
813
  export { DialogClose }
778
814
 
779
- export declare const DialogContent: __VLS_WithTemplateSlots_11<DefineComponent<DialogContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
815
+ export { DialogCloseProps }
816
+
817
+ export declare const DialogContent: __VLS_WithTemplateSlots_13<DefineComponent<DialogContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
780
818
  escapeKeyDown: (event: KeyboardEvent) => any;
781
819
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
782
820
  focusOutside: (event: FocusOutsideEvent) => any;
@@ -809,15 +847,15 @@ export declare interface DialogContentProps extends DialogContentProps_2 {
809
847
  closeIcon?: boolean;
810
848
  }
811
849
 
812
- export { DialogDescription }
813
-
814
850
  export { DialogRoot }
815
851
 
816
- export { DialogTitle }
852
+ export { DialogRootProps }
817
853
 
818
854
  export { DialogTrigger }
819
855
 
820
- export declare const DropdownMenuContent: __VLS_WithTemplateSlots_12<DefineComponent<DropdownMenuContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
856
+ export { DialogTriggerProps }
857
+
858
+ export declare const DropdownMenuContent: __VLS_WithTemplateSlots_14<DefineComponent<DropdownMenuContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
821
859
  escapeKeyDown: (event: KeyboardEvent) => any;
822
860
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
823
861
  focusOutside: (event: FocusOutsideEvent) => any;
@@ -849,7 +887,7 @@ export declare interface DropdownMenuContentProps extends DropdownMenuContentPro
849
887
  highContrast?: boolean;
850
888
  }
851
889
 
852
- export declare const DropdownMenuItem: __VLS_WithTemplateSlots_13<DefineComponent<DropdownMenuItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
890
+ export declare const DropdownMenuItem: __VLS_WithTemplateSlots_15<DefineComponent<DropdownMenuItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
853
891
  select: (event: Event) => any;
854
892
  }, string, PublicProps, Readonly<DropdownMenuItemProps> & Readonly<{
855
893
  onSelect?: ((event: Event) => any) | undefined;
@@ -914,6 +952,8 @@ export declare interface IconCircleProps {
914
952
  icon: string;
915
953
  }
916
954
 
955
+ export declare const injectThemeContext: <T extends ThemeProviderContext | null | undefined = ThemeProviderContext>(fallback?: T | undefined) => T extends null ? ThemeProviderContext | null : ThemeProviderContext;
956
+
917
957
  export declare const Inset: __VLS_WithTemplateSlots_3<DefineComponent<InsetProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<InsetProps> & Readonly<{}>, {
918
958
  side: InsetSide;
919
959
  clip: "border-box" | "padding-box";
@@ -928,7 +968,7 @@ export declare interface InsetProps {
928
968
 
929
969
  declare type InsetSide = 'all' | 'x' | 'y' | 'top' | 'bottom' | 'left' | 'right';
930
970
 
931
- export declare const Pagination: __VLS_WithTemplateSlots_41<DefineComponent< {
971
+ export declare const Pagination: __VLS_WithTemplateSlots_43<DefineComponent< {
932
972
  page: number;
933
973
  } & PaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
934
974
  "update:page": (value: number) => any;
@@ -983,7 +1023,7 @@ declare interface PlusMinusIconProps {
983
1023
 
984
1024
  export { PopoverClose }
985
1025
 
986
- export declare const PopoverContent: __VLS_WithTemplateSlots_14<DefineComponent<PopoverContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1026
+ export declare const PopoverContent: __VLS_WithTemplateSlots_16<DefineComponent<PopoverContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
987
1027
  escapeKeyDown: (event: KeyboardEvent) => any;
988
1028
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
989
1029
  focusOutside: (event: FocusOutsideEvent) => any;
@@ -1012,6 +1052,8 @@ export { PopoverRoot }
1012
1052
 
1013
1053
  export { PopoverTrigger }
1014
1054
 
1055
+ export declare const provideThemeContext: (contextValue: ThemeProviderContext) => ThemeProviderContext;
1056
+
1015
1057
  export declare const Quota: DefineComponent<QuotaProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<QuotaProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1016
1058
 
1017
1059
  export declare interface QuotaProps {
@@ -1032,11 +1074,11 @@ size: "1" | "2" | "3";
1032
1074
  variant: "surface" | "soft";
1033
1075
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLInputElement>;
1034
1076
 
1035
- export declare const RadioCardsItem: __VLS_WithTemplateSlots_32<DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<RadioGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
1077
+ export declare const RadioCardsItem: __VLS_WithTemplateSlots_34<DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<RadioGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
1036
1078
  default?(_: {}): any;
1037
1079
  }>;
1038
1080
 
1039
- export declare const RadioGroupItem: __VLS_WithTemplateSlots_31<DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<RadioGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>, {
1081
+ export declare const RadioGroupItem: __VLS_WithTemplateSlots_33<DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<RadioGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>, {
1040
1082
  default?(_: {}): any;
1041
1083
  }>;
1042
1084
 
@@ -1059,7 +1101,7 @@ export declare interface RadioProps {
1059
1101
 
1060
1102
  export { RadioTabsItem }
1061
1103
 
1062
- export declare const RadioTabsList: __VLS_WithTemplateSlots_33<DefineComponent<RadioTabsListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1104
+ export declare const RadioTabsList: __VLS_WithTemplateSlots_35<DefineComponent<RadioTabsListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1063
1105
  "update:modelValue": (payload: string) => any;
1064
1106
  }, string, PublicProps, Readonly<RadioTabsListProps> & Readonly<{
1065
1107
  "onUpdate:modelValue"?: ((payload: string) => any) | undefined;
@@ -1101,7 +1143,7 @@ export declare interface ScrollAreaProps extends ScrollAreaRootProps {
1101
1143
  scrollbars?: 'vertical' | 'horizontal' | 'both';
1102
1144
  }
1103
1145
 
1104
- export declare const SelectContent: __VLS_WithTemplateSlots_21<DefineComponent<SelectContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelectContentProps> & Readonly<{}>, {
1146
+ export declare const SelectContent: __VLS_WithTemplateSlots_23<DefineComponent<SelectContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelectContentProps> & Readonly<{}>, {
1105
1147
  variant: "solid" | "soft";
1106
1148
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
1107
1149
  default?(_: {}): any;
@@ -1114,19 +1156,19 @@ export declare interface SelectContentProps extends SelectContentProps_2 {
1114
1156
 
1115
1157
  export { SelectGroup }
1116
1158
 
1117
- export declare const SelectItem: __VLS_WithTemplateSlots_23<DefineComponent<SelectItemProps<AcceptableValue>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelectItemProps<AcceptableValue>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
1159
+ export declare const SelectItem: __VLS_WithTemplateSlots_25<DefineComponent<SelectItemProps<AcceptableValue>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelectItemProps<AcceptableValue>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
1118
1160
  default?(_: {}): any;
1119
1161
  }>;
1120
1162
 
1121
1163
  export { SelectItemProps }
1122
1164
 
1123
- export declare const SelectLabel: __VLS_WithTemplateSlots_24<DefineComponent<SelectLabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelectLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
1165
+ export declare const SelectLabel: __VLS_WithTemplateSlots_26<DefineComponent<SelectLabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelectLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
1124
1166
  default?(_: {}): any;
1125
1167
  }>;
1126
1168
 
1127
1169
  export { SelectLabelProps }
1128
1170
 
1129
- export declare const SelectRoot: __VLS_WithTemplateSlots_20<DefineComponent<SelectRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1171
+ export declare const SelectRoot: __VLS_WithTemplateSlots_22<DefineComponent<SelectRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1130
1172
  "update:modelValue": (value: AcceptableValue) => any;
1131
1173
  "update:open": (value: boolean) => any;
1132
1174
  }, string, PublicProps, Readonly<SelectRootProps> & Readonly<{
@@ -1146,7 +1188,7 @@ export declare interface SelectRootProps extends SelectRootProps_2 {
1146
1188
 
1147
1189
  export declare const SelectSeparator: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
1148
1190
 
1149
- export declare const SelectTrigger: __VLS_WithTemplateSlots_22<DefineComponent<SelectTriggerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelectTriggerProps> & Readonly<{}>, {
1191
+ export declare const SelectTrigger: __VLS_WithTemplateSlots_24<DefineComponent<SelectTriggerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelectTriggerProps> & Readonly<{}>, {
1150
1192
  variant: "surface" | "soft" | "ghost";
1151
1193
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
1152
1194
  default?(_: {
@@ -1221,7 +1263,7 @@ export declare interface SwitchProps extends SwitchRootProps {
1221
1263
  radius?: RadiusType;
1222
1264
  }
1223
1265
 
1224
- export declare const Table: __VLS_WithTemplateSlots_42<DefineComponent<TableProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TableProps> & Readonly<{}>, {
1266
+ export declare const Table: __VLS_WithTemplateSlots_44<DefineComponent<TableProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TableProps> & Readonly<{}>, {
1225
1267
  size: "1" | "2" | "3";
1226
1268
  variant: "surface" | "ghost";
1227
1269
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
@@ -1236,7 +1278,7 @@ export declare interface TableProps {
1236
1278
 
1237
1279
  export { TabsContent }
1238
1280
 
1239
- export declare const TabsList: __VLS_WithTemplateSlots_34<DefineComponent<TabsListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TabsListProps> & Readonly<{}>, {
1281
+ export declare const TabsList: __VLS_WithTemplateSlots_36<DefineComponent<TabsListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TabsListProps> & Readonly<{}>, {
1240
1282
  size: "1" | "2";
1241
1283
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
1242
1284
  default?(_: {}): any;
@@ -1250,7 +1292,7 @@ export declare interface TabsListProps {
1250
1292
 
1251
1293
  export { TabsRoot }
1252
1294
 
1253
- export declare const TabsTrigger: __VLS_WithTemplateSlots_35<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
1295
+ export declare const TabsTrigger: __VLS_WithTemplateSlots_37<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
1254
1296
 
1255
1297
  export declare const TextArea: DefineComponent< {
1256
1298
  modelValue?: string;
@@ -1274,7 +1316,7 @@ export declare interface TextAreaProps {
1274
1316
  radius?: RadiusType;
1275
1317
  }
1276
1318
 
1277
- export declare const TextField: __VLS_WithTemplateSlots_19<DefineComponent< {
1319
+ export declare const TextField: __VLS_WithTemplateSlots_21<DefineComponent< {
1278
1320
  modelValue?: any;
1279
1321
  } & TextFieldProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1280
1322
  "update:modelValue": (value: any) => any;
@@ -1314,6 +1356,14 @@ as: AsTag | Component;
1314
1356
  default?(_: {}): any;
1315
1357
  }>;
1316
1358
 
1359
+ declare interface ThemeProviderContext {
1360
+ accentColor: Ref<ColorType>;
1361
+ radius: Ref<RadiusType>;
1362
+ grayColor: Ref<GrayColorType>;
1363
+ scaling: Ref<ScalingType>;
1364
+ hasBackground: Ref<boolean>;
1365
+ }
1366
+
1317
1367
  export declare interface ThemeProviderProps extends PrimitiveProps {
1318
1368
  accentColor?: ColorType;
1319
1369
  radius?: RadiusType;
@@ -1322,7 +1372,7 @@ export declare interface ThemeProviderProps extends PrimitiveProps {
1322
1372
  hasBackground?: boolean;
1323
1373
  }
1324
1374
 
1325
- export declare const Toggle: __VLS_WithTemplateSlots_16<DefineComponent<ToggleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1375
+ export declare const Toggle: __VLS_WithTemplateSlots_18<DefineComponent<ToggleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1326
1376
  "update:modelValue": (value: boolean) => any;
1327
1377
  }, string, PublicProps, Readonly<ToggleProps> & Readonly<{
1328
1378
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
@@ -1333,9 +1383,9 @@ variant: "solid" | "soft" | "ghost";
1333
1383
  default?(_: {}): any;
1334
1384
  }>;
1335
1385
 
1336
- export declare const ToggleGroupItem: __VLS_WithTemplateSlots_18<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
1386
+ export declare const ToggleGroupItem: __VLS_WithTemplateSlots_20<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
1337
1387
 
1338
- export declare const ToggleGroupRoot: __VLS_WithTemplateSlots_17<DefineComponent<ToggleGroupRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1388
+ export declare const ToggleGroupRoot: __VLS_WithTemplateSlots_19<DefineComponent<ToggleGroupRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1339
1389
  "update:modelValue": (payload: AcceptableValue | AcceptableValue[]) => any;
1340
1390
  }, string, PublicProps, Readonly<ToggleGroupRootProps> & Readonly<{
1341
1391
  "onUpdate:modelValue"?: ((payload: AcceptableValue | AcceptableValue[]) => any) | undefined;
@@ -1362,7 +1412,7 @@ export declare interface ToggleProps extends ToggleProps_2 {
1362
1412
  radius?: RadiusType;
1363
1413
  }
1364
1414
 
1365
- export declare const Tooltip: __VLS_WithTemplateSlots_43<DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
1415
+ export declare const Tooltip: __VLS_WithTemplateSlots_45<DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
1366
1416
  side: "top" | "bottom" | "left" | "right";
1367
1417
  sideOffset: number;
1368
1418
  avoidCollisions: boolean;
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, toRefs, createBlock, openBlock, unref, withCtx, createVNode, renderSlot, computed, normalizeClass, createTextVNode, toDisplayString, createElementBlock, mergeProps, createCommentVNode, createElementVNode, mergeModels, ref, useModel, onMounted, onBeforeUnmount, useTemplateRef, withDirectives, isRef, vModelDynamic, vModelText, normalizeStyle, normalizeProps, guardReactiveProps, Fragment, watch, renderList, withModifiers, vModelRadio } from "vue";
2
- import { createContext, TooltipProvider, Primitive, useForwardProps, useEmitAsProps, AvatarRoot, AvatarImage, AvatarFallback, ScrollAreaRoot, ScrollAreaViewport, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaCorner, AlertDialogPortal, AlertDialogOverlay, AlertDialogContent, DialogPortal, DialogOverlay, DialogContent, DialogClose, useForwardExpose, DropdownMenuPortal, DropdownMenuContent, DropdownMenuItem, PopoverPortal, PopoverContent, SwitchRoot, SwitchThumb, CheckboxRoot, CheckboxIndicator, Toggle, ToggleGroupRoot, ToggleGroupItem, SelectRoot, SelectPortal, SelectContent, SelectViewport, SelectTrigger, SelectValue, SelectIcon, SelectItem, SelectItemIndicator, SelectItemText, SelectLabel, ComboboxRoot, injectComboboxRootContext as injectComboboxRootContext$1, useForwardPropsEmits as useForwardPropsEmits$1, ComboboxAnchor, ComboboxInput, ComboboxTrigger, ComboboxPortal, ComboboxContent, ComboboxViewport, ComboboxItem, ComboboxItemIndicator, ComboboxLabel, RadioGroupRoot, RadioGroupItem, TabsList, TabsIndicator, TabsTrigger, EditableRoot, EditableArea, EditablePreview, EditableInput, AccordionRoot, AccordionItem, AccordionContent, AccordionTrigger, CollapsibleContent, TooltipRoot, TooltipTrigger, TooltipPortal, TooltipContent, TooltipArrow, ProgressRoot, ProgressIndicator } from "reka-ui";
3
- import { AlertDialogAction, AlertDialogCancel, AlertDialogDescription, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, CollapsibleRoot, CollapsibleTrigger, ComboboxEmpty, ComboboxGroup, DialogClose as DialogClose2, DialogDescription, DialogRoot, DialogTitle, DialogTrigger, DropdownMenuRoot, DropdownMenuTrigger, PopoverClose, PopoverRoot, PopoverTrigger, RadioGroupItem as RadioGroupItem2, SelectGroup, TabsContent, TabsRoot } from "reka-ui";
2
+ import { createContext, TooltipProvider, Primitive, useForwardProps, useEmitAsProps, AvatarRoot, AvatarImage, AvatarFallback, ScrollAreaRoot, ScrollAreaViewport, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaCorner, injectDialogRootContext, useForwardExpose, DialogPortal, DialogOverlay, DialogContent, DialogClose, AlertDialogPortal, AlertDialogOverlay, AlertDialogContent, DropdownMenuPortal, DropdownMenuContent, DropdownMenuItem, PopoverPortal, PopoverContent, SwitchRoot, SwitchThumb, CheckboxRoot, CheckboxIndicator, Toggle, ToggleGroupRoot, ToggleGroupItem, SelectRoot, SelectPortal, SelectContent, SelectViewport, SelectTrigger, SelectValue, SelectIcon, SelectItem, SelectItemIndicator, SelectItemText, SelectLabel, ComboboxRoot, injectComboboxRootContext as injectComboboxRootContext$1, useForwardPropsEmits as useForwardPropsEmits$1, ComboboxAnchor, ComboboxInput, ComboboxTrigger, ComboboxPortal, ComboboxContent, ComboboxViewport, ComboboxItem, ComboboxItemIndicator, ComboboxLabel, RadioGroupRoot, RadioGroupItem, TabsList, TabsIndicator, TabsTrigger, EditableRoot, EditableArea, EditablePreview, EditableInput, AccordionRoot, AccordionItem, AccordionContent, AccordionTrigger, CollapsibleContent, TooltipRoot, TooltipTrigger, TooltipPortal, TooltipContent, TooltipArrow, ProgressRoot, ProgressIndicator } from "reka-ui";
3
+ import { AlertDialogAction, AlertDialogCancel, AlertDialogRoot, AlertDialogTrigger, CollapsibleRoot, CollapsibleTrigger, ComboboxEmpty, ComboboxGroup, DialogClose as DialogClose2, DialogRoot, DialogTrigger, DropdownMenuRoot, DropdownMenuTrigger, PopoverClose, PopoverRoot, PopoverTrigger, RadioGroupItem as RadioGroupItem2, SelectGroup, TabsContent, TabsRoot } from "reka-ui";
4
4
  import { Icon } from "@iconify/vue";
5
5
  import { Icon as Icon2 } from "@iconify/vue";
6
6
  const [injectThemeContext, provideThemeContext] = createContext("ThemeProvider");
7
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
7
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
8
8
  __name: "ThemeProvider",
9
9
  props: {
10
10
  accentColor: { default: "indigo" },
@@ -106,7 +106,7 @@ function kebabize(str) {
106
106
  function _kebabReplace(str, ofs) {
107
107
  return (ofs ? "-" : "") + str.toLowerCase();
108
108
  }
109
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
109
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
110
110
  __name: "Avatar",
111
111
  props: {
112
112
  alt: {},
@@ -158,7 +158,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
158
158
  };
159
159
  }
160
160
  });
161
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
161
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
162
162
  __name: "Badge",
163
163
  props: {
164
164
  variant: { default: "soft" },
@@ -190,7 +190,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
190
190
  };
191
191
  }
192
192
  });
193
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
193
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
194
194
  __name: "Inset",
195
195
  props: {
196
196
  side: { default: "all" },
@@ -214,7 +214,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
214
214
  };
215
215
  }
216
216
  });
217
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
217
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
218
218
  __name: "Card",
219
219
  props: {
220
220
  variant: { default: "surface" },
@@ -243,7 +243,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
243
243
  };
244
244
  }
245
245
  });
246
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
246
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
247
247
  __name: "CardHead",
248
248
  props: {
249
249
  color: {},
@@ -266,7 +266,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
266
266
  };
267
267
  }
268
268
  });
269
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
269
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
270
270
  __name: "Button",
271
271
  props: {
272
272
  variant: { default: "solid" },
@@ -301,7 +301,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
301
301
  };
302
302
  }
303
303
  });
304
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
304
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
305
305
  __name: "IconButton",
306
306
  props: {
307
307
  variant: {},
@@ -317,7 +317,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
317
317
  const props = __props;
318
318
  const forwarded = useForwardProps(props);
319
319
  return (_ctx, _cache) => {
320
- return openBlock(), createBlock(_sfc_main$S, mergeProps({ class: "ui-IconButton" }, unref(forwarded)), {
320
+ return openBlock(), createBlock(_sfc_main$U, mergeProps({ class: "ui-IconButton" }, unref(forwarded)), {
321
321
  default: withCtx(() => [
322
322
  renderSlot(_ctx.$slots, "default")
323
323
  ]),
@@ -335,7 +335,7 @@ const BRAND_ICONS = {
335
335
  slack: "logos:slack-icon",
336
336
  figma: "logos:figma"
337
337
  };
338
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
338
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
339
339
  __name: "SocialButton",
340
340
  props: {
341
341
  brand: {},
@@ -373,7 +373,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
373
373
  };
374
374
  }
375
375
  });
376
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
376
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
377
377
  __name: "ScrollArea",
378
378
  props: {
379
379
  size: { default: "1" },
@@ -437,6 +437,52 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
437
437
  };
438
438
  }
439
439
  });
440
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
441
+ __name: "DialogTitle",
442
+ props: {
443
+ asChild: { type: Boolean },
444
+ as: { default: "h2" }
445
+ },
446
+ setup(__props) {
447
+ const props = __props;
448
+ const rootContext = injectDialogRootContext();
449
+ useForwardExpose();
450
+ return (_ctx, _cache) => {
451
+ return openBlock(), createBlock(unref(Primitive), mergeProps(props, {
452
+ id: unref(rootContext).titleId,
453
+ class: "ui-DialogTitle"
454
+ }), {
455
+ default: withCtx(() => [
456
+ renderSlot(_ctx.$slots, "default")
457
+ ]),
458
+ _: 3
459
+ }, 16, ["id"]);
460
+ };
461
+ }
462
+ });
463
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
464
+ __name: "DialogDescription",
465
+ props: {
466
+ asChild: { type: Boolean },
467
+ as: { default: "p" }
468
+ },
469
+ setup(__props) {
470
+ const props = __props;
471
+ useForwardExpose();
472
+ const rootContext = injectDialogRootContext();
473
+ return (_ctx, _cache) => {
474
+ return openBlock(), createBlock(unref(Primitive), mergeProps(props, {
475
+ id: unref(rootContext).descriptionId,
476
+ class: "ui-DialogDescription"
477
+ }), {
478
+ default: withCtx(() => [
479
+ renderSlot(_ctx.$slots, "default")
480
+ ]),
481
+ _: 3
482
+ }, 16, ["id"]);
483
+ };
484
+ }
485
+ });
440
486
  const _sfc_main$O = /* @__PURE__ */ defineComponent({
441
487
  __name: "ThemeWrapper",
442
488
  props: {
@@ -469,16 +515,17 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
469
515
  ...{
470
516
  inheritAttrs: false
471
517
  },
472
- __name: "AlertDialogContent",
518
+ __name: "DialogContent",
473
519
  props: {
474
520
  to: {},
475
521
  size: { default: "3" },
476
522
  width: {},
477
523
  minWidth: {},
478
- maxWidth: { default: "450px" },
524
+ maxWidth: { default: "600px" },
479
525
  height: {},
480
526
  minHeight: {},
481
527
  maxHeight: {},
528
+ closeIcon: { type: Boolean },
482
529
  forceMount: { type: Boolean },
483
530
  disableOutsidePointerEvents: { type: Boolean },
484
531
  asChild: { type: Boolean },
@@ -498,20 +545,21 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
498
545
  "maxWidth",
499
546
  "height",
500
547
  "minHeight",
501
- "maxHeight"
548
+ "maxHeight",
549
+ "closeIcon"
502
550
  ]);
503
551
  return (_ctx, _cache) => {
504
- return openBlock(), createBlock(unref(AlertDialogPortal), {
552
+ return openBlock(), createBlock(unref(DialogPortal), {
505
553
  to: props.to
506
554
  }, {
507
555
  default: withCtx(() => [
508
556
  createVNode(_sfc_main$O, null, {
509
557
  default: withCtx(() => [
510
- createVNode(unref(AlertDialogOverlay), { class: "ui-DialogOverlay" }, {
558
+ createVNode(unref(DialogOverlay), { class: "ui-DialogOverlay" }, {
511
559
  default: withCtx(() => [
512
560
  createElementVNode("div", _hoisted_1$j, [
513
561
  createElementVNode("div", _hoisted_2$7, [
514
- createVNode(unref(AlertDialogContent), mergeProps({
562
+ createVNode(unref(DialogContent), mergeProps({
515
563
  class: ["ui-DialogContent", `r-size-${props.size}`]
516
564
  }, {
517
565
  ..._ctx.$attrs,
@@ -527,6 +575,20 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
527
575
  }
528
576
  }), {
529
577
  default: withCtx(() => [
578
+ props.closeIcon ? (openBlock(), createBlock(_sfc_main$T, {
579
+ key: 0,
580
+ class: "ui-DialogContentClose",
581
+ as: unref(DialogClose),
582
+ type: "button",
583
+ variant: "ghost",
584
+ color: "gray",
585
+ "aria-label": "Close"
586
+ }, {
587
+ default: withCtx(() => [
588
+ createVNode(unref(Icon), { icon: "lucide:x" })
589
+ ]),
590
+ _: 1
591
+ }, 8, ["as"])) : createCommentVNode("", true),
530
592
  renderSlot(_ctx.$slots, "default")
531
593
  ]),
532
594
  _: 3
@@ -551,17 +613,16 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
551
613
  ...{
552
614
  inheritAttrs: false
553
615
  },
554
- __name: "DialogContent",
616
+ __name: "AlertDialogContent",
555
617
  props: {
556
618
  to: {},
557
619
  size: { default: "3" },
558
620
  width: {},
559
621
  minWidth: {},
560
- maxWidth: { default: "600px" },
622
+ maxWidth: { default: "450px" },
561
623
  height: {},
562
624
  minHeight: {},
563
625
  maxHeight: {},
564
- closeIcon: { type: Boolean },
565
626
  forceMount: { type: Boolean },
566
627
  disableOutsidePointerEvents: { type: Boolean },
567
628
  asChild: { type: Boolean },
@@ -581,21 +642,20 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
581
642
  "maxWidth",
582
643
  "height",
583
644
  "minHeight",
584
- "maxHeight",
585
- "closeIcon"
645
+ "maxHeight"
586
646
  ]);
587
647
  return (_ctx, _cache) => {
588
- return openBlock(), createBlock(unref(DialogPortal), {
648
+ return openBlock(), createBlock(unref(AlertDialogPortal), {
589
649
  to: props.to
590
650
  }, {
591
651
  default: withCtx(() => [
592
652
  createVNode(_sfc_main$O, null, {
593
653
  default: withCtx(() => [
594
- createVNode(unref(DialogOverlay), { class: "ui-DialogOverlay" }, {
654
+ createVNode(unref(AlertDialogOverlay), { class: "ui-DialogOverlay" }, {
595
655
  default: withCtx(() => [
596
656
  createElementVNode("div", _hoisted_1$i, [
597
657
  createElementVNode("div", _hoisted_2$6, [
598
- createVNode(unref(DialogContent), mergeProps({
658
+ createVNode(unref(AlertDialogContent), mergeProps({
599
659
  class: ["ui-DialogContent", `r-size-${props.size}`]
600
660
  }, {
601
661
  ..._ctx.$attrs,
@@ -611,20 +671,6 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
611
671
  }
612
672
  }), {
613
673
  default: withCtx(() => [
614
- props.closeIcon ? (openBlock(), createBlock(_sfc_main$R, {
615
- key: 0,
616
- class: "ui-DialogContentClose",
617
- as: unref(DialogClose),
618
- type: "button",
619
- variant: "ghost",
620
- color: "gray",
621
- "aria-label": "Close"
622
- }, {
623
- default: withCtx(() => [
624
- createVNode(unref(Icon), { icon: "lucide:x" })
625
- ]),
626
- _: 1
627
- }, 8, ["as"])) : createCommentVNode("", true),
628
674
  renderSlot(_ctx.$slots, "default")
629
675
  ]),
630
676
  _: 3
@@ -707,7 +753,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
707
753
  class: ["ui-PopperContent ui-MenuContent", `r-size-${props.size}`]
708
754
  }), {
709
755
  default: withCtx(() => [
710
- createVNode(_sfc_main$P, { type: "auto" }, {
756
+ createVNode(_sfc_main$R, { type: "auto" }, {
711
757
  default: withCtx(() => [
712
758
  createElementVNode("div", _hoisted_1$h, [
713
759
  renderSlot(_ctx.$slots, "default")
@@ -2144,7 +2190,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
2144
2190
  "data-high-contrast": unref(rootContext).highContrast?.value
2145
2191
  }, { ...unref(forwarded), asChild: false }), {
2146
2192
  default: withCtx(() => [
2147
- createVNode(_sfc_main$U, {
2193
+ createVNode(_sfc_main$W, {
2148
2194
  "as-child": unref(forwarded).asChild
2149
2195
  }, {
2150
2196
  default: withCtx(() => [
@@ -2543,7 +2589,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2543
2589
  return openBlock(), createElementBlock("div", {
2544
2590
  class: normalizeClass(["ui-Pagination", resetClass.value])
2545
2591
  }, [
2546
- pagination.value.prev ? (openBlock(), createBlock(_sfc_main$R, mergeProps({ key: 0 }, buttonProps.value, {
2592
+ pagination.value.prev ? (openBlock(), createBlock(_sfc_main$T, mergeProps({ key: 0 }, buttonProps.value, {
2547
2593
  "aria-label": "Previous",
2548
2594
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => selectPage(pagination.value.prev), ["prevent"]))
2549
2595
  }), {
@@ -2556,7 +2602,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2556
2602
  ]),
2557
2603
  _: 3
2558
2604
  }, 16)) : createCommentVNode("", true),
2559
- createVNode(_sfc_main$S, mergeProps(buttonProps.value, {
2605
+ createVNode(_sfc_main$U, mergeProps(buttonProps.value, {
2560
2606
  disabled: page.value === 1,
2561
2607
  "aria-current": "page",
2562
2608
  onClick: _cache[1] || (_cache[1] = withModifiers(($event) => selectPage(1), ["prevent"]))
@@ -2568,7 +2614,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2568
2614
  ]),
2569
2615
  _: 3
2570
2616
  }, 16, ["disabled"]),
2571
- pagination.value.hasLeftEdge ? (openBlock(), createBlock(_sfc_main$R, mergeProps({ key: 1 }, buttonProps.value, {
2617
+ pagination.value.hasLeftEdge ? (openBlock(), createBlock(_sfc_main$T, mergeProps({ key: 1 }, buttonProps.value, {
2572
2618
  onClick: withModifiers(selectLeft, ["prevent"])
2573
2619
  }), {
2574
2620
  default: withCtx(() => [
@@ -2581,7 +2627,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2581
2627
  _: 3
2582
2628
  }, 16)) : createCommentVNode("", true),
2583
2629
  (openBlock(true), createElementBlock(Fragment, null, renderList(pagination.value.pageList, (p) => {
2584
- return openBlock(), createBlock(_sfc_main$S, mergeProps({ key: p }, { ref_for: true }, buttonProps.value, {
2630
+ return openBlock(), createBlock(_sfc_main$U, mergeProps({ key: p }, { ref_for: true }, buttonProps.value, {
2585
2631
  disabled: p === page.value,
2586
2632
  "aria-current": "page",
2587
2633
  onClick: withModifiers(($event) => selectPage(p), ["prevent"])
@@ -2594,7 +2640,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2594
2640
  _: 2
2595
2641
  }, 1040, ["disabled", "onClick"]);
2596
2642
  }), 128)),
2597
- pagination.value.hasRightEdge ? (openBlock(), createBlock(_sfc_main$R, mergeProps({ key: 2 }, buttonProps.value, {
2643
+ pagination.value.hasRightEdge ? (openBlock(), createBlock(_sfc_main$T, mergeProps({ key: 2 }, buttonProps.value, {
2598
2644
  onClick: withModifiers(selectRight, ["prevent"])
2599
2645
  }), {
2600
2646
  default: withCtx(() => [
@@ -2606,7 +2652,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2606
2652
  ]),
2607
2653
  _: 3
2608
2654
  }, 16)) : createCommentVNode("", true),
2609
- pagination.value.totalPages > 1 ? (openBlock(), createBlock(_sfc_main$S, mergeProps({ key: 3 }, buttonProps.value, {
2655
+ pagination.value.totalPages > 1 ? (openBlock(), createBlock(_sfc_main$U, mergeProps({ key: 3 }, buttonProps.value, {
2610
2656
  disabled: pagination.value.totalPages === page.value,
2611
2657
  "aria-current": "page",
2612
2658
  onClick: _cache[2] || (_cache[2] = withModifiers(($event) => selectPage(pagination.value.totalPages), ["prevent"]))
@@ -2620,7 +2666,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2620
2666
  ]),
2621
2667
  _: 3
2622
2668
  }, 16, ["disabled"])) : createCommentVNode("", true),
2623
- pagination.value.next ? (openBlock(), createBlock(_sfc_main$R, mergeProps({ key: 4 }, buttonProps.value, {
2669
+ pagination.value.next ? (openBlock(), createBlock(_sfc_main$T, mergeProps({ key: 4 }, buttonProps.value, {
2624
2670
  "aria-label": "Next",
2625
2671
  onClick: _cache[3] || (_cache[3] = withModifiers(($event) => selectPage(pagination.value.next), ["prevent"]))
2626
2672
  }), {
@@ -2654,7 +2700,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2654
2700
  "data-size": props.size,
2655
2701
  "data-variant": props.variant
2656
2702
  }, [
2657
- createVNode(_sfc_main$P, null, {
2703
+ createVNode(_sfc_main$R, null, {
2658
2704
  default: withCtx(() => [
2659
2705
  createElementVNode("table", {
2660
2706
  class: "ui-TableContent",
@@ -2899,16 +2945,16 @@ export {
2899
2945
  _sfc_main$9 as AccordionTrigger,
2900
2946
  AlertDialogAction,
2901
2947
  AlertDialogCancel,
2902
- _sfc_main$N as AlertDialogContent,
2903
- AlertDialogDescription,
2948
+ _sfc_main$M as AlertDialogContent,
2949
+ _sfc_main$P as AlertDialogDescription,
2904
2950
  AlertDialogRoot,
2905
- AlertDialogTitle,
2951
+ _sfc_main$Q as AlertDialogTitle,
2906
2952
  AlertDialogTrigger,
2907
- _sfc_main$X as Avatar,
2908
- _sfc_main$W as Badge,
2909
- _sfc_main$S as Button,
2910
- _sfc_main$U as Card,
2911
- _sfc_main$T as CardHead,
2953
+ _sfc_main$Z as Avatar,
2954
+ _sfc_main$Y as Badge,
2955
+ _sfc_main$U as Button,
2956
+ _sfc_main$W as Card,
2957
+ _sfc_main$V as CardHead,
2912
2958
  _sfc_main$H as Checkbox,
2913
2959
  _sfc_main$E as CheckboxGroupControl,
2914
2960
  _sfc_main$F as CheckboxGroupItem,
@@ -2926,10 +2972,10 @@ export {
2926
2972
  _sfc_main$n as ComboboxLabel,
2927
2973
  _sfc_main$r as ComboboxRoot,
2928
2974
  DialogClose2 as DialogClose,
2929
- _sfc_main$M as DialogContent,
2930
- DialogDescription,
2975
+ _sfc_main$N as DialogContent,
2976
+ _sfc_main$P as DialogDescription,
2931
2977
  DialogRoot,
2932
- DialogTitle,
2978
+ _sfc_main$Q as DialogTitle,
2933
2979
  DialogTrigger,
2934
2980
  _sfc_main$L as DropdownMenuContent,
2935
2981
  _sfc_main$K as DropdownMenuItem,
@@ -2937,9 +2983,9 @@ export {
2937
2983
  DropdownMenuTrigger,
2938
2984
  _sfc_main$f as Editable,
2939
2985
  Icon2 as Icon,
2940
- _sfc_main$R as IconButton,
2986
+ _sfc_main$T as IconButton,
2941
2987
  _sfc_main as IconCircle,
2942
- _sfc_main$V as Inset,
2988
+ _sfc_main$X as Inset,
2943
2989
  _sfc_main$7 as Pagination,
2944
2990
  _sfc_main$b as PlusMinusIcon,
2945
2991
  PopoverClose,
@@ -2955,7 +3001,7 @@ export {
2955
3001
  RadioGroupItem2 as RadioTabsItem,
2956
3002
  _sfc_main$i as RadioTabsList,
2957
3003
  _sfc_main$1 as SavingIndicator,
2958
- _sfc_main$P as ScrollArea,
3004
+ _sfc_main$R as ScrollArea,
2959
3005
  _sfc_main$w as SelectContent,
2960
3006
  SelectGroup,
2961
3007
  _sfc_main$u as SelectItem,
@@ -2964,7 +3010,7 @@ export {
2964
3010
  SelectSeparator,
2965
3011
  _sfc_main$v as SelectTrigger,
2966
3012
  _sfc_main$5 as Separator,
2967
- _sfc_main$Q as SocialButton,
3013
+ _sfc_main$S as SocialButton,
2968
3014
  _sfc_main$2 as Spinner,
2969
3015
  _sfc_main$I as Switch,
2970
3016
  _sfc_main$6 as Table,
@@ -2974,9 +3020,11 @@ export {
2974
3020
  _sfc_main$g as TabsTrigger,
2975
3021
  _sfc_main$z as TextArea,
2976
3022
  _sfc_main$A as TextField,
2977
- _sfc_main$Y as ThemeProvider,
3023
+ _sfc_main$_ as ThemeProvider,
2978
3024
  _sfc_main$D as Toggle,
2979
3025
  _sfc_main$B as ToggleGroupItem,
2980
3026
  _sfc_main$C as ToggleGroupRoot,
2981
- _sfc_main$4 as Tooltip
3027
+ _sfc_main$4 as Tooltip,
3028
+ injectThemeContext,
3029
+ provideThemeContext
2982
3030
  };
package/package.json CHANGED
@@ -1,66 +1,38 @@
1
1
  {
2
2
  "name": "@typlog/ui",
3
- "version": "0.11.6",
3
+ "version": "0.11.8",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
- "description": "Themed components for Reka UI.",
6
+ "description": "Themed components for Reka UI with Radix colors.",
7
7
  "author": "Hsiaoming Yang <me@lepture.com>",
8
8
  "repository": {
9
9
  "url": "https://github.com/typlog/ui"
10
10
  },
11
11
  "sideEffects": false,
12
- "module": "./dist/components.js",
13
- "types": "./dist/components.d.ts",
12
+ "module": "./components.js",
13
+ "types": "./components.d.ts",
14
14
  "exports": {
15
15
  ".": {
16
- "types": "./dist/components.d.ts",
17
- "import": "./dist/components.js"
16
+ "types": "./components.d.ts",
17
+ "import": "./components.js"
18
18
  },
19
19
  "./components": {
20
- "types": "./dist/components.d.ts",
21
- "import": "./dist/components.js"
20
+ "types": "./components.d.ts",
21
+ "import": "./components.js"
22
22
  },
23
23
  "./addons": {
24
- "types": "./dist/addons.d.ts",
25
- "import": "./dist/addons.js"
24
+ "types": "./addons.d.ts",
25
+ "import": "./addons.js"
26
26
  },
27
- "./base.css": "./dist/base.css",
28
- "./components.css": "./dist/components.css",
29
- "./addons.css": "./dist/addons.css",
27
+ "./base.css": "./base.css",
28
+ "./components.css": "./components.css",
29
+ "./addons.css": "./addons.css",
30
30
  "./tailwind.css": "./tailwind/index.css",
31
- "./components/": "./dist/components/"
31
+ "./components/": "./components/"
32
32
  },
33
- "scripts": {
34
- "start": "vite",
35
- "build": "npm run build:vue && npm run build:css",
36
- "build:vue": "vite build && node scripts/post-build.mjs",
37
- "build:css": "node scripts/build-css.mjs",
38
- "lint": "eslint src"
39
- },
40
- "files": [
41
- "./LICENSE",
42
- "./dist",
43
- "./tailwind"
44
- ],
45
33
  "dependencies": {
46
34
  "@iconify/vue": "^5.0.0",
47
35
  "reka-ui": "^2.0.0",
48
36
  "vue": "^3.5.0"
49
- },
50
- "devDependencies": {
51
- "@radix-ui/colors": "^3.0.0",
52
- "@tailwindcss/vite": "^4.0.6",
53
- "@types/node": "^24.0.0",
54
- "@vitejs/plugin-vue": "^6.0.0",
55
- "@vue/eslint-config-typescript": "^14.1.0",
56
- "autoprefixer": "^10.4.15",
57
- "eslint": "^9.14.0",
58
- "eslint-plugin-vue": "^10.0.0",
59
- "postcss": "^8.4.30",
60
- "tailwindcss": "^4.0.0",
61
- "typescript": "^5.7.0",
62
- "vite": "^7.0.0",
63
- "vite-plugin-dts": "^4.2.1",
64
- "vue-tsc": "^3.0.0"
65
37
  }
66
- }
38
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 Hsiaoming Yang
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
package/README.md DELETED
@@ -1,9 +0,0 @@
1
- # @typlog/ui
2
-
3
- An open-source Vue component library optimized for fast development,
4
- built on top of Reka UI and Radix Colors.
5
-
6
- ## Credits
7
-
8
- - [Radix UI](https://radix-ui.com/)
9
- - [Reka UI](https://reka-ui.com/)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes