lexgui 0.5.3 → 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/components/timeline.js +1 -1
- package/build/lexgui.css +132 -85
- package/build/lexgui.js +538 -159
- package/build/lexgui.min.css +1 -1
- package/build/lexgui.min.js +1 -1
- package/build/lexgui.module.js +538 -159
- package/build/lexgui.module.min.js +1 -1
- package/build/utilities.css +137 -8
- package/changelog.md +36 -1
- package/demo.js +377 -39
- package/package.json +1 -1
package/build/utilities.css
CHANGED
|
@@ -11,14 +11,33 @@
|
|
|
11
11
|
.bg-error { background-color: var(--global-color-error) !important }
|
|
12
12
|
.bg-none { background: none !important }
|
|
13
13
|
|
|
14
|
+
.hover\:bg-primary:hover { background-color: var(--global-color-primary) !important }
|
|
15
|
+
.hover\:bg-secondary:hover { background-color: var(--global-color-secondary) !important }
|
|
16
|
+
.hover\:bg-tertiary:hover { background-color: var(--global-color-tertiary) !important }
|
|
17
|
+
.hover\:bg-quaternary:hover { background-color: var(--global-color-quaternary) !important }
|
|
18
|
+
.hover\:bg-accent:hover { background-color: var(--global-color-accent) !important }
|
|
19
|
+
.hover\:bg-contrast:hover { background-color: var(--global-text-primary) !important }
|
|
20
|
+
.hover\:bg-warning:hover { background-color: var(--global-color-warning) !important }
|
|
21
|
+
.hover\:bg-error:hover { background-color: var(--global-color-error) !important }
|
|
22
|
+
.hover\:bg-none:hover { background: none !important }
|
|
23
|
+
|
|
14
24
|
.fg-primary { color: var(--global-text-primary) !important }
|
|
15
25
|
.fg-secondary { color: var(--global-text-secondary) !important }
|
|
16
26
|
.fg-tertiary { color: var(--global-text-tertiary) !important }
|
|
17
27
|
.fg-quaternary { color: var(--global-text-quaternary) !important }
|
|
18
|
-
.fg-accent { color: var(--global-
|
|
19
|
-
.fg-contrast { color: var(--global-
|
|
20
|
-
.fg-warning { color: var(--global-
|
|
21
|
-
.fg-error { color: var(--global-
|
|
28
|
+
.fg-accent { color: var(--global-color-accent) !important }
|
|
29
|
+
.fg-contrast { color: var(--global-color-primary) !important }
|
|
30
|
+
.fg-warning { color: var(--global-color-warning) !important }
|
|
31
|
+
.fg-error { color: var(--global-color-error) !important }
|
|
32
|
+
|
|
33
|
+
.hover\:fg-primary:hover { color: var(--global-text-primary) !important }
|
|
34
|
+
.hover\:fg-secondary:hover { color: var(--global-text-secondary) !important }
|
|
35
|
+
.hover\:fg-tertiary:hover { color: var(--global-text-tertiary) !important }
|
|
36
|
+
.hover\:fg-quaternary:hover { color: var(--global-text-quaternary) !important }
|
|
37
|
+
.hover\:fg-accent:hover { color: var(--global-color-accent) !important }
|
|
38
|
+
.hover\:fg-contrast:hover { color: var(--global-color-primary) !important }
|
|
39
|
+
.hover\:fg-warning:hover { color: var(--global-color-warning) !important }
|
|
40
|
+
.hover\:fg-error:hover { color: var(--global-color-error) !important }
|
|
22
41
|
|
|
23
42
|
/* Layout */
|
|
24
43
|
|
|
@@ -29,13 +48,32 @@
|
|
|
29
48
|
.inline-block { display: inline-block }
|
|
30
49
|
.hidden { display: none !important }
|
|
31
50
|
|
|
51
|
+
.overflow-auto { overflow: auto }
|
|
52
|
+
.overflow-scroll { overflow: scroll }
|
|
53
|
+
.overflow-hidden { overflow: hidden }
|
|
54
|
+
.overflow-x-auto { overflow-x: auto }
|
|
55
|
+
.overflow-y-auto { overflow-y: auto }
|
|
56
|
+
.overflow-x-hidden { overflow-x: hidden }
|
|
57
|
+
|
|
58
|
+
.truncate { overflow: hidden; text-overflow: ellipsis }
|
|
59
|
+
.truncate, .whitespace-nowrap { white-space: nowrap }
|
|
60
|
+
.whitespace-pre-wrap { white-space: pre-wrap }
|
|
61
|
+
.whitespace-break-spaces { white-space: break-spaces }
|
|
62
|
+
|
|
63
|
+
.text-balance { text-wrap: balance }
|
|
64
|
+
.break-words { overflow-wrap: break-word }
|
|
65
|
+
|
|
66
|
+
.line-clamp-1, .line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical }
|
|
67
|
+
.line-clamp-1 { -webkit-line-clamp: 1; line-clamp: 1 }
|
|
68
|
+
.line-clamp-2 { -webkit-line-clamp: 2; line-clamp: 2 }
|
|
69
|
+
|
|
32
70
|
.flex-col { flex-direction: column }
|
|
33
71
|
.flex-row { flex-direction: row }
|
|
34
72
|
.flex-wrap { flex-wrap: wrap }
|
|
35
73
|
|
|
36
|
-
.items-
|
|
37
|
-
.items-
|
|
38
|
-
.items-end {
|
|
74
|
+
.items-start { place-items: start }
|
|
75
|
+
.items-center { place-items: center }
|
|
76
|
+
.items-end { place-items: end }
|
|
39
77
|
|
|
40
78
|
.justify-start { justify-content: start }
|
|
41
79
|
.justify-center { justify-content: center }
|
|
@@ -43,8 +81,12 @@
|
|
|
43
81
|
.justify-between { justify-content: space-between }
|
|
44
82
|
.justify-around { justify-content: space-around }
|
|
45
83
|
|
|
46
|
-
.self-
|
|
84
|
+
.self-start { place-self: start }
|
|
85
|
+
.self-center { place-self: center }
|
|
86
|
+
.self-end { place-self: end }
|
|
47
87
|
|
|
88
|
+
.gap-0 { gap: 0 }
|
|
89
|
+
.gap-0\.5 { gap: 0.125rem }
|
|
48
90
|
.gap-1 { gap: 0.25rem }
|
|
49
91
|
.gap-2 { gap: 0.5rem }
|
|
50
92
|
.gap-3 { gap: 0.75rem }
|
|
@@ -71,10 +113,69 @@
|
|
|
71
113
|
.m-7 { margin: 1.75rem }
|
|
72
114
|
.m-8 { margin: 2rem }
|
|
73
115
|
|
|
116
|
+
.mt-0 { margin-top: 0 }
|
|
117
|
+
.mt-1 { margin-top: 0.25rem }
|
|
74
118
|
.mt-2 { margin-top: 0.5rem }
|
|
119
|
+
.mt-3 { margin-top: 0.75rem }
|
|
120
|
+
.mt-4 { margin-top: 1rem }
|
|
121
|
+
.mt-5 { margin-top: 1.25rem }
|
|
122
|
+
.mt-6 { margin-top: 1.5rem }
|
|
123
|
+
.mt-7 { margin-top: 1.75rem }
|
|
124
|
+
.mt-8 { margin-top: 2rem }
|
|
125
|
+
|
|
126
|
+
.mb-0 { margin-bottom: 0 }
|
|
127
|
+
.mb-1 { margin-bottom: 0.25rem }
|
|
75
128
|
.mb-2 { margin-bottom: 0.5rem }
|
|
129
|
+
.mb-3 { margin-bottom: 0.75rem }
|
|
130
|
+
.mb-4 { margin-bottom: 1rem }
|
|
131
|
+
.mb-5 { margin-bottom: 1.25rem }
|
|
132
|
+
.mb-6 { margin-bottom: 1.5rem }
|
|
133
|
+
.mb-7 { margin-bottom: 1.75rem }
|
|
134
|
+
.mb-8 { margin-bottom: 2rem }
|
|
135
|
+
|
|
136
|
+
.ml-0 { margin-left: 0 }
|
|
137
|
+
.ml-1 { margin-left: 0.25rem }
|
|
76
138
|
.ml-2 { margin-left: 0.5rem }
|
|
139
|
+
.ml-3 { margin-left: 0.75rem }
|
|
140
|
+
.ml-4 { margin-left: 1rem }
|
|
141
|
+
.ml-5 { margin-left: 1.25rem }
|
|
142
|
+
.ml-6 { margin-left: 1.5rem }
|
|
143
|
+
.ml-7 { margin-left: 1.75rem }
|
|
144
|
+
.ml-8 { margin-left: 2rem }
|
|
145
|
+
|
|
146
|
+
.mr-0 { margin-right: 0 }
|
|
147
|
+
.mr-1 { margin-right: 0.25rem }
|
|
77
148
|
.mr-2 { margin-right: 0.5rem }
|
|
149
|
+
.mr-3 { margin-right: 0.75rem }
|
|
150
|
+
.mr-4 { margin-right: 1rem }
|
|
151
|
+
.mr-5 { margin-right: 1.25rem }
|
|
152
|
+
.mr-6 { margin-right: 1.5rem }
|
|
153
|
+
.mr-7 { margin-right: 1.75rem }
|
|
154
|
+
.mr-8 { margin-right: 2rem }
|
|
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 }
|
|
78
179
|
|
|
79
180
|
.p-0 { padding: 0 }
|
|
80
181
|
.p-1 { padding: 0.25rem }
|
|
@@ -135,6 +236,8 @@
|
|
|
135
236
|
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem }
|
|
136
237
|
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem }
|
|
137
238
|
.px-8 { padding-left: 2rem; padding-right: 2rem }
|
|
239
|
+
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem }
|
|
240
|
+
.px-12 { padding-left: 3rem; padding-right: 3rem }
|
|
138
241
|
|
|
139
242
|
.py-0 { padding-top: 0; padding-bottom: 0 }
|
|
140
243
|
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem }
|
|
@@ -145,9 +248,18 @@
|
|
|
145
248
|
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem }
|
|
146
249
|
.py-7 { padding-top: 1.75rem; padding-bottom: 1.75rem }
|
|
147
250
|
.py-8 { padding-top: 2rem; padding-bottom: 2rem }
|
|
251
|
+
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem }
|
|
252
|
+
.py-12 { padding-top: 3rem; padding-bottom: 3rem }
|
|
148
253
|
|
|
149
254
|
/* Typography */
|
|
150
255
|
|
|
256
|
+
.text-xs { font-size: var(--global-font-size-xs); line-height: 0.9rem }
|
|
257
|
+
.text-sm { font-size: var(--global-font-size-sm); line-height: 1rem }
|
|
258
|
+
.text-md { font-size: var(--global-font-size); line-height: 1.2rem }
|
|
259
|
+
.text-lg { font-size: var(--global-font-size-lg); line-height: 1.3rem }
|
|
260
|
+
.text-xl { font-size: var(--global-font-size-xl); line-height: 1.4rem }
|
|
261
|
+
.text-xxl { font-size: var(--global-font-size-xxl); line-height: 1.6rem }
|
|
262
|
+
|
|
151
263
|
.font-light { font-weight: 300 }
|
|
152
264
|
.font-normal { font-weight: 400 }
|
|
153
265
|
.font-medium { font-weight: 500 }
|
|
@@ -167,6 +279,11 @@
|
|
|
167
279
|
.h-full { height: 100% }
|
|
168
280
|
.h-screen { height: 100vh }
|
|
169
281
|
|
|
282
|
+
.resize-none { resize: none }
|
|
283
|
+
|
|
284
|
+
.size-fixed { field-sizing: fixed }
|
|
285
|
+
.size-content { field-sizing: content }
|
|
286
|
+
|
|
170
287
|
/* Positioning */
|
|
171
288
|
|
|
172
289
|
.relative { position: relative }
|
|
@@ -188,8 +305,20 @@
|
|
|
188
305
|
/* Borders / Radius / Shadow */
|
|
189
306
|
|
|
190
307
|
.border { border: 1px solid var(--global-color-tertiary) }
|
|
308
|
+
.border-colored { border: 1px solid currentColor }
|
|
309
|
+
|
|
310
|
+
.border-top { border-top: 1px solid var(--global-color-tertiary) }
|
|
311
|
+
.border-bottom { border-bottom: 1px solid var(--global-color-tertiary) }
|
|
312
|
+
.border-left { border-left: 1px solid var(--global-color-tertiary) }
|
|
313
|
+
.border-right { border-right: 1px solid var(--global-color-tertiary) }
|
|
314
|
+
|
|
191
315
|
.border-2 { border-width: 2px }
|
|
192
316
|
|
|
317
|
+
.border-t-0 { border-top-width: 0 }
|
|
318
|
+
.border-b-0 { border-bottom-width: 0 }
|
|
319
|
+
.border-l-0 { border-left-width: 0 }
|
|
320
|
+
.border-r-0 { border-right-width: 0 }
|
|
321
|
+
|
|
193
322
|
.rounded-none { border-radius: 0 }
|
|
194
323
|
.rounded { border-radius: 0.25rem }
|
|
195
324
|
.rounded-lg { border-radius: 0.5rem }
|
package/changelog.md
CHANGED
|
@@ -2,7 +2,42 @@
|
|
|
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
|
|
26
|
+
|
|
27
|
+
Widgets:
|
|
28
|
+
- Added support for disabling resize in TextArea Widget `options.resize: false`.
|
|
29
|
+
- Added support for using LX.ICONS on Button Widgets.
|
|
30
|
+
- Tooltips supported in Button Widget `options.tooltip`. Uses either `options.title` or `name` as content.
|
|
31
|
+
|
|
32
|
+
`LX.makeContainer` now accepts `innerHTML` and `parent` params.
|
|
33
|
+
Started work on tooltips `LX.asTooltip(trigger, content)`.
|
|
34
|
+
Added support for adding a class to LexGUI root on init `options.rootClass`.
|
|
35
|
+
Added support for adding a class to Sidebar/Menubar areas on `Area.addSidebar` and `Area.addMenubar`.
|
|
36
|
+
Added `options.asElement` to return `LX.badge` as HTMLElement instead of html string.
|
|
37
|
+
Support for using LX.ICONS on sidebar entry icons. Keep FA icons as legacy by now.
|
|
38
|
+
Minor CSS improvements. Added more class utilities.
|
|
39
|
+
|
|
40
|
+
## 0.5.3
|
|
6
41
|
|
|
7
42
|
Widgets:
|
|
8
43
|
- Fixed Select Widget filter issues.
|