Skip to content

Commit

Permalink
finish sorting stray stories
Browse files Browse the repository at this point in the history
  • Loading branch information
stephiescastle committed Jul 16, 2024
1 parent 9b2aa23 commit dbc17dc
Show file tree
Hide file tree
Showing 50 changed files with 117 additions and 140 deletions.
6 changes: 0 additions & 6 deletions apps/vue-storybook/.storybook/manager-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,7 @@
color: inherit !important;
}

/* www should be in uppercase */
.sidebar-item#www {
text-transform: uppercase;
}

/* create illusion of hrs between sidebar sections */
.sidebar-item#www,
.sidebar-item#appendix {
border-radius: 0;
border-top: 2px solid rgba(0, 0, 0, 0.1);
Expand Down
11 changes: 10 additions & 1 deletion apps/vue-storybook/.storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const preview: Preview = {
'Getting Started',
['Developer'],
'Guides',
'Foundation',
'Foundations',
[
'Colors',
'Typography',
Expand All @@ -115,6 +115,15 @@ const preview: Preview = {
['Docs'],
'Responsive Design'
],
'Navigation',
[
'Overview',
'Headers',
['Overview', 'WWW'],
'Footers',
['Overview', 'WWW'],
'Secondary Navigation'
],
'Global Layout',
[
'Overview',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import EventDetailHero from './EventDetailHero.vue'

export default {
title: 'WWW/EventDetail/EventDetailHero',
title: 'Components/WWW/EventDetail/EventDetailHero',
component: EventDetailHero,
decorators: [
() => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { HomepageCarouselItemData } from './../HomepageCarouselItem/HomepageCaro
import HomepageCarousel from './HomepageCarousel.vue'

export default {
title: 'WWW/Homepage/HomepageCarousel',
title: 'Components/WWW/Homepage/HomepageCarousel',
component: HomepageCarousel,
excludeStories: /.*Data$/,
parameters: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { BaseVideoData } from './../BaseVideo/BaseVideo.stories'
import HomepageCarouselItem from './HomepageCarouselItem.vue'

export default {
title: 'WWW/Homepage/HomepageCarousel/HomepageCarouselItem',
title: 'Components/WWW/Homepage/HomepageCarousel/HomepageCarouselItem',
component: HomepageCarouselItem,
decorators: [
() => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { BlockVideoEmbedData } from './../BlockVideoEmbed/BlockVideoEmbed.storie
import HomepageEmbedBlock from './HomepageEmbedBlock.vue'

export default {
title: 'WWW/Homepage/HomepageEmbedBlock',
title: 'Components/WWW/Homepage/HomepageEmbedBlock',
component: HomepageEmbedBlock,
decorators: [
() => ({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import HomepageFeaturedRobot from './HomepageFeaturedRobot.vue'
export default {
title: 'WWW/Homepage/HomepageFeaturedRobot',
title: 'Components/WWW/Homepage/HomepageFeaturedRobot',
component: HomepageFeaturedRobot,
excludeStories: /.*Data$/,
parameters: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import HomepageMissionsCarousel from './HomepageMissionsCarousel.vue'
import HomepageMissionsCarouselItem from './HomepageMissionsCarouselItem.vue'

export default {
title: 'WWW/Homepage/HomepageMissionsCarousel',
title: 'Components/WWW/Homepage/HomepageMissionsCarousel',
component: HomepageMissionsCarousel,
excludeStories: /.*Data$/,
parameters: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import HomepageStats from './HomepageStats.vue'

export default {
title: 'WWW/Homepage/HomepageStats',
title: 'Components/WWW/Homepage/HomepageStats',
component: HomepageStats,
excludeStories: /.*Data$/,
parameters: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import HomepageTeaserBlock from './HomepageTeaserBlock.vue'

export default {
title: 'WWW/Homepage/HomepageTeaserBlock',
title: 'Components/WWW/Homepage/HomepageTeaserBlock',
component: HomepageTeaserBlock,
excludeStories: /.*(Data|Decorator)$/,
parameters: {
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/src/components/Icons/Icons.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import IconUser from './IconUser.vue'
import IconVolume from './IconVolume.vue'

export default {
title: 'Foundation/Icons',
title: 'Foundations/Icons',
component: IconArrows,
subcomponents: {
IconArrow,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import LogoCaltech from './LogoCaltech.vue'

export default {
title: 'Foundation/Logos/LogoCaltech',
title: 'Foundations/Logos/LogoCaltech',
component: LogoCaltech,
argTypes: {
size: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import LogoWhite from '@explorer-1/common/src/images/svg/logo-tribrand-white.svg
import LogoTribrand from './LogoTribrand.vue'

export default {
title: 'Foundation/Logos/LogoTribrand',
title: 'Foundations/Logos/LogoTribrand',
component: LogoTribrand,
excludeStories: /.*Data$/,
parameters: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import MissionDetailAbout from './MissionDetailAbout.vue'

export default {
title: 'WWW/MissionDetail/MissionDetailAbout',
title: 'Components/WWW/MissionDetail/MissionDetailAbout',
component: MissionDetailAbout,
decorators: [
() => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import imageInstrumentOco2WebP from '@explorer-1/common-storybook/src/images/mis
import MissionDetailHero from './MissionDetailHero.vue'

export default {
title: 'WWW/MissionDetail/MissionDetailHero',
title: 'Components/WWW/MissionDetail/MissionDetailHero',
component: MissionDetailHero,
argTypes: {
templateStyle: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import imagePlanetMarsB from '@explorer-1/common-storybook/src/images/mission-hi

import MissionDetailHighlights from './MissionDetailHighlights.vue'
export default {
title: 'WWW/MissionDetail/MissionHighlights',
title: 'Components/WWW/MissionDetail/MissionHighlights',
component: MissionDetailHighlights,
parameters: {
viewMode: 'canvas'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { BaseImageCaptionData } from './../BaseImageCaption/BaseImageCaption.sto
import MissionDetailInlineImage from './MissionDetailInlineImage.vue'

export default {
title: 'WWW/MissionDetail/MissionDetailInlineImage',
title: 'Components/WWW/MissionDetail/MissionDetailInlineImage',
component: MissionDetailInlineImage,
argTypes: {
alignTo: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import MissionDetailStatsMicro from './MissionDetailStatsMicro.vue'
import { distanceTypes } from './DistanceStats.vue'

export default {
title: 'WWW/MissionDetail/MissionDetailStats',
title: 'Components/WWW/MissionDetail/MissionDetailStats',
component: MissionDetailStats,
subcomponents: { MissionDetailStatsMini, MissionDetailStatsMicro },
decorators: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { BlockIframeEmbedData } from './../BlockIframeEmbed/BlockIframeEmbed.sto
import MissionDetailStreamfield from './MissionDetailStreamfield.vue'

export default {
title: 'WWW/MissionDetail/MissionDetailStreamfield',
title: 'Components/WWW/MissionDetail/MissionDetailStreamfield',
component: MissionDetailStreamfield,
excludeStories: /.*Data$/
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import NavDesktopDropdownContent from './NavDesktopDropdownContent.vue'
import NavDesktopDropdownMore from './NavDesktopDropdownMore.vue'

export default {
title: 'WWW/Header & Footer/Elements/NavDesktop',
title: 'Navigation/Headers/WWW/NavDesktop',
component: NavDesktop,
excludeStories: /.*Data$/,
parameters: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { MenuLinkColumnWithHeaderData } from './../NavLinkList/NavLinkList.stori
import NavHeading from './NavHeading.vue'

export default {
title: 'WWW/Header & Footer/Elements/NavHeading',
title: 'Navigation/Elements/NavHeading',
component: NavHeading,
decorators: [
() => ({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import NavHighlight from './NavHighlight.vue'

export default {
title: 'WWW/Header & Footer/Elements/NavHighlight',
title: 'Navigation/Elements/NavHighlight',
component: NavHighlight,
decorators: [
() => ({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import NavLinkList from './NavLinkList.vue'

export default {
title: 'WWW/Header & Footer/Elements/NavLinkList',
title: 'Navigation/Elements/NavLinkList',
component: NavLinkList,
decorators: [
() => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import LogoColor from '@explorer-1/common/src/images/svg/logo-tribrand-color.svg
import NavLogoLinks from './NavLogoLinks.vue'

export default {
title: 'WWW/Header & Footer/Elements/NavLogoLinks',
title: 'Navigation/Elements/NavLogoLinks',
component: NavLogoLinks,
excludeStories: /.*Data$/
}
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/src/components/NavMobile/NavMobile.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import NavMobileDropdown from './NavMobileDropdown.vue'
import NavMobileLink from './NavMobileLink.vue'

export default {
title: 'WWW/Header & Footer/Elements/NavMobile',
title: 'Navigation/Headers/WWW/NavMobile',
component: NavMobile,
excludeStories: /.*Data$/,
parameters: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import NavSearchForm from './NavSearchForm.vue'

export default {
title: 'WWW/Header & Footer/Elements/NavSearchForm',
title: 'Navigation/Elements/NavSearchForm',
component: NavSearchForm,
excludeStories: /.*Data$/
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import NavSecondary from './NavSecondary.vue'

export default {
title: 'WWW/Header & Footer/Elements/NavSecondary',
title: 'Navigation/Secondary Navigation/NavSecondary',
component: NavSecondary,
excludeStories: /.*Data$/,
parameters: {
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/src/components/NavSocial/NavSocial.stories.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import NavSocial from './NavSocial.vue'

export default {
title: 'WWW/Header & Footer/Elements/NavSocial',
title: 'Navigation/Elements/NavSocial',
component: NavSocial,
excludeStories: /.*Data$/
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import NewsDetailMediaContact from './NewsDetailMediaContact.vue'

export default {
title: 'WWW/NewsDetail/NewsDetailMediaContact',
title: 'Components/WWW/NewsDetail/NewsDetailMediaContact',
component: NewsDetailMediaContact
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import PodcastSeriesCarousel from './PodcastSeriesCarousel.vue'

export default {
title: 'WWW/PodcastDetail/PodcastSeriesCarousel',
title: 'Components/WWW/PodcastDetail/PodcastSeriesCarousel',
component: PodcastSeriesCarousel,
parameters: {
docs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import RoboticsDetailStats from './RoboticsDetailStats.vue'
import RoboticsDetailStatsMini from './RoboticsDetailStatsMini.vue'

export default {
title: 'WWW/RoboticsDetail/RoboticsDetailStats',
title: 'Components/WWW/RoboticsDetail/RoboticsDetailStats',
component: RoboticsDetailStats,
subcomponents: { RoboticsDetailStatsMini },
decorators: [
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/src/components/SkipLink/SkipLink.stories.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import SkipLink from './SkipLink.vue'

export default {
title: 'WWW/Header & Footer/Elements/SkipLink',
title: 'Navigation/Elements/SkipLink',
component: SkipLink,
excludeStories: /.*Data$/
}
Expand Down
9 changes: 7 additions & 2 deletions packages/vue/src/components/TheFooter/TheFooter.stories.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import TheFooter from './TheFooter.vue'

export default {
title: 'WWW/Header & Footer/TheFooter',
title: 'Navigation/Footers/External Footer',
component: TheFooter,
excludeStories: /.*Data$/,
parameters: {
viewMode: 'canvas'
docs: {
description: {
component:
'This component can be used for any external footer. Its styles will change based on the theme being used.'
}
}
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import TopicDetailMissionCarousel from './TopicDetailMissionCarousel.vue'
export default {
title: 'WWW/TopicDetail/MissionCarousel/TopicDetailMissionCarousel',
title: 'Components/WWW/TopicDetail/MissionCarousel/TopicDetailMissionCarousel',
component: TopicDetailMissionCarousel,
excludeStories: /.*Data$/
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import TopicDetailMissionCarouselItem from './TopicDetailMissionCarouselItem.vue'

export default {
title: 'WWW/TopicDetail/MissionCarousel/TopicDetailMissionCarouselItem',
title: 'Components/WWW/TopicDetail/MissionCarousel/TopicDetailMissionCarouselItem',
component: TopicDetailMissionCarouselItem,
decorators: [
() => ({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import TopicDetailMissionSpotlight from './TopicDetailMissionSpotlight.vue'
export default {
title: 'WWW/TopicDetail/TopicDetailMissionSpotlight',
title: 'Components/WWW/TopicDetail/TopicDetailMissionSpotlight',
component: TopicDetailMissionSpotlight,
decorators: [
() => ({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import TopicDetailMore from './TopicDetailMore.vue'
export default {
title: 'WWW/TopicDetail/TopicDetailMore',
title: 'Components/WWW/TopicDetail/TopicDetailMore',
component: TopicDetailMore,
excludeStories: /.*Data$/
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import TopicDetailMoreItem from './TopicDetailMoreItem.vue'
export default {
title: 'WWW/TopicDetail/TopicDetailMore/TopicDetailMoreItem',
title: 'Components/WWW/TopicDetail/TopicDetailMore/TopicDetailMoreItem',
component: TopicDetailMoreItem,
decorators: [
() => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { BlockRelatedLinksData } from './../BlockRelatedLinks/BlockRelatedLinks.
import TopicDetailStreamfield from './TopicDetailStreamfield.vue'

export default {
title: 'WWW/TopicDetail/TopicDetailStreamfield',
title: 'Components/WWW/TopicDetail/TopicDetailStreamfield',
component: TopicDetailStreamfield,
decorators: [
() => ({
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/src/docs/foundation/color.docs.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta, Story, Canvas } from '@storybook/blocks'

<Meta title="Foundation/Colors" />
<Meta title="Foundations/Colors" />

# Colors

Expand Down
2 changes: 1 addition & 1 deletion packages/vue/src/docs/foundation/grid.stories.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import LayoutHelper from './../../components/LayoutHelper/LayoutHelper.vue'
export default {
title: 'Foundation/Grid and Layout',
title: 'Foundations/Grid and Layout',
component: LayoutHelper,
tags: ['!autodocs']
}
Expand Down
Loading

0 comments on commit dbc17dc

Please sign in to comment.