lexgui 0.6.10 → 0.6.12
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/README.md +3 -3
- package/build/components/codeeditor.js +14 -11
- package/build/components/docmaker.js +2 -2
- package/build/components/timeline.js +127 -71
- package/build/lexgui-docs.css +0 -2
- package/build/lexgui.css +39 -0
- package/build/lexgui.js +710 -80
- package/build/lexgui.min.css +1 -1
- package/build/lexgui.min.js +1 -1
- package/build/lexgui.module.js +732 -102
- package/build/lexgui.module.min.js +1 -1
- package/changelog.md +32 -1
- package/demo.js +35 -1
- package/examples/all_widgets.html +1 -0
- package/examples/editor.html +1 -1
- package/examples/timeline.html +1 -1
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -2,7 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
## dev
|
|
4
4
|
|
|
5
|
-
## 0.6.
|
|
5
|
+
## 0.6.12 (master)
|
|
6
|
+
|
|
7
|
+
Widgets:
|
|
8
|
+
- Button Widget now supports `options.mustConfirm` to confirm the trigger with custom options.
|
|
9
|
+
- Added support for LX.CalendarRange in DatePicker widget.
|
|
10
|
+
|
|
11
|
+
Timeline:
|
|
12
|
+
- Clips now have the active property to enable/disable the clip (only visuals).
|
|
13
|
+
- Clips now have the read-only attribute trackIdx.
|
|
14
|
+
- All "unselect" attribute have been renamed to "deselect".
|
|
15
|
+
- Keyframes/Clips Timelines moved to Timeline subitems in docs.
|
|
16
|
+
|
|
17
|
+
Previous Tour masks are now removed. Fixed Tour on resize window.
|
|
18
|
+
Added new `LX.PopConfirm`.
|
|
19
|
+
Fixed PlainText <> symbols in CodeEditor.
|
|
20
|
+
Fixed Calendar `options.fromToday` not including today's date.
|
|
21
|
+
Docs updated.
|
|
22
|
+
|
|
23
|
+
## 0.6.11
|
|
24
|
+
|
|
25
|
+
Widgets:
|
|
26
|
+
- Fixed Progress Widget value clamp and callback.
|
|
27
|
+
- Fixed Form data entries initial value if not an Object. Added support for Form `entryData.label`.
|
|
28
|
+
- Fixed Vector reset issue getting old values after reset.
|
|
29
|
+
|
|
30
|
+
Popover are now allowed to be created without a trigger element using `options.reference`.
|
|
31
|
+
Added support for DropdownMenu and Popover `options.sideOffset` and `options.alignOffset`.
|
|
32
|
+
Added support for new `LX.Tour` Component to guide users through an app.
|
|
33
|
+
Fixed light-dark themes in docs css.
|
|
34
|
+
Docs updated.
|
|
35
|
+
|
|
36
|
+
## 0.6.10
|
|
6
37
|
|
|
7
38
|
Timeline:
|
|
8
39
|
- Added support for cloning clips and tracks.
|
package/demo.js
CHANGED
|
@@ -89,6 +89,33 @@ const area = await LX.init( { layoutMode: "document", rootClass: "wrapper" } );
|
|
|
89
89
|
] },
|
|
90
90
|
{ name: "Help", submenu: [
|
|
91
91
|
{ name: "Search Help", icon: "Search", kbd: "F1" },
|
|
92
|
+
{ name: "Start Tour", icon: "CircleHelp", callback: () => {
|
|
93
|
+
const exampleTour = new LX.Tour([
|
|
94
|
+
{
|
|
95
|
+
title: "Welcome to LexGUI.js",
|
|
96
|
+
content: "This is the main canvas where you can draw your application.",
|
|
97
|
+
reference: canvas,
|
|
98
|
+
side: "top",
|
|
99
|
+
align: "center"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
title: "Menubar",
|
|
103
|
+
content: "This menubar contains all the main actions and settings for your application.",
|
|
104
|
+
reference: menubar.root,
|
|
105
|
+
side: "bottom",
|
|
106
|
+
align: "center"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
title: "Side Panel",
|
|
110
|
+
content: "This panel contains various widgets and settings for your application.",
|
|
111
|
+
reference: sidePanel.root,
|
|
112
|
+
side: "left",
|
|
113
|
+
align: "start"
|
|
114
|
+
}
|
|
115
|
+
], { xoffset: 8, xradius: 12, xhorizontalOffset: 46, xverticalOffset: 46, xuseModal: false });
|
|
116
|
+
|
|
117
|
+
exampleTour.begin();
|
|
118
|
+
} },
|
|
92
119
|
{ name: "Support LexGUI", icon: "Heart" },
|
|
93
120
|
] },
|
|
94
121
|
], { sticky: false });
|
|
@@ -252,7 +279,14 @@ const area = await LX.init( { layoutMode: "document", rootClass: "wrapper" } );
|
|
|
252
279
|
panel.addVector3( "Position", [0.0, 0.0, 0.0] );
|
|
253
280
|
panel.addVector4( "Rotation", [0.0, 0.0, 0.0, 1.0] );
|
|
254
281
|
panel.addVector3( "Scale", [1.0, 1.0, 1.0] );
|
|
255
|
-
panel.addButton(null, "Export",
|
|
282
|
+
panel.addButton(null, "Export", () => { console.log("Exported!") }, { buttonClass: "contrast", xmustConfirm: true,
|
|
283
|
+
// confirmSide: "left",
|
|
284
|
+
// confirmAlign: "start",
|
|
285
|
+
// confirmText: "Yeah",
|
|
286
|
+
// confirmCancelText: "Nope",
|
|
287
|
+
// confirmTitle: "Confirm action",
|
|
288
|
+
// confirmContent: "Are your sure??"
|
|
289
|
+
});
|
|
256
290
|
panel.merge();
|
|
257
291
|
}
|
|
258
292
|
}
|
|
@@ -272,6 +272,7 @@
|
|
|
272
272
|
{
|
|
273
273
|
panelC.branch("Date Picker", { closed: closedDefault });
|
|
274
274
|
panelC.addDate("Using Default Date", "15/04/2025");
|
|
275
|
+
panelC.addDate("Range Date", ["15/04/2025", "19/04/2025"]);
|
|
275
276
|
panelC.addDate("No Default Date", null);
|
|
276
277
|
panelC.addDate("Using Today's Date", null, null, { today: true });
|
|
277
278
|
panelC.addDate("Allow Until Today", null, null, { untilToday: true });
|
package/examples/editor.html
CHANGED
|
@@ -1073,7 +1073,7 @@
|
|
|
1073
1073
|
|
|
1074
1074
|
p.attach(assetView);
|
|
1075
1075
|
let assetData = [];
|
|
1076
|
-
const values = ['brow_lowerer.png', 'godot_pixelart.png', '
|
|
1076
|
+
const values = ['brow_lowerer.png', 'godot_pixelart.png', 'realizer_signon.png'];
|
|
1077
1077
|
|
|
1078
1078
|
for (let i = 0; i < values.length; i++) {
|
|
1079
1079
|
let data = {
|
package/examples/timeline.html
CHANGED
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
},
|
|
214
214
|
onCreateAfterTopBar: (panel) => {
|
|
215
215
|
panel.addButton("autoKeyEnabled", "autoKeyEnable", null, { icon: 'WandSparkles', hideName: true });
|
|
216
|
-
panel.addButton("
|
|
216
|
+
panel.addButton("deselectAll", "deselectAll", (value, event) => { kfTimeline.deselectAllKeyFrames();}, { icon: 'X', hideName: true, callback: (value, event) => { kfTimeline.deselectAllKeyFrames();} });
|
|
217
217
|
}
|
|
218
218
|
});
|
|
219
219
|
|