valtech-components 2.0.605 → 2.0.607
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/templates/docs-page/docs-page.component.mjs +58 -26
- package/esm2022/lib/components/templates/docs-page/types.mjs +1 -1
- package/fesm2022/valtech-components.mjs +56 -25
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +1 -1
- package/lib/components/organisms/article/article.component.d.ts +1 -1
- package/lib/components/organisms/toolbar/toolbar.component.d.ts +1 -1
- package/lib/components/templates/docs-page/docs-page.component.d.ts +5 -1
- package/lib/components/templates/docs-page/types.d.ts +13 -0
- package/package.json +1 -1
|
@@ -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<"
|
|
46
|
+
propsColor: import("@angular/core").Signal<"success" | "warning" | "danger" | "medium" | "primary" | "secondary" | "tertiary" | "light" | "dark">;
|
|
47
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<RightsFooterComponent, never>;
|
|
48
48
|
static ɵcmp: i0.ɵɵComponentDeclaration<RightsFooterComponent, "val-rights-footer", never, { "props": { "alias": "props"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
49
49
|
}
|
|
@@ -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;
|
|
@@ -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";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { DocsBreadcrumbMetadata } from '../../molecules/docs-breadcrumb/types';
|
|
2
3
|
import { DocsNavLinksMetadata } from '../../molecules/docs-nav-links/types';
|
|
3
4
|
import { DocsTocMetadata } from '../../organisms/docs-toc/types';
|
|
4
5
|
import { DocsPageMetadata } from './types';
|
|
@@ -40,7 +41,9 @@ import * as i0 from "@angular/core";
|
|
|
40
41
|
*/
|
|
41
42
|
export declare class DocsPageComponent implements AfterViewInit, OnDestroy {
|
|
42
43
|
private elementRef;
|
|
43
|
-
|
|
44
|
+
private _props;
|
|
45
|
+
set props(value: DocsPageMetadata);
|
|
46
|
+
get props(): DocsPageMetadata;
|
|
44
47
|
private tocItems;
|
|
45
48
|
private observer;
|
|
46
49
|
ngAfterViewInit(): void;
|
|
@@ -49,6 +52,7 @@ export declare class DocsPageComponent implements AfterViewInit, OnDestroy {
|
|
|
49
52
|
tocProps: import("@angular/core").Signal<DocsTocMetadata>;
|
|
50
53
|
navLinksProps: import("@angular/core").Signal<DocsNavLinksMetadata>;
|
|
51
54
|
showNavLinks: import("@angular/core").Signal<boolean>;
|
|
55
|
+
breadcrumbProps: import("@angular/core").Signal<DocsBreadcrumbMetadata>;
|
|
52
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocsPageComponent, never>;
|
|
53
57
|
static ɵcmp: i0.ɵɵComponentDeclaration<DocsPageComponent, "val-docs-page", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
54
58
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DocsBreadcrumbItem } from '../../molecules/docs-breadcrumb/types';
|
|
1
2
|
/**
|
|
2
3
|
* Configuration for the docs-page component.
|
|
3
4
|
*/
|
|
@@ -6,6 +7,18 @@ export interface DocsPageMetadata {
|
|
|
6
7
|
* Page title displayed as h1.
|
|
7
8
|
*/
|
|
8
9
|
title: string;
|
|
10
|
+
/**
|
|
11
|
+
* Breadcrumb navigation items.
|
|
12
|
+
* When provided, shows breadcrumb above the title.
|
|
13
|
+
*/
|
|
14
|
+
breadcrumb?: {
|
|
15
|
+
/** Breadcrumb items (last item is current page) */
|
|
16
|
+
items: DocsBreadcrumbItem[];
|
|
17
|
+
/** Show home icon at start @default true */
|
|
18
|
+
showHome?: boolean;
|
|
19
|
+
/** Custom home route @default ['/'] */
|
|
20
|
+
homeRoute?: string[];
|
|
21
|
+
};
|
|
9
22
|
/**
|
|
10
23
|
* Lead paragraph below the title.
|
|
11
24
|
*/
|