@lucca-front/scss 21.1.1-rc.2 → 21.1.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": "@lucca-front/scss",
3
- "version": "21.1.1-rc.2",
3
+ "version": "21.1.1",
4
4
  "description": "A Sass framework for Lucca products.",
5
5
  "main": "src/main.scss",
6
6
  "scripts": {},
@@ -23,7 +23,7 @@
23
23
  "normalize.css": "^8.0.0"
24
24
  },
25
25
  "peerDependencies": {
26
- "@lucca-front/icons": "21.1.1-rc.2",
27
- "@lucca/prisme": "21.1.1-rc.2"
26
+ "@lucca-front/icons": "21.1.1",
27
+ "@lucca/prisme": "21.1.1"
28
28
  }
29
29
  }
@@ -9,19 +9,19 @@
9
9
  @layer mods {
10
10
  &.mod-AI {
11
11
  &:not(.invert) {
12
- @include AI;
12
+ @include AI;
13
13
 
14
- &.mod-invert {
15
- @include invertIA;
16
- }
14
+ &.mod-invert {
15
+ @include invertIA;
16
+ }
17
17
 
18
- &.is-success {
19
- @include successAI;
20
- }
18
+ &.is-success {
19
+ @include successAI;
20
+ }
21
21
 
22
- &.is-loading {
23
- @include loadingAI;
24
- }
22
+ &.is-loading {
23
+ @include loadingAI;
24
+ }
25
25
  }
26
26
  }
27
27
 
@@ -156,7 +156,6 @@
156
156
  @include loadingXS;
157
157
  }
158
158
 
159
- &.mod-AI,
160
159
  &.mod-outlined {
161
160
  @include loadingOutlined;
162
161
  }
@@ -80,8 +80,13 @@
80
80
  }
81
81
 
82
82
  @mixin loadingAI {
83
+ --components-button-color: transparent;
84
+ --components-button-backgroundColor: var(--palettes-neutral-0);
85
+ --commons-loading-frontground: var(--palettes-neutral-300);
86
+ --components-button-boxShadow: 0 0 0 var(--commons-divider-width) var(--palettes-neutral-100);
87
+
83
88
  .lucca-icon {
84
- @include icons.transparent;
89
+ background-image: none !important;
85
90
  }
86
91
 
87
92
  &::before {
@@ -2,19 +2,17 @@
2
2
  @use '@lucca-front/scss/src/commons/utils/a11y';
3
3
 
4
4
  @mixin component($atRoot: namespace.$defaultAtRoot) {
5
- @at-root ($atRoot) {
6
- .presentation-description {
7
- margin: 0;
8
- }
5
+ margin: 0;
9
6
 
10
- .presentation-description-term {
7
+ @at-root ($atRoot) {
8
+ .presentation-term {
11
9
  font: var(--pr-t-font-body-S);
12
10
  color: var(--pr-t-color-text-subtle);
13
11
  display: flex;
14
12
  align-items: center;
15
13
  }
16
14
 
17
- .presentation-description-term-info {
15
+ .presentation-term-info {
18
16
  position: relative;
19
17
 
20
18
  .lucca-icon {
@@ -45,8 +43,8 @@
45
43
  }
46
44
  }
47
45
 
48
- .presentation-description-definition {
49
- display: var(--components-presentation-description-definition-display);
46
+ .presentation-definition {
47
+ display: var(--components-presentation-definition-display);
50
48
  margin: 0;
51
49
  }
52
50
  }
@@ -1,4 +1,4 @@
1
1
  @mixin vars {
2
- --components-presentation-description-child-display: block;
3
- --components-presentation-description-term-display: var(--components-presentation-description-child-display);
2
+ --components-presentation-child-display: block;
3
+ --components-presentation-term-display: var(--components-presentation-child-display);
4
4
  }