1933 Commits

Author SHA1 Message Date
Michael Shilman
cb02d735a8 v6.2.0-alpha.32 2021-02-21 16:50:32 +08:00
Michael Shilman
ff5d1ff0bc Update root, peer deps, version.ts/json to 6.2.0-alpha.32 2021-02-21 16:49:46 +08:00
Michael Shilman
0b1579c3a4 Update git head to 6.2.0-alpha.31 2021-02-20 21:49:16 +08:00
Michael Shilman
30a22ce4c2 v6.2.0-alpha.31 2021-02-20 21:43:18 +08:00
Michael Shilman
b1210d92f3 Update root, peer deps, version.ts/json to 6.2.0-alpha.31 2021-02-20 21:42:47 +08:00
Michael Shilman
3ea21b737f
Merge pull request #13845 from somenickname/12357_fix_first_tab_named_story
Addon-docs: Fix ArgsTable tab renamed to `Story` when using args
2021-02-20 21:34:07 +08:00
Michael Shilman
c894e4957c Update git head to 6.2.0-alpha.30 2021-02-20 20:11:59 +08:00
Michael Shilman
35ad9e58eb v6.2.0-alpha.30 2021-02-20 20:05:37 +08:00
Michael Shilman
d7732bd23b Update root, peer deps, version.ts/json to 6.2.0-alpha.30 2021-02-20 20:04:48 +08:00
Norbert de Langen
240429ed2e
Merge branch 'next' into tech/core-builder
# Conflicts:
#	lib/core/src/server/config/defaults.ts
2021-02-19 12:14:50 +01:00
Michael Shilman
cce0587b64
Merge pull request #13919 from storybookjs/12071-consistent-defaultProp-handling
Args: Fix issues with string default values
2021-02-19 14:25:22 +08:00
Tom Coleman
93fdcecd3a Use a fixed date in react-proptype tests 2021-02-19 16:24:12 +11:00
Tom Coleman
d8d0368406 Add a test for fix for RDT 2021-02-19 15:50:56 +11:00
Tom Coleman
c038669bc2 Update handle prop tests to properly deal with strings 2021-02-19 15:33:58 +11:00
Tom Coleman
f4dc3da08f Update snapshots on testfixtures
(and got tests working)
2021-02-19 15:27:05 +11:00
Tom Coleman
7077801f84 Cleanup 2021-02-19 15:11:36 +11:00
Tom Coleman
0b00b995b6 Extract "kitchen sink" stories into individual test cases 2021-02-19 15:09:45 +11:00
Norbert de Langen
a337c757b2
Merge branch 'next' into tech/core-builder
# Conflicts:
#	addons/essentials/package.json
#	addons/graphql/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storyshots/storyshots-puppeteer/package.json
#	app/angular/package.json
#	app/aurelia/package.json
#	app/ember/package.json
#	app/html/package.json
#	app/marionette/package.json
#	app/marko/package.json
#	app/mithril/package.json
#	app/preact/package.json
#	app/rax/package.json
#	app/react/package.json
#	app/riot/package.json
#	app/server/package.json
#	app/svelte/package.json
#	app/vue/package.json
#	app/vue3/package.json
#	app/web-components/package.json
#	examples/cra-kitchen-sink/package.json
#	examples/cra-react15/package.json
#	examples/cra-ts-essentials/package.json
#	examples/cra-ts-kitchen-sink/package.json
#	examples/mithril-kitchen-sink/package.json
#	examples/official-storybook/package.json
#	lib/cli/src/versions.json
#	lib/core-server/src/__snapshots__/manager-dev
#	lib/core-server/src/__snapshots__/manager-prod
#	lib/core-server/src/__snapshots__/preview-dev
#	lib/core-server/src/__snapshots__/preview-prod
#	lib/core/package.json
#	lib/core/src/server/__snapshots__/cra-ts-essentials_manager-dev
#	lib/core/src/server/__snapshots__/manager-dev
#	lib/core/src/server/__snapshots__/manager-prod
#	lib/core/src/server/__snapshots__/preview-dev
#	lib/core/src/server/__snapshots__/preview-prod
#	lib/core/src/server/__snapshots__/vue-3-cli_manager-dev
#	lib/core/src/server/__snapshots__/vue-3-cli_preview-dev
#	lib/core/src/server/__snapshots__/vue-3-cli_preview-prod
#	lib/core/src/server/core-presets.test.ts
#	lib/ui/package.json
2021-02-18 16:05:08 +01:00
Norbert de Langen
08c73e4cba
prep for merge from next 2021-02-18 15:51:16 +01:00
Michael Shilman
ab2219a71d Update git head to 6.2.0-alpha.29 2021-02-18 06:20:11 +08:00
Michael Shilman
66dbae1b4f v6.2.0-alpha.29 2021-02-18 06:13:39 +08:00
Michael Shilman
7b7aec9f43 Update root, peer deps, version.ts/json to 6.2.0-alpha.29 2021-02-18 06:13:13 +08:00
Michael Shilman
1112439069 Update snapshots 2021-02-17 23:59:10 +08:00
Tom Coleman
c014866114 Prefer the *actual* default prop if we know it! 2021-02-17 19:42:05 +11:00
Tom Coleman
9989acd459 Add explicit example of #12071 2021-02-17 19:29:59 +11:00
Tom Coleman
0abf88ac9b Better eval of default props
1. Use `Function()` which is more efficient: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#never_use_eval!

2. *DONT* fall back to the stringified version -- this was a workaround for the earlier issues with string values not being wrapped in quotes (in some cases), which was just a bug. Falling back to the string value *only* when the unquoted string didn't exist as a global was a hack.
2021-02-17 19:28:15 +11:00
Tom Coleman
3dbb3897b0 Fix issue with default prop mapping of strings
When we pull a default prop summary at runtime, we also need to wrap strings in quotes.
2021-02-17 19:26:08 +11:00
Tom Coleman
3c317c023a Add more examples to stories 2021-02-17 19:25:10 +11:00
Tom Coleman
e189c89f0a Workaround bug in react-docgen-typescript with string values 2021-02-17 19:24:48 +11:00
Norbert de Langen
b1d3baa3e2
all webpack 4 2021-02-17 00:23:20 +01:00
Tom Coleman
06749ac0c3 Better stories for testing defaultValue generation
For #12071
2021-02-16 12:19:04 +11:00
Norbert de Langen
4802dad406
Merge branch 'next' into tech/core-builder
# Conflicts:
#	addons/docs/package.json
#	addons/essentials/package.json
#	addons/graphql/package.json
#	addons/knobs/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storyshots/storyshots-puppeteer/package.json
#	app/angular/package.json
#	app/aurelia/package.json
#	app/ember/package.json
#	app/html/package.json
#	app/marionette/package.json
#	app/marko/package.json
#	app/mithril/package.json
#	app/preact/package.json
#	app/rax/package.json
#	app/react/package.json
#	app/riot/package.json
#	app/server/package.json
#	app/svelte/package.json
#	app/svelte/src/server/framework-preset-svelte.ts
#	app/vue/package.json
#	app/vue3/package.json
#	app/web-components/package.json
#	examples/cra-kitchen-sink/package.json
#	examples/cra-react15/package.json
#	examples/cra-ts-essentials/package.json
#	examples/cra-ts-kitchen-sink/package.json
#	examples/mithril-kitchen-sink/package.json
#	examples/react-ts/package.json
#	examples/svelte-kitchen-sink/package.json
#	examples/vue-3-cli/package.json
#	lib/cli/src/versions.json
#	lib/core/package.json
#	lib/ui/package.json
#	yarn.lock
2021-02-15 10:23:52 +01:00
Norbert de Langen
e52309a22c
prep for merge with next 2021-02-15 09:50:58 +01:00
Michael Shilman
fa1afb2be8 Update git head to 6.2.0-alpha.28 2021-02-15 14:39:29 +08:00
Michael Shilman
899ca0824d v6.2.0-alpha.28 2021-02-15 14:33:00 +08:00
Michael Shilman
f6c4200659 Update root, peer deps, version.ts/json to 6.2.0-alpha.28 2021-02-15 14:32:35 +08:00
Michael Shilman
09c4aa1d29 Fix PropDescriptor babel warnings 2021-02-15 02:14:32 +08:00
Michael Shilman
3f58b60c50 Update git head to 6.2.0-alpha.27 2021-02-15 01:26:50 +08:00
Michael Shilman
ca441e62dd v6.2.0-alpha.27 2021-02-15 01:20:55 +08:00
Michael Shilman
274ce58ffc Update root, peer deps, version.ts/json to 6.2.0-alpha.27 2021-02-15 01:20:24 +08:00
j3rem1e
006147af65 Use node-logger instead of console.log 2021-02-14 16:01:57 +01:00
j3rem1e
944269a69a Set svelte as an optional peer dependency 2021-02-14 16:01:57 +01:00
j3rem1e
89bf8c8278 Svelte: Support for Typescript and Preprocessors 2021-02-14 16:01:57 +01:00
Michael Shilman
222e9ea21a
Merge pull request #13666 from storybookjs/add-addons-catalog-metadata
Add catalog metadata to the addons
2021-02-14 18:36:10 +08:00
Varun Vachhar
4aa765ebcb
Merge branch 'next' into add-addons-catalog-metadata 2021-02-13 11:54:46 -05:00
winkerVSbecks
4a34c7df94 Add catalog metadata to the addons 2021-02-13 11:38:50 -05:00
Yann Braga
83dbebaee0 refactor(addon-docs): use filterArgTypes from client-api 2021-02-13 10:57:05 +01:00
Michael Shilman
d1f94167f5 Update git head to 6.2.0-alpha.26 2021-02-13 11:31:21 +08:00
Michael Shilman
dc281516a8 v6.2.0-alpha.26 2021-02-13 11:25:37 +08:00
Michael Shilman
f95aaae110 Update root, peer deps, version.ts/json to 6.2.0-alpha.26 2021-02-13 11:25:08 +08:00