@@ -10,6 +10,7 @@ $theme: $bootstrap;
1010 --input-font : #{sizable (rem (16px ), rem (16px ), rem (20px ))} ;
1111 --input-border-color : #{var-get ($theme , ' border-color' )} ;
1212 --input-height : #{var-get ($theme , ' size' )} ;
13+ --affix-padding : #{pad-inline (rem (8px ), rem (12px ), rem (14px ))} ;
1314
1415 ::part (helper-text ) {
1516 @include type-style (' body-2' );
@@ -18,6 +19,14 @@ $theme: $bootstrap;
1819 grid-auto-rows : minmax (rem (20px ), auto );
1920 margin-block-start : rem (4px );
2021 }
22+
23+ [part = ' prefix' ] {
24+ border-inline-start-width : 0 ;
25+ }
26+
27+ [part = ' suffix' ] {
28+ border-inline-end-width : 0 ;
29+ }
2130}
2231
2332[part ~= ' container' ] {
@@ -87,7 +96,6 @@ $theme: $bootstrap;
8796 align-items : center ;
8897 width : max-content ;
8998 height : 100% ;
90- padding-inline : pad-inline (8px , 12px , 16px );
9199}
92100
93101[part = ' prefix' ],
@@ -211,3 +219,25 @@ $theme: $bootstrap;
211219 color : var-get ($theme , ' disabled-text-color' );
212220 }
213221}
222+
223+ :host (:not (:disabled , [role = ' combobox' ])),
224+ :host (:not ([disabled ], [role = ' combobox' ])) {
225+ ::slotted ([slot= ' suffix' ] ) {
226+ border-inline-end : rem (1px ) solid var (--border-color );
227+ }
228+
229+ ::slotted([slot = ' prefix' ]) {
230+ border-inline-start : rem (1px ) solid var (--border-color );
231+ }
232+ }
233+
234+ :host (:disabled:not ([role = ' combobox' ])),
235+ :host ([disabled ]:not ([role = ' combobox' ])) {
236+ ::slotted ([slot= ' suffix' ] ) {
237+ border-inline-end : rem (1px ) solid var (--disabled-border-color );
238+ }
239+
240+ ::slotted([slot = ' prefix' ]) {
241+ border-inline-start : rem (1px ) solid var (--disabled-border-color );
242+ }
243+ }
0 commit comments