@webority/theme 0.149.0 → 0.152.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.
Files changed (66) hide show
  1. package/README.md +9 -0
  2. package/css-import.d.ts +2 -0
  3. package/dist/postcss/forced-states.d.mts +11 -0
  4. package/dist/postcss/forced-states.mjs +1 -1
  5. package/dist/purge-safelist.json +24 -1
  6. package/dist/runtime/index.d.mts +6 -0
  7. package/dist/runtime/productTheme.d.mts +25 -0
  8. package/dist/runtime.mjs +2 -2
  9. package/dist/webority-theme.css +1 -1
  10. package/dist/webority-tokens.css +1 -1
  11. package/package.json +34 -11
  12. package/scss/_bootstrap.generated.scss +1 -1
  13. package/scss/_components.scss +139 -52
  14. package/scss/_marketing.scss +10 -10
  15. package/scss/_tokens.generated.scss +26 -1
  16. package/scss/wui/_calendar.scss +6 -6
  17. package/scss/wui/_card.scss +3 -3
  18. package/scss/wui/_carousel.scss +3 -3
  19. package/scss/wui/_chart-card.scss +33 -1
  20. package/scss/wui/_chart.scss +4 -4
  21. package/scss/wui/_choice.scss +48 -43
  22. package/scss/wui/_command-palette.scss +2 -2
  23. package/scss/wui/_comment-thread.scss +2 -2
  24. package/scss/wui/_compare-table.scss +27 -0
  25. package/scss/wui/_controls.scss +54 -48
  26. package/scss/wui/_data.scss +26 -16
  27. package/scss/wui/_dialog-motion.scss +4 -4
  28. package/scss/wui/_disclosure.scss +4 -4
  29. package/scss/wui/_display.scss +61 -26
  30. package/scss/wui/_dock.scss +6 -6
  31. package/scss/wui/_drawer.scss +2 -2
  32. package/scss/wui/_field-busy.scss +1 -1
  33. package/scss/wui/_field-floor.scss +2 -1
  34. package/scss/wui/_file-viewer.scss +3 -3
  35. package/scss/wui/_flow.scss +15 -13
  36. package/scss/wui/_inline-edit.scss +2 -2
  37. package/scss/wui/_interaction.scss +1 -2
  38. package/scss/wui/_kanban.scss +16 -6
  39. package/scss/wui/_lightbox.scss +2 -2
  40. package/scss/wui/_media.scss +48 -48
  41. package/scss/wui/_modal-remote.scss +1 -1
  42. package/scss/wui/_navigation-menu.scss +1 -1
  43. package/scss/wui/_navigation.scss +68 -18
  44. package/scss/wui/_notification-center.scss +3 -3
  45. package/scss/wui/_onboarding-checklist.scss +1 -1
  46. package/scss/wui/_overlays.scss +28 -40
  47. package/scss/wui/_pagination.scss +4 -4
  48. package/scss/wui/_rating.scss +1 -1
  49. package/scss/wui/_resizable.scss +1 -1
  50. package/scss/wui/_rich-text.scss +4 -4
  51. package/scss/wui/_score-scale.scss +3 -3
  52. package/scss/wui/_sections.scss +2 -2
  53. package/scss/wui/_shell-parts.scss +53 -5
  54. package/scss/wui/_shell.scss +56 -57
  55. package/scss/wui/_sortable.scss +2 -2
  56. package/scss/wui/_split-view.scss +2 -2
  57. package/scss/wui/_support.scss +1 -1
  58. package/scss/wui/_table-server.scss +1 -1
  59. package/scss/wui/_theme-toggle.scss +1 -1
  60. package/scss/wui/_toolbar.scss +7 -7
  61. package/scss/wui/_tree.scss +3 -3
  62. package/scss/wui/_utilities.scss +29 -11
  63. package/scss/wui/_workspace.scss +2 -2
  64. package/scss/wui/tour/_end.scss +1 -1
  65. package/scss/wui/tour/_motion.scss +4 -4
  66. package/token-meanings.json +2 -0
@@ -70,8 +70,8 @@
70
70
  border: 1px solid var(--color-border);
71
71
  border-radius: var(--wui-radius-lg);
72
72
  transition:
73
- background-color 160ms var(--wui-ease-ui),
74
- border-color 160ms var(--wui-ease-ui);
73
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
74
+ border-color var(--wui-duration-fast) var(--wui-ease-ui);
75
75
  }
76
76
 
77
77
  // ── Column head ──
@@ -152,6 +152,16 @@
152
152
  .wui-kanban[data-head-layout="stacked"] .wui-kanban-title {
153
153
  flex: 1 0 100%;
154
154
  }
155
+ // head-truncate: a long stage name keeps one line and ends in an ellipsis, so fixed-width columns keep their cards in line.
156
+ .wui-kanban[data-head-truncate] .wui-kanban-column:not([data-collapsed]) .wui-kanban-head {
157
+ flex-wrap: nowrap;
158
+ }
159
+ .wui-kanban[data-head-truncate] .wui-kanban-column:not([data-collapsed]) .wui-kanban-title {
160
+ white-space: nowrap;
161
+ overflow: hidden;
162
+ text-overflow: ellipsis;
163
+ overflow-wrap: normal;
164
+ }
155
165
 
156
166
  // The page's own controls at the right of the column head (a "+" that adds a card, say). They sit
157
167
  // before the collapse button, which then gives up its auto margin.
@@ -192,7 +202,7 @@
192
202
  margin-inline-start: auto;
193
203
 
194
204
  svg {
195
- transition: transform 160ms var(--wui-ease-ui);
205
+ transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
196
206
  }
197
207
  }
198
208
  // The column itself is the muted fill, so hover lifts to the surface.
@@ -258,8 +268,8 @@
258
268
  user-select: none;
259
269
  -webkit-user-select: none;
260
270
  transition:
261
- box-shadow 160ms var(--wui-ease-ui),
262
- opacity 160ms var(--wui-ease-ui);
271
+ box-shadow var(--wui-duration-fast) var(--wui-ease-ui),
272
+ opacity var(--wui-duration-fast) var(--wui-ease-ui);
263
273
  }
264
274
  .wui-kanban-card:hover {
265
275
  border-color: var(--color-border-strong);
@@ -350,7 +360,7 @@
350
360
  border-radius: 0 0 var(--wui-radius-md) var(--wui-radius-md);
351
361
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
352
362
  background-size: 200% 100%;
353
- animation: wui-kanban-saving 1.1s linear infinite;
363
+ animation: wui-kanban-saving calc(var(--wui-duration-slow) * 3) var(--wui-ease-linear) infinite;
354
364
  }
355
365
  @keyframes wui-kanban-saving {
356
366
  from {
@@ -69,10 +69,10 @@
69
69
  }
70
70
  @media (prefers-reduced-motion: no-preference) {
71
71
  .wui-lightbox-overlay {
72
- animation: wui-lightbox-in 160ms var(--wui-ease-out);
72
+ animation: wui-lightbox-in var(--wui-duration-fast) var(--wui-ease-out);
73
73
  }
74
74
  .wui-lightbox-image {
75
- transition: transform 120ms var(--wui-ease-out);
75
+ transition: transform var(--wui-duration-fast) var(--wui-ease-out);
76
76
  }
77
77
  .wui-lightbox-stage.is-dragging .wui-lightbox-image {
78
78
  transition: none;
@@ -23,7 +23,7 @@
23
23
  object-fit: cover;
24
24
  display: block;
25
25
  // Photo fades + scales in so a late-arriving blob doesn't pop.
26
- animation: wui-avatar-in 0.28s var(--wui-ease-out, ease) both;
26
+ animation: wui-avatar-in var(--wui-duration-default) var(--wui-ease-out, ease) both;
27
27
  }
28
28
  .avatar {
29
29
  // `--avatar-size` drives the default (md, its 32px fallback) and any custom size. It is
@@ -34,8 +34,8 @@
34
34
  width: var(--avatar-size, 32px);
35
35
  height: var(--avatar-size, 32px);
36
36
  border-radius: 999px;
37
- background: color-mix(in srgb, var(--color-primary) 15%, var(--color-surface));
38
- color: var(--color-primary-text);
37
+ background: var(--avatar-bg, color-mix(in srgb, var(--color-primary) 15%, var(--color-surface)));
38
+ color: var(--avatar-fg, var(--color-primary-text));
39
39
  // Initials take 37.5% of the disc but never go under the 12px text floor; a disc under 24px
40
40
  // takes half its size instead, the most two letters fit (the 20px preset sets 10px).
41
41
  font-size: max(min(12px, calc(var(--avatar-size, 32px) * 0.5)), calc(var(--avatar-size, 32px) * 0.375));
@@ -84,29 +84,29 @@
84
84
 
85
85
  // ── Tone ── (`tone`): the initials fill. `auto` derives a stable hue from the name.
86
86
  .avatar-neutral {
87
- background: color-mix(in srgb, var(--color-text-muted) 16%, var(--color-surface));
88
- color: var(--color-text-muted);
87
+ --avatar-bg: color-mix(in srgb, var(--color-text-muted) 16%, var(--color-surface));
88
+ --avatar-fg: var(--color-text-muted);
89
89
  }
90
90
  .avatar-success {
91
- background: var(--color-success-soft);
92
- color: var(--color-success-text-on-soft);
91
+ --avatar-bg: var(--color-success-soft);
92
+ --avatar-fg: var(--color-success-text-on-soft);
93
93
  }
94
94
  .avatar-warning {
95
- background: var(--color-warning-soft);
96
- color: var(--color-warning-text-on-soft);
95
+ --avatar-bg: var(--color-warning-soft);
96
+ --avatar-fg: var(--color-warning-text-on-soft);
97
97
  }
98
98
  .avatar-danger {
99
- background: var(--color-danger-soft);
100
- color: var(--color-danger-text-on-soft);
99
+ --avatar-bg: var(--color-danger-soft);
100
+ --avatar-fg: var(--color-danger-text-on-soft);
101
101
  }
102
102
  .avatar-info {
103
- background: var(--color-info-soft);
104
- color: var(--color-info-text-on-soft);
103
+ --avatar-bg: var(--color-info-soft);
104
+ --avatar-fg: var(--color-info-text-on-soft);
105
105
  }
106
106
  // Foreground lightness 31%: at 32% the hue-60 pair falls to 4.42:1 on the 90% tint.
107
107
  .avatar-auto {
108
- background: hsl(var(--avatar-hue, 0) 60% 90%);
109
- color: hsl(var(--avatar-hue, 0) 42% 31%);
108
+ --avatar-bg: hsl(var(--avatar-hue, 0) 60% 90%);
109
+ --avatar-fg: hsl(var(--avatar-hue, 0) 42% 31%);
110
110
  }
111
111
 
112
112
  // ── Ring ── (`ring`): a tone-coloured ring with a surface gap, separating stacked
@@ -148,8 +148,8 @@
148
148
  -webkit-appearance: none;
149
149
  appearance: none;
150
150
  transition:
151
- transform 0.15s var(--wui-ease-out, ease),
152
- box-shadow 0.15s ease;
151
+ transform var(--wui-duration-fast) var(--wui-ease-out, ease),
152
+ box-shadow var(--wui-duration-fast) var(--wui-ease-ui);
153
153
  }
154
154
  .avatar-clickable:hover {
155
155
  transform: scale(1.06);
@@ -192,7 +192,7 @@
192
192
  inset: 0;
193
193
  border-radius: inherit;
194
194
  background: var(--color-success);
195
- animation: wui-avatar-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
195
+ animation: wui-avatar-ping calc(var(--wui-duration-slow) * 5) var(--wui-ease-out) infinite;
196
196
  }
197
197
 
198
198
  // ── Hover label ── (`label`): a tooltip above the avatar, revealed on hover/focus.
@@ -213,8 +213,8 @@
213
213
  pointer-events: none;
214
214
  z-index: 30;
215
215
  transition:
216
- opacity 0.16s ease,
217
- transform 0.16s var(--wui-ease-out, ease);
216
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
217
+ transform var(--wui-duration-fast) var(--wui-ease-out, ease);
218
218
  }
219
219
  .avatar-label::after {
220
220
  content: "";
@@ -241,7 +241,7 @@
241
241
  .avatar-group > .avatar {
242
242
  margin-left: -10px;
243
243
  box-shadow: 0 0 0 2px var(--color-surface);
244
- transition: transform 0.15s var(--wui-ease-out, ease);
244
+ transition: transform var(--wui-duration-fast) var(--wui-ease-out, ease);
245
245
  }
246
246
  .avatar-group > .avatar:first-child {
247
247
  margin-left: 0;
@@ -258,8 +258,8 @@
258
258
  }
259
259
  // The "+N" overflow chip — a muted avatar-shaped tail.
260
260
  .avatar-more {
261
- background: color-mix(in srgb, var(--color-text-muted) 16%, var(--color-surface));
262
- color: var(--color-text-muted);
261
+ --avatar-bg: color-mix(in srgb, var(--color-text-muted) 16%, var(--color-surface));
262
+ --avatar-fg: var(--color-text-muted);
263
263
  font-weight: 600;
264
264
  }
265
265
 
@@ -292,7 +292,7 @@
292
292
  animation: none;
293
293
  }
294
294
  .avatar-label {
295
- transition: opacity 0.16s ease;
295
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
296
296
  }
297
297
  }
298
298
 
@@ -309,8 +309,8 @@
309
309
  background: var(--color-surface);
310
310
  cursor: pointer;
311
311
  transition:
312
- border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
313
- background 0.3s cubic-bezier(0.22, 1, 0.36, 1);
312
+ border-color var(--wui-duration-default) var(--wui-ease-out),
313
+ background var(--wui-duration-default) var(--wui-ease-out);
314
314
  }
315
315
  .attach-drop:hover {
316
316
  border-color: var(--color-primary);
@@ -443,7 +443,7 @@
443
443
  color: var(--color-on-scrim);
444
444
  border-radius: 999px;
445
445
  cursor: pointer;
446
- transition: background 0.2s;
446
+ transition: background var(--wui-duration-default) var(--wui-ease-ui);
447
447
  }
448
448
  .attach-remove:hover {
449
449
  background: var(--color-danger);
@@ -517,9 +517,9 @@
517
517
  color: var(--color-text-muted);
518
518
  cursor: pointer;
519
519
  transition:
520
- border-color 0.2s,
521
- color 0.2s,
522
- background 0.2s;
520
+ border-color var(--wui-duration-default) var(--wui-ease-ui),
521
+ color var(--wui-duration-default) var(--wui-ease-ui),
522
+ background var(--wui-duration-default) var(--wui-ease-ui);
523
523
  }
524
524
  .attach-item-remove:hover {
525
525
  border-color: var(--color-danger);
@@ -566,8 +566,8 @@
566
566
  overflow: hidden;
567
567
  cursor: pointer;
568
568
  transition:
569
- border-color 0.12s,
570
- box-shadow 0.12s;
569
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
570
+ box-shadow var(--wui-duration-fast) var(--wui-ease-ui);
571
571
  }
572
572
  .file-input:hover:not(:focus-within) {
573
573
  background: var(--color-bg-muted);
@@ -625,8 +625,8 @@
625
625
  background: var(--color-bg-muted);
626
626
  border: 1px dashed var(--color-field-border);
627
627
  transition:
628
- border-color 0.15s ease,
629
- background-color 0.15s ease;
628
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
629
+ background-color var(--wui-duration-fast) var(--wui-ease-ui);
630
630
  }
631
631
  // Hover mirrors AppInput hover — border-strong, fill unchanged.
632
632
  .file-input.file-input-tall:hover:not(:focus-within):not(.dragging) {
@@ -729,7 +729,7 @@
729
729
  border-radius: 50%;
730
730
  background: var(--color-primary-soft);
731
731
  color: var(--color-primary-text);
732
- transition: transform 0.15s ease;
732
+ transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
733
733
  }
734
734
  .file-input.file-input-tall.dragging .file-input-icon {
735
735
  transform: translateY(-2px) scale(1.06);
@@ -799,7 +799,7 @@
799
799
  overflow: hidden;
800
800
  cursor: pointer;
801
801
  background: var(--color-bg-subtle);
802
- transition: border-color 0.12s;
802
+ transition: border-color var(--wui-duration-fast) var(--wui-ease-ui);
803
803
  }
804
804
  .file-preview:hover {
805
805
  border-color: var(--color-border-strong);
@@ -828,7 +828,7 @@
828
828
  width: 100%;
829
829
  height: 100%;
830
830
  object-fit: cover;
831
- transition: transform 0.25s ease;
831
+ transition: transform var(--wui-duration-default) var(--wui-ease-ui);
832
832
  }
833
833
  // Gentle zoom on hover so the field feels interactive.
834
834
  .file-preview:hover .file-preview-img {
@@ -868,7 +868,7 @@
868
868
  // half the standard scrim strength.
869
869
  background: color-mix(in srgb, var(--color-scrim) 50%, transparent);
870
870
  opacity: 0;
871
- transition: opacity 0.15s ease;
871
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
872
872
  }
873
873
  .file-preview:hover .file-preview-overlay,
874
874
  .file-preview:focus-within .file-preview-overlay {
@@ -908,8 +908,8 @@
908
908
  cursor: pointer;
909
909
  opacity: 0;
910
910
  transition:
911
- border-color 0.12s,
912
- opacity 0.15s ease;
911
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
912
+ opacity var(--wui-duration-fast) var(--wui-ease-ui);
913
913
  }
914
914
  .file-preview:hover .file-preview-remove,
915
915
  .file-preview:focus-within .file-preview-remove {
@@ -983,7 +983,7 @@
983
983
  padding: 5px;
984
984
  border: 1px dashed color-mix(in srgb, var(--color-border-strong) 75%, transparent);
985
985
  cursor: pointer;
986
- transition: border-color 0.18s;
986
+ transition: border-color var(--wui-duration-default) var(--wui-ease-ui);
987
987
  // Query container so the overlay can drop its label on a small ring (see the @container
988
988
  // rule after .wui-image-picker-overlay). container-type also makes the ring the containing
989
989
  // block for the absolute overlay — same role its position:relative already plays.
@@ -1031,7 +1031,7 @@
1031
1031
  text-align: center;
1032
1032
  font-weight: 600;
1033
1033
  opacity: 0;
1034
- transition: opacity 0.18s;
1034
+ transition: opacity var(--wui-duration-default) var(--wui-ease-ui);
1035
1035
  }
1036
1036
  .wui-image-picker-ring:hover .wui-image-picker-overlay,
1037
1037
  .wui-image-picker:hover .wui-image-picker-overlay,
@@ -1078,8 +1078,8 @@
1078
1078
  opacity: 0;
1079
1079
  visibility: hidden;
1080
1080
  transition:
1081
- opacity 0.12s ease,
1082
- visibility 0.12s;
1081
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
1082
+ visibility var(--wui-duration-fast) var(--wui-ease-ui);
1083
1083
  }
1084
1084
  // :not(:disabled) — a disabled/loading picker can't be updated, so it shows no tooltip
1085
1085
  // (mirrors the overlay, which isn't rendered in those states).
@@ -1212,7 +1212,7 @@
1212
1212
  background: var(--color-danger, #dc3545);
1213
1213
  color: #fff;
1214
1214
  cursor: pointer;
1215
- transition: transform 0.15s;
1215
+ transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
1216
1216
  }
1217
1217
  // The × glyph scales with the button (its width/height attributes are set in JS/Razor as a
1218
1218
  // baseline; this overrides them, the way the overlay icon is scaled under its container query).
@@ -1266,8 +1266,8 @@
1266
1266
  cursor: pointer;
1267
1267
  padding: 6px;
1268
1268
  transition:
1269
- border-color 0.15s ease,
1270
- background 0.15s ease;
1269
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
1270
+ background var(--wui-duration-fast) var(--wui-ease-ui);
1271
1271
  }
1272
1272
  .logo-dropzone:hover,
1273
1273
  .logo-dropzone:focus-visible {
@@ -1307,7 +1307,7 @@
1307
1307
  font-size: 12px;
1308
1308
  font-weight: 600;
1309
1309
  opacity: 0;
1310
- transition: opacity 0.15s ease;
1310
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
1311
1311
  }
1312
1312
  .logo-dropzone:hover .logo-dropzone-overlay,
1313
1313
  .logo-dropzone:focus-visible .logo-dropzone-overlay {
@@ -69,7 +69,7 @@
69
69
  display: flex;
70
70
  pointer-events: none;
71
71
  transform: translateX(100%);
72
- transition: transform 0.25s var(--wui-ease-ui);
72
+ transition: transform var(--wui-duration-default) var(--wui-ease-ui);
73
73
  }
74
74
  .modal.wui-remote-drawer.show .modal-dialog.wui-remote-drawer-dialog {
75
75
  transform: none;
@@ -62,7 +62,7 @@ wui-navigation-menu {
62
62
  .wui-nav-menu-trigger > .wui-nav-menu-chevron {
63
63
  flex: none;
64
64
  margin-left: auto;
65
- transition: rotate 150ms var(--wui-ease-out);
65
+ transition: rotate var(--wui-duration-fast) var(--wui-ease-out);
66
66
  }
67
67
  .wui-nav-menu-trigger[aria-expanded="true"] > .wui-nav-menu-chevron {
68
68
  rotate: 180deg;
@@ -18,7 +18,7 @@
18
18
  // the modal ladder, so this panel is never trapped under sticky/fixed shell chrome.
19
19
  z-index: var(--wui-z-shell-drawer);
20
20
  transform: translateX(100%);
21
- transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
21
+ transition: transform var(--wui-duration-default) var(--wui-ease-in-out);
22
22
  display: flex;
23
23
  flex-direction: column;
24
24
  }
@@ -31,7 +31,7 @@
31
31
  background: var(--color-scrim);
32
32
  opacity: 0;
33
33
  pointer-events: none;
34
- transition: opacity 0.2s;
34
+ transition: opacity var(--wui-duration-default) var(--wui-ease-ui);
35
35
  z-index: var(--wui-z-shell-scrim);
36
36
  }
37
37
  .drawer-backdrop.open {
@@ -168,8 +168,8 @@
168
168
  // reads as a heavy grey block; half of it still answers the press.
169
169
  --wui-pressed-overlay: color-mix(in srgb, currentColor 6%, transparent);
170
170
  transition:
171
- color 0.12s ease,
172
- border-color 0.12s ease;
171
+ color var(--wui-duration-fast) var(--wui-ease-ui),
172
+ border-color var(--wui-duration-fast) var(--wui-ease-ui);
173
173
  }
174
174
  // Leading icon / image — sit before the label with the strip's 8px gap (from .app-tab).
175
175
  // The library Icon sizes itself; a custom <img> is constrained to a small rounded square
@@ -280,9 +280,9 @@
280
280
  // clip would shear off its rounded corner. A decelerating slide reaches the tab exactly and
281
281
  // never crosses the edge, so the radius is always intact.
282
282
  transition:
283
- transform 0.42s var(--wui-ease-out),
284
- width 0.42s var(--wui-ease-out),
285
- opacity 0.15s ease;
283
+ transform var(--wui-duration-slow) var(--wui-ease-out),
284
+ width var(--wui-duration-slow) var(--wui-ease-out),
285
+ opacity var(--wui-duration-fast) var(--wui-ease-ui);
286
286
  }
287
287
  .app-tabs[data-wui-tabs] .app-tab-indicator {
288
288
  opacity: 1;
@@ -440,9 +440,9 @@
440
440
  height: var(--wui-tab-h, 0);
441
441
  transform: translateY(var(--wui-tab-y, 0));
442
442
  transition:
443
- transform 0.42s var(--wui-ease-out),
444
- height 0.42s var(--wui-ease-out),
445
- opacity 0.15s ease;
443
+ transform var(--wui-duration-slow) var(--wui-ease-out),
444
+ height var(--wui-duration-slow) var(--wui-ease-out),
445
+ opacity var(--wui-duration-fast) var(--wui-ease-ui);
446
446
  }
447
447
  // Vertical pills: the moving pill fills the row width.
448
448
  .app-tabs-vertical.app-tabs-pills .app-tab-indicator {
@@ -585,7 +585,7 @@
585
585
  @media (prefers-reduced-motion: reduce) {
586
586
  .app-tab-indicator,
587
587
  .app-tabs-vertical .app-tab-indicator {
588
- transition: opacity 0.15s ease;
588
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
589
589
  }
590
590
  .app-tabs {
591
591
  scroll-behavior: auto;
@@ -611,7 +611,7 @@
611
611
  place-items: center;
612
612
  color: var(--color-text-subtle);
613
613
  pointer-events: none;
614
- transition: color 0.12s ease;
614
+ transition: color var(--wui-duration-fast) var(--wui-ease-ui);
615
615
  }
616
616
  .search-wrap:focus-within > .search-icon {
617
617
  color: var(--color-primary-text);
@@ -644,9 +644,9 @@
644
644
  visibility: hidden;
645
645
  pointer-events: none;
646
646
  transition:
647
- opacity 0.12s ease,
648
- visibility 0s linear 0.12s,
649
- color 0.12s ease;
647
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
648
+ visibility 0s var(--wui-ease-linear) var(--wui-duration-fast),
649
+ color var(--wui-duration-fast) var(--wui-ease-ui);
650
650
  }
651
651
  // Revealed by CONTENT only. Revealing on :focus-within as well put a ✕ on an empty Razor
652
652
  // field while React — which renders the button only when there is a value — showed none:
@@ -657,9 +657,9 @@
657
657
  visibility: visible;
658
658
  pointer-events: auto;
659
659
  transition:
660
- opacity 0.12s ease,
660
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
661
661
  visibility 0s,
662
- color 0.12s ease;
662
+ color var(--wui-duration-fast) var(--wui-ease-ui);
663
663
  }
664
664
  .search-clear:hover {
665
665
  color: var(--color-text);
@@ -751,7 +751,7 @@
751
751
  border: 2px solid var(--color-border-strong);
752
752
  border-top-color: var(--color-primary);
753
753
  border-radius: 50%;
754
- animation: wui-spin 0.7s linear infinite;
754
+ animation: wui-spin calc(var(--wui-duration-slow) * 2) var(--wui-ease-linear) infinite;
755
755
  pointer-events: none;
756
756
  }
757
757
  .search-input:disabled {
@@ -785,3 +785,53 @@
785
785
  color: var(--color-text);
786
786
  font-weight: 500;
787
787
  }
788
+ .wui-breadcrumb-collapse {
789
+ flex-wrap: nowrap;
790
+ min-width: 0;
791
+ }
792
+ .wui-breadcrumb-collapse > .breadcrumb-item {
793
+ flex: none;
794
+ white-space: nowrap;
795
+ }
796
+ .wui-breadcrumb-collapse > .breadcrumb-item:last-child {
797
+ flex: 0 1 auto;
798
+ min-width: 0;
799
+ overflow: hidden;
800
+ text-overflow: ellipsis;
801
+ }
802
+ .wui-breadcrumb-collapsible {
803
+ display: none;
804
+ }
805
+ .wui-breadcrumb-more-toggle {
806
+ display: inline-flex;
807
+ align-items: center;
808
+ padding: 0 var(--wui-space-xs);
809
+ border: 0;
810
+ border-radius: var(--wui-radius-sm);
811
+ background: transparent;
812
+ color: var(--color-text-muted);
813
+ line-height: inherit;
814
+ }
815
+ .wui-breadcrumb-more-toggle:hover,
816
+ .wui-breadcrumb-more-toggle:focus-visible {
817
+ color: var(--color-primary-text);
818
+ }
819
+ @include media-breakpoint-up(md) {
820
+ .wui-breadcrumb-collapse {
821
+ flex-wrap: wrap;
822
+ }
823
+ .wui-breadcrumb-collapse > .breadcrumb-item {
824
+ flex: initial;
825
+ white-space: normal;
826
+ }
827
+ .wui-breadcrumb-collapse > .breadcrumb-item:last-child {
828
+ overflow: visible;
829
+ text-overflow: clip;
830
+ }
831
+ .wui-breadcrumb-collapsible {
832
+ display: list-item;
833
+ }
834
+ .wui-breadcrumb-more {
835
+ display: none;
836
+ }
837
+ }
@@ -13,7 +13,7 @@
13
13
  .wui-notification-center-trigger {
14
14
  position: relative;
15
15
  }
16
- // White on the strong danger fill, ringed in the surface colour so it reads as sitting on the bell.
16
+ // White on the strong danger fill, ringed in the surface colour so it reads as sitting on the bell. --wui-notification-count-bg and --wui-notification-count-fg replace the fill and the text colour.
17
17
  .wui-notification-center-count {
18
18
  position: absolute;
19
19
  top: -2px;
@@ -24,8 +24,8 @@
24
24
  padding: 0 3px;
25
25
  border: 2px solid var(--color-surface);
26
26
  border-radius: 999px;
27
- background: var(--color-danger-strong);
28
- color: var(--color-progress-label);
27
+ background: var(--wui-notification-count-bg, var(--color-danger-strong));
28
+ color: var(--wui-notification-count-fg, var(--color-progress-label));
29
29
  font-size: 12px;
30
30
  font-weight: 700;
31
31
  line-height: 14px;
@@ -208,6 +208,6 @@ a.wui-onboarding-label:focus-visible::after {
208
208
 
209
209
  @media (prefers-reduced-motion: no-preference) {
210
210
  .wui-onboarding-chevron {
211
- transition: transform 160ms var(--wui-ease-ui);
211
+ transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
212
212
  }
213
213
  }