Skip to content

Commit

Permalink
chore(deps): update React dependencies to v19 (major)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgonzalezr committed Jan 31, 2025
1 parent e4157b3 commit d5439de
Show file tree
Hide file tree
Showing 10 changed files with 681 additions and 526 deletions.
1,172 changes: 665 additions & 507 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"@angular/core": "18.2.13",
"@angular/forms": "18.2.13",
"@angular/router": "18.2.13",
"react": "18.3.1",
"react-dom": "18.3.1",
"react": "19.0.0",
"react-dom": "19.0.0",
"rxjs": "7.8.1",
"tslib": "2.8.1",
"zone.js": "0.14.10"
Expand Down Expand Up @@ -105,8 +105,8 @@
"@types/jest": "29.5.14",
"@types/mdx": "2.0.13",
"@types/node": "22.10.5",
"@types/react": "18.3.18",
"@types/react-dom": "18.3.5",
"@types/react": "19.0.8",
"@types/react-dom": "19.0.3",
"autoprefixer": "10.4.20",
"babel-jest": "29.7.0",
"cem-plugin-custom-jsdoc-tags": "1.1.2",
Expand Down
3 changes: 1 addition & 2 deletions packages/beeq-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"module": "dist/esm2015/index.js",
"types": "index.d.ts",
"dependencies": {
"@beeq/core": "^1.8.2",
"tslib": "^2.6.3"
"@beeq/core": "^1.8.2"
},
"peerDependencies": {
"@angular/common": ">=14.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/beeq-react/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = [
'@nx/dependency-checks': [
'error',
{
ignoredDependencies: ['@beeq/core', '@stencil/react-output-target', 'react', 'react-dom'],
ignoredDependencies: ['@beeq/core', '@stencil/react-output-target', 'react', 'react-dom', 'tslib'],
},
],
},
Expand Down
7 changes: 3 additions & 4 deletions packages/beeq-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
"types": "./src/index.d.ts",
"dependencies": {
"@beeq/core": "^1.8.2",
"@stencil/react-output-target": "^0.7.1"
"@stencil/react-output-target": "^0.8.2"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0",
"tslib": "^2.6.3"
"react": "^18 || ^19",
"react-dom": "^18 || ^19"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/beeq-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "./index.esm.js",
"types": "./src/index.d.ts",
"peerDependencies": {
"tailwindcss": "^3.4.4",
"tailwindcss": "^3.4.17",
"tailwindcss-theme-swapper": "^0.12.0"
},
"repository": {
Expand Down
3 changes: 1 addition & 2 deletions packages/beeq-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"types": "./src/index.d.ts",
"dependencies": {
"@beeq/core": "^1.8.2",
"@stencil/vue-output-target": "^0.9.0",
"tslib": "^2.6.3"
"@stencil/vue-output-target": "^0.9.4"
},
"peerDependencies": {
"vue": ">=3.3.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/beeq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@floating-ui/core": "^1.6.9",
"@floating-ui/dom": "^1.6.13",
"@stencil/core": "^4.23.1",
"@stencil/core": "^4.25.1",
"cally": "^0.7.2"
},
"repository": {
Expand Down
8 changes: 4 additions & 4 deletions packages/beeq/src/components/date-picker/bq-date-picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ export class BqDatePicker {
this.hasSuffix = hasSlotContent(this.suffixElem);
};

private generateCalendarMonth = (offset?: number, className = ''): JSX.Element => {
private generateCalendarMonth = (offset?: number, className = ''): Element => {
return (
<calendar-month
offset={offset}
Expand All @@ -519,7 +519,7 @@ export class BqDatePicker {
};

/**
* Generates an array of JSX.Element representing calendar months.
* Generates an array of Elements representing the calendar months.
*
* If the type of the date picker is 'range' or 'multi' and the number of months is specified,
* it generates an array of calendar months with the specified length. Each month will have an offset
Expand All @@ -529,9 +529,9 @@ export class BqDatePicker {
* If the type of the date picker is not 'range' or 'multi', or if the number of months is not specified,
* it generates an array with a single calendar month.
*
* @returns {JSX.Element[]} An array of JSX.Element representing calendar months.
* @returns {Element[]} An array of elements representing the calendar months.
*/
private generateCalendarMonths = (): JSX.Element[] => {
private generateCalendarMonths = (): Element[] => {
if (this.type === 'range' || (this.type === 'multi' && this.months)) {
return Array.from({ length: this.months }, (_, i) => {
const offset = i > 0 ? i : undefined;
Expand Down
File renamed without changes.

0 comments on commit d5439de

Please sign in to comment.