@fluid-topics/ft-page-layout 1.2.1 → 1.2.3
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/build/ft-page-layout.light.js +217 -202
- package/build/ft-page-layout.min.js +322 -307
- package/build/ftds-page-layout.d.ts +1 -1
- package/build/ftds-page-layout.js +3 -3
- package/build/ftds-page-layout.properties.d.ts +1 -1
- package/build/ftds-page-layout.styles.js +4 -2
- package/package.json +8 -8
|
@@ -5,7 +5,7 @@ import { FtLitElementWithI18n } from "@fluid-topics/ft-i18n";
|
|
|
5
5
|
export declare class FtdsPageLayout extends FtLitElementWithI18n implements FtdsPageLayoutProperties {
|
|
6
6
|
static elementDefinitions: ElementDefinitionsMap;
|
|
7
7
|
static styles: import("lit").CSSResult;
|
|
8
|
-
|
|
8
|
+
pageTitle: string;
|
|
9
9
|
breadcrumb?: FtdsPageLayoutBreadcrumbItem[];
|
|
10
10
|
subTitle?: string;
|
|
11
11
|
chipsContent?: FtdsPageLayoutChipContent[];
|
|
@@ -47,7 +47,7 @@ class FtdsPageLayout extends FtLitElementWithI18n {
|
|
|
47
47
|
${(this.breadcrumb ? this.renderBreadcrumb() : html `
|
|
48
48
|
<ft-typography class="ftds-page-layout--title"
|
|
49
49
|
variant="${FtTypographyVariants.title1}">
|
|
50
|
-
${this.
|
|
50
|
+
${this.pageTitle}
|
|
51
51
|
</ft-typography>`)}
|
|
52
52
|
${this.renderPopover()}
|
|
53
53
|
${this.renderChip()}
|
|
@@ -104,7 +104,7 @@ class FtdsPageLayout extends FtLitElementWithI18n {
|
|
|
104
104
|
<ft-typography class="ftds-page-layout--title"
|
|
105
105
|
aria-current="${ifDefined(this.breadcrumb ? "page" : undefined)}"
|
|
106
106
|
variant="${FtTypographyVariants.body2semibold}">
|
|
107
|
-
${this.
|
|
107
|
+
${this.pageTitle}
|
|
108
108
|
</ft-typography>
|
|
109
109
|
</li>
|
|
110
110
|
</ol>
|
|
@@ -142,7 +142,7 @@ FtdsPageLayout.elementDefinitions = {
|
|
|
142
142
|
FtdsPageLayout.styles = styles;
|
|
143
143
|
__decorate([
|
|
144
144
|
property()
|
|
145
|
-
], FtdsPageLayout.prototype, "
|
|
145
|
+
], FtdsPageLayout.prototype, "pageTitle", void 0);
|
|
146
146
|
__decorate([
|
|
147
147
|
property()
|
|
148
148
|
], FtdsPageLayout.prototype, "breadcrumb", void 0);
|
|
@@ -9,7 +9,7 @@ export interface FtdsPageLayoutBreadcrumbItem {
|
|
|
9
9
|
link?: string;
|
|
10
10
|
}
|
|
11
11
|
export interface FtdsPageLayoutProperties {
|
|
12
|
-
|
|
12
|
+
pageTitle: string;
|
|
13
13
|
breadcrumb?: FtdsPageLayoutBreadcrumbItem[];
|
|
14
14
|
subTitle?: string;
|
|
15
15
|
chipsContent?: FtdsPageLayoutChipContent[];
|
|
@@ -39,7 +39,6 @@ export const styles = css `
|
|
|
39
39
|
/* HEADER */
|
|
40
40
|
.ftds-page-layout--header {
|
|
41
41
|
display: flex;
|
|
42
|
-
text-align: center;
|
|
43
42
|
min-height: ${pageHeader.childMinHeight};
|
|
44
43
|
border-bottom: ${pageHeader.bottomBorderWidth} solid ${pageHeader.bottomBorderColor};
|
|
45
44
|
padding: ${pageHeader.parentTopPadding} ${pageHeader.parentHorizontalPadding} ${pageHeader.parentBottomPadding};
|
|
@@ -52,6 +51,10 @@ export const styles = css `
|
|
|
52
51
|
gap: ${pageHeader.parentVerticalGap}
|
|
53
52
|
}
|
|
54
53
|
|
|
54
|
+
.ftds-page-layout--header .ftds-page-layout--right-slot {
|
|
55
|
+
align-items: flex-start;
|
|
56
|
+
}
|
|
57
|
+
|
|
55
58
|
.ftds-page-layout--header.ftds-page-layout--child {
|
|
56
59
|
min-height: ${pageHeader.childMinHeight};
|
|
57
60
|
padding: ${pageHeader.childTopPadding} ${pageHeader.childHorizontalPadding} ${pageHeader.childBottomPadding};
|
|
@@ -123,7 +126,6 @@ export const styles = css `
|
|
|
123
126
|
/* FOOTER */
|
|
124
127
|
.ftds-page-layout--footer {
|
|
125
128
|
display: flex;
|
|
126
|
-
text-align: center;
|
|
127
129
|
min-height: ${pageFooter.minHeight};
|
|
128
130
|
border-top: ${pageFooter.topBorderWidth} solid ${pageFooter.topBorderColor};
|
|
129
131
|
padding: ${pageFooter.verticalPadding} ${pageFooter.horizontalPadding} ${pageFooter.verticalPadding} ${pageFooter.horizontalPadding}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-page-layout",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "A page layout component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -20,15 +20,15 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@fluid-topics/design-system-variables": "0.1.5",
|
|
23
|
-
"@fluid-topics/ft-chip": "1.2.
|
|
24
|
-
"@fluid-topics/ft-link": "1.2.
|
|
25
|
-
"@fluid-topics/ft-popover": "1.2.
|
|
26
|
-
"@fluid-topics/ft-typography": "1.2.
|
|
27
|
-
"@fluid-topics/ft-wc-utils": "1.2.
|
|
23
|
+
"@fluid-topics/ft-chip": "1.2.3",
|
|
24
|
+
"@fluid-topics/ft-link": "1.2.3",
|
|
25
|
+
"@fluid-topics/ft-popover": "1.2.3",
|
|
26
|
+
"@fluid-topics/ft-typography": "1.2.3",
|
|
27
|
+
"@fluid-topics/ft-wc-utils": "1.2.3",
|
|
28
28
|
"lit": "3.1.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@fluid-topics/ft-wc-test-utils": "1.2.
|
|
31
|
+
"@fluid-topics/ft-wc-test-utils": "1.2.3"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "31c1696257f82afca00cddf81033e8984f665c43"
|
|
34
34
|
}
|