igniteui-cli 15.7.0 → 15.8.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.
- package/package.json +4 -4
- package/templates/blazor/igb/projects/ai-config/files/skills/AGENTS.md +1 -1
- package/templates/blazor/igb/projects/ai-config/files/skills/README.md +1 -7
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/SKILL.md +8 -6
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/client-scripts.md +100 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/data-display.md +25 -2
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/form-controls.md +20 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/layout.md +15 -1
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/setup.md +13 -3
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/SKILL.md +2 -2
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/references/component-mapping.md +3 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/SKILL.md +2 -2
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-theming/SKILL.md +1 -2
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-theming/references/common-patterns.md +0 -1
- package/templates/react/igr-ts/breadcrumbs/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/breadcrumbs/default/files/src/app/__path__/__filePrefix__.tsx +20 -0
- package/templates/react/igr-ts/breadcrumbs/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/breadcrumbs/default/index.d.ts +1 -0
- package/templates/react/igr-ts/breadcrumbs/default/index.js +18 -0
- package/templates/react/igr-ts/breadcrumbs/index.d.ts +1 -0
- package/templates/react/igr-ts/breadcrumbs/index.js +12 -0
- package/templates/react/igr-ts/bullet-graph/default/index.js +2 -1
- package/templates/react/igr-ts/category-chart/default/index.js +2 -1
- package/templates/react/igr-ts/chat/index.js +1 -1
- package/templates/react/igr-ts/color-picker/color-picker-alpha/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/color-picker/color-picker-alpha/files/src/app/__path__/__filePrefix__.tsx +23 -0
- package/templates/react/igr-ts/color-picker/color-picker-alpha/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/color-picker/color-picker-alpha/index.d.ts +1 -0
- package/templates/react/igr-ts/color-picker/color-picker-alpha/index.js +18 -0
- package/templates/react/igr-ts/color-picker/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/color-picker/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
- package/templates/react/igr-ts/color-picker/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/color-picker/default/index.d.ts +1 -0
- package/templates/react/igr-ts/color-picker/default/index.js +18 -0
- package/templates/react/igr-ts/color-picker/index.d.ts +1 -0
- package/templates/react/igr-ts/color-picker/index.js +12 -0
- package/templates/react/igr-ts/constants.d.ts +4 -2
- package/templates/react/igr-ts/constants.js +5 -3
- package/templates/react/igr-ts/date-time-input/default/index.js +1 -1
- package/templates/react/igr-ts/date-time-input/index.js +1 -1
- package/templates/react/igr-ts/dialog/default/index.js +1 -1
- package/templates/react/igr-ts/dialog/index.js +1 -1
- package/templates/react/igr-ts/divider/default/index.js +1 -1
- package/templates/react/igr-ts/divider/index.js +1 -1
- package/templates/react/igr-ts/doughnut-chart/default/index.js +2 -1
- package/templates/react/igr-ts/financial-chart/default/index.js +2 -1
- package/templates/react/igr-ts/grid/basic/index.js +1 -1
- package/templates/react/igr-ts/groups.json +7 -8
- package/templates/react/igr-ts/hierarchical-grid/basic/index.js +1 -1
- package/templates/react/igr-ts/highlight/default/index.js +1 -1
- package/templates/react/igr-ts/highlight/index.js +1 -1
- package/templates/react/igr-ts/linear-gauge/default/index.js +2 -1
- package/templates/react/igr-ts/pie-chart/default/index.js +2 -1
- package/templates/react/igr-ts/pivot-grid/basic/index.js +1 -1
- package/templates/react/igr-ts/projects/_base/files/package.json +1 -1
- package/templates/react/igr-ts/projects/ai-config/files/skills/README.md +7 -7
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/SKILL.md +10 -9
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/{reference → references}/DATAVIZ.md +1 -1
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-customize-theme/SKILL.md +4 -3
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-generate-from-image-design/SKILL.md +5 -4
- package/templates/react/igr-ts/projects/ai-config/files/skills/{grid-lite-to-igr-grid-migration → igniteui-react-migrate-grid-lite-to-premium}/SKILL.md +3 -2
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-optimize-bundle-size/SKILL.md +4 -3
- package/templates/react/igr-ts/qr-code/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/qr-code/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/qr-code/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/qr-code/default/index.d.ts +1 -0
- package/templates/react/igr-ts/qr-code/default/index.js +18 -0
- package/templates/react/igr-ts/qr-code/index.d.ts +1 -0
- package/templates/react/igr-ts/qr-code/index.js +12 -0
- package/templates/react/igr-ts/radial-gauge/default/index.js +2 -2
- package/templates/react/igr-ts/tree-grid/basic/index.js +1 -1
- package/templates/react/igr-ts/virtual-scroll/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/virtual-scroll/default/files/src/app/__path__/__filePrefix__.tsx +34 -0
- package/templates/react/igr-ts/virtual-scroll/default/files/src/app/__path__/style.module.css +16 -0
- package/templates/react/igr-ts/virtual-scroll/default/index.d.ts +1 -0
- package/templates/react/igr-ts/virtual-scroll/default/index.js +18 -0
- package/templates/react/igr-ts/virtual-scroll/index.d.ts +1 -0
- package/templates/react/igr-ts/virtual-scroll/index.js +12 -0
- package/templates/webcomponents/igc-ts/breadcrumb/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/breadcrumb/default/files/src/app/__path__/__filePrefix__.ts +36 -0
- package/templates/webcomponents/igc-ts/breadcrumb/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/breadcrumb/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/breadcrumb/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/breadcrumb/index.js +15 -0
- package/templates/webcomponents/igc-ts/divider/default/index.js +1 -1
- package/templates/webcomponents/igc-ts/divider/index.js +1 -1
- package/templates/webcomponents/igc-ts/groups.json +9 -10
- package/templates/webcomponents/igc-ts/highlight/default/index.js +1 -1
- package/templates/webcomponents/igc-ts/highlight/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 +1 -1
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/README.md +4 -3
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-choose-components/SKILL.md +2 -1
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-customize-component-theme/SKILL.md +2 -1
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/SKILL.md +328 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/asset-extraction.md +343 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/design-provenance.md +199 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/design-token-bridge.md +489 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/figma-component-map.md +370 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/figma-exploration.md +222 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/mcp-setup.md +363 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/project-setup.md +105 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/theme-generation.md +180 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/validation-patterns.md +370 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-generate-from-image-design/SKILL.md +2 -1
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-generate-from-image-design/references/gotchas.md +3 -3
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-grids/SKILL.md +133 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-integrate-with-framework/SKILL.md +2 -1
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-migrate-grid-lite-to-premium/SKILL.md +24 -6
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-optimize-bundle-size/SKILL.md +2 -1
- package/templates/webcomponents/igc-ts/virtual-scroll/default/index.js +1 -1
- package/templates/webcomponents/igc-ts/virtual-scroll/index.js +1 -1
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-lite-testing/SKILL.md +0 -86
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-lite-testing/references/interop-contracts.md +0 -220
- /package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/{reference → references}/COMPONENTS.md +0 -0
- /package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/{reference → references}/MCP.md +0 -0
- /package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/{reference → references}/TROUBLESHOOTING.md +0 -0
- /package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/{reference → references}/USAGE.md +0 -0
- /package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-customize-theme/{reference → references}/CSS-THEMING.md +0 -0
- /package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-generate-from-image-design/{reference → references}/gotchas.md +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import style from './style.module.css';
|
|
2
|
+
import { IgrColorPicker } from 'igniteui-react';
|
|
3
|
+
import 'igniteui-webcomponents/themes/light/bootstrap.css';
|
|
4
|
+
|
|
5
|
+
const swatches = ['rgba(0, 0, 0, 0.5)', 'rgba(255, 255, 255, 0.5)', '#4a6fa5', '#a5644a'];
|
|
6
|
+
|
|
7
|
+
export default function $(ClassName)() {
|
|
8
|
+
return (
|
|
9
|
+
<div>
|
|
10
|
+
<h1 className={style.title}>Color Picker</h1>
|
|
11
|
+
<div className={style.container}>
|
|
12
|
+
<IgrColorPicker
|
|
13
|
+
label="Overlay color"
|
|
14
|
+
mode="input"
|
|
15
|
+
format="rgb"
|
|
16
|
+
showAlpha={true}
|
|
17
|
+
value="rgba(74, 111, 165, 0.6)"
|
|
18
|
+
swatches={swatches}
|
|
19
|
+
/>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
5
|
+
class IgrColorPickerAlphaTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(__dirname);
|
|
8
|
+
this.components = ["Color Picker"];
|
|
9
|
+
this.controlGroup = "Data Entry & Display";
|
|
10
|
+
this.listInComponentTemplates = true;
|
|
11
|
+
this.id = "color-picker-alpha";
|
|
12
|
+
this.projectType = "igr-ts";
|
|
13
|
+
this.name = "Color Picker Alpha";
|
|
14
|
+
this.description = "IgrColorPicker in input mode with an alpha slider";
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
module.exports = new IgrColorPickerAlphaTemplate();
|
package/templates/react/igr-ts/color-picker/default/files/src/app/__path__/__filePrefix__.test.tsx
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { beforeAll, expect, test } from 'vitest';
|
|
2
|
+
import { render } from '@testing-library/react';
|
|
3
|
+
import $(ClassName) from './$(path)';
|
|
4
|
+
import { setupTestMocks } from '../../setupTests';
|
|
5
|
+
|
|
6
|
+
beforeAll(() => {
|
|
7
|
+
setupTestMocks();
|
|
8
|
+
})
|
|
9
|
+
|
|
10
|
+
test('renders $(ClassName) component', () => {
|
|
11
|
+
const wrapper = render(<$(ClassName) />);
|
|
12
|
+
expect(wrapper).toBeTruthy();
|
|
13
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import style from './style.module.css';
|
|
2
|
+
import { IgrColorPicker } from 'igniteui-react';
|
|
3
|
+
import 'igniteui-webcomponents/themes/light/bootstrap.css';
|
|
4
|
+
|
|
5
|
+
const swatches = ['#4a6fa5', '#6b8f71', '#a5644a', '#8a4fbe', '#c94f4f'];
|
|
6
|
+
|
|
7
|
+
export default function $(ClassName)() {
|
|
8
|
+
return (
|
|
9
|
+
<div>
|
|
10
|
+
<h1 className={style.title}>Color Picker</h1>
|
|
11
|
+
<div className={style.container}>
|
|
12
|
+
<IgrColorPicker label="Brand color" value="#4a6fa5" swatches={swatches} />
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const IgniteUIForReactTemplate_1 = require("../../../../../lib/templates/IgniteUIForReactTemplate");
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
5
|
+
class IgrColorPickerTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(__dirname);
|
|
8
|
+
this.components = ["Color Picker"];
|
|
9
|
+
this.controlGroup = "Data Entry & Display";
|
|
10
|
+
this.listInComponentTemplates = true;
|
|
11
|
+
this.id = "color-picker";
|
|
12
|
+
this.projectType = "igr-ts";
|
|
13
|
+
this.name = "Color Picker";
|
|
14
|
+
this.description = "basic IgrColorPicker with predefined swatches";
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_PACKAGE];
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
module.exports = new IgrColorPickerTemplate();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 IgrColorPickerComponent extends cli_core_1.BaseComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
super(__dirname);
|
|
7
|
+
this.name = "Color Picker";
|
|
8
|
+
this.group = "Data Entry & Display";
|
|
9
|
+
this.description = `lets users pick a color from a canvas, sliders or predefined swatches`;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
module.exports = new IgrColorPickerComponent();
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
export declare const IGNITEUI_REACT_PACKAGE = "igniteui-react@~19.
|
|
2
|
-
export declare const IGNITEUI_REACT_GRIDS_PACKAGE = "igniteui-react-grids@~19.
|
|
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";
|
|
3
|
+
export declare const IGNITEUI_REACT_CHARTS_PACKAGE = "igniteui-react-charts@~19.6.0";
|
|
4
|
+
export declare const IGNITEUI_REACT_GAUGES_PACKAGE = "igniteui-react-gauges@~19.6.0";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
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.
|
|
5
|
-
exports.IGNITEUI_REACT_GRIDS_PACKAGE = "igniteui-react-grids@~19.
|
|
3
|
+
exports.IGNITEUI_REACT_GAUGES_PACKAGE = exports.IGNITEUI_REACT_CHARTS_PACKAGE = exports.IGNITEUI_REACT_GRIDS_PACKAGE = exports.IGNITEUI_REACT_PACKAGE = void 0;
|
|
4
|
+
exports.IGNITEUI_REACT_PACKAGE = "igniteui-react@~19.9.0";
|
|
5
|
+
exports.IGNITEUI_REACT_GRIDS_PACKAGE = "igniteui-react-grids@~19.9.0";
|
|
6
|
+
exports.IGNITEUI_REACT_CHARTS_PACKAGE = "igniteui-react-charts@~19.6.0";
|
|
7
|
+
exports.IGNITEUI_REACT_GAUGES_PACKAGE = "igniteui-react-gauges@~19.6.0";
|
|
@@ -6,7 +6,7 @@ class IgrDateTimeInputTemplate extends IgniteUIForReactTemplate_1.IgniteUIForRea
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super(__dirname);
|
|
8
8
|
this.components = ["Date Time Input"];
|
|
9
|
-
this.controlGroup = "
|
|
9
|
+
this.controlGroup = "Data Entry & Display";
|
|
10
10
|
this.listInComponentTemplates = true;
|
|
11
11
|
this.id = "date-time-input";
|
|
12
12
|
this.projectType = "igr-ts";
|
|
@@ -5,7 +5,7 @@ class IgrDateTimeInputComponent extends cli_core_1.BaseComponent {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
super(__dirname);
|
|
7
7
|
this.name = "Date Time Input";
|
|
8
|
-
this.group = "
|
|
8
|
+
this.group = "Data Entry & Display";
|
|
9
9
|
this.description = `an input field for editing date and time values with a customizable format`;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -6,7 +6,7 @@ class IgrDialogTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTempl
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super(__dirname);
|
|
8
8
|
this.components = ["Dialog"];
|
|
9
|
-
this.controlGroup = "
|
|
9
|
+
this.controlGroup = "Interactions";
|
|
10
10
|
this.listInComponentTemplates = true;
|
|
11
11
|
this.id = "dialog";
|
|
12
12
|
this.projectType = "igr-ts";
|
|
@@ -5,7 +5,7 @@ class IgrDialogComponent extends cli_core_1.BaseComponent {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
super(__dirname);
|
|
7
7
|
this.name = "Dialog";
|
|
8
|
-
this.group = "
|
|
8
|
+
this.group = "Interactions";
|
|
9
9
|
this.description = `a modal dialog built on the native dialog element`;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -6,7 +6,7 @@ class IgrDividerTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemp
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super(__dirname);
|
|
8
8
|
this.components = ["Divider"];
|
|
9
|
-
this.controlGroup = "
|
|
9
|
+
this.controlGroup = "Layouts";
|
|
10
10
|
this.listInComponentTemplates = true;
|
|
11
11
|
this.id = "divider";
|
|
12
12
|
this.projectType = "igr-ts";
|
|
@@ -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 IgrTsDoughnutChartTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrTsDoughnutChartTemplate extends IgniteUIForReactTemplate_1.IgniteUIForR
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Doughnut Chart";
|
|
13
14
|
this.description = `proportionally illustrate the occurrences of variables.`;
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_CHARTS_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrTsDoughnutChartTemplate();
|
|
@@ -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 IgrTsFinancialChartTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -13,7 +14,7 @@ class IgrTsFinancialChartTemplate extends IgniteUIForReactTemplate_1.IgniteUIFor
|
|
|
13
14
|
this.name = "Financial Chart";
|
|
14
15
|
this.description = `charting component that makes it easy to visualize financial data by
|
|
15
16
|
using a simple and intuitive API.`;
|
|
16
|
-
this.packages = [
|
|
17
|
+
this.packages = [constants_1.IGNITEUI_REACT_CHARTS_PACKAGE];
|
|
17
18
|
}
|
|
18
19
|
}
|
|
19
20
|
module.exports = new IgrTsFinancialChartTemplate();
|
|
@@ -39,7 +39,7 @@ class GridTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
|
39
39
|
this.description = "IgrGrid template for React";
|
|
40
40
|
this.projectType = "igr-ts";
|
|
41
41
|
this.components = ["Grid"];
|
|
42
|
-
this.controlGroup = "
|
|
42
|
+
this.controlGroup = "Grids & Lists";
|
|
43
43
|
this.packages = [constants_1.IGNITEUI_REACT_GRIDS_PACKAGE];
|
|
44
44
|
this.hasExtraConfiguration = false;
|
|
45
45
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"Interactions": "interactive UI components including sliders and visual effects.",
|
|
4
|
-
"Menus": "navigation controls including navbar.",
|
|
5
|
-
"Grids & Lists": "components for displaying collections of data in list and tree views.",
|
|
6
|
-
"Scheduling": "date and time selection controls including calendar and date picker.",
|
|
7
|
-
"Layouts": "layout and structure controls including accordion, cards, tabs and panels.",
|
|
2
|
+
"Grids & Lists": "display data sets with feature rich Grids, Lists and Trees.",
|
|
8
3
|
"Charts": "high-performance data visualization for category and financial data.",
|
|
9
4
|
"Gauges": "scale measure Controls including Linear and Radial Gauge and Bullet Graph.",
|
|
10
|
-
"
|
|
11
|
-
"
|
|
5
|
+
"Data Entry & Display": "contains Button, Input, Checkbox, Combo, Drop Down, Progress Bars, etc.",
|
|
6
|
+
"Interactions": "includes Dialog, Chat, Slider, Tooltip, Ripple, etc.",
|
|
7
|
+
"Layouts": "content layout building blocks such as Accordion, Card, Carousel, Tabs and Splitter.",
|
|
8
|
+
"Menus": "navigation controls including Navbar and Navigation Drawer.",
|
|
9
|
+
"Notifications": "informational components including Banner, Snackbar and Toast.",
|
|
10
|
+
"Scheduling": "date and time controls including Calendar and Date pickers."
|
|
12
11
|
}
|
|
@@ -36,7 +36,7 @@ class HierarchicalGridTemplate extends IgniteUIForReactTemplate_1.IgniteUIForRea
|
|
|
36
36
|
this.description = "IgrHierarchicalGrid template for React";
|
|
37
37
|
this.projectType = "igr-ts";
|
|
38
38
|
this.components = ["Hierarchical Grid"];
|
|
39
|
-
this.controlGroup = "
|
|
39
|
+
this.controlGroup = "Grids & Lists";
|
|
40
40
|
this.packages = [constants_1.IGNITEUI_REACT_GRIDS_PACKAGE];
|
|
41
41
|
this.hasExtraConfiguration = false;
|
|
42
42
|
}
|
|
@@ -6,7 +6,7 @@ class IgrHighlightTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTe
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super(__dirname);
|
|
8
8
|
this.components = ["Highlight"];
|
|
9
|
-
this.controlGroup = "
|
|
9
|
+
this.controlGroup = "Data Entry & Display";
|
|
10
10
|
this.listInComponentTemplates = true;
|
|
11
11
|
this.id = "highlight";
|
|
12
12
|
this.projectType = "igr-ts";
|
|
@@ -5,7 +5,7 @@ class IgrHighlightComponent extends cli_core_1.BaseComponent {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
super(__dirname);
|
|
7
7
|
this.name = "Highlight";
|
|
8
|
-
this.group = "
|
|
8
|
+
this.group = "Data Entry & Display";
|
|
9
9
|
this.description = `highlights matches of a search text within its slotted content`;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -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 IgrTsLinearGaugeTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrTsLinearGaugeTemplate extends IgniteUIForReactTemplate_1.IgniteUIForRea
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Linear Gauge";
|
|
13
14
|
this.description = `value compared against a scale and one or more ranges.`;
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_GAUGES_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrTsLinearGaugeTemplate();
|
|
@@ -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 IgrTsPieChartTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
|
|
5
6
|
constructor() {
|
|
6
7
|
super(__dirname);
|
|
@@ -11,7 +12,7 @@ class IgrTsPieChartTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactT
|
|
|
11
12
|
this.projectType = "igr-ts";
|
|
12
13
|
this.name = "Pie Chart";
|
|
13
14
|
this.description = `easily illustate the proportions of data entries`;
|
|
14
|
-
this.packages = [
|
|
15
|
+
this.packages = [constants_1.IGNITEUI_REACT_CHARTS_PACKAGE];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
module.exports = new IgrTsPieChartTemplate();
|
|
@@ -36,7 +36,7 @@ class PivotGridTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTempl
|
|
|
36
36
|
this.description = "IgrPivotGrid template for React";
|
|
37
37
|
this.projectType = "igr-ts";
|
|
38
38
|
this.components = ["Pivot Grid"];
|
|
39
|
-
this.controlGroup = "
|
|
39
|
+
this.controlGroup = "Grids & Lists";
|
|
40
40
|
this.packages = [constants_1.IGNITEUI_REACT_GRIDS_PACKAGE];
|
|
41
41
|
this.hasExtraConfiguration = false;
|
|
42
42
|
}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@igniteui/material-icons-extended": "^3.0.2",
|
|
18
18
|
"element-internals-polyfill": "^3.0.2",
|
|
19
19
|
"functions-have-names": "^1.2.3",
|
|
20
|
-
"igniteui-react": "~19.
|
|
20
|
+
"igniteui-react": "~19.9.0",
|
|
21
21
|
"react": "^19.2.4",
|
|
22
22
|
"react-app-polyfill": "^3.0.0",
|
|
23
23
|
"react-dom": "^19.2.4",
|
|
@@ -10,7 +10,7 @@ Task-focused instructions that help AI coding agents use **Ignite UI for React**
|
|
|
10
10
|
| [igniteui-react-customize-theme](./igniteui-react-customize-theme/SKILL.md) | Applying brand colors, switching light/dark, overriding component appearance |
|
|
11
11
|
| [igniteui-react-optimize-bundle-size](./igniteui-react-optimize-bundle-size/SKILL.md) | The bundle is too large, or grids/charts are in the initial chunk |
|
|
12
12
|
| [igniteui-react-generate-from-image-design](./igniteui-react-generate-from-image-design/SKILL.md) | Building a view from a screenshot, mockup, or wireframe |
|
|
13
|
-
| [grid-lite-to-
|
|
13
|
+
| [igniteui-react-migrate-grid-lite-to-premium](./igniteui-react-migrate-grid-lite-to-premium/SKILL.md) | Grid Lite lacks a needed feature — editing, selection, paging, grouping, export |
|
|
14
14
|
|
|
15
15
|
Agents pick a skill from the request, so ordinary questions are enough: *"add a data grid to my React app"*, *"build this dashboard screenshot"*, *"match our brand colors"*, *"my bundle is too large"*. Naming a skill directly also works: *"use the igniteui-react-customize-theme skill"*.
|
|
16
16
|
|
|
@@ -21,7 +21,7 @@ Two optional MCP servers make the agent's answers authoritative rather than reca
|
|
|
21
21
|
- **`igniteui-cli`** — component docs and API reference (`list_components`, `get_doc`, `get_api_reference`, `search_docs`, `search_api`)
|
|
22
22
|
- **`igniteui-theming`** — palette, typography, elevation, and per-component theme generation
|
|
23
23
|
|
|
24
|
-
Every skill works without them, falling back to the type declarations in `node_modules`. Setup instructions are in [igniteui-react-components/
|
|
24
|
+
Every skill works without them, falling back to the type declarations in `node_modules`. Setup instructions are in [igniteui-react-components/references/MCP.md](./igniteui-react-components/references/MCP.md) and the theming skill.
|
|
25
25
|
|
|
26
26
|
## Installation
|
|
27
27
|
|
|
@@ -33,13 +33,13 @@ Copy the skill folders into the directory your agent reads:
|
|
|
33
33
|
| GitHub Copilot | `.agents/skills/` |
|
|
34
34
|
| Cursor, Windsurf, others | see the agent's documentation |
|
|
35
35
|
|
|
36
|
-
Keep each skill's `SKILL.md` alongside its `
|
|
36
|
+
Keep each skill's `SKILL.md` alongside its `references/` folder (when present) — the reference files are loaded on demand and the relative links between skills assume the layout is preserved.
|
|
37
37
|
|
|
38
38
|
```
|
|
39
39
|
.claude/skills/
|
|
40
|
-
igniteui-react-components/{SKILL.md,
|
|
41
|
-
igniteui-react-customize-theme/{SKILL.md,
|
|
40
|
+
igniteui-react-components/{SKILL.md,references/}
|
|
41
|
+
igniteui-react-customize-theme/{SKILL.md,references/}
|
|
42
42
|
igniteui-react-optimize-bundle-size/SKILL.md
|
|
43
|
-
igniteui-react-generate-from-image-design/{SKILL.md,
|
|
44
|
-
grid-lite-to-
|
|
43
|
+
igniteui-react-generate-from-image-design/{SKILL.md,references/}
|
|
44
|
+
igniteui-react-migrate-grid-lite-to-premium/SKILL.md
|
|
45
45
|
```
|
package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/SKILL.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
+
license: MIT
|
|
2
3
|
name: igniteui-react-components
|
|
3
|
-
description:
|
|
4
|
+
description: "Covers choosing, installing, and using Ignite UI for React (Igr*) components: package routing, theme CSS, JSX and slots, events, refs, forms, TypeScript, charts, gauges, maps, and grids. WHEN TO USE: choosing a component for a UI pattern, setting up igniteui-react in a React or Next.js app, writing Igr* JSX, wiring events, refs, or forms, looking up component APIs through the igniteui-cli MCP server, or debugging components that render unstyled, invisible, or with broken icons. WHEN NOT TO USE: brand colors, dark mode, or component token overrides (use igniteui-react-customize-theme), reducing bundle size or lazy loading (use igniteui-react-optimize-bundle-size), building a view from a screenshot or mockup (use igniteui-react-generate-from-image-design), or moving from Grid Lite to the premium grid (use igniteui-react-migrate-grid-lite-to-premium)."
|
|
4
5
|
user-invocable: true
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -14,7 +15,7 @@ user-invocable: true
|
|
|
14
15
|
2. **No `.register()`** for `igniteui-react`, `igniteui-react-grids`, `igniteui-react/grid-lite`, or `igniteui-react-dockmanager` — the wrapper registers the element on import. Charts, gauges, and maps (separate legacy packages) **do** require `.register()`.
|
|
15
16
|
3. **CSS selectors must target `igc-*`**, never `IgrButton`. Use `::part()` for shadow DOM internals.
|
|
16
17
|
4. **Events are `CustomEvent`**, not React `SyntheticEvent`. Read `e.detail`.
|
|
17
|
-
5. **Never set column `width`** on `IgrColumn` / `IgrGridLiteColumn` unless asked — see [DATAVIZ.md](./
|
|
18
|
+
5. **Never set column `width`** on `IgrColumn` / `IgrGridLiteColumn` unless asked — see [DATAVIZ.md](./references/DATAVIZ.md).
|
|
18
19
|
6. **Charts, gauges, maps, and grids need an explicitly sized container** or they render at zero height.
|
|
19
20
|
|
|
20
21
|
## Packages
|
|
@@ -55,18 +56,18 @@ Next.js has no single entry point — import the theme CSS in `app/layout.tsx` o
|
|
|
55
56
|
|
|
56
57
|
| File | Load when |
|
|
57
58
|
|---|---|
|
|
58
|
-
| [COMPONENTS.md](./
|
|
59
|
-
| [USAGE.md](./
|
|
60
|
-
| [DATAVIZ.md](./
|
|
61
|
-
| [MCP.md](./
|
|
62
|
-
| [TROUBLESHOOTING.md](./
|
|
59
|
+
| [COMPONENTS.md](./references/COMPONENTS.md) | Choosing a component for a described UI pattern |
|
|
60
|
+
| [USAGE.md](./references/USAGE.md) | Writing JSX — slots, events, refs, forms, TypeScript |
|
|
61
|
+
| [DATAVIZ.md](./references/DATAVIZ.md) | Charts, gauges, maps, Grid Lite, grid columns |
|
|
62
|
+
| [MCP.md](./references/MCP.md) | Looking up authoritative API docs; setting up the MCP server |
|
|
63
|
+
| [TROUBLESHOOTING.md](./references/TROUBLESHOOTING.md) | Something renders wrong |
|
|
63
64
|
|
|
64
65
|
## Verify before you write
|
|
65
66
|
|
|
66
|
-
Component APIs change between versions. Prefer the `igniteui-cli` MCP server (`get_doc`, `get_api_reference`, `search_api`) over recall for prop names, slot names, event names, and enum values — see [MCP.md](./
|
|
67
|
+
Component APIs change between versions. Prefer the `igniteui-cli` MCP server (`get_doc`, `get_api_reference`, `search_api`) over recall for prop names, slot names, event names, and enum values — see [MCP.md](./references/MCP.md). Without MCP, read the installed `.d.ts` files under `node_modules/igniteui-webcomponents/components/<component>/` (or `igniteui-webcomponents-grids/grids/lib/`), which carry `@slot`, `@csspart`, `@fires`, and `@cssproperty` annotations.
|
|
67
68
|
|
|
68
69
|
## Related skills
|
|
69
70
|
|
|
70
71
|
- [igniteui-react-customize-theme](../igniteui-react-customize-theme/SKILL.md) — brand colors, dark mode, component tokens
|
|
71
72
|
- [igniteui-react-optimize-bundle-size](../igniteui-react-optimize-bundle-size/SKILL.md) — code splitting heavy families
|
|
72
|
-
- [grid-lite-to-
|
|
73
|
+
- [igniteui-react-migrate-grid-lite-to-premium](../igniteui-react-migrate-grid-lite-to-premium/SKILL.md) — Grid Lite → premium `IgrGrid`
|
|
@@ -87,4 +87,4 @@ const money = (ctx: IgrCellContext<Order>) => <span>${(ctx.value as number).toFi
|
|
|
87
87
|
- Header templates use `headerTemplate` with `IgrColumnTemplateContext` (`ctx.column.header`).
|
|
88
88
|
- Filtering needs `allowFiltering` on the grid *and* `filterable` on each column.
|
|
89
89
|
|
|
90
|
-
For anything beyond this, see [grid-lite-to-
|
|
90
|
+
For anything beyond this, see [igniteui-react-migrate-grid-lite-to-premium](../../igniteui-react-migrate-grid-lite-to-premium/SKILL.md) or `get_doc({ framework: 'react', name: 'grid-editing' })`.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
+
license: MIT
|
|
2
3
|
name: igniteui-react-customize-theme
|
|
3
|
-
description:
|
|
4
|
+
description: "Covers theming Ignite UI for React with CSS custom properties: brand palette, dark mode, size, spacing and roundness, per-component tokens, and scoped themes, optionally through the igniteui-theming MCP server. WHEN TO USE: applying brand colors, switching between light and dark, changing a component's appearance (grid headers, buttons, avatars), setting up the igniteui-theming MCP server, or fixing theme overrides that do not take effect. WHEN NOT TO USE: choosing components or adding the initial theme CSS import (use igniteui-react-components), building a whole view from a design image (use igniteui-react-generate-from-image-design, which includes theming), or styling elements that are not Ignite UI components."
|
|
4
5
|
user-invocable: true
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -83,7 +84,7 @@ import { configureTheme } from 'igniteui-react';
|
|
|
83
84
|
configureTheme('bootstrap', 'dark'); // design system, variant
|
|
84
85
|
```
|
|
85
86
|
|
|
86
|
-
Prefer a real dark theme file (`themes/dark/bootstrap.css`) over hand-overriding palette tokens: it re-tunes surface, gray, elevations, and every component schema. See [CSS-THEMING.md](./
|
|
87
|
+
Prefer a real dark theme file (`themes/dark/bootstrap.css`) over hand-overriding palette tokens: it re-tunes surface, gray, elevations, and every component schema. See [CSS-THEMING.md](./references/CSS-THEMING.md) for the switching patterns.
|
|
87
88
|
|
|
88
89
|
When choosing colors for a dark palette, `surface` must be dark (luminance ≤ 0.5) and the `gray` base must be **light**. Gray shades are generated to contrast *against* the surface, so the gray base is always inverted relative to the variant — reversing it produces unreadable text.
|
|
89
90
|
|
|
@@ -125,7 +126,7 @@ VS Code — `.vscode/mcp.json` (Cursor and Claude Desktop use the same entry und
|
|
|
125
126
|
|
|
126
127
|
## Reference
|
|
127
128
|
|
|
128
|
-
- [CSS-THEMING.md](./
|
|
129
|
+
- [CSS-THEMING.md](./references/CSS-THEMING.md) — scoping patterns, CSS Modules, light/dark switching, inline overrides
|
|
129
130
|
|
|
130
131
|
## Related skills
|
|
131
132
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
+
license: MIT
|
|
2
3
|
name: igniteui-react-generate-from-image-design
|
|
3
|
-
description:
|
|
4
|
+
description: "Covers building a React view from a design image (screenshot, mockup, or wireframe) with Ignite UI for React components and generated theme tokens, using the igniteui-cli and igniteui-theming MCP servers when available. WHEN TO USE: the user supplies an image and asks to implement this design, build this UI, convert this mockup, or create a page from this screenshot in an Ignite UI for React project. WHEN NOT TO USE: no image is provided and the user only needs a component recommendation (use igniteui-react-components), the task is only theming or restyling existing views (use igniteui-react-customize-theme), or the task is reducing bundle size (use igniteui-react-optimize-bundle-size)."
|
|
4
5
|
user-invocable: true
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -27,7 +28,7 @@ Resolve layout as CSS Grid rows and columns that preserve the observed *proporti
|
|
|
27
28
|
|
|
28
29
|
Before coding, state briefly: chosen component per region, any region falling back to plain HTML and why, theme strategy, packages needed, and assumptions you made where the image is ambiguous.
|
|
29
30
|
|
|
30
|
-
**Start every region from an Ignite UI component.** Fall back to semantic HTML only when the component's DOM structure stays incompatible after CSS overrides and `::part()` are considered, and say so in a comment. Component picks live in [COMPONENTS.md](../igniteui-react-components/
|
|
31
|
+
**Start every region from an Ignite UI component.** Fall back to semantic HTML only when the component's DOM structure stays incompatible after CSS overrides and `::part()` are considered, and say so in a comment. Component picks live in [COMPONENTS.md](../igniteui-react-components/references/COMPONENTS.md); use `list_components({ framework: 'react', filter: '<narrow term>' })` to discover more. Narrow filters work better — `'list view'`, not `'list'`.
|
|
31
32
|
|
|
32
33
|
Judgement calls that recur:
|
|
33
34
|
|
|
@@ -79,7 +80,7 @@ For each **core** Ignite UI component in the design, in this order:
|
|
|
79
80
|
|
|
80
81
|
Querying tokens before reading the image matters: it stops you inventing token names, which is the most common failure here. Apply the generated block with a scoped wrapper plus `igc-*` selectors or `::part()`.
|
|
81
82
|
|
|
82
|
-
Charts, maps, gauges, and sparklines are **excluded** — they are not `igc-*` elements and have no design tokens. Style them through props (see [gotchas.md](
|
|
83
|
+
Charts, maps, gauges, and sparklines are **excluded** — they are not `igc-*` elements and have no design tokens. Style them through props (see [gotchas.md](references/gotchas.md)). Skip regions built from custom HTML too.
|
|
83
84
|
|
|
84
85
|
Once a palette exists, resolve colors to palette tokens (`var(--ig-primary-500)`) or your own semantic variables rather than leaving hex literals in JSX and CSS. `get_color` resolves a palette token to a concrete value when you need one.
|
|
85
86
|
|
|
@@ -89,7 +90,7 @@ Once a palette exists, resolve colors to palette tokens (`var(--ig-primary-500)`
|
|
|
89
90
|
- **Styles** — CSS Modules or shared CSS, not inline styles.
|
|
90
91
|
- **Data** — typed mock data matching the design's domain and density. Domain-appropriate content, never `Lorem ipsum` or `Item 1` when the image shows real subject matter.
|
|
91
92
|
- Preserve spacing, hierarchy, and data density before adding interactivity.
|
|
92
|
-
- Read [gotchas.md](
|
|
93
|
+
- Read [gotchas.md](references/gotchas.md) before writing charts, maps, avatars, grids, or dark surfaces — it lists the props that do not exist and the ones that must be arrays or function references.
|
|
93
94
|
|
|
94
95
|
## 6. Validate
|
|
95
96
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
license: MIT
|
|
3
|
+
name: igniteui-react-migrate-grid-lite-to-premium
|
|
4
|
+
description: "Covers migrating from Grid Lite (IgrGridLite) to the premium Ignite UI for React Data Grid (IgrGrid): imports, theme CSS, column and template API changes, sorting and filtering, remote data replacing dataPipelineConfiguration, and the toolbar and export APIs. WHEN TO USE: the user wants to upgrade from Grid Lite to IgrGrid, or needs a feature Grid Lite lacks, such as editing, selection, paging, grouping, summaries, pinning, export, or state persistence. WHEN NOT TO USE: adding a new grid from scratch or choosing between grids (use igniteui-react-components), moving between other premium grids (Tree Grid, Hierarchical Grid, Pivot Grid) or across major versions, theming a grid (use igniteui-react-customize-theme), or replacing IgrGrid with Grid Lite to save bundle size (use igniteui-react-optimize-bundle-size)."
|
|
4
5
|
user-invocable: true
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
+
license: MIT
|
|
2
3
|
name: igniteui-react-optimize-bundle-size
|
|
3
|
-
description:
|
|
4
|
+
description: "Covers reducing bundle size in apps that use Ignite UI for React: package selection, tree-shaking, and route-level code splitting of grids, charts, maps, and gauges. WHEN TO USE: the bundle or initial load is too large, tree-shaking is not removing unused Ignite UI code, heavy packages appear in the initial chunk, or the user is deciding what to lazy load. WHEN NOT TO USE: first-time package installation or component setup (use igniteui-react-components), theming (use igniteui-react-customize-theme), upgrading from Grid Lite to the premium grid (use igniteui-react-migrate-grid-lite-to-premium), or runtime performance problems unrelated to bundle size, such as rendering or data virtualization."
|
|
4
5
|
user-invocable: true
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -19,7 +20,7 @@ Standard React techniques (`React.lazy` + `Suspense`, route splitting, minificat
|
|
|
19
20
|
| `igniteui-react-grids` | heavy | Data/Tree/Pivot/Hierarchical grid |
|
|
20
21
|
| `igniteui-react-charts` / `-maps` / `-gauges` | heavy | legacy DV packages, weaker tree-shaking |
|
|
21
22
|
|
|
22
|
-
Two conclusions: **install only the families you use**, and **split the heavy families out of the initial chunk**. Downgrading `IgrGrid` to `IgrGridLite` is often the single largest win when the app only displays flat, read-only data — check the feature list in [DATAVIZ.md](../igniteui-react-components/
|
|
23
|
+
Two conclusions: **install only the families you use**, and **split the heavy families out of the initial chunk**. Downgrading `IgrGrid` to `IgrGridLite` is often the single largest win when the app only displays flat, read-only data — check the feature list in [DATAVIZ.md](../igniteui-react-components/references/DATAVIZ.md) first.
|
|
23
24
|
|
|
24
25
|
## Import rules
|
|
25
26
|
|
|
@@ -83,4 +84,4 @@ Then run any bundle analyzer and check the initial chunk for `igniteui-react-gri
|
|
|
83
84
|
## Related skills
|
|
84
85
|
|
|
85
86
|
- [igniteui-react-components](../igniteui-react-components/SKILL.md) — package routing and what each family provides
|
|
86
|
-
- [grid-lite-to-
|
|
87
|
+
- [igniteui-react-migrate-grid-lite-to-premium](../igniteui-react-migrate-grid-lite-to-premium/SKILL.md) — the reverse direction, when Grid Lite is not enough
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { beforeAll, expect, test } from 'vitest';
|
|
2
|
+
import { render } from '@testing-library/react';
|
|
3
|
+
import $(ClassName) from './$(path)';
|
|
4
|
+
import { setupTestMocks } from '../../setupTests';
|
|
5
|
+
|
|
6
|
+
beforeAll(() => {
|
|
7
|
+
setupTestMocks();
|
|
8
|
+
})
|
|
9
|
+
|
|
10
|
+
test('renders $(ClassName) component', () => {
|
|
11
|
+
const wrapper = render(<$(ClassName) />);
|
|
12
|
+
expect(wrapper).toBeTruthy();
|
|
13
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import style from './style.module.css';
|
|
2
|
+
import { IgrQrCode } from 'igniteui-react';
|
|
3
|
+
import 'igniteui-webcomponents/themes/light/bootstrap.css';
|
|
4
|
+
|
|
5
|
+
export default function $(ClassName)() {
|
|
6
|
+
return (
|
|
7
|
+
<div>
|
|
8
|
+
<h1 className={style.title}>QR Code</h1>
|
|
9
|
+
<div className={style.container}>
|
|
10
|
+
<IgrQrCode value="https://www.infragistics.com/products/ignite-ui-react" size={160} />
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
);
|
|
14
|
+
}
|