9201 Commits

Author SHA1 Message Date
Michael Shilman
6ecbdd8808 Update git head to 6.5.0-beta.8, update yarn.lock 2022-05-11 02:56:15 +08:00
Michael Shilman
9b9d570d75 v6.5.0-beta.8 2022-05-11 02:51:50 +08:00
Michael Shilman
64074385db Update root, peer deps, version.ts/json to 6.5.0-beta.8 [ci skip] 2022-05-11 02:14:30 +08:00
Michael Shilman
16b1014480
Merge pull request #18164 from storybookjs/tech/upgrade-telejson-6
Upgrade to telejson 6
2022-05-10 16:39:14 +08:00
Norbert de Langen
db4a668866
fix cyclical array issue surfaced in angular 2022-05-09 19:18:45 +02:00
Norbert de Langen
464df9e027
try this 2022-05-09 16:14:41 +02:00
Norbert de Langen
4af3d84d4d
no optional chaining 2022-05-09 14:59:25 +02:00
Norbert de Langen
aab86d49a6
try this 2022-05-09 14:31:27 +02:00
Norbert de Langen
67cd79d0c4
migrate to lodash.get 2022-05-09 13:37:49 +02:00
Norbert de Langen
596cd15543
fix ESM issue, I hope 2022-05-09 13:11:32 +02:00
Norbert de Langen
bdba1a1ac6
fix problem with .mjs file-extention missing in import 2022-05-09 10:26:19 +02:00
Michael Shilman
337c11b6d6 Update git head to 6.5.0-beta.7, update yarn.lock 2022-05-09 10:54:52 +08:00
Michael Shilman
14bb6d241c v6.5.0-beta.7 2022-05-09 10:51:01 +08:00
Michael Shilman
35d6cebebd Update root, peer deps, version.ts/json to 6.5.0-beta.7 [ci skip] 2022-05-09 10:16:17 +08:00
Norbert de Langen
a0d080e828
upgrade to telejson 6 2022-05-06 17:51:49 +02:00
Michael Shilman
f4909f8ca3 Update git head to 6.5.0-beta.6, update yarn.lock 2022-05-06 01:32:30 +08:00
Michael Shilman
e86538e2ac v6.5.0-beta.6 2022-05-06 01:27:06 +08:00
Michael Shilman
ee53ccbf53 Update root, peer deps, version.ts/json to 6.5.0-beta.6 [ci skip] 2022-05-06 01:03:31 +08:00
Michael Shilman
a4c7a3d317 Update git head to 6.5.0-beta.5, update yarn.lock 2022-05-04 20:13:33 +08:00
Michael Shilman
77cd38edc2 v6.5.0-beta.5 2022-05-04 20:09:31 +08:00
Michael Shilman
9ad68fbc51 Update root, peer deps, version.ts/json to 6.5.0-beta.5 [ci skip] 2022-05-04 19:49:33 +08:00
Michael Shilman
b075568dc1 Update git head to 6.5.0-beta.4, update yarn.lock 2022-05-04 10:18:59 +08:00
Michael Shilman
55247a8e36 v6.5.0-beta.4 2022-05-04 10:15:08 +08:00
Michael Shilman
f44c70fd59 Update root, peer deps, version.ts/json to 6.5.0-beta.4 [ci skip] 2022-05-04 09:44:03 +08:00
Clark Jacobsohn
e53a3be0a1 Fix issue where Canvas block does not load CURRENT_SELECTION story 2022-05-03 17:43:03 -04:00
Kyle Gach
114a77cf70
Merge pull request #17989 from storybookjs/jsomsanith/fix/a11y_element_id
fix(#16232): use a11y params > element properly
2022-05-03 13:25:13 -06:00
Kyle Gach
27236cc712
Merge pull request #17983 from storybookjs/jsomsanith/16235/a11y_tab_nb
feat(#16235): display a11y issues number in addon tab title
2022-05-03 13:04:02 -06:00
Michael Shilman
f9ca2a0860 Update git head to 6.5.0-beta.3, update yarn.lock 2022-05-04 01:51:46 +08:00
Michael Shilman
04007f4e88 v6.5.0-beta.3 2022-05-04 01:48:01 +08:00
Michael Shilman
eb14129495 Update root, peer deps, version.ts/json to 6.5.0-beta.3 [ci skip] 2022-05-04 00:40:52 +08:00
Michael Shilman
d5ae6132ed Update git head to 6.5.0-beta.2, update yarn.lock 2022-05-03 19:19:56 +08:00
Michael Shilman
b42ccab2b3 v6.5.0-beta.2 2022-05-03 19:16:09 +08:00
Michael Shilman
0ae5d4930b Update root, peer deps, version.ts/json to 6.5.0-beta.2 [ci skip] 2022-05-03 18:44:58 +08:00
Jimmy Somsanith
9feb18832d
Update addons/a11y/src/a11yRunner.ts
Co-authored-by: Kyle Gach <kyle.gach@gmail.com>
2022-04-28 21:15:40 +02:00
Michael Shilman
52d774cba1 Update git head to 6.5.0-beta.1, update yarn.lock 2022-04-28 10:59:01 +08:00
Michael Shilman
85bcae3041 v6.5.0-beta.1 2022-04-28 10:55:24 +08:00
Michael Shilman
1a1c0203c1 Update root, peer deps, version.ts/json to 6.5.0-beta.1 [ci skip] 2022-04-28 10:33:58 +08:00
Michael Shilman
1a6ea867d2
Merge pull request #17789 from cocco3/toolbar-dynamic-title
Toolbars: Add dynamicTitle option
2022-04-28 10:30:45 +08:00
Tom Coleman
552b0d3f6c Update csf version from https://github.com/ComponentDriven/csf/pull/43 2022-04-27 10:39:49 +10:00
Jimmy Somsanith
d35072f69c fix 2022-04-26 21:30:43 +02:00
Jimmy Somsanith
bd5bb11803
Update addons/a11y/src/a11yRunner.ts
Co-authored-by: Kyle Gach <kyle.gach@gmail.com>
2022-04-26 21:28:35 +02: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 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
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
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
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