From abaf527b962c070dc5324ad6332e0ce691876dcb Mon Sep 17 00:00:00 2001 From: Anjali Kumari Singh <94233830+anjali29singh@users.noreply.github.com> Date: Wed, 19 Jul 2023 17:37:21 +0530 Subject: [PATCH] fix: removed duplication of components names in imports (#2408) --- .../{_ActionRow.scss => _index.scss} | 0 src/Alert/{Alert.scss => index.scss} | 0 .../{Annotation.scss => index.scss} | 0 src/Avatar/{Avatar.scss => index.scss} | 0 .../{AvatarButton.scss => index.scss} | 0 src/Badge/{Badge.scss => index.scss} | 0 .../{Breadcrumb.scss => index.scss} | 0 src/Bubble/{Bubble.scss => index.scss} | 0 src/Button/{Button.scss => index.scss} | 0 src/Card/{Card.scss => index.scss} | 0 src/Carousel/{Carousel.scss => index.scss} | 0 src/Chip/{Chip.scss => index.scss} | 0 .../{CloseButton.scss => index.scss} | 0 src/Code/{Code.scss => index.scss} | 0 .../{Collapsible.scss => index.scss} | 0 .../{ColorPicker.scss => index.scss} | 0 src/DataTable/{DataTable.scss => index.scss} | 0 src/Dropdown/{Dropdown.scss => index.scss} | 0 src/Dropzone/{Dropzone.scss => index.scss} | 0 src/Fieldset/{Fieldset.scss => index.scss} | 0 src/Figure/{Figure.scss => index.scss} | 0 src/Form/{_Form.scss => _index.scss} | 0 src/Hyperlink/{Hyperlink.scss => index.scss} | 0 src/Icon/{Icon.scss => index.scss} | 0 .../{IconButton.scss => index.scss} | 0 .../{IconButtonToggle.scss => index.scss} | 0 src/Image/{Image.scss => index.scss} | 0 src/Media/{Media.scss => index.scss} | 0 src/Menu/{Menu.scss => index.scss} | 0 src/Modal/{Modal.scss => index.scss} | 0 src/Nav/{Nav.scss => index.scss} | 0 src/Navbar/{Navbar.scss => index.scss} | 0 .../{OverflowScroll.scss => index.scss} | 0 .../{PageBanner.scss => index.scss} | 0 .../{Pagination.scss => index.scss} | 0 src/Popover/{Popover.scss => index.scss} | 0 .../{ProgressBar.scss => index.scss} | 0 .../{Scrollable.scss => index.scss} | 0 .../{SearchField.scss => index.scss} | 0 .../{SelectableBox.scss => index.scss} | 0 src/Sheet/{Sheet.scss => index.scss} | 0 src/Skeleton/{Skeleton.scss => index.scss} | 0 src/Spinner/{Spinner.scss => index.scss} | 0 src/Stack/{Stack.scss => index.scss} | 0 .../{StatefulButton.scss => index.scss} | 0 src/Stepper/{Stepper.scss => index.scss} | 0 src/Sticky/{Sticky.scss => index.scss} | 0 src/Table/{Table.scss => index.scss} | 0 src/Tabs/{Tabs.scss => index.scss} | 0 src/Toast/{Toast.scss => index.scss} | 0 src/Tooltip/{Tooltip.scss => index.scss} | 0 .../{TransitionReplace.scss => index.scss} | 0 .../{ValidationMessage.scss => index.scss} | 0 src/index.scss | 106 +++++++++--------- 54 files changed, 53 insertions(+), 53 deletions(-) rename src/ActionRow/{_ActionRow.scss => _index.scss} (100%) rename src/Alert/{Alert.scss => index.scss} (100%) rename src/Annotation/{Annotation.scss => index.scss} (100%) rename src/Avatar/{Avatar.scss => index.scss} (100%) rename src/AvatarButton/{AvatarButton.scss => index.scss} (100%) rename src/Badge/{Badge.scss => index.scss} (100%) rename src/Breadcrumb/{Breadcrumb.scss => index.scss} (100%) rename src/Bubble/{Bubble.scss => index.scss} (100%) rename src/Button/{Button.scss => index.scss} (100%) rename src/Card/{Card.scss => index.scss} (100%) rename src/Carousel/{Carousel.scss => index.scss} (100%) rename src/Chip/{Chip.scss => index.scss} (100%) rename src/CloseButton/{CloseButton.scss => index.scss} (100%) rename src/Code/{Code.scss => index.scss} (100%) rename src/Collapsible/{Collapsible.scss => index.scss} (100%) rename src/ColorPicker/{ColorPicker.scss => index.scss} (100%) rename src/DataTable/{DataTable.scss => index.scss} (100%) rename src/Dropdown/{Dropdown.scss => index.scss} (100%) rename src/Dropzone/{Dropzone.scss => index.scss} (100%) rename src/Fieldset/{Fieldset.scss => index.scss} (100%) rename src/Figure/{Figure.scss => index.scss} (100%) rename src/Form/{_Form.scss => _index.scss} (100%) rename src/Hyperlink/{Hyperlink.scss => index.scss} (100%) rename src/Icon/{Icon.scss => index.scss} (100%) rename src/IconButton/{IconButton.scss => index.scss} (100%) rename src/IconButtonToggle/{IconButtonToggle.scss => index.scss} (100%) rename src/Image/{Image.scss => index.scss} (100%) rename src/Media/{Media.scss => index.scss} (100%) rename src/Menu/{Menu.scss => index.scss} (100%) rename src/Modal/{Modal.scss => index.scss} (100%) rename src/Nav/{Nav.scss => index.scss} (100%) rename src/Navbar/{Navbar.scss => index.scss} (100%) rename src/OverflowScroll/{OverflowScroll.scss => index.scss} (100%) rename src/PageBanner/{PageBanner.scss => index.scss} (100%) rename src/Pagination/{Pagination.scss => index.scss} (100%) rename src/Popover/{Popover.scss => index.scss} (100%) rename src/ProgressBar/{ProgressBar.scss => index.scss} (100%) rename src/Scrollable/{Scrollable.scss => index.scss} (100%) rename src/SearchField/{SearchField.scss => index.scss} (100%) rename src/SelectableBox/{SelectableBox.scss => index.scss} (100%) rename src/Sheet/{Sheet.scss => index.scss} (100%) rename src/Skeleton/{Skeleton.scss => index.scss} (100%) rename src/Spinner/{Spinner.scss => index.scss} (100%) rename src/Stack/{Stack.scss => index.scss} (100%) rename src/StatefulButton/{StatefulButton.scss => index.scss} (100%) rename src/Stepper/{Stepper.scss => index.scss} (100%) rename src/Sticky/{Sticky.scss => index.scss} (100%) rename src/Table/{Table.scss => index.scss} (100%) rename src/Tabs/{Tabs.scss => index.scss} (100%) rename src/Toast/{Toast.scss => index.scss} (100%) rename src/Tooltip/{Tooltip.scss => index.scss} (100%) rename src/TransitionReplace/{TransitionReplace.scss => index.scss} (100%) rename src/ValidationMessage/{ValidationMessage.scss => index.scss} (100%) diff --git a/src/ActionRow/_ActionRow.scss b/src/ActionRow/_index.scss similarity index 100% rename from src/ActionRow/_ActionRow.scss rename to src/ActionRow/_index.scss diff --git a/src/Alert/Alert.scss b/src/Alert/index.scss similarity index 100% rename from src/Alert/Alert.scss rename to src/Alert/index.scss diff --git a/src/Annotation/Annotation.scss b/src/Annotation/index.scss similarity index 100% rename from src/Annotation/Annotation.scss rename to src/Annotation/index.scss diff --git a/src/Avatar/Avatar.scss b/src/Avatar/index.scss similarity index 100% rename from src/Avatar/Avatar.scss rename to src/Avatar/index.scss diff --git a/src/AvatarButton/AvatarButton.scss b/src/AvatarButton/index.scss similarity index 100% rename from src/AvatarButton/AvatarButton.scss rename to src/AvatarButton/index.scss diff --git a/src/Badge/Badge.scss b/src/Badge/index.scss similarity index 100% rename from src/Badge/Badge.scss rename to src/Badge/index.scss diff --git a/src/Breadcrumb/Breadcrumb.scss b/src/Breadcrumb/index.scss similarity index 100% rename from src/Breadcrumb/Breadcrumb.scss rename to src/Breadcrumb/index.scss diff --git a/src/Bubble/Bubble.scss b/src/Bubble/index.scss similarity index 100% rename from src/Bubble/Bubble.scss rename to src/Bubble/index.scss diff --git a/src/Button/Button.scss b/src/Button/index.scss similarity index 100% rename from src/Button/Button.scss rename to src/Button/index.scss diff --git a/src/Card/Card.scss b/src/Card/index.scss similarity index 100% rename from src/Card/Card.scss rename to src/Card/index.scss diff --git a/src/Carousel/Carousel.scss b/src/Carousel/index.scss similarity index 100% rename from src/Carousel/Carousel.scss rename to src/Carousel/index.scss diff --git a/src/Chip/Chip.scss b/src/Chip/index.scss similarity index 100% rename from src/Chip/Chip.scss rename to src/Chip/index.scss diff --git a/src/CloseButton/CloseButton.scss b/src/CloseButton/index.scss similarity index 100% rename from src/CloseButton/CloseButton.scss rename to src/CloseButton/index.scss diff --git a/src/Code/Code.scss b/src/Code/index.scss similarity index 100% rename from src/Code/Code.scss rename to src/Code/index.scss diff --git a/src/Collapsible/Collapsible.scss b/src/Collapsible/index.scss similarity index 100% rename from src/Collapsible/Collapsible.scss rename to src/Collapsible/index.scss diff --git a/src/ColorPicker/ColorPicker.scss b/src/ColorPicker/index.scss similarity index 100% rename from src/ColorPicker/ColorPicker.scss rename to src/ColorPicker/index.scss diff --git a/src/DataTable/DataTable.scss b/src/DataTable/index.scss similarity index 100% rename from src/DataTable/DataTable.scss rename to src/DataTable/index.scss diff --git a/src/Dropdown/Dropdown.scss b/src/Dropdown/index.scss similarity index 100% rename from src/Dropdown/Dropdown.scss rename to src/Dropdown/index.scss diff --git a/src/Dropzone/Dropzone.scss b/src/Dropzone/index.scss similarity index 100% rename from src/Dropzone/Dropzone.scss rename to src/Dropzone/index.scss diff --git a/src/Fieldset/Fieldset.scss b/src/Fieldset/index.scss similarity index 100% rename from src/Fieldset/Fieldset.scss rename to src/Fieldset/index.scss diff --git a/src/Figure/Figure.scss b/src/Figure/index.scss similarity index 100% rename from src/Figure/Figure.scss rename to src/Figure/index.scss diff --git a/src/Form/_Form.scss b/src/Form/_index.scss similarity index 100% rename from src/Form/_Form.scss rename to src/Form/_index.scss diff --git a/src/Hyperlink/Hyperlink.scss b/src/Hyperlink/index.scss similarity index 100% rename from src/Hyperlink/Hyperlink.scss rename to src/Hyperlink/index.scss diff --git a/src/Icon/Icon.scss b/src/Icon/index.scss similarity index 100% rename from src/Icon/Icon.scss rename to src/Icon/index.scss diff --git a/src/IconButton/IconButton.scss b/src/IconButton/index.scss similarity index 100% rename from src/IconButton/IconButton.scss rename to src/IconButton/index.scss diff --git a/src/IconButtonToggle/IconButtonToggle.scss b/src/IconButtonToggle/index.scss similarity index 100% rename from src/IconButtonToggle/IconButtonToggle.scss rename to src/IconButtonToggle/index.scss diff --git a/src/Image/Image.scss b/src/Image/index.scss similarity index 100% rename from src/Image/Image.scss rename to src/Image/index.scss diff --git a/src/Media/Media.scss b/src/Media/index.scss similarity index 100% rename from src/Media/Media.scss rename to src/Media/index.scss diff --git a/src/Menu/Menu.scss b/src/Menu/index.scss similarity index 100% rename from src/Menu/Menu.scss rename to src/Menu/index.scss diff --git a/src/Modal/Modal.scss b/src/Modal/index.scss similarity index 100% rename from src/Modal/Modal.scss rename to src/Modal/index.scss diff --git a/src/Nav/Nav.scss b/src/Nav/index.scss similarity index 100% rename from src/Nav/Nav.scss rename to src/Nav/index.scss diff --git a/src/Navbar/Navbar.scss b/src/Navbar/index.scss similarity index 100% rename from src/Navbar/Navbar.scss rename to src/Navbar/index.scss diff --git a/src/OverflowScroll/OverflowScroll.scss b/src/OverflowScroll/index.scss similarity index 100% rename from src/OverflowScroll/OverflowScroll.scss rename to src/OverflowScroll/index.scss diff --git a/src/PageBanner/PageBanner.scss b/src/PageBanner/index.scss similarity index 100% rename from src/PageBanner/PageBanner.scss rename to src/PageBanner/index.scss diff --git a/src/Pagination/Pagination.scss b/src/Pagination/index.scss similarity index 100% rename from src/Pagination/Pagination.scss rename to src/Pagination/index.scss diff --git a/src/Popover/Popover.scss b/src/Popover/index.scss similarity index 100% rename from src/Popover/Popover.scss rename to src/Popover/index.scss diff --git a/src/ProgressBar/ProgressBar.scss b/src/ProgressBar/index.scss similarity index 100% rename from src/ProgressBar/ProgressBar.scss rename to src/ProgressBar/index.scss diff --git a/src/Scrollable/Scrollable.scss b/src/Scrollable/index.scss similarity index 100% rename from src/Scrollable/Scrollable.scss rename to src/Scrollable/index.scss diff --git a/src/SearchField/SearchField.scss b/src/SearchField/index.scss similarity index 100% rename from src/SearchField/SearchField.scss rename to src/SearchField/index.scss diff --git a/src/SelectableBox/SelectableBox.scss b/src/SelectableBox/index.scss similarity index 100% rename from src/SelectableBox/SelectableBox.scss rename to src/SelectableBox/index.scss diff --git a/src/Sheet/Sheet.scss b/src/Sheet/index.scss similarity index 100% rename from src/Sheet/Sheet.scss rename to src/Sheet/index.scss diff --git a/src/Skeleton/Skeleton.scss b/src/Skeleton/index.scss similarity index 100% rename from src/Skeleton/Skeleton.scss rename to src/Skeleton/index.scss diff --git a/src/Spinner/Spinner.scss b/src/Spinner/index.scss similarity index 100% rename from src/Spinner/Spinner.scss rename to src/Spinner/index.scss diff --git a/src/Stack/Stack.scss b/src/Stack/index.scss similarity index 100% rename from src/Stack/Stack.scss rename to src/Stack/index.scss diff --git a/src/StatefulButton/StatefulButton.scss b/src/StatefulButton/index.scss similarity index 100% rename from src/StatefulButton/StatefulButton.scss rename to src/StatefulButton/index.scss diff --git a/src/Stepper/Stepper.scss b/src/Stepper/index.scss similarity index 100% rename from src/Stepper/Stepper.scss rename to src/Stepper/index.scss diff --git a/src/Sticky/Sticky.scss b/src/Sticky/index.scss similarity index 100% rename from src/Sticky/Sticky.scss rename to src/Sticky/index.scss diff --git a/src/Table/Table.scss b/src/Table/index.scss similarity index 100% rename from src/Table/Table.scss rename to src/Table/index.scss diff --git a/src/Tabs/Tabs.scss b/src/Tabs/index.scss similarity index 100% rename from src/Tabs/Tabs.scss rename to src/Tabs/index.scss diff --git a/src/Toast/Toast.scss b/src/Toast/index.scss similarity index 100% rename from src/Toast/Toast.scss rename to src/Toast/index.scss diff --git a/src/Tooltip/Tooltip.scss b/src/Tooltip/index.scss similarity index 100% rename from src/Tooltip/Tooltip.scss rename to src/Tooltip/index.scss diff --git a/src/TransitionReplace/TransitionReplace.scss b/src/TransitionReplace/index.scss similarity index 100% rename from src/TransitionReplace/TransitionReplace.scss rename to src/TransitionReplace/index.scss diff --git a/src/ValidationMessage/ValidationMessage.scss b/src/ValidationMessage/index.scss similarity index 100% rename from src/ValidationMessage/ValidationMessage.scss rename to src/ValidationMessage/index.scss diff --git a/src/index.scss b/src/index.scss index 5648470099..51872805a6 100644 --- a/src/index.scss +++ b/src/index.scss @@ -1,56 +1,56 @@ -@import "./ActionRow/ActionRow"; -@import "./Alert/Alert"; -@import "./Annotation/Annotation"; -@import "./Avatar/Avatar"; -@import "./AvatarButton/AvatarButton"; -@import "./Badge/Badge"; -@import "./Breadcrumb/Breadcrumb"; -@import "./Button/Button"; -@import "./Card/Card"; -@import "./Carousel/Carousel"; -@import "./Collapsible/Collapsible"; -@import "./CloseButton/CloseButton"; -@import "./Chip/Chip"; -@import "./Code/Code"; -@import "./Dropdown/Dropdown"; -@import "./Fieldset/Fieldset"; -@import "./Figure/Figure"; -@import "./Form/Form"; -@import "./Hyperlink/Hyperlink"; -@import "./Icon/Icon"; -@import "./Image/Image"; -@import "./Media/Media"; -@import "./Menu/Menu"; -@import "./Modal/Modal"; -@import "./Nav/Nav"; -@import "./Navbar/Navbar"; -@import "./PageBanner/PageBanner"; -@import "./Pagination/Pagination"; -@import "./Popover/Popover"; -@import "./ProgressBar/ProgressBar"; -@import "./OverflowScroll/OverflowScroll"; -@import "./SearchField/SearchField"; -@import "./Scrollable/Scrollable"; -@import "./Sheet/Sheet"; -@import "./Skeleton/Skeleton"; -@import "./Spinner/Spinner"; -@import "./Stepper/Stepper"; -@import "./StatefulButton/StatefulButton"; -@import "./Table/Table"; -@import "./Tooltip/Tooltip"; -@import "./DataTable/DataTable"; -@import "./TransitionReplace/TransitionReplace"; -@import "./ValidationMessage/ValidationMessage"; +@import "./ActionRow"; +@import "./Alert"; +@import "./Annotation"; +@import "./Avatar"; +@import "./AvatarButton"; +@import "./Badge"; +@import "./Breadcrumb"; +@import "./Button"; +@import "./Card"; +@import "./Carousel"; +@import "./Collapsible"; +@import "./CloseButton"; +@import "./Chip"; +@import "./Code"; +@import "./Dropdown"; +@import "./Fieldset"; +@import "./Figure"; +@import "./Form"; +@import "./Hyperlink"; +@import "./Icon"; +@import "./Image"; +@import "./Media"; +@import "./Menu"; +@import "./Modal"; +@import "./Nav"; +@import "./Navbar"; +@import "./PageBanner"; +@import "./Pagination"; +@import "./Popover"; +@import "./ProgressBar"; +@import "./OverflowScroll"; +@import "./SearchField"; +@import "./Scrollable"; +@import "./Sheet"; +@import "./Skeleton"; +@import "./Spinner"; +@import "./Stepper"; +@import "./StatefulButton"; +@import "./Table"; +@import "./Tooltip"; +@import "./DataTable"; +@import "./TransitionReplace"; +@import "./ValidationMessage"; @import "./Tabs/deprecated/Tabs"; -@import "./IconButton/IconButton"; -@import "./IconButtonToggle/IconButtonToggle"; -@import "./Toast/Toast"; +@import "./IconButton"; +@import "./IconButtonToggle"; +@import "./Toast"; @import "./Toast/ToastContainer"; -@import "./SelectableBox/SelectableBox"; +@import "./SelectableBox"; @import "./ProductTour/Checkpoint"; -@import "./Sticky/Sticky"; -@import "./Stack/Stack"; -@import "./Bubble/Bubble"; -@import "./Tabs/Tabs"; -@import "./Dropzone/Dropzone"; -@import "./ColorPicker/ColorPicker"; +@import "./Sticky"; +@import "./Stack"; +@import "./Bubble"; +@import "./Tabs"; +@import "./Dropzone"; +@import "./ColorPicker";