Michael Shilman
a120a13105
Addon-docs: DocsPage slots for fine-grained user control
2019-08-05 16:50:42 +08: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
f903d199f9
Official-storybook: Add DocsPage automatically
2019-07-27 03:34:51 +08:00
Michael Shilman
0ac48981fe
Core: Rename load => configure
2019-07-26 23:10:07 +08:00
Michael Shilman
c75337ed76
Update examples/official-storybook/config.js
...
Co-Authored-By: Tom Coleman <tom@thesnail.org>
2019-07-22 14:27:23 +08:00
Michael Shilman
ec39d01a45
Update examples to use new load function
2019-07-22 14:00:32 +08:00
Michael Shilman
bfd347a928
Add docs examples to official-storybook
2019-06-19 15:01:06 +08:00
Michael Shilman
6f5d685e28
Merge branch 'next' into 7101-doc-blocks
2019-06-19 11:23:13 +08:00
Michael Shilman
effc071e6c
Add DocsPage to official-storybook
2019-06-18 16:14:54 +08:00
Michael Shilman
711c8397f0
Module story format & framework param
2019-06-17 19:04:51 +08:00
Michael Shilman
1f93649e09
Fix brandX theme application & add test
2019-04-18 13:49:54 +08:00
Gaëtan Maisse
04c7437afd
chore: migrate src of lib/components to Typescript
2019-04-07 20:14:57 +02:00
Norbert de Langen
0bdb2ca94e
REMOVE custom theme from official example
2019-03-20 18:00:29 +01:00
Gaëtan Maisse
1c013a36d7
fix: fix a11y option attribute in examples/official-storybook
2019-03-07 08:21:44 +01:00
Norbert de Langen
dd3c382e1d
REFACTOR change the theme that users import & set to be ThemeVars (was Theme)
...
This way the object easy much easier and more performant to serialise & less trickery is needed to make it work well
2019-03-04 21:05:01 +01:00
Michael Shilman
47d484aace
Cleanup & document a11y migration
2019-03-04 13:00:17 +08:00
Tom Coleman
3db6b12103
FIX restore default viewport behaviour
...
Also restore using the `viewport` key, and enforce the viewport parameter to be a object.
2019-03-04 12:22:13 +11:00
Norbert de Langen
ef1f79c3dd
REMOVE dark theme
2019-02-28 22:58:37 +01:00
Norbert de Langen
362a339e79
FIX the themeing flash & persist the theme into localstorage to prevent flashing upon reloading
2019-02-28 00:07:36 +01:00
Tom Coleman
7c6cae66ce
Set theme brand vars based on options
2019-02-25 11:04:18 +11:00
Norbert de Langen
a618512a58
ADD options to a11y addon so it's doesn't do the damn scrolly scrolly buggy buggy stuff
...
MOVE the scrollTop to after the component rendered
ADD stories to test the behavior properly
2019-02-21 21:28:32 +01:00
Norbert de Langen
3fc09942eb
CHANGE all decorators to use storyFn
instead of fn
2019-02-20 01:45:52 +01:00
Norbert de Langen
991adb372a
ADD default backgrounds to official example
2019-02-14 15:05:50 +01:00
domyen
287442a609
Use createGlobal instead of createReset because colors are inherited from body
...
@ndelangen this messes with the grid plugin but setting body background and color is a common pattern to support. e.g., when theming a dark mode ;)
2019-02-08 19:27:28 -05:00
Norbert de Langen
8a3ba251ac
REFACTOR global styles into reset & global && FIX background tool && ADD preview background to theme
2019-02-07 13:28:34 +01:00
domyen
4d915a8cfe
ADD Global styles to app and storybook
2019-01-31 17:15:58 -05:00
Tom Coleman
a2f7e5fdcd
UPGRADE from react-chromatic to storybook-chromatic@1.2.4
2019-01-18 15:37:08 +11:00
Norbert de Langen
ae9e32f8d0
MIGRATE to wrap emotion into a @storybook/theming package
...
- This ensures a single version
- This adds a good place to add themes
- Addons can take a dependency on something storybook
- We could migrate to another styling lib without asking all users to migrate with us
2019-01-14 22:48:33 +01:00
Norbert de Langen
1a271ba5f8
IMPROVE warnings
2018-12-29 22:04:17 +01:00
Norbert de Langen
0c400dda64
FIX reset
2018-12-24 15:28:13 +01:00
Norbert de Langen
547e12430b
Merge branch 'tech/overhaul-ui' into tech/overhaul-ui-new-story-format
...
# Conflicts:
# examples/official-storybook/config.js
# examples/official-storybook/stories/core.stories.js
2018-12-24 10:07:43 +01:00
Norbert de Langen
0e905b5cb0
REMOVE a ton of cruft from snapshots (reset & divs)
2018-12-22 00:08:44 +01:00
Tom Coleman
d353b9f0cf
Use module.hot.dispose to do previousExports.
2018-12-21 11:34:24 +11:00
Tom Coleman
e8dc5313b0
Change .examples -> .stories
2018-12-20 14:16:17 +11:00
Tom Coleman
f080c5eb9e
Merge 4848-new-example-format into tech/overhaul-ui
2018-12-20 13:19:56 +11:00
Norbert de Langen
2fae294e11
Merge branch 'pr/lifeiscontent/4925' into tech/overhaul-ui
...
# Conflicts:
# addons/a11y/package.json
# addons/actions/package.json
# addons/backgrounds/package.json
# addons/cssresources/package.json
# addons/events/package.json
# addons/info/package.json
# addons/info/src/__snapshots__/index.test.js.snap
# addons/jest/package.json
# addons/knobs/package.json
# addons/notes/package.json
# addons/viewport/package.json
# app/react/package.json
# examples/cra-kitchen-sink/package.json
# examples/official-storybook/config.js
# examples/official-storybook/package.json
# lib/components/package.json
# lib/components/src/layout/desktop.js
# lib/components/src/layout/index.js
# lib/core/package.json
# lib/ui/package.json
# lib/ui/src/modules/ui/components/search_box.js
# lib/ui/src/modules/ui/components/shortcuts_help.js
# lib/ui/src/modules/ui/components/stories_panel/__snapshots__/index.stories.storyshot
# lib/ui/src/modules/ui/components/stories_panel/__snapshots__/text_filter.stories.storyshot
# lib/ui/src/modules/ui/components/stories_panel/stories_tree/__snapshots__/index.stories.storyshot
# lib/ui/src/modules/ui/components/stories_panel/stories_tree/tree_decorators.js
# package.json
# yarn.lock
2018-12-12 15:47:20 +01:00
Norbert de Langen
a8bf858179
REFACTOR state management
2018-12-11 01:10:15 +01:00
Norbert de Langen
ec82d04797
REFACTOR a11y addon && FIX issues with decorators reloading
2018-12-10 19:27:12 +01:00
Norbert de Langen
a9ee8a5dad
Merge branch 'next' into tech/overhaul-ui
...
# Conflicts:
# .babelrc.js
# addons/a11y/package.json
# addons/actions/package.json
# addons/backgrounds/package.json
# addons/cssresources/package.json
# addons/events/package.json
# addons/graphql/package.json
# addons/info/package.json
# addons/info/src/components/PropTable.js
# addons/jest/package.json
# addons/knobs/package.json
# addons/links/package.json
# addons/notes/package.json
# addons/ondevice-backgrounds/package.json
# addons/options/package.json
# addons/storyshots/storyshots-core/package.json
# addons/storyshots/storyshots-puppeteer/package.json
# addons/storysource/package.json
# app/angular/package.json
# app/ember/package.json
# app/html/package.json
# app/marko/package.json
# app/mithril/package.json
# app/polymer/package.json
# app/react/package.json
# app/riot/package.json
# app/svelte/package.json
# app/vue/package.json
# examples/official-storybook/stories/addon-a11y.stories.js
# examples/official-storybook/stories/addon-actions.stories.js
# lib/addons/package.json
# lib/channel-postmessage/package.json
# lib/channel-websocket/package.json
# lib/components/package.json
# lib/components/src/layout/mobile.js
# lib/core/package.json
# lib/core/src/server/common/babel.js
# lib/ui/package.json
# lib/ui/src/modules/ui/components/stories_panel/index.js
# lib/ui/src/modules/ui/components/stories_panel/stories_tree/index.test.js
# lib/ui/src/modules/ui/components/stories_panel/stories_tree/tree_decorators_utils.js
# lib/ui/src/modules/ui/components/stories_panel/text_filter.js
# yarn.lock
2018-12-06 16:49:52 +01:00
Norbert de Langen
f940f87490
REFACTOR viewports to use addParameters & only render tool
2018-12-06 12:02:21 +01:00
Aaron Reisman
4ef4c2389a
Upgrade emotion@10.0.2
2018-12-04 18:47:58 -08:00
Norbert de Langen
b806539e6a
REFACTOR addon-cssresources
2018-12-04 21:23:02 +01:00
Hypnosphi
6936c27fae
Run prettier
2018-12-04 19:54:10 +01:00
Norbert de Langen
efbf470d6a
Merge branch 'next' into tech/overhaul-ui
...
# Conflicts:
# CHANGELOG.md
# addons/actions/package.json
# addons/backgrounds/package.json
# addons/notes/package.json
# addons/storyshots/storyshots-core/package.json
# addons/storyshots/storyshots-puppeteer/package.json
# examples/cra-kitchen-sink/.storybook/config.js
# examples/cra-kitchen-sink/src/stories/index.stories.js
# lib/addons/package.json
# lib/channel-websocket/package.json
# lib/components/package.json
# lib/components/src/addon_panel/__snapshots__/index.stories.storyshot
# lib/components/src/header/__snapshots__/header.stories.storyshot
# lib/components/src/layout/__snapshots__/index.stories.storyshot
# lib/components/src/theme.js
# lib/ui/package.json
# lib/ui/src/modules/ui/components/stories_panel/__snapshots__/index.stories.storyshot
# lib/ui/src/modules/ui/components/stories_panel/__snapshots__/text_filter.stories.storyshot
# lib/ui/src/modules/ui/components/stories_panel/stories_tree/__snapshots__/index.stories.storyshot
# lib/ui/src/modules/ui/configs/handle_routing.js
# yarn.lock
2018-11-28 17:01:29 +01:00
Neville Mehta
fc01782358
Merge branch 'master' of github.com:storybooks/storybook into addon-cssresources
2018-11-22 14:40:19 -08:00
Norbert de Langen
13781c39e5
Merge branch 'next' into tech/overhaul-ui
2018-11-08 12:03:03 +01:00
Neville Mehta
e5b6cdbccf
create cssresources addon
2018-10-29 15:03:59 -07:00
Neville Mehta
593387bd59
Merge branch 'master' of github.com:storybooks/storybook into addon-resources
2018-10-20 11:39:39 -07:00
Neville Mehta
eab5a76d98
add resources plugin complete refactor
2018-10-20 01:39:21 -07:00