igniteui-angular 22.0.0-rc.1 → 22.0.0-rc.2

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 (97) hide show
  1. package/fesm2022/igniteui-angular-accordion.mjs +1 -1
  2. package/fesm2022/igniteui-angular-accordion.mjs.map +1 -1
  3. package/fesm2022/igniteui-angular-action-strip.mjs +1 -1
  4. package/fesm2022/igniteui-angular-action-strip.mjs.map +1 -1
  5. package/fesm2022/igniteui-angular-button-group.mjs +1 -1
  6. package/fesm2022/igniteui-angular-button-group.mjs.map +1 -1
  7. package/fesm2022/igniteui-angular-calendar.mjs +1 -1
  8. package/fesm2022/igniteui-angular-calendar.mjs.map +1 -1
  9. package/fesm2022/igniteui-angular-card.mjs +6 -6
  10. package/fesm2022/igniteui-angular-card.mjs.map +1 -1
  11. package/fesm2022/igniteui-angular-carousel.mjs +6 -6
  12. package/fesm2022/igniteui-angular-carousel.mjs.map +1 -1
  13. package/fesm2022/igniteui-angular-chips.mjs +34 -34
  14. package/fesm2022/igniteui-angular-chips.mjs.map +1 -1
  15. package/fesm2022/igniteui-angular-core.mjs +6 -6
  16. package/fesm2022/igniteui-angular-core.mjs.map +1 -1
  17. package/fesm2022/igniteui-angular-date-picker.mjs +2 -2
  18. package/fesm2022/igniteui-angular-date-picker.mjs.map +1 -1
  19. package/fesm2022/igniteui-angular-directives.mjs +12 -12
  20. package/fesm2022/igniteui-angular-directives.mjs.map +1 -1
  21. package/fesm2022/igniteui-angular-drop-down.mjs +5 -5
  22. package/fesm2022/igniteui-angular-drop-down.mjs.map +1 -1
  23. package/fesm2022/igniteui-angular-grids-core.mjs +26 -23
  24. package/fesm2022/igniteui-angular-grids-core.mjs.map +1 -1
  25. package/fesm2022/igniteui-angular-grids-grid.mjs +51 -51
  26. package/fesm2022/igniteui-angular-grids-grid.mjs.map +1 -1
  27. package/fesm2022/igniteui-angular-grids-hierarchical-grid.mjs +7 -7
  28. package/fesm2022/igniteui-angular-grids-hierarchical-grid.mjs.map +1 -1
  29. package/fesm2022/igniteui-angular-grids-tree-grid.mjs +5 -5
  30. package/fesm2022/igniteui-angular-grids-tree-grid.mjs.map +1 -1
  31. package/fesm2022/igniteui-angular-icon.mjs +4 -4
  32. package/fesm2022/igniteui-angular-icon.mjs.map +1 -1
  33. package/fesm2022/igniteui-angular-input-group.mjs +18 -18
  34. package/fesm2022/igniteui-angular-input-group.mjs.map +1 -1
  35. package/fesm2022/igniteui-angular-list.mjs +5 -5
  36. package/fesm2022/igniteui-angular-list.mjs.map +1 -1
  37. package/fesm2022/igniteui-angular-navbar.mjs +5 -5
  38. package/fesm2022/igniteui-angular-navbar.mjs.map +1 -1
  39. package/fesm2022/igniteui-angular-paginator.mjs +2 -2
  40. package/fesm2022/igniteui-angular-paginator.mjs.map +1 -1
  41. package/fesm2022/igniteui-angular-progressbar.mjs +7 -7
  42. package/fesm2022/igniteui-angular-progressbar.mjs.map +1 -1
  43. package/fesm2022/igniteui-angular-query-builder.mjs +2 -2
  44. package/fesm2022/igniteui-angular-query-builder.mjs.map +1 -1
  45. package/fesm2022/igniteui-angular-radio.mjs +5 -5
  46. package/fesm2022/igniteui-angular-radio.mjs.map +1 -1
  47. package/fesm2022/igniteui-angular-select.mjs +217 -209
  48. package/fesm2022/igniteui-angular-select.mjs.map +1 -1
  49. package/fesm2022/igniteui-angular-slider.mjs +17 -17
  50. package/fesm2022/igniteui-angular-slider.mjs.map +1 -1
  51. package/fesm2022/igniteui-angular-snackbar.mjs +1 -1
  52. package/fesm2022/igniteui-angular-snackbar.mjs.map +1 -1
  53. package/fesm2022/igniteui-angular-splitter.mjs +2 -2
  54. package/fesm2022/igniteui-angular-splitter.mjs.map +1 -1
  55. package/fesm2022/igniteui-angular-stepper.mjs +2 -2
  56. package/fesm2022/igniteui-angular-stepper.mjs.map +1 -1
  57. package/fesm2022/igniteui-angular-time-picker.mjs +1 -1
  58. package/fesm2022/igniteui-angular-time-picker.mjs.map +1 -1
  59. package/fesm2022/igniteui-angular-tree.mjs +1 -1
  60. package/fesm2022/igniteui-angular-tree.mjs.map +1 -1
  61. package/input-group/README.md +1 -1
  62. package/migrations/migration-collection.json +5 -0
  63. package/migrations/update-22_0_0/index.d.ts +3 -0
  64. package/migrations/update-22_0_0/index.js +86 -0
  65. package/migrations/update-22_0_0/index.spec.d.ts +1 -0
  66. package/migrations/update-22_0_0/index.spec.js +116 -0
  67. package/package.json +1 -1
  68. package/types/igniteui-angular-accordion.d.ts +3 -3
  69. package/types/igniteui-angular-action-strip.d.ts +1 -1
  70. package/types/igniteui-angular-button-group.d.ts +1 -1
  71. package/types/igniteui-angular-calendar.d.ts +1 -1
  72. package/types/igniteui-angular-card.d.ts +6 -6
  73. package/types/igniteui-angular-carousel.d.ts +6 -6
  74. package/types/igniteui-angular-chips.d.ts +38 -38
  75. package/types/igniteui-angular-core.d.ts +9 -9
  76. package/types/igniteui-angular-date-picker.d.ts +4 -4
  77. package/types/igniteui-angular-directives.d.ts +15 -15
  78. package/types/igniteui-angular-drop-down.d.ts +6 -6
  79. package/types/igniteui-angular-grids-core.d.ts +30 -29
  80. package/types/igniteui-angular-grids-grid.d.ts +51 -51
  81. package/types/igniteui-angular-grids-hierarchical-grid.d.ts +7 -7
  82. package/types/igniteui-angular-grids-tree-grid.d.ts +7 -7
  83. package/types/igniteui-angular-icon.d.ts +4 -4
  84. package/types/igniteui-angular-input-group.d.ts +17 -17
  85. package/types/igniteui-angular-list.d.ts +7 -7
  86. package/types/igniteui-angular-navbar.d.ts +7 -7
  87. package/types/igniteui-angular-paginator.d.ts +2 -2
  88. package/types/igniteui-angular-progressbar.d.ts +7 -7
  89. package/types/igniteui-angular-query-builder.d.ts +3 -3
  90. package/types/igniteui-angular-radio.d.ts +5 -5
  91. package/types/igniteui-angular-select.d.ts +91 -7
  92. package/types/igniteui-angular-slider.d.ts +17 -17
  93. package/types/igniteui-angular-snackbar.d.ts +1 -1
  94. package/types/igniteui-angular-splitter.d.ts +3 -3
  95. package/types/igniteui-angular-stepper.d.ts +2 -2
  96. package/types/igniteui-angular-time-picker.d.ts +1 -1
  97. package/types/igniteui-angular-tree.d.ts +2 -2
@@ -289,6 +289,11 @@
289
289
  "version": "21.2.2",
290
290
  "description": "Updates Ignite UI for Angular from v21.2.0 to v21.2.2",
291
291
  "factory": "./update-21_2_2"
292
+ },
293
+ "migration-57": {
294
+ "version": "22.0.0",
295
+ "description": "Updates Ignite UI for Angular from v21.2.x to v22.0.0",
296
+ "factory": "./update-22_0_0"
292
297
  }
293
298
  }
294
299
  }
@@ -0,0 +1,3 @@
1
+ import type { Rule } from '@angular-devkit/schematics';
2
+ declare const _default: () => Rule;
3
+ export default _default;
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ const UpdateChanges_1 = require("../common/UpdateChanges");
13
+ const util_1 = require("../common/util");
14
+ const version = '22.0.0';
15
+ exports.default = () => (host, context) => __awaiter(void 0, void 0, void 0, function* () {
16
+ context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
17
+ const { HtmlParser, Element } = yield import('@angular/compiler');
18
+ const update = new UpdateChanges_1.UpdateChanges(__dirname, host, context);
19
+ const changes = new Map();
20
+ const parser = new HtmlParser();
21
+ const applyChanges = () => {
22
+ for (const [path, fileChanges] of changes.entries()) {
23
+ let content = host.read(path).toString();
24
+ fileChanges
25
+ .sort((a, b) => b.position - a.position)
26
+ .forEach((c) => {
27
+ content = c.apply(content);
28
+ });
29
+ host.overwrite(path, content);
30
+ }
31
+ };
32
+ const addChange = (path, change) => {
33
+ if (!changes.has(path)) {
34
+ changes.set(path, []);
35
+ }
36
+ changes.get(path).push(change);
37
+ };
38
+ // All form components that default to 'line' prior to this version
39
+ const TAGS = [
40
+ 'igx-input-group',
41
+ 'igx-select',
42
+ 'igx-date-picker',
43
+ 'igx-date-range-picker',
44
+ 'igx-time-picker'
45
+ ];
46
+ const TYPE_ATTRS = ['type', '[type]'];
47
+ for (const path of update.templateFiles) {
48
+ const root = (0, util_1.parseFile)(parser, host, path);
49
+ const nodes = (0, util_1.findElementNodes)(root, TAGS);
50
+ for (const node of nodes) {
51
+ if (!(node instanceof Element))
52
+ continue;
53
+ // Skip if the element already has an explicit type binding
54
+ if ((0, util_1.hasAttribute)(node, TYPE_ATTRS))
55
+ continue;
56
+ const offset = (0, util_1.getSourceOffset)(node);
57
+ const file = offset.file;
58
+ // Insert type="line" right after the tag name in the start tag
59
+ // e.g., <igx-input-group → <igx-input-group type="line"
60
+ const tagNameEnd = offset.startTag.start + 1 + node.name.length;
61
+ addChange(file.url, new util_1.FileChange(tagNameEnd, ' type="line"'));
62
+ }
63
+ }
64
+ applyChanges();
65
+ changes.clear();
66
+ // IgxSelect: default positioning strategy changed to AutoPositionStrategy.
67
+ // Insert a comment above each <igx-select> to inform the developer.
68
+ const SELECT_NOTE = `<!-- IgxSelect: default positioning changed to AutoPositionStrategy (below/above input).\n` +
69
+ ` To preserve overlap behavior: this.select.overlaySettings = { positionStrategy: new IgxSelectOverlapPositionStrategy(this.select) }; -->\n`;
70
+ for (const path of update.templateFiles) {
71
+ const content = host.read(path).toString();
72
+ const root = (0, util_1.parseFile)(parser, host, path);
73
+ const nodes = (0, util_1.findElementNodes)(root, 'igx-select');
74
+ for (const node of nodes) {
75
+ if (!(node instanceof Element))
76
+ continue;
77
+ const { startTag, file } = (0, util_1.getSourceOffset)(node);
78
+ const noteStart = Math.max(0, startTag.start - SELECT_NOTE.length);
79
+ if (content.slice(noteStart, startTag.start) === SELECT_NOTE)
80
+ continue;
81
+ addChange(file.url, new util_1.FileChange(startTag.start, SELECT_NOTE));
82
+ }
83
+ }
84
+ applyChanges();
85
+ update.applyChanges();
86
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,116 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
36
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
37
+ return new (P || (P = Promise))(function (resolve, reject) {
38
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
39
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
40
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
41
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
42
+ });
43
+ };
44
+ Object.defineProperty(exports, "__esModule", { value: true });
45
+ const path = __importStar(require("path"));
46
+ const index_js_1 = require("@angular-devkit/schematics/testing/index.js");
47
+ const setup_spec_1 = require("../common/setup.spec");
48
+ const version = '22.0.0';
49
+ const SELECT_POSITION_NOTE = `<!-- IgxSelect: default positioning changed to AutoPositionStrategy (below/above input).\n` +
50
+ ` To preserve overlap behavior: this.select.overlaySettings = { positionStrategy: new IgxSelectOverlapPositionStrategy(this.select) }; -->\n`;
51
+ describe(`Update to ${version}`, () => {
52
+ let appTree;
53
+ const schematicRunner = new index_js_1.SchematicTestRunner('ig-migrate', path.join(__dirname, '../migration-collection.json'));
54
+ beforeEach(() => {
55
+ appTree = (0, setup_spec_1.setupTestTree)();
56
+ });
57
+ const migrationName = 'migration-57';
58
+ it('should add type="line" to igx-input-group without explicit type', () => __awaiter(void 0, void 0, void 0, function* () {
59
+ appTree.create(`/testSrc/appPrefix/component/test.component.html`, `<igx-input-group><input igxInput></igx-input-group>`);
60
+ const tree = yield schematicRunner.runSchematic(migrationName, {}, appTree);
61
+ expect(tree.readContent('/testSrc/appPrefix/component/test.component.html'))
62
+ .toEqual(`<igx-input-group type="line"><input igxInput></igx-input-group>`);
63
+ }));
64
+ it('should add type="line" and a positioning note to igx-select without explicit type', () => __awaiter(void 0, void 0, void 0, function* () {
65
+ appTree.create(`/testSrc/appPrefix/component/test.component.html`, `<igx-select><igx-select-item>Option</igx-select-item></igx-select>`);
66
+ const tree = yield schematicRunner.runSchematic(migrationName, {}, appTree);
67
+ expect(tree.readContent('/testSrc/appPrefix/component/test.component.html'))
68
+ .toEqual(`${SELECT_POSITION_NOTE}<igx-select type="line"><igx-select-item>Option</igx-select-item></igx-select>`);
69
+ }));
70
+ it('should add a positioning note to igx-select that already has an explicit type', () => __awaiter(void 0, void 0, void 0, function* () {
71
+ appTree.create(`/testSrc/appPrefix/component/test.component.html`, `<igx-select type="border"><igx-select-item>Option</igx-select-item></igx-select>`);
72
+ const tree = yield schematicRunner.runSchematic(migrationName, {}, appTree);
73
+ expect(tree.readContent('/testSrc/appPrefix/component/test.component.html'))
74
+ .toEqual(`${SELECT_POSITION_NOTE}<igx-select type="border"><igx-select-item>Option</igx-select-item></igx-select>`);
75
+ }));
76
+ it('should add type="line" to igx-date-picker without explicit type', () => __awaiter(void 0, void 0, void 0, function* () {
77
+ appTree.create(`/testSrc/appPrefix/component/test.component.html`, `<igx-date-picker></igx-date-picker>`);
78
+ const tree = yield schematicRunner.runSchematic(migrationName, {}, appTree);
79
+ expect(tree.readContent('/testSrc/appPrefix/component/test.component.html'))
80
+ .toEqual(`<igx-date-picker type="line"></igx-date-picker>`);
81
+ }));
82
+ it('should add type="line" to igx-date-range-picker without explicit type', () => __awaiter(void 0, void 0, void 0, function* () {
83
+ appTree.create(`/testSrc/appPrefix/component/test.component.html`, `<igx-date-range-picker></igx-date-range-picker>`);
84
+ const tree = yield schematicRunner.runSchematic(migrationName, {}, appTree);
85
+ expect(tree.readContent('/testSrc/appPrefix/component/test.component.html'))
86
+ .toEqual(`<igx-date-range-picker type="line"></igx-date-range-picker>`);
87
+ }));
88
+ it('should add type="line" to igx-time-picker without explicit type', () => __awaiter(void 0, void 0, void 0, function* () {
89
+ appTree.create(`/testSrc/appPrefix/component/test.component.html`, `<igx-time-picker></igx-time-picker>`);
90
+ const tree = yield schematicRunner.runSchematic(migrationName, {}, appTree);
91
+ expect(tree.readContent('/testSrc/appPrefix/component/test.component.html'))
92
+ .toEqual(`<igx-time-picker type="line"></igx-time-picker>`);
93
+ }));
94
+ it('should NOT modify igx-input-group that already has type attribute', () => __awaiter(void 0, void 0, void 0, function* () {
95
+ appTree.create(`/testSrc/appPrefix/component/test.component.html`, `<igx-input-group type="box"><input igxInput></igx-input-group>`);
96
+ const tree = yield schematicRunner.runSchematic(migrationName, {}, appTree);
97
+ expect(tree.readContent('/testSrc/appPrefix/component/test.component.html'))
98
+ .toEqual(`<igx-input-group type="box"><input igxInput></igx-input-group>`);
99
+ }));
100
+ it('should NOT modify igx-input-group that already has [type] binding', () => __awaiter(void 0, void 0, void 0, function* () {
101
+ appTree.create(`/testSrc/appPrefix/component/test.component.html`, `<igx-input-group [type]="myType"><input igxInput></igx-input-group>`);
102
+ const tree = yield schematicRunner.runSchematic(migrationName, {}, appTree);
103
+ expect(tree.readContent('/testSrc/appPrefix/component/test.component.html'))
104
+ .toEqual(`<igx-input-group [type]="myType"><input igxInput></igx-input-group>`);
105
+ }));
106
+ it('should handle multiple components in the same template', () => __awaiter(void 0, void 0, void 0, function* () {
107
+ appTree.create(`/testSrc/appPrefix/component/test.component.html`, `<igx-input-group><input igxInput></igx-input-group>
108
+ <igx-select></igx-select>
109
+ <igx-input-group type="border"><input igxInput></igx-input-group>`);
110
+ const tree = yield schematicRunner.runSchematic(migrationName, {}, appTree);
111
+ expect(tree.readContent('/testSrc/appPrefix/component/test.component.html'))
112
+ .toEqual(`<igx-input-group type="line"><input igxInput></igx-input-group>
113
+ ${SELECT_POSITION_NOTE}<igx-select type="line"></igx-select>
114
+ <igx-input-group type="border"><input igxInput></igx-input-group>`);
115
+ }));
116
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular",
3
- "version": "22.0.0-rc.1",
3
+ "version": "22.0.0-rc.2",
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",
@@ -5,18 +5,18 @@ import { IExpansionPanelCancelableEventArgs, ToggleAnimationSettings, IExpansion
5
5
 
6
6
  interface IAccordionEventArgs extends IExpansionPanelEventArgs {
7
7
  owner: IgxAccordionComponent;
8
- /** Provides a reference to the `IgxExpansionPanelComponent` which was expanded/collapsed. */
8
+ /** Provides a reference to the expansion panel which was expanded/collapsed. */
9
9
  panel: IgxExpansionPanelBase;
10
10
  }
11
11
  interface IAccordionCancelableEventArgs extends IExpansionPanelCancelableEventArgs {
12
12
  owner: IgxAccordionComponent;
13
- /** Provides a reference to the `IgxExpansionPanelComponent` which is currently expanding/collapsing. */
13
+ /** Provides a reference to the expansion panel which is currently expanding/collapsing. */
14
14
  panel: IgxExpansionPanelBase;
15
15
  /** Enables canceling the expansion/collapse operation. */
16
16
  cancel: boolean;
17
17
  }
18
18
  /**
19
- * IgxAccordion is a container-based component that contains that can house multiple expansion panels.
19
+ * Accordion is a container-based component that contains that can house multiple expansion panels.
20
20
  *
21
21
  * @igxModule IgxAccordionModule
22
22
  *
@@ -113,7 +113,7 @@ declare class IgxActionStripComponent implements IgxActionStripToken, AfterViewI
113
113
  */
114
114
  get menuItems(): any[];
115
115
  /**
116
- * Getter for the 'display' property of the current `IgxActionStrip`
116
+ * Getter for the 'display' property of the current action strip
117
117
  */
118
118
  private get display();
119
119
  /**
@@ -65,7 +65,7 @@ declare class IgxButtonGroupComponent implements AfterViewInit, OnDestroy {
65
65
  */
66
66
  set itemContentCssClass(value: string);
67
67
  /**
68
- * Returns the CSS class of the item content of the `IgxButtonGroup`.
68
+ * Returns the CSS class of the item content of the button group.
69
69
  * ```typescript
70
70
  * @ViewChild("MyChild")
71
71
  * public buttonG: IgxButtonGroupComponent;
@@ -138,7 +138,7 @@ declare class Calendar {
138
138
  }
139
139
 
140
140
  /**
141
- * This file contains all the directives used by the @link IgxCalendarComponent.
141
+ * This file contains all the directives used by the @link calendar.
142
142
  * Except for the directives which are used for templating the calendar itself
143
143
  * you should generally not use them directly.
144
144
  *
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
2
2
  import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
3
3
 
4
4
  /**
5
- * IgxCardMedia is container for the card media section.
5
+ * Card media is container for the card media section.
6
6
  * Use it to wrap images and videos.
7
7
  */
8
8
  declare class IgxCardMediaDirective {
@@ -36,7 +36,7 @@ declare class IgxCardMediaDirective {
36
36
  static ɵdir: i0.ɵɵDirectiveDeclaration<IgxCardMediaDirective, "igx-card-media", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, never>;
37
37
  }
38
38
  /**
39
- * IgxCardHeader is container for the card header
39
+ * Card header is container for the card header
40
40
  */
41
41
  declare class IgxCardHeaderComponent {
42
42
  /** @hidden @internal */
@@ -56,7 +56,7 @@ declare class IgxCardHeaderComponent {
56
56
  static ngAcceptInputType_vertical: unknown;
57
57
  }
58
58
  /**
59
- * IgxCardThumbnail is container for the card thumbnail section.
59
+ * Card thumbnail is container for the card thumbnail section.
60
60
  * Use it to wrap anything you want to be used as a thumbnail.
61
61
  */
62
62
  declare class IgxCardThumbnailDirective {
@@ -84,7 +84,7 @@ declare class IgxCardHeaderSubtitleDirective {
84
84
  static ɵdir: i0.ɵɵDirectiveDeclaration<IgxCardHeaderSubtitleDirective, "[igxCardHeaderSubtitle]", never, {}, {}, never, never, true, never>;
85
85
  }
86
86
  /**
87
- * IgxCardContent is container for the card content.
87
+ * Card content is container for the card content.
88
88
  */
89
89
  declare class IgxCardContentDirective {
90
90
  /** @hidden @internal */
@@ -93,7 +93,7 @@ declare class IgxCardContentDirective {
93
93
  static ɵdir: i0.ɵɵDirectiveDeclaration<IgxCardContentDirective, "igx-card-content", never, {}, {}, never, never, true, never>;
94
94
  }
95
95
  /**
96
- * IgxCardFooter is container for the card footer
96
+ * Card footer is container for the card footer
97
97
  */
98
98
  declare class IgxCardFooterDirective {
99
99
  /**
@@ -204,7 +204,7 @@ declare const IgxCardActionsLayout: {
204
204
  };
205
205
  type IgxCardActionsLayout = (typeof IgxCardActionsLayout)[keyof typeof IgxCardActionsLayout];
206
206
  /**
207
- * IgxCardActions is container for the card actions.
207
+ * Card actions is container for the card actions.
208
208
  */
209
209
  declare class IgxCardActionsComponent implements OnInit, OnChanges {
210
210
  card: IgxCardComponent;
@@ -83,7 +83,7 @@ declare abstract class IgxCarouselComponentBase implements OnDestroy {
83
83
 
84
84
  /**
85
85
  * A slide component that usually holds an image and/or a caption text.
86
- * IgxSlideComponent is usually a child component of an IgxCarouselComponent.
86
+ * Slide is usually a child component of a carousel.
87
87
  *
88
88
  * ```
89
89
  * <igx-slide [input bindings] >
@@ -432,7 +432,7 @@ declare class IgxCarouselComponent extends IgxCarouselComponentBase implements O
432
432
  slides: QueryList<IgxSlideComponent>;
433
433
  /**
434
434
  * An event that is emitted after a slide transition has happened.
435
- * Provides references to the `IgxCarouselComponent` and `IgxSlideComponent` as event arguments.
435
+ * Provides references to the carousel and slide components as event arguments.
436
436
  * ```html
437
437
  * <igx-carousel (slideChanged)="slideChanged($event)"></igx-carousel>
438
438
  * ```
@@ -442,7 +442,7 @@ declare class IgxCarouselComponent extends IgxCarouselComponentBase implements O
442
442
  slideChanged: EventEmitter<ISlideEventArgs>;
443
443
  /**
444
444
  * An event that is emitted after a slide has been added to the carousel.
445
- * Provides references to the `IgxCarouselComponent` and `IgxSlideComponent` as event arguments.
445
+ * Provides references to the carousel and slide components as event arguments.
446
446
  * ```html
447
447
  * <igx-carousel (slideAdded)="slideAdded($event)"></igx-carousel>
448
448
  * ```
@@ -452,7 +452,7 @@ declare class IgxCarouselComponent extends IgxCarouselComponentBase implements O
452
452
  slideAdded: EventEmitter<ISlideEventArgs>;
453
453
  /**
454
454
  * An event that is emitted after a slide has been removed from the carousel.
455
- * Provides references to the `IgxCarouselComponent` and `IgxSlideComponent` as event arguments.
455
+ * Provides references to the carousel and slide components as event arguments.
456
456
  * ```html
457
457
  * <igx-carousel (slideRemoved)="slideRemoved($event)"></igx-carousel>
458
458
  * ```
@@ -462,7 +462,7 @@ declare class IgxCarouselComponent extends IgxCarouselComponentBase implements O
462
462
  slideRemoved: EventEmitter<ISlideEventArgs>;
463
463
  /**
464
464
  * An event that is emitted after the carousel has been paused.
465
- * Provides a reference to the `IgxCarouselComponent` as an event argument.
465
+ * Provides a reference to the carousel as an event argument.
466
466
  * ```html
467
467
  * <igx-carousel (carouselPaused)="carouselPaused($event)"></igx-carousel>
468
468
  * ```
@@ -472,7 +472,7 @@ declare class IgxCarouselComponent extends IgxCarouselComponentBase implements O
472
472
  carouselPaused: EventEmitter<IgxCarouselComponent>;
473
473
  /**
474
474
  * An event that is emitted after the carousel has resumed transitioning between `slides`.
475
- * Provides a reference to the `IgxCarouselComponent` as an event argument.
475
+ * Provides a reference to the carousel as an event argument.
476
476
  * ```html
477
477
  * <igx-carousel (carouselPlaying)="carouselPlaying($event)"></igx-carousel>
478
478
  * ```
@@ -111,7 +111,7 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
111
111
  */
112
112
  data: any;
113
113
  /**
114
- * Defines if the `IgxChipComponent` can be dragged in order to change it's position.
114
+ * Defines if the chip can be dragged in order to change it's position.
115
115
  * By default it is set to false.
116
116
  *
117
117
  * @example
@@ -141,7 +141,7 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
141
141
  */
142
142
  hideBaseOnDrag: boolean;
143
143
  /**
144
- * Defines if the `IgxChipComponent` should render remove button and throw remove events.
144
+ * Defines if the chip should render remove button and throw remove events.
145
145
  * By default it is set to false.
146
146
  *
147
147
  * @example
@@ -161,7 +161,7 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
161
161
  */
162
162
  removeIcon: TemplateRef<any>;
163
163
  /**
164
- * Defines if the `IgxChipComponent` can be selected on click or through navigation,
164
+ * Defines if the chip can be selected on click or through navigation,
165
165
  * By default it is set to false.
166
166
  *
167
167
  * @example
@@ -186,7 +186,7 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
186
186
  */
187
187
  class: string;
188
188
  /**
189
- * Disables the `IgxChipComponent`. When disabled it restricts user interactions
189
+ * Disables the chip. When disabled it restricts user interactions
190
190
  * like focusing on click or tab, selection on click or Space, dragging.
191
191
  * By default it is set to false.
192
192
  *
@@ -197,7 +197,7 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
197
197
  */
198
198
  disabled: boolean;
199
199
  /**
200
- * Sets the `IgxChipComponent` selected state.
200
+ * Sets the chip selected state.
201
201
  *
202
202
  * @example
203
203
  * ```html
@@ -211,7 +211,7 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
211
211
  */
212
212
  set selected(newValue: boolean);
213
213
  /**
214
- * Returns if the `IgxChipComponent` is selected.
214
+ * Returns if the chip is selected.
215
215
  *
216
216
  * @example
217
217
  * ```typescript
@@ -229,7 +229,7 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
229
229
  */
230
230
  selectedChange: EventEmitter<boolean>;
231
231
  /**
232
- * Sets the `IgxChipComponent` background color.
232
+ * Sets the chip background color.
233
233
  * The `color` property supports string, rgb, hex.
234
234
  *
235
235
  * @example
@@ -239,7 +239,7 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
239
239
  */
240
240
  set color(newColor: any);
241
241
  /**
242
- * Returns the background color of the `IgxChipComponent`.
242
+ * Returns the background color of the chip.
243
243
  *
244
244
  * @example
245
245
  * ```typescript
@@ -261,8 +261,8 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
261
261
  */
262
262
  get resourceStrings(): IChipResourceStrings;
263
263
  /**
264
- * Emits an event when the `IgxChipComponent` moving starts.
265
- * Returns the moving `IgxChipComponent`.
264
+ * Emits an event when the chip moving starts.
265
+ * Returns the moving chip.
266
266
  *
267
267
  * @example
268
268
  * ```html
@@ -271,8 +271,8 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
271
271
  */
272
272
  moveStart: EventEmitter<IBaseChipEventArgs>;
273
273
  /**
274
- * Emits an event when the `IgxChipComponent` moving ends.
275
- * Returns the moved `IgxChipComponent`.
274
+ * Emits an event when the chip moving ends.
275
+ * Returns the moved chip.
276
276
  *
277
277
  * @example
278
278
  * ```html
@@ -281,8 +281,8 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
281
281
  */
282
282
  moveEnd: EventEmitter<IBaseChipEventArgs>;
283
283
  /**
284
- * Emits an event when the `IgxChipComponent` is removed.
285
- * Returns the removed `IgxChipComponent`.
284
+ * Emits an event when the chip is removed.
285
+ * Returns the removed chip.
286
286
  *
287
287
  * @example
288
288
  * ```html
@@ -291,8 +291,8 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
291
291
  */
292
292
  remove: EventEmitter<IBaseChipEventArgs>;
293
293
  /**
294
- * Emits an event when the `IgxChipComponent` is clicked.
295
- * Returns the clicked `IgxChipComponent`, whether the event should be canceled.
294
+ * Emits an event when the chip is clicked.
295
+ * Returns the clicked chip, whether the event should be canceled.
296
296
  *
297
297
  * @example
298
298
  * ```html
@@ -301,7 +301,7 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
301
301
  */
302
302
  chipClick: EventEmitter<IChipClickEventArgs>;
303
303
  /**
304
- * Emits event when the `IgxChipComponent` is selected/deselected.
304
+ * Emits event when the chip is selected/deselected.
305
305
  * Returns the selected chip reference, whether the event should be canceled, what is the next selection state and
306
306
  * when the event is triggered by interaction `originalEvent` is provided, otherwise `originalEvent` is `null`.
307
307
  *
@@ -312,7 +312,7 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
312
312
  */
313
313
  selectedChanging: EventEmitter<IChipSelectEventArgs>;
314
314
  /**
315
- * Emits event when the `IgxChipComponent` is selected/deselected and any related animations and transitions also end.
315
+ * Emits event when the chip is selected/deselected and any related animations and transitions also end.
316
316
  *
317
317
  * @example
318
318
  * ```html
@@ -321,8 +321,8 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
321
321
  */
322
322
  selectedChanged: EventEmitter<IBaseChipEventArgs>;
323
323
  /**
324
- * Emits an event when the `IgxChipComponent` keyboard navigation is being used.
325
- * Returns the focused/selected `IgxChipComponent`, whether the event should be canceled,
324
+ * Emits an event when the chip keyboard navigation is being used.
325
+ * Returns the focused/selected chip, whether the event should be canceled,
326
326
  * if the `alt`, `shift` or `control` key is pressed and the pressed key name.
327
327
  *
328
328
  * @example
@@ -332,8 +332,8 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
332
332
  */
333
333
  keyDown: EventEmitter<IChipKeyDownEventArgs>;
334
334
  /**
335
- * Emits an event when the `IgxChipComponent` has entered the `IgxChipsAreaComponent`.
336
- * Returns the target `IgxChipComponent`, the drag `IgxChipComponent`, as well as
335
+ * Emits an event when the chip has entered the chips area.
336
+ * Returns the target chip, the drag chip, as well as
337
337
  * the original drop event arguments.
338
338
  *
339
339
  * @example
@@ -343,8 +343,8 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
343
343
  */
344
344
  dragEnter: EventEmitter<IChipEnterDragAreaEventArgs>;
345
345
  /**
346
- * Emits an event when the `IgxChipComponent` has left the `IgxChipsAreaComponent`.
347
- * Returns the target `IgxChipComponent`, the drag `IgxChipComponent`, as well as
346
+ * Emits an event when the chip has left the chips area.
347
+ * Returns the target chip, the drag chip, as well as
348
348
  * the original drop event arguments.
349
349
  *
350
350
  * @example
@@ -354,8 +354,8 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
354
354
  */
355
355
  dragLeave: EventEmitter<IChipEnterDragAreaEventArgs>;
356
356
  /**
357
- * Emits an event when the `IgxChipComponent` is over the `IgxChipsAreaComponent`.
358
- * Returns the target `IgxChipComponent`, the drag `IgxChipComponent`, as well as
357
+ * Emits an event when the chip is over the chips area.
358
+ * Returns the target chip, the drag chip, as well as
359
359
  * the original drop event arguments.
360
360
  *
361
361
  * @example
@@ -365,8 +365,8 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
365
365
  */
366
366
  dragOver: EventEmitter<IChipEnterDragAreaEventArgs>;
367
367
  /**
368
- * Emits an event when the `IgxChipComponent` has been dropped in the `IgxChipsAreaComponent`.
369
- * Returns the target `IgxChipComponent`, the drag `IgxChipComponent`, as well as
368
+ * Emits an event when the chip has been dropped in the chips area.
369
+ * Returns the target chip, the drag chip, as well as
370
370
  * the original drop event arguments.
371
371
  *
372
372
  * @example
@@ -382,7 +382,7 @@ declare class IgxChipComponent implements OnInit, OnDestroy {
382
382
  protected get isWarning(): boolean;
383
383
  protected get isDanger(): boolean;
384
384
  /**
385
- * Property that contains a reference to the `IgxDragDirective` the `IgxChipComponent` uses for dragging behavior.
385
+ * Property that contains a reference to the drag the chip uses for dragging behavior.
386
386
  *
387
387
  * @example
388
388
  * ```html
@@ -604,7 +604,7 @@ declare class IgxChipsAreaComponent implements DoCheck, AfterViewInit, OnDestroy
604
604
  */
605
605
  ariaLabel: string;
606
606
  /**
607
- * Sets the width of the `IgxChipsAreaComponent`.
607
+ * Sets the width of the chips area.
608
608
  *
609
609
  * @example
610
610
  * ```html
@@ -615,7 +615,7 @@ declare class IgxChipsAreaComponent implements DoCheck, AfterViewInit, OnDestroy
615
615
  /** @hidden @internal */
616
616
  get _widthToRem(): number;
617
617
  /**
618
- * Sets the height of the `IgxChipsAreaComponent`.
618
+ * Sets the height of the chips area.
619
619
  *
620
620
  * @example
621
621
  * ```html
@@ -626,8 +626,8 @@ declare class IgxChipsAreaComponent implements DoCheck, AfterViewInit, OnDestroy
626
626
  /** @hidden @internal */
627
627
  get _heightToRem(): number;
628
628
  /**
629
- * Emits an event when `IgxChipComponent`s in the `IgxChipsAreaComponent` should be reordered.
630
- * Returns an array of `IgxChipComponent`s.
629
+ * Emits an event when chips in the chips area should be reordered.
630
+ * Returns an array of chips.
631
631
  *
632
632
  * @example
633
633
  * ```html
@@ -636,9 +636,9 @@ declare class IgxChipsAreaComponent implements DoCheck, AfterViewInit, OnDestroy
636
636
  */
637
637
  reorder: EventEmitter<IChipsAreaReorderEventArgs>;
638
638
  /**
639
- * Emits an event when an `IgxChipComponent` in the `IgxChipsAreaComponent` is selected/deselected.
639
+ * Emits an event when an chip in the chips area is selected/deselected.
640
640
  * Fired after the chips area is initialized if there are initially selected chips as well.
641
- * Returns an array of selected `IgxChipComponent`s and the `IgxChipAreaComponent`.
641
+ * Returns an array of selected chips and the chip area.
642
642
  *
643
643
  * @example
644
644
  * ```html
@@ -647,7 +647,7 @@ declare class IgxChipsAreaComponent implements DoCheck, AfterViewInit, OnDestroy
647
647
  */
648
648
  selectionChange: EventEmitter<IChipsAreaSelectEventArgs>;
649
649
  /**
650
- * Emits an event when an `IgxChipComponent` in the `IgxChipsAreaComponent` is moved.
650
+ * Emits an event when an chip in the chips area is moved.
651
651
  *
652
652
  * @example
653
653
  * ```html
@@ -656,7 +656,7 @@ declare class IgxChipsAreaComponent implements DoCheck, AfterViewInit, OnDestroy
656
656
  */
657
657
  moveStart: EventEmitter<IBaseChipsAreaEventArgs>;
658
658
  /**
659
- * Emits an event after an `IgxChipComponent` in the `IgxChipsAreaComponent` is moved.
659
+ * Emits an event after an chip in the chips area is moved.
660
660
  *
661
661
  * @example
662
662
  * ```html
@@ -665,7 +665,7 @@ declare class IgxChipsAreaComponent implements DoCheck, AfterViewInit, OnDestroy
665
665
  */
666
666
  moveEnd: EventEmitter<IBaseChipsAreaEventArgs>;
667
667
  /**
668
- * Holds the `IgxChipComponent` in the `IgxChipsAreaComponent`.
668
+ * Holds the chip in the chips area.
669
669
  *
670
670
  * @example
671
671
  * ```typescript