Skip to content

Commit 641768d

Browse files
refactor(input-group): design updates (#16283)
* refactor(input-group): design updates * refactor(textarea): remove min-height * deps(theming): bump to latest version * fix(input-group): fluent & bootstrap comments * fix(input-group): helper text and line height * fix(textarea): material padding --------- Co-authored-by: Simeon Simeonoff <sim.simeonoff@gmail.com>
1 parent f2d56e0 commit 641768d

File tree

9 files changed

+128
-77
lines changed

9 files changed

+128
-77
lines changed

projects/igniteui-angular/src/lib/core/styles/components/combo/_combo-theme.scss

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
'material': pad-inline(rem(4px), rem(8px), rem(16px)),
1414
'fluent': pad-inline(rem(2px), rem(4px), rem(8px)),
1515
'bootstrap': pad-inline(rem(4px), rem(8px), rem(16px)),
16-
'indigo': pad-inline(rem(12px))
16+
'indigo': pad-inline(rem(8px), rem(12px), rem(12px))
1717
), $variant);
1818

1919
$search-input-block-padding: map.get((
@@ -73,6 +73,16 @@
7373
igx-input-group {
7474
--theme: #{if($variant == 'indigo', 'indigo', 'material')};
7575
--ig-size: #{if($variant == 'indigo', 2, 1)};
76+
77+
@if $variant == 'bootstrap' or $variant == 'indigo' {
78+
input {
79+
height: rem(28px);
80+
}
81+
} @else if $variant == 'fluent' {
82+
input {
83+
height: rem(32px);
84+
}
85+
}
7686
}
7787
}
7888

@@ -151,6 +161,18 @@
151161
%igx-combo__search {
152162
--igx-input-group-input-suffix-background: transparent;
153163
--igx-input-group-input-suffix-background--focused: transparent;
164+
165+
.igx-input-group__bundle::after {
166+
border-block-end-color: var(--border-color);
167+
}
168+
169+
.igx-input-group__bundle:hover::after {
170+
border-block-end-color: #{if($variant == 'fluent', var(--hover-border-color), var(--border-color))};;
171+
}
172+
173+
.igx-input-group--focused .igx-input-group__bundle::after {
174+
border-block-end-color: var(--focused-bottom-line-color);
175+
}
154176
}
155177
}
156178

projects/igniteui-angular/src/lib/core/styles/components/date-range-picker/_date-range-picker-theme.scss

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
}
2424
}
2525

26+
igx-date-range-start,
27+
igx-date-range-end {
28+
min-width: 0;
29+
}
30+
2631
igx-date-range-start,
2732
igx-date-range-end,
2833
%igx-date-range-picker__start,
@@ -57,18 +62,18 @@
5762
}
5863

5964
/// Adds typography styles for the igx-date-range-picker component.
60-
/// Uses the 'subtitle-1'
65+
/// Uses the 'caption'
6166
/// categories from the typographic scale.
6267
/// @group typography
63-
/// @param {Map} $categories [(label: 'subtitle-1')] - The categories from the typographic scale used for type styles.
68+
/// @param {Map} $categories [(label: 'caption')] - The categories from the typographic scale used for type styles.
6469
@mixin date-range-typography(
6570
$categories: (
66-
label: 'subtitle-1',
71+
label: 'caption',
6772
)
6873
) {
6974
$label: map.get($categories, 'label');
7075

71-
%igx-date-range__label {
76+
%igx-date-range-picker__label {
7277
@include type-style($label);
7378
}
7479
}

0 commit comments

Comments
 (0)