energy-components 1.14.1 → 1.15.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.
Files changed (113) hide show
  1. package/dist/components/accordion.es.js +30 -27
  2. package/dist/components/actionButton.es.js +56 -11
  3. package/dist/components/avatar.es.js +24 -16
  4. package/dist/components/breadcrumbs.es.js +37 -29
  5. package/dist/components/button.es.js +31 -22
  6. package/dist/components/card.es.js +17 -9
  7. package/dist/components/checkbox.es.js +67 -56
  8. package/dist/components/collapsable.es.js +1 -1
  9. package/dist/components/{collapsable.scss_vue_type_style_index_0_src_true_lang-DfOWp1XD.js → collapsable.scss_vue_type_style_index_0_src_true_lang-Bi5q6Y3n.js} +1 -1
  10. package/dist/components/directAccess.es.js +26 -18
  11. package/dist/components/dragAndDrop.es.js +1 -1
  12. package/dist/components/dropdown.es.js +27 -27
  13. package/dist/components/fileUploadItem.es.js +23 -21
  14. package/dist/components/filterChip.es.js +22 -14
  15. package/dist/components/filterTag.es.js +27 -19
  16. package/dist/components/floating-ui.vue-7LKzPqHI.js +1148 -0
  17. package/dist/components/floatingActionButton.es.js +19 -11
  18. package/dist/components/{icon-svg-DuzOdbk1.js → icon-svg-BU0OQFKH.js} +990 -742
  19. package/dist/components/iconList.es.js +1 -1
  20. package/dist/components/iconSvg.es.js +1 -1
  21. package/dist/components/index.es.js +83 -77
  22. package/dist/components/indicator.es.js +37 -29
  23. package/dist/components/infoBox.es.js +47 -39
  24. package/dist/components/link.es.js +22 -13
  25. package/dist/components/loader.es.js +22 -21
  26. package/dist/components/modal.es.js +37 -28
  27. package/dist/components/overlay.es.js +21 -11
  28. package/dist/components/pagination.es.js +164 -109
  29. package/dist/components/persistentToast.es.js +32 -24
  30. package/dist/components/popover.es.js +166 -0
  31. package/dist/components/progressBar.es.js +30 -22
  32. package/dist/components/quantitySelector.es.js +60 -48
  33. package/dist/components/radioButton.es.js +1 -1
  34. package/dist/components/selectionChip.es.js +15 -7
  35. package/dist/components/sidedrawer.es.js +1 -1
  36. package/dist/components/snackBar.es.js +131 -0
  37. package/dist/components/style/accordion.css +1 -1
  38. package/dist/components/style/actionButton.css +1 -1
  39. package/dist/components/style/avatar.css +1 -1
  40. package/dist/components/style/breadcrumbs.css +1 -1
  41. package/dist/components/style/button.css +1 -1
  42. package/dist/components/style/card.css +1 -1
  43. package/dist/components/style/checkbox.css +1 -1
  44. package/dist/components/style/directAccess.css +1 -1
  45. package/dist/components/style/fileUploadItem.css +1 -1
  46. package/dist/components/style/filterChip.css +1 -1
  47. package/dist/components/style/filterTag.css +1 -1
  48. package/dist/components/style/floatingActionButton.css +1 -1
  49. package/dist/components/style/icon-svg.css +1 -1
  50. package/dist/components/style/indicator.css +1 -1
  51. package/dist/components/style/infoBox.css +1 -1
  52. package/dist/components/style/link.css +1 -1
  53. package/dist/components/style/loader.css +1 -1
  54. package/dist/components/style/modal.css +1 -1
  55. package/dist/components/style/overlay.css +1 -1
  56. package/dist/components/style/pagination.css +1 -1
  57. package/dist/components/style/persistentToast.css +1 -1
  58. package/dist/components/style/popover.css +1 -0
  59. package/dist/components/style/progressBar.css +1 -1
  60. package/dist/components/style/quantitySelector.css +1 -1
  61. package/dist/components/style/selectionChip.css +1 -1
  62. package/dist/components/style/snackBar.css +1 -0
  63. package/dist/components/style/tabBar.css +1 -1
  64. package/dist/components/style/tag.css +1 -1
  65. package/dist/components/style/textArea.css +1 -1
  66. package/dist/components/style/toggle.css +1 -1
  67. package/dist/components/style/tooltip.css +1 -1
  68. package/dist/components/switch.es.js +1 -1
  69. package/dist/components/tabBar.es.js +23 -15
  70. package/dist/components/tableslotedcomponent.es.js +1 -1
  71. package/dist/components/tag.es.js +31 -23
  72. package/dist/components/textArea.es.js +57 -57
  73. package/dist/components/textField.es.js +1 -1
  74. package/dist/components/toggle.es.js +20 -16
  75. package/dist/components/tooltip.es.js +71 -1019
  76. package/dist/energy-components.es.js +6825 -5824
  77. package/dist/energy-components.umd.js +2 -2
  78. package/dist/style.css +1 -1
  79. package/dist/types/src/components/buttons/action-button/action-button.vue.d.ts +47 -0
  80. package/dist/types/src/components/buttons/button/button.vue.d.ts +15 -0
  81. package/dist/types/src/components/buttons/floating-action-button/floating-action-button.vue.d.ts +15 -0
  82. package/dist/types/src/components/content/avatar/avatar.vue.d.ts +15 -0
  83. package/dist/types/src/components/content/card/card.vue.d.ts +15 -0
  84. package/dist/types/src/components/content/collapsable/collapsable.vue.d.ts +1 -1
  85. package/dist/types/src/components/content/tag/tag.vue.d.ts +15 -0
  86. package/dist/types/src/components/feedback/indicator/indicator.vue.d.ts +15 -0
  87. package/dist/types/src/components/feedback/info-box/info-box.vue.d.ts +15 -0
  88. package/dist/types/src/components/feedback/loader/loader.vue.d.ts +1 -1
  89. package/dist/types/src/components/feedback/persistent-toast/persistent-toast.vue.d.ts +15 -0
  90. package/dist/types/src/components/feedback/progress-bar/progress-bar.vue.d.ts +15 -0
  91. package/dist/types/src/components/feedback/snack-bar/snack-bar.vue.d.ts +180 -0
  92. package/dist/types/src/components/icon-svg/icon-svg.vue.d.ts +15 -0
  93. package/dist/types/src/components/index.d.ts +2 -0
  94. package/dist/types/src/components/input/checkbox/checkbox.vue.d.ts +24 -7
  95. package/dist/types/src/components/input/drag-and-drop/drag-and-drop.vue.d.ts +1 -1
  96. package/dist/types/src/components/input/file-upload-item/file-upload-item.vue.d.ts +1 -1
  97. package/dist/types/src/components/input/filter-chip/filter-chip.vue.d.ts +15 -0
  98. package/dist/types/src/components/input/filter-tag/filter-tag.vue.d.ts +15 -0
  99. package/dist/types/src/components/input/quantity-selector/quantity-selector.vue.d.ts +15 -0
  100. package/dist/types/src/components/input/selection-chip/selection-chip.vue.d.ts +15 -0
  101. package/dist/types/src/components/input/switch/switch.vue.d.ts +1 -1
  102. package/dist/types/src/components/input/toggle/toggle.vue.d.ts +4 -0
  103. package/dist/types/src/components/navigation/breadcrumbs/breadcrumbs.vue.d.ts +15 -0
  104. package/dist/types/src/components/navigation/direct-access/direct-access.vue.d.ts +15 -0
  105. package/dist/types/src/components/navigation/link/link.vue.d.ts +15 -0
  106. package/dist/types/src/components/navigation/pagination/pagination.vue.d.ts +47 -0
  107. package/dist/types/src/components/navigation/tab-bar/tab-bar.vue.d.ts +15 -0
  108. package/dist/types/src/components/overlay/modal/modal.vue.d.ts +15 -0
  109. package/dist/types/src/components/overlay/overlay/overlay.vue.d.ts +15 -0
  110. package/dist/types/src/components/overlay/popover/popover.vue.d.ts +35 -0
  111. package/dist/types/src/components/overlay/tooltip/tooltip.vue.d.ts +15 -0
  112. package/dist/types/tsconfig.tsbuildinfo +1 -1
  113. package/package.json +2 -2
@@ -44,6 +44,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
44
44
  type: BooleanConstructor;
45
45
  default: boolean;
46
46
  };
47
+ /**
48
+ * <span>ID del botón para testing</span>
49
+ */
50
+ id: {
51
+ type: StringConstructor;
52
+ default: undefined;
53
+ };
54
+ /**
55
+ * <span>Contenido del tooltip. Si se proporciona, se mostrará el tooltip al hacer hover</span>
56
+ */
57
+ tooltip: {
58
+ type: StringConstructor;
59
+ default: string;
60
+ };
61
+ /**
62
+ * <span>Posición del tooltip (top, bottom, left, right). Si no se especifica, se posiciona automáticamente</span>
63
+ */
64
+ tooltipPosition: {
65
+ type: StringConstructor;
66
+ default: undefined;
67
+ validator(value: string): boolean;
68
+ };
47
69
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
48
70
  /**
49
71
  * <span>Icono a mostrar en el botón</span>
@@ -90,11 +112,36 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
90
112
  type: BooleanConstructor;
91
113
  default: boolean;
92
114
  };
115
+ /**
116
+ * <span>ID del botón para testing</span>
117
+ */
118
+ id: {
119
+ type: StringConstructor;
120
+ default: undefined;
121
+ };
122
+ /**
123
+ * <span>Contenido del tooltip. Si se proporciona, se mostrará el tooltip al hacer hover</span>
124
+ */
125
+ tooltip: {
126
+ type: StringConstructor;
127
+ default: string;
128
+ };
129
+ /**
130
+ * <span>Posición del tooltip (top, bottom, left, right). Si no se especifica, se posiciona automáticamente</span>
131
+ */
132
+ tooltipPosition: {
133
+ type: StringConstructor;
134
+ default: undefined;
135
+ validator(value: string): boolean;
136
+ };
93
137
  }>> & Readonly<{}>, {
94
138
  loading: boolean;
95
139
  small: boolean;
140
+ id: string;
96
141
  variant: string;
97
142
  inverse: boolean;
98
143
  disabled: boolean;
144
+ tooltip: string;
145
+ tooltipPosition: string;
99
146
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
100
147
  export default _default;
@@ -89,6 +89,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
89
89
  type: BooleanConstructor;
90
90
  default: boolean;
91
91
  };
92
+ /**
93
+ * <span>ID del botón para testing</span>
94
+ */
95
+ id: {
96
+ type: StringConstructor;
97
+ default: undefined;
98
+ };
92
99
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
93
100
  /**
94
101
  * <span>Texto a mostrar en el botón</span>
@@ -175,9 +182,17 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
175
182
  type: BooleanConstructor;
176
183
  default: boolean;
177
184
  };
185
+ /**
186
+ * <span>ID del botón para testing</span>
187
+ */
188
+ id: {
189
+ type: StringConstructor;
190
+ default: undefined;
191
+ };
178
192
  }>> & Readonly<{}>, {
179
193
  loading: boolean;
180
194
  small: boolean;
195
+ id: string;
181
196
  type: ButtonType;
182
197
  text: string;
183
198
  icon: string;
@@ -61,6 +61,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
61
61
  type: BooleanConstructor;
62
62
  default: boolean;
63
63
  };
64
+ /**
65
+ * <span>ID del botón para testing</span>
66
+ */
67
+ id: {
68
+ type: StringConstructor;
69
+ default: undefined;
70
+ };
64
71
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
65
72
  /**
66
73
  * <span>Icono a mostrar en el botón</span>
@@ -124,9 +131,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
124
131
  type: BooleanConstructor;
125
132
  default: boolean;
126
133
  };
134
+ /**
135
+ * <span>ID del botón para testing</span>
136
+ */
137
+ id: {
138
+ type: StringConstructor;
139
+ default: undefined;
140
+ };
127
141
  }>> & Readonly<{}>, {
128
142
  loading: boolean;
129
143
  small: boolean;
144
+ id: string;
130
145
  inverse: boolean;
131
146
  disabled: boolean;
132
147
  position: string;
@@ -68,6 +68,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
68
68
  type: StringConstructor;
69
69
  default: string;
70
70
  };
71
+ /**
72
+ * ID del avatar para testing
73
+ */
74
+ id: {
75
+ type: StringConstructor;
76
+ default: undefined;
77
+ };
71
78
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
72
79
  click: (event: MouseEvent | KeyboardEvent) => any;
73
80
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -138,10 +145,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
138
145
  type: StringConstructor;
139
146
  default: string;
140
147
  };
148
+ /**
149
+ * ID del avatar para testing
150
+ */
151
+ id: {
152
+ type: StringConstructor;
153
+ default: undefined;
154
+ };
141
155
  }>> & Readonly<{
142
156
  onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
143
157
  }>, {
144
158
  size: AvatarSizeType;
159
+ id: string;
145
160
  type: AvatarType;
146
161
  initials: string;
147
162
  src: string;
@@ -10,6 +10,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
10
10
  type: StringConstructor;
11
11
  default: string;
12
12
  };
13
+ /**
14
+ * ID de la card para testing
15
+ */
16
+ id: {
17
+ type: StringConstructor;
18
+ default: undefined;
19
+ };
13
20
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
21
  /**
15
22
  * Clase personalizada.
@@ -18,7 +25,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
18
25
  type: StringConstructor;
19
26
  default: string;
20
27
  };
28
+ /**
29
+ * ID de la card para testing
30
+ */
31
+ id: {
32
+ type: StringConstructor;
33
+ default: undefined;
34
+ };
21
35
  }>> & Readonly<{}>, {
36
+ id: string;
22
37
  customClass: string;
23
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
24
39
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -38,11 +38,11 @@ declare const __VLS_component: import("vue").DefineComponent<RDSCollapsableProps
38
38
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
39
39
  }>, {
40
40
  open: boolean;
41
+ id: string;
41
42
  icon: string;
42
43
  disabled: boolean;
43
44
  content: string;
44
45
  fullWidth: boolean;
45
- id: string;
46
46
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
47
47
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
48
48
  export default _default;
@@ -46,6 +46,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
46
46
  type: BooleanConstructor;
47
47
  default: boolean;
48
48
  };
49
+ /**
50
+ * ID del tag para testing
51
+ */
52
+ id: {
53
+ type: StringConstructor;
54
+ default: undefined;
55
+ };
49
56
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
50
57
  /**
51
58
  * Nombre del icono a mostrar en la parte izquierda del tag
@@ -94,8 +101,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
94
101
  type: BooleanConstructor;
95
102
  default: boolean;
96
103
  };
104
+ /**
105
+ * ID del tag para testing
106
+ */
107
+ id: {
108
+ type: StringConstructor;
109
+ default: undefined;
110
+ };
97
111
  }>> & Readonly<{}>, {
98
112
  small: boolean;
113
+ id: string;
99
114
  type: string;
100
115
  text: string;
101
116
  icon: string;
@@ -46,6 +46,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
46
46
  type: BooleanConstructor;
47
47
  default: boolean;
48
48
  };
49
+ /**
50
+ * ID del indicador para testing
51
+ */
52
+ id: {
53
+ type: StringConstructor;
54
+ default: undefined;
55
+ };
49
56
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
50
57
  /**
51
58
  * Los pasos a mostrar en el indicador.
@@ -91,7 +98,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
91
98
  type: BooleanConstructor;
92
99
  default: boolean;
93
100
  };
101
+ /**
102
+ * ID del indicador para testing
103
+ */
104
+ id: {
105
+ type: StringConstructor;
106
+ default: undefined;
107
+ };
94
108
  }>> & Readonly<{}>, {
109
+ id: string;
95
110
  variant: VariantType;
96
111
  fullWidth: boolean;
97
112
  ellipsis: boolean;
@@ -69,6 +69,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
69
69
  required: false;
70
70
  default: boolean;
71
71
  };
72
+ /**
73
+ * ID del info-box para testing
74
+ */
75
+ id: {
76
+ type: StringConstructor;
77
+ default: undefined;
78
+ };
72
79
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
73
80
  /**
74
81
  * Tipo del mensaje.
@@ -134,7 +141,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
134
141
  required: false;
135
142
  default: boolean;
136
143
  };
144
+ /**
145
+ * ID del info-box para testing
146
+ */
147
+ id: {
148
+ type: StringConstructor;
149
+ default: undefined;
150
+ };
137
151
  }>> & Readonly<{}>, {
152
+ id: string;
138
153
  collapsable: boolean;
139
154
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
140
155
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -142,8 +142,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
142
142
  };
143
143
  }>> & Readonly<{}>, {
144
144
  size: number;
145
- variant: string;
146
145
  id: string;
146
+ variant: string;
147
147
  ariaLabel: string;
148
148
  animationType: string;
149
149
  strokeWidth: number;
@@ -70,6 +70,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
70
70
  type: BooleanConstructor;
71
71
  required: false;
72
72
  };
73
+ /**
74
+ * ID del persistent-toast para testing
75
+ */
76
+ id: {
77
+ type: StringConstructor;
78
+ default: undefined;
79
+ };
73
80
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
74
81
  onCloseToastAction: () => any;
75
82
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -138,10 +145,18 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
138
145
  type: BooleanConstructor;
139
146
  required: false;
140
147
  };
148
+ /**
149
+ * ID del persistent-toast para testing
150
+ */
151
+ id: {
152
+ type: StringConstructor;
153
+ default: undefined;
154
+ };
141
155
  }>> & Readonly<{
142
156
  onOnCloseToastAction?: (() => any) | undefined;
143
157
  }>, {
144
158
  close: boolean;
159
+ id: string;
145
160
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
146
161
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
147
162
  export default _default;
@@ -63,6 +63,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
63
63
  type: BooleanConstructor;
64
64
  default: boolean;
65
65
  };
66
+ /**
67
+ * ID del progress-bar para testing
68
+ */
69
+ id: {
70
+ type: StringConstructor;
71
+ default: undefined;
72
+ };
66
73
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
67
74
  goBack: () => any;
68
75
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -117,9 +124,17 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
117
124
  type: BooleanConstructor;
118
125
  default: boolean;
119
126
  };
127
+ /**
128
+ * ID del progress-bar para testing
129
+ */
130
+ id: {
131
+ type: StringConstructor;
132
+ default: undefined;
133
+ };
120
134
  }>> & Readonly<{
121
135
  onGoBack?: (() => any) | undefined;
122
136
  }>, {
137
+ id: string;
123
138
  inverse: boolean;
124
139
  backButton: boolean;
125
140
  percentage: boolean;
@@ -0,0 +1,180 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ /**
3
+ * Tipo del mensaje.
4
+ *
5
+ * Define el tipo de mensaje que se mostrará. Puede ser uno de los siguientes valores:
6
+ * - `warning`: Indica un mensaje de advertencia.
7
+ * - `success`: Indica un mensaje de éxito.
8
+ * - `error`: Indica un mensaje de error.
9
+ * - `info`: Indica un mensaje informativo.
10
+ *
11
+ * @type {string}
12
+ * @required
13
+ */
14
+ type: {
15
+ type: StringConstructor;
16
+ required: true;
17
+ validator: (value: unknown) => boolean;
18
+ };
19
+ /**
20
+ * El contenido del mensaje.
21
+ *
22
+ * El texto principal que se mostrará en el mensaje.
23
+ *
24
+ * @type {string}
25
+ * @required
26
+ */
27
+ message: {
28
+ type: StringConstructor;
29
+ required: true;
30
+ };
31
+ /**
32
+ * El título del mensaje.
33
+ *
34
+ * Un título opcional que se mostrará en la parte superior del mensaje.
35
+ *
36
+ * @type {string}
37
+ * @optional
38
+ */
39
+ title: {
40
+ type: StringConstructor;
41
+ required: false;
42
+ };
43
+ /**
44
+ * El icono asociado con el mensaje.
45
+ *
46
+ * Un icono opcional que se mostrará junto al mensaje. Puede ser el nombre de un icono de una biblioteca de iconos.
47
+ *
48
+ * @type {string}
49
+ * @optional
50
+ */
51
+ icon: {
52
+ type: StringConstructor;
53
+ required: false;
54
+ };
55
+ /**
56
+ * Controla si se muestra el botón de cerrar.
57
+ * - Si es true: Solo se cierra manualmente con el botón X
58
+ * - Si es false: Se cierra automáticamente en 5 segundos
59
+ *
60
+ * @type {boolean}
61
+ * @default true
62
+ */
63
+ close: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
67
+ /**
68
+ * ID del snack-bar para testing
69
+ */
70
+ id: {
71
+ type: StringConstructor;
72
+ default: undefined;
73
+ };
74
+ /**
75
+ * Selector del contenedor donde renderizar el snack-bar.
76
+ * - Si se proporciona: Se renderiza dentro del contenedor especificado
77
+ * - Si no se proporciona: Se renderiza en el body (comportamiento por defecto)
78
+ *
79
+ * @type {string}
80
+ * @default undefined
81
+ */
82
+ teleportTo: {
83
+ type: StringConstructor;
84
+ default: undefined;
85
+ };
86
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
87
+ close: () => any;
88
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
89
+ /**
90
+ * Tipo del mensaje.
91
+ *
92
+ * Define el tipo de mensaje que se mostrará. Puede ser uno de los siguientes valores:
93
+ * - `warning`: Indica un mensaje de advertencia.
94
+ * - `success`: Indica un mensaje de éxito.
95
+ * - `error`: Indica un mensaje de error.
96
+ * - `info`: Indica un mensaje informativo.
97
+ *
98
+ * @type {string}
99
+ * @required
100
+ */
101
+ type: {
102
+ type: StringConstructor;
103
+ required: true;
104
+ validator: (value: unknown) => boolean;
105
+ };
106
+ /**
107
+ * El contenido del mensaje.
108
+ *
109
+ * El texto principal que se mostrará en el mensaje.
110
+ *
111
+ * @type {string}
112
+ * @required
113
+ */
114
+ message: {
115
+ type: StringConstructor;
116
+ required: true;
117
+ };
118
+ /**
119
+ * El título del mensaje.
120
+ *
121
+ * Un título opcional que se mostrará en la parte superior del mensaje.
122
+ *
123
+ * @type {string}
124
+ * @optional
125
+ */
126
+ title: {
127
+ type: StringConstructor;
128
+ required: false;
129
+ };
130
+ /**
131
+ * El icono asociado con el mensaje.
132
+ *
133
+ * Un icono opcional que se mostrará junto al mensaje. Puede ser el nombre de un icono de una biblioteca de iconos.
134
+ *
135
+ * @type {string}
136
+ * @optional
137
+ */
138
+ icon: {
139
+ type: StringConstructor;
140
+ required: false;
141
+ };
142
+ /**
143
+ * Controla si se muestra el botón de cerrar.
144
+ * - Si es true: Solo se cierra manualmente con el botón X
145
+ * - Si es false: Se cierra automáticamente en 5 segundos
146
+ *
147
+ * @type {boolean}
148
+ * @default true
149
+ */
150
+ close: {
151
+ type: BooleanConstructor;
152
+ default: boolean;
153
+ };
154
+ /**
155
+ * ID del snack-bar para testing
156
+ */
157
+ id: {
158
+ type: StringConstructor;
159
+ default: undefined;
160
+ };
161
+ /**
162
+ * Selector del contenedor donde renderizar el snack-bar.
163
+ * - Si se proporciona: Se renderiza dentro del contenedor especificado
164
+ * - Si no se proporciona: Se renderiza en el body (comportamiento por defecto)
165
+ *
166
+ * @type {string}
167
+ * @default undefined
168
+ */
169
+ teleportTo: {
170
+ type: StringConstructor;
171
+ default: undefined;
172
+ };
173
+ }>> & Readonly<{
174
+ onClose?: (() => any) | undefined;
175
+ }>, {
176
+ close: boolean;
177
+ id: string;
178
+ teleportTo: string;
179
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
180
+ export default _default;
@@ -39,6 +39,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
39
39
  type: (StringConstructor | NumberConstructor)[];
40
40
  default: null;
41
41
  };
42
+ /**
43
+ * ID del icono para testing
44
+ */
45
+ id: {
46
+ type: StringConstructor;
47
+ default: undefined;
48
+ };
42
49
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
43
50
  /**
44
51
  * <span>Nombre del icono, todos en listado.</span>
@@ -80,10 +87,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
80
87
  type: (StringConstructor | NumberConstructor)[];
81
88
  default: null;
82
89
  };
90
+ /**
91
+ * ID del icono para testing
92
+ */
93
+ id: {
94
+ type: StringConstructor;
95
+ default: undefined;
96
+ };
83
97
  }>> & Readonly<{}>, {
84
98
  modifier: string;
85
99
  small: boolean;
86
100
  color: string;
87
101
  size: string | number;
102
+ id: string;
88
103
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
89
104
  export default _default;
@@ -32,11 +32,13 @@ export { default as RDSPagination } from './navigation/pagination/pagination.vue
32
32
  export { default as RDSDirectAccess } from './navigation/direct-access/direct-access.vue';
33
33
  export { default as RDSIndicator } from './feedback/indicator/indicator.vue';
34
34
  export { default as RDSPersistentToast } from './feedback/persistent-toast/persistent-toast.vue';
35
+ export { default as RDSSnackBar } from './feedback/snack-bar/snack-bar.vue';
35
36
  export { default as RDSInfoBox } from './feedback/info-box/info-box.vue';
36
37
  export { default as RDSProgressBar } from './feedback/progress-bar/progress-bar.vue';
37
38
  export { default as RDSLoader } from './feedback/loader/loader.vue';
38
39
  export { default as RDSModal } from './overlay/modal/modal.vue';
39
40
  export { default as RDSOverlay } from './overlay/overlay/overlay.vue';
40
41
  export { default as RDSTooltip } from './overlay/tooltip/tooltip.vue';
42
+ export { default as RDSPopover } from './overlay/popover/popover.vue';
41
43
  export { default as RDSSidebar } from './layout/sidebar/sidebar.vue';
42
44
  export { default as RDSSidedrawer } from './layout/sidedrawer/sidedrawer.vue';