92 Commits

Author SHA1 Message Date
Norbert de Langen
f4479514cc FIX types 2019-07-10 00:16:41 +02:00
Jimmy Somsanith
6ee558c13e
Merge branch 'next' into jsomsanith/feat/disable_tab 2019-06-12 22:00:24 +02:00
Norbert de Langen
5946d68bdb Merge branch 'next' into pr/trongthanh/5791-1
# Conflicts:
#	lib/cli/package.json
#	yarn.lock
2019-06-06 09:26:54 +02:00
Michael Shilman
8792884af8
Merge pull request #6847 from CodeByAlex/feature/jest-design-changes
Feature/jest design changes
2019-06-04 10:25:45 -07:00
Michael Shilman
bb3e7f71cd Github org rename to storybookjs 2019-06-03 11:06:42 -07:00
Jimmy Somsanith
a8e6d1bcd9 feat: disable option for addon tab 2019-05-31 10:03:53 +02:00
codebyalex
6aee89a4a2 modified the jest panel to show the passing percentage below the progress bar and moved the title above the rest of the content 2019-05-21 05:56:31 -04:00
codebyalex
7ede71c014 changed the error message color from a dark grey to a lighter grey to increase readability 2019-05-21 05:51:55 -04:00
codebyalex
145cf1e589 set indicator size to fit the content rather than to a min width 2019-05-21 05:49:59 -04:00
Norbert de Langen
59b7e06c71 Merge branch 'next' into pr/trongthanh/5791
# Conflicts:
#	lib/cli/package.json
#	package.json
#	scripts/build-storybooks.sh
#	yarn.lock
2019-05-18 02:14:23 +02:00
Norbert de Langen
590f670e46 FIX linting 2019-05-07 13:59:43 +02:00
Norbert de Langen
1eb78284de Merge branch 'next' into pr/trongthanh/5791
# Conflicts:
#	addons/jest/src/styles.js
#	lib/cli/package.json
#	package.json
#	yarn.lock
2019-04-26 14:17:30 +02:00
Norbert de Langen
f939e1417a just a few little linting issues fixed 2019-04-25 17:59:37 +02:00
Anton Savoskin
c6a4201df4 Replace regex with upath.sep 2019-04-18 09:12:39 +07:00
Anton Savoskin
df6e5a53fb Fix type error 2019-04-17 22:01:13 +07:00
Anton Savoskin
494d77acf5 Improve typings 2019-04-16 22:41:57 +07:00
Anton Savoskin
9f50fd3a3b Add supports for Typescript test files 2019-04-16 22:40:09 +07:00
Anton Savoskin
213ebc8883 Fix fileName regex 2019-04-16 22:39:06 +07: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
Arman Sargsyan
b8cb3de4d3 feat(jest): use 'off' instead of 'removeListener' for unsubscribe the listener 2019-04-13 16:42:56 +03:00
Anton Savoskin
1147dda019 chore: improve code quality in addons/jest 2019-04-08 10:59:23 +07:00
Norbert de Langen
a15d786702 FIX build 2019-04-05 00:23:28 +02:00
Anton Savoskin
6a4a14b2d4 chore: remove deprecated styles in addons/jest 2019-04-04 21:32:05 +07:00
Anton Savoskin
fe2488b83e chore: remove @storybook/channels in addons/jest 2019-04-04 21:26:42 +07:00
Anton Savoskin
9654bb1c24 chore: remove prop-types in addons/jest 2019-04-04 21:23:24 +07:00
Anton Savoskin
435ab82d06 chore: fix typescript error in addons/jest 2019-04-04 20:00:44 +07:00
Anton Savoskin
17e8592b77 chore: migrate src of addons/jest to Typescript 2019-04-03 22:30:41 +07:00
Norbert de Langen
79d2cd11d0 REFACTOR no scroller around Tabs content, instead force scroll on child
This I hacky, I know but we need to scroll over content, without the Actionbar component, that should stick.

I'd like to refactor the Tabs component so it can render ActionBar independently, but that a bigger overhaul,
then I feel comfortable with at the moment.

Most of our addons will show a custom scrollbar now, but it's a manual process, the addon rendering is taking control
over scrolling.

Instead I'd like tabs to be in control of scrolling, but that's currently not feasable with how ActionBar works.
2019-02-27 17:31:00 +01:00
Norbert de Langen
3fc09942eb CHANGE all decorators to use storyFn instead of fn 2019-02-20 01:45:52 +01:00
Norbert de Langen
91de976c9b RENAME story to fn inside our decorators
This makes it very clear that the argument is a storyFn, named it `fn` for brevity
This is not an api change, because people can call the argument whatever they want and it will work
2019-02-19 15:55:16 +01:00
Michael Shilman
0957242c3f Subscribe to the correct event 2019-02-18 18:43:09 +08:00
domyen
c7f624e54a Remove unneccessary font declarations 2019-02-08 17:10:56 -05: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
Michael Shilman
cc3056a6a6 Deprecate onStory 2019-01-11 16:58:11 +08:00
Tom Coleman
5ecc23eaf4 Fix up key warning in addons panel
cc @ndelangen -- not sure if this was what you had in mind?
2018-12-31 13:12:18 +11:00
Norbert de Langen
d7bfb78ff5
FIX some typescript issues 2018-12-17 11:35:39 +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
a9ee8a5dad
Merge branch 'next' into tech/overhaul-ui
# Conflicts:
#	.babelrc.js
#	addons/a11y/package.json
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/cssresources/package.json
#	addons/events/package.json
#	addons/graphql/package.json
#	addons/info/package.json
#	addons/info/src/components/PropTable.js
#	addons/jest/package.json
#	addons/knobs/package.json
#	addons/links/package.json
#	addons/notes/package.json
#	addons/ondevice-backgrounds/package.json
#	addons/options/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storyshots/storyshots-puppeteer/package.json
#	addons/storysource/package.json
#	app/angular/package.json
#	app/ember/package.json
#	app/html/package.json
#	app/marko/package.json
#	app/mithril/package.json
#	app/polymer/package.json
#	app/react/package.json
#	app/riot/package.json
#	app/svelte/package.json
#	app/vue/package.json
#	examples/official-storybook/stories/addon-a11y.stories.js
#	examples/official-storybook/stories/addon-actions.stories.js
#	lib/addons/package.json
#	lib/channel-postmessage/package.json
#	lib/channel-websocket/package.json
#	lib/components/package.json
#	lib/components/src/layout/mobile.js
#	lib/core/package.json
#	lib/core/src/server/common/babel.js
#	lib/ui/package.json
#	lib/ui/src/modules/ui/components/stories_panel/index.js
#	lib/ui/src/modules/ui/components/stories_panel/stories_tree/index.test.js
#	lib/ui/src/modules/ui/components/stories_panel/stories_tree/tree_decorators_utils.js
#	lib/ui/src/modules/ui/components/stories_panel/text_filter.js
#	yarn.lock
2018-12-06 16:49:52 +01:00
Hypnosphi
6936c27fae Run prettier 2018-12-04 19:54:10 +01:00
Norbert de Langen
13781c39e5 Merge branch 'next' into tech/overhaul-ui 2018-11-08 12:03:03 +01:00
igor-dv
4f20ef5334 Fix test matching 2018-11-01 17:48:21 +02:00
Devin Despain
351f4d184d
Update Panel.js
Fixes typo for stories with no configured tests
2018-10-22 18:12:47 -06:00
human-readable
ccef149025
bug-fix-jest-addon-undefined-file-extension
Previously the code was such that the file name would always have an extension that read `undefined` this fixes that.
2018-10-16 12:50:26 -04:00
Norbert de Langen
3f85893e6d
Merge branch 'master' into tech/overhaul-ui
# Conflicts:
#	ADDONS_SUPPORT.md
#	CHANGELOG.md
#	MIGRATION.md
#	README.md
#	addons/a11y/package.json
#	addons/a11y/src/components/Panel.js
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/centered/package.json
#	addons/events/package.json
#	addons/graphql/package.json
#	addons/info/package.json
#	addons/jest/package.json
#	addons/jest/src/index.js
#	addons/jest/src/register.js
#	addons/knobs/package.json
#	addons/knobs/src/components/types/Array.js
#	addons/links/package.json
#	addons/notes/package.json
#	addons/notes/src/index.js
#	addons/options/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storyshots/storyshots-puppeteer/package.json
#	addons/storysource/package.json
#	addons/viewport/package.json
#	app/angular/package.json
#	app/angular/src/server/angular-cli_config.js
#	app/ember/README.md
#	app/ember/package.json
#	app/ember/src/server/index.js
#	app/html/package.json
#	app/marko/package.json
#	app/mithril/package.json
#	app/polymer/package.json
#	app/react-native/package.json
#	app/react-native/readme.md
#	app/react-native/src/bin/storybook-start.js
#	app/react/package.json
#	app/riot/package.json
#	app/svelte/package.json
#	app/vue/package.json
#	docs/src/pages/basics/guide-angular/index.md
#	docs/src/pages/basics/guide-ember/index.md
#	docs/src/pages/basics/quick-start-guide/index.md
#	docs/yarn.lock
#	examples/angular-cli/package.json
#	examples/cra-kitchen-sink/package.json
#	examples/ember-cli/package.json
#	examples/html-kitchen-sink/package.json
#	examples/marko-cli/package.json
#	examples/mithril-kitchen-sink/package.json
#	examples/official-storybook/package.json
#	examples/polymer-cli/package.json
#	examples/riot-kitchen-sink/package.json
#	examples/svelte-kitchen-sink/package.json
#	examples/vue-kitchen-sink/package.json
#	lerna.json
#	lib/addons/package.json
#	lib/channel-postmessage/package.json
#	lib/channel-websocket/package.json
#	lib/channels/package.json
#	lib/cli/generators/EMBER/index.js
#	lib/cli/lib/detect.js
#	lib/cli/lib/initiate.js
#	lib/cli/package.json
#	lib/client-logger/package.json
#	lib/codemod/package.json
#	lib/components/package.json
#	lib/components/src/layout/desktop.js
#	lib/core-events/package.json
#	lib/core/package.json
#	lib/core/src/server/templates/index.html.ejs
#	lib/node-logger/package.json
#	lib/ui/package.json
#	lib/ui/src/modules/api/actions/api.js
#	lib/ui/src/modules/shortcuts/actions/shortcuts.js
#	lib/ui/src/modules/ui/components/stories_panel/index.js
#	lib/ui/src/modules/ui/components/stories_panel/text_filter.js
#	lib/ui/src/modules/ui/components/stories_panel/text_filter.test.js
#	lib/ui/src/modules/ui/containers/header.js
#	lib/ui/src/modules/ui/containers/layout.js
#	lib/ui/src/modules/ui/libs/filters.js
#	yarn.lock
2018-10-13 16:34:21 +02:00
Norbert de Langen
fef21c26a7
Merge branch 'master' into tech/overhaul-ui
# Conflicts:
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/jest/src/register.js
#	addons/knobs/src/components/types/Array.js
#	addons/notes/package.json
#	addons/notes/src/index.js
#	addons/storyshots/storyshots-core/package.json
#	lib/channel-websocket/package.json
#	lib/components/package.json
#	lib/components/src/layout/desktop.js
#	lib/ui/package.json
#	lib/ui/src/modules/api/actions/api.js
#	lib/ui/src/modules/shortcuts/actions/shortcuts.js
#	lib/ui/src/modules/ui/components/stories_panel/index.js
#	lib/ui/src/modules/ui/components/stories_panel/text_filter.js
#	lib/ui/src/modules/ui/components/stories_panel/text_filter.test.js
#	lib/ui/src/modules/ui/containers/header.js
#	lib/ui/src/modules/ui/containers/layout.js
#	lib/ui/src/modules/ui/libs/filters.js
#	yarn.lock
2018-10-11 11:21:31 +02:00
Pavan Kumar Sunkara
3eec69461c
Merge branch 'master' into addon-jest-improvement 2018-10-08 09:29:36 +02:00
Pavan Kumar Sunkara
9664e9f44b Fix the broken lint 2018-10-07 11:57:18 +02:00
Norbert de Langen
e9b39b2076
Merge branch 'master' into addon-jest-improvement
# Conflicts:
#	addons/jest/package.json
#	yarn.lock
2018-10-01 10:23:41 +02:00
Brody McKee
1360c15674
Update addon-jest to new propType
Fixes #4251.
2018-09-29 15:09:00 +03:00
Norbert de Langen
4d86564023
FIX styling of test addon && CHANGE WORKLOG 2018-09-13 00:07:32 +02:00