@dronico/droni-kit 1.12.7 → 1.14.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.
- package/CHANGELOG.md +19 -0
- package/dist/droni-kit.cjs.js +9 -9
- package/dist/droni-kit.css +1 -1
- package/dist/droni-kit.es.js +578 -364
- package/dist/index.d.ts +2 -1
- package/dist/stories/Elements/DuiTable.stories.d.ts +63 -3
- package/dist/stories/Elements/DuiTable.vue.d.ts +30 -2
- package/dist/stories/Forms/DuiCheckbox.stories.d.ts +226 -0
- package/dist/stories/Forms/DuiCheckbox.vue.d.ts +97 -0
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -3,9 +3,10 @@ import { default as DuiInput } from './stories/Forms/DuiInput.vue';
|
|
|
3
3
|
import { default as DuiTextarea } from './stories/Forms/DuiTextarea.vue';
|
|
4
4
|
import { default as DuiSelect } from './stories/Forms/DuiSelect.vue';
|
|
5
5
|
import { default as DuiLabel } from './stories/Forms/DuiLabel.vue';
|
|
6
|
+
import { default as DuiCheckbox } from './stories/Forms/DuiCheckbox.vue';
|
|
6
7
|
import { default as DuiAlert } from './stories/Elements/DuiAlert.vue';
|
|
7
8
|
import { default as DuiTable } from './stories/Elements/DuiTable.vue';
|
|
8
9
|
import { default as DuiAction } from './stories/Elements/DuiAction.vue';
|
|
9
10
|
import { default as DuiCard } from './stories/Elements/DuiCard.vue';
|
|
10
11
|
import { default as DuiNavbar } from './stories/Widgets/DuiNavbar.vue';
|
|
11
|
-
export { DuiButton, DuiInput, DuiTextarea, DuiAction, DuiCard, DuiSelect, DuiLabel, DuiAlert, DuiTable, DuiNavbar };
|
|
12
|
+
export { DuiButton, DuiInput, DuiTextarea, DuiAction, DuiCard, DuiSelect, DuiLabel, DuiCheckbox, DuiAlert, DuiTable, DuiNavbar };
|
|
@@ -37,7 +37,22 @@ declare const meta: {
|
|
|
37
37
|
};
|
|
38
38
|
required: true;
|
|
39
39
|
};
|
|
40
|
-
|
|
40
|
+
loading: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
pagination: {
|
|
45
|
+
type: () => import('./DuiTable.vue').PaginationData | undefined;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
}>> & Readonly<{
|
|
49
|
+
onPaginate?: ((page: number) => any) | undefined;
|
|
50
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
51
|
+
paginate: (page: number) => any;
|
|
52
|
+
}, import('vue').PublicProps, {
|
|
53
|
+
loading: boolean;
|
|
54
|
+
pagination: import('./DuiTable.vue').PaginationData | undefined;
|
|
55
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
41
56
|
P: {};
|
|
42
57
|
B: {};
|
|
43
58
|
D: {};
|
|
@@ -79,7 +94,20 @@ declare const meta: {
|
|
|
79
94
|
};
|
|
80
95
|
required: true;
|
|
81
96
|
};
|
|
82
|
-
|
|
97
|
+
loading: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
pagination: {
|
|
102
|
+
type: () => import('./DuiTable.vue').PaginationData | undefined;
|
|
103
|
+
default: undefined;
|
|
104
|
+
};
|
|
105
|
+
}>> & Readonly<{
|
|
106
|
+
onPaginate?: ((page: number) => any) | undefined;
|
|
107
|
+
}>, {}, {}, {}, {}, {
|
|
108
|
+
loading: boolean;
|
|
109
|
+
pagination: import('./DuiTable.vue').PaginationData | undefined;
|
|
110
|
+
}>;
|
|
83
111
|
__isFragment?: never;
|
|
84
112
|
__isTeleport?: never;
|
|
85
113
|
__isSuspense?: never;
|
|
@@ -118,7 +146,22 @@ declare const meta: {
|
|
|
118
146
|
};
|
|
119
147
|
required: true;
|
|
120
148
|
};
|
|
121
|
-
|
|
149
|
+
loading: {
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
153
|
+
pagination: {
|
|
154
|
+
type: () => import('./DuiTable.vue').PaginationData | undefined;
|
|
155
|
+
default: undefined;
|
|
156
|
+
};
|
|
157
|
+
}>> & Readonly<{
|
|
158
|
+
onPaginate?: ((page: number) => any) | undefined;
|
|
159
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
160
|
+
paginate: (page: number) => any;
|
|
161
|
+
}, string, {
|
|
162
|
+
loading: boolean;
|
|
163
|
+
pagination: import('./DuiTable.vue').PaginationData | undefined;
|
|
164
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
122
165
|
$slots: Partial<Record<string, (_: any) => any>>;
|
|
123
166
|
});
|
|
124
167
|
tags: string[];
|
|
@@ -144,8 +187,25 @@ declare const meta: {
|
|
|
144
187
|
country: string;
|
|
145
188
|
}[];
|
|
146
189
|
};
|
|
190
|
+
loading: {
|
|
191
|
+
control: {
|
|
192
|
+
type: "boolean";
|
|
193
|
+
};
|
|
194
|
+
description: string;
|
|
195
|
+
defaultValue: boolean;
|
|
196
|
+
};
|
|
197
|
+
pagination: {
|
|
198
|
+
control: {
|
|
199
|
+
type: "object";
|
|
200
|
+
};
|
|
201
|
+
description: string;
|
|
202
|
+
defaultValue: undefined;
|
|
203
|
+
};
|
|
147
204
|
};
|
|
148
205
|
};
|
|
149
206
|
export default meta;
|
|
150
207
|
type Story = StoryObj<typeof meta>;
|
|
151
208
|
export declare const Default: Story;
|
|
209
|
+
export declare const Loading: Story;
|
|
210
|
+
export declare const WithPagination: Story;
|
|
211
|
+
export declare const LoadingWithPagination: Story;
|
|
@@ -3,6 +3,11 @@ export interface TableColumn {
|
|
|
3
3
|
name: string;
|
|
4
4
|
classes?: string;
|
|
5
5
|
}
|
|
6
|
+
export interface PaginationData {
|
|
7
|
+
page: number;
|
|
8
|
+
perPage: number;
|
|
9
|
+
total: number;
|
|
10
|
+
}
|
|
6
11
|
declare function __VLS_template(): {
|
|
7
12
|
attrs: Partial<{}>;
|
|
8
13
|
slots: Partial<Record<string, (_: any) => any>>;
|
|
@@ -45,7 +50,17 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
45
50
|
};
|
|
46
51
|
required: true;
|
|
47
52
|
};
|
|
48
|
-
|
|
53
|
+
loading: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
pagination: {
|
|
58
|
+
type: () => PaginationData | undefined;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
62
|
+
paginate: (page: number) => any;
|
|
63
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
49
64
|
columns: {
|
|
50
65
|
type: {
|
|
51
66
|
(arrayLength: number): TableColumn[];
|
|
@@ -80,7 +95,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
80
95
|
};
|
|
81
96
|
required: true;
|
|
82
97
|
};
|
|
83
|
-
|
|
98
|
+
loading: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
pagination: {
|
|
103
|
+
type: () => PaginationData | undefined;
|
|
104
|
+
default: undefined;
|
|
105
|
+
};
|
|
106
|
+
}>> & Readonly<{
|
|
107
|
+
onPaginate?: ((page: number) => any) | undefined;
|
|
108
|
+
}>, {
|
|
109
|
+
loading: boolean;
|
|
110
|
+
pagination: PaginationData | undefined;
|
|
111
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
84
112
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
85
113
|
export default _default;
|
|
86
114
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: {
|
|
5
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
label: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
labelPosition: {
|
|
15
|
+
type: () => "left" | "right";
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
color: {
|
|
19
|
+
type: () => "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
size: {
|
|
23
|
+
type: () => "sm" | "md" | "lg";
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
block: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
rounded: {
|
|
31
|
+
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
}>> & Readonly<{
|
|
39
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
40
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
41
|
+
"update:modelValue": (value: boolean) => any;
|
|
42
|
+
}, import('vue').PublicProps, {
|
|
43
|
+
color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
44
|
+
size: "sm" | "md" | "lg";
|
|
45
|
+
disabled: boolean;
|
|
46
|
+
block: boolean;
|
|
47
|
+
rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
48
|
+
label: string;
|
|
49
|
+
modelValue: boolean;
|
|
50
|
+
labelPosition: "left" | "right";
|
|
51
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
52
|
+
P: {};
|
|
53
|
+
B: {};
|
|
54
|
+
D: {};
|
|
55
|
+
C: {};
|
|
56
|
+
M: {};
|
|
57
|
+
Defaults: {};
|
|
58
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
59
|
+
modelValue: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
label: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
labelPosition: {
|
|
68
|
+
type: () => "left" | "right";
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
color: {
|
|
72
|
+
type: () => "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
size: {
|
|
76
|
+
type: () => "sm" | "md" | "lg";
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
block: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
rounded: {
|
|
84
|
+
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
disabled: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
}>> & Readonly<{
|
|
92
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
93
|
+
}>, {}, {}, {}, {}, {
|
|
94
|
+
color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
95
|
+
size: "sm" | "md" | "lg";
|
|
96
|
+
disabled: boolean;
|
|
97
|
+
block: boolean;
|
|
98
|
+
rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
99
|
+
label: string;
|
|
100
|
+
modelValue: boolean;
|
|
101
|
+
labelPosition: "left" | "right";
|
|
102
|
+
}>;
|
|
103
|
+
__isFragment?: never;
|
|
104
|
+
__isTeleport?: never;
|
|
105
|
+
__isSuspense?: never;
|
|
106
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
107
|
+
modelValue: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
label: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
labelPosition: {
|
|
116
|
+
type: () => "left" | "right";
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
color: {
|
|
120
|
+
type: () => "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
size: {
|
|
124
|
+
type: () => "sm" | "md" | "lg";
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
block: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
rounded: {
|
|
132
|
+
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
disabled: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
}>> & Readonly<{
|
|
140
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
141
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
142
|
+
"update:modelValue": (value: boolean) => any;
|
|
143
|
+
}, string, {
|
|
144
|
+
color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
145
|
+
size: "sm" | "md" | "lg";
|
|
146
|
+
disabled: boolean;
|
|
147
|
+
block: boolean;
|
|
148
|
+
rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
149
|
+
label: string;
|
|
150
|
+
modelValue: boolean;
|
|
151
|
+
labelPosition: "left" | "right";
|
|
152
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
153
|
+
$slots: {
|
|
154
|
+
default?(_: {}): any;
|
|
155
|
+
default?(_: {}): any;
|
|
156
|
+
};
|
|
157
|
+
});
|
|
158
|
+
tags: string[];
|
|
159
|
+
argTypes: {
|
|
160
|
+
modelValue: {
|
|
161
|
+
control: {
|
|
162
|
+
type: "boolean";
|
|
163
|
+
};
|
|
164
|
+
description: string;
|
|
165
|
+
};
|
|
166
|
+
label: {
|
|
167
|
+
control: {
|
|
168
|
+
type: "text";
|
|
169
|
+
};
|
|
170
|
+
description: string;
|
|
171
|
+
};
|
|
172
|
+
labelPosition: {
|
|
173
|
+
control: {
|
|
174
|
+
type: "select";
|
|
175
|
+
};
|
|
176
|
+
options: string[];
|
|
177
|
+
description: string;
|
|
178
|
+
};
|
|
179
|
+
color: {
|
|
180
|
+
control: {
|
|
181
|
+
type: "select";
|
|
182
|
+
};
|
|
183
|
+
options: string[];
|
|
184
|
+
description: string;
|
|
185
|
+
};
|
|
186
|
+
size: {
|
|
187
|
+
control: {
|
|
188
|
+
type: "select";
|
|
189
|
+
};
|
|
190
|
+
options: string[];
|
|
191
|
+
description: string;
|
|
192
|
+
};
|
|
193
|
+
block: {
|
|
194
|
+
control: {
|
|
195
|
+
type: "boolean";
|
|
196
|
+
};
|
|
197
|
+
description: string;
|
|
198
|
+
};
|
|
199
|
+
rounded: {
|
|
200
|
+
control: {
|
|
201
|
+
type: "select";
|
|
202
|
+
};
|
|
203
|
+
options: string[];
|
|
204
|
+
description: string;
|
|
205
|
+
};
|
|
206
|
+
disabled: {
|
|
207
|
+
control: {
|
|
208
|
+
type: "boolean";
|
|
209
|
+
};
|
|
210
|
+
description: string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
parameters: {
|
|
214
|
+
docs: {
|
|
215
|
+
description: {
|
|
216
|
+
component: string;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
export default meta;
|
|
222
|
+
type Story = StoryObj<typeof meta>;
|
|
223
|
+
export declare const Default: Story;
|
|
224
|
+
export declare const Colors: Story;
|
|
225
|
+
export declare const SizesAndStates: Story;
|
|
226
|
+
export declare const LabelPositions: Story;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
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<import('vue').ExtractPropTypes<{
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
label: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
labelPosition: {
|
|
21
|
+
type: () => "left" | "right";
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
color: {
|
|
25
|
+
type: () => "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
size: {
|
|
29
|
+
type: () => "sm" | "md" | "lg";
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
block: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
rounded: {
|
|
37
|
+
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
disabled: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
45
|
+
"update:modelValue": (value: boolean) => any;
|
|
46
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
47
|
+
modelValue: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
label: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
labelPosition: {
|
|
56
|
+
type: () => "left" | "right";
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
color: {
|
|
60
|
+
type: () => "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
size: {
|
|
64
|
+
type: () => "sm" | "md" | "lg";
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
block: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
rounded: {
|
|
72
|
+
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
disabled: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
}>> & Readonly<{
|
|
80
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
81
|
+
}>, {
|
|
82
|
+
color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
83
|
+
size: "sm" | "md" | "lg";
|
|
84
|
+
disabled: boolean;
|
|
85
|
+
block: boolean;
|
|
86
|
+
rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
87
|
+
label: string;
|
|
88
|
+
modelValue: boolean;
|
|
89
|
+
labelPosition: "left" | "right";
|
|
90
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
91
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
92
|
+
export default _default;
|
|
93
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
94
|
+
new (): {
|
|
95
|
+
$slots: S;
|
|
96
|
+
};
|
|
97
|
+
};
|
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.
|
|
4
|
+
"version": "1.14.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"access": "public",
|
|
7
7
|
"publishConfig": {
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"vue": "^3.5.13"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@chromatic-com/storybook": "^
|
|
42
|
+
"@chromatic-com/storybook": "^5.1.1",
|
|
43
43
|
"@semantic-release/changelog": "^6.0.3",
|
|
44
44
|
"@semantic-release/git": "^10.0.1",
|
|
45
45
|
"@semantic-release/github": "^11.0.1",
|
|
46
46
|
"@semantic-release/npm": "^12.0.1",
|
|
47
|
-
"@storybook/addon-docs": "^
|
|
48
|
-
"@storybook/addon-onboarding": "^
|
|
49
|
-
"@storybook/addon-themes": "^
|
|
50
|
-
"@storybook/addon-vitest": "
|
|
51
|
-
"@storybook/vue3-vite": "^
|
|
47
|
+
"@storybook/addon-docs": "^10.3.5",
|
|
48
|
+
"@storybook/addon-onboarding": "^10.3.5",
|
|
49
|
+
"@storybook/addon-themes": "^10.3.5",
|
|
50
|
+
"@storybook/addon-vitest": "^10.3.5",
|
|
51
|
+
"@storybook/vue3-vite": "^10.3.5",
|
|
52
52
|
"@types/node": "^22.14.1",
|
|
53
53
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
54
54
|
"@vitest/browser": "^3.1.1",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@vue/tsconfig": "^0.7.0",
|
|
57
57
|
"playwright": "^1.55.1",
|
|
58
58
|
"semantic-release": "^24.2.3",
|
|
59
|
-
"storybook": "^
|
|
59
|
+
"storybook": "^10.3.5",
|
|
60
60
|
"typescript": "~5.7.2",
|
|
61
61
|
"vite": "^6.4.0",
|
|
62
62
|
"vite-plugin-dts": "^4.5.3",
|