Skip to content

Commit 00198f0

Browse files
authored
feat: bump all react-aria packages (#1743)
1 parent d0c889e commit 00198f0

File tree

26 files changed

+1544
-1465
lines changed

26 files changed

+1544
-1465
lines changed

.changeset/soft-parts-sort.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
"@launchpad-ui/components": minor
3+
"@launchpad-ui/focus-trap": minor
4+
"@launchpad-ui/navigation": minor
5+
"@launchpad-ui/dropdown": minor
6+
"@launchpad-ui/overlay": minor
7+
"@launchpad-ui/popover": minor
8+
"@launchpad-ui/tooltip": minor
9+
"@launchpad-ui/button": minor
10+
"@launchpad-ui/drawer": minor
11+
"@launchpad-ui/filter": minor
12+
"@launchpad-ui/portal": minor
13+
"@launchpad-ui/tokens": minor
14+
"@launchpad-ui/icons": minor
15+
"@launchpad-ui/modal": minor
16+
"@launchpad-ui/table": minor
17+
"@launchpad-ui/core": minor
18+
"@launchpad-ui/form": minor
19+
"@launchpad-ui/menu": minor
20+
"@launchpad-ui/vars": minor
21+
"@launchpad-ui/box": minor
22+
"launchpad-design-system": minor
23+
---
24+
25+
Bump all react-aria packages

.syncpackrc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,21 @@
1111
"specifierTypes": [
1212
"workspace-protocol"
1313
]
14+
},
15+
{
16+
"dependencyTypes": [
17+
"peer",
18+
"dev",
19+
"prod"
20+
],
21+
"label": "Peer deps must be up to date",
22+
"dependencies": [
23+
"*"
24+
],
25+
"specifierTypes": [
26+
"exact"
27+
],
28+
"preferVersion": "highestSemver"
1429
}
1530
]
1631
}

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"version": "0.0.1",
55
"description": "LaunchDarkly's design system",
66
"scripts": {
7+
"postinstall": "syncpack lint",
78
"build": "nx run-many --target=build --all",
89
"build:packages": "nx affected --target=build",
910
"build:transform": "nx run-many --target=build --projects=@launchpad-ui/tokens",
@@ -19,7 +20,8 @@
1920
"test:watch": "vitest",
2021
"prepare": "husky",
2122
"release": "nx affected --target=build --base=HEAD~1 --head=HEAD --exclude=launchpad-design-system && changeset publish",
22-
"typecheck": "pnpm build:transform && tsc --noEmit --emitDeclarationOnly false --skipLibCheck --moduleResolution bundler --lib 'es2024, dom, dom.iterable'"
23+
"typecheck": "pnpm build:transform && tsc --noEmit --emitDeclarationOnly false --skipLibCheck --moduleResolution bundler --lib 'es2024, dom, dom.iterable'",
24+
"upgrade-react-aria": "pnpm up react-aria \"@react-aria/*\" \"@react-types/*\" \"@react-stately/*\" react-aria-components react react-dom @types/react @types/react-dom --latest -r"
2325
},
2426
"repository": {
2527
"type": "git",
@@ -50,8 +52,8 @@
5052
"@testing-library/user-event": "^14.6.0",
5153
"@types/css-modules": "^1.0.5",
5254
"@types/node": "^22.15.3",
53-
"@types/react": "^19.1.1",
54-
"@types/react-dom": "^19.1.2",
55+
"@types/react": "^19.1.10",
56+
"@types/react-dom": "^19.1.7",
5557
"@vanilla-extract/css": "^1.17.1",
5658
"@vanilla-extract/vite-plugin": "^5.1.0",
5759
"@vitejs/plugin-react-oxc": "^0.2.0",
@@ -67,8 +69,8 @@
6769
"lightningcss": "^1.30.1",
6870
"lint-staged": "^16.0.0",
6971
"nx": "21.2.1",
70-
"react": "19.1.0",
71-
"react-dom": "19.1.0",
72+
"react": "19.1.1",
73+
"react-dom": "19.1.1",
7274
"react-router": "7.5.2",
7375
"rollup-plugin-pure": "^0.4.0",
7476
"storybook": "^9.0.9",

packages/box/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
},
4747
"peerDependencies": {
4848
"@vanilla-extract/css": "^1.17.1",
49-
"react": "19.1.0",
50-
"react-dom": "19.1.0"
49+
"react": "19.1.1",
50+
"react-dom": "19.1.1"
5151
},
5252
"devDependencies": {
5353
"flat": "^6.0.1",
54-
"react": "19.1.0",
55-
"react-dom": "19.1.0"
54+
"react": "19.1.1",
55+
"react-dom": "19.1.1"
5656
}
5757
}

packages/button/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@
4242
"classix": "2.2.0"
4343
},
4444
"peerDependencies": {
45-
"react": "19.1.0",
46-
"react-dom": "19.1.0"
45+
"react": "19.1.1",
46+
"react-dom": "19.1.1"
4747
},
4848
"devDependencies": {
49-
"react": "19.1.0",
50-
"react-dom": "19.1.0"
49+
"react": "19.1.1",
50+
"react-dom": "19.1.1"
5151
}
5252
}

packages/components/package.json

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -45,30 +45,20 @@
4545
"class-variance-authority": "0.7.0"
4646
},
4747
"peerDependencies": {
48-
"react": "19.1.0",
49-
"react-dom": "19.1.0",
50-
"@react-aria/focus": "3.20.5",
51-
"@react-aria/interactions": "3.25.3",
52-
"@react-aria/utils": "3.29.1",
53-
"@react-stately/utils": "3.10.7",
54-
"@react-types/shared": "3.30.0",
55-
"react-aria": "3.41.1",
56-
"react-aria-components": "1.10.1",
48+
"@react-aria/focus": "3.21.0",
49+
"@react-aria/interactions": "3.25.4",
50+
"@react-aria/utils": "3.30.0",
51+
"@react-stately/utils": "3.10.8",
52+
"@react-types/shared": "3.31.0",
53+
"react": "19.1.1",
54+
"react-aria": "3.42.0",
55+
"react-aria-components": "1.11.0",
56+
"react-dom": "19.1.1",
5757
"react-router": "7.5.2"
5858
},
5959
"devDependencies": {
60-
"react": "19.1.0",
61-
"react-dom": "19.1.0",
60+
"copyfiles": "2.4.1",
6261
"react-hook-form": "7.59.0",
63-
"react-stately": "3.39.0",
64-
"@react-aria/focus": "3.20.5",
65-
"@react-aria/interactions": "3.25.3",
66-
"@react-aria/utils": "3.29.1",
67-
"@react-stately/utils": "3.10.7",
68-
"@react-types/shared": "3.30.0",
69-
"react-aria": "3.41.1",
70-
"react-aria-components": "1.10.1",
71-
"react-router": "7.5.2",
72-
"copyfiles": "2.4.1"
62+
"react-stately": "3.39.0"
7363
}
7464
}

packages/components/src/GridList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ interface GridListProps<T extends object> extends AriaGridListProps<T> {
2626
}
2727

2828
interface GridListItemProps<T extends object> extends AriaGridListItemProps<T> {
29-
ref?: Ref<T>;
29+
ref?: Ref<HTMLDivElement>;
3030
}
3131

3232
// biome-ignore lint/suspicious/noExplicitAny: ignore

packages/components/src/ListBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ interface ListBoxProps<T> extends AriaListBoxProps<T> {
2525
ref?: Ref<HTMLDivElement>;
2626
}
2727
interface ListBoxItemProps<T> extends AriaListBoxItemProps<T> {
28-
ref?: Ref<T>;
28+
ref?: Ref<HTMLDivElement>;
2929
}
3030

3131
// biome-ignore lint/suspicious/noExplicitAny: ignore

packages/components/src/Menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ interface MenuProps<T> extends AriaMenuProps<T> {
4040
ref?: Ref<HTMLDivElement>;
4141
}
4242
interface MenuItemProps<T> extends AriaMenuItemProps<T>, VariantProps<typeof menuItemStyles> {
43-
ref?: Ref<T>;
43+
ref?: Ref<HTMLDivElement>;
4444
}
4545

4646
// biome-ignore lint/suspicious/noExplicitAny: ignore

packages/core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
"@launchpad-ui/tooltip": "workspace:~"
5454
},
5555
"peerDependencies": {
56-
"react": "19.1.0",
57-
"react-dom": "19.1.0"
56+
"react": "19.1.1",
57+
"react-dom": "19.1.1"
5858
},
5959
"devDependencies": {
60-
"react": "19.1.0",
61-
"react-dom": "19.1.0"
60+
"react": "19.1.1",
61+
"react-dom": "19.1.1"
6262
}
6363
}

0 commit comments

Comments
 (0)