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.
- 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/services/firebase/messaging.service.mjs +8 -3
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +74 -55
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/molecules/notes-box/types.d.ts +10 -0
- package/lib/components/organisms/article/article.component.d.ts +1 -1
- package/lib/components/organisms/article/types.d.ts +4 -0
- package/lib/components/organisms/toolbar/toolbar.component.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/components/styles/overrides.scss +20 -0
|
@@ -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?: "
|
|
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?: "
|
|
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
package/package.json
CHANGED
|
@@ -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 {
|