@hellobetterdigitalnz/selwynui 0.0.1-7 → 0.0.1-71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (422) hide show
  1. package/package.json +9 -1
  2. package/src/Components/DataDisplay/Accordion/Accordion.stories.tsx +7 -20
  3. package/src/Components/DataDisplay/Accordion/Accordion.tsx +21 -20
  4. package/src/Components/DataDisplay/Accordion/AccordionItem.tsx +2 -2
  5. package/src/Components/DataDisplay/Accordion/AccordionProps.tsx +2 -1
  6. package/src/Components/DataDisplay/Accordion/accordion-bg-design.tsx +5 -5
  7. package/src/Components/DataDisplay/Accordion/accordion.module.scss +75 -43
  8. package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderTool.stories.tsx +53 -0
  9. package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderTool.tsx +23 -0
  10. package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolMain/BrandBuilderToolMain.tsx +13 -0
  11. package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolMain/BrandBuilderToolMainProps.tsx +7 -0
  12. package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolProps.tsx +9 -0
  13. package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolTemplate/BrandBuilderToolTemplateItem.tsx +15 -0
  14. package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolTemplate/BrandBuilderToolTemplateItemProps.tsx +10 -0
  15. package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolTemplate/BrandBuilderToolTemplateSelector.tsx +29 -0
  16. package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolTemplate/BrandBuilderToolTemplateSelectorProps.tsx +8 -0
  17. package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolUploader/BrandBuilderToolUploader.tsx +33 -0
  18. package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolUploader/BrandBuilderToolUploaderProps.tsx +8 -0
  19. package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolWrapper/BrandBuilderToolWrapper.tsx +17 -0
  20. package/src/Components/DataDisplay/BrandBuilderTool/BrandBuilderToolWrapper/BrandBuilderToolWrapperProps.tsx +8 -0
  21. package/src/Components/DataDisplay/BrandBuilderTool/BrandbuilderToolPreview/BrandBuilderToolPreview.tsx +25 -0
  22. package/src/Components/DataDisplay/BrandBuilderTool/BrandbuilderToolPreview/BrandBuilderToolPreviewProps.tsx +8 -0
  23. package/src/Components/DataDisplay/BrandBuilderTool/brandBuilder.module.scss +215 -0
  24. package/src/Components/DataDisplay/CallToActionBlock/CallToActionBlock.stories.tsx +92 -0
  25. package/src/Components/DataDisplay/CallToActionBlock/CallToActionBlock.tsx +80 -0
  26. package/src/Components/DataDisplay/CallToActionBlock/CallToActionBlockProps.tsx +18 -0
  27. package/src/Components/DataDisplay/CallToActionBlock/callToAction.module.scss +79 -0
  28. package/src/Components/DataDisplay/CallToActionBlock/callToAction.module.scss~ +78 -0
  29. package/src/Components/DataDisplay/CarouselBlock/CarouselBlock.stories.tsx +77 -0
  30. package/src/Components/DataDisplay/CarouselBlock/CarouselBlock.tsx +73 -0
  31. package/src/Components/DataDisplay/CarouselBlock/CarouselBlockProps.tsx +23 -0
  32. package/src/Components/DataDisplay/CarouselBlock/carouselBlock.module.scss +60 -0
  33. package/src/Components/DataDisplay/ChatItenaryBlock/ChatItenaryBlock.stories.tsx +128 -0
  34. package/src/Components/DataDisplay/ChatItenaryBlock/ChatItenaryBlock.tsx +257 -0
  35. package/src/Components/DataDisplay/ChatItenaryBlock/ChatItenaryBlockProps.tsx +44 -0
  36. package/src/Components/DataDisplay/ChatItenaryBlock/chatItenaryBlock.module.scss +777 -0
  37. package/src/Components/DataDisplay/ContactsBlock/ContactItem.tsx +47 -0
  38. package/src/Components/DataDisplay/ContactsBlock/ContactItemProps.tsx +10 -0
  39. package/src/Components/DataDisplay/ContactsBlock/ContactsBlock.stories.tsx +59 -0
  40. package/src/Components/DataDisplay/ContactsBlock/ContactsBlock.tsx +24 -0
  41. package/src/Components/DataDisplay/ContactsBlock/ContactsBlockProps.tsx +8 -0
  42. package/src/Components/DataDisplay/ContactsBlock/contactsBlock.module.scss +165 -0
  43. package/src/Components/DataDisplay/ContentBlock/ContentBlock.stories.tsx +107 -0
  44. package/src/Components/DataDisplay/ContentBlock/ContentBlock.tsx +36 -0
  45. package/src/Components/DataDisplay/ContentBlock/ContentBlockProps.tsx +11 -0
  46. package/src/Components/DataDisplay/ContentBlock/contentBlock.module.scss +76 -0
  47. package/src/Components/DataDisplay/DetailsCard/DetailsCard.tsx +8 -10
  48. package/src/Components/DataDisplay/DetailsCard/DetailsCardProps.tsx +0 -1
  49. package/src/Components/DataDisplay/DetailsCard/detailsCard.module.scss +3 -1
  50. package/src/Components/DataDisplay/ImageContent/ImageContent.stories.tsx +5 -11
  51. package/src/Components/DataDisplay/ImageContent/ImageContent.tsx +12 -11
  52. package/src/Components/DataDisplay/ImageContent/ImageContentProps.tsx +4 -0
  53. package/src/Components/DataDisplay/ImageContent/imageContent.module.scss +30 -14
  54. package/src/Components/DataDisplay/IntroBlock/IntroBlock.stories.tsx +1 -1
  55. package/src/Components/DataDisplay/IntroBlock/introBlock.module.scss +27 -3
  56. package/src/Components/DataDisplay/KPIBlock/KPIBlock.stories.tsx +3 -4
  57. package/src/Components/DataDisplay/KPIBlock/KPIBlock.tsx +14 -7
  58. package/src/Components/DataDisplay/KPIBlock/KPIBlockProps.tsx +6 -2
  59. package/src/Components/DataDisplay/KPIBlock/kpiBlock.module.scss +179 -16
  60. package/src/Components/DataDisplay/{Pathway/Pathway.stories.tsx → ListBlock/ListBlock.stories.tsx} +20 -18
  61. package/src/Components/DataDisplay/ListBlock/ListBlock.tsx +133 -0
  62. package/src/Components/DataDisplay/ListBlock/ListBlockProps.tsx +28 -0
  63. package/src/Components/DataDisplay/{Pathway/pathway.module.scss → ListBlock/listBlock.module.scss} +30 -6
  64. package/src/Components/DataDisplay/ListingDetailBlock/ListingDetailBlock.stories.tsx +93 -0
  65. package/src/Components/DataDisplay/ListingDetailBlock/ListingDetailBlock.tsx +74 -0
  66. package/src/Components/DataDisplay/ListingDetailBlock/ListingDetailBlockProps.tsx +23 -0
  67. package/src/Components/DataDisplay/ListingDetailBlock/listingDetailBlock.module.scss +265 -0
  68. package/src/Components/DataDisplay/Media/Media.stories.tsx +36 -0
  69. package/src/Components/DataDisplay/Media/Media.tsx +158 -0
  70. package/src/Components/DataDisplay/Media/MediaProps.tsx +8 -0
  71. package/src/Components/DataDisplay/Media/media.module.scss +16 -0
  72. package/src/Components/DataDisplay/Media/mediaVideo.scss +88 -0
  73. package/src/Components/DataDisplay/Modal/Modal.stories.tsx +89 -0
  74. package/src/Components/DataDisplay/Modal/Modal.tsx +16 -0
  75. package/src/Components/DataDisplay/Modal/ModalActions.tsx +14 -0
  76. package/src/Components/DataDisplay/Modal/ModalActionsLeft.tsx +13 -0
  77. package/src/Components/DataDisplay/Modal/ModalActionsLeftProps.tsx +8 -0
  78. package/src/Components/DataDisplay/Modal/ModalActionsProps.tsx +8 -0
  79. package/src/Components/DataDisplay/Modal/ModalActionsRight.tsx +14 -0
  80. package/src/Components/DataDisplay/Modal/ModalActionsRightProps.tsx +8 -0
  81. package/src/Components/DataDisplay/Modal/ModalBody.tsx +14 -0
  82. package/src/Components/DataDisplay/Modal/ModalBodyProps.tsx +8 -0
  83. package/src/Components/DataDisplay/Modal/ModalCurtain.tsx +6 -0
  84. package/src/Components/DataDisplay/Modal/ModalHeader.tsx +55 -0
  85. package/src/Components/DataDisplay/Modal/ModalHeaderProps.tsx +10 -0
  86. package/src/Components/DataDisplay/Modal/ModalProps.tsx +9 -0
  87. package/src/Components/DataDisplay/Modal/modal.module.scss +178 -0
  88. package/src/Components/DataDisplay/PathwayBlock/PathwayBlock.stories.tsx +27 -13
  89. package/src/Components/DataDisplay/PathwayBlock/PathwayBlock.tsx +7 -6
  90. package/src/Components/DataDisplay/PathwayBlock/PathwayBlockProps.tsx +10 -4
  91. package/src/Components/DataDisplay/PathwayBlock/pathwayBlock.module.scss +27 -23
  92. package/src/Components/DataDisplay/PromoBannerBlock/PromoBanner.stories.tsx +3 -4
  93. package/src/Components/DataDisplay/PromoBannerBlock/PromoBannerBlock.tsx +2 -6
  94. package/src/Components/DataDisplay/PromoBannerBlock/promoBanner.module.scss +12 -15
  95. package/src/Components/DataDisplay/TestimonyCard/TestimonyCard.stories.tsx +11 -5
  96. package/src/Components/DataDisplay/TestimonyCard/TestimonyCard.tsx +73 -53
  97. package/src/Components/DataDisplay/TestimonyCard/testimonyCard.module.scss +137 -70
  98. package/src/Components/DataDisplay/index.ts +87 -4
  99. package/src/Components/DataDisplay/slider.scss +43 -0
  100. package/src/Components/Form/Button/ButtonProps.tsx +1 -1
  101. package/src/Components/Form/Button/button.module.scss +2 -0
  102. package/src/Components/Form/Checkbox/Checkbox.stories.tsx +51 -0
  103. package/src/Components/Form/Checkbox/Checkbox.tsx +111 -0
  104. package/src/Components/Form/Checkbox/CheckboxProps.tsx +24 -0
  105. package/src/Components/Form/Checkbox/checkbox.module.scss +105 -0
  106. package/src/Components/Form/EmailField/EmailField.stories.ts +23 -0
  107. package/src/Components/Form/EmailField/EmailField.tsx +56 -0
  108. package/src/Components/Form/FormFieldHolder/FormFieldHolder.stories.tsx +31 -0
  109. package/src/Components/Form/FormFieldHolder/FormFieldHolder.tsx +57 -0
  110. package/src/Components/Form/FormFieldHolder/FormFieldHolderProps.tsx +16 -0
  111. package/src/Components/Form/FormFieldHolder/formHolder.module.scss +71 -0
  112. package/src/Components/Form/InputProps.tsx +30 -0
  113. package/src/Components/Form/LandingPageForm/LandingPageForm.stories.tsx +110 -0
  114. package/src/Components/Form/LandingPageForm/LandingPageForm.tsx +24 -0
  115. package/src/Components/Form/LandingPageForm/LandingPageFormLeft.tsx +51 -0
  116. package/src/Components/Form/LandingPageForm/LandingPageFormLeftProps.tsx +13 -0
  117. package/src/Components/Form/LandingPageForm/LandingPageFormProps.tsx +9 -0
  118. package/src/Components/Form/LandingPageForm/LandingPageFormRight.tsx +49 -0
  119. package/src/Components/Form/LandingPageForm/LandingPageFormRightProps.tsx +14 -0
  120. package/src/Components/Form/LandingPageForm/landingPageForm.module.scss +190 -0
  121. package/src/Components/Form/LoadingInput/LoadingInput.tsx +12 -0
  122. package/src/Components/Form/LoadingInput/loadingInput.module.scss +15 -0
  123. package/src/Components/Form/RadioButtons/RadioButton.tsx +83 -0
  124. package/src/Components/Form/RadioButtons/RadioButtonProps.tsx +24 -0
  125. package/src/Components/Form/RadioButtons/RadioButtons.stories.tsx +129 -0
  126. package/src/Components/Form/RadioButtons/RadioButtons.tsx +18 -0
  127. package/src/Components/Form/RadioButtons/RadioButtonsProps.tsx +10 -0
  128. package/src/Components/Form/RadioButtons/radioButton.stories.scss +3 -0
  129. package/src/Components/Form/RadioButtons/radiobutton.module.scss +189 -0
  130. package/src/Components/Form/SimpleForm/SimpleForm.stories.tsx +55 -0
  131. package/src/Components/Form/SimpleForm/SimpleForm.tsx +63 -0
  132. package/src/Components/Form/SimpleForm/SimpleFormProps.tsx +13 -0
  133. package/src/Components/Form/SimpleForm/simple-form-bg-design.tsx +21 -0
  134. package/src/Components/Form/SimpleForm/simpleForm.module.scss +72 -0
  135. package/src/Components/Form/TextField/TextField.stories.ts +22 -0
  136. package/src/Components/Form/TextField/TextField.tsx +62 -0
  137. package/src/Components/Form/TextField/TextFieldProps.tsx +8 -0
  138. package/src/Components/Form/Textarea/Textarea.stories.ts +31 -0
  139. package/src/Components/Form/Textarea/Textarea.tsx +74 -0
  140. package/src/Components/Form/Textarea/TextareaProps.tsx +28 -0
  141. package/src/Components/Form/Textarea/textarea.module.scss +48 -0
  142. package/src/Components/Form/index.ts +34 -1
  143. package/src/Components/Form/index.ts~ +32 -0
  144. package/src/Components/Form/inputs.module.scss +172 -0
  145. package/src/Components/Icons/Communication/PaperPlaneTilt/PaperPlaneTilt.tsx +37 -0
  146. package/src/Components/Icons/OfficeAndEditing/Paperclip/Paperclip.tsx +37 -0
  147. package/src/Components/Icons/SystemAndDevice/CheckCircle/CheckCircle.tsx +35 -0
  148. package/src/Components/Icons/index.ts +5 -1
  149. package/src/Components/Layout/Footer/Footer.tsx +1 -2
  150. package/src/Components/Layout/Footer/FooterBottom.tsx +7 -7
  151. package/src/Components/Layout/Footer/FooterProps.tsx +1 -1
  152. package/src/Components/Layout/Footer/FooterTop.tsx +1 -1
  153. package/src/Components/Layout/Footer/footer.module.scss +3 -2
  154. package/src/Components/Layout/Header/Header.stories.tsx +23 -23
  155. package/src/Components/Layout/Header/Header.tsx +3 -3
  156. package/src/Components/Layout/Header/HeaderProps.tsx +1 -0
  157. package/src/Components/Layout/Header/MegaMenu/MegaMenu.tsx +156 -83
  158. package/src/Components/Layout/Header/MegaMenu/MegaMenuProps.tsx +22 -9
  159. package/src/Components/Layout/Header/MegaMenu/megaMenu.module.scss +4 -2
  160. package/src/Components/Layout/Header/MobileNavigation/MobileNavigation.tsx +4 -3
  161. package/src/Components/Layout/Header/MobileNavigation/MobileNavigationProps.tsx +1 -0
  162. package/src/Components/Layout/Header/MobileNavigation/MobileSubNavigation/MobileSubNavigation.tsx +2 -2
  163. package/src/Components/Layout/Header/MobileNavigation/MobileSubNavigation/MobileSubNavigationItem.tsx +3 -3
  164. package/src/Components/Layout/Header/header.module.scss +17 -19
  165. package/src/Components/Layout/HeroBanner/HeroBanner.tsx +6 -6
  166. package/src/Components/Layout/HeroBanner/heroBanner.module.scss +42 -6
  167. package/src/Components/Layout/index.ts +11 -2
  168. package/src/Components/SelwynUIProvider/SelwynUIContext.tsx +16 -0
  169. package/src/Components/SelwynUIProvider/SelwynUIProvider.tsx +46 -0
  170. package/src/Components/SelwynUIProvider/index.ts +2 -0
  171. package/src/Components/Shared/Container/Container.tsx +18 -8
  172. package/src/Components/Shared/Container/ContainerProps.tsx +7 -2
  173. package/src/Components/Shared/Container/container.module.scss +55 -7
  174. package/src/Components/Shared/ElementHolder/ElementHolderProps.tsx +1 -1
  175. package/src/Components/Shared/ElementHolder/elementHolder.module.scss +10 -5
  176. package/src/Components/Shared/PillarIcon/PillarIcon.tsx +4 -4
  177. package/src/Components/Shared/PillarLogo/PillarLogo.tsx +2 -2
  178. package/src/Components/index.ts +1 -0
  179. package/dist/App.d.ts +0 -2
  180. package/dist/Components/DataDisplay/DetailsCard/DetailsCard.d.ts +0 -3
  181. package/dist/Components/DataDisplay/DetailsCard/DetailsCardProps.d.ts +0 -10
  182. package/dist/Components/DataDisplay/ImageContent/ImageContent.d.ts +0 -3
  183. package/dist/Components/DataDisplay/ImageContent/ImageContentMaskingImages.d.ts +0 -2
  184. package/dist/Components/DataDisplay/ImageContent/ImageContentProps.d.ts +0 -27
  185. package/dist/Components/DataDisplay/IntroBlock/IntroBlock.d.ts +0 -3
  186. package/dist/Components/DataDisplay/IntroBlock/IntroBlockProps.d.ts +0 -8
  187. package/dist/Components/DataDisplay/KPIBlock/KPIBlock.d.ts +0 -3
  188. package/dist/Components/DataDisplay/KPIBlock/KPIBlockProps.d.ts +0 -11
  189. package/dist/Components/DataDisplay/Pathway/Pathway.d.ts +0 -3
  190. package/dist/Components/DataDisplay/Pathway/PathwayProps.d.ts +0 -15
  191. package/dist/Components/DataDisplay/PromoBannerBlock/PromoBannerBlock.d.ts +0 -3
  192. package/dist/Components/DataDisplay/PromoBannerBlock/PromoBannerBlockProps.d.ts +0 -14
  193. package/dist/Components/DataDisplay/PromoBannerBlock/promo-banner-bg-design.d.ts +0 -2
  194. package/dist/Components/DataDisplay/index.d.ts +0 -10
  195. package/dist/Components/Form/Button/Button.d.ts +0 -3
  196. package/dist/Components/Form/Button/ButtonProps.d.ts +0 -14
  197. package/dist/Components/Form/index.d.ts +0 -2
  198. package/dist/Components/Icons/Arrows/ArrowLeft/ArrowLeft.d.ts +0 -3
  199. package/dist/Components/Icons/Arrows/ArrowRight/ArrowRight.d.ts +0 -3
  200. package/dist/Components/Icons/Arrows/ArrowSquareOut/ArrowSquareOut.d.ts +0 -3
  201. package/dist/Components/Icons/Arrows/ArrowsDownUp/ArrowsDownUp.d.ts +0 -3
  202. package/dist/Components/Icons/Arrows/ArrowsOutCardinal/ArrowsOutCardinal.d.ts +0 -3
  203. package/dist/Components/Icons/Arrows/CaretCircleRight/CaretCircleRight.d.ts +0 -3
  204. package/dist/Components/Icons/Arrows/CaretDown/CaretDown.d.ts +0 -3
  205. package/dist/Components/Icons/Arrows/CaretLeft/CaretLeft.d.ts +0 -3
  206. package/dist/Components/Icons/Arrows/CaretRight/CaretRight.d.ts +0 -3
  207. package/dist/Components/Icons/Arrows/CaretUp/CaretUp.d.ts +0 -3
  208. package/dist/Components/Icons/Arrows/CaretUpDown/CaretUpDown.d.ts +0 -3
  209. package/dist/Components/Icons/Brands/FacebookLogo/FacebookLogo.d.ts +0 -3
  210. package/dist/Components/Icons/Brands/InstagramLogo/InstagramLogo.d.ts +0 -3
  211. package/dist/Components/Icons/Brands/LinkedinLogo/LinkedinLogo.d.ts +0 -3
  212. package/dist/Components/Icons/Brands/WindowsLogo/WindowsLogo.d.ts +0 -3
  213. package/dist/Components/Icons/Commerce/Backpack/Backpack.d.ts +0 -3
  214. package/dist/Components/Icons/Commerce/BowlSteam/BowlSteam.d.ts +0 -3
  215. package/dist/Components/Icons/Commerce/Bread/Bread.d.ts +0 -3
  216. package/dist/Components/Icons/Commerce/Cheers/Cheers.d.ts +0 -3
  217. package/dist/Components/Icons/Commerce/ChefHat/ChefHat.d.ts +0 -3
  218. package/dist/Components/Icons/Commerce/Coffee/Coffee.d.ts +0 -3
  219. package/dist/Components/Icons/Commerce/CreditCard/CreditCard.d.ts +0 -3
  220. package/dist/Components/Icons/Commerce/CurrencyDollarSimple/CurrencyDollarSimple.d.ts +0 -3
  221. package/dist/Components/Icons/Commerce/Grains/Grains.d.ts +0 -3
  222. package/dist/Components/Icons/Commerce/Scale/Scale.d.ts +0 -3
  223. package/dist/Components/Icons/Commerce/StoreFront/StoreFront.d.ts +0 -3
  224. package/dist/Components/Icons/Communication/AddressBook/AddressBook.d.ts +0 -3
  225. package/dist/Components/Icons/Communication/AddressBook/AddressBook.stories.d.ts +0 -21
  226. package/dist/Components/Icons/Communication/AsterickSimple/AsteriskSimple.d.ts +0 -3
  227. package/dist/Components/Icons/Communication/AsterickSimple/AsteriskSimple.stories.d.ts +0 -21
  228. package/dist/Components/Icons/Communication/Asterisk/Asterisk.d.ts +0 -3
  229. package/dist/Components/Icons/Communication/Asterisk/Asterisk.stories.d.ts +0 -21
  230. package/dist/Components/Icons/Communication/At/At.d.ts +0 -3
  231. package/dist/Components/Icons/Communication/At/At.stories.d.ts +0 -21
  232. package/dist/Components/Icons/Communication/Broadcast/Broadcast.d.ts +0 -3
  233. package/dist/Components/Icons/Communication/Broadcast/Broadcast.stories.d.ts +0 -21
  234. package/dist/Components/Icons/Communication/Chat/Chat.d.ts +0 -3
  235. package/dist/Components/Icons/Communication/Chat/Chat.stories.d.ts +0 -21
  236. package/dist/Components/Icons/Communication/ChatCircleText/ChatCircleText.d.ts +0 -3
  237. package/dist/Components/Icons/Communication/EnvelopeSimple/EnvelopeSimple.d.ts +0 -3
  238. package/dist/Components/Icons/Communication/Export/Export.d.ts +0 -3
  239. package/dist/Components/Icons/Communication/Phone/Phone.d.ts +0 -3
  240. package/dist/Components/Icons/Communication/ThumbsUp/ThumbsUp.d.ts +0 -3
  241. package/dist/Components/Icons/Communication/Translate/Translate.d.ts +0 -3
  242. package/dist/Components/Icons/Design/DropHalfBottom/DropHalfBottom.d.ts +0 -3
  243. package/dist/Components/Icons/Design/Eye/Eye.d.ts +0 -3
  244. package/dist/Components/Icons/Design/EyeSlash/EyeSlash.d.ts +0 -3
  245. package/dist/Components/Icons/Design/GearFine/GearFine.d.ts +0 -3
  246. package/dist/Components/Icons/Design/PencilLine/PencilLine.d.ts +0 -3
  247. package/dist/Components/Icons/Design/PencilSimple/PencilSimple.d.ts +0 -3
  248. package/dist/Components/Icons/Design/Ruler/Ruler.d.ts +0 -3
  249. package/dist/Components/Icons/Design/SquaresFour/SquaresFour.d.ts +0 -3
  250. package/dist/Components/Icons/Education/BookOpenText/BookOpenText.d.ts +0 -3
  251. package/dist/Components/Icons/Education/BookmarkSimple/BookmarkSimple.d.ts +0 -3
  252. package/dist/Components/Icons/Education/Certificate/Certificate.d.ts +0 -3
  253. package/dist/Components/Icons/Education/GraduationCap/GraduationCap.d.ts +0 -3
  254. package/dist/Components/Icons/Games/Cricket/Cricket.d.ts +0 -3
  255. package/dist/Components/Icons/Games/Football/Football.d.ts +0 -3
  256. package/dist/Components/Icons/Games/Golf/Golf.d.ts +0 -3
  257. package/dist/Components/Icons/HealthAndWellness/Barbell/Barbell.d.ts +0 -3
  258. package/dist/Components/Icons/IconProps.d.ts +0 -4
  259. package/dist/Components/Icons/MapAndTravel/Barn/Barn.d.ts +0 -3
  260. package/dist/Components/Icons/MapAndTravel/Bicycle/Bicycle.d.ts +0 -3
  261. package/dist/Components/Icons/MapAndTravel/Bus/Bus.d.ts +0 -3
  262. package/dist/Components/Icons/MapAndTravel/Car/Car.d.ts +0 -3
  263. package/dist/Components/Icons/MapAndTravel/ChargingStation/ChargingStation.d.ts +0 -3
  264. package/dist/Components/Icons/MapAndTravel/Farm/Farm.d.ts +0 -3
  265. package/dist/Components/Icons/MapAndTravel/Globe/Globe.d.ts +0 -3
  266. package/dist/Components/Icons/MapAndTravel/Goggles/Goggles.d.ts +0 -3
  267. package/dist/Components/Icons/MapAndTravel/House/House.d.ts +0 -3
  268. package/dist/Components/Icons/MapAndTravel/HouseSimple/HouseSimple.d.ts +0 -3
  269. package/dist/Components/Icons/MapAndTravel/MapPin/MapPin.d.ts +0 -3
  270. package/dist/Components/Icons/MapAndTravel/MapTriFold/MapTriFold.d.ts +0 -3
  271. package/dist/Components/Icons/MapAndTravel/Path/Path.d.ts +0 -3
  272. package/dist/Components/Icons/MapAndTravel/RoadHorizon/RoadHorizon.d.ts +0 -3
  273. package/dist/Components/Icons/MapAndTravel/SteeringWheel/SteeringWheel.d.ts +0 -3
  274. package/dist/Components/Icons/MapAndTravel/SwimmingPool/SwimmingPool.d.ts +0 -3
  275. package/dist/Components/Icons/MapAndTravel/Tram/Tram.d.ts +0 -3
  276. package/dist/Components/Icons/MapAndTravel/Van/Van.d.ts +0 -3
  277. package/dist/Components/Icons/MathsAndFinance/Calculator/Calculator.d.ts +0 -3
  278. package/dist/Components/Icons/MathsAndFinance/ChartBar/ChartBar.d.ts +0 -3
  279. package/dist/Components/Icons/MathsAndFinance/ChartBarHorizontal/ChartBarHorizontal.d.ts +0 -3
  280. package/dist/Components/Icons/MathsAndFinance/ChartLine/ChartLine.d.ts +0 -3
  281. package/dist/Components/Icons/MathsAndFinance/ChartLineUp/ChartLineUp.d.ts +0 -3
  282. package/dist/Components/Icons/MathsAndFinance/ChartPie/ChartPie.d.ts +0 -3
  283. package/dist/Components/Icons/MathsAndFinance/Minus/Minus.d.ts +0 -3
  284. package/dist/Components/Icons/MathsAndFinance/MinusCircle/MinusCircle.d.ts +0 -3
  285. package/dist/Components/Icons/MathsAndFinance/NumberSquareThree/NumberSquareThree.d.ts +0 -3
  286. package/dist/Components/Icons/MathsAndFinance/Plus/Plus.d.ts +0 -3
  287. package/dist/Components/Icons/MathsAndFinance/PlusCircle/PlusCircle.d.ts +0 -3
  288. package/dist/Components/Icons/MathsAndFinance/XIcon/XIcon.d.ts +0 -3
  289. package/dist/Components/Icons/Media/Camera/Camera.d.ts +0 -3
  290. package/dist/Components/Icons/Media/DiscoBall/DiscoBall.d.ts +0 -3
  291. package/dist/Components/Icons/Media/FilmStrip/FilmStrip.d.ts +0 -3
  292. package/dist/Components/Icons/Media/Microphone/Microphone.d.ts +0 -3
  293. package/dist/Components/Icons/Media/MusicNotes/MusicNotes.d.ts +0 -3
  294. package/dist/Components/Icons/Media/PlayCircle/PlayCircle.d.ts +0 -3
  295. package/dist/Components/Icons/Media/SlidersHorizontal/SlidersHorizontal.d.ts +0 -3
  296. package/dist/Components/Icons/Media/StopCircle/StopCircle.d.ts +0 -3
  297. package/dist/Components/Icons/Media/VideoCamera/VideoCamera.d.ts +0 -3
  298. package/dist/Components/Icons/OfficeAndEditing/BuildinfOffice/BuildingOffice.d.ts +0 -3
  299. package/dist/Components/Icons/OfficeAndEditing/Copy/Copy.d.ts +0 -3
  300. package/dist/Components/Icons/OfficeAndEditing/FileText/FileText.d.ts +0 -3
  301. package/dist/Components/Icons/OfficeAndEditing/Files/Files.d.ts +0 -3
  302. package/dist/Components/Icons/OfficeAndEditing/FloppyDisk/FloppyDisk.d.ts +0 -3
  303. package/dist/Components/Icons/OfficeAndEditing/Folder/Folder.d.ts +0 -3
  304. package/dist/Components/Icons/OfficeAndEditing/FolderSimplePlus/FolderSimplePlus.d.ts +0 -3
  305. package/dist/Components/Icons/OfficeAndEditing/Folders/Folders.d.ts +0 -3
  306. package/dist/Components/Icons/OfficeAndEditing/List/List.d.ts +0 -3
  307. package/dist/Components/Icons/OfficeAndEditing/ListBullets/ListBullets.d.ts +0 -3
  308. package/dist/Components/Icons/OfficeAndEditing/ListDashes/ListDashes.d.ts +0 -3
  309. package/dist/Components/Icons/OfficeAndEditing/Printer/Printer.d.ts +0 -3
  310. package/dist/Components/Icons/OfficeAndEditing/TextAa/TextAa.d.ts +0 -3
  311. package/dist/Components/Icons/OfficeAndEditing/TextColumns/TextColumns.d.ts +0 -3
  312. package/dist/Components/Icons/OfficeAndEditing/Trash/Trash.d.ts +0 -3
  313. package/dist/Components/Icons/OfficeAndEditing/TrashSimple/TrashSimple.d.ts +0 -3
  314. package/dist/Components/Icons/People/Person/Person.d.ts +0 -3
  315. package/dist/Components/Icons/People/PersonArmsSpread/PersonArmsSpread.d.ts +0 -3
  316. package/dist/Components/Icons/People/PersonSimpleBike/PersonSimpleBike.d.ts +0 -3
  317. package/dist/Components/Icons/People/PersonSimpleSki/PersonSimpleSki.d.ts +0 -3
  318. package/dist/Components/Icons/People/PersonSimpleWalk/PersonSimpleWalk.d.ts +0 -3
  319. package/dist/Components/Icons/People/User/User.d.ts +0 -3
  320. package/dist/Components/Icons/People/UserCircle/UserCircle.d.ts +0 -3
  321. package/dist/Components/Icons/People/UserSwitch/UserSwitch.d.ts +0 -3
  322. package/dist/Components/Icons/People/Users/Users.d.ts +0 -3
  323. package/dist/Components/Icons/SecurityAndWarnings/Info/Info.d.ts +0 -3
  324. package/dist/Components/Icons/SecurityAndWarnings/Key/Key.d.ts +0 -3
  325. package/dist/Components/Icons/SecurityAndWarnings/LockKeyOpen/LockKeyOpen.d.ts +0 -3
  326. package/dist/Components/Icons/SecurityAndWarnings/LockSimple/LockSimple.d.ts +0 -3
  327. package/dist/Components/Icons/SecurityAndWarnings/Question/Question.d.ts +0 -3
  328. package/dist/Components/Icons/SecurityAndWarnings/ShieldCheck/ShieldCheck.d.ts +0 -3
  329. package/dist/Components/Icons/SecurityAndWarnings/WarningCircle/WarningCircle.d.ts +0 -3
  330. package/dist/Components/Icons/SystemAndDevice/Bell/Bell.d.ts +0 -3
  331. package/dist/Components/Icons/SystemAndDevice/Check/Check.d.ts +0 -3
  332. package/dist/Components/Icons/SystemAndDevice/CheckSquare/CheckSquare.d.ts +0 -3
  333. package/dist/Components/Icons/SystemAndDevice/CloudCheck/CloudCheck.d.ts +0 -3
  334. package/dist/Components/Icons/SystemAndDevice/Desktop/Desktop.d.ts +0 -3
  335. package/dist/Components/Icons/SystemAndDevice/DeviceMobile/DeviceMobile.d.ts +0 -3
  336. package/dist/Components/Icons/SystemAndDevice/DotSixVertical/DotSixVertical.d.ts +0 -3
  337. package/dist/Components/Icons/SystemAndDevice/DotsSix/DotsSix.d.ts +0 -3
  338. package/dist/Components/Icons/SystemAndDevice/DotsThree/DotsThree.d.ts +0 -3
  339. package/dist/Components/Icons/SystemAndDevice/DotsThreeVertical/DotsThreeVertical.d.ts +0 -3
  340. package/dist/Components/Icons/SystemAndDevice/DownloadSimple/DownloadSimple.d.ts +0 -3
  341. package/dist/Components/Icons/SystemAndDevice/Gear/Gear.d.ts +0 -3
  342. package/dist/Components/Icons/SystemAndDevice/Link/Link.d.ts +0 -3
  343. package/dist/Components/Icons/SystemAndDevice/MagnifyingGlass/MagnifyingGlass.d.ts +0 -3
  344. package/dist/Components/Icons/SystemAndDevice/RadioButtonIcon/RadioButtonIcon.d.ts +0 -3
  345. package/dist/Components/Icons/SystemAndDevice/SignIn/SignIn.d.ts +0 -3
  346. package/dist/Components/Icons/SystemAndDevice/SignOut/SignOut.d.ts +0 -3
  347. package/dist/Components/Icons/SystemAndDevice/ToggleLeft/ToggleLeft.d.ts +0 -3
  348. package/dist/Components/Icons/SystemAndDevice/ToggleRight/ToggleRight.d.ts +0 -3
  349. package/dist/Components/Icons/Time/Calendar/Calendar.d.ts +0 -3
  350. package/dist/Components/Icons/Time/CalendarBank/CalendarBank.d.ts +0 -3
  351. package/dist/Components/Icons/Time/CalendarCheck/CalendarCheck.d.ts +0 -3
  352. package/dist/Components/Icons/Time/CalendarDots/CalendarDots.d.ts +0 -3
  353. package/dist/Components/Icons/Time/Clock/Clock.d.ts +0 -3
  354. package/dist/Components/Icons/Time/ClockCounterClockwise/ClockCounterClockwise.d.ts +0 -3
  355. package/dist/Components/Icons/WeatherAndNature/Bird/Bird.d.ts +0 -3
  356. package/dist/Components/Icons/WeatherAndNature/Campfire/Campfire.d.ts +0 -3
  357. package/dist/Components/Icons/WeatherAndNature/CloudSun/CloudSun.d.ts +0 -3
  358. package/dist/Components/Icons/WeatherAndNature/Cow/Cow.d.ts +0 -3
  359. package/dist/Components/Icons/WeatherAndNature/Dog/Dog.d.ts +0 -3
  360. package/dist/Components/Icons/WeatherAndNature/FishSimple/FishSimple.d.ts +0 -3
  361. package/dist/Components/Icons/WeatherAndNature/Flower/Flower.d.ts +0 -3
  362. package/dist/Components/Icons/WeatherAndNature/Moon/Moon.d.ts +0 -3
  363. package/dist/Components/Icons/WeatherAndNature/Mountains/Mountains.d.ts +0 -3
  364. package/dist/Components/Icons/WeatherAndNature/Plant/Plant.d.ts +0 -3
  365. package/dist/Components/Icons/WeatherAndNature/Snowflake/Snowflake.d.ts +0 -3
  366. package/dist/Components/Icons/WeatherAndNature/Sparkle/Sparkle.d.ts +0 -3
  367. package/dist/Components/Icons/WeatherAndNature/Sun/Sun.d.ts +0 -3
  368. package/dist/Components/Icons/WeatherAndNature/Tree/Tree.d.ts +0 -3
  369. package/dist/Components/Icons/index.d.ts +0 -123
  370. package/dist/Components/Layout/Footer/Footer.d.ts +0 -3
  371. package/dist/Components/Layout/Footer/FooterBottom.d.ts +0 -3
  372. package/dist/Components/Layout/Footer/FooterBottomLeft.d.ts +0 -3
  373. package/dist/Components/Layout/Footer/FooterBottomLeftProps.d.ts +0 -11
  374. package/dist/Components/Layout/Footer/FooterBottomProps.d.ts +0 -5
  375. package/dist/Components/Layout/Footer/FooterBottomRight.d.ts +0 -3
  376. package/dist/Components/Layout/Footer/FooterBottomRightProps.d.ts +0 -6
  377. package/dist/Components/Layout/Footer/FooterItem.d.ts +0 -3
  378. package/dist/Components/Layout/Footer/FooterItemProps.d.ts +0 -6
  379. package/dist/Components/Layout/Footer/FooterMiddle.d.ts +0 -3
  380. package/dist/Components/Layout/Footer/FooterMiddleProps.d.ts +0 -6
  381. package/dist/Components/Layout/Footer/FooterProps.d.ts +0 -9
  382. package/dist/Components/Layout/Footer/FooterTop.d.ts +0 -3
  383. package/dist/Components/Layout/Footer/FooterTopProps.d.ts +0 -7
  384. package/dist/Components/Layout/Footer/footer-bg-design.d.ts +0 -2
  385. package/dist/Components/Layout/Header/Header.d.ts +0 -3
  386. package/dist/Components/Layout/Header/HeaderProps.d.ts +0 -7
  387. package/dist/Components/Layout/Header/HeaderRight.d.ts +0 -3
  388. package/dist/Components/Layout/Header/HeaderRightItem.d.ts +0 -3
  389. package/dist/Components/Layout/Header/HeaderRightItemProps.d.ts +0 -11
  390. package/dist/Components/Layout/Header/HeaderRightProps.d.ts +0 -5
  391. package/dist/Components/Layout/Header/MagnifyingGlass/MagnifyingGlass.d.ts +0 -2
  392. package/dist/Components/Layout/Header/MegaMenu/MegaMenu.d.ts +0 -2
  393. package/dist/Components/Layout/Header/MegaMenu/MegaMenuProps.d.ts +0 -4
  394. package/dist/Components/Layout/HeroBanner/HeroBanner.d.ts +0 -3
  395. package/dist/Components/Layout/HeroBanner/HeroBannerProps.d.ts +0 -9
  396. package/dist/Components/Layout/HeroBanner/LargeHeroIcon.d.ts +0 -2
  397. package/dist/Components/Layout/index.d.ts +0 -22
  398. package/dist/Components/Shared/Container/Container.d.ts +0 -3
  399. package/dist/Components/Shared/Container/ContainerProps.d.ts +0 -6
  400. package/dist/Components/Shared/ElementHolder/ElementHolder.d.ts +0 -3
  401. package/dist/Components/Shared/ElementHolder/ElementHolderProps.d.ts +0 -15
  402. package/dist/Components/Shared/index.d.ts +0 -4
  403. package/dist/img/card-one.png +0 -0
  404. package/dist/img/card-three.png +0 -0
  405. package/dist/img/card-two.png +0 -0
  406. package/dist/img/footer-bg-design.svg +0 -14
  407. package/dist/img/footer-logo.svg +0 -9
  408. package/dist/img/promo-banner-image.svg +0 -9
  409. package/dist/img/visit-brand-piller.svg +0 -6
  410. package/dist/img/waikirikiri-full-logo.svg +0 -23
  411. package/dist/index.cjs.js +0 -14
  412. package/dist/index.cjs.js.map +0 -1
  413. package/dist/index.d.ts +0 -5
  414. package/dist/index.es.d.ts +0 -2
  415. package/dist/index.es.js +0 -6787
  416. package/dist/index.es.js.map +0 -1
  417. package/dist/main.d.ts +0 -0
  418. package/dist/selwynui.css +0 -1
  419. package/dist/tsconfig.app.tsbuildinfo +0 -1
  420. package/dist/vite.svg +0 -1
  421. package/src/Components/DataDisplay/Pathway/Pathway.tsx +0 -94
  422. package/src/Components/DataDisplay/Pathway/PathwayProps.tsx +0 -17
@@ -0,0 +1,46 @@
1
+ import React, { FC, ReactNode, useState } from "react";
2
+ import SelwynUIContext from "./SelwynUIContext.tsx";
3
+
4
+ interface SelwynUIProviderProps {
5
+ children: ReactNode;
6
+ }
7
+
8
+ const SelwynUIProvider: FC<SelwynUIProviderProps> = (props : SelwynUIProviderProps) => {
9
+ const { children } = props;
10
+
11
+ const [modalStack, setModalStack] = useState<React.ReactNode[]>([]);
12
+ const openModal = (modal: React.ReactNode) => {
13
+ setModalStack((prevStack) => [...prevStack, modal]);
14
+ console.log('hello')
15
+ };
16
+
17
+ const closeModal = () => {
18
+ setModalStack((prevStack) => prevStack.slice(0, -1));
19
+
20
+ };
21
+
22
+ const closeAllModals = () => {
23
+ setModalStack([]);
24
+ };
25
+
26
+
27
+ return (
28
+ <SelwynUIContext.Provider
29
+ value={{
30
+ modalStack,
31
+ openModal,
32
+ closeModal,
33
+ closeAllModals,
34
+ }}
35
+ >
36
+ <>
37
+ {children}
38
+ {modalStack.map((modal, index) => (
39
+ <React.Fragment key={index}>{modal}</React.Fragment>
40
+ ))}
41
+ </>
42
+ </SelwynUIContext.Provider>
43
+ );
44
+ };
45
+
46
+ export default SelwynUIProvider;
@@ -0,0 +1,2 @@
1
+ export { default as SelwynUIProvider } from './SelwynUIProvider.tsx';
2
+ export { default as SelwynUIContext } from './SelwynUIContext.tsx';
@@ -1,19 +1,29 @@
1
1
  import styles from "./container.module.scss";
2
2
  import ContainerProps from "./ContainerProps.tsx";
3
3
  import cslx from "clsx";
4
- const Container = (props : ContainerProps) =>{
5
4
 
6
- const {children, type="default"} = props
5
+ const Container = (props: ContainerProps) => {
6
+ const { children, type = "default", border = true, spaceTop, spaceBottom } = props;
7
7
 
8
8
  const className = cslx(
9
9
  styles.container,
10
10
  {
11
11
  [styles.default]: type === "default",
12
- })
12
+ [styles.simpleForm]: type === "simpleForm",
13
+ [styles.hasBorder]: border,
14
+ [styles[`space-${spaceTop}`]]: spaceTop,
15
+ [styles[`space-${spaceBottom}`]]: spaceBottom,
16
+ }
17
+ );
13
18
 
14
- return <div className={className}>
15
- {children}
16
- </div>;
17
- }
19
+ return (
20
+ <div className={className}>
21
+ {border && <div className={styles.border}></div>}
22
+ <div className={styles.containerInner}>
23
+ {children}
24
+ </div>
25
+ </div>
26
+ );
27
+ };
18
28
 
19
- export default Container
29
+ export default Container;
@@ -1,8 +1,13 @@
1
1
  import {ReactNode} from "react";
2
2
 
3
+ type SpacingOption = "none" | "xsm" |"sm" | "md" | "lg" | "xl"
4
+
3
5
  interface ContainerProps {
4
6
  children?: ReactNode
5
- type?: "default"
7
+ type?: "default" | "simpleForm"
8
+ border?:boolean;
9
+ spaceTop?: SpacingOption
10
+ spaceBottom?: SpacingOption
6
11
  }
7
12
 
8
- export default ContainerProps
13
+ export default ContainerProps;
@@ -1,13 +1,61 @@
1
1
  .container {
2
- padding: 0px 16px 0 16px;
3
- margin: 0px auto;
2
+ padding: 0px 16px 0 16px;
3
+ margin: 0px auto;
4
+
5
+ &.default {
6
+ max-width: 1520px;
7
+ }
8
+
9
+ &.simpleForm {
10
+ max-width: 1520px;
11
+
12
+ .border {
13
+ margin-right: 0;
14
+ }
15
+ }
16
+
17
+ .border {
18
+ width: 1px;
19
+ background: var(--color-block-text);
20
+ margin-right: 32px;
21
+ flex-shrink: 0;
22
+ margin-top: -150px;
23
+ margin-bottom: -150px;
24
+ display: none;
25
+ }
26
+
27
+ &.hasBorder {
28
+ display: flex;
29
+
30
+ .containerInner{
31
+ flex: 1;
32
+ min-width: 0;
33
+ }
4
34
 
5
- &.default{
6
- max-width: 1432px;
7
35
  }
8
36
 
9
- @media screen and (min-width: 1748px) {
10
- padding: 0px 16px 0 16px;
11
- }
37
+ @media screen and (min-width: 992px) {
38
+ .border {
39
+ display: block;
40
+ }
41
+
42
+ &.simpleForm {
43
+ .border {
44
+ margin-right: 45px;
45
+ }
46
+ }
47
+ }
48
+
49
+
50
+ @media screen and (min-width: 1748px) {
51
+ padding: 0px 16px 0 16px;
52
+
53
+ &.simpleForm {
54
+ .border {
55
+ margin-right: 96px;
56
+ }
57
+ }
58
+
59
+ }
12
60
 
13
61
  }
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from "react"
2
2
 
3
- type SpacingOption = "none" | "sm" | "md" | "lg"
3
+ type SpacingOption = "none" | "xsm" |"sm" | "md" | "lg" | "xl"
4
4
 
5
5
  interface ElementHolderProps {
6
6
  children?: ReactNode
@@ -2,9 +2,10 @@
2
2
  background-color: var(--color-block-bg);
3
3
  color: var(--color-block-text);
4
4
  position: relative;
5
+ overflow: hidden;
5
6
 
6
7
  &Inner {
7
- position: relative;
8
+ //position: relative;
8
9
  z-index: 1;
9
10
  }
10
11
 
@@ -14,19 +15,23 @@
14
15
  }
15
16
 
16
17
  &--pt-xsm {
17
- padding-top: 72px;
18
+ padding-top: 40px;
18
19
  }
19
20
 
20
21
  &--pt-sm {
21
- padding-top: 90px;
22
+ padding-top: 48px;
22
23
  }
23
24
 
24
25
  &--pt-md {
25
- padding-top: 120px;
26
+ padding-top: 90px;
26
27
  }
27
28
 
28
29
  &--pt-lg {
29
- padding-top: 144px;
30
+ padding-top: 120px;
31
+ }
32
+
33
+ &--pt-xl {
34
+ padding-bottom: 144px;
30
35
  }
31
36
 
32
37
  // Padding Bottom
@@ -4,7 +4,7 @@ const PillarIcon = ({ pillar }: PillarIconsProps) => {
4
4
 
5
5
  if (pillar === 'visit') {
6
6
  return (
7
- <svg xmlns="http://www.w3.org/2000/svg" width="935" height="930" viewBox="0 0 935 930" fill="none">
7
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 935 930" fill="none">
8
8
  <g opacity="0.03">
9
9
  <path d="M454.02 0C203.235 0 0 202.405 0 452.165H454.02V0Z" fill="currentColor"/>
10
10
  <path d="M454.02 477.687C203.235 477.687 2.51136e-06 680.092 2.51136e-06 929.852H454.02V477.687Z" fill="currentColor"/>
@@ -16,7 +16,7 @@ const PillarIcon = ({ pillar }: PillarIconsProps) => {
16
16
  }
17
17
  if (pillar === 'live') {
18
18
  return (
19
- <svg xmlns="http://www.w3.org/2000/svg" width="935" height="935" viewBox="0 0 935 935" fill="none">
19
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 935 935" fill="none">
20
20
  <g opacity="0.03">
21
21
  <path d="M481.047 480.4C481.047 731.423 684.334 935 935 935V480.4H481.047Z" fill="currentColor"/>
22
22
  <path d="M935 454.749C935 203.725 731.713 0.148275 481.047 0.148275V454.749H935Z" fill="currentColor"/>
@@ -28,7 +28,7 @@ const PillarIcon = ({ pillar }: PillarIconsProps) => {
28
28
  }
29
29
  if (pillar === 'business') {
30
30
  return (
31
- <svg xmlns="http://www.w3.org/2000/svg" width="938" height="935" viewBox="0 0 938 935" fill="none">
31
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 938 935" fill="none">
32
32
  <g opacity="0.04">
33
33
  <path d="M938 480.48C686.479 480.48 482.528 684.005 482.528 935H938V480.48Z" fill="currentColor"/>
34
34
  <path d="M938 0.296748C686.479 0.296748 482.528 203.822 482.528 454.817H938V0.296748Z" fill="currentColor"/>
@@ -40,7 +40,7 @@ const PillarIcon = ({ pillar }: PillarIconsProps) => {
40
40
  }
41
41
  if (pillar === 'participate') {
42
42
  return (
43
- <svg xmlns="http://www.w3.org/2000/svg" width="937" height="934" viewBox="0 0 937 934" fill="none">
43
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 937 934" fill="none">
44
44
  <g opacity="0.08">
45
45
  <path d="M4.35945e-07 454.114C251.202 454.114 454.924 250.755 454.924 0H4.35945e-07V454.114Z" fill="currentColor"/>
46
46
  <path d="M454.924 933.852C454.924 683.097 251.202 479.738 0 479.738V933.852H454.924Z" fill="currentColor"/>
@@ -40,7 +40,7 @@ const PillarLogo = ({brandPillar = 'visit', brandFullLogo } : PillarLogoProps) =
40
40
 
41
41
  if(brandFullLogo){
42
42
  return <svg xmlns="http://www.w3.org/2000/svg" width="203" height="67" viewBox="0 0 203 67" fill="none">
43
- <g clip-path="url(#clip0_4713_9167)">
43
+ <g clipPath="url(#clip0_4713_9167)">
44
44
  <path d="M73.0897 25.7691V-0.1875H82.2102C87.9893 -0.1875 91.3306 2.21193 91.3306 6.75821C91.3306 9.15764 89.5143 11.6251 87.2997 12.2856C90.4953 13.0822 92.4961 15.4525 92.4961 18.5028C92.4961 23.2628 89.116 25.7691 83.3757 25.7691H73.0897ZM82.3947 11.2656C86.2507 11.2656 88.1739 9.63364 88.1739 6.79707C88.1739 3.9605 86.2799 2.35764 82.4336 2.35764H76.1784V11.2656H82.3947ZM76.1784 23.2239H83.23C87.1929 23.2239 89.3686 21.4754 89.3686 18.5028C89.3686 15.5302 87.1152 13.7039 83.1523 13.7039H76.1784V23.2239Z" fill="currentColor"/>
45
45
  <path d="M106.454 25.7691V22.4565C105.579 24.7491 103.404 26.1965 100.636 26.1965C96.4882 26.1965 94.1668 23.6902 94.1668 19.2508V7.47707H97.2166V18.6776C97.2166 22.0582 98.6347 23.8359 101.51 23.8359C104.385 23.8359 106.347 21.9416 106.347 17.5508V7.47707H109.397V25.7594H106.454V25.7691Z" fill="currentColor"/>
46
46
  <path d="M114.127 20.3485C114.35 22.8548 116.672 23.9136 119.139 23.9136C121.606 23.9136 123.461 22.7479 123.461 20.7856C123.461 19.4451 122.587 18.5708 120.265 18.1336L117.031 17.4828C114.088 16.9388 111.941 15.7342 111.941 12.5382C111.941 9.34221 114.7 7.04964 118.74 7.04964C122.781 7.04964 125.539 8.86621 125.899 12.3245H123.102C122.888 10.4691 121.246 9.38107 118.74 9.38107C116.235 9.38107 114.739 10.5856 114.739 12.3634C114.739 13.9274 115.827 14.5782 117.934 14.9765L121.567 15.6662C124.549 16.2491 126.287 17.7062 126.287 20.6496C126.287 23.8456 123.267 26.2159 119.168 26.2159C114.807 26.2159 111.533 24.2925 111.203 20.3582H114.107L114.127 20.3485Z" fill="currentColor"/>
@@ -80,7 +80,7 @@ const PillarLogo = ({brandPillar = 'visit', brandFullLogo } : PillarLogoProps) =
80
80
 
81
81
  if(brandFullLogo){
82
82
  return <svg xmlns="http://www.w3.org/2000/svg" width="193" height="66" viewBox="0 0 193 66" fill="none">
83
- <g clip-path="url(#clip0_4713_9228)">
83
+ <g clipPath="url(#clip0_4713_9228)">
84
84
  <path d="M72.0742 -0.136921H75.1563V22.8348H88.9107V25.4074H72.0742V-0.146484V-0.136921Z" fill="currentColor"/>
85
85
  <path d="M91.6291 0.0447881H94.9983V3.65982H91.6291V0.0447881ZM91.8492 7.41831H94.826V25.417H91.8492V7.41831Z" fill="currentColor"/>
86
86
  <path d="M97.4007 7.41831H100.445L106.245 22.481H106.321L111.873 7.41831H114.85L107.939 25.417H104.608L97.4103 7.41831H97.4007Z" fill="currentColor"/>
@@ -3,3 +3,4 @@ export * from './Form'
3
3
  export * from './Icons'
4
4
  export * from './Layout'
5
5
  export * from './Shared'
6
+ export * from './SelwynUIProvider'
package/dist/App.d.ts DELETED
@@ -1,2 +0,0 @@
1
- declare function App(): import("react/jsx-runtime").JSX.Element;
2
- export default App;
@@ -1,3 +0,0 @@
1
- import { default as DetailsCardProps } from './DetailsCardProps';
2
- declare const DetailsCard: (props: DetailsCardProps) => import("react/jsx-runtime").JSX.Element;
3
- export default DetailsCard;
@@ -1,10 +0,0 @@
1
- interface DetailsCardProps {
2
- title?: string;
3
- description?: string;
4
- date?: string;
5
- link?: string;
6
- image?: string;
7
- variation?: "long" | "short";
8
- category?: 'all' | 'adventure' | 'ski' | 'nature';
9
- }
10
- export default DetailsCardProps;
@@ -1,3 +0,0 @@
1
- import { default as ImageContentProps } from './ImageContentProps.tsx';
2
- declare const ImageContent: (props: ImageContentProps) => import("react/jsx-runtime").JSX.Element;
3
- export default ImageContent;
@@ -1,2 +0,0 @@
1
- declare const ImageContentClip: ({ pillar, single, setOfFour, width, height }: any) => import("react/jsx-runtime").JSX.Element;
2
- export default ImageContentClip;
@@ -1,27 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { default as IntroBlockProps } from './IntroBlockProps';
2
- declare const IntroBlock: (props: IntroBlockProps) => import("react/jsx-runtime").JSX.Element;
3
- export default IntroBlock;
@@ -1,8 +0,0 @@
1
- import { ReactNode } from 'react';
2
- interface IntroBlockProps {
3
- introHeading?: string;
4
- introText?: string;
5
- children?: ReactNode;
6
- extraClass?: string;
7
- }
8
- export default IntroBlockProps;
@@ -1,3 +0,0 @@
1
- import { default as KPIBlockProps } from './KPIBlockProps.tsx';
2
- declare const KPIBlock: (props: KPIBlockProps) => import("react/jsx-runtime").JSX.Element;
3
- export default KPIBlock;
@@ -1,11 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { default as PathwayProps } from './PathwayProps';
2
- declare const Pathway: (props: PathwayProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Pathway;
@@ -1,15 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { default as PromoBannerBlockProps } from './PromoBannerBlockProps';
2
- declare const PromoBannerBlock: (props: PromoBannerBlockProps) => import("react/jsx-runtime").JSX.Element;
3
- export default PromoBannerBlock;
@@ -1,14 +0,0 @@
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;
@@ -1,2 +0,0 @@
1
- declare const PromoBannerBgDesign: () => import("react/jsx-runtime").JSX.Element;
2
- export default PromoBannerBgDesign;
@@ -1,10 +0,0 @@
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';
@@ -1,3 +0,0 @@
1
- import { default as ButtonProps } from './ButtonProps';
2
- declare const Button: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Button;
@@ -1,14 +0,0 @@
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;
@@ -1,2 +0,0 @@
1
- export { default as Button } from './Button/Button';
2
- export type { default as ButtonProps } from './Button/ButtonProps';
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const ArrowLeft: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default ArrowLeft;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const ArrowRight: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default ArrowRight;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const ArrowSquareOut: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default ArrowSquareOut;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const ArrowsDownUp: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default ArrowsDownUp;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const ArrowsOutCardinal: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default ArrowsOutCardinal;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const CaretCircleRight: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default CaretCircleRight;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const CaretDown: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default CaretDown;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const CaretLeft: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default CaretLeft;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const CaretRight: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default CaretRight;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const CaretUp: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default CaretUp;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const CaretUpDown: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default CaretUpDown;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const FacebookLogo: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default FacebookLogo;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const InstagramLogo: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default InstagramLogo;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const LinkedinLogo: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default LinkedinLogo;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const WindowsLogo: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default WindowsLogo;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const Backpack: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Backpack;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const BowlSteam: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default BowlSteam;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const Bread: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Bread;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const Cheers: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Cheers;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const ChefHat: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default ChefHat;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const Coffee: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Coffee;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const CreditCard: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default CreditCard;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const CurrencyDollarSimple: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default CurrencyDollarSimple;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const CurrencyDollarSimple: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default CurrencyDollarSimple;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const Scale: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Scale;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const StoreFront: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default StoreFront;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const AddressBook: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default AddressBook;
@@ -1,21 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { default as IconProps } from '../../IconProps';
2
- declare const AsteriskSimple: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
- export default AsteriskSimple;