Skip to content

Commit 93a83ac

Browse files
authored
chore(*): update 17.1.x and other deps (#3430)
update 17.1.x
2 parents 25d6647 + 7ec7359 commit 93a83ac

240 files changed

Lines changed: 9268 additions & 9475 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-app-crm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
run: npm config set ${{secrets.IG_SCOPE}}:_auth=${{secrets.IG_TOKEN}}
5050

5151
- name: Install dependencies
52-
run: npm ci
52+
run: npm ci --legacy-peer-deps
5353

5454
- name: Run lint
5555
run: npm run lint

.github/workflows/build-app-lob.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: npm config set ${{secrets.IG_SCOPE}}:_auth=${{secrets.IG_TOKEN}}
5555

5656
- name: Install dependencies
57-
run: npm ci
57+
run: npm ci --legacy-peer-deps
5858

5959
- name: Run lint
6060
run: npm run lint

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ steps:
1717
- task: Npm@1
1818
inputs:
1919
command: 'custom'
20-
customCommand: 'install'
20+
customCommand: 'install --legacy-peer-deps'
2121
customEndpoint: 'public proget'
2222
env:
2323
AZURE_PIPELINES: "true"

ignite-ui-cli.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"project": {
44
"defaultPort": 4200,
55
"framework": "angular",
6-
"projectType": "igx-ts",
6+
"projectType": "igx-ts-legacy",
77
"projectTemplate": "side-nav",
88
"theme": "Custom",
99
"isBundle": false,
@@ -16,4 +16,4 @@
1616
},
1717
"build": {},
1818
"packagesInstalled": true
19-
}
19+
}
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
import {IgxButtonGroupModule,
2+
IgxButtonModule,
3+
IgxIconButtonDirective,
4+
IgxIconModule,
5+
IgxRippleModule} from 'igniteui-angular';
6+
import {AppModuleConfig, Config, IConfigGenerator} from 'igniteui-live-editing'
7+
export class IconButtonConfigGenerator implements IConfigGenerator {
8+
public generateConfigs(): Config[] {
9+
const configs = new Array<Config>();
10+
11+
// icon button overview
12+
configs.push(new Config({
13+
component: 'IconButtonOverviewComponent',
14+
appModuleConfig: new AppModuleConfig({
15+
imports: ['IgxButtonModule', 'IgxIconModule', 'IgxRippleModule', 'IgxIconButtonDirective', 'IconButtonOverviewComponent'],
16+
ngDeclarations: ['IconButtonOverviewComponent'],
17+
ngImports: ['IgxButtonModule', 'IgxIconModule', 'IgxRippleModule', 'IgxIconButtonDirective']
18+
}),
19+
shortenComponentPathBy: "/data-entries/icon-button/"
20+
}));
21+
22+
// flat icon button
23+
configs.push(new Config({
24+
component: 'FlatIconButtonComponent',
25+
appModuleConfig: new AppModuleConfig({
26+
imports: ['IgxButtonModule', 'IgxIconModule', 'IgxRippleModule', 'IgxIconButtonDirective', 'FlatIconButtonComponent'],
27+
ngDeclarations: ['FlatIconButtonComponent'],
28+
ngImports: ['IgxButtonModule', 'IgxIconModule', 'IgxRippleModule', 'IgxIconButtonDirective']
29+
}),
30+
shortenComponentPathBy: "/data-entries/icon-button/"
31+
}));
32+
33+
// contained icon button
34+
configs.push(new Config({
35+
component: 'ContainedIconButtonComponent',
36+
appModuleConfig: new AppModuleConfig({
37+
imports: ['IgxButtonModule', 'IgxIconModule', 'IgxRippleModule', 'IgxIconButtonDirective', 'ContainedIconButtonComponent'],
38+
ngDeclarations: ['ContainedIconButtonComponent'],
39+
ngImports: ['IgxButtonModule', 'IgxIconModule', 'IgxRippleModule', 'IgxIconButtonDirective']
40+
}),
41+
shortenComponentPathBy: "/data-entries/icon-button/"
42+
}));
43+
44+
// outlined icon button
45+
configs.push(new Config({
46+
component: 'OutlinedIconButtonComponent',
47+
appModuleConfig: new AppModuleConfig({
48+
imports: ['IgxButtonModule', 'IgxIconModule', 'IgxRippleModule', 'IgxIconButtonDirective', 'OutlinedIconButtonComponent'],
49+
ngDeclarations: ['OutlinedIconButtonComponent'],
50+
ngImports: ['IgxButtonModule', 'IgxIconModule', 'IgxRippleModule', 'IgxIconButtonDirective']
51+
}),
52+
shortenComponentPathBy: "/data-entries/icon-button/"
53+
}));
54+
55+
// disabled icon button
56+
configs.push(new Config({
57+
component: 'DisabledIconButtonComponent',
58+
appModuleConfig: new AppModuleConfig({
59+
imports: ['IgxButtonModule', 'IgxIconModule', 'IgxRippleModule', 'IgxIconButtonDirective', 'DisabledIconButtonComponent'],
60+
ngDeclarations: ['DisabledIconButtonComponent'],
61+
ngImports: ['IgxButtonModule', 'IgxIconModule', 'IgxRippleModule', 'IgxIconButtonDirective']
62+
}),
63+
shortenComponentPathBy: "/data-entries/icon-button/"
64+
}));
65+
66+
// SVG icon button
67+
configs.push(new Config({
68+
component: 'SVGIconButtonComponent',
69+
appModuleConfig: new AppModuleConfig({
70+
imports: ['IgxButtonModule', 'IgxIconModule', 'IgxRippleModule', 'IgxIconButtonDirective', 'SVGIconButtonComponent'],
71+
ngDeclarations: ['SVGIconButtonComponent'],
72+
ngImports: ['IgxButtonModule', 'IgxIconModule', 'IgxRippleModule', 'IgxIconButtonDirective']
73+
}),
74+
shortenComponentPathBy: "/data-entries/icon-button/"
75+
}));
76+
77+
// icon button styling
78+
configs.push(new Config({
79+
component: 'IconButtonStylingComponent',
80+
appModuleConfig: new AppModuleConfig({
81+
imports: ['IgxButtonModule', 'IgxIconModule', 'IgxRippleModule', 'IgxIconButtonDirective', 'IconButtonStylingComponent'],
82+
ngDeclarations: ['IconButtonStylingComponent'],
83+
ngImports: ['IgxButtonModule', 'IgxIconModule', 'IgxRippleModule', 'IgxIconButtonDirective']
84+
}),
85+
shortenComponentPathBy: "/data-entries/icon-button/"
86+
}));
87+
88+
// icon button size
89+
configs.push(new Config({
90+
component: 'IconButtonSizeComponent',
91+
appModuleConfig: new AppModuleConfig({
92+
imports: ['IgxButtonModule', 'IgxIconModule', 'IgxRippleModule', 'IgxIconButtonDirective', 'IconButtonSizeComponent'],
93+
ngDeclarations: ['IconButtonSizeComponent'],
94+
ngImports: ['IgxButtonModule', 'IgxIconModule', 'IgxRippleModule', 'IgxIconButtonDirective']
95+
}),
96+
shortenComponentPathBy: "/data-entries/icon-button/"
97+
}));
98+
99+
return configs;
100+
}
101+
}

live-editing/generators/ConfigGenerators.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import { ForConfigGenerator } from '../configs/ForConfigGenerator';
2828
import { GridConfigGenerator } from '../configs/GridConfigGenerator';
2929
import { HierarchicalGridConfigGenerator } from '../configs/HierarchicalGridConfigGenerator';
3030
import { IconConfigGenerator } from '../configs/IconConfigGenerator';
31+
import { IconButtonConfigGenerator } from '../configs/IconButtonConfigGenerator';
3132
import { InputGroupConfigGenerator } from '../configs/InputGroupConfigGenerator';
3233
import { LayoutConfigGenerator } from '../configs/LayoutConfigGenerator';
3334
import { LinearProgressbarConfigGenerator } from '../configs/LinearProgressbarConfigGenerator';
@@ -99,6 +100,7 @@ export const CONFIG_GENERATORS =
99100
DateRangePickerConfigGenerator,
100101
DateTimeEditorConfigGenerator,
101102
DropDownConfigGenerator,
103+
IconButtonConfigGenerator,
102104
InputGroupConfigGenerator,
103105
MaskConfigGenerator,
104106
MonthPickerConfigGenerator,

0 commit comments

Comments
 (0)