@things-factory/more-ui 4.0.0-y.0 → 4.0.5

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,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { css, html, LitElement } from 'lit-element'
2
2
 
3
3
  class MoreLet extends LitElement {
4
4
  static get properties() {
@@ -48,7 +48,7 @@ class MoreLet extends LitElement {
48
48
  [icon] {
49
49
  --mdc-icon-size: 1.2em;
50
50
  vertical-align: middle;
51
- color: #82d5e8;
51
+ color: var(--morelet-icon-color);
52
52
  }
53
53
  [title] {
54
54
  text-transform: capitalize;
@@ -60,18 +60,12 @@ class MoreLet extends LitElement {
60
60
  render() {
61
61
  return html`
62
62
  <div @click=${e => this._onTitleClick()} header>
63
- <span icon>
64
- ${this.morenda.icon ? this.morenda.icon : html``}
65
- </span>
63
+ <span icon> ${this.morenda.icon ? this.morenda.icon : html``} </span>
66
64
 
67
65
  <span title>${this.morenda.name}</span>
68
66
  </div>
69
67
 
70
- ${this.morenda.template
71
- ? html`
72
- <div id="morelet">${this.morenda.template}</div>
73
- `
74
- : html``}
68
+ ${this.morenda.template ? html` <div id="morelet">${this.morenda.template}</div> ` : html``}
75
69
  `
76
70
  }
77
71
 
@@ -1,5 +1,5 @@
1
1
  body {
2
- --more-panel-background-color: rgba(57, 78, 100, 0.9);
2
+ --more-panel-background-color: rgba(var(--secondary-color-rgb), 0.95);
3
3
  --more-panel-min-width: 200px;
4
4
 
5
5
  --morelet-min-width: 200px;
@@ -11,6 +11,7 @@ body {
11
11
  --morelet-padding: var(--padding-default) var(--padding-narrow) var(--padding-narrow) var(--padding-default);
12
12
  --morelet-color: var(--secondary-color);
13
13
  --morelet-font: normal 0.9em/1.4em var(--theme-font);
14
+ --morelet-icon-color: var(--main-section-background-color);
14
15
  }
15
16
 
16
17
  @media screen and (max-width: 460px) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/more-ui",
3
- "version": "4.0.0-y.0",
3
+ "version": "4.0.5",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,9 +24,9 @@
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.0-y.0",
28
- "@things-factory/layout-base": "^4.0.0-y.0",
29
- "@things-factory/more-base": "^4.0.0-y.0"
27
+ "@things-factory/apptool-base": "^4.0.5",
28
+ "@things-factory/layout-base": "^4.0.5",
29
+ "@things-factory/more-base": "^4.0.5"
30
30
  },
31
- "gitHead": "64ee0f6547f90b1386024b975efc3b31a5e381cb"
31
+ "gitHead": "b7b2976818dceab74a34903499d408eed5d45b04"
32
32
  }