@lucca-front/scss 20.3.0-rc.2 → 20.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 (70) hide show
  1. package/dist/lucca-front.min.css +1 -1
  2. package/package.json +2 -2
  3. package/src/commons/config.scss +1 -1
  4. package/src/components/_sample/index.scss +1 -1
  5. package/src/components/breadcrumbs/index.scss +1 -1
  6. package/src/components/button/index.scss +1 -1
  7. package/src/components/calendar/index.scss +1 -1
  8. package/src/components/calloutDisclosure/index.scss +1 -1
  9. package/src/components/card/component.scss +1 -0
  10. package/src/components/card/index.scss +4 -2
  11. package/src/components/card/mods.scss +31 -0
  12. package/src/components/checkbox/index.scss +1 -1
  13. package/src/components/checkboxField/index.scss +2 -2
  14. package/src/components/chip/index.scss +1 -1
  15. package/src/components/clear/index.scss +1 -1
  16. package/src/components/collapse/index.scss +1 -1
  17. package/src/components/dataTable/index.scss +2 -2
  18. package/src/components/dataTableSticked/index.scss +1 -1
  19. package/src/components/dropdown/component.scss +43 -17
  20. package/src/components/dropdown/index.scss +5 -4
  21. package/src/components/dropdown/mods.scss +4 -4
  22. package/src/components/dropdown/states.scss +4 -3
  23. package/src/components/dropdown/vars.scss +8 -6
  24. package/src/components/field/index.scss +5 -5
  25. package/src/components/fieldset/index.scss +1 -1
  26. package/src/components/file/index.scss +2 -2
  27. package/src/components/fileEntry/index.scss +1 -1
  28. package/src/components/fileUpload/index.scss +1 -1
  29. package/src/components/filterPill/index.scss +2 -2
  30. package/src/components/form/index.scss +5 -5
  31. package/src/components/form/mods.scss +1 -1
  32. package/src/components/formLabel/index.scss +1 -1
  33. package/src/components/gauge/index.scss +1 -1
  34. package/src/components/header/index.scss +1 -1
  35. package/src/components/horizontalNavigation/index.scss +1 -1
  36. package/src/components/indexTable/index.scss +1 -1
  37. package/src/components/inlineMessage/index.scss +1 -1
  38. package/src/components/inputFramed/index.scss +1 -1
  39. package/src/components/layout/index.scss +1 -1
  40. package/src/components/link/index.scss +1 -1
  41. package/src/components/listboxOption/index.scss +3 -3
  42. package/src/components/main/index.scss +1 -1
  43. package/src/components/multiSelect/index.scss +18 -4
  44. package/src/components/multiSelect/mods.scss +0 -8
  45. package/src/components/multiSelect/states.scss +8 -0
  46. package/src/components/navside/index.scss +4 -4
  47. package/src/components/numericBadge/index.scss +1 -1
  48. package/src/components/pagination/index.scss +1 -1
  49. package/src/components/popover/component.scss +0 -17
  50. package/src/components/progress/index.scss +1 -1
  51. package/src/components/radio/index.scss +1 -1
  52. package/src/components/radioButtons/index.scss +1 -1
  53. package/src/components/radioField/index.scss +1 -1
  54. package/src/components/readMore/index.scss +1 -1
  55. package/src/components/richText/index.scss +1 -1
  56. package/src/components/scrollBox/index.scss +1 -1
  57. package/src/components/segmentedControl/index.scss +3 -3
  58. package/src/components/simpleSelect/index.scss +2 -2
  59. package/src/components/skeleton/index.scss +1 -1
  60. package/src/components/switch/index.scss +1 -1
  61. package/src/components/switchField/index.scss +1 -1
  62. package/src/components/tableOfContent/index.scss +1 -1
  63. package/src/components/tableSortable/index.scss +1 -1
  64. package/src/components/tag/index.scss +1 -1
  65. package/src/components/textField/index.scss +1 -1
  66. package/src/components/textfields/index.scss +4 -4
  67. package/src/components/timeline/index.scss +1 -1
  68. package/src/components/timepicker/index.scss +1 -1
  69. package/src/components/tooltip/index.scss +1 -1
  70. package/src/components/verticalNavigation/index.scss +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucca-front/scss",
3
- "version": "20.3.0-rc.2",
3
+ "version": "20.3.0-rc.3",
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": "20.3.0-rc.2"
26
+ "@lucca-front/icons": "20.3.0-rc.3"
27
27
  }
28
28
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  @use '@lucca-front/scss/src/commons/function';
5
5
 
6
- $layers: 'reset, base, components, mods, states, product, utils' !default;
6
+ $layers: 'reset, base, components, mods, product, utils' !default;
7
7
 
8
8
  /* stylelint-disable-next-line layer-name-pattern */
9
9
  @layer #{$layers};
@@ -17,7 +17,7 @@
17
17
  }
18
18
  }
19
19
 
20
- @layer states {
20
+ @layer mods {
21
21
  &.is-sampleStateA {
22
22
  @include sampleStateA;
23
23
  }
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  .breadcrumbs-list-item-action {
18
- @layer states {
18
+ @layer mods {
19
19
  // .active is deprecated
20
20
  &.is-active,
21
21
  &.active,
@@ -138,7 +138,7 @@
138
138
  }
139
139
  }
140
140
 
141
- @layer states {
141
+ @layer mods {
142
142
  // .loading is deprecated
143
143
  &.is-loading,
144
144
  &.loading {
@@ -40,7 +40,7 @@
40
40
  }
41
41
 
42
42
  .calendar-table-body-row-cell {
43
- @layer states {
43
+ @layer mods {
44
44
  &.is-daysOff {
45
45
  @include daysOff;
46
46
  }
@@ -6,7 +6,7 @@
6
6
  @include component;
7
7
  }
8
8
 
9
- @layer states {
9
+ @layer mods {
10
10
  &[open] {
11
11
  @include open;
12
12
  }
@@ -19,6 +19,7 @@
19
19
  @at-root ($atRoot) {
20
20
  .card-content {
21
21
  padding: var(--components-card-content-padding);
22
+ position: relative;
22
23
  }
23
24
 
24
25
  .card-title {
@@ -28,9 +28,11 @@
28
28
  &.mod-nested {
29
29
  @include nested;
30
30
  }
31
- }
32
31
 
33
- @layer states {
32
+ &.mod-expand {
33
+ @include expand;
34
+ }
35
+
34
36
  &:is(.is-disabled, .disabled) {
35
37
  @include disabled;
36
38
  }
@@ -59,3 +59,34 @@
59
59
  @mixin nested {
60
60
  --components-card-border-radius: var(--pr-t-border-radius-default);
61
61
  }
62
+
63
+ @mixin expand {
64
+ border: 0;
65
+ background-color: transparent;
66
+ box-shadow: none;
67
+ cursor: pointer;
68
+
69
+ &::before {
70
+ content: '';
71
+ position: absolute;
72
+ inset: 0;
73
+ background-color: var(--pr-t-elevation-surface-raised);
74
+ border-radius: var(--components-card-border-radius);
75
+ box-shadow: var(--pr-t-elevation-shadow-raised);
76
+ transition-duration: var(--commons-animations-durations-fast);
77
+ transition-property: inset, box-shadow;
78
+ }
79
+
80
+ &:hover {
81
+ box-shadow: none;
82
+
83
+ &::before {
84
+ inset: -2px -6px;
85
+ box-shadow: var(--pr-t-elevation-shadow-overlay);
86
+ }
87
+ }
88
+
89
+ .card-content {
90
+ z-index: 1;
91
+ }
92
+ }
@@ -20,7 +20,7 @@
20
20
  }
21
21
  }
22
22
 
23
- @layer states {
23
+ @layer mods {
24
24
  &:is(.is-required, .required) {
25
25
  @include required;
26
26
  }
@@ -17,7 +17,7 @@
17
17
  @include checklist;
18
18
  }
19
19
 
20
- @layer states {
20
+ @layer mods {
21
21
  .checkboxField-input {
22
22
  &:hover {
23
23
  @include checklistHover;
@@ -62,7 +62,7 @@
62
62
  }
63
63
 
64
64
  .checkboxField-input {
65
- @layer states {
65
+ @layer mods {
66
66
  &[aria-checked='mixed'] {
67
67
  @include checked;
68
68
  @include mixed;
@@ -26,7 +26,7 @@
26
26
  }
27
27
  }
28
28
 
29
- @layer states {
29
+ @layer mods {
30
30
  &.is-disabled {
31
31
  @include disabled;
32
32
  }
@@ -12,7 +12,7 @@
12
12
  }
13
13
  }
14
14
 
15
- @layer states {
15
+ @layer mods {
16
16
  // .palette-primary is deprecated
17
17
  &.palette-product:not([disabled]),
18
18
  &.palette-primary:not([disabled]) {
@@ -6,7 +6,7 @@
6
6
  @include component;
7
7
  }
8
8
 
9
- @layer states {
9
+ @layer mods {
10
10
  &:not(.is-open, .open, [open]) {
11
11
  @include close;
12
12
  }
@@ -102,7 +102,7 @@
102
102
  }
103
103
 
104
104
  .dataTable-body-row {
105
- @layer states {
105
+ @layer mods {
106
106
  &.is-collapsed {
107
107
  @include collapsed;
108
108
  }
@@ -118,7 +118,7 @@
118
118
  }
119
119
 
120
120
  .dataTable-body-row-cell-expand-button {
121
- @layer states {
121
+ @layer mods {
122
122
  &[aria-expanded='true'] {
123
123
  @include expanded;
124
124
  }
@@ -21,7 +21,7 @@
21
21
  }
22
22
  }
23
23
 
24
- @layer states {
24
+ @layer mods {
25
25
  &:has(.dataTable.is-firstColumnVisible) {
26
26
  @include firstColumnVisible;
27
27
  }
@@ -4,11 +4,11 @@
4
4
  @use '@lucca-front/scss/src/components/divider/exports' as divider;
5
5
 
6
6
  @mixin component($atRoot: namespace.$defaultAtRoot) {
7
- margin: calc(var(--pr-t-spacings-100) * -1);
8
7
  padding: 0 !important;
9
8
  border-radius: var(--pr-t-border-radius-structure);
10
- max-inline-size: 90vw;
11
- max-block-size: var(--components-dropdown-max-height);
9
+ min-inline-size: var(--components-dropdown-minInlineSize);
10
+ max-inline-size: var(--components-dropdown-maxInlineSize);
11
+ max-block-size: var(--components-dropdown-maxBlockSize);
12
12
  overflow-x: hidden;
13
13
  overflow-y: auto;
14
14
 
@@ -20,30 +20,49 @@
20
20
  padding-block: var(--pr-t-spacings-50);
21
21
  padding-inline: 0;
22
22
  margin: 0;
23
- min-inline-size: var(--components-dropdown-min-width);
24
- max-inline-size: var(--components-dropdown-max-width);
23
+ display: flex;
24
+ flex-direction: column;
25
+ gap: var(--pr-t-spacings-25);
26
+
27
+ .dropdown-list {
28
+ padding-block: 0;
29
+ }
25
30
  }
26
31
 
27
32
  // .lu-dropdown-options-item is deprecated
28
33
  .dropdown-list-option,
29
34
  .lu-dropdown-options-item {
30
35
  padding-block: 0;
31
- padding-inline: var(--pr-t-spacings-50);
32
36
 
33
- &.mod-divider {
34
- padding: 0;
37
+ &:not(:has(.divider.dropdown-list-option-divider, .dropdown-list-option), &.mod-divider) {
38
+ padding-inline: var(--pr-t-spacings-50);
39
+ }
40
+
41
+ &:has(> .dropdown-list) {
42
+ padding-block-start: var(--pr-t-spacings-100);
43
+ padding-inline: var(--pr-t-spacings-150);
44
+ color: var(--pr-t-color-text-subtle);
45
+ font: var(--pr-t-font-body-S);
46
+ font-weight: var(--pr-t-font-fontWeight-semibold);
47
+ }
48
+
49
+ > .dropdown-list {
50
+ color: var(--pr-t-color-text);
51
+ font: var(--pr-t-font-body-M);
52
+ font-weight: var(--pr-t-font-fontWeight-regular);
53
+ margin-block-start: var(--pr-t-spacings-50);
54
+ margin-inline: calc(var(--pr-t-spacings-150) * -1);
35
55
  }
36
56
  }
37
57
 
38
58
  // .lu-dropdown-options-item-action is deprecated
39
59
  .dropdown-list-option-action,
40
60
  .lu-dropdown-options-item-action {
41
- align-items: flex-start;
42
61
  border: 0;
43
62
  border-radius: var(--pr-t-border-radius-default);
44
- color: var(--components-dropdown-optionColor);
45
- background-color: var(--components-dropdown-option-actionBackground);
63
+ background-color: var(--components-dropdown-list-option-action-backgroundColor);
46
64
  display: flex;
65
+ align-items: flex-start;
47
66
  gap: var(--pr-t-spacings-100);
48
67
  line-height: var(--pr-t-font-body-M-lineHeight);
49
68
  padding: var(--pr-t-spacings-50) var(--pr-t-spacings-100);
@@ -51,32 +70,39 @@
51
70
  transition: background-color var(--commons-animations-durations-fast);
52
71
  text-decoration: none;
53
72
  inline-size: 100%;
54
- pointer-events: var(--components-dropdown-option-actionEvents);
73
+ pointer-events: var(--components-dropdown-list-option-action-pointerEvents);
55
74
  cursor: pointer;
56
75
 
57
76
  .lucca-icon {
58
77
  @include icon.S;
59
78
 
60
- margin-block-start: var(--pr-t-spacings-25);
79
+ margin-block: var(--pr-t-spacings-25);
61
80
  }
62
81
 
63
82
  &,
64
83
  &:hover {
65
- color: var(--components-dropdown-option-actionColor);
84
+ color: var(--components-dropdown-list-option-action-color);
66
85
  }
67
86
 
68
87
  &:hover,
69
88
  &:focus-visible {
70
- --components-dropdown-option-actionBackground: var(--palettes-neutral-25);
89
+ --components-dropdown-list-option-action-backgroundColor: var(--palettes-neutral-50);
71
90
  }
72
91
 
73
92
  &:active {
74
- --components-dropdown-option-actionBackground: var(--palettes-neutral-50);
93
+ --components-dropdown-list-option-action-backgroundColor: var(--palettes-neutral-100);
75
94
  }
76
95
 
77
96
  &:focus-visible {
78
- @include a11y.focusVisible;
97
+ @include a11y.focusVisible($offset: 0);
98
+
99
+ z-index: 1;
100
+ position: relative;
79
101
  }
80
102
  }
103
+
104
+ .divider.dropdown-list-option-divider {
105
+ --components-divider-marginBlock: var(--pr-t-spacings-25);
106
+ }
81
107
  }
82
108
  }
@@ -9,16 +9,17 @@
9
9
  }
10
10
  }
11
11
 
12
+ // .lu-dropdown-options-item-action is deprecated
12
13
  .dropdown-list-option-action,
13
14
  .lu-dropdown-options-item-action {
14
- @layer states {
15
+ @layer mods {
16
+ &[disabled],
15
17
  &.is-disabled {
16
18
  @include disabled;
17
19
  }
18
- }
19
20
 
20
- @layer mods {
21
- &.mod-critical, &.mod-delete {
21
+ &.mod-critical,
22
+ &.mod-delete {
22
23
  @include critical;
23
24
  }
24
25
  }
@@ -1,12 +1,12 @@
1
1
  @mixin critical {
2
- --components-dropdown-option-actionColor: var(--pr-t-color-text-critical);
3
-
4
2
  &:hover,
5
3
  &:focus-visible {
6
- --components-dropdown-option-actionBackground: var(--palettes-error-50);
4
+ --components-dropdown-list-option-action-backgroundColor: var(--palettes-error-50);
5
+ --components-dropdown-list-option-action-color: var(--pr-t-color-text-critical);
7
6
  }
8
7
 
9
8
  &:active {
10
- --components-dropdown-option-actionBackground: var(--palettes-error-100);
9
+ --components-dropdown-list-option-action-color: var(--pr-t-color-text-critical);
10
+ --components-dropdown-list-option-action-backgroundColor: var(--palettes-error-100);
11
11
  }
12
12
  }
@@ -1,9 +1,10 @@
1
1
  @mixin disabled {
2
- --components-dropdown-option-actionColor: var(--pr-t-color-text-disabled);
3
- --components-dropdown-option-actionEvents: none;
2
+ --components-dropdown-list-option-action-color: var(--pr-t-color-text-disabled);
3
+ --components-dropdown-list-option-action-backgroundColor: transparent;
4
+ --components-dropdown-list-option-action-pointerEvents: none;
4
5
 
5
6
  &,
6
7
  &:hover {
7
- --components-dropdown-option-actionBackground: var(--palettes-neutral-0);
8
+ --components-dropdown-list-option-action-backgroundColor: var(--palettes-neutral-0);
8
9
  }
9
10
  }
@@ -1,8 +1,10 @@
1
1
  @mixin vars {
2
- --components-dropdown-min-width: 10rem;
3
- --components-dropdown-max-width: 30rem;
4
- --components-dropdown-max-height: 60vh;
5
- --components-dropdown-option-actionColor: currentColor;
6
- --components-dropdown-option-actionBackground: transparent;
7
- --components-dropdown-option-actionEvents: auto;
2
+ --components-dropdown-minInlineSize: 10rem;
3
+
4
+ --components-dropdown-maxInlineSize: 30rem;
5
+ --components-dropdown-maxBlockSize: min(60vh, 30rem);
6
+
7
+ --components-dropdown-list-option-action-color: currentColor;
8
+ --components-dropdown-list-option-action-backgroundColor: transparent;
9
+ --components-dropdown-list-option-action-pointerEvents: auto;
8
10
  }
@@ -10,7 +10,7 @@
10
10
  }
11
11
  }
12
12
 
13
- @layer states {
13
+ @layer mods {
14
14
  .is-error {
15
15
  @include fieldFramedState('error');
16
16
  @include fieldFramedError('textfield');
@@ -47,7 +47,7 @@
47
47
  }
48
48
  }
49
49
 
50
- @layer states {
50
+ @layer mods {
51
51
  &:is(.is-required, .required) {
52
52
  @include required;
53
53
  }
@@ -85,7 +85,7 @@
85
85
  }
86
86
  }
87
87
 
88
- @layer states {
88
+ @layer mods {
89
89
  &.mod-framed {
90
90
  &.is-error {
91
91
  @include fieldFramedState('error');
@@ -108,7 +108,7 @@
108
108
  .textfield-input,
109
109
  .radiosfield-input,
110
110
  .checkboxesfield-input {
111
- @layer states {
111
+ @layer mods {
112
112
  &:is([disabled], [readonly]) {
113
113
  @include inputDisabled;
114
114
  }
@@ -137,7 +137,7 @@
137
137
  .textfield-input,
138
138
  .radiosfield-input,
139
139
  .checkboxesfield-input {
140
- @layer states {
140
+ @layer mods {
141
141
  &:is([required]),
142
142
  &:is([aria-required='true']) {
143
143
  @include required;
@@ -20,7 +20,7 @@
20
20
  }
21
21
  }
22
22
 
23
- @layer states {
23
+ @layer mods {
24
24
  &:has(.fieldset-title-content[aria-expanded='true']) {
25
25
  @include expanded;
26
26
  }
@@ -16,7 +16,7 @@
16
16
  }
17
17
  }
18
18
 
19
- @layer states {
19
+ @layer mods {
20
20
  &:is(.is-droppable, .droppable) {
21
21
  @include legacyDroppable;
22
22
  }
@@ -28,7 +28,7 @@
28
28
  }
29
29
 
30
30
  .file-input {
31
- @layer states {
31
+ @layer mods {
32
32
  &:is(:disabled) {
33
33
  @include disabled;
34
34
  }
@@ -20,7 +20,7 @@
20
20
  }
21
21
  }
22
22
 
23
- @layer states {
23
+ @layer mods {
24
24
  &.is-error {
25
25
  @include error;
26
26
 
@@ -24,7 +24,7 @@
24
24
  }
25
25
  }
26
26
 
27
- @layer states {
27
+ @layer mods {
28
28
  &:hover {
29
29
  @include hover;
30
30
  }
@@ -6,7 +6,7 @@
6
6
  @include component;
7
7
  }
8
8
 
9
- @layer states {
9
+ @layer mods {
10
10
  &:not(.is-filled) {
11
11
  @include notFilled;
12
12
  }
@@ -79,7 +79,7 @@
79
79
  }
80
80
  }
81
81
 
82
- @layer states {
82
+ @layer mods {
83
83
  &:has(.filterPill-combobox:disabled) {
84
84
  @include disabled;
85
85
  }
@@ -40,7 +40,7 @@
40
40
  }
41
41
  }
42
42
 
43
- @layer states {
43
+ @layer mods {
44
44
  &:has(.radioField-input[aria-invalid='true']),
45
45
  &:has(.checkboxField-input[aria-invalid='true']) {
46
46
  @include legendInvalid;
@@ -72,7 +72,7 @@
72
72
  }
73
73
  }
74
74
 
75
- @layer states {
75
+ @layer mods {
76
76
  &:not(lu-form-field) {
77
77
  &:has(
78
78
  .textField-input-value[aria-invalid='true'],
@@ -152,7 +152,7 @@
152
152
  .radiosfield-label,
153
153
  .checkboxesfield-label,
154
154
  .textfield-label {
155
- @layer states {
155
+ @layer mods {
156
156
  &:is(.is-required, .required) {
157
157
  @include required;
158
158
  }
@@ -177,7 +177,7 @@
177
177
  }
178
178
 
179
179
  .form-group-label {
180
- @layer states {
180
+ @layer mods {
181
181
  &.is-required {
182
182
  &:not(:empty) {
183
183
  &::after {
@@ -191,7 +191,7 @@
191
191
  .radiosfield-label,
192
192
  .checkboxesfield-label,
193
193
  .textfield-label {
194
- @layer states {
194
+ @layer mods {
195
195
  &.is-required {
196
196
  &:not(:empty) {
197
197
  &::after {
@@ -362,7 +362,7 @@
362
362
  }
363
363
 
364
364
  %isRequired {
365
- @layer states {
365
+ @layer mods {
366
366
  color: var(--palettes-error-700);
367
367
  display: inline-block;
368
368
  margin-inline-start: 0.2em;
@@ -20,7 +20,7 @@
20
20
  }
21
21
  }
22
22
 
23
- @layer states {
23
+ @layer mods {
24
24
  &.is-error {
25
25
  // To replace by :has as soon as it is implemented in Firefox to cover usage as legend for checkboxes and radio states.
26
26
  @include error;
@@ -25,7 +25,7 @@
25
25
  }
26
26
  }
27
27
 
28
- @layer states {
28
+ @layer mods {
29
29
  &.is-zero,
30
30
  &:not([style]),
31
31
  &[style*='--components-gauge-value: 0%'] {
@@ -21,7 +21,7 @@
21
21
  }
22
22
  }
23
23
 
24
- @layer states {
24
+ @layer mods {
25
25
  &:is(.is-loading, .loading) {
26
26
  @include loading;
27
27
  }
@@ -45,7 +45,7 @@
45
45
  .horizontalNavigation-list-item-action,
46
46
  .menu-link,
47
47
  .menu-list-item-action {
48
- @layer states {
48
+ @layer mods {
49
49
  // .active is deprecated
50
50
  &[aria-current='page'],
51
51
  &.is-active,
@@ -67,7 +67,7 @@
67
67
  }
68
68
  }
69
69
 
70
- @layer states {
70
+ @layer mods {
71
71
  &:not(:has(.indexTable-head[inert='inert'])) {
72
72
  @include focusedRow;
73
73
  @include hoveredRow;
@@ -12,7 +12,7 @@
12
12
  }
13
13
  }
14
14
 
15
- @layer states {
15
+ @layer mods {
16
16
  &.is-success {
17
17
  @include success;
18
18
  }
@@ -7,7 +7,7 @@
7
7
  @include component;
8
8
  }
9
9
 
10
- @layer states {
10
+ @layer mods {
11
11
  &:hover {
12
12
  @include hover;
13
13
  }
@@ -66,7 +66,7 @@
66
66
  }
67
67
 
68
68
  html {
69
- @layer states {
69
+ @layer mods {
70
70
  &:is(.has-overlay, .withOverlay) {
71
71
  @include overlay;
72
72
  }
@@ -16,7 +16,7 @@
16
16
  }
17
17
  }
18
18
 
19
- @layer states {
19
+ @layer mods {
20
20
  &:is(:disabled, .is-disabled) {
21
21
  @include disabled;
22
22
  }