@hellobetterdigitalnz/selwynui 0.0.1-1
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/README.md +73 -0
- package/dist/App.d.ts +2 -0
- package/dist/Components/DataDisplay/DetailsCard/DetailsCard.d.ts +3 -0
- package/dist/Components/DataDisplay/DetailsCard/DetailsCardProps.d.ts +10 -0
- package/dist/Components/DataDisplay/ImageContent/ImageContent.d.ts +3 -0
- package/dist/Components/DataDisplay/ImageContent/ImageContentMaskingImages.d.ts +2 -0
- package/dist/Components/DataDisplay/ImageContent/ImageContentProps.d.ts +27 -0
- package/dist/Components/DataDisplay/IntroBlock/IntroBlock.d.ts +3 -0
- package/dist/Components/DataDisplay/IntroBlock/IntroBlockProps.d.ts +8 -0
- package/dist/Components/DataDisplay/KPIBlock/KPIBlock.d.ts +3 -0
- package/dist/Components/DataDisplay/KPIBlock/KPIBlockProps.d.ts +11 -0
- package/dist/Components/DataDisplay/Pathway/Pathway.d.ts +3 -0
- package/dist/Components/DataDisplay/Pathway/PathwayProps.d.ts +15 -0
- package/dist/Components/DataDisplay/PromoBannerBlock/PromoBannerBlock.d.ts +3 -0
- package/dist/Components/DataDisplay/PromoBannerBlock/PromoBannerBlockProps.d.ts +14 -0
- package/dist/Components/DataDisplay/PromoBannerBlock/promo-banner-bg-design.d.ts +2 -0
- package/dist/Components/DataDisplay/index.d.ts +10 -0
- package/dist/Components/Form/Button/Button.d.ts +3 -0
- package/dist/Components/Form/Button/ButtonProps.d.ts +14 -0
- package/dist/Components/Form/index.d.ts +2 -0
- package/dist/Components/Icons/Arrows/ArrowLeft/ArrowLeft.d.ts +3 -0
- package/dist/Components/Icons/Arrows/ArrowRight/ArrowRight.d.ts +3 -0
- package/dist/Components/Icons/Arrows/ArrowSquareOut/ArrowSquareOut.d.ts +3 -0
- package/dist/Components/Icons/Arrows/ArrowsDownUp/ArrowsDownUp.d.ts +3 -0
- package/dist/Components/Icons/Arrows/ArrowsOutCardinal/ArrowsOutCardinal.d.ts +3 -0
- package/dist/Components/Icons/Arrows/CaretCircleRight/CaretCircleRight.d.ts +3 -0
- package/dist/Components/Icons/Arrows/CaretDown/CaretDown.d.ts +3 -0
- package/dist/Components/Icons/Arrows/CaretLeft/CaretLeft.d.ts +3 -0
- package/dist/Components/Icons/Arrows/CaretRight/CaretRight.d.ts +3 -0
- package/dist/Components/Icons/Arrows/CaretUp/CaretUp.d.ts +3 -0
- package/dist/Components/Icons/Arrows/CaretUpDown/CaretUpDown.d.ts +3 -0
- package/dist/Components/Icons/Brands/FacebookLogo/FacebookLogo.d.ts +3 -0
- package/dist/Components/Icons/Brands/InstagramLogo/InstagramLogo.d.ts +3 -0
- package/dist/Components/Icons/Brands/LinkedinLogo/LinkedinLogo.d.ts +3 -0
- package/dist/Components/Icons/Brands/WindowsLogo/WindowsLogo.d.ts +3 -0
- package/dist/Components/Icons/Commerce/Backpack/Backpack.d.ts +3 -0
- package/dist/Components/Icons/Commerce/BowlSteam/BowlSteam.d.ts +3 -0
- package/dist/Components/Icons/Commerce/Bread/Bread.d.ts +3 -0
- package/dist/Components/Icons/Commerce/Cheers/Cheers.d.ts +3 -0
- package/dist/Components/Icons/Commerce/ChefHat/ChefHat.d.ts +3 -0
- package/dist/Components/Icons/Commerce/Coffee/Coffee.d.ts +3 -0
- package/dist/Components/Icons/Commerce/CreditCard/CreditCard.d.ts +3 -0
- package/dist/Components/Icons/Commerce/CurrencyDollarSimple/CurrencyDollarSimple.d.ts +3 -0
- package/dist/Components/Icons/Commerce/Grains/Grains.d.ts +3 -0
- package/dist/Components/Icons/Commerce/Scale/Scale.d.ts +3 -0
- package/dist/Components/Icons/Commerce/StoreFront/StoreFront.d.ts +3 -0
- package/dist/Components/Icons/Communication/AddressBook/AddressBook.d.ts +3 -0
- package/dist/Components/Icons/Communication/AddressBook/AddressBook.stories.d.ts +21 -0
- package/dist/Components/Icons/Communication/AsterickSimple/AsteriskSimple.d.ts +3 -0
- package/dist/Components/Icons/Communication/AsterickSimple/AsteriskSimple.stories.d.ts +21 -0
- package/dist/Components/Icons/Communication/Asterisk/Asterisk.d.ts +3 -0
- package/dist/Components/Icons/Communication/Asterisk/Asterisk.stories.d.ts +21 -0
- package/dist/Components/Icons/Communication/At/At.d.ts +3 -0
- package/dist/Components/Icons/Communication/At/At.stories.d.ts +21 -0
- package/dist/Components/Icons/Communication/Broadcast/Broadcast.d.ts +3 -0
- package/dist/Components/Icons/Communication/Broadcast/Broadcast.stories.d.ts +21 -0
- package/dist/Components/Icons/Communication/Chat/Chat.d.ts +3 -0
- package/dist/Components/Icons/Communication/Chat/Chat.stories.d.ts +21 -0
- package/dist/Components/Icons/Communication/ChatCircleText/ChatCircleText.d.ts +3 -0
- package/dist/Components/Icons/Communication/EnvelopeSimple/EnvelopeSimple.d.ts +3 -0
- package/dist/Components/Icons/Communication/Export/Export.d.ts +3 -0
- package/dist/Components/Icons/Communication/Phone/Phone.d.ts +3 -0
- package/dist/Components/Icons/Communication/ThumbsUp/ThumbsUp.d.ts +3 -0
- package/dist/Components/Icons/Communication/Translate/Translate.d.ts +3 -0
- package/dist/Components/Icons/Design/DropHalfBottom/DropHalfBottom.d.ts +3 -0
- package/dist/Components/Icons/Design/Eye/Eye.d.ts +3 -0
- package/dist/Components/Icons/Design/EyeSlash/EyeSlash.d.ts +3 -0
- package/dist/Components/Icons/Design/GearFine/GearFine.d.ts +3 -0
- package/dist/Components/Icons/Design/PencilLine/PencilLine.d.ts +3 -0
- package/dist/Components/Icons/Design/PencilSimple/PencilSimple.d.ts +3 -0
- package/dist/Components/Icons/Design/Ruler/Ruler.d.ts +3 -0
- package/dist/Components/Icons/Design/SquaresFour/SquaresFour.d.ts +3 -0
- package/dist/Components/Icons/Education/BookOpenText/BookOpenText.d.ts +3 -0
- package/dist/Components/Icons/Education/BookmarkSimple/BookmarkSimple.d.ts +3 -0
- package/dist/Components/Icons/Education/Certificate/Certificate.d.ts +3 -0
- package/dist/Components/Icons/Education/GraduationCap/GraduationCap.d.ts +3 -0
- package/dist/Components/Icons/Games/Cricket/Cricket.d.ts +3 -0
- package/dist/Components/Icons/Games/Football/Football.d.ts +3 -0
- package/dist/Components/Icons/Games/Golf/Golf.d.ts +3 -0
- package/dist/Components/Icons/HealthAndWellness/Barbell/Barbell.d.ts +3 -0
- package/dist/Components/Icons/IconProps.d.ts +4 -0
- package/dist/Components/Icons/MapAndTravel/Barn/Barn.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/Bicycle/Bicycle.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/Bus/Bus.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/Car/Car.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/ChargingStation/ChargingStation.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/Farm/Farm.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/Globe/Globe.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/Goggles/Goggles.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/House/House.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/HouseSimple/HouseSimple.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/MapPin/MapPin.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/MapTriFold/MapTriFold.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/Path/Path.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/RoadHorizon/RoadHorizon.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/SteeringWheel/SteeringWheel.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/SwimmingPool/SwimmingPool.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/Tram/Tram.d.ts +3 -0
- package/dist/Components/Icons/MapAndTravel/Van/Van.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/Calculator/Calculator.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/ChartBar/ChartBar.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/ChartBarHorizontal/ChartBarHorizontal.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/ChartLine/ChartLine.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/ChartLineUp/ChartLineUp.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/ChartPie/ChartPie.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/Minus/Minus.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/MinusCircle/MinusCircle.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/NumberSquareThree/NumberSquareThree.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/Plus/Plus.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/PlusCircle/PlusCircle.d.ts +3 -0
- package/dist/Components/Icons/MathsAndFinance/XIcon/XIcon.d.ts +3 -0
- package/dist/Components/Icons/Media/Camera/Camera.d.ts +3 -0
- package/dist/Components/Icons/Media/DiscoBall/DiscoBall.d.ts +3 -0
- package/dist/Components/Icons/Media/FilmStrip/FilmStrip.d.ts +3 -0
- package/dist/Components/Icons/Media/Microphone/Microphone.d.ts +3 -0
- package/dist/Components/Icons/Media/MusicNotes/MusicNotes.d.ts +3 -0
- package/dist/Components/Icons/Media/PlayCircle/PlayCircle.d.ts +3 -0
- package/dist/Components/Icons/Media/SlidersHorizontal/SlidersHorizontal.d.ts +3 -0
- package/dist/Components/Icons/Media/StopCircle/StopCircle.d.ts +3 -0
- package/dist/Components/Icons/Media/VideoCamera/VideoCamera.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/BuildinfOffice/BuildingOffice.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/Copy/Copy.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/FileText/FileText.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/Files/Files.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/FloppyDisk/FloppyDisk.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/Folder/Folder.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/FolderSimplePlus/FolderSimplePlus.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/Folders/Folders.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/List/List.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/ListBullets/ListBullets.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/ListDashes/ListDashes.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/Printer/Printer.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/TextAa/TextAa.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/TextColumns/TextColumns.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/Trash/Trash.d.ts +3 -0
- package/dist/Components/Icons/OfficeAndEditing/TrashSimple/TrashSimple.d.ts +3 -0
- package/dist/Components/Icons/People/Person/Person.d.ts +3 -0
- package/dist/Components/Icons/People/PersonArmsSpread/PersonArmsSpread.d.ts +3 -0
- package/dist/Components/Icons/People/PersonSimpleBike/PersonSimpleBike.d.ts +3 -0
- package/dist/Components/Icons/People/PersonSimpleSki/PersonSimpleSki.d.ts +3 -0
- package/dist/Components/Icons/People/PersonSimpleWalk/PersonSimpleWalk.d.ts +3 -0
- package/dist/Components/Icons/People/User/User.d.ts +3 -0
- package/dist/Components/Icons/People/UserCircle/UserCircle.d.ts +3 -0
- package/dist/Components/Icons/People/UserSwitch/UserSwitch.d.ts +3 -0
- package/dist/Components/Icons/People/Users/Users.d.ts +3 -0
- package/dist/Components/Icons/SecurityAndWarnings/Info/Info.d.ts +3 -0
- package/dist/Components/Icons/SecurityAndWarnings/Key/Key.d.ts +3 -0
- package/dist/Components/Icons/SecurityAndWarnings/LockKeyOpen/LockKeyOpen.d.ts +3 -0
- package/dist/Components/Icons/SecurityAndWarnings/LockSimple/LockSimple.d.ts +3 -0
- package/dist/Components/Icons/SecurityAndWarnings/Question/Question.d.ts +3 -0
- package/dist/Components/Icons/SecurityAndWarnings/ShieldCheck/ShieldCheck.d.ts +3 -0
- package/dist/Components/Icons/SecurityAndWarnings/WarningCircle/WarningCircle.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/Bell/Bell.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/Check/Check.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/CheckSquare/CheckSquare.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/CloudCheck/CloudCheck.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/Desktop/Desktop.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/DeviceMobile/DeviceMobile.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/DotSixVertical/DotSixVertical.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/DotsSix/DotsSix.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/DotsThree/DotsThree.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/DotsThreeVertical/DotsThreeVertical.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/DownloadSimple/DownloadSimple.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/Gear/Gear.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/Link/Link.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/MagnifyingGlass/MagnifyingGlass.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/RadioButtonIcon/RadioButtonIcon.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/SignIn/SignIn.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/SignOut/SignOut.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/ToggleLeft/ToggleLeft.d.ts +3 -0
- package/dist/Components/Icons/SystemAndDevice/ToggleRight/ToggleRight.d.ts +3 -0
- package/dist/Components/Icons/Time/Calendar/Calendar.d.ts +3 -0
- package/dist/Components/Icons/Time/CalendarBank/CalendarBank.d.ts +3 -0
- package/dist/Components/Icons/Time/CalendarCheck/CalendarCheck.d.ts +3 -0
- package/dist/Components/Icons/Time/CalendarDots/CalendarDots.d.ts +3 -0
- package/dist/Components/Icons/Time/Clock/Clock.d.ts +3 -0
- package/dist/Components/Icons/Time/ClockCounterClockwise/ClockCounterClockwise.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/Bird/Bird.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/Campfire/Campfire.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/CloudSun/CloudSun.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/Cow/Cow.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/Dog/Dog.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/FishSimple/FishSimple.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/Flower/Flower.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/Moon/Moon.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/Mountains/Mountains.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/Plant/Plant.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/Snowflake/Snowflake.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/Sparkle/Sparkle.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/Sun/Sun.d.ts +3 -0
- package/dist/Components/Icons/WeatherAndNature/Tree/Tree.d.ts +3 -0
- package/dist/Components/Icons/index.d.ts +123 -0
- package/dist/Components/Layout/Footer/Footer.d.ts +3 -0
- package/dist/Components/Layout/Footer/FooterBottom.d.ts +3 -0
- package/dist/Components/Layout/Footer/FooterBottomLeft.d.ts +3 -0
- package/dist/Components/Layout/Footer/FooterBottomLeftProps.d.ts +11 -0
- package/dist/Components/Layout/Footer/FooterBottomProps.d.ts +5 -0
- package/dist/Components/Layout/Footer/FooterBottomRight.d.ts +3 -0
- package/dist/Components/Layout/Footer/FooterBottomRightProps.d.ts +6 -0
- package/dist/Components/Layout/Footer/FooterItem.d.ts +3 -0
- package/dist/Components/Layout/Footer/FooterItemProps.d.ts +6 -0
- package/dist/Components/Layout/Footer/FooterMiddle.d.ts +3 -0
- package/dist/Components/Layout/Footer/FooterMiddleProps.d.ts +6 -0
- package/dist/Components/Layout/Footer/FooterProps.d.ts +9 -0
- package/dist/Components/Layout/Footer/FooterTop.d.ts +3 -0
- package/dist/Components/Layout/Footer/FooterTopProps.d.ts +7 -0
- package/dist/Components/Layout/Footer/footer-bg-design.d.ts +2 -0
- package/dist/Components/Layout/Header/Header.d.ts +3 -0
- package/dist/Components/Layout/Header/HeaderProps.d.ts +7 -0
- package/dist/Components/Layout/Header/HeaderRight.d.ts +3 -0
- package/dist/Components/Layout/Header/HeaderRightItem.d.ts +3 -0
- package/dist/Components/Layout/Header/HeaderRightItemProps.d.ts +11 -0
- package/dist/Components/Layout/Header/HeaderRightProps.d.ts +5 -0
- package/dist/Components/Layout/Header/MagnifyingGlass/MagnifyingGlass.d.ts +2 -0
- package/dist/Components/Layout/Header/MegaMenu/MegaMenu.d.ts +2 -0
- package/dist/Components/Layout/Header/MegaMenu/MegaMenuProps.d.ts +4 -0
- package/dist/Components/Layout/HeroBanner/HeroBanner.d.ts +3 -0
- package/dist/Components/Layout/HeroBanner/HeroBannerProps.d.ts +9 -0
- package/dist/Components/Layout/HeroBanner/LargeHeroIcon.d.ts +2 -0
- package/dist/Components/Layout/index.d.ts +22 -0
- package/dist/Components/Shared/Container/Container.d.ts +3 -0
- package/dist/Components/Shared/Container/ContainerProps.d.ts +6 -0
- package/dist/Components/Shared/ElementHolder/ElementHolder.d.ts +3 -0
- package/dist/Components/Shared/ElementHolder/ElementHolderProps.d.ts +15 -0
- package/dist/Components/Shared/index.d.ts +4 -0
- 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 +14 -0
- package/dist/img/footer-logo.svg +9 -0
- package/dist/img/promo-banner-image.svg +9 -0
- package/dist/img/visit-brand-piller.svg +6 -0
- package/dist/img/waikirikiri-full-logo.svg +23 -0
- package/dist/index.cjs.js +14 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.es.d.ts +2 -0
- package/dist/index.es.js +6787 -0
- package/dist/index.es.js.map +1 -0
- package/dist/main.d.ts +0 -0
- package/dist/selwynui.css +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +73 -0
- package/src/Components/DataDisplay/Accordion/Accordion.stories.tsx +90 -0
- package/src/Components/DataDisplay/Accordion/Accordion.tsx +57 -0
- package/src/Components/DataDisplay/Accordion/AccordionContext.tsx +11 -0
- package/src/Components/DataDisplay/Accordion/AccordionContextInterface.tsx +8 -0
- package/src/Components/DataDisplay/Accordion/AccordionItem.tsx +159 -0
- package/src/Components/DataDisplay/Accordion/AccordionItemProps.tsx +20 -0
- package/src/Components/DataDisplay/Accordion/AccordionProps.tsx +13 -0
- package/src/Components/DataDisplay/Accordion/AccordionProvider.tsx +66 -0
- package/src/Components/DataDisplay/Accordion/AccordionProviderInterface.tsx +9 -0
- package/src/Components/DataDisplay/Accordion/accordion-bg-design.tsx +14 -0
- package/src/Components/DataDisplay/Accordion/accordion.module.scss +90 -0
- package/src/Components/DataDisplay/DetailsCard/DetailsCard.stories.tsx +39 -0
- package/src/Components/DataDisplay/DetailsCard/DetailsCard.tsx +87 -0
- package/src/Components/DataDisplay/DetailsCard/DetailsCardProps.tsx +12 -0
- package/src/Components/DataDisplay/DetailsCard/detailsCard.module.scss +123 -0
- package/src/Components/DataDisplay/ImageContent/ImageContent.stories.tsx +150 -0
- package/src/Components/DataDisplay/ImageContent/ImageContent.tsx +146 -0
- package/src/Components/DataDisplay/ImageContent/ImageContentMaskingImages.tsx +334 -0
- package/src/Components/DataDisplay/ImageContent/ImageContentProps.tsx +42 -0
- package/src/Components/DataDisplay/ImageContent/imageContent.module.scss +343 -0
- package/src/Components/DataDisplay/IntroBlock/IntroBlock.stories.tsx +37 -0
- package/src/Components/DataDisplay/IntroBlock/IntroBlock.tsx +37 -0
- package/src/Components/DataDisplay/IntroBlock/IntroBlockProps.tsx +10 -0
- package/src/Components/DataDisplay/IntroBlock/introBlock.module.scss +37 -0
- package/src/Components/DataDisplay/KPIBlock/KPIBlock.stories.tsx +120 -0
- package/src/Components/DataDisplay/KPIBlock/KPIBlock.tsx +42 -0
- package/src/Components/DataDisplay/KPIBlock/KPIBlockProps.tsx +13 -0
- package/src/Components/DataDisplay/KPIBlock/kpiBlock.module.scss +78 -0
- package/src/Components/DataDisplay/Pathway/Pathway.stories.tsx +27 -0
- package/src/Components/DataDisplay/Pathway/Pathway.tsx +83 -0
- package/src/Components/DataDisplay/Pathway/PathwayProps.tsx +17 -0
- package/src/Components/DataDisplay/Pathway/pathway.module.scss +124 -0
- package/src/Components/DataDisplay/PathwayBlock/PathwayBlock.stories.tsx +56 -0
- package/src/Components/DataDisplay/PathwayBlock/PathwayBlock.tsx +37 -0
- package/src/Components/DataDisplay/PathwayBlock/PathwayBlockProps.tsx +13 -0
- package/src/Components/DataDisplay/PathwayBlock/pathwayBlock.module.scss +34 -0
- package/src/Components/DataDisplay/PromoBannerBlock/PromoBanner.stories.tsx +45 -0
- package/src/Components/DataDisplay/PromoBannerBlock/PromoBannerBlock.tsx +77 -0
- package/src/Components/DataDisplay/PromoBannerBlock/PromoBannerBlockProps.tsx +16 -0
- package/src/Components/DataDisplay/PromoBannerBlock/brand-piller.tsx +50 -0
- package/src/Components/DataDisplay/PromoBannerBlock/promo-banner-bg-design.tsx +14 -0
- package/src/Components/DataDisplay/PromoBannerBlock/promoBanner.module.scss +181 -0
- package/src/Components/DataDisplay/TestimonyCard/TestimonyCard.stories.tsx +46 -0
- package/src/Components/DataDisplay/TestimonyCard/TestimonyCard.tsx +64 -0
- package/src/Components/DataDisplay/TestimonyCard/TestimonyCardProps.tsx +13 -0
- package/src/Components/DataDisplay/TestimonyCard/testimonyCard.module.scss +93 -0
- package/src/Components/DataDisplay/index.ts +19 -0
- package/src/Components/Form/Button/Button.stories.tsx +55 -0
- package/src/Components/Form/Button/Button.tsx +122 -0
- package/src/Components/Form/Button/ButtonProps.tsx +27 -0
- package/src/Components/Form/Button/button.module.scss +91 -0
- package/src/Components/Form/index.ts +2 -0
- package/src/Components/Icons/Arrows/ArrowLeft/ArrowLeft.tsx +49 -0
- package/src/Components/Icons/Arrows/ArrowRight/ArrowRight.tsx +47 -0
- package/src/Components/Icons/Arrows/ArrowSquareOut/ArrowSquareOut.tsx +48 -0
- package/src/Components/Icons/Arrows/ArrowsDownUp/ArrowsDownUp.tsx +49 -0
- package/src/Components/Icons/Arrows/ArrowsOutCardinal/ArrowsOutCardinal.tsx +50 -0
- package/src/Components/Icons/Arrows/CaretCircleRight/CaretCircleRight.tsx +37 -0
- package/src/Components/Icons/Arrows/CaretDown/CaretDown.tsx +49 -0
- package/src/Components/Icons/Arrows/CaretLeft/CaretLeft.tsx +102 -0
- package/src/Components/Icons/Arrows/CaretRight/CaretRight.tsx +102 -0
- package/src/Components/Icons/Arrows/CaretUp/CaretUp.tsx +49 -0
- package/src/Components/Icons/Arrows/CaretUpDown/CaretUpDown.tsx +49 -0
- package/src/Components/Icons/Brands/FacebookLogo/FacebookLogo.tsx +35 -0
- package/src/Components/Icons/Brands/InstagramLogo/InstagramLogo.tsx +35 -0
- package/src/Components/Icons/Brands/LinkedinLogo/LinkedinLogo.tsx +35 -0
- package/src/Components/Icons/Brands/WindowsLogo/WindowsLogo.tsx +105 -0
- package/src/Components/Icons/Commerce/Backpack/Backpack.tsx +54 -0
- package/src/Components/Icons/Commerce/BowlSteam/BowlSteam.tsx +34 -0
- package/src/Components/Icons/Commerce/Bread/Bread.tsx +34 -0
- package/src/Components/Icons/Commerce/Cheers/Cheers.tsx +34 -0
- package/src/Components/Icons/Commerce/ChefHat/ChefHat.tsx +34 -0
- package/src/Components/Icons/Commerce/Coffee/Coffee.tsx +54 -0
- package/src/Components/Icons/Commerce/CreditCard/CreditCard.tsx +54 -0
- package/src/Components/Icons/Commerce/CurrencyDollarSimple/CurrencyDollarSimple.tsx +105 -0
- package/src/Components/Icons/Commerce/Grains/Grains.tsx +54 -0
- package/src/Components/Icons/Commerce/Scale/Scale.tsx +61 -0
- package/src/Components/Icons/Commerce/StoreFront/StoreFront.tsx +54 -0
- package/src/Components/Icons/Communication/AddressBook/AddressBook.stories.ts +28 -0
- package/src/Components/Icons/Communication/AddressBook/AddressBook.tsx +50 -0
- package/src/Components/Icons/Communication/AsterickSimple/AsteriskSimple.stories.ts +28 -0
- package/src/Components/Icons/Communication/AsterickSimple/AsteriskSimple.tsx +49 -0
- package/src/Components/Icons/Communication/Asterisk/Asterisk.stories.ts +28 -0
- package/src/Components/Icons/Communication/Asterisk/Asterisk.tsx +50 -0
- package/src/Components/Icons/Communication/At/At.stories.ts +28 -0
- package/src/Components/Icons/Communication/At/At.tsx +49 -0
- package/src/Components/Icons/Communication/Broadcast/Broadcast.stories.ts +27 -0
- package/src/Components/Icons/Communication/Broadcast/Broadcast.tsx +49 -0
- package/src/Components/Icons/Communication/Chat/Chat.stories.ts +28 -0
- package/src/Components/Icons/Communication/Chat/Chat.tsx +49 -0
- package/src/Components/Icons/Communication/ChatCircleText/ChatCircleText.tsx +87 -0
- package/src/Components/Icons/Communication/EnvelopeSimple/EnvelopeSimple.tsx +52 -0
- package/src/Components/Icons/Communication/Export/Export.tsx +52 -0
- package/src/Components/Icons/Communication/Phone/Phone.tsx +54 -0
- package/src/Components/Icons/Communication/ThumbsUp/ThumbsUp.tsx +47 -0
- package/src/Components/Icons/Communication/Translate/Translate.tsx +51 -0
- package/src/Components/Icons/Design/DropHalfBottom/DropHalfBottom.tsx +37 -0
- package/src/Components/Icons/Design/Eye/Eye.tsx +105 -0
- package/src/Components/Icons/Design/EyeSlash/EyeSlash.tsx +105 -0
- package/src/Components/Icons/Design/GearFine/GearFine.tsx +105 -0
- package/src/Components/Icons/Design/PencilLine/PencilLine.tsx +63 -0
- package/src/Components/Icons/Design/PencilSimple/PencilSimple.tsx +63 -0
- package/src/Components/Icons/Design/Ruler/Ruler.tsx +63 -0
- package/src/Components/Icons/Design/SquaresFour/SquaresFour.tsx +54 -0
- package/src/Components/Icons/Education/BookOpenText/BookOpenText.tsx +63 -0
- package/src/Components/Icons/Education/BookmarkSimple/BookmarkSimple.tsx +44 -0
- package/src/Components/Icons/Education/Certificate/Certificate.tsx +56 -0
- package/src/Components/Icons/Education/GraduationCap/GraduationCap.tsx +105 -0
- package/src/Components/Icons/Games/Cricket/Cricket.tsx +23 -0
- package/src/Components/Icons/Games/Football/Football.tsx +47 -0
- package/src/Components/Icons/Games/Golf/Golf.tsx +34 -0
- package/src/Components/Icons/HealthAndWellness/Barbell/Barbell.tsx +36 -0
- package/src/Components/Icons/IconProps.tsx +5 -0
- package/src/Components/Icons/MapAndTravel/Barn/Barn.tsx +34 -0
- package/src/Components/Icons/MapAndTravel/Bicycle/Bicycle.tsx +54 -0
- package/src/Components/Icons/MapAndTravel/Bus/Bus.tsx +54 -0
- package/src/Components/Icons/MapAndTravel/Car/Car.tsx +54 -0
- package/src/Components/Icons/MapAndTravel/ChargingStation/ChargingStation.tsx +54 -0
- package/src/Components/Icons/MapAndTravel/Farm/Farm.tsx +34 -0
- package/src/Components/Icons/MapAndTravel/Globe/Globe.tsx +61 -0
- package/src/Components/Icons/MapAndTravel/Goggles/Goggles.tsx +47 -0
- package/src/Components/Icons/MapAndTravel/House/House.tsx +61 -0
- package/src/Components/Icons/MapAndTravel/HouseSimple/HouseSimple.tsx +61 -0
- package/src/Components/Icons/MapAndTravel/MapPin/MapPin.tsx +53 -0
- package/src/Components/Icons/MapAndTravel/MapTriFold/MapTriFold.tsx +59 -0
- package/src/Components/Icons/MapAndTravel/Path/Path.tsx +35 -0
- package/src/Components/Icons/MapAndTravel/RoadHorizon/RoadHorizon.tsx +35 -0
- package/src/Components/Icons/MapAndTravel/SteeringWheel/SteeringWheel.tsx +61 -0
- package/src/Components/Icons/MapAndTravel/SwimmingPool/SwimmingPool.tsx +36 -0
- package/src/Components/Icons/MapAndTravel/Tram/Tram.tsx +35 -0
- package/src/Components/Icons/MapAndTravel/Van/Van.tsx +60 -0
- package/src/Components/Icons/MathsAndFinance/Calculator/Calculator.tsx +59 -0
- package/src/Components/Icons/MathsAndFinance/ChartBar/ChartBar.tsx +59 -0
- package/src/Components/Icons/MathsAndFinance/ChartBarHorizontal/ChartBarHorizontal.tsx +52 -0
- package/src/Components/Icons/MathsAndFinance/ChartLine/ChartLine.tsx +53 -0
- package/src/Components/Icons/MathsAndFinance/ChartLineUp/ChartLineUp.tsx +47 -0
- package/src/Components/Icons/MathsAndFinance/ChartPie/ChartPie.tsx +54 -0
- package/src/Components/Icons/MathsAndFinance/Minus/Minus.tsx +49 -0
- package/src/Components/Icons/MathsAndFinance/MinusCircle/MinusCircle.tsx +44 -0
- package/src/Components/Icons/MathsAndFinance/NumberSquareThree/NumberSquareThree.tsx +63 -0
- package/src/Components/Icons/MathsAndFinance/Plus/Plus.tsx +63 -0
- package/src/Components/Icons/MathsAndFinance/PlusCircle/PlusCircle.tsx +51 -0
- package/src/Components/Icons/MathsAndFinance/XIcon/XIcon.tsx +107 -0
- package/src/Components/Icons/Media/Camera/Camera.tsx +49 -0
- package/src/Components/Icons/Media/DiscoBall/DiscoBall.tsx +22 -0
- package/src/Components/Icons/Media/FilmStrip/FilmStrip.tsx +45 -0
- package/src/Components/Icons/Media/Microphone/Microphone.tsx +94 -0
- package/src/Components/Icons/Media/MusicNotes/MusicNotes.tsx +42 -0
- package/src/Components/Icons/Media/PlayCircle/PlayCircle.tsx +49 -0
- package/src/Components/Icons/Media/SlidersHorizontal/SlidersHorizontal.tsx +49 -0
- package/src/Components/Icons/Media/StopCircle/StopCircle.tsx +50 -0
- package/src/Components/Icons/Media/VideoCamera/VideoCamera.tsx +105 -0
- package/src/Components/Icons/OfficeAndEditing/BuildinfOffice/BuildingOffice.tsx +22 -0
- package/src/Components/Icons/OfficeAndEditing/Copy/Copy.tsx +47 -0
- package/src/Components/Icons/OfficeAndEditing/FileText/FileText.tsx +35 -0
- package/src/Components/Icons/OfficeAndEditing/Files/Files.tsx +49 -0
- package/src/Components/Icons/OfficeAndEditing/FloppyDisk/FloppyDisk.tsx +49 -0
- package/src/Components/Icons/OfficeAndEditing/Folder/Folder.tsx +61 -0
- package/src/Components/Icons/OfficeAndEditing/FolderSimplePlus/FolderSimplePlus.tsx +35 -0
- package/src/Components/Icons/OfficeAndEditing/Folders/Folders.tsx +47 -0
- package/src/Components/Icons/OfficeAndEditing/List/List.tsx +46 -0
- package/src/Components/Icons/OfficeAndEditing/ListBullets/ListBullets.tsx +59 -0
- package/src/Components/Icons/OfficeAndEditing/ListDashes/ListDashes.tsx +59 -0
- package/src/Components/Icons/OfficeAndEditing/Printer/Printer.tsx +48 -0
- package/src/Components/Icons/OfficeAndEditing/TextAa/TextAa.tsx +63 -0
- package/src/Components/Icons/OfficeAndEditing/TextColumns/TextColumns.tsx +61 -0
- package/src/Components/Icons/OfficeAndEditing/Trash/Trash.tsx +49 -0
- package/src/Components/Icons/OfficeAndEditing/TrashSimple/TrashSimple.tsx +49 -0
- package/src/Components/Icons/People/Person/Person.tsx +35 -0
- package/src/Components/Icons/People/PersonArmsSpread/PersonArmsSpread.tsx +35 -0
- package/src/Components/Icons/People/PersonSimpleBike/PersonSimpleBike.tsx +35 -0
- package/src/Components/Icons/People/PersonSimpleSki/PersonSimpleSki.tsx +34 -0
- package/src/Components/Icons/People/PersonSimpleWalk/PersonSimpleWalk.tsx +35 -0
- package/src/Components/Icons/People/User/User.tsx +61 -0
- package/src/Components/Icons/People/UserCircle/UserCircle.tsx +61 -0
- package/src/Components/Icons/People/UserSwitch/UserSwitch.tsx +61 -0
- package/src/Components/Icons/People/Users/Users.tsx +107 -0
- package/src/Components/Icons/SecurityAndWarnings/Info/Info.tsx +54 -0
- package/src/Components/Icons/SecurityAndWarnings/Key/Key.tsx +54 -0
- package/src/Components/Icons/SecurityAndWarnings/LockKeyOpen/LockKeyOpen.tsx +54 -0
- package/src/Components/Icons/SecurityAndWarnings/LockSimple/LockSimple.tsx +61 -0
- package/src/Components/Icons/SecurityAndWarnings/Question/Question.tsx +53 -0
- package/src/Components/Icons/SecurityAndWarnings/ShieldCheck/ShieldCheck.tsx +89 -0
- package/src/Components/Icons/SecurityAndWarnings/WarningCircle/WarningCircle.tsx +105 -0
- package/src/Components/Icons/SystemAndDevice/Bell/Bell.tsx +49 -0
- package/src/Components/Icons/SystemAndDevice/Check/Check.tsx +49 -0
- package/src/Components/Icons/SystemAndDevice/CheckSquare/CheckSquare.tsx +63 -0
- package/src/Components/Icons/SystemAndDevice/CloudCheck/CloudCheck.tsx +74 -0
- package/src/Components/Icons/SystemAndDevice/Desktop/Desktop.tsx +107 -0
- package/src/Components/Icons/SystemAndDevice/DeviceMobile/DeviceMobile.tsx +78 -0
- package/src/Components/Icons/SystemAndDevice/DotSixVertical/DotSixVertical.tsx +49 -0
- package/src/Components/Icons/SystemAndDevice/DotsSix/DotsSix.tsx +107 -0
- package/src/Components/Icons/SystemAndDevice/DotsThree/DotsThree.tsx +63 -0
- package/src/Components/Icons/SystemAndDevice/DotsThreeVertical/DotsThreeVertical.tsx +63 -0
- package/src/Components/Icons/SystemAndDevice/DownloadSimple/DownloadSimple.tsx +52 -0
- package/src/Components/Icons/SystemAndDevice/Gear/Gear.tsx +61 -0
- package/src/Components/Icons/SystemAndDevice/Link/Link.tsx +54 -0
- package/src/Components/Icons/SystemAndDevice/MagnifyingGlass/MagnifyingGlass.tsx +105 -0
- package/src/Components/Icons/SystemAndDevice/RadioButtonIcon/RadioButtonIcon.tsx +63 -0
- package/src/Components/Icons/SystemAndDevice/SignIn/SignIn.tsx +51 -0
- package/src/Components/Icons/SystemAndDevice/SignOut/SignOut.tsx +49 -0
- package/src/Components/Icons/SystemAndDevice/ToggleLeft/ToggleLeft.tsx +51 -0
- package/src/Components/Icons/SystemAndDevice/ToggleRight/ToggleRight.tsx +51 -0
- package/src/Components/Icons/Time/Calendar/Calendar.tsx +61 -0
- package/src/Components/Icons/Time/CalendarBank/CalendarBank.tsx +105 -0
- package/src/Components/Icons/Time/CalendarCheck/CalendarCheck.tsx +61 -0
- package/src/Components/Icons/Time/CalendarDots/CalendarDots.tsx +28 -0
- package/src/Components/Icons/Time/Clock/Clock.tsx +105 -0
- package/src/Components/Icons/Time/ClockCounterClockwise/ClockCounterClockwise.tsx +74 -0
- package/src/Components/Icons/WeatherAndNature/Bird/Bird.tsx +54 -0
- package/src/Components/Icons/WeatherAndNature/Campfire/Campfire.tsx +35 -0
- package/src/Components/Icons/WeatherAndNature/CloudSun/CloudSun.tsx +49 -0
- package/src/Components/Icons/WeatherAndNature/Cow/Cow.tsx +34 -0
- package/src/Components/Icons/WeatherAndNature/Dog/Dog.tsx +54 -0
- package/src/Components/Icons/WeatherAndNature/FishSimple/FishSimple.tsx +54 -0
- package/src/Components/Icons/WeatherAndNature/Flower/Flower.tsx +47 -0
- package/src/Components/Icons/WeatherAndNature/Moon/Moon.tsx +35 -0
- package/src/Components/Icons/WeatherAndNature/Mountains/Mountains.tsx +49 -0
- package/src/Components/Icons/WeatherAndNature/Plant/Plant.tsx +105 -0
- package/src/Components/Icons/WeatherAndNature/Snowflake/Snowflake.tsx +46 -0
- package/src/Components/Icons/WeatherAndNature/Sparkle/Sparkle.tsx +35 -0
- package/src/Components/Icons/WeatherAndNature/Sun/Sun.tsx +47 -0
- package/src/Components/Icons/WeatherAndNature/Tree/Tree.tsx +84 -0
- package/src/Components/Icons/index.ts +165 -0
- package/src/Components/Layout/Footer/Footer.stories.tsx +178 -0
- package/src/Components/Layout/Footer/Footer.tsx +33 -0
- package/src/Components/Layout/Footer/FooterBottom.tsx +21 -0
- package/src/Components/Layout/Footer/FooterBottomLeft.tsx +31 -0
- package/src/Components/Layout/Footer/FooterBottomLeftProps.tsx +13 -0
- package/src/Components/Layout/Footer/FooterBottomProps.tsx +7 -0
- package/src/Components/Layout/Footer/FooterBottomRight.tsx +47 -0
- package/src/Components/Layout/Footer/FooterBottomRightProps.tsx +7 -0
- package/src/Components/Layout/Footer/FooterItem.tsx +17 -0
- package/src/Components/Layout/Footer/FooterItemProps.tsx +8 -0
- package/src/Components/Layout/Footer/FooterMiddle.tsx +18 -0
- package/src/Components/Layout/Footer/FooterMiddleProps.tsx +8 -0
- package/src/Components/Layout/Footer/FooterProps.tsx +11 -0
- package/src/Components/Layout/Footer/FooterTop.tsx +30 -0
- package/src/Components/Layout/Footer/FooterTopProps.tsx +9 -0
- package/src/Components/Layout/Footer/footer-bg-design.tsx +21 -0
- package/src/Components/Layout/Footer/footer.module.scss +326 -0
- package/src/Components/Layout/Header/Header.stories.tsx +67 -0
- package/src/Components/Layout/Header/Header.tsx +27 -0
- package/src/Components/Layout/Header/HeaderProps.tsx +9 -0
- package/src/Components/Layout/Header/HeaderRight.tsx +12 -0
- package/src/Components/Layout/Header/HeaderRightItem.tsx +21 -0
- package/src/Components/Layout/Header/HeaderRightItemProps.tsx +13 -0
- package/src/Components/Layout/Header/HeaderRightProps.tsx +7 -0
- package/src/Components/Layout/Header/MagnifyingGlass/MagnifyingGlass.tsx +10 -0
- package/src/Components/Layout/Header/MegaMenu/MegaMenu.tsx +98 -0
- package/src/Components/Layout/Header/MegaMenu/MegaMenuProps.tsx +20 -0
- package/src/Components/Layout/Header/MegaMenu/megaMenu.module.scss +163 -0
- package/src/Components/Layout/Header/header.module.scss +115 -0
- package/src/Components/Layout/HeroBanner/HeroBanner.stories.tsx +77 -0
- package/src/Components/Layout/HeroBanner/HeroBanner.tsx +77 -0
- package/src/Components/Layout/HeroBanner/HeroBannerProps.tsx +10 -0
- package/src/Components/Layout/HeroBanner/LargeHeroIcon.tsx +18 -0
- package/src/Components/Layout/HeroBanner/heroBanner.module.scss +179 -0
- package/src/Components/Layout/index.ts +32 -0
- package/src/Components/Shared/Container/Container.tsx +19 -0
- package/src/Components/Shared/Container/ContainerProps.tsx +8 -0
- package/src/Components/Shared/Container/container.module.scss +13 -0
- package/src/Components/Shared/ElementHolder/ElementHolder.tsx +40 -0
- package/src/Components/Shared/ElementHolder/ElementHolderProps.tsx +18 -0
- package/src/Components/Shared/ElementHolder/elementHolder.module.scss +189 -0
- package/src/Components/Shared/Hook/useScrollFadeIn/useScrollFadeIn.tsx +28 -0
- package/src/Components/Shared/PillarIcon/PillarIcon.stories.tsx +31 -0
- package/src/Components/Shared/PillarIcon/PillarIcon.tsx +58 -0
- package/src/Components/Shared/PillarIcon/PillarIconsProps.tsx +5 -0
- package/src/Components/Shared/PillarLogo/PillarLogo.tsx +184 -0
- package/src/Components/Shared/ScrollFadeIn/ScrollFadeIn.tsx +43 -0
- package/src/Components/Shared/ScrollFadeIn/scrollFadeIn.module.scss +19 -0
- package/src/Components/Shared/index.ts +5 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
|
+
import IntroBlock from "./IntroBlock";
|
|
4
|
+
import ElementHolder from "../../Shared/ElementHolder/ElementHolder";
|
|
5
|
+
|
|
6
|
+
const meta: Meta = {
|
|
7
|
+
title: "DataDisplay / IntroBlock",
|
|
8
|
+
component: IntroBlock,
|
|
9
|
+
parameters: {
|
|
10
|
+
layout: 'fullscreen',
|
|
11
|
+
},
|
|
12
|
+
tags: ["autodocs"],
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export default meta;
|
|
16
|
+
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
|
|
19
|
+
const IntroBlockTemplate: Story = {
|
|
20
|
+
render: () => {
|
|
21
|
+
return (
|
|
22
|
+
<ElementHolder paddingTop="sm" paddingBottom="sm" piller="visit" level="light">
|
|
23
|
+
<IntroBlock
|
|
24
|
+
introHeading={'A district that’s growing, grounded, and full of opportunity.'}
|
|
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.'}
|
|
26
|
+
/>
|
|
27
|
+
</ElementHolder>
|
|
28
|
+
)
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export const IntroBlockComponent = {
|
|
33
|
+
...IntroBlockTemplate
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import Container from "../../Shared/Container/Container"
|
|
2
|
+
import IntroBlockProps from "./IntroBlockProps"
|
|
3
|
+
import styles from "./introBlock.module.scss"
|
|
4
|
+
|
|
5
|
+
const IntroBlock = (props: IntroBlockProps) => {
|
|
6
|
+
const {
|
|
7
|
+
introHeading,
|
|
8
|
+
introText,
|
|
9
|
+
extraClass
|
|
10
|
+
} = props
|
|
11
|
+
|
|
12
|
+
return (
|
|
13
|
+
<div className={`${styles.introBlock} ${extraClass}`}>
|
|
14
|
+
<Container>
|
|
15
|
+
<div className={styles.introBlockWrapper}>
|
|
16
|
+
<div className={styles.introBlockLeft}>
|
|
17
|
+
<h1>
|
|
18
|
+
{introHeading}
|
|
19
|
+
</h1>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div className={styles.introBlockVerticalLine}></div>
|
|
23
|
+
|
|
24
|
+
<div className={styles.introBlockRight}>
|
|
25
|
+
<h1>
|
|
26
|
+
{introText}
|
|
27
|
+
</h1>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
</div>
|
|
31
|
+
</Container>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
)
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export default IntroBlock
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.introBlock {
|
|
2
|
+
|
|
3
|
+
@media screen and (min-width: 992px) {
|
|
4
|
+
.introBlockWrapper {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-grow: 1;
|
|
7
|
+
margin: 0 -72px;
|
|
8
|
+
|
|
9
|
+
.introBlockLeft {
|
|
10
|
+
width: 50%;
|
|
11
|
+
padding: 0 72px;
|
|
12
|
+
|
|
13
|
+
h1 {
|
|
14
|
+
font-size: var(--font-size-h4);
|
|
15
|
+
line-height: var(--line-height-h4);
|
|
16
|
+
font-weight: var(--font-weight-h4);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.introBlockRight {
|
|
21
|
+
width: 50%;
|
|
22
|
+
padding: 0 72px;
|
|
23
|
+
|
|
24
|
+
h1 {
|
|
25
|
+
font-size: var(--font-size-small);
|
|
26
|
+
line-height: var(--line-height-label);
|
|
27
|
+
font-weight: var(--font-weight-body-regular);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.introBlockVerticalLine {
|
|
32
|
+
background: var(--color-text);
|
|
33
|
+
width: 1px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import React from "react"
|
|
2
|
+
import { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
|
+
import KPIBlock from "./KPIBlock";
|
|
4
|
+
import ElementHolder from "../../Shared/ElementHolder/ElementHolder";
|
|
5
|
+
|
|
6
|
+
const meta: Meta = {
|
|
7
|
+
title: "Layout / KPIBlock",
|
|
8
|
+
component: KPIBlock,
|
|
9
|
+
parameters: {
|
|
10
|
+
layout: 'fullscreen',
|
|
11
|
+
},
|
|
12
|
+
tags: ["autodocs"]
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default meta;
|
|
16
|
+
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
|
|
19
|
+
const KPIBlockTemplate: Story = {
|
|
20
|
+
render: () => {
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<>
|
|
24
|
+
<ElementHolder paddingTop="sm" paddingBottom="sm" piller="business" level="secondary">
|
|
25
|
+
<KPIBlock
|
|
26
|
+
title={'Insights lorem ipsum dolor sit amet'}
|
|
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
|
+
stats={[
|
|
29
|
+
{
|
|
30
|
+
value: '500',
|
|
31
|
+
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
value: '+75%',
|
|
35
|
+
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
value: '6,789',
|
|
39
|
+
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
value: '$1M',
|
|
43
|
+
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
44
|
+
},
|
|
45
|
+
]}
|
|
46
|
+
/>
|
|
47
|
+
</ElementHolder>
|
|
48
|
+
</>
|
|
49
|
+
)
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
const KPIBlockBusinessTemplate: Story = {
|
|
54
|
+
render: () => {
|
|
55
|
+
|
|
56
|
+
return (
|
|
57
|
+
<>
|
|
58
|
+
<ElementHolder paddingTop="sm" paddingBottom="sm" piller="business" level="secondary">
|
|
59
|
+
<KPIBlock
|
|
60
|
+
title={'Business Growth Statistics'}
|
|
61
|
+
description={'Our comprehensive approach to business development has yielded impressive results across multiple sectors.'}
|
|
62
|
+
stats={[
|
|
63
|
+
{
|
|
64
|
+
value: '1,200',
|
|
65
|
+
description: 'New businesses established in the region this year',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
value: '+45%',
|
|
69
|
+
description: 'Increase in commercial property development',
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
value: '15,000',
|
|
73
|
+
description: 'New jobs created across various industries',
|
|
74
|
+
},
|
|
75
|
+
]}
|
|
76
|
+
pillar={'business'}
|
|
77
|
+
/>
|
|
78
|
+
</ElementHolder>
|
|
79
|
+
</>
|
|
80
|
+
|
|
81
|
+
)
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
const KPIBlockParticipateTemplate: Story = {
|
|
86
|
+
render: () => {
|
|
87
|
+
|
|
88
|
+
return (
|
|
89
|
+
<>
|
|
90
|
+
<KPIBlock
|
|
91
|
+
title={'Community Engagement'}
|
|
92
|
+
description={'Active participation from our community members continues to grow year over year.'}
|
|
93
|
+
stats={[
|
|
94
|
+
{
|
|
95
|
+
value: '3,500',
|
|
96
|
+
description: 'Active volunteers contributing to community projects',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
value: '+92%',
|
|
100
|
+
description: 'Growth in event participation since last year',
|
|
101
|
+
},
|
|
102
|
+
]}
|
|
103
|
+
pillar={'participate'}
|
|
104
|
+
/>
|
|
105
|
+
</>
|
|
106
|
+
)
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export const KPIBlockComponent = {
|
|
111
|
+
...KPIBlockTemplate
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
export const KPIBlockBusinessComponent = {
|
|
115
|
+
...KPIBlockBusinessTemplate
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
export const KPIBlockParticipateComponent = {
|
|
119
|
+
...KPIBlockParticipateTemplate
|
|
120
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import KPIBlockProps from "./KPIBlockProps.tsx";
|
|
2
|
+
import styles from './kpiBlock.module.scss';
|
|
3
|
+
import Container from "../../Shared/Container/Container.tsx";
|
|
4
|
+
import PillarIcon from "../../Shared/PillarIcon/PillarIcon.tsx";
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
const KPIBlock = (props: KPIBlockProps) => {
|
|
8
|
+
const {
|
|
9
|
+
title,
|
|
10
|
+
description,
|
|
11
|
+
stats = [],
|
|
12
|
+
pillar = 'visit'
|
|
13
|
+
} = props;
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<div className={`${styles.kpi} ${pillar ? pillar : ""}`}>
|
|
17
|
+
|
|
18
|
+
<Container>
|
|
19
|
+
<div className={styles.kpiWrapper}>
|
|
20
|
+
<div className={styles.header}>
|
|
21
|
+
{title && <h2>{title}</h2>}
|
|
22
|
+
{description && <p>{description}</p>}
|
|
23
|
+
</div>
|
|
24
|
+
<div className={styles.stats}>
|
|
25
|
+
{stats.map((stat, index) => (
|
|
26
|
+
<div key={index} className={styles.statItem}>
|
|
27
|
+
<div className={styles.value}>{stat.value}</div>
|
|
28
|
+
<div className={styles.description}>{stat.description}</div>
|
|
29
|
+
</div>
|
|
30
|
+
))}
|
|
31
|
+
</div>
|
|
32
|
+
<div className={styles.pillarIcon}>
|
|
33
|
+
<PillarIcon pillar={'business'}/>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</Container>
|
|
37
|
+
|
|
38
|
+
</div>
|
|
39
|
+
);
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export default KPIBlock;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface KPIItem {
|
|
2
|
+
value: string;
|
|
3
|
+
description: string;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
interface KPIBlockProps {
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
stats?: KPIItem[];
|
|
10
|
+
pillar?: 'visit' | 'live' | 'business' | 'participate' | 'taste' | 'main';
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export default KPIBlockProps;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
.kpi {
|
|
2
|
+
position: relative;
|
|
3
|
+
|
|
4
|
+
.kpiWrapper {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: inherit;
|
|
7
|
+
align-items: start;
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
.header {
|
|
11
|
+
flex: 0 0 40%;
|
|
12
|
+
margin-right: 90px;
|
|
13
|
+
|
|
14
|
+
h2 {
|
|
15
|
+
font-size: var(--font-size-h4);
|
|
16
|
+
font-weight: var(--font-weight-h5);
|
|
17
|
+
letter-spacing: -1.92px;
|
|
18
|
+
line-height: 1;
|
|
19
|
+
margin-bottom: 72px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
p {
|
|
23
|
+
font-size: var(--font-size-body-regular);
|
|
24
|
+
line-height: var(--line-height-body-regular);
|
|
25
|
+
font-weight: var(--font-weight-body-sm);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.stats {
|
|
30
|
+
width: 60%;
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
gap:48px;
|
|
34
|
+
|
|
35
|
+
.statItem {
|
|
36
|
+
display: flex;
|
|
37
|
+
padding-bottom: 48px;
|
|
38
|
+
border-bottom: 1px solid ;
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
&:last-child {
|
|
42
|
+
border-bottom: none;
|
|
43
|
+
padding-bottom: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.value {
|
|
47
|
+
flex: 0 0 200px;
|
|
48
|
+
font-size: var(--font-size-h3);
|
|
49
|
+
line-height: var(--line-height-h3);
|
|
50
|
+
font-weight: var(--font-weight-h5);
|
|
51
|
+
letter-spacing: -3.6px;
|
|
52
|
+
min-width: 230px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.description {
|
|
56
|
+
flex: 1;
|
|
57
|
+
font-size: var(--font-size-body-regular);
|
|
58
|
+
line-height: var(--line-height-body-regular);
|
|
59
|
+
font-weight: var(--font-weight-body-sm);
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
padding-left: 24px;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
.pillarIcon{
|
|
68
|
+
position: absolute;
|
|
69
|
+
top: 0;
|
|
70
|
+
right: 0;
|
|
71
|
+
bottom: 0;
|
|
72
|
+
|
|
73
|
+
svg{
|
|
74
|
+
height: 577px;
|
|
75
|
+
width: 639px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import Pathway from './Pathway';
|
|
3
|
+
import { FaArrowRight } from "react-icons/fa";
|
|
4
|
+
|
|
5
|
+
const meta : Meta<typeof Pathway> = {
|
|
6
|
+
title: "Form / Pathway",
|
|
7
|
+
component: Pathway,
|
|
8
|
+
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof Pathway>
|
|
13
|
+
|
|
14
|
+
export const grid: Story = {
|
|
15
|
+
args: {
|
|
16
|
+
title: "This is a card title that is quite long and probably wraps over a few lines",
|
|
17
|
+
link: '#',
|
|
18
|
+
filters: ["all", "adventure", "ski", "nature", "city"],
|
|
19
|
+
cards: [
|
|
20
|
+
{ title: "Ballooning Canterbury", link: "#", image: "./img/card-one.png", category: "adventure" },
|
|
21
|
+
{ title: "Ski Resort", link: "#", image: "./img/card-two.png", category: "ski" },
|
|
22
|
+
{ title: "Nature Walk", link: "#", image: "./img/card-three.png", category: "nature" },
|
|
23
|
+
{ title: "City Tour", link: "#", image: "./img/card-four.png" }
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
},
|
|
27
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import cx from "classnames";
|
|
2
|
+
import PathwayProps from './PathwayProps';
|
|
3
|
+
import styles from "./pathway.module.scss";
|
|
4
|
+
import cslx from "clsx";
|
|
5
|
+
import ElementHolder from "../../Shared/ElementHolder/ElementHolder";
|
|
6
|
+
import Container from "../../Shared/Container/Container";
|
|
7
|
+
import DetailsCard from "../DetailsCard/DetailsCard";
|
|
8
|
+
import { CaretDown } from "../../Icons";
|
|
9
|
+
import { useState } from "react";
|
|
10
|
+
|
|
11
|
+
const Pathway = (props:PathwayProps) => {
|
|
12
|
+
const {
|
|
13
|
+
title = '',
|
|
14
|
+
description = '',
|
|
15
|
+
variation = 'grid',
|
|
16
|
+
cards = [],
|
|
17
|
+
filters = ["all", "adventure", "ski", "nature"],
|
|
18
|
+
} = props
|
|
19
|
+
|
|
20
|
+
const [activeFilter, setActiveFilter] = useState("all");
|
|
21
|
+
|
|
22
|
+
const filterCards = (category: string | undefined) => {
|
|
23
|
+
if (!category) return activeFilter === "all";
|
|
24
|
+
if (activeFilter === "all") return true;
|
|
25
|
+
return category.toLowerCase() === activeFilter;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
const classes = [styles.pathway, "pathway", variation === "carousel" && styles.pathwayCarousel];
|
|
30
|
+
|
|
31
|
+
return (
|
|
32
|
+
<ElementHolder paddingTop="none" level="light">
|
|
33
|
+
<Container>
|
|
34
|
+
{variation === "carousel" ? (
|
|
35
|
+
<div className={cx(classes)}>{/* TODO */}</div>
|
|
36
|
+
) : (
|
|
37
|
+
<div className={cslx(classes)}>
|
|
38
|
+
<div className={styles.pathwayTitle}><h3>{title}</h3></div>
|
|
39
|
+
<div className={styles.pathwayDescription}><p>{description}</p></div>
|
|
40
|
+
|
|
41
|
+
<div className={`${styles.pathwayFilters} ${styles.pathwayFilterDesktop}`}>
|
|
42
|
+
<ul>
|
|
43
|
+
{filters.map((cat) => (
|
|
44
|
+
<li
|
|
45
|
+
key={cat}
|
|
46
|
+
className={activeFilter === cat ? styles.active : ""}
|
|
47
|
+
onClick={() => setActiveFilter(cat)}
|
|
48
|
+
>
|
|
49
|
+
<span>{cat === "all" ? "All Attractions" : cat.charAt(0).toUpperCase() + cat.slice(1)}</span>
|
|
50
|
+
</li>
|
|
51
|
+
))}
|
|
52
|
+
</ul>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
<div className={`${styles.pathwayFilters} ${styles.pathwayFilterMobile}`}>
|
|
56
|
+
<select onChange={(e) => setActiveFilter(e.target.value.toLowerCase())}>
|
|
57
|
+
{filters.map((cat) => (
|
|
58
|
+
<option key={cat} value={cat}>
|
|
59
|
+
{cat === "all" ? "All Attractions" : cat.charAt(0).toUpperCase() + cat.slice(1)}
|
|
60
|
+
</option>
|
|
61
|
+
))}
|
|
62
|
+
</select>
|
|
63
|
+
<CaretDown />
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
{/* Cards */}
|
|
67
|
+
<div className={styles.pathwayCards}>
|
|
68
|
+
<div className={styles.pathwayCardsWrap}>
|
|
69
|
+
{cards.filter((c) => filterCards(c.category)).map((card, idx) => (
|
|
70
|
+
<div key={idx} className={styles.pathwayCard}>
|
|
71
|
+
<DetailsCard {...card} />
|
|
72
|
+
</div>
|
|
73
|
+
))}
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
)}
|
|
78
|
+
</Container>
|
|
79
|
+
</ElementHolder>
|
|
80
|
+
);
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export default Pathway;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface Card {
|
|
2
|
+
title: string;
|
|
3
|
+
link: string;
|
|
4
|
+
image: string;
|
|
5
|
+
category?: 'adventure' | 'ski' | 'nature';
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
interface PathwayProps {
|
|
9
|
+
title?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
variation?: 'grid' | 'carousel';
|
|
12
|
+
link?: string;
|
|
13
|
+
cards?: Card[];
|
|
14
|
+
filters?: string[];
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export default PathwayProps;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
.pathwayTitle {
|
|
2
|
+
margin-bottom: 36px;
|
|
3
|
+
h3 {
|
|
4
|
+
font-size: var(--font-size-h3);
|
|
5
|
+
line-height: var(--line-height-h3);
|
|
6
|
+
font-weight: var(--font-weight-bold);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.pathwayDescription {
|
|
11
|
+
margin-bottom: 36px;
|
|
12
|
+
p {
|
|
13
|
+
font-size: var(--font-size-h5);
|
|
14
|
+
line-height: 1.2;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.pathwayFilters {
|
|
19
|
+
margin-bottom: 48px;
|
|
20
|
+
ul {
|
|
21
|
+
list-style: none;
|
|
22
|
+
display: flex;
|
|
23
|
+
margin: 0 -8px;
|
|
24
|
+
|
|
25
|
+
li {
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
padding: 0 8px;
|
|
28
|
+
|
|
29
|
+
&.active {
|
|
30
|
+
span {
|
|
31
|
+
color: var(--pathway-card-hover-text);
|
|
32
|
+
background-color: var(--pathway-card-hover-bg);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
span {
|
|
37
|
+
padding: 20px 32px;
|
|
38
|
+
border: 1px solid var(--pathway-card-border);
|
|
39
|
+
border-radius: 48px;
|
|
40
|
+
max-height: 51px;
|
|
41
|
+
display: inline-flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
font-weight: var(--font-weight-bold);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.pathwayCard {
|
|
51
|
+
margin-bottom: 32px;
|
|
52
|
+
|
|
53
|
+
&:last-child {
|
|
54
|
+
margin-bottom: 0;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.pathwayFilterDesktop {
|
|
59
|
+
display: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.pathwayFilterMobile {
|
|
63
|
+
position: relative;
|
|
64
|
+
select {
|
|
65
|
+
width: 100%;
|
|
66
|
+
min-height: 51px;
|
|
67
|
+
padding: 16px;
|
|
68
|
+
appearance: none;
|
|
69
|
+
-webkit-appearance: none;
|
|
70
|
+
-moz-appearance: none;
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
border: 1px solid var(--pathway-card-border);
|
|
73
|
+
color: var(--pathway-card-text);
|
|
74
|
+
font-size: var(--font-size-label);
|
|
75
|
+
|
|
76
|
+
&:focus {
|
|
77
|
+
outline: 0;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
svg {
|
|
82
|
+
position: absolute;
|
|
83
|
+
top: 50%;
|
|
84
|
+
right: 0;
|
|
85
|
+
transform: translate(-50%, -50%);
|
|
86
|
+
width: 24px;
|
|
87
|
+
height: 24px;
|
|
88
|
+
pointer-events: none;
|
|
89
|
+
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@media (min-width: 760px) {
|
|
94
|
+
.pathwayTitle {
|
|
95
|
+
margin-bottom: 72px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.pathwayDescription {
|
|
99
|
+
margin-bottom: 72px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.pathwayFilters {
|
|
103
|
+
margin-bottom: 96px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.pathwayCardsWrap {
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-wrap: wrap;
|
|
109
|
+
margin: 0 -16px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.pathwayCard {
|
|
113
|
+
width: 33.33%;
|
|
114
|
+
padding: 0 16px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.pathwayFilterDesktop {
|
|
118
|
+
display: block;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.pathwayFilterMobile {
|
|
122
|
+
display: none;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import React from "react"
|
|
3
|
+
import { Meta, StoryObj } from "@storybook/react-vite";
|
|
4
|
+
import PathwayBlock from "./PathwayBlock";
|
|
5
|
+
import ElementHolder from "../../Shared/ElementHolder/ElementHolder";
|
|
6
|
+
|
|
7
|
+
const meta: Meta = {
|
|
8
|
+
title: "Layout / PathwayBlock",
|
|
9
|
+
component: PathwayBlock,
|
|
10
|
+
parameters: {
|
|
11
|
+
layout: 'fullscreen',
|
|
12
|
+
},
|
|
13
|
+
tags: ["autodocs"]
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export default meta;
|
|
17
|
+
|
|
18
|
+
type Story = StoryObj<typeof meta>;
|
|
19
|
+
|
|
20
|
+
const PathwayBlockTemplate: Story = {
|
|
21
|
+
render: () => {
|
|
22
|
+
return (
|
|
23
|
+
<>
|
|
24
|
+
<ElementHolder paddingTop="sm" paddingBottom="sm" piller="participate" level="light">
|
|
25
|
+
<PathwayBlock
|
|
26
|
+
title="Lorem ipsum"
|
|
27
|
+
pillar="visit"
|
|
28
|
+
cards={[
|
|
29
|
+
{
|
|
30
|
+
date: "2024-01-15",
|
|
31
|
+
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
|
|
32
|
+
image: "https://images.pexels.com/photos/1854897/pexels-photo-1854897.jpeg"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
date: "2024-01-16",
|
|
36
|
+
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
|
|
37
|
+
image: "https://images.pexels.com/photos/1595655/pexels-photo-1595655.jpeg"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
date: "2024-01-17",
|
|
41
|
+
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
|
|
42
|
+
image: "https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg"
|
|
43
|
+
}
|
|
44
|
+
]}
|
|
45
|
+
/>
|
|
46
|
+
</ElementHolder>
|
|
47
|
+
</>
|
|
48
|
+
)
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
export const PathwayBlockComponent = {
|
|
54
|
+
...PathwayBlockTemplate
|
|
55
|
+
};
|
|
56
|
+
|