@lucca-front/scss 20.2.2 → 20.3.0-rc.2

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 (164) hide show
  1. package/dist/lucca-front.min.css +1 -1
  2. package/package.json +2 -2
  3. package/src/commons/config.scss +12 -1
  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/color.scss +14 -0
  8. package/src/commons/utils/index.scss +480 -478
  9. package/src/commons/utils/reset.scss +1 -1
  10. package/src/components/_sample/index.scss +14 -6
  11. package/src/components/appLayout/index.scss +11 -7
  12. package/src/components/avatar/component.scss +4 -3
  13. package/src/components/avatar/index.scss +46 -34
  14. package/src/components/avatar/mods.scss +17 -2
  15. package/src/components/avatar/vars.scss +4 -0
  16. package/src/components/box/index.scss +20 -14
  17. package/src/components/breadcrumbs/index.scss +16 -10
  18. package/src/components/button/index.scss +143 -123
  19. package/src/components/button/mods.scss +33 -1
  20. package/src/components/button/states.scss +29 -3
  21. package/src/components/button/vars.scss +1 -1
  22. package/src/components/buttonGroup/component.scss +1 -1
  23. package/src/components/buttonGroup/index.scss +20 -8
  24. package/src/components/calendar/index.scss +56 -44
  25. package/src/components/callout/component.scss +13 -4
  26. package/src/components/callout/index.scss +17 -4
  27. package/src/components/callout/mods.scss +30 -2
  28. package/src/components/callout/vars.scss +5 -0
  29. package/src/components/calloutDisclosure/index.scss +15 -9
  30. package/src/components/calloutFeedbackList/index.scss +8 -4
  31. package/src/components/calloutPopover/index.scss +18 -12
  32. package/src/components/card/index.scss +26 -20
  33. package/src/components/checkbox/index.scss +36 -30
  34. package/src/components/checkboxField/index.scss +90 -80
  35. package/src/components/chip/index.scss +23 -17
  36. package/src/components/clear/index.scss +23 -17
  37. package/src/components/code/index.scss +8 -4
  38. package/src/components/collapse/index.scss +11 -7
  39. package/src/components/comment/index.scss +30 -20
  40. package/src/components/container/index.scss +29 -25
  41. package/src/components/contentSection/index.scss +4 -2
  42. package/src/components/dataTable/component.scss +2 -0
  43. package/src/components/dataTable/index.scss +85 -49
  44. package/src/components/dataTable/mods.scss +4 -5
  45. package/src/components/dataTable/states.scss +12 -0
  46. package/src/components/dataTableSticked/index.scss +32 -24
  47. package/src/components/dateField/index.scss +24 -20
  48. package/src/components/dateRangeField/index.scss +29 -25
  49. package/src/components/dialog/index.scss +40 -32
  50. package/src/components/dialog/mods.scss +4 -0
  51. package/src/components/divider/index.scss +11 -7
  52. package/src/components/dropdown/index.scss +12 -6
  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 +96 -76
  57. package/src/components/fieldset/index.scss +18 -12
  58. package/src/components/file/index.scss +38 -30
  59. package/src/components/fileEntry/index.scss +24 -18
  60. package/src/components/fileToolbar/index.scss +10 -6
  61. package/src/components/fileUpload/index.scss +37 -31
  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 +56 -48
  65. package/src/components/filters/index.scss +14 -8
  66. package/src/components/footer/component.scss +0 -1
  67. package/src/components/footer/index.scss +38 -34
  68. package/src/components/form/component.scss +10 -0
  69. package/src/components/form/index.scss +114 -84
  70. package/src/components/form/mods.scss +7 -5
  71. package/src/components/formLabel/index.scss +19 -13
  72. package/src/components/gauge/component.scss +71 -14
  73. package/src/components/gauge/index.scss +31 -6
  74. package/src/components/gauge/mods.scss +21 -7
  75. package/src/components/gauge/states.scss +8 -0
  76. package/src/components/gauge/vars.scss +16 -1
  77. package/src/components/grid/index.scss +25 -21
  78. package/src/components/header/index.scss +18 -12
  79. package/src/components/highlightData/index.scss +28 -24
  80. package/src/components/horizontalNavigation/index.scss +42 -36
  81. package/src/components/index.scss +58 -55
  82. package/src/components/indexTable/index.scss +54 -56
  83. package/src/components/inlineMessage/index.scss +18 -12
  84. package/src/components/inputFramed/component.scss +1 -0
  85. package/src/components/inputFramed/index.scss +34 -24
  86. package/src/components/inputFramed/mods.scss +3 -0
  87. package/src/components/inputFramed/vars.scss +1 -0
  88. package/src/components/label/index.scss +13 -9
  89. package/src/components/layout/index.scss +51 -45
  90. package/src/components/link/index.scss +14 -8
  91. package/src/components/link/mods.scss +1 -1
  92. package/src/components/list/index.scss +15 -11
  93. package/src/components/listboxOption/index.scss +131 -115
  94. package/src/components/listing/index.scss +22 -18
  95. package/src/components/loading/index.scss +27 -23
  96. package/src/components/main/index.scss +21 -15
  97. package/src/components/mainLayout/index.scss +26 -20
  98. package/src/components/mobileHeader/index.scss +8 -4
  99. package/src/components/mobileNavigation/index.scss +4 -2
  100. package/src/components/mobilePush/index.scss +8 -4
  101. package/src/components/multiSelect/index.scss +46 -36
  102. package/src/components/navside/index.scss +78 -56
  103. package/src/components/newBadge/index.scss +8 -4
  104. package/src/components/notchBox/index.scss +17 -13
  105. package/src/components/notchBox/mods.scss +137 -125
  106. package/src/components/numericBadge/index.scss +22 -16
  107. package/src/components/pageHeader/index.scss +26 -22
  108. package/src/components/pagination/index.scss +12 -6
  109. package/src/components/plgPush/index.scss +4 -2
  110. package/src/components/popover/index.scss +4 -2
  111. package/src/components/progress/index.scss +15 -9
  112. package/src/components/radio/index.scss +18 -12
  113. package/src/components/radioButtons/index.scss +15 -9
  114. package/src/components/radioField/index.scss +46 -40
  115. package/src/components/readMore/index.scss +21 -15
  116. package/src/components/richText/index.scss +20 -14
  117. package/src/components/scrollBox/index.scss +14 -10
  118. package/src/components/section/index.scss +16 -12
  119. package/src/components/segmentedControl/component.scss +1 -0
  120. package/src/components/segmentedControl/index.scss +25 -15
  121. package/src/components/simpleSelect/index.scss +41 -33
  122. package/src/components/skeleton/index.scss +43 -37
  123. package/src/components/skipLinks/index.scss +4 -2
  124. package/src/components/sortableList/index.scss +12 -6
  125. package/src/components/statusBadge/index.scss +8 -4
  126. package/src/components/suggestion/component.scss +19 -0
  127. package/src/components/suggestion/exports.scss +4 -0
  128. package/src/components/suggestion/index.scss +16 -0
  129. package/src/components/suggestion/mods.scss +0 -0
  130. package/src/components/suggestion/states.scss +12 -0
  131. package/src/components/suggestion/vars.scss +4 -0
  132. package/src/components/switch/index.scss +35 -29
  133. package/src/components/switchField/index.scss +22 -16
  134. package/src/components/table/index.scss +78 -64
  135. package/src/components/tableFixed/index.scss +13 -11
  136. package/src/components/tableFixedDeprecated/index.scss +14 -10
  137. package/src/components/tableOfContent/index.scss +28 -24
  138. package/src/components/tableSortable/index.scss +22 -16
  139. package/src/components/tableSticked/index.scss +28 -24
  140. package/src/components/tableSticked/mods.scss +6 -6
  141. package/src/components/tableStickedDeprecated/index.scss +46 -40
  142. package/src/components/tag/component.scss +4 -1
  143. package/src/components/tag/index.scss +32 -14
  144. package/src/components/tag/mods.scss +30 -3
  145. package/src/components/tag/states.scss +6 -0
  146. package/src/components/tag/vars.scss +2 -0
  147. package/src/components/textField/component.scss +1 -0
  148. package/src/components/textField/index.scss +33 -21
  149. package/src/components/textField/mods.scss +1 -1
  150. package/src/components/textField/states.scss +5 -0
  151. package/src/components/textField/vars.scss +1 -0
  152. package/src/components/textFlow/index.scss +4 -2
  153. package/src/components/textfields/index.scss +279 -258
  154. package/src/components/timeline/index.scss +72 -66
  155. package/src/components/timepicker/index.scss +21 -15
  156. package/src/components/title/index.scss +44 -27
  157. package/src/components/title/mods.scss +7 -1
  158. package/src/components/titleSection/index.scss +31 -23
  159. package/src/components/toast/index.scss +8 -4
  160. package/src/components/tooltip/index.scss +25 -21
  161. package/src/components/userPopover/component.scss +1 -0
  162. package/src/components/userPopover/index.scss +4 -2
  163. package/src/components/userTile/index.scss +26 -22
  164. package/src/components/verticalNavigation/index.scss +26 -16
@@ -1,402 +1,423 @@
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;
9
+ @layer states {
10
+ .textfield-input {
11
+ &:is([disabled], .is-disabled, .disabled, [readonly], .is-readonly, .readonly) {
12
+ @include inputDisabled;
23
13
  }
14
+ }
24
15
 
25
- &:is([aria-pressed='false']) {
26
- @include passwordActionNotPressed;
27
- }
16
+
17
+ &:is(.is-open, .open) {
18
+ @include open;
28
19
  }
29
20
  }
30
21
 
31
- &.mod-search,
32
- &.mod-autocomplete {
33
- @include search;
22
+ @layer mods {
23
+ &.mod-password {
24
+ @include password;
34
25
 
35
- &.mod-clearable {
36
- @include searchClearable;
26
+ .textfield-suffix-action {
27
+ &:is([aria-pressed='true']) {
28
+ @include passwordActionPressed;
29
+ }
30
+
31
+ &:is([aria-pressed='false']) {
32
+ @include passwordActionNotPressed;
33
+ }
34
+ }
37
35
  }
38
36
 
39
- &.mod-S {
40
- @include searchS;
37
+ &.mod-search,
38
+ &.mod-autocomplete {
39
+ @include search;
41
40
 
42
41
  &.mod-clearable {
43
- @include searchClearableS;
42
+ @include searchClearable;
44
43
  }
45
- }
46
44
 
47
- &.mod-XS {
48
- @include searchXS;
45
+ &.mod-S {
46
+ @include searchS;
49
47
 
50
- &.mod-clearable {
51
- @include searchClearableXS;
48
+ &.mod-clearable {
49
+ @include searchClearableS;
50
+ }
52
51
  }
53
- }
54
- }
55
52
 
56
- &.mod-clearable {
57
- @include clearable;
53
+ &.mod-XS {
54
+ @include searchXS;
58
55
 
59
- &.mod-S {
60
- @include clearableS;
56
+ &.mod-clearable {
57
+ @include searchClearableXS;
58
+ }
59
+ }
61
60
  }
62
61
 
63
- &.mod-XS {
64
- @include clearableXS;
65
- }
66
- }
62
+ &.mod-clearable {
63
+ @include clearable;
67
64
 
68
- &.mod-withSuffix {
69
- @include suffix;
70
- }
65
+ &.mod-S {
66
+ @include clearableS;
67
+ }
71
68
 
72
- &.mod-noLabel {
73
- @include noLabel;
69
+ &.mod-XS {
70
+ @include clearableXS;
71
+ }
72
+ }
74
73
 
75
- &.mod-XS {
76
- @include noLabelXS;
74
+ &.mod-withSuffix {
75
+ @include suffix;
77
76
  }
78
- }
79
77
 
80
- &.mod-multiline {
81
- @include multiline;
78
+ &.mod-noLabel {
79
+ @include noLabel;
82
80
 
83
- &.mod-S {
84
- @include multilineS;
81
+ &.mod-XS {
82
+ @include noLabelXS;
83
+ }
85
84
  }
86
- }
87
85
 
88
- &.mod-invert {
89
- @include invert;
90
- }
86
+ &.mod-multiline {
87
+ @include multiline;
91
88
 
92
- &.mod-radio {
93
- @include radio;
94
- }
89
+ &.mod-S {
90
+ @include multilineS;
91
+ }
92
+ }
95
93
 
96
- &.mod-filter {
97
- @include filter;
94
+ &.mod-invert {
95
+ @include invert;
96
+ }
98
97
 
99
- &:is(:hover) {
100
- @include filterHover;
98
+ &.mod-radio {
99
+ @include radio;
101
100
  }
102
- }
103
101
 
104
- &.mod-S {
105
- @include S;
102
+ &.mod-filter {
103
+ @include filter;
106
104
 
107
- &.textfield-input {
108
- &.mod-icon {
109
- @include inputIconS;
105
+ &:is(:hover) {
106
+ @include filterHover;
110
107
  }
111
108
  }
112
- }
113
109
 
114
- &.mod-XS {
115
- @include XS;
110
+ &.mod-S {
111
+ @include S;
116
112
 
117
- &.textfield-input {
118
- &.mod-icon {
119
- @include inputIconXS;
113
+ &.textfield-input {
114
+ &.mod-icon {
115
+ @include inputIconS;
116
+ }
120
117
  }
121
118
  }
122
- }
123
-
124
- &.mod-shortest {
125
- @include size('shortest');
126
- }
127
-
128
- &.mod-shorter {
129
- @include size('shorter');
130
- }
131
-
132
- &.mod-short {
133
- @include size('short');
134
- }
135
-
136
- &.mod-default {
137
- @include size('default');
138
- }
139
-
140
- &.mod-long {
141
- @include size('long');
142
- }
143
-
144
- &.mod-longer {
145
- @include size('longer');
146
- }
147
119
 
148
- &.mod-longest {
149
- @include size('longest');
150
- }
151
-
152
- &.mod-compact {
153
- @include compact;
120
+ &.mod-XS {
121
+ @include XS;
154
122
 
155
- &.mod-multiline {
156
- @include compactMultiline;
123
+ &.textfield-input {
124
+ &.mod-icon {
125
+ @include inputIconXS;
126
+ }
127
+ }
157
128
  }
158
129
 
159
130
  &.mod-shortest {
160
- @include compactSize('shortest');
131
+ @include size('shortest');
161
132
  }
162
133
 
163
134
  &.mod-shorter {
164
- @include compactSize('shorter');
135
+ @include size('shorter');
165
136
  }
166
137
 
167
138
  &.mod-short {
168
- @include compactSize('short');
139
+ @include size('short');
169
140
  }
170
141
 
171
142
  &.mod-default {
172
- @include compactSize('default');
143
+ @include size('default');
173
144
  }
174
145
 
175
146
  &.mod-long {
176
- @include compactSize('long');
147
+ @include size('long');
177
148
  }
178
149
 
179
150
  &.mod-longer {
180
- @include compactSize('longer');
151
+ @include size('longer');
181
152
  }
182
153
 
183
154
  &.mod-longest {
184
- @include compactSize('longest');
155
+ @include size('longest');
185
156
  }
186
- }
187
157
 
188
- &.mod-material {
189
- @include material;
158
+ &.mod-compact {
159
+ @include compact;
190
160
 
191
- &.mod-search {
192
- &.mod-block {
193
- &.mod-clearable {
194
- @include materialSearchBlockClearableInput;
195
- }
161
+ &.mod-multiline {
162
+ @include compactMultiline;
196
163
  }
197
- }
198
164
 
199
- .textfield-input {
200
- &:is(:focus, .is-focused, .focused) {
201
- @include materialInputFocus;
165
+ &.mod-shortest {
166
+ @include compactSize('shortest');
202
167
  }
203
168
 
204
- &:is(.is-filled, .filled) {
205
- @include materialInputFilled;
169
+ &.mod-shorter {
170
+ @include compactSize('shorter');
206
171
  }
207
172
 
208
- &:is([disabled], .is-disabled, .disabled, [readonly], .is-readonly, .readonly) {
209
- @include materialInputDisabled;
173
+ &.mod-short {
174
+ @include compactSize('short');
210
175
  }
211
176
 
212
- &:is(.is-invalid, .invalid, .is-error, .error) {
213
- @include materialInputState('error');
177
+ &.mod-default {
178
+ @include compactSize('default');
214
179
  }
215
180
 
216
- &:is(.is-warning, .warning) {
217
- @include materialInputState('warning');
181
+ &.mod-long {
182
+ @include compactSize('long');
218
183
  }
219
184
 
220
- &:is(.is-success, .success) {
221
- @include materialInputState('success');
185
+ &.mod-longer {
186
+ @include compactSize('longer');
222
187
  }
223
- }
224
188
 
225
- &.mod-S {
226
- @include materialS;
189
+ &.mod-longest {
190
+ @include compactSize('longest');
191
+ }
227
192
  }
193
+ }
228
194
 
229
- &.mod-withSuffix {
230
- @include materialSuffix;
231
- }
195
+ @layer mods {
196
+ &.mod-material {
197
+ @include material;
232
198
 
233
- &.mod-noLabel {
234
- @include materialNoLabel;
235
- }
199
+ &.mod-search {
200
+ &.mod-block {
201
+ &.mod-clearable {
202
+ @include materialSearchBlockClearableInput;
203
+ }
204
+ }
205
+ }
236
206
 
237
- &.mod-search,
238
- &.mod-autocomplete {
239
- @include materialSearch;
240
- }
207
+ &.mod-S {
208
+ @include materialS;
209
+ }
241
210
 
242
- &.mod-radio {
243
- @include materialRadio;
244
- }
211
+ &.mod-withSuffix {
212
+ @include materialSuffix;
213
+ }
245
214
 
246
- &:is(.is-loading, .loading) {
247
- @include materialLoading;
248
- }
215
+ &.mod-noLabel {
216
+ @include materialNoLabel;
217
+ }
218
+
219
+ &.mod-search,
220
+ &.mod-autocomplete {
221
+ @include materialSearch;
222
+ }
249
223
 
250
- &:is(.is-valid, .valid) {
251
- @include materialValid;
224
+ &.mod-radio {
225
+ @include materialRadio;
226
+ }
252
227
  }
253
228
  }
254
- }
255
229
 
256
- .textfield-input {
257
- &:is(:hover) {
258
- @include inputHover;
259
- }
230
+ @layer states {
231
+ &.mod-material {
232
+ .textfield-input {
233
+ &:is(:focus, .is-focused, .focused) {
234
+ @include materialInputFocus;
235
+ }
260
236
 
261
- &:is(:focus-visible, .is-focused, .focused) {
262
- @include inputFocus;
263
- }
264
- }
237
+ &:is(.is-filled, .filled) {
238
+ @include materialInputFilled;
239
+ }
265
240
 
266
- .textfield-suffix {
267
- &.mod-icon {
268
- @include suffixIcon;
269
- }
270
- }
241
+ &:is([disabled], .is-disabled, .disabled, [readonly], .is-readonly, .readonly) {
242
+ @include materialInputDisabled;
243
+ }
244
+
245
+ &:is(.is-invalid, .invalid, .is-error, .error) {
246
+ @include materialInputState('error');
247
+ }
271
248
 
272
- .textfield-options-entry {
273
- &:is(:hover, .is-focus, .focus) {
274
- @include entryHover;
249
+ &:is(.is-warning, .warning) {
250
+ @include materialInputState('warning');
251
+ }
252
+
253
+ &:is(.is-success, .success) {
254
+ @include materialInputState('success');
255
+ }
256
+ }
257
+
258
+ &:is(.is-loading, .loading) {
259
+ @include materialLoading;
260
+ }
261
+
262
+ &:is(.is-valid, .valid) {
263
+ @include materialValid;
264
+ }
265
+ }
275
266
  }
276
267
  }
277
268
 
278
- .textfield.mod-framed,
279
- .form.mod-framed .textfield {
280
- @include framed;
269
+ @layer states {
270
+ .textfield-input {
271
+ &:is(:hover) {
272
+ @include inputHover;
273
+ }
281
274
 
282
- &.mod-multiline {
283
- @include framedMultiline;
275
+ &:is(:focus-visible, .is-focused, .focused) {
276
+ @include inputFocus;
277
+ }
278
+ }
284
279
 
285
- &.mod-S {
286
- @include framedMultilineS;
280
+ .textfield-options-entry {
281
+ &:is(:hover, .is-focus, .focus) {
282
+ @include entryHover;
287
283
  }
288
284
  }
285
+ }
289
286
 
290
- &.mod-search {
291
- @include framedSearch;
287
+ @layer mods {
288
+ .textfield-suffix {
289
+ &.mod-icon {
290
+ @include suffixIcon;
291
+ }
292
292
  }
293
+ }
293
294
 
294
- &:is(.is-error, .error) {
295
- @include framedState('error');
295
+ @layer mods {
296
+ .textfield.mod-framed,
297
+ .form.mod-framed .textfield {
298
+ @include framed;
296
299
 
297
- &:is(:focus-within, :hover) {
298
- @include framedErrorHover;
299
- }
300
+ &.mod-multiline {
301
+ @include framedMultiline;
300
302
 
301
- &:is(:hover) {
302
- @include framedStateHover('error');
303
+ &.mod-S {
304
+ @include framedMultilineS;
305
+ }
303
306
  }
304
307
 
305
- &:is(:focus-within) {
306
- @include framedStateFocus('error');
308
+ &.mod-search {
309
+ @include framedSearch;
307
310
  }
311
+ }
312
+ }
308
313
 
309
- .textfield-input {
310
- &:hover {
311
- @include framedStateInputHover('error');
314
+ @layer states {
315
+ .textfield.mod-framed,
316
+ .form.mod-framed .textfield {
317
+ &:is(.is-error, .error) {
318
+ @include framedState('error');
319
+
320
+ &:is(:focus-within, :hover) {
321
+ @include framedErrorHover;
312
322
  }
313
323
 
314
- &:focus {
315
- @include framedStateInputFocus('error');
324
+ &:is(:hover) {
325
+ @include framedStateHover('error');
316
326
  }
317
- }
318
327
 
319
- &.mod-search,
320
- &.mod-autocomplete,
321
- &.mod-select {
322
- @include framedStateSearch('error');
323
- }
324
- }
328
+ &:is(:focus-within) {
329
+ @include framedStateFocus('error');
330
+ }
325
331
 
326
- &:is(.is-loading, .loading) {
327
- @include framedLoading;
328
- }
332
+ .textfield-input {
333
+ &:hover {
334
+ @include framedStateInputHover('error');
335
+ }
329
336
 
330
- &:is(.is-warning, .warning) {
331
- @include framedState('warning');
337
+ &:focus {
338
+ @include framedStateInputFocus('error');
339
+ }
340
+ }
332
341
 
333
- &:is(:hover) {
334
- @include framedStateHover('warning');
342
+ &.mod-search,
343
+ &.mod-autocomplete,
344
+ &.mod-select {
345
+ @include framedStateSearch('error');
346
+ }
335
347
  }
336
348
 
337
- &:is(:focus-within) {
338
- @include framedStateFocus('warning');
349
+ &:is(.is-loading, .loading) {
350
+ @include framedLoading;
339
351
  }
340
352
 
341
- .textfield-input {
342
- &:hover {
343
- @include framedStateInputHover('warning');
353
+ &:is(.is-warning, .warning) {
354
+ @include framedState('warning');
355
+
356
+ &:is(:hover) {
357
+ @include framedStateHover('warning');
344
358
  }
345
359
 
346
- &:focus {
347
- @include framedStateInputFocus('warning');
360
+ &:is(:focus-within) {
361
+ @include framedStateFocus('warning');
348
362
  }
349
- }
350
363
 
351
- &.mod-search,
352
- &.mod-autocomplete,
353
- &.mod-select {
354
- @include framedStateSearch('warning');
355
- }
356
- }
364
+ .textfield-input {
365
+ &:hover {
366
+ @include framedStateInputHover('warning');
367
+ }
357
368
 
358
- &:is(.is-success, .is-valid, .valid, .success) {
359
- @include framedState('success');
369
+ &:focus {
370
+ @include framedStateInputFocus('warning');
371
+ }
372
+ }
360
373
 
361
- &:is(:hover) {
362
- @include framedStateHover('success');
374
+ &.mod-search,
375
+ &.mod-autocomplete,
376
+ &.mod-select {
377
+ @include framedStateSearch('warning');
378
+ }
363
379
  }
364
380
 
365
- &:is(:focus-within) {
366
- @include framedStateFocus('success');
367
- }
381
+ &:is(.is-success, .is-valid, .valid, .success) {
382
+ @include framedState('success');
368
383
 
369
- .textfield-input {
370
- &:hover {
371
- @include framedStateInputHover('success');
384
+ &:is(:hover) {
385
+ @include framedStateHover('success');
372
386
  }
373
387
 
374
- &:focus {
375
- @include framedStateInputFocus('success');
388
+ &:is(:focus-within) {
389
+ @include framedStateFocus('success');
376
390
  }
377
- }
378
391
 
379
- &.mod-search,
380
- &.mod-autocomplete,
381
- &.mod-select {
382
- @include framedStateSearch('success');
383
- }
384
- }
392
+ .textfield-input {
393
+ &:hover {
394
+ @include framedStateInputHover('success');
395
+ }
385
396
 
386
- .textfield-input {
387
- &:is(:hover) {
388
- @include framedInputHover;
389
- }
397
+ &:focus {
398
+ @include framedStateInputFocus('success');
399
+ }
400
+ }
390
401
 
391
- &:is(:focus) {
392
- @include framedInputFocus;
402
+ &.mod-search,
403
+ &.mod-autocomplete,
404
+ &.mod-select {
405
+ @include framedStateSearch('success');
406
+ }
393
407
  }
394
408
 
395
- &:is(:invalid, .is-invalid, .invalid) {
396
- @include framedInputInvalid;
397
- }
409
+ .textfield-input {
410
+ &:is(:hover) {
411
+ @include framedInputHover;
412
+ }
398
413
 
399
- &:is(.is-error, .invalid) {
414
+ &:is(:focus) {
415
+ @include framedInputFocus;
416
+ }
417
+
418
+ &:is(:invalid, .is-invalid, .invalid) {
419
+ @include framedInputInvalid;
420
+ }
400
421
  }
401
422
  }
402
423
  }