mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
fix manager-api imports in manager
This commit is contained in:
parent
14c0ab5f86
commit
e8ba1c2496
@ -2,7 +2,8 @@ import { createContext, useContext } from 'react';
|
||||
|
||||
import type { API_StatusObject, API_StatusState, API_StatusValue, StoryId } from '@storybook/types';
|
||||
|
||||
import type { StoriesHash } from '../../../manager-api';
|
||||
import type { StoriesHash } from '@storybook/core/manager-api';
|
||||
|
||||
import type { Item } from '../../container/Sidebar';
|
||||
import { getDescendantIds } from '../../utils/tree';
|
||||
|
||||
|
@ -5,8 +5,8 @@ import type { Meta, StoryObj } from '@storybook/react';
|
||||
import { fn, userEvent } from '@storybook/test';
|
||||
|
||||
import type { TestProviders } from '@storybook/core/core-events';
|
||||
import { ManagerContext } from '@storybook/core/manager-api';
|
||||
|
||||
import { ManagerContext } from '../../../manager-api';
|
||||
import { TestingModule } from './TestingModule';
|
||||
|
||||
const baseState = {
|
||||
|
@ -1,13 +1,13 @@
|
||||
import React, { type SyntheticEvent, useEffect, useRef, useState } from 'react';
|
||||
|
||||
import { Button, TooltipNote } from '@storybook/core/components';
|
||||
import { WithTooltip } from '@storybook/core/components';
|
||||
import { keyframes, styled } from '@storybook/core/theming';
|
||||
import { ChevronSmallUpIcon, PlayAllHollowIcon } from '@storybook/icons';
|
||||
|
||||
import type { TestProviders } from '@storybook/core/core-events';
|
||||
import { useStorybookApi } from '@storybook/core/manager-api';
|
||||
|
||||
import { WithTooltip } from '../../../components/components/tooltip/WithTooltip';
|
||||
import { useStorybookApi } from '../../../manager-api';
|
||||
import { LegacyRender } from './LegacyRender';
|
||||
|
||||
const DEFAULT_HEIGHT = 500;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import type { State } from '../../manager-api/root';
|
||||
import type { State } from '@storybook/core/manager-api';
|
||||
|
||||
export const defaultShortcuts: State['shortcuts'] = {
|
||||
fullScreen: ['F'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user