@hellobetterdigitalnz/selwynui 0.0.1-7 → 0.0.1-71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +9 -1
- package/src/Components/DataDisplay/Accordion/Accordion.stories.tsx +7 -20
- package/src/Components/DataDisplay/Accordion/Accordion.tsx +21 -20
- package/src/Components/DataDisplay/Accordion/AccordionItem.tsx +2 -2
- package/src/Components/DataDisplay/Accordion/AccordionProps.tsx +2 -1
- package/src/Components/DataDisplay/Accordion/accordion-bg-design.tsx +5 -5
- package/src/Components/DataDisplay/Accordion/accordion.module.scss +75 -43
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderTool.stories.tsx +53 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderTool.tsx +23 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolMain/BrandBuilderToolMain.tsx +13 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolMain/BrandBuilderToolMainProps.tsx +7 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolProps.tsx +9 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolTemplate/BrandBuilderToolTemplateItem.tsx +15 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolTemplate/BrandBuilderToolTemplateItemProps.tsx +10 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolTemplate/BrandBuilderToolTemplateSelector.tsx +29 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolTemplate/BrandBuilderToolTemplateSelectorProps.tsx +8 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolUploader/BrandBuilderToolUploader.tsx +33 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolUploader/BrandBuilderToolUploaderProps.tsx +8 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolWrapper/BrandBuilderToolWrapper.tsx +17 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolWrapper/BrandBuilderToolWrapperProps.tsx +8 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandbuilderToolPreview/BrandBuilderToolPreview.tsx +25 -0
- package/src/Components/DataDisplay/BrandBuilderTool/BrandbuilderToolPreview/BrandBuilderToolPreviewProps.tsx +8 -0
- package/src/Components/DataDisplay/BrandBuilderTool/brandBuilder.module.scss +215 -0
- package/src/Components/DataDisplay/CallToActionBlock/CallToActionBlock.stories.tsx +92 -0
- package/src/Components/DataDisplay/CallToActionBlock/CallToActionBlock.tsx +80 -0
- package/src/Components/DataDisplay/CallToActionBlock/CallToActionBlockProps.tsx +18 -0
- package/src/Components/DataDisplay/CallToActionBlock/callToAction.module.scss +79 -0
- package/src/Components/DataDisplay/CallToActionBlock/callToAction.module.scss~ +78 -0
- package/src/Components/DataDisplay/CarouselBlock/CarouselBlock.stories.tsx +77 -0
- package/src/Components/DataDisplay/CarouselBlock/CarouselBlock.tsx +73 -0
- package/src/Components/DataDisplay/CarouselBlock/CarouselBlockProps.tsx +23 -0
- package/src/Components/DataDisplay/CarouselBlock/carouselBlock.module.scss +60 -0
- package/src/Components/DataDisplay/ChatItenaryBlock/ChatItenaryBlock.stories.tsx +128 -0
- package/src/Components/DataDisplay/ChatItenaryBlock/ChatItenaryBlock.tsx +257 -0
- package/src/Components/DataDisplay/ChatItenaryBlock/ChatItenaryBlockProps.tsx +44 -0
- package/src/Components/DataDisplay/ChatItenaryBlock/chatItenaryBlock.module.scss +777 -0
- package/src/Components/DataDisplay/ContactsBlock/ContactItem.tsx +47 -0
- package/src/Components/DataDisplay/ContactsBlock/ContactItemProps.tsx +10 -0
- package/src/Components/DataDisplay/ContactsBlock/ContactsBlock.stories.tsx +59 -0
- package/src/Components/DataDisplay/ContactsBlock/ContactsBlock.tsx +24 -0
- package/src/Components/DataDisplay/ContactsBlock/ContactsBlockProps.tsx +8 -0
- package/src/Components/DataDisplay/ContactsBlock/contactsBlock.module.scss +165 -0
- package/src/Components/DataDisplay/ContentBlock/ContentBlock.stories.tsx +107 -0
- package/src/Components/DataDisplay/ContentBlock/ContentBlock.tsx +36 -0
- package/src/Components/DataDisplay/ContentBlock/ContentBlockProps.tsx +11 -0
- package/src/Components/DataDisplay/ContentBlock/contentBlock.module.scss +76 -0
- package/src/Components/DataDisplay/DetailsCard/DetailsCard.tsx +8 -10
- package/src/Components/DataDisplay/DetailsCard/DetailsCardProps.tsx +0 -1
- package/src/Components/DataDisplay/DetailsCard/detailsCard.module.scss +3 -1
- package/src/Components/DataDisplay/ImageContent/ImageContent.stories.tsx +5 -11
- package/src/Components/DataDisplay/ImageContent/ImageContent.tsx +12 -11
- package/src/Components/DataDisplay/ImageContent/ImageContentProps.tsx +4 -0
- package/src/Components/DataDisplay/ImageContent/imageContent.module.scss +30 -14
- package/src/Components/DataDisplay/IntroBlock/IntroBlock.stories.tsx +1 -1
- package/src/Components/DataDisplay/IntroBlock/introBlock.module.scss +27 -3
- package/src/Components/DataDisplay/KPIBlock/KPIBlock.stories.tsx +3 -4
- package/src/Components/DataDisplay/KPIBlock/KPIBlock.tsx +14 -7
- package/src/Components/DataDisplay/KPIBlock/KPIBlockProps.tsx +6 -2
- package/src/Components/DataDisplay/KPIBlock/kpiBlock.module.scss +179 -16
- package/src/Components/DataDisplay/{Pathway/Pathway.stories.tsx → ListBlock/ListBlock.stories.tsx} +20 -18
- package/src/Components/DataDisplay/ListBlock/ListBlock.tsx +133 -0
- package/src/Components/DataDisplay/ListBlock/ListBlockProps.tsx +28 -0
- package/src/Components/DataDisplay/{Pathway/pathway.module.scss → ListBlock/listBlock.module.scss} +30 -6
- package/src/Components/DataDisplay/ListingDetailBlock/ListingDetailBlock.stories.tsx +93 -0
- package/src/Components/DataDisplay/ListingDetailBlock/ListingDetailBlock.tsx +74 -0
- package/src/Components/DataDisplay/ListingDetailBlock/ListingDetailBlockProps.tsx +23 -0
- package/src/Components/DataDisplay/ListingDetailBlock/listingDetailBlock.module.scss +265 -0
- package/src/Components/DataDisplay/Media/Media.stories.tsx +36 -0
- package/src/Components/DataDisplay/Media/Media.tsx +158 -0
- package/src/Components/DataDisplay/Media/MediaProps.tsx +8 -0
- package/src/Components/DataDisplay/Media/media.module.scss +16 -0
- package/src/Components/DataDisplay/Media/mediaVideo.scss +88 -0
- package/src/Components/DataDisplay/Modal/Modal.stories.tsx +89 -0
- package/src/Components/DataDisplay/Modal/Modal.tsx +16 -0
- package/src/Components/DataDisplay/Modal/ModalActions.tsx +14 -0
- package/src/Components/DataDisplay/Modal/ModalActionsLeft.tsx +13 -0
- package/src/Components/DataDisplay/Modal/ModalActionsLeftProps.tsx +8 -0
- package/src/Components/DataDisplay/Modal/ModalActionsProps.tsx +8 -0
- package/src/Components/DataDisplay/Modal/ModalActionsRight.tsx +14 -0
- package/src/Components/DataDisplay/Modal/ModalActionsRightProps.tsx +8 -0
- package/src/Components/DataDisplay/Modal/ModalBody.tsx +14 -0
- package/src/Components/DataDisplay/Modal/ModalBodyProps.tsx +8 -0
- package/src/Components/DataDisplay/Modal/ModalCurtain.tsx +6 -0
- package/src/Components/DataDisplay/Modal/ModalHeader.tsx +55 -0
- package/src/Components/DataDisplay/Modal/ModalHeaderProps.tsx +10 -0
- package/src/Components/DataDisplay/Modal/ModalProps.tsx +9 -0
- package/src/Components/DataDisplay/Modal/modal.module.scss +178 -0
- package/src/Components/DataDisplay/PathwayBlock/PathwayBlock.stories.tsx +27 -13
- package/src/Components/DataDisplay/PathwayBlock/PathwayBlock.tsx +7 -6
- package/src/Components/DataDisplay/PathwayBlock/PathwayBlockProps.tsx +10 -4
- package/src/Components/DataDisplay/PathwayBlock/pathwayBlock.module.scss +27 -23
- package/src/Components/DataDisplay/PromoBannerBlock/PromoBanner.stories.tsx +3 -4
- package/src/Components/DataDisplay/PromoBannerBlock/PromoBannerBlock.tsx +2 -6
- package/src/Components/DataDisplay/PromoBannerBlock/promoBanner.module.scss +12 -15
- package/src/Components/DataDisplay/TestimonyCard/TestimonyCard.stories.tsx +11 -5
- package/src/Components/DataDisplay/TestimonyCard/TestimonyCard.tsx +73 -53
- package/src/Components/DataDisplay/TestimonyCard/testimonyCard.module.scss +137 -70
- package/src/Components/DataDisplay/index.ts +87 -4
- package/src/Components/DataDisplay/slider.scss +43 -0
- package/src/Components/Form/Button/ButtonProps.tsx +1 -1
- package/src/Components/Form/Button/button.module.scss +2 -0
- package/src/Components/Form/Checkbox/Checkbox.stories.tsx +51 -0
- package/src/Components/Form/Checkbox/Checkbox.tsx +111 -0
- package/src/Components/Form/Checkbox/CheckboxProps.tsx +24 -0
- package/src/Components/Form/Checkbox/checkbox.module.scss +105 -0
- package/src/Components/Form/EmailField/EmailField.stories.ts +23 -0
- package/src/Components/Form/EmailField/EmailField.tsx +56 -0
- package/src/Components/Form/FormFieldHolder/FormFieldHolder.stories.tsx +31 -0
- package/src/Components/Form/FormFieldHolder/FormFieldHolder.tsx +57 -0
- package/src/Components/Form/FormFieldHolder/FormFieldHolderProps.tsx +16 -0
- package/src/Components/Form/FormFieldHolder/formHolder.module.scss +71 -0
- package/src/Components/Form/InputProps.tsx +30 -0
- package/src/Components/Form/LandingPageForm/LandingPageForm.stories.tsx +110 -0
- package/src/Components/Form/LandingPageForm/LandingPageForm.tsx +24 -0
- package/src/Components/Form/LandingPageForm/LandingPageFormLeft.tsx +51 -0
- package/src/Components/Form/LandingPageForm/LandingPageFormLeftProps.tsx +13 -0
- package/src/Components/Form/LandingPageForm/LandingPageFormProps.tsx +9 -0
- package/src/Components/Form/LandingPageForm/LandingPageFormRight.tsx +49 -0
- package/src/Components/Form/LandingPageForm/LandingPageFormRightProps.tsx +14 -0
- package/src/Components/Form/LandingPageForm/landingPageForm.module.scss +190 -0
- package/src/Components/Form/LoadingInput/LoadingInput.tsx +12 -0
- package/src/Components/Form/LoadingInput/loadingInput.module.scss +15 -0
- package/src/Components/Form/RadioButtons/RadioButton.tsx +83 -0
- package/src/Components/Form/RadioButtons/RadioButtonProps.tsx +24 -0
- package/src/Components/Form/RadioButtons/RadioButtons.stories.tsx +129 -0
- package/src/Components/Form/RadioButtons/RadioButtons.tsx +18 -0
- package/src/Components/Form/RadioButtons/RadioButtonsProps.tsx +10 -0
- package/src/Components/Form/RadioButtons/radioButton.stories.scss +3 -0
- package/src/Components/Form/RadioButtons/radiobutton.module.scss +189 -0
- package/src/Components/Form/SimpleForm/SimpleForm.stories.tsx +55 -0
- package/src/Components/Form/SimpleForm/SimpleForm.tsx +63 -0
- package/src/Components/Form/SimpleForm/SimpleFormProps.tsx +13 -0
- package/src/Components/Form/SimpleForm/simple-form-bg-design.tsx +21 -0
- package/src/Components/Form/SimpleForm/simpleForm.module.scss +72 -0
- package/src/Components/Form/TextField/TextField.stories.ts +22 -0
- package/src/Components/Form/TextField/TextField.tsx +62 -0
- package/src/Components/Form/TextField/TextFieldProps.tsx +8 -0
- package/src/Components/Form/Textarea/Textarea.stories.ts +31 -0
- package/src/Components/Form/Textarea/Textarea.tsx +74 -0
- package/src/Components/Form/Textarea/TextareaProps.tsx +28 -0
- package/src/Components/Form/Textarea/textarea.module.scss +48 -0
- package/src/Components/Form/index.ts +34 -1
- package/src/Components/Form/index.ts~ +32 -0
- package/src/Components/Form/inputs.module.scss +172 -0
- package/src/Components/Icons/Communication/PaperPlaneTilt/PaperPlaneTilt.tsx +37 -0
- package/src/Components/Icons/OfficeAndEditing/Paperclip/Paperclip.tsx +37 -0
- package/src/Components/Icons/SystemAndDevice/CheckCircle/CheckCircle.tsx +35 -0
- package/src/Components/Icons/index.ts +5 -1
- package/src/Components/Layout/Footer/Footer.tsx +1 -2
- package/src/Components/Layout/Footer/FooterBottom.tsx +7 -7
- package/src/Components/Layout/Footer/FooterProps.tsx +1 -1
- package/src/Components/Layout/Footer/FooterTop.tsx +1 -1
- package/src/Components/Layout/Footer/footer.module.scss +3 -2
- package/src/Components/Layout/Header/Header.stories.tsx +23 -23
- package/src/Components/Layout/Header/Header.tsx +3 -3
- package/src/Components/Layout/Header/HeaderProps.tsx +1 -0
- package/src/Components/Layout/Header/MegaMenu/MegaMenu.tsx +156 -83
- package/src/Components/Layout/Header/MegaMenu/MegaMenuProps.tsx +22 -9
- package/src/Components/Layout/Header/MegaMenu/megaMenu.module.scss +4 -2
- package/src/Components/Layout/Header/MobileNavigation/MobileNavigation.tsx +4 -3
- package/src/Components/Layout/Header/MobileNavigation/MobileNavigationProps.tsx +1 -0
- package/src/Components/Layout/Header/MobileNavigation/MobileSubNavigation/MobileSubNavigation.tsx +2 -2
- package/src/Components/Layout/Header/MobileNavigation/MobileSubNavigation/MobileSubNavigationItem.tsx +3 -3
- package/src/Components/Layout/Header/header.module.scss +17 -19
- package/src/Components/Layout/HeroBanner/HeroBanner.tsx +6 -6
- package/src/Components/Layout/HeroBanner/heroBanner.module.scss +42 -6
- package/src/Components/Layout/index.ts +11 -2
- package/src/Components/SelwynUIProvider/SelwynUIContext.tsx +16 -0
- package/src/Components/SelwynUIProvider/SelwynUIProvider.tsx +46 -0
- package/src/Components/SelwynUIProvider/index.ts +2 -0
- package/src/Components/Shared/Container/Container.tsx +18 -8
- package/src/Components/Shared/Container/ContainerProps.tsx +7 -2
- package/src/Components/Shared/Container/container.module.scss +55 -7
- package/src/Components/Shared/ElementHolder/ElementHolderProps.tsx +1 -1
- package/src/Components/Shared/ElementHolder/elementHolder.module.scss +10 -5
- package/src/Components/Shared/PillarIcon/PillarIcon.tsx +4 -4
- package/src/Components/Shared/PillarLogo/PillarLogo.tsx +2 -2
- package/src/Components/index.ts +1 -0
- package/dist/App.d.ts +0 -2
- package/dist/Components/DataDisplay/DetailsCard/DetailsCard.d.ts +0 -3
- package/dist/Components/DataDisplay/DetailsCard/DetailsCardProps.d.ts +0 -10
- package/dist/Components/DataDisplay/ImageContent/ImageContent.d.ts +0 -3
- package/dist/Components/DataDisplay/ImageContent/ImageContentMaskingImages.d.ts +0 -2
- package/dist/Components/DataDisplay/ImageContent/ImageContentProps.d.ts +0 -27
- package/dist/Components/DataDisplay/IntroBlock/IntroBlock.d.ts +0 -3
- package/dist/Components/DataDisplay/IntroBlock/IntroBlockProps.d.ts +0 -8
- package/dist/Components/DataDisplay/KPIBlock/KPIBlock.d.ts +0 -3
- package/dist/Components/DataDisplay/KPIBlock/KPIBlockProps.d.ts +0 -11
- package/dist/Components/DataDisplay/Pathway/Pathway.d.ts +0 -3
- package/dist/Components/DataDisplay/Pathway/PathwayProps.d.ts +0 -15
- package/dist/Components/DataDisplay/PromoBannerBlock/PromoBannerBlock.d.ts +0 -3
- package/dist/Components/DataDisplay/PromoBannerBlock/PromoBannerBlockProps.d.ts +0 -14
- package/dist/Components/DataDisplay/PromoBannerBlock/promo-banner-bg-design.d.ts +0 -2
- package/dist/Components/DataDisplay/index.d.ts +0 -10
- package/dist/Components/Form/Button/Button.d.ts +0 -3
- package/dist/Components/Form/Button/ButtonProps.d.ts +0 -14
- package/dist/Components/Form/index.d.ts +0 -2
- package/dist/Components/Icons/Arrows/ArrowLeft/ArrowLeft.d.ts +0 -3
- package/dist/Components/Icons/Arrows/ArrowRight/ArrowRight.d.ts +0 -3
- package/dist/Components/Icons/Arrows/ArrowSquareOut/ArrowSquareOut.d.ts +0 -3
- package/dist/Components/Icons/Arrows/ArrowsDownUp/ArrowsDownUp.d.ts +0 -3
- package/dist/Components/Icons/Arrows/ArrowsOutCardinal/ArrowsOutCardinal.d.ts +0 -3
- package/dist/Components/Icons/Arrows/CaretCircleRight/CaretCircleRight.d.ts +0 -3
- package/dist/Components/Icons/Arrows/CaretDown/CaretDown.d.ts +0 -3
- package/dist/Components/Icons/Arrows/CaretLeft/CaretLeft.d.ts +0 -3
- package/dist/Components/Icons/Arrows/CaretRight/CaretRight.d.ts +0 -3
- package/dist/Components/Icons/Arrows/CaretUp/CaretUp.d.ts +0 -3
- package/dist/Components/Icons/Arrows/CaretUpDown/CaretUpDown.d.ts +0 -3
- package/dist/Components/Icons/Brands/FacebookLogo/FacebookLogo.d.ts +0 -3
- package/dist/Components/Icons/Brands/InstagramLogo/InstagramLogo.d.ts +0 -3
- package/dist/Components/Icons/Brands/LinkedinLogo/LinkedinLogo.d.ts +0 -3
- package/dist/Components/Icons/Brands/WindowsLogo/WindowsLogo.d.ts +0 -3
- package/dist/Components/Icons/Commerce/Backpack/Backpack.d.ts +0 -3
- package/dist/Components/Icons/Commerce/BowlSteam/BowlSteam.d.ts +0 -3
- package/dist/Components/Icons/Commerce/Bread/Bread.d.ts +0 -3
- package/dist/Components/Icons/Commerce/Cheers/Cheers.d.ts +0 -3
- package/dist/Components/Icons/Commerce/ChefHat/ChefHat.d.ts +0 -3
- package/dist/Components/Icons/Commerce/Coffee/Coffee.d.ts +0 -3
- package/dist/Components/Icons/Commerce/CreditCard/CreditCard.d.ts +0 -3
- package/dist/Components/Icons/Commerce/CurrencyDollarSimple/CurrencyDollarSimple.d.ts +0 -3
- package/dist/Components/Icons/Commerce/Grains/Grains.d.ts +0 -3
- package/dist/Components/Icons/Commerce/Scale/Scale.d.ts +0 -3
- package/dist/Components/Icons/Commerce/StoreFront/StoreFront.d.ts +0 -3
- package/dist/Components/Icons/Communication/AddressBook/AddressBook.d.ts +0 -3
- package/dist/Components/Icons/Communication/AddressBook/AddressBook.stories.d.ts +0 -21
- package/dist/Components/Icons/Communication/AsterickSimple/AsteriskSimple.d.ts +0 -3
- package/dist/Components/Icons/Communication/AsterickSimple/AsteriskSimple.stories.d.ts +0 -21
- package/dist/Components/Icons/Communication/Asterisk/Asterisk.d.ts +0 -3
- package/dist/Components/Icons/Communication/Asterisk/Asterisk.stories.d.ts +0 -21
- package/dist/Components/Icons/Communication/At/At.d.ts +0 -3
- package/dist/Components/Icons/Communication/At/At.stories.d.ts +0 -21
- package/dist/Components/Icons/Communication/Broadcast/Broadcast.d.ts +0 -3
- package/dist/Components/Icons/Communication/Broadcast/Broadcast.stories.d.ts +0 -21
- package/dist/Components/Icons/Communication/Chat/Chat.d.ts +0 -3
- package/dist/Components/Icons/Communication/Chat/Chat.stories.d.ts +0 -21
- package/dist/Components/Icons/Communication/ChatCircleText/ChatCircleText.d.ts +0 -3
- package/dist/Components/Icons/Communication/EnvelopeSimple/EnvelopeSimple.d.ts +0 -3
- package/dist/Components/Icons/Communication/Export/Export.d.ts +0 -3
- package/dist/Components/Icons/Communication/Phone/Phone.d.ts +0 -3
- package/dist/Components/Icons/Communication/ThumbsUp/ThumbsUp.d.ts +0 -3
- package/dist/Components/Icons/Communication/Translate/Translate.d.ts +0 -3
- package/dist/Components/Icons/Design/DropHalfBottom/DropHalfBottom.d.ts +0 -3
- package/dist/Components/Icons/Design/Eye/Eye.d.ts +0 -3
- package/dist/Components/Icons/Design/EyeSlash/EyeSlash.d.ts +0 -3
- package/dist/Components/Icons/Design/GearFine/GearFine.d.ts +0 -3
- package/dist/Components/Icons/Design/PencilLine/PencilLine.d.ts +0 -3
- package/dist/Components/Icons/Design/PencilSimple/PencilSimple.d.ts +0 -3
- package/dist/Components/Icons/Design/Ruler/Ruler.d.ts +0 -3
- package/dist/Components/Icons/Design/SquaresFour/SquaresFour.d.ts +0 -3
- package/dist/Components/Icons/Education/BookOpenText/BookOpenText.d.ts +0 -3
- package/dist/Components/Icons/Education/BookmarkSimple/BookmarkSimple.d.ts +0 -3
- package/dist/Components/Icons/Education/Certificate/Certificate.d.ts +0 -3
- package/dist/Components/Icons/Education/GraduationCap/GraduationCap.d.ts +0 -3
- package/dist/Components/Icons/Games/Cricket/Cricket.d.ts +0 -3
- package/dist/Components/Icons/Games/Football/Football.d.ts +0 -3
- package/dist/Components/Icons/Games/Golf/Golf.d.ts +0 -3
- package/dist/Components/Icons/HealthAndWellness/Barbell/Barbell.d.ts +0 -3
- package/dist/Components/Icons/IconProps.d.ts +0 -4
- package/dist/Components/Icons/MapAndTravel/Barn/Barn.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Bicycle/Bicycle.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Bus/Bus.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Car/Car.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/ChargingStation/ChargingStation.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Farm/Farm.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Globe/Globe.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Goggles/Goggles.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/House/House.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/HouseSimple/HouseSimple.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/MapPin/MapPin.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/MapTriFold/MapTriFold.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Path/Path.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/RoadHorizon/RoadHorizon.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/SteeringWheel/SteeringWheel.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/SwimmingPool/SwimmingPool.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Tram/Tram.d.ts +0 -3
- package/dist/Components/Icons/MapAndTravel/Van/Van.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/Calculator/Calculator.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/ChartBar/ChartBar.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/ChartBarHorizontal/ChartBarHorizontal.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/ChartLine/ChartLine.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/ChartLineUp/ChartLineUp.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/ChartPie/ChartPie.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/Minus/Minus.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/MinusCircle/MinusCircle.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/NumberSquareThree/NumberSquareThree.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/Plus/Plus.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/PlusCircle/PlusCircle.d.ts +0 -3
- package/dist/Components/Icons/MathsAndFinance/XIcon/XIcon.d.ts +0 -3
- package/dist/Components/Icons/Media/Camera/Camera.d.ts +0 -3
- package/dist/Components/Icons/Media/DiscoBall/DiscoBall.d.ts +0 -3
- package/dist/Components/Icons/Media/FilmStrip/FilmStrip.d.ts +0 -3
- package/dist/Components/Icons/Media/Microphone/Microphone.d.ts +0 -3
- package/dist/Components/Icons/Media/MusicNotes/MusicNotes.d.ts +0 -3
- package/dist/Components/Icons/Media/PlayCircle/PlayCircle.d.ts +0 -3
- package/dist/Components/Icons/Media/SlidersHorizontal/SlidersHorizontal.d.ts +0 -3
- package/dist/Components/Icons/Media/StopCircle/StopCircle.d.ts +0 -3
- package/dist/Components/Icons/Media/VideoCamera/VideoCamera.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/BuildinfOffice/BuildingOffice.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/Copy/Copy.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/FileText/FileText.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/Files/Files.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/FloppyDisk/FloppyDisk.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/Folder/Folder.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/FolderSimplePlus/FolderSimplePlus.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/Folders/Folders.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/List/List.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/ListBullets/ListBullets.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/ListDashes/ListDashes.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/Printer/Printer.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/TextAa/TextAa.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/TextColumns/TextColumns.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/Trash/Trash.d.ts +0 -3
- package/dist/Components/Icons/OfficeAndEditing/TrashSimple/TrashSimple.d.ts +0 -3
- package/dist/Components/Icons/People/Person/Person.d.ts +0 -3
- package/dist/Components/Icons/People/PersonArmsSpread/PersonArmsSpread.d.ts +0 -3
- package/dist/Components/Icons/People/PersonSimpleBike/PersonSimpleBike.d.ts +0 -3
- package/dist/Components/Icons/People/PersonSimpleSki/PersonSimpleSki.d.ts +0 -3
- package/dist/Components/Icons/People/PersonSimpleWalk/PersonSimpleWalk.d.ts +0 -3
- package/dist/Components/Icons/People/User/User.d.ts +0 -3
- package/dist/Components/Icons/People/UserCircle/UserCircle.d.ts +0 -3
- package/dist/Components/Icons/People/UserSwitch/UserSwitch.d.ts +0 -3
- package/dist/Components/Icons/People/Users/Users.d.ts +0 -3
- package/dist/Components/Icons/SecurityAndWarnings/Info/Info.d.ts +0 -3
- package/dist/Components/Icons/SecurityAndWarnings/Key/Key.d.ts +0 -3
- package/dist/Components/Icons/SecurityAndWarnings/LockKeyOpen/LockKeyOpen.d.ts +0 -3
- package/dist/Components/Icons/SecurityAndWarnings/LockSimple/LockSimple.d.ts +0 -3
- package/dist/Components/Icons/SecurityAndWarnings/Question/Question.d.ts +0 -3
- package/dist/Components/Icons/SecurityAndWarnings/ShieldCheck/ShieldCheck.d.ts +0 -3
- package/dist/Components/Icons/SecurityAndWarnings/WarningCircle/WarningCircle.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/Bell/Bell.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/Check/Check.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/CheckSquare/CheckSquare.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/CloudCheck/CloudCheck.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/Desktop/Desktop.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/DeviceMobile/DeviceMobile.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/DotSixVertical/DotSixVertical.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/DotsSix/DotsSix.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/DotsThree/DotsThree.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/DotsThreeVertical/DotsThreeVertical.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/DownloadSimple/DownloadSimple.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/Gear/Gear.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/Link/Link.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/MagnifyingGlass/MagnifyingGlass.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/RadioButtonIcon/RadioButtonIcon.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/SignIn/SignIn.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/SignOut/SignOut.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/ToggleLeft/ToggleLeft.d.ts +0 -3
- package/dist/Components/Icons/SystemAndDevice/ToggleRight/ToggleRight.d.ts +0 -3
- package/dist/Components/Icons/Time/Calendar/Calendar.d.ts +0 -3
- package/dist/Components/Icons/Time/CalendarBank/CalendarBank.d.ts +0 -3
- package/dist/Components/Icons/Time/CalendarCheck/CalendarCheck.d.ts +0 -3
- package/dist/Components/Icons/Time/CalendarDots/CalendarDots.d.ts +0 -3
- package/dist/Components/Icons/Time/Clock/Clock.d.ts +0 -3
- package/dist/Components/Icons/Time/ClockCounterClockwise/ClockCounterClockwise.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Bird/Bird.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Campfire/Campfire.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/CloudSun/CloudSun.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Cow/Cow.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Dog/Dog.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/FishSimple/FishSimple.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Flower/Flower.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Moon/Moon.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Mountains/Mountains.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Plant/Plant.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Snowflake/Snowflake.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Sparkle/Sparkle.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Sun/Sun.d.ts +0 -3
- package/dist/Components/Icons/WeatherAndNature/Tree/Tree.d.ts +0 -3
- package/dist/Components/Icons/index.d.ts +0 -123
- package/dist/Components/Layout/Footer/Footer.d.ts +0 -3
- package/dist/Components/Layout/Footer/FooterBottom.d.ts +0 -3
- package/dist/Components/Layout/Footer/FooterBottomLeft.d.ts +0 -3
- package/dist/Components/Layout/Footer/FooterBottomLeftProps.d.ts +0 -11
- package/dist/Components/Layout/Footer/FooterBottomProps.d.ts +0 -5
- package/dist/Components/Layout/Footer/FooterBottomRight.d.ts +0 -3
- package/dist/Components/Layout/Footer/FooterBottomRightProps.d.ts +0 -6
- package/dist/Components/Layout/Footer/FooterItem.d.ts +0 -3
- package/dist/Components/Layout/Footer/FooterItemProps.d.ts +0 -6
- package/dist/Components/Layout/Footer/FooterMiddle.d.ts +0 -3
- package/dist/Components/Layout/Footer/FooterMiddleProps.d.ts +0 -6
- package/dist/Components/Layout/Footer/FooterProps.d.ts +0 -9
- package/dist/Components/Layout/Footer/FooterTop.d.ts +0 -3
- package/dist/Components/Layout/Footer/FooterTopProps.d.ts +0 -7
- package/dist/Components/Layout/Footer/footer-bg-design.d.ts +0 -2
- package/dist/Components/Layout/Header/Header.d.ts +0 -3
- package/dist/Components/Layout/Header/HeaderProps.d.ts +0 -7
- package/dist/Components/Layout/Header/HeaderRight.d.ts +0 -3
- package/dist/Components/Layout/Header/HeaderRightItem.d.ts +0 -3
- package/dist/Components/Layout/Header/HeaderRightItemProps.d.ts +0 -11
- package/dist/Components/Layout/Header/HeaderRightProps.d.ts +0 -5
- package/dist/Components/Layout/Header/MagnifyingGlass/MagnifyingGlass.d.ts +0 -2
- package/dist/Components/Layout/Header/MegaMenu/MegaMenu.d.ts +0 -2
- package/dist/Components/Layout/Header/MegaMenu/MegaMenuProps.d.ts +0 -4
- package/dist/Components/Layout/HeroBanner/HeroBanner.d.ts +0 -3
- package/dist/Components/Layout/HeroBanner/HeroBannerProps.d.ts +0 -9
- package/dist/Components/Layout/HeroBanner/LargeHeroIcon.d.ts +0 -2
- package/dist/Components/Layout/index.d.ts +0 -22
- package/dist/Components/Shared/Container/Container.d.ts +0 -3
- package/dist/Components/Shared/Container/ContainerProps.d.ts +0 -6
- package/dist/Components/Shared/ElementHolder/ElementHolder.d.ts +0 -3
- package/dist/Components/Shared/ElementHolder/ElementHolderProps.d.ts +0 -15
- package/dist/Components/Shared/index.d.ts +0 -4
- package/dist/img/card-one.png +0 -0
- package/dist/img/card-three.png +0 -0
- package/dist/img/card-two.png +0 -0
- package/dist/img/footer-bg-design.svg +0 -14
- package/dist/img/footer-logo.svg +0 -9
- package/dist/img/promo-banner-image.svg +0 -9
- package/dist/img/visit-brand-piller.svg +0 -6
- package/dist/img/waikirikiri-full-logo.svg +0 -23
- package/dist/index.cjs.js +0 -14
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.d.ts +0 -5
- package/dist/index.es.d.ts +0 -2
- package/dist/index.es.js +0 -6787
- package/dist/index.es.js.map +0 -1
- package/dist/main.d.ts +0 -0
- package/dist/selwynui.css +0 -1
- package/dist/tsconfig.app.tsbuildinfo +0 -1
- package/dist/vite.svg +0 -1
- package/src/Components/DataDisplay/Pathway/Pathway.tsx +0 -94
- package/src/Components/DataDisplay/Pathway/PathwayProps.tsx +0 -17
|
@@ -1,64 +1,84 @@
|
|
|
1
|
-
import { useState } from 'react';
|
|
1
|
+
import { useRef, useState } from 'react';
|
|
2
|
+
import Slider from 'react-slick';
|
|
2
3
|
import TestimonyCardProps from "./TestimonyCardProps.tsx";
|
|
3
4
|
import styles from './testimonyCard.module.scss';
|
|
4
5
|
import Container from "../../Shared/Container/Container.tsx";
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
import 'slick-carousel/slick/slick.css';
|
|
7
|
+
import 'slick-carousel/slick/slick-theme.css';
|
|
7
8
|
|
|
8
9
|
const TestimonyCard = (props: TestimonyCardProps) => {
|
|
9
|
-
const {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} = props;
|
|
10
|
+
const { testimonies, pillar } = props;
|
|
11
|
+
const sliderRef = useRef<Slider>(null);
|
|
12
|
+
const [currentSlide, setCurrentSlide] = useState(0);
|
|
13
13
|
|
|
14
|
-
const
|
|
14
|
+
const settings = {
|
|
15
|
+
dots: false,
|
|
16
|
+
infinite: true,
|
|
17
|
+
speed: 900,
|
|
18
|
+
slidesToShow: 1,
|
|
19
|
+
slidesToScroll: 1,
|
|
20
|
+
autoplay: false,
|
|
21
|
+
autoplaySpeed: 5000,
|
|
22
|
+
arrows: false,
|
|
23
|
+
fade: true,
|
|
24
|
+
swipe: true,
|
|
25
|
+
touchMove: true,
|
|
26
|
+
waitForAnimate: false,
|
|
27
|
+
beforeChange: (_oldIndex: number, newIndex: number) => {
|
|
28
|
+
setCurrentSlide(newIndex);
|
|
29
|
+
},
|
|
30
|
+
};
|
|
15
31
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
alt={`${testimonies[currentIndex].author} testimonial`}
|
|
31
|
-
/>
|
|
32
|
-
</div>
|
|
33
|
-
<div className={styles.testimonyCardRight}>
|
|
34
|
-
<div className={styles.testimonyContent}>
|
|
35
|
-
<div className={styles.quoteIcon}>
|
|
36
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="39" viewBox="0 0 56 39" fill="none">
|
|
37
|
-
<path d="M23.1134 27.0562C23.1134 32.4847 18.9331 36 13.4798 36C8.02648 36 4.75277 33.6194 3.3652 27.0562C1.97764 20.493 7.78599 17.227 13.2393 17.227C18.6926 17.227 23.1134 21.6276 23.1134 27.0562Z" fill="#92C134"/>
|
|
38
|
-
<path d="M53.0015 27.0558C53.0015 32.4844 48.8212 35.9997 43.3679 35.9997C37.9145 35.9997 34.6408 33.619 33.2533 27.0558C31.8657 20.4926 37.674 17.2267 43.1274 17.2267C48.5807 17.2267 53.0015 21.6273 53.0015 27.0558Z" fill="#92C134"/>
|
|
39
|
-
<path d="M3.3652 27.0562C4.75277 33.6194 8.02648 36 13.4798 36C18.9331 36 23.1134 32.4847 23.1134 27.0562C23.1134 21.6276 18.6926 17.227 13.2393 17.227C7.78599 17.227 1.97764 20.493 3.3652 27.0562ZM3.3652 27.0562C1.97764 20.493 4.78431 13.7613 7.99019 9.54638C11.1961 5.33146 17.2399 2.24873 21.5318 3.16115M33.2533 27.0558C34.6408 33.619 37.9145 35.9997 43.3679 35.9997C48.8212 35.9997 53.0015 32.4844 53.0015 27.0558C53.0015 21.6273 48.5807 17.2267 43.1274 17.2267C37.674 17.2267 31.8657 20.4926 33.2533 27.0558ZM33.2533 27.0558C31.8657 20.4926 34.6724 13.761 37.8782 9.54606C41.0841 5.33115 47.1279 2.24841 51.4199 3.16083" stroke="#92C134" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
40
|
-
</svg>
|
|
41
|
-
</div>
|
|
42
|
-
<h6>{testimonies[currentIndex].testimony}</h6>
|
|
43
|
-
</div>
|
|
44
|
-
<p>{testimonies[currentIndex].author}</p>
|
|
32
|
+
return (
|
|
33
|
+
<div className={`${styles.testimonyCard} ${styles.testimonyCardLarge} ${pillar ? `${pillar}` : ""} testimonialCards`}>
|
|
34
|
+
<Container>
|
|
35
|
+
<div className={styles.testimonyCardContainer}>
|
|
36
|
+
<Slider ref={sliderRef} {...settings}>
|
|
37
|
+
{testimonies.map((testimony, index) => (
|
|
38
|
+
<div key={index}>
|
|
39
|
+
<div className={styles.testimonySlide}>
|
|
40
|
+
<div className={styles.testimonyCardLeft}>
|
|
41
|
+
<img
|
|
42
|
+
src={testimony.image}
|
|
43
|
+
alt={`${testimony.author} testimonial`}
|
|
44
|
+
/>
|
|
45
|
+
</div>
|
|
45
46
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
47
|
+
<div className={styles.testimonyCardRight}>
|
|
48
|
+
<div className={styles.testimonyContent}>
|
|
49
|
+
<div className={styles.quoteIcon}>
|
|
50
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="39" viewBox="0 0 56 39" fill="none">
|
|
51
|
+
<path d="M23.1134 27.0562C23.1134 32.4847 18.9331 36 13.4798 36C8.02648 36 4.75277 33.6194 3.3652 27.0562C1.97764 20.493 7.78599 17.227 13.2393 17.227C18.6926 17.227 23.1134 21.6276 23.1134 27.0562Z" fill="currentColor"/>
|
|
52
|
+
<path d="M53.0015 27.0558C53.0015 32.4844 48.8212 35.9997 43.3679 35.9997C37.9145 35.9997 34.6408 33.619 33.2533 27.0558C31.8657 20.4926 37.674 17.2267 43.1274 17.2267C48.5807 17.2267 53.0015 21.6273 53.0015 27.0558Z" fill="currentColor"/>
|
|
53
|
+
<path d="M3.3652 27.0562C4.75277 33.6194 8.02648 36 13.4798 36C18.9331 36 23.1134 32.4847 23.1134 27.0562C23.1134 21.6276 18.6926 17.227 13.2393 17.227C7.78599 17.227 1.97764 20.493 3.3652 27.0562ZM3.3652 27.0562C1.97764 20.493 4.78431 13.7613 7.99019 9.54638C11.1961 5.33146 17.2399 2.24873 21.5318 3.16115M33.2533 27.0558C34.6408 33.619 37.9145 35.9997 43.3679 35.9997C48.8212 35.9997 53.0015 32.4844 53.0015 27.0558C53.0015 21.6273 48.5807 17.2267 43.1274 17.2267C37.674 17.2267 31.8657 20.4926 33.2533 27.0558ZM33.2533 27.0558C31.8657 20.4926 34.6724 13.761 37.8782 9.54606C41.0841 5.33115 47.1279 2.24841 51.4199 3.16083" stroke="currentColor" strokeWidth="6" strokeLinecap="round" strokeLinejoin="round"/>
|
|
54
|
+
</svg>
|
|
55
|
+
</div>
|
|
56
|
+
<div className={styles.innerContents}>
|
|
57
|
+
<h6>{testimony.testimony}</h6>
|
|
58
|
+
<p className={styles.author}>— {testimony.author}</p>
|
|
59
|
+
<ul className={styles.slickDots}>
|
|
60
|
+
{testimonies.map((_, index) => (
|
|
61
|
+
<li key={index} className={currentSlide === index ? styles.active : ""}>
|
|
62
|
+
<button onClick={() => sliderRef.current?.slickGoTo(index)}></button>
|
|
63
|
+
{currentSlide === index && <div className={styles.svg}>
|
|
64
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 20 20" fill="none">
|
|
65
|
+
<circle cx="10" cy="10" r="8" fill="currentColor"/>
|
|
66
|
+
</svg>
|
|
67
|
+
</div>}
|
|
68
|
+
</li>
|
|
69
|
+
))}
|
|
70
|
+
</ul>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
))}
|
|
77
|
+
</Slider>
|
|
58
78
|
</div>
|
|
59
|
-
</
|
|
60
|
-
</
|
|
61
|
-
|
|
79
|
+
</Container>
|
|
80
|
+
</div>
|
|
81
|
+
);
|
|
62
82
|
};
|
|
63
83
|
|
|
64
|
-
export default TestimonyCard;
|
|
84
|
+
export default TestimonyCard;
|
|
@@ -1,93 +1,160 @@
|
|
|
1
1
|
.testimonyCard {
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
.testimonyCardContainer {
|
|
4
|
+
position: relative;
|
|
5
|
+
}
|
|
4
6
|
|
|
5
|
-
.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
.testimonySlide {
|
|
8
|
+
display: flex;
|
|
9
|
+
//align-items: center;
|
|
10
|
+
outline: none;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
}
|
|
10
13
|
|
|
11
|
-
.testimonyCardLeft {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
.testimonyCardLeft {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-shrink: 0;
|
|
17
|
+
padding-right: 0;
|
|
18
|
+
overflow: clip;
|
|
19
|
+
width: 100%;
|
|
20
|
+
margin: 0 -16px 0 -16px;
|
|
15
21
|
|
|
22
|
+
img {
|
|
23
|
+
flex-shrink: 0;
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 333px;
|
|
26
|
+
object-fit: cover;
|
|
27
|
+
border-radius: 2px 2px 96px 2px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
16
30
|
|
|
17
|
-
|
|
18
|
-
width: 333px;
|
|
19
|
-
height: 333px;
|
|
20
|
-
border-radius: 2px 2px 96px 2px;
|
|
21
|
-
object-fit: cover;
|
|
31
|
+
.testimonyCardRight {
|
|
22
32
|
|
|
33
|
+
p {
|
|
34
|
+
font-size: 14px;
|
|
35
|
+
font-weight: var(--font-weight-h5);
|
|
36
|
+
letter-spacing: -0.48px;
|
|
37
|
+
line-height: var(--line-height-body-regular);
|
|
38
|
+
}
|
|
23
39
|
}
|
|
24
|
-
}
|
|
25
40
|
|
|
26
|
-
.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
41
|
+
.testimonyContent {
|
|
42
|
+
display: flex;
|
|
43
|
+
gap: 24px;
|
|
44
|
+
align-items: flex-start;
|
|
45
|
+
height: 100%;
|
|
46
|
+
padding-top: 32px;
|
|
47
|
+
|
|
48
|
+
@media (max-width: 834px) {
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
gap: 12px;
|
|
51
|
+
}
|
|
31
52
|
|
|
53
|
+
.quoteIcon {
|
|
54
|
+
svg {
|
|
55
|
+
margin-top: 0;
|
|
56
|
+
width: 56px;
|
|
57
|
+
height: 39px;
|
|
58
|
+
|
|
59
|
+
@media (max-width: 834px) {
|
|
60
|
+
width: 40px;
|
|
61
|
+
height: 27px;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
32
65
|
|
|
66
|
+
.innerContents{
|
|
67
|
+
display: flex;
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
height: 100%;
|
|
33
70
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
line-height: var(--line-height-body-regular);
|
|
39
|
-
padding-left: 70px;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
71
|
+
p{
|
|
72
|
+
flex-grow: 1;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
42
75
|
|
|
43
|
-
|
|
44
|
-
display: flex;
|
|
45
|
-
gap: 16px;
|
|
46
|
-
align-items: flex-start;
|
|
76
|
+
h6 {
|
|
47
77
|
|
|
48
|
-
|
|
78
|
+
font-size: var(--font-size-h6);
|
|
79
|
+
line-height: 1.3;
|
|
80
|
+
font-weight: var(--font-weight-body-sm);
|
|
81
|
+
letter-spacing: -0.48px;
|
|
82
|
+
white-space: pre-line;
|
|
83
|
+
margin-top: -5px;
|
|
49
84
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
85
|
+
@media (max-width: 834px) {
|
|
86
|
+
font-size: var(--font-size-body-regular);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@media (max-width: 480px) {
|
|
90
|
+
font-size: var(--font-size-body-sm);
|
|
91
|
+
}
|
|
55
92
|
}
|
|
56
93
|
|
|
94
|
+
.author{
|
|
95
|
+
padding-top: 40px;
|
|
96
|
+
}
|
|
57
97
|
}
|
|
58
98
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
line-height: 1.3;
|
|
62
|
-
font-weight: var(--font-weight-body-sm);
|
|
63
|
-
letter-spacing: -0.48px;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.pagination {
|
|
68
|
-
display: flex;
|
|
69
|
-
gap: 12px;
|
|
70
|
-
padding-left: 70px;
|
|
71
|
-
|
|
72
|
-
.dot {
|
|
73
|
-
width: 20px;
|
|
74
|
-
height: 20px;
|
|
75
|
-
border-radius: 50%;
|
|
76
|
-
cursor: pointer;
|
|
77
|
-
border: none;
|
|
78
|
-
padding: 0;
|
|
79
|
-
background-color: var(--color-taste);
|
|
80
|
-
position: relative;
|
|
99
|
+
.slickDots{
|
|
100
|
+
list-style: none;
|
|
81
101
|
display: flex;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
102
|
+
padding-top: 40px;
|
|
103
|
+
margin: -8px;
|
|
104
|
+
//position: absolute;
|
|
105
|
+
//bottom: 24px;
|
|
106
|
+
//left: 458px;
|
|
107
|
+
|
|
108
|
+
li{
|
|
109
|
+
display: flex;
|
|
110
|
+
padding: 8px;
|
|
111
|
+
position: relative;
|
|
112
|
+
|
|
113
|
+
button{
|
|
114
|
+
width: 16px;
|
|
115
|
+
height: 16px;
|
|
116
|
+
background: var(--color-block-text);
|
|
117
|
+
outline: none;
|
|
118
|
+
border: none;
|
|
119
|
+
border-radius: 100%;
|
|
120
|
+
opacity: 0.5;
|
|
121
|
+
transition: opacity 0.3s ease-in-out;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.svg{
|
|
125
|
+
position: absolute;
|
|
126
|
+
top: 50%;
|
|
127
|
+
left: 50%;
|
|
128
|
+
transform: translate(-50%, -50%);
|
|
129
|
+
|
|
130
|
+
svg{
|
|
131
|
+
width: 12px;
|
|
132
|
+
height: 12px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&:hover{
|
|
138
|
+
button{
|
|
139
|
+
opacity: 0.7;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@media screen and (min-width: 772px){
|
|
148
|
+
|
|
149
|
+
.testimonySlide {
|
|
150
|
+
flex-direction: row;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.testimonyCardLeft {
|
|
154
|
+
flex-shrink: 0;
|
|
155
|
+
width: 333px;
|
|
156
|
+
margin: 0 68px 0px 0px;
|
|
91
157
|
}
|
|
92
158
|
}
|
|
159
|
+
|
|
93
160
|
}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
// Accordion
|
|
2
|
+
export { default as Accordion } from './Accordion/Accordion';
|
|
3
|
+
export type { default as AccordionProps } from './Accordion/AccordionProps';
|
|
4
|
+
export { default as AccordionContext } from './Accordion/AccordionContext';
|
|
5
|
+
export type { default as AccordionContextInterface } from './Accordion/AccordionContextInterface';
|
|
6
|
+
export { default as AccordionItem } from './Accordion/AccordionItem';
|
|
7
|
+
export type { default as AccordionItemProps } from './Accordion/AccordionItemProps';
|
|
8
|
+
export { default as AccordionProvider } from './Accordion/AccordionProvider';
|
|
9
|
+
export type { default as AccordionProviderInterface } from './Accordion/AccordionProviderInterface';
|
|
10
|
+
|
|
1
11
|
// DetailsCard
|
|
2
12
|
export { default as DetailsCard } from './DetailsCard/DetailsCard';
|
|
3
13
|
export type { default as DetailsCardProps } from './DetailsCard/DetailsCardProps';
|
|
@@ -10,14 +20,87 @@ export type { default as IntroBlockProps } from './IntroBlock/IntroBlockProps';
|
|
|
10
20
|
export { default as KPIBlock } from './KPIBlock/KPIBlock';
|
|
11
21
|
export type { default as KPIBlockProps } from './KPIBlock/KPIBlockProps';
|
|
12
22
|
|
|
13
|
-
//
|
|
14
|
-
export { default as
|
|
15
|
-
export type { default as
|
|
23
|
+
// PathwayBlock
|
|
24
|
+
export { default as PathwayBlock } from './PathwayBlock/PathwayBlock';
|
|
25
|
+
export type { default as PathwayBlockProps } from './PathwayBlock/PathwayBlockProps';
|
|
26
|
+
|
|
27
|
+
// ChatItenaryBlock
|
|
28
|
+
export { default as ChatItenaryBlock } from './ChatItenaryBlock/ChatItenaryBlock';
|
|
29
|
+
export type { default as ChatItenaryBlockProps } from './ChatItenaryBlock/ChatItenaryBlockProps';
|
|
30
|
+
|
|
31
|
+
//CallToActionBlock
|
|
32
|
+
export { default as CallToActionBlock } from './CallToActionBlock/CallToActionBlock';
|
|
33
|
+
export type { default as CallToActionBlockProps } from './CallToActionBlock/CallToActionBlockProps';
|
|
34
|
+
|
|
35
|
+
// TestimonyCard
|
|
36
|
+
export { default as TestimonyCard } from './TestimonyCard/TestimonyCard';
|
|
37
|
+
export type { default as TestimonyCardProps } from './TestimonyCard/TestimonyCardProps';
|
|
38
|
+
|
|
39
|
+
// ListBlock
|
|
40
|
+
export { default as Pathway } from './ListBlock/ListBlock.tsx';
|
|
41
|
+
export type { default as PathwayProps } from './ListBlock/ListBlockProps.tsx';
|
|
42
|
+
|
|
43
|
+
// ListingDetailBlock
|
|
44
|
+
export { default as ListingDetailBlock } from './ListingDetailBlock/ListingDetailBlock';
|
|
45
|
+
export type { default as ListingDetailBlockProps } from './ListingDetailBlock/ListingDetailBlockProps';
|
|
46
|
+
|
|
47
|
+
// ContentBlock
|
|
48
|
+
export { default as ContentBlock } from './ContentBlock/ContentBlock';
|
|
49
|
+
export type { default as ContentBlockProps } from './ContentBlock/ContentBlockProps';
|
|
16
50
|
|
|
17
51
|
// PromoBanner
|
|
18
52
|
export { default as PromoBannerBlock } from './PromoBannerBlock/PromoBannerBlock';
|
|
19
53
|
export type { default as PromoBannerBlockProps } from './PromoBannerBlock/PromoBannerBlockProps';
|
|
20
54
|
|
|
55
|
+
// ContactBlock
|
|
56
|
+
export { default as ContactBlock } from './ContactsBlock/ContactsBlock';
|
|
57
|
+
export type { default as ContactBlockProps } from './ContactsBlock/ContactsBlockProps';
|
|
58
|
+
export { default as ContactItem } from './ContactsBlock/ContactItem';
|
|
59
|
+
export type { default as ContactItemProps } from './ContactsBlock/ContactItemProps';
|
|
21
60
|
//ImageContent
|
|
22
61
|
export {default as ImageContent} from './ImageContent/ImageContent'
|
|
23
|
-
export type {default as ImageContentProps} from './ImageContent/ImageContentProps'
|
|
62
|
+
export type {default as ImageContentProps} from './ImageContent/ImageContentProps'
|
|
63
|
+
|
|
64
|
+
//List Block
|
|
65
|
+
export { default as ListBlock } from './ListBlock/ListBlock'
|
|
66
|
+
export type { default as ListBlockProps } from './ListBlock/ListBlockProps'
|
|
67
|
+
|
|
68
|
+
// Carousel Block
|
|
69
|
+
|
|
70
|
+
export { default as CarouselBlock } from './CarouselBlock/CarouselBlock.tsx'
|
|
71
|
+
export type { default as CarouselBlockProps } from './CarouselBlock/CarouselBlockProps.tsx'
|
|
72
|
+
|
|
73
|
+
// Media Block
|
|
74
|
+
export { default as Media } from './Media/Media.tsx'
|
|
75
|
+
export type { default as MediaProps } from './Media/MediaProps.tsx'
|
|
76
|
+
|
|
77
|
+
// Modal
|
|
78
|
+
export {default as Modal} from './Modal/Modal';
|
|
79
|
+
export type { default as ModalProps } from './Modal/ModalProps';
|
|
80
|
+
export {default as ModalHeader} from './Modal/ModalHeader';
|
|
81
|
+
export type { default as ModalHeaderProps } from './Modal/ModalHeaderProps';
|
|
82
|
+
export {default as ModalBody} from './Modal/ModalBody';
|
|
83
|
+
export type { default as ModalBodyProps } from './Modal/ModalBodyProps';
|
|
84
|
+
export {default as ModalActions} from './Modal/ModalActions';
|
|
85
|
+
export type { default as ModalActionsProps } from './Modal/ModalActionsProps';
|
|
86
|
+
export {default as ModalActionsLeft} from './Modal/ModalActionsLeft';
|
|
87
|
+
export type { default as ModalActionsLeftProps } from './Modal/ModalActionsLeftProps';
|
|
88
|
+
export {default as ModalActionsRight} from './Modal/ModalActionsRight';
|
|
89
|
+
export type { default as ModalActionsRightProps } from './Modal/ModalActionsRightProps';
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
//BrandBuilder
|
|
93
|
+
export { default as BrandBuilderToolMain } from './BrandBuilderTool/BrandBuilderToolMain/BrandBuilderToolMain.tsx';
|
|
94
|
+
export type { default as BrandBuilderToolMainProps } from './BrandBuilderTool/BrandBuilderToolMain/BrandBuilderToolMainProps.tsx';
|
|
95
|
+
export { default as BrandBuilderToolPreview } from './BrandBuilderTool/BrandbuilderToolPreview/BrandBuilderToolPreview.tsx';
|
|
96
|
+
export type { default as BrandBuilderToolPreviewProps } from './BrandBuilderTool/BrandbuilderToolPreview/BrandBuilderToolPreviewProps.tsx';
|
|
97
|
+
export { default as BrandBuilderToolTemplateItem } from './BrandBuilderTool/BrandBuilderToolTemplate/BrandBuilderToolTemplateItem.tsx';
|
|
98
|
+
export type { default as BrandBuilderToolTemplateItemProps } from './BrandBuilderTool/BrandBuilderToolTemplate/BrandBuilderToolTemplateItemProps.tsx';
|
|
99
|
+
export { default as BrandBuilderToolTemplateSelector } from './BrandBuilderTool/BrandBuilderToolTemplate/BrandBuilderToolTemplateSelector.tsx';
|
|
100
|
+
export type { default as BrandBuilderToolTemplateSelectorProps } from './BrandBuilderTool/BrandBuilderToolTemplate/BrandBuilderToolTemplateSelectorProps.tsx';
|
|
101
|
+
export { default as BrandBuilderToolUploader } from './BrandBuilderTool/BrandBuilderToolUploader/BrandBuilderToolUploader.tsx';
|
|
102
|
+
export type { default as BrandBuilderToolUploaderProps } from './BrandBuilderTool/BrandBuilderToolUploader/BrandBuilderToolUploaderProps.tsx';
|
|
103
|
+
export { default as BrandBuilderToolWrapper } from './BrandBuilderTool/BrandBuilderToolWrapper/BrandBuilderToolWrapper.tsx';
|
|
104
|
+
export type { default as BrandBuilderToolWrapperProps } from './BrandBuilderTool/BrandBuilderToolWrapper/BrandBuilderToolWrapperProps.tsx';
|
|
105
|
+
export { default as BrandBuilderTool } from './BrandBuilderTool/BrandBuilderTool.tsx';
|
|
106
|
+
export type { default as BrandBuilderToolProps } from './BrandBuilderTool/BrandBuilderToolProps.tsx';
|
|
@@ -1,2 +1,45 @@
|
|
|
1
1
|
@import "../../../node_modules/slick-carousel/slick/slick.css";
|
|
2
2
|
@import "../../../node_modules/slick-carousel/slick/slick-theme.css";
|
|
3
|
+
|
|
4
|
+
.carouselBlock{
|
|
5
|
+
|
|
6
|
+
.custom-arrow{
|
|
7
|
+
background: transparent;
|
|
8
|
+
outline: none;
|
|
9
|
+
border: 1px solid var(--color-block-text);
|
|
10
|
+
border-radius: 100%;
|
|
11
|
+
height: 40px;
|
|
12
|
+
width: 40px;
|
|
13
|
+
color: var(--color-block-text);
|
|
14
|
+
transition: all 0.3s ease-in-out;
|
|
15
|
+
|
|
16
|
+
&:hover{
|
|
17
|
+
background: var(--color-block-text);
|
|
18
|
+
color: var(--color-block-bg);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.slick-list{
|
|
24
|
+
overflow: visible;
|
|
25
|
+
visibility: visible;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.prev{
|
|
29
|
+
margin-right: 16px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@media screen and (min-width: 992px) {
|
|
33
|
+
|
|
34
|
+
.custom-arrow{
|
|
35
|
+
height: 48px;
|
|
36
|
+
width: 48px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.prev{
|
|
40
|
+
margin-right: 24px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -5,7 +5,7 @@ interface ButtonProps {
|
|
|
5
5
|
size?: "default" | "large" | "small";
|
|
6
6
|
style?: "solid" | "hollow" | "no-border";
|
|
7
7
|
level?: 'primary' | 'secondary' | 'light'
|
|
8
|
-
pillar?: 'main' | 'live' | 'visit' | 'taste' | 'business' | 'participate'
|
|
8
|
+
pillar?: 'main' | 'live' | 'visit' | 'taste' | 'business' | 'participate' | undefined;
|
|
9
9
|
linkable?: boolean;
|
|
10
10
|
extraClass?: string;
|
|
11
11
|
link?:{
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import Checkbox from "./Checkbox";
|
|
3
|
+
|
|
4
|
+
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export
|
|
5
|
+
const meta = {
|
|
6
|
+
title: 'Form / Checkbox',
|
|
7
|
+
component: Checkbox,
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: 'centered',
|
|
10
|
+
},
|
|
11
|
+
tags: ['autodocs'],
|
|
12
|
+
} satisfies Meta<typeof Checkbox>;
|
|
13
|
+
|
|
14
|
+
export default meta;
|
|
15
|
+
type Story = StoryObj<typeof Checkbox>;
|
|
16
|
+
|
|
17
|
+
// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
|
|
18
|
+
export const Default: Story = {
|
|
19
|
+
args: {
|
|
20
|
+
checked: false,
|
|
21
|
+
label:'checkbox',
|
|
22
|
+
id:'ch_1'
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export const Checked: Story = {
|
|
27
|
+
args: {
|
|
28
|
+
checked: true
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export const Disabled: Story = {
|
|
33
|
+
args: {
|
|
34
|
+
checked: true,
|
|
35
|
+
disabled: true
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export const CheckedDisabled: Story = {
|
|
40
|
+
args: {
|
|
41
|
+
checked: true,
|
|
42
|
+
disabled: true
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export const Error: Story = {
|
|
47
|
+
args: {
|
|
48
|
+
checked: true,
|
|
49
|
+
error: true
|
|
50
|
+
},
|
|
51
|
+
};
|