lexgui 0.4.1 → 0.4.2
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/build/components/audio.js +9 -18
- package/build/lexgui.css +193 -215
- package/build/lexgui.js +938 -987
- package/build/lexgui.min.css +7 -1
- package/build/lexgui.min.js +1 -1
- package/build/lexgui.module.js +938 -989
- package/build/lexgui.module.min.js +1 -1
- package/changelog.md +13 -1
- package/demo.js +1 -4
- package/package.json +28 -22
package/changelog.md
CHANGED
|
@@ -2,7 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
## dev
|
|
4
4
|
|
|
5
|
-
## 0.4.
|
|
5
|
+
## 0.4.2 (master)
|
|
6
|
+
|
|
7
|
+
Widgets:
|
|
8
|
+
- RadioGroup: Add name parameter (1st).
|
|
9
|
+
- Add `options.hideName` for supported widgets: Don't use label but add `name` to allow registering.
|
|
10
|
+
|
|
11
|
+
Sidebar subentries are now collapsable (`true` by default).
|
|
12
|
+
Support `options.header` and `options.footer` for custom sidebar elements.
|
|
13
|
+
Added `extraClass` parameter for `LX.makeIcon`.
|
|
14
|
+
Fixed Menubar.getButton.
|
|
15
|
+
Fixed some CSS icon alignment issues.
|
|
16
|
+
|
|
17
|
+
## 0.4.1
|
|
6
18
|
|
|
7
19
|
Widgets:
|
|
8
20
|
- Text: Skip callback if no changes.
|
package/demo.js
CHANGED
|
@@ -13,10 +13,7 @@ let area = LX.init( { strictViewport: false } );
|
|
|
13
13
|
|
|
14
14
|
m.setButtonImage("lexgui.js", "images/icon.png", () => {window.open("https://jxarco.github.io/lexgui.js/")}, {float: "left"})
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
m.add( "Docs/Pepe", { icon: "fa-solid fa-magnifying-glass", short: "F1", callback: () => { window.open("./docs/") }});
|
|
18
|
-
m.add( "Docs/Luis/ac", { icon: "fa-solid fa-magnifying-glass", short: "F1", callback: () => { window.open("./docs/") }});
|
|
19
|
-
m.add( "Docs/Luis/vrr", { icon: "fa-solid fa-magnifying-glass", short: "F1", callback: () => { window.open("./docs/") }});
|
|
16
|
+
m.add( "Docs", { icon: "fa-solid fa-magnifying-glass", short: "F1", callback: () => { window.open("./docs/") }});
|
|
20
17
|
|
|
21
18
|
const panel = new LX.Panel();
|
|
22
19
|
panel.addButton(null, "Search command...", () => { LX.setCommandbarState( true ) }, { width: "256px", className: "right", buttonClass: "outline left" });
|
package/package.json
CHANGED
|
@@ -1,38 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lexgui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "JS library to create web graphical user interfaces",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./build/lexgui.js",
|
|
7
7
|
"module": "./build/lexgui.module.js",
|
|
8
8
|
"repository": {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/jxarco/lexgui.js"
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
"build",
|
|
14
|
+
"build/components",
|
|
15
|
+
"examples",
|
|
16
|
+
"LICENSE",
|
|
17
|
+
"package.json",
|
|
18
|
+
"changelog.md",
|
|
19
|
+
"README.md",
|
|
20
|
+
"demo.js"
|
|
21
21
|
],
|
|
22
22
|
"keywords": [
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
"lexgui",
|
|
24
|
+
"lexgui.js",
|
|
25
|
+
"javascript",
|
|
26
|
+
"editor",
|
|
27
|
+
"gui",
|
|
28
|
+
"interface",
|
|
29
|
+
"canvas",
|
|
30
|
+
"svg",
|
|
31
|
+
"html5"
|
|
32
32
|
],
|
|
33
33
|
"author": "jxarco",
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"bugs": {
|
|
36
|
-
|
|
36
|
+
"url": "https://github.com/jxarco/lexgui.js/issues"
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"minify-css": "cleancss -o build/lexgui.min.css build/lexgui.css",
|
|
40
|
+
"minify-js": "uglifyjs build/lexgui.module.js -o build/lexgui.module.min.js --compress --mangle --module && uglifyjs build/lexgui.js -o build/lexgui.min.js --compress --mangle --no-module",
|
|
41
|
+
"minify": "npm run minify-js && npm run minify-css",
|
|
42
|
+
"build": "python build-legacy.py && npm run minify"
|
|
37
43
|
}
|
|
38
|
-
|
|
44
|
+
}
|