lexgui 0.6.11 → 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/build/components/codeeditor.js +14 -11
- package/build/components/timeline.js +127 -71
- package/build/lexgui.css +6 -0
- package/build/lexgui.js +390 -60
- package/build/lexgui.min.css +1 -1
- package/build/lexgui.min.js +1 -1
- package/build/lexgui.module.js +414 -84
- package/build/lexgui.module.min.js +1 -1
- package/changelog.md +19 -1
- package/demo.js +9 -2
- package/examples/all_widgets.html +1 -0
- package/examples/timeline.html +1 -1
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -2,7 +2,25 @@
|
|
|
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
|
|
6
24
|
|
|
7
25
|
Widgets:
|
|
8
26
|
- Fixed Progress Widget value clamp and callback.
|
package/demo.js
CHANGED
|
@@ -112,7 +112,7 @@ const area = await LX.init( { layoutMode: "document", rootClass: "wrapper" } );
|
|
|
112
112
|
side: "left",
|
|
113
113
|
align: "start"
|
|
114
114
|
}
|
|
115
|
-
], { xoffset: 8, xradius: 12, xhorizontalOffset: 46, xverticalOffset: 46 });
|
|
115
|
+
], { xoffset: 8, xradius: 12, xhorizontalOffset: 46, xverticalOffset: 46, xuseModal: false });
|
|
116
116
|
|
|
117
117
|
exampleTour.begin();
|
|
118
118
|
} },
|
|
@@ -279,7 +279,14 @@ const area = await LX.init( { layoutMode: "document", rootClass: "wrapper" } );
|
|
|
279
279
|
panel.addVector3( "Position", [0.0, 0.0, 0.0] );
|
|
280
280
|
panel.addVector4( "Rotation", [0.0, 0.0, 0.0, 1.0] );
|
|
281
281
|
panel.addVector3( "Scale", [1.0, 1.0, 1.0] );
|
|
282
|
-
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
|
+
});
|
|
283
290
|
panel.merge();
|
|
284
291
|
}
|
|
285
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/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
|
|