131 Commits

Author SHA1 Message Date
Fabian Gündel
d94a03aa6b
Merge branch 'next' into next 2019-04-26 11:20:03 +02:00
Norbert de Langen
f939e1417a just a few little linting issues fixed 2019-04-25 17:59:37 +02:00
Gaëtan Maisse
223183cb74 refactor: remove @storybook/components module declaration in addons
As `@storybook/components` is now in TS (and so export its types) there is no more need to declare it in `typings.d.ts` of addons written in TS
2019-04-16 13:44:35 +02:00
Norbert de Langen
ace8d17229
Merge branch 'next' into next 2019-04-11 14:56:03 +02:00
Norbert de Langen
544431ddb5
Merge pull request #6091 from storybooks/notes-panel
addon-notes: register as a panel or tab
2019-04-11 14:31:54 +02:00
Benoit Dion
0b332a4b7b rm unused import 2019-04-04 21:07:46 -04:00
Fabian Gündel
6d92193bdd
feat(addon-notes): use @storybook/router <Link> to render links with relative urls in markdown notes 2019-04-03 11:41:01 +02:00
Andrew Lisowski
d0b324211c expose register-panel 2019-03-28 13:14:59 -07:00
codebyalex
c6730eb270 Merge branch 'next' of https://github.com/storybooks/storybook into feature/highlight-a11y-violation-on-component-merge
# Conflicts:
#	addons/a11y/package.json
#	addons/a11y/src/components/A11YPanel.tsx
#	addons/a11y/src/components/Report/index.tsx
2019-03-23 07:20:13 -04:00
Norbert de Langen
7b75d0b0be
Merge pull request #5922 from vpicone/patch-3
Allow for theming of the notes addon panel
2019-03-20 17:39:39 +01:00
Norbert de Langen
f3ecc2e0fd ADD safety for addonNotesTheme to be undefined 2019-03-15 14:12:30 +01:00
Norbert de Langen
21bb007cbd FIX theme being any 2019-03-15 14:08:58 +01:00
Norbert de Langen
a662a2b3eb Merge branch 'next' into pr/vpicone/5922 2019-03-15 13:59:18 +01:00
Norbert de Langen
2c5bf08a4d CLEANUP addon-notes 2019-03-14 13:56:14 +01:00
Norbert de Langen
843ee3c05c CLEANUP addon-notes && use Consumer & filter 2019-03-14 12:32:04 +01:00
Norbert de Langen
930e9e2d1f CLEANUP 2019-03-13 11:13:17 +01:00
Vince Picone
0bd10a9813 fix: add ts typing 2019-03-11 08:30:04 -05:00
Norbert de Langen
611e582ddb SYNC prettier printWidth with eslint && FIX resulting linting warnings 2019-03-09 01:21:02 +01:00
Vince Picone
6094414e1c
Update Panel.tsx 2019-03-07 09:51:44 -06:00
Norbert de Langen
f893431a8d Merge branch 'next' into tech/api-package
# Conflicts:
#	addons/cssresources/src/register.tsx
#	addons/notes/src/Panel.tsx
#	addons/notes/src/giphy.tsx
#	examples/official-storybook/stories/core/parameters.stories.js
#	lib/api/src/init-provider-api.ts
#	lib/api/src/lib/id.ts
#	lib/api/src/modules/addons.ts
#	lib/api/src/modules/layout.ts
#	lib/api/src/modules/stories.ts
#	lib/api/src/modules/url.ts
#	lib/api/src/modules/versions.ts
#	lib/api/src/store.ts
#	lib/api/src/tests/id.test.js
#	lib/api/src/tests/versions.test.js
#	lib/client-api/src/client_api.js
#	lib/client-logger/src/index.ts
#	lib/router/package.json
#	lib/router/src/tests/id.test.js
#	lib/router/src/typings.d.ts
#	lib/router/src/utils.ts
#	lib/theming/src/themes/dark-syntax.ts
#	lib/theming/src/themes/dark.ts
#	lib/theming/src/themes/light-syntax.ts
#	lib/theming/src/themes/light.ts
#	lib/ui/package.json
#	lib/ui/src/components/sidebar/treeview/utils.js
#	lib/ui/src/containers/nav.js
#	lib/ui/src/containers/preview.js
#	lib/ui/src/core/context.js
#	lib/ui/src/core/initial-state.js
#	lib/ui/src/index.js
#	lib/ui/src/libs/id.test.js
#	lib/ui/src/settings/__snapshots__/shortcuts.stories.storyshot
#	lib/ui/src/settings/about_page.js
#	lib/ui/src/settings/shortcuts.stories.js
#	lib/ui/src/settings/shortcuts_page.js
#	yarn.lock
2019-03-06 16:45:13 +01:00
Vince Picone
5655105435
Allow for theming of the notes addon panel 2019-03-06 09:28:02 -06:00
Norbert de Langen
09c2987bdc Merge pull request #5802 from B3zo0/B3zo0-notes-inline-code
fix(addon-notes): inline code markdown
2019-03-03 13:07:29 +08:00
Zoltán Bedi
7c04539e1b test(addon-notes): SyntaxHighlighter component 2019-02-28 15:44:23 +01:00
Zoltán Bedi
798b9e13b2
fix(addon-notes): inline code markdown 2019-02-28 14:50:09 +01:00
Gaëtan Maisse
64b45c068e Remove '@storybook/theming' module declaration from 'addons/notes'
`@storybook/theming` is now written in TS so type definition are available.
 There is no more need to declare it as module in typings.d.ts of libs/addons using it.
2019-02-14 16:03:35 +01:00
Norbert de Langen
48e13aa738 Merge branch 'next' into v5-style-refinements 2019-02-08 09:52:51 +01:00
domyen
24802f2510 Add a nicer empty message for notes that links people to the notes docs 2019-02-07 18:15:12 -05:00
Preston Goforth
32cf22d07a Defect fixes for addon onload functionality
- Changed `STORY_CHANGED` to `STORY_RENDERED` in `addon-notes`
- Changed `STORY_CHANGED` to `STORY_RENDERED` in `addon-cssresources`
- Updated README for `addon-cssresources`
- Updated writing-addons docs to reflect event change:
2019-02-07 16:15:36 -05:00
domyen
9c74523c64 Refactor DocumentFormatting to better mirror GitHub default Markdown 2019-02-06 19:52:55 -05:00
Norbert de Langen
0c3791db0d SYNC prettier setting for line-length && FIX linting 2019-01-29 14:55:00 +01:00
Norbert de Langen
b92247c2eb FIX linting 2019-01-28 11:36:31 +01:00
Norbert de Langen
52e21c38b3 FIX typescript 2019-01-28 01:42:47 +01:00
Norbert de Langen
05fe876727 ADD error handling to Giphy element && ADD 'NOTES-ELEMENT' as addon type 2019-01-28 01:22:02 +01:00
Ahmed El Sayegh
85c081aaca ADD giphy support in notes addon 2019-01-27 21:50:29 +02:00
Norbert de Langen
65583e5671 CHANGE tslint config to no longer conflict with prettier && FIX a ton of linting issues on .ts 2019-01-24 15:55:01 +01:00
Norbert de Langen
007b722d77 Merge branch 'next' into ts-migration/improve-lib-addons-types
# Conflicts:
#	lib/addons/src/index.ts
2019-01-17 15:23:04 +01: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
Jessica-Koch
6f8bbf2b29 can bootstrap again 2019-01-09 23:33:19 -08:00
Tom Coleman
225c4be4ac Revert "add scancode file and fix declared type for channel"
This reverts commit 9cab57050542c379ea42b29aeab4e46c5746adb9.
2019-01-10 12:29:19 +11:00
Jessica-Koch
9cab570505 add scancode file and fix declared type for channel 2019-01-09 00:29:33 -08:00
Tom Coleman
673f0150af Merge remote-tracking branch 'origin/tech/overhaul-ui' into tech/overhaul-ui-new-storyId 2018-12-30 13:22:31 +11:00
Norbert de Langen
ad1651956a
Merge branch '5.0.0' into tech/overhaul-ui
# Conflicts:
#	addons/a11y/package.json
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/backgrounds/src/__tests__/BackgroundPanel.js
#	addons/backgrounds/src/__tests__/Swatch.js
#	addons/cssresources/package.json
#	addons/events/package.json
#	addons/google-analytics/package.json
#	addons/info/package.json
#	addons/jest/package.json
#	addons/knobs/package.json
#	addons/knobs/src/components/__tests__/Panel.js
#	addons/links/package.json
#	addons/notes/package.json
#	addons/notes/src/index.ts
#	addons/notes/src/register.tsx
#	addons/notes/src/typings.d.ts
#	addons/storyshots/storyshots-core/package.json
#	addons/viewport/package.json
#	app/react/package.json
#	docs/package.json
#	docs/yarn.lock
#	examples/cra-kitchen-sink/package.json
#	examples/official-storybook/package.json
#	examples/preact-kitchen-sink/package.json
#	lib/addons/package.json
#	lib/addons/src/index.js
#	lib/channel-websocket/package.json
#	lib/components/package.json
#	lib/core/package.json
#	lib/ui/package.json
#	yarn.lock
2018-12-27 15:46:11 +01:00
Kai Röder
17075d9ae0 Use named imports 2018-12-23 02:57:02 +01:00
Kai Röder
ec0a8c28f8 Still trying to fix CI 2018-12-23 02:41:14 +01:00
Kai Röder
ac730de1eb Added exports for register.tsx in public_api 2018-12-23 01:29:41 +01:00
Igor
7b6a9c3273 Remove jsnext:main with ts + add global as a module declaration to notes 2018-12-22 21:25:18 +02:00
Tom Coleman
279d76443e Change componentId => storyId 2018-12-21 16:51:21 +11:00
Norbert de Langen
0293514326
MIGRATE storyshots to use new API with build-in context && update snapshots 2018-12-19 00:03:19 +01:00
Kai Röder
fa2c957aa0 Rewrote @storybook/addons 2018-12-17 16:43:48 +01:00
igor-dv
385782898a Unfinished things 2018-12-17 16:53:09 +02:00