@vmscloud/moz-ui-components-core 0.1.58 → 0.1.60
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/dist/components/context-menu/contextmenu.core.d.ts +3 -0
- package/dist/components/toggle/toggle.core.d.ts +2 -0
- package/dist/index.cjs +434 -426
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1472 -1447
- package/dist/index.js.map +1 -1
- package/dist/styles/default/calendar.css +1 -1
- package/dist/styles/default/controller.css +1 -1
- package/dist/styles/default/dateinput.css +6 -6
- package/dist/styles/default/emptystate.css +9 -9
- package/dist/styles/default/index.css +193 -191
- package/dist/styles/default/multiselect.css +37 -37
- package/dist/styles/default/popup.css +1 -1
- package/dist/styles/default/select.css +31 -29
- package/dist/styles/default/splitpane.css +4 -4
- package/dist/styles/default/tableselect.css +34 -34
- package/dist/styles/default/taginput.css +6 -6
- package/dist/styles/default/timepicker.css +22 -22
- package/dist/styles/default/toast.css +1 -1
- package/dist/styles/default/treeselect.css +40 -40
- package/package.json +1 -1
|
@@ -113,11 +113,11 @@
|
|
|
113
113
|
.tag-input-row:hover {
|
|
114
114
|
border-color: var(--moz-color-accent);
|
|
115
115
|
}
|
|
116
|
-
.scrollbar-none {
|
|
116
|
+
:where(.moz-tag-input-wrapper, .moz-tag-input-float) .scrollbar-none {
|
|
117
117
|
-ms-overflow-style: none;
|
|
118
118
|
scrollbar-width: none;
|
|
119
119
|
}
|
|
120
|
-
.scrollbar-none::-webkit-scrollbar {
|
|
120
|
+
:where(.moz-tag-input-wrapper, .moz-tag-input-float) .scrollbar-none::-webkit-scrollbar {
|
|
121
121
|
display: none;
|
|
122
122
|
}
|
|
123
123
|
.tag-input-item {
|
|
@@ -288,16 +288,16 @@
|
|
|
288
288
|
color: var(--moz-color-scrim);
|
|
289
289
|
font-style: italic;
|
|
290
290
|
}
|
|
291
|
-
.cursor-pointer {
|
|
291
|
+
:where(.moz-tag-input-wrapper, .moz-tag-input-float) .cursor-pointer {
|
|
292
292
|
cursor: pointer;
|
|
293
293
|
}
|
|
294
|
-
.flex-1 {
|
|
294
|
+
:where(.moz-tag-input-wrapper, .moz-tag-input-float) .flex-1 {
|
|
295
295
|
flex: 1;
|
|
296
296
|
}
|
|
297
|
-
.absolute {
|
|
297
|
+
.absolute:where(.moz-tag-input-float) {
|
|
298
298
|
position: fixed;
|
|
299
299
|
}
|
|
300
|
-
.z-1501 {
|
|
300
|
+
.z-1501:where(.moz-tag-input-float) {
|
|
301
301
|
z-index: 1501;
|
|
302
302
|
}
|
|
303
303
|
.moz-auto-input {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
flex-direction: column;
|
|
82
82
|
gap: 0.375rem;
|
|
83
83
|
}
|
|
84
|
-
.time-input-wrapper {
|
|
84
|
+
:where(.custom-time-picker) .time-input-wrapper {
|
|
85
85
|
display: flex;
|
|
86
86
|
height: 1.875rem;
|
|
87
87
|
width: 100%;
|
|
@@ -92,24 +92,24 @@
|
|
|
92
92
|
overflow: hidden;
|
|
93
93
|
background-color: var(--moz-color-surface);
|
|
94
94
|
}
|
|
95
|
-
.time-input-wrapper:not(.time-input-wrapper--disabled):hover {
|
|
95
|
+
:where(.custom-time-picker) .time-input-wrapper:not(.time-input-wrapper--disabled):hover {
|
|
96
96
|
border-color: var(--moz-color-accent);
|
|
97
97
|
}
|
|
98
|
-
.time-input-wrapper--disabled {
|
|
98
|
+
:where(.custom-time-picker) .time-input-wrapper--disabled {
|
|
99
99
|
cursor: not-allowed;
|
|
100
100
|
border-color: var(--moz-color-text-muted) !important;
|
|
101
101
|
background-color: var(--moz-color-surface-subtle) !important;
|
|
102
102
|
}
|
|
103
|
-
.time-input-wrapper--open {
|
|
103
|
+
:where(.custom-time-picker) .time-input-wrapper--open {
|
|
104
104
|
border-color: var(--moz-color-accent);
|
|
105
105
|
box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
|
|
106
106
|
}
|
|
107
|
-
.input-with-mask {
|
|
107
|
+
:where(.custom-time-picker) .input-with-mask {
|
|
108
108
|
position: relative;
|
|
109
109
|
height: 100%;
|
|
110
110
|
flex: 1;
|
|
111
111
|
}
|
|
112
|
-
.time-input {
|
|
112
|
+
:where(.custom-time-picker) .time-input {
|
|
113
113
|
height: 100%;
|
|
114
114
|
width: 100%;
|
|
115
115
|
border: none;
|
|
@@ -123,10 +123,10 @@
|
|
|
123
123
|
position: relative;
|
|
124
124
|
z-index: 1;
|
|
125
125
|
}
|
|
126
|
-
.time-input--disabled {
|
|
126
|
+
:where(.custom-time-picker) .time-input--disabled {
|
|
127
127
|
cursor: not-allowed;
|
|
128
128
|
}
|
|
129
|
-
.time-mask {
|
|
129
|
+
:where(.custom-time-picker) .time-mask {
|
|
130
130
|
position: absolute;
|
|
131
131
|
top: 0;
|
|
132
132
|
left: 0;
|
|
@@ -140,16 +140,16 @@
|
|
|
140
140
|
align-items: center;
|
|
141
141
|
user-select: none;
|
|
142
142
|
}
|
|
143
|
-
.mask-input {
|
|
143
|
+
:where(.custom-time-picker) .mask-input {
|
|
144
144
|
color: var(--moz-color-text);
|
|
145
145
|
}
|
|
146
|
-
.mask-input--disabled {
|
|
146
|
+
:where(.custom-time-picker) .mask-input--disabled {
|
|
147
147
|
color: var(--moz-color-text-muted);
|
|
148
148
|
}
|
|
149
|
-
.mask-placeholder {
|
|
149
|
+
:where(.custom-time-picker) .mask-placeholder {
|
|
150
150
|
color: var(--moz-color-text-secondary);
|
|
151
151
|
}
|
|
152
|
-
.icon-container {
|
|
152
|
+
:where(.custom-time-picker) .icon-container {
|
|
153
153
|
display: flex;
|
|
154
154
|
flex-shrink: 0;
|
|
155
155
|
align-items: center;
|
|
@@ -165,15 +165,15 @@
|
|
|
165
165
|
box-shadow: 0 4px 12px var(--moz-color-shadow);
|
|
166
166
|
margin: 4px 0px;
|
|
167
167
|
}
|
|
168
|
-
.time-picker-content {
|
|
168
|
+
:where(.time-picker-dropdown) .time-picker-content {
|
|
169
169
|
display: flex;
|
|
170
170
|
max-height: 210px;
|
|
171
171
|
}
|
|
172
|
-
.time-column {
|
|
172
|
+
:where(.time-picker-dropdown) .time-column {
|
|
173
173
|
height: 100%;
|
|
174
174
|
flex: 1;
|
|
175
175
|
}
|
|
176
|
-
.time-label {
|
|
176
|
+
:where(.time-picker-dropdown) .time-label {
|
|
177
177
|
height: 32px;
|
|
178
178
|
box-sizing: border-box;
|
|
179
179
|
padding: 0px 10px;
|
|
@@ -185,19 +185,19 @@
|
|
|
185
185
|
align-items: center;
|
|
186
186
|
border-bottom: 1px solid var(--moz-color-border-subtle);
|
|
187
187
|
}
|
|
188
|
-
.time-list {
|
|
188
|
+
:where(.time-picker-dropdown) .time-list {
|
|
189
189
|
padding: 4px 0;
|
|
190
190
|
}
|
|
191
|
-
.time-option-wrapper {
|
|
191
|
+
:where(.time-picker-dropdown) .time-option-wrapper {
|
|
192
192
|
height: 168px;
|
|
193
193
|
overflow-y: auto;
|
|
194
194
|
scroll-snap-type: y mandatory;
|
|
195
195
|
scroll-behavior: smooth;
|
|
196
196
|
}
|
|
197
|
-
.time-option-wrapper::-webkit-scrollbar {
|
|
197
|
+
:where(.time-picker-dropdown) .time-option-wrapper::-webkit-scrollbar {
|
|
198
198
|
width: 4px;
|
|
199
199
|
}
|
|
200
|
-
.time-option {
|
|
200
|
+
:where(.time-picker-dropdown) .time-option {
|
|
201
201
|
height: 24px;
|
|
202
202
|
width: 100%;
|
|
203
203
|
padding: 0 10px;
|
|
@@ -209,10 +209,10 @@
|
|
|
209
209
|
color: var(--moz-color-text);
|
|
210
210
|
scroll-snap-align: center;
|
|
211
211
|
}
|
|
212
|
-
.time-option:hover {
|
|
212
|
+
:where(.time-picker-dropdown) .time-option:hover {
|
|
213
213
|
background-color: var(--moz-color-accent-ghost);
|
|
214
214
|
}
|
|
215
|
-
.time-picker-footer {
|
|
215
|
+
:where(.time-picker-dropdown) .time-picker-footer {
|
|
216
216
|
display: flex;
|
|
217
217
|
height: 33px;
|
|
218
218
|
box-sizing: border-box;
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
font-weight: 400;
|
|
228
228
|
cursor: pointer;
|
|
229
229
|
}
|
|
230
|
-
.time-picker-footer:hover {
|
|
230
|
+
:where(.time-picker-dropdown) .time-picker-footer:hover {
|
|
231
231
|
color: var(--moz-color-accent);
|
|
232
232
|
}
|
|
233
233
|
}
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
font-size: 0.688rem;
|
|
160
160
|
font-weight: 500;
|
|
161
161
|
}
|
|
162
|
-
.list-box {
|
|
162
|
+
.list-box:where(.moz-tree-select-list) {
|
|
163
163
|
position: fixed;
|
|
164
164
|
background-color: var(--moz-color-surface);
|
|
165
165
|
box-shadow: 0px 3px 4px 0px var(--moz-color-shadow);
|
|
@@ -172,25 +172,25 @@
|
|
|
172
172
|
display: flex;
|
|
173
173
|
flex-direction: column;
|
|
174
174
|
}
|
|
175
|
-
.list-box:not(.show-top) {
|
|
175
|
+
.list-box:where(.moz-tree-select-list):not(.show-top) {
|
|
176
176
|
top: 48px;
|
|
177
177
|
}
|
|
178
|
-
.list-box.show-top {
|
|
178
|
+
.list-box:where(.moz-tree-select-list).show-top {
|
|
179
179
|
transform: translateY(calc(-100% - 19px));
|
|
180
180
|
}
|
|
181
|
-
.list-box.no-label:not(.show-top) {
|
|
181
|
+
.list-box:where(.moz-tree-select-list).no-label:not(.show-top) {
|
|
182
182
|
top: 34px;
|
|
183
183
|
}
|
|
184
|
-
.list-box.no-label.show-top {
|
|
184
|
+
.list-box:where(.moz-tree-select-list).no-label.show-top {
|
|
185
185
|
transform: translateY(calc(-100% - 4px));
|
|
186
186
|
}
|
|
187
|
-
.list-box .filter-input-wrapper {
|
|
187
|
+
.list-box:where(.moz-tree-select-list) .filter-input-wrapper {
|
|
188
188
|
display: flex;
|
|
189
189
|
align-items: center;
|
|
190
190
|
justify-content: space-between;
|
|
191
191
|
border-bottom: 1px solid var(--moz-color-border);
|
|
192
192
|
}
|
|
193
|
-
.list-box .filter-input {
|
|
193
|
+
.list-box:where(.moz-tree-select-list) .filter-input {
|
|
194
194
|
position: relative;
|
|
195
195
|
box-sizing: border-box;
|
|
196
196
|
display: flex;
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
overflow: hidden;
|
|
199
199
|
flex: 1;
|
|
200
200
|
}
|
|
201
|
-
.list-box .filter-input input {
|
|
201
|
+
.list-box:where(.moz-tree-select-list) .filter-input input {
|
|
202
202
|
width: 100%;
|
|
203
203
|
background-color: transparent;
|
|
204
204
|
color: var(--moz-color-text);
|
|
@@ -207,38 +207,38 @@
|
|
|
207
207
|
border: none;
|
|
208
208
|
outline: none;
|
|
209
209
|
}
|
|
210
|
-
.list-box .filter-input input::placeholder {
|
|
210
|
+
.list-box:where(.moz-tree-select-list) .filter-input input::placeholder {
|
|
211
211
|
color: var(--moz-color-text-subtle);
|
|
212
212
|
}
|
|
213
|
-
.list-box .search-icon {
|
|
213
|
+
.list-box:where(.moz-tree-select-list) .search-icon {
|
|
214
214
|
display: flex;
|
|
215
215
|
justify-content: center;
|
|
216
216
|
align-items: center;
|
|
217
217
|
margin-right: 6px;
|
|
218
218
|
padding-left: 6px;
|
|
219
219
|
}
|
|
220
|
-
.list-box .list-box-container {
|
|
220
|
+
.list-box:where(.moz-tree-select-list) .list-box-container {
|
|
221
221
|
max-height: 250px;
|
|
222
222
|
overflow-y: auto;
|
|
223
223
|
padding: 0.375rem 0;
|
|
224
224
|
flex: 1;
|
|
225
225
|
}
|
|
226
|
-
.list-box:has(.multi-select-all) .list-box-container {
|
|
226
|
+
.list-box:where(.moz-tree-select-list):has(.multi-select-all) .list-box-container {
|
|
227
227
|
padding-top: 0;
|
|
228
228
|
}
|
|
229
|
-
.list-box .multi-select-all {
|
|
229
|
+
.list-box:where(.moz-tree-select-list) .multi-select-all {
|
|
230
230
|
justify-content: space-between;
|
|
231
231
|
margin-top: 0.375rem;
|
|
232
232
|
}
|
|
233
|
-
.list-box .multi-select-all.is-scrolled {
|
|
233
|
+
.list-box:where(.moz-tree-select-list) .multi-select-all.is-scrolled {
|
|
234
234
|
box-shadow: 0px 3px 4px 0px var(--moz-color-shadow);
|
|
235
235
|
}
|
|
236
|
-
.list-box .multi-select-all .select-all-content {
|
|
236
|
+
.list-box:where(.moz-tree-select-list) .multi-select-all .select-all-content {
|
|
237
237
|
display: flex;
|
|
238
238
|
align-items: center;
|
|
239
239
|
gap: 0.375rem;
|
|
240
240
|
}
|
|
241
|
-
.list-box .list-box-item {
|
|
241
|
+
.list-box:where(.moz-tree-select-list) .list-box-item {
|
|
242
242
|
font-size: 0.813rem;
|
|
243
243
|
min-height: 24px;
|
|
244
244
|
line-height: 24px;
|
|
@@ -251,15 +251,15 @@
|
|
|
251
251
|
color: var(--moz-color-text);
|
|
252
252
|
gap: 0.375rem;
|
|
253
253
|
}
|
|
254
|
-
.list-box .list-box-item.loading.not-hover {
|
|
254
|
+
.list-box:where(.moz-tree-select-list) .list-box-item.loading.not-hover {
|
|
255
255
|
cursor: default;
|
|
256
256
|
color: var(--moz-color-text-subtle);
|
|
257
257
|
}
|
|
258
|
-
.list-box .list-box-item.multi-select-item {
|
|
258
|
+
.list-box:where(.moz-tree-select-list) .list-box-item.multi-select-item {
|
|
259
259
|
justify-content: flex-start;
|
|
260
260
|
user-select: none;
|
|
261
261
|
}
|
|
262
|
-
.list-box .list-box-item .item-only {
|
|
262
|
+
.list-box:where(.moz-tree-select-list) .list-box-item .item-only {
|
|
263
263
|
font-size: 0.688rem;
|
|
264
264
|
color: var(--moz-color-text-secondary);
|
|
265
265
|
cursor: pointer;
|
|
@@ -268,30 +268,30 @@
|
|
|
268
268
|
background: transparent;
|
|
269
269
|
border: none;
|
|
270
270
|
}
|
|
271
|
-
.inner-container {
|
|
271
|
+
:where(.moz-tree-select-list) .inner-container {
|
|
272
272
|
position: relative;
|
|
273
273
|
}
|
|
274
|
-
.tree-controls {
|
|
274
|
+
:where(.moz-tree-select-list) .tree-controls {
|
|
275
275
|
display: flex;
|
|
276
276
|
gap: 8px;
|
|
277
277
|
align-items: center;
|
|
278
278
|
padding-right: 8px;
|
|
279
279
|
}
|
|
280
|
-
.tree-controls .control-btn {
|
|
280
|
+
:where(.moz-tree-select-list) .tree-controls .control-btn {
|
|
281
281
|
cursor: pointer;
|
|
282
282
|
color: var(--moz-color-text-subtle);
|
|
283
283
|
display: flex;
|
|
284
284
|
align-items: center;
|
|
285
285
|
}
|
|
286
|
-
.tree-controls .control-btn:hover {
|
|
286
|
+
:where(.moz-tree-select-list) .tree-controls .control-btn:hover {
|
|
287
287
|
color: var(--moz-color-accent);
|
|
288
288
|
}
|
|
289
|
-
.list-footer {
|
|
289
|
+
:where(.moz-tree-select-list) .list-footer {
|
|
290
290
|
border-top: 1px solid var(--moz-color-border);
|
|
291
291
|
padding: 10px;
|
|
292
292
|
flex-shrink: 0;
|
|
293
293
|
}
|
|
294
|
-
.list-footer .footer-checkbox {
|
|
294
|
+
:where(.moz-tree-select-list) .list-footer .footer-checkbox {
|
|
295
295
|
display: flex;
|
|
296
296
|
align-items: center;
|
|
297
297
|
gap: 6px;
|
|
@@ -299,13 +299,13 @@
|
|
|
299
299
|
cursor: pointer;
|
|
300
300
|
user-select: none;
|
|
301
301
|
}
|
|
302
|
-
.list-footer .footer-checkbox span {
|
|
302
|
+
:where(.moz-tree-select-list) .list-footer .footer-checkbox span {
|
|
303
303
|
color: var(--moz-color-text-secondary);
|
|
304
304
|
font-size: 12px;
|
|
305
305
|
font-weight: 500;
|
|
306
306
|
line-height: 100%;
|
|
307
307
|
}
|
|
308
|
-
.tree-item {
|
|
308
|
+
:where(.moz-tree-select-list) .tree-item {
|
|
309
309
|
min-height: 1.5rem;
|
|
310
310
|
font-size: 0.8125rem;
|
|
311
311
|
line-height: 1.5rem;
|
|
@@ -321,29 +321,29 @@
|
|
|
321
321
|
position: absolute;
|
|
322
322
|
width: 100%;
|
|
323
323
|
}
|
|
324
|
-
.tree-item.moz-multi-focus {
|
|
324
|
+
:where(.moz-tree-select-list) .tree-item.moz-multi-focus {
|
|
325
325
|
background-color: var(--moz-color-accent-ghost);
|
|
326
326
|
}
|
|
327
|
-
.tree-item.multi-select-item {
|
|
327
|
+
:where(.moz-tree-select-list) .tree-item.multi-select-item {
|
|
328
328
|
justify-content: flex-start;
|
|
329
329
|
}
|
|
330
|
-
.depth-indicator {
|
|
330
|
+
:where(.moz-tree-select-list) .depth-indicator {
|
|
331
331
|
min-height: 1.5rem;
|
|
332
332
|
}
|
|
333
|
-
.depth-indicator--parent {
|
|
333
|
+
:where(.moz-tree-select-list) .depth-indicator--parent {
|
|
334
334
|
width: calc(var(--depth) * 1.125rem);
|
|
335
335
|
}
|
|
336
|
-
.depth-indicator--last-depth {
|
|
336
|
+
:where(.moz-tree-select-list) .depth-indicator--last-depth {
|
|
337
337
|
width: calc((var(--depth) + 1) * 1.125rem);
|
|
338
338
|
}
|
|
339
|
-
.item-content {
|
|
339
|
+
:where(.moz-tree-select-list) .item-content {
|
|
340
340
|
display: flex;
|
|
341
341
|
min-width: 0;
|
|
342
342
|
flex: 1;
|
|
343
343
|
align-items: center;
|
|
344
344
|
gap: 0.5rem;
|
|
345
345
|
}
|
|
346
|
-
.item-content .icon-container {
|
|
346
|
+
:where(.moz-tree-select-list) .item-content .icon-container {
|
|
347
347
|
display: flex;
|
|
348
348
|
height: 100%;
|
|
349
349
|
align-items: center;
|
|
@@ -353,11 +353,11 @@
|
|
|
353
353
|
padding: 0;
|
|
354
354
|
cursor: pointer;
|
|
355
355
|
}
|
|
356
|
-
.item-content:hover .item-only-btn {
|
|
356
|
+
:where(.moz-tree-select-list) .item-content:hover .item-only-btn {
|
|
357
357
|
position: static;
|
|
358
358
|
opacity: 1;
|
|
359
359
|
}
|
|
360
|
-
.item-content .item-only-btn {
|
|
360
|
+
:where(.moz-tree-select-list) .item-content .item-only-btn {
|
|
361
361
|
position: absolute;
|
|
362
362
|
right: 10px;
|
|
363
363
|
background-color: inherit;
|
|
@@ -372,23 +372,23 @@
|
|
|
372
372
|
line-height: 11px;
|
|
373
373
|
opacity: 0;
|
|
374
374
|
}
|
|
375
|
-
.item-content .item-only-btn:focus {
|
|
375
|
+
:where(.moz-tree-select-list) .item-content .item-only-btn:focus {
|
|
376
376
|
outline: 1px solid var(--moz-color-accent);
|
|
377
377
|
border-radius: var(--moz-radius-xs);
|
|
378
378
|
outline-offset: 1px;
|
|
379
379
|
}
|
|
380
|
-
.highlight-container {
|
|
380
|
+
:where(.moz-tree-select-list) .highlight-container {
|
|
381
381
|
display: inline-block;
|
|
382
382
|
flex-grow: 1;
|
|
383
383
|
overflow: hidden;
|
|
384
384
|
text-overflow: ellipsis;
|
|
385
385
|
white-space: nowrap;
|
|
386
386
|
}
|
|
387
|
-
.highlight {
|
|
387
|
+
:where(.moz-tree-select-list) .highlight {
|
|
388
388
|
font-weight: bold;
|
|
389
389
|
color: var(--moz-color-accent);
|
|
390
390
|
}
|
|
391
|
-
.icon-check {
|
|
391
|
+
:where(.moz-tree-select-list) .icon-check {
|
|
392
392
|
min-width: 12px;
|
|
393
393
|
}
|
|
394
394
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vmscloud/moz-ui-components-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.60",
|
|
4
4
|
"description": "Framework-agnostic headless UI primitives (lit-html) for @vmscloud/moz-ui-components — mount-function factory core. References the moz-ui-grid runtime pattern but has ZERO dependency on any grid package.",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"type": "module",
|