Skip to content

Commit f2ee56f

Browse files
authored
Merge branch '20.0.x' into bpachilova/column-groups-a11y-16017
2 parents dfdab58 + bbb547c commit f2ee56f

File tree

98 files changed

+1359
-10270
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1359
-10270
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"@types/source-map": "0.5.2",
7575
"express": "^5.1.0",
7676
"fflate": "^0.8.1",
77-
"igniteui-theming": "^19.1.2",
77+
"igniteui-theming": "^19.2.1",
7878
"igniteui-trial-watermark": "^3.1.0",
7979
"lodash-es": "^4.17.21",
8080
"rxjs": "^7.8.2",

projects/igniteui-angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"tslib": "^2.3.0",
7474
"igniteui-trial-watermark": "^3.1.0",
7575
"lodash-es": "^4.17.21",
76-
"igniteui-theming": "^19.1.2",
76+
"igniteui-theming": "^19.2.1",
7777
"@igniteui/material-icons-extended": "^3.1.0"
7878
},
7979
"peerDependencies": {

projects/igniteui-angular/src/lib/combo/combo.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ describe('igxCombo', () => {
10741074

10751075
const list = fixture.debugElement.query(By.css(`.${CSS_CLASS_CONTENT}`));
10761076
expect(list.nativeElement.getAttribute('aria-multiselectable')).toEqual('true');
1077-
expect(list.nativeElement.getAttribute('aria-activedescendant')).toEqual('');
1077+
expect(list.nativeElement.getAttribute('aria-activedescendant')).toEqual(null);
10781078

10791079
UIInteractions.triggerEventHandlerKeyDown('ArrowDown', list);
10801080
tick();

projects/igniteui-angular/src/lib/core/i18n/input-resources.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ export interface IInputResourceStrings {
44
}
55

66
export const InputResourceStringsEN: IInputResourceStrings = {
7-
igx_input_upload_button: 'Upload File',
7+
igx_input_upload_button: 'Browse',
88
igx_input_file_placeholder: 'No file chosen',
99
};

projects/igniteui-angular/src/lib/core/styles/base/_index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
@forward 'igniteui-theming/sass/color';
66
@forward 'igniteui-theming/sass/elevations';
77
@forward 'igniteui-theming/sass/themes';
8+
@forward 'igniteui-theming/sass/themes/components';
89
@forward 'igniteui-theming/sass/typography' hide typography;
910
@forward 'igniteui-theming/sass/utils';

projects/igniteui-angular/src/lib/core/styles/components/_index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,4 @@
5252
@forward 'tooltip/tooltip-theme';
5353
@forward 'tree/tree-theme';
5454
@forward 'watermark/watermark-theme';
55+
@forward 'input/file-input-theme';

projects/igniteui-angular/src/lib/core/styles/components/avatar/_avatar-theme.scss

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,7 @@
11
@use 'sass:map';
22
@use '../../base' as *;
3-
@use '../../themes/schemas' as *;
43
@use 'igniteui-theming/sass/animations/easings' as *;
54

6-
////
7-
/// @group themes
8-
/// @access public
9-
/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
10-
/// @author <a href="https://github.com/desig9stein" target="_blank">Marin Popov</a>
11-
////
12-
13-
/// If only background color is specified, text/icon color will be assigned automatically to a contrasting color.
14-
/// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
15-
/// @param {Color} $color [null] - The text color used of the avatar.
16-
/// @param {Color} $icon-color [null] - The icon color used of the avatar.
17-
/// @param {Color} $background [null] - The background color used of the avatar.
18-
/// @param {Number} $border-radius [null] - The border-radius used of the avatar.
19-
/// @param {Number} $size [null] - The size of the avatar.
20-
/// @requires $light-material-schema
21-
///
22-
/// @example scss Change the background and icon colors in icon avatars
23-
/// $my-avatar-theme: avatar-theme($icon-background: black, $icon-color: white);
24-
/// // Pass the theme to the css-vars() mixin
25-
/// @include css-vars($my-avatar-theme);
26-
@function avatar-theme(
27-
$schema: $light-material-schema,
28-
$background: null,
29-
$color: null,
30-
$icon-color: null,
31-
$border-radius: null,
32-
$size: null,
33-
) {
34-
$name: 'igx-avatar';
35-
$avatar-schema: ();
36-
37-
@if map.has-key($schema, 'avatar') {
38-
$avatar-schema: map.get($schema, 'avatar');
39-
} @else {
40-
$avatar-schema: $schema;
41-
}
42-
43-
$theme: digest-schema($avatar-schema);
44-
45-
@if not($color) and $background {
46-
$color: adaptive-contrast(var(--background));
47-
}
48-
49-
@if not($icon-color) and $background {
50-
$icon-color: adaptive-contrast(var(--background));
51-
}
52-
53-
@return extend($theme, (
54-
name: $name,
55-
background: $background,
56-
color: $color,
57-
icon-color: $icon-color,
58-
border-radius: $border-radius,
59-
size: $size,
60-
));
61-
}
62-
635
/// @deprecated Use the `css-vars` mixin instead.
646
/// @see {mixin} css-vars
657
/// @param {Map} $theme - The theme used to style the component.

projects/igniteui-angular/src/lib/core/styles/components/badge/_badge-theme.scss

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,6 @@
11
@use '../../base' as *;
2-
@use '../../themes/schemas' as *;
32
@use 'sass:map';
43

5-
////
6-
/// @group themes
7-
/// @access public
8-
/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
9-
/// @author <a href="https://github.com/desig9stein" target="_blank">Marin Popov</a>
10-
////
11-
12-
/// If only background color is specified, text/icon color
13-
/// will be assigned automatically to a contrasting color.
14-
///
15-
/// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
16-
/// @param {Color} $icon-color [null] - The icon color used.
17-
/// @param {Color} $text-color [null] - The text color used.
18-
/// @param {Color} $border-color [null] - The border color used.
19-
/// @param {Color} $background-color [null] - The background color used.
20-
/// @param {box-shadow} $shadow [null] - Sets a shadow to be used for the badge.
21-
/// @param {Number} $border-radius [null] - The border radius used for badge component.
22-
///
23-
/// @requires $light-material-schema
24-
///
25-
/// @example scss Change the text and icon colors in a badge
26-
/// $my-badge-theme: badge-theme($icon-color: black, $background-color: white);
27-
/// // Pass the theme to the css-vars() mixin
28-
/// @include css-vars($my-badge-theme);
29-
@function badge-theme(
30-
$schema: $light-material-schema,
31-
32-
$icon-color: null,
33-
$text-color: null,
34-
35-
$border-color: null,
36-
$border-radius: null,
37-
38-
$background-color: null,
39-
$shadow: null,
40-
) {
41-
$name: 'igx-badge';
42-
$badge-schema: ();
43-
44-
@if map.has-key($schema, 'badge') {
45-
$badge-schema: map.get($schema, 'badge');
46-
} @else {
47-
$badge-schema: $schema;
48-
}
49-
50-
$theme: digest-schema($badge-schema);
51-
52-
@if not($icon-color) and $background-color {
53-
$icon-color: adaptive-contrast(var(--background-color));
54-
}
55-
56-
@if not($text-color) and $background-color {
57-
$text-color: adaptive-contrast(var(--background-color));
58-
}
59-
60-
@if not($shadow) {
61-
$elevation: map.get($badge-schema, 'elevation');
62-
$shadow: elevation($elevation);
63-
}
64-
65-
@return extend($theme, (
66-
name: $name,
67-
icon-color: $icon-color,
68-
text-color: $text-color,
69-
border-color: $border-color,
70-
border-radius: $border-radius,
71-
background-color: $background-color,
72-
shadow: $shadow,
73-
));
74-
}
75-
764
/// @deprecated Use the `css-vars` mixin instead.
775
/// @see {mixin} css-vars
786
/// @param {Map} $theme - The theme used to style the component.

projects/igniteui-angular/src/lib/core/styles/components/banner/_banner-theme.scss

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,5 @@
11
@use 'sass:map';
22
@use '../../base' as *;
3-
@use '../../themes/schemas' as *;
4-
5-
////
6-
/// @group themes
7-
/// @access public
8-
/// @author <a href="https://github.com/desig9stein" target="_blank">Marin Popov</a>
9-
////
10-
11-
/// If only background color is specified, text/icon color
12-
/// will be assigned automatically to a contrasting color.
13-
/// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
14-
///
15-
/// @param {Color} $banner-background [null] - The color used for the banner background.
16-
/// @param {Color} $banner-message-color [null] - The color used for the banner label.
17-
/// @param {Color} $banner-border-color [null] - The color used for the banner border.
18-
/// @param {Color} $banner-illustration-color [null] - The color used for the banner illustration.
19-
/// @param {Number} $border-radius [null] - The border-radius for the banner.
20-
///
21-
/// @requires $light-material-schema
22-
///
23-
/// @example scss Change the background in banner
24-
/// $my-banner-theme: banner-theme($banner-background: #000);
25-
/// // Pass the theme to the css-vars() mixin
26-
/// @include css-vars($my-banner-theme);
27-
@function banner-theme(
28-
$schema: $light-material-schema,
29-
$banner-background: null,
30-
$banner-message-color: null,
31-
$banner-border-color: null,
32-
$banner-illustration-color: null,
33-
$border-radius: null,
34-
) {
35-
$name: 'igx-banner';
36-
$selector: 'igx-banner, .igx-banner';
37-
$banner-schema: ();
38-
39-
@if map.has-key($schema, 'banner') {
40-
$banner-schema: map.get($schema, 'banner');
41-
} @else {
42-
$banner-schema: $schema;
43-
}
44-
45-
$theme: digest-schema($banner-schema);
46-
47-
@if not($banner-message-color) and $banner-background {
48-
$banner-message-color: adaptive-contrast(var(--banner-background));
49-
}
50-
51-
@if not($banner-illustration-color) and $banner-background {
52-
$banner-illustration-color: adaptive-contrast(var(--banner-background));
53-
}
54-
55-
@return extend($theme, (
56-
name: $name,
57-
selector: $selector,
58-
banner-background: $banner-background,
59-
banner-message-color: $banner-message-color,
60-
banner-border-color: $banner-border-color,
61-
banner-illustration-color: $banner-illustration-color,
62-
border-radius: $border-radius,
63-
));
64-
}
653

664
/// @deprecated Use the `css-vars` mixin instead.
675
/// @see {mixin} css-vars

0 commit comments

Comments
 (0)