Skip to content
9 changes: 4 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"globby": "^14.1.0",
"husky": "^9.1.7",
"ig-typedoc-theme": "^6.0.0",
"igniteui-theming": "^17.1.0",
"igniteui-theming": "^17.2.0",
"keep-a-changelog": "^2.6.2",
"lint-staged": "^15.5.1",
"lit-analyzer": "^2.0.3",
Expand Down
20 changes: 16 additions & 4 deletions src/components/input/themes/shared/input.fluent.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,6 @@ $focused-height: calc(var-get($theme, 'size') - #{($focused-border-width * 2)});
}

:host(:focus-within) {
[part='label'] {
color: color(gray, 800);
}

[part^='container'] {
border-color: var-get($theme, 'focused-border-color');
border-width: #{$focused-border-width};
Expand All @@ -110,10 +106,26 @@ $focused-height: calc(var-get($theme, 'size') - #{($focused-border-width * 2)});
}
}

:host([type='search']) {
[part='prefix'] {
background: var(--ig-input-group-input-prefix-background, transparent);
color: var(--ig-input-group-input-prefix-color, var(--ig-primary-500));
}

[part='suffix'] {
background: var(--ig-input-group-input-suffix-background, transparent);
color: var(--ig-input-group-input-suffix-color, var(--ig-primary-500));
}
}

:host([type='search']:focus-within) {
[part='prefix'] {
display: none;
}

[part='suffix'] {
color: var(--ig-input-group-input-suffix-color--focused, var(--ig-gray-900));
}
}

:host([required]) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/textarea/themes/shared/textarea.fluent.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ $theme: $fluent;
transform-origin: top left;
margin-top: 0;
height: auto;
margin-block-end: rem(4px);
margin-block-end: rem(5px);
}

:host([invalid]) {
Expand Down