Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to official Storybook 7 release #1147

Merged
merged 8 commits into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
jattasNI marked this conversation as resolved.
Show resolved Hide resolved
"type": "none",
"comment": "Move to official Storybook 7 release",
"packageName": "@ni/nimble-components",
"email": "[email protected]",
"dependentChangeType": "none"
}
3,170 changes: 1,618 additions & 1,552 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion packages/nimble-components/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ export const parameters = {
expanded: true
},
docs: {
transformSource
source: {
transform: transformSource
}
}
};

Expand Down
24 changes: 12 additions & 12 deletions packages/nimble-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,18 @@
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@storybook/addon-a11y": "^7.0.0-rc.8",
"@storybook/addon-actions": "^7.0.0-rc.8",
"@storybook/addon-docs": "^7.0.0-rc.8",
"@storybook/addon-essentials": "^7.0.0-rc.8",
"@storybook/addon-interactions": "^7.0.0-rc.8",
"@storybook/addon-links": "^7.0.0-rc.8",
"@storybook/addons": "^7.0.0-rc.8",
"@storybook/cli": "^7.0.0-rc.8",
"@storybook/addon-a11y": "^7.0.2",
"@storybook/addon-actions": "^7.0.2",
"@storybook/addon-docs": "^7.0.2",
"@storybook/addon-essentials": "^7.0.2",
"@storybook/addon-interactions": "^7.0.2",
"@storybook/addon-links": "^7.0.2",
"@storybook/addons": "^7.0.2",
"@storybook/cli": "^7.0.2",
"@storybook/csf": "0.0.2-next.10",
"@storybook/html": "^7.0.0-rc.8",
"@storybook/html-webpack5": "^7.0.0-rc.8",
"@storybook/theming": "^7.0.0-rc.8",
"@storybook/html": "^7.0.2",
"@storybook/html-webpack5": "^7.0.2",
"@storybook/theming": "^7.0.2",
"@types/jasmine": "^4.3.1",
"@types/webpack-env": "^1.15.2",
"babel-loader": "^ 9.1.2",
Expand Down Expand Up @@ -115,7 +115,7 @@
"puppeteer": "^10.1.0",
"rollup": "^3.10.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"storybook": "^7.0.0-rc.8",
"storybook": "^7.0.2",
"ts-loader": "^9.2.5",
"typescript": "~4.6.4",
"webpack": "^5.75.0",
Expand Down
13 changes: 0 additions & 13 deletions patches/@storybook+html+7.0.0-rc.8.patch

This file was deleted.

13 changes: 13 additions & 0 deletions patches/@storybook+html+7.0.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/node_modules/@storybook/html/dist/types-ccac9448.d.ts b/node_modules/@storybook/html/dist/types-ccac9448.d.ts
index a973f71..558cacb 100644
--- a/node_modules/@storybook/html/dist/types-ccac9448.d.ts
+++ b/node_modules/@storybook/html/dist/types-ccac9448.d.ts
@@ -1,6 +1,6 @@
import { PartialStoryFn, ArgsStoryFn, RenderContext, WebRenderer, StoryContext as StoryContext$1 } from '@storybook/types';
-import * as lib_docs_tools_dist from 'lib/docs-tools/dist';
-import * as lib_types_dist from 'lib/types/dist';
+import * as lib_docs_tools_dist from '@storybook/docs-tools/dist';
+import * as lib_types_dist from '@storybook/types/dist';

declare function sourceDecorator(storyFn: PartialStoryFn<HtmlRenderer>, context: StoryContext): StoryFnHtmlReturnType;