Skip to content

Commit 32e9669

Browse files
committed
chore(overlay): fix docs again again
1 parent 7074525 commit 32e9669

File tree

10 files changed

+29
-30
lines changed

10 files changed

+29
-30
lines changed

CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ All notable changes for each version of this project will be documented in this
77
### New Features
88

99
- `IgxOverlayService`
10-
- The overlay service now always renders content in place using the HTML Popover API, eliminating the need for outlet containers.
11-
12-
- **Deprecation** - The `outlet` property in `OverlaySettings`, `IgxOverlayOutletDirective`, and `igxToggleOutlet` input on `IgxToggleActionDirective` are all deprecated. The overlay service now always renders content in place using the HTML Popover API. These will be removed in a future version.
10+
- The overlay service now integrates the HTML Popover API and prefers rendering content in place / in the top layer, significantly reducing the need for outlet containers. When configured, `OverlaySettings.outlet` is still honored, and overlays may also fall back to being appended to `document.body` when required.
1311

12+
- **Deprecation** - The `outlet` property in `OverlaySettings`, `IgxOverlayOutletDirective`, and `igxToggleOutlet` input on `IgxToggleActionDirective` are deprecated and will be removed in a future version. They remain functional in this release for backward compatibility, but new code should rely on the default in-place / top-layer rendering behavior instead of custom outlet containers.
1413
## 21.1.0
1514

1615
### New Features

projects/igniteui-angular/core/src/services/overlay/position/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Position strategies determine where to display the component in the provided Igx
77
|:---------------------------|:-------------------------|
88
| HorizontalAlignment.Center | VerticalAlignment.Middle |
99

10-
2) **Container** - Positions the element inside the containing outlet based on the directions passed in through PositionSettings. These are Top/Middle/Bottom for verticalDirection and Left/Center/Right for horizontalDirection. **Note:** The `outlet` property in `OverlaySettings` is deprecated and no longer has any effect. The overlay service now always renders content in place using the HTML Popover API. Defaults to:
10+
2) **Container** - Positions the element inside the containing outlet based on the directions passed in through PositionSettings. These are Top/Middle/Bottom for verticalDirection and Left/Center/Right for horizontalDirection. **Note:** The `outlet` property in `OverlaySettings` is still supported and used by the overlay service when provided but will be removed in a future version. Avoid using this property in new code and prefer the default in-place rendering with the HTML Popover API. Defaults to:
1111

1212
| horizontalDirection | verticalDirection |
1313
|:---------------------------|:-------------------------|

projects/igniteui-angular/core/src/services/overlay/utilities.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ export interface OverlaySettings {
132132
closeOnEscape?: boolean;
133133
/* blazorSuppress */
134134
/**
135-
* @deprecated The `outlet` property is deprecated and no longer has any effect.
136-
* The overlay service now always renders content in place using the HTML Popover API.
137-
* This property will be removed in a future version.
135+
* @deprecated Still supported and used by the overlay service when provided but will
136+
* be removed in a future version. Avoid using this property in new code and prefer
137+
* the default in-place rendering with the HTML Popover API.
138138
*/
139139
outlet?: IgxOverlayOutletDirective | ElementRef;
140140
/**

projects/igniteui-angular/date-picker/src/date-picker/date-picker.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ export class IgxDatePickerComponent extends PickerBaseDirective implements Contr
244244
public spinDelta: Pick<DatePartDeltas, 'date' | 'month' | 'year'>;
245245

246246
/**
247-
* @deprecated The `outlet` property is deprecated and no longer has any effect.
248-
* The overlay service now always renders content in place using the HTML Popover API.
249-
* This property will be removed in a future version.
247+
* @deprecated Still supported and used by the overlay service when provided but will
248+
* be removed in a future version. Avoid using this property in new code and prefer
249+
* the default in-place rendering with the HTML Popover API.
250250
*
251251
* Gets/Sets the container used for the popup element.
252252
*

projects/igniteui-angular/date-picker/src/date-picker/picker-base.directive.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ export abstract class PickerBaseDirective implements IToggleView, EditorProvider
186186
}
187187

188188
/**
189-
* @deprecated The `outlet` property is deprecated and no longer has any effect.
190-
* The overlay service now always renders content in place using the HTML Popover API.
191-
* This property will be removed in a future version.
189+
* @deprecated Still supported and used by the overlay service when provided but will
190+
* be removed in a future version. Avoid using this property in new code and prefer
191+
* the default in-place rendering with the HTML Popover API.
192192
*
193193
* The container used for the pop-up element.
194194
*

projects/igniteui-angular/date-picker/src/date-range-picker/date-range-picker.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,9 @@ export class IgxDateRangePickerComponent extends PickerBaseDirective
367367
public override placeholder = '';
368368

369369
/**
370-
* @deprecated The `outlet` property is deprecated and no longer has any effect.
371-
* The overlay service now always renders content in place using the HTML Popover API.
372-
* This property will be removed in a future version.
370+
* @deprecated Still supported and used by the overlay service when provided but will
371+
* be removed in a future version. Avoid using this property in new code and prefer
372+
* the default in-place rendering with the HTML Popover API.
373373
*
374374
* Gets/Sets the container used for the popup element.
375375
*

projects/igniteui-angular/directives/src/directives/toggle/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ Providing reference from custom component which has already been registered into
103103
|:----------:|:-------------|:------|
104104
| `igxToggleAction`| `IToggleView` \| `string` | Determines the target that have to be controled. |
105105
| `overlaySettings` | `OverlaySettings`| Passes `igxOverlay` settings for applicable targets (`igxToggle`) that control positioning, interaction and scroll behavior.
106-
| `igxToggleOutlet` | `IgxOverlayOutletDirective` \| `ElementRef`| **Deprecated.** No longer has any effect. The overlay service now always renders content in place using the HTML Popover API. This property will be removed in a future version.
106+
| `igxToggleOutlet` | `IgxOverlayOutletDirective` \| `ElementRef`| **Deprecated.** Still supported and used by the overlay service when provided but will be removed in a future version. Avoid using this property in new code and prefer the default in-place rendering with the HTML Popover API.
107107

108108
# IgxOverlayOutlet Directive
109109

110-
> **Deprecated.** The `IgxOverlayOutletDirective` and the `outlet` property on `OverlaySettings` are deprecated and no longer have any effect. The overlay service now always renders content in place using the HTML Popover API. These will be removed in a future version.
110+
> **Deprecated.** The `IgxOverlayOutletDirective` and the `outlet` property on `OverlaySettings` are deprecated. They are still supported and used by the overlay service when provided but will be removed in a future version. Avoid using this property in new code and prefer the default in-place rendering with the HTML Popover API.
111111
112112
The **IgxOverlayOutlet** provides a way to mark an element as an `igxOverlay` outlet container through the component template only.
113113
Directive instance is exported as `overlay-outlet`, so it can be assigned within the template:

projects/igniteui-angular/directives/src/directives/toggle/toggle.directive.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,9 @@ export class IgxToggleActionDirective implements OnInit {
445445
* ```
446446
* Where `outlet` in an instance of `IgxOverlayOutletDirective` or an `ElementRef`
447447
*
448-
* @deprecated The `outlet` property is deprecated and no longer has any effect.
449-
* The overlay service now always renders content in place using the HTML Popover API.
450-
* This property will be removed in a future version.
448+
* @deprecated Still supported and used by the overlay service when provided but will
449+
* be removed in a future version. Avoid using this property in new code and prefer
450+
* the default in-place rendering with the HTML Popover API.
451451
*/
452452
@Input('igxToggleOutlet')
453453
public outlet: IgxOverlayOutletDirective | ElementRef;

projects/igniteui-angular/drop-down/src/drop-down/autocomplete/autocomplete.directive.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ export interface AutocompleteOverlaySettings {
3333
/** Scroll strategy to use with this settings */
3434
scrollStrategy?: IScrollStrategy;
3535
/**
36-
* @deprecated The `outlet` property is deprecated and no longer has any effect.
37-
* The overlay service now always renders content in place using the HTML Popover API.
38-
* This property will be removed in a future version.
36+
* @deprecated Still supported and used by the overlay service when provided but will
37+
* be removed in a future version. Avoid using this property in new code and prefer
38+
* the default in-place rendering with the HTML Popover API.
3939
*
4040
* Set the outlet container to attach the overlay to */
4141
outlet?: IgxOverlayOutletDirective | ElementRef;

projects/igniteui-angular/grids/hierarchical-grid/src/hierarchical-grid-base.directive.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ export abstract class IgxHierarchicalGridBaseDirective extends IgxGridBaseDirect
8383

8484
/* blazorSuppress */
8585
/**
86-
* @deprecated The `outlet` property is deprecated and no longer has any effect.
87-
* The overlay service now always renders content in place using the HTML Popover API.
88-
* This property will be removed in a future version.
86+
* @deprecated Still supported and used by the overlay service when provided but will
87+
* be removed in a future version. Avoid using this property in new code and prefer
88+
* the default in-place rendering with the HTML Popover API.
8989
*
9090
* Gets the outlet used to attach the grid's overlays to.
9191
*
@@ -98,9 +98,9 @@ export abstract class IgxHierarchicalGridBaseDirective extends IgxGridBaseDirect
9898

9999
/* blazorSuppress */
100100
/**
101-
* @deprecated The `outlet` property is deprecated and no longer has any effect.
102-
* The overlay service now always renders content in place using the HTML Popover API.
103-
* This property will be removed in a future version.
101+
* @deprecated Still supported and used by the overlay service when provided but will
102+
* be removed in a future version. Avoid using this property in new code and prefer
103+
* the default in-place rendering with the HTML Popover API.
104104
*
105105
* Sets the outlet used to attach the grid's overlays to.
106106
*/

0 commit comments

Comments
 (0)