feat(design-system): redesign tab-view around quick nav

This commit is contained in:
41666 2021-03-22 23:45:38 -04:00
parent a5f819bc3e
commit 2b7b245a0d
10 changed files with 268 additions and 53 deletions

View file

@ -1,10 +1,12 @@
import { BreakpointsProvider } from '@roleypoly/design-system/atoms/breakpoints';
import { guildEnum } from '@roleypoly/design-system/fixtures/storyData';
import * as React from 'react';
import { guildEnum } from '../../fixtures/storyData';
import { EditorShell } from './EditorShell';
export default {
title: 'Organisms/Editor',
component: EditorShell,
decorators: [(story) => <BreakpointsProvider>{story()}</BreakpointsProvider>],
};
export const Shell = () => <EditorShell guild={guildEnum.guildsList[0]} />;
export const Shell = () => <EditorShell guild={guildEnum.guilds[0]} />;

View file

@ -1,7 +1,6 @@
import { Tab, TabView } from '@roleypoly/design-system/atoms/tab-view';
import { EditorCategory } from '@roleypoly/design-system/molecules/editor-category';
import { PresentableGuild } from '@roleypoly/types';
import * as React from 'react';
import { EditorCategory } from '../../molecules/editor-category';
import { CategoryContainer } from './EditorShell.styled';
type Props = {