lexgui 0.6.1 → 0.6.2

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,20 @@
2
2
 
3
3
  ## dev
4
4
 
5
- ## 0.6.1 (master)
5
+ ## 0.6.2 (master)
6
+
7
+ Widgets:
8
+ - Fixed Title Widget class override.
9
+ - Fixed Select list focusout issue.
10
+ - Added `success` theme color to supported widgets.
11
+ - Table active filters are now displayed in each filter button.
12
+ - Added support for Range Filter in Table Widget.
13
+ - Fixed dragging over drag-icon location in Number&Vector Widget inputs.
14
+
15
+ Added a few more icon solid variants.
16
+ Minor CSS tweaks.
17
+
18
+ ## 0.6.1
6
19
 
7
20
  Widgets:
8
21
  - Support back `options.selected` in ComboButtons Widget as `ValueType|Array<ValueType>`.
@@ -96,16 +96,18 @@
96
96
  buttonsLeftPanel.addButton(null, "Secondary", null, { buttonClass: "secondary" });
97
97
  buttonsLeftPanel.addButton(null, "Accent", null, { buttonClass: "accent" });
98
98
  buttonsLeftPanel.addButton(null, "Contrast", null, { buttonClass: "contrast" });
99
- buttonsLeftPanel.addButton(null, "Warning", null, { buttonClass: "warning" });
99
+ buttonsLeftPanel.addButton(null, "Success", null, { buttonClass: "success" });
100
100
  buttonsLeftPanel.addButton(null, "Error", null, { buttonClass: "error" });
101
+ buttonsLeftPanel.addButton(null, "Warning", null, { buttonClass: "warning" });
101
102
  buttonsLeftPanel.branch("Disabled Buttons", { closed: closedDefault });
102
103
  buttonsLeftPanel.addButton(null, "Classic", null, { disabled: true });
103
104
  buttonsLeftPanel.addButton(null, "Primary", null, { disabled: true, buttonClass: "primary" });
104
105
  buttonsLeftPanel.addButton(null, "Secondary", null, { disabled: true, buttonClass: "secondary" });
105
106
  buttonsLeftPanel.addButton(null, "Accent", null, { disabled: true, buttonClass: "accent" });
106
107
  buttonsLeftPanel.addButton(null, "Contrast", null, { disabled: true, buttonClass: "contrast" });
107
- buttonsLeftPanel.addButton(null, "Warning", null, { disabled: true, buttonClass: "warning" });
108
+ buttonsLeftPanel.addButton(null, "Success", null, { disabled: true, buttonClass: "success" });
108
109
  buttonsLeftPanel.addButton(null, "Error", null, { disabled: true, buttonClass: "error" });
110
+ buttonsLeftPanel.addButton(null, "Warning", null, { disabled: true, buttonClass: "warning" });
109
111
  buttonsLeftPanel.branch("Advanced Buttons", { closed: closedDefault });
110
112
  buttonsLeftPanel.addButton("Icon Button", "Not used", null, { icon: "Skull" });
111
113
  buttonsLeftPanel.sameLine();
@@ -127,16 +129,18 @@
127
129
  buttonsRightPanel.addButton(null, "Secondary Outline", null, { buttonClass: "secondary outline" });
128
130
  buttonsRightPanel.addButton(null, "Accent Outline", null, { buttonClass: "accent outline" });
129
131
  buttonsRightPanel.addButton(null, "Contrast Outline", null, { buttonClass: "contrast outline" });
130
- buttonsRightPanel.addButton(null, "Warning Outline", null, { buttonClass: "warning outline" });
132
+ buttonsRightPanel.addButton(null, "Success Outline", null, { buttonClass: "success outline" });
131
133
  buttonsRightPanel.addButton(null, "Error Outline", null, { buttonClass: "error outline" });
134
+ buttonsRightPanel.addButton(null, "Warning Outline", null, { buttonClass: "warning outline" });
132
135
  buttonsRightPanel.branch("Dashed Buttons", { closed: closedDefault });
133
136
  buttonsRightPanel.addButton(null, "Classic Dashed", null, { buttonClass: "dashed" });
134
137
  buttonsRightPanel.addButton(null, "Primary Dashed", null, { buttonClass: "primary dashed" });
135
138
  buttonsRightPanel.addButton(null, "Secondary Dashed", null, { buttonClass: "secondary dashed" });
136
139
  buttonsRightPanel.addButton(null, "Accent Dashed", null, { buttonClass: "accent dashed" });
137
140
  buttonsRightPanel.addButton(null, "Contrast Dashed", null, { buttonClass: "contrast dashed" });
138
- buttonsRightPanel.addButton(null, "Warning Dashed", null, { buttonClass: "warning dashed" });
141
+ buttonsRightPanel.addButton(null, "Success Dashed", null, { buttonClass: "success dashed" });
139
142
  buttonsRightPanel.addButton(null, "Error Dashed", null, { buttonClass: "error dashed" });
143
+ buttonsRightPanel.addButton(null, "Warning Dashed", null, { buttonClass: "warning dashed" });
140
144
  buttonsRightPanel.branch("Combo Buttons", { closed: closedDefault });
141
145
  buttonsRightPanel.addComboButtons("Classic Combo", comboValues);
142
146
  buttonsRightPanel.addComboButtons("Toggle Combo", comboValues, { toggle: true });
@@ -158,8 +162,9 @@
158
162
  checkLeftPanel.addCheckbox(null, true, null, { className: "secondary", label: "Secondary" });
159
163
  checkLeftPanel.addCheckbox(null, true, null, { className: "accent", label: "Accent" });
160
164
  checkLeftPanel.addCheckbox(null, true, null, { className: "contrast", label: "Contrast" });
161
- checkLeftPanel.addCheckbox(null, true, null, { className: "warning", label: "Warning" });
165
+ checkLeftPanel.addCheckbox(null, true, null, { className: "success", label: "Success" });
162
166
  checkLeftPanel.addCheckbox(null, true, null, { className: "error", label: "Error" });
167
+ checkLeftPanel.addCheckbox(null, true, null, { className: "warning", label: "Warning" });
163
168
  }
164
169
 
165
170
  // Radiogroup
@@ -177,16 +182,18 @@
177
182
  checkRightPanel.addToggle(null, true, null, { className: "secondary", label: "Secondary" });
178
183
  checkRightPanel.addToggle(null, true, null, { className: "accent", label: "Accent" });
179
184
  checkRightPanel.addToggle(null, true, null, { className: "contrast", label: "Contrast" });
180
- checkRightPanel.addToggle(null, true, null, { className: "warning", label: "Warning" });
185
+ checkRightPanel.addToggle(null, true, null, { className: "success", label: "Success" });
181
186
  checkRightPanel.addToggle(null, true, null, { className: "error", label: "Error" });
187
+ checkRightPanel.addToggle(null, true, null, { className: "warning", label: "Warning" });
182
188
  checkRightPanel.branch("Outline Toggles", { closed: closedDefault });
183
189
  checkRightPanel.addToggle(null, true, null, { label: "Classic" });
184
190
  checkRightPanel.addToggle(null, true, null, { className: "primary outline", label: "Primary" });
185
191
  checkRightPanel.addToggle(null, true, null, { className: "secondary outline", label: "Secondary" });
186
192
  checkRightPanel.addToggle(null, true, null, { className: "accent outline", label: "Accent" });
187
193
  checkRightPanel.addToggle(null, true, null, { className: "contrast outline", label: "Contrast" });
188
- checkRightPanel.addToggle(null, true, null, { className: "warning outline", label: "Warning" });
194
+ checkRightPanel.addToggle(null, true, null, { className: "success outline", label: "Success" });
189
195
  checkRightPanel.addToggle(null, true, null, { className: "error outline", label: "Error" });
196
+ checkRightPanel.addToggle(null, true, null, { className: "warning outline", label: "Warning" });
190
197
  }
191
198
 
192
199
  // Test Inputs
@@ -226,8 +233,9 @@
226
233
  panelB.addRange("Secondary", 4, null, { min: 0, max: 10, step: 1, className: "secondary" });
227
234
  panelB.addRange("Accent", 3, null, { min: 0, max: 10, step: 1, className: "accent" });
228
235
  panelB.addRange("Contrast", 5, null, { min: 0, max: 10, step: 1, className: "contrast" });
229
- panelB.addRange("Warning", 2, null, { min: 0, max: 10, step: 1, className: "warning" });
236
+ panelB.addRange("Success", 9, null, { min: 0, max: 10, step: 1, className: "success" });
230
237
  panelB.addRange("Error", 6, null, { min: 0, max: 10, step: 1, className: "error" });
238
+ panelB.addRange("Warning", 2, null, { min: 0, max: 10, step: 1, className: "warning" });
231
239
  panelB.addRange("Inverted", 22, null, { min: 20, max: 48, step: 1, left: true });
232
240
  panelB.addRange("NoFill", 10, null, { min: 1, max: 48, step: 1, fill: false });
233
241
  panelB.addRange("Disabled", 29, null, { min: 1, max: 48, step: 1, disabled: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lexgui",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "JS library to create web graphical user interfaces",
5
5
  "type": "module",
6
6
  "main": "./build/lexgui.js",