@vmscloud/moz-ui-components-core 0.1.59 → 0.1.61

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.
@@ -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.59",
3
+ "version": "0.1.61",
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",