Skip to content

Commit 544ffdf

Browse files
authored
Merge pull request #29186 from storybookjs/version-patch-from-8.3.2
Release: Patch 8.3.3
2 parents ee03ab0 + bfc73ac commit 544ffdf

File tree

8 files changed

+21
-14
lines changed

8 files changed

+21
-14
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 8.3.3
2+
3+
- CLI: Show constraints in error when getting depndencies - [#29187](https://github.com/storybookjs/storybook/pull/29187), thanks @andrasczeh!
4+
- React-Vite: Downgrade react-docgen-typescript plugin - [#29184](https://github.com/storybookjs/storybook/pull/29184), thanks @shilman!
5+
- UI: Fix composed storybook TooltipLinkList bug where href isn't passed forward - [#29175](https://github.com/storybookjs/storybook/pull/29175), thanks @JSMike!
6+
17
## 8.3.2
28

39
- CLI: Fix skip-install for stable latest releases - [#29133](https://github.com/storybookjs/storybook/pull/29133), thanks @valentinpalkovic!

code/core/src/common/js-package-manager/JsPackageManager.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ export abstract class JsPackageManager {
418418
.find((version) => satisfies(version, constraint));
419419
invariant(
420420
latestVersionSatisfyingTheConstraint != null,
421-
'No version satisfying the constraint.'
421+
`No version satisfying the constraint: ${packageName}${constraint}`
422422
);
423423
return latestVersionSatisfyingTheConstraint;
424424
}

code/core/src/components/components/tooltip/ListItem.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const getItemProps = memoize(100)((onClick, href, LinkWrapper) => ({
169169

170170
export type LinkWrapperType = (props: any) => ReactNode;
171171

172-
export interface ListItemProps extends Omit<ComponentProps<typeof Item>, 'href' | 'title'> {
172+
export interface ListItemProps extends Omit<ComponentProps<typeof Item>, 'title'> {
173173
loading?: boolean;
174174
title?: ReactNode;
175175
center?: ReactNode;

code/core/src/components/components/tooltip/TooltipLinkList.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export interface Link extends Omit<ListItemProps, 'onClick'> {
2222
id: string;
2323
onClick?: (
2424
event: SyntheticEvent,
25-
item: Pick<ListItemProps, 'id' | 'active' | 'disabled' | 'title'>
25+
item: Pick<ListItemProps, 'id' | 'active' | 'disabled' | 'title' | 'href'>
2626
) => void;
2727
}
2828

@@ -31,11 +31,11 @@ interface ItemProps extends Link {
3131
}
3232

3333
const Item = ({ id, onClick, ...rest }: ItemProps) => {
34-
const { active, disabled, title } = rest;
34+
const { active, disabled, title, href } = rest;
3535

3636
const handleClick = useCallback(
37-
(event: SyntheticEvent) => onClick?.(event, { id, active, disabled, title }),
38-
[onClick, id, active, disabled, title]
37+
(event: SyntheticEvent) => onClick?.(event, { id, active, disabled, title, href }),
38+
[onClick, id, active, disabled, title, href]
3939
);
4040

4141
return <ListItem id={`list-item-${id}`} {...rest} {...(onClick && { onClick: handleClick })} />;

code/frameworks/react-vite/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"prep": "jiti ../../../scripts/prepare/bundle.ts"
4848
},
4949
"dependencies": {
50-
"@joshwooding/vite-plugin-react-docgen-typescript": "0.3.1",
50+
"@joshwooding/vite-plugin-react-docgen-typescript": "0.3.0",
5151
"@rollup/pluginutils": "^5.0.2",
5252
"@storybook/builder-vite": "workspace:*",
5353
"@storybook/react": "workspace:*",

code/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -295,5 +295,6 @@
295295
"Dependency Upgrades"
296296
]
297297
]
298-
}
298+
},
299+
"deferredNextVersion": "8.3.3"
299300
}

code/yarn.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -3677,9 +3677,9 @@ __metadata:
36773677
languageName: node
36783678
linkType: hard
36793679

3680-
"@joshwooding/vite-plugin-react-docgen-typescript@npm:0.3.1":
3681-
version: 0.3.1
3682-
resolution: "@joshwooding/vite-plugin-react-docgen-typescript@npm:0.3.1"
3680+
"@joshwooding/vite-plugin-react-docgen-typescript@npm:0.3.0":
3681+
version: 0.3.0
3682+
resolution: "@joshwooding/vite-plugin-react-docgen-typescript@npm:0.3.0"
36833683
dependencies:
36843684
glob: "npm:^7.2.0"
36853685
glob-promise: "npm:^4.2.0"
@@ -3691,7 +3691,7 @@ __metadata:
36913691
peerDependenciesMeta:
36923692
typescript:
36933693
optional: true
3694-
checksum: 10c0/a9c7a03d7d1daf5bd64949255516ba64c88d5600366c8c74dcdb6f37c2a6099daaec02860b7587d2220e61afa47a0b2de17ef70d723c2db02f24e0890edfd9f3
3694+
checksum: 10c0/31098ad8fcc2440437534599c111d9f2951dd74821e8ba46c521b969bae4c918d830b7bb0484efbad29a51711bb62d3bc623d5a1ed5b1695b5b5594ea9dd4ca0
36953695
languageName: node
36963696
linkType: hard
36973697

@@ -6708,7 +6708,7 @@ __metadata:
67086708
version: 0.0.0-use.local
67096709
resolution: "@storybook/react-vite@workspace:frameworks/react-vite"
67106710
dependencies:
6711-
"@joshwooding/vite-plugin-react-docgen-typescript": "npm:0.3.1"
6711+
"@joshwooding/vite-plugin-react-docgen-typescript": "npm:0.3.0"
67126712
"@rollup/pluginutils": "npm:^5.0.2"
67136713
"@storybook/builder-vite": "workspace:*"
67146714
"@storybook/react": "workspace:*"

docs/versions/latest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"8.3.2","info":{"plain":"- CLI: Fix skip-install for stable latest releases - [#29133](https://github.com/storybookjs/storybook/pull/29133), thanks @valentinpalkovic!\n- Core: Do not add packageManager field to package.json during `storybook dev` - [#29152](https://github.com/storybookjs/storybook/pull/29152), thanks @valentinpalkovic!"}}
1+
{"version":"8.3.3","info":{"plain":"- CLI: Show constraints in error when getting depndencies - [#29187](https://github.com/storybookjs/storybook/pull/29187), thanks @andrasczeh!\n- React-Vite: Downgrade react-docgen-typescript plugin - [#29184](https://github.com/storybookjs/storybook/pull/29184), thanks @shilman!\n- UI: Fix composed storybook TooltipLinkList bug where href isn't passed forward - [#29175](https://github.com/storybookjs/storybook/pull/29175), thanks @JSMike!"}}

0 commit comments

Comments
 (0)