Skip to content

Commit

Permalink
chore: Bump dependencies (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur- authored Jun 24, 2024
1 parent 5e34867 commit 4eafb87
Show file tree
Hide file tree
Showing 11 changed files with 1,025 additions and 1,827 deletions.
2 changes: 1 addition & 1 deletion dev/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion dev/kitchen-sink/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion dev/page.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
2,745 changes: 979 additions & 1,766 deletions package-lock.json

Large diffs are not rendered by default.

60 changes: 30 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,39 +32,39 @@
},
"devDependencies": {
"@esm-bundle/chai": "^4.3.4-fix.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/chai-as-promised": "^7.1.7",
"@types/chai-dom": "^1.11.0",
"@types/karma": "^6.3.4",
"@types/karma-chrome-launcher": "^3.1.1",
"@types/karma-mocha": "^1.3.1",
"@types/mocha": "^10.0.1",
"@types/sinon": "^17.0.2",
"@vitejs/plugin-react": "^4.2.1",
"chai-as-promised": "^7.1.1",
"chai-dom": "^1.11.0",
"concurrently": "^8.2.0",
"esbuild": "^0.18.2",
"glob": "^10.2.7",
"json-schema-to-typescript": "^13.0.2",
"karma": "^6.4.2",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/chai-as-promised": "^7.1.8",
"@types/chai-dom": "^1.11.3",
"@types/karma": "^6.3.8",
"@types/karma-chrome-launcher": "^3.1.4",
"@types/karma-mocha": "^1.3.4",
"@types/mocha": "^10.0.6",
"@types/sinon": "^17.0.3",
"@vitejs/plugin-react": "^4.3.1",
"chai-as-promised": "^8.0.0",
"chai-dom": "^1.12.0",
"concurrently": "^8.2.2",
"esbuild": "^0.21.5",
"glob": "^10.4.1",
"json-schema-to-typescript": "^14.0.5",
"karma": "^6.4.3",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.0",
"karma-esbuild": "^2.2.5",
"karma-coverage": "^2.2.1",
"karma-esbuild": "^2.3.0",
"karma-mocha": "^2.0.1",
"karma-vite": "^1.0.5",
"lint-staged": "^13.2.2",
"micromatch": "^4.0.5",
"mocha": "^10.2.0",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"simple-git-hooks": "^2.8.1",
"sinon": "^17.0.1",
"tsx": "^3.12.7",
"type-fest": "^3.11.1",
"typescript": "^5.1.3",
"vite": "^5.0.10"
"lint-staged": "^15.2.5",
"micromatch": "^4.0.7",
"mocha": "^10.4.0",
"prettier": "^3.3.2",
"rimraf": "^5.0.7",
"simple-git-hooks": "^2.11.1",
"sinon": "^18.0.0",
"tsx": "^4.15.2",
"type-fest": "^4.20.0",
"typescript": "^5.4.5",
"vite": "^5.2.13"
},
"workspaces": [
"packages/*"
Expand Down
4 changes: 2 additions & 2 deletions packages/react-components-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"version": "tsx ../../scripts/package-json-version.ts"
},
"dependencies": {
"@lit/react": "^1.0.0",
"@lit/react": "^1.0.5",
"@vaadin/board": "24.5.0-alpha3",
"@vaadin/charts": "24.5.0-alpha3",
"@vaadin/cookie-consent": "24.5.0-alpha3",
Expand Down Expand Up @@ -132,4 +132,4 @@
"./utils/createComponent.js": "./utils/createComponent.js",
"./utils/createComponent.js.map": "./utils/createComponent.js.map"
}
}
}
11 changes: 3 additions & 8 deletions packages/react-components-pro/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@
"noEmit": false,
"emitDeclarationOnly": true
},
"include": [
"./src",
],
"exclude": [
"node_modules",
"dist"
]
}
"include": ["./src"],
"exclude": ["node_modules", "dist"]
}
4 changes: 2 additions & 2 deletions packages/react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"version": "tsx ../../scripts/package-json-version.ts"
},
"dependencies": {
"@lit/react": "^1.0.0",
"@lit/react": "^1.0.5",
"@vaadin/a11y-base": "24.5.0-alpha3",
"@vaadin/accordion": "24.5.0-alpha3",
"@vaadin/app-layout": "24.5.0-alpha3",
Expand Down Expand Up @@ -528,4 +528,4 @@
"./renderers/useSimpleRenderer.js": "./renderers/useSimpleRenderer.js",
"./renderers/useSimpleRenderer.js.map": "./renderers/useSimpleRenderer.js.map"
}
}
}
9 changes: 2 additions & 7 deletions packages/react-components/src/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,13 @@ type OmittedPopoverHTMLAttributes = Omit<
'id' | 'className' | 'dangerouslySetInnerHTML' | 'slot'
>;

export type PopoverProps = Partial<
Omit<_PopoverProps, 'children' | 'renderer' | keyof OmittedPopoverHTMLAttributes>
> &
export type PopoverProps = Partial<Omit<_PopoverProps, 'children' | 'renderer' | keyof OmittedPopoverHTMLAttributes>> &
Readonly<{
children?: ReactNode | ComponentType<PopoverReactRendererProps>;
renderer?: ComponentType<PopoverReactRendererProps> | null;
}>;

function Popover(
{ children, ...props }: PopoverProps,
ref: ForwardedRef<PopoverElement>,
): ReactElement | null {
function Popover({ children, ...props }: PopoverProps, ref: ForwardedRef<PopoverElement>): ReactElement | null {
const [portals, renderer] = useSimpleOrChildrenRenderer(props.renderer, children);

return (
Expand Down
11 changes: 3 additions & 8 deletions packages/react-components/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@
"noEmit": false,
"emitDeclarationOnly": true
},
"include": [
"./src",
],
"exclude": [
"node_modules",
"dist"
]
}
"include": ["./src"],
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function detectEntryPoints(patterns: string[], ignore: string[] = []) {
})
)
.map((file) => new URL(file, srcURL))
.map(fileURLToPath);
.map((url) => fileURLToPath(url));
}

const commonOptions = {
Expand Down

0 comments on commit 4eafb87

Please sign in to comment.