371 Commits

Author SHA1 Message Date
Michael Shilman
76e5df9ace v5.1.0-alpha.7 2019-03-16 15:13:47 +08:00
Michael Shilman
55547f38ef
Merge pull request #6104 from storybooks/6081-deprecate-extend-mode
Restore v4 webpack extend mode behavior AND deprecate it
2019-03-16 14:19:33 +08:00
Michael Shilman
5ed463f23a Fix examples webpack config 2019-03-16 13:23:21 +08:00
Arman Sargsyan
af0ea7e8b4 fix(a11y): a11y each report has 'name' param for generate unique key for item
@see https://github.com/storybooks/storybook/issues/6107
2019-03-16 00:47:43 +03:00
Michael Shilman
daccff8919 v5.1.0-alpha.6 2019-03-14 08:48:59 +08:00
Michael Shilman
7251eac232
Merge pull request #6044 from jsomsanith/jsomsanith/fix/a11y_run_with_active_tab
fix(addon/a11y): run scan only when addon tab is active
2019-03-14 01:18:34 +08:00
Jimmy Somsanith
20be9b554d Add loader instead of black report 2019-03-13 16:06:50 +01:00
Michael Shilman
81f7d94fc5 v5.1.0-alpha.5 2019-03-13 05:25:31 +08:00
Jimmy Somsanith
ac451b3f9b fix(addon/a11y): run scan only when addon tab is active 2019-03-12 14:26:01 +01:00
Norbert de Langen
cf96e889c1
Merge pull request #6026 from Armanio/fix/a11y_dark_reports
fix(a11y): remove bg color from reports
2019-03-12 10:02:44 +01:00
Norbert de Langen
72cca895b8
Merge pull request #6034 from storybooks/dependabot/npm_and_yarn/axe-core-3.2.2
build(deps): bump axe-core from 3.2.0 to 3.2.2
2019-03-12 09:31:34 +01:00
Michael Shilman
cd4e5dd4f6 Merge pull request #5972 from chrisdrackett/patch-3
add missing `addDecorator` import
2019-03-12 15:58:01 +08:00
dependabot[bot]
e6f28790dc
build(deps): bump axe-core from 3.2.0 to 3.2.2
Bumps [axe-core](https://github.com/dequelabs/axe-core) from 3.2.0 to 3.2.2.
- [Release notes](https://github.com/dequelabs/axe-core/releases)
- [Changelog](https://github.com/dequelabs/axe-core/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/dequelabs/axe-core/compare/v3.2.0...v3.2.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-12 05:21:56 +00:00
Arman Sargsyan
4828ee29d2 fix(a11y): remove bg color from reports 2019-03-12 00:01:59 +03:00
Michael Shilman
aab869c4d8 v5.1.0-alpha.4 2019-03-11 22:29:26 +08:00
Arman Sargsyan
945ccffc24 fix(a11y): 'element' arg in config not ignored 2019-03-10 12:49:47 +03:00
Gaëtan Maisse
5c3dbbb8ef
Merge pull request #5991 from Armanio/fix/a11y_rules_style
Addon-a11y: fix design icons
2019-03-10 10:28:39 +01:00
Arman Sargsyan
54564946a3 fix(a11y): icon design, rule text align 2019-03-10 01:20:51 +03:00
Michael Shilman
978caa7450 v5.1.0-alpha.3 2019-03-09 23:25:09 +08:00
Arman Sargsyan
c24c7075fd feat(a11y): add 'incomplete' tab
@see https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#callback-parameter
2019-03-09 16:46:56 +03:00
dependabot[bot]
02a50729ee
Bump react from 16.8.3 to 16.8.4
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.8.3 to 16.8.4.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.8.4/packages/react)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-09 00:41:04 +00:00
Michael Shilman
394cc91637 v5.1.0-alpha.2 2019-03-08 18:36:07 +08:00
Gaëtan Maisse
77ad48e74a
Merge pull request #5738 from gaetanmaisse/ts-migration/addon-a11y
Migrate addon a11y to TS
2019-03-07 20:23:20 +01:00
Michael Shilman
ed9b342742 v5.1.0-alpha.1 2019-03-07 22:13:18 +08:00
Gaëtan Maisse
f3a0ad6ff9 refactor: use a class property to prevent performance issue
See https://reactjs.org/docs/faq-functions.html#arrow-function-in-render
And https://reactjs.org/docs/faq-functions.html#class-properties-stage-3-proposal
2019-03-07 08:21:44 +01:00
Gaëtan Maisse
a22b88e0a2 chore: use named import/export instead of default ones in addons/a11y 2019-03-07 08:21:44 +01:00
Gaëtan Maisse
e913428796 chore: remove prop-types dependency from package.json of addons/a11y 2019-03-07 08:21:44 +01:00
Gaëtan Maisse
d7ad26e90e chore: type src of addons/a11y 2019-03-07 08:21:44 +01:00
Gaëtan Maisse
76029c9400 chore: migrate src of addons/a11y to Typescript 2019-03-07 08:21:44 +01:00
Gaëtan Maisse
e4cf45cce8 chore: add tsconfig in addons/a11y 2019-03-07 08:21:44 +01:00
Michael Shilman
a05491b07a v5.1.0-alpha.0 2019-03-06 10:39:47 +08:00
Norbert de Langen
95b8cadc3a Merge branch 'next' into tech/upgrades
# Conflicts:
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/cssresources/package.json
#	addons/events/package.json
#	addons/google-analytics/package.json
#	addons/info/package.json
#	addons/jest/package.json
#	addons/ondevice-backgrounds/package.json
#	addons/ondevice-knobs/package.json
#	addons/ondevice-notes/package.json
#	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/ember/package.json
#	examples/angular-cli/package.json
#	examples/cra-kitchen-sink/package.json
#	examples/cra-ts-kitchen-sink/package.json
#	examples/ember-cli/package.json
#	examples/mithril-kitchen-sink/package.json
#	examples/official-storybook/package.json
#	examples/riot-kitchen-sink/package.json
#	examples/vue-kitchen-sink/package.json
#	lib/core/package.json
#	yarn.lock
2019-03-05 22:48:38 +01:00
Michael Shilman
f2b625bab0 Merge master into next after 5.0.0 release 2019-03-06 02:08:02 +08:00
Norbert de Langen
d7417dec19 Merge branch 'next' into tech/upgrades
# Conflicts:
#	addons/knobs/package.json
#	yarn.lock
2019-03-05 10:56:25 +01:00
Michael Shilman
b2ca0c3db1 Deprecate withA11Y 2019-03-04 21:38:28 +08:00
Michael Shilman
47d484aace Cleanup & document a11y migration 2019-03-04 13:00:17 +08:00
Norbert de Langen
cd3105ee0f Merge branch 'next' into tech/upgrades
# Conflicts:
#	addons/jest/package.json
#	examples/angular-cli/package.json
#	lib/components/package.json
#	yarn.lock
2019-02-28 00:39:32 +01: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
domyen
239f2ac1fb Fix a11y ActionBar placement when scrolling 2019-02-26 14:01:05 -05:00
domyen
de59f6c1c8 Merge branch 'next' into simplebar-scrollbars 2019-02-25 13:45:40 -05:00
domyen
ef0bb45d8f Make note of an optimization which causes a bug in scroll accidentally scrolling Actionbar 2019-02-25 13:29:00 -05:00
Norbert de Langen
37e3172512 UPGRADE more 2019-02-25 11:59:36 +01:00
Norbert de Langen
288b445f44 UPGRADE stuff 2019-02-24 21:49:05 +01:00
Norbert de Langen
564ddb8a7f Merge branch 'next' into tech/cleanup-unused-dependencies
# Conflicts:
#	addons/a11y/package.json
#	addons/cssresources/package.json
#	addons/storyshots/storyshots-core/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/preact/package.json
#	app/riot/package.json
#	app/svelte/package.json
#	app/vue/package.json
#	lib/components/package.json
#	lib/core/package.json
#	lib/theming/package.json
#	lib/ui/package.json
#	yarn.lock
2019-02-24 19:32:23 +01:00
Norbert de Langen
4994790c98 FIX a11y setup being undefined 2019-02-22 16:22:58 +01:00
Norbert de Langen
d986e59721
Merge pull request #5712 from storybooks/minor-addon-UX-tweaks
Minor addon ux tweaks
2019-02-21 22:14:31 +01:00
Tom Coleman
2aec970c90
Merge pull request #5713 from storybooks/fix/scrolling-down-on-storychange
Fix the damn scrolly scrolly buggy buggy stuff
2019-02-22 08:13:20 +11:00
Norbert de Langen
a618512a58 ADD options to a11y addon so it's doesn't do the damn scrolly scrolly buggy buggy stuff
MOVE the scrollTop to after the component rendered
ADD stories to test the behavior properly
2019-02-21 21:28:32 +01:00
domyen
2522d5fc94 Make the color swatch more consisten between background and color blindness addons 2019-02-21 15:16:54 -05:00
Norbert de Langen
3ad142f068 FIX initial state of ColorBlindness Tool 2019-02-21 02:20:23 +01:00