Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
  • Loading branch information
ndelangen committed Mar 12, 2025
commit 8d31140b2214bc37b2c83a5ca89397624b8babc4
2 changes: 1 addition & 1 deletion src/components/List.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ArrowDownIcon } from "@storybook/icons";
import React, { Fragment, useState } from "react";
import { styled } from "storybook/internal/theming";
import { styled } from "storybook/theming";

type Item = {
title: string;
Expand Down
4 changes: 2 additions & 2 deletions src/components/Panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import React, { Fragment, memo, useCallback, useState } from "react";
import { Result } from "src/types";
import { AddonPanel } from "storybook/internal/components";
import { Button, Placeholder, TabsState } from "storybook/internal/components";
import { useChannel } from "storybook/internal/manager-api";
import { styled, useTheme } from "storybook/internal/theming";
import { useChannel } from "storybook/manager-api";
import { styled, useTheme } from "storybook/theming";

import { EVENTS } from "../constants";
import { List } from "./List";
Expand Down
4 changes: 2 additions & 2 deletions src/components/Tab.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { LightningIcon } from "@storybook/icons";
import React, { useCallback } from "react";
import { Code, H1, IconButton, Link } from "storybook/internal/components";
import { useGlobals, useParameter } from "storybook/internal/manager-api";
import { styled } from "storybook/internal/theming";
import { useGlobals, useParameter } from "storybook/manager-api";
import { styled } from "storybook/theming";

import { KEY } from "../constants";

Expand Down
2 changes: 1 addition & 1 deletion src/components/Tool.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { memo, useCallback, useEffect } from "react";
import { useGlobals, type API } from "storybook/internal/manager-api";
import { useGlobals, type API } from "storybook/manager-api";
import { IconButton } from "storybook/internal/components";
import { ADDON_ID, KEY, TOOL_ID } from "../constants";
import { LightningIcon } from "@storybook/icons";
Expand Down
2 changes: 1 addition & 1 deletion src/manager.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { addons, types } from "storybook/internal/manager-api";
import { addons, types } from "storybook/manager-api";

import { Panel } from "./components/Panel";
import { Tab } from "./components/Tab";
Expand Down
2 changes: 1 addition & 1 deletion src/withGlobals.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useEffect, useGlobals } from "storybook/internal/preview-api";
import { useEffect, useGlobals } from "storybook/preview-api";
import type {
Renderer,
StoryContext,
Expand Down
3 changes: 1 addition & 2 deletions src/withRoundTrip.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Result } from "src/types";
import { useEffect } from "storybook/internal/preview-api";
import { useChannel } from "storybook/internal/preview-api";
import { useEffect, useChannel } from "storybook/preview-api";
import type { DecoratorFunction } from "storybook/internal/types";

import { EVENTS } from "./constants";
Expand Down
Loading