@4alldigital/foundation-ui--core 3.0.0

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 (470) hide show
  1. package/LICENSE.txt +21 -0
  2. package/package.json +35 -0
  3. package/src/__mocks__/_examples/cnbc.ts +146 -0
  4. package/src/__mocks__/_examples/nrg.ts +222 -0
  5. package/src/__mocks__/empty-module.js +0 -0
  6. package/src/__mocks__/fileMock.js +3 -0
  7. package/src/__mocks__/fileTransformer.js +8 -0
  8. package/src/__mocks__/mockSearchData.js +511 -0
  9. package/src/__mocks__/nrglogo.svg +74 -0
  10. package/src/__mocks__/styleMock.js +3 -0
  11. package/src/__mocks__/tempPolyFills.js +5 -0
  12. package/src/components/Accordion/Accordion.stories.tsx +33 -0
  13. package/src/components/Accordion/Accordion.tsx +53 -0
  14. package/src/components/Accordion/Accordion.types.ts +8 -0
  15. package/src/components/Accordion/index.ts +1 -0
  16. package/src/components/AnimationCounter/AnimationCounter.stories.tsx +22 -0
  17. package/src/components/AnimationCounter/AnimationCounter.tsx +51 -0
  18. package/src/components/AnimationCounter/AnimationCounter.types.ts +10 -0
  19. package/src/components/AnimationCounter/index.ts +1 -0
  20. package/src/components/AnimationSet1/AnimationSet1.stories.tsx +36 -0
  21. package/src/components/AnimationSet1/AnimationSet1.tsx +107 -0
  22. package/src/components/AnimationSet1/AnimationSet1.types.ts +12 -0
  23. package/src/components/AnimationSet1/index.ts +1 -0
  24. package/src/components/Authenticator/Authenticator.stories.tsx +37 -0
  25. package/src/components/Authenticator/Authenticator.tsx +84 -0
  26. package/src/components/Authenticator/Authenticator.types.ts +7 -0
  27. package/src/components/Authenticator/index.ts +1 -0
  28. package/src/components/Avatar/Avatar.stories.tsx +26 -0
  29. package/src/components/Avatar/Avatar.tsx +88 -0
  30. package/src/components/Avatar/Avatar.types.ts +8 -0
  31. package/src/components/Avatar/index.ts +1 -0
  32. package/src/components/Banner/Banner.stories.tsx +59 -0
  33. package/src/components/Banner/Banner.tsx +60 -0
  34. package/src/components/Banner/Banner.types.ts +9 -0
  35. package/src/components/Banner/index.ts +1 -0
  36. package/src/components/Blockquote/Blockquote.stories.tsx +20 -0
  37. package/src/components/Blockquote/Blockquote.tsx +32 -0
  38. package/src/components/Blockquote/Blockquote.types.ts +8 -0
  39. package/src/components/Blockquote/index.ts +1 -0
  40. package/src/components/Button/Button.stories.tsx +50 -0
  41. package/src/components/Button/Button.tsx +117 -0
  42. package/src/components/Button/Button.types.ts +43 -0
  43. package/src/components/Button/index.ts +1 -0
  44. package/src/components/ButtonGroup/ButtonGroup.stories.tsx +59 -0
  45. package/src/components/ButtonGroup/ButtonGroup.tsx +35 -0
  46. package/src/components/ButtonGroup/ButtonGroup.types.ts +5 -0
  47. package/src/components/ButtonGroup/index.ts +1 -0
  48. package/src/components/Calendar/Calendar.stories.tsx +100 -0
  49. package/src/components/Calendar/Calendar.tsx +91 -0
  50. package/src/components/Calendar/Calendar.types.ts +10 -0
  51. package/src/components/Calendar/index.ts +2 -0
  52. package/src/components/Card/Card.stories.tsx +487 -0
  53. package/src/components/Card/Card.tsx +32 -0
  54. package/src/components/Card/Card.types.ts +79 -0
  55. package/src/components/Card/constants/index.ts +8 -0
  56. package/src/components/Card/index.ts +1 -0
  57. package/src/components/Card/types/CardBasic/CardBasic.tsx +262 -0
  58. package/src/components/Card/types/CardBasic/CardBasic.types.ts +7 -0
  59. package/src/components/Card/types/CardBasic/index.ts +1 -0
  60. package/src/components/Card/types/CardData/CardData.tsx +68 -0
  61. package/src/components/Card/types/CardData/CardData.types.ts +21 -0
  62. package/src/components/Card/types/CardData/index.ts +1 -0
  63. package/src/components/Card/types/CardHorz/CardHorz.tsx +80 -0
  64. package/src/components/Card/types/CardHorz/CardHorz.types.ts +8 -0
  65. package/src/components/Card/types/CardHorz/index.ts +1 -0
  66. package/src/components/Card/types/CardIcon/CardIcon.tsx +76 -0
  67. package/src/components/Card/types/CardIcon/CardIcon.types.ts +8 -0
  68. package/src/components/Card/types/CardIcon/index.ts +1 -0
  69. package/src/components/Card/types/CardMedia/CardMedia.tsx +277 -0
  70. package/src/components/Card/types/CardMedia/CardMedia.types.ts +5 -0
  71. package/src/components/Card/types/CardMedia/index.ts +1 -0
  72. package/src/components/Card/types/CardVideo/CardVideo.tsx +262 -0
  73. package/src/components/Card/types/CardVideo/CardVideo.types.ts +11 -0
  74. package/src/components/Card/types/CardVideo/index.ts +1 -0
  75. package/src/components/CardGrid/CardGrid.stories.tsx +122 -0
  76. package/src/components/CardGrid/CardGrid.tsx +25 -0
  77. package/src/components/CardGrid/CardGrid.types.ts +7 -0
  78. package/src/components/CardGrid/index.ts +1 -0
  79. package/src/components/Carousel/Carousel.stories.tsx +351 -0
  80. package/src/components/Carousel/Carousel.tsx +174 -0
  81. package/src/components/Carousel/Carousel.types.ts +32 -0
  82. package/src/components/Carousel/MIGRATION.md +156 -0
  83. package/src/components/Carousel/index.ts +1 -0
  84. package/src/components/Cart/Cart.stories.tsx +92 -0
  85. package/src/components/Cart/Cart.tsx +194 -0
  86. package/src/components/Cart/Cart.types.ts +4 -0
  87. package/src/components/Cart/index.ts +1 -0
  88. package/src/components/Checkbox/Checkbox.stories.tsx +18 -0
  89. package/src/components/Checkbox/Checkbox.tsx +38 -0
  90. package/src/components/Checkbox/Checkbox.types.ts +15 -0
  91. package/src/components/Checkbox/index.ts +1 -0
  92. package/src/components/Chip/Chip.stories.tsx +37 -0
  93. package/src/components/Chip/Chip.tsx +104 -0
  94. package/src/components/Chip/Chip.types.ts +13 -0
  95. package/src/components/Chip/index.ts +1 -0
  96. package/src/components/Collapsible/Collapsible.stories.tsx +139 -0
  97. package/src/components/Collapsible/Collapsible.tsx +75 -0
  98. package/src/components/Collapsible/Collapsible.types.ts +14 -0
  99. package/src/components/Collapsible/index.ts +3 -0
  100. package/src/components/Container/Container.stories.tsx +17 -0
  101. package/src/components/Container/Container.tsx +51 -0
  102. package/src/components/Container/Container.types.ts +17 -0
  103. package/src/components/Container/index.ts +1 -0
  104. package/src/components/ContentPageLayout/ContentPageLayout.stories.tsx +17 -0
  105. package/src/components/ContentPageLayout/ContentPageLayout.tsx +38 -0
  106. package/src/components/ContentPageLayout/ContentPageLayout.types.ts +17 -0
  107. package/src/components/ContentPageLayout/index.ts +1 -0
  108. package/src/components/ContentRowsLayout/ContentRowsLayout.stories.tsx +19 -0
  109. package/src/components/ContentRowsLayout/ContentRowsLayout.tsx +30 -0
  110. package/src/components/ContentRowsLayout/ContentRowsLayout.types.ts +15 -0
  111. package/src/components/ContentRowsLayout/index.ts +1 -0
  112. package/src/components/Copy/Copy.stories.tsx +28 -0
  113. package/src/components/Copy/Copy.tsx +43 -0
  114. package/src/components/Copy/Copy.types.tsx +53 -0
  115. package/src/components/Copy/index.tsx +1 -0
  116. package/src/components/DisplayHeading/DisplayHeading.stories.tsx +17 -0
  117. package/src/components/DisplayHeading/DisplayHeading.tsx +43 -0
  118. package/src/components/DisplayHeading/DisplayHeading.types.ts +8 -0
  119. package/src/components/DisplayHeading/index.ts +1 -0
  120. package/src/components/FileUpload/FileUpload.stories.tsx +18 -0
  121. package/src/components/FileUpload/FileUpload.tsx +41 -0
  122. package/src/components/FileUpload/FileUpload.types.ts +9 -0
  123. package/src/components/FileUpload/index.ts +1 -0
  124. package/src/components/Footer/Footer.stories.tsx +17 -0
  125. package/src/components/Footer/Footer.tsx +78 -0
  126. package/src/components/Footer/Footer.types.ts +4 -0
  127. package/src/components/Footer/index.ts +1 -0
  128. package/src/components/Form/Form.stories.tsx +81 -0
  129. package/src/components/Form/Form.tsx +98 -0
  130. package/src/components/Form/Form.types.ts +34 -0
  131. package/src/components/Form/index.ts +1 -0
  132. package/src/components/FormField/FormField.stories.tsx +205 -0
  133. package/src/components/FormField/FormField.tsx +258 -0
  134. package/src/components/FormField/FormField.types.ts +89 -0
  135. package/src/components/FormField/index.ts +1 -0
  136. package/src/components/FormSelect/FormSelect.stories.tsx +27 -0
  137. package/src/components/FormSelect/FormSelect.tsx +46 -0
  138. package/src/components/FormSelect/FormSelect.types.ts +45 -0
  139. package/src/components/FormSelect/index.ts +1 -0
  140. package/src/components/FullContentBackgroundImage/FullContentBackgroundImage.stories.tsx +18 -0
  141. package/src/components/FullContentBackgroundImage/FullContentBackgroundImage.tsx +26 -0
  142. package/src/components/FullContentBackgroundImage/FullContentBackgroundImage.types.ts +6 -0
  143. package/src/components/FullContentBackgroundImage/index.ts +1 -0
  144. package/src/components/FullScreenVideoModal/FullScreenVideoModal.stories.tsx +34 -0
  145. package/src/components/FullScreenVideoModal/FullScreenVideoModal.tsx +41 -0
  146. package/src/components/FullScreenVideoModal/FullScreenVideoModal.types.ts +9 -0
  147. package/src/components/FullScreenVideoModal/index.ts +1 -0
  148. package/src/components/Header/Header.stories.tsx +51 -0
  149. package/src/components/Header/Header.tsx +170 -0
  150. package/src/components/Header/Header.types.ts +11 -0
  151. package/src/components/Header/index.ts +1 -0
  152. package/src/components/Heading/Heading.stories.tsx +57 -0
  153. package/src/components/Heading/Heading.tsx +47 -0
  154. package/src/components/Heading/Heading.types.ts +35 -0
  155. package/src/components/Heading/index.ts +1 -0
  156. package/src/components/Hero/Hero.stories.tsx +17 -0
  157. package/src/components/Hero/Hero.tsx +28 -0
  158. package/src/components/Hero/Hero.types.ts +17 -0
  159. package/src/components/Hero/index.ts +1 -0
  160. package/src/components/Hr/Hr.stories.tsx +13 -0
  161. package/src/components/Hr/Hr.tsx +16 -0
  162. package/src/components/Hr/Hr.types.ts +3 -0
  163. package/src/components/Hr/index.ts +1 -0
  164. package/src/components/HtmlContent/HtmlContent.stories.tsx +29 -0
  165. package/src/components/HtmlContent/HtmlContent.tsx +36 -0
  166. package/src/components/HtmlContent/HtmlContent.types.ts +6 -0
  167. package/src/components/HtmlContent/index.ts +1 -0
  168. package/src/components/Icon/Icon.stories.tsx +26 -0
  169. package/src/components/Icon/Icon.tsx +24 -0
  170. package/src/components/Icon/Icon.types.ts +8 -0
  171. package/src/components/Icon/index.ts +2 -0
  172. package/src/components/Image/Image.stories.tsx +32 -0
  173. package/src/components/Image/Image.tsx +71 -0
  174. package/src/components/Image/Image.types.ts +20 -0
  175. package/src/components/Image/index.ts +1 -0
  176. package/src/components/Label/Label.stories.tsx +18 -0
  177. package/src/components/Label/Label.tsx +17 -0
  178. package/src/components/Label/Label.types.ts +9 -0
  179. package/src/components/Label/index.ts +1 -0
  180. package/src/components/Link/Link.stories.tsx +25 -0
  181. package/src/components/Link/Link.tsx +85 -0
  182. package/src/components/Link/Link.types.ts +14 -0
  183. package/src/components/Link/index.ts +1 -0
  184. package/src/components/List/List.stories.tsx +38 -0
  185. package/src/components/List/List.tsx +17 -0
  186. package/src/components/List/List.types.ts +27 -0
  187. package/src/components/List/index.ts +1 -0
  188. package/src/components/ListItem/ListItem.stories.tsx +61 -0
  189. package/src/components/ListItem/ListItem.tsx +53 -0
  190. package/src/components/ListItem/ListItem.types.ts +10 -0
  191. package/src/components/ListItem/index.ts +1 -0
  192. package/src/components/Loader/Loader.stories.tsx +17 -0
  193. package/src/components/Loader/Loader.tsx +34 -0
  194. package/src/components/Loader/Loader.types.ts +5 -0
  195. package/src/components/Loader/index.ts +1 -0
  196. package/src/components/Logo/Logo.stories.tsx +17 -0
  197. package/src/components/Logo/Logo.tsx +17 -0
  198. package/src/components/Logo/Logo.types.ts +6 -0
  199. package/src/components/Logo/index.ts +1 -0
  200. package/src/components/Menu/Menu.stories.tsx +37 -0
  201. package/src/components/Menu/Menu.tsx +45 -0
  202. package/src/components/Menu/Menu.types.ts +15 -0
  203. package/src/components/Menu/index.ts +1 -0
  204. package/src/components/Notice/Notice.stories.tsx +49 -0
  205. package/src/components/Notice/Notice.tsx +63 -0
  206. package/src/components/Notice/Notice.types.ts +11 -0
  207. package/src/components/Notice/index.ts +1 -0
  208. package/src/components/OTPInput/OTPInput.stories.tsx +18 -0
  209. package/src/components/OTPInput/OTPInput.tsx +80 -0
  210. package/src/components/OTPInput/OTPInput.types.ts +8 -0
  211. package/src/components/OTPInput/index.ts +1 -0
  212. package/src/components/PanelCards/PanelCards.stories.tsx +125 -0
  213. package/src/components/PanelCards/PanelCards.tsx +81 -0
  214. package/src/components/PanelCards/PanelCards.types.ts +11 -0
  215. package/src/components/PanelCards/index.ts +1 -0
  216. package/src/components/PanelCustom/PanelCustom.stories.tsx +18 -0
  217. package/src/components/PanelCustom/PanelCustom.tsx +39 -0
  218. package/src/components/PanelCustom/PanelCustom.types.ts +20 -0
  219. package/src/components/PanelCustom/index.ts +1 -0
  220. package/src/components/PanelFeature/PanelFeature.stories.tsx +46 -0
  221. package/src/components/PanelFeature/PanelFeature.tsx +83 -0
  222. package/src/components/PanelFeature/PanelFeature.types.ts +27 -0
  223. package/src/components/PanelFeature/index.ts +1 -0
  224. package/src/components/PanelHero/PanelHero.stories.tsx +126 -0
  225. package/src/components/PanelHero/PanelHero.tsx +184 -0
  226. package/src/components/PanelHero/PanelHero.types.ts +19 -0
  227. package/src/components/PanelHero/index.ts +1 -0
  228. package/src/components/PanelIntro/PanelIntro.stories.tsx +38 -0
  229. package/src/components/PanelIntro/PanelIntro.tsx +139 -0
  230. package/src/components/PanelIntro/PanelIntro.types.ts +19 -0
  231. package/src/components/PanelIntro/index.ts +1 -0
  232. package/src/components/PanelProduct/PanelProduct.stories.tsx +24 -0
  233. package/src/components/PanelProduct/PanelProduct.tsx +87 -0
  234. package/src/components/PanelProduct/PanelProduct.types.ts +14 -0
  235. package/src/components/PanelProduct/index.ts +1 -0
  236. package/src/components/PanelScroller/PanelScroller.stories.tsx +81 -0
  237. package/src/components/PanelScroller/PanelScroller.tsx +58 -0
  238. package/src/components/PanelScroller/PanelScroller.types.ts +8 -0
  239. package/src/components/PanelScroller/index.ts +1 -0
  240. package/src/components/PanelVideo/PanelVideo.stories.tsx +42 -0
  241. package/src/components/PanelVideo/PanelVideo.tsx +81 -0
  242. package/src/components/PanelVideo/PanelVideo.types.ts +11 -0
  243. package/src/components/PanelVideo/index.ts +1 -0
  244. package/src/components/Radio/Radio.stories.tsx +24 -0
  245. package/src/components/Radio/Radio.tsx +44 -0
  246. package/src/components/Radio/Radio.types.ts +13 -0
  247. package/src/components/Radio/index.ts +1 -0
  248. package/src/components/Schedule/Schedule.stories.tsx +96 -0
  249. package/src/components/Schedule/Schedule.tsx +118 -0
  250. package/src/components/Schedule/Schedule.types.ts +64 -0
  251. package/src/components/Schedule/index.ts +1 -0
  252. package/src/components/ScheduleItem/ScheduleItem.stories.tsx +21 -0
  253. package/src/components/ScheduleItem/ScheduleItem.tsx +77 -0
  254. package/src/components/ScheduleItem/ScheduleItem.types.ts +8 -0
  255. package/src/components/ScheduleItem/index.ts +1 -0
  256. package/src/components/Screen/Screen.stories.tsx +27 -0
  257. package/src/components/Screen/Screen.tsx +63 -0
  258. package/src/components/Screen/Screen.types.ts +16 -0
  259. package/src/components/Screen/index.ts +1 -0
  260. package/src/components/ShadcnButton/ShadcnButton.tsx +57 -0
  261. package/src/components/ShadcnButton/index.ts +2 -0
  262. package/src/components/ShadcnCarousel/ShadcnCarousel.tsx +261 -0
  263. package/src/components/ShadcnCarousel/index.ts +9 -0
  264. package/src/components/Share/Share.stories.tsx +17 -0
  265. package/src/components/Share/Share.tsx +60 -0
  266. package/src/components/Share/Share.types.ts +12 -0
  267. package/src/components/Share/index.ts +1 -0
  268. package/src/components/SubscriptionManager/SubscriptionManager.stories.tsx +177 -0
  269. package/src/components/SubscriptionManager/SubscriptionManager.tsx +369 -0
  270. package/src/components/SubscriptionManager/SubscriptionManager.types.ts +36 -0
  271. package/src/components/SubscriptionManager/index.ts +1 -0
  272. package/src/components/Switch/Switch.stories.tsx +20 -0
  273. package/src/components/Switch/Switch.tsx +30 -0
  274. package/src/components/Switch/Switch.types.ts +7 -0
  275. package/src/components/Switch/index.ts +1 -0
  276. package/src/components/Tabs/Tabs.stories.tsx +34 -0
  277. package/src/components/Tabs/Tabs.tsx +42 -0
  278. package/src/components/Tabs/Tabs.types.ts +8 -0
  279. package/src/components/Tabs/index.ts +1 -0
  280. package/src/components/TextInput/TextInput.stories.tsx +18 -0
  281. package/src/components/TextInput/TextInput.tsx +78 -0
  282. package/src/components/TextInput/TextInput.types.ts +81 -0
  283. package/src/components/TextInput/index.ts +1 -0
  284. package/src/components/Video/Video.stories.tsx +75 -0
  285. package/src/components/Video/Video.tsx +280 -0
  286. package/src/components/Video/Video.types.ts +147 -0
  287. package/src/components/Video/index.ts +1 -0
  288. package/src/components/VisitUs/VisitUs.stories.tsx +32 -0
  289. package/src/components/VisitUs/VisitUs.tsx +56 -0
  290. package/src/components/VisitUs/VisitUs.types.ts +13 -0
  291. package/src/components/VisitUs/index.ts +1 -0
  292. package/src/components/index.ts +143 -0
  293. package/src/constants/index.ts +6 -0
  294. package/src/context/Amplify/index.tsx +65 -0
  295. package/src/context/App/index.tsx +93 -0
  296. package/src/context/Cart/index.tsx +64 -0
  297. package/src/context/ExampleContext/index.tsx +34 -0
  298. package/src/context/Theme/index.tsx +37 -0
  299. package/src/context/index.ts +18 -0
  300. package/src/features/Search/Search.stories.tsx +395 -0
  301. package/src/features/Search/Search.tsx +204 -0
  302. package/src/features/Search/Search.types.ts +41 -0
  303. package/src/features/Search/config/config-helper.ts +219 -0
  304. package/src/features/Search/index.ts +1 -0
  305. package/src/features/Search/view-helpers/appendClassName.ts +14 -0
  306. package/src/features/Search/view-helpers/formatResult.ts +97 -0
  307. package/src/features/Search/view-helpers/getFilterValueDisplay.ts +10 -0
  308. package/src/features/Search/view-helpers/getUrlSanitizer.ts +23 -0
  309. package/src/features/Search/view-helpers/index.ts +4 -0
  310. package/src/features/Search/views/Layout/Layout.tsx +50 -0
  311. package/src/features/Search/views/Layout/Layout.types.ts +13 -0
  312. package/src/features/Search/views/Layout/index.ts +1 -0
  313. package/src/features/Search/views/MultiCheckboxFacet/MultiCheckboxFacet.tsx +85 -0
  314. package/src/features/Search/views/MultiCheckboxFacet/MultiCheckboxFacet.types.ts +5 -0
  315. package/src/features/Search/views/MultiCheckboxFacet/index.ts +1 -0
  316. package/src/features/Search/views/Paging/Paging.tsx +35 -0
  317. package/src/features/Search/views/Paging/Paging.types.ts +24 -0
  318. package/src/features/Search/views/Paging/index.ts +1 -0
  319. package/src/features/Search/views/PagingInfo/PagingInfo.tsx +34 -0
  320. package/src/features/Search/views/PagingInfo/PagingInfo.types.ts +26 -0
  321. package/src/features/Search/views/PagingInfo/index.ts +1 -0
  322. package/src/features/Search/views/Result/Result.tsx +84 -0
  323. package/src/features/Search/views/Result/Result.types.ts +47 -0
  324. package/src/features/Search/views/Result/index.ts +1 -0
  325. package/src/features/Search/views/Results/Results.tsx +16 -0
  326. package/src/features/Search/views/Results/Results.types.ts +24 -0
  327. package/src/features/Search/views/Results/index.ts +1 -0
  328. package/src/features/Search/views/ResultsPerPage/ResultsPerPage.tsx +32 -0
  329. package/src/features/Search/views/ResultsPerPage/ResultsPerPage.types.ts +26 -0
  330. package/src/features/Search/views/ResultsPerPage/index.ts +1 -0
  331. package/src/features/Search/views/SearchBox/SearchBox.tsx +51 -0
  332. package/src/features/Search/views/SearchBox/SearchBox.types.ts +10 -0
  333. package/src/features/Search/views/SearchBox/index.ts +1 -0
  334. package/src/features/Search/views/Sidebar/Sidebar.tsx +14 -0
  335. package/src/features/Search/views/Sidebar/Sidebar.types.ts +3 -0
  336. package/src/features/Search/views/Sidebar/index.ts +1 -0
  337. package/src/features/Search/views/SingleLinksFacet/SingleLinksFacet.tsx +62 -0
  338. package/src/features/Search/views/SingleLinksFacet/SingleLinksFacet.types.ts +5 -0
  339. package/src/features/Search/views/SingleLinksFacet/index.ts +1 -0
  340. package/src/features/Search/views/SingleSelectFacet/SingleSelectFacet.tsx +34 -0
  341. package/src/features/Search/views/SingleSelectFacet/SingleSelectFacet.types.ts +5 -0
  342. package/src/features/Search/views/SingleSelectFacet/index.ts +1 -0
  343. package/src/features/Search/views/Sorting/Sorting.tsx +24 -0
  344. package/src/features/Search/views/Sorting/Sorting.types.ts +25 -0
  345. package/src/features/Search/views/Sorting/index.ts +1 -0
  346. package/src/features/index.ts +11 -0
  347. package/src/forms/ForgotPasswordForm/ForgotPasswordForm.stories.tsx +19 -0
  348. package/src/forms/ForgotPasswordForm/ForgotPasswordForm.tsx +28 -0
  349. package/src/forms/ForgotPasswordForm/ForgotPasswordForm.types.ts +3 -0
  350. package/src/forms/ForgotPasswordForm/index.ts +1 -0
  351. package/src/forms/LoginForm/LoginForm.stories.tsx +67 -0
  352. package/src/forms/LoginForm/LoginForm.tsx +112 -0
  353. package/src/forms/LoginForm/LoginForm.types.ts +7 -0
  354. package/src/forms/LoginForm/index.ts +1 -0
  355. package/src/forms/ProfileForm/ProfileForm.stories.tsx +23 -0
  356. package/src/forms/ProfileForm/ProfileForm.tsx +40 -0
  357. package/src/forms/ProfileForm/ProfileForm.types.ts +6 -0
  358. package/src/forms/ProfileForm/index.ts +1 -0
  359. package/src/forms/PromoCodeForm/PromoCodeForm.stories.tsx +19 -0
  360. package/src/forms/PromoCodeForm/PromoCodeForm.tsx +22 -0
  361. package/src/forms/PromoCodeForm/PromoCodeForm.types.ts +4 -0
  362. package/src/forms/PromoCodeForm/index.ts +1 -0
  363. package/src/forms/RegisterForm/RegisterForm.stories.tsx +85 -0
  364. package/src/forms/RegisterForm/RegisterForm.tsx +108 -0
  365. package/src/forms/RegisterForm/RegisterForm.types.ts +6 -0
  366. package/src/forms/RegisterForm/index.ts +1 -0
  367. package/src/forms/ResetPasswordAuthForm/ResetPasswordAuthForm.stories.tsx +23 -0
  368. package/src/forms/ResetPasswordAuthForm/ResetPasswordAuthForm.tsx +39 -0
  369. package/src/forms/ResetPasswordAuthForm/ResetPasswordAuthForm.types.ts +3 -0
  370. package/src/forms/ResetPasswordAuthForm/index.ts +1 -0
  371. package/src/forms/ResetPasswordForm/ResetPasswordForm.stories.tsx +23 -0
  372. package/src/forms/ResetPasswordForm/ResetPasswordForm.tsx +30 -0
  373. package/src/forms/ResetPasswordForm/ResetPasswordForm.types.ts +3 -0
  374. package/src/forms/ResetPasswordForm/index.ts +1 -0
  375. package/src/forms/SubscriptionForm/SubscriptionForm.stories.tsx +31 -0
  376. package/src/forms/SubscriptionForm/SubscriptionForm.tsx +46 -0
  377. package/src/forms/SubscriptionForm/SubscriptionForm.types.ts +6 -0
  378. package/src/forms/SubscriptionForm/index.ts +1 -0
  379. package/src/forms/constants/index.ts +13 -0
  380. package/src/forms/index.ts +17 -0
  381. package/src/forms/validations/index.ts +39 -0
  382. package/src/hooks/index.ts +2 -0
  383. package/src/hooks/useLanguage.ts +18 -0
  384. package/src/hooks/useTheme.ts +6 -0
  385. package/src/index.ts +8 -0
  386. package/src/react-app-env.d.ts +1 -0
  387. package/src/setupTests.ts +5 -0
  388. package/src/templates/AccountScreen/AccountScreen.stories.tsx +67 -0
  389. package/src/templates/AccountScreen/AccountScreen.tsx +78 -0
  390. package/src/templates/AccountScreen/AccountScreen.types.ts +31 -0
  391. package/src/templates/AccountScreen/index.ts +1 -0
  392. package/src/templates/AuthScreen/AuthScreen.stories.tsx +33 -0
  393. package/src/templates/AuthScreen/AuthScreen.tsx +21 -0
  394. package/src/templates/AuthScreen/AuthScreen.types.ts +8 -0
  395. package/src/templates/AuthScreen/index.ts +1 -0
  396. package/src/templates/CardGridScreen/CardGridScreen.stories.tsx +95 -0
  397. package/src/templates/CardGridScreen/CardGridScreen.tsx +43 -0
  398. package/src/templates/CardGridScreen/CardGridScreen.types.ts +11 -0
  399. package/src/templates/CardGridScreen/index.ts +1 -0
  400. package/src/templates/CatalogueScreen/CatalogueScreen.stories.tsx +31 -0
  401. package/src/templates/CatalogueScreen/CatalogueScreen.tsx +21 -0
  402. package/src/templates/CatalogueScreen/CatalogueScreen.types.ts +8 -0
  403. package/src/templates/CatalogueScreen/index.ts +1 -0
  404. package/src/templates/ChallengeLibraryScreen/ChallengeLibraryScreen.stories.tsx +171 -0
  405. package/src/templates/ChallengeLibraryScreen/ChallengeLibraryScreen.tsx +36 -0
  406. package/src/templates/ChallengeLibraryScreen/ChallengeLibraryScreen.types.ts +9 -0
  407. package/src/templates/ChallengeLibraryScreen/index.ts +1 -0
  408. package/src/templates/ChallengeScreen/ChallengeScreen.stories.tsx +65 -0
  409. package/src/templates/ChallengeScreen/ChallengeScreen.tsx +88 -0
  410. package/src/templates/ChallengeScreen/ChallengeScreen.types.ts +22 -0
  411. package/src/templates/ChallengeScreen/index.ts +1 -0
  412. package/src/templates/ContentScreen/ContentScreen.stories.tsx +71 -0
  413. package/src/templates/ContentScreen/ContentScreen.tsx +55 -0
  414. package/src/templates/ContentScreen/ContentScreen.types.ts +9 -0
  415. package/src/templates/ContentScreen/index.ts +1 -0
  416. package/src/templates/DashboardScreen/DashboardScreen.stories.tsx +490 -0
  417. package/src/templates/DashboardScreen/DashboardScreen.tsx +156 -0
  418. package/src/templates/DashboardScreen/DashboardScreen.types.ts +28 -0
  419. package/src/templates/DashboardScreen/index.ts +1 -0
  420. package/src/templates/FAQScreen/FAQScreen.stories.tsx +278 -0
  421. package/src/templates/FAQScreen/FAQScreen.tsx +32 -0
  422. package/src/templates/FAQScreen/FAQScreen.types.ts +14 -0
  423. package/src/templates/FAQScreen/index.ts +1 -0
  424. package/src/templates/HomeScreen/HomeScreen.stories.tsx +315 -0
  425. package/src/templates/HomeScreen/HomeScreen.tsx +50 -0
  426. package/src/templates/HomeScreen/HomeScreen.types.ts +23 -0
  427. package/src/templates/HomeScreen/index.ts +1 -0
  428. package/src/templates/LogoutScreen/LogoutScreen.stories.tsx +20 -0
  429. package/src/templates/LogoutScreen/LogoutScreen.tsx +25 -0
  430. package/src/templates/LogoutScreen/LogoutScreen.types.ts +4 -0
  431. package/src/templates/LogoutScreen/index.ts +1 -0
  432. package/src/templates/MenuScreen/MenuScreen.stories.tsx +36 -0
  433. package/src/templates/MenuScreen/MenuScreen.tsx +32 -0
  434. package/src/templates/MenuScreen/MenuScreen.types.ts +11 -0
  435. package/src/templates/MenuScreen/index.ts +1 -0
  436. package/src/templates/NotFoundScreen/NotFoundScreen.stories.tsx +20 -0
  437. package/src/templates/NotFoundScreen/NotFoundScreen.tsx +31 -0
  438. package/src/templates/NotFoundScreen/NotFoundScreen.types.ts +5 -0
  439. package/src/templates/NotFoundScreen/index.ts +1 -0
  440. package/src/templates/PasswordResetAuthScreen/PasswordResetAuthScreen.stories.tsx +27 -0
  441. package/src/templates/PasswordResetAuthScreen/PasswordResetAuthScreen.tsx +20 -0
  442. package/src/templates/PasswordResetAuthScreen/PasswordResetAuthScreen.types.ts +6 -0
  443. package/src/templates/PasswordResetAuthScreen/index.ts +1 -0
  444. package/src/templates/PasswordResetScreen/PasswordResetScreen.stories.tsx +22 -0
  445. package/src/templates/PasswordResetScreen/PasswordResetScreen.tsx +19 -0
  446. package/src/templates/PasswordResetScreen/PasswordResetScreen.types.ts +6 -0
  447. package/src/templates/PasswordResetScreen/index.ts +1 -0
  448. package/src/templates/ProfileScreen/ProfileScreen.stories.tsx +41 -0
  449. package/src/templates/ProfileScreen/ProfileScreen.tsx +30 -0
  450. package/src/templates/ProfileScreen/ProfileScreen.types.ts +24 -0
  451. package/src/templates/ProfileScreen/index.ts +1 -0
  452. package/src/templates/ScheduleScreen/ScheduleScreen.stories.tsx +174 -0
  453. package/src/templates/ScheduleScreen/ScheduleScreen.tsx +29 -0
  454. package/src/templates/ScheduleScreen/ScheduleScreen.types.ts +9 -0
  455. package/src/templates/ScheduleScreen/index.ts +1 -0
  456. package/src/templates/SubscriptionScreen/SubscriptionScreen.stories.tsx +98 -0
  457. package/src/templates/SubscriptionScreen/SubscriptionScreen.tsx +49 -0
  458. package/src/templates/SubscriptionScreen/SubscriptionScreen.types.ts +28 -0
  459. package/src/templates/SubscriptionScreen/index.ts +1 -0
  460. package/src/templates/WorkoutScreen/WorkoutScreen.stories.tsx +173 -0
  461. package/src/templates/WorkoutScreen/WorkoutScreen.tsx +230 -0
  462. package/src/templates/WorkoutScreen/WorkoutScreen.types.ts +34 -0
  463. package/src/templates/WorkoutScreen/index.ts +1 -0
  464. package/src/templates/index.ts +40 -0
  465. package/src/translations/en.ts +777 -0
  466. package/src/translations/fr.ts +182 -0
  467. package/src/translations/index.ts +2 -0
  468. package/src/utils/htmlParser/index.tsx +22 -0
  469. package/src/utils/index.ts +38 -0
  470. package/src/utils/parseDuration/index.ts +94 -0
@@ -0,0 +1,511 @@
1
+ const response = {
2
+ from: 0,
3
+ size: 8,
4
+ page: 0,
5
+ displaying: 8,
6
+ total: 38,
7
+ results: [
8
+ {
9
+ uuid: "b5309336-6408-3566-8f29-92b6575d9021",
10
+ isLive: false,
11
+ title: "Shotgun Stories",
12
+ shortSynopsis: "Shotgun Stories",
13
+ longSynopsis:
14
+ "Siblings from two rival families are set on a collision course when the father that linked them both dies. Set in the rural backwaters of Arkansas, director Jeff Nichols' first feature tells the story of the alcoholic Cleaman Hayes (Michael Abbott Jr.) who, after marrying Nicole (Natalie Canerday), fathers three sons, Son (Michael Shannon), Kid (Barlow Jacobs) and Boy (Douglas Ligon), only to abandon them to their poverty-stricken fate. After getting himself straight and starting a successful business, Cleaman marries again, this time fathering four more boys, on whom he showers the affection denied to his first sons. With Cleaman's death, both families finally unite at the funeral, where the bitterness about the treatment they received leads Son and his brothers into a fight that soon develops into a blood feud.",
15
+ posterImageUrl: "https://www.bibdsl.co.uk/w10-images/l/MM00145948.jpg",
16
+ trailerUrl: null,
17
+ runtime: 85,
18
+ year: 2008,
19
+ price: null,
20
+ certification: "12A",
21
+ director: [
22
+ { uuid: "fc25a370-0107-11e8-a26e-d852a19f8371", name: "Jeff Nichols" },
23
+ ],
24
+ producer: [
25
+ {
26
+ uuid: "fc25a3fc-0107-11e8-ba68-8ad5d8173565",
27
+ name: "David Gordon Green",
28
+ },
29
+ { uuid: "fc25a460-0107-11e8-9796-72d254e1d002", name: "Lisa Muskat" },
30
+ { uuid: "fc25a4ba-0107-11e8-83d4-93d61c45f508", name: "Jeff Nichols" },
31
+ ],
32
+ writer: [
33
+ { uuid: "fc25a514-0107-11e8-bc09-263900e0a82f", name: "Jeff Nichols" },
34
+ ],
35
+ music: [
36
+ { uuid: "fc25a56e-0107-11e8-9f42-38f651fa457e", name: "Lucero" },
37
+ { uuid: "fc25a5d2-0107-11e8-b138-272cf572bda7", name: "Pyramid" },
38
+ ],
39
+ actor: [
40
+ {
41
+ uuid: "fc25a62c-0107-11e8-b380-96c1f33d02b4",
42
+ name: "Michael Shannon",
43
+ },
44
+ { uuid: "fc25a686-0107-11e8-9311-7859d5d93e09", name: "Douglas Ligon" },
45
+ { uuid: "fc25a6e0-0107-11e8-bb22-f5d9de3f573d", name: "Barlow Jacobs" },
46
+ {
47
+ uuid: "fc25a73a-0107-11e8-9f4e-c7dfc231ac6f",
48
+ name: "Natalie Canerday",
49
+ },
50
+ {
51
+ uuid: "fc25a794-0107-11e8-8770-fb473657ff1d",
52
+ name: "Glenda Pannell",
53
+ },
54
+ {
55
+ uuid: "fc25a7ee-0107-11e8-8ee7-f54fb898cdeb",
56
+ name: "Lynnsee Provence",
57
+ },
58
+ {
59
+ uuid: "fc25a848-0107-11e8-a3ff-6626fc392673",
60
+ name: "Michael Abbott Jr",
61
+ },
62
+ { uuid: "fc25a8a2-0107-11e8-ae6e-106752e9b3ab", name: "Coley Canpany" },
63
+ {
64
+ uuid: "fc25a8fc-0107-11e8-9ca0-f8111e658583",
65
+ name: "Cole Hendrixson",
66
+ },
67
+ ],
68
+ genres: ["Thriller"],
69
+ providers: [],
70
+ },
71
+ {
72
+ uuid: "cc508133-a9d2-379b-acb9-d18e7833d85c",
73
+ isLive: false,
74
+ title: "Popstar - Never Stop Never Stopping",
75
+ shortSynopsis: "Popstar - Never Stop Never Stopping",
76
+ longSynopsis:
77
+ "Akiva Schaffer and Jorma Taccone co-direct and co-write this comedy starring Andy Samberg as mega pop star Conner4Real. Once a member of teenage boy band the Style Boyz and now a successful solo artist, Conner is intent on cementing his place at the top of the music industry. However, when his latest album dramatically bombs, the rapper is forced to go all out in an extravagant tour full of outrageous gimmicks and publicity stunts in a desperate attempt to reinvent his failing image. With sales continuing to decline, the tour spectacularly backfires, only hastening Conner's rapid decline into musical obscurity. After hitting rock bottom when the tour is finally cancelled, original Style Boyz members Owen (Taccone) and Lawrence (Schaffer) suggest a reunion as a way to salvage what's left of their friend's career. With nothing left to lose, a brief appearance at the Pop Awards provides the perfect stage for Conner to swallow his pride and join his old bandmates for their triumphant return to the top of the music game. The all-star cast includes Bill Hader, Sarah Silverman and Will Arnett as well as a host of musical talents such as Snoop Dogg and Seal.",
78
+ posterImageUrl: "https://www.bibdsl.co.uk/w10-images/l/MM00224611.jpg",
79
+ trailerUrl: null,
80
+ runtime: 86,
81
+ year: 2016,
82
+ price: null,
83
+ certification: "15",
84
+ director: [
85
+ {
86
+ uuid: "f72b8aa6-0107-11e8-bc8e-7caed6d4e826",
87
+ name: "Akiva Schaffer",
88
+ },
89
+ { uuid: "f72b8b1e-0107-11e8-b91a-3b3b4088bc06", name: "Jorma Taccone" },
90
+ ],
91
+ producer: [
92
+ { uuid: "f72b8b82-0107-11e8-a5fb-3a8a6f07c8f5", name: "Judd Apatow" },
93
+ {
94
+ uuid: "f72b8be6-0107-11e8-b92a-29b7fb37bd31",
95
+ name: "Rodney Rothman",
96
+ },
97
+ { uuid: "f72b8c40-0107-11e8-abbd-1940870eacc9", name: "Andy Samberg" },
98
+ {
99
+ uuid: "f72b8c9a-0107-11e8-97bc-d68ac502a0b9",
100
+ name: "Akiva Schaffer",
101
+ },
102
+ { uuid: "f72b8cf4-0107-11e8-8179-ce9eb088aa1f", name: "Jorma Taccone" },
103
+ ],
104
+ writer: [
105
+ { uuid: "f72b8d58-0107-11e8-b1fb-3ce96683f150", name: "Andy Samberg" },
106
+ {
107
+ uuid: "f72b8dbc-0107-11e8-9b97-97e319333d3b",
108
+ name: "Akiva Schaffer",
109
+ },
110
+ { uuid: "f72b8e16-0107-11e8-9f46-f13bf7757bdf", name: "Jorma Taccone" },
111
+ ],
112
+ cinematographer: [
113
+ { uuid: "f72b8e70-0107-11e8-bf02-7843abeaab57", name: "Brandon Trost" },
114
+ ],
115
+ actor: [
116
+ { uuid: "f72b8ed4-0107-11e8-ba7c-daf1a09a4ba2", name: "Andy Samberg" },
117
+ {
118
+ uuid: "f72b8f9c-0107-11e8-a512-384bac64cc7d",
119
+ name: "Sarah Silverman",
120
+ },
121
+ { uuid: "f72b9000-0107-11e8-84b6-44f41692d218", name: "Bill Hader" },
122
+ { uuid: "f72b905a-0107-11e8-b43a-63d717c34993", name: "Imogen Poots" },
123
+ { uuid: "f72b90b4-0107-11e8-9b9f-c526fcbd2fa8", name: "Will Arnett" },
124
+ { uuid: "f72b9104-0107-11e8-a3e6-5577c76a7598", name: "Joan Cusack" },
125
+ { uuid: "f72b915e-0107-11e8-8818-c1ed5a7228c9", name: "Jorma Taccone" },
126
+ { uuid: "f72b91b8-0107-11e8-812c-c5472a6e3ee0", name: "Tim Meadows" },
127
+ {
128
+ uuid: "f72b9212-0107-11e8-90f4-2383bb66765f",
129
+ name: "Akiva Schaffer",
130
+ },
131
+ { uuid: "f72b926c-0107-11e8-a841-5ffa9bd58c9b", name: "Snoop Dogg" },
132
+ { uuid: "f72b92c6-0107-11e8-8720-b827216abf17", name: "Seal" },
133
+ { uuid: "f72b9320-0107-11e8-ad31-058d1b369107", name: "Maya Rudolph" },
134
+ ],
135
+ genres: ["Comedy"],
136
+ providers: ["sky"],
137
+ },
138
+ {
139
+ uuid: "cf892775-5797-39b6-9e3a-7c659cba63fd",
140
+ isLive: false,
141
+ title: "Shutter",
142
+ shortSynopsis: "Shutter",
143
+ longSynopsis:
144
+ "Chilling horror remake starring Joshua Jackson. Photographer Benjamin (Jackson) and Jane (Rachael Taylor) are a newly-married couple who travel to Japan for a promising job opportunity. While driving along a dark forest road, they hit a local girl with their car, but when they regain consciousness, find no trace of a body. When the couple arrive in Tokyo, they discover a number of disturbing, ghostly images in a set of photographs that they get developed. Jane believes that the images are spirit photography of the girl they hit on the road, and that she may be seeking vengeance.",
145
+ posterImageUrl: "https://www.bibdsl.co.uk/w10-images/l/MM00145943.jpg",
146
+ trailerUrl: null,
147
+ runtime: 85,
148
+ year: 2008,
149
+ price: null,
150
+ certification: "15",
151
+ director: [
152
+ {
153
+ uuid: "fc252b84-0107-11e8-94f4-fab5b9da2b82",
154
+ name: "Masayuki Ochiai",
155
+ },
156
+ ],
157
+ producer: [
158
+ { uuid: "fc252c10-0107-11e8-8054-b547a6da039e", name: "Doug Davison" },
159
+ {
160
+ uuid: "fc252c74-0107-11e8-80b9-381cd108982d",
161
+ name: "Takashige Ichise",
162
+ },
163
+ { uuid: "fc252cce-0107-11e8-928d-04578ebdbac3", name: "Roy Lee" },
164
+ ],
165
+ writer: [
166
+ { uuid: "fc252d28-0107-11e8-8b3c-6f39520faf66", name: "Luke Dawson" },
167
+ ],
168
+ music: [
169
+ { uuid: "fc252d82-0107-11e8-b925-71c70602fff4", name: "Nathan Barr" },
170
+ ],
171
+ actor: [
172
+ {
173
+ uuid: "fc252ddc-0107-11e8-8a3a-d5519c9c0782",
174
+ name: "Joshua Jackson",
175
+ },
176
+ {
177
+ uuid: "fc252e36-0107-11e8-9553-0ae641004b62",
178
+ name: "Rachael Taylor",
179
+ },
180
+ { uuid: "fc252e90-0107-11e8-81e0-8abe3bd5439e", name: "Megumi Okina" },
181
+ { uuid: "fc252eea-0107-11e8-98c9-c80645e67f39", name: "David Denman" },
182
+ { uuid: "fc252f44-0107-11e8-a0ec-7a88bd8ddf18", name: "John Hensley" },
183
+ { uuid: "fc252f9e-0107-11e8-a08f-d3aeb12d98ef", name: "Maya Hazen" },
184
+ {
185
+ uuid: "fc25300c-0107-11e8-9090-deeaca01ef40",
186
+ name: "James Kyson Lee",
187
+ },
188
+ {
189
+ uuid: "fc253066-0107-11e8-8f05-46f092848a5c",
190
+ name: "Yoshiko Miyazaki",
191
+ },
192
+ { uuid: "fc2530ca-0107-11e8-a616-863e9c628bd0", name: "Kei Yamamoto" },
193
+ { uuid: "fc25311a-0107-11e8-9df3-ab09839b61c8", name: "Daisy Betts" },
194
+ ],
195
+ genres: ["Horror"],
196
+ providers: [],
197
+ },
198
+ {
199
+ uuid: "c455a1b9-f5c7-36e9-b470-a5ad37aa29db",
200
+ isLive: false,
201
+ title: "Semi-pro",
202
+ shortSynopsis: "Semi-pro",
203
+ longSynopsis:
204
+ "Will Ferrell stars in this sports comedy as the owner of a basketball team who has to turn around his team's fortunes for the club to survive. When former NBA player Jackie Moon (Ferrell) strikes it rich with his hit song 'Love Me Sexy', he uses the profits to fulfill his ambition and buy struggling American Basketball Association team the Flint Michigan Tropics. But with the rival leagues about to merge, only four teams from the ABA will be allowed to join the superior NBA division. With the Tropics currently the worst team in the league, Moon has to win his remaining games, by fair means or foul, and turn his band of no-hopers into a well-oiled, slam-dunkin' machine, if they are to survive.",
205
+ posterImageUrl: null,
206
+ trailerUrl: null,
207
+ runtime: 91,
208
+ year: 2008,
209
+ price: null,
210
+ certification: "15",
211
+ director: [
212
+ { uuid: "fa400834-0107-11e8-a4d2-65a6678d03a2", name: "Kent Alterman" },
213
+ ],
214
+ producer: [
215
+ { uuid: "fa4008c0-0107-11e8-ad94-2b99654221f2", name: "Jimmy Miller" },
216
+ ],
217
+ writer: [
218
+ {
219
+ uuid: "fa400924-0107-11e8-ad7c-e8346fdb59d9",
220
+ name: "Scot Armstrong",
221
+ },
222
+ ],
223
+ music: [
224
+ {
225
+ uuid: "fa40097e-0107-11e8-a82a-4db476580b93",
226
+ name: "Theodore Shapiro",
227
+ },
228
+ ],
229
+ actor: [
230
+ { uuid: "fa4009e2-0107-11e8-9875-0a44c363eb85", name: "Will Ferrell" },
231
+ {
232
+ uuid: "fa400a3c-0107-11e8-b1f4-100a7eb5560f",
233
+ name: "Woody Harrelson",
234
+ },
235
+ {
236
+ uuid: "fa400a96-0107-11e8-af75-1d085fd5f1ad",
237
+ name: "André Benjamin",
238
+ },
239
+ { uuid: "fa400afa-0107-11e8-9fb0-e895f4b06233", name: "Maura Tierney" },
240
+ { uuid: "fa400b54-0107-11e8-ae40-ea70b4705e23", name: "Andrew Daly" },
241
+ { uuid: "fa400bb8-0107-11e8-9f03-069e785f4530", name: "Will Arnett" },
242
+ { uuid: "fa400c12-0107-11e8-b88b-8ef40c8e13de", name: "Andy Richter" },
243
+ {
244
+ uuid: "fa400c76-0107-11e8-9601-842141b80e97",
245
+ name: "David Koechner",
246
+ },
247
+ { uuid: "fa400cd0-0107-11e8-88c3-3a58f7ed7158", name: "Rob Corddry" },
248
+ ],
249
+ genres: ["Comedy"],
250
+ providers: [],
251
+ },
252
+ {
253
+ uuid: "1a237fa3-77b3-3d63-bf61-d13d1854d4bc",
254
+ isLive: false,
255
+ title: "First Sunday",
256
+ shortSynopsis: "First Sunday",
257
+ longSynopsis:
258
+ "Urban comedy starring Ice Cube and directed by David E. Talbert. When petty thief, Durell (Ice Cube), finds out that his broke ex-girlfriend is planning to leave the state with the couple's young son, he concocts a money-making scheme to pay off their massive debts. The plan involves Durell and his best friend, LeeJohn (Tracy Morgan), robbing their local church for $17,000. However, when the two down-on-their-luck criminals discover that someone has beaten them to the loot, they hold the congregation hostage in an attempt to find out which of the righteous church-goers has taken the money.",
259
+ posterImageUrl: "https://www.bibdsl.co.uk/w10-images/l/MM00145735.jpg",
260
+ trailerUrl: null,
261
+ runtime: 98,
262
+ year: 2008,
263
+ price: null,
264
+ certification: "12A",
265
+ director: [
266
+ {
267
+ uuid: "fa43c938-0107-11e8-bf2b-c2d9920bcccf",
268
+ name: "David E. Talbert",
269
+ },
270
+ ],
271
+ producer: [
272
+ { uuid: "fa43c9f6-0107-11e8-83ea-ecc4482ea06a", name: "Matt Alvarez" },
273
+ { uuid: "fa43ca5a-0107-11e8-97e5-fdbfac60e1b8", name: "Ice Cube" },
274
+ {
275
+ uuid: "fa43cabe-0107-11e8-bcab-ce7f336dc821",
276
+ name: "David McIlvain",
277
+ },
278
+ { uuid: "fa43cb22-0107-11e8-8edb-5ea42d0196a5", name: "Tim Story" },
279
+ {
280
+ uuid: "fa43cb7c-0107-11e8-8fc4-73c86df5d640",
281
+ name: "David E. Talbert",
282
+ },
283
+ ],
284
+ writer: [
285
+ {
286
+ uuid: "fa43cbe0-0107-11e8-abd0-4da749492a90",
287
+ name: "David E. Talbert",
288
+ },
289
+ ],
290
+ music: [
291
+ {
292
+ uuid: "fa43cc3a-0107-11e8-b2e6-27c292ed1908",
293
+ name: "Stanley Clarke",
294
+ },
295
+ ],
296
+ actor: [
297
+ { uuid: "fa43cc94-0107-11e8-baad-0a09e40611fb", name: "Ice Cube" },
298
+ { uuid: "fa43ccf8-0107-11e8-814f-a52af9a71f9e", name: "Katt Williams" },
299
+ { uuid: "fa43cd52-0107-11e8-bcf3-27a2ca0abf67", name: "Tracy Morgan" },
300
+ {
301
+ uuid: "fa43cdb6-0107-11e8-a356-769d2982f568",
302
+ name: "Loretta Divine",
303
+ },
304
+ { uuid: "fa43ce10-0107-11e8-afd4-7fdf33e3c6e6", name: "Michael Beach" },
305
+ { uuid: "fa43ce6a-0107-11e8-b07d-a88e309397fc", name: "Keith David" },
306
+ { uuid: "fa43cece-0107-11e8-8577-4b311dcb34e0", name: "Regina Hall" },
307
+ {
308
+ uuid: "fa43cf28-0107-11e8-849b-82f5a58b3a00",
309
+ name: "Malinda Williams",
310
+ },
311
+ { uuid: "fa43cf82-0107-11e8-be5c-cd0145d0fb04", name: "Chi McBride" },
312
+ {
313
+ uuid: "fa43cfdc-0107-11e8-8f7b-3a096bf1cb7d",
314
+ name: "Clifton Powell",
315
+ },
316
+ ],
317
+ genres: ["Comedy"],
318
+ providers: [],
319
+ },
320
+ {
321
+ uuid: "78f0baab-f1db-3018-b0d3-e695a364b6cd",
322
+ isLive: false,
323
+ title: "Deception",
324
+ shortSynopsis: "Deception",
325
+ longSynopsis:
326
+ "Thriller starring Hugh Jackman and Ewan McGregor. Jonathan McQuarry (McGregor) is an accountant who is growing tired of his mundane life. When his new lawyer friend, Wyatt Bose (Jackman), introduces him to an underground sex club known as The List, he becomes besotted by a mysterious woman known as 'S' (Michelle Williams). However, Jonathan's life is turned upside down when the woman vanishes and he is named as the prime suspect in her disappearance.",
327
+ posterImageUrl: "https://www.bibdsl.co.uk/w10-images/l/MM00145751.jpg",
328
+ trailerUrl: null,
329
+ runtime: 108,
330
+ year: 2008,
331
+ price: null,
332
+ certification: "15",
333
+ director: [
334
+ {
335
+ uuid: "fa46138c-0107-11e8-a2b6-6e3d25211fba",
336
+ name: "Marcel Langenegger",
337
+ },
338
+ ],
339
+ producer: [
340
+ {
341
+ uuid: "fa461472-0107-11e8-a4df-6982eedd7dae",
342
+ name: "Robbie Brenner",
343
+ },
344
+ {
345
+ uuid: "fa4614e0-0107-11e8-9f91-940c7a3e5173",
346
+ name: "David L. Bushell",
347
+ },
348
+ {
349
+ uuid: "fa461544-0107-11e8-9494-5ed76b0110ae",
350
+ name: "Christopher Eberts",
351
+ },
352
+ { uuid: "fa4615a8-0107-11e8-b6ee-a8d3f55cf743", name: "Hugh Jackman" },
353
+ { uuid: "fa461602-0107-11e8-8136-f3fdffca505a", name: "John Palermo" },
354
+ { uuid: "fa46165c-0107-11e8-82f0-c245b7e8afd5", name: "Arnold Rifkin" },
355
+ { uuid: "fa4616c0-0107-11e8-8b30-606f2e1b3dae", name: "Marjorie Shik" },
356
+ ],
357
+ writer: [
358
+ { uuid: "fa461724-0107-11e8-8347-1123d39c13fb", name: "Mark Bomback" },
359
+ ],
360
+ music: [
361
+ { uuid: "fa46177e-0107-11e8-9a09-df1cfa142fa1", name: "Ramin Djawadi" },
362
+ ],
363
+ actor: [
364
+ { uuid: "fa4617e2-0107-11e8-a0a1-9ea57fada878", name: "Hugh Jackman" },
365
+ { uuid: "fa46183c-0107-11e8-a7cd-70d2746c6566", name: "Ewan McGregor" },
366
+ {
367
+ uuid: "fa4618a0-0107-11e8-861e-44d0d25f95db",
368
+ name: "Michelle Williams",
369
+ },
370
+ {
371
+ uuid: "fa4618fa-0107-11e8-91c3-07b6b2724e32",
372
+ name: "Lisa Gay Hamilton",
373
+ },
374
+ { uuid: "fa461954-0107-11e8-bcc6-ee26c89faa37", name: "Maggie Q" },
375
+ {
376
+ uuid: "fa4619b8-0107-11e8-8bb0-61758be6511a",
377
+ name: "Natasha Henstridge",
378
+ },
379
+ { uuid: "fa461a12-0107-11e8-a4a3-0a8b56ffe62a", name: "Lynn Cohen" },
380
+ {
381
+ uuid: "fa461a76-0107-11e8-a269-256a4ca4eaa0",
382
+ name: "Danny Burstein",
383
+ },
384
+ {
385
+ uuid: "fa461ad0-0107-11e8-a91d-25b0af6ac6c9",
386
+ name: "Malcolm Goodwin",
387
+ },
388
+ {
389
+ uuid: "fa461b34-0107-11e8-8a2b-9d41c2cc7989",
390
+ name: "Charlotte Rampling",
391
+ },
392
+ ],
393
+ genres: ["Thriller"],
394
+ providers: [],
395
+ },
396
+ {
397
+ uuid: "1289dcc2-f3da-3530-8666-ecaec3d5e47d",
398
+ isLive: false,
399
+ title: "Sydney White",
400
+ shortSynopsis: "Sydney White",
401
+ longSynopsis:
402
+ "Romantic teen comedy transposing the fairy tale of Snow White and the Seven Dwarves into a modern US college setting. Amanda Bynes stars as Sydney White, a beautiful young student who pledges her allegiance to her late mother's once dignified sorority when she starts college on a scholarship. But she soon realises that sorority life is far from what it was in her mother's day, and decides to find a home outside the college. She ends up sharing a house with seven social outcasts - but soon discovers that every one of the 'seven dorks' has a special quality of his own...",
403
+ posterImageUrl: "https://www.bibdsl.co.uk/w10-images/l/MM00145679.jpg",
404
+ trailerUrl: null,
405
+ runtime: 107,
406
+ year: 2008,
407
+ price: null,
408
+ certification: "12A",
409
+ director: [
410
+ { uuid: "f8887f62-0107-11e8-b07c-c405cb3b3bd4", name: "Joe Nussbaum" },
411
+ ],
412
+ producer: [
413
+ {
414
+ uuid: "f8887fe4-0107-11e8-a581-87f3f323200b",
415
+ name: "David Robinson",
416
+ },
417
+ {
418
+ uuid: "f8888048-0107-11e8-9491-05de58618434",
419
+ name: "James G Robinson",
420
+ },
421
+ ],
422
+ writer: [
423
+ {
424
+ uuid: "f88880ac-0107-11e8-aa00-27c7ef38db8d",
425
+ name: "Chad Gomez Creasey",
426
+ },
427
+ ],
428
+ music: [
429
+ { uuid: "f8888110-0107-11e8-b38f-28e36142edda", name: "Deborah Lurie" },
430
+ ],
431
+ directorPhotography: [
432
+ { uuid: "f8888174-0107-11e8-bf52-f5c00d42c0c6", name: "Mark Irwin" },
433
+ ],
434
+ actor: [
435
+ { uuid: "f88881ce-0107-11e8-9a3c-16e48ef21687", name: "Amanda Bynes" },
436
+ { uuid: "f8888228-0107-11e8-a558-161d86eb77b4", name: "Sara Paxton" },
437
+ { uuid: "f8888282-0107-11e8-a964-84057e660469", name: "Matt Long" },
438
+ {
439
+ uuid: "f88882e6-0107-11e8-a266-c0eb636f4d6d",
440
+ name: "Jack Carpenter",
441
+ },
442
+ { uuid: "f8888340-0107-11e8-84a6-da84856fb018", name: "Jeremy Howard" },
443
+ ],
444
+ genres: ["Comedy"],
445
+ providers: [],
446
+ },
447
+ {
448
+ uuid: "ffe54887-4c79-3a97-b835-0402cf81a5a2",
449
+ isLive: false,
450
+ title: "Street Kings",
451
+ shortSynopsis: "Street Kings",
452
+ longSynopsis:
453
+ "Crime thriller starring Keanu Reeves and Forest Whitaker. Tom Ludlow (Reeves) is a veteran Vice Detective with the LAPD who is on a personal mission to catch the men responsible for the murder of his partner, Terrance Washington (Terry Crews). Meanwhile, Ludlow's supervisor, Captain Wander (Whitaker) is on a mission of his own - to try and keep the vengeful Ludlow within the confines of the law and out of the clutches of Captain Biggs (Hugh Laurie), an Internal Affairs officer who is keeping a close eye on Ludlow's every move. Ludlow recruits a young Homicide Detective (Chris Evans) to help him track down Washington's killers through the crime-filled streets of Los Angeles.",
454
+ posterImageUrl: "https://www.bibdsl.co.uk/w10-images/l/MM00145854.jpg",
455
+ trailerUrl: null,
456
+ runtime: 107,
457
+ year: 2008,
458
+ price: "£8.99",
459
+ certification: "15",
460
+ director: [
461
+ { uuid: "fa488798-0107-11e8-a673-e4b7e1e9edcb", name: "David Ayer" },
462
+ ],
463
+ producer: [
464
+ { uuid: "fa488842-0107-11e8-9ae8-a875114fa82d", name: "Lucas Foster" },
465
+ {
466
+ uuid: "fa4888b0-0107-11e8-a735-e1c69e47318f",
467
+ name: "Alexandra Milchan",
468
+ },
469
+ { uuid: "fa48890a-0107-11e8-87dd-3689d97599a1", name: "Erwin Stoff" },
470
+ ],
471
+ writer: [
472
+ { uuid: "fa48896e-0107-11e8-8e43-826c85499aa3", name: "James Ellroy" },
473
+ { uuid: "fa4889c8-0107-11e8-91f2-881f8a0d2410", name: "Kurt Wimmer" },
474
+ { uuid: "fa488a22-0107-11e8-af3a-048230fc53ff", name: "Jamie Moss" },
475
+ ],
476
+ music: [
477
+ { uuid: "fa488a86-0107-11e8-994f-517d4610e013", name: "Graeme Revell" },
478
+ ],
479
+ actor: [
480
+ { uuid: "fa488ae0-0107-11e8-aee5-ec2a5e12d3cf", name: "Keanu Reeves" },
481
+ {
482
+ uuid: "fa488b3a-0107-11e8-8956-ca19778f0849",
483
+ name: "Forest Whitaker",
484
+ },
485
+ { uuid: "fa488b9e-0107-11e8-808e-5581b0053934", name: "Common" },
486
+ {
487
+ uuid: "fa488bf8-0107-11e8-b03a-307f7f92d372",
488
+ name: "Martha Higareda",
489
+ },
490
+ {
491
+ uuid: "fa488c52-0107-11e8-b52a-f7ce613eda02",
492
+ name: "Cedric the Entertainer",
493
+ },
494
+ { uuid: "fa488cac-0107-11e8-9f8d-563cb38dc745", name: "Hugh Laurie" },
495
+ { uuid: "fa488d06-0107-11e8-b14b-4dd5f46189c5", name: "Chris Evans" },
496
+ { uuid: "fa488d60-0107-11e8-89da-9d58c9a9e17e", name: "Kenneth Choi" },
497
+ { uuid: "fa488dba-0107-11e8-85d1-835e125bf3c9", name: "Noel Gugliemi" },
498
+ { uuid: "fa488e1e-0107-11e8-831d-96bd46810b2f", name: "Naomie Harris" },
499
+ {
500
+ uuid: "fa488e78-0107-11e8-90bd-6bcfb2d4e4bd",
501
+ name: "Amaury Nolasco",
502
+ },
503
+ { uuid: "fa488ed2-0107-11e8-bb73-b277be128163", name: "The Game" },
504
+ ],
505
+ genres: ["Thriller"],
506
+ providers: [],
507
+ },
508
+ ],
509
+ };
510
+
511
+ export default response;
@@ -0,0 +1,74 @@
1
+ <svg viewBox="0 0 200 100" class="Logo_logo__6yrBi">
2
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
3
+ <g id="NRG_Barrebody_pink-background_CMYK" transform="translate(-160.000000, -404.000000)">
4
+ <g id="Group-3" transform="translate(160.000000, 404.000000)">
5
+ <path
6
+ d="M0.195793901,29.9398528 C0.195793901,36.4225026 2.26014721,42.4227129 5.76635121,47.3205047 L5.76635121,12.5596215 C2.26014721,17.4572029 0.195793901,23.4574132 0.195793901,29.9398528"
7
+ id="Fill-2" fill="#73545D"></path>
8
+ <path
9
+ d="M18.3320715,57.4300736 C21.9404837,58.975184 25.913775,59.831756 30.0874869,59.831756 C33.8405889,59.831756 37.4313354,59.1381703 40.7409043,57.8752892 L18.3320715,29.3375394 L18.3320715,57.4300736"
10
+ id="Fill-3" fill="#73545D"></path>
11
+ <path
12
+ d="M41.5390116,40.1074658 L41.5390116,10.5533123 L52.8382755,10.5533123 C47.3556257,4.12555205 39.1983176,0.0481598318 30.0874869,0.0481598318 C20.9768665,0.0481598318 12.8195584,4.12555205 7.33690852,10.5533123 L18.3320715,10.5533123 L41.5390116,40.1074658"
13
+ id="Fill-4" fill="#73545D"></path>
14
+ <path
15
+ d="M54.0399579,12.0538381 L54.0399579,47.8262881 C57.7701367,42.8386961 59.9793901,36.6473186 59.9793901,29.9398528 C59.9793901,23.2325973 57.7701367,17.0414301 54.0399579,12.0538381"
16
+ id="Fill-5" fill="#73545D"></path>
17
+ <path
18
+ d="M5.76635121,10.5533123 L5.76635121,12.5596215 C6.26140904,11.8681388 6.78590957,11.1991588 7.33690852,10.5533123 L5.76635121,10.5533123"
19
+ id="Fill-6" fill="#FFFFFE"></path>
20
+ <path
21
+ d="M54.0399579,10.5533123 L52.8382755,10.5533123 C53.2540484,11.0407992 53.6557308,11.5402734 54.0399579,12.0538381 L54.0399579,10.5533123"
22
+ id="Fill-7" fill="#FFFFFE"></path>
23
+ <path
24
+ d="M52.8382755,10.5533123 L41.5390116,10.5533123 L41.5390116,40.1074658 L18.3320715,10.5533123 L7.33690852,10.5533123 C6.78590957,11.1991588 6.26140904,11.8681388 5.76635121,12.5596215 L5.76635121,47.3205047 C8.93165089,51.7417455 13.2723449,55.2637224 18.3320715,57.4300736 L18.3320715,29.3375394 L40.7409043,57.8752892 C46.0742376,55.8401682 50.6761304,52.3236593 54.0399579,47.8262881 L54.0399579,12.0538381 C53.6557308,11.5402734 53.2540484,11.0407992 52.8382755,10.5533123"
25
+ id="Fill-8" fill="#FFFFFE"></path>
26
+ <path
27
+ d="M105.659096,21.7722397 C104.334175,20.7472135 102.431966,20.2342797 99.9535226,20.2342797 L97.5814932,20.2342797 L97.5814932,32.1583596 L99.9535226,32.1583596 C102.431966,32.1583596 104.334175,31.6454259 105.659096,30.6195584 C106.983386,29.5936909 107.646688,28.1192429 107.646688,26.1966351 C107.646688,24.2731861 106.983386,22.7983176 105.659096,21.7722397"
28
+ id="Fill-9" fill="#73545D"></path>
29
+ <path
30
+ d="M131.72387,29.9398528 C131.72387,13.4315457 118.340904,0.0481598318 101.832387,0.0481598318 C85.3230284,0.0481598318 71.9400631,13.4315457 71.9400631,29.9398528 C71.9400631,40.2126183 77.1228181,49.2742376 85.0155626,54.6548896 L85.0155626,10.5533123 L104.569506,10.5533123 C107.261619,10.5533123 109.611987,10.9493165 111.621661,11.7398528 C113.629232,12.53102 115.285174,13.609674 116.589695,14.9774974 C117.892744,16.345531 118.87571,17.9270242 119.538381,19.7209253 C120.200841,21.5162986 120.532702,23.439327 120.532702,25.4912723 C120.532702,29.1674027 119.644795,32.148265 117.871714,34.4342797 C116.098002,36.7209253 113.480126,38.2706625 110.018717,39.0818086 L120.754574,53.0797056 C127.449842,47.597897 131.72387,39.2683491 131.72387,29.9398528"
31
+ id="Fill-10" fill="#73545D"></path>
32
+ <path
33
+ d="M97.5814932,59.5295478 C98.970347,59.7272345 100.389064,59.831756 101.832387,59.831756 C104.510831,59.831756 107.106204,59.4773922 109.576446,58.8166141 L97.5814932,40.2996845 L97.5814932,59.5295478"
34
+ id="Fill-11" fill="#73545D"></path>
35
+ <path
36
+ d="M199.968454,29.9398528 C199.968454,13.4315457 186.584648,0.0481598318 170.076341,0.0481598318 C153.567403,0.0481598318 140.184858,13.4315457 140.184858,29.9398528 C140.184858,39.3181914 144.504942,47.6864353 151.26225,53.1669821 C149.371188,51.0773922 147.868559,48.6321767 146.761935,45.8256572 C145.521136,42.6845426 144.902839,39.2130389 144.902839,35.4086225 C144.902839,31.6473186 145.511462,28.1962145 146.729127,25.0546793 C147.947424,21.9135647 149.678654,19.2319664 151.922397,17.0090431 C154.166351,14.7878023 156.868349,13.056572 160.031966,11.8159832 C163.194111,10.5770768 166.719874,9.95667718 170.609674,9.95667718 C175.651735,9.95667718 180.07571,11.0471083 183.880126,13.2264984 C187.684543,15.4063091 190.696109,18.7831756 192.919033,23.355836 L180.994742,28.2923239 C179.884332,25.6426919 178.44164,23.7409043 176.66877,22.5863302 C174.894006,21.4328076 172.874869,20.8555205 170.609674,20.8555205 C168.728496,20.8555205 167.019769,21.2082019 165.480967,21.9135647 C163.942587,22.6187171 162.628601,23.6235542 161.538801,24.9263933 C160.449001,26.2302839 159.593481,27.8014721 158.974763,29.6389064 C158.354364,31.4761304 158.044585,33.5276551 158.044585,35.7928496 C158.044585,37.8445846 158.310831,39.7463722 158.846057,41.498633 C159.3796,43.2515247 160.180652,44.7684543 161.250263,46.0506835 C162.31756,47.3324921 163.642902,48.3259727 165.224395,49.0311251 C166.805468,49.7362776 168.643323,50.088959 170.738381,50.088959 C171.976446,50.088959 173.174763,49.9507886 174.328917,49.6725552 C175.48244,49.395163 176.517981,48.9457413 177.436383,48.3259727 C178.355415,47.7070452 179.114616,46.9057834 179.713985,45.9219769 C180.311251,44.9394322 180.71714,43.7425868 180.931651,42.3327024 L170.609674,42.3327024 L170.609674,32.5871714 L195.547844,32.5871714 C195.547844,35.1512093 195.440589,37.481388 195.228181,39.575184 C195.01367,41.6700315 194.586751,43.6147213 193.945321,45.4088328 C193.125131,47.7162986 192.031546,49.7772871 190.675079,51.6006309 C196.399579,46.155205 199.968454,38.4643533 199.968454,29.9398528"
37
+ id="Fill-12" fill="#73545D"></path>
38
+ <path
39
+ d="M105.659096,30.6195584 C104.334175,31.6454259 102.431966,32.1583596 99.9535226,32.1583596 L97.5814932,32.1583596 L97.5814932,20.2342797 L99.9535226,20.2342797 C102.431966,20.2342797 104.334175,20.7472135 105.659096,21.7722397 C106.983386,22.7983176 107.646688,24.2731861 107.646688,26.1966351 C107.646688,28.1192429 106.983386,29.5936909 105.659096,30.6195584 Z M117.871714,34.4342797 C119.644795,32.148265 120.532702,29.1674027 120.532702,25.4912723 C120.532702,23.439327 120.200841,21.5162986 119.538381,19.7209253 C118.87571,17.9270242 117.892744,16.345531 116.589695,14.9774974 C115.285174,13.609674 113.629232,12.53102 111.621661,11.7398528 C109.611987,10.9493165 107.261619,10.5533123 104.569506,10.5533123 L85.0155626,10.5533123 L85.0155626,54.6548896 C88.6977918,57.1650894 92.9699264,58.8729758 97.5814932,59.5295478 L97.5814932,40.2996845 L109.576446,58.8166141 C113.727865,57.7059937 117.523239,55.7251314 120.754574,53.0797056 L110.018717,39.0818086 C113.480126,38.2706625 116.098002,36.7209253 117.871714,34.4342797 Z"
40
+ id="Fill-13" fill="#FFFFFE"></path>
41
+ <path
42
+ d="M195.228181,39.575184 C195.440589,37.481388 195.547844,35.1512093 195.547844,32.5871714 L170.609674,32.5871714 L170.609674,42.3327024 L180.931651,42.3327024 C180.71714,43.7425868 180.311251,44.9394322 179.713985,45.9219769 C179.114616,46.9057834 178.355415,47.7070452 177.436383,48.3259727 C176.517981,48.9457413 175.48244,49.395163 174.328917,49.6725552 C173.174763,49.9507886 171.976446,50.088959 170.738381,50.088959 C168.643323,50.088959 166.805468,49.7362776 165.224395,49.0311251 C163.642902,48.3259727 162.31756,47.3324921 161.250263,46.0506835 C160.180652,44.7684543 159.3796,43.2515247 158.846057,41.498633 C158.310831,39.7463722 158.044585,37.8445846 158.044585,35.7928496 C158.044585,33.5276551 158.354364,31.4761304 158.974763,29.6389064 C159.593481,27.8014721 160.449001,26.2302839 161.538801,24.9263933 C162.628601,23.6235542 163.942587,22.6187171 165.480967,21.9135647 C167.019769,21.2082019 168.728496,20.8555205 170.609674,20.8555205 C172.874869,20.8555205 174.894006,21.4328076 176.66877,22.5863302 C178.44164,23.7409043 179.884332,25.6426919 180.994742,28.2923239 L192.919033,23.355836 C190.696109,18.7831756 187.684543,15.4063091 183.880126,13.2264984 C180.07571,11.0471083 175.651735,9.95667718 170.609674,9.95667718 C166.719874,9.95667718 163.194111,10.5770768 160.031966,11.8159832 C156.868349,13.056572 154.166351,14.7878023 151.922397,17.0090431 C149.678654,19.2319664 147.947424,21.9135647 146.729127,25.0546793 C145.511462,28.1962145 144.902839,31.6473186 144.902839,35.4086225 C144.902839,39.2130389 145.521136,42.6845426 146.761935,45.8256572 C147.868559,48.6321767 149.371188,51.0773922 151.26225,53.1669821 C156.4,57.3337539 162.945952,59.831756 170.076341,59.831756 C178.060988,59.831756 185.314406,56.7011567 190.675079,51.6006309 C192.031546,49.7772871 193.125131,47.7162986 193.945321,45.4088328 C194.586751,43.6147213 195.01367,41.6700315 195.228181,39.575184"
43
+ id="Fill-14" fill="#FFFFFE"></path>
44
+ <path
45
+ d="M13.0109359,82.5312303 C13.0109359,79.538591 11.6275499,77.6187171 9.79242902,77.6187171 C9.00210305,77.6187171 8.15499474,77.9293375 7.6466877,78.3810726 C8.493796,77.5623554 9.82060988,76.9695058 11.5430074,76.9695058 C14.6203996,76.9695058 17.528286,79.3690852 17.528286,84.1688749 C17.528286,88.9400631 14.6203996,91.3398528 11.5711882,91.3398528 C9.34069401,91.3398528 7.90073607,90.2386961 7.30788644,89.081388 C7.84437434,89.7587802 8.74784437,90.2386961 9.7360673,90.2386961 C11.6275499,90.2386961 13.0109359,88.4035752 13.0109359,85.4109359 L13.0109359,82.5312303 Z M0.67318612,91.226919 C2.0002103,90.9728707 2.22607781,90.323449 2.22607781,87.6414301 L2.22607781,73.9202944 C2.22607781,72.2262881 1.71798107,71.7181914 0.67318612,71.464143 L8.21135647,71.464143 C7.16677182,71.7181914 6.65867508,72.2262881 6.65867508,73.9202944 L6.65867508,91.226919 L0.67318612,91.226919 Z"
46
+ id="Fill-15" fill="#73545D"></path>
47
+ <path
48
+ d="M35.3430074,81.8820189 C35.3430074,80.385489 35.2300736,78.2963197 33.9312303,76.9976866 C37.6578339,77.251735 39.8037855,79.5667718 39.8037855,83.3217666 L39.8037855,88.3472135 C39.8037855,90.1823344 39.973081,91.1987382 41.1587802,91.0292324 C40.2271293,91.226919 35.3430074,91.819979 35.3430074,87.2460568 L35.3430074,81.8820189 Z M28.9339642,78.2963197 C30.0914826,78.2963197 31.0233438,79.1997897 31.0233438,80.2725552 C31.0233438,81.3173502 30.0914826,82.2206099 28.9339642,82.2206099 C27.8330179,82.2206099 26.9011567,81.3173502 26.9011567,80.2725552 C26.9011567,79.1997897 27.8330179,78.2963197 28.9339642,78.2963197 Z M25.461409,88.0931651 C25.461409,85.1850683 28.7080967,84.4229232 32.5760252,84.8180862 C30.9949527,84.7051525 29.950368,85.6086225 29.950368,87.3026288 L29.950368,88.4319664 C29.950368,89.871714 31.5596215,91.1139853 33.7617245,89.928286 C31.0233438,92.4973712 25.461409,91.6504732 25.461409,88.0931651 Z"
49
+ id="Fill-16" fill="#73545D"></path>
50
+ <path
51
+ d="M58.945531,77.2235542 C60.1312303,77.2235542 61.091062,78.155205 61.091062,79.2563617 C61.091062,80.3573081 60.1312303,81.288959 58.945531,81.288959 C57.7596215,81.288959 56.7997897,80.3573081 56.7997897,79.2563617 C56.7997897,78.155205 57.7596215,77.2235542 58.945531,77.2235542 Z M48.3299685,91.226919 C49.5438486,91.0010515 49.8826498,90.4082019 49.8826498,87.8954784 L49.8826498,79.595163 C49.8826498,77.7600421 49.3745531,77.3646688 48.3299685,77.1106204 L54.3154574,77.1106204 L54.3154574,88.7141956 C54.3154574,90.5211356 54.7669821,91.0010515 55.8679285,91.226919 L48.3299685,91.226919 Z"
52
+ id="Fill-17" fill="#73545D"></path>
53
+ <path
54
+ d="M78.6799159,77.2235542 C79.8658254,77.2235542 80.8256572,78.155205 80.8256572,79.2563617 C80.8256572,80.3573081 79.8658254,81.288959 78.6799159,81.288959 C77.4940063,81.288959 76.5341746,80.3573081 76.5341746,79.2563617 C76.5341746,78.155205 77.4940063,77.2235542 78.6799159,77.2235542 Z M68.0643533,91.226919 C69.2784437,91.0010515 69.617245,90.4082019 69.617245,87.8954784 L69.617245,79.595163 C69.617245,77.7600421 69.108938,77.3646688 68.0643533,77.1106204 L74.049632,77.1106204 L74.049632,88.7141956 C74.049632,90.5211356 74.5015773,91.0010515 75.6025237,91.226919 L68.0643533,91.226919 Z"
55
+ id="Fill-18" fill="#73545D"></path>
56
+ <path
57
+ d="M96.4946372,84.4229232 C98.5838065,83.6605678 98.9791798,83.0395373 98.9226078,81.4866456 C98.809674,79.0868559 97.8778128,77.1106204 95.8168244,76.9695058 C100.418927,77.1106204 103.637434,79.9337539 103.298633,84.4229232 L96.4946372,84.4229232 Z M92.4008412,86.3427971 C92.4008412,89.2788644 93.6994742,91.3398528 96.6073607,91.3398528 C96.3251314,91.368244 96.0429022,91.368244 95.7604627,91.368244 C91.0740273,91.368244 87.9118822,88.4883281 87.9118822,84.1688749 C87.9118822,79.990326 90.9045216,77.0540484 95.4498423,76.9695058 C93.1913775,77.0822292 92.4008412,79.4256572 92.4008412,81.9947424 L92.4008412,86.3427971 Z"
58
+ id="Fill-19" fill="#73545D"></path>
59
+ <path
60
+ d="M122.75142,82.5312303 C122.75142,79.538591 121.367823,77.6187171 119.532913,77.6187171 C118.742376,77.6187171 117.895478,77.9293375 117.387171,78.3810726 C118.234069,77.5623554 119.561094,76.9695058 121.283281,76.9695058 C124.360673,76.9695058 127.268559,79.3690852 127.268559,84.1688749 C127.268559,88.9400631 124.360673,91.3398528 121.311462,91.3398528 C119.080967,91.3398528 117.64122,90.2386961 117.04816,89.081388 C117.584648,89.7587802 118.488118,90.2386961 119.476341,90.2386961 C121.367823,90.2386961 122.75142,88.4035752 122.75142,85.4109359 L122.75142,82.5312303 Z M110.41367,91.226919 C111.740484,90.9728707 111.966351,90.323449 111.966351,87.6414301 L111.966351,73.9202944 C111.966351,72.2262881 111.458254,71.7181914 110.41367,71.464143 L117.95163,71.464143 C116.907256,71.7181914 116.399159,72.2262881 116.399159,73.9202944 L116.399159,91.226919 L110.41367,91.226919 Z"
61
+ id="Fill-20" fill="#73545D"></path>
62
+ <path
63
+ d="M146.777287,82.0231335 C146.777287,79.1716088 145.478444,77.0822292 143.55857,76.9695058 C147.821872,77.0540484 151.294427,79.5667718 151.294427,84.1404837 C151.294427,88.7705573 147.793691,91.3116719 143.530389,91.3398528 C145.478444,91.2550999 146.777287,89.2506835 146.777287,86.3144059 L146.777287,82.0231335 Z M140.057834,86.3144059 C140.057834,89.2222923 141.328286,91.2550999 143.24816,91.3398528 C139.013249,91.2834911 135.540484,88.7705573 135.540484,84.1688749 C135.540484,79.538591 139.013249,77.0258675 143.276341,76.9695058 C141.384648,77.0822292 140.057834,79.143428 140.057834,82.0231335 L140.057834,86.3144059 Z"
64
+ id="Fill-21" fill="#73545D"></path>
65
+ <path
66
+ d="M169.702419,78.4656151 C169.730389,78.4940063 169.730389,78.5221872 169.75857,78.5221872 C169.730389,78.5221872 169.730389,78.4940063 169.702419,78.4656151 Z M169.589274,78.3528917 C169.617455,78.4092534 169.645846,78.4374343 169.702419,78.4656151 L169.589274,78.3528917 Z M170.690431,73.9766562 C170.690431,72.1697161 170.153943,71.6898002 169.137539,71.464143 L176.67571,71.464143 C175.574553,71.7181914 175.123028,72.1697161 175.123028,73.9766562 L175.123028,88.7423764 C175.123028,90.5211356 175.574553,91.0010515 176.67571,91.226919 L170.690431,91.226919 L170.690431,73.9766562 Z M164.33796,85.5804416 C164.33796,88.5449001 165.721346,90.2386961 167.584648,90.2386961 C168.572871,90.2386961 169.476341,89.7587802 170.041009,89.081388 C169.44816,90.2386961 167.980021,91.3398528 165.777708,91.3398528 C162.728707,91.3398528 159.82061,88.9400631 159.82061,84.1688749 C159.82061,79.3690852 162.728707,76.9695058 165.777708,76.9695058 C167.471924,76.9695058 168.770557,77.5623554 169.589274,78.3528917 C169.109359,77.9293375 168.290641,77.6187171 167.584648,77.6187171 C165.721346,77.6187171 164.33796,79.3974763 164.33796,82.4182965 L164.33796,85.5804416 Z"
67
+ id="Fill-22" fill="#73545D"></path>
68
+ <path
69
+ d="M199.911672,77.1106204 C198.189274,77.5057834 197.398528,78.1833859 196.437434,80.5549947 C197.314406,78.1833859 196.973712,77.5057834 195.646688,77.1106204 L199.911672,77.1106204 Z M187.516299,95.0666667 C188.702419,95.0666667 189.661409,96.0264984 189.661409,97.212408 C189.661409,98.3981073 188.702419,99.357939 187.516299,99.357939 C186.330179,99.357939 185.371188,98.3981073 185.371188,97.212408 C185.371188,96.0264984 186.330179,95.0666667 187.516299,95.0666667 Z M185.200841,79.4256572 C184.466877,77.7600421 183.762355,77.3646688 182.660358,77.1106204 L190.254469,77.1106204 C189.436383,77.3364879 189.154574,77.7600421 189.859096,79.4256572 L193.474238,88.121346 L191.356467,93.513775 L185.200841,79.4256572 Z"
70
+ id="Fill-23" fill="#73545D"></path>
71
+ </g>
72
+ </g>
73
+ </g>
74
+ </svg>
@@ -0,0 +1,3 @@
1
+ // __mocks__/styleMock.js
2
+
3
+ module.exports = {};
@@ -0,0 +1,5 @@
1
+ const raf = (global.requestAnimationFrame = (cb) => {
2
+ setTimeout(cb, 0);
3
+ });
4
+
5
+ export default raf;
@@ -0,0 +1,33 @@
1
+ import type { Meta, StoryObj } from '@storybook/nextjs';
2
+ import Accordion from '.';
3
+
4
+ const meta: Meta<typeof Accordion> = {
5
+ title: 'ORGANISMS/Accordion',
6
+ component: Accordion,
7
+ };
8
+
9
+ type Story = StoryObj<typeof Accordion>;
10
+
11
+ export const Default: Story = {
12
+ args: {
13
+ testID: 'accordion',
14
+ titleKey: 'title',
15
+ contentKey: 'content',
16
+ data: [
17
+ {
18
+ title: 'Accordion 1',
19
+ content: 'Content 1',
20
+ },
21
+ {
22
+ title: 'Accordion 2',
23
+ content: 'Content 2',
24
+ },
25
+ {
26
+ title: 'Accordion 3',
27
+ content: 'Content 3',
28
+ },
29
+ ],
30
+ },
31
+ };
32
+
33
+ export default meta;