@webority/theme 0.143.1 → 0.144.1
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.
|
|
3
|
+
"version": "0.144.1",
|
|
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.
|
|
50
|
+
"@webority/tokens": "0.144.1",
|
|
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.
|
|
1
|
+
// Generated by @webority/tokens 0.144.1 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;
|
package/scss/wui/_data.scss
CHANGED
|
@@ -979,11 +979,21 @@
|
|
|
979
979
|
margin-top: var(--wui-card-pad);
|
|
980
980
|
}
|
|
981
981
|
|
|
982
|
+
// A pinned cell paints a solid colour so scrolled cells pass under it; that colour must match what shows
|
|
983
|
+
// through the row's transparent cells: the page background, or the surface of the card, modal or drawer
|
|
984
|
+
// around the table. A consumer sets --wui-table-pin-bg on any wrapper with a different background.
|
|
985
|
+
.card {
|
|
986
|
+
--wui-table-pin-bg: var(--bs-card-bg);
|
|
987
|
+
}
|
|
988
|
+
:is(.modal.wui-modal-shell .modal-dialog.wui-rb-dialog .modal-content, .wui-modal, .wui-drawer-panel) {
|
|
989
|
+
--wui-table-pin-bg: var(--color-surface);
|
|
990
|
+
}
|
|
991
|
+
|
|
982
992
|
// Pinned first column (`stickyFirstColumn`): the identity column, and the select/expand columns the
|
|
983
993
|
// library puts before it, hold their place while a wide table scrolls sideways. The identity column
|
|
984
994
|
// is found by position, because Razor authors write plain cells: it is the first cell after the
|
|
985
|
-
// library-owned select (44px) and expand (40px) cells. Pinned cells take the
|
|
986
|
-
// scrolled cells do not show through; hover and selection still tint them through the inset shadow.
|
|
995
|
+
// library-owned select (44px) and expand (40px) cells. Pinned cells take the pin colour
|
|
996
|
+
// (--wui-table-pin-bg) so scrolled cells do not show through; hover and selection still tint them through the inset shadow.
|
|
987
997
|
.table-ledger.wui-table-sticky-first > * > tr:not(.wui-row-expanded) > .wui-expand-cell,
|
|
988
998
|
.table-ledger.wui-table-sticky-first > * > tr:not(.wui-row-expanded) > .wui-select-cell,
|
|
989
999
|
.table-ledger.wui-table-sticky-first > * > tr:not(.wui-row-expanded) > :not(.wui-expand-cell, .wui-select-cell):is(:first-child, .wui-expand-cell + *, .wui-select-cell + *) {
|
|
@@ -995,7 +1005,7 @@
|
|
|
995
1005
|
}
|
|
996
1006
|
.table-ledger.wui-table-sticky-first > :is(tbody, tfoot) > tr:not(.wui-row-expanded) > :is(.wui-expand-cell, .wui-select-cell),
|
|
997
1007
|
.table-ledger.wui-table-sticky-first > :is(tbody, tfoot) > tr:not(.wui-row-expanded) > :not(.wui-expand-cell, .wui-select-cell):is(:first-child, .wui-expand-cell + *, .wui-select-cell + *) {
|
|
998
|
-
background-color: var(--color-
|
|
1008
|
+
background-color: var(--wui-table-pin-bg, var(--color-bg));
|
|
999
1009
|
}
|
|
1000
1010
|
.table-ledger.wui-table-sticky-first > * > tr > .wui-expand-cell + .wui-select-cell,
|
|
1001
1011
|
.table-ledger.wui-table-sticky-first > * > tr > .wui-expand-cell + :not(.wui-select-cell) {
|
|
@@ -1022,7 +1032,7 @@
|
|
|
1022
1032
|
z-index: 1;
|
|
1023
1033
|
}
|
|
1024
1034
|
.table-ledger.wui-table-sticky-actions > :is(tbody, tfoot) > tr:not(.wui-row-expanded) > :last-child {
|
|
1025
|
-
background-color: var(--color-
|
|
1035
|
+
background-color: var(--wui-table-pin-bg, var(--color-bg));
|
|
1026
1036
|
}
|
|
1027
1037
|
.table-wrap.wui-table-scroll .table-ledger.wui-table-sticky-actions > thead > tr > :last-child {
|
|
1028
1038
|
z-index: 3;
|
|
@@ -1360,7 +1370,7 @@ wui-data-table {
|
|
|
1360
1370
|
z-index: 1;
|
|
1361
1371
|
}
|
|
1362
1372
|
.table-ledger > :is(tbody, tfoot) > tr:not(.wui-row-expanded, .wui-group-row) > :is(.wui-pin-start, .wui-pin-end) {
|
|
1363
|
-
background-color: var(--color-
|
|
1373
|
+
background-color: var(--wui-table-pin-bg, var(--color-bg));
|
|
1364
1374
|
}
|
|
1365
1375
|
.table-wrap.wui-table-scroll .table-ledger > thead > tr > :is(.wui-pin-start, .wui-pin-end) {
|
|
1366
1376
|
z-index: 3;
|
package/scss/wui/_overlays.scss
CHANGED
|
@@ -244,11 +244,11 @@ body[data-rr-ui-modal-open] {
|
|
|
244
244
|
align-self: stretch;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
// Stacked fields in a dialog keep the distance AppFormSection puts between its
|
|
248
|
-
// in _flow.scss). Only
|
|
249
|
-
//
|
|
250
|
-
.wui-modal-body > .field + .field,
|
|
251
|
-
.wui-modal-body > form > .field + .field {
|
|
247
|
+
// Stacked fields and form rows in a dialog keep the distance AppFormSection puts between its children
|
|
248
|
+
// (.form-section-body in _flow.scss). Only children in normal flow: of the body, or of a form in the body.
|
|
249
|
+
// A field inside a form row takes the row's grid gap.
|
|
250
|
+
.wui-modal-body > :is(.field, .form-row-grid) + :is(.field, .form-row-grid),
|
|
251
|
+
.wui-modal-body > form > :is(.field, .form-row-grid) + :is(.field, .form-row-grid) {
|
|
252
252
|
margin-top: var(--wui-space-lg);
|
|
253
253
|
}
|
|
254
254
|
.wui-form-section-head {
|
package/scss/wui/_utilities.scss
CHANGED
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
// partials are a split of one stylesheet, not independent modules, so a rule
|
|
7
7
|
// here may be overridden by a later partial. Never reorder the imports.
|
|
8
8
|
|
|
9
|
+
// The Development-only partial mark Razor writes around each <partial>; it must not change layout.
|
|
10
|
+
wui-source {
|
|
11
|
+
display: contents;
|
|
12
|
+
}
|
|
13
|
+
|
|
9
14
|
// ── Icon base ──
|
|
10
15
|
// Every library glyph (React <Icon>, Razor <app-icon>, wui-element internals) is an
|
|
11
16
|
// inline SVG carrying this class; size comes from its width/height attributes.
|