@webority/theme 0.137.2 → 0.139.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/theme",
3
- "version": "0.137.2",
3
+ "version": "0.139.0",
4
4
  "description": "Webority shared design system — Bootstrap 5.3 SCSS overrides, --wui-* tokens, and shared component CSS. The single source of brand chrome for React portals and Razor sites.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {
@@ -47,7 +47,7 @@
47
47
  "postcss": "^8.5.31"
48
48
  },
49
49
  "devDependencies": {
50
- "@webority/tokens": "0.137.2",
50
+ "@webority/tokens": "0.139.0",
51
51
  "bootstrap": "5.3.3",
52
52
  "country-flag-icons": "^1.6.20",
53
53
  "sass-embedded": "^1.97.0",
@@ -1,4 +1,4 @@
1
- // Generated by @webority/tokens 0.137.2 from its token source. Do not edit; run webority brand --library.
1
+ // Generated by @webority/tokens 0.139.0 from its token source. Do not edit; run webority brand --library.
2
2
  $body-color: #252f4a !default;
3
3
  $body-secondary-color: #4b5675 !default;
4
4
  $body-tertiary-color: #626a82 !default;
@@ -1,4 +1,4 @@
1
- // Generated by @webority/tokens 0.137.2 from its token source. Do not edit; run webority brand --library.
1
+ // Generated by @webority/tokens 0.139.0 from its token source. Do not edit; run webority brand --library.
2
2
 
3
3
  :root {
4
4
  --wui-primary: #4F46E5;
@@ -116,6 +116,7 @@
116
116
  --wui-dark-text-subtle: #8a90a0;
117
117
  --wui-dark-primary: #9590ef;
118
118
  --wui-dark-primary-hover: #a29df1;
119
+ --wui-dark-ai-violet: #A78BFA;
119
120
  --wui-dark-chart-2: #d95926;
120
121
  --wui-dark-chart-3: #199e70;
121
122
  --wui-dark-chart-4: #c98500;
@@ -219,6 +220,7 @@
219
220
  --color-surface-dark-border: color-mix(in srgb, var(--wui-bg-light) 14%, var(--wui-text-heading));
220
221
  --color-on-surface-dark: var(--wui-bg-light);
221
222
  --color-on-surface-dark-muted: color-mix(in srgb, var(--wui-bg-light) 72%, var(--wui-text-heading));
223
+ --color-surface-ink: #0B0E16;
222
224
  --color-text: var(--wui-text-heading);
223
225
  --color-text-body: var(--wui-text-1);
224
226
  --color-text-muted: var(--wui-text-2);
@@ -322,9 +324,17 @@
322
324
  --wui-pressed-overlay: color-mix(in srgb, currentColor 12%, transparent);
323
325
  --wui-hero-gradient: radial-gradient(ellipse 120% 80% at 50% 30%, #818CF8 0%, #4F46E5 35%, #4338CA 75%, #312E81 100%);
324
326
  --wui-cta-gradient: radial-gradient(ellipse 120% 100% at 50% 50%, #312E81 0%, #1E1B4B 60%, #0F0D2E 100%);
327
+ --wui-ai-violet: #7C3AED;
328
+ --wui-ai-cyan: #0E9BD6;
329
+ --wui-ai-green: #12B886;
330
+ --wui-ai-sweep: var(--color-primary), var(--wui-ai-violet), var(--wui-ai-cyan), var(--wui-ai-green), var(--color-primary);
331
+ --wui-progress-gradient-ok: linear-gradient(90deg, var(--color-success), var(--color-chart-3));
332
+ --wui-progress-gradient-warn: linear-gradient(90deg, var(--color-warning), var(--color-danger));
325
333
  --wui-lh-heading: 1.2;
326
334
  --wui-lh-body: 1.55;
327
335
  --wui-lh-display: 1.05;
336
+ --wui-lh-prose: 1.7;
337
+ --wui-lh-lead: 1.6;
328
338
  --wui-field-sm-radius: var(--wui-radius-md);
329
339
  --wui-field-md-radius: var(--wui-radius-md);
330
340
  --wui-field-lg-radius: var(--wui-radius-md);
@@ -497,6 +507,7 @@
497
507
  --color-chart-diverging-high: var(--wui-dark-chart-diverging-high);
498
508
  --color-chart-neutral: var(--wui-dark-chart-neutral);
499
509
  --wui-close-filter: invert(1) grayscale(100%) brightness(200%);
510
+ --wui-ai-violet: var(--wui-dark-ai-violet);
500
511
  --wui-thumb-shadow: 0 2px 6px rgba(255, 255, 255, 0.1);
501
512
  --wui-thumb-shadow-hover: 0 2px 12px rgba(255, 255, 255, 0.2);
502
513
  --bs-body-color: var(--color-text);
@@ -658,6 +669,7 @@
658
669
  --color-chart-diverging-high: var(--wui-dark-chart-diverging-high);
659
670
  --color-chart-neutral: var(--wui-dark-chart-neutral);
660
671
  --wui-close-filter: invert(1) grayscale(100%) brightness(200%);
672
+ --wui-ai-violet: var(--wui-dark-ai-violet);
661
673
  --wui-thumb-shadow: 0 2px 6px rgba(255, 255, 255, 0.1);
662
674
  --wui-thumb-shadow-hover: 0 2px 12px rgba(255, 255, 255, 0.2);
663
675
  --bs-body-color: var(--color-text);
@@ -715,11 +727,12 @@ $wui-dark-layer-names: (
715
727
  color-on-info, color-on-info-strong, color-chart-1, color-chart-2, color-chart-3, color-chart-4,
716
728
  color-chart-5, color-chart-6, color-chart-7, color-chart-8, color-chart-seq-0, color-chart-seq-1,
717
729
  color-chart-seq-2, color-chart-seq-3, color-chart-seq-4, color-chart-seq-5, color-chart-seq-6, color-chart-diverging-low,
718
- color-chart-diverging-mid, color-chart-diverging-high, color-chart-neutral, wui-close-filter, wui-thumb-shadow, wui-thumb-shadow-hover,
719
- bs-body-color, bs-emphasis-color, bs-secondary-color, bs-tertiary-color, bs-heading-color, bs-body-bg,
720
- bs-border-color, bs-secondary-bg, bs-tertiary-bg, bs-primary, bs-body-bg-rgb, bs-primary-rgb,
721
- bs-body-color-rgb, bs-emphasis-color-rgb, bs-secondary-color-rgb, bs-tertiary-color-rgb, bs-secondary-bg-rgb, bs-tertiary-bg-rgb,
722
- bs-border-color-rgb, bs-secondary-rgb, bs-link-color, bs-link-color-rgb, bs-link-hover-color, bs-link-hover-color-rgb
730
+ color-chart-diverging-mid, color-chart-diverging-high, color-chart-neutral, wui-close-filter, wui-ai-violet, wui-thumb-shadow,
731
+ wui-thumb-shadow-hover, bs-body-color, bs-emphasis-color, bs-secondary-color, bs-tertiary-color, bs-heading-color,
732
+ bs-body-bg, bs-border-color, bs-secondary-bg, bs-tertiary-bg, bs-primary, bs-body-bg-rgb,
733
+ bs-primary-rgb, bs-body-color-rgb, bs-emphasis-color-rgb, bs-secondary-color-rgb, bs-tertiary-color-rgb, bs-secondary-bg-rgb,
734
+ bs-tertiary-bg-rgb, bs-border-color-rgb, bs-secondary-rgb, bs-link-color, bs-link-color-rgb, bs-link-hover-color,
735
+ bs-link-hover-color-rgb
723
736
  );
724
737
 
725
738
  // var() resolves where a name is declared, so the html copies keep the light values for a light box.
@@ -879,6 +892,7 @@ html {
879
892
  --color-chart-diverging-high: var(--wui-dark-chart-diverging-high);
880
893
  --color-chart-neutral: var(--wui-dark-chart-neutral);
881
894
  --wui-close-filter: invert(1) grayscale(100%) brightness(200%);
895
+ --wui-ai-violet: var(--wui-dark-ai-violet);
882
896
  --wui-thumb-shadow: 0 2px 6px rgba(255, 255, 255, 0.1);
883
897
  --wui-thumb-shadow-hover: 0 2px 12px rgba(255, 255, 255, 0.2);
884
898
  --bs-body-color: var(--color-text);
@@ -1045,6 +1059,7 @@ html {
1045
1059
  --color-chart-diverging-high: var(--wui-chart-diverging-high);
1046
1060
  --color-chart-neutral: var(--wui-chart-neutral);
1047
1061
  --wui-close-filter: none;
1062
+ --wui-ai-violet: #7C3AED;
1048
1063
  --wui-thumb-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
1049
1064
  --wui-thumb-shadow-hover: 0 2px 12px rgba(0, 0, 0, 0.2);
1050
1065
  --bs-body-color: var(--color-text);
@@ -1213,6 +1228,7 @@ html {
1213
1228
  --color-chart-diverging-high: var(--wui-chart-diverging-high);
1214
1229
  --color-chart-neutral: var(--wui-chart-neutral);
1215
1230
  --wui-close-filter: none;
1231
+ --wui-ai-violet: #7C3AED;
1216
1232
  --wui-thumb-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
1217
1233
  --wui-thumb-shadow-hover: 0 2px 12px rgba(0, 0, 0, 0.2);
1218
1234
  --bs-body-color: var(--color-text);
@@ -29,6 +29,7 @@
29
29
  @import "wui/controls";
30
30
  @import "wui/pending";
31
31
  @import "wui/choice";
32
+ @import "wui/select";
32
33
  @import "wui/media";
33
34
  @import "wui/file-tiles";
34
35
  @import "wui/image-crop";
@@ -95,7 +96,7 @@
95
96
  // Country flags are NOT part of this aggregate. The 245 `.wui-flag-*` rules are about 187KB raw
96
97
  // (38KB Brotli) of inlined SVG, and most sites never render a phone field or country picker.
97
98
  // A site that does imports `@webority/theme/scss/flags` once, after this file; without it
98
- // <wui-phone> and <wui-country-select> show an empty grey box where the flag should be.
99
+ // <wui-phone> and <wui-select mode="country"> show an empty grey box where the flag should be.
99
100
  @import "wui/shell";
100
101
  @import "wui/shell-parts";
101
102
  @import "wui/account-switcher";
@@ -22,6 +22,7 @@
22
22
  @import "wui/controls";
23
23
  @import "wui/pending";
24
24
  @import "wui/choice";
25
+ @import "wui/select";
25
26
  @import "wui/media";
26
27
  @import "wui/file-tiles";
27
28
  @import "wui/avatar-picker";
@@ -81,7 +82,7 @@
81
82
  // Country flags are NOT part of this layer. The 245 `.wui-flag-*` rules are about 187KB raw
82
83
  // (38KB Brotli) of inlined SVG, and most sites never render a phone field or country picker.
83
84
  // A site that does imports `@webority/theme/scss/flags` once, after this file; without it
84
- // <wui-phone> and <wui-country-select> show an empty grey box where the flag should be.
85
+ // <wui-phone> and <wui-select mode="country"> show an empty grey box where the flag should be.
85
86
  @import "wui/shell";
86
87
  @import "wui/shell-parts";
87
88
  @import "wui/account-switcher";
@@ -251,329 +251,6 @@
251
251
  display: none;
252
252
  }
253
253
 
254
- // ── Search select ──
255
- .search-select {
256
- position: relative;
257
- min-width: 0;
258
- }
259
- .search-select-control {
260
- display: flex;
261
- align-items: center;
262
- justify-content: space-between;
263
- gap: 8px;
264
- text-align: left;
265
- cursor: pointer;
266
- width: 100%;
267
- min-width: 0;
268
- }
269
- .search-select-control > span {
270
- min-width: 0;
271
- overflow: hidden;
272
- text-overflow: ellipsis;
273
- white-space: nowrap;
274
- }
275
- .search-select-control:disabled {
276
- cursor: not-allowed;
277
- opacity: var(--wui-disabled-opacity);
278
- }
279
- .search-select-control:hover:not(:disabled):not(.open):not([aria-invalid="true"]):not(:has(.search-select-ac-input:disabled)):not([aria-disabled="true"]) {
280
- // Not while open — an open control keeps its active (primary) border, not the grey hover one.
281
- // Not while invalid — an errored control (aria-invalid mirrored from the host) holds its red
282
- // border on hover rather than reverting to the grey hover one.
283
- border-color: var(--color-field-border-hover);
284
- }
285
- .search-select-control.open {
286
- // White fill + the active/focus border, matching a focused text input (which lifts off the
287
- // muted resting fill onto white with a --color-field-border-focus border). Keeps the control seamless
288
- // with the open menu and the floated label's white mask.
289
- background: var(--color-surface);
290
- border-color: var(--color-field-border-focus);
291
- }
292
- // Closed again (a value picked, Escape), focus stays on the trigger: it returns to the resting
293
- // fill and border, as the date picker does. Only the open list shows the focus border; keyboard
294
- // focus still draws the ring below.
295
- .search-select-control:focus:not(.open):not([aria-invalid="true"]):not(.error):not(.is-invalid) {
296
- background: var(--color-field-bg);
297
- border-color: var(--color-field-border);
298
- }
299
- // Keyboard focus draws a ring, not just the 1px border change: a control that only recolours its
300
- // border fails WCAG 2.4.7 / 2.4.11. A single-select button and a multi-select div hold focus
301
- // themselves; the typing variants (autocomplete, tag input, allow-custom multi-select) keep it on
302
- // an inner input, so the ring follows `:has(:focus-visible)`. It uses the shared keyboard ring
303
- // colour, not the soft field focus border, so it clears 3:1 in both themes.
304
- .search-select-control:focus-visible,
305
- .search-select-control:has(> .search-select-input:focus-visible),
306
- .search-select-control:has(.ms-input:focus-visible) {
307
- outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
308
- outline-offset: var(--wui-focus-ring-offset);
309
- }
310
- .search-select-caret {
311
- flex-shrink: 0;
312
- color: var(--color-text-muted);
313
- transition: transform 0.15s ease;
314
- }
315
- .search-select-caret path {
316
- stroke-width: 2px;
317
- }
318
- .search-select-control.open .search-select-caret {
319
- transform: rotate(180deg);
320
- }
321
- .search-select-placeholder {
322
- color: var(--color-text-subtle);
323
- }
324
-
325
- // Sizes — mirror AppInput's .input-sm / .input-lg so a select lines up with the
326
- // text fields beside it. md is the base .search-select-control height.
327
- .search-select-sm .search-select-control {
328
- height: var(--wui-control-sm);
329
- min-height: var(--wui-control-sm);
330
- font-size: 13px;
331
- border-radius: var(--wui-field-sm-radius);
332
- }
333
- .search-select-lg .search-select-control {
334
- height: var(--wui-control-lg);
335
- min-height: var(--wui-control-lg);
336
- font-size: 16px;
337
- border-radius: var(--wui-field-lg-radius);
338
- }
339
- // Multi-select grows with its chips, so a size sets the FLOOR (min-height from the rule
340
- // above) but never a fixed height — reset height:auto so a second row of chips can appear.
341
- .search-select-sm .search-select-multi,
342
- .search-select-lg .search-select-multi {
343
- height: auto;
344
- }
345
- // AppSelect compact is <wui-select compact>: sm sits on the 32px sm rung, lg one rung below the lg
346
- // field, never under 32px. The compound selector outranks both the plain size rule and the compact rule.
347
- .search-select-compact.search-select-sm .search-select-control {
348
- height: var(--wui-control-sm);
349
- min-height: var(--wui-control-sm);
350
- font-size: 12px;
351
- }
352
- .search-select-compact.search-select-lg .search-select-control {
353
- height: var(--wui-control-md);
354
- min-height: var(--wui-control-md);
355
- font-size: 14px;
356
- }
357
-
358
- // Clear (✕) — sits between the value and the caret, shown only once a value is
359
- // chosen. It is a <span role="button"> inside the trigger <button> (a nested
360
- // <button> is invalid); the JS stops its click from toggling the menu.
361
- .search-select-control > span[data-label] {
362
- flex: 1;
363
- }
364
- .search-select-reset {
365
- flex-shrink: 0;
366
- display: grid;
367
- place-items: center;
368
- width: 20px;
369
- height: 20px;
370
- border-radius: 50%;
371
- font-size: 12px;
372
- color: var(--color-text-subtle);
373
- cursor: pointer;
374
- transition:
375
- background 0.12s ease,
376
- color 0.12s ease;
377
- }
378
- .search-select-reset:hover {
379
- background: var(--color-bg-muted);
380
- color: var(--color-text);
381
- }
382
-
383
- // Leading icon + static prefix (e.g. a funnel glyph, or "Sort:") — cluster at the
384
- // start of the control, before the value. Mainly for the mini toolbar picker.
385
- .search-select-icon {
386
- flex-shrink: 0;
387
- display: inline-flex;
388
- color: var(--color-text-muted);
389
- font-size: 15px;
390
- }
391
- .search-select-prefix {
392
- flex-shrink: 0;
393
- color: var(--color-text-subtle);
394
- font-weight: 400;
395
- }
396
-
397
- // Per-option leading glyph — wraps icon + label as one node (menu row, the selected
398
- // value in the control, and chips all render through optionLabelHtml). The icon inherits
399
- // the row's colour so it recolours with the label on hover / when selected.
400
- .wui-opt-label {
401
- display: inline-flex;
402
- align-items: center;
403
- gap: 8px;
404
- min-width: 0;
405
- vertical-align: middle;
406
- }
407
- .wui-opt-label > .wui-icon {
408
- flex-shrink: 0;
409
- width: 15px;
410
- height: 15px;
411
- }
412
-
413
- // AppSelect compact (page size, a range switch, a toolbar picker). It shares every behaviour
414
- // with the full select and differs only in metrics.
415
- //
416
- // <wui-select compact> emitted this class and NOTHING styled it, so a compact picker rendered
417
- // byte-identical to a full-size select on both surfaces. It was invisible
418
- // to every gate because the class check only ever scanned the Razor tag helpers, never the
419
- // elements package that actually emits it.
420
- //
421
- // The metrics deliberately match `.select.tpg-select` (the native page-size select in table
422
- // pagination) so a compact wui select and a compact native select read as one control
423
- // rather than two sizes of the same idea.
424
- .search-select-compact .search-select-control {
425
- height: var(--wui-control-sm);
426
- min-height: var(--wui-control-sm);
427
- min-width: 64px;
428
- padding: 0 10px;
429
- font-size: 13px;
430
- font-weight: 600;
431
- }
432
- .search-select-compact .search-select-caret {
433
- font-size: 12px;
434
- }
435
- // Menu matches the themed-select dropdown: 16px squircle, 4px padding, soft
436
- // shadow.
437
- .search-select-menu {
438
- position: absolute;
439
- z-index: 40;
440
- top: calc(100% + 6px);
441
- left: 0;
442
- right: 0;
443
- background: var(--color-surface);
444
- border: 1px solid var(--color-border);
445
- border-radius: var(--wui-radius-lg);
446
- corner-shape: squircle;
447
- box-shadow: var(--wui-shadow-popover);
448
- padding: 4px;
449
- overflow: hidden;
450
- }
451
- // Portalled to <body>: fixed-positioned (top/left set inline from the
452
- // trigger rect) so the menu overlays instead of being clipped by a
453
- // scrollable modal / table card. Sits above the modal layer.
454
- .search-select-menu-fixed {
455
- position: fixed;
456
- z-index: var(--wui-z-menu);
457
- right: auto;
458
- top: auto;
459
- left: auto;
460
- }
461
- // Search box matches the search bar: rounded field, leading icon turns
462
- // primary.
463
- .search-select-search {
464
- position: relative;
465
- display: flex;
466
- align-items: center;
467
- gap: 8px;
468
- margin: 4px;
469
- padding: 0 12px;
470
- height: 40px;
471
- border: 1px solid var(--color-field-border);
472
- border-radius: var(--wui-radius-md);
473
- // AppInput's field model: muted resting fill that lifts to a clean surface on focus.
474
- background: var(--color-field-bg);
475
- color: var(--color-text-subtle);
476
- }
477
- // Hover and focus follow AppInput, as the phone country search does: a stronger border on hover,
478
- // then a clean surface fill + soft primary border on focus.
479
- .search-select-search:hover:not(:focus-within) {
480
- border-color: var(--color-field-border-hover);
481
- }
482
- .search-select-search:focus-within {
483
- background: var(--color-surface);
484
- border-color: var(--color-field-border-focus);
485
- }
486
- .search-select-search:focus-within svg {
487
- color: var(--color-primary-text);
488
- }
489
- .search-select-clear {
490
- display: grid;
491
- place-items: center;
492
- width: 26px;
493
- height: 26px;
494
- border: none;
495
- background: transparent;
496
- padding: 0;
497
- // Sits at the box's 12px right padding; a small negative margin nudges it
498
- // closer to the edge so it lines up with the field's own trailing controls.
499
- margin-right: -4px;
500
- font-size: 20px;
501
- // Tight line box: at normal line-height the icon's box is taller than the
502
- // button, so bootstrap-icons' baseline offset drifts the glyph low.
503
- line-height: 1;
504
- cursor: pointer;
505
- color: var(--color-text-subtle);
506
- }
507
- .search-select-clear:hover {
508
- color: var(--color-text);
509
- }
510
- .search-select-input {
511
- flex: 1;
512
- border: none;
513
- outline: none;
514
- font-size: 14px;
515
- font-family: inherit;
516
- color: var(--color-text);
517
- background: transparent;
518
- }
519
- // AppInput's placeholder colour, not the browser default grey.
520
- .search-select-input::placeholder {
521
- color: var(--color-text-subtle);
522
- }
523
- .search-select-options {
524
- max-height: 300px;
525
- overflow-y: auto;
526
- padding: 4px;
527
- display: flex;
528
- flex-direction: column;
529
- gap: 4px;
530
- }
531
- .search-select-option {
532
- display: flex;
533
- align-items: center;
534
- justify-content: space-between;
535
- gap: 8px;
536
- width: 100%;
537
- text-align: left;
538
- padding: 9px 14px;
539
- line-height: 1.4;
540
- border: none;
541
- border-radius: var(--wui-radius-md);
542
- corner-shape: squircle;
543
- background: transparent;
544
- font-size: 14px;
545
- color: var(--color-text);
546
- cursor: pointer;
547
- transition:
548
- background 0.12s ease,
549
- color 0.12s ease;
550
- }
551
- // The row under the pointer or the keyboard: a light tint and a light 1px edge, softer than the
552
- // selected row's fill so the two stay apart.
553
- .search-select-option:hover,
554
- .search-select-option.is-active {
555
- background: color-mix(in srgb, var(--color-primary-soft) 55%, transparent);
556
- color: var(--color-primary-text);
557
- outline: 1px solid var(--color-field-border-focus);
558
- outline-offset: -1px;
559
- }
560
- .search-select-option.selected {
561
- background: var(--color-primary-soft);
562
- color: var(--color-primary-text);
563
- font-weight: 500;
564
- }
565
- // allow-custom's freeform row — reads as an action ("Add "…"") rather than a listed value.
566
- .search-select-option-custom {
567
- font-style: italic;
568
- color: var(--color-primary-text);
569
- }
570
- .search-select-empty {
571
- padding: 12px 10px;
572
- font-size: 13px;
573
- color: var(--color-text-subtle);
574
- text-align: center;
575
- }
576
-
577
254
  // ── Date picker ──
578
255
  // Custom DatePicker — themed popover calendar (the native popup can't be
579
256
  // styled).
@@ -623,7 +300,7 @@
623
300
  .datepicker.open .datepicker-trigger {
624
301
  // While the calendar is open the trigger reads as a focused field — clean white surface, not
625
302
  // the muted resting fill. Opening moves focus INTO the popup, so :focus drops off the trigger;
626
- // this .open rule keeps it white (matching .search-select-control.open) instead of snapping
303
+ // this .open rule keeps it white instead of snapping
627
304
  // back to grey the moment the dropdown appears.
628
305
  background-color: var(--color-surface);
629
306
  border-color: var(--color-field-border-focus);
@@ -1330,11 +1007,11 @@ wui-timepicker[aria-invalid="true"] .timepicker.open .timepicker-trigger {
1330
1007
  padding-left: 14px;
1331
1008
  }
1332
1009
 
1333
- // Menu, search field and rows all share the .search-select language so the
1010
+ // Menu, search field and rows all share the .wui-select language so the
1334
1011
  // country picker reads as the same component family as every other picker.
1335
1012
  // Fixed, with top/left set from the trigger rect by <wui-phone>, so an
1336
1013
  // overflow-hidden card/modal/table wrapper can't clip the list. Sits above the
1337
- // modal layer, matching .search-select-menu-fixed and .datepicker-pop.
1014
+ // modal layer, matching .wui-select-menu-fixed and .datepicker-pop.
1338
1015
  .country-dropdown-menu {
1339
1016
  position: fixed;
1340
1017
  z-index: var(--wui-z-menu);
@@ -1410,7 +1087,7 @@ wui-timepicker[aria-invalid="true"] .timepicker.open .timepicker-trigger {
1410
1087
  border-radius: 999px;
1411
1088
  }
1412
1089
  // Rounded, inset rows with a primary-tinted hover — identical to
1413
- // .search-select-option. (!important is required: react-bootstrap's
1090
+ // .wui-select-option. (!important is required: react-bootstrap's
1414
1091
  // .dropdown-item ships its own colour/padding at equal specificity.)
1415
1092
  .country-dropdown-item {
1416
1093
  display: flex !important;
@@ -505,7 +505,7 @@ textarea.form-control.autosize {
505
505
  .form-select:hover:not(:focus):not(:disabled):not([aria-invalid="true"]):not(.is-invalid):not(.error),
506
506
  .input:hover:not(:focus):not(:disabled):not([readonly]):not([aria-invalid="true"]):not(.is-invalid):not(.error):not(.open):not([aria-expanded="true"]):not(
507
507
  .phone-input-wrap > .input
508
- ):not(:has(.search-select-ac-input:disabled)):not([aria-disabled="true"]),
508
+ ):not([aria-disabled="true"]),
509
509
  .select:hover:not(:focus):not(:disabled):not([aria-invalid="true"]):not(.is-invalid):not(.error),
510
510
  .textarea:hover:not(:focus):not(:disabled):not([readonly]):not([aria-invalid="true"]):not(.is-invalid):not(.error) {
511
511
  background-color: var(--color-field-bg);
@@ -1208,38 +1208,6 @@ $wui-field-error-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/
1208
1208
  .field-float.wui-float-above .input[aria-invalid="true"] ~ .float-label {
1209
1209
  background: transparent;
1210
1210
  }
1211
- // Floating label for AppSelect — the trigger is a <button>, so there is no
1212
- // :placeholder-shown to key off. :has() raises the label when the control is
1213
- // focused/open, or once a value is chosen (the label span drops
1214
- // .search-select-placeholder the moment something is selected).
1215
- .field-float:has(.search-select-control:focus) .float-label,
1216
- .field-float:has(.search-select-control.open) .float-label,
1217
- .field-float:has([data-label]:not(.search-select-placeholder)) .float-label {
1218
- top: 0;
1219
- transform: translateY(-50%) scale(0.86);
1220
- }
1221
- .field-float:has(.search-select-control.open) .float-label {
1222
- color: var(--color-primary-text);
1223
- // The control turns white while open, so the label mask follows (a closed select keeps the
1224
- // default muted mask, matching its muted resting fill, even while it holds focus).
1225
- background: var(--color-surface);
1226
- }
1227
- // Above placement for AppSelect: the same triggers, resting above the box as the input's does.
1228
- .field-float.wui-float-above:has(.search-select-control:focus) .float-label,
1229
- .field-float.wui-float-above:has(.search-select-control.open) .float-label,
1230
- .field-float.wui-float-above:has([data-label]:not(.search-select-placeholder)) .float-label {
1231
- top: 0;
1232
- left: 0;
1233
- padding: 0;
1234
- transform: scale(0.86);
1235
- font-weight: var(--wui-fw-medium);
1236
- }
1237
- .field-float.wui-float-above:has([data-label]:not(.search-select-placeholder)):not(:has(.search-select-control.open)) .float-label {
1238
- color: var(--color-text);
1239
- }
1240
- .field-float.wui-float-above:has(.search-select-control.open) .float-label {
1241
- background: transparent;
1242
- }
1243
1211
 
1244
1212
  .hint,
1245
1213
  .field-hint {
@@ -1329,7 +1297,7 @@ $wui-field-error-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/
1329
1297
  // Controls fill their field even though .field aligns children flex-start.
1330
1298
  //
1331
1299
  // The `<wui-*>` entries are load-bearing, not defensive. Every hard interactive control
1332
- // is now `.field > wui-select > .search-select`, so the child combinator below stopped
1300
+ // is now `.field > wui-select > .wui-select`, so the child combinator below stopped
1333
1301
  // reaching the inner div AND the real flex item — the custom element — was named by no
1334
1302
  // rule at all. With `align-items: flex-start` above, that means it shrinks to its
1335
1303
  // content: a select rendered 164px wide in a 377px column. Neither render parity nor the
@@ -1341,33 +1309,17 @@ $wui-field-error-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/
1341
1309
  // into a plain div, a grid cell, a table cell — it would still collapse. Being a flex
1342
1310
  // item blockifies it; nothing else does.
1343
1311
  wui-select,
1344
- wui-country-select,
1345
- wui-autocomplete,
1346
- wui-multiselect,
1347
- wui-taginput,
1348
1312
  wui-phone,
1349
1313
  wui-datepicker,
1350
1314
  wui-date-range {
1351
1315
  display: block;
1352
1316
  width: 100%;
1353
1317
  }
1354
- // AppSelect compact renders <wui-select compact> — a page-size / range picker that is
1355
- // deliberately narrow and does NOT belong to a .field. It has to opt out of the width
1356
- // above, or every toolbar picker stretches across its toolbar.
1357
- wui-select[compact] {
1358
- display: inline-block;
1359
- width: auto;
1360
- max-width: 100%;
1361
- }
1362
1318
  .field > wui-select,
1363
- .field > wui-country-select,
1364
- .field > wui-autocomplete,
1365
- .field > wui-multiselect,
1366
- .field > wui-taginput,
1367
1319
  .field > wui-phone,
1368
1320
  .field > wui-datepicker,
1369
1321
  .field > wui-date-range,
1370
- .field > .search-select,
1322
+ .field > .wui-select,
1371
1323
  .field > .input-with-unit,
1372
1324
  .field > .input-action-row,
1373
1325
  .field > .num-wrap,
@@ -1380,22 +1332,6 @@ wui-select[compact] {
1380
1332
  .field > .wui-score-scale {
1381
1333
  align-self: stretch;
1382
1334
  }
1383
- // A chosen value's photo or initials sits at the control's start edge, and the start padding makes
1384
- // room for it: the avatar's own width plus the control's gap. The width is .avatar-xs's fixed size,
1385
- // a layout constant with no token. Logical properties, so the start edge follows the reading direction.
1386
- .search-select-control.wui-has-value-avatar {
1387
- --wui-search-select-value-avatar-size: 20px;
1388
- position: relative;
1389
- padding-inline-start: calc(var(--wui-space-md) + var(--wui-search-select-value-avatar-size) + var(--wui-space-sm));
1390
- }
1391
- .search-select-control.wui-has-value-avatar > .wui-search-select-value-avatar {
1392
- position: absolute;
1393
- inset-inline-start: var(--wui-space-md);
1394
- top: 50%;
1395
- transform: translateY(-50%);
1396
- display: inline-flex;
1397
- pointer-events: none;
1398
- }
1399
1335
  // A file picker fills its column by default (align-self:stretch fills the field on the cross
1400
1336
  // axis, but the field itself collapses to its content when it is a flex item — the showcase
1401
1337
  // lays fields out in a flex row — so stretch the field to its container first). Override per
@@ -430,7 +430,6 @@
430
430
  // label, are the bare custom element, not a .field, and on its own it fills its line.
431
431
  .wui-filter-bar > .field,
432
432
  .wui-filter-bar > wui-select,
433
- .wui-filter-bar > wui-multiselect,
434
433
  .wui-filter-bar > wui-date-range {
435
434
  flex: 1 1 180px;
436
435
  min-width: 0;
@@ -466,7 +465,6 @@
466
465
  @media (max-width: 575.98px) {
467
466
  .wui-filter-bar > .field,
468
467
  .wui-filter-bar > wui-select,
469
- .wui-filter-bar > wui-multiselect,
470
468
  .wui-filter-bar > wui-date-range,
471
469
  .wui-filter-bar > .search-wrap {
472
470
  flex-basis: 100%;
@@ -492,8 +490,6 @@
492
490
  .wui-filter-more-panel > .wui-filter-popover-field > .field,
493
491
  .wui-filter-more-panel > wui-select,
494
492
  .wui-filter-more-panel > .wui-filter-popover-field > wui-select,
495
- .wui-filter-more-panel > wui-multiselect,
496
- .wui-filter-more-panel > .wui-filter-popover-field > wui-multiselect,
497
493
  .wui-filter-more-panel > wui-date-range,
498
494
  .wui-filter-more-panel > .wui-filter-popover-field > wui-date-range,
499
495
  .wui-filter-more-panel > .search-wrap,
@@ -62,7 +62,7 @@
62
62
  }
63
63
 
64
64
  // On-demand widgets (file viewer, rich text, workspace switcher) floor their own fields.
65
- .search-select-input,
65
+ .wui-select-input,
66
66
  .dropdown-search-input {
67
67
  font-size: 16px;
68
68
  }