lexgui 0.5.4 → 0.5.5
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 +20 -17
- package/build/lexgui.css +32 -49
- package/build/lexgui.js +296 -92
- package/build/lexgui.min.css +1 -1
- package/build/lexgui.min.js +1 -1
- package/build/lexgui.module.js +296 -92
- package/build/lexgui.module.min.js +1 -1
- package/build/utilities.css +30 -0
- package/changelog.md +21 -1
- package/demo.js +16 -8
- package/package.json +1 -1
package/build/utilities.css
CHANGED
|
@@ -153,6 +153,30 @@
|
|
|
153
153
|
.mr-7 { margin-right: 1.75rem }
|
|
154
154
|
.mr-8 { margin-right: 2rem }
|
|
155
155
|
|
|
156
|
+
.mx-0 { margin-left: 0; margin-right: 0 }
|
|
157
|
+
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem }
|
|
158
|
+
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem }
|
|
159
|
+
.mx-3 { margin-left: 0.75rem; margin-right: 0.75rem }
|
|
160
|
+
.mx-4 { margin-left: 1rem; margin-right: 1rem }
|
|
161
|
+
.mx-5 { margin-left: 1.25rem; margin-right: 1.25rem }
|
|
162
|
+
.mx-6 { margin-left: 1.5rem; margin-right: 1.5rem }
|
|
163
|
+
.mx-7 { margin-left: 1.75rem; margin-right: 1.75rem }
|
|
164
|
+
.mx-8 { margin-left: 2rem; margin-right: 2rem }
|
|
165
|
+
.mx-10 { margin-left: 2.5rem; margin-right: 2.5rem }
|
|
166
|
+
.mx-12 { margin-left: 3rem; margin-right: 3rem }
|
|
167
|
+
|
|
168
|
+
.my-0 { margin-top: 0; margin-bottom: 0 }
|
|
169
|
+
.my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem }
|
|
170
|
+
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem }
|
|
171
|
+
.my-3 { margin-top: 0.75rem; margin-bottom: 0.75rem }
|
|
172
|
+
.my-4 { margin-top: 1rem; margin-bottom: 1rem }
|
|
173
|
+
.my-5 { margin-top: 1.25rem; margin-bottom: 1.25rem }
|
|
174
|
+
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem }
|
|
175
|
+
.my-7 { margin-top: 1.75rem; margin-bottom: 1.75rem }
|
|
176
|
+
.my-8 { margin-top: 2rem; margin-bottom: 2rem }
|
|
177
|
+
.my-10 { margin-top: 2.5rem; margin-bottom: 2.5rem }
|
|
178
|
+
.my-12 { margin-top: 3rem; margin-bottom: 3rem }
|
|
179
|
+
|
|
156
180
|
.p-0 { padding: 0 }
|
|
157
181
|
.p-1 { padding: 0.25rem }
|
|
158
182
|
.p-2 { padding: 0.5rem }
|
|
@@ -255,6 +279,11 @@
|
|
|
255
279
|
.h-full { height: 100% }
|
|
256
280
|
.h-screen { height: 100vh }
|
|
257
281
|
|
|
282
|
+
.resize-none { resize: none }
|
|
283
|
+
|
|
284
|
+
.size-fixed { field-sizing: fixed }
|
|
285
|
+
.size-content { field-sizing: content }
|
|
286
|
+
|
|
258
287
|
/* Positioning */
|
|
259
288
|
|
|
260
289
|
.relative { position: relative }
|
|
@@ -276,6 +305,7 @@
|
|
|
276
305
|
/* Borders / Radius / Shadow */
|
|
277
306
|
|
|
278
307
|
.border { border: 1px solid var(--global-color-tertiary) }
|
|
308
|
+
.border-colored { border: 1px solid currentColor }
|
|
279
309
|
|
|
280
310
|
.border-top { border-top: 1px solid var(--global-color-tertiary) }
|
|
281
311
|
.border-bottom { border-bottom: 1px solid var(--global-color-tertiary) }
|
package/changelog.md
CHANGED
|
@@ -2,7 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
## dev
|
|
4
4
|
|
|
5
|
-
## 0.5.
|
|
5
|
+
## 0.5.5 (master)
|
|
6
|
+
|
|
7
|
+
Table Widget:
|
|
8
|
+
- Added support `options.filterValue`..
|
|
9
|
+
- Fixed filtering when row data contains HTML tags.
|
|
10
|
+
|
|
11
|
+
Other Widgets:
|
|
12
|
+
- Support for TextInput `options.fit`.
|
|
13
|
+
- Select Widget box alignment using custom overflow container (default is closer Area).
|
|
14
|
+
- `options.overflowContainer`, `options.overflowContainerX`, `options.overflowContainerY`
|
|
15
|
+
|
|
16
|
+
Added Area Tabs option `allowDelete`, `false` by default.
|
|
17
|
+
Fixed some minor CodeEditor issues.
|
|
18
|
+
Added `LX.stripHTML(html)` to get clean text from HTML string.
|
|
19
|
+
Fixed all "popup" menus position in scrolled window.
|
|
20
|
+
Added support for options `side`, `active` and `offset` in `LX.asTooltip(trigger, content, options)`.
|
|
21
|
+
Allowed users to register extra icons in LX.ICONS using `LX.registerIcon`;
|
|
22
|
+
Icons and Customization docs updated.
|
|
23
|
+
Minor CSS improvements. Added more class utilities.
|
|
24
|
+
|
|
25
|
+
## 0.5.4
|
|
6
26
|
|
|
7
27
|
Widgets:
|
|
8
28
|
- Added support for disabling resize in TextArea Widget `options.resize: false`.
|
package/demo.js
CHANGED
|
@@ -64,7 +64,8 @@ const area = LX.init( { strictViewport: false, rootClass: "wrapper" } );
|
|
|
64
64
|
m.add( "Scene/New Scene", () => { console.log("New scene created!") });
|
|
65
65
|
m.add( "Scene/Open Scene", { icon: "fa-solid fa-folder-open", short: "S" } );
|
|
66
66
|
m.add( "Scene/Open Recent/hello.scene" );
|
|
67
|
-
m.add( "Scene/Open Recent/goodbye.scene" );
|
|
67
|
+
m.add( "Scene/Open Recent/Old/goodbye.scene" );
|
|
68
|
+
m.add( "Scene/Open Recent/Old/salute.scene" );
|
|
68
69
|
m.add( "Project/Project Settings", { disabled: true } );
|
|
69
70
|
m.add( "Project/" );
|
|
70
71
|
m.add( "Project/Export", { icon: "fa-solid fa-download" });
|
|
@@ -250,7 +251,6 @@ const area = LX.init( { strictViewport: false, rootClass: "wrapper" } );
|
|
|
250
251
|
m.add( "Shopping ", { icon: "shopping-cart" } );
|
|
251
252
|
m.add( "Promotions", { icon: "flag", content: LX.badge("21", badgeClass, { asElement: true }) } );
|
|
252
253
|
}, {
|
|
253
|
-
// collapseToIcons: false,
|
|
254
254
|
className: "border-right",
|
|
255
255
|
headerTitle: "jxarco",
|
|
256
256
|
headerSubtitle: "alexroco.30@gmail.com",
|
|
@@ -453,13 +453,20 @@ const area = LX.init( { strictViewport: false, rootClass: "wrapper" } );
|
|
|
453
453
|
}
|
|
454
454
|
|
|
455
455
|
// Code
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
// } );
|
|
456
|
+
{
|
|
457
|
+
const codeContainer = LX.makeContainer( [ "auto", "800px" ], "flex flex-col border rounded-lg overflow-hidden" );
|
|
458
|
+
tabs.add( "Code", codeContainer );
|
|
460
459
|
|
|
461
|
-
|
|
462
|
-
|
|
460
|
+
const codeArea = new LX.Area();
|
|
461
|
+
codeContainer.appendChild( codeArea.root );
|
|
462
|
+
|
|
463
|
+
let editor = new LX.CodeEditor(codeArea, {
|
|
464
|
+
// allowAddScripts: false,
|
|
465
|
+
// autocomplete: false,
|
|
466
|
+
// disableEdition: true,
|
|
467
|
+
// fileExplorer: false
|
|
468
|
+
});
|
|
469
|
+
}
|
|
463
470
|
|
|
464
471
|
// Audio
|
|
465
472
|
// {
|
|
@@ -474,6 +481,7 @@ const area = LX.init( { strictViewport: false, rootClass: "wrapper" } );
|
|
|
474
481
|
// Footer
|
|
475
482
|
{
|
|
476
483
|
const footer = new LX.Footer( {
|
|
484
|
+
className: "border-top",
|
|
477
485
|
parent: LX.root,
|
|
478
486
|
columns: [
|
|
479
487
|
{
|