@@ -27,13 +27,15 @@ $border-radius: var-get($_theme, 'border-border-radius');
2727 .igx-input-group__bundle-main {
2828 border-start-start-radius : $border-radius ;
2929 border-end-start-radius : $border-radius ;
30+
3031 }
3132 }
3233
3334 igx-input-group :not (.igx-input-group--suffixed ) {
3435 .igx-input-group__bundle-main {
3536 border-start-end-radius : $border-radius ;
3637 border-end-end-radius : $border-radius ;
38+ border-inline-start-width : $border-size ;
3739 }
3840 }
3941
@@ -42,6 +44,20 @@ $border-radius: var-get($_theme, 'border-border-radius');
4244 border-radius : $border-radius ;
4345 }
4446 }
47+
48+ igx-suffix + .igx-input-group__toggle-button ,
49+ [igxSuffix ] + .igx-input-group__toggle-button {
50+ // Add border between the toggle button and the rest of the suffixes
51+ border-inline-start : $border-size solid $border-color ;
52+ }
53+
54+ igx-input-group :not (.igx-input-group--disabled ) {
55+ .igx-input-group__clear-icon + igx-suffix ,
56+ .igx-input-group__clear-icon + [igxSuffix ] {
57+ // Add border between the clear button and the rest of the suffixes
58+ border-inline-start : $border-size solid $border-color ;
59+ }
60+ }
4561 }
4662}
4763
@@ -64,9 +80,7 @@ $border-radius: var-get($_theme, 'border-border-radius');
6480 @include e (upload) {
6581 @extend %border-styles ;
6682
67- border-block-width : $border-size ;
68- border-inline-start-width : $border-size ;
69- border-inline-end-width : 0 ;
83+ border-width : $border-size ;
7084 background : var-get ($_theme , ' input-prefix-background' );
7185 grid-row : 2 ;
7286 }
@@ -114,6 +128,8 @@ $border-radius: var-get($_theme, 'border-border-radius');
114128 font-size : sizable (rem (16px ), rem (16px ), rem (20px ));
115129 height : 100% ;
116130 padding-block : 0 ;
131+ border-block : $border-size solid $border-color ;
132+ border-inline-end : $border-size solid $border-color ;
117133 padding-inline : pad-inline (rem (8px ), rem (12px ), rem (16px ));
118134 }
119135
@@ -153,6 +169,14 @@ $border-radius: var-get($_theme, 'border-border-radius');
153169 }
154170 }
155171
172+ @include m (file, $not : (suffixed)) {
173+ @include e (file- input) {
174+ border-start-end-radius : $border-radius ;
175+ border-end-end-radius : $border-radius ;
176+ border-inline-start-width : $border-size ;
177+ }
178+ }
179+
156180 @include e (bundle- start) {
157181 & :empty {
158182 border : 0 ;
@@ -192,13 +216,22 @@ $border-radius: var-get($_theme, 'border-border-radius');
192216 transition : border .15s ease-out ;
193217 border-color : var-get ($_theme , ' focused-border-color' );
194218 }
219+
220+ @include e (file- input) {
221+ transition : border .15s ease-out ;
222+ border-color : var-get ($_theme , ' focused-border-color' );
223+ }
195224 }
196225
197226 @include m (invalid) {
198227 @include e (bundle- main) {
199228 border-color : var-get ($_theme , ' error-secondary-color' );
200229 }
201230
231+ @include e (file- input) {
232+ border-color : var-get ($_theme , ' error-secondary-color' );
233+ }
234+
202235 @include e (hint) {
203236 color : var-get ($_theme , ' error-secondary-color' );
204237 }
@@ -209,6 +242,10 @@ $border-radius: var-get($_theme, 'border-border-radius');
209242 border-color : var-get ($_theme , ' warning-secondary-color' );
210243 }
211244
245+ @include e (file- input) {
246+ border-color : var-get ($_theme , ' warning-secondary-color' );
247+ }
248+
212249 @include e (hint) {
213250 color : var-get ($_theme , ' warning-secondary-color' );
214251 }
@@ -219,6 +256,10 @@ $border-radius: var-get($_theme, 'border-border-radius');
219256 border-color : var-get ($_theme , ' success-secondary-color' );
220257 }
221258
259+ @include e (file- input) {
260+ border-color : var-get ($_theme , ' success-secondary-color' );
261+ }
262+
222263 @include e (hint) {
223264 color : var-get ($_theme , ' success-secondary-color' );
224265 }
@@ -228,18 +269,30 @@ $border-radius: var-get($_theme, 'border-border-radius');
228269 @include e (bundle- main) {
229270 border-color : var-get ($_theme , ' error-secondary-color' );
230271 }
272+
273+ @include e (file- input) {
274+ border-color : var-get ($_theme , ' error-secondary-color' );
275+ }
231276 }
232277
233278 @include mx (focused, warning) {
234279 @include e (bundle- main) {
235280 border-color : var-get ($_theme , ' warning-secondary-color' );
236281 }
282+
283+ @include e (file- input) {
284+ border-color : var-get ($_theme , ' warning-secondary-color' );
285+ }
237286 }
238287
239288 @include mx (focused, valid) {
240289 @include e (bundle- main) {
241290 border-color : var-get ($_theme , ' success-secondary-color' );
242291 }
292+
293+ @include e (bundle- main) {
294+ border-color : var-get ($_theme , ' warning-secondary-color' );
295+ }
243296 }
244297
245298 @include m (focused, $not : (file)) {
@@ -261,12 +314,12 @@ $border-radius: var-get($_theme, 'border-border-radius');
261314 }
262315 }
263316
264- // TODO: This state has no schema variable
265- // @include mx(focused, warning, ('not': (file)) ) {
266- // @include e(bundle-main) {
267- // box-shadow: 0 0 0 rem(4px) var-get($_theme, 'warning-shadow-color' );
268- // }
269- // }
317+ @include mx (focused, warning, ( ' not ' : (file))) {
318+ @include e (bundle - main ) {
319+ // TODO: This state has no schema variable
320+ box-shadow : 0 0 0 rem (4px ) color ( $color : ' warning' , $variant : 500 , $opacity : .38 );
321+ }
322+ }
270323
271324 $transition-border : border .15s ease-out ;
272325 $transition-box-shadow : box-shadow .15s ease-out ;
@@ -308,6 +361,12 @@ $border-radius: var-get($_theme, 'border-border-radius');
308361 @include e (bundle- end) {
309362 border-color : var-get ($_theme , ' focused-border-color' );
310363 }
364+
365+ .igx-input-group__clear-icon + igx-suffix ,
366+ .igx-input-group__clear-icon + [igxSuffix ] {
367+ // Add border between the clear button and the rest of the suffixes
368+ border-color : var-get ($_theme , ' focused-border-color' );
369+ }
311370 }
312371
313372 @include mx (file, valid) {
@@ -322,6 +381,12 @@ $border-radius: var-get($_theme, 'border-border-radius');
322381 @include e (bundle- end) {
323382 border-color : var-get ($_theme , ' success-secondary-color' );
324383 }
384+
385+ .igx-input-group__clear-icon + igx-suffix ,
386+ .igx-input-group__clear-icon + [igxSuffix ] {
387+ // Add border between the clear button and the rest of the suffixes
388+ border-color : var-get ($_theme , ' success-secondary-color' );
389+ }
325390 }
326391
327392 @include mx (file, invalid) {
@@ -350,6 +415,12 @@ $border-radius: var-get($_theme, 'border-border-radius');
350415 @include e (bundle- end) {
351416 border-color : var-get ($_theme , ' warning-secondary-color' );
352417 }
418+
419+ .igx-input-group__clear-icon + igx-suffix ,
420+ .igx-input-group__clear-icon + [igxSuffix ] {
421+ // Add border between the clear button and the rest of the suffixes
422+ border-color : var-get ($_theme , ' warning-secondary-color' );
423+ }
353424 }
354425
355426 @include mx (file, focused, valid) {
@@ -392,6 +463,18 @@ $border-radius: var-get($_theme, 'border-border-radius');
392463 @extend %disabled-styles ;
393464 }
394465
466+ @include e (file- input) {
467+ border-color : var-get ($_theme , ' disabled-border-color' );
468+ }
469+
470+ @include e (clear- icon) {
471+ pointer-events : none ;
472+ }
473+
474+ @include e (toggle- button) {
475+ border-color : var-get ($_theme , ' disabled-border-color' ) !important ;
476+ }
477+
395478 igx-prefix ,
396479 [igxPrefix ],
397480 igx-suffix :not (.igx-input-group__toggle-button ),
0 commit comments