Skip to content

Commit

Permalink
Merge pull request #17929 from storybookjs/export-create-cache
Browse files Browse the repository at this point in the history
Export `createCache` from `@storybook/theming`
  • Loading branch information
ndelangen authored Apr 11, 2022
2 parents d086bbc + 82fcd20 commit 7e548dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/theming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"regenerator-runtime": "^0.13.7"
},
"devDependencies": {
"@emotion/cache": "^11.7.1",
"@emotion/is-prop-valid": "^1.1.2",
"@emotion/react": "^11.8.1",
"@emotion/styled": "^11.8.1",
Expand Down
1 change: 1 addition & 0 deletions lib/theming/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const styled = emotionStyled as CreateStyled<Theme>;
export * from './base';
export * from './types';

export { default as createCache } from '@emotion/cache';
export { default as isPropValid } from '@emotion/is-prop-valid';

export { createGlobal, createReset } from './global';
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8773,6 +8773,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/theming@workspace:lib/theming"
dependencies:
"@emotion/cache": ^11.7.1
"@emotion/is-prop-valid": ^1.1.2
"@emotion/react": ^11.8.1
"@emotion/styled": ^11.8.1
Expand Down

0 comments on commit 7e548dc

Please sign in to comment.