Skip to content

Commit 27b2d0d

Browse files
authored
Merge pull request #32832 from storybookjs/version-non-patch-from-10.0.0-rc.1
Release: Prerelease 10.0.0-rc.2
2 parents a02c08b + b5f41bf commit 27b2d0d

File tree

31 files changed

+181
-219
lines changed

31 files changed

+181
-219
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 9.1.15
2+
3+
- Core: Add `preview-first-load` telemetry - [#32770](https://github.com/storybookjs/storybook/pull/32770), thanks @shilman!
4+
- Dependencies: Update `vite-plugin-storybook-nextjs` - [#32821](https://github.com/storybookjs/storybook/pull/32821), thanks @ndelangen!
5+
16
## 9.1.14
27

38
- NextJS: Add NextJS 16 support - [#32791](https://github.com/storybookjs/storybook/pull/32791), thanks @yannbf and @ndelangen!

CHANGELOG.prerelease.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## 10.0.0-rc.2
2+
3+
- CLI: Fix Nextjs project creation in empty directories - [#32828](https://github.com/storybookjs/storybook/pull/32828), thanks @yannbf!
4+
- CLI: Switch over to modern-tar - [#32763](https://github.com/storybookjs/storybook/pull/32763), thanks @ayuhito!
5+
- Core: Add parameter typings for addon-pseudo-state - [#32384](https://github.com/storybookjs/storybook/pull/32384), thanks @mrginglymus!
6+
- Core: Dedupe aria-query and @testing-library/dom packages - [#32801](https://github.com/storybookjs/storybook/pull/32801), thanks @mrginglymus!
7+
- Core: Improve es-toolkit usage for better tree-shaking - [#32787](https://github.com/storybookjs/storybook/pull/32787), thanks @mrginglymus!
8+
- Core: Replace es-toolkit compat imports with non-compat - [#32837](https://github.com/storybookjs/storybook/pull/32837), thanks @mrginglymus!
9+
- React: Simplify version detection - [#32802](https://github.com/storybookjs/storybook/pull/32802), thanks @mrginglymus!
10+
- Vite: Optimize @storybook/addon-docs/blocks dependency - [#32798](https://github.com/storybookjs/storybook/pull/32798), thanks @mrginglymus!
11+
112
## 10.0.0-rc.1
213

314
- Addon-Vitest: Support Vitest 4 - [#32819](https://github.com/storybookjs/storybook/pull/32819), thanks @yannbf!

code/.storybook/manager.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { startCase } from 'es-toolkit/compat';
1+
import { startCase } from 'es-toolkit/string';
22
import { addons } from 'storybook/manager-api';
33

44
addons.setConfig({

code/addons/docs/src/blocks/components/ArgsTable/ArgValue.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { SyntaxHighlighter, WithTooltipPure, codeCommon } from 'storybook/intern
55

66
import { ChevronSmallDownIcon, ChevronSmallUpIcon } from '@storybook/icons';
77

8-
import { uniq } from 'es-toolkit/compat';
8+
import { uniq } from 'es-toolkit/array';
99
import memoize from 'memoizerific';
1010
import { styled } from 'storybook/theming';
1111

code/addons/docs/src/blocks/components/ArgsTable/ArgsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { includeConditionalArg } from 'storybook/internal/csf';
77

88
import { DocumentIcon, UndoIcon } from '@storybook/icons';
99

10-
import { pickBy } from 'es-toolkit/compat';
10+
import { pickBy } from 'es-toolkit/object';
1111
import { transparentize } from 'polished';
1212
import { styled } from 'storybook/theming';
1313

code/addons/docs/src/blocks/controls/Color.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Form, TooltipNote, WithTooltip } from 'storybook/internal/components';
66
import { MarkupIcon } from '@storybook/icons';
77

88
import convert from 'color-convert';
9-
import { debounce } from 'es-toolkit/compat';
9+
import { debounce } from 'es-toolkit/function';
1010
import { HexColorPicker, HslaStringColorPicker, RgbaStringColorPicker } from 'react-colorful';
1111
import { styled } from 'storybook/theming';
1212

code/addons/docs/src/blocks/controls/Object.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Button, Form, IconButton } from 'storybook/internal/components';
55

66
import { AddIcon, EyeCloseIcon, EyeIcon, SubtractIcon } from '@storybook/icons';
77

8-
import { cloneDeep } from 'es-toolkit/compat';
8+
import { cloneDeep } from 'es-toolkit/object';
99
import { type Theme, styled, useTheme } from 'storybook/theming';
1010

1111
import { getControlId, getControlSetterButtonId } from './helpers';

code/addons/docs/src/preset.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,11 @@ export const resolvedReact = async (existing: any) => ({
204204
mdx: existing?.mdx ?? fileURLToPath(import.meta.resolve('@mdx-js/react')),
205205
});
206206

207-
const optimizeViteDeps = ['@mdx-js/react', '@storybook/addon-docs', 'markdown-to-jsx'];
207+
const optimizeViteDeps = [
208+
'@mdx-js/react',
209+
'@storybook/addon-docs',
210+
'@storybook/addon-docs/blocks',
211+
'markdown-to-jsx',
212+
];
208213

209214
export { webpackX as webpack, docsX as docs, optimizeViteDeps };

code/addons/pseudo-states/src/constants.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,3 @@ export const PSEUDO_STATES = {
4141
link: 'link',
4242
target: 'target',
4343
} as const;
44-
45-
export type PseudoState = keyof typeof PSEUDO_STATES;
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import { definePreviewAddon } from 'storybook/internal/csf';
22

33
import * as addonAnnotations from './preview';
4+
import type { PseudoTypes } from './types';
45

56
export { PARAM_KEY } from './constants';
67

7-
export default () => definePreviewAddon(addonAnnotations);
8+
export type { PseudoTypes } from './types';
9+
10+
export default () => definePreviewAddon<PseudoTypes>(addonAnnotations);

0 commit comments

Comments
 (0)