igniteui-cli 15.2.2-alpha.2 → 15.2.2
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/lib/PromptSession.js +1 -1
- package/lib/commands/ai-config.d.ts +9 -2
- package/lib/commands/ai-config.js +49 -14
- package/lib/commands/new.js +4 -1
- package/package.json +4 -4
- package/templates/blazor/igb/projects/ai-config/files/skills/AGENTS.md +4 -3
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/SKILL.md +3 -3
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/charts.md +3 -2
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/data-display.md +2 -1
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/references/component-mapping.md +10 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/references/gotchas.md +45 -6
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/SKILL.md +3 -2
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-theming/SKILL.md +3 -2
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-theming/references/common-patterns.md +8 -0
- package/templates/react/igr-ts/accordion/default/index.js +2 -1
- package/templates/react/igr-ts/avatar/default/index.js +2 -1
- package/templates/react/igr-ts/badge/default/index.js +2 -1
- package/templates/react/igr-ts/banner/default/index.js +2 -1
- package/templates/react/igr-ts/button/default/index.js +2 -1
- package/templates/react/igr-ts/button-group/default/index.js +2 -1
- package/templates/react/igr-ts/calendar/default/index.js +2 -1
- package/templates/react/igr-ts/card/default/index.js +2 -1
- package/templates/react/igr-ts/checkbox/default/index.js +2 -1
- package/templates/react/igr-ts/chip/default/index.js +2 -1
- package/templates/react/igr-ts/circular-progress/default/index.js +2 -1
- package/templates/react/igr-ts/constants.d.ts +2 -0
- package/templates/react/igr-ts/constants.js +5 -0
- package/templates/react/igr-ts/custom-templates/subscription-form/index.js +2 -1
- package/templates/react/igr-ts/date-picker/default/index.js +2 -1
- package/templates/react/igr-ts/divider/default/index.js +2 -1
- package/templates/react/igr-ts/dropdown/default/index.js +2 -1
- package/templates/react/igr-ts/expansion-panel/default/index.js +2 -1
- package/templates/react/igr-ts/form/default/index.js +2 -1
- package/templates/react/igr-ts/grid/basic/index.js +2 -1
- package/templates/react/igr-ts/icon/default/index.js +2 -1
- package/templates/react/igr-ts/icon-button/default/index.js +2 -1
- package/templates/react/igr-ts/input/default/index.js +2 -1
- package/templates/react/igr-ts/linear-progress/default/index.js +2 -1
- package/templates/react/igr-ts/list/default/index.js +2 -1
- package/templates/react/igr-ts/navbar/default/index.js +2 -1
- package/templates/react/igr-ts/projects/_base/files/package.json +1 -1
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/CHARTS-GRIDS.md +1 -1
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/COMPONENT-CATALOGUE.md +6 -6
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/EVENT-HANDLING.md +1 -1
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/JSX-PATTERNS.md +4 -4
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/REFS-FORMS.md +6 -6
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-generate-from-image-design/reference/component-mapping.md +5 -5
- package/templates/react/igr-ts/radio-group/default/index.js +2 -1
- package/templates/react/igr-ts/rating/default/index.js +2 -1
- package/templates/react/igr-ts/ripple/default/index.js +2 -1
- package/templates/react/igr-ts/slider/default/index.js +2 -1
- package/templates/react/igr-ts/switch/default/index.js +2 -1
- package/templates/react/igr-ts/tabs/default/index.js +2 -1
- package/templates/react/igr-ts/text-area/default/index.js +2 -1
- package/templates/react/igr-ts/tree/default/index.js +2 -1
- package/templates/webcomponents/igc-ts/grid/default/index.js +1 -1
- package/templates/webcomponents/igc-ts/grid/grid-editing/index.js +1 -1
- package/templates/webcomponents/igc-ts/grid/grid-summaries/index.js +1 -1
- package/templates/webcomponents/igc-ts/projects/_base/files/package.json +1 -1
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/package.json +2 -2
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-choose-components/SKILL.md +3 -6
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-generate-from-image-design/references/component-mapping.md +4 -2
- package/templates/webcomponents/igc-ts/tree/default/index.js +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IGNITEUI_REACT_GRIDS_PACKAGE = exports.IGNITEUI_REACT_PACKAGE = void 0;
|
|
4
|
+
exports.IGNITEUI_REACT_PACKAGE = "igniteui-react@~19.7.0";
|
|
5
|
+
exports.IGNITEUI_REACT_GRIDS_PACKAGE = "igniteui-react-grids@~19.7.0";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrSubscriptionFormTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -10,7 +11,7 @@ class IgrSubscriptionFormTemplate extends IgniteUIForReactTemplate_1.IgniteUIFor
|
|
|
10
11
|
this.projectType = "igr-ts";
|
|
11
12
|
this.name = "Subscription Form";
|
|
12
13
|
this.description = "Subscription form with inputs, buttons and a checkbox inside";
|
|
13
|
-
this.packages = [
|
|
14
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
module.exports = new IgrSubscriptionFormTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrDatePickerTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrDatePickerTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactT
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Date Picker";
|
|
13
14
|
this.description = "basic IgrDatePicker";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrDatePickerTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrDividerTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrDividerTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemp
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Divider";
|
|
13
14
|
this.description = "basic IgrDivider";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrDividerTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrDropdownTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrDropdownTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTem
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Dropdown";
|
|
13
14
|
this.description = "basic IgrDropdown";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrDropdownTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrExpansionPanelTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrExpansionPanelTemplate extends IgniteUIForReactTemplate_1.IgniteUIForRe
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Expansion Panel";
|
|
13
14
|
this.description = "basic IgrExpansionPanel";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrExpansionPanelTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrFormTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrFormTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplat
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Form";
|
|
13
14
|
this.description = "basic IgrForm";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrFormTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class GridTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
/**
|
|
6
7
|
*
|
|
@@ -14,7 +15,7 @@ class GridTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
|
14
15
|
this.projectType = "igr-ts";
|
|
15
16
|
this.components = ["Grid"];
|
|
16
17
|
this.controlGroup = "Data Grids";
|
|
17
|
-
this.packages = [
|
|
18
|
+
this.packages = [constants_1.IGNITEUI_REACT_GRIDS_PACKAGE];
|
|
18
19
|
this.hasExtraConfiguration = false;
|
|
19
20
|
}
|
|
20
21
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrIconTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrIconTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplat
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Icon";
|
|
13
14
|
this.description = "basic IgrIcon";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrIconTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrIconButtonTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrIconButtonTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactT
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Icon button";
|
|
13
14
|
this.description = "basic IgrIconButton";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrIconButtonTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrInputTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrInputTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTempla
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Input";
|
|
13
14
|
this.description = "basic IgrInput";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrInputTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrLinearProgressTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrLinearProgressTemplate extends IgniteUIForReactTemplate_1.IgniteUIForRe
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Linear Progress";
|
|
13
14
|
this.description = "basic IgrLinearProgress";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrLinearProgressTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrListTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrListTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplat
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "List";
|
|
13
14
|
this.description = "basic IgrList";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrListTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrNavbarTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrNavbarTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTempl
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Navbar";
|
|
13
14
|
this.description = "basic IgrNavbar";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrNavbarTemplate();
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@testing-library/react": "^16.3.0",
|
|
16
16
|
"element-internals-polyfill": "^3.0.2",
|
|
17
17
|
"functions-have-names": "^1.2.3",
|
|
18
|
-
"igniteui-react": "~19.
|
|
18
|
+
"igniteui-react": "~19.7.0",
|
|
19
19
|
"react": "^19.2.4",
|
|
20
20
|
"react-app-polyfill": "^3.0.0",
|
|
21
21
|
"react-dom": "^19.2.4",
|
|
@@ -374,7 +374,7 @@ const currencyTemplate = (ctx: IgrCellContext<Order>) => (
|
|
|
374
374
|
);
|
|
375
375
|
|
|
376
376
|
const dateTemplate = (ctx: IgrCellContext<Order>) => (
|
|
377
|
-
<span
|
|
377
|
+
<span>{(ctx.value as Date).toLocaleDateString()}</span>
|
|
378
378
|
);
|
|
379
379
|
|
|
380
380
|
const statusTemplate = (ctx: IgrCellContext<Order>) => {
|
|
@@ -57,7 +57,7 @@ Use the tables below to map a UI need to the right React component. All componen
|
|
|
57
57
|
| UI Need | Component | Import | Docs |
|
|
58
58
|
|---|---|---|---|
|
|
59
59
|
| Full calendar view | `IgrCalendar` | `igniteui-react` | [Docs](https://www.infragistics.com/products/ignite-ui-react/react/components/scheduling/calendar) |
|
|
60
|
-
| Date picker (popup calendar) | `
|
|
60
|
+
| Date picker (popup calendar) | `IgrDatePicker` | `igniteui-react` | [Docs](https://www.infragistics.com/products/ignite-ui-react/react/components/scheduling/date-picker) |
|
|
61
61
|
| Date range selection | `IgrDateRangePicker` | `igniteui-react` | [Docs](https://www.infragistics.com/products/ignite-ui-react/react/components/scheduling/date-range-picker) |
|
|
62
62
|
|
|
63
63
|
### Notifications & Feedback
|
|
@@ -109,7 +109,7 @@ Use the tables below to map a UI need to the right React component. All componen
|
|
|
109
109
|
| Simple scrollable list | `IgrList` | `igniteui-react` | [Docs](https://www.infragistics.com/products/ignite-ui-react/react/components/grids/list) |
|
|
110
110
|
| Hierarchical / tree data | `IgrTree` | `igniteui-react` | [Docs](https://www.infragistics.com/products/ignite-ui-react/react/components/grids/tree) |
|
|
111
111
|
| Tabular data (MIT, lightweight) | `IgrGridLite` | `igniteui-react/grid-lite` (requires both `igniteui-react` and `igniteui-grid-lite` packages) | [Docs](https://www.infragistics.com/products/ignite-ui-react/react/components/grid-lite/overview) |
|
|
112
|
-
| Full-featured tabular data grid | `
|
|
112
|
+
| Full-featured tabular data grid | `IgrGrid` | `igniteui-react-grids` | [Docs](https://www.infragistics.com/products/ignite-ui-react/react/components/grids/grid/overview) |
|
|
113
113
|
| Nested / master-detail grid | `IgrHierarchicalGrid` | `igniteui-react-grids` | [Docs](https://www.infragistics.com/products/ignite-ui-react/react/components/grids/hierarchical-grid/overview) |
|
|
114
114
|
| Parent-child relational tree grid | `IgrTreeGrid` | `igniteui-react-grids` | [Docs](https://www.infragistics.com/products/ignite-ui-react/react/components/grids/tree-grid/overview) |
|
|
115
115
|
| Cross-tabulation / BI pivot table | `IgrPivotGrid` | `igniteui-react-grids` | [Docs](https://www.infragistics.com/products/ignite-ui-react/react/components/grids/pivot-grid/overview) |
|
|
@@ -156,8 +156,8 @@ Use the **Component Catalogue** tables above to find matching components. When i
|
|
|
156
156
|
| Simple static list | `IgrList` | Data Grid |
|
|
157
157
|
| Basic dropdown | `IgrSelect` | `IgrCombo` |
|
|
158
158
|
| Searchable or multi-select dropdown | `IgrCombo` | `IgrSelect` |
|
|
159
|
-
| Tabular data with basic display | `IgrGridLite` (grid-lite) | `
|
|
160
|
-
| Tabular data, advanced features needed | `
|
|
159
|
+
| Tabular data with basic display | `IgrGridLite` (grid-lite) | `IgrGrid` (commercial) |
|
|
160
|
+
| Tabular data, advanced features needed | `IgrGrid` | `IgrGridLite` (grid-lite) |
|
|
161
161
|
| Single dismissible message | `IgrToast` | `IgrSnackbar` |
|
|
162
162
|
| Message requiring user action | `IgrSnackbar` | `IgrToast` |
|
|
163
163
|
| Collapsible single section | `IgrExpansionPanel` | `IgrAccordion` |
|
|
@@ -249,7 +249,7 @@ function Dashboard() {
|
|
|
249
249
|
|
|
250
250
|
- `IgrInput` — search bar
|
|
251
251
|
- `IgrCombo` — filter dropdowns
|
|
252
|
-
- `IgrGridLite` (grid-lite) or `
|
|
252
|
+
- `IgrGridLite` (grid-lite) or `IgrGrid` — tabular data
|
|
253
253
|
- `IgrButton` / `IgrIconButton` — actions
|
|
254
254
|
- `IgrDialog` — confirm delete modal
|
|
255
255
|
- `IgrBadge` — status indicators
|
|
@@ -269,7 +269,7 @@ function Dashboard() {
|
|
|
269
269
|
- `IgrNavDrawer` — side navigation
|
|
270
270
|
- `IgrCard` — KPI summary cards
|
|
271
271
|
- `IgrTabs` or `IgrTileManager` — section layout
|
|
272
|
-
- `
|
|
272
|
+
- `IgrGrid` or `IgrPivotGrid` — detailed data tables
|
|
273
273
|
- `IgrCategoryChart` — charts (from `igniteui-react-charts`)
|
|
274
274
|
- `IgrLinearProgress` / `IgrCircularProgress` — loading indicators
|
|
275
275
|
|
|
@@ -50,7 +50,7 @@ function MyForm() {
|
|
|
50
50
|
| `IgrDialog` | `onClosed` | Dialog has closed |
|
|
51
51
|
| `IgrTabs` | `onChange` | Active tab changes |
|
|
52
52
|
| `IgrCalendar` | `onChange` | Selected date changes |
|
|
53
|
-
| `
|
|
53
|
+
| `IgrDatePicker` | `onChange` | Selected date changes |
|
|
54
54
|
|
|
55
55
|
## TypeScript Event Types
|
|
56
56
|
|
|
@@ -51,6 +51,7 @@ Ignite UI components use the web component **slot** mechanism under the hood. In
|
|
|
51
51
|
Some components like the Data Grid support **render props** for custom cell rendering:
|
|
52
52
|
|
|
53
53
|
```tsx
|
|
54
|
+
import { IgrBadge } from 'igniteui-react';
|
|
54
55
|
import { IgrGrid, IgrColumn } from 'igniteui-react-grids';
|
|
55
56
|
|
|
56
57
|
function UserGrid({ users }: { users: User[] }) {
|
|
@@ -152,10 +153,9 @@ function MainLayout() {
|
|
|
152
153
|
const location = useLocation();
|
|
153
154
|
|
|
154
155
|
const handleTabChange = (e: CustomEvent) => {
|
|
155
|
-
const
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
156
|
+
const selectedLabel = (e.detail as any).label as string;
|
|
157
|
+
const tab = tabs.find(t => t.label === selectedLabel);
|
|
158
|
+
if (tab) navigate(tab.path);
|
|
159
159
|
};
|
|
160
160
|
|
|
161
161
|
return (
|
|
@@ -57,7 +57,7 @@ import { IgrInput, IgrSelect, IgrSelectItem, IgrButton } from 'igniteui-react';
|
|
|
57
57
|
function SimpleForm() {
|
|
58
58
|
const handleSubmit = (e: React.SubmitEvent<HTMLFormElement>) => {
|
|
59
59
|
// e.preventDefault(); // optionally prevent default submit for custom handling
|
|
60
|
-
const formData = new FormData(e.
|
|
60
|
+
const formData = new FormData(e.currentTarget);
|
|
61
61
|
console.log(formData.get('name')); // input value
|
|
62
62
|
console.log(formData.get('role')); // selected option value
|
|
63
63
|
};
|
|
@@ -84,7 +84,7 @@ Wire up Ignite UI form components with React state for controlled behavior:
|
|
|
84
84
|
|
|
85
85
|
```tsx
|
|
86
86
|
import { useState } from 'react';
|
|
87
|
-
import { IgrInput, IgrCheckbox, IgrSelect, IgrSelectItem } from 'igniteui-react';
|
|
87
|
+
import { IgrInput, IgrCheckbox, IgrSelect, IgrSelectItem, IgrCheckboxChangeEventArgsDetail } from 'igniteui-react';
|
|
88
88
|
|
|
89
89
|
function ProfileForm() {
|
|
90
90
|
const [name, setName] = useState('');
|
|
@@ -101,7 +101,7 @@ function ProfileForm() {
|
|
|
101
101
|
|
|
102
102
|
<IgrCheckbox
|
|
103
103
|
checked={newsletter}
|
|
104
|
-
onChange={(e: CustomEvent<
|
|
104
|
+
onChange={(e: CustomEvent<IgrCheckboxChangeEventArgsDetail>) =>
|
|
105
105
|
setNewsletter(e.detail.checked)
|
|
106
106
|
}
|
|
107
107
|
>
|
|
@@ -111,7 +111,7 @@ function ProfileForm() {
|
|
|
111
111
|
<IgrSelect
|
|
112
112
|
label="Role"
|
|
113
113
|
value={role}
|
|
114
|
-
onChange={(e: CustomEvent<
|
|
114
|
+
onChange={(e: CustomEvent<IgrSelectItem>) =>
|
|
115
115
|
setRole(e.detail.value)
|
|
116
116
|
}
|
|
117
117
|
>
|
|
@@ -130,7 +130,7 @@ Ignite UI components are form-associated web components. You can integrate them
|
|
|
130
130
|
|
|
131
131
|
```tsx
|
|
132
132
|
import { useForm, Controller } from 'react-hook-form';
|
|
133
|
-
import { IgrInput, IgrCheckbox, IgrButton } from 'igniteui-react';
|
|
133
|
+
import { IgrInput, IgrCheckbox, IgrButton, IgrCheckboxChangeEventArgsDetail } from 'igniteui-react';
|
|
134
134
|
|
|
135
135
|
interface FormData {
|
|
136
136
|
email: string;
|
|
@@ -172,7 +172,7 @@ function SignUpForm() {
|
|
|
172
172
|
render={({ field }) => (
|
|
173
173
|
<IgrCheckbox
|
|
174
174
|
checked={field.value || false}
|
|
175
|
-
onChange={(e: CustomEvent<
|
|
175
|
+
onChange={(e: CustomEvent<IgrCheckboxChangeEventArgsDetail>) =>
|
|
176
176
|
field.onChange(e.detail.checked)
|
|
177
177
|
}
|
|
178
178
|
>
|
|
@@ -39,10 +39,10 @@ Component decision matrix (by visual pattern, domain-neutral):
|
|
|
39
39
|
| Content blocks / summary cards | `IgrCard` | Use when card chrome helps match the panel shape and structure. Use `IgrCardHeader`, `IgrCardContent`, and `IgrCardActions`, or plain `<div>` containers for flat or highly custom tiles |
|
|
40
40
|
| Any text input field | `IgrInput` | Use when the input anatomy matches the screenshot, including search fields and inline editors. Apply CSS to match the screenshot's border/radius style |
|
|
41
41
|
| Dropdown or select | `IgrSelect` | Use when the screenshot clearly shows select/dropdown behavior |
|
|
42
|
-
| Form fields with labels and inputs | `IgrInput`, `IgrSelect`, `IgrCombo`, `
|
|
42
|
+
| Form fields with labels and inputs | `IgrInput`, `IgrSelect`, `IgrCombo`, `IgrDatePicker`, `IgrDateTimeInput` | Cover text, select, combo, and date/time inputs |
|
|
43
43
|
| Multi-step form / wizard | `IgrStepper` | Use when a sequence of steps is visually present |
|
|
44
44
|
| Filter chips / tag inputs | `IgrChip` | Use when chip anatomy matches status badges, filter tags, or removable labels in the screenshot |
|
|
45
|
-
| Calendar or date picker as a primary view element | `IgrCalendar`, `
|
|
45
|
+
| Calendar or date picker as a primary view element | `IgrCalendar`, `IgrDatePicker`, `IgrDateRangePicker` | Use when scheduling or date selection is the core UI |
|
|
46
46
|
| Top icon/action bar | `IgrNavbar` with `IgrButton` / `IgrIconButton` | Use when a navbar structure matches the screenshot; use plain icon buttons or custom containers when that is a closer fit |
|
|
47
47
|
|
|
48
48
|
## Chart Components
|
|
@@ -51,7 +51,7 @@ Component decision matrix (by visual pattern, domain-neutral):
|
|
|
51
51
|
|---|---|---|
|
|
52
52
|
| Area chart | `IgrCategoryChart` | `chartType`, `markerTypes`, `areaFillOpacity` |
|
|
53
53
|
| Line chart | `IgrCategoryChart` | `chartType`, `markerTypes` |
|
|
54
|
-
| Column
|
|
54
|
+
| Column chart | `IgrCategoryChart` | `chartType`, `markerTypes`, `includedProperties` |
|
|
55
55
|
| Sparkline (mini chart) | `IgrSparkline` or `IgrDataChart` | `displayType`, `valueMemberPath`, sized container |
|
|
56
56
|
| Pie/donut chart | `IgrPieChart` | `valueMemberPath`, `labelMemberPath` |
|
|
57
57
|
| Financial chart | `IgrFinancialChart` | OHLC/candlestick data |
|
|
@@ -68,7 +68,7 @@ Decision rule:
|
|
|
68
68
|
| UI Pattern | Ignite UI Component | Key Properties |
|
|
69
69
|
|---|---|---|
|
|
70
70
|
| Item list | `IgrList` | slot-based row content, selection, and dense list styling |
|
|
71
|
-
| User avatar | `IgrAvatar` | `initials`, `shape`, `
|
|
71
|
+
| User avatar | `IgrAvatar` | `initials`, `shape`, `src` |
|
|
72
72
|
| Status badge | `IgrBadge` | value/children plus token-based styling |
|
|
73
73
|
| Icons | `IgrIcon` | icon name, collection, styling |
|
|
74
74
|
| Progress bar | `IgrLinearProgress` | `value`, `max` |
|
|
@@ -91,7 +91,7 @@ Decision rule:
|
|
|
91
91
|
| Text input | `IgrInput` | `label`, `placeholder`, `type` |
|
|
92
92
|
| Dropdown select | `IgrSelect` | option children, label, value |
|
|
93
93
|
| Searchable multi-select | `IgrCombo` | `data`, `displayKey`, `valueKey` |
|
|
94
|
-
| Date picker | `
|
|
94
|
+
| Date picker | `IgrDatePicker` | value and label props |
|
|
95
95
|
| Date/time input | `IgrDateTimeInput` | value, format options |
|
|
96
96
|
| Toggle switch | `IgrSwitch` | checked state, change events |
|
|
97
97
|
| Checkbox | `IgrCheckbox` | checked state, `indeterminate` |
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrRadioGroupTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrRadioGroupTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactT
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Radio Group";
|
|
13
14
|
this.description = "basic IgrRadioGroup";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrRadioGroupTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrRatingTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrRatingTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTempl
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Rating";
|
|
13
14
|
this.description = "basic IgrRating";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrRatingTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrRippleTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrRippleTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTempl
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Ripple";
|
|
13
14
|
this.description = "basic IgrRipple";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrRippleTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrSliderTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrSliderTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTempl
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Slider";
|
|
13
14
|
this.description = "basic IgrSlider";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrSliderTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrSwitchTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrSwitchTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTempl
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Switch";
|
|
13
14
|
this.description = "basic IgrSwitch";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrSwitchTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrTabsTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrTabsTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplat
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Tabs";
|
|
13
14
|
this.description = "basic IgrTabs";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrTabsTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrTextAreaTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrTextAreaTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTem
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Text area";
|
|
13
14
|
this.description = "basic IgrTextarea";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrTextAreaTemplate();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
4
5
|
class IgrTreeTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrTreeTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplat
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Tree";
|
|
13
14
|
this.description = "basic IgrTree";
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrTreeTemplate();
|
|
@@ -11,7 +11,7 @@ class IgcGridTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebC
|
|
|
11
11
|
this.projectType = "igc-ts";
|
|
12
12
|
this.name = "Grid";
|
|
13
13
|
this.description = "IgcGrid with local data";
|
|
14
|
-
this.packages = ["igniteui-webcomponents-grids@~7.
|
|
14
|
+
this.packages = ["igniteui-webcomponents-grids@~7.1.0"];
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
module.exports = new IgcGridTemplate();
|
|
@@ -11,7 +11,7 @@ class IgcGridEditingTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUI
|
|
|
11
11
|
this.projectType = "igc-ts";
|
|
12
12
|
this.name = "Grid Editing";
|
|
13
13
|
this.description = "IgcGrid with editing enabled";
|
|
14
|
-
this.packages = ["igniteui-webcomponents-grids@~7.
|
|
14
|
+
this.packages = ["igniteui-webcomponents-grids@~7.1.0"];
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
module.exports = new IgcGridEditingTemplate();
|
|
@@ -11,7 +11,7 @@ class IgcGridSummariesTemplate extends IgniteUIForWebComponentsTemplate_1.Ignite
|
|
|
11
11
|
this.projectType = "igc-ts";
|
|
12
12
|
this.name = "Grid Summaries";
|
|
13
13
|
this.description = "IgcGrid with column summaries";
|
|
14
|
-
this.packages = ["igniteui-webcomponents-grids@~7.
|
|
14
|
+
this.packages = ["igniteui-webcomponents-grids@~7.1.0"];
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
module.exports = new IgcGridSummariesTemplate();
|