@webority/theme 0.164.0 → 0.167.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 (67) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +86 -1
  3. package/dist/published-theme.json +2 -0
  4. package/dist/purge-safelist.json +58 -24
  5. package/dist/webority-modes.css +1 -0
  6. package/dist/webority-theme.css +1 -1
  7. package/dist/webority-tokens.css +1 -1
  8. package/package.json +13 -6
  9. package/scss/_bootstrap.generated.scss +1 -1
  10. package/scss/_components.scss +33 -25
  11. package/scss/_modes.scss +17 -0
  12. package/scss/_tokens-modes.generated.scss +170 -0
  13. package/scss/_tokens.generated.scss +11 -6
  14. package/scss/_wui-components.scss +2 -2
  15. package/scss/_wui-core.scss +2 -2
  16. package/scss/wui/_cell.scss +1 -1
  17. package/scss/wui/_choice.scss +18 -8
  18. package/scss/wui/_controls.scss +144 -61
  19. package/scss/wui/_data.scss +54 -4
  20. package/scss/wui/_display.scss +8 -4
  21. package/scss/wui/_entry-grid.scss +178 -0
  22. package/scss/wui/_field-floor.scss +6 -6
  23. package/scss/wui/_field-sizes.scss +9 -5
  24. package/scss/wui/_flow.scss +1 -0
  25. package/scss/wui/_forced-colors.scss +15 -0
  26. package/scss/wui/_formula-steps.scss +73 -0
  27. package/scss/wui/_groups.scss +8 -0
  28. package/scss/wui/_interaction.scss +4 -0
  29. package/scss/wui/_metric-strip.scss +14 -0
  30. package/scss/wui/_navigation.scss +26 -10
  31. package/scss/wui/_overlays.scss +8 -0
  32. package/scss/wui/_print.scss +15 -0
  33. package/scss/wui/_sections.scss +28 -0
  34. package/scss/wui/_select.scss +9 -2
  35. package/scss/wui/_shell-parts.scss +4 -0
  36. package/scss/wui/_typography.scss +1 -0
  37. package/scss/wui/_utilities.scss +0 -7
  38. package/scss/wui/forced-colors/_base.scss +95 -0
  39. package/scss/wui/forced-colors/_choice.scss +59 -0
  40. package/scss/wui/forced-colors/_controls.scss +90 -0
  41. package/scss/wui/forced-colors/_data.scss +57 -0
  42. package/scss/wui/forced-colors/_display.scss +77 -0
  43. package/scss/wui/forced-colors/_media.scss +63 -0
  44. package/scss/wui/forced-colors/_navigation.scss +40 -0
  45. package/scss/wui/forced-colors/_overlays.scss +41 -0
  46. package/scss/wui/modes/_calendar.scss +24 -0
  47. package/scss/wui/modes/_command-palette.scss +23 -0
  48. package/scss/wui/modes/_dock.scss +21 -0
  49. package/scss/wui/modes/_file-viewer.scss +19 -0
  50. package/scss/wui/modes/_image-crop.scss +21 -0
  51. package/scss/wui/modes/_kanban.scss +36 -0
  52. package/scss/wui/modes/_org-tree.scss +18 -0
  53. package/scss/wui/modes/_rich-text.scss +25 -0
  54. package/scss/wui/modes/_tour.scss +30 -0
  55. package/scss/wui/modes/_tree.scss +17 -0
  56. package/scss/wui/modes/_workspace.scss +19 -0
  57. package/scss/wui/print/_chrome.scss +43 -0
  58. package/scss/wui/print/_content.scss +73 -0
  59. package/scss/wui/print/_dark.scss +105 -0
  60. package/scss/wui/print/_data.scss +80 -0
  61. package/scss/wui/print/_overlays.scss +46 -0
  62. package/scss/wui/print/_page.scss +11 -0
  63. package/scss/wui/print/_status.scss +42 -0
  64. package/scss/wui/print/_surfaces.scss +56 -0
  65. package/token-meanings.json +3 -2
  66. package/scss/wui/_resizable.scss +0 -100
  67. package/scss/wui/_rolling-number.scss +0 -68
@@ -73,6 +73,10 @@
73
73
  background-color var(--wui-duration-fast) var(--wui-ease-ui),
74
74
  color var(--wui-duration-fast) var(--wui-ease-ui);
75
75
  }
76
+ // A header's info tip sits inline after the label, with the shared xs gap.
77
+ :where(.table) > thead > tr > th > .infotip {
78
+ margin-left: var(--wui-space-xs);
79
+ }
76
80
  :where(.table) > tbody > tr > td,
77
81
  :where(.table) > tbody > tr > th.wui-row-header {
78
82
  --bs-table-color: var(--color-text-muted);
@@ -173,6 +177,10 @@
173
177
  .table-wrap.wui-table-flush:has(> .table-ledger) {
174
178
  padding: 0;
175
179
  }
180
+ .table-wrap.wui-table-refreshing > table {
181
+ opacity: 0.6;
182
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
183
+ }
176
184
  .table-ledger {
177
185
  border-spacing: 0;
178
186
  }
@@ -358,9 +366,9 @@
358
366
 
359
367
  // Table toolbar (AppTableToolbar / <app-table-toolbar>): filters left, search and actions right;
360
368
  // while rows are selected the bulk bar takes the same strip. Both rows are always in the markup,
361
- // one `hidden`, so the swap never moves the table.
369
+ // one `hidden`, so the swap never moves the table. The bottom padding keeps the table header off the strip.
362
370
  .wui-table-toolbar {
363
- padding: 12px var(--wui-table-pad, 20px) 0;
371
+ padding: var(--wui-space-md) var(--wui-table-pad, 20px);
364
372
  }
365
373
  .wui-table-toolbar-main,
366
374
  .wui-table-toolbar-filters,
@@ -444,6 +452,18 @@
444
452
  min-width: 0;
445
453
  max-width: 320px;
446
454
  }
455
+ // Opt-in labelled facets: the wrapper takes the control's place in the row.
456
+ .wui-filter-bar > .wui-filter-facet {
457
+ flex: 0 1 auto;
458
+ }
459
+ .wui-filter-bar > .wui-filter-facet:has(> :is(.field, wui-select, wui-date-range)) {
460
+ flex: 1 1 180px;
461
+ max-width: 240px;
462
+ }
463
+ .wui-filter-bar > .wui-filter-facet:has(> .search-wrap) {
464
+ flex: 1 1 260px;
465
+ max-width: 320px;
466
+ }
447
467
  // The Razor bar sits in a GET form beside its Apply button. Its own box would take a whole
448
468
  // line and push Apply below it, so the form lays the controls, chips, Clear all and Apply out
449
469
  // as one row. `!important` beats the bar's d-flex utility, which React shares.
@@ -767,6 +787,16 @@
767
787
  outline-offset: var(--wui-focus-ring-inset);
768
788
  }
769
789
 
790
+ // Opt-in: the first column reads as the link a clickable row already is.
791
+ .table-ledger.wui-table-link-first tbody tr.wui-row-link > .wui-name-cell :is(.u-name, .u-name > *) {
792
+ color: var(--color-primary-text);
793
+ font-weight: 500;
794
+ }
795
+ .table-ledger.wui-table-link-first tbody tr.wui-row-link:is(:hover, :focus-visible) > .wui-name-cell .u-name {
796
+ text-decoration: underline;
797
+ text-underline-offset: 3px;
798
+ }
799
+
770
800
  // Stacked on phones (AppDataTable `stackOnMobile`, Razor `stack-on-mobile`): below md (768px) each
771
801
  // row is a card. The first column (after the library's select/expand cells) leads the card at full
772
802
  // width, every other cell is a "label: value" line from its data-label, the select checkbox sits in
@@ -1090,15 +1120,35 @@
1090
1120
  width: var(--wui-scroll-pad-end, 0);
1091
1121
  }
1092
1122
 
1093
- // Row actions — icon-only buttons replacing a kebab dropdown.
1123
+ // Row actions from one list: icon buttons (.wui-row-action-inline) and one "more" menu
1124
+ // (.wui-row-actions-menu), drawn by AppRowActions and <app-row-actions>.
1094
1125
  .u-row-actions {
1095
1126
  display: flex;
1096
1127
  align-items: center;
1097
1128
  justify-content: flex-end;
1098
1129
  gap: 6px;
1099
- // Action cells never wrap — a status hint stays on one line.
1130
+ // Action cells never wrap, so a labelled action stays on one line.
1100
1131
  white-space: nowrap;
1101
1132
  }
1133
+ // Below sm the menu is the only control; from sm up the menu shows only when it holds a row of its own.
1134
+ @include media-breakpoint-down(sm) {
1135
+ .u-row-actions > .wui-row-action-inline {
1136
+ display: none;
1137
+ }
1138
+ }
1139
+ @include media-breakpoint-up(sm) {
1140
+ .u-row-actions > .wui-row-actions-menu.wui-hidden-from-sm {
1141
+ display: none;
1142
+ }
1143
+ }
1144
+ // Equal-width row actions (`equalActions`): each text button in the actions cell takes the same width, wide enough for a short verb. Icon-only actions (.u-action) are left alone.
1145
+ .table-ledger.wui-table-equal-actions {
1146
+ --wui-row-action-width: 7rem;
1147
+ }
1148
+ .table-ledger.wui-table-equal-actions .u-row-actions > .btn {
1149
+ min-width: var(--wui-row-action-width);
1150
+ justify-content: center;
1151
+ }
1102
1152
  .u-action {
1103
1153
  // The disc size is a custom property so the wrapper can scale it with the glyph `size`
1104
1154
  // (React AppActionIcon / Razor <app-action-icon> set it to `size + 16px` — a constant 8px
@@ -787,17 +787,21 @@ a.kpi:focus-visible {
787
787
  font-family: var(--bs-font-monospace);
788
788
  text-transform: uppercase;
789
789
  }
790
- // Size steps mirror AppInput's .input-sm / .input-lg (which the hex box also carries).
790
+ // Size steps mirror AppInput's .wui-input-sm, .wui-input-lg and .wui-input-xl (which the hex box also carries).
791
791
  // The swatch tracks the control height per size, less the 4px inset the md swatch already
792
- // keeps against the 44px field, so the chip stays visually inset at every size.
793
- .color-field-sm .color-field-swatch {
792
+ // keeps against the md field, so the chip stays visually inset at every size.
793
+ .wui-color-field-sm .color-field-swatch {
794
794
  width: calc(var(--wui-control-sm) - 4px);
795
795
  height: calc(var(--wui-control-sm) - 4px);
796
796
  }
797
- .color-field-lg .color-field-swatch {
797
+ .wui-color-field-lg .color-field-swatch {
798
798
  width: calc(var(--wui-control-lg) - 4px);
799
799
  height: calc(var(--wui-control-lg) - 4px);
800
800
  }
801
+ .wui-color-field-xl .color-field-swatch {
802
+ width: calc(var(--wui-control-xl) - 4px);
803
+ height: calc(var(--wui-control-xl) - 4px);
804
+ }
801
805
 
802
806
  // ============================================================================
803
807
  // Timeline / activity feed. The rail is drawn on the LIST, not per item, so it
@@ -0,0 +1,178 @@
1
+ @use "../config" as *;
2
+
3
+ // ── Entry grid ──
4
+ // AppEntryGrid / .wui-entry-grid: an editable line table with a status column, a keyboard legend
5
+ // and a sticky totals row. Row state paints through Bootstrap's --bs-table-bg-state, as the data
6
+ // table does (_data.scss → Row state), so the tint layers over a cell's own inset shadow.
7
+ //
8
+ // Part of the wui-components layer; see _wui-components.scss for load order.
9
+
10
+ .wui-entry-grid {
11
+ min-width: 0;
12
+ max-width: 100%;
13
+ }
14
+ .wui-entry-grid-scroll {
15
+ max-width: 100%;
16
+ overflow-x: auto;
17
+ }
18
+
19
+ // Inputs fill their cell; the cell adds no padding around them, so a line reads as one row of fields.
20
+ .wui-entry-grid-table td:has(input:not([type="checkbox"], [type="radio"]), select, textarea) {
21
+ padding: 0;
22
+ }
23
+ .wui-entry-grid-table td > :is(input, select, textarea):not([type="checkbox"], [type="radio"]) {
24
+ width: 100%;
25
+ min-width: 0;
26
+ }
27
+
28
+ .wui-entry-grid-status {
29
+ width: 2rem;
30
+ min-width: 2rem;
31
+ max-width: 2rem;
32
+ padding-inline: 0;
33
+ text-align: center;
34
+ }
35
+ .wui-entry-grid-status > .wui-icon,
36
+ .wui-entry-grid-status > .spinner-border {
37
+ vertical-align: middle;
38
+ }
39
+
40
+ .wui-entry-grid-row.is-active {
41
+ --bs-table-bg-state: var(--color-primary-soft);
42
+ }
43
+ .wui-entry-grid-row.is-active:hover {
44
+ --bs-table-bg-state: color-mix(in srgb, var(--color-primary) 14%, transparent);
45
+ }
46
+ .wui-entry-grid-row.is-active > td:first-child {
47
+ box-shadow:
48
+ inset 3px 0 0 0 var(--color-primary),
49
+ inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
50
+ }
51
+ .wui-entry-grid-row-failed {
52
+ --bs-table-bg-state: var(--color-danger-soft);
53
+ }
54
+
55
+ .wui-entry-grid-dot {
56
+ display: inline-block;
57
+ width: 8px;
58
+ height: 8px;
59
+ border-radius: var(--wui-radius-pill);
60
+ background: var(--color-warning);
61
+ vertical-align: middle;
62
+ }
63
+
64
+ .wui-entry-grid-detail > td {
65
+ background: var(--color-surface);
66
+ padding: var(--wui-space-md);
67
+ }
68
+ .wui-entry-grid-error {
69
+ color: var(--color-danger-text);
70
+ }
71
+
72
+ .wui-entry-grid-table [data-kind="number"],
73
+ .wui-entry-grid-table [data-kind="number"] > :is(input, select, textarea) {
74
+ font-variant-numeric: tabular-nums;
75
+ text-align: end;
76
+ }
77
+
78
+ .wui-entry-grid-footer td {
79
+ position: sticky;
80
+ bottom: 0;
81
+ z-index: 1;
82
+ background: var(--color-surface);
83
+ border-top: 1px solid var(--color-border);
84
+ font-weight: var(--wui-fw-bold);
85
+ font-variant-numeric: tabular-nums;
86
+ }
87
+
88
+ .wui-entry-grid-empty > td {
89
+ color: var(--color-text-muted);
90
+ text-align: center;
91
+ }
92
+
93
+ .wui-entry-grid-bar {
94
+ display: flex;
95
+ flex-wrap: wrap;
96
+ align-items: center;
97
+ gap: var(--wui-space-sm);
98
+ margin-top: var(--wui-space-sm);
99
+ }
100
+ .wui-entry-grid-add {
101
+ order: 0;
102
+ }
103
+ .wui-entry-grid-hint {
104
+ display: flex;
105
+ flex-wrap: wrap;
106
+ align-items: center;
107
+ gap: var(--wui-space-xs) var(--wui-space-md);
108
+ margin: 0;
109
+ padding: 0;
110
+ list-style: none;
111
+ font-size: var(--wui-fs-xs);
112
+ color: var(--color-text-muted);
113
+ }
114
+ .wui-entry-grid-hint > li {
115
+ display: inline-flex;
116
+ align-items: center;
117
+ gap: var(--wui-space-xs);
118
+ }
119
+
120
+ // Sortable headings match the data table's (_data.scss → Table extras): same pointer, focus ring and arrow.
121
+ .wui-entry-grid-table th[data-sortable] {
122
+ cursor: pointer;
123
+ user-select: none;
124
+ }
125
+ .wui-entry-grid-table th[data-sortable]:focus-visible {
126
+ outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
127
+ outline-offset: var(--wui-focus-ring-inset);
128
+ }
129
+ .wui-entry-grid-table th[data-sortable] .sort-icon {
130
+ display: inline-block;
131
+ vertical-align: middle;
132
+ width: 12px;
133
+ margin-left: var(--wui-space-xs);
134
+ color: var(--color-text-subtle);
135
+ opacity: 0;
136
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
137
+ }
138
+ .wui-entry-grid-table th[data-sortable]:hover .sort-icon {
139
+ opacity: 0.6;
140
+ }
141
+ .wui-entry-grid-table th[data-sortable][aria-sort="ascending"] .sort-icon,
142
+ .wui-entry-grid-table th[data-sortable][aria-sort="descending"] .sort-icon {
143
+ opacity: 1;
144
+ color: var(--color-primary-text);
145
+ }
146
+ .wui-entry-grid-table th[data-sortable][aria-sort="descending"] .sort-icon {
147
+ transform: rotate(180deg);
148
+ }
149
+ .wui-entry-grid-table th[data-sortable][aria-sort="ascending"],
150
+ .wui-entry-grid-table th[data-sortable][aria-sort="descending"] {
151
+ color: var(--color-text);
152
+ }
153
+
154
+ // The group row is the first header row; a cell that spans several columns centres over them.
155
+ .wui-entry-grid-group {
156
+ font-weight: var(--wui-fw-semibold);
157
+ border-bottom: 1px solid var(--color-border);
158
+ }
159
+ .wui-entry-grid-group[colspan] {
160
+ text-align: center;
161
+ }
162
+
163
+ // A pinned start column stays visible while the wrap scrolls sideways. Its cells are opaque, so the
164
+ // row tint paints through the inset shadow, as the data table's pinned cells do. A status column sits
165
+ // left of it, and its width (2rem) moves the pin over.
166
+ .wui-entry-grid-table:has(.wui-entry-grid-status) {
167
+ --wui-entry-grid-pin-left: 2rem;
168
+ }
169
+ .wui-entry-grid-table [data-pin="start"] {
170
+ position: sticky;
171
+ left: var(--wui-entry-grid-pin-left, 0);
172
+ z-index: 1;
173
+ background: var(--color-surface);
174
+ box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
175
+ }
176
+ .wui-entry-grid-table thead [data-pin="start"] {
177
+ z-index: 3;
178
+ }
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
  .form-control-sm,
26
- .input-sm {
26
+ .wui-input-sm {
27
27
  font-size: max(16px, #{$input-font-size-sm});
28
28
  }
29
29
 
@@ -33,7 +33,7 @@
33
33
 
34
34
  // The library's large field is 16px (_controls.scss), not Bootstrap's $input-font-size-lg.
35
35
  .form-control-lg,
36
- .input-lg {
36
+ .wui-input-lg {
37
37
  font-size: max(16px, 16px);
38
38
  }
39
39
 
@@ -55,11 +55,11 @@
55
55
  font-size: max(16px, 18px);
56
56
  }
57
57
 
58
- .num-wrap-sm .num-input {
58
+ .wui-num-wrap-sm .num-input {
59
59
  font-size: max(16px, 13px);
60
60
  }
61
61
 
62
- .num-wrap-lg .num-input {
62
+ .wui-num-wrap-lg .num-input {
63
63
  font-size: max(16px, 16px);
64
64
  }
65
65
 
@@ -70,13 +70,13 @@
70
70
  font-size: 16px;
71
71
  }
72
72
 
73
- .search-wrap.search-sm .search-input {
73
+ .search-wrap.wui-search-sm .search-input {
74
74
  font-size: 16px;
75
75
  }
76
76
 
77
77
  // The tel input and its dial code share one size, so the floor goes on the shared variable.
78
78
  .app-phone-number-input,
79
- .app-phone-number-input.phone-sm {
79
+ .app-phone-number-input.wui-phone-sm {
80
80
  --wui-phone-font-size: 16px;
81
81
  }
82
82
  }
@@ -2,19 +2,23 @@
2
2
 
3
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.
4
4
 
5
- // .textarea sets its own padding and height after .input-sm/.input-lg, so the shared step classes
5
+ // .textarea sets its own padding and height after .wui-input-sm/.wui-input-lg, so the shared step classes
6
6
  // need restating with the textarea's specificity.
7
- // A typed-in field stays at 16px or more on a phone, or iOS zooms on focus; --wui-fs-lg is the smallest text step that does.
8
- .textarea.input-sm {
7
+ // A small text area takes its text size from .wui-input-sm, so iOS zooms on focus as it does for that field.
8
+ .textarea.wui-input-sm {
9
9
  padding: var(--wui-space-sm) var(--wui-space-md) var(--wui-space-sm);
10
- font-size: var(--wui-fs-lg);
11
10
  border-radius: var(--wui-field-sm-radius);
12
11
  }
13
- .textarea.input-lg {
12
+ .textarea.wui-input-lg {
14
13
  padding: var(--wui-space-md) var(--wui-space-lg) var(--wui-space-lg);
15
14
  font-size: var(--wui-fs-lg);
16
15
  border-radius: var(--wui-field-lg-radius);
17
16
  }
17
+ .textarea.wui-input-xl {
18
+ padding: var(--wui-space-md) var(--wui-space-lg) var(--wui-space-lg);
19
+ font-size: var(--wui-fs-lg);
20
+ border-radius: var(--wui-field-xl-radius);
21
+ }
18
22
 
19
23
  .form-check.form-check-sm .form-check-input {
20
24
  width: 16px;
@@ -1197,6 +1197,7 @@ button.wui-step-tile-body:hover .step-label {
1197
1197
  // density="compact": small-tier controls and tighter gaps, for admin screens and dialogs.
1198
1198
  .wui-form-compact {
1199
1199
  --wui-control-md: var(--wui-control-sm);
1200
+ --wui-button-md-height: var(--wui-button-sm-height);
1200
1201
  gap: 12px;
1201
1202
  }
1202
1203
  .wui-form-compact .form-section-body,
@@ -0,0 +1,15 @@
1
+ @use "sass:meta";
2
+
3
+ // The forced-colours layer: rules that apply only under a system contrast theme.
4
+ // The browser already forces text, background, border and outline colours and drops shadows;
5
+ // these rules restore what that loses. System colours only, never a token colour.
6
+ @media (forced-colors: active) {
7
+ @include meta.load-css("forced-colors/base");
8
+ @include meta.load-css("forced-colors/controls");
9
+ @include meta.load-css("forced-colors/choice");
10
+ @include meta.load-css("forced-colors/navigation");
11
+ @include meta.load-css("forced-colors/data");
12
+ @include meta.load-css("forced-colors/display");
13
+ @include meta.load-css("forced-colors/overlays");
14
+ @include meta.load-css("forced-colors/media");
15
+ }
@@ -0,0 +1,73 @@
1
+ @use "../config" as *;
2
+
3
+ // ── Formula steps ──
4
+ // AppFormulaSteps / <app-formula-steps>: a calculation shown as signed lines, each a label over
5
+ // its working and note, the figure end-aligned on the first line. The total line is ruled above.
6
+ //
7
+ // Part of the wui-components layer, see _wui-components.scss for load order.
8
+
9
+ .wui-formula-steps {
10
+ list-style: none;
11
+ margin: 0;
12
+ padding: 0;
13
+ }
14
+
15
+ .wui-formula-step {
16
+ display: grid;
17
+ grid-template-columns: 1.25rem minmax(0, 1fr) auto;
18
+ grid-template-areas:
19
+ "sign label result"
20
+ ". working ."
21
+ ". note .";
22
+ row-gap: var(--wui-space-xxs);
23
+ column-gap: var(--wui-space-sm);
24
+ align-items: baseline;
25
+ padding-block: var(--wui-space-sm);
26
+ border-bottom: 1px solid var(--color-border);
27
+ }
28
+ .wui-formula-step:last-child {
29
+ border-bottom: 0;
30
+ }
31
+
32
+ .wui-formula-sign {
33
+ grid-area: sign;
34
+ text-align: center;
35
+ color: var(--color-text-muted);
36
+ font-variant-numeric: tabular-nums;
37
+ }
38
+ .wui-formula-label {
39
+ grid-area: label;
40
+ min-width: 0;
41
+ color: var(--color-text-body);
42
+ font-weight: var(--wui-fw-medium);
43
+ }
44
+ .wui-formula-working {
45
+ grid-area: working;
46
+ font-size: var(--wui-fs-xs);
47
+ color: var(--color-text-muted);
48
+ }
49
+ .wui-formula-note {
50
+ grid-area: note;
51
+ font-size: var(--wui-fs-xs);
52
+ color: var(--color-text-muted);
53
+ }
54
+ .wui-formula-result {
55
+ grid-area: result;
56
+ justify-self: end;
57
+ text-align: end;
58
+ white-space: nowrap;
59
+ font-variant-numeric: tabular-nums;
60
+ }
61
+
62
+ // The line before the total drops its own rule, so the total's rule is the only line between them.
63
+ .wui-formula-step:has(+ .wui-formula-step-total) {
64
+ border-bottom-color: transparent;
65
+ }
66
+ .wui-formula-step-total {
67
+ border-top: 2px solid var(--color-border-strong);
68
+ border-bottom: 0;
69
+ }
70
+ .wui-formula-step-total .wui-formula-label,
71
+ .wui-formula-step-total .wui-formula-result {
72
+ font-weight: var(--wui-fw-bold);
73
+ }
@@ -92,6 +92,11 @@
92
92
  padding-inline: 1.25rem;
93
93
  font-size: 1rem;
94
94
  }
95
+ .wui-addon-group-xl .wui-addon {
96
+ min-height: var(--wui-control-xl);
97
+ padding-inline: var(--wui-space-lg);
98
+ font-size: var(--wui-fs-lg);
99
+ }
95
100
  .wui-addon-group > .btn {
96
101
  height: var(--wui-control-md);
97
102
  }
@@ -101,6 +106,9 @@
101
106
  .wui-addon-group-lg > .btn {
102
107
  height: var(--wui-control-lg);
103
108
  }
109
+ .wui-addon-group-xl > .btn {
110
+ height: var(--wui-control-xl);
111
+ }
104
112
 
105
113
  // Square the sides that meet, and let the shared border overlap.
106
114
  .wui-addon-group > :not(:first-child),
@@ -280,6 +280,10 @@ html:has(.form-actions-sticky) {
280
280
  padding-block: var(--wui-space-md);
281
281
  margin-block: calc(-1 * var(--wui-space-md));
282
282
  }
283
+ .wui-touch-target {
284
+ min-width: var(--wui-touch-target);
285
+ min-height: var(--wui-touch-target);
286
+ }
283
287
  }
284
288
 
285
289
  // Touch pointers at any width: the same 44px floor for controls the phone block does not reach.
@@ -85,3 +85,17 @@ a.wui-metric:hover .wui-metric-value {
85
85
  .wui-metric-tone-info .wui-metric-value {
86
86
  color: var(--color-info-text);
87
87
  }
88
+
89
+ // Opt-in: one flush row. No gap, items stretched to the row height, a rule between items from md up.
90
+ .wui-metric-strip-divided {
91
+ gap: 0;
92
+ align-items: stretch;
93
+ }
94
+ .wui-metric-strip-divided .wui-metric {
95
+ padding: var(--wui-space-md) var(--wui-space-lg);
96
+ }
97
+ @media (min-width: 768px) {
98
+ .wui-metric-strip-divided .wui-metric + .wui-metric {
99
+ border-left: 1px solid var(--color-border);
100
+ }
101
+ }
@@ -691,14 +691,18 @@
691
691
  color: var(--color-text-muted);
692
692
  cursor: pointer;
693
693
  }
694
- .search-wrap.search-sm .wui-search-toggle {
694
+ .search-wrap.wui-search-sm .wui-search-toggle {
695
695
  width: 32px;
696
696
  height: 32px;
697
697
  }
698
- .search-wrap.search-lg .wui-search-toggle {
698
+ .search-wrap.wui-search-lg .wui-search-toggle {
699
699
  width: 44px;
700
700
  height: 44px;
701
701
  }
702
+ .search-wrap.wui-search-xl .wui-search-toggle {
703
+ width: var(--wui-control-xl);
704
+ height: var(--wui-control-xl);
705
+ }
702
706
  .wui-search-toggle:hover {
703
707
  color: var(--color-text);
704
708
  }
@@ -723,33 +727,45 @@
723
727
  appearance: none;
724
728
  display: none;
725
729
  }
726
- // Sizes — sm / lg around the default, mirroring AppInput. The leading icon and clear button
730
+ // Sizes: sm, lg and xl around the default, mirroring AppInput. The leading icon and clear button
727
731
  // track the height so they stay centred and clear of the text.
728
- .search-wrap.search-sm .search-input {
732
+ .search-wrap.wui-search-sm .search-input {
729
733
  height: var(--wui-control-sm);
730
734
  padding-left: calc(13px + var(--wui-search-icon-size, 12px) + 9px);
731
735
  padding-right: 32px;
732
736
  font-size: 13px;
733
737
  }
734
- .search-wrap.search-sm > .search-icon,
735
- .search-wrap.search-sm .search-spinner {
738
+ .search-wrap.wui-search-sm > .search-icon,
739
+ .search-wrap.wui-search-sm .search-spinner {
736
740
  left: 11px;
737
741
  }
738
- .search-wrap.search-sm .search-clear {
742
+ .search-wrap.wui-search-sm .search-clear {
739
743
  width: 22px;
740
744
  height: 22px;
741
745
  right: 6px;
742
746
  }
743
- .search-wrap.search-lg .search-input {
747
+ .search-wrap.wui-search-lg .search-input,
748
+ .search-wrap.wui-search-xl .search-input {
744
749
  height: var(--wui-control-lg);
745
750
  padding-left: calc(13px + var(--wui-search-icon-size, 24px) + 9px);
746
751
  padding-right: 40px;
747
752
  font-size: 16px;
748
753
  }
749
- .search-wrap.search-lg > .search-icon,
750
- .search-wrap.search-lg .search-spinner {
754
+ .search-wrap.wui-search-lg > .search-icon,
755
+ .search-wrap.wui-search-lg .search-spinner {
751
756
  left: 16px;
752
757
  }
758
+ .search-wrap.wui-search-xl .search-input {
759
+ // Room kept clear for the clear button at the right; a layout constant, not a spacing step.
760
+ --wui-search-clear-room: 44px;
761
+ height: var(--wui-control-xl);
762
+ padding-right: var(--wui-search-clear-room);
763
+ font-size: var(--wui-fs-lg);
764
+ }
765
+ .search-wrap.wui-search-xl > .search-icon,
766
+ .search-wrap.wui-search-xl .search-spinner {
767
+ left: var(--wui-space-lg);
768
+ }
753
769
  // Loading — a spinner replaces the leading glyph while a search is in flight.
754
770
  .search-wrap.is-loading > .search-icon {
755
771
  display: none;
@@ -168,6 +168,14 @@ dialog.wui-modal-shell[open] {
168
168
  color: var(--color-text);
169
169
  overflow-wrap: anywhere;
170
170
  }
171
+ // The opt-in display face restates the type settings, so it wins over the
172
+ // --wui-modal-title-font-* hooks, which only tune the default title.
173
+ .wui-modal-title-serif {
174
+ font-family: var(--wui-font-display, inherit);
175
+ font-size: 30px;
176
+ font-weight: var(--wui-fw-medium, 500);
177
+ line-height: var(--wui-lh-heading, 1.2);
178
+ }
171
179
  .wui-modal-subtitle {
172
180
  margin-top: 1px;
173
181
  font-size: 12px;
@@ -0,0 +1,15 @@
1
+ @use "sass:meta";
2
+
3
+ // The print layer: rules that apply only when the page is printed or saved as PDF.
4
+ // Each family file holds plain rules; this index is the only place that names the media query,
5
+ // so a family rule cannot reach the screen. Loaded last in the modes file so it wins every tie.
6
+ @media print {
7
+ @include meta.load-css("print/page");
8
+ @include meta.load-css("print/chrome");
9
+ @include meta.load-css("print/surfaces");
10
+ @include meta.load-css("print/data");
11
+ @include meta.load-css("print/content");
12
+ @include meta.load-css("print/overlays");
13
+ @include meta.load-css("print/status");
14
+ @include meta.load-css("print/dark");
15
+ }