@lucca-front/scss 21.0.2 → 21.1.0-rc.0

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.2",
3
+ "version": "21.1.0-rc.0",
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.2"
26
+ "@lucca-front/icons": "21.1.0-rc.0"
27
27
  }
28
28
  }
@@ -613,7 +613,7 @@ $colorInput: (
613
613
  icon-disabled: var(--palettes-neutral-500),
614
614
  background: var(--palettes-neutral-0),
615
615
  background-critical: var(--palettes-critical-50),
616
- background-disabled: var(--palettes-neutral-100),
616
+ background-disabled: var(--palettes-neutral-50),
617
617
  border: var(--palettes-neutral-300),
618
618
  border-hover: var(--palettes-neutral-400),
619
619
  border-checked: var(--palettes-product-400),
@@ -0,0 +1,18 @@
1
+ @use '@lucca-front/scss/src/commons/utils/namespace';
2
+
3
+ @mixin component($atRoot: namespace.$defaultAtRoot) {
4
+ @at-root ($atRoot) {
5
+ .formPresentation-description {
6
+ margin: 0;
7
+ }
8
+
9
+ .formPresentation-description-term {
10
+ display: var(--components-formPresentation-description-term-display);
11
+ }
12
+
13
+ .formPresentation-description-definition {
14
+ display: var(--components-formPresentation-description-definition-display);
15
+ margin: 0;
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,4 @@
1
+ @forward 'vars';
2
+ @forward 'mods';
3
+ @forward 'states';
4
+ @forward 'component';
@@ -0,0 +1,14 @@
1
+ @use 'exports' as *;
2
+
3
+ .formPresentation {
4
+ @layer components {
5
+ @include vars;
6
+ @include component;
7
+ }
8
+
9
+ @layer mods {
10
+ &.mod-checkable{
11
+ @include checkable;
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,3 @@
1
+ @mixin checkable {
2
+ --components-formPresentation-description-child-display: inline-block
3
+ }
File without changes
@@ -0,0 +1,5 @@
1
+ @mixin vars {
2
+ --components-formPresentation-description-child-display: block;
3
+ --components-formPresentation-description-term-display: var(--components-formPresentation-description-child-display);
4
+ --components-formPresentation-description-definition-display: var(--components-formPresentation-description-child-display);
5
+ }
@@ -110,6 +110,7 @@
110
110
  @forward 'listboxOption';
111
111
  @forward 'suggestion';
112
112
  @forward 'resourceCard';
113
+ @forward 'formPresentation';
113
114
 
114
115
  @forward 'filterBarDeprecated';
115
116
  @forward 'tableFixedDeprecated';