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

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.
Files changed (43) hide show
  1. package/dist/lucca-front.min.css +1 -1
  2. package/package.json +3 -2
  3. package/src/commons/base.scss +1 -1
  4. package/src/commons/config.scss +6 -6
  5. package/src/commons/vars.scss +2 -1
  6. package/src/components/bubbleIcon/component.scss +54 -0
  7. package/src/components/bubbleIcon/index.scss +48 -0
  8. package/src/components/bubbleIcon/mods.scss +39 -0
  9. package/src/components/bubbleIcon/states.scss +13 -0
  10. package/src/components/bubbleIcon/vars.scss +13 -0
  11. package/src/components/bubbleIllustration/component.scss +20 -0
  12. package/src/components/bubbleIllustration/exports.scss +4 -0
  13. package/src/components/bubbleIllustration/index.scss +34 -0
  14. package/src/components/bubbleIllustration/mods.scss +11 -0
  15. package/src/components/bubbleIllustration/states.scss +14 -0
  16. package/src/components/bubbleIllustration/vars.scss +4 -0
  17. package/src/components/color/component.scss +82 -0
  18. package/src/components/color/exports.scss +4 -0
  19. package/src/components/color/index.scss +74 -0
  20. package/src/components/color/mods.scss +48 -0
  21. package/src/components/color/states.scss +15 -0
  22. package/src/components/color/vars.scss +13 -0
  23. package/src/components/container/index.scss +1 -0
  24. package/src/components/container/mods.scss +2 -1
  25. package/src/components/emptyState/component.scss +1 -6
  26. package/src/components/emptyState/index.scss +10 -0
  27. package/src/components/emptyState/mods.scss +9 -0
  28. package/src/components/emptyState/vars.scss +2 -1
  29. package/src/components/form/index.scss +6 -0
  30. package/src/components/form/mods.scss +9 -0
  31. package/src/components/horizontalNavigation/component.scss +1 -1
  32. package/src/components/index.scss +3 -1
  33. package/src/components/mainLayout/component.scss +2 -0
  34. package/src/components/mainLayout/mods.scss +2 -0
  35. package/src/components/mainLayout/vars.scss +2 -0
  36. package/src/components/resourceCard/mods.scss +10 -0
  37. package/src/components/resourceCard/states.scss +10 -0
  38. package/src/components/formPresentation/component.scss +0 -18
  39. package/src/components/formPresentation/index.scss +0 -14
  40. package/src/components/formPresentation/mods.scss +0 -3
  41. package/src/components/formPresentation/states.scss +0 -0
  42. package/src/components/formPresentation/vars.scss +0 -5
  43. /package/src/components/{formPresentation → bubbleIcon}/exports.scss +0 -0
@@ -12,6 +12,7 @@
12
12
  @use '@lucca-front/scss/src/components/multiSelect/exports' as multiSelect;
13
13
  @use '@lucca-front/scss/src/components/timepicker/exports' as timepicker;
14
14
  @use '@lucca-front/scss/src/components/box/exports' as box;
15
+ @use '@lucca-front/scss/src/components/color/exports' as color;
15
16
 
16
17
  @mixin maxWidth {
17
18
  max-inline-size: var(--components-form-maxWidth);
@@ -115,6 +116,10 @@
115
116
  .timePicker {
116
117
  @include timepicker.S;
117
118
  }
119
+
120
+ .color {
121
+ @include color.M;
122
+ }
118
123
  }
119
124
 
120
125
  @mixin XS {
@@ -369,3 +374,7 @@
369
374
  content: '*' / '';
370
375
  }
371
376
  }
377
+
378
+ @mixin hiddenLabel {
379
+ gap: 0;
380
+ }
@@ -32,7 +32,7 @@
32
32
  .horizontalNavigation-containerOptional,
33
33
  .menu-containerOptional {
34
34
  max-inline-size: var(--commons-container-maxWidth);
35
- padding-inline: var(--commons-container-padding);
35
+ padding: var(--commons-container-padding);
36
36
  }
37
37
 
38
38
  // .menu-list is deprecated
@@ -110,7 +110,9 @@
110
110
  @forward 'listboxOption';
111
111
  @forward 'suggestion';
112
112
  @forward 'resourceCard';
113
- @forward 'formPresentation';
113
+ @forward 'color';
114
+ @forward 'bubbleIllustration';
115
+ @forward 'bubbleIcon';
114
116
 
115
117
  @forward 'filterBarDeprecated';
116
118
  @forward 'tableFixedDeprecated';
@@ -95,6 +95,7 @@
95
95
  z-index: 1;
96
96
  inset-block-start: var(--components-mainLayout-content-inside-header-insetBlockStart);
97
97
  inset-inline-start: 0;
98
+ background-color: var(--components-mainLayout-content-inside-header-backgroundColor);
98
99
 
99
100
  &:empty {
100
101
  display: none;
@@ -106,6 +107,7 @@
106
107
  inset-block-end: var(--components-mainLayout-content-inside-footer-insetBlockEnd);
107
108
  inset-inline-start: 0;
108
109
  margin-block-start: auto;
110
+ background-color: var(--components-mainLayout-content-inside-footer-backgroundColor);
109
111
 
110
112
  &:empty {
111
113
  display: none;
@@ -4,10 +4,12 @@
4
4
 
5
5
  @mixin stickyHeader {
6
6
  --components-mainLayout-content-inside-header-position: sticky;
7
+ --components-mainLayout-content-inside-header-backgroundColor: var(--commons-background-base);
7
8
  }
8
9
 
9
10
  @mixin stickyFooter {
10
11
  --components-mainLayout-content-inside-footer-position: sticky;
12
+ --components-mainLayout-content-inside-footer-backgroundColor: var(--commons-background-base);
11
13
  }
12
14
 
13
15
  @mixin stickyBlock {
@@ -7,4 +7,6 @@
7
7
  --components-mainLayout-content-inside-header-insetBlockStart: auto;
8
8
  --components-mainLayout-content-inside-footer-insetBlockEnd: auto;
9
9
  --components-mainLayout-content-inside-block-firstLastOfType-marginBlock: var(--pr-t-spacings-200);
10
+ --components-mainLayout-content-inside-header-backgroundColor: transparent;
11
+ --components-mainLayout-content-inside-footer-backgroundColor: transparent;
10
12
  }
@@ -1,6 +1,8 @@
1
1
  @use '@lucca-front/scss/src/commons/utils/color';
2
2
  @use '@lucca-front/scss/src/components/button/exports' as button;
3
3
  @use '@lucca-front/scss/src/components/numericBadge/exports' as numericBadge;
4
+ @use '@lucca-front/scss/src/components/bubbleIllustration/exports' as bubbleIllustration;
5
+ @use '@lucca-front/scss/src/components/bubbleIcon/exports' as bubbleIcon;
4
6
 
5
7
  @mixin gridWrapper {
6
8
  --components-resourceCardWrapper-display: grid;
@@ -23,6 +25,14 @@
23
25
  --components-resourceCard-layout-content-font: var(--pr-t-font-body-S);
24
26
  --components-resourceCard-layout-header-title-font: var(--pr-t-font-heading-4);
25
27
  --components-resourceCard-layout-before-illustration-minSize: calc(var(--pr-t-spacings-400) + var(--pr-t-spacings-50));
28
+
29
+ .bubbleIllustration {
30
+ @include bubbleIllustration.S;
31
+ }
32
+
33
+ .bubbleIcon {
34
+ @include bubbleIcon.S;
35
+ }
26
36
  }
27
37
 
28
38
  @mixin hasIllustrationGridS {
@@ -20,6 +20,16 @@
20
20
  --components-resourceCard-color: var(--palettes-neutral-500);
21
21
  --components-resourceCard-layout-header-title-action-color: var(--palettes-neutral-500);
22
22
  --components-resourceCard-before-boxShadow: 0 0 0 1px var(--palettes-neutral-50);
23
+
24
+
25
+ .bubbleIllustration {
26
+ --palettes-brand-600: var(--pr-t-color-input-icon-disabled);
27
+ }
28
+
29
+ .bubbleIcon {
30
+ --components-bubbleIcon-color: var(--pr-t-color-input-icon-disabled);
31
+ --components-bubbleIcon-bubble-path-fill: var(--pr-t-color-input-background-disabled);
32
+ }
23
33
  }
24
34
 
25
35
  @mixin active {
@@ -1,18 +0,0 @@
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
- }
@@ -1,14 +0,0 @@
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
- }
@@ -1,3 +0,0 @@
1
- @mixin checkable {
2
- --components-formPresentation-description-child-display: inline-block
3
- }
File without changes
@@ -1,5 +0,0 @@
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
- }