@nebularstreams/libmui 2.0.15 → 2.0.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.
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.0.15",
4
+ "version": "2.0.17",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
7
7
  "scripts": {
package/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import m from "mithril";
2
2
 
3
- import {Button, ButtonNew, Icon, Empty, Selector} from "./widgets/Basic";
3
+ import {Button, ButtonNew, Icon, Empty, Selector, Notification} from "./widgets/Basic";
4
4
  import CardieWidget from "./widgets/CardieWidget";
5
5
  import ButtonChoiceWidget from "./widgets/ButtonChoiceWidget";
6
6
  import InputWidget from "./widgets/InputWidget";
@@ -26,6 +26,7 @@ import clone from "./util/util.clone"
26
26
  import Tokenizer from "./util/util.tokenizer"
27
27
  import {CoolContentTicker, CoolGenericTicker, GenericButtonTicker, optionsPrompt} from "./widgets/CoolContentTicker";
28
28
  import EmptyButton from "./widgets/EmptyButton";
29
+ import tainter from "./util/tainter"
29
30
 
30
31
  import {
31
32
  VideoUploadButton,
@@ -56,6 +57,7 @@ export {
56
57
  Icon,
57
58
  InputWidget,
58
59
  NoticeWidget,
60
+ Notification,
59
61
  OverflowMenu,
60
62
  OverflowUtils,
61
63
  PlusMinus,
@@ -97,5 +99,6 @@ export {
97
99
  defineWidget,
98
100
  processImage,
99
101
  popupMessage,
100
- startApp
102
+ startApp,
103
+ tainter
101
104
  }
@@ -23,9 +23,17 @@ function untaint() {
23
23
  m.redraw();
24
24
  }
25
25
 
26
+
26
27
  export {
27
28
  taint,
28
29
  taintRedraw,
29
30
  isTainted,
30
31
  untaint
31
32
  };
33
+
34
+ export default {
35
+ taint,
36
+ taintRedraw,
37
+ isTainted,
38
+ untaint
39
+ }