import _groupBy from 'lodash/groupBy' ; export const getSectionedComponents = ( ) => _groupBy ( componentList , component => component . type ) ; export const sectionTitles = { foundation : 'Foundation' , typography : 'Typography' , layout : 'Layout' , component : 'Components' , form : 'Form' , util : 'Utilities' } ; export const componentList = [ { name : 'Primitives' , type : 'foundation' , status : 'complete' , docsPath : '/primitives' } , { name : 'Palette' , type : 'foundation' , status : 'complete' , docsPath : '/palette' } , { name : 'Accordians' , type : 'component' , status : 'pending' , docsPath : 'https://github.com/fannypackui/fannypack/issues/1' } , { name : 'Alert' , type : 'component' , status : 'complete' , docsPath : '/components/alert' } , { name : 'Avatar' , type : 'component' , status : 'complete' , docsPath : '/components/avatar' } , { name : 'Backdrop' , type : 'util' , status : 'complete' , docsPath : '/utils/avatar' } , { name : 'Badge' , type : 'component' , status : 'complete' , docsPath : '/components/badge' } , { name : 'Blockquote' , type : 'typography' , status : 'complete' , docsPath : '/typography/blockquote' } , { name : 'Breadcrumb' , type : 'component' , status : 'complete' , docsPath : 'components/breadcrumb' } , { name : 'Button' , type : 'component' , status : 'complete' , docsPath : '/components/button' } , { name : 'Callout' , type : 'component' , status : 'complete' , docsPath : '/components/callout' } , { name : 'CalloutOverlay' , type : 'component' , status : 'complete' , docsPath : '/components/calloutoverlay' } , { name : 'Card' , type : 'component' , status : 'complete' , docsPath : '/components/card' } , { name : 'Checkbox' , type : 'form' , status : 'complete' , docsPath : '/form/checkbox' } , { name : 'Code' , type : 'typography' , status : 'complete' , docsPath : '/typography/code' } , { name : 'Columns' , type : 'layout' , status : 'complete' , docsPath : '/layout/columns' } , { name : 'Container' , type : 'layout' , status : 'complete' , docsPath : '/layout/container' } , { name : 'Dialog' , type : 'component' , status : 'complete' , docsPath : '/components/dialog' } , { name : 'DialogModal' , type : 'component' , status : 'complete' , docsPath : '/components/dialogmodal' } , { name : 'Divider' , type : 'component' , status : 'complete' , docsPath : '/components/divider' } , { name : 'FieldWrapper' , type : 'form' , status : 'complete' , docsPath : '/form/fieldwrapper' } , { name : 'Group' , type : 'util' , status : 'complete' , docsPath : '/utils/group' } , { name : 'Heading' , type : 'typography' , status : 'complete' , docsPath : '/typography/heading' } , { name : 'Hidden' , type : 'util' , status : 'complete' , docsPath : 'https://github.com/fannypackui/fannypack/issues/1' } , { name : 'Icon' , type : 'component' , status : 'complete' , docsPath : '/components/icon' } , { name : 'Image' , type : 'component' , status : 'complete' , docsPath : '/components/image' } , { name : 'Input' , type : 'form' , status : 'complete' , docsPath : '/form/input' } , { name : 'Label' , type : 'form' , status : 'complete' , docsPath : '/form/label' } , { name : 'Link' , type : 'typography' , status : 'complete' , docsPath : '/typography/link' } , { name : 'List' , type : 'typography' , status : 'complete' , docsPath : '/typography/list' } , { name : 'Markdown' , type : 'component' , status : 'complete' , docsPath : '/components/markdown' } , { name : 'Menu' , type : 'component' , status : 'complete' , docsPath : '/components/menu' } , { name : 'Modal' , type : 'util' , status : 'complete' , docsPath : '/utils/modal' } , { name : 'Navbar' , type : 'component' , status : 'pending' , docsPath : 'https://github.com/fannypackui/fannypack/issues/1' } , { name : 'Navigation' , type : 'component' , status : 'complete' , docsPath : '/components/navigation' } , { name : 'Overlay' , type : 'util' , status : 'complete' , docsPath : '/utils/overlay' } , { name : 'Pagination' , type : 'component' , status : 'pending' , docsPath : 'https://github.com/fannypackui/fannypack/issues/1' } , { name : 'Pane' , type : 'layout' , status : 'complete' , docsPath : '/layout/pane' } , { name : 'Paragraph' , type : 'typography' , status : 'complete' , docsPath : '/typography/paragraph' } , { name : 'Popover' , type : 'util' , status : 'complete' , docsPath : '/components/popover' } , { name : 'ProgressBar' , type : 'component' , status : 'complete' , docsPath : '/components/progressbar' } , { name : 'Portal' , type : 'util' , status : 'complete' , docsPath : '/utils/portal' } , { name : 'Radio' , type : 'form' , status : 'complete' , docsPath : '/form/radio' } , { name : 'Rating' , type : 'component' , status : 'complete' , docsPath : '/components/rating' } , { name : 'Select' , type : 'form' , status : 'complete' , docsPath : '/form/select' } , { name : 'SelectMenu' , type : 'form' , status : 'complete' , docsPath : '/form/selectmenu' } , { name : 'Set' , type : 'util' , status : 'complete' , docsPath : '/utils/set' } , { name : 'Sidebar' , type : 'util' , status : 'complete' , docsPath : '/utils/sidebar' } , { name : 'Spinner' , type : 'component' , status : 'complete' , docsPath : '/components/spinner' } , { name : 'Step' , type : 'util' , status : 'pending' , docsPath : 'https://github.com/fannypackui/fannypack/issues/1' } , { name : 'Switch' , type : 'form' , status : 'complete' , docsPath : '/form/switch' } , { name : 'Table' , type : 'component' , status : 'complete' , docsPath : '/components/table' } , { name : 'Tabs' , type : 'component' , status : 'complete' , docsPath : '/components/tabs' } , { name : 'Tag' , type : 'component' , status : 'complete' , docsPath : '/components/tag' } , { name : 'Text' , type : 'typography' , status : 'complete' , docsPath : '/typography/text' } , { name : 'Textarea' , type : 'form' , status : 'complete' , docsPath : '/form/textarea' } , { name : 'Timeline' , type : 'component' , status : 'complete' , docsPath : '/components/timeline' } , { name : 'Toast' , type : 'component' , status : 'complete' , docsPath : '/components/toast' } , { name : 'Tooltip' , type : 'component' , status : 'complete' , docsPath : '/components/tooltip' } ] ;