@webority/theme 0.120.1 → 0.122.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.120.1",
3
+ "version": "0.122.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": {
@@ -47,7 +47,7 @@
47
47
  "postcss": "^8.5.31"
48
48
  },
49
49
  "devDependencies": {
50
- "@webority/tokens": "0.120.1",
50
+ "@webority/tokens": "0.122.0",
51
51
  "bootstrap": "5.3.3",
52
52
  "country-flag-icons": "^1.6.20",
53
53
  "sass-embedded": "^1.97.0",
@@ -1,4 +1,4 @@
1
- // Generated by @webority/tokens 0.120.1 from its token source. Do not edit; run webority brand --library.
1
+ // Generated by @webority/tokens 0.122.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.120.1 from its token source. Do not edit; run webority brand --library.
1
+ // Generated by @webority/tokens 0.122.0 from its token source. Do not edit; run webority brand --library.
2
2
 
3
3
  :root {
4
4
  --wui-primary: #4F46E5;
@@ -210,6 +210,14 @@
210
210
  .table-ledger tbody td:last-child {
211
211
  padding-right: 20px;
212
212
  }
213
+ // A loading bar follows its column's alignment: a block bar ignores text-align, so auto margins place it.
214
+ .table-ledger td.text-center > .skeleton {
215
+ margin-inline: auto;
216
+ }
217
+ .table-ledger td.wui-cell-end > .skeleton,
218
+ .table-ledger td.num > .skeleton {
219
+ margin-inline-start: auto;
220
+ }
213
221
  .table-ledger tbody tr:last-child td {
214
222
  border-bottom: none;
215
223
  }
@@ -758,7 +766,8 @@
758
766
  }
759
767
  .table-ledger.wui-table-stack > tbody > tr > td {
760
768
  min-width: 0;
761
- max-width: 100%;
769
+ max-width: none;
770
+ white-space: normal;
762
771
  overflow-wrap: anywhere;
763
772
  }
764
773
  .table-ledger.wui-table-stack,
@@ -840,6 +849,9 @@
840
849
  .table-ledger.wui-table-stack .u-name {
841
850
  display: block;
842
851
  overflow: visible;
852
+ -webkit-line-clamp: none;
853
+ line-clamp: none;
854
+ overflow-wrap: anywhere;
843
855
  }
844
856
  // A group header is a section label between the cards, not a card of its own.
845
857
  .table-ledger.wui-table-stack > tbody > tr.wui-group-row {
@@ -981,6 +993,10 @@
981
993
  .table-ledger > :is(tbody, tfoot) > tr:not(.wui-row-expanded, .wui-group-row) > :is(.wui-pin-start, .wui-pin-end):has([aria-expanded="true"], .dropdown-menu.show) {
982
994
  z-index: 4;
983
995
  }
996
+ // A group header holds its own open collapse toggle, so the rule above would lift it over the menu of the row above it. It stays below an open menu.
997
+ .table-ledger > tbody > tr.wui-group-row > th.wui-group-cell:last-child:has([aria-expanded="true"]) {
998
+ z-index: 1;
999
+ }
984
1000
  // The wrap's padding is inside its scroll box, so a pinned cell stops one padding short of the
985
1001
  // scroller's edge and scrolled cells show in the strip beyond it. While content runs past that
986
1002
  // edge, the outermost pinned cell paints the strip. Its width is the wrap's measured padding
@@ -1492,7 +1492,7 @@ button.wui-link {
1492
1492
  .wui-link__label {
1493
1493
  position: relative;
1494
1494
  z-index: 0;
1495
- white-space: nowrap;
1495
+ white-space: var(--wui-link-label-white-space, nowrap);
1496
1496
  }
1497
1497
  .wui-link__ic {
1498
1498
  display: inline-flex;
@@ -260,6 +260,7 @@ wui-file-viewer:fullscreen {
260
260
  flex: 1 1 auto;
261
261
  overflow: auto;
262
262
  min-width: 0;
263
+ background: var(--wui-file-viewer-scroll-bg, transparent);
263
264
  // The pages fit the width; a scrollbar appearing must not change that width and set off a
264
265
  // second fit.
265
266
  scrollbar-gutter: stable;
@@ -173,8 +173,10 @@
173
173
  // Break long unbroken names so they wrap within the heading instead of
174
174
  // running under the close button.
175
175
  .wui-modal-title {
176
- font-size: 17px;
177
- font-weight: 600;
176
+ font-family: var(--wui-modal-title-font-family, inherit);
177
+ font-size: var(--wui-modal-title-font-size, 17px);
178
+ font-weight: var(--wui-modal-title-font-weight, 600);
179
+ line-height: var(--wui-modal-title-line-height, inherit);
178
180
  color: var(--color-text);
179
181
  overflow-wrap: anywhere;
180
182
  }
@@ -425,11 +427,11 @@
425
427
  flex-direction: column;
426
428
  align-items: center;
427
429
  text-align: center;
428
- padding: 16px 12px 6px;
430
+ padding: 16px 12px var(--wui-confirm-content-padding-bottom, 6px);
429
431
  }
430
432
  .wui-confirm-icon {
431
433
  line-height: 0;
432
- margin-bottom: 22px;
434
+ margin-bottom: var(--wui-confirm-icon-gap, 22px);
433
435
  }
434
436
  // A caller-supplied illustration occupies the SAME footprint as the built-in badge, whatever
435
437
  // the source file measures — the box is the theme's, the artwork is the caller's. Without