@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
package/README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# React + TypeScript + Vite
|
|
2
|
+
|
|
3
|
+
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
4
|
+
|
|
5
|
+
Currently, two official plugins are available:
|
|
6
|
+
|
|
7
|
+
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
|
|
8
|
+
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
9
|
+
|
|
10
|
+
## React Compiler
|
|
11
|
+
|
|
12
|
+
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).
|
|
13
|
+
|
|
14
|
+
## Expanding the ESLint configuration
|
|
15
|
+
|
|
16
|
+
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
|
|
17
|
+
|
|
18
|
+
```js
|
|
19
|
+
export default defineConfig([
|
|
20
|
+
globalIgnores(['dist']),
|
|
21
|
+
{
|
|
22
|
+
files: ['**/*.{ts,tsx}'],
|
|
23
|
+
extends: [
|
|
24
|
+
// Other configs...
|
|
25
|
+
|
|
26
|
+
// Remove tseslint.configs.recommended and replace with this
|
|
27
|
+
tseslint.configs.recommendedTypeChecked,
|
|
28
|
+
// Alternatively, use this for stricter rules
|
|
29
|
+
tseslint.configs.strictTypeChecked,
|
|
30
|
+
// Optionally, add this for stylistic rules
|
|
31
|
+
tseslint.configs.stylisticTypeChecked,
|
|
32
|
+
|
|
33
|
+
// Other configs...
|
|
34
|
+
],
|
|
35
|
+
languageOptions: {
|
|
36
|
+
parserOptions: {
|
|
37
|
+
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
38
|
+
tsconfigRootDir: import.meta.dirname,
|
|
39
|
+
},
|
|
40
|
+
// other options...
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
])
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
|
|
47
|
+
|
|
48
|
+
```js
|
|
49
|
+
// eslint.config.js
|
|
50
|
+
import reactX from 'eslint-plugin-react-x'
|
|
51
|
+
import reactDom from 'eslint-plugin-react-dom'
|
|
52
|
+
|
|
53
|
+
export default defineConfig([
|
|
54
|
+
globalIgnores(['dist']),
|
|
55
|
+
{
|
|
56
|
+
files: ['**/*.{ts,tsx}'],
|
|
57
|
+
extends: [
|
|
58
|
+
// Other configs...
|
|
59
|
+
// Enable lint rules for React
|
|
60
|
+
reactX.configs['recommended-typescript'],
|
|
61
|
+
// Enable lint rules for React DOM
|
|
62
|
+
reactDom.configs.recommended,
|
|
63
|
+
],
|
|
64
|
+
languageOptions: {
|
|
65
|
+
parserOptions: {
|
|
66
|
+
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
67
|
+
tsconfigRootDir: import.meta.dirname,
|
|
68
|
+
},
|
|
69
|
+
// other options...
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
])
|
|
73
|
+
```
|
package/dist/App.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type PillarType = "main" | "live" | "visit" | "taste" | "business" | "participate";
|
|
3
|
+
export type RenditionType = "full" | "contained" | "masked";
|
|
4
|
+
export interface ImageSet {
|
|
5
|
+
single?: string;
|
|
6
|
+
setOfFour?: [string, string, string, string];
|
|
7
|
+
}
|
|
8
|
+
export interface Item {
|
|
9
|
+
id?: number;
|
|
10
|
+
label?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface ImageContentProps {
|
|
13
|
+
level?: "primary" | "secondary" | "light";
|
|
14
|
+
pillar?: PillarType;
|
|
15
|
+
displayFullLogo?: boolean;
|
|
16
|
+
displayIconWithTitle?: boolean;
|
|
17
|
+
pillarTitle?: string;
|
|
18
|
+
title?: string;
|
|
19
|
+
content?: ReactNode;
|
|
20
|
+
action?: ReactNode;
|
|
21
|
+
images?: ImageSet;
|
|
22
|
+
alignment?: 'left' | 'right';
|
|
23
|
+
imageBorder?: 'top' | 'bottom';
|
|
24
|
+
rendition?: RenditionType;
|
|
25
|
+
list?: Item[];
|
|
26
|
+
}
|
|
27
|
+
export default ImageContentProps;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface KPIItem {
|
|
2
|
+
value: string;
|
|
3
|
+
description: string;
|
|
4
|
+
}
|
|
5
|
+
interface KPIBlockProps {
|
|
6
|
+
title?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
stats?: KPIItem[];
|
|
9
|
+
pillar?: 'visit' | 'live' | 'business' | 'participate' | 'taste' | 'main';
|
|
10
|
+
}
|
|
11
|
+
export default KPIBlockProps;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface Card {
|
|
2
|
+
title: string;
|
|
3
|
+
link: string;
|
|
4
|
+
image: string;
|
|
5
|
+
category?: 'adventure' | 'ski' | 'nature';
|
|
6
|
+
}
|
|
7
|
+
interface PathwayProps {
|
|
8
|
+
title?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
variation?: 'grid' | 'carousel';
|
|
11
|
+
link?: string;
|
|
12
|
+
cards?: Card[];
|
|
13
|
+
filters?: string[];
|
|
14
|
+
}
|
|
15
|
+
export default PathwayProps;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface PromoBannerBlockProps {
|
|
3
|
+
IntroTitle?: string;
|
|
4
|
+
IntroText?: string;
|
|
5
|
+
BrandPiller?: string;
|
|
6
|
+
PillerTitle?: 'Visit' | 'Live' | 'Business' | 'Participate' | 'Taste' | 'Main';
|
|
7
|
+
Title?: string;
|
|
8
|
+
BoldTitle?: string;
|
|
9
|
+
Content?: string;
|
|
10
|
+
Image?: string;
|
|
11
|
+
Button?: ReactNode;
|
|
12
|
+
extraClass?: string;
|
|
13
|
+
}
|
|
14
|
+
export default PromoBannerBlockProps;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as DetailsCard } from './DetailsCard/DetailsCard';
|
|
2
|
+
export type { default as DetailsCardProps } from './DetailsCard/DetailsCardProps';
|
|
3
|
+
export { default as IntroBlock } from './IntroBlock/IntroBlock';
|
|
4
|
+
export type { default as IntroBlockProps } from './IntroBlock/IntroBlockProps';
|
|
5
|
+
export { default as KPIBlock } from './KPIBlock/KPIBlock';
|
|
6
|
+
export type { default as KPIBlockProps } from './KPIBlock/KPIBlockProps';
|
|
7
|
+
export { default as Pathway } from './Pathway/Pathway';
|
|
8
|
+
export type { default as PathwayProps } from './Pathway/PathwayProps';
|
|
9
|
+
export { default as PromoBannerBlock } from './PromoBannerBlock/PromoBannerBlock';
|
|
10
|
+
export type { default as PromoBannerBlockProps } from './PromoBannerBlock/PromoBannerBlockProps';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface ButtonProps {
|
|
3
|
+
type?: "button";
|
|
4
|
+
size?: "default" | "large" | "small";
|
|
5
|
+
style?: "solid" | "hollow";
|
|
6
|
+
label: string;
|
|
7
|
+
piller?: 'visit' | 'live' | 'business' | 'participate' | 'taste' | 'main';
|
|
8
|
+
level?: "primary" | "secondary" | "light";
|
|
9
|
+
icon?: ReactNode;
|
|
10
|
+
onClick?: () => void;
|
|
11
|
+
onHover?: () => void;
|
|
12
|
+
onFocus?: () => void;
|
|
13
|
+
}
|
|
14
|
+
export default ButtonProps;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as AddressBook } from './AddressBook.tsx';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ type }: import('../../IconProps.tsx').default) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
type: {
|
|
11
|
+
options: string[];
|
|
12
|
+
control: {
|
|
13
|
+
type: "select";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
tags: string[];
|
|
18
|
+
};
|
|
19
|
+
export default meta;
|
|
20
|
+
type Story = StoryObj<typeof AddressBook>;
|
|
21
|
+
export declare const Icon: Story;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as AsteriskSimple } from './AsteriskSimple.tsx';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ type }: import('../../IconProps.tsx').default) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
type: {
|
|
11
|
+
options: string[];
|
|
12
|
+
control: {
|
|
13
|
+
type: "select";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
tags: string[];
|
|
18
|
+
};
|
|
19
|
+
export default meta;
|
|
20
|
+
type Story = StoryObj<typeof AsteriskSimple>;
|
|
21
|
+
export declare const Icon: Story;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as Asterisk } from './Asterisk.tsx';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ type }: import('../../IconProps.tsx').default) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
type: {
|
|
11
|
+
options: string[];
|
|
12
|
+
control: {
|
|
13
|
+
type: "select";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
tags: string[];
|
|
18
|
+
};
|
|
19
|
+
export default meta;
|
|
20
|
+
type Story = StoryObj<typeof Asterisk>;
|
|
21
|
+
export declare const Icon: Story;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as At } from './At.tsx';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ type }: import('../../IconProps.tsx').default) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
type: {
|
|
11
|
+
options: string[];
|
|
12
|
+
control: {
|
|
13
|
+
type: "select";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
tags: string[];
|
|
18
|
+
};
|
|
19
|
+
export default meta;
|
|
20
|
+
type Story = StoryObj<typeof At>;
|
|
21
|
+
export declare const Icon: Story;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as Broadcast } from './Broadcast.tsx';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ type }: import('../../IconProps.tsx').default) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
type: {
|
|
11
|
+
options: string[];
|
|
12
|
+
control: {
|
|
13
|
+
type: "select";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
tags: string[];
|
|
18
|
+
};
|
|
19
|
+
export default meta;
|
|
20
|
+
type Story = StoryObj<typeof Broadcast>;
|
|
21
|
+
export declare const Icon: Story;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as Chat } from './Chat.tsx';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ type }: import('../../IconProps.tsx').default) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
type: {
|
|
11
|
+
options: string[];
|
|
12
|
+
control: {
|
|
13
|
+
type: "select";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
tags: string[];
|
|
18
|
+
};
|
|
19
|
+
export default meta;
|
|
20
|
+
type Story = StoryObj<typeof Chat>;
|
|
21
|
+
export declare const Icon: Story;
|