@nordhealth/components 3.3.0 → 3.4.0-alpha.0

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.
@@ -42,6 +42,11 @@ export default class Layout extends LitElement {
42
42
  * Defaults to `true` for wide viewports, and `false` otherwise.
43
43
  */
44
44
  navOpen: boolean;
45
+ /**
46
+ * Controls whether the navigation's open/closed state is persisted across page loads.
47
+ * This is useful for multi-page apps, where clicks on links trigger a full page load.
48
+ */
49
+ persistNavState: boolean;
45
50
  /**
46
51
  * Controls the padding of the default main section slot. When set to “none”,
47
52
  * the nav and header slots will still have padding.
@@ -57,6 +62,7 @@ export default class Layout extends LitElement {
57
62
  */
58
63
  get isNarrow(): boolean;
59
64
  connectedCallback(): void;
65
+ willUpdate(): void;
60
66
  render(): import("lit-html").TemplateResult<1>;
61
67
  private renderNavToggle;
62
68
  private renderNavCollapse;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nordhealth/components",
3
- "version": "3.3.0",
3
+ "version": "3.4.0-alpha.0",
4
4
  "description": "This package includes Nord Design System Web Components",
5
5
  "author": "Nordhealth <support@nordhealth.design>",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -184,5 +184,5 @@
184
184
  }
185
185
  ]
186
186
  },
187
- "gitHead": "b5b0f037804a1098efa9b4f02c5ed4b1b103008f"
187
+ "gitHead": "ffa46cf30f431155edc138b0f1cdafd1fc0fbe25"
188
188
  }