@hellobetterdigitalnz/selwynui 0.0.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.
Files changed (277) hide show
  1. package/.storybook/main.ts +19 -0
  2. package/.storybook/preview.tsx +55 -0
  3. package/.storybook/vitest.setup.ts +7 -0
  4. package/README.md +73 -0
  5. package/eslint.config.js +29 -0
  6. package/index.html +13 -0
  7. package/package.json +63 -0
  8. package/public/img/card-one.png +0 -0
  9. package/public/img/card-three.png +0 -0
  10. package/public/img/card-two.png +0 -0
  11. package/public/img/footer-bg-design.svg +14 -0
  12. package/public/img/footer-logo.svg +9 -0
  13. package/public/img/promo-banner-image.svg +9 -0
  14. package/public/img/visit-brand-piller.svg +6 -0
  15. package/public/img/waikirikiri-full-logo.svg +23 -0
  16. package/public/vite.svg +1 -0
  17. package/src/App.tsx +8 -0
  18. package/src/Components/DataDisplay/DetailsCard/DetailsCard.stories.tsx +39 -0
  19. package/src/Components/DataDisplay/DetailsCard/DetailsCard.tsx +87 -0
  20. package/src/Components/DataDisplay/DetailsCard/DetailsCardProps.tsx +12 -0
  21. package/src/Components/DataDisplay/DetailsCard/detailsCard.module.scss +123 -0
  22. package/src/Components/DataDisplay/ImageContent/ImageContent.stories.tsx +150 -0
  23. package/src/Components/DataDisplay/ImageContent/ImageContent.tsx +118 -0
  24. package/src/Components/DataDisplay/ImageContent/ImageContentMaskingImages.tsx +334 -0
  25. package/src/Components/DataDisplay/ImageContent/ImageContentProps.tsx +42 -0
  26. package/src/Components/DataDisplay/ImageContent/imageContent.module.scss +278 -0
  27. package/src/Components/DataDisplay/IntroBlock/IntroBlock.stories.tsx +37 -0
  28. package/src/Components/DataDisplay/IntroBlock/IntroBlock.tsx +37 -0
  29. package/src/Components/DataDisplay/IntroBlock/IntroBlockProps.tsx +10 -0
  30. package/src/Components/DataDisplay/IntroBlock/introBlock.module.scss +33 -0
  31. package/src/Components/DataDisplay/KPIBlock/KPIBlock.stories.tsx +114 -0
  32. package/src/Components/DataDisplay/KPIBlock/KPIBlock.tsx +35 -0
  33. package/src/Components/DataDisplay/KPIBlock/KPIBlockProps.tsx +13 -0
  34. package/src/Components/DataDisplay/KPIBlock/kpiBlock.module.scss +73 -0
  35. package/src/Components/DataDisplay/Pathway/Pathway.stories.tsx +27 -0
  36. package/src/Components/DataDisplay/Pathway/Pathway.tsx +83 -0
  37. package/src/Components/DataDisplay/Pathway/PathwayProps.tsx +17 -0
  38. package/src/Components/DataDisplay/Pathway/pathway.module.scss +124 -0
  39. package/src/Components/DataDisplay/PromoBannerBlock/PromoBanner.stories.tsx +45 -0
  40. package/src/Components/DataDisplay/PromoBannerBlock/PromoBannerBlock.tsx +74 -0
  41. package/src/Components/DataDisplay/PromoBannerBlock/PromoBannerBlockProps.tsx +16 -0
  42. package/src/Components/DataDisplay/PromoBannerBlock/promo-banner-bg-design.tsx +14 -0
  43. package/src/Components/DataDisplay/PromoBannerBlock/promoBanner.module.scss +172 -0
  44. package/src/Components/DataDisplay/index.ts +19 -0
  45. package/src/Components/Form/Button/Button.stories.tsx +42 -0
  46. package/src/Components/Form/Button/Button.tsx +69 -0
  47. package/src/Components/Form/Button/ButtonProps.tsx +16 -0
  48. package/src/Components/Form/Button/button.module.scss +132 -0
  49. package/src/Components/Form/index.ts +2 -0
  50. package/src/Components/Icons/Arrows/ArrowLeft/ArrowLeft.tsx +49 -0
  51. package/src/Components/Icons/Arrows/ArrowRight/ArrowRight.tsx +47 -0
  52. package/src/Components/Icons/Arrows/ArrowSquareOut/ArrowSquareOut.tsx +48 -0
  53. package/src/Components/Icons/Arrows/ArrowsDownUp/ArrowsDownUp.tsx +49 -0
  54. package/src/Components/Icons/Arrows/ArrowsOutCardinal/ArrowsOutCardinal.tsx +50 -0
  55. package/src/Components/Icons/Arrows/CaretCircleRight/CaretCircleRight.tsx +37 -0
  56. package/src/Components/Icons/Arrows/CaretDown/CaretDown.tsx +49 -0
  57. package/src/Components/Icons/Arrows/CaretLeft/CaretLeft.tsx +102 -0
  58. package/src/Components/Icons/Arrows/CaretRight/CaretRight.tsx +102 -0
  59. package/src/Components/Icons/Arrows/CaretUp/CaretUp.tsx +49 -0
  60. package/src/Components/Icons/Arrows/CaretUpDown/CaretUpDown.tsx +49 -0
  61. package/src/Components/Icons/Brands/FacebookLogo/FacebookLogo.tsx +35 -0
  62. package/src/Components/Icons/Brands/InstagramLogo/InstagramLogo.tsx +35 -0
  63. package/src/Components/Icons/Brands/LinkedinLogo/LinkedinLogo.tsx +35 -0
  64. package/src/Components/Icons/Brands/WindowsLogo/WindowsLogo.tsx +105 -0
  65. package/src/Components/Icons/Commerce/Backpack/Backpack.tsx +54 -0
  66. package/src/Components/Icons/Commerce/BowlSteam/BowlSteam.tsx +34 -0
  67. package/src/Components/Icons/Commerce/Bread/Bread.tsx +34 -0
  68. package/src/Components/Icons/Commerce/Cheers/Cheers.tsx +34 -0
  69. package/src/Components/Icons/Commerce/ChefHat/ChefHat.tsx +34 -0
  70. package/src/Components/Icons/Commerce/Coffee/Coffee.tsx +54 -0
  71. package/src/Components/Icons/Commerce/CreditCard/CreditCard.tsx +54 -0
  72. package/src/Components/Icons/Commerce/CurrencyDollarSimple/CurrencyDollarSimple.tsx +105 -0
  73. package/src/Components/Icons/Commerce/Grains/Grains.tsx +54 -0
  74. package/src/Components/Icons/Commerce/Scale/Scale.tsx +61 -0
  75. package/src/Components/Icons/Commerce/StoreFront/StoreFront.tsx +54 -0
  76. package/src/Components/Icons/Communication/AddressBook/AddressBook.stories.ts +28 -0
  77. package/src/Components/Icons/Communication/AddressBook/AddressBook.tsx +50 -0
  78. package/src/Components/Icons/Communication/AsterickSimple/AsteriskSimple.stories.ts +28 -0
  79. package/src/Components/Icons/Communication/AsterickSimple/AsteriskSimple.tsx +49 -0
  80. package/src/Components/Icons/Communication/Asterisk/Asterisk.stories.ts +28 -0
  81. package/src/Components/Icons/Communication/Asterisk/Asterisk.tsx +50 -0
  82. package/src/Components/Icons/Communication/At/At.stories.ts +28 -0
  83. package/src/Components/Icons/Communication/At/At.tsx +49 -0
  84. package/src/Components/Icons/Communication/Broadcast/Broadcast.stories.ts +27 -0
  85. package/src/Components/Icons/Communication/Broadcast/Broadcast.tsx +49 -0
  86. package/src/Components/Icons/Communication/Chat/Chat.stories.ts +28 -0
  87. package/src/Components/Icons/Communication/Chat/Chat.tsx +49 -0
  88. package/src/Components/Icons/Communication/ChatCircleText/ChatCircleText.tsx +87 -0
  89. package/src/Components/Icons/Communication/EnvelopeSimple/EnvelopeSimple.tsx +52 -0
  90. package/src/Components/Icons/Communication/Export/Export.tsx +52 -0
  91. package/src/Components/Icons/Communication/Phone/Phone.tsx +54 -0
  92. package/src/Components/Icons/Communication/ThumbsUp/ThumbsUp.tsx +47 -0
  93. package/src/Components/Icons/Communication/Translate/Translate.tsx +51 -0
  94. package/src/Components/Icons/Design/DropHalfBottom/DropHalfBottom.tsx +37 -0
  95. package/src/Components/Icons/Design/Eye/Eye.tsx +105 -0
  96. package/src/Components/Icons/Design/EyeSlash/EyeSlash.tsx +105 -0
  97. package/src/Components/Icons/Design/GearFine/GearFine.tsx +105 -0
  98. package/src/Components/Icons/Design/PencilLine/PencilLine.tsx +63 -0
  99. package/src/Components/Icons/Design/PencilSimple/PencilSimple.tsx +63 -0
  100. package/src/Components/Icons/Design/Ruler/Ruler.tsx +63 -0
  101. package/src/Components/Icons/Design/SquaresFour/SquaresFour.tsx +54 -0
  102. package/src/Components/Icons/Education/BookOpenText/BookOpenText.tsx +63 -0
  103. package/src/Components/Icons/Education/BookmarkSimple/BookmarkSimple.tsx +44 -0
  104. package/src/Components/Icons/Education/Certificate/Certificate.tsx +56 -0
  105. package/src/Components/Icons/Education/GraduationCap/GraduationCap.tsx +105 -0
  106. package/src/Components/Icons/Games/Cricket/Cricket.tsx +23 -0
  107. package/src/Components/Icons/Games/Football/Football.tsx +47 -0
  108. package/src/Components/Icons/Games/Golf/Golf.tsx +34 -0
  109. package/src/Components/Icons/HealthAndWellness/Barbell/Barbell.tsx +36 -0
  110. package/src/Components/Icons/IconProps.tsx +5 -0
  111. package/src/Components/Icons/MapAndTravel/Barn/Barn.tsx +34 -0
  112. package/src/Components/Icons/MapAndTravel/Bicycle/Bicycle.tsx +54 -0
  113. package/src/Components/Icons/MapAndTravel/Bus/Bus.tsx +54 -0
  114. package/src/Components/Icons/MapAndTravel/Car/Car.tsx +54 -0
  115. package/src/Components/Icons/MapAndTravel/ChargingStation/ChargingStation.tsx +54 -0
  116. package/src/Components/Icons/MapAndTravel/Farm/Farm.tsx +34 -0
  117. package/src/Components/Icons/MapAndTravel/Globe/Globe.tsx +61 -0
  118. package/src/Components/Icons/MapAndTravel/Goggles/Goggles.tsx +47 -0
  119. package/src/Components/Icons/MapAndTravel/House/House.tsx +61 -0
  120. package/src/Components/Icons/MapAndTravel/HouseSimple/HouseSimple.tsx +61 -0
  121. package/src/Components/Icons/MapAndTravel/MapPin/MapPin.tsx +53 -0
  122. package/src/Components/Icons/MapAndTravel/MapTriFold/MapTriFold.tsx +59 -0
  123. package/src/Components/Icons/MapAndTravel/Path/Path.tsx +35 -0
  124. package/src/Components/Icons/MapAndTravel/RoadHorizon/RoadHorizon.tsx +35 -0
  125. package/src/Components/Icons/MapAndTravel/SteeringWheel/SteeringWheel.tsx +61 -0
  126. package/src/Components/Icons/MapAndTravel/SwimmingPool/SwimmingPool.tsx +36 -0
  127. package/src/Components/Icons/MapAndTravel/Tram/Tram.tsx +35 -0
  128. package/src/Components/Icons/MapAndTravel/Van/Van.tsx +60 -0
  129. package/src/Components/Icons/MathsAndFinance/Calculator/Calculator.tsx +59 -0
  130. package/src/Components/Icons/MathsAndFinance/ChartBar/ChartBar.tsx +59 -0
  131. package/src/Components/Icons/MathsAndFinance/ChartBarHorizontal/ChartBarHorizontal.tsx +52 -0
  132. package/src/Components/Icons/MathsAndFinance/ChartLine/ChartLine.tsx +53 -0
  133. package/src/Components/Icons/MathsAndFinance/ChartLineUp/ChartLineUp.tsx +47 -0
  134. package/src/Components/Icons/MathsAndFinance/ChartPie/ChartPie.tsx +54 -0
  135. package/src/Components/Icons/MathsAndFinance/Minus/Minus.tsx +49 -0
  136. package/src/Components/Icons/MathsAndFinance/MinusCircle/MinusCircle.tsx +44 -0
  137. package/src/Components/Icons/MathsAndFinance/NumberSquareThree/NumberSquareThree.tsx +63 -0
  138. package/src/Components/Icons/MathsAndFinance/Plus/Plus.tsx +63 -0
  139. package/src/Components/Icons/MathsAndFinance/PlusCircle/PlusCircle.tsx +51 -0
  140. package/src/Components/Icons/MathsAndFinance/XIcon/XIcon.tsx +107 -0
  141. package/src/Components/Icons/Media/Camera/Camera.tsx +49 -0
  142. package/src/Components/Icons/Media/DiscoBall/DiscoBall.tsx +22 -0
  143. package/src/Components/Icons/Media/FilmStrip/FilmStrip.tsx +45 -0
  144. package/src/Components/Icons/Media/Microphone/Microphone.tsx +94 -0
  145. package/src/Components/Icons/Media/MusicNotes/MusicNotes.tsx +42 -0
  146. package/src/Components/Icons/Media/PlayCircle/PlayCircle.tsx +49 -0
  147. package/src/Components/Icons/Media/SlidersHorizontal/SlidersHorizontal.tsx +49 -0
  148. package/src/Components/Icons/Media/StopCircle/StopCircle.tsx +50 -0
  149. package/src/Components/Icons/Media/VideoCamera/VideoCamera.tsx +105 -0
  150. package/src/Components/Icons/OfficeAndEditing/BuildinfOffice/BuildingOffice.tsx +22 -0
  151. package/src/Components/Icons/OfficeAndEditing/Copy/Copy.tsx +47 -0
  152. package/src/Components/Icons/OfficeAndEditing/FileText/FileText.tsx +35 -0
  153. package/src/Components/Icons/OfficeAndEditing/Files/Files.tsx +49 -0
  154. package/src/Components/Icons/OfficeAndEditing/FloppyDisk/FloppyDisk.tsx +49 -0
  155. package/src/Components/Icons/OfficeAndEditing/Folder/Folder.tsx +61 -0
  156. package/src/Components/Icons/OfficeAndEditing/FolderSimplePlus/FolderSimplePlus.tsx +35 -0
  157. package/src/Components/Icons/OfficeAndEditing/Folders/Folders.tsx +47 -0
  158. package/src/Components/Icons/OfficeAndEditing/List/List.tsx +46 -0
  159. package/src/Components/Icons/OfficeAndEditing/ListBullets/ListBullets.tsx +59 -0
  160. package/src/Components/Icons/OfficeAndEditing/ListDashes/ListDashes.tsx +59 -0
  161. package/src/Components/Icons/OfficeAndEditing/Printer/Printer.tsx +48 -0
  162. package/src/Components/Icons/OfficeAndEditing/TextAa/TextAa.tsx +63 -0
  163. package/src/Components/Icons/OfficeAndEditing/TextColumns/TextColumns.tsx +61 -0
  164. package/src/Components/Icons/OfficeAndEditing/Trash/Trash.tsx +49 -0
  165. package/src/Components/Icons/OfficeAndEditing/TrashSimple/TrashSimple.tsx +49 -0
  166. package/src/Components/Icons/People/Person/Person.tsx +35 -0
  167. package/src/Components/Icons/People/PersonArmsSpread/PersonArmsSpread.tsx +35 -0
  168. package/src/Components/Icons/People/PersonSimpleBike/PersonSimpleBike.tsx +35 -0
  169. package/src/Components/Icons/People/PersonSimpleSki/PersonSimpleSki.tsx +34 -0
  170. package/src/Components/Icons/People/PersonSimpleWalk/PersonSimpleWalk.tsx +35 -0
  171. package/src/Components/Icons/People/User/User.tsx +61 -0
  172. package/src/Components/Icons/People/UserCircle/UserCircle.tsx +61 -0
  173. package/src/Components/Icons/People/UserSwitch/UserSwitch.tsx +61 -0
  174. package/src/Components/Icons/People/Users/Users.tsx +107 -0
  175. package/src/Components/Icons/SecurityAndWarnings/Info/Info.tsx +54 -0
  176. package/src/Components/Icons/SecurityAndWarnings/Key/Key.tsx +54 -0
  177. package/src/Components/Icons/SecurityAndWarnings/LockKeyOpen/LockKeyOpen.tsx +54 -0
  178. package/src/Components/Icons/SecurityAndWarnings/LockSimple/LockSimple.tsx +61 -0
  179. package/src/Components/Icons/SecurityAndWarnings/Question/Question.tsx +53 -0
  180. package/src/Components/Icons/SecurityAndWarnings/ShieldCheck/ShieldCheck.tsx +89 -0
  181. package/src/Components/Icons/SecurityAndWarnings/WarningCircle/WarningCircle.tsx +105 -0
  182. package/src/Components/Icons/SystemAndDevice/Bell/Bell.tsx +49 -0
  183. package/src/Components/Icons/SystemAndDevice/Check/Check.tsx +49 -0
  184. package/src/Components/Icons/SystemAndDevice/CheckSquare/CheckSquare.tsx +63 -0
  185. package/src/Components/Icons/SystemAndDevice/CloudCheck/CloudCheck.tsx +74 -0
  186. package/src/Components/Icons/SystemAndDevice/Desktop/Desktop.tsx +107 -0
  187. package/src/Components/Icons/SystemAndDevice/DeviceMobile/DeviceMobile.tsx +78 -0
  188. package/src/Components/Icons/SystemAndDevice/DotSixVertical/DotSixVertical.tsx +49 -0
  189. package/src/Components/Icons/SystemAndDevice/DotsSix/DotsSix.tsx +107 -0
  190. package/src/Components/Icons/SystemAndDevice/DotsThree/DotsThree.tsx +63 -0
  191. package/src/Components/Icons/SystemAndDevice/DotsThreeVertical/DotsThreeVertical.tsx +63 -0
  192. package/src/Components/Icons/SystemAndDevice/DownloadSimple/DownloadSimple.tsx +52 -0
  193. package/src/Components/Icons/SystemAndDevice/Gear/Gear.tsx +61 -0
  194. package/src/Components/Icons/SystemAndDevice/Link/Link.tsx +54 -0
  195. package/src/Components/Icons/SystemAndDevice/MagnifyingGlass/MagnifyingGlass.tsx +105 -0
  196. package/src/Components/Icons/SystemAndDevice/RadioButtonIcon/RadioButtonIcon.tsx +63 -0
  197. package/src/Components/Icons/SystemAndDevice/SignIn/SignIn.tsx +51 -0
  198. package/src/Components/Icons/SystemAndDevice/SignOut/SignOut.tsx +49 -0
  199. package/src/Components/Icons/SystemAndDevice/ToggleLeft/ToggleLeft.tsx +51 -0
  200. package/src/Components/Icons/SystemAndDevice/ToggleRight/ToggleRight.tsx +51 -0
  201. package/src/Components/Icons/Time/Calendar/Calendar.tsx +61 -0
  202. package/src/Components/Icons/Time/CalendarBank/CalendarBank.tsx +105 -0
  203. package/src/Components/Icons/Time/CalendarCheck/CalendarCheck.tsx +61 -0
  204. package/src/Components/Icons/Time/CalendarDots/CalendarDots.tsx +28 -0
  205. package/src/Components/Icons/Time/Clock/Clock.tsx +105 -0
  206. package/src/Components/Icons/Time/ClockCounterClockwise/ClockCounterClockwise.tsx +74 -0
  207. package/src/Components/Icons/WeatherAndNature/Bird/Bird.tsx +54 -0
  208. package/src/Components/Icons/WeatherAndNature/Campfire/Campfire.tsx +35 -0
  209. package/src/Components/Icons/WeatherAndNature/CloudSun/CloudSun.tsx +49 -0
  210. package/src/Components/Icons/WeatherAndNature/Cow/Cow.tsx +34 -0
  211. package/src/Components/Icons/WeatherAndNature/Dog/Dog.tsx +54 -0
  212. package/src/Components/Icons/WeatherAndNature/FishSimple/FishSimple.tsx +54 -0
  213. package/src/Components/Icons/WeatherAndNature/Flower/Flower.tsx +47 -0
  214. package/src/Components/Icons/WeatherAndNature/Moon/Moon.tsx +35 -0
  215. package/src/Components/Icons/WeatherAndNature/Mountains/Mountains.tsx +49 -0
  216. package/src/Components/Icons/WeatherAndNature/Plant/Plant.tsx +105 -0
  217. package/src/Components/Icons/WeatherAndNature/Snowflake/Snowflake.tsx +46 -0
  218. package/src/Components/Icons/WeatherAndNature/Sparkle/Sparkle.tsx +35 -0
  219. package/src/Components/Icons/WeatherAndNature/Sun/Sun.tsx +47 -0
  220. package/src/Components/Icons/WeatherAndNature/Tree/Tree.tsx +84 -0
  221. package/src/Components/Icons/index.ts +165 -0
  222. package/src/Components/Layout/Footer/Footer.stories.tsx +178 -0
  223. package/src/Components/Layout/Footer/Footer.tsx +32 -0
  224. package/src/Components/Layout/Footer/FooterBottom.tsx +21 -0
  225. package/src/Components/Layout/Footer/FooterBottomLeft.tsx +31 -0
  226. package/src/Components/Layout/Footer/FooterBottomLeftProps.tsx +13 -0
  227. package/src/Components/Layout/Footer/FooterBottomProps.tsx +7 -0
  228. package/src/Components/Layout/Footer/FooterBottomRight.tsx +47 -0
  229. package/src/Components/Layout/Footer/FooterBottomRightProps.tsx +7 -0
  230. package/src/Components/Layout/Footer/FooterItem.tsx +17 -0
  231. package/src/Components/Layout/Footer/FooterItemProps.tsx +8 -0
  232. package/src/Components/Layout/Footer/FooterMiddle.tsx +14 -0
  233. package/src/Components/Layout/Footer/FooterMiddleProps.tsx +8 -0
  234. package/src/Components/Layout/Footer/FooterProps.tsx +11 -0
  235. package/src/Components/Layout/Footer/FooterTop.tsx +30 -0
  236. package/src/Components/Layout/Footer/FooterTopProps.tsx +9 -0
  237. package/src/Components/Layout/Footer/footer-bg-design.tsx +21 -0
  238. package/src/Components/Layout/Footer/footer.module.scss +295 -0
  239. package/src/Components/Layout/Header/Header.stories.tsx +66 -0
  240. package/src/Components/Layout/Header/Header.tsx +27 -0
  241. package/src/Components/Layout/Header/HeaderProps.tsx +9 -0
  242. package/src/Components/Layout/Header/HeaderRight.tsx +12 -0
  243. package/src/Components/Layout/Header/HeaderRightItem.tsx +21 -0
  244. package/src/Components/Layout/Header/HeaderRightItemProps.tsx +13 -0
  245. package/src/Components/Layout/Header/HeaderRightProps.tsx +7 -0
  246. package/src/Components/Layout/Header/MagnifyingGlass/MagnifyingGlass.tsx +10 -0
  247. package/src/Components/Layout/Header/MegaMenu/MegaMenu.tsx +5 -0
  248. package/src/Components/Layout/Header/MegaMenu/MegaMenuProps.tsx +5 -0
  249. package/src/Components/Layout/Header/header.module.scss +90 -0
  250. package/src/Components/Layout/HeroBanner/HeroBanner.stories.tsx +77 -0
  251. package/src/Components/Layout/HeroBanner/HeroBanner.tsx +77 -0
  252. package/src/Components/Layout/HeroBanner/HeroBannerProps.tsx +10 -0
  253. package/src/Components/Layout/HeroBanner/LargeHeroIcon.tsx +18 -0
  254. package/src/Components/Layout/HeroBanner/heroBanner.module.scss +179 -0
  255. package/src/Components/Layout/index.ts +27 -0
  256. package/src/Components/Shared/Container/Container.tsx +19 -0
  257. package/src/Components/Shared/Container/ContainerProps.tsx +8 -0
  258. package/src/Components/Shared/Container/container.module.scss +13 -0
  259. package/src/Components/Shared/ElementHolder/ElementHolder.tsx +40 -0
  260. package/src/Components/Shared/ElementHolder/ElementHolderProps.tsx +18 -0
  261. package/src/Components/Shared/ElementHolder/elementHolder.module.scss +189 -0
  262. package/src/Components/Shared/index.ts +5 -0
  263. package/src/assets/react.svg +1 -0
  264. package/src/global.scss +337 -0
  265. package/src/globals.d.ts +1 -0
  266. package/src/index.ts +5 -0
  267. package/src/main.tsx +10 -0
  268. package/src/scss.d.ts +1 -0
  269. package/src/variable.scss +3 -0
  270. package/tsconfig.app.json +45 -0
  271. package/tsconfig.json +7 -0
  272. package/tsconfig.node.json +10 -0
  273. package/tsconfig.node.tsbuildinfo +1 -0
  274. package/vite.config.d.ts +2 -0
  275. package/vite.config.js +40 -0
  276. package/vite.config.ts +31 -0
  277. package/vitest.shims.d.ts +1 -0
@@ -0,0 +1,295 @@
1
+ .footer {
2
+ width: 100%;
3
+
4
+ .container {
5
+ max-width: 1832px;
6
+ margin: 0 auto;
7
+ }
8
+
9
+ // Footer Top
10
+ .footerTop {
11
+ padding-top: 72px;
12
+ border-radius: 12px 12px 0 0;
13
+ background-color: var(--color-taste);
14
+
15
+ .footerTopWrapper {
16
+ color: var(--color-visit);
17
+ }
18
+
19
+ .footerTopLeft {
20
+ align-items: center;
21
+
22
+ h1 {
23
+ font-size: var(--font-size-h5);
24
+ font-weight: var(--font-weight-h4);
25
+ }
26
+
27
+ h2 {
28
+ font-size: var(--font-size-h5);
29
+ font-weight: var(--font-weight-h5);
30
+ padding-bottom: 32px;
31
+ }
32
+ }
33
+
34
+ .footerTopRight {
35
+ font-size: var(--font-size-body-regular);
36
+ }
37
+ }
38
+
39
+ // Footer Middle
40
+ .footerMiddle {
41
+ background-color: var(--color-visit);
42
+
43
+ .footerMiddleWrapper {
44
+
45
+ img {
46
+ padding-bottom: 72px;
47
+ }
48
+
49
+ .footerItem {
50
+ h3 {
51
+ color: var(--color-taste);
52
+ font-size: var(--font-size-small);
53
+ font-weight: var(--font-weight-h4);
54
+ }
55
+
56
+ ul {
57
+ display: none;
58
+ }
59
+ }
60
+ }
61
+ }
62
+
63
+ // Footer Bottom
64
+ .footerBottom {
65
+ background-color: var(--color-visit);
66
+
67
+ .footerBottomWrapper {
68
+
69
+ .footerBottomLeft {
70
+
71
+ .footerBottomLeftWrapper {
72
+
73
+ .footerBottomLeftLogo {
74
+ color: var(--color-taste);
75
+ font-size: var(--font-size-body-sm);
76
+
77
+ img {
78
+ padding-bottom: 24px;
79
+ }
80
+ }
81
+
82
+ .footerBottomLeftLinks {
83
+ display: flex;
84
+ align-items: flex-end;
85
+
86
+ ul {
87
+ display: flex;
88
+ gap: 24px;
89
+ list-style: none;
90
+ padding: 0;
91
+ margin: 0;
92
+
93
+ a {
94
+ color: var(--color-taste);
95
+ font-size: var(--font-size-body-sm);
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+
102
+ .footerBottomRight {
103
+ .footerBottomRightWrapper {
104
+
105
+ display: flex;
106
+ padding-top: 72px;
107
+ gap: 16px;
108
+
109
+ .footerLogo {
110
+ display: flex;
111
+ background-color: var(--color-taste);
112
+ border-radius: 50%;
113
+ height: 40px;
114
+ width: 40px;
115
+ align-items: center;
116
+ justify-content: center;
117
+
118
+ a {
119
+ display: flex;
120
+ color: var(--color-visit);
121
+
122
+ svg {
123
+ height: 24px;
124
+ width: 24px;
125
+ }
126
+ }
127
+ }
128
+ }
129
+ }
130
+ }
131
+ }
132
+
133
+ @media screen and (min-width: 1440px) {
134
+
135
+ // Footer Top
136
+ .footerTop {
137
+ position: relative;
138
+
139
+ .footerTopWrapper {
140
+ display: flex;
141
+ gap: 154px;
142
+ justify-content: space-between;
143
+
144
+ .footerTopLeft {
145
+ display: flex;
146
+ flex-direction: column;
147
+ justify-content: center;
148
+ align-items: start;
149
+
150
+ h1 {
151
+ font-size: var(--font-size-h3);
152
+ font-weight: var(--font-weight-h1);
153
+ line-height: var(--line-height-h3);
154
+ }
155
+
156
+ h2 {
157
+ font-size: var(--font-size-h3);
158
+ font-weight: var(--font-weight-bold);
159
+ line-height: var(--line-height-h3);
160
+ }
161
+ }
162
+
163
+ .footerTopRight {
164
+ display: flex;
165
+ justify-content: center;
166
+ align-items: center;
167
+
168
+ p {
169
+ font-size: var(--font-size-small);
170
+ }
171
+ }
172
+ }
173
+
174
+ .footerBgDesignContainer {
175
+ position: absolute;
176
+ top: 0;
177
+ bottom: 0;
178
+ right: 96px;
179
+
180
+ svg {
181
+ height: 100%;
182
+ }
183
+ }
184
+ }
185
+
186
+
187
+ // Footer Middle
188
+ .footerMiddle {
189
+ .footerMiddleWrapper {
190
+ display: flex;
191
+ flex-wrap: wrap;
192
+ padding-top: 64px;
193
+ padding-bottom: 32px;
194
+
195
+ .footerLogoContainer {
196
+ flex: 1;
197
+ }
198
+
199
+ .socialMediaLinks {
200
+ display: none;
201
+ }
202
+ }
203
+
204
+
205
+ .footerMiddleLinks {
206
+ display: flex;
207
+ flex-grow: 1;
208
+ flex-wrap: wrap;
209
+ }
210
+
211
+ .footerItem {
212
+ width: 20%;
213
+
214
+ h3 {
215
+ padding-bottom: 28px;
216
+ font-weight: var(--font-weight-body-sm);
217
+ }
218
+
219
+ ul {
220
+ display: block !important;
221
+
222
+ gap: 16px;
223
+ list-style: none;
224
+ padding: 0;
225
+ margin: 0;
226
+ }
227
+
228
+ a {
229
+ color: var(--color-sand);
230
+ font-size: var(--font-size-body-xsm);
231
+ }
232
+ }
233
+ }
234
+
235
+ // Footer Bottom
236
+ .footerBottom {
237
+ padding-bottom: 38px;
238
+
239
+ .footerBottomWrapper {
240
+ display: flex;
241
+ justify-content: space-between;
242
+
243
+ .footerBottomLeft {
244
+
245
+ .footerBottomLeftWrapper {
246
+ display: flex;
247
+ gap: 166px;
248
+
249
+ .footerBottomLeftLogo {
250
+ //padding-bottom: 38px;
251
+ }
252
+
253
+ .footerBottomLeftLinks {
254
+ //padding-bottom: 38px;
255
+ }
256
+ }
257
+ }
258
+
259
+ .footerBottomRight {
260
+ //padding-bottom: 38px;
261
+
262
+ .footerBottomRightWrapper {
263
+ display: flex;
264
+
265
+
266
+ .footerLogoWrapper {
267
+ padding: 0 8px;
268
+
269
+ .footerLogo {
270
+ display: flex;
271
+ background-color: #92c134;
272
+ border-radius: 50%;
273
+ height: 40px;
274
+ width: 40px;
275
+ align-items: center;
276
+ justify-content: center;
277
+
278
+ a {
279
+ display: flex;
280
+ color: var(--color-inverse-text);
281
+
282
+ svg {
283
+ height: 24px;
284
+ width: 24px;
285
+ }
286
+ }
287
+ }
288
+ }
289
+
290
+ }
291
+ }
292
+ }
293
+ }
294
+ }
295
+ }
@@ -0,0 +1,66 @@
1
+ import React from "react";
2
+ import {Meta, StoryObj} from "@storybook/react-vite";
3
+ import Header from "./Header";
4
+ import HeaderRight from "./HeaderRight";
5
+ import HeaderRightItem from "./HeaderRightItem";
6
+ import MagnifyingGlass from "./MagnifyingGlass/MagnifyingGlass";
7
+
8
+
9
+ const meta: Meta = {
10
+ title: "Layout / Header",
11
+ component: Header,
12
+ parameters: {
13
+ layout: 'fullscreen',
14
+ },
15
+ tags: ["autodocs"],
16
+ };
17
+
18
+ export default meta;
19
+
20
+ type Story = StoryObj<typeof meta>;
21
+
22
+ const logo = (
23
+ <a href={"/"}>
24
+ <img src={'/img/waikirikiri-full-logo.svg'} width={190} height={60} alt={'Hello Better'}/>
25
+ </a>
26
+ );
27
+
28
+ const logoSmall = (
29
+ <a href={"/"}>
30
+ <img src={'/img/waikirikiri-full-logo.svg'} width={110} height={45} alt={'Hello Better'}/>
31
+ </a>
32
+ );
33
+
34
+
35
+ const HeaderTemplate: Story = {
36
+ render: () => {
37
+
38
+ // @ts-ignore
39
+ return <Header logo={logo} logoSmall={logoSmall}>
40
+ <HeaderRight>
41
+ <HeaderRightItem>
42
+ Participate
43
+ </HeaderRightItem>
44
+ <HeaderRightItem>
45
+ Business
46
+ </HeaderRightItem>
47
+ <HeaderRightItem>
48
+ Live
49
+ </HeaderRightItem>
50
+ <HeaderRightItem>
51
+ Visit
52
+ </HeaderRightItem>
53
+ <HeaderRightItem>
54
+ Taste
55
+ </HeaderRightItem>
56
+ <HeaderRightItem>
57
+ <MagnifyingGlass/>
58
+ </HeaderRightItem>
59
+ </HeaderRight>
60
+ </Header>
61
+ },
62
+ };
63
+
64
+ export const HeaderComponent = {
65
+ ...HeaderTemplate,
66
+ };
@@ -0,0 +1,27 @@
1
+ import styles from "./header.module.scss"
2
+ import HeaderProps from "./HeaderProps.tsx";
3
+ import Container from "../../Shared/Container/Container.tsx";
4
+ const Header = (props : HeaderProps) => {
5
+
6
+ const { children, logoSmall, logo } = props
7
+
8
+ return <header className={styles.header}>
9
+ <Container>
10
+ <div className={styles.headerWrapper}>
11
+ <div className={styles.headerLogo}>
12
+ <div className={`${styles.logo} HeaderLogo`}>
13
+ {logo}
14
+ </div>
15
+ <div className={`${styles.logoSmall} HeaderLogoSmall`}>
16
+ {logoSmall}
17
+ </div>
18
+ </div>
19
+ <div className={styles.headerRight}>
20
+ {children}
21
+ </div>
22
+ </div>
23
+ </Container>
24
+ </header>
25
+ }
26
+
27
+ export default Header;
@@ -0,0 +1,9 @@
1
+ import {ReactNode} from "react";
2
+
3
+ interface HeaderProps{
4
+ children?:ReactNode
5
+ logo?: ReactNode,
6
+ logoSmall?: ReactNode,
7
+ }
8
+
9
+ export default HeaderProps
@@ -0,0 +1,12 @@
1
+ import styles from './header.module.scss'
2
+ import HeaderRightProps from "./HeaderRightProps.tsx";
3
+
4
+ const HeaderRight = ({children} : HeaderRightProps) =>{
5
+
6
+ return <div className={styles.headerRightWrapper}>
7
+ {children}
8
+ </div>
9
+
10
+ }
11
+
12
+ export default HeaderRight
@@ -0,0 +1,21 @@
1
+ import styles from './header.module.scss'
2
+ import HeaderRightItemProps from "./HeaderRightItemProps.tsx";
3
+
4
+ const HeaderRightItem = (props : HeaderRightItemProps) =>{
5
+ const { href , target, children, extraClass, icon, menuDropdown, active } = props
6
+ return <div className={`${styles.headerBottomItemHolder} ${active && styles.active}`}>
7
+ <a href={href} target={target} className={`${styles.headerBottomItem} ${extraClass}`}>
8
+ {icon && <div className={styles.icon}>
9
+ {icon}
10
+ </div>}
11
+ {children}
12
+ </a>
13
+ {menuDropdown && (
14
+ <div className={styles.menuDropdown}>
15
+ {menuDropdown}
16
+ </div>
17
+ )}
18
+ </div>;
19
+ }
20
+
21
+ export default HeaderRightItem
@@ -0,0 +1,13 @@
1
+ import { ReactNode } from "react"
2
+
3
+ interface HeaderRightItemProps {
4
+ children?: ReactNode
5
+ extraClass?: string
6
+ icon?:ReactNode
7
+ menuDropdown?:ReactNode
8
+ href?:string
9
+ target?:string
10
+ active?:boolean
11
+ }
12
+
13
+ export default HeaderRightItemProps;
@@ -0,0 +1,7 @@
1
+ import {ReactNode} from "react";
2
+
3
+ interface HeaderRightProps {
4
+ children?:ReactNode
5
+ }
6
+
7
+ export default HeaderRightProps
@@ -0,0 +1,10 @@
1
+ const MagnifyingGlass = () => {
2
+ return <svg xmlns="http://www.w3.org/2000/svg" width="36" height="37" viewBox="0 0 36 37" fill="none">
3
+ <path d="M15.75 27C21.9632 27 27 21.9632 27 15.75C27 9.5368 21.9632 4.5 15.75 4.5C9.5368 4.5 4.5 9.5368 4.5 15.75C4.5 21.9632 9.5368 27 15.75 27Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M23.7051 23.7051L31.4999 31.4999" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M24 17.5C20.4101 17.5 17.5 20.4101 17.5 24C17.5 20.4101 14.5899 17.5 11 17.5C14.5899 17.5 17.5 14.5899 17.5 11C17.5 14.5899 20.4101 17.5 24 17.5Z" fill="currentColor"/>
6
+ <circle cx="12" cy="12" r="2.5" fill="currentColor"/>
7
+ </svg>
8
+ }
9
+
10
+ export default MagnifyingGlass;
@@ -0,0 +1,5 @@
1
+ const MegaMenu = () => {
2
+ return
3
+ }
4
+
5
+ export default MegaMenu;
@@ -0,0 +1,5 @@
1
+ interface MegaMenuProps {
2
+ pillar: 'vist' | 'live' | 'business' | 'participate'
3
+ }
4
+
5
+ export default MegaMenuProps;
@@ -0,0 +1,90 @@
1
+ .header{
2
+ background: var(--header-bg);
3
+
4
+ .headerWrapper{
5
+ display: flex;
6
+ align-items: center;
7
+ justify-content: space-between;
8
+ min-height: 96px;
9
+ }
10
+
11
+ .headerLogo{
12
+ display: flex;
13
+
14
+ a{
15
+ display: flex;
16
+ }
17
+ }
18
+
19
+ .logo {
20
+ display: none;
21
+ }
22
+
23
+ .logoSmall {
24
+ display: block;
25
+ }
26
+
27
+ .headerRightWrapper{
28
+ display: flex;
29
+ align-items: center;
30
+ margin: 0 -16px;
31
+ }
32
+
33
+ .headerBottomItemHolder{
34
+ padding: 0 16px;
35
+ transition: color 0.3s ease-in;
36
+
37
+ a{
38
+ display: flex;
39
+ align-items: center;
40
+ color: var(--header-color);
41
+ font-size: 24px;
42
+ font-weight: 400;
43
+ line-height: 1.5;
44
+ cursor: pointer;
45
+
46
+ .icon{
47
+ display: flex;
48
+
49
+ svg{
50
+ width: 24px;
51
+ height: 24px;
52
+ }
53
+ }
54
+
55
+ }
56
+
57
+ &:hover, &.active{
58
+
59
+ a{
60
+ color: var(--font-color);
61
+ }
62
+
63
+ }
64
+
65
+ }
66
+
67
+ @media screen and (min-width: 1648px) {
68
+ .headerRightWrapper{
69
+ display: flex;
70
+ align-items: center;
71
+ margin: 0 -28px;
72
+ }
73
+
74
+ .headerBottomItemHolder {
75
+ padding: 0 28px;
76
+ }
77
+ }
78
+
79
+
80
+ @media screen and (min-width: 992px) {
81
+ .logo {
82
+ display: block;
83
+ }
84
+
85
+ .logoSmall {
86
+ display: none;
87
+ }
88
+ }
89
+
90
+ }
@@ -0,0 +1,77 @@
1
+ // @ts-ignore
2
+ import React from "react"
3
+ import { Meta, StoryObj } from "@storybook/react-vite";
4
+ import HeroBanner from "./HeroBanner";
5
+ import { title } from "process";
6
+
7
+ const meta: Meta = {
8
+ title: "Layout / HeroBanner",
9
+ component: HeroBanner,
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 HeroBannerTemplate: Story = {
21
+ render: () => {
22
+
23
+ return (
24
+ <>
25
+ <HeroBanner
26
+ title={'Make your mark'}
27
+ boldTitle={'in Selwyn'}
28
+ />
29
+ </>
30
+ )
31
+ }
32
+ }
33
+
34
+ const HeroBannerMediumTemplate: Story = {
35
+ render: () => {
36
+
37
+ return (
38
+ <>
39
+ <HeroBanner
40
+ title={'Adventure'}
41
+ boldTitle={'starts here'}
42
+ description={'From the Southern Alps to the sea, Waikirikiri Selwyn’s diverse towns arespread across the Canterbury Plains between two mighty braided rivers. '}
43
+ heroSize={'medium'}
44
+ />
45
+ </>
46
+ )
47
+ }
48
+ }
49
+
50
+ const HeroBannerSmallTemplate: Story = {
51
+ render: () => {
52
+
53
+ return (
54
+ <>
55
+ <HeroBanner
56
+ title={'There’s plenty to do'}
57
+ boldTitle={'in Selwyn'}
58
+ description={'From the Southern Alps to the sea, Waikirikiri Selwyn’s diverse towns arespread across the Canterbury Plains between two mighty braided rivers. '}
59
+ heroSize={'small'}
60
+ pillar={"participate"}
61
+ />
62
+ </>
63
+ )
64
+ }
65
+ }
66
+
67
+ export const HeroBannerComponent = {
68
+ ...HeroBannerTemplate
69
+ };
70
+
71
+ export const HeroBannerMediumComponent = {
72
+ ...HeroBannerMediumTemplate
73
+ };
74
+
75
+ export const HeroBannerSmallComponent = {
76
+ ...HeroBannerSmallTemplate
77
+ };