Norbert de Langen
92291658e4
FIX more typescript things
2018-12-17 11:56:46 +01:00
Norbert de Langen
d7bfb78ff5
FIX some typescript issues
2018-12-17 11:35:39 +01:00
Norbert de Langen
7d7d21e1e7
WIP
2018-12-11 13:49:19 +01:00
Norbert de Langen
c066e411bd
IMPROVE typescript types on addon-notes
2018-12-11 13:05:57 +01:00
Norbert de Langen
43e3bdaa34
Merge commit '4c5345d15cadb33e0277d399963c27bcee3b7623' into tech/overhaul-ui
2018-12-11 01:13:51 +01:00
Kai Röder
4c5345d15c
migrated to ts
2018-12-10 20:58:09 +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
f79323794e
REFACTOR addon-notes
2018-12-10 14:18:37 +01:00
Norbert de Langen
9eb3cae404
Merge branch 'next' into tech/overhaul-ui
...
# Conflicts:
# .eslintrc.js
# addons/notes/package.json
# addons/notes/src/index.ts
# addons/notes/src/register.js
# yarn.lock
2018-12-10 12:16:14 +01:00
Kai Roeder
1a4e51033f
Added prop-types + typings for prop-types. Restored the old prop-types for non-typescript users
2018-12-09 21:27:42 +01:00
Kai Roeder
5312cd4fca
Refactoring
2018-12-09 12:11:30 +01:00
Kai Roeder
c1669d869a
Reverted @emotion/styled change
2018-12-09 11:28:18 +01:00
Kai Roeder
018f83ac1e
Created @emotion/styled module to satisfy noImplicitAny rule
2018-12-09 11:11:59 +01:00
Kai Roeder
a11cd702b2
Added todo for refactoring purpose
2018-12-08 15:43:25 +01:00
Kai Roeder
14afa9c12a
Refactoring
2018-12-08 15:34:53 +01:00
Kai Roeder
e943ff38d3
Updated NotesApi; refactored "styled" usage
2018-12-08 15:24:55 +01:00
Kai Röder
149f471395
Resolved a couple of any to their actual types
...
Also had to introduce a couple of new any assignments because of noImplicitAny: true
They still need to be resolved. WIP
2018-12-08 14:31:24 +01:00
Kai Röder
f25a05b47b
Changed addon.ts back to index.ts
2018-12-06 23:14:48 +01:00
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