lexgui 0.5.9 → 0.5.11
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/lexgui.css +8 -10
- package/build/lexgui.js +97 -32
- package/build/lexgui.min.css +1 -1
- package/build/lexgui.min.js +1 -1
- package/build/lexgui.module.js +97 -32
- package/build/lexgui.module.min.js +1 -1
- package/changelog.md +18 -1
- package/demo.js +6 -4
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -2,7 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
## dev
|
|
4
4
|
|
|
5
|
-
## 0.5.
|
|
5
|
+
## 0.5.11 (master)
|
|
6
|
+
|
|
7
|
+
Widgets:
|
|
8
|
+
- Form: Add more custom options. Fixed issue using a String as Form field.
|
|
9
|
+
|
|
10
|
+
Added `LX.makeElement` to expand support for creating other HTML types.
|
|
11
|
+
Added more theme utils methods: `LX.getTheme` and `LX.switchTheme`.
|
|
12
|
+
Minor css fixes.
|
|
13
|
+
|
|
14
|
+
## 0.5.10
|
|
15
|
+
|
|
16
|
+
Fixed Date Calendar popover not opening.
|
|
17
|
+
Fixed creation of AssetView inner areas.
|
|
18
|
+
Fixed Sidebar content resize issue on creation.
|
|
19
|
+
ChangeLanguage CodeEditor commands are no longer shown if no opened editor.
|
|
20
|
+
Minor css fixes.
|
|
21
|
+
|
|
22
|
+
## 0.5.9
|
|
6
23
|
|
|
7
24
|
Widgets:
|
|
8
25
|
- Added new `DatePicker` Widget (also via `Panel.addDate` and using `LX.Calendar` class).
|
package/demo.js
CHANGED
|
@@ -20,6 +20,8 @@ const area = LX.init( { strictViewport: false, rootClass: "wrapper" } );
|
|
|
20
20
|
);
|
|
21
21
|
m.root.appendChild( commandButton.root );
|
|
22
22
|
|
|
23
|
+
const starterTheme = LX.getTheme();
|
|
24
|
+
|
|
23
25
|
m.addButtons( [
|
|
24
26
|
{
|
|
25
27
|
title: "Github",
|
|
@@ -29,10 +31,10 @@ const area = LX.init( { strictViewport: false, rootClass: "wrapper" } );
|
|
|
29
31
|
}
|
|
30
32
|
},
|
|
31
33
|
{
|
|
32
|
-
title: "
|
|
33
|
-
icon: "fa-solid fa-sun",
|
|
34
|
-
swap: "fa-solid fa-moon",
|
|
35
|
-
callback: (
|
|
34
|
+
title: "Switch Theme",
|
|
35
|
+
icon: starterTheme == "dark" ? "fa-solid fa-moon" : "fa-solid fa-sun",
|
|
36
|
+
swap: starterTheme == "dark" ? "fa-solid fa-sun" : "fa-solid fa-moon",
|
|
37
|
+
callback: (value, event) => { LX.switchTheme() }
|
|
36
38
|
}
|
|
37
39
|
], { float: "right" });
|
|
38
40
|
});
|