lexgui 0.7.6 → 0.7.8

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/changelog.md CHANGED
@@ -2,7 +2,50 @@
2
2
 
3
3
  ## dev
4
4
 
5
- ## 0.7.6 (master)
5
+ ## 0.7.8 (master)
6
+
7
+ Renamed AssetView "List" view to "Compact". Added better "List" view option.
8
+ Fixed undesired scroll in AssetView.
9
+ Support for Dropdown RadioGroup item option `closeOnClick` (default true).
10
+ Minor fixes Dropdown RadioGroup.
11
+
12
+ CodeEditor:
13
+ - Added support for `options.onSelectTab` function to call when selecting tabs.
14
+ - Added close button to search line box.
15
+ - Added `CodeEditor.clear` to clear panel signals.
16
+ - Minor fixes.
17
+
18
+ Timeline:
19
+ - Add `Timeline.clear()` function.
20
+
21
+ ## 0.7.7
22
+
23
+ Fixed RangeInput double-slider issue where the min slider could go past the max slider.
24
+ Fixed legacy ContextMenu reposition bug.
25
+ Fixed contents not being displayed correctly in AssetView.
26
+
27
+ CodeEditor:
28
+ - Passing `indexOffset` in onCreateFile callback is now supported.
29
+ - Added support for:
30
+ - `options.allowClosingTabs` and `options.allowLoadingFiles`.
31
+ - `options.onCtrlSpace` and `options.onCreateStatusPanel`.
32
+ - `options.customSuggestions` list for autocomplete.
33
+ - `options.defaultTab` to decide wheter add default tab at initialization.
34
+ - `options.newTabOptions` array to use a custom Dropdown on click "New tab +" button.
35
+ - `options.onNewTab` function to skip default action on click "New tab +" button.
36
+ - `options.onContextMenu` function to add custom actions on opening CM at any content.
37
+ - Set new args for: `options.onFilesLoaded( editorInstance, loadedTabs, numFilesLoaded )`.
38
+ - Delete word until cursor position is now Ctrl+Backspace instead of Shift+Backspace.
39
+ - `CodeEditor.addTab` now supports passing `options.codeLines` to start with some content.
40
+ - Fixed some comment lines issues. Added Comment block using Ctrl+K+B.
41
+ - Fixed horizontal scrolling in mobile devices.
42
+ - Fixed "End" action on Apple devices.
43
+ - Docs updated.
44
+
45
+ Timeline:
46
+ - Added setScroll function.
47
+
48
+ ## 0.7.6
6
49
 
7
50
  The last color scheme applied (dark|light) is now stored.
8
51
  Added `LX.setSystemTheme()` to revert back auto color scheme mode.
@@ -115,7 +115,7 @@
115
115
  {
116
116
  id: "german.png",
117
117
  type: "image",
118
- src: "https://static.vecteezy.com/system/resources/previews/017/420/504/original/portrait-of-a-dog-png.png"
118
+ path: "https://static.vecteezy.com/system/resources/previews/017/420/504/original/portrait-of-a-dog-png.png"
119
119
  },
120
120
  {
121
121
  id: "unreal",
@@ -77,7 +77,7 @@
77
77
  "../changelog.md",
78
78
  "../index.html",
79
79
  ],
80
- onFilesLoaded: ( instance, numFilesLoaded ) => {
80
+ onFilesLoaded: ( instance, loadedTabs, numFilesLoaded ) => {
81
81
  console.log( `CodeEditor: ${ numFilesLoaded } files loaded!` );
82
82
  instance.loadTab("js_sample.js");
83
83
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lexgui",
3
- "version": "0.7.6",
3
+ "version": "0.7.8",
4
4
  "description": "JS library to create web graphical user interfaces",
5
5
  "type": "module",
6
6
  "main": "./build/lexgui.js",