@lucca-front/scss 21.0.0-rc.3 → 21.0.0-rc.4

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": "21.0.0-rc.3",
3
+ "version": "21.0.0-rc.4",
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": "21.0.0-rc.3"
26
+ "@lucca-front/icons": "21.0.0-rc.4"
27
27
  }
28
28
  }
@@ -20,9 +20,10 @@
20
20
  border-radius: var(--components-dataTable-borderRadius);
21
21
  border: 1px solid var(--commons-border-200);
22
22
  overflow: auto;
23
- background-color: var(--components-dataTable-cell-background);
24
23
  contain: paint; // Fix overflow on webkit when table has scroll
24
+ background-color: var(--components-dataTable-cell-background);
25
25
  display: block;
26
+ min-inline-size: var(--components-dataTable-minInlineSize);
26
27
 
27
28
  &:focus-visible {
28
29
  @include a11y.focusVisible;
@@ -9,6 +9,10 @@
9
9
  &.mod-nested {
10
10
  @include nested;
11
11
  }
12
+
13
+ &.mod-noOverflow {
14
+ @include noOverflow;
15
+ }
12
16
  }
13
17
  }
14
18
 
@@ -185,3 +185,7 @@
185
185
  @mixin nested {
186
186
  --components-dataTable-borderRadius: var(--pr-t-border-radius-default);
187
187
  }
188
+
189
+ @mixin noOverflow {
190
+ --components-dataTable-minInlineSize: fit-content;
191
+ }
@@ -13,4 +13,5 @@
13
13
  --components-dataTable-row-display: table-row;
14
14
  --components-dataTable-expand-rotation: 180deg;
15
15
  --components-dataTable-borderRadius: var(--pr-t-border-radius-structure);
16
+ --components-dataTable-minInlineSize: none;
16
17
  }
@@ -35,5 +35,9 @@
35
35
  &:has(.pageHeader-containerOptional) {
36
36
  @include withContainer;
37
37
  }
38
+
39
+ &:has(.pageHeader-content-title-back:not(:empty)) {
40
+ @include withBackButton;
41
+ }
38
42
  }
39
43
  }
@@ -1,3 +1,5 @@
1
+ @use "@lucca-front/scss/src/components/button/exports" as button;
2
+
1
3
  @mixin horizontalNavigation {
2
4
  padding-block-end: 0;
3
5
 
@@ -36,3 +38,13 @@
36
38
  @mixin wide {
37
39
  --components-pageHeader-padding: var(--pr-t-spacings-300) var(--pr-t-spacings-400);
38
40
  }
41
+
42
+ @mixin withBackButton {
43
+ .pageHeader-content-title-back {
44
+ .button {
45
+ @include button.outlined;
46
+ @include button.S;
47
+ @include button.onlyIconS;
48
+ }
49
+ }
50
+ }