valtech-components 2.0.740 → 2.0.742

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.
@@ -43,7 +43,7 @@ export declare class RightsFooterComponent {
43
43
  /**
44
44
  * Computed helper for color prop in template.
45
45
  */
46
- propsColor: import("@angular/core").Signal<"success" | "danger" | "medium" | "primary" | "secondary" | "tertiary" | "warning" | "light" | "dark">;
46
+ propsColor: import("@angular/core").Signal<"medium" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | "light" | "dark">;
47
47
  /**
48
48
  * Computed helper for withMargin prop in template.
49
49
  */
@@ -4,11 +4,13 @@ import { Color } from '@ionic/core';
4
4
  *
5
5
  * @property color - The background color of the box.
6
6
  * @property textColor - The color of the text.
7
- * @property prefix - Optional prefix text (bold).
8
- * @property text - The main text content.
7
+ * @property prefix - Optional prefix text (bold). Pass `''` (empty string) to suppress the prefix entirely.
8
+ * @property text - The main text content. May contain `<strong>` / `<b>` tags when `allowPartialBold` is enabled.
9
9
  * @property size - The size of the text and box ('small' | 'medium' | 'large' | 'xlarge').
10
10
  * @property rounded - Whether the box has rounded corners.
11
11
  * @property padding - Custom padding for the box (optional).
12
+ * @property allowPartialBold - Render inline `<strong>`/`<b>` tags in `text` as bold via innerHTML. Default `false`.
13
+ * @property processLinks - Auto-process URLs and `[text](url)` markdown links in `text`. Default `false`.
12
14
  */
13
15
  export interface NotesBoxMetadata {
14
16
  color: Color;
@@ -18,4 +20,6 @@ export interface NotesBoxMetadata {
18
20
  size: 'small' | 'medium' | 'large' | 'xlarge';
19
21
  rounded: boolean;
20
22
  padding?: string;
23
+ allowPartialBold?: boolean;
24
+ processLinks?: boolean;
21
25
  }
@@ -90,9 +90,9 @@ export declare class ArticleComponent implements OnInit {
90
90
  contentInterpolation?: Record<string, string | number>;
91
91
  icon?: import("valtech-components").IconMetada;
92
92
  shape?: "round";
93
- size?: "default" | "small" | "large";
93
+ size?: "small" | "large" | "default";
94
94
  fill?: "default" | "clear" | "outline" | "solid";
95
- type: "submit" | "button" | "reset";
95
+ type: "button" | "submit" | "reset";
96
96
  token?: string;
97
97
  ref?: any;
98
98
  handler?: (value: any) => any;
@@ -105,9 +105,9 @@ export interface ArticleCodeElement extends BaseArticleElement {
105
105
  export interface ArticleNoteElement extends BaseArticleElement {
106
106
  type: 'note';
107
107
  props: {
108
- /** Texto principal de la nota */
108
+ /** Texto principal de la nota. Puede contener `<strong>`/`<b>` si `allowPartialBold` está activo. */
109
109
  text: string;
110
- /** Prefijo en negrita (ej: "Nota:") */
110
+ /** Prefijo en negrita (ej: "Nota:"). Pasa `''` (string vacío) para suprimir el prefijo. */
111
111
  prefix?: string;
112
112
  /** Color de fondo */
113
113
  color?: Color;
@@ -119,6 +119,10 @@ export interface ArticleNoteElement extends BaseArticleElement {
119
119
  rounded?: boolean;
120
120
  /** Padding personalizado */
121
121
  padding?: string;
122
+ /** Renderiza `<strong>`/`<b>` inline en `text` via innerHTML. Default `false`. */
123
+ allowPartialBold?: boolean;
124
+ /** Procesa URLs y `[text](url)` en `text`. Default `false`. */
125
+ processLinks?: boolean;
122
126
  };
123
127
  }
124
128
  /**
@@ -72,7 +72,7 @@ export declare class ToolbarComponent implements OnInit {
72
72
  };
73
73
  showFlags?: boolean;
74
74
  color: import("@ionic/core").Color;
75
- size?: "default" | "small" | "large";
75
+ size?: "small" | "large" | "default";
76
76
  fill?: "default" | "clear" | "outline" | "solid";
77
77
  shape?: "round";
78
78
  expand?: "full" | "block";
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "2.0.740";
5
+ export declare const VERSION = "2.0.742";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.740",
3
+ "version": "2.0.742",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"