igniteui-cli 15.8.1 → 15.8.3-alpha.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 (83) hide show
  1. package/lib/MultiTemplateComponent.d.ts +1 -1
  2. package/lib/TemplateManager.d.ts +1 -1
  3. package/lib/cli.d.ts +1 -1
  4. package/lib/cli.js +2 -2
  5. package/lib/commands/doc.js +1 -1
  6. package/lib/commands/list.js +1 -1
  7. package/lib/commands/types.d.ts +2 -2
  8. package/lib/commands/upgrade.js +4 -1
  9. package/lib/project-utility/GridHelper.d.ts +6 -2
  10. package/lib/templates/IgniteUIForReactTemplate.d.ts +9 -5
  11. package/lib/templates/IgniteUIForReactTemplate.js +2 -2
  12. package/lib/templates/IgniteUIForWebComponentsTemplate.d.ts +8 -4
  13. package/lib/templates/IgniteUIForWebComponentsTemplate.js +8 -4
  14. package/lib/templates/jQueryTemplate.d.ts +8 -4
  15. package/lib/templates/jQueryTemplate.js +1 -1
  16. package/package.json +5 -4
  17. package/templates/blazor/igb/projects/ai-config/files/skills/AGENTS.md +7 -2
  18. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/client-scripts.md +7 -7
  19. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/data-display.md +2 -2
  20. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/form-controls.md +65 -18
  21. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/setup.md +2 -2
  22. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/references/component-mapping.md +5 -5
  23. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/references/gotchas.md +24 -5
  24. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/SKILL.md +1 -1
  25. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/editing.md +4 -3
  26. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/grid-migration.md +1 -1
  27. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/types.md +1 -1
  28. package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-theming/references/common-patterns.md +1 -1
  29. package/templates/blazor/igb/projects/ai-config/index.d.ts +1 -1
  30. package/templates/blazor/igb/projects/ai-config/index.js +1 -0
  31. package/templates/blazor/igb/projects/empty/index.d.ts +1 -1
  32. package/templates/jquery/js/projects/empty/index.js +1 -0
  33. package/templates/react/ReactTypeScriptFileUpdate.js +4 -4
  34. package/templates/react/igr-ts/constants.d.ts +1 -1
  35. package/templates/react/igr-ts/constants.js +1 -1
  36. package/templates/react/igr-ts/projects/_base/index.d.ts +1 -1
  37. package/templates/react/igr-ts/projects/_base/index.js +1 -0
  38. package/templates/react/igr-ts/projects/ai-config/index.d.ts +1 -1
  39. package/templates/webcomponents/WebComponentsTypeScriptFileUpdate.js +2 -2
  40. package/templates/webcomponents/igc-ts/category-chart/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  41. package/templates/webcomponents/igc-ts/category-chart/default/files/src/app/__path__/__filePrefix__.ts +37 -0
  42. package/templates/webcomponents/igc-ts/category-chart/default/index.d.ts +1 -0
  43. package/templates/webcomponents/igc-ts/category-chart/default/index.js +21 -0
  44. package/templates/webcomponents/igc-ts/category-chart/index.d.ts +1 -0
  45. package/templates/webcomponents/igc-ts/category-chart/index.js +12 -0
  46. package/templates/webcomponents/igc-ts/constants.d.ts +1 -1
  47. package/templates/webcomponents/igc-ts/constants.js +1 -1
  48. package/templates/webcomponents/igc-ts/doughnut-chart/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
  49. package/templates/webcomponents/igc-ts/doughnut-chart/default/files/src/app/__path__/__filePrefix__.ts +52 -0
  50. package/templates/webcomponents/igc-ts/doughnut-chart/default/index.d.ts +1 -0
  51. package/templates/webcomponents/igc-ts/doughnut-chart/default/index.js +21 -0
  52. package/templates/webcomponents/igc-ts/doughnut-chart/index.d.ts +1 -0
  53. package/templates/webcomponents/igc-ts/doughnut-chart/index.js +12 -0
  54. package/templates/webcomponents/igc-ts/projects/_base/index.d.ts +4 -2
  55. package/templates/webcomponents/igc-ts/projects/_base_with_home/files/package.json +1 -1
  56. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/README.md +15 -15
  57. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-choose-components/SKILL.md +36 -36
  58. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-choose-components/reference/mcp-setup.md +8 -6
  59. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-customize-component-theme/SKILL.md +62 -60
  60. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-customize-component-theme/references/mcp-setup.md +8 -6
  61. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/SKILL.md +107 -94
  62. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/asset-extraction.md +32 -32
  63. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/design-provenance.md +32 -30
  64. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/design-token-bridge.md +84 -71
  65. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/figma-component-map.md +45 -44
  66. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/figma-exploration.md +57 -51
  67. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/mcp-setup.md +23 -23
  68. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/project-setup.md +28 -26
  69. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/theme-generation.md +45 -35
  70. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/validation-patterns.md +38 -29
  71. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-generate-from-image-design/SKILL.md +63 -63
  72. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-generate-from-image-design/references/component-mapping.md +12 -12
  73. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-generate-from-image-design/references/gotchas.md +24 -24
  74. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-grids/SKILL.md +23 -23
  75. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-integrate-with-framework/SKILL.md +23 -23
  76. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-integrate-with-framework/references/angular.md +10 -10
  77. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-integrate-with-framework/references/react.md +9 -9
  78. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-integrate-with-framework/references/vanilla-js.md +9 -9
  79. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-integrate-with-framework/references/vue.md +11 -11
  80. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-migrate-grid-lite-to-premium/SKILL.md +18 -18
  81. package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-optimize-bundle-size/SKILL.md +78 -48
  82. package/templates/webcomponents/igc-ts/projects/ai-config/index.d.ts +1 -1
  83. package/templates/webcomponents/igc-ts/projects/ai-config/index.js +1 -0
@@ -29,6 +29,25 @@ Mixing literal text with `@(...)` in one attribute on a component fails the buil
29
29
  @code { void NavigateToDashboard() => NavigationManager.NavigateTo("/dashboard"); }
30
30
  ```
31
31
 
32
+ ### CS0103 — a bare string `Value` on `IgbSelectItem` / `IgbRadio`
33
+
34
+ In `IgniteUI.Blazor.Lite` their `Value` is generic (`TValue`, which must match the parent `IgbSelect` / `IgbRadioGroup`), so the attribute is a C# expression and `Value="apple"` reads as an identifier. Enum members, numbers and loop variables (`Value="Plan.Pro"`, `Value="1"`, `Value="item.Id"`) need no quoting; only a fixed string does.
35
+
36
+ ```razor
37
+ @* ❌ *@ <IgbSelectItem Value="apple">Apple</IgbSelectItem>
38
+ @* ✅ *@ <IgbSelectItem Value="@("apple")">Apple</IgbSelectItem>
39
+ ```
40
+
41
+ ### CS1503 / RZ10001 — `TValue` on a value control's event handler
42
+
43
+ In `IgniteUI.Blazor.Lite` the value controls (Calendar, Color Picker, Date Picker, Date Range Picker, Date Time Input, Radio Group, Rating, Select, Slider) are generic over `TValue`. Razor infers it from `@bind-Value` or `Value`, but not through a method group, so a method handling a value event fails even next to `@bind-Value`, and a control with no value cannot infer it at all. Set `TValue`, or react with `@bind-Value:after`, which works in both packages.
44
+
45
+ ```razor
46
+ @* ❌ *@ <IgbSlider @bind-Value="Volume" Change="OnVolumeChange" />
47
+ @* ✅ *@ <IgbSlider TValue="double" @bind-Value="Volume" Change="OnVolumeChange" />
48
+ @* ✅ *@ <IgbSlider @bind-Value="Volume" @bind-Value:after="OnVolumeChanged" />
49
+ ```
50
+
32
51
  ### BL0005 — setting parameters through `@ref`
33
52
 
34
53
  Assigning component parameters from `OnAfterRenderAsync` (`chart.Brushes = "…"`) raises *"Component parameter should not be set outside of its component"*. Pass them as inline markup attributes instead.
@@ -195,17 +214,17 @@ A font-icon `<span>` is `display: inline`, so `vertical-align` is ignored by the
195
214
 
196
215
  The parameter is `IconName`; `Name` is the framework's element identity on every component. Register the icon in `OnAfterRenderAsync(firstRender)` after `await EnsureReady()`, or nothing renders.
197
216
 
198
- ### `Name` never groups or names a form field
217
+ ### Grouping radios: lowercase `name`
199
218
 
200
- `<IgbRadioGroup Name="plan">` does not group radios — being children of the group does, and the selection is the group's `@bind-Value`.
219
+ Radios are mutually exclusive only when they share an HTML `name`: give every `IgbRadio` in a group the same lowercase `name`, and read the selection from the group's `@bind-Value`. In the full product `Name` is the framework's element identity and does not group them. In `IgniteUI.Blazor.Lite`, `Name` on `IgbRadioGroup` passes the name to its radios.
201
220
 
202
221
  ### `IgbAvatar` uses `Shape`
203
222
 
204
223
  `AvatarShape.Circle | Rounded | Square`. There is no `RoundShape`.
205
224
 
206
- ### `IgbCombo`'s generic parameter is `T`
225
+ ### `IgbCombo`'s generic parameters differ per package
207
226
 
208
- `<IgbCombo T="Person" …>`, not `TValue`.
227
+ `IgniteUI.Blazor.Lite`: `<IgbCombo TValue="int" TItem="Person" …>`. Full `IgniteUI.Blazor`: `<IgbCombo T="int" …>`. `TValue` / `T` is the value type: the `ValueKey` property's type, or the item type without a `ValueKey` — not the item type of a keyed combo. Razor infers them from `@bind-Value` and `Data`, but in Lite a `Change` handler needs both set explicitly.
209
228
 
210
229
  ### `IgbCard` has no default width
211
230
 
@@ -226,7 +245,7 @@ Switch both stylesheets together:
226
245
  ```html
227
246
  <link href="_content/IgniteUI.Blazor/themes/dark/bootstrap.css" rel="stylesheet" />
228
247
  <link href="_content/IgniteUI.Blazor/themes/grid/dark/bootstrap.css" rel="stylesheet" />
229
- <!-- IgbGridLite instead: _content/IgniteUI.Blazor.GridLite/css/themes/dark/bootstrap.css -->
248
+ <!-- IgbGridLite instead: _content/IgniteUI.Blazor.GridLite/themes/dark/bootstrap.css -->
230
249
  ```
231
250
 
232
251
  For a runtime toggle, prefer `IgbThemeProvider` (`Theme`, `Variant`) over swapping `<link href>` via JS interop — no interop and it can scope to a region.
@@ -60,7 +60,7 @@ Grids are **not** included in `IgniteUI.Blazor.Lite`.
60
60
  | Registration | `builder.Services.AddIgniteUIBlazor(typeof(IgbGridModule), …)` in `Program.cs` |
61
61
  | Using directive | `@using IgniteUI.Blazor.Controls` in `_Imports.razor` |
62
62
  | CSS — full grids | **both** `_content/IgniteUI.Blazor/themes/light/bootstrap.css` **and** `_content/IgniteUI.Blazor/themes/grid/light/bootstrap.css` |
63
- | CSS — Grid Lite | `_content/IgniteUI.Blazor.GridLite/css/themes/light/bootstrap.css` only — not the two above |
63
+ | CSS — Grid Lite | `_content/IgniteUI.Blazor.GridLite/themes/light/bootstrap.css` only — not the two above |
64
64
  | Script | None for `IgniteUI.Blazor.GridLite`; full grids (`IgniteUI.Blazor`/`.Trial`) need `_content/IgniteUI.Blazor/app.bundle.js` before the Blazor framework script in Blazor Web Apps (so the library's client resources initialize correctly there) — never wrapped in `@Assets[...]` |
65
65
 
66
66
  The grid-specific stylesheet is easy to miss and is required whenever any full-featured grid is on the page. Full setup detail lives in the components skill's [`setup.md`](../igniteui-blazor-components/references/setup.md).
@@ -134,10 +134,11 @@ Validate in `CellEdit` / `RowEdit` and set `args.Detail.Valid = false` to block
134
134
  <IgbColumn Field="AssignedTo" Header="Assigned To" Editable="true">
135
135
  <InlineEditorTemplate>
136
136
  @{ var cell = (IgbCellTemplateContext)context; }
137
- <IgbCombo T="Person" Data="people" ValueKey="Id" DisplayKey="Name"
138
- SingleSelect="true" @bind-Value="cell.Cell.EditValue" />
137
+ <IgbCombo T="int" Data="people" ValueKey="Id" DisplayKey="Name" SingleSelect="true"
138
+ Value="@(cell.Cell.EditValue is int id ? new[] { id } : Array.Empty<int>())"
139
+ ValueChanged="@((int[] ids) => cell.Cell.EditValue = ids.FirstOrDefault())" />
139
140
  </InlineEditorTemplate>
140
141
  </IgbColumn>
141
142
  ```
142
143
 
143
- `IgbCombo`'s generic parameter is **`T`**, not `TValue`.
144
+ The grids ship in the full `IgniteUI.Blazor`, whose combo has one generic parameter `T`: the value type, here `Person.Id`'s `int`, or the item type when there is no `ValueKey`. `Value` is a `T[]` even with `SingleSelect`, so convert to and from the cell's `EditValue` instead of binding it directly.
@@ -18,7 +18,7 @@ Batch editing with undo is not supported in Blazor on either grid.
18
18
 
19
19
  ```html
20
20
  <!-- index.html / App.razor — Grid Lite ships one stylesheet, IgbGrid needs two -->
21
- - <link href="_content/IgniteUI.Blazor.GridLite/css/themes/light/bootstrap.css" rel="stylesheet" />
21
+ - <link href="_content/IgniteUI.Blazor.GridLite/themes/light/bootstrap.css" rel="stylesheet" />
22
22
  + <link href="_content/IgniteUI.Blazor/themes/light/bootstrap.css" rel="stylesheet" />
23
23
  + <link href="_content/IgniteUI.Blazor/themes/grid/light/bootstrap.css" rel="stylesheet" />
24
24
  ```
@@ -12,7 +12,7 @@ builder.Services.AddIgniteUIBlazor(typeof(IgbGridLiteModule));
12
12
  ```
13
13
 
14
14
  ```html
15
- <link href="_content/IgniteUI.Blazor.GridLite/css/themes/light/bootstrap.css" rel="stylesheet" />
15
+ <link href="_content/IgniteUI.Blazor.GridLite/themes/light/bootstrap.css" rel="stylesheet" />
16
16
  ```
17
17
 
18
18
  ```razor
@@ -21,7 +21,7 @@ If the page hosts any full-featured grid, add the grid stylesheet in the **same
21
21
  <link href="_content/IgniteUI.Blazor/themes/grid/light/bootstrap.css" rel="stylesheet" />
22
22
  ```
23
23
 
24
- `IgbGridLite` replaces both with its own: `_content/IgniteUI.Blazor.GridLite/css/themes/light/bootstrap.css`.
24
+ `IgbGridLite` replaces both with its own: `_content/IgniteUI.Blazor.GridLite/themes/light/bootstrap.css`.
25
25
 
26
26
  ## Switching theme at runtime
27
27
 
@@ -8,7 +8,7 @@ export declare class IgbAiConfigPartial implements ProjectTemplate {
8
8
  dependencies: string[];
9
9
  hasExtraConfiguration: boolean;
10
10
  isHidden: boolean;
11
- delimiters: import("@igniteui/cli-core").TemplateDelimiters;
11
+ delimiters: Required<import("@igniteui/cli-core").TemplateDelimiters>;
12
12
  get templatePaths(): string[];
13
13
  installModules(): void;
14
14
  upgradeIgniteUIPackages(_projectPath: string, _packagePath: string): Promise<boolean>;
@@ -35,6 +35,7 @@ class IgbAiConfigPartial {
35
35
  this.description = "Ignite UI CLI AI config for Blazor partial project files";
36
36
  this.framework = "blazor";
37
37
  this.projectType = "igb";
38
+ this.dependencies = [];
38
39
  this.hasExtraConfiguration = false;
39
40
  this.isHidden = true;
40
41
  this.delimiters = cli_core_1.defaultDelimiters;
@@ -8,7 +8,7 @@ export declare class EmptyIgbProject implements ProjectTemplate {
8
8
  dependencies: string[];
9
9
  hasExtraConfiguration: boolean;
10
10
  isHidden: boolean;
11
- delimiters: import("@igniteui/cli-core").TemplateDelimiters;
11
+ delimiters: Required<import("@igniteui/cli-core").TemplateDelimiters>;
12
12
  templatePaths: string[];
13
13
  private extraConfiguration;
14
14
  getExtraConfiguration(): ControlExtraConfiguration[];
@@ -40,6 +40,7 @@ class EmptyProject {
40
40
  this.id = "jquery";
41
41
  this.name = "jquery with Javascript";
42
42
  this.description = "Ignite UI CLI project for jQuery";
43
+ this.dependencies = [];
43
44
  this.framework = "jquery";
44
45
  this.projectType = "js";
45
46
  this.hasExtraConfiguration = false;
@@ -39,7 +39,7 @@ class ReactTypeScriptFileUpdate extends cli_core_1.TypeScriptFileUpdate {
39
39
  this.requestImportForRouteLoader(_route);
40
40
  }
41
41
  else {
42
- const routeName = cli_core_1.Util.lowerDashed(_route.name || _route.path);
42
+ const routeName = cli_core_1.Util.lowerDashed((_route.name || _route.path));
43
43
  const modulePath = `./${routeName}/${routeName}`;
44
44
  this.requestImportForRouteIdentifier(Object.assign(Object.assign({}, _route), { modulePath }), true // is default - for React, we import the component as `import X from 'module'`.
45
45
  );
@@ -75,13 +75,13 @@ class ReactTypeScriptFileUpdate extends cli_core_1.TypeScriptFileUpdate {
75
75
  },
76
76
  {
77
77
  name: types_1.ReactRouteTarget.Element,
78
- value: ts.factory.createJsxSelfClosingElement(ts.factory.createIdentifier(route.element || route.identifierName), undefined, // type arguments
79
- undefined // jsx attributes
78
+ value: ts.factory.createJsxSelfClosingElement(ts.factory.createIdentifier((route.element || route.identifierName)), undefined, // type arguments
79
+ ts.factory.createJsxAttributes([]) // jsx attributes
80
80
  ),
81
81
  },
82
82
  {
83
83
  name: types_1.ReactRouteTarget.Text,
84
- value: ts.factory.createStringLiteral(route.text || route.name, this.formatSettings.singleQuotes),
84
+ value: ts.factory.createStringLiteral((route.text || route.name), this.formatSettings.singleQuotes),
85
85
  },
86
86
  ];
87
87
  }
@@ -1,4 +1,4 @@
1
1
  export declare const IGNITEUI_REACT_PACKAGE = "igniteui-react@~19.9.0";
2
- export declare const IGNITEUI_REACT_GRIDS_PACKAGE = "igniteui-react-grids@~19.9.0";
2
+ export declare const IGNITEUI_REACT_GRIDS_PACKAGE = "igniteui-react-grids@~19.10.0";
3
3
  export declare const IGNITEUI_REACT_CHARTS_PACKAGE = "igniteui-react-charts@~19.6.0";
4
4
  export declare const IGNITEUI_REACT_GAUGES_PACKAGE = "igniteui-react-gauges@~19.6.0";
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IGNITEUI_REACT_GAUGES_PACKAGE = exports.IGNITEUI_REACT_CHARTS_PACKAGE = exports.IGNITEUI_REACT_GRIDS_PACKAGE = exports.IGNITEUI_REACT_PACKAGE = void 0;
4
4
  exports.IGNITEUI_REACT_PACKAGE = "igniteui-react@~19.9.0";
5
- exports.IGNITEUI_REACT_GRIDS_PACKAGE = "igniteui-react-grids@~19.9.0";
5
+ exports.IGNITEUI_REACT_GRIDS_PACKAGE = "igniteui-react-grids@~19.10.0";
6
6
  exports.IGNITEUI_REACT_CHARTS_PACKAGE = "igniteui-react-charts@~19.6.0";
7
7
  exports.IGNITEUI_REACT_GAUGES_PACKAGE = "igniteui-react-gauges@~19.6.0";
@@ -8,7 +8,7 @@ export declare class BaseIgrTsProject implements ProjectTemplate {
8
8
  dependencies: string[];
9
9
  hasExtraConfiguration: boolean;
10
10
  isHidden: boolean;
11
- delimiters: import("@igniteui/cli-core").TemplateDelimiters;
11
+ delimiters: Required<import("@igniteui/cli-core").TemplateDelimiters>;
12
12
  get templatePaths(): string[];
13
13
  generateConfig(name: string, theme: string, ...options: any[]): {
14
14
  [key: string]: any;
@@ -42,6 +42,7 @@ class BaseIgrTsProject {
42
42
  this.description = "Ignite UI CLI project for React";
43
43
  this.framework = "react";
44
44
  this.projectType = "tsx";
45
+ this.dependencies = [];
45
46
  this.hasExtraConfiguration = false;
46
47
  this.isHidden = true;
47
48
  this.delimiters = cli_core_1.defaultDelimiters;
@@ -8,7 +8,7 @@ export declare class IgrTsAiConfigPartial implements ProjectTemplate {
8
8
  dependencies: string[];
9
9
  hasExtraConfiguration: boolean;
10
10
  isHidden: boolean;
11
- delimiters: import("@igniteui/cli-core").TemplateDelimiters;
11
+ delimiters: Required<import("@igniteui/cli-core").TemplateDelimiters>;
12
12
  get templatePaths(): string[];
13
13
  generateConfig(_name: string, _theme: string, ..._options: any[]): {
14
14
  [key: string]: any;
@@ -33,7 +33,7 @@ class WebComponentsTypeScriptFileUpdate extends cli_core_1.TypeScriptFileUpdate
33
33
  }
34
34
  //#region Overridden Public API
35
35
  addRoute(route, multiline = false, prepend = true, anchorElement = cli_core_1.WC_ANCHOR_ELEMENT) {
36
- const routeName = cli_core_1.Util.lowerDashed(route.name || route.path);
36
+ const routeName = cli_core_1.Util.lowerDashed((route.name || route.path));
37
37
  this.requestSideEffectsImportForModule(`./${routeName}/${routeName}`);
38
38
  if (!route.lazyload) {
39
39
  this.requestImportForRouteIdentifier(route);
@@ -53,7 +53,7 @@ class WebComponentsTypeScriptFileUpdate extends cli_core_1.TypeScriptFileUpdate
53
53
  },
54
54
  {
55
55
  name: cli_core_1.RouteTarget.Component,
56
- value: ts.factory.createStringLiteral(route.aliasName || route.identifierName, this.formatSettings.singleQuotes),
56
+ value: ts.factory.createStringLiteral((route.aliasName || route.identifierName), this.formatSettings.singleQuotes),
57
57
  },
58
58
  {
59
59
  name: cli_core_1.RouteTarget.Name,
@@ -0,0 +1,9 @@
1
+ import { describe, it, expect } from 'vitest';
2
+ import $(ClassName) from './$(filePrefix).js';
3
+
4
+ describe('IgcCategoryChartComponent', () => {
5
+ it('<app-$(filePrefix)> is an instance of $(ClassName)', async () => {
6
+ const element = document.createElement('app-$(filePrefix)');
7
+ expect(element).to.be.instanceOf($(ClassName));
8
+ });
9
+ });
@@ -0,0 +1,37 @@
1
+ import { html, css, LitElement } from 'lit';
2
+ import { customElement } from 'lit/decorators.js';
3
+ import { IgcCategoryChartComponent, IgcCategoryChartModule } from 'igniteui-webcomponents-charts';
4
+ import { ModuleManager } from 'igniteui-webcomponents-core';
5
+
6
+ ModuleManager.register(IgcCategoryChartModule);
7
+
8
+ const data = [
9
+ { CountryName: 'China', Pop1995: 1216, Pop2005: 1297, Pop2015: 1361, Pop2025: 1394 },
10
+ { CountryName: 'India', Pop1995: 920, Pop2005: 1090, Pop2015: 1251, Pop2025: 1396 },
11
+ { CountryName: 'United States', Pop1995: 266, Pop2005: 295, Pop2015: 322, Pop2025: 351 },
12
+ { CountryName: 'Indonesia', Pop1995: 197, Pop2005: 229, Pop2015: 256, Pop2025: 277 },
13
+ { CountryName: 'Brazil', Pop1995: 161, Pop2005: 186, Pop2015: 204, Pop2025: 218 }
14
+ ];
15
+
16
+ @customElement('app-$(filePrefix)')
17
+ export default class $(ClassName) extends LitElement {
18
+ static styles = css`
19
+ :host {
20
+ display: block;
21
+ width: 100%;
22
+ }
23
+ `;
24
+
25
+ render() {
26
+ return html`
27
+ <igc-category-chart id="chart" width="100%" height="500px"
28
+ chart-title="Population per Country (millions)">
29
+ </igc-category-chart>
30
+ `;
31
+ }
32
+
33
+ firstUpdated() {
34
+ const chart = this.shadowRoot?.getElementById('chart') as IgcCategoryChartComponent;
35
+ chart.dataSource = data;
36
+ }
37
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const IgniteUIForWebComponentsTemplate_1 = require("../../../../../lib/templates/IgniteUIForWebComponentsTemplate");
4
+ const constants_1 = require("../../constants");
5
+ class IgcCategoryChartTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebComponentsTemplate {
6
+ constructor() {
7
+ super(__dirname);
8
+ this.components = ["CategoryChart"];
9
+ this.controlGroup = "Charts";
10
+ this.listInComponentTemplates = true;
11
+ this.id = "category-chart";
12
+ this.projectType = "igc-ts";
13
+ this.name = "Category Chart";
14
+ this.description = "makes visualizing category data easy";
15
+ this.packages = [
16
+ constants_1.IGNITEUI_WEBCOMPONENTS_CORE_PACKAGE,
17
+ constants_1.IGNITEUI_WEBCOMPONENTS_CHARTS_PACKAGE
18
+ ];
19
+ }
20
+ }
21
+ module.exports = new IgcCategoryChartTemplate();
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const cli_core_1 = require("@igniteui/cli-core");
4
+ class IgcCategoryChartComponent extends cli_core_1.BaseComponent {
5
+ constructor() {
6
+ super(__dirname);
7
+ this.name = "Category Chart";
8
+ this.group = "Charts";
9
+ this.description = "makes visualizing category data easy";
10
+ }
11
+ }
12
+ module.exports = new IgcCategoryChartComponent();
@@ -1,6 +1,6 @@
1
1
  export declare const IGNITEUI_WEBCOMPONENTS_CORE_PACKAGE = "igniteui-webcomponents-core@~7.1.0";
2
2
  export declare const IGNITEUI_WEBCOMPONENTS_CHARTS_PACKAGE = "igniteui-webcomponents-charts@~7.1.0";
3
3
  export declare const IGNITEUI_WEBCOMPONENTS_GAUGES_PACKAGE = "igniteui-webcomponents-gauges@~7.1.0";
4
- export declare const IGNITEUI_WEBCOMPONENTS_GRIDS_PACKAGE = "igniteui-webcomponents-grids@~7.2.1";
4
+ export declare const IGNITEUI_WEBCOMPONENTS_GRIDS_PACKAGE = "igniteui-webcomponents-grids@~7.3.2";
5
5
  export declare const IGNITEUI_WEBCOMPONENTS_INPUTS_PACKAGE = "igniteui-webcomponents-inputs@~7.1.0";
6
6
  export declare const IGNITEUI_WEBCOMPONENTS_LAYOUTS_PACKAGE = "igniteui-webcomponents-layouts@~7.1.0";
@@ -4,6 +4,6 @@ exports.IGNITEUI_WEBCOMPONENTS_LAYOUTS_PACKAGE = exports.IGNITEUI_WEBCOMPONENTS_
4
4
  exports.IGNITEUI_WEBCOMPONENTS_CORE_PACKAGE = "igniteui-webcomponents-core@~7.1.0";
5
5
  exports.IGNITEUI_WEBCOMPONENTS_CHARTS_PACKAGE = "igniteui-webcomponents-charts@~7.1.0";
6
6
  exports.IGNITEUI_WEBCOMPONENTS_GAUGES_PACKAGE = "igniteui-webcomponents-gauges@~7.1.0";
7
- exports.IGNITEUI_WEBCOMPONENTS_GRIDS_PACKAGE = "igniteui-webcomponents-grids@~7.2.1";
7
+ exports.IGNITEUI_WEBCOMPONENTS_GRIDS_PACKAGE = "igniteui-webcomponents-grids@~7.3.2";
8
8
  exports.IGNITEUI_WEBCOMPONENTS_INPUTS_PACKAGE = "igniteui-webcomponents-inputs@~7.1.0";
9
9
  exports.IGNITEUI_WEBCOMPONENTS_LAYOUTS_PACKAGE = "igniteui-webcomponents-layouts@~7.1.0";
@@ -0,0 +1,9 @@
1
+ import { describe, it, expect } from 'vitest';
2
+ import $(ClassName) from './$(filePrefix).js';
3
+
4
+ describe('IgcDoughnutChartComponent', () => {
5
+ it('<app-$(filePrefix)> is an instance of $(ClassName)', async () => {
6
+ const element = document.createElement('app-$(filePrefix)');
7
+ expect(element).to.be.instanceOf($(ClassName));
8
+ });
9
+ });
@@ -0,0 +1,52 @@
1
+ import { html, css, LitElement } from 'lit';
2
+ import { customElement } from 'lit/decorators.js';
3
+ import {
4
+ IgcDoughnutChartModule,
5
+ IgcItemLegendComponent,
6
+ IgcItemLegendModule,
7
+ IgcRingSeriesComponent,
8
+ IgcRingSeriesModule,
9
+ } from 'igniteui-webcomponents-charts';
10
+ import { ModuleManager } from 'igniteui-webcomponents-core';
11
+
12
+ ModuleManager.register(
13
+ IgcDoughnutChartModule,
14
+ IgcItemLegendModule,
15
+ IgcRingSeriesModule,
16
+ );
17
+
18
+ const data = [
19
+ { MarketShare: 30, Company: 'Google' },
20
+ { MarketShare: 15, Company: 'Microsoft' },
21
+ { MarketShare: 30, Company: 'Apple' },
22
+ { MarketShare: 15, Company: 'Samsung' },
23
+ { MarketShare: 10, Company: 'Other' }
24
+ ];
25
+
26
+ @customElement('app-$(filePrefix)')
27
+ export default class $(ClassName) extends LitElement {
28
+ static styles = css`
29
+ :host {
30
+ display: block;
31
+ }
32
+ `;
33
+
34
+ render() {
35
+ return html`
36
+ <igc-item-legend id="legend" orientation="Horizontal"></igc-item-legend>
37
+ <igc-doughnut-chart width="400px" height="400px">
38
+ <igc-ring-series id="series"
39
+ name="ring1"
40
+ value-member-path="MarketShare"
41
+ label-member-path="Company">
42
+ </igc-ring-series>
43
+ </igc-doughnut-chart>
44
+ `;
45
+ }
46
+
47
+ firstUpdated() {
48
+ const series = this.shadowRoot?.getElementById('series') as IgcRingSeriesComponent;
49
+ series.dataSource = data;
50
+ series.legend = this.shadowRoot?.getElementById('legend') as IgcItemLegendComponent;
51
+ }
52
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const IgniteUIForWebComponentsTemplate_1 = require("../../../../../lib/templates/IgniteUIForWebComponentsTemplate");
4
+ const constants_1 = require("../../constants");
5
+ class IgcDoughnutChartTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebComponentsTemplate {
6
+ constructor() {
7
+ super(__dirname);
8
+ this.components = ["DoughnutChart"];
9
+ this.controlGroup = "Charts";
10
+ this.listInComponentTemplates = true;
11
+ this.id = "doughnut-chart";
12
+ this.projectType = "igc-ts";
13
+ this.name = "Doughnut Chart";
14
+ this.description = "proportionally illustrate the occurrences of variables";
15
+ this.packages = [
16
+ constants_1.IGNITEUI_WEBCOMPONENTS_CORE_PACKAGE,
17
+ constants_1.IGNITEUI_WEBCOMPONENTS_CHARTS_PACKAGE
18
+ ];
19
+ }
20
+ }
21
+ module.exports = new IgcDoughnutChartTemplate();
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const cli_core_1 = require("@igniteui/cli-core");
4
+ class IgcDoughnutChartComponent extends cli_core_1.BaseComponent {
5
+ constructor() {
6
+ super(__dirname);
7
+ this.name = "Doughnut Chart";
8
+ this.group = "Charts";
9
+ this.description = "proportionally illustrate the occurrences of variables";
10
+ }
11
+ }
12
+ module.exports = new IgcDoughnutChartComponent();
@@ -8,12 +8,14 @@ export declare class BaseIgcProject implements ProjectTemplate {
8
8
  projectType: string;
9
9
  hasExtraConfiguration: boolean;
10
10
  isHidden: boolean;
11
- delimiters: import("@igniteui/cli-core").TemplateDelimiters;
11
+ delimiters: Required<import("@igniteui/cli-core").TemplateDelimiters>;
12
12
  get templatePaths(): string[];
13
13
  installModules(): void;
14
14
  upgradeIgniteUIPackages(projectPath: string, packagePath: string): Promise<boolean>;
15
15
  getExtraConfiguration(): ControlExtraConfiguration[];
16
- setExtraConfiguration(extraConfigKeys: any[]): void;
16
+ setExtraConfiguration(extraConfigKeys: {
17
+ [key: string]: unknown;
18
+ }): void;
17
19
  generateConfig(name: string, theme: string, ...options: any[]): {
18
20
  [key: string]: any;
19
21
  };
@@ -19,7 +19,7 @@
19
19
  "igniteui-webcomponents-charts": "~7.1.0",
20
20
  "igniteui-webcomponents-core": "~7.1.0",
21
21
  "igniteui-webcomponents-gauges": "~7.1.0",
22
- "igniteui-webcomponents-grids": "~7.2.1",
22
+ "igniteui-webcomponents-grids": "~7.3.2",
23
23
  "igniteui-webcomponents-inputs": "~7.1.0",
24
24
  "igniteui-webcomponents-layouts": "~7.1.0",
25
25
  "lit": "^3.3.2"
@@ -1,27 +1,27 @@
1
1
  # LLM Agent Skills for End Users
2
2
 
3
- This directory contains skills for GitHub Copilot and other LLM agents to help developers use Ignite UI Web Components effectively in their applications.
3
+ This directory contains skills for GitHub Copilot and other LLM agents. The skills help developers use Ignite UI Web Components in their applications.
4
4
 
5
5
  ## What are Skills?
6
6
 
7
- Skills are structured instructions that help AI agents understand and execute common tasks consistently. Each skill is a self-contained guide that provides step-by-step instructions, code examples, and best practices.
7
+ Skills are structured instructions that help AI agents understand and do common tasks consistently. Each skill is a self-contained guide that gives step-by-step instructions, code examples, and best practices.
8
8
 
9
9
  ## Available Skills
10
10
 
11
11
  | Skill | Description | Use When |
12
12
  | ----------------------------------------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------- |
13
- | [igniteui-wc-choose-components](./igniteui-wc-choose-components/SKILL.md) | Identify the right components for a UI pattern and navigate to official docs/demos | Deciding which components to use |
14
- | [igniteui-wc-integrate-with-framework](./igniteui-wc-integrate-with-framework/SKILL.md) | Integrate components into React, Angular, Vue, or vanilla JS applications | Setting up components in your project |
15
- | [igniteui-wc-customize-component-theme](./igniteui-wc-customize-component-theme/SKILL.md) | Customize styling using CSS custom properties, parts, and theming system | Applying custom brand colors/styles |
16
- | [igniteui-wc-generate-from-image-design](./igniteui-wc-generate-from-image-design/SKILL.md) | Implement a view from a screenshot or mockup using Ignite UI Web Components | Converting a design image into UI |
17
- | [igniteui-wc-figma-to-app](./igniteui-wc-figma-to-app/SKILL.md) | Translate Figma screens from any UI kit (Indigo.Design, third-party, or plain frames) into a working app | Implementing a design from a Figma file |
18
- | [igniteui-wc-optimize-bundle-size](./igniteui-wc-optimize-bundle-size/SKILL.md) | Reduce bundle size by importing only needed components and lazy loading | Optimizing production performance |
19
- | [igniteui-wc-migrate-grid-lite-to-premium](./igniteui-wc-migrate-grid-lite-to-premium/SKILL.md) | Migrate from Grid Lite to the premium Data Grid | Adopting enterprise grid features |
20
- | [igniteui-wc-grids](./igniteui-wc-grids/SKILL.md) | Set up a grid: package choice, theming, Shadow DOM, layout, sorting/filtering | Adding or debugging a grid in an app |
13
+ | [igniteui-wc-choose-components](./igniteui-wc-choose-components/SKILL.md) | Identify the correct components for a UI pattern and find the official docs/demos | Deciding which components to use |
14
+ | [igniteui-wc-integrate-with-framework](./igniteui-wc-integrate-with-framework/SKILL.md) | Integrate components into React, Angular, Vue, or vanilla JS applications | Adding components to your project |
15
+ | [igniteui-wc-customize-component-theme](./igniteui-wc-customize-component-theme/SKILL.md) | Customize styles with CSS custom properties, parts, and the theming system | Applying custom brand colors/styles |
16
+ | [igniteui-wc-generate-from-image-design](./igniteui-wc-generate-from-image-design/SKILL.md) | Implement a view from a screenshot or mockup with Ignite UI Web Components | Converting a design image into UI |
17
+ | [igniteui-wc-figma-to-app](./igniteui-wc-figma-to-app/SKILL.md) | Convert Figma screens from any UI kit (Indigo.Design, third-party, or plain frames) into a working app | Implementing a design from a Figma file |
18
+ | [igniteui-wc-optimize-bundle-size](./igniteui-wc-optimize-bundle-size/SKILL.md) | Import only the necessary components and use lazy loading to reduce bundle size | Optimizing production performance |
19
+ | [igniteui-wc-migrate-grid-lite-to-premium](./igniteui-wc-migrate-grid-lite-to-premium/SKILL.md) | Migrate from Grid Lite to the premium Data Grid | Using enterprise grid features |
20
+ | [igniteui-wc-grids](./igniteui-wc-grids/SKILL.md) | Configure a grid: package choice, theming, Shadow DOM, layout, sorting/filtering | Adding or debugging a grid in an app |
21
21
 
22
22
  ## How to Use
23
23
 
24
- When working with an AI agent like GitHub Copilot, reference skills by name or ask questions naturally:
24
+ With an AI agent such as GitHub Copilot, ask questions in plain language or refer to skills by name:
25
25
 
26
26
  ### Natural Questions
27
27
  - "How do I integrate igniteui-webcomponents with React?"
@@ -44,7 +44,7 @@ Each skill contains:
44
44
 
45
45
  - **Example Usage**: Common questions or scenarios
46
46
  - **When to Use**: Situations where the skill applies
47
- - **Related Skills**: Other relevant skills to explore
47
+ - **Related Skills**: Other relevant skills
48
48
  - **Step-by-Step Instructions**: Detailed guidance with code examples
49
49
  - **Framework-Specific Examples**: React, Angular, Vue, and vanilla JS patterns
50
50
  - **Common Issues & Solutions**: Troubleshooting guidance
@@ -53,9 +53,9 @@ Each skill contains:
53
53
 
54
54
  ## Contributing
55
55
 
56
- If you identify gaps in the skills or have suggestions for improvements:
56
+ If you find gaps in the skills or have suggestions for improvements:
57
57
 
58
- 1. [Open an issue](https://github.com/IgniteUI/igniteui-webcomponents/issues) describing the improvement
58
+ 1. [Open an issue](https://github.com/IgniteUI/igniteui-webcomponents/issues) that describes the improvement
59
59
  2. Submit a pull request with the proposed changes
60
60
 
61
61
  ## Additional Resources
@@ -67,4 +67,4 @@ If you identify gaps in the skills or have suggestions for improvements:
67
67
 
68
68
  ## License
69
69
 
70
- These skills are provided under the same license as the Ignite UI Web Components library. See [LICENSE](../LICENSE) for details.
70
+ These skills use the same license as the Ignite UI Web Components library. See [LICENSE](../LICENSE) for details.