39779 Commits

Author SHA1 Message Date
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
Jimmy Somsanith
84a67cf7d7 tests 2022-04-22 15:25:40 +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
Sulthan Mohaideen
cb9429b9fc Fix: [core-server] updating "storybook" command 2022-04-22 06:21:05 +05:30
Sulthan Mohaideen
8aff5cb45c Fix: [cli] updating "storybook" command 2022-04-22 06:08:43 +05:30
Sulthan Mohaideen
6dae6fdff9 Fix: [docs] updating cli docs command 2022-04-22 05:52:11 +05:30
JD Gomez
9a34926bd4
Update README.md 2022-04-21 11:33:50 -05: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
Ítalo Teixeira
8565df063a feat: add interactions to vue cli template 2022-04-20 23:33:27 +02:00
Yann Braga
3f84896ae2 add interactions to html cli template 2022-04-20 14:57:21 +02:00
jonniebigodes
32b01120ef addressing Yann's feedback 2022-04-19 21:43:05 +01:00
Jimmy Somsanith
e6a4baccdc oops 2022-04-19 22:32:18 +02:00
Jimmy Somsanith
d3b6fac9ab reset tooltip component 2022-04-19 22:30:33 +02:00
Matthew Borgman
7fb8699305
Remove errant , that's causing compilation errors
```
Error: Module build failed (from ../../node_modules/@mdx-js/loader/index.js):
SyntaxError: unknown: Unexpected token (195:16)

  193 |   language='css'
  194 |   dark
> 195 |   format={false},
      |                 ^
  196 |   code={`
  197 |      .container {
  198 |        display: grid | inline-grid;
```
2022-04-19 15:27:25 -05:00
Alex Laughnan
c6402b7e45
docs(storyshots): update wording for puppeteer addon 2022-04-19 12:42:24 -07:00
Kyle Gach
18ef57b407
Merge pull request #17944 from lhew/patch-1
documentation: Update react/storybook-testing-addon-optional-config.js.mdx
2022-04-19 08:58:13 -06:00
Yngve Bakken-Nilsen
36f6c82350 fix: add webpackStatsJson to angular-builder 2022-04-19 15:55:41 +02:00
Jimmy Somsanith
e9498c40b2 feat(#15866): % of users in a11y simulation tool 2022-04-19 15:54:28 +02:00
Joe Cocco
b1e94486a5
Merge branch 'storybookjs:next' into toolbar-dynamic-title 2022-04-19 01:50:55 -07:00
Leonardo Marques
172a8e8102
Update storybook-testing-addon-optional-config.3.js.mdx
As requested for this PR
2022-04-19 10:31:20 +02:00
Leonardo Marques
406950fee0
Update storybook-testing-addon-optional-config.2.js.mdx
As per requested for completion of this PR
2022-04-19 10:29:49 +02:00
jonniebigodes
29bc7a4310 minor typo fixed 2022-04-19 00:25:43 +01:00
jonniebigodes
a7ada3b979 feedback addressed 2022-04-19 00:21:04 +01:00
Jimmy Somsanith
50f4241958 fix(#12622): addon-a11y import with vite 2022-04-18 22:24:13 +02:00
Kyle Gach
2de4b0e9a0
Merge pull request #17446 from pd4d10/patch-1
Remove invalid example link
2022-04-18 09:11:21 -06:00
Kyle Gach
e592e40a4b
Merge pull request #17452 from huyenltnguyen/docs/update
docs(addon-links): correct the import statement of LinkTo
2022-04-18 09:07:37 -06:00
Ítalo Teixeira
6305d99860 feat: add interactions to svelte cli template 2022-04-18 16:21:25 +02:00
Michael Shilman
96f6276daa 6.5.0-alpha.64 next.json version file 2022-04-18 10:32:07 +08:00