@nebularstreams/libmui 2.5.11 → 2.5.13

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nebularstreams/libmui",
3
3
  "description": "Micro UI based on Mithril",
4
- "version": "2.5.11",
4
+ "version": "2.5.13",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
7
7
  "scripts": {
@@ -5,7 +5,10 @@
5
5
  position: relative;
6
6
  color: var(--text-lo);
7
7
  font-variant: all-small-caps;
8
+ background: transparent;
9
+ border: none;
8
10
  }
11
+
9
12
  #modal-container button:active {
10
13
  color: var(--accent);
11
14
  }
@@ -115,11 +118,6 @@
115
118
  display: none;
116
119
  }
117
120
 
118
- #modal-container button {
119
- background: transparent;
120
- border: none;
121
- color: var(--text);
122
- }
123
121
 
124
122
  #modal-container .container {
125
123
  text-align: right;
@@ -874,7 +874,7 @@ const
874
874
  removeIcon: metaDef.removeIcon,
875
875
  nodelete: metaDef.nodelete,
876
876
  onchange: (value, event) => {
877
- if (event.shiftKey) {
877
+ if (event?.shiftKey) {
878
878
  if (metaDef.shiftPress) {
879
879
  metaDef.shiftPress(targetParameters, auxParameters);
880
880
  }