energy-components 1.0.2

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 (89) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +94 -0
  3. package/dist/.empty +0 -0
  4. package/dist/components/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  5. package/dist/components/accordion.es.js +121 -0
  6. package/dist/components/accordionGroup.es.js +32 -0
  7. package/dist/components/actionButton.es.js +64 -0
  8. package/dist/components/breadcrumbs.es.js +90 -0
  9. package/dist/components/button.es.js +144 -0
  10. package/dist/components/checkbox.es.js +130 -0
  11. package/dist/components/divider.es.js +35 -0
  12. package/dist/components/dropdown.es.js +331 -0
  13. package/dist/components/floatingActionButton.es.js +97 -0
  14. package/dist/components/functions-DIHwdgF0.js +18 -0
  15. package/dist/components/icon-svg-Cpx09myr.js +10818 -0
  16. package/dist/components/iconList.es.js +49 -0
  17. package/dist/components/iconSvg.es.js +5 -0
  18. package/dist/components/index.es.js +81 -0
  19. package/dist/components/indicator.es.js +175 -0
  20. package/dist/components/link.es.js +147 -0
  21. package/dist/components/multiselect.es.js +1039 -0
  22. package/dist/components/pagination.es.js +138 -0
  23. package/dist/components/radioButton.es.js +111 -0
  24. package/dist/components/style/accordion.css +1 -0
  25. package/dist/components/style/accordionGroup.css +1 -0
  26. package/dist/components/style/actionButton.css +1 -0
  27. package/dist/components/style/breadcrumbs.css +1 -0
  28. package/dist/components/style/button.css +1 -0
  29. package/dist/components/style/checkbox.css +1 -0
  30. package/dist/components/style/divider.css +1 -0
  31. package/dist/components/style/dropdown.css +1 -0
  32. package/dist/components/style/floatingActionButton.css +1 -0
  33. package/dist/components/style/icon-svg.css +1 -0
  34. package/dist/components/style/iconList.css +1 -0
  35. package/dist/components/style/indicator.css +1 -0
  36. package/dist/components/style/link.css +1 -0
  37. package/dist/components/style/multiselect.css +1 -0
  38. package/dist/components/style/pagination.css +1 -0
  39. package/dist/components/style/radioButton.css +1 -0
  40. package/dist/components/style/switch.css +1 -0
  41. package/dist/components/style/tabBar.css +1 -0
  42. package/dist/components/style/tag.css +1 -0
  43. package/dist/components/style/textArea.css +1 -0
  44. package/dist/components/style/textField.css +1 -0
  45. package/dist/components/style/tooltip.css +1 -0
  46. package/dist/components/switch.es.js +96 -0
  47. package/dist/components/tabBar.es.js +181 -0
  48. package/dist/components/tag.es.js +91 -0
  49. package/dist/components/textArea.es.js +259 -0
  50. package/dist/components/textField.es.js +254 -0
  51. package/dist/components/tooltip.es.js +1082 -0
  52. package/dist/energy-components.es.js +15368 -0
  53. package/dist/energy-components.umd.js +1 -0
  54. package/dist/style.css +1 -0
  55. package/dist/types/src/components/buttons/action-button/action-button.vue.d.ts +100 -0
  56. package/dist/types/src/components/buttons/button/button.vue.d.ts +196 -0
  57. package/dist/types/src/components/buttons/constants/buttonDocs.d.ts +1 -0
  58. package/dist/types/src/components/buttons/constants/buttonPosition.d.ts +1 -0
  59. package/dist/types/src/components/buttons/constants/socialMedia.d.ts +1 -0
  60. package/dist/types/src/components/buttons/floating-action-button/floating-action-button.vue.d.ts +136 -0
  61. package/dist/types/src/components/content/accordion/accordion.vue.d.ts +122 -0
  62. package/dist/types/src/components/content/acordion-group/accordion-group.d.ts +6 -0
  63. package/dist/types/src/components/content/acordion-group/accordion-group.vue.d.ts +33 -0
  64. package/dist/types/src/components/content/divider/divider.vue.d.ts +35 -0
  65. package/dist/types/src/components/content/tag/tag.vue.d.ts +105 -0
  66. package/dist/types/src/components/feedback/indicator/indicator.vue.d.ts +100 -0
  67. package/dist/types/src/components/icon-svg/icon-list.d.ts +11 -0
  68. package/dist/types/src/components/icon-svg/icon-list.vue.d.ts +2 -0
  69. package/dist/types/src/components/icon-svg/icon-svg.vue.d.ts +68 -0
  70. package/dist/types/src/components/index.d.ts +20 -0
  71. package/dist/types/src/components/input/checkbox/checkbox.vue.d.ts +151 -0
  72. package/dist/types/src/components/input/dropdown/Multiselect/Multiselect.vue.d.ts +2 -0
  73. package/dist/types/src/components/input/dropdown/dropdown.vue.d.ts +270 -0
  74. package/dist/types/src/components/input/radio-button/radio-button.vue.d.ts +114 -0
  75. package/dist/types/src/components/input/switch/switch.vue.d.ts +104 -0
  76. package/dist/types/src/components/input/text-area/text-area.vue.d.ts +281 -0
  77. package/dist/types/src/components/input/text-field/text-field.vue.d.ts +271 -0
  78. package/dist/types/src/components/navigation/breadcrumbs/breadcrumbs.vue.d.ts +63 -0
  79. package/dist/types/src/components/navigation/link/link.types.d.ts +15 -0
  80. package/dist/types/src/components/navigation/link/link.vue.d.ts +175 -0
  81. package/dist/types/src/components/navigation/pagination/pagination.vue.d.ts +67 -0
  82. package/dist/types/src/components/navigation/tab-bar/tab-bar.vue.d.ts +132 -0
  83. package/dist/types/src/components/overlay/tooltip/tooltip.vue.d.ts +118 -0
  84. package/dist/types/src/helpers/functions.d.ts +3 -0
  85. package/dist/types/src/helpers/stories.helpers.d.ts +1 -0
  86. package/dist/types/src/helpers/validation.d.ts +1 -0
  87. package/dist/types/src/index.d.ts +8 -0
  88. package/dist/types/tsconfig.tsbuildinfo +1 -0
  89. package/package.json +156 -0
@@ -0,0 +1,281 @@
1
+ declare var __VLS_0: {};
2
+ declare var __VLS_6: {};
3
+ declare var __VLS_12: {};
4
+ declare var __VLS_inheritedAttrs: {};
5
+ declare const __VLS_refs: {};
6
+ declare const __VLS_templateResult: {
7
+ slots: {
8
+ "left-icon"?(_: typeof __VLS_0): any;
9
+ "right-icon"?(_: typeof __VLS_6): any;
10
+ "helper-text"?(_: typeof __VLS_12): any;
11
+ };
12
+ refs: __VLS_PickRefsExpose<typeof __VLS_refs>;
13
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
14
+ };
15
+ type __VLS_Slots = typeof __VLS_templateResult['slots'];
16
+ declare const __VLS_component: import("vue").DefineComponent<{
17
+ /**
18
+ * Etiqueta que se muestra sobre el campo de entrada. y Placeholder
19
+ */
20
+ label: {
21
+ type: StringConstructor;
22
+ required: true;
23
+ validator(value: string): boolean;
24
+ };
25
+ /**
26
+ * Etiqueta que se muestra el nombre del control
27
+ */
28
+ name: {
29
+ type: StringConstructor;
30
+ required: false;
31
+ validator(value: string): boolean;
32
+ };
33
+ /**
34
+ * Identificador único del campo de entrada.
35
+ */
36
+ id: {
37
+ type: StringConstructor;
38
+ required: false;
39
+ validator(value: string): boolean;
40
+ };
41
+ /**
42
+ * v-model valor de entrada y salida
43
+ */
44
+ modelValue: {
45
+ type: StringConstructor;
46
+ required: true;
47
+ };
48
+ /**
49
+ * Indica si el campo de entrada está deshabilitado o no.
50
+ */
51
+ disabled: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ /**
56
+ * Número máximo de caracteres permitidos en el campo de entrada.
57
+ */
58
+ maxlength: {
59
+ type: NumberConstructor;
60
+ default: number;
61
+ };
62
+ /**
63
+ * Número mínimo de caracteres permitidos en el campo de entrada.
64
+ */
65
+ minlength: {
66
+ type: NumberConstructor;
67
+ default: number;
68
+ };
69
+ /**
70
+ * Muestra estilos de error si el length del input no es correcto.
71
+ */
72
+ lengthError: {
73
+ type: BooleanConstructor;
74
+ default: boolean;
75
+ };
76
+ /**
77
+ * Número de rows.
78
+ */
79
+ rows: {
80
+ type: NumberConstructor;
81
+ default: number;
82
+ };
83
+ /**
84
+ * Nombre del icono que se mostrará dentro del campo de entrada.
85
+ * por defecto se mosrtrara a al izquierda del campo
86
+ */
87
+ icon: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ };
91
+ /**
92
+ * Muestra un icono a la derecha
93
+ * Se desactiva si la opccion de `clearable` esta activa
94
+ */
95
+ rightIcon: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ };
99
+ /**
100
+ * Indica si se debe mostrar un mensaje de ayuda debajo del campo de entrada o no.
101
+ */
102
+ helper: {
103
+ type: BooleanConstructor;
104
+ default: boolean;
105
+ };
106
+ /**
107
+ * Indica si se debe mostrar el counter.
108
+ */
109
+ counter: {
110
+ type: BooleanConstructor;
111
+ default: boolean;
112
+ };
113
+ /**
114
+ * Indica si el campo de entrada contiene un error o no.
115
+ */
116
+ error: {
117
+ type: BooleanConstructor;
118
+ default: boolean;
119
+ };
120
+ /**
121
+ * Muestra un boton para limpiar el campo de texto
122
+ */
123
+ clearable: {
124
+ type: BooleanConstructor;
125
+ default: boolean;
126
+ };
127
+ /**
128
+ * Texto que se muestra como mensaje de ayuda debajo del campo de entrada.
129
+ */
130
+ helperText: {
131
+ type: StringConstructor;
132
+ default: string;
133
+ };
134
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
135
+ "update:modelValue": (modelValue: string) => void;
136
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
137
+ /**
138
+ * Etiqueta que se muestra sobre el campo de entrada. y Placeholder
139
+ */
140
+ label: {
141
+ type: StringConstructor;
142
+ required: true;
143
+ validator(value: string): boolean;
144
+ };
145
+ /**
146
+ * Etiqueta que se muestra el nombre del control
147
+ */
148
+ name: {
149
+ type: StringConstructor;
150
+ required: false;
151
+ validator(value: string): boolean;
152
+ };
153
+ /**
154
+ * Identificador único del campo de entrada.
155
+ */
156
+ id: {
157
+ type: StringConstructor;
158
+ required: false;
159
+ validator(value: string): boolean;
160
+ };
161
+ /**
162
+ * v-model valor de entrada y salida
163
+ */
164
+ modelValue: {
165
+ type: StringConstructor;
166
+ required: true;
167
+ };
168
+ /**
169
+ * Indica si el campo de entrada está deshabilitado o no.
170
+ */
171
+ disabled: {
172
+ type: BooleanConstructor;
173
+ default: boolean;
174
+ };
175
+ /**
176
+ * Número máximo de caracteres permitidos en el campo de entrada.
177
+ */
178
+ maxlength: {
179
+ type: NumberConstructor;
180
+ default: number;
181
+ };
182
+ /**
183
+ * Número mínimo de caracteres permitidos en el campo de entrada.
184
+ */
185
+ minlength: {
186
+ type: NumberConstructor;
187
+ default: number;
188
+ };
189
+ /**
190
+ * Muestra estilos de error si el length del input no es correcto.
191
+ */
192
+ lengthError: {
193
+ type: BooleanConstructor;
194
+ default: boolean;
195
+ };
196
+ /**
197
+ * Número de rows.
198
+ */
199
+ rows: {
200
+ type: NumberConstructor;
201
+ default: number;
202
+ };
203
+ /**
204
+ * Nombre del icono que se mostrará dentro del campo de entrada.
205
+ * por defecto se mosrtrara a al izquierda del campo
206
+ */
207
+ icon: {
208
+ type: StringConstructor;
209
+ default: string;
210
+ };
211
+ /**
212
+ * Muestra un icono a la derecha
213
+ * Se desactiva si la opccion de `clearable` esta activa
214
+ */
215
+ rightIcon: {
216
+ type: StringConstructor;
217
+ default: string;
218
+ };
219
+ /**
220
+ * Indica si se debe mostrar un mensaje de ayuda debajo del campo de entrada o no.
221
+ */
222
+ helper: {
223
+ type: BooleanConstructor;
224
+ default: boolean;
225
+ };
226
+ /**
227
+ * Indica si se debe mostrar el counter.
228
+ */
229
+ counter: {
230
+ type: BooleanConstructor;
231
+ default: boolean;
232
+ };
233
+ /**
234
+ * Indica si el campo de entrada contiene un error o no.
235
+ */
236
+ error: {
237
+ type: BooleanConstructor;
238
+ default: boolean;
239
+ };
240
+ /**
241
+ * Muestra un boton para limpiar el campo de texto
242
+ */
243
+ clearable: {
244
+ type: BooleanConstructor;
245
+ default: boolean;
246
+ };
247
+ /**
248
+ * Texto que se muestra como mensaje de ayuda debajo del campo de entrada.
249
+ */
250
+ helperText: {
251
+ type: StringConstructor;
252
+ default: string;
253
+ };
254
+ }>> & {
255
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
256
+ }, {
257
+ error: boolean;
258
+ icon: string;
259
+ disabled: boolean;
260
+ rightIcon: string;
261
+ helper: boolean;
262
+ helperText: string;
263
+ clearable: boolean;
264
+ maxlength: number;
265
+ minlength: number;
266
+ lengthError: boolean;
267
+ rows: number;
268
+ counter: boolean;
269
+ }, {}>;
270
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
271
+ export default _default;
272
+ type __VLS_PickRefsExpose<T> = T extends object ? {
273
+ [K in keyof T]: (T[K] extends any[] ? Parameters<T[K][0]['expose']>[0][] : T[K] extends {
274
+ expose?: (exposed: infer E) => void;
275
+ } ? E : T[K]) | null;
276
+ } : never;
277
+ type __VLS_WithTemplateSlots<T, S> = T & {
278
+ new (): {
279
+ $slots: S;
280
+ };
281
+ };
@@ -0,0 +1,271 @@
1
+ declare var __VLS_0: {};
2
+ declare var __VLS_12: {};
3
+ declare var __VLS_inheritedAttrs: {};
4
+ declare const __VLS_refs: {};
5
+ declare const __VLS_templateResult: {
6
+ slots: {
7
+ "left-icon"?(_: typeof __VLS_0): any;
8
+ "right-icon"?(_: {}): any;
9
+ "helper-text"?(_: typeof __VLS_12): any;
10
+ };
11
+ refs: __VLS_PickRefsExpose<typeof __VLS_refs>;
12
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
13
+ };
14
+ type __VLS_Slots = typeof __VLS_templateResult['slots'];
15
+ declare const __VLS_component: import("vue").DefineComponent<{
16
+ /**
17
+ * Etiqueta que se muestra sobre el campo de entrada. y Placeholder
18
+ */
19
+ label: {
20
+ type: StringConstructor;
21
+ required: true;
22
+ };
23
+ /**
24
+ * Identificador único del campo de entrada.
25
+ */
26
+ id: {
27
+ type: (StringConstructor | NumberConstructor)[];
28
+ required: true;
29
+ default: string;
30
+ };
31
+ /**
32
+ * v-model valor de entrada y salida
33
+ */
34
+ modelValue: {
35
+ type: StringConstructor;
36
+ required: true;
37
+ };
38
+ /**
39
+ * Indica si el campo de entrada está deshabilitado o no.
40
+ */
41
+ disabled: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ /**
46
+ * Indica si el campo de entrada es de solo lectura o no.
47
+ */
48
+ readonly: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ /**
53
+ * Número máximo de caracteres permitidos en el campo de entrada.
54
+ */
55
+ maxLength: {
56
+ type: NumberConstructor;
57
+ default: number;
58
+ validator: (value: number) => boolean;
59
+ };
60
+ /**
61
+ * Número mínimo de caracteres permitidos en el campo de entrada.
62
+ */
63
+ minLength: {
64
+ type: NumberConstructor;
65
+ default: number;
66
+ validator: (value: number) => boolean;
67
+ };
68
+ /**
69
+ * Nombre del icono que se mostrará dentro del campo de entrada.
70
+ * por defecto se mosrtrara a al izquierda del campo
71
+ */
72
+ icon: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ };
76
+ /**
77
+ * Muestra un icono a la derecha
78
+ * Se desactiva si la opccion de `clearable` esta activa
79
+ */
80
+ rightIcon: {
81
+ type: StringConstructor;
82
+ default: string;
83
+ };
84
+ /**
85
+ * Indica si se debe mostrar un mensaje de ayuda debajo del campo de entrada o no.
86
+ */
87
+ helper: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ /**
92
+ * Indica si el campo de entrada contiene un error o no.
93
+ */
94
+ error: {
95
+ type: BooleanConstructor;
96
+ default: boolean;
97
+ };
98
+ /**
99
+ * Texto que se muestra como mensaje de ayuda debajo del campo de entrada.
100
+ */
101
+ helperText: {
102
+ type: StringConstructor;
103
+ default: string;
104
+ };
105
+ /**
106
+ * Muestra un boton para limpiar el campo de texto
107
+ */
108
+ clearable: {
109
+ type: BooleanConstructor;
110
+ default: boolean;
111
+ };
112
+ /**
113
+ * Muestra el campo de texto como password
114
+ */
115
+ password: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ /**
120
+ * Indica si el campo de texto es para una nueva contraseña (solo para campos de contraseña).
121
+ * Opciones permitidas: 'new-password', 'current-password', 'off'.
122
+ */
123
+ autocomplete: {
124
+ type: StringConstructor;
125
+ default: string;
126
+ validator: (value: string, props: any) => boolean;
127
+ };
128
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
129
+ "update:modelValue": (modelValue: string) => void;
130
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
131
+ /**
132
+ * Etiqueta que se muestra sobre el campo de entrada. y Placeholder
133
+ */
134
+ label: {
135
+ type: StringConstructor;
136
+ required: true;
137
+ };
138
+ /**
139
+ * Identificador único del campo de entrada.
140
+ */
141
+ id: {
142
+ type: (StringConstructor | NumberConstructor)[];
143
+ required: true;
144
+ default: string;
145
+ };
146
+ /**
147
+ * v-model valor de entrada y salida
148
+ */
149
+ modelValue: {
150
+ type: StringConstructor;
151
+ required: true;
152
+ };
153
+ /**
154
+ * Indica si el campo de entrada está deshabilitado o no.
155
+ */
156
+ disabled: {
157
+ type: BooleanConstructor;
158
+ default: boolean;
159
+ };
160
+ /**
161
+ * Indica si el campo de entrada es de solo lectura o no.
162
+ */
163
+ readonly: {
164
+ type: BooleanConstructor;
165
+ default: boolean;
166
+ };
167
+ /**
168
+ * Número máximo de caracteres permitidos en el campo de entrada.
169
+ */
170
+ maxLength: {
171
+ type: NumberConstructor;
172
+ default: number;
173
+ validator: (value: number) => boolean;
174
+ };
175
+ /**
176
+ * Número mínimo de caracteres permitidos en el campo de entrada.
177
+ */
178
+ minLength: {
179
+ type: NumberConstructor;
180
+ default: number;
181
+ validator: (value: number) => boolean;
182
+ };
183
+ /**
184
+ * Nombre del icono que se mostrará dentro del campo de entrada.
185
+ * por defecto se mosrtrara a al izquierda del campo
186
+ */
187
+ icon: {
188
+ type: StringConstructor;
189
+ default: string;
190
+ };
191
+ /**
192
+ * Muestra un icono a la derecha
193
+ * Se desactiva si la opccion de `clearable` esta activa
194
+ */
195
+ rightIcon: {
196
+ type: StringConstructor;
197
+ default: string;
198
+ };
199
+ /**
200
+ * Indica si se debe mostrar un mensaje de ayuda debajo del campo de entrada o no.
201
+ */
202
+ helper: {
203
+ type: BooleanConstructor;
204
+ default: boolean;
205
+ };
206
+ /**
207
+ * Indica si el campo de entrada contiene un error o no.
208
+ */
209
+ error: {
210
+ type: BooleanConstructor;
211
+ default: boolean;
212
+ };
213
+ /**
214
+ * Texto que se muestra como mensaje de ayuda debajo del campo de entrada.
215
+ */
216
+ helperText: {
217
+ type: StringConstructor;
218
+ default: string;
219
+ };
220
+ /**
221
+ * Muestra un boton para limpiar el campo de texto
222
+ */
223
+ clearable: {
224
+ type: BooleanConstructor;
225
+ default: boolean;
226
+ };
227
+ /**
228
+ * Muestra el campo de texto como password
229
+ */
230
+ password: {
231
+ type: BooleanConstructor;
232
+ default: boolean;
233
+ };
234
+ /**
235
+ * Indica si el campo de texto es para una nueva contraseña (solo para campos de contraseña).
236
+ * Opciones permitidas: 'new-password', 'current-password', 'off'.
237
+ */
238
+ autocomplete: {
239
+ type: StringConstructor;
240
+ default: string;
241
+ validator: (value: string, props: any) => boolean;
242
+ };
243
+ }>> & {
244
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
245
+ }, {
246
+ error: boolean;
247
+ icon: string;
248
+ disabled: boolean;
249
+ id: string | number;
250
+ password: boolean;
251
+ readonly: boolean;
252
+ maxLength: number;
253
+ minLength: number;
254
+ rightIcon: string;
255
+ helper: boolean;
256
+ helperText: string;
257
+ clearable: boolean;
258
+ autocomplete: string;
259
+ }, {}>;
260
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
261
+ export default _default;
262
+ type __VLS_PickRefsExpose<T> = T extends object ? {
263
+ [K in keyof T]: (T[K] extends any[] ? Parameters<T[K][0]['expose']>[0][] : T[K] extends {
264
+ expose?: (exposed: infer E) => void;
265
+ } ? E : T[K]) | null;
266
+ } : never;
267
+ type __VLS_WithTemplateSlots<T, S> = T & {
268
+ new (): {
269
+ $slots: S;
270
+ };
271
+ };
@@ -0,0 +1,63 @@
1
+ import RDSLink from '../link/link.vue';
2
+ type _RDSLinkProps = Omit<InstanceType<typeof RDSLink>, `$${string}`>;
3
+ export type RDSLinkProps = _RDSLinkProps & {
4
+ clickable?: boolean;
5
+ active?: boolean;
6
+ right: never;
7
+ arrow: never;
8
+ kind: never;
9
+ icon: never;
10
+ };
11
+ declare const _default: import("vue").DefineComponent<{
12
+ /**
13
+ * <span>Lista de items a mostrar en el breadcrumb</span>
14
+ */
15
+ items: {
16
+ type: () => RDSLinkProps[];
17
+ required: true;
18
+ };
19
+ /**
20
+ * <span>Indica si el breadcrumb se mostrará en modo inverso. En modo inverso, el texto es claro sobre un fondo oscuro.</span>
21
+ */
22
+ inverse: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ /**
27
+ * <span>Indica si el breadcrumb debe ser recortado en el medio, y mostrar un botón en su lugar.</span>
28
+ */
29
+ trimItems: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
+ onClickTrimmedList: (value: RDSLinkProps[]) => void;
35
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
+ /**
37
+ * <span>Lista de items a mostrar en el breadcrumb</span>
38
+ */
39
+ items: {
40
+ type: () => RDSLinkProps[];
41
+ required: true;
42
+ };
43
+ /**
44
+ * <span>Indica si el breadcrumb se mostrará en modo inverso. En modo inverso, el texto es claro sobre un fondo oscuro.</span>
45
+ */
46
+ inverse: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ /**
51
+ * <span>Indica si el breadcrumb debe ser recortado en el medio, y mostrar un botón en su lugar.</span>
52
+ */
53
+ trimItems: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ }>> & {
58
+ onOnClickTrimmedList?: ((value: RDSLinkProps[]) => any) | undefined;
59
+ }, {
60
+ inverse: boolean;
61
+ trimItems: boolean;
62
+ }, {}>;
63
+ export default _default;
@@ -0,0 +1,15 @@
1
+ export interface LinkProps {
2
+ text: string;
3
+ to?: string;
4
+ kind?: string;
5
+ icon?: {
6
+ name: string;
7
+ modifier?: string;
8
+ };
9
+ tag: string;
10
+ disabled?: boolean;
11
+ inverse?: boolean;
12
+ arrow?: boolean;
13
+ right?: boolean;
14
+ underline?: boolean;
15
+ }