@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
|
@@ -20,6 +20,8 @@ const ImageContent = (props: ImageContentProps) => {
|
|
|
20
20
|
imageBorder = "top-right",
|
|
21
21
|
rendition = "contained",
|
|
22
22
|
list,
|
|
23
|
+
spaceTop = 'none',
|
|
24
|
+
spaceBottom = 'none',
|
|
23
25
|
} = props;
|
|
24
26
|
|
|
25
27
|
const pillarLogo = (
|
|
@@ -39,11 +41,10 @@ const ImageContent = (props: ImageContentProps) => {
|
|
|
39
41
|
|
|
40
42
|
if (rendition === 'full'){
|
|
41
43
|
return <div className={`${styles.imageContent} ${styles.imageContentFull} ${styles[imageBorder]} `}>
|
|
42
|
-
<Container>
|
|
44
|
+
<Container spaceTop={spaceTop} spaceBottom={spaceBottom}>
|
|
43
45
|
<div className={styles.imageContentWrapper}>
|
|
44
46
|
<div className={styles.content}>
|
|
45
47
|
<div className={styles.contentWrapper}>
|
|
46
|
-
{pillarLogo}
|
|
47
48
|
<div className={styles.title}>
|
|
48
49
|
<h3>
|
|
49
50
|
{title}
|
|
@@ -53,9 +54,9 @@ const ImageContent = (props: ImageContentProps) => {
|
|
|
53
54
|
</>)}
|
|
54
55
|
</h3>
|
|
55
56
|
</div>
|
|
56
|
-
<div className={styles.desc}>
|
|
57
|
-
|
|
58
|
-
</div>
|
|
57
|
+
{content && <div className={styles.desc}>
|
|
58
|
+
<p>{content}</p>
|
|
59
|
+
</div>}
|
|
59
60
|
{list && <ul className={styles.list}>
|
|
60
61
|
{list.map((i) => (
|
|
61
62
|
<li key={i.id}>
|
|
@@ -86,7 +87,7 @@ const ImageContent = (props: ImageContentProps) => {
|
|
|
86
87
|
|
|
87
88
|
if(rendition === "fluid"){
|
|
88
89
|
return <div className={`${styles.imageContent} ${styles.imageContentFluid} ${styles[alignment]}`}>
|
|
89
|
-
<Container>
|
|
90
|
+
<Container spaceTop={spaceTop} spaceBottom={spaceBottom}>
|
|
90
91
|
<div className={styles.imageContentWrapper}>
|
|
91
92
|
<div className={styles.imageWrapper}>
|
|
92
93
|
<div className={styles.imageHolder}>
|
|
@@ -111,7 +112,7 @@ const ImageContent = (props: ImageContentProps) => {
|
|
|
111
112
|
</h3>
|
|
112
113
|
</div>
|
|
113
114
|
<div className={styles.desc}>
|
|
114
|
-
<p>
|
|
115
|
+
<p>{content}</p>
|
|
115
116
|
</div>
|
|
116
117
|
{action && <div className={styles.action}>
|
|
117
118
|
{action}
|
|
@@ -126,7 +127,7 @@ const ImageContent = (props: ImageContentProps) => {
|
|
|
126
127
|
if (rendition === 'masked'){
|
|
127
128
|
return (
|
|
128
129
|
<div className={`${styles.imageContent} ${styles.maskedImageContent} ${styles[alignment]}`}>
|
|
129
|
-
<Container>
|
|
130
|
+
<Container spaceTop={spaceTop} spaceBottom={spaceBottom}>
|
|
130
131
|
<div className={styles.imageContentWrapper}>
|
|
131
132
|
|
|
132
133
|
{/* IMAGE BLOCK */}
|
|
@@ -159,7 +160,7 @@ const ImageContent = (props: ImageContentProps) => {
|
|
|
159
160
|
|
|
160
161
|
|
|
161
162
|
return <div className={`${styles.imageContent} ${styles[alignment]}`}>
|
|
162
|
-
<Container>
|
|
163
|
+
<Container spaceTop={spaceTop} spaceBottom={spaceBottom}>
|
|
163
164
|
<div className={styles.imageContentWrapper}>
|
|
164
165
|
<div className={styles.imageWrapper}>
|
|
165
166
|
<div className={styles.imageHolder}>
|
|
@@ -14,6 +14,8 @@ export type RenditionType =
|
|
|
14
14
|
| "contained"
|
|
15
15
|
| "masked";
|
|
16
16
|
|
|
17
|
+
type SpacingOption = "none" | "xsm" |"sm" | "md" | "lg" | "xl"
|
|
18
|
+
|
|
17
19
|
export interface ImageSet {
|
|
18
20
|
single?: string;
|
|
19
21
|
setOfFour?: [string, string, string, string];
|
|
@@ -38,6 +40,8 @@ export interface ImageContentProps {
|
|
|
38
40
|
imageBorder?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'
|
|
39
41
|
rendition?: RenditionType;
|
|
40
42
|
list?: Item[];
|
|
43
|
+
spaceTop?: SpacingOption
|
|
44
|
+
spaceBottom?: SpacingOption
|
|
41
45
|
}
|
|
42
46
|
|
|
43
47
|
export default ImageContentProps;
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.title{
|
|
61
|
-
font-size: var(--font-size-h3);
|
|
62
|
-
line-height: var(--line-height-h3);
|
|
63
61
|
|
|
64
62
|
h3{
|
|
65
63
|
font-weight: 400;
|
|
64
|
+
font-size: var(--font-size-h3);
|
|
65
|
+
line-height: var(--line-height-h3);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
span{
|
|
@@ -72,10 +72,14 @@
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.desc{
|
|
75
|
-
margin-top:
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
margin-top: 48px;
|
|
76
|
+
|
|
77
|
+
p{
|
|
78
|
+
font-size: var(--font-size-body-regular);
|
|
79
|
+
line-height: var(--line-height-body-regular);
|
|
80
|
+
font-weight: 400;
|
|
81
|
+
}
|
|
82
|
+
|
|
79
83
|
}
|
|
80
84
|
|
|
81
85
|
.action{
|
|
@@ -164,6 +168,7 @@
|
|
|
164
168
|
width: 60%;
|
|
165
169
|
top: 0;
|
|
166
170
|
bottom: 0;
|
|
171
|
+
pointer-events: none;
|
|
167
172
|
}
|
|
168
173
|
|
|
169
174
|
.pillarlogo{
|
|
@@ -219,18 +224,22 @@
|
|
|
219
224
|
height: 100%;
|
|
220
225
|
width: 100%;
|
|
221
226
|
min-width: 50vw;
|
|
222
|
-
|
|
227
|
+
position: relative;
|
|
223
228
|
|
|
224
229
|
|
|
225
|
-
|
|
226
|
-
content:
|
|
230
|
+
&:before {
|
|
231
|
+
content: '';
|
|
232
|
+
display:block ;
|
|
233
|
+
padding-top: 103%;
|
|
227
234
|
}
|
|
228
235
|
|
|
229
236
|
img {
|
|
237
|
+
position: absolute;
|
|
238
|
+
top: 0;
|
|
239
|
+
left: 0;
|
|
230
240
|
width: 100%;
|
|
231
241
|
height: 100%;
|
|
232
242
|
object-fit: cover;
|
|
233
|
-
object-position: center;
|
|
234
243
|
}
|
|
235
244
|
}
|
|
236
245
|
|
|
@@ -274,7 +283,7 @@
|
|
|
274
283
|
|
|
275
284
|
//Fluid
|
|
276
285
|
&.imageContentFluid{
|
|
277
|
-
overflow
|
|
286
|
+
overflow: hidden;
|
|
278
287
|
|
|
279
288
|
.pillarlogo{
|
|
280
289
|
display: flex;
|
|
@@ -346,6 +355,10 @@
|
|
|
346
355
|
.content{
|
|
347
356
|
width: 50%;
|
|
348
357
|
padding: 0 52px;
|
|
358
|
+
|
|
359
|
+
.desc{
|
|
360
|
+
margin-top: 72px;
|
|
361
|
+
}
|
|
349
362
|
}
|
|
350
363
|
|
|
351
364
|
&.left{
|
|
@@ -424,11 +437,14 @@
|
|
|
424
437
|
|
|
425
438
|
.imageWrapper{
|
|
426
439
|
width: 50%;
|
|
440
|
+
margin-left: 0px;
|
|
441
|
+
margin-right: 0px;
|
|
427
442
|
}
|
|
428
443
|
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
444
|
+
.content{
|
|
445
|
+
padding-right: 149px;
|
|
446
|
+
padding-left: 0px;
|
|
447
|
+
}
|
|
432
448
|
|
|
433
449
|
}
|
|
434
450
|
|
|
@@ -19,7 +19,7 @@ type Story = StoryObj<typeof meta>;
|
|
|
19
19
|
const IntroBlockTemplate: Story = {
|
|
20
20
|
render: () => {
|
|
21
21
|
return (
|
|
22
|
-
<ElementHolder paddingTop="
|
|
22
|
+
<ElementHolder paddingTop="md" paddingBottom="sm" pillar="visit" level="light">
|
|
23
23
|
<IntroBlock
|
|
24
24
|
introHeading={'A district that’s growing, grounded, and full of opportunity.'}
|
|
25
25
|
introText={'From the Southern Alps to the sea, Waikirikiri Selwyn’s diverse towns arespread across the Canterbury Plains between two mighty braided rivers. This is where ideas take root, families and businesses grow, and communities come together. We don’t just dream of a better future, we make it happen.'}
|
|
@@ -1,4 +1,27 @@
|
|
|
1
1
|
.introBlock {
|
|
2
|
+
font-family: var(--font);
|
|
3
|
+
|
|
4
|
+
.introBlockWrapper {
|
|
5
|
+
.introBlockLeft {
|
|
6
|
+
padding: 0 0 48px 0;
|
|
7
|
+
|
|
8
|
+
h1 {
|
|
9
|
+
font-size: var(--font-size-h5);
|
|
10
|
+
font-weight: var(--font-weight-h3);
|
|
11
|
+
line-height: var(--line-height-h5);
|
|
12
|
+
letter-spacing: var(--letter-spacing-h1);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.introBlockRight {
|
|
17
|
+
h1 {
|
|
18
|
+
font-size: var(--font-size-regular);
|
|
19
|
+
font-weight: var(--font-weight-body-regular);
|
|
20
|
+
line-height: var(--line-height-label);
|
|
21
|
+
letter-spacing: var(--letter-spacing-h6);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
2
25
|
|
|
3
26
|
@media screen and (min-width: 992px) {
|
|
4
27
|
.introBlockWrapper {
|
|
@@ -14,15 +37,16 @@
|
|
|
14
37
|
font-size: var(--font-size-h4);
|
|
15
38
|
line-height: var(--line-height-h4);
|
|
16
39
|
font-weight: var(--font-weight-h4);
|
|
40
|
+
letter-spacing: var(--letter-spacing-h4);
|
|
17
41
|
}
|
|
18
42
|
}
|
|
19
43
|
|
|
20
44
|
.introBlockRight {
|
|
21
|
-
width:
|
|
22
|
-
padding: 0 72px;
|
|
45
|
+
width: 45%;
|
|
46
|
+
padding: 0 0 0 72px;
|
|
23
47
|
|
|
24
48
|
h1 {
|
|
25
|
-
font-size: var(--font-size-
|
|
49
|
+
font-size: var(--font-size-h6);
|
|
26
50
|
line-height: var(--line-height-label);
|
|
27
51
|
font-weight: var(--font-weight-body-regular);
|
|
28
52
|
}
|
|
@@ -4,7 +4,7 @@ import KPIBlock from "./KPIBlock";
|
|
|
4
4
|
import ElementHolder from "../../Shared/ElementHolder/ElementHolder";
|
|
5
5
|
|
|
6
6
|
const meta: Meta = {
|
|
7
|
-
title: "
|
|
7
|
+
title: "DataDisplay / KPIBlock",
|
|
8
8
|
component: KPIBlock,
|
|
9
9
|
parameters: {
|
|
10
10
|
layout: 'fullscreen',
|
|
@@ -21,8 +21,8 @@ const KPIBlockTemplate: Story = {
|
|
|
21
21
|
|
|
22
22
|
return (
|
|
23
23
|
<>
|
|
24
|
-
<ElementHolder paddingTop="sm" paddingBottom="sm" piller="business" level="secondary">
|
|
25
24
|
<KPIBlock
|
|
25
|
+
pillar="live"
|
|
26
26
|
title={'Insights lorem ipsum dolor sit amet'}
|
|
27
27
|
description={'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.'}
|
|
28
28
|
stats={[
|
|
@@ -44,7 +44,6 @@ const KPIBlockTemplate: Story = {
|
|
|
44
44
|
},
|
|
45
45
|
]}
|
|
46
46
|
/>
|
|
47
|
-
</ElementHolder>
|
|
48
47
|
</>
|
|
49
48
|
)
|
|
50
49
|
}
|
|
@@ -55,7 +54,7 @@ const KPIBlockBusinessTemplate: Story = {
|
|
|
55
54
|
|
|
56
55
|
return (
|
|
57
56
|
<>
|
|
58
|
-
<ElementHolder paddingTop="sm" paddingBottom="sm"
|
|
57
|
+
<ElementHolder paddingTop="sm" paddingBottom="sm" pillar="business" level="light">
|
|
59
58
|
<KPIBlock
|
|
60
59
|
title={'Business Growth Statistics'}
|
|
61
60
|
description={'Our comprehensive approach to business development has yielded impressive results across multiple sectors.'}
|
|
@@ -2,6 +2,7 @@ import KPIBlockProps from "./KPIBlockProps.tsx";
|
|
|
2
2
|
import styles from './kpiBlock.module.scss';
|
|
3
3
|
import Container from "../../Shared/Container/Container.tsx";
|
|
4
4
|
import PillarIcon from "../../Shared/PillarIcon/PillarIcon.tsx";
|
|
5
|
+
import cslx from "clsx";
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
const KPIBlock = (props: KPIBlockProps) => {
|
|
@@ -9,12 +10,19 @@ const KPIBlock = (props: KPIBlockProps) => {
|
|
|
9
10
|
title,
|
|
10
11
|
description,
|
|
11
12
|
stats = [],
|
|
12
|
-
pillar
|
|
13
|
+
pillar ,
|
|
14
|
+
spacingBottom='xsm',
|
|
13
15
|
} = props;
|
|
14
16
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
const className = cslx(
|
|
18
|
+
styles.kpi ,
|
|
19
|
+
{
|
|
20
|
+
[styles[`kpi--pb-${spacingBottom}`]]: spacingBottom,
|
|
21
|
+
},
|
|
22
|
+
);
|
|
17
23
|
|
|
24
|
+
return (
|
|
25
|
+
<div className={`${styles.kpi} ${className}`}>
|
|
18
26
|
<Container>
|
|
19
27
|
<div className={styles.kpiWrapper}>
|
|
20
28
|
<div className={styles.header}>
|
|
@@ -29,12 +37,11 @@ const KPIBlock = (props: KPIBlockProps) => {
|
|
|
29
37
|
</div>
|
|
30
38
|
))}
|
|
31
39
|
</div>
|
|
32
|
-
<div className={styles.pillarIcon}>
|
|
33
|
-
<PillarIcon pillar={'business'}/>
|
|
34
|
-
</div>
|
|
35
40
|
</div>
|
|
36
41
|
</Container>
|
|
37
|
-
|
|
42
|
+
<div className={styles.pillarIcon}>
|
|
43
|
+
<PillarIcon pillar={pillar}/>
|
|
44
|
+
</div>
|
|
38
45
|
</div>
|
|
39
46
|
);
|
|
40
47
|
};
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
import {ElementHolderProps} from "../../Shared";
|
|
2
|
+
|
|
1
3
|
interface KPIItem {
|
|
2
4
|
value: string;
|
|
3
5
|
description: string;
|
|
4
6
|
}
|
|
5
7
|
|
|
6
|
-
interface KPIBlockProps {
|
|
8
|
+
interface KPIBlockProps extends ElementHolderProps{
|
|
7
9
|
title?: string;
|
|
8
10
|
description?: string;
|
|
9
11
|
stats?: KPIItem[];
|
|
10
|
-
pillar
|
|
12
|
+
pillar: 'main' | 'visit' | 'live' | 'business' | 'participate' | 'taste';
|
|
13
|
+
spacingTop?: "none" | "xsm" |"sm" | "md" | "lg" ;
|
|
14
|
+
spacingBottom?: "none" | "xsm" |"sm" | "md" | "lg" | "xl";
|
|
11
15
|
}
|
|
12
16
|
|
|
13
17
|
export default KPIBlockProps;
|
|
@@ -1,42 +1,160 @@
|
|
|
1
1
|
.kpi {
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
&Inner {
|
|
4
|
+
//position: relative;
|
|
5
|
+
z-index: 1;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
&--pb-none {
|
|
10
|
+
.pillarIcon {
|
|
11
|
+
bottom:0;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&--pb-xsm {
|
|
16
|
+
.pillarIcon {
|
|
17
|
+
bottom: -72px;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&--pb-sm {
|
|
22
|
+
.pillarIcon {
|
|
23
|
+
bottom: -90px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&--pb-md {
|
|
28
|
+
.pillarIcon {
|
|
29
|
+
bottom: -120px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&--pb-lg {
|
|
34
|
+
padding-bottom: 25px;
|
|
35
|
+
.pillarIcon {
|
|
36
|
+
bottom: -144px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&--pt-none {
|
|
41
|
+
.pillarIcon {
|
|
42
|
+
top:0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&--pt-xsm {
|
|
47
|
+
.pillarIcon {
|
|
48
|
+
top: -72px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&--pt-sm {
|
|
53
|
+
.pillarIcon {
|
|
54
|
+
top: -90px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&--pt-md {
|
|
59
|
+
.pillarIcon {
|
|
60
|
+
top: -120px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&--pt-lg {
|
|
65
|
+
padding-top: 25px;
|
|
66
|
+
.pillarIcon {
|
|
67
|
+
top: -144px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
3
70
|
|
|
4
71
|
.kpiWrapper {
|
|
5
72
|
display: flex;
|
|
6
73
|
flex-direction: inherit;
|
|
7
74
|
align-items: start;
|
|
75
|
+
width: 100%;
|
|
8
76
|
|
|
77
|
+
@media (max-width: 900px) {
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
}
|
|
9
80
|
|
|
10
81
|
.header {
|
|
11
|
-
flex: 0 0
|
|
12
|
-
margin-right:
|
|
82
|
+
flex: 0 0 35%;
|
|
83
|
+
margin-right: 50px;
|
|
84
|
+
|
|
85
|
+
@media (max-width: 1200px) {
|
|
86
|
+
margin-right: 60px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@media (max-width: 900px) {
|
|
90
|
+
flex: 1;
|
|
91
|
+
width: 100%;
|
|
92
|
+
margin-right: 0;
|
|
93
|
+
margin-bottom: 16px;
|
|
94
|
+
}
|
|
13
95
|
|
|
14
96
|
h2 {
|
|
15
97
|
font-size: var(--font-size-h4);
|
|
16
98
|
font-weight: var(--font-weight-h5);
|
|
17
99
|
letter-spacing: -1.92px;
|
|
18
100
|
line-height: 1;
|
|
19
|
-
margin-bottom:
|
|
101
|
+
margin-bottom: 59px;
|
|
102
|
+
|
|
103
|
+
@media (max-width: 900px) {
|
|
104
|
+
font-size: var(--font-size-h5);
|
|
105
|
+
margin-bottom: 40px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@media (max-width: 480px) {
|
|
109
|
+
font-size: var(--font-size-h6);
|
|
110
|
+
margin-bottom: 22px;
|
|
111
|
+
letter-spacing: -1.2px;
|
|
112
|
+
}
|
|
20
113
|
}
|
|
21
114
|
|
|
22
115
|
p {
|
|
23
116
|
font-size: var(--font-size-body-regular);
|
|
24
117
|
line-height: var(--line-height-body-regular);
|
|
25
118
|
font-weight: var(--font-weight-body-sm);
|
|
119
|
+
|
|
120
|
+
@media (max-width: 900px) {
|
|
121
|
+
font-size: var(--font-size-body-sm);
|
|
122
|
+
}
|
|
26
123
|
}
|
|
27
124
|
}
|
|
28
125
|
|
|
29
126
|
.stats {
|
|
30
127
|
width: 60%;
|
|
31
128
|
display: flex;
|
|
129
|
+
align-items: center;
|
|
32
130
|
flex-direction: column;
|
|
33
|
-
gap:48px;
|
|
131
|
+
gap: 48px;
|
|
132
|
+
|
|
133
|
+
@media (max-width: 900px) {
|
|
134
|
+
width: 100%;
|
|
135
|
+
gap: 32px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@media (max-width: 480px) {
|
|
139
|
+
gap: 24px;
|
|
140
|
+
}
|
|
34
141
|
|
|
35
142
|
.statItem {
|
|
36
143
|
display: flex;
|
|
144
|
+
align-items: flex-start;
|
|
37
145
|
padding-bottom: 48px;
|
|
38
|
-
border-bottom: 1px solid
|
|
146
|
+
border-bottom: 1px solid;
|
|
39
147
|
|
|
148
|
+
@media (max-width: 900px) {
|
|
149
|
+
padding-bottom: 32px;
|
|
150
|
+
flex-direction: column;
|
|
151
|
+
gap: 16px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@media (max-width: 480px) {
|
|
155
|
+
padding-bottom: 24px;
|
|
156
|
+
gap: 12px;
|
|
157
|
+
}
|
|
40
158
|
|
|
41
159
|
&:last-child {
|
|
42
160
|
border-bottom: none;
|
|
@@ -50,6 +168,23 @@
|
|
|
50
168
|
font-weight: var(--font-weight-h5);
|
|
51
169
|
letter-spacing: -3.6px;
|
|
52
170
|
min-width: 230px;
|
|
171
|
+
|
|
172
|
+
@media (max-width: 1200px) {
|
|
173
|
+
flex: 0 0 180px;
|
|
174
|
+
min-width: 180px;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
@media (max-width: 900px) {
|
|
178
|
+
flex: 1;
|
|
179
|
+
min-width: 0;
|
|
180
|
+
font-size: var(--font-size-h4);
|
|
181
|
+
letter-spacing: -2.4px;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
@media (max-width: 480px) {
|
|
185
|
+
font-size: var(--font-size-h5);
|
|
186
|
+
letter-spacing: -1.8px;
|
|
187
|
+
}
|
|
53
188
|
}
|
|
54
189
|
|
|
55
190
|
.description {
|
|
@@ -60,19 +195,47 @@
|
|
|
60
195
|
display: flex;
|
|
61
196
|
align-items: center;
|
|
62
197
|
padding-left: 24px;
|
|
198
|
+
|
|
199
|
+
@media (max-width: 900px) {
|
|
200
|
+
padding-left: 0;
|
|
201
|
+
font-size: var(--font-size-body-sm);
|
|
202
|
+
align-items: flex-start;
|
|
203
|
+
}
|
|
63
204
|
}
|
|
64
205
|
}
|
|
65
206
|
}
|
|
66
207
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.pillarIcon {
|
|
211
|
+
color: var(--color-block-text);
|
|
212
|
+
position: absolute;
|
|
213
|
+
right: 0;
|
|
214
|
+
bottom: 0;
|
|
215
|
+
pointer-events: none;
|
|
216
|
+
z-index: 1;
|
|
217
|
+
|
|
218
|
+
@media (max-width: 1200px) {
|
|
219
|
+
right: -100px;
|
|
220
|
+
display: none;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
@media (max-width: 900px) {
|
|
224
|
+
display: none;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
svg {
|
|
228
|
+
height: 577px;
|
|
229
|
+
width: 639px;
|
|
230
|
+
|
|
231
|
+
@media (max-width: 1400px) {
|
|
232
|
+
height: 450px;
|
|
233
|
+
width: 500px;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
@media (max-width: 1200px) {
|
|
237
|
+
height: 350px;
|
|
238
|
+
width: 400px;
|
|
76
239
|
}
|
|
77
240
|
}
|
|
78
|
-
}
|
|
241
|
+
}
|
package/src/Components/DataDisplay/{Pathway/Pathway.stories.tsx → ListBlock/ListBlock.stories.tsx}
RENAMED
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
3
|
-
import
|
|
3
|
+
import ListBlock from './ListBlock';
|
|
4
4
|
import {ElementHolder} from "../../Shared";
|
|
5
|
+
import Button from "../../Form/Button/Button";
|
|
6
|
+
import {ArrowRight} from "../../Icons";
|
|
5
7
|
|
|
6
|
-
const meta : Meta<typeof
|
|
7
|
-
title: "
|
|
8
|
-
component:
|
|
8
|
+
const meta : Meta<typeof ListBlock> = {
|
|
9
|
+
title: "DataDisplay / ListBlock",
|
|
10
|
+
component: ListBlock,
|
|
9
11
|
}
|
|
10
12
|
|
|
11
13
|
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof
|
|
14
|
+
type Story = StoryObj<typeof ListBlock>
|
|
13
15
|
|
|
14
16
|
const GridTemplate: Story = {
|
|
15
17
|
render : () =>{
|
|
16
18
|
|
|
17
|
-
return <ElementHolder paddingTop={'md'} paddingBottom={"md"}>
|
|
18
|
-
<
|
|
19
|
+
return <ElementHolder pillar={'live'} level={'light'} paddingTop={'md'} paddingBottom={"md"}>
|
|
20
|
+
<ListBlock
|
|
19
21
|
title={'Food and drink'}
|
|
20
22
|
description={'Find the ideal event venues in Selwyn, where beautiful landscapes blend with top-notch facilities. '}
|
|
21
23
|
variation={'grid'}
|
|
@@ -23,9 +25,9 @@ const GridTemplate: Story = {
|
|
|
23
25
|
cards={
|
|
24
26
|
[
|
|
25
27
|
{ title: "Ballooning Canterbury", link: "#", image: "./img/card-one.png", category: "adventure", pillar: "live" },
|
|
26
|
-
{ title: "Ski Resort", link: "#", image: "./img/card-two.png", category: "ski" },
|
|
27
|
-
{ title: "Nature Walk", link: "#", image: "./img/card-three.png", category: "nature" },
|
|
28
|
-
{ title: "City Tour", link: "#", image: "./img/card-four.png" }
|
|
28
|
+
{ title: "Ski Resort", link: "#", image: "./img/card-two.png", category: "ski" , pillar: "live"},
|
|
29
|
+
{ title: "Nature Walk", link: "#", image: "./img/card-three.png", category: "nature" , pillar: "live"},
|
|
30
|
+
{ title: "City Tour", link: "#", image: "./img/card-four.png" , pillar: "live"}
|
|
29
31
|
]
|
|
30
32
|
}
|
|
31
33
|
/>
|
|
@@ -33,19 +35,19 @@ const GridTemplate: Story = {
|
|
|
33
35
|
}
|
|
34
36
|
};
|
|
35
37
|
|
|
36
|
-
const
|
|
38
|
+
const NoFilter: Story = {
|
|
37
39
|
render : () =>{
|
|
38
40
|
|
|
39
41
|
return <ElementHolder paddingTop={'md'} paddingBottom={"md"}>
|
|
40
|
-
<
|
|
42
|
+
<ListBlock
|
|
41
43
|
title={'Food and drink'}
|
|
42
44
|
description={'Find the ideal event venues in Selwyn, where beautiful landscapes blend with top-notch facilities. '}
|
|
43
|
-
|
|
45
|
+
action={<Button label={'ALL VENUE'} secondaryIcon={<ArrowRight/>} level={"secondary"}/>}
|
|
44
46
|
cards={
|
|
45
47
|
[
|
|
46
|
-
{ title: "Ballooning Canterbury", link: "#", image: "./img/card-one.png",
|
|
47
|
-
{ title: "Ski Resort", link: "#", image: "./img/card-two.png"
|
|
48
|
-
{ title: "Nature Walk", link: "#", image: "./img/card-three.png"
|
|
48
|
+
{ title: "Ballooning Canterbury", link: "#", image: "./img/card-one.png",pillar: "live" },
|
|
49
|
+
{ title: "Ski Resort", link: "#", image: "./img/card-two.png"},
|
|
50
|
+
{ title: "Nature Walk", link: "#", image: "./img/card-three.png" },
|
|
49
51
|
{ title: "City Tour", link: "#", image: "./img/card-four.png" }
|
|
50
52
|
]
|
|
51
53
|
}
|
|
@@ -59,6 +61,6 @@ export const GridView = {
|
|
|
59
61
|
...GridTemplate,
|
|
60
62
|
}
|
|
61
63
|
|
|
62
|
-
export const
|
|
63
|
-
...
|
|
64
|
+
export const NoFilterView = {
|
|
65
|
+
...NoFilter,
|
|
64
66
|
}
|