37 Commits

Author SHA1 Message Date
hypnos
417afe1f86 Run eslint --fix 2017-11-25 18:55:14 +03:00
Bakti Aditya
09ff079ccf Expose style for customisation 2017-11-25 21:25:43 +07:00
Filipp Riabchun
51f0af151f
Merge branch 'master' into allow-duplicate-displaynames 2017-11-10 01:58:04 +03:00
hypnos
81ab36b5f5 Fix accessibility warnings 2017-11-09 03:10:45 +03:00
hypnos
67a5fd5841 Addon-info: allow duplicate displayNames 2017-11-09 02:22:26 +03:00
hypnos
735497714c Upgrade eslint-config-airbnb and make it pass 2017-11-02 04:40:48 +03:00
Daniel Duan
22a9957ca2 fix info not importing docgen descriptions 2017-10-26 17:39:38 -04:00
Norbert de Langen
d0b752d8d3 FIX linting after prettier upgrade 2017-09-06 00:54:12 +02:00
Norbert de Langen
36b3671871 REMOVE duplicated theme.js 2017-08-16 16:02:32 +02:00
Duncan Beevers
85e3c1ea4a Remove double styling for inline stories 2017-08-13 11:17:06 -07:00
Lochlan Bunn
094459a43e Fix info addon prop tables (#1607)
Prop Tables were being key'd by their component's object `name` prop; this means that only the first component, of many components of the same type, would show.

Making sure we first check `displayName` for key usage means that components with the same type can all appear in the Prop Tables if their individual `displayName`'s were different.

Case: Higher Order Components
2017-08-07 21:49:03 +03:00
Norbert de Langen
5d367d46ef Merge branch 'master' into addon-info-style-story 2017-07-23 12:11:12 +02:00
Norbert de Langen
15540df990 CHANGE indentation rule eslint (prettier) 2017-07-08 22:57:21 +02:00
Duncan Beevers
17df44ed1e
Addon Info: Provide styling hook for story body 2017-07-06 15:15:42 -07:00
Duncan Beevers
549e55e05b
Addon Info: Omit empty inline info header 2017-06-22 10:55:16 -07:00
Joe Kohlmann
9035f43af2 Info add-on: update z-index of container 2017-06-12 10:41:44 -04:00
Michael Shilman
6807b5e7f8 Cherry-pick linting update from #1224 2017-06-09 19:58:01 +12:00
Norbert de Langen
d6b3d13f4b Merge branch 'master' into update-addon-info-design 2017-06-09 08:09:49 +02:00
Lucas Motta
3a555b85c4 Add small design update to addon info package
When using the "info" addon inline, the current designs blends in
too much with the component, making it quite confusing and sometimes
difficult to preview.
This change wraps the Story info into a "box" with a light border and
shadow, also adds some more padding and margin to give a bit more room.
2017-06-07 17:01:06 +01:00
Evgeniy Zaitsev
70f7b51f61 Fix build and lint after merge 2017-06-07 11:58:13 +03:00
Evgeniy Zaitsev
613eeb8153 Merge branch 'master' into addon-info-new-options 2017-06-07 10:32:56 +03:00
Evgeniy Zaitsev
8b98172b33 Merge branch 'master' into addon-info-new-options 2017-06-05 15:55:48 +03:00
Norbert de Langen
baecbf7970 FIX after merge 2017-06-05 11:45:04 +02:00
Norbert de Langen
e40ef62aa5 Merge branch 'master' into eslint-strict 2017-06-05 11:33:01 +02:00
Dustin Kane
f9d1a145da Issue 1114: Replacing use of deprecated markdown-to-react-components in addon-info to use marksy 2017-06-04 19:16:43 -05:00
Norbert de Langen
8fef4bb2d8 FIX linting 2017-06-05 00:58:23 +02:00
Norbert de Langen
da961dc508 FIX linting 2017-06-03 21:06:48 +02:00
Evgeniy Zaitsev
c46d701bb1 replace context with props 2017-05-31 13:05:43 +03:00
Norbert de Langen
af1b0c11d2 Merge branch 'master' into eslint-strict
# Conflicts:
#	.eslintignore
#	.travis.yml
#	addons/actions/src/containers/ActionLogger/index.js
#	addons/centered/package.json
#	addons/graphql/package.json
#	addons/info/src/components/PropTable.js
#	addons/info/src/components/Props.js
#	addons/knobs/package.json
#	addons/knobs/src/components/Panel.js
#	addons/notes/package.json
#	addons/notes/src/index.js
#	addons/notes/src/register.js
#	addons/storyshots/package.json
#	addons/storyshots/src/index.js
#	app/react-native/package.json
#	app/react/package.json
#	examples/cra-storybook/package.json
#	examples/cra-storybook/src/stories/Welcome.js
#	examples/test-cra/src/stories/Button.js
#	examples/test-cra/src/stories/Welcome.js
#	lib/channel-postmessage/package.json
#	lib/channel-websocket/package.json
#	lib/cli/bin/generate.js
#	lib/cli/generators/METEOR/index.js
#	lib/cli/generators/REACT/index.js
#	lib/cli/generators/REACT/template/stories/index.js
#	lib/cli/generators/REACT_NATIVE/index.js
#	lib/cli/generators/REACT_SCRIPTS/index.js
#	lib/cli/generators/REACT_SCRIPTS/template/src/stories/Welcome.js
#	lib/cli/generators/WEBPACK_REACT/index.js
#	lib/cli/lib/helpers.js
#	lib/cli/package.json
#	package.json
2017-05-31 07:45:04 +02:00
Evgeniy Zaitsev
ab611bdc6a add new options to info addon 2017-05-30 17:10:08 +03:00
Nelson, Joe
ad0fcfe94f fixed code style problems. 2017-05-19 11:06:14 -07:00
Nelson, Joe
622dadb4ef removed reference to window since it is not needed. 2017-05-19 11:06:14 -07:00
Nelson, Joe
ad15e80cc2 added code to support js documentation for adding descriptions to a component, fixed issue with content was being rendered as an object and give errors for that, added a fix to when you use PropTypes from something other than React that you can get the type from docgen. 2017-05-19 11:04:16 -07:00
Norbert de Langen
24544af38d FIX linting 2017-05-19 00:21:13 +02:00
Norbert de Langen
09747c667b Merge branch 'master' into eslint-strict
# Conflicts:
#	addons/centered/package.json
#	addons/graphql/package.json
#	addons/info/package.json
#	addons/knobs/package.json
#	addons/links/.storybook/config.js
#	addons/notes/package.json
#	addons/notes/src/index.js
#	addons/notes/src/register.js
#	addons/options/src/manager/index.js
#	addons/storyshots/src/index.js
#	addons/storyshots/stories/required_with_context/Button.stories.js
#	addons/storyshots/stories/required_with_context/Welcome.js
#	app/react-native/package.json
#	app/react-native/src/manager/index.js
#	lib/channel-postmessage/package.json
#	lib/channel-postmessage/src/index.js
#	lib/channel-websocket/package.json
#	lib/channel-websocket/src/index.js
#	lib/cli/generators/METEOR/index.js
#	lib/cli/generators/REACT/template/stories/Welcome.js
#	lib/cli/generators/REACT_SCRIPTS/index.js
#	lib/cli/generators/WEBPACK_REACT/template/stories/Welcome.js
#	packages/react-storybook/src/server/track_usage.js
#	packages/storybook-ui/src/modules/ui/components/layout/usplit.js
#	scripts/prepublish.js
2017-05-17 23:41:09 +02:00
Norbert de Langen
36c7ca7c1d FIX linting 2017-05-17 00:34:34 +02:00
Norbert de Langen
69b91f6e53 CHANGE folder structure && CHANGE package-names 2017-05-15 00:08:46 +02:00