mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
Merge branch 'next' into core/add-docs-config-overview
This commit is contained in:
commit
28618ce005
@ -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
|
||||
|
@ -22,7 +22,6 @@
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -17,7 +17,6 @@
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -21,7 +21,6 @@
|
||||
"author": "jbaxleyiii",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -21,7 +21,6 @@
|
||||
"author": "nm123github",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -23,7 +23,6 @@
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -19,7 +19,6 @@
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"angular/**/*",
|
||||
"common/**/*",
|
||||
"ember/**/*",
|
||||
|
@ -20,7 +20,6 @@
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -18,7 +18,6 @@
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -18,7 +18,6 @@
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -24,7 +24,6 @@
|
||||
"author": "Renaud Tertrais <renaud.tertrais@gmail.com> (https://github.com/renaudtertrais)",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -76,7 +76,7 @@ export default {
|
||||
// then pass the story's prop data to the component’s prop in
|
||||
// the template with `v-bind:` or by placing the prop within
|
||||
// the component’s slot.
|
||||
export const withKnobs = () => ({
|
||||
export const exampleWithKnobs = () => ({
|
||||
components: { MyButton },
|
||||
props: {
|
||||
isDisabled: {
|
||||
|
@ -18,7 +18,6 @@
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -18,7 +18,6 @@
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -19,7 +19,6 @@
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -18,7 +18,6 @@
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -19,7 +19,6 @@
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -18,7 +18,6 @@
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -18,7 +18,6 @@
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -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 |
@ -18,7 +18,6 @@
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"docs/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts"
|
||||
|
@ -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+.
|
||||
|
||||
|
@ -20,7 +20,6 @@
|
||||
"author": "Storybook Team",
|
||||
"files": [
|
||||
"bin/**/*",
|
||||
"docs/**/*",
|
||||
"generators/**/*",
|
||||
"lib/**/*",
|
||||
"README.md",
|
||||
|
Loading…
x
Reference in New Issue
Block a user