igniteui-cli 15.2.2-alpha.3 → 15.3.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/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/build.js +7 -12
- package/lib/commands/new.js +4 -1
- package/package.json +4 -4
- package/templates/blazor/igb/projects/ai-config/files/skills/AGENTS.md +0 -5
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/SKILL.md +3 -1
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/charts.md +7 -35
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/data-display.md +1 -54
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/feedback.md +0 -38
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/form-controls.md +0 -68
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/layout-manager.md +1 -124
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/layout.md +0 -62
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/references/gotchas.md +29 -6
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-theming/SKILL.md +2 -2
- 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 +2 -1
- package/templates/react/igr-ts/projects/_base/files/src/app/app.tsx +4 -2
- package/templates/react/igr-ts/projects/_base/files/src/setupTests.ts +12 -0
- package/templates/react/igr-ts/projects/_base/files/styles.css +6 -0
- package/templates/react/igr-ts/projects/_base_with_home/files/index.html +2 -1
- package/templates/react/igr-ts/projects/_base_with_home/files/src/app/home/home.tsx +60 -10
- package/templates/react/igr-ts/projects/_base_with_home/files/src/app/home/style.module.css +79 -20
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/SKILL.md +0 -8
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/CHARTS-GRIDS.md +6 -36
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/COMPONENT-CATALOGUE.md +8 -142
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/EVENT-HANDLING.md +2 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-customize-theme/SKILL.md +7 -14
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-customize-theme/reference/CSS-THEMING.md +2 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-customize-theme/reference/MCP-SERVER.md +0 -8
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-generate-from-image-design/SKILL.md +2 -2
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-generate-from-image-design/reference/component-mapping.md +60 -74
- package/templates/react/igr-ts/projects/empty/index.js +2 -2
- package/templates/react/igr-ts/projects/side-nav/files/src/app/app-routes.tsx +5 -0
- package/templates/react/igr-ts/projects/side-nav/files/src/app/app.css +82 -0
- package/templates/react/igr-ts/projects/side-nav/files/src/app/app.tsx +104 -0
- package/templates/react/igr-ts/projects/side-nav/files/src/app/home/home.tsx +69 -0
- package/templates/react/igr-ts/projects/side-nav/files/src/app/home/style.module.css +105 -0
- package/templates/react/igr-ts/projects/{top-nav → side-nav}/index.d.ts +2 -2
- package/templates/react/igr-ts/projects/{top-nav → side-nav}/index.js +7 -7
- package/templates/react/igr-ts/projects/side-nav-auth/files/index.html +19 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/app-routes.tsx +24 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/app.css +84 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/app.tsx +124 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/AuthContext.tsx +73 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/AuthGuard.tsx +14 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/Login.module.css +93 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/Login.tsx +69 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/LoginBar.module.css +42 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/LoginBar.tsx +44 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/LoginDialog.module.css +14 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/LoginDialog.tsx +49 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/Register.module.css +74 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/Register.tsx +67 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/models/external-login.ts +10 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/models/login.ts +4 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/models/register-info.ts +6 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/models/user.ts +19 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/Profile.module.css +87 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/Profile.tsx +42 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/RedirectFacebook.tsx +44 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/RedirectGoogle.tsx +40 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/RedirectMicrosoft.tsx +40 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/authentication.ts +37 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/external-auth-config.ts +44 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/externalAuth.ts +272 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/fakeBackend.ts +88 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/jwtUtil.ts +10 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/pkce.ts +29 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/userStore.ts +39 -0
- package/templates/react/igr-ts/projects/side-nav-auth/index.d.ts +15 -0
- package/templates/react/igr-ts/projects/side-nav-auth/index.js +46 -0
- package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/app-routes.tsx +5 -0
- package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/app.css +109 -0
- package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/app.test.tsx +20 -0
- package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/app.tsx +81 -0
- package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/home/home.tsx +69 -0
- package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/home/style.module.css +105 -0
- package/templates/react/igr-ts/projects/side-nav-mini/index.d.ts +15 -0
- package/templates/react/igr-ts/projects/side-nav-mini/index.js +46 -0
- package/templates/react/igr-ts/projects/side-nav-mini-auth/files/src/app/app.css +106 -0
- package/templates/react/igr-ts/projects/side-nav-mini-auth/files/src/app/app.tsx +101 -0
- package/templates/react/igr-ts/projects/side-nav-mini-auth/index.d.ts +15 -0
- package/templates/react/igr-ts/projects/side-nav-mini-auth/index.js +50 -0
- 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/files/src/app/app.ts +6 -1
- package/templates/webcomponents/igc-ts/projects/_base/files/styles.css +1 -0
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/index.html +2 -0
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/package.json +2 -2
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/src/app/home/home.ts +103 -9
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/src/assets/wc.png +0 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-choose-components/SKILL.md +122 -160
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-customize-component-theme/SKILL.md +83 -311
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-customize-component-theme/references/mcp-setup.md +69 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-generate-from-image-design/SKILL.md +4 -1
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-generate-from-image-design/references/component-mapping.md +60 -61
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-generate-from-image-design/references/gotchas.md +15 -11
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-optimize-bundle-size/SKILL.md +23 -274
- package/templates/webcomponents/igc-ts/projects/empty/index.js +1 -1
- package/templates/webcomponents/igc-ts/projects/side-nav/files/index.html +21 -0
- package/templates/webcomponents/igc-ts/projects/side-nav/files/src/app/app-routing.ts +9 -0
- package/templates/webcomponents/igc-ts/projects/side-nav/files/src/app/app.ts +192 -22
- package/templates/webcomponents/igc-ts/projects/side-nav/files/src/app/home/home.ts +175 -0
- package/templates/webcomponents/igc-ts/projects/side-nav/index.js +1 -1
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/index.html +25 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/app-routing.ts +37 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/app.ts +251 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/login-bar/login-bar.ts +124 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/login-dialog/login-dialog.ts +253 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/models/external-login.ts +10 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/models/login.ts +4 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/models/register-info.ts +6 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/models/user.ts +19 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/authentication.ts +37 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/external-auth-config.ts +44 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/externalAuth.ts +272 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/fakeBackend.ts +88 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/jwtUtil.ts +10 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/pkce.ts +29 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/userStore.ts +39 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/profile/profile.ts +142 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/redirect/redirect-facebook.ts +57 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/redirect/redirect-google.ts +53 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/redirect/redirect-microsoft.ts +53 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/index.d.ts +15 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/index.js +46 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-mini/files/src/app/app-routing.ts +13 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-mini/files/src/app/app.ts +238 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-mini/index.d.ts +14 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-mini/index.js +45 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-mini-auth/files/src/app/app.ts +258 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-mini-auth/index.d.ts +15 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-mini-auth/index.js +50 -0
- package/templates/webcomponents/igc-ts/tree/default/index.js +1 -1
- package/templates/react/igr-ts/projects/top-nav/files/src/app/app.css +0 -62
- package/templates/react/igr-ts/projects/top-nav/files/src/app/app.tsx +0 -18
- package/templates/react/igr-ts/projects/top-nav/files/src/components/navigation-header/index.tsx +0 -19
- /package/templates/react/igr-ts/projects/{top-nav → side-nav}/files/src/app/app.test.tsx +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.SideNavMiniAuthIgrTsProject = void 0;
|
|
27
|
+
const path = __importStar(require("path"));
|
|
28
|
+
const side_nav_mini_1 = require("../side-nav-mini");
|
|
29
|
+
class SideNavMiniAuthIgrTsProject extends side_nav_mini_1.SideNavMiniIgrTsProject {
|
|
30
|
+
constructor() {
|
|
31
|
+
super(...arguments);
|
|
32
|
+
this.id = "side-nav-mini-auth";
|
|
33
|
+
this.name = "Side navigation (mini) + login";
|
|
34
|
+
this.description = "Collapsible mini side navigation extended with user authentication module";
|
|
35
|
+
this.dependencies = [];
|
|
36
|
+
this.framework = "react";
|
|
37
|
+
this.projectType = "igr-ts";
|
|
38
|
+
this.hasExtraConfiguration = false;
|
|
39
|
+
this.isHidden = true;
|
|
40
|
+
}
|
|
41
|
+
get templatePaths() {
|
|
42
|
+
return [
|
|
43
|
+
...super.templatePaths,
|
|
44
|
+
path.join(__dirname, "../side-nav-auth/files"),
|
|
45
|
+
path.join(__dirname, "files")
|
|
46
|
+
];
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.SideNavMiniAuthIgrTsProject = SideNavMiniAuthIgrTsProject;
|
|
50
|
+
exports.default = new SideNavMiniAuthIgrTsProject();
|
|
@@ -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();
|
|
@@ -6,6 +6,11 @@ import { routes } from './app-routing.js';
|
|
|
6
6
|
@customElement('app-root')
|
|
7
7
|
export default class App extends LitElement {
|
|
8
8
|
static styles = css`
|
|
9
|
+
:host {
|
|
10
|
+
display: block;
|
|
11
|
+
min-height: 100vh;
|
|
12
|
+
}
|
|
13
|
+
|
|
9
14
|
router-outlet {
|
|
10
15
|
width: 100%;
|
|
11
16
|
}
|
|
@@ -13,7 +18,7 @@ export default class App extends LitElement {
|
|
|
13
18
|
.outer-wrapper {
|
|
14
19
|
display: flex;
|
|
15
20
|
justify-content: center;
|
|
16
|
-
height:
|
|
21
|
+
min-height: 100vh;
|
|
17
22
|
}
|
|
18
23
|
`;
|
|
19
24
|
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="utf-8">
|
|
6
6
|
<base href="/">
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
8
|
<title>Ignite UI for Web Components</title>
|
|
9
|
+
<link rel="icon" type="image/png" href="./src/assets/wc.png">
|
|
8
10
|
<link rel="stylesheet" href="./node_modules/igniteui-webcomponents/themes/light/bootstrap.css">
|
|
9
11
|
<link rel="stylesheet" href="./styles.css">
|
|
10
12
|
</head>
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"@vaadin/router": "^2.0.0",
|
|
16
16
|
"@igniteui/material-icons-extended": "^3.0.2",
|
|
17
17
|
"igniteui-dockmanager": "^2.1.1",
|
|
18
|
-
"igniteui-webcomponents": "~7.
|
|
18
|
+
"igniteui-webcomponents": "~7.2.0",
|
|
19
19
|
"igniteui-webcomponents-charts": "~7.0.0",
|
|
20
20
|
"igniteui-webcomponents-core": "~7.0.0",
|
|
21
21
|
"igniteui-webcomponents-gauges": "~7.0.0",
|
|
22
|
-
"igniteui-webcomponents-grids": "~7.
|
|
22
|
+
"igniteui-webcomponents-grids": "~7.1.0",
|
|
23
23
|
"igniteui-webcomponents-inputs": "~7.0.0",
|
|
24
24
|
"igniteui-webcomponents-layouts": "~7.0.0",
|
|
25
25
|
"lit": "^3.3.2"
|
|
@@ -1,40 +1,134 @@
|
|
|
1
1
|
import { html, css, LitElement } from 'lit';
|
|
2
2
|
import { customElement } from 'lit/decorators.js';
|
|
3
|
+
import { github } from '@igniteui/material-icons-extended';
|
|
4
|
+
import {
|
|
5
|
+
defineComponents,
|
|
6
|
+
IgcIconComponent,
|
|
7
|
+
registerIconFromText,
|
|
8
|
+
} from 'igniteui-webcomponents';
|
|
9
|
+
|
|
10
|
+
defineComponents(IgcIconComponent);
|
|
11
|
+
registerIconFromText(github.name, github.value, 'imx-icons');
|
|
3
12
|
|
|
4
13
|
@customElement('app-home')
|
|
5
14
|
export class HomeComponent extends LitElement {
|
|
6
15
|
static styles = css`
|
|
16
|
+
:host {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-flow: column nowrap;
|
|
19
|
+
align-items: center;
|
|
20
|
+
width: 100%;
|
|
21
|
+
padding: 24px;
|
|
22
|
+
text-align: center;
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
h1 {
|
|
27
|
+
color: #09f;
|
|
28
|
+
font-size: 80px;
|
|
29
|
+
font-weight: 300;
|
|
30
|
+
line-height: 1.2;
|
|
31
|
+
margin: 0 0 16px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
h4 {
|
|
35
|
+
font-size: 28px;
|
|
36
|
+
font-weight: 400;
|
|
37
|
+
line-height: 1.4;
|
|
38
|
+
margin: 0 0 32px;
|
|
39
|
+
max-width: 1120px;
|
|
40
|
+
}
|
|
41
|
+
|
|
7
42
|
p {
|
|
43
|
+
font-size: 16px;
|
|
8
44
|
margin: 0px 0px 8px 0px;
|
|
9
45
|
}
|
|
46
|
+
|
|
47
|
+
p:nth-last-child(2) {
|
|
48
|
+
padding-top: 16px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.content__container--wide {
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-flow: row wrap;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
gap: 24px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.content__github-item {
|
|
59
|
+
display: flex;
|
|
60
|
+
flex-flow: row nowrap;
|
|
61
|
+
align-items: center;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.content__github-icon {
|
|
65
|
+
display: inline-flex;
|
|
66
|
+
width: 24px;
|
|
67
|
+
height: 24px;
|
|
68
|
+
margin-right: 8px;
|
|
69
|
+
flex: 0 0 24px;
|
|
70
|
+
color: #000;
|
|
71
|
+
}
|
|
72
|
+
|
|
10
73
|
img {
|
|
11
|
-
|
|
12
|
-
|
|
74
|
+
display: block;
|
|
75
|
+
width: 500px;
|
|
76
|
+
height: 350px;
|
|
77
|
+
margin-bottom: 32px;
|
|
13
78
|
max-width: 100%;
|
|
79
|
+
object-fit: contain;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
a {
|
|
83
|
+
font-size: 16px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@media (max-width: 768px) {
|
|
87
|
+
h1 {
|
|
88
|
+
font-size: 40px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
h4 {
|
|
92
|
+
font-size: 20px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
img {
|
|
96
|
+
width: 100%;
|
|
97
|
+
height: 240px;
|
|
98
|
+
}
|
|
14
99
|
}
|
|
15
100
|
`;
|
|
16
101
|
|
|
17
102
|
render() {
|
|
18
103
|
return html`
|
|
19
104
|
<h1>Welcome to Ignite UI for Web Components!</h1>
|
|
20
|
-
<h4>A complete library of UI components
|
|
21
|
-
<img src="./src/assets/astronaut-components.svg" alt="
|
|
105
|
+
<h4>A complete library of 50+ UI components for building modern web applications with reusable Web Components.</h4>
|
|
106
|
+
<img src="./src/assets/astronaut-components.svg" alt="Ignite UI for Web Components">
|
|
22
107
|
<p class="ig-typography__subtitle-1">Discover more at</p>
|
|
23
108
|
<p>
|
|
24
|
-
<a href="https://www.infragistics.com/products/ignite-ui-web-components" target="_blank">
|
|
109
|
+
<a href="https://www.infragistics.com/products/ignite-ui-web-components" target="_blank" rel="noopener noreferrer">
|
|
25
110
|
www.infragistics.com/products/ignite-ui-web-components
|
|
26
111
|
</a>
|
|
27
112
|
</p>
|
|
28
113
|
<p>
|
|
29
|
-
<a href="https://www.infragistics.com/products/indigo-design" target="_blank">
|
|
114
|
+
<a href="https://www.infragistics.com/products/indigo-design" target="_blank" rel="noopener noreferrer">
|
|
30
115
|
www.infragistics.com/products/indigo-design
|
|
31
116
|
</a>
|
|
32
117
|
</p>
|
|
33
118
|
<p class="ig-typography__subtitle-1">We are also on GitHub</p>
|
|
34
119
|
<p class="content__container--wide">
|
|
35
|
-
<
|
|
36
|
-
<
|
|
37
|
-
|
|
120
|
+
<span class="content__github-item">
|
|
121
|
+
<igc-icon class="content__github-icon" name="github" collection="imx-icons" aria-hidden="true"></igc-icon>
|
|
122
|
+
<a href="https://github.com/IgniteUI/igniteui-webcomponents" target="_blank" rel="noopener noreferrer" class="content__link--github">
|
|
123
|
+
Ignite UI Web Components
|
|
124
|
+
</a>
|
|
125
|
+
</span>
|
|
126
|
+
<span class="content__github-item">
|
|
127
|
+
<igc-icon class="content__github-icon" name="github" collection="imx-icons" aria-hidden="true"></igc-icon>
|
|
128
|
+
<a href="https://github.com/IgniteUI/igniteui-cli" target="_blank" rel="noopener noreferrer" class="content__link--github">
|
|
129
|
+
Ignite UI CLI
|
|
130
|
+
</a>
|
|
131
|
+
</span>
|
|
38
132
|
</p>
|
|
39
133
|
`;
|
|
40
134
|
}
|