igniteui-angular 20.0.0 → 20.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/igniteui-angular.mjs +9 -11
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/index.d.ts +2 -2
- package/lib/core/styles/components/_common/_igx-vhelper.scss +1 -0
- package/lib/core/styles/components/action-strip/_action-strip-theme.scss +2 -7
- package/lib/core/styles/components/avatar/_avatar-theme.scss +7 -8
- package/lib/core/styles/components/badge/_badge-theme.scss +3 -8
- package/lib/core/styles/components/banner/_banner-theme.scss +6 -7
- package/lib/core/styles/components/bottom-nav/_bottom-nav-theme.scss +17 -28
- package/lib/core/styles/components/button/_button-theme.scss +219 -158
- package/lib/core/styles/components/button/_contained-button-theme.scss +302 -0
- package/lib/core/styles/components/button/_fab-button-theme.scss +296 -0
- package/lib/core/styles/components/button/_flat-button-theme.scss +356 -0
- package/lib/core/styles/components/button/_outlined-button-theme.scss +419 -0
- package/lib/core/styles/components/button-group/_button-group-theme.scss +113 -29
- package/lib/core/styles/components/calendar/_calendar-theme.scss +502 -112
- package/lib/core/styles/components/card/_card-theme.scss +5 -16
- package/lib/core/styles/components/carousel/_carousel-theme.scss +103 -23
- package/lib/core/styles/components/checkbox/_checkbox-component.scss +1 -1
- package/lib/core/styles/components/checkbox/_checkbox-theme.scss +63 -11
- package/lib/core/styles/components/chip/_chip-theme.scss +64 -47
- package/lib/core/styles/components/column-actions/_column-actions-theme.scss +2 -7
- package/lib/core/styles/components/combo/_combo-theme.scss +54 -12
- package/lib/core/styles/components/dialog/_dialog-theme.scss +9 -12
- package/lib/core/styles/components/divider/_divider-theme.scss +1 -6
- package/lib/core/styles/components/drop-down/_drop-down-theme.scss +52 -32
- package/lib/core/styles/components/expansion-panel/_expansion-panel-theme.scss +18 -13
- package/lib/core/styles/components/grid/_grid-theme.scss +115 -94
- package/lib/core/styles/components/grid/_pivot-data-selector-theme.scss +1 -6
- package/lib/core/styles/components/grid-summary/_grid-summary-theme.scss +12 -13
- package/lib/core/styles/components/grid-toolbar/_grid-toolbar-theme.scss +7 -12
- package/lib/core/styles/components/highlight/highlight-theme.scss +2 -3
- package/lib/core/styles/components/icon/_icon-theme.scss +0 -1
- package/lib/core/styles/components/icon-button/_contained-icon-button-theme.scss +196 -0
- package/lib/core/styles/components/icon-button/_flat-icon-button-theme.scss +188 -0
- package/lib/core/styles/components/icon-button/_icon-button-theme.scss +45 -32
- package/lib/core/styles/components/icon-button/_outlined-icon-button-theme.scss +232 -0
- package/lib/core/styles/components/input/_input-group-theme.scss +272 -21
- package/lib/core/styles/components/label/_label-theme.scss +2 -4
- package/lib/core/styles/components/list/_list-theme.scss +42 -66
- package/lib/core/styles/components/navbar/_navbar-theme.scss +25 -15
- package/lib/core/styles/components/navdrawer/_navdrawer-theme.scss +24 -22
- package/lib/core/styles/components/overlay/_overlay-theme.scss +0 -1
- package/lib/core/styles/components/paginator/_paginator-theme.scss +2 -7
- package/lib/core/styles/components/progress/circular/_circular-theme.scss +3 -8
- package/lib/core/styles/components/progress/linear/_linear-theme.scss +1 -6
- package/lib/core/styles/components/query-builder/_query-builder-theme.scss +28 -11
- package/lib/core/styles/components/radio/_radio-theme.scss +54 -10
- package/lib/core/styles/components/ripple/_ripple-theme.scss +0 -1
- package/lib/core/styles/components/scrollbar/scrollbar-theme.scss +0 -1
- package/lib/core/styles/components/select/_select-theme.scss +35 -7
- package/lib/core/styles/components/slider/_slider-theme.scss +92 -7
- package/lib/core/styles/components/snackbar/_snackbar-theme.scss +3 -8
- package/lib/core/styles/components/splitter/_splitter-theme.scss +15 -8
- package/lib/core/styles/components/stepper/_stepper-theme.scss +190 -22
- package/lib/core/styles/components/switch/_switch-theme.scss +112 -8
- package/lib/core/styles/components/tabs/_tabs-theme.scss +124 -56
- package/lib/core/styles/components/time-picker/_time-picker-theme.scss +35 -18
- package/lib/core/styles/components/toast/_toast-theme.scss +9 -10
- package/lib/core/styles/components/tooltip/_tooltip-theme.scss +2 -7
- package/lib/core/styles/components/tree/_tree-theme.scss +33 -10
- package/lib/core/styles/components/watermark/_watermark-theme.scss +0 -1
- package/lib/core/styles/themes/_core.scss +6 -0
- package/lib/core/styles/themes/generators/_base.scss +146 -58
- package/migrations/migration-collection.json +5 -0
- package/migrations/update-20_0_2/changes/theme-changes.json +11 -0
- package/migrations/update-20_0_2/index.d.ts +3 -0
- package/migrations/update-20_0_2/index.js +18 -0
- package/package.json +1 -1
- package/styles/igniteui-angular-dark.css +1 -1
- package/styles/igniteui-angular.css +1 -1
- package/styles/igniteui-bootstrap-dark.css +1 -1
- package/styles/igniteui-bootstrap-light.css +1 -1
- package/styles/igniteui-dark-green.css +1 -1
- package/styles/igniteui-fluent-dark-excel.css +1 -1
- package/styles/igniteui-fluent-dark-word.css +1 -1
- package/styles/igniteui-fluent-dark.css +1 -1
- package/styles/igniteui-fluent-light-excel.css +1 -1
- package/styles/igniteui-fluent-light-word.css +1 -1
- package/styles/igniteui-fluent-light.css +1 -1
- package/styles/igniteui-indigo-dark.css +1 -1
- package/styles/igniteui-indigo-light.css +1 -1
- package/styles/maps/igniteui-angular-dark.css.map +1 -1
- package/styles/maps/igniteui-angular.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
- package/styles/maps/igniteui-dark-green.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-light.css.map +1 -1
- package/styles/maps/igniteui-indigo-dark.css.map +1 -1
- package/styles/maps/igniteui-indigo-light.css.map +1 -1
package/index.d.ts
CHANGED
|
@@ -20191,7 +20191,7 @@ declare class IgxComboComponent extends IgxComboBaseDirective implements AfterVi
|
|
|
20191
20191
|
/** Returns a string that should be populated in the combo's text box */
|
|
20192
20192
|
private concatDisplayText;
|
|
20193
20193
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxComboComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
20194
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IgxComboComponent, "igx-combo", never, { "autoFocusSearch": { "alias": "autoFocusSearch"; "required": false; }; "disableFiltering": { "alias": "disableFiltering"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; }, { "selectionChanging": "selectionChanging"; }, never, ["[igxLabel]", "igx-prefix", "igx-hint, [igxHint]", "igx-suffix"], true, never>;
|
|
20194
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IgxComboComponent, "igx-combo", never, { "autoFocusSearch": { "alias": "autoFocusSearch"; "required": false; }; "disableFiltering": { "alias": "disableFiltering"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; }, { "selectionChanging": "selectionChanging"; }, never, ["[igxLabel]", "igx-prefix,[igxPrefix]", "igx-hint, [igxHint]", "igx-suffix,[igxSuffix]"], true, never>;
|
|
20195
20195
|
static ngAcceptInputType_autoFocusSearch: unknown;
|
|
20196
20196
|
static ngAcceptInputType_disableFiltering: unknown;
|
|
20197
20197
|
}
|
|
@@ -20521,7 +20521,7 @@ declare class IgxSimpleComboComponent extends IgxComboBaseDirective implements C
|
|
|
20521
20521
|
private clear;
|
|
20522
20522
|
private isValid;
|
|
20523
20523
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxSimpleComboComponent, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
20524
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IgxSimpleComboComponent, "igx-simple-combo", never, {}, { "selectionChanging": "selectionChanging"; }, never, ["[igxLabel]", "igx-prefix", "igx-hint, [igxHint]", "igx-suffix"], true, never>;
|
|
20524
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IgxSimpleComboComponent, "igx-simple-combo", never, {}, { "selectionChanging": "selectionChanging"; }, never, ["[igxLabel]", "igx-prefix,[igxPrefix]", "igx-hint, [igxHint]", "igx-suffix,[igxSuffix]"], true, never>;
|
|
20525
20525
|
}
|
|
20526
20526
|
|
|
20527
20527
|
declare const IGX_SIMPLE_COMBO_DIRECTIVES: readonly [typeof IgxSimpleComboComponent, typeof IgxComboAddItemDirective, typeof IgxComboClearIconDirective, typeof IgxComboEmptyDirective, typeof IgxComboFooterDirective, typeof IgxComboHeaderDirective, typeof IgxComboHeaderItemDirective, typeof IgxComboItemDirective, typeof IgxComboToggleIconDirective, typeof IgxLabelDirective, typeof IgxPrefixDirective, typeof IgxSuffixDirective, typeof IgxHintDirective];
|
|
@@ -41,10 +41,9 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
$theme: digest-schema($action-strip-schema);
|
|
44
|
-
$meta: map.get($theme, '_meta');
|
|
45
44
|
|
|
46
45
|
@if not($icon-color) and $actions-background {
|
|
47
|
-
$icon-color:
|
|
46
|
+
$icon-color: adaptive-contrast(var(--actions-background));
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
@if not($actions-border-radius) {
|
|
@@ -58,10 +57,6 @@
|
|
|
58
57
|
icon-color: $icon-color,
|
|
59
58
|
delete-action: $delete-action,
|
|
60
59
|
actions-border-radius: $actions-border-radius,
|
|
61
|
-
theme: map.get($schema, '_meta', 'theme'),
|
|
62
|
-
_meta: map.merge(if($meta, $meta, ()), (
|
|
63
|
-
variant: map.get($schema, '_meta', 'theme')
|
|
64
|
-
)),
|
|
65
60
|
));
|
|
66
61
|
}
|
|
67
62
|
|
|
@@ -71,7 +66,7 @@
|
|
|
71
66
|
@mixin action-strip($theme) {
|
|
72
67
|
@include css-vars($theme);
|
|
73
68
|
|
|
74
|
-
$variant: map.get($theme, '_meta', '
|
|
69
|
+
$variant: map.get($theme, '_meta', 'theme');
|
|
75
70
|
$icon-button-size: map.get((
|
|
76
71
|
'material': rem(36px),
|
|
77
72
|
'fluent': rem(32px),
|
|
@@ -41,10 +41,13 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
$theme: digest-schema($avatar-schema);
|
|
44
|
-
$meta: map.get($theme, '_meta');
|
|
45
44
|
|
|
46
45
|
@if not($color) and $background {
|
|
47
|
-
$color:
|
|
46
|
+
$color: adaptive-contrast(var(--background));
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@if not($icon-color) and $background {
|
|
50
|
+
$icon-color: adaptive-contrast(var(--background));
|
|
48
51
|
}
|
|
49
52
|
|
|
50
53
|
@return extend($theme, (
|
|
@@ -54,10 +57,6 @@
|
|
|
54
57
|
icon-color: $icon-color,
|
|
55
58
|
border-radius: $border-radius,
|
|
56
59
|
size: $size,
|
|
57
|
-
theme: map.get($schema, '_meta', 'theme'),
|
|
58
|
-
_meta: map.merge(if($meta, $meta, ()), (
|
|
59
|
-
variant: map.get($schema, '_meta', 'theme')
|
|
60
|
-
)),
|
|
61
60
|
));
|
|
62
61
|
}
|
|
63
62
|
|
|
@@ -67,8 +66,8 @@
|
|
|
67
66
|
@mixin avatar($theme) {
|
|
68
67
|
@include css-vars($theme);
|
|
69
68
|
|
|
70
|
-
$variant: map.get($theme, '_meta', '
|
|
71
|
-
|
|
69
|
+
$variant: map.get($theme, '_meta', 'theme');
|
|
70
|
+
|
|
72
71
|
%igx-avatar-display {
|
|
73
72
|
@include sizable();
|
|
74
73
|
|
|
@@ -48,14 +48,13 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
$theme: digest-schema($badge-schema);
|
|
51
|
-
$meta: map.get($theme, '_meta');
|
|
52
51
|
|
|
53
52
|
@if not($icon-color) and $background-color {
|
|
54
|
-
$icon-color:
|
|
53
|
+
$icon-color: adaptive-contrast(var(--background-color));
|
|
55
54
|
}
|
|
56
55
|
|
|
57
56
|
@if not($text-color) and $background-color {
|
|
58
|
-
$text-color:
|
|
57
|
+
$text-color: adaptive-contrast(var(--background-color));
|
|
59
58
|
}
|
|
60
59
|
|
|
61
60
|
@if not($shadow) {
|
|
@@ -71,10 +70,6 @@
|
|
|
71
70
|
border-radius: $border-radius,
|
|
72
71
|
background-color: $background-color,
|
|
73
72
|
shadow: $shadow,
|
|
74
|
-
theme: map.get($schema, '_meta', 'theme'),
|
|
75
|
-
_meta: map.merge(if($meta, $meta, ()), (
|
|
76
|
-
variant: map.get($schema, '_meta', 'theme'),
|
|
77
|
-
)),
|
|
78
73
|
));
|
|
79
74
|
}
|
|
80
75
|
|
|
@@ -84,7 +79,7 @@
|
|
|
84
79
|
@mixin badge($theme) {
|
|
85
80
|
@include css-vars($theme);
|
|
86
81
|
|
|
87
|
-
$variant: map.get($theme, '_meta', '
|
|
82
|
+
$variant: map.get($theme, '_meta', 'theme');
|
|
88
83
|
|
|
89
84
|
%igx-badge-display {
|
|
90
85
|
--size: #{rem(22px)};
|
|
@@ -43,10 +43,13 @@
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
$theme: digest-schema($banner-schema);
|
|
46
|
-
$meta: map.get($theme, '_meta');
|
|
47
46
|
|
|
48
47
|
@if not($banner-message-color) and $banner-background {
|
|
49
|
-
$banner-message-color:
|
|
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));
|
|
50
53
|
}
|
|
51
54
|
|
|
52
55
|
@return extend($theme, (
|
|
@@ -57,10 +60,6 @@
|
|
|
57
60
|
banner-border-color: $banner-border-color,
|
|
58
61
|
banner-illustration-color: $banner-illustration-color,
|
|
59
62
|
border-radius: $border-radius,
|
|
60
|
-
theme: map.get($schema, '_meta', 'theme'),
|
|
61
|
-
_meta: map.merge(if($meta, $meta, ()), (
|
|
62
|
-
variant: map.get($schema, '_meta', 'theme')
|
|
63
|
-
)),
|
|
64
63
|
));
|
|
65
64
|
}
|
|
66
65
|
|
|
@@ -69,7 +68,7 @@
|
|
|
69
68
|
/// @param {Map} $theme - The theme used to style the component.
|
|
70
69
|
@mixin banner($theme) {
|
|
71
70
|
@include css-vars($theme);
|
|
72
|
-
$variant: map.get($theme, '_meta', '
|
|
71
|
+
$variant: map.get($theme, '_meta', 'theme');
|
|
73
72
|
|
|
74
73
|
%igx-banner-host {
|
|
75
74
|
igx-expansion-panel-body {
|
|
@@ -51,42 +51,36 @@
|
|
|
51
51
|
|
|
52
52
|
$theme: digest-schema($bottom-nav-schema);
|
|
53
53
|
|
|
54
|
-
$
|
|
55
|
-
|
|
56
|
-
@if not($label-color) and $background {
|
|
57
|
-
@if meta.type-of($background) == 'color' {
|
|
58
|
-
$label-color: text-contrast($background);
|
|
59
|
-
}
|
|
54
|
+
@if not($label-color) and not($icon-color) and $background {
|
|
55
|
+
$label-color: adaptive-contrast(var(--background));
|
|
60
56
|
}
|
|
61
57
|
|
|
62
58
|
@if not($icon-color) and $label-color {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
59
|
+
$icon-color: $label-color;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@if not($label-color) and $icon-color {
|
|
63
|
+
$label-color: $icon-color;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@if not($icon-disabled-color) and not($label-disabled-color) and $label-color {
|
|
67
|
+
$label-disabled-color: adaptive-contrast(var(--background));
|
|
66
68
|
}
|
|
67
69
|
|
|
68
70
|
@if not($icon-disabled-color) and $label-disabled-color {
|
|
69
|
-
|
|
70
|
-
$icon-disabled-color: $label-disabled-color;
|
|
71
|
-
}
|
|
71
|
+
$icon-disabled-color: $label-disabled-color;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
@if not($label-disabled-color) and $icon-disabled-color {
|
|
75
|
-
|
|
76
|
-
$label-disabled-color: $icon-disabled-color;
|
|
77
|
-
}
|
|
75
|
+
$label-disabled-color: $icon-disabled-color;
|
|
78
76
|
}
|
|
79
77
|
|
|
80
78
|
@if not($icon-selected-color) and $label-selected-color {
|
|
81
|
-
|
|
82
|
-
$icon-selected-color: $label-selected-color;
|
|
83
|
-
}
|
|
79
|
+
$icon-selected-color: $label-selected-color;
|
|
84
80
|
}
|
|
85
81
|
|
|
86
|
-
@if not($
|
|
87
|
-
|
|
88
|
-
$icon-color: text-contrast($background);
|
|
89
|
-
}
|
|
82
|
+
@if not($label-selected-color) and $icon-selected-color {
|
|
83
|
+
$label-selected-color: $icon-selected-color;
|
|
90
84
|
}
|
|
91
85
|
|
|
92
86
|
@if not($shadow) {
|
|
@@ -105,11 +99,6 @@
|
|
|
105
99
|
label-disabled-color: $label-disabled-color,
|
|
106
100
|
border-color: $border-color,
|
|
107
101
|
shadow: $shadow,
|
|
108
|
-
theme: map.get($schema, '_meta', 'theme'),
|
|
109
|
-
_meta: map.merge(if($meta, $meta, ()), (
|
|
110
|
-
variant: map.get($schema, '_meta', 'theme'),
|
|
111
|
-
theme-variant: map.get($schema, '_meta', 'variant')
|
|
112
|
-
)),
|
|
113
102
|
));
|
|
114
103
|
}
|
|
115
104
|
|
|
@@ -119,7 +108,7 @@
|
|
|
119
108
|
@mixin bottom-nav($theme) {
|
|
120
109
|
@include css-vars($theme);
|
|
121
110
|
|
|
122
|
-
$variant: map.get($theme, '_meta', '
|
|
111
|
+
$variant: map.get($theme, '_meta', 'theme');
|
|
123
112
|
$menu-height: rem(56px);
|
|
124
113
|
$item-min-width: rem(80px);
|
|
125
114
|
$item-max-width: rem(168px);
|