@royaloperahouse/chord 0.1.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 (431) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +82 -0
  3. package/dist/chord.cjs.development.js +3611 -0
  4. package/dist/chord.cjs.development.js.map +1 -0
  5. package/dist/chord.cjs.production.min.js +2 -0
  6. package/dist/chord.cjs.production.min.js.map +1 -0
  7. package/dist/chord.esm.js +3588 -0
  8. package/dist/chord.esm.js.map +1 -0
  9. package/dist/components/atoms/Account/Account.d.ts +3 -0
  10. package/dist/components/atoms/Account/index.d.ts +2 -0
  11. package/dist/components/atoms/Basket/Basket.d.ts +3 -0
  12. package/dist/components/atoms/Basket/Basket.style.d.ts +5 -0
  13. package/dist/components/atoms/Basket/index.d.ts +2 -0
  14. package/dist/components/atoms/Buttons/Button.d.ts +4 -0
  15. package/dist/components/atoms/Buttons/Button.style.d.ts +3 -0
  16. package/dist/components/atoms/Buttons/ButtonIconWrapper.style.d.ts +2 -0
  17. package/dist/components/atoms/Buttons/Primary/PrimaryButton.d.ts +4 -0
  18. package/dist/components/atoms/Buttons/Primary/PrimaryButtonWrapper.style.d.ts +4 -0
  19. package/dist/components/atoms/Buttons/Secondary/SecondaryButton.d.ts +4 -0
  20. package/dist/components/atoms/Buttons/Secondary/SecondaryButtonWrapper.style.d.ts +4 -0
  21. package/dist/components/atoms/Buttons/Tertiary/TertiaryButton.d.ts +4 -0
  22. package/dist/components/atoms/Buttons/Tertiary/TertiaryButton.style.d.ts +4 -0
  23. package/dist/components/atoms/Buttons/index.d.ts +4 -0
  24. package/dist/components/atoms/Dropdown/Dropdown.d.ts +3 -0
  25. package/dist/components/atoms/Dropdown/Dropdown.style.d.ts +4 -0
  26. package/dist/components/atoms/Dropdown/index.d.ts +2 -0
  27. package/dist/components/atoms/Grid/Grid.d.ts +2 -0
  28. package/dist/components/atoms/Grid/GridItem.d.ts +3 -0
  29. package/dist/components/atoms/Grid/index.d.ts +3 -0
  30. package/dist/components/atoms/Heading/Heading.d.ts +3 -0
  31. package/dist/components/atoms/Heading/Heading.style.d.ts +3 -0
  32. package/dist/components/atoms/Heading/index.d.ts +2 -0
  33. package/dist/components/atoms/Icons/Icons.d.ts +4 -0
  34. package/dist/components/atoms/Icons/Icons.style.d.ts +9 -0
  35. package/dist/components/atoms/Icons/StorybookSupport/Iconography.d.ts +10 -0
  36. package/dist/components/atoms/Icons/StorybookSupport/IconsDiv.style.d.ts +2 -0
  37. package/dist/components/atoms/Icons/SvgIcons/12px/Remove.svg.d.ts +4 -0
  38. package/dist/components/atoms/Icons/SvgIcons/12px/Tick.svg.d.ts +4 -0
  39. package/dist/components/atoms/Icons/SvgIcons/Actions/AddToMyList.svg.d.ts +4 -0
  40. package/dist/components/atoms/Icons/SvgIcons/Actions/BookTickets.svg.d.ts +4 -0
  41. package/dist/components/atoms/Icons/SvgIcons/Actions/ChooseDates.svg.d.ts +4 -0
  42. package/dist/components/atoms/Icons/SvgIcons/Actions/EditMyList.svg.d.ts +4 -0
  43. package/dist/components/atoms/Icons/SvgIcons/Actions/Filter.svg.d.ts +4 -0
  44. package/dist/components/atoms/Icons/SvgIcons/Actions/FindAScreening.svg.d.ts +4 -0
  45. package/dist/components/atoms/Icons/SvgIcons/Actions/OnMyList.svg.d.ts +4 -0
  46. package/dist/components/atoms/Icons/SvgIcons/Actions/Reminder.svg.d.ts +4 -0
  47. package/dist/components/atoms/Icons/SvgIcons/Actions/Subscribe.svg.d.ts +4 -0
  48. package/dist/components/atoms/Icons/SvgIcons/Actions/Watch.svg.d.ts +4 -0
  49. package/dist/components/atoms/Icons/SvgIcons/Arrows/Arrow.svg.d.ts +4 -0
  50. package/dist/components/atoms/Icons/SvgIcons/Arrows/CarouselArrow.svg.d.ts +4 -0
  51. package/dist/components/atoms/Icons/SvgIcons/Arrows/DropdownArrow.svg.d.ts +4 -0
  52. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Cinema.svg.d.ts +4 -0
  53. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Clock.svg.d.ts +4 -0
  54. package/dist/components/atoms/Icons/SvgIcons/Descriptors/CreditCard.svg.d.ts +4 -0
  55. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Email.svg.d.ts +4 -0
  56. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Info.svg.d.ts +4 -0
  57. package/dist/components/atoms/Icons/SvgIcons/Descriptors/List.svg.d.ts +4 -0
  58. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Location.svg.d.ts +4 -0
  59. package/dist/components/atoms/Icons/SvgIcons/Descriptors/PDF.svg.d.ts +4 -0
  60. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Phone.svg.d.ts +4 -0
  61. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Print.svg.d.ts +4 -0
  62. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Secure.svg.d.ts +4 -0
  63. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Tickets.svg.d.ts +4 -0
  64. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Facebook.svg.d.ts +4 -0
  65. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Instagram.svg.d.ts +4 -0
  66. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Tiktok.svg.d.ts +4 -0
  67. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Twitter.svg.d.ts +4 -0
  68. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Youtube.svg.d.ts +4 -0
  69. package/dist/components/atoms/Icons/SvgIcons/Logos/Sponsors/Sponsor.svg.d.ts +4 -0
  70. package/dist/components/atoms/Icons/SvgIcons/Navigation/BalletAndDance.svg.d.ts +4 -0
  71. package/dist/components/atoms/Icons/SvgIcons/Navigation/Basket.svg.d.ts +4 -0
  72. package/dist/components/atoms/Icons/SvgIcons/Navigation/BasketFull.svg.d.ts +4 -0
  73. package/dist/components/atoms/Icons/SvgIcons/Navigation/Home.svg.d.ts +4 -0
  74. package/dist/components/atoms/Icons/SvgIcons/Navigation/LiveStream.svg.d.ts +4 -0
  75. package/dist/components/atoms/Icons/SvgIcons/Navigation/Menu.svg.d.ts +4 -0
  76. package/dist/components/atoms/Icons/SvgIcons/Navigation/OperaAndMusic.svg.d.ts +4 -0
  77. package/dist/components/atoms/Icons/SvgIcons/Navigation/Search.svg.d.ts +4 -0
  78. package/dist/components/atoms/Icons/SvgIcons/Navigation/Settings.svg.d.ts +4 -0
  79. package/dist/components/atoms/Icons/SvgIcons/Navigation/User.svg.d.ts +4 -0
  80. package/dist/components/atoms/Icons/SvgIcons/Navigation/UserSignedIn.svg.d.ts +4 -0
  81. package/dist/components/atoms/Icons/SvgIcons/Text/Delete.svg.d.ts +4 -0
  82. package/dist/components/atoms/Icons/SvgIcons/Text/Shift.svg.d.ts +4 -0
  83. package/dist/components/atoms/Icons/SvgIcons/Text/Space.svg.d.ts +4 -0
  84. package/dist/components/atoms/Icons/SvgIcons/Utility/Close.svg.d.ts +4 -0
  85. package/dist/components/atoms/Icons/SvgIcons/Utility/Confirm.svg.d.ts +4 -0
  86. package/dist/components/atoms/Icons/SvgIcons/Utility/Detract.svg.d.ts +4 -0
  87. package/dist/components/atoms/Icons/SvgIcons/Utility/Expand.svg.d.ts +4 -0
  88. package/dist/components/atoms/Icons/SvgIcons/Utility/ExternalLink.svg.d.ts +4 -0
  89. package/dist/components/atoms/Icons/SvgIcons/Utility/GridView.svg.d.ts +4 -0
  90. package/dist/components/atoms/Icons/SvgIcons/Utility/ListView.svg.d.ts +4 -0
  91. package/dist/components/atoms/Icons/SvgIcons/Utility/Refresh.svg.d.ts +4 -0
  92. package/dist/components/atoms/Icons/SvgIcons/Video/AudioDescription.svg.d.ts +4 -0
  93. package/dist/components/atoms/Icons/SvgIcons/Video/Back10.svg.d.ts +4 -0
  94. package/dist/components/atoms/Icons/SvgIcons/Video/Clips.svg.d.ts +4 -0
  95. package/dist/components/atoms/Icons/SvgIcons/Video/Forward10.svg.d.ts +4 -0
  96. package/dist/components/atoms/Icons/SvgIcons/Video/FullScreen.svg.d.ts +4 -0
  97. package/dist/components/atoms/Icons/SvgIcons/Video/Minimise.svg.d.ts +4 -0
  98. package/dist/components/atoms/Icons/SvgIcons/Video/Muted.svg.d.ts +4 -0
  99. package/dist/components/atoms/Icons/SvgIcons/Video/Pause.svg.d.ts +4 -0
  100. package/dist/components/atoms/Icons/SvgIcons/Video/Play.svg.d.ts +4 -0
  101. package/dist/components/atoms/Icons/SvgIcons/Video/Restart.svg.d.ts +4 -0
  102. package/dist/components/atoms/Icons/SvgIcons/Video/Subtitles.svg.d.ts +4 -0
  103. package/dist/components/atoms/Icons/SvgIcons/Video/Trailer.svg.d.ts +4 -0
  104. package/dist/components/atoms/Icons/SvgIcons/Video/Volume.svg.d.ts +4 -0
  105. package/dist/components/atoms/Icons/SvgIcons/index.d.ts +71 -0
  106. package/dist/components/atoms/Icons/index.d.ts +2 -0
  107. package/dist/components/atoms/Image/Image.d.ts +38 -0
  108. package/dist/components/atoms/ImageAspectRatioWrapper/ImageAspectRatioWrapper.d.ts +3 -0
  109. package/dist/components/atoms/ImageAspectRatioWrapper/index.d.ts +2 -0
  110. package/dist/components/atoms/IndividualListing/IndividualListing.d.ts +3 -0
  111. package/dist/components/atoms/IndividualListing/IndividualListing.style.d.ts +2 -0
  112. package/dist/components/atoms/IndividualListing/index.d.ts +2 -0
  113. package/dist/components/atoms/Logo/Logo.d.ts +3 -0
  114. package/dist/components/atoms/Logo/Logo.style.d.ts +6 -0
  115. package/dist/components/atoms/Logo/index.d.ts +2 -0
  116. package/dist/components/atoms/Search/Search.d.ts +3 -0
  117. package/dist/components/atoms/Search/Search.style.d.ts +3 -0
  118. package/dist/components/atoms/Search/index.d.ts +2 -0
  119. package/dist/components/atoms/SectionSplitter/SectionSplitter.d.ts +3 -0
  120. package/dist/components/atoms/SectionSplitter/SectionSplitter.style.d.ts +2 -0
  121. package/dist/components/atoms/SectionSplitter/index.d.ts +2 -0
  122. package/dist/components/atoms/Sponsorship/Sponsorship.d.ts +4 -0
  123. package/dist/components/atoms/Sponsorship/index.d.ts +2 -0
  124. package/dist/components/atoms/Tab/Tab.d.ts +3 -0
  125. package/dist/components/atoms/Tab/Tab.style.d.ts +3 -0
  126. package/dist/components/atoms/Tab/index.d.ts +2 -0
  127. package/dist/components/atoms/TextLink/TextLink.d.ts +4 -0
  128. package/dist/components/atoms/TextLink/TextLink.style.d.ts +3 -0
  129. package/dist/components/atoms/TextLink/index.d.ts +2 -0
  130. package/dist/components/atoms/TypeTags/TypeTags.d.ts +3 -0
  131. package/dist/components/atoms/TypeTags/TypeTags.style.d.ts +2 -0
  132. package/dist/components/atoms/TypeTags/index.d.ts +2 -0
  133. package/dist/components/atoms/index.d.ts +9 -0
  134. package/dist/components/index.d.ts +6 -0
  135. package/dist/components/molecules/ContactNewsletter/ContactNewsletter.d.ts +4 -0
  136. package/dist/components/molecules/ContactNewsletter/ContactNewsletter.style.d.ts +8 -0
  137. package/dist/components/molecules/ContactNewsletter/index.d.ts +2 -0
  138. package/dist/components/molecules/Editorial/Editorial.d.ts +4 -0
  139. package/dist/components/molecules/Editorial/Editorial.style.d.ts +6 -0
  140. package/dist/components/molecules/Editorial/index.d.ts +2 -0
  141. package/dist/components/molecules/NavTop/NavTop.d.ts +3 -0
  142. package/dist/components/molecules/NavTop/NavTop.style.d.ts +1 -0
  143. package/dist/components/molecules/NavTop/index.d.ts +2 -0
  144. package/dist/components/molecules/PeopleListing/PeopleListing.d.ts +3 -0
  145. package/dist/components/molecules/PeopleListing/PeopleListing.style.d.ts +2 -0
  146. package/dist/components/molecules/PeopleListing/index.d.ts +2 -0
  147. package/dist/components/molecules/PolicyLinks/PolicyLinks.d.ts +4 -0
  148. package/dist/components/molecules/PolicyLinks/PolicyLinks.style.d.ts +3 -0
  149. package/dist/components/molecules/PolicyLinks/index.d.ts +2 -0
  150. package/dist/components/molecules/PromoWithTitle/PromoWithTitle.d.ts +4 -0
  151. package/dist/components/molecules/PromoWithTitle/PromoWithTitle.style.d.ts +8 -0
  152. package/dist/components/molecules/PromoWithTitle/index.d.ts +2 -0
  153. package/dist/components/molecules/SearchBar/SearchBar.d.ts +3 -0
  154. package/dist/components/molecules/SearchBar/SearchBar.style.d.ts +5 -0
  155. package/dist/components/molecules/SearchBar/index.d.ts +2 -0
  156. package/dist/components/molecules/SectionTitle/SectionTitle.d.ts +3 -0
  157. package/dist/components/molecules/SectionTitle/SectionTitle.style.d.ts +2 -0
  158. package/dist/components/molecules/SectionTitle/index.d.ts +2 -0
  159. package/dist/components/molecules/Tabs/Tabs.d.ts +3 -0
  160. package/dist/components/molecules/Tabs/Tabs.style.d.ts +5 -0
  161. package/dist/components/molecules/Tabs/index.d.ts +2 -0
  162. package/dist/components/molecules/TextOnly/TextOnly.d.ts +4 -0
  163. package/dist/components/molecules/TextOnly/TextOnly.style.d.ts +1 -0
  164. package/dist/components/molecules/TextOnly/index.d.ts +2 -0
  165. package/dist/components/molecules/index.d.ts +6 -0
  166. package/dist/components/organisms/Footer/Footer.d.ts +4 -0
  167. package/dist/components/organisms/Footer/Footer.style.d.ts +6 -0
  168. package/dist/components/organisms/Footer/index.d.ts +2 -0
  169. package/dist/components/organisms/Navigation/Navigation.d.ts +3 -0
  170. package/dist/components/organisms/Navigation/Navigation.style.d.ts +7 -0
  171. package/dist/components/organisms/Navigation/index.d.ts +2 -0
  172. package/dist/components/organisms/index.d.ts +3 -0
  173. package/dist/index.d.ts +3 -0
  174. package/dist/index.js +8 -0
  175. package/dist/jest.setup.d.ts +1 -0
  176. package/dist/styles/GlobalStyles.d.ts +3 -0
  177. package/dist/styles/StorybookSupport/Colours/StorybookColourBox.d.ts +5 -0
  178. package/dist/styles/ThemeProvider.d.ts +3 -0
  179. package/dist/styles/themes.d.ts +2120 -0
  180. package/dist/styles/viewports.d.ts +13 -0
  181. package/dist/types/buttonTypes.d.ts +39 -0
  182. package/dist/types/editorial.d.ts +80 -0
  183. package/dist/types/footer.d.ts +41 -0
  184. package/dist/types/iconTypes.d.ts +33 -0
  185. package/dist/types/image.d.ts +12 -0
  186. package/dist/types/index.d.ts +4 -0
  187. package/dist/types/navigation.d.ts +141 -0
  188. package/dist/types/types.d.ts +256 -0
  189. package/package.json +93 -0
  190. package/src/components/atoms/Account/Account.stories.tsx +93 -0
  191. package/src/components/atoms/Account/Account.test.tsx +54 -0
  192. package/src/components/atoms/Account/Account.tsx +25 -0
  193. package/src/components/atoms/Account/index.tsx +3 -0
  194. package/src/components/atoms/Basket/Basket.stories.tsx +79 -0
  195. package/src/components/atoms/Basket/Basket.style.tsx +74 -0
  196. package/src/components/atoms/Basket/Basket.test.tsx +35 -0
  197. package/src/components/atoms/Basket/Basket.tsx +34 -0
  198. package/src/components/atoms/Basket/index.tsx +3 -0
  199. package/src/components/atoms/Buttons/Button.style.tsx +31 -0
  200. package/src/components/atoms/Buttons/Button.tsx +21 -0
  201. package/src/components/atoms/Buttons/ButtonIconWrapper.style.tsx +10 -0
  202. package/src/components/atoms/Buttons/Buttons.stories.tsx +77 -0
  203. package/src/components/atoms/Buttons/Primary/PrimaryButton.stories.tsx +94 -0
  204. package/src/components/atoms/Buttons/Primary/PrimaryButton.test.tsx +39 -0
  205. package/src/components/atoms/Buttons/Primary/PrimaryButton.tsx +14 -0
  206. package/src/components/atoms/Buttons/Primary/PrimaryButtonWrapper.style.tsx +11 -0
  207. package/src/components/atoms/Buttons/Secondary/SecondaryButton.stories.tsx +84 -0
  208. package/src/components/atoms/Buttons/Secondary/SecondaryButton.test.tsx +39 -0
  209. package/src/components/atoms/Buttons/Secondary/SecondaryButton.tsx +14 -0
  210. package/src/components/atoms/Buttons/Secondary/SecondaryButtonWrapper.style.tsx +11 -0
  211. package/src/components/atoms/Buttons/Tertiary/TertiaryButton.stories.tsx +73 -0
  212. package/src/components/atoms/Buttons/Tertiary/TertiaryButton.style.tsx +29 -0
  213. package/src/components/atoms/Buttons/Tertiary/TertiaryButton.test.tsx +29 -0
  214. package/src/components/atoms/Buttons/Tertiary/TertiaryButton.tsx +18 -0
  215. package/src/components/atoms/Buttons/index.tsx +5 -0
  216. package/src/components/atoms/Dropdown/Dropdown.stories.tsx +153 -0
  217. package/src/components/atoms/Dropdown/Dropdown.style.tsx +64 -0
  218. package/src/components/atoms/Dropdown/Dropdown.test.tsx +67 -0
  219. package/src/components/atoms/Dropdown/Dropdown.tsx +131 -0
  220. package/src/components/atoms/Dropdown/index.tsx +3 -0
  221. package/src/components/atoms/Grid/Grid.stories.tsx +127 -0
  222. package/src/components/atoms/Grid/Grid.test.tsx +17 -0
  223. package/src/components/atoms/Grid/Grid.tsx +11 -0
  224. package/src/components/atoms/Grid/GridItem.test.tsx +25 -0
  225. package/src/components/atoms/Grid/GridItem.tsx +24 -0
  226. package/src/components/atoms/Grid/index.tsx +3 -0
  227. package/src/components/atoms/Heading/Heading.stories.tsx +44 -0
  228. package/src/components/atoms/Heading/Heading.style.tsx +14 -0
  229. package/src/components/atoms/Heading/Heading.test.tsx +13 -0
  230. package/src/components/atoms/Heading/Heading.tsx +15 -0
  231. package/src/components/atoms/Heading/index.tsx +3 -0
  232. package/src/components/atoms/Icons/Icons.stories.tsx +190 -0
  233. package/src/components/atoms/Icons/Icons.style.tsx +24 -0
  234. package/src/components/atoms/Icons/Icons.test.tsx +31 -0
  235. package/src/components/atoms/Icons/Icons.tsx +20 -0
  236. package/src/components/atoms/Icons/StorybookSupport/Iconography.tsx +27 -0
  237. package/src/components/atoms/Icons/StorybookSupport/IconsDiv.style.tsx +49 -0
  238. package/src/components/atoms/Icons/SvgIcons/12px/Remove.svg.tsx +11 -0
  239. package/src/components/atoms/Icons/SvgIcons/12px/Tick.svg.tsx +11 -0
  240. package/src/components/atoms/Icons/SvgIcons/Actions/AddToMyList.svg.tsx +13 -0
  241. package/src/components/atoms/Icons/SvgIcons/Actions/BookTickets.svg.tsx +20 -0
  242. package/src/components/atoms/Icons/SvgIcons/Actions/ChooseDates.svg.tsx +11 -0
  243. package/src/components/atoms/Icons/SvgIcons/Actions/EditMyList.svg.tsx +16 -0
  244. package/src/components/atoms/Icons/SvgIcons/Actions/Filter.svg.tsx +19 -0
  245. package/src/components/atoms/Icons/SvgIcons/Actions/FindAScreening.svg.tsx +31 -0
  246. package/src/components/atoms/Icons/SvgIcons/Actions/OnMyList.svg.tsx +16 -0
  247. package/src/components/atoms/Icons/SvgIcons/Actions/Reminder.svg.tsx +11 -0
  248. package/src/components/atoms/Icons/SvgIcons/Actions/Subscribe.svg.tsx +9 -0
  249. package/src/components/atoms/Icons/SvgIcons/Actions/Watch.svg.tsx +9 -0
  250. package/src/components/atoms/Icons/SvgIcons/Arrows/Arrow.svg.tsx +11 -0
  251. package/src/components/atoms/Icons/SvgIcons/Arrows/CarouselArrow.svg.tsx +11 -0
  252. package/src/components/atoms/Icons/SvgIcons/Arrows/DropdownArrow.svg.tsx +8 -0
  253. package/src/components/atoms/Icons/SvgIcons/Descriptors/Cinema.svg.tsx +31 -0
  254. package/src/components/atoms/Icons/SvgIcons/Descriptors/Clock.svg.tsx +15 -0
  255. package/src/components/atoms/Icons/SvgIcons/Descriptors/CreditCard.svg.tsx +19 -0
  256. package/src/components/atoms/Icons/SvgIcons/Descriptors/Email.svg.tsx +11 -0
  257. package/src/components/atoms/Icons/SvgIcons/Descriptors/Info.svg.tsx +13 -0
  258. package/src/components/atoms/Icons/SvgIcons/Descriptors/List.svg.tsx +22 -0
  259. package/src/components/atoms/Icons/SvgIcons/Descriptors/Location.svg.tsx +15 -0
  260. package/src/components/atoms/Icons/SvgIcons/Descriptors/PDF.svg.tsx +20 -0
  261. package/src/components/atoms/Icons/SvgIcons/Descriptors/Phone.svg.tsx +11 -0
  262. package/src/components/atoms/Icons/SvgIcons/Descriptors/Print.svg.tsx +11 -0
  263. package/src/components/atoms/Icons/SvgIcons/Descriptors/Secure.svg.tsx +15 -0
  264. package/src/components/atoms/Icons/SvgIcons/Descriptors/Tickets.svg.tsx +13 -0
  265. package/src/components/atoms/Icons/SvgIcons/Logos/Social/Facebook.svg.tsx +11 -0
  266. package/src/components/atoms/Icons/SvgIcons/Logos/Social/Instagram.svg.tsx +19 -0
  267. package/src/components/atoms/Icons/SvgIcons/Logos/Social/Tiktok.svg.tsx +11 -0
  268. package/src/components/atoms/Icons/SvgIcons/Logos/Social/Twitter.svg.tsx +11 -0
  269. package/src/components/atoms/Icons/SvgIcons/Logos/Social/Youtube.svg.tsx +11 -0
  270. package/src/components/atoms/Icons/SvgIcons/Logos/Sponsors/Sponsor.svg.tsx +26 -0
  271. package/src/components/atoms/Icons/SvgIcons/Navigation/BalletAndDance.svg.tsx +11 -0
  272. package/src/components/atoms/Icons/SvgIcons/Navigation/Basket.svg.tsx +11 -0
  273. package/src/components/atoms/Icons/SvgIcons/Navigation/BasketFull.svg.tsx +11 -0
  274. package/src/components/atoms/Icons/SvgIcons/Navigation/Home.svg.tsx +11 -0
  275. package/src/components/atoms/Icons/SvgIcons/Navigation/LiveStream.svg.tsx +24 -0
  276. package/src/components/atoms/Icons/SvgIcons/Navigation/Menu.svg.tsx +10 -0
  277. package/src/components/atoms/Icons/SvgIcons/Navigation/OperaAndMusic.svg.tsx +17 -0
  278. package/src/components/atoms/Icons/SvgIcons/Navigation/Search.svg.tsx +11 -0
  279. package/src/components/atoms/Icons/SvgIcons/Navigation/Settings.svg.tsx +15 -0
  280. package/src/components/atoms/Icons/SvgIcons/Navigation/User.svg.tsx +15 -0
  281. package/src/components/atoms/Icons/SvgIcons/Navigation/UserSignedIn.svg.tsx +12 -0
  282. package/src/components/atoms/Icons/SvgIcons/Text/Delete.svg.tsx +12 -0
  283. package/src/components/atoms/Icons/SvgIcons/Text/Shift.svg.tsx +8 -0
  284. package/src/components/atoms/Icons/SvgIcons/Text/Space.svg.tsx +8 -0
  285. package/src/components/atoms/Icons/SvgIcons/Utility/Close.svg.tsx +11 -0
  286. package/src/components/atoms/Icons/SvgIcons/Utility/Confirm.svg.tsx +8 -0
  287. package/src/components/atoms/Icons/SvgIcons/Utility/Detract.svg.tsx +8 -0
  288. package/src/components/atoms/Icons/SvgIcons/Utility/Expand.svg.tsx +8 -0
  289. package/src/components/atoms/Icons/SvgIcons/Utility/ExternalLink.svg.tsx +12 -0
  290. package/src/components/atoms/Icons/SvgIcons/Utility/GridView.svg.tsx +11 -0
  291. package/src/components/atoms/Icons/SvgIcons/Utility/ListView.svg.tsx +10 -0
  292. package/src/components/atoms/Icons/SvgIcons/Utility/Refresh.svg.tsx +15 -0
  293. package/src/components/atoms/Icons/SvgIcons/Video/AudioDescription.svg.tsx +16 -0
  294. package/src/components/atoms/Icons/SvgIcons/Video/Back10.svg.tsx +16 -0
  295. package/src/components/atoms/Icons/SvgIcons/Video/Clips.svg.tsx +10 -0
  296. package/src/components/atoms/Icons/SvgIcons/Video/Forward10.svg.tsx +16 -0
  297. package/src/components/atoms/Icons/SvgIcons/Video/FullScreen.svg.tsx +11 -0
  298. package/src/components/atoms/Icons/SvgIcons/Video/Minimise.svg.tsx +11 -0
  299. package/src/components/atoms/Icons/SvgIcons/Video/Muted.svg.tsx +15 -0
  300. package/src/components/atoms/Icons/SvgIcons/Video/Pause.svg.tsx +9 -0
  301. package/src/components/atoms/Icons/SvgIcons/Video/Play.svg.tsx +9 -0
  302. package/src/components/atoms/Icons/SvgIcons/Video/Restart.svg.tsx +11 -0
  303. package/src/components/atoms/Icons/SvgIcons/Video/Subtitles.svg.tsx +17 -0
  304. package/src/components/atoms/Icons/SvgIcons/Video/Trailer.svg.tsx +12 -0
  305. package/src/components/atoms/Icons/SvgIcons/Video/Volume.svg.tsx +19 -0
  306. package/src/components/atoms/Icons/SvgIcons/index.tsx +149 -0
  307. package/src/components/atoms/Icons/__snapshots__/Icons.test.tsx.snap +1954 -0
  308. package/src/components/atoms/Icons/index.tsx +2 -0
  309. package/src/components/atoms/Image/Image.tsx +72 -0
  310. package/src/components/atoms/ImageAspectRatioWrapper/ImageAspectRatio.test.tsx +23 -0
  311. package/src/components/atoms/ImageAspectRatioWrapper/ImageAspectRatioWrapper.stories.tsx +71 -0
  312. package/src/components/atoms/ImageAspectRatioWrapper/ImageAspectRatioWrapper.tsx +15 -0
  313. package/src/components/atoms/ImageAspectRatioWrapper/index.tsx +3 -0
  314. package/src/components/atoms/IndividualListing/IndividualListing.stories.tsx +51 -0
  315. package/src/components/atoms/IndividualListing/IndividualListing.style.tsx +33 -0
  316. package/src/components/atoms/IndividualListing/IndividualListing.test.tsx +30 -0
  317. package/src/components/atoms/IndividualListing/IndividualListing.tsx +22 -0
  318. package/src/components/atoms/IndividualListing/index.tsx +3 -0
  319. package/src/components/atoms/Logo/Logo.stories.tsx +48 -0
  320. package/src/components/atoms/Logo/Logo.style.tsx +18 -0
  321. package/src/components/atoms/Logo/Logo.tsx +30 -0
  322. package/src/components/atoms/Logo/index.tsx +3 -0
  323. package/src/components/atoms/Search/Search.stories.tsx +63 -0
  324. package/src/components/atoms/Search/Search.style.tsx +36 -0
  325. package/src/components/atoms/Search/Search.test.tsx +24 -0
  326. package/src/components/atoms/Search/Search.tsx +16 -0
  327. package/src/components/atoms/Search/index.tsx +3 -0
  328. package/src/components/atoms/SectionSplitter/SectionSplitter.stories.tsx +47 -0
  329. package/src/components/atoms/SectionSplitter/SectionSplitter.style.tsx +11 -0
  330. package/src/components/atoms/SectionSplitter/SectionSplitter.tsx +22 -0
  331. package/src/components/atoms/SectionSplitter/index.tsx +3 -0
  332. package/src/components/atoms/Sponsorship/Sponsorship.stories.tsx +38 -0
  333. package/src/components/atoms/Sponsorship/Sponsorship.test.tsx +36 -0
  334. package/src/components/atoms/Sponsorship/Sponsorship.tsx +53 -0
  335. package/src/components/atoms/Sponsorship/index.tsx +3 -0
  336. package/src/components/atoms/Tab/Tab.stories.tsx +67 -0
  337. package/src/components/atoms/Tab/Tab.style.tsx +105 -0
  338. package/src/components/atoms/Tab/Tab.test.tsx +28 -0
  339. package/src/components/atoms/Tab/Tab.tsx +34 -0
  340. package/src/components/atoms/Tab/index.tsx +3 -0
  341. package/src/components/atoms/TextLink/TextLink.stories.tsx +81 -0
  342. package/src/components/atoms/TextLink/TextLink.style.tsx +26 -0
  343. package/src/components/atoms/TextLink/TextLink.test.tsx +39 -0
  344. package/src/components/atoms/TextLink/TextLink.tsx +20 -0
  345. package/src/components/atoms/TextLink/index.tsx +3 -0
  346. package/src/components/atoms/TypeTags/TypeTags.stories.tsx +57 -0
  347. package/src/components/atoms/TypeTags/TypeTags.style.tsx +28 -0
  348. package/src/components/atoms/TypeTags/TypeTags.test.tsx +21 -0
  349. package/src/components/atoms/TypeTags/TypeTags.tsx +15 -0
  350. package/src/components/atoms/TypeTags/index.tsx +3 -0
  351. package/src/components/atoms/index.tsx +22 -0
  352. package/src/components/index.tsx +38 -0
  353. package/src/components/molecules/ContactNewsletter/ContactNewsletter.style.tsx +116 -0
  354. package/src/components/molecules/ContactNewsletter/ContactNewsletter.test.tsx +85 -0
  355. package/src/components/molecules/ContactNewsletter/ContactNewsletter.tsx +51 -0
  356. package/src/components/molecules/ContactNewsletter/index.tsx +3 -0
  357. package/src/components/molecules/Editorial/Editorial.stories.tsx +78 -0
  358. package/src/components/molecules/Editorial/Editorial.style.tsx +73 -0
  359. package/src/components/molecules/Editorial/Editorial.test.tsx +73 -0
  360. package/src/components/molecules/Editorial/Editorial.tsx +32 -0
  361. package/src/components/molecules/Editorial/index.tsx +3 -0
  362. package/src/components/molecules/NavTop/NavTop.stories.tsx +95 -0
  363. package/src/components/molecules/NavTop/NavTop.style.tsx +14 -0
  364. package/src/components/molecules/NavTop/NavTop.test.tsx +113 -0
  365. package/src/components/molecules/NavTop/NavTop.tsx +27 -0
  366. package/src/components/molecules/NavTop/index.tsx +3 -0
  367. package/src/components/molecules/PeopleListing/PeopleListing.stories.tsx +185 -0
  368. package/src/components/molecules/PeopleListing/PeopleListing.style.tsx +8 -0
  369. package/src/components/molecules/PeopleListing/PeopleListing.test.tsx +24 -0
  370. package/src/components/molecules/PeopleListing/PeopleListing.tsx +27 -0
  371. package/src/components/molecules/PeopleListing/index.tsx +3 -0
  372. package/src/components/molecules/PolicyLinks/PolicyLinks.style.tsx +41 -0
  373. package/src/components/molecules/PolicyLinks/PolicyLinks.test.tsx +28 -0
  374. package/src/components/molecules/PolicyLinks/PolicyLinks.tsx +19 -0
  375. package/src/components/molecules/PolicyLinks/index.tsx +3 -0
  376. package/src/components/molecules/PromoWithTitle/PromoWithTitle.stories.tsx +119 -0
  377. package/src/components/molecules/PromoWithTitle/PromoWithTitle.style.tsx +108 -0
  378. package/src/components/molecules/PromoWithTitle/PromoWithTitle.test.tsx +75 -0
  379. package/src/components/molecules/PromoWithTitle/PromoWithTitle.tsx +53 -0
  380. package/src/components/molecules/PromoWithTitle/index.tsx +3 -0
  381. package/src/components/molecules/SearchBar/SearchBar.stories.tsx +35 -0
  382. package/src/components/molecules/SearchBar/SearchBar.style.tsx +66 -0
  383. package/src/components/molecules/SearchBar/SearchBar.test.tsx +63 -0
  384. package/src/components/molecules/SearchBar/SearchBar.tsx +69 -0
  385. package/src/components/molecules/SearchBar/index.tsx +3 -0
  386. package/src/components/molecules/SectionTitle/SectionTitle.stories.tsx +68 -0
  387. package/src/components/molecules/SectionTitle/SectionTitle.style.tsx +34 -0
  388. package/src/components/molecules/SectionTitle/SectionTitle.test.tsx +35 -0
  389. package/src/components/molecules/SectionTitle/SectionTitle.tsx +25 -0
  390. package/src/components/molecules/SectionTitle/index.tsx +3 -0
  391. package/src/components/molecules/Tabs/Tabs.stories.tsx +101 -0
  392. package/src/components/molecules/Tabs/Tabs.style.tsx +74 -0
  393. package/src/components/molecules/Tabs/Tabs.test.tsx +149 -0
  394. package/src/components/molecules/Tabs/Tabs.tsx +67 -0
  395. package/src/components/molecules/Tabs/index.tsx +3 -0
  396. package/src/components/molecules/TextOnly/TextOnly.stories.tsx +74 -0
  397. package/src/components/molecules/TextOnly/TextOnly.style.tsx +56 -0
  398. package/src/components/molecules/TextOnly/TextOnly.test.tsx +79 -0
  399. package/src/components/molecules/TextOnly/TextOnly.tsx +16 -0
  400. package/src/components/molecules/TextOnly/index.tsx +3 -0
  401. package/src/components/molecules/index.tsx +7 -0
  402. package/src/components/organisms/Footer/Footer.stories.tsx +54 -0
  403. package/src/components/organisms/Footer/Footer.style.tsx +72 -0
  404. package/src/components/organisms/Footer/Footer.test.tsx +31 -0
  405. package/src/components/organisms/Footer/Footer.tsx +53 -0
  406. package/src/components/organisms/Footer/exampleData.json +78 -0
  407. package/src/components/organisms/Footer/index.tsx +3 -0
  408. package/src/components/organisms/Navigation/Navigation.stories.tsx +110 -0
  409. package/src/components/organisms/Navigation/Navigation.style.tsx +87 -0
  410. package/src/components/organisms/Navigation/Navigation.test.tsx +115 -0
  411. package/src/components/organisms/Navigation/Navigation.tsx +109 -0
  412. package/src/components/organisms/Navigation/index.tsx +3 -0
  413. package/src/components/organisms/Navigation/menuData.json +104 -0
  414. package/src/components/organisms/index.tsx +4 -0
  415. package/src/index.tsx +44 -0
  416. package/src/jest.setup.ts +1 -0
  417. package/src/styles/GlobalStyles.tsx +205 -0
  418. package/src/styles/StorybookSupport/Colours/Colours.stories.mdx +101 -0
  419. package/src/styles/StorybookSupport/Colours/StorybookColourBox.tsx +32 -0
  420. package/src/styles/ThemeProvider.tsx +11 -0
  421. package/src/styles/themes.ts +398 -0
  422. package/src/styles/viewports.ts +14 -0
  423. package/src/types/buttonTypes.ts +42 -0
  424. package/src/types/editorial.ts +84 -0
  425. package/src/types/footer.ts +49 -0
  426. package/src/types/iconTypes.ts +38 -0
  427. package/src/types/image.ts +13 -0
  428. package/src/types/images.d.ts +1 -0
  429. package/src/types/index.tsx +5 -0
  430. package/src/types/navigation.ts +149 -0
  431. package/src/types/types.ts +276 -0
@@ -0,0 +1,190 @@
1
+ import React from 'react';
2
+ import { Story, Meta } from '@storybook/react';
3
+ import { Icon } from '.';
4
+ import { IIconProps } from '../../../types/iconTypes';
5
+ import { IconLibrary } from './SvgIcons';
6
+ import { Directions } from './Icons.style';
7
+ import { Iconography, IIconographyGridProps } from './StorybookSupport/Iconography';
8
+
9
+ export default {
10
+ title: 'Foundations/Iconography',
11
+ component: Icon,
12
+ argTypes: {
13
+ iconsArray: {
14
+ table: { disable: true },
15
+ },
16
+ },
17
+ parameters: {
18
+ docs: {
19
+ description: {
20
+ component:
21
+ 'This page shows all icons used across the ROH site, split down by categories and use cases. The _Iconography_ is a set of SVG icons that can be reused by other components.',
22
+ withSource: 'none',
23
+ },
24
+ },
25
+ design: {
26
+ type: 'figma',
27
+ url: 'https://www.figma.com/file/PtlqtJAjr87djTyD0x40m9/Royal-Opera-House---UI-Guide-%26-Spec?node-id=3%3A2533',
28
+ },
29
+ },
30
+ } as Meta;
31
+
32
+ const IconListTemplate: Story<IIconographyGridProps> = (args) => <Iconography {...args} />;
33
+
34
+ export const ArrowsAndDropdownsIcons = IconListTemplate.bind({});
35
+
36
+ ArrowsAndDropdownsIcons.args = {
37
+ iconsArray: [
38
+ { iconName: 'Arrow', label: 'Left', direction: 'left' },
39
+ { iconName: 'Arrow', label: 'Right' },
40
+ { iconName: 'Arrow', label: 'Up', direction: 'up' },
41
+ { iconName: 'Arrow', label: 'Down', direction: 'down' },
42
+ { iconName: 'DropdownArrow', label: 'Dropdown' },
43
+ { iconName: 'DropdownArrow', label: "'Drop Up'", direction: 'reverse' },
44
+ { iconName: 'CarouselArrow', label: 'Carousel Right' },
45
+ { iconName: 'CarouselArrow', label: 'Carousel Left', direction: 'left' },
46
+ ],
47
+ };
48
+
49
+ export const NavigationAndUtilityIcons = IconListTemplate.bind({});
50
+
51
+ NavigationAndUtilityIcons.args = {
52
+ iconsArray: [
53
+ { iconName: 'Menu', label: 'Menu' },
54
+ { iconName: 'User', label: 'User' },
55
+ { iconName: 'UserSignedIn', label: 'User Signed In' },
56
+ { iconName: 'Basket', label: 'Basket' },
57
+ { iconName: 'BasketFull', label: 'Basket Full' },
58
+ { iconName: 'Search', label: 'Search' },
59
+ { iconName: 'Settings', label: 'Settings' },
60
+ { iconName: 'BalletAndDance', label: 'Ballet & Dance' },
61
+ { iconName: 'OperaAndMusic', label: 'Opera & Music' },
62
+ { iconName: 'Home', label: 'Home' },
63
+ { iconName: 'LiveStream', label: 'Live Stream' },
64
+ { iconName: 'ListView', label: 'List View' },
65
+ { iconName: 'GridView', label: 'Grid View' },
66
+ { iconName: 'Close', label: 'Close' },
67
+ { iconName: 'Confirm', label: 'Confirm' },
68
+ { iconName: 'Expand', label: 'Expand' },
69
+ { iconName: 'Detract', label: 'Detract' },
70
+ { iconName: 'Refresh', label: 'Refresh' },
71
+ { iconName: 'ExternalLink', label: 'External Link' },
72
+ ],
73
+ };
74
+
75
+ export const ActionsIcons = IconListTemplate.bind({});
76
+
77
+ ActionsIcons.args = {
78
+ iconsArray: [
79
+ { iconName: 'BookTickets', label: 'Book Tickets' },
80
+ { iconName: 'ChooseDates', label: 'Choose Dates' },
81
+ { iconName: 'Filter', label: 'Filter' },
82
+ { iconName: 'Watch', label: 'Watch' },
83
+ { iconName: 'Reminder', label: 'Reminder' },
84
+ { iconName: 'AddToMyList', label: 'Add To My List' },
85
+ { iconName: 'OnMyList', label: 'On My List' },
86
+ { iconName: 'EditMyList', label: 'Edit My List' },
87
+ { iconName: 'FindAScreening', label: 'Find A Screening' },
88
+ { iconName: 'Subscribe', label: 'Subscribe' },
89
+ ],
90
+ };
91
+
92
+ export const VideoIcons = IconListTemplate.bind({});
93
+
94
+ VideoIcons.args = {
95
+ iconsArray: [
96
+ { iconName: 'Play', label: 'Play' },
97
+ { iconName: 'Pause', label: 'Pause' },
98
+ { iconName: 'Restart', label: 'Restart' },
99
+ { iconName: 'Back10', label: 'Back 10s' },
100
+ { iconName: 'Forward10', label: 'Forward 10s' },
101
+ { iconName: 'Muted', label: 'Muted' },
102
+ { iconName: 'Volume', label: 'Volume' },
103
+ { iconName: 'FullScreen', label: 'Full Screen' },
104
+ { iconName: 'Minimise', label: 'Minimise' },
105
+ { iconName: 'Subtitles', label: 'Subtitles' },
106
+ { iconName: 'Clips', label: 'Clips' },
107
+ { iconName: 'AudioDescription', label: 'Audio Description' },
108
+ { iconName: 'Trailer', label: 'Trailer' },
109
+ ],
110
+ };
111
+
112
+ export const DescriptorIcons = IconListTemplate.bind({});
113
+
114
+ DescriptorIcons.args = {
115
+ iconsArray: [
116
+ { iconName: 'PDF', label: 'PDF' },
117
+ { iconName: 'Email', label: 'Email' },
118
+ { iconName: 'Print', label: 'Print' },
119
+ { iconName: 'Secure', label: 'Secure' },
120
+ { iconName: 'Cinema', label: 'Cinema' },
121
+ { iconName: 'Info', label: 'Information' },
122
+ { iconName: 'Phone', label: 'Phone' },
123
+ { iconName: 'Clock', label: 'Clock' },
124
+ { iconName: 'Location', label: 'Location' },
125
+ { iconName: 'List', label: 'List' },
126
+ { iconName: 'Tickets', label: 'Tickets' },
127
+ { iconName: 'CreditCard', label: 'Credit Card' },
128
+ ],
129
+ };
130
+
131
+ export const TextIcons = IconListTemplate.bind({});
132
+
133
+ TextIcons.args = {
134
+ iconsArray: [
135
+ { iconName: 'Shift', label: 'Shift' },
136
+ { iconName: 'Delete', label: 'Delete' },
137
+ { iconName: 'Space', label: 'Space' },
138
+ ],
139
+ };
140
+
141
+ export const SocialIcons = IconListTemplate.bind({});
142
+
143
+ SocialIcons.args = {
144
+ iconsArray: [
145
+ { iconName: 'Facebook', label: 'Facebook' },
146
+ { iconName: 'Twitter', label: 'Twitter' },
147
+ { iconName: 'Instagram', label: 'Instagram' },
148
+ { iconName: 'Tiktok', label: 'Tiktok' },
149
+ { iconName: 'Youtube', label: 'Youtube' },
150
+ ],
151
+ };
152
+
153
+ export const Checkbox12pxIcons = IconListTemplate.bind({});
154
+ Checkbox12pxIcons.storyName = '12px Icons';
155
+
156
+ Checkbox12pxIcons.args = {
157
+ iconsArray: [
158
+ { iconName: 'Tick', label: 'Tick' },
159
+ { iconName: 'Remove', label: 'Remove' },
160
+ ],
161
+ };
162
+
163
+ const IconTemplate: Story<IIconProps> = (args) => <Icon {...args} />;
164
+
165
+ export const IconStory = IconTemplate.bind({});
166
+
167
+ IconStory.storyName = 'Icon Explorer';
168
+
169
+ IconStory.decorators = [
170
+ (Story) => <div style={{ margin: '3em auto', height: '100px', width: '100px' }}>{Story()}</div>,
171
+ ];
172
+
173
+ IconStory.args = {
174
+ iconName: 'Basket',
175
+ direction: 'right',
176
+ };
177
+
178
+ IconStory.argTypes = {
179
+ iconName: {
180
+ description: 'The icon to be used',
181
+ options: Object.keys(IconLibrary),
182
+ control: { type: 'select' },
183
+ },
184
+ direction: {
185
+ description: 'The icon orientation - by default right',
186
+ options: Object.keys(Directions),
187
+ control: { type: 'select' },
188
+ defaultValue: 'right',
189
+ },
190
+ };
@@ -0,0 +1,24 @@
1
+ import styled from 'styled-components';
2
+ import { core } from '../../../styles/themes';
3
+ import { IIconStyledProps } from '../../../types/iconTypes';
4
+
5
+ export const Directions = {
6
+ left: 'transform: rotate(180deg)',
7
+ right: 'transform: rotate(0deg)',
8
+ up: 'transform: rotate(270deg)',
9
+ down: 'transform: rotate(90deg)',
10
+ reverse: 'transform: scale(1, -1)',
11
+ };
12
+
13
+ export const Wrapper = styled.span<IIconStyledProps>`
14
+ display: block;
15
+
16
+ & svg {
17
+ display: block;
18
+ ${({ direction = 'right' }: IIconStyledProps) => Directions[direction]};
19
+ }
20
+
21
+ & svg path {
22
+ fill: var(--base-color-${({ color }: any) => color || 'black'}, ${core.colors.black});
23
+ }
24
+ `;
@@ -0,0 +1,31 @@
1
+ import React from 'react';
2
+ import renderer from 'react-test-renderer';
3
+ import { Icon } from '.';
4
+ import { IconNameType } from '../../../types/iconTypes';
5
+ import { IconLibrary } from './SvgIcons';
6
+ import each from 'jest-each';
7
+
8
+ describe('Iconography', () => {
9
+ each(Object.keys(IconLibrary).map((k) => [k])).it(
10
+ 'should render %s icon without crashing',
11
+ (iconName: IconNameType) => {
12
+ const tree = renderer.create(<Icon iconName={iconName} direction="right" />).toJSON();
13
+ expect(tree).toMatchSnapshot();
14
+ }
15
+ );
16
+
17
+ it.each`
18
+ iconName | direction
19
+ ${'Arrow'} | ${'right'}
20
+ ${'Arrow'} | ${'left'}
21
+ ${'Arrow'} | ${'up'}
22
+ ${'Arrow'} | ${'down'}
23
+ ${'CarouselArrow'} | ${'right'}
24
+ ${'CarouselArrow'} | ${'left'}
25
+ ${'DropdownArrow'} | ${'right'}
26
+ ${'DropdownArrow'} | ${'reverse'}
27
+ `('should return $iconName with direction $direction without crashing', ({ iconName, direction }) => {
28
+ const tree = renderer.create(<Icon iconName={iconName} direction={direction} />).toJSON();
29
+ expect(tree).toMatchSnapshot();
30
+ });
31
+ });
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import { Wrapper } from './Icons.style';
3
+ import { IconLibrary } from './SvgIcons';
4
+ import { IIconProps } from '../../../types/iconTypes';
5
+
6
+ const Icon = React.memo(
7
+ ({ className, color, iconName, title, direction }: IIconProps): React.ReactElement => {
8
+ const IconComponent = IconLibrary[iconName];
9
+
10
+ return (
11
+ <Wrapper className={className} color={color} title={title} direction={direction}>
12
+ <IconComponent color={color} />
13
+ </Wrapper>
14
+ );
15
+ }
16
+ );
17
+
18
+ Icon.displayName = 'Icon';
19
+
20
+ export default Icon;
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import { Icon } from '..';
3
+ import { DirectionType, IconNameType } from '../../../../types/iconTypes';
4
+ import IconsDiv from './IconsDiv.style';
5
+
6
+ export interface IStorybookIcon {
7
+ iconName: IconNameType;
8
+ label: string;
9
+ direction?: DirectionType;
10
+ }
11
+
12
+ export interface IIconographyGridProps {
13
+ iconsArray: IStorybookIcon[];
14
+ }
15
+
16
+ export function Iconography({ iconsArray }: IIconographyGridProps) {
17
+ return (
18
+ <IconsDiv>
19
+ {iconsArray.map((icon: IStorybookIcon) => (
20
+ <div className="iconBox" key={`${icon.iconName}-${icon.direction}`}>
21
+ <Icon iconName={icon.iconName} className="iconDisplay" direction={icon.direction} />
22
+ <span className="iconLabel">{icon.label}</span>
23
+ </div>
24
+ ))}
25
+ </IconsDiv>
26
+ );
27
+ }
@@ -0,0 +1,49 @@
1
+ import styled from 'styled-components';
2
+
3
+ const IconsDiv = styled.div`
4
+ @font-face {
5
+ font-family: GothamSSm-Light;
6
+ src: url('../../fonts/GothamSSm-Light.ttf');
7
+ }
8
+
9
+ & {
10
+ display: flex;
11
+ flex-flow: row wrap;
12
+ justify-content: center;
13
+ }
14
+
15
+ & .iconBox {
16
+ border: 2px solid #f0f0f0;
17
+ width: 95px;
18
+ height: 95px;
19
+ text-align: center;
20
+ display: grid;
21
+ grid-template-rows: 55px 40px;
22
+ justify-content: center;
23
+ row-gap: 0;
24
+ }
25
+
26
+ & .iconDisplay {
27
+ align-self: center;
28
+ display: inline-block;
29
+ grid-row: 1;
30
+ height: 24px;
31
+ margin-top: 27px;
32
+ place-self: center;
33
+ width: 24px;
34
+ }
35
+
36
+ & .iconLabel {
37
+ color: #b2b2b2;
38
+ font-family: 'GothamSSm-Light' !important;
39
+ font-size: 8px;
40
+ font-style: normal;
41
+ font-weight: 400;
42
+ grid-row: 2;
43
+ line-height: 12px;
44
+ place-self: center;
45
+ text-transform: uppercase;
46
+ }
47
+ `;
48
+
49
+ export default IconsDiv;
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path
7
+ d="M7.06066 5.93957L11.0001 2.00011L9.93945 0.939453L6 4.87891L2.06055 0.939453L0.999887 2.00011L4.93934 5.93957L0.939453 9.93945L2.00011 11.0001L6 7.00023L9.99989 11.0001L11.0605 9.93945L7.06066 5.93957Z"
8
+ fill={color}
9
+ />
10
+ </svg>
11
+ );
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path
7
+ d="M4.09961 11.1999L1.09961 7.2999L1.89961 6.6999L4.09961 9.4999L10.0996 1.3999L10.8996 1.9999L4.09961 11.1999Z"
8
+ fill={color}
9
+ />
10
+ </svg>
11
+ );
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path d="M21 3H3V4H21V3Z" fill={color} />
7
+ <path d="M21 6.5H3V7.5H21V6.5Z" fill={color} />
8
+ <path d="M21 10H3V11H21V10Z" fill={color} />
9
+ <path d="M14.5 13.5H3V14.5H14.5V13.5Z" fill={color} />
10
+ <path d="M12 17H3V18H12V17Z" fill={color} />
11
+ <path d="M18.1 14H17.1V16.9H14V17.9H17.1V21H18.1V17.9H21V16.9H18.1V14Z" fill={color} />
12
+ </svg>
13
+ );
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path d="M7 2H6V5H7V2Z" fill={color} />
7
+ <path d="M4 8V9L20 9V8L4 8Z" fill={color} />
8
+ <path d="M18 2H17V5H18V2Z" fill={color} />
9
+ <path d="M14.3008 2H13.3008V5H14.3008V2Z" fill={color} />
10
+ <path d="M15.3008 8H14.3008V20H15.3008V8Z" fill={color} />
11
+ <path d="M9.69922 8H8.69922V20H9.69922V8Z" fill={color} />
12
+ <path d="M10.6992 2H9.69922V5H10.6992V2Z" fill={color} />
13
+ <path d="M21 17V16L3 16V17L21 17Z" fill={color} />
14
+ <path d="M21 13V12L3 12V13L21 13Z" fill={color} />
15
+ <path
16
+ d="M20 4V19C20 19.6 19.6 20 19 20H5C4.4 20 4 19.6 4 19V4H20ZM21 3H3V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V3Z"
17
+ fill={color}
18
+ />
19
+ </svg>
20
+ );
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path
7
+ d="M20.9 9L19 10.9V5H15.5V4H14.5V5H12V4H11V5H8.5V4H7.5V5H4V18C4 19.1 4.9 20 6 20H17C18.1 20 19 19.1 19 18V15.1L23 11.1L20.9 9ZM17.5 12.3H14.3V10H18V11.9L17.5 12.3ZM14.6 15.7H14.3V13.4H16.5L14.7 15.2L14.6 15.7ZM8.7 19H6C5.4 19 5 18.6 5 18V16.7H8.7V19ZM8.7 15.7H5V13.4H8.7V15.7ZM8.7 12.3H5V10H8.7V12.3ZM5 9V6H7.5V7H8.5V6H11V7H12V6H14.5V7H15.5V6H18V9H5ZM13.3 19H9.7V16.7H13.4V19H13.3ZM13.3 15.7H9.7V13.4H13.4V15.7H13.3ZM13.3 12.3H9.7V10H13.4V12.3H13.3ZM18 16.7V18C18 18.6 17.6 19 17 19H14.3V18L16.9 17.2L17.5 16.6H18V16.7ZM19 13.7L18 14.7L17 15.7L16.3 16.4L15.3 16.7L15.6 15.7L17.9 13.4L18.9 12.4L19 12.3L19.7 13L19 13.7ZM19.8 11.5L20.9 10.4L21.6 11.1L20.5 12.2L19.8 11.5Z"
8
+ fill={color}
9
+ />
10
+ </svg>
11
+ );
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path d="M21 3H3V4H21V3Z" fill={color} />
7
+ <path d="M21 6.5H3V7.5H21V6.5Z" fill={color} />
8
+ <path d="M21 10H3V11H21V10Z" fill={color} />
9
+ <path d="M13.5 13.5H3V14.5H13.5V13.5Z" fill={color} />
10
+ <path d="M11 17H3V18H11V17Z" fill={color} />
11
+ <path
12
+ d="M17.0004 13.6999L16.0004 14.6999L15.5004 15.1999L14.5004 16.1999L12.7004 17.9999L11.9004 20.9999L15.0004 20.0999L15.6004 19.4999L17.0004 17.9999L21.0004 13.9999L18.9004 11.8999L17.0004 13.6999ZM17.0004 16.4999L16.0004 17.4999L15.0004 18.4999L14.3004 19.1999L13.3004 19.4999L13.6004 18.4999L15.9004 16.1999L16.9004 15.1999L17.0004 15.0999L17.7004 15.7999L17.0004 16.4999ZM18.5004 14.9999L17.8004 14.2999L18.9004 13.1999L19.6004 13.8999L18.5004 14.9999Z"
13
+ fill={color}
14
+ />
15
+ </svg>
16
+ );
@@ -0,0 +1,19 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path
7
+ d="M8.4 5C8.2 4.1 7.4 3.5 6.5 3.5C5.6 3.5 4.8 4.1 4.6 5H2V6H4.6C4.8 6.9 5.6 7.5 6.5 7.5C7.4 7.5 8.2 6.9 8.4 6H22V5H8.4ZM6.5 6.5C5.9 6.5 5.5 6.1 5.5 5.5C5.5 4.9 5.9 4.5 6.5 4.5C7.1 4.5 7.5 4.9 7.5 5.5C7.5 6.1 7.1 6.5 6.5 6.5Z"
8
+ fill={color}
9
+ />
10
+ <path
11
+ d="M17.5 10C16.6 10 15.8 10.6 15.6 11.5H2V12.5H15.6C15.8 13.4 16.6 14 17.5 14C18.4 14 19.2 13.4 19.4 12.5H22V11.5H19.4C19.2 10.6 18.4 10 17.5 10ZM17.5 13C16.9 13 16.5 12.6 16.5 12C16.5 11.4 16.9 11 17.5 11C18.1 11 18.5 11.4 18.5 12C18.5 12.6 18.1 13 17.5 13Z"
12
+ fill={color}
13
+ />
14
+ <path
15
+ d="M6.5 16.5C5.6 16.5 4.8 17.1 4.6 18H2V19H4.6C4.8 19.9 5.6 20.5 6.5 20.5C7.4 20.5 8.2 19.9 8.4 19H22V18H8.4C8.2 17.1 7.4 16.5 6.5 16.5ZM6.5 19.5C5.9 19.5 5.5 19.1 5.5 18.5C5.5 17.9 5.9 17.5 6.5 17.5C7.1 17.5 7.5 17.9 7.5 18.5C7.5 19.1 7.1 19.5 6.5 19.5Z"
16
+ fill={color}
17
+ />
18
+ </svg>
19
+ );
@@ -0,0 +1,31 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path
7
+ d="M12 2C9.7381 2.00427 7.54447 2.77523 5.77725 4.18702C4.01004 5.59881 2.77365 7.56802 2.26996 9.77313C1.76627 11.9782 2.02503 14.289 3.00399 16.328C3.98295 18.3671 5.62429 20.0141 7.66 21H2V22H12C14.6522 22 17.1957 20.9464 19.0711 19.0711C20.9464 17.1957 22 14.6522 22 12C22 9.34784 20.9464 6.8043 19.0711 4.92893C17.1957 3.05357 14.6522 2 12 2ZM12 21C10.22 21 8.47991 20.4722 6.99987 19.4832C5.51983 18.4943 4.36627 17.0887 3.68508 15.4442C3.0039 13.7996 2.82567 11.99 3.17293 10.2442C3.5202 8.49836 4.37737 6.89471 5.63604 5.63604C6.89471 4.37737 8.49836 3.5202 10.2442 3.17293C11.99 2.82567 13.7996 3.0039 15.4442 3.68508C17.0887 4.36627 18.4943 5.51983 19.4832 6.99987C20.4722 8.47991 21 10.22 21 12C21 14.3869 20.0518 16.6761 18.364 18.364C16.6761 20.0518 14.3869 21 12 21Z"
8
+ fill={color}
9
+ />
10
+ <path
11
+ d="M8.10954 13.3902C7.78094 13.389 7.45536 13.4529 7.15157 13.5782C6.84779 13.7035 6.57181 13.8877 6.33954 14.1202C5.87419 14.5917 5.61328 15.2276 5.61328 15.8902C5.61328 16.5527 5.87419 17.1886 6.33954 17.6602C6.80986 18.1279 7.44622 18.3905 8.10954 18.3905C8.77287 18.3905 9.40922 18.1279 9.87954 17.6602C10.3449 17.1886 10.6058 16.5527 10.6058 15.8902C10.6058 15.2276 10.3449 14.5917 9.87954 14.1202C9.64728 13.8877 9.37129 13.7035 9.06751 13.5782C8.76373 13.4529 8.43815 13.389 8.10954 13.3902ZM9.16954 17.0002C8.92399 17.2454 8.60099 17.3979 8.25559 17.4317C7.91019 17.4655 7.56376 17.3785 7.27533 17.1855C6.9869 16.9925 6.77432 16.7054 6.67382 16.3732C6.57332 16.041 6.5911 15.6843 6.72416 15.3638C6.85721 15.0432 7.09729 14.7788 7.40348 14.6154C7.70968 14.452 8.06305 14.3999 8.40338 14.4679C8.7437 14.5359 9.04993 14.7198 9.26987 14.9882C9.4898 15.2567 9.60985 15.5931 9.60954 15.9402C9.60919 16.3378 9.45093 16.7191 9.16954 17.0002Z"
12
+ fill={color}
13
+ />
14
+ <path
15
+ d="M15.8908 10.6102C16.2194 10.6113 16.545 10.5474 16.8488 10.4221C17.1525 10.2968 17.4285 10.1127 17.6608 9.8802C18.1261 9.40861 18.3871 8.77273 18.3871 8.1102C18.3871 7.44767 18.1261 6.81179 17.6608 6.3402C17.1905 5.87244 16.5541 5.60986 15.8908 5.60986C15.2275 5.60986 14.5911 5.87244 14.1208 6.3402C13.6554 6.81179 13.3945 7.44767 13.3945 8.1102C13.3945 8.77273 13.6554 9.40861 14.1208 9.8802C14.3531 10.1127 14.629 10.2968 14.9328 10.4221C15.2366 10.5474 15.5622 10.6113 15.8908 10.6102ZM14.8308 7.0502C15.0763 6.80495 15.3993 6.65244 15.7447 6.61865C16.0901 6.58486 16.4366 6.67188 16.725 6.86489C17.0134 7.0579 17.226 7.34495 17.3265 7.67713C17.427 8.0093 17.4092 8.36606 17.2762 8.68659C17.1431 9.00712 16.903 9.2716 16.5969 9.43496C16.2907 9.59831 15.9373 9.65044 15.597 9.58246C15.2566 9.51448 14.9504 9.33059 14.7305 9.06213C14.5105 8.79367 14.3905 8.45725 14.3908 8.1102C14.3911 7.71251 14.5494 7.33124 14.8308 7.0502Z"
16
+ fill={color}
17
+ />
18
+ <path
19
+ d="M8.10954 5.60988C7.78094 5.60874 7.45536 5.67266 7.15157 5.79795C6.84779 5.92324 6.57181 6.10742 6.33954 6.33988C5.87419 6.81147 5.61328 7.44735 5.61328 8.10988C5.61328 8.77241 5.87419 9.40829 6.33954 9.87988C6.80986 10.3476 7.44622 10.6102 8.10954 10.6102C8.77287 10.6102 9.40922 10.3476 9.87954 9.87988C10.3449 9.40829 10.6058 8.77241 10.6058 8.10988C10.6058 7.44735 10.3449 6.81147 9.87954 6.33988C9.64728 6.10742 9.37129 5.92324 9.06751 5.79795C8.76373 5.67266 8.43815 5.60874 8.10954 5.60988ZM9.16954 9.16988C8.92399 9.41513 8.60099 9.56764 8.25559 9.60143C7.91019 9.63522 7.56376 9.5482 7.27533 9.35519C6.9869 9.16218 6.77432 8.87513 6.67382 8.54295C6.57332 8.21077 6.5911 7.85402 6.72416 7.53349C6.85721 7.21296 7.09729 6.94848 7.40348 6.78512C7.70968 6.62176 8.06305 6.56963 8.40338 6.63762C8.7437 6.7056 9.04993 6.88949 9.26987 7.15795C9.4898 7.42641 9.60985 7.76283 9.60954 8.10988C9.60919 8.50757 9.45093 8.88884 9.16954 9.16988Z"
20
+ fill={color}
21
+ />
22
+ <path
23
+ d="M15.8908 13.3902C15.5622 13.389 15.2366 13.4529 14.9328 13.5782C14.629 13.7035 14.3531 13.8877 14.1208 14.1202C13.6554 14.5917 13.3945 15.2276 13.3945 15.8902C13.3945 16.5527 13.6554 17.1886 14.1208 17.6602C14.5911 18.1279 15.2275 18.3905 15.8908 18.3905C16.5541 18.3905 17.1905 18.1279 17.6608 17.6602C18.1261 17.1886 18.3871 16.5527 18.3871 15.8902C18.3871 15.2276 18.1261 14.5917 17.6608 14.1202C17.4285 13.8877 17.1525 13.7035 16.8488 13.5782C16.545 13.4529 16.2194 13.389 15.8908 13.3902ZM17.0008 17.0002C16.7911 17.2101 16.5238 17.3532 16.2328 17.4112C15.9418 17.4692 15.6401 17.4396 15.3659 17.3261C15.0917 17.2127 14.8573 17.0204 14.6924 16.7737C14.5275 16.527 14.4395 16.2369 14.4395 15.9402C14.4395 15.6434 14.5275 15.3533 14.6924 15.1066C14.8573 14.8599 15.0917 14.6676 15.3659 14.5542C15.6401 14.4407 15.9418 14.4111 16.2328 14.4691C16.5238 14.5271 16.7911 14.6702 17.0008 14.8802C17.2817 15.1614 17.4395 15.5426 17.4395 15.9402C17.4395 16.3377 17.2817 16.7189 17.0008 17.0002Z"
24
+ fill={color}
25
+ />
26
+ <path
27
+ d="M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z"
28
+ fill={color}
29
+ />
30
+ </svg>
31
+ );
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path
7
+ d="M15.4996 20.2002L13.3996 17.7002L12.5996 18.3002L15.5996 21.8002L20.8996 13.8002L20.0996 13.2002L15.4996 20.2002Z"
8
+ fill={color}
9
+ />
10
+ <path d="M21 3H3V4H21V3Z" fill={color} />
11
+ <path d="M21 6.5H3V7.5H21V6.5Z" fill={color} />
12
+ <path d="M21 10H3V11H21V10Z" fill={color} />
13
+ <path d="M14.5 13.5H3V14.5H14.5V13.5Z" fill={color} />
14
+ <path d="M11 17H3V18H11V17Z" fill={color} />
15
+ </svg>
16
+ );
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path
7
+ d="M18 18V10C18 6.9 15.6 4.3 12.5 4V2H11.5V4C8.4 4.3 6 6.9 6 10V18H4V19H6H9C9 20.7 10.3 22 12 22C13.7 22 15 20.7 15 19H18H20V18H18ZM12 21C10.9 21 10 20.1 10 19H14C14 20.1 13.1 21 12 21ZM15 18H9H7V10C7 7.2 9.2 5 12 5C14.8 5 17 7.2 17 10V18H15Z"
8
+ fill={color}
9
+ />
10
+ </svg>
11
+ );
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path d="M20 4V20H4V4H20ZM21 3H3V21H21V3Z" fill={color} />
7
+ <path d="M12.5 11.5V7H11.5V11.5H7V12.5H11.5V17H12.5V12.5H17V11.5H12.5Z" fill={color} />
8
+ </svg>
9
+ );
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path d="M9 8L16 12L9 16V8Z" fill={color} />
7
+ <path d="M20 4V20H4V4H20ZM21 3H3V21H21V3Z" fill={color} />
8
+ </svg>
9
+ );
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path
7
+ d="M3 12.6001H19L12.9 18.7001L13.6 19.4001L21 12.0001L13.6 4.6001L12.9 5.3001L19.2 11.6001H3V12.6001Z"
8
+ fill={color}
9
+ />
10
+ </svg>
11
+ );
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path
7
+ d="M13.6 4.24658L21.3536 12.0001L13.6 19.7537L12.5464 18.7001L18.3964 12.8501H2.75V11.3501H18.5964L12.5464 5.30014L13.6 4.24658Z"
8
+ fill={color}
9
+ />
10
+ </svg>
11
+ );
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path d="M19.3 8L12 14.7L4.7 8L4 8.7L12 16L20 8.7L19.3 8Z" fill={color} />
7
+ </svg>
8
+ );
@@ -0,0 +1,31 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path
7
+ d="M12 2C9.7381 2.00427 7.54447 2.77523 5.77725 4.18702C4.01004 5.59881 2.77365 7.56802 2.26996 9.77313C1.76627 11.9782 2.02503 14.289 3.00399 16.328C3.98295 18.3671 5.62429 20.0141 7.66 21H2V22H12C14.6522 22 17.1957 20.9464 19.0711 19.0711C20.9464 17.1957 22 14.6522 22 12C22 9.34784 20.9464 6.8043 19.0711 4.92893C17.1957 3.05357 14.6522 2 12 2V2ZM12 21C10.22 21 8.47991 20.4722 6.99987 19.4832C5.51983 18.4943 4.36627 17.0887 3.68508 15.4442C3.0039 13.7996 2.82567 11.99 3.17293 10.2442C3.5202 8.49836 4.37737 6.89471 5.63604 5.63604C6.89471 4.37737 8.49836 3.5202 10.2442 3.17293C11.99 2.82567 13.7996 3.0039 15.4442 3.68508C17.0887 4.36627 18.4943 5.51983 19.4832 6.99987C20.4722 8.47991 21 10.22 21 12C21 14.3869 20.0518 16.6761 18.364 18.364C16.6761 20.0518 14.3869 21 12 21V21Z"
8
+ fill={color}
9
+ />
10
+ <path
11
+ d="M8.10954 13.3902C7.78094 13.389 7.45536 13.4529 7.15157 13.5782C6.84779 13.7035 6.57181 13.8877 6.33954 14.1202C5.87419 14.5917 5.61328 15.2276 5.61328 15.8902C5.61328 16.5527 5.87419 17.1886 6.33954 17.6602C6.80986 18.1279 7.44622 18.3905 8.10954 18.3905C8.77287 18.3905 9.40922 18.1279 9.87954 17.6602C10.3449 17.1886 10.6058 16.5527 10.6058 15.8902C10.6058 15.2276 10.3449 14.5917 9.87954 14.1202C9.64728 13.8877 9.3713 13.7035 9.06751 13.5782C8.76373 13.4529 8.43815 13.389 8.10954 13.3902V13.3902ZM9.16954 17.0002C8.92399 17.2454 8.60099 17.3979 8.25559 17.4317C7.91019 17.4655 7.56376 17.3785 7.27533 17.1855C6.9869 16.9925 6.77432 16.7054 6.67382 16.3732C6.57332 16.041 6.5911 15.6843 6.72416 15.3638C6.85721 15.0432 7.09729 14.7788 7.40348 14.6154C7.70968 14.452 8.06305 14.3999 8.40338 14.4679C8.7437 14.5359 9.04993 14.7198 9.26987 14.9882C9.4898 15.2567 9.60985 15.5931 9.60954 15.9402C9.60919 16.3378 9.45093 16.7191 9.16954 17.0002Z"
12
+ fill={color}
13
+ />
14
+ <path
15
+ d="M15.8908 10.6102C16.2194 10.6113 16.545 10.5474 16.8488 10.4221C17.1525 10.2968 17.4285 10.1127 17.6608 9.8802C18.1261 9.40861 18.3871 8.77273 18.3871 8.1102C18.3871 7.44767 18.1261 6.81179 17.6608 6.3402C17.1905 5.87244 16.5541 5.60986 15.8908 5.60986C15.2275 5.60986 14.5911 5.87244 14.1208 6.3402C13.6554 6.81179 13.3945 7.44767 13.3945 8.1102C13.3945 8.77273 13.6554 9.40861 14.1208 9.8802C14.3531 10.1127 14.629 10.2968 14.9328 10.4221C15.2366 10.5474 15.5622 10.6113 15.8908 10.6102V10.6102ZM14.8308 7.0502C15.0763 6.80495 15.3993 6.65244 15.7447 6.61865C16.0901 6.58486 16.4366 6.67188 16.725 6.86489C17.0134 7.0579 17.226 7.34495 17.3265 7.67713C17.427 8.0093 17.4092 8.36606 17.2762 8.68659C17.1431 9.00712 16.903 9.2716 16.5969 9.43496C16.2907 9.59831 15.9373 9.65044 15.597 9.58246C15.2566 9.51448 14.9504 9.33059 14.7305 9.06213C14.5105 8.79367 14.3905 8.45725 14.3908 8.1102C14.3911 7.71251 14.5494 7.33124 14.8308 7.0502Z"
16
+ fill={color}
17
+ />
18
+ <path
19
+ d="M8.10954 5.60988C7.78094 5.60874 7.45536 5.67266 7.15157 5.79795C6.84779 5.92324 6.57181 6.10742 6.33954 6.33988C5.87419 6.81147 5.61328 7.44735 5.61328 8.10988C5.61328 8.77241 5.87419 9.40829 6.33954 9.87988C6.80986 10.3476 7.44622 10.6102 8.10954 10.6102C8.77287 10.6102 9.40922 10.3476 9.87954 9.87988C10.3449 9.40829 10.6058 8.77241 10.6058 8.10988C10.6058 7.44735 10.3449 6.81147 9.87954 6.33988C9.64728 6.10742 9.3713 5.92324 9.06751 5.79795C8.76373 5.67266 8.43815 5.60874 8.10954 5.60988V5.60988ZM9.16954 9.16988C8.92399 9.41513 8.60099 9.56764 8.25559 9.60143C7.91019 9.63522 7.56376 9.5482 7.27533 9.35519C6.9869 9.16218 6.77432 8.87513 6.67382 8.54295C6.57332 8.21077 6.5911 7.85402 6.72416 7.53349C6.85721 7.21296 7.09729 6.94848 7.40348 6.78512C7.70968 6.62176 8.06305 6.56963 8.40338 6.63762C8.7437 6.7056 9.04993 6.88949 9.26987 7.15795C9.4898 7.42641 9.60985 7.76283 9.60954 8.10988C9.60919 8.50757 9.45093 8.88884 9.16954 9.16988V9.16988Z"
20
+ fill={color}
21
+ />
22
+ <path
23
+ d="M15.8908 13.3902C15.5622 13.389 15.2366 13.4529 14.9328 13.5782C14.629 13.7035 14.3531 13.8877 14.1208 14.1202C13.6554 14.5917 13.3945 15.2276 13.3945 15.8902C13.3945 16.5527 13.6554 17.1886 14.1208 17.6602C14.5911 18.1279 15.2275 18.3905 15.8908 18.3905C16.5541 18.3905 17.1905 18.1279 17.6608 17.6602C18.1261 17.1886 18.3871 16.5527 18.3871 15.8902C18.3871 15.2276 18.1261 14.5917 17.6608 14.1202C17.4285 13.8877 17.1525 13.7035 16.8488 13.5782C16.545 13.4529 16.2194 13.389 15.8908 13.3902V13.3902ZM17.0008 17.0002C16.7911 17.2101 16.5238 17.3532 16.2328 17.4112C15.9418 17.4692 15.6401 17.4396 15.3659 17.3261C15.0917 17.2127 14.8573 17.0204 14.6924 16.7737C14.5275 16.527 14.4395 16.2369 14.4395 15.9402C14.4395 15.6434 14.5275 15.3533 14.6924 15.1066C14.8573 14.8599 15.0917 14.6676 15.3659 14.5542C15.6401 14.4407 15.9418 14.4111 16.2328 14.4691C16.5238 14.5271 16.7911 14.6702 17.0008 14.8802C17.2817 15.1614 17.4395 15.5426 17.4395 15.9402C17.4395 16.3377 17.2817 16.7189 17.0008 17.0002V17.0002Z"
24
+ fill={color}
25
+ />
26
+ <path
27
+ d="M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z"
28
+ fill={color}
29
+ />
30
+ </svg>
31
+ );
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ import { IconSVGProps } from '../../../../../types/iconTypes';
3
+
4
+ export default ({ color = '#1A1A1A' }: IconSVGProps): React.ReactElement => (
5
+ <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path
7
+ d="M12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2ZM12 21C7 21 3 17 3 12C3 7 7 3 12 3C17 3 21 7 21 12C21 17 17 21 12 21Z"
8
+ fill={color}
9
+ />
10
+ <path
11
+ d="M16.5 11.5H12.5V5.5C12.5 5.2 12.3 5 12 5C11.7 5 11.5 5.2 11.5 5.5V12C11.5 12.3 11.7 12.5 12 12.5H16.5C16.8 12.5 17 12.3 17 12C17 11.7 16.8 11.5 16.5 11.5Z"
12
+ fill={color}
13
+ />
14
+ </svg>
15
+ );