Skip to content

Commit 2c52e82

Browse files
committed
fix(input-group): remove unused interim-bottom-line-color property
1 parent 88d98ab commit 2c52e82

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

projects/igniteui-angular/migrations/update-20_0_0/changes/theme-changes.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
"remove": true,
77
"owner": "grid-summary-theme",
88
"type": "property"
9+
},
10+
{
11+
"name": "$interim-bottom-line-color",
12+
"remove": true,
13+
"owner": "input-group-theme",
14+
"type": "property"
915
}
1016
]
1117
}

projects/igniteui-angular/migrations/update-20_0_0/index.spec.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,24 @@ describe(`Update to ${version}`, () => {
3434
);`
3535
);
3636
});
37+
38+
it('should remove the $interim-bottom-line-color property from the input-group theme', async () => {
39+
const testFilePath = `/testSrc/appPrefix/component/test.component.scss`;
40+
41+
appTree.create(
42+
testFilePath,
43+
`$my-input-group-theme: input-group-theme(
44+
$box-background: #ccc,
45+
$interim-bottom-line-color: orange,
46+
);`
47+
);
48+
49+
const tree = await schematicRunner.runSchematic(migrationName, {}, appTree);
50+
51+
expect(tree.readContent(testFilePath)).toEqual(
52+
`$my-input-group-theme: input-group-theme(
53+
$box-background: #ccc,
54+
);`
55+
);
56+
});
3757
});

projects/igniteui-angular/src/lib/core/styles/components/input/_input-group-theme.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
/// @param {Color} $idle-bottom-line-color [null] - The bottom line and border colors in the idle state.
3535
/// @param {Color} $hover-bottom-line-color [null] - The bottom line and border colors in the hover state.
3636
/// @param {Color} $focused-bottom-line-color [null] - The bottom line and border colors in the focused state.
37-
/// @param {Color} $interim-bottom-line-color [null] - The bottom line and border colors during the to-focused transition.
3837
/// @param {Color} $disabled-bottom-line-color [null] - The bottom line and border colors in the disabled state.
3938
/// @param {Color} $border-color [null] - The border color for input groups of type border and fluent.
4039
/// @param {Color} $hover-border-color [null] - The hover input border for input groups of type border and fluent.
@@ -86,7 +85,6 @@
8685
$idle-bottom-line-color: null,
8786
$hover-bottom-line-color: null,
8887
$focused-bottom-line-color: null,
89-
$interim-bottom-line-color: null,
9088
$disabled-bottom-line-color: null,
9189
9290
$border-color: null,
@@ -234,7 +232,6 @@
234232
idle-bottom-line-color: $idle-bottom-line-color,
235233
hover-bottom-line-color: $hover-bottom-line-color,
236234
focused-bottom-line-color: $focused-bottom-line-color,
237-
interim-bottom-line-color: $interim-bottom-line-color,
238235
disabled-bottom-line-color: $disabled-bottom-line-color,
239236
border-color: $border-color,
240237
hover-border-color: $hover-border-color,

0 commit comments

Comments
 (0)