@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,178 @@
|
|
|
1
|
+
.holder {
|
|
2
|
+
position: fixed;
|
|
3
|
+
z-index: 999999;
|
|
4
|
+
top: 0;
|
|
5
|
+
left: 0;
|
|
6
|
+
padding: calc(var(--space-unit) * 10) calc(var(--space-unit) * 5);
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
align-items: center;
|
|
10
|
+
width: 100vw;
|
|
11
|
+
height: 100vh;
|
|
12
|
+
backdrop-filter: blur(4px);
|
|
13
|
+
|
|
14
|
+
&:before {
|
|
15
|
+
content: ' ';
|
|
16
|
+
display: block;
|
|
17
|
+
background: var(--popup-holder-bg);
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: 0;
|
|
20
|
+
left: 0;
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100%;
|
|
23
|
+
opacity: 0.6;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.modal {
|
|
28
|
+
position: relative;
|
|
29
|
+
width: 90%;
|
|
30
|
+
max-width: 800px;
|
|
31
|
+
max-height: 70vh;
|
|
32
|
+
box-shadow: var(--drop-shadow-default);
|
|
33
|
+
background: #EFEAE7;
|
|
34
|
+
border-radius: 8px;
|
|
35
|
+
display: flex;
|
|
36
|
+
color: var(--color-block-text);
|
|
37
|
+
overflow: clip;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.wrapper {
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
width: 100%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.modalHeader {
|
|
47
|
+
border-bottom: 1px solid #eee;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.modalHeaderWrapper {
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
justify-content: space-between;
|
|
54
|
+
padding: calc(var(--space-unit) * 4) calc(var(--space-unit) * 6);
|
|
55
|
+
|
|
56
|
+
.heading {
|
|
57
|
+
h4 {
|
|
58
|
+
font-size: var(--font-size-h6);
|
|
59
|
+
font-weight: 700;
|
|
60
|
+
line-height: 1.3;
|
|
61
|
+
font-family: var(--font);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.icon {
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
justify-content: center;
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
transition: 0.3s ease-in;
|
|
72
|
+
|
|
73
|
+
&:hover {
|
|
74
|
+
transform: scale(1.05);
|
|
75
|
+
-webkit-transform: scale(1.2);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
svg {
|
|
79
|
+
width: 20px;
|
|
80
|
+
height: 20px;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.modalBody {
|
|
86
|
+
padding: calc(var(--space-unit) * 6);
|
|
87
|
+
overflow: auto;
|
|
88
|
+
|
|
89
|
+
&::-webkit-scrollbar {
|
|
90
|
+
width: 4px;
|
|
91
|
+
z-index: 1000;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&::-webkit-scrollbar-track {
|
|
95
|
+
overflow: hidden;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&::-webkit-scrollbar-thumb {
|
|
99
|
+
border-radius: 2px;
|
|
100
|
+
background: rgba(0, 0, 0, 0.10);
|
|
101
|
+
overflow: hidden;
|
|
102
|
+
background-clip: padding-box;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.modalBodyWrapper {
|
|
108
|
+
min-height: 50px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.modalAction {
|
|
112
|
+
display: flex;
|
|
113
|
+
align-items: center;
|
|
114
|
+
flex-wrap: wrap;
|
|
115
|
+
justify-content: space-between;
|
|
116
|
+
padding: calc(var(--space-unit) * 4) calc(var(--space-unit) * 6);
|
|
117
|
+
border-top: 1px solid #eee;
|
|
118
|
+
background: #FFFFFF;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.modalActionRight, .modalActionLeft {
|
|
122
|
+
display: flex;
|
|
123
|
+
align-items: center;
|
|
124
|
+
//flex-wrap: wrap;
|
|
125
|
+
margin: calc(var(--space-unit) * -1);
|
|
126
|
+
|
|
127
|
+
& > div {
|
|
128
|
+
padding: var(--space-unit);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@media (max-width: 992px) {
|
|
132
|
+
flex-direction: column;
|
|
133
|
+
|
|
134
|
+
& > div {
|
|
135
|
+
width: 100%;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
button {
|
|
139
|
+
width: 100%;
|
|
140
|
+
height: 32px !important;
|
|
141
|
+
padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 4);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
button span {
|
|
145
|
+
font-size: 14px;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.modalActionRight {
|
|
152
|
+
|
|
153
|
+
> div {
|
|
154
|
+
padding: 0 -4px;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.curtain {
|
|
159
|
+
position: fixed;
|
|
160
|
+
top: 0;
|
|
161
|
+
left: 0;
|
|
162
|
+
width: 100vw;
|
|
163
|
+
height: 100vh;
|
|
164
|
+
backdrop-filter: blur(4px);
|
|
165
|
+
z-index: 9999;
|
|
166
|
+
|
|
167
|
+
&:before {
|
|
168
|
+
content: ' ';
|
|
169
|
+
display: block;
|
|
170
|
+
background: var(--color-gray-200);
|
|
171
|
+
position: absolute;
|
|
172
|
+
top: 0;
|
|
173
|
+
left: 0;
|
|
174
|
+
width: 100%;
|
|
175
|
+
height: 100%;
|
|
176
|
+
opacity: 0.6;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
@@ -5,7 +5,7 @@ import PathwayBlock from "./PathwayBlock";
|
|
|
5
5
|
import ElementHolder from "../../Shared/ElementHolder/ElementHolder";
|
|
6
6
|
|
|
7
7
|
const meta: Meta = {
|
|
8
|
-
title: "
|
|
8
|
+
title: "DataDisplay / PathwayBlock",
|
|
9
9
|
component: PathwayBlock,
|
|
10
10
|
parameters: {
|
|
11
11
|
layout: 'fullscreen',
|
|
@@ -21,26 +21,40 @@ const PathwayBlockTemplate: Story = {
|
|
|
21
21
|
render: () => {
|
|
22
22
|
return (
|
|
23
23
|
<>
|
|
24
|
-
<ElementHolder paddingTop="sm" paddingBottom="sm"
|
|
24
|
+
<ElementHolder paddingTop="sm" paddingBottom="sm" pillar="participate" level="light">
|
|
25
25
|
<PathwayBlock
|
|
26
26
|
title="Lorem ipsum"
|
|
27
|
-
pillar="visit"
|
|
28
27
|
cards={[
|
|
29
28
|
{
|
|
30
|
-
|
|
31
|
-
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
|
|
32
|
-
image: "https://images.pexels.com/photos/1854897/pexels-photo-1854897.jpeg"
|
|
29
|
+
title: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
|
|
30
|
+
// description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
|
|
31
|
+
image: "https://images.pexels.com/photos/1854897/pexels-photo-1854897.jpeg",
|
|
32
|
+
link: {
|
|
33
|
+
"title": "Learn More",
|
|
34
|
+
"href": "/",
|
|
35
|
+
"target": ""
|
|
36
|
+
},
|
|
33
37
|
},
|
|
34
38
|
{
|
|
35
|
-
|
|
36
|
-
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
|
|
37
|
-
image: "https://images.pexels.com/photos/1595655/pexels-photo-1595655.jpeg"
|
|
39
|
+
title: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
|
|
40
|
+
// description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
|
|
41
|
+
image: "https://images.pexels.com/photos/1595655/pexels-photo-1595655.jpeg",
|
|
42
|
+
link: {
|
|
43
|
+
"title": "Learn More",
|
|
44
|
+
"href": "/",
|
|
45
|
+
"target": ""
|
|
46
|
+
},
|
|
38
47
|
},
|
|
39
48
|
{
|
|
40
|
-
|
|
41
|
-
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
|
|
42
|
-
image: "https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg"
|
|
43
|
-
|
|
49
|
+
title: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
|
|
50
|
+
// description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
|
|
51
|
+
image: "https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg",
|
|
52
|
+
link: {
|
|
53
|
+
"title": "Learn More",
|
|
54
|
+
"href": "/",
|
|
55
|
+
"target": ""
|
|
56
|
+
},
|
|
57
|
+
},
|
|
44
58
|
]}
|
|
45
59
|
/>
|
|
46
60
|
</ElementHolder>
|
|
@@ -5,13 +5,12 @@ import DetailsCard from "../DetailsCard/DetailsCard.tsx";
|
|
|
5
5
|
|
|
6
6
|
const PathwayBlock = (props: PathwayBlockProps) => {
|
|
7
7
|
const {
|
|
8
|
-
title = '
|
|
8
|
+
title = '',
|
|
9
9
|
cards = [],
|
|
10
|
-
pillar = 'visit'
|
|
11
10
|
} = props;
|
|
12
11
|
|
|
13
12
|
return (
|
|
14
|
-
<div className={`${styles.pathwayBlock}
|
|
13
|
+
<div className={`${styles.pathwayBlock}`}>
|
|
15
14
|
<Container>
|
|
16
15
|
<div className={styles.pathwayBlockWrapper}>
|
|
17
16
|
{title &&<h1 className={styles.header}>{title}</h1>}
|
|
@@ -20,10 +19,12 @@ const PathwayBlock = (props: PathwayBlockProps) => {
|
|
|
20
19
|
<div className={styles.card}>
|
|
21
20
|
<DetailsCard
|
|
22
21
|
key={index}
|
|
23
|
-
title={card.
|
|
22
|
+
title={card.title}
|
|
23
|
+
description={card.description}
|
|
24
24
|
image={card.image}
|
|
25
|
-
link=
|
|
26
|
-
|
|
25
|
+
link={card.link}
|
|
26
|
+
pillar={card.pillar}
|
|
27
|
+
variation={'long'}
|
|
27
28
|
/>
|
|
28
29
|
</div>
|
|
29
30
|
))}
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
export interface PathwayCard {
|
|
2
|
-
|
|
3
|
-
description
|
|
4
|
-
image
|
|
2
|
+
title?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
image?: string;
|
|
5
|
+
link?: {
|
|
6
|
+
title?: string
|
|
7
|
+
href?: string
|
|
8
|
+
target?: "_blank" | "_self" | "_parent" | "_top"
|
|
9
|
+
rel?: string
|
|
10
|
+
} | undefined;
|
|
11
|
+
pillar?: 'visit' | 'live' | 'business' | 'participate' | 'taste'
|
|
5
12
|
}
|
|
6
13
|
|
|
7
14
|
interface PathwayBlockProps {
|
|
8
15
|
title?: string;
|
|
9
16
|
cards?: PathwayCard[];
|
|
10
|
-
pillar?: 'visit' | 'live' | 'business' | 'participate' | 'taste' | 'main';
|
|
11
17
|
}
|
|
12
18
|
|
|
13
19
|
export default PathwayBlockProps;
|
|
@@ -1,34 +1,38 @@
|
|
|
1
1
|
.pathwayBlock {
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
.header {
|
|
5
|
+
font-size: var(--font-size-h3);
|
|
6
|
+
font-weight: 700;
|
|
7
|
+
margin: 0 0 36px 0;
|
|
8
|
+
letter-spacing: -3.6px;
|
|
9
|
+
}
|
|
10
|
+
.cardsGrid {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-wrap: wrap;
|
|
13
|
+
margin: -12px;
|
|
14
|
+
}
|
|
4
15
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
16
|
+
.card{
|
|
17
|
+
width: 33.33%;
|
|
18
|
+
padding: 12px;
|
|
10
19
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
margin: 0 0 72px 0;
|
|
15
|
-
}
|
|
16
|
-
.cardsGrid {
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-wrap: wrap;
|
|
19
|
-
margin: -12px;
|
|
20
|
-
}
|
|
20
|
+
@media (max-width: 992px) {
|
|
21
|
+
width: 50%;
|
|
22
|
+
}
|
|
21
23
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
@media (max-width: 599px) {
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
25
27
|
|
|
26
|
-
@media (max-width: 999px) {
|
|
27
|
-
width: 50%;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
@media (
|
|
31
|
-
|
|
30
|
+
@media screen and (min-width: 992px){
|
|
31
|
+
.header {
|
|
32
|
+
margin: 0 0 72px 0;
|
|
33
|
+
letter-spacing: -3.6px;
|
|
34
|
+
}
|
|
32
35
|
}
|
|
33
36
|
|
|
34
|
-
|
|
37
|
+
|
|
38
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import PromoBannerBlock from './PromoBannerBlock';
|
|
4
4
|
import Button from '../../Form/Button/Button';
|
|
5
5
|
import ArrowRight from "../../Icons/Arrows/ArrowRight/ArrowRight";
|
|
@@ -29,11 +29,10 @@ const PromoBannerBlockTemplate: Story = {
|
|
|
29
29
|
title={'Spring gardens'}
|
|
30
30
|
boldTitle={'in Selwyn'}
|
|
31
31
|
content={'Visit Selwyn is for those who like to take the back roads, breathe mountain air, and find their own pace. Stay a little longer, explore deeper, and refuel with great kai and local stories along the way.'}
|
|
32
|
-
image={'promo-banner-
|
|
32
|
+
image={'/img/promo-banner-img.png'}
|
|
33
33
|
button={
|
|
34
|
-
<Button label={'START EXPLORING'}
|
|
34
|
+
<Button label={'START EXPLORING'} pillar={'visit'} level={'primary'} secondaryIcon={<ArrowRight />} />
|
|
35
35
|
}
|
|
36
|
-
|
|
37
36
|
/>
|
|
38
37
|
</ElementHolder>
|
|
39
38
|
)
|
|
@@ -20,7 +20,7 @@ const PromoBannerBlock = (props: PromoBannerBlockProps) => {
|
|
|
20
20
|
|
|
21
21
|
return (
|
|
22
22
|
<div className={styles.promoBannerBlock}>
|
|
23
|
-
<Container>
|
|
23
|
+
<Container border={false}>
|
|
24
24
|
<div className={`${styles.promoBlockWrapper} ${extraClass}`}>
|
|
25
25
|
<div className={styles.promoBannerBlockContainer}>
|
|
26
26
|
|
|
@@ -43,7 +43,6 @@ const PromoBannerBlock = (props: PromoBannerBlockProps) => {
|
|
|
43
43
|
<PromoBannerBgDesign />
|
|
44
44
|
</div>
|
|
45
45
|
</div>
|
|
46
|
-
|
|
47
46
|
<div className={styles.promoBannerBottom}>
|
|
48
47
|
<div className={styles.promoBannerBottomLeft}>
|
|
49
48
|
<div className={styles.promoBannerBrandPiller}>
|
|
@@ -52,19 +51,16 @@ const PromoBannerBlock = (props: PromoBannerBlockProps) => {
|
|
|
52
51
|
</div>
|
|
53
52
|
{pillerTitle}
|
|
54
53
|
</div>
|
|
55
|
-
|
|
56
54
|
<div className={styles.promoBannerTitleContainer}>
|
|
57
55
|
<h1>{title}</h1>
|
|
58
56
|
<h2>{boldTitle}</h2>
|
|
59
57
|
</div>
|
|
60
|
-
|
|
61
58
|
<p>{content}</p>
|
|
62
|
-
|
|
63
59
|
{button}
|
|
64
60
|
</div>
|
|
65
61
|
|
|
66
62
|
<div className={styles.promoBannerBottomRight}>
|
|
67
|
-
<img src={
|
|
63
|
+
<img src={image} alt={title} />
|
|
68
64
|
</div>
|
|
69
65
|
</div>
|
|
70
66
|
</div>
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
.promoBannerBlock {
|
|
2
2
|
overflow-x: hidden;
|
|
3
|
-
padding: 48px
|
|
3
|
+
padding: 48px 0px;
|
|
4
4
|
|
|
5
5
|
.promoBannerBlockContainer {
|
|
6
|
+
|
|
6
7
|
.promoBannerTop {
|
|
7
8
|
.promoBannerTopLeft {
|
|
8
|
-
padding: 0
|
|
9
|
+
padding: 0 ;
|
|
9
10
|
|
|
10
11
|
h1 {
|
|
11
12
|
font-size: var(--font-size-h5);
|
|
@@ -15,7 +16,7 @@
|
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
.promoBannerTopRight {
|
|
18
|
-
padding: 48px
|
|
19
|
+
padding: 48px 0px;
|
|
19
20
|
|
|
20
21
|
h1 {
|
|
21
22
|
font-size: var(--font-size-regular);
|
|
@@ -31,11 +32,12 @@
|
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
.promoBannerBottom {
|
|
34
|
-
|
|
35
|
+
border-radius: 16px 16px 96px 6px;
|
|
35
36
|
background: linear-gradient(to bottom,
|
|
36
37
|
var(--pathway-card-bg) 0%,
|
|
37
38
|
var(--pathway-card-bg) 60%,
|
|
38
39
|
transparent 60%);
|
|
40
|
+
overflow: hidden;
|
|
39
41
|
|
|
40
42
|
.promoBannerBottomLeft {
|
|
41
43
|
color: var(--pathway-card-text);
|
|
@@ -60,13 +62,13 @@
|
|
|
60
62
|
padding-block: 32px;
|
|
61
63
|
|
|
62
64
|
h1 {
|
|
63
|
-
font-size: var(--font-size-small);
|
|
65
|
+
font-size: var(--font-size-body-small);
|
|
64
66
|
font-weight: var(--font-weight-body-sm);
|
|
65
67
|
line-height: var(--line-height-h5);
|
|
66
68
|
}
|
|
67
69
|
|
|
68
70
|
h2 {
|
|
69
|
-
font-size: var(--font-size-small);
|
|
71
|
+
font-size: var(--font-size-body-small);
|
|
70
72
|
font-weight: var(--font-weight-bold);
|
|
71
73
|
line-height: var(--line-height-body-regular);
|
|
72
74
|
}
|
|
@@ -81,18 +83,19 @@
|
|
|
81
83
|
}
|
|
82
84
|
|
|
83
85
|
.promoBannerBottomRight {
|
|
86
|
+
background: var(--color-sand);
|
|
87
|
+
line-height: 0;
|
|
88
|
+
|
|
84
89
|
img {
|
|
85
90
|
height: 100%;
|
|
86
91
|
width: 100%;
|
|
87
92
|
object-fit: cover;
|
|
88
|
-
border-radius: 0 0 0 16px;
|
|
89
93
|
}
|
|
90
94
|
}
|
|
91
95
|
}
|
|
92
96
|
}
|
|
93
97
|
|
|
94
98
|
@media screen and (min-width: 992px) {
|
|
95
|
-
padding: 120px 0;
|
|
96
99
|
|
|
97
100
|
.promoBannerBlockContainer {
|
|
98
101
|
.promoBannerTop {
|
|
@@ -137,13 +140,11 @@
|
|
|
137
140
|
|
|
138
141
|
.promoBannerBottom {
|
|
139
142
|
display: flex;
|
|
140
|
-
|
|
141
|
-
background: transparent;
|
|
143
|
+
margin-top: 90px;
|
|
142
144
|
|
|
143
145
|
.promoBannerBottomLeft {
|
|
144
146
|
background-color: var(--pathway-card-bg);
|
|
145
147
|
padding: 72px 90px 72px 72px;
|
|
146
|
-
border-radius: 16px 0 0 16px;
|
|
147
148
|
width: 50%;
|
|
148
149
|
|
|
149
150
|
.promoBannerTitleContainer {
|
|
@@ -168,10 +169,6 @@
|
|
|
168
169
|
|
|
169
170
|
.promoBannerBottomRight {
|
|
170
171
|
width: 50%;
|
|
171
|
-
|
|
172
|
-
img {
|
|
173
|
-
border-radius: 0 16px 96px 0;
|
|
174
|
-
}
|
|
175
172
|
}
|
|
176
173
|
}
|
|
177
174
|
|
|
@@ -5,7 +5,7 @@ import TestimonyCard from "./TestimonyCard";
|
|
|
5
5
|
import ElementHolder from "../../Shared/ElementHolder/ElementHolder";
|
|
6
6
|
|
|
7
7
|
const meta: Meta = {
|
|
8
|
-
title: "
|
|
8
|
+
title: "DataDisplay / TestimonyCard",
|
|
9
9
|
component: TestimonyCard,
|
|
10
10
|
parameters: {
|
|
11
11
|
layout: 'fullscreen',
|
|
@@ -21,17 +21,23 @@ const TestimonyCardTemplate: Story = {
|
|
|
21
21
|
render: () => {
|
|
22
22
|
return (
|
|
23
23
|
<>
|
|
24
|
-
<ElementHolder paddingTop="sm" paddingBottom="sm"
|
|
24
|
+
<ElementHolder paddingTop="sm" paddingBottom="sm" pillar="live" level="light">
|
|
25
25
|
<TestimonyCard
|
|
26
26
|
testimonies={[
|
|
27
27
|
{
|
|
28
28
|
image: 'https://images.pexels.com/photos/1563356/pexels-photo-1563356.jpeg',
|
|
29
29
|
testimony: 'Living in Selwyn is like waking up in a dream every single day. The community is not only vibrant but also filled with friendly faces and engaging activities that bring everyone together.\n\nThe sunsets here are truly breathtaking, painting the sky in hues of orange, pink, and purple, creating a picturesque backdrop that makes every evening feel special!',
|
|
30
|
-
author: '
|
|
30
|
+
author: 'Liam & Emma'
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
image: 'https://images.pexels.com/photos/1563356/pexels-photo-1563356.jpeg',
|
|
34
|
+
testimony: 'Living in Selwyn is like waking up in a dream every single day. The community is not only vibrant but also filled with friendly faces and engaging activities that bring everyone together.\n\nThe sunsets here are truly breathtaking, painting the sky in hues of orange, pink, and purple, creating a picturesque backdrop that makes every evening feel special!',
|
|
35
|
+
author: 'Mamudu'
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
image:"https://images.pexels.com/photos/1906658/pexels-photo-1906658.jpeg",
|
|
39
|
+
testimony: 'The sense of community here is incredible. Living in Selwyn is like waking up in a dream every single day. The community is not only vibrant but also filled with friendly faces and engaging activities that bring everyone together.',
|
|
40
|
+
author: 'Sarah & James'
|
|
35
41
|
}
|
|
36
42
|
]}
|
|
37
43
|
/>
|