@lucca-front/scss 19.3.3 → 19.3.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": "19.3.3",
3
+ "version": "19.3.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": "19.3.3"
26
+ "@lucca-front/icons": "19.3.4"
27
27
  }
28
28
  }
@@ -5,7 +5,7 @@
5
5
  @use '@lucca-front/icons/src/commons/core' as transform;
6
6
 
7
7
  $contents: '100\\%', 'fit-content';
8
- $boxModel: 'margin', 'padding', 'border';
8
+ $boxModel: 'margin', 'padding', 'border', 'inset';
9
9
  $boxDirection: '', 'top', 'bottom', 'left', 'right', 'inline', 'block', 'block-start', 'block-end', 'inline-start', 'inline-end'; // top, bottom, left and right are deprecated
10
10
  $corners: '', 'top-left-', 'top-right-', 'bottom-left-', 'bottom-right-', 'start-start-', 'start-end-', 'end-start-', 'end-end-'; // top-left, top-right, bottom-left and bottom-right are deprecated
11
11
  $gaps: 'column-gap', 'row-gap', 'gap';
@@ -33,8 +33,10 @@ $overflow: 'hidden', 'auto', 'visible', 'scroll';
33
33
  /* Tokens */
34
34
 
35
35
  @mixin spacing($boxModel, $boxDirection, $key, $value, $suffix: '!important') {
36
- .pr-u-#{transform.camelize($boxModel)}#{transform.capitalize(transform.camelize($boxDirection))}#{transform.capitalize($key)} {
37
- #{$boxModel}#{if($boxDirection == '', '', '-')}#{$boxDirection}: var(--pr-t-spacings-#{$key}) #{$suffix};
36
+ @if $boxModel != 'inset' or ($boxDirection != 'top' and $boxDirection != 'bottom' and $boxDirection != 'left' and $boxDirection != 'right') {
37
+ .pr-u-#{transform.camelize($boxModel)}#{transform.capitalize(transform.camelize($boxDirection))}#{transform.capitalize($key)} {
38
+ #{$boxModel}#{if($boxDirection == '', '', '-')}#{$boxDirection}: var(--pr-t-spacings-#{$key}) #{$suffix};
39
+ }
38
40
  }
39
41
  }
40
42
 
@@ -344,7 +344,7 @@
344
344
  .u-insetReset {
345
345
  inset: 0 !important;
346
346
  }
347
- } @else if $direction != 'block' and $direction != 'inline' {
347
+ } @else if $direction == 'top' or $direction == 'bottom' or $direction == 'left' or $direction == 'right' {
348
348
  // .u-#{$direction}Reset is deprecated
349
349
  .u-#{$direction}0,
350
350
  .u-#{$direction}Reset {