@hellobetterdigitalnz/selwynui 0.0.1-7 → 0.0.1-71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +9 -1
- package/src/Components/DataDisplay/Accordion/Accordion.stories.tsx +7 -20
- package/src/Components/DataDisplay/Accordion/Accordion.tsx +21 -20
- package/src/Components/DataDisplay/Accordion/AccordionItem.tsx +2 -2
- package/src/Components/DataDisplay/Accordion/AccordionProps.tsx +2 -1
- package/src/Components/DataDisplay/Accordion/accordion-bg-design.tsx +5 -5
- package/src/Components/DataDisplay/Accordion/accordion.module.scss +75 -43
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderTool.stories.tsx +53 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderTool.tsx +23 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolMain/BrandBuilderToolMain.tsx +13 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolMain/BrandBuilderToolMainProps.tsx +7 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolProps.tsx +9 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolTemplate/BrandBuilderToolTemplateItem.tsx +15 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolTemplate/BrandBuilderToolTemplateItemProps.tsx +10 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolTemplate/BrandBuilderToolTemplateSelector.tsx +29 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolTemplate/BrandBuilderToolTemplateSelectorProps.tsx +8 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolUploader/BrandBuilderToolUploader.tsx +33 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolUploader/BrandBuilderToolUploaderProps.tsx +8 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolWrapper/BrandBuilderToolWrapper.tsx +17 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolWrapper/BrandBuilderToolWrapperProps.tsx +8 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandbuilderToolPreview/BrandBuilderToolPreview.tsx +25 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandbuilderToolPreview/BrandBuilderToolPreviewProps.tsx +8 -0
- package/src/Components/DataDisplay/BrandBuilderTool/brandBuilder.module.scss +215 -0
- package/src/Components/DataDisplay/CallToActionBlock/CallToActionBlock.stories.tsx +92 -0
- package/src/Components/DataDisplay/CallToActionBlock/CallToActionBlock.tsx +80 -0
- package/src/Components/DataDisplay/CallToActionBlock/CallToActionBlockProps.tsx +18 -0
- package/src/Components/DataDisplay/CallToActionBlock/callToAction.module.scss +79 -0
- package/src/Components/DataDisplay/CallToActionBlock/callToAction.module.scss~ +78 -0
- package/src/Components/DataDisplay/CarouselBlock/CarouselBlock.stories.tsx +77 -0
- package/src/Components/DataDisplay/CarouselBlock/CarouselBlock.tsx +73 -0
- package/src/Components/DataDisplay/CarouselBlock/CarouselBlockProps.tsx +23 -0
- package/src/Components/DataDisplay/CarouselBlock/carouselBlock.module.scss +60 -0
- package/src/Components/DataDisplay/ChatItenaryBlock/ChatItenaryBlock.stories.tsx +128 -0
- package/src/Components/DataDisplay/ChatItenaryBlock/ChatItenaryBlock.tsx +257 -0
- package/src/Components/DataDisplay/ChatItenaryBlock/ChatItenaryBlockProps.tsx +44 -0
- package/src/Components/DataDisplay/ChatItenaryBlock/chatItenaryBlock.module.scss +777 -0
- package/src/Components/DataDisplay/ContactsBlock/ContactItem.tsx +47 -0
- package/src/Components/DataDisplay/ContactsBlock/ContactItemProps.tsx +10 -0
- package/src/Components/DataDisplay/ContactsBlock/ContactsBlock.stories.tsx +59 -0
- package/src/Components/DataDisplay/ContactsBlock/ContactsBlock.tsx +24 -0
- package/src/Components/DataDisplay/ContactsBlock/ContactsBlockProps.tsx +8 -0
- package/src/Components/DataDisplay/ContactsBlock/contactsBlock.module.scss +165 -0
- package/src/Components/DataDisplay/ContentBlock/ContentBlock.stories.tsx +107 -0
- package/src/Components/DataDisplay/ContentBlock/ContentBlock.tsx +36 -0
- package/src/Components/DataDisplay/ContentBlock/ContentBlockProps.tsx +11 -0
- package/src/Components/DataDisplay/ContentBlock/contentBlock.module.scss +76 -0
- package/src/Components/DataDisplay/DetailsCard/DetailsCard.tsx +8 -10
- package/src/Components/DataDisplay/DetailsCard/DetailsCardProps.tsx +0 -1
- package/src/Components/DataDisplay/DetailsCard/detailsCard.module.scss +3 -1
- package/src/Components/DataDisplay/ImageContent/ImageContent.stories.tsx +5 -11
- package/src/Components/DataDisplay/ImageContent/ImageContent.tsx +12 -11
- package/src/Components/DataDisplay/ImageContent/ImageContentProps.tsx +4 -0
- package/src/Components/DataDisplay/ImageContent/imageContent.module.scss +30 -14
- package/src/Components/DataDisplay/IntroBlock/IntroBlock.stories.tsx +1 -1
- package/src/Components/DataDisplay/IntroBlock/introBlock.module.scss +27 -3
- package/src/Components/DataDisplay/KPIBlock/KPIBlock.stories.tsx +3 -4
- package/src/Components/DataDisplay/KPIBlock/KPIBlock.tsx +14 -7
- package/src/Components/DataDisplay/KPIBlock/KPIBlockProps.tsx +6 -2
- package/src/Components/DataDisplay/KPIBlock/kpiBlock.module.scss +179 -16
- package/src/Components/DataDisplay/{Pathway/Pathway.stories.tsx → ListBlock/ListBlock.stories.tsx} +20 -18
- package/src/Components/DataDisplay/ListBlock/ListBlock.tsx +133 -0
- package/src/Components/DataDisplay/ListBlock/ListBlockProps.tsx +28 -0
- package/src/Components/DataDisplay/{Pathway/pathway.module.scss → ListBlock/listBlock.module.scss} +30 -6
- package/src/Components/DataDisplay/ListingDetailBlock/ListingDetailBlock.stories.tsx +93 -0
- package/src/Components/DataDisplay/ListingDetailBlock/ListingDetailBlock.tsx +74 -0
- package/src/Components/DataDisplay/ListingDetailBlock/ListingDetailBlockProps.tsx +23 -0
- package/src/Components/DataDisplay/ListingDetailBlock/listingDetailBlock.module.scss +265 -0
- package/src/Components/DataDisplay/Media/Media.stories.tsx +36 -0
- package/src/Components/DataDisplay/Media/Media.tsx +158 -0
- package/src/Components/DataDisplay/Media/MediaProps.tsx +8 -0
- package/src/Components/DataDisplay/Media/media.module.scss +16 -0
- package/src/Components/DataDisplay/Media/mediaVideo.scss +88 -0
- package/src/Components/DataDisplay/Modal/Modal.stories.tsx +89 -0
- package/src/Components/DataDisplay/Modal/Modal.tsx +16 -0
- package/src/Components/DataDisplay/Modal/ModalActions.tsx +14 -0
- package/src/Components/DataDisplay/Modal/ModalActionsLeft.tsx +13 -0
- package/src/Components/DataDisplay/Modal/ModalActionsLeftProps.tsx +8 -0
- package/src/Components/DataDisplay/Modal/ModalActionsProps.tsx +8 -0
- package/src/Components/DataDisplay/Modal/ModalActionsRight.tsx +14 -0
- package/src/Components/DataDisplay/Modal/ModalActionsRightProps.tsx +8 -0
- package/src/Components/DataDisplay/Modal/ModalBody.tsx +14 -0
- package/src/Components/DataDisplay/Modal/ModalBodyProps.tsx +8 -0
- package/src/Components/DataDisplay/Modal/ModalCurtain.tsx +6 -0
- package/src/Components/DataDisplay/Modal/ModalHeader.tsx +55 -0
- package/src/Components/DataDisplay/Modal/ModalHeaderProps.tsx +10 -0
- package/src/Components/DataDisplay/Modal/ModalProps.tsx +9 -0
- package/src/Components/DataDisplay/Modal/modal.module.scss +178 -0
- package/src/Components/DataDisplay/PathwayBlock/PathwayBlock.stories.tsx +27 -13
- package/src/Components/DataDisplay/PathwayBlock/PathwayBlock.tsx +7 -6
- package/src/Components/DataDisplay/PathwayBlock/PathwayBlockProps.tsx +10 -4
- package/src/Components/DataDisplay/PathwayBlock/pathwayBlock.module.scss +27 -23
- package/src/Components/DataDisplay/PromoBannerBlock/PromoBanner.stories.tsx +3 -4
- package/src/Components/DataDisplay/PromoBannerBlock/PromoBannerBlock.tsx +2 -6
- package/src/Components/DataDisplay/PromoBannerBlock/promoBanner.module.scss +12 -15
- package/src/Components/DataDisplay/TestimonyCard/TestimonyCard.stories.tsx +11 -5
- package/src/Components/DataDisplay/TestimonyCard/TestimonyCard.tsx +73 -53
- package/src/Components/DataDisplay/TestimonyCard/testimonyCard.module.scss +137 -70
- package/src/Components/DataDisplay/index.ts +87 -4
- package/src/Components/DataDisplay/slider.scss +43 -0
- package/src/Components/Form/Button/ButtonProps.tsx +1 -1
- package/src/Components/Form/Button/button.module.scss +2 -0
- package/src/Components/Form/Checkbox/Checkbox.stories.tsx +51 -0
- package/src/Components/Form/Checkbox/Checkbox.tsx +111 -0
- package/src/Components/Form/Checkbox/CheckboxProps.tsx +24 -0
- package/src/Components/Form/Checkbox/checkbox.module.scss +105 -0
- package/src/Components/Form/EmailField/EmailField.stories.ts +23 -0
- package/src/Components/Form/EmailField/EmailField.tsx +56 -0
- package/src/Components/Form/FormFieldHolder/FormFieldHolder.stories.tsx +31 -0
- package/src/Components/Form/FormFieldHolder/FormFieldHolder.tsx +57 -0
- package/src/Components/Form/FormFieldHolder/FormFieldHolderProps.tsx +16 -0
- package/src/Components/Form/FormFieldHolder/formHolder.module.scss +71 -0
- package/src/Components/Form/InputProps.tsx +30 -0
- package/src/Components/Form/LandingPageForm/LandingPageForm.stories.tsx +110 -0
- package/src/Components/Form/LandingPageForm/LandingPageForm.tsx +24 -0
- package/src/Components/Form/LandingPageForm/LandingPageFormLeft.tsx +51 -0
- package/src/Components/Form/LandingPageForm/LandingPageFormLeftProps.tsx +13 -0
- package/src/Components/Form/LandingPageForm/LandingPageFormProps.tsx +9 -0
- package/src/Components/Form/LandingPageForm/LandingPageFormRight.tsx +49 -0
- package/src/Components/Form/LandingPageForm/LandingPageFormRightProps.tsx +14 -0
- package/src/Components/Form/LandingPageForm/landingPageForm.module.scss +190 -0
- package/src/Components/Form/LoadingInput/LoadingInput.tsx +12 -0
- package/src/Components/Form/LoadingInput/loadingInput.module.scss +15 -0
- package/src/Components/Form/RadioButtons/RadioButton.tsx +83 -0
- package/src/Components/Form/RadioButtons/RadioButtonProps.tsx +24 -0
- package/src/Components/Form/RadioButtons/RadioButtons.stories.tsx +129 -0
- package/src/Components/Form/RadioButtons/RadioButtons.tsx +18 -0
- package/src/Components/Form/RadioButtons/RadioButtonsProps.tsx +10 -0
- package/src/Components/Form/RadioButtons/radioButton.stories.scss +3 -0
- package/src/Components/Form/RadioButtons/radiobutton.module.scss +189 -0
- package/src/Components/Form/SimpleForm/SimpleForm.stories.tsx +55 -0
- package/src/Components/Form/SimpleForm/SimpleForm.tsx +63 -0
- package/src/Components/Form/SimpleForm/SimpleFormProps.tsx +13 -0
- package/src/Components/Form/SimpleForm/simple-form-bg-design.tsx +21 -0
- package/src/Components/Form/SimpleForm/simpleForm.module.scss +72 -0
- package/src/Components/Form/TextField/TextField.stories.ts +22 -0
- package/src/Components/Form/TextField/TextField.tsx +62 -0
- package/src/Components/Form/TextField/TextFieldProps.tsx +8 -0
- package/src/Components/Form/Textarea/Textarea.stories.ts +31 -0
- package/src/Components/Form/Textarea/Textarea.tsx +74 -0
- package/src/Components/Form/Textarea/TextareaProps.tsx +28 -0
- package/src/Components/Form/Textarea/textarea.module.scss +48 -0
- package/src/Components/Form/index.ts +34 -1
- package/src/Components/Form/index.ts~ +32 -0
- package/src/Components/Form/inputs.module.scss +172 -0
- package/src/Components/Icons/Communication/PaperPlaneTilt/PaperPlaneTilt.tsx +37 -0
- package/src/Components/Icons/OfficeAndEditing/Paperclip/Paperclip.tsx +37 -0
- package/src/Components/Icons/SystemAndDevice/CheckCircle/CheckCircle.tsx +35 -0
- package/src/Components/Icons/index.ts +5 -1
- package/src/Components/Layout/Footer/Footer.tsx +1 -2
- package/src/Components/Layout/Footer/FooterBottom.tsx +7 -7
- package/src/Components/Layout/Footer/FooterProps.tsx +1 -1
- package/src/Components/Layout/Footer/FooterTop.tsx +1 -1
- package/src/Components/Layout/Footer/footer.module.scss +3 -2
- package/src/Components/Layout/Header/Header.stories.tsx +23 -23
- package/src/Components/Layout/Header/Header.tsx +3 -3
- package/src/Components/Layout/Header/HeaderProps.tsx +1 -0
- package/src/Components/Layout/Header/MegaMenu/MegaMenu.tsx +156 -83
- package/src/Components/Layout/Header/MegaMenu/MegaMenuProps.tsx +22 -9
- package/src/Components/Layout/Header/MegaMenu/megaMenu.module.scss +4 -2
- package/src/Components/Layout/Header/MobileNavigation/MobileNavigation.tsx +4 -3
- package/src/Components/Layout/Header/MobileNavigation/MobileNavigationProps.tsx +1 -0
- package/src/Components/Layout/Header/MobileNavigation/MobileSubNavigation/MobileSubNavigation.tsx +2 -2
- package/src/Components/Layout/Header/MobileNavigation/MobileSubNavigation/MobileSubNavigationItem.tsx +3 -3
- package/src/Components/Layout/Header/header.module.scss +17 -19
- package/src/Components/Layout/HeroBanner/HeroBanner.tsx +6 -6
- package/src/Components/Layout/HeroBanner/heroBanner.module.scss +42 -6
- package/src/Components/Layout/index.ts +11 -2
- package/src/Components/SelwynUIProvider/SelwynUIContext.tsx +16 -0
- package/src/Components/SelwynUIProvider/SelwynUIProvider.tsx +46 -0
- package/src/Components/SelwynUIProvider/index.ts +2 -0
- package/src/Components/Shared/Container/Container.tsx +18 -8
- package/src/Components/Shared/Container/ContainerProps.tsx +7 -2
- package/src/Components/Shared/Container/container.module.scss +55 -7
- package/src/Components/Shared/ElementHolder/ElementHolderProps.tsx +1 -1
- package/src/Components/Shared/ElementHolder/elementHolder.module.scss +10 -5
- package/src/Components/Shared/PillarIcon/PillarIcon.tsx +4 -4
- package/src/Components/Shared/PillarLogo/PillarLogo.tsx +2 -2
- package/src/Components/index.ts +1 -0
- package/dist/App.d.ts +0 -2
- package/dist/Components/DataDisplay/DetailsCard/DetailsCard.d.ts +0 -3
- package/dist/Components/DataDisplay/DetailsCard/DetailsCardProps.d.ts +0 -10
- package/dist/Components/DataDisplay/ImageContent/ImageContent.d.ts +0 -3
- package/dist/Components/DataDisplay/ImageContent/ImageContentMaskingImages.d.ts +0 -2
- package/dist/Components/DataDisplay/ImageContent/ImageContentProps.d.ts +0 -27
- package/dist/Components/DataDisplay/IntroBlock/IntroBlock.d.ts +0 -3
- package/dist/Components/DataDisplay/IntroBlock/IntroBlockProps.d.ts +0 -8
- package/dist/Components/DataDisplay/KPIBlock/KPIBlock.d.ts +0 -3
- package/dist/Components/DataDisplay/KPIBlock/KPIBlockProps.d.ts +0 -11
- package/dist/Components/DataDisplay/Pathway/Pathway.d.ts +0 -3
- package/dist/Components/DataDisplay/Pathway/PathwayProps.d.ts +0 -15
- package/dist/Components/DataDisplay/PromoBannerBlock/PromoBannerBlock.d.ts +0 -3
- package/dist/Components/DataDisplay/PromoBannerBlock/PromoBannerBlockProps.d.ts +0 -14
- package/dist/Components/DataDisplay/PromoBannerBlock/promo-banner-bg-design.d.ts +0 -2
- package/dist/Components/DataDisplay/index.d.ts +0 -10
- package/dist/Components/Form/Button/Button.d.ts +0 -3
- package/dist/Components/Form/Button/ButtonProps.d.ts +0 -14
- package/dist/Components/Form/index.d.ts +0 -2
- package/dist/Components/Icons/Arrows/ArrowLeft/ArrowLeft.d.ts +0 -3
- package/dist/Components/Icons/Arrows/ArrowRight/ArrowRight.d.ts +0 -3
- package/dist/Components/Icons/Arrows/ArrowSquareOut/ArrowSquareOut.d.ts +0 -3
- package/dist/Components/Icons/Arrows/ArrowsDownUp/ArrowsDownUp.d.ts +0 -3
- package/dist/Components/Icons/Arrows/ArrowsOutCardinal/ArrowsOutCardinal.d.ts +0 -3
- package/dist/Components/Icons/Arrows/CaretCircleRight/CaretCircleRight.d.ts +0 -3
- package/dist/Components/Icons/Arrows/CaretDown/CaretDown.d.ts +0 -3
- package/dist/Components/Icons/Arrows/CaretLeft/CaretLeft.d.ts +0 -3
- package/dist/Components/Icons/Arrows/CaretRight/CaretRight.d.ts +0 -3
- package/dist/Components/Icons/Arrows/CaretUp/CaretUp.d.ts +0 -3
- package/dist/Components/Icons/Arrows/CaretUpDown/CaretUpDown.d.ts +0 -3
- package/dist/Components/Icons/Brands/FacebookLogo/FacebookLogo.d.ts +0 -3
- package/dist/Components/Icons/Brands/InstagramLogo/InstagramLogo.d.ts +0 -3
- package/dist/Components/Icons/Brands/LinkedinLogo/LinkedinLogo.d.ts +0 -3
- package/dist/Components/Icons/Brands/WindowsLogo/WindowsLogo.d.ts +0 -3
- package/dist/Components/Icons/Commerce/Backpack/Backpack.d.ts +0 -3
- package/dist/Components/Icons/Commerce/BowlSteam/BowlSteam.d.ts +0 -3
- package/dist/Components/Icons/Commerce/Bread/Bread.d.ts +0 -3
- package/dist/Components/Icons/Commerce/Cheers/Cheers.d.ts +0 -3
- package/dist/Components/Icons/Commerce/ChefHat/ChefHat.d.ts +0 -3
- package/dist/Components/Icons/Commerce/Coffee/Coffee.d.ts +0 -3
- package/dist/Components/Icons/Commerce/CreditCard/CreditCard.d.ts +0 -3
- package/dist/Components/Icons/Commerce/CurrencyDollarSimple/CurrencyDollarSimple.d.ts +0 -3
- package/dist/Components/Icons/Commerce/Grains/Grains.d.ts +0 -3
- package/dist/Components/Icons/Commerce/Scale/Scale.d.ts +0 -3
- package/dist/Components/Icons/Commerce/StoreFront/StoreFront.d.ts +0 -3
- package/dist/Components/Icons/Communication/AddressBook/AddressBook.d.ts +0 -3
- package/dist/Components/Icons/Communication/AddressBook/AddressBook.stories.d.ts +0 -21
- package/dist/Components/Icons/Communication/AsterickSimple/AsteriskSimple.d.ts +0 -3
- package/dist/Components/Icons/Communication/AsterickSimple/AsteriskSimple.stories.d.ts +0 -21
- package/dist/Components/Icons/Communication/Asterisk/Asterisk.d.ts +0 -3
- package/dist/Components/Icons/Communication/Asterisk/Asterisk.stories.d.ts +0 -21
- package/dist/Components/Icons/Communication/At/At.d.ts +0 -3
- package/dist/Components/Icons/Communication/At/At.stories.d.ts +0 -21
- package/dist/Components/Icons/Communication/Broadcast/Broadcast.d.ts +0 -3
- package/dist/Components/Icons/Communication/Broadcast/Broadcast.stories.d.ts +0 -21
- package/dist/Components/Icons/Communication/Chat/Chat.d.ts +0 -3
- package/dist/Components/Icons/Communication/Chat/Chat.stories.d.ts +0 -21
- package/dist/Components/Icons/Communication/ChatCircleText/ChatCircleText.d.ts +0 -3
- package/dist/Components/Icons/Communication/EnvelopeSimple/EnvelopeSimple.d.ts +0 -3
- package/dist/Components/Icons/Communication/Export/Export.d.ts +0 -3
- package/dist/Components/Icons/Communication/Phone/Phone.d.ts +0 -3
- package/dist/Components/Icons/Communication/ThumbsUp/ThumbsUp.d.ts +0 -3
- package/dist/Components/Icons/Communication/Translate/Translate.d.ts +0 -3
- package/dist/Components/Icons/Design/DropHalfBottom/DropHalfBottom.d.ts +0 -3
- package/dist/Components/Icons/Design/Eye/Eye.d.ts +0 -3
- package/dist/Components/Icons/Design/EyeSlash/EyeSlash.d.ts +0 -3
- package/dist/Components/Icons/Design/GearFine/GearFine.d.ts +0 -3
- package/dist/Components/Icons/Design/PencilLine/PencilLine.d.ts +0 -3
- package/dist/Components/Icons/Design/PencilSimple/PencilSimple.d.ts +0 -3
- package/dist/Components/Icons/Design/Ruler/Ruler.d.ts +0 -3
- package/dist/Components/Icons/Design/SquaresFour/SquaresFour.d.ts +0 -3
- package/dist/Components/Icons/Education/BookOpenText/BookOpenText.d.ts +0 -3
- package/dist/Components/Icons/Education/BookmarkSimple/BookmarkSimple.d.ts +0 -3
- package/dist/Components/Icons/Education/Certificate/Certificate.d.ts +0 -3
- package/dist/Components/Icons/Education/GraduationCap/GraduationCap.d.ts +0 -3
- package/dist/Components/Icons/Games/Cricket/Cricket.d.ts +0 -3
- package/dist/Components/Icons/Games/Football/Football.d.ts +0 -3
- package/dist/Components/Icons/Games/Golf/Golf.d.ts +0 -3
- package/dist/Components/Icons/HealthAndWellness/Barbell/Barbell.d.ts +0 -3
- package/dist/Components/Icons/IconProps.d.ts +0 -4
- package/dist/Components/Icons/MapAndTravel/Barn/Barn.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Bicycle/Bicycle.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Bus/Bus.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Car/Car.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/ChargingStation/ChargingStation.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Farm/Farm.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Globe/Globe.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Goggles/Goggles.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/House/House.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/HouseSimple/HouseSimple.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/MapPin/MapPin.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/MapTriFold/MapTriFold.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Path/Path.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/RoadHorizon/RoadHorizon.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/SteeringWheel/SteeringWheel.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/SwimmingPool/SwimmingPool.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Tram/Tram.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Van/Van.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/Calculator/Calculator.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/ChartBar/ChartBar.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/ChartBarHorizontal/ChartBarHorizontal.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/ChartLine/ChartLine.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/ChartLineUp/ChartLineUp.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/ChartPie/ChartPie.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/Minus/Minus.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/MinusCircle/MinusCircle.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/NumberSquareThree/NumberSquareThree.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/Plus/Plus.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/PlusCircle/PlusCircle.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/XIcon/XIcon.d.ts +0 -3
- package/dist/Components/Icons/Media/Camera/Camera.d.ts +0 -3
- package/dist/Components/Icons/Media/DiscoBall/DiscoBall.d.ts +0 -3
- package/dist/Components/Icons/Media/FilmStrip/FilmStrip.d.ts +0 -3
- package/dist/Components/Icons/Media/Microphone/Microphone.d.ts +0 -3
- package/dist/Components/Icons/Media/MusicNotes/MusicNotes.d.ts +0 -3
- package/dist/Components/Icons/Media/PlayCircle/PlayCircle.d.ts +0 -3
- package/dist/Components/Icons/Media/SlidersHorizontal/SlidersHorizontal.d.ts +0 -3
- package/dist/Components/Icons/Media/StopCircle/StopCircle.d.ts +0 -3
- package/dist/Components/Icons/Media/VideoCamera/VideoCamera.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/BuildinfOffice/BuildingOffice.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/Copy/Copy.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/FileText/FileText.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/Files/Files.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/FloppyDisk/FloppyDisk.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/Folder/Folder.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/FolderSimplePlus/FolderSimplePlus.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/Folders/Folders.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/List/List.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/ListBullets/ListBullets.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/ListDashes/ListDashes.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/Printer/Printer.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/TextAa/TextAa.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/TextColumns/TextColumns.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/Trash/Trash.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/TrashSimple/TrashSimple.d.ts +0 -3
- package/dist/Components/Icons/People/Person/Person.d.ts +0 -3
- package/dist/Components/Icons/People/PersonArmsSpread/PersonArmsSpread.d.ts +0 -3
- package/dist/Components/Icons/People/PersonSimpleBike/PersonSimpleBike.d.ts +0 -3
- package/dist/Components/Icons/People/PersonSimpleSki/PersonSimpleSki.d.ts +0 -3
- package/dist/Components/Icons/People/PersonSimpleWalk/PersonSimpleWalk.d.ts +0 -3
- package/dist/Components/Icons/People/User/User.d.ts +0 -3
- package/dist/Components/Icons/People/UserCircle/UserCircle.d.ts +0 -3
- package/dist/Components/Icons/People/UserSwitch/UserSwitch.d.ts +0 -3
- package/dist/Components/Icons/People/Users/Users.d.ts +0 -3
- package/dist/Components/Icons/SecurityAndWarnings/Info/Info.d.ts +0 -3
- package/dist/Components/Icons/SecurityAndWarnings/Key/Key.d.ts +0 -3
- package/dist/Components/Icons/SecurityAndWarnings/LockKeyOpen/LockKeyOpen.d.ts +0 -3
- package/dist/Components/Icons/SecurityAndWarnings/LockSimple/LockSimple.d.ts +0 -3
- package/dist/Components/Icons/SecurityAndWarnings/Question/Question.d.ts +0 -3
- package/dist/Components/Icons/SecurityAndWarnings/ShieldCheck/ShieldCheck.d.ts +0 -3
- package/dist/Components/Icons/SecurityAndWarnings/WarningCircle/WarningCircle.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/Bell/Bell.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/Check/Check.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/CheckSquare/CheckSquare.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/CloudCheck/CloudCheck.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/Desktop/Desktop.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/DeviceMobile/DeviceMobile.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/DotSixVertical/DotSixVertical.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/DotsSix/DotsSix.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/DotsThree/DotsThree.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/DotsThreeVertical/DotsThreeVertical.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/DownloadSimple/DownloadSimple.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/Gear/Gear.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/Link/Link.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/MagnifyingGlass/MagnifyingGlass.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/RadioButtonIcon/RadioButtonIcon.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/SignIn/SignIn.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/SignOut/SignOut.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/ToggleLeft/ToggleLeft.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/ToggleRight/ToggleRight.d.ts +0 -3
- package/dist/Components/Icons/Time/Calendar/Calendar.d.ts +0 -3
- package/dist/Components/Icons/Time/CalendarBank/CalendarBank.d.ts +0 -3
- package/dist/Components/Icons/Time/CalendarCheck/CalendarCheck.d.ts +0 -3
- package/dist/Components/Icons/Time/CalendarDots/CalendarDots.d.ts +0 -3
- package/dist/Components/Icons/Time/Clock/Clock.d.ts +0 -3
- package/dist/Components/Icons/Time/ClockCounterClockwise/ClockCounterClockwise.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Bird/Bird.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Campfire/Campfire.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/CloudSun/CloudSun.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Cow/Cow.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Dog/Dog.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/FishSimple/FishSimple.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Flower/Flower.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Moon/Moon.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Mountains/Mountains.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Plant/Plant.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Snowflake/Snowflake.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Sparkle/Sparkle.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Sun/Sun.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Tree/Tree.d.ts +0 -3
- package/dist/Components/Icons/index.d.ts +0 -123
- package/dist/Components/Layout/Footer/Footer.d.ts +0 -3
- package/dist/Components/Layout/Footer/FooterBottom.d.ts +0 -3
- package/dist/Components/Layout/Footer/FooterBottomLeft.d.ts +0 -3
- package/dist/Components/Layout/Footer/FooterBottomLeftProps.d.ts +0 -11
- package/dist/Components/Layout/Footer/FooterBottomProps.d.ts +0 -5
- package/dist/Components/Layout/Footer/FooterBottomRight.d.ts +0 -3
- package/dist/Components/Layout/Footer/FooterBottomRightProps.d.ts +0 -6
- package/dist/Components/Layout/Footer/FooterItem.d.ts +0 -3
- package/dist/Components/Layout/Footer/FooterItemProps.d.ts +0 -6
- package/dist/Components/Layout/Footer/FooterMiddle.d.ts +0 -3
- package/dist/Components/Layout/Footer/FooterMiddleProps.d.ts +0 -6
- package/dist/Components/Layout/Footer/FooterProps.d.ts +0 -9
- package/dist/Components/Layout/Footer/FooterTop.d.ts +0 -3
- package/dist/Components/Layout/Footer/FooterTopProps.d.ts +0 -7
- package/dist/Components/Layout/Footer/footer-bg-design.d.ts +0 -2
- package/dist/Components/Layout/Header/Header.d.ts +0 -3
- package/dist/Components/Layout/Header/HeaderProps.d.ts +0 -7
- package/dist/Components/Layout/Header/HeaderRight.d.ts +0 -3
- package/dist/Components/Layout/Header/HeaderRightItem.d.ts +0 -3
- package/dist/Components/Layout/Header/HeaderRightItemProps.d.ts +0 -11
- package/dist/Components/Layout/Header/HeaderRightProps.d.ts +0 -5
- package/dist/Components/Layout/Header/MagnifyingGlass/MagnifyingGlass.d.ts +0 -2
- package/dist/Components/Layout/Header/MegaMenu/MegaMenu.d.ts +0 -2
- package/dist/Components/Layout/Header/MegaMenu/MegaMenuProps.d.ts +0 -4
- package/dist/Components/Layout/HeroBanner/HeroBanner.d.ts +0 -3
- package/dist/Components/Layout/HeroBanner/HeroBannerProps.d.ts +0 -9
- package/dist/Components/Layout/HeroBanner/LargeHeroIcon.d.ts +0 -2
- package/dist/Components/Layout/index.d.ts +0 -22
- package/dist/Components/Shared/Container/Container.d.ts +0 -3
- package/dist/Components/Shared/Container/ContainerProps.d.ts +0 -6
- package/dist/Components/Shared/ElementHolder/ElementHolder.d.ts +0 -3
- package/dist/Components/Shared/ElementHolder/ElementHolderProps.d.ts +0 -15
- package/dist/Components/Shared/index.d.ts +0 -4
- package/dist/img/card-one.png +0 -0
- package/dist/img/card-three.png +0 -0
- package/dist/img/card-two.png +0 -0
- package/dist/img/footer-bg-design.svg +0 -14
- package/dist/img/footer-logo.svg +0 -9
- package/dist/img/promo-banner-image.svg +0 -9
- package/dist/img/visit-brand-piller.svg +0 -6
- package/dist/img/waikirikiri-full-logo.svg +0 -23
- package/dist/index.cjs.js +0 -14
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.d.ts +0 -5
- package/dist/index.es.d.ts +0 -2
- package/dist/index.es.js +0 -6787
- package/dist/index.es.js.map +0 -1
- package/dist/main.d.ts +0 -0
- package/dist/selwynui.css +0 -1
- package/dist/tsconfig.app.tsbuildinfo +0 -1
- package/dist/vite.svg +0 -1
- package/src/Components/DataDisplay/Pathway/Pathway.tsx +0 -94
- package/src/Components/DataDisplay/Pathway/PathwayProps.tsx +0 -17
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import styles from "../brandBuilder.module.scss";
|
|
2
|
+
import BrandBuilderToolPreviewProps from "./BrandBuilderToolPreviewProps.tsx";
|
|
3
|
+
|
|
4
|
+
const BrandBuilderToolPreview = (props : BrandBuilderToolPreviewProps) =>{
|
|
5
|
+
|
|
6
|
+
const {children , action } = props
|
|
7
|
+
|
|
8
|
+
return <div className={styles.preview}>
|
|
9
|
+
<div className={styles.title}>
|
|
10
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50" fill="none">
|
|
11
|
+
<rect width="50" height="50" rx="25" fill="currentColor"/>
|
|
12
|
+
<path d="M35.0637 30.98C35.0637 34.976 31.4997 38.432 25.0557 38.432C18.8997 38.432 14.9757 35.048 14.5437 30.188H20.4837C20.6637 32.456 22.6077 33.824 25.0557 33.824C27.7557 33.824 29.3037 32.528 29.3037 30.476C29.3037 28.244 27.5757 27.344 25.0917 27.344H22.5357V22.952H25.0197C27.2157 22.952 28.7997 21.944 28.7997 19.748C28.7997 17.84 27.4677 16.508 25.1997 16.508C22.7517 16.508 21.2397 18.056 21.0957 20.18H15.3717C15.6957 15.716 19.1157 11.864 25.2717 11.864C31.3557 11.864 34.4877 15.392 34.4877 19.46C34.4877 22.412 32.6157 24.572 29.8797 25.076C33.0837 25.616 35.0637 27.884 35.0637 30.98Z" fill="#EFEAE7"/>
|
|
13
|
+
</svg>
|
|
14
|
+
<h5>Image preview</h5>
|
|
15
|
+
</div>
|
|
16
|
+
<div className={styles.previewImage}>
|
|
17
|
+
{children}
|
|
18
|
+
</div>
|
|
19
|
+
<div className={styles.previewAction}>
|
|
20
|
+
{action}
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export default BrandBuilderToolPreview;
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
.brandBuilder{
|
|
2
|
+
.header{
|
|
3
|
+
padding-bottom: 48px;
|
|
4
|
+
|
|
5
|
+
h1{
|
|
6
|
+
font-size: var(--font-size-h3);
|
|
7
|
+
font-weight: 700;
|
|
8
|
+
line-height: 1;
|
|
9
|
+
letter-spacing: -3.6px;
|
|
10
|
+
margin-bottom: 32px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
p{
|
|
14
|
+
font-size: var(--font-size-h5);
|
|
15
|
+
font-weight: 400;
|
|
16
|
+
line-height: 1.2;
|
|
17
|
+
letter-spacing: -1.44px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.brandBuilderToolWrapper{
|
|
23
|
+
border-radius: 27.583px;
|
|
24
|
+
background: rgba(255, 255, 255, 0.50);
|
|
25
|
+
padding: 20px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.title{
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
margin-bottom: 48px;
|
|
32
|
+
|
|
33
|
+
svg{
|
|
34
|
+
flex-shrink: 0;
|
|
35
|
+
height: 32px;
|
|
36
|
+
width: 32px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
h5{
|
|
40
|
+
font-size: var(--font-size-h5);
|
|
41
|
+
margin-left: 16px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.selectorTitle{
|
|
46
|
+
margin-bottom: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.selectorsWrapper{
|
|
50
|
+
margin-bottom: 48px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.selectors{
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
justify-content: space-between;
|
|
57
|
+
margin-bottom: 48px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.templateSelector{
|
|
61
|
+
margin-bottom: 24px;
|
|
62
|
+
|
|
63
|
+
.items{
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-wrap: wrap;
|
|
66
|
+
margin: -8px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.item{
|
|
70
|
+
padding: 8px;
|
|
71
|
+
width: 50%;
|
|
72
|
+
|
|
73
|
+
.itemWrapper{
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
padding: 16px;
|
|
77
|
+
align-items: center;
|
|
78
|
+
justify-content: center;
|
|
79
|
+
transition: all 0.3s ease-in-out;
|
|
80
|
+
border: 2px solid transparent;
|
|
81
|
+
|
|
82
|
+
p{
|
|
83
|
+
font-size: 14px;
|
|
84
|
+
font-style: normal;
|
|
85
|
+
font-weight: 700;
|
|
86
|
+
line-height: 1.4;
|
|
87
|
+
letter-spacing: -0.14px;
|
|
88
|
+
margin-top: 12px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&:hover, &.active{
|
|
92
|
+
background: #FFFFFF;
|
|
93
|
+
border: 2px solid var(--color-block-text);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@media screen and (min-width: 1300px) {
|
|
98
|
+
width: 33.33%;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@media screen and (min-width: 1300px) {
|
|
102
|
+
width: 20%;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
.uploaderBtn{
|
|
111
|
+
margin-bottom: 48px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.uploaderDesc{
|
|
115
|
+
margin-bottom: 48px;
|
|
116
|
+
|
|
117
|
+
p{
|
|
118
|
+
font-size: 18px;
|
|
119
|
+
font-style: normal;
|
|
120
|
+
font-weight: 400;
|
|
121
|
+
line-height: 140%;
|
|
122
|
+
margin-bottom: 16px;
|
|
123
|
+
|
|
124
|
+
&:last-child{
|
|
125
|
+
margin-bottom: 0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.imagesUploader{
|
|
133
|
+
position: relative;
|
|
134
|
+
|
|
135
|
+
img{
|
|
136
|
+
width: 100%;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.brandBuilderToolUploader{
|
|
141
|
+
border-bottom: 1px solid var(--color-block-text);
|
|
142
|
+
margin-bottom: 24px;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.brandBuilderToolWrapper{
|
|
146
|
+
display: flex;
|
|
147
|
+
flex-direction: column;
|
|
148
|
+
|
|
149
|
+
.sideBar{
|
|
150
|
+
width: 100%;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.main{
|
|
154
|
+
flex: 1;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.previewAction{
|
|
160
|
+
padding-top: 48px;
|
|
161
|
+
|
|
162
|
+
button{
|
|
163
|
+
width: 100%;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.previewImage{
|
|
169
|
+
border-radius: 8px;
|
|
170
|
+
background: #FFF;
|
|
171
|
+
padding: 48px 12px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@media screen and (min-width: 992px){
|
|
175
|
+
|
|
176
|
+
.header{
|
|
177
|
+
padding-bottom: 96px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.title{
|
|
181
|
+
|
|
182
|
+
svg{
|
|
183
|
+
flex-shrink: 0;
|
|
184
|
+
height: 50px;
|
|
185
|
+
width: 50px;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
h5{
|
|
189
|
+
text-wrap: nowrap;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.brandBuilderToolWrapper{
|
|
194
|
+
padding: 56px;
|
|
195
|
+
flex-direction: row;
|
|
196
|
+
|
|
197
|
+
.sideBar{
|
|
198
|
+
width: 450px;
|
|
199
|
+
padding-right: 32px;
|
|
200
|
+
margin-right: 32px;
|
|
201
|
+
border-right: 1px solid var(--color-block-text);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.main{
|
|
205
|
+
flex: 1;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
}
|
|
209
|
+
.brandBuilderToolUploader{
|
|
210
|
+
border-bottom: none;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import type {Meta, StoryObj} from "@storybook/react-vite";
|
|
3
|
+
import CallToActionBlock from "./CallToActionBlock";
|
|
4
|
+
import ElementHolder from "../../Shared/ElementHolder/ElementHolder";
|
|
5
|
+
|
|
6
|
+
const meta : Meta<typeof CallToActionBlock> = {
|
|
7
|
+
title: "Form / CallToActionBlock",
|
|
8
|
+
component: CallToActionBlock,
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof CallToActionBlock>
|
|
13
|
+
|
|
14
|
+
const CheckOutActionTemplate: Story = {
|
|
15
|
+
render : () => {
|
|
16
|
+
return <ElementHolder paddingTop="sm" paddingBottom="sm" pillar="visit" level="primary">
|
|
17
|
+
<CallToActionBlock
|
|
18
|
+
title={'Check out the action'}
|
|
19
|
+
cards={[
|
|
20
|
+
{
|
|
21
|
+
image: "https://images.pexels.com/photos/1854897/pexels-photo-1854897.jpeg",
|
|
22
|
+
link: {
|
|
23
|
+
title: "Beautiful Landscape",
|
|
24
|
+
href: "#",
|
|
25
|
+
target: "_self"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
image: "https://images.pexels.com/photos/1595655/pexels-photo-1595655.jpeg",
|
|
30
|
+
link: {
|
|
31
|
+
title: "Mountain View",
|
|
32
|
+
href: "#",
|
|
33
|
+
target: "_self"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
image: "https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg",
|
|
38
|
+
link: {
|
|
39
|
+
title: "Ocean Scene",
|
|
40
|
+
href: "#",
|
|
41
|
+
target: "_self"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
image: "https://images.pexels.com/photos/1181690/pexels-photo-1181690.jpeg",
|
|
46
|
+
link: {
|
|
47
|
+
title: "Forest Path",
|
|
48
|
+
href: "#",
|
|
49
|
+
target: "_self"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
image: "https://images.pexels.com/photos/1854897/pexels-photo-1854897.jpeg",
|
|
54
|
+
link: {
|
|
55
|
+
title: "Desert Sunset",
|
|
56
|
+
href: "#",
|
|
57
|
+
target: "_self"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
image: "https://images.pexels.com/photos/1595655/pexels-photo-1595655.jpeg",
|
|
62
|
+
link: {
|
|
63
|
+
title: "City Lights",
|
|
64
|
+
href: "#",
|
|
65
|
+
target: "_self"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
image: "https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg",
|
|
70
|
+
link: {
|
|
71
|
+
title: "River Valley",
|
|
72
|
+
href: "#",
|
|
73
|
+
target: "_self"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
image: "https://images.pexels.com/photos/1181690/pexels-photo-1181690.jpeg",
|
|
78
|
+
link: {
|
|
79
|
+
title: "Mountain Peak",
|
|
80
|
+
href: "#",
|
|
81
|
+
target: "_self"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
]}
|
|
85
|
+
/>
|
|
86
|
+
</ElementHolder>
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export const CheckOutActionView = {
|
|
91
|
+
...CheckOutActionTemplate,
|
|
92
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import styles from './callToAction.module.scss';
|
|
2
|
+
import Slider from "react-slick";
|
|
3
|
+
import Container from "../../Shared/Container/Container.tsx";
|
|
4
|
+
import '../slider.scss'
|
|
5
|
+
import {CaretLeft, CaretRight} from "@hellobetterdigitalnz/selwynui";
|
|
6
|
+
import {useRef} from "react";
|
|
7
|
+
import CallToActionBlockProps from "./CallToActionBlockProps.tsx";
|
|
8
|
+
|
|
9
|
+
const CallToActionBlock = (props: CallToActionBlockProps) => {
|
|
10
|
+
const { title, cards = [] } = props;
|
|
11
|
+
const sliderRef = useRef<any>(null);
|
|
12
|
+
|
|
13
|
+
const settings = {
|
|
14
|
+
dots: false,
|
|
15
|
+
arrows: false,
|
|
16
|
+
infinite: false,
|
|
17
|
+
speed: 500,
|
|
18
|
+
touchMove: true,
|
|
19
|
+
variableWidth: true,
|
|
20
|
+
slidesToShow: 1,
|
|
21
|
+
slidesToScroll: 1,
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
return (
|
|
25
|
+
<div className={`${styles.checkOutAction} carouselBlock`}>
|
|
26
|
+
<Container>
|
|
27
|
+
<div className={styles.carouselWrapper}>
|
|
28
|
+
<div className={styles.carouselTitle}>
|
|
29
|
+
<h3>{title}</h3>
|
|
30
|
+
<div className={styles.actions}>
|
|
31
|
+
<button
|
|
32
|
+
className="custom-arrow prev"
|
|
33
|
+
onClick={() => sliderRef.current?.slickPrev()}
|
|
34
|
+
aria-label="Previous"
|
|
35
|
+
>
|
|
36
|
+
<CaretLeft type="thin" />
|
|
37
|
+
</button>
|
|
38
|
+
|
|
39
|
+
<button
|
|
40
|
+
className="custom-arrow next"
|
|
41
|
+
onClick={() => sliderRef.current?.slickNext()}
|
|
42
|
+
aria-label="Next"
|
|
43
|
+
>
|
|
44
|
+
<CaretRight type="thin" />
|
|
45
|
+
</button>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
<Slider ref={sliderRef} {...settings}>
|
|
49
|
+
{cards.map((item, index) => (
|
|
50
|
+
<div key={index} className={styles.imageSlide}>
|
|
51
|
+
{item.link?.href ? (
|
|
52
|
+
<a
|
|
53
|
+
href={item.link.href}
|
|
54
|
+
target={item.link.target || '_self'}
|
|
55
|
+
rel={item.link.rel}
|
|
56
|
+
className={styles.imageLink}
|
|
57
|
+
>
|
|
58
|
+
<img
|
|
59
|
+
src={item.image}
|
|
60
|
+
alt={item.link.title || `Image ${index + 1}`}
|
|
61
|
+
className={styles.image}
|
|
62
|
+
/>
|
|
63
|
+
</a>
|
|
64
|
+
) : (
|
|
65
|
+
<img
|
|
66
|
+
src={item.image}
|
|
67
|
+
alt={`Image ${index + 1}`}
|
|
68
|
+
className={styles.image}
|
|
69
|
+
/>
|
|
70
|
+
)}
|
|
71
|
+
</div>
|
|
72
|
+
))}
|
|
73
|
+
</Slider>
|
|
74
|
+
</div>
|
|
75
|
+
</Container>
|
|
76
|
+
</div>
|
|
77
|
+
);
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export default CallToActionBlock;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
export interface ImageItem {
|
|
3
|
+
image?: string;
|
|
4
|
+
link?: {
|
|
5
|
+
title?: string;
|
|
6
|
+
href?: string;
|
|
7
|
+
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
8
|
+
rel?: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface CallToActionBlockProps {
|
|
13
|
+
title?: string;
|
|
14
|
+
cards?: ImageItem[];
|
|
15
|
+
pillar?: 'visit' | 'live' | 'business' | 'participate' | 'taste'
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export default CallToActionBlockProps;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
.checkOutAction {
|
|
2
|
+
padding: 76px 0;
|
|
3
|
+
|
|
4
|
+
@media (max-width: 834px) {
|
|
5
|
+
padding: 64px 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.carouselWrapper {
|
|
9
|
+
width: 100%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
.carouselTitle {
|
|
14
|
+
margin: -12px;
|
|
15
|
+
margin-bottom: 50px;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-wrap: wrap;
|
|
18
|
+
justify-content: space-between;
|
|
19
|
+
align-items: center;
|
|
20
|
+
|
|
21
|
+
h3{
|
|
22
|
+
font-size: 72px;
|
|
23
|
+
line-height: 1;
|
|
24
|
+
font-weight: 700;
|
|
25
|
+
padding: 12px;
|
|
26
|
+
letter-spacing: -3.6px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
.actions {
|
|
31
|
+
padding: 12px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@media screen and (min-width: 992px) {
|
|
35
|
+
margin-bottom: 66px;
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
h3 {
|
|
39
|
+
font-size: var(--font-size-h3);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.imageSlide {
|
|
45
|
+
width: 312px !important;
|
|
46
|
+
margin-right: 16px;
|
|
47
|
+
|
|
48
|
+
@media screen and (min-width: 992px) {
|
|
49
|
+
width: 456px !important;
|
|
50
|
+
margin-right: 24px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.imageLink {
|
|
55
|
+
display: block;
|
|
56
|
+
text-decoration: none;
|
|
57
|
+
position: relative;
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
border-radius: 8px;
|
|
60
|
+
|
|
61
|
+
&:hover .image {
|
|
62
|
+
transform: scale(1.05);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.image {
|
|
67
|
+
width: 100%;
|
|
68
|
+
height: 240px;
|
|
69
|
+
object-fit: cover;
|
|
70
|
+
display: block;
|
|
71
|
+
border-radius: 12px;
|
|
72
|
+
transition: transform 0.3s ease;
|
|
73
|
+
border: 1px solid var(--color-text);
|
|
74
|
+
|
|
75
|
+
@media screen and (min-width: 992px) {
|
|
76
|
+
height: 299px;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
.checkOutAction {
|
|
2
|
+
padding: 76px 0;
|
|
3
|
+
|
|
4
|
+
@media (max-width: 834px) {
|
|
5
|
+
padding: 64px 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.carouselWrapper {
|
|
9
|
+
width: 100%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.carouselTitle {
|
|
13
|
+
margin: -12px;
|
|
14
|
+
margin-bottom: 50px;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-wrap: wrap;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
align-items: center;
|
|
19
|
+
|
|
20
|
+
h3{
|
|
21
|
+
font-size: 72px;
|
|
22
|
+
line-height: 1;
|
|
23
|
+
font-weight: 700;
|
|
24
|
+
padding: 12px;
|
|
25
|
+
letter-spacing: -3.6px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
.actions {
|
|
30
|
+
padding: 12px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@media screen and (min-width: 992px) {
|
|
34
|
+
margin-bottom: 66px;
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
h3 {
|
|
38
|
+
font-size: var(--font-size-h3);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.imageSlide {
|
|
44
|
+
width: 312px !important;
|
|
45
|
+
margin-right: 16px;
|
|
46
|
+
|
|
47
|
+
@media screen and (min-width: 992px) {
|
|
48
|
+
width: 456px !important;
|
|
49
|
+
margin-right: 24px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.imageLink {
|
|
54
|
+
display: block;
|
|
55
|
+
text-decoration: none;
|
|
56
|
+
position: relative;
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
border-radius: 8px;
|
|
59
|
+
|
|
60
|
+
&:hover .image {
|
|
61
|
+
transform: scale(1.05);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.image {
|
|
66
|
+
width: 100%;
|
|
67
|
+
height: 240px;
|
|
68
|
+
object-fit: cover;
|
|
69
|
+
display: block;
|
|
70
|
+
border-radius: 12px;
|
|
71
|
+
transition: transform 0.3s ease;
|
|
72
|
+
border: 1px solid var(--color-text);
|
|
73
|
+
|
|
74
|
+
@media screen and (min-width: 992px) {
|
|
75
|
+
height: 299px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import type {Meta, StoryObj} from "@storybook/react-vite";
|
|
3
|
+
import CarouselBlock from "./CarouselBlock";
|
|
4
|
+
import ElementHolder from "../../Shared/ElementHolder/ElementHolder";
|
|
5
|
+
|
|
6
|
+
const meta : Meta<typeof CarouselBlock> = {
|
|
7
|
+
title: "Form / CarouselBlock",
|
|
8
|
+
component: CarouselBlock,
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof CarouselBlock>
|
|
13
|
+
|
|
14
|
+
const CarouselTemplate: Story = {
|
|
15
|
+
render : () =>{
|
|
16
|
+
|
|
17
|
+
return <ElementHolder paddingTop="sm" paddingBottom="sm" pillar="participate" level="light">
|
|
18
|
+
<CarouselBlock
|
|
19
|
+
title={'What’s On'}
|
|
20
|
+
cards={[
|
|
21
|
+
{
|
|
22
|
+
title: "Lorem ipsum",
|
|
23
|
+
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
|
|
24
|
+
image: "https://images.pexels.com/photos/1854897/pexels-photo-1854897.jpeg",
|
|
25
|
+
pillar: 'participate',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
title: "Lorem ipsum",
|
|
29
|
+
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
|
|
30
|
+
image: "https://images.pexels.com/photos/1595655/pexels-photo-1595655.jpeg",
|
|
31
|
+
pillar: 'participate',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
title: "Lorem ipsum",
|
|
35
|
+
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
|
|
36
|
+
image: "https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg",
|
|
37
|
+
pillar: 'participate',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
title: "Lorem ipsum",
|
|
41
|
+
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
|
|
42
|
+
image: "https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg",
|
|
43
|
+
pillar: 'participate',
|
|
44
|
+
},{
|
|
45
|
+
title: "Lorem ipsum",
|
|
46
|
+
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
|
|
47
|
+
image: "https://images.pexels.com/photos/1854897/pexels-photo-1854897.jpeg",
|
|
48
|
+
pillar: 'participate',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
title: "Lorem ipsum",
|
|
52
|
+
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
|
|
53
|
+
image: "https://images.pexels.com/photos/1595655/pexels-photo-1595655.jpeg",
|
|
54
|
+
pillar: 'participate',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
title: "Lorem ipsum",
|
|
58
|
+
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
|
|
59
|
+
image: "https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg",
|
|
60
|
+
pillar: 'participate',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
title: "Lorem ipsum",
|
|
64
|
+
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
|
|
65
|
+
image: "https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg",
|
|
66
|
+
pillar: 'participate',
|
|
67
|
+
}
|
|
68
|
+
]}
|
|
69
|
+
/>
|
|
70
|
+
</ElementHolder>
|
|
71
|
+
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export const CarouselView = {
|
|
76
|
+
...CarouselTemplate,
|
|
77
|
+
}
|