@hellobetterdigitalnz/selwynui 0.0.1-8 → 0.0.1-80
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 +10 -1
- package/src/Components/DataDisplay/Accordion/Accordion.stories.tsx +9 -17
- package/src/Components/DataDisplay/Accordion/Accordion.tsx +29 -26
- 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 +94 -42
- 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 +10 -9
- 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 +8 -8
- 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 +70 -54
- package/src/Components/DataDisplay/TestimonyCard/testimonyCard.module.scss +139 -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/CheckboxSelect/CheckboxSelect.tsx +5 -0
- package/src/Components/Form/CheckboxSelect/CheckboxSelectItem.tsx +5 -0
- package/src/Components/Form/CheckboxSet/CheckboxSet.stories.tsx +100 -0
- package/src/Components/Form/CheckboxSet/CheckboxSet.tsx +14 -0
- package/src/Components/Form/CheckboxSet/CheckboxSetItem.tsx +109 -0
- package/src/Components/Form/CheckboxSet/CheckboxSetProps.tsx +9 -0
- package/src/Components/Form/CheckboxSet/checkboxSet.module.scss +19 -0
- package/src/Components/Form/CurrencyField/CurrencyField.stories.tsx +23 -0
- package/src/Components/Form/CurrencyField/CurrencyField.tsx +105 -0
- package/src/Components/Form/CurrencyField/CurrencyFieldProps.tsx +10 -0
- package/src/Components/Form/DateField/DateField.stories.tsx +22 -0
- package/src/Components/Form/DateField/DateField.tsx +61 -0
- package/src/Components/Form/DropdownBadge/DropdownBadge.stories.tsx +54 -0
- package/src/Components/Form/DropdownBadge/DropdownBadge.tsx +303 -0
- package/src/Components/Form/DropdownBadge/DropdownBadgeItem.tsx +54 -0
- package/src/Components/Form/DropdownBadge/DropdownBadgeItemProps.tsx +11 -0
- package/src/Components/Form/DropdownBadge/DropdownBadgeProps.tsx +34 -0
- package/src/Components/Form/DropdownBadge/DropdownBadgeSelector.tsx +17 -0
- package/src/Components/Form/DropdownBadge/DropdownBadgeSelectorProps.tsx +10 -0
- package/src/Components/Form/DropdownBadge/dropdownBadge.module.scss +195 -0
- package/src/Components/Form/DropdownField/CountryDropdownField/CountryDropdownField.stories.tsx +36 -0
- package/src/Components/Form/DropdownField/CountryDropdownField/CountryDropdownField.tsx +426 -0
- package/src/Components/Form/DropdownField/CountryDropdownField/CountryDropdownFieldProps.tsx +30 -0
- package/src/Components/Form/DropdownField/DropdownField.stories.tsx +55 -0
- package/src/Components/Form/DropdownField/DropdownField.tsx +245 -0
- package/src/Components/Form/DropdownField/DropdownFieldItem.tsx +33 -0
- package/src/Components/Form/DropdownField/DropdownFieldItemProps.tsx +10 -0
- package/src/Components/Form/DropdownField/DropdownFieldProps.tsx +39 -0
- package/src/Components/Form/DropdownField/DropdownFieldSelector.tsx +23 -0
- package/src/Components/Form/DropdownField/DropdownFieldSelectorProps.tsx +8 -0
- package/src/Components/Form/DropdownField/dropdown.module.scss +144 -0
- package/src/Components/Form/EmailField/EmailField.stories.ts +23 -0
- package/src/Components/Form/EmailField/EmailField.tsx +56 -0
- package/src/Components/Form/ErrorMessage/ErrorMessage.tsx +5 -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/IconButton/IconButton.stories.tsx +45 -0
- package/src/Components/Form/IconButton/IconButton.tsx +65 -0
- package/src/Components/Form/IconButton/IconButtonProps.tsx +16 -0
- package/src/Components/Form/IconButton/iconButton.module.scss +157 -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/MicroForm/MicroForm.stories.tsx +28 -0
- package/src/Components/Form/MicroForm/MicroForm.tsx +22 -0
- package/src/Components/Form/MicroForm/MicroFormProps.tsx +12 -0
- package/src/Components/Form/MicroForm/microForm.module.scss +64 -0
- package/src/Components/Form/MultiSelectField/MultiSelectField.stories.tsx +39 -0
- package/src/Components/Form/MultiSelectField/MultiSelectField.tsx +439 -0
- package/src/Components/Form/MultiSelectField/MultiSelectFieldItem.tsx +36 -0
- package/src/Components/Form/MultiSelectField/MultiSelectFieldItemProps.tsx +12 -0
- package/src/Components/Form/MultiSelectField/MultiSelectFieldProps.tsx +36 -0
- package/src/Components/Form/MultiSelectField/MultiSelectFieldTag.tsx +24 -0
- package/src/Components/Form/MultiSelectField/MultiSelectFieldTagProps.tsx +6 -0
- package/src/Components/Form/MultiSelectField/multiSelectField.module.scss +205 -0
- package/src/Components/Form/NumberField/NumberField.stories.ts +23 -0
- package/src/Components/Form/NumberField/NumberField.tsx +137 -0
- package/src/Components/Form/NumberField/NumberFieldProps.tsx +10 -0
- package/src/Components/Form/PasswordField/PasswordField.stories.tsx +22 -0
- package/src/Components/Form/PasswordField/PasswordField.tsx +73 -0
- package/src/Components/Form/PhoneField/PhoneField.stories.ts +21 -0
- package/src/Components/Form/PhoneField/PhoneField.tsx +55 -0
- package/src/Components/Form/RadioButtons/RadioButton.tsx +100 -0
- package/src/Components/Form/RadioButtons/RadioButtonProps.tsx +25 -0
- package/src/Components/Form/RadioButtons/RadioButtons.stories.tsx +92 -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 +188 -0
- package/src/Components/Form/RichTextEditor/RichTextEditor.stories.ts +41 -0
- package/src/Components/Form/RichTextEditor/RichTextEditor.tsx +115 -0
- package/src/Components/Form/RichTextEditor/RichTextEditorProps.tsx +25 -0
- package/src/Components/Form/RichTextEditor/richTextEditor.module.scss +10 -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/TimeField/TimeField.stories.tsx +22 -0
- package/src/Components/Form/TimeField/TimeField.tsx +58 -0
- package/src/Components/Form/ToggleSwitch/ToggleSwitch.stories.tsx +50 -0
- package/src/Components/Form/ToggleSwitch/ToggleSwitch.tsx +87 -0
- package/src/Components/Form/ToggleSwitch/ToggleSwitchProps.tsx +22 -0
- package/src/Components/Form/ToggleSwitch/toggleSwitch.module.scss +84 -0
- package/src/Components/Form/TypableDropdownField/TypableDropdownField.stories.tsx +55 -0
- package/src/Components/Form/TypableDropdownField/TypableDropdownField.tsx +313 -0
- package/src/Components/Form/TypableDropdownField/TypableDropdownFieldItem.tsx +27 -0
- package/src/Components/Form/TypableDropdownField/TypableDropdownFieldItemProps.tsx +9 -0
- package/src/Components/Form/TypableDropdownField/TypableDropdownFieldProps.tsx +38 -0
- package/src/Components/Form/TypableDropdownField/TypableDropdownFieldSelector.tsx +16 -0
- package/src/Components/Form/TypableDropdownField/TypableDropdownFieldSelectorProps.tsx +8 -0
- package/src/Components/Form/TypableDropdownField/typableDropdown.module.scss +185 -0
- package/src/Components/Form/UnitInput/UnitField.stories.ts +22 -0
- package/src/Components/Form/UnitInput/UnitField.tsx +129 -0
- package/src/Components/Form/UnitInput/UnitFieldProps.tsx +9 -0
- package/src/Components/Form/index.ts +42 -1
- 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.stories.tsx +5 -7
- package/src/Components/Layout/Footer/Footer.tsx +1 -2
- package/src/Components/Layout/Footer/FooterBottom.tsx +83 -10
- package/src/Components/Layout/Footer/FooterBottomLeft.tsx +36 -1
- package/src/Components/Layout/Footer/FooterBottomLeftProps.tsx +4 -0
- package/src/Components/Layout/Footer/FooterBottomProps.tsx +13 -0
- package/src/Components/Layout/Footer/FooterMiddle.tsx +0 -4
- package/src/Components/Layout/Footer/FooterProps.tsx +1 -1
- package/src/Components/Layout/Footer/FooterTop.tsx +2 -2
- package/src/Components/Layout/Footer/footer.module.scss +211 -123
- package/src/Components/Layout/Header/Header.stories.tsx +8 -6
- 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/MobileNavigationItem.tsx +7 -3
- package/src/Components/Layout/Header/MobileNavigation/MobileNavigationItemProps.tsx +3 -0
- package/src/Components/Layout/Header/MobileNavigation/MobileNavigationProps.tsx +1 -0
- package/src/Components/Layout/Header/MobileNavigation/MobileSubNavigation/MobileSubNavigation.tsx +10 -5
- package/src/Components/Layout/Header/MobileNavigation/MobileSubNavigation/MobileSubNavigationItem.tsx +8 -9
- package/src/Components/Layout/Header/MobileNavigation/MobileSubNavigation/MobileSubNavigationItemProps.tsx +2 -2
- package/src/Components/Layout/Header/MobileNavigation/MobileSubNavigation/MobileSubNavigationProps.tsx +1 -0
- package/src/Components/Layout/Header/MobileNavigation/mobileNavigation.module.scss +14 -1
- package/src/Components/Layout/Header/header.module.scss +17 -19
- package/src/Components/Layout/Header/header.scss +8 -0
- 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 +19 -9
- package/src/Components/Shared/Container/ContainerProps.tsx +7 -2
- package/src/Components/Shared/Container/container.module.scss +59 -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 +14 -5
- 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,47 @@
|
|
|
1
|
+
import ArrowRight from "../../Icons/Arrows/ArrowRight/ArrowRight";
|
|
2
|
+
import ContactItemProps from "./ContactItemProps";
|
|
3
|
+
import styles from "./contactsBlock.module.scss";
|
|
4
|
+
|
|
5
|
+
const ContactItem = (props: ContactItemProps) => {
|
|
6
|
+
const {
|
|
7
|
+
image,
|
|
8
|
+
name,
|
|
9
|
+
position,
|
|
10
|
+
email,
|
|
11
|
+
mobile,
|
|
12
|
+
linkedInUrl,
|
|
13
|
+
} = props;
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<div className={styles.contactCard}>
|
|
17
|
+
<div className={styles.contactCardWrapper}>
|
|
18
|
+
<div className={styles.cardImg}>
|
|
19
|
+
{image && <img src={image} alt={`${name}-image`} />}
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div className={styles.contactContentWrapper}>
|
|
23
|
+
<div className={styles.contactCardHeader}>
|
|
24
|
+
{name && <h1>{name}</h1>}
|
|
25
|
+
{position && <h2>{position}</h2>}
|
|
26
|
+
</div>
|
|
27
|
+
|
|
28
|
+
<div className={styles.contactMiddleContent}>
|
|
29
|
+
{email && <a href={`mailto:${email}`}>{email}</a>}
|
|
30
|
+
{mobile && <a href={`tel:${mobile}`}>{mobile}</a>}
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<div className={styles.contactLink}>
|
|
34
|
+
{linkedInUrl && (
|
|
35
|
+
<a href={linkedInUrl} target="_blank" rel="noopener noreferrer">
|
|
36
|
+
<p>Connect on LinkedIn</p>
|
|
37
|
+
<ArrowRight type={"regular"} />
|
|
38
|
+
</a>
|
|
39
|
+
)}
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
);
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export default ContactItem;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
|
+
import ElementHolder from "../../Shared/ElementHolder/ElementHolder";
|
|
4
|
+
import ContactItem from "./ContactItem";
|
|
5
|
+
import ContactBlock from "./ContactsBlock";
|
|
6
|
+
|
|
7
|
+
const meta: Meta = {
|
|
8
|
+
title: "DataDisplay / ContactsBlock",
|
|
9
|
+
parameters: {
|
|
10
|
+
layout: 'fullscreen',
|
|
11
|
+
},
|
|
12
|
+
tags: ["autodocs"],
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default meta;
|
|
16
|
+
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
|
|
19
|
+
const ContactsBlockTemplate: Story = {
|
|
20
|
+
render: () => {
|
|
21
|
+
return (
|
|
22
|
+
<ElementHolder paddingTop="md" paddingBottom="md" pillar="visit" level="light">
|
|
23
|
+
<ContactBlock contactBlockTitle={'Meet the team'}>
|
|
24
|
+
<ContactItem
|
|
25
|
+
image={'./img/contact-image.svg'}
|
|
26
|
+
name={'Sarah Browne'}
|
|
27
|
+
position={'Marketing Manager'}
|
|
28
|
+
email={'sarahb@selwyn.nz'}
|
|
29
|
+
mobile={'03 345 3456'}
|
|
30
|
+
linkedInUrl={'/'}
|
|
31
|
+
/>
|
|
32
|
+
|
|
33
|
+
<ContactItem
|
|
34
|
+
image={'./img/contact-image.svg'}
|
|
35
|
+
name={'Sarah Browne'}
|
|
36
|
+
position={'Marketing Manager'}
|
|
37
|
+
email={'sarahb@selwyn.nz'}
|
|
38
|
+
mobile={'03 345 3456'}
|
|
39
|
+
linkedInUrl={'/'}
|
|
40
|
+
/>
|
|
41
|
+
|
|
42
|
+
<ContactItem
|
|
43
|
+
image={'./img/contact-image.svg'}
|
|
44
|
+
name={'Sarah Browne'}
|
|
45
|
+
position={'Marketing Manager'}
|
|
46
|
+
email={'sarahb@selwyn.nz'}
|
|
47
|
+
mobile={'03 345 3456'}
|
|
48
|
+
linkedInUrl={'/'}
|
|
49
|
+
/>
|
|
50
|
+
|
|
51
|
+
</ContactBlock>
|
|
52
|
+
</ElementHolder>
|
|
53
|
+
)
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export const ContactBlockComponent = {
|
|
58
|
+
...ContactsBlockTemplate
|
|
59
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Container } from "../../Shared";
|
|
2
|
+
import ContactsBlockProps from "./ContactsBlockProps";
|
|
3
|
+
import styles from "./contactsBlock.module.scss";
|
|
4
|
+
|
|
5
|
+
const ContactsBlock = (props: ContactsBlockProps) => {
|
|
6
|
+
const {
|
|
7
|
+
contactBlockTitle,
|
|
8
|
+
children
|
|
9
|
+
} = props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<div className={styles.contactsBlock}>
|
|
13
|
+
<Container>
|
|
14
|
+
{contactBlockTitle && <h1 className={styles.contactsBlockHeader}>{contactBlockTitle}</h1>}
|
|
15
|
+
|
|
16
|
+
{children && <div className={styles.contactsCardsWrapper}>
|
|
17
|
+
{children}
|
|
18
|
+
</div>}
|
|
19
|
+
</Container>
|
|
20
|
+
</div>
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default ContactsBlock;
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
.contactsBlock {
|
|
2
|
+
|
|
3
|
+
.contactsBlockHeader {
|
|
4
|
+
padding-bottom: 36px;
|
|
5
|
+
font-size: var(--font-size-h3);
|
|
6
|
+
font-weight: 700;
|
|
7
|
+
line-height: 1;
|
|
8
|
+
letter-spacing: -3.6px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.contactsCardsWrapper{
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-wrap: wrap;
|
|
14
|
+
margin: -12px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.contactCard{
|
|
18
|
+
width: 100%;
|
|
19
|
+
padding: 12px;
|
|
20
|
+
|
|
21
|
+
.contactCardWrapper{
|
|
22
|
+
border:1px solid var(--pathway-card-border);
|
|
23
|
+
color: var(--pathway-card-text);
|
|
24
|
+
background-color: var(--pathway-card-bg);
|
|
25
|
+
transition: all 0.3s ease-in-out;
|
|
26
|
+
border-radius: 12px;
|
|
27
|
+
overflow: clip;
|
|
28
|
+
min-height: 592px;
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
|
|
32
|
+
&:hover {
|
|
33
|
+
background-color: var(--pathway-card-hover-bg);
|
|
34
|
+
border:1px solid var(--pathway-card-hover-text);
|
|
35
|
+
|
|
36
|
+
.contactContentWrapper {
|
|
37
|
+
.contactCardHeader {
|
|
38
|
+
color: var(--pathway-card-hover-text);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
a{
|
|
42
|
+
color: var(--pathway-card-hover-text);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.cardImg{
|
|
52
|
+
position: relative;
|
|
53
|
+
height: 300px;
|
|
54
|
+
|
|
55
|
+
&:before{
|
|
56
|
+
content: '';
|
|
57
|
+
padding-top: 65.7%;
|
|
58
|
+
display: block;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
img{
|
|
62
|
+
position: absolute;
|
|
63
|
+
top: 0;
|
|
64
|
+
left: 0;
|
|
65
|
+
right: 0;
|
|
66
|
+
bottom: 0;
|
|
67
|
+
width: 100%;
|
|
68
|
+
height: 100%;
|
|
69
|
+
object-fit: cover;
|
|
70
|
+
object-position: top;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.contactContentWrapper{
|
|
75
|
+
flex: 1;
|
|
76
|
+
display: flex;
|
|
77
|
+
flex-direction: column;
|
|
78
|
+
padding: 24px 24px 16px 24px;
|
|
79
|
+
|
|
80
|
+
.contactCardHeader{
|
|
81
|
+
margin-bottom: 44px;
|
|
82
|
+
color: var(--pathway-card-text);
|
|
83
|
+
|
|
84
|
+
h1,h2{
|
|
85
|
+
font-size: 28px;
|
|
86
|
+
letter-spacing: -0.56px;
|
|
87
|
+
line-height: 1.1;
|
|
88
|
+
font-family: var(--font);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
h1{
|
|
92
|
+
font-weight: 700;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
h2{
|
|
96
|
+
font-weight: 400;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.contactMiddleContent{
|
|
102
|
+
display: flex;
|
|
103
|
+
flex-direction: column;
|
|
104
|
+
flex: 1;
|
|
105
|
+
margin-bottom: 20px;
|
|
106
|
+
|
|
107
|
+
a{
|
|
108
|
+
letter-spacing: -0.48px;
|
|
109
|
+
font-size: 24px;
|
|
110
|
+
font-weight: 400;
|
|
111
|
+
line-height: 1.3;
|
|
112
|
+
font-family: var(--font);
|
|
113
|
+
text-decoration: underline;
|
|
114
|
+
color: var(--pathway-card-text);
|
|
115
|
+
|
|
116
|
+
&:first-child{
|
|
117
|
+
margin-bottom: 8px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.contactLink{
|
|
124
|
+
|
|
125
|
+
a{
|
|
126
|
+
display: flex;
|
|
127
|
+
align-items: center;
|
|
128
|
+
font-size: 14px;
|
|
129
|
+
font-weight: 700;
|
|
130
|
+
line-height: 1.4;
|
|
131
|
+
letter-spacing: -0.14px;
|
|
132
|
+
justify-content: space-between;
|
|
133
|
+
color: var(--pathway-card-text);
|
|
134
|
+
|
|
135
|
+
svg{
|
|
136
|
+
width: 32px;
|
|
137
|
+
height: 32px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
@media screen and (min-width: 700px) {
|
|
149
|
+
|
|
150
|
+
.contactsBlockHeader {
|
|
151
|
+
padding-bottom: 72px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.contactCard{
|
|
155
|
+
width: 50%;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
@media screen and (min-width: 1024px) {
|
|
160
|
+
.contactCard {
|
|
161
|
+
width: 33.33%;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import React from "react"
|
|
3
|
+
import { Meta, StoryObj } from "@storybook/react-vite";
|
|
4
|
+
import ContentBlock from "./ContentBlock";
|
|
5
|
+
import ElementHolder from "../../Shared/ElementHolder/ElementHolder";
|
|
6
|
+
|
|
7
|
+
const meta: Meta = {
|
|
8
|
+
title: "DataDisplay / ContentBlock",
|
|
9
|
+
component: ContentBlock,
|
|
10
|
+
parameters: {
|
|
11
|
+
layout: 'fullscreen',
|
|
12
|
+
},
|
|
13
|
+
tags: ["autodocs"]
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export default meta;
|
|
17
|
+
|
|
18
|
+
type Story = StoryObj<typeof meta>;
|
|
19
|
+
|
|
20
|
+
const ContentBlockTemplate: Story = {
|
|
21
|
+
render: () => {
|
|
22
|
+
return (
|
|
23
|
+
<>
|
|
24
|
+
<ElementHolder paddingTop={'lg'} paddingBottom={"lg"} pillar="visit" level="light">
|
|
25
|
+
<ContentBlock spacingTop={"lg"}>
|
|
26
|
+
<h3>Privacy policy</h3>
|
|
27
|
+
<h5>Lorem ipsum dolor sit amet, consectetur adipiscing elit</h5>
|
|
28
|
+
<p>
|
|
29
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor <strong>incididunt</strong> ut labore et
|
|
30
|
+
dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
|
|
31
|
+
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
32
|
+
nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim
|
|
33
|
+
id est laborum.
|
|
34
|
+
</p>
|
|
35
|
+
|
|
36
|
+
<br/>
|
|
37
|
+
|
|
38
|
+
<h6>Lorem ipsum dolor sit amet, consectetur adipiscing elit</h6>
|
|
39
|
+
<p>
|
|
40
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et
|
|
41
|
+
dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
|
|
42
|
+
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
43
|
+
nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim
|
|
44
|
+
id est laborum.
|
|
45
|
+
</p>
|
|
46
|
+
|
|
47
|
+
<br/>
|
|
48
|
+
|
|
49
|
+
<h6>Lorem ipsum dolor sit amet, consectetur adipiscing elit</h6>
|
|
50
|
+
<p>
|
|
51
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et
|
|
52
|
+
dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
|
|
53
|
+
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
54
|
+
nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim
|
|
55
|
+
id est laborum.
|
|
56
|
+
</p>
|
|
57
|
+
|
|
58
|
+
<br/>
|
|
59
|
+
|
|
60
|
+
<p>
|
|
61
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et
|
|
62
|
+
dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
|
|
63
|
+
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
64
|
+
nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim
|
|
65
|
+
id est laborum.
|
|
66
|
+
</p>
|
|
67
|
+
</ContentBlock>
|
|
68
|
+
</ElementHolder>
|
|
69
|
+
</>
|
|
70
|
+
)
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export const ContentBlockComponent = {
|
|
75
|
+
...ContentBlockTemplate
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
// Additional story with different pillar
|
|
79
|
+
const ContentBlockVisitTemplate: Story = {
|
|
80
|
+
render: () => {
|
|
81
|
+
return (
|
|
82
|
+
<>
|
|
83
|
+
<ElementHolder paddingTop="sm" paddingBottom="sm" pillar="visit" level="primary">
|
|
84
|
+
<ContentBlock pillar="visit">
|
|
85
|
+
<h1>Terms of Service</h1>
|
|
86
|
+
<p>Please read these terms carefully</p>
|
|
87
|
+
|
|
88
|
+
<h3>User Agreement</h3>
|
|
89
|
+
<p>
|
|
90
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et
|
|
91
|
+
dolore magna aliqua.
|
|
92
|
+
</p>
|
|
93
|
+
|
|
94
|
+
<h3>Privacy & Data</h3>
|
|
95
|
+
<p>
|
|
96
|
+
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
|
97
|
+
</p>
|
|
98
|
+
</ContentBlock>
|
|
99
|
+
</ElementHolder>
|
|
100
|
+
</>
|
|
101
|
+
)
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export const ContentBlockVisit = {
|
|
106
|
+
...ContentBlockVisitTemplate
|
|
107
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import ContentBlockProps from "./ContentBlockProps.tsx";
|
|
2
|
+
import styles from './contentBlock.module.scss';
|
|
3
|
+
import Container from "../../Shared/Container/Container.tsx";
|
|
4
|
+
import LargeHeroIcon from "../../Layout/HeroBanner/LargeHeroIcon.tsx";
|
|
5
|
+
import cslx from "clsx";
|
|
6
|
+
|
|
7
|
+
const ContentBlock = (props: ContentBlockProps) => {
|
|
8
|
+
const {
|
|
9
|
+
children,
|
|
10
|
+
pillar = 'visit',
|
|
11
|
+
spacingTop = 'none',
|
|
12
|
+
} = props;
|
|
13
|
+
|
|
14
|
+
const className = cslx(
|
|
15
|
+
styles.contentBlock ,
|
|
16
|
+
`${pillar}`,
|
|
17
|
+
{
|
|
18
|
+
[styles[`contentBlock--pt-${spacingTop}`]]: spacingTop,
|
|
19
|
+
},
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<div className={className}>
|
|
24
|
+
<Container>
|
|
25
|
+
<div className={`typography ${styles.contentBlockWrapper}` }>
|
|
26
|
+
{children}
|
|
27
|
+
</div>
|
|
28
|
+
</Container>
|
|
29
|
+
<div className={styles.heroSvg}>
|
|
30
|
+
<LargeHeroIcon/>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export default ContentBlock;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {ReactNode} from "react";
|
|
2
|
+
|
|
3
|
+
interface ContentBlockProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
pillar?: 'visit' | 'live' | 'business' | 'participate' | 'taste' | 'main';
|
|
6
|
+
watermark?: boolean;
|
|
7
|
+
spacingTop?: "none" | "xsm" |"sm" | "md" | "lg" ;
|
|
8
|
+
spacingBottom?: "none" | "xsm" |"sm" | "md" | "lg" | "xl";
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export default ContentBlockProps;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
.contentBlock {
|
|
2
|
+
position: relative;
|
|
3
|
+
|
|
4
|
+
&Inner {
|
|
5
|
+
//position: relative;
|
|
6
|
+
z-index: 1;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
&--pt-none {
|
|
11
|
+
.heroSvg{
|
|
12
|
+
top:0;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&--pt-xsm {
|
|
17
|
+
.heroSvg {
|
|
18
|
+
top: -72px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&--pt-sm {
|
|
23
|
+
.heroSvg {
|
|
24
|
+
top: -90px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&--pt-md {
|
|
29
|
+
.heroSvg {
|
|
30
|
+
top: -120px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&--pt-lg {
|
|
35
|
+
.heroSvg {
|
|
36
|
+
top: -144px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
@media (max-width: 834px) {
|
|
42
|
+
width: 100%;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media (max-width: 480px) {
|
|
46
|
+
width: 100%;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.contentBlockWrapper {
|
|
52
|
+
max-width: 910px;
|
|
53
|
+
font-family: var(--font);
|
|
54
|
+
|
|
55
|
+
h1,h2,h3,h4,h5,h6{
|
|
56
|
+
margin-bottom: 24px ;
|
|
57
|
+
font-weight: 400;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.heroSvg {
|
|
65
|
+
position: absolute;
|
|
66
|
+
z-index: 5;
|
|
67
|
+
top: 0;
|
|
68
|
+
height: 340px;
|
|
69
|
+
pointer-events: none;
|
|
70
|
+
opacity: 0.2;
|
|
71
|
+
right: -240px;
|
|
72
|
+
|
|
73
|
+
@media (max-width: 1024px) {
|
|
74
|
+
display: none;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -10,16 +10,14 @@ const DetailsCard = (props: DetailsCardProps) => {
|
|
|
10
10
|
date = '',
|
|
11
11
|
image = '',
|
|
12
12
|
variation= 'long',
|
|
13
|
-
link =
|
|
14
|
-
category = 'all',
|
|
13
|
+
link = {},
|
|
15
14
|
pillar = 'visit'
|
|
16
15
|
} = props;
|
|
17
16
|
|
|
18
17
|
const classes = [
|
|
19
18
|
styles.detailsCard,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"detailsCard",
|
|
19
|
+
"detailsCard",
|
|
20
|
+
`${pillar}`
|
|
23
21
|
];
|
|
24
22
|
|
|
25
23
|
if(variation==='short') {
|
|
@@ -27,11 +25,11 @@ const DetailsCard = (props: DetailsCardProps) => {
|
|
|
27
25
|
}
|
|
28
26
|
|
|
29
27
|
|
|
30
|
-
return <div className={cx(classes)}
|
|
31
|
-
<a href={link
|
|
32
|
-
|
|
33
|
-
<img src={image} alt={title} />
|
|
34
|
-
</div>
|
|
28
|
+
return <div className={cx(classes)}>
|
|
29
|
+
<a href={link?.href} target={link.target} rel={link.rel} className={`${styles.cardWrap} ${styles.detailsCardWithLink}`}>
|
|
30
|
+
<div className={styles.cardImage}>
|
|
31
|
+
{image && <img src={image} alt={title} />}
|
|
32
|
+
</div>
|
|
35
33
|
|
|
36
34
|
<div className={styles.cardContent}>
|
|
37
35
|
<div className={styles.cardBody}>
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
border:1px solid var(--pathway-card-border);
|
|
5
5
|
color: var(--pathway-card-text);
|
|
6
6
|
background-color: var(--pathway-card-bg);
|
|
7
|
+
transition: all 0.3s ease-in-out;
|
|
7
8
|
|
|
8
9
|
&.detailsCardShort {
|
|
9
10
|
min-height: 274px;
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
|
|
28
29
|
.cardImage {
|
|
29
30
|
height: 200px;
|
|
31
|
+
|
|
30
32
|
img {
|
|
31
33
|
width: 100%;
|
|
32
34
|
height: 100%;
|
|
@@ -55,7 +57,7 @@
|
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
.cardWrap {
|
|
58
|
-
min-height:
|
|
60
|
+
min-height: 450px;
|
|
59
61
|
display: flex;
|
|
60
62
|
flex-direction: column;
|
|
61
63
|
|
|
@@ -7,7 +7,7 @@ import Button from "../../Form/Button/Button";
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
const meta: Meta = {
|
|
10
|
-
title: "
|
|
10
|
+
title: "DataDisplay / ImageContent",
|
|
11
11
|
component: ImageContent,
|
|
12
12
|
parameters: {
|
|
13
13
|
layout: 'fullscreen',
|
|
@@ -31,6 +31,8 @@ const ImageContentTemplate: Story = {
|
|
|
31
31
|
level={'light'}
|
|
32
32
|
>
|
|
33
33
|
<ImageContent
|
|
34
|
+
paddingTop={'md'}
|
|
35
|
+
paddingBottom={'md'}
|
|
34
36
|
title={'Lorem'}
|
|
35
37
|
boldTitle={'ipsum dolor'}
|
|
36
38
|
content={'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat'}
|
|
@@ -119,11 +121,8 @@ const ImageContentFullTemplate: Story = {
|
|
|
119
121
|
<ImageContent
|
|
120
122
|
rendition={'full'}
|
|
121
123
|
pillar={'live'}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
'https://images.pexels.com/photos/1563356/pexels-photo-1563356.jpeg',
|
|
125
|
-
],
|
|
126
|
-
}}
|
|
124
|
+
title={'More life'}
|
|
125
|
+
boldTitle={'less fuss'}
|
|
127
126
|
list={[
|
|
128
127
|
{
|
|
129
128
|
id:'1',
|
|
@@ -152,11 +151,6 @@ const ImageContentFullTemplate: Story = {
|
|
|
152
151
|
<ImageContent
|
|
153
152
|
rendition={'full'}
|
|
154
153
|
pillar={'live'}
|
|
155
|
-
images={{
|
|
156
|
-
single: [
|
|
157
|
-
'https://images.pexels.com/photos/1563356/pexels-photo-1563356.jpeg',
|
|
158
|
-
],
|
|
159
|
-
}}
|
|
160
154
|
list={[
|
|
161
155
|
{
|
|
162
156
|
id:'1',
|