@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.
@@ -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
- title: string;
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.title}
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.title}
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, "title", void 0);
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
- title: string;
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.1",
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.1",
24
- "@fluid-topics/ft-link": "1.2.1",
25
- "@fluid-topics/ft-popover": "1.2.1",
26
- "@fluid-topics/ft-typography": "1.2.1",
27
- "@fluid-topics/ft-wc-utils": "1.2.1",
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.1"
31
+ "@fluid-topics/ft-wc-test-utils": "1.2.3"
32
32
  },
33
- "gitHead": "bbad4c991ddc3e9bbff3b1120c7e56bc0bd6c916"
33
+ "gitHead": "31c1696257f82afca00cddf81033e8984f665c43"
34
34
  }