@jasmine-ui/vue 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +77 -0
  3. package/dist/components/accordion/accordion.composable.d.ts +85 -0
  4. package/dist/components/accordion/accordion.d.ts +112 -0
  5. package/dist/components/accordion/accordion.props.d.ts +44 -0
  6. package/dist/components/accordion/accordion.style.d.ts +202 -0
  7. package/dist/components/accordion/index.d.ts +1 -0
  8. package/dist/components/alert/alert.composable.d.ts +87 -0
  9. package/dist/components/alert/alert.d.ts +89 -0
  10. package/dist/components/alert/alert.props.d.ts +30 -0
  11. package/dist/components/alert/alert.style.d.ts +154 -0
  12. package/dist/components/alert/index.d.ts +1 -0
  13. package/dist/components/avatar/avatar.composable.d.ts +79 -0
  14. package/dist/components/avatar/avatar.d.ts +111 -0
  15. package/dist/components/avatar/avatar.props.d.ts +50 -0
  16. package/dist/components/avatar/avatar.style.d.ts +158 -0
  17. package/dist/components/avatar/index.d.ts +1 -0
  18. package/dist/components/badge/badge.composable.d.ts +58 -0
  19. package/dist/components/badge/badge.d.ts +85 -0
  20. package/dist/components/badge/badge.props.d.ts +35 -0
  21. package/dist/components/badge/badge.style.d.ts +146 -0
  22. package/dist/components/badge/index.d.ts +1 -0
  23. package/dist/components/button/button.composable.d.ts +14 -0
  24. package/dist/components/button/button.d.ts +96 -0
  25. package/dist/components/button/button.props.d.ts +36 -0
  26. package/dist/components/button/button.style.d.ts +88 -0
  27. package/dist/components/button/index.d.ts +1 -0
  28. package/dist/components/checkbox/checkbox.composable.d.ts +56 -0
  29. package/dist/components/checkbox/checkbox.d.ts +54 -0
  30. package/dist/components/checkbox/checkbox.props.d.ts +22 -0
  31. package/dist/components/checkbox/checkbox.style.d.ts +106 -0
  32. package/dist/components/checkbox/index.d.ts +1 -0
  33. package/dist/components/chip/chip.composable.d.ts +51 -0
  34. package/dist/components/chip/chip.d.ts +96 -0
  35. package/dist/components/chip/chip.props.d.ts +35 -0
  36. package/dist/components/chip/chip.style.d.ts +184 -0
  37. package/dist/components/chip/index.d.ts +1 -0
  38. package/dist/components/code-block/code-block.composable.d.ts +16 -0
  39. package/dist/components/code-block/code-block.d.ts +105 -0
  40. package/dist/components/code-block/code-block.props.d.ts +51 -0
  41. package/dist/components/code-block/code-block.style.d.ts +113 -0
  42. package/dist/components/code-block/index.d.ts +1 -0
  43. package/dist/components/combobox/combobox.composable.d.ts +136 -0
  44. package/dist/components/combobox/combobox.d.ts +127 -0
  45. package/dist/components/combobox/combobox.props.d.ts +52 -0
  46. package/dist/components/combobox/combobox.style.d.ts +202 -0
  47. package/dist/components/combobox/index.d.ts +1 -0
  48. package/dist/components/divider/divider.composable.d.ts +13 -0
  49. package/dist/components/divider/divider.d.ts +47 -0
  50. package/dist/components/divider/divider.props.d.ts +15 -0
  51. package/dist/components/divider/divider.style.d.ts +43 -0
  52. package/dist/components/divider/index.d.ts +1 -0
  53. package/dist/components/drawer/drawer.composable.d.ts +82 -0
  54. package/dist/components/drawer/drawer.d.ts +256 -0
  55. package/dist/components/drawer/drawer.props.d.ts +34 -0
  56. package/dist/components/drawer/drawer.style.d.ts +97 -0
  57. package/dist/components/drawer/index.d.ts +1 -0
  58. package/dist/components/dropdown/dropdown.d.ts +102 -0
  59. package/dist/components/dropdown/dropdown.props.d.ts +36 -0
  60. package/dist/components/dropdown/index.d.ts +1 -0
  61. package/dist/components/input/index.d.ts +1 -0
  62. package/dist/components/input/input.composable.d.ts +164 -0
  63. package/dist/components/input/input.d.ts +213 -0
  64. package/dist/components/input/input.props.d.ts +83 -0
  65. package/dist/components/input/input.style.d.ts +187 -0
  66. package/dist/components/kbd/index.d.ts +1 -0
  67. package/dist/components/kbd/kbd.composable.d.ts +40 -0
  68. package/dist/components/kbd/kbd.d.ts +46 -0
  69. package/dist/components/kbd/kbd.props.d.ts +20 -0
  70. package/dist/components/kbd/kbd.style.d.ts +59 -0
  71. package/dist/components/list/index.d.ts +3 -0
  72. package/dist/components/list/list.composable.d.ts +40 -0
  73. package/dist/components/list/list.d.ts +148 -0
  74. package/dist/components/list/list.props.d.ts +40 -0
  75. package/dist/components/list/list.style.d.ts +52 -0
  76. package/dist/components/list-item/index.d.ts +1 -0
  77. package/dist/components/list-item/list-item.composable.d.ts +91 -0
  78. package/dist/components/list-item/list-item.d.ts +115 -0
  79. package/dist/components/list-item/list-item.props.d.ts +43 -0
  80. package/dist/components/list-item/list-item.style.d.ts +139 -0
  81. package/dist/components/modal/index.d.ts +1 -0
  82. package/dist/components/modal/modal.composable.d.ts +114 -0
  83. package/dist/components/modal/modal.d.ts +274 -0
  84. package/dist/components/modal/modal.props.d.ts +44 -0
  85. package/dist/components/modal/modal.style.d.ts +190 -0
  86. package/dist/components/pagination/index.d.ts +1 -0
  87. package/dist/components/pagination/pagination.composable.d.ts +87 -0
  88. package/dist/components/pagination/pagination.d.ts +150 -0
  89. package/dist/components/pagination/pagination.props.d.ts +42 -0
  90. package/dist/components/pagination/pagination.style.d.ts +196 -0
  91. package/dist/components/popover/index.d.ts +1 -0
  92. package/dist/components/popover/popover.composable.d.ts +42 -0
  93. package/dist/components/popover/popover.d.ts +142 -0
  94. package/dist/components/popover/popover.props.d.ts +51 -0
  95. package/dist/components/popover/popover.style.d.ts +28 -0
  96. package/dist/components/popover-list/index.d.ts +1 -0
  97. package/dist/components/popover-list/popover-list.d.ts +158 -0
  98. package/dist/components/popover-list/popover-list.props.d.ts +73 -0
  99. package/dist/components/radio-group/index.d.ts +2 -0
  100. package/dist/components/radio-group/radio-group.composable.d.ts +13 -0
  101. package/dist/components/radio-group/radio-group.d.ts +80 -0
  102. package/dist/components/radio-group/radio-group.props.d.ts +28 -0
  103. package/dist/components/radio-group/radio-group.style.d.ts +16 -0
  104. package/dist/components/radio-group/radio.composable.d.ts +45 -0
  105. package/dist/components/radio-group/radio.d.ts +64 -0
  106. package/dist/components/radio-group/radio.props.d.ts +23 -0
  107. package/dist/components/radio-group/radio.style.d.ts +103 -0
  108. package/dist/components/select/index.d.ts +1 -0
  109. package/dist/components/select/select.composable.d.ts +115 -0
  110. package/dist/components/select/select.d.ts +123 -0
  111. package/dist/components/select/select.props.d.ts +52 -0
  112. package/dist/components/select/select.style.d.ts +199 -0
  113. package/dist/components/spinner/index.d.ts +1 -0
  114. package/dist/components/spinner/spinner.composable.d.ts +29 -0
  115. package/dist/components/spinner/spinner.d.ts +23 -0
  116. package/dist/components/spinner/spinner.props.d.ts +12 -0
  117. package/dist/components/spinner/spinner.style.d.ts +97 -0
  118. package/dist/components/switch/index.d.ts +1 -0
  119. package/dist/components/switch/switch.composable.d.ts +76 -0
  120. package/dist/components/switch/switch.d.ts +100 -0
  121. package/dist/components/switch/switch.props.d.ts +37 -0
  122. package/dist/components/switch/switch.style.d.ts +196 -0
  123. package/dist/components/table/index.d.ts +1 -0
  124. package/dist/components/table/table.composable.d.ts +162 -0
  125. package/dist/components/table/table.d.ts +162 -0
  126. package/dist/components/table/table.props.d.ts +56 -0
  127. package/dist/components/table/table.style.d.ts +193 -0
  128. package/dist/components/tabs/index.d.ts +1 -0
  129. package/dist/components/tabs/tabs.composable.d.ts +93 -0
  130. package/dist/components/tabs/tabs.d.ts +121 -0
  131. package/dist/components/tabs/tabs.props.d.ts +48 -0
  132. package/dist/components/tabs/tabs.style.d.ts +253 -0
  133. package/dist/components/text/index.d.ts +1 -0
  134. package/dist/components/text/text.composable.d.ts +12 -0
  135. package/dist/components/text/text.d.ts +56 -0
  136. package/dist/components/text/text.props.d.ts +19 -0
  137. package/dist/components/text/text.style.d.ts +83 -0
  138. package/dist/components/textarea/index.d.ts +1 -0
  139. package/dist/components/textarea/textarea.composable.d.ts +149 -0
  140. package/dist/components/textarea/textarea.d.ts +250 -0
  141. package/dist/components/textarea/textarea.props.d.ts +99 -0
  142. package/dist/components/textarea/textarea.style.d.ts +184 -0
  143. package/dist/components/toast/index.d.ts +2 -0
  144. package/dist/components/toast/toast-provider.d.ts +47 -0
  145. package/dist/components/toast/toast.composable.d.ts +16 -0
  146. package/dist/components/toast/toast.props.d.ts +14 -0
  147. package/dist/components/toast/toast.provider.d.ts +48 -0
  148. package/dist/components/toast/toast.style.d.ts +76 -0
  149. package/dist/components/tooltip/index.d.ts +1 -0
  150. package/dist/components/tooltip/tooltip.composable.d.ts +85 -0
  151. package/dist/components/tooltip/tooltip.d.ts +119 -0
  152. package/dist/components/tooltip/tooltip.props.d.ts +53 -0
  153. package/dist/components/tooltip/tooltip.style.d.ts +32 -0
  154. package/dist/composables/dismiss-shake.composable.d.ts +13 -0
  155. package/dist/css-BRq03xhW.js +3 -0
  156. package/dist/css-BT3ulMUY.js +2 -0
  157. package/dist/html-CJhGHSsv.js +2 -0
  158. package/dist/html-DM_Fd1As.js +10 -0
  159. package/dist/index.d.ts +29 -0
  160. package/dist/jasmine-ui.css +3 -0
  161. package/dist/jasmine-ui.js +11858 -0
  162. package/dist/javascript-CkfBz3il.js +3 -0
  163. package/dist/javascript-CwUFKmKO.js +2 -0
  164. package/dist/json-BPXqV38U.js +3 -0
  165. package/dist/json-DHmMgjNi.js +2 -0
  166. package/dist/jsonc-DVpPCz25.js +3 -0
  167. package/dist/jsx-CHO6wZNT.js +3 -0
  168. package/dist/main.d.ts +1 -0
  169. package/dist/rust-qf9jV5qU.js +3 -0
  170. package/dist/styles/shiki-theme.d.ts +11 -0
  171. package/dist/types/common.d.ts +89 -0
  172. package/dist/types/shared-props.d.ts +142 -0
  173. package/dist/typescript-Cil9iWXl.js +3 -0
  174. package/dist/typescript-CoNvJdtl.js +2 -0
  175. package/dist/utils/shiki.d.ts +12 -0
  176. package/dist/vue-Bgv7yiBd.js +21 -0
  177. package/package.json +133 -0
@@ -0,0 +1,89 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ icon?(_: {}): any;
5
+ default?(_: {}): any;
6
+ action?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: HTMLDivElement;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
+ title: {
14
+ type: StringConstructor;
15
+ default: undefined;
16
+ };
17
+ description: {
18
+ type: StringConstructor;
19
+ default: undefined;
20
+ };
21
+ color: {
22
+ default: "default";
23
+ type: import('vue').PropType<import('../..').Color>;
24
+ };
25
+ variant: {
26
+ type: import('vue').PropType<import('../..').AlertVariant>;
27
+ default: "solid";
28
+ };
29
+ radius: {
30
+ type: import('vue').PropType<import('../..').Radius>;
31
+ default: "md";
32
+ };
33
+ icon: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ isClosable: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
42
+ close: () => any;
43
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
44
+ title: {
45
+ type: StringConstructor;
46
+ default: undefined;
47
+ };
48
+ description: {
49
+ type: StringConstructor;
50
+ default: undefined;
51
+ };
52
+ color: {
53
+ default: "default";
54
+ type: import('vue').PropType<import('../..').Color>;
55
+ };
56
+ variant: {
57
+ type: import('vue').PropType<import('../..').AlertVariant>;
58
+ default: "solid";
59
+ };
60
+ radius: {
61
+ type: import('vue').PropType<import('../..').Radius>;
62
+ default: "md";
63
+ };
64
+ icon: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ isClosable: {
69
+ type: BooleanConstructor;
70
+ default: boolean;
71
+ };
72
+ }>> & Readonly<{
73
+ onClose?: (() => any) | undefined;
74
+ }>, {
75
+ variant: import('../..').AlertVariant;
76
+ color: import('../..').Color;
77
+ radius: import('../..').Radius;
78
+ title: string;
79
+ icon: boolean;
80
+ description: string;
81
+ isClosable: boolean;
82
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
83
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
84
+ export default _default;
85
+ type __VLS_WithTemplateSlots<T, S> = T & {
86
+ new (): {
87
+ $slots: S;
88
+ };
89
+ };
@@ -0,0 +1,30 @@
1
+ export declare const alertProps: {
2
+ title: {
3
+ type: StringConstructor;
4
+ default: undefined;
5
+ };
6
+ description: {
7
+ type: StringConstructor;
8
+ default: undefined;
9
+ };
10
+ color: {
11
+ default: "default";
12
+ type: import('vue').PropType<import('../..').Color>;
13
+ };
14
+ variant: {
15
+ type: import('vue').PropType<import('../..').AlertVariant>;
16
+ default: "solid";
17
+ };
18
+ radius: {
19
+ type: import('vue').PropType<import('../..').Radius>;
20
+ default: "md";
21
+ };
22
+ icon: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ isClosable: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ };
@@ -0,0 +1,154 @@
1
+ export declare const alertVariants: import('tailwind-variants').TVReturnType<{
2
+ color: {
3
+ default: {
4
+ base: string;
5
+ };
6
+ primary: {
7
+ base: string;
8
+ };
9
+ danger: {
10
+ base: string;
11
+ };
12
+ success: {
13
+ base: string;
14
+ };
15
+ warning: {
16
+ base: string;
17
+ };
18
+ };
19
+ variant: {
20
+ solid: {
21
+ base: string;
22
+ };
23
+ outline: {
24
+ base: string;
25
+ };
26
+ };
27
+ radius: {
28
+ none: {
29
+ base: string;
30
+ };
31
+ sm: {
32
+ base: string;
33
+ };
34
+ md: {
35
+ base: string;
36
+ };
37
+ lg: {
38
+ base: string;
39
+ };
40
+ full: {
41
+ base: string;
42
+ };
43
+ };
44
+ }, {
45
+ base: string;
46
+ icon: string;
47
+ content: string;
48
+ title: string;
49
+ description: string;
50
+ action: string;
51
+ close: string;
52
+ }, undefined, {
53
+ color: {
54
+ default: {
55
+ base: string;
56
+ };
57
+ primary: {
58
+ base: string;
59
+ };
60
+ danger: {
61
+ base: string;
62
+ };
63
+ success: {
64
+ base: string;
65
+ };
66
+ warning: {
67
+ base: string;
68
+ };
69
+ };
70
+ variant: {
71
+ solid: {
72
+ base: string;
73
+ };
74
+ outline: {
75
+ base: string;
76
+ };
77
+ };
78
+ radius: {
79
+ none: {
80
+ base: string;
81
+ };
82
+ sm: {
83
+ base: string;
84
+ };
85
+ md: {
86
+ base: string;
87
+ };
88
+ lg: {
89
+ base: string;
90
+ };
91
+ full: {
92
+ base: string;
93
+ };
94
+ };
95
+ }, {
96
+ base: string;
97
+ icon: string;
98
+ content: string;
99
+ title: string;
100
+ description: string;
101
+ action: string;
102
+ close: string;
103
+ }, import('tailwind-variants').TVReturnType<{
104
+ color: {
105
+ default: {
106
+ base: string;
107
+ };
108
+ primary: {
109
+ base: string;
110
+ };
111
+ danger: {
112
+ base: string;
113
+ };
114
+ success: {
115
+ base: string;
116
+ };
117
+ warning: {
118
+ base: string;
119
+ };
120
+ };
121
+ variant: {
122
+ solid: {
123
+ base: string;
124
+ };
125
+ outline: {
126
+ base: string;
127
+ };
128
+ };
129
+ radius: {
130
+ none: {
131
+ base: string;
132
+ };
133
+ sm: {
134
+ base: string;
135
+ };
136
+ md: {
137
+ base: string;
138
+ };
139
+ lg: {
140
+ base: string;
141
+ };
142
+ full: {
143
+ base: string;
144
+ };
145
+ };
146
+ }, {
147
+ base: string;
148
+ icon: string;
149
+ content: string;
150
+ title: string;
151
+ description: string;
152
+ action: string;
153
+ close: string;
154
+ }, undefined, unknown, unknown, undefined>>;
@@ -0,0 +1 @@
1
+ export { default as Alert } from './alert';
@@ -0,0 +1,79 @@
1
+ import { ComputedRef, ExtractPropTypes } from 'vue';
2
+ import { avatarProps } from './avatar.props';
3
+ type AvatarProps = ExtractPropTypes<typeof avatarProps>;
4
+ type DisplayMode = 'slot' | 'image' | 'initials' | 'fallback-slot' | 'fallback-image' | 'fallback-content' | 'icon';
5
+ interface SlotFlags {
6
+ /** Whether the default slot has content (full custom override) */
7
+ hasDefaultSlot: ComputedRef<boolean>;
8
+ /** Whether the fallback slot has content (custom fallback) */
9
+ hasFallbackSlot: ComputedRef<boolean>;
10
+ }
11
+ /**
12
+ * Extracts initials from a name string.
13
+ * Single name → first letter. Two+ words → first and last initials.
14
+ */
15
+ export declare const getInitials: (name: string) => string;
16
+ /**
17
+ * Composable that handles Avatar component logic.
18
+ * Manages the smart fallback chain: image → initials → fallback → icon.
19
+ */
20
+ export declare const useAvatar: (props: AvatarProps, slotFlags: SlotFlags) => {
21
+ classes: ComputedRef<{
22
+ base: (slotProps?: ({
23
+ color?: "default" | "primary" | "danger" | "success" | "warning" | undefined;
24
+ size?: "md" | "sm" | "lg" | undefined;
25
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
26
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
27
+ image: (slotProps?: ({
28
+ color?: "default" | "primary" | "danger" | "success" | "warning" | undefined;
29
+ size?: "md" | "sm" | "lg" | undefined;
30
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
31
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
32
+ initials: (slotProps?: ({
33
+ color?: "default" | "primary" | "danger" | "success" | "warning" | undefined;
34
+ size?: "md" | "sm" | "lg" | undefined;
35
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
36
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
37
+ fallback: (slotProps?: ({
38
+ color?: "default" | "primary" | "danger" | "success" | "warning" | undefined;
39
+ size?: "md" | "sm" | "lg" | undefined;
40
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
41
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
42
+ icon: (slotProps?: ({
43
+ color?: "default" | "primary" | "danger" | "success" | "warning" | undefined;
44
+ size?: "md" | "sm" | "lg" | undefined;
45
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
46
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
47
+ } & {
48
+ base: (slotProps?: ({
49
+ color?: "default" | "primary" | "danger" | "success" | "warning" | undefined;
50
+ size?: "md" | "sm" | "lg" | undefined;
51
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
52
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
53
+ image: (slotProps?: ({
54
+ color?: "default" | "primary" | "danger" | "success" | "warning" | undefined;
55
+ size?: "md" | "sm" | "lg" | undefined;
56
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
57
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
58
+ initials: (slotProps?: ({
59
+ color?: "default" | "primary" | "danger" | "success" | "warning" | undefined;
60
+ size?: "md" | "sm" | "lg" | undefined;
61
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
62
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
63
+ fallback: (slotProps?: ({
64
+ color?: "default" | "primary" | "danger" | "success" | "warning" | undefined;
65
+ size?: "md" | "sm" | "lg" | undefined;
66
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
67
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
68
+ icon: (slotProps?: ({
69
+ color?: "default" | "primary" | "danger" | "success" | "warning" | undefined;
70
+ size?: "md" | "sm" | "lg" | undefined;
71
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
72
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
73
+ } & {}>;
74
+ initials: ComputedRef<string>;
75
+ displayMode: ComputedRef<DisplayMode>;
76
+ handleImageError: () => void;
77
+ handleImageLoad: () => void;
78
+ };
79
+ export {};
@@ -0,0 +1,111 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ fallback?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: HTMLSpanElement;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
12
+ src: {
13
+ type: import('vue').PropType<string>;
14
+ default: undefined;
15
+ };
16
+ name: {
17
+ type: import('vue').PropType<string>;
18
+ default: undefined;
19
+ };
20
+ alt: {
21
+ type: import('vue').PropType<string>;
22
+ default: undefined;
23
+ };
24
+ fallbackSrc: {
25
+ type: import('vue').PropType<string>;
26
+ default: undefined;
27
+ };
28
+ fallbackContent: {
29
+ type: import('vue').PropType<string>;
30
+ default: undefined;
31
+ };
32
+ color: {
33
+ default: "default";
34
+ type: import('vue').PropType<import('../..').Color>;
35
+ };
36
+ size: {
37
+ type: import('vue').PropType<import('../..').Size>;
38
+ default: "md";
39
+ };
40
+ radius: {
41
+ default: "full";
42
+ type: import('vue').PropType<import('../..').Radius>;
43
+ };
44
+ isDisabled: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ showFallback: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
53
+ src: {
54
+ type: import('vue').PropType<string>;
55
+ default: undefined;
56
+ };
57
+ name: {
58
+ type: import('vue').PropType<string>;
59
+ default: undefined;
60
+ };
61
+ alt: {
62
+ type: import('vue').PropType<string>;
63
+ default: undefined;
64
+ };
65
+ fallbackSrc: {
66
+ type: import('vue').PropType<string>;
67
+ default: undefined;
68
+ };
69
+ fallbackContent: {
70
+ type: import('vue').PropType<string>;
71
+ default: undefined;
72
+ };
73
+ color: {
74
+ default: "default";
75
+ type: import('vue').PropType<import('../..').Color>;
76
+ };
77
+ size: {
78
+ type: import('vue').PropType<import('../..').Size>;
79
+ default: "md";
80
+ };
81
+ radius: {
82
+ default: "full";
83
+ type: import('vue').PropType<import('../..').Radius>;
84
+ };
85
+ isDisabled: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
89
+ showFallback: {
90
+ type: BooleanConstructor;
91
+ default: boolean;
92
+ };
93
+ }>> & Readonly<{}>, {
94
+ color: import('../..').Color;
95
+ size: import('../..').Size;
96
+ radius: import('../..').Radius;
97
+ alt: string;
98
+ isDisabled: boolean;
99
+ src: string;
100
+ name: string;
101
+ fallbackSrc: string;
102
+ fallbackContent: string;
103
+ showFallback: boolean;
104
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
105
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
106
+ export default _default;
107
+ type __VLS_WithTemplateSlots<T, S> = T & {
108
+ new (): {
109
+ $slots: S;
110
+ };
111
+ };
@@ -0,0 +1,50 @@
1
+ import { PropType } from 'vue';
2
+ /** Props definition for the Avatar component */
3
+ export declare const avatarProps: {
4
+ /** URL of the avatar image */
5
+ src: {
6
+ type: PropType<string>;
7
+ default: undefined;
8
+ };
9
+ /** Name used to compute initials (fallback when no image) */
10
+ name: {
11
+ type: PropType<string>;
12
+ default: undefined;
13
+ };
14
+ /** Alt text for the avatar image */
15
+ alt: {
16
+ type: PropType<string>;
17
+ default: undefined;
18
+ };
19
+ /** Fallback image URL shown when primary image fails and no name is set */
20
+ fallbackSrc: {
21
+ type: PropType<string>;
22
+ default: undefined;
23
+ };
24
+ /** Fallback text content shown when primary image fails and no name is set */
25
+ fallbackContent: {
26
+ type: PropType<string>;
27
+ default: undefined;
28
+ };
29
+ color: {
30
+ default: "default";
31
+ type: PropType<import('../..').Color>;
32
+ };
33
+ size: {
34
+ type: PropType<import('../..').Size>;
35
+ default: "md";
36
+ };
37
+ radius: {
38
+ default: "full";
39
+ type: PropType<import('../..').Radius>;
40
+ };
41
+ isDisabled: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ /** Forces the fallback state, skipping image display */
46
+ showFallback: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ };
@@ -0,0 +1,158 @@
1
+ /** Tailwind Variants definition for the Avatar component */
2
+ export declare const avatarVariants: import('tailwind-variants').TVReturnType<{
3
+ color: {
4
+ default: {
5
+ base: string;
6
+ };
7
+ primary: {
8
+ base: string;
9
+ };
10
+ danger: {
11
+ base: string;
12
+ };
13
+ success: {
14
+ base: string;
15
+ };
16
+ warning: {
17
+ base: string;
18
+ };
19
+ };
20
+ size: {
21
+ sm: {
22
+ base: string;
23
+ };
24
+ md: {
25
+ base: string;
26
+ };
27
+ lg: {
28
+ base: string;
29
+ };
30
+ };
31
+ radius: {
32
+ none: {
33
+ base: string;
34
+ };
35
+ sm: {
36
+ base: string;
37
+ };
38
+ md: {
39
+ base: string;
40
+ };
41
+ lg: {
42
+ base: string;
43
+ };
44
+ full: {
45
+ base: string;
46
+ };
47
+ };
48
+ }, {
49
+ base: string;
50
+ image: string;
51
+ initials: string;
52
+ fallback: string;
53
+ icon: string;
54
+ }, undefined, {
55
+ color: {
56
+ default: {
57
+ base: string;
58
+ };
59
+ primary: {
60
+ base: string;
61
+ };
62
+ danger: {
63
+ base: string;
64
+ };
65
+ success: {
66
+ base: string;
67
+ };
68
+ warning: {
69
+ base: string;
70
+ };
71
+ };
72
+ size: {
73
+ sm: {
74
+ base: string;
75
+ };
76
+ md: {
77
+ base: string;
78
+ };
79
+ lg: {
80
+ base: string;
81
+ };
82
+ };
83
+ radius: {
84
+ none: {
85
+ base: string;
86
+ };
87
+ sm: {
88
+ base: string;
89
+ };
90
+ md: {
91
+ base: string;
92
+ };
93
+ lg: {
94
+ base: string;
95
+ };
96
+ full: {
97
+ base: string;
98
+ };
99
+ };
100
+ }, {
101
+ base: string;
102
+ image: string;
103
+ initials: string;
104
+ fallback: string;
105
+ icon: string;
106
+ }, import('tailwind-variants').TVReturnType<{
107
+ color: {
108
+ default: {
109
+ base: string;
110
+ };
111
+ primary: {
112
+ base: string;
113
+ };
114
+ danger: {
115
+ base: string;
116
+ };
117
+ success: {
118
+ base: string;
119
+ };
120
+ warning: {
121
+ base: string;
122
+ };
123
+ };
124
+ size: {
125
+ sm: {
126
+ base: string;
127
+ };
128
+ md: {
129
+ base: string;
130
+ };
131
+ lg: {
132
+ base: string;
133
+ };
134
+ };
135
+ radius: {
136
+ none: {
137
+ base: string;
138
+ };
139
+ sm: {
140
+ base: string;
141
+ };
142
+ md: {
143
+ base: string;
144
+ };
145
+ lg: {
146
+ base: string;
147
+ };
148
+ full: {
149
+ base: string;
150
+ };
151
+ };
152
+ }, {
153
+ base: string;
154
+ image: string;
155
+ initials: string;
156
+ fallback: string;
157
+ icon: string;
158
+ }, undefined, unknown, unknown, undefined>>;
@@ -0,0 +1 @@
1
+ export { default as Avatar } from './avatar';