@webority/theme 0.51.3 → 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/dist/purge-safelist.json +1 -0
- package/dist/webority-theme.css +1 -1
- package/package.json +1 -1
- package/scss/wui/_data.scss +21 -1
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": {
|
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;
|