valtech-components 2.0.885 → 2.0.887
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/atoms/page-waves/page-waves.component.mjs +83 -0
- package/esm2022/lib/components/atoms/page-waves/types.mjs +2 -0
- package/esm2022/lib/version.mjs +2 -2
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/valtech-components.mjs +80 -2
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/atoms/page-waves/page-waves.component.d.ts +11 -0
- package/lib/components/atoms/page-waves/types.d.ts +37 -0
- package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +1 -1
- package/lib/components/atoms/text/text.component.d.ts +1 -1
- package/lib/components/atoms/user-avatar/user-avatar.component.d.ts +1 -1
- package/lib/components/molecules/features-list/features-list.component.d.ts +1 -1
- package/lib/components/organisms/article/article.component.d.ts +2 -2
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SafeHtml } from '@angular/platform-browser';
|
|
2
|
+
import { PageWavesMetadata } from './types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PageWavesComponent {
|
|
5
|
+
private sanitizer;
|
|
6
|
+
readonly props: import("@angular/core").InputSignal<PageWavesMetadata>;
|
|
7
|
+
readonly propsHeight: import("@angular/core").Signal<string>;
|
|
8
|
+
readonly svgHtml: import("@angular/core").Signal<SafeHtml>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageWavesComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageWavesComponent, "val-page-waves", never, { "props": { "alias": "props"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuration for val-page-waves.
|
|
3
|
+
*
|
|
4
|
+
* @example Basic (brand defaults):
|
|
5
|
+
* ```html
|
|
6
|
+
* <val-page-waves />
|
|
7
|
+
* ```
|
|
8
|
+
*
|
|
9
|
+
* @example Custom palette + more waves:
|
|
10
|
+
* ```html
|
|
11
|
+
* <val-page-waves [props]="{ colors: ['#7026df','#0aa88c','#9b5de5','#c4a8f8'], wavelength: 7, amplitude: 32 }" />
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export interface PageWavesMetadata {
|
|
15
|
+
/**
|
|
16
|
+
* CSS colors per layer, rendered bottom → top (first = tallest/back layer).
|
|
17
|
+
* The number of items determines the number of wave layers.
|
|
18
|
+
* Default: 3-layer brand palette.
|
|
19
|
+
*/
|
|
20
|
+
colors?: string[];
|
|
21
|
+
/**
|
|
22
|
+
* CSS height of the wave section.
|
|
23
|
+
* Default: `'clamp(200px, 20vw + 100px, 320px)'`
|
|
24
|
+
*/
|
|
25
|
+
height?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Vertical amplitude of each wave crest/trough in SVG units (viewBox is 1440×320).
|
|
28
|
+
* Higher = more dramatic undulation. Default: `28`.
|
|
29
|
+
*/
|
|
30
|
+
amplitude?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Number of wave crests per layer.
|
|
33
|
+
* Layers automatically offset by 1 for visual variety.
|
|
34
|
+
* Default: `5`.
|
|
35
|
+
*/
|
|
36
|
+
wavelength?: number;
|
|
37
|
+
}
|
|
@@ -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" | "
|
|
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
|
*/
|
|
@@ -11,7 +11,7 @@ export declare class TextComponent {
|
|
|
11
11
|
*/
|
|
12
12
|
displayContent: import("@angular/core").Signal<string>;
|
|
13
13
|
propsColor: import("@angular/core").Signal<import("@ionic/core").Color>;
|
|
14
|
-
propsSize: import("@angular/core").Signal<"
|
|
14
|
+
propsSize: import("@angular/core").Signal<"small" | "medium" | "large" | "xlarge">;
|
|
15
15
|
propsBold: import("@angular/core").Signal<boolean>;
|
|
16
16
|
propsProcessLinks: import("@angular/core").Signal<boolean>;
|
|
17
17
|
propsAllowPartialBold: import("@angular/core").Signal<boolean>;
|
|
@@ -38,7 +38,7 @@ export declare class UserAvatarComponent {
|
|
|
38
38
|
readonly imageUrl: import("@angular/core").Signal<string>;
|
|
39
39
|
/** Iniciales — 1-2 chars derivados de name (preferred) o email prefix. */
|
|
40
40
|
readonly initials: import("@angular/core").Signal<string>;
|
|
41
|
-
readonly sizeClass: import("@angular/core").Signal<"
|
|
41
|
+
readonly sizeClass: import("@angular/core").Signal<"small" | "medium" | "large" | "xlarge" | "xsmall">;
|
|
42
42
|
readonly shapeClass: import("@angular/core").Signal<"circle" | "square">;
|
|
43
43
|
/** Background — explicito o derivado deterministicamente del user. */
|
|
44
44
|
readonly bgColor: import("@angular/core").Signal<string>;
|
|
@@ -48,7 +48,7 @@ export declare class FeaturesListComponent {
|
|
|
48
48
|
iconColor: string;
|
|
49
49
|
iconSize: number;
|
|
50
50
|
mode: "horizontal" | "vertical";
|
|
51
|
-
gap: "
|
|
51
|
+
gap: "small" | "medium" | "large";
|
|
52
52
|
alignment: "center" | "start";
|
|
53
53
|
}>;
|
|
54
54
|
/** Resolved icon color (handles Ionic colors and CSS colors) */
|
|
@@ -45,7 +45,7 @@ export declare class ArticleComponent implements OnInit {
|
|
|
45
45
|
getVideoElement(element: ArticleElement): ArticleVideoElement;
|
|
46
46
|
getCustomElement(element: ArticleElement): ArticleCustomElement;
|
|
47
47
|
getQuoteTextProps(element: ArticleElement): {
|
|
48
|
-
size: "
|
|
48
|
+
size: "small" | "medium" | "large" | "xlarge";
|
|
49
49
|
color: import("@ionic/core").Color;
|
|
50
50
|
content?: string;
|
|
51
51
|
bold: boolean;
|
|
@@ -61,7 +61,7 @@ export declare class ArticleComponent implements OnInit {
|
|
|
61
61
|
showQuoteMark?: boolean;
|
|
62
62
|
};
|
|
63
63
|
getHighlightTextProps(element: ArticleElement): {
|
|
64
|
-
size: "
|
|
64
|
+
size: "small" | "medium" | "large" | "xlarge";
|
|
65
65
|
color: import("@ionic/core").Color;
|
|
66
66
|
content?: string;
|
|
67
67
|
bold: boolean;
|
package/lib/version.d.ts
CHANGED
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -44,6 +44,8 @@ export * from './lib/components/atoms/rights-footer/types';
|
|
|
44
44
|
export * from './lib/components/atoms/pattern/pattern.component';
|
|
45
45
|
export * from './lib/components/atoms/pattern/types';
|
|
46
46
|
export * from './lib/components/atoms/pattern/motifs';
|
|
47
|
+
export * from './lib/components/atoms/page-waves/page-waves.component';
|
|
48
|
+
export * from './lib/components/atoms/page-waves/types';
|
|
47
49
|
export * from './lib/components/atoms/glass/glass.component';
|
|
48
50
|
export { GlassMetadata } from './lib/components/atoms/glass/types';
|
|
49
51
|
export * from './lib/components/atoms/user-avatar/user-avatar.component';
|