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
Brandon Vandegrift
bb976a5aa9
addon(info) - wrap prop values in braces
2017-09-29 09:58:29 -04:00
Brandon Vandegrift
3693a27ec7
Fix storybooks/storybook#1890 - issue with react fiber and immutable props.
2017-09-25 20:41:45 -04:00
Norbert de Langen
d0b752d8d3
FIX linting after prettier upgrade
2017-09-06 00:54:12 +02:00
Matthew Gardner
a0fcde6930
Addon Info: Remove broken prop type sort (keep defined order)
2017-08-22 14:40:04 -04:00
Daniel Duan
2c289d7666
Merge pull request #1562 from storybooks/info-docgen
...
Add new react-docgen propTypes to info addon
2017-08-18 11:03:40 -04:00
Daniel Duan
a46d83e650
Merge branch 'master' into info-docgen
2017-08-16 14:23:29 -04: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
Daniel Duan
b45a5b2434
docgen info works without flow
2017-08-07 16:57:30 -04:00
Joao Ribeiro
37b2b88c6e
Add support for new signature type added by react-docgen@next
2017-08-07 16:54:14 -04:00
Joao Ribeiro
fdebc3474d
Added React Docgen + Flowtype usage instrcutions
2017-08-07 16:54:14 -04:00
Joao Ribeiro
a060cc3efb
Add Docgen info to PropTable
2017-08-07 16:54:14 -04: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
Michael Shilman
1810a98153
Respond to review comments and update addon-info README
2017-07-28 09:17:39 -07:00
Michael Shilman
a50a8e874a
Refactoring of withX wrappers withNotes and withInfo
...
- make signatures consistent
- make string-only variant of withNotes/withInfo
- simplify withInfo code
2017-07-28 01:34:14 -07:00
Norbert de Langen
73130d4cd1
Merge branch 'master' into release/3.2
2017-07-25 09:34:12 +02:00
Norbert de Langen
5d367d46ef
Merge branch 'master' into addon-info-style-story
2017-07-23 12:11:12 +02:00
Michael Shilman
1c59065b39
Merge branch 'master' into release/3.2
...
# Conflicts:
# addons/actions/package.json
# addons/knobs/package.json
# addons/storyshots/package.json
# app/react-native/package.json
# app/react/package.json
# examples/cra-kitchen-sink/package.json
# lerna.json
# lib/ui/src/modules/ui/components/layout/index.js
2017-07-14 10:40:54 -07:00
Oleg Proskurin
a73d01d632
Fix tests and default props
2017-07-13 20:42:47 +03:00
Oleg Proskurin
3832ae9fd7
Switch to util-deprecate
2017-07-13 15:05:56 +03:00
Oleg Proskurin
6c128f3c3b
Fix typo
2017-07-12 19:50:44 +03:00
UsulPro
1e2892f2f1
Improve test coverage
2017-07-12 11:48:38 +03:00
Oleg Proskurin
868dcedd12
Add test
2017-07-11 22:31:28 +03:00
Oleg Proskurin
0e8230c459
Refactoring withInfo function
2017-07-11 21:29:46 +03:00
Oleg Proskurin
ec8ee5cb2d
Add deprecation warning
2017-07-11 20:43:22 +03:00
Oleg Proskurin
73f64c8052
Add withInfo()(storyFn)
2017-07-10 22:52:16 +03:00
Oleg Proskurin
d41888f848
Addons composition
2017-07-10 11:09:10 +03:00
Oleg Proskurin
d9a2948dab
Refactoring Addon Info [WIP]
2017-07-10 00:30:31 +03: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
Norbert de Langen
51f4c9de71
Merge branch 'master' into fix-1307-invalid-node-type-to-props
2017-06-23 15:45:07 +02:00
Thomas Bertet
0bfb068b6f
fix invalid prop node.type to Props
2017-06-23 11:16:40 +02: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 Hsu (徐承志)
106514f6f2
feat(Addon/info): use external links
2017-06-12 16:44:38 +08:00
Michael Hsu
71a48df16c
isRequired
2017-06-12 11:41:47 +08:00
Michael Hsu
13939bdb46
update propTypes
2017-06-12 11:31:59 +08:00
Michael Hsu
a7ddf63169
add propTypes
2017-06-12 11:14:46 +08:00
Michael Hsu
7a95ee2594
fix(addons/info): Cannot read property 'props' of undefined
...
fix(addons/info): Cannot read property 'props' of undefined
2017-06-12 11:00:36 +08:00
Adam Donahue
c9ee900031
prop-fix: Use correct type.
2017-06-09 16:18:17 -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