Skip to content

Commit f1dee19

Browse files
Merge pull request #263 from storybookjs/valentin/release-9
Release 9.0.0
2 parents 36281af + d4148b6 commit f1dee19

43 files changed

Lines changed: 7205 additions & 12167 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ''
5-
labels: 'category: feature'
6-
assignees: ''
7-
4+
title: ""
5+
labels: "category: feature"
6+
assignees: ""
87
---
98

109
**Is your feature request related to a problem? Please describe.**

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ A [Storybook](https://github.com/storybooks/storybook) addon that embed Figma or
2121

2222
## Requirements
2323

24-
- Storybook@>=8.0.0 (Version 7 of this addon supports Storybook 7)
24+
- Storybook@>=9.0.0 (Version 7 of this addon supports Storybook 7, Version 8 supports Storybook 8)
2525

2626
This addon should work well with any framework. If you find that the addon does not work, please open an issue.
2727

package-lock.json

Lines changed: 7086 additions & 12044 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
"fmt": "prettier --write README.md CHANGELOG.md CONTRIBUTING.md package.json 'packages/**/*.{js,jsx,ts,tsx,md,mdx,json}'",
1717
"release": "npm run release --workspace=@storybook/addon-designs"
1818
},
19-
"version": "8.0.0"
19+
"version": "9.0.0"
2020
}

packages/examples/.storybook/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import remarkGfm from "remark-gfm";
2-
import type { StorybookConfig } from "@storybook/types";
2+
import type { StorybookConfig } from "@storybook/react-webpack5";
33

44
const isTabMode = process.env.STORYBOOK_ADDON_DESIGNS_MODE === "tab";
55

packages/examples/.storybook/manager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// import "../types.d.ts";
2-
import { addons } from "@storybook/manager-api";
3-
import { create } from "@storybook/theming";
2+
import { addons } from "storybook/manager-api";
3+
import { create } from "storybook/theming";
44

55
import logo from "../assets/logo-with-text.svg";
66
import pkg from "@storybook/addon-designs/package.json";

packages/examples/package.json

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,18 @@
11
{
22
"name": "examples",
3-
"version": "8.0.0",
3+
"version": "9.0.0",
44
"private": true,
55
"devDependencies": {
6-
"@storybook/addon-actions": "8.0.0",
76
"@storybook/addon-designs": "*",
8-
"@storybook/addon-docs": "8.0.0",
9-
"@storybook/addon-links": "8.0.0",
10-
"@storybook/addon-storysource": "8.0.0",
7+
"@storybook/addon-docs": "^9.0.0-alpha.10",
8+
"@storybook/addon-links": "^9.0.0-alpha.10",
119
"@storybook/addon-webpack5-compiler-swc": "^1.0.2",
12-
"@storybook/blocks": "8.0.0",
13-
"@storybook/components": "8.0.0",
14-
"@storybook/react": "8.0.0",
15-
"@storybook/react-webpack5": "8.0.0",
16-
"@storybook/theming": "8.0.0",
10+
"@storybook/react": "^9.0.0-alpha.10",
11+
"@storybook/react-webpack5": "^9.0.0-alpha.10",
1712
"react": "^18.2.0",
1813
"react-dom": "^18.2.0",
1914
"remark-gfm": "^4.0.0",
20-
"storybook": "8.0.0"
15+
"storybook": "^9.0.0-alpha.10"
2116
},
2217
"scripts": {
2318
"storybook": "storybook dev -p 6006",

packages/examples/stories/Button.css

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,29 @@
66
border: none 0;
77
outline: 0;
88

9-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
10-
Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
9+
font-family:
10+
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
11+
Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
1112
color: #fff;
1213
background-image: linear-gradient(277.88deg, #51b441 32.37%, #61c451 99.3%);
1314
text-transform: uppercase;
1415
border-radius: 4px;
1516
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
1617
cursor: pointer;
1718

18-
transition: transform 0.1s ease, box-shadow 0.1s ease;
19+
transition:
20+
transform 0.1s ease,
21+
box-shadow 0.1s ease;
1922
}
2023

2124
.button:active {
22-
box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25);
25+
box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25);
2326

24-
transform: scale(0.99);
27+
transform: scale(0.99);
2528
}
2629

2730
.button:disabled {
28-
background-image: linear-gradient(277.88deg, #a6b4a4 32.37%, #bdc4bc 99.3%);
29-
color: #e0e0e0;
30-
cursor: not-allowed;
31+
background-image: linear-gradient(277.88deg, #a6b4a4 32.37%, #bdc4bc 99.3%);
32+
color: #e0e0e0;
33+
cursor: not-allowed;
3134
}

packages/examples/stories/docs/0.quickStart.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Meta } from "@storybook/blocks";
2-
import { TabsState } from "@storybook/components";
1+
import { Meta } from "@storybook/addon-docs/blocks";
2+
import { TabsState } from "storybook/internal/components";
33

44
<Meta title="Docs/Quick start" />
55

packages/examples/stories/docs/advanced/docs.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Meta, Subtitle } from "@storybook/blocks";
2-
import { TabsState } from "@storybook/components";
1+
import { Meta, Subtitle } from "@storybook/addon-docs/blocks";
2+
import { TabsState } from "storybook/internal/components";
33

44
import { Figma } from "@storybook/addon-designs/blocks";
55

0 commit comments

Comments
 (0)