igniteui-angular 18.0.0-rc.1 → 18.0.1

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 (29) hide show
  1. package/esm2022/lib/combo/combo.common.mjs +1 -1
  2. package/esm2022/lib/directives/for-of/for_of.directive.mjs +12 -1
  3. package/esm2022/lib/directives/tooltip/tooltip-target.directive.mjs +3 -2
  4. package/esm2022/lib/grids/grid-base.directive.mjs +5 -8
  5. package/esm2022/lib/grids/selection/selection.service.mjs +12 -16
  6. package/esm2022/lib/simple-combo/simple-combo.component.mjs +7 -5
  7. package/fesm2022/igniteui-angular.mjs +33 -26
  8. package/fesm2022/igniteui-angular.mjs.map +1 -1
  9. package/lib/combo/combo.common.d.ts +1 -1
  10. package/lib/core/styles/components/navdrawer/_navdrawer-theme.scss +1 -10
  11. package/lib/directives/for-of/for_of.directive.d.ts +5 -0
  12. package/migrations/update-18_0_0/changes/inputs.json +0 -9
  13. package/migrations/update-18_0_0/index.js +13 -18
  14. package/package.json +2 -2
  15. package/styles/igniteui-indigo-dark.css +1 -1
  16. package/styles/igniteui-indigo-light.css +1 -1
  17. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  18. package/styles/maps/igniteui-angular.css.map +1 -1
  19. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  20. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  21. package/styles/maps/igniteui-dark-green.css.map +1 -1
  22. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  23. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  24. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  25. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  26. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  27. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  28. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  29. package/styles/maps/igniteui-indigo-light.css.map +1 -1
@@ -55,7 +55,7 @@ export declare const enum DataTypes {
55
55
  /** The filtering criteria to be applied on data search */
56
56
  export interface IComboFilteringOptions {
57
57
  /** Defines filtering case-sensitivity */
58
- caseSensitive: boolean;
58
+ caseSensitive?: boolean;
59
59
  /** Defines whether filtering is allowed */
60
60
  filterable: boolean;
61
61
  /** Defines optional key to filter against complex list items. Default to displayKey if provided.*/
@@ -356,18 +356,9 @@
356
356
  justify-content: flex-start;
357
357
 
358
358
  igx-icon {
359
- --component-size: 3;
359
+ --component-size: #{if($variant == 'indigo-design', 2, 3)};
360
360
 
361
361
  color: var-get($theme, 'item-icon-color');
362
- @if $variant == 'indigo-design' {
363
- margin-inline-start: rem(4px);
364
- }
365
- }
366
-
367
- span {
368
- @if $variant == 'indigo-design' {
369
- padding-inline-start: rem(8px);
370
- }
371
362
  }
372
363
 
373
364
  // Need this to override the igx-buttons
@@ -404,6 +404,11 @@ export declare class IgxForOfDirective<T, U extends T[] = T[]> extends IgxForOfT
404
404
  * Function that is called when scrolling vertically
405
405
  */
406
406
  protected onScroll(event: any): void;
407
+ /**
408
+ * @hidden
409
+ * @internal
410
+ */
411
+ updateScroll(): void;
407
412
  protected updateSizes(): void;
408
413
  /**
409
414
  * @hidden
@@ -161,15 +161,6 @@
161
161
  "selector": "igx-pivot-grid",
162
162
  "type": "component"
163
163
  }
164
- },
165
- {
166
- "name": "filterable",
167
- "replaceWith": "filteringOptions",
168
- "valueTransform": "comboFilteringTransform",
169
- "owner": {
170
- "selector": "igx-combo",
171
- "type": "component"
172
- }
173
164
  }
174
165
  ]
175
166
  }
@@ -78,29 +78,24 @@ exports.default = () => (host, context) => __awaiter(void 0, void 0, void 0, fun
78
78
  args.value = `{ showConfiguration: ${args.value} }`;
79
79
  }
80
80
  });
81
- update.addValueTransform('comboFilteringTransform', (args) => {
82
- args.bindingType = UpdateChanges_1.InputPropertyType.EVAL;
83
- switch (args.value) {
84
- case 'true':
85
- args.value = '{ filterable: true }';
86
- break;
87
- case 'false':
88
- args.value = '{ filterable: false }';
89
- break;
90
- default:
91
- args.value = `{ filterable: ${args.value} }`;
92
- }
93
- });
94
81
  const updateMainCSSFile = (host, context) => {
95
82
  var _a, _b, _c, _d;
96
- const angularConfigBuffer = host.read('angular.json');
97
- if (!angularConfigBuffer) {
83
+ const workspace = (0, util_1.getWorkspace)(host);
84
+ if (!workspace) {
98
85
  throw new schematics_1.SchematicsException('Could not find angular.json');
99
86
  }
100
- const angularConfig = JSON.parse(angularConfigBuffer.toString('utf-8'));
101
- for (const project of Object.values(angularConfig.projects)) {
87
+ const projects = (0, util_1.getProjects)(workspace);
88
+ for (const project of projects) {
102
89
  const srcRoot = project.sourceRoot || project.root || '';
103
- const stylesPath = ((_d = (_c = (_b = (_a = project.architect) === null || _a === void 0 ? void 0 : _a.build) === null || _b === void 0 ? void 0 : _b.options) === null || _c === void 0 ? void 0 : _c.styles) === null || _d === void 0 ? void 0 : _d.filter(s => s.startsWith(srcRoot))[0]);
90
+ const stylesPath = (_d = (_c = (_b = (_a = project.architect) === null || _a === void 0 ? void 0 : _a.build) === null || _b === void 0 ? void 0 : _b.options) === null || _c === void 0 ? void 0 : _c.styles) === null || _d === void 0 ? void 0 : _d.map((s) => {
91
+ if (typeof s === 'string') {
92
+ return s;
93
+ }
94
+ // ref - https://angular.dev/reference/configs/workspace-config#styles-and-scripts-configuration
95
+ if (s instanceof Object && 'input' in s) {
96
+ return s.input;
97
+ }
98
+ }).filter((s) => s === null || s === void 0 ? void 0 : s.startsWith(srcRoot))[0];
104
99
  if (!stylesPath) {
105
100
  context.logger.error(`No styles file found in angular.json for project: ${project}`);
106
101
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular",
3
- "version": "18.0.0-rc.1",
3
+ "version": "18.0.1",
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",
@@ -94,7 +94,7 @@
94
94
  }
95
95
  },
96
96
  "igxDevDependencies": {
97
- "@igniteui/angular-schematics": "~18.0.1330-rc.0"
97
+ "@igniteui/angular-schematics": "~18.0.1330"
98
98
  },
99
99
  "ng-update": {
100
100
  "migrations": "./migrations/migration-collection.json",