2516 Commits

Author SHA1 Message Date
Tom Coleman
82d186b645 Fix addon-docs tests 2021-09-03 13:48:15 +10:00
Tom Coleman
9cdd8f898a Update argTypes tests 2021-09-02 13:13:02 +10:00
Tom Coleman
82d2b57228 Upgrade CSF again 2021-08-31 19:00:41 +10:00
Tom Coleman
d05a6c1442 Close to bootstrapping again 2021-08-27 14:41:07 +10:00
Tom Coleman
93d1669208 Update CSF 2021-08-27 13:34:58 +10:00
Tom Coleman
5b974e9a15 Got first version of storiesOf shim in. Not yet running 2021-08-26 22:16:00 +10:00
Tom Coleman
acb5088188 Got addon-controls working 2021-08-25 21:33:26 +10:00
Tom Coleman
a1568c39bf Types + tests working in store 2021-08-25 16:10:59 +10:00
Tom Coleman
18d3633ab4 A lot of type changes, not quite building yet 2021-08-24 23:17:07 +10:00
Tom Coleman
4064148962 Migrate a lot of types in the on-demand-store 2021-08-24 00:15:16 +10:00
Tom Coleman
2f48a40e4d Updated all render function to get build working 2021-08-20 07:23:41 +10:00
Tom Coleman
73cd49b89f Fix enhanceArgTypes 2021-08-18 19:26:45 +10:00
Michael Shilman
77cc48b5a7 Addon-docs: Fix description block 2021-08-14 13:29:06 +08:00
Tom Coleman
f716a4af9a Switch forceRender to !forceRemount 2021-08-09 22:45:32 +10:00
Tom Coleman
15fe97cb8b Make renderStoryToElement sync
Moving the async part to a function that runs outside of it. Handle the race conditions of "what happens if a story is torn down or re-rendered" during initial render as best we can.
2021-08-09 17:14:44 +10:00
Tom Coleman
3100f4d7c9 Work around React's "render insider render" warning 2021-08-09 10:00:59 +10:00
Tom Coleman
f6b13d5efb Make renderStoryToElement responsible for re-rendering
Instead of re-rendering at the top level when `args` or `globals` change, instead the call to `renderStoryToElement` (which may happen at the top level, or inside a docs page), sets up listeners which re-render when relevant things change.
2021-08-09 10:00:57 +10:00
Tom Coleman
1cf4fe257b Update useArgs for ArgsTable 2021-08-09 06:50:06 +10:00
Tom Coleman
951e8db97c Change bindStoryFn to getStoryContext and bind in <Story> 2021-08-06 15:19:39 +10:00
Tom Coleman
5ced26ca76 Update source to deal with missing storyIds 2021-08-06 15:10:58 +10:00
Tom Coleman
f8f3dba01d Add a modernInlineRender that renders the story using the framework's renderToDOM
Replaces https://github.com/storybookjs/storybook/pull/14911
2021-08-06 15:03:11 +10:00
Tom Coleman
ee341ec5d2 Add default argTypesEnhancers to presets 2021-08-04 16:50:44 +10:00
Tom Coleman
bb9f36e9b4 Got docs working (first pass) 2021-08-03 21:43:32 +10:00
Michael Shilman
d16bbc138a Update git head to 6.4.0-alpha.19, update yarn.lock 2021-07-22 21:24:36 +08:00
Michael Shilman
e7979d9dc0 v6.4.0-alpha.19 2021-07-22 21:19:56 +08:00
Michael Shilman
590e1204a2 Update root, peer deps, version.ts/json to 6.4.0-alpha.19 [ci skip] 2021-07-22 21:10:21 +08:00
Michael Shilman
618fc1c34b Merge branch 'next' into pr/11936 2021-07-19 21:00:29 +08:00
tdorsey
ad3b76d6ee
docs(recipes): Fix grammatical error 2021-07-18 17:02:21 -04:00
Michael Shilman
c02850ea63 Update git head to 6.4.0-alpha.18, update yarn.lock 2021-07-16 15:06:36 +08:00
Michael Shilman
285782b401 v6.4.0-alpha.18 2021-07-16 15:01:50 +08:00
Michael Shilman
d5af461caa Update root, peer deps, version.ts/json to 6.4.0-alpha.18 [ci skip] 2021-07-16 14:01:09 +08:00
Michael Shilman
12c6e95c86
Merge pull request #15581 from maerten/avoid-slow-docs-render-perf
Avoid slow regex.match call in renderJsx
2021-07-16 13:59:39 +08:00
Michael Shilman
bdc9fa6b17 Update git head to 6.4.0-alpha.17, update yarn.lock 2021-07-15 21:06:45 +08:00
Michael Shilman
2efd8b17db v6.4.0-alpha.17 2021-07-15 20:56:24 +08:00
Michael Shilman
20105ab0b5 Update root, peer deps, version.ts/json to 6.4.0-alpha.17 [ci skip] 2021-07-15 15:13:10 +08:00
Maarten Veenstra
f001b112a2 avoid potentially slow regex call in renderJsx 2021-07-14 14:47:44 +02:00
Michael Shilman
8a8a4e68d3 Update git head to 6.4.0-alpha.16, update yarn.lock 2021-07-13 23:40:01 +08:00
Michael Shilman
3afa39c64e v6.4.0-alpha.16 2021-07-13 23:34:17 +08:00
Michael Shilman
a0c8f43e10 Update root, peer deps, version.ts/json to 6.4.0-alpha.16 [ci skip] 2021-07-13 23:19:25 +08:00
Yann Braga
ced6aba1dc fix(angular): fix actions argType auto generation
- The order in the sections matters because properties are overriden
2021-07-13 16:18:20 +02:00
Michael Shilman
c89b2b03ec Update git head to 6.4.0-alpha.15, update yarn.lock 2021-07-13 10:30:50 +08:00
Michael Shilman
9385c454a7 v6.4.0-alpha.15 2021-07-13 10:25:02 +08:00
Michael Shilman
525179851d Update root, peer deps, version.ts/json to 6.4.0-alpha.15 [ci skip] 2021-07-13 10:12:23 +08:00
Yann Braga
c3ea5c7de1 fix(angular): update argTypes test snapshots
- following the changes of ff483f6028a
2021-07-12 23:48:16 +02:00
Yann Braga
ff483f6028 fix(angular): extract type from compodoc propertiesClass
- An update has been released in compodoc 1.1.12 which changed how the componentData is filled.
Now the propertiesClass is filled together with inputClass
so the check has to be updated
2021-07-12 23:12:23 +02:00
Michael Shilman
6daa716e93 Update git head to 6.4.0-alpha.14, update yarn.lock 2021-07-11 03:15:36 +08:00
Michael Shilman
d3f8b5119b v6.4.0-alpha.14 2021-07-11 03:10:46 +08:00
Michael Shilman
4d4fe97cab Update root, peer deps, version.ts/json to 6.4.0-alpha.14 [ci skip] 2021-07-11 03:01:43 +08:00
Michael Shilman
31e3ad8b81
Merge pull request #15337 from bennypowers/patch-1
Web-components: Dynamic source snippets
2021-07-11 02:59:45 +08:00
Benny Powers
9a5dccde24 fix(addons): webcomponents excludeDecorators 2021-07-10 21:31:23 +03:00