Skip to content

Commit

Permalink
fix: update @stencil/core dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Jan 23, 2023
1 parent b34d635 commit df07642
Show file tree
Hide file tree
Showing 4 changed files with 304 additions and 181 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@lerna-lite/cli": "^1.13.0",
"@lerna-lite/cli": "^1.14.2",
"@sapphire/eslint-config": "^4.3.8",
"@sapphire/prettier-config": "^1.4.5",
"@sapphire/ts-config": "^3.3.4",
"@stencil/react-output-target": "^0.3.1",
"@stencil/react-output-target": "^0.4.0",
"@types/node": "^18.11.18",
"@types/react": "^18.0.26",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.4",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.0",
"eslint-plugin-react": "^7.32.1",
"eslint-plugin-react-hooks": "^4.6.0",
"gen-esm-wrapper": "^1.1.3",
"husky": "^8.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"generate": "stencil generate"
},
"dependencies": {
"@stencil/core": "^2.21.0",
"@stencil/core": "^2.22.1",
"clsx": "^1.2.1",
"hex-to-rgba": "^2.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/react-component-lib/createComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const createReactComponent = <PropType, ElementType extends HTMLStencilEl
render() {
const { children, forwardedRef, style, className, ref, ...cProps } = this.props;

let propsToPass = Object.keys(cProps).reduce((acc: any, name) => {
let propsToPass = Object.keys(cProps).reduce<ExpandedPropsTypes>((acc: any, name) => {
const value = (cProps as any)[name];

if (name.startsWith('on') && name[2] === name[2].toUpperCase()) {
Expand Down
Loading

0 comments on commit df07642

Please # to comment.