valtech-components 2.0.743 → 2.0.744
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/esm2022/lib/components/molecules/notes-box/notes-box.component.mjs +65 -53
- package/esm2022/lib/components/molecules/notes-box/types.mjs +1 -1
- package/esm2022/lib/components/organisms/article/article.component.mjs +3 -1
- package/esm2022/lib/components/organisms/article/types.mjs +1 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +67 -53
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/molecules/notes-box/types.d.ts +10 -0
- package/lib/components/organisms/article/types.d.ts +4 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -22,4 +22,14 @@ export interface NotesBoxMetadata {
|
|
|
22
22
|
padding?: string;
|
|
23
23
|
allowPartialBold?: boolean;
|
|
24
24
|
processLinks?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Compact mode — renders the box as inline-block with `fit-content` width and
|
|
27
|
+
* tighter padding. Ideal for short labels (status chips, doc metadata, badges)
|
|
28
|
+
* where a full-width banner feels oversized.
|
|
29
|
+
*/
|
|
30
|
+
compact?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Text alignment inside the box. Default `'left'`.
|
|
33
|
+
*/
|
|
34
|
+
align?: 'left' | 'center' | 'right';
|
|
25
35
|
}
|
|
@@ -123,6 +123,10 @@ export interface ArticleNoteElement extends BaseArticleElement {
|
|
|
123
123
|
allowPartialBold?: boolean;
|
|
124
124
|
/** Procesa URLs y `[text](url)` en `text`. Default `false`. */
|
|
125
125
|
processLinks?: boolean;
|
|
126
|
+
/** Compact mode — inline-block fit-content, padding reducido, sin left-border. */
|
|
127
|
+
compact?: boolean;
|
|
128
|
+
/** Alineación del texto. Default `'left'`. */
|
|
129
|
+
align?: 'left' | 'center' | 'right';
|
|
126
130
|
};
|
|
127
131
|
}
|
|
128
132
|
/**
|
package/lib/version.d.ts
CHANGED