Merge branch 'next' into core/add-docs-config-overview

This commit is contained in:
Norbert de Langen 2020-01-25 12:17:41 +01:00 committed by GitHub
commit 28618ce005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
24 changed files with 13 additions and 25 deletions

View File

@ -1,3 +1,9 @@
## 5.3.9 (January 24, 2020)
### Bug Fixes
* Addon-docs: Revert breaking source indentation fix ([#9609](https://github.com/storybookjs/storybook/pull/9609))
## 6.0.0-alpha.1 (January 23, 2020)
### Features

View File

@ -22,7 +22,6 @@
"license": "MIT",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -17,7 +17,6 @@
"license": "MIT",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -21,7 +21,6 @@
"author": "jbaxleyiii",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -21,7 +21,6 @@
"author": "nm123github",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -23,7 +23,6 @@
"license": "MIT",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -19,7 +19,6 @@
"license": "MIT",
"files": [
"dist/**/*",
"docs/**/*",
"angular/**/*",
"common/**/*",
"ember/**/*",

View File

@ -20,7 +20,6 @@
"license": "MIT",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -18,7 +18,6 @@
"license": "MIT",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -18,7 +18,6 @@
"license": "MIT",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -24,7 +24,6 @@
"author": "Renaud Tertrais <renaud.tertrais@gmail.com> (https://github.com/renaudtertrais)",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -76,7 +76,7 @@ export default {
// then pass the story's prop data to the components prop in
// the template with `v-bind:` or by placing the prop within
// the components slot.
export const withKnobs = () => ({
export const exampleWithKnobs = () => ({
components: { MyButton },
props: {
isDisabled: {

View File

@ -18,7 +18,6 @@
"license": "MIT",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -18,7 +18,6 @@
"license": "MIT",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -19,7 +19,6 @@
"license": "MIT",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -18,7 +18,6 @@
"license": "MIT",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -19,7 +19,6 @@
"license": "MIT",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -18,7 +18,6 @@
"license": "MIT",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -18,7 +18,6 @@
"license": "MIT",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -18,7 +18,6 @@
"license": "MIT",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 247 KiB

After

Width:  |  Height:  |  Size: 209 KiB

View File

@ -18,7 +18,6 @@
"license": "MIT",
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"*.js",
"*.d.ts"

View File

@ -9,13 +9,15 @@ This is a central reference for using Storybook with TypeScript.
## Typescript configuration presets
The easiest way to write and configure your stories in TypeScript is by using [Storybook presets](../../presets/introduction).
The fastest and easiest way to write and configure your stories in TypeScript is by using a Storybook preset.
If you're using Create React App (CRA) and have configured it to work with TS, you should use the [CRA preset](https://github.com/storybookjs/presets/tree/master/packages/preset-create-react-app), which configures Storybook to reuse CRA's TS handling.
* If you're using Create React App (CRA) and have configured it to work with TS, you should use [`@storybook/preset-create-react-app`](https://github.com/storybookjs/presets/tree/master/packages/preset-create-react-app), which configures Storybook to reuse CRA's TS handling.
If you're not using CRA, the next best thing is to use the [Typescript preset](https://github.com/storybookjs/presets/tree/master/packages/preset-typescript), which configures `ts-loader` under the hood.
* If you are not using CRA or have other requirements, then the next best option is [`@storybook/preset-typescript`](https://github.com/storybookjs/presets/tree/master/packages/preset-typescript), which configures `ts-loader` under the hood.
If you need more control than the TypeScript preset offers, read on for manual configuration instructions.
If you need more control than these presets offer, read on for manual configuration instructions.
You can learn more about Storybook presets [over here](../../presets/introduction).
> If using TypeScript, some addons require features available in TS version 3.4+.

View File

@ -20,7 +20,6 @@
"author": "Storybook Team",
"files": [
"bin/**/*",
"docs/**/*",
"generators/**/*",
"lib/**/*",
"README.md",