@proximus/lavender 2.0.0-alpha.244 → 2.0.0-alpha.245

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.
@@ -142776,13 +142776,6 @@
142776
142776
  "description": "",
142777
142777
  "name": "Header",
142778
142778
  "members": [
142779
- {
142780
- "kind": "field",
142781
- "name": "internals",
142782
- "type": {
142783
- "text": "ElementInternals"
142784
- }
142785
- },
142786
142779
  {
142787
142780
  "kind": "field",
142788
142781
  "name": "addEventListener",
@@ -144920,6 +144913,17 @@
144920
144913
  },
144921
144914
  "default": "false"
144922
144915
  },
144916
+ {
144917
+ "kind": "field",
144918
+ "name": "#titleObserver",
144919
+ "privacy": "private",
144920
+ "default": "new MutationObserver(() => this.#updateNavigationTitle())"
144921
+ },
144922
+ {
144923
+ "kind": "method",
144924
+ "name": "#updateNavigationTitle",
144925
+ "privacy": "private"
144926
+ },
144923
144927
  {
144924
144928
  "kind": "method",
144925
144929
  "name": "render",
@@ -146101,10 +146105,21 @@
146101
146105
  "static": true,
146102
146106
  "readonly": true
146103
146107
  },
146108
+ {
146109
+ "kind": "field",
146110
+ "name": "onTitleSlotChange",
146111
+ "privacy": "private"
146112
+ },
146104
146113
  {
146105
146114
  "kind": "method",
146106
146115
  "name": "setupForId"
146107
146116
  },
146117
+ {
146118
+ "kind": "field",
146119
+ "name": "$titleSlot",
146120
+ "privacy": "private",
146121
+ "readonly": true
146122
+ },
146108
146123
  {
146109
146124
  "kind": "field",
146110
146125
  "name": "$slotTitle",
@@ -146308,7 +146323,7 @@
146308
146323
  {
146309
146324
  "kind": "field",
146310
146325
  "name": "template",
146311
- "default": "`<dialog> <px-section> <px-container padding-inline=\"none\" padding-block=\"l\" padding-block--mobile=\"m\" padding-block--tablet=\"m\" background-color=\"none\" > <px-vstack> <px-hstack id=\"mobile-header\" gap=\"default\" align-items=\"center\"> <!-- Back button is only visible if the name is __lavender_mobile_menu --> <px-button id=\"back-button\" variant=\"tertiary\"> <px-icon name=\"chevron_left\" from=\"lavender\"></px-icon> ${this.backToMenuLabel || 'Back to menu'} </px-button> <px-spacer></px-spacer> <px-button-icon size=\"small\" variant=\"secondary\" id=\"mobile-close-button\" > <px-icon name=\"cross\" from=\"lavender\" aria-label=\"${this.closeButtonAriaLabel || 'Close'}\" title=\"${this.closeButtonAriaLabel || 'Close'}\"></px-icon> </px-button-icon> </px-hstack> <px-p variant=\"title-2xl\" color=\"neutral\" > <slot name=\"title\"></slot> </px-p> <px-button-icon size=\"small\" variant=\"secondary\" > <px-icon name=\"cross\" from=\"lavender\" aria-label=\"${this.closeButtonAriaLabel || 'Close'}\" title=\"${this.closeButtonAriaLabel || 'Close'}\"></px-icon> </px-button-icon> <px-stack direction--mobile=\"column\" direction--tablet=\"column\" direction=\"row\" gap=\"default\" gap--mobile=\"page-layout-between-sections\" gap--tablet=\"page-layout-between-sections\" wrap=\"wrap\" wrap--mobile=\"nowrap\" wrap--tablet=\"nowrap\" grow=\"1\" id=\"sections-container\" > <slot></slot> </px-stack> <px-mdd-closer></px-mdd-closer> </px-vstack> </px-container> <px-hstack id=\"footer\" justify-content=\"space-between\" align-items=\"center\" gap=\"s\" > <slot name=\"mdd-footer\"></slot> </px-hstack> </px-section> </dialog>`"
146326
+ "default": "`<dialog aria-labelledby=\"dialog-title\"> <px-section> <px-container padding-inline=\"none\" padding-block=\"l\" padding-block--mobile=\"m\" padding-block--tablet=\"m\" background-color=\"none\" > <px-vstack> <px-hstack id=\"mobile-header\" gap=\"default\" align-items=\"center\"> <!-- Back button is only visible if the name is __lavender_mobile_menu --> <px-button id=\"back-button\" variant=\"tertiary\"> <px-icon name=\"chevron_left\" from=\"lavender\"></px-icon> ${this.backToMenuLabel || 'Back to menu'} </px-button> <px-spacer></px-spacer> <px-button-icon size=\"small\" variant=\"secondary\" id=\"mobile-close-button\" > <px-icon name=\"cross\" from=\"lavender\" aria-label=\"${this.closeButtonAriaLabel || 'Close'}\" title=\"${this.closeButtonAriaLabel || 'Close'}\"></px-icon> </px-button-icon> </px-hstack> <px-p id=\"dialog-title\" variant=\"title-2xl\" color=\"neutral\" > <slot name=\"title\"></slot> </px-p> <px-button-icon size=\"small\" variant=\"secondary\" > <px-icon name=\"cross\" from=\"lavender\" aria-label=\"${this.closeButtonAriaLabel || 'Close'}\" title=\"${this.closeButtonAriaLabel || 'Close'}\"></px-icon> </px-button-icon> <px-stack direction--mobile=\"column\" direction--tablet=\"column\" direction=\"row\" gap=\"default\" gap--mobile=\"page-layout-between-sections\" gap--tablet=\"page-layout-between-sections\" wrap=\"wrap\" wrap--mobile=\"nowrap\" wrap--tablet=\"nowrap\" grow=\"1\" id=\"sections-container\" > <slot></slot> </px-stack> <px-mdd-closer></px-mdd-closer> </px-vstack> </px-container> <px-hstack id=\"footer\" justify-content=\"space-between\" align-items=\"center\" gap=\"s\" > <slot name=\"mdd-footer\"></slot> </px-hstack> </px-section> </dialog>`"
146312
146327
  },
146313
146328
  {
146314
146329
  "kind": "field",