Yann Braga
deb453ecb7
fix(fast-refresh): set babel plugin correctly in the preset
...
- Rather than in the webpack config, set it in babel, so that
there aren't multiple loaders and instead just the plugin is added
together with the presets.
Examples were moved to cra-kitchen-sink because official removes
the babel-loader taht comes from storybook.
2020-09-21 16:53:12 +02:00
Norbert de Langen
d91e0b2854
Merge branch 'next' into fix/10887
...
# Conflicts:
# examples/cra-kitchen-sink/.storybook/main.js
2020-06-11 11:22:43 +02:00
Norbert de Langen
66e04ca1ad
Allow monorepo project root dir to be imported in CRA examples
2020-06-09 18:02:31 +02:00
Norbert de Langen
262fca682c
disable cra-preset for now
2020-06-09 15:12:14 +02:00
Norbert de Langen
20cfac064e
ADD loglevel=debug to all examples
2020-06-09 13:22:53 +02:00
Norbert de Langen
7a0fe8fe04
CHANGE all the main.js so their globs are valid
2020-05-22 16:07:48 +02:00
Norbert de Langen
fc2a72442c
REMOVE usage of addon-options
2020-03-26 10:38:05 +01:00
Michael Shilman
b8fdc3e31d
Addon-a11y: Update preset registration & document in MIGRATION.md
2020-02-04 16:26:36 +08:00
Dave Cross
3e31910d7b
Change all examples to use addon-a11y preset.
2020-01-31 16:41:55 -07:00
Norbert de Langen
924e403786
REMOVE addon-info & addon-notes
...
They have been MOVED to https://github.com/storybookjs/deprecated-addons
2020-01-29 17:15:27 +01:00
Norbert de Langen
c44294565e
FIX
2020-01-23 00:55:53 +01:00
Michael Shilman
d768b53770
Main.js: Combine addons/presets in examples
2019-12-31 14:38:00 +08:00
Michael Shilman
9fabb654e3
Upgrade a few examples to use merged main.js addons array
2019-12-25 21:27:33 +08:00
JohnAlbin
3b2540a0c6
Fix localeCompare() examples. Fixes #9193
2019-12-19 16:53:18 +08:00
Norbert de Langen
2f8c9d2575
REMOVE options with default values & deprecated options from examples
2019-11-27 12:00:05 +01:00
Norbert de Langen
4fc515d309
MIGRATE cra-kitchen-sink-example
2019-11-25 14:39:51 +01:00
Norbert de Langen
d54f137873
CHANGE the references from '@storybook/theming/create' to '@storybook/theming/create', so it's react15 compatible
2019-11-04 14:36:35 +01:00
Gert Hengeveld
28fdb3d3ac
Use a sensible sort order for stories and suggest it in the docs.
2019-07-30 16:39:03 +02:00
Michael Shilman
bf3ef93644
Addon-docs: Add DocsPage automagically ( #7579 )
...
Addon-docs: Add DocsPage automagically
2019-07-29 15:34:12 +08:00
Michael Shilman
ed1c61c105
Load => configure
2019-07-27 09:27:52 +08:00
Michael Shilman
954c38f84c
CRA-kitchen-sink: Add DocsPage automatically
2019-07-27 03:33:45 +08:00
Michael Shilman
714c3f3a9d
Addon-docs: Update docs to use common/preset
2019-07-25 17:10:50 +08:00
Michael Shilman
fb17dca6ca
Addon-docs: Zero-config source-loader
2019-07-25 14:49:39 +08:00
Michael Shilman
865daf1da5
Addon-docs: Simplify examples with included source-loader
2019-07-24 22:34:02 +08:00
Michael Shilman
44e98feb18
CRA-kitchen-sink: Add DocsPage
2019-07-24 22:33:12 +08:00
Michael Shilman
ec39d01a45
Update examples to use new load function
2019-07-22 14:00:32 +08:00
Michael Shilman
755dd83996
Add MDX example to cra-kitchen-sink
2019-07-18 19:52:42 +08:00
Michael Shilman
5cc05031ea
Merge branch 'next' into 7101-convert-stories-to-module-format
2019-06-27 18:15:33 +08:00
Michael Shilman
ef14ecf3b5
Merge branch 'next' into pr/6472
2019-06-27 10:56:35 +08:00
Michael Shilman
710b88f3b3
Convert cra-kitchen-sink to module format
2019-06-24 00:23:57 +08:00
Michael Shilman
bb3e7f71cd
Github org rename to storybookjs
2019-06-03 11:06:42 -07:00
Norbert de Langen
720295a3d6
REMOVE sortStoriesByKind
from docs & implementation
2019-05-22 09:41:13 +02:00
Rob Snow
87f16eac46
clarify messaging
2019-05-03 14:34:17 -07:00
Rob Snow
113588eb73
Sort in story_store so we aren't sorting on every render. Also, we can safely use the options object here because it hasn't been sent over the channel
2019-05-03 14:30:19 -07:00
codebyalex
3d9aeae7df
Added a11y addon to the CRA example
2019-04-26 18:33:08 -04:00
Rob Snow
f18f0d5464
Use localeCompare for sorting names
...
Unsure if I should also remove the stuff for addParameters?
2019-04-13 10:41:20 -07:00
Rob Snow
fa123b35cb
I've honestly no idea why I can't pass the function from config through.
...
It gets called with the right values, but it always returns 'undefined'
2019-04-09 19:07:03 -07:00
aamct2
38f25e2dd5
Fix config demo of grid
2019-03-24 21:02:42 +00:00
aamct2
4f5b847631
Add custom grid size
2019-03-24 18:08:31 +00:00
aamct2
0ef4738c43
Fix deprecations in examples
2019-03-17 12:11:17 +00:00
Arman Sargsyan
d5aaee62fc
fix(examples): cra-kitchen-sink project has a11y addon, but not correct initialized
2019-03-09 16:47:50 +03:00
Norbert de Langen
a1762d7796
MODIFY option to use addParameters
2018-12-10 19:28:40 +01:00
igor-dv
fb6c71fb9e
Fix options warning
2018-11-23 12:59:34 +02:00
Norbert de Langen
78d8c6c181
CHANGE html-webpack-plugin for generate-page-webpack-plugin
2018-08-02 10:42:21 +02:00
Michael Shilman
f6ac31ac16
Fix addWthInfo removal linting errors
2018-05-22 16:38:55 -07:00
denzenin
0773a14b31
Merge master
2018-04-17 22:13:19 +03:00
denzenin
a92759d1ec
Fix stories-panel: still need to pass url and name via props
2018-04-01 21:21:13 +03:00
denzenin
ce32102063
Add different header and panels layout for mobile devices:
...
* add separate Header component
* add isMobileDevice helper
* initially place addonPanel at the bottom if storybook is open on mobile device
* add first part of tests
2018-03-24 16:53:02 +03:00
Hypnosphi
c863304050
Merge remote-tracking branch 'origin/master' into webpack-4
2018-03-21 00:31:24 +03:00
PunitGr
f8b612f49c
Update example for enabling/disabling shortcuts
2018-03-19 21:08:28 +05:30