energy-components 1.9.0 → 1.10.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/dist/components/accordion.es.js +1 -1
- package/dist/components/avatar.es.js +1 -1
- package/dist/components/breadcrumbs.es.js +2 -3
- package/dist/components/button.es.js +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/directAccess.es.js +1 -1
- package/dist/components/dragAndDrop.es.js +1 -1
- package/dist/components/dropdown.es.js +132 -118
- package/dist/components/fileUploadItem.es.js +1 -1
- package/dist/components/filterChip.es.js +1 -1
- package/dist/components/icon-svg-DuzOdbk1.js +15905 -0
- package/dist/components/iconList.es.js +1 -1
- package/dist/components/iconSvg.es.js +1 -1
- package/dist/components/index.es.js +1 -1
- package/dist/components/infoBox.es.js +1 -1
- package/dist/components/link.es.js +1 -1
- package/dist/components/modal.es.js +1 -1
- package/dist/components/multiselect.es.js +73 -65
- package/dist/components/multiselectcontentwrapper.es.js +25 -22
- package/dist/components/persistentToast.es.js +1 -1
- package/dist/components/progressBar.es.js +1 -1
- package/dist/components/quantitySelector.es.js +1 -1
- package/dist/components/radioButton.es.js +1 -1
- package/dist/components/selectionChip.es.js +1 -1
- package/dist/components/sidedrawer.es.js +1 -1
- package/dist/components/style/dropdown.css +1 -1
- package/dist/components/style/multiselect.css +1 -1
- package/dist/components/style/multiselectcontentwrapper.css +1 -1
- package/dist/components/style/tag.css +1 -1
- package/dist/components/style/textField.css +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/tabBar.es.js +1 -1
- package/dist/components/tableslotedcomponent.es.js +1 -1
- package/dist/components/tag.es.js +15 -15
- package/dist/components/textArea.es.js +1 -1
- package/dist/components/textField.es.js +64 -53
- package/dist/components/tooltip.es.js +293 -295
- package/dist/energy-components.es.js +14751 -9660
- package/dist/energy-components.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/src/components/input/drag-and-drop/drag-and-drop.vue.d.ts +1 -1
- package/dist/types/src/components/input/dropdown/Multiselect/MultiselectContentWrapper.vue.d.ts +9 -2
- package/dist/types/src/components/input/dropdown/dropdown.vue.d.ts +27 -4
- package/dist/types/src/components/input/quantity-selector/quantity-selector.vue.d.ts +1 -1
- package/dist/types/src/components/input/text-field/text-field.vue.d.ts +17 -0
- package/dist/types/src/setupTests.d.ts +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -2
- package/dist/components/icon-svg-_WCkLP8-.js +0 -10847
|
@@ -198,8 +198,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
198
198
|
icon: string;
|
|
199
199
|
disabled: boolean;
|
|
200
200
|
id: string;
|
|
201
|
-
multiple: boolean;
|
|
202
201
|
fullWidth: boolean;
|
|
202
|
+
multiple: boolean;
|
|
203
203
|
accept: string;
|
|
204
204
|
detailText: string;
|
|
205
205
|
errorMessage: string;
|
package/dist/types/src/components/input/dropdown/Multiselect/MultiselectContentWrapper.vue.d.ts
CHANGED
|
@@ -32,7 +32,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
32
32
|
showNoResults: BooleanConstructor;
|
|
33
33
|
showNoOptions: BooleanConstructor;
|
|
34
34
|
small: BooleanConstructor;
|
|
35
|
-
contentStyle:
|
|
35
|
+
contentStyle: {
|
|
36
|
+
type: ObjectConstructor;
|
|
37
|
+
default: () => {};
|
|
38
|
+
};
|
|
36
39
|
customStyle: ObjectConstructor;
|
|
37
40
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
41
|
teleported: {
|
|
@@ -68,7 +71,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
68
71
|
showNoResults: BooleanConstructor;
|
|
69
72
|
showNoOptions: BooleanConstructor;
|
|
70
73
|
small: BooleanConstructor;
|
|
71
|
-
contentStyle:
|
|
74
|
+
contentStyle: {
|
|
75
|
+
type: ObjectConstructor;
|
|
76
|
+
default: () => {};
|
|
77
|
+
};
|
|
72
78
|
customStyle: ObjectConstructor;
|
|
73
79
|
}>> & Readonly<{
|
|
74
80
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
@@ -80,6 +86,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
80
86
|
showNoResults: boolean;
|
|
81
87
|
showNoOptions: boolean;
|
|
82
88
|
hasOptionGroup: boolean;
|
|
89
|
+
contentStyle: Record<string, any>;
|
|
83
90
|
groupSelect: boolean;
|
|
84
91
|
teleported: boolean;
|
|
85
92
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -157,6 +157,17 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
157
157
|
type: BooleanConstructor;
|
|
158
158
|
default: boolean;
|
|
159
159
|
};
|
|
160
|
+
/**
|
|
161
|
+
* Define la dirección de apertura del dropdown
|
|
162
|
+
* 'auto': detecta automáticamente (default)
|
|
163
|
+
* 'above': siempre se abre hacia arriba
|
|
164
|
+
* 'below': siempre se abre hacia abajo
|
|
165
|
+
*/
|
|
166
|
+
openDirection: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
default: string;
|
|
169
|
+
validator(value: string): boolean;
|
|
170
|
+
};
|
|
160
171
|
/**
|
|
161
172
|
* Muestra un campo de texto para filtrar los elementos del dropdown.
|
|
162
173
|
* La propiedad `autocompleteFilter` es requerida cuando se usa esta opción.
|
|
@@ -188,8 +199,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
188
199
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
189
200
|
"update:modelValue": (value: any) => any;
|
|
190
201
|
} & {
|
|
191
|
-
close: (
|
|
192
|
-
open: (
|
|
202
|
+
close: (payload: any, componentId: string | number) => any;
|
|
203
|
+
open: (payload: any, componentId: string | number) => any;
|
|
193
204
|
change: (options: any[]) => any;
|
|
194
205
|
select: (selectOption: any) => any;
|
|
195
206
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -302,6 +313,17 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
302
313
|
type: BooleanConstructor;
|
|
303
314
|
default: boolean;
|
|
304
315
|
};
|
|
316
|
+
/**
|
|
317
|
+
* Define la dirección de apertura del dropdown
|
|
318
|
+
* 'auto': detecta automáticamente (default)
|
|
319
|
+
* 'above': siempre se abre hacia arriba
|
|
320
|
+
* 'below': siempre se abre hacia abajo
|
|
321
|
+
*/
|
|
322
|
+
openDirection: {
|
|
323
|
+
type: StringConstructor;
|
|
324
|
+
default: string;
|
|
325
|
+
validator(value: string): boolean;
|
|
326
|
+
};
|
|
305
327
|
/**
|
|
306
328
|
* Muestra un campo de texto para filtrar los elementos del dropdown.
|
|
307
329
|
* La propiedad `autocompleteFilter` es requerida cuando se usa esta opción.
|
|
@@ -322,8 +344,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
322
344
|
required: true;
|
|
323
345
|
};
|
|
324
346
|
}>> & Readonly<{
|
|
325
|
-
onClose?: ((
|
|
326
|
-
onOpen?: ((
|
|
347
|
+
onClose?: ((payload: any, componentId: string | number) => any) | undefined;
|
|
348
|
+
onOpen?: ((payload: any, componentId: string | number) => any) | undefined;
|
|
327
349
|
onChange?: ((options: any[]) => any) | undefined;
|
|
328
350
|
onSelect?: ((selectOption: any) => any) | undefined;
|
|
329
351
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
@@ -342,6 +364,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
342
364
|
maxHeight: number;
|
|
343
365
|
limitText: Function;
|
|
344
366
|
appendToBody: boolean;
|
|
367
|
+
openDirection: string;
|
|
345
368
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
346
369
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
347
370
|
export default _default;
|
|
@@ -89,7 +89,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
89
89
|
}>, {
|
|
90
90
|
size: "small" | "default";
|
|
91
91
|
disabled: boolean;
|
|
92
|
-
deleteButton: boolean;
|
|
93
92
|
fullWidth: boolean;
|
|
93
|
+
deleteButton: boolean;
|
|
94
94
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
95
95
|
export default _default;
|
|
@@ -7,6 +7,14 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
'helper-text'?: (props: typeof __VLS_15) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
+
/**
|
|
11
|
+
* Hace que el campo ocupe todo el ancho disponible del contenedor padre (elimina min-width).
|
|
12
|
+
* ⚠️ Solo recomendado para contenedores muy pequeños.
|
|
13
|
+
*/
|
|
14
|
+
fullWidth: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
10
18
|
/**
|
|
11
19
|
* Etiqueta que se muestra sobre el campo de entrada. y Placeholder
|
|
12
20
|
*/
|
|
@@ -137,6 +145,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
137
145
|
keyup: (event: KeyboardEvent) => any;
|
|
138
146
|
"update:modelValue": (modelValue: string | number | null) => any;
|
|
139
147
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
148
|
+
/**
|
|
149
|
+
* Hace que el campo ocupe todo el ancho disponible del contenedor padre (elimina min-width).
|
|
150
|
+
* ⚠️ Solo recomendado para contenedores muy pequeños.
|
|
151
|
+
*/
|
|
152
|
+
fullWidth: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
140
156
|
/**
|
|
141
157
|
* Etiqueta que se muestra sobre el campo de entrada. y Placeholder
|
|
142
158
|
*/
|
|
@@ -269,6 +285,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
269
285
|
icon: string;
|
|
270
286
|
disabled: boolean;
|
|
271
287
|
password: boolean;
|
|
288
|
+
fullWidth: boolean;
|
|
272
289
|
readonly: boolean;
|
|
273
290
|
maxLength: number;
|
|
274
291
|
minLength: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|