valtech-components 2.0.743 → 2.0.745

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.
@@ -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
  }
@@ -90,7 +90,7 @@ 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
95
  type: "button" | "submit" | "reset";
96
96
  token?: string;
@@ -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
  /**
@@ -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";
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.743";
5
+ export declare const VERSION = "2.0.745";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.743",
3
+ "version": "2.0.745",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"
@@ -100,6 +100,26 @@ ion-toolbar {
100
100
 
101
101
  ion-input {
102
102
  margin-top: 0px;
103
+
104
+ /* Chrome/Safari aplican un overlay azulado/grey a inputs prerellenados (autofill)
105
+ * que rompe el theme. Forzamos colores que matchean al ion-input regular. */
106
+ input:-webkit-autofill,
107
+ input:-webkit-autofill:hover,
108
+ input:-webkit-autofill:focus,
109
+ input:-webkit-autofill:active {
110
+ -webkit-box-shadow: 0 0 0 1000px var(--ion-background-color, #fff) inset !important;
111
+ -webkit-text-fill-color: var(--ion-text-color, #000) !important;
112
+ caret-color: var(--ion-text-color, #000) !important;
113
+ transition: background-color 9999s ease-in-out 0s;
114
+ }
115
+ }
116
+
117
+ /* Dark mode autofill — usa step bg para integrarse con la paleta dark */
118
+ body.dark ion-input input:-webkit-autofill,
119
+ html.ion-palette-dark ion-input input:-webkit-autofill,
120
+ body[data-theme='dark'] ion-input input:-webkit-autofill {
121
+ -webkit-box-shadow: 0 0 0 1000px var(--ion-background-color, #121212) inset !important;
122
+ -webkit-text-fill-color: var(--ion-text-color, #fff) !important;
103
123
  }
104
124
 
105
125
  ion-select {