igniteui-angular 18.1.0-beta.1 → 18.1.0-rc.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.
Files changed (40) hide show
  1. package/esm2022/lib/grids/state-base.directive.mjs +1 -1
  2. package/esm2022/lib/grids/state.directive.mjs +5 -5
  3. package/esm2022/lib/services/overlay/overlay.mjs +27 -16
  4. package/esm2022/lib/services/overlay/utilities.mjs +1 -1
  5. package/esm2022/lib/services/public_api.mjs +6 -6
  6. package/fesm2022/igniteui-angular.mjs +69 -58
  7. package/fesm2022/igniteui-angular.mjs.map +1 -1
  8. package/lib/core/styles/components/stepper/_stepper-theme.scss +7 -7
  9. package/lib/grids/state-base.directive.d.ts +0 -1
  10. package/lib/grids/state.directive.d.ts +4 -3
  11. package/lib/services/overlay/overlay.d.ts +16 -6
  12. package/lib/services/overlay/utilities.d.ts +7 -1
  13. package/lib/services/public_api.d.ts +5 -5
  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
@@ -339,12 +339,7 @@
339
339
  indigo-design: rem(24px)
340
340
  ), $variant);
341
341
 
342
- $step-header-padding: map.get((
343
- material: rem(24px),
344
- fluent: rem(8px),
345
- bootstrap: rem(24px),
346
- indigo-design: rem(8px)
347
- ), $variant);
342
+ $step-header-padding: rem(8px);
348
343
 
349
344
  $step-header-padding-simple: map.get((
350
345
  material: rem(8px),
@@ -684,11 +679,16 @@
684
679
  }
685
680
  }
686
681
 
682
+ [aria-selected='true'] {
683
+ %igx-stepper__step-content-wrapper {
684
+ padding-inline-start: $v-line-indent;
685
+ }
686
+ }
687
+
687
688
  @if $variant == 'indigo-design' {
688
689
  [aria-selected='true'] {
689
690
  %igx-stepper__step-content-wrapper {
690
691
  padding-block: rem(16px);
691
- padding-inline-start: $v-line-indent;
692
692
  padding-inline-end: rem(16px);
693
693
  }
694
694
  }
@@ -81,7 +81,6 @@ export declare class IgxGridStateBaseDirective {
81
81
  protected viewRef: ViewContainerRef;
82
82
  protected envInjector: EnvironmentInjector;
83
83
  protected injector: Injector;
84
- private static ngAcceptInputType_options;
85
84
  private featureKeys;
86
85
  private state;
87
86
  private currGrid;
@@ -2,6 +2,7 @@ import { EventEmitter } from '@angular/core';
2
2
  import { GridFeatures, IGridState, IGridStateOptions, IgxGridStateBaseDirective } from './state-base.directive';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class IgxGridStateDirective extends IgxGridStateBaseDirective {
5
+ private static ngAcceptInputType_options;
5
6
  /**
6
7
  * An object with options determining if a certain feature state should be saved.
7
8
  * ```html
@@ -11,8 +12,8 @@ export declare class IgxGridStateDirective extends IgxGridStateBaseDirective {
11
12
  * public options = {selection: false, advancedFiltering: false};
12
13
  * ```
13
14
  */
14
- get stateOptions(): IGridStateOptions;
15
- set stateOptions(value: IGridStateOptions);
15
+ get options(): IGridStateOptions;
16
+ set options(value: IGridStateOptions);
16
17
  /**
17
18
  * Gets the state of a feature or states of all grid features, unless a certain feature is disabled through the `options` property.
18
19
  *
@@ -52,5 +53,5 @@ export declare class IgxGridStateDirective extends IgxGridStateBaseDirective {
52
53
  */
53
54
  stateParsed: EventEmitter<IGridState>;
54
55
  static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridStateDirective, never>;
55
- static ɵdir: i0.ɵɵDirectiveDeclaration<IgxGridStateDirective, "[igxGridState]", never, { "stateOptions": { "alias": "igxGridState"; "required": false; }; }, { "stateParsed": "stateParsed"; }, never, never, true, never>;
56
+ static ɵdir: i0.ɵɵDirectiveDeclaration<IgxGridStateDirective, "[igxGridState]", never, { "options": { "alias": "igxGridState"; "required": false; }; }, { "stateParsed": "stateParsed"; }, never, never, true, never>;
56
57
  }
@@ -2,7 +2,7 @@ import { ApplicationRef, ElementRef, EventEmitter, NgZone, OnDestroy, Type, View
2
2
  import { PlatformUtil } from '../../core/utils';
3
3
  import { IgxOverlayOutletDirective } from '../../directives/toggle/toggle.directive';
4
4
  import { AnimationService } from '../animation/animation';
5
- import { AbsolutePosition, OffsetMode, OverlayAnimationEventArgs, OverlayCancelableEventArgs, OverlayClosingEventArgs, OverlayEventArgs, OverlayInfo, OverlaySettings, Point, RelativePosition, RelativePositionStrategy } from './utilities';
5
+ import { AbsolutePosition, OffsetMode, OverlayAnimationEventArgs, OverlayCancelableEventArgs, OverlayClosingEventArgs, OverlayCreateSettings, OverlayEventArgs, OverlayInfo, OverlaySettings, Point, RelativePosition, RelativePositionStrategy } from './utilities';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * [Documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/overlay-main)
@@ -111,7 +111,7 @@ export declare class IgxOverlayService implements OnDestroy {
111
111
  * Generates Id. Provide this Id when call `show(id)` method
112
112
  *
113
113
  * @param component ElementRef to show in overlay
114
- * @param settings Display settings for the overlay, such as positioning and scroll/close behavior.
114
+ * @param settings (optional): Display settings for the overlay, such as positioning and scroll/close behavior.
115
115
  * @returns Id of the created overlay. Valid until `detach` is called.
116
116
  */
117
117
  attach(element: ElementRef, settings?: OverlaySettings): string;
@@ -121,16 +121,17 @@ export declare class IgxOverlayService implements OnDestroy {
121
121
  * Note created instance is in root scope, prefer the `viewContainerRef` overload when local injection context is needed.
122
122
  *
123
123
  * @param component Component Type to show in overlay
124
- * @param settings Display settings for the overlay, such as positioning and scroll/close behavior.
124
+ * @param settings (optional): Create settings for the overlay, such as positioning and scroll/close behavior.
125
+ * Includes also an optional `Injector` to add to the created dynamic component's injectors.
125
126
  * @returns Id of the created overlay. Valid until `detach` is called.
126
127
  */
127
- attach(component: Type<any>, settings?: OverlaySettings): string;
128
+ attach(component: Type<any>, settings?: OverlayCreateSettings): string;
128
129
  /**
129
130
  * Generates an Id. Provide this Id when calling the `show(id)` method
130
131
  *
131
132
  * @param component Component Type to show in overlay
132
133
  * @param viewContainerRef Reference to the container where created component's host view will be inserted
133
- * @param settings Display settings for the overlay, such as positioning and scroll/close behavior.
134
+ * @param settings (optional): Display settings for the overlay, such as positioning and scroll/close behavior.
134
135
  */
135
136
  attach(component: Type<any>, viewContainerRef: ViewContainerRef, settings?: OverlaySettings): string;
136
137
  /**
@@ -198,7 +199,16 @@ export declare class IgxOverlayService implements OnDestroy {
198
199
  /** @hidden @internal */
199
200
  getOverlayById(id: string): OverlayInfo;
200
201
  private _hide;
201
- private getUserOverlaySettings;
202
+ /**
203
+ * Creates overlayInfo. Sets the info's `elementRef`, `componentRef`and `settings`. Also
204
+ * initialize info's `ngZone`, `transformX` and `transformY`.
205
+ * @param component ElementRef or Type. If type is provided dynamic component will be created
206
+ * @param viewContainerRefOrSettings (optional): If ElementRef is provided for `component` this
207
+ * parameter is OverlaySettings. Otherwise it could be ViewContainerRef or OverlayCreateSettings and will be
208
+ * used when dynamic component is created.
209
+ * @param settings (optional): OverlaySettings when `ViewContainerRef` is provided.
210
+ * @returns OverlayInfo
211
+ */
202
212
  private getOverlayInfo;
203
213
  private placeElementHook;
204
214
  private moveElementToOverlay;
@@ -1,5 +1,5 @@
1
1
  import { AnimationReferenceMetadata } from '@angular/animations';
2
- import { ComponentRef, ElementRef, NgZone } from '@angular/core';
2
+ import { ComponentRef, ElementRef, Injector, NgZone } from '@angular/core';
3
3
  import { CancelableBrowserEventArgs, CancelableEventArgs, IBaseEventArgs } from '../../core/utils';
4
4
  import { IgxOverlayOutletDirective } from '../../directives/toggle/toggle.directive';
5
5
  import { AnimationPlayer } from '../animation/animation';
@@ -162,6 +162,12 @@ export interface ConnectedFit {
162
162
  horizontalOffset?: number;
163
163
  verticalOffset?: number;
164
164
  }
165
+ export interface OverlayCreateSettings extends OverlaySettings {
166
+ /**
167
+ * An `Injector` instance to add in the created component ref's injectors tree.
168
+ */
169
+ injector?: Injector;
170
+ }
165
171
  /** @hidden @internal */
166
172
  export declare class Util {
167
173
  /**
@@ -1,3 +1,4 @@
1
+ export * from '../directives/text-highlight/text-highlight.service';
1
2
  export * from './csv/csv-exporter';
2
3
  export * from './csv/csv-exporter-options';
3
4
  export * from './excel/excel-exporter';
@@ -6,12 +7,11 @@ export * from './exporter-common/base-export-service';
6
7
  export * from './exporter-common/exporter-options-base';
7
8
  export * from './overlay/overlay';
8
9
  export * from './overlay/position';
9
- export { AbsolutePosition, RelativePosition, RelativePositionStrategy, HorizontalAlignment, VerticalAlignment, Point, OverlayEventArgs, OverlayAnimationEventArgs, OverlayCancelableEventArgs, OverlayClosingEventArgs, OverlaySettings, PositionSettings } from './overlay/utilities';
10
10
  export * from './overlay/scroll';
11
- export * from './transaction/igx-transaction';
11
+ export { AbsolutePosition, HorizontalAlignment, OverlayAnimationEventArgs, OverlayCancelableEventArgs, OverlayClosingEventArgs, OverlayCreateSettings, OverlayEventArgs, OverlaySettings, Point, PositionSettings, RelativePosition, RelativePositionStrategy, VerticalAlignment } from './overlay/utilities';
12
12
  export * from './transaction/base-transaction';
13
- export * from './transaction/transaction';
14
- export * from './transaction/igx-hierarchical-transaction';
15
13
  export * from './transaction/hierarchical-transaction';
14
+ export * from './transaction/igx-hierarchical-transaction';
15
+ export * from './transaction/igx-transaction';
16
+ export * from './transaction/transaction';
16
17
  export * from './transaction/transaction-factory.service';
17
- export * from '../directives/text-highlight/text-highlight.service';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular",
3
- "version": "18.1.0-beta.1",
3
+ "version": "18.1.0-rc.0",
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",