Skip to content

Commit

Permalink
Merge branch 'master' into FE-5762-storybook-accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
damienrobson-sage authored Oct 14, 2024
2 parents 6747a04 + 96d41f2 commit 6406b7b
Show file tree
Hide file tree
Showing 14 changed files with 7,236 additions and 12,265 deletions.
10 changes: 10 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,18 @@ const getStories = () =>

const config: StorybookConfig = {
framework: "@storybook/react-webpack5",

stories: [
"./welcome-page/welcome.stories.js",
"../docs/*.mdx",
"../docs/*.stories.tsx",
...getStories(),
],

core: {
disableTelemetry: true,
},

addons: [
"@storybook/addon-a11y",
"@storybook/addon-actions",
Expand All @@ -44,8 +47,11 @@ const config: StorybookConfig = {
"@storybook/addon-toolbars",
"@storybook/addon-viewport",
"@storybook/addon-webpack5-compiler-swc",
"@chromatic-com/storybook",
],

staticDirs: ["../.assets", "../logo"],

webpackFinal: async (config) => ({
...config,
module: {
Expand All @@ -62,6 +68,7 @@ const config: StorybookConfig = {
],
},
}),

...(isChromatic && {
previewHead: (head) => `
${head}
Expand All @@ -72,10 +79,13 @@ const config: StorybookConfig = {
<meta name="robots" content="noindex">
`,
}),

typescript: {
check: false,
reactDocgen: "react-docgen-typescript",
},

docs: {},
};

export default config;
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
## [143.1.0](https://github.com/Sage/carbon/compare/v143.0.2...v143.1.0) (2024-10-14)


### Features

* **storybook:** upgrade storybook to 8.3 ([362e4e0](https://github.com/Sage/carbon/commit/362e4e0b91d0e59bb4e7e97a63e612251f5ae144))

### [143.0.2](https://github.com/Sage/carbon/compare/v143.0.1...v143.0.2) (2024-10-14)


### Bug Fixes

* **action-popover-menu:** investigate focusIndex and setFocusIndex props on ActionPopoverMenu ([6d9cb82](https://github.com/Sage/carbon/commit/6d9cb82f3b0ff5f7fd3f5865c98b80455d3b81ba))

### [143.0.1](https://github.com/Sage/carbon/compare/v143.0.0...v143.0.1) (2024-10-14)


### Bug Fixes

* **option:** makes `value` and `text` props optional ([fb37215](https://github.com/Sage/carbon/commit/fb372157e93cc171fa596ca9d74b299851db216c)), closes [#6939](https://github.com/Sage/carbon/issues/6939)
* **select:** upgrade tanstack react-virtual to latest ([c51688f](https://github.com/Sage/carbon/commit/c51688fce6c25b7559e475fb09eef583689d1274)), closes [#6978](https://github.com/Sage/carbon/issues/6978)

## [143.0.0](https://github.com/Sage/carbon/compare/v142.13.5...v143.0.0) (2024-10-10)


Expand Down
Loading

0 comments on commit 6406b7b

Please sign in to comment.