uikit-react-public 0.11.13

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 (1098) hide show
  1. package/LICENSE +9 -0
  2. package/README.md +3 -0
  3. package/dist/components/Accordion/Accordion.Heading.d.ts +8 -0
  4. package/dist/components/Accordion/Accordion.Panel.d.ts +7 -0
  5. package/dist/components/Accordion/Accordion.d.ts +22 -0
  6. package/dist/components/Accordion/__tests__/Accordion.test.d.ts +1 -0
  7. package/dist/components/Accordion/index.d.ts +2 -0
  8. package/dist/components/Alert/Alert.d.ts +27 -0
  9. package/dist/components/Alert/Alert.stories.d.ts +146 -0
  10. package/dist/components/Alert/AlertMessage.d.ts +7 -0
  11. package/dist/components/Alert/AlertTitle.d.ts +7 -0
  12. package/dist/components/Alert/__tests__/Alert.test.d.ts +1 -0
  13. package/dist/components/Alert/index.d.ts +6 -0
  14. package/dist/components/AppHeader/AppHeader.d.ts +20 -0
  15. package/dist/components/AppHeader/AppHeader.stories.d.ts +16 -0
  16. package/dist/components/AppHeader/AppHeaderBottom.d.ts +8 -0
  17. package/dist/components/AppHeader/AppHeaderNav.d.ts +7 -0
  18. package/dist/components/AppHeader/AppHeaderTop.d.ts +10 -0
  19. package/dist/components/AppHeader/__tests__/AppHeader.test.d.ts +1 -0
  20. package/dist/components/AppHeader/index.d.ts +3 -0
  21. package/dist/components/AppMenu/AppMenu.context.d.ts +14 -0
  22. package/dist/components/AppMenu/AppMenu.d.ts +19 -0
  23. package/dist/components/AppMenu/AppMenu.stories.d.ts +13 -0
  24. package/dist/components/AppMenu/AppMenuContent.d.ts +7 -0
  25. package/dist/components/AppMenu/AppMenuDivider.d.ts +7 -0
  26. package/dist/components/AppMenu/AppMenuItem.d.ts +12 -0
  27. package/dist/components/AppMenu/AppMenuTrigger.d.ts +7 -0
  28. package/dist/components/AppMenu/__tests__/AppMenu.test.d.ts +0 -0
  29. package/dist/components/AppMenu/index.d.ts +2 -0
  30. package/dist/components/Avatar/Avatar.d.ts +13 -0
  31. package/dist/components/Avatar/Avatar.stories.d.ts +11 -0
  32. package/dist/components/Avatar/__tests__/Avatar.test.d.ts +1 -0
  33. package/dist/components/Avatar/index.d.ts +2 -0
  34. package/dist/components/Avatar/utils/extractInitials.d.ts +2 -0
  35. package/dist/components/Avatar/utils/extractInitials.test.d.ts +1 -0
  36. package/dist/components/Blanket/Blanket.d.ts +8 -0
  37. package/dist/components/Blanket/Blanket.stories.d.ts +14 -0
  38. package/dist/components/Blanket/__tests__/Blanket.test.d.ts +0 -0
  39. package/dist/components/Blanket/index.d.ts +2 -0
  40. package/dist/components/Breadcrumbs/Breadcrumb.d.ts +8 -0
  41. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +9 -0
  42. package/dist/components/Breadcrumbs/Breadcrumbs.stories.d.ts +15 -0
  43. package/dist/components/Breadcrumbs/__tests__/Breadcrumbs.test.d.ts +1 -0
  44. package/dist/components/Breadcrumbs/index.d.ts +2 -0
  45. package/dist/components/Button/Button.d.ts +4 -0
  46. package/dist/components/Button/Button.stories.d.ts +257 -0
  47. package/dist/components/Button/Button.types.d.ts +26 -0
  48. package/dist/components/Button/__tests__/Button.test.d.ts +1 -0
  49. package/dist/components/Button/buttonPrimaryStyle.d.ts +4 -0
  50. package/dist/components/Button/buttonSecondaryStyle.d.ts +4 -0
  51. package/dist/components/Button/buttonTertiaryStyle.d.ts +4 -0
  52. package/dist/components/Button/index.d.ts +2 -0
  53. package/dist/components/Checkbox/Checkbox.d.ts +11 -0
  54. package/dist/components/Checkbox/Checkbox.stories.d.ts +25 -0
  55. package/dist/components/Checkbox/LabelledCheckbox.d.ts +14 -0
  56. package/dist/components/Checkbox/__tests__/Checkbox.test.d.ts +1 -0
  57. package/dist/components/Checkbox/index.d.ts +4 -0
  58. package/dist/components/Datepicker/Datepicker.d.ts +12 -0
  59. package/dist/components/Datepicker/Datepicker.stories.d.ts +35 -0
  60. package/dist/components/Datepicker/__tests__/Datepicker.test.d.ts +1 -0
  61. package/dist/components/Datepicker/index.d.ts +2 -0
  62. package/dist/components/Datepicker/subcomponents/CalendarGrid/CalendarGrid.d.ts +6 -0
  63. package/dist/components/Datepicker/subcomponents/CalendarGrid/index.d.ts +1 -0
  64. package/dist/components/Datepicker/subcomponents/CalendarMenu/CalendarMenu.d.ts +8 -0
  65. package/dist/components/Datepicker/subcomponents/CalendarMenu/index.d.ts +1 -0
  66. package/dist/components/Datepicker/subcomponents/ColumnHeadings/ColumnHeadings.d.ts +2 -0
  67. package/dist/components/Datepicker/subcomponents/ColumnHeadings/index.d.ts +1 -0
  68. package/dist/components/Datepicker/subcomponents/DateField/DateField.d.ts +7 -0
  69. package/dist/components/Datepicker/subcomponents/DateField/__tests__/DateField.test.d.ts +1 -0
  70. package/dist/components/Datepicker/subcomponents/DateField/index.d.ts +1 -0
  71. package/dist/components/Datepicker/subcomponents/Day/Day.d.ts +10 -0
  72. package/dist/components/Datepicker/subcomponents/Day/Day.stories.d.ts +13 -0
  73. package/dist/components/Datepicker/subcomponents/Day/index.d.ts +1 -0
  74. package/dist/components/Datepicker/subcomponents/MonthSelector/MonthSelector.d.ts +6 -0
  75. package/dist/components/Datepicker/subcomponents/MonthSelector/index.d.ts +1 -0
  76. package/dist/components/Datepicker/subcomponents/Native/Native.d.ts +9 -0
  77. package/dist/components/Datepicker/subcomponents/Native/index.d.ts +1 -0
  78. package/dist/components/Datepicker/subcomponents/index.d.ts +7 -0
  79. package/dist/components/Datepicker/utils/getDatesForCalendarGrid/getDatesForCalendarGrid.d.ts +20 -0
  80. package/dist/components/Datepicker/utils/getDatesForCalendarGrid/getDatesForCalendarGrid.test.d.ts +1 -0
  81. package/dist/components/Datepicker/utils/index.d.ts +2 -0
  82. package/dist/components/Datepicker/utils/parseDateForDateField/parseDateForDateField.d.ts +20 -0
  83. package/dist/components/Datepicker/utils/parseDateForDateField/parseDateForDateField.test.d.ts +1 -0
  84. package/dist/components/Dialog/BaseDialog.d.ts +16 -0
  85. package/dist/components/Dialog/Dialog.d.ts +23 -0
  86. package/dist/components/Dialog/Dialog.stories.d.ts +16 -0
  87. package/dist/components/Dialog/DialogBody.d.ts +7 -0
  88. package/dist/components/Dialog/DialogFooter.d.ts +12 -0
  89. package/dist/components/Dialog/DialogHeader.d.ts +11 -0
  90. package/dist/components/Dialog/index.d.ts +10 -0
  91. package/dist/components/Divider/Divider.d.ts +9 -0
  92. package/dist/components/Divider/Divider.stories.d.ts +11 -0
  93. package/dist/components/Divider/__tests__/Divider.test.d.ts +1 -0
  94. package/dist/components/Divider/index.d.ts +2 -0
  95. package/dist/components/FeedbackDialog/FeedbackDialog.d.ts +15 -0
  96. package/dist/components/FeedbackDialog/FeedbackDialog.stories.d.ts +15 -0
  97. package/dist/components/FeedbackDialog/index.d.ts +2 -0
  98. package/dist/components/Field/CharacterCount.d.ts +7 -0
  99. package/dist/components/Field/ErrorText.d.ts +6 -0
  100. package/dist/components/Field/Field.d.ts +30 -0
  101. package/dist/components/Field/Field.stories.d.ts +84 -0
  102. package/dist/components/Field/HelperText.d.ts +6 -0
  103. package/dist/components/Field/__tests__/Field.test.d.ts +1 -0
  104. package/dist/components/Field/index.d.ts +6 -0
  105. package/dist/components/Footer/Footer.d.ts +20 -0
  106. package/dist/components/Footer/Footer.stories.d.ts +14 -0
  107. package/dist/components/Footer/FooterColumn.d.ts +8 -0
  108. package/dist/components/Footer/FooterNavLink.d.ts +8 -0
  109. package/dist/components/Footer/SocialLink.d.ts +8 -0
  110. package/dist/components/Footer/__tests__/Footer.test.d.ts +1 -0
  111. package/dist/components/Footer/index.d.ts +2 -0
  112. package/dist/components/Header/Header.d.ts +16 -0
  113. package/dist/components/Header/HeaderMenu.d.ts +7 -0
  114. package/dist/components/Header/__tests__/Header.test.d.ts +1 -0
  115. package/dist/components/Header/index.d.ts +3 -0
  116. package/dist/components/HeaderDraft/HeaderBottomBreadcrumbs.d.ts +7 -0
  117. package/dist/components/HeaderDraft/HeaderBottomHeadingAndAvatar.d.ts +16 -0
  118. package/dist/components/HeaderDraft/HeaderBreadcrumb.d.ts +8 -0
  119. package/dist/components/HeaderDraft/HeaderDraft.d.ts +26 -0
  120. package/dist/components/HeaderDraft/HeaderMenu.d.ts +7 -0
  121. package/dist/components/HeaderDraft/__tests__/Header.test.d.ts +1 -0
  122. package/dist/components/HeaderDraft/index.d.ts +4 -0
  123. package/dist/components/Heading/Heading.d.ts +12 -0
  124. package/dist/components/Heading/Heading.stories.d.ts +18 -0
  125. package/dist/components/Heading/__tests__/Heading.test.d.ts +1 -0
  126. package/dist/components/Heading/index.d.ts +2 -0
  127. package/dist/components/Icon/BaseIcon.d.ts +13 -0
  128. package/dist/components/Icon/Icon.d.ts +16 -0
  129. package/dist/components/Icon/Icon.stories.d.ts +5 -0
  130. package/dist/components/Icon/__tests__/Icon.test.d.ts +1 -0
  131. package/dist/components/Icon/index.d.ts +2 -0
  132. package/dist/components/Icon/svgImports.d.ts +882 -0
  133. package/dist/components/Icon/svgs/ActivitySvg.d.ts +4 -0
  134. package/dist/components/Icon/svgs/AirplaySvg.d.ts +4 -0
  135. package/dist/components/Icon/svgs/AlertCircleSvg.d.ts +4 -0
  136. package/dist/components/Icon/svgs/AlertOctagonSvg.d.ts +4 -0
  137. package/dist/components/Icon/svgs/AlertTriangleSvg.d.ts +4 -0
  138. package/dist/components/Icon/svgs/AlignCenterSvg.d.ts +4 -0
  139. package/dist/components/Icon/svgs/AlignJustifySvg.d.ts +4 -0
  140. package/dist/components/Icon/svgs/AlignLeftSvg.d.ts +4 -0
  141. package/dist/components/Icon/svgs/AlignRightSvg.d.ts +4 -0
  142. package/dist/components/Icon/svgs/AnchorSvg.d.ts +4 -0
  143. package/dist/components/Icon/svgs/ApertureSvg.d.ts +4 -0
  144. package/dist/components/Icon/svgs/ArchiveSvg.d.ts +4 -0
  145. package/dist/components/Icon/svgs/ArrowDownCircleSvg.d.ts +4 -0
  146. package/dist/components/Icon/svgs/ArrowDownLeftSvg.d.ts +4 -0
  147. package/dist/components/Icon/svgs/ArrowDownRightSvg.d.ts +4 -0
  148. package/dist/components/Icon/svgs/ArrowDownSvg.d.ts +4 -0
  149. package/dist/components/Icon/svgs/ArrowLeftCircleSvg.d.ts +4 -0
  150. package/dist/components/Icon/svgs/ArrowLeftSvg.d.ts +4 -0
  151. package/dist/components/Icon/svgs/ArrowRightCircleSvg.d.ts +4 -0
  152. package/dist/components/Icon/svgs/ArrowRightSvg.d.ts +4 -0
  153. package/dist/components/Icon/svgs/ArrowUpCircleSvg.d.ts +4 -0
  154. package/dist/components/Icon/svgs/ArrowUpLeftSvg.d.ts +4 -0
  155. package/dist/components/Icon/svgs/ArrowUpRightSvg.d.ts +4 -0
  156. package/dist/components/Icon/svgs/ArrowUpSvg.d.ts +4 -0
  157. package/dist/components/Icon/svgs/AtSignSvg.d.ts +4 -0
  158. package/dist/components/Icon/svgs/AvatarSvg.d.ts +4 -0
  159. package/dist/components/Icon/svgs/AwardSvg.d.ts +4 -0
  160. package/dist/components/Icon/svgs/BarChart2Svg.d.ts +4 -0
  161. package/dist/components/Icon/svgs/BarChartSvg.d.ts +4 -0
  162. package/dist/components/Icon/svgs/BatteryChargingSvg.d.ts +4 -0
  163. package/dist/components/Icon/svgs/BatterySvg.d.ts +4 -0
  164. package/dist/components/Icon/svgs/BellOffSvg.d.ts +4 -0
  165. package/dist/components/Icon/svgs/BellSvg.d.ts +4 -0
  166. package/dist/components/Icon/svgs/BluetoothSvg.d.ts +4 -0
  167. package/dist/components/Icon/svgs/BoldSvg.d.ts +4 -0
  168. package/dist/components/Icon/svgs/BookOpenSvg.d.ts +4 -0
  169. package/dist/components/Icon/svgs/BookSvg.d.ts +4 -0
  170. package/dist/components/Icon/svgs/BookmarkSvg.d.ts +4 -0
  171. package/dist/components/Icon/svgs/BoxSvg.d.ts +4 -0
  172. package/dist/components/Icon/svgs/BriefcaseSvg.d.ts +4 -0
  173. package/dist/components/Icon/svgs/CalendarSvg.d.ts +4 -0
  174. package/dist/components/Icon/svgs/CameraOffSvg.d.ts +4 -0
  175. package/dist/components/Icon/svgs/CameraSvg.d.ts +4 -0
  176. package/dist/components/Icon/svgs/CastSvg.d.ts +4 -0
  177. package/dist/components/Icon/svgs/CheckCircleSvg.d.ts +4 -0
  178. package/dist/components/Icon/svgs/CheckSquareSvg.d.ts +4 -0
  179. package/dist/components/Icon/svgs/CheckSvg.d.ts +4 -0
  180. package/dist/components/Icon/svgs/ChevronDownSvg.d.ts +5 -0
  181. package/dist/components/Icon/svgs/ChevronLeftSvg.d.ts +4 -0
  182. package/dist/components/Icon/svgs/ChevronRightSvg.d.ts +4 -0
  183. package/dist/components/Icon/svgs/ChevronUpSvg.d.ts +5 -0
  184. package/dist/components/Icon/svgs/ChevronsDownSvg.d.ts +4 -0
  185. package/dist/components/Icon/svgs/ChevronsLeftSvg.d.ts +4 -0
  186. package/dist/components/Icon/svgs/ChevronsRightSvg.d.ts +4 -0
  187. package/dist/components/Icon/svgs/ChevronsUpSvg.d.ts +4 -0
  188. package/dist/components/Icon/svgs/ChromeSvg.d.ts +4 -0
  189. package/dist/components/Icon/svgs/CircleSvg.d.ts +4 -0
  190. package/dist/components/Icon/svgs/ClipboardSvg.d.ts +4 -0
  191. package/dist/components/Icon/svgs/ClockSvg.d.ts +4 -0
  192. package/dist/components/Icon/svgs/CloudDrizzleSvg.d.ts +4 -0
  193. package/dist/components/Icon/svgs/CloudLightningSvg.d.ts +4 -0
  194. package/dist/components/Icon/svgs/CloudOffSvg.d.ts +4 -0
  195. package/dist/components/Icon/svgs/CloudRainSvg.d.ts +4 -0
  196. package/dist/components/Icon/svgs/CloudSnowSvg.d.ts +4 -0
  197. package/dist/components/Icon/svgs/CloudSvg.d.ts +4 -0
  198. package/dist/components/Icon/svgs/CodeSvg.d.ts +4 -0
  199. package/dist/components/Icon/svgs/CodepenSvg.d.ts +4 -0
  200. package/dist/components/Icon/svgs/CodesandboxSvg.d.ts +4 -0
  201. package/dist/components/Icon/svgs/CoffeeSvg.d.ts +4 -0
  202. package/dist/components/Icon/svgs/ColumnsSvg.d.ts +4 -0
  203. package/dist/components/Icon/svgs/CommandSvg.d.ts +4 -0
  204. package/dist/components/Icon/svgs/CompassSvg.d.ts +4 -0
  205. package/dist/components/Icon/svgs/CopySvg.d.ts +4 -0
  206. package/dist/components/Icon/svgs/CornerDownLeftSvg.d.ts +4 -0
  207. package/dist/components/Icon/svgs/CornerDownRightSvg.d.ts +4 -0
  208. package/dist/components/Icon/svgs/CornerLeftDownSvg.d.ts +4 -0
  209. package/dist/components/Icon/svgs/CornerLeftUpSvg.d.ts +4 -0
  210. package/dist/components/Icon/svgs/CornerRightDownSvg.d.ts +4 -0
  211. package/dist/components/Icon/svgs/CornerRightUpSvg.d.ts +4 -0
  212. package/dist/components/Icon/svgs/CornerUpLeftSvg.d.ts +4 -0
  213. package/dist/components/Icon/svgs/CornerUpRightSvg.d.ts +4 -0
  214. package/dist/components/Icon/svgs/CpuSvg.d.ts +4 -0
  215. package/dist/components/Icon/svgs/CreditCardSvg.d.ts +4 -0
  216. package/dist/components/Icon/svgs/CropSvg.d.ts +4 -0
  217. package/dist/components/Icon/svgs/CrosshairSvg.d.ts +4 -0
  218. package/dist/components/Icon/svgs/DatabaseSvg.d.ts +4 -0
  219. package/dist/components/Icon/svgs/DeleteSvg.d.ts +4 -0
  220. package/dist/components/Icon/svgs/DiscSvg.d.ts +4 -0
  221. package/dist/components/Icon/svgs/DivideCircleSvg.d.ts +4 -0
  222. package/dist/components/Icon/svgs/DivideSquareSvg.d.ts +4 -0
  223. package/dist/components/Icon/svgs/DivideSvg.d.ts +4 -0
  224. package/dist/components/Icon/svgs/DollarSignSvg.d.ts +4 -0
  225. package/dist/components/Icon/svgs/DownloadCloudSvg.d.ts +4 -0
  226. package/dist/components/Icon/svgs/DownloadSvg.d.ts +4 -0
  227. package/dist/components/Icon/svgs/DribbbleSvg.d.ts +4 -0
  228. package/dist/components/Icon/svgs/DropletSvg.d.ts +4 -0
  229. package/dist/components/Icon/svgs/Edit2Svg.d.ts +4 -0
  230. package/dist/components/Icon/svgs/Edit3Svg.d.ts +4 -0
  231. package/dist/components/Icon/svgs/EditSvg.d.ts +4 -0
  232. package/dist/components/Icon/svgs/ExternalLinkSvg.d.ts +4 -0
  233. package/dist/components/Icon/svgs/EyeOffSvg.d.ts +4 -0
  234. package/dist/components/Icon/svgs/EyeSvg.d.ts +4 -0
  235. package/dist/components/Icon/svgs/FastForwardSvg.d.ts +4 -0
  236. package/dist/components/Icon/svgs/FeatherSvg.d.ts +4 -0
  237. package/dist/components/Icon/svgs/FigmaSvg.d.ts +4 -0
  238. package/dist/components/Icon/svgs/FileMinusSvg.d.ts +4 -0
  239. package/dist/components/Icon/svgs/FilePlusSvg.d.ts +4 -0
  240. package/dist/components/Icon/svgs/FileSvg.d.ts +4 -0
  241. package/dist/components/Icon/svgs/FileTextSvg.d.ts +4 -0
  242. package/dist/components/Icon/svgs/FilmSvg.d.ts +4 -0
  243. package/dist/components/Icon/svgs/FilterSvg.d.ts +4 -0
  244. package/dist/components/Icon/svgs/FlagSvg.d.ts +4 -0
  245. package/dist/components/Icon/svgs/FolderMinusSvg.d.ts +4 -0
  246. package/dist/components/Icon/svgs/FolderPlusSvg.d.ts +4 -0
  247. package/dist/components/Icon/svgs/FolderSvg.d.ts +4 -0
  248. package/dist/components/Icon/svgs/FramerSvg.d.ts +4 -0
  249. package/dist/components/Icon/svgs/FrownSvg.d.ts +4 -0
  250. package/dist/components/Icon/svgs/GiftSvg.d.ts +4 -0
  251. package/dist/components/Icon/svgs/GitBranchSvg.d.ts +4 -0
  252. package/dist/components/Icon/svgs/GitCommitSvg.d.ts +4 -0
  253. package/dist/components/Icon/svgs/GitMergeSvg.d.ts +4 -0
  254. package/dist/components/Icon/svgs/GitPullRequestSvg.d.ts +4 -0
  255. package/dist/components/Icon/svgs/GithubSvg.d.ts +4 -0
  256. package/dist/components/Icon/svgs/GitlabSvg.d.ts +4 -0
  257. package/dist/components/Icon/svgs/GlobeSvg.d.ts +4 -0
  258. package/dist/components/Icon/svgs/GridSvg.d.ts +4 -0
  259. package/dist/components/Icon/svgs/HardDriveSvg.d.ts +4 -0
  260. package/dist/components/Icon/svgs/HashSvg.d.ts +4 -0
  261. package/dist/components/Icon/svgs/HeadphonesSvg.d.ts +4 -0
  262. package/dist/components/Icon/svgs/HeartSvg.d.ts +4 -0
  263. package/dist/components/Icon/svgs/HelpCircleSvg.d.ts +4 -0
  264. package/dist/components/Icon/svgs/HexagonSvg.d.ts +4 -0
  265. package/dist/components/Icon/svgs/HomeSvg.d.ts +4 -0
  266. package/dist/components/Icon/svgs/ImageSvg.d.ts +4 -0
  267. package/dist/components/Icon/svgs/InboxSvg.d.ts +4 -0
  268. package/dist/components/Icon/svgs/InfoSvg.d.ts +4 -0
  269. package/dist/components/Icon/svgs/ItalicSvg.d.ts +4 -0
  270. package/dist/components/Icon/svgs/KeySvg.d.ts +4 -0
  271. package/dist/components/Icon/svgs/LayersSvg.d.ts +4 -0
  272. package/dist/components/Icon/svgs/LayoutSvg.d.ts +4 -0
  273. package/dist/components/Icon/svgs/LifeBuoySvg.d.ts +4 -0
  274. package/dist/components/Icon/svgs/Link2Svg.d.ts +4 -0
  275. package/dist/components/Icon/svgs/LinkSvg.d.ts +4 -0
  276. package/dist/components/Icon/svgs/LinkedinSvg.d.ts +4 -0
  277. package/dist/components/Icon/svgs/ListSvg.d.ts +4 -0
  278. package/dist/components/Icon/svgs/LoaderSvg.d.ts +4 -0
  279. package/dist/components/Icon/svgs/LockSvg.d.ts +4 -0
  280. package/dist/components/Icon/svgs/LogInSvg.d.ts +4 -0
  281. package/dist/components/Icon/svgs/LogOutSvg.d.ts +4 -0
  282. package/dist/components/Icon/svgs/MailSvg.d.ts +4 -0
  283. package/dist/components/Icon/svgs/MapPinSvg.d.ts +4 -0
  284. package/dist/components/Icon/svgs/MapSvg.d.ts +4 -0
  285. package/dist/components/Icon/svgs/Maximize2Svg.d.ts +4 -0
  286. package/dist/components/Icon/svgs/MaximizeSvg.d.ts +4 -0
  287. package/dist/components/Icon/svgs/MehSvg.d.ts +4 -0
  288. package/dist/components/Icon/svgs/MenuSvg.d.ts +4 -0
  289. package/dist/components/Icon/svgs/MessageCircleSvg.d.ts +4 -0
  290. package/dist/components/Icon/svgs/MessageSquareSvg.d.ts +4 -0
  291. package/dist/components/Icon/svgs/MicOffSvg.d.ts +4 -0
  292. package/dist/components/Icon/svgs/MicSvg.d.ts +4 -0
  293. package/dist/components/Icon/svgs/Minimize2Svg.d.ts +4 -0
  294. package/dist/components/Icon/svgs/MinimizeSvg.d.ts +4 -0
  295. package/dist/components/Icon/svgs/MinusCircleSvg.d.ts +4 -0
  296. package/dist/components/Icon/svgs/MinusSquareSvg.d.ts +4 -0
  297. package/dist/components/Icon/svgs/MinusSvg.d.ts +4 -0
  298. package/dist/components/Icon/svgs/MonitorSvg.d.ts +4 -0
  299. package/dist/components/Icon/svgs/MoonSvg.d.ts +4 -0
  300. package/dist/components/Icon/svgs/MoreHorizontalSvg.d.ts +4 -0
  301. package/dist/components/Icon/svgs/MoreVerticalSvg.d.ts +4 -0
  302. package/dist/components/Icon/svgs/MousePointerSvg.d.ts +4 -0
  303. package/dist/components/Icon/svgs/MoveSvg.d.ts +4 -0
  304. package/dist/components/Icon/svgs/MusicSvg.d.ts +4 -0
  305. package/dist/components/Icon/svgs/Navigation2Svg.d.ts +4 -0
  306. package/dist/components/Icon/svgs/NavigationSvg.d.ts +4 -0
  307. package/dist/components/Icon/svgs/OctagonSvg.d.ts +4 -0
  308. package/dist/components/Icon/svgs/PackageSvg.d.ts +4 -0
  309. package/dist/components/Icon/svgs/PaperclipSvg.d.ts +4 -0
  310. package/dist/components/Icon/svgs/PauseCircleSvg.d.ts +4 -0
  311. package/dist/components/Icon/svgs/PauseSvg.d.ts +4 -0
  312. package/dist/components/Icon/svgs/PenToolSvg.d.ts +4 -0
  313. package/dist/components/Icon/svgs/PercentSvg.d.ts +4 -0
  314. package/dist/components/Icon/svgs/PhoneCallSvg.d.ts +4 -0
  315. package/dist/components/Icon/svgs/PhoneForwardedSvg.d.ts +4 -0
  316. package/dist/components/Icon/svgs/PhoneIncomingSvg.d.ts +4 -0
  317. package/dist/components/Icon/svgs/PhoneMissedSvg.d.ts +4 -0
  318. package/dist/components/Icon/svgs/PhoneOffSvg.d.ts +4 -0
  319. package/dist/components/Icon/svgs/PhoneOutgoingSvg.d.ts +4 -0
  320. package/dist/components/Icon/svgs/PhoneSvg.d.ts +4 -0
  321. package/dist/components/Icon/svgs/PieChartSvg.d.ts +4 -0
  322. package/dist/components/Icon/svgs/PlayCircleSvg.d.ts +4 -0
  323. package/dist/components/Icon/svgs/PlaySvg.d.ts +4 -0
  324. package/dist/components/Icon/svgs/PlusCircleSvg.d.ts +4 -0
  325. package/dist/components/Icon/svgs/PlusSquareSvg.d.ts +4 -0
  326. package/dist/components/Icon/svgs/PlusSvg.d.ts +4 -0
  327. package/dist/components/Icon/svgs/PocketSvg.d.ts +4 -0
  328. package/dist/components/Icon/svgs/PowerSvg.d.ts +4 -0
  329. package/dist/components/Icon/svgs/PrinterSvg.d.ts +4 -0
  330. package/dist/components/Icon/svgs/RadioSvg.d.ts +4 -0
  331. package/dist/components/Icon/svgs/RefreshCcwSvg.d.ts +4 -0
  332. package/dist/components/Icon/svgs/RefreshCwSvg.d.ts +4 -0
  333. package/dist/components/Icon/svgs/RepeatSvg.d.ts +4 -0
  334. package/dist/components/Icon/svgs/RewindSvg.d.ts +4 -0
  335. package/dist/components/Icon/svgs/RotateCcwSvg.d.ts +4 -0
  336. package/dist/components/Icon/svgs/RotateCwSvg.d.ts +4 -0
  337. package/dist/components/Icon/svgs/RssSvg.d.ts +4 -0
  338. package/dist/components/Icon/svgs/SaveSvg.d.ts +4 -0
  339. package/dist/components/Icon/svgs/ScissorsSvg.d.ts +4 -0
  340. package/dist/components/Icon/svgs/SearchSvg.d.ts +4 -0
  341. package/dist/components/Icon/svgs/SendSvg.d.ts +4 -0
  342. package/dist/components/Icon/svgs/ServerSvg.d.ts +4 -0
  343. package/dist/components/Icon/svgs/SettingsSvg.d.ts +4 -0
  344. package/dist/components/Icon/svgs/Share2Svg.d.ts +4 -0
  345. package/dist/components/Icon/svgs/ShareSvg.d.ts +4 -0
  346. package/dist/components/Icon/svgs/ShieldOffSvg.d.ts +4 -0
  347. package/dist/components/Icon/svgs/ShieldSvg.d.ts +4 -0
  348. package/dist/components/Icon/svgs/ShoppingBagSvg.d.ts +4 -0
  349. package/dist/components/Icon/svgs/ShoppingCartSvg.d.ts +4 -0
  350. package/dist/components/Icon/svgs/ShuffleSvg.d.ts +4 -0
  351. package/dist/components/Icon/svgs/SidebarSvg.d.ts +4 -0
  352. package/dist/components/Icon/svgs/SkipBackSvg.d.ts +4 -0
  353. package/dist/components/Icon/svgs/SkipForwardSvg.d.ts +4 -0
  354. package/dist/components/Icon/svgs/SlackSvg.d.ts +4 -0
  355. package/dist/components/Icon/svgs/SlashSvg.d.ts +4 -0
  356. package/dist/components/Icon/svgs/SlidersSvg.d.ts +4 -0
  357. package/dist/components/Icon/svgs/SmartphoneSvg.d.ts +4 -0
  358. package/dist/components/Icon/svgs/SmileSvg.d.ts +4 -0
  359. package/dist/components/Icon/svgs/SpeakerSvg.d.ts +4 -0
  360. package/dist/components/Icon/svgs/SquareSvg.d.ts +4 -0
  361. package/dist/components/Icon/svgs/StarSvg.d.ts +4 -0
  362. package/dist/components/Icon/svgs/StopCircleSvg.d.ts +4 -0
  363. package/dist/components/Icon/svgs/SunSvg.d.ts +4 -0
  364. package/dist/components/Icon/svgs/SunriseSvg.d.ts +4 -0
  365. package/dist/components/Icon/svgs/SunsetSvg.d.ts +4 -0
  366. package/dist/components/Icon/svgs/TableSvg.d.ts +4 -0
  367. package/dist/components/Icon/svgs/TabletSvg.d.ts +4 -0
  368. package/dist/components/Icon/svgs/TagSvg.d.ts +4 -0
  369. package/dist/components/Icon/svgs/TargetSvg.d.ts +4 -0
  370. package/dist/components/Icon/svgs/TerminalSvg.d.ts +4 -0
  371. package/dist/components/Icon/svgs/ThermometerSvg.d.ts +4 -0
  372. package/dist/components/Icon/svgs/ThumbsDownSvg.d.ts +4 -0
  373. package/dist/components/Icon/svgs/ThumbsUpSvg.d.ts +4 -0
  374. package/dist/components/Icon/svgs/ToggleLeftSvg.d.ts +4 -0
  375. package/dist/components/Icon/svgs/ToggleRightSvg.d.ts +4 -0
  376. package/dist/components/Icon/svgs/ToolSvg.d.ts +4 -0
  377. package/dist/components/Icon/svgs/Trash2Svg.d.ts +4 -0
  378. package/dist/components/Icon/svgs/TrashSvg.d.ts +4 -0
  379. package/dist/components/Icon/svgs/TrelloSvg.d.ts +4 -0
  380. package/dist/components/Icon/svgs/TrendingDownSvg.d.ts +4 -0
  381. package/dist/components/Icon/svgs/TrendingUpSvg.d.ts +4 -0
  382. package/dist/components/Icon/svgs/TriangleSvg.d.ts +4 -0
  383. package/dist/components/Icon/svgs/TruckSvg.d.ts +4 -0
  384. package/dist/components/Icon/svgs/TvSvg.d.ts +4 -0
  385. package/dist/components/Icon/svgs/TwitchSvg.d.ts +4 -0
  386. package/dist/components/Icon/svgs/TwitterSvg.d.ts +4 -0
  387. package/dist/components/Icon/svgs/TypeSvg.d.ts +4 -0
  388. package/dist/components/Icon/svgs/UmbrellaSvg.d.ts +4 -0
  389. package/dist/components/Icon/svgs/UnderlineSvg.d.ts +4 -0
  390. package/dist/components/Icon/svgs/UnlockSvg.d.ts +4 -0
  391. package/dist/components/Icon/svgs/UploadCloudSvg.d.ts +4 -0
  392. package/dist/components/Icon/svgs/UploadSvg.d.ts +4 -0
  393. package/dist/components/Icon/svgs/UserCheckSvg.d.ts +4 -0
  394. package/dist/components/Icon/svgs/UserMinusSvg.d.ts +4 -0
  395. package/dist/components/Icon/svgs/UserPlusSvg.d.ts +4 -0
  396. package/dist/components/Icon/svgs/UserSvg.d.ts +4 -0
  397. package/dist/components/Icon/svgs/UserXSvg.d.ts +4 -0
  398. package/dist/components/Icon/svgs/UsersSvg.d.ts +4 -0
  399. package/dist/components/Icon/svgs/VideoOffSvg.d.ts +4 -0
  400. package/dist/components/Icon/svgs/VideoSvg.d.ts +4 -0
  401. package/dist/components/Icon/svgs/VoicemailSvg.d.ts +4 -0
  402. package/dist/components/Icon/svgs/Volume1Svg.d.ts +4 -0
  403. package/dist/components/Icon/svgs/Volume2Svg.d.ts +4 -0
  404. package/dist/components/Icon/svgs/VolumeSvg.d.ts +4 -0
  405. package/dist/components/Icon/svgs/VolumeXSvg.d.ts +4 -0
  406. package/dist/components/Icon/svgs/WatchSvg.d.ts +4 -0
  407. package/dist/components/Icon/svgs/WifiOffSvg.d.ts +4 -0
  408. package/dist/components/Icon/svgs/WifiSvg.d.ts +4 -0
  409. package/dist/components/Icon/svgs/WindSvg.d.ts +4 -0
  410. package/dist/components/Icon/svgs/XCircleSvg.d.ts +4 -0
  411. package/dist/components/Icon/svgs/XOctagonSvg.d.ts +4 -0
  412. package/dist/components/Icon/svgs/XSquareSvg.d.ts +4 -0
  413. package/dist/components/Icon/svgs/XSvg.d.ts +4 -0
  414. package/dist/components/Icon/svgs/ZapOffSvg.d.ts +4 -0
  415. package/dist/components/Icon/svgs/ZapSvg.d.ts +4 -0
  416. package/dist/components/Icon/svgs/ZoomInSvg.d.ts +4 -0
  417. package/dist/components/Icon/svgs/ZoomOutSvg.d.ts +4 -0
  418. package/dist/components/Icon/svgs/internal/EmptySvg.d.ts +4 -0
  419. package/dist/components/Icon/svgs/social/FacebookSvg.d.ts +4 -0
  420. package/dist/components/Icon/svgs/social/FlickrSvg.d.ts +4 -0
  421. package/dist/components/Icon/svgs/social/InstagramSvg.d.ts +4 -0
  422. package/dist/components/Icon/svgs/social/SoundcloudSvg.d.ts +4 -0
  423. package/dist/components/Icon/svgs/social/TiktokSvg.d.ts +4 -0
  424. package/dist/components/Icon/svgs/social/XSvg.d.ts +4 -0
  425. package/dist/components/Icon/svgs/social/YoutubeSvg.d.ts +4 -0
  426. package/dist/components/IconButton/IconButton.d.ts +10 -0
  427. package/dist/components/IconButton/IconButton.stories.d.ts +6 -0
  428. package/dist/components/IconButton/__tests__/IconButton.test.d.ts +1 -0
  429. package/dist/components/IconButton/index.d.ts +2 -0
  430. package/dist/components/Input/Input.d.ts +17 -0
  431. package/dist/components/Input/Input.stories.d.ts +12 -0
  432. package/dist/components/Input/__tests__/Input.test.d.ts +1 -0
  433. package/dist/components/Input/index.d.ts +2 -0
  434. package/dist/components/Label/Label.d.ts +13 -0
  435. package/dist/components/Label/Label.stories.d.ts +12 -0
  436. package/dist/components/Label/__tests__/Label.test.d.ts +1 -0
  437. package/dist/components/Label/index.d.ts +2 -0
  438. package/dist/components/Layout/Layout.d.ts +7 -0
  439. package/dist/components/Layout/Layout.stories.d.ts +15 -0
  440. package/dist/components/Layout/__tests__/Layout.test.d.ts +1 -0
  441. package/dist/components/Layout/index.d.ts +2 -0
  442. package/dist/components/Link/Link.d.ts +11 -0
  443. package/dist/components/Link/Link.stories.d.ts +13 -0
  444. package/dist/components/Link/__tests__/link.test.d.ts +1 -0
  445. package/dist/components/Link/index.d.ts +2 -0
  446. package/dist/components/Menu/Menu.context.d.ts +14 -0
  447. package/dist/components/Menu/Menu.d.ts +17 -0
  448. package/dist/components/Menu/MenuContent.d.ts +8 -0
  449. package/dist/components/Menu/MenuItem.d.ts +8 -0
  450. package/dist/components/Menu/MenuSection.d.ts +7 -0
  451. package/dist/components/Menu/MenuTrigger.d.ts +7 -0
  452. package/dist/components/Menu/index.d.ts +6 -0
  453. package/dist/components/Modal/Modal.d.ts +11 -0
  454. package/dist/components/Modal/Modal.stories.d.ts +16 -0
  455. package/dist/components/Modal/__tests__/Modal.test.d.ts +1 -0
  456. package/dist/components/Modal/index.d.ts +2 -0
  457. package/dist/components/Overlay/Overlay.d.ts +17 -0
  458. package/dist/components/Overlay/Overlay.stories.d.ts +341 -0
  459. package/dist/components/Overlay/index.d.ts +2 -0
  460. package/dist/components/Pagination/Pagination.d.ts +27 -0
  461. package/dist/components/Pagination/Pagination.stories.d.ts +15 -0
  462. package/dist/components/Pagination/PaginationControls.d.ts +9 -0
  463. package/dist/components/Pagination/PaginationInfo.d.ts +8 -0
  464. package/dist/components/Pagination/__tests__/getPaginationButtons.test.d.ts +1 -0
  465. package/dist/components/Pagination/getPaginationButtons.d.ts +3 -0
  466. package/dist/components/Pagination/index.d.ts +6 -0
  467. package/dist/components/Paragraph/Paragraph.d.ts +13 -0
  468. package/dist/components/Paragraph/Paragraph.stories.d.ts +19 -0
  469. package/dist/components/Paragraph/__tests__/Paragraph.test.d.ts +1 -0
  470. package/dist/components/Paragraph/index.d.ts +4 -0
  471. package/dist/components/Radio/LabelledRadio.d.ts +14 -0
  472. package/dist/components/Radio/Radio.d.ts +10 -0
  473. package/dist/components/Radio/Radio.stories.d.ts +20 -0
  474. package/dist/components/Radio/__tests__/Radio.test.d.ts +1 -0
  475. package/dist/components/Radio/index.d.ts +4 -0
  476. package/dist/components/Select/Select.d.ts +8 -0
  477. package/dist/components/Select/Select.stories.d.ts +9 -0
  478. package/dist/components/Select/__tests__/Select.test.d.ts +1 -0
  479. package/dist/components/Select/index.d.ts +2 -0
  480. package/dist/components/Snackbar/Snackbar.d.ts +13 -0
  481. package/dist/components/Snackbar/Snackbar.stories.d.ts +29 -0
  482. package/dist/components/Snackbar/__tests__/Snackbar.test.d.ts +1 -0
  483. package/dist/components/Snackbar/index.d.ts +2 -0
  484. package/dist/components/Spinner/Spinner.d.ts +8 -0
  485. package/dist/components/Spinner/Spinner.stories.d.ts +15 -0
  486. package/dist/components/Spinner/__tests__/Spinner.test.d.ts +1 -0
  487. package/dist/components/Spinner/index.d.ts +2 -0
  488. package/dist/components/Table/Table.d.ts +8 -0
  489. package/dist/components/Table/index.d.ts +2 -0
  490. package/dist/components/Tabs/Tab.d.ts +11 -0
  491. package/dist/components/Tabs/TabContext.d.ts +9 -0
  492. package/dist/components/Tabs/Tabs.d.ts +16 -0
  493. package/dist/components/Tabs/Tabs.stories.d.ts +15 -0
  494. package/dist/components/Tabs/__tests__/Tabs.test.d.ts +1 -0
  495. package/dist/components/Tabs/index.d.ts +2 -0
  496. package/dist/components/Textarea/Textarea.d.ts +11 -0
  497. package/dist/components/Textarea/Textarea.stories.d.ts +16 -0
  498. package/dist/components/Textarea/__tests__/Textarea.test.d.ts +1 -0
  499. package/dist/components/Textarea/index.d.ts +2 -0
  500. package/dist/components/Toggle/Toggle.d.ts +8 -0
  501. package/dist/components/Toggle/Toggle.stories.d.ts +16 -0
  502. package/dist/components/Toggle/ToggleHandle.d.ts +8 -0
  503. package/dist/components/Toggle/index.d.ts +2 -0
  504. package/dist/components/Tooltip/Tooltip.d.ts +8 -0
  505. package/dist/components/Tooltip/Tooltip.stories.d.ts +11 -0
  506. package/dist/components/Tooltip/__tests__/tooltip.test.d.ts +1 -0
  507. package/dist/components/Tooltip/index.d.ts +2 -0
  508. package/dist/components/UclLogo/UclLogo.d.ts +7 -0
  509. package/dist/components/UclLogo/UclLogo.stories.d.ts +10 -0
  510. package/dist/components/UclLogo/UclLogoNegativeSpace.d.ts +8 -0
  511. package/dist/components/UclLogo/__tests__/UclLogo.test.d.ts +1 -0
  512. package/dist/components/UclLogo/index.d.ts +4 -0
  513. package/dist/components/common/marginsStyle.d.ts +48 -0
  514. package/dist/components/index.d.ts +79 -0
  515. package/dist/hooks/useMediaQuery.d.ts +2 -0
  516. package/dist/index.d.ts +3 -0
  517. package/dist/index.js +17289 -0
  518. package/dist/theme/defaultTheme.d.ts +267 -0
  519. package/dist/theme/index.d.ts +3 -0
  520. package/dist/theme/useTheme.d.ts +488 -0
  521. package/lib/Welcome.mdx +31 -0
  522. package/lib/components/Accordion/Accordion.Heading.tsx +75 -0
  523. package/lib/components/Accordion/Accordion.Panel.tsx +47 -0
  524. package/lib/components/Accordion/Accordion.stories.tsx.NOT_READY +93 -0
  525. package/lib/components/Accordion/Accordion.tsx +114 -0
  526. package/lib/components/Accordion/__tests__/Accordion.test.tsx +64 -0
  527. package/lib/components/Accordion/__tests__/__snapshots__/Accordion.test.tsx.snap +71 -0
  528. package/lib/components/Accordion/__tests__/__snapshots__/IconButton.test.tsx.snap +74 -0
  529. package/lib/components/Accordion/index.ts +2 -0
  530. package/lib/components/Alert/Alert.mdx +43 -0
  531. package/lib/components/Alert/Alert.stories.tsx +111 -0
  532. package/lib/components/Alert/Alert.tsx +137 -0
  533. package/lib/components/Alert/AlertMessage.tsx +35 -0
  534. package/lib/components/Alert/AlertTitle.tsx +34 -0
  535. package/lib/components/Alert/__tests__/Alert.test.tsx +71 -0
  536. package/lib/components/Alert/__tests__/__snapshots__/Alert.test.tsx.snap +198 -0
  537. package/lib/components/Alert/index.ts +6 -0
  538. package/lib/components/AppHeader/AppHeader.stories.tsx +135 -0
  539. package/lib/components/AppHeader/AppHeader.tsx +90 -0
  540. package/lib/components/AppHeader/AppHeaderBottom.tsx +46 -0
  541. package/lib/components/AppHeader/AppHeaderNav.tsx +39 -0
  542. package/lib/components/AppHeader/AppHeaderTop.tsx +56 -0
  543. package/lib/components/AppHeader/__tests__/AppHeader.test.tsx +19 -0
  544. package/lib/components/AppHeader/__tests__/__snapshots__/AppHeader.test.tsx.snap +8 -0
  545. package/lib/components/AppHeader/index.ts +3 -0
  546. package/lib/components/AppMenu/AppMenu.context.tsx +162 -0
  547. package/lib/components/AppMenu/AppMenu.stories.tsx +177 -0
  548. package/lib/components/AppMenu/AppMenu.tsx +62 -0
  549. package/lib/components/AppMenu/AppMenuContent.tsx +121 -0
  550. package/lib/components/AppMenu/AppMenuDivider.tsx +40 -0
  551. package/lib/components/AppMenu/AppMenuItem.tsx +173 -0
  552. package/lib/components/AppMenu/AppMenuTrigger.tsx +50 -0
  553. package/lib/components/AppMenu/__tests__/AppMenu.test.tsx +100 -0
  554. package/lib/components/AppMenu/__tests__/__snapshots__/AppMenu.test.tsx.snap +128 -0
  555. package/lib/components/AppMenu/index.ts +2 -0
  556. package/lib/components/Avatar/Avatar.stories.tsx +33 -0
  557. package/lib/components/Avatar/Avatar.tsx +152 -0
  558. package/lib/components/Avatar/__tests__/Avatar.test.tsx +264 -0
  559. package/lib/components/Avatar/__tests__/__snapshots__/Avatar.test.tsx.snap +260 -0
  560. package/lib/components/Avatar/index.ts +2 -0
  561. package/lib/components/Avatar/utils/extractInitials.test.ts +65 -0
  562. package/lib/components/Avatar/utils/extractInitials.ts +24 -0
  563. package/lib/components/Blanket/Blanket.stories.tsx +67 -0
  564. package/lib/components/Blanket/Blanket.tsx +66 -0
  565. package/lib/components/Blanket/__tests__/Blanket.test.tsx +54 -0
  566. package/lib/components/Blanket/__tests__/__snapshots__/Blanket.test.tsx.snap +10 -0
  567. package/lib/components/Blanket/index.ts +2 -0
  568. package/lib/components/Breadcrumbs/Breadcrumb.tsx +78 -0
  569. package/lib/components/Breadcrumbs/Breadcrumbs.stories.tsx +35 -0
  570. package/lib/components/Breadcrumbs/Breadcrumbs.tsx +64 -0
  571. package/lib/components/Breadcrumbs/__tests__/Breadcrumbs.test.tsx +128 -0
  572. package/lib/components/Breadcrumbs/__tests__/__snapshots__/Breadcrumbs.test.tsx.snap +149 -0
  573. package/lib/components/Breadcrumbs/index.ts +2 -0
  574. package/lib/components/Button/Button.mdx +325 -0
  575. package/lib/components/Button/Button.stories.tsx +420 -0
  576. package/lib/components/Button/Button.tsx +146 -0
  577. package/lib/components/Button/Button.types.ts +46 -0
  578. package/lib/components/Button/__tests__/Button.test.tsx +244 -0
  579. package/lib/components/Button/__tests__/__snapshots__/Button.test.tsx.snap +139 -0
  580. package/lib/components/Button/buttonPrimaryStyle.ts +62 -0
  581. package/lib/components/Button/buttonSecondaryStyle.ts +65 -0
  582. package/lib/components/Button/buttonTertiaryStyle.ts +54 -0
  583. package/lib/components/Button/index.ts +2 -0
  584. package/lib/components/Checkbox/Checkbox.stories.tsx +31 -0
  585. package/lib/components/Checkbox/Checkbox.tsx +177 -0
  586. package/lib/components/Checkbox/LabelledCheckbox.tsx +111 -0
  587. package/lib/components/Checkbox/__tests__/Checkbox.test.tsx +99 -0
  588. package/lib/components/Checkbox/__tests__/__snapshots__/Checkbox.test.tsx.snap +87 -0
  589. package/lib/components/Checkbox/index.ts +4 -0
  590. package/lib/components/Datepicker/Datepicker.stories.tsx +70 -0
  591. package/lib/components/Datepicker/Datepicker.tsx +153 -0
  592. package/lib/components/Datepicker/__tests__/Datepicker.test.tsx +147 -0
  593. package/lib/components/Datepicker/__tests__/__snapshots__/Datepicker.test.tsx.snap +679 -0
  594. package/lib/components/Datepicker/index.ts +2 -0
  595. package/lib/components/Datepicker/subcomponents/CalendarGrid/CalendarGrid.tsx +59 -0
  596. package/lib/components/Datepicker/subcomponents/CalendarGrid/index.ts +1 -0
  597. package/lib/components/Datepicker/subcomponents/CalendarMenu/CalendarMenu.tsx +64 -0
  598. package/lib/components/Datepicker/subcomponents/CalendarMenu/index.ts +1 -0
  599. package/lib/components/Datepicker/subcomponents/ColumnHeadings/ColumnHeadings.tsx +35 -0
  600. package/lib/components/Datepicker/subcomponents/ColumnHeadings/index.ts +1 -0
  601. package/lib/components/Datepicker/subcomponents/DateField/DateField.tsx +155 -0
  602. package/lib/components/Datepicker/subcomponents/DateField/__tests__/DateField.test.tsx +191 -0
  603. package/lib/components/Datepicker/subcomponents/DateField/index.ts +1 -0
  604. package/lib/components/Datepicker/subcomponents/Day/Day.stories.tsx +81 -0
  605. package/lib/components/Datepicker/subcomponents/Day/Day.tsx +94 -0
  606. package/lib/components/Datepicker/subcomponents/Day/index.ts +1 -0
  607. package/lib/components/Datepicker/subcomponents/MonthSelector/MonthSelector.tsx +70 -0
  608. package/lib/components/Datepicker/subcomponents/MonthSelector/index.ts +1 -0
  609. package/lib/components/Datepicker/subcomponents/Native/Native.tsx +59 -0
  610. package/lib/components/Datepicker/subcomponents/Native/index.ts +1 -0
  611. package/lib/components/Datepicker/subcomponents/index.ts +7 -0
  612. package/lib/components/Datepicker/utils/getDatesForCalendarGrid/getDatesForCalendarGrid.test.ts +166 -0
  613. package/lib/components/Datepicker/utils/getDatesForCalendarGrid/getDatesForCalendarGrid.ts +109 -0
  614. package/lib/components/Datepicker/utils/index.ts +2 -0
  615. package/lib/components/Datepicker/utils/parseDateForDateField/parseDateForDateField.test.ts +41 -0
  616. package/lib/components/Datepicker/utils/parseDateForDateField/parseDateForDateField.ts +48 -0
  617. package/lib/components/Dialog/BaseDialog.tsx +163 -0
  618. package/lib/components/Dialog/Dialog.stories.tsx +107 -0
  619. package/lib/components/Dialog/Dialog.tsx +73 -0
  620. package/lib/components/Dialog/DialogBody.tsx +35 -0
  621. package/lib/components/Dialog/DialogFooter.tsx +90 -0
  622. package/lib/components/Dialog/DialogHeader.tsx +83 -0
  623. package/lib/components/Dialog/index.tsx +10 -0
  624. package/lib/components/Divider/Divider.stories.tsx +29 -0
  625. package/lib/components/Divider/Divider.tsx +37 -0
  626. package/lib/components/Divider/__tests__/Divider.test.tsx +33 -0
  627. package/lib/components/Divider/__tests__/__snapshots__/Breadcrumbs.test.tsx.snap +145 -0
  628. package/lib/components/Divider/index.ts +2 -0
  629. package/lib/components/FeedbackDialog/FeedbackDialog.stories.tsx +67 -0
  630. package/lib/components/FeedbackDialog/FeedbackDialog.tsx +131 -0
  631. package/lib/components/FeedbackDialog/index.tsx +2 -0
  632. package/lib/components/Field/CharacterCount.tsx +48 -0
  633. package/lib/components/Field/ErrorText.tsx +55 -0
  634. package/lib/components/Field/Field.stories.tsx +426 -0
  635. package/lib/components/Field/Field.tsx +108 -0
  636. package/lib/components/Field/HelperText.tsx +42 -0
  637. package/lib/components/Field/__tests__/Field.test.tsx +510 -0
  638. package/lib/components/Field/__tests__/__snapshots__/Field.test.tsx.snap +300 -0
  639. package/lib/components/Field/index.ts +6 -0
  640. package/lib/components/Footer/Footer.stories.tsx +50 -0
  641. package/lib/components/Footer/Footer.tsx +261 -0
  642. package/lib/components/Footer/FooterColumn.tsx +54 -0
  643. package/lib/components/Footer/FooterNavLink.tsx +56 -0
  644. package/lib/components/Footer/SocialLink.tsx +104 -0
  645. package/lib/components/Footer/__tests__/Footer.test.tsx +57 -0
  646. package/lib/components/Footer/__tests__/__snapshots__/Footer.test.tsx.snap +935 -0
  647. package/lib/components/Footer/index.ts +2 -0
  648. package/lib/components/Header/Header.tsx +109 -0
  649. package/lib/components/Header/HeaderMenu.tsx +34 -0
  650. package/lib/components/Header/__tests__/Header.test.tsx +26 -0
  651. package/lib/components/Header/__tests__/__snapshots__/Header.test.tsx.snap +65 -0
  652. package/lib/components/Header/index.ts +3 -0
  653. package/lib/components/HeaderDraft/HeaderBottomBreadcrumbs.tsx +50 -0
  654. package/lib/components/HeaderDraft/HeaderBottomHeadingAndAvatar.tsx +141 -0
  655. package/lib/components/HeaderDraft/HeaderBreadcrumb.tsx +74 -0
  656. package/lib/components/HeaderDraft/HeaderDraft.tsx +178 -0
  657. package/lib/components/HeaderDraft/HeaderMenu.tsx +24 -0
  658. package/lib/components/HeaderDraft/__tests__/Header.test.tsx +40 -0
  659. package/lib/components/HeaderDraft/__tests__/__snapshots__/Header.test.tsx.snap +126 -0
  660. package/lib/components/HeaderDraft/index.ts +4 -0
  661. package/lib/components/Heading/Documentation.mdx +118 -0
  662. package/lib/components/Heading/Heading.stories.tsx +107 -0
  663. package/lib/components/Heading/Heading.tsx +94 -0
  664. package/lib/components/Heading/__tests__/Heading.test.tsx +79 -0
  665. package/lib/components/Heading/__tests__/__snapshots__/Heading.test.tsx.snap +37 -0
  666. package/lib/components/Heading/index.ts +2 -0
  667. package/lib/components/Icon/BaseIcon.tsx +47 -0
  668. package/lib/components/Icon/Icon.stories.tsx +44 -0
  669. package/lib/components/Icon/Icon.tsx +52 -0
  670. package/lib/components/Icon/__tests__/Icon.test.tsx +94 -0
  671. package/lib/components/Icon/__tests__/__snapshots__/Icon.test.tsx.snap +84 -0
  672. package/lib/components/Icon/index.ts +2 -0
  673. package/lib/components/Icon/svgImports.ts +599 -0
  674. package/lib/components/Icon/svgs/ActivitySvg.tsx +23 -0
  675. package/lib/components/Icon/svgs/AirplaySvg.tsx +24 -0
  676. package/lib/components/Icon/svgs/AlertCircleSvg.tsx +39 -0
  677. package/lib/components/Icon/svgs/AlertOctagonSvg.tsx +35 -0
  678. package/lib/components/Icon/svgs/AlertTriangleSvg.tsx +35 -0
  679. package/lib/components/Icon/svgs/AlignCenterSvg.tsx +46 -0
  680. package/lib/components/Icon/svgs/AlignJustifySvg.tsx +46 -0
  681. package/lib/components/Icon/svgs/AlignLeftSvg.tsx +46 -0
  682. package/lib/components/Icon/svgs/AlignRightSvg.tsx +46 -0
  683. package/lib/components/Icon/svgs/AnchorSvg.tsx +34 -0
  684. package/lib/components/Icon/svgs/ApertureSvg.tsx +63 -0
  685. package/lib/components/Icon/svgs/ArchiveSvg.tsx +35 -0
  686. package/lib/components/Icon/svgs/ArrowDownCircleSvg.tsx +34 -0
  687. package/lib/components/Icon/svgs/ArrowDownLeftSvg.tsx +29 -0
  688. package/lib/components/Icon/svgs/ArrowDownRightSvg.tsx +29 -0
  689. package/lib/components/Icon/svgs/ArrowDownSvg.tsx +29 -0
  690. package/lib/components/Icon/svgs/ArrowLeftCircleSvg.tsx +34 -0
  691. package/lib/components/Icon/svgs/ArrowLeftSvg.tsx +29 -0
  692. package/lib/components/Icon/svgs/ArrowRightCircleSvg.tsx +34 -0
  693. package/lib/components/Icon/svgs/ArrowRightSvg.tsx +29 -0
  694. package/lib/components/Icon/svgs/ArrowUpCircleSvg.tsx +34 -0
  695. package/lib/components/Icon/svgs/ArrowUpLeftSvg.tsx +29 -0
  696. package/lib/components/Icon/svgs/ArrowUpRightSvg.tsx +29 -0
  697. package/lib/components/Icon/svgs/ArrowUpSvg.tsx +29 -0
  698. package/lib/components/Icon/svgs/AtSignSvg.tsx +28 -0
  699. package/lib/components/Icon/svgs/AvatarSvg.tsx +29 -0
  700. package/lib/components/Icon/svgs/AwardSvg.tsx +28 -0
  701. package/lib/components/Icon/svgs/BarChart2Svg.tsx +40 -0
  702. package/lib/components/Icon/svgs/BarChartSvg.tsx +40 -0
  703. package/lib/components/Icon/svgs/BatteryChargingSvg.tsx +30 -0
  704. package/lib/components/Icon/svgs/BatterySvg.tsx +36 -0
  705. package/lib/components/Icon/svgs/BellOffSvg.tsx +32 -0
  706. package/lib/components/Icon/svgs/BellSvg.tsx +24 -0
  707. package/lib/components/Icon/svgs/BluetoothSvg.tsx +23 -0
  708. package/lib/components/Icon/svgs/BoldSvg.tsx +24 -0
  709. package/lib/components/Icon/svgs/BookOpenSvg.tsx +24 -0
  710. package/lib/components/Icon/svgs/BookSvg.tsx +24 -0
  711. package/lib/components/Icon/svgs/BookmarkSvg.tsx +23 -0
  712. package/lib/components/Icon/svgs/BoxSvg.tsx +30 -0
  713. package/lib/components/Icon/svgs/BriefcaseSvg.tsx +31 -0
  714. package/lib/components/Icon/svgs/CalendarSvg.tsx +48 -0
  715. package/lib/components/Icon/svgs/CameraOffSvg.tsx +29 -0
  716. package/lib/components/Icon/svgs/CameraSvg.tsx +28 -0
  717. package/lib/components/Icon/svgs/CastSvg.tsx +29 -0
  718. package/lib/components/Icon/svgs/CheckCircleSvg.tsx +24 -0
  719. package/lib/components/Icon/svgs/CheckSquareSvg.tsx +24 -0
  720. package/lib/components/Icon/svgs/CheckSvg.tsx +23 -0
  721. package/lib/components/Icon/svgs/ChevronDownSvg.tsx +32 -0
  722. package/lib/components/Icon/svgs/ChevronLeftSvg.tsx +23 -0
  723. package/lib/components/Icon/svgs/ChevronRightSvg.tsx +23 -0
  724. package/lib/components/Icon/svgs/ChevronUpSvg.tsx +25 -0
  725. package/lib/components/Icon/svgs/ChevronsDownSvg.tsx +24 -0
  726. package/lib/components/Icon/svgs/ChevronsLeftSvg.tsx +24 -0
  727. package/lib/components/Icon/svgs/ChevronsRightSvg.tsx +24 -0
  728. package/lib/components/Icon/svgs/ChevronsUpSvg.tsx +24 -0
  729. package/lib/components/Icon/svgs/ChromeSvg.tsx +50 -0
  730. package/lib/components/Icon/svgs/CircleSvg.tsx +27 -0
  731. package/lib/components/Icon/svgs/ClipboardSvg.tsx +31 -0
  732. package/lib/components/Icon/svgs/ClockSvg.tsx +28 -0
  733. package/lib/components/Icon/svgs/CloudDrizzleSvg.tsx +59 -0
  734. package/lib/components/Icon/svgs/CloudLightningSvg.tsx +24 -0
  735. package/lib/components/Icon/svgs/CloudOffSvg.tsx +29 -0
  736. package/lib/components/Icon/svgs/CloudRainSvg.tsx +41 -0
  737. package/lib/components/Icon/svgs/CloudSnowSvg.tsx +59 -0
  738. package/lib/components/Icon/svgs/CloudSvg.tsx +23 -0
  739. package/lib/components/Icon/svgs/CodeSvg.tsx +24 -0
  740. package/lib/components/Icon/svgs/CodepenSvg.tsx +37 -0
  741. package/lib/components/Icon/svgs/CodesandboxSvg.tsx +33 -0
  742. package/lib/components/Icon/svgs/CoffeeSvg.tsx +42 -0
  743. package/lib/components/Icon/svgs/ColumnsSvg.tsx +23 -0
  744. package/lib/components/Icon/svgs/CommandSvg.tsx +23 -0
  745. package/lib/components/Icon/svgs/CompassSvg.tsx +28 -0
  746. package/lib/components/Icon/svgs/CopySvg.tsx +31 -0
  747. package/lib/components/Icon/svgs/CornerDownLeftSvg.tsx +24 -0
  748. package/lib/components/Icon/svgs/CornerDownRightSvg.tsx +24 -0
  749. package/lib/components/Icon/svgs/CornerLeftDownSvg.tsx +24 -0
  750. package/lib/components/Icon/svgs/CornerLeftUpSvg.tsx +24 -0
  751. package/lib/components/Icon/svgs/CornerRightDownSvg.tsx +24 -0
  752. package/lib/components/Icon/svgs/CornerRightUpSvg.tsx +24 -0
  753. package/lib/components/Icon/svgs/CornerUpLeftSvg.tsx +24 -0
  754. package/lib/components/Icon/svgs/CornerUpRightSvg.tsx +24 -0
  755. package/lib/components/Icon/svgs/CpuSvg.tsx +84 -0
  756. package/lib/components/Icon/svgs/CreditCardSvg.tsx +36 -0
  757. package/lib/components/Icon/svgs/CropSvg.tsx +24 -0
  758. package/lib/components/Icon/svgs/CrosshairSvg.tsx +51 -0
  759. package/lib/components/Icon/svgs/DatabaseSvg.tsx +30 -0
  760. package/lib/components/Icon/svgs/DeleteSvg.tsx +35 -0
  761. package/lib/components/Icon/svgs/DiscSvg.tsx +32 -0
  762. package/lib/components/Icon/svgs/DivideCircleSvg.tsx +45 -0
  763. package/lib/components/Icon/svgs/DivideSquareSvg.tsx +48 -0
  764. package/lib/components/Icon/svgs/DivideSvg.tsx +38 -0
  765. package/lib/components/Icon/svgs/DollarSignSvg.tsx +29 -0
  766. package/lib/components/Icon/svgs/DownloadCloudSvg.tsx +30 -0
  767. package/lib/components/Icon/svgs/DownloadSvg.tsx +30 -0
  768. package/lib/components/Icon/svgs/DribbbleSvg.tsx +28 -0
  769. package/lib/components/Icon/svgs/DropletSvg.tsx +23 -0
  770. package/lib/components/Icon/svgs/Edit2Svg.tsx +23 -0
  771. package/lib/components/Icon/svgs/Edit3Svg.tsx +24 -0
  772. package/lib/components/Icon/svgs/EditSvg.tsx +24 -0
  773. package/lib/components/Icon/svgs/ExternalLinkSvg.tsx +30 -0
  774. package/lib/components/Icon/svgs/EyeOffSvg.tsx +29 -0
  775. package/lib/components/Icon/svgs/EyeSvg.tsx +28 -0
  776. package/lib/components/Icon/svgs/FastForwardSvg.tsx +24 -0
  777. package/lib/components/Icon/svgs/FeatherSvg.tsx +35 -0
  778. package/lib/components/Icon/svgs/FigmaSvg.tsx +27 -0
  779. package/lib/components/Icon/svgs/FileMinusSvg.tsx +30 -0
  780. package/lib/components/Icon/svgs/FilePlusSvg.tsx +36 -0
  781. package/lib/components/Icon/svgs/FileSvg.tsx +24 -0
  782. package/lib/components/Icon/svgs/FileTextSvg.tsx +37 -0
  783. package/lib/components/Icon/svgs/FilmSvg.tsx +72 -0
  784. package/lib/components/Icon/svgs/FilterSvg.tsx +23 -0
  785. package/lib/components/Icon/svgs/FlagSvg.tsx +29 -0
  786. package/lib/components/Icon/svgs/FolderMinusSvg.tsx +29 -0
  787. package/lib/components/Icon/svgs/FolderPlusSvg.tsx +35 -0
  788. package/lib/components/Icon/svgs/FolderSvg.tsx +23 -0
  789. package/lib/components/Icon/svgs/FramerSvg.tsx +23 -0
  790. package/lib/components/Icon/svgs/FrownSvg.tsx +40 -0
  791. package/lib/components/Icon/svgs/GiftSvg.tsx +37 -0
  792. package/lib/components/Icon/svgs/GitBranchSvg.tsx +39 -0
  793. package/lib/components/Icon/svgs/GitCommitSvg.tsx +39 -0
  794. package/lib/components/Icon/svgs/GitMergeSvg.tsx +33 -0
  795. package/lib/components/Icon/svgs/GitPullRequestSvg.tsx +39 -0
  796. package/lib/components/Icon/svgs/GithubSvg.tsx +23 -0
  797. package/lib/components/Icon/svgs/GitlabSvg.tsx +23 -0
  798. package/lib/components/Icon/svgs/GlobeSvg.tsx +34 -0
  799. package/lib/components/Icon/svgs/GridSvg.tsx +46 -0
  800. package/lib/components/Icon/svgs/HardDriveSvg.tsx +41 -0
  801. package/lib/components/Icon/svgs/HashSvg.tsx +46 -0
  802. package/lib/components/Icon/svgs/HeadphonesSvg.tsx +24 -0
  803. package/lib/components/Icon/svgs/HeartSvg.tsx +23 -0
  804. package/lib/components/Icon/svgs/HelpCircleSvg.tsx +34 -0
  805. package/lib/components/Icon/svgs/HexagonSvg.tsx +23 -0
  806. package/lib/components/Icon/svgs/HomeSvg.tsx +24 -0
  807. package/lib/components/Icon/svgs/ImageSvg.tsx +36 -0
  808. package/lib/components/Icon/svgs/InboxSvg.tsx +24 -0
  809. package/lib/components/Icon/svgs/InfoSvg.tsx +39 -0
  810. package/lib/components/Icon/svgs/ItalicSvg.tsx +40 -0
  811. package/lib/components/Icon/svgs/KeySvg.tsx +23 -0
  812. package/lib/components/Icon/svgs/LayersSvg.tsx +25 -0
  813. package/lib/components/Icon/svgs/LayoutSvg.tsx +42 -0
  814. package/lib/components/Icon/svgs/LifeBuoySvg.tsx +62 -0
  815. package/lib/components/Icon/svgs/Link2Svg.tsx +29 -0
  816. package/lib/components/Icon/svgs/LinkSvg.tsx +24 -0
  817. package/lib/components/Icon/svgs/LinkedinSvg.tsx +34 -0
  818. package/lib/components/Icon/svgs/ListSvg.tsx +58 -0
  819. package/lib/components/Icon/svgs/LoaderSvg.tsx +70 -0
  820. package/lib/components/Icon/svgs/LockSvg.tsx +31 -0
  821. package/lib/components/Icon/svgs/LogInSvg.tsx +30 -0
  822. package/lib/components/Icon/svgs/LogOutSvg.tsx +30 -0
  823. package/lib/components/Icon/svgs/MailSvg.tsx +24 -0
  824. package/lib/components/Icon/svgs/MapPinSvg.tsx +28 -0
  825. package/lib/components/Icon/svgs/MapSvg.tsx +35 -0
  826. package/lib/components/Icon/svgs/Maximize2Svg.tsx +36 -0
  827. package/lib/components/Icon/svgs/MaximizeSvg.tsx +23 -0
  828. package/lib/components/Icon/svgs/MehSvg.tsx +45 -0
  829. package/lib/components/Icon/svgs/MenuSvg.tsx +40 -0
  830. package/lib/components/Icon/svgs/MessageCircleSvg.tsx +23 -0
  831. package/lib/components/Icon/svgs/MessageSquareSvg.tsx +23 -0
  832. package/lib/components/Icon/svgs/MicOffSvg.tsx +42 -0
  833. package/lib/components/Icon/svgs/MicSvg.tsx +36 -0
  834. package/lib/components/Icon/svgs/Minimize2Svg.tsx +36 -0
  835. package/lib/components/Icon/svgs/MinimizeSvg.tsx +23 -0
  836. package/lib/components/Icon/svgs/MinusCircleSvg.tsx +33 -0
  837. package/lib/components/Icon/svgs/MinusSquareSvg.tsx +36 -0
  838. package/lib/components/Icon/svgs/MinusSvg.tsx +29 -0
  839. package/lib/components/Icon/svgs/MonitorSvg.tsx +42 -0
  840. package/lib/components/Icon/svgs/MoonSvg.tsx +23 -0
  841. package/lib/components/Icon/svgs/MoreHorizontalSvg.tsx +37 -0
  842. package/lib/components/Icon/svgs/MoreVerticalSvg.tsx +37 -0
  843. package/lib/components/Icon/svgs/MousePointerSvg.tsx +24 -0
  844. package/lib/components/Icon/svgs/MoveSvg.tsx +38 -0
  845. package/lib/components/Icon/svgs/MusicSvg.tsx +33 -0
  846. package/lib/components/Icon/svgs/Navigation2Svg.tsx +23 -0
  847. package/lib/components/Icon/svgs/NavigationSvg.tsx +23 -0
  848. package/lib/components/Icon/svgs/OctagonSvg.tsx +23 -0
  849. package/lib/components/Icon/svgs/PackageSvg.tsx +36 -0
  850. package/lib/components/Icon/svgs/PaperclipSvg.tsx +23 -0
  851. package/lib/components/Icon/svgs/PauseCircleSvg.tsx +39 -0
  852. package/lib/components/Icon/svgs/PauseSvg.tsx +34 -0
  853. package/lib/components/Icon/svgs/PenToolSvg.tsx +30 -0
  854. package/lib/components/Icon/svgs/PercentSvg.tsx +38 -0
  855. package/lib/components/Icon/svgs/PhoneCallSvg.tsx +23 -0
  856. package/lib/components/Icon/svgs/PhoneForwardedSvg.tsx +30 -0
  857. package/lib/components/Icon/svgs/PhoneIncomingSvg.tsx +30 -0
  858. package/lib/components/Icon/svgs/PhoneMissedSvg.tsx +35 -0
  859. package/lib/components/Icon/svgs/PhoneOffSvg.tsx +29 -0
  860. package/lib/components/Icon/svgs/PhoneOutgoingSvg.tsx +30 -0
  861. package/lib/components/Icon/svgs/PhoneSvg.tsx +23 -0
  862. package/lib/components/Icon/svgs/PieChartSvg.tsx +24 -0
  863. package/lib/components/Icon/svgs/PlayCircleSvg.tsx +28 -0
  864. package/lib/components/Icon/svgs/PlaySvg.tsx +23 -0
  865. package/lib/components/Icon/svgs/PlusCircleSvg.tsx +39 -0
  866. package/lib/components/Icon/svgs/PlusSquareSvg.tsx +42 -0
  867. package/lib/components/Icon/svgs/PlusSvg.tsx +34 -0
  868. package/lib/components/Icon/svgs/PocketSvg.tsx +24 -0
  869. package/lib/components/Icon/svgs/PowerSvg.tsx +29 -0
  870. package/lib/components/Icon/svgs/PrinterSvg.tsx +30 -0
  871. package/lib/components/Icon/svgs/RadioSvg.tsx +28 -0
  872. package/lib/components/Icon/svgs/RefreshCcwSvg.tsx +25 -0
  873. package/lib/components/Icon/svgs/RefreshCwSvg.tsx +25 -0
  874. package/lib/components/Icon/svgs/RepeatSvg.tsx +26 -0
  875. package/lib/components/Icon/svgs/RewindSvg.tsx +24 -0
  876. package/lib/components/Icon/svgs/RotateCcwSvg.tsx +24 -0
  877. package/lib/components/Icon/svgs/RotateCwSvg.tsx +24 -0
  878. package/lib/components/Icon/svgs/RssSvg.tsx +29 -0
  879. package/lib/components/Icon/svgs/SaveSvg.tsx +25 -0
  880. package/lib/components/Icon/svgs/ScissorsSvg.tsx +50 -0
  881. package/lib/components/Icon/svgs/SearchSvg.tsx +33 -0
  882. package/lib/components/Icon/svgs/SendSvg.tsx +29 -0
  883. package/lib/components/Icon/svgs/ServerSvg.tsx +50 -0
  884. package/lib/components/Icon/svgs/SettingsSvg.tsx +28 -0
  885. package/lib/components/Icon/svgs/Share2Svg.tsx +49 -0
  886. package/lib/components/Icon/svgs/ShareSvg.tsx +30 -0
  887. package/lib/components/Icon/svgs/ShieldOffSvg.tsx +30 -0
  888. package/lib/components/Icon/svgs/ShieldSvg.tsx +23 -0
  889. package/lib/components/Icon/svgs/ShoppingBagSvg.tsx +30 -0
  890. package/lib/components/Icon/svgs/ShoppingCartSvg.tsx +33 -0
  891. package/lib/components/Icon/svgs/ShuffleSvg.tsx +42 -0
  892. package/lib/components/Icon/svgs/SidebarSvg.tsx +36 -0
  893. package/lib/components/Icon/svgs/SkipBackSvg.tsx +29 -0
  894. package/lib/components/Icon/svgs/SkipForwardSvg.tsx +29 -0
  895. package/lib/components/Icon/svgs/SlackSvg.tsx +30 -0
  896. package/lib/components/Icon/svgs/SlashSvg.tsx +33 -0
  897. package/lib/components/Icon/svgs/SlidersSvg.tsx +76 -0
  898. package/lib/components/Icon/svgs/SmartphoneSvg.tsx +36 -0
  899. package/lib/components/Icon/svgs/SmileSvg.tsx +40 -0
  900. package/lib/components/Icon/svgs/SpeakerSvg.tsx +41 -0
  901. package/lib/components/Icon/svgs/SquareSvg.tsx +30 -0
  902. package/lib/components/Icon/svgs/StarSvg.tsx +23 -0
  903. package/lib/components/Icon/svgs/StopCircleSvg.tsx +33 -0
  904. package/lib/components/Icon/svgs/SunSvg.tsx +75 -0
  905. package/lib/components/Icon/svgs/SunriseSvg.tsx +60 -0
  906. package/lib/components/Icon/svgs/SunsetSvg.tsx +60 -0
  907. package/lib/components/Icon/svgs/TableSvg.tsx +23 -0
  908. package/lib/components/Icon/svgs/TabletSvg.tsx +36 -0
  909. package/lib/components/Icon/svgs/TagSvg.tsx +29 -0
  910. package/lib/components/Icon/svgs/TargetSvg.tsx +37 -0
  911. package/lib/components/Icon/svgs/TerminalSvg.tsx +29 -0
  912. package/lib/components/Icon/svgs/ThermometerSvg.tsx +23 -0
  913. package/lib/components/Icon/svgs/ThumbsDownSvg.tsx +23 -0
  914. package/lib/components/Icon/svgs/ThumbsUpSvg.tsx +23 -0
  915. package/lib/components/Icon/svgs/ToggleLeftSvg.tsx +35 -0
  916. package/lib/components/Icon/svgs/ToggleRightSvg.tsx +35 -0
  917. package/lib/components/Icon/svgs/ToolSvg.tsx +23 -0
  918. package/lib/components/Icon/svgs/Trash2Svg.tsx +36 -0
  919. package/lib/components/Icon/svgs/TrashSvg.tsx +24 -0
  920. package/lib/components/Icon/svgs/TrelloSvg.tsx +42 -0
  921. package/lib/components/Icon/svgs/TrendingDownSvg.tsx +24 -0
  922. package/lib/components/Icon/svgs/TrendingUpSvg.tsx +24 -0
  923. package/lib/components/Icon/svgs/TriangleSvg.tsx +23 -0
  924. package/lib/components/Icon/svgs/TruckSvg.tsx +39 -0
  925. package/lib/components/Icon/svgs/TvSvg.tsx +31 -0
  926. package/lib/components/Icon/svgs/TwitchSvg.tsx +23 -0
  927. package/lib/components/Icon/svgs/TwitterSvg.tsx +23 -0
  928. package/lib/components/Icon/svgs/TypeSvg.tsx +35 -0
  929. package/lib/components/Icon/svgs/UmbrellaSvg.tsx +23 -0
  930. package/lib/components/Icon/svgs/UnderlineSvg.tsx +29 -0
  931. package/lib/components/Icon/svgs/UnlockSvg.tsx +31 -0
  932. package/lib/components/Icon/svgs/UploadCloudSvg.tsx +31 -0
  933. package/lib/components/Icon/svgs/UploadSvg.tsx +30 -0
  934. package/lib/components/Icon/svgs/UserCheckSvg.tsx +29 -0
  935. package/lib/components/Icon/svgs/UserMinusSvg.tsx +34 -0
  936. package/lib/components/Icon/svgs/UserPlusSvg.tsx +40 -0
  937. package/lib/components/Icon/svgs/UserSvg.tsx +30 -0
  938. package/lib/components/Icon/svgs/UserXSvg.tsx +40 -0
  939. package/lib/components/Icon/svgs/UsersSvg.tsx +30 -0
  940. package/lib/components/Icon/svgs/VideoOffSvg.tsx +29 -0
  941. package/lib/components/Icon/svgs/VideoSvg.tsx +31 -0
  942. package/lib/components/Icon/svgs/VoicemailSvg.tsx +38 -0
  943. package/lib/components/Icon/svgs/Volume1Svg.tsx +24 -0
  944. package/lib/components/Icon/svgs/Volume2Svg.tsx +24 -0
  945. package/lib/components/Icon/svgs/VolumeSvg.tsx +23 -0
  946. package/lib/components/Icon/svgs/VolumeXSvg.tsx +35 -0
  947. package/lib/components/Icon/svgs/WatchSvg.tsx +29 -0
  948. package/lib/components/Icon/svgs/WifiOffSvg.tsx +39 -0
  949. package/lib/components/Icon/svgs/WifiSvg.tsx +31 -0
  950. package/lib/components/Icon/svgs/WindSvg.tsx +23 -0
  951. package/lib/components/Icon/svgs/XCircleSvg.tsx +39 -0
  952. package/lib/components/Icon/svgs/XOctagonSvg.tsx +35 -0
  953. package/lib/components/Icon/svgs/XSquareSvg.tsx +42 -0
  954. package/lib/components/Icon/svgs/XSvg.tsx +34 -0
  955. package/lib/components/Icon/svgs/ZapOffSvg.tsx +31 -0
  956. package/lib/components/Icon/svgs/ZapSvg.tsx +23 -0
  957. package/lib/components/Icon/svgs/ZoomInSvg.tsx +45 -0
  958. package/lib/components/Icon/svgs/ZoomOutSvg.tsx +39 -0
  959. package/lib/components/Icon/svgs/internal/EmptySvg.tsx +23 -0
  960. package/lib/components/Icon/svgs/social/FacebookSvg.tsx +18 -0
  961. package/lib/components/Icon/svgs/social/FlickrSvg.tsx +19 -0
  962. package/lib/components/Icon/svgs/social/InstagramSvg.tsx +19 -0
  963. package/lib/components/Icon/svgs/social/SoundcloudSvg.tsx +22 -0
  964. package/lib/components/Icon/svgs/social/TiktokSvg.tsx +18 -0
  965. package/lib/components/Icon/svgs/social/XSvg.tsx +18 -0
  966. package/lib/components/Icon/svgs/social/YoutubeSvg.tsx +18 -0
  967. package/lib/components/Icon/svgs/social/reference-from-figma/Facebook-full.svg +10 -0
  968. package/lib/components/Icon/svgs/social/reference-from-figma/Facebook-line.svg +3 -0
  969. package/lib/components/Icon/svgs/social/reference-from-figma/Flickr.svg +4 -0
  970. package/lib/components/Icon/svgs/social/reference-from-figma/Git-line.svg +10 -0
  971. package/lib/components/Icon/svgs/social/reference-from-figma/Instagram-full.svg +4 -0
  972. package/lib/components/Icon/svgs/social/reference-from-figma/Instagram-line.svg +11 -0
  973. package/lib/components/Icon/svgs/social/reference-from-figma/Linkedin-full.svg +3 -0
  974. package/lib/components/Icon/svgs/social/reference-from-figma/Linkeding-line.svg +5 -0
  975. package/lib/components/Icon/svgs/social/reference-from-figma/Slack-line.svg +10 -0
  976. package/lib/components/Icon/svgs/social/reference-from-figma/Soundcloud.svg +3 -0
  977. package/lib/components/Icon/svgs/social/reference-from-figma/X.svg +3 -0
  978. package/lib/components/Icon/svgs/social/reference-from-figma/tok-tok.svg +3 -0
  979. package/lib/components/Icon/svgs/social/reference-from-figma/you-tube.svg +3 -0
  980. package/lib/components/IconButton/IconButton.stories.tsx +59 -0
  981. package/lib/components/IconButton/IconButton.tsx +71 -0
  982. package/lib/components/IconButton/__tests__/IconButton.test.tsx +110 -0
  983. package/lib/components/IconButton/__tests__/__snapshots__/IconButton.test.tsx.snap +77 -0
  984. package/lib/components/IconButton/index.ts +2 -0
  985. package/lib/components/Input/Documentation.mdx +94 -0
  986. package/lib/components/Input/Input.stories.tsx +60 -0
  987. package/lib/components/Input/Input.tsx +150 -0
  988. package/lib/components/Input/__tests__/Input.test.tsx +108 -0
  989. package/lib/components/Input/__tests__/__snapshots__/Input.test.tsx.snap +51 -0
  990. package/lib/components/Input/index.ts +2 -0
  991. package/lib/components/Label/Label.stories.tsx +47 -0
  992. package/lib/components/Label/Label.tsx +99 -0
  993. package/lib/components/Label/__tests__/Label.test.tsx +121 -0
  994. package/lib/components/Label/__tests__/__snapshots__/Label.test.tsx.snap +76 -0
  995. package/lib/components/Label/index.ts +2 -0
  996. package/lib/components/Layout/Layout.stories.tsx +461 -0
  997. package/lib/components/Layout/Layout.tsx +78 -0
  998. package/lib/components/Layout/__tests__/Layout.test.tsx +51 -0
  999. package/lib/components/Layout/__tests__/__snapshots__/Layout.test.tsx.snap +25 -0
  1000. package/lib/components/Layout/index.ts +2 -0
  1001. package/lib/components/Link/Link.stories.tsx +32 -0
  1002. package/lib/components/Link/Link.tsx +86 -0
  1003. package/lib/components/Link/__tests__/__snapshots__/link.test.tsx.snap +19 -0
  1004. package/lib/components/Link/__tests__/link.test.tsx +67 -0
  1005. package/lib/components/Link/index.ts +2 -0
  1006. package/lib/components/Menu/Menu.context.tsx +147 -0
  1007. package/lib/components/Menu/Menu.tsx +68 -0
  1008. package/lib/components/Menu/MenuContent.tsx +137 -0
  1009. package/lib/components/Menu/MenuItem.tsx +84 -0
  1010. package/lib/components/Menu/MenuSection.tsx +46 -0
  1011. package/lib/components/Menu/MenuTrigger.tsx +32 -0
  1012. package/lib/components/Menu/index.ts +8 -0
  1013. package/lib/components/Modal/Modal.stories.tsx +48 -0
  1014. package/lib/components/Modal/Modal.tsx +107 -0
  1015. package/lib/components/Modal/__tests__/Modal.test.tsx +17 -0
  1016. package/lib/components/Modal/__tests__/__snapshots__/Modal.test.tsx.snap +21 -0
  1017. package/lib/components/Modal/index.ts +2 -0
  1018. package/lib/components/Overlay/Overlay.stories.tsx +218 -0
  1019. package/lib/components/Overlay/Overlay.tsx +197 -0
  1020. package/lib/components/Overlay/index.ts +2 -0
  1021. package/lib/components/Pagination/Pagination.stories.tsx +62 -0
  1022. package/lib/components/Pagination/Pagination.tsx +81 -0
  1023. package/lib/components/Pagination/PaginationControls.tsx +172 -0
  1024. package/lib/components/Pagination/PaginationInfo.tsx +65 -0
  1025. package/lib/components/Pagination/__tests__/getPaginationButtons.test.ts +96 -0
  1026. package/lib/components/Pagination/getPaginationButtons.ts +51 -0
  1027. package/lib/components/Pagination/index.tsx +6 -0
  1028. package/lib/components/Paragraph/Paragraph.stories.tsx +134 -0
  1029. package/lib/components/Paragraph/Paragraph.tsx +95 -0
  1030. package/lib/components/Paragraph/__tests__/Paragraph.test.tsx +76 -0
  1031. package/lib/components/Paragraph/__tests__/__snapshots__/Paragraph.test.tsx.snap +46 -0
  1032. package/lib/components/Paragraph/index.ts +6 -0
  1033. package/lib/components/Radio/LabelledRadio.tsx +111 -0
  1034. package/lib/components/Radio/Radio.stories.tsx +30 -0
  1035. package/lib/components/Radio/Radio.tsx +138 -0
  1036. package/lib/components/Radio/__tests__/Radio.test.tsx +87 -0
  1037. package/lib/components/Radio/__tests__/__snapshots__/Radio.test.tsx.snap +41 -0
  1038. package/lib/components/Radio/index.ts +4 -0
  1039. package/lib/components/Select/Select.stories.tsx +27 -0
  1040. package/lib/components/Select/Select.tsx +82 -0
  1041. package/lib/components/Select/__tests__/Select.test.tsx +40 -0
  1042. package/lib/components/Select/__tests__/__snapshots__/Select.test.tsx.snap +42 -0
  1043. package/lib/components/Select/index.ts +2 -0
  1044. package/lib/components/Snackbar/Snackbar.stories.tsx +93 -0
  1045. package/lib/components/Snackbar/Snackbar.tsx +136 -0
  1046. package/lib/components/Snackbar/__tests__/Snackbar.test.tsx +134 -0
  1047. package/lib/components/Snackbar/__tests__/__snapshots__/Snackbar.test.tsx.snap +108 -0
  1048. package/lib/components/Snackbar/index.ts +2 -0
  1049. package/lib/components/Spinner/Spinner.stories.tsx +53 -0
  1050. package/lib/components/Spinner/Spinner.tsx +75 -0
  1051. package/lib/components/Spinner/__tests__/Spinner.test.tsx +41 -0
  1052. package/lib/components/Spinner/__tests__/__snapshots__/Spinner.test.tsx.snap +73 -0
  1053. package/lib/components/Spinner/index.tsx +2 -0
  1054. package/lib/components/Table/Table.tsx +68 -0
  1055. package/lib/components/Table/index.ts +2 -0
  1056. package/lib/components/Tabs/Tab.tsx +83 -0
  1057. package/lib/components/Tabs/TabContext.tsx +20 -0
  1058. package/lib/components/Tabs/Tabs.stories.tsx +89 -0
  1059. package/lib/components/Tabs/Tabs.tsx +98 -0
  1060. package/lib/components/Tabs/__tests__/Tabs.test.tsx +116 -0
  1061. package/lib/components/Tabs/__tests__/__snapshots__/Tabs.test.tsx.snap +185 -0
  1062. package/lib/components/Tabs/index.ts +2 -0
  1063. package/lib/components/Textarea/Textarea.stories.tsx +55 -0
  1064. package/lib/components/Textarea/Textarea.tsx +107 -0
  1065. package/lib/components/Textarea/__tests__/Textarea.test.tsx +125 -0
  1066. package/lib/components/Textarea/__tests__/__snapshots__/Textarea.test.tsx.snap +35 -0
  1067. package/lib/components/Textarea/index.ts +2 -0
  1068. package/lib/components/Toggle/Documentation.mdx +114 -0
  1069. package/lib/components/Toggle/Toggle.stories.tsx +56 -0
  1070. package/lib/components/Toggle/Toggle.tsx +93 -0
  1071. package/lib/components/Toggle/ToggleHandle.tsx +46 -0
  1072. package/lib/components/Toggle/index.ts +2 -0
  1073. package/lib/components/Tooltip/Tooltip.stories.tsx +17 -0
  1074. package/lib/components/Tooltip/Tooltip.tsx +44 -0
  1075. package/lib/components/Tooltip/__tests__/__snapshots__/tooltip.test.tsx.snap +19 -0
  1076. package/lib/components/Tooltip/__tests__/tooltip.test.tsx +48 -0
  1077. package/lib/components/Tooltip/index.ts +2 -0
  1078. package/lib/components/UclLogo/UclLogo.stories.tsx +44 -0
  1079. package/lib/components/UclLogo/UclLogo.tsx +26 -0
  1080. package/lib/components/UclLogo/UclLogoNegativeSpace.tsx +39 -0
  1081. package/lib/components/UclLogo/__tests__/UclLogo.test.tsx +26 -0
  1082. package/lib/components/UclLogo/__tests__/__snapshots__/UclLogo.test.tsx.snap +36 -0
  1083. package/lib/components/UclLogo/index.ts +5 -0
  1084. package/lib/components/UclLogo/ucl-logo.svg +47 -0
  1085. package/lib/components/common/Common.mdx +82 -0
  1086. package/lib/components/common/marginsStyle.ts +103 -0
  1087. package/lib/components/index.ts +132 -0
  1088. package/lib/hooks/useMediaQuery.ts +25 -0
  1089. package/lib/index.ts +3 -0
  1090. package/lib/theme/Colours.mdx +44 -0
  1091. package/lib/theme/Icons.mdx +30 -0
  1092. package/lib/theme/Theme.mdx +25 -0
  1093. package/lib/theme/Typography.mdx +79 -0
  1094. package/lib/theme/defaultTheme.ts +423 -0
  1095. package/lib/theme/index.ts +10 -0
  1096. package/lib/theme/useTheme.tsx +34 -0
  1097. package/lib/types/image.d.ts +19 -0
  1098. package/package.json +100 -0
@@ -0,0 +1,39 @@
1
+ import { memo } from 'react';
2
+
3
+ const ZoomOutSvg = ({ ...props }) => {
4
+ const { title, ...rest } = props;
5
+
6
+ return (
7
+ <svg
8
+ xmlns='http://www.w3.org/2000/svg'
9
+ viewBox='0 0 24 24'
10
+ fill='none'
11
+ stroke='currentColor'
12
+ strokeWidth={2}
13
+ strokeLinecap='round'
14
+ strokeLinejoin='round'
15
+ {...rest}
16
+ >
17
+ {title && <title>{title}</title>}
18
+ <circle
19
+ cx='11'
20
+ cy='11'
21
+ r='8'
22
+ ></circle>
23
+ <line
24
+ x1='21'
25
+ y1='21'
26
+ x2='16.65'
27
+ y2='16.65'
28
+ ></line>
29
+ <line
30
+ x1='8'
31
+ y1='11'
32
+ x2='14'
33
+ y2='11'
34
+ ></line>
35
+ </svg>
36
+ );
37
+ };
38
+
39
+ export default memo(ZoomOutSvg);
@@ -0,0 +1,23 @@
1
+ import { memo } from 'react';
2
+
3
+ const EmptySvg = ({ ...props }) => {
4
+ const { title, children, ...rest } = props;
5
+
6
+ return (
7
+ <svg
8
+ xmlns='http://www.w3.org/2000/svg'
9
+ viewBox='0 0 24 24'
10
+ fill='none'
11
+ stroke='currentColor'
12
+ strokeWidth='2'
13
+ strokeLinecap='round'
14
+ strokeLinejoin='round'
15
+ {...rest}
16
+ >
17
+ {title && <title>{title}</title>}
18
+ {children}
19
+ </svg>
20
+ );
21
+ };
22
+
23
+ export default memo(EmptySvg);
@@ -0,0 +1,18 @@
1
+ import { memo } from 'react';
2
+
3
+ const FacebookSvg = ({ ...props }) => {
4
+ return (
5
+ <svg
6
+ xmlns='http://www.w3.org/2000/svg'
7
+ viewBox='0 0 24 24'
8
+ fill='currentColor'
9
+ {...props}
10
+ >
11
+ {props.title && <title>{props.title}</title>}
12
+
13
+ <path d='M24 12.0733C24 5.40541 18.6274 0 12 0C5.37258 0 0 5.40541 0 12.0733C0 18.0994 4.3882 23.0943 10.125 24V15.5633H7.07812V12.0733H10.125V9.41343C10.125 6.38755 11.9166 4.71615 14.6576 4.71615C15.9705 4.71615 17.3438 4.95195 17.3438 4.95195V7.92313H15.8306C14.34 7.92313 13.875 8.85386 13.875 9.80864V12.0733H17.2031L16.6711 15.5633H13.875V24C19.6118 23.0943 24 18.0994 24 12.0733Z' />
14
+ </svg>
15
+ );
16
+ };
17
+
18
+ export default memo(FacebookSvg);
@@ -0,0 +1,19 @@
1
+ import { memo } from 'react';
2
+
3
+ const FlickrSvg = ({ ...props }) => {
4
+ return (
5
+ <svg
6
+ xmlns='http://www.w3.org/2000/svg'
7
+ viewBox='0 0 24 24'
8
+ fill='currentColor'
9
+ {...props}
10
+ >
11
+ {props.title && <title>{props.title}</title>}
12
+
13
+ <path d='M11 12C11 14.7614 8.76142 17 6 17C3.23858 17 1 14.7614 1 12C1 9.23858 3.23858 7 6 7C8.76142 7 11 9.23858 11 12Z' />
14
+ <path d='M23 12C23 14.7614 20.7614 17 18 17C15.2386 17 13 14.7614 13 12C13 9.23858 15.2386 7 18 7C20.7614 7 23 9.23858 23 12Z' />
15
+ </svg>
16
+ );
17
+ };
18
+
19
+ export default memo(FlickrSvg);
@@ -0,0 +1,19 @@
1
+ import { memo } from 'react';
2
+
3
+ const InstagramSvg = ({ ...props }) => {
4
+ return (
5
+ <svg
6
+ xmlns='http://www.w3.org/2000/svg'
7
+ viewBox='0 0 24 24'
8
+ fill='currentColor'
9
+ {...props}
10
+ >
11
+ {props.title && <title>{props.title}</title>}
12
+
13
+ <path d='M11.9987 7.97012C9.77942 7.97012 7.97004 9.77951 7.97004 11.9987C7.97004 14.218 9.77942 16.0274 11.9987 16.0274C14.2179 16.0274 16.0273 14.218 16.0273 11.9987C16.0273 9.77951 14.2179 7.97012 11.9987 7.97012Z' />
14
+ <path d='M22.915 7.4603C22.8351 5.7009 22.4252 4.14143 21.1356 2.85187C19.8561 1.5723 18.2966 1.17244 16.5372 1.08247C14.7178 0.972509 9.27968 0.972509 7.4603 1.08247C5.7009 1.16244 4.14143 1.5723 2.85187 2.85187C1.56231 4.13143 1.17244 5.7009 1.08247 7.4603C0.972509 9.27968 0.972509 14.7178 1.08247 16.5372C1.16244 18.2966 1.5723 19.8561 2.86187 21.1456C4.15143 22.4352 5.71089 22.8351 7.47029 22.925C9.28967 23.025 14.7278 23.025 16.5372 22.925C18.2966 22.8451 19.8561 22.4352 21.1456 21.1456C22.4352 19.8561 22.8351 18.2966 22.925 16.5372C23.025 14.7178 23.025 9.27968 22.925 7.47029L22.915 7.4603ZM11.9987 18.1966C8.56992 18.1966 5.80086 15.4276 5.80086 11.9987C5.80086 8.56992 8.56992 5.80086 11.9987 5.80086C15.4276 5.80086 18.1966 8.56992 18.1966 11.9987C18.1966 15.4276 15.4276 18.1966 11.9987 18.1966ZM18.4565 6.99046C17.6568 6.99046 17.007 6.34068 17.007 5.54095C17.007 4.74122 17.6568 4.09145 18.4565 4.09145C19.2563 4.09145 19.9061 4.74122 19.9061 5.54095C19.9061 6.34068 19.2563 6.99046 18.4565 6.99046Z' />
15
+ </svg>
16
+ );
17
+ };
18
+
19
+ export default memo(InstagramSvg);
@@ -0,0 +1,22 @@
1
+ import { memo } from 'react';
2
+
3
+ const SoundcloudSvg = ({ ...props }) => {
4
+ return (
5
+ <svg
6
+ xmlns='http://www.w3.org/2000/svg'
7
+ viewBox='0 0 24 24'
8
+ fill='currentColor'
9
+ {...props}
10
+ >
11
+ {props.title && <title>{props.title}</title>}
12
+
13
+ <path
14
+ fillRule='evenodd'
15
+ clipRule='evenodd'
16
+ d='M23.9869 14.6691C23.8888 16.4909 22.3837 17.92 20.5841 17.8873H12.4043C12.0335 17.8873 11.7281 17.5709 11.7281 17.2V8.25455C11.7172 7.93818 11.8917 7.65455 12.1753 7.52364C12.1862 7.53455 12.9387 7 14.5202 7C15.4908 7 16.4397 7.26182 17.2686 7.76364C18.5773 8.54909 19.5044 9.85818 19.8316 11.3636C20.1152 11.2873 20.4096 11.2436 20.7041 11.2436C21.5875 11.2436 22.4491 11.6036 23.0708 12.2473C23.6924 12.8909 24.0305 13.7636 23.9978 14.6691H23.9869ZM10.7138 8.82182C10.9647 11.8545 11.1392 14.6145 10.7138 17.6473C10.7029 17.7782 10.583 17.8873 10.4521 17.8873C10.3212 17.8873 10.2012 17.7782 10.1903 17.6473C9.7977 14.6473 9.96129 11.8327 10.1903 8.82182C10.1794 8.72364 10.223 8.61455 10.3103 8.56C10.3975 8.50545 10.5066 8.50545 10.5939 8.56C10.6811 8.61455 10.7247 8.71273 10.7138 8.82182ZM9.05606 17.6473C9.03425 17.7891 8.91428 17.8873 8.7834 17.8873C8.65252 17.8873 8.53255 17.7891 8.51074 17.6473C8.21627 15.0618 8.21627 12.4545 8.51074 9.86909C8.52165 9.72727 8.64162 9.61818 8.7834 9.61818C8.92518 9.61818 9.04515 9.72727 9.05606 9.86909C9.38325 12.4545 9.38325 15.0727 9.05606 17.6473ZM7.39829 9.59636C7.67095 12.3782 7.79092 14.8655 7.39829 17.6364C7.39829 17.7891 7.27832 17.9091 7.13653 17.9091C6.99475 17.9091 6.87478 17.7891 6.87478 17.6364C6.49306 14.8982 6.62393 12.3345 6.87478 9.59636C6.88569 9.45455 7.00566 9.35636 7.13653 9.35636C7.26741 9.35636 7.38738 9.46545 7.39829 9.59636ZM5.74051 17.6473C5.72961 17.7891 5.60964 17.8982 5.46785 17.8982C5.32607 17.8982 5.21701 17.7891 5.19519 17.6473C4.88981 15.2364 4.88981 12.7927 5.19519 10.3818C5.19519 10.2291 5.31516 10.0982 5.46785 10.0982C5.62054 10.0982 5.74051 10.2182 5.74051 10.3818C6.06771 12.7927 6.0568 15.2364 5.74051 17.6473ZM4.08274 12.1927C4.49718 14.08 4.31178 15.7382 4.07184 17.6582C4.05002 17.7891 3.94096 17.8764 3.81008 17.8764C3.6792 17.8764 3.57014 17.7782 3.55923 17.6582C3.3302 15.76 3.14479 14.0582 3.54833 12.1927C3.54833 12.04 3.6683 11.92 3.82099 11.92C3.97368 11.92 4.09365 12.04 4.09365 12.1927H4.08274ZM2.42497 11.9091C2.80669 13.84 2.68672 15.4764 2.42497 17.4073C2.39225 17.6909 1.91237 17.6909 1.87965 17.4073C1.63971 15.4982 1.51974 13.8182 1.87965 11.9091C1.89056 11.7673 2.02143 11.6582 2.16322 11.6582C2.305 11.6582 2.42497 11.7673 2.44678 11.9091H2.42497ZM0.75629 12.8473C1.15983 14.1236 1.01804 15.1709 0.745383 16.48C0.734477 16.6109 0.614506 16.72 0.48363 16.72C0.352753 16.72 0.232782 16.6218 0.221876 16.48C-0.0180648 15.1927 -0.116222 14.1345 0.200063 12.8473C0.21097 12.7055 0.33094 12.5964 0.48363 12.5964C0.636319 12.5964 0.745383 12.7055 0.767196 12.8473H0.75629Z'
17
+ />
18
+ </svg>
19
+ );
20
+ };
21
+
22
+ export default memo(SoundcloudSvg);
@@ -0,0 +1,18 @@
1
+ import { memo } from 'react';
2
+
3
+ const TiktokSvg = ({ ...props }) => {
4
+ return (
5
+ <svg
6
+ xmlns='http://www.w3.org/2000/svg'
7
+ viewBox='0 0 24 24'
8
+ fill='currentColor'
9
+ {...props}
10
+ >
11
+ {props.title && <title>{props.title}</title>}
12
+
13
+ <path d='M18.4255 6.20955C17.3086 5.47455 16.4973 4.29091 16.2491 2.91636C16.1918 2.62045 16.1632 2.315 16.1632 2H12.5836V16.4709C12.5168 18.0936 11.1995 19.3918 9.57682 19.3918C9.07091 19.3918 8.60318 19.2677 8.18318 19.0386C7.22864 18.5327 6.57 17.5209 6.57 16.3564C6.57 14.6859 7.91591 13.3209 9.57682 13.3209C9.88227 13.3209 10.1782 13.3686 10.4645 13.4641V9.77954C10.1782 9.74136 9.88227 9.71273 9.57682 9.71273C5.94955 9.71273 3 12.6909 3 16.3564C3 18.6091 4.11682 20.5945 5.80636 21.7973C6.87545 22.5514 8.17364 23 9.57682 23C13.2041 23 16.1536 20.0218 16.1536 16.3564V9.01591C17.5568 10.0277 19.275 10.6291 21.1268 10.6291V7.02091C20.1245 7.02091 19.1986 6.725 18.4159 6.20955H18.4255Z' />
14
+ </svg>
15
+ );
16
+ };
17
+
18
+ export default memo(TiktokSvg);
@@ -0,0 +1,18 @@
1
+ import { memo } from 'react';
2
+
3
+ const XSvg = ({ ...props }) => {
4
+ return (
5
+ <svg
6
+ xmlns='http://www.w3.org/2000/svg'
7
+ viewBox='0 0 24 24'
8
+ fill='currentColor'
9
+ {...props}
10
+ >
11
+ {props.title && <title>{props.title}</title>}
12
+
13
+ <path d='M13.6468 10.4686L20.9321 2H19.2057L12.8799 9.3532L7.82741 2H2L9.6403 13.1193L2 22H3.72649L10.4068 14.2348L15.7425 22H21.5699L13.6464 10.4686H13.6468ZM11.2821 13.2173L10.508 12.1101L4.34857 3.29968H7.00037L11.9711 10.4099L12.7452 11.5172L19.2066 20.7594H16.5548L11.2821 13.2177V13.2173Z' />
14
+ </svg>
15
+ );
16
+ };
17
+
18
+ export default memo(XSvg);
@@ -0,0 +1,18 @@
1
+ import { memo } from 'react';
2
+
3
+ const YoutubeSvg = ({ ...props }) => {
4
+ return (
5
+ <svg
6
+ xmlns='http://www.w3.org/2000/svg'
7
+ viewBox='0 0 24 24'
8
+ fill='currentColor'
9
+ {...props}
10
+ >
11
+ {props.title && <title>{props.title}</title>}
12
+
13
+ <path d='M22.5402 6.40849C22.2903 5.45909 21.5407 4.71955 20.5911 4.45971C18.8719 4 11.995 4 11.995 4C11.995 4 5.11813 4 3.40891 4.45971C2.45934 4.70956 1.71967 5.45909 1.45979 6.40849C1 8.12742 1 12.005 1 12.005C1 12.005 1 15.8826 1.45979 17.5915C1.70968 18.5409 2.45934 19.2804 3.40891 19.5403C5.11813 20 11.995 20 11.995 20C11.995 20 18.8719 20 20.5911 19.5403C21.5407 19.2904 22.2803 18.5409 22.5402 17.5915C23 15.8826 23 12.005 23 12.005C23 12.005 23 8.12742 22.5402 6.40849ZM10.0059 15.5028V8.50718L16.0032 12.005L10.0059 15.5028Z' />
14
+ </svg>
15
+ );
16
+ };
17
+
18
+ export default memo(YoutubeSvg);
@@ -0,0 +1,10 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_1550_17246)">
3
+ <path d="M24 12.0733C24 5.40541 18.6274 0 12 0C5.37258 0 0 5.40541 0 12.0733C0 18.0994 4.3882 23.0943 10.125 24V15.5633H7.07812V12.0733H10.125V9.41343C10.125 6.38755 11.9166 4.71615 14.6576 4.71615C15.9705 4.71615 17.3438 4.95195 17.3438 4.95195V7.92313H15.8306C14.34 7.92313 13.875 8.85386 13.875 9.80864V12.0733H17.2031L16.6711 15.5633H13.875V24C19.6118 23.0943 24 18.0994 24 12.0733Z" fill="#1A1A1A"/>
4
+ </g>
5
+ <defs>
6
+ <clipPath id="clip0_1550_17246">
7
+ <rect width="24" height="24" fill="white"/>
8
+ </clipPath>
9
+ </defs>
10
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M18 2H15C13.6739 2 12.4021 2.52678 11.4645 3.46447C10.5268 4.40215 10 5.67392 10 7V10H7V14H10V22H14V14H17L18 10H14V7C14 6.73478 14.1054 6.48043 14.2929 6.29289C14.4804 6.10536 14.7348 6 15 6H18V2Z" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11 12C11 14.7614 8.76142 17 6 17C3.23858 17 1 14.7614 1 12C1 9.23858 3.23858 7 6 7C8.76142 7 11 9.23858 11 12Z" fill="#1A1A1A"/>
3
+ <path d="M23 12C23 14.7614 20.7614 17 18 17C15.2386 17 13 14.7614 13 12C13 9.23858 15.2386 7 18 7C20.7614 7 23 9.23858 23 12Z" fill="#1A1A1A"/>
4
+ </svg>
@@ -0,0 +1,10 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_1544_10594)">
3
+ <path d="M9 19C4 20.5 4 16.5 2 16M16 22V18.13C16.0375 17.6532 15.9731 17.1738 15.811 16.7238C15.6489 16.2738 15.3929 15.8634 15.06 15.52C18.2 15.17 21.5 13.98 21.5 8.52C21.4997 7.12383 20.9627 5.7812 20 4.77C20.4559 3.54851 20.4236 2.19835 19.91 0.999999C19.91 0.999999 18.73 0.649999 16 2.48C13.708 1.85882 11.292 1.85882 9 2.48C6.27 0.649999 5.09 0.999999 5.09 0.999999C4.57638 2.19835 4.54414 3.54851 5 4.77C4.03013 5.7887 3.49252 7.14346 3.5 8.55C3.5 13.97 6.8 15.16 9.94 15.55C9.611 15.89 9.35726 16.2954 9.19531 16.7399C9.03335 17.1844 8.96681 17.6581 9 18.13V22" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </g>
5
+ <defs>
6
+ <clipPath id="clip0_1544_10594">
7
+ <rect width="24" height="24" fill="white"/>
8
+ </clipPath>
9
+ </defs>
10
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11.9987 7.97012C9.77942 7.97012 7.97004 9.77951 7.97004 11.9987C7.97004 14.218 9.77942 16.0274 11.9987 16.0274C14.2179 16.0274 16.0273 14.218 16.0273 11.9987C16.0273 9.77951 14.2179 7.97012 11.9987 7.97012Z" fill="#1A1A1A"/>
3
+ <path d="M22.915 7.4603C22.8351 5.7009 22.4252 4.14143 21.1356 2.85187C19.8561 1.5723 18.2966 1.17244 16.5372 1.08247C14.7178 0.972509 9.27968 0.972509 7.4603 1.08247C5.7009 1.16244 4.14143 1.5723 2.85187 2.85187C1.56231 4.13143 1.17244 5.7009 1.08247 7.4603C0.972509 9.27968 0.972509 14.7178 1.08247 16.5372C1.16244 18.2966 1.5723 19.8561 2.86187 21.1456C4.15143 22.4352 5.71089 22.8351 7.47029 22.925C9.28967 23.025 14.7278 23.025 16.5372 22.925C18.2966 22.8451 19.8561 22.4352 21.1456 21.1456C22.4352 19.8561 22.8351 18.2966 22.925 16.5372C23.025 14.7178 23.025 9.27968 22.925 7.47029L22.915 7.4603ZM11.9987 18.1966C8.56992 18.1966 5.80086 15.4276 5.80086 11.9987C5.80086 8.56992 8.56992 5.80086 11.9987 5.80086C15.4276 5.80086 18.1966 8.56992 18.1966 11.9987C18.1966 15.4276 15.4276 18.1966 11.9987 18.1966ZM18.4565 6.99046C17.6568 6.99046 17.007 6.34068 17.007 5.54095C17.007 4.74122 17.6568 4.09145 18.4565 4.09145C19.2563 4.09145 19.9061 4.74122 19.9061 5.54095C19.9061 6.34068 19.2563 6.99046 18.4565 6.99046Z" fill="#1A1A1A"/>
4
+ </svg>
@@ -0,0 +1,11 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_1544_12560)">
3
+ <path d="M17 2H7C4.23858 2 2 4.23858 2 7V17C2 19.7614 4.23858 22 7 22H17C19.7614 22 22 19.7614 22 17V7C22 4.23858 19.7614 2 17 2Z" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M16 11.37C16.1234 12.2022 15.9812 13.0522 15.5937 13.799C15.2062 14.5458 14.5931 15.1514 13.8416 15.5297C13.0901 15.9079 12.2384 16.0396 11.4077 15.9059C10.5771 15.7723 9.80971 15.3801 9.21479 14.7852C8.61987 14.1902 8.22768 13.4229 8.09402 12.5922C7.96035 11.7615 8.09202 10.9099 8.47028 10.1584C8.84854 9.40685 9.45414 8.79374 10.2009 8.40624C10.9477 8.01874 11.7977 7.87658 12.63 8C13.4789 8.12588 14.2648 8.52146 14.8716 9.1283C15.4785 9.73515 15.8741 10.5211 16 11.37Z" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </g>
6
+ <defs>
7
+ <clipPath id="clip0_1544_12560">
8
+ <rect width="24" height="24" fill="white"/>
9
+ </clipPath>
10
+ </defs>
11
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M20.5545 2H3.50909C2.69091 2 2 2.64545 2 3.43636V20.5636C2 21.3545 2.45455 22 3.27273 22H20.3091C21.1273 22 22 21.3545 22 20.5636V3.43636C22 2.64545 21.3636 2 20.5545 2ZM9.61818 9.61818H12.3091V10.9909H12.3364C12.7455 10.2545 13.9636 9.5 15.4545 9.5C18.3273 9.5 19.1364 11.0273 19.1364 13.8545V19.1364H16.2818V14.3727C16.2818 13.1091 15.7727 11.9909 14.5909 11.9909C13.1545 11.9909 12.4727 12.9636 12.4727 14.5636V19.1364H9.61818V9.61818ZM4.85455 19.1455H7.70909V9.61818H4.85455V19.1455ZM8.07273 6.28182C8.07273 7.27273 7.27273 8.06364 6.29091 8.06364C5.30909 8.06364 4.50909 7.26364 4.50909 6.28182C4.50909 5.3 5.30909 4.5 6.29091 4.5C7.27273 4.5 8.07273 5.3 8.07273 6.28182Z" fill="#1A1A1A"/>
3
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M16 8C17.5913 8 19.1174 8.63214 20.2426 9.75736C21.3679 10.8826 22 12.4087 22 14V21H18V14C18 13.4696 17.7893 12.9609 17.4142 12.5858C17.0391 12.2107 16.5304 12 16 12C15.4696 12 14.9609 12.2107 14.5858 12.5858C14.2107 12.9609 14 13.4696 14 14V21H10V14C10 12.4087 10.6321 10.8826 11.7574 9.75736C12.8826 8.63214 14.4087 8 16 8V8Z" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M6 9H2V21H6V9Z" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M4 6C5.10457 6 6 5.10457 6 4C6 2.89543 5.10457 2 4 2C2.89543 2 2 2.89543 2 4C2 5.10457 2.89543 6 4 6Z" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,10 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M14.5 10C13.67 10 13 9.33 13 8.5V3.5C13 2.67 13.67 2 14.5 2C15.33 2 16 2.67 16 3.5V8.5C16 9.33 15.33 10 14.5 10Z" stroke="#1A1A1A" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M20.5 10H19V8.5C19 7.67 19.67 7 20.5 7C21.33 7 22 7.67 22 8.5C22 9.33 21.33 10 20.5 10Z" stroke="#1A1A1A" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M9.5 14C10.33 14 11 14.67 11 15.5V20.5C11 21.33 10.33 22 9.5 22C8.67 22 8 21.33 8 20.5V15.5C8 14.67 8.67 14 9.5 14Z" stroke="#1A1A1A" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M3.5 14H5V15.5C5 16.33 4.33 17 3.5 17C2.67 17 2 16.33 2 15.5C2 14.67 2.67 14 3.5 14Z" stroke="#1A1A1A" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
6
+ <path d="M14 14.5C14 13.67 14.67 13 15.5 13H20.5C21.33 13 22 13.67 22 14.5C22 15.33 21.33 16 20.5 16H15.5C14.67 16 14 15.33 14 14.5Z" stroke="#1A1A1A" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
7
+ <path d="M15.5 19H14V20.5C14 21.33 14.67 22 15.5 22C16.33 22 17 21.33 17 20.5C17 19.67 16.33 19 15.5 19Z" stroke="#1A1A1A" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
8
+ <path d="M10 9.5C10 8.67 9.33 8 8.5 8H3.5C2.67 8 2 8.67 2 9.5C2 10.33 2.67 11 3.5 11H8.5C9.33 11 10 10.33 10 9.5Z" stroke="#1A1A1A" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
9
+ <path d="M8.5 5H10V3.5C10 2.67 9.33 2 8.5 2C7.67 2 7 2.67 7 3.5C7 4.33 7.67 5 8.5 5Z" stroke="#1A1A1A" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
10
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M23.9869 14.6691C23.8888 16.4909 22.3837 17.92 20.5841 17.8873H12.4043C12.0335 17.8873 11.7281 17.5709 11.7281 17.2V8.25455C11.7172 7.93818 11.8917 7.65455 12.1753 7.52364C12.1862 7.53455 12.9387 7 14.5202 7C15.4908 7 16.4397 7.26182 17.2686 7.76364C18.5773 8.54909 19.5044 9.85818 19.8316 11.3636C20.1152 11.2873 20.4096 11.2436 20.7041 11.2436C21.5875 11.2436 22.4491 11.6036 23.0708 12.2473C23.6924 12.8909 24.0305 13.7636 23.9978 14.6691H23.9869ZM10.7138 8.82182C10.9647 11.8545 11.1392 14.6145 10.7138 17.6473C10.7029 17.7782 10.583 17.8873 10.4521 17.8873C10.3212 17.8873 10.2012 17.7782 10.1903 17.6473C9.7977 14.6473 9.96129 11.8327 10.1903 8.82182C10.1794 8.72364 10.223 8.61455 10.3103 8.56C10.3975 8.50545 10.5066 8.50545 10.5939 8.56C10.6811 8.61455 10.7247 8.71273 10.7138 8.82182ZM9.05606 17.6473C9.03425 17.7891 8.91428 17.8873 8.7834 17.8873C8.65252 17.8873 8.53255 17.7891 8.51074 17.6473C8.21627 15.0618 8.21627 12.4545 8.51074 9.86909C8.52165 9.72727 8.64162 9.61818 8.7834 9.61818C8.92518 9.61818 9.04515 9.72727 9.05606 9.86909C9.38325 12.4545 9.38325 15.0727 9.05606 17.6473ZM7.39829 9.59636C7.67095 12.3782 7.79092 14.8655 7.39829 17.6364C7.39829 17.7891 7.27832 17.9091 7.13653 17.9091C6.99475 17.9091 6.87478 17.7891 6.87478 17.6364C6.49306 14.8982 6.62393 12.3345 6.87478 9.59636C6.88569 9.45455 7.00566 9.35636 7.13653 9.35636C7.26741 9.35636 7.38738 9.46545 7.39829 9.59636ZM5.74051 17.6473C5.72961 17.7891 5.60964 17.8982 5.46785 17.8982C5.32607 17.8982 5.21701 17.7891 5.19519 17.6473C4.88981 15.2364 4.88981 12.7927 5.19519 10.3818C5.19519 10.2291 5.31516 10.0982 5.46785 10.0982C5.62054 10.0982 5.74051 10.2182 5.74051 10.3818C6.06771 12.7927 6.0568 15.2364 5.74051 17.6473ZM4.08274 12.1927C4.49718 14.08 4.31178 15.7382 4.07184 17.6582C4.05002 17.7891 3.94096 17.8764 3.81008 17.8764C3.6792 17.8764 3.57014 17.7782 3.55923 17.6582C3.3302 15.76 3.14479 14.0582 3.54833 12.1927C3.54833 12.04 3.6683 11.92 3.82099 11.92C3.97368 11.92 4.09365 12.04 4.09365 12.1927H4.08274ZM2.42497 11.9091C2.80669 13.84 2.68672 15.4764 2.42497 17.4073C2.39225 17.6909 1.91237 17.6909 1.87965 17.4073C1.63971 15.4982 1.51974 13.8182 1.87965 11.9091C1.89056 11.7673 2.02143 11.6582 2.16322 11.6582C2.305 11.6582 2.42497 11.7673 2.44678 11.9091H2.42497ZM0.75629 12.8473C1.15983 14.1236 1.01804 15.1709 0.745383 16.48C0.734477 16.6109 0.614506 16.72 0.48363 16.72C0.352753 16.72 0.232782 16.6218 0.221876 16.48C-0.0180648 15.1927 -0.116222 14.1345 0.200063 12.8473C0.21097 12.7055 0.33094 12.5964 0.48363 12.5964C0.636319 12.5964 0.745383 12.7055 0.767196 12.8473H0.75629Z" fill="#1A1A1A"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.6468 10.4686L20.9321 2H19.2057L12.8799 9.3532L7.82741 2H2L9.6403 13.1193L2 22H3.72649L10.4068 14.2348L15.7425 22H21.5699L13.6464 10.4686H13.6468ZM11.2821 13.2173L10.508 12.1101L4.34857 3.29968H7.00037L11.9711 10.4099L12.7452 11.5172L19.2066 20.7594H16.5548L11.2821 13.2177V13.2173Z" fill="#1A1A1A"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M18.4255 6.20955C17.3086 5.47455 16.4973 4.29091 16.2491 2.91636C16.1918 2.62045 16.1632 2.315 16.1632 2H12.5836V16.4709C12.5168 18.0936 11.1995 19.3918 9.57682 19.3918C9.07091 19.3918 8.60318 19.2677 8.18318 19.0386C7.22864 18.5327 6.57 17.5209 6.57 16.3564C6.57 14.6859 7.91591 13.3209 9.57682 13.3209C9.88227 13.3209 10.1782 13.3686 10.4645 13.4641V9.77954C10.1782 9.74136 9.88227 9.71273 9.57682 9.71273C5.94955 9.71273 3 12.6909 3 16.3564C3 18.6091 4.11682 20.5945 5.80636 21.7973C6.87545 22.5514 8.17364 23 9.57682 23C13.2041 23 16.1536 20.0218 16.1536 16.3564V9.01591C17.5568 10.0277 19.275 10.6291 21.1268 10.6291V7.02091C20.1245 7.02091 19.1986 6.725 18.4159 6.20955H18.4255Z" fill="#1A1A1A"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M22.5402 6.40849C22.2903 5.45909 21.5407 4.71955 20.5911 4.45971C18.8719 4 11.995 4 11.995 4C11.995 4 5.11813 4 3.40891 4.45971C2.45934 4.70956 1.71967 5.45909 1.45979 6.40849C1 8.12742 1 12.005 1 12.005C1 12.005 1 15.8826 1.45979 17.5915C1.70968 18.5409 2.45934 19.2804 3.40891 19.5403C5.11813 20 11.995 20 11.995 20C11.995 20 18.8719 20 20.5911 19.5403C21.5407 19.2904 22.2803 18.5409 22.5402 17.5915C23 15.8826 23 12.005 23 12.005C23 12.005 23 8.12742 22.5402 6.40849ZM10.0059 15.5028V8.50718L16.0032 12.005L10.0059 15.5028Z" fill="#1A1A1A"/>
3
+ </svg>
@@ -0,0 +1,59 @@
1
+ import { ComponentType } from 'react';
2
+ import type { Meta, StoryObj } from '@storybook/react';
3
+ import IconButton from './IconButton';
4
+ import Icon from '../Icon/Icon';
5
+
6
+ const meta: Meta = {
7
+ title: 'Components/Ready to use/IconButton',
8
+ component: IconButton,
9
+ argTypes: {
10
+ icon: {
11
+ control: 'select',
12
+ options: Icon.getIconNames(),
13
+ },
14
+ iconSize: {
15
+ control: 'select',
16
+ options: [16, 24, 32],
17
+ defaultValue: 24,
18
+ },
19
+ },
20
+ args: {
21
+ icon: Icon.getIconNames()[0],
22
+ iconSize: 24,
23
+ title: 'IconButton',
24
+ },
25
+ };
26
+
27
+ export default meta;
28
+ type Story = StoryObj<typeof meta>;
29
+
30
+ export const Default: Story = {
31
+ name: '(Pick an icon to view)',
32
+ render: (args) => {
33
+ const IconComponent = Icon[
34
+ args.icon as keyof typeof Icon
35
+ ] as ComponentType<{ size: number }>;
36
+ return (
37
+ <>
38
+ <IconButton>
39
+ <IconComponent size={args.iconSize} />
40
+ </IconButton>
41
+ </>
42
+ );
43
+ },
44
+ };
45
+
46
+ export const Disabled: Story = {
47
+ render: (args) => {
48
+ const IconComponent = Icon[
49
+ args.icon as keyof typeof Icon
50
+ ] as ComponentType<{ size: number }>;
51
+ return (
52
+ <>
53
+ <IconButton disabled>
54
+ <IconComponent size={args.iconSize} />
55
+ </IconButton>
56
+ </>
57
+ );
58
+ },
59
+ };
@@ -0,0 +1,71 @@
1
+ import { memo, ButtonHTMLAttributes, forwardRef } from 'react';
2
+ import { css, cx } from '@emotion/css';
3
+ import useTheme from '../../theme/useTheme';
4
+ import marginsStyle, { MarginProps } from '../common/marginsStyle';
5
+
6
+ export const NAME = 'ucl-uikit-icon-button';
7
+
8
+ export interface IconButtonBaseProps
9
+ extends ButtonHTMLAttributes<HTMLButtonElement> {
10
+ testId?: string;
11
+ }
12
+
13
+ export type IconButtonProps = IconButtonBaseProps & MarginProps;
14
+
15
+ export type Ref = HTMLButtonElement;
16
+
17
+ const IconButton = forwardRef<Ref, IconButtonProps>(
18
+ ({ testId = NAME, className, children, ...props }, ref) => {
19
+ const [theme] = useTheme();
20
+
21
+ const baseStyle = css`
22
+ background-color: transparent;
23
+ border: none;
24
+ padding: 0;
25
+ vertical-align: middle;
26
+ outline: none;
27
+ cursor: pointer;
28
+ color: inherit;
29
+ `;
30
+
31
+ const hoverStyle = css`
32
+ &:hover {
33
+ color: ${theme.color.interaction.blue80};
34
+ }
35
+ `;
36
+
37
+ const focusStyle = css`
38
+ &:focus-visible {
39
+ box-shadow: ${theme.boxShadow.focus};
40
+ }
41
+ `;
42
+
43
+ const disabledStyle = css`
44
+ color: ${theme.color.text.disabled};
45
+ cursor: not-allowed;
46
+ `;
47
+
48
+ const style = cx(
49
+ NAME,
50
+ baseStyle,
51
+ marginsStyle(props, theme),
52
+ !props.disabled && hoverStyle,
53
+ !props.disabled && focusStyle,
54
+ props.disabled && disabledStyle,
55
+ className
56
+ );
57
+
58
+ return (
59
+ <button
60
+ ref={ref}
61
+ className={style}
62
+ data-testid={testId}
63
+ {...props}
64
+ >
65
+ {children}
66
+ </button>
67
+ );
68
+ }
69
+ );
70
+
71
+ export default memo(IconButton);
@@ -0,0 +1,110 @@
1
+ import { describe, expect, test, vitest } from 'vitest';
2
+ import { render, screen } from '@testing-library/react';
3
+ import IconButton from '../IconButton';
4
+ import { ThemeContextProvider } from '../../../theme/useTheme';
5
+ import { Icon } from '../../';
6
+
7
+ describe('IconButton', () => {
8
+ // Snapshot tests
9
+
10
+ test('snapshot: no props', () => {
11
+ const renderResult = render(
12
+ <ThemeContextProvider>
13
+ <IconButton>
14
+ <Icon.Check />
15
+ </IconButton>
16
+ </ThemeContextProvider>
17
+ );
18
+ expect(renderResult.container.firstChild).toMatchSnapshot();
19
+ });
20
+
21
+ test('snapshot: testId prop', () => {
22
+ const renderResult = render(
23
+ <ThemeContextProvider>
24
+ <IconButton testId='abc'>
25
+ <Icon.Check />
26
+ </IconButton>
27
+ </ThemeContextProvider>
28
+ );
29
+ expect(renderResult.container.firstChild).toMatchSnapshot();
30
+ });
31
+
32
+ test('snapshot: disabled prop', () => {
33
+ const renderResult = render(
34
+ <ThemeContextProvider>
35
+ <IconButton disabled>
36
+ <Icon.Check />
37
+ </IconButton>
38
+ </ThemeContextProvider>
39
+ );
40
+ expect(renderResult.container.firstChild).toMatchSnapshot();
41
+ });
42
+
43
+ // Interaction tests
44
+
45
+ test('click', async () => {
46
+ const testClick = vitest.fn();
47
+ render(
48
+ <ThemeContextProvider>
49
+ <IconButton onClick={testClick}>
50
+ <Icon.Check />
51
+ </IconButton>
52
+ </ThemeContextProvider>
53
+ );
54
+ const iconButton = screen.getByRole('button') as HTMLButtonElement;
55
+ expect(testClick).not.toBeCalled();
56
+ await iconButton.click();
57
+ expect(testClick).toBeCalled();
58
+ });
59
+
60
+ test('Can be found via default testId', () => {
61
+ const testClick = vitest.fn();
62
+ render(
63
+ <ThemeContextProvider>
64
+ <IconButton onClick={testClick}>
65
+ <Icon.Check />
66
+ </IconButton>
67
+ </ThemeContextProvider>
68
+ );
69
+ const iconButton = screen.getByTestId(
70
+ 'ucl-uikit-icon-button'
71
+ ) as HTMLButtonElement;
72
+ expect(iconButton).toBeInTheDocument();
73
+ });
74
+
75
+ test('Can be found via custom testId', () => {
76
+ const testClick = vitest.fn();
77
+ render(
78
+ <ThemeContextProvider>
79
+ <IconButton
80
+ testId='abc'
81
+ onClick={testClick}
82
+ >
83
+ <Icon.Smile />
84
+ </IconButton>
85
+ </ThemeContextProvider>
86
+ );
87
+ const iconButton = screen.getByTestId('abc') as HTMLButtonElement;
88
+ expect(iconButton).toBeInTheDocument();
89
+ });
90
+
91
+ test('Cannot be clicked when disabled', async () => {
92
+ const testClick = vitest.fn();
93
+ render(
94
+ <ThemeContextProvider>
95
+ <IconButton
96
+ disabled
97
+ onClick={testClick}
98
+ >
99
+ <Icon.Check />
100
+ </IconButton>
101
+ </ThemeContextProvider>
102
+ );
103
+ const iconButton = screen.getByRole('button') as HTMLButtonElement;
104
+ expect(testClick).not.toBeCalled();
105
+ await iconButton.click();
106
+ expect(testClick).not.toBeCalled();
107
+ });
108
+
109
+ // TODO: test hover, focus, active styles
110
+ });
@@ -0,0 +1,77 @@
1
+ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
+
3
+ exports[`IconButton > snapshot: disabled prop 1`] = `
4
+ <button
5
+ class="ucl-uikit-icon-button css-gno5xt"
6
+ data-testid="ucl-uikit-icon-button"
7
+ disabled=""
8
+ >
9
+ <svg
10
+ class="ucl-uikit-icon css-148hpxb"
11
+ data-testid="ucl-uikit-icon"
12
+ fill="none"
13
+ height="24"
14
+ stroke="currentColor"
15
+ stroke-linecap="round"
16
+ stroke-linejoin="round"
17
+ stroke-width="3"
18
+ viewBox="0 0 24 24"
19
+ width="24"
20
+ xmlns="http://www.w3.org/2000/svg"
21
+ >
22
+ <polyline
23
+ points="20 6 9 17 4 12"
24
+ />
25
+ </svg>
26
+ </button>
27
+ `;
28
+
29
+ exports[`IconButton > snapshot: no props 1`] = `
30
+ <button
31
+ class="ucl-uikit-icon-button css-14jzv8g"
32
+ data-testid="ucl-uikit-icon-button"
33
+ >
34
+ <svg
35
+ class="ucl-uikit-icon css-148hpxb"
36
+ data-testid="ucl-uikit-icon"
37
+ fill="none"
38
+ height="24"
39
+ stroke="currentColor"
40
+ stroke-linecap="round"
41
+ stroke-linejoin="round"
42
+ stroke-width="3"
43
+ viewBox="0 0 24 24"
44
+ width="24"
45
+ xmlns="http://www.w3.org/2000/svg"
46
+ >
47
+ <polyline
48
+ points="20 6 9 17 4 12"
49
+ />
50
+ </svg>
51
+ </button>
52
+ `;
53
+
54
+ exports[`IconButton > snapshot: testId prop 1`] = `
55
+ <button
56
+ class="ucl-uikit-icon-button css-14jzv8g"
57
+ data-testid="abc"
58
+ >
59
+ <svg
60
+ class="ucl-uikit-icon css-148hpxb"
61
+ data-testid="ucl-uikit-icon"
62
+ fill="none"
63
+ height="24"
64
+ stroke="currentColor"
65
+ stroke-linecap="round"
66
+ stroke-linejoin="round"
67
+ stroke-width="3"
68
+ viewBox="0 0 24 24"
69
+ width="24"
70
+ xmlns="http://www.w3.org/2000/svg"
71
+ >
72
+ <polyline
73
+ points="20 6 9 17 4 12"
74
+ />
75
+ </svg>
76
+ </button>
77
+ `;
@@ -0,0 +1,2 @@
1
+ export { default } from './IconButton';
2
+ export type { IconButtonProps } from './IconButton';