39775 Commits

Author SHA1 Message Date
Michael Shilman
071501da4d
Merge pull request #18014 from storybookjs/feat/add-interactions-to-html-cli-template
CLI/HTML: Add interactions to cli template
2022-04-25 17:49:16 +08:00
Valentin Palkovič
5dbd907fa3 Rename isStoryAndComponentNameEqual function 2022-04-25 11:20:43 +02:00
Huyen Nguyen
e0f6bca5eb address feedback 2022-04-25 15:13:09 +07:00
Valentin Palkovič
0d155a35b2 fix: Auto-title regression for pascal case filenames 2022-04-25 08:21:30 +02:00
Michael Shilman
3138960f96 Merge branch 'future/add-frameworks' into future/minimize-webpack-deps 2022-04-24 14:44:59 +08:00
Michael Shilman
6af99aa81d Merge branch 'future/renderer-presets' into future/add-frameworks 2022-04-24 14:42:28 +08:00
Michael Shilman
2f4d53f6b8 Merge branch 'future/add-renderers' into future/renderer-presets 2022-04-24 14:39:51 +08:00
Michael Shilman
7cd57719df Fix versions 2022-04-24 14:39:06 +08:00
Michael Shilman
cef062a87f Merge branch 'future/remove-start-build-storybook' into future/add-renderers 2022-04-24 14:38:13 +08:00
Michael Shilman
3c4983150e Merge branch 'future/sb-start-build' into future/remove-start-build-storybook 2022-04-24 14:34:36 +08:00
Michael Shilman
664191c913 Merge branch 'future/base' into future/sb-start-build 2022-04-24 14:31:26 +08:00
Michael Shilman
4acf6c096c 6.5.0-beta.0 next.json version file 2022-04-24 14:22:01 +08:00
Michael Shilman
38ecfb2e14 Update git head to 6.5.0-beta.0, update yarn.lock 2022-04-24 14:19:59 +08:00
Michael Shilman
b2e85f3599 v6.5.0-beta.0 v6.5.0-beta.0 2022-04-24 14:16:08 +08:00
Michael Shilman
6d9eeae17b Update root, peer deps, version.ts/json to 6.5.0-beta.0 [ci skip] 2022-04-24 13:49:03 +08:00
Michael Shilman
02ccd3b3a9 6.5.0-beta.0 changelog 2022-04-24 13:48:20 +08:00
Yann Braga
abaa657c74
Update lib/cli/src/frameworks/vue/Page.stories.js 2022-04-23 10:57:01 +02:00
Yann Braga
526d4343fc Merge branch 'next' into feat/add-interactions-to-html-cli-template 2022-04-23 10:34:40 +02:00
Yann Braga
9ca856b98b
Merge pull request #18031 from italoteix/feat/add-interactions-to-vue3-cli-template
CLI/Vue3: add interactions to vue3 cli template
2022-04-23 10:31:52 +02:00
Valentin Palkovič
02ec983231 Apply requested PR changes 2022-04-23 08:48:25 +02:00
Valentin Palkovič
216825a859 docs: Add documentation to use Typescript with Vue 2/3 on Write Stories page 2022-04-23 08:36:30 +02:00
Burhanuddin Udaipurwala
8282a564ce fix: both return statements should return permanent 2022-04-23 11:48:55 +05:30
Burhanuddin Udaipurwala
26685ace67 feat: make panel position a persistent perference 2022-04-23 11:45:26 +05:30
jonniebigodes
9977a79552
Merge pull request #18005 from laughnan/storyshots-puppeteer-docs
docs(storyshots): update wording for puppeteer addon
2022-04-23 01:01:00 +01:00
jonniebigodes
48a214b0e1
Merge pull request #18020 from jdgomezb/patch-1
Update README.md
2022-04-23 00:55:15 +01:00
jonniebigodes
d652dff2c8
Merge pull request #18006 from matthewborgman/patch-1
Remove errant `,` in example that causes compilation errors
2022-04-23 00:47:46 +01:00
Ítalo Teixeira
4b9f6d28f1 Merge branch 'feat/add-interactions-to-vue-cli-template' of https://github.com/italoteix/storybook into feat/add-interactions-to-vue-cli-template 2022-04-23 00:32:53 +02:00
Ítalo Teixeira
88cdcffd2c feat: use find to query element on play function 2022-04-23 00:30:47 +02:00
Ítalo Teixeira
b26d8f4cb2 feat: move cb functions to methods 2022-04-23 00:30:02 +02:00
Ítalo Teixeira
02b6586573 feat: add interactions to vue3 cli template 2022-04-23 00:18:54 +02:00
jonniebigodes
1d3cb782b5
Merge branch 'next' into chore_docs_testing_docs_updates_6_5 2022-04-22 21:12:11 +01:00
jonniebigodes
4c569ddd55
Merge pull request #17846 from storybookjs/chore_docs_fix_dead_links_monorepo
Chore: (Docs) Fixes links across the monorepo
2022-04-22 21:09:14 +01:00
jonniebigodes
20c664845e Additional feedback addressed 2022-04-22 20:55:31 +01:00
Yann Braga
bb9532ed30 Merge branch 'next' into feat/add-interactions-to-vue-cli-template 2022-04-22 17:44:30 +02:00
Yann Braga
08289f7a33 Merge branch 'next' into feat/add-interactions-to-html-cli-template 2022-04-22 17:31:00 +02:00
Yann Braga
2262d27e24
Merge pull request #17993 from italoteix/feat/add-interactions-to-svelte-cli-template
CLI/Svelte: add interactions to cli template
2022-04-22 17:29:44 +02:00
Yann Braga
065cc587c4 Merge branch 'next' into chore_docs_fix_dead_links_monorepo 2022-04-22 16:54:59 +02:00
Ian VanSchooten
a93609d090
Addon-a11y: fix axe-core import syntax for vite (#17997)
Issue: #12622

`Axe-core` exposes a commonjs module equivalent to 
```javascript
const axe = {};
// a bunch of code adding functions in axe object

module.exports = axe;
```
Storybook with builder-vite wraps axe-core dynamic import and ends up with a module containing only default export.
```javascript
// axe-core module with vite
{
  default: { run, reset, ... }
}
```

Webpack has another behavior, and ends up with a module containing default and all the named export function.
```javascript
// axe-core module with vite
{
  default: { run, reset, ... },
  run,
  reset,
  ...
}
```

But `addon-a11y` imports `axe-core` and use it directly with `axe.run()` for example, consuming the named exports.
For storybook with vite, it fails as `axe.run()` doesn't exist, whereas `axe.default.run()` exists.

## What I did

In `addon-a11y`, consume axe default export as it is always available.

## How to test

- [ ] Is this testable with Jest or Chromatic screenshots?
- [ ] Does this need a new example in the kitchen sink apps?
- [ ] Does this need an update to the documentation?

If your answer is yes to any of these, please make sure to include it in your PR.

<!--

Everybody: Please submit all PRs to the `next` branch unless they are specific to the current release. Storybook maintainers cherry-pick bug and documentation fixes into the `master` branch as part of the release process, so you shouldn't need to worry about this. For additional guidance: https://storybook.js.org/docs/react/contribute/how-to-contribute

Maintainers: Please tag your pull request with at least one of the following:
`["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]`

-->
2022-04-22 08:43:14 -04:00
Michael Shilman
483d265bb8 Remove webpack deps 2022-04-22 15:45:02 +08:00
Michael Shilman
6498d99ad2 Remove unnecessary webpack-env types 2022-04-22 15:07:56 +08:00
JD Gomez
9a34926bd4
Update README.md 2022-04-21 11:33:50 -05:00
Michael Shilman
32d696dd75 Fix web-components presets 2022-04-21 18:59:15 +08:00
Michael Shilman
88b134c135
Merge pull request #17647 from storybookjs/feat/move-rerun-button-to-subnav
UI: Move the "Rerun interactions" button to Subnav
2022-04-21 18:01:42 +08:00
Yann Braga
80a96de61a Merge branch 'next' into feat/add-interactions-to-svelte-cli-template 2022-04-21 11:33:40 +02:00
Michael Shilman
fa9c5da03e More preset fixes 2022-04-21 17:27:17 +08:00
Michael Shilman
2a80955da2 Presets CI fixes 2022-04-21 17:02:12 +08:00
Michael Shilman
2aa4cc58f8 Fix verdaccio config for presets 2022-04-21 16:41:19 +08:00
Michael Shilman
5ba0e760fe Update yarn.lock 2022-04-21 16:06:44 +08:00
Michael Shilman
9a81a66017 Preset refactor project setup 2022-04-21 16:05:04 +08:00
Michael Shilman
436f46678f Core: Add babel/babelDefault to StorybookConfig type 2022-04-21 16:04:12 +08:00