From 6912f65c96a85617865819b4aabb88acb90ece5e Mon Sep 17 00:00:00 2001 From: Callin Mullaney <57088-callinmullaney@users.noreply.drupalcode.org> Date: Fri, 15 Nov 2024 10:00:16 -0600 Subject: [PATCH] feat: rename files that aren't meant to be wired directly for SDC --- src/components/forms/forms.stories.js | 2 +- src/components/forms/{forms.component.yml => forms.yml} | 0 ...oth-ellipses.component.yml => pager-both-ellipses.yml} | 0 ...ager-first-last.component.yml => pager-first-last.yml} | 0 ...ext-ellipses.component.yml => pager-next-ellipses.yml} | 0 ...rev-ellipses.component.yml => pager-prev-ellipses.yml} | 0 src/components/navigation/pager/pager.stories.js | 8 ++++---- .../video/{video-embed.component.yml => video-embed.yml} | 0 .../video/{video-html5.component.yml => video-html5.yml} | 0 src/components/video/video.stories.js | 4 ++-- 10 files changed, 7 insertions(+), 7 deletions(-) rename src/components/forms/{forms.component.yml => forms.yml} (100%) rename src/components/navigation/pager/{pager-both-ellipses.component.yml => pager-both-ellipses.yml} (100%) rename src/components/navigation/pager/{pager-first-last.component.yml => pager-first-last.yml} (100%) rename src/components/navigation/pager/{pager-next-ellipses.component.yml => pager-next-ellipses.yml} (100%) rename src/components/navigation/pager/{pager-prev-ellipses.component.yml => pager-prev-ellipses.yml} (100%) rename src/components/video/{video-embed.component.yml => video-embed.yml} (100%) rename src/components/video/{video-html5.component.yml => video-html5.yml} (100%) diff --git a/src/components/forms/forms.stories.js b/src/components/forms/forms.stories.js index 41200608..bfe975ed 100644 --- a/src/components/forms/forms.stories.js +++ b/src/components/forms/forms.stories.js @@ -3,7 +3,7 @@ import radio from './radio/radio.twig'; import select from './select/select.twig'; import textfields from './textfields/textfields.twig'; -import { props } from './forms.component.yml'; +import { props } from './forms.yml'; const checkboxData = props.properties.checkboxes.data; const radioData = props.properties.radios.data; diff --git a/src/components/forms/forms.component.yml b/src/components/forms/forms.yml similarity index 100% rename from src/components/forms/forms.component.yml rename to src/components/forms/forms.yml diff --git a/src/components/navigation/pager/pager-both-ellipses.component.yml b/src/components/navigation/pager/pager-both-ellipses.yml similarity index 100% rename from src/components/navigation/pager/pager-both-ellipses.component.yml rename to src/components/navigation/pager/pager-both-ellipses.yml diff --git a/src/components/navigation/pager/pager-first-last.component.yml b/src/components/navigation/pager/pager-first-last.yml similarity index 100% rename from src/components/navigation/pager/pager-first-last.component.yml rename to src/components/navigation/pager/pager-first-last.yml diff --git a/src/components/navigation/pager/pager-next-ellipses.component.yml b/src/components/navigation/pager/pager-next-ellipses.yml similarity index 100% rename from src/components/navigation/pager/pager-next-ellipses.component.yml rename to src/components/navigation/pager/pager-next-ellipses.yml diff --git a/src/components/navigation/pager/pager-prev-ellipses.component.yml b/src/components/navigation/pager/pager-prev-ellipses.yml similarity index 100% rename from src/components/navigation/pager/pager-prev-ellipses.component.yml rename to src/components/navigation/pager/pager-prev-ellipses.yml diff --git a/src/components/navigation/pager/pager.stories.js b/src/components/navigation/pager/pager.stories.js index 392e7af2..8b4ea2b5 100644 --- a/src/components/navigation/pager/pager.stories.js +++ b/src/components/navigation/pager/pager.stories.js @@ -2,10 +2,10 @@ import pagerTwig from './pager.twig'; import { mapDataToTwig } from '../../../util/dataTransformers.js'; import { props as pagerProps } from './pager.component.yml'; -import { props as pagerNextEllipsesProps } from './pager-next-ellipses.component.yml'; -import { props as pagerPrevEllipsesProps } from './pager-prev-ellipses.component.yml'; -import { props as pagerBothEllipsesProps } from './pager-both-ellipses.component.yml'; -import { props as pagerFirstLastProps } from './pager-first-last.component.yml'; +import { props as pagerNextEllipsesProps } from './pager-next-ellipses.yml'; +import { props as pagerPrevEllipsesProps } from './pager-prev-ellipses.yml'; +import { props as pagerBothEllipsesProps } from './pager-both-ellipses.yml'; +import { props as pagerFirstLastProps } from './pager-first-last.yml'; const pagerData = mapDataToTwig(pagerProps.properties); const pagerNextEllipsesData = mapDataToTwig(pagerNextEllipsesProps.properties); diff --git a/src/components/video/video-embed.component.yml b/src/components/video/video-embed.yml similarity index 100% rename from src/components/video/video-embed.component.yml rename to src/components/video/video-embed.yml diff --git a/src/components/video/video-html5.component.yml b/src/components/video/video-html5.yml similarity index 100% rename from src/components/video/video-html5.component.yml rename to src/components/video/video-html5.yml diff --git a/src/components/video/video.stories.js b/src/components/video/video.stories.js index 26b8eb8b..4c57fd0f 100644 --- a/src/components/video/video.stories.js +++ b/src/components/video/video.stories.js @@ -1,7 +1,7 @@ import video from './video.twig'; -import { props as videoEmbedProps } from './video-embed.component.yml'; -import { props as videoHTML5Props } from './video-html5.component.yml'; +import { props as videoEmbedProps } from './video-embed.yml'; +import { props as videoHTML5Props } from './video-html5.yml'; import { mapDataToTwig } from '../../util/dataTransformers'; import './video-embed';