@progressive-development/pd-page 0.1.126 → 0.1.127
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/package.json +1 -1
- package/src/PdMenu.js +4 -2
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Progressive development page helper, teaser, menu, footer.",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"author": "PD Progressive Development",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.127",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "index.js",
|
|
9
9
|
"scripts": {
|
package/src/PdMenu.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import { LitElement, html, css } from 'lit';
|
|
8
|
+
import { updateWhenLocaleChanges } from '@lit/localize';
|
|
8
9
|
import { installMediaQueryWatcher } from 'pwa-helpers/media-query.js';
|
|
9
|
-
import { ICON_TOOGLE_ARROW as toggleArrow } from '@progressive-development/pd-icon/src/PdIcon.js';
|
|
10
|
-
import { ICON_BURGER_MENU as burgerIcon } from '@progressive-development/pd-icon/src/PdIcon.js';
|
|
10
|
+
import { ICON_TOOGLE_ARROW as toggleArrow, ICON_BURGER_MENU as burgerIcon } from '@progressive-development/pd-icon/src/PdIcon.js';
|
|
11
11
|
import '@progressive-development/pd-icon/pd-icon.js';
|
|
12
12
|
import { PDColorStyles, PDFontStyles } from '@progressive-development/pd-shared-styles';
|
|
13
13
|
|
|
@@ -288,6 +288,8 @@ export class PdMenu extends LitElement {
|
|
|
288
288
|
this._activeSecIndex = 0;
|
|
289
289
|
this._activeBurgerMenu = false;
|
|
290
290
|
this.headerSize = 0;
|
|
291
|
+
|
|
292
|
+
updateWhenLocaleChanges(this);
|
|
291
293
|
}
|
|
292
294
|
|
|
293
295
|
firstUpdated() {
|