Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update stencil #3702

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/components-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"@swisspost/design-system-components": "workspace:9.0.0-next.3"
},
"devDependencies": {
"@stencil/react-output-target": "0.7.3",
"@types/node": "20.14.14",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/components-react/src/components/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/components-react/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
'use client';
export * from './components';
export * from './stencil-generated/components';
13 changes: 4 additions & 9 deletions packages/components-react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"experimentalDecorators": true,
"esModuleInterop": true,
"lib": ["dom", "es2015"],
"module": "es2015",
"moduleResolution": "node",
"module": "esnext",
"moduleResolution": "bundler",
"noImplicitAny": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
Expand All @@ -19,13 +19,8 @@
"jsx": "react",
"target": "es2015"
},
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"**/__tests__/**"
],
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["**/__tests__/**"],
"compileOnSave": false,
"buildOnSave": false
}
6 changes: 3 additions & 3 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
"@percy/cli": "1.29.1",
"@percy/cypress": "3.1.2",
"@stencil-community/eslint-plugin": "0.8.0",
"@stencil/angular-output-target": "0.8.4",
"@stencil/core": "4.19.2",
"@stencil/react-output-target": "0.5.3",
"@stencil/angular-output-target": "0.9.1",
"@stencil/core": "4.22.1",
"@stencil/react-output-target": "0.7.3",
"@stencil/sass": "3.0.12",
"@types/jest": "29.5.12",
"@types/node": "20.14.14",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ declare global {
new (): HTMLPostTabPanelElement;
};
interface HTMLPostTabsElementEventMap {
"postChange": HTMLPostTabPanelElement['name'];
"postChange": string;
}
interface HTMLPostTabsElement extends Components.PostTabs, HTMLStencilElement {
addEventListener<K extends keyof HTMLPostTabsElementEventMap>(type: K, listener: (this: HTMLPostTabsElement, ev: PostTabsCustomEvent<HTMLPostTabsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
Expand Down Expand Up @@ -871,7 +871,7 @@ declare namespace LocalJSX {
/**
* An event emitted after the active tab changes, when the fade in transition of its associated panel is finished. The payload is the name of the newly shown panel.
*/
"onPostChange"?: (event: PostTabsCustomEvent<HTMLPostTabPanelElement['name']>) => void;
"onPostChange"?: (event: PostTabsCustomEvent<string>) => void;
}
interface PostTag {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class PostTabs {
* An event emitted after the active tab changes, when the fade in transition of its associated panel is finished.
* The payload is the name of the newly shown panel.
*/
@Event() postChange: EventEmitter<HTMLPostTabPanelElement['name']>;
@Event() postChange: EventEmitter<string>;

componentDidLoad() {
this.moveMisplacedTabs();
Expand Down
6 changes: 3 additions & 3 deletions packages/components/stencil.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const config: Config = {
},
{
type: 'dist-custom-elements',
externalRuntime: false,
},
{
type: 'dist-custom-elements',
Expand All @@ -46,9 +47,8 @@ export const config: Config = {
file: 'dist/docs.json',
},
reactOutputTarget({
componentCorePackage: '@swisspost/design-system-components',
proxiesFile: '../components-react/src/components/stencil-generated/index.ts',
includeDefineCustomElements: true,
stencilPackageName: '@swisspost/design-system-components',
outDir: '../components-react/src/stencil-generated',
}),
angularOutputTarget({
componentCorePackage: '@swisspost/design-system-components',
Expand Down
2 changes: 1 addition & 1 deletion packages/internet-header/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@percy/cli": "1.29.1",
"@percy/cypress": "3.1.2",
"@stencil-community/eslint-plugin": "0.8.0",
"@stencil/core": "4.19.2",
"@stencil/core": "4.22.1",
"@stencil/sass": "3.0.12",
"@stencil/store": "2.0.16",
"@types/body-scroll-lock": "3.1.2",
Expand Down
696 changes: 499 additions & 197 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Loading