@lucca-front/scss 19.1.0 → 19.1.2

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": "@lucca-front/scss",
3
- "version": "19.1.0",
3
+ "version": "19.1.2",
4
4
  "description": "A Sass framework for Lucca products.",
5
5
  "main": "src/main.scss",
6
6
  "scripts": {},
@@ -23,6 +23,6 @@
23
23
  "normalize.css": "^8.0.0"
24
24
  },
25
25
  "peerDependencies": {
26
- "@lucca-front/icons": "19.1.0"
26
+ "@lucca-front/icons": "19.1.2"
27
27
  }
28
28
  }
@@ -102,12 +102,12 @@
102
102
  content: none;
103
103
  }
104
104
 
105
- :is(.dataTable-body-row-cell, .dataTable-head-row-cell, .dataTable-foot-row-cell) {
105
+ :is(.dataTable-head-row-cell, .dataTable-body-row-cell, .dataTable-foot-row-cell) {
106
106
  &.mod-stickyColumn {
107
107
  &:has(~ :is(.dataTable-body-row-cell, .dataTable-head-row-cell, .dataTable-foot-row-cell):not(.mod-stickyColumn)) {
108
108
  transform: translateX(-1px);
109
109
 
110
- &:not(:has(+ :is(.dataTable-body-row-cell, .dataTable-head-row-cell, .dataTable-foot-row-cell).mod-stickyColumn)) {
110
+ &:not(:has(+ :is(.dataTable-head-row-cell, .dataTable-body-row-cell, .dataTable-foot-row-cell).mod-stickyColumn)) {
111
111
  &::after {
112
112
  @extend %addShadow;
113
113
  }
@@ -116,7 +116,7 @@
116
116
  }
117
117
 
118
118
  &:not(.mod-stickyColumn) {
119
- ~ :is(.dataTable-body-row-cell, .dataTable-head-row-cell, .dataTable-foot-row-cell).mod-stickyColumn {
119
+ ~ :is(.dataTable-head-row-cell, .dataTable-body-row-cell, .dataTable-foot-row-cell).mod-stickyColumn {
120
120
  &::after {
121
121
  @extend %addShadow;
122
122
 
@@ -125,7 +125,7 @@
125
125
  transform: scaleX(-1);
126
126
  }
127
127
 
128
- & ~ :is(.dataTable-body-row-cell, .dataTable-head-row-cell, .dataTable-foot-row-cell).mod-stickyColumn {
128
+ & ~ :is(.dataTable-head-row-cell, .dataTable-body-row-cell, .dataTable-foot-row-cell).mod-stickyColumn {
129
129
  &::after {
130
130
  @extend %removeShadow;
131
131
  }
@@ -144,21 +144,27 @@
144
144
 
145
145
  &:last-child {
146
146
  right: 0;
147
+ --components-dataTable-cell-shadow: 0 1px inset var(--commons-border-200), 1px 0 var(--palettes-neutral-0); // white shadow is for Chrome
147
148
  }
148
149
  }
149
150
  }
150
151
  }
151
152
 
152
153
  @mixin stickyColumnBorder {
153
- :is(.dataTable-body-row-cell, .dataTable-head-row-cell, .dataTable-foot-row-cell) {
154
+ :is(.dataTable-head-row-cell, .dataTable-body-row-cell, .dataTable-foot-row-cell) {
154
155
  &.mod-stickyColumn {
155
156
  &:has(~ :is(.dataTable-body-row-cell, .dataTable-head-row-cell, .dataTable-foot-row-cell):not(.mod-stickyColumn)) {
156
157
  &:not(:has(+ :is(.dataTable-body-row-cell, .dataTable-head-row-cell, .dataTable-foot-row-cell).mod-stickyColumn)) {
157
158
  &::after {
158
- box-shadow: 1px 0 var(--commons-border-200) inset;
159
+ --components-dataTable-cell-shadow: 1px 0 var(--commons-border-200) inset;
159
160
  }
160
161
  }
161
162
  }
163
+
164
+ &:last-child {
165
+ --components-dataTable-cell-shadow: 0 1px inset var(--commons-border-200), 1px 0 inset var(--commons-border-200),
166
+ 1px 0 var(--palettes-neutral-0); // white shadow is for Chrome
167
+ }
162
168
  }
163
169
  }
164
170
  }