From ef7de6fbf978966c5a20cce396b0963892104a33 Mon Sep 17 00:00:00 2001 From: Souvik Nath Date: Wed, 7 Sep 2022 01:56:03 +0530 Subject: [PATCH] Fixes Issue #216: Encourage individual icon component usage by removing Icon/index.js --- scripts/generateIconComponents.js | 48 +++--- src/components/Avatar/Avatar.jsx | 21 ++- src/components/Banner/Banner.jsx | 2 +- src/components/Button/Button.jsx | 2 +- src/components/Carousel/Carousel.jsx | 4 +- .../DropdownMenu/ButtonItem/ButtonItem.jsx | 3 +- src/components/Icon/index.js | 149 ------------------ .../Icon/utils/createIconComponent.js | 13 -- src/components/{Icon => }/Icons/Add.jsx | 2 +- src/components/{Icon => }/Icons/AddMedia.jsx | 2 +- src/components/{Icon => }/Icons/Analyze.jsx | 2 +- .../{Icon => }/Icons/Appearance.jsx | 2 +- .../{Icon => }/Icons/AppleMusic.jsx | 2 +- src/components/{Icon => }/Icons/ArrowDown.jsx | 2 +- src/components/{Icon => }/Icons/ArrowLeft.jsx | 2 +- .../{Icon => }/Icons/ArrowRight.jsx | 2 +- src/components/{Icon => }/Icons/ArrowUp.jsx | 2 +- src/components/{Icon => }/Icons/Attach.jsx | 2 +- src/components/{Icon => }/Icons/Audience.jsx | 2 +- src/components/{Icon => }/Icons/Bandcamp.jsx | 2 +- src/components/{Icon => }/Icons/Behance.jsx | 2 +- src/components/{Icon => }/Icons/Bell.jsx | 2 +- src/components/{Icon => }/Icons/Buffer.jsx | 2 +- src/components/{Icon => }/Icons/Building.jsx | 2 +- .../{Icon => }/Icons/ButtonLink.jsx | 2 +- src/components/{Icon => }/Icons/Calendar.jsx | 2 +- .../{Icon => }/Icons/CalendarAdd.jsx | 2 +- src/components/{Icon => }/Icons/Camera.jsx | 2 +- src/components/{Icon => }/Icons/Canva.jsx | 2 +- src/components/{Icon => }/Icons/Card.jsx | 2 +- src/components/{Icon => }/Icons/CaretDown.jsx | 2 +- src/components/{Icon => }/Icons/CaretLeft.jsx | 2 +- .../{Icon => }/Icons/CaretRight.jsx | 2 +- src/components/{Icon => }/Icons/CaretUp.jsx | 2 +- src/components/{Icon => }/Icons/Carousel.jsx | 2 +- src/components/{Icon => }/Icons/Channels.jsx | 2 +- src/components/{Icon => }/Icons/ChartLine.jsx | 2 +- src/components/{Icon => }/Icons/Checkmark.jsx | 2 +- .../{Icon => }/Icons/ChevronDown.jsx | 2 +- src/components/{Icon => }/Icons/ChevronUp.jsx | 2 +- src/components/{Icon => }/Icons/Clock.jsx | 2 +- src/components/{Icon => }/Icons/Clubhouse.jsx | 2 +- src/components/{Icon => }/Icons/Compare.jsx | 2 +- src/components/{Icon => }/Icons/Copy.jsx | 2 +- src/components/{Icon => }/Icons/Coupon.jsx | 2 +- src/components/{Icon => }/Icons/Cross.jsx | 2 +- src/components/{Icon => }/Icons/Day.jsx | 2 +- src/components/{Icon => }/Icons/Direct.jsx | 2 +- src/components/{Icon => }/Icons/Discord.jsx | 2 +- src/components/{Icon => }/Icons/Dollar.jsx | 2 +- src/components/{Icon => }/Icons/Drafts.jsx | 2 +- .../{Icon => }/Icons/DragIndicator.jsx | 2 +- src/components/{Icon => }/Icons/Dribbble.jsx | 2 +- src/components/{Icon => }/Icons/Dropbox.jsx | 2 +- src/components/{Icon => }/Icons/Email.jsx | 2 +- src/components/{Icon => }/Icons/Emoji.jsx | 2 +- src/components/{Icon => }/Icons/Facebook.jsx | 2 +- src/components/{Icon => }/Icons/Flag.jsx | 2 +- src/components/{Icon => }/Icons/Flash.jsx | 2 +- src/components/{Icon => }/Icons/Folder.jsx | 2 +- src/components/{Icon => }/Icons/Folders.jsx | 2 +- src/components/{Icon => }/Icons/Frequency.jsx | 2 +- src/components/{Icon => }/Icons/Gbp.jsx | 2 +- src/components/{Icon => }/Icons/Gear.jsx | 2 +- src/components/{Icon => }/Icons/Giphy.jsx | 2 +- src/components/{Icon => }/Icons/Github.jsx | 2 +- src/components/{Icon => }/Icons/Giveaway.jsx | 2 +- src/components/{Icon => }/Icons/Gmb.jsx | 2 +- src/components/{Icon => }/Icons/Google.jsx | 2 +- .../{Icon => }/Icons/GoogleDrive.jsx | 2 +- .../{Icon => }/Icons/GooglePhotos.jsx | 2 +- .../{Icon => }/Icons/GooglePlus.jsx | 2 +- src/components/{Icon => }/Icons/Hamburger.jsx | 2 +- src/components/{Icon => }/Icons/Hashtag.jsx | 2 +- src/components/{Icon => }/Icons/Heading.jsx | 2 +- src/components/{Icon => }/Icons/Hide.jsx | 2 +- src/components/{Icon => }/Icons/Home.jsx | 2 +- src/components/{Icon => }/Icons/Hotkeys.jsx | 2 +- .../{Icon/Icon.jsx => Icons/Icons.jsx} | 8 +- src/components/{Icon => }/Icons/Image.jsx | 2 +- src/components/{Icon => }/Icons/Import.jsx | 2 +- src/components/{Icon => }/Icons/Inbox.jsx | 2 +- src/components/{Icon => }/Icons/Info.jsx | 2 +- src/components/{Icon => }/Icons/Instagram.jsx | 2 +- .../{Icon => }/Icons/InstagramComment.jsx | 2 +- .../{Icon => }/Icons/InstagramDm.jsx | 2 +- .../{Icon => }/Icons/InstagramGrid.jsx | 2 +- .../{Icon => }/Icons/InstagramLike.jsx | 2 +- src/components/{Icon => }/Icons/Layout.jsx | 2 +- src/components/{Icon => }/Icons/Link.jsx | 2 +- src/components/{Icon => }/Icons/LinkedIn.jsx | 2 +- src/components/{Icon => }/Icons/List.jsx | 2 +- src/components/{Icon => }/Icons/Load.jsx | 2 +- src/components/{Icon => }/Icons/Location.jsx | 2 +- src/components/{Icon => }/Icons/Locked.jsx | 2 +- src/components/{Icon => }/Icons/Mail.jsx | 2 +- src/components/{Icon => }/Icons/Medium.jsx | 2 +- src/components/{Icon => }/Icons/Message.jsx | 2 +- src/components/{Icon => }/Icons/Messenger.jsx | 2 +- src/components/{Icon => }/Icons/More.jsx | 2 +- src/components/{Icon => }/Icons/Movie.jsx | 2 +- src/components/{Icon => }/Icons/Negative.jsx | 2 +- src/components/{Icon => }/Icons/Onedrive.jsx | 2 +- src/components/{Icon => }/Icons/OpenNew.jsx | 2 +- src/components/{Icon => }/Icons/Order.jsx | 2 +- src/components/{Icon => }/Icons/Organic.jsx | 2 +- src/components/{Icon => }/Icons/Patreon.jsx | 2 +- src/components/{Icon => }/Icons/Pause.jsx | 2 +- src/components/{Icon => }/Icons/Paypal.jsx | 2 +- src/components/{Icon => }/Icons/Pencil.jsx | 2 +- src/components/{Icon => }/Icons/People.jsx | 2 +- .../{Icon => }/Icons/PercentageDown.jsx | 2 +- .../{Icon => }/Icons/PercentageUp.jsx | 2 +- src/components/{Icon => }/Icons/Person.jsx | 2 +- src/components/{Icon => }/Icons/Phone.jsx | 2 +- src/components/{Icon => }/Icons/Pin.jsx | 2 +- src/components/{Icon => }/Icons/Pinned.jsx | 2 +- src/components/{Icon => }/Icons/Pinterest.jsx | 2 +- .../{Icon => }/Icons/Placeholder.jsx | 2 +- src/components/{Icon => }/Icons/Plus.jsx | 2 +- src/components/{Icon => }/Icons/Post.jsx | 2 +- src/components/{Icon => }/Icons/Promoted.jsx | 2 +- src/components/{Icon => }/Icons/Publish.jsx | 2 +- src/components/{Icon => }/Icons/QrCode.jsx | 2 +- src/components/{Icon => }/Icons/Question.jsx | 2 +- src/components/{Icon => }/Icons/Refresh.jsx | 2 +- src/components/{Icon => }/Icons/Reply.jsx | 2 +- src/components/{Icon => }/Icons/Return.jsx | 2 +- src/components/{Icon => }/Icons/Save.jsx | 2 +- src/components/{Icon => }/Icons/Search.jsx | 2 +- src/components/{Icon => }/Icons/Shopify.jsx | 2 +- src/components/{Icon => }/Icons/Sidebar.jsx | 2 +- src/components/{Icon => }/Icons/Sms.jsx | 2 +- src/components/{Icon => }/Icons/Snapchat.jsx | 2 +- .../{Icon => }/Icons/SocialIcons.jsx | 2 +- .../{Icon => }/Icons/Soundcloud.jsx | 2 +- src/components/{Icon => }/Icons/Spam.jsx | 2 +- src/components/{Icon => }/Icons/Sparkles.jsx | 2 +- src/components/{Icon => }/Icons/Spotify.jsx | 2 +- src/components/{Icon => }/Icons/Star.jsx | 2 +- src/components/{Icon => }/Icons/StartPage.jsx | 2 +- src/components/{Icon => }/Icons/Stats.jsx | 2 +- .../{Icon => }/Icons/Subheading.jsx | 2 +- src/components/{Icon => }/Icons/Substack.jsx | 2 +- src/components/{Icon => }/Icons/Subtract.jsx | 2 +- src/components/{Icon => }/Icons/Swap.jsx | 2 +- src/components/{Icon => }/Icons/Tag.jsx | 2 +- src/components/{Icon => }/Icons/Telegram.jsx | 2 +- src/components/{Icon => }/Icons/Tiktok.jsx | 2 +- src/components/{Icon => }/Icons/Title.jsx | 2 +- src/components/{Icon => }/Icons/Trash.jsx | 2 +- src/components/{Icon => }/Icons/Twitch.jsx | 2 +- src/components/{Icon => }/Icons/Twitter.jsx | 2 +- src/components/{Icon => }/Icons/Unknown.jsx | 2 +- src/components/{Icon => }/Icons/Unlocked.jsx | 2 +- src/components/{Icon => }/Icons/Unsplash.jsx | 2 +- src/components/{Icon => }/Icons/Video.jsx | 2 +- src/components/{Icon => }/Icons/View.jsx | 2 +- src/components/{Icon => }/Icons/Warning.jsx | 2 +- src/components/{Icon => }/Icons/Website.jsx | 2 +- src/components/{Icon => }/Icons/Whatsapp.jsx | 2 +- src/components/{Icon => }/Icons/Youtube.jsx | 2 +- src/components/{Icon => Icons}/style.js | 0 .../Icons/utils/createIconComponent.js | 14 ++ src/components/Input/Input.jsx | 2 +- src/components/Modal/Modal.jsx | 2 +- src/components/NavBar/NavBar.jsx | 21 ++- .../NavBar/NavBarMenu/NavBarMenu.jsx | 2 +- src/components/Notice/Notice.jsx | 4 +- src/components/Notification/style.js | 2 +- src/components/Select/Select.jsx | 4 +- .../Select/SelectItem/SelectItem.jsx | 2 +- src/components/SimpleModal/SimpleModal.jsx | 2 +- src/components/SocialButton/SocialButton.jsx | 6 +- src/components/TextArea/TextArea.jsx | 2 +- src/components/index.js | 4 +- .../app/layout/content/Component.jsx | 2 +- .../app/layout/sidebar/Sidebar.jsx | 3 +- .../examples/Button/Type/TypeIcon.jsx | 2 +- .../examples/Button/Type/TypeIconEnd.jsx | 2 +- .../examples/Button/Type/TypePrimaryIcon.jsx | 2 +- .../Button/Type/TypePrimaryIconEnd.jsx | 2 +- .../Button/Type/TypeSecondaryIcon.jsx | 2 +- .../Button/Type/TypeSplitWithEndIcon.jsx | 2 +- .../examples/DropdownMenu/DropdownMenu.jsx | 4 +- .../examples/{Icon => Icons}/Add.jsx | 2 +- .../examples/{Icon => Icons}/AddMedia.jsx | 2 +- .../examples/{Icon => Icons}/Analyze.jsx | 2 +- .../examples/{Icon => Icons}/Appearance.jsx | 2 +- .../examples/{Icon => Icons}/AppleMusic.jsx | 2 +- .../examples/{Icon => Icons}/ArrowDown.jsx | 2 +- .../examples/{Icon => Icons}/ArrowLeft.jsx | 2 +- .../examples/{Icon => Icons}/ArrowRight.jsx | 2 +- .../examples/{Icon => Icons}/ArrowUp.jsx | 2 +- .../examples/{Icon => Icons}/Attach.jsx | 2 +- .../examples/{Icon => Icons}/Audience.jsx | 2 +- .../examples/{Icon => Icons}/Bandcamp.jsx | 2 +- .../examples/{Icon => Icons}/Behance.jsx | 2 +- .../examples/{Icon => Icons}/Bell.jsx | 2 +- .../examples/{Icon => Icons}/Buffer.jsx | 2 +- .../examples/{Icon => Icons}/Building.jsx | 2 +- .../examples/{Icon => Icons}/ButtonLink.jsx | 2 +- .../examples/{Icon => Icons}/Calendar.jsx | 2 +- .../examples/{Icon => Icons}/CalendarAdd.jsx | 2 +- .../examples/{Icon => Icons}/Camera.jsx | 2 +- .../examples/{Icon => Icons}/Canva.jsx | 2 +- .../examples/{Icon => Icons}/Card.jsx | 2 +- .../examples/{Icon => Icons}/CaretDown.jsx | 2 +- .../examples/{Icon => Icons}/CaretLeft.jsx | 2 +- .../examples/{Icon => Icons}/CaretRight.jsx | 2 +- .../examples/{Icon => Icons}/CaretUp.jsx | 2 +- .../examples/{Icon => Icons}/Carousel.jsx | 2 +- .../examples/{Icon => Icons}/Channels.jsx | 2 +- .../examples/{Icon => Icons}/ChartLine.jsx | 2 +- .../examples/{Icon => Icons}/Checkmark.jsx | 2 +- .../examples/{Icon => Icons}/ChevronDown.jsx | 2 +- .../examples/{Icon => Icons}/ChevronUp.jsx | 2 +- .../examples/{Icon => Icons}/Clock.jsx | 2 +- .../examples/{Icon => Icons}/Clubhouse.jsx | 2 +- .../examples/{Icon => Icons}/Compare.jsx | 2 +- .../examples/{Icon => Icons}/Copy.jsx | 2 +- .../examples/{Icon => Icons}/Coupon.jsx | 2 +- .../examples/{Icon => Icons}/Cross.jsx | 2 +- .../examples/{Icon => Icons}/Day.jsx | 2 +- .../examples/{Icon => Icons}/Direct.jsx | 2 +- .../examples/{Icon => Icons}/Discord.jsx | 2 +- .../examples/{Icon => Icons}/Dollar.jsx | 2 +- .../examples/{Icon => Icons}/Drafts.jsx | 2 +- .../{Icon => Icons}/DragIndicator.jsx | 2 +- .../examples/{Icon => Icons}/Dribbble.jsx | 2 +- .../examples/{Icon => Icons}/Dropbox.jsx | 2 +- .../examples/{Icon => Icons}/Email.jsx | 2 +- .../examples/{Icon => Icons}/Emoji.jsx | 2 +- .../examples/{Icon => Icons}/Facebook.jsx | 2 +- .../examples/{Icon => Icons}/Flag.jsx | 2 +- .../examples/{Icon => Icons}/Flash.jsx | 2 +- .../examples/{Icon => Icons}/Folder.jsx | 2 +- .../examples/{Icon => Icons}/Folders.jsx | 2 +- .../examples/{Icon => Icons}/Frequency.jsx | 2 +- .../examples/{Icon => Icons}/Gbp.jsx | 2 +- .../examples/{Icon => Icons}/Gear.jsx | 2 +- .../examples/{Icon => Icons}/Giphy.jsx | 2 +- .../examples/{Icon => Icons}/Github.jsx | 2 +- .../examples/{Icon => Icons}/Giveaway.jsx | 2 +- .../examples/{Icon => Icons}/Gmb.jsx | 2 +- .../examples/{Icon => Icons}/Google.jsx | 2 +- .../examples/{Icon => Icons}/GoogleDrive.jsx | 2 +- .../examples/{Icon => Icons}/GooglePhotos.jsx | 2 +- .../examples/{Icon => Icons}/GooglePlus.jsx | 2 +- .../examples/{Icon => Icons}/Hamburger.jsx | 2 +- .../examples/{Icon => Icons}/Hashtag.jsx | 2 +- .../examples/{Icon => Icons}/Heading.jsx | 2 +- .../examples/{Icon => Icons}/Hide.jsx | 2 +- .../examples/{Icon => Icons}/Home.jsx | 2 +- .../examples/{Icon => Icons}/Hotkeys.jsx | 2 +- .../examples/{Icon => Icons}/Image.jsx | 2 +- .../examples/{Icon => Icons}/Import.jsx | 2 +- .../examples/{Icon => Icons}/Inbox.jsx | 2 +- .../examples/{Icon => Icons}/Info.jsx | 2 +- .../examples/{Icon => Icons}/Instagram.jsx | 2 +- .../{Icon => Icons}/InstagramComment.jsx | 2 +- .../examples/{Icon => Icons}/InstagramDm.jsx | 2 +- .../{Icon => Icons}/InstagramGrid.jsx | 2 +- .../{Icon => Icons}/InstagramLike.jsx | 2 +- .../examples/{Icon => Icons}/Layout.jsx | 2 +- .../examples/{Icon => Icons}/Link.jsx | 2 +- .../examples/{Icon => Icons}/LinkedIn.jsx | 2 +- .../examples/{Icon => Icons}/List.jsx | 2 +- .../examples/{Icon => Icons}/Load.jsx | 2 +- .../examples/{Icon => Icons}/Location.jsx | 2 +- .../examples/{Icon => Icons}/Locked.jsx | 2 +- .../examples/{Icon => Icons}/Mail.jsx | 2 +- .../examples/{Icon => Icons}/Medium.jsx | 2 +- .../examples/{Icon => Icons}/Message.jsx | 2 +- .../examples/{Icon => Icons}/Messenger.jsx | 2 +- .../examples/{Icon => Icons}/More.jsx | 2 +- .../examples/{Icon => Icons}/Movie.jsx | 2 +- .../examples/{Icon => Icons}/Negative.jsx | 2 +- .../examples/{Icon => Icons}/Onedrive.jsx | 2 +- .../examples/{Icon => Icons}/OpenNew.jsx | 2 +- .../examples/{Icon => Icons}/Order.jsx | 2 +- .../examples/{Icon => Icons}/Organic.jsx | 2 +- .../examples/{Icon => Icons}/Patreon.jsx | 2 +- .../examples/{Icon => Icons}/Pause.jsx | 2 +- .../examples/{Icon => Icons}/Paypal.jsx | 2 +- .../examples/{Icon => Icons}/Pencil.jsx | 2 +- .../examples/{Icon => Icons}/People.jsx | 2 +- .../{Icon => Icons}/PercentageDown.jsx | 2 +- .../examples/{Icon => Icons}/PercentageUp.jsx | 2 +- .../examples/{Icon => Icons}/Person.jsx | 2 +- .../examples/{Icon => Icons}/Phone.jsx | 2 +- .../examples/{Icon => Icons}/Pin.jsx | 2 +- .../examples/{Icon => Icons}/Pinned.jsx | 2 +- .../examples/{Icon => Icons}/Pinterest.jsx | 2 +- .../examples/{Icon => Icons}/Placeholder.jsx | 2 +- .../examples/{Icon => Icons}/Plus.jsx | 2 +- .../examples/{Icon => Icons}/Post.jsx | 2 +- .../examples/{Icon => Icons}/Promoted.jsx | 2 +- .../examples/{Icon => Icons}/Publish.jsx | 2 +- .../examples/{Icon => Icons}/QrCode.jsx | 2 +- .../examples/{Icon => Icons}/Question.jsx | 2 +- .../examples/{Icon => Icons}/Refresh.jsx | 2 +- .../examples/{Icon => Icons}/Reply.jsx | 2 +- .../examples/{Icon => Icons}/Return.jsx | 2 +- .../examples/{Icon => Icons}/Save.jsx | 2 +- .../examples/{Icon => Icons}/Search.jsx | 2 +- .../examples/{Icon => Icons}/Shopify.jsx | 2 +- .../examples/{Icon => Icons}/Sidebar.jsx | 2 +- .../{Icon => Icons}/SizeExtraLarge.jsx | 2 +- .../examples/{Icon => Icons}/SizeLarge.jsx | 2 +- .../examples/{Icon => Icons}/SizeMedium.jsx | 2 +- .../examples/{Icon => Icons}/SizeSmall.jsx | 2 +- .../examples/{Icon => Icons}/Sms.jsx | 2 +- .../examples/{Icon => Icons}/Snapchat.jsx | 2 +- .../examples/{Icon => Icons}/SocialIcons.jsx | 2 +- .../examples/{Icon => Icons}/Soundcloud.jsx | 2 +- .../examples/{Icon => Icons}/Spam.jsx | 2 +- .../examples/{Icon => Icons}/Sparkles.jsx | 2 +- .../examples/{Icon => Icons}/Spotify.jsx | 2 +- .../examples/{Icon => Icons}/Star.jsx | 2 +- .../examples/{Icon => Icons}/StartPage.jsx | 2 +- .../examples/{Icon => Icons}/Stats.jsx | 2 +- .../examples/{Icon => Icons}/Subheading.jsx | 2 +- .../examples/{Icon => Icons}/Substack.jsx | 2 +- .../examples/{Icon => Icons}/Subtract.jsx | 2 +- .../examples/{Icon => Icons}/Swap.jsx | 2 +- .../examples/{Icon => Icons}/Tag.jsx | 2 +- .../examples/{Icon => Icons}/Telegram.jsx | 2 +- .../examples/{Icon => Icons}/Tiktok.jsx | 2 +- .../examples/{Icon => Icons}/Title.jsx | 2 +- .../examples/{Icon => Icons}/Trash.jsx | 2 +- .../examples/{Icon => Icons}/Twitch.jsx | 2 +- .../examples/{Icon => Icons}/Twitter.jsx | 2 +- .../examples/{Icon => Icons}/Unknown.jsx | 2 +- .../examples/{Icon => Icons}/Unlocked.jsx | 2 +- .../examples/{Icon => Icons}/Unsplash.jsx | 2 +- .../examples/{Icon => Icons}/Video.jsx | 2 +- .../examples/{Icon => Icons}/View.jsx | 2 +- .../examples/{Icon => Icons}/Warning.jsx | 2 +- .../examples/{Icon => Icons}/Website.jsx | 2 +- .../examples/{Icon => Icons}/Whatsapp.jsx | 2 +- .../examples/{Icon => Icons}/Youtube.jsx | 2 +- .../examples/Input/option/WithIcon.jsx | 2 +- .../Interactive/IconPosition.jsx | 4 +- .../SegmentedControl/Size/SizeLarge.jsx | 5 +- .../SegmentedControl/Size/SizeNormal.jsx | 5 +- .../SegmentedControl/Size/SizeSmall.jsx | 5 +- .../State/StateCustomDefault.jsx | 4 +- .../State/StateCustomTooltip.jsx | 4 +- .../State/StateOptionDisabled.jsx | 4 +- .../SegmentedControl/Type/TypeIconOnly.jsx | 4 +- .../SegmentedControl/Type/TypeTextAndIcon.jsx | 4 +- .../SegmentedControl/Type/TypeTextOnly.jsx | 4 +- .../examples/Select/SelectIconOnly.jsx | 2 +- .../examples/Select/SelectWithIcon.jsx | 2 +- .../examples/Select/SelectWithInputSearch.jsx | 2 +- .../Select/SelectWithMenuAndCustomItem.jsx | 5 +- .../examples/Select/SelectWithSearch.jsx | 2 +- .../SidebarListItem/SidebarListItem.jsx | 2 +- .../SidebarListItemSelected.jsx | 2 +- .../SidebarListItemWithIcon.jsx | 2 +- src/documentation/examples/Tag/IconTag.jsx | 2 +- src/documentation/markdown/UI.md | 2 +- 363 files changed, 455 insertions(+), 571 deletions(-) delete mode 100644 src/components/Icon/index.js delete mode 100644 src/components/Icon/utils/createIconComponent.js rename src/components/{Icon => }/Icons/Add.jsx (85%) rename src/components/{Icon => }/Icons/AddMedia.jsx (94%) rename src/components/{Icon => }/Icons/Analyze.jsx (90%) rename src/components/{Icon => }/Icons/Appearance.jsx (94%) rename src/components/{Icon => }/Icons/AppleMusic.jsx (92%) rename src/components/{Icon => }/Icons/ArrowDown.jsx (87%) rename src/components/{Icon => }/Icons/ArrowLeft.jsx (87%) rename src/components/{Icon => }/Icons/ArrowRight.jsx (88%) rename src/components/{Icon => }/Icons/ArrowUp.jsx (87%) rename src/components/{Icon => }/Icons/Attach.jsx (90%) rename src/components/{Icon => }/Icons/Audience.jsx (93%) rename src/components/{Icon => }/Icons/Bandcamp.jsx (87%) rename src/components/{Icon => }/Icons/Behance.jsx (96%) rename src/components/{Icon => }/Icons/Bell.jsx (89%) rename src/components/{Icon => }/Icons/Buffer.jsx (89%) rename src/components/{Icon => }/Icons/Building.jsx (91%) rename src/components/{Icon => }/Icons/ButtonLink.jsx (89%) rename src/components/{Icon => }/Icons/Calendar.jsx (89%) rename src/components/{Icon => }/Icons/CalendarAdd.jsx (91%) rename src/components/{Icon => }/Icons/Camera.jsx (89%) rename src/components/{Icon => }/Icons/Canva.jsx (93%) rename src/components/{Icon => }/Icons/Card.jsx (90%) rename src/components/{Icon => }/Icons/CaretDown.jsx (88%) rename src/components/{Icon => }/Icons/CaretLeft.jsx (88%) rename src/components/{Icon => }/Icons/CaretRight.jsx (89%) rename src/components/{Icon => }/Icons/CaretUp.jsx (88%) rename src/components/{Icon => }/Icons/Carousel.jsx (89%) rename src/components/{Icon => }/Icons/Channels.jsx (90%) rename src/components/{Icon => }/Icons/ChartLine.jsx (89%) rename src/components/{Icon => }/Icons/Checkmark.jsx (87%) rename src/components/{Icon => }/Icons/ChevronDown.jsx (88%) rename src/components/{Icon => }/Icons/ChevronUp.jsx (88%) rename src/components/{Icon => }/Icons/Clock.jsx (90%) rename src/components/{Icon => }/Icons/Clubhouse.jsx (97%) rename src/components/{Icon => }/Icons/Compare.jsx (87%) rename src/components/{Icon => }/Icons/Copy.jsx (91%) rename src/components/{Icon => }/Icons/Coupon.jsx (92%) rename src/components/{Icon => }/Icons/Cross.jsx (88%) rename src/components/{Icon => }/Icons/Day.jsx (93%) rename src/components/{Icon => }/Icons/Direct.jsx (88%) rename src/components/{Icon => }/Icons/Discord.jsx (95%) rename src/components/{Icon => }/Icons/Dollar.jsx (94%) rename src/components/{Icon => }/Icons/Drafts.jsx (93%) rename src/components/{Icon => }/Icons/DragIndicator.jsx (91%) rename src/components/{Icon => }/Icons/Dribbble.jsx (95%) rename src/components/{Icon => }/Icons/Dropbox.jsx (89%) rename src/components/{Icon => }/Icons/Email.jsx (97%) rename src/components/{Icon => }/Icons/Emoji.jsx (90%) rename src/components/{Icon => }/Icons/Facebook.jsx (90%) rename src/components/{Icon => }/Icons/Flag.jsx (85%) rename src/components/{Icon => }/Icons/Flash.jsx (89%) rename src/components/{Icon => }/Icons/Folder.jsx (88%) rename src/components/{Icon => }/Icons/Folders.jsx (89%) rename src/components/{Icon => }/Icons/Frequency.jsx (89%) rename src/components/{Icon => }/Icons/Gbp.jsx (95%) rename src/components/{Icon => }/Icons/Gear.jsx (92%) rename src/components/{Icon => }/Icons/Giphy.jsx (88%) rename src/components/{Icon => }/Icons/Github.jsx (94%) rename src/components/{Icon => }/Icons/Giveaway.jsx (95%) rename src/components/{Icon => }/Icons/Gmb.jsx (95%) rename src/components/{Icon => }/Icons/Google.jsx (92%) rename src/components/{Icon => }/Icons/GoogleDrive.jsx (89%) rename src/components/{Icon => }/Icons/GooglePhotos.jsx (87%) rename src/components/{Icon => }/Icons/GooglePlus.jsx (91%) rename src/components/{Icon => }/Icons/Hamburger.jsx (88%) rename src/components/{Icon => }/Icons/Hashtag.jsx (91%) rename src/components/{Icon => }/Icons/Heading.jsx (85%) rename src/components/{Icon => }/Icons/Hide.jsx (93%) rename src/components/{Icon => }/Icons/Home.jsx (89%) rename src/components/{Icon => }/Icons/Hotkeys.jsx (90%) rename src/components/{Icon/Icon.jsx => Icons/Icons.jsx} (87%) rename src/components/{Icon => }/Icons/Image.jsx (91%) rename src/components/{Icon => }/Icons/Import.jsx (92%) rename src/components/{Icon => }/Icons/Inbox.jsx (90%) rename src/components/{Icon => }/Icons/Info.jsx (94%) rename src/components/{Icon => }/Icons/Instagram.jsx (95%) rename src/components/{Icon => }/Icons/InstagramComment.jsx (86%) rename src/components/{Icon => }/Icons/InstagramDm.jsx (90%) rename src/components/{Icon => }/Icons/InstagramGrid.jsx (92%) rename src/components/{Icon => }/Icons/InstagramLike.jsx (91%) rename src/components/{Icon => }/Icons/Layout.jsx (90%) rename src/components/{Icon => }/Icons/Link.jsx (93%) rename src/components/{Icon => }/Icons/LinkedIn.jsx (92%) rename src/components/{Icon => }/Icons/List.jsx (88%) rename src/components/{Icon => }/Icons/Load.jsx (93%) rename src/components/{Icon => }/Icons/Location.jsx (89%) rename src/components/{Icon => }/Icons/Locked.jsx (89%) rename src/components/{Icon => }/Icons/Mail.jsx (90%) rename src/components/{Icon => }/Icons/Medium.jsx (94%) rename src/components/{Icon => }/Icons/Message.jsx (87%) rename src/components/{Icon => }/Icons/Messenger.jsx (90%) rename src/components/{Icon => }/Icons/More.jsx (86%) rename src/components/{Icon => }/Icons/Movie.jsx (89%) rename src/components/{Icon => }/Icons/Negative.jsx (86%) rename src/components/{Icon => }/Icons/Onedrive.jsx (87%) rename src/components/{Icon => }/Icons/OpenNew.jsx (89%) rename src/components/{Icon => }/Icons/Order.jsx (93%) rename src/components/{Icon => }/Icons/Organic.jsx (90%) rename src/components/{Icon => }/Icons/Patreon.jsx (85%) rename src/components/{Icon => }/Icons/Pause.jsx (88%) rename src/components/{Icon => }/Icons/Paypal.jsx (93%) rename src/components/{Icon => }/Icons/Pencil.jsx (88%) rename src/components/{Icon => }/Icons/People.jsx (92%) rename src/components/{Icon => }/Icons/PercentageDown.jsx (89%) rename src/components/{Icon => }/Icons/PercentageUp.jsx (88%) rename src/components/{Icon => }/Icons/Person.jsx (90%) rename src/components/{Icon => }/Icons/Phone.jsx (89%) rename src/components/{Icon => }/Icons/Pin.jsx (90%) rename src/components/{Icon => }/Icons/Pinned.jsx (91%) rename src/components/{Icon => }/Icons/Pinterest.jsx (94%) rename src/components/{Icon => }/Icons/Placeholder.jsx (86%) rename src/components/{Icon => }/Icons/Plus.jsx (88%) rename src/components/{Icon => }/Icons/Post.jsx (91%) rename src/components/{Icon => }/Icons/Promoted.jsx (96%) rename src/components/{Icon => }/Icons/Publish.jsx (87%) rename src/components/{Icon => }/Icons/QrCode.jsx (96%) rename src/components/{Icon => }/Icons/Question.jsx (93%) rename src/components/{Icon => }/Icons/Refresh.jsx (89%) rename src/components/{Icon => }/Icons/Reply.jsx (88%) rename src/components/{Icon => }/Icons/Return.jsx (88%) rename src/components/{Icon => }/Icons/Save.jsx (90%) rename src/components/{Icon => }/Icons/Search.jsx (89%) rename src/components/{Icon => }/Icons/Shopify.jsx (92%) rename src/components/{Icon => }/Icons/Sidebar.jsx (87%) rename src/components/{Icon => }/Icons/Sms.jsx (92%) rename src/components/{Icon => }/Icons/Snapchat.jsx (95%) rename src/components/{Icon => }/Icons/SocialIcons.jsx (93%) rename src/components/{Icon => }/Icons/Soundcloud.jsx (92%) rename src/components/{Icon => }/Icons/Spam.jsx (92%) rename src/components/{Icon => }/Icons/Sparkles.jsx (90%) rename src/components/{Icon => }/Icons/Spotify.jsx (92%) rename src/components/{Icon => }/Icons/Star.jsx (89%) rename src/components/{Icon => }/Icons/StartPage.jsx (90%) rename src/components/{Icon => }/Icons/Stats.jsx (89%) rename src/components/{Icon => }/Icons/Subheading.jsx (95%) rename src/components/{Icon => }/Icons/Substack.jsx (86%) rename src/components/{Icon => }/Icons/Subtract.jsx (85%) rename src/components/{Icon => }/Icons/Swap.jsx (90%) rename src/components/{Icon => }/Icons/Tag.jsx (89%) rename src/components/{Icon => }/Icons/Telegram.jsx (93%) rename src/components/{Icon => }/Icons/Tiktok.jsx (91%) rename src/components/{Icon => }/Icons/Title.jsx (92%) rename src/components/{Icon => }/Icons/Trash.jsx (88%) rename src/components/{Icon => }/Icons/Twitch.jsx (89%) rename src/components/{Icon => }/Icons/Twitter.jsx (93%) rename src/components/{Icon => }/Icons/Unknown.jsx (93%) rename src/components/{Icon => }/Icons/Unlocked.jsx (89%) rename src/components/{Icon => }/Icons/Unsplash.jsx (86%) rename src/components/{Icon => }/Icons/Video.jsx (90%) rename src/components/{Icon => }/Icons/View.jsx (89%) rename src/components/{Icon => }/Icons/Warning.jsx (88%) rename src/components/{Icon => }/Icons/Website.jsx (95%) rename src/components/{Icon => }/Icons/Whatsapp.jsx (94%) rename src/components/{Icon => }/Icons/Youtube.jsx (93%) rename src/components/{Icon => Icons}/style.js (100%) create mode 100644 src/components/Icons/utils/createIconComponent.js rename src/documentation/examples/{Icon => Icons}/Add.jsx (71%) rename src/documentation/examples/{Icon => Icons}/AddMedia.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Analyze.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Appearance.jsx (69%) rename src/documentation/examples/{Icon => Icons}/AppleMusic.jsx (69%) rename src/documentation/examples/{Icon => Icons}/ArrowDown.jsx (69%) rename src/documentation/examples/{Icon => Icons}/ArrowLeft.jsx (69%) rename src/documentation/examples/{Icon => Icons}/ArrowRight.jsx (69%) rename src/documentation/examples/{Icon => Icons}/ArrowUp.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Attach.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Audience.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Bandcamp.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Behance.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Bell.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Buffer.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Building.jsx (70%) rename src/documentation/examples/{Icon => Icons}/ButtonLink.jsx (69%) rename src/documentation/examples/{Icon => Icons}/Calendar.jsx (70%) rename src/documentation/examples/{Icon => Icons}/CalendarAdd.jsx (69%) rename src/documentation/examples/{Icon => Icons}/Camera.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Canva.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Card.jsx (71%) rename src/documentation/examples/{Icon => Icons}/CaretDown.jsx (69%) rename src/documentation/examples/{Icon => Icons}/CaretLeft.jsx (69%) rename src/documentation/examples/{Icon => Icons}/CaretRight.jsx (69%) rename src/documentation/examples/{Icon => Icons}/CaretUp.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Carousel.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Channels.jsx (70%) rename src/documentation/examples/{Icon => Icons}/ChartLine.jsx (69%) rename src/documentation/examples/{Icon => Icons}/Checkmark.jsx (69%) rename src/documentation/examples/{Icon => Icons}/ChevronDown.jsx (69%) rename src/documentation/examples/{Icon => Icons}/ChevronUp.jsx (69%) rename src/documentation/examples/{Icon => Icons}/Clock.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Clubhouse.jsx (69%) rename src/documentation/examples/{Icon => Icons}/Compare.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Copy.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Coupon.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Cross.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Day.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Direct.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Discord.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Dollar.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Drafts.jsx (70%) rename src/documentation/examples/{Icon => Icons}/DragIndicator.jsx (68%) rename src/documentation/examples/{Icon => Icons}/Dribbble.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Dropbox.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Email.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Emoji.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Facebook.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Flag.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Flash.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Folder.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Folders.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Frequency.jsx (69%) rename src/documentation/examples/{Icon => Icons}/Gbp.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Gear.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Giphy.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Github.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Giveaway.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Gmb.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Google.jsx (70%) rename src/documentation/examples/{Icon => Icons}/GoogleDrive.jsx (69%) rename src/documentation/examples/{Icon => Icons}/GooglePhotos.jsx (69%) rename src/documentation/examples/{Icon => Icons}/GooglePlus.jsx (69%) rename src/documentation/examples/{Icon => Icons}/Hamburger.jsx (69%) rename src/documentation/examples/{Icon => Icons}/Hashtag.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Heading.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Hide.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Home.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Hotkeys.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Image.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Import.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Inbox.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Info.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Instagram.jsx (69%) rename src/documentation/examples/{Icon => Icons}/InstagramComment.jsx (68%) rename src/documentation/examples/{Icon => Icons}/InstagramDm.jsx (69%) rename src/documentation/examples/{Icon => Icons}/InstagramGrid.jsx (68%) rename src/documentation/examples/{Icon => Icons}/InstagramLike.jsx (68%) rename src/documentation/examples/{Icon => Icons}/Layout.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Link.jsx (71%) rename src/documentation/examples/{Icon => Icons}/LinkedIn.jsx (70%) rename src/documentation/examples/{Icon => Icons}/List.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Load.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Location.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Locked.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Mail.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Medium.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Message.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Messenger.jsx (69%) rename src/documentation/examples/{Icon => Icons}/More.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Movie.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Negative.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Onedrive.jsx (70%) rename src/documentation/examples/{Icon => Icons}/OpenNew.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Order.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Organic.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Patreon.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Pause.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Paypal.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Pencil.jsx (70%) rename src/documentation/examples/{Icon => Icons}/People.jsx (70%) rename src/documentation/examples/{Icon => Icons}/PercentageDown.jsx (68%) rename src/documentation/examples/{Icon => Icons}/PercentageUp.jsx (69%) rename src/documentation/examples/{Icon => Icons}/Person.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Phone.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Pin.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Pinned.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Pinterest.jsx (69%) rename src/documentation/examples/{Icon => Icons}/Placeholder.jsx (69%) rename src/documentation/examples/{Icon => Icons}/Plus.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Post.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Promoted.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Publish.jsx (70%) rename src/documentation/examples/{Icon => Icons}/QrCode.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Question.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Refresh.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Reply.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Return.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Save.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Search.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Shopify.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Sidebar.jsx (70%) rename src/documentation/examples/{Icon => Icons}/SizeExtraLarge.jsx (73%) rename src/documentation/examples/{Icon => Icons}/SizeLarge.jsx (71%) rename src/documentation/examples/{Icon => Icons}/SizeMedium.jsx (71%) rename src/documentation/examples/{Icon => Icons}/SizeSmall.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Sms.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Snapchat.jsx (70%) rename src/documentation/examples/{Icon => Icons}/SocialIcons.jsx (69%) rename src/documentation/examples/{Icon => Icons}/Soundcloud.jsx (69%) rename src/documentation/examples/{Icon => Icons}/Spam.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Sparkles.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Spotify.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Star.jsx (71%) rename src/documentation/examples/{Icon => Icons}/StartPage.jsx (69%) rename src/documentation/examples/{Icon => Icons}/Stats.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Subheading.jsx (69%) rename src/documentation/examples/{Icon => Icons}/Substack.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Subtract.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Swap.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Tag.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Telegram.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Tiktok.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Title.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Trash.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Twitch.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Twitter.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Unknown.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Unlocked.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Unsplash.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Video.jsx (70%) rename src/documentation/examples/{Icon => Icons}/View.jsx (71%) rename src/documentation/examples/{Icon => Icons}/Warning.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Website.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Whatsapp.jsx (70%) rename src/documentation/examples/{Icon => Icons}/Youtube.jsx (70%) diff --git a/scripts/generateIconComponents.js b/scripts/generateIconComponents.js index 77c83168..03f479da 100644 --- a/scripts/generateIconComponents.js +++ b/scripts/generateIconComponents.js @@ -13,15 +13,15 @@ const fetch = require('node-fetch'); const { promisify } = require('util'); const SVGO = require('svgo'); const svg2jsx = require('@balajmarius/svg2jsx'); -const prettier = require("prettier"); +const prettier = require('prettier'); const writeFileAsync = promisify(fs.writeFile); const iconCachePath = path.join(__dirname, '../config/cachedIconData.json'); -const pathToIconComponents = path.join(__dirname, '../src/components/Icon'); +const pathToIconComponents = path.join(__dirname, '../src/components/Icons'); const pathToIconExamples = path.join( __dirname, - '../src/documentation/examples/Icon' + '../src/documentation/examples/Icons' ); const figmaIconFileId = 'D9T6BuWxbTVKhlDU8faZSQ9G'; @@ -76,7 +76,7 @@ async function getFigmaFile(fileId) { */ function getFramesToChoose(figmaFile) { const frames = figmaFile.document.children[0].children; - const framesFormatted = frames.map(f => ({ + const framesFormatted = frames.map((f) => ({ name: `${f.name} (${f.children.length} children)`, value: f.id, short: f.name, @@ -92,15 +92,15 @@ function getFramesToChoose(figmaFile) { */ function getIconsFromFrame(figmaFile, frameId) { const frame = figmaFile.document.children[0].children.find( - f => f.id === frameId + (f) => f.id === frameId ); if (frame) { return ( frame.children // Filter out any ignored icons - .filter(icon => !iconsToIgnore.includes(icon.name)) + .filter((icon) => !iconsToIgnore.includes(icon.name)) // Simplify the data structure, just grab what we need - .map(icon => ({ + .map((icon) => ({ id: icon.id, name: icon.name, })) @@ -132,14 +132,14 @@ function downloadSvgs(icons) { eachLimit( icons, 8, // max parallel downloads - async icon => { + async (icon) => { if (icon.svgUrl) { const res = await fetch(icon.svgUrl); const svgBody = await res.text(); newIcons[icon.id].svgBody = svgBody; } }, - err => { + (err) => { if (err) { reject(err); } @@ -169,7 +169,7 @@ ${componentName}Icon.displayName = '${componentName}Icon'; export default ${componentName}Icon; `; -const getExampleSource = componentName => ` +const getExampleSource = (componentName) => ` import React from 'react'; import ${componentName}Icon from '@bufferapp/ui/Icon/Icons/${componentName}'; @@ -187,12 +187,12 @@ export default function ${componentName}IconExample() { * * @param {String} figmaObjectName */ -const getComponentName = figmaObjectName => { +const getComponentName = (figmaObjectName) => { const formatted = figmaObjectName .replace(/ico(n)?-/, '') - .replace(/( \w)/g, m => m[1].toUpperCase()) + .replace(/( \w)/g, (m) => m[1].toUpperCase()) .replace(/ /g, '') - .replace(/(-\w)/g, m => m[1].toUpperCase()); + .replace(/(-\w)/g, (m) => m[1].toUpperCase()); // Capitalize first char return formatted.charAt(0).toUpperCase() + formatted.slice(1); }; @@ -204,7 +204,7 @@ const getComponentName = figmaObjectName => { * @param {String} source * @returns {String} svg */ -const getSVGContent = source => +const getSVGContent = (source) => source // grab everything after the first tag ends (assumed to be ) .slice(source.indexOf('>') + 1) @@ -220,16 +220,19 @@ const getSVGContent = source => * @param {Object} icons */ function generateReactIconComponents(icons, spinner) { - return new Promise(resolve => { + return new Promise((resolve) => { const iconsCreated = []; eachLimit( Object.values(icons), 10, - async icon => { + async (icon) => { const componentName = getComponentName(icon.name); const svg = getSVGContent(icon.svgBodyOptimized); const reactSource = getReactSource({ componentName, svg }); - const prettyReactSource = prettier.format(reactSource, { parser: 'babel', singleQuote: true }); + const prettyReactSource = prettier.format(reactSource, { + parser: 'babel', + singleQuote: true, + }); const exampleSource = getExampleSource(componentName); const componentFilePath = path.join( @@ -242,7 +245,6 @@ function generateReactIconComponents(icons, spinner) { `${componentName}.jsx` ); - await writeFileAsync(componentFilePath, prettyReactSource); await writeFileAsync(exampleFilePath, exampleSource); @@ -250,7 +252,7 @@ function generateReactIconComponents(icons, spinner) { iconsCreated.push(componentName); }, - err => { + (err) => { if (err) { console.error('Error writing component file!', err); } @@ -288,11 +290,11 @@ function optimizeSvgs(icons) { plugins: [{ removeAttrs: { attrs: '(stroke|fill)' } }], }); const newIcons = Object.assign({}, icons); - return new Promise(resolve => { + return new Promise((resolve) => { eachLimit( Object.values(icons), 10, - async icon => { + async (icon) => { const removedClipPath = removeClipPath(icon.svgBody); let result; try { @@ -309,7 +311,7 @@ function optimizeSvgs(icons) { const transformed = await svg2jsx(result.data); newIcons[icon.id].svgBodyOptimized = transformed; }, - err => { + (err) => { if (err) { console.error('Error optimizing SVG! ', err); } @@ -322,7 +324,7 @@ function optimizeSvgs(icons) { function generateReactIconIndex(icons) { const sortedIcons = [...icons].sort(); const indexContent = sortedIcons - .map(name => `export ${name} from './Icons/${name}';`) + .map((name) => `export ${name} from './Icons/${name}';`) .join('\n'); const pathToIndex = path.join(pathToIconComponents, 'index.js'); fs.writeFileSync(pathToIndex, `${indexContent}\n`); diff --git a/src/components/Avatar/Avatar.jsx b/src/components/Avatar/Avatar.jsx index 0c5f010d..ad8c61f3 100644 --- a/src/components/Avatar/Avatar.jsx +++ b/src/components/Avatar/Avatar.jsx @@ -16,17 +16,16 @@ import { yellow, startpage, } from '../style/colors'; -import { - Facebook, - Gbp, - Instagram, - LinkedIn, - Pinterest, - Shopify, - Tiktok, - Twitter, - StartPage -} from '../Icon'; + +import Facebook from "../Icons/Facebook" +import Gbp from "../Icons/Gbp" +import Instagram from "../Icons/Instagram" +import LinkedIn from "../Icons/LinkedIn" +import Pinterest from "../Icons/Pinterest" +import Shopify from "../Icons/Shopify" +import Tiktok from "../Icons/Tiktok" +import Twitter from "../Icons/Twitter" +import StartPage from "../Icons/StartPage" const Wrapper = styled.div` ${props => Styles.wrapper[props.size]} diff --git a/src/components/Banner/Banner.jsx b/src/components/Banner/Banner.jsx index 1aff7f61..5ab4f13f 100644 --- a/src/components/Banner/Banner.jsx +++ b/src/components/Banner/Banner.jsx @@ -2,7 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import Button from '../Button'; import Text from '../Text'; -import CrossIcon from '../Icon/Icons/Cross'; +import CrossIcon from '../Icons/Cross'; import { BannerStyled, diff --git a/src/components/Button/Button.jsx b/src/components/Button/Button.jsx index 8d5b03da..7ca042d7 100644 --- a/src/components/Button/Button.jsx +++ b/src/components/Button/Button.jsx @@ -2,7 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import * as Styles from './style'; -import ChevronDown from '../Icon/Icons/ChevronDown'; +import ChevronDown from '../Icons/ChevronDown'; import Select from '../Select/Select'; /* diff --git a/src/components/Carousel/Carousel.jsx b/src/components/Carousel/Carousel.jsx index 1ca6ae2e..7ce3e480 100644 --- a/src/components/Carousel/Carousel.jsx +++ b/src/components/Carousel/Carousel.jsx @@ -2,8 +2,8 @@ import React from 'react'; import PropTypes from 'prop-types'; import styled, { css } from 'styled-components'; import Button from '../Button/index'; -import ArrowRight from '../Icon/Icons/ArrowRight'; -import ArrowLeft from '../Icon/Icons/ArrowLeft'; +import ArrowRight from '../Icons/ArrowRight'; +import ArrowLeft from '../Icons/ArrowLeft'; import CarouselItems from './CarouselItems'; import { gray, white } from '../style/colors'; import { easeOutQuart } from '../style/animations'; diff --git a/src/components/DropdownMenu/ButtonItem/ButtonItem.jsx b/src/components/DropdownMenu/ButtonItem/ButtonItem.jsx index d9946f5e..05011a6d 100644 --- a/src/components/DropdownMenu/ButtonItem/ButtonItem.jsx +++ b/src/components/DropdownMenu/ButtonItem/ButtonItem.jsx @@ -1,7 +1,8 @@ import React from 'react'; import PropTypes from 'prop-types'; import { ButtonItemStyled, ButtonLabel } from '../style'; -import { Checkmark as CheckmarkIcon } from '../../Icon'; +// import Checkmark from "../../Icons/Checkmark"; +import CheckmarkIcon from "../../Icons/Checkmark"; import { green } from '../../style/colors'; import { keyCode } from '../keyCode'; diff --git a/src/components/Icon/index.js b/src/components/Icon/index.js deleted file mode 100644 index d8829152..00000000 --- a/src/components/Icon/index.js +++ /dev/null @@ -1,149 +0,0 @@ -export Add from './Icons/Add'; -export AddMedia from './Icons/AddMedia'; -export Analyze from './Icons/Analyze'; -export Appearance from './Icons/Appearance'; -export AppleMusic from './Icons/AppleMusic'; -export ArrowDown from './Icons/ArrowDown'; -export ArrowLeft from './Icons/ArrowLeft'; -export ArrowRight from './Icons/ArrowRight'; -export ArrowUp from './Icons/ArrowUp'; -export Attach from './Icons/Attach'; -export Audience from './Icons/Audience'; -export Bandcamp from './Icons/Bandcamp'; -export Behance from './Icons/Behance'; -export Bell from './Icons/Bell'; -export Buffer from './Icons/Buffer'; -export Building from './Icons/Building'; -export ButtonLink from './Icons/ButtonLink'; -export Calendar from './Icons/Calendar'; -export CalendarAdd from './Icons/CalendarAdd'; -export Camera from './Icons/Camera'; -export Canva from './Icons/Canva'; -export Card from './Icons/Card'; -export CaretDown from './Icons/CaretDown'; -export CaretLeft from './Icons/CaretLeft'; -export CaretRight from './Icons/CaretRight'; -export CaretUp from './Icons/CaretUp'; -export Carousel from './Icons/Carousel'; -export Channels from './Icons/Channels'; -export ChartLine from './Icons/ChartLine'; -export Checkmark from './Icons/Checkmark'; -export ChevronDown from './Icons/ChevronDown'; -export ChevronUp from './Icons/ChevronUp'; -export Clock from './Icons/Clock'; -export Clubhouse from './Icons/Clubhouse'; -export Compare from './Icons/Compare'; -export Copy from './Icons/Copy'; -export Coupon from './Icons/Coupon'; -export Cross from './Icons/Cross'; -export Day from './Icons/Day'; -export Direct from './Icons/Direct'; -export Discord from './Icons/Discord'; -export Dollar from './Icons/Dollar'; -export Drafts from './Icons/Drafts'; -export DragIndicator from './Icons/DragIndicator'; -export Dribbble from './Icons/Dribbble'; -export Dropbox from './Icons/Dropbox'; -export Email from './Icons/Email'; -export Emoji from './Icons/Emoji'; -export Facebook from './Icons/Facebook'; -export Flag from './Icons/Flag'; -export Flash from './Icons/Flash'; -export Folder from './Icons/Folder'; -export Folders from './Icons/Folders'; -export Frequency from './Icons/Frequency'; -export Gbp from './Icons/Gbp'; -export Gear from './Icons/Gear'; -export Giphy from './Icons/Giphy'; -export Github from './Icons/Github'; -export Giveaway from './Icons/Giveaway'; -export Google from './Icons/Google'; -export GoogleDrive from './Icons/GoogleDrive'; -export GooglePhotos from './Icons/GooglePhotos'; -export GooglePlus from './Icons/GooglePlus'; -export Hamburger from './Icons/Hamburger'; -export Hashtag from './Icons/Hashtag'; -export Heading from './Icons/Heading'; -export Hide from './Icons/Hide'; -export Home from './Icons/Home'; -export Hotkeys from './Icons/Hotkeys'; -export Image from './Icons/Image'; -export Inbox from './Icons/Inbox'; -export Info from './Icons/Info'; -export Instagram from './Icons/Instagram'; -export InstagramComment from './Icons/InstagramComment'; -export InstagramDm from './Icons/InstagramDm'; -export InstagramGrid from './Icons/InstagramGrid'; -export InstagramLike from './Icons/InstagramLike'; -export Layout from './Icons/Layout'; -export Link from './Icons/Link'; -export LinkedIn from './Icons/LinkedIn'; -export List from './Icons/List'; -export Load from './Icons/Load'; -export Location from './Icons/Location'; -export Locked from './Icons/Locked'; -export Mail from './Icons/Mail'; -export Medium from './Icons/Medium'; -export Message from './Icons/Message'; -export Messenger from './Icons/Messenger'; -export More from './Icons/More'; -export Movie from './Icons/Movie'; -export Negative from './Icons/Negative'; -export Onedrive from './Icons/Onedrive'; -export OpenNew from './Icons/OpenNew'; -export Order from './Icons/Order'; -export Organic from './Icons/Organic'; -export Patreon from './Icons/Patreon'; -export Pause from './Icons/Pause'; -export Paypal from './Icons/Paypal'; -export Pencil from './Icons/Pencil'; -export People from './Icons/People'; -export PercentageDown from './Icons/PercentageDown'; -export PercentageUp from './Icons/PercentageUp'; -export Person from './Icons/Person'; -export Pin from './Icons/Pin'; -export Pinned from './Icons/Pinned'; -export Pinterest from './Icons/Pinterest'; -export Placeholder from './Icons/Placeholder'; -export Plus from './Icons/Plus'; -export Post from './Icons/Post'; -export Promoted from './Icons/Promoted'; -export Publish from './Icons/Publish'; -export QrCode from './Icons/QrCode'; -export Question from './Icons/Question'; -export Refresh from './Icons/Refresh'; -export Reply from './Icons/Reply'; -export Return from './Icons/Return'; -export Save from './Icons/Save'; -export Search from './Icons/Search'; -export Shopify from './Icons/Shopify'; -export Sidebar from './Icons/Sidebar'; -export Sms from './Icons/Sms'; -export Snapchat from './Icons/Snapchat'; -export SocialIcons from './Icons/SocialIcons'; -export Soundcloud from './Icons/Soundcloud'; -export Spam from './Icons/Spam'; -export Sparkles from './Icons/Sparkles'; -export Spotify from './Icons/Spotify'; -export Star from './Icons/Star'; -export StartPage from './Icons/StartPage'; -export Stats from './Icons/Stats'; -export Subheading from './Icons/Subheading'; -export Substack from './Icons/Substack'; -export Subtract from './Icons/Subtract'; -export Swap from './Icons/Swap'; -export Tag from './Icons/Tag'; -export Telegram from './Icons/Telegram'; -export Tiktok from './Icons/Tiktok'; -export Trash from './Icons/Trash'; -export Twitch from './Icons/Twitch'; -export Twitter from './Icons/Twitter'; -export Unknown from './Icons/Unknown'; -export Unlocked from './Icons/Unlocked'; -export Unsplash from './Icons/Unsplash'; -export Video from './Icons/Video'; -export View from './Icons/View'; -export Warning from './Icons/Warning'; -export Website from './Icons/Website'; -export Whatsapp from './Icons/Whatsapp'; -export Youtube from './Icons/Youtube'; diff --git a/src/components/Icon/utils/createIconComponent.js b/src/components/Icon/utils/createIconComponent.js deleted file mode 100644 index 2adc6446..00000000 --- a/src/components/Icon/utils/createIconComponent.js +++ /dev/null @@ -1,13 +0,0 @@ -import { createElement } from 'react'; -import Icon from '../Icon'; - -const createIconComponent = ({ content }) => props => createElement( - Icon, - { - ...props, - viewBox: '0 0 16 16', - }, - content, -); - -export default createIconComponent; diff --git a/src/components/Icon/Icons/Add.jsx b/src/components/Icons/Add.jsx similarity index 85% rename from src/components/Icon/Icons/Add.jsx rename to src/components/Icons/Add.jsx index f000f624..4209914f 100644 --- a/src/components/Icon/Icons/Add.jsx +++ b/src/components/Icons/Add.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const AddIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/AddMedia.jsx b/src/components/Icons/AddMedia.jsx similarity index 94% rename from src/components/Icon/Icons/AddMedia.jsx rename to src/components/Icons/AddMedia.jsx index e0a168d2..93b7f0b3 100644 --- a/src/components/Icon/Icons/AddMedia.jsx +++ b/src/components/Icons/AddMedia.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const AddMediaIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Analyze.jsx b/src/components/Icons/Analyze.jsx similarity index 90% rename from src/components/Icon/Icons/Analyze.jsx rename to src/components/Icons/Analyze.jsx index 002c02c9..fdc9e99b 100644 --- a/src/components/Icon/Icons/Analyze.jsx +++ b/src/components/Icons/Analyze.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const AnalyzeIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Appearance.jsx b/src/components/Icons/Appearance.jsx similarity index 94% rename from src/components/Icon/Icons/Appearance.jsx rename to src/components/Icons/Appearance.jsx index 90087f8c..3ebda374 100644 --- a/src/components/Icon/Icons/Appearance.jsx +++ b/src/components/Icons/Appearance.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const AppearanceIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/AppleMusic.jsx b/src/components/Icons/AppleMusic.jsx similarity index 92% rename from src/components/Icon/Icons/AppleMusic.jsx rename to src/components/Icons/AppleMusic.jsx index 507de4bd..6c48b49c 100644 --- a/src/components/Icon/Icons/AppleMusic.jsx +++ b/src/components/Icons/AppleMusic.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const AppleMusicIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/ArrowDown.jsx b/src/components/Icons/ArrowDown.jsx similarity index 87% rename from src/components/Icon/Icons/ArrowDown.jsx rename to src/components/Icons/ArrowDown.jsx index a1a21637..ccd8e1f3 100644 --- a/src/components/Icon/Icons/ArrowDown.jsx +++ b/src/components/Icons/ArrowDown.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ArrowDownIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/ArrowLeft.jsx b/src/components/Icons/ArrowLeft.jsx similarity index 87% rename from src/components/Icon/Icons/ArrowLeft.jsx rename to src/components/Icons/ArrowLeft.jsx index a90a16e6..d08ac423 100644 --- a/src/components/Icon/Icons/ArrowLeft.jsx +++ b/src/components/Icons/ArrowLeft.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ArrowLeftIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/ArrowRight.jsx b/src/components/Icons/ArrowRight.jsx similarity index 88% rename from src/components/Icon/Icons/ArrowRight.jsx rename to src/components/Icons/ArrowRight.jsx index 6fbf6458..d47da0d2 100644 --- a/src/components/Icon/Icons/ArrowRight.jsx +++ b/src/components/Icons/ArrowRight.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ArrowRightIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/ArrowUp.jsx b/src/components/Icons/ArrowUp.jsx similarity index 87% rename from src/components/Icon/Icons/ArrowUp.jsx rename to src/components/Icons/ArrowUp.jsx index ecd207b6..fd74ab0b 100644 --- a/src/components/Icon/Icons/ArrowUp.jsx +++ b/src/components/Icons/ArrowUp.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ArrowUpIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Attach.jsx b/src/components/Icons/Attach.jsx similarity index 90% rename from src/components/Icon/Icons/Attach.jsx rename to src/components/Icons/Attach.jsx index e794e85e..b350b98c 100644 --- a/src/components/Icon/Icons/Attach.jsx +++ b/src/components/Icons/Attach.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const AttachIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Audience.jsx b/src/components/Icons/Audience.jsx similarity index 93% rename from src/components/Icon/Icons/Audience.jsx rename to src/components/Icons/Audience.jsx index 2d6fcc9f..b743f25b 100644 --- a/src/components/Icon/Icons/Audience.jsx +++ b/src/components/Icons/Audience.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const AudienceIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Bandcamp.jsx b/src/components/Icons/Bandcamp.jsx similarity index 87% rename from src/components/Icon/Icons/Bandcamp.jsx rename to src/components/Icons/Bandcamp.jsx index 032dd78e..ff8b649d 100644 --- a/src/components/Icon/Icons/Bandcamp.jsx +++ b/src/components/Icons/Bandcamp.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const BandcampIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Behance.jsx b/src/components/Icons/Behance.jsx similarity index 96% rename from src/components/Icon/Icons/Behance.jsx rename to src/components/Icons/Behance.jsx index afd47567..6c11e063 100644 --- a/src/components/Icon/Icons/Behance.jsx +++ b/src/components/Icons/Behance.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const BehanceIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Bell.jsx b/src/components/Icons/Bell.jsx similarity index 89% rename from src/components/Icon/Icons/Bell.jsx rename to src/components/Icons/Bell.jsx index c5c5e7a0..7c9df69e 100644 --- a/src/components/Icon/Icons/Bell.jsx +++ b/src/components/Icons/Bell.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const BellIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Buffer.jsx b/src/components/Icons/Buffer.jsx similarity index 89% rename from src/components/Icon/Icons/Buffer.jsx rename to src/components/Icons/Buffer.jsx index 9a3c63b8..3d6bcca6 100644 --- a/src/components/Icon/Icons/Buffer.jsx +++ b/src/components/Icons/Buffer.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const BufferIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Building.jsx b/src/components/Icons/Building.jsx similarity index 91% rename from src/components/Icon/Icons/Building.jsx rename to src/components/Icons/Building.jsx index 3a37d733..3d48ce83 100644 --- a/src/components/Icon/Icons/Building.jsx +++ b/src/components/Icons/Building.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const BuildingIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/ButtonLink.jsx b/src/components/Icons/ButtonLink.jsx similarity index 89% rename from src/components/Icon/Icons/ButtonLink.jsx rename to src/components/Icons/ButtonLink.jsx index c96e7f07..3b291c6d 100644 --- a/src/components/Icon/Icons/ButtonLink.jsx +++ b/src/components/Icons/ButtonLink.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ButtonLinkIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Calendar.jsx b/src/components/Icons/Calendar.jsx similarity index 89% rename from src/components/Icon/Icons/Calendar.jsx rename to src/components/Icons/Calendar.jsx index eb51f4a6..621c0388 100644 --- a/src/components/Icon/Icons/Calendar.jsx +++ b/src/components/Icons/Calendar.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const CalendarIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/CalendarAdd.jsx b/src/components/Icons/CalendarAdd.jsx similarity index 91% rename from src/components/Icon/Icons/CalendarAdd.jsx rename to src/components/Icons/CalendarAdd.jsx index 4c9c2b19..a84ed8b9 100644 --- a/src/components/Icon/Icons/CalendarAdd.jsx +++ b/src/components/Icons/CalendarAdd.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const CalendarAddIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Camera.jsx b/src/components/Icons/Camera.jsx similarity index 89% rename from src/components/Icon/Icons/Camera.jsx rename to src/components/Icons/Camera.jsx index fdd67031..dce15c0b 100644 --- a/src/components/Icon/Icons/Camera.jsx +++ b/src/components/Icons/Camera.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const CameraIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Canva.jsx b/src/components/Icons/Canva.jsx similarity index 93% rename from src/components/Icon/Icons/Canva.jsx rename to src/components/Icons/Canva.jsx index d73042cc..7168f33b 100644 --- a/src/components/Icon/Icons/Canva.jsx +++ b/src/components/Icons/Canva.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const CanvaIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Card.jsx b/src/components/Icons/Card.jsx similarity index 90% rename from src/components/Icon/Icons/Card.jsx rename to src/components/Icons/Card.jsx index 924a3cf3..cf343d3b 100644 --- a/src/components/Icon/Icons/Card.jsx +++ b/src/components/Icons/Card.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const CardIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/CaretDown.jsx b/src/components/Icons/CaretDown.jsx similarity index 88% rename from src/components/Icon/Icons/CaretDown.jsx rename to src/components/Icons/CaretDown.jsx index d4acdd2a..83c034fc 100644 --- a/src/components/Icon/Icons/CaretDown.jsx +++ b/src/components/Icons/CaretDown.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const CaretDownIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/CaretLeft.jsx b/src/components/Icons/CaretLeft.jsx similarity index 88% rename from src/components/Icon/Icons/CaretLeft.jsx rename to src/components/Icons/CaretLeft.jsx index 9b752368..5fe74331 100644 --- a/src/components/Icon/Icons/CaretLeft.jsx +++ b/src/components/Icons/CaretLeft.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const CaretLeftIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/CaretRight.jsx b/src/components/Icons/CaretRight.jsx similarity index 89% rename from src/components/Icon/Icons/CaretRight.jsx rename to src/components/Icons/CaretRight.jsx index 347e9a4d..8c37c016 100644 --- a/src/components/Icon/Icons/CaretRight.jsx +++ b/src/components/Icons/CaretRight.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const CaretRightIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/CaretUp.jsx b/src/components/Icons/CaretUp.jsx similarity index 88% rename from src/components/Icon/Icons/CaretUp.jsx rename to src/components/Icons/CaretUp.jsx index 178a713b..779d9e4e 100644 --- a/src/components/Icon/Icons/CaretUp.jsx +++ b/src/components/Icons/CaretUp.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const CaretUpIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Carousel.jsx b/src/components/Icons/Carousel.jsx similarity index 89% rename from src/components/Icon/Icons/Carousel.jsx rename to src/components/Icons/Carousel.jsx index 79ee0978..098b1773 100644 --- a/src/components/Icon/Icons/Carousel.jsx +++ b/src/components/Icons/Carousel.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const CarouselIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Channels.jsx b/src/components/Icons/Channels.jsx similarity index 90% rename from src/components/Icon/Icons/Channels.jsx rename to src/components/Icons/Channels.jsx index 5f1cb505..c732ffd8 100644 --- a/src/components/Icon/Icons/Channels.jsx +++ b/src/components/Icons/Channels.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ChannelsIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/ChartLine.jsx b/src/components/Icons/ChartLine.jsx similarity index 89% rename from src/components/Icon/Icons/ChartLine.jsx rename to src/components/Icons/ChartLine.jsx index 5304e6db..b4546012 100644 --- a/src/components/Icon/Icons/ChartLine.jsx +++ b/src/components/Icons/ChartLine.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ChartLineIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Checkmark.jsx b/src/components/Icons/Checkmark.jsx similarity index 87% rename from src/components/Icon/Icons/Checkmark.jsx rename to src/components/Icons/Checkmark.jsx index 527733d7..684c6ed4 100644 --- a/src/components/Icon/Icons/Checkmark.jsx +++ b/src/components/Icons/Checkmark.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const CheckmarkIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/ChevronDown.jsx b/src/components/Icons/ChevronDown.jsx similarity index 88% rename from src/components/Icon/Icons/ChevronDown.jsx rename to src/components/Icons/ChevronDown.jsx index 9394d5bb..ed8b4386 100644 --- a/src/components/Icon/Icons/ChevronDown.jsx +++ b/src/components/Icons/ChevronDown.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ChevronDownIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/ChevronUp.jsx b/src/components/Icons/ChevronUp.jsx similarity index 88% rename from src/components/Icon/Icons/ChevronUp.jsx rename to src/components/Icons/ChevronUp.jsx index d91c1b8b..17f68d91 100644 --- a/src/components/Icon/Icons/ChevronUp.jsx +++ b/src/components/Icons/ChevronUp.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ChevronUpIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Clock.jsx b/src/components/Icons/Clock.jsx similarity index 90% rename from src/components/Icon/Icons/Clock.jsx rename to src/components/Icons/Clock.jsx index e36c54d0..55404318 100644 --- a/src/components/Icon/Icons/Clock.jsx +++ b/src/components/Icons/Clock.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ClockIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Clubhouse.jsx b/src/components/Icons/Clubhouse.jsx similarity index 97% rename from src/components/Icon/Icons/Clubhouse.jsx rename to src/components/Icons/Clubhouse.jsx index e932027d..7840511e 100644 --- a/src/components/Icon/Icons/Clubhouse.jsx +++ b/src/components/Icons/Clubhouse.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ClubhouseIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Compare.jsx b/src/components/Icons/Compare.jsx similarity index 87% rename from src/components/Icon/Icons/Compare.jsx rename to src/components/Icons/Compare.jsx index fc00accc..dc074403 100644 --- a/src/components/Icon/Icons/Compare.jsx +++ b/src/components/Icons/Compare.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const CompareIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Copy.jsx b/src/components/Icons/Copy.jsx similarity index 91% rename from src/components/Icon/Icons/Copy.jsx rename to src/components/Icons/Copy.jsx index 4393f7ac..cae70dd5 100644 --- a/src/components/Icon/Icons/Copy.jsx +++ b/src/components/Icons/Copy.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const CopyIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Coupon.jsx b/src/components/Icons/Coupon.jsx similarity index 92% rename from src/components/Icon/Icons/Coupon.jsx rename to src/components/Icons/Coupon.jsx index aea23806..2f05cdd6 100644 --- a/src/components/Icon/Icons/Coupon.jsx +++ b/src/components/Icons/Coupon.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const CouponIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Cross.jsx b/src/components/Icons/Cross.jsx similarity index 88% rename from src/components/Icon/Icons/Cross.jsx rename to src/components/Icons/Cross.jsx index f23f018b..560717d1 100644 --- a/src/components/Icon/Icons/Cross.jsx +++ b/src/components/Icons/Cross.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const CrossIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Day.jsx b/src/components/Icons/Day.jsx similarity index 93% rename from src/components/Icon/Icons/Day.jsx rename to src/components/Icons/Day.jsx index 5f25696f..3f5994ab 100644 --- a/src/components/Icon/Icons/Day.jsx +++ b/src/components/Icons/Day.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const DayIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Direct.jsx b/src/components/Icons/Direct.jsx similarity index 88% rename from src/components/Icon/Icons/Direct.jsx rename to src/components/Icons/Direct.jsx index 0b7d8bc7..94f450dd 100644 --- a/src/components/Icon/Icons/Direct.jsx +++ b/src/components/Icons/Direct.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const DirectIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Discord.jsx b/src/components/Icons/Discord.jsx similarity index 95% rename from src/components/Icon/Icons/Discord.jsx rename to src/components/Icons/Discord.jsx index 72368c10..ff1cf71f 100644 --- a/src/components/Icon/Icons/Discord.jsx +++ b/src/components/Icons/Discord.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const DiscordIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Dollar.jsx b/src/components/Icons/Dollar.jsx similarity index 94% rename from src/components/Icon/Icons/Dollar.jsx rename to src/components/Icons/Dollar.jsx index 9dd7e504..e9f39160 100644 --- a/src/components/Icon/Icons/Dollar.jsx +++ b/src/components/Icons/Dollar.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const DollarIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Drafts.jsx b/src/components/Icons/Drafts.jsx similarity index 93% rename from src/components/Icon/Icons/Drafts.jsx rename to src/components/Icons/Drafts.jsx index b833a1c7..ab76791a 100644 --- a/src/components/Icon/Icons/Drafts.jsx +++ b/src/components/Icons/Drafts.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const DraftsIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/DragIndicator.jsx b/src/components/Icons/DragIndicator.jsx similarity index 91% rename from src/components/Icon/Icons/DragIndicator.jsx rename to src/components/Icons/DragIndicator.jsx index b9292809..e7c720b5 100644 --- a/src/components/Icon/Icons/DragIndicator.jsx +++ b/src/components/Icons/DragIndicator.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const DragIndicatorIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Dribbble.jsx b/src/components/Icons/Dribbble.jsx similarity index 95% rename from src/components/Icon/Icons/Dribbble.jsx rename to src/components/Icons/Dribbble.jsx index edc9b0da..27b5941a 100644 --- a/src/components/Icon/Icons/Dribbble.jsx +++ b/src/components/Icons/Dribbble.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const DribbbleIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Dropbox.jsx b/src/components/Icons/Dropbox.jsx similarity index 89% rename from src/components/Icon/Icons/Dropbox.jsx rename to src/components/Icons/Dropbox.jsx index 23316f5a..2646b9e0 100644 --- a/src/components/Icon/Icons/Dropbox.jsx +++ b/src/components/Icons/Dropbox.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const DropboxIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Email.jsx b/src/components/Icons/Email.jsx similarity index 97% rename from src/components/Icon/Icons/Email.jsx rename to src/components/Icons/Email.jsx index 6156df63..06f75e35 100644 --- a/src/components/Icon/Icons/Email.jsx +++ b/src/components/Icons/Email.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const EmailIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Emoji.jsx b/src/components/Icons/Emoji.jsx similarity index 90% rename from src/components/Icon/Icons/Emoji.jsx rename to src/components/Icons/Emoji.jsx index 9d089d15..314ac919 100644 --- a/src/components/Icon/Icons/Emoji.jsx +++ b/src/components/Icons/Emoji.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const EmojiIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Facebook.jsx b/src/components/Icons/Facebook.jsx similarity index 90% rename from src/components/Icon/Icons/Facebook.jsx rename to src/components/Icons/Facebook.jsx index 98cdd1ca..831894c4 100644 --- a/src/components/Icon/Icons/Facebook.jsx +++ b/src/components/Icons/Facebook.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const FacebookIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Flag.jsx b/src/components/Icons/Flag.jsx similarity index 85% rename from src/components/Icon/Icons/Flag.jsx rename to src/components/Icons/Flag.jsx index 03dd7aa7..adf7d7b4 100644 --- a/src/components/Icon/Icons/Flag.jsx +++ b/src/components/Icons/Flag.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const FlagIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Flash.jsx b/src/components/Icons/Flash.jsx similarity index 89% rename from src/components/Icon/Icons/Flash.jsx rename to src/components/Icons/Flash.jsx index 7be0f91a..810f7fbd 100644 --- a/src/components/Icon/Icons/Flash.jsx +++ b/src/components/Icons/Flash.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const FlashIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Folder.jsx b/src/components/Icons/Folder.jsx similarity index 88% rename from src/components/Icon/Icons/Folder.jsx rename to src/components/Icons/Folder.jsx index e22a4e41..97415e56 100644 --- a/src/components/Icon/Icons/Folder.jsx +++ b/src/components/Icons/Folder.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const FolderIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Folders.jsx b/src/components/Icons/Folders.jsx similarity index 89% rename from src/components/Icon/Icons/Folders.jsx rename to src/components/Icons/Folders.jsx index 8c9ea745..49cadb1f 100644 --- a/src/components/Icon/Icons/Folders.jsx +++ b/src/components/Icons/Folders.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const FoldersIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Frequency.jsx b/src/components/Icons/Frequency.jsx similarity index 89% rename from src/components/Icon/Icons/Frequency.jsx rename to src/components/Icons/Frequency.jsx index 6b0683e2..7d1b3bc0 100644 --- a/src/components/Icon/Icons/Frequency.jsx +++ b/src/components/Icons/Frequency.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const FrequencyIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Gbp.jsx b/src/components/Icons/Gbp.jsx similarity index 95% rename from src/components/Icon/Icons/Gbp.jsx rename to src/components/Icons/Gbp.jsx index 3802df26..8115c407 100644 --- a/src/components/Icon/Icons/Gbp.jsx +++ b/src/components/Icons/Gbp.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const GbpIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Gear.jsx b/src/components/Icons/Gear.jsx similarity index 92% rename from src/components/Icon/Icons/Gear.jsx rename to src/components/Icons/Gear.jsx index dc96da5c..686f11d6 100644 --- a/src/components/Icon/Icons/Gear.jsx +++ b/src/components/Icons/Gear.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const GearIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Giphy.jsx b/src/components/Icons/Giphy.jsx similarity index 88% rename from src/components/Icon/Icons/Giphy.jsx rename to src/components/Icons/Giphy.jsx index f4a8e806..f1331037 100644 --- a/src/components/Icon/Icons/Giphy.jsx +++ b/src/components/Icons/Giphy.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const GiphyIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Github.jsx b/src/components/Icons/Github.jsx similarity index 94% rename from src/components/Icon/Icons/Github.jsx rename to src/components/Icons/Github.jsx index c13ce6a5..02e6e110 100644 --- a/src/components/Icon/Icons/Github.jsx +++ b/src/components/Icons/Github.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const GithubIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Giveaway.jsx b/src/components/Icons/Giveaway.jsx similarity index 95% rename from src/components/Icon/Icons/Giveaway.jsx rename to src/components/Icons/Giveaway.jsx index df27ca9e..c357a393 100644 --- a/src/components/Icon/Icons/Giveaway.jsx +++ b/src/components/Icons/Giveaway.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const GiveawayIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Gmb.jsx b/src/components/Icons/Gmb.jsx similarity index 95% rename from src/components/Icon/Icons/Gmb.jsx rename to src/components/Icons/Gmb.jsx index bdc56474..86b7d1a2 100644 --- a/src/components/Icon/Icons/Gmb.jsx +++ b/src/components/Icons/Gmb.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const GmbIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Google.jsx b/src/components/Icons/Google.jsx similarity index 92% rename from src/components/Icon/Icons/Google.jsx rename to src/components/Icons/Google.jsx index 43578b4b..99bc85ac 100644 --- a/src/components/Icon/Icons/Google.jsx +++ b/src/components/Icons/Google.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const GoogleIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/GoogleDrive.jsx b/src/components/Icons/GoogleDrive.jsx similarity index 89% rename from src/components/Icon/Icons/GoogleDrive.jsx rename to src/components/Icons/GoogleDrive.jsx index a41b3368..b8a5670a 100644 --- a/src/components/Icon/Icons/GoogleDrive.jsx +++ b/src/components/Icons/GoogleDrive.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const GoogleDriveIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/GooglePhotos.jsx b/src/components/Icons/GooglePhotos.jsx similarity index 87% rename from src/components/Icon/Icons/GooglePhotos.jsx rename to src/components/Icons/GooglePhotos.jsx index cf71ce8e..fdb2a242 100644 --- a/src/components/Icon/Icons/GooglePhotos.jsx +++ b/src/components/Icons/GooglePhotos.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const GooglePhotosIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/GooglePlus.jsx b/src/components/Icons/GooglePlus.jsx similarity index 91% rename from src/components/Icon/Icons/GooglePlus.jsx rename to src/components/Icons/GooglePlus.jsx index 8f700b92..56bf7afd 100644 --- a/src/components/Icon/Icons/GooglePlus.jsx +++ b/src/components/Icons/GooglePlus.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const GooglePlusIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Hamburger.jsx b/src/components/Icons/Hamburger.jsx similarity index 88% rename from src/components/Icon/Icons/Hamburger.jsx rename to src/components/Icons/Hamburger.jsx index 2d61d124..144362fe 100644 --- a/src/components/Icon/Icons/Hamburger.jsx +++ b/src/components/Icons/Hamburger.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const HamburgerIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Hashtag.jsx b/src/components/Icons/Hashtag.jsx similarity index 91% rename from src/components/Icon/Icons/Hashtag.jsx rename to src/components/Icons/Hashtag.jsx index 8156af4c..c391ad23 100644 --- a/src/components/Icon/Icons/Hashtag.jsx +++ b/src/components/Icons/Hashtag.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const HashtagIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Heading.jsx b/src/components/Icons/Heading.jsx similarity index 85% rename from src/components/Icon/Icons/Heading.jsx rename to src/components/Icons/Heading.jsx index 0846860d..8a3d37af 100644 --- a/src/components/Icon/Icons/Heading.jsx +++ b/src/components/Icons/Heading.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const HeadingIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Hide.jsx b/src/components/Icons/Hide.jsx similarity index 93% rename from src/components/Icon/Icons/Hide.jsx rename to src/components/Icons/Hide.jsx index 211f18dc..64d19062 100644 --- a/src/components/Icon/Icons/Hide.jsx +++ b/src/components/Icons/Hide.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const HideIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Home.jsx b/src/components/Icons/Home.jsx similarity index 89% rename from src/components/Icon/Icons/Home.jsx rename to src/components/Icons/Home.jsx index 0b31b53c..02468f24 100644 --- a/src/components/Icon/Icons/Home.jsx +++ b/src/components/Icons/Home.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const HomeIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Hotkeys.jsx b/src/components/Icons/Hotkeys.jsx similarity index 90% rename from src/components/Icon/Icons/Hotkeys.jsx rename to src/components/Icons/Hotkeys.jsx index cc784373..8333d972 100644 --- a/src/components/Icon/Icons/Hotkeys.jsx +++ b/src/components/Icons/Hotkeys.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const HotkeysIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icon.jsx b/src/components/Icons/Icons.jsx similarity index 87% rename from src/components/Icon/Icon.jsx rename to src/components/Icons/Icons.jsx index eb0a1d75..064a32cb 100644 --- a/src/components/Icon/Icon.jsx +++ b/src/components/Icons/Icons.jsx @@ -11,14 +11,14 @@ const StyledIcon = styled.svg` props.verticalAlign ? props.verticalAlign : null}; `; -const Icon = ({ children, ...props }) => ( +const Icons = ({ children, ...props }) => ( {props.title} {children} ); -Icon.propTypes = { +Icons.propTypes = { /** The size of the icon. Can be 'small', 'medium', 'large', or 'extraLarge' */ size: PropTypes.oneOf(['small', 'medium', 'large', 'extraLarge']), @@ -29,10 +29,10 @@ Icon.propTypes = { title: PropTypes.string, }; -Icon.defaultProps = { +Icons.defaultProps = { size: 'medium', verticalAlign: '', title: '', }; -export default Icon; +export default Icons; diff --git a/src/components/Icon/Icons/Image.jsx b/src/components/Icons/Image.jsx similarity index 91% rename from src/components/Icon/Icons/Image.jsx rename to src/components/Icons/Image.jsx index b242b03e..22a3736e 100644 --- a/src/components/Icon/Icons/Image.jsx +++ b/src/components/Icons/Image.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ImageIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Import.jsx b/src/components/Icons/Import.jsx similarity index 92% rename from src/components/Icon/Icons/Import.jsx rename to src/components/Icons/Import.jsx index b31cfb38..84ffb24f 100644 --- a/src/components/Icon/Icons/Import.jsx +++ b/src/components/Icons/Import.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ImportIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Inbox.jsx b/src/components/Icons/Inbox.jsx similarity index 90% rename from src/components/Icon/Icons/Inbox.jsx rename to src/components/Icons/Inbox.jsx index 321f3898..15c78c6a 100644 --- a/src/components/Icon/Icons/Inbox.jsx +++ b/src/components/Icons/Inbox.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const InboxIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Info.jsx b/src/components/Icons/Info.jsx similarity index 94% rename from src/components/Icon/Icons/Info.jsx rename to src/components/Icons/Info.jsx index b84c5bc7..796d94e2 100644 --- a/src/components/Icon/Icons/Info.jsx +++ b/src/components/Icons/Info.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const InfoIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Instagram.jsx b/src/components/Icons/Instagram.jsx similarity index 95% rename from src/components/Icon/Icons/Instagram.jsx rename to src/components/Icons/Instagram.jsx index adfdcc95..aa872cd5 100644 --- a/src/components/Icon/Icons/Instagram.jsx +++ b/src/components/Icons/Instagram.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const InstagramIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/InstagramComment.jsx b/src/components/Icons/InstagramComment.jsx similarity index 86% rename from src/components/Icon/Icons/InstagramComment.jsx rename to src/components/Icons/InstagramComment.jsx index e16c8e49..564de9ba 100644 --- a/src/components/Icon/Icons/InstagramComment.jsx +++ b/src/components/Icons/InstagramComment.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const InstagramCommentIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/InstagramDm.jsx b/src/components/Icons/InstagramDm.jsx similarity index 90% rename from src/components/Icon/Icons/InstagramDm.jsx rename to src/components/Icons/InstagramDm.jsx index 51c301a9..512f8287 100644 --- a/src/components/Icon/Icons/InstagramDm.jsx +++ b/src/components/Icons/InstagramDm.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const InstagramDmIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/InstagramGrid.jsx b/src/components/Icons/InstagramGrid.jsx similarity index 92% rename from src/components/Icon/Icons/InstagramGrid.jsx rename to src/components/Icons/InstagramGrid.jsx index 830a9f28..6566c44f 100644 --- a/src/components/Icon/Icons/InstagramGrid.jsx +++ b/src/components/Icons/InstagramGrid.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const InstagramGridIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/InstagramLike.jsx b/src/components/Icons/InstagramLike.jsx similarity index 91% rename from src/components/Icon/Icons/InstagramLike.jsx rename to src/components/Icons/InstagramLike.jsx index 3f7136d6..32d2d699 100644 --- a/src/components/Icon/Icons/InstagramLike.jsx +++ b/src/components/Icons/InstagramLike.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const InstagramLikeIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Layout.jsx b/src/components/Icons/Layout.jsx similarity index 90% rename from src/components/Icon/Icons/Layout.jsx rename to src/components/Icons/Layout.jsx index 01330cb7..2327a93a 100644 --- a/src/components/Icon/Icons/Layout.jsx +++ b/src/components/Icons/Layout.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const LayoutIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Link.jsx b/src/components/Icons/Link.jsx similarity index 93% rename from src/components/Icon/Icons/Link.jsx rename to src/components/Icons/Link.jsx index 14ca48fa..51113081 100644 --- a/src/components/Icon/Icons/Link.jsx +++ b/src/components/Icons/Link.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const LinkIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/LinkedIn.jsx b/src/components/Icons/LinkedIn.jsx similarity index 92% rename from src/components/Icon/Icons/LinkedIn.jsx rename to src/components/Icons/LinkedIn.jsx index 1ee975cb..d6a7beb0 100644 --- a/src/components/Icon/Icons/LinkedIn.jsx +++ b/src/components/Icons/LinkedIn.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const LinkedInIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/List.jsx b/src/components/Icons/List.jsx similarity index 88% rename from src/components/Icon/Icons/List.jsx rename to src/components/Icons/List.jsx index 8870ac98..d5e8db89 100644 --- a/src/components/Icon/Icons/List.jsx +++ b/src/components/Icons/List.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ListIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Load.jsx b/src/components/Icons/Load.jsx similarity index 93% rename from src/components/Icon/Icons/Load.jsx rename to src/components/Icons/Load.jsx index c8ae8c89..8c9c66ec 100644 --- a/src/components/Icon/Icons/Load.jsx +++ b/src/components/Icons/Load.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const LoadIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Location.jsx b/src/components/Icons/Location.jsx similarity index 89% rename from src/components/Icon/Icons/Location.jsx rename to src/components/Icons/Location.jsx index 1e076df7..1fb477e2 100644 --- a/src/components/Icon/Icons/Location.jsx +++ b/src/components/Icons/Location.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const LocationIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Locked.jsx b/src/components/Icons/Locked.jsx similarity index 89% rename from src/components/Icon/Icons/Locked.jsx rename to src/components/Icons/Locked.jsx index f5dcc1d0..af667dde 100644 --- a/src/components/Icon/Icons/Locked.jsx +++ b/src/components/Icons/Locked.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const LockedIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Mail.jsx b/src/components/Icons/Mail.jsx similarity index 90% rename from src/components/Icon/Icons/Mail.jsx rename to src/components/Icons/Mail.jsx index a41f5dde..634874e2 100644 --- a/src/components/Icon/Icons/Mail.jsx +++ b/src/components/Icons/Mail.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const MailIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Medium.jsx b/src/components/Icons/Medium.jsx similarity index 94% rename from src/components/Icon/Icons/Medium.jsx rename to src/components/Icons/Medium.jsx index dbea2271..ad47e707 100644 --- a/src/components/Icon/Icons/Medium.jsx +++ b/src/components/Icons/Medium.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const MediumIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Message.jsx b/src/components/Icons/Message.jsx similarity index 87% rename from src/components/Icon/Icons/Message.jsx rename to src/components/Icons/Message.jsx index 7dc0e64b..f0dfebaa 100644 --- a/src/components/Icon/Icons/Message.jsx +++ b/src/components/Icons/Message.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const MessageIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Messenger.jsx b/src/components/Icons/Messenger.jsx similarity index 90% rename from src/components/Icon/Icons/Messenger.jsx rename to src/components/Icons/Messenger.jsx index 6390d3ed..4ea91f22 100644 --- a/src/components/Icon/Icons/Messenger.jsx +++ b/src/components/Icons/Messenger.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const MessengerIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/More.jsx b/src/components/Icons/More.jsx similarity index 86% rename from src/components/Icon/Icons/More.jsx rename to src/components/Icons/More.jsx index 1565b9c8..26c6eabd 100644 --- a/src/components/Icon/Icons/More.jsx +++ b/src/components/Icons/More.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const MoreIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Movie.jsx b/src/components/Icons/Movie.jsx similarity index 89% rename from src/components/Icon/Icons/Movie.jsx rename to src/components/Icons/Movie.jsx index 85d8c143..4103a977 100644 --- a/src/components/Icon/Icons/Movie.jsx +++ b/src/components/Icons/Movie.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const MovieIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Negative.jsx b/src/components/Icons/Negative.jsx similarity index 86% rename from src/components/Icon/Icons/Negative.jsx rename to src/components/Icons/Negative.jsx index 812df611..c5ac8d14 100644 --- a/src/components/Icon/Icons/Negative.jsx +++ b/src/components/Icons/Negative.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const NegativeIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Onedrive.jsx b/src/components/Icons/Onedrive.jsx similarity index 87% rename from src/components/Icon/Icons/Onedrive.jsx rename to src/components/Icons/Onedrive.jsx index e3b19b61..d41bfb62 100644 --- a/src/components/Icon/Icons/Onedrive.jsx +++ b/src/components/Icons/Onedrive.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const OnedriveIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/OpenNew.jsx b/src/components/Icons/OpenNew.jsx similarity index 89% rename from src/components/Icon/Icons/OpenNew.jsx rename to src/components/Icons/OpenNew.jsx index 837e009e..210e698d 100644 --- a/src/components/Icon/Icons/OpenNew.jsx +++ b/src/components/Icons/OpenNew.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const OpenNewIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Order.jsx b/src/components/Icons/Order.jsx similarity index 93% rename from src/components/Icon/Icons/Order.jsx rename to src/components/Icons/Order.jsx index 452a3c13..fc96163a 100644 --- a/src/components/Icon/Icons/Order.jsx +++ b/src/components/Icons/Order.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const OrderIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Organic.jsx b/src/components/Icons/Organic.jsx similarity index 90% rename from src/components/Icon/Icons/Organic.jsx rename to src/components/Icons/Organic.jsx index 55aa4508..ef8207da 100644 --- a/src/components/Icon/Icons/Organic.jsx +++ b/src/components/Icons/Organic.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const OrganicIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Patreon.jsx b/src/components/Icons/Patreon.jsx similarity index 85% rename from src/components/Icon/Icons/Patreon.jsx rename to src/components/Icons/Patreon.jsx index e4e85bb5..6cb97b19 100644 --- a/src/components/Icon/Icons/Patreon.jsx +++ b/src/components/Icons/Patreon.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PatreonIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Pause.jsx b/src/components/Icons/Pause.jsx similarity index 88% rename from src/components/Icon/Icons/Pause.jsx rename to src/components/Icons/Pause.jsx index 0e3ec3b6..fddd56fd 100644 --- a/src/components/Icon/Icons/Pause.jsx +++ b/src/components/Icons/Pause.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PauseIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Paypal.jsx b/src/components/Icons/Paypal.jsx similarity index 93% rename from src/components/Icon/Icons/Paypal.jsx rename to src/components/Icons/Paypal.jsx index dedc32fe..db6f99e6 100644 --- a/src/components/Icon/Icons/Paypal.jsx +++ b/src/components/Icons/Paypal.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PaypalIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Pencil.jsx b/src/components/Icons/Pencil.jsx similarity index 88% rename from src/components/Icon/Icons/Pencil.jsx rename to src/components/Icons/Pencil.jsx index 6cd8e0ea..558a915a 100644 --- a/src/components/Icon/Icons/Pencil.jsx +++ b/src/components/Icons/Pencil.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PencilIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/People.jsx b/src/components/Icons/People.jsx similarity index 92% rename from src/components/Icon/Icons/People.jsx rename to src/components/Icons/People.jsx index 0f210fa4..64f997cb 100644 --- a/src/components/Icon/Icons/People.jsx +++ b/src/components/Icons/People.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PeopleIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/PercentageDown.jsx b/src/components/Icons/PercentageDown.jsx similarity index 89% rename from src/components/Icon/Icons/PercentageDown.jsx rename to src/components/Icons/PercentageDown.jsx index 9cf44d56..070ef10c 100644 --- a/src/components/Icon/Icons/PercentageDown.jsx +++ b/src/components/Icons/PercentageDown.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PercentageDownIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/PercentageUp.jsx b/src/components/Icons/PercentageUp.jsx similarity index 88% rename from src/components/Icon/Icons/PercentageUp.jsx rename to src/components/Icons/PercentageUp.jsx index 4e7577a9..69550e29 100644 --- a/src/components/Icon/Icons/PercentageUp.jsx +++ b/src/components/Icons/PercentageUp.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PercentageUpIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Person.jsx b/src/components/Icons/Person.jsx similarity index 90% rename from src/components/Icon/Icons/Person.jsx rename to src/components/Icons/Person.jsx index 26a8fa3d..20fc4030 100644 --- a/src/components/Icon/Icons/Person.jsx +++ b/src/components/Icons/Person.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PersonIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Phone.jsx b/src/components/Icons/Phone.jsx similarity index 89% rename from src/components/Icon/Icons/Phone.jsx rename to src/components/Icons/Phone.jsx index 1f8b3e37..9e88c801 100644 --- a/src/components/Icon/Icons/Phone.jsx +++ b/src/components/Icons/Phone.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PhoneIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Pin.jsx b/src/components/Icons/Pin.jsx similarity index 90% rename from src/components/Icon/Icons/Pin.jsx rename to src/components/Icons/Pin.jsx index 835f3ff3..1f95781e 100644 --- a/src/components/Icon/Icons/Pin.jsx +++ b/src/components/Icons/Pin.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PinIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Pinned.jsx b/src/components/Icons/Pinned.jsx similarity index 91% rename from src/components/Icon/Icons/Pinned.jsx rename to src/components/Icons/Pinned.jsx index b705a280..0ec74b04 100644 --- a/src/components/Icon/Icons/Pinned.jsx +++ b/src/components/Icons/Pinned.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PinnedIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Pinterest.jsx b/src/components/Icons/Pinterest.jsx similarity index 94% rename from src/components/Icon/Icons/Pinterest.jsx rename to src/components/Icons/Pinterest.jsx index f9716465..dc1ed285 100644 --- a/src/components/Icon/Icons/Pinterest.jsx +++ b/src/components/Icons/Pinterest.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PinterestIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Placeholder.jsx b/src/components/Icons/Placeholder.jsx similarity index 86% rename from src/components/Icon/Icons/Placeholder.jsx rename to src/components/Icons/Placeholder.jsx index 5a6aa8b3..596efa89 100644 --- a/src/components/Icon/Icons/Placeholder.jsx +++ b/src/components/Icons/Placeholder.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PlaceholderIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Plus.jsx b/src/components/Icons/Plus.jsx similarity index 88% rename from src/components/Icon/Icons/Plus.jsx rename to src/components/Icons/Plus.jsx index 2db3ec2f..eb7ecf0a 100644 --- a/src/components/Icon/Icons/Plus.jsx +++ b/src/components/Icons/Plus.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PlusIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Post.jsx b/src/components/Icons/Post.jsx similarity index 91% rename from src/components/Icon/Icons/Post.jsx rename to src/components/Icons/Post.jsx index 3ac709e5..a8a9e950 100644 --- a/src/components/Icon/Icons/Post.jsx +++ b/src/components/Icons/Post.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PostIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Promoted.jsx b/src/components/Icons/Promoted.jsx similarity index 96% rename from src/components/Icon/Icons/Promoted.jsx rename to src/components/Icons/Promoted.jsx index 1ba84127..eba8dd16 100644 --- a/src/components/Icon/Icons/Promoted.jsx +++ b/src/components/Icons/Promoted.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PromotedIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Publish.jsx b/src/components/Icons/Publish.jsx similarity index 87% rename from src/components/Icon/Icons/Publish.jsx rename to src/components/Icons/Publish.jsx index 7bd604af..d4e19d85 100644 --- a/src/components/Icon/Icons/Publish.jsx +++ b/src/components/Icons/Publish.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const PublishIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/QrCode.jsx b/src/components/Icons/QrCode.jsx similarity index 96% rename from src/components/Icon/Icons/QrCode.jsx rename to src/components/Icons/QrCode.jsx index d4e8c31e..52a6bf12 100644 --- a/src/components/Icon/Icons/QrCode.jsx +++ b/src/components/Icons/QrCode.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const QrCodeIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Question.jsx b/src/components/Icons/Question.jsx similarity index 93% rename from src/components/Icon/Icons/Question.jsx rename to src/components/Icons/Question.jsx index b02e47af..40c3d949 100644 --- a/src/components/Icon/Icons/Question.jsx +++ b/src/components/Icons/Question.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const QuestionIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Refresh.jsx b/src/components/Icons/Refresh.jsx similarity index 89% rename from src/components/Icon/Icons/Refresh.jsx rename to src/components/Icons/Refresh.jsx index 0830fe14..8f1f9447 100644 --- a/src/components/Icon/Icons/Refresh.jsx +++ b/src/components/Icons/Refresh.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const RefreshIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Reply.jsx b/src/components/Icons/Reply.jsx similarity index 88% rename from src/components/Icon/Icons/Reply.jsx rename to src/components/Icons/Reply.jsx index 84c43f8c..0061a767 100644 --- a/src/components/Icon/Icons/Reply.jsx +++ b/src/components/Icons/Reply.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ReplyIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Return.jsx b/src/components/Icons/Return.jsx similarity index 88% rename from src/components/Icon/Icons/Return.jsx rename to src/components/Icons/Return.jsx index 33a65f01..458ef885 100644 --- a/src/components/Icon/Icons/Return.jsx +++ b/src/components/Icons/Return.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ReturnIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Save.jsx b/src/components/Icons/Save.jsx similarity index 90% rename from src/components/Icon/Icons/Save.jsx rename to src/components/Icons/Save.jsx index 9ced9f5c..fcfb0084 100644 --- a/src/components/Icon/Icons/Save.jsx +++ b/src/components/Icons/Save.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const SaveIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Search.jsx b/src/components/Icons/Search.jsx similarity index 89% rename from src/components/Icon/Icons/Search.jsx rename to src/components/Icons/Search.jsx index 05897f01..2b7c7ade 100644 --- a/src/components/Icon/Icons/Search.jsx +++ b/src/components/Icons/Search.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const SearchIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Shopify.jsx b/src/components/Icons/Shopify.jsx similarity index 92% rename from src/components/Icon/Icons/Shopify.jsx rename to src/components/Icons/Shopify.jsx index 7ff35445..9ac0aec1 100644 --- a/src/components/Icon/Icons/Shopify.jsx +++ b/src/components/Icons/Shopify.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ShopifyIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Sidebar.jsx b/src/components/Icons/Sidebar.jsx similarity index 87% rename from src/components/Icon/Icons/Sidebar.jsx rename to src/components/Icons/Sidebar.jsx index ed73f1a5..73135659 100644 --- a/src/components/Icon/Icons/Sidebar.jsx +++ b/src/components/Icons/Sidebar.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const SidebarIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Sms.jsx b/src/components/Icons/Sms.jsx similarity index 92% rename from src/components/Icon/Icons/Sms.jsx rename to src/components/Icons/Sms.jsx index d9f1b89c..71370749 100644 --- a/src/components/Icon/Icons/Sms.jsx +++ b/src/components/Icons/Sms.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const SmsIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Snapchat.jsx b/src/components/Icons/Snapchat.jsx similarity index 95% rename from src/components/Icon/Icons/Snapchat.jsx rename to src/components/Icons/Snapchat.jsx index 8e79aa43..373e0358 100644 --- a/src/components/Icon/Icons/Snapchat.jsx +++ b/src/components/Icons/Snapchat.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const SnapchatIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/SocialIcons.jsx b/src/components/Icons/SocialIcons.jsx similarity index 93% rename from src/components/Icon/Icons/SocialIcons.jsx rename to src/components/Icons/SocialIcons.jsx index e7deeac5..441ed66e 100644 --- a/src/components/Icon/Icons/SocialIcons.jsx +++ b/src/components/Icons/SocialIcons.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const SocialIconsIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Soundcloud.jsx b/src/components/Icons/Soundcloud.jsx similarity index 92% rename from src/components/Icon/Icons/Soundcloud.jsx rename to src/components/Icons/Soundcloud.jsx index c162a7a2..4be4a97d 100644 --- a/src/components/Icon/Icons/Soundcloud.jsx +++ b/src/components/Icons/Soundcloud.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const SoundcloudIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Spam.jsx b/src/components/Icons/Spam.jsx similarity index 92% rename from src/components/Icon/Icons/Spam.jsx rename to src/components/Icons/Spam.jsx index aa7c519b..dd0e39ec 100644 --- a/src/components/Icon/Icons/Spam.jsx +++ b/src/components/Icons/Spam.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const SpamIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Sparkles.jsx b/src/components/Icons/Sparkles.jsx similarity index 90% rename from src/components/Icon/Icons/Sparkles.jsx rename to src/components/Icons/Sparkles.jsx index d43147ce..c5de82b6 100644 --- a/src/components/Icon/Icons/Sparkles.jsx +++ b/src/components/Icons/Sparkles.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const SparklesIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Spotify.jsx b/src/components/Icons/Spotify.jsx similarity index 92% rename from src/components/Icon/Icons/Spotify.jsx rename to src/components/Icons/Spotify.jsx index 3768e041..5e34b776 100644 --- a/src/components/Icon/Icons/Spotify.jsx +++ b/src/components/Icons/Spotify.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const SpotifyIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Star.jsx b/src/components/Icons/Star.jsx similarity index 89% rename from src/components/Icon/Icons/Star.jsx rename to src/components/Icons/Star.jsx index 1a84da9e..cceff1a1 100644 --- a/src/components/Icon/Icons/Star.jsx +++ b/src/components/Icons/Star.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const StarIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/StartPage.jsx b/src/components/Icons/StartPage.jsx similarity index 90% rename from src/components/Icon/Icons/StartPage.jsx rename to src/components/Icons/StartPage.jsx index f42417ee..c42e220a 100644 --- a/src/components/Icon/Icons/StartPage.jsx +++ b/src/components/Icons/StartPage.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const StartPageIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Stats.jsx b/src/components/Icons/Stats.jsx similarity index 89% rename from src/components/Icon/Icons/Stats.jsx rename to src/components/Icons/Stats.jsx index 2b42eed8..6a206a20 100644 --- a/src/components/Icon/Icons/Stats.jsx +++ b/src/components/Icons/Stats.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const StatsIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Subheading.jsx b/src/components/Icons/Subheading.jsx similarity index 95% rename from src/components/Icon/Icons/Subheading.jsx rename to src/components/Icons/Subheading.jsx index 504adc0b..e07f47f2 100644 --- a/src/components/Icon/Icons/Subheading.jsx +++ b/src/components/Icons/Subheading.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const SubheadingIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Substack.jsx b/src/components/Icons/Substack.jsx similarity index 86% rename from src/components/Icon/Icons/Substack.jsx rename to src/components/Icons/Substack.jsx index 5263e94b..48630ca3 100644 --- a/src/components/Icon/Icons/Substack.jsx +++ b/src/components/Icons/Substack.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const SubstackIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Subtract.jsx b/src/components/Icons/Subtract.jsx similarity index 85% rename from src/components/Icon/Icons/Subtract.jsx rename to src/components/Icons/Subtract.jsx index 058c14d0..65b18409 100644 --- a/src/components/Icon/Icons/Subtract.jsx +++ b/src/components/Icons/Subtract.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const SubtractIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Swap.jsx b/src/components/Icons/Swap.jsx similarity index 90% rename from src/components/Icon/Icons/Swap.jsx rename to src/components/Icons/Swap.jsx index 0ae22b38..220cfd0c 100644 --- a/src/components/Icon/Icons/Swap.jsx +++ b/src/components/Icons/Swap.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const SwapIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Tag.jsx b/src/components/Icons/Tag.jsx similarity index 89% rename from src/components/Icon/Icons/Tag.jsx rename to src/components/Icons/Tag.jsx index 9ae847f2..555c5bb2 100644 --- a/src/components/Icon/Icons/Tag.jsx +++ b/src/components/Icons/Tag.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const TagIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Telegram.jsx b/src/components/Icons/Telegram.jsx similarity index 93% rename from src/components/Icon/Icons/Telegram.jsx rename to src/components/Icons/Telegram.jsx index 91384440..071ba826 100644 --- a/src/components/Icon/Icons/Telegram.jsx +++ b/src/components/Icons/Telegram.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const TelegramIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Tiktok.jsx b/src/components/Icons/Tiktok.jsx similarity index 91% rename from src/components/Icon/Icons/Tiktok.jsx rename to src/components/Icons/Tiktok.jsx index 8885d598..b55b15c9 100644 --- a/src/components/Icon/Icons/Tiktok.jsx +++ b/src/components/Icons/Tiktok.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const TiktokIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Title.jsx b/src/components/Icons/Title.jsx similarity index 92% rename from src/components/Icon/Icons/Title.jsx rename to src/components/Icons/Title.jsx index 458d673c..0e2dea8b 100644 --- a/src/components/Icon/Icons/Title.jsx +++ b/src/components/Icons/Title.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const TitleIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Trash.jsx b/src/components/Icons/Trash.jsx similarity index 88% rename from src/components/Icon/Icons/Trash.jsx rename to src/components/Icons/Trash.jsx index 7741cfe9..844c2f05 100644 --- a/src/components/Icon/Icons/Trash.jsx +++ b/src/components/Icons/Trash.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const TrashIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Twitch.jsx b/src/components/Icons/Twitch.jsx similarity index 89% rename from src/components/Icon/Icons/Twitch.jsx rename to src/components/Icons/Twitch.jsx index 6cf9ad74..8319201c 100644 --- a/src/components/Icon/Icons/Twitch.jsx +++ b/src/components/Icons/Twitch.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const TwitchIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Twitter.jsx b/src/components/Icons/Twitter.jsx similarity index 93% rename from src/components/Icon/Icons/Twitter.jsx rename to src/components/Icons/Twitter.jsx index 69c85cea..f88adcee 100644 --- a/src/components/Icon/Icons/Twitter.jsx +++ b/src/components/Icons/Twitter.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const TwitterIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Unknown.jsx b/src/components/Icons/Unknown.jsx similarity index 93% rename from src/components/Icon/Icons/Unknown.jsx rename to src/components/Icons/Unknown.jsx index bf2584ac..16b0e8b8 100644 --- a/src/components/Icon/Icons/Unknown.jsx +++ b/src/components/Icons/Unknown.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const UnknownIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Unlocked.jsx b/src/components/Icons/Unlocked.jsx similarity index 89% rename from src/components/Icon/Icons/Unlocked.jsx rename to src/components/Icons/Unlocked.jsx index 7ca51faa..9c152787 100644 --- a/src/components/Icon/Icons/Unlocked.jsx +++ b/src/components/Icons/Unlocked.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const UnlockedIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Unsplash.jsx b/src/components/Icons/Unsplash.jsx similarity index 86% rename from src/components/Icon/Icons/Unsplash.jsx rename to src/components/Icons/Unsplash.jsx index dd18726c..04673ad2 100644 --- a/src/components/Icon/Icons/Unsplash.jsx +++ b/src/components/Icons/Unsplash.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const UnsplashIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Video.jsx b/src/components/Icons/Video.jsx similarity index 90% rename from src/components/Icon/Icons/Video.jsx rename to src/components/Icons/Video.jsx index 95c0156d..54c11544 100644 --- a/src/components/Icon/Icons/Video.jsx +++ b/src/components/Icons/Video.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const VideoIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/View.jsx b/src/components/Icons/View.jsx similarity index 89% rename from src/components/Icon/Icons/View.jsx rename to src/components/Icons/View.jsx index 855011b7..ad863574 100644 --- a/src/components/Icon/Icons/View.jsx +++ b/src/components/Icons/View.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const ViewIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Warning.jsx b/src/components/Icons/Warning.jsx similarity index 88% rename from src/components/Icon/Icons/Warning.jsx rename to src/components/Icons/Warning.jsx index 50c2b3d6..6a8cc289 100644 --- a/src/components/Icon/Icons/Warning.jsx +++ b/src/components/Icons/Warning.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const WarningIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Website.jsx b/src/components/Icons/Website.jsx similarity index 95% rename from src/components/Icon/Icons/Website.jsx rename to src/components/Icons/Website.jsx index 4b5558de..25ee6ca0 100644 --- a/src/components/Icon/Icons/Website.jsx +++ b/src/components/Icons/Website.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const WebsiteIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Whatsapp.jsx b/src/components/Icons/Whatsapp.jsx similarity index 94% rename from src/components/Icon/Icons/Whatsapp.jsx rename to src/components/Icons/Whatsapp.jsx index ed26fafb..931b00c7 100644 --- a/src/components/Icon/Icons/Whatsapp.jsx +++ b/src/components/Icons/Whatsapp.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const WhatsappIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/Icons/Youtube.jsx b/src/components/Icons/Youtube.jsx similarity index 93% rename from src/components/Icon/Icons/Youtube.jsx rename to src/components/Icons/Youtube.jsx index 3a16d8fe..c34bca82 100644 --- a/src/components/Icon/Icons/Youtube.jsx +++ b/src/components/Icons/Youtube.jsx @@ -3,7 +3,7 @@ * ALL changes will be overwritten. */ import React from 'react'; -import createIconComponent from '../utils/createIconComponent'; +import createIconComponent from './utils/createIconComponent'; const YoutubeIcon = createIconComponent({ content: ( diff --git a/src/components/Icon/style.js b/src/components/Icons/style.js similarity index 100% rename from src/components/Icon/style.js rename to src/components/Icons/style.js diff --git a/src/components/Icons/utils/createIconComponent.js b/src/components/Icons/utils/createIconComponent.js new file mode 100644 index 00000000..9c286528 --- /dev/null +++ b/src/components/Icons/utils/createIconComponent.js @@ -0,0 +1,14 @@ +import { createElement } from 'react'; +import Icon from '../Icons'; + +const createIconComponent = ({ content }) => (props) => + createElement( + Icon, + { + ...props, + viewBox: '0 0 16 16', + }, + content + ); + +export default createIconComponent; diff --git a/src/components/Input/Input.jsx b/src/components/Input/Input.jsx index 7ae6fa8b..d2f33e59 100644 --- a/src/components/Input/Input.jsx +++ b/src/components/Input/Input.jsx @@ -2,7 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import * as Styles from './style'; -import { Warning } from '../Icon'; +import Warning from '../Icons/Warning'; import Text from '../Text'; export default class Input extends React.Component { diff --git a/src/components/Modal/Modal.jsx b/src/components/Modal/Modal.jsx index 81e0f333..be5f9990 100644 --- a/src/components/Modal/Modal.jsx +++ b/src/components/Modal/Modal.jsx @@ -2,7 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import * as Styles from './style'; import Button from '../Button'; -import { Cross } from '../Icon'; +import Cross from '../Icons/Cross'; function setCookie(cookie, cookieKey, days, value) { const expiresInDays = days * 24 * 60 * 60; diff --git a/src/components/NavBar/NavBar.jsx b/src/components/NavBar/NavBar.jsx index 65230563..98215fbb 100644 --- a/src/components/NavBar/NavBar.jsx +++ b/src/components/NavBar/NavBar.jsx @@ -1,17 +1,16 @@ import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; -import { - Cross, - Info as InfoIcon, - ArrowLeft, - Person as PersonIcon, - Instagram as InstagramIcon, - Twitter as TwitterIcon, - Facebook as FacebookIcon, - Pinterest as PinterestIcon, - LinkedIn as LinkedInIcon, -} from '../Icon'; + +import Cross from "../Icons/Cross" +import InfoIcon from "../Icons/Info" +import ArrowLeft from "../Icons/ArrowLeft" +import PersonIcon from "../Icons/Person" +import InstagramIcon from "../Icons/Instagram" +import TwitterIcon from "../Icons/Twitter" +import FacebookIcon from "../Icons/Facebook" +import PinterestIcon from "../Icons/Pinterest" +import LinkedInIcon from "../Icons/LinkedIn" import { gray, diff --git a/src/components/NavBar/NavBarMenu/NavBarMenu.jsx b/src/components/NavBar/NavBarMenu/NavBarMenu.jsx index 59fcc578..305fdcda 100644 --- a/src/components/NavBar/NavBarMenu/NavBarMenu.jsx +++ b/src/components/NavBar/NavBarMenu/NavBarMenu.jsx @@ -1,6 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { ChevronDown } from '../../Icon'; +import ChevronDown from '../../Icons/ChevronDown'; import { NavBarStyled, NavBarEmail, diff --git a/src/components/Notice/Notice.jsx b/src/components/Notice/Notice.jsx index 9eee1a33..f09c63e5 100644 --- a/src/components/Notice/Notice.jsx +++ b/src/components/Notice/Notice.jsx @@ -3,8 +3,8 @@ import PropTypes from 'prop-types'; import styled from 'styled-components'; import { borderRadius } from '../style/borders'; import { fontSize } from '../style/fonts'; -import Warning from '../Icon/Icons/Warning'; -import Cross from '../Icon/Icons/Cross'; +import Warning from '../Icons/Warning'; +import Cross from '../Icons/Cross'; import { grayDark, grayLighter, grayDarker } from '../style/colors'; import { useAnimation } from '../AnimationWrapper'; import { stageInRight, fadeOut } from '../style/animations'; diff --git a/src/components/Notification/style.js b/src/components/Notification/style.js index c6eefcfa..a2a62584 100644 --- a/src/components/Notification/style.js +++ b/src/components/Notification/style.js @@ -1,5 +1,5 @@ import styled from 'styled-components'; -import Cross from '../Icon/Icons/Cross'; +import Cross from '../Icons/Cross'; import Button from '../Button/Button'; import { white, grayLight, grayDarker, grayDark } from '../style/colors'; diff --git a/src/components/Select/Select.jsx b/src/components/Select/Select.jsx index 3c223ebb..e628c235 100644 --- a/src/components/Select/Select.jsx +++ b/src/components/Select/Select.jsx @@ -2,7 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import helper from 'immutability-helper'; -import SearchIcon from '../Icon/Icons/Search'; +import SearchIcon from '../Icons/Search'; import { Wrapper, SelectStyled, @@ -16,7 +16,7 @@ import { import SelectItem from './SelectItem/SelectItem'; import Button from '../Button/Button'; import { ButtonSelect } from '../Button/style'; -import ChevronDown from '../Icon/Icons/ChevronDown'; +import ChevronDown from '../Icons/ChevronDown'; import Search from '../Search/Search'; /** Select component that opens a popup menu on click and displays items that can be selected */ diff --git a/src/components/Select/SelectItem/SelectItem.jsx b/src/components/Select/SelectItem/SelectItem.jsx index f748aa88..625adabd 100644 --- a/src/components/Select/SelectItem/SelectItem.jsx +++ b/src/components/Select/SelectItem/SelectItem.jsx @@ -1,6 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { Checkmark } from '../../Icon'; +import Checkmark from '../../Icons/Checkmark'; import Tooltip from '../../Tooltip'; import { SelectItemStyled, diff --git a/src/components/SimpleModal/SimpleModal.jsx b/src/components/SimpleModal/SimpleModal.jsx index 0930361f..4ac03278 100644 --- a/src/components/SimpleModal/SimpleModal.jsx +++ b/src/components/SimpleModal/SimpleModal.jsx @@ -1,6 +1,6 @@ import React, { useRef, useEffect } from 'react'; import PropTypes from 'prop-types'; -import { Cross } from '../Icon'; +import Cross from '../Icons/Cross'; import { Container, Modal, CloseButton } from './style'; import { useAnimation } from '../AnimationWrapper'; import { stageInCenter, stageOutCenter } from '../style/animations'; diff --git a/src/components/SocialButton/SocialButton.jsx b/src/components/SocialButton/SocialButton.jsx index b27091f4..3a5a02a0 100644 --- a/src/components/SocialButton/SocialButton.jsx +++ b/src/components/SocialButton/SocialButton.jsx @@ -1,6 +1,10 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { Twitter, Instagram, Facebook, Pinterest, LinkedIn } from '../Icon'; +import Twitter from "../Icons/Twitter" +import Instagram from "../Icons/Instagram" +import Facebook from "../Icons/Facebook" +import Pinterest from "../Icons/Pinterest" +import LinkedIn from "../Icons/LinkedIn" import Text from '../Text/Text'; import { diff --git a/src/components/TextArea/TextArea.jsx b/src/components/TextArea/TextArea.jsx index 6ec7452b..0ba98c60 100644 --- a/src/components/TextArea/TextArea.jsx +++ b/src/components/TextArea/TextArea.jsx @@ -2,7 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import Text from '../Text'; import {HelpTextWrapper, HelpText} from '../Input/style'; -import { Warning } from '../Icon'; +import Warning from '../Icons/Warning'; import {Container, StyledTextArea} from './style'; export default class TextArea extends React.Component { diff --git a/src/components/index.js b/src/components/index.js index 4b0b1ad1..459fdd0b 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -9,8 +9,8 @@ export { default as SidebarListItem } from './SidebarListItem'; export { default as SidebarHeader } from './SidebarHeader'; export { default as Tooltip } from './Tooltip'; export { default as Input } from './Input'; -export { default as ProgressBar} from './ProgressBar'; -export { default as SocialButton} from './SocialButton'; +export { default as ProgressBar } from './ProgressBar'; +export { default as SocialButton } from './SocialButton'; export { default as Loader } from './Loader'; export { default as TextArea } from './TextArea'; export { default as Link } from './Link'; diff --git a/src/documentation/app/layout/content/Component.jsx b/src/documentation/app/layout/content/Component.jsx index 9fff57d3..9ca4ad36 100644 --- a/src/documentation/app/layout/content/Component.jsx +++ b/src/documentation/app/layout/content/Component.jsx @@ -111,7 +111,7 @@ const Component = ({ component, fullscreen }) => { Example {examples.length > 1 && 's'} - + {examples.map((folder, idx) => ( ))} diff --git a/src/documentation/app/layout/sidebar/Sidebar.jsx b/src/documentation/app/layout/sidebar/Sidebar.jsx index feda9bb4..5e5281d7 100644 --- a/src/documentation/app/layout/sidebar/Sidebar.jsx +++ b/src/documentation/app/layout/sidebar/Sidebar.jsx @@ -3,7 +3,8 @@ import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import { Link } from 'react-router-dom'; -import { ChevronDown, ChevronUp } from '@bufferapp/ui/Icon'; +import ChevronDown from '@bufferapp/ui/Icons/ChevronDown' +import ChevronUp from '@bufferapp/ui/Icons/ChevronUp' import helper from 'immutability-helper'; const SidebarWrapper = styled.div` diff --git a/src/documentation/examples/Button/Type/TypeIcon.jsx b/src/documentation/examples/Button/Type/TypeIcon.jsx index e51a3b56..1abb9843 100644 --- a/src/documentation/examples/Button/Type/TypeIcon.jsx +++ b/src/documentation/examples/Button/Type/TypeIcon.jsx @@ -1,6 +1,6 @@ import React from 'react'; import Button from '@bufferapp/ui/Button'; -import { Folder } from '@bufferapp/ui/Icon'; +import Folder from '@bufferapp/ui/Icons/Folder'; /** Secondary Icon */ export default function ExampleButton() { diff --git a/src/documentation/examples/Button/Type/TypeIconEnd.jsx b/src/documentation/examples/Button/Type/TypeIconEnd.jsx index b60a36c3..bdd8a159 100644 --- a/src/documentation/examples/Button/Type/TypeIconEnd.jsx +++ b/src/documentation/examples/Button/Type/TypeIconEnd.jsx @@ -1,6 +1,6 @@ import React from 'react'; import Button from '@bufferapp/ui/Button'; -import { Folder } from '@bufferapp/ui/Icon'; +import Folder from '@bufferapp/ui/Icons/Folder'; /** Secondary with Icon at End */ export default function ExampleButton() { diff --git a/src/documentation/examples/Button/Type/TypePrimaryIcon.jsx b/src/documentation/examples/Button/Type/TypePrimaryIcon.jsx index 08149476..0ff93044 100644 --- a/src/documentation/examples/Button/Type/TypePrimaryIcon.jsx +++ b/src/documentation/examples/Button/Type/TypePrimaryIcon.jsx @@ -1,6 +1,6 @@ import React from 'react'; import Button from '@bufferapp/ui/Button'; -import { Message } from '@bufferapp/ui/Icon'; +import Message from '@bufferapp/ui/Icons/Message'; /** Primary with Icon */ export default function ExampleButton() { diff --git a/src/documentation/examples/Button/Type/TypePrimaryIconEnd.jsx b/src/documentation/examples/Button/Type/TypePrimaryIconEnd.jsx index 30e7adf0..25af58af 100644 --- a/src/documentation/examples/Button/Type/TypePrimaryIconEnd.jsx +++ b/src/documentation/examples/Button/Type/TypePrimaryIconEnd.jsx @@ -1,6 +1,6 @@ import React from 'react'; import Button from '@bufferapp/ui/Button'; -import { Message } from '@bufferapp/ui/Icon'; +import Message from '@bufferapp/ui/Icons/Message'; /** Primary with Icon */ export default function ExampleButton() { diff --git a/src/documentation/examples/Button/Type/TypeSecondaryIcon.jsx b/src/documentation/examples/Button/Type/TypeSecondaryIcon.jsx index 7f014d5f..314a17fd 100644 --- a/src/documentation/examples/Button/Type/TypeSecondaryIcon.jsx +++ b/src/documentation/examples/Button/Type/TypeSecondaryIcon.jsx @@ -1,6 +1,6 @@ import React from 'react'; import Button from '@bufferapp/ui/Button'; -import { Folder } from '@bufferapp/ui/Icon'; +import Folder from '@bufferapp/ui/Icons/Folder'; /** Secondary with Icon */ export default function ExampleButton() { diff --git a/src/documentation/examples/Button/Type/TypeSplitWithEndIcon.jsx b/src/documentation/examples/Button/Type/TypeSplitWithEndIcon.jsx index a21f3f03..fab57cc8 100644 --- a/src/documentation/examples/Button/Type/TypeSplitWithEndIcon.jsx +++ b/src/documentation/examples/Button/Type/TypeSplitWithEndIcon.jsx @@ -1,7 +1,7 @@ import React from 'react'; import Button from '@bufferapp/ui/Button'; import Tag from '@bufferapp/ui/Tag'; -import { Flash } from '@bufferapp/ui/Icon'; +import Flash from '@bufferapp/ui/Icons/Flash'; /** Split Button With End Icon */ export default function ExampleSplitButton() { diff --git a/src/documentation/examples/DropdownMenu/DropdownMenu.jsx b/src/documentation/examples/DropdownMenu/DropdownMenu.jsx index 7b262eb7..5eab6203 100644 --- a/src/documentation/examples/DropdownMenu/DropdownMenu.jsx +++ b/src/documentation/examples/DropdownMenu/DropdownMenu.jsx @@ -3,8 +3,8 @@ import DropdownMenu from '@bufferapp/ui/DropdownMenu'; import Tag from '@bufferapp/ui/Tag'; import styled from 'styled-components'; -import Flash from '@bufferapp/ui/Icon/Icons/Flash'; -import Canva from '@bufferapp/ui/Icon/Icons/Canva'; +import Flash from '@bufferapp/ui/Icons/Flash'; +import Canva from '@bufferapp/ui/Icons/Canva'; import { white, grayDark, canva, canvaLight } from '@bufferapp/ui/style/colors'; diff --git a/src/documentation/examples/Icon/Add.jsx b/src/documentation/examples/Icons/Add.jsx similarity index 71% rename from src/documentation/examples/Icon/Add.jsx rename to src/documentation/examples/Icons/Add.jsx index 9fffbce8..76a62aa2 100644 --- a/src/documentation/examples/Icon/Add.jsx +++ b/src/documentation/examples/Icons/Add.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import AddIcon from '@bufferapp/ui/Icon/Icons/Add'; +import AddIcon from '@bufferapp/ui/Icons/Add'; /** Add */ export default function AddIconExample() { diff --git a/src/documentation/examples/Icon/AddMedia.jsx b/src/documentation/examples/Icons/AddMedia.jsx similarity index 70% rename from src/documentation/examples/Icon/AddMedia.jsx rename to src/documentation/examples/Icons/AddMedia.jsx index 39ed8ea4..ae1628a7 100644 --- a/src/documentation/examples/Icon/AddMedia.jsx +++ b/src/documentation/examples/Icons/AddMedia.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import AddMediaIcon from '@bufferapp/ui/Icon/Icons/AddMedia'; +import AddMediaIcon from '@bufferapp/ui/Icons/AddMedia'; /** AddMedia */ export default function AddMediaIconExample() { diff --git a/src/documentation/examples/Icon/Analyze.jsx b/src/documentation/examples/Icons/Analyze.jsx similarity index 70% rename from src/documentation/examples/Icon/Analyze.jsx rename to src/documentation/examples/Icons/Analyze.jsx index 4a6853be..b00f1e94 100644 --- a/src/documentation/examples/Icon/Analyze.jsx +++ b/src/documentation/examples/Icons/Analyze.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import AnalyzeIcon from '@bufferapp/ui/Icon/Icons/Analyze'; +import AnalyzeIcon from '@bufferapp/ui/Icons/Analyze'; /** Analyze */ export default function AnalyzeIconExample() { diff --git a/src/documentation/examples/Icon/Appearance.jsx b/src/documentation/examples/Icons/Appearance.jsx similarity index 69% rename from src/documentation/examples/Icon/Appearance.jsx rename to src/documentation/examples/Icons/Appearance.jsx index 9c4cbb9a..a1708078 100644 --- a/src/documentation/examples/Icon/Appearance.jsx +++ b/src/documentation/examples/Icons/Appearance.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import AppearanceIcon from '@bufferapp/ui/Icon/Icons/Appearance'; +import AppearanceIcon from '@bufferapp/ui/Icons/Appearance'; /** Appearance */ export default function AppearanceIconExample() { diff --git a/src/documentation/examples/Icon/AppleMusic.jsx b/src/documentation/examples/Icons/AppleMusic.jsx similarity index 69% rename from src/documentation/examples/Icon/AppleMusic.jsx rename to src/documentation/examples/Icons/AppleMusic.jsx index eb6bce20..4ac5b561 100644 --- a/src/documentation/examples/Icon/AppleMusic.jsx +++ b/src/documentation/examples/Icons/AppleMusic.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import AppleMusicIcon from '@bufferapp/ui/Icon/Icons/AppleMusic'; +import AppleMusicIcon from '@bufferapp/ui/Icons/AppleMusic'; /** AppleMusic */ export default function AppleMusicIconExample() { diff --git a/src/documentation/examples/Icon/ArrowDown.jsx b/src/documentation/examples/Icons/ArrowDown.jsx similarity index 69% rename from src/documentation/examples/Icon/ArrowDown.jsx rename to src/documentation/examples/Icons/ArrowDown.jsx index fbd6bc1f..9d29b927 100644 --- a/src/documentation/examples/Icon/ArrowDown.jsx +++ b/src/documentation/examples/Icons/ArrowDown.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ArrowDownIcon from '@bufferapp/ui/Icon/Icons/ArrowDown'; +import ArrowDownIcon from '@bufferapp/ui/Icons/ArrowDown'; /** ArrowDown */ export default function ArrowDownIconExample() { diff --git a/src/documentation/examples/Icon/ArrowLeft.jsx b/src/documentation/examples/Icons/ArrowLeft.jsx similarity index 69% rename from src/documentation/examples/Icon/ArrowLeft.jsx rename to src/documentation/examples/Icons/ArrowLeft.jsx index ba7d6a55..8dff4888 100644 --- a/src/documentation/examples/Icon/ArrowLeft.jsx +++ b/src/documentation/examples/Icons/ArrowLeft.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ArrowLeftIcon from '@bufferapp/ui/Icon/Icons/ArrowLeft'; +import ArrowLeftIcon from '@bufferapp/ui/Icons/ArrowLeft'; /** ArrowLeft */ export default function ArrowLeftIconExample() { diff --git a/src/documentation/examples/Icon/ArrowRight.jsx b/src/documentation/examples/Icons/ArrowRight.jsx similarity index 69% rename from src/documentation/examples/Icon/ArrowRight.jsx rename to src/documentation/examples/Icons/ArrowRight.jsx index 9bd60ea2..500891ad 100644 --- a/src/documentation/examples/Icon/ArrowRight.jsx +++ b/src/documentation/examples/Icons/ArrowRight.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ArrowRightIcon from '@bufferapp/ui/Icon/Icons/ArrowRight'; +import ArrowRightIcon from '@bufferapp/ui/Icons/ArrowRight'; /** ArrowRight */ export default function ArrowRightIconExample() { diff --git a/src/documentation/examples/Icon/ArrowUp.jsx b/src/documentation/examples/Icons/ArrowUp.jsx similarity index 70% rename from src/documentation/examples/Icon/ArrowUp.jsx rename to src/documentation/examples/Icons/ArrowUp.jsx index ca4847f2..61899190 100644 --- a/src/documentation/examples/Icon/ArrowUp.jsx +++ b/src/documentation/examples/Icons/ArrowUp.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ArrowUpIcon from '@bufferapp/ui/Icon/Icons/ArrowUp'; +import ArrowUpIcon from '@bufferapp/ui/Icons/ArrowUp'; /** ArrowUp */ export default function ArrowUpIconExample() { diff --git a/src/documentation/examples/Icon/Attach.jsx b/src/documentation/examples/Icons/Attach.jsx similarity index 70% rename from src/documentation/examples/Icon/Attach.jsx rename to src/documentation/examples/Icons/Attach.jsx index 9557f951..c34e0f64 100644 --- a/src/documentation/examples/Icon/Attach.jsx +++ b/src/documentation/examples/Icons/Attach.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import AttachIcon from '@bufferapp/ui/Icon/Icons/Attach'; +import AttachIcon from '@bufferapp/ui/Icons/Attach'; /** Attach */ export default function AttachIconExample() { diff --git a/src/documentation/examples/Icon/Audience.jsx b/src/documentation/examples/Icons/Audience.jsx similarity index 70% rename from src/documentation/examples/Icon/Audience.jsx rename to src/documentation/examples/Icons/Audience.jsx index 9d842ee2..b5e74e0f 100644 --- a/src/documentation/examples/Icon/Audience.jsx +++ b/src/documentation/examples/Icons/Audience.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import AudienceIcon from '@bufferapp/ui/Icon/Icons/Audience'; +import AudienceIcon from '@bufferapp/ui/Icons/Audience'; /** Audience */ export default function AudienceIconExample() { diff --git a/src/documentation/examples/Icon/Bandcamp.jsx b/src/documentation/examples/Icons/Bandcamp.jsx similarity index 70% rename from src/documentation/examples/Icon/Bandcamp.jsx rename to src/documentation/examples/Icons/Bandcamp.jsx index 41464fe3..2377b0ec 100644 --- a/src/documentation/examples/Icon/Bandcamp.jsx +++ b/src/documentation/examples/Icons/Bandcamp.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import BandcampIcon from '@bufferapp/ui/Icon/Icons/Bandcamp'; +import BandcampIcon from '@bufferapp/ui/Icons/Bandcamp'; /** Bandcamp */ export default function BandcampIconExample() { diff --git a/src/documentation/examples/Icon/Behance.jsx b/src/documentation/examples/Icons/Behance.jsx similarity index 70% rename from src/documentation/examples/Icon/Behance.jsx rename to src/documentation/examples/Icons/Behance.jsx index 5e17e041..be962734 100644 --- a/src/documentation/examples/Icon/Behance.jsx +++ b/src/documentation/examples/Icons/Behance.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import BehanceIcon from '@bufferapp/ui/Icon/Icons/Behance'; +import BehanceIcon from '@bufferapp/ui/Icons/Behance'; /** Behance */ export default function BehanceIconExample() { diff --git a/src/documentation/examples/Icon/Bell.jsx b/src/documentation/examples/Icons/Bell.jsx similarity index 71% rename from src/documentation/examples/Icon/Bell.jsx rename to src/documentation/examples/Icons/Bell.jsx index 5033a88c..4d465d56 100644 --- a/src/documentation/examples/Icon/Bell.jsx +++ b/src/documentation/examples/Icons/Bell.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import BellIcon from '@bufferapp/ui/Icon/Icons/Bell'; +import BellIcon from '@bufferapp/ui/Icons/Bell'; /** Bell */ export default function BellIconExample() { diff --git a/src/documentation/examples/Icon/Buffer.jsx b/src/documentation/examples/Icons/Buffer.jsx similarity index 70% rename from src/documentation/examples/Icon/Buffer.jsx rename to src/documentation/examples/Icons/Buffer.jsx index 3b8a69e6..a2edee65 100644 --- a/src/documentation/examples/Icon/Buffer.jsx +++ b/src/documentation/examples/Icons/Buffer.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import BufferIcon from '@bufferapp/ui/Icon/Icons/Buffer'; +import BufferIcon from '@bufferapp/ui/Icons/Buffer'; /** Buffer */ export default function BufferIconExample() { diff --git a/src/documentation/examples/Icon/Building.jsx b/src/documentation/examples/Icons/Building.jsx similarity index 70% rename from src/documentation/examples/Icon/Building.jsx rename to src/documentation/examples/Icons/Building.jsx index 9eb9c3ca..90cba5c0 100644 --- a/src/documentation/examples/Icon/Building.jsx +++ b/src/documentation/examples/Icons/Building.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import BuildingIcon from '@bufferapp/ui/Icon/Icons/Building'; +import BuildingIcon from '@bufferapp/ui/Icons/Building'; /** Building */ export default function BuildingIconExample() { diff --git a/src/documentation/examples/Icon/ButtonLink.jsx b/src/documentation/examples/Icons/ButtonLink.jsx similarity index 69% rename from src/documentation/examples/Icon/ButtonLink.jsx rename to src/documentation/examples/Icons/ButtonLink.jsx index 49fe348f..cb5eda7f 100644 --- a/src/documentation/examples/Icon/ButtonLink.jsx +++ b/src/documentation/examples/Icons/ButtonLink.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ButtonLinkIcon from '@bufferapp/ui/Icon/Icons/ButtonLink'; +import ButtonLinkIcon from '@bufferapp/ui/Icons/ButtonLink'; /** ButtonLink */ export default function ButtonLinkIconExample() { diff --git a/src/documentation/examples/Icon/Calendar.jsx b/src/documentation/examples/Icons/Calendar.jsx similarity index 70% rename from src/documentation/examples/Icon/Calendar.jsx rename to src/documentation/examples/Icons/Calendar.jsx index 89c1ece7..e4f81b61 100644 --- a/src/documentation/examples/Icon/Calendar.jsx +++ b/src/documentation/examples/Icons/Calendar.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import CalendarIcon from '@bufferapp/ui/Icon/Icons/Calendar'; +import CalendarIcon from '@bufferapp/ui/Icons/Calendar'; /** Calendar */ export default function CalendarIconExample() { diff --git a/src/documentation/examples/Icon/CalendarAdd.jsx b/src/documentation/examples/Icons/CalendarAdd.jsx similarity index 69% rename from src/documentation/examples/Icon/CalendarAdd.jsx rename to src/documentation/examples/Icons/CalendarAdd.jsx index 27b5a511..522d2985 100644 --- a/src/documentation/examples/Icon/CalendarAdd.jsx +++ b/src/documentation/examples/Icons/CalendarAdd.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import CalendarAddIcon from '@bufferapp/ui/Icon/Icons/CalendarAdd'; +import CalendarAddIcon from '@bufferapp/ui/Icons/CalendarAdd'; /** CalendarAdd */ export default function CalendarAddIconExample() { diff --git a/src/documentation/examples/Icon/Camera.jsx b/src/documentation/examples/Icons/Camera.jsx similarity index 70% rename from src/documentation/examples/Icon/Camera.jsx rename to src/documentation/examples/Icons/Camera.jsx index e0a00de8..52afa9d8 100644 --- a/src/documentation/examples/Icon/Camera.jsx +++ b/src/documentation/examples/Icons/Camera.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import CameraIcon from '@bufferapp/ui/Icon/Icons/Camera'; +import CameraIcon from '@bufferapp/ui/Icons/Camera'; /** Camera */ export default function CameraIconExample() { diff --git a/src/documentation/examples/Icon/Canva.jsx b/src/documentation/examples/Icons/Canva.jsx similarity index 70% rename from src/documentation/examples/Icon/Canva.jsx rename to src/documentation/examples/Icons/Canva.jsx index fc75f598..410e1f5a 100644 --- a/src/documentation/examples/Icon/Canva.jsx +++ b/src/documentation/examples/Icons/Canva.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import CanvaIcon from '@bufferapp/ui/Icon/Icons/Canva'; +import CanvaIcon from '@bufferapp/ui/Icons/Canva'; /** Canva */ export default function CanvaIconExample() { diff --git a/src/documentation/examples/Icon/Card.jsx b/src/documentation/examples/Icons/Card.jsx similarity index 71% rename from src/documentation/examples/Icon/Card.jsx rename to src/documentation/examples/Icons/Card.jsx index b302c3df..50588078 100644 --- a/src/documentation/examples/Icon/Card.jsx +++ b/src/documentation/examples/Icons/Card.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import CardIcon from '@bufferapp/ui/Icon/Icons/Card'; +import CardIcon from '@bufferapp/ui/Icons/Card'; /** Card */ export default function CardIconExample() { diff --git a/src/documentation/examples/Icon/CaretDown.jsx b/src/documentation/examples/Icons/CaretDown.jsx similarity index 69% rename from src/documentation/examples/Icon/CaretDown.jsx rename to src/documentation/examples/Icons/CaretDown.jsx index fd3755ce..b4bf7501 100644 --- a/src/documentation/examples/Icon/CaretDown.jsx +++ b/src/documentation/examples/Icons/CaretDown.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import CaretDownIcon from '@bufferapp/ui/Icon/Icons/CaretDown'; +import CaretDownIcon from '@bufferapp/ui/Icons/CaretDown'; /** CaretDown */ export default function CaretDownIconExample() { diff --git a/src/documentation/examples/Icon/CaretLeft.jsx b/src/documentation/examples/Icons/CaretLeft.jsx similarity index 69% rename from src/documentation/examples/Icon/CaretLeft.jsx rename to src/documentation/examples/Icons/CaretLeft.jsx index 66c3c6fd..1b24ae8c 100644 --- a/src/documentation/examples/Icon/CaretLeft.jsx +++ b/src/documentation/examples/Icons/CaretLeft.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import CaretLeftIcon from '@bufferapp/ui/Icon/Icons/CaretLeft'; +import CaretLeftIcon from '@bufferapp/ui/Icons/CaretLeft'; /** CaretLeft */ export default function CaretLeftIconExample() { diff --git a/src/documentation/examples/Icon/CaretRight.jsx b/src/documentation/examples/Icons/CaretRight.jsx similarity index 69% rename from src/documentation/examples/Icon/CaretRight.jsx rename to src/documentation/examples/Icons/CaretRight.jsx index eba9b119..913494d2 100644 --- a/src/documentation/examples/Icon/CaretRight.jsx +++ b/src/documentation/examples/Icons/CaretRight.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import CaretRightIcon from '@bufferapp/ui/Icon/Icons/CaretRight'; +import CaretRightIcon from '@bufferapp/ui/Icons/CaretRight'; /** CaretRight */ export default function CaretRightIconExample() { diff --git a/src/documentation/examples/Icon/CaretUp.jsx b/src/documentation/examples/Icons/CaretUp.jsx similarity index 70% rename from src/documentation/examples/Icon/CaretUp.jsx rename to src/documentation/examples/Icons/CaretUp.jsx index a4f6d4a8..bf4b4ad3 100644 --- a/src/documentation/examples/Icon/CaretUp.jsx +++ b/src/documentation/examples/Icons/CaretUp.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import CaretUpIcon from '@bufferapp/ui/Icon/Icons/CaretUp'; +import CaretUpIcon from '@bufferapp/ui/Icons/CaretUp'; /** CaretUp */ export default function CaretUpIconExample() { diff --git a/src/documentation/examples/Icon/Carousel.jsx b/src/documentation/examples/Icons/Carousel.jsx similarity index 70% rename from src/documentation/examples/Icon/Carousel.jsx rename to src/documentation/examples/Icons/Carousel.jsx index 9357f6f6..a639e941 100644 --- a/src/documentation/examples/Icon/Carousel.jsx +++ b/src/documentation/examples/Icons/Carousel.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import CarouselIcon from '@bufferapp/ui/Icon/Icons/Carousel'; +import CarouselIcon from '@bufferapp/ui/Icons/Carousel'; /** Carousel */ export default function CarouselIconExample() { diff --git a/src/documentation/examples/Icon/Channels.jsx b/src/documentation/examples/Icons/Channels.jsx similarity index 70% rename from src/documentation/examples/Icon/Channels.jsx rename to src/documentation/examples/Icons/Channels.jsx index c8d54755..8b6314a5 100644 --- a/src/documentation/examples/Icon/Channels.jsx +++ b/src/documentation/examples/Icons/Channels.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ChannelsIcon from '@bufferapp/ui/Icon/Icons/Channels'; +import ChannelsIcon from '@bufferapp/ui/Icons/Channels'; /** Channels */ export default function ChannelsIconExample() { diff --git a/src/documentation/examples/Icon/ChartLine.jsx b/src/documentation/examples/Icons/ChartLine.jsx similarity index 69% rename from src/documentation/examples/Icon/ChartLine.jsx rename to src/documentation/examples/Icons/ChartLine.jsx index 3d3ef210..bb399e77 100644 --- a/src/documentation/examples/Icon/ChartLine.jsx +++ b/src/documentation/examples/Icons/ChartLine.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ChartLineIcon from '@bufferapp/ui/Icon/Icons/ChartLine'; +import ChartLineIcon from '@bufferapp/ui/Icons/ChartLine'; /** ChartLine */ export default function ChartLineIconExample() { diff --git a/src/documentation/examples/Icon/Checkmark.jsx b/src/documentation/examples/Icons/Checkmark.jsx similarity index 69% rename from src/documentation/examples/Icon/Checkmark.jsx rename to src/documentation/examples/Icons/Checkmark.jsx index 6a42e349..899d2834 100644 --- a/src/documentation/examples/Icon/Checkmark.jsx +++ b/src/documentation/examples/Icons/Checkmark.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import CheckmarkIcon from '@bufferapp/ui/Icon/Icons/Checkmark'; +import CheckmarkIcon from '@bufferapp/ui/Icons/Checkmark'; /** Checkmark */ export default function CheckmarkIconExample() { diff --git a/src/documentation/examples/Icon/ChevronDown.jsx b/src/documentation/examples/Icons/ChevronDown.jsx similarity index 69% rename from src/documentation/examples/Icon/ChevronDown.jsx rename to src/documentation/examples/Icons/ChevronDown.jsx index d7c31468..15e43886 100644 --- a/src/documentation/examples/Icon/ChevronDown.jsx +++ b/src/documentation/examples/Icons/ChevronDown.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ChevronDownIcon from '@bufferapp/ui/Icon/Icons/ChevronDown'; +import ChevronDownIcon from '@bufferapp/ui/Icons/ChevronDown'; /** ChevronDown */ export default function ChevronDownIconExample() { diff --git a/src/documentation/examples/Icon/ChevronUp.jsx b/src/documentation/examples/Icons/ChevronUp.jsx similarity index 69% rename from src/documentation/examples/Icon/ChevronUp.jsx rename to src/documentation/examples/Icons/ChevronUp.jsx index 5311c87c..481c5cea 100644 --- a/src/documentation/examples/Icon/ChevronUp.jsx +++ b/src/documentation/examples/Icons/ChevronUp.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ChevronUpIcon from '@bufferapp/ui/Icon/Icons/ChevronUp'; +import ChevronUpIcon from '@bufferapp/ui/Icons/ChevronUp'; /** ChevronUp */ export default function ChevronUpIconExample() { diff --git a/src/documentation/examples/Icon/Clock.jsx b/src/documentation/examples/Icons/Clock.jsx similarity index 70% rename from src/documentation/examples/Icon/Clock.jsx rename to src/documentation/examples/Icons/Clock.jsx index e541f587..21f2e734 100644 --- a/src/documentation/examples/Icon/Clock.jsx +++ b/src/documentation/examples/Icons/Clock.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ClockIcon from '@bufferapp/ui/Icon/Icons/Clock'; +import ClockIcon from '@bufferapp/ui/Icons/Clock'; /** Clock */ export default function ClockIconExample() { diff --git a/src/documentation/examples/Icon/Clubhouse.jsx b/src/documentation/examples/Icons/Clubhouse.jsx similarity index 69% rename from src/documentation/examples/Icon/Clubhouse.jsx rename to src/documentation/examples/Icons/Clubhouse.jsx index 11d32b18..de2fef08 100644 --- a/src/documentation/examples/Icon/Clubhouse.jsx +++ b/src/documentation/examples/Icons/Clubhouse.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ClubhouseIcon from '@bufferapp/ui/Icon/Icons/Clubhouse'; +import ClubhouseIcon from '@bufferapp/ui/Icons/Clubhouse'; /** Clubhouse */ export default function ClubhouseIconExample() { diff --git a/src/documentation/examples/Icon/Compare.jsx b/src/documentation/examples/Icons/Compare.jsx similarity index 70% rename from src/documentation/examples/Icon/Compare.jsx rename to src/documentation/examples/Icons/Compare.jsx index 14204e9c..adda2963 100644 --- a/src/documentation/examples/Icon/Compare.jsx +++ b/src/documentation/examples/Icons/Compare.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import CompareIcon from '@bufferapp/ui/Icon/Icons/Compare'; +import CompareIcon from '@bufferapp/ui/Icons/Compare'; /** Compare */ export default function CompareIconExample() { diff --git a/src/documentation/examples/Icon/Copy.jsx b/src/documentation/examples/Icons/Copy.jsx similarity index 71% rename from src/documentation/examples/Icon/Copy.jsx rename to src/documentation/examples/Icons/Copy.jsx index 8e0592de..e4f817eb 100644 --- a/src/documentation/examples/Icon/Copy.jsx +++ b/src/documentation/examples/Icons/Copy.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import CopyIcon from '@bufferapp/ui/Icon/Icons/Copy'; +import CopyIcon from '@bufferapp/ui/Icons/Copy'; /** Copy */ export default function CopyIconExample() { diff --git a/src/documentation/examples/Icon/Coupon.jsx b/src/documentation/examples/Icons/Coupon.jsx similarity index 70% rename from src/documentation/examples/Icon/Coupon.jsx rename to src/documentation/examples/Icons/Coupon.jsx index 2920e0db..727b373c 100644 --- a/src/documentation/examples/Icon/Coupon.jsx +++ b/src/documentation/examples/Icons/Coupon.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import CouponIcon from '@bufferapp/ui/Icon/Icons/Coupon'; +import CouponIcon from '@bufferapp/ui/Icons/Coupon'; /** Coupon */ export default function CouponIconExample() { diff --git a/src/documentation/examples/Icon/Cross.jsx b/src/documentation/examples/Icons/Cross.jsx similarity index 70% rename from src/documentation/examples/Icon/Cross.jsx rename to src/documentation/examples/Icons/Cross.jsx index 5702b133..fd009328 100644 --- a/src/documentation/examples/Icon/Cross.jsx +++ b/src/documentation/examples/Icons/Cross.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import CrossIcon from '@bufferapp/ui/Icon/Icons/Cross'; +import CrossIcon from '@bufferapp/ui/Icons/Cross'; /** Cross */ export default function CrossIconExample() { diff --git a/src/documentation/examples/Icon/Day.jsx b/src/documentation/examples/Icons/Day.jsx similarity index 71% rename from src/documentation/examples/Icon/Day.jsx rename to src/documentation/examples/Icons/Day.jsx index 8a15a0f8..f10efa4d 100644 --- a/src/documentation/examples/Icon/Day.jsx +++ b/src/documentation/examples/Icons/Day.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import DayIcon from '@bufferapp/ui/Icon/Icons/Day'; +import DayIcon from '@bufferapp/ui/Icons/Day'; /** Day */ export default function DayIconExample() { diff --git a/src/documentation/examples/Icon/Direct.jsx b/src/documentation/examples/Icons/Direct.jsx similarity index 70% rename from src/documentation/examples/Icon/Direct.jsx rename to src/documentation/examples/Icons/Direct.jsx index 2516f4bf..b030e4f5 100644 --- a/src/documentation/examples/Icon/Direct.jsx +++ b/src/documentation/examples/Icons/Direct.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import DirectIcon from '@bufferapp/ui/Icon/Icons/Direct'; +import DirectIcon from '@bufferapp/ui/Icons/Direct'; /** Direct */ export default function DirectIconExample() { diff --git a/src/documentation/examples/Icon/Discord.jsx b/src/documentation/examples/Icons/Discord.jsx similarity index 70% rename from src/documentation/examples/Icon/Discord.jsx rename to src/documentation/examples/Icons/Discord.jsx index 77269ec5..91ab068b 100644 --- a/src/documentation/examples/Icon/Discord.jsx +++ b/src/documentation/examples/Icons/Discord.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import DiscordIcon from '@bufferapp/ui/Icon/Icons/Discord'; +import DiscordIcon from '@bufferapp/ui/Icons/Discord'; /** Discord */ export default function DiscordIconExample() { diff --git a/src/documentation/examples/Icon/Dollar.jsx b/src/documentation/examples/Icons/Dollar.jsx similarity index 70% rename from src/documentation/examples/Icon/Dollar.jsx rename to src/documentation/examples/Icons/Dollar.jsx index 00274d92..66163aea 100644 --- a/src/documentation/examples/Icon/Dollar.jsx +++ b/src/documentation/examples/Icons/Dollar.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import DollarIcon from '@bufferapp/ui/Icon/Icons/Dollar'; +import DollarIcon from '@bufferapp/ui/Icons/Dollar'; /** Dollar */ export default function DollarIconExample() { diff --git a/src/documentation/examples/Icon/Drafts.jsx b/src/documentation/examples/Icons/Drafts.jsx similarity index 70% rename from src/documentation/examples/Icon/Drafts.jsx rename to src/documentation/examples/Icons/Drafts.jsx index c4e55f33..75717112 100644 --- a/src/documentation/examples/Icon/Drafts.jsx +++ b/src/documentation/examples/Icons/Drafts.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import DraftsIcon from '@bufferapp/ui/Icon/Icons/Drafts'; +import DraftsIcon from '@bufferapp/ui/Icons/Drafts'; /** Drafts */ export default function DraftsIconExample() { diff --git a/src/documentation/examples/Icon/DragIndicator.jsx b/src/documentation/examples/Icons/DragIndicator.jsx similarity index 68% rename from src/documentation/examples/Icon/DragIndicator.jsx rename to src/documentation/examples/Icons/DragIndicator.jsx index c2f93ad1..e3e5b584 100644 --- a/src/documentation/examples/Icon/DragIndicator.jsx +++ b/src/documentation/examples/Icons/DragIndicator.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import DragIndicatorIcon from '@bufferapp/ui/Icon/Icons/DragIndicator'; +import DragIndicatorIcon from '@bufferapp/ui/Icons/DragIndicator'; /** DragIndicator */ export default function DragIndicatorIconExample() { diff --git a/src/documentation/examples/Icon/Dribbble.jsx b/src/documentation/examples/Icons/Dribbble.jsx similarity index 70% rename from src/documentation/examples/Icon/Dribbble.jsx rename to src/documentation/examples/Icons/Dribbble.jsx index 93d3e114..41d77a77 100644 --- a/src/documentation/examples/Icon/Dribbble.jsx +++ b/src/documentation/examples/Icons/Dribbble.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import DribbbleIcon from '@bufferapp/ui/Icon/Icons/Dribbble'; +import DribbbleIcon from '@bufferapp/ui/Icons/Dribbble'; /** Dribbble */ export default function DribbbleIconExample() { diff --git a/src/documentation/examples/Icon/Dropbox.jsx b/src/documentation/examples/Icons/Dropbox.jsx similarity index 70% rename from src/documentation/examples/Icon/Dropbox.jsx rename to src/documentation/examples/Icons/Dropbox.jsx index 2008a22e..3d4ce707 100644 --- a/src/documentation/examples/Icon/Dropbox.jsx +++ b/src/documentation/examples/Icons/Dropbox.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import DropboxIcon from '@bufferapp/ui/Icon/Icons/Dropbox'; +import DropboxIcon from '@bufferapp/ui/Icons/Dropbox'; /** Dropbox */ export default function DropboxIconExample() { diff --git a/src/documentation/examples/Icon/Email.jsx b/src/documentation/examples/Icons/Email.jsx similarity index 70% rename from src/documentation/examples/Icon/Email.jsx rename to src/documentation/examples/Icons/Email.jsx index f3c6f6e6..eb26318f 100644 --- a/src/documentation/examples/Icon/Email.jsx +++ b/src/documentation/examples/Icons/Email.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import EmailIcon from '@bufferapp/ui/Icon/Icons/Email'; +import EmailIcon from '@bufferapp/ui/Icons/Email'; /** Email */ export default function EmailIconExample() { diff --git a/src/documentation/examples/Icon/Emoji.jsx b/src/documentation/examples/Icons/Emoji.jsx similarity index 70% rename from src/documentation/examples/Icon/Emoji.jsx rename to src/documentation/examples/Icons/Emoji.jsx index 8675f2d2..aeb9f6c0 100644 --- a/src/documentation/examples/Icon/Emoji.jsx +++ b/src/documentation/examples/Icons/Emoji.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import EmojiIcon from '@bufferapp/ui/Icon/Icons/Emoji'; +import EmojiIcon from '@bufferapp/ui/Icons/Emoji'; /** Emoji */ export default function EmojiIconExample() { diff --git a/src/documentation/examples/Icon/Facebook.jsx b/src/documentation/examples/Icons/Facebook.jsx similarity index 70% rename from src/documentation/examples/Icon/Facebook.jsx rename to src/documentation/examples/Icons/Facebook.jsx index 4bd99b35..0f9c83a3 100644 --- a/src/documentation/examples/Icon/Facebook.jsx +++ b/src/documentation/examples/Icons/Facebook.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import FacebookIcon from '@bufferapp/ui/Icon/Icons/Facebook'; +import FacebookIcon from '@bufferapp/ui/Icons/Facebook'; /** Facebook */ export default function FacebookIconExample() { diff --git a/src/documentation/examples/Icon/Flag.jsx b/src/documentation/examples/Icons/Flag.jsx similarity index 71% rename from src/documentation/examples/Icon/Flag.jsx rename to src/documentation/examples/Icons/Flag.jsx index b4c54786..697884dc 100644 --- a/src/documentation/examples/Icon/Flag.jsx +++ b/src/documentation/examples/Icons/Flag.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import FlagIcon from '@bufferapp/ui/Icon/Icons/Flag'; +import FlagIcon from '@bufferapp/ui/Icons/Flag'; /** Flag */ export default function FlagIconExample() { diff --git a/src/documentation/examples/Icon/Flash.jsx b/src/documentation/examples/Icons/Flash.jsx similarity index 70% rename from src/documentation/examples/Icon/Flash.jsx rename to src/documentation/examples/Icons/Flash.jsx index 98a61299..6b2d83eb 100644 --- a/src/documentation/examples/Icon/Flash.jsx +++ b/src/documentation/examples/Icons/Flash.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import FlashIcon from '@bufferapp/ui/Icon/Icons/Flash'; +import FlashIcon from '@bufferapp/ui/Icons/Flash'; /** Flash */ export default function FlashIconExample() { diff --git a/src/documentation/examples/Icon/Folder.jsx b/src/documentation/examples/Icons/Folder.jsx similarity index 70% rename from src/documentation/examples/Icon/Folder.jsx rename to src/documentation/examples/Icons/Folder.jsx index 3f5cfb88..7e859a46 100644 --- a/src/documentation/examples/Icon/Folder.jsx +++ b/src/documentation/examples/Icons/Folder.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import FolderIcon from '@bufferapp/ui/Icon/Icons/Folder'; +import FolderIcon from '@bufferapp/ui/Icons/Folder'; /** Folder */ export default function FolderIconExample() { diff --git a/src/documentation/examples/Icon/Folders.jsx b/src/documentation/examples/Icons/Folders.jsx similarity index 70% rename from src/documentation/examples/Icon/Folders.jsx rename to src/documentation/examples/Icons/Folders.jsx index 4f46d55d..3c4839b4 100644 --- a/src/documentation/examples/Icon/Folders.jsx +++ b/src/documentation/examples/Icons/Folders.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import FoldersIcon from '@bufferapp/ui/Icon/Icons/Folders'; +import FoldersIcon from '@bufferapp/ui/Icons/Folders'; /** Folders */ export default function FoldersIconExample() { diff --git a/src/documentation/examples/Icon/Frequency.jsx b/src/documentation/examples/Icons/Frequency.jsx similarity index 69% rename from src/documentation/examples/Icon/Frequency.jsx rename to src/documentation/examples/Icons/Frequency.jsx index 262b49c1..fffb9cd2 100644 --- a/src/documentation/examples/Icon/Frequency.jsx +++ b/src/documentation/examples/Icons/Frequency.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import FrequencyIcon from '@bufferapp/ui/Icon/Icons/Frequency'; +import FrequencyIcon from '@bufferapp/ui/Icons/Frequency'; /** Frequency */ export default function FrequencyIconExample() { diff --git a/src/documentation/examples/Icon/Gbp.jsx b/src/documentation/examples/Icons/Gbp.jsx similarity index 71% rename from src/documentation/examples/Icon/Gbp.jsx rename to src/documentation/examples/Icons/Gbp.jsx index 8b213703..54a2a54f 100644 --- a/src/documentation/examples/Icon/Gbp.jsx +++ b/src/documentation/examples/Icons/Gbp.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import GbpIcon from '@bufferapp/ui/Icon/Icons/Gbp'; +import GbpIcon from '@bufferapp/ui/Icons/Gbp'; /** Gbp */ export default function GbpIconExample() { diff --git a/src/documentation/examples/Icon/Gear.jsx b/src/documentation/examples/Icons/Gear.jsx similarity index 71% rename from src/documentation/examples/Icon/Gear.jsx rename to src/documentation/examples/Icons/Gear.jsx index f842e965..bf0dc18d 100644 --- a/src/documentation/examples/Icon/Gear.jsx +++ b/src/documentation/examples/Icons/Gear.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import GearIcon from '@bufferapp/ui/Icon/Icons/Gear'; +import GearIcon from '@bufferapp/ui/Icons/Gear'; /** Gear */ export default function GearIconExample() { diff --git a/src/documentation/examples/Icon/Giphy.jsx b/src/documentation/examples/Icons/Giphy.jsx similarity index 70% rename from src/documentation/examples/Icon/Giphy.jsx rename to src/documentation/examples/Icons/Giphy.jsx index 16976ee1..057e0853 100644 --- a/src/documentation/examples/Icon/Giphy.jsx +++ b/src/documentation/examples/Icons/Giphy.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import GiphyIcon from '@bufferapp/ui/Icon/Icons/Giphy'; +import GiphyIcon from '@bufferapp/ui/Icons/Giphy'; /** Giphy */ export default function GiphyIconExample() { diff --git a/src/documentation/examples/Icon/Github.jsx b/src/documentation/examples/Icons/Github.jsx similarity index 70% rename from src/documentation/examples/Icon/Github.jsx rename to src/documentation/examples/Icons/Github.jsx index f8b3056c..f69bd5ed 100644 --- a/src/documentation/examples/Icon/Github.jsx +++ b/src/documentation/examples/Icons/Github.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import GithubIcon from '@bufferapp/ui/Icon/Icons/Github'; +import GithubIcon from '@bufferapp/ui/Icons/Github'; /** Github */ export default function GithubIconExample() { diff --git a/src/documentation/examples/Icon/Giveaway.jsx b/src/documentation/examples/Icons/Giveaway.jsx similarity index 70% rename from src/documentation/examples/Icon/Giveaway.jsx rename to src/documentation/examples/Icons/Giveaway.jsx index 75b173a7..4ead258e 100644 --- a/src/documentation/examples/Icon/Giveaway.jsx +++ b/src/documentation/examples/Icons/Giveaway.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import GiveawayIcon from '@bufferapp/ui/Icon/Icons/Giveaway'; +import GiveawayIcon from '@bufferapp/ui/Icons/Giveaway'; /** Giveaway */ export default function GiveawayIconExample() { diff --git a/src/documentation/examples/Icon/Gmb.jsx b/src/documentation/examples/Icons/Gmb.jsx similarity index 71% rename from src/documentation/examples/Icon/Gmb.jsx rename to src/documentation/examples/Icons/Gmb.jsx index 5de1fe66..5e7c6bb4 100644 --- a/src/documentation/examples/Icon/Gmb.jsx +++ b/src/documentation/examples/Icons/Gmb.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import GmbIcon from '@bufferapp/ui/Icon/Icons/Gmb'; +import GmbIcon from '@bufferapp/ui/Icons/Gmb'; /** Gmb */ export default function GmbIconExample() { diff --git a/src/documentation/examples/Icon/Google.jsx b/src/documentation/examples/Icons/Google.jsx similarity index 70% rename from src/documentation/examples/Icon/Google.jsx rename to src/documentation/examples/Icons/Google.jsx index 6c193036..0b2fcf6e 100644 --- a/src/documentation/examples/Icon/Google.jsx +++ b/src/documentation/examples/Icons/Google.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import GoogleIcon from '@bufferapp/ui/Icon/Icons/Google'; +import GoogleIcon from '@bufferapp/ui/Icons/Google'; /** Google */ export default function GoogleIconExample() { diff --git a/src/documentation/examples/Icon/GoogleDrive.jsx b/src/documentation/examples/Icons/GoogleDrive.jsx similarity index 69% rename from src/documentation/examples/Icon/GoogleDrive.jsx rename to src/documentation/examples/Icons/GoogleDrive.jsx index 31d573db..f0fe7028 100644 --- a/src/documentation/examples/Icon/GoogleDrive.jsx +++ b/src/documentation/examples/Icons/GoogleDrive.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import GoogleDriveIcon from '@bufferapp/ui/Icon/Icons/GoogleDrive'; +import GoogleDriveIcon from '@bufferapp/ui/Icons/GoogleDrive'; /** GoogleDrive */ export default function GoogleDriveIconExample() { diff --git a/src/documentation/examples/Icon/GooglePhotos.jsx b/src/documentation/examples/Icons/GooglePhotos.jsx similarity index 69% rename from src/documentation/examples/Icon/GooglePhotos.jsx rename to src/documentation/examples/Icons/GooglePhotos.jsx index dbb4d58b..2bcaf640 100644 --- a/src/documentation/examples/Icon/GooglePhotos.jsx +++ b/src/documentation/examples/Icons/GooglePhotos.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import GooglePhotosIcon from '@bufferapp/ui/Icon/Icons/GooglePhotos'; +import GooglePhotosIcon from '@bufferapp/ui/Icons/GooglePhotos'; /** GooglePhotos */ export default function GooglePhotosIconExample() { diff --git a/src/documentation/examples/Icon/GooglePlus.jsx b/src/documentation/examples/Icons/GooglePlus.jsx similarity index 69% rename from src/documentation/examples/Icon/GooglePlus.jsx rename to src/documentation/examples/Icons/GooglePlus.jsx index 367fab22..34c08f2a 100644 --- a/src/documentation/examples/Icon/GooglePlus.jsx +++ b/src/documentation/examples/Icons/GooglePlus.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import GooglePlusIcon from '@bufferapp/ui/Icon/Icons/GooglePlus'; +import GooglePlusIcon from '@bufferapp/ui/Icons/GooglePlus'; /** GooglePlus */ export default function GooglePlusIconExample() { diff --git a/src/documentation/examples/Icon/Hamburger.jsx b/src/documentation/examples/Icons/Hamburger.jsx similarity index 69% rename from src/documentation/examples/Icon/Hamburger.jsx rename to src/documentation/examples/Icons/Hamburger.jsx index 50a3f152..82bdee2e 100644 --- a/src/documentation/examples/Icon/Hamburger.jsx +++ b/src/documentation/examples/Icons/Hamburger.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import HamburgerIcon from '@bufferapp/ui/Icon/Icons/Hamburger'; +import HamburgerIcon from '@bufferapp/ui/Icons/Hamburger'; /** Hamburger */ export default function HamburgerIconExample() { diff --git a/src/documentation/examples/Icon/Hashtag.jsx b/src/documentation/examples/Icons/Hashtag.jsx similarity index 70% rename from src/documentation/examples/Icon/Hashtag.jsx rename to src/documentation/examples/Icons/Hashtag.jsx index 69f8a08b..a2680926 100644 --- a/src/documentation/examples/Icon/Hashtag.jsx +++ b/src/documentation/examples/Icons/Hashtag.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import HashtagIcon from '@bufferapp/ui/Icon/Icons/Hashtag'; +import HashtagIcon from '@bufferapp/ui/Icons/Hashtag'; /** Hashtag */ export default function HashtagIconExample() { diff --git a/src/documentation/examples/Icon/Heading.jsx b/src/documentation/examples/Icons/Heading.jsx similarity index 70% rename from src/documentation/examples/Icon/Heading.jsx rename to src/documentation/examples/Icons/Heading.jsx index dec371b6..fe184f00 100644 --- a/src/documentation/examples/Icon/Heading.jsx +++ b/src/documentation/examples/Icons/Heading.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import HeadingIcon from '@bufferapp/ui/Icon/Icons/Heading'; +import HeadingIcon from '@bufferapp/ui/Icons/Heading'; /** Heading */ export default function HeadingIconExample() { diff --git a/src/documentation/examples/Icon/Hide.jsx b/src/documentation/examples/Icons/Hide.jsx similarity index 71% rename from src/documentation/examples/Icon/Hide.jsx rename to src/documentation/examples/Icons/Hide.jsx index 032d1451..64c20726 100644 --- a/src/documentation/examples/Icon/Hide.jsx +++ b/src/documentation/examples/Icons/Hide.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import HideIcon from '@bufferapp/ui/Icon/Icons/Hide'; +import HideIcon from '@bufferapp/ui/Icons/Hide'; /** Hide */ export default function HideIconExample() { diff --git a/src/documentation/examples/Icon/Home.jsx b/src/documentation/examples/Icons/Home.jsx similarity index 71% rename from src/documentation/examples/Icon/Home.jsx rename to src/documentation/examples/Icons/Home.jsx index 08aa8b1c..50251bb5 100644 --- a/src/documentation/examples/Icon/Home.jsx +++ b/src/documentation/examples/Icons/Home.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import HomeIcon from '@bufferapp/ui/Icon/Icons/Home'; +import HomeIcon from '@bufferapp/ui/Icons/Home'; /** Home */ export default function HomeIconExample() { diff --git a/src/documentation/examples/Icon/Hotkeys.jsx b/src/documentation/examples/Icons/Hotkeys.jsx similarity index 70% rename from src/documentation/examples/Icon/Hotkeys.jsx rename to src/documentation/examples/Icons/Hotkeys.jsx index 2e48451c..e65b3a5f 100644 --- a/src/documentation/examples/Icon/Hotkeys.jsx +++ b/src/documentation/examples/Icons/Hotkeys.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import HotkeysIcon from '@bufferapp/ui/Icon/Icons/Hotkeys'; +import HotkeysIcon from '@bufferapp/ui/Icons/Hotkeys'; /** Hotkeys */ export default function HotkeysIconExample() { diff --git a/src/documentation/examples/Icon/Image.jsx b/src/documentation/examples/Icons/Image.jsx similarity index 70% rename from src/documentation/examples/Icon/Image.jsx rename to src/documentation/examples/Icons/Image.jsx index 5ffa85b3..bd6eae25 100644 --- a/src/documentation/examples/Icon/Image.jsx +++ b/src/documentation/examples/Icons/Image.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ImageIcon from '@bufferapp/ui/Icon/Icons/Image'; +import ImageIcon from '@bufferapp/ui/Icons/Image'; /** Image */ export default function ImageIconExample() { diff --git a/src/documentation/examples/Icon/Import.jsx b/src/documentation/examples/Icons/Import.jsx similarity index 70% rename from src/documentation/examples/Icon/Import.jsx rename to src/documentation/examples/Icons/Import.jsx index 41161751..54d05186 100644 --- a/src/documentation/examples/Icon/Import.jsx +++ b/src/documentation/examples/Icons/Import.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ImportIcon from '@bufferapp/ui/Icon/Icons/Import'; +import ImportIcon from '@bufferapp/ui/Icons/Import'; /** Import */ export default function ImportIconExample() { diff --git a/src/documentation/examples/Icon/Inbox.jsx b/src/documentation/examples/Icons/Inbox.jsx similarity index 70% rename from src/documentation/examples/Icon/Inbox.jsx rename to src/documentation/examples/Icons/Inbox.jsx index c11d0872..ea3b1240 100644 --- a/src/documentation/examples/Icon/Inbox.jsx +++ b/src/documentation/examples/Icons/Inbox.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import InboxIcon from '@bufferapp/ui/Icon/Icons/Inbox'; +import InboxIcon from '@bufferapp/ui/Icons/Inbox'; /** Inbox */ export default function InboxIconExample() { diff --git a/src/documentation/examples/Icon/Info.jsx b/src/documentation/examples/Icons/Info.jsx similarity index 71% rename from src/documentation/examples/Icon/Info.jsx rename to src/documentation/examples/Icons/Info.jsx index a5f822c0..9c3aa749 100644 --- a/src/documentation/examples/Icon/Info.jsx +++ b/src/documentation/examples/Icons/Info.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import InfoIcon from '@bufferapp/ui/Icon/Icons/Info'; +import InfoIcon from '@bufferapp/ui/Icons/Info'; /** Info */ export default function InfoIconExample() { diff --git a/src/documentation/examples/Icon/Instagram.jsx b/src/documentation/examples/Icons/Instagram.jsx similarity index 69% rename from src/documentation/examples/Icon/Instagram.jsx rename to src/documentation/examples/Icons/Instagram.jsx index a3eb709f..f46b0633 100644 --- a/src/documentation/examples/Icon/Instagram.jsx +++ b/src/documentation/examples/Icons/Instagram.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import InstagramIcon from '@bufferapp/ui/Icon/Icons/Instagram'; +import InstagramIcon from '@bufferapp/ui/Icons/Instagram'; /** Instagram */ export default function InstagramIconExample() { diff --git a/src/documentation/examples/Icon/InstagramComment.jsx b/src/documentation/examples/Icons/InstagramComment.jsx similarity index 68% rename from src/documentation/examples/Icon/InstagramComment.jsx rename to src/documentation/examples/Icons/InstagramComment.jsx index 18982fdb..ada6f36a 100644 --- a/src/documentation/examples/Icon/InstagramComment.jsx +++ b/src/documentation/examples/Icons/InstagramComment.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import InstagramCommentIcon from '@bufferapp/ui/Icon/Icons/InstagramComment'; +import InstagramCommentIcon from '@bufferapp/ui/Icons/InstagramComment'; /** InstagramComment */ export default function InstagramCommentIconExample() { diff --git a/src/documentation/examples/Icon/InstagramDm.jsx b/src/documentation/examples/Icons/InstagramDm.jsx similarity index 69% rename from src/documentation/examples/Icon/InstagramDm.jsx rename to src/documentation/examples/Icons/InstagramDm.jsx index 4f648109..d1af5436 100644 --- a/src/documentation/examples/Icon/InstagramDm.jsx +++ b/src/documentation/examples/Icons/InstagramDm.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import InstagramDmIcon from '@bufferapp/ui/Icon/Icons/InstagramDm'; +import InstagramDmIcon from '@bufferapp/ui/Icons/InstagramDm'; /** InstagramDm */ export default function InstagramDmIconExample() { diff --git a/src/documentation/examples/Icon/InstagramGrid.jsx b/src/documentation/examples/Icons/InstagramGrid.jsx similarity index 68% rename from src/documentation/examples/Icon/InstagramGrid.jsx rename to src/documentation/examples/Icons/InstagramGrid.jsx index abf15827..0b704fe3 100644 --- a/src/documentation/examples/Icon/InstagramGrid.jsx +++ b/src/documentation/examples/Icons/InstagramGrid.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import InstagramGridIcon from '@bufferapp/ui/Icon/Icons/InstagramGrid'; +import InstagramGridIcon from '@bufferapp/ui/Icons/InstagramGrid'; /** InstagramGrid */ export default function InstagramGridIconExample() { diff --git a/src/documentation/examples/Icon/InstagramLike.jsx b/src/documentation/examples/Icons/InstagramLike.jsx similarity index 68% rename from src/documentation/examples/Icon/InstagramLike.jsx rename to src/documentation/examples/Icons/InstagramLike.jsx index db8765c5..b4824690 100644 --- a/src/documentation/examples/Icon/InstagramLike.jsx +++ b/src/documentation/examples/Icons/InstagramLike.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import InstagramLikeIcon from '@bufferapp/ui/Icon/Icons/InstagramLike'; +import InstagramLikeIcon from '@bufferapp/ui/Icons/InstagramLike'; /** InstagramLike */ export default function InstagramLikeIconExample() { diff --git a/src/documentation/examples/Icon/Layout.jsx b/src/documentation/examples/Icons/Layout.jsx similarity index 70% rename from src/documentation/examples/Icon/Layout.jsx rename to src/documentation/examples/Icons/Layout.jsx index 9e0495e7..b21f9481 100644 --- a/src/documentation/examples/Icon/Layout.jsx +++ b/src/documentation/examples/Icons/Layout.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import LayoutIcon from '@bufferapp/ui/Icon/Icons/Layout'; +import LayoutIcon from '@bufferapp/ui/Icons/Layout'; /** Layout */ export default function LayoutIconExample() { diff --git a/src/documentation/examples/Icon/Link.jsx b/src/documentation/examples/Icons/Link.jsx similarity index 71% rename from src/documentation/examples/Icon/Link.jsx rename to src/documentation/examples/Icons/Link.jsx index a4895866..0e0199de 100644 --- a/src/documentation/examples/Icon/Link.jsx +++ b/src/documentation/examples/Icons/Link.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import LinkIcon from '@bufferapp/ui/Icon/Icons/Link'; +import LinkIcon from '@bufferapp/ui/Icons/Link'; /** Link */ export default function LinkIconExample() { diff --git a/src/documentation/examples/Icon/LinkedIn.jsx b/src/documentation/examples/Icons/LinkedIn.jsx similarity index 70% rename from src/documentation/examples/Icon/LinkedIn.jsx rename to src/documentation/examples/Icons/LinkedIn.jsx index 3de9c970..5be48645 100644 --- a/src/documentation/examples/Icon/LinkedIn.jsx +++ b/src/documentation/examples/Icons/LinkedIn.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import LinkedInIcon from '@bufferapp/ui/Icon/Icons/LinkedIn'; +import LinkedInIcon from '@bufferapp/ui/Icons/LinkedIn'; /** LinkedIn */ export default function LinkedInIconExample() { diff --git a/src/documentation/examples/Icon/List.jsx b/src/documentation/examples/Icons/List.jsx similarity index 71% rename from src/documentation/examples/Icon/List.jsx rename to src/documentation/examples/Icons/List.jsx index 2d694741..e69a6bb1 100644 --- a/src/documentation/examples/Icon/List.jsx +++ b/src/documentation/examples/Icons/List.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ListIcon from '@bufferapp/ui/Icon/Icons/List'; +import ListIcon from '@bufferapp/ui/Icons/List'; /** List */ export default function ListIconExample() { diff --git a/src/documentation/examples/Icon/Load.jsx b/src/documentation/examples/Icons/Load.jsx similarity index 71% rename from src/documentation/examples/Icon/Load.jsx rename to src/documentation/examples/Icons/Load.jsx index 61967430..14449f8b 100644 --- a/src/documentation/examples/Icon/Load.jsx +++ b/src/documentation/examples/Icons/Load.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import LoadIcon from '@bufferapp/ui/Icon/Icons/Load'; +import LoadIcon from '@bufferapp/ui/Icons/Load'; /** Load */ export default function LoadIconExample() { diff --git a/src/documentation/examples/Icon/Location.jsx b/src/documentation/examples/Icons/Location.jsx similarity index 70% rename from src/documentation/examples/Icon/Location.jsx rename to src/documentation/examples/Icons/Location.jsx index f9d74ef9..0bcd3414 100644 --- a/src/documentation/examples/Icon/Location.jsx +++ b/src/documentation/examples/Icons/Location.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import LocationIcon from '@bufferapp/ui/Icon/Icons/Location'; +import LocationIcon from '@bufferapp/ui/Icons/Location'; /** Location */ export default function LocationIconExample() { diff --git a/src/documentation/examples/Icon/Locked.jsx b/src/documentation/examples/Icons/Locked.jsx similarity index 70% rename from src/documentation/examples/Icon/Locked.jsx rename to src/documentation/examples/Icons/Locked.jsx index ec10c59f..08d5ca8b 100644 --- a/src/documentation/examples/Icon/Locked.jsx +++ b/src/documentation/examples/Icons/Locked.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import LockedIcon from '@bufferapp/ui/Icon/Icons/Locked'; +import LockedIcon from '@bufferapp/ui/Icons/Locked'; /** Locked */ export default function LockedIconExample() { diff --git a/src/documentation/examples/Icon/Mail.jsx b/src/documentation/examples/Icons/Mail.jsx similarity index 71% rename from src/documentation/examples/Icon/Mail.jsx rename to src/documentation/examples/Icons/Mail.jsx index 6034cb47..2d60c7af 100644 --- a/src/documentation/examples/Icon/Mail.jsx +++ b/src/documentation/examples/Icons/Mail.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import MailIcon from '@bufferapp/ui/Icon/Icons/Mail'; +import MailIcon from '@bufferapp/ui/Icons/Mail'; /** Mail */ export default function MailIconExample() { diff --git a/src/documentation/examples/Icon/Medium.jsx b/src/documentation/examples/Icons/Medium.jsx similarity index 70% rename from src/documentation/examples/Icon/Medium.jsx rename to src/documentation/examples/Icons/Medium.jsx index b5775ba6..fd86a389 100644 --- a/src/documentation/examples/Icon/Medium.jsx +++ b/src/documentation/examples/Icons/Medium.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import MediumIcon from '@bufferapp/ui/Icon/Icons/Medium'; +import MediumIcon from '@bufferapp/ui/Icons/Medium'; /** Medium */ export default function MediumIconExample() { diff --git a/src/documentation/examples/Icon/Message.jsx b/src/documentation/examples/Icons/Message.jsx similarity index 70% rename from src/documentation/examples/Icon/Message.jsx rename to src/documentation/examples/Icons/Message.jsx index 354f54c6..ea484260 100644 --- a/src/documentation/examples/Icon/Message.jsx +++ b/src/documentation/examples/Icons/Message.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import MessageIcon from '@bufferapp/ui/Icon/Icons/Message'; +import MessageIcon from '@bufferapp/ui/Icons/Message'; /** Message */ export default function MessageIconExample() { diff --git a/src/documentation/examples/Icon/Messenger.jsx b/src/documentation/examples/Icons/Messenger.jsx similarity index 69% rename from src/documentation/examples/Icon/Messenger.jsx rename to src/documentation/examples/Icons/Messenger.jsx index adccbf7d..22fa55e5 100644 --- a/src/documentation/examples/Icon/Messenger.jsx +++ b/src/documentation/examples/Icons/Messenger.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import MessengerIcon from '@bufferapp/ui/Icon/Icons/Messenger'; +import MessengerIcon from '@bufferapp/ui/Icons/Messenger'; /** Messenger */ export default function MessengerIconExample() { diff --git a/src/documentation/examples/Icon/More.jsx b/src/documentation/examples/Icons/More.jsx similarity index 71% rename from src/documentation/examples/Icon/More.jsx rename to src/documentation/examples/Icons/More.jsx index 59694e86..ebbc4c9f 100644 --- a/src/documentation/examples/Icon/More.jsx +++ b/src/documentation/examples/Icons/More.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import MoreIcon from '@bufferapp/ui/Icon/Icons/More'; +import MoreIcon from '@bufferapp/ui/Icons/More'; /** More */ export default function MoreIconExample() { diff --git a/src/documentation/examples/Icon/Movie.jsx b/src/documentation/examples/Icons/Movie.jsx similarity index 70% rename from src/documentation/examples/Icon/Movie.jsx rename to src/documentation/examples/Icons/Movie.jsx index 56a7bc00..42aaf244 100644 --- a/src/documentation/examples/Icon/Movie.jsx +++ b/src/documentation/examples/Icons/Movie.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import MovieIcon from '@bufferapp/ui/Icon/Icons/Movie'; +import MovieIcon from '@bufferapp/ui/Icons/Movie'; /** Movie */ export default function MovieIconExample() { diff --git a/src/documentation/examples/Icon/Negative.jsx b/src/documentation/examples/Icons/Negative.jsx similarity index 70% rename from src/documentation/examples/Icon/Negative.jsx rename to src/documentation/examples/Icons/Negative.jsx index 822a9b9d..acd2bf1f 100644 --- a/src/documentation/examples/Icon/Negative.jsx +++ b/src/documentation/examples/Icons/Negative.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import NegativeIcon from '@bufferapp/ui/Icon/Icons/Negative'; +import NegativeIcon from '@bufferapp/ui/Icons/Negative'; /** Negative */ export default function NegativeIconExample() { diff --git a/src/documentation/examples/Icon/Onedrive.jsx b/src/documentation/examples/Icons/Onedrive.jsx similarity index 70% rename from src/documentation/examples/Icon/Onedrive.jsx rename to src/documentation/examples/Icons/Onedrive.jsx index 670696d8..f92467e8 100644 --- a/src/documentation/examples/Icon/Onedrive.jsx +++ b/src/documentation/examples/Icons/Onedrive.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import OnedriveIcon from '@bufferapp/ui/Icon/Icons/Onedrive'; +import OnedriveIcon from '@bufferapp/ui/Icons/Onedrive'; /** Onedrive */ export default function OnedriveIconExample() { diff --git a/src/documentation/examples/Icon/OpenNew.jsx b/src/documentation/examples/Icons/OpenNew.jsx similarity index 70% rename from src/documentation/examples/Icon/OpenNew.jsx rename to src/documentation/examples/Icons/OpenNew.jsx index 7ca268a3..27198d4b 100644 --- a/src/documentation/examples/Icon/OpenNew.jsx +++ b/src/documentation/examples/Icons/OpenNew.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import OpenNewIcon from '@bufferapp/ui/Icon/Icons/OpenNew'; +import OpenNewIcon from '@bufferapp/ui/Icons/OpenNew'; /** OpenNew */ export default function OpenNewIconExample() { diff --git a/src/documentation/examples/Icon/Order.jsx b/src/documentation/examples/Icons/Order.jsx similarity index 70% rename from src/documentation/examples/Icon/Order.jsx rename to src/documentation/examples/Icons/Order.jsx index 6b00bc95..89b7fbe0 100644 --- a/src/documentation/examples/Icon/Order.jsx +++ b/src/documentation/examples/Icons/Order.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import OrderIcon from '@bufferapp/ui/Icon/Icons/Order'; +import OrderIcon from '@bufferapp/ui/Icons/Order'; /** Order */ export default function OrderIconExample() { diff --git a/src/documentation/examples/Icon/Organic.jsx b/src/documentation/examples/Icons/Organic.jsx similarity index 70% rename from src/documentation/examples/Icon/Organic.jsx rename to src/documentation/examples/Icons/Organic.jsx index c1ab4522..2f410fe6 100644 --- a/src/documentation/examples/Icon/Organic.jsx +++ b/src/documentation/examples/Icons/Organic.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import OrganicIcon from '@bufferapp/ui/Icon/Icons/Organic'; +import OrganicIcon from '@bufferapp/ui/Icons/Organic'; /** Organic */ export default function OrganicIconExample() { diff --git a/src/documentation/examples/Icon/Patreon.jsx b/src/documentation/examples/Icons/Patreon.jsx similarity index 70% rename from src/documentation/examples/Icon/Patreon.jsx rename to src/documentation/examples/Icons/Patreon.jsx index d0452e56..642f9375 100644 --- a/src/documentation/examples/Icon/Patreon.jsx +++ b/src/documentation/examples/Icons/Patreon.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PatreonIcon from '@bufferapp/ui/Icon/Icons/Patreon'; +import PatreonIcon from '@bufferapp/ui/Icons/Patreon'; /** Patreon */ export default function PatreonIconExample() { diff --git a/src/documentation/examples/Icon/Pause.jsx b/src/documentation/examples/Icons/Pause.jsx similarity index 70% rename from src/documentation/examples/Icon/Pause.jsx rename to src/documentation/examples/Icons/Pause.jsx index 10dbf098..64d04086 100644 --- a/src/documentation/examples/Icon/Pause.jsx +++ b/src/documentation/examples/Icons/Pause.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PauseIcon from '@bufferapp/ui/Icon/Icons/Pause'; +import PauseIcon from '@bufferapp/ui/Icons/Pause'; /** Pause */ export default function PauseIconExample() { diff --git a/src/documentation/examples/Icon/Paypal.jsx b/src/documentation/examples/Icons/Paypal.jsx similarity index 70% rename from src/documentation/examples/Icon/Paypal.jsx rename to src/documentation/examples/Icons/Paypal.jsx index 522b1549..48523ff2 100644 --- a/src/documentation/examples/Icon/Paypal.jsx +++ b/src/documentation/examples/Icons/Paypal.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PaypalIcon from '@bufferapp/ui/Icon/Icons/Paypal'; +import PaypalIcon from '@bufferapp/ui/Icons/Paypal'; /** Paypal */ export default function PaypalIconExample() { diff --git a/src/documentation/examples/Icon/Pencil.jsx b/src/documentation/examples/Icons/Pencil.jsx similarity index 70% rename from src/documentation/examples/Icon/Pencil.jsx rename to src/documentation/examples/Icons/Pencil.jsx index b335e40e..de3e9ae1 100644 --- a/src/documentation/examples/Icon/Pencil.jsx +++ b/src/documentation/examples/Icons/Pencil.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PencilIcon from '@bufferapp/ui/Icon/Icons/Pencil'; +import PencilIcon from '@bufferapp/ui/Icons/Pencil'; /** Pencil */ export default function PencilIconExample() { diff --git a/src/documentation/examples/Icon/People.jsx b/src/documentation/examples/Icons/People.jsx similarity index 70% rename from src/documentation/examples/Icon/People.jsx rename to src/documentation/examples/Icons/People.jsx index 7f10e30b..4c390723 100644 --- a/src/documentation/examples/Icon/People.jsx +++ b/src/documentation/examples/Icons/People.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PeopleIcon from '@bufferapp/ui/Icon/Icons/People'; +import PeopleIcon from '@bufferapp/ui/Icons/People'; /** People */ export default function PeopleIconExample() { diff --git a/src/documentation/examples/Icon/PercentageDown.jsx b/src/documentation/examples/Icons/PercentageDown.jsx similarity index 68% rename from src/documentation/examples/Icon/PercentageDown.jsx rename to src/documentation/examples/Icons/PercentageDown.jsx index 2fb9f7a9..3798b762 100644 --- a/src/documentation/examples/Icon/PercentageDown.jsx +++ b/src/documentation/examples/Icons/PercentageDown.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PercentageDownIcon from '@bufferapp/ui/Icon/Icons/PercentageDown'; +import PercentageDownIcon from '@bufferapp/ui/Icons/PercentageDown'; /** PercentageDown */ export default function PercentageDownIconExample() { diff --git a/src/documentation/examples/Icon/PercentageUp.jsx b/src/documentation/examples/Icons/PercentageUp.jsx similarity index 69% rename from src/documentation/examples/Icon/PercentageUp.jsx rename to src/documentation/examples/Icons/PercentageUp.jsx index 0a82563b..9cb2dcdf 100644 --- a/src/documentation/examples/Icon/PercentageUp.jsx +++ b/src/documentation/examples/Icons/PercentageUp.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PercentageUpIcon from '@bufferapp/ui/Icon/Icons/PercentageUp'; +import PercentageUpIcon from '@bufferapp/ui/Icons/PercentageUp'; /** PercentageUp */ export default function PercentageUpIconExample() { diff --git a/src/documentation/examples/Icon/Person.jsx b/src/documentation/examples/Icons/Person.jsx similarity index 70% rename from src/documentation/examples/Icon/Person.jsx rename to src/documentation/examples/Icons/Person.jsx index cc1034f3..b2ce1363 100644 --- a/src/documentation/examples/Icon/Person.jsx +++ b/src/documentation/examples/Icons/Person.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PersonIcon from '@bufferapp/ui/Icon/Icons/Person'; +import PersonIcon from '@bufferapp/ui/Icons/Person'; /** Person */ export default function PersonIconExample() { diff --git a/src/documentation/examples/Icon/Phone.jsx b/src/documentation/examples/Icons/Phone.jsx similarity index 70% rename from src/documentation/examples/Icon/Phone.jsx rename to src/documentation/examples/Icons/Phone.jsx index 3a0f4742..e049d0de 100644 --- a/src/documentation/examples/Icon/Phone.jsx +++ b/src/documentation/examples/Icons/Phone.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PhoneIcon from '@bufferapp/ui/Icon/Icons/Phone'; +import PhoneIcon from '@bufferapp/ui/Icons/Phone'; /** Phone */ export default function PhoneIconExample() { diff --git a/src/documentation/examples/Icon/Pin.jsx b/src/documentation/examples/Icons/Pin.jsx similarity index 71% rename from src/documentation/examples/Icon/Pin.jsx rename to src/documentation/examples/Icons/Pin.jsx index e707f6b1..d6a19fcf 100644 --- a/src/documentation/examples/Icon/Pin.jsx +++ b/src/documentation/examples/Icons/Pin.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PinIcon from '@bufferapp/ui/Icon/Icons/Pin'; +import PinIcon from '@bufferapp/ui/Icons/Pin'; /** Pin */ export default function PinIconExample() { diff --git a/src/documentation/examples/Icon/Pinned.jsx b/src/documentation/examples/Icons/Pinned.jsx similarity index 70% rename from src/documentation/examples/Icon/Pinned.jsx rename to src/documentation/examples/Icons/Pinned.jsx index 15022625..dfda86a3 100644 --- a/src/documentation/examples/Icon/Pinned.jsx +++ b/src/documentation/examples/Icons/Pinned.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PinnedIcon from '@bufferapp/ui/Icon/Icons/Pinned'; +import PinnedIcon from '@bufferapp/ui/Icons/Pinned'; /** Pinned */ export default function PinnedIconExample() { diff --git a/src/documentation/examples/Icon/Pinterest.jsx b/src/documentation/examples/Icons/Pinterest.jsx similarity index 69% rename from src/documentation/examples/Icon/Pinterest.jsx rename to src/documentation/examples/Icons/Pinterest.jsx index a684dffe..3ebd7660 100644 --- a/src/documentation/examples/Icon/Pinterest.jsx +++ b/src/documentation/examples/Icons/Pinterest.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PinterestIcon from '@bufferapp/ui/Icon/Icons/Pinterest'; +import PinterestIcon from '@bufferapp/ui/Icons/Pinterest'; /** Pinterest */ export default function PinterestIconExample() { diff --git a/src/documentation/examples/Icon/Placeholder.jsx b/src/documentation/examples/Icons/Placeholder.jsx similarity index 69% rename from src/documentation/examples/Icon/Placeholder.jsx rename to src/documentation/examples/Icons/Placeholder.jsx index d934c71b..4094fb3f 100644 --- a/src/documentation/examples/Icon/Placeholder.jsx +++ b/src/documentation/examples/Icons/Placeholder.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PlaceholderIcon from '@bufferapp/ui/Icon/Icons/Placeholder'; +import PlaceholderIcon from '@bufferapp/ui/Icons/Placeholder'; /** Placeholder */ export default function PlaceholderIconExample() { diff --git a/src/documentation/examples/Icon/Plus.jsx b/src/documentation/examples/Icons/Plus.jsx similarity index 71% rename from src/documentation/examples/Icon/Plus.jsx rename to src/documentation/examples/Icons/Plus.jsx index ff887f8e..642886a8 100644 --- a/src/documentation/examples/Icon/Plus.jsx +++ b/src/documentation/examples/Icons/Plus.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PlusIcon from '@bufferapp/ui/Icon/Icons/Plus'; +import PlusIcon from '@bufferapp/ui/Icons/Plus'; /** Plus */ export default function PlusIconExample() { diff --git a/src/documentation/examples/Icon/Post.jsx b/src/documentation/examples/Icons/Post.jsx similarity index 71% rename from src/documentation/examples/Icon/Post.jsx rename to src/documentation/examples/Icons/Post.jsx index 6025016d..352e33ac 100644 --- a/src/documentation/examples/Icon/Post.jsx +++ b/src/documentation/examples/Icons/Post.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PostIcon from '@bufferapp/ui/Icon/Icons/Post'; +import PostIcon from '@bufferapp/ui/Icons/Post'; /** Post */ export default function PostIconExample() { diff --git a/src/documentation/examples/Icon/Promoted.jsx b/src/documentation/examples/Icons/Promoted.jsx similarity index 70% rename from src/documentation/examples/Icon/Promoted.jsx rename to src/documentation/examples/Icons/Promoted.jsx index 1ad16a8d..713a7986 100644 --- a/src/documentation/examples/Icon/Promoted.jsx +++ b/src/documentation/examples/Icons/Promoted.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PromotedIcon from '@bufferapp/ui/Icon/Icons/Promoted'; +import PromotedIcon from '@bufferapp/ui/Icons/Promoted'; /** Promoted */ export default function PromotedIconExample() { diff --git a/src/documentation/examples/Icon/Publish.jsx b/src/documentation/examples/Icons/Publish.jsx similarity index 70% rename from src/documentation/examples/Icon/Publish.jsx rename to src/documentation/examples/Icons/Publish.jsx index 02019a94..fca9a072 100644 --- a/src/documentation/examples/Icon/Publish.jsx +++ b/src/documentation/examples/Icons/Publish.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import PublishIcon from '@bufferapp/ui/Icon/Icons/Publish'; +import PublishIcon from '@bufferapp/ui/Icons/Publish'; /** Publish */ export default function PublishIconExample() { diff --git a/src/documentation/examples/Icon/QrCode.jsx b/src/documentation/examples/Icons/QrCode.jsx similarity index 70% rename from src/documentation/examples/Icon/QrCode.jsx rename to src/documentation/examples/Icons/QrCode.jsx index 0ff3123d..66e95576 100644 --- a/src/documentation/examples/Icon/QrCode.jsx +++ b/src/documentation/examples/Icons/QrCode.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import QrCodeIcon from '@bufferapp/ui/Icon/Icons/QrCode'; +import QrCodeIcon from '@bufferapp/ui/Icons/QrCode'; /** QrCode */ export default function QrCodeIconExample() { diff --git a/src/documentation/examples/Icon/Question.jsx b/src/documentation/examples/Icons/Question.jsx similarity index 70% rename from src/documentation/examples/Icon/Question.jsx rename to src/documentation/examples/Icons/Question.jsx index e6094448..7d04d1f9 100644 --- a/src/documentation/examples/Icon/Question.jsx +++ b/src/documentation/examples/Icons/Question.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import QuestionIcon from '@bufferapp/ui/Icon/Icons/Question'; +import QuestionIcon from '@bufferapp/ui/Icons/Question'; /** Question */ export default function QuestionIconExample() { diff --git a/src/documentation/examples/Icon/Refresh.jsx b/src/documentation/examples/Icons/Refresh.jsx similarity index 70% rename from src/documentation/examples/Icon/Refresh.jsx rename to src/documentation/examples/Icons/Refresh.jsx index 7a4ac3fe..dbd75e73 100644 --- a/src/documentation/examples/Icon/Refresh.jsx +++ b/src/documentation/examples/Icons/Refresh.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import RefreshIcon from '@bufferapp/ui/Icon/Icons/Refresh'; +import RefreshIcon from '@bufferapp/ui/Icons/Refresh'; /** Refresh */ export default function RefreshIconExample() { diff --git a/src/documentation/examples/Icon/Reply.jsx b/src/documentation/examples/Icons/Reply.jsx similarity index 70% rename from src/documentation/examples/Icon/Reply.jsx rename to src/documentation/examples/Icons/Reply.jsx index e43062d2..3fe99c92 100644 --- a/src/documentation/examples/Icon/Reply.jsx +++ b/src/documentation/examples/Icons/Reply.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ReplyIcon from '@bufferapp/ui/Icon/Icons/Reply'; +import ReplyIcon from '@bufferapp/ui/Icons/Reply'; /** Reply */ export default function ReplyIconExample() { diff --git a/src/documentation/examples/Icon/Return.jsx b/src/documentation/examples/Icons/Return.jsx similarity index 70% rename from src/documentation/examples/Icon/Return.jsx rename to src/documentation/examples/Icons/Return.jsx index 40c29b51..acc9bcca 100644 --- a/src/documentation/examples/Icon/Return.jsx +++ b/src/documentation/examples/Icons/Return.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ReturnIcon from '@bufferapp/ui/Icon/Icons/Return'; +import ReturnIcon from '@bufferapp/ui/Icons/Return'; /** Return */ export default function ReturnIconExample() { diff --git a/src/documentation/examples/Icon/Save.jsx b/src/documentation/examples/Icons/Save.jsx similarity index 71% rename from src/documentation/examples/Icon/Save.jsx rename to src/documentation/examples/Icons/Save.jsx index b803499c..152d42b0 100644 --- a/src/documentation/examples/Icon/Save.jsx +++ b/src/documentation/examples/Icons/Save.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import SaveIcon from '@bufferapp/ui/Icon/Icons/Save'; +import SaveIcon from '@bufferapp/ui/Icons/Save'; /** Save */ export default function SaveIconExample() { diff --git a/src/documentation/examples/Icon/Search.jsx b/src/documentation/examples/Icons/Search.jsx similarity index 70% rename from src/documentation/examples/Icon/Search.jsx rename to src/documentation/examples/Icons/Search.jsx index 172a6714..2d6313cd 100644 --- a/src/documentation/examples/Icon/Search.jsx +++ b/src/documentation/examples/Icons/Search.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import SearchIcon from '@bufferapp/ui/Icon/Icons/Search'; +import SearchIcon from '@bufferapp/ui/Icons/Search'; /** Search */ export default function SearchIconExample() { diff --git a/src/documentation/examples/Icon/Shopify.jsx b/src/documentation/examples/Icons/Shopify.jsx similarity index 70% rename from src/documentation/examples/Icon/Shopify.jsx rename to src/documentation/examples/Icons/Shopify.jsx index 9c5722c5..d240f421 100644 --- a/src/documentation/examples/Icon/Shopify.jsx +++ b/src/documentation/examples/Icons/Shopify.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ShopifyIcon from '@bufferapp/ui/Icon/Icons/Shopify'; +import ShopifyIcon from '@bufferapp/ui/Icons/Shopify'; /** Shopify */ export default function ShopifyIconExample() { diff --git a/src/documentation/examples/Icon/Sidebar.jsx b/src/documentation/examples/Icons/Sidebar.jsx similarity index 70% rename from src/documentation/examples/Icon/Sidebar.jsx rename to src/documentation/examples/Icons/Sidebar.jsx index 479fa72f..83034c9b 100644 --- a/src/documentation/examples/Icon/Sidebar.jsx +++ b/src/documentation/examples/Icons/Sidebar.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import SidebarIcon from '@bufferapp/ui/Icon/Icons/Sidebar'; +import SidebarIcon from '@bufferapp/ui/Icons/Sidebar'; /** Sidebar */ export default function SidebarIconExample() { diff --git a/src/documentation/examples/Icon/SizeExtraLarge.jsx b/src/documentation/examples/Icons/SizeExtraLarge.jsx similarity index 73% rename from src/documentation/examples/Icon/SizeExtraLarge.jsx rename to src/documentation/examples/Icons/SizeExtraLarge.jsx index 310e04c6..361dab35 100644 --- a/src/documentation/examples/Icon/SizeExtraLarge.jsx +++ b/src/documentation/examples/Icons/SizeExtraLarge.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import LockIcon from '@bufferapp/ui/Icon/Icons/Locked'; +import LockIcon from '@bufferapp/ui/Icons/Locked'; /** Size: extra large icon */ export default function ExtraLargeIcon() { diff --git a/src/documentation/examples/Icon/SizeLarge.jsx b/src/documentation/examples/Icons/SizeLarge.jsx similarity index 71% rename from src/documentation/examples/Icon/SizeLarge.jsx rename to src/documentation/examples/Icons/SizeLarge.jsx index cf530c14..c4e1c71d 100644 --- a/src/documentation/examples/Icon/SizeLarge.jsx +++ b/src/documentation/examples/Icons/SizeLarge.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import LockIcon from '@bufferapp/ui/Icon/Icons/Locked'; +import LockIcon from '@bufferapp/ui/Icons/Locked'; /** Size: large icon */ export default function LargeIcon() { diff --git a/src/documentation/examples/Icon/SizeMedium.jsx b/src/documentation/examples/Icons/SizeMedium.jsx similarity index 71% rename from src/documentation/examples/Icon/SizeMedium.jsx rename to src/documentation/examples/Icons/SizeMedium.jsx index 02557455..78fb4907 100644 --- a/src/documentation/examples/Icon/SizeMedium.jsx +++ b/src/documentation/examples/Icons/SizeMedium.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import LockIcon from '@bufferapp/ui/Icon/Icons/Locked'; +import LockIcon from '@bufferapp/ui/Icons/Locked'; /** Size: medium icon */ export default function MediumIcon() { diff --git a/src/documentation/examples/Icon/SizeSmall.jsx b/src/documentation/examples/Icons/SizeSmall.jsx similarity index 71% rename from src/documentation/examples/Icon/SizeSmall.jsx rename to src/documentation/examples/Icons/SizeSmall.jsx index 7dacda6c..1993fb3c 100644 --- a/src/documentation/examples/Icon/SizeSmall.jsx +++ b/src/documentation/examples/Icons/SizeSmall.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import LockIcon from '@bufferapp/ui/Icon/Icons/Locked'; +import LockIcon from '@bufferapp/ui/Icons/Locked'; /** Size: small icon */ export default function SmallIcon() { diff --git a/src/documentation/examples/Icon/Sms.jsx b/src/documentation/examples/Icons/Sms.jsx similarity index 71% rename from src/documentation/examples/Icon/Sms.jsx rename to src/documentation/examples/Icons/Sms.jsx index 478d707b..4339da83 100644 --- a/src/documentation/examples/Icon/Sms.jsx +++ b/src/documentation/examples/Icons/Sms.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import SmsIcon from '@bufferapp/ui/Icon/Icons/Sms'; +import SmsIcon from '@bufferapp/ui/Icons/Sms'; /** Sms */ export default function SmsIconExample() { diff --git a/src/documentation/examples/Icon/Snapchat.jsx b/src/documentation/examples/Icons/Snapchat.jsx similarity index 70% rename from src/documentation/examples/Icon/Snapchat.jsx rename to src/documentation/examples/Icons/Snapchat.jsx index 69033e3b..4c3a8985 100644 --- a/src/documentation/examples/Icon/Snapchat.jsx +++ b/src/documentation/examples/Icons/Snapchat.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import SnapchatIcon from '@bufferapp/ui/Icon/Icons/Snapchat'; +import SnapchatIcon from '@bufferapp/ui/Icons/Snapchat'; /** Snapchat */ export default function SnapchatIconExample() { diff --git a/src/documentation/examples/Icon/SocialIcons.jsx b/src/documentation/examples/Icons/SocialIcons.jsx similarity index 69% rename from src/documentation/examples/Icon/SocialIcons.jsx rename to src/documentation/examples/Icons/SocialIcons.jsx index ff26506f..b199e533 100644 --- a/src/documentation/examples/Icon/SocialIcons.jsx +++ b/src/documentation/examples/Icons/SocialIcons.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import SocialIconsIcon from '@bufferapp/ui/Icon/Icons/SocialIcons'; +import SocialIconsIcon from '@bufferapp/ui/Icons/SocialIcons'; /** SocialIcons */ export default function SocialIconsIconExample() { diff --git a/src/documentation/examples/Icon/Soundcloud.jsx b/src/documentation/examples/Icons/Soundcloud.jsx similarity index 69% rename from src/documentation/examples/Icon/Soundcloud.jsx rename to src/documentation/examples/Icons/Soundcloud.jsx index 6565d392..ae56a67d 100644 --- a/src/documentation/examples/Icon/Soundcloud.jsx +++ b/src/documentation/examples/Icons/Soundcloud.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import SoundcloudIcon from '@bufferapp/ui/Icon/Icons/Soundcloud'; +import SoundcloudIcon from '@bufferapp/ui/Icons/Soundcloud'; /** Soundcloud */ export default function SoundcloudIconExample() { diff --git a/src/documentation/examples/Icon/Spam.jsx b/src/documentation/examples/Icons/Spam.jsx similarity index 71% rename from src/documentation/examples/Icon/Spam.jsx rename to src/documentation/examples/Icons/Spam.jsx index 9196adda..76c17d8c 100644 --- a/src/documentation/examples/Icon/Spam.jsx +++ b/src/documentation/examples/Icons/Spam.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import SpamIcon from '@bufferapp/ui/Icon/Icons/Spam'; +import SpamIcon from '@bufferapp/ui/Icons/Spam'; /** Spam */ export default function SpamIconExample() { diff --git a/src/documentation/examples/Icon/Sparkles.jsx b/src/documentation/examples/Icons/Sparkles.jsx similarity index 70% rename from src/documentation/examples/Icon/Sparkles.jsx rename to src/documentation/examples/Icons/Sparkles.jsx index b95b31e3..6c5fff07 100644 --- a/src/documentation/examples/Icon/Sparkles.jsx +++ b/src/documentation/examples/Icons/Sparkles.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import SparklesIcon from '@bufferapp/ui/Icon/Icons/Sparkles'; +import SparklesIcon from '@bufferapp/ui/Icons/Sparkles'; /** Sparkles */ export default function SparklesIconExample() { diff --git a/src/documentation/examples/Icon/Spotify.jsx b/src/documentation/examples/Icons/Spotify.jsx similarity index 70% rename from src/documentation/examples/Icon/Spotify.jsx rename to src/documentation/examples/Icons/Spotify.jsx index 39e972d9..56d561af 100644 --- a/src/documentation/examples/Icon/Spotify.jsx +++ b/src/documentation/examples/Icons/Spotify.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import SpotifyIcon from '@bufferapp/ui/Icon/Icons/Spotify'; +import SpotifyIcon from '@bufferapp/ui/Icons/Spotify'; /** Spotify */ export default function SpotifyIconExample() { diff --git a/src/documentation/examples/Icon/Star.jsx b/src/documentation/examples/Icons/Star.jsx similarity index 71% rename from src/documentation/examples/Icon/Star.jsx rename to src/documentation/examples/Icons/Star.jsx index c2229a36..23c019ec 100644 --- a/src/documentation/examples/Icon/Star.jsx +++ b/src/documentation/examples/Icons/Star.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import StarIcon from '@bufferapp/ui/Icon/Icons/Star'; +import StarIcon from '@bufferapp/ui/Icons/Star'; /** Star */ export default function StarIconExample() { diff --git a/src/documentation/examples/Icon/StartPage.jsx b/src/documentation/examples/Icons/StartPage.jsx similarity index 69% rename from src/documentation/examples/Icon/StartPage.jsx rename to src/documentation/examples/Icons/StartPage.jsx index 008e672b..63bca1ae 100644 --- a/src/documentation/examples/Icon/StartPage.jsx +++ b/src/documentation/examples/Icons/StartPage.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import StartPageIcon from '@bufferapp/ui/Icon/Icons/StartPage'; +import StartPageIcon from '@bufferapp/ui/Icons/StartPage'; /** StartPage */ export default function StartPageIconExample() { diff --git a/src/documentation/examples/Icon/Stats.jsx b/src/documentation/examples/Icons/Stats.jsx similarity index 70% rename from src/documentation/examples/Icon/Stats.jsx rename to src/documentation/examples/Icons/Stats.jsx index eac074a3..f5636888 100644 --- a/src/documentation/examples/Icon/Stats.jsx +++ b/src/documentation/examples/Icons/Stats.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import StatsIcon from '@bufferapp/ui/Icon/Icons/Stats'; +import StatsIcon from '@bufferapp/ui/Icons/Stats'; /** Stats */ export default function StatsIconExample() { diff --git a/src/documentation/examples/Icon/Subheading.jsx b/src/documentation/examples/Icons/Subheading.jsx similarity index 69% rename from src/documentation/examples/Icon/Subheading.jsx rename to src/documentation/examples/Icons/Subheading.jsx index c85618a2..da982a1a 100644 --- a/src/documentation/examples/Icon/Subheading.jsx +++ b/src/documentation/examples/Icons/Subheading.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import SubheadingIcon from '@bufferapp/ui/Icon/Icons/Subheading'; +import SubheadingIcon from '@bufferapp/ui/Icons/Subheading'; /** Subheading */ export default function SubheadingIconExample() { diff --git a/src/documentation/examples/Icon/Substack.jsx b/src/documentation/examples/Icons/Substack.jsx similarity index 70% rename from src/documentation/examples/Icon/Substack.jsx rename to src/documentation/examples/Icons/Substack.jsx index 12c239c5..b2d7cb20 100644 --- a/src/documentation/examples/Icon/Substack.jsx +++ b/src/documentation/examples/Icons/Substack.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import SubstackIcon from '@bufferapp/ui/Icon/Icons/Substack'; +import SubstackIcon from '@bufferapp/ui/Icons/Substack'; /** Substack */ export default function SubstackIconExample() { diff --git a/src/documentation/examples/Icon/Subtract.jsx b/src/documentation/examples/Icons/Subtract.jsx similarity index 70% rename from src/documentation/examples/Icon/Subtract.jsx rename to src/documentation/examples/Icons/Subtract.jsx index ad6c6ba8..ea0580a1 100644 --- a/src/documentation/examples/Icon/Subtract.jsx +++ b/src/documentation/examples/Icons/Subtract.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import SubtractIcon from '@bufferapp/ui/Icon/Icons/Subtract'; +import SubtractIcon from '@bufferapp/ui/Icons/Subtract'; /** Subtract */ export default function SubtractIconExample() { diff --git a/src/documentation/examples/Icon/Swap.jsx b/src/documentation/examples/Icons/Swap.jsx similarity index 71% rename from src/documentation/examples/Icon/Swap.jsx rename to src/documentation/examples/Icons/Swap.jsx index dd074f8a..1636f83b 100644 --- a/src/documentation/examples/Icon/Swap.jsx +++ b/src/documentation/examples/Icons/Swap.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import SwapIcon from '@bufferapp/ui/Icon/Icons/Swap'; +import SwapIcon from '@bufferapp/ui/Icons/Swap'; /** Swap */ export default function SwapIconExample() { diff --git a/src/documentation/examples/Icon/Tag.jsx b/src/documentation/examples/Icons/Tag.jsx similarity index 71% rename from src/documentation/examples/Icon/Tag.jsx rename to src/documentation/examples/Icons/Tag.jsx index 5ac8b1cf..35e6886b 100644 --- a/src/documentation/examples/Icon/Tag.jsx +++ b/src/documentation/examples/Icons/Tag.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import TagIcon from '@bufferapp/ui/Icon/Icons/Tag'; +import TagIcon from '@bufferapp/ui/Icons/Tag'; /** Tag */ export default function TagIconExample() { diff --git a/src/documentation/examples/Icon/Telegram.jsx b/src/documentation/examples/Icons/Telegram.jsx similarity index 70% rename from src/documentation/examples/Icon/Telegram.jsx rename to src/documentation/examples/Icons/Telegram.jsx index 261d80e7..992c1167 100644 --- a/src/documentation/examples/Icon/Telegram.jsx +++ b/src/documentation/examples/Icons/Telegram.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import TelegramIcon from '@bufferapp/ui/Icon/Icons/Telegram'; +import TelegramIcon from '@bufferapp/ui/Icons/Telegram'; /** Telegram */ export default function TelegramIconExample() { diff --git a/src/documentation/examples/Icon/Tiktok.jsx b/src/documentation/examples/Icons/Tiktok.jsx similarity index 70% rename from src/documentation/examples/Icon/Tiktok.jsx rename to src/documentation/examples/Icons/Tiktok.jsx index 813aeabf..16d219fb 100644 --- a/src/documentation/examples/Icon/Tiktok.jsx +++ b/src/documentation/examples/Icons/Tiktok.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import TiktokIcon from '@bufferapp/ui/Icon/Icons/Tiktok'; +import TiktokIcon from '@bufferapp/ui/Icons/Tiktok'; /** Tiktok */ export default function TiktokIconExample() { diff --git a/src/documentation/examples/Icon/Title.jsx b/src/documentation/examples/Icons/Title.jsx similarity index 70% rename from src/documentation/examples/Icon/Title.jsx rename to src/documentation/examples/Icons/Title.jsx index 14a57fd3..6329f347 100644 --- a/src/documentation/examples/Icon/Title.jsx +++ b/src/documentation/examples/Icons/Title.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import TitleIcon from '@bufferapp/ui/Icon/Icons/Title'; +import TitleIcon from '@bufferapp/ui/Icons/Title'; /** Title */ export default function TitleIconExample() { diff --git a/src/documentation/examples/Icon/Trash.jsx b/src/documentation/examples/Icons/Trash.jsx similarity index 70% rename from src/documentation/examples/Icon/Trash.jsx rename to src/documentation/examples/Icons/Trash.jsx index a2539d81..c2ce36c2 100644 --- a/src/documentation/examples/Icon/Trash.jsx +++ b/src/documentation/examples/Icons/Trash.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import TrashIcon from '@bufferapp/ui/Icon/Icons/Trash'; +import TrashIcon from '@bufferapp/ui/Icons/Trash'; /** Trash */ export default function TrashIconExample() { diff --git a/src/documentation/examples/Icon/Twitch.jsx b/src/documentation/examples/Icons/Twitch.jsx similarity index 70% rename from src/documentation/examples/Icon/Twitch.jsx rename to src/documentation/examples/Icons/Twitch.jsx index 81e73da6..8e295bda 100644 --- a/src/documentation/examples/Icon/Twitch.jsx +++ b/src/documentation/examples/Icons/Twitch.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import TwitchIcon from '@bufferapp/ui/Icon/Icons/Twitch'; +import TwitchIcon from '@bufferapp/ui/Icons/Twitch'; /** Twitch */ export default function TwitchIconExample() { diff --git a/src/documentation/examples/Icon/Twitter.jsx b/src/documentation/examples/Icons/Twitter.jsx similarity index 70% rename from src/documentation/examples/Icon/Twitter.jsx rename to src/documentation/examples/Icons/Twitter.jsx index 04a1b63e..52163d43 100644 --- a/src/documentation/examples/Icon/Twitter.jsx +++ b/src/documentation/examples/Icons/Twitter.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import TwitterIcon from '@bufferapp/ui/Icon/Icons/Twitter'; +import TwitterIcon from '@bufferapp/ui/Icons/Twitter'; /** Twitter */ export default function TwitterIconExample() { diff --git a/src/documentation/examples/Icon/Unknown.jsx b/src/documentation/examples/Icons/Unknown.jsx similarity index 70% rename from src/documentation/examples/Icon/Unknown.jsx rename to src/documentation/examples/Icons/Unknown.jsx index 4a8d8ae9..daa040f9 100644 --- a/src/documentation/examples/Icon/Unknown.jsx +++ b/src/documentation/examples/Icons/Unknown.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import UnknownIcon from '@bufferapp/ui/Icon/Icons/Unknown'; +import UnknownIcon from '@bufferapp/ui/Icons/Unknown'; /** Unknown */ export default function UnknownIconExample() { diff --git a/src/documentation/examples/Icon/Unlocked.jsx b/src/documentation/examples/Icons/Unlocked.jsx similarity index 70% rename from src/documentation/examples/Icon/Unlocked.jsx rename to src/documentation/examples/Icons/Unlocked.jsx index 7b013b9a..fbe633e0 100644 --- a/src/documentation/examples/Icon/Unlocked.jsx +++ b/src/documentation/examples/Icons/Unlocked.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import UnlockedIcon from '@bufferapp/ui/Icon/Icons/Unlocked'; +import UnlockedIcon from '@bufferapp/ui/Icons/Unlocked'; /** Unlocked */ export default function UnlockedIconExample() { diff --git a/src/documentation/examples/Icon/Unsplash.jsx b/src/documentation/examples/Icons/Unsplash.jsx similarity index 70% rename from src/documentation/examples/Icon/Unsplash.jsx rename to src/documentation/examples/Icons/Unsplash.jsx index dd91096b..8431dce9 100644 --- a/src/documentation/examples/Icon/Unsplash.jsx +++ b/src/documentation/examples/Icons/Unsplash.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import UnsplashIcon from '@bufferapp/ui/Icon/Icons/Unsplash'; +import UnsplashIcon from '@bufferapp/ui/Icons/Unsplash'; /** Unsplash */ export default function UnsplashIconExample() { diff --git a/src/documentation/examples/Icon/Video.jsx b/src/documentation/examples/Icons/Video.jsx similarity index 70% rename from src/documentation/examples/Icon/Video.jsx rename to src/documentation/examples/Icons/Video.jsx index dd19d325..c174497d 100644 --- a/src/documentation/examples/Icon/Video.jsx +++ b/src/documentation/examples/Icons/Video.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import VideoIcon from '@bufferapp/ui/Icon/Icons/Video'; +import VideoIcon from '@bufferapp/ui/Icons/Video'; /** Video */ export default function VideoIconExample() { diff --git a/src/documentation/examples/Icon/View.jsx b/src/documentation/examples/Icons/View.jsx similarity index 71% rename from src/documentation/examples/Icon/View.jsx rename to src/documentation/examples/Icons/View.jsx index 90ed5f57..f0dd24bc 100644 --- a/src/documentation/examples/Icon/View.jsx +++ b/src/documentation/examples/Icons/View.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import ViewIcon from '@bufferapp/ui/Icon/Icons/View'; +import ViewIcon from '@bufferapp/ui/Icons/View'; /** View */ export default function ViewIconExample() { diff --git a/src/documentation/examples/Icon/Warning.jsx b/src/documentation/examples/Icons/Warning.jsx similarity index 70% rename from src/documentation/examples/Icon/Warning.jsx rename to src/documentation/examples/Icons/Warning.jsx index 3798cddd..48d785b8 100644 --- a/src/documentation/examples/Icon/Warning.jsx +++ b/src/documentation/examples/Icons/Warning.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import WarningIcon from '@bufferapp/ui/Icon/Icons/Warning'; +import WarningIcon from '@bufferapp/ui/Icons/Warning'; /** Warning */ export default function WarningIconExample() { diff --git a/src/documentation/examples/Icon/Website.jsx b/src/documentation/examples/Icons/Website.jsx similarity index 70% rename from src/documentation/examples/Icon/Website.jsx rename to src/documentation/examples/Icons/Website.jsx index 130f0c63..a6d22517 100644 --- a/src/documentation/examples/Icon/Website.jsx +++ b/src/documentation/examples/Icons/Website.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import WebsiteIcon from '@bufferapp/ui/Icon/Icons/Website'; +import WebsiteIcon from '@bufferapp/ui/Icons/Website'; /** Website */ export default function WebsiteIconExample() { diff --git a/src/documentation/examples/Icon/Whatsapp.jsx b/src/documentation/examples/Icons/Whatsapp.jsx similarity index 70% rename from src/documentation/examples/Icon/Whatsapp.jsx rename to src/documentation/examples/Icons/Whatsapp.jsx index cf4b789c..b8ed7720 100644 --- a/src/documentation/examples/Icon/Whatsapp.jsx +++ b/src/documentation/examples/Icons/Whatsapp.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import WhatsappIcon from '@bufferapp/ui/Icon/Icons/Whatsapp'; +import WhatsappIcon from '@bufferapp/ui/Icons/Whatsapp'; /** Whatsapp */ export default function WhatsappIconExample() { diff --git a/src/documentation/examples/Icon/Youtube.jsx b/src/documentation/examples/Icons/Youtube.jsx similarity index 70% rename from src/documentation/examples/Icon/Youtube.jsx rename to src/documentation/examples/Icons/Youtube.jsx index c7641de4..050d3fc7 100644 --- a/src/documentation/examples/Icon/Youtube.jsx +++ b/src/documentation/examples/Icons/Youtube.jsx @@ -1,6 +1,6 @@ import React from 'react'; -import YoutubeIcon from '@bufferapp/ui/Icon/Icons/Youtube'; +import YoutubeIcon from '@bufferapp/ui/Icons/Youtube'; /** Youtube */ export default function YoutubeIconExample() { diff --git a/src/documentation/examples/Input/option/WithIcon.jsx b/src/documentation/examples/Input/option/WithIcon.jsx index e3f22e7f..39bda1a5 100644 --- a/src/documentation/examples/Input/option/WithIcon.jsx +++ b/src/documentation/examples/Input/option/WithIcon.jsx @@ -1,6 +1,6 @@ import React from 'react'; import Input from '@bufferapp/ui/Input'; -import SearchIcon from '@bufferapp/ui/Icon/Icons/Search'; +import SearchIcon from '@bufferapp/ui/Icons/Search'; /** Input with icon */ export default function ExampleInput() { diff --git a/src/documentation/examples/SegmentedControl/Interactive/IconPosition.jsx b/src/documentation/examples/SegmentedControl/Interactive/IconPosition.jsx index 7c1bf35c..ff50daea 100644 --- a/src/documentation/examples/SegmentedControl/Interactive/IconPosition.jsx +++ b/src/documentation/examples/SegmentedControl/Interactive/IconPosition.jsx @@ -1,7 +1,9 @@ import React, { useState } from 'react'; import Select from '@bufferapp/ui/Select'; import SegmentedControl from '@bufferapp/ui/SegmentedControl'; -import { Facebook, Pinterest, Twitter } from '@bufferapp/ui/Icon'; +import Facebook from '@bufferapp/ui/Icons/Facebook' +import Pinterest from '@bufferapp/ui/Icons/Pinterest' +import Twitter from '@bufferapp/ui/Icons/Twitter' const options = [ { diff --git a/src/documentation/examples/SegmentedControl/Size/SizeLarge.jsx b/src/documentation/examples/SegmentedControl/Size/SizeLarge.jsx index 8b8be278..3037f02c 100644 --- a/src/documentation/examples/SegmentedControl/Size/SizeLarge.jsx +++ b/src/documentation/examples/SegmentedControl/Size/SizeLarge.jsx @@ -1,6 +1,9 @@ import React, { useState } from 'react'; import SegmentedControl from '@bufferapp/ui/SegmentedControl'; -import { Facebook, Pinterest, Twitter } from '@bufferapp/ui/Icon'; + +import Facebook from '@bufferapp/ui/Icons/Facebook' +import Pinterest from '@bufferapp/ui/Icons/Pinterest' +import Twitter from '@bufferapp/ui/Icons/Twitter' const options = [ { diff --git a/src/documentation/examples/SegmentedControl/Size/SizeNormal.jsx b/src/documentation/examples/SegmentedControl/Size/SizeNormal.jsx index e330ee4c..5fd8b006 100644 --- a/src/documentation/examples/SegmentedControl/Size/SizeNormal.jsx +++ b/src/documentation/examples/SegmentedControl/Size/SizeNormal.jsx @@ -1,6 +1,9 @@ import React, { useState } from 'react'; import SegmentedControl from '@bufferapp/ui/SegmentedControl'; -import { Facebook, Pinterest, Twitter } from '@bufferapp/ui/Icon'; + +import Facebook from '@bufferapp/ui/Icons/Facebook' +import Pinterest from '@bufferapp/ui/Icons/Pinterest' +import Twitter from '@bufferapp/ui/Icons/Twitter' const options = [ { diff --git a/src/documentation/examples/SegmentedControl/Size/SizeSmall.jsx b/src/documentation/examples/SegmentedControl/Size/SizeSmall.jsx index 82bb4680..cca85487 100644 --- a/src/documentation/examples/SegmentedControl/Size/SizeSmall.jsx +++ b/src/documentation/examples/SegmentedControl/Size/SizeSmall.jsx @@ -1,6 +1,9 @@ import React, { useState } from 'react'; import SegmentedControl from '@bufferapp/ui/SegmentedControl'; -import { Facebook, Pinterest, Twitter } from '@bufferapp/ui/Icon'; + +import Facebook from '@bufferapp/ui/Icons/Facebook' +import Pinterest from '@bufferapp/ui/Icons/Pinterest' +import Twitter from '@bufferapp/ui/Icons/Twitter' const options = [ { diff --git a/src/documentation/examples/SegmentedControl/State/StateCustomDefault.jsx b/src/documentation/examples/SegmentedControl/State/StateCustomDefault.jsx index 645ac202..0f9e93d3 100644 --- a/src/documentation/examples/SegmentedControl/State/StateCustomDefault.jsx +++ b/src/documentation/examples/SegmentedControl/State/StateCustomDefault.jsx @@ -1,6 +1,8 @@ import React, { useState } from 'react'; import SegmentedControl from '@bufferapp/ui/SegmentedControl'; -import { Facebook, Pinterest, Twitter } from '@bufferapp/ui/Icon'; +import Facebook from '@bufferapp/ui/Icons/Facebook' +import Pinterest from '@bufferapp/ui/Icons/Pinterest' +import Twitter from '@bufferapp/ui/Icons/Twitter' const options = [ { diff --git a/src/documentation/examples/SegmentedControl/State/StateCustomTooltip.jsx b/src/documentation/examples/SegmentedControl/State/StateCustomTooltip.jsx index cdc33b85..593895ca 100644 --- a/src/documentation/examples/SegmentedControl/State/StateCustomTooltip.jsx +++ b/src/documentation/examples/SegmentedControl/State/StateCustomTooltip.jsx @@ -1,6 +1,8 @@ import React, { useState } from 'react'; import SegmentedControl from '@bufferapp/ui/SegmentedControl'; -import { Facebook, Pinterest, Twitter } from '@bufferapp/ui/Icon'; +import Facebook from '@bufferapp/ui/Icons/Facebook' +import Pinterest from '@bufferapp/ui/Icons/Pinterest' +import Twitter from '@bufferapp/ui/Icons/Twitter' const options = [ { diff --git a/src/documentation/examples/SegmentedControl/State/StateOptionDisabled.jsx b/src/documentation/examples/SegmentedControl/State/StateOptionDisabled.jsx index 80626995..4465141c 100644 --- a/src/documentation/examples/SegmentedControl/State/StateOptionDisabled.jsx +++ b/src/documentation/examples/SegmentedControl/State/StateOptionDisabled.jsx @@ -1,6 +1,8 @@ import React, { useState } from 'react'; import SegmentedControl from '@bufferapp/ui/SegmentedControl'; -import { Facebook, Pinterest, Twitter } from '@bufferapp/ui/Icon'; +import Facebook from '@bufferapp/ui/Icons/Facebook' +import Pinterest from '@bufferapp/ui/Icons/Pinterest' +import Twitter from '@bufferapp/ui/Icons/Twitter' const options = [ { diff --git a/src/documentation/examples/SegmentedControl/Type/TypeIconOnly.jsx b/src/documentation/examples/SegmentedControl/Type/TypeIconOnly.jsx index d0e94f1f..8a161afd 100644 --- a/src/documentation/examples/SegmentedControl/Type/TypeIconOnly.jsx +++ b/src/documentation/examples/SegmentedControl/Type/TypeIconOnly.jsx @@ -1,6 +1,8 @@ import React, { useState } from 'react'; import SegmentedControl from '@bufferapp/ui/SegmentedControl'; -import { Facebook, Pinterest, Twitter } from '@bufferapp/ui/Icon'; +import Facebook from '@bufferapp/ui/Icons/Facebook' +import Pinterest from '@bufferapp/ui/Icons/Pinterest' +import Twitter from '@bufferapp/ui/Icons/Twitter' const options = [ { diff --git a/src/documentation/examples/SegmentedControl/Type/TypeTextAndIcon.jsx b/src/documentation/examples/SegmentedControl/Type/TypeTextAndIcon.jsx index 3cf93528..f33150e4 100644 --- a/src/documentation/examples/SegmentedControl/Type/TypeTextAndIcon.jsx +++ b/src/documentation/examples/SegmentedControl/Type/TypeTextAndIcon.jsx @@ -1,6 +1,8 @@ import React, { useState } from 'react'; import SegmentedControl from '@bufferapp/ui/SegmentedControl'; -import { Facebook, Pinterest, Twitter } from '@bufferapp/ui/Icon'; +import Facebook from '@bufferapp/ui/Icons/Facebook' +import Pinterest from '@bufferapp/ui/Icons/Pinterest' +import Twitter from '@bufferapp/ui/Icons/Twitter' const options = [ { diff --git a/src/documentation/examples/SegmentedControl/Type/TypeTextOnly.jsx b/src/documentation/examples/SegmentedControl/Type/TypeTextOnly.jsx index f51f871f..dcc65798 100644 --- a/src/documentation/examples/SegmentedControl/Type/TypeTextOnly.jsx +++ b/src/documentation/examples/SegmentedControl/Type/TypeTextOnly.jsx @@ -1,6 +1,8 @@ import React, { useState } from 'react'; import SegmentedControl from '@bufferapp/ui/SegmentedControl'; -import { Facebook, Pinterest, Twitter } from '@bufferapp/ui/Icon'; +import Facebook from '@bufferapp/ui/Icons/Facebook' +import Pinterest from '@bufferapp/ui/Icons/Pinterest' +import Twitter from '@bufferapp/ui/Icons/Twitter' const options = [ { diff --git a/src/documentation/examples/Select/SelectIconOnly.jsx b/src/documentation/examples/Select/SelectIconOnly.jsx index 0fac16d6..b33f7e36 100644 --- a/src/documentation/examples/Select/SelectIconOnly.jsx +++ b/src/documentation/examples/Select/SelectIconOnly.jsx @@ -1,6 +1,6 @@ import React from 'react'; import Select from '@bufferapp/ui/Select'; -import MoreIcon from '@bufferapp/ui/Icon/Icons/More'; +import MoreIcon from '@bufferapp/ui/Icons/More'; /** With Icon Only */ export default function ExampleSelect() { diff --git a/src/documentation/examples/Select/SelectWithIcon.jsx b/src/documentation/examples/Select/SelectWithIcon.jsx index a0ce0d5a..f38bfaa8 100644 --- a/src/documentation/examples/Select/SelectWithIcon.jsx +++ b/src/documentation/examples/Select/SelectWithIcon.jsx @@ -1,6 +1,6 @@ import React from 'react'; import Select from '@bufferapp/ui/Select'; -import { Person } from '@bufferapp/ui/Icon'; +import Person from '@bufferapp/ui/Icons/Person'; /** With Icon */ diff --git a/src/documentation/examples/Select/SelectWithInputSearch.jsx b/src/documentation/examples/Select/SelectWithInputSearch.jsx index 075741f6..c2dd90d7 100644 --- a/src/documentation/examples/Select/SelectWithInputSearch.jsx +++ b/src/documentation/examples/Select/SelectWithInputSearch.jsx @@ -1,7 +1,7 @@ import React from 'react'; import Select from '@bufferapp/ui/Select'; import Search from '@bufferapp/ui/Search'; -import { Search as SearchIcon } from '@bufferapp/ui/Icon'; +import SearchIcon from '@bufferapp/ui/Icons/Search'; const searchBarWrapperStyle = { width: '100%', diff --git a/src/documentation/examples/Select/SelectWithMenuAndCustomItem.jsx b/src/documentation/examples/Select/SelectWithMenuAndCustomItem.jsx index dc2c2594..5a89d922 100644 --- a/src/documentation/examples/Select/SelectWithMenuAndCustomItem.jsx +++ b/src/documentation/examples/Select/SelectWithMenuAndCustomItem.jsx @@ -1,6 +1,9 @@ import React from 'react'; import Select from '@bufferapp/ui/Select'; -import { Person, People, Gear, ArrowLeft } from '@bufferapp/ui/Icon'; +import Person from '@bufferapp/ui/Icons/Person'; +import People from '@bufferapp/ui/Icons/People'; +import Gear from '@bufferapp/ui/Icons/Gear'; +import ArrowLeft from '@bufferapp/ui/Icons/ArrowLeft'; import { NavBarMenu } from '@bufferapp/ui/NavBar'; /** With Custom Component and Custom Items */ diff --git a/src/documentation/examples/Select/SelectWithSearch.jsx b/src/documentation/examples/Select/SelectWithSearch.jsx index 6d002752..b5c5d7b5 100644 --- a/src/documentation/examples/Select/SelectWithSearch.jsx +++ b/src/documentation/examples/Select/SelectWithSearch.jsx @@ -1,6 +1,6 @@ import React from 'react'; import Select from '@bufferapp/ui/Select'; -import { Flag } from '@bufferapp/ui/Icon'; +import Flag from '@bufferapp/ui/Icons/Flag'; /** With Search */ export default function ExampleSelectWithSearch() { diff --git a/src/documentation/examples/SidebarListItem/SidebarListItem.jsx b/src/documentation/examples/SidebarListItem/SidebarListItem.jsx index 1db278a2..dcc76c5e 100644 --- a/src/documentation/examples/SidebarListItem/SidebarListItem.jsx +++ b/src/documentation/examples/SidebarListItem/SidebarListItem.jsx @@ -1,6 +1,6 @@ import React from 'react'; import SidebarListItem from '@bufferapp/ui/SidebarListItem'; -import { Person } from '@bufferapp/ui/Icon'; +import Person from '@bufferapp/ui/Icons/Person'; /** SidebarListItem Example */ export default function ExampleSidebarListItem() { diff --git a/src/documentation/examples/SidebarListItem/SidebarListItemSelected.jsx b/src/documentation/examples/SidebarListItem/SidebarListItemSelected.jsx index 2955ab87..ab5385cb 100644 --- a/src/documentation/examples/SidebarListItem/SidebarListItemSelected.jsx +++ b/src/documentation/examples/SidebarListItem/SidebarListItemSelected.jsx @@ -1,6 +1,6 @@ import React from 'react'; import SidebarListItem from '@bufferapp/ui/SidebarListItem'; -import { Person } from '@bufferapp/ui/Icon'; +import Person from '@bufferapp/ui/Icons/Person'; /** SidebarListItem Selected Example */ export default function ExampleSidebarListItem() { diff --git a/src/documentation/examples/SidebarListItem/SidebarListItemWithIcon.jsx b/src/documentation/examples/SidebarListItem/SidebarListItemWithIcon.jsx index a086492a..d70e8947 100644 --- a/src/documentation/examples/SidebarListItem/SidebarListItemWithIcon.jsx +++ b/src/documentation/examples/SidebarListItem/SidebarListItemWithIcon.jsx @@ -1,6 +1,6 @@ import React from 'react'; import SidebarListItem from '@bufferapp/ui/SidebarListItem'; -import { Warning } from '@bufferapp/ui/Icon'; +import Warning from '@bufferapp/ui/Icons/Warning'; /** SidebarListItem With Badge Icon Example */ export default function ExampleSidebarListItem() { diff --git a/src/documentation/examples/Tag/IconTag.jsx b/src/documentation/examples/Tag/IconTag.jsx index 03121088..4e96d6bc 100644 --- a/src/documentation/examples/Tag/IconTag.jsx +++ b/src/documentation/examples/Tag/IconTag.jsx @@ -1,6 +1,6 @@ import React from 'react'; import Tag from '@bufferapp/ui/Tag'; -import FlashIcon from '@bufferapp/ui/Icon/Icons/Flash'; +import FlashIcon from '@bufferapp/ui/Icons/Flash'; /** Tag with icon */ export default function IconTag() { diff --git a/src/documentation/markdown/UI.md b/src/documentation/markdown/UI.md index f7e70f3f..eebb33d4 100644 --- a/src/documentation/markdown/UI.md +++ b/src/documentation/markdown/UI.md @@ -9,7 +9,7 @@ Here are the articles in this section: [Carousel](ui/carousel) [CrossSell](ui/crossSell) [DropdownMenu](ui/dropdownmenu) -[Icon](ui/icon) +[Icons](ui/icons) [Input](ui/input) [Link](ui/link) [Loader](ui/loader)