Skip to content

Commit 705cc79

Browse files
CopilotLipata
andcommitted
Add IGX_GRID_ACTION_STRIP_DIRECTIVES constant to grids/core entry point
- Export IGX_GRID_ACTION_STRIP_DIRECTIVES from igniteui-angular/grids/core - Add import migration for IGX_GRID_ACTION_STRIP_DIRECTIVES - Update CHANGELOG.md with component relocation note Co-authored-by: Lipata <[email protected]>
1 parent 76aa9bb commit 705cc79

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ ng update igniteui-angular --migrate-only --from=20.1.0 --to=21.0.0 --migrate-im
4545
- Input directives (`IgxHintDirective`, `IgxInputDirective`, `IgxLabelDirective`, `IgxPrefixDirective`, `IgxSuffixDirective`) → `igniteui-angular/input-group`
4646
- `IgxAutocompleteDirective``igniteui-angular/drop-down`
4747
- `IgxRadioGroupDirective``igniteui-angular/radio`
48+
- `IGX_GRID_ACTION_STRIP_DIRECTIVES``igniteui-angular/grids/core`
4849

4950
**Type Renames (to avoid conflicts):**
5051
- `Direction``CarouselAnimationDirection` (in carousel)

projects/igniteui-angular/grids/core/src/public_api.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { IgxActionStripComponent, IgxActionStripMenuItemDirective } from 'igniteui-angular/action-strip';
12
import {
23
IgxColumnActionsComponent,
34
IgxColumnHidingDirective,
@@ -207,3 +208,13 @@ export const IGX_GRID_COMMON_DIRECTIVES = [
207208
IgxGridActionsBaseDirective,
208209
IgxGridActionButtonComponent
209210
] as const;
211+
212+
/* Action-strip in grid directives collection for ease-of-use import in standalone components scenario */
213+
export const IGX_GRID_ACTION_STRIP_DIRECTIVES = [
214+
IgxActionStripComponent,
215+
IgxActionStripMenuItemDirective,
216+
IgxGridPinningActionsComponent,
217+
IgxGridEditingActionsComponent,
218+
IgxGridActionsBaseDirective,
219+
IgxGridActionButtonComponent
220+
] as const;

projects/igniteui-angular/migrations/update-21_0_0_import-migration/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ const ENTRY_POINT_MAP = new Map<string, string>([
7575
['IgxActionStripModule', 'action-strip'],
7676
['IGX_ACTION_STRIP_DIRECTIVES', 'action-strip'],
7777
['IgxActionStripMenuItemDirective', 'action-strip'],
78+
['IGX_GRID_ACTION_STRIP_DIRECTIVES', 'grids/core'],
7879

7980
// Avatar
8081
['IgxAvatarComponent', 'avatar'],

0 commit comments

Comments
 (0)