mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +00:00
chore(design-system): prettier
This commit is contained in:
parent
7be4f0d1e7
commit
6090a6c94f
31 changed files with 97 additions and 78 deletions
|
@ -1,7 +1,7 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { organismStories } from 'organisms/organisms.story';
|
import { organismStories } from 'roleypoly/src/design-system/organisms/organisms.story';
|
||||||
import { AppShell } from './AppShell';
|
import { AppShell } from './AppShell';
|
||||||
import { rpUser, guildEnum } from 'hack/fixtures/storyData';
|
import { rpUser, guildEnum } from 'roleypoly/src/design-system/shared-types/storyData';
|
||||||
|
|
||||||
const story = organismStories('App Shell', module);
|
const story = organismStories('App Shell', module);
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import styled, { createGlobalStyle } from 'styled-components';
|
import styled, { createGlobalStyle } from 'styled-components';
|
||||||
import { palette } from 'atoms/colors';
|
import { palette } from 'roleypoly/src/design-system/atoms/colors';
|
||||||
|
|
||||||
export const Content = styled.div<{ small?: boolean }>`
|
export const Content = styled.div<{ small?: boolean }>`
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import * as Masthead from 'organisms/masthead';
|
import * as Masthead from 'roleypoly/src/design-system/organisms/masthead';
|
||||||
import { RoleypolyUser } from '@roleypoly/rpc/shared';
|
import { RoleypolyUser } from '@roleypoly/rpc/shared';
|
||||||
import { Footer } from 'molecules/footer';
|
import { Footer } from 'roleypoly/src/design-system/molecules/footer';
|
||||||
import { Content, GlobalStyles } from './AppShell.styled';
|
import { Content, GlobalStyles } from './AppShell.styled';
|
||||||
import { GlobalStyleColors } from 'atoms/colors';
|
import { GlobalStyleColors } from 'roleypoly/src/design-system/atoms/colors';
|
||||||
import { GuildEnumeration } from '@roleypoly/rpc/platform';
|
import { GuildEnumeration } from '@roleypoly/rpc/platform';
|
||||||
import { Scrollbars } from 'react-custom-scrollbars';
|
import { Scrollbars } from 'react-custom-scrollbars';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { organismStories } from 'organisms/organisms.story';
|
import { organismStories } from 'roleypoly/src/design-system/organisms/organisms.story';
|
||||||
import { ErrorBanner } from './ErrorBanner';
|
import { ErrorBanner } from './ErrorBanner';
|
||||||
import { text } from '@storybook/addon-knobs';
|
import { text } from '@storybook/addon-knobs';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { onSmallScreen } from 'atoms/breakpoints';
|
import { onSmallScreen } from 'roleypoly/src/design-system/atoms/breakpoints';
|
||||||
import { palette } from 'atoms/colors';
|
import { palette } from 'roleypoly/src/design-system/atoms/colors';
|
||||||
import { text300, text500, text700 } from 'atoms/typography';
|
import { text300, text500, text700 } from 'roleypoly/src/design-system/atoms/typography';
|
||||||
import styled, { css } from 'styled-components';
|
import styled, { css } from 'styled-components';
|
||||||
|
|
||||||
export const ErrorWrapper = styled.div`
|
export const ErrorWrapper = styled.div`
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { organismStories } from 'organisms/organisms.story';
|
import { organismStories } from 'roleypoly/src/design-system/organisms/organisms.story';
|
||||||
import { HelpPageBase } from './HelpPageBase';
|
import { HelpPageBase } from './HelpPageBase';
|
||||||
import { Content } from 'organisms/app-shell/AppShell.styled';
|
import { Content } from 'roleypoly/src/design-system/organisms/app-shell/AppShell.styled';
|
||||||
|
|
||||||
const baseStory = organismStories('Help Pages', module);
|
const baseStory = organismStories('Help Pages', module);
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { palette } from 'atoms/colors';
|
import { palette } from 'roleypoly/src/design-system/atoms/colors';
|
||||||
|
|
||||||
export type HelpPageProps = {
|
export type HelpPageProps = {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { WhyNoRoles } from './WhyNoRoles';
|
import { WhyNoRoles } from './WhyNoRoles';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { organismStories } from 'organisms/organisms.story';
|
import { organismStories } from 'roleypoly/src/design-system/organisms/organisms.story';
|
||||||
import { HelpStoryWrapper } from 'organisms/help-page-base/HelpPageBase.story';
|
import { HelpStoryWrapper } from 'roleypoly/src/design-system/organisms/help-page-base/HelpPageBase.story';
|
||||||
|
|
||||||
organismStories('Help Pages/Pages', module).add('Why No Roles', () => (
|
organismStories('Help Pages/Pages', module).add('Why No Roles', () => (
|
||||||
<HelpStoryWrapper>
|
<HelpStoryWrapper>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import styled, { css } from 'styled-components';
|
import styled, { css } from 'styled-components';
|
||||||
import { palette, numberToChroma } from 'atoms/colors';
|
import { palette, numberToChroma } from 'roleypoly/src/design-system/atoms/colors';
|
||||||
import { Role } from '@roleypoly/rpc/shared';
|
import { Role } from '@roleypoly/rpc/shared';
|
||||||
|
|
||||||
export const DiscordBase = styled.div`
|
export const DiscordBase = styled.div`
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { HalfsiesContainer, HalfsiesItem } from 'atoms/halfsies';
|
import {
|
||||||
|
HalfsiesContainer,
|
||||||
|
HalfsiesItem,
|
||||||
|
} from 'roleypoly/src/design-system/atoms/halfsies';
|
||||||
import { FaCheck, FaTimes } from 'react-icons/fa';
|
import { FaCheck, FaTimes } from 'react-icons/fa';
|
||||||
import { DiscordBase, DiscordRole } from './WhyNoRoles.styled';
|
import { DiscordBase, DiscordRole } from './WhyNoRoles.styled';
|
||||||
import { demoData } from 'hack/fixtures/demoData';
|
import { demoData } from 'roleypoly/src/design-system/shared-types/demoData';
|
||||||
import { Role } from '@roleypoly/rpc/shared';
|
import { Role } from '@roleypoly/rpc/shared';
|
||||||
import { palette } from 'atoms/colors';
|
import { palette } from 'roleypoly/src/design-system/atoms/colors';
|
||||||
import chroma from 'chroma-js';
|
import chroma from 'chroma-js';
|
||||||
import { SparkleOverlay } from 'atoms/sparkle';
|
import { SparkleOverlay } from 'roleypoly/src/design-system/atoms/sparkle';
|
||||||
|
|
||||||
const adminRoles: Role.AsObject[] = [
|
const adminRoles: Role.AsObject[] = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { organismStories } from 'organisms/organisms.story';
|
import { organismStories } from 'roleypoly/src/design-system/organisms/organisms.story';
|
||||||
import { Landing } from './Landing';
|
import { Landing } from './Landing';
|
||||||
|
|
||||||
const story = organismStories('Landing', module);
|
const story = organismStories('Landing', module);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { onTablet } from 'atoms/breakpoints';
|
import { onTablet } from 'roleypoly/src/design-system/atoms/breakpoints';
|
||||||
import { text400 } from 'atoms/typography';
|
import { text400 } from 'roleypoly/src/design-system/atoms/typography';
|
||||||
import styled, { css } from 'styled-components';
|
import styled, { css } from 'styled-components';
|
||||||
|
|
||||||
export const HeroText = styled.div`
|
export const HeroText = styled.div`
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
import { palette } from 'atoms/colors';
|
import { palette } from 'roleypoly/src/design-system/atoms/colors';
|
||||||
import { Space } from 'atoms/space';
|
import { Space } from 'roleypoly/src/design-system/atoms/space';
|
||||||
import { LargeText, LargeTitle } from 'atoms/typography';
|
import { LargeText, LargeTitle } from 'roleypoly/src/design-system/atoms/typography';
|
||||||
import { DemoDiscord } from 'molecules/demo-discord';
|
import { DemoDiscord } from 'roleypoly/src/design-system/molecules/demo-discord';
|
||||||
import { DemoPicker } from 'molecules/demo-picker';
|
import { DemoPicker } from 'roleypoly/src/design-system/molecules/demo-picker';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { DemoAlignment, DemoSubtitle, HeroCentering, HeroText } from './Landing.styled';
|
import { DemoAlignment, DemoSubtitle, HeroCentering, HeroText } from './Landing.styled';
|
||||||
import { HalfsiesContainer, HalfsiesItem } from 'atoms/halfsies';
|
import {
|
||||||
|
HalfsiesContainer,
|
||||||
|
HalfsiesItem,
|
||||||
|
} from 'roleypoly/src/design-system/atoms/halfsies';
|
||||||
|
|
||||||
export const Landing = () => (
|
export const Landing = () => (
|
||||||
<HeroCentering>
|
<HeroCentering>
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
import { GuildEnumeration } from '@roleypoly/rpc/platform';
|
import { GuildEnumeration } from '@roleypoly/rpc/platform';
|
||||||
import { RoleypolyUser } from '@roleypoly/rpc/shared';
|
import { RoleypolyUser } from '@roleypoly/rpc/shared';
|
||||||
import { Logomark } from 'atoms/branding';
|
import { Logomark } from 'roleypoly/src/design-system/atoms/branding';
|
||||||
import { Popover } from 'atoms/popover';
|
import { Popover } from 'roleypoly/src/design-system/atoms/popover';
|
||||||
import { guildEnum } from 'hack/fixtures/storyData';
|
import { guildEnum } from 'roleypoly/src/design-system/shared-types/storyData';
|
||||||
import { GuildNav } from 'molecules/guild-nav';
|
import { GuildNav } from 'roleypoly/src/design-system/molecules/guild-nav';
|
||||||
import { NavSlug } from 'molecules/nav-slug';
|
import { NavSlug } from 'roleypoly/src/design-system/molecules/nav-slug';
|
||||||
import { UserAvatarGroup } from 'molecules/user-avatar-group';
|
import { UserAvatarGroup } from 'roleypoly/src/design-system/molecules/user-avatar-group';
|
||||||
import { UserPopover } from 'molecules/user-popover';
|
import { UserPopover } from 'roleypoly/src/design-system/molecules/user-popover';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { GoOrganization } from 'react-icons/go';
|
import { GoOrganization } from 'react-icons/go';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { Logotype } from 'atoms/branding';
|
import { Logotype } from 'roleypoly/src/design-system/atoms/branding';
|
||||||
import { Button } from 'atoms/button';
|
import { Button } from 'roleypoly/src/design-system/atoms/button';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { FaSignInAlt } from 'react-icons/fa';
|
import { FaSignInAlt } from 'react-icons/fa';
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
import { rpUser, guild, guildEnum } from 'hack/fixtures/storyData';
|
import {
|
||||||
import { organismStories } from 'organisms/organisms.story';
|
rpUser,
|
||||||
|
guild,
|
||||||
|
guildEnum,
|
||||||
|
} from 'roleypoly/src/design-system/shared-types/storyData';
|
||||||
|
import { organismStories } from 'roleypoly/src/design-system/organisms/organisms.story';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { Authed } from './Authed';
|
import { Authed } from './Authed';
|
||||||
import { Guest } from './Guest';
|
import { Guest } from './Guest';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { onSmallScreen } from 'atoms/breakpoints';
|
import { onSmallScreen } from 'roleypoly/src/design-system/atoms/breakpoints';
|
||||||
import { palette } from 'atoms/colors';
|
import { palette } from 'roleypoly/src/design-system/atoms/colors';
|
||||||
import { transitions } from 'atoms/timings';
|
import { transitions } from 'roleypoly/src/design-system/atoms/timings';
|
||||||
import styled, { css } from 'styled-components';
|
import styled, { css } from 'styled-components';
|
||||||
|
|
||||||
export const MastheadBase = styled.div`
|
export const MastheadBase = styled.div`
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
import { makeFactory } from '../.storybook/storyHelper';
|
|
||||||
export const organismStories = makeFactory('Organisms');
|
|
|
@ -1,7 +1,7 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { Preauth } from './Preauth';
|
import { Preauth } from './Preauth';
|
||||||
import { organismStories } from 'organisms/organisms.story';
|
import { organismStories } from 'roleypoly/src/design-system/organisms/organisms.story';
|
||||||
import { guild } from 'hack/fixtures/storyData';
|
import { guild } from 'roleypoly/src/design-system/shared-types/storyData';
|
||||||
import { action } from '@storybook/addon-actions';
|
import { action } from '@storybook/addon-actions';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import { Guild } from '@roleypoly/rpc/shared';
|
import { Guild } from '@roleypoly/rpc/shared';
|
||||||
import { Button } from 'atoms/button';
|
import { Button } from 'roleypoly/src/design-system/atoms/button';
|
||||||
import { Space } from 'atoms/space';
|
import { Space } from 'roleypoly/src/design-system/atoms/space';
|
||||||
import { PreauthGreeting } from 'molecules/preauth-greeting';
|
import { PreauthGreeting } from 'roleypoly/src/design-system/molecules/preauth-greeting';
|
||||||
import { PreauthSecretCode } from 'molecules/preauth-secret-code';
|
import { PreauthSecretCode } from 'roleypoly/src/design-system/molecules/preauth-secret-code';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { FaDiscord } from 'react-icons/fa';
|
import { FaDiscord } from 'react-icons/fa';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|
|
@ -3,7 +3,7 @@ jest.unmock('atoms/role')
|
||||||
.unmock('molecules/picker-category')
|
.unmock('molecules/picker-category')
|
||||||
.unmock('organisms/role-picker');
|
.unmock('organisms/role-picker');
|
||||||
|
|
||||||
import { Role } from 'atoms/role';
|
import { Role } from 'roleypoly/src/design-system/atoms/role';
|
||||||
import { shallow } from 'enzyme';
|
import { shallow } from 'enzyme';
|
||||||
import {
|
import {
|
||||||
guild,
|
guild,
|
||||||
|
@ -11,9 +11,9 @@ import {
|
||||||
guildRoles,
|
guildRoles,
|
||||||
member,
|
member,
|
||||||
mockCategorySingle,
|
mockCategorySingle,
|
||||||
} from 'hack/fixtures/storyData';
|
} from 'roleypoly/src/design-system/shared-types/storyData';
|
||||||
import { ResetSubmit } from 'molecules/reset-submit';
|
import { ResetSubmit } from 'roleypoly/src/design-system/molecules/reset-submit';
|
||||||
import { PickerCategory } from 'molecules/picker-category';
|
import { PickerCategory } from 'roleypoly/src/design-system/molecules/picker-category';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { RolePicker, RolePickerProps } from './RolePicker';
|
import { RolePicker, RolePickerProps } from './RolePicker';
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { RolePicker, RolePickerProps } from './RolePicker';
|
import { RolePicker, RolePickerProps } from './RolePicker';
|
||||||
import { organismStories } from 'organisms/organisms.story';
|
import { organismStories } from 'roleypoly/src/design-system/organisms/organisms.story';
|
||||||
import { guildData, member, guildRoles, guild } from 'hack/fixtures/storyData';
|
import {
|
||||||
|
guildData,
|
||||||
|
member,
|
||||||
|
guildRoles,
|
||||||
|
guild,
|
||||||
|
} from 'roleypoly/src/design-system/shared-types/storyData';
|
||||||
import { action } from '@storybook/addon-actions';
|
import { action } from '@storybook/addon-actions';
|
||||||
|
|
||||||
const storyPublic = organismStories('Role Picker/Public', module);
|
const storyPublic = organismStories('Role Picker/Public', module);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { palette } from 'atoms/colors';
|
import { palette } from 'roleypoly/src/design-system/atoms/colors';
|
||||||
|
|
||||||
export const Container = styled.div``;
|
export const Container = styled.div``;
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import { Member } from '@roleypoly/rpc/discord';
|
import { Member } from '@roleypoly/rpc/discord';
|
||||||
import { Category, GuildData } from '@roleypoly/rpc/platform';
|
import { Category, GuildData } from '@roleypoly/rpc/platform';
|
||||||
import { Guild, GuildRoles, Role } from '@roleypoly/rpc/shared';
|
import { Guild, GuildRoles, Role } from '@roleypoly/rpc/shared';
|
||||||
import { FaderOpacity } from 'atoms/fader';
|
import { FaderOpacity } from 'roleypoly/src/design-system/atoms/fader';
|
||||||
import { Space } from 'atoms/space';
|
import { Space } from 'roleypoly/src/design-system/atoms/space';
|
||||||
import { ResetSubmit } from 'molecules/reset-submit';
|
import { ResetSubmit } from 'roleypoly/src/design-system/molecules/reset-submit';
|
||||||
import { ServerMasthead } from 'molecules/server-masthead';
|
import { ServerMasthead } from 'roleypoly/src/design-system/molecules/server-masthead';
|
||||||
import { PickerCategory } from 'molecules/picker-category';
|
import { PickerCategory } from 'roleypoly/src/design-system/molecules/picker-category';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { GoInfo } from 'react-icons/go';
|
import { GoInfo } from 'react-icons/go';
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -2,7 +2,7 @@ import * as React from 'react';
|
||||||
import { templateStories } from 'templates/templates.story';
|
import { templateStories } from 'templates/templates.story';
|
||||||
import { AuthLogin } from './AuthLogin';
|
import { AuthLogin } from './AuthLogin';
|
||||||
import { action } from '@storybook/addon-actions';
|
import { action } from '@storybook/addon-actions';
|
||||||
import { guild } from 'hack/fixtures/storyData';
|
import { guild } from 'roleypoly/src/design-system/shared-types/storyData';
|
||||||
|
|
||||||
const story = templateStories('Login', module);
|
const story = templateStories('Login', module);
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
import { Hero } from 'atoms/hero';
|
import { Hero } from 'roleypoly/src/design-system/atoms/hero';
|
||||||
import { AppShell } from 'organisms/app-shell';
|
import { AppShell } from 'roleypoly/src/design-system/organisms/app-shell';
|
||||||
import { Preauth, PreauthProps } from 'organisms/preauth/Preauth';
|
import {
|
||||||
|
Preauth,
|
||||||
|
PreauthProps,
|
||||||
|
} from 'roleypoly/src/design-system/organisms/preauth/Preauth';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
export type AuthLoginProps = PreauthProps;
|
export type AuthLoginProps = PreauthProps;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import { DotOverlay } from 'atoms/dot-overlay';
|
import { DotOverlay } from 'roleypoly/src/design-system/atoms/dot-overlay';
|
||||||
import { Hero } from 'atoms/hero';
|
import { Hero } from 'roleypoly/src/design-system/atoms/hero';
|
||||||
import { AppShell } from 'organisms/app-shell';
|
import { AppShell } from 'roleypoly/src/design-system/organisms/app-shell';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { ErrorMessage, getMessageFromCode } from './errorStrings';
|
import { ErrorMessage, getMessageFromCode } from './errorStrings';
|
||||||
import { ErrorBanner } from 'organisms/error-banner';
|
import { ErrorBanner } from 'roleypoly/src/design-system/organisms/error-banner';
|
||||||
import { RoleypolyUser } from '@roleypoly/rpc/shared';
|
import { RoleypolyUser } from '@roleypoly/rpc/shared';
|
||||||
|
|
||||||
export type ErrorProps = {
|
export type ErrorProps = {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { AppShell } from 'organisms/app-shell';
|
import { AppShell } from 'roleypoly/src/design-system/organisms/app-shell';
|
||||||
import { HelpPageBase } from 'organisms/help-page-base';
|
import { HelpPageBase } from 'roleypoly/src/design-system/organisms/help-page-base';
|
||||||
import { RoleypolyUser } from '@roleypoly/rpc/shared';
|
import { RoleypolyUser } from '@roleypoly/rpc/shared';
|
||||||
|
|
||||||
type HelpPageProps = {
|
type HelpPageProps = {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { AppShell } from 'organisms/app-shell';
|
import { AppShell } from 'roleypoly/src/design-system/organisms/app-shell';
|
||||||
import { Landing } from 'organisms/landing';
|
import { Landing } from 'roleypoly/src/design-system/organisms/landing';
|
||||||
|
|
||||||
export const LandingTemplate = () => (
|
export const LandingTemplate = () => (
|
||||||
<AppShell showFooter user={null}>
|
<AppShell showFooter user={null}>
|
||||||
|
|
|
@ -8,7 +8,7 @@ import {
|
||||||
guild,
|
guild,
|
||||||
rpUser,
|
rpUser,
|
||||||
guildEnum,
|
guildEnum,
|
||||||
} from 'hack/fixtures/storyData';
|
} from 'roleypoly/src/design-system/shared-types/storyData';
|
||||||
import { action } from '@storybook/addon-actions';
|
import { action } from '@storybook/addon-actions';
|
||||||
import { boolean } from '@storybook/addon-knobs';
|
import { boolean } from '@storybook/addon-knobs';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { AppShell } from 'organisms/app-shell';
|
import { AppShell } from 'roleypoly/src/design-system/organisms/app-shell';
|
||||||
import { RolePicker, RolePickerProps } from 'organisms/role-picker';
|
import {
|
||||||
|
RolePicker,
|
||||||
|
RolePickerProps,
|
||||||
|
} from 'roleypoly/src/design-system/organisms/role-picker';
|
||||||
import { RoleypolyUser } from '@roleypoly/rpc/shared';
|
import { RoleypolyUser } from '@roleypoly/rpc/shared';
|
||||||
import { GuildEnumeration } from '@roleypoly/rpc/platform';
|
import { GuildEnumeration } from '@roleypoly/rpc/platform';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue