igniteui-angular 20.0.3 → 20.0.5

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 (35) hide show
  1. package/fesm2022/igniteui-angular.mjs +139 -45
  2. package/fesm2022/igniteui-angular.mjs.map +1 -1
  3. package/index.d.ts +12 -4
  4. package/lib/core/styles/components/date-picker/_date-picker-theme.scss +9 -2
  5. package/lib/core/styles/components/drop-down/_drop-down-theme.scss +6 -10
  6. package/lib/core/styles/components/grid/_grid-theme.scss +13 -12
  7. package/lib/core/styles/components/input/_input-group-theme.scss +1 -1
  8. package/lib/core/styles/components/query-builder/_query-builder-theme.scss +22 -8
  9. package/package.json +1 -1
  10. package/styles/igniteui-angular-dark.css +1 -1
  11. package/styles/igniteui-angular.css +1 -1
  12. package/styles/igniteui-bootstrap-dark.css +1 -1
  13. package/styles/igniteui-bootstrap-light.css +1 -1
  14. package/styles/igniteui-dark-green.css +1 -1
  15. package/styles/igniteui-fluent-dark-excel.css +1 -1
  16. package/styles/igniteui-fluent-dark-word.css +1 -1
  17. package/styles/igniteui-fluent-dark.css +1 -1
  18. package/styles/igniteui-fluent-light-excel.css +1 -1
  19. package/styles/igniteui-fluent-light-word.css +1 -1
  20. package/styles/igniteui-fluent-light.css +1 -1
  21. package/styles/igniteui-indigo-dark.css +1 -1
  22. package/styles/igniteui-indigo-light.css +1 -1
  23. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  24. package/styles/maps/igniteui-angular.css.map +1 -1
  25. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  26. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  27. package/styles/maps/igniteui-dark-green.css.map +1 -1
  28. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  29. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  30. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  31. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  32. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  33. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  34. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  35. package/styles/maps/igniteui-indigo-light.css.map +1 -1
package/index.d.ts CHANGED
@@ -3779,7 +3779,7 @@ declare class IgxSorting implements IGridSortingStrategy {
3779
3779
  * Returns an array containing the grouped result.
3780
3780
  * @internal
3781
3781
  */
3782
- protected groupDataRecursive(data: any[], state: IGroupingState, level: number, parent: IGroupByRecord, metadata: IGroupByRecord[], grid?: GridType, groupsRecords?: any[], fullResult?: IGroupByResult): any[];
3782
+ protected groupDataRecursive(data: any[], state: IGroupingState, level: number, parent: IGroupByRecord, metadata: IGroupByRecord[], grid?: GridType, groupsRecords?: any[], fullResult?: IGroupByResult): IGroupByResult;
3783
3783
  /**
3784
3784
  * Retrieves the value of the specified field from the given object, considering date and time data types.
3785
3785
  * `key`: The key of the field to retrieve.
@@ -3940,6 +3940,9 @@ declare class VirtualHelperBaseDirective implements OnDestroy, AfterViewInit {
3940
3940
  private _afterViewInit;
3941
3941
  private _scrollNativeSize;
3942
3942
  private _detached;
3943
+ protected renderer: Renderer2;
3944
+ protected platformId: Object;
3945
+ protected ngZone: NgZone;
3943
3946
  constructor(elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef, _zone: NgZone, document: any, platformUtil: PlatformUtil);
3944
3947
  onScroll(event: any): void;
3945
3948
  ngAfterViewInit(): void;
@@ -3950,6 +3953,8 @@ declare class VirtualHelperBaseDirective implements OnDestroy, AfterViewInit {
3950
3953
  get size(): number;
3951
3954
  get scrollNativeSize(): number;
3952
3955
  protected get isAttachedToDom(): boolean;
3956
+ private toggleClass;
3957
+ private updateScrollbarClass;
3953
3958
  protected handleMutations(event: any): void;
3954
3959
  protected restoreScroll(): void;
3955
3960
  static ɵfac: i0.ɵɵFactoryDeclaration<VirtualHelperBaseDirective, never>;
@@ -34448,7 +34453,7 @@ declare class IgxPivotRowDimensionMrlRowComponent extends IgxGridHeaderRowCompon
34448
34453
  * </igx-pivot-grid>
34449
34454
  * ```
34450
34455
  */
34451
- declare class IgxPivotGridComponent extends IgxGridBaseDirective implements OnInit, AfterContentInit, GridType, AfterViewInit, OnChanges {
34456
+ declare class IgxPivotGridComponent extends IgxGridBaseDirective implements OnInit, AfterContentInit, PivotGridType, AfterViewInit, OnChanges {
34452
34457
  navigation: IgxPivotGridNavigationService;
34453
34458
  /**
34454
34459
  * Emitted when the dimension collection is changed via the grid chip area.
@@ -41178,6 +41183,7 @@ declare class IgxSplitterPaneComponent {
41178
41183
  private el;
41179
41184
  private _minSize;
41180
41185
  private _maxSize;
41186
+ private _order;
41181
41187
  /**
41182
41188
  * @hidden @internal
41183
41189
  * Gets/Sets the 'display' property of the current pane.
@@ -41232,7 +41238,8 @@ declare class IgxSplitterPaneComponent {
41232
41238
  */
41233
41239
  collapsedChange: EventEmitter<boolean>;
41234
41240
  /** @hidden @internal */
41235
- order: number;
41241
+ get order(): number;
41242
+ set order(val: number);
41236
41243
  /**
41237
41244
  * @hidden @internal
41238
41245
  * Gets/Sets the `overflow`.
@@ -41358,6 +41365,7 @@ declare interface ISplitterBarResizeEventArgs {
41358
41365
  declare class IgxSplitterComponent implements AfterContentInit {
41359
41366
  document: any;
41360
41367
  private elementRef;
41368
+ private zone;
41361
41369
  /**
41362
41370
  * Gets the list of splitter panes.
41363
41371
  *
@@ -41441,7 +41449,7 @@ declare class IgxSplitterComponent implements AfterContentInit {
41441
41449
  * The sibling pane in each pair of panes divided by a splitter bar.
41442
41450
  */
41443
41451
  private sibling;
41444
- constructor(document: any, elementRef: ElementRef);
41452
+ constructor(document: any, elementRef: ElementRef, zone: NgZone);
41445
41453
  /**
41446
41454
  * Gets/Sets the splitter orientation.
41447
41455
  *
@@ -13,7 +13,8 @@
13
13
  /// @see {mixin} css-vars
14
14
  /// @param {Map} $theme - The calendar theme used to style the component.
15
15
  @mixin date-picker($theme) {
16
- $variant: map.get($theme, '_meta', 'variant');
16
+ $variant: map.get($theme, '_meta', 'theme');
17
+ $theme-variant: map.get($theme, '_meta', '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,
@@ -259,7 +259,7 @@
259
259
  -webkit-overflow-scrolling: touch;
260
260
  position: relative;
261
261
 
262
- igx-display-container {
262
+ .igx-display-container--scrollbar {
263
263
  padding-inline-end: var(--vhelper-scrollbar-size);
264
264
  }
265
265
  }
@@ -299,20 +299,16 @@
299
299
  bottom: 0;
300
300
  }
301
301
 
302
- igx-icon {
302
+ igx-icon,
303
+ igc-icon {
303
304
  justify-content: center;
304
- --component-size: 1;
305
-
306
- @if $variant == 'fluent' {
307
- --component-size: 3;
308
- }
309
305
 
310
306
  @if $variant == 'indigo' {
311
307
  $icon-size: sizable(rem(14px), rem(16px), rem(16px));
312
308
 
313
- width: var(--ig-icon-size, $icon-size);
314
- height: var(--ig-icon-size, $icon-size);
315
- font-size: var(--ig-icon-size, $icon-size);
309
+ --size: #{$icon-size};
310
+ } @else {
311
+ --component-size: 1;
316
312
  }
317
313
  }
318
314
  }
@@ -456,12 +456,12 @@
456
456
 
457
457
  @if not($grid-shadow) {
458
458
  $grid-elevation: map.get($grid-schema, 'grid-elevation');
459
- $grid-shadow: elevation(var(--grid-elevation));
459
+ $grid-shadow: elevation($grid-elevation);
460
460
  }
461
461
 
462
462
  @if not($drag-shadow) {
463
463
  $drag-elevation: map.get($grid-schema, 'drag-elevation');
464
- $drag-shadow: elevation(var(--drag-elevation));
464
+ $drag-shadow: elevation($drag-elevation);
465
465
  }
466
466
 
467
467
  @if not($drop-area-border-radius) {
@@ -758,8 +758,7 @@
758
758
  igx-time-picker {
759
759
  position: relative;
760
760
  height: calc(100% - #{$editing-outline-width * 2});
761
- width: calc(100% - #{$editing-outline-width * 2}) !important;
762
- inset-inline-start: $editing-outline-width;
761
+ width: 100% !important;
763
762
  overflow: hidden;
764
763
  }
765
764
 
@@ -1535,6 +1534,9 @@
1535
1534
  }
1536
1535
 
1537
1536
  %igx-grid__td--bool {
1537
+ display: flex;
1538
+ flex-grow: 1;
1539
+
1538
1540
  igx-icon {
1539
1541
  --component-size: #{if($variant == 'indigo', 2, 1)};
1540
1542
  }
@@ -1804,7 +1806,6 @@
1804
1806
  padding-inline-end: rem(4px) !important;
1805
1807
 
1806
1808
  > igx-icon {
1807
- margin-inline-start: auto;
1808
1809
  color: color($color: 'error');
1809
1810
  width: var(--igx-icon-size, rem(18px));
1810
1811
  height: var(--igx-icon-size, rem(18px));
@@ -1910,11 +1911,10 @@
1910
1911
  %igx-grid__td--editing {
1911
1912
  background: var-get($theme, 'cell-editing-background') !important;
1912
1913
  box-shadow: inset 0 0 0 $editing-outline-width var-get($theme, 'edit-mode-color');
1913
- padding: 0 !important;
1914
+ padding-inline: rem(4px);
1914
1915
 
1915
1916
  &.igx-grid__td--invalid {
1916
1917
  box-shadow: inset 0 0 0 rem(2px) color($color: 'error') !important;
1917
- padding-inline-end: rem(4px) !important;
1918
1918
  }
1919
1919
 
1920
1920
  &%grid-cell-number {
@@ -2105,7 +2105,7 @@
2105
2105
 
2106
2106
  .sort-icon {
2107
2107
  color: var-get($theme, 'header-selected-text-color');
2108
-
2108
+
2109
2109
  ::after {
2110
2110
  background: var-get($theme, 'header-selected-background');
2111
2111
  }
@@ -2133,7 +2133,7 @@
2133
2133
  &%igx-grid-th--sorted {
2134
2134
  .sort-icon {
2135
2135
  color: var-get($theme, 'header-selected-text-color');
2136
-
2136
+
2137
2137
  > igx-icon {
2138
2138
  color: inherit;
2139
2139
  }
@@ -2141,7 +2141,7 @@
2141
2141
  &:focus,
2142
2142
  &:hover {
2143
2143
  color: var-get($theme, 'header-selected-text-color');
2144
-
2144
+
2145
2145
  > igx-icon {
2146
2146
  color: inherit;
2147
2147
  }
@@ -2198,14 +2198,14 @@
2198
2198
  .sort-icon {
2199
2199
  opacity: 1;
2200
2200
  color: var-get($theme, 'sorted-header-icon-color');
2201
-
2201
+
2202
2202
  > igx-icon {
2203
2203
  color: inherit;
2204
2204
  }
2205
2205
 
2206
2206
  &:hover {
2207
2207
  color: var-get($theme, 'sortable-header-icon-hover-color');
2208
-
2208
+
2209
2209
  > igx-icon {
2210
2210
  color: inherit;
2211
2211
  }
@@ -2241,6 +2241,7 @@
2241
2241
  %grid-cell-number {
2242
2242
  text-align: $grid-cell-align-num;
2243
2243
  justify-content: flex-end;
2244
+ flex-grow: 1;
2244
2245
 
2245
2246
  %grid-cell-header-icons {
2246
2247
  justify-content: flex-start;
@@ -1928,7 +1928,7 @@
1928
1928
  }
1929
1929
 
1930
1930
  %indigo--box-focused {
1931
- background: var-get($theme, 'box-background-hover');
1931
+ background: var-get($theme, 'box-background-focus');
1932
1932
  }
1933
1933
 
1934
1934
  %form-group-bundle--indigo--disabled {
@@ -131,6 +131,14 @@
131
131
  %advanced-filter {
132
132
  @include sizable();
133
133
 
134
+ --_tree-scrollbar-gutter: #{rem(16px)};
135
+
136
+ @if $variant == 'bootstrap' {
137
+ --query-builder-outer-padding: #{rem(16px)};
138
+ } @else {
139
+ --query-builder-outer-padding: #{rem(24px)};
140
+ }
141
+
134
142
  width: auto;
135
143
  min-width: rem(660px);
136
144
  background-color: var-get($theme, 'background');
@@ -139,11 +147,19 @@
139
147
  overflow: hidden;
140
148
 
141
149
  &:has(:not(igx-query-builder-header)) {
142
- padding-block-start: if($variant != 'bootstrap', rem(24px), rem(16px))
150
+ padding-block-start: var(--query-builder-outer-padding);
151
+
152
+ %query-level-0 {
153
+ padding-block: 0 var(--query-builder-outer-padding);
154
+ }
143
155
  }
144
156
 
145
157
  &:has(igx-query-builder-header) {
146
158
  padding-block-start: 0;
159
+
160
+ %query-level-0 {
161
+ padding-block: if($variant != 'bootstrap', 0, rem(16px)) var(--query-builder-outer-padding);
162
+ }
147
163
  }
148
164
 
149
165
  .igx-chip__ghost {
@@ -162,10 +178,8 @@
162
178
  %query-level-0 {
163
179
  display: block;
164
180
  width: 100%;
165
- padding-inline: if($variant != 'bootstrap', rem(24px), rem(16px));
166
- padding-block:
167
- if($variant != 'bootstrap', 0, rem(16px))
168
- if($variant != 'bootstrap', rem(24px), rem(16px));
181
+
182
+ padding-inline: var(--query-builder-outer-padding);
169
183
 
170
184
  > %advanced-filter__main {
171
185
  gap: rem(16px);
@@ -176,7 +190,7 @@
176
190
  max-height: rem(570px);
177
191
  overflow-y: auto;
178
192
  overflow-x: hidden;
179
- padding-inline-end: rem(16px);
193
+ padding-inline-end: var(--_tree-scrollbar-gutter);
180
194
  }
181
195
  }
182
196
  }
@@ -247,8 +261,8 @@
247
261
  margin-bottom: 0;
248
262
  border-block-end: rem(1px) solid var-get($theme, 'header-border');
249
263
 
250
- padding-inline: if($variant != 'bootstrap', rem(24px), rem(16px));
251
- padding-block: if($variant != 'bootstrap', rem(24px), rem(16px)) rem(16px);
264
+ padding-inline: var(--query-builder-outer-padding);
265
+ padding-block: var(--query-builder-outer-padding) rem(16px);
252
266
  }
253
267
 
254
268
  %advanced-filter__title {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular",
3
- "version": "20.0.3",
3
+ "version": "20.0.5",
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",