igniteui-angular 19.2.12 → 19.2.14

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.
Files changed (40) hide show
  1. package/fesm2022/igniteui-angular.mjs +129 -37
  2. package/fesm2022/igniteui-angular.mjs.map +1 -1
  3. package/lib/core/styles/components/calendar/_calendar-theme.scss +2 -1
  4. package/lib/core/styles/components/date-picker/_date-picker-theme.scss +8 -1
  5. package/lib/core/styles/components/drop-down/_drop-down-theme.scss +1 -1
  6. package/lib/core/styles/components/grid/_grid-theme.scss +11 -10
  7. package/lib/core/styles/components/query-builder/_query-builder-theme.scss +22 -8
  8. package/lib/directives/for-of/base.helper.component.d.ts +6 -1
  9. package/lib/grids/common/strategy.d.ts +1 -1
  10. package/lib/grids/pivot-grid/pivot-grid.component.d.ts +2 -2
  11. package/lib/grids/pivot-grid/pivot-util.d.ts +2 -0
  12. package/lib/splitter/splitter-pane/splitter-pane.component.d.ts +3 -1
  13. package/lib/splitter/splitter.component.d.ts +3 -2
  14. package/package.json +1 -1
  15. package/styles/igniteui-angular-dark.css +1 -1
  16. package/styles/igniteui-angular.css +1 -1
  17. package/styles/igniteui-bootstrap-dark.css +1 -1
  18. package/styles/igniteui-bootstrap-light.css +1 -1
  19. package/styles/igniteui-dark-green.css +1 -1
  20. package/styles/igniteui-fluent-dark-excel.css +1 -1
  21. package/styles/igniteui-fluent-dark-word.css +1 -1
  22. package/styles/igniteui-fluent-dark.css +1 -1
  23. package/styles/igniteui-fluent-light-excel.css +1 -1
  24. package/styles/igniteui-fluent-light-word.css +1 -1
  25. package/styles/igniteui-fluent-light.css +1 -1
  26. package/styles/igniteui-indigo-dark.css +1 -1
  27. package/styles/igniteui-indigo-light.css +1 -1
  28. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  29. package/styles/maps/igniteui-angular.css.map +1 -1
  30. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  31. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  32. package/styles/maps/igniteui-dark-green.css.map +1 -1
  33. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  34. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  35. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  36. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  37. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  38. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  39. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  40. package/styles/maps/igniteui-indigo-light.css.map +1 -1
@@ -660,7 +660,8 @@
660
660
  inner-size: $inner-size,
661
661
  theme: map.get($schema, '_meta', 'theme'),
662
662
  _meta: map.merge(if($meta, $meta, ()), (
663
- variant: map.get($schema, '_meta', 'theme')
663
+ variant: map.get($schema, '_meta', 'theme'),
664
+ theme-variant: map.get($schema, '_meta', 'variant')
664
665
  )),
665
666
  ));
666
667
  }
@@ -14,6 +14,7 @@
14
14
  /// @param {Map} $theme - The calendar theme used to style the component.
15
15
  @mixin date-picker($theme) {
16
16
  $variant: map.get($theme, '_meta', 'variant');
17
+ $theme-variant: map.get($theme, '_meta', 'theme-variant');
17
18
  $bootstrap-theme: $variant == 'bootstrap';
18
19
  $border-shadow: 0 0 0 rem(1px) var-get($theme, 'border-color');
19
20
 
@@ -26,11 +27,17 @@
26
27
 
27
28
  %date-picker {
28
29
  // TODO move the shadow in the schemas
29
- box-shadow: $border-shadow, elevation(24),;
30
+ box-shadow: $border-shadow, elevation(24);
30
31
  border-radius: var-get($theme, 'border-radius');
31
32
  background: var-get($theme, 'content-background');
32
33
  overflow: hidden;
33
34
 
35
+ @if $variant == 'indigo' and $theme-variant == 'light' {
36
+ box-shadow: $border-shadow, elevation(5);
37
+ } @else if $variant == 'indigo' and $theme-variant == 'dark' {
38
+ box-shadow: $border-shadow, elevation(7);
39
+ }
40
+
34
41
  igx-calendar,
35
42
  %days-view,
36
43
  %months-view,
@@ -243,7 +243,7 @@
243
243
  -webkit-overflow-scrolling: touch;
244
244
  position: relative;
245
245
 
246
- igx-display-container {
246
+ .igx-display-container--scrollbar {
247
247
  padding-inline-end: var(--vhelper-scrollbar-size);
248
248
  }
249
249
  }
@@ -737,8 +737,7 @@
737
737
  igx-time-picker {
738
738
  position: relative;
739
739
  height: calc(100% - #{$editing-outline-width * 2});
740
- width: calc(100% - #{$editing-outline-width * 2}) !important;
741
- inset-inline-start: $editing-outline-width;
740
+ width: 100% !important;
742
741
  overflow: hidden;
743
742
  }
744
743
 
@@ -1514,6 +1513,9 @@
1514
1513
  }
1515
1514
 
1516
1515
  %igx-grid__td--bool {
1516
+ display: flex;
1517
+ flex-grow: 1;
1518
+
1517
1519
  igx-icon {
1518
1520
  --component-size: #{if($variant == 'indigo', 2, 1)};
1519
1521
  }
@@ -1783,7 +1785,6 @@
1783
1785
  padding-inline-end: rem(4px) !important;
1784
1786
 
1785
1787
  > igx-icon {
1786
- margin-inline-start: auto;
1787
1788
  color: color($color: 'error');
1788
1789
  width: var(--igx-icon-size, rem(18px));
1789
1790
  height: var(--igx-icon-size, rem(18px));
@@ -1889,11 +1890,10 @@
1889
1890
  %igx-grid__td--editing {
1890
1891
  background: var-get($theme, 'cell-editing-background') !important;
1891
1892
  box-shadow: inset 0 0 0 $editing-outline-width var-get($theme, 'edit-mode-color');
1892
- padding: 0 !important;
1893
+ padding-inline: rem(4px);
1893
1894
 
1894
1895
  &.igx-grid__td--invalid {
1895
1896
  box-shadow: inset 0 0 0 rem(2px) color($color: 'error') !important;
1896
- padding-inline-end: rem(4px) !important;
1897
1897
  }
1898
1898
 
1899
1899
  &%grid-cell-number {
@@ -2084,7 +2084,7 @@
2084
2084
 
2085
2085
  .sort-icon {
2086
2086
  color: var-get($theme, 'header-selected-text-color');
2087
-
2087
+
2088
2088
  ::after {
2089
2089
  background: var-get($theme, 'header-selected-background');
2090
2090
  }
@@ -2112,7 +2112,7 @@
2112
2112
  &%igx-grid-th--sorted {
2113
2113
  .sort-icon {
2114
2114
  color: var-get($theme, 'header-selected-text-color');
2115
-
2115
+
2116
2116
  > igx-icon {
2117
2117
  color: inherit;
2118
2118
  }
@@ -2120,7 +2120,7 @@
2120
2120
  &:focus,
2121
2121
  &:hover {
2122
2122
  color: var-get($theme, 'header-selected-text-color');
2123
-
2123
+
2124
2124
  > igx-icon {
2125
2125
  color: inherit;
2126
2126
  }
@@ -2177,14 +2177,14 @@
2177
2177
  .sort-icon {
2178
2178
  opacity: 1;
2179
2179
  color: var-get($theme, 'sorted-header-icon-color');
2180
-
2180
+
2181
2181
  > igx-icon {
2182
2182
  color: inherit;
2183
2183
  }
2184
2184
 
2185
2185
  &:hover {
2186
2186
  color: var-get($theme, 'sortable-header-icon-hover-color');
2187
-
2187
+
2188
2188
  > igx-icon {
2189
2189
  color: inherit;
2190
2190
  }
@@ -2220,6 +2220,7 @@
2220
2220
  %grid-cell-number {
2221
2221
  text-align: $grid-cell-align-num;
2222
2222
  justify-content: flex-end;
2223
+ flex-grow: 1;
2223
2224
 
2224
2225
  %grid-cell-header-icons {
2225
2226
  justify-content: flex-start;
@@ -114,6 +114,14 @@
114
114
  %advanced-filter {
115
115
  @include sizable();
116
116
 
117
+ --tree-scrollbar-gutter: #{rem(16px)};
118
+
119
+ @if $variant == 'bootstrap' {
120
+ --query-builder-outer-padding: #{rem(16px)};
121
+ } @else {
122
+ --query-builder-outer-padding: #{rem(24px)};
123
+ }
124
+
117
125
  width: auto;
118
126
  min-width: rem(660px);
119
127
  background-color: var-get($theme, 'background');
@@ -122,11 +130,19 @@
122
130
  overflow: hidden;
123
131
 
124
132
  &:has(:not(igx-query-builder-header)) {
125
- padding-block-start: if($variant != 'bootstrap', rem(24px), rem(16px))
133
+ padding-block-start: var(--query-builder-outer-padding);
134
+
135
+ %query-level-0 {
136
+ padding-block: 0 var(--query-builder-outer-padding);
137
+ }
126
138
  }
127
139
 
128
140
  &:has(igx-query-builder-header) {
129
141
  padding-block-start: 0;
142
+
143
+ %query-level-0 {
144
+ padding-block: if($variant != 'bootstrap', 0, rem(16px)) var(--query-builder-outer-padding);
145
+ }
130
146
  }
131
147
 
132
148
  .igx-chip__ghost {
@@ -145,10 +161,8 @@
145
161
  %query-level-0 {
146
162
  display: block;
147
163
  width: 100%;
148
- padding-inline: if($variant != 'bootstrap', rem(24px), rem(16px));
149
- padding-block:
150
- if($variant != 'bootstrap', 0, rem(16px))
151
- if($variant != 'bootstrap', rem(24px), rem(16px));
164
+
165
+ padding-inline: var(--query-builder-outer-padding);
152
166
 
153
167
  > %advanced-filter__main {
154
168
  gap: rem(16px);
@@ -159,7 +173,7 @@
159
173
  max-height: rem(570px);
160
174
  overflow-y: auto;
161
175
  overflow-x: hidden;
162
- padding-inline-end: rem(16px);
176
+ padding-inline-end: var(--tree-scrollbar-gutter);
163
177
  }
164
178
  }
165
179
  }
@@ -230,8 +244,8 @@
230
244
  margin-bottom: 0;
231
245
  border-block-end: rem(1px) solid var-get($theme, 'header-border');
232
246
 
233
- padding-inline: if($variant != 'bootstrap', rem(24px), rem(16px));
234
- padding-block: if($variant != 'bootstrap', rem(24px), rem(16px)) rem(16px);
247
+ padding-inline: var(--query-builder-outer-padding);
248
+ padding-block: var(--query-builder-outer-padding) rem(16px);
235
249
  }
236
250
 
237
251
  %advanced-filter__title {
@@ -1,4 +1,4 @@
1
- import { ElementRef, ChangeDetectorRef, OnDestroy, AfterViewInit, NgZone } from '@angular/core';
1
+ import { ElementRef, ChangeDetectorRef, OnDestroy, AfterViewInit, NgZone, Renderer2 } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
3
  import { PlatformUtil } from '../../core/utils';
4
4
  import * as i0 from "@angular/core";
@@ -15,6 +15,9 @@ export declare class VirtualHelperBaseDirective implements OnDestroy, AfterViewI
15
15
  private _afterViewInit;
16
16
  private _scrollNativeSize;
17
17
  private _detached;
18
+ protected renderer: Renderer2;
19
+ protected platformId: Object;
20
+ protected ngZone: NgZone;
18
21
  constructor(elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef, _zone: NgZone, document: any, platformUtil: PlatformUtil);
19
22
  onScroll(event: any): void;
20
23
  ngAfterViewInit(): void;
@@ -25,6 +28,8 @@ export declare class VirtualHelperBaseDirective implements OnDestroy, AfterViewI
25
28
  get size(): number;
26
29
  get scrollNativeSize(): number;
27
30
  protected get isAttachedToDom(): boolean;
31
+ private toggleClass;
32
+ private updateScrollbarClass;
28
33
  protected handleMutations(event: any): void;
29
34
  protected restoreScroll(): void;
30
35
  static ɵfac: i0.ɵɵFactoryDeclaration<VirtualHelperBaseDirective, never>;
@@ -49,7 +49,7 @@ export declare class IgxSorting implements IGridSortingStrategy {
49
49
  * Returns an array containing the grouped result.
50
50
  * @internal
51
51
  */
52
- protected groupDataRecursive(data: any[], state: IGroupingState, level: number, parent: IGroupByRecord, metadata: IGroupByRecord[], grid?: GridType, groupsRecords?: any[], fullResult?: IGroupByResult): any[];
52
+ protected groupDataRecursive(data: any[], state: IGroupingState, level: number, parent: IGroupByRecord, metadata: IGroupByRecord[], grid?: GridType, groupsRecords?: any[], fullResult?: IGroupByResult): IGroupByResult;
53
53
  /**
54
54
  * Retrieves the value of the specified field from the given object, considering date and time data types.
55
55
  * `key`: The key of the field to retrieve.
@@ -2,7 +2,7 @@ import { AfterContentInit, AfterViewInit, ChangeDetectorRef, EventEmitter, Eleme
2
2
  import { IgxGridBaseDirective } from '../grid-base.directive';
3
3
  import { IgxFilteringService } from '../filtering/grid-filtering.service';
4
4
  import { IgxGridSelectionService } from '../selection/selection.service';
5
- import { ColumnType, GridType, IgxColumnTemplateContext, RowType } from '../common/grid.interface';
5
+ import { ColumnType, GridType, IgxColumnTemplateContext, PivotGridType, RowType } from '../common/grid.interface';
6
6
  import { IgxGridSummaryService } from '../summaries/grid-summary.service';
7
7
  import { IDimensionsChange, IgxPivotGridValueTemplateContext, IPivotConfiguration, IPivotConfigurationChangedEventArgs, IPivotDimension, IPivotValue, IValuesChange, PivotDimensionType, IPivotUISettings } from './pivot-grid.interface';
8
8
  import { IgxPivotHeaderRowComponent } from './pivot-header-row.component';
@@ -49,7 +49,7 @@ import * as i0 from "@angular/core";
49
49
  * </igx-pivot-grid>
50
50
  * ```
51
51
  */
52
- export declare class IgxPivotGridComponent extends IgxGridBaseDirective implements OnInit, AfterContentInit, GridType, AfterViewInit, OnChanges {
52
+ export declare class IgxPivotGridComponent extends IgxGridBaseDirective implements OnInit, AfterContentInit, PivotGridType, AfterViewInit, OnChanges {
53
53
  navigation: IgxPivotGridNavigationService;
54
54
  /**
55
55
  * Emitted when the dimension collection is changed via the grid chip area.
@@ -29,4 +29,6 @@ export declare class PivotUtil {
29
29
  private static applyHierarchyChildren;
30
30
  static getAggregateList(val: IPivotValue, grid: PivotGridType): IPivotAggregator[];
31
31
  static getAggregatorsForValue(value: IPivotValue, grid: PivotGridType): IPivotAggregator[];
32
+ static updateColumnTypeByAggregator(columns: any[], value: IPivotValue, isSingleValue: boolean): void;
33
+ private static getColumnDataTypeForValue;
32
34
  }
@@ -18,6 +18,7 @@ export declare class IgxSplitterPaneComponent {
18
18
  private el;
19
19
  private _minSize;
20
20
  private _maxSize;
21
+ private _order;
21
22
  /**
22
23
  * @hidden @internal
23
24
  * Gets/Sets the 'display' property of the current pane.
@@ -72,7 +73,8 @@ export declare class IgxSplitterPaneComponent {
72
73
  */
73
74
  collapsedChange: EventEmitter<boolean>;
74
75
  /** @hidden @internal */
75
- order: number;
76
+ get order(): number;
77
+ set order(val: number);
76
78
  /**
77
79
  * @hidden @internal
78
80
  * Gets/Sets the `overflow`.
@@ -1,4 +1,4 @@
1
- import { AfterContentInit, ElementRef, EventEmitter, QueryList } from '@angular/core';
1
+ import { AfterContentInit, ElementRef, EventEmitter, NgZone, QueryList } from '@angular/core';
2
2
  import { DragDirection, IDragMoveEventArgs, IDragStartEventArgs } from '../directives/drag-drop/drag-drop.directive';
3
3
  import { IgxSplitterPaneComponent } from './splitter-pane/splitter-pane.component';
4
4
  import * as i0 from "@angular/core";
@@ -42,6 +42,7 @@ export declare interface ISplitterBarResizeEventArgs {
42
42
  export declare class IgxSplitterComponent implements AfterContentInit {
43
43
  document: any;
44
44
  private elementRef;
45
+ private zone;
45
46
  /**
46
47
  * Gets the list of splitter panes.
47
48
  *
@@ -125,7 +126,7 @@ export declare class IgxSplitterComponent implements AfterContentInit {
125
126
  * The sibling pane in each pair of panes divided by a splitter bar.
126
127
  */
127
128
  private sibling;
128
- constructor(document: any, elementRef: ElementRef);
129
+ constructor(document: any, elementRef: ElementRef, zone: NgZone);
129
130
  /**
130
131
  * Gets/Sets the splitter orientation.
131
132
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular",
3
- "version": "19.2.12",
3
+ "version": "19.2.14",
4
4
  "description": "Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps",
5
5
  "author": "Infragistics",
6
6
  "license": "SEE LICENSE IN LICENSE",