@lucca-front/scss 20.3.0-rc.5 → 20.3.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.
Files changed (153) hide show
  1. package/dist/lucca-front.min.css +1 -1
  2. package/package.json +2 -2
  3. package/src/commons/config.scss +5 -0
  4. package/src/commons/core.scss +3 -3
  5. package/src/commons/exports.scss +0 -1
  6. package/src/commons/index.scss +9 -2
  7. package/src/commons/utils/index.scss +480 -478
  8. package/src/commons/utils/reset.scss +1 -1
  9. package/src/components/_sample/index.scss +13 -7
  10. package/src/components/appLayout/component.scss +1 -0
  11. package/src/components/appLayout/index.scss +11 -7
  12. package/src/components/avatar/index.scss +43 -35
  13. package/src/components/box/index.scss +20 -14
  14. package/src/components/breadcrumbs/index.scss +16 -10
  15. package/src/components/button/index.scss +138 -134
  16. package/src/components/button/mods.scss +17 -0
  17. package/src/components/button/states.scss +3 -3
  18. package/src/components/buttonGroup/component.scss +0 -17
  19. package/src/components/buttonGroup/index.scss +20 -8
  20. package/src/components/calendar/index.scss +56 -44
  21. package/src/components/callout/index.scss +8 -4
  22. package/src/components/callout/mods.scss +1 -0
  23. package/src/components/calloutDisclosure/component.scss +2 -3
  24. package/src/components/calloutDisclosure/index.scss +14 -10
  25. package/src/components/calloutDisclosure/mods.scss +5 -0
  26. package/src/components/calloutDisclosure/vars.scss +3 -0
  27. package/src/components/calloutFeedbackList/index.scss +8 -4
  28. package/src/components/calloutPopover/index.scss +18 -12
  29. package/src/components/card/index.scss +28 -24
  30. package/src/components/checkbox/index.scss +35 -31
  31. package/src/components/checkboxField/index.scss +88 -82
  32. package/src/components/chip/index.scss +22 -18
  33. package/src/components/clear/index.scss +22 -18
  34. package/src/components/code/index.scss +8 -4
  35. package/src/components/collapse/index.scss +11 -7
  36. package/src/components/comment/index.scss +30 -20
  37. package/src/components/container/component.scss +1 -0
  38. package/src/components/container/index.scss +29 -25
  39. package/src/components/contentSection/index.scss +4 -2
  40. package/src/components/dataTable/component.scss +9 -0
  41. package/src/components/dataTable/index.scss +94 -69
  42. package/src/components/dataTable/mods.scss +28 -5
  43. package/src/components/dataTableSticked/index.scss +34 -26
  44. package/src/components/dataTableSticked/mods.scss +4 -2
  45. package/src/components/dataTableSticked/states.scss +5 -0
  46. package/src/components/dataTableSticked/vars.scss +1 -0
  47. package/src/components/dateField/index.scss +24 -20
  48. package/src/components/dateRangeField/index.scss +29 -25
  49. package/src/components/dialog/component.scss +5 -5
  50. package/src/components/dialog/index.scss +40 -36
  51. package/src/components/divider/index.scss +11 -7
  52. package/src/components/dropdown/index.scss +13 -9
  53. package/src/components/emptyState/index.scss +11 -7
  54. package/src/components/errorPage/index.scss +8 -4
  55. package/src/components/fancyBox/index.scss +8 -4
  56. package/src/components/field/index.scss +86 -88
  57. package/src/components/fieldset/index.scss +17 -13
  58. package/src/components/file/index.scss +34 -28
  59. package/src/components/fileEntry/index.scss +23 -19
  60. package/src/components/fileToolbar/index.scss +10 -6
  61. package/src/components/fileUpload/index.scss +36 -32
  62. package/src/components/filterBar/index.scss +17 -13
  63. package/src/components/filterBarDeprecated/index.scss +8 -4
  64. package/src/components/filterPill/index.scss +53 -49
  65. package/src/components/filters/index.scss +14 -8
  66. package/src/components/footer/index.scss +38 -34
  67. package/src/components/form/index.scss +121 -109
  68. package/src/components/form/mods.scss +7 -5
  69. package/src/components/formLabel/index.scss +18 -14
  70. package/src/components/gauge/component.scss +20 -16
  71. package/src/components/gauge/index.scss +25 -21
  72. package/src/components/grid/index.scss +25 -21
  73. package/src/components/header/index.scss +17 -13
  74. package/src/components/highlightData/index.scss +28 -24
  75. package/src/components/horizontalNavigation/index.scss +42 -36
  76. package/src/components/index.scss +57 -55
  77. package/src/components/indexTable/component.scss +10 -0
  78. package/src/components/indexTable/index.scss +53 -57
  79. package/src/components/inlineMessage/index.scss +17 -13
  80. package/src/components/inputFramed/index.scss +30 -24
  81. package/src/components/label/index.scss +13 -9
  82. package/src/components/layout/index.scss +51 -45
  83. package/src/components/link/index.scss +14 -10
  84. package/src/components/link/mods.scss +1 -1
  85. package/src/components/list/index.scss +15 -11
  86. package/src/components/listboxOption/index.scss +129 -117
  87. package/src/components/listing/index.scss +22 -18
  88. package/src/components/loading/index.scss +27 -23
  89. package/src/components/main/index.scss +21 -15
  90. package/src/components/mainLayout/component.scss +27 -0
  91. package/src/components/mainLayout/index.scss +27 -21
  92. package/src/components/mainLayout/vars.scss +1 -0
  93. package/src/components/mobileHeader/index.scss +8 -4
  94. package/src/components/mobileNavigation/index.scss +4 -2
  95. package/src/components/mobilePush/index.scss +8 -4
  96. package/src/components/multiSelect/index.scss +57 -39
  97. package/src/components/multiSelect/mods.scss +0 -8
  98. package/src/components/multiSelect/states.scss +8 -0
  99. package/src/components/navside/index.scss +74 -64
  100. package/src/components/newBadge/index.scss +8 -4
  101. package/src/components/notchBox/index.scss +17 -13
  102. package/src/components/notchBox/mods.scss +137 -125
  103. package/src/components/numericBadge/index.scss +21 -17
  104. package/src/components/pageHeader/index.scss +26 -22
  105. package/src/components/pagination/index.scss +12 -6
  106. package/src/components/plgPush/index.scss +4 -2
  107. package/src/components/popover/index.scss +4 -2
  108. package/src/components/progress/index.scss +14 -10
  109. package/src/components/radio/index.scss +18 -12
  110. package/src/components/radioButtons/index.scss +16 -10
  111. package/src/components/radioField/index.scss +46 -40
  112. package/src/components/readMore/index.scss +20 -16
  113. package/src/components/richText/component.scss +1 -0
  114. package/src/components/richText/index.scss +19 -15
  115. package/src/components/scrollBox/index.scss +14 -10
  116. package/src/components/section/index.scss +16 -12
  117. package/src/components/segmentedControl/index.scss +31 -25
  118. package/src/components/simpleSelect/index.scss +39 -35
  119. package/src/components/skeleton/index.scss +42 -38
  120. package/src/components/skipLinks/index.scss +4 -2
  121. package/src/components/sortableList/index.scss +12 -6
  122. package/src/components/statusBadge/component.scss +9 -2
  123. package/src/components/statusBadge/index.scss +12 -4
  124. package/src/components/statusBadge/states.scss +5 -0
  125. package/src/components/switch/index.scss +35 -29
  126. package/src/components/switchField/index.scss +22 -16
  127. package/src/components/table/index.scss +85 -79
  128. package/src/components/tableFixed/index.scss +13 -11
  129. package/src/components/tableFixedDeprecated/index.scss +14 -10
  130. package/src/components/tableOfContent/index.scss +28 -24
  131. package/src/components/tableSortable/index.scss +29 -17
  132. package/src/components/tableSortable/mods.scss +7 -2
  133. package/src/components/tableSticked/index.scss +28 -24
  134. package/src/components/tableSticked/mods.scss +6 -6
  135. package/src/components/tableStickedDeprecated/index.scss +46 -40
  136. package/src/components/tag/component.scss +1 -1
  137. package/src/components/tag/index.scss +28 -24
  138. package/src/components/tag/mods.scss +1 -0
  139. package/src/components/tag/vars.scss +1 -0
  140. package/src/components/textField/index.scss +28 -24
  141. package/src/components/textField/mods.scss +1 -1
  142. package/src/components/textFlow/index.scss +4 -2
  143. package/src/components/textfields/index.scss +265 -261
  144. package/src/components/timeline/index.scss +72 -66
  145. package/src/components/timepicker/index.scss +20 -16
  146. package/src/components/title/index.scss +43 -30
  147. package/src/components/title/mods.scss +1 -1
  148. package/src/components/titleSection/index.scss +31 -23
  149. package/src/components/toast/index.scss +8 -4
  150. package/src/components/tooltip/index.scss +25 -21
  151. package/src/components/userPopover/index.scss +4 -2
  152. package/src/components/userTile/index.scss +26 -22
  153. package/src/components/verticalNavigation/index.scss +26 -20
@@ -1,33 +1,37 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .gauge {
4
- @include vars;
5
- @include component;
6
-
7
- &.mod-thin {
8
- @include thin;
4
+ @layer components {
5
+ @include vars;
6
+ @include component;
9
7
  }
10
8
 
11
- &:has(.gauge-circleBackground) {
12
- @include circular;
13
- }
9
+ @layer mods {
10
+ &.mod-thin {
11
+ @include thin;
12
+ }
14
13
 
15
- // .mod-vertical is deprecated
16
- &.mod-vertical {
17
- @include vertical;
14
+ &:has(.gauge-circleBackground) {
15
+ @include circular;
16
+ }
18
17
 
19
- &.mod-thin {
20
- @include verticalThin;
18
+ // .mod-vertical is deprecated
19
+ &.mod-vertical {
20
+ @include vertical;
21
+
22
+ &.mod-thin {
23
+ @include verticalThin;
24
+ }
21
25
  }
22
- }
23
26
 
24
- &.is-zero,
25
- &:not([style]),
26
- &[style*='--components-gauge-value: 0%'] {
27
- @include zero;
28
- }
27
+ &.is-zero,
28
+ &:not([style]),
29
+ &[style*='--components-gauge-value: 0%'] {
30
+ @include zero;
31
+ }
29
32
 
30
- &.is-animated {
31
- @include animated;
33
+ &.is-animated {
34
+ @include animated;
35
+ }
32
36
  }
33
37
  }
@@ -4,36 +4,40 @@
4
4
  @use 'exports' as *;
5
5
 
6
6
  .grid {
7
- @include vars;
8
- @include component;
9
-
10
- &.mod-auto {
11
- @include auto;
7
+ @layer components {
8
+ @include vars;
9
+ @include component;
12
10
  }
13
11
 
14
- @each $breakpoint, $value in config.$breakpoints {
15
- &.mod-autoAtMediaMin#{$breakpoint} {
16
- @include autoAt;
12
+ @layer mods {
13
+ &.mod-auto {
14
+ @include auto;
15
+ }
16
+
17
+ @each $breakpoint, $value in config.$breakpoints {
18
+ &.mod-autoAtMediaMin#{$breakpoint} {
19
+ @include autoAt;
17
20
 
18
- @include media.min($breakpoint) {
19
- @include auto;
21
+ @include media.min($breakpoint) {
22
+ @include auto;
23
+ }
20
24
  }
21
- }
22
25
 
23
- &.mod-autoAtContainerMin#{$breakpoint} {
24
- @include autoAt;
26
+ &.mod-autoAtContainerMin#{$breakpoint} {
27
+ @include autoAt;
25
28
 
26
- @include container.min($breakpoint, $name: grid) {
27
- @include auto;
29
+ @include container.min($breakpoint, $name: grid) {
30
+ @include auto;
31
+ }
28
32
  }
29
33
  }
30
- }
31
34
 
32
- &.mod-form {
33
- @include form;
34
- }
35
+ &.mod-form {
36
+ @include form;
37
+ }
35
38
 
36
- &.mod-dense {
37
- @include dense;
39
+ &.mod-dense {
40
+ @include dense;
41
+ }
38
42
  }
39
43
  }
@@ -1,23 +1,27 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .header {
4
- @include vars;
5
- @include component;
4
+ @layer components {
5
+ @include vars;
6
+ @include component;
7
+ }
6
8
 
7
- &.mod-sticky {
8
- @include sticky;
9
+ @layer mods {
10
+ &.mod-sticky {
11
+ @include sticky;
9
12
 
10
- .navSide ~ .main-content &,
11
- .mod-withMenu .main-content & {
12
- @include left;
13
+ .navSide ~ .main-content &,
14
+ .mod-withMenu .main-content & {
15
+ @include left;
16
+ }
13
17
  }
14
- }
15
18
 
16
- &.mod-nav {
17
- @include nav;
18
- }
19
+ &.mod-nav {
20
+ @include nav;
21
+ }
19
22
 
20
- &:is(.is-loading, .loading) {
21
- @include loading;
23
+ &:is(.is-loading, .loading) {
24
+ @include loading;
25
+ }
22
26
  }
23
27
  }
@@ -1,38 +1,42 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .highlightData {
4
- @include vars;
5
- @include component;
6
-
7
- &.mod-light {
8
- @include light;
4
+ @layer components {
5
+ @include vars;
6
+ @include component;
9
7
  }
10
8
 
11
- &.mod-dark {
12
- @include dark;
13
- }
9
+ @layer mods {
10
+ &.mod-light {
11
+ @include light;
12
+ }
14
13
 
15
- &.mod-valueFirst {
16
- @include valueFirst;
17
- }
14
+ &.mod-dark {
15
+ @include dark;
16
+ }
18
17
 
19
- &.mod-S {
20
- @include S;
21
- }
18
+ &.mod-valueFirst {
19
+ @include valueFirst;
20
+ }
22
21
 
23
- &.mod-XS {
24
- @include XS;
25
- }
22
+ &.mod-S {
23
+ @include S;
24
+ }
26
25
 
27
- &.mod-nested {
28
- @include nested;
29
- }
26
+ &.mod-XS {
27
+ @include XS;
28
+ }
30
29
 
31
- &:has(.highlightData-illustrations) {
32
- @include illustrations;
30
+ &.mod-nested {
31
+ @include nested;
32
+ }
33
33
 
34
- &.mod-valueFirst {
35
- @include valueFirstIllustrations;
34
+ &:has(.highlightData-illustrations) {
35
+ @include illustrations;
36
+
37
+ &.mod-valueFirst {
38
+ @include valueFirstIllustrations;
39
+ }
36
40
  }
37
41
  }
38
42
  }
@@ -3,35 +3,39 @@
3
3
  // .menu is deprecated
4
4
  .horizontalNavigation,
5
5
  .menu {
6
- @include vars;
7
- @include component;
8
-
9
- &.mod-header {
10
- @include header;
6
+ @layer components {
7
+ @include vars;
8
+ @include component;
11
9
  }
12
10
 
13
- &.mod-S {
14
- @include S;
15
- }
11
+ @layer mods {
12
+ &.mod-header {
13
+ @include header;
14
+ }
16
15
 
17
- &.mod-noBorder {
18
- @include noBorder;
19
- }
16
+ &.mod-S {
17
+ @include S;
18
+ }
19
+
20
+ &.mod-noBorder {
21
+ @include noBorder;
22
+ }
20
23
 
21
- &.mod-vertical {
22
- @include vertical;
24
+ &.mod-vertical {
25
+ @include vertical;
23
26
 
24
- // .menu-list-item-action is deprecated
25
- .horizontalNavigation-list-item-action,
26
- .menu-list-item-action {
27
- &[aria-current='page'],
28
- &.is-active {
29
- @include activeVertical;
27
+ // .menu-list-item-action is deprecated
28
+ .horizontalNavigation-list-item-action,
29
+ .menu-list-item-action {
30
+ &[aria-current='page'],
31
+ &.is-active {
32
+ @include activeVertical;
33
+ }
30
34
  }
31
- }
32
35
 
33
- &.mod-S {
34
- @include verticalS;
36
+ &.mod-S {
37
+ @include verticalS;
38
+ }
35
39
  }
36
40
  }
37
41
  }
@@ -39,20 +43,22 @@
39
43
  // .menu-link is deprecated
40
44
  // .menu-list-item-action is deprecated
41
45
  .horizontalNavigation-list-item-action,
42
- .menu-list-item-action,
43
- .menu-link {
44
- // .active is deprecated
45
- &[aria-current='page'],
46
- &.is-active,
47
- &.active {
48
- @include active;
49
- }
46
+ .menu-link,
47
+ .menu-list-item-action {
48
+ @layer mods {
49
+ // .active is deprecated
50
+ &[aria-current='page'],
51
+ &.is-active,
52
+ &.active {
53
+ @include active;
54
+ }
50
55
 
51
- // .disabled is deprecated
52
- // [disabled] is deprecated
53
- &.is-disabled,
54
- &.disabled,
55
- &[disabled] {
56
- @include disabled;
56
+ // .disabled is deprecated
57
+ // [disabled] is deprecated
58
+ &.is-disabled,
59
+ &.disabled,
60
+ &[disabled] {
61
+ @include disabled;
62
+ }
57
63
  }
58
64
  }
@@ -1,61 +1,62 @@
1
- @forward 'field'; //
2
- @forward 'box'; // 1 Ko
3
- @forward 'tag'; // 1 Ko
4
- @forward 'main'; // 1 Ko
5
- @forward 'code'; // 1 Ko
6
- @forward 'link'; // 1 Ko
7
- @forward 'chip'; // 1 Ko
8
- @forward 'title'; // 1 Ko
9
- @forward 'label'; // 1 Ko
10
- @forward 'filterBarDeprecated'; // 1 Ko
11
- @forward 'filters'; // 1 Ko
12
- @forward 'divider'; // 1 Ko
13
- @forward 'section'; // 1 Ko
14
- @forward 'collapse'; // 1 Ko
15
- @forward 'container'; // 1 Ko
16
- @forward 'errorPage'; // 1 Ko
17
- @forward 'pageHeader'; // 1 Ko
18
- @forward 'pagination'; // 1 Ko
19
- @forward 'titleSection'; // 1 Ko
20
- @forward 'contentSection'; // 1 Ko
21
- @forward 'tableOfContent'; // 1 Ko
22
- @forward 'list'; // 2 Ko
23
- @forward 'card'; // 2 Ko
24
- @forward 'gauge'; // 2 Ko
25
- @forward 'callout'; // 2 Ko
26
- @forward 'loading'; // 2 Ko
27
- @forward 'progress'; // 2 Ko
28
- @forward 'breadcrumbs'; // 2 Ko
29
- @forward 'buttonGroup'; // 2 Ko
30
- @forward 'header'; // 3 Ko
31
- @forward 'horizontalNavigation'; // 4 Ko
32
- @forward 'radio'; // 4 Ko
33
- @forward 'radioField'; // new component for radio
34
- @forward 'switch'; // 4 Ko
35
- @forward 'switchField'; // new component for switch
36
- @forward 'file'; // 5 Ko
37
- @forward 'layout'; // 5 Ko
38
- @forward 'radioButtons'; // 5 Ko
39
- @forward 'table'; // 7 Ko
40
- @forward 'checkbox'; // 7 Ko
41
- @forward 'checkboxField'; // new component for checkbox
42
- @forward 'timeline'; // 10 Ko
43
- @forward 'button'; // 12 Ko
44
- @forward 'textfields'; // 13 Ko
1
+ @forward 'field';
2
+
3
+ @forward 'box';
4
+ @forward 'tag';
5
+ @forward 'main';
6
+ @forward 'code';
7
+ @forward 'link';
8
+ @forward 'chip';
9
+ @forward 'title';
10
+ @forward 'label';
11
+ @forward 'filters';
12
+ @forward 'divider';
13
+ @forward 'section';
14
+ @forward 'collapse';
15
+ @forward 'container';
16
+ @forward 'errorPage';
17
+ @forward 'pageHeader';
18
+ @forward 'pagination';
19
+ @forward 'titleSection';
20
+ @forward 'contentSection';
21
+ @forward 'tableOfContent';
22
+ @forward 'list';
23
+ @forward 'card';
24
+ @forward 'gauge';
25
+ @forward 'callout';
26
+ @forward 'loading';
27
+ @forward 'progress';
28
+ @forward 'breadcrumbs';
29
+ @forward 'buttonGroup';
30
+ @forward 'header';
31
+ @forward 'horizontalNavigation';
32
+
33
+ @forward 'textfields';
34
+ @forward 'checkbox';
35
+ @forward 'switch';
36
+ @forward 'radio';
37
+
45
38
  @forward 'textField'; // new component for checkbox
46
- @forward 'navside'; // 15 Ko
47
- @forward 'form'; // 25 Ko
48
- @forward 'tableFixed'; // 33 Ko
39
+ @forward 'checkboxField'; // new component for checkbox
40
+ @forward 'switchField'; // new component for switch
41
+ @forward 'radioField'; // new component for radio
42
+
43
+ @forward 'file';
44
+ @forward 'layout';
45
+ @forward 'radioButtons';
46
+ @forward 'table';
47
+ @forward 'timeline';
48
+ @forward 'button';
49
+ @forward 'navside';
50
+ @forward 'form';
51
+ @forward 'tableFixed';
49
52
  @forward 'segmentedControl';
50
53
  @forward 'calendar';
51
54
  @forward 'skipLinks';
52
55
  @forward 'fancyBox';
53
56
  @forward 'inputFramed';
54
-
55
- // caution: the two components cannot be loaded at the same time
56
57
  @forward 'grid';
57
- @forward 'tableSticked'; // 8 Ko
58
- @forward 'timepicker'; //
58
+ @forward 'tableSticked';
59
+ @forward 'timepicker';
59
60
  @forward 'notchBox';
60
61
  @forward 'statusBadge';
61
62
  @forward 'mobileHeader';
@@ -84,7 +85,7 @@
84
85
  @forward 'userPopover';
85
86
  @forward 'scrollBox';
86
87
  @forward 'comment';
87
- @forward 'toast'; // 5 Ko
88
+ @forward 'toast';
88
89
  @forward 'popover';
89
90
  @forward 'userTile';
90
91
  @forward 'mobilePush';
@@ -109,6 +110,7 @@
109
110
  @forward 'listboxOption';
110
111
  @forward 'suggestion';
111
112
 
112
- // Deprecated CSS components
113
- // @forward 'tableFixedDeprecated'; // 33 Ko
114
- // @forward 'tableStickedDeprecated'; // 67 Ko
113
+ @forward 'filterBarDeprecated';
114
+ @forward 'tableFixedDeprecated';
115
+ @forward 'tableStickedDeprecated';
116
+
@@ -268,6 +268,11 @@
268
268
  padding-inline: 0;
269
269
  margin-inline-end: var(--pr-t-spacings-100);
270
270
  }
271
+
272
+ .pagination-scrolling .button:hover {
273
+ --components-button-backgroundColor: var(--palettes-neutral-100);
274
+ --components-button-color: var(--palettes-neutral-700);
275
+ }
271
276
  }
272
277
  }
273
278
 
@@ -285,4 +290,9 @@
285
290
  .avatarWrapper {
286
291
  display: inline-flex;
287
292
  }
293
+
294
+ .tableSortable.button:hover {
295
+ --components-button-backgroundColor: var(--palettes-neutral-100);
296
+ color: var(--palettes-neutral-700);
297
+ }
288
298
  }
@@ -2,79 +2,75 @@
2
2
  @use '@lucca-front/scss/src/commons/utils/media';
3
3
 
4
4
  .indexTable {
5
- @include vars;
6
- @include component;
7
-
8
- &.mod-selectable {
9
- @include selectable;
10
-
11
- // Selectable states
12
- @include selectableSelectedRow;
13
- @include selectableHoveredRow;
14
- }
15
-
16
- &.mod-stackable {
17
- @include stackable;
18
- }
19
-
20
- &.mod-stickyHeader {
21
- @include stickyHeader;
22
- }
23
-
24
- // Allow selection of mod-layoutFixed with or without breakpoints like mod-layoutFixedAtMediaMinXS or mod-layoutFixedAtMediaMaxL
25
- &[class*='mod-layoutFixed'] {
26
- @include layoutFixed;
5
+ @layer components {
6
+ @include vars;
7
+ @include component;
27
8
  }
28
9
 
29
- .indexTable-head-row.mod-massSelection {
30
- @include massSelection;
31
- }
10
+ @layer mods {
11
+ &.mod-selectable {
12
+ @include selectable;
13
+ @include selectableSelectedRow;
14
+ @include selectableHoveredRow;
15
+ }
32
16
 
33
- .indexTable-body-row-cell.mod-actions {
34
- @include actions;
35
- }
17
+ &.mod-stackable {
18
+ @include stackable;
19
+ }
36
20
 
37
- .indexTable-head-row-cell,
38
- .indexTable-body-row-cell,
39
- .indexTable-body-row-transparentCell,
40
- .indexTable-foot-row-cell {
41
- &.mod-alignRight {
42
- @include alignRight;
21
+ &.mod-stickyHeader {
22
+ @include stickyHeader;
43
23
  }
44
24
 
45
- &.mod-alignCenter {
46
- @include alignCenter;
25
+ // Allow selection of mod-layoutFixed with or without breakpoints like mod-layoutFixedAtMediaMinXS or mod-layoutFixedAtMediaMaxL
26
+ &[class*='mod-layoutFixed'] {
27
+ @include layoutFixed;
47
28
  }
48
- }
49
29
 
50
- // Responsive
51
- @include media.max('S') {
52
- &.mod-responsiveCardList {
53
- @include responsiveCardList;
30
+ .indexTable-head-row.mod-massSelection {
31
+ @include massSelection;
54
32
  }
55
33
 
56
- &.mod-selectable.mod-responsiveCardList {
57
- @include selectableResponsiveCardList;
34
+ .indexTable-body-row-cell.mod-actions {
35
+ @include actions;
58
36
  }
59
37
 
60
- &.mod-stackable.mod-responsiveCardList {
61
- @include stackableResponsiveCardList;
38
+ .indexTable-head-row-cell,
39
+ .indexTable-body-row-cell,
40
+ .indexTable-body-row-transparentCell,
41
+ .indexTable-foot-row-cell {
42
+ &.mod-alignRight {
43
+ @include alignRight;
44
+ }
45
+
46
+ &.mod-alignCenter {
47
+ @include alignCenter;
48
+ }
62
49
  }
63
50
 
64
- &.mod-selectable.mod-stackable.mod-responsiveCardList {
65
- @include selectableStackableResponsiveCardList;
51
+ @include media.max('S') {
52
+ &.mod-responsiveCardList {
53
+ @include responsiveCardList;
54
+ }
55
+
56
+ &.mod-selectable.mod-responsiveCardList {
57
+ @include selectableResponsiveCardList;
58
+ }
59
+
60
+ &.mod-stackable.mod-responsiveCardList {
61
+ @include stackableResponsiveCardList;
62
+ }
63
+
64
+ &.mod-selectable.mod-stackable.mod-responsiveCardList {
65
+ @include selectableStackableResponsiveCardList;
66
+ }
66
67
  }
67
- }
68
68
 
69
- // generic states, non tied to a mod
70
- &:not(:has(.indexTable-head[inert='inert'])) {
71
- // focus-within
72
- @include focusedRow;
69
+ &:not(:has(.indexTable-head[inert='inert'])) {
70
+ @include focusedRow;
71
+ @include hoveredRow;
72
+ }
73
73
 
74
- // hover
75
- @include hoveredRow;
74
+ @include openClosedRow;
76
75
  }
77
-
78
- // nested open / closed row
79
- @include openClosedRow;
80
76
  }
@@ -1,22 +1,26 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .inlineMessage {
4
- @include vars;
5
- @include component;
6
-
7
- &.mod-S {
8
- @include S;
4
+ @layer components {
5
+ @include vars;
6
+ @include component;
9
7
  }
10
8
 
11
- &.is-success {
12
- @include success;
13
- }
9
+ @layer mods {
10
+ &.mod-S {
11
+ @include S;
12
+ }
14
13
 
15
- &.is-warning {
16
- @include warning;
17
- }
14
+ &.is-success {
15
+ @include success;
16
+ }
17
+
18
+ &.is-warning {
19
+ @include warning;
20
+ }
18
21
 
19
- &.is-error {
20
- @include error;
22
+ &.is-error {
23
+ @include error;
24
+ }
21
25
  }
22
26
  }