Skip to content

Commit 7c9428e

Browse files
committed
Use new imports
1 parent 4933896 commit 7c9428e

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

extensions/ql-vscode/.storybook/manager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { addons } from "@storybook/manager-api";
2-
import { themes } from "@storybook/theming";
1+
import { addons } from "storybook/manager-api";
2+
import { themes } from "storybook/theming";
33

44
addons.setConfig({
55
theme: themes.dark,

extensions/ql-vscode/.storybook/preview.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Preview } from "@storybook/react";
2-
import { themes } from "@storybook/theming";
3-
import { action } from "@storybook/addon-actions";
2+
import { themes } from "storybook/theming";
3+
import { action } from "storybook/actions";
44

55
// Allow all stories/components to use Codicons
66
import "@vscode/codicons/dist/codicon.css";
@@ -20,6 +20,7 @@ window.acquireVsCodeApi = () => ({
2020

2121
// https://storybook.js.org/docs/react/configure/overview#configure-story-rendering
2222
const preview: Preview = {
23+
tags: ["autodocs"],
2324
parameters: {
2425
// All props starting with `on` will automatically receive an action as a prop
2526
actions: { argTypesRegex: "^on[A-Z].*" },

extensions/ql-vscode/.storybook/vscode-theme-addon/ThemeSelector.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import * as React from "react";
22
import type { FunctionComponent } from "react";
33
import { useCallback } from "react";
44

5-
import { useGlobals } from "@storybook/manager-api";
5+
import { useGlobals } from "storybook/manager-api";
66
import {
77
IconButton,
88
TooltipLinkList,
99
WithTooltip,
10-
} from "@storybook/components";
10+
} from "storybook/internal/components";
1111
import { DashboardIcon } from "@storybook/icons";
1212

1313
import { themeNames, VSCodeTheme } from "./theme";

extensions/ql-vscode/.storybook/vscode-theme-addon/manager.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from "react";
2-
import { addons } from "@storybook/manager-api";
2+
import { addons } from "storybook/manager-api";
33
import { Addon_TypesEnum } from "storybook/internal/types";
44
import { ThemeSelector } from "./ThemeSelector";
55

extensions/ql-vscode/src/stories/results/AlertTable.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Meta, StoryFn } from "@storybook/react";
2-
import { action } from "@storybook/addon-actions";
2+
import { action } from "storybook/actions";
33

44
import { AlertTable as AlertTableComponent } from "../../view/results/AlertTable";
55

0 commit comments

Comments
 (0)