Skip to content

Commit 5fe3863

Browse files
authored
Merge branch 'main' into feat/add-data-qa
2 parents 8dc294b + 7fb79f1 commit 5fe3863

File tree

303 files changed

+5159
-13879
lines changed

Some content is hidden

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

303 files changed

+5159
-13879
lines changed

.github/workflows/build-pr.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-node@v3
1313
with:
14-
node-version: 16
14+
node-version: 22
1515

1616
- name: Restore Lerna
1717
id: yarn-cache
@@ -44,7 +44,7 @@ jobs:
4444
- uses: actions/checkout@v2
4545
- uses: actions/setup-node@v3
4646
with:
47-
node-version: 16
47+
node-version: 22
4848

4949
- name: Restore Lerna
5050
id: yarn-cache
@@ -73,7 +73,7 @@ jobs:
7373
- uses: actions/checkout@v2
7474
- uses: actions/setup-node@v3
7575
with:
76-
node-version: 16
76+
node-version: 22
7777

7878
- name: Restore Lerna
7979
id: yarn-cache
@@ -102,7 +102,7 @@ jobs:
102102
- uses: actions/checkout@v2
103103
- uses: actions/setup-node@v3
104104
with:
105-
node-version: 16
105+
node-version: 22
106106

107107
- name: Restore Lerna
108108
id: yarn-cache
@@ -136,13 +136,13 @@ jobs:
136136
- uses: actions/checkout@v3
137137
- uses: actions/setup-node@v3
138138
with:
139-
node-version: 16
140-
- name: Set up Docker Compose alias
139+
node-version: 22
140+
- name: Set up Docker Compose alias
141141
run: |
142142
sudo touch /usr/bin/docker-compose
143143
echo 'docker compose --compatibility "$@"' | sudo tee /usr/bin/docker-compose
144144
sudo chmod +x /usr/bin/docker-compose
145-
145+
146146
- name: Restore Lerna
147147
id: yarn-cache
148148
uses: actions/cache@v3
@@ -195,7 +195,7 @@ jobs:
195195

196196
- name: Create pull request with new snapshots
197197
if: failure()
198-
uses: peter-evans/create-pull-request@v4
198+
uses: peter-evans/create-pull-request@v7
199199
with:
200200
commit-message: 'test(visual): update snapshots'
201201
title: 'update visual snapshots: ${{ github.event.pull_request.title }}'
@@ -209,7 +209,7 @@ jobs:
209209
- uses: actions/checkout@v2
210210
- uses: actions/setup-node@v3
211211
with:
212-
node-version: 16
212+
node-version: 22
213213

214214
- name: Restore Lerna
215215
id: yarn-cache

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-node@v3
1313
with:
14-
node-version: 16
14+
node-version: 22
1515

1616
- name: Configure CI Git User
1717
run: |
@@ -55,7 +55,7 @@ jobs:
5555
- uses: actions/checkout@v3
5656
- uses: actions/setup-node@v3
5757
with:
58-
node-version: 16
58+
node-version: 22
5959

6060
- name: Authenticate with Registry
6161
run: |
@@ -119,7 +119,7 @@ jobs:
119119
- uses: actions/checkout@v3
120120
- uses: actions/setup-node@v3
121121
with:
122-
node-version: 16
122+
node-version: 22
123123

124124
- name: Configure CI Git User
125125
run: |

examples/react-form/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"react-scripts": "3.4.1"
1616
},
1717
"devDependencies": {
18-
"typescript": "^3.8.3"
18+
"typescript": "^5.8.3"
1919
},
2020
"peerDependencies": {
2121
"rimraf": "*"

examples/vite-react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
"eslint": "^8.45.0",
2525
"eslint-plugin-react-hooks": "^4.6.0",
2626
"eslint-plugin-react-refresh": "^0.4.3",
27-
"typescript": "^5.0.2",
27+
"typescript": "^5.8.3",
2828
"vite": "^4.4.5"
2929
},
3030
"resolutions": {
3131
"@types/react": "^18.2.37"
32-
}
32+
}
3333
}

examples/vitest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
"jsdom": "latest",
1616
"vite": "latest",
1717
"vitest": "latest",
18-
"typescript": "^5.0.3"
18+
"typescript": "^5.8.3"
1919
}
2020
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
}
3535
},
3636
"engines": {
37-
"node": "16.x",
37+
"node": "22.x",
3838
"npm": "please-use-yarn",
3939
"yarn": "1.x"
4040
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
dist/
22
build/
33
src/directives/proxies.ts
4-
src/directives/proxies-list.tsx
4+
src/directives/proxies-list.ts

packages/components-angular/__tests__/scale-input.spec.ts

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { async, ComponentFixture } from '@angular/core/testing';
22

3-
import { ConfigureFn, configureTests } from '../src/config.testing';
4-
import { DebugElement, Component } from '@angular/core';
5-
import { FormsModule, FormBuilder, ReactiveFormsModule } from '@angular/forms';
3+
import { Component, DebugElement } from '@angular/core';
4+
import { FormBuilder, FormsModule, ReactiveFormsModule } from '@angular/forms';
65
import { By } from '@angular/platform-browser';
6+
import { ConfigureFn, configureTests } from '../src/config.testing';
77
import { ComponentLibraryModule } from '../src/index';
88

99
@Component({
@@ -42,24 +42,29 @@ describe('ScaleInput - Text Value', () => {
4242
const { componentInstance: myAngularComponent } = fixture;
4343
myInputEl.nativeElement.value = 'text';
4444
myInputEl.nativeElement.dispatchEvent(
45-
new CustomEvent('scaleChange', { detail: { value: 'text' } }),
45+
new CustomEvent('scale-change', { detail: { value: 'text' } })
4646
);
4747
expect(myAngularComponent.testText).toEqual('text');
4848
});
4949

50-
it('scaleChange event should call local method', () => {
50+
it('scale-change event should call local method', () => {
5151
const { componentInstance: myAngularComponent } = fixture;
5252
const fakeOnInput = jest.fn();
5353
myAngularComponent.onInput = fakeOnInput;
54-
myInputEl.triggerEventHandler('scaleChange', { target: { value: 'fired' } });
54+
myInputEl.triggerEventHandler('scale-change', {
55+
target: { value: 'fired' },
56+
});
5557

5658
expect(fakeOnInput).toHaveBeenCalledTimes(1);
5759
expect(fakeOnInput).toHaveBeenCalledWith('fired');
5860
});
5961
});
6062

6163
@Component({
62-
template: `<scale-input type="number" [(ngModel)]="testNumber"></scale-input>`,
64+
template: `<scale-input
65+
type="number"
66+
[(ngModel)]="testNumber"
67+
></scale-input>`,
6368
})
6469
class TestNumberValueAccessorComponent {
6570
testNumber: number = 0;
@@ -87,7 +92,9 @@ describe('ScaleInput - Number Value', () => {
8792
it('should update value to number on myInputEvent', () => {
8893
const { componentInstance: myAngularComponent } = fixture;
8994
myInputEl.nativeElement.value = 50;
90-
myInputEl.nativeElement.dispatchEvent(new CustomEvent('scaleChange', { detail: { value: 50 } }));
95+
myInputEl.nativeElement.dispatchEvent(
96+
new CustomEvent('scale-change', { detail: { value: 50 } })
97+
);
9198
expect(myAngularComponent.testNumber).toEqual(50);
9299
});
93100
});
@@ -129,4 +136,4 @@ describe('ScaleInput - Disabled state', () => {
129136
it('should support setting disabled state via the ValueAccessor', () => {
130137
expect(myInputEl.nativeElement.disabled).toBe(true);
131138
});
132-
});
139+
});

packages/components-angular/__tests__/scale-slider.spec.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { async, ComponentFixture } from '@angular/core/testing';
22

3-
import { ConfigureFn, configureTests } from '../src/config.testing';
4-
import { DebugElement, Component } from '@angular/core';
5-
import { FormsModule, FormBuilder, ReactiveFormsModule } from '@angular/forms';
3+
import { Component, DebugElement } from '@angular/core';
4+
import { FormBuilder, FormsModule, ReactiveFormsModule } from '@angular/forms';
65
import { By } from '@angular/platform-browser';
6+
import { ConfigureFn, configureTests } from '../src/config.testing';
77
import { ComponentLibraryModule } from '../src/index';
88

99
@Component({
@@ -41,16 +41,18 @@ describe('ScaleSlider - Number Value', () => {
4141
const { componentInstance: myAngularComponent } = fixture;
4242
myInputEl.nativeElement.value = 50;
4343
myInputEl.nativeElement.dispatchEvent(
44-
new CustomEvent('scaleChange', { detail: { value: 50 } }),
44+
new CustomEvent('scale-change', { detail: { value: 50 } })
4545
);
4646
expect(myAngularComponent.testNumber).toEqual(50);
4747
});
4848

49-
it('scaleChange event should call local method', () => {
49+
it('scale-change event should call local method', () => {
5050
const { componentInstance: myAngularComponent } = fixture;
5151
const fakeOnInput = jest.fn();
5252
myAngularComponent.onInput = fakeOnInput;
53-
myInputEl.triggerEventHandler('scaleChange', { target: { value: 'fired' } });
53+
myInputEl.triggerEventHandler('scale-change', {
54+
target: { value: 'fired' },
55+
});
5456

5557
expect(fakeOnInput).toHaveBeenCalledTimes(1);
5658
expect(fakeOnInput).toHaveBeenCalledWith('fired');
@@ -94,4 +96,4 @@ describe('ScaleSlider - Disabled state', () => {
9496
it('should support setting disabled state via the ValueAccessor', () => {
9597
expect(myInputEl.nativeElement.disabled).toBe(true);
9698
});
97-
});
99+
});

packages/components-angular/package.json

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -33,33 +33,33 @@
3333
],
3434
"dependencies": {
3535
"@ionic/angular": "^5.3.1",
36-
"tslib": "^1.9.3"
36+
"tslib": "^2.8.1"
3737
},
3838
"peerDependencies": {
39-
"@angular-devkit/core": "^7.2.1",
40-
"@angular-devkit/schematics": "^7.2.1",
41-
"@angular/common": "^7.2.1",
42-
"@angular/compiler": "^7.2.1",
43-
"@angular/compiler-cli": "^7.2.1",
44-
"@angular/core": "^7.2.1",
45-
"@angular/forms": "^7.2.1",
46-
"@angular/platform-browser": "^7.2.1",
47-
"@angular/platform-browser-dynamic": "^7.2.1",
48-
"@angular/router": "^7.2.1",
39+
"@angular-devkit/core": "^20.0.5",
40+
"@angular-devkit/schematics": "^20.0.5",
41+
"@angular/common": "^20.0.6",
42+
"@angular/compiler": "^20.0.6",
43+
"@angular/compiler-cli": "^20.0.6",
44+
"@angular/core": "^20.0.6",
45+
"@angular/forms": "^20.0.6",
46+
"@angular/platform-browser": "^20.0.6",
47+
"@angular/platform-browser-dynamic": "^20.0.6",
48+
"@angular/router": "^20.0.6",
4949
"rxjs": ">=6.2.0",
5050
"zone.js": "^0.8.26"
5151
},
5252
"devDependencies": {
53-
"@angular-devkit/core": "^7.2.1",
54-
"@angular-devkit/schematics": "^7.2.1",
55-
"@angular/common": "^7.2.1",
56-
"@angular/compiler": "^7.2.1",
57-
"@angular/compiler-cli": "^7.2.1",
58-
"@angular/core": "^7.2.1",
59-
"@angular/forms": "^7.2.1",
60-
"@angular/platform-browser": "^7.2.1",
61-
"@angular/platform-browser-dynamic": "^7.2.1",
62-
"@angular/router": "^7.2.1",
53+
"@angular-devkit/core": "^20.0.5",
54+
"@angular-devkit/schematics": "^20.0.5",
55+
"@angular/common": "^20.0.6",
56+
"@angular/compiler": "^20.0.6",
57+
"@angular/compiler-cli": "^20.0.6",
58+
"@angular/core": "^20.0.6",
59+
"@angular/forms": "^20.0.6",
60+
"@angular/platform-browser": "^20.0.6",
61+
"@angular/platform-browser-dynamic": "^20.0.6",
62+
"@angular/router": "^20.0.6",
6363
"@types/jest": "^25.2.3",
6464
"@types/node": "~10.12.0",
6565
"fs-extra": "^7.0.0",
@@ -70,9 +70,10 @@
7070
"rollup-plugin-node-resolve": "^4.0.0",
7171
"rxjs": "^6.2.0",
7272
"tsickle": "^0.34.0",
73+
"tslib": "^2.8.1",
7374
"tslint": "^5.12.1",
7475
"tslint-ionic-rules": "0.0.21",
75-
"typescript": "3.2.4",
76+
"typescript": "^5.8.3",
7677
"zone.js": "^0.8.28"
7778
},
7879
"jest": {

0 commit comments

Comments
 (0)