@logora/debate 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1053) hide show
  1. package/.changeset/config.json +11 -0
  2. package/.eslintrc.js +12 -0
  3. package/.github/dependabot.yml +7 -0
  4. package/.github/workflows/master.yml +121 -0
  5. package/.storybook/main.mjs +47 -0
  6. package/.storybook/preview.js +11 -0
  7. package/LICENSE +661 -0
  8. package/README.md +90 -0
  9. package/package.json +101 -0
  10. package/src/components/action/back_link/BackLink.docs.mdx +25 -0
  11. package/src/components/action/back_link/BackLink.jsx +30 -0
  12. package/src/components/action/back_link/BackLink.module.scss +34 -0
  13. package/src/components/action/back_link/BackLink.stories.jsx +28 -0
  14. package/src/components/action/back_link/BackLink.test.jsx +105 -0
  15. package/src/components/action/back_link/index.js +1 -0
  16. package/src/components/action/button/Button.docs.mdx +43 -0
  17. package/src/components/action/button/Button.examples.jsx +60 -0
  18. package/src/components/action/button/Button.jsx +88 -0
  19. package/src/components/action/button/Button.module.scss +133 -0
  20. package/src/components/action/button/Button.stories.jsx +54 -0
  21. package/src/components/action/button/Button.test.jsx +54 -0
  22. package/src/components/action/button/index.js +1 -0
  23. package/src/components/action/icon_text_link/HomeIcon.dev.jsx +9 -0
  24. package/src/components/action/icon_text_link/IconTextLink.docs.mdx +37 -0
  25. package/src/components/action/icon_text_link/IconTextLink.jsx +57 -0
  26. package/src/components/action/icon_text_link/IconTextLink.module.scss +67 -0
  27. package/src/components/action/icon_text_link/IconTextLink.stories.jsx +44 -0
  28. package/src/components/action/icon_text_link/IconTextLink.test.jsx +134 -0
  29. package/src/components/action/icon_text_link/index.js +1 -0
  30. package/src/components/action/link/Link.docs.mdx +23 -0
  31. package/src/components/action/link/Link.jsx +50 -0
  32. package/src/components/action/link/Link.stories.jsx +43 -0
  33. package/src/components/action/link/Link.test.jsx +91 -0
  34. package/src/components/action/link/index.js +1 -0
  35. package/src/components/ad/ad_unit/AdUnit.docs.mdx +23 -0
  36. package/src/components/ad/ad_unit/AdUnit.jsx +75 -0
  37. package/src/components/ad/ad_unit/AdUnit.module.scss +9 -0
  38. package/src/components/ad/ad_unit/AdUnit.stories.jsx +30 -0
  39. package/src/components/ad/ad_unit/AdUnit.test.jsx +63 -0
  40. package/src/components/ad/ad_unit/index.js +1 -0
  41. package/src/components/ad/use_google_ad_manager/index.js +1 -0
  42. package/src/components/ad/use_google_ad_manager/useGoogleAdManager.docs.mdx +27 -0
  43. package/src/components/ad/use_google_ad_manager/useGoogleAdManager.jsx +37 -0
  44. package/src/components/ad/use_google_ad_manager/useGoogleAdManager.test.jsx +47 -0
  45. package/src/components/ad/with_ad/WithAd.docs.mdx +30 -0
  46. package/src/components/ad/with_ad/WithAd.jsx +51 -0
  47. package/src/components/ad/with_ad/WithAd.test.jsx +104 -0
  48. package/src/components/ad/with_ad/index.js +1 -0
  49. package/src/components/argument/argument/Argument.docs.mdx +60 -0
  50. package/src/components/argument/argument/Argument.jsx +358 -0
  51. package/src/components/argument/argument/Argument.module.scss +233 -0
  52. package/src/components/argument/argument/Argument.stories.jsx +232 -0
  53. package/src/components/argument/argument/Argument.test.jsx +303 -0
  54. package/src/components/argument/argument/ReplyFooter.jsx +47 -0
  55. package/src/components/argument/argument/ReplyFooter.module.scss +77 -0
  56. package/src/components/argument/argument/index.js +2 -0
  57. package/src/components/argument/argument/useRichContent.jsx +18 -0
  58. package/src/components/argument/top_arguments/TopArguments.docs.mdx +22 -0
  59. package/src/components/argument/top_arguments/TopArguments.jsx +90 -0
  60. package/src/components/argument/top_arguments/TopArguments.module.scss +37 -0
  61. package/src/components/argument/top_arguments/TopArguments.stories.jsx +156 -0
  62. package/src/components/argument/top_arguments/TopArguments.test.jsx +67 -0
  63. package/src/components/argument/top_arguments/index.js +1 -0
  64. package/src/components/auth/auth_initializer/AuthInitializer.alltest.js +21 -0
  65. package/src/components/auth/auth_initializer/AuthInitializer.docs.mdx +34 -0
  66. package/src/components/auth/auth_initializer/AuthInitializer.jsx +61 -0
  67. package/src/components/auth/auth_initializer/index.js +1 -0
  68. package/src/components/auth/auth_modal/AuthModal.alltest.js +30 -0
  69. package/src/components/auth/auth_modal/AuthModal.docs.mdx +26 -0
  70. package/src/components/auth/auth_modal/AuthModal.jsx +99 -0
  71. package/src/components/auth/auth_modal/AuthModal.module.scss +9 -0
  72. package/src/components/auth/auth_modal/AuthModal.stories.jsx +90 -0
  73. package/src/components/auth/auth_modal/index.js +1 -0
  74. package/src/components/auth/facebook_login_button/FacebookIcon.jsx +7 -0
  75. package/src/components/auth/facebook_login_button/FacebookLoginButton.docs.mdx +34 -0
  76. package/src/components/auth/facebook_login_button/FacebookLoginButton.jsx +25 -0
  77. package/src/components/auth/facebook_login_button/FacebookLoginButton.module.scss +32 -0
  78. package/src/components/auth/facebook_login_button/FacebookLoginButton.stories.jsx +35 -0
  79. package/src/components/auth/facebook_login_button/FacebookLoginButton.test.jsx +68 -0
  80. package/src/components/auth/facebook_login_button/index.js +1 -0
  81. package/src/components/auth/google_login_button/GoogleIcon.jsx +10 -0
  82. package/src/components/auth/google_login_button/GoogleLoginButton.docs.mdx +43 -0
  83. package/src/components/auth/google_login_button/GoogleLoginButton.jsx +27 -0
  84. package/src/components/auth/google_login_button/GoogleLoginButton.module.scss +28 -0
  85. package/src/components/auth/google_login_button/GoogleLoginButton.stories.jsx +35 -0
  86. package/src/components/auth/google_login_button/GoogleLoginButton.test.jsx +69 -0
  87. package/src/components/auth/google_login_button/index.js +1 -0
  88. package/src/components/auth/login_form/LoginForm.docs.mdx +24 -0
  89. package/src/components/auth/login_form/LoginForm.jsx +65 -0
  90. package/src/components/auth/login_form/LoginForm.module.scss +36 -0
  91. package/src/components/auth/login_form/LoginForm.stories.jsx +42 -0
  92. package/src/components/auth/login_form/LoginForm.test.jsx +94 -0
  93. package/src/components/auth/login_form/index.js +1 -0
  94. package/src/components/auth/oauth2_button/OAuth2Button.docs.mdx +32 -0
  95. package/src/components/auth/oauth2_button/OAuth2Button.jsx +79 -0
  96. package/src/components/auth/oauth2_button/OAuth2Button.module.scss +10 -0
  97. package/src/components/auth/oauth2_button/OAuth2Button.stories.jsx +48 -0
  98. package/src/components/auth/oauth2_button/OAuth2Button.test.jsx +306 -0
  99. package/src/components/auth/oauth2_button/index.js +1 -0
  100. package/src/components/auth/providers/AuthProvider.docs.mdx +35 -0
  101. package/src/components/auth/providers/AuthProvider.js +23 -0
  102. package/src/components/auth/providers/AuthProviderFactory.js +20 -0
  103. package/src/components/auth/providers/FormAuth.js +36 -0
  104. package/src/components/auth/providers/JWTAuth.js +35 -0
  105. package/src/components/auth/providers/OAuth2ServerAuth.js +47 -0
  106. package/src/components/auth/providers/PasswordAuth.js +31 -0
  107. package/src/components/auth/providers/index.js +1 -0
  108. package/src/components/auth/providers/tests/AuthProviderFactory.test.jsx +53 -0
  109. package/src/components/auth/providers/tests/FormAuth.test.jsx +45 -0
  110. package/src/components/auth/providers/tests/JWTAuth.test.jsx +57 -0
  111. package/src/components/auth/providers/tests/OAuth2ServerAuth.test.jsx +78 -0
  112. package/src/components/auth/providers/tests/PasswordAuth.test.jsx +43 -0
  113. package/src/components/auth/signup_form/SignupForm.docs.mdx +29 -0
  114. package/src/components/auth/signup_form/SignupForm.jsx +125 -0
  115. package/src/components/auth/signup_form/SignupForm.module.scss +21 -0
  116. package/src/components/auth/signup_form/SignupForm.stories.jsx +40 -0
  117. package/src/components/auth/signup_form/SignupForm.test.jsx +144 -0
  118. package/src/components/auth/signup_form/index.js +1 -0
  119. package/src/components/auth/social_auth_form/SocialAuthForm.docs.mdx +33 -0
  120. package/src/components/auth/social_auth_form/SocialAuthForm.jsx +170 -0
  121. package/src/components/auth/social_auth_form/SocialAuthForm.module.scss +141 -0
  122. package/src/components/auth/social_auth_form/SocialAuthForm.stories.jsx +82 -0
  123. package/src/components/auth/social_auth_form/SocialAuthForm.test.jsx +201 -0
  124. package/src/components/auth/social_auth_form/index.js +1 -0
  125. package/src/components/auth/sso_form/SSOForm.docs.mdx +39 -0
  126. package/src/components/auth/sso_form/SSOForm.jsx +243 -0
  127. package/src/components/auth/sso_form/SSOForm.module.scss +99 -0
  128. package/src/components/auth/sso_form/SSOForm.stories.jsx +117 -0
  129. package/src/components/auth/sso_form/SSOForm.test.jsx +83 -0
  130. package/src/components/auth/sso_form/index.js +1 -0
  131. package/src/components/auth/use_auth/AuthContext.js +3 -0
  132. package/src/components/auth/use_auth/AuthProvider.jsx +21 -0
  133. package/src/components/auth/use_auth/AuthProvider.test.jsx +26 -0
  134. package/src/components/auth/use_auth/AuthStorage.js +33 -0
  135. package/src/components/auth/use_auth/AuthStorage.test.jsx +165 -0
  136. package/src/components/auth/use_auth/authTokenHandler.js +67 -0
  137. package/src/components/auth/use_auth/authTokenHandler.test.jsx +117 -0
  138. package/src/components/auth/use_auth/index.js +7 -0
  139. package/src/components/auth/use_auth/useAuth.docs.mdx +34 -0
  140. package/src/components/auth/use_auth/useAuth.js +8 -0
  141. package/src/components/auth/use_auth/useAuthActions.js +77 -0
  142. package/src/components/auth/use_auth/useAuthInterceptor.jsx +42 -0
  143. package/src/components/chart/line_chart/LineChart.docs.mdx +34 -0
  144. package/src/components/chart/line_chart/LineChart.jsx +107 -0
  145. package/src/components/chart/line_chart/LineChart.module.scss +54 -0
  146. package/src/components/chart/line_chart/LineChart.stories.jsx +49 -0
  147. package/src/components/chart/line_chart/LineChart.test.jsx +12 -0
  148. package/src/components/chart/line_chart/index.js +1 -0
  149. package/src/components/chart/pie_chart/PieChart.docs.mdx +26 -0
  150. package/src/components/chart/pie_chart/PieChart.jsx +102 -0
  151. package/src/components/chart/pie_chart/PieChart.module.scss +17 -0
  152. package/src/components/chart/pie_chart/PieChart.stories.jsx +36 -0
  153. package/src/components/chart/pie_chart/PieChart.test.jsx +12 -0
  154. package/src/components/chart/pie_chart/index.js +1 -0
  155. package/src/components/consultation/consultation_box/ConsultationBox.docs.mdx +21 -0
  156. package/src/components/consultation/consultation_box/ConsultationBox.jsx +101 -0
  157. package/src/components/consultation/consultation_box/ConsultationBox.module.scss +105 -0
  158. package/src/components/consultation/consultation_box/ConsultationBox.stories.jsx +96 -0
  159. package/src/components/consultation/consultation_box/ConsultationBox.test.jsx +58 -0
  160. package/src/components/consultation/consultation_box/index.js +1 -0
  161. package/src/components/data/axios_client/httpClient.docs.mdx +4 -0
  162. package/src/components/data/axios_client/httpClient.js +11 -0
  163. package/src/components/data/axios_client/index.js +1 -0
  164. package/src/components/data/config_provider/ConfigProvider.docs.mdx +26 -0
  165. package/src/components/data/config_provider/ConfigProvider.jsx +21 -0
  166. package/src/components/data/config_provider/ConfigProvider.test.jsx +39 -0
  167. package/src/components/data/config_provider/index.js +4 -0
  168. package/src/components/data/config_provider/useConfig.jsx +8 -0
  169. package/src/components/data/config_provider/useRoutes.jsx +8 -0
  170. package/src/components/data/config_provider/withConfig.jsx +8 -0
  171. package/src/components/data/data_provider/DataProvider.docs.mdx +52 -0
  172. package/src/components/data/data_provider/DataProvider.jsx +165 -0
  173. package/src/components/data/data_provider/DataProvider.test.jsx +419 -0
  174. package/src/components/data/data_provider/DataProviderContext.jsx +3 -0
  175. package/src/components/data/data_provider/index.js +4 -0
  176. package/src/components/data/data_provider/useData.jsx +9 -0
  177. package/src/components/data/data_provider/useDataProvider.jsx +8 -0
  178. package/src/components/data/data_provider/useDataProvider.test.jsx +38 -0
  179. package/src/components/debate/debate_box/DebateBox.docs.mdx +23 -0
  180. package/src/components/debate/debate_box/DebateBox.jsx +136 -0
  181. package/src/components/debate/debate_box/DebateBox.module.scss +209 -0
  182. package/src/components/debate/debate_box/DebateBox.stories.jsx +157 -0
  183. package/src/components/debate/debate_box/DebateBox.test.jsx +117 -0
  184. package/src/components/debate/debate_box/index.js +1 -0
  185. package/src/components/dialog/announcement_dialog/AnnouncementDialog.docs.mdx +24 -0
  186. package/src/components/dialog/announcement_dialog/AnnouncementDialog.jsx +37 -0
  187. package/src/components/dialog/announcement_dialog/AnnouncementDialog.module.scss +35 -0
  188. package/src/components/dialog/announcement_dialog/AnnouncementDialog.stories.jsx +44 -0
  189. package/src/components/dialog/announcement_dialog/AnnouncementDialog.test.jsx +35 -0
  190. package/src/components/dialog/announcement_dialog/HomeIcon.dev.jsx +9 -0
  191. package/src/components/dialog/announcement_dialog/index.js +1 -0
  192. package/src/components/dialog/confirm_modal/ConfirmModal.docs.mdx +25 -0
  193. package/src/components/dialog/confirm_modal/ConfirmModal.jsx +53 -0
  194. package/src/components/dialog/confirm_modal/ConfirmModal.module.scss +30 -0
  195. package/src/components/dialog/confirm_modal/ConfirmModal.stories.jsx +36 -0
  196. package/src/components/dialog/confirm_modal/ConfirmModal.test.jsx +176 -0
  197. package/src/components/dialog/confirm_modal/index.js +1 -0
  198. package/src/components/dialog/countdown/Countdown.docs.mdx +23 -0
  199. package/src/components/dialog/countdown/Countdown.jsx +36 -0
  200. package/src/components/dialog/countdown/Countdown.stories.jsx +33 -0
  201. package/src/components/dialog/countdown/Countdown.test.jsx +51 -0
  202. package/src/components/dialog/countdown/index.js +1 -0
  203. package/src/components/dialog/dialog_box/DialogBox.docs.mdx +25 -0
  204. package/src/components/dialog/dialog_box/DialogBox.jsx +53 -0
  205. package/src/components/dialog/dialog_box/DialogBox.module.scss +145 -0
  206. package/src/components/dialog/dialog_box/DialogBox.stories.jsx +45 -0
  207. package/src/components/dialog/dialog_box/DialogBox.test.jsx +40 -0
  208. package/src/components/dialog/dialog_box/index.js +1 -0
  209. package/src/components/dialog/drawer/Drawer.docs.mdx +31 -0
  210. package/src/components/dialog/drawer/Drawer.jsx +159 -0
  211. package/src/components/dialog/drawer/Drawer.module.scss +136 -0
  212. package/src/components/dialog/drawer/Drawer.stories.jsx +194 -0
  213. package/src/components/dialog/drawer/Drawer.test.jsx +15 -0
  214. package/src/components/dialog/drawer/index.js +1 -0
  215. package/src/components/dialog/dropdown/Dropdown.docs.mdx +28 -0
  216. package/src/components/dialog/dropdown/Dropdown.jsx +59 -0
  217. package/src/components/dialog/dropdown/Dropdown.module.scss +41 -0
  218. package/src/components/dialog/dropdown/Dropdown.stories.jsx +42 -0
  219. package/src/components/dialog/dropdown/Dropdown.test.jsx +126 -0
  220. package/src/components/dialog/dropdown/index.js +1 -0
  221. package/src/components/dialog/modal/Modal.docs.mdx +39 -0
  222. package/src/components/dialog/modal/Modal.jsx +101 -0
  223. package/src/components/dialog/modal/Modal.module.scss +99 -0
  224. package/src/components/dialog/modal/Modal.stories.jsx +53 -0
  225. package/src/components/dialog/modal/Modal.test.jsx +115 -0
  226. package/src/components/dialog/modal/ModalProvider.jsx +26 -0
  227. package/src/components/dialog/modal/ModalProvider.test.jsx +39 -0
  228. package/src/components/dialog/modal/index.js +3 -0
  229. package/src/components/dialog/modal/useModal.jsx +6 -0
  230. package/src/components/dialog/toast/Toast.docs.mdx +21 -0
  231. package/src/components/dialog/toast/Toast.jsx +44 -0
  232. package/src/components/dialog/toast/Toast.module.scss +66 -0
  233. package/src/components/dialog/toast/Toast.stories.jsx +42 -0
  234. package/src/components/dialog/toast/Toast.test.jsx +21 -0
  235. package/src/components/dialog/toast/index.js +1 -0
  236. package/src/components/dialog/toast_provider/ToastContext.js +3 -0
  237. package/src/components/dialog/toast_provider/ToastProvider.docs.mdx +36 -0
  238. package/src/components/dialog/toast_provider/ToastProvider.jsx +35 -0
  239. package/src/components/dialog/toast_provider/ToastProvider.module.scss +14 -0
  240. package/src/components/dialog/toast_provider/ToastProvider.test.jsx +64 -0
  241. package/src/components/dialog/toast_provider/index.js +2 -0
  242. package/src/components/dialog/toast_provider/useToast.jsx +8 -0
  243. package/src/components/dialog/tooltip/Tooltip.docs.mdx +20 -0
  244. package/src/components/dialog/tooltip/Tooltip.jsx +53 -0
  245. package/src/components/dialog/tooltip/Tooltip.module.scss +92 -0
  246. package/src/components/dialog/tooltip/Tooltip.stories.jsx +76 -0
  247. package/src/components/dialog/tooltip/Tooltip.test.jsx +67 -0
  248. package/src/components/dialog/tooltip/index.js +3 -0
  249. package/src/components/embed/embed_header/EmbedHeader.docs.mdx +25 -0
  250. package/src/components/embed/embed_header/EmbedHeader.jsx +61 -0
  251. package/src/components/embed/embed_header/EmbedHeader.module.scss +148 -0
  252. package/src/components/embed/embed_header/EmbedHeader.stories.jsx +54 -0
  253. package/src/components/embed/embed_header/EmbedHeader.test.jsx +70 -0
  254. package/src/components/embed/embed_header/index.js +1 -0
  255. package/src/components/error/standard_error_boundary/StandardErrorBoundary.docs.mdx +26 -0
  256. package/src/components/error/standard_error_boundary/StandardErrorBoundary.jsx +27 -0
  257. package/src/components/error/standard_error_boundary/StandardErrorBoundary.module.scss +8 -0
  258. package/src/components/error/standard_error_boundary/StandardErrorBoundary.test.jsx +56 -0
  259. package/src/components/error/standard_error_boundary/index.js +1 -0
  260. package/src/components/follow/follow_button/FollowButton.docs.mdx +41 -0
  261. package/src/components/follow/follow_button/FollowButton.jsx +40 -0
  262. package/src/components/follow/follow_button/FollowButton.module.scss +17 -0
  263. package/src/components/follow/follow_button/FollowButton.stories.jsx +58 -0
  264. package/src/components/follow/follow_button/FollowButton.test.jsx +45 -0
  265. package/src/components/follow/follow_button/index.js +1 -0
  266. package/src/components/follow/use_follow/index.js +1 -0
  267. package/src/components/follow/use_follow/useFollow.docs.mdx +24 -0
  268. package/src/components/follow/use_follow/useFollow.jsx +60 -0
  269. package/src/components/follow/use_follow/useFollow.test.jsx +94 -0
  270. package/src/components/forms/form/extract-form-data.js +14 -0
  271. package/src/components/forms/form/form-context.js +3 -0
  272. package/src/components/forms/form/form.docs.mdx +232 -0
  273. package/src/components/forms/form/form.jsx +26 -0
  274. package/src/components/forms/form/form.stories.jsx +119 -0
  275. package/src/components/forms/form/form.test.jsx +3 -0
  276. package/src/components/forms/form/index.js +6 -0
  277. package/src/components/forms/form/use-form-context.js +43 -0
  278. package/src/components/forms/form/use-form.js +4 -0
  279. package/src/components/forms/use_form_validation/index.js +1 -0
  280. package/src/components/forms/use_form_validation/useFormValidation.docs.mdx +40 -0
  281. package/src/components/forms/use_form_validation/useFormValidation.jsx +114 -0
  282. package/src/components/forms/use_form_validation/useFormValidation.test.jsx +91 -0
  283. package/src/components/gamification/badge_box/BadgeBox.docs.mdx +25 -0
  284. package/src/components/gamification/badge_box/BadgeBox.jsx +74 -0
  285. package/src/components/gamification/badge_box/BadgeBox.module.scss +103 -0
  286. package/src/components/gamification/badge_box/BadgeBox.stories.jsx +64 -0
  287. package/src/components/gamification/badge_box/BadgeBox.test.jsx +113 -0
  288. package/src/components/gamification/badge_box/index.js +1 -0
  289. package/src/components/gamification/point_box/PointBox.docs.mdx +19 -0
  290. package/src/components/gamification/point_box/PointBox.jsx +28 -0
  291. package/src/components/gamification/point_box/PointBox.module.scss +38 -0
  292. package/src/components/gamification/point_box/PointBox.stories.jsx +32 -0
  293. package/src/components/gamification/point_box/PointBox.test.jsx +21 -0
  294. package/src/components/gamification/point_box/index.js +1 -0
  295. package/src/components/hooks/use_auth_required/index.js +1 -0
  296. package/src/components/hooks/use_auth_required/useAuthRequired.docs.mdx +22 -0
  297. package/src/components/hooks/use_auth_required/useAuthRequired.jsx +28 -0
  298. package/src/components/hooks/use_auth_required/useAuthRequired.test.jsx +85 -0
  299. package/src/components/hooks/use_css_theme/index.js +1 -0
  300. package/src/components/hooks/use_css_theme/useCssTheme.docs.mdx +34 -0
  301. package/src/components/hooks/use_css_theme/useCssTheme.js +27 -0
  302. package/src/components/hooks/use_css_theme/useCssTheme.stories.jsx +41 -0
  303. package/src/components/hooks/use_css_theme/useCssTheme.test.jsx +31 -0
  304. package/src/components/hooks/use_font_loader/index.js +1 -0
  305. package/src/components/hooks/use_font_loader/useFontLoader.docs.mdx +24 -0
  306. package/src/components/hooks/use_font_loader/useFontLoader.js +16 -0
  307. package/src/components/hooks/use_font_loader/useFontLoader.test.jsx +64 -0
  308. package/src/components/hooks/use_matomo/index.js +1 -0
  309. package/src/components/hooks/use_matomo/useMatomo.docs.mdx +28 -0
  310. package/src/components/hooks/use_matomo/useMatomo.js +17 -0
  311. package/src/components/hooks/use_matomo/useMatomo.test.jsx +24 -0
  312. package/src/components/hooks/use_relative_time/index.js +1 -0
  313. package/src/components/hooks/use_relative_time/useRelativeTime.docs.mdx +35 -0
  314. package/src/components/hooks/use_relative_time/useRelativeTime.jsx +40 -0
  315. package/src/components/hooks/use_relative_time/useRelativeTime.test.jsx +82 -0
  316. package/src/components/hooks/use_responsive/ResponsiveContext.jsx +3 -0
  317. package/src/components/hooks/use_responsive/ResponsiveProvider.jsx +52 -0
  318. package/src/components/hooks/use_responsive/index.js +2 -0
  319. package/src/components/hooks/use_responsive/useResponsive.docs.mdx +46 -0
  320. package/src/components/hooks/use_responsive/useResponsive.jsx +8 -0
  321. package/src/components/hooks/use_responsive/useResponsive.stories.jsx +49 -0
  322. package/src/components/hooks/use_responsive/useResponsive.test.jsx +54 -0
  323. package/src/components/icons/bild_icons/Alarm.jsx +7 -0
  324. package/src/components/icons/bild_icons/Announcement.jsx +16 -0
  325. package/src/components/icons/bild_icons/Arrow.jsx +7 -0
  326. package/src/components/icons/bild_icons/BildIcons.docs.mdx +21 -0
  327. package/src/components/icons/bild_icons/BildIcons.stories.jsx +123 -0
  328. package/src/components/icons/bild_icons/BildIcons.test.jsx +15 -0
  329. package/src/components/icons/bild_icons/Blockquote.jsx +7 -0
  330. package/src/components/icons/bild_icons/Bold.jsx +7 -0
  331. package/src/components/icons/bild_icons/Camera.jsx +8 -0
  332. package/src/components/icons/bild_icons/Chat.jsx +16 -0
  333. package/src/components/icons/bild_icons/Check.jsx +7 -0
  334. package/src/components/icons/bild_icons/CheckCircle.jsx +17 -0
  335. package/src/components/icons/bild_icons/Checkbox.jsx +8 -0
  336. package/src/components/icons/bild_icons/Clap.jsx +9 -0
  337. package/src/components/icons/bild_icons/Clock.jsx +7 -0
  338. package/src/components/icons/bild_icons/Close.jsx +7 -0
  339. package/src/components/icons/bild_icons/Code.jsx +18 -0
  340. package/src/components/icons/bild_icons/Community.jsx +7 -0
  341. package/src/components/icons/bild_icons/Crown.jsx +7 -0
  342. package/src/components/icons/bild_icons/Document.jsx +7 -0
  343. package/src/components/icons/bild_icons/Downvote.jsx +7 -0
  344. package/src/components/icons/bild_icons/Ellipsis.jsx +8 -0
  345. package/src/components/icons/bild_icons/ExpertBadge.jsx +11 -0
  346. package/src/components/icons/bild_icons/Facebook.jsx +7 -0
  347. package/src/components/icons/bild_icons/Flag.jsx +7 -0
  348. package/src/components/icons/bild_icons/Home.jsx +7 -0
  349. package/src/components/icons/bild_icons/Italic.jsx +7 -0
  350. package/src/components/icons/bild_icons/LightArrow.jsx +7 -0
  351. package/src/components/icons/bild_icons/Link.jsx +8 -0
  352. package/src/components/icons/bild_icons/Login.jsx +11 -0
  353. package/src/components/icons/bild_icons/Logora.jsx +24 -0
  354. package/src/components/icons/bild_icons/Mail.jsx +7 -0
  355. package/src/components/icons/bild_icons/MinusCircle.jsx +16 -0
  356. package/src/components/icons/bild_icons/MobileClose.jsx +8 -0
  357. package/src/components/icons/bild_icons/MobileMenu.jsx +10 -0
  358. package/src/components/icons/bild_icons/Next.jsx +10 -0
  359. package/src/components/icons/bild_icons/OpenBlank.jsx +15 -0
  360. package/src/components/icons/bild_icons/OrderedList.jsx +7 -0
  361. package/src/components/icons/bild_icons/PauseCircle.jsx +10 -0
  362. package/src/components/icons/bild_icons/Point.jsx +8 -0
  363. package/src/components/icons/bild_icons/Question.jsx +8 -0
  364. package/src/components/icons/bild_icons/Refresh.jsx +7 -0
  365. package/src/components/icons/bild_icons/Reply.jsx +7 -0
  366. package/src/components/icons/bild_icons/Search.jsx +7 -0
  367. package/src/components/icons/bild_icons/Send.jsx +7 -0
  368. package/src/components/icons/bild_icons/Share.jsx +14 -0
  369. package/src/components/icons/bild_icons/SmallArrow.jsx +11 -0
  370. package/src/components/icons/bild_icons/Source.jsx +7 -0
  371. package/src/components/icons/bild_icons/Suggestion.jsx +7 -0
  372. package/src/components/icons/bild_icons/Twitter.jsx +10 -0
  373. package/src/components/icons/bild_icons/Underline.jsx +7 -0
  374. package/src/components/icons/bild_icons/Upvote.jsx +7 -0
  375. package/src/components/icons/bild_icons/User.jsx +7 -0
  376. package/src/components/icons/bild_icons/Versus.jsx +11 -0
  377. package/src/components/icons/bild_icons/Votebox.jsx +7 -0
  378. package/src/components/icons/bild_icons/index.js +52 -0
  379. package/src/components/icons/hero_icons/Alarm.jsx +7 -0
  380. package/src/components/icons/hero_icons/Announcement.jsx +7 -0
  381. package/src/components/icons/hero_icons/Arrow.jsx +7 -0
  382. package/src/components/icons/hero_icons/Blockquote.jsx +14 -0
  383. package/src/components/icons/hero_icons/Bold.jsx +7 -0
  384. package/src/components/icons/hero_icons/Camera.jsx +8 -0
  385. package/src/components/icons/hero_icons/Chat.jsx +7 -0
  386. package/src/components/icons/hero_icons/Check.jsx +8 -0
  387. package/src/components/icons/hero_icons/CheckCircle.jsx +17 -0
  388. package/src/components/icons/hero_icons/Checkbox.jsx +7 -0
  389. package/src/components/icons/hero_icons/Clap.jsx +7 -0
  390. package/src/components/icons/hero_icons/Clock.jsx +7 -0
  391. package/src/components/icons/hero_icons/Close.jsx +8 -0
  392. package/src/components/icons/hero_icons/Code.jsx +7 -0
  393. package/src/components/icons/hero_icons/Community.jsx +7 -0
  394. package/src/components/icons/hero_icons/Crown.jsx +7 -0
  395. package/src/components/icons/hero_icons/Downvote.jsx +8 -0
  396. package/src/components/icons/hero_icons/Ellipsis.jsx +7 -0
  397. package/src/components/icons/hero_icons/ExpertBadge.jsx +7 -0
  398. package/src/components/icons/hero_icons/Facebook.jsx +7 -0
  399. package/src/components/icons/hero_icons/Flag.jsx +7 -0
  400. package/src/components/icons/hero_icons/HeroIcons.docs.mdx +19 -0
  401. package/src/components/icons/hero_icons/HeroIcons.stories.jsx +121 -0
  402. package/src/components/icons/hero_icons/HeroIcons.test.jsx +15 -0
  403. package/src/components/icons/hero_icons/Home.jsx +7 -0
  404. package/src/components/icons/hero_icons/Italic.jsx +7 -0
  405. package/src/components/icons/hero_icons/LightArrow.jsx +7 -0
  406. package/src/components/icons/hero_icons/Link.jsx +7 -0
  407. package/src/components/icons/hero_icons/Login.jsx +7 -0
  408. package/src/components/icons/hero_icons/Logora.jsx +24 -0
  409. package/src/components/icons/hero_icons/Mail.jsx +7 -0
  410. package/src/components/icons/hero_icons/MinusCircle.jsx +16 -0
  411. package/src/components/icons/hero_icons/MobileClose.jsx +7 -0
  412. package/src/components/icons/hero_icons/MobileMenu.jsx +7 -0
  413. package/src/components/icons/hero_icons/Next.jsx +8 -0
  414. package/src/components/icons/hero_icons/OpenBlank.jsx +7 -0
  415. package/src/components/icons/hero_icons/OrderedList.jsx +19 -0
  416. package/src/components/icons/hero_icons/PauseCircle.jsx +10 -0
  417. package/src/components/icons/hero_icons/Point.jsx +8 -0
  418. package/src/components/icons/hero_icons/Question.jsx +7 -0
  419. package/src/components/icons/hero_icons/Refresh.jsx +7 -0
  420. package/src/components/icons/hero_icons/Reply.jsx +7 -0
  421. package/src/components/icons/hero_icons/Search.jsx +7 -0
  422. package/src/components/icons/hero_icons/Send.jsx +7 -0
  423. package/src/components/icons/hero_icons/Share.jsx +8 -0
  424. package/src/components/icons/hero_icons/SmallArrow.jsx +7 -0
  425. package/src/components/icons/hero_icons/Source.jsx +8 -0
  426. package/src/components/icons/hero_icons/Suggestion.jsx +9 -0
  427. package/src/components/icons/hero_icons/Twitter.jsx +10 -0
  428. package/src/components/icons/hero_icons/Underline.jsx +14 -0
  429. package/src/components/icons/hero_icons/Upvote.jsx +7 -0
  430. package/src/components/icons/hero_icons/User.jsx +7 -0
  431. package/src/components/icons/hero_icons/Versus.jsx +7 -0
  432. package/src/components/icons/hero_icons/Votebox.jsx +7 -0
  433. package/src/components/icons/hero_icons/index.js +51 -0
  434. package/src/components/icons/icon/Icon.docs.mdx +20 -0
  435. package/src/components/icons/icon/Icon.jsx +32 -0
  436. package/src/components/icons/icon/Icon.test.jsx +33 -0
  437. package/src/components/icons/icon/index.js +1 -0
  438. package/src/components/icons/icon_provider/IconProvider.docs.mdx +28 -0
  439. package/src/components/icons/icon_provider/IconProvider.jsx +19 -0
  440. package/src/components/icons/icon_provider/IconProvider.test.jsx +24 -0
  441. package/src/components/icons/icon_provider/index.js +1 -0
  442. package/src/components/icons/krone_icons/Alarm.jsx +27 -0
  443. package/src/components/icons/krone_icons/Announcement.jsx +16 -0
  444. package/src/components/icons/krone_icons/Arrow.jsx +7 -0
  445. package/src/components/icons/krone_icons/Blockquote.jsx +7 -0
  446. package/src/components/icons/krone_icons/Bold.jsx +7 -0
  447. package/src/components/icons/krone_icons/Camera.jsx +8 -0
  448. package/src/components/icons/krone_icons/Chat.jsx +29 -0
  449. package/src/components/icons/krone_icons/Check.jsx +7 -0
  450. package/src/components/icons/krone_icons/CheckBox.jsx +7 -0
  451. package/src/components/icons/krone_icons/CheckCircle.jsx +17 -0
  452. package/src/components/icons/krone_icons/Clap.jsx +29 -0
  453. package/src/components/icons/krone_icons/Clock.jsx +7 -0
  454. package/src/components/icons/krone_icons/Close.jsx +7 -0
  455. package/src/components/icons/krone_icons/Code.jsx +18 -0
  456. package/src/components/icons/krone_icons/Community.jsx +7 -0
  457. package/src/components/icons/krone_icons/Crown.jsx +7 -0
  458. package/src/components/icons/krone_icons/Document.jsx +7 -0
  459. package/src/components/icons/krone_icons/Downvote.jsx +7 -0
  460. package/src/components/icons/krone_icons/Ellipsis.jsx +18 -0
  461. package/src/components/icons/krone_icons/ExpertBadge.jsx +29 -0
  462. package/src/components/icons/krone_icons/Facebook.jsx +7 -0
  463. package/src/components/icons/krone_icons/Flag.jsx +7 -0
  464. package/src/components/icons/krone_icons/Home.jsx +29 -0
  465. package/src/components/icons/krone_icons/Italic.jsx +7 -0
  466. package/src/components/icons/krone_icons/KroneIcons.docs.mdx +21 -0
  467. package/src/components/icons/krone_icons/KroneIcons.stories.jsx +124 -0
  468. package/src/components/icons/krone_icons/KroneIcons.test.jsx +15 -0
  469. package/src/components/icons/krone_icons/LightArrow.jsx +7 -0
  470. package/src/components/icons/krone_icons/Link.jsx +8 -0
  471. package/src/components/icons/krone_icons/Login.jsx +11 -0
  472. package/src/components/icons/krone_icons/Logora.jsx +24 -0
  473. package/src/components/icons/krone_icons/Mail.jsx +7 -0
  474. package/src/components/icons/krone_icons/MinusCircle.jsx +16 -0
  475. package/src/components/icons/krone_icons/MobileClose.jsx +8 -0
  476. package/src/components/icons/krone_icons/MobileMenu.jsx +10 -0
  477. package/src/components/icons/krone_icons/Next.jsx +10 -0
  478. package/src/components/icons/krone_icons/OpenBlank.jsx +15 -0
  479. package/src/components/icons/krone_icons/OrderedList.jsx +7 -0
  480. package/src/components/icons/krone_icons/PauseCircle.jsx +10 -0
  481. package/src/components/icons/krone_icons/Point.jsx +8 -0
  482. package/src/components/icons/krone_icons/Question.jsx +29 -0
  483. package/src/components/icons/krone_icons/Refresh.jsx +7 -0
  484. package/src/components/icons/krone_icons/Reply.jsx +18 -0
  485. package/src/components/icons/krone_icons/Search.jsx +7 -0
  486. package/src/components/icons/krone_icons/Send.jsx +19 -0
  487. package/src/components/icons/krone_icons/Share.jsx +16 -0
  488. package/src/components/icons/krone_icons/SmallArrow.jsx +11 -0
  489. package/src/components/icons/krone_icons/Source.jsx +7 -0
  490. package/src/components/icons/krone_icons/Suggestion.jsx +29 -0
  491. package/src/components/icons/krone_icons/Twitter.jsx +10 -0
  492. package/src/components/icons/krone_icons/Underline.jsx +7 -0
  493. package/src/components/icons/krone_icons/Upvote.jsx +29 -0
  494. package/src/components/icons/krone_icons/User.jsx +30 -0
  495. package/src/components/icons/krone_icons/Versus.jsx +9 -0
  496. package/src/components/icons/krone_icons/Votebox.jsx +29 -0
  497. package/src/components/icons/krone_icons/index.js +52 -0
  498. package/src/components/icons/regular_icons/Alarm.jsx +7 -0
  499. package/src/components/icons/regular_icons/Announcement.jsx +16 -0
  500. package/src/components/icons/regular_icons/Arrow.jsx +7 -0
  501. package/src/components/icons/regular_icons/Blockquote.jsx +7 -0
  502. package/src/components/icons/regular_icons/Bold.jsx +7 -0
  503. package/src/components/icons/regular_icons/Camera.jsx +8 -0
  504. package/src/components/icons/regular_icons/Chat.jsx +10 -0
  505. package/src/components/icons/regular_icons/Check.jsx +7 -0
  506. package/src/components/icons/regular_icons/CheckCircle.jsx +17 -0
  507. package/src/components/icons/regular_icons/Checkbox.jsx +8 -0
  508. package/src/components/icons/regular_icons/Clap.jsx +7 -0
  509. package/src/components/icons/regular_icons/Clock.jsx +7 -0
  510. package/src/components/icons/regular_icons/Close.jsx +7 -0
  511. package/src/components/icons/regular_icons/Code.jsx +18 -0
  512. package/src/components/icons/regular_icons/Community.jsx +7 -0
  513. package/src/components/icons/regular_icons/Crown.jsx +7 -0
  514. package/src/components/icons/regular_icons/Document.jsx +7 -0
  515. package/src/components/icons/regular_icons/Downvote.jsx +7 -0
  516. package/src/components/icons/regular_icons/Ellipsis.jsx +8 -0
  517. package/src/components/icons/regular_icons/ExpertBadge.jsx +11 -0
  518. package/src/components/icons/regular_icons/Facebook.jsx +7 -0
  519. package/src/components/icons/regular_icons/Flag.jsx +7 -0
  520. package/src/components/icons/regular_icons/Home.jsx +7 -0
  521. package/src/components/icons/regular_icons/Italic.jsx +7 -0
  522. package/src/components/icons/regular_icons/LightArrow.jsx +7 -0
  523. package/src/components/icons/regular_icons/Link.jsx +8 -0
  524. package/src/components/icons/regular_icons/Login.jsx +11 -0
  525. package/src/components/icons/regular_icons/Logora.jsx +24 -0
  526. package/src/components/icons/regular_icons/Mail.jsx +7 -0
  527. package/src/components/icons/regular_icons/MinusCircle.jsx +16 -0
  528. package/src/components/icons/regular_icons/MobileClose.jsx +8 -0
  529. package/src/components/icons/regular_icons/MobileMenu.jsx +10 -0
  530. package/src/components/icons/regular_icons/Next.jsx +10 -0
  531. package/src/components/icons/regular_icons/OpenBlank.jsx +15 -0
  532. package/src/components/icons/regular_icons/OrderedList.jsx +7 -0
  533. package/src/components/icons/regular_icons/PauseCircle.jsx +10 -0
  534. package/src/components/icons/regular_icons/Point.jsx +8 -0
  535. package/src/components/icons/regular_icons/Question.jsx +8 -0
  536. package/src/components/icons/regular_icons/Refresh.jsx +7 -0
  537. package/src/components/icons/regular_icons/RegularIcons.docs.mdx +21 -0
  538. package/src/components/icons/regular_icons/RegularIcons.stories.jsx +123 -0
  539. package/src/components/icons/regular_icons/RegularIcons.test.jsx +15 -0
  540. package/src/components/icons/regular_icons/Reply.jsx +7 -0
  541. package/src/components/icons/regular_icons/Search.jsx +7 -0
  542. package/src/components/icons/regular_icons/Send.jsx +7 -0
  543. package/src/components/icons/regular_icons/Share.jsx +14 -0
  544. package/src/components/icons/regular_icons/SmallArrow.jsx +11 -0
  545. package/src/components/icons/regular_icons/Source.jsx +7 -0
  546. package/src/components/icons/regular_icons/Suggestion.jsx +7 -0
  547. package/src/components/icons/regular_icons/Twitter.jsx +10 -0
  548. package/src/components/icons/regular_icons/Underline.jsx +7 -0
  549. package/src/components/icons/regular_icons/Upvote.jsx +7 -0
  550. package/src/components/icons/regular_icons/User.jsx +7 -0
  551. package/src/components/icons/regular_icons/Versus.jsx +9 -0
  552. package/src/components/icons/regular_icons/Votebox.jsx +7 -0
  553. package/src/components/icons/regular_icons/index.js +52 -0
  554. package/src/components/icons/spiegel_icons/Alarm.jsx +7 -0
  555. package/src/components/icons/spiegel_icons/Announcement.jsx +16 -0
  556. package/src/components/icons/spiegel_icons/Arrow.jsx +7 -0
  557. package/src/components/icons/spiegel_icons/Blockquote.jsx +14 -0
  558. package/src/components/icons/spiegel_icons/Bold.jsx +7 -0
  559. package/src/components/icons/spiegel_icons/Camera.jsx +8 -0
  560. package/src/components/icons/spiegel_icons/Chat.jsx +7 -0
  561. package/src/components/icons/spiegel_icons/Check.jsx +11 -0
  562. package/src/components/icons/spiegel_icons/CheckCircle.jsx +8 -0
  563. package/src/components/icons/spiegel_icons/Checkbox.jsx +14 -0
  564. package/src/components/icons/spiegel_icons/Clap.jsx +15 -0
  565. package/src/components/icons/spiegel_icons/Clock.jsx +15 -0
  566. package/src/components/icons/spiegel_icons/Close.jsx +7 -0
  567. package/src/components/icons/spiegel_icons/Code.jsx +18 -0
  568. package/src/components/icons/spiegel_icons/Community.jsx +7 -0
  569. package/src/components/icons/spiegel_icons/Crown.jsx +7 -0
  570. package/src/components/icons/spiegel_icons/Downvote.jsx +7 -0
  571. package/src/components/icons/spiegel_icons/Ellipsis.jsx +8 -0
  572. package/src/components/icons/spiegel_icons/ExpertBadge.jsx +16 -0
  573. package/src/components/icons/spiegel_icons/Facebook.jsx +7 -0
  574. package/src/components/icons/spiegel_icons/Flag.jsx +8 -0
  575. package/src/components/icons/spiegel_icons/Home.jsx +7 -0
  576. package/src/components/icons/spiegel_icons/Italic.jsx +7 -0
  577. package/src/components/icons/spiegel_icons/LightArrow.jsx +7 -0
  578. package/src/components/icons/spiegel_icons/Link.jsx +17 -0
  579. package/src/components/icons/spiegel_icons/Login.jsx +7 -0
  580. package/src/components/icons/spiegel_icons/Logora.jsx +24 -0
  581. package/src/components/icons/spiegel_icons/Mail.jsx +7 -0
  582. package/src/components/icons/spiegel_icons/MinusCircle.jsx +8 -0
  583. package/src/components/icons/spiegel_icons/MobileClose.jsx +8 -0
  584. package/src/components/icons/spiegel_icons/MobileMenu.jsx +10 -0
  585. package/src/components/icons/spiegel_icons/Next.jsx +10 -0
  586. package/src/components/icons/spiegel_icons/OpenBlank.jsx +15 -0
  587. package/src/components/icons/spiegel_icons/OrderedList.jsx +20 -0
  588. package/src/components/icons/spiegel_icons/PauseCircle.jsx +8 -0
  589. package/src/components/icons/spiegel_icons/Point.jsx +8 -0
  590. package/src/components/icons/spiegel_icons/Question.jsx +17 -0
  591. package/src/components/icons/spiegel_icons/Refresh.jsx +7 -0
  592. package/src/components/icons/spiegel_icons/Reply.jsx +7 -0
  593. package/src/components/icons/spiegel_icons/Search.jsx +7 -0
  594. package/src/components/icons/spiegel_icons/Send.jsx +7 -0
  595. package/src/components/icons/spiegel_icons/Share.jsx +14 -0
  596. package/src/components/icons/spiegel_icons/SmallArrow.jsx +7 -0
  597. package/src/components/icons/spiegel_icons/Source.jsx +7 -0
  598. package/src/components/icons/spiegel_icons/SpiegelIcons.docs.mdx +21 -0
  599. package/src/components/icons/spiegel_icons/SpiegelIcons.stories.jsx +121 -0
  600. package/src/components/icons/spiegel_icons/SpiegelIcons.test.jsx +15 -0
  601. package/src/components/icons/spiegel_icons/Suggestion.jsx +7 -0
  602. package/src/components/icons/spiegel_icons/Twitter.jsx +10 -0
  603. package/src/components/icons/spiegel_icons/Underline.jsx +14 -0
  604. package/src/components/icons/spiegel_icons/Upvote.jsx +7 -0
  605. package/src/components/icons/spiegel_icons/User.jsx +7 -0
  606. package/src/components/icons/spiegel_icons/Versus.jsx +11 -0
  607. package/src/components/icons/spiegel_icons/Votebox.jsx +14 -0
  608. package/src/components/icons/spiegel_icons/index.js +51 -0
  609. package/src/components/information/information_box/InformationBox.docs.mdx +28 -0
  610. package/src/components/information/information_box/InformationBox.jsx +54 -0
  611. package/src/components/information/information_box/InformationBox.module.scss +92 -0
  612. package/src/components/information/information_box/InformationBox.stories.jsx +50 -0
  613. package/src/components/information/information_box/InformationBox.test.jsx +94 -0
  614. package/src/components/information/information_box/index.js +1 -0
  615. package/src/components/input/argument_input/ArgumentInput.docs.mdx +29 -0
  616. package/src/components/input/argument_input/ArgumentInput.jsx +420 -0
  617. package/src/components/input/argument_input/ArgumentInput.module.scss +166 -0
  618. package/src/components/input/argument_input/ArgumentInput.stories.jsx +181 -0
  619. package/src/components/input/argument_input/ArgumentInput.test.jsx +482 -0
  620. package/src/components/input/argument_input/index.js +1 -0
  621. package/src/components/input/checkbox/hidden/hidden-checkbox.docs.mdx +4 -0
  622. package/src/components/input/checkbox/hidden/hidden-checkbox.jsx +8 -0
  623. package/src/components/input/checkbox/hidden/hidden-checkbox.module.scss +28 -0
  624. package/src/components/input/checkbox/hidden/hidden-checkbox.stories.jsx +73 -0
  625. package/src/components/input/checkbox/hidden/index.js +1 -0
  626. package/src/components/input/checkbox/indicator/checkbox-indicator.docs.mdx +9 -0
  627. package/src/components/input/checkbox/indicator/checkbox-indicator.jsx +17 -0
  628. package/src/components/input/checkbox/indicator/checkbox-indicator.module.scss +26 -0
  629. package/src/components/input/checkbox/indicator/checkbox-indicator.stories.jsx +51 -0
  630. package/src/components/input/checkbox/indicator/index.js +1 -0
  631. package/src/components/input/checkbox/label/checkbox-label.docs.mdx +39 -0
  632. package/src/components/input/checkbox/label/checkbox-label.jsx +40 -0
  633. package/src/components/input/checkbox/label/checkbox.stories.jsx +57 -0
  634. package/src/components/input/checkbox/label/index.js +1 -0
  635. package/src/components/input/input_provider/InputProvider.docs.mdx +38 -0
  636. package/src/components/input/input_provider/InputProvider.jsx +16 -0
  637. package/src/components/input/input_provider/InputProvider.test.jsx +102 -0
  638. package/src/components/input/input_provider/index.js +2 -0
  639. package/src/components/input/input_provider/useInput.jsx +8 -0
  640. package/src/components/input/search_input/SearchInput.docs.mdx +25 -0
  641. package/src/components/input/search_input/SearchInput.jsx +71 -0
  642. package/src/components/input/search_input/SearchInput.module.scss +18 -0
  643. package/src/components/input/search_input/SearchInput.stories.jsx +45 -0
  644. package/src/components/input/search_input/SearchInput.test.jsx +95 -0
  645. package/src/components/input/search_input/index.js +1 -0
  646. package/src/components/input/select/Select.docs.mdx +37 -0
  647. package/src/components/input/select/Select.jsx +102 -0
  648. package/src/components/input/select/Select.module.scss +72 -0
  649. package/src/components/input/select/Select.stories.jsx +75 -0
  650. package/src/components/input/select/Select.test.jsx +136 -0
  651. package/src/components/input/select/index.js +1 -0
  652. package/src/components/input/text_editor/EditorTheme.js +71 -0
  653. package/src/components/input/text_editor/TextEditor.docs.mdx +31 -0
  654. package/src/components/input/text_editor/TextEditor.jsx +205 -0
  655. package/src/components/input/text_editor/TextEditor.module.scss +140 -0
  656. package/src/components/input/text_editor/TextEditor.stories.jsx +227 -0
  657. package/src/components/input/text_editor/TextEditor.test.jsx +654 -0
  658. package/src/components/input/text_editor/index.js +2 -0
  659. package/src/components/input/text_editor/lexicalToHtml.js +23 -0
  660. package/src/components/input/text_editor/plugins/AutoSavePlugin.jsx +37 -0
  661. package/src/components/input/text_editor/plugins/FocusPlugin.jsx +19 -0
  662. package/src/components/input/text_editor/plugins/MaxLengthPlugin.jsx +44 -0
  663. package/src/components/input/text_editor/plugins/ResetPlugin.jsx +35 -0
  664. package/src/components/input/text_editor/plugins/SetContentPlugin.jsx +24 -0
  665. package/src/components/input/text_editor/plugins/SetRichContentPlugin.jsx +20 -0
  666. package/src/components/input/text_editor/plugins/ToolbarPlugin.jsx +233 -0
  667. package/src/components/input/text_editor/plugins/ToolbarPlugin.module.scss +77 -0
  668. package/src/components/input/text_input/TextInput.docs.mdx +73 -0
  669. package/src/components/input/text_input/TextInput.jsx +46 -0
  670. package/src/components/input/text_input/TextInput.module.scss +146 -0
  671. package/src/components/input/text_input/TextInput.stories.jsx +101 -0
  672. package/src/components/input/text_input/TextInput.test.jsx +64 -0
  673. package/src/components/input/text_input/color-accent.js +16 -0
  674. package/src/components/input/text_input/index.js +3 -0
  675. package/src/components/input/text_input/message.jsx +12 -0
  676. package/src/components/input/toggle/Toggle.docs.mdx +23 -0
  677. package/src/components/input/toggle/Toggle.jsx +25 -0
  678. package/src/components/input/toggle/Toggle.module.scss +73 -0
  679. package/src/components/input/toggle/Toggle.stories.jsx +42 -0
  680. package/src/components/input/toggle/Toggle.test.jsx +39 -0
  681. package/src/components/input/toggle/index.js +1 -0
  682. package/src/components/input/toggle_position/TogglePosition.docs.mdx +20 -0
  683. package/src/components/input/toggle_position/TogglePosition.jsx +55 -0
  684. package/src/components/input/toggle_position/TogglePosition.module.scss +46 -0
  685. package/src/components/input/toggle_position/TogglePosition.stories.jsx +96 -0
  686. package/src/components/input/toggle_position/TogglePosition.test.jsx +66 -0
  687. package/src/components/input/toggle_position/index.js +1 -0
  688. package/src/components/intl/intl_provider/IntlContext.jsx +3 -0
  689. package/src/components/intl/intl_provider/IntlProvider.docs.mdx +37 -0
  690. package/src/components/intl/intl_provider/IntlProvider.jsx +92 -0
  691. package/src/components/intl/intl_provider/IntlProvider.test.jsx +153 -0
  692. package/src/components/intl/intl_provider/index.js +3 -0
  693. package/src/components/intl/intl_provider/locales/en.json +4 -0
  694. package/src/components/intl/intl_provider/locales/es.json +4 -0
  695. package/src/components/intl/intl_provider/locales/fr.json +6 -0
  696. package/src/components/intl/intl_provider/locales/index.js +11 -0
  697. package/src/components/intl/intl_provider/useLocale.jsx +8 -0
  698. package/src/components/list/list_provider/ListProvider.docs.mdx +51 -0
  699. package/src/components/list/list_provider/ListProvider.jsx +32 -0
  700. package/src/components/list/list_provider/ListProvider.stories.jsx +92 -0
  701. package/src/components/list/list_provider/ListProvider.test.jsx +137 -0
  702. package/src/components/list/list_provider/index.js +2 -0
  703. package/src/components/list/list_provider/useList.jsx +8 -0
  704. package/src/components/list/paginated_list/PaginatedList.docs.mdx +68 -0
  705. package/src/components/list/paginated_list/PaginatedList.jsx +397 -0
  706. package/src/components/list/paginated_list/PaginatedList.module.scss +88 -0
  707. package/src/components/list/paginated_list/PaginatedList.stories.jsx +301 -0
  708. package/src/components/list/paginated_list/PaginatedList.test.jsx +1335 -0
  709. package/src/components/list/paginated_list/VotePaginatedList.jsx +26 -0
  710. package/src/components/list/paginated_list/VotePaginatedList.test.jsx +1518 -0
  711. package/src/components/list/paginated_list/action_bar/ActionBar.jsx +132 -0
  712. package/src/components/list/paginated_list/action_bar/ActionBar.module.scss +81 -0
  713. package/src/components/list/paginated_list/index.js +3 -0
  714. package/src/components/list/pagination/Pagination.docs.mdx +32 -0
  715. package/src/components/list/pagination/Pagination.jsx +58 -0
  716. package/src/components/list/pagination/Pagination.module.scss +10 -0
  717. package/src/components/list/pagination/Pagination.stories.jsx +44 -0
  718. package/src/components/list/pagination/Pagination.test.jsx +80 -0
  719. package/src/components/list/pagination/index.js +1 -0
  720. package/src/components/modal/side_modal/SideModal.docs.mdx +31 -0
  721. package/src/components/modal/side_modal/SideModal.jsx +85 -0
  722. package/src/components/modal/side_modal/SideModal.module.scss +83 -0
  723. package/src/components/modal/side_modal/SideModal.stories.jsx +112 -0
  724. package/src/components/modal/side_modal/SideModal.test.jsx +36 -0
  725. package/src/components/modal/side_modal/index.js +1 -0
  726. package/src/components/navbar/navbar_button/NavbarButton.docs.mdx +37 -0
  727. package/src/components/navbar/navbar_button/NavbarButton.jsx +43 -0
  728. package/src/components/navbar/navbar_button/NavbarButton.module.scss +45 -0
  729. package/src/components/navbar/navbar_button/NavbarButton.stories.jsx +93 -0
  730. package/src/components/navbar/navbar_button/NavbarButton.test.jsx +67 -0
  731. package/src/components/navbar/navbar_button/index.js +1 -0
  732. package/src/components/navbar/navbar_modal/NavbarModal.docs.mdx +24 -0
  733. package/src/components/navbar/navbar_modal/NavbarModal.jsx +175 -0
  734. package/src/components/navbar/navbar_modal/NavbarModal.module.scss +132 -0
  735. package/src/components/navbar/navbar_modal/NavbarModal.stories.jsx +96 -0
  736. package/src/components/navbar/navbar_modal/NavbarModal.test.jsx +155 -0
  737. package/src/components/navbar/navbar_modal/index.js +1 -0
  738. package/src/components/notification/notification_item/NotificationItem.docs.mdx +35 -0
  739. package/src/components/notification/notification_item/NotificationItem.jsx +71 -0
  740. package/src/components/notification/notification_item/NotificationItem.module.scss +56 -0
  741. package/src/components/notification/notification_item/NotificationItem.stories.jsx +121 -0
  742. package/src/components/notification/notification_item/NotificationItem.test.jsx +97 -0
  743. package/src/components/notification/notification_item/index.js +1 -0
  744. package/src/components/notification/notification_menu/NotificationMenu.docs.mdx +25 -0
  745. package/src/components/notification/notification_menu/NotificationMenu.jsx +61 -0
  746. package/src/components/notification/notification_menu/NotificationMenu.module.scss +49 -0
  747. package/src/components/notification/notification_menu/NotificationMenu.stories.jsx +94 -0
  748. package/src/components/notification/notification_menu/NotificationMenu.test.jsx +131 -0
  749. package/src/components/notification/notification_menu/index.js +1 -0
  750. package/src/components/progress/loader/Loader.docs.mdx +13 -0
  751. package/src/components/progress/loader/Loader.jsx +9 -0
  752. package/src/components/progress/loader/Loader.module.scss +26 -0
  753. package/src/components/progress/loader/Loader.stories.jsx +11 -0
  754. package/src/components/progress/loader/Loader.test.jsx +11 -0
  755. package/src/components/progress/loader/index.js +3 -0
  756. package/src/components/progress/progress_bar/ProgressBar.docs.mdx +29 -0
  757. package/src/components/progress/progress_bar/ProgressBar.jsx +75 -0
  758. package/src/components/progress/progress_bar/ProgressBar.module.scss +87 -0
  759. package/src/components/progress/progress_bar/ProgressBar.stories.jsx +43 -0
  760. package/src/components/progress/progress_bar/ProgressBar.test.jsx +126 -0
  761. package/src/components/progress/progress_bar/index.js +1 -0
  762. package/src/components/proposal/proposal_box/ProposalBox.docs.mdx +39 -0
  763. package/src/components/proposal/proposal_box/ProposalBox.jsx +108 -0
  764. package/src/components/proposal/proposal_box/ProposalBox.module.scss +80 -0
  765. package/src/components/proposal/proposal_box/ProposalBox.stories.jsx +161 -0
  766. package/src/components/proposal/proposal_box/ProposalBox.test.jsx +137 -0
  767. package/src/components/proposal/proposal_box/index.js +1 -0
  768. package/src/components/report/report_box/ReportBox.docs.mdx +35 -0
  769. package/src/components/report/report_box/ReportBox.jsx +120 -0
  770. package/src/components/report/report_box/ReportBox.module.scss +54 -0
  771. package/src/components/report/report_box/ReportBox.stories.jsx +247 -0
  772. package/src/components/report/report_box/ReportBox.test.jsx +232 -0
  773. package/src/components/report/report_box/index.js +1 -0
  774. package/src/components/section/section_box/SectionBox.docs.mdx +19 -0
  775. package/src/components/section/section_box/SectionBox.jsx +32 -0
  776. package/src/components/section/section_box/SectionBox.module.scss +57 -0
  777. package/src/components/section/section_box/SectionBox.stories.jsx +39 -0
  778. package/src/components/section/section_box/SectionBox.test.jsx +44 -0
  779. package/src/components/section/section_box/index.js +1 -0
  780. package/src/components/share/share_box/ShareBox.docs.mdx +27 -0
  781. package/src/components/share/share_box/ShareBox.jsx +71 -0
  782. package/src/components/share/share_box/ShareBox.module.scss +38 -0
  783. package/src/components/share/share_box/ShareBox.stories.jsx +42 -0
  784. package/src/components/share/share_box/ShareBox.test.jsx +142 -0
  785. package/src/components/share/share_box/index.js +1 -0
  786. package/src/components/share/share_button/ShareButton.docs.mdx +26 -0
  787. package/src/components/share/share_button/ShareButton.jsx +102 -0
  788. package/src/components/share/share_button/ShareButton.module.scss +68 -0
  789. package/src/components/share/share_button/ShareButton.stories.jsx +51 -0
  790. package/src/components/share/share_button/ShareButton.test.jsx +117 -0
  791. package/src/components/share/share_button/index.js +1 -0
  792. package/src/components/share/share_modal/ShareModal.docs.mdx +29 -0
  793. package/src/components/share/share_modal/ShareModal.jsx +49 -0
  794. package/src/components/share/share_modal/ShareModal.module.scss +21 -0
  795. package/src/components/share/share_modal/ShareModal.stories.jsx +48 -0
  796. package/src/components/share/share_modal/ShareModal.test.jsx +70 -0
  797. package/src/components/share/share_modal/index.js +1 -0
  798. package/src/components/skeleton/box_skeleton/BoxSkeleton.docs.mdx +14 -0
  799. package/src/components/skeleton/box_skeleton/BoxSkeleton.jsx +38 -0
  800. package/src/components/skeleton/box_skeleton/BoxSkeleton.stories.jsx +46 -0
  801. package/src/components/skeleton/box_skeleton/BoxSkeleton.test.jsx +39 -0
  802. package/src/components/skeleton/box_skeleton/index.js +1 -0
  803. package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.docs.mdx +15 -0
  804. package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.jsx +56 -0
  805. package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.module.scss +78 -0
  806. package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.stories.jsx +44 -0
  807. package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.test.jsx +55 -0
  808. package/src/components/skeleton/user_content_skeleton/index.js +1 -0
  809. package/src/components/source/context_source_box/ContextSourceBox.docs.mdx +27 -0
  810. package/src/components/source/context_source_box/ContextSourceBox.jsx +38 -0
  811. package/src/components/source/context_source_box/ContextSourceBox.module.scss +50 -0
  812. package/src/components/source/context_source_box/ContextSourceBox.stories.jsx +36 -0
  813. package/src/components/source/context_source_box/ContextSourceBox.test.jsx +46 -0
  814. package/src/components/source/context_source_box/index.js +1 -0
  815. package/src/components/source/context_source_list/ContextSourceList.docs.mdx +37 -0
  816. package/src/components/source/context_source_list/ContextSourceList.jsx +42 -0
  817. package/src/components/source/context_source_list/ContextSourceList.module.scss +38 -0
  818. package/src/components/source/context_source_list/ContextSourceList.stories.jsx +39 -0
  819. package/src/components/source/context_source_list/ContextSourceList.test.jsx +47 -0
  820. package/src/components/source/context_source_list/index.js +1 -0
  821. package/src/components/source/source_box/SourceBox.docs.mdx +23 -0
  822. package/src/components/source/source_box/SourceBox.jsx +43 -0
  823. package/src/components/source/source_box/SourceBox.module.scss +43 -0
  824. package/src/components/source/source_box/SourceBox.stories.jsx +26 -0
  825. package/src/components/source/source_box/SourceBox.test.jsx +30 -0
  826. package/src/components/source/source_box/index.js +1 -0
  827. package/src/components/source/source_list_item/SourceListItem.docs.mdx +23 -0
  828. package/src/components/source/source_list_item/SourceListItem.jsx +28 -0
  829. package/src/components/source/source_list_item/SourceListItem.module.scss +33 -0
  830. package/src/components/source/source_list_item/SourceListItem.stories.jsx +40 -0
  831. package/src/components/source/source_list_item/SourceListItem.test.jsx +41 -0
  832. package/src/components/source/source_list_item/index.js +1 -0
  833. package/src/components/source/source_modal/SourceModal.docs.mdx +29 -0
  834. package/src/components/source/source_modal/SourceModal.jsx +157 -0
  835. package/src/components/source/source_modal/SourceModal.module.scss +45 -0
  836. package/src/components/source/source_modal/SourceModal.stories.jsx +82 -0
  837. package/src/components/source/source_modal/SourceModal.test.jsx +180 -0
  838. package/src/components/source/source_modal/index.js +1 -0
  839. package/src/components/styles/display/_display.scss +127 -0
  840. package/src/components/styles/display/display.docs.mdx +8 -0
  841. package/src/components/styles/display/index.scss +1 -0
  842. package/src/components/styles/flex/_flex.scss +55 -0
  843. package/src/components/styles/flex/flex.docs.mdx +8 -0
  844. package/src/components/styles/flex/index.scss +1 -0
  845. package/src/components/styles/spacing/_spacing.scss +107 -0
  846. package/src/components/styles/spacing/index.scss +1 -0
  847. package/src/components/styles/spacing/spacing.docs.mdx +8 -0
  848. package/src/components/styles/tabs/_tabs.scss +159 -0
  849. package/src/components/styles/tabs/index.scss +1 -0
  850. package/src/components/styles/tabs/tabs.docs.mdx +8 -0
  851. package/src/components/styles/theme/_theme.scss +51 -0
  852. package/src/components/styles/theme/index.scss +1 -0
  853. package/src/components/styles/theme/theme.docs.mdx +89 -0
  854. package/src/components/suggestion/suggestion_banner/SuggestionBanner.docs.mdx +35 -0
  855. package/src/components/suggestion/suggestion_banner/SuggestionBanner.jsx +86 -0
  856. package/src/components/suggestion/suggestion_banner/SuggestionBanner.module.scss +93 -0
  857. package/src/components/suggestion/suggestion_banner/SuggestionBanner.stories.jsx +128 -0
  858. package/src/components/suggestion/suggestion_banner/SuggestionBanner.test.jsx +237 -0
  859. package/src/components/suggestion/suggestion_banner/index.js +1 -0
  860. package/src/components/suggestion/suggestion_box/SuggestionBox.docs.mdx +39 -0
  861. package/src/components/suggestion/suggestion_box/SuggestionBox.jsx +112 -0
  862. package/src/components/suggestion/suggestion_box/SuggestionBox.module.scss +55 -0
  863. package/src/components/suggestion/suggestion_box/SuggestionBox.stories.jsx +147 -0
  864. package/src/components/suggestion/suggestion_box/SuggestionBox.test.jsx +184 -0
  865. package/src/components/suggestion/suggestion_box/index.js +1 -0
  866. package/src/components/suggestion/suggestion_input/SuggestionInput.docs.mdx +19 -0
  867. package/src/components/suggestion/suggestion_input/SuggestionInput.jsx +212 -0
  868. package/src/components/suggestion/suggestion_input/SuggestionInput.module.scss +50 -0
  869. package/src/components/suggestion/suggestion_input/SuggestionInput.stories.jsx +87 -0
  870. package/src/components/suggestion/suggestion_input/SuggestionInput.test.jsx +77 -0
  871. package/src/components/suggestion/suggestion_input/index.js +1 -0
  872. package/src/components/summary/argument_summary_box/ArgumentSummaryBox.docs.mdx +19 -0
  873. package/src/components/summary/argument_summary_box/ArgumentSummaryBox.jsx +40 -0
  874. package/src/components/summary/argument_summary_box/ArgumentSummaryBox.module.scss +67 -0
  875. package/src/components/summary/argument_summary_box/ArgumentSummaryBox.stories.jsx +57 -0
  876. package/src/components/summary/argument_summary_box/ArgumentSummaryBox.test.jsx +18 -0
  877. package/src/components/summary/argument_summary_box/index.js +1 -0
  878. package/src/components/summary/keyword_box/KeywordBox.docs.mdx +21 -0
  879. package/src/components/summary/keyword_box/KeywordBox.jsx +43 -0
  880. package/src/components/summary/keyword_box/KeywordBox.module.scss +54 -0
  881. package/src/components/summary/keyword_box/KeywordBox.stories.jsx +49 -0
  882. package/src/components/summary/keyword_box/KeywordBox.test.jsx +47 -0
  883. package/src/components/summary/keyword_box/index.js +1 -0
  884. package/src/components/summary/summary/Summary.docs.mdx +23 -0
  885. package/src/components/summary/summary/Summary.jsx +93 -0
  886. package/src/components/summary/summary/Summary.module.scss +26 -0
  887. package/src/components/summary/summary/Summary.stories.jsx +95 -0
  888. package/src/components/summary/summary/Summary.test.jsx +116 -0
  889. package/src/components/summary/summary/index.js +1 -0
  890. package/src/components/summary/summary_box/SummaryBox.docs.mdx +19 -0
  891. package/src/components/summary/summary_box/SummaryBox.jsx +39 -0
  892. package/src/components/summary/summary_box/SummaryBox.module.scss +56 -0
  893. package/src/components/summary/summary_box/SummaryBox.stories.jsx +83 -0
  894. package/src/components/summary/summary_box/SummaryBox.test.jsx +47 -0
  895. package/src/components/summary/summary_box/SummaryBoxComposition.module.scss +3 -0
  896. package/src/components/summary/summary_box/index.js +1 -0
  897. package/src/components/tag/tag/Tag.docs.mdx +19 -0
  898. package/src/components/tag/tag/Tag.jsx +35 -0
  899. package/src/components/tag/tag/Tag.module.scss +34 -0
  900. package/src/components/tag/tag/Tag.stories.jsx +70 -0
  901. package/src/components/tag/tag/Tag.test.jsx +29 -0
  902. package/src/components/tag/tag/index.js +1 -0
  903. package/src/components/text/expandable_text/ArrowIcon.jsx +7 -0
  904. package/src/components/text/expandable_text/ExpandableText.docs.mdx +42 -0
  905. package/src/components/text/expandable_text/ExpandableText.jsx +81 -0
  906. package/src/components/text/expandable_text/ExpandableText.module.scss +76 -0
  907. package/src/components/text/expandable_text/ExpandableText.stories.jsx +63 -0
  908. package/src/components/text/expandable_text/ExpandableText.test.jsx +23 -0
  909. package/src/components/text/expandable_text/index.js +1 -0
  910. package/src/components/text/read_more/ReadMore.docs.mdx +23 -0
  911. package/src/components/text/read_more/ReadMore.jsx +104 -0
  912. package/src/components/text/read_more/ReadMore.module.scss +51 -0
  913. package/src/components/text/read_more/ReadMore.stories.jsx +141 -0
  914. package/src/components/text/read_more/ReadMore.test.jsx +87 -0
  915. package/src/components/text/read_more/index.js +1 -0
  916. package/src/components/tools/hash_scroll/HashScroll.docs.mdx +27 -0
  917. package/src/components/tools/hash_scroll/HashScroll.jsx +36 -0
  918. package/src/components/tools/hash_scroll/HashScroll.test.jsx +66 -0
  919. package/src/components/tools/hash_scroll/index.js +1 -0
  920. package/src/components/tools/scroll_to_top/ScrollToTop.docs.mdx +28 -0
  921. package/src/components/tools/scroll_to_top/ScrollToTop.jsx +22 -0
  922. package/src/components/tools/scroll_to_top/ScrollToTop.stories.jsx +40 -0
  923. package/src/components/tools/scroll_to_top/ScrollToTop.test.jsx +36 -0
  924. package/src/components/tools/scroll_to_top/index.js +1 -0
  925. package/src/components/translation/translated_content/TranslatedContent.jsx +24 -0
  926. package/src/components/translation/translated_content/TranslatedContent.test.jsx +30 -0
  927. package/src/components/translation/translated_content/index.js +3 -0
  928. package/src/components/translation/translated_content/useTranslatedContent.docs.mdx +80 -0
  929. package/src/components/translation/translated_content/useTranslatedContent.jsx +57 -0
  930. package/src/components/translation/translated_content/useTranslatedContent.test.jsx +118 -0
  931. package/src/components/translation/translation_button/TranslationButton.docs.mdx +18 -0
  932. package/src/components/translation/translation_button/TranslationButton.jsx +46 -0
  933. package/src/components/translation/translation_button/TranslationButton.module.scss +10 -0
  934. package/src/components/translation/translation_button/TranslationButton.stories.jsx +30 -0
  935. package/src/components/translation/translation_button/TranslationButton.test.jsx +35 -0
  936. package/src/components/translation/translation_button/index.js +1 -0
  937. package/src/components/user/author_box/AuthorBox.docs.mdx +35 -0
  938. package/src/components/user/author_box/AuthorBox.jsx +128 -0
  939. package/src/components/user/author_box/AuthorBox.module.scss +110 -0
  940. package/src/components/user/author_box/AuthorBox.stories.jsx +193 -0
  941. package/src/components/user/author_box/AuthorBox.test.jsx +171 -0
  942. package/src/components/user/author_box/index.js +1 -0
  943. package/src/components/user/avatar/Avatar.docs.mdx +31 -0
  944. package/src/components/user/avatar/Avatar.jsx +63 -0
  945. package/src/components/user/avatar/Avatar.module.scss +30 -0
  946. package/src/components/user/avatar/Avatar.stories.jsx +79 -0
  947. package/src/components/user/avatar/Avatar.test.jsx +114 -0
  948. package/src/components/user/avatar/DefaultAvatar.jsx +13 -0
  949. package/src/components/user/avatar/index.js +1 -0
  950. package/src/components/user/avatar_selector/AvatarSelector.docs.mdx +25 -0
  951. package/src/components/user/avatar_selector/AvatarSelector.jsx +65 -0
  952. package/src/components/user/avatar_selector/AvatarSelector.module.scss +105 -0
  953. package/src/components/user/avatar_selector/AvatarSelector.stories.jsx +46 -0
  954. package/src/components/user/avatar_selector/AvatarSelector.test.jsx +98 -0
  955. package/src/components/user/avatar_selector/index.js +1 -0
  956. package/src/components/user/update_user_info_modal/UpdateUserInfoModal.docs.mdx +22 -0
  957. package/src/components/user/update_user_info_modal/UpdateUserInfoModal.jsx +254 -0
  958. package/src/components/user/update_user_info_modal/UpdateUserInfoModal.module.scss +176 -0
  959. package/src/components/user/update_user_info_modal/UpdateUserInfoModal.stories.jsx +113 -0
  960. package/src/components/user/update_user_info_modal/UpdateUserInfoModal.test.jsx +213 -0
  961. package/src/components/user/update_user_info_modal/index.js +2 -0
  962. package/src/components/user/update_user_info_modal/useUpdateUserInfo.jsx +40 -0
  963. package/src/components/user/user_box/UserBox.docs.mdx +21 -0
  964. package/src/components/user/user_box/UserBox.jsx +59 -0
  965. package/src/components/user/user_box/UserBox.module.scss +86 -0
  966. package/src/components/user/user_box/UserBox.stories.jsx +82 -0
  967. package/src/components/user/user_box/UserBox.test.jsx +95 -0
  968. package/src/components/user/user_box/index.js +1 -0
  969. package/src/components/user/user_box_small/UserBoxSmall.docs.mdx +20 -0
  970. package/src/components/user/user_box_small/UserBoxSmall.jsx +36 -0
  971. package/src/components/user/user_box_small/UserBoxSmall.module.scss +21 -0
  972. package/src/components/user/user_box_small/UserBoxSmall.stories.jsx +38 -0
  973. package/src/components/user/user_box_small/UserBoxSmall.test.jsx +49 -0
  974. package/src/components/user/user_box_small/index.js +1 -0
  975. package/src/components/user_content/content_footer/ContentFooter.docs.mdx +36 -0
  976. package/src/components/user_content/content_footer/ContentFooter.jsx +234 -0
  977. package/src/components/user_content/content_footer/ContentFooter.module.scss +79 -0
  978. package/src/components/user_content/content_footer/ContentFooter.stories.jsx +438 -0
  979. package/src/components/user_content/content_footer/ContentFooter.test.jsx +246 -0
  980. package/src/components/user_content/content_footer/index.js +1 -0
  981. package/src/components/user_content/content_header/ContentHeader.docs.mdx +27 -0
  982. package/src/components/user_content/content_header/ContentHeader.jsx +131 -0
  983. package/src/components/user_content/content_header/ContentHeader.module.scss +111 -0
  984. package/src/components/user_content/content_header/ContentHeader.stories.jsx +221 -0
  985. package/src/components/user_content/content_header/ContentHeader.test.jsx +98 -0
  986. package/src/components/user_content/content_header/index.js +1 -0
  987. package/src/components/user_content/summary_content_box/SummaryContentBox.docs.mdx +25 -0
  988. package/src/components/user_content/summary_content_box/SummaryContentBox.jsx +89 -0
  989. package/src/components/user_content/summary_content_box/SummaryContentBox.module.scss +65 -0
  990. package/src/components/user_content/summary_content_box/SummaryContentBox.stories.jsx +130 -0
  991. package/src/components/user_content/summary_content_box/SummaryContentBox.test.jsx +169 -0
  992. package/src/components/user_content/summary_content_box/index.js +1 -0
  993. package/src/components/user_content/use_delete_content/index.js +1 -0
  994. package/src/components/user_content/use_delete_content/useDeleteContent.docs.mdx +34 -0
  995. package/src/components/user_content/use_delete_content/useDeleteContent.jsx +55 -0
  996. package/src/components/user_content/use_delete_content/useDeleteContent.test.jsx +78 -0
  997. package/src/components/user_content/use_report_content/ReportModal.docs.mdx +54 -0
  998. package/src/components/user_content/use_report_content/ReportModal.jsx +187 -0
  999. package/src/components/user_content/use_report_content/ReportModal.module.scss +121 -0
  1000. package/src/components/user_content/use_report_content/ReportModal.stories.jsx +61 -0
  1001. package/src/components/user_content/use_report_content/ReportModal.test.jsx +51 -0
  1002. package/src/components/user_content/use_report_content/index.js +2 -0
  1003. package/src/components/user_content/use_report_content/useReportContent.docs.mdx +24 -0
  1004. package/src/components/user_content/use_report_content/useReportContent.jsx +32 -0
  1005. package/src/components/user_content/use_report_content/useReportContent.test.jsx +138 -0
  1006. package/src/components/util/lang_emojis/index.js +1 -0
  1007. package/src/components/util/lang_emojis/langEmojis.docs.mdx +10 -0
  1008. package/src/components/util/lang_emojis/langEmojis.js +72 -0
  1009. package/src/components/util/lang_emojis/langEmojis.test.jsx +63 -0
  1010. package/src/components/util/location/Location.docs.mdx +18 -0
  1011. package/src/components/util/location/Location.js +84 -0
  1012. package/src/components/util/location/Location.test.jsx +24 -0
  1013. package/src/components/util/location/index.js +1 -0
  1014. package/src/components/util/unique_by/index.js +1 -0
  1015. package/src/components/util/unique_by/uniqueBy.docs.mdx +24 -0
  1016. package/src/components/util/unique_by/uniqueBy.js +9 -0
  1017. package/src/components/util/unique_by/uniqueBy.test.jsx +29 -0
  1018. package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.docs.mdx +24 -0
  1019. package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.jsx +87 -0
  1020. package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.module.scss +17 -0
  1021. package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.stories.jsx +97 -0
  1022. package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.test.jsx +182 -0
  1023. package/src/components/vote/suggestion_vote_box/index.js +1 -0
  1024. package/src/components/vote/up_down_vote_box/UpDownVoteBox.docs.mdx +24 -0
  1025. package/src/components/vote/up_down_vote_box/UpDownVoteBox.jsx +64 -0
  1026. package/src/components/vote/up_down_vote_box/UpDownVoteBox.module.scss +35 -0
  1027. package/src/components/vote/up_down_vote_box/UpDownVoteBox.stories.jsx +97 -0
  1028. package/src/components/vote/up_down_vote_box/UpDownVoteBox.test.jsx +173 -0
  1029. package/src/components/vote/up_down_vote_box/index.js +1 -0
  1030. package/src/components/vote/use_vote/index.js +1 -0
  1031. package/src/components/vote/use_vote/useVote.docs.mdx +42 -0
  1032. package/src/components/vote/use_vote/useVote.jsx +165 -0
  1033. package/src/components/vote/use_vote/useVote.test.jsx +294 -0
  1034. package/src/components/vote/vote_box/VoteBox.docs.mdx +45 -0
  1035. package/src/components/vote/vote_box/VoteBox.jsx +420 -0
  1036. package/src/components/vote/vote_box/VoteBox.module.scss +254 -0
  1037. package/src/components/vote/vote_box/VoteBox.stories.jsx +319 -0
  1038. package/src/components/vote/vote_box/VoteBox.test.jsx +256 -0
  1039. package/src/components/vote/vote_box/index.js +1 -0
  1040. package/src/components/vote/vote_button/VoteButton.docs.mdx +24 -0
  1041. package/src/components/vote/vote_button/VoteButton.jsx +59 -0
  1042. package/src/components/vote/vote_button/VoteButton.module.scss +35 -0
  1043. package/src/components/vote/vote_button/VoteButton.stories.jsx +97 -0
  1044. package/src/components/vote/vote_button/VoteButton.test.jsx +167 -0
  1045. package/src/components/vote/vote_button/index.js +1 -0
  1046. package/src/components/vote/vote_provider/VoteProvider.docs.mdx +68 -0
  1047. package/src/components/vote/vote_provider/VoteProvider.jsx +63 -0
  1048. package/src/components/vote/vote_provider/VoteProvider.stories.jsx +99 -0
  1049. package/src/components/vote/vote_provider/VoteProvider.test.jsx +137 -0
  1050. package/src/components/vote/vote_provider/index.js +2 -0
  1051. package/src/index.js +127 -0
  1052. package/vitest.config.mjs +52 -0
  1053. package/vitest.setup.js +4 -0
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+
3
+ export const Check = (props) => (
4
+ <svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <path d="M36.8236 13.5557C37.8227 14.3327 38.0026 15.7725 37.2256 16.7715L20.8002 37.8899L12.75 27.1562C11.9906 26.1437 12.1958 24.7073 13.2083 23.9479C14.2209 23.1885 15.6573 23.3937 16.4167 24.4062L20.8664 30.3393L33.6077 13.9576C34.3848 12.9586 35.8246 12.7786 36.8236 13.5557Z" />
6
+ </svg>
7
+ );
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+
3
+ export const CheckBox = (props) => (
4
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <path d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM19 19H5V5H19V19ZM17.99 9L16.58 7.58L9.99 14.17L7.41 11.6L5.99 13.01L9.99 17L17.99 9Z" fill="black"/>
6
+ </svg>
7
+ );
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+
3
+ export const CheckCircle = (props) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ viewBox="0 0 24 24"
7
+ fill="none"
8
+ stroke="currentColor"
9
+ strokeWidth="2"
10
+ strokeLinecap="round"
11
+ strokeLinejoin="round"
12
+ {...props}
13
+ >
14
+ <circle cx="12" cy="12" r="10" />
15
+ <path d="M9 12l2 2 4-4" />
16
+ </svg>
17
+ );
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+
3
+ export const Clap = (props) => (
4
+ <svg
5
+ width="24"
6
+ height="24"
7
+ viewBox="0 0 24 24"
8
+ fill="none"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ {...props}
11
+ >
12
+ <mask
13
+ id="mask0_167_6296"
14
+ style={{ maskType: 'alpha' }}
15
+ maskUnits="userSpaceOnUse"
16
+ x="0"
17
+ y="0"
18
+ width="24"
19
+ height="24"
20
+ >
21
+ <rect width="24" height="24" fill="#D9D9D9" />
22
+ </mask>
23
+ <g mask="url(#mask0_167_6296)">
24
+ <path
25
+ d="M18 21H7V8L14 1L15.25 2.25C15.3667 2.36667 15.4625 2.525 15.5375 2.725C15.6125 2.925 15.65 3.11667 15.65 3.3V3.65L14.55 8H21C21.5333 8 22 8.2 22.4 8.6C22.8 9 23 9.46667 23 10V12C23 12.1167 22.9833 12.2417 22.95 12.375C22.9167 12.5083 22.8833 12.6333 22.85 12.75L19.85 19.8C19.7 20.1333 19.45 20.4167 19.1 20.65C18.75 20.8833 18.3833 21 18 21ZM9 19H18L21 12V10H12L13.35 4.5L9 8.85V19ZM7 8V10H4V19H7V21H2V8H7Z"
26
+ />
27
+ </g>
28
+ </svg>
29
+ )
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+
3
+ export const Clock = (props) => (
4
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" {...props}>
5
+ <path d="M 64 11 C 34.8 11 11 34.8 11 64 C 11 93.2 34.8 117 64 117 C 93.2 117 117 93.2 117 64 C 117 34.8 93.2 11 64 11 z M 64 17 C 89.9 17 111 38.1 111 64 C 111 89.9 89.9 111 64 111 C 38.1 111 17 89.9 17 64 C 17 38.1 38.1 17 64 17 z M 64 26 C 62.3 26 61 27.3 61 29 L 61 54.5 C 56.9 55.8 54 59.6 54 64 C 54 69.5 58.5 74 64 74 C 68.5 74 72.3 71.1 73.5 67 L 89 67 C 90.7 67 92 65.7 92 64 C 92 62.3 90.7 61 89 61 L 73.5 61 C 72.5 57.9 70.1 55.4 67 54.5 L 67 29 C 67 27.3 65.7 26 64 26 z M 64 60 C 66.2 60 68 61.8 68 64 C 68 66.2 66.2 68 64 68 C 61.8 68 60 66.2 60 64 C 60 61.8 61.8 60 64 60 z"/>
6
+ </svg>
7
+ )
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+
3
+ export const Close = (props) => (
4
+ <svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <path d="M13.0001 1C12.8125 0.81253 12.5582 0.707214 12.2931 0.707214C12.0279 0.707214 11.7736 0.81253 11.5861 1L7.00006 5.586L2.41406 1C2.22653 0.81253 1.97223 0.707214 1.70706 0.707214C1.4419 0.707214 1.18759 0.81253 1.00006 1C0.812591 1.18753 0.707275 1.44184 0.707275 1.707C0.707275 1.97216 0.812591 2.22647 1.00006 2.414L5.58606 7L1.00006 11.586C0.812591 11.7735 0.707275 12.0278 0.707275 12.293C0.707275 12.5582 0.812591 12.8125 1.00006 13C1.18759 13.1875 1.4419 13.2928 1.70706 13.2928C1.97223 13.2928 2.22653 13.1875 2.41406 13L7.00006 8.414L11.5861 13C11.7736 13.1875 12.0279 13.2928 12.2931 13.2928C12.5582 13.2928 12.8125 13.1875 13.0001 13C13.1875 12.8125 13.2928 12.5582 13.2928 12.293C13.2928 12.0278 13.1875 11.7735 13.0001 11.586L8.41406 7L13.0001 2.414C13.1875 2.22647 13.2928 1.97216 13.2928 1.707C13.2928 1.44184 13.1875 1.18753 13.0001 1Z" />
6
+ </svg>
7
+ )
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+
3
+ export const Code = (props) => (
4
+ <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <path
6
+ d="M6.147 10.473 3.238 8.187l2.91-2.078M9.784 10.473l2.909-2.286-2.91-2.078"
7
+ stroke="#000"
8
+ fill="none"
9
+ />
10
+ <path
11
+ transform="matrix(.27976 -.96007 .92211 .38692 7.22 11.54)"
12
+ strokeWidth={0.7}
13
+ stroke="#000"
14
+ d="M0-.35h6.565"
15
+ />
16
+ <rect x={0.5} y={0.5} width={15} height={15} rx={2.5} fill="none" stroke="#000" />
17
+ </svg>
18
+ )
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+
3
+ export const Community = (props) => (
4
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
5
+ <path d="M12,16a4,4,0,1,1,4-4A4,4,0,0,1,12,16Zm0-6a2,2,0,1,0,2,2A2,2,0,0,0,12,10Zm6,13A6,6,0,0,0,6,23a1,1,0,0,0,2,0,4,4,0,0,1,8,0,1,1,0,0,0,2,0ZM18,8a4,4,0,1,1,4-4A4,4,0,0,1,18,8Zm0-6a2,2,0,1,0,2,2A2,2,0,0,0,18,2Zm6,13a6.006,6.006,0,0,0-6-6,1,1,0,0,0,0,2,4,4,0,0,1,4,4,1,1,0,0,0,2,0ZM6,8a4,4,0,1,1,4-4A4,4,0,0,1,6,8ZM6,2A2,2,0,1,0,8,4,2,2,0,0,0,6,2ZM2,15a4,4,0,0,1,4-4A1,1,0,0,0,6,9a6.006,6.006,0,0,0-6,6,1,1,0,0,0,2,0Z"/>
6
+ </svg>
7
+ )
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+
3
+ export const Crown = (props) => (
4
+ <svg viewBox="0 0 15 13" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <path d="M14.229 1.34473C14.0006 1.2496 13.7491 1.22459 13.5064 1.2729C13.2638 1.3212 13.041 1.44064 12.8665 1.61598L11.2502 3.23223L8.38399 0.365983C8.14958 0.131644 7.8317 0 7.50024 0C7.16879 0 6.8509 0.131644 6.61649 0.365983L3.75024 3.23223L2.13399 1.61598C1.95918 1.44122 1.73647 1.32221 1.49403 1.274C1.25159 1.22579 1.0003 1.25055 0.771926 1.34514C0.543551 1.43972 0.348347 1.5999 0.210992 1.80541C0.0736367 2.01092 0.000296921 2.25255 0.000244141 2.49973L0.000244141 9.11598C0.00123655 9.94448 0.330795 10.7388 0.916632 11.3246C1.50247 11.9104 2.29675 12.24 3.12524 12.241H11.8752C12.7037 12.24 13.498 11.9104 14.0839 11.3246C14.6697 10.7388 14.9993 9.94448 15.0002 9.11598V2.49973C15.0003 2.25253 14.9271 2.01085 14.7898 1.80526C14.6525 1.59968 14.4574 1.43941 14.229 1.34473Z" />
6
+ </svg>
7
+ )
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+
3
+ export const Document = (props) => (
4
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" {...props}>
5
+ <path d="M 13 4 C 10.250484 4 8 6.2504839 8 9 L 8 40 C 8 42.749516 10.250484 45 13 45 L 35 45 C 37.749516 45 40 42.749516 40 40 L 40 20 A 1.0001 1.0001 0 1 0 38 20 L 38 40 C 38 41.668484 36.668484 43 35 43 L 13 43 C 11.331516 43 10 41.668484 10 40 L 10 9 C 10 7.3315161 11.331516 6 13 6 L 26.757812 6 C 26.848824 6 26.910938 6.0874954 27 6.0996094 L 27 13 C 27 15.197334 28.802666 17 31 17 L 39 17 A 1.0001 1.0001 0 0 0 39.707031 15.292969 L 29.585938 5.171875 C 28.836398 4.4210018 27.818469 4 26.757812 4 L 13 4 z M 29 7.4140625 L 36.585938 15 L 31 15 C 29.883334 15 29 14.116666 29 13 L 29 7.4140625 z M 16 24 A 1.0001 1.0001 0 1 0 16 26 L 32 26 A 1.0001 1.0001 0 1 0 32 24 L 16 24 z M 16 29 A 1.0001 1.0001 0 1 0 16 31 L 32 31 A 1.0001 1.0001 0 1 0 32 29 L 16 29 z M 16 34 A 1.0001 1.0001 0 1 0 16 36 L 26 36 A 1.0001 1.0001 0 1 0 26 34 L 16 34 z"/>
6
+ </svg>
7
+ )
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+
3
+ export const Downvote = (props) => (
4
+ <svg viewBox="0 0 27 25" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <path d="M26.0359 12.8125L25.2696 7.60417C25.0812 6.36451 24.435 5.23074 23.4484 4.40882C22.4618 3.5869 21.2003 3.13138 19.893 3.125H5.43525C3.99426 3.12665 2.61279 3.67592 1.59385 4.65231C0.574921 5.62871 0.00172608 6.95251 0 8.33333L0 13.5417C0.00172608 14.9225 0.574921 16.2463 1.59385 17.2227C2.61279 18.1991 3.99426 18.7483 5.43525 18.75H8.38333L10.4639 22.7896C10.8137 23.4704 11.4072 24.0081 12.1362 24.3045C12.8652 24.6009 13.6811 24.6364 14.4352 24.4044C15.1892 24.1724 15.831 23.6884 16.2436 23.0407C16.6563 22.393 16.8122 21.6247 16.683 20.876L16.3177 18.75H20.654C21.432 18.75 22.2011 18.59 22.909 18.2807C23.617 17.9714 24.2474 17.52 24.7577 16.9571C25.2679 16.3942 25.6461 15.7329 25.8666 15.0178C26.0871 14.3028 26.1449 13.5508 26.0359 12.8125ZM5.43525 5.20833H7.60935V16.6667H5.43525C4.57034 16.6667 3.74085 16.3374 3.12927 15.7514C2.51769 15.1653 2.1741 14.3705 2.1741 13.5417V8.33333C2.1741 7.50453 2.51769 6.70968 3.12927 6.12362C3.74085 5.53757 4.57034 5.20833 5.43525 5.20833V5.20833ZM23.115 15.5917C22.8089 15.9291 22.4308 16.1997 22.0063 16.3852C21.5817 16.5706 21.1206 16.6666 20.654 16.6667H15.0372C14.8795 16.6666 14.7237 16.6995 14.5806 16.7629C14.4375 16.8263 14.3105 16.9188 14.2084 17.034C14.1064 17.1491 14.0316 17.2842 13.9895 17.4298C13.9473 17.5754 13.9387 17.728 13.9642 17.8771L14.5382 21.2104C14.5658 21.3651 14.5574 21.5238 14.5136 21.675C14.4698 21.8263 14.3917 21.9664 14.2849 22.0854C14.1597 22.2148 14.0042 22.3138 13.8313 22.3743C13.6583 22.4349 13.4728 22.4552 13.2901 22.4336C13.1073 22.4121 12.9325 22.3493 12.78 22.2503C12.6275 22.1514 12.5018 22.0192 12.413 21.8646L10.0335 17.2479C9.9707 17.1324 9.8859 17.0293 9.78345 16.9438V5.20833H19.893C20.6782 5.21108 21.4361 5.48409 22.0287 5.9776C22.6214 6.47111 23.0092 7.15225 23.1216 7.89688L23.889 13.1052C23.9534 13.5486 23.9176 14.0001 23.7841 14.4291C23.6505 14.858 23.4224 15.2545 23.115 15.5917V15.5917Z" />
6
+ </svg>
7
+ )
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+
3
+ export const Ellipsis = (props) => (
4
+ <svg
5
+ width="24"
6
+ height="24"
7
+ viewBox="0 0 24 24"
8
+ fill="none"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ {...props}
11
+ >
12
+ <path
13
+ fillRule="evenodd"
14
+ clipRule="evenodd"
15
+ d="M6 10C4.9 10 4 10.9 4 12C4 13.1 4.9 14 6 14C7.1 14 8 13.1 8 12C8 10.9 7.1 10 6 10ZM18 10C16.9 10 16 10.9 16 12C16 13.1 16.9 14 18 14C19.1 14 20 13.1 20 12C20 10.9 19.1 10 18 10ZM10 12C10 10.9 10.9 10 12 10C13.1 10 14 10.9 14 12C14 13.1 13.1 14 12 14C10.9 14 10 13.1 10 12Z"
16
+ />
17
+ </svg>
18
+ )
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+
3
+ export const ExpertBadge = (props) => (
4
+ <svg
5
+ width="24"
6
+ height="24"
7
+ viewBox="0 0 24 24"
8
+ fill="#007ACC"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ {...props}
11
+ >
12
+ <mask
13
+ id="mask0_167_6302"
14
+ style={{ maskType: 'alpha' }}
15
+ maskUnits="userSpaceOnUse"
16
+ x="0"
17
+ y="0"
18
+ width="24"
19
+ height="24"
20
+ >
21
+ <rect width="24" height="24" fill="#D9D9D9" />
22
+ </mask>
23
+ <g mask="url(#mask0_167_6302)">
24
+ <path
25
+ d="M6 23V14.775L2.75 9.5L7.375 2H16.625L21.25 9.5L18 14.775V23L12 21L6 23ZM8 20.225L12 18.9L16 20.225V17H8V20.225ZM8.5 4L5.1 9.5L8.5 15H15.5L18.9 9.5L15.5 4H8.5ZM10.95 13.575L7.4 10.05L8.825 8.625L10.95 10.75L15.175 6.5L16.6 7.9L10.95 13.575Z"
26
+ />
27
+ </g>
28
+ </svg>
29
+ )
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+
3
+ export const Facebook = (props) => (
4
+ <svg viewBox="0 0 300 522" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <path d="M180 512H98.008c-13.695 0-24.836-11.14-24.836-24.836V302.227H25.336C11.64 302.227.5 291.082.5 277.39v-79.246c0-13.696 11.14-24.836 24.836-24.836h47.836v-39.684c0-39.348 12.355-72.824 35.726-96.805C132.375 12.73 165.184 0 203.778 0l62.53.102c13.672.023 24.794 11.164 24.794 24.835v73.579c0 13.695-11.137 24.836-24.829 24.836l-42.101.015c-12.84 0-16.11 2.574-16.809 3.363-1.152 1.31-2.523 5.008-2.523 15.223v31.352h58.27c4.386 0 8.636 1.082 12.288 3.12 7.88 4.403 12.778 12.727 12.778 21.723l-.031 79.247c0 13.687-11.141 24.828-24.836 24.828h-58.47v184.941C204.84 500.86 193.696 512 180 512zm-76.813-30.016h71.633V288.79c0-9.144 7.442-16.582 16.582-16.582h66.727l.027-68.883h-66.758c-9.14 0-16.578-7.437-16.578-16.582v-44.789c0-11.726 1.192-25.062 10.043-35.086 10.696-12.117 27.551-13.515 39.301-13.515l36.922-.016V30.109l-57.332-.093c-62.024 0-100.566 39.703-100.566 103.609v53.117c0 9.14-7.438 16.582-16.579 16.582H30.516v68.883h56.093c9.141 0 16.579 7.438 16.579 16.582zM266.25 30.117h.004zm0 0" />
6
+ </svg>
7
+ )
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+
3
+ export const Flag = (props) => (
4
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <path d="M3.2 1C3.2 0.447 2.753 0 2.2 0S1.2 0.447 1.2 1V2.4 9.6 12.8 19.2c0 0.707 0.573 1.28 1.28 1.28s1.28-0.573 1.28-1.28v-5.12l2.57-0.644c1.644-0.412 3.384-0.22 4.902 0.536 1.768 0.884 3.82 0.992 5.668 0.296l1.388-0.52c0.5-0.188 0.832-0.664 0.832-1.196V4.332c0-0.92-0.968-1.52-1.792-1.108l-0.384 0.192c-1.852 0.928-4.032 0.928-5.884 0-1.404-0.704-3.016-0.88-4.54-0.5L3.2 1.92V1z"/>
6
+ </svg>
7
+ )
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+
3
+ export const Home = (props) => (
4
+ <svg
5
+ width="24"
6
+ height="24"
7
+ viewBox="0 0 24 24"
8
+ fill="none"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ {...props}
11
+ >
12
+ <mask
13
+ id="mask0_167_6304"
14
+ style={{ maskType: 'alpha' }}
15
+ maskUnits="userSpaceOnUse"
16
+ x="0"
17
+ y="0"
18
+ width="24"
19
+ height="24"
20
+ >
21
+ <rect width="24" height="24" fill="#D9D9D9" />
22
+ </mask>
23
+ <g mask="url(#mask0_167_6304)">
24
+ <path
25
+ d="M22 22L18 18H8C7.45 18 6.97917 17.8042 6.5875 17.4125C6.19583 17.0208 6 16.55 6 16V15H17C17.55 15 18.0208 14.8042 18.4125 14.4125C18.8042 14.0208 19 13.55 19 13V6H20C20.55 6 21.0208 6.19583 21.4125 6.5875C21.8042 6.97917 22 7.45 22 8V22ZM4 12.175L5.175 11H15V4H4V12.175ZM2 17V4C2 3.45 2.19583 2.97917 2.5875 2.5875C2.97917 2.19583 3.45 2 4 2H15C15.55 2 16.0208 2.19583 16.4125 2.5875C16.8042 2.97917 17 3.45 17 4V11C17 11.55 16.8042 12.0208 16.4125 12.4125C16.0208 12.8042 15.55 13 15 13H6L2 17Z"
26
+ />
27
+ </g>
28
+ </svg>
29
+ )
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+
3
+ export const Italic = (props) => (
4
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
5
+ <path d="M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"/>
6
+ </svg>
7
+ );
@@ -0,0 +1,21 @@
1
+ ---
2
+ description: An SVG library for icon components.
3
+ labels: ['icons']
4
+ ---
5
+
6
+ ### Component usage
7
+
8
+ ```js
9
+ import { ArrowDropdown } from '@logora/debate.icons.krone_icons';
10
+ ```
11
+
12
+ ```js
13
+ <ArrowDropdown width={30} height={30} />
14
+ ```
15
+
16
+ ### Properties
17
+ | **Name** | **Type** | **Required** | **Default** | **Description** |
18
+ | ----------- | ----------- | :-----------: | ----------- | ----------- |
19
+ | <font color='#4646c6'>height</font> | <font color="#397300">integer</font> | &cross; | - | <font color="grey">*icon height in pixels*</font> |
20
+ | <font color='#4646c6'>width</font> | <font color="#397300">integer</font> | &cross; | - | <font color="grey">*icon width in pixels*</font> |
21
+ | <font color='#4646c6'>className</font> | <font color="#397300">string</font> | &cross; | - | <font color="grey">*icon extra classname*</font> |
@@ -0,0 +1,124 @@
1
+ import React from 'react';
2
+ import { Alarm } from "./Alarm"
3
+ import { Announcement } from "./Announcement"
4
+ import { Arrow } from "./Arrow"
5
+ import { Blockquote } from "./Blockquote"
6
+ import { Bold } from "./Bold"
7
+ import { Camera } from "./Camera"
8
+ import { Chat } from "./Chat"
9
+ import { CheckBox } from "./CheckBox"
10
+ import { Check } from "./Check"
11
+ import { Clap } from "./Clap"
12
+ import { Clock } from "./Clock"
13
+ import { Close } from "./Close"
14
+ import { Code } from "./Code"
15
+ import { Community } from "./Community"
16
+ import { Crown } from "./Crown"
17
+ import { Document } from './Document'
18
+ import { Downvote } from "./Downvote"
19
+ import { Ellipsis } from "./Ellipsis"
20
+ import { ExpertBadge } from "./ExpertBadge"
21
+ import { Facebook } from "./Facebook"
22
+ import { Home } from "./Home"
23
+ import { Italic } from "./Italic"
24
+ import { LightArrow } from './LightArrow'
25
+ import { Link } from "./Link"
26
+ import { Login } from "./Login"
27
+ import { Logora } from "./Logora"
28
+ import { Mail } from "./Mail"
29
+ import { MobileClose } from "./MobileClose"
30
+ import { MobileMenu } from "./MobileMenu"
31
+ import { Next } from "./Next"
32
+ import { OpenBlank } from "./OpenBlank"
33
+ import { OrderedList } from "./OrderedList"
34
+ import { Point } from "./Point"
35
+ import { Question } from "./Question"
36
+ import { Refresh } from "./Refresh"
37
+ import { Reply } from "./Reply"
38
+ import { Search } from "./Search"
39
+ import { Send } from "./Send"
40
+ import { Share } from "./Share"
41
+ import { SmallArrow } from "./SmallArrow"
42
+ import { Source } from "./Source"
43
+ import { Suggestion } from './Suggestion';
44
+ import { Twitter } from "./Twitter"
45
+ import { Underline } from "./Underline"
46
+ import { Upvote } from "./Upvote";
47
+ import { User } from "./User"
48
+ import { Votebox } from './Votebox';
49
+ import { Versus } from './Versus';
50
+ import { Flag } from './Flag';
51
+ import { CheckCircle } from './CheckCircle';
52
+ import { MinusCircle } from './MinusCircle';
53
+ import { PauseCircle } from './PauseCircle';
54
+
55
+ const meta = {
56
+ title: 'Icons/Krone Icons',
57
+ component: () => null,
58
+ args: {},
59
+ argTypes: {},
60
+ render: () => <KroneIconsLibrary />
61
+ };
62
+
63
+ export default meta;
64
+
65
+ export const KroneIconsLibrary = () => {
66
+ return (
67
+ <>
68
+ <div style={{ display: "flex", justifyContent: "center", flexWrap: "wrap" }}>
69
+ <Alarm width={50} height={50} data-testid={"alarm-icon"} style={{ margin: "15px", fill: "#000000" }} />
70
+ <Announcement width={50} height={50} data-testid={"announcement-icon"} style={{ margin: "15px", fill: "#000" }} />
71
+ <Arrow width={50} height={50} data-testid={"arrow-icon"} style={{ margin: "15px" }} />
72
+ <Blockquote width={50} height={50} data-testid={"blockquote-icon"} style={{ margin: "15px" }} />
73
+ <Bold width={50} height={50} data-testid={"bold-icon"} style={{ margin: "15px" }} />
74
+ <Camera width={50} height={50} data-testid={"camera-icon"} style={{ margin: "15px" }} />
75
+ <Chat width={50} height={50} data-testid={"chat-icon"} style={{ margin: "15px", fill: "#000" }} />
76
+ <CheckBox width={50} height={50} data-testid={"checkbox-icon"} style={{ margin: "15px" }} />
77
+ <Check width={50} height={50} data-testid={"check-icon"} style={{ margin: "15px" }} />
78
+ <Clap width={50} height={50} data-testid={"clap-icon"} style={{ margin: "15px", fill: "#000" }} />
79
+ <Clock width={50} height={50} data-testid={"clock-icon"} style={{ margin: "15px" }} />
80
+ <Close width={50} height={50} data-testid={"close-icon"} style={{ margin: "15px" }} />
81
+ <Code width={50} height={50} data-testid={"code-icon"} style={{ margin: "15px" }} />
82
+ <Community width={50} height={50} data-testid={"community-icon"} style={{ margin: "15px" }} />
83
+ <Crown width={50} height={50} data-testid={"crown-icon"} style={{ margin: "15px" }} />
84
+ <Document width={50} height={50} data-testid={"document-icon"} style={{ margin: "15px" }} />
85
+ <Downvote width={50} height={50} data-testid={"downvote-icon"} style={{ margin: "15px" }} />
86
+ <Ellipsis width={50} height={50} data-testid={"ellipsis-icon"} style={{ margin: "15px", fill: "#000" }} />
87
+ <ExpertBadge width={50} height={50} data-testid={"expert-badge-icon"} style={{ margin: "15px" }} />
88
+ <Facebook width={50} height={50} data-testid={"facebook-icon"} style={{ margin: "15px" }} />
89
+ <Home width={50} height={50} data-testid={"home-icon"} style={{ margin: "15px", fill: "#000" }} />
90
+ <Italic width={50} height={50} data-testid={"italic-icon"} style={{ margin: "15px" }} />
91
+ <LightArrow width={50} height={50} data-testid={"light-arrow-icon"} style={{ margin: "15px" }} />
92
+ <Link width={50} height={50} data-testid={"link-icon"} style={{ margin: "15px" }} />
93
+ <Login width={50} height={50} data-testid={"login-icon"} style={{ margin: "15px" }} />
94
+ <Logora width={50} height={50} data-testid={"logora-icon"} style={{ margin: "15px" }} />
95
+ <Mail width={50} height={50} data-testid={"mail-icon"} style={{ margin: "15px" }} />
96
+ <MobileClose width={50} height={50} data-testid={"mobile-close-icon"} style={{ margin: "15px" }} />
97
+ <MobileMenu width={50} height={50} data-testid={"mobile-menu-icon"} style={{ margin: "15px" }} />
98
+ <Next width={50} height={50} data-testid={"next-icon"} style={{ margin: "15px" }} />
99
+ <OpenBlank width={50} height={50} data-testid={"open-blank-icon"} style={{ margin: "15px" }} />
100
+ <OrderedList width={50} height={50} data-testid={"ordered-list-icon"} style={{ margin: "15px" }} />
101
+ <Point width={50} height={50} data-testid={"point-icon"} style={{ margin: "15px" }} />
102
+ <Question width={50} height={50} data-testid={"question-icon"} style={{ margin: "15px", fill: "#000" }} />
103
+ <Refresh width={50} height={50} data-testid={"refresh-icon"} style={{ margin: "15px" }} />
104
+ <Reply width={50} height={50} data-testid={"reply-icon"} style={{ margin: "15px", fill: "#000" }} />
105
+ <Search width={50} height={50} data-testid={"search-icon"} style={{ margin: "15px" }} />
106
+ <Send width={50} height={50} data-testid={"send-icon"} style={{ margin: "15px", fill: "#000" }} />
107
+ <Share width={50} height={50} data-testid={"share-icon"} style={{ margin: "15px", fill: "#000" }} />
108
+ <SmallArrow width={50} height={50} data-testid={"small-arrow-icon"} style={{ margin: "15px" }} />
109
+ <Source width={50} height={50} data-testid={"source-icon"} style={{ margin: "15px" }} />
110
+ <Suggestion width={50} height={50} data-testid={"suggestion-icon"} style={{ margin: "15px", fill: "#000"}} />
111
+ <Twitter width={50} height={50} data-testid={"twitter-icon"} style={{ margin: "15px" }} />
112
+ <Underline width={50} height={50} data-testid={"underline-icon"} style={{ margin: "15px" }} />
113
+ <Upvote width={50} height={50} data-testid={"upvote-icon"} style={{ margin: "15px", fill: "#000" }} />
114
+ <User width={50} height={50} data-testid={"user-icon"} style={{ margin: "15px" }} />
115
+ <Votebox width={50} height={50} data-testid={"vote-box-icon"} style={{ margin: "15px", fill: "#000" }} />
116
+ <Versus width={50} height={50} data-testid={"versus-icon"} style={{ margin: "15px" }} />
117
+ <Flag width={50} height={50} data-testid={"flag-icon"} style={{ margin: "15px" }} />
118
+ <CheckCircle width={50} height={50} data-testid={"circlecheck-icon"} style={{ margin: "15px" }} />
119
+ <MinusCircle width={50} height={50} data-testid={"MinusCircle-icon"} style={{ margin: "15px" }} />
120
+ <PauseCircle width={50} height={50} data-testid={"PauseCircle-icon"} style={{ margin: "15px" }} />
121
+ </div>
122
+ </>
123
+ )
124
+ };
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { KroneIconsLibrary } from "./KroneIcons.stories";
3
+ import { render, screen } from '@testing-library/react';
4
+
5
+ describe('Krone icons', () => {
6
+ it ('renders KroneIconsLibrary component', () => {
7
+ render(<KroneIconsLibrary />);
8
+
9
+ const arrow = screen.getByTestId("arrow-icon");
10
+ expect(arrow).toBeTruthy();
11
+
12
+ const checkbox = screen.getByTestId("checkbox-icon");
13
+ expect(checkbox).toBeTruthy();
14
+ })
15
+ });
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+
3
+ export const LightArrow = (props) => (
4
+ <svg viewBox="0 0 50 25" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <path d="M2.449.112C1.543.343.729 1.028.303 1.917c-.235.488-.26.619-.261 1.333 0 .722.024.843.274 1.375.264.56.756 1.064 12.479 12.792L25 29.625l12.205-12.208C48.928 5.689 49.42 5.185 49.684 4.625c.25-.532.274-.653.274-1.375-.001-.714-.026-.845-.26-1.333C48.914.28 47.047-.418 45.386.305c-.477.208-1.173.884-10.448 10.145L25 20.373l-9.937-9.923C5.683 1.085 5.095.515 4.599.299 3.972.025 3.09-.051 2.449.112"/>
6
+ </svg>
7
+ )
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+
3
+ export const Link = (props) => (
4
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
5
+ <path d="m13.845 17.267-3.262 3.262a5.028 5.028 0 0 1-7.111-7.109l3.262-3.265a1 1 0 0 0-1.415-1.414l-3.261 3.265A7.027 7.027 0 0 0 12 21.943l3.262-3.262a1 1 0 0 0-1.414-1.414ZM21.944 2.061A6.979 6.979 0 0 0 16.975 0a6.983 6.983 0 0 0-4.968 2.057L8.74 5.32a1 1 0 0 0 1.414 1.415l3.265-3.262A4.993 4.993 0 0 1 16.973 2a5.028 5.028 0 0 1 3.554 8.583l-3.262 3.262a1 1 0 1 0 1.415 1.415L21.942 12a7.037 7.037 0 0 0 .002-9.939Z" />
6
+ <path d="m14.293 8.293-6 6a1 1 0 1 0 1.414 1.414l6-6a1 1 0 0 0-1.414-1.414Z" />
7
+ </svg>
8
+ )
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+
3
+ export const Login = (props) => (
4
+ // <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
5
+ // <path d="M7,22H5a3,3,0,0,1-3-3V5A3,3,0,0,1,5,2H7A1,1,0,0,0,7,0H5A5.006,5.006,0,0,0,0,5V19a5.006,5.006,0,0,0,5,5H7a1,1,0,0,0,0-2Z"/>
6
+ // <path d="M18.538,18.707l4.587-4.586a3.007,3.007,0,0,0,0-4.242L18.538,5.293a1,1,0,0,0-1.414,1.414L21.416,11H6a1,1,0,0,0,0,2H21.417l-4.293,4.293a1,1,0,1,0,1.414,1.414Z"/>
7
+ // </svg>
8
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" strokeWidth={1.5} stroke="currentColor" {...props}>
9
+ <path strokeLinecap="round" strokeLinejoin="round" fill="none" d="M15.75 9V5.25A2.25 2.25 0 0013.5 3h-6a2.25 2.25 0 00-2.25 2.25v13.5A2.25 2.25 0 007.5 21h6a2.25 2.25 0 002.25-2.25V15M12 9l-3 3m0 0l3 3m-3-3h12.75" />
10
+ </svg>
11
+ )
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+
3
+ export const Logora = (props) => (
4
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144 144" preserveAspectRatio="xMidYMid meet" {...props}>
5
+ <g transform="translate(0.000000,144.000000) scale(0.100000,-0.100000)" fill="#000000" stroke="none">
6
+ <path d="M574 1415 c-458 -105 -694 -594 -488 -1011 89 -180 256 -317 454
7
+ -371 89 -24 271 -24 360 0 247 68 439 260 507 507 24 89 24 271 0 360 -67 245
8
+ -260 439 -502 506 -82 22 -254 27 -331 9z m318 -24 c309 -79 518 -350 518
9
+ -671 0 -388 -302 -690 -690 -690 -388 0 -690 302 -690 690 0 319 208 590 514
10
+ 670 98 26 249 26 348 1z"/>
11
+ <path d="M1135 1054 c-99 -34 -98 -34 -92 -40 6 -6 197 54 197 62 0 9 -39 1 -105 -22z"/>
12
+ <path d="M739 1015 c-85 -39 -154 -55 -236 -55 -66 0 -85 -9 -113 -55 -18 -29
13
+ -22 -47 -18 -91 5 -60 35 -102 89 -124 34 -15 35 -16 9 -122 -11 -46 -20 -104
14
+ -20 -130 l0 -48 65 0 65 0 0 103 c0 56 5 119 11 140 10 38 11 39 47 33 20 -4
15
+ 71 -18 114 -33 l76 -26 30 21 c46 33 66 85 70 183 5 101 -9 159 -46 199 -40
16
+ 43 -59 43 -143 5z m138 -47 c21 -41 29 -178 14 -235 -15 -53 -41 -86 -63 -78
17
+ -41 16 -69 163 -49 255 20 91 66 118 98 58z"/>
18
+ <path d="M357 944 c-32 -18 -89 -125 -69 -132 7 -2 12 -10 12 -17 0 -21 59
19
+ -85 78 -85 12 0 11 5 -7 24 -25 26 -38 96 -27 140 3 13 20 38 37 55 33 33 22 40 -24 15z"/>
20
+ <path d="M1088 873 c28 -2 76 -2 105 0 28 2 5 3 -53 3 -58 0 -81 -1 -52 -3z"/>
21
+ <path d="M1046 731 c8 -8 173 -61 190 -61 25 0 -22 21 -97 44 -94 28 -108 31 -93 17z"/>
22
+ </g>
23
+ </svg>
24
+ )
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+
3
+ export const Mail = (props) => (
4
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
5
+ <path d="M19 1H5a5.006 5.006 0 0 0-5 5v12a5.006 5.006 0 0 0 5 5h14a5.006 5.006 0 0 0 5-5V6a5.006 5.006 0 0 0-5-5ZM5 3h14a3 3 0 0 1 2.78 1.887l-7.658 7.659a3.007 3.007 0 0 1-4.244 0L2.22 4.887A3 3 0 0 1 5 3Zm14 18H5a3 3 0 0 1-3-3V7.5l6.464 6.46a5.007 5.007 0 0 0 7.072 0L22 7.5V18a3 3 0 0 1-3 3Z" />
6
+ </svg>
7
+ )
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+
3
+ export const MinusCircle = (props) => (
4
+ <svg
5
+ viewBox="0 0 24 24"
6
+ fill="none"
7
+ stroke="currentColor"
8
+ strokeWidth="2"
9
+ strokeLinecap="round"
10
+ strokeLinejoin="round"
11
+ {...props}
12
+ >
13
+ <circle cx="12" cy="12" r="10" />
14
+ <line x1="8" y1="12" x2="16" y2="12" />
15
+ </svg>
16
+ );
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+
3
+ export const MobileClose = (props) => (
4
+ <svg viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <circle cx="20" cy="20" r="20" />
6
+ <path fill="#FFF" d="M26.0001 14C25.8125 13.8125 25.5582 13.7072 25.2931 13.7072C25.0279 13.7072 24.7736 13.8125 24.5861 14L20.0001 18.586L15.4141 14C15.2265 13.8125 14.9722 13.7072 14.7071 13.7072C14.4419 13.7072 14.1876 13.8125 14.0001 14C13.8126 14.1875 13.7073 14.4418 13.7073 14.707C13.7073 14.9722 13.8126 15.2265 14.0001 15.414L18.5861 20L14.0001 24.586C13.8126 24.7735 13.7073 25.0278 13.7073 25.293C13.7073 25.5582 13.8126 25.8125 14.0001 26C14.1876 26.1875 14.4419 26.2928 14.7071 26.2928C14.9722 26.2928 15.2265 26.1875 15.4141 26L20.0001 21.414L24.5861 26C24.7736 26.1875 25.0279 26.2928 25.2931 26.2928C25.5582 26.2928 25.8125 26.1875 26.0001 26C26.1875 25.8125 26.2928 25.5582 26.2928 25.293C26.2928 25.0278 26.1875 24.7735 26.0001 24.586L21.4141 20L26.0001 15.414C26.1875 15.2265 26.2928 14.9722 26.2928 14.707C26.2928 14.4418 26.1875 14.1875 26.0001 14V14Z" />
7
+ </svg>
8
+ )
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+
3
+ export const MobileMenu = (props) => (
4
+ <svg viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <circle cx="20" cy="20" r="20"/>
6
+ <path fill="#FFF" d="M29.1667 19.1667H10.8333C10.3731 19.1667 10 19.5398 10 20C10 20.4602 10.3731 20.8333 10.8333 20.8333H29.1667C29.6269 20.8333 30 20.4602 30 20C30 19.5398 29.6269 19.1667 29.1667 19.1667Z"/>
7
+ <path fill="#FFF" d="M29.1667 13.3333H10.8333C10.3731 13.3333 10 13.7064 10 14.1667C10 14.6269 10.3731 15 10.8333 15H29.1667C29.6269 15 30 14.6269 30 14.1667C30 13.7064 29.6269 13.3333 29.1667 13.3333Z"/>
8
+ <path fill="#FFF" d="M29.1667 25H10.8333C10.3731 25 10 25.3731 10 25.8333C10 26.2936 10.3731 26.6667 10.8333 26.6667H29.1667C29.6269 26.6667 30 26.2936 30 25.8333C30 25.3731 29.6269 25 29.1667 25Z"/>
9
+ </svg>
10
+ )
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+
3
+ export const Next = (props) => (
4
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...props} >
5
+ <path d="m12 0c-6.617 0-12 5.383-12 12s5.383 12 12 12 12-5.383 12-12-5.383-12-12-12z" />
6
+ <path d="m12 0c-6.617 0-12 5.383-12 12s5.383 12 12 12z" />
7
+ <path d="m12 18.25v-3.25h-5.75c-.689 0-1.25-.561-1.25-1.25v-3.5c0-.689.561-1.25 1.25-1.25h5.75v-3.25c0-.66.795-.999 1.27-.541l6.5 6.25c.147.142.23.337.23.541s-.083.399-.23.541l-6.5 6.25c-.475.456-1.27.12-1.27-.541z" fill="#fff"/>
8
+ <path d="m5 12h15c0 .204-.083.399-.23.541l-6.5 6.25c-.15.144-.334.209-.514.209-.385 0-.756-.298-.756-.75v-3.25h-5.75c-.689 0-1.25-.561-1.25-1.25z" fill="#dedede"/>
9
+ </svg>
10
+ )
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+
3
+ export const OpenBlank = (props) => (
4
+ <svg
5
+ viewBox="0 0 15 15"
6
+ fill="none"
7
+ xmlns="http://www.w3.org/2000/svg"
8
+ {...props}
9
+ >
10
+ <path
11
+ d="M5.44832 1.14343H1.99902C1.44674 1.14343 0.999023 1.59115 0.999023 2.14343V12.8634C0.999023 13.4157 1.44674 13.8634 1.99902 13.8634H12.719C13.2713 13.8634 13.719 13.4157 13.719 12.8634V9.14453M13.719 1.14343V6.67248M13.719 1.14343L7.36636 7.49609M13.719 1.14343H8.17291"
12
+ stroke="black"
13
+ />
14
+ </svg>
15
+ )
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+
3
+ export const OrderedList = (props) => (
4
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
5
+ <path d="M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z"/>
6
+ </svg>
7
+ );
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+
3
+ export const PauseCircle = (props) => (
4
+ <svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...props}
5
+ >
6
+ <circle cx="12" cy="12" r="10" />
7
+ <line x1="10" x2="10" y1="15" y2="9" />
8
+ <line x1="14" x2="14" y1="15" y2="9" />
9
+ </svg>
10
+ );
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+
3
+ export const Point = (props) => (
4
+ <svg viewBox="0 0 17 17" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <circle cx="8.5" cy="8.5" r="8.1" stroke="black" strokeWidth=".8px" fill="transparent"/>
6
+ <path d="M9.39386 5.14357C9.35492 5.48312 9.34657 5.8252 9.36599 6.16612C9.22118 5.91698 9.11124 5.64788 9.04014 5.36621C7.33187 6.49721 6.08851 8.21955 5.54279 10.2112C4.91626 11.0717 4.3983 12.0085 4 13C5.78647 10.0043 8.18819 7.4322 11.0424 5.45904C9.32015 7.07048 7.68966 8.77876 6.15951 10.5802C8.1645 10.1999 9.9731 9.11694 11.2679 7.52261C10.7667 7.47603 10.2627 7.49314 9.76429 7.57172C10.3295 7.3098 10.9407 7.16331 11.5618 7.13818C11.7428 6.8902 11.9084 6.63092 12.0616 6.36625C11.6648 6.40301 11.2722 6.47472 10.8865 6.58329C11.3028 6.32961 11.7581 6.1507 12.2343 6.05216C12.5727 5.40412 12.8302 4.71394 13 4C11.7275 4.0998 10.4939 4.49015 9.39386 5.14357Z" fill="black" />
7
+ </svg>
8
+ )
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+
3
+ export const Question = (props) => (
4
+ <svg
5
+ width="24"
6
+ height="24"
7
+ viewBox="0 0 24 24"
8
+ fill="none"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ {...props}
11
+ >
12
+ <mask
13
+ id="mask0_182_6044"
14
+ style={{ maskType: 'alpha' }}
15
+ maskUnits="userSpaceOnUse"
16
+ x="0"
17
+ y="0"
18
+ width="24"
19
+ height="24"
20
+ >
21
+ <rect width="24" height="24" fill="black" />
22
+ </mask>
23
+ <g mask="url(#mask0_182_6044)">
24
+ <path
25
+ d="M11.95 18C12.3 18 12.5958 17.8792 12.8375 17.6375C13.0792 17.3958 13.2 17.1 13.2 16.75C13.2 16.4 13.0792 16.1042 12.8375 15.8625C12.5958 15.6208 12.3 15.5 11.95 15.5C11.6 15.5 11.3042 15.6208 11.0625 15.8625C10.8208 16.1042 10.7 16.4 10.7 16.75C10.7 17.1 10.8208 17.3958 11.0625 17.6375C11.3042 17.8792 11.6 18 11.95 18ZM11.05 14.15H12.9C12.9 13.6 12.9625 13.1667 13.0875 12.85C13.2125 12.5333 13.5667 12.1 14.15 11.55C14.5833 11.1167 14.925 10.7042 15.175 10.3125C15.425 9.92083 15.55 9.45 15.55 8.9C15.55 7.96667 15.2083 7.25 14.525 6.75C13.8417 6.25 13.0333 6 12.1 6C11.15 6 10.3792 6.25 9.7875 6.75C9.19583 7.25 8.78333 7.85 8.55 8.55L10.2 9.2C10.2833 8.9 10.4708 8.575 10.7625 8.225C11.0542 7.875 11.5 7.7 12.1 7.7C12.6333 7.7 13.0333 7.84583 13.3 8.1375C13.5667 8.42917 13.7 8.75 13.7 9.1C13.7 9.43333 13.6 9.74583 13.4 10.0375C13.2 10.3292 12.95 10.6 12.65 10.85C11.9167 11.5 11.4667 11.9917 11.3 12.325C11.1333 12.6583 11.05 13.2667 11.05 14.15ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22Z"
26
+ />
27
+ </g>
28
+ </svg>
29
+ )