@webority/theme 0.173.0 → 0.174.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/dist/purge-safelist.json +2 -0
- package/dist/webority-theme.css +1 -1
- package/package.json +3 -3
- package/scss/_bootstrap.generated.scss +1 -1
- package/scss/_tokens-modes.generated.scss +1 -1
- package/scss/_tokens.generated.scss +1 -1
- package/scss/wui/_avatar-picker.scss +2 -2
- package/scss/wui/_command-palette.scss +1 -1
- package/scss/wui/_data.scss +10 -0
- package/scss/wui/_drawer.scss +3 -3
- package/scss/wui/_empty-state.scss +2 -2
- package/scss/wui/_file-viewer.scss +1 -1
- package/scss/wui/_navigation-menu.scss +1 -1
- package/scss/wui/_sections.scss +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.174.0",
|
|
4
4
|
"description": "Webority shared design system: Bootstrap 5.3 SCSS overrides, --wui-* tokens, and shared component CSS. The single source of brand chrome for React portals and Razor sites.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"publishConfig": {
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@popperjs/core": "2.11.8",
|
|
82
82
|
"@types/node": "25.6.0",
|
|
83
|
-
"@webority/biome-config": "0.
|
|
84
|
-
"@webority/tokens": "0.
|
|
83
|
+
"@webority/biome-config": "0.174.0",
|
|
84
|
+
"@webority/tokens": "0.174.0",
|
|
85
85
|
"bootstrap": "5.3.9",
|
|
86
86
|
"country-flag-icons": "^1.6.20",
|
|
87
87
|
"sass-embedded": "^1.108.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by @webority/tokens 0.
|
|
1
|
+
// Generated by @webority/tokens 0.174.0 from its token source. Do not edit; run webority brand --library.
|
|
2
2
|
$body-color: #252f4a !default;
|
|
3
3
|
$body-secondary-color: #4b5675 !default;
|
|
4
4
|
$body-tertiary-color: #626a82 !default;
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
}
|
|
42
42
|
.wui-image-picker-buttons-face:focus-visible {
|
|
43
43
|
outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
|
|
44
|
-
outline-offset:
|
|
44
|
+
outline-offset: var(--wui-focus-ring-offset);
|
|
45
45
|
}
|
|
46
46
|
// A file held over the photo: the ring says it can be dropped there.
|
|
47
47
|
.wui-image-picker-buttons.is-dragging .wui-image-picker-buttons-face {
|
|
48
48
|
outline: 2px dashed var(--color-primary);
|
|
49
|
-
outline-offset:
|
|
49
|
+
outline-offset: var(--wui-focus-ring-offset);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.wui-image-picker-buttons-img {
|
|
@@ -156,7 +156,7 @@ span.wui-cmd-crumb[aria-current="page"] {
|
|
|
156
156
|
.wui-cmd-back:focus-visible,
|
|
157
157
|
button.wui-cmd-crumb:focus-visible {
|
|
158
158
|
outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
|
|
159
|
-
outline-offset:
|
|
159
|
+
outline-offset: var(--wui-focus-ring-offset);
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
.wui-cmd-list {
|
package/scss/wui/_data.scss
CHANGED
|
@@ -1426,6 +1426,16 @@
|
|
|
1426
1426
|
.table th.sortable:hover .sort-icon {
|
|
1427
1427
|
opacity: 0.6;
|
|
1428
1428
|
}
|
|
1429
|
+
.table.wui-sort-icons-always th.sortable .sort-icon {
|
|
1430
|
+
opacity: 0.35;
|
|
1431
|
+
}
|
|
1432
|
+
.table.wui-sort-icons-always th.sortable:hover .sort-icon {
|
|
1433
|
+
opacity: 0.6;
|
|
1434
|
+
}
|
|
1435
|
+
.table.wui-sort-icons-always th.sortable[aria-sort="ascending"] .sort-icon,
|
|
1436
|
+
.table.wui-sort-icons-always th.sortable[aria-sort="descending"] .sort-icon {
|
|
1437
|
+
opacity: 1;
|
|
1438
|
+
}
|
|
1429
1439
|
.table th.sortable[aria-sort="ascending"] .sort-icon,
|
|
1430
1440
|
.table th.sortable[aria-sort="descending"] .sort-icon {
|
|
1431
1441
|
opacity: 1;
|
package/scss/wui/_drawer.scss
CHANGED
|
@@ -176,8 +176,8 @@ dialog.wui-drawer-panel[data-wui-closing]::backdrop {
|
|
|
176
176
|
// box's 100% leaves uncovered, so the panel would stop short of the right edge (as the fullscreen modal).
|
|
177
177
|
@include media-breakpoint-down(sm) {
|
|
178
178
|
.wui-drawer[no-sheet] .wui-drawer-panel {
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
inset-inline-start: 0;
|
|
180
|
+
inset-inline-end: auto;
|
|
181
181
|
width: 100vw;
|
|
182
182
|
max-width: 100vw;
|
|
183
183
|
}
|
|
@@ -188,7 +188,7 @@ dialog.wui-drawer-panel[data-wui-closing]::backdrop {
|
|
|
188
188
|
.wui-drawer:not([no-sheet]) {
|
|
189
189
|
// 100vw, not right: 0, for the same scrollbar gutter as the menu panel above.
|
|
190
190
|
.wui-drawer-panel {
|
|
191
|
-
|
|
191
|
+
inset-inline-start: 0;
|
|
192
192
|
width: 100vw;
|
|
193
193
|
bottom: 0;
|
|
194
194
|
height: calc(var(--wui-drawer-max, 90) * 1dvh);
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
width: 100%;
|
|
121
121
|
// `.wui-empty-state-table` / `.tbl-empty-plain` inside own the centring and padding.
|
|
122
122
|
}
|
|
123
|
-
// An empty list shows its empty state with no column headers above it.
|
|
124
|
-
.table-wrap:has(> .tbl-empty-block:not([hidden])) > table > thead {
|
|
123
|
+
// An empty list shows its empty state with no column headers above it, unless the table opts in with .wui-table-empty-header.
|
|
124
|
+
.table-wrap:has(> .tbl-empty-block:not([hidden])) > table:not(.wui-table-empty-header) > thead {
|
|
125
125
|
display: none;
|
|
126
126
|
}
|
|
@@ -140,7 +140,7 @@ wui-file-viewer:fullscreen {
|
|
|
140
140
|
}
|
|
141
141
|
.wui-file-viewer-zoom:focus-visible {
|
|
142
142
|
outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
|
|
143
|
-
outline-offset:
|
|
143
|
+
outline-offset: var(--wui-focus-ring-offset);
|
|
144
144
|
}
|
|
145
145
|
// The zoom menu is a popover, placed against its button by the element (position: fixed). Shown
|
|
146
146
|
// while open, so it needs no Bootstrap .show class.
|
|
@@ -54,7 +54,7 @@ wui-navigation-menu {
|
|
|
54
54
|
}
|
|
55
55
|
&:focus-visible {
|
|
56
56
|
outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
|
|
57
|
-
outline-offset:
|
|
57
|
+
outline-offset: var(--wui-focus-ring-offset);
|
|
58
58
|
}
|
|
59
59
|
&[aria-current="page"] {
|
|
60
60
|
// Set through the item variable, not background, so the hover fill above still wins.
|
package/scss/wui/_sections.scss
CHANGED
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
}
|
|
262
262
|
.wui-section-logo a:focus-visible {
|
|
263
263
|
outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
|
|
264
|
-
outline-offset:
|
|
264
|
+
outline-offset: var(--wui-focus-ring-offset);
|
|
265
265
|
}
|
|
266
266
|
// One height for every logo; the width follows each file's own ratio from its attributes.
|
|
267
267
|
.wui-section-logo-img {
|