@lucca-front/scss 16.2.0-rc.4 → 16.2.0-rc.6

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": "16.2.0-rc.4",
3
+ "version": "16.2.0-rc.6",
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": "v16.2.0-rc.4"
26
+ "@lucca-front/icons": "v16.2.0-rc.6"
27
27
  }
28
28
  }
@@ -20,7 +20,7 @@
20
20
  border-radius: var(--commons-borderRadius-M) 0 0 var(--commons-borderRadius-M);
21
21
  }
22
22
 
23
- &:last-child {
23
+ &:last-child, &.mod-more {
24
24
  border-radius: 0 var(--commons-borderRadius-M) var(--commons-borderRadius-M) 0;
25
25
  }
26
26
 
@@ -1,11 +1,11 @@
1
1
  @mixin component($atRoot: 'without: rule') {
2
2
  align-items: flex-start;
3
- background-color: var(--palettes-50, var(--palettes-primary-50));
3
+ background-color: var(--palettes-100, var(--palettes-primary-100));
4
4
  border-radius: var(--commons-borderRadius-L);
5
5
  display: inline-flex;
6
- font-size: var(--sizes-S-fontSize);
6
+ font-size: var(--components-statusBadge-fontSize);
7
7
  gap: var(--spacings-XXS);
8
- line-height: var(--sizes-XS-lineHeight);
8
+ line-height: var(--components-statusBadge-lineHeight);
9
9
  padding: calc(var(--spacings-XXS) / 2) var(--spacings-XS) calc(var(--spacings-XXS) / 2) .375rem;
10
10
  white-space: nowrap;
11
11
 
@@ -14,10 +14,10 @@
14
14
  border-radius: 50%;
15
15
  content: '';
16
16
  display: block;
17
- height: .5rem;
17
+ height: var(--components-statusBadge-dot-size);
18
18
  flex-shrink: 0;
19
- width: .5rem;
20
- top: var(--spacings-XXS);
19
+ width: var(--components-statusBadge-dot-size);
20
+ top: var(--components-statusBadge-dot-top);
21
21
  position: relative;
22
22
  }
23
23
 
@@ -3,4 +3,8 @@
3
3
  .statusBadge {
4
4
  @include vars;
5
5
  @include component;
6
+
7
+ &.mod-L {
8
+ @include l;
9
+ }
6
10
  }
@@ -0,0 +1,6 @@
1
+ @mixin l {
2
+ --components-statusBadge-fontSize: var(--sizes-M-fontSize);
3
+ --components-statusBadge-lineHeight: var(--sizes-S-lineHeight);
4
+ --components-statusBadge-dot-size: .625rem;
5
+ --components-statusBadge-dot-top: .325rem;
6
+ }
@@ -1,2 +1,6 @@
1
1
  @mixin vars {
2
+ --components-statusBadge-fontSize: var(--sizes-S-fontSize);
3
+ --components-statusBadge-lineHeight: var(--sizes-XS-lineHeight);
4
+ --components-statusBadge-dot-size: .5rem;
5
+ --components-statusBadge-dot-top: var(--spacings-XXS);
2
6
  }
@@ -289,14 +289,14 @@
289
289
 
290
290
  &::after {
291
291
  bottom: var(--spacings-XS);
292
- color: var(--palettes-primary-500);
292
+ color: var(--palettes-grey-600);
293
293
  font-weight: 400;
294
294
  }
295
295
  }
296
296
  }
297
297
 
298
298
  @mixin suffixIcon {
299
- color: var(--palettes-primary-500);
299
+ color: var(--palettes-grey-600);
300
300
  line-height: var(--sizes-M-lineHeight);
301
301
  }
302
302