@@ -157,7 +157,6 @@ input:placeholder-shown + [part='notch'] [part='label'],
157157 }
158158}
159159
160-
161160:host ([readonly ]:not ([outlined ]):focus-within ) {
162161 :not ([part ~= ' filled' ]) {
163162 input :has (:not (:placeholder-shown )) + [part = ' notch' ] [part = ' label' ] {
@@ -217,13 +216,27 @@ input:placeholder-shown + [part='notch'] [part='label'],
217216 }
218217}
219218
220- :host (:not ([outlined ],[type = ' search' ],[aria-haspopup = ' dialog' ],[role = ' combobox' ])[readonly ]) {
219+ :host (
220+ :not (
221+ [outlined ],
222+ [type = ' search' ],
223+ [aria-haspopup = ' dialog' ],
224+ [role = ' combobox' ]
225+ )[readonly ]
226+ ) {
221227 [part ~= ' container' ] {
222228 background : var-get ($theme , ' box-background-focus' );
223229 }
224230}
225231
226- :host (:not ([outlined ],[type = ' search' ],[aria-haspopup = ' dialog' ],[role = ' combobox' ])[readonly ]:hover ) {
232+ :host (
233+ :not (
234+ [outlined ],
235+ [type = ' search' ],
236+ [aria-haspopup = ' dialog' ],
237+ [role = ' combobox' ]
238+ )[readonly ]:hover
239+ ) {
227240 [part ~= ' container' ] {
228241 background : var-get ($theme , ' box-background-focus' );
229242 border-bottom-color : var-get ($theme , ' idle-bottom-line-color' );
@@ -246,7 +259,13 @@ input:placeholder-shown + [part='notch'] [part='label'],
246259}
247260
248261:host (:not ([outlined ]):focus-within ),
249- :host (:not ([outlined ],[aria-haspopup = ' dialog' ],[role = ' combobox' ])[readonly ]:focus-within ) {
262+ :host (
263+ :not (
264+ [outlined ],
265+ [aria-haspopup = ' dialog' ],
266+ [role = ' combobox' ]
267+ )[readonly ]:focus-within
268+ ) {
250269 [part ~= ' container' ] {
251270 background : var-get ($theme , ' box-background-focus' );
252271 border-bottom-color : var-get ($theme , ' focused-bottom-line-color' );
@@ -259,18 +278,26 @@ input:placeholder-shown + [part='notch'] [part='label'],
259278 }
260279}
261280
262- :host (:not ([outlined ],[aria-haspopup = ' dialog' ],[role = ' combobox' ])[readonly ]:focus-within ) {
281+ :host (
282+ :not (
283+ [outlined ],
284+ [aria-haspopup = ' dialog' ],
285+ [role = ' combobox' ]
286+ )[readonly ]:focus-within
287+ ) {
263288 [part = ' label' ] {
264289 @include type-style (' caption' );
265290
266291 translate : 0 -73% ;
267292 }
268293}
269294
270- :host (:not ([outlined ],[disabled ],[readonly ]):state(ig-invalid)),
271- :host (:not ([outlined ],[disabled ],[readonly ]):state(ig-invalid):focus-within ),
272- :host (:not ([disabled ],[outlined ])[role = ' combobox' ]:state(ig-invalid)),
273- :host (:not ([disabled ],[outlined ])[role = ' combobox' ]:state(ig-invalid):focus-within ) {
295+ :host (:not ([outlined ], [disabled ], [readonly ]):state(ig-invalid)),
296+ :host (:not ([outlined ], [disabled ], [readonly ]):state(ig-invalid):focus-within ),
297+ :host (:not ([disabled ], [outlined ])[role = ' combobox' ]:state(ig-invalid)),
298+ :host (
299+ :not ([disabled ], [outlined ])[role = ' combobox' ]:state(ig-invalid):focus-within
300+ ) {
274301 [part ~= ' container' ] {
275302 border-color : var-get ($theme , ' error-secondary-color' );
276303
@@ -332,6 +359,10 @@ input:placeholder-shown + [part='notch'] [part='label'],
332359 padding-top : pad-block (rem (20px ));
333360 padding-bottom : pad-block (rem (6px ));
334361 }
362+
363+ [part = ' notch' ] {
364+ border : none ;
365+ }
335366}
336367
337368:host ([outlined ][type = ' search' ]:focus-within ) {
@@ -434,7 +465,9 @@ input:placeholder-shown + [part='notch'] [part='label'],
434465 }
435466}
436467
437- :host (:not ([aria-haspopup = ' dialog' ],[role = ' combobox' ])[outlined ][readonly ]:hover ) {
468+ :host (
469+ :not ([aria-haspopup = ' dialog' ], [role = ' combobox' ])[outlined ][readonly ]:hover
470+ ) {
438471 [part = ' notch' ],
439472 [part = ' start' ],
440473 [part = ' end' ],
@@ -447,7 +480,12 @@ input:placeholder-shown + [part='notch'] [part='label'],
447480 }
448481}
449482
450- :host (:not ([aria-haspopup = ' dialog' ],[role = ' combobox' ])[outlined ][readonly ]:focus-within ) {
483+ :host (
484+ :not (
485+ [aria-haspopup = ' dialog' ],
486+ [role = ' combobox' ]
487+ )[outlined ][readonly ]:focus-within
488+ ) {
451489 [part = ' notch' ],
452490 [part = ' start' ],
453491 [part = ' end' ],
@@ -460,7 +498,9 @@ input:placeholder-shown + [part='notch'] [part='label'],
460498 }
461499}
462500
463- :host (:not (:state(ig-invalid ),[type = ' search' ])[readonly ][outlined ]:focus-within ) {
501+ :host (
502+ :not (:state(ig-invalid ), [type = ' search' ])[readonly ][outlined ]:focus-within
503+ ) {
464504 :not ([part ~= ' filled' ]) {
465505 input :has (:not (:placeholder-shown )) + [part = ' notch' ] [part = ' label' ] {
466506 translate : 0 ;
@@ -542,7 +582,13 @@ input:placeholder-shown + [part='notch'] [part='label'],
542582 }
543583}
544584
545- :host (:not ([type = ' search' ],[aria-haspopup = ' dialog' ],[role = ' combobox' ])[outlined ]:focus-within ) {
585+ :host (
586+ :not (
587+ [type = ' search' ],
588+ [aria-haspopup = ' dialog' ],
589+ [role = ' combobox' ]
590+ )[outlined ]:focus-within
591+ ) {
546592 [part = ' notch' ] {
547593 border : {
548594 width : $active-border-width ;
@@ -570,10 +616,14 @@ input:placeholder-shown + [part='notch'] [part='label'],
570616 }
571617}
572618
573- :host (:not ([type = ' search' ],[readonly ])[outlined ]:state(ig-invalid)),
574- :host (:not ([type = ' search' ],[readonly ])[outlined ]:state(ig-invalid):focus-within ),
619+ :host (:not ([type = ' search' ], [readonly ])[outlined ]:state(ig-invalid)),
620+ :host (
621+ :not ([type = ' search' ], [readonly ])[outlined ]:state(ig-invalid):focus-within
622+ ),
575623:host (:not ([disabled ])[role = ' combobox' ][outlined ]:state(ig-invalid)),
576- :host (:not ([disabled ])[role = ' combobox' ][outlined ]:state(ig-invalid):focus-within ) {
624+ :host (
625+ :not ([disabled ])[role = ' combobox' ][outlined ]:state(ig-invalid):focus-within
626+ ) {
577627 [part = ' start' ],
578628 [part = ' notch' ],
579629 [part = ' filler' ],
@@ -587,8 +637,10 @@ input:placeholder-shown + [part='notch'] [part='label'],
587637 }
588638}
589639
590- :host (:not ([disabled ])[role = ' combobox' ][outlined ]:state(ig-invalid):focus-within ) {
591- :not ([part ~= ' filled' ]) {
640+ :host (
641+ :not ([disabled ])[role = ' combobox' ][outlined ]:state(ig-invalid):focus-within
642+ ) {
643+ :not ([part ~= ' filled' ]) {
592644 input :not (:placeholder-shown ) + [part = ' notch' ] {
593645 border-width : $active-border-width ;
594646 }
@@ -603,7 +655,11 @@ input:placeholder-shown + [part='notch'] [part='label'],
603655}
604656
605657:host (:not ([disabled ], [readonly ])[role = ' combobox' ][outlined ]:focus-within ),
606- :host (:not ([disabled ], [readonly ])[role = ' combobox' ][outlined ]:state(ig-invalid):focus-within ) {
658+ :host (
659+ :not ([disabled ], [readonly ])[role = ' combobox' ][outlined ]:state(
660+ ig-invalid
661+ ):focus-within
662+ ) {
607663 :not ([part ~= ' filled' ]) {
608664 input :not (:placeholder-shown ) + [part = ' notch' ] {
609665 border-top : $idle-border-width solid transparent ;
@@ -615,8 +671,7 @@ input:placeholder-shown + [part='notch'] [part='label'],
615671 }
616672}
617673
618-
619- :host (:not ([disabled ],[readonly ]):state(ig-invalid)),
674+ :host (:not ([disabled ], [readonly ]):state(ig-invalid)),
620675:host (:not ([disabled ])[role = ' combobox' ]:state(ig-invalid)) {
621676 [part = ' label' ] {
622677 color : var-get ($theme , ' error-secondary-color' );
@@ -642,12 +697,6 @@ input:placeholder-shown + [part='notch'] [part='label'],
642697 }
643698}
644699
645- :host ([type = ' search' ][outlined ]) {
646- [part = ' notch' ] {
647- border : none ;
648- }
649- }
650-
651700:host (:disabled ),
652701:host ([disabled ]) {
653702 [part ~= ' input' ],
0 commit comments