@igniteui/angular-templates 13.0.901 → 13.0.902

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.
package/Update.spec.js CHANGED
@@ -116,16 +116,12 @@ export class HomeComponent {
116
116
  }`
117
117
  }, {
118
118
  path: "src/home.component.scss",
119
- content: `@import '~igniteui-angular/theming';
120
- @import '~igniteui-dockmanager/styles/themes/test';
121
- @use 'igniteui-angular/theming';
122
- @forward 'igniteui-angular/theming';
119
+ content: `@use 'igniteui-angular/theming' as *;
120
+ @use 'igniteui-dockmanager/styles/themes/test' as *;
123
121
  @include igx-core();
124
122
  `,
125
- expected: `@import '~@infragistics/igniteui-angular/theming';
126
- @import '~@infragistics/igniteui-dockmanager/styles/themes/test';
127
- @use '@infragistics/igniteui-angular/theming';
128
- @forward '@infragistics/igniteui-angular/theming';
123
+ expected: `@use '@infragistics/igniteui-angular/theming' as *;
124
+ @use '@infragistics/igniteui-dockmanager/styles/themes/test' as *;
129
125
  @include igx-core();
130
126
  `
131
127
  }, {
@@ -1,5 +1,4 @@
1
- @import '~<%=igxPackage%>/theming';
2
-
1
+ @use '<%=igxPackage%>/theming' as *;
3
2
  $grid-sample-theme: igx-grid-theme(
4
3
  $row-selected-background: #333,
5
4
  $row-selected-text-color: #ddd,
@@ -1,8 +1,7 @@
1
+ @use '<%=igxPackage%>/theming' as *;
1
2
  @import url("https://unpkg.com/@fortawesome/fontawesome-free-webfonts@^1.0.9/css/fontawesome.css");
2
3
  @import url("https://unpkg.com/@fortawesome/fontawesome-free-webfonts@^1.0.9/css/fa-regular.css");
3
4
  @import url("https://unpkg.com/@fortawesome/fontawesome-free-webfonts@^1.0.9/css/fa-solid.css");
4
- @import '~<%=igxPackage%>/theming';
5
-
6
5
  :host ::ng-deep {
7
6
 
8
7
  $crm-grid-palette: igx-palette(
@@ -1,3 +1,6 @@
1
+ @use '<%=igxPackage%>/theming' as *;
2
+ @use './themes/_mixins' as *;
3
+
1
4
  :host {
2
5
  display: block;
3
6
  width: 100%;
@@ -224,12 +227,10 @@
224
227
  height: 100%;
225
228
  }
226
229
 
227
- @import '~<%=igxPackage%>/theming';
228
230
  @include igx-core();
229
231
  @include igx-typography($font-family: $material-typeface, $type-scale: $material-type-scale);
230
232
  @include igx-theme($default-palette);
231
233
 
232
- @import './themes/_mixins';
233
234
 
234
235
  @include scrollbar-love();
235
236
 
@@ -1,7 +1,9 @@
1
+ @use '<%=igxPackage%>/theming' as *;
2
+
1
3
  @mixin scrollbar-love($scrollbar-color: null) {
2
4
  $scrollbar-track: hexrgba(igx-color($default-palette, 'grays', 200));
3
5
  $scrollbar-thumb: hexrgba(igx-color($default-palette, 'grays', 400));
4
-
6
+
5
7
  @if $scrollbar-color and luminance($scrollbar-color) < .5 {
6
8
  $scrollbar-track: darken($scrollbar-color, 8%);
7
9
  $scrollbar-thumb: lighten($scrollbar-color, 20%);
@@ -1,3 +1,6 @@
1
+ @use '<%=igxPackage%>/theming' as *;
2
+ @use './themes/_mixins' as *;
3
+
1
4
  :host ::ng-deep {
2
5
  .finjs-icons {
3
6
  display: flex;
@@ -202,12 +205,10 @@
202
205
  // Custom Dark Theme
203
206
 
204
207
  // Import the theme utilities first
205
- @import '~<%=igxPackage%>/theming';
206
208
  @include igx-core();
207
209
  @include igx-typography($font-family: $material-typeface, $type-scale: $material-type-scale);
208
210
  @include igx-theme($default-palette);
209
211
 
210
- @import './themes/_mixins';
211
212
 
212
213
  $green-palette: igx-palette($primary: #09f,$secondary: #72da67, $surface: #333);
213
214
 
@@ -1,3 +1,5 @@
1
+ @use '<%=igxPackage%>/theming' as *;
2
+
1
3
  @mixin scrollbar-love($scrollbar-color: null) {
2
4
  $scrollbar-track: hexrgba(igx-color($default-palette, 'grays', 200));
3
5
  $scrollbar-thumb: hexrgba(igx-color($default-palette, 'grays', 400));
@@ -16,4 +18,4 @@
16
18
  ::-webkit-scrollbar-thumb {
17
19
  background-color: $scrollbar-thumb;
18
20
  }
19
- }
21
+ }
@@ -1,6 +1,7 @@
1
1
  /* You can add global styles to this file, and also import other style files */
2
2
  // Standard CSS normalize, comment out if not required or using a different module
3
- @import "~minireset.css/minireset";
3
+ @use "~minireset.css/minireset" as *;
4
+ @forward "~minireset.css/minireset";
4
5
 
5
6
  <%=CustomTheme%>
6
7
  html, body {
@@ -33,7 +33,7 @@ class BaseIgxProject {
33
33
  }
34
34
  };
35
35
  this.CUSTOM_THEME = `/* See: https://www.infragistics.com/products/ignite-ui-angular/angular/components/themes/sass/index */
36
- @import "~igniteui-angular/theming";
36
+ @use "igniteui-angular/theming" as *;
37
37
 
38
38
  $primary: #731963 !default;
39
39
  $secondary: #ce5712 !default;
@@ -1,4 +1,4 @@
1
- @import "~igniteui-angular/theming";
1
+ @use '<%=igxPackage%>/theming' as *;
2
2
 
3
3
  %content-display {
4
4
  width: 100%;
@@ -12,7 +12,7 @@ igx-tree {
12
12
  .node-refresh {
13
13
  cursor: pointer;
14
14
  padding: 0px 4px;
15
- color: var(--igx-success-500);
15
+ color: hsla(var(--igx-success-500));
16
16
  }
17
17
 
18
18
  .node {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igniteui/angular-templates",
3
- "version": "13.0.901",
3
+ "version": "13.0.902",
4
4
  "description": "Templates for Ignite UI for Angular projects and components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,7 +12,7 @@
12
12
  "author": "Infragistics",
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@igniteui/cli-core": "~9.0.1",
15
+ "@igniteui/cli-core": "~9.0.2",
16
16
  "typescript": "~4.4.4"
17
17
  }
18
18
  }