@hellobetterdigitalnz/selwynui 0.0.1-8 → 0.0.1-80

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 (508) hide show
  1. package/package.json +10 -1
  2. package/src/Components/DataDisplay/Accordion/Accordion.stories.tsx +9 -17
  3. package/src/Components/DataDisplay/Accordion/Accordion.tsx +29 -26
  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 +94 -42
  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 +10 -9
  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 +8 -8
  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 +70 -54
  97. package/src/Components/DataDisplay/TestimonyCard/testimonyCard.module.scss +139 -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/CheckboxSelect/CheckboxSelect.tsx +5 -0
  107. package/src/Components/Form/CheckboxSelect/CheckboxSelectItem.tsx +5 -0
  108. package/src/Components/Form/CheckboxSet/CheckboxSet.stories.tsx +100 -0
  109. package/src/Components/Form/CheckboxSet/CheckboxSet.tsx +14 -0
  110. package/src/Components/Form/CheckboxSet/CheckboxSetItem.tsx +109 -0
  111. package/src/Components/Form/CheckboxSet/CheckboxSetProps.tsx +9 -0
  112. package/src/Components/Form/CheckboxSet/checkboxSet.module.scss +19 -0
  113. package/src/Components/Form/CurrencyField/CurrencyField.stories.tsx +23 -0
  114. package/src/Components/Form/CurrencyField/CurrencyField.tsx +105 -0
  115. package/src/Components/Form/CurrencyField/CurrencyFieldProps.tsx +10 -0
  116. package/src/Components/Form/DateField/DateField.stories.tsx +22 -0
  117. package/src/Components/Form/DateField/DateField.tsx +61 -0
  118. package/src/Components/Form/DropdownBadge/DropdownBadge.stories.tsx +54 -0
  119. package/src/Components/Form/DropdownBadge/DropdownBadge.tsx +303 -0
  120. package/src/Components/Form/DropdownBadge/DropdownBadgeItem.tsx +54 -0
  121. package/src/Components/Form/DropdownBadge/DropdownBadgeItemProps.tsx +11 -0
  122. package/src/Components/Form/DropdownBadge/DropdownBadgeProps.tsx +34 -0
  123. package/src/Components/Form/DropdownBadge/DropdownBadgeSelector.tsx +17 -0
  124. package/src/Components/Form/DropdownBadge/DropdownBadgeSelectorProps.tsx +10 -0
  125. package/src/Components/Form/DropdownBadge/dropdownBadge.module.scss +195 -0
  126. package/src/Components/Form/DropdownField/CountryDropdownField/CountryDropdownField.stories.tsx +36 -0
  127. package/src/Components/Form/DropdownField/CountryDropdownField/CountryDropdownField.tsx +426 -0
  128. package/src/Components/Form/DropdownField/CountryDropdownField/CountryDropdownFieldProps.tsx +30 -0
  129. package/src/Components/Form/DropdownField/DropdownField.stories.tsx +55 -0
  130. package/src/Components/Form/DropdownField/DropdownField.tsx +245 -0
  131. package/src/Components/Form/DropdownField/DropdownFieldItem.tsx +33 -0
  132. package/src/Components/Form/DropdownField/DropdownFieldItemProps.tsx +10 -0
  133. package/src/Components/Form/DropdownField/DropdownFieldProps.tsx +39 -0
  134. package/src/Components/Form/DropdownField/DropdownFieldSelector.tsx +23 -0
  135. package/src/Components/Form/DropdownField/DropdownFieldSelectorProps.tsx +8 -0
  136. package/src/Components/Form/DropdownField/dropdown.module.scss +144 -0
  137. package/src/Components/Form/EmailField/EmailField.stories.ts +23 -0
  138. package/src/Components/Form/EmailField/EmailField.tsx +56 -0
  139. package/src/Components/Form/ErrorMessage/ErrorMessage.tsx +5 -0
  140. package/src/Components/Form/FormFieldHolder/FormFieldHolder.stories.tsx +31 -0
  141. package/src/Components/Form/FormFieldHolder/FormFieldHolder.tsx +57 -0
  142. package/src/Components/Form/FormFieldHolder/FormFieldHolderProps.tsx +16 -0
  143. package/src/Components/Form/FormFieldHolder/formHolder.module.scss +71 -0
  144. package/src/Components/Form/IconButton/IconButton.stories.tsx +45 -0
  145. package/src/Components/Form/IconButton/IconButton.tsx +65 -0
  146. package/src/Components/Form/IconButton/IconButtonProps.tsx +16 -0
  147. package/src/Components/Form/IconButton/iconButton.module.scss +157 -0
  148. package/src/Components/Form/InputProps.tsx +30 -0
  149. package/src/Components/Form/LandingPageForm/LandingPageForm.stories.tsx +110 -0
  150. package/src/Components/Form/LandingPageForm/LandingPageForm.tsx +24 -0
  151. package/src/Components/Form/LandingPageForm/LandingPageFormLeft.tsx +51 -0
  152. package/src/Components/Form/LandingPageForm/LandingPageFormLeftProps.tsx +13 -0
  153. package/src/Components/Form/LandingPageForm/LandingPageFormProps.tsx +9 -0
  154. package/src/Components/Form/LandingPageForm/LandingPageFormRight.tsx +49 -0
  155. package/src/Components/Form/LandingPageForm/LandingPageFormRightProps.tsx +14 -0
  156. package/src/Components/Form/LandingPageForm/landingPageForm.module.scss +190 -0
  157. package/src/Components/Form/LoadingInput/LoadingInput.tsx +12 -0
  158. package/src/Components/Form/LoadingInput/loadingInput.module.scss +15 -0
  159. package/src/Components/Form/MicroForm/MicroForm.stories.tsx +28 -0
  160. package/src/Components/Form/MicroForm/MicroForm.tsx +22 -0
  161. package/src/Components/Form/MicroForm/MicroFormProps.tsx +12 -0
  162. package/src/Components/Form/MicroForm/microForm.module.scss +64 -0
  163. package/src/Components/Form/MultiSelectField/MultiSelectField.stories.tsx +39 -0
  164. package/src/Components/Form/MultiSelectField/MultiSelectField.tsx +439 -0
  165. package/src/Components/Form/MultiSelectField/MultiSelectFieldItem.tsx +36 -0
  166. package/src/Components/Form/MultiSelectField/MultiSelectFieldItemProps.tsx +12 -0
  167. package/src/Components/Form/MultiSelectField/MultiSelectFieldProps.tsx +36 -0
  168. package/src/Components/Form/MultiSelectField/MultiSelectFieldTag.tsx +24 -0
  169. package/src/Components/Form/MultiSelectField/MultiSelectFieldTagProps.tsx +6 -0
  170. package/src/Components/Form/MultiSelectField/multiSelectField.module.scss +205 -0
  171. package/src/Components/Form/NumberField/NumberField.stories.ts +23 -0
  172. package/src/Components/Form/NumberField/NumberField.tsx +137 -0
  173. package/src/Components/Form/NumberField/NumberFieldProps.tsx +10 -0
  174. package/src/Components/Form/PasswordField/PasswordField.stories.tsx +22 -0
  175. package/src/Components/Form/PasswordField/PasswordField.tsx +73 -0
  176. package/src/Components/Form/PhoneField/PhoneField.stories.ts +21 -0
  177. package/src/Components/Form/PhoneField/PhoneField.tsx +55 -0
  178. package/src/Components/Form/RadioButtons/RadioButton.tsx +100 -0
  179. package/src/Components/Form/RadioButtons/RadioButtonProps.tsx +25 -0
  180. package/src/Components/Form/RadioButtons/RadioButtons.stories.tsx +92 -0
  181. package/src/Components/Form/RadioButtons/RadioButtons.tsx +18 -0
  182. package/src/Components/Form/RadioButtons/RadioButtonsProps.tsx +10 -0
  183. package/src/Components/Form/RadioButtons/radioButton.stories.scss +3 -0
  184. package/src/Components/Form/RadioButtons/radiobutton.module.scss +188 -0
  185. package/src/Components/Form/RichTextEditor/RichTextEditor.stories.ts +41 -0
  186. package/src/Components/Form/RichTextEditor/RichTextEditor.tsx +115 -0
  187. package/src/Components/Form/RichTextEditor/RichTextEditorProps.tsx +25 -0
  188. package/src/Components/Form/RichTextEditor/richTextEditor.module.scss +10 -0
  189. package/src/Components/Form/SimpleForm/SimpleForm.stories.tsx +55 -0
  190. package/src/Components/Form/SimpleForm/SimpleForm.tsx +63 -0
  191. package/src/Components/Form/SimpleForm/SimpleFormProps.tsx +13 -0
  192. package/src/Components/Form/SimpleForm/simple-form-bg-design.tsx +21 -0
  193. package/src/Components/Form/SimpleForm/simpleForm.module.scss +72 -0
  194. package/src/Components/Form/TextField/TextField.stories.ts +22 -0
  195. package/src/Components/Form/TextField/TextField.tsx +62 -0
  196. package/src/Components/Form/TextField/TextFieldProps.tsx +8 -0
  197. package/src/Components/Form/Textarea/Textarea.stories.ts +31 -0
  198. package/src/Components/Form/Textarea/Textarea.tsx +74 -0
  199. package/src/Components/Form/Textarea/TextareaProps.tsx +28 -0
  200. package/src/Components/Form/Textarea/textarea.module.scss +48 -0
  201. package/src/Components/Form/TimeField/TimeField.stories.tsx +22 -0
  202. package/src/Components/Form/TimeField/TimeField.tsx +58 -0
  203. package/src/Components/Form/ToggleSwitch/ToggleSwitch.stories.tsx +50 -0
  204. package/src/Components/Form/ToggleSwitch/ToggleSwitch.tsx +87 -0
  205. package/src/Components/Form/ToggleSwitch/ToggleSwitchProps.tsx +22 -0
  206. package/src/Components/Form/ToggleSwitch/toggleSwitch.module.scss +84 -0
  207. package/src/Components/Form/TypableDropdownField/TypableDropdownField.stories.tsx +55 -0
  208. package/src/Components/Form/TypableDropdownField/TypableDropdownField.tsx +313 -0
  209. package/src/Components/Form/TypableDropdownField/TypableDropdownFieldItem.tsx +27 -0
  210. package/src/Components/Form/TypableDropdownField/TypableDropdownFieldItemProps.tsx +9 -0
  211. package/src/Components/Form/TypableDropdownField/TypableDropdownFieldProps.tsx +38 -0
  212. package/src/Components/Form/TypableDropdownField/TypableDropdownFieldSelector.tsx +16 -0
  213. package/src/Components/Form/TypableDropdownField/TypableDropdownFieldSelectorProps.tsx +8 -0
  214. package/src/Components/Form/TypableDropdownField/typableDropdown.module.scss +185 -0
  215. package/src/Components/Form/UnitInput/UnitField.stories.ts +22 -0
  216. package/src/Components/Form/UnitInput/UnitField.tsx +129 -0
  217. package/src/Components/Form/UnitInput/UnitFieldProps.tsx +9 -0
  218. package/src/Components/Form/index.ts +42 -1
  219. package/src/Components/Form/inputs.module.scss +172 -0
  220. package/src/Components/Icons/Communication/PaperPlaneTilt/PaperPlaneTilt.tsx +37 -0
  221. package/src/Components/Icons/OfficeAndEditing/Paperclip/Paperclip.tsx +37 -0
  222. package/src/Components/Icons/SystemAndDevice/CheckCircle/CheckCircle.tsx +35 -0
  223. package/src/Components/Icons/index.ts +5 -1
  224. package/src/Components/Layout/Footer/Footer.stories.tsx +5 -7
  225. package/src/Components/Layout/Footer/Footer.tsx +1 -2
  226. package/src/Components/Layout/Footer/FooterBottom.tsx +83 -10
  227. package/src/Components/Layout/Footer/FooterBottomLeft.tsx +36 -1
  228. package/src/Components/Layout/Footer/FooterBottomLeftProps.tsx +4 -0
  229. package/src/Components/Layout/Footer/FooterBottomProps.tsx +13 -0
  230. package/src/Components/Layout/Footer/FooterMiddle.tsx +0 -4
  231. package/src/Components/Layout/Footer/FooterProps.tsx +1 -1
  232. package/src/Components/Layout/Footer/FooterTop.tsx +2 -2
  233. package/src/Components/Layout/Footer/footer.module.scss +211 -123
  234. package/src/Components/Layout/Header/Header.stories.tsx +8 -6
  235. package/src/Components/Layout/Header/Header.tsx +3 -3
  236. package/src/Components/Layout/Header/HeaderProps.tsx +1 -0
  237. package/src/Components/Layout/Header/MegaMenu/MegaMenu.tsx +156 -83
  238. package/src/Components/Layout/Header/MegaMenu/MegaMenuProps.tsx +22 -9
  239. package/src/Components/Layout/Header/MegaMenu/megaMenu.module.scss +4 -2
  240. package/src/Components/Layout/Header/MobileNavigation/MobileNavigation.tsx +4 -3
  241. package/src/Components/Layout/Header/MobileNavigation/MobileNavigationItem.tsx +7 -3
  242. package/src/Components/Layout/Header/MobileNavigation/MobileNavigationItemProps.tsx +3 -0
  243. package/src/Components/Layout/Header/MobileNavigation/MobileNavigationProps.tsx +1 -0
  244. package/src/Components/Layout/Header/MobileNavigation/MobileSubNavigation/MobileSubNavigation.tsx +10 -5
  245. package/src/Components/Layout/Header/MobileNavigation/MobileSubNavigation/MobileSubNavigationItem.tsx +8 -9
  246. package/src/Components/Layout/Header/MobileNavigation/MobileSubNavigation/MobileSubNavigationItemProps.tsx +2 -2
  247. package/src/Components/Layout/Header/MobileNavigation/MobileSubNavigation/MobileSubNavigationProps.tsx +1 -0
  248. package/src/Components/Layout/Header/MobileNavigation/mobileNavigation.module.scss +14 -1
  249. package/src/Components/Layout/Header/header.module.scss +17 -19
  250. package/src/Components/Layout/Header/header.scss +8 -0
  251. package/src/Components/Layout/HeroBanner/HeroBanner.tsx +6 -6
  252. package/src/Components/Layout/HeroBanner/heroBanner.module.scss +42 -6
  253. package/src/Components/Layout/index.ts +11 -2
  254. package/src/Components/SelwynUIProvider/SelwynUIContext.tsx +16 -0
  255. package/src/Components/SelwynUIProvider/SelwynUIProvider.tsx +46 -0
  256. package/src/Components/SelwynUIProvider/index.ts +2 -0
  257. package/src/Components/Shared/Container/Container.tsx +19 -9
  258. package/src/Components/Shared/Container/ContainerProps.tsx +7 -2
  259. package/src/Components/Shared/Container/container.module.scss +59 -7
  260. package/src/Components/Shared/ElementHolder/ElementHolderProps.tsx +1 -1
  261. package/src/Components/Shared/ElementHolder/elementHolder.module.scss +10 -5
  262. package/src/Components/Shared/PillarIcon/PillarIcon.tsx +14 -5
  263. package/src/Components/Shared/PillarLogo/PillarLogo.tsx +2 -2
  264. package/src/Components/index.ts +1 -0
  265. package/dist/App.d.ts +0 -2
  266. package/dist/Components/DataDisplay/DetailsCard/DetailsCard.d.ts +0 -3
  267. package/dist/Components/DataDisplay/DetailsCard/DetailsCardProps.d.ts +0 -10
  268. package/dist/Components/DataDisplay/ImageContent/ImageContent.d.ts +0 -3
  269. package/dist/Components/DataDisplay/ImageContent/ImageContentMaskingImages.d.ts +0 -2
  270. package/dist/Components/DataDisplay/ImageContent/ImageContentProps.d.ts +0 -27
  271. package/dist/Components/DataDisplay/IntroBlock/IntroBlock.d.ts +0 -3
  272. package/dist/Components/DataDisplay/IntroBlock/IntroBlockProps.d.ts +0 -8
  273. package/dist/Components/DataDisplay/KPIBlock/KPIBlock.d.ts +0 -3
  274. package/dist/Components/DataDisplay/KPIBlock/KPIBlockProps.d.ts +0 -11
  275. package/dist/Components/DataDisplay/Pathway/Pathway.d.ts +0 -3
  276. package/dist/Components/DataDisplay/Pathway/PathwayProps.d.ts +0 -15
  277. package/dist/Components/DataDisplay/PromoBannerBlock/PromoBannerBlock.d.ts +0 -3
  278. package/dist/Components/DataDisplay/PromoBannerBlock/PromoBannerBlockProps.d.ts +0 -14
  279. package/dist/Components/DataDisplay/PromoBannerBlock/promo-banner-bg-design.d.ts +0 -2
  280. package/dist/Components/DataDisplay/index.d.ts +0 -10
  281. package/dist/Components/Form/Button/Button.d.ts +0 -3
  282. package/dist/Components/Form/Button/ButtonProps.d.ts +0 -14
  283. package/dist/Components/Form/index.d.ts +0 -2
  284. package/dist/Components/Icons/Arrows/ArrowLeft/ArrowLeft.d.ts +0 -3
  285. package/dist/Components/Icons/Arrows/ArrowRight/ArrowRight.d.ts +0 -3
  286. package/dist/Components/Icons/Arrows/ArrowSquareOut/ArrowSquareOut.d.ts +0 -3
  287. package/dist/Components/Icons/Arrows/ArrowsDownUp/ArrowsDownUp.d.ts +0 -3
  288. package/dist/Components/Icons/Arrows/ArrowsOutCardinal/ArrowsOutCardinal.d.ts +0 -3
  289. package/dist/Components/Icons/Arrows/CaretCircleRight/CaretCircleRight.d.ts +0 -3
  290. package/dist/Components/Icons/Arrows/CaretDown/CaretDown.d.ts +0 -3
  291. package/dist/Components/Icons/Arrows/CaretLeft/CaretLeft.d.ts +0 -3
  292. package/dist/Components/Icons/Arrows/CaretRight/CaretRight.d.ts +0 -3
  293. package/dist/Components/Icons/Arrows/CaretUp/CaretUp.d.ts +0 -3
  294. package/dist/Components/Icons/Arrows/CaretUpDown/CaretUpDown.d.ts +0 -3
  295. package/dist/Components/Icons/Brands/FacebookLogo/FacebookLogo.d.ts +0 -3
  296. package/dist/Components/Icons/Brands/InstagramLogo/InstagramLogo.d.ts +0 -3
  297. package/dist/Components/Icons/Brands/LinkedinLogo/LinkedinLogo.d.ts +0 -3
  298. package/dist/Components/Icons/Brands/WindowsLogo/WindowsLogo.d.ts +0 -3
  299. package/dist/Components/Icons/Commerce/Backpack/Backpack.d.ts +0 -3
  300. package/dist/Components/Icons/Commerce/BowlSteam/BowlSteam.d.ts +0 -3
  301. package/dist/Components/Icons/Commerce/Bread/Bread.d.ts +0 -3
  302. package/dist/Components/Icons/Commerce/Cheers/Cheers.d.ts +0 -3
  303. package/dist/Components/Icons/Commerce/ChefHat/ChefHat.d.ts +0 -3
  304. package/dist/Components/Icons/Commerce/Coffee/Coffee.d.ts +0 -3
  305. package/dist/Components/Icons/Commerce/CreditCard/CreditCard.d.ts +0 -3
  306. package/dist/Components/Icons/Commerce/CurrencyDollarSimple/CurrencyDollarSimple.d.ts +0 -3
  307. package/dist/Components/Icons/Commerce/Grains/Grains.d.ts +0 -3
  308. package/dist/Components/Icons/Commerce/Scale/Scale.d.ts +0 -3
  309. package/dist/Components/Icons/Commerce/StoreFront/StoreFront.d.ts +0 -3
  310. package/dist/Components/Icons/Communication/AddressBook/AddressBook.d.ts +0 -3
  311. package/dist/Components/Icons/Communication/AddressBook/AddressBook.stories.d.ts +0 -21
  312. package/dist/Components/Icons/Communication/AsterickSimple/AsteriskSimple.d.ts +0 -3
  313. package/dist/Components/Icons/Communication/AsterickSimple/AsteriskSimple.stories.d.ts +0 -21
  314. package/dist/Components/Icons/Communication/Asterisk/Asterisk.d.ts +0 -3
  315. package/dist/Components/Icons/Communication/Asterisk/Asterisk.stories.d.ts +0 -21
  316. package/dist/Components/Icons/Communication/At/At.d.ts +0 -3
  317. package/dist/Components/Icons/Communication/At/At.stories.d.ts +0 -21
  318. package/dist/Components/Icons/Communication/Broadcast/Broadcast.d.ts +0 -3
  319. package/dist/Components/Icons/Communication/Broadcast/Broadcast.stories.d.ts +0 -21
  320. package/dist/Components/Icons/Communication/Chat/Chat.d.ts +0 -3
  321. package/dist/Components/Icons/Communication/Chat/Chat.stories.d.ts +0 -21
  322. package/dist/Components/Icons/Communication/ChatCircleText/ChatCircleText.d.ts +0 -3
  323. package/dist/Components/Icons/Communication/EnvelopeSimple/EnvelopeSimple.d.ts +0 -3
  324. package/dist/Components/Icons/Communication/Export/Export.d.ts +0 -3
  325. package/dist/Components/Icons/Communication/Phone/Phone.d.ts +0 -3
  326. package/dist/Components/Icons/Communication/ThumbsUp/ThumbsUp.d.ts +0 -3
  327. package/dist/Components/Icons/Communication/Translate/Translate.d.ts +0 -3
  328. package/dist/Components/Icons/Design/DropHalfBottom/DropHalfBottom.d.ts +0 -3
  329. package/dist/Components/Icons/Design/Eye/Eye.d.ts +0 -3
  330. package/dist/Components/Icons/Design/EyeSlash/EyeSlash.d.ts +0 -3
  331. package/dist/Components/Icons/Design/GearFine/GearFine.d.ts +0 -3
  332. package/dist/Components/Icons/Design/PencilLine/PencilLine.d.ts +0 -3
  333. package/dist/Components/Icons/Design/PencilSimple/PencilSimple.d.ts +0 -3
  334. package/dist/Components/Icons/Design/Ruler/Ruler.d.ts +0 -3
  335. package/dist/Components/Icons/Design/SquaresFour/SquaresFour.d.ts +0 -3
  336. package/dist/Components/Icons/Education/BookOpenText/BookOpenText.d.ts +0 -3
  337. package/dist/Components/Icons/Education/BookmarkSimple/BookmarkSimple.d.ts +0 -3
  338. package/dist/Components/Icons/Education/Certificate/Certificate.d.ts +0 -3
  339. package/dist/Components/Icons/Education/GraduationCap/GraduationCap.d.ts +0 -3
  340. package/dist/Components/Icons/Games/Cricket/Cricket.d.ts +0 -3
  341. package/dist/Components/Icons/Games/Football/Football.d.ts +0 -3
  342. package/dist/Components/Icons/Games/Golf/Golf.d.ts +0 -3
  343. package/dist/Components/Icons/HealthAndWellness/Barbell/Barbell.d.ts +0 -3
  344. package/dist/Components/Icons/IconProps.d.ts +0 -4
  345. package/dist/Components/Icons/MapAndTravel/Barn/Barn.d.ts +0 -3
  346. package/dist/Components/Icons/MapAndTravel/Bicycle/Bicycle.d.ts +0 -3
  347. package/dist/Components/Icons/MapAndTravel/Bus/Bus.d.ts +0 -3
  348. package/dist/Components/Icons/MapAndTravel/Car/Car.d.ts +0 -3
  349. package/dist/Components/Icons/MapAndTravel/ChargingStation/ChargingStation.d.ts +0 -3
  350. package/dist/Components/Icons/MapAndTravel/Farm/Farm.d.ts +0 -3
  351. package/dist/Components/Icons/MapAndTravel/Globe/Globe.d.ts +0 -3
  352. package/dist/Components/Icons/MapAndTravel/Goggles/Goggles.d.ts +0 -3
  353. package/dist/Components/Icons/MapAndTravel/House/House.d.ts +0 -3
  354. package/dist/Components/Icons/MapAndTravel/HouseSimple/HouseSimple.d.ts +0 -3
  355. package/dist/Components/Icons/MapAndTravel/MapPin/MapPin.d.ts +0 -3
  356. package/dist/Components/Icons/MapAndTravel/MapTriFold/MapTriFold.d.ts +0 -3
  357. package/dist/Components/Icons/MapAndTravel/Path/Path.d.ts +0 -3
  358. package/dist/Components/Icons/MapAndTravel/RoadHorizon/RoadHorizon.d.ts +0 -3
  359. package/dist/Components/Icons/MapAndTravel/SteeringWheel/SteeringWheel.d.ts +0 -3
  360. package/dist/Components/Icons/MapAndTravel/SwimmingPool/SwimmingPool.d.ts +0 -3
  361. package/dist/Components/Icons/MapAndTravel/Tram/Tram.d.ts +0 -3
  362. package/dist/Components/Icons/MapAndTravel/Van/Van.d.ts +0 -3
  363. package/dist/Components/Icons/MathsAndFinance/Calculator/Calculator.d.ts +0 -3
  364. package/dist/Components/Icons/MathsAndFinance/ChartBar/ChartBar.d.ts +0 -3
  365. package/dist/Components/Icons/MathsAndFinance/ChartBarHorizontal/ChartBarHorizontal.d.ts +0 -3
  366. package/dist/Components/Icons/MathsAndFinance/ChartLine/ChartLine.d.ts +0 -3
  367. package/dist/Components/Icons/MathsAndFinance/ChartLineUp/ChartLineUp.d.ts +0 -3
  368. package/dist/Components/Icons/MathsAndFinance/ChartPie/ChartPie.d.ts +0 -3
  369. package/dist/Components/Icons/MathsAndFinance/Minus/Minus.d.ts +0 -3
  370. package/dist/Components/Icons/MathsAndFinance/MinusCircle/MinusCircle.d.ts +0 -3
  371. package/dist/Components/Icons/MathsAndFinance/NumberSquareThree/NumberSquareThree.d.ts +0 -3
  372. package/dist/Components/Icons/MathsAndFinance/Plus/Plus.d.ts +0 -3
  373. package/dist/Components/Icons/MathsAndFinance/PlusCircle/PlusCircle.d.ts +0 -3
  374. package/dist/Components/Icons/MathsAndFinance/XIcon/XIcon.d.ts +0 -3
  375. package/dist/Components/Icons/Media/Camera/Camera.d.ts +0 -3
  376. package/dist/Components/Icons/Media/DiscoBall/DiscoBall.d.ts +0 -3
  377. package/dist/Components/Icons/Media/FilmStrip/FilmStrip.d.ts +0 -3
  378. package/dist/Components/Icons/Media/Microphone/Microphone.d.ts +0 -3
  379. package/dist/Components/Icons/Media/MusicNotes/MusicNotes.d.ts +0 -3
  380. package/dist/Components/Icons/Media/PlayCircle/PlayCircle.d.ts +0 -3
  381. package/dist/Components/Icons/Media/SlidersHorizontal/SlidersHorizontal.d.ts +0 -3
  382. package/dist/Components/Icons/Media/StopCircle/StopCircle.d.ts +0 -3
  383. package/dist/Components/Icons/Media/VideoCamera/VideoCamera.d.ts +0 -3
  384. package/dist/Components/Icons/OfficeAndEditing/BuildinfOffice/BuildingOffice.d.ts +0 -3
  385. package/dist/Components/Icons/OfficeAndEditing/Copy/Copy.d.ts +0 -3
  386. package/dist/Components/Icons/OfficeAndEditing/FileText/FileText.d.ts +0 -3
  387. package/dist/Components/Icons/OfficeAndEditing/Files/Files.d.ts +0 -3
  388. package/dist/Components/Icons/OfficeAndEditing/FloppyDisk/FloppyDisk.d.ts +0 -3
  389. package/dist/Components/Icons/OfficeAndEditing/Folder/Folder.d.ts +0 -3
  390. package/dist/Components/Icons/OfficeAndEditing/FolderSimplePlus/FolderSimplePlus.d.ts +0 -3
  391. package/dist/Components/Icons/OfficeAndEditing/Folders/Folders.d.ts +0 -3
  392. package/dist/Components/Icons/OfficeAndEditing/List/List.d.ts +0 -3
  393. package/dist/Components/Icons/OfficeAndEditing/ListBullets/ListBullets.d.ts +0 -3
  394. package/dist/Components/Icons/OfficeAndEditing/ListDashes/ListDashes.d.ts +0 -3
  395. package/dist/Components/Icons/OfficeAndEditing/Printer/Printer.d.ts +0 -3
  396. package/dist/Components/Icons/OfficeAndEditing/TextAa/TextAa.d.ts +0 -3
  397. package/dist/Components/Icons/OfficeAndEditing/TextColumns/TextColumns.d.ts +0 -3
  398. package/dist/Components/Icons/OfficeAndEditing/Trash/Trash.d.ts +0 -3
  399. package/dist/Components/Icons/OfficeAndEditing/TrashSimple/TrashSimple.d.ts +0 -3
  400. package/dist/Components/Icons/People/Person/Person.d.ts +0 -3
  401. package/dist/Components/Icons/People/PersonArmsSpread/PersonArmsSpread.d.ts +0 -3
  402. package/dist/Components/Icons/People/PersonSimpleBike/PersonSimpleBike.d.ts +0 -3
  403. package/dist/Components/Icons/People/PersonSimpleSki/PersonSimpleSki.d.ts +0 -3
  404. package/dist/Components/Icons/People/PersonSimpleWalk/PersonSimpleWalk.d.ts +0 -3
  405. package/dist/Components/Icons/People/User/User.d.ts +0 -3
  406. package/dist/Components/Icons/People/UserCircle/UserCircle.d.ts +0 -3
  407. package/dist/Components/Icons/People/UserSwitch/UserSwitch.d.ts +0 -3
  408. package/dist/Components/Icons/People/Users/Users.d.ts +0 -3
  409. package/dist/Components/Icons/SecurityAndWarnings/Info/Info.d.ts +0 -3
  410. package/dist/Components/Icons/SecurityAndWarnings/Key/Key.d.ts +0 -3
  411. package/dist/Components/Icons/SecurityAndWarnings/LockKeyOpen/LockKeyOpen.d.ts +0 -3
  412. package/dist/Components/Icons/SecurityAndWarnings/LockSimple/LockSimple.d.ts +0 -3
  413. package/dist/Components/Icons/SecurityAndWarnings/Question/Question.d.ts +0 -3
  414. package/dist/Components/Icons/SecurityAndWarnings/ShieldCheck/ShieldCheck.d.ts +0 -3
  415. package/dist/Components/Icons/SecurityAndWarnings/WarningCircle/WarningCircle.d.ts +0 -3
  416. package/dist/Components/Icons/SystemAndDevice/Bell/Bell.d.ts +0 -3
  417. package/dist/Components/Icons/SystemAndDevice/Check/Check.d.ts +0 -3
  418. package/dist/Components/Icons/SystemAndDevice/CheckSquare/CheckSquare.d.ts +0 -3
  419. package/dist/Components/Icons/SystemAndDevice/CloudCheck/CloudCheck.d.ts +0 -3
  420. package/dist/Components/Icons/SystemAndDevice/Desktop/Desktop.d.ts +0 -3
  421. package/dist/Components/Icons/SystemAndDevice/DeviceMobile/DeviceMobile.d.ts +0 -3
  422. package/dist/Components/Icons/SystemAndDevice/DotSixVertical/DotSixVertical.d.ts +0 -3
  423. package/dist/Components/Icons/SystemAndDevice/DotsSix/DotsSix.d.ts +0 -3
  424. package/dist/Components/Icons/SystemAndDevice/DotsThree/DotsThree.d.ts +0 -3
  425. package/dist/Components/Icons/SystemAndDevice/DotsThreeVertical/DotsThreeVertical.d.ts +0 -3
  426. package/dist/Components/Icons/SystemAndDevice/DownloadSimple/DownloadSimple.d.ts +0 -3
  427. package/dist/Components/Icons/SystemAndDevice/Gear/Gear.d.ts +0 -3
  428. package/dist/Components/Icons/SystemAndDevice/Link/Link.d.ts +0 -3
  429. package/dist/Components/Icons/SystemAndDevice/MagnifyingGlass/MagnifyingGlass.d.ts +0 -3
  430. package/dist/Components/Icons/SystemAndDevice/RadioButtonIcon/RadioButtonIcon.d.ts +0 -3
  431. package/dist/Components/Icons/SystemAndDevice/SignIn/SignIn.d.ts +0 -3
  432. package/dist/Components/Icons/SystemAndDevice/SignOut/SignOut.d.ts +0 -3
  433. package/dist/Components/Icons/SystemAndDevice/ToggleLeft/ToggleLeft.d.ts +0 -3
  434. package/dist/Components/Icons/SystemAndDevice/ToggleRight/ToggleRight.d.ts +0 -3
  435. package/dist/Components/Icons/Time/Calendar/Calendar.d.ts +0 -3
  436. package/dist/Components/Icons/Time/CalendarBank/CalendarBank.d.ts +0 -3
  437. package/dist/Components/Icons/Time/CalendarCheck/CalendarCheck.d.ts +0 -3
  438. package/dist/Components/Icons/Time/CalendarDots/CalendarDots.d.ts +0 -3
  439. package/dist/Components/Icons/Time/Clock/Clock.d.ts +0 -3
  440. package/dist/Components/Icons/Time/ClockCounterClockwise/ClockCounterClockwise.d.ts +0 -3
  441. package/dist/Components/Icons/WeatherAndNature/Bird/Bird.d.ts +0 -3
  442. package/dist/Components/Icons/WeatherAndNature/Campfire/Campfire.d.ts +0 -3
  443. package/dist/Components/Icons/WeatherAndNature/CloudSun/CloudSun.d.ts +0 -3
  444. package/dist/Components/Icons/WeatherAndNature/Cow/Cow.d.ts +0 -3
  445. package/dist/Components/Icons/WeatherAndNature/Dog/Dog.d.ts +0 -3
  446. package/dist/Components/Icons/WeatherAndNature/FishSimple/FishSimple.d.ts +0 -3
  447. package/dist/Components/Icons/WeatherAndNature/Flower/Flower.d.ts +0 -3
  448. package/dist/Components/Icons/WeatherAndNature/Moon/Moon.d.ts +0 -3
  449. package/dist/Components/Icons/WeatherAndNature/Mountains/Mountains.d.ts +0 -3
  450. package/dist/Components/Icons/WeatherAndNature/Plant/Plant.d.ts +0 -3
  451. package/dist/Components/Icons/WeatherAndNature/Snowflake/Snowflake.d.ts +0 -3
  452. package/dist/Components/Icons/WeatherAndNature/Sparkle/Sparkle.d.ts +0 -3
  453. package/dist/Components/Icons/WeatherAndNature/Sun/Sun.d.ts +0 -3
  454. package/dist/Components/Icons/WeatherAndNature/Tree/Tree.d.ts +0 -3
  455. package/dist/Components/Icons/index.d.ts +0 -123
  456. package/dist/Components/Layout/Footer/Footer.d.ts +0 -3
  457. package/dist/Components/Layout/Footer/FooterBottom.d.ts +0 -3
  458. package/dist/Components/Layout/Footer/FooterBottomLeft.d.ts +0 -3
  459. package/dist/Components/Layout/Footer/FooterBottomLeftProps.d.ts +0 -11
  460. package/dist/Components/Layout/Footer/FooterBottomProps.d.ts +0 -5
  461. package/dist/Components/Layout/Footer/FooterBottomRight.d.ts +0 -3
  462. package/dist/Components/Layout/Footer/FooterBottomRightProps.d.ts +0 -6
  463. package/dist/Components/Layout/Footer/FooterItem.d.ts +0 -3
  464. package/dist/Components/Layout/Footer/FooterItemProps.d.ts +0 -6
  465. package/dist/Components/Layout/Footer/FooterMiddle.d.ts +0 -3
  466. package/dist/Components/Layout/Footer/FooterMiddleProps.d.ts +0 -6
  467. package/dist/Components/Layout/Footer/FooterProps.d.ts +0 -9
  468. package/dist/Components/Layout/Footer/FooterTop.d.ts +0 -3
  469. package/dist/Components/Layout/Footer/FooterTopProps.d.ts +0 -7
  470. package/dist/Components/Layout/Footer/footer-bg-design.d.ts +0 -2
  471. package/dist/Components/Layout/Header/Header.d.ts +0 -3
  472. package/dist/Components/Layout/Header/HeaderProps.d.ts +0 -7
  473. package/dist/Components/Layout/Header/HeaderRight.d.ts +0 -3
  474. package/dist/Components/Layout/Header/HeaderRightItem.d.ts +0 -3
  475. package/dist/Components/Layout/Header/HeaderRightItemProps.d.ts +0 -11
  476. package/dist/Components/Layout/Header/HeaderRightProps.d.ts +0 -5
  477. package/dist/Components/Layout/Header/MagnifyingGlass/MagnifyingGlass.d.ts +0 -2
  478. package/dist/Components/Layout/Header/MegaMenu/MegaMenu.d.ts +0 -2
  479. package/dist/Components/Layout/Header/MegaMenu/MegaMenuProps.d.ts +0 -4
  480. package/dist/Components/Layout/HeroBanner/HeroBanner.d.ts +0 -3
  481. package/dist/Components/Layout/HeroBanner/HeroBannerProps.d.ts +0 -9
  482. package/dist/Components/Layout/HeroBanner/LargeHeroIcon.d.ts +0 -2
  483. package/dist/Components/Layout/index.d.ts +0 -22
  484. package/dist/Components/Shared/Container/Container.d.ts +0 -3
  485. package/dist/Components/Shared/Container/ContainerProps.d.ts +0 -6
  486. package/dist/Components/Shared/ElementHolder/ElementHolder.d.ts +0 -3
  487. package/dist/Components/Shared/ElementHolder/ElementHolderProps.d.ts +0 -15
  488. package/dist/Components/Shared/index.d.ts +0 -4
  489. package/dist/img/card-one.png +0 -0
  490. package/dist/img/card-three.png +0 -0
  491. package/dist/img/card-two.png +0 -0
  492. package/dist/img/footer-bg-design.svg +0 -14
  493. package/dist/img/footer-logo.svg +0 -9
  494. package/dist/img/promo-banner-image.svg +0 -9
  495. package/dist/img/visit-brand-piller.svg +0 -6
  496. package/dist/img/waikirikiri-full-logo.svg +0 -23
  497. package/dist/index.cjs.js +0 -14
  498. package/dist/index.cjs.js.map +0 -1
  499. package/dist/index.d.ts +0 -5
  500. package/dist/index.es.d.ts +0 -2
  501. package/dist/index.es.js +0 -6787
  502. package/dist/index.es.js.map +0 -1
  503. package/dist/main.d.ts +0 -0
  504. package/dist/selwynui.css +0 -1
  505. package/dist/tsconfig.app.tsbuildinfo +0 -1
  506. package/dist/vite.svg +0 -1
  507. package/src/Components/DataDisplay/Pathway/Pathway.tsx +0 -94
  508. package/src/Components/DataDisplay/Pathway/PathwayProps.tsx +0 -17
@@ -0,0 +1,92 @@
1
+
2
+ import type { Meta, StoryObj } from "@storybook/react";
3
+ import RadioButtons from "./RadioButtons";
4
+ import RadioButton from "./RadioButton";
5
+ import React from 'react';
6
+ import "./radioButton.stories.scss";
7
+
8
+ const meta: Meta = {
9
+ title: "Form / Radio Button",
10
+ component: RadioButton,
11
+ parameters: {
12
+ layout: "centered"
13
+ },
14
+ tags: ["autodocs"]
15
+ };
16
+
17
+ export default meta;
18
+
19
+ type Story = StoryObj<typeof meta>;
20
+
21
+ const RadioButtoTemplate: Story = {
22
+ render: ({ items, ...args }) => {
23
+ return (
24
+ <div className={'visit'}>
25
+ <RadioButtons {...args}>
26
+ {items.map((item: any) => (
27
+ <RadioButton label={item.label} name={item.name} id={item.id}/>
28
+ ))}
29
+ </RadioButtons>
30
+ </div>
31
+ );
32
+ }
33
+ };
34
+
35
+ const RadioButtonBoxTemplate: Story = {
36
+ render: ({ items, ...args }) => {
37
+ return (
38
+ <RadioButtons {...args}>
39
+ {items.map((item: any) => (
40
+ <RadioButton label={item.label} name={item.name} id={item.id} displaytype={item.displayType}/>
41
+ ))}
42
+ </RadioButtons>
43
+ );
44
+ }
45
+ };
46
+
47
+ export const Default = {
48
+ ...RadioButtoTemplate,
49
+ args: {
50
+ columns: false,
51
+ items: [
52
+ {
53
+ id: "r-1",
54
+ name: "check-one",
55
+ disabled: true,
56
+ label: <b>Radio</b>
57
+ },
58
+ {
59
+ id: "r-2",
60
+ name: "check-one",
61
+ disabled: true,
62
+ label: <>
63
+ <i>Radio</i>
64
+ </>
65
+ },
66
+ {
67
+ id: "r-3",
68
+ name: "check-one",
69
+ disabled: true,
70
+ label: "Radio"
71
+ },
72
+ {
73
+ id: "r-4",
74
+ name: "check-one",
75
+ disabled: true,
76
+ label: "Radio"
77
+ },
78
+ {
79
+ id: "r-5",
80
+ name: "check-one",
81
+ disabled: true,
82
+ label: "Radio"
83
+ },
84
+ {
85
+ id: "r-6",
86
+ name: "check-one",
87
+ disabled: true,
88
+ label: "Radio"
89
+ }
90
+ ]
91
+ }
92
+ };
@@ -0,0 +1,18 @@
1
+ import RadioButtonsProps from "./RadioButtonsProps";
2
+ import styles from "./radiobutton.module.scss";
3
+
4
+ const RadioButtons = (props: RadioButtonsProps) => {
5
+ const { children, columns, extraClass } = props;
6
+
7
+ return (
8
+ <div
9
+ className={`${styles.radioSet} ${extraClass} ${
10
+ columns ? styles.container : ""
11
+ }`}
12
+ >
13
+ {children}
14
+ </div>
15
+ );
16
+ };
17
+
18
+ export default RadioButtons;
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from "react";
2
+
3
+ interface RadioButtonsProps {
4
+ children: ReactNode;
5
+ error?: boolean;
6
+ columns?: boolean;
7
+ extraClass?: string;
8
+ }
9
+
10
+ export default RadioButtonsProps;
@@ -0,0 +1,3 @@
1
+ .spacing {
2
+ padding: 4px;
3
+ }
@@ -0,0 +1,188 @@
1
+ .radioSet {
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+ margin: calc(var(--space-unit) * -1);
5
+
6
+ &.container {
7
+ flex-direction: column;
8
+ }
9
+
10
+ &:has(.radioBtnBox) {
11
+ margin:0 -8px;
12
+ flex-wrap:nowrap;
13
+ }
14
+
15
+ }
16
+
17
+ .radioHolder {
18
+ display: inline-flex;
19
+ align-items: center;
20
+ padding: calc(var(--space-unit) * 1);
21
+
22
+ label {
23
+ cursor: pointer;
24
+ font-size: var(--font-size-body-regular);
25
+ font-weight: var(--font-weight-checkbox-label);
26
+ line-height: var(--line-height-checkbox-label);
27
+ margin-left: calc(var(--space-unit) * 3);
28
+ }
29
+
30
+ .radioBtnLabel {
31
+ margin-left: calc(var(--space-unit) * 3);
32
+ }
33
+
34
+ &.error {
35
+ label {
36
+ color: var(--color-error);
37
+ }
38
+ }
39
+
40
+ &.disabled {
41
+ label {
42
+ cursor: not-allowed;
43
+ color: var(--radio-button-label-text);
44
+ }
45
+ }
46
+
47
+ }
48
+
49
+ .radioButtonWrap {
50
+ display: flex;
51
+
52
+ &:has(.radioBtnBox) {
53
+ padding: 0 8px;
54
+ width: 100%;
55
+ }
56
+ }
57
+
58
+ .radioBtnBox {
59
+ border: 1px solid var(--radio-button-border);
60
+ flex-direction: row-reverse;
61
+ padding:15px 24px;
62
+ justify-content: space-between;
63
+ border-radius: 4px;
64
+ width: 100%;
65
+ height: 100%;
66
+ cursor: pointer;
67
+
68
+ .container & {
69
+ margin-bottom: 16px;
70
+ }
71
+
72
+ label {
73
+ font-family: var(--font);
74
+ margin-left:0;
75
+ margin-right: 12px;
76
+ }
77
+
78
+
79
+ }
80
+
81
+
82
+ .radioBtnBox:has(input[type="radio"]:checked) {
83
+ --dropdown-border-color: var(--dropdown-selector-color);
84
+
85
+ }
86
+
87
+ [dir="rtl"] {
88
+ .radioHolder {
89
+ label {
90
+ margin-left: 0px;
91
+ margin-right: calc(var(--space-unit) * 3);
92
+ }
93
+ }
94
+ }
95
+ .radio {
96
+ position: relative;
97
+ display: inline-flex;
98
+ align-items: center;
99
+ justify-content: center;
100
+ flex-shrink: 0;
101
+ flex-grow: 0;
102
+
103
+ input[type="radio"] {
104
+ -webkit-appearance: none;
105
+ width: 20px;
106
+ height: 20px;
107
+ border-radius: 100%;
108
+ background-color: #FFFFFF;
109
+ border: 1px solid var(--radio-button-border);
110
+ outline-offset: 2px;
111
+ outline: 2px solid transparent;
112
+ cursor: pointer;
113
+ position: relative; // Ensure position is set to avoid overlay issues
114
+ z-index: 1; // Make sure input is on top for clicks
115
+
116
+ &:checked + .circle {
117
+ opacity: 1;
118
+ }
119
+
120
+ &:focus {
121
+ outline: 2px solid var(--radio-buttin-outline);
122
+ }
123
+
124
+ &:hover {
125
+ border: 2px solid var(--radio-button-border);
126
+ }
127
+
128
+ &:disabled {
129
+ background-color: var(--color-gray-200);
130
+ cursor: not-allowed;
131
+
132
+ &:checked {
133
+ border-color: var(--color-gray-200);
134
+ }
135
+ }
136
+ }
137
+
138
+ .circle {
139
+ content: "";
140
+ position: absolute;
141
+ width: 12px;
142
+ height: 12px;
143
+ border-radius: 100%;
144
+ background-color: var(--radio-button-bg);
145
+ opacity: 0;
146
+ pointer-events: none;
147
+ z-index: 10; // Make sure the circle is behind the input
148
+ }
149
+ }
150
+
151
+
152
+ @media screen and (max-width: 768px) {
153
+ .radioBtnBox {
154
+ .container & {
155
+ margin-bottom: 0px;
156
+ }
157
+ }
158
+
159
+ .radioSet {
160
+ &:has(.radioBtnBox) {
161
+ flex-direction: column;
162
+ margin-left: 0;
163
+ margin-right: 0;
164
+ }
165
+ }
166
+
167
+ .radioButtonWrap {
168
+ &:has(.radioBtnBox) {
169
+ padding-left: 0;
170
+ padding-right: 0;
171
+
172
+ &:last-child {
173
+ .radioBtnBox {
174
+ border-bottom: 1px solid var(--radio-button-border);
175
+ }
176
+ }
177
+ }
178
+ }
179
+
180
+ .radioBtnBox {
181
+ border-bottom: 1px solid transparent;
182
+ }
183
+
184
+ .radioBtnBox:has(input[type="radio"]:checked) {
185
+ border-bottom: 1px solid var(--radio-button-border);
186
+
187
+ }
188
+ }
@@ -0,0 +1,41 @@
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ import RichTextEditor from "./RichTextEditor";
3
+
4
+ // More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export
5
+ const meta = {
6
+ title: "Form / Rich Text",
7
+ component: RichTextEditor,
8
+ parameters: {
9
+ layout: "centered",
10
+ docs: {
11
+ description: {
12
+ component: `The RichText Editor works with TinyMCE community plugin.
13
+
14
+ This is an area BetterUI can be further develop.
15
+
16
+ You will have to download the TinyMCE community plugin from https://www.tiny.cloud/get-tiny/ and place the tinymce folder in your public folder.
17
+
18
+ The Folder structure is
19
+
20
+ - public
21
+ - lib
22
+ - tinymce
23
+ - tinymce.min.js
24
+ - icons
25
+ - ...
26
+ `,
27
+ },
28
+ },
29
+ },
30
+ tags: ["autodocs"],
31
+ } satisfies Meta<typeof RichTextEditor>;
32
+
33
+ export default meta;
34
+ type Story = StoryObj<typeof RichTextEditor>;
35
+
36
+ export const Example: Story = {
37
+ args: {
38
+ placeholder: "Placeholder",
39
+ uploader: false,
40
+ },
41
+ };
@@ -0,0 +1,115 @@
1
+ import { useState } from "react";
2
+ import cx from "classnames";
3
+ import RichTextEditorProps from "./RichTextEditorProps";
4
+ import styles from "./richTextEditor.module.scss";
5
+ import { Editor } from "@tinymce/tinymce-react";
6
+ import LoadingInput from "../LoadingInput/LoadingInput.tsx";
7
+
8
+ const RichTextEditor = (props: RichTextEditorProps) => {
9
+
10
+ const {
11
+ name,
12
+ id,
13
+ value,
14
+ extraClass,
15
+ placeholder,
16
+ error,
17
+ disabled,
18
+ readonly,
19
+ autoComplete,
20
+ required,
21
+ ariaLabel,
22
+ ariaLabeledby,
23
+ ariaDescribedby,
24
+ uploader = true,
25
+ rows,
26
+ onClick,
27
+ onChange,
28
+ onFocus,
29
+ onBlur,
30
+ loading,
31
+
32
+ ...args
33
+ } = props;
34
+
35
+ const [val, setVal] = useState(value);
36
+
37
+ const classes = [styles.holder];
38
+ if (extraClass) {
39
+ classes.push(extraClass);
40
+ }
41
+
42
+ return <div className={cx(classes)}>
43
+ {loading && <LoadingInput/>}
44
+ <Editor
45
+ textareaName={name}
46
+ scriptLoading={{ async: true }}
47
+ tinymceScriptSrc={`/lib/tinymce/tinymce.min.js`}
48
+ id={id}
49
+ disabled={disabled}
50
+ value={value}
51
+ init={{
52
+ placeholder: placeholder,
53
+ height: rows ? 50 * rows : 200,
54
+ menubar: false,
55
+ branding: false,
56
+ plugins: [
57
+ "advlist", "autolink", "lists", "link", "image", "charmap", "preview",
58
+ "anchor", "searchreplace", "visualblocks", "fullscreen",
59
+ "media", "table"
60
+ ],
61
+ toolbar:
62
+ `blocks | formatselect | bold italic underline | bullist numlist | link |` +
63
+ `outdent indent | ` +
64
+ `alignleft aligncenter | ` +
65
+ `${uploader ? 'image' : ''} | ` +
66
+ `undo redo`,
67
+ content_style: ":root { --body-font: Figtree, sans-serif; } body { font-family: var(--body-font); }"
68
+ }}
69
+ onEditorChange={(text: string) => {
70
+ setVal(text);
71
+ if (onChange) {
72
+ onChange(text);
73
+ }
74
+ }}
75
+ onClick={(e: any) => {
76
+ if (onClick) {
77
+ onClick(e);
78
+ }
79
+ }}
80
+ onBlur={(e: any) => {
81
+ if (onBlur) {
82
+ onBlur(e);
83
+ }
84
+ }}
85
+ onFocus={(e: any) => {
86
+ if (onFocus) {
87
+ onFocus(e);
88
+ }
89
+ }}
90
+ />
91
+
92
+ <textarea
93
+ className={styles.hidden}
94
+ id={`editor-text-${id}`}
95
+ name={`${name}__editor`}
96
+ value={val}
97
+ placeholder={placeholder}
98
+ disabled={disabled}
99
+ readOnly={readonly}
100
+ required={required}
101
+ autoComplete={autoComplete ? "on" : "off"}
102
+ aria-label={ariaLabel ? ariaLabel : name}
103
+ aria-required={required ? "true" : "false"}
104
+ aria-invalid={error ? "true" : "false"}
105
+ aria-disabled={disabled ? "true" : "false"}
106
+ aria-readonly={readonly ? "true" : "false"}
107
+ aria-autocomplete={autoComplete ? "list" : "none"}
108
+ {...args}
109
+ />
110
+ </div>;
111
+
112
+ };
113
+
114
+ export default RichTextEditor;
115
+
@@ -0,0 +1,25 @@
1
+ interface RichTextEditorProps {
2
+ name?: string;
3
+ id?: string;
4
+ value?: string;
5
+ extraClass?: string;
6
+ placeholder?: string;
7
+ error?: boolean;
8
+ disabled?: boolean;
9
+ readonly?: boolean;
10
+ autoComplete?: boolean;
11
+ required?: boolean;
12
+ ariaLabel?: string;
13
+ ariaLabeledby?: string;
14
+ ariaDescribedby?: string;
15
+ rows?: number;
16
+ displayChars?: boolean;
17
+ uploader?: boolean;
18
+ onClick?: (e: any) => void;
19
+ onChange?: (value: string) => void;
20
+ onFocus?: (e: any) => void;
21
+ onBlur?: (e: any) => void;
22
+ loading?: boolean;
23
+ }
24
+
25
+ export default RichTextEditorProps;
@@ -0,0 +1,10 @@
1
+ .holder {
2
+ //position: relative;
3
+ width: 100%;
4
+ min-width: 200px;
5
+ min-height: 120px;
6
+ }
7
+
8
+ .hidden {
9
+ display: none;
10
+ }
@@ -0,0 +1,55 @@
1
+ import React from "react";
2
+ import { Meta, StoryObj } from "@storybook/react-vite"
3
+ import SimpleForm from "./SimpleForm"
4
+ import { ElementHolder } from "../../Shared";
5
+ import TextField from "../TextField/TextField";
6
+ import EmailField from "../EmailField/EmailField";
7
+ import Textarea from "../Textarea/Textarea";
8
+ import Checkbox from "../Checkbox/Checkbox";
9
+ import Button from "../Button/Button";
10
+ import ArrowRight from "../../Icons/Arrows/ArrowRight/ArrowRight";
11
+ import FormFieldHolder from "../FormFieldHolder/FormFieldHolder";
12
+
13
+
14
+ const meta: Meta = {
15
+ title: "Form / SimpleForm",
16
+ component: SimpleForm,
17
+ parameters: {
18
+ layout: 'fullscreen',
19
+ },
20
+ tags: ["autodocs"]
21
+ };
22
+
23
+ export default meta;
24
+
25
+ type Story = StoryObj<typeof meta>
26
+
27
+ const SimpleFormTemplate: Story = {
28
+ render: () => {
29
+ return (
30
+ <ElementHolder paddingTop="md" paddingBottom="md" pillar="business" level="light">
31
+ <SimpleForm
32
+ spacingTop="sm"
33
+ formTitle={'Send us a message'}
34
+ formText={'We appreciate you taking the time to get in touch. We’ll get back to you within the next day.'}
35
+ children={
36
+ <>
37
+ <FormFieldHolder extraClass="" label={'Name*'} labelClass="mb-16">
38
+ <TextField required/>
39
+ </FormFieldHolder>
40
+ <FormFieldHolder label={'Email*'}><EmailField required/></FormFieldHolder>
41
+ <FormFieldHolder label={'Phone number'}><TextField /></FormFieldHolder>
42
+ <FormFieldHolder label={'Your message'}><Textarea placeholder={'Let us know how we can help you...'}/></FormFieldHolder>
43
+ <Checkbox label={"I’d love to receive updates about events and happenings in Selwyn."} />
44
+ </>
45
+ }
46
+ callToAction={<Button label="SUBMIT" pillar="business" secondaryIcon={<ArrowRight />} />}
47
+ />
48
+ </ElementHolder>
49
+ )
50
+ }
51
+ }
52
+
53
+ export const SimpleFormComponent = {
54
+ ...SimpleFormTemplate
55
+ }
@@ -0,0 +1,63 @@
1
+ import cx from 'classnames';
2
+ import { Container } from "../../Shared";
3
+ import SimpleFormProps from "./SimpleFormProps";
4
+ import SimpleFormBgDesign from "./simple-form-bg-design";
5
+ import styles from "./simpleForm.module.scss"
6
+ import cslx from "clsx";
7
+
8
+ const SimpleForm = (props: SimpleFormProps) => {
9
+ const {
10
+ formTitle,
11
+ formText,
12
+ extraClass,
13
+ children,
14
+ callToAction,
15
+ spacingTop = 'sm',
16
+ } = props
17
+
18
+ const classes = [
19
+ "button"
20
+ ]
21
+
22
+ const className = cslx (
23
+ styles.simpleFormBlock,
24
+ `${extraClass}`,
25
+ {
26
+ [styles[`spacingTop--pt-${spacingTop}`]]: spacingTop
27
+ }
28
+ )
29
+
30
+ if (extraClass) {
31
+ classes.push(extraClass)
32
+ }
33
+
34
+ return (
35
+ <div className={className}>
36
+ <Container type='simpleForm'>
37
+ <div className={styles.simpleFormBlockWrapper}>
38
+ <h1>{formTitle}</h1>
39
+ <h2>{formText}</h2>
40
+
41
+ <div className={`${styles.simpleFormBgDesignContainer} `}>
42
+ <SimpleFormBgDesign/>
43
+ </div>
44
+
45
+ <div className={styles.simpleFormInputsWrapper}>
46
+ {children}
47
+
48
+ <div className={cx(
49
+ styles.simpleFormButtonWrapper,
50
+ extraClass,
51
+ "button"
52
+ )}>
53
+ {callToAction}
54
+ </div>
55
+ </div>
56
+ </div>
57
+
58
+ </Container>
59
+ </div>
60
+ )
61
+ }
62
+
63
+ export default SimpleForm;
@@ -0,0 +1,13 @@
1
+ import { ReactNode } from "react";
2
+
3
+ interface SimpleFormProps {
4
+ formTitle?: string
5
+ formText?: string
6
+ extraClass?: string
7
+ children?: ReactNode
8
+ callToAction?: ReactNode
9
+ spacingTop?: "none" | "xsm" | "sm" | "md" | "lg";
10
+ spacingBottom?: "none" | "xsm" | "sm" | "md" | "lg" | "xl";
11
+ }
12
+
13
+ export default SimpleFormProps;
@@ -0,0 +1,21 @@
1
+ const SimpleFormBgDesign = () => {
2
+ return (
3
+ <svg width="787" height="361" viewBox="0 0 787 361" fill="none" xmlns="http://www.w3.org/2000/svg">
4
+ <g opacity="0.05">
5
+ <path opacity="0.5" d="M0 120.333C66.601 120.333 120.606 169.838 120.606 230.889H0V120.333Z" fill="currentColor" />
6
+ <path opacity="0.25" d="M251.772 120.333C185.171 120.333 131.166 169.838 131.166 230.889H251.772V120.333Z" fill="currentColor" />
7
+ <path opacity="0.5" d="M776.44 230.889C709.839 230.889 655.834 181.384 655.834 120.333H776.44V230.889Z" fill="currentColor" />
8
+ <path opacity="0.75" d="M131.166 240.667C197.767 240.667 251.772 290.171 251.772 351.222H131.166V240.667Z" fill="currentColor" />
9
+ <path opacity="0.5" d="M262.334 351.222C328.935 351.222 382.94 301.717 382.94 240.667H262.334V351.222Z" fill="currentColor" />
10
+ <path opacity="0.25" d="M514.105 351.222C447.504 351.222 393.499 301.718 393.499 240.667H514.105V351.222Z" fill="currentColor" />
11
+ <path opacity="0.75" d="M645.273 240.667C578.672 240.667 524.667 290.171 524.667 351.222H645.273V240.667Z" fill="currentColor" />
12
+ <path opacity="0.25" d="M524.666 4.88878C591.267 4.88878 645.272 54.3934 645.272 115.444H524.666V4.88878Z" fill="currentColor" />
13
+ <path opacity="0.5" d="M393.499 230.889C460.1 230.889 514.105 181.384 514.105 120.333H393.499V230.889Z" fill="currentColor" />
14
+ <path opacity="0.75" d="M262.334 110.556C328.935 110.556 382.94 61.0509 382.94 0H262.334V110.556Z" fill="currentColor" />
15
+ </g>
16
+ </svg>
17
+
18
+ )
19
+ }
20
+
21
+ export default SimpleFormBgDesign;