@dronico/droni-kit 1.25.1 → 1.26.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.
@@ -4,9 +4,12 @@ declare const meta: {
4
4
  component: {
5
5
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
6
6
  modelValue: {
7
- type: BooleanConstructor;
7
+ type: import('vue').PropType<boolean | unknown[]>;
8
8
  default: boolean;
9
9
  };
10
+ value: {
11
+ type: import('vue').PropType<unknown>;
12
+ };
10
13
  label: {
11
14
  type: StringConstructor;
12
15
  default: string;
@@ -27,26 +30,21 @@ declare const meta: {
27
30
  type: BooleanConstructor;
28
31
  default: boolean;
29
32
  };
30
- rounded: {
31
- type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
32
- default: string;
33
- };
34
33
  disabled: {
35
34
  type: BooleanConstructor;
36
35
  default: boolean;
37
36
  };
38
37
  }>> & Readonly<{
39
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
38
+ "onUpdate:modelValue"?: ((value: boolean | unknown[]) => any) | undefined;
40
39
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
41
- "update:modelValue": (value: boolean) => any;
40
+ "update:modelValue": (value: boolean | unknown[]) => any;
42
41
  }, import('vue').PublicProps, {
43
42
  color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
44
43
  size: "sm" | "md" | "lg";
45
44
  disabled: boolean;
46
45
  block: boolean;
47
- rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
48
46
  label: string;
49
- modelValue: boolean;
47
+ modelValue: boolean | unknown[];
50
48
  labelPosition: "left" | "right";
51
49
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
52
50
  P: {};
@@ -57,9 +55,12 @@ declare const meta: {
57
55
  Defaults: {};
58
56
  }, Readonly<import('vue').ExtractPropTypes<{
59
57
  modelValue: {
60
- type: BooleanConstructor;
58
+ type: import('vue').PropType<boolean | unknown[]>;
61
59
  default: boolean;
62
60
  };
61
+ value: {
62
+ type: import('vue').PropType<unknown>;
63
+ };
63
64
  label: {
64
65
  type: StringConstructor;
65
66
  default: string;
@@ -80,24 +81,19 @@ declare const meta: {
80
81
  type: BooleanConstructor;
81
82
  default: boolean;
82
83
  };
83
- rounded: {
84
- type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
85
- default: string;
86
- };
87
84
  disabled: {
88
85
  type: BooleanConstructor;
89
86
  default: boolean;
90
87
  };
91
88
  }>> & Readonly<{
92
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
89
+ "onUpdate:modelValue"?: ((value: boolean | unknown[]) => any) | undefined;
93
90
  }>, {}, {}, {}, {}, {
94
91
  color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
95
92
  size: "sm" | "md" | "lg";
96
93
  disabled: boolean;
97
94
  block: boolean;
98
- rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
99
95
  label: string;
100
- modelValue: boolean;
96
+ modelValue: boolean | unknown[];
101
97
  labelPosition: "left" | "right";
102
98
  }>;
103
99
  __isFragment?: never;
@@ -105,9 +101,12 @@ declare const meta: {
105
101
  __isSuspense?: never;
106
102
  } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
107
103
  modelValue: {
108
- type: BooleanConstructor;
104
+ type: import('vue').PropType<boolean | unknown[]>;
109
105
  default: boolean;
110
106
  };
107
+ value: {
108
+ type: import('vue').PropType<unknown>;
109
+ };
111
110
  label: {
112
111
  type: StringConstructor;
113
112
  default: string;
@@ -128,26 +127,21 @@ declare const meta: {
128
127
  type: BooleanConstructor;
129
128
  default: boolean;
130
129
  };
131
- rounded: {
132
- type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
133
- default: string;
134
- };
135
130
  disabled: {
136
131
  type: BooleanConstructor;
137
132
  default: boolean;
138
133
  };
139
134
  }>> & Readonly<{
140
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
135
+ "onUpdate:modelValue"?: ((value: boolean | unknown[]) => any) | undefined;
141
136
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
142
- "update:modelValue": (value: boolean) => any;
137
+ "update:modelValue": (value: boolean | unknown[]) => any;
143
138
  }, string, {
144
139
  color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
145
140
  size: "sm" | "md" | "lg";
146
141
  disabled: boolean;
147
142
  block: boolean;
148
- rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
149
143
  label: string;
150
- modelValue: boolean;
144
+ modelValue: boolean | unknown[];
151
145
  labelPosition: "left" | "right";
152
146
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
153
147
  $slots: {
@@ -159,7 +153,13 @@ declare const meta: {
159
153
  argTypes: {
160
154
  modelValue: {
161
155
  control: {
162
- type: "boolean";
156
+ type: "object";
157
+ };
158
+ description: string;
159
+ };
160
+ value: {
161
+ control: {
162
+ type: "text";
163
163
  };
164
164
  description: string;
165
165
  };
@@ -196,13 +196,6 @@ declare const meta: {
196
196
  };
197
197
  description: string;
198
198
  };
199
- rounded: {
200
- control: {
201
- type: "select";
202
- };
203
- options: string[];
204
- description: string;
205
- };
206
199
  disabled: {
207
200
  control: {
208
201
  type: "boolean";
@@ -222,5 +215,6 @@ export default meta;
222
215
  type Story = StoryObj<typeof meta>;
223
216
  export declare const Default: Story;
224
217
  export declare const Colors: Story;
218
+ export declare const MultipleValues: Story;
225
219
  export declare const SizesAndStates: Story;
226
220
  export declare const LabelPositions: Story;
@@ -1,3 +1,4 @@
1
+ import { PropType } from 'vue';
1
2
  declare function __VLS_template(): {
2
3
  attrs: Partial<{}>;
3
4
  slots: {
@@ -10,9 +11,12 @@ declare function __VLS_template(): {
10
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
12
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
12
13
  modelValue: {
13
- type: BooleanConstructor;
14
+ type: PropType<boolean | unknown[]>;
14
15
  default: boolean;
15
16
  };
17
+ value: {
18
+ type: PropType<unknown>;
19
+ };
16
20
  label: {
17
21
  type: StringConstructor;
18
22
  default: string;
@@ -33,21 +37,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
33
37
  type: BooleanConstructor;
34
38
  default: boolean;
35
39
  };
36
- rounded: {
37
- type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
38
- default: string;
39
- };
40
40
  disabled: {
41
41
  type: BooleanConstructor;
42
42
  default: boolean;
43
43
  };
44
44
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
45
- "update:modelValue": (value: boolean) => any;
45
+ "update:modelValue": (value: boolean | unknown[]) => any;
46
46
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
47
47
  modelValue: {
48
- type: BooleanConstructor;
48
+ type: PropType<boolean | unknown[]>;
49
49
  default: boolean;
50
50
  };
51
+ value: {
52
+ type: PropType<unknown>;
53
+ };
51
54
  label: {
52
55
  type: StringConstructor;
53
56
  default: string;
@@ -68,24 +71,19 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
68
71
  type: BooleanConstructor;
69
72
  default: boolean;
70
73
  };
71
- rounded: {
72
- type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
73
- default: string;
74
- };
75
74
  disabled: {
76
75
  type: BooleanConstructor;
77
76
  default: boolean;
78
77
  };
79
78
  }>> & Readonly<{
80
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
79
+ "onUpdate:modelValue"?: ((value: boolean | unknown[]) => any) | undefined;
81
80
  }>, {
82
81
  color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
83
82
  size: "sm" | "md" | "lg";
84
83
  disabled: boolean;
85
84
  block: boolean;
86
- rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
87
85
  label: string;
88
- modelValue: boolean;
86
+ modelValue: boolean | unknown[];
89
87
  labelPosition: "left" | "right";
90
88
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
91
89
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dronico/droni-kit",
3
3
  "author": "Gustavo Barragan <dev@droni.co>",
4
- "version": "1.25.1",
4
+ "version": "1.26.0",
5
5
  "private": false,
6
6
  "access": "public",
7
7
  "publishConfig": {