@webority/theme 0.176.0 → 0.178.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/README.md +7 -7
- package/dist/purge-safelist.json +3 -5
- package/dist/webority-modes.css +1 -1
- package/dist/webority-theme.css +1 -1
- package/dist/webority-tokens.css +1 -1
- package/package.json +5 -5
- package/scss/_bootstrap.generated.scss +1 -1
- package/scss/_components.scss +16 -8
- package/scss/_flags.scss +1 -1
- package/scss/_marketing.scss +2 -0
- package/scss/_tokens-modes.generated.scss +1 -1
- package/scss/_tokens.generated.scss +6 -6
- package/scss/_variables.scss +1 -1
- package/scss/_wui-core.scss +1 -1
- package/scss/_wui-residual.scss +10 -0
- package/scss/wui/_auth-layout.scss +2 -1
- package/scss/wui/_calendar.scss +2 -1
- package/scss/wui/_card.scss +2 -0
- package/scss/wui/_carousel.scss +2 -1
- package/scss/wui/_chart.scss +8 -4
- package/scss/wui/_choice.scss +23 -10
- package/scss/wui/_code-block.scss +2 -1
- package/scss/wui/_command-palette.scss +4 -2
- package/scss/wui/_comment-thread.scss +8 -4
- package/scss/wui/_compare-table.scss +2 -1
- package/scss/wui/_consent-banner.scss +2 -1
- package/scss/wui/_controls.scss +65 -104
- package/scss/wui/_data.scss +19 -9
- package/scss/wui/_detail-pane.scss +2 -1
- package/scss/wui/_disclosure.scss +2 -1
- package/scss/wui/_display.scss +34 -22
- package/scss/wui/_dock.scss +2 -1
- package/scss/wui/_drawer.scss +5 -4
- package/scss/wui/_empty-state.scss +2 -1
- package/scss/wui/_field-busy.scss +3 -6
- package/scss/wui/_field-floor.scss +1 -5
- package/scss/wui/_field-sizes.scss +7 -4
- package/scss/wui/_file-tiles.scss +4 -2
- package/scss/wui/_file-viewer.scss +10 -6
- package/scss/wui/_filter-popover.scss +2 -1
- package/scss/wui/_flow.scss +10 -5
- package/scss/wui/_gantt.scss +4 -2
- package/scss/wui/_groups.scss +8 -1
- package/scss/wui/_hover-card.scss +2 -1
- package/scss/wui/_image-crop.scss +6 -3
- package/scss/wui/_inline-edit.scss +2 -1
- package/scss/wui/_interaction.scss +1 -1
- package/scss/wui/_kanban.scss +16 -8
- package/scss/wui/_lightbox.scss +4 -2
- package/scss/wui/_markdown.scss +2 -1
- package/scss/wui/_media.scss +22 -11
- package/scss/wui/_mention-input.scss +1 -1
- package/scss/wui/_modal-remote.scss +4 -2
- package/scss/wui/_nav-list.scss +2 -1
- package/scss/wui/_navigation-menu.scss +5 -3
- package/scss/wui/_navigation.scss +21 -8
- package/scss/wui/_notification-center.scss +4 -2
- package/scss/wui/_onboarding-checklist.scss +6 -3
- package/scss/wui/_org-tree.scss +2 -1
- package/scss/wui/_overlays.scss +63 -34
- package/scss/wui/_page-header-bar.scss +1 -0
- package/scss/wui/_pagination.scss +5 -4
- package/scss/wui/_rating.scss +2 -1
- package/scss/wui/_rich-text.scss +10 -4
- package/scss/wui/_score-scale.scss +2 -1
- package/scss/wui/_sections.scss +10 -5
- package/scss/wui/_select.scss +8 -4
- package/scss/wui/_shell-parts.scss +40 -6
- package/scss/wui/_shell.scss +12 -6
- package/scss/wui/_shortcuts.scss +5 -3
- package/scss/wui/_sortable.scss +2 -1
- package/scss/wui/_split-view.scss +4 -2
- package/scss/wui/_support.scss +12 -0
- package/scss/wui/_table-server.scss +2 -1
- package/scss/wui/_toolbar.scss +4 -2
- package/scss/wui/_tree-picker.scss +6 -3
- package/scss/wui/_tree.scss +2 -1
- package/scss/wui/_truncate.scss +2 -1
- package/scss/wui/_utilities.scss +15 -7
- package/scss/wui/_whats-new.scss +4 -2
- package/scss/wui/_workspace.scss +1 -1
- package/scss/wui/forced-colors/_controls.scss +2 -11
- package/scss/wui/print/_content.scss +2 -6
- package/scss/wui/tour/_base.scss +1 -1
- package/token-meanings.json +1 -0
package/scss/wui/_select.scss
CHANGED
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
justify-content: space-between;
|
|
14
14
|
gap: var(--wui-space-sm);
|
|
15
15
|
padding: 0 var(--wui-space-md);
|
|
16
|
-
border-radius: var(--wui-radius
|
|
16
|
+
border-radius: var(--wui-field-md-radius);
|
|
17
|
+
corner-shape: squircle;
|
|
17
18
|
color: var(--color-text-body);
|
|
18
19
|
text-align: start;
|
|
19
20
|
cursor: pointer;
|
|
@@ -83,19 +84,22 @@ wui-select[mode="search"] .wui-select-control:disabled {
|
|
|
83
84
|
height: var(--wui-control-sm);
|
|
84
85
|
min-height: var(--wui-control-sm);
|
|
85
86
|
font-size: var(--wui-fs-xs);
|
|
86
|
-
border-radius: var(--wui-
|
|
87
|
+
border-radius: var(--wui-field-sm-radius);
|
|
88
|
+
corner-shape: squircle;
|
|
87
89
|
}
|
|
88
90
|
.wui-select-lg .wui-select-control {
|
|
89
91
|
height: var(--wui-control-lg);
|
|
90
92
|
min-height: var(--wui-control-lg);
|
|
91
93
|
font-size: var(--wui-fs-base);
|
|
92
|
-
border-radius: var(--wui-radius
|
|
94
|
+
border-radius: var(--wui-field-lg-radius);
|
|
95
|
+
corner-shape: squircle;
|
|
93
96
|
}
|
|
94
97
|
.wui-select-xl .wui-select-control {
|
|
95
98
|
height: var(--wui-control-xl);
|
|
96
99
|
min-height: var(--wui-control-xl);
|
|
97
100
|
font-size: var(--wui-fs-lg);
|
|
98
101
|
border-radius: var(--wui-field-xl-radius);
|
|
102
|
+
corner-shape: squircle;
|
|
99
103
|
}
|
|
100
104
|
// Multi-select grows with its chips, so a size sets the FLOOR (min-height from the rule
|
|
101
105
|
// above) but never a fixed height: reset height:auto so a second row of chips can appear.
|
|
@@ -168,7 +172,7 @@ wui-select[mode="search"] .wui-select-control:disabled {
|
|
|
168
172
|
right: 0;
|
|
169
173
|
background: var(--color-bg-subtle);
|
|
170
174
|
border: 1px solid var(--color-border);
|
|
171
|
-
border-radius: var(--wui-radius-
|
|
175
|
+
border-radius: var(--wui-radius-2xl);
|
|
172
176
|
corner-shape: squircle;
|
|
173
177
|
box-shadow: var(--wui-shadow-popover);
|
|
174
178
|
padding: var(--wui-space-xs);
|
|
@@ -83,7 +83,8 @@
|
|
|
83
83
|
.wui-tabbar-item:focus-visible {
|
|
84
84
|
outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
|
|
85
85
|
outline-offset: -4px;
|
|
86
|
-
border-radius: var(--wui-radius-lg);
|
|
86
|
+
border-radius: calc(var(--wui-radius-lg) * var(--wui-squircle-scale));
|
|
87
|
+
corner-shape: squircle;
|
|
87
88
|
}
|
|
88
89
|
.wui-tabbar-icon {
|
|
89
90
|
display: inline-grid;
|
|
@@ -146,6 +147,34 @@
|
|
|
146
147
|
background: var(--color-info-soft);
|
|
147
148
|
color: var(--color-info-text);
|
|
148
149
|
}
|
|
150
|
+
// Phone tab bar sizes. The icon sits in a fixed pill; the active item lights the pill, not just the label.
|
|
151
|
+
@include media-breakpoint-down(md) {
|
|
152
|
+
.wui-tabbar-item {
|
|
153
|
+
gap: var(--wui-space-xxs);
|
|
154
|
+
padding-top: var(--wui-space-sm);
|
|
155
|
+
}
|
|
156
|
+
.wui-tabbar-icon {
|
|
157
|
+
width: 56px;
|
|
158
|
+
height: 30px;
|
|
159
|
+
border-radius: var(--wui-radius-pill);
|
|
160
|
+
}
|
|
161
|
+
.wui-tabbar-item.active .wui-tabbar-icon {
|
|
162
|
+
background: var(--color-primary-soft);
|
|
163
|
+
}
|
|
164
|
+
.wui-tabbar-badge {
|
|
165
|
+
top: var(--wui-space-xxs);
|
|
166
|
+
inset-inline-start: calc(50% + var(--wui-space-xxs));
|
|
167
|
+
box-sizing: content-box;
|
|
168
|
+
// The badge's own size: its width floor, height and the line its digit sits on.
|
|
169
|
+
--wui-tabbar-badge-size: 16px;
|
|
170
|
+
min-width: var(--wui-tabbar-badge-size);
|
|
171
|
+
height: var(--wui-tabbar-badge-size);
|
|
172
|
+
padding: 0 var(--wui-space-xs);
|
|
173
|
+
border: 2px solid var(--color-surface);
|
|
174
|
+
font-size: var(--wui-fs-xs);
|
|
175
|
+
line-height: var(--wui-tabbar-badge-size);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
149
178
|
|
|
150
179
|
// ── Topbar menus: shared card ───────────────────────────────────────────────────────────────
|
|
151
180
|
// Both menus are placed by their dropdown element, so the placement here is plain CSS: under the
|
|
@@ -157,7 +186,8 @@
|
|
|
157
186
|
inset-inline-start: auto;
|
|
158
187
|
max-width: calc(100vw - 24px);
|
|
159
188
|
border: 1px solid var(--color-border);
|
|
160
|
-
border-radius: var(--wui-radius-
|
|
189
|
+
border-radius: var(--wui-radius-2xl);
|
|
190
|
+
corner-shape: squircle;
|
|
161
191
|
background: var(--color-surface);
|
|
162
192
|
box-shadow: var(--wui-shadow-popover);
|
|
163
193
|
}
|
|
@@ -166,7 +196,8 @@
|
|
|
166
196
|
align-items: center;
|
|
167
197
|
gap: 10px;
|
|
168
198
|
min-height: 44px;
|
|
169
|
-
border-radius: var(--wui-radius-sm);
|
|
199
|
+
border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
|
|
200
|
+
corner-shape: squircle;
|
|
170
201
|
color: var(--color-text-body);
|
|
171
202
|
white-space: normal;
|
|
172
203
|
}
|
|
@@ -491,7 +522,8 @@ a.wui-bell-item:focus-visible {
|
|
|
491
522
|
padding: 6px;
|
|
492
523
|
overflow-y: auto;
|
|
493
524
|
border: 1px solid var(--color-border);
|
|
494
|
-
border-radius: var(--wui-radius-lg);
|
|
525
|
+
border-radius: calc(var(--wui-radius-lg) * var(--wui-squircle-scale));
|
|
526
|
+
corner-shape: squircle;
|
|
495
527
|
background: var(--color-surface);
|
|
496
528
|
box-shadow: var(--wui-shadow-popover);
|
|
497
529
|
}
|
|
@@ -517,7 +549,8 @@ a.wui-bell-item:focus-visible {
|
|
|
517
549
|
gap: 10px;
|
|
518
550
|
min-height: 44px;
|
|
519
551
|
padding: 6px 10px;
|
|
520
|
-
border-radius: var(--wui-radius-sm);
|
|
552
|
+
border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
|
|
553
|
+
corner-shape: squircle;
|
|
521
554
|
color: var(--color-text-body);
|
|
522
555
|
text-decoration: none;
|
|
523
556
|
}
|
|
@@ -555,7 +588,8 @@ a.wui-bell-item:focus-visible {
|
|
|
555
588
|
.wui-topsearch-all {
|
|
556
589
|
margin-top: 4px;
|
|
557
590
|
border-top: 1px solid var(--color-border-subtle);
|
|
558
|
-
border-radius: 0 0 var(--wui-radius-sm) var(--wui-radius-sm);
|
|
591
|
+
border-radius: 0 0 calc(var(--wui-radius-sm) * var(--wui-squircle-scale)) calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
|
|
592
|
+
corner-shape: squircle;
|
|
559
593
|
}
|
|
560
594
|
.wui-topsearch-empty {
|
|
561
595
|
padding: 14px 10px;
|
package/scss/wui/_shell.scss
CHANGED
|
@@ -44,7 +44,8 @@
|
|
|
44
44
|
height: var(--wui-splash-size, 56px);
|
|
45
45
|
display: inline-grid;
|
|
46
46
|
place-items: center;
|
|
47
|
-
border-radius: var(--wui-radius-lg);
|
|
47
|
+
border-radius: calc(var(--wui-radius-lg) * var(--wui-squircle-scale));
|
|
48
|
+
corner-shape: squircle;
|
|
48
49
|
background: var(--color-primary);
|
|
49
50
|
color: var(--color-on-primary);
|
|
50
51
|
font-size: calc(var(--wui-splash-size, 56px) * 0.39);
|
|
@@ -347,7 +348,8 @@
|
|
|
347
348
|
min-width: 0;
|
|
348
349
|
color: inherit;
|
|
349
350
|
text-decoration: none;
|
|
350
|
-
border-radius: var(--wui-radius-md);
|
|
351
|
+
border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
|
|
352
|
+
corner-shape: squircle;
|
|
351
353
|
}
|
|
352
354
|
.wui-brand-link:hover {
|
|
353
355
|
color: inherit;
|
|
@@ -458,7 +460,8 @@
|
|
|
458
460
|
margin: 0;
|
|
459
461
|
padding: 6px 14px;
|
|
460
462
|
border: 0;
|
|
461
|
-
border-radius: var(--wui-radius-sm);
|
|
463
|
+
border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
|
|
464
|
+
corner-shape: squircle;
|
|
462
465
|
background: transparent;
|
|
463
466
|
font-family: inherit;
|
|
464
467
|
font-size: 12px;
|
|
@@ -803,7 +806,8 @@
|
|
|
803
806
|
padding: 0;
|
|
804
807
|
width: 32px;
|
|
805
808
|
height: 32px;
|
|
806
|
-
border-radius: var(--wui-radius-sm, 6px);
|
|
809
|
+
border-radius: calc(var(--wui-radius-sm, 6px) * var(--wui-squircle-scale));
|
|
810
|
+
corner-shape: squircle;
|
|
807
811
|
cursor: pointer;
|
|
808
812
|
}
|
|
809
813
|
.wui-nav-split-toggle:hover {
|
|
@@ -845,7 +849,8 @@
|
|
|
845
849
|
top: 50%;
|
|
846
850
|
z-index: 40;
|
|
847
851
|
padding: 5px 10px;
|
|
848
|
-
border-radius: var(--wui-radius-lg);
|
|
852
|
+
border-radius: calc(var(--wui-radius-lg) * var(--wui-squircle-scale));
|
|
853
|
+
corner-shape: squircle;
|
|
849
854
|
background: var(--color-text);
|
|
850
855
|
color: var(--color-surface);
|
|
851
856
|
font-size: 12px;
|
|
@@ -1036,7 +1041,8 @@
|
|
|
1036
1041
|
clip-path: inset(50%);
|
|
1037
1042
|
white-space: nowrap;
|
|
1038
1043
|
padding: 8px 12px;
|
|
1039
|
-
border-radius: var(--wui-radius-md);
|
|
1044
|
+
border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
|
|
1045
|
+
corner-shape: squircle;
|
|
1040
1046
|
background: var(--color-surface);
|
|
1041
1047
|
color: var(--color-text);
|
|
1042
1048
|
}
|
package/scss/wui/_shortcuts.scss
CHANGED
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
height: 20px;
|
|
17
17
|
padding: 0 5px;
|
|
18
18
|
border: 1px solid var(--color-border);
|
|
19
|
-
border-radius: var(--wui-radius-sm);
|
|
19
|
+
border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
|
|
20
|
+
corner-shape: squircle;
|
|
20
21
|
background: var(--color-bg-muted);
|
|
21
22
|
color: var(--color-text);
|
|
22
23
|
font-family: inherit;
|
|
@@ -89,7 +90,7 @@
|
|
|
89
90
|
margin: 0;
|
|
90
91
|
width: min(320px, calc(100vw - 32px));
|
|
91
92
|
border: 1px solid var(--color-border);
|
|
92
|
-
border-radius: var(--wui-radius-
|
|
93
|
+
border-radius: var(--wui-radius-2xl);
|
|
93
94
|
corner-shape: squircle;
|
|
94
95
|
background: var(--color-surface);
|
|
95
96
|
color: var(--color-text);
|
|
@@ -117,7 +118,8 @@
|
|
|
117
118
|
height: 32px;
|
|
118
119
|
padding: 0;
|
|
119
120
|
border: 0;
|
|
120
|
-
border-radius: var(--wui-radius-sm);
|
|
121
|
+
border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
|
|
122
|
+
corner-shape: squircle;
|
|
121
123
|
background: transparent;
|
|
122
124
|
color: var(--color-text-muted);
|
|
123
125
|
}
|
package/scss/wui/_sortable.scss
CHANGED
|
@@ -59,7 +59,8 @@ wui-sortable[borderless] .wui-sortable-item {
|
|
|
59
59
|
height: 44px;
|
|
60
60
|
padding: 0;
|
|
61
61
|
border: none;
|
|
62
|
-
border-radius: var(--wui-radius-sm);
|
|
62
|
+
border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
|
|
63
|
+
corner-shape: squircle;
|
|
63
64
|
background: transparent;
|
|
64
65
|
color: var(--color-text-subtle);
|
|
65
66
|
cursor: grab;
|
|
@@ -93,7 +93,8 @@
|
|
|
93
93
|
min-height: 36px;
|
|
94
94
|
padding-block: var(--wui-space-xxs);
|
|
95
95
|
padding-inline: var(--wui-space-md) var(--wui-space-sm);
|
|
96
|
-
border-radius: var(--wui-radius-md);
|
|
96
|
+
border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
|
|
97
|
+
corner-shape: squircle;
|
|
97
98
|
background: var(--color-primary-soft);
|
|
98
99
|
}
|
|
99
100
|
.wui-split-head-main[hidden],
|
|
@@ -252,7 +253,8 @@
|
|
|
252
253
|
.wui-split-skeleton-meta {
|
|
253
254
|
display: block;
|
|
254
255
|
height: 12px;
|
|
255
|
-
border-radius: 6px;
|
|
256
|
+
border-radius: calc(6px * var(--wui-squircle-scale));
|
|
257
|
+
corner-shape: squircle;
|
|
256
258
|
}
|
|
257
259
|
.wui-split-skeleton-title {
|
|
258
260
|
width: 60%;
|
package/scss/wui/_support.scss
CHANGED
|
@@ -31,6 +31,18 @@
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
// The ticket list card is a size container, so the table answers to its own width, not the
|
|
35
|
+
// window's: beside a sidebar the card is far narrower than the window. Below 840px of card the
|
|
36
|
+
// Messages column goes, so Last update stays clear of the pinned Actions column.
|
|
37
|
+
.wui-support-list {
|
|
38
|
+
container-type: inline-size;
|
|
39
|
+
}
|
|
40
|
+
@container (max-width: 840px) {
|
|
41
|
+
.wui-support-list .wui-support-messages {
|
|
42
|
+
display: none;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
34
46
|
// Subject cell: a link that wraps to five lines inside the column, cut there by AppTruncate, the ticket number and category below.
|
|
35
47
|
.wui-support-subject {
|
|
36
48
|
display: flex;
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
.wui-skeleton-cell {
|
|
24
24
|
display: block;
|
|
25
25
|
height: 0.9rem;
|
|
26
|
-
border-radius: 0.25rem;
|
|
26
|
+
border-radius: calc(0.25rem * var(--wui-squircle-scale));
|
|
27
|
+
corner-shape: squircle;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
// A failed fetch shows its message and Retry in the state block; the stale rows of the previous
|
package/scss/wui/_toolbar.scss
CHANGED
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
align-items: center;
|
|
29
29
|
height: 36px;
|
|
30
30
|
padding-inline: 9px;
|
|
31
|
-
border-radius: var(--wui-radius-md);
|
|
31
|
+
border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
|
|
32
|
+
corner-shape: squircle;
|
|
32
33
|
color: var(--color-text-muted);
|
|
33
34
|
cursor: pointer;
|
|
34
35
|
margin-bottom: 0;
|
|
@@ -110,7 +111,8 @@
|
|
|
110
111
|
height: 36px;
|
|
111
112
|
padding: 0;
|
|
112
113
|
border: none;
|
|
113
|
-
border-radius: var(--wui-radius-md);
|
|
114
|
+
border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
|
|
115
|
+
corner-shape: squircle;
|
|
114
116
|
background: transparent;
|
|
115
117
|
color: var(--color-text-muted);
|
|
116
118
|
cursor: pointer;
|
|
@@ -20,7 +20,8 @@ wui-tree-picker {
|
|
|
20
20
|
display: grid;
|
|
21
21
|
grid-template-columns: 1fr;
|
|
22
22
|
border: 1px solid var(--color-border);
|
|
23
|
-
border-radius: var(--wui-radius-sm);
|
|
23
|
+
border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
|
|
24
|
+
corner-shape: squircle;
|
|
24
25
|
background: var(--color-surface);
|
|
25
26
|
overflow: hidden;
|
|
26
27
|
}
|
|
@@ -78,7 +79,8 @@ wui-tree-picker {
|
|
|
78
79
|
min-height: 36px;
|
|
79
80
|
padding: var(--wui-space-xs) var(--wui-space-sm);
|
|
80
81
|
padding-inline-start: calc(var(--wui-space-sm) + var(--wui-tree-picker-level, 0) * (var(--wui-space-lg) + var(--wui-space-xs)));
|
|
81
|
-
border-radius: var(--wui-radius-sm);
|
|
82
|
+
border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
|
|
83
|
+
corner-shape: squircle;
|
|
82
84
|
color: var(--color-text);
|
|
83
85
|
cursor: pointer;
|
|
84
86
|
user-select: none;
|
|
@@ -204,7 +206,8 @@ wui-tree-picker {
|
|
|
204
206
|
height: 28px;
|
|
205
207
|
padding: 0;
|
|
206
208
|
border: 0;
|
|
207
|
-
border-radius: var(--wui-radius-sm);
|
|
209
|
+
border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
|
|
210
|
+
corner-shape: squircle;
|
|
208
211
|
background: transparent;
|
|
209
212
|
color: var(--color-text-muted);
|
|
210
213
|
cursor: pointer;
|
package/scss/wui/_tree.scss
CHANGED
|
@@ -31,7 +31,8 @@ wui-tree {
|
|
|
31
31
|
min-height: 36px;
|
|
32
32
|
padding: 4px 8px;
|
|
33
33
|
padding-inline-start: calc(8px + var(--wui-tree-level, 0) * 20px);
|
|
34
|
-
border-radius: var(--wui-radius-sm);
|
|
34
|
+
border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
|
|
35
|
+
corner-shape: squircle;
|
|
35
36
|
color: var(--color-text);
|
|
36
37
|
cursor: pointer;
|
|
37
38
|
user-select: none;
|
package/scss/wui/_truncate.scss
CHANGED
|
@@ -30,5 +30,6 @@
|
|
|
30
30
|
.wui-truncate[tabindex]:focus-visible {
|
|
31
31
|
outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
|
|
32
32
|
outline-offset: var(--wui-focus-ring-offset);
|
|
33
|
-
border-radius: 4px;
|
|
33
|
+
border-radius: calc(4px * var(--wui-squircle-scale));
|
|
34
|
+
corner-shape: squircle;
|
|
34
35
|
}
|
package/scss/wui/_utilities.scss
CHANGED
|
@@ -118,7 +118,8 @@
|
|
|
118
118
|
padding: 12px 14px;
|
|
119
119
|
background: var(--color-surface);
|
|
120
120
|
border: none;
|
|
121
|
-
border-radius: var(--wui-radius-lg);
|
|
121
|
+
border-radius: calc(var(--wui-radius-lg) * var(--wui-squircle-scale));
|
|
122
|
+
corner-shape: squircle;
|
|
122
123
|
box-shadow: var(--wui-shadow-popover);
|
|
123
124
|
text-align: start;
|
|
124
125
|
white-space: normal;
|
|
@@ -472,7 +473,8 @@
|
|
|
472
473
|
.wui-dropdown-trigger:focus-visible {
|
|
473
474
|
outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
|
|
474
475
|
outline-offset: var(--wui-focus-ring-offset);
|
|
475
|
-
border-radius: var(--wui-radius-sm);
|
|
476
|
+
border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
|
|
477
|
+
corner-shape: squircle;
|
|
476
478
|
}
|
|
477
479
|
// AppDropdown toggleVariant="neutral": a custom trigger that keeps the surrounding font and colour, with a muted
|
|
478
480
|
// surface on hover and while open. The negative start margin keeps its text aligned with the text above it.
|
|
@@ -480,7 +482,8 @@
|
|
|
480
482
|
gap: var(--wui-space-xs);
|
|
481
483
|
margin-inline-start: calc(-1 * var(--wui-space-xs));
|
|
482
484
|
padding: var(--wui-space-xxs) var(--wui-space-xs);
|
|
483
|
-
border-radius: var(--wui-radius-sm);
|
|
485
|
+
border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
|
|
486
|
+
corner-shape: squircle;
|
|
484
487
|
transition: background var(--wui-duration-fast) var(--wui-ease-ui);
|
|
485
488
|
}
|
|
486
489
|
.wui-dropdown-trigger-neutral:hover,
|
|
@@ -513,6 +516,8 @@
|
|
|
513
516
|
// Bootstrap compiles the title colour from $headings-color, a fixed light-mode value; the token keeps it readable in dark mode.
|
|
514
517
|
.popover {
|
|
515
518
|
--bs-popover-header-color: var(--color-text);
|
|
519
|
+
--bs-popover-border-radius: var(--wui-radius-2xl);
|
|
520
|
+
corner-shape: squircle;
|
|
516
521
|
}
|
|
517
522
|
|
|
518
523
|
// The popover title is a div, not a heading, so it keeps the heading weight and line height here.
|
|
@@ -666,7 +671,8 @@
|
|
|
666
671
|
color: inherit;
|
|
667
672
|
cursor: pointer;
|
|
668
673
|
opacity: 0.7;
|
|
669
|
-
border-radius: var(--wui-radius-sm);
|
|
674
|
+
border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
|
|
675
|
+
corner-shape: squircle;
|
|
670
676
|
}
|
|
671
677
|
.wui-banner-dismiss:hover {
|
|
672
678
|
opacity: 1;
|
|
@@ -832,7 +838,8 @@
|
|
|
832
838
|
overflow: hidden;
|
|
833
839
|
display: block;
|
|
834
840
|
background: var(--color-border-strong);
|
|
835
|
-
border-radius: var(--wui-radius-sm);
|
|
841
|
+
border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
|
|
842
|
+
corner-shape: squircle;
|
|
836
843
|
}
|
|
837
844
|
.skeleton::after {
|
|
838
845
|
content: "";
|
|
@@ -889,8 +896,9 @@
|
|
|
889
896
|
--alert-title-size: 14px;
|
|
890
897
|
--alert-title-leading: 1.3;
|
|
891
898
|
--alert-badge-size: 24px;
|
|
892
|
-
--bs-alert-border-radius:
|
|
893
|
-
border-radius:
|
|
899
|
+
--bs-alert-border-radius: var(--wui-radius-2xl);
|
|
900
|
+
border-radius: var(--wui-radius-2xl);
|
|
901
|
+
corner-shape: squircle;
|
|
894
902
|
padding: 16px 18px;
|
|
895
903
|
border-width: 1px;
|
|
896
904
|
}
|
package/scss/wui/_whats-new.scss
CHANGED
|
@@ -75,7 +75,8 @@
|
|
|
75
75
|
overflow-y: auto;
|
|
76
76
|
overscroll-behavior: contain;
|
|
77
77
|
border: 1px solid var(--color-border);
|
|
78
|
-
border-radius: var(--wui-radius-
|
|
78
|
+
border-radius: var(--wui-radius-2xl);
|
|
79
|
+
corner-shape: squircle;
|
|
79
80
|
background: var(--color-surface);
|
|
80
81
|
box-shadow: var(--wui-shadow-popover);
|
|
81
82
|
color: var(--color-text-body);
|
|
@@ -143,7 +144,8 @@
|
|
|
143
144
|
height: auto;
|
|
144
145
|
margin-top: 10px;
|
|
145
146
|
border: 1px solid var(--color-border-subtle);
|
|
146
|
-
border-radius: var(--wui-radius-sm);
|
|
147
|
+
border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
|
|
148
|
+
corner-shape: squircle;
|
|
147
149
|
}
|
|
148
150
|
.wui-whats-new-link {
|
|
149
151
|
display: inline-block;
|
package/scss/wui/_workspace.scss
CHANGED
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
padding: 5px;
|
|
171
171
|
background: var(--color-surface);
|
|
172
172
|
border: 1px solid var(--color-border-subtle);
|
|
173
|
-
border-radius: var(--wui-radius-
|
|
173
|
+
border-radius: var(--wui-radius-2xl);
|
|
174
174
|
corner-shape: squircle;
|
|
175
175
|
box-shadow: var(--wui-shadow-popover);
|
|
176
176
|
}
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
.form-control:focus-visible,
|
|
5
5
|
.form-select:focus-visible,
|
|
6
6
|
.input:focus-visible,
|
|
7
|
-
.select:focus-visible,
|
|
8
|
-
.textarea:focus-visible,
|
|
9
7
|
.input-bare:focus-visible,
|
|
10
8
|
.otp-field:focus-visible {
|
|
11
9
|
outline: var(--wui-focus-ring-width) solid Highlight;
|
|
@@ -22,19 +20,13 @@
|
|
|
22
20
|
|
|
23
21
|
// FC5: the native drawing of a checkbox, radio and select replaces the baked white mark.
|
|
24
22
|
.form-check-input,
|
|
25
|
-
.wui-check,
|
|
26
|
-
.wui-radio,
|
|
27
|
-
.select,
|
|
28
23
|
.form-select {
|
|
29
24
|
appearance: auto;
|
|
30
25
|
background-image: none;
|
|
31
26
|
}
|
|
32
27
|
.form-check-input[type="checkbox"]:checked,
|
|
33
|
-
.wui-check:checked,
|
|
34
28
|
.form-check-input[type="radio"]:checked,
|
|
35
|
-
.
|
|
36
|
-
.form-check-input[type="checkbox"]:indeterminate,
|
|
37
|
-
.wui-check:indeterminate {
|
|
29
|
+
.form-check-input[type="checkbox"]:indeterminate {
|
|
38
30
|
appearance: auto;
|
|
39
31
|
background-image: none;
|
|
40
32
|
}
|
|
@@ -82,9 +74,8 @@
|
|
|
82
74
|
|
|
83
75
|
// Forced colours drop the busy spinner's gradients, so a busy field shows a dashed edge instead.
|
|
84
76
|
.input.wui-field-busy,
|
|
85
|
-
.textarea.wui-field-busy,
|
|
86
77
|
.form-control.wui-field-busy,
|
|
87
|
-
.select.wui-field-busy {
|
|
78
|
+
.tpg-select.wui-field-busy {
|
|
88
79
|
outline: 2px dashed CanvasText;
|
|
89
80
|
outline-offset: -2px;
|
|
90
81
|
}
|
|
@@ -36,18 +36,14 @@ pre {
|
|
|
36
36
|
|
|
37
37
|
.form-control,
|
|
38
38
|
.form-select,
|
|
39
|
-
.input
|
|
40
|
-
.select,
|
|
41
|
-
.textarea {
|
|
39
|
+
.input {
|
|
42
40
|
border: 1px solid var(--color-border-strong) !important;
|
|
43
41
|
background: none !important;
|
|
44
42
|
}
|
|
45
43
|
|
|
46
44
|
.form-control::placeholder,
|
|
47
45
|
.form-select::placeholder,
|
|
48
|
-
.input::placeholder
|
|
49
|
-
.select::placeholder,
|
|
50
|
-
.textarea::placeholder {
|
|
46
|
+
.input::placeholder {
|
|
51
47
|
color: transparent !important;
|
|
52
48
|
}
|
|
53
49
|
|
package/scss/wui/tour/_base.scss
CHANGED
|
@@ -52,7 +52,7 @@ wui-tour-step {
|
|
|
52
52
|
background: var(--color-surface);
|
|
53
53
|
color: var(--color-text);
|
|
54
54
|
border: 1px solid var(--color-border);
|
|
55
|
-
border-radius: var(--wui-radius-
|
|
55
|
+
border-radius: var(--wui-radius-2xl);
|
|
56
56
|
corner-shape: squircle;
|
|
57
57
|
box-shadow: var(--wui-shadow-popover);
|
|
58
58
|
&:focus {
|
package/token-meanings.json
CHANGED
|
@@ -272,6 +272,7 @@
|
|
|
272
272
|
"--wui-space-xl": "Extra-large step of the spacing scale.",
|
|
273
273
|
"--wui-space-xs": "Extra-small step of the spacing scale.",
|
|
274
274
|
"--wui-space-xxs": "Hairline step of the spacing scale.",
|
|
275
|
+
"--wui-squircle-scale": "Multiplier on a squircle corner's radius: 2 where the browser draws squircles, 1 where it keeps a round corner.",
|
|
275
276
|
"--wui-step-tile-size": "Width and height of the numbered circle in a step tile.",
|
|
276
277
|
"--wui-success": "Vivid success fill for badges, dots and success buttons.",
|
|
277
278
|
"--wui-success-10": "Success tint 10, the soft background of success alerts and badges.",
|