igniteui-angular 19.2.0-alpha.1 → 19.2.0-beta.0
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 +2153 -2176
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/lib/calendar/calendar.component.d.ts +2 -2
- package/lib/calendar/month-picker/month-picker.component.d.ts +2 -2
- package/lib/carousel/carousel-base.d.ts +7 -32
- package/lib/carousel/carousel.component.d.ts +3 -25
- package/lib/carousel/slide.component.d.ts +3 -3
- package/lib/checkbox/checkbox-base.directive.d.ts +3 -4
- package/lib/core/styles/components/calendar/_calendar-component.scss +4 -0
- package/lib/core/styles/components/calendar/_calendar-theme.scss +31 -60
- package/lib/core/styles/components/card/_card-theme.scss +22 -24
- package/lib/core/styles/components/chip/_chip-theme.scss +43 -19
- package/lib/core/styles/components/grid/_grid-theme.scss +42 -40
- package/lib/core/styles/components/input/_input-group-theme.scss +17 -12
- package/lib/core/styles/components/progress/circular/_circular-theme.scss +11 -8
- package/lib/core/styles/components/query-builder/_query-builder-component.scss +3 -3
- package/lib/core/styles/components/query-builder/_query-builder-theme.scss +25 -5
- package/lib/core/styles/components/switch/_switch-component.scss +0 -65
- package/lib/core/styles/components/switch/_switch-theme.scss +0 -81
- package/lib/core/styles/components/tree/_tree-theme.scss +1 -3
- package/lib/data-operations/filtering-condition.d.ts +6 -14
- package/lib/data-operations/filtering-expression.interface.d.ts +3 -3
- package/lib/data-operations/filtering-expressions-tree.d.ts +3 -3
- package/lib/directives/button/button.directive.d.ts +3 -5
- package/lib/directives/drag-drop/drag-drop.directive.d.ts +1 -0
- package/lib/grids/columns/column.component.d.ts +19 -1
- package/lib/grids/common/random.d.ts +5 -0
- package/lib/grids/grid-base.directive.d.ts +10 -5
- package/lib/grids/hierarchical-grid/events.d.ts +1 -0
- package/lib/grids/hierarchical-grid/hierarchical-grid-base.directive.d.ts +1 -1
- package/lib/grids/pivot-grid/pivot-grid.component.d.ts +2 -1
- package/lib/grids/pivot-grid/pivot-header-row.component.d.ts +0 -1
- package/lib/grids/toolbar/grid-toolbar-advanced-filtering.component.d.ts +3 -3
- package/lib/query-builder/query-builder-drag.service.d.ts +26 -36
- package/lib/query-builder/query-builder-tree.component.d.ts +22 -10
- package/lib/query-builder/query-builder.common.d.ts +1 -1
- package/migrations/migration-collection.json +10 -0
- package/migrations/update-19_1_4/changes/theme-changes.json +29 -0
- package/migrations/update-19_1_4/index.d.ts +3 -0
- package/migrations/update-19_1_4/index.js +18 -0
- package/migrations/update-19_2_0/changes/inputs.json +13 -0
- package/migrations/update-19_2_0/changes/theme-changes.json +59 -0
- package/migrations/update-19_2_0/index.d.ts +3 -0
- package/migrations/update-19_2_0/index.js +18 -0
- package/package.json +2 -2
- package/schematics/tsconfig.tsbuildinfo +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
|
@@ -317,8 +317,8 @@ export declare class IgxCalendarComponent extends IgxCalendarBaseDirective imple
|
|
|
317
317
|
protected get activeDescendant(): number;
|
|
318
318
|
protected set activeDescendant(date: Date);
|
|
319
319
|
ngAfterViewInit(): void;
|
|
320
|
-
|
|
321
|
-
|
|
320
|
+
protected onWrapperFocus(_event: FocusEvent): void;
|
|
321
|
+
protected onWrapperBlur(_event: FocusEvent): void;
|
|
322
322
|
private handleArrowKeydown;
|
|
323
323
|
private handlePageUpDown;
|
|
324
324
|
private handlePageUp;
|
|
@@ -112,8 +112,8 @@ export declare class IgxMonthPickerComponent extends IgxCalendarBaseDirective im
|
|
|
112
112
|
get isDefaultView(): boolean;
|
|
113
113
|
ngOnInit(): void;
|
|
114
114
|
ngAfterViewInit(): void;
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
protected onWrapperFocus(event: FocusEvent): void;
|
|
116
|
+
protected onWrapperBlur(event: FocusEvent): void;
|
|
117
117
|
private handlePageUpDown;
|
|
118
118
|
private handlePageUp;
|
|
119
119
|
private handlePageDown;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { AnimationReferenceMetadata } from '@angular/animations';
|
|
2
|
-
import { ChangeDetectorRef, EventEmitter,
|
|
2
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
3
3
|
import { AnimationPlayer, AnimationService } from '../services/animation/animation';
|
|
4
|
-
import { CarouselAnimationType
|
|
4
|
+
import { CarouselAnimationType } from './enums';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare enum Direction {
|
|
6
7
|
NONE = 0,
|
|
7
8
|
NEXT = 1,
|
|
@@ -11,42 +12,13 @@ export interface CarouselAnimationSettings {
|
|
|
11
12
|
enterAnimation: AnimationReferenceMetadata;
|
|
12
13
|
leaveAnimation: AnimationReferenceMetadata;
|
|
13
14
|
}
|
|
14
|
-
export interface ICarouselComponentBase {
|
|
15
|
-
id: string;
|
|
16
|
-
role: string;
|
|
17
|
-
cssClass: string;
|
|
18
|
-
loop: boolean;
|
|
19
|
-
pause: boolean;
|
|
20
|
-
navigation: boolean;
|
|
21
|
-
indicators: boolean;
|
|
22
|
-
vertical: boolean;
|
|
23
|
-
keyboardSupport: boolean;
|
|
24
|
-
gesturesSupport: boolean;
|
|
25
|
-
maximumIndicatorsCount: number;
|
|
26
|
-
indicatorsOrientation: CarouselIndicatorsOrientation;
|
|
27
|
-
animationType: CarouselAnimationType;
|
|
28
|
-
total: number;
|
|
29
|
-
current: number;
|
|
30
|
-
interval: number;
|
|
31
|
-
slideChanged: EventEmitter<any>;
|
|
32
|
-
slideAdded: EventEmitter<any>;
|
|
33
|
-
slideRemoved: EventEmitter<any>;
|
|
34
|
-
carouselPaused: EventEmitter<any>;
|
|
35
|
-
carouselPlaying: EventEmitter<any>;
|
|
36
|
-
next(): void;
|
|
37
|
-
prev(): void;
|
|
38
|
-
play(): void;
|
|
39
|
-
stop(): void;
|
|
40
|
-
}
|
|
41
|
-
/** @hidden */
|
|
42
|
-
export declare const IGX_CAROUSEL_COMPONENT: InjectionToken<ICarouselComponentBase>;
|
|
43
15
|
/** @hidden */
|
|
44
16
|
export interface IgxSlideComponentBase {
|
|
45
17
|
direction: Direction;
|
|
46
18
|
previous: boolean;
|
|
47
19
|
}
|
|
48
20
|
/** @hidden */
|
|
49
|
-
export declare abstract class IgxCarouselComponentBase {
|
|
21
|
+
export declare abstract class IgxCarouselComponentBase implements OnDestroy {
|
|
50
22
|
private animationService;
|
|
51
23
|
protected cdr: ChangeDetectorRef;
|
|
52
24
|
/** @hidden */
|
|
@@ -72,6 +44,7 @@ export declare abstract class IgxCarouselComponentBase {
|
|
|
72
44
|
/** @hidden */
|
|
73
45
|
protected vertical: boolean;
|
|
74
46
|
constructor(animationService: AnimationService, cdr: ChangeDetectorRef);
|
|
47
|
+
ngOnDestroy(): void;
|
|
75
48
|
/** @hidden */
|
|
76
49
|
protected triggerAnimations(): void;
|
|
77
50
|
/** @hidden */
|
|
@@ -84,4 +57,6 @@ export declare abstract class IgxCarouselComponentBase {
|
|
|
84
57
|
private playLeaveAnimation;
|
|
85
58
|
protected abstract getPreviousElement(): HTMLElement;
|
|
86
59
|
protected abstract getCurrentElement(): HTMLElement;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxCarouselComponentBase, never>;
|
|
61
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxCarouselComponentBase, never, never, {}, {}, never, never, true, never>;
|
|
87
62
|
}
|
|
@@ -3,7 +3,7 @@ import { HammerGestureConfig } from '@angular/platform-browser';
|
|
|
3
3
|
import { ICarouselResourceStrings } from '../core/i18n/carousel-resources';
|
|
4
4
|
import { IBaseEventArgs, PlatformUtil } from '../core/utils';
|
|
5
5
|
import { AnimationService } from '../services/animation/animation';
|
|
6
|
-
import { Direction,
|
|
6
|
+
import { Direction, IgxCarouselComponentBase } from './carousel-base';
|
|
7
7
|
import { IgxSlideComponent } from './slide.component';
|
|
8
8
|
import { CarouselAnimationType, CarouselIndicatorsOrientation } from './enums';
|
|
9
9
|
import { IgxDirectionality } from '../services/direction/directionality';
|
|
@@ -38,7 +38,7 @@ export declare class CarouselHammerConfig extends HammerGestureConfig {
|
|
|
38
38
|
* </igx-carousel>
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
|
-
export declare class IgxCarouselComponent extends IgxCarouselComponentBase implements
|
|
41
|
+
export declare class IgxCarouselComponent extends IgxCarouselComponentBase implements OnDestroy, AfterContentInit {
|
|
42
42
|
private element;
|
|
43
43
|
private iterableDiffers;
|
|
44
44
|
private platformUtil;
|
|
@@ -135,17 +135,6 @@ export declare class IgxCarouselComponent extends IgxCarouselComponentBase imple
|
|
|
135
135
|
* @memberOf IgxCarouselComponent
|
|
136
136
|
*/
|
|
137
137
|
vertical: boolean;
|
|
138
|
-
/**
|
|
139
|
-
* Controls whether the carousel should support keyboard navigation.
|
|
140
|
-
* Default value is `false`.
|
|
141
|
-
* ```html
|
|
142
|
-
* <igx-carousel [keyboardSupport]="true"></igx-carousel>
|
|
143
|
-
* ```
|
|
144
|
-
*
|
|
145
|
-
* @memberOf IgxCarouselComponent
|
|
146
|
-
* @deprecated in version 18.2.0.
|
|
147
|
-
*/
|
|
148
|
-
keyboardSupport: boolean;
|
|
149
138
|
/**
|
|
150
139
|
* Controls whether the carousel should support gestures.
|
|
151
140
|
* Default value is `true`.
|
|
@@ -421,16 +410,8 @@ export declare class IgxCarouselComponent extends IgxCarouselComponentBase imple
|
|
|
421
410
|
set interval(value: number);
|
|
422
411
|
constructor(cdr: ChangeDetectorRef, element: ElementRef, iterableDiffers: IterableDiffers, animationService: AnimationService, platformUtil: PlatformUtil, dir: IgxDirectionality, document: any);
|
|
423
412
|
/** @hidden */
|
|
424
|
-
onKeydownArrowRight(event: any): void;
|
|
425
|
-
/** @hidden */
|
|
426
|
-
onKeydownArrowLeft(event: any): void;
|
|
427
|
-
/** @hidden */
|
|
428
413
|
onTap(event: any): void;
|
|
429
414
|
/** @hidden */
|
|
430
|
-
onKeydownHome(event: any): void;
|
|
431
|
-
/** @hidden */
|
|
432
|
-
onKeydownEnd(event: any): void;
|
|
433
|
-
/** @hidden */
|
|
434
415
|
onMouseEnter(): void;
|
|
435
416
|
/** @hidden */
|
|
436
417
|
onMouseLeave(): void;
|
|
@@ -547,7 +528,6 @@ export declare class IgxCarouselComponent extends IgxCarouselComponentBase imple
|
|
|
547
528
|
/** @hidden */
|
|
548
529
|
get prevButtonDisabled(): boolean;
|
|
549
530
|
private get indicatorsElements();
|
|
550
|
-
private focusElement;
|
|
551
531
|
private getIndicatorsClass;
|
|
552
532
|
private getNextIndex;
|
|
553
533
|
private getPrevIndex;
|
|
@@ -558,15 +538,13 @@ export declare class IgxCarouselComponent extends IgxCarouselComponentBase imple
|
|
|
558
538
|
private finishAnimations;
|
|
559
539
|
private initSlides;
|
|
560
540
|
private updateSlidesSelection;
|
|
561
|
-
private focusSlideElement;
|
|
562
541
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxCarouselComponent, never>;
|
|
563
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IgxCarouselComponent, "igx-carousel", never, { "id": { "alias": "id"; "required": false; }; "loop": { "alias": "loop"; "required": false; }; "pause": { "alias": "pause"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "indicators": { "alias": "indicators"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "
|
|
542
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IgxCarouselComponent, "igx-carousel", never, { "id": { "alias": "id"; "required": false; }; "loop": { "alias": "loop"; "required": false; }; "pause": { "alias": "pause"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "indicators": { "alias": "indicators"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "gesturesSupport": { "alias": "gesturesSupport"; "required": false; }; "maximumIndicatorsCount": { "alias": "maximumIndicatorsCount"; "required": false; }; "indicatorsOrientation": { "alias": "indicatorsOrientation"; "required": false; }; "animationType": { "alias": "animationType"; "required": false; }; "resourceStrings": { "alias": "resourceStrings"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; }, { "slideChanged": "slideChanged"; "slideAdded": "slideAdded"; "slideRemoved": "slideRemoved"; "carouselPaused": "carouselPaused"; "carouselPlaying": "carouselPlaying"; }, ["indicatorTemplate", "nextButtonTemplate", "prevButtonTemplate", "slides"], ["*"], true, never>;
|
|
564
543
|
static ngAcceptInputType_loop: unknown;
|
|
565
544
|
static ngAcceptInputType_pause: unknown;
|
|
566
545
|
static ngAcceptInputType_navigation: unknown;
|
|
567
546
|
static ngAcceptInputType_indicators: unknown;
|
|
568
547
|
static ngAcceptInputType_vertical: unknown;
|
|
569
|
-
static ngAcceptInputType_keyboardSupport: unknown;
|
|
570
548
|
static ngAcceptInputType_gesturesSupport: unknown;
|
|
571
549
|
}
|
|
572
550
|
export interface ISlideEventArgs extends IBaseEventArgs {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnDestroy, EventEmitter, ElementRef, AfterContentChecked } from '@angular/core';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
|
-
import { Direction,
|
|
3
|
+
import { Direction, IgxSlideComponentBase } from './carousel-base';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* A slide component that usually holds an image and/or a caption text.
|
|
@@ -16,7 +16,6 @@ import * as i0 from "@angular/core";
|
|
|
16
16
|
*/
|
|
17
17
|
export declare class IgxSlideComponent implements AfterContentChecked, OnDestroy, IgxSlideComponentBase {
|
|
18
18
|
private elementRef;
|
|
19
|
-
private carousel;
|
|
20
19
|
/**
|
|
21
20
|
* Gets/sets the `index` of the slide inside the carousel.
|
|
22
21
|
* ```html
|
|
@@ -47,6 +46,7 @@ export declare class IgxSlideComponent implements AfterContentChecked, OnDestroy
|
|
|
47
46
|
* ```
|
|
48
47
|
*
|
|
49
48
|
* @memberof IgxSlideComponent
|
|
49
|
+
* @deprecated in version 19.2.0.
|
|
50
50
|
*/
|
|
51
51
|
get tabIndex(): number;
|
|
52
52
|
/**
|
|
@@ -97,7 +97,7 @@ export declare class IgxSlideComponent implements AfterContentChecked, OnDestroy
|
|
|
97
97
|
activeChange: EventEmitter<boolean>;
|
|
98
98
|
private _active;
|
|
99
99
|
private _destroy$;
|
|
100
|
-
constructor(elementRef: ElementRef
|
|
100
|
+
constructor(elementRef: ElementRef);
|
|
101
101
|
/**
|
|
102
102
|
* Returns a reference to the carousel element in the DOM.
|
|
103
103
|
* ```typescript
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, ElementRef, ChangeDetectorRef,
|
|
1
|
+
import { EventEmitter, ElementRef, ChangeDetectorRef, DestroyRef, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { IBaseEventArgs } from '../core/utils';
|
|
4
4
|
import { Subject } from 'rxjs';
|
|
@@ -15,7 +15,6 @@ export interface IChangeCheckboxEventArgs extends IBaseEventArgs {
|
|
|
15
15
|
}
|
|
16
16
|
export declare class CheckboxBaseDirective implements AfterViewInit {
|
|
17
17
|
protected cdr: ChangeDetectorRef;
|
|
18
|
-
protected renderer: Renderer2;
|
|
19
18
|
protected themeToken: ThemeToken;
|
|
20
19
|
ngControl: NgControl;
|
|
21
20
|
/**
|
|
@@ -185,7 +184,7 @@ export declare class CheckboxBaseDirective implements AfterViewInit {
|
|
|
185
184
|
* ```
|
|
186
185
|
*/
|
|
187
186
|
ariaLabel: string | null;
|
|
188
|
-
constructor(cdr: ChangeDetectorRef,
|
|
187
|
+
constructor(cdr: ChangeDetectorRef, themeToken: ThemeToken, ngControl: NgControl);
|
|
189
188
|
/**
|
|
190
189
|
* Sets/gets whether the checkbox is required.
|
|
191
190
|
* If not set, `required` will have value `false`.
|
|
@@ -274,7 +273,7 @@ export declare class CheckboxBaseDirective implements AfterViewInit {
|
|
|
274
273
|
* @internal
|
|
275
274
|
*/
|
|
276
275
|
private checkNativeValidity;
|
|
277
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxBaseDirective, [null, null,
|
|
276
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxBaseDirective, [null, null, { optional: true; self: true; }]>;
|
|
278
277
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxBaseDirective, never, never, { "checked": { "alias": "checked"; "required": false; }; "id": { "alias": "id"; "required": false; }; "labelId": { "alias": "labelId"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
|
|
279
278
|
static ngAcceptInputType_checked: unknown;
|
|
280
279
|
static ngAcceptInputType_disableRipple: unknown;
|
|
@@ -179,6 +179,10 @@
|
|
|
179
179
|
@extend %date-range-preview !optional;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
+
@include e(date, $mods: ('range-preview', 'inactive')) {
|
|
183
|
+
@extend %date-range-preview-inactive !optional;
|
|
184
|
+
}
|
|
185
|
+
|
|
182
186
|
@include e(date, $mods: ('range-preview', 'current')) {
|
|
183
187
|
@extend %date-range-preview-current !optional;
|
|
184
188
|
}
|
|
@@ -108,10 +108,6 @@
|
|
|
108
108
|
/// @param {Color} $date-selected-current-range-focus-foreground [null] - The :focus foreground of the current date in the selected range.
|
|
109
109
|
/// @param {Color} $date-selected-current-range-focus-background [null] - The :focus background of the current date in the selected range.
|
|
110
110
|
///
|
|
111
|
-
/// @param {Color} $date-selected-current-outline [null] - The outline of the current selected date.
|
|
112
|
-
/// @param {Color} $date-selected-current-hover-outline [null] - The :hover outline of the current selected date.
|
|
113
|
-
/// @param {Color} $date-selected-current-focus-outline [null] - The :focus outline of the current selected date.
|
|
114
|
-
///
|
|
115
111
|
/// @param {Color} $date-selected-special-border-color: [null] - The border color of the selected special date,
|
|
116
112
|
/// @param {Color} $date-selected-special-hover-border-color: [null] - The :hover border color of the selected special date,
|
|
117
113
|
/// @param {Color} $date-selected-special-focus-border-color: [null] - The :focus border color of the selected special date,
|
|
@@ -137,8 +133,6 @@
|
|
|
137
133
|
/// @param {Color} $date-special-range-foreground [null] - The foreground of the dates inside a range and marked as special.
|
|
138
134
|
/// @param {Color} $date-special-range-border-color [null] - The outline of the dates inside a range and marked as special.
|
|
139
135
|
///
|
|
140
|
-
/// @param {Color} $date-special-current-border-color [null] - The outline color of a special current date.
|
|
141
|
-
///
|
|
142
136
|
/// @param {Color} $border-color [null] - The calendar border color.
|
|
143
137
|
///
|
|
144
138
|
/// @param {Color} $date-border-color [null] - The border color of the date.
|
|
@@ -282,10 +276,6 @@
|
|
|
282
276
|
$date-selected-current-hover-border-color: null,
|
|
283
277
|
$date-selected-current-focus-border-color: null,
|
|
284
278
|
|
|
285
|
-
$date-selected-current-outline: null,
|
|
286
|
-
$date-selected-current-hover-outline: null,
|
|
287
|
-
$date-selected-current-focus-outline: null,
|
|
288
|
-
|
|
289
279
|
$date-selected-special-border-color: null,
|
|
290
280
|
$date-selected-special-hover-border-color: null,
|
|
291
281
|
$date-selected-special-focus-border-color: null,
|
|
@@ -310,7 +300,6 @@
|
|
|
310
300
|
$date-special-range-focus-background: null,
|
|
311
301
|
$date-special-range-foreground: null,
|
|
312
302
|
$date-special-range-border-color: null,
|
|
313
|
-
$date-special-current-border-color: null,
|
|
314
303
|
$date-disabled-foreground: null,
|
|
315
304
|
$date-disabled-range-foreground: null,
|
|
316
305
|
|
|
@@ -400,26 +389,6 @@
|
|
|
400
389
|
}
|
|
401
390
|
}
|
|
402
391
|
|
|
403
|
-
@if $variant == 'material' or $variant == 'indigo' {
|
|
404
|
-
@if not($date-selected-current-outline) and $content-background {
|
|
405
|
-
@if meta.type-of($content-background) == 'color' {
|
|
406
|
-
$date-selected-current-outline: $content-background;
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
@if not($date-selected-current-hover-outline) and $content-background {
|
|
411
|
-
@if meta.type-of($content-background) == 'color' {
|
|
412
|
-
$date-selected-current-hover-outline: $content-background;
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
@if not($date-selected-current-focus-outline) and $content-background {
|
|
417
|
-
@if meta.type-of($content-background) == 'color' {
|
|
418
|
-
$date-selected-current-focus-outline: $content-background;
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
|
|
423
392
|
@if not($content-foreground) and $content-background {
|
|
424
393
|
@if meta.type-of($content-background) == 'color' {
|
|
425
394
|
$content-foreground: text-contrast($content-background);
|
|
@@ -640,10 +609,6 @@
|
|
|
640
609
|
date-selected-current-hover-foreground: $date-selected-current-hover-foreground,
|
|
641
610
|
date-selected-current-focus-foreground: $date-selected-current-focus-foreground,
|
|
642
611
|
|
|
643
|
-
date-selected-current-outline: $date-selected-current-outline,
|
|
644
|
-
date-selected-current-hover-outline: $date-selected-current-hover-outline,
|
|
645
|
-
date-selected-current-focus-outline: $date-selected-current-focus-outline,
|
|
646
|
-
|
|
647
612
|
date-selected-special-border-color: $date-selected-special-border-color,
|
|
648
613
|
date-selected-special-hover-border-color: $date-selected-special-hover-border-color,
|
|
649
614
|
date-selected-special-focus-border-color: $date-selected-special-focus-border-color,
|
|
@@ -1158,7 +1123,7 @@
|
|
|
1158
1123
|
display: flex;
|
|
1159
1124
|
justify-content: space-between;
|
|
1160
1125
|
|
|
1161
|
-
@if $variant
|
|
1126
|
+
@if $variant == 'bootstrap' {
|
|
1162
1127
|
&:nth-child(2) {
|
|
1163
1128
|
%date-inner-week-number {
|
|
1164
1129
|
border-start-start-radius: var-get($theme, 'week-number-border-radius');
|
|
@@ -1222,28 +1187,6 @@
|
|
|
1222
1187
|
}
|
|
1223
1188
|
}
|
|
1224
1189
|
|
|
1225
|
-
%date-inner-week-number {
|
|
1226
|
-
min-width: auto;
|
|
1227
|
-
width: $date-size;
|
|
1228
|
-
color: var-get($theme, 'week-number-foreground');
|
|
1229
|
-
background: var-get($theme, 'week-number-background');
|
|
1230
|
-
|
|
1231
|
-
&::after {
|
|
1232
|
-
display: none !important;
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
|
-
&::before {
|
|
1236
|
-
content: '';
|
|
1237
|
-
position: absolute;
|
|
1238
|
-
background: var-get($theme, 'week-number-background');
|
|
1239
|
-
//border-inline: rem(1px) solid var-get($theme, 'week-number-background');
|
|
1240
|
-
inset-inline-start: rem(-1px);
|
|
1241
|
-
inset-block-start: 100%;
|
|
1242
|
-
height: calc($date-size / 2);
|
|
1243
|
-
width: $date-size;
|
|
1244
|
-
}
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
1190
|
%label-week-number {
|
|
1248
1191
|
text-align: center;
|
|
1249
1192
|
|
|
@@ -1272,9 +1215,8 @@
|
|
|
1272
1215
|
position: absolute;
|
|
1273
1216
|
background: var-get($theme, 'week-number-background');
|
|
1274
1217
|
border-inline: rem(1px) solid var-get($theme, 'week-number-background');
|
|
1275
|
-
inset-inline-start: rem(-1px);
|
|
1276
1218
|
inset-block-start: 100%;
|
|
1277
|
-
height:
|
|
1219
|
+
height: calc(#{$date-view-row-gap} + #{rem(if($variant == 'indigo', 0px, 2px))});
|
|
1278
1220
|
width: $date-size;
|
|
1279
1221
|
}
|
|
1280
1222
|
}
|
|
@@ -1507,6 +1449,29 @@
|
|
|
1507
1449
|
height: $date-size;
|
|
1508
1450
|
}
|
|
1509
1451
|
}
|
|
1452
|
+
|
|
1453
|
+
&%date-inner-week-number {
|
|
1454
|
+
min-width: auto;
|
|
1455
|
+
width: $date-size;
|
|
1456
|
+
color: var-get($theme, 'week-number-foreground');
|
|
1457
|
+
background: var-get($theme, 'week-number-background');
|
|
1458
|
+
|
|
1459
|
+
// This is not an actual date and should not change it's border when changing the date border
|
|
1460
|
+
border-color: var-get($theme, 'week-number-background');
|
|
1461
|
+
|
|
1462
|
+
&::after {
|
|
1463
|
+
display: none !important;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
&::before {
|
|
1467
|
+
content: '';
|
|
1468
|
+
position: absolute;
|
|
1469
|
+
background: var-get($theme, 'week-number-background');
|
|
1470
|
+
inset-block-start: 100%;
|
|
1471
|
+
height: calc(#{$date-view-row-gap} + #{rem(if($variant == 'indigo', 0, 2px))});
|
|
1472
|
+
width: $date-size;
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1510
1475
|
}
|
|
1511
1476
|
|
|
1512
1477
|
%date-weekend {
|
|
@@ -2389,6 +2354,12 @@
|
|
|
2389
2354
|
}
|
|
2390
2355
|
}
|
|
2391
2356
|
|
|
2357
|
+
%date-range-preview-inactive {
|
|
2358
|
+
%date-inner {
|
|
2359
|
+
color: var-get($theme, 'inactive-color');
|
|
2360
|
+
}
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2392
2363
|
%date-range-preview-current {
|
|
2393
2364
|
%date-inner {
|
|
2394
2365
|
color: var-get($theme, 'date-selected-current-range-foreground');
|
|
@@ -114,8 +114,6 @@
|
|
|
114
114
|
$not-material-theme: $variant != 'material';
|
|
115
115
|
|
|
116
116
|
$card-heading-padding: rem(16px, 16px);
|
|
117
|
-
$card-content-padding: rem(16px);
|
|
118
|
-
$card-actions-padding: rem(8px);
|
|
119
117
|
|
|
120
118
|
$card-tgroup-margin: 0 em(16px);
|
|
121
119
|
|
|
@@ -159,7 +157,7 @@
|
|
|
159
157
|
%igx-card-header {
|
|
160
158
|
display: flex;
|
|
161
159
|
flex-flow: row wrap;
|
|
162
|
-
align-
|
|
160
|
+
align-items: center;
|
|
163
161
|
width: 100%;
|
|
164
162
|
padding: $card-heading-padding;
|
|
165
163
|
color: var-get($theme, 'header-text-color');
|
|
@@ -168,10 +166,6 @@
|
|
|
168
166
|
display: block;
|
|
169
167
|
padding: 0;
|
|
170
168
|
}
|
|
171
|
-
|
|
172
|
-
@if $variant == 'fluent' {
|
|
173
|
-
padding: rem(16px) rem(8px);
|
|
174
|
-
}
|
|
175
169
|
}
|
|
176
170
|
|
|
177
171
|
%igx-card-header--vertical {
|
|
@@ -195,7 +189,6 @@
|
|
|
195
189
|
}
|
|
196
190
|
|
|
197
191
|
%igx-card-header-thumbnail {
|
|
198
|
-
align-self: flex-start;
|
|
199
192
|
margin-inline-end: rem(16px);
|
|
200
193
|
|
|
201
194
|
@if $variant == 'indigo' {
|
|
@@ -235,7 +228,7 @@
|
|
|
235
228
|
%igx-card-content {
|
|
236
229
|
display: block;
|
|
237
230
|
width: 100%;
|
|
238
|
-
padding:
|
|
231
|
+
padding: rem(16px);
|
|
239
232
|
color: var-get($theme, 'content-text-color');
|
|
240
233
|
overflow: auto;
|
|
241
234
|
}
|
|
@@ -259,6 +252,14 @@
|
|
|
259
252
|
}
|
|
260
253
|
|
|
261
254
|
%igx-card-actions {
|
|
255
|
+
$card-actions-padding: map.get((
|
|
256
|
+
'material': rem(8px) rem(16px),
|
|
257
|
+
'fluent': rem(8px) rem(16px),
|
|
258
|
+
'bootstrap': rem(16px),
|
|
259
|
+
'indigo': rem(16px),
|
|
260
|
+
), $variant);
|
|
261
|
+
|
|
262
|
+
|
|
262
263
|
display: flex;
|
|
263
264
|
flex-flow: row wrap;
|
|
264
265
|
justify-content: space-between;
|
|
@@ -283,29 +284,26 @@
|
|
|
283
284
|
|
|
284
285
|
@if $variant == 'bootstrap' {
|
|
285
286
|
%igx-card-content {
|
|
286
|
-
|
|
287
|
-
padding-block: rem(16px) rem(24px);
|
|
288
|
-
padding-inline: rem(24px);
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
%igx-card-actions {
|
|
293
|
-
padding: rem(16px);
|
|
287
|
+
padding-block-end: rem(24px);
|
|
294
288
|
}
|
|
295
289
|
}
|
|
296
290
|
|
|
297
291
|
@if $variant == 'indigo' {
|
|
298
|
-
%igx-card-content
|
|
299
|
-
|
|
300
|
-
|
|
292
|
+
%igx-card-content {
|
|
293
|
+
padding-block-end: rem(8px);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
%igx-card-content:last-child {
|
|
297
|
+
padding-block-end: rem(16px);
|
|
301
298
|
}
|
|
302
299
|
|
|
303
|
-
%igx-card-
|
|
304
|
-
padding-block-
|
|
300
|
+
%igx-card-header {
|
|
301
|
+
padding-block-end: 0;
|
|
305
302
|
}
|
|
306
303
|
|
|
307
|
-
%igx-card-header
|
|
308
|
-
|
|
304
|
+
%igx-card-header:last-child,
|
|
305
|
+
%igx-card-header:first-child {
|
|
306
|
+
padding-block-end: rem(16px);
|
|
309
307
|
}
|
|
310
308
|
}
|
|
311
309
|
|