@typlog/ui 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/index.d.ts +1341 -2
  2. package/dist/index.js +374 -369
  3. package/dist/style.css +1 -1
  4. package/package.json +2 -2
  5. package/dist/components/accordion/AccordionContent.d.ts +0 -18
  6. package/dist/components/accordion/AccordionItem.d.ts +0 -18
  7. package/dist/components/accordion/AccordionRoot.d.ts +0 -19
  8. package/dist/components/accordion/AccordionTrigger.d.ts +0 -15
  9. package/dist/components/accordion/index.d.ts +0 -5
  10. package/dist/components/addons/Turnstile.d.ts +0 -32
  11. package/dist/components/addons/iconify-collection/IconifyCollection.d.ts +0 -13
  12. package/dist/components/addons/iconify-collection/IconifySample.d.ts +0 -13
  13. package/dist/components/addons/index.d.ts +0 -2
  14. package/dist/components/alert/AlertDialogContent.d.ts +0 -56
  15. package/dist/components/alert/index.d.ts +0 -2
  16. package/dist/components/avatar/Avatar.d.ts +0 -16
  17. package/dist/components/avatar/index.d.ts +0 -1
  18. package/dist/components/badge/Badge.d.ts +0 -24
  19. package/dist/components/badge/index.d.ts +0 -1
  20. package/dist/components/button/Button.d.ts +0 -24
  21. package/dist/components/button/IconButton.d.ts +0 -18
  22. package/dist/components/button/SocialButton.d.ts +0 -21
  23. package/dist/components/button/index.d.ts +0 -3
  24. package/dist/components/card/Card.d.ts +0 -20
  25. package/dist/components/card/CardHead.d.ts +0 -24
  26. package/dist/components/card/index.d.ts +0 -2
  27. package/dist/components/checkbox/Checkbox.d.ts +0 -17
  28. package/dist/components/checkbox/CheckboxGroupControl.d.ts +0 -3
  29. package/dist/components/checkbox/CheckboxGroupItem.d.ts +0 -6
  30. package/dist/components/checkbox/CheckboxGroupRoot.d.ts +0 -35
  31. package/dist/components/checkbox/index.d.ts +0 -4
  32. package/dist/components/collapsible/CollapsibleContent.d.ts +0 -18
  33. package/dist/components/collapsible/index.d.ts +0 -2
  34. package/dist/components/combobox/ComboboxContent.d.ts +0 -43
  35. package/dist/components/combobox/ComboboxInput.d.ts +0 -24
  36. package/dist/components/combobox/ComboboxItem.d.ts +0 -19
  37. package/dist/components/combobox/ComboboxLabel.d.ts +0 -10
  38. package/dist/components/combobox/ComboboxRoot.d.ts +0 -40
  39. package/dist/components/combobox/index.d.ts +0 -6
  40. package/dist/components/dialog/DialogContent.d.ts +0 -56
  41. package/dist/components/dialog/DialogHead.d.ts +0 -5
  42. package/dist/components/dialog/index.d.ts +0 -3
  43. package/dist/components/dropdown/DropdownMenuContent.d.ts +0 -62
  44. package/dist/components/dropdown/DropdownMenuItem.d.ts +0 -19
  45. package/dist/components/dropdown/index.d.ts +0 -3
  46. package/dist/components/icon/ChevronIcon.d.ts +0 -7
  47. package/dist/components/icon/IconCircle.d.ts +0 -12
  48. package/dist/components/icon/PlusMinusIcon.d.ts +0 -10
  49. package/dist/components/icon/index.d.ts +0 -5
  50. package/dist/components/index.d.ts +0 -29
  51. package/dist/components/inputs/ColorField.d.ts +0 -20
  52. package/dist/components/inputs/TextArea.d.ts +0 -22
  53. package/dist/components/inputs/TextField.d.ts +0 -34
  54. package/dist/components/inputs/index.d.ts +0 -3
  55. package/dist/components/inset/Inset.d.ts +0 -16
  56. package/dist/components/inset/index.d.ts +0 -1
  57. package/dist/components/pagination/Pagination.d.ts +0 -48
  58. package/dist/components/pagination/index.d.ts +0 -1
  59. package/dist/components/popover/PopoverContent.d.ts +0 -46
  60. package/dist/components/popover/index.d.ts +0 -2
  61. package/dist/components/quota/Quota.d.ts +0 -7
  62. package/dist/components/quota/index.d.ts +0 -1
  63. package/dist/components/radio/Radio.d.ts +0 -20
  64. package/dist/components/radio/RadioCardsItem.d.ts +0 -10
  65. package/dist/components/radio/RadioGroupItem.d.ts +0 -10
  66. package/dist/components/radio/RadioGroupRoot.d.ts +0 -32
  67. package/dist/components/radio/RadioTabsList.d.ts +0 -19
  68. package/dist/components/radio/index.d.ts +0 -6
  69. package/dist/components/scrollarea/ScrollArea.d.ts +0 -19
  70. package/dist/components/scrollarea/index.d.ts +0 -1
  71. package/dist/components/select/SelectContent.d.ts +0 -16
  72. package/dist/components/select/SelectItem.d.ts +0 -10
  73. package/dist/components/select/SelectLabel.d.ts +0 -10
  74. package/dist/components/select/SelectRoot.d.ts +0 -31
  75. package/dist/components/select/SelectSeparator.d.ts +0 -2
  76. package/dist/components/select/SelectTrigger.d.ts +0 -21
  77. package/dist/components/select/index.d.ts +0 -7
  78. package/dist/components/separator/Separator.d.ts +0 -13
  79. package/dist/components/separator/index.d.ts +0 -1
  80. package/dist/components/spinner/SavingIndicator.d.ts +0 -9
  81. package/dist/components/spinner/Spinner.d.ts +0 -10
  82. package/dist/components/spinner/index.d.ts +0 -2
  83. package/dist/components/switch/Switch.d.ts +0 -18
  84. package/dist/components/switch/index.d.ts +0 -1
  85. package/dist/components/table/Table.d.ts +0 -17
  86. package/dist/components/table/index.d.ts +0 -1
  87. package/dist/components/tabs/TabsList.d.ts +0 -17
  88. package/dist/components/tabs/TabsTrigger.d.ts +0 -19
  89. package/dist/components/tabs/index.d.ts +0 -3
  90. package/dist/components/toggle/Toggle.d.ts +0 -25
  91. package/dist/components/toggle/ToggleGroupItem.d.ts +0 -18
  92. package/dist/components/toggle/ToggleGroupRoot.d.ts +0 -25
  93. package/dist/components/toggle/index.d.ts +0 -3
  94. package/dist/components/tooltip/Tooltip.d.ts +0 -19
  95. package/dist/components/tooltip/index.d.ts +0 -1
  96. package/dist/components/types.d.ts +0 -2
  97. package/dist/components/util.d.ts +0 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typlog/ui",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Themed components for Radix Vue.",
@@ -27,7 +27,7 @@
27
27
  "./tailwind"
28
28
  ],
29
29
  "dependencies": {
30
- "@iconify/vue": "^4.1.2",
30
+ "@iconify/vue": "^5.0.0",
31
31
  "reka-ui": "^2.0.0",
32
32
  "vue": "^3.5.0"
33
33
  },
@@ -1,18 +0,0 @@
1
- import { AccordionContentProps } from 'reka-ui';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: any;
9
- };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<AccordionContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AccordionContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
- export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
15
- new (): {
16
- $slots: S;
17
- };
18
- };
@@ -1,18 +0,0 @@
1
- import { AccordionItemProps } from 'reka-ui';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: any;
9
- };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<AccordionItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AccordionItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
- export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
15
- new (): {
16
- $slots: S;
17
- };
18
- };
@@ -1,19 +0,0 @@
1
- import { AccordionRootProps as _AccordionRootProps } from 'reka-ui';
2
- export interface AccordionRootProps extends _AccordionRootProps {
3
- size?: '1' | '2' | '3';
4
- }
5
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AccordionRootProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
- "update:modelValue": (value: string | string[] | undefined) => any;
7
- }, string, import('vue').PublicProps, Readonly<AccordionRootProps> & Readonly<{
8
- "onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
9
- }>, {
10
- size: "1" | "2" | "3";
11
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
12
- default?(_: {}): any;
13
- }>;
14
- export default _default;
15
- type __VLS_WithTemplateSlots<T, S> = T & {
16
- new (): {
17
- $slots: S;
18
- };
19
- };
@@ -1,15 +0,0 @@
1
- import { AccordionTriggerProps as _AccordionTriggerProps } from 'reka-ui';
2
- export interface AccordionTriggerProps extends _AccordionTriggerProps {
3
- indicator?: 'plus-minus' | 'chevron';
4
- }
5
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AccordionTriggerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AccordionTriggerProps> & Readonly<{}>, {
6
- indicator: "plus-minus" | "chevron";
7
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
8
- default?(_: {}): any;
9
- }>;
10
- export default _default;
11
- type __VLS_WithTemplateSlots<T, S> = T & {
12
- new (): {
13
- $slots: S;
14
- };
15
- };
@@ -1,5 +0,0 @@
1
- export { type AccordionItemProps, type AccordionContentProps, } from 'reka-ui';
2
- export { default as AccordionRoot, type AccordionRootProps, } from './AccordionRoot';
3
- export { default as AccordionItem, } from './AccordionItem';
4
- export { default as AccordionContent, } from './AccordionContent';
5
- export { default as AccordionTrigger, } from './AccordionTrigger';
@@ -1,32 +0,0 @@
1
- declare const turnstileLoadFunction = "cfTurnstileOnLoad";
2
- declare global {
3
- interface Window {
4
- turnstile: any;
5
- [turnstileLoadFunction]: any;
6
- }
7
- }
8
- export interface TurnstileProps {
9
- sitekey: string;
10
- modelValue?: string;
11
- resetInterval?: number;
12
- size?: 'normal' | 'compact';
13
- theme?: 'light' | 'dark' | 'auto';
14
- action?: string;
15
- appearance?: 'always' | 'execute' | 'interaction-only';
16
- renderOnMount?: boolean;
17
- }
18
- declare const _default: import('vue').DefineComponent<TurnstileProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
- "update:modelValue": (args_0: string) => any;
20
- }, string, import('vue').PublicProps, Readonly<TurnstileProps> & Readonly<{
21
- "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
22
- }>, {
23
- size: "normal" | "compact";
24
- resetInterval: number;
25
- theme: "light" | "dark" | "auto";
26
- action: string;
27
- appearance: "always" | "execute" | "interaction-only";
28
- renderOnMount: boolean;
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
30
- element: HTMLDivElement;
31
- }, HTMLDivElement>;
32
- export default _default;
@@ -1,13 +0,0 @@
1
- interface IconifyCollectionProps {
2
- prefix?: string;
3
- search?: string;
4
- perpage?: number;
5
- }
6
- declare const _default: import('vue').DefineComponent<IconifyCollectionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
- select: (icon: string) => any;
8
- }, string, import('vue').PublicProps, Readonly<IconifyCollectionProps> & Readonly<{
9
- onSelect?: ((icon: string) => any) | undefined;
10
- }>, {
11
- perpage: number;
12
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
- export default _default;
@@ -1,13 +0,0 @@
1
- export interface CollectionItem {
2
- prefix: string;
3
- category: string;
4
- name: string;
5
- samples: string[];
6
- total: number;
7
- license: {
8
- title: string;
9
- };
10
- [x: string]: unknown;
11
- }
12
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
13
- export default _default;
@@ -1,2 +0,0 @@
1
- export { default as Turnstile, type TurnstileProps, } from './Turnstile';
2
- export { default as IconifyCollection, } from './iconify-collection/IconifyCollection';
@@ -1,56 +0,0 @@
1
- import { AlertDialogContentProps as _DialogContentProps } from 'reka-ui';
2
- export interface AlertDialogContentProps extends _DialogContentProps {
3
- to?: string | HTMLElement;
4
- align?: string;
5
- class?: string;
6
- size?: '1' | '2' | '3' | '4';
7
- width?: string;
8
- minWidth?: string;
9
- maxWidth?: string;
10
- height?: string;
11
- minHeight?: string;
12
- maxHeight?: string;
13
- }
14
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AlertDialogContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
- escapeKeyDown: (event: KeyboardEvent) => any;
16
- pointerDownOutside: (event: CustomEvent<{
17
- originalEvent: PointerEvent;
18
- }>) => any;
19
- focusOutside: (event: CustomEvent<{
20
- originalEvent: FocusEvent;
21
- }>) => any;
22
- interactOutside: (event: CustomEvent<{
23
- originalEvent: PointerEvent;
24
- }> | CustomEvent<{
25
- originalEvent: FocusEvent;
26
- }>) => any;
27
- openAutoFocus: (event: Event) => any;
28
- closeAutoFocus: (event: Event) => any;
29
- }, string, import('vue').PublicProps, Readonly<AlertDialogContentProps> & Readonly<{
30
- onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
31
- onPointerDownOutside?: ((event: CustomEvent<{
32
- originalEvent: PointerEvent;
33
- }>) => any) | undefined;
34
- onFocusOutside?: ((event: CustomEvent<{
35
- originalEvent: FocusEvent;
36
- }>) => any) | undefined;
37
- onInteractOutside?: ((event: CustomEvent<{
38
- originalEvent: PointerEvent;
39
- }> | CustomEvent<{
40
- originalEvent: FocusEvent;
41
- }>) => any) | undefined;
42
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
43
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
44
- }>, {
45
- size: "1" | "2" | "3" | "4";
46
- align: string;
47
- maxWidth: string;
48
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
49
- default?(_: {}): any;
50
- }>;
51
- export default _default;
52
- type __VLS_WithTemplateSlots<T, S> = T & {
53
- new (): {
54
- $slots: S;
55
- };
56
- };
@@ -1,2 +0,0 @@
1
- export { AlertDialogRoot, AlertDialogTrigger, AlertDialogCancel, AlertDialogAction, AlertDialogTitle, AlertDialogDescription, } from 'reka-ui';
2
- export { default as AlertDialogContent, type AlertDialogContentProps, } from './AlertDialogContent';
@@ -1,16 +0,0 @@
1
- import { ColorType, RadiusType } from '../types';
2
- export interface AvatarProps {
3
- src: string | undefined;
4
- alt: string;
5
- fallback?: string;
6
- radius?: RadiusType;
7
- variant?: 'solid' | 'soft' | 'ring';
8
- size?: '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
9
- color?: ColorType;
10
- }
11
- declare const _default: import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{}>, {
12
- radius: RadiusType;
13
- variant: "solid" | "soft" | "ring";
14
- size: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
15
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
- export default _default;
@@ -1 +0,0 @@
1
- export { default as Avatar, type AvatarProps, } from './Avatar';
@@ -1,24 +0,0 @@
1
- import { PrimitiveProps } from 'reka-ui';
2
- import { ColorType, RadiusType } from '../types';
3
- export interface BadgeProps extends PrimitiveProps {
4
- variant?: 'solid' | 'soft' | 'surface' | 'outline';
5
- color?: ColorType;
6
- radius?: RadiusType;
7
- size?: '1' | '2' | '3';
8
- highContrast?: boolean;
9
- }
10
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
11
- radius: RadiusType;
12
- variant: "solid" | "soft" | "surface" | "outline";
13
- size: "1" | "2" | "3";
14
- as: import('reka-ui').AsTag | import('vue').Component;
15
- highContrast: boolean;
16
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
17
- default?(_: {}): any;
18
- }>;
19
- export default _default;
20
- type __VLS_WithTemplateSlots<T, S> = T & {
21
- new (): {
22
- $slots: S;
23
- };
24
- };
@@ -1 +0,0 @@
1
- export { default as Badge, type BadgeProps, } from './Badge';
@@ -1,24 +0,0 @@
1
- import { PrimitiveProps } from 'reka-ui';
2
- import { ColorType, RadiusType } from '../types';
3
- export interface ButtonProps extends PrimitiveProps {
4
- color?: ColorType;
5
- radius?: RadiusType;
6
- variant?: 'classic' | 'solid' | 'soft' | 'surface' | 'outline' | 'ghost';
7
- size?: '1' | '2' | '3' | '4';
8
- highContrast?: boolean;
9
- disabled?: boolean;
10
- }
11
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
12
- variant: "classic" | "solid" | "soft" | "surface" | "outline" | "ghost";
13
- size: "1" | "2" | "3" | "4";
14
- as: import('reka-ui').AsTag | import('vue').Component;
15
- highContrast: boolean;
16
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
17
- default?(_: {}): any;
18
- }>;
19
- export default _default;
20
- type __VLS_WithTemplateSlots<T, S> = T & {
21
- new (): {
22
- $slots: S;
23
- };
24
- };
@@ -1,18 +0,0 @@
1
- import { ButtonProps } from './Button';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: any;
9
- };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
- export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
15
- new (): {
16
- $slots: S;
17
- };
18
- };
@@ -1,21 +0,0 @@
1
- import { PrimitiveProps } from 'reka-ui';
2
- import { RadiusType } from '../types';
3
- type BrandType = 'google' | 'facebook' | 'x' | 'github' | 'apple' | 'slack' | 'figma';
4
- export interface ButtonProps extends PrimitiveProps {
5
- brand: BrandType;
6
- radius?: RadiusType;
7
- size?: '1' | '2' | '3' | '4';
8
- disabled?: boolean;
9
- }
10
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
11
- size: "1" | "2" | "3" | "4";
12
- as: import('reka-ui').AsTag | import('vue').Component;
13
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
14
- default?(_: {}): any;
15
- }>;
16
- export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & {
18
- new (): {
19
- $slots: S;
20
- };
21
- };
@@ -1,3 +0,0 @@
1
- export { default as Button, type ButtonProps, } from './Button';
2
- export { default as IconButton, } from './IconButton';
3
- export { default as SocialButton, } from './SocialButton';
@@ -1,20 +0,0 @@
1
- import { PrimitiveProps } from 'reka-ui';
2
- import { RadiusType } from '../types';
3
- export interface CardProps extends PrimitiveProps {
4
- variant?: 'surface' | 'soft';
5
- radius?: RadiusType;
6
- size?: '1' | '2' | '3' | '4' | '5';
7
- }
8
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CardProps> & Readonly<{}>, {
9
- variant: "surface" | "soft";
10
- size: "1" | "2" | "3" | "4" | "5";
11
- as: import('reka-ui').AsTag | import('vue').Component;
12
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
13
- default?(_: {}): any;
14
- }>;
15
- export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
17
- new (): {
18
- $slots: S;
19
- };
20
- };
@@ -1,24 +0,0 @@
1
- import { PrimitiveProps } from 'reka-ui';
2
- import { ColorType } from '../types';
3
- export interface CardHeadProps extends PrimitiveProps {
4
- color?: ColorType;
5
- }
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- default?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: any;
13
- };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<CardHeadProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CardHeadProps> & Readonly<{}>, {
16
- as: import('reka-ui').AsTag | import('vue').Component;
17
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
- export default _default;
20
- type __VLS_WithTemplateSlots<T, S> = T & {
21
- new (): {
22
- $slots: S;
23
- };
24
- };
@@ -1,2 +0,0 @@
1
- export { default as Card, type CardProps, } from './Card';
2
- export { default as CardHead, type CardHeadProps, } from './CardHead';
@@ -1,17 +0,0 @@
1
- import { CheckboxRootProps } from 'reka-ui';
2
- import { ColorType } from '../types';
3
- export interface CheckboxProps extends CheckboxRootProps {
4
- color?: ColorType;
5
- variant?: 'surface' | 'soft';
6
- size?: '1' | '2' | '3';
7
- highContrast?: boolean;
8
- }
9
- declare const _default: import('vue').DefineComponent<CheckboxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
- "update:modelValue": (value: boolean | "indeterminate") => any;
11
- }, string, import('vue').PublicProps, Readonly<CheckboxProps> & Readonly<{
12
- "onUpdate:modelValue"?: ((value: boolean | "indeterminate") => any) | undefined;
13
- }>, {
14
- variant: "surface" | "soft";
15
- size: "1" | "2" | "3";
16
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
- export default _default;
@@ -1,3 +0,0 @@
1
- import { CheckboxProps } from './Checkbox';
2
- declare const _default: import('vue').DefineComponent<CheckboxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CheckboxProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
- export default _default;
@@ -1,6 +0,0 @@
1
- import { CheckboxProps } from './Checkbox';
2
- export interface CheckboxGroupItemProps extends CheckboxProps {
3
- value: string;
4
- }
5
- declare const _default: import('vue').DefineComponent<CheckboxGroupItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CheckboxGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
- export default _default;
@@ -1,35 +0,0 @@
1
- import { Ref } from 'vue';
2
- import { PrimitiveProps } from 'reka-ui';
3
- export interface CheckboxGroupRootProps extends PrimitiveProps {
4
- disabled?: boolean;
5
- name?: string;
6
- }
7
- interface CheckboxGroupRootContext {
8
- selected: Ref<string[]>;
9
- checked: Ref<boolean | 'indeterminate'>;
10
- addModelValue: (value: string) => void;
11
- removeModelValue: (value: string) => void;
12
- toggleModelValue: (checked: boolean) => void;
13
- initAllValue: (value: string) => void;
14
- removeAllValue: (value: string) => void;
15
- disabled?: Ref<boolean>;
16
- name?: string;
17
- }
18
- export declare const injectCheckboxGroupRootContext: <T extends CheckboxGroupRootContext | null | undefined = CheckboxGroupRootContext>(fallback?: T | undefined) => T extends null ? CheckboxGroupRootContext | null : CheckboxGroupRootContext, provideCheckboxGroupRootContext: (contextValue: CheckboxGroupRootContext) => CheckboxGroupRootContext;
19
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
20
- modelValue?: any[];
21
- } & CheckboxGroupRootProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
- "update:modelValue": (value: any[]) => any;
23
- }, string, import('vue').PublicProps, Readonly<{
24
- modelValue?: any[];
25
- } & CheckboxGroupRootProps> & Readonly<{
26
- "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
27
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
28
- default?(_: {}): any;
29
- }>;
30
- export default _default;
31
- type __VLS_WithTemplateSlots<T, S> = T & {
32
- new (): {
33
- $slots: S;
34
- };
35
- };
@@ -1,4 +0,0 @@
1
- export { default as Checkbox, type CheckboxProps, } from './Checkbox';
2
- export { default as CheckboxGroupRoot, } from './CheckboxGroupRoot';
3
- export { default as CheckboxGroupItem, } from './CheckboxGroupItem';
4
- export { default as CheckboxGroupControl, } from './CheckboxGroupControl';
@@ -1,18 +0,0 @@
1
- import { CollapsibleContentProps } from 'reka-ui';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: any;
9
- };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<CollapsibleContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CollapsibleContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
- export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
15
- new (): {
16
- $slots: S;
17
- };
18
- };
@@ -1,2 +0,0 @@
1
- export { CollapsibleRoot, CollapsibleTrigger, } from 'reka-ui';
2
- export { default as CollapsibleContent, } from './CollapsibleContent';
@@ -1,43 +0,0 @@
1
- import { ComboboxContentProps as _ComboboxContentProps } from 'reka-ui';
2
- export interface ComboboxContentProps extends _ComboboxContentProps {
3
- to?: string | HTMLElement;
4
- variant?: 'solid' | 'soft';
5
- }
6
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ComboboxContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
- escapeKeyDown: (event: KeyboardEvent) => any;
8
- pointerDownOutside: (event: CustomEvent<{
9
- originalEvent: PointerEvent;
10
- }>) => any;
11
- focusOutside: (event: CustomEvent<{
12
- originalEvent: FocusEvent;
13
- }>) => any;
14
- interactOutside: (event: CustomEvent<{
15
- originalEvent: PointerEvent;
16
- }> | CustomEvent<{
17
- originalEvent: FocusEvent;
18
- }>) => any;
19
- }, string, import('vue').PublicProps, Readonly<ComboboxContentProps> & Readonly<{
20
- onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
21
- onPointerDownOutside?: ((event: CustomEvent<{
22
- originalEvent: PointerEvent;
23
- }>) => any) | undefined;
24
- onFocusOutside?: ((event: CustomEvent<{
25
- originalEvent: FocusEvent;
26
- }>) => any) | undefined;
27
- onInteractOutside?: ((event: CustomEvent<{
28
- originalEvent: PointerEvent;
29
- }> | CustomEvent<{
30
- originalEvent: FocusEvent;
31
- }>) => any) | undefined;
32
- }>, {
33
- variant: "solid" | "soft";
34
- position: "inline" | "popper";
35
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
36
- default?(_: {}): any;
37
- }>;
38
- export default _default;
39
- type __VLS_WithTemplateSlots<T, S> = T & {
40
- new (): {
41
- $slots: S;
42
- };
43
- };
@@ -1,24 +0,0 @@
1
- import { ComboboxInputProps as _ComboboxInputProps, AcceptableInputValue } from 'reka-ui';
2
- import { RadiusType } from '../types';
3
- export interface ComboboxInputProps extends _ComboboxInputProps {
4
- variant?: 'surface' | 'soft';
5
- radius?: RadiusType;
6
- placeholder?: string;
7
- }
8
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ComboboxInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
- "update:modelValue": (args_0: string) => any;
10
- }, string, import('vue').PublicProps, Readonly<ComboboxInputProps> & Readonly<{
11
- "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
12
- }>, {
13
- variant: "surface" | "soft";
14
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
15
- item?(_: {
16
- value: AcceptableInputValue;
17
- }): any;
18
- }>;
19
- export default _default;
20
- type __VLS_WithTemplateSlots<T, S> = T & {
21
- new (): {
22
- $slots: S;
23
- };
24
- };
@@ -1,19 +0,0 @@
1
- import { ComboboxItemProps } from 'reka-ui';
2
- type __VLS_Props = ComboboxItemProps;
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- default?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: any;
10
- };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
- export default _default;
15
- type __VLS_WithTemplateSlots<T, S> = T & {
16
- new (): {
17
- $slots: S;
18
- };
19
- };
@@ -1,10 +0,0 @@
1
- import { ComboboxLabelProps } from 'reka-ui';
2
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ComboboxLabelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ComboboxLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
3
- default?(_: {}): any;
4
- }>;
5
- export default _default;
6
- type __VLS_WithTemplateSlots<T, S> = T & {
7
- new (): {
8
- $slots: S;
9
- };
10
- };
@@ -1,40 +0,0 @@
1
- import { Ref } from 'vue';
2
- import { ComboboxRootProps as _ComboboxRootProps } from 'reka-ui';
3
- import { ColorType } from '../types';
4
- export interface ComboboxRootProps extends _ComboboxRootProps {
5
- size?: '1' | '2' | '3';
6
- color?: ColorType;
7
- highContrast?: boolean;
8
- }
9
- interface ComboboxRootContext {
10
- size: Ref<string>;
11
- color: Ref<ColorType | undefined>;
12
- highContrast: Ref<boolean>;
13
- }
14
- export declare const injectComboboxRootContext: <T extends ComboboxRootContext | null | undefined = ComboboxRootContext>(fallback?: T | undefined) => T extends null ? ComboboxRootContext | null : ComboboxRootContext, provideComboboxRootContext: (contextValue: ComboboxRootContext) => ComboboxRootContext;
15
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ComboboxRootProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
- "update:modelValue": (value: import('reka-ui').AcceptableValue) => any;
17
- "update:open": (value: boolean) => any;
18
- highlight: (payload: {
19
- ref: HTMLElement;
20
- value: import('reka-ui').AcceptableValue;
21
- } | undefined) => any;
22
- }, string, import('vue').PublicProps, Readonly<ComboboxRootProps> & Readonly<{
23
- "onUpdate:modelValue"?: ((value: import('reka-ui').AcceptableValue) => any) | undefined;
24
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
25
- onHighlight?: ((payload: {
26
- ref: HTMLElement;
27
- value: import('reka-ui').AcceptableValue;
28
- } | undefined) => any) | undefined;
29
- }>, {
30
- size: "1" | "2" | "3";
31
- multiple: boolean;
32
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
33
- default?(_: {}): any;
34
- }>;
35
- export default _default;
36
- type __VLS_WithTemplateSlots<T, S> = T & {
37
- new (): {
38
- $slots: S;
39
- };
40
- };