@things-factory/notification 6.1.14 → 6.1.17

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.
@@ -85,6 +85,23 @@ export class NotificationItem extends LitElement {
85
85
  [close]:hover {
86
86
  opacity: 1;
87
87
  }
88
+ [detail]{
89
+ padding:var(--padding-narrow) var(--padding-default);
90
+ border-radius:var(--border-radius);
91
+ font-size:.85em
92
+ }
93
+ span.more{
94
+ margin-left: 16px;
95
+ float:right;
96
+ padding:0px var(--padding-narrow) 2px var(--padding-narrow);
97
+ border-radius:var(--border-radius);
98
+ font-size: 0.8em;
99
+ color:var(--theme-white-color);
100
+ --mdc-icon-size:14px;
101
+ }
102
+ span.more *{
103
+ vertical-align:middle
104
+ }
88
105
 
89
106
  :host([type='ERROR']) span {
90
107
  background-color: var(--status-danger-color);
@@ -92,6 +109,10 @@ export class NotificationItem extends LitElement {
92
109
  :host([type='ERROR']) {
93
110
  border-color: var(--status-danger-color);
94
111
  }
112
+ :host([type='ERROR']) [detail]{
113
+ border:1px solid rgba(241,53,63,.5);
114
+ background-color: rgba(241,53,63,.1);
115
+ }
95
116
  :host([type='WARN']) span {
96
117
  background-color: var(--status-warning-color);
97
118
  }
@@ -175,7 +196,7 @@ export class NotificationItem extends LitElement {
175
196
  this.decipherErrorCode()
176
197
  }}
177
198
  >
178
- more...
199
+ <span class='more'><mwc-icon>expand_circle_down</mwc-icon> more</span>
179
200
  </div>`
180
201
  : html``}
181
202
  ${detail ? html`<div detail>${detail.message}</div>` : html``}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/notification",
3
- "version": "6.1.14",
3
+ "version": "6.1.17",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -28,15 +28,15 @@
28
28
  "@material/mwc-formfield": "^0.27.0",
29
29
  "@material/mwc-switch": "^0.27.0",
30
30
  "@operato/layout": "^1.0.1",
31
- "@things-factory/auth-base": "^6.1.12",
32
- "@things-factory/codelingua": "^6.1.14",
33
- "@things-factory/i18n-base": "^6.1.12",
34
- "@things-factory/setting-base": "^6.1.12",
35
- "@things-factory/shell": "^6.1.12",
31
+ "@things-factory/auth-base": "^6.1.17",
32
+ "@things-factory/codelingua": "^6.1.17",
33
+ "@things-factory/i18n-base": "^6.1.17",
34
+ "@things-factory/setting-base": "^6.1.17",
35
+ "@things-factory/shell": "^6.1.17",
36
36
  "clipboard": "^2.0.6",
37
37
  "firebase": "^9.14.0",
38
38
  "firebase-admin": "^11.3.0",
39
39
  "google": "^2.1.0"
40
40
  },
41
- "gitHead": "d8e9d6b5481341e12cf5e300f1a562850c0ac9e1"
41
+ "gitHead": "acb9af0da0bef96c1936bd5ed4a22299dc8ef37c"
42
42
  }