igniteui-cli 15.4.1 → 15.5.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 (38) hide show
  1. package/package.json +4 -4
  2. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-lite-testing/SKILL.md +82 -0
  3. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-lite-testing/references/interop-contracts.md +184 -0
  4. package/templates/react/igr-ts/constants.d.ts +2 -2
  5. package/templates/react/igr-ts/constants.js +2 -2
  6. package/templates/react/igr-ts/projects/_base/files/package.json +1 -1
  7. package/templates/react/igr-ts/projects/_base/files/src/main.tsx +1 -0
  8. package/templates/react/igr-ts/projects/_base_with_home/files/src/app/home/style.module.css +3 -3
  9. package/templates/react/igr-ts/projects/side-nav/files/src/app/app.css +9 -9
  10. package/templates/react/igr-ts/projects/side-nav/files/src/app/home/style.module.css +7 -7
  11. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/app.css +8 -8
  12. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/Login.module.css +1 -69
  13. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/Login.tsx +5 -5
  14. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/LoginBar.module.css +5 -26
  15. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/LoginDialog.module.css +0 -1
  16. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/Register.module.css +1 -56
  17. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/Register.tsx +2 -2
  18. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/Profile.module.css +11 -11
  19. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/RedirectFacebook.tsx +1 -1
  20. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/RedirectGoogle.tsx +1 -1
  21. package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/RedirectMicrosoft.tsx +1 -1
  22. package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/app.css +9 -9
  23. package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/home/style.module.css +7 -7
  24. package/templates/react/igr-ts/projects/side-nav-mini-auth/files/src/app/app.css +7 -7
  25. package/templates/webcomponents/igc-ts/constants.d.ts +6 -0
  26. package/templates/webcomponents/igc-ts/constants.js +9 -0
  27. package/templates/webcomponents/igc-ts/financial-chart/default/index.js +3 -2
  28. package/templates/webcomponents/igc-ts/grid/default/index.js +2 -1
  29. package/templates/webcomponents/igc-ts/grid/grid-editing/index.js +2 -1
  30. package/templates/webcomponents/igc-ts/grid/grid-summaries/index.js +2 -1
  31. package/templates/webcomponents/igc-ts/hierarchical-grid/basic/index.js +2 -1
  32. package/templates/webcomponents/igc-ts/linear-gauge/default/index.js +3 -2
  33. package/templates/webcomponents/igc-ts/pie-chart/default/index.js +3 -2
  34. package/templates/webcomponents/igc-ts/pivot-grid/basic/index.js +2 -1
  35. package/templates/webcomponents/igc-ts/projects/_base_with_home/files/package.json +1 -1
  36. package/templates/webcomponents/igc-ts/radial-gauge/default/index.js +3 -2
  37. package/templates/webcomponents/igc-ts/tree/default/index.js +5 -4
  38. package/templates/webcomponents/igc-ts/tree-grid/basic/index.js +2 -1
@@ -1,42 +1,21 @@
1
1
  .loginBtn::part(base) {
2
- color: #0075d2;
3
- background: #fff;
4
- border-color: rgba(0, 117, 210, 0.35);
2
+ color: var(--ig-primary-500);
3
+ background: var(--ig-surface-500);
4
+ border-color: var(--ig-primary-500);
5
5
  font-weight: 600;
6
6
  white-space: nowrap;
7
7
  transition: background .15s;
8
8
  }
9
9
 
10
10
  .loginBtn::part(base):hover {
11
- background: #e8f3fc;
11
+ background: var(--ig-primary-100);
12
12
  }
13
13
 
14
14
  .profileAvatar {
15
15
  cursor: pointer;
16
- color: #0075d2;
17
- --ig-avatar-background: #fff;
18
- --ig-avatar-color: #0075d2;
19
- }
20
-
21
- :global(igc-dropdown-item:hover),
22
- :global(igc-dropdown-item[active]:hover) {
23
- background: #e8f3fc;
24
- color: #0075d2;
25
- }
26
-
27
- :global(igc-dropdown-item[active]) {
28
- background: #e8f3fc;
29
- color: #0075d2;
30
- }
31
-
32
- :global(igc-dropdown-item[selected]),
33
- :global(igc-dropdown-item[selected]:hover),
34
- :global(igc-dropdown-item[selected][active]) {
35
- background: #e8f3fc;
36
- color: #0075d2;
37
16
  }
38
17
 
39
18
  .profileAvatar:focus-visible {
40
- outline: 2px solid #fff;
19
+ outline: 2px solid var(--ig-surface-500);
41
20
  outline-offset: 2px;
42
21
  }
@@ -6,7 +6,6 @@
6
6
  .dialog::part(title) {
7
7
  font-size: 1.125rem;
8
8
  font-weight: 600;
9
- color: #2d2d2d;
10
9
  }
11
10
 
12
11
  .body {
@@ -5,22 +5,10 @@
5
5
  padding: 8px 0 0;
6
6
  }
7
7
 
8
- .form igc-input {
9
- width: 100%;
10
- --ig-input-group-focused-secondary-color: #239ef0;
11
- --ig-input-group-focused-border-color: #239ef0;
12
- --ig-input-group-filled-text-color: #2d2d2d;
13
- }
14
-
15
- .form igc-input igc-icon {
16
- color: #0075d2;
17
- --ig-icon-size: 1.50rem;
18
- }
19
-
20
8
  .error {
21
9
  margin: 0;
22
10
  font-size: .875rem;
23
- color: #d32f2f;
11
+ color: var(--ig-error-500);
24
12
  }
25
13
 
26
14
  .actions {
@@ -29,46 +17,3 @@
29
17
  gap: 8px;
30
18
  padding-top: 4px;
31
19
  }
32
-
33
- .submitBtn {
34
- display: block;
35
- }
36
-
37
- .submitBtn::part(base) {
38
- width: 100%;
39
- min-height: 40px;
40
- font-weight: 600;
41
- text-transform: uppercase;
42
- }
43
-
44
- .submitBtn:not([disabled])::part(base) {
45
- background: #239ef0;
46
- color: #fff;
47
- }
48
-
49
- .submitBtn:not([disabled])::part(base):hover {
50
- background: #1a8fd8;
51
- }
52
-
53
- .submitBtn[disabled]::part(base) {
54
- background: #e0e0e0;
55
- color: #767676;
56
- }
57
-
58
- .linkBtn {
59
- align-self: center;
60
- color: #0075d2;
61
- font-size: .875rem;
62
- cursor: pointer;
63
- text-decoration: underline;
64
- text-transform: none;
65
- }
66
-
67
- .linkBtn:hover,
68
- .linkBtn:focus-visible {
69
- color: #005da8;
70
- }
71
-
72
- .linkBtn::part(base):hover {
73
- color: #005da8;
74
- }
@@ -57,10 +57,10 @@ export function Register({ onLogin, onSuccess }: RegisterProps) {
57
57
  </IgrInput>
58
58
  {error && <p className={styles.error}>{error}</p>}
59
59
  <div className={styles.actions}>
60
- <IgrButton variant="contained" type="submit" className={styles.submitBtn} disabled={!canSubmit}>
60
+ <IgrButton variant="contained" type="submit" disabled={!canSubmit}>
61
61
  <span>Sign Up</span>
62
62
  </IgrButton>
63
- <a className={styles.linkBtn} onClick={onLogin} role="button" tabIndex={0}>Have an account?</a>
63
+ <a onClick={onLogin} role="button" tabIndex={0}>Have an account?</a>
64
64
  </div>
65
65
  </form>
66
66
  );
@@ -10,9 +10,9 @@
10
10
  align-self: flex-start;
11
11
  width: 100%;
12
12
  max-width: 640px;
13
- background: #fff;
13
+ background: var(--ig-surface-500);
14
14
  border-radius: 8px;
15
- box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
15
+ box-shadow: var(--ig-elevation-2);
16
16
  padding: 32px;
17
17
  box-sizing: border-box;
18
18
  }
@@ -22,13 +22,13 @@
22
22
  align-items: center;
23
23
  gap: 20px;
24
24
  padding-bottom: 24px;
25
- border-bottom: 1px solid #d7eaf8;
25
+ border-bottom: 1px solid var(--ig-gray-300);
26
26
  }
27
27
 
28
28
  .avatar {
29
29
  flex: 0 0 auto;
30
- --ig-avatar-background: #e0f2ff;
31
- --ig-avatar-color: #0075d2;
30
+ --ig-avatar-background: var(--ig-primary-500);
31
+ --ig-avatar-color: var(--ig-primary-500-contrast);
32
32
  --ig-avatar-size: 4rem;
33
33
  }
34
34
 
@@ -38,7 +38,7 @@
38
38
 
39
39
  .status {
40
40
  margin: 0 0 4px;
41
- color: #000;
41
+ color: var(--ig-gray-700);
42
42
  font-size: .875rem;
43
43
  font-weight: 700;
44
44
  text-transform: uppercase;
@@ -47,7 +47,7 @@
47
47
  .name {
48
48
  margin: 0;
49
49
  overflow-wrap: anywhere;
50
- color: #09f;
50
+ color: var(--ig-primary-500);
51
51
  font-size: 2rem;
52
52
  font-weight: 600;
53
53
  line-height: 1.2;
@@ -55,7 +55,7 @@
55
55
 
56
56
  .description {
57
57
  margin: 8px 0 0;
58
- color: #000;
58
+ color: var(--ig-gray-900);
59
59
  font-size: 1rem;
60
60
  line-height: 1.5;
61
61
  }
@@ -70,11 +70,11 @@
70
70
  grid-template-columns: 140px minmax(0, 1fr);
71
71
  gap: 24px;
72
72
  padding: 14px 0;
73
- border-bottom: 1px solid #eef3f7;
73
+ border-bottom: 1px solid var(--ig-gray-200);
74
74
  }
75
75
 
76
76
  .dt {
77
- color: rgba(0, 0, 0, .62);
77
+ color: var(--ig-gray-600);
78
78
  font-size: .875rem;
79
79
  font-weight: 600;
80
80
  margin: 0;
@@ -83,5 +83,5 @@
83
83
  .dd {
84
84
  margin: 0;
85
85
  font-size: 1rem;
86
- color: #2d2d2d;
86
+ color: var(--ig-gray-900);
87
87
  }
@@ -33,7 +33,7 @@ export default function RedirectFacebook() {
33
33
 
34
34
  if (error) {
35
35
  return (
36
- <div style={{ padding: '2rem', color: '#d32f2f' }}>
36
+ <div style={{ padding: '2rem', color: 'var(--ig-error-500)' }}>
37
37
  <p>{error}</p>
38
38
  <button onClick={() => navigate('/')}>Back to Home</button>
39
39
  </div>
@@ -29,7 +29,7 @@ export default function RedirectGoogle() {
29
29
 
30
30
  if (error) {
31
31
  return (
32
- <div style={{ padding: '2rem', color: '#d32f2f' }}>
32
+ <div style={{ padding: '2rem', color: 'var(--ig-error-500)' }}>
33
33
  <p>{error}</p>
34
34
  <button onClick={() => navigate('/')}>Back to Home</button>
35
35
  </div>
@@ -29,7 +29,7 @@ export default function RedirectMicrosoft() {
29
29
 
30
30
  if (error) {
31
31
  return (
32
- <div style={{ padding: '2rem', color: '#d32f2f' }}>
32
+ <div style={{ padding: '2rem', color: 'var(--ig-error-500)' }}>
33
33
  <p>{error}</p>
34
34
  <button onClick={() => navigate('/')}>Back to Home</button>
35
35
  </div>
@@ -11,8 +11,8 @@
11
11
  flex: 0 0 auto;
12
12
  height: 56px;
13
13
  padding: 0 16px;
14
- background: #239ef0;
15
- box-shadow: 0 2px 4px rgba(0, 0, 0, .24);
14
+ background: var(--ig-primary-500);
15
+ box-shadow: var(--ig-elevation-4);
16
16
  box-sizing: border-box;
17
17
  }
18
18
 
@@ -23,7 +23,7 @@
23
23
  width: 40px;
24
24
  height: 40px;
25
25
  padding: 0;
26
- color: #000;
26
+ color: var(--ig-primary-500-contrast);
27
27
  border: 0;
28
28
  background: transparent;
29
29
  cursor: pointer;
@@ -35,7 +35,7 @@
35
35
 
36
36
  .app__title {
37
37
  margin: 0 0 0 16px;
38
- color: #000;
38
+ color: var(--ig-primary-500-contrast);
39
39
  font-size: 1.25rem;
40
40
  font-weight: 600;
41
41
  line-height: 1;
@@ -55,20 +55,20 @@
55
55
 
56
56
  igc-nav-drawer-item::part(base) {
57
57
  min-height: 48px;
58
- color: #2d2d2d;
58
+ color: var(--ig-gray-900);
59
59
  }
60
60
 
61
61
  igc-nav-drawer-item[active]::part(base) {
62
- background: #e0f2ff;
63
- color: #0075d2;
62
+ background: var(--ig-primary-100);
63
+ color: var(--ig-primary-500);
64
64
  }
65
65
 
66
66
  igc-nav-drawer-item[active] igc-icon {
67
- color: #0075d2;
67
+ color: var(--ig-primary-500);
68
68
  }
69
69
 
70
70
  igc-nav-drawer-item:not([active]) igc-icon {
71
- color: #2d2d2d;
71
+ color: var(--ig-gray-900);
72
72
  }
73
73
 
74
74
  .app--mini .app__drawer {
@@ -4,7 +4,7 @@
4
4
  margin: auto;
5
5
  padding: 48px 24px;
6
6
  box-sizing: border-box;
7
- font-family: "Titillium Web", "Segoe UI", Arial, sans-serif;
7
+ font-family: var(--ig-font-family);
8
8
  }
9
9
 
10
10
  :local(.intro) {
@@ -15,7 +15,7 @@
15
15
 
16
16
  :local(.header) {
17
17
  margin: 0 0 12px;
18
- color: #09f;
18
+ color: var(--ig-primary-500);
19
19
  font-size: 3rem;
20
20
  font-weight: 600;
21
21
  line-height: 1.2;
@@ -23,7 +23,7 @@
23
23
 
24
24
  :local(.description) {
25
25
  margin: 0;
26
- color: #000;
26
+ color: var(--ig-gray-900);
27
27
  font-size: 1.125rem;
28
28
  line-height: 1.5;
29
29
  }
@@ -50,7 +50,7 @@
50
50
  align-items: center;
51
51
  min-height: 64px;
52
52
  padding: 6px 0;
53
- color: rgba(0, 0, 0, .74);
53
+ color: var(--ig-gray-700);
54
54
  text-align: left;
55
55
  text-decoration: none;
56
56
  }
@@ -62,7 +62,7 @@
62
62
  :local(.resourceIcon) {
63
63
  flex: 0 0 28px;
64
64
  margin-right: 16px;
65
- color: #09f;
65
+ color: var(--ig-primary-500);
66
66
  font-size: 28px;
67
67
  }
68
68
 
@@ -73,12 +73,12 @@
73
73
 
74
74
  :local(.resource) strong {
75
75
  margin-bottom: 2px;
76
- color: #731963;
76
+ color: var(--ig-secondary-500);
77
77
  font-size: 1rem;
78
78
  }
79
79
 
80
80
  :local(.resource) small {
81
- color: #000;
81
+ color: var(--ig-gray-900);
82
82
  font-size: 0.875rem;
83
83
  line-height: 1.4;
84
84
  }
@@ -11,8 +11,8 @@
11
11
  flex: 0 0 auto;
12
12
  height: 56px;
13
13
  padding: 0 16px;
14
- background: #239ef0;
15
- box-shadow: 0 2px 4px rgba(0, 0, 0, .24);
14
+ background: var(--ig-primary-500);
15
+ box-shadow: var(--ig-elevation-4);
16
16
  box-sizing: border-box;
17
17
  position: relative;
18
18
  z-index: 10;
@@ -29,7 +29,7 @@
29
29
  width: 40px;
30
30
  height: 40px;
31
31
  padding: 0;
32
- color: #000;
32
+ color: var(--ig-primary-500-contrast);
33
33
  border: 0;
34
34
  background: transparent;
35
35
  cursor: pointer;
@@ -41,7 +41,7 @@
41
41
 
42
42
  .app__title {
43
43
  margin: 0 0 0 16px;
44
- color: #000;
44
+ color: var(--ig-primary-500-contrast);
45
45
  font-size: 1.25rem;
46
46
  font-weight: 600;
47
47
  line-height: 1;
@@ -60,12 +60,12 @@
60
60
  }
61
61
 
62
62
  igc-nav-drawer-item[active]::part(base) {
63
- background: #e0f2ff;
64
- color: #0075d2;
63
+ background: var(--ig-primary-100);
64
+ color: var(--ig-primary-700);
65
65
  }
66
66
 
67
67
  igc-nav-drawer-item[active] igc-icon {
68
- color: #0075d2;
68
+ color: var(--ig-primary-700);
69
69
  }
70
70
 
71
71
  .app--mini .app__drawer {
@@ -0,0 +1,6 @@
1
+ export declare const IGNITEUI_WEBCOMPONENTS_CORE_PACKAGE = "igniteui-webcomponents-core@~7.0.0";
2
+ export declare const IGNITEUI_WEBCOMPONENTS_CHARTS_PACKAGE = "igniteui-webcomponents-charts@~7.0.0";
3
+ export declare const IGNITEUI_WEBCOMPONENTS_GAUGES_PACKAGE = "igniteui-webcomponents-gauges@~7.0.0";
4
+ export declare const IGNITEUI_WEBCOMPONENTS_GRIDS_PACKAGE = "igniteui-webcomponents-grids@~7.2.1";
5
+ export declare const IGNITEUI_WEBCOMPONENTS_INPUTS_PACKAGE = "igniteui-webcomponents-inputs@~7.0.0";
6
+ export declare const IGNITEUI_WEBCOMPONENTS_LAYOUTS_PACKAGE = "igniteui-webcomponents-layouts@~7.0.0";
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IGNITEUI_WEBCOMPONENTS_LAYOUTS_PACKAGE = exports.IGNITEUI_WEBCOMPONENTS_INPUTS_PACKAGE = exports.IGNITEUI_WEBCOMPONENTS_GRIDS_PACKAGE = exports.IGNITEUI_WEBCOMPONENTS_GAUGES_PACKAGE = exports.IGNITEUI_WEBCOMPONENTS_CHARTS_PACKAGE = exports.IGNITEUI_WEBCOMPONENTS_CORE_PACKAGE = void 0;
4
+ exports.IGNITEUI_WEBCOMPONENTS_CORE_PACKAGE = "igniteui-webcomponents-core@~7.0.0";
5
+ exports.IGNITEUI_WEBCOMPONENTS_CHARTS_PACKAGE = "igniteui-webcomponents-charts@~7.0.0";
6
+ exports.IGNITEUI_WEBCOMPONENTS_GAUGES_PACKAGE = "igniteui-webcomponents-gauges@~7.0.0";
7
+ exports.IGNITEUI_WEBCOMPONENTS_GRIDS_PACKAGE = "igniteui-webcomponents-grids@~7.2.1";
8
+ exports.IGNITEUI_WEBCOMPONENTS_INPUTS_PACKAGE = "igniteui-webcomponents-inputs@~7.0.0";
9
+ exports.IGNITEUI_WEBCOMPONENTS_LAYOUTS_PACKAGE = "igniteui-webcomponents-layouts@~7.0.0";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const IgniteUIForWebComponentsTemplate_1 = require("../../../../../lib/templates/IgniteUIForWebComponentsTemplate");
4
+ const constants_1 = require("../../constants");
4
5
  class IgcFinancialChartTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebComponentsTemplate {
5
6
  constructor() {
6
7
  super(__dirname);
@@ -12,8 +13,8 @@ class IgcFinancialChartTemplate extends IgniteUIForWebComponentsTemplate_1.Ignit
12
13
  this.name = "Financial Chart";
13
14
  this.description = "IgcFinancialChart";
14
15
  this.packages = [
15
- "igniteui-webcomponents-core@~7.0.0",
16
- "igniteui-webcomponents-charts@~7.0.0"
16
+ constants_1.IGNITEUI_WEBCOMPONENTS_CORE_PACKAGE,
17
+ constants_1.IGNITEUI_WEBCOMPONENTS_CHARTS_PACKAGE
17
18
  ];
18
19
  }
19
20
  }
@@ -24,6 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  const IgniteUIForWebComponentsTemplate_1 = require("../../../../../lib/templates/IgniteUIForWebComponentsTemplate");
27
+ const constants_1 = require("../../constants");
27
28
  const path = __importStar(require("path"));
28
29
  const SHARED_DATA_ROOT = path.join(path.dirname(require.resolve("@igniteui/angular-templates/package.json")), "shared-data");
29
30
  class IgcGridTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebComponentsTemplate {
@@ -36,7 +37,7 @@ class IgcGridTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebC
36
37
  this.projectType = "igc-ts";
37
38
  this.name = "Grid";
38
39
  this.description = "IgcGrid with local data";
39
- this.packages = ["igniteui-webcomponents-grids@~7.1.0"];
40
+ this.packages = [constants_1.IGNITEUI_WEBCOMPONENTS_GRIDS_PACKAGE];
40
41
  }
41
42
  get templatePaths() {
42
43
  return [
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const IgniteUIForWebComponentsTemplate_1 = require("../../../../../lib/templates/IgniteUIForWebComponentsTemplate");
4
+ const constants_1 = require("../../constants");
4
5
  class IgcGridEditingTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebComponentsTemplate {
5
6
  constructor() {
6
7
  super(__dirname);
@@ -11,7 +12,7 @@ class IgcGridEditingTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUI
11
12
  this.projectType = "igc-ts";
12
13
  this.name = "Grid Editing";
13
14
  this.description = "IgcGrid with editing enabled";
14
- this.packages = ["igniteui-webcomponents-grids@~7.1.0"];
15
+ this.packages = [constants_1.IGNITEUI_WEBCOMPONENTS_GRIDS_PACKAGE];
15
16
  }
16
17
  }
17
18
  module.exports = new IgcGridEditingTemplate();
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const IgniteUIForWebComponentsTemplate_1 = require("../../../../../lib/templates/IgniteUIForWebComponentsTemplate");
4
+ const constants_1 = require("../../constants");
4
5
  class IgcGridSummariesTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebComponentsTemplate {
5
6
  constructor() {
6
7
  super(__dirname);
@@ -11,7 +12,7 @@ class IgcGridSummariesTemplate extends IgniteUIForWebComponentsTemplate_1.Ignite
11
12
  this.projectType = "igc-ts";
12
13
  this.name = "Grid Summaries";
13
14
  this.description = "IgcGrid with column summaries";
14
- this.packages = ["igniteui-webcomponents-grids@~7.1.0"];
15
+ this.packages = [constants_1.IGNITEUI_WEBCOMPONENTS_GRIDS_PACKAGE];
15
16
  }
16
17
  }
17
18
  module.exports = new IgcGridSummariesTemplate();
@@ -24,6 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  const IgniteUIForWebComponentsTemplate_1 = require("../../../../../lib/templates/IgniteUIForWebComponentsTemplate");
27
+ const constants_1 = require("../../constants");
27
28
  const path = __importStar(require("path"));
28
29
  const SHARED_DATA_ROOT = path.join(path.dirname(require.resolve("@igniteui/angular-templates/package.json")), "shared-data");
29
30
  class IgcHierarchicalGridTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebComponentsTemplate {
@@ -36,7 +37,7 @@ class IgcHierarchicalGridTemplate extends IgniteUIForWebComponentsTemplate_1.Ign
36
37
  this.projectType = "igc-ts";
37
38
  this.name = "Hierarchical Grid";
38
39
  this.description = "IgcHierarchicalGrid with basic configuration";
39
- this.packages = ["igniteui-webcomponents-grids@~7.1.0"];
40
+ this.packages = [constants_1.IGNITEUI_WEBCOMPONENTS_GRIDS_PACKAGE];
40
41
  }
41
42
  get templatePaths() {
42
43
  return [
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const IgniteUIForWebComponentsTemplate_1 = require("../../../../../lib/templates/IgniteUIForWebComponentsTemplate");
4
+ const constants_1 = require("../../constants");
4
5
  class IgcLinearGaugeTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebComponentsTemplate {
5
6
  constructor() {
6
7
  super(__dirname);
@@ -12,8 +13,8 @@ class IgcLinearGaugeTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUI
12
13
  this.name = "Linear Gauge";
13
14
  this.description = "IgcLinearGauge";
14
15
  this.packages = [
15
- "igniteui-webcomponents-core@~7.0.0",
16
- "igniteui-webcomponents-gauges@~7.0.0"
16
+ constants_1.IGNITEUI_WEBCOMPONENTS_CORE_PACKAGE,
17
+ constants_1.IGNITEUI_WEBCOMPONENTS_GAUGES_PACKAGE
17
18
  ];
18
19
  }
19
20
  }
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const IgniteUIForWebComponentsTemplate_1 = require("../../../../../lib/templates/IgniteUIForWebComponentsTemplate");
4
+ const constants_1 = require("../../constants");
4
5
  class IgcPieChartTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebComponentsTemplate {
5
6
  constructor() {
6
7
  super(__dirname);
@@ -12,8 +13,8 @@ class IgcPieChartTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIFor
12
13
  this.name = "Pie Chart";
13
14
  this.description = "IgcPieChart with local data";
14
15
  this.packages = [
15
- "igniteui-webcomponents-core@~7.0.0",
16
- "igniteui-webcomponents-charts@~7.0.0"
16
+ constants_1.IGNITEUI_WEBCOMPONENTS_CORE_PACKAGE,
17
+ constants_1.IGNITEUI_WEBCOMPONENTS_CHARTS_PACKAGE
17
18
  ];
18
19
  }
19
20
  }
@@ -24,6 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  const IgniteUIForWebComponentsTemplate_1 = require("../../../../../lib/templates/IgniteUIForWebComponentsTemplate");
27
+ const constants_1 = require("../../constants");
27
28
  const path = __importStar(require("path"));
28
29
  const SHARED_DATA_ROOT = path.join(path.dirname(require.resolve("@igniteui/angular-templates/package.json")), "shared-data");
29
30
  class IgcPivotGridTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebComponentsTemplate {
@@ -36,7 +37,7 @@ class IgcPivotGridTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIFo
36
37
  this.projectType = "igc-ts";
37
38
  this.name = "Pivot Grid";
38
39
  this.description = "Basic IgcPivotGrid component";
39
- this.packages = ["igniteui-webcomponents-grids@~7.1.0"];
40
+ this.packages = [constants_1.IGNITEUI_WEBCOMPONENTS_GRIDS_PACKAGE];
40
41
  }
41
42
  get templatePaths() {
42
43
  return [
@@ -19,7 +19,7 @@
19
19
  "igniteui-webcomponents-charts": "~7.0.0",
20
20
  "igniteui-webcomponents-core": "~7.0.0",
21
21
  "igniteui-webcomponents-gauges": "~7.0.0",
22
- "igniteui-webcomponents-grids": "~7.1.0",
22
+ "igniteui-webcomponents-grids": "~7.2.1",
23
23
  "igniteui-webcomponents-inputs": "~7.0.0",
24
24
  "igniteui-webcomponents-layouts": "~7.0.0",
25
25
  "lit": "^3.3.2"
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const IgniteUIForWebComponentsTemplate_1 = require("../../../../../lib/templates/IgniteUIForWebComponentsTemplate");
4
+ const constants_1 = require("../../constants");
4
5
  class IgcradialGaugeTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebComponentsTemplate {
5
6
  constructor() {
6
7
  super(__dirname);
@@ -12,8 +13,8 @@ class IgcradialGaugeTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUI
12
13
  this.name = "Radial Gauge";
13
14
  this.description = "IgcRadialGauge";
14
15
  this.packages = [
15
- "igniteui-webcomponents-core@~7.0.0",
16
- "igniteui-webcomponents-gauges@~7.0.0"
16
+ constants_1.IGNITEUI_WEBCOMPONENTS_CORE_PACKAGE,
17
+ constants_1.IGNITEUI_WEBCOMPONENTS_GAUGES_PACKAGE
17
18
  ];
18
19
  }
19
20
  }
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const IgniteUIForWebComponentsTemplate_1 = require("../../../../../lib/templates/IgniteUIForWebComponentsTemplate");
4
+ const constants_1 = require("../../constants");
4
5
  class IgcTreeTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebComponentsTemplate {
5
6
  constructor() {
6
7
  super(__dirname);
@@ -12,10 +13,10 @@ class IgcTreeTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebC
12
13
  this.name = "Tree";
13
14
  this.description = "basic IgcTree";
14
15
  this.packages = [
15
- "igniteui-webcomponents-core@~7.0.0",
16
- "igniteui-webcomponents-grids@~7.1.0",
17
- "igniteui-webcomponents-inputs@~7.0.0",
18
- "igniteui-webcomponents-layouts@~7.0.0"
16
+ constants_1.IGNITEUI_WEBCOMPONENTS_CORE_PACKAGE,
17
+ constants_1.IGNITEUI_WEBCOMPONENTS_GRIDS_PACKAGE,
18
+ constants_1.IGNITEUI_WEBCOMPONENTS_INPUTS_PACKAGE,
19
+ constants_1.IGNITEUI_WEBCOMPONENTS_LAYOUTS_PACKAGE
19
20
  ];
20
21
  }
21
22
  }
@@ -24,6 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  const IgniteUIForWebComponentsTemplate_1 = require("../../../../../lib/templates/IgniteUIForWebComponentsTemplate");
27
+ const constants_1 = require("../../constants");
27
28
  const path = __importStar(require("path"));
28
29
  const SHARED_DATA_ROOT = path.join(path.dirname(require.resolve("@igniteui/angular-templates/package.json")), "shared-data");
29
30
  class IgcTreeGridTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebComponentsTemplate {
@@ -36,7 +37,7 @@ class IgcTreeGridTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIFor
36
37
  this.projectType = "igc-ts";
37
38
  this.name = "Tree Grid";
38
39
  this.description = "IgcTreeGrid with hierarchical data";
39
- this.packages = ["igniteui-webcomponents-grids@~7.1.0"];
40
+ this.packages = [constants_1.IGNITEUI_WEBCOMPONENTS_GRIDS_PACKAGE];
40
41
  }
41
42
  get templatePaths() {
42
43
  return [