Skip to content

Commit

Permalink
Version Packages (#801)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
seek-oss-ci and github-actions[bot] committed May 17, 2023
1 parent b9a1474 commit 3d0c589
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 32 deletions.
31 changes: 0 additions & 31 deletions .changeset/large-needles-serve.md

This file was deleted.

32 changes: 32 additions & 0 deletions packages/sku/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# sku

## 11.12.0

### Minor Changes

- Add support for Storybook's `preview.js` file and re-export the `DecoratorFn` type from `@storybook/react` ([#792](https://github.com/seek-oss/sku/pull/792))

sku now supports global customization of story rendering via a `.storybook/preview.(js|ts|tsx)` file.

**EXAMPLE USAGE:**

```tsx
import 'braid-design-system/reset';
import apac from 'braid-design-system/themes/apac';
import { BraidProvider } from 'braid-design-system';

import React from 'react';
import type { DecoratorFn } from 'sku/@storybook/react';

// This will wrap every story in a BraidProvider
export const decorators: DecoratorFn = [
(Story) => (
<BraidProvider theme={apac}>
<Story />
</BraidProvider>
),
];
```

See [the Storybook docs][storybook preview.js] for more info.

[storybook preview.js]: https://storybook.js.org/docs/react/configure/overview#configure-story-rendering

## 11.11.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sku/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sku",
"version": "11.11.2",
"version": "11.12.0",
"description": "Front-end development toolkit, powered by Webpack, Babel, CSS Modules, Less and Jest",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit 3d0c589

Please sign in to comment.