@lucca-front/scss 20.3.0-rc.2 → 20.3.0-rc.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.
Files changed (133) hide show
  1. package/dist/lucca-front.min.css +1 -1
  2. package/package.json +2 -2
  3. package/src/commons/config.scss +0 -5
  4. package/src/commons/core.scss +3 -3
  5. package/src/commons/exports.scss +1 -0
  6. package/src/commons/index.scss +2 -9
  7. package/src/commons/utils/index.scss +478 -480
  8. package/src/commons/utils/reset.scss +1 -1
  9. package/src/components/_sample/index.scss +6 -14
  10. package/src/components/appLayout/index.scss +7 -11
  11. package/src/components/avatar/index.scss +35 -43
  12. package/src/components/box/index.scss +14 -20
  13. package/src/components/breadcrumbs/index.scss +10 -16
  14. package/src/components/button/index.scss +134 -140
  15. package/src/components/button/mods.scss +0 -17
  16. package/src/components/buttonGroup/index.scss +8 -20
  17. package/src/components/calendar/index.scss +44 -56
  18. package/src/components/callout/index.scss +4 -8
  19. package/src/components/calloutDisclosure/index.scss +9 -15
  20. package/src/components/calloutFeedbackList/index.scss +4 -8
  21. package/src/components/calloutPopover/index.scss +12 -18
  22. package/src/components/card/component.scss +1 -0
  23. package/src/components/card/index.scss +23 -25
  24. package/src/components/card/mods.scss +31 -0
  25. package/src/components/checkbox/index.scss +30 -36
  26. package/src/components/checkboxField/index.scss +80 -90
  27. package/src/components/chip/index.scss +17 -23
  28. package/src/components/clear/index.scss +17 -23
  29. package/src/components/code/index.scss +4 -8
  30. package/src/components/collapse/index.scss +7 -11
  31. package/src/components/comment/index.scss +20 -30
  32. package/src/components/container/index.scss +25 -29
  33. package/src/components/contentSection/index.scss +2 -4
  34. package/src/components/dataTable/index.scss +52 -68
  35. package/src/components/dataTableSticked/index.scss +24 -32
  36. package/src/components/dateField/index.scss +20 -24
  37. package/src/components/dateRangeField/index.scss +25 -29
  38. package/src/components/dialog/index.scss +36 -40
  39. package/src/components/divider/index.scss +7 -11
  40. package/src/components/dropdown/component.scss +43 -17
  41. package/src/components/dropdown/index.scss +9 -12
  42. package/src/components/dropdown/mods.scss +4 -4
  43. package/src/components/dropdown/states.scss +4 -3
  44. package/src/components/dropdown/vars.scss +8 -6
  45. package/src/components/emptyState/index.scss +7 -11
  46. package/src/components/errorPage/index.scss +4 -8
  47. package/src/components/fancyBox/index.scss +4 -8
  48. package/src/components/field/index.scss +76 -96
  49. package/src/components/fieldset/index.scss +12 -18
  50. package/src/components/file/index.scss +30 -38
  51. package/src/components/fileEntry/index.scss +18 -24
  52. package/src/components/fileToolbar/index.scss +6 -10
  53. package/src/components/fileUpload/index.scss +31 -37
  54. package/src/components/filterBar/index.scss +13 -17
  55. package/src/components/filterBarDeprecated/index.scss +4 -8
  56. package/src/components/filterPill/index.scss +48 -56
  57. package/src/components/filters/index.scss +8 -14
  58. package/src/components/footer/index.scss +34 -38
  59. package/src/components/form/index.scss +84 -114
  60. package/src/components/form/mods.scss +5 -7
  61. package/src/components/formLabel/index.scss +13 -19
  62. package/src/components/gauge/index.scss +20 -26
  63. package/src/components/grid/index.scss +21 -25
  64. package/src/components/header/index.scss +12 -18
  65. package/src/components/highlightData/index.scss +24 -28
  66. package/src/components/horizontalNavigation/index.scss +36 -42
  67. package/src/components/index.scss +55 -57
  68. package/src/components/indexTable/index.scss +56 -54
  69. package/src/components/inlineMessage/index.scss +12 -18
  70. package/src/components/inputFramed/index.scss +24 -30
  71. package/src/components/label/index.scss +9 -13
  72. package/src/components/layout/index.scss +45 -51
  73. package/src/components/link/index.scss +8 -14
  74. package/src/components/link/mods.scss +1 -1
  75. package/src/components/list/index.scss +11 -15
  76. package/src/components/listboxOption/index.scss +115 -131
  77. package/src/components/listing/index.scss +18 -22
  78. package/src/components/loading/index.scss +23 -27
  79. package/src/components/main/index.scss +15 -21
  80. package/src/components/mainLayout/index.scss +20 -26
  81. package/src/components/mobileHeader/index.scss +4 -8
  82. package/src/components/mobileNavigation/index.scss +2 -4
  83. package/src/components/mobilePush/index.scss +4 -8
  84. package/src/components/multiSelect/index.scss +36 -46
  85. package/src/components/navside/index.scss +56 -78
  86. package/src/components/newBadge/index.scss +4 -8
  87. package/src/components/notchBox/index.scss +13 -17
  88. package/src/components/notchBox/mods.scss +125 -137
  89. package/src/components/numericBadge/index.scss +16 -22
  90. package/src/components/pageHeader/index.scss +22 -26
  91. package/src/components/pagination/index.scss +6 -12
  92. package/src/components/plgPush/index.scss +2 -4
  93. package/src/components/popover/component.scss +0 -17
  94. package/src/components/popover/index.scss +2 -4
  95. package/src/components/progress/index.scss +9 -15
  96. package/src/components/radio/index.scss +12 -18
  97. package/src/components/radioButtons/index.scss +9 -15
  98. package/src/components/radioField/index.scss +40 -46
  99. package/src/components/readMore/index.scss +15 -21
  100. package/src/components/richText/index.scss +14 -20
  101. package/src/components/scrollBox/index.scss +10 -14
  102. package/src/components/section/index.scss +12 -16
  103. package/src/components/segmentedControl/index.scss +15 -25
  104. package/src/components/simpleSelect/index.scss +33 -41
  105. package/src/components/skeleton/index.scss +37 -43
  106. package/src/components/skipLinks/index.scss +2 -4
  107. package/src/components/sortableList/index.scss +6 -12
  108. package/src/components/statusBadge/index.scss +4 -8
  109. package/src/components/switch/index.scss +29 -35
  110. package/src/components/switchField/index.scss +16 -22
  111. package/src/components/table/index.scss +64 -78
  112. package/src/components/tableFixed/index.scss +11 -13
  113. package/src/components/tableFixedDeprecated/index.scss +10 -14
  114. package/src/components/tableOfContent/index.scss +24 -28
  115. package/src/components/tableSortable/index.scss +16 -22
  116. package/src/components/tableSticked/index.scss +24 -28
  117. package/src/components/tableSticked/mods.scss +6 -6
  118. package/src/components/tableStickedDeprecated/index.scss +40 -46
  119. package/src/components/tag/index.scss +23 -29
  120. package/src/components/textField/index.scss +22 -30
  121. package/src/components/textField/mods.scss +1 -1
  122. package/src/components/textFlow/index.scss +2 -4
  123. package/src/components/textfields/index.scss +258 -279
  124. package/src/components/timeline/index.scss +66 -72
  125. package/src/components/timepicker/index.scss +15 -21
  126. package/src/components/title/index.scss +30 -43
  127. package/src/components/title/mods.scss +1 -1
  128. package/src/components/titleSection/index.scss +23 -31
  129. package/src/components/toast/index.scss +4 -8
  130. package/src/components/tooltip/index.scss +21 -25
  131. package/src/components/userPopover/index.scss +2 -4
  132. package/src/components/userTile/index.scss +22 -26
  133. package/src/components/verticalNavigation/index.scss +16 -26
@@ -6,108 +6,94 @@
6
6
  @use 'exports' as *;
7
7
 
8
8
  .form {
9
- @layer components {
10
- @include component;
11
- }
9
+ @include component;
12
10
 
13
- @layer mods {
14
- &.mod-maxWidth {
15
- @include maxWidth;
16
- }
11
+ &.mod-maxWidth {
12
+ @include maxWidth;
17
13
  }
18
14
  }
19
15
 
20
16
  .form-fieldset {
21
- @layer mods {
22
- &.mod-inline {
23
- @include inline;
24
- }
17
+ &.mod-inline {
18
+ @include inline;
19
+ }
25
20
 
26
- &.mod-S {
27
- @include S;
28
- }
21
+ &.mod-S {
22
+ @include S;
23
+ }
29
24
 
30
- &:has(~ .box) {
31
- .form-field {
32
- &.mod-withArrow {
33
- @include withArrow;
25
+ &:has(~ .box) {
26
+ .form-field {
27
+ &.mod-withArrow {
28
+ @include withArrow;
34
29
 
35
- &.mod-S {
36
- @include withArrowS;
37
- }
30
+ &.mod-S {
31
+ @include withArrowS;
38
32
  }
39
33
  }
40
34
  }
41
35
  }
42
36
 
43
- @layer states {
44
- &:has(.radioField-input[aria-invalid='true']),
45
- &:has(.checkboxField-input[aria-invalid='true']) {
46
- @include legendInvalid;
47
- }
37
+ &:has(.radioField-input[aria-invalid='true']),
38
+ &:has(.checkboxField-input[aria-invalid='true']) {
39
+ @include legendInvalid;
48
40
  }
49
41
  }
50
42
 
51
43
  .form-field {
52
- @layer mods {
53
- &.mod-S {
54
- @include S;
55
- }
44
+ &.mod-S {
45
+ @include S;
46
+ }
56
47
 
57
- &.mod-XS {
58
- @include XS;
59
- }
48
+ &.mod-XS {
49
+ @include XS;
50
+ }
60
51
 
61
- @each $value in config.$fieldsWidth {
62
- &.mod-width#{$value} {
63
- @include width($value);
64
- }
52
+ @each $value in config.$fieldsWidth {
53
+ &.mod-width#{$value} {
54
+ @include width($value);
65
55
  }
56
+ }
66
57
 
67
- &.mod-checkable,
68
- &:has(.radioField),
69
- &:has(.checkboxField),
70
- &:has(.switchField) {
71
- @include checkable;
72
- }
58
+ &.mod-checkable,
59
+ &:has(.radioField),
60
+ &:has(.checkboxField),
61
+ &:has(.switchField) {
62
+ @include checkable;
73
63
  }
74
64
 
75
- @layer states {
76
- &:not(lu-form-field) {
77
- &:has(
78
- .textField-input-value[aria-invalid='true'],
79
- .timePicker-fieldset-group-textfield-input[aria-invalid='true'],
80
- .simpleSelect-field-input[aria-invalid='true'],
81
- .multipleSelect-displayer-search[aria-invalid='true']
82
- ) {
83
- @include invalid;
84
- }
65
+ &:not(lu-form-field) {
66
+ &:has(
67
+ .textField-input-value[aria-invalid='true'],
68
+ .timePicker-fieldset-group-textfield-input[aria-invalid='true'],
69
+ .simpleSelect-field-input[aria-invalid='true'],
70
+ .multipleSelect-displayer-search[aria-invalid='true']
71
+ ) {
72
+ @include invalid;
85
73
  }
74
+ }
86
75
 
87
- &:has(.radioField-input:disabled),
88
- &:has(.checkboxField-input:disabled),
89
- &:has(.switchField-input:disabled) {
90
- .formLabel {
91
- @include formLabel.disabled;
92
- }
76
+ &:has(.radioField-input:disabled),
77
+ &:has(.checkboxField-input:disabled),
78
+ &:has(.switchField-input:disabled) {
79
+ .formLabel {
80
+ @include formLabel.disabled;
81
+ }
93
82
 
94
- .inlineMessage {
95
- @include inlineMessage.disabled;
96
- }
83
+ .formLabel-tag {
84
+ @include tag.disabled;
85
+ }
97
86
 
98
- .formLabel-tag {
99
- @include tag.disabled;
100
- }
87
+ .inlineMessage {
88
+ @include inlineMessage.disabled;
101
89
  }
102
90
  }
103
91
 
104
- @layer mods {
105
- &.mod-withArrow {
106
- @include withArrow;
92
+ &.mod-withArrow {
93
+ @include withArrow;
107
94
 
108
- &.mod-S {
109
- @include withArrowS;
110
- }
95
+ &.mod-S {
96
+ @include withArrowS;
111
97
  }
112
98
  }
113
99
  }
@@ -116,33 +102,27 @@
116
102
 
117
103
  // stylelint-disable no-duplicate-selectors -- deprecated
118
104
  .form {
119
- @layer components {
120
- @include vars;
121
- }
105
+ @include vars;
122
106
  }
123
107
 
124
108
  .form-group {
125
- @layer components {
126
- @include vars;
127
- @include componentDeprecated;
128
- }
109
+ @include vars;
110
+ @include componentDeprecated;
129
111
  }
130
112
 
131
113
  .form-group-line-col {
132
- @layer mods {
133
- &[class*='mod-overlay'] {
134
- @include overlay;
135
- }
114
+ &[class*='mod-overlay'] {
115
+ @include overlay;
116
+ }
136
117
 
137
- &.mod-overlay-top {
138
- @include overlayTop;
139
- }
118
+ &.mod-overlay-top {
119
+ @include overlayTop;
120
+ }
140
121
 
141
- @each $breakpoint, $value in config.$breakpoints {
142
- @for $i from 1 through 12 {
143
- &.mod-#{$i}\@mediaMin#{$breakpoint} {
144
- @include breakpoint($breakpoint, $i);
145
- }
122
+ @each $breakpoint, $value in config.$breakpoints {
123
+ @for $i from 1 through 12 {
124
+ &.mod-#{$i}\@mediaMin#{$breakpoint} {
125
+ @include breakpoint($breakpoint, $i);
146
126
  }
147
127
  }
148
128
  }
@@ -152,37 +132,29 @@
152
132
  .radiosfield-label,
153
133
  .checkboxesfield-label,
154
134
  .textfield-label {
155
- @layer states {
156
- &:is(.is-required, .required) {
157
- @include required;
158
- }
135
+ &:is(.is-required, .required) {
136
+ @include required;
159
137
  }
160
138
  }
161
139
 
162
140
  .checkboxesfield.mod-framed,
163
141
  .radiosfield.mod-framed,
164
142
  .form.mod-framed .fieldsetWrapper {
165
- @layer mods {
166
- @include framed;
167
- }
143
+ @include framed;
168
144
  }
169
145
 
170
146
  .checkboxesfield.mod-framed,
171
147
  .radiosfield.mod-framed {
172
- @layer mods {
173
- margin-block-start: 0;
174
- padding-block: var(--components-field-framed-side-padding) var(--components-field-framed-bottom-padding);
175
- padding-inline: var(--components-field-framed-side-padding);
176
- }
148
+ margin-block-start: 0;
149
+ padding-block: var(--components-field-framed-side-padding) var(--components-field-framed-bottom-padding);
150
+ padding-inline: var(--components-field-framed-side-padding);
177
151
  }
178
152
 
179
153
  .form-group-label {
180
- @layer states {
181
- &.is-required {
182
- &:not(:empty) {
183
- &::after {
184
- @extend %isRequired;
185
- }
154
+ &.is-required {
155
+ &:not(:empty) {
156
+ &::after {
157
+ @extend %isRequired;
186
158
  }
187
159
  }
188
160
  }
@@ -191,12 +163,10 @@
191
163
  .radiosfield-label,
192
164
  .checkboxesfield-label,
193
165
  .textfield-label {
194
- @layer states {
195
- &.is-required {
196
- &:not(:empty) {
197
- &::after {
198
- @extend %isRequired;
199
- }
166
+ &.is-required {
167
+ &:not(:empty) {
168
+ &::after {
169
+ @extend %isRequired;
200
170
  }
201
171
  }
202
172
  }
@@ -281,7 +281,7 @@
281
281
 
282
282
  &::before,
283
283
  &::after {
284
- // stylelint-disable-next-line no-irregular-whitespace
284
+ /* stylelint-disable-next-line no-irregular-whitespace */
285
285
  content: ' ' / '';
286
286
  display: table;
287
287
  }
@@ -362,10 +362,8 @@
362
362
  }
363
363
 
364
364
  %isRequired {
365
- @layer states {
366
- color: var(--palettes-error-700);
367
- display: inline-block;
368
- margin-inline-start: 0.2em;
369
- content: '*' / '';
370
- }
365
+ color: var(--palettes-error-700);
366
+ display: inline-block;
367
+ margin-inline-start: 0.2em;
368
+ content: '*' / '';
371
369
  }
@@ -1,29 +1,23 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .formLabel {
4
- @layer components {
5
- @include vars;
6
- @include component;
7
- }
4
+ @include vars;
5
+ @include component;
8
6
 
9
- @layer mods {
10
- &.mod-S {
11
- @include S;
12
- }
7
+ &.mod-S {
8
+ @include S;
9
+ }
13
10
 
14
- &.mod-XS {
15
- @include XS;
16
- }
11
+ &.mod-XS {
12
+ @include XS;
13
+ }
17
14
 
18
- &.mod-counter {
19
- @include counter;
20
- }
15
+ &.mod-counter {
16
+ @include counter;
21
17
  }
22
18
 
23
- @layer states {
24
- &.is-error {
25
- // To replace by :has as soon as it is implemented in Firefox to cover usage as legend for checkboxes and radio states.
26
- @include error;
27
- }
19
+ &.is-error {
20
+ // To replace by :has as soon as it is implemented in Firefox to cover usage as legend for checkboxes and radio states.
21
+ @include error;
28
22
  }
29
23
  }
@@ -1,39 +1,33 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .gauge {
4
- @layer components {
5
- @include vars;
6
- @include component;
7
- }
4
+ @include vars;
5
+ @include component;
8
6
 
9
- @layer mods {
10
- &.mod-thin {
11
- @include thin;
12
- }
7
+ &.mod-thin {
8
+ @include thin;
9
+ }
13
10
 
14
- &:has(.gauge-circleBackground) {
15
- @include circular;
16
- }
11
+ &:has(.gauge-circleBackground) {
12
+ @include circular;
13
+ }
17
14
 
18
- // .mod-vertical is deprecated
19
- &.mod-vertical {
20
- @include vertical;
15
+ // .mod-vertical is deprecated
16
+ &.mod-vertical {
17
+ @include vertical;
21
18
 
22
- &.mod-thin {
23
- @include verticalThin;
24
- }
19
+ &.mod-thin {
20
+ @include verticalThin;
25
21
  }
26
22
  }
27
23
 
28
- @layer states {
29
- &.is-zero,
30
- &:not([style]),
31
- &[style*='--components-gauge-value: 0%'] {
32
- @include zero;
33
- }
24
+ &.is-zero,
25
+ &:not([style]),
26
+ &[style*='--components-gauge-value: 0%'] {
27
+ @include zero;
28
+ }
34
29
 
35
- &.is-animated {
36
- @include animated;
37
- }
30
+ &.is-animated {
31
+ @include animated;
38
32
  }
39
33
  }
@@ -4,40 +4,36 @@
4
4
  @use 'exports' as *;
5
5
 
6
6
  .grid {
7
- @layer components {
8
- @include vars;
9
- @include component;
10
- }
7
+ @include vars;
8
+ @include component;
11
9
 
12
- @layer mods {
13
- &.mod-auto {
14
- @include auto;
15
- }
10
+ &.mod-auto {
11
+ @include auto;
12
+ }
16
13
 
17
- @each $breakpoint, $value in config.$breakpoints {
18
- &.mod-autoAtMediaMin#{$breakpoint} {
19
- @include autoAt;
14
+ @each $breakpoint, $value in config.$breakpoints {
15
+ &.mod-autoAtMediaMin#{$breakpoint} {
16
+ @include autoAt;
20
17
 
21
- @include media.min($breakpoint) {
22
- @include auto;
23
- }
18
+ @include media.min($breakpoint) {
19
+ @include auto;
24
20
  }
21
+ }
25
22
 
26
- &.mod-autoAtContainerMin#{$breakpoint} {
27
- @include autoAt;
23
+ &.mod-autoAtContainerMin#{$breakpoint} {
24
+ @include autoAt;
28
25
 
29
- @include container.min($breakpoint, $name: grid) {
30
- @include auto;
31
- }
26
+ @include container.min($breakpoint, $name: grid) {
27
+ @include auto;
32
28
  }
33
29
  }
30
+ }
34
31
 
35
- &.mod-form {
36
- @include form;
37
- }
32
+ &.mod-form {
33
+ @include form;
34
+ }
38
35
 
39
- &.mod-dense {
40
- @include dense;
41
- }
36
+ &.mod-dense {
37
+ @include dense;
42
38
  }
43
39
  }
@@ -1,29 +1,23 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .header {
4
- @layer components {
5
- @include vars;
6
- @include component;
7
- }
4
+ @include vars;
5
+ @include component;
8
6
 
9
- @layer mods {
10
- &.mod-sticky {
11
- @include sticky;
7
+ &.mod-sticky {
8
+ @include sticky;
12
9
 
13
- .navSide ~ .main-content &,
14
- .mod-withMenu .main-content & {
15
- @include left;
16
- }
10
+ .navSide ~ .main-content &,
11
+ .mod-withMenu .main-content & {
12
+ @include left;
17
13
  }
14
+ }
18
15
 
19
- &.mod-nav {
20
- @include nav;
21
- }
16
+ &.mod-nav {
17
+ @include nav;
22
18
  }
23
19
 
24
- @layer states {
25
- &:is(.is-loading, .loading) {
26
- @include loading;
27
- }
20
+ &:is(.is-loading, .loading) {
21
+ @include loading;
28
22
  }
29
23
  }
@@ -1,42 +1,38 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .highlightData {
4
- @layer components {
5
- @include vars;
6
- @include component;
7
- }
4
+ @include vars;
5
+ @include component;
8
6
 
9
- @layer mods {
10
- &.mod-light {
11
- @include light;
12
- }
7
+ &.mod-light {
8
+ @include light;
9
+ }
13
10
 
14
- &.mod-dark {
15
- @include dark;
16
- }
11
+ &.mod-dark {
12
+ @include dark;
13
+ }
17
14
 
18
- &.mod-valueFirst {
19
- @include valueFirst;
20
- }
15
+ &.mod-valueFirst {
16
+ @include valueFirst;
17
+ }
21
18
 
22
- &.mod-S {
23
- @include S;
24
- }
19
+ &.mod-S {
20
+ @include S;
21
+ }
25
22
 
26
- &.mod-XS {
27
- @include XS;
28
- }
23
+ &.mod-XS {
24
+ @include XS;
25
+ }
29
26
 
30
- &.mod-nested {
31
- @include nested;
32
- }
27
+ &.mod-nested {
28
+ @include nested;
29
+ }
33
30
 
34
- &:has(.highlightData-illustrations) {
35
- @include illustrations;
31
+ &:has(.highlightData-illustrations) {
32
+ @include illustrations;
36
33
 
37
- &.mod-valueFirst {
38
- @include valueFirstIllustrations;
39
- }
34
+ &.mod-valueFirst {
35
+ @include valueFirstIllustrations;
40
36
  }
41
37
  }
42
38
  }
@@ -3,39 +3,35 @@
3
3
  // .menu is deprecated
4
4
  .horizontalNavigation,
5
5
  .menu {
6
- @layer components {
7
- @include vars;
8
- @include component;
9
- }
6
+ @include vars;
7
+ @include component;
10
8
 
11
- @layer mods {
12
- &.mod-header {
13
- @include header;
14
- }
9
+ &.mod-header {
10
+ @include header;
11
+ }
15
12
 
16
- &.mod-S {
17
- @include S;
18
- }
13
+ &.mod-S {
14
+ @include S;
15
+ }
19
16
 
20
- &.mod-noBorder {
21
- @include noBorder;
22
- }
17
+ &.mod-noBorder {
18
+ @include noBorder;
19
+ }
23
20
 
24
- &.mod-vertical {
25
- @include vertical;
21
+ &.mod-vertical {
22
+ @include vertical;
26
23
 
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
- }
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;
34
30
  }
31
+ }
35
32
 
36
- &.mod-S {
37
- @include verticalS;
38
- }
33
+ &.mod-S {
34
+ @include verticalS;
39
35
  }
40
36
  }
41
37
  }
@@ -43,22 +39,20 @@
43
39
  // .menu-link is deprecated
44
40
  // .menu-list-item-action is deprecated
45
41
  .horizontalNavigation-list-item-action,
46
- .menu-link,
47
- .menu-list-item-action {
48
- @layer states {
49
- // .active is deprecated
50
- &[aria-current='page'],
51
- &.is-active,
52
- &.active {
53
- @include active;
54
- }
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
+ }
55
50
 
56
- // .disabled is deprecated
57
- // [disabled] is deprecated
58
- &.is-disabled,
59
- &.disabled,
60
- &[disabled] {
61
- @include disabled;
62
- }
51
+ // .disabled is deprecated
52
+ // [disabled] is deprecated
53
+ &.is-disabled,
54
+ &.disabled,
55
+ &[disabled] {
56
+ @include disabled;
63
57
  }
64
58
  }