valtech-components 2.0.432 → 2.0.434

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.
@@ -13,6 +13,12 @@ export declare class ArticleComponent implements OnInit {
13
13
  props: ArticleMetadata;
14
14
  constructor();
15
15
  ngOnInit(): void;
16
+ /**
17
+ * Obtiene los estilos de padding para el contenedor article
18
+ */
19
+ getContainerStyles(): {
20
+ [key: string]: string;
21
+ };
16
22
  /**
17
23
  * Función de trackBy para optimizar el rendering de elementos
18
24
  */
@@ -23,7 +29,7 @@ export declare class ArticleComponent implements OnInit {
23
29
  private getDefaultSpacingForType;
24
30
  /**
25
31
  * Obtiene las clases CSS para el espaciado del elemento.
26
- * Prioridad: element.spacing > props.defaultSpacing > espaciado nativo por tipo
32
+ * Prioridad: element.spacing > elementSpacing > espaciado nativo por tipo
27
33
  */
28
34
  getElementSpacingClass(element: ArticleElement): string;
29
35
  getTitleElement(element: ArticleElement): ArticleTitleElement;
@@ -262,7 +262,11 @@ export type ArticleElement = ArticleTitleElement | ArticleSubtitleElement | Arti
262
262
  export interface ArticleMetadata {
263
263
  /** Elementos del artículo */
264
264
  elements: ArticleElement[];
265
- /** Configuración de espaciado global */
265
+ /** Padding interno del contenedor article */
266
+ containerSpacing?: ArticleSpacing;
267
+ /** Override global de spacing para elementos (prioridad sobre spacing por tipo) */
268
+ elementSpacing?: ArticleSpacing;
269
+ /** @deprecated Usar elementSpacing en su lugar */
266
270
  defaultSpacing?: ArticleSpacing;
267
271
  /** Ancho máximo del artículo */
268
272
  maxWidth?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.432",
3
+ "version": "2.0.434",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",