@webority/theme 0.173.1 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/theme",
3
- "version": "0.173.1",
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.173.1",
84
- "@webority/tokens": "0.173.1",
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.173.1 from its token source. Do not edit; run webority brand --library.
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;
@@ -1,4 +1,4 @@
1
- // Generated by @webority/tokens 0.173.1 from its token source. Do not edit; run webority brand --library.
1
+ // Generated by @webority/tokens 0.174.0 from its token source. Do not edit; run webority brand --library.
2
2
 
3
3
  @media (prefers-contrast: more) {
4
4
  :root,
@@ -1,4 +1,4 @@
1
- // Generated by @webority/tokens 0.173.1 from its token source. Do not edit; run webority brand --library.
1
+ // Generated by @webority/tokens 0.174.0 from its token source. Do not edit; run webority brand --library.
2
2
 
3
3
  :root {
4
4
  --wui-primary: #4F46E5;
@@ -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: 3px;
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: 3px;
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: 1px;
159
+ outline-offset: var(--wui-focus-ring-offset);
160
160
  }
161
161
 
162
162
  .wui-cmd-list {
@@ -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;
@@ -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
- left: 0;
180
- right: auto;
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
- left: 0;
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: 1px;
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: 1px;
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.
@@ -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: 4px;
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 {