113 Commits

Author SHA1 Message Date
Kai Röder
852973f03f Removed unnecessary function; updated marked dependencies 2018-12-06 23:10:31 +01:00
Norbert de Langen
f940f87490
REFACTOR viewports to use addParameters & only render tool 2018-12-06 12:02:21 +01:00
Norbert de Langen
a6b55060d0
FIX routing & layout 2018-11-14 15:50:56 +01:00
Kai Roeder
5e84f3bd8f Added marked types and updated marked implementation 2018-11-11 23:24:51 +01:00
Kai Roeder
d37fcf6c2c Added default export, might fix CI 2018-11-11 22:37:20 +01:00
Kai Roeder
6823d7888d removed prop-types, they are not needed anymore
moved types to the root package.json
2018-11-11 22:21:43 +01:00
Kai Röder
dca0f7d64d Fixed import for addon-notes test file 2018-11-11 11:11:34 +01:00
Kai Röder
8891dd4957 Removed addon-react since it's not used anymore
Added 'types' file path in package.json
Moved addon-notes tsconfig configurations into the root tsconfig
2018-11-11 11:10:36 +01:00
Kai Röder
6dc5f05559 Added public_api entry point
Changed file names for being more clear
2018-11-10 11:32:11 +01:00
Kai Röder
aaf78daae9 First poc approach with addon-notes 2018-11-09 14:38:25 +01:00
Heather Roberts
91b20fd12b Fix issues with notes addon loading 2018-10-24 17:15:18 +11:00
Heather Roberts
65fed3da1e Fix issue where notes panel was not updated when changing story 2018-10-13 15:56:33 +11:00
Heather Roberts
8674a24484 Merge branch 'tech/overhaul-ui' of https://github.com/storybooks/storybook into tech/overhaul-ui 2018-10-11 18:25:35 +11:00
Heather Roberts
30bffe6740 Use SyntaxHighlighter component when encountering any code in markdown in notes addon
Instead of converting markdown to an html string, use markdown-to-jsx library to convert the markdown directly into react elements, using our SyntaxHighlighter component in place of any code elements
2018-10-11 17:47:58 +11:00
Gabriel J. Csapo
3c4a5e36c6 [addons] adds new toolbar component for backgrounds, adds accessibility titles, cleans up notes 2018-10-10 23:45:46 -07:00
Gabriel J. Csapo
9c6df49645 [addons] generalize add from addons so that we can add panels, tool, etc without reworking the provider 2018-10-10 21:48:31 -07:00
Jan Melcher
6cc25b6d16
Fix how markdownOptions are passed to marked
Previously, the options have been passed as property "options" within the actual options object, which is ignored by marked.

Also, using the parameter of marked instead of setOptions to avoid global state.
2018-09-27 14:16:03 +02:00
Norbert de Langen
3a91ab3275
FIX popout & menu && ADD multiple colorvision deficiencies options && ADD icon to notification
&& FIX settings/about route
&& FIX panel stories
&& REMOVE the asideStripe
2018-09-22 00:39:13 +02:00
Norbert de Langen
49f0e0fd0d
WIP ADD mains functionality: tabs in the preview toolbar 2018-09-18 14:43:14 +02:00
Norbert de Langen
625162455d
FIX errors display && REFACTOR addons to sync naming conventions && CHANGE to use addParameters for setOptions && FIX eslint 2018-09-12 19:31:40 +02:00
Norbert de Langen
7a4454c8b0
UPGRADE to emotion 10 && UPGRADE universal-dotenv 2018-08-31 12:18:01 +02:00
Norbert de Langen
bbb08ae67e
UPGRADE to emotion 10 2018-08-25 20:13:28 +02:00
Norbert de Langen
68c1664ec9
WIP 2018-08-11 01:40:24 +02:00
Tom Coleman
aa8a421907 Added allowDeprecatedUsage option to makeDecorator
(and enable it for all existing addons)
2018-07-04 15:56:17 +10:00
Norbert de Langen
ed9606708f
Merge branch 'master' into feature/theming
# Conflicts:
#	app/marko/package.json
#	lib/addons/package.json
#	lib/ui/package.json
#	yarn.lock
2018-06-13 19:10:56 +02:00
Keraito
ddc4e71fc2 Remove linebreaks in notes text when it are html elements 2018-06-07 15:43:50 +02:00
Norbert de Langen
407369ba7e
FIX addon-notes so stateful containers always renders 2018-05-31 00:45:59 +02:00
Norbert de Langen
2a49259d62
Merge branch 'master' into feature/theming 2018-05-28 00:07:30 +02:00
Hypnosphi
49d6a2efdf Fix lint 2018-05-25 23:25:05 +03:00
Norbert de Langen
ee4a416422
REFACTOR consolidate Tabs component && CHANGE registerAddon api to include a active prop 2018-05-22 22:26:39 +02:00
Jeff Baumgardt
3478d2d6c2 Add a class name to the addons-notes. This is wanted to target the notes container with styles since paragraph text has margin and notes is transforming new lines to <br /> making for a very long file with tons of white space. 2018-05-21 16:27:18 -06:00
Norbert de Langen
3b517a7b90
REFACTOR notes to use emotion for styling 2018-05-16 09:01:00 +02:00
Norbert de Langen
359f12ce8f
Merge branch 'master' into feature/more-components
# Conflicts:
#	addons/knobs/src/components/Panel.js
#	addons/knobs/src/react/WrapStory.js
2018-05-16 08:44:55 +02:00
Norbert de Langen
5eec2c8689
FIX styling issue in storysource addon && CLEANUP && ADD emotion-theming 2018-05-15 23:52:57 +02:00
Tom Coleman
a2e57cf7d6 Added skipIfNoParametersOrOptions argument to makeDecorator 2018-05-15 14:37:38 +10:00
Tom Coleman
199098ccb0 Rename to makeDecorator 2018-05-15 13:18:20 +10:00
Tom Coleman
15c2ed84e7 Fix addon-notes test 2018-05-14 17:36:20 +10:00
Tom Coleman
98a99b5c2f Refactor transitional decorator from addon-notes
This should make it easy to transitional other addons to a parameter-based style
2018-05-08 21:07:19 +10:00
Hypnosphi
c547e1c9b0 Remove useless storybooks 2018-04-21 22:01:01 +03:00
denzenin
0773a14b31 Merge master 2018-04-17 22:13:19 +03:00
Tom Coleman
83cc95b851 Update tests with new API 2018-04-13 20:23:49 +10:00
Tom Coleman
194d6cd183 Remove deprecated WithNotes for 4.0 2018-04-13 19:57:08 +10:00
Tom Coleman
88212b2fe8 Small fixes from PR 2018-04-13 19:51:42 +10:00
Tom Coleman
fdafcbfd7e Updated addon-notes to add params based app.
Use official-storybook stories
2018-04-06 12:27:50 +10:00
Aymeric Duchein
be1ac9c765 feat(notes): add marked options 2018-03-16 16:55:18 +01:00
Hypnosphi
be0f85afca Merge remote-tracking branch 'origin/master' into githubFlavoredNotes 2018-02-18 16:58:03 +03:00
Hypnosphi
4a342a3e5b Add test for addon-notes 2018-02-17 19:23:12 +03:00
tsiq-swyx
0bfe868cb1 add withMarkdownNotes 2018-02-08 13:59:48 -05:00
hypnos
2e8240d176 Fix/suppress current eslint warnings.
Raise `import/no-unresolved` and `import/extensions` to error level
everywhere except `docs`
2017-10-02 01:40:46 +03:00
hypnos
cb92897063 Promote no-extraneous-dependencies to error level and make it pass 2017-08-18 04:35:25 +03:00