@things-factory/lite-menu 4.0.10 → 4.0.11

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.
@@ -1,12 +1,13 @@
1
1
  import '@material/mwc-icon'
2
- import { store } from '@things-factory/shell'
3
- import { ScrollbarStyles } from '@things-factory/styles'
4
- import { css, html, LitElement } from 'lit-element'
5
- import { connect } from 'pwa-helpers'
6
-
7
2
  import './lite-menu-portrait'
8
3
  import './lite-menu-landscape'
9
4
 
5
+ import { LitElement, css, html } from 'lit-element'
6
+
7
+ import { ScrollbarStyles } from '@things-factory/styles'
8
+ import { connect } from 'pwa-helpers'
9
+ import { store } from '@things-factory/shell'
10
+
10
11
  export class LiteMenuPart extends connect(store)(LitElement) {
11
12
  static get properties() {
12
13
  return {
@@ -97,9 +98,9 @@ export class LiteMenuPart extends connect(store)(LitElement) {
97
98
 
98
99
  if (changes.has('orientation')) {
99
100
  if (this.orientation == 'portrait') {
100
- this.renderRoot.clearAttribute('landscape')
101
+ this.removeAttribute('landscape')
101
102
  } else {
102
- this.renderRoot.setAttribute('landscape', true)
103
+ this.setAttribute('landscape', true)
103
104
  }
104
105
  }
105
106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/lite-menu",
3
- "version": "4.0.10",
3
+ "version": "4.0.11",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,16 +24,16 @@
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
25
25
  },
26
26
  "dependencies": {
27
- "@things-factory/apptool-base": "^4.0.10",
28
- "@things-factory/auth-base": "^4.0.10",
29
- "@things-factory/board-service": "^4.0.10",
30
- "@things-factory/board-ui": "^4.0.10",
31
- "@things-factory/grist-ui": "^4.0.10",
32
- "@things-factory/i18n-base": "^4.0.10",
33
- "@things-factory/layout-base": "^4.0.10",
34
- "@things-factory/more-base": "^4.0.10",
35
- "@things-factory/setting-base": "^4.0.10",
36
- "@things-factory/utils": "^4.0.10"
27
+ "@things-factory/apptool-base": "^4.0.11",
28
+ "@things-factory/auth-base": "^4.0.11",
29
+ "@things-factory/board-service": "^4.0.11",
30
+ "@things-factory/board-ui": "^4.0.11",
31
+ "@things-factory/grist-ui": "^4.0.11",
32
+ "@things-factory/i18n-base": "^4.0.11",
33
+ "@things-factory/layout-base": "^4.0.11",
34
+ "@things-factory/more-base": "^4.0.11",
35
+ "@things-factory/setting-base": "^4.0.11",
36
+ "@things-factory/utils": "^4.0.11"
37
37
  },
38
- "gitHead": "1815d5f855c0e4613bd286e1ca9e7d8fd632605a"
38
+ "gitHead": "47745d8cdbe99f11d8d69bbcab3901c9771525a0"
39
39
  }