@dronico/droni-kit 1.7.4 → 1.7.5

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.
@@ -0,0 +1,105 @@
1
+ import { StoryObj } from '@storybook/vue3';
2
+ declare const meta: {
3
+ title: string;
4
+ component: {
5
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
6
+ variant: {
7
+ type: () => "solid" | "outline" | "ghost";
8
+ default: string;
9
+ };
10
+ color: {
11
+ type: () => "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
12
+ default: string;
13
+ };
14
+ rounded: {
15
+ type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
16
+ default: string;
17
+ };
18
+ }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
19
+ variant: "solid" | "outline" | "ghost";
20
+ color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
21
+ rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
22
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
23
+ P: {};
24
+ B: {};
25
+ D: {};
26
+ C: {};
27
+ M: {};
28
+ Defaults: {};
29
+ }, Readonly<import('vue').ExtractPropTypes<{
30
+ variant: {
31
+ type: () => "solid" | "outline" | "ghost";
32
+ default: string;
33
+ };
34
+ color: {
35
+ type: () => "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
36
+ default: string;
37
+ };
38
+ rounded: {
39
+ type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
40
+ default: string;
41
+ };
42
+ }>> & Readonly<{}>, {}, {}, {}, {}, {
43
+ variant: "solid" | "outline" | "ghost";
44
+ color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
45
+ rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
46
+ }>;
47
+ __isFragment?: never;
48
+ __isTeleport?: never;
49
+ __isSuspense?: never;
50
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
51
+ variant: {
52
+ type: () => "solid" | "outline" | "ghost";
53
+ default: string;
54
+ };
55
+ color: {
56
+ type: () => "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
57
+ default: string;
58
+ };
59
+ rounded: {
60
+ type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
61
+ default: string;
62
+ };
63
+ }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
64
+ variant: "solid" | "outline" | "ghost";
65
+ color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
66
+ rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
67
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
68
+ $slots: {
69
+ default?(_: {}): any;
70
+ };
71
+ });
72
+ tags: string[];
73
+ argTypes: {
74
+ default: {
75
+ control: {
76
+ type: "text";
77
+ };
78
+ defaultValue: string;
79
+ };
80
+ variant: {
81
+ control: {
82
+ type: "select";
83
+ };
84
+ options: string[];
85
+ defaultValue: string;
86
+ };
87
+ color: {
88
+ control: {
89
+ type: "select";
90
+ };
91
+ options: string[];
92
+ defaultValue: string;
93
+ };
94
+ rounded: {
95
+ control: {
96
+ type: "select";
97
+ };
98
+ options: string[];
99
+ defaultValue: string;
100
+ };
101
+ };
102
+ };
103
+ export default meta;
104
+ type Story = StoryObj<typeof meta>;
105
+ export declare const Default: Story;
@@ -0,0 +1,47 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLDivElement;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
+ variant: {
12
+ type: () => "solid" | "outline" | "ghost";
13
+ default: string;
14
+ };
15
+ color: {
16
+ type: () => "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
17
+ default: string;
18
+ };
19
+ rounded: {
20
+ type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
21
+ default: string;
22
+ };
23
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
24
+ variant: {
25
+ type: () => "solid" | "outline" | "ghost";
26
+ default: string;
27
+ };
28
+ color: {
29
+ type: () => "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
30
+ default: string;
31
+ };
32
+ rounded: {
33
+ type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
34
+ default: string;
35
+ };
36
+ }>> & Readonly<{}>, {
37
+ variant: "solid" | "outline" | "ghost";
38
+ color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
39
+ rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
41
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
+ export default _default;
43
+ type __VLS_WithTemplateSlots<T, S> = T & {
44
+ new (): {
45
+ $slots: S;
46
+ };
47
+ };
@@ -35,6 +35,10 @@ declare const meta: {
35
35
  type: StringConstructor;
36
36
  default: undefined;
37
37
  };
38
+ rounded: {
39
+ type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
40
+ default: string;
41
+ };
38
42
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
39
43
  variant: "solid" | "outline" | "ghost";
40
44
  color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
@@ -44,6 +48,7 @@ declare const meta: {
44
48
  loading: boolean;
45
49
  block: boolean;
46
50
  title: string;
51
+ rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
47
52
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLButtonElement, import('vue').ComponentProvideOptions, {
48
53
  P: {};
49
54
  B: {};
@@ -84,6 +89,10 @@ declare const meta: {
84
89
  type: StringConstructor;
85
90
  default: undefined;
86
91
  };
92
+ rounded: {
93
+ type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
94
+ default: string;
95
+ };
87
96
  }>> & Readonly<{}>, {}, {}, {}, {}, {
88
97
  variant: "solid" | "outline" | "ghost";
89
98
  color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
@@ -93,6 +102,7 @@ declare const meta: {
93
102
  loading: boolean;
94
103
  block: boolean;
95
104
  title: string;
105
+ rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
96
106
  }>;
97
107
  __isFragment?: never;
98
108
  __isTeleport?: never;
@@ -130,6 +140,10 @@ declare const meta: {
130
140
  type: StringConstructor;
131
141
  default: undefined;
132
142
  };
143
+ rounded: {
144
+ type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
145
+ default: string;
146
+ };
133
147
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
134
148
  variant: "solid" | "outline" | "ghost";
135
149
  color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
@@ -139,6 +153,7 @@ declare const meta: {
139
153
  loading: boolean;
140
154
  block: boolean;
141
155
  title: string;
156
+ rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
142
157
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
143
158
  $slots: {
144
159
  default?(_: {}): any;
@@ -204,6 +219,13 @@ declare const meta: {
204
219
  };
205
220
  defaultValue: undefined;
206
221
  };
222
+ rounded: {
223
+ control: {
224
+ type: "select";
225
+ };
226
+ options: string[];
227
+ defaultValue: string;
228
+ };
207
229
  };
208
230
  };
209
231
  export default meta;
@@ -40,6 +40,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
40
40
  type: StringConstructor;
41
41
  default: undefined;
42
42
  };
43
+ rounded: {
44
+ type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
45
+ default: string;
46
+ };
43
47
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
44
48
  variant: {
45
49
  type: () => "solid" | "outline" | "ghost";
@@ -73,6 +77,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
73
77
  type: StringConstructor;
74
78
  default: undefined;
75
79
  };
80
+ rounded: {
81
+ type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
82
+ default: string;
83
+ };
76
84
  }>> & Readonly<{}>, {
77
85
  variant: "solid" | "outline" | "ghost";
78
86
  color: "neutral" | "primary" | "secondary" | "success" | "warning" | "danger";
@@ -82,6 +90,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
82
90
  loading: boolean;
83
91
  block: boolean;
84
92
  title: string;
93
+ rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
85
94
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
86
95
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
87
96
  export default _default;
@@ -108,6 +108,7 @@ declare const meta: {
108
108
  type: "time" | "text" | "email" | "password" | "tel" | "url" | "search" | "date" | "datetime-local" | "month" | "week";
109
109
  disabled: boolean;
110
110
  block: boolean;
111
+ rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
111
112
  label: string;
112
113
  pattern: string;
113
114
  modelValue: string;
@@ -115,7 +116,6 @@ declare const meta: {
115
116
  name: string;
116
117
  id: string;
117
118
  required: boolean;
118
- rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
119
119
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
120
120
  tags: string[];
121
121
  argTypes: {
@@ -105,6 +105,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
105
105
  type: "time" | "text" | "email" | "password" | "tel" | "url" | "search" | "date" | "datetime-local" | "month" | "week";
106
106
  disabled: boolean;
107
107
  block: boolean;
108
+ rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
108
109
  label: string;
109
110
  pattern: string;
110
111
  modelValue: string;
@@ -112,6 +113,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
112
113
  name: string;
113
114
  id: string;
114
115
  required: boolean;
115
- rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
116
116
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
117
117
  export default _default;
@@ -115,13 +115,13 @@ declare const meta: {
115
115
  size: "sm" | "md" | "lg";
116
116
  disabled: boolean;
117
117
  block: boolean;
118
+ rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
118
119
  label: string;
119
120
  modelValue: string;
120
121
  placeholder: string;
121
122
  name: string;
122
123
  id: string;
123
124
  required: boolean;
124
- rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
125
125
  options: Record<string, any>[];
126
126
  itemLabel: string;
127
127
  itemValue: string;
@@ -112,13 +112,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
112
112
  size: "sm" | "md" | "lg";
113
113
  disabled: boolean;
114
114
  block: boolean;
115
+ rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
115
116
  label: string;
116
117
  modelValue: string;
117
118
  placeholder: string;
118
119
  name: string;
119
120
  id: string;
120
121
  required: boolean;
121
- rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
122
122
  options: Record<string, any>[];
123
123
  itemLabel: string;
124
124
  itemValue: string;
@@ -107,13 +107,13 @@ declare const meta: {
107
107
  size: "sm" | "md" | "lg";
108
108
  disabled: boolean;
109
109
  block: boolean;
110
+ rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
110
111
  label: string;
111
112
  modelValue: string;
112
113
  placeholder: string;
113
114
  name: string;
114
115
  id: string;
115
116
  required: boolean;
116
- rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
117
117
  autoheight: boolean;
118
118
  resize: "none" | "both" | "horizontal" | "vertical";
119
119
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
@@ -104,13 +104,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
104
104
  size: "sm" | "md" | "lg";
105
105
  disabled: boolean;
106
106
  block: boolean;
107
+ rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
107
108
  label: string;
108
109
  modelValue: string;
109
110
  placeholder: string;
110
111
  name: string;
111
112
  id: string;
112
113
  required: boolean;
113
- rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
114
114
  autoheight: boolean;
115
115
  resize: "none" | "both" | "horizontal" | "vertical";
116
116
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
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.7.4",
4
+ "version": "1.7.5",
5
5
  "private": false,
6
6
  "access": "public",
7
7
  "publishConfig": {
@@ -1,209 +0,0 @@
1
- import { StoryObj } from '@storybook/vue3';
2
- declare const meta: {
3
- title: string;
4
- component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
- modelValue: {
6
- type: StringConstructor;
7
- default: string;
8
- };
9
- language: {
10
- type: StringConstructor;
11
- default: string;
12
- };
13
- minimap: {
14
- type: BooleanConstructor;
15
- default: boolean;
16
- };
17
- theme: {
18
- type: () => "vs" | "vs-dark" | "hc-black" | "hc-light";
19
- default: string;
20
- };
21
- wordWrap: {
22
- type: () => "on" | "off" | "wordWrapColumn" | "bounded";
23
- default: string;
24
- };
25
- tabSize: {
26
- type: NumberConstructor;
27
- default: number;
28
- };
29
- autoIndent: {
30
- type: () => "none" | "keep" | "brackets" | "advanced";
31
- default: string;
32
- };
33
- renderValidationDecorations: {
34
- type: () => "on" | "off" | "editable";
35
- default: string;
36
- };
37
- formatOnPaste: {
38
- type: BooleanConstructor;
39
- default: boolean;
40
- };
41
- formatOnType: {
42
- type: BooleanConstructor;
43
- default: boolean;
44
- };
45
- autoClosingBrackets: {
46
- type: () => "always" | "languageDefined" | "never";
47
- default: string;
48
- };
49
- scrollBeyondLastLine: {
50
- type: BooleanConstructor;
51
- default: boolean;
52
- };
53
- lineNumbers: {
54
- type: () => "on" | "off" | "relative" | "interval";
55
- default: string;
56
- };
57
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
58
- modelValue: {
59
- type: StringConstructor;
60
- default: string;
61
- };
62
- language: {
63
- type: StringConstructor;
64
- default: string;
65
- };
66
- minimap: {
67
- type: BooleanConstructor;
68
- default: boolean;
69
- };
70
- theme: {
71
- type: () => "vs" | "vs-dark" | "hc-black" | "hc-light";
72
- default: string;
73
- };
74
- wordWrap: {
75
- type: () => "on" | "off" | "wordWrapColumn" | "bounded";
76
- default: string;
77
- };
78
- tabSize: {
79
- type: NumberConstructor;
80
- default: number;
81
- };
82
- autoIndent: {
83
- type: () => "none" | "keep" | "brackets" | "advanced";
84
- default: string;
85
- };
86
- renderValidationDecorations: {
87
- type: () => "on" | "off" | "editable";
88
- default: string;
89
- };
90
- formatOnPaste: {
91
- type: BooleanConstructor;
92
- default: boolean;
93
- };
94
- formatOnType: {
95
- type: BooleanConstructor;
96
- default: boolean;
97
- };
98
- autoClosingBrackets: {
99
- type: () => "always" | "languageDefined" | "never";
100
- default: string;
101
- };
102
- scrollBeyondLastLine: {
103
- type: BooleanConstructor;
104
- default: boolean;
105
- };
106
- lineNumbers: {
107
- type: () => "on" | "off" | "relative" | "interval";
108
- default: string;
109
- };
110
- }>> & Readonly<{}>, {
111
- modelValue: string;
112
- language: string;
113
- minimap: boolean;
114
- theme: "vs" | "vs-dark" | "hc-black" | "hc-light";
115
- wordWrap: "on" | "off" | "wordWrapColumn" | "bounded";
116
- tabSize: number;
117
- autoIndent: "none" | "keep" | "brackets" | "advanced";
118
- renderValidationDecorations: "on" | "off" | "editable";
119
- formatOnPaste: boolean;
120
- formatOnType: boolean;
121
- autoClosingBrackets: "always" | "languageDefined" | "never";
122
- scrollBeyondLastLine: boolean;
123
- lineNumbers: "on" | "off" | "relative" | "interval";
124
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
125
- tags: string[];
126
- argTypes: {
127
- language: {
128
- constrol: {
129
- type: string;
130
- };
131
- defaultValue: string;
132
- };
133
- minimap: {
134
- control: {
135
- type: "boolean";
136
- };
137
- defaultValue: boolean;
138
- };
139
- theme: {
140
- control: {
141
- type: "select";
142
- };
143
- defaultValue: string;
144
- options: string[];
145
- };
146
- wordWrap: {
147
- control: {
148
- type: "select";
149
- };
150
- defaultValue: string;
151
- options: string[];
152
- };
153
- tabSize: {
154
- control: {
155
- type: "number";
156
- };
157
- defaultValue: number;
158
- };
159
- autoIndent: {
160
- control: {
161
- type: "select";
162
- };
163
- defaultValue: string;
164
- options: string[];
165
- };
166
- renderValidationDecorations: {
167
- control: {
168
- type: "select";
169
- };
170
- defaultValue: string;
171
- options: string[];
172
- };
173
- formatOnPaste: {
174
- control: {
175
- type: "boolean";
176
- };
177
- defaultValue: boolean;
178
- };
179
- formatOnType: {
180
- control: {
181
- type: "boolean";
182
- };
183
- defaultValue: boolean;
184
- };
185
- autoClosingBrackets: {
186
- control: {
187
- type: "select";
188
- };
189
- defaultValue: string;
190
- options: string[];
191
- };
192
- scrollBeyondLastLine: {
193
- control: {
194
- type: "boolean";
195
- };
196
- defaultValue: boolean;
197
- };
198
- lineNumbers: {
199
- control: {
200
- type: "select";
201
- };
202
- defaultValue: string;
203
- options: string[];
204
- };
205
- };
206
- };
207
- export default meta;
208
- type Story = StoryObj<typeof meta>;
209
- export declare const Default: Story;