@@ -145,6 +145,8 @@ input:placeholder-shown + [part='notch'] [part='label'],
145145:host (:not ([readonly ]):focus-within ) {
146146 [part = ' label' ] {
147147 @include type-style (' caption' );
148+
149+ translate : 0 -73% ;
148150 }
149151}
150152
@@ -256,8 +258,12 @@ input:placeholder-shown + [part='notch'] [part='label'],
256258 opacity : 1 ;
257259 }
258260 }
261+ }
259262
263+ :host (:not ([outlined ],[aria-haspopup = ' dialog' ],[role = ' combobox' ])[readonly ]:focus-within ) {
260264 [part = ' label' ] {
265+ @include type-style (' caption' );
266+
261267 translate : 0 -73% ;
262268 }
263269}
@@ -496,6 +502,14 @@ input:placeholder-shown + [part='notch'] [part='label'],
496502 }
497503
498504 [part = ' notch' ] {
505+ border : {
506+ width : $active-border-width ;
507+ color : var-get ($theme , ' focused-border-color' );
508+ }
509+ }
510+
511+ input :placeholder- shown + [part=' notch' ],
512+ [part~=' filled' ] + [part=' notch' ] {
499513 border : {
500514 width : $active-border-width ;
501515 color : var-get ($theme , ' focused-border-color' );
@@ -524,6 +538,16 @@ input:placeholder-shown + [part='notch'] [part='label'],
524538 }
525539}
526540
541+ :host (:not ([type = ' search' ],[aria-haspopup = ' dialog' ],[role = ' combobox' ])[outlined ]:focus-within ) {
542+ [part = ' notch' ] {
543+ border : {
544+ width : $active-border-width ;
545+ color : var-get ($theme , ' focused-border-color' );
546+ top : $idle-border-width solid transparent ;
547+ }
548+ }
549+ }
550+
527551:host (:not ([type = ' search' ])[outlined ]:focus ),
528552:host (:not ([type = ' search' ])[outlined ]:focus-within ) {
529553 [part = ' suffix' ] {
0 commit comments