lexgui 0.7.2 → 0.7.3
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 +1461 -917
- package/build/extensions/videoeditor.js +17 -6
- package/build/lexgui.css +17 -34
- package/build/lexgui.js +3 -3
- package/build/lexgui.min.css +1 -1
- package/build/lexgui.min.js +1 -1
- package/build/lexgui.module.js +3 -3
- package/build/lexgui.module.min.js +1 -1
- package/changelog.md +12 -1
- package/examples/code-editor.html +5 -1
- package/examples/video-editor.html +2 -1
- package/examples/video-editor2.html +5 -4
- package/package.json +1 -1
package/build/lexgui.module.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
const LX = {
|
|
10
|
-
version: "0.7.
|
|
10
|
+
version: "0.7.3",
|
|
11
11
|
ready: false,
|
|
12
12
|
extensions: [], // Store extensions used
|
|
13
13
|
signals: {}, // Events and triggers
|
|
@@ -375,7 +375,7 @@ function _createCommandbar( root )
|
|
|
375
375
|
const instances = LX.CodeEditor.getInstances();
|
|
376
376
|
if( !instances.length || !instances[ 0 ].area.root.offsetHeight ) return;
|
|
377
377
|
|
|
378
|
-
const languages =
|
|
378
|
+
const languages = LX.CodeEditor.languages;
|
|
379
379
|
|
|
380
380
|
for( let l of Object.keys( languages ) )
|
|
381
381
|
{
|
|
@@ -1274,7 +1274,7 @@ class DropdownMenu {
|
|
|
1274
1274
|
}
|
|
1275
1275
|
else if( item.icon )
|
|
1276
1276
|
{
|
|
1277
|
-
const icon = LX.makeIcon( item.icon, { svgClass: disabled ? "fg-tertiary" : item.className } );
|
|
1277
|
+
const icon = LX.makeIcon( item.icon, { svgClass: disabled ? "fg-tertiary" : item.svgClass ?? item.className } );
|
|
1278
1278
|
menuItem.prepend( icon );
|
|
1279
1279
|
}
|
|
1280
1280
|
else if( item.checked == undefined && applyIconPadding ) // no checkbox, no icon, apply padding if there's checkbox or icon in other items
|