valtech-components 2.0.738 → 2.0.740

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<"medium" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | "light" | "dark">;
46
+ propsColor: import("@angular/core").Signal<"success" | "danger" | "medium" | "primary" | "secondary" | "tertiary" | "warning" | "light" | "dark">;
47
47
  /**
48
48
  * Computed helper for withMargin prop in template.
49
49
  */
@@ -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?: "small" | "large" | "default";
93
+ size?: "default" | "small" | "large";
94
94
  fill?: "default" | "clear" | "outline" | "solid";
95
- type: "button" | "submit" | "reset";
95
+ type: "submit" | "button" | "reset";
96
96
  token?: string;
97
97
  ref?: any;
98
98
  handler?: (value: any) => any;
@@ -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?: "small" | "large" | "default";
75
+ size?: "default" | "small" | "large";
76
76
  fill?: "default" | "clear" | "outline" | "solid";
77
77
  shape?: "round";
78
78
  expand?: "full" | "block";
@@ -58,6 +58,12 @@ export declare class ThemeService {
58
58
  * Toggles a theme class on the document body.
59
59
  * @param name The theme name
60
60
  * @param shouldAdd Whether to add or remove the class
61
+ *
62
+ * Ionic 8 (`dark.class.css` palette) usa `.ion-palette-dark` en `<html>` para
63
+ * conmutar el tema dark; en versiones previas leía `body.dark`. Mantenemos
64
+ * el toggle sobre `body.{name}` por compat con código legacy, y además
65
+ * espejamos `ion-palette-dark` en `<html>` cuando `name === 'dark'` — esto
66
+ * es lo que las apps en Ionic 8 necesitan para que el palette aplique.
61
67
  */
62
68
  toggleTheme(name: string, shouldAdd: boolean): void;
63
69
  /**
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.738";
5
+ export declare const VERSION = "2.0.740";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.738",
3
+ "version": "2.0.740",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"