lexgui 0.7.4 → 0.7.6
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/extensions/codeeditor.js +119 -27
- package/build/extensions/videoeditor.js +12 -1
- package/build/lexgui.css +24 -11
- package/build/lexgui.js +72 -23
- package/build/lexgui.min.css +1 -1
- package/build/lexgui.min.js +1 -1
- package/build/lexgui.module.js +72 -23
- package/build/lexgui.module.min.js +1 -1
- package/changelog.md +30 -1
- package/examples/code-editor.html +4 -0
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -2,7 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
## dev
|
|
4
4
|
|
|
5
|
-
## 0.7.
|
|
5
|
+
## 0.7.6 (master)
|
|
6
|
+
|
|
7
|
+
The last color scheme applied (dark|light) is now stored.
|
|
8
|
+
Added `LX.setSystemTheme()` to revert back auto color scheme mode.
|
|
9
|
+
Callbacks are now not skipped in Form Component, instead return validation errors `callback(value, errors, event)`.
|
|
10
|
+
Added support for `options.indexOffset (default -1 to append last)` on adding tabs to Tabs Area class.
|
|
11
|
+
|
|
12
|
+
Sidebar:
|
|
13
|
+
- Fixed checkbox change order in Checkbox entries.
|
|
14
|
+
- Added swap value to entry callback parameters (2nd).
|
|
15
|
+
|
|
16
|
+
CodeEditor:
|
|
17
|
+
- Added support to use different name for URL/Path loaded files.
|
|
18
|
+
- Added support to load initial files async using `options.filesAsync` list.
|
|
19
|
+
|
|
20
|
+
## 0.7.5
|
|
21
|
+
|
|
22
|
+
CodeEditor:
|
|
23
|
+
- Hotfixed issue not processing lines in some cases.
|
|
24
|
+
- Minor restyle tabs and added options for closing tabs.
|
|
25
|
+
- Support for `options.onCreateFile` callback to modify new file options.
|
|
26
|
+
- Replaced old context menus for new Dropdowns.
|
|
27
|
+
|
|
28
|
+
VideoEditor:
|
|
29
|
+
- Added callback functions when change start/end values.
|
|
30
|
+
|
|
31
|
+
Added `options.event` to Dropdown to offset position based on event position.
|
|
32
|
+
Added some more CSS classes.
|
|
33
|
+
|
|
34
|
+
## 0.7.4
|
|
6
35
|
|
|
7
36
|
Added `LX.toKebabCase`.
|
|
8
37
|
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
// disableEdition: true,
|
|
58
58
|
// skipInfo: true,
|
|
59
59
|
fileExplorer: fileExplorer,
|
|
60
|
+
explorerName: "EXPLORER",
|
|
60
61
|
// statusShowFontSizeZoom: false,
|
|
61
62
|
// skipTabs: true,
|
|
62
63
|
files: [
|
|
@@ -79,6 +80,9 @@
|
|
|
79
80
|
onFilesLoaded: ( instance, numFilesLoaded ) => {
|
|
80
81
|
console.log( `CodeEditor: ${ numFilesLoaded } files loaded!` );
|
|
81
82
|
instance.loadTab("js_sample.js");
|
|
83
|
+
},
|
|
84
|
+
xonCreateFile: ( instance ) => {
|
|
85
|
+
return { name: "new_shader.wgsl", language: "WGSL" }
|
|
82
86
|
}
|
|
83
87
|
});
|
|
84
88
|
|