@solfacil/girassol 0.1.10 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/cli/build/templates/components.d.ts.ejs +1 -1
  2. package/dist/README.md.d.ts +2 -0
  3. package/dist/cli/readme.md.d.ts +2 -0
  4. package/dist/components.d.ts +1 -0
  5. package/dist/components.json +1 -1
  6. package/dist/girassol.es.js +1330 -1274
  7. package/dist/girassol.umd.js +3 -3
  8. package/dist/style.css +1 -1
  9. package/dist/theme/safelist.d.ts +14 -0
  10. package/dist/theme/solfacil/colors.d.ts +28 -4
  11. package/dist/theme/solfacil/effects.d.ts +8 -6
  12. package/dist/theme/solfacil/index.d.ts +1 -0
  13. package/dist/theme/solfacil/spacing.d.ts +3 -0
  14. package/dist/theme/solfacil/typography.d.ts +1 -1
  15. package/dist/theme/solfacil/utilities.d.ts +1 -0
  16. package/dist/types/components/accordion/Accordion.vue.d.ts +97 -0
  17. package/dist/types/components/accordion/accordion.spec.d.ts +1 -0
  18. package/dist/types/components/accordion/index.d.ts +2 -0
  19. package/dist/types/components/dropdown/Dropdown.vue.d.ts +188 -31
  20. package/dist/types/components/forms/button/Button.vue.d.ts +98 -20
  21. package/dist/types/components/forms/checkbox/Checkbox.vue.d.ts +77 -11
  22. package/dist/types/components/forms/checkbox/CheckboxGroup.vue.d.ts +114 -19
  23. package/dist/types/components/forms/input/Input.vue.d.ts +76 -10
  24. package/dist/types/components/forms/radio/Radio.vue.d.ts +77 -11
  25. package/dist/types/components/forms/radio/RadioGroup.vue.d.ts +114 -19
  26. package/dist/types/components/forms/select/ListOption.vue.d.ts +149 -0
  27. package/dist/types/components/forms/select/Select.vue.d.ts +298 -27
  28. package/dist/types/components/forms/switch/Switch.vue.d.ts +83 -13
  29. package/dist/types/components/forms/textarea/Textarea.vue.d.ts +108 -19
  30. package/dist/types/components/forms/textfield/Textfield.vue.d.ts +101 -17
  31. package/dist/types/components/forms/textfield/TextfieldPassword.vue.d.ts +71 -9
  32. package/dist/types/components/informations/chip/Chip.vue.d.ts +94 -15
  33. package/dist/types/composables/use-toast/Toast.vue.d.ts +130 -24
  34. package/dist/types/composables/use-toast/index.d.ts +1 -1
  35. package/dist/types/index.d.ts +2343 -448
  36. package/dist/windi.config.d.ts +1 -1
  37. package/package.json +36 -36
  38. package/theme/safelist.ts +104 -0
  39. package/theme/solfacil/borders.ts +2 -1
  40. package/theme/solfacil/colors.ts +44 -22
  41. package/theme/solfacil/effects.ts +9 -7
  42. package/theme/solfacil/index.ts +2 -1
  43. package/theme/solfacil/spacing.ts +3 -0
  44. package/theme/solfacil/typography.ts +8 -9
  45. package/theme/solfacil/utilities.ts +239 -3
  46. package/vite.config.ts +1 -0
  47. package/windi.config.ts +14 -1
@@ -1,38 +1,62 @@
1
1
  declare const _default: {
2
2
  brand: {
3
3
  primary: {
4
+ pure: string;
4
5
  light: string;
5
6
  medium: string;
7
+ dark: string;
8
+ };
9
+ secondary: {
10
+ medium: string;
11
+ light: string;
6
12
  pure: string;
13
+ dark: string;
7
14
  };
8
15
  };
16
+ highlight: {
17
+ pure: string;
18
+ light: string;
19
+ medium: string;
20
+ dark: string;
21
+ };
9
22
  neutral: {
10
23
  low: {
24
+ pure: string;
11
25
  light: string;
12
26
  medium: string;
13
- pure: string;
27
+ dark: string;
14
28
  };
15
29
  high: {
30
+ pure: string;
16
31
  light: string;
17
32
  medium: string;
18
- pure: string;
33
+ dark: string;
19
34
  };
20
35
  };
21
36
  feedback: {
22
37
  positive: {
38
+ pure: string;
23
39
  light: string;
24
40
  medium: string;
41
+ dark: string;
42
+ };
43
+ warning: {
25
44
  pure: string;
45
+ light: string;
46
+ medium: string;
47
+ dark: string;
26
48
  };
27
49
  informative: {
50
+ pure: string;
28
51
  light: string;
29
52
  medium: string;
30
- pure: string;
53
+ dark: string;
31
54
  };
32
55
  negative: {
56
+ pure: string;
33
57
  light: string;
34
58
  medium: string;
35
- pure: string;
59
+ dark: string;
36
60
  };
37
61
  };
38
62
  };
@@ -1,14 +1,16 @@
1
1
  declare const _default: {
2
2
  opacity: {
3
3
  DEFAULT: number;
4
- strong: number;
5
- moderate: number;
6
- weak: number;
4
+ semiopaque: number;
5
+ intense: number;
6
+ medium: number;
7
+ light: number;
7
8
  };
8
9
  boxShadow: {
9
- soft: string;
10
- medium: string;
11
- large: string;
10
+ weak: string;
11
+ moderate: string;
12
+ intense: string;
13
+ strong: string;
12
14
  };
13
15
  };
14
16
  export default _default;
@@ -6,6 +6,7 @@ import effects from './effects';
6
6
  import misc from './miscs';
7
7
  export { colors, typography, spacing, borders, effects, misc, };
8
8
  export declare const utilities: {
9
+ componentTypos: import("windicss/types/interfaces").PluginOutput;
9
10
  outlinesForFocus: import("windicss/types/interfaces").PluginOutput;
10
11
  maxLines: import("windicss/types/interfaces").PluginOutput;
11
12
  debug: import("windicss/types/interfaces").PluginOutput;
@@ -12,6 +12,7 @@ declare const _default: {
12
12
  '2xl': string;
13
13
  '3xl': string;
14
14
  mega: string;
15
+ huge: string;
15
16
  giga: string;
16
17
  };
17
18
  padding: {
@@ -27,6 +28,7 @@ declare const _default: {
27
28
  '2xl': string;
28
29
  '3xl': string;
29
30
  mega: string;
31
+ huge: string;
30
32
  giga: string;
31
33
  };
32
34
  margin: {
@@ -42,6 +44,7 @@ declare const _default: {
42
44
  '2xl': string;
43
45
  '3xl': string;
44
46
  mega: string;
47
+ huge: string;
45
48
  giga: string;
46
49
  };
47
50
  };
@@ -3,7 +3,6 @@ declare const _default: {
3
3
  sans: string[];
4
4
  base: string[];
5
5
  highlight: string[];
6
- code: string[];
7
6
  };
8
7
  fontSize: {
9
8
  micro: string;
@@ -16,6 +15,7 @@ declare const _default: {
16
15
  xl: string;
17
16
  '2xl': string;
18
17
  '3xl': string;
18
+ huge: string;
19
19
  mega: string;
20
20
  giga: string;
21
21
  };
@@ -1,3 +1,4 @@
1
+ export declare const componentTypos: import("windicss/types/interfaces").PluginOutput;
1
2
  export declare const outlinesForFocus: import("windicss/types/interfaces").PluginOutput;
2
3
  export declare const maxLines: import("windicss/types/interfaces").PluginOutput;
3
4
  export declare const debug: import("windicss/types/interfaces").PluginOutput;
@@ -0,0 +1,97 @@
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ title: string;
7
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ id: string;
9
+ title?: string | undefined;
10
+ invert?: boolean | undefined;
11
+ disabled?: boolean | undefined;
12
+ }>, {
13
+ title: string;
14
+ }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title">;
15
+ $attrs: {
16
+ [x: string]: unknown;
17
+ };
18
+ $refs: {
19
+ [x: string]: unknown;
20
+ };
21
+ $slots: Readonly<{
22
+ [name: string]: import("vue").Slot | undefined;
23
+ }>;
24
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
25
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
26
+ $emit: (event: string, ...args: any[]) => void;
27
+ $el: any;
28
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
29
+ id: string;
30
+ title?: string | undefined;
31
+ invert?: boolean | undefined;
32
+ disabled?: boolean | undefined;
33
+ }>, {
34
+ title: string;
35
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
36
+ title: string;
37
+ }> & {
38
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
39
+ created?: ((() => void) | (() => void)[]) | undefined;
40
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
41
+ mounted?: ((() => void) | (() => void)[]) | undefined;
42
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
43
+ updated?: ((() => void) | (() => void)[]) | undefined;
44
+ activated?: ((() => void) | (() => void)[]) | undefined;
45
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
46
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
47
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
48
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
49
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
50
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
51
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
52
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
53
+ };
54
+ $forceUpdate: () => void;
55
+ $nextTick: typeof import("vue").nextTick;
56
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
57
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
58
+ id: string;
59
+ title?: string | undefined;
60
+ invert?: boolean | undefined;
61
+ disabled?: boolean | undefined;
62
+ }>, {
63
+ title: string;
64
+ }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
65
+ __isFragment?: undefined;
66
+ __isTeleport?: undefined;
67
+ __isSuspense?: undefined;
68
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
69
+ id: string;
70
+ title?: string | undefined;
71
+ invert?: boolean | undefined;
72
+ disabled?: boolean | undefined;
73
+ }>, {
74
+ title: string;
75
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
76
+ title: string;
77
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
78
+ $slots: {
79
+ title: (_: {}) => any;
80
+ default: (_: {}) => any;
81
+ };
82
+ });
83
+ export default _default;
84
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
85
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
86
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
87
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
88
+ } : {
89
+ type: import('vue').PropType<T[K]>;
90
+ required: true;
91
+ };
92
+ };
93
+ declare type __VLS_WithDefaults<P, D> = {
94
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
95
+ default: D[K];
96
+ } : P[K];
97
+ };
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1,2 @@
1
+ import SolAccordion from './Accordion.vue';
2
+ export { SolAccordion, };
@@ -1,4 +1,151 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ loading: boolean;
7
+ searchable: boolean;
8
+ closeOnSelect: boolean;
9
+ fetchOnSearch: boolean;
10
+ options: (string | {
11
+ name: string;
12
+ value: string;
13
+ })[];
14
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
+ id: string;
16
+ label?: string | undefined;
17
+ ariaLabel?: string | undefined;
18
+ smallerWidth?: boolean | undefined;
19
+ disabled?: boolean | undefined;
20
+ loading?: boolean | undefined;
21
+ searchable?: boolean | undefined;
22
+ closeOnSelect?: boolean | undefined;
23
+ fetchOnSearch?: boolean | undefined;
24
+ isMultipleSelect?: boolean | undefined;
25
+ searchPlaceholder?: string | undefined;
26
+ selected?: string | string[] | undefined;
27
+ options: (string | {
28
+ name: string;
29
+ value: string;
30
+ })[];
31
+ }>, {
32
+ loading: boolean;
33
+ closeOnSelect: boolean;
34
+ fetchOnSearch: boolean;
35
+ searchable: boolean;
36
+ options: () => never[];
37
+ }>>> & {
38
+ onSearch?: ((value: string) => any) | undefined;
39
+ onCloseDropdown?: (() => any) | undefined;
40
+ "onUpdate:selected"?: ((value: string | string[]) => any) | undefined;
41
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "loading" | "searchable" | "closeOnSelect" | "fetchOnSearch" | "options">;
42
+ $attrs: {
43
+ [x: string]: unknown;
44
+ };
45
+ $refs: {
46
+ [x: string]: unknown;
47
+ };
48
+ $slots: Readonly<{
49
+ [name: string]: import("vue").Slot | undefined;
50
+ }>;
51
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
52
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
53
+ $emit: ((event: "search", value: string) => void) & ((event: "closeDropdown") => void) & ((event: "update:selected", value: string | string[]) => void);
54
+ $el: any;
55
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
56
+ id: string;
57
+ label?: string | undefined;
58
+ ariaLabel?: string | undefined;
59
+ smallerWidth?: boolean | undefined;
60
+ disabled?: boolean | undefined;
61
+ loading?: boolean | undefined;
62
+ searchable?: boolean | undefined;
63
+ closeOnSelect?: boolean | undefined;
64
+ fetchOnSearch?: boolean | undefined;
65
+ isMultipleSelect?: boolean | undefined;
66
+ searchPlaceholder?: string | undefined;
67
+ selected?: string | string[] | undefined;
68
+ options: (string | {
69
+ name: string;
70
+ value: string;
71
+ })[];
72
+ }>, {
73
+ loading: boolean;
74
+ closeOnSelect: boolean;
75
+ fetchOnSearch: boolean;
76
+ searchable: boolean;
77
+ options: () => never[];
78
+ }>>> & {
79
+ onSearch?: ((value: string) => any) | undefined;
80
+ onCloseDropdown?: (() => any) | undefined;
81
+ "onUpdate:selected"?: ((value: string | string[]) => any) | undefined;
82
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
+ closeDropdown: () => void;
84
+ } & {
85
+ search: (value: string) => void;
86
+ } & {
87
+ "update:selected": (value: string | string[]) => void;
88
+ }, string, {
89
+ loading: boolean;
90
+ searchable: boolean;
91
+ closeOnSelect: boolean;
92
+ fetchOnSearch: boolean;
93
+ options: (string | {
94
+ name: string;
95
+ value: string;
96
+ })[];
97
+ }> & {
98
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
99
+ created?: ((() => void) | (() => void)[]) | undefined;
100
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
101
+ mounted?: ((() => void) | (() => void)[]) | undefined;
102
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
103
+ updated?: ((() => void) | (() => void)[]) | undefined;
104
+ activated?: ((() => void) | (() => void)[]) | undefined;
105
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
106
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
107
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
108
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
109
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
110
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
111
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
112
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
113
+ };
114
+ $forceUpdate: () => void;
115
+ $nextTick: typeof import("vue").nextTick;
116
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
117
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
118
+ id: string;
119
+ label?: string | undefined;
120
+ ariaLabel?: string | undefined;
121
+ smallerWidth?: boolean | undefined;
122
+ disabled?: boolean | undefined;
123
+ loading?: boolean | undefined;
124
+ searchable?: boolean | undefined;
125
+ closeOnSelect?: boolean | undefined;
126
+ fetchOnSearch?: boolean | undefined;
127
+ isMultipleSelect?: boolean | undefined;
128
+ searchPlaceholder?: string | undefined;
129
+ selected?: string | string[] | undefined;
130
+ options: (string | {
131
+ name: string;
132
+ value: string;
133
+ })[];
134
+ }>, {
135
+ loading: boolean;
136
+ closeOnSelect: boolean;
137
+ fetchOnSearch: boolean;
138
+ searchable: boolean;
139
+ options: () => never[];
140
+ }>>> & {
141
+ onSearch?: ((value: string) => any) | undefined;
142
+ onCloseDropdown?: (() => any) | undefined;
143
+ "onUpdate:selected"?: ((value: string | string[]) => any) | undefined;
144
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
145
+ __isFragment?: undefined;
146
+ __isTeleport?: undefined;
147
+ __isSuspense?: undefined;
148
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
149
  id: string;
3
150
  label?: string | undefined;
4
151
  ariaLabel?: string | undefined;
@@ -21,40 +168,17 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
21
168
  fetchOnSearch: boolean;
22
169
  searchable: boolean;
23
170
  options: () => never[];
24
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
171
+ }>>> & {
172
+ onSearch?: ((value: string) => any) | undefined;
173
+ onCloseDropdown?: (() => any) | undefined;
174
+ "onUpdate:selected"?: ((value: string | string[]) => any) | undefined;
175
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
176
  closeDropdown: () => void;
26
177
  } & {
27
178
  search: (value: string) => void;
28
179
  } & {
29
180
  "update:selected": (value: string | string[]) => void;
30
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
31
- id: string;
32
- label?: string | undefined;
33
- ariaLabel?: string | undefined;
34
- smallerWidth?: boolean | undefined;
35
- disabled?: boolean | undefined;
36
- loading?: boolean | undefined;
37
- searchable?: boolean | undefined;
38
- closeOnSelect?: boolean | undefined;
39
- fetchOnSearch?: boolean | undefined;
40
- isMultipleSelect?: boolean | undefined;
41
- searchPlaceholder?: string | undefined;
42
- selected?: string | string[] | undefined;
43
- options: (string | {
44
- name: string;
45
- value: string;
46
- })[];
47
- }>, {
48
- loading: boolean;
49
- closeOnSelect: boolean;
50
- fetchOnSearch: boolean;
51
- searchable: boolean;
52
- options: () => never[];
53
- }>>> & {
54
- onSearch?: ((value: string) => any) | undefined;
55
- onCloseDropdown?: (() => any) | undefined;
56
- "onUpdate:selected"?: ((value: string | string[]) => any) | undefined;
57
- }, {
181
+ }, string, {
58
182
  loading: boolean;
59
183
  searchable: boolean;
60
184
  closeOnSelect: boolean;
@@ -63,7 +187,40 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
63
187
  name: string;
64
188
  value: string;
65
189
  })[];
66
- }>;
190
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
191
+ $slots: {
192
+ label: (_: {}) => any;
193
+ 'toggle-dropdown': (_: {
194
+ toggle: {
195
+ open: () => void;
196
+ close: () => void;
197
+ toggleDropdown: () => void;
198
+ };
199
+ isOpen: boolean;
200
+ select: (selected: string | {
201
+ name: string;
202
+ value: string;
203
+ }) => void;
204
+ selectedSanitized: string | undefined;
205
+ selected: string | string[] | undefined;
206
+ }) => any;
207
+ search: (_: {
208
+ filter: string;
209
+ }) => any;
210
+ default: (_: {
211
+ text: string;
212
+ option: string | {
213
+ name: string;
214
+ value: string;
215
+ };
216
+ isSelect: (option: string | {
217
+ name: string;
218
+ value: string;
219
+ }) => boolean;
220
+ }) => any;
221
+ 'no-data': (_: {}) => any;
222
+ };
223
+ });
67
224
  export default _default;
68
225
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
69
226
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,26 +1,104 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- variant?: "flat" | "primary" | "secondary" | undefined;
3
- dense?: boolean | undefined;
4
- invert?: boolean | undefined;
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ onColor: boolean;
7
+ size: 'small' | 'medium' | 'large';
8
+ variant: 'primary' | 'secondary' | 'tertiary';
9
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
+ id: string;
11
+ loading?: boolean | undefined;
12
+ onColor?: boolean | undefined;
13
+ size?: "small" | "large" | "medium" | undefined;
14
+ variant?: "primary" | "secondary" | "tertiary" | undefined;
15
+ }>, {
16
+ variant: string;
17
+ size: string;
18
+ onColor: boolean;
19
+ }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "onColor" | "size" | "variant">;
20
+ $attrs: {
21
+ [x: string]: unknown;
22
+ };
23
+ $refs: {
24
+ [x: string]: unknown;
25
+ };
26
+ $slots: Readonly<{
27
+ [name: string]: import("vue").Slot | undefined;
28
+ }>;
29
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
30
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
31
+ $emit: (event: string, ...args: any[]) => void;
32
+ $el: any;
33
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
34
+ id: string;
35
+ loading?: boolean | undefined;
36
+ onColor?: boolean | undefined;
37
+ size?: "small" | "large" | "medium" | undefined;
38
+ variant?: "primary" | "secondary" | "tertiary" | undefined;
39
+ }>, {
40
+ variant: string;
41
+ size: string;
42
+ onColor: boolean;
43
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
44
+ onColor: boolean;
45
+ size: 'small' | 'medium' | 'large';
46
+ variant: 'primary' | 'secondary' | 'tertiary';
47
+ }> & {
48
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
49
+ created?: ((() => void) | (() => void)[]) | undefined;
50
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
51
+ mounted?: ((() => void) | (() => void)[]) | undefined;
52
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
53
+ updated?: ((() => void) | (() => void)[]) | undefined;
54
+ activated?: ((() => void) | (() => void)[]) | undefined;
55
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
56
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
57
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
58
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
59
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
60
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
61
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
62
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
63
+ };
64
+ $forceUpdate: () => void;
65
+ $nextTick: typeof import("vue").nextTick;
66
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
67
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
68
+ id: string;
69
+ loading?: boolean | undefined;
70
+ onColor?: boolean | undefined;
71
+ size?: "small" | "large" | "medium" | undefined;
72
+ variant?: "primary" | "secondary" | "tertiary" | undefined;
73
+ }>, {
74
+ variant: string;
75
+ size: string;
76
+ onColor: boolean;
77
+ }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
78
+ __isFragment?: undefined;
79
+ __isTeleport?: undefined;
80
+ __isSuspense?: undefined;
81
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
82
  id: string;
83
+ loading?: boolean | undefined;
84
+ onColor?: boolean | undefined;
85
+ size?: "small" | "large" | "medium" | undefined;
86
+ variant?: "primary" | "secondary" | "tertiary" | undefined;
6
87
  }>, {
7
88
  variant: string;
8
- dense: boolean;
9
- invert: boolean;
10
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
- variant?: "flat" | "primary" | "secondary" | undefined;
12
- dense?: boolean | undefined;
13
- invert?: boolean | undefined;
14
- id: string;
15
- }>, {
16
- variant: string;
17
- dense: boolean;
18
- invert: boolean;
19
- }>>>, {
20
- invert: boolean;
21
- variant: 'primary' | 'secondary' | 'flat';
22
- dense: boolean;
23
- }>;
89
+ size: string;
90
+ onColor: boolean;
91
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
92
+ onColor: boolean;
93
+ size: 'small' | 'medium' | 'large';
94
+ variant: 'primary' | 'secondary' | 'tertiary';
95
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
96
+ $slots: {
97
+ 'icon-left': (_: {}) => any;
98
+ default: (_: {}) => any;
99
+ 'icon-right': (_: {}) => any;
100
+ };
101
+ });
24
102
  export default _default;
25
103
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
104
  declare type __VLS_TypePropsToRuntimeProps<T> = {