@quandis/qbo4.ui 4.0.1-CI-20241101-213502 → 4.0.1-CI-20241104-183949
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/package.json +2 -2
- package/scss/qbo.scss +380 -2
- package/src/qbo/styles.d.ts +1 -0
- package/src/qbo/styles.js +2 -1
- package/src/qbo/styles.ts +3 -1
- package/wwwroot/css/qbo.css +374 -2
- package/wwwroot/css/qbo.css.map +1 -1
- package/wwwroot/css/qbo.min.css +1 -1
- package/wwwroot/css/qboui.css +374 -2
- package/wwwroot/css/qboui.css.map +1 -1
- package/wwwroot/css/qboui.min.css +1 -1
- package/wwwroot/js/esm/qbo4.ui.js +7 -3
- package/wwwroot/js/esm/qbo4.ui.min.js +63 -63
- package/wwwroot/js/esm/qbo4.ui.min.js.map +1 -1
- package/wwwroot/js/qbo4.ui.js +5 -2
- package/wwwroot/js/qbo4.ui.min.js +63 -63
- package/wwwroot/js/qbo4.ui.min.js.map +1 -1
- package/wwwroot/menu.html +140 -46
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "Quandis, Inc.",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "4.0.1-CI-
|
|
6
|
+
"version": "4.0.1-CI-20241104-183949",
|
|
7
7
|
"workspaces": [
|
|
8
8
|
"code"
|
|
9
9
|
],
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"mini-css-extract-plugin": "^2.9.2",
|
|
53
53
|
"postcss": "^8.4.47",
|
|
54
54
|
"postcss-loader": "^8.1.1",
|
|
55
|
-
"sass": "^1.80.
|
|
55
|
+
"sass": "^1.80.6",
|
|
56
56
|
"typescript": "^5.6.3",
|
|
57
57
|
"webpack": "^5.96.1",
|
|
58
58
|
"webpack-cli": "^5.1.4",
|
package/scss/qbo.scss
CHANGED
|
@@ -1,4 +1,382 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
:root {
|
|
2
|
+
--qbo-font: Arial, sans-serif;
|
|
3
|
+
--qbo-color: #333;
|
|
4
|
+
--qbo-border-color: #dee2e6;
|
|
5
|
+
--qbo-border-radius: 4px;
|
|
6
|
+
--qbo-background-color: #ffffff;
|
|
7
|
+
--qbo-padding-horizontal: 0.75rem;
|
|
8
|
+
--qbo-padding-vertical: 0.375rem;
|
|
9
|
+
--qbo-padding: var(--qbo-padding-vertical) var(--qbo-padding-horizontal);
|
|
10
|
+
--qbo-margin: 0.5rem;
|
|
11
|
+
--qbo-margin-horizontal: 0.5rem;
|
|
12
|
+
--qbo-margin-vertical: 0.5rem;
|
|
13
|
+
--qbo-focus-border-color: #80bdff;
|
|
14
|
+
--qbo-focus-box-shadow: rgba(0, 123, 255, 0.25);
|
|
15
|
+
--qbo-button-bg: #007bff;
|
|
16
|
+
--qbo-button-border: #007bff;
|
|
17
|
+
--qbo-button-bg-hover: #0056b3;
|
|
18
|
+
--qbo-button-border-hover: #004085;
|
|
19
|
+
--qbo-button-color: #ffffff;
|
|
20
|
+
--qbo-button-padding: var(--qbo-padding); //0.375rem 0.75rem;
|
|
21
|
+
--qbo-button-border-radius: var(--qbo-border-radius);
|
|
22
|
+
--qbo-nav-color: #ffffff;
|
|
23
|
+
--qbo-nav-background-color: #000;
|
|
24
|
+
/* Primary */
|
|
25
|
+
--qbo-primary-bg: #007bff;
|
|
26
|
+
--qbo-primary-color: #ffffff;
|
|
27
|
+
--qbo-primary-border: #007bff;
|
|
28
|
+
--qbo-primary-hover-bg: #0056b3;
|
|
29
|
+
--qbo-primary-hover-border: #004085;
|
|
30
|
+
/* Secondary */
|
|
31
|
+
--qbo-secondary-bg: #6c757d;
|
|
32
|
+
--qbo-secondary-color: #ffffff;
|
|
33
|
+
--qbo-secondary-border: #6c757d;
|
|
34
|
+
--qbo-secondary-hover-bg: #5a6268;
|
|
35
|
+
--qbo-secondary-hover-border: #545b62;
|
|
36
|
+
/* Success */
|
|
37
|
+
--qbo-success-bg: #28a745;
|
|
38
|
+
--qbo-success-color: #ffffff;
|
|
39
|
+
--qbo-success-border: #28a745;
|
|
40
|
+
--qbo-success-hover-bg: #218838;
|
|
41
|
+
--qbo-success-hover-border: #1e7e34;
|
|
42
|
+
/* Danger */
|
|
43
|
+
--qbo-danger-bg: #dc3545;
|
|
44
|
+
--qbo-danger-color: #ffffff;
|
|
45
|
+
--qbo-danger-border: #dc3545;
|
|
46
|
+
--qbo-danger-hover-bg: #c82333;
|
|
47
|
+
--qbo-danger-hover-border: #bd2130;
|
|
48
|
+
/* Info */
|
|
49
|
+
--qbo-info-bg: #17a2b8;
|
|
50
|
+
--qbo-info-color: #ffffff;
|
|
51
|
+
--qbo-info-border: #17a2b8;
|
|
52
|
+
--qbo-info-hover-bg: #138496;
|
|
53
|
+
--qbo-info-hover-border: #117a8b;
|
|
54
|
+
/* Light */
|
|
55
|
+
--qbo-light-bg: #f8f9fa;
|
|
56
|
+
--qbo-light-color: #212529;
|
|
57
|
+
--qbo-light-border: #f8f9fa;
|
|
58
|
+
--qbo-light-hover-bg: #e2e6ea;
|
|
59
|
+
--qbo-light-hover-border: #dae0e5;
|
|
60
|
+
/* Dark */
|
|
61
|
+
--qbo-dark-bg: #343a40;
|
|
62
|
+
--qbo-dark-color: #ffffff;
|
|
63
|
+
--qbo-dark-border: #343a40;
|
|
64
|
+
--qbo-dark-hover-bg: #23272b;
|
|
65
|
+
--qbo-dark-hover-border: #1d2124;
|
|
3
66
|
}
|
|
4
67
|
|
|
68
|
+
.qbo-dark {
|
|
69
|
+
--qbo-color: #e0e0e0;
|
|
70
|
+
--qbo-border-color: grey;
|
|
71
|
+
--qbo-background-color: #121212;
|
|
72
|
+
--qbo-nav-color: #000;
|
|
73
|
+
--qbo-nav-background-color: #fff;
|
|
74
|
+
--qbo-svg-filter: brightness(0) invert(1);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* Use variables in a class */
|
|
78
|
+
.qbo {
|
|
79
|
+
font-family: var(--qbo-font);
|
|
80
|
+
color: var(--qbo-color);
|
|
81
|
+
border: 1px solid var(--qbo-border-color);
|
|
82
|
+
padding: var(--qbo-padding);
|
|
83
|
+
border-radius: var(--qbo-border-radius);
|
|
84
|
+
background-color: var(--qbo-background-color);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.qbo-row {
|
|
88
|
+
display: flex;
|
|
89
|
+
flex-wrap: wrap;
|
|
90
|
+
gap: var(--qbo-margin);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* Default column styling */
|
|
94
|
+
.qbo-col {
|
|
95
|
+
flex: 1 0 0;
|
|
96
|
+
border: 1px solid var(--qbo-border-color);
|
|
97
|
+
max-width: 100%;
|
|
98
|
+
box-sizing: border-box;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.qbo-row {
|
|
102
|
+
display: flex;
|
|
103
|
+
flex-wrap: wrap;
|
|
104
|
+
gap: var(--qbo-margin); /* Use --qbo-margin as the gap */
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.qbo-col-1 {
|
|
108
|
+
flex: 0 0 calc(8.33% - (var(--qbo-margin) / 2));
|
|
109
|
+
max-width: calc(8.33% - (var(--qbo-margin) / 2));
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.qbo-col-2 {
|
|
113
|
+
flex: 0 0 calc(16.66% - (var(--qbo-margin) / 2));
|
|
114
|
+
max-width: calc(16.66% - (var(--qbo-margin) / 2));
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.qbo-col-3 {
|
|
118
|
+
flex: 0 0 calc(25% - (var(--qbo-margin) / 2));
|
|
119
|
+
max-width: calc(25% - (var(--qbo-margin) / 2));
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.qbo-col-4 {
|
|
123
|
+
flex: 0 0 calc(33.33% - (var(--qbo-margin) / 2));
|
|
124
|
+
max-width: calc(33.33% - (var(--qbo-margin) / 2));
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.qbo-col-5 {
|
|
128
|
+
flex: 0 0 calc(41.66% - (var(--qbo-margin) / 2));
|
|
129
|
+
max-width: calc(41.66% - (var(--qbo-margin) / 2));
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.qbo-col-6 {
|
|
133
|
+
flex: 0 0 calc(50% - (var(--qbo-margin) / 2));
|
|
134
|
+
max-width: calc(50% - (var(--qbo-margin) / 2));
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.qbo-col-7 {
|
|
138
|
+
flex: 0 0 calc(58.33% - (var(--qbo-margin) / 2));
|
|
139
|
+
max-width: calc(58.33% - (var(--qbo-margin) / 2));
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.qbo-col-8 {
|
|
143
|
+
flex: 0 0 calc(66.66% - (var(--qbo-margin) / 2));
|
|
144
|
+
max-width: calc(66.66% - (var(--qbo-margin) / 2));
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.qbo-col-9 {
|
|
148
|
+
flex: 0 0 calc(75% - (var(--qbo-margin) / 2));
|
|
149
|
+
max-width: calc(75% - (var(--qbo-margin) / 2));
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.qbo-col-10 {
|
|
153
|
+
flex: 0 0 calc(83.33% - (var(--qbo-margin) / 2));
|
|
154
|
+
max-width: calc(83.33% - (var(--qbo-margin) / 2));
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.qbo-col-11 {
|
|
158
|
+
flex: 0 0 calc(91.66% - (var(--qbo-margin) / 2));
|
|
159
|
+
max-width: calc(91.66% - (var(--qbo-margin) / 2));
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.qbo-col-12 {
|
|
163
|
+
flex: 0 0 calc(100% - (var(--qbo-margin) / 2));
|
|
164
|
+
max-width: calc(100% - (var(--qbo-margin) / 2));
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
svg {
|
|
168
|
+
height: 1rem;
|
|
169
|
+
width: 1rem;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.icon {
|
|
173
|
+
height: 1rem;
|
|
174
|
+
width: 1rem;
|
|
175
|
+
|
|
176
|
+
use {
|
|
177
|
+
display: block;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
filter: var(--qbo-svg-filter);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.qbo-row {
|
|
184
|
+
display: flex;
|
|
185
|
+
flex-wrap: wrap;
|
|
186
|
+
gap: var(--qbo-margin);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/* Default column styling */
|
|
190
|
+
.qbo-col {
|
|
191
|
+
flex: 1 0 0;
|
|
192
|
+
xborder: 1px solid var(--qbo-border-color);
|
|
193
|
+
max-width: 100%;
|
|
194
|
+
box-sizing: border-box;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.qbo-row {
|
|
198
|
+
display: flex;
|
|
199
|
+
flex-wrap: wrap;
|
|
200
|
+
gap: var(--qbo-margin); /* Use --qbo-margin as the gap */
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.qbo-col-1 {
|
|
204
|
+
flex: 0 0 calc(8.33% - (var(--qbo-margin) / 2));
|
|
205
|
+
max-width: calc(8.33% - (var(--qbo-margin) / 2));
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.qbo-col-2 {
|
|
209
|
+
flex: 0 0 calc(16.66% - (var(--qbo-margin) / 2));
|
|
210
|
+
max-width: calc(16.66% - (var(--qbo-margin) / 2));
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.qbo-col-3 {
|
|
214
|
+
flex: 0 0 calc(25% - (var(--qbo-margin) / 2));
|
|
215
|
+
max-width: calc(25% - (var(--qbo-margin) / 2));
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.qbo-col-4 {
|
|
219
|
+
flex: 0 0 calc(33.33% - (var(--qbo-margin) / 2));
|
|
220
|
+
max-width: calc(33.33% - (var(--qbo-margin) / 2));
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.qbo-col-5 {
|
|
224
|
+
flex: 0 0 calc(41.66% - (var(--qbo-margin) / 2));
|
|
225
|
+
max-width: calc(41.66% - (var(--qbo-margin) / 2));
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.qbo-col-6 {
|
|
229
|
+
flex: 0 0 calc(50% - (var(--qbo-margin) / 2));
|
|
230
|
+
max-width: calc(50% - (var(--qbo-margin) / 2));
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.qbo-col-7 {
|
|
234
|
+
flex: 0 0 calc(58.33% - (var(--qbo-margin) / 2));
|
|
235
|
+
max-width: calc(58.33% - (var(--qbo-margin) / 2));
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.qbo-col-8 {
|
|
239
|
+
flex: 0 0 calc(66.66% - (var(--qbo-margin) / 2));
|
|
240
|
+
max-width: calc(66.66% - (var(--qbo-margin) / 2));
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.qbo-col-9 {
|
|
244
|
+
flex: 0 0 calc(75% - (var(--qbo-margin) / 2));
|
|
245
|
+
max-width: calc(75% - (var(--qbo-margin) / 2));
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.qbo-col-10 {
|
|
249
|
+
flex: 0 0 calc(83.33% - (var(--qbo-margin) / 2));
|
|
250
|
+
max-width: calc(83.33% - (var(--qbo-margin) / 2));
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.qbo-col-11 {
|
|
254
|
+
flex: 0 0 calc(91.66% - (var(--qbo-margin) / 2));
|
|
255
|
+
max-width: calc(91.66% - (var(--qbo-margin) / 2));
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.qbo-col-12 {
|
|
259
|
+
flex: 0 0 calc(100% - (var(--qbo-margin) / 2));
|
|
260
|
+
max-width: calc(100% - (var(--qbo-margin) / 2));
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
.qbo-form {
|
|
265
|
+
margin: 0 auto;
|
|
266
|
+
padding: var(--qbo-padding);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.qbo-form label {
|
|
270
|
+
display: flex;
|
|
271
|
+
flex-direction: column;
|
|
272
|
+
font-size: 0.9rem;
|
|
273
|
+
font-weight: 100;
|
|
274
|
+
color: var(--qbo-color);
|
|
275
|
+
font-family: var(--qbo-font);
|
|
276
|
+
margin-top: calc(var(--qbo-margin) * 1.5);
|
|
277
|
+
margin-bottom: calc(var(--qbo-margin) * 0.25);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.qbo-form small {
|
|
281
|
+
display: block;
|
|
282
|
+
font-size: 0.8rem;
|
|
283
|
+
color: color-mix(in srgb, var(--qbo-color) 60%, transparent);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.qbo-form input,
|
|
287
|
+
.qbo-form select,
|
|
288
|
+
.qbo-form textarea {
|
|
289
|
+
width: 100%;
|
|
290
|
+
box-sizing: border-box;
|
|
291
|
+
padding: var(--qbo-padding);
|
|
292
|
+
font-size: 1rem;
|
|
293
|
+
line-height: 1;
|
|
294
|
+
color: var(--qbo-color);
|
|
295
|
+
background-color: var(--qbo-background-color);
|
|
296
|
+
background-clip: padding-box;
|
|
297
|
+
border: 1px solid var(--qbo-border-color);
|
|
298
|
+
border-radius: var(--qbo-border-radius);
|
|
299
|
+
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
300
|
+
font-family: var(--qbo-font);
|
|
301
|
+
margin-top: 0.1rem;
|
|
302
|
+
margin-right: 1rem;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.qbo-form input[type="color"] {
|
|
306
|
+
width: 3rem;
|
|
307
|
+
height: calc( 1.5em + 0.75rem + 0px ); /* Matches the height of standard Bootstrap inputs */
|
|
308
|
+
padding: 0.375rem; /* Adds padding for alignment */
|
|
309
|
+
background-color: transparent; /* Clears the background color */
|
|
310
|
+
border: 1px solid #ced4da; /* Light gray border to match other form controls */
|
|
311
|
+
border-radius: 0.25rem; /* Slight border radius for rounded corners */
|
|
312
|
+
-webkit-appearance: none; /* Removes default styling in WebKit-based browsers */
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.qbo-form input:focus,
|
|
316
|
+
.qbo-form select:focus,
|
|
317
|
+
.qbo-form textarea:focus {
|
|
318
|
+
color: var(--qbo-color);
|
|
319
|
+
border-color: var(--qbo-focus-border-color);
|
|
320
|
+
outline: 0;
|
|
321
|
+
box-shadow: 0 0 0 0.2rem var(--qbo-focus-box-shadow);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.qbo-form input[disabled],
|
|
325
|
+
.qbo-form textarea[disabled],
|
|
326
|
+
.qbo-form select[disabled] {
|
|
327
|
+
xbackground-color: color-mix(in oklab, 15%, --qbo-color);
|
|
328
|
+
color: color-mix( in oklab, var(--qbo-color) 50%, var(--qbo-background-color) );
|
|
329
|
+
cursor: not-allowed;
|
|
330
|
+
opacity: 1;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/* input grouping */
|
|
334
|
+
.qbo-form div {
|
|
335
|
+
display: flex;
|
|
336
|
+
align-items: center;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.qbo-form div span {
|
|
340
|
+
display: inline-flex;
|
|
341
|
+
font-weight: 100;
|
|
342
|
+
align-items: center;
|
|
343
|
+
padding: 0.375rem 0.75rem;
|
|
344
|
+
font-size: 1rem;
|
|
345
|
+
text-align: center;
|
|
346
|
+
text-wrap-mode: nowrap;
|
|
347
|
+
border-right: none;
|
|
348
|
+
border-radius: 0.25rem 0 0 0.25rem;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.qbo-form div input,
|
|
352
|
+
.qbo-form div select,
|
|
353
|
+
.qbo-form div textarea {
|
|
354
|
+
flex: 1 1 auto;
|
|
355
|
+
padding: 0.375rem 0.75rem;
|
|
356
|
+
font-size: 1rem;
|
|
357
|
+
background-clip: padding-box;
|
|
358
|
+
margin: 0;
|
|
359
|
+
xborder-radius: 0 0;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.qbo-form .form-group {
|
|
363
|
+
margin-bottom: 1rem;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.qbo-form .form-check {
|
|
367
|
+
display: flex;
|
|
368
|
+
align-items: center;
|
|
369
|
+
margin-bottom: 1rem;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.qbo-form .form-check input[type="checkbox"],
|
|
373
|
+
.qbo-form .form-check input[type="radio"] {
|
|
374
|
+
width: auto;
|
|
375
|
+
margin-right: 0.5rem;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.qbo-form .form-check label {
|
|
379
|
+
margin-bottom: 0;
|
|
380
|
+
font-weight: 400;
|
|
381
|
+
color: var(--qbo-color);
|
|
382
|
+
}
|
package/src/qbo/styles.d.ts
CHANGED