igniteui-angular 18.0.0-beta.0 → 18.0.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 (32) hide show
  1. package/esm2022/lib/banner/banner.component.mjs +3 -3
  2. package/fesm2022/igniteui-angular.mjs +2 -2
  3. package/fesm2022/igniteui-angular.mjs.map +1 -1
  4. package/lib/core/styles/components/slider/_slider-theme.scss +27 -2
  5. package/migrations/update-18_0_0/index.js +13 -2
  6. package/package.json +2 -2
  7. package/styles/igniteui-angular-dark.css +1 -1
  8. package/styles/igniteui-angular.css +1 -1
  9. package/styles/igniteui-bootstrap-dark.css +1 -1
  10. package/styles/igniteui-bootstrap-light.css +1 -1
  11. package/styles/igniteui-dark-green.css +1 -1
  12. package/styles/igniteui-fluent-dark-excel.css +1 -1
  13. package/styles/igniteui-fluent-dark-word.css +1 -1
  14. package/styles/igniteui-fluent-dark.css +1 -1
  15. package/styles/igniteui-fluent-light-excel.css +1 -1
  16. package/styles/igniteui-fluent-light-word.css +1 -1
  17. package/styles/igniteui-fluent-light.css +1 -1
  18. package/styles/igniteui-indigo-dark.css +1 -1
  19. package/styles/igniteui-indigo-light.css +1 -1
  20. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  21. package/styles/maps/igniteui-angular.css.map +1 -1
  22. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  23. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  24. package/styles/maps/igniteui-dark-green.css.map +1 -1
  25. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  26. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  27. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  28. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  29. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  30. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  31. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  32. package/styles/maps/igniteui-indigo-light.css.map +1 -1
@@ -237,7 +237,7 @@
237
237
  border-radius: border-radius(rem(32px));
238
238
 
239
239
  @if $variant == 'indigo-design' {
240
- border-radius: initial;
240
+ border-radius: border-radius(rem(4px));
241
241
  }
242
242
  }
243
243
 
@@ -290,6 +290,14 @@
290
290
  top: 0;
291
291
  align-items: flex-end;
292
292
  }
293
+
294
+ @if $variant == 'indigo-design' {
295
+ bottom: rem(3px);
296
+
297
+ &%igx-slider__ticks--top {
298
+ top: rem(3px);
299
+ }
300
+ }
293
301
  }
294
302
 
295
303
  %igx-slider__ticks-group {
@@ -303,7 +311,7 @@
303
311
  }
304
312
 
305
313
  &:last-of-type {
306
- margin-inline-start: rem(-1px);
314
+ margin-inline-end: rem(-1px);
307
315
  }
308
316
  }
309
317
 
@@ -330,6 +338,10 @@
330
338
  %igx-slider__ticks--tall {
331
339
  %igx-slider__ticks-label {
332
340
  top: calc(#{$tick-height--tall} + #{$tick-height});
341
+
342
+ @if $variant == 'indigo-design' {
343
+ top: calc(#{$tick-height--tall} + (#{$tick-height} / 2));
344
+ }
333
345
  }
334
346
  }
335
347
 
@@ -348,6 +360,10 @@
348
360
 
349
361
  %igx-slider__ticks-label {
350
362
  top: calc(#{$tick-height--tall} + #{$tick-height});
363
+
364
+ @if $variant == 'indigo-design' {
365
+ top: calc(#{$tick-height--tall} + (#{$tick-height} / 2));
366
+ }
351
367
  }
352
368
  }
353
369
 
@@ -535,6 +551,10 @@
535
551
  display: flex;
536
552
  top: calc(((#{$thumb-label-height}) + rem(20px)) * -1);
537
553
  height: $thumb-label-height;
554
+
555
+ @if $variant == 'indigo-design' {
556
+ top: calc(((#{$thumb-label-height}) + rem(18px)) * -1);
557
+ }
538
558
  }
539
559
 
540
560
  %igx-slider-thumb-label__container {
@@ -561,6 +581,11 @@
561
581
  border-inline-start: rem(10px) solid transparent;
562
582
  border-inline-end: rem(10px) solid transparent;
563
583
  border-top: rem(10px) solid var-get($theme, 'label-background-color');
584
+
585
+ @if $variant == 'indigo-design' {
586
+ top: rem(16px);
587
+ border-top: rem(12px) solid var-get($theme, 'label-background-color');
588
+ }
564
589
  }
565
590
  }
566
591
 
@@ -98,12 +98,23 @@ exports.default = () => (host, context) => __awaiter(void 0, void 0, void 0, fun
98
98
  continue;
99
99
  }
100
100
  const content = cssBuffer.toString('utf-8');
101
- const newContent = `
101
+ let newContent = `
102
102
  // Specifies large size for all components to match the previous defaults
103
103
  // This may not be needed for your project. Please consult https://www.infragistics.com/products/ignite-ui-angular/angular/components/general/update-guide for more details.
104
104
  :root {
105
105
  --ig-size: var(--ig-size-large);
106
- }\n` + content;
106
+ }\n`;
107
+ const lastUse = content.lastIndexOf('@use');
108
+ const lastForward = content.lastIndexOf('@forward');
109
+ if (lastUse > -1 || lastForward > -1) {
110
+ const lastLinePos = Math.max(lastForward, lastUse);
111
+ const fragment = content.substring(lastLinePos);
112
+ const insertPos = fragment.indexOf(';') + lastLinePos + 1;
113
+ newContent = content.substring(0, insertPos) + newContent + content.substring(insertPos + 1);
114
+ }
115
+ else {
116
+ newContent = newContent + content;
117
+ }
107
118
  // Write the new content to the CSS file
108
119
  host.overwrite(stylesPath, newContent);
109
120
  context.logger.info(`Added global default Large size for ig components to CSS file: ${stylesPath}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular",
3
- "version": "18.0.0-beta.0",
3
+ "version": "18.0.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",
@@ -94,7 +94,7 @@
94
94
  }
95
95
  },
96
96
  "igxDevDependencies": {
97
- "@igniteui/angular-schematics": "~18.0.1330-beta.0"
97
+ "@igniteui/angular-schematics": "~18.0.1330-rc.0"
98
98
  },
99
99
  "ng-update": {
100
100
  "migrations": "./migrations/migration-collection.json",