@lucca-front/scss 20.3.0-rc.10 → 20.3.0-rc.12

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 +4 -4
  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,402 +1,406 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .textfield {
4
- @include vars;
5
- @include component;
6
-
7
- .textfield-input {
8
- &:is([disabled], .is-disabled, .disabled, [readonly], .is-readonly, .readonly) {
9
- @include inputDisabled;
10
- }
4
+ @layer components {
5
+ @include vars;
6
+ @include component;
11
7
  }
12
8
 
13
- &:is(.is-open, .open) {
14
- @include open;
15
- }
16
-
17
- &.mod-password {
18
- @include password;
19
-
20
- .textfield-suffix-action {
21
- &:is([aria-pressed='true']) {
22
- @include passwordActionPressed;
23
- }
24
-
25
- &:is([aria-pressed='false']) {
26
- @include passwordActionNotPressed;
9
+ @layer mods {
10
+ .textfield-input {
11
+ &:is([disabled], .is-disabled, .disabled, [readonly], .is-readonly, .readonly) {
12
+ @include inputDisabled;
27
13
  }
28
14
  }
29
- }
30
15
 
31
- &.mod-search,
32
- &.mod-autocomplete {
33
- @include search;
34
16
 
35
- &.mod-clearable {
36
- @include searchClearable;
17
+ &:is(.is-open, .open) {
18
+ @include open;
37
19
  }
38
20
 
39
- &.mod-S {
40
- @include searchS;
21
+ &.mod-password {
22
+ @include password;
41
23
 
42
- &.mod-clearable {
43
- @include searchClearableS;
24
+ .textfield-suffix-action {
25
+ &:is([aria-pressed='true']) {
26
+ @include passwordActionPressed;
27
+ }
28
+
29
+ &:is([aria-pressed='false']) {
30
+ @include passwordActionNotPressed;
31
+ }
44
32
  }
45
33
  }
46
34
 
47
- &.mod-XS {
48
- @include searchXS;
35
+ &.mod-search,
36
+ &.mod-autocomplete {
37
+ @include search;
49
38
 
50
39
  &.mod-clearable {
51
- @include searchClearableXS;
40
+ @include searchClearable;
52
41
  }
53
- }
54
- }
55
-
56
- &.mod-clearable {
57
- @include clearable;
58
42
 
59
- &.mod-S {
60
- @include clearableS;
61
- }
62
-
63
- &.mod-XS {
64
- @include clearableXS;
65
- }
66
- }
43
+ &.mod-S {
44
+ @include searchS;
67
45
 
68
- &.mod-withSuffix {
69
- @include suffix;
70
- }
71
-
72
- &.mod-noLabel {
73
- @include noLabel;
74
-
75
- &.mod-XS {
76
- @include noLabelXS;
77
- }
78
- }
46
+ &.mod-clearable {
47
+ @include searchClearableS;
48
+ }
49
+ }
79
50
 
80
- &.mod-multiline {
81
- @include multiline;
51
+ &.mod-XS {
52
+ @include searchXS;
82
53
 
83
- &.mod-S {
84
- @include multilineS;
54
+ &.mod-clearable {
55
+ @include searchClearableXS;
56
+ }
57
+ }
85
58
  }
86
- }
87
59
 
88
- &.mod-invert {
89
- @include invert;
90
- }
60
+ &.mod-clearable {
61
+ @include clearable;
91
62
 
92
- &.mod-radio {
93
- @include radio;
94
- }
63
+ &.mod-S {
64
+ @include clearableS;
65
+ }
95
66
 
96
- &.mod-filter {
97
- @include filter;
67
+ &.mod-XS {
68
+ @include clearableXS;
69
+ }
70
+ }
98
71
 
99
- &:is(:hover) {
100
- @include filterHover;
72
+ &.mod-withSuffix {
73
+ @include suffix;
101
74
  }
102
- }
103
75
 
104
- &.mod-S {
105
- @include S;
76
+ &.mod-noLabel {
77
+ @include noLabel;
106
78
 
107
- &.textfield-input {
108
- &.mod-icon {
109
- @include inputIconS;
79
+ &.mod-XS {
80
+ @include noLabelXS;
110
81
  }
111
82
  }
112
- }
113
83
 
114
- &.mod-XS {
115
- @include XS;
84
+ &.mod-multiline {
85
+ @include multiline;
116
86
 
117
- &.textfield-input {
118
- &.mod-icon {
119
- @include inputIconXS;
87
+ &.mod-S {
88
+ @include multilineS;
120
89
  }
121
90
  }
122
- }
123
-
124
- &.mod-shortest {
125
- @include size('shortest');
126
- }
127
91
 
128
- &.mod-shorter {
129
- @include size('shorter');
130
- }
92
+ &.mod-invert {
93
+ @include invert;
94
+ }
131
95
 
132
- &.mod-short {
133
- @include size('short');
134
- }
96
+ &.mod-radio {
97
+ @include radio;
98
+ }
135
99
 
136
- &.mod-default {
137
- @include size('default');
138
- }
100
+ &.mod-filter {
101
+ @include filter;
139
102
 
140
- &.mod-long {
141
- @include size('long');
142
- }
103
+ &:is(:hover) {
104
+ @include filterHover;
105
+ }
106
+ }
143
107
 
144
- &.mod-longer {
145
- @include size('longer');
146
- }
108
+ &.mod-S {
109
+ @include S;
147
110
 
148
- &.mod-longest {
149
- @include size('longest');
150
- }
111
+ &.textfield-input {
112
+ &.mod-icon {
113
+ @include inputIconS;
114
+ }
115
+ }
116
+ }
151
117
 
152
- &.mod-compact {
153
- @include compact;
118
+ &.mod-XS {
119
+ @include XS;
154
120
 
155
- &.mod-multiline {
156
- @include compactMultiline;
121
+ &.textfield-input {
122
+ &.mod-icon {
123
+ @include inputIconXS;
124
+ }
125
+ }
157
126
  }
158
127
 
159
128
  &.mod-shortest {
160
- @include compactSize('shortest');
129
+ @include size('shortest');
161
130
  }
162
131
 
163
132
  &.mod-shorter {
164
- @include compactSize('shorter');
133
+ @include size('shorter');
165
134
  }
166
135
 
167
136
  &.mod-short {
168
- @include compactSize('short');
137
+ @include size('short');
169
138
  }
170
139
 
171
140
  &.mod-default {
172
- @include compactSize('default');
141
+ @include size('default');
173
142
  }
174
143
 
175
144
  &.mod-long {
176
- @include compactSize('long');
145
+ @include size('long');
177
146
  }
178
147
 
179
148
  &.mod-longer {
180
- @include compactSize('longer');
149
+ @include size('longer');
181
150
  }
182
151
 
183
152
  &.mod-longest {
184
- @include compactSize('longest');
153
+ @include size('longest');
185
154
  }
186
- }
187
155
 
188
- &.mod-material {
189
- @include material;
156
+ &.mod-compact {
157
+ @include compact;
190
158
 
191
- &.mod-search {
192
- &.mod-block {
193
- &.mod-clearable {
194
- @include materialSearchBlockClearableInput;
195
- }
159
+ &.mod-multiline {
160
+ @include compactMultiline;
196
161
  }
197
- }
198
162
 
199
- .textfield-input {
200
- &:is(:focus, .is-focused, .focused) {
201
- @include materialInputFocus;
163
+ &.mod-shortest {
164
+ @include compactSize('shortest');
202
165
  }
203
166
 
204
- &:is(.is-filled, .filled) {
205
- @include materialInputFilled;
167
+ &.mod-shorter {
168
+ @include compactSize('shorter');
206
169
  }
207
170
 
208
- &:is([disabled], .is-disabled, .disabled, [readonly], .is-readonly, .readonly) {
209
- @include materialInputDisabled;
171
+ &.mod-short {
172
+ @include compactSize('short');
210
173
  }
211
174
 
212
- &:is(.is-invalid, .invalid, .is-error, .error) {
213
- @include materialInputState('error');
175
+ &.mod-default {
176
+ @include compactSize('default');
214
177
  }
215
178
 
216
- &:is(.is-warning, .warning) {
217
- @include materialInputState('warning');
179
+ &.mod-long {
180
+ @include compactSize('long');
218
181
  }
219
182
 
220
- &:is(.is-success, .success) {
221
- @include materialInputState('success');
183
+ &.mod-longer {
184
+ @include compactSize('longer');
222
185
  }
223
- }
224
186
 
225
- &.mod-S {
226
- @include materialS;
187
+ &.mod-longest {
188
+ @include compactSize('longest');
189
+ }
227
190
  }
228
191
 
229
- &.mod-withSuffix {
230
- @include materialSuffix;
231
- }
192
+ &.mod-material {
193
+ @include material;
232
194
 
233
- &.mod-noLabel {
234
- @include materialNoLabel;
235
- }
195
+ &.mod-search {
196
+ &.mod-block {
197
+ &.mod-clearable {
198
+ @include materialSearchBlockClearableInput;
199
+ }
200
+ }
201
+ }
236
202
 
237
- &.mod-search,
238
- &.mod-autocomplete {
239
- @include materialSearch;
240
- }
203
+ &.mod-S {
204
+ @include materialS;
205
+ }
241
206
 
242
- &.mod-radio {
243
- @include materialRadio;
244
- }
207
+ &.mod-withSuffix {
208
+ @include materialSuffix;
209
+ }
245
210
 
246
- &:is(.is-loading, .loading) {
247
- @include materialLoading;
248
- }
211
+ &.mod-noLabel {
212
+ @include materialNoLabel;
213
+ }
249
214
 
250
- &:is(.is-valid, .valid) {
251
- @include materialValid;
252
- }
253
- }
254
- }
215
+ &.mod-search,
216
+ &.mod-autocomplete {
217
+ @include materialSearch;
218
+ }
255
219
 
256
- .textfield-input {
257
- &:is(:hover) {
258
- @include inputHover;
259
- }
220
+ &.mod-radio {
221
+ @include materialRadio;
222
+ }
260
223
 
261
- &:is(:focus-visible, .is-focused, .focused) {
262
- @include inputFocus;
263
- }
264
- }
224
+ .textfield-input {
225
+ &:is(:focus, .is-focused, .focused) {
226
+ @include materialInputFocus;
227
+ }
265
228
 
266
- .textfield-suffix {
267
- &.mod-icon {
268
- @include suffixIcon;
269
- }
270
- }
229
+ &:is(.is-filled, .filled) {
230
+ @include materialInputFilled;
231
+ }
271
232
 
272
- .textfield-options-entry {
273
- &:is(:hover, .is-focus, .focus) {
274
- @include entryHover;
233
+ &:is([disabled], .is-disabled, .disabled, [readonly], .is-readonly, .readonly) {
234
+ @include materialInputDisabled;
235
+ }
236
+
237
+ &:is(.is-invalid, .invalid, .is-error, .error) {
238
+ @include materialInputState('error');
239
+ }
240
+
241
+ &:is(.is-warning, .warning) {
242
+ @include materialInputState('warning');
243
+ }
244
+
245
+ &:is(.is-success, .success) {
246
+ @include materialInputState('success');
247
+ }
248
+ }
249
+
250
+ &:is(.is-loading, .loading) {
251
+ @include materialLoading;
252
+ }
253
+
254
+ &:is(.is-valid, .valid) {
255
+ @include materialValid;
256
+ }
257
+ }
275
258
  }
276
259
  }
277
260
 
278
- .textfield.mod-framed,
279
- .form.mod-framed .textfield {
280
- @include framed;
261
+ @layer mods {
262
+ .textfield-input {
263
+ &:is(:hover) {
264
+ @include inputHover;
265
+ }
281
266
 
282
- &.mod-multiline {
283
- @include framedMultiline;
267
+ &:is(:focus-visible, .is-focused, .focused) {
268
+ @include inputFocus;
269
+ }
270
+ }
284
271
 
285
- &.mod-S {
286
- @include framedMultilineS;
272
+ .textfield-options-entry {
273
+ &:is(:hover, .is-focus, .focus) {
274
+ @include entryHover;
287
275
  }
288
276
  }
289
277
 
290
- &.mod-search {
291
- @include framedSearch;
278
+ .textfield-suffix {
279
+ &.mod-icon {
280
+ @include suffixIcon;
281
+ }
292
282
  }
293
283
 
294
- &:is(.is-error, .error) {
295
- @include framedState('error');
284
+ .textfield.mod-framed,
285
+ .form.mod-framed .textfield {
286
+ @include framed;
296
287
 
297
- &:is(:focus-within, :hover) {
298
- @include framedErrorHover;
299
- }
288
+ &.mod-multiline {
289
+ @include framedMultiline;
300
290
 
301
- &:is(:hover) {
302
- @include framedStateHover('error');
291
+ &.mod-S {
292
+ @include framedMultilineS;
293
+ }
303
294
  }
304
295
 
305
- &:is(:focus-within) {
306
- @include framedStateFocus('error');
296
+ &.mod-search {
297
+ @include framedSearch;
307
298
  }
308
299
 
309
- .textfield-input {
310
- &:hover {
311
- @include framedStateInputHover('error');
300
+ &:is(.is-error, .error) {
301
+ @include framedState('error');
302
+
303
+ &:is(:focus-within, :hover) {
304
+ @include framedErrorHover;
312
305
  }
313
306
 
314
- &:focus {
315
- @include framedStateInputFocus('error');
307
+ &:is(:hover) {
308
+ @include framedStateHover('error');
316
309
  }
317
- }
318
310
 
319
- &.mod-search,
320
- &.mod-autocomplete,
321
- &.mod-select {
322
- @include framedStateSearch('error');
323
- }
324
- }
311
+ &:is(:focus-within) {
312
+ @include framedStateFocus('error');
313
+ }
325
314
 
326
- &:is(.is-loading, .loading) {
327
- @include framedLoading;
328
- }
315
+ .textfield-input {
316
+ &:hover {
317
+ @include framedStateInputHover('error');
318
+ }
329
319
 
330
- &:is(.is-warning, .warning) {
331
- @include framedState('warning');
320
+ &:focus {
321
+ @include framedStateInputFocus('error');
322
+ }
323
+ }
332
324
 
333
- &:is(:hover) {
334
- @include framedStateHover('warning');
325
+ &.mod-search,
326
+ &.mod-autocomplete,
327
+ &.mod-select {
328
+ @include framedStateSearch('error');
329
+ }
335
330
  }
336
331
 
337
- &:is(:focus-within) {
338
- @include framedStateFocus('warning');
332
+ &:is(.is-loading, .loading) {
333
+ @include framedLoading;
339
334
  }
340
335
 
341
- .textfield-input {
342
- &:hover {
343
- @include framedStateInputHover('warning');
336
+ &:is(.is-warning, .warning) {
337
+ @include framedState('warning');
338
+
339
+ &:is(:hover) {
340
+ @include framedStateHover('warning');
344
341
  }
345
342
 
346
- &:focus {
347
- @include framedStateInputFocus('warning');
343
+ &:is(:focus-within) {
344
+ @include framedStateFocus('warning');
348
345
  }
349
- }
350
346
 
351
- &.mod-search,
352
- &.mod-autocomplete,
353
- &.mod-select {
354
- @include framedStateSearch('warning');
355
- }
356
- }
347
+ .textfield-input {
348
+ &:hover {
349
+ @include framedStateInputHover('warning');
350
+ }
357
351
 
358
- &:is(.is-success, .is-valid, .valid, .success) {
359
- @include framedState('success');
352
+ &:focus {
353
+ @include framedStateInputFocus('warning');
354
+ }
355
+ }
360
356
 
361
- &:is(:hover) {
362
- @include framedStateHover('success');
357
+ &.mod-search,
358
+ &.mod-autocomplete,
359
+ &.mod-select {
360
+ @include framedStateSearch('warning');
361
+ }
363
362
  }
364
363
 
365
- &:is(:focus-within) {
366
- @include framedStateFocus('success');
367
- }
364
+ &:is(.is-success, .is-valid, .valid, .success) {
365
+ @include framedState('success');
368
366
 
369
- .textfield-input {
370
- &:hover {
371
- @include framedStateInputHover('success');
367
+ &:is(:hover) {
368
+ @include framedStateHover('success');
372
369
  }
373
370
 
374
- &:focus {
375
- @include framedStateInputFocus('success');
371
+ &:is(:focus-within) {
372
+ @include framedStateFocus('success');
376
373
  }
377
- }
378
374
 
379
- &.mod-search,
380
- &.mod-autocomplete,
381
- &.mod-select {
382
- @include framedStateSearch('success');
383
- }
384
- }
375
+ .textfield-input {
376
+ &:hover {
377
+ @include framedStateInputHover('success');
378
+ }
385
379
 
386
- .textfield-input {
387
- &:is(:hover) {
388
- @include framedInputHover;
389
- }
380
+ &:focus {
381
+ @include framedStateInputFocus('success');
382
+ }
383
+ }
390
384
 
391
- &:is(:focus) {
392
- @include framedInputFocus;
385
+ &.mod-search,
386
+ &.mod-autocomplete,
387
+ &.mod-select {
388
+ @include framedStateSearch('success');
389
+ }
393
390
  }
394
391
 
395
- &:is(:invalid, .is-invalid, .invalid) {
396
- @include framedInputInvalid;
397
- }
392
+ .textfield-input {
393
+ &:is(:hover) {
394
+ @include framedInputHover;
395
+ }
398
396
 
399
- &:is(.is-error, .invalid) {
397
+ &:is(:focus) {
398
+ @include framedInputFocus;
399
+ }
400
+
401
+ &:is(:invalid, .is-invalid, .invalid) {
402
+ @include framedInputInvalid;
403
+ }
400
404
  }
401
405
  }
402
406
  }