@webority/theme 0.51.2 → 0.52.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.
|
|
3
|
+
"version": "0.52.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": {
|
|
@@ -26,6 +26,11 @@ wui-consent-banner[position="bottom-right"] {
|
|
|
26
26
|
wui-consent-banner:not([open]) {
|
|
27
27
|
pointer-events: none;
|
|
28
28
|
}
|
|
29
|
+
// Set by the element while a tour shows: under the dim it cannot be used, yet it would show through
|
|
30
|
+
// the spotlight wherever it overlaps a target.
|
|
31
|
+
wui-consent-banner[tour-open] {
|
|
32
|
+
visibility: hidden;
|
|
33
|
+
}
|
|
29
34
|
|
|
30
35
|
.wui-consent-banner-panel {
|
|
31
36
|
padding: 20px;
|
package/scss/wui/_controls.scss
CHANGED
|
@@ -1072,6 +1072,8 @@ wui-select[compact] {
|
|
|
1072
1072
|
.field > wui-date-range,
|
|
1073
1073
|
.field > .search-select,
|
|
1074
1074
|
.field > .input-with-unit,
|
|
1075
|
+
.field > .input-action-row,
|
|
1076
|
+
.field > .num-wrap,
|
|
1075
1077
|
.field > .input,
|
|
1076
1078
|
.field > .datepicker,
|
|
1077
1079
|
.field > .file-input,
|
package/scss/wui/_data.scss
CHANGED
|
@@ -727,7 +727,8 @@
|
|
|
727
727
|
// paints under the opaque cells. A mask also hides what a descendant floats outside the box, so
|
|
728
728
|
// it stands aside while a menu or picker inside the table is open (an expanded row, which has no
|
|
729
729
|
// popup, keeps it). A pinned first column never
|
|
730
|
-
// fades at the start:
|
|
730
|
+
// fades at the start, and a pinned actions column never fades at the end: they are the parts that
|
|
731
|
+
// stay put.
|
|
731
732
|
:is(.table-wrap, .table-responsive, [class*="table-responsive-"]) {
|
|
732
733
|
--wui-overflow-fade-start: 0px;
|
|
733
734
|
--wui-overflow-fade-end: 0px;
|
|
@@ -741,6 +742,9 @@
|
|
|
741
742
|
.table-wrap[data-wui-overflow-start]:has(> .wui-table-sticky-first) {
|
|
742
743
|
--wui-overflow-fade-start: 0px;
|
|
743
744
|
}
|
|
745
|
+
.table-wrap[data-wui-overflow-end]:has(> .wui-table-sticky-actions) {
|
|
746
|
+
--wui-overflow-fade-end: 0px;
|
|
747
|
+
}
|
|
744
748
|
:is(.table-wrap, .table-responsive, [class*="table-responsive-"]):is([data-wui-overflow-start], [data-wui-overflow-end]):not(:has([aria-haspopup][aria-expanded="true"], .dropdown-menu.show)) {
|
|
745
749
|
mask-image: linear-gradient(
|
|
746
750
|
90deg,
|
|
@@ -1052,6 +1056,22 @@
|
|
|
1052
1056
|
z-index: 3;
|
|
1053
1057
|
}
|
|
1054
1058
|
|
|
1059
|
+
// Pinned actions column (`stickyActions`): the last column, where the row actions render, holds its
|
|
1060
|
+
// place at the end edge while a wide table scrolls sideways, so the actions never sit past the
|
|
1061
|
+
// card's edge. Found by position for the same reason as the first column: Razor authors write plain
|
|
1062
|
+
// cells. Same surface colour and stacking as the pinned first column.
|
|
1063
|
+
.table-ledger.wui-table-sticky-actions > * > tr:not(.wui-row-expanded) > :last-child {
|
|
1064
|
+
position: sticky;
|
|
1065
|
+
right: 0;
|
|
1066
|
+
z-index: 1;
|
|
1067
|
+
}
|
|
1068
|
+
.table-ledger.wui-table-sticky-actions > :is(tbody, tfoot) > tr:not(.wui-row-expanded) > :last-child {
|
|
1069
|
+
background-color: var(--color-surface);
|
|
1070
|
+
}
|
|
1071
|
+
.table-wrap.wui-table-scroll .table-ledger.wui-table-sticky-actions > thead > tr > :last-child {
|
|
1072
|
+
z-index: 3;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1055
1075
|
// Row actions — icon-only buttons replacing a kebab dropdown.
|
|
1056
1076
|
.u-row-actions {
|
|
1057
1077
|
display: flex;
|
package/scss/wui/_tour.scss
CHANGED
|
@@ -19,12 +19,6 @@ wui-tour-step {
|
|
|
19
19
|
z-index: var(--wui-z-tour);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
// The consent banner sits under the dim and cannot be used while a tour shows, but it shows through
|
|
23
|
-
// the spotlight wherever it overlaps a target. It steps aside until the tour ends.
|
|
24
|
-
[data-wui-tour-open] wui-consent-banner {
|
|
25
|
-
visibility: hidden;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
22
|
// The dim is the spot's own shadow, so the hole around the target needs no clip-path.
|
|
29
23
|
.wui-tour-spot {
|
|
30
24
|
position: fixed;
|