@lucca-front/scss 18.3.0-rc.2 → 18.3.0-rc.3

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 (232) hide show
  1. package/dist/lucca-front.min.css +1 -1
  2. package/package.json +2 -2
  3. package/src/commons/utils/container.scss +67 -27
  4. package/src/commons/utils/media.scss +84 -35
  5. package/src/commons/vars.scss +1 -1
  6. package/src/components/_sample/exports.scss +1 -0
  7. package/src/components/_sample/index.scss +39 -2
  8. package/src/components/_sample/responsive.scss +7 -0
  9. package/src/components/actionIcon/exports.scss +1 -0
  10. package/src/components/actionIcon/responsive.scss +0 -0
  11. package/src/components/avatar/exports.scss +1 -0
  12. package/src/components/avatar/responsive.scss +0 -0
  13. package/src/components/box/exports.scss +1 -0
  14. package/src/components/box/responsive.scss +0 -0
  15. package/src/components/breadcrumbs/exports.scss +1 -0
  16. package/src/components/breadcrumbs/responsive.scss +0 -0
  17. package/src/components/button/exports.scss +1 -0
  18. package/src/components/button/responsive.scss +0 -0
  19. package/src/components/buttonGroup/exports.scss +1 -0
  20. package/src/components/buttonGroup/responsive.scss +0 -0
  21. package/src/components/calendar/exports.scss +1 -0
  22. package/src/components/calendar/responsive.scss +0 -0
  23. package/src/components/callout/exports.scss +1 -0
  24. package/src/components/callout/responsive.scss +0 -0
  25. package/src/components/calloutAccordion/exports.scss +1 -0
  26. package/src/components/calloutAccordion/responsive.scss +0 -0
  27. package/src/components/calloutDisclosure/exports.scss +1 -0
  28. package/src/components/calloutDisclosure/responsive.scss +0 -0
  29. package/src/components/calloutFeedbackList/exports.scss +1 -0
  30. package/src/components/calloutFeedbackList/responsive.scss +0 -0
  31. package/src/components/calloutPopover/exports.scss +1 -0
  32. package/src/components/calloutPopover/responsive.scss +0 -0
  33. package/src/components/card/exports.scss +1 -0
  34. package/src/components/card/responsive.scss +0 -0
  35. package/src/components/checkbox/exports.scss +1 -0
  36. package/src/components/checkbox/responsive.scss +0 -0
  37. package/src/components/checkboxField/exports.scss +1 -0
  38. package/src/components/checkboxField/responsive.scss +0 -0
  39. package/src/components/chip/exports.scss +1 -0
  40. package/src/components/chip/responsive.scss +0 -0
  41. package/src/components/clear/exports.scss +1 -0
  42. package/src/components/clear/responsive.scss +0 -0
  43. package/src/components/code/exports.scss +1 -0
  44. package/src/components/code/responsive.scss +0 -0
  45. package/src/components/collapse/exports.scss +1 -0
  46. package/src/components/collapse/responsive.scss +0 -0
  47. package/src/components/comment/component.scss +0 -1
  48. package/src/components/comment/exports.scss +1 -0
  49. package/src/components/comment/index.scss +35 -4
  50. package/src/components/comment/mods.scss +0 -14
  51. package/src/components/comment/responsive.scss +5 -0
  52. package/src/components/container/exports.scss +1 -0
  53. package/src/components/container/responsive.scss +0 -0
  54. package/src/components/contentSection/exports.scss +1 -0
  55. package/src/components/contentSection/responsive.scss +0 -0
  56. package/src/components/dialog/component.scss +1 -1
  57. package/src/components/dialog/exports.scss +1 -0
  58. package/src/components/dialog/index.scss +37 -4
  59. package/src/components/dialog/responsive.scss +0 -0
  60. package/src/components/divider/exports.scss +1 -0
  61. package/src/components/divider/responsive.scss +0 -0
  62. package/src/components/emptyState/component.scss +0 -2
  63. package/src/components/emptyState/exports.scss +1 -0
  64. package/src/components/emptyState/index.scss +62 -0
  65. package/src/components/emptyState/mods.scss +6 -20
  66. package/src/components/emptyState/responsive.scss +27 -0
  67. package/src/components/emptyState/vars.scss +6 -9
  68. package/src/components/emptyStateDeprecated/exports.scss +1 -0
  69. package/src/components/emptyStateDeprecated/responsive.scss +0 -0
  70. package/src/components/errorPage/component.scss +35 -55
  71. package/src/components/errorPage/exports.scss +1 -0
  72. package/src/components/errorPage/index.scss +33 -2
  73. package/src/components/errorPage/responsive.scss +20 -0
  74. package/src/components/field/exports.scss +1 -0
  75. package/src/components/field/responsive.scss +0 -0
  76. package/src/components/fieldset/exports.scss +1 -0
  77. package/src/components/fieldset/responsive.scss +0 -0
  78. package/src/components/file/exports.scss +1 -0
  79. package/src/components/file/responsive.scss +0 -0
  80. package/src/components/filterBar/component.scss +5 -19
  81. package/src/components/filterBar/exports.scss +1 -0
  82. package/src/components/filterBar/index.scss +61 -0
  83. package/src/components/filterBar/responsive.scss +10 -0
  84. package/src/components/filterBar/vars.scss +5 -0
  85. package/src/components/filters/exports.scss +1 -0
  86. package/src/components/filters/index.scss +36 -0
  87. package/src/components/filters/mods.scss +0 -7
  88. package/src/components/filters/responsive.scss +6 -0
  89. package/src/components/footer/component.scss +1 -1
  90. package/src/components/footer/exports.scss +1 -0
  91. package/src/components/footer/index.scss +36 -0
  92. package/src/components/footer/mods.scss +0 -6
  93. package/src/components/footer/responsive.scss +5 -0
  94. package/src/components/form/exports.scss +1 -0
  95. package/src/components/form/responsive.scss +0 -0
  96. package/src/components/formField/responsive.scss +0 -0
  97. package/src/components/formFieldset/responsive.scss +0 -0
  98. package/src/components/formLabel/exports.scss +1 -0
  99. package/src/components/formLabel/responsive.scss +0 -0
  100. package/src/components/formSection/responsive.scss +0 -0
  101. package/src/components/gauge/exports.scss +1 -0
  102. package/src/components/gauge/responsive.scss +0 -0
  103. package/src/components/grid/component.scss +2 -5
  104. package/src/components/grid/exports.scss +1 -0
  105. package/src/components/grid/index.scss +1 -1
  106. package/src/components/grid/responsive.scss +0 -0
  107. package/src/components/gridLegacy/exports.scss +1 -0
  108. package/src/components/gridLegacy/responsive.scss +0 -0
  109. package/src/components/header/exports.scss +1 -0
  110. package/src/components/header/index.scss +37 -0
  111. package/src/components/header/mods.scss +0 -11
  112. package/src/components/header/responsive.scss +14 -0
  113. package/src/components/index.scss +97 -93
  114. package/src/components/indexTable/exports.scss +1 -0
  115. package/src/components/indexTable/index.scss +38 -19
  116. package/src/components/indexTable/mods.scss +0 -149
  117. package/src/components/indexTable/responsive.scss +175 -0
  118. package/src/components/indexTableSorted/responsive.scss +0 -0
  119. package/src/components/inlineMessage/exports.scss +1 -0
  120. package/src/components/inlineMessage/responsive.scss +0 -0
  121. package/src/components/label/exports.scss +1 -0
  122. package/src/components/label/responsive.scss +0 -0
  123. package/src/components/layout/exports.scss +1 -0
  124. package/src/components/layout/responsive.scss +0 -0
  125. package/src/components/link/exports.scss +1 -0
  126. package/src/components/link/responsive.scss +0 -0
  127. package/src/components/list/exports.scss +1 -0
  128. package/src/components/list/responsive.scss +0 -0
  129. package/src/components/loading/exports.scss +1 -0
  130. package/src/components/loading/responsive.scss +0 -0
  131. package/src/components/main/exports.scss +1 -0
  132. package/src/components/main/index.scss +38 -6
  133. package/src/components/main/mods.scss +0 -6
  134. package/src/components/main/responsive.scss +21 -0
  135. package/src/components/main/states.scss +0 -8
  136. package/src/components/menu/exports.scss +1 -0
  137. package/src/components/menu/responsive.scss +0 -0
  138. package/src/components/mobileHeader/exports.scss +1 -0
  139. package/src/components/mobileHeader/responsive.scss +0 -0
  140. package/src/components/mobileNavigation/exports.scss +1 -0
  141. package/src/components/mobileNavigation/responsive.scss +0 -0
  142. package/src/components/multiSelect/exports.scss +1 -0
  143. package/src/components/multiSelect/responsive.scss +0 -0
  144. package/src/components/navside/component.scss +2 -2
  145. package/src/components/navside/exports.scss +1 -0
  146. package/src/components/navside/index.scss +105 -50
  147. package/src/components/navside/mods.scss +0 -44
  148. package/src/components/navside/responsive.scss +56 -0
  149. package/src/components/navside/states.scss +0 -13
  150. package/src/components/newBadge/exports.scss +1 -0
  151. package/src/components/newBadge/responsive.scss +0 -0
  152. package/src/components/notchBox/exports.scss +1 -0
  153. package/src/components/notchBox/responsive.scss +0 -0
  154. package/src/components/numericBadge/exports.scss +1 -0
  155. package/src/components/numericBadge/responsive.scss +0 -0
  156. package/src/components/pageHeader/component.scss +1 -11
  157. package/src/components/pageHeader/exports.scss +1 -0
  158. package/src/components/pageHeader/index.scss +61 -0
  159. package/src/components/pageHeader/mods.scss +0 -7
  160. package/src/components/pageHeader/responsive.scss +17 -0
  161. package/src/components/pagination/exports.scss +1 -0
  162. package/src/components/pagination/responsive.scss +0 -0
  163. package/src/components/popover/exports.scss +1 -0
  164. package/src/components/popover/responsive.scss +0 -0
  165. package/src/components/progress/exports.scss +1 -0
  166. package/src/components/progress/responsive.scss +0 -0
  167. package/src/components/radio/exports.scss +1 -0
  168. package/src/components/radio/responsive.scss +0 -0
  169. package/src/components/radioButtons/exports.scss +1 -0
  170. package/src/components/radioButtons/responsive.scss +0 -0
  171. package/src/components/radioField/exports.scss +1 -0
  172. package/src/components/radioField/responsive.scss +0 -0
  173. package/src/components/scrollBox/exports.scss +1 -0
  174. package/src/components/scrollBox/responsive.scss +0 -0
  175. package/src/components/section/component.scss +2 -2
  176. package/src/components/section/exports.scss +1 -0
  177. package/src/components/section/index.scss +61 -5
  178. package/src/components/section/mods.scss +1 -11
  179. package/src/components/section/responsive.scss +7 -0
  180. package/src/components/section/vars.scss +2 -0
  181. package/src/components/segmentedControl/exports.scss +1 -0
  182. package/src/components/segmentedControl/index.scss +36 -5
  183. package/src/components/segmentedControl/mods.scss +0 -5
  184. package/src/components/segmentedControl/responsive.scss +4 -0
  185. package/src/components/simpleSelect/exports.scss +1 -0
  186. package/src/components/simpleSelect/responsive.scss +0 -0
  187. package/src/components/skeleton/exports.scss +1 -0
  188. package/src/components/skeleton/responsive.scss +0 -0
  189. package/src/components/sortableList/exports.scss +1 -0
  190. package/src/components/sortableList/responsive.scss +0 -0
  191. package/src/components/statusBadge/exports.scss +1 -0
  192. package/src/components/statusBadge/responsive.scss +0 -0
  193. package/src/components/switch/exports.scss +1 -0
  194. package/src/components/switch/responsive.scss +0 -0
  195. package/src/components/switchField/exports.scss +1 -0
  196. package/src/components/switchField/responsive.scss +0 -0
  197. package/src/components/table/exports.scss +1 -0
  198. package/src/components/table/responsive.scss +0 -0
  199. package/src/components/tableFixed/exports.scss +1 -0
  200. package/src/components/tableFixed/responsive.scss +0 -0
  201. package/src/components/tableFixedDeprecated/exports.scss +1 -0
  202. package/src/components/tableFixedDeprecated/responsive.scss +0 -0
  203. package/src/components/tableOfContent/exports.scss +1 -0
  204. package/src/components/tableOfContent/responsive.scss +0 -0
  205. package/src/components/tableSortable/exports.scss +1 -0
  206. package/src/components/tableSortable/responsive.scss +0 -0
  207. package/src/components/tableSticked/exports.scss +1 -0
  208. package/src/components/tableSticked/responsive.scss +0 -0
  209. package/src/components/tableStickedDeprecated/exports.scss +1 -0
  210. package/src/components/tableStickedDeprecated/responsive.scss +0 -0
  211. package/src/components/tag/exports.scss +1 -0
  212. package/src/components/tag/responsive.scss +0 -0
  213. package/src/components/textField/exports.scss +1 -0
  214. package/src/components/textField/responsive.scss +0 -0
  215. package/src/components/textfields/exports.scss +1 -0
  216. package/src/components/textfields/responsive.scss +0 -0
  217. package/src/components/timeline/exports.scss +1 -0
  218. package/src/components/timeline/responsive.scss +0 -0
  219. package/src/components/timepicker/exports.scss +1 -0
  220. package/src/components/timepicker/responsive.scss +0 -0
  221. package/src/components/title/exports.scss +1 -0
  222. package/src/components/title/responsive.scss +0 -0
  223. package/src/components/titleSection/exports.scss +1 -0
  224. package/src/components/titleSection/responsive.scss +0 -0
  225. package/src/components/toast/exports.scss +1 -0
  226. package/src/components/toast/responsive.scss +0 -0
  227. package/src/components/tooltip/exports.scss +1 -0
  228. package/src/components/tooltip/responsive.scss +0 -0
  229. package/src/components/userPopover/exports.scss +1 -0
  230. package/src/components/userPopover/responsive.scss +0 -0
  231. package/src/components/verticalNavigation/exports.scss +1 -0
  232. package/src/components/verticalNavigation/responsive.scss +0 -0
@@ -1,3 +1,4 @@
1
+ @use '@lucca-front/scss/src/commons/utils/media';
1
2
  @use '@lucca-front/scss/src/commons/utils/container';
2
3
 
3
4
  @use 'exports' as *;
@@ -13,10 +14,6 @@
13
14
  &.mod-noAvatar {
14
15
  @include noAvatar;
15
16
  }
16
-
17
- @include container.max(25rem, $name: 'comment') {
18
- @include narrow;
19
- }
20
17
  }
21
18
 
22
19
  .commentWrapper {
@@ -38,3 +35,37 @@
38
35
  .commentWrapperChat {
39
36
  @include chat;
40
37
  }
38
+
39
+ @mixin responsive(
40
+ $breakpoint: 25rem,
41
+ $breakpoint2: null,
42
+ $inverted: true,
43
+ $at: 'container',
44
+ $containerName: 'comment',
45
+ $responsiveSelector: null,
46
+ $axis: 'width',
47
+ $selector: '.comment'
48
+ ) {
49
+ @if ($at == 'container') {
50
+ @include container.auto($containerName);
51
+ }
52
+
53
+ #{if($responsiveSelector, $selector + '.rwd-' + $responsiveSelector, $selector)} {
54
+ @include media.query(
55
+ $breakpoint: $breakpoint,
56
+ $breakpoint2: $breakpoint2,
57
+ $inverted: $inverted,
58
+ $at: $at,
59
+ $containerName: $containerName,
60
+ $axis: $axis
61
+ ) {
62
+ @include narrow;
63
+ }
64
+ }
65
+ }
66
+
67
+ $defaultResponsive: true !default;
68
+
69
+ @if $defaultResponsive {
70
+ @include responsive;
71
+ }
@@ -16,20 +16,6 @@
16
16
  --components-comment-content-margin: 0;
17
17
  }
18
18
 
19
- @mixin narrow {
20
- @at-root (namespace.$defaultAtRoot) {
21
- .comment-infos-content {
22
- --components-comment-info-content-display: flex;
23
- }
24
-
25
- .comment-infos-name + .comment-infos-date {
26
- &::before {
27
- --components-comment-info-separator: none;
28
- }
29
- }
30
- }
31
- }
32
-
33
19
  @mixin wrapperCompact {
34
20
  .commentWrapper-item {
35
21
  &:not(:first-child) {
@@ -0,0 +1,5 @@
1
+ @mixin narrow {
2
+ --components-comment-info-content-direction: column;
3
+ --components-comment-info-separator: none;
4
+ --components-comment-info-content-display: flex;
5
+ }
@@ -1,4 +1,5 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
+ @forward 'responsive';
4
5
  @forward 'component';
File without changes
@@ -1,4 +1,5 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
+ @forward 'responsive';
4
5
  @forward 'component';
File without changes
@@ -73,7 +73,7 @@
73
73
  align-self: start;
74
74
  justify-self: end;
75
75
  grid-area: close;
76
- display: var(--components-dialog-headerButtonDisplay);
76
+ display: var(--components-dialog-insideHeaderButtonDisplay);
77
77
  }
78
78
  }
79
79
 
@@ -1,4 +1,5 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
+ @forward 'responsive';
4
5
  @forward 'component';
@@ -1,5 +1,6 @@
1
1
  @use 'exports' as *;
2
2
  @use '@lucca-front/scss/src/commons/utils/media';
3
+ @use '@lucca-front/scss/src/commons/utils/container';
3
4
  @use '@lucca-front/scss/src/components/button/exports' as button;
4
5
 
5
6
  .dialog {
@@ -40,13 +41,45 @@
40
41
  &:where(.mod-fromBottom) {
41
42
  @include fromBottom;
42
43
  }
43
-
44
- @include media.max('XXS') {
45
- @include fromBottom;
46
- }
47
44
  }
48
45
 
49
46
  &.mod-fullScreen {
50
47
  @include fullScreen;
51
48
  }
52
49
  }
50
+
51
+ @mixin responsive(
52
+ $breakpoint: 'XXS',
53
+ $breakpoint2: null,
54
+ $inverted: true,
55
+ $at: 'media',
56
+ $containerName: 'dialog',
57
+ $responsiveSelector: null,
58
+ $axis: 'width',
59
+ $selector: '.dialog'
60
+ ) {
61
+ @if ($at == 'container') {
62
+ @include container.auto($containerName);
63
+ }
64
+
65
+ #{if($responsiveSelector, $selector + '.rwd-' + $responsiveSelector, $selector)} {
66
+ @include media.query(
67
+ $breakpoint: $breakpoint,
68
+ $breakpoint2: $breakpoint2,
69
+ $inverted: $inverted,
70
+ $at: $at,
71
+ $containerName: $containerName,
72
+ $axis: $axis
73
+ ) {
74
+ &:where(.mod-drawer) {
75
+ @include fromBottom;
76
+ }
77
+ }
78
+ }
79
+ }
80
+
81
+ $defaultResponsive: true !default;
82
+
83
+ @if $defaultResponsive {
84
+ @include responsive;
85
+ }
File without changes
@@ -1,4 +1,5 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
+ @forward 'responsive';
4
5
  @forward 'component';
File without changes
@@ -1,5 +1,4 @@
1
1
  @use '@lucca-front/scss/src/components/title/exports' as title;
2
- @use '@lucca-front/scss/src/commons/utils/media';
3
2
  @use '@lucca-front/scss/src/commons/utils/namespace';
4
3
 
5
4
  @mixin component($atRoot: namespace.$defaultAtRoot) {
@@ -45,7 +44,6 @@
45
44
  .emptyState-content-heading {
46
45
  @include title.component;
47
46
  @include title.h3;
48
-
49
47
  margin-bottom: 0;
50
48
  }
51
49
 
@@ -1,4 +1,5 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
+ @forward 'responsive';
4
5
  @forward 'component';
@@ -1,4 +1,6 @@
1
1
  @use 'exports' as *;
2
+ @use '@lucca-front/scss/src/commons/utils/media';
3
+ @use '@lucca-front/scss/src/commons/utils/container';
2
4
 
3
5
  .emptyState {
4
6
  @include vars;
@@ -12,3 +14,63 @@
12
14
  @include center;
13
15
  }
14
16
  }
17
+
18
+ @mixin responsive(
19
+ $breakpoint: 'XXS',
20
+ $breakpoint2: null,
21
+ $inverted: true,
22
+ $at: 'media',
23
+ $containerName: 'emptyState',
24
+ $responsiveSelector: null,
25
+ $axis: 'width',
26
+ $selector: '.emptyState'
27
+ ) {
28
+ @if ($at == 'container') {
29
+ @include container.auto($containerName);
30
+ }
31
+
32
+ #{if($responsiveSelector, $selector + '.rwd-' + $responsiveSelector, $selector)} {
33
+ @include media.query(
34
+ $breakpoint: $breakpoint,
35
+ $breakpoint2: $breakpoint2,
36
+ $inverted: $inverted,
37
+ $at: $at,
38
+ $containerName: $containerName,
39
+ $axis: $axis
40
+ ) {
41
+ @include pageActionsNarrow;
42
+ @include pageHeadingNarrow;
43
+ }
44
+ }
45
+ }
46
+
47
+ @mixin responsiveBackground(
48
+ $breakpoint: 'S',
49
+ $breakpoint2: null,
50
+ $inverted: true,
51
+ $at: 'media',
52
+ $containerName: 'emptyState',
53
+ $responsiveSelector: null,
54
+ $axis: 'width',
55
+ $selector: '.emptyState'
56
+ ) {
57
+ #{if($responsiveSelector, $selector + '.rwd-' + $responsiveSelector, $selector)} {
58
+ @include media.query(
59
+ $breakpoint: $breakpoint,
60
+ $breakpoint2: $breakpoint2,
61
+ $inverted: $inverted,
62
+ $at: $at,
63
+ $containerName: $containerName,
64
+ $axis: $axis
65
+ ) {
66
+ @include pageNarrow;
67
+ }
68
+ }
69
+ }
70
+
71
+ $defaultResponsive: true !default;
72
+
73
+ @if $defaultResponsive {
74
+ @include responsive;
75
+ @include responsiveBackground;
76
+ }
@@ -1,5 +1,5 @@
1
- @use '@lucca-front/scss/src/commons/utils/media';
2
1
  @use '@lucca-front/scss/src/components/title/exports' as title;
2
+ @use '@lucca-front/scss/src/commons/utils/media';
3
3
 
4
4
  @mixin page {
5
5
  --components-emptyState-container-maxWidth: var(--commons-container-maxWidth);
@@ -13,38 +13,24 @@
13
13
  bottom left,
14
14
  top left var(--components-emptyState-illustration-top-right-offset-left),
15
15
  top left var(--components-emptyState-illustration-top-right-offset-left);
16
-
17
- @include media.max('S') {
18
- background-position:
19
- bottom left,
20
- bottom left,
21
- top left var(--components-emptyState-illustration-top-right-offset-left-S),
22
- top left var(--components-emptyState-illustration-top-right-offset-left-S);
23
- background-size: auto 10.875rem;
24
- }
16
+ background-size: var(--components-emptyState-illustration-backgroundSize);
25
17
 
26
18
  .emptyState-content {
27
19
  background-color: var(--components-emptyState-background-color);
28
20
  box-shadow: 0 0 8px 4px var(--components-emptyState-background-color);
29
21
  }
30
22
 
31
- .emptyState-content-text {
32
- padding: 0;
33
- }
34
-
35
23
  .emptyState-content-heading {
36
24
  @include title.h1;
25
+ }
37
26
 
38
- @include media.max('XXS') {
39
- @include title.h2;
40
- }
27
+ .emptyState-content-text {
28
+ padding: 0;
41
29
  }
42
30
 
43
31
  .emptyState-actions {
44
32
  .button {
45
- @include media.max('XXS') {
46
- flex-basis: 100%;
47
- }
33
+ flex-basis: var(--components-emptyState-actions-width);
48
34
  }
49
35
  }
50
36
  }
@@ -0,0 +1,27 @@
1
+ @use '@lucca-front/scss/src/components/title/exports' as title;
2
+
3
+ @mixin pageNarrow {
4
+ &.mod-page {
5
+ background-position:
6
+ bottom left,
7
+ bottom left,
8
+ top left var(--components-emptyState-illustration-top-right-offset-left-S),
9
+ top left var(--components-emptyState-illustration-top-right-offset-left-S);
10
+
11
+ --components-emptyState-illustration-size: auto 10.875rem;
12
+ }
13
+ }
14
+
15
+ @mixin pageHeadingNarrow {
16
+ &.mod-page {
17
+ .emptyState-content-heading {
18
+ @include title.h2;
19
+ }
20
+ }
21
+ }
22
+
23
+ @mixin pageActionsNarrow {
24
+ &.mod-page {
25
+ --components-emptyState-actions-width: 100%;
26
+ }
27
+ }
@@ -11,13 +11,10 @@
11
11
  calc(100% + 3.5rem),
12
12
  calc(var(--components-emptyState-container-maxWidth) - 8.5rem)
13
13
  );
14
- --background-left-01: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-bottom-left-01.svg');
15
- --foreground-left-01: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/core-hr-01.svg');
16
- --background-right-01: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-top-right-01.svg');
17
- --foreground-right-01: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/generic/coffee-01.svg');
18
-
19
- --components-emptyState-illustration-background-bottom-left: var(--background-left-01);
20
- --components-emptyState-illustration-foreground-bottom-left: var(--foreground-left-01);
21
- --components-emptyState-illustration-background-top-right: var(--background-right-01);
22
- --components-emptyState-illustration-foreground-top-right: var(--foreground-right-01);
14
+ --components-emptyState-illustration-background-bottom-left: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-bottom-left-01.svg');
15
+ --components-emptyState-illustration-foreground-bottom-left: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/core-hr-01.svg');
16
+ --components-emptyState-illustration-background-top-right: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-top-right-01.svg');
17
+ --components-emptyState-illustration-foreground-top-right: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/generic/coffee-01.svg');
18
+ --components-emptyState-illustration-size: auto;
19
+ --components-emptyState-actions-width: auto;
23
20
  }
@@ -1,4 +1,5 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
+ @forward 'responsive';
4
5
  @forward 'component';
@@ -1,64 +1,44 @@
1
1
  @use '@lucca-front/scss/src/components/title/exports' as title;
2
2
 
3
- @mixin component {
3
+ @mixin component($atRoot: 'without: rule') {
4
4
  background-color: var(--components-errorPage-background);
5
5
  height: 100vh;
6
- width: 100vw;
7
6
  line-height: 1.2;
8
7
  overflow: hidden;
9
8
 
10
- .errorPage-section {
11
- height: 100%;
12
- max-width: 1200px;
13
- padding: 0 var(--pr-t-spacings-400);
14
- width: 100vw;
15
- margin: 0 auto;
16
- display: flex;
17
- justify-content: space-between;
18
- align-items: center;
19
- }
20
-
21
- .errorPage-section-info {
22
- margin-top: 10vh;
23
- max-width: 90vw;
24
- width: 450px;
25
- padding-right: var(--pr-t-spacings-400);
26
- }
27
-
28
- .errorPage-section-info-title {
29
- @include title.component;
30
- @include title.XXXL;
31
- }
32
-
33
- .errorPage-section-info-text {
34
- font-size: var(--sizes-L-fontSize);
35
- line-height: var(--sizes-L-lineHeight);
36
- }
37
-
38
- .errorPage-section-image {
39
- margin-top: 10vh;
40
- width: 50%;
41
- max-width: 580px;
42
- min-width: 350px;
43
- }
44
- }
45
-
46
- @mixin compact {
47
- overflow-y: auto;
48
-
49
- .errorPage-section {
50
- flex-direction: column;
51
- justify-content: center;
52
- }
53
-
54
- .errorPage-section-info {
55
- margin-top: var(--pr-t-spacings-400);
56
- margin-bottom: var(--pr-t-spacings-400);
57
- order: 1;
58
- padding: 0;
59
- }
60
- .errorPage-section-image {
61
- margin-top: var(--pr-t-spacings-400);
62
- order: 0;
9
+ @at-root ($atRoot) {
10
+ .errorPage-section {
11
+ height: 100%;
12
+ max-width: 1200px;
13
+ padding: 0 var(--pr-t-spacings-400);
14
+ margin: 0 auto;
15
+ display: flex;
16
+ justify-content: space-between;
17
+ align-items: center;
18
+ }
19
+
20
+ .errorPage-section-info {
21
+ margin-top: 10vh;
22
+ max-width: 90vw;
23
+ width: 450px;
24
+ padding-right: var(--pr-t-spacings-400);
25
+ }
26
+
27
+ .errorPage-section-info-title {
28
+ @include title.component;
29
+ @include title.XXXL;
30
+ }
31
+
32
+ .errorPage-section-info-text {
33
+ font-size: var(--sizes-L-fontSize);
34
+ line-height: var(--sizes-L-lineHeight);
35
+ }
36
+
37
+ .errorPage-section-image {
38
+ margin-top: 10vh;
39
+ width: 50%;
40
+ max-width: 580px;
41
+ min-width: 350px;
42
+ }
63
43
  }
64
44
  }
@@ -1,4 +1,5 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
+ @forward 'responsive';
4
5
  @forward 'component';
@@ -1,11 +1,42 @@
1
1
  @use 'exports' as *;
2
2
  @use '@lucca-front/scss/src/commons/utils/media';
3
+ @use '@lucca-front/scss/src/commons/utils/container';
3
4
 
4
5
  .errorPage {
5
6
  @include vars;
6
7
  @include component;
8
+ }
9
+
10
+ @mixin responsive(
11
+ $breakpoint: 'S',
12
+ $breakpoint2: null,
13
+ $inverted: true,
14
+ $at: 'media',
15
+ $containerName: 'errorPage',
16
+ $responsiveSelector: null,
17
+ $axis: 'width',
18
+ $selector: '.errorPage'
19
+ ) {
20
+ @if ($at == 'container') {
21
+ @include container.auto($containerName);
22
+ }
7
23
 
8
- @include media.max('S') {
9
- @include compact;
24
+ #{if($responsiveSelector, $selector + '.rwd-' + $responsiveSelector, $selector)} {
25
+ @include media.query(
26
+ $breakpoint: $breakpoint,
27
+ $breakpoint2: $breakpoint2,
28
+ $inverted: $inverted,
29
+ $at: $at,
30
+ $containerName: $containerName,
31
+ $axis: $axis
32
+ ) {
33
+ @include compact;
34
+ }
10
35
  }
11
36
  }
37
+
38
+ $defaultResponsive: true !default;
39
+
40
+ @if $defaultResponsive {
41
+ @include responsive;
42
+ }
@@ -0,0 +1,20 @@
1
+ @mixin compact {
2
+ overflow-y: auto;
3
+
4
+ .errorPage-section {
5
+ flex-direction: column;
6
+ justify-content: center;
7
+ }
8
+
9
+ .errorPage-section-info {
10
+ margin-top: var(--pr-t-spacings-400);
11
+ margin-bottom: var(--pr-t-spacings-400);
12
+ order: 1;
13
+ padding: 0;
14
+ }
15
+
16
+ .errorPage-section-image {
17
+ margin-top: var(--pr-t-spacings-400);
18
+ order: 0;
19
+ }
20
+ }
@@ -1,4 +1,5 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
+ @forward 'responsive';
4
5
  @forward 'component';
File without changes
@@ -1,4 +1,5 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
+ @forward 'responsive';
4
5
  @forward 'component';
File without changes
@@ -1,4 +1,5 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
+ @forward 'responsive';
4
5
  @forward 'component';
File without changes
@@ -6,8 +6,6 @@
6
6
  background-color: var(--components-filterBar-backgroundColor);
7
7
  border-radius: var(--commons-borderRadius-L);
8
8
  border: var(--commons-divider-width) solid var(--commons-border-200);
9
- container-name: filterBar;
10
- container-type: inline-size;
11
9
  padding: var(--pr-t-spacings-200);
12
10
 
13
11
  &:has(.filterBar-footer-toggleButton[aria-expanded='false']) {
@@ -24,10 +22,10 @@
24
22
  .filterBar-footer {
25
23
  border-block-start: var(--commons-divider-width) solid var(--commons-border-200);
26
24
  display: flex;
27
- flex-direction: column;
25
+ flex-direction: var(--components-filterBar-footer-direction);
28
26
  flex-wrap: wrap;
29
27
  gap: var(--pr-t-spacings-100);
30
- justify-content: center;
28
+ justify-content: var(--components-filterBar-footer-justify);
31
29
  margin-block-start: var(--pr-t-spacings-200);
32
30
  padding-block-start: var(--pr-t-spacings-200);
33
31
 
@@ -38,11 +36,6 @@
38
36
  &:has(.filterBar-footer-actions:only-child:empty) {
39
37
  display: none;
40
38
  }
41
-
42
- @include container.min('S', $name: 'filterBar') {
43
- flex-direction: row;
44
- justify-content: space-between;
45
- }
46
39
  }
47
40
 
48
41
  .filterBar-footer-toggleButton {
@@ -66,20 +59,13 @@
66
59
 
67
60
  .filterBar-footer-actions {
68
61
  display: flex;
69
- flex-direction: column;
62
+ flex-direction: var(--components-filterBar-footer-actions-direction);
70
63
  flex-wrap: wrap;
71
64
  gap: var(--pr-t-spacings-200);
72
65
  justify-content: center;
73
66
  text-align: center;
74
-
75
- @include container.min('XS', $name: 'filterBar') {
76
- align-items: center;
77
- flex-direction: row;
78
- }
79
-
80
- @include container.min('S', $name: 'filterBar') {
81
- margin-inline-start: auto;
82
- }
67
+ align-items: var(--components-filterBar-footer-actions-align);
68
+ margin-inline-start: var(--components-filterBar-footer-actions-marginInlineStart);
83
69
  }
84
70
  }
85
71
  }
@@ -1,4 +1,5 @@
1
1
  @forward 'vars';
2
2
  @forward 'mods';
3
3
  @forward 'states';
4
+ @forward 'responsive';
4
5
  @forward 'component';