igniteui-angular 20.1.6 → 20.1.8
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 +110 -48
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/index.d.ts +24 -2
- package/lib/core/styles/components/badge/_badge-component.scss +4 -0
- package/lib/core/styles/components/badge/_badge-theme.scss +65 -15
- package/lib/core/styles/components/checkbox/_checkbox-component.scss +57 -22
- package/lib/core/styles/components/checkbox/_checkbox-theme.scss +21 -6
- package/lib/core/styles/components/combo/_combo-theme.scss +20 -16
- package/lib/core/styles/components/navbar/_navbar-theme.scss +14 -12
- package/lib/core/styles/components/select/_select-theme.scss +1 -1
- package/lib/core/styles/components/time-picker/_time-picker-theme.scss +0 -15
- package/lib/core/styles/components/tooltip/_tooltip-theme.scss +5 -1
- package/lib/core/styles/typography/_bootstrap.scss +1 -1
- package/lib/core/styles/typography/_fluent.scss +1 -1
- package/lib/core/styles/typography/_indigo.scss +1 -3
- package/lib/core/styles/typography/_material.scss +1 -1
- 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
|
@@ -9319,9 +9319,10 @@ declare const IgxBaseButtonType: {
|
|
|
9319
9319
|
readonly Contained: "contained";
|
|
9320
9320
|
readonly Outlined: "outlined";
|
|
9321
9321
|
};
|
|
9322
|
-
declare abstract class IgxButtonBaseDirective {
|
|
9322
|
+
declare abstract class IgxButtonBaseDirective implements AfterViewInit {
|
|
9323
9323
|
element: ElementRef;
|
|
9324
9324
|
private _platformUtil;
|
|
9325
|
+
private _viewInit;
|
|
9325
9326
|
/**
|
|
9326
9327
|
* Emitted when the button is clicked.
|
|
9327
9328
|
*/
|
|
@@ -9372,6 +9373,7 @@ declare abstract class IgxButtonBaseDirective {
|
|
|
9372
9373
|
*/
|
|
9373
9374
|
get disabledAttribute(): true;
|
|
9374
9375
|
protected constructor(element: ElementRef);
|
|
9376
|
+
ngAfterViewInit(): void;
|
|
9375
9377
|
/**
|
|
9376
9378
|
* @hidden
|
|
9377
9379
|
* @internal
|
|
@@ -15110,6 +15112,17 @@ declare class IgxBadgeComponent {
|
|
|
15110
15112
|
* ```
|
|
15111
15113
|
*/
|
|
15112
15114
|
outlined: boolean;
|
|
15115
|
+
/**
|
|
15116
|
+
* Sets/gets whether the badge is displayed as a dot.
|
|
15117
|
+
* When true, the badge will be rendered as a minimal 8px indicator without any content.
|
|
15118
|
+
* Default value is `false`.
|
|
15119
|
+
*
|
|
15120
|
+
* @example
|
|
15121
|
+
* ```html
|
|
15122
|
+
* <igx-badge dot type="success"></igx-badge>
|
|
15123
|
+
* ```
|
|
15124
|
+
*/
|
|
15125
|
+
dot: boolean;
|
|
15113
15126
|
/**
|
|
15114
15127
|
* Defines a human-readable, accessor, author-localized description for
|
|
15115
15128
|
* the `type` and the `icon` or `value` of the element.
|
|
@@ -15123,8 +15136,9 @@ declare class IgxBadgeComponent {
|
|
|
15123
15136
|
get warningClass(): boolean;
|
|
15124
15137
|
get errorClass(): boolean;
|
|
15125
15138
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxBadgeComponent, never>;
|
|
15126
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IgxBadgeComponent, "igx-badge", never, { "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSet": { "alias": "iconSet"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
15139
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IgxBadgeComponent, "igx-badge", never, { "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSet": { "alias": "iconSet"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "dot": { "alias": "dot"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
15127
15140
|
static ngAcceptInputType_outlined: unknown;
|
|
15141
|
+
static ngAcceptInputType_dot: unknown;
|
|
15128
15142
|
}
|
|
15129
15143
|
|
|
15130
15144
|
/**
|
|
@@ -16215,6 +16229,7 @@ declare abstract class IgxCalendarViewDirective implements ControlValueAccessor
|
|
|
16215
16229
|
declare class IgxMonthsViewComponent extends IgxCalendarViewDirective implements ControlValueAccessor {
|
|
16216
16230
|
#private;
|
|
16217
16231
|
el: ElementRef;
|
|
16232
|
+
private platform;
|
|
16218
16233
|
/**
|
|
16219
16234
|
* Sets/gets the `id` of the months view.
|
|
16220
16235
|
* If not set, the `id` will have value `"igx-months-view-0"`.
|
|
@@ -16303,6 +16318,7 @@ declare class IgxMonthsViewComponent extends IgxCalendarViewDirective implements
|
|
|
16303
16318
|
declare class IgxYearsViewComponent extends IgxCalendarViewDirective implements ControlValueAccessor {
|
|
16304
16319
|
#private;
|
|
16305
16320
|
el: ElementRef;
|
|
16321
|
+
private platform;
|
|
16306
16322
|
/**
|
|
16307
16323
|
* The default css class applied to the component.
|
|
16308
16324
|
*
|
|
@@ -16404,6 +16420,7 @@ declare class KeyboardNavigationService {
|
|
|
16404
16420
|
private ngZone;
|
|
16405
16421
|
private keyHandlers;
|
|
16406
16422
|
private eventUnsubscribeFn;
|
|
16423
|
+
private platform;
|
|
16407
16424
|
constructor(eventManager: EventManager, ngZone: NgZone);
|
|
16408
16425
|
attachKeyboardHandlers(elementRef: ElementRef, context: any): this;
|
|
16409
16426
|
detachKeyboardHandlers(): void;
|
|
@@ -34164,6 +34181,7 @@ declare abstract class IgxGridBaseDirective implements GridType, OnInit, DoCheck
|
|
|
34164
34181
|
* @hidden @internal
|
|
34165
34182
|
*/
|
|
34166
34183
|
repositionRowEditingOverlay(row: RowType): void;
|
|
34184
|
+
protected viewDetachHandler(args: any): void;
|
|
34167
34185
|
/**
|
|
34168
34186
|
* @hidden @internal
|
|
34169
34187
|
*/
|
|
@@ -37298,6 +37316,10 @@ declare class IgxGridComponent extends IgxGridBaseDirective implements GridType,
|
|
|
37298
37316
|
* @hidden @internal
|
|
37299
37317
|
*/
|
|
37300
37318
|
protected onColumnsAddedOrRemoved(): void;
|
|
37319
|
+
/**
|
|
37320
|
+
* @hidden
|
|
37321
|
+
*/
|
|
37322
|
+
protected onColumnsChanged(change: QueryList<IgxColumnComponent>): void;
|
|
37301
37323
|
/**
|
|
37302
37324
|
* @hidden @internal
|
|
37303
37325
|
*/
|
|
@@ -6,12 +6,15 @@
|
|
|
6
6
|
/// @param {Map} $theme - The theme used to style the component.
|
|
7
7
|
@mixin badge($theme) {
|
|
8
8
|
@include css-vars($theme);
|
|
9
|
-
|
|
9
|
+
$theme-variant: map.get($theme, '_meta', 'variant');
|
|
10
10
|
$variant: map.get($theme, '_meta', 'theme');
|
|
11
11
|
|
|
12
12
|
%igx-badge-display {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
@include sizable();
|
|
14
|
+
|
|
15
|
+
--component-size: var(--ig-size, #{var-get($theme, 'default-size')});
|
|
16
|
+
--badge-size: var(--component-size);
|
|
17
|
+
--_badge-size: #{var-get($theme, 'size')};
|
|
15
18
|
|
|
16
19
|
display: inline-flex;
|
|
17
20
|
justify-content: center;
|
|
@@ -25,18 +28,18 @@
|
|
|
25
28
|
overflow: hidden;
|
|
26
29
|
|
|
27
30
|
igx-icon {
|
|
28
|
-
--size: var(--igx-icon-size,
|
|
31
|
+
--size: var(--igx-icon-size, #{sizable(rem(12px), rem(14px), rem(16px))});
|
|
32
|
+
--component-size: var(--badge-size);
|
|
29
33
|
|
|
30
34
|
display: inline-flex;
|
|
31
35
|
justify-content: center;
|
|
32
36
|
align-items: center;
|
|
33
|
-
font-weight: 400;
|
|
34
37
|
color: var-get($theme, 'icon-color');
|
|
35
38
|
}
|
|
36
39
|
|
|
37
40
|
@if $variant == 'indigo' {
|
|
38
41
|
igx-icon {
|
|
39
|
-
$icon-size: rem(12px);
|
|
42
|
+
$icon-size: sizable(rem(8px), rem(10px), rem(12px));
|
|
40
43
|
|
|
41
44
|
--ig-icon-size: #{$icon-size};
|
|
42
45
|
--igx-icon-size: #{$icon-size};
|
|
@@ -45,7 +48,7 @@
|
|
|
45
48
|
}
|
|
46
49
|
|
|
47
50
|
%igx-badge--outlined {
|
|
48
|
-
box-shadow:
|
|
51
|
+
box-shadow: 0 0 0 rem(2px) var-get($theme, 'border-color');
|
|
49
52
|
}
|
|
50
53
|
|
|
51
54
|
%igx-badge--square {
|
|
@@ -54,23 +57,57 @@
|
|
|
54
57
|
|
|
55
58
|
%igx-badge-value {
|
|
56
59
|
white-space: nowrap;
|
|
57
|
-
padding-inline: pad-inline(rem(4px));
|
|
60
|
+
padding-inline: pad-inline(rem(4px), rem(6px), if($variant == 'indigo', rem(6px), rem(8px)));
|
|
58
61
|
}
|
|
59
62
|
|
|
60
63
|
%igx-badge--success {
|
|
61
|
-
background: color($color: 'success');
|
|
64
|
+
background: color($color: 'success', $variant: if($variant != 'material', if($variant == 'indigo', 700, 500), 900));
|
|
62
65
|
}
|
|
63
66
|
|
|
64
67
|
%igx-badge--info {
|
|
65
|
-
background: color($color: 'info');
|
|
68
|
+
background: color($color: 'info', $variant: if($variant != 'material', if($variant == 'fluent', 700, 500), 800));
|
|
66
69
|
}
|
|
67
70
|
|
|
68
71
|
%igx-badge--warn {
|
|
69
72
|
background: color($color: 'warn');
|
|
73
|
+
|
|
74
|
+
@if $variant == 'indigo' and $theme-variant == 'light' {
|
|
75
|
+
color: color($color: 'gray', $variant: 900);
|
|
76
|
+
|
|
77
|
+
igx-icon {
|
|
78
|
+
color: color($color: 'gray', $variant: 900);
|
|
79
|
+
}
|
|
80
|
+
} @else if $variant == 'indigo' and $theme-variant == 'dark' {
|
|
81
|
+
color: color($color: 'gray', $variant: 50);
|
|
82
|
+
|
|
83
|
+
igx-icon {
|
|
84
|
+
color: color($color: 'gray', $variant: 50);
|
|
85
|
+
}
|
|
86
|
+
} @else {
|
|
87
|
+
color: contrast-color($color: 'warn', $variant: 500);
|
|
88
|
+
|
|
89
|
+
igx-icon {
|
|
90
|
+
color: contrast-color($color: 'warn', $variant: 500);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
70
93
|
}
|
|
71
94
|
|
|
72
95
|
%igx-badge--error {
|
|
73
|
-
background: color($color: 'error');
|
|
96
|
+
background: color($color: 'error', $variant: if($variant == 'material', 700, 500));
|
|
97
|
+
color: contrast-color($color: 'error', $variant: if($variant == 'bootstrap', 100, 900));
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
%igx-badge--dot {
|
|
101
|
+
--_dot-size: #{var-get($theme, 'dot-size')};
|
|
102
|
+
|
|
103
|
+
min-width: var(--_dot-size);
|
|
104
|
+
min-height: var(--_dot-size);
|
|
105
|
+
padding: 0;
|
|
106
|
+
|
|
107
|
+
igx-icon,
|
|
108
|
+
> * {
|
|
109
|
+
display: none;
|
|
110
|
+
}
|
|
74
111
|
}
|
|
75
112
|
|
|
76
113
|
%igx-badge--hidden {
|
|
@@ -79,15 +116,28 @@
|
|
|
79
116
|
}
|
|
80
117
|
|
|
81
118
|
/// Adds typography styles for the igx-badge component.
|
|
82
|
-
/// Uses
|
|
119
|
+
/// Uses 'caption' and 'body-2' categories from the typographic scale.
|
|
83
120
|
/// @group typography
|
|
84
121
|
/// @param {Map} $categories [(text: 'caption')] - The categories from the typographic scale used for type styles.
|
|
85
|
-
@mixin badge-typography($categories: (text:
|
|
122
|
+
@mixin badge-typography($categories: (text: null), $theme: null) {
|
|
86
123
|
$text: map.get($categories, 'text');
|
|
87
124
|
|
|
88
125
|
%igx-badge-display {
|
|
89
|
-
@
|
|
90
|
-
|
|
126
|
+
@if $text {
|
|
127
|
+
@include type-style($text);
|
|
128
|
+
} @else {
|
|
129
|
+
@if $theme == 'indigo' {
|
|
130
|
+
@include type-style('button', false) {
|
|
131
|
+
font-size: sizable(rem(9px), rem(10px), var(--ig-button-font-size));
|
|
132
|
+
line-height: sizable(rem(12px), rem(14px), var(--ig-button-line-height));
|
|
133
|
+
}
|
|
134
|
+
} @else {
|
|
135
|
+
font-size: sizable(var(--ig-caption-font-size), var(--ig-body-2-font-size), var(--ig-body-2-font-size));
|
|
136
|
+
font-weight: sizable(var(--ig-caption-font-weight), var(--ig-body-2-font-weight), var(--ig-body-2-font-weight));
|
|
137
|
+
line-height: sizable(var(--ig-caption-line-height), var(--ig-body-2-line-height), var(--ig-body-2-line-height));
|
|
138
|
+
letter-spacing: sizable(var(--ig-caption-letter-spacing), var(--ig-body-2-letter-spacing), var(--ig-body-2-letter-spacing));
|
|
139
|
+
text-transform: sizable(var(--ig-caption-text-transform), var(--ig-body-2-text-transform), var(--ig-body-2-text-transform));
|
|
140
|
+
}
|
|
91
141
|
}
|
|
92
142
|
}
|
|
93
143
|
}
|
|
@@ -14,10 +14,22 @@
|
|
|
14
14
|
@extend %cbx-display !optional;
|
|
15
15
|
|
|
16
16
|
&:hover {
|
|
17
|
+
@include e(label) {
|
|
18
|
+
@extend %cbx-label--hover !optional;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@include e(label, $m: before) {
|
|
22
|
+
@extend %cbx-label--hover !optional;
|
|
23
|
+
}
|
|
24
|
+
|
|
17
25
|
@include e(ripple) {
|
|
18
26
|
@extend %cbx-ripple--hover !optional;
|
|
19
27
|
}
|
|
20
28
|
|
|
29
|
+
@include e(composite) {
|
|
30
|
+
@extend %cbx-composite--hover !optional;
|
|
31
|
+
}
|
|
32
|
+
|
|
21
33
|
@include e(composite-mark) {
|
|
22
34
|
@extend %cbx-composite-mark--fluent !optional;
|
|
23
35
|
}
|
|
@@ -60,30 +72,10 @@
|
|
|
60
72
|
@extend %cbx-ripple !optional;
|
|
61
73
|
}
|
|
62
74
|
|
|
63
|
-
@include m(bootstrap) {
|
|
64
|
-
@include e(composite) {
|
|
65
|
-
&:hover {
|
|
66
|
-
@extend %cbx-composite--hover !optional;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
75
|
@include m(indigo) {
|
|
72
|
-
@include e(composite) {
|
|
73
|
-
&:hover {
|
|
74
|
-
@extend %cbx-composite--hover !optional;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
76
|
@include e(composite-mark) {
|
|
79
77
|
@extend %cbx-composite-mark-indigo !optional;
|
|
80
78
|
}
|
|
81
|
-
|
|
82
|
-
@include e(label) {
|
|
83
|
-
&:hover {
|
|
84
|
-
@extend %cbx-label--hover !optional;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
79
|
}
|
|
88
80
|
|
|
89
81
|
@include m(invalid) {
|
|
@@ -99,6 +91,10 @@
|
|
|
99
91
|
@extend %cbx-label--invalid !optional;
|
|
100
92
|
}
|
|
101
93
|
|
|
94
|
+
@include e(label, $m: before) {
|
|
95
|
+
@extend %cbx-label--invalid !optional;
|
|
96
|
+
}
|
|
97
|
+
|
|
102
98
|
&:hover {
|
|
103
99
|
@include e(ripple) {
|
|
104
100
|
@extend %cbx-ripple--hover !optional;
|
|
@@ -112,6 +108,14 @@
|
|
|
112
108
|
@include e(composite-mark) {
|
|
113
109
|
@extend %cbx-composite-mark--invalid--fluent !optional;
|
|
114
110
|
}
|
|
111
|
+
|
|
112
|
+
@include e(label) {
|
|
113
|
+
@extend %cbx-label--invalid !optional;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
@include e(label, $m: before) {
|
|
117
|
+
@extend %cbx-label--invalid !optional;
|
|
118
|
+
}
|
|
115
119
|
}
|
|
116
120
|
|
|
117
121
|
&:active {
|
|
@@ -183,6 +187,12 @@
|
|
|
183
187
|
@include e(ripple) {
|
|
184
188
|
@extend %cbx-ripple--focused-invalid !optional;
|
|
185
189
|
}
|
|
190
|
+
|
|
191
|
+
&:hover {
|
|
192
|
+
@include e(ripple) {
|
|
193
|
+
@extend %cbx-ripple--hover-invalid !optional;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
186
196
|
}
|
|
187
197
|
|
|
188
198
|
@include mx(indigo, focused, invalid) {
|
|
@@ -239,11 +249,19 @@
|
|
|
239
249
|
@include e(composite) {
|
|
240
250
|
@extend %cbx-composite--x--hover !optional;
|
|
241
251
|
}
|
|
252
|
+
|
|
253
|
+
@include e(composite-mark) {
|
|
254
|
+
@extend %cbx-composite-mark--in--fluent !optional;
|
|
255
|
+
}
|
|
242
256
|
}
|
|
243
257
|
}
|
|
244
258
|
|
|
245
259
|
@include mx(material, disabled, indeterminate) {
|
|
246
|
-
@extend %igx-checkbox--disabled-indeterminate
|
|
260
|
+
@extend %igx-checkbox--disabled-indeterminate !optional;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
@include mx(bootstrap, disabled, indeterminate) {
|
|
264
|
+
@extend %igx-checkbox--disabled-indeterminate !optional;
|
|
247
265
|
}
|
|
248
266
|
|
|
249
267
|
@include mx(fluent, disabled, indeterminate) {
|
|
@@ -251,7 +269,9 @@
|
|
|
251
269
|
}
|
|
252
270
|
|
|
253
271
|
@include mx(indigo, disabled, indeterminate) {
|
|
254
|
-
@
|
|
272
|
+
@include e(composite) {
|
|
273
|
+
@extend %igx-checkbox--disabled-indeterminate-indigo !optional;
|
|
274
|
+
}
|
|
255
275
|
}
|
|
256
276
|
|
|
257
277
|
@include mx(indigo, focused, indeterminate) {
|
|
@@ -324,6 +344,21 @@
|
|
|
324
344
|
@extend %cbx-ripple--focused !optional;
|
|
325
345
|
@extend %cbx-ripple--focused-checked !optional;
|
|
326
346
|
}
|
|
347
|
+
|
|
348
|
+
&:hover {
|
|
349
|
+
@include e(ripple) {
|
|
350
|
+
@extend %cbx-ripple--focused !optional;
|
|
351
|
+
@extend %cbx-ripple--focused--hover-checked !optional;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
@include mx(focused, invalid, checked) {
|
|
357
|
+
&:hover {
|
|
358
|
+
@include e(ripple) {
|
|
359
|
+
@extend %cbx-ripple--hover-invalid !optional;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
327
362
|
}
|
|
328
363
|
|
|
329
364
|
@include mx(focused, indeterminate) {
|
|
@@ -122,7 +122,9 @@
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
%cbx-composite--hover {
|
|
125
|
-
|
|
125
|
+
@if $variant == 'bootstrap' or $variant == 'indigo' {
|
|
126
|
+
border-color: var-get($theme, 'empty-color-hover');
|
|
127
|
+
}
|
|
126
128
|
}
|
|
127
129
|
|
|
128
130
|
%cbx-composite--x {
|
|
@@ -175,6 +177,7 @@
|
|
|
175
177
|
%cbx-composite--x--disabled {
|
|
176
178
|
@if $variant == 'material' or $variant == 'fluent' {
|
|
177
179
|
background: var-get($theme, 'disabled-color');
|
|
180
|
+
border-color: var-get($theme, 'disabled-color');
|
|
178
181
|
}
|
|
179
182
|
|
|
180
183
|
@if $variant == 'indigo' or $variant == 'bootstrap' {
|
|
@@ -262,7 +265,7 @@
|
|
|
262
265
|
}
|
|
263
266
|
|
|
264
267
|
%igx-checkbox--disabled-indeterminate-indigo {
|
|
265
|
-
@extend %
|
|
268
|
+
@extend %cbx-composite--x--disabled;
|
|
266
269
|
|
|
267
270
|
%cbx-composite-mark {
|
|
268
271
|
rect {
|
|
@@ -291,6 +294,14 @@
|
|
|
291
294
|
z-index: 1;
|
|
292
295
|
}
|
|
293
296
|
}
|
|
297
|
+
|
|
298
|
+
&:hover {
|
|
299
|
+
%cbx-composite {
|
|
300
|
+
&::before {
|
|
301
|
+
background: var-get($theme, 'fill-color-hover');
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
294
305
|
}
|
|
295
306
|
|
|
296
307
|
%igx-checkbox--disabled-indeterminate-fluent {
|
|
@@ -299,7 +310,7 @@
|
|
|
299
310
|
}
|
|
300
311
|
|
|
301
312
|
%cbx-composite--x--disabled {
|
|
302
|
-
|
|
313
|
+
border-color: var-get($theme, 'disabled-color');
|
|
303
314
|
|
|
304
315
|
&::before {
|
|
305
316
|
background: var-get($theme, 'disabled-color');
|
|
@@ -307,7 +318,7 @@
|
|
|
307
318
|
}
|
|
308
319
|
}
|
|
309
320
|
|
|
310
|
-
%igx-checkbox--disabled-indeterminate
|
|
321
|
+
%igx-checkbox--disabled-indeterminate {
|
|
311
322
|
%cbx-composite--x--disabled {
|
|
312
323
|
border-color: var-get($theme, 'disabled-indeterminate-color');
|
|
313
324
|
background: var-get($theme, 'disabled-indeterminate-color');
|
|
@@ -458,11 +469,11 @@
|
|
|
458
469
|
}
|
|
459
470
|
|
|
460
471
|
%cbx-ripple--hover-checked {
|
|
461
|
-
background: var-get($theme, 'fill-color');
|
|
472
|
+
background: var-get($theme, 'fill-color-hover');
|
|
462
473
|
}
|
|
463
474
|
|
|
464
475
|
%cbx-ripple--hover-invalid {
|
|
465
|
-
background: var-get($theme, 'error-color');
|
|
476
|
+
background: var-get($theme, 'error-color-hover');
|
|
466
477
|
}
|
|
467
478
|
|
|
468
479
|
%igx-checkbox--focused-indigo {
|
|
@@ -544,6 +555,10 @@
|
|
|
544
555
|
background: var-get($theme, 'fill-color');
|
|
545
556
|
}
|
|
546
557
|
|
|
558
|
+
%cbx-ripple--focused--hover-checked {
|
|
559
|
+
background: var-get($theme, 'fill-color-hover');
|
|
560
|
+
}
|
|
561
|
+
|
|
547
562
|
%cbx-ripple--focused-invalid {
|
|
548
563
|
background: var-get($theme, 'error-color');
|
|
549
564
|
}
|
|
@@ -210,12 +210,24 @@
|
|
|
210
210
|
color: var-get($theme, 'clear-button-foreground-focus');
|
|
211
211
|
background: var-get($theme, 'clear-button-background-focus');
|
|
212
212
|
}
|
|
213
|
+
|
|
214
|
+
&%form-group-bundle--border {
|
|
215
|
+
%igx-combo__toggle-button {
|
|
216
|
+
background: var-get($theme, 'toggle-button-background-focus--border');
|
|
217
|
+
}
|
|
218
|
+
}
|
|
213
219
|
}
|
|
214
220
|
|
|
215
221
|
@if $variant == 'indigo' {
|
|
216
222
|
%form-group-bundle:not(%form-group-bundle--disabled):hover {
|
|
217
223
|
%igx-combo__toggle-button {
|
|
218
224
|
color: var-get($theme, 'toggle-button-foreground-focus');
|
|
225
|
+
background: var-get($theme, 'toggle-button-background-focus');
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
%igx-combo__clear-button {
|
|
229
|
+
color: var-get($theme, 'clear-button-foreground-focus');
|
|
230
|
+
background: var-get($theme, 'clear-button-background-focus');
|
|
219
231
|
}
|
|
220
232
|
}
|
|
221
233
|
}
|
|
@@ -224,6 +236,14 @@
|
|
|
224
236
|
%igx-combo__toggle-button {
|
|
225
237
|
color: var-get($theme, 'toggle-button-foreground-filled');
|
|
226
238
|
}
|
|
239
|
+
|
|
240
|
+
@if $variant == 'material' {
|
|
241
|
+
&.igx-input-group--focused {
|
|
242
|
+
%igx-combo__toggle-button {
|
|
243
|
+
color: var-get($theme, 'toggle-button-foreground-filled');
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
227
247
|
}
|
|
228
248
|
|
|
229
249
|
.igx-input-group--focused {
|
|
@@ -254,14 +274,6 @@
|
|
|
254
274
|
}
|
|
255
275
|
}
|
|
256
276
|
|
|
257
|
-
//.igx-input-group:not(.igx-input-group--box) {
|
|
258
|
-
// %igx-combo__toggle-button:focus {
|
|
259
|
-
// @if $variant == 'material' {
|
|
260
|
-
// background: var-get($theme, 'toggle-button-background-focus--border');
|
|
261
|
-
// }
|
|
262
|
-
// }
|
|
263
|
-
//}
|
|
264
|
-
|
|
265
277
|
.igx-input-group--disabled {
|
|
266
278
|
%igx-combo__toggle-button {
|
|
267
279
|
background: var-get($theme, 'toggle-button-background-disabled') !important;
|
|
@@ -274,12 +286,4 @@
|
|
|
274
286
|
}
|
|
275
287
|
}
|
|
276
288
|
}
|
|
277
|
-
|
|
278
|
-
%form-group-bundle {
|
|
279
|
-
&:hover {
|
|
280
|
-
%igx-combo__clear-button {
|
|
281
|
-
color: inherit;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
289
|
}
|
|
@@ -38,6 +38,11 @@
|
|
|
38
38
|
igx-input-group {
|
|
39
39
|
--ig-size: 1;
|
|
40
40
|
}
|
|
41
|
+
|
|
42
|
+
.igx-icon-button,
|
|
43
|
+
igc-icon-button {
|
|
44
|
+
--ig-size: 2;
|
|
45
|
+
}
|
|
41
46
|
}
|
|
42
47
|
|
|
43
48
|
@if $variant == 'bootstrap' {
|
|
@@ -114,30 +119,27 @@
|
|
|
114
119
|
|
|
115
120
|
igx-icon,
|
|
116
121
|
igc-icon {
|
|
117
|
-
--component-size: 3;
|
|
122
|
+
--component-size: #{if($variant == 'indigo', 2, 3)};
|
|
118
123
|
|
|
119
124
|
cursor: pointer;
|
|
120
125
|
user-select: none;
|
|
121
126
|
transition: color .15s $out-quad;
|
|
127
|
+
|
|
128
|
+
@if $variant == 'indigo' {
|
|
129
|
+
width: auto;
|
|
130
|
+
height: auto;
|
|
131
|
+
padding: rem(6px);
|
|
132
|
+
}
|
|
122
133
|
}
|
|
123
134
|
|
|
124
|
-
>igx-icon,
|
|
125
|
-
>igc-icon {
|
|
135
|
+
> igx-icon,
|
|
136
|
+
> igc-icon {
|
|
126
137
|
color: var-get($theme, 'idle-icon-color');
|
|
127
138
|
|
|
128
139
|
&:hover {
|
|
129
140
|
color: var-get($theme, 'hover-icon-color');
|
|
130
141
|
}
|
|
131
142
|
}
|
|
132
|
-
|
|
133
|
-
@if $variant == 'indigo' {
|
|
134
|
-
igx-icon,
|
|
135
|
-
igc-icon {
|
|
136
|
-
--component-size: 2;
|
|
137
|
-
|
|
138
|
-
margin-inline: rem(6px);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
143
|
}
|
|
142
144
|
|
|
143
145
|
igx-navbar-action,
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
|
|
56
56
|
.igx-input-group.igx-input-group--disabled.igx-input-group--filled,
|
|
57
57
|
.igx-input-group.igx-input-group--disabled {
|
|
58
|
-
%igx-select__toggle-button {
|
|
58
|
+
%form-group-bundle %igx-select__toggle-button {
|
|
59
59
|
background: var-get($theme, 'toggle-button-background-disabled');
|
|
60
60
|
color: var-get($theme, 'toggle-button-foreground-disabled');
|
|
61
61
|
}
|
|
@@ -23,21 +23,6 @@
|
|
|
23
23
|
'indigo': rem(16px),
|
|
24
24
|
), $variant);
|
|
25
25
|
|
|
26
|
-
.igx-input-group {
|
|
27
|
-
display: flex;
|
|
28
|
-
flex-direction: column;
|
|
29
|
-
|
|
30
|
-
@if $variant == 'indigo' or $variant == 'bootstrap' {
|
|
31
|
-
[igxLabel] {
|
|
32
|
-
margin-block-end: rem(4px);
|
|
33
|
-
}
|
|
34
|
-
} @else if $variant == 'fluent' {
|
|
35
|
-
[igxLabel] {
|
|
36
|
-
margin-block-end: rem(5px);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
26
|
%time-picker-display {
|
|
42
27
|
@include sizable();
|
|
43
28
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
gap: rem(8px);
|
|
24
24
|
min-height: rem(24px);
|
|
25
25
|
min-width: rem(24px);
|
|
26
|
-
max-width: 200px;
|
|
26
|
+
max-width: rem(200px);
|
|
27
27
|
width: fit-content;
|
|
28
28
|
|
|
29
29
|
igx-icon {
|
|
@@ -34,6 +34,10 @@
|
|
|
34
34
|
display: flex;
|
|
35
35
|
cursor: default;
|
|
36
36
|
}
|
|
37
|
+
|
|
38
|
+
&:not([data-default]) {
|
|
39
|
+
max-width: initial;
|
|
40
|
+
}
|
|
37
41
|
}
|
|
38
42
|
|
|
39
43
|
%arrow--top {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
@use '../components/input/file-input-theme' as *;
|
|
37
37
|
|
|
38
38
|
@mixin typography($type-scale) {
|
|
39
|
-
@include badge-typography();
|
|
39
|
+
@include badge-typography($theme: 'bootstrap');
|
|
40
40
|
@include banner-typography();
|
|
41
41
|
@include bottom-nav-typography();
|
|
42
42
|
@include button-typography();
|
|
@@ -35,9 +35,7 @@
|
|
|
35
35
|
@use '../components/input/file-input-theme' as *;
|
|
36
36
|
|
|
37
37
|
@mixin typography($type-scale) {
|
|
38
|
-
@include badge-typography($
|
|
39
|
-
text: 'button',
|
|
40
|
-
));
|
|
38
|
+
@include badge-typography($theme: 'indigo');
|
|
41
39
|
@include banner-typography();
|
|
42
40
|
@include bottom-nav-typography();
|
|
43
41
|
@include button-typography();
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
@use '../components/input/file-input-theme' as *;
|
|
36
36
|
|
|
37
37
|
@mixin typography() {
|
|
38
|
-
@include badge-typography();
|
|
38
|
+
@include badge-typography($theme: 'material');
|
|
39
39
|
@include banner-typography();
|
|
40
40
|
@include bottom-nav-typography();
|
|
41
41
|
@include button-typography();
|