diff --git a/src/design-system/atoms/feature-gate/FeatureGate.stories.tsx b/src/design-system/atoms/feature-gate/FeatureGate.stories.tsx index 1b90b13..9b5cd95 100644 --- a/src/design-system/atoms/feature-gate/FeatureGate.stories.tsx +++ b/src/design-system/atoms/feature-gate/FeatureGate.stories.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { FeatureFlagDecorator } from 'roleypoly/src/common/utils/featureFlags/react/storyDecorator'; +import { FeatureFlagDecorator } from 'roleypoly/common/utils/featureFlags/react/storyDecorator'; import { FeatureGate } from './FeatureGate'; export default { diff --git a/src/design-system/atoms/feature-gate/FeatureGate.tsx b/src/design-system/atoms/feature-gate/FeatureGate.tsx index eb4ba84..5e53acb 100644 --- a/src/design-system/atoms/feature-gate/FeatureGate.tsx +++ b/src/design-system/atoms/feature-gate/FeatureGate.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { FeatureFlag, FeatureFlagsContext, -} from 'roleypoly/src/common/utils/featureFlags/react'; +} from 'roleypoly/common/utils/featureFlags/react'; export type FeatureGateProps = { featureFlag: FeatureFlag; diff --git a/src/design-system/atoms/horizontal-switch/HorizontalSwitch.styled.ts b/src/design-system/atoms/horizontal-switch/HorizontalSwitch.styled.ts index f94a919..c1413c7 100644 --- a/src/design-system/atoms/horizontal-switch/HorizontalSwitch.styled.ts +++ b/src/design-system/atoms/horizontal-switch/HorizontalSwitch.styled.ts @@ -1,7 +1,7 @@ import styled, { css } from 'styled-components'; import * as _ from 'styled-components'; // eslint-disable-line no-duplicate-imports -import { palette } from 'roleypoly/src/design-system/atoms/colors'; -import { transitions } from 'roleypoly/src/design-system/atoms/timings'; +import { palette } from 'roleypoly/design-system/atoms/colors'; +import { transitions } from 'roleypoly/design-system/atoms/timings'; export const Item = styled.div<{ selected: boolean }>` padding: 10px; diff --git a/src/design-system/molecules/editor-category/EditorCategory.tsx b/src/design-system/molecules/editor-category/EditorCategory.tsx index 0132f99..071e862 100644 --- a/src/design-system/molecules/editor-category/EditorCategory.tsx +++ b/src/design-system/molecules/editor-category/EditorCategory.tsx @@ -1,20 +1,13 @@ import * as React from 'react'; -import { HorizontalSwitch } from 'roleypoly/src/design-system/atoms/horizontal-switch'; -import { Space } from 'roleypoly/src/design-system/atoms/space'; -import { - TextInput, - TextInputWithIcon, -} from 'roleypoly/src/design-system/atoms/text-input'; -import { Text } from 'roleypoly/src/design-system/atoms/typography'; -import { Popover } from 'roleypoly/src/design-system/atoms/popover'; -import { FaderOpacity } from 'roleypoly/src/design-system/atoms/fader'; -import { RoleSearch } from 'roleypoly/src/design-system/molecules/role-search'; -import { - Category, - CategoryType, - Role as RoleType, -} from 'roleypoly/src/design-system/shared-types'; -import { Role } from 'roleypoly/src/design-system/atoms/role'; +import { HorizontalSwitch } from 'roleypoly/design-system/atoms/horizontal-switch'; +import { Space } from 'roleypoly/design-system/atoms/space'; +import { TextInput, TextInputWithIcon } from 'roleypoly/design-system/atoms/text-input'; +import { Text } from 'roleypoly/design-system/atoms/typography'; +import { Popover } from 'roleypoly/design-system/atoms/popover'; +import { FaderOpacity } from 'roleypoly/design-system/atoms/fader'; +import { RoleSearch } from 'roleypoly/design-system/molecules/role-search'; +import { Category, CategoryType, Role as RoleType } from 'roleypoly/common/types'; +import { Role } from 'roleypoly/design-system/atoms/role'; import { GoSearch } from 'react-icons/go'; import { RoleContainer } from './EditorCategory.styled'; diff --git a/src/design-system/molecules/role-search/RoleSearch.stories.tsx b/src/design-system/molecules/role-search/RoleSearch.stories.tsx index b4ec3ee..32a5a6d 100644 --- a/src/design-system/molecules/role-search/RoleSearch.stories.tsx +++ b/src/design-system/molecules/role-search/RoleSearch.stories.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { RoleSearch } from './RoleSearch'; -import { roleCategory } from 'roleypoly/src/design-system/shared-types/storyData'; +import { roleCategory } from 'roleypoly/common/types/storyData'; export default { title: 'Molecules/Role Search', diff --git a/src/design-system/molecules/role-search/RoleSearch.tsx b/src/design-system/molecules/role-search/RoleSearch.tsx index d638ecd..ba2ba3f 100644 --- a/src/design-system/molecules/role-search/RoleSearch.tsx +++ b/src/design-system/molecules/role-search/RoleSearch.tsx @@ -2,10 +2,10 @@ import styled from 'styled-components'; import Fuse from 'fuse.js'; import * as React from 'react'; import { GoSearch } from 'react-icons/go'; -import { Role } from 'roleypoly/src/design-system/atoms/role'; -import { Space } from 'roleypoly/src/design-system/atoms/space'; -import { TextInputWithIcon } from 'roleypoly/src/design-system/atoms/text-input'; -import { Role as RoleType } from 'roleypoly/src/design-system/shared-types'; +import { Role } from 'roleypoly/design-system/atoms/role'; +import { Space } from 'roleypoly/design-system/atoms/space'; +import { TextInputWithIcon } from 'roleypoly/design-system/atoms/text-input'; +import { Role as RoleType } from 'roleypoly/common/types'; type Props = { roles: RoleType[]; diff --git a/src/design-system/organisms/editor/EditorShell.stories.tsx b/src/design-system/organisms/editor/EditorShell.stories.tsx index eef53e3..6413b28 100644 --- a/src/design-system/organisms/editor/EditorShell.stories.tsx +++ b/src/design-system/organisms/editor/EditorShell.stories.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { EditorShell } from './EditorShell'; -import { guildEnum } from 'roleypoly/src/design-system/shared-types/storyData'; +import { guildEnum } from 'roleypoly/common/types/storyData'; export default { title: 'Organisms/Editor', diff --git a/src/design-system/organisms/editor/EditorShell.styled.ts b/src/design-system/organisms/editor/EditorShell.styled.ts index 40f7dae..22e994f 100644 --- a/src/design-system/organisms/editor/EditorShell.styled.ts +++ b/src/design-system/organisms/editor/EditorShell.styled.ts @@ -1,5 +1,5 @@ import styled from 'styled-components'; -import { palette } from 'roleypoly/src/design-system/atoms/colors'; +import { palette } from 'roleypoly/design-system/atoms/colors'; export const CategoryContainer = styled.div` background-color: ${palette.taupe100}; diff --git a/src/design-system/organisms/editor/EditorShell.tsx b/src/design-system/organisms/editor/EditorShell.tsx index e186e17..41c9cda 100644 --- a/src/design-system/organisms/editor/EditorShell.tsx +++ b/src/design-system/organisms/editor/EditorShell.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; -import { TabView, Tab } from 'roleypoly/src/design-system/atoms/tab-view'; -import { PresentableGuild } from 'roleypoly/src/design-system/shared-types'; +import { TabView, Tab } from 'roleypoly/design-system/atoms/tab-view'; +import { PresentableGuild } from 'roleypoly/common/types'; import { EditorCategory } from '../../molecules/editor-category'; import { CategoryContainer } from './EditorShell.styled';