lexgui 0.6.9 → 0.6.10
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/timeline.js +102 -73
- package/build/lexgui.css +6 -4
- package/build/lexgui.js +299 -218
- package/build/lexgui.min.css +1 -1
- package/build/lexgui.min.js +1 -1
- package/build/lexgui.module.js +321 -240
- package/build/lexgui.module.min.js +1 -1
- package/changelog.md +20 -1
- package/examples/editor.html +10 -5
- package/package.json +3 -2
package/changelog.md
CHANGED
|
@@ -2,7 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
## dev
|
|
4
4
|
|
|
5
|
-
## 0.6.
|
|
5
|
+
## 0.6.10 (master)
|
|
6
|
+
|
|
7
|
+
Timeline:
|
|
8
|
+
- Added support for cloning clips and tracks.
|
|
9
|
+
- Minor fixes.
|
|
10
|
+
|
|
11
|
+
Widgets:
|
|
12
|
+
- All `Button` widgets have now `setState` method (not only those with `swap` feature).
|
|
13
|
+
- Layers Widget allow `options.maxBits` to specify number of bit layers.
|
|
14
|
+
- If Button is selectable, the `selected` state is not sent to the callback.
|
|
15
|
+
- Fixed Color Picker not updating on change Hex text input.
|
|
16
|
+
- TabSections: Allow `item.selected` option. Add support for `select( tabName )`.
|
|
17
|
+
- Fixed Select Widget positioning when no space above&below.
|
|
18
|
+
|
|
19
|
+
New `AreaOverlayButtons` to improve management and support changing buttons state.
|
|
20
|
+
Fixed Commandbar error on checking String Menubar items.
|
|
21
|
+
Fixed Asset View custom title overflow.
|
|
22
|
+
Docs updated.
|
|
23
|
+
|
|
24
|
+
## 0.6.9
|
|
6
25
|
|
|
7
26
|
Timeline:
|
|
8
27
|
- `addKeyframes` now returns new indices.
|
package/examples/editor.html
CHANGED
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
199
|
name: "Help", submenu: [
|
|
200
|
-
{ name: "Search Help", icon: "Search", kbd: "F1", callback: () => { window.open("
|
|
200
|
+
{ name: "Search Help", icon: "Search", kbd: "F1", callback: () => { window.open("../docs/") } },
|
|
201
201
|
{ name: "Support LexGUI", icon: "Heart" },
|
|
202
202
|
]
|
|
203
203
|
},
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
{
|
|
226
226
|
icon: "RotateLeft",
|
|
227
227
|
callback: (value, event) => {
|
|
228
|
-
const playButton =
|
|
228
|
+
const playButton = menubar.getButton("Play");
|
|
229
229
|
playButton.swap();
|
|
230
230
|
}
|
|
231
231
|
},
|
|
@@ -418,7 +418,7 @@
|
|
|
418
418
|
// add on resize event to control canvas size
|
|
419
419
|
topTabs.area.onresize = resizeCanvas;
|
|
420
420
|
|
|
421
|
-
topTabs.area.addOverlayButtons([
|
|
421
|
+
const overlaybuttons = topTabs.area.addOverlayButtons([
|
|
422
422
|
[
|
|
423
423
|
{
|
|
424
424
|
name: "Select",
|
|
@@ -440,8 +440,9 @@
|
|
|
440
440
|
}
|
|
441
441
|
],
|
|
442
442
|
{
|
|
443
|
-
name: "
|
|
443
|
+
name: "Render Mode",
|
|
444
444
|
options: ["Lit", "Unlit", "Wireframe"],
|
|
445
|
+
value: "Lit",
|
|
445
446
|
callback: (value, event) => console.log(value)
|
|
446
447
|
},
|
|
447
448
|
[
|
|
@@ -452,7 +453,8 @@
|
|
|
452
453
|
selectable: true
|
|
453
454
|
},
|
|
454
455
|
{
|
|
455
|
-
name:
|
|
456
|
+
name: "Snap Values",
|
|
457
|
+
value: 10,
|
|
456
458
|
options: [10, 100, 1000],
|
|
457
459
|
callback: value => console.log(value)
|
|
458
460
|
}
|
|
@@ -727,6 +729,9 @@
|
|
|
727
729
|
panel.addLayers("Layers", 10, (value, event) => {
|
|
728
730
|
console.log(value);
|
|
729
731
|
});
|
|
732
|
+
panel.addLayers("Layers (8 bits)", 10, (value, event) => {
|
|
733
|
+
console.log(value);
|
|
734
|
+
}, { maxBits: 8 });
|
|
730
735
|
panel.addArray("An Item Array", ['GPTeam', 'Blat Panthers', 'Blat Bunny'], (value, event) => {
|
|
731
736
|
console.log(value);
|
|
732
737
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lexgui",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.10",
|
|
4
4
|
"description": "JS library to create web graphical user interfaces",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./build/lexgui.js",
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
"rollup-js": "rollup -c rollup.build.config.js",
|
|
40
40
|
"minify-css": "cleancss -o build/lexgui.min.css build/lexgui.css",
|
|
41
41
|
"minify": "npm run rollup-js && npm run minify-css",
|
|
42
|
-
"
|
|
42
|
+
"legacy": "python build-legacy.py",
|
|
43
|
+
"build": "npm run legacy && npm run minify"
|
|
43
44
|
},
|
|
44
45
|
"devDependencies": {
|
|
45
46
|
"@rollup/plugin-terser": "^0.4.4"
|