@webority/theme 0.150.0 → 0.153.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 (115) hide show
  1. package/README.md +52 -17
  2. package/dist/purge-safelist.json +20 -0
  3. package/dist/webority-theme.css +1 -1
  4. package/dist/webority-tokens.css +1 -1
  5. package/index.scss +11 -13
  6. package/package.json +3 -2
  7. package/scss/_bootstrap-css.scss +40 -0
  8. package/scss/_bootstrap.generated.scss +1 -2
  9. package/scss/_components.scss +157 -55
  10. package/scss/_config.scss +16 -0
  11. package/scss/_marketing.scss +15 -15
  12. package/scss/_tokens.generated.scss +26 -1
  13. package/scss/_tokens.scss +3 -3
  14. package/scss/_variables.scss +13 -35
  15. package/scss/_wui-components.scss +91 -95
  16. package/scss/_wui-core.scss +80 -84
  17. package/scss/wui/_account-switcher.scss +2 -0
  18. package/scss/wui/_auth-layout.scss +2 -0
  19. package/scss/wui/_avatar-picker.scss +2 -0
  20. package/scss/wui/_calendar.scss +8 -6
  21. package/scss/wui/_card-options.scss +2 -0
  22. package/scss/wui/_card.scss +6 -4
  23. package/scss/wui/_carousel.scss +5 -3
  24. package/scss/wui/_cell.scss +2 -0
  25. package/scss/wui/_chart-card.scss +2 -0
  26. package/scss/wui/_chart.scss +6 -4
  27. package/scss/wui/_choice.scss +50 -43
  28. package/scss/wui/_code-block.scss +2 -0
  29. package/scss/wui/_command-palette.scss +4 -2
  30. package/scss/wui/_comment-thread.scss +4 -2
  31. package/scss/wui/_compare-table.scss +29 -0
  32. package/scss/wui/_consent-banner.scss +2 -0
  33. package/scss/wui/_context-menu.scss +2 -0
  34. package/scss/wui/_controls.scss +53 -51
  35. package/scss/wui/_data.scss +28 -16
  36. package/scss/wui/_detail-pane.scss +2 -0
  37. package/scss/wui/_dialog-motion.scss +6 -4
  38. package/scss/wui/_disclosure.scss +6 -4
  39. package/scss/wui/_display.scss +39 -23
  40. package/scss/wui/_dock.scss +8 -6
  41. package/scss/wui/_drawer.scss +4 -2
  42. package/scss/wui/_due-date.scss +2 -0
  43. package/scss/wui/_empty-state.scss +2 -0
  44. package/scss/wui/_field-busy.scss +3 -1
  45. package/scss/wui/_field-floor.scss +4 -1
  46. package/scss/wui/_field-sizes.scss +2 -0
  47. package/scss/wui/_file-tiles.scss +2 -0
  48. package/scss/wui/_file-viewer.scss +9 -5
  49. package/scss/wui/_filter-popover.scss +2 -0
  50. package/scss/wui/_floating.scss +2 -0
  51. package/scss/wui/_flow.scss +17 -13
  52. package/scss/wui/_groups.scss +2 -0
  53. package/scss/wui/_hover-card.scss +2 -0
  54. package/scss/wui/_illustration.scss +2 -0
  55. package/scss/wui/_image-crop.scss +2 -0
  56. package/scss/wui/_inline-edit.scss +4 -2
  57. package/scss/wui/_interaction.scss +3 -2
  58. package/scss/wui/_kanban.scss +18 -6
  59. package/scss/wui/_lightbox.scss +4 -2
  60. package/scss/wui/_list-card.scss +2 -0
  61. package/scss/wui/_markdown.scss +4 -1
  62. package/scss/wui/_media.scss +50 -48
  63. package/scss/wui/_mention-input.scss +2 -0
  64. package/scss/wui/_menu-motion.scss +2 -0
  65. package/scss/wui/_metric-strip.scss +2 -0
  66. package/scss/wui/_modal-remote.scss +3 -1
  67. package/scss/wui/_money.scss +2 -0
  68. package/scss/wui/_nav-list.scss +2 -0
  69. package/scss/wui/_navigation-menu.scss +3 -1
  70. package/scss/wui/_navigation.scss +70 -18
  71. package/scss/wui/_notification-center.scss +5 -3
  72. package/scss/wui/_onboarding-checklist.scss +3 -1
  73. package/scss/wui/_org-tree.scss +2 -0
  74. package/scss/wui/_overlays.scss +30 -40
  75. package/scss/wui/_page-header-bar.scss +2 -0
  76. package/scss/wui/_pagination.scss +6 -4
  77. package/scss/wui/_pending.scss +2 -0
  78. package/scss/wui/_period-picker.scss +2 -0
  79. package/scss/wui/_rating.scss +3 -1
  80. package/scss/wui/_record-pager.scss +2 -0
  81. package/scss/wui/_relative-time.scss +2 -0
  82. package/scss/wui/_resizable.scss +3 -1
  83. package/scss/wui/_rich-text.scss +13 -7
  84. package/scss/wui/_rolling-number.scss +2 -0
  85. package/scss/wui/_score-scale.scss +5 -3
  86. package/scss/wui/_scrollbar.scss +2 -0
  87. package/scss/wui/_section-lead-capture.scss +2 -0
  88. package/scss/wui/_sections.scss +5 -2
  89. package/scss/wui/_select.scss +2 -0
  90. package/scss/wui/_shell-parts.scss +55 -5
  91. package/scss/wui/_shell.scss +58 -57
  92. package/scss/wui/_shortcuts.scss +2 -0
  93. package/scss/wui/_show-more.scss +2 -0
  94. package/scss/wui/_sortable.scss +4 -2
  95. package/scss/wui/_split-view.scss +4 -2
  96. package/scss/wui/_support.scss +2 -0
  97. package/scss/wui/_table-server.scss +3 -1
  98. package/scss/wui/_theme-toggle.scss +3 -1
  99. package/scss/wui/_tone-pill.scss +2 -0
  100. package/scss/wui/_toolbar.scss +9 -7
  101. package/scss/wui/_tour.scss +9 -9
  102. package/scss/wui/_tree.scss +5 -3
  103. package/scss/wui/_truncate.scss +2 -0
  104. package/scss/wui/_typography.scss +3 -0
  105. package/scss/wui/_utilities.scss +31 -11
  106. package/scss/wui/_whats-new.scss +2 -0
  107. package/scss/wui/_workspace.scss +4 -2
  108. package/scss/wui/tour/_advance.scss +2 -0
  109. package/scss/wui/tour/_base.scss +2 -0
  110. package/scss/wui/tour/_end.scss +3 -1
  111. package/scss/wui/tour/_media.scss +2 -0
  112. package/scss/wui/tour/_motion.scss +6 -4
  113. package/scss/wui/tour/_placement.scss +2 -0
  114. package/scss/wui/tour/_progress.scss +2 -0
  115. package/token-meanings.json +2 -0
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Prefer .wui-* for new chrome; legacy bare names here are frozen until a BREAKING rename.
2
4
  // Base table, ledger table, toolbar and filter bar. The empty state is in _empty-state.scss, the pager in _pagination.scss.
3
5
  //
@@ -68,8 +70,8 @@
68
70
  white-space: nowrap;
69
71
  vertical-align: middle;
70
72
  transition:
71
- background-color 0.12s ease,
72
- color 0.12s ease;
73
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
74
+ color var(--wui-duration-fast) var(--wui-ease-ui);
73
75
  }
74
76
  :where(.table) > tbody > tr > td,
75
77
  :where(.table) > tbody > tr > th.wui-row-header {
@@ -77,7 +79,7 @@
77
79
  border-bottom: var(--wui-table-row-divider-width) solid var(--color-border);
78
80
  font-size: var(--wui-fs-xs);
79
81
  vertical-align: middle;
80
- transition: background-color 0.12s ease;
82
+ transition: background-color var(--wui-duration-fast) var(--wui-ease-ui);
81
83
  }
82
84
  :where(.table) > tbody > tr:last-child > td,
83
85
  :where(.table) > tbody > tr:last-child > th.wui-row-header {
@@ -128,8 +130,8 @@
128
130
  color: var(--color-text-subtle);
129
131
  cursor: pointer;
130
132
  transition:
131
- background-color 0.12s,
132
- color 0.12s;
133
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
134
+ color var(--wui-duration-fast) var(--wui-ease-ui);
133
135
  }
134
136
  .wui-expand-toggle:hover {
135
137
  background: var(--color-bg-muted);
@@ -140,7 +142,7 @@
140
142
  outline-offset: var(--wui-focus-ring-offset);
141
143
  }
142
144
  .wui-expand-toggle .wui-icon {
143
- transition: transform 0.18s var(--wui-ease-out, ease);
145
+ transition: transform var(--wui-duration-default) var(--wui-ease-out, ease);
144
146
  }
145
147
  .wui-expand-toggle.is-open .wui-icon {
146
148
  transform: rotate(180deg);
@@ -344,6 +346,16 @@
344
346
  .table-ledger.wui-table-compact .u-cell {
345
347
  gap: 10px;
346
348
  }
349
+ // A row's action controls fit the 40px cell (6px padding above and below), so a compact row with
350
+ // actions measures 41px with its rule instead of stretching to the 36px disc.
351
+ .table-ledger.wui-table-compact .u-row-actions .u-action {
352
+ width: min(var(--wui-action-size), 28px);
353
+ height: min(var(--wui-action-size), 28px);
354
+ }
355
+ .table-ledger.wui-table-compact .u-row-actions .topbar-icon-btn {
356
+ width: 28px;
357
+ height: 28px;
358
+ }
347
359
  // Striped (`striped`): alternate-row shading in place of divider lines, on any density.
348
360
  .table-ledger.wui-table-striped tbody td,
349
361
  .table-ledger.wui-table-striped tbody th.wui-row-header {
@@ -1117,8 +1129,8 @@
1117
1129
  color: var(--color-text-subtle);
1118
1130
  cursor: pointer;
1119
1131
  transition:
1120
- background 0.12s ease,
1121
- color 0.12s ease;
1132
+ background var(--wui-duration-fast) var(--wui-ease-ui),
1133
+ color var(--wui-duration-fast) var(--wui-ease-ui);
1122
1134
  position: relative;
1123
1135
  }
1124
1136
  // Touch pointers need a 44px minimum target. Grow the hit area, not the
@@ -1275,7 +1287,7 @@
1275
1287
  margin-left: 6px;
1276
1288
  color: var(--color-text-subtle);
1277
1289
  opacity: 0;
1278
- transition: opacity 0.12s ease;
1290
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
1279
1291
  }
1280
1292
  // On a right-aligned (numeric) header the arrow leads the label, so the label ends flush with
1281
1293
  // the values under it.
@@ -1343,7 +1355,7 @@ wui-data-table {
1343
1355
  border-radius: 1px;
1344
1356
  background: var(--color-border-strong);
1345
1357
  opacity: 0;
1346
- transition: opacity 0.12s ease;
1358
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
1347
1359
  }
1348
1360
  .table-ledger thead th:hover > .wui-col-resize::after,
1349
1361
  .wui-col-resize:focus-visible::after,
@@ -1402,7 +1414,7 @@ wui-data-table {
1402
1414
  width: 8px;
1403
1415
  pointer-events: none;
1404
1416
  opacity: 0;
1405
- transition: opacity 0.15s ease;
1417
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
1406
1418
  }
1407
1419
  .table-ledger .wui-pin-start-edge::after {
1408
1420
  inset-inline-start: 100%;
@@ -1477,7 +1489,7 @@ wui-data-table {
1477
1489
  .wui-group-toggle .wui-icon {
1478
1490
  flex: none;
1479
1491
  color: var(--color-text-subtle);
1480
- transition: transform 0.15s ease;
1492
+ transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
1481
1493
  }
1482
1494
  .wui-group-toggle[aria-expanded="false"] .wui-icon {
1483
1495
  transform: rotate(-90deg);
@@ -1529,9 +1541,9 @@ wui-data-table {
1529
1541
  // paint (hover, sort), like the status bar, and takes no room, so nothing shifts.
1530
1542
  .table-wrap.wui-table-scroll > .table-ledger > thead > tr > th {
1531
1543
  transition:
1532
- background-color 0.12s ease,
1533
- color 0.12s ease,
1534
- box-shadow 0.15s ease;
1544
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
1545
+ color var(--wui-duration-fast) var(--wui-ease-ui),
1546
+ box-shadow var(--wui-duration-fast) var(--wui-ease-ui);
1535
1547
  }
1536
1548
  .table-wrap.wui-table-scroll[data-wui-overflow-top] > .table-ledger > thead > tr > th {
1537
1549
  box-shadow:
@@ -1567,7 +1579,7 @@ wui-data-table {
1567
1579
  }
1568
1580
  .table-ledger > tbody > tr[data-wui-save-state="saving"] > td:first-child,
1569
1581
  .table-ledger > tbody > tr[data-wui-save-state="saving"] > th.wui-row-header:first-child {
1570
- animation: wui-row-saving 1.2s ease-in-out infinite;
1582
+ animation: wui-row-saving calc(var(--wui-duration-slow) * 3) var(--wui-ease-in-out) infinite;
1571
1583
  }
1572
1584
  @keyframes wui-row-saving {
1573
1585
  50% {
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // AppDetailPane / <app-detail-pane>: an in-page detail column beside a list, filled by WUI.pane.load.
2
4
 
3
5
  .wui-detail-pane {
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Dialog open motion ──
2
4
  // Every Bootstrap modal (AppModal, the Ctrl+K palette and search, Razor <app-modal>, confirm
3
5
  // dialogs) opens with the same soft zoom the menus use: a fade in from 95% size, no bounce.
@@ -42,20 +44,20 @@
42
44
  }
43
45
 
44
46
  :root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon > svg > rect:first-child {
45
- animation: wui-dialog-icon-halo 260ms var(--wui-ease-out) 0ms both;
47
+ animation: wui-dialog-icon-halo var(--wui-duration-default) var(--wui-ease-out) 0ms both;
46
48
  }
47
49
 
48
50
  :root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon > svg > rect:nth-child(2) {
49
- animation: wui-dialog-icon-ring 300ms var(--wui-ease-out) 140ms both;
51
+ animation: wui-dialog-icon-ring var(--wui-duration-default) var(--wui-ease-out) var(--wui-duration-fast) both;
50
52
  }
51
53
 
52
54
  :root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon > svg > g {
53
- animation: wui-dialog-icon-core 340ms var(--wui-ease-elastic) 260ms both;
55
+ animation: wui-dialog-icon-core var(--wui-duration-slow) var(--wui-ease-elastic) calc(var(--wui-duration-fast) * 1.75) both;
54
56
  }
55
57
 
56
58
  // Raster tones get one beat because they have no parts to stage.
57
59
  :root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon > img {
58
- animation: wui-dialog-icon-raster 340ms var(--wui-ease-elastic) 0ms both;
60
+ animation: wui-dialog-icon-raster var(--wui-duration-slow) var(--wui-ease-elastic) 0ms both;
59
61
  }
60
62
 
61
63
  @keyframes wui-dialog-icon-halo {
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Accordion / FAQ list.
2
4
  //
3
5
  // Part of the wui-components layer — see _wui-components.scss for the whole
@@ -26,7 +28,7 @@
26
28
  border: 1px solid var(--color-border);
27
29
  background: var(--color-surface);
28
30
  overflow: hidden;
29
- transition: border-color 0.15s ease;
31
+ transition: border-color var(--wui-duration-fast) var(--wui-ease-ui);
30
32
  border-radius: var(--wui-field-md-radius);
31
33
  }
32
34
  .wui-accordion-item:hover:not(.open) {
@@ -51,7 +53,7 @@
51
53
  text-align: left;
52
54
  color: var(--color-text);
53
55
  cursor: pointer;
54
- transition: color 0.12s ease;
56
+ transition: color var(--wui-duration-fast) var(--wui-ease-ui);
55
57
  }
56
58
  .wui-accordion-trigger:hover {
57
59
  color: var(--color-primary-text);
@@ -70,7 +72,7 @@
70
72
  display: grid;
71
73
  place-items: center;
72
74
  color: var(--color-text-subtle);
73
- transition: transform 0.2s var(--wui-ease-out);
75
+ transition: transform var(--wui-duration-default) var(--wui-ease-out);
74
76
  }
75
77
  .wui-accordion-item.open > .wui-accordion-trigger .wui-accordion-icon {
76
78
  transform: rotate(180deg);
@@ -83,7 +85,7 @@
83
85
  .wui-accordion-panel {
84
86
  display: grid;
85
87
  grid-template-rows: 0fr;
86
- transition: grid-template-rows 0.28s var(--wui-ease-out);
88
+ transition: grid-template-rows var(--wui-duration-default) var(--wui-ease-out);
87
89
  }
88
90
  .wui-accordion-item.open > .wui-accordion-panel {
89
91
  grid-template-rows: 1fr;
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // KPI tile, info list, segmented, colour field, timeline, compare table, resource card.
2
4
  //
3
5
  // Part of the wui-components layer — see _wui-components.scss for the whole
@@ -257,8 +259,8 @@ a.kpi {
257
259
  text-decoration: none;
258
260
  color: inherit;
259
261
  transition:
260
- box-shadow 0.15s ease,
261
- transform 0.15s ease;
262
+ box-shadow var(--wui-duration-fast) var(--wui-ease-ui),
263
+ transform var(--wui-duration-fast) var(--wui-ease-ui);
262
264
  }
263
265
  a.kpi:hover {
264
266
  box-shadow: var(--wui-shadow-card);
@@ -539,9 +541,9 @@ a.kpi:focus-visible {
539
541
  color: var(--color-text-muted);
540
542
  cursor: pointer;
541
543
  transition:
542
- background 0.14s ease,
543
- color 0.14s ease,
544
- transform 0.12s ease;
544
+ background var(--wui-duration-fast) var(--wui-ease-ui),
545
+ color var(--wui-duration-fast) var(--wui-ease-ui),
546
+ transform var(--wui-duration-fast) var(--wui-ease-ui);
545
547
  }
546
548
  // A quick press-in on click — a small, tactile "give".
547
549
  .segmented-option:active {
@@ -620,8 +622,8 @@ a.kpi:focus-visible {
620
622
  // at the first or last segment the ring crossed the track's edge mid-slide. Clipping the
621
623
  // track instead is not an option: it would also clip the options' focus outline.
622
624
  transition:
623
- transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
624
- width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
625
+ transform var(--wui-duration-default) var(--wui-ease-out),
626
+ width var(--wui-duration-default) var(--wui-ease-out);
625
627
  }
626
628
  // While the thumb draws the pill, the checked option drops its own (keeps the primary label).
627
629
  .segmented.is-animated .segmented-option:has(.segmented-input:checked) {
@@ -646,7 +648,7 @@ a.kpi:focus-visible {
646
648
  // Icon pop — the selected segment's glyph springs up a touch as it becomes active.
647
649
  .segmented-option:has(.segmented-input:checked) .wui-icon {
648
650
  transform: scale(1.14);
649
- transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
651
+ transition: transform var(--wui-duration-default) var(--wui-ease-elastic);
650
652
  }
651
653
  .segmented-sm .segmented-thumb,
652
654
  .segmented-lg .segmented-thumb {
@@ -1317,8 +1319,8 @@ a.kpi:focus-visible {
1317
1319
  color: inherit;
1318
1320
  text-decoration: none;
1319
1321
  transition:
1320
- border-color 0.3s var(--wui-ease-out),
1321
- background 0.3s var(--wui-ease-out);
1322
+ border-color var(--wui-duration-default) var(--wui-ease-out),
1323
+ background var(--wui-duration-default) var(--wui-ease-out);
1322
1324
  }
1323
1325
  .res-card,
1324
1326
  .res-card:hover {
@@ -1341,7 +1343,7 @@ a.kpi:focus-visible {
1341
1343
  border-radius: 999px;
1342
1344
  background: var(--color-primary-soft);
1343
1345
  color: var(--color-primary-text);
1344
- transition: background 0.3s var(--wui-ease-out);
1346
+ transition: background var(--wui-duration-default) var(--wui-ease-out);
1345
1347
  }
1346
1348
  // On hover the card takes the soft tint, so the icon inverts to the surface
1347
1349
  // colour to stay distinct from it.
@@ -1360,7 +1362,7 @@ a.kpi:focus-visible {
1360
1362
  font-weight: 600;
1361
1363
  line-height: 1.4;
1362
1364
  color: var(--color-text);
1363
- transition: color 0.3s var(--wui-ease-out);
1365
+ transition: color var(--wui-duration-default) var(--wui-ease-out);
1364
1366
  }
1365
1367
  .res-card:hover .res-card-title {
1366
1368
  color: var(--color-primary-text);
@@ -1489,7 +1491,7 @@ a.kpi:focus-visible {
1489
1491
  font-weight: 500;
1490
1492
  cursor: pointer;
1491
1493
  border-radius: 4px;
1492
- transition: color 0.25s var(--wui-ease-out);
1494
+ transition: color var(--wui-duration-default) var(--wui-ease-out);
1493
1495
  }
1494
1496
  // AppLink drawn as a button (linkComponent="button") must read as the anchors beside it,
1495
1497
  // so the browser's button chrome is cleared. Size and weight still come from the link.
@@ -1572,7 +1574,7 @@ button.wui-link {
1572
1574
  background: currentColor;
1573
1575
  transform: scaleX(0);
1574
1576
  transform-origin: left center;
1575
- transition: transform 0.5s var(--wui-ease-out);
1577
+ transition: transform var(--wui-duration-slow) var(--wui-ease-out);
1576
1578
  }
1577
1579
  .wui-link--underline-center .wui-link__label::after {
1578
1580
  transform-origin: center;
@@ -1586,7 +1588,7 @@ button.wui-link {
1586
1588
 
1587
1589
  // slide — the whole link (label + icons) nudges to the right.
1588
1590
  .wui-link--slide {
1589
- transition: color 0.25s var(--wui-ease-out), transform 0.25s var(--wui-ease-out);
1591
+ transition: color var(--wui-duration-default) var(--wui-ease-out), transform var(--wui-duration-default) var(--wui-ease-out);
1590
1592
  }
1591
1593
  .wui-link--slide:hover,
1592
1594
  .wui-link--slide:focus-visible {
@@ -1598,7 +1600,7 @@ button.wui-link {
1598
1600
  margin-inline-start: -0.2em;
1599
1601
  opacity: 0;
1600
1602
  transform: translateX(-4px);
1601
- transition: opacity 0.25s var(--wui-ease-out), transform 0.25s var(--wui-ease-out), margin 0.25s var(--wui-ease-out);
1603
+ transition: opacity var(--wui-duration-default) var(--wui-ease-out), transform var(--wui-duration-default) var(--wui-ease-out), margin var(--wui-duration-default) var(--wui-ease-out);
1602
1604
  }
1603
1605
  .wui-link--icon:hover .wui-link__ic--right,
1604
1606
  .wui-link--icon:focus-visible .wui-link__ic--right {
@@ -1607,6 +1609,15 @@ button.wui-link {
1607
1609
  transform: translateX(2px);
1608
1610
  }
1609
1611
 
1612
+ // rotate — the trailing icon turns a quarter-eighth turn on hover and focus.
1613
+ .wui-link--rotate .wui-link__ic--right {
1614
+ transition: transform var(--wui-duration-default) var(--wui-ease-out);
1615
+ }
1616
+ .wui-link--rotate:hover .wui-link__ic--right,
1617
+ .wui-link--rotate:focus-visible .wui-link__ic--right {
1618
+ transform: rotate(45deg);
1619
+ }
1620
+
1610
1621
  // highlight — a tinted background wipes across behind the label.
1611
1622
  .wui-link--highlight .wui-link__label::before {
1612
1623
  content: "";
@@ -1617,7 +1628,7 @@ button.wui-link {
1617
1628
  background: var(--color-primary-soft);
1618
1629
  transform: scaleX(0);
1619
1630
  transform-origin: left center;
1620
- transition: transform 0.3s var(--wui-ease-out);
1631
+ transition: transform var(--wui-duration-default) var(--wui-ease-out);
1621
1632
  }
1622
1633
  .wui-link--highlight:hover .wui-link__label::before,
1623
1634
  .wui-link--highlight:focus-visible .wui-link__label::before {
@@ -1633,7 +1644,7 @@ button.wui-link {
1633
1644
  position: absolute;
1634
1645
  top: 0;
1635
1646
  opacity: 0;
1636
- transition: opacity 0.25s var(--wui-ease-out), transform 0.25s var(--wui-ease-out);
1647
+ transition: opacity var(--wui-duration-default) var(--wui-ease-out), transform var(--wui-duration-default) var(--wui-ease-out);
1637
1648
  }
1638
1649
  .wui-link--bracket .wui-link__label::before {
1639
1650
  content: "[";
@@ -1672,7 +1683,7 @@ button.wui-link {
1672
1683
  }
1673
1684
  .wui-link--static:hover .wui-link__label::after,
1674
1685
  .wui-link--static:focus-visible .wui-link__label::after {
1675
- animation: wui-link-underline-slide 0.5s var(--wui-ease-out);
1686
+ animation: wui-link-underline-slide var(--wui-duration-slow) var(--wui-ease-out);
1676
1687
  }
1677
1688
  @keyframes wui-link-underline-slide {
1678
1689
  from {
@@ -1685,7 +1696,7 @@ button.wui-link {
1685
1696
 
1686
1697
  // grow — the label's letters open up on hover.
1687
1698
  .wui-link--grow {
1688
- transition: color 0.25s var(--wui-ease-out), letter-spacing 0.25s var(--wui-ease-out);
1699
+ transition: color var(--wui-duration-default) var(--wui-ease-out), letter-spacing var(--wui-duration-default) var(--wui-ease-out);
1689
1700
  }
1690
1701
  .wui-link--grow:hover,
1691
1702
  .wui-link--grow:focus-visible {
@@ -1694,7 +1705,7 @@ button.wui-link {
1694
1705
 
1695
1706
  // glow — a soft accent glow blooms behind the text on hover.
1696
1707
  .wui-link--glow {
1697
- transition: color 0.25s var(--wui-ease-out), text-shadow 0.3s var(--wui-ease-out);
1708
+ transition: color var(--wui-duration-default) var(--wui-ease-out), text-shadow var(--wui-duration-default) var(--wui-ease-out);
1698
1709
  }
1699
1710
  .wui-link--glow:hover,
1700
1711
  .wui-link--glow:focus-visible {
@@ -1723,7 +1734,7 @@ button.wui-link {
1723
1734
  }
1724
1735
  .wui-link--shine:hover .wui-link__label,
1725
1736
  .wui-link--shine:focus-visible .wui-link__label {
1726
- animation: wui-link-shine 0.9s var(--wui-ease-out);
1737
+ animation: wui-link-shine calc(var(--wui-duration-slow) * 2) var(--wui-ease-out);
1727
1738
  }
1728
1739
  @keyframes wui-link-shine {
1729
1740
  from {
@@ -1744,7 +1755,8 @@ button.wui-link {
1744
1755
  .wui-link--slide,
1745
1756
  .wui-link__label::after,
1746
1757
  .wui-link__label::before,
1747
- .wui-link--icon .wui-link__ic--right {
1758
+ .wui-link--icon .wui-link__ic--right,
1759
+ .wui-link--rotate .wui-link__ic--right {
1748
1760
  transition: none;
1749
1761
  }
1750
1762
  // Animated underlines settle to a visible static line rather than a hidden one.
@@ -1766,6 +1778,10 @@ button.wui-link {
1766
1778
  transform: none;
1767
1779
  margin-inline-start: 0;
1768
1780
  }
1781
+ .wui-link--rotate:hover .wui-link__ic--right,
1782
+ .wui-link--rotate:focus-visible .wui-link__ic--right {
1783
+ transform: none;
1784
+ }
1769
1785
  .wui-link--highlight:hover .wui-link__label::before,
1770
1786
  .wui-link--highlight:focus-visible .wui-link__label::before {
1771
1787
  transform: none;
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Floating dock ──
2
4
  // AppFloatingDock / <app-floating-dock> / <wui-dock> — a macOS-style pill of icon
3
5
  // links. The element writes --wui-dock-mag (1 → max-scale) per item on pointermove;
@@ -38,10 +40,10 @@ wui-dock {
38
40
  // Smooths the snap-back when the pointer leaves; during tracking the element
39
41
  // updates per frame, so the short transition just softens the steps.
40
42
  transition:
41
- width 120ms var(--wui-ease-ui),
42
- height 120ms var(--wui-ease-ui),
43
- background-color 160ms var(--wui-ease-ui),
44
- color 160ms var(--wui-ease-ui);
43
+ width var(--wui-duration-fast) var(--wui-ease-ui),
44
+ height var(--wui-duration-fast) var(--wui-ease-ui),
45
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
46
+ color var(--wui-duration-fast) var(--wui-ease-ui);
45
47
  }
46
48
  .dock-item:hover,
47
49
  .dock-item:focus-visible {
@@ -84,8 +86,8 @@ wui-dock {
84
86
  pointer-events: none;
85
87
  opacity: 0;
86
88
  transition:
87
- opacity 140ms var(--wui-ease-ui),
88
- translate 140ms var(--wui-ease-ui);
89
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
90
+ translate var(--wui-duration-fast) var(--wui-ease-ui);
89
91
  z-index: var(--wui-z-tooltip);
90
92
  }
91
93
  .dock-item:hover .dock-item-tip,
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Drawer ──
2
4
  // AppDrawer / <app-drawer> (a <wui-drawer> element): a side drawer from md up, a bottom sheet
3
5
  // below it, or a side drawer at every width when it is `no-sheet`. The sheet is as tall as its highest snap point (`--wui-drawer-max`, percent of the
@@ -234,13 +236,13 @@ body.wui-drawer-locked {
234
236
 
235
237
  @media (prefers-reduced-motion: no-preference) {
236
238
  .wui-drawer {
237
- transition: visibility 0s linear var(--wui-drawer-duration);
239
+ transition: visibility 0s var(--wui-ease-linear) var(--wui-drawer-duration);
238
240
  }
239
241
  .wui-drawer[open] {
240
242
  transition-delay: 0s;
241
243
  }
242
244
  .wui-drawer-backdrop {
243
- transition: opacity var(--wui-drawer-duration) ease;
245
+ transition: opacity var(--wui-drawer-duration) var(--wui-ease-ui);
244
246
  }
245
247
  .wui-drawer-panel {
246
248
  transition: transform var(--wui-drawer-duration) var(--wui-ease-ui);
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Due date ──
2
4
  // AppDueDate / <app-due-date> (a <wui-due-date> element): a due date that never wraps. An overdue
3
5
  // date reads in danger with its glyph, a date within soon-days reads "N days left" in warning.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Empty state: the card look, the table-body look and the sibling placement under a data table.
2
4
  //
3
5
  // Part of the wui-components layer; imported right before _data.scss, where these rules sat. Order within the layer is load-bearing (see _wui-components.scss).
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // The busy state of a form field (React loading, Razor loading, <wui-*> loading). Part of the wui-components layer, see _wui-components.scss for load order.
2
4
 
3
5
  @property --wui-busy-angle {
@@ -27,7 +29,7 @@
27
29
  background-image:
28
30
  radial-gradient(circle, var(--color-surface) 0 5px, transparent 5.5px),
29
31
  conic-gradient(from var(--wui-busy-angle), transparent 0 30%, var(--color-primary) 30% 100%);
30
- animation: wui-field-busy-spin 0.7s linear infinite;
32
+ animation: wui-field-busy-spin calc(var(--wui-duration-slow) * 2) var(--wui-ease-linear) infinite;
31
33
  }
32
34
 
33
35
  @media (prefers-reduced-motion: reduce) {
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Under 16px iOS Safari zooms the whole page when a text field takes focus.
2
4
  // This partial loads after every component partial (`_wui-components.scss`),
3
5
  // so each restated rule shares the library rule's specificity and wins by
@@ -63,7 +65,8 @@
63
65
 
64
66
  // On-demand widgets (file viewer, rich text, workspace switcher) floor their own fields.
65
67
  .wui-select-input,
66
- .dropdown-search-input {
68
+ .dropdown-search-input,
69
+ .wui-dropdown-search-input {
67
70
  font-size: 16px;
68
71
  }
69
72
 
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Size steps for fields that had none: textarea, checkbox, switch, OTP. Part of the wui-components layer, see _wui-components.scss for load order.
2
4
 
3
5
  // .textarea sets its own padding and height after .input-sm/.input-lg, so the shared step classes
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // AppFileTiles / <app-file-tiles>: a read-only grid of file tiles with a type tile, name, size and meta line.
2
4
 
3
5
  .wui-file-tiles {
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── File viewer ──
2
4
  // AppFileViewer / <app-file-viewer> / <wui-file-viewer>: a file shown inside the page, with a
3
5
  // toolbar above it. The element builds the markup and the PDF pages; everything visual is here.
@@ -212,9 +214,9 @@ wui-file-viewer:fullscreen {
212
214
  border-right: 1px solid transparent;
213
215
  opacity: 0;
214
216
  transition:
215
- width 0.24s var(--wui-ease-ui),
216
- padding 0.24s var(--wui-ease-ui),
217
- opacity 0.2s ease 0.04s;
217
+ width var(--wui-duration-default) var(--wui-ease-ui),
218
+ padding var(--wui-duration-default) var(--wui-ease-ui),
219
+ opacity var(--wui-duration-default) var(--wui-ease-ui) calc(var(--wui-duration-fast) * 0.25);
218
220
  }
219
221
  .wui-file-viewer-thumbs.open {
220
222
  width: 210px;
@@ -369,7 +371,8 @@ wui-file-viewer:fullscreen {
369
371
  // A search hit inside a text run sits in the run's flow, not positioned like the runs themselves.
370
372
  // The text is transparent over the drawing, so the hit is a see-through tint: an opaque one
371
373
  // would hide the words it marks.
372
- .wui-file-viewer-text mark.wui-file-viewer-hit {
374
+ .wui-file-viewer-text mark.wui-file-viewer-hit,
375
+ .wui-file-viewer-text .wui-file-viewer-hit.mark {
373
376
  position: static;
374
377
  margin: -1px;
375
378
  padding: 1px;
@@ -377,7 +380,8 @@ wui-file-viewer:fullscreen {
377
380
  color: transparent;
378
381
  background: color-mix(in srgb, var(--color-warning) 40%, transparent);
379
382
  }
380
- .wui-file-viewer-text mark.wui-file-viewer-hit-current {
383
+ .wui-file-viewer-text mark.wui-file-viewer-hit-current,
384
+ .wui-file-viewer-text .wui-file-viewer-hit-current.mark {
381
385
  background: color-mix(in srgb, var(--color-primary) 45%, transparent);
382
386
  box-shadow: 0 0 0 1px var(--color-primary);
383
387
  }
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // The floating filter panel: <wui-filter-popover> with its Filters button, drawn by AppFilterBar
2
4
  // `floating` and <app-filter-bar floating>. The element places the panel (anchorOverlay, fixed), so
3
5
  // this partial only draws it: a panel sized to its facets with a head (title and the Keep open switch),
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Floating stack ──
2
4
  // The one fixed corner container the compact floating buttons (AppFloatingButton: the chat launcher, the report-an-issue
3
5
  // button) portal into, so they stack with a gap and never overlap or need a hand-set offset. React's
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Wizard stepper, pricing card, form repeater.
2
4
  //
3
5
  // Part of the wui-components layer — see _wui-components.scss for the whole
@@ -236,9 +238,9 @@ button.step.done:focus-visible .step-circle {
236
238
  font-size: var(--wui-step-number-font, 13px);
237
239
  font-weight: 700;
238
240
  transition:
239
- background 0.2s ease,
240
- color 0.2s ease,
241
- transform 0.2s ease;
241
+ background var(--wui-duration-default) var(--wui-ease-ui),
242
+ color var(--wui-duration-default) var(--wui-ease-ui),
243
+ transform var(--wui-duration-default) var(--wui-ease-ui);
242
244
  }
243
245
  .stepper-journey .step.done .step-circle {
244
246
  background: var(--wui-step-done-soft, var(--wui-step-soft, var(--color-primary-soft)));
@@ -437,9 +439,9 @@ button.step.done:focus-visible .step-circle {
437
439
  color: var(--color-text-subtle);
438
440
  font-size: var(--wui-step-number-font, 22px);
439
441
  transition:
440
- background 0.2s ease,
441
- color 0.2s ease,
442
- transform 0.2s ease;
442
+ background var(--wui-duration-default) var(--wui-ease-ui),
443
+ color var(--wui-duration-default) var(--wui-ease-ui),
444
+ transform var(--wui-duration-default) var(--wui-ease-ui);
443
445
  }
444
446
  // Like every variant, the icons stepper defaults to the brand primary — a solid-primary
445
447
  // active badge, a soft-primary done badge, a primary rail. Every colour routes through the
@@ -891,9 +893,9 @@ button.wui-step-tile-body:hover .step-label {
891
893
  corner-shape: squircle;
892
894
  background: var(--color-surface);
893
895
  transition:
894
- border-color 0.15s ease,
895
- box-shadow 0.15s ease,
896
- transform 0.15s ease;
896
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
897
+ box-shadow var(--wui-duration-fast) var(--wui-ease-ui),
898
+ transform var(--wui-duration-fast) var(--wui-ease-ui);
897
899
  }
898
900
  .plan-card:hover {
899
901
  border-color: var(--color-border-strong);
@@ -1135,10 +1137,11 @@ button.wui-step-tile-body:hover .step-label {
1135
1137
  line-height: 1.4;
1136
1138
  color: var(--color-text-muted);
1137
1139
  }
1140
+ // --wui-form-gap (default 16px) sets the gap between rows and between fields in a row; 0 lets the reserved message line be the only space.
1138
1141
  .form-section-body {
1139
1142
  display: flex;
1140
1143
  flex-direction: column;
1141
- gap: var(--wui-space-lg);
1144
+ gap: var(--wui-form-gap, var(--wui-space-lg));
1142
1145
  }
1143
1146
 
1144
1147
  // layout="side": the title and description take a column beside the fields. Below lg the
@@ -1179,6 +1182,7 @@ button.wui-step-tile-body:hover .step-label {
1179
1182
  // Centres the label's first line on the control beside it, at any control height.
1180
1183
  .wui-form-labels-start .field > .label {
1181
1184
  grid-column: 1;
1185
+ margin-bottom: 0;
1182
1186
  padding-top: calc((var(--wui-control-md) - 1.2em) / 2);
1183
1187
  }
1184
1188
  .wui-form-labels-start .field > :not(.label) {
@@ -1204,7 +1208,7 @@ button.wui-step-tile-body:hover .step-label {
1204
1208
  .form-row-grid {
1205
1209
  display: grid;
1206
1210
  grid-template-columns: repeat(var(--form-cols, 2), minmax(0, 1fr));
1207
- gap: 16px;
1211
+ gap: var(--wui-form-gap, 16px);
1208
1212
  align-items: start;
1209
1213
  // In a form row every field fills its column, so a date picker drops its compact standalone
1210
1214
  // width here and lines up with the fields beside it. A .date-w-* class on the field still wins.
@@ -1349,8 +1353,8 @@ wui-wizard-step[hidden] {
1349
1353
  color: var(--color-text-muted);
1350
1354
  cursor: pointer;
1351
1355
  transition:
1352
- background-color 0.12s ease,
1353
- color 0.12s ease;
1356
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
1357
+ color var(--wui-duration-fast) var(--wui-ease-ui);
1354
1358
  }
1355
1359
  .wui-wizard-topbar-close:hover {
1356
1360
  background: var(--color-bg-muted);