@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.
- package/.changeset/config.json +11 -0
- package/.eslintrc.js +12 -0
- package/.github/dependabot.yml +7 -0
- package/.github/workflows/master.yml +121 -0
- package/.storybook/main.mjs +47 -0
- package/.storybook/preview.js +11 -0
- package/LICENSE +661 -0
- package/README.md +90 -0
- package/package.json +101 -0
- package/src/components/action/back_link/BackLink.docs.mdx +25 -0
- package/src/components/action/back_link/BackLink.jsx +30 -0
- package/src/components/action/back_link/BackLink.module.scss +34 -0
- package/src/components/action/back_link/BackLink.stories.jsx +28 -0
- package/src/components/action/back_link/BackLink.test.jsx +105 -0
- package/src/components/action/back_link/index.js +1 -0
- package/src/components/action/button/Button.docs.mdx +43 -0
- package/src/components/action/button/Button.examples.jsx +60 -0
- package/src/components/action/button/Button.jsx +88 -0
- package/src/components/action/button/Button.module.scss +133 -0
- package/src/components/action/button/Button.stories.jsx +54 -0
- package/src/components/action/button/Button.test.jsx +54 -0
- package/src/components/action/button/index.js +1 -0
- package/src/components/action/icon_text_link/HomeIcon.dev.jsx +9 -0
- package/src/components/action/icon_text_link/IconTextLink.docs.mdx +37 -0
- package/src/components/action/icon_text_link/IconTextLink.jsx +57 -0
- package/src/components/action/icon_text_link/IconTextLink.module.scss +67 -0
- package/src/components/action/icon_text_link/IconTextLink.stories.jsx +44 -0
- package/src/components/action/icon_text_link/IconTextLink.test.jsx +134 -0
- package/src/components/action/icon_text_link/index.js +1 -0
- package/src/components/action/link/Link.docs.mdx +23 -0
- package/src/components/action/link/Link.jsx +50 -0
- package/src/components/action/link/Link.stories.jsx +43 -0
- package/src/components/action/link/Link.test.jsx +91 -0
- package/src/components/action/link/index.js +1 -0
- package/src/components/ad/ad_unit/AdUnit.docs.mdx +23 -0
- package/src/components/ad/ad_unit/AdUnit.jsx +75 -0
- package/src/components/ad/ad_unit/AdUnit.module.scss +9 -0
- package/src/components/ad/ad_unit/AdUnit.stories.jsx +30 -0
- package/src/components/ad/ad_unit/AdUnit.test.jsx +63 -0
- package/src/components/ad/ad_unit/index.js +1 -0
- package/src/components/ad/use_google_ad_manager/index.js +1 -0
- package/src/components/ad/use_google_ad_manager/useGoogleAdManager.docs.mdx +27 -0
- package/src/components/ad/use_google_ad_manager/useGoogleAdManager.jsx +37 -0
- package/src/components/ad/use_google_ad_manager/useGoogleAdManager.test.jsx +47 -0
- package/src/components/ad/with_ad/WithAd.docs.mdx +30 -0
- package/src/components/ad/with_ad/WithAd.jsx +51 -0
- package/src/components/ad/with_ad/WithAd.test.jsx +104 -0
- package/src/components/ad/with_ad/index.js +1 -0
- package/src/components/argument/argument/Argument.docs.mdx +60 -0
- package/src/components/argument/argument/Argument.jsx +358 -0
- package/src/components/argument/argument/Argument.module.scss +233 -0
- package/src/components/argument/argument/Argument.stories.jsx +232 -0
- package/src/components/argument/argument/Argument.test.jsx +303 -0
- package/src/components/argument/argument/ReplyFooter.jsx +47 -0
- package/src/components/argument/argument/ReplyFooter.module.scss +77 -0
- package/src/components/argument/argument/index.js +2 -0
- package/src/components/argument/argument/useRichContent.jsx +18 -0
- package/src/components/argument/top_arguments/TopArguments.docs.mdx +22 -0
- package/src/components/argument/top_arguments/TopArguments.jsx +90 -0
- package/src/components/argument/top_arguments/TopArguments.module.scss +37 -0
- package/src/components/argument/top_arguments/TopArguments.stories.jsx +156 -0
- package/src/components/argument/top_arguments/TopArguments.test.jsx +67 -0
- package/src/components/argument/top_arguments/index.js +1 -0
- package/src/components/auth/auth_initializer/AuthInitializer.alltest.js +21 -0
- package/src/components/auth/auth_initializer/AuthInitializer.docs.mdx +34 -0
- package/src/components/auth/auth_initializer/AuthInitializer.jsx +61 -0
- package/src/components/auth/auth_initializer/index.js +1 -0
- package/src/components/auth/auth_modal/AuthModal.alltest.js +30 -0
- package/src/components/auth/auth_modal/AuthModal.docs.mdx +26 -0
- package/src/components/auth/auth_modal/AuthModal.jsx +99 -0
- package/src/components/auth/auth_modal/AuthModal.module.scss +9 -0
- package/src/components/auth/auth_modal/AuthModal.stories.jsx +90 -0
- package/src/components/auth/auth_modal/index.js +1 -0
- package/src/components/auth/facebook_login_button/FacebookIcon.jsx +7 -0
- package/src/components/auth/facebook_login_button/FacebookLoginButton.docs.mdx +34 -0
- package/src/components/auth/facebook_login_button/FacebookLoginButton.jsx +25 -0
- package/src/components/auth/facebook_login_button/FacebookLoginButton.module.scss +32 -0
- package/src/components/auth/facebook_login_button/FacebookLoginButton.stories.jsx +35 -0
- package/src/components/auth/facebook_login_button/FacebookLoginButton.test.jsx +68 -0
- package/src/components/auth/facebook_login_button/index.js +1 -0
- package/src/components/auth/google_login_button/GoogleIcon.jsx +10 -0
- package/src/components/auth/google_login_button/GoogleLoginButton.docs.mdx +43 -0
- package/src/components/auth/google_login_button/GoogleLoginButton.jsx +27 -0
- package/src/components/auth/google_login_button/GoogleLoginButton.module.scss +28 -0
- package/src/components/auth/google_login_button/GoogleLoginButton.stories.jsx +35 -0
- package/src/components/auth/google_login_button/GoogleLoginButton.test.jsx +69 -0
- package/src/components/auth/google_login_button/index.js +1 -0
- package/src/components/auth/login_form/LoginForm.docs.mdx +24 -0
- package/src/components/auth/login_form/LoginForm.jsx +65 -0
- package/src/components/auth/login_form/LoginForm.module.scss +36 -0
- package/src/components/auth/login_form/LoginForm.stories.jsx +42 -0
- package/src/components/auth/login_form/LoginForm.test.jsx +94 -0
- package/src/components/auth/login_form/index.js +1 -0
- package/src/components/auth/oauth2_button/OAuth2Button.docs.mdx +32 -0
- package/src/components/auth/oauth2_button/OAuth2Button.jsx +79 -0
- package/src/components/auth/oauth2_button/OAuth2Button.module.scss +10 -0
- package/src/components/auth/oauth2_button/OAuth2Button.stories.jsx +48 -0
- package/src/components/auth/oauth2_button/OAuth2Button.test.jsx +306 -0
- package/src/components/auth/oauth2_button/index.js +1 -0
- package/src/components/auth/providers/AuthProvider.docs.mdx +35 -0
- package/src/components/auth/providers/AuthProvider.js +23 -0
- package/src/components/auth/providers/AuthProviderFactory.js +20 -0
- package/src/components/auth/providers/FormAuth.js +36 -0
- package/src/components/auth/providers/JWTAuth.js +35 -0
- package/src/components/auth/providers/OAuth2ServerAuth.js +47 -0
- package/src/components/auth/providers/PasswordAuth.js +31 -0
- package/src/components/auth/providers/index.js +1 -0
- package/src/components/auth/providers/tests/AuthProviderFactory.test.jsx +53 -0
- package/src/components/auth/providers/tests/FormAuth.test.jsx +45 -0
- package/src/components/auth/providers/tests/JWTAuth.test.jsx +57 -0
- package/src/components/auth/providers/tests/OAuth2ServerAuth.test.jsx +78 -0
- package/src/components/auth/providers/tests/PasswordAuth.test.jsx +43 -0
- package/src/components/auth/signup_form/SignupForm.docs.mdx +29 -0
- package/src/components/auth/signup_form/SignupForm.jsx +125 -0
- package/src/components/auth/signup_form/SignupForm.module.scss +21 -0
- package/src/components/auth/signup_form/SignupForm.stories.jsx +40 -0
- package/src/components/auth/signup_form/SignupForm.test.jsx +144 -0
- package/src/components/auth/signup_form/index.js +1 -0
- package/src/components/auth/social_auth_form/SocialAuthForm.docs.mdx +33 -0
- package/src/components/auth/social_auth_form/SocialAuthForm.jsx +170 -0
- package/src/components/auth/social_auth_form/SocialAuthForm.module.scss +141 -0
- package/src/components/auth/social_auth_form/SocialAuthForm.stories.jsx +82 -0
- package/src/components/auth/social_auth_form/SocialAuthForm.test.jsx +201 -0
- package/src/components/auth/social_auth_form/index.js +1 -0
- package/src/components/auth/sso_form/SSOForm.docs.mdx +39 -0
- package/src/components/auth/sso_form/SSOForm.jsx +243 -0
- package/src/components/auth/sso_form/SSOForm.module.scss +99 -0
- package/src/components/auth/sso_form/SSOForm.stories.jsx +117 -0
- package/src/components/auth/sso_form/SSOForm.test.jsx +83 -0
- package/src/components/auth/sso_form/index.js +1 -0
- package/src/components/auth/use_auth/AuthContext.js +3 -0
- package/src/components/auth/use_auth/AuthProvider.jsx +21 -0
- package/src/components/auth/use_auth/AuthProvider.test.jsx +26 -0
- package/src/components/auth/use_auth/AuthStorage.js +33 -0
- package/src/components/auth/use_auth/AuthStorage.test.jsx +165 -0
- package/src/components/auth/use_auth/authTokenHandler.js +67 -0
- package/src/components/auth/use_auth/authTokenHandler.test.jsx +117 -0
- package/src/components/auth/use_auth/index.js +7 -0
- package/src/components/auth/use_auth/useAuth.docs.mdx +34 -0
- package/src/components/auth/use_auth/useAuth.js +8 -0
- package/src/components/auth/use_auth/useAuthActions.js +77 -0
- package/src/components/auth/use_auth/useAuthInterceptor.jsx +42 -0
- package/src/components/chart/line_chart/LineChart.docs.mdx +34 -0
- package/src/components/chart/line_chart/LineChart.jsx +107 -0
- package/src/components/chart/line_chart/LineChart.module.scss +54 -0
- package/src/components/chart/line_chart/LineChart.stories.jsx +49 -0
- package/src/components/chart/line_chart/LineChart.test.jsx +12 -0
- package/src/components/chart/line_chart/index.js +1 -0
- package/src/components/chart/pie_chart/PieChart.docs.mdx +26 -0
- package/src/components/chart/pie_chart/PieChart.jsx +102 -0
- package/src/components/chart/pie_chart/PieChart.module.scss +17 -0
- package/src/components/chart/pie_chart/PieChart.stories.jsx +36 -0
- package/src/components/chart/pie_chart/PieChart.test.jsx +12 -0
- package/src/components/chart/pie_chart/index.js +1 -0
- package/src/components/consultation/consultation_box/ConsultationBox.docs.mdx +21 -0
- package/src/components/consultation/consultation_box/ConsultationBox.jsx +101 -0
- package/src/components/consultation/consultation_box/ConsultationBox.module.scss +105 -0
- package/src/components/consultation/consultation_box/ConsultationBox.stories.jsx +96 -0
- package/src/components/consultation/consultation_box/ConsultationBox.test.jsx +58 -0
- package/src/components/consultation/consultation_box/index.js +1 -0
- package/src/components/data/axios_client/httpClient.docs.mdx +4 -0
- package/src/components/data/axios_client/httpClient.js +11 -0
- package/src/components/data/axios_client/index.js +1 -0
- package/src/components/data/config_provider/ConfigProvider.docs.mdx +26 -0
- package/src/components/data/config_provider/ConfigProvider.jsx +21 -0
- package/src/components/data/config_provider/ConfigProvider.test.jsx +39 -0
- package/src/components/data/config_provider/index.js +4 -0
- package/src/components/data/config_provider/useConfig.jsx +8 -0
- package/src/components/data/config_provider/useRoutes.jsx +8 -0
- package/src/components/data/config_provider/withConfig.jsx +8 -0
- package/src/components/data/data_provider/DataProvider.docs.mdx +52 -0
- package/src/components/data/data_provider/DataProvider.jsx +165 -0
- package/src/components/data/data_provider/DataProvider.test.jsx +419 -0
- package/src/components/data/data_provider/DataProviderContext.jsx +3 -0
- package/src/components/data/data_provider/index.js +4 -0
- package/src/components/data/data_provider/useData.jsx +9 -0
- package/src/components/data/data_provider/useDataProvider.jsx +8 -0
- package/src/components/data/data_provider/useDataProvider.test.jsx +38 -0
- package/src/components/debate/debate_box/DebateBox.docs.mdx +23 -0
- package/src/components/debate/debate_box/DebateBox.jsx +136 -0
- package/src/components/debate/debate_box/DebateBox.module.scss +209 -0
- package/src/components/debate/debate_box/DebateBox.stories.jsx +157 -0
- package/src/components/debate/debate_box/DebateBox.test.jsx +117 -0
- package/src/components/debate/debate_box/index.js +1 -0
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.docs.mdx +24 -0
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.jsx +37 -0
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.module.scss +35 -0
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.stories.jsx +44 -0
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.test.jsx +35 -0
- package/src/components/dialog/announcement_dialog/HomeIcon.dev.jsx +9 -0
- package/src/components/dialog/announcement_dialog/index.js +1 -0
- package/src/components/dialog/confirm_modal/ConfirmModal.docs.mdx +25 -0
- package/src/components/dialog/confirm_modal/ConfirmModal.jsx +53 -0
- package/src/components/dialog/confirm_modal/ConfirmModal.module.scss +30 -0
- package/src/components/dialog/confirm_modal/ConfirmModal.stories.jsx +36 -0
- package/src/components/dialog/confirm_modal/ConfirmModal.test.jsx +176 -0
- package/src/components/dialog/confirm_modal/index.js +1 -0
- package/src/components/dialog/countdown/Countdown.docs.mdx +23 -0
- package/src/components/dialog/countdown/Countdown.jsx +36 -0
- package/src/components/dialog/countdown/Countdown.stories.jsx +33 -0
- package/src/components/dialog/countdown/Countdown.test.jsx +51 -0
- package/src/components/dialog/countdown/index.js +1 -0
- package/src/components/dialog/dialog_box/DialogBox.docs.mdx +25 -0
- package/src/components/dialog/dialog_box/DialogBox.jsx +53 -0
- package/src/components/dialog/dialog_box/DialogBox.module.scss +145 -0
- package/src/components/dialog/dialog_box/DialogBox.stories.jsx +45 -0
- package/src/components/dialog/dialog_box/DialogBox.test.jsx +40 -0
- package/src/components/dialog/dialog_box/index.js +1 -0
- package/src/components/dialog/drawer/Drawer.docs.mdx +31 -0
- package/src/components/dialog/drawer/Drawer.jsx +159 -0
- package/src/components/dialog/drawer/Drawer.module.scss +136 -0
- package/src/components/dialog/drawer/Drawer.stories.jsx +194 -0
- package/src/components/dialog/drawer/Drawer.test.jsx +15 -0
- package/src/components/dialog/drawer/index.js +1 -0
- package/src/components/dialog/dropdown/Dropdown.docs.mdx +28 -0
- package/src/components/dialog/dropdown/Dropdown.jsx +59 -0
- package/src/components/dialog/dropdown/Dropdown.module.scss +41 -0
- package/src/components/dialog/dropdown/Dropdown.stories.jsx +42 -0
- package/src/components/dialog/dropdown/Dropdown.test.jsx +126 -0
- package/src/components/dialog/dropdown/index.js +1 -0
- package/src/components/dialog/modal/Modal.docs.mdx +39 -0
- package/src/components/dialog/modal/Modal.jsx +101 -0
- package/src/components/dialog/modal/Modal.module.scss +99 -0
- package/src/components/dialog/modal/Modal.stories.jsx +53 -0
- package/src/components/dialog/modal/Modal.test.jsx +115 -0
- package/src/components/dialog/modal/ModalProvider.jsx +26 -0
- package/src/components/dialog/modal/ModalProvider.test.jsx +39 -0
- package/src/components/dialog/modal/index.js +3 -0
- package/src/components/dialog/modal/useModal.jsx +6 -0
- package/src/components/dialog/toast/Toast.docs.mdx +21 -0
- package/src/components/dialog/toast/Toast.jsx +44 -0
- package/src/components/dialog/toast/Toast.module.scss +66 -0
- package/src/components/dialog/toast/Toast.stories.jsx +42 -0
- package/src/components/dialog/toast/Toast.test.jsx +21 -0
- package/src/components/dialog/toast/index.js +1 -0
- package/src/components/dialog/toast_provider/ToastContext.js +3 -0
- package/src/components/dialog/toast_provider/ToastProvider.docs.mdx +36 -0
- package/src/components/dialog/toast_provider/ToastProvider.jsx +35 -0
- package/src/components/dialog/toast_provider/ToastProvider.module.scss +14 -0
- package/src/components/dialog/toast_provider/ToastProvider.test.jsx +64 -0
- package/src/components/dialog/toast_provider/index.js +2 -0
- package/src/components/dialog/toast_provider/useToast.jsx +8 -0
- package/src/components/dialog/tooltip/Tooltip.docs.mdx +20 -0
- package/src/components/dialog/tooltip/Tooltip.jsx +53 -0
- package/src/components/dialog/tooltip/Tooltip.module.scss +92 -0
- package/src/components/dialog/tooltip/Tooltip.stories.jsx +76 -0
- package/src/components/dialog/tooltip/Tooltip.test.jsx +67 -0
- package/src/components/dialog/tooltip/index.js +3 -0
- package/src/components/embed/embed_header/EmbedHeader.docs.mdx +25 -0
- package/src/components/embed/embed_header/EmbedHeader.jsx +61 -0
- package/src/components/embed/embed_header/EmbedHeader.module.scss +148 -0
- package/src/components/embed/embed_header/EmbedHeader.stories.jsx +54 -0
- package/src/components/embed/embed_header/EmbedHeader.test.jsx +70 -0
- package/src/components/embed/embed_header/index.js +1 -0
- package/src/components/error/standard_error_boundary/StandardErrorBoundary.docs.mdx +26 -0
- package/src/components/error/standard_error_boundary/StandardErrorBoundary.jsx +27 -0
- package/src/components/error/standard_error_boundary/StandardErrorBoundary.module.scss +8 -0
- package/src/components/error/standard_error_boundary/StandardErrorBoundary.test.jsx +56 -0
- package/src/components/error/standard_error_boundary/index.js +1 -0
- package/src/components/follow/follow_button/FollowButton.docs.mdx +41 -0
- package/src/components/follow/follow_button/FollowButton.jsx +40 -0
- package/src/components/follow/follow_button/FollowButton.module.scss +17 -0
- package/src/components/follow/follow_button/FollowButton.stories.jsx +58 -0
- package/src/components/follow/follow_button/FollowButton.test.jsx +45 -0
- package/src/components/follow/follow_button/index.js +1 -0
- package/src/components/follow/use_follow/index.js +1 -0
- package/src/components/follow/use_follow/useFollow.docs.mdx +24 -0
- package/src/components/follow/use_follow/useFollow.jsx +60 -0
- package/src/components/follow/use_follow/useFollow.test.jsx +94 -0
- package/src/components/forms/form/extract-form-data.js +14 -0
- package/src/components/forms/form/form-context.js +3 -0
- package/src/components/forms/form/form.docs.mdx +232 -0
- package/src/components/forms/form/form.jsx +26 -0
- package/src/components/forms/form/form.stories.jsx +119 -0
- package/src/components/forms/form/form.test.jsx +3 -0
- package/src/components/forms/form/index.js +6 -0
- package/src/components/forms/form/use-form-context.js +43 -0
- package/src/components/forms/form/use-form.js +4 -0
- package/src/components/forms/use_form_validation/index.js +1 -0
- package/src/components/forms/use_form_validation/useFormValidation.docs.mdx +40 -0
- package/src/components/forms/use_form_validation/useFormValidation.jsx +114 -0
- package/src/components/forms/use_form_validation/useFormValidation.test.jsx +91 -0
- package/src/components/gamification/badge_box/BadgeBox.docs.mdx +25 -0
- package/src/components/gamification/badge_box/BadgeBox.jsx +74 -0
- package/src/components/gamification/badge_box/BadgeBox.module.scss +103 -0
- package/src/components/gamification/badge_box/BadgeBox.stories.jsx +64 -0
- package/src/components/gamification/badge_box/BadgeBox.test.jsx +113 -0
- package/src/components/gamification/badge_box/index.js +1 -0
- package/src/components/gamification/point_box/PointBox.docs.mdx +19 -0
- package/src/components/gamification/point_box/PointBox.jsx +28 -0
- package/src/components/gamification/point_box/PointBox.module.scss +38 -0
- package/src/components/gamification/point_box/PointBox.stories.jsx +32 -0
- package/src/components/gamification/point_box/PointBox.test.jsx +21 -0
- package/src/components/gamification/point_box/index.js +1 -0
- package/src/components/hooks/use_auth_required/index.js +1 -0
- package/src/components/hooks/use_auth_required/useAuthRequired.docs.mdx +22 -0
- package/src/components/hooks/use_auth_required/useAuthRequired.jsx +28 -0
- package/src/components/hooks/use_auth_required/useAuthRequired.test.jsx +85 -0
- package/src/components/hooks/use_css_theme/index.js +1 -0
- package/src/components/hooks/use_css_theme/useCssTheme.docs.mdx +34 -0
- package/src/components/hooks/use_css_theme/useCssTheme.js +27 -0
- package/src/components/hooks/use_css_theme/useCssTheme.stories.jsx +41 -0
- package/src/components/hooks/use_css_theme/useCssTheme.test.jsx +31 -0
- package/src/components/hooks/use_font_loader/index.js +1 -0
- package/src/components/hooks/use_font_loader/useFontLoader.docs.mdx +24 -0
- package/src/components/hooks/use_font_loader/useFontLoader.js +16 -0
- package/src/components/hooks/use_font_loader/useFontLoader.test.jsx +64 -0
- package/src/components/hooks/use_matomo/index.js +1 -0
- package/src/components/hooks/use_matomo/useMatomo.docs.mdx +28 -0
- package/src/components/hooks/use_matomo/useMatomo.js +17 -0
- package/src/components/hooks/use_matomo/useMatomo.test.jsx +24 -0
- package/src/components/hooks/use_relative_time/index.js +1 -0
- package/src/components/hooks/use_relative_time/useRelativeTime.docs.mdx +35 -0
- package/src/components/hooks/use_relative_time/useRelativeTime.jsx +40 -0
- package/src/components/hooks/use_relative_time/useRelativeTime.test.jsx +82 -0
- package/src/components/hooks/use_responsive/ResponsiveContext.jsx +3 -0
- package/src/components/hooks/use_responsive/ResponsiveProvider.jsx +52 -0
- package/src/components/hooks/use_responsive/index.js +2 -0
- package/src/components/hooks/use_responsive/useResponsive.docs.mdx +46 -0
- package/src/components/hooks/use_responsive/useResponsive.jsx +8 -0
- package/src/components/hooks/use_responsive/useResponsive.stories.jsx +49 -0
- package/src/components/hooks/use_responsive/useResponsive.test.jsx +54 -0
- package/src/components/icons/bild_icons/Alarm.jsx +7 -0
- package/src/components/icons/bild_icons/Announcement.jsx +16 -0
- package/src/components/icons/bild_icons/Arrow.jsx +7 -0
- package/src/components/icons/bild_icons/BildIcons.docs.mdx +21 -0
- package/src/components/icons/bild_icons/BildIcons.stories.jsx +123 -0
- package/src/components/icons/bild_icons/BildIcons.test.jsx +15 -0
- package/src/components/icons/bild_icons/Blockquote.jsx +7 -0
- package/src/components/icons/bild_icons/Bold.jsx +7 -0
- package/src/components/icons/bild_icons/Camera.jsx +8 -0
- package/src/components/icons/bild_icons/Chat.jsx +16 -0
- package/src/components/icons/bild_icons/Check.jsx +7 -0
- package/src/components/icons/bild_icons/CheckCircle.jsx +17 -0
- package/src/components/icons/bild_icons/Checkbox.jsx +8 -0
- package/src/components/icons/bild_icons/Clap.jsx +9 -0
- package/src/components/icons/bild_icons/Clock.jsx +7 -0
- package/src/components/icons/bild_icons/Close.jsx +7 -0
- package/src/components/icons/bild_icons/Code.jsx +18 -0
- package/src/components/icons/bild_icons/Community.jsx +7 -0
- package/src/components/icons/bild_icons/Crown.jsx +7 -0
- package/src/components/icons/bild_icons/Document.jsx +7 -0
- package/src/components/icons/bild_icons/Downvote.jsx +7 -0
- package/src/components/icons/bild_icons/Ellipsis.jsx +8 -0
- package/src/components/icons/bild_icons/ExpertBadge.jsx +11 -0
- package/src/components/icons/bild_icons/Facebook.jsx +7 -0
- package/src/components/icons/bild_icons/Flag.jsx +7 -0
- package/src/components/icons/bild_icons/Home.jsx +7 -0
- package/src/components/icons/bild_icons/Italic.jsx +7 -0
- package/src/components/icons/bild_icons/LightArrow.jsx +7 -0
- package/src/components/icons/bild_icons/Link.jsx +8 -0
- package/src/components/icons/bild_icons/Login.jsx +11 -0
- package/src/components/icons/bild_icons/Logora.jsx +24 -0
- package/src/components/icons/bild_icons/Mail.jsx +7 -0
- package/src/components/icons/bild_icons/MinusCircle.jsx +16 -0
- package/src/components/icons/bild_icons/MobileClose.jsx +8 -0
- package/src/components/icons/bild_icons/MobileMenu.jsx +10 -0
- package/src/components/icons/bild_icons/Next.jsx +10 -0
- package/src/components/icons/bild_icons/OpenBlank.jsx +15 -0
- package/src/components/icons/bild_icons/OrderedList.jsx +7 -0
- package/src/components/icons/bild_icons/PauseCircle.jsx +10 -0
- package/src/components/icons/bild_icons/Point.jsx +8 -0
- package/src/components/icons/bild_icons/Question.jsx +8 -0
- package/src/components/icons/bild_icons/Refresh.jsx +7 -0
- package/src/components/icons/bild_icons/Reply.jsx +7 -0
- package/src/components/icons/bild_icons/Search.jsx +7 -0
- package/src/components/icons/bild_icons/Send.jsx +7 -0
- package/src/components/icons/bild_icons/Share.jsx +14 -0
- package/src/components/icons/bild_icons/SmallArrow.jsx +11 -0
- package/src/components/icons/bild_icons/Source.jsx +7 -0
- package/src/components/icons/bild_icons/Suggestion.jsx +7 -0
- package/src/components/icons/bild_icons/Twitter.jsx +10 -0
- package/src/components/icons/bild_icons/Underline.jsx +7 -0
- package/src/components/icons/bild_icons/Upvote.jsx +7 -0
- package/src/components/icons/bild_icons/User.jsx +7 -0
- package/src/components/icons/bild_icons/Versus.jsx +11 -0
- package/src/components/icons/bild_icons/Votebox.jsx +7 -0
- package/src/components/icons/bild_icons/index.js +52 -0
- package/src/components/icons/hero_icons/Alarm.jsx +7 -0
- package/src/components/icons/hero_icons/Announcement.jsx +7 -0
- package/src/components/icons/hero_icons/Arrow.jsx +7 -0
- package/src/components/icons/hero_icons/Blockquote.jsx +14 -0
- package/src/components/icons/hero_icons/Bold.jsx +7 -0
- package/src/components/icons/hero_icons/Camera.jsx +8 -0
- package/src/components/icons/hero_icons/Chat.jsx +7 -0
- package/src/components/icons/hero_icons/Check.jsx +8 -0
- package/src/components/icons/hero_icons/CheckCircle.jsx +17 -0
- package/src/components/icons/hero_icons/Checkbox.jsx +7 -0
- package/src/components/icons/hero_icons/Clap.jsx +7 -0
- package/src/components/icons/hero_icons/Clock.jsx +7 -0
- package/src/components/icons/hero_icons/Close.jsx +8 -0
- package/src/components/icons/hero_icons/Code.jsx +7 -0
- package/src/components/icons/hero_icons/Community.jsx +7 -0
- package/src/components/icons/hero_icons/Crown.jsx +7 -0
- package/src/components/icons/hero_icons/Downvote.jsx +8 -0
- package/src/components/icons/hero_icons/Ellipsis.jsx +7 -0
- package/src/components/icons/hero_icons/ExpertBadge.jsx +7 -0
- package/src/components/icons/hero_icons/Facebook.jsx +7 -0
- package/src/components/icons/hero_icons/Flag.jsx +7 -0
- package/src/components/icons/hero_icons/HeroIcons.docs.mdx +19 -0
- package/src/components/icons/hero_icons/HeroIcons.stories.jsx +121 -0
- package/src/components/icons/hero_icons/HeroIcons.test.jsx +15 -0
- package/src/components/icons/hero_icons/Home.jsx +7 -0
- package/src/components/icons/hero_icons/Italic.jsx +7 -0
- package/src/components/icons/hero_icons/LightArrow.jsx +7 -0
- package/src/components/icons/hero_icons/Link.jsx +7 -0
- package/src/components/icons/hero_icons/Login.jsx +7 -0
- package/src/components/icons/hero_icons/Logora.jsx +24 -0
- package/src/components/icons/hero_icons/Mail.jsx +7 -0
- package/src/components/icons/hero_icons/MinusCircle.jsx +16 -0
- package/src/components/icons/hero_icons/MobileClose.jsx +7 -0
- package/src/components/icons/hero_icons/MobileMenu.jsx +7 -0
- package/src/components/icons/hero_icons/Next.jsx +8 -0
- package/src/components/icons/hero_icons/OpenBlank.jsx +7 -0
- package/src/components/icons/hero_icons/OrderedList.jsx +19 -0
- package/src/components/icons/hero_icons/PauseCircle.jsx +10 -0
- package/src/components/icons/hero_icons/Point.jsx +8 -0
- package/src/components/icons/hero_icons/Question.jsx +7 -0
- package/src/components/icons/hero_icons/Refresh.jsx +7 -0
- package/src/components/icons/hero_icons/Reply.jsx +7 -0
- package/src/components/icons/hero_icons/Search.jsx +7 -0
- package/src/components/icons/hero_icons/Send.jsx +7 -0
- package/src/components/icons/hero_icons/Share.jsx +8 -0
- package/src/components/icons/hero_icons/SmallArrow.jsx +7 -0
- package/src/components/icons/hero_icons/Source.jsx +8 -0
- package/src/components/icons/hero_icons/Suggestion.jsx +9 -0
- package/src/components/icons/hero_icons/Twitter.jsx +10 -0
- package/src/components/icons/hero_icons/Underline.jsx +14 -0
- package/src/components/icons/hero_icons/Upvote.jsx +7 -0
- package/src/components/icons/hero_icons/User.jsx +7 -0
- package/src/components/icons/hero_icons/Versus.jsx +7 -0
- package/src/components/icons/hero_icons/Votebox.jsx +7 -0
- package/src/components/icons/hero_icons/index.js +51 -0
- package/src/components/icons/icon/Icon.docs.mdx +20 -0
- package/src/components/icons/icon/Icon.jsx +32 -0
- package/src/components/icons/icon/Icon.test.jsx +33 -0
- package/src/components/icons/icon/index.js +1 -0
- package/src/components/icons/icon_provider/IconProvider.docs.mdx +28 -0
- package/src/components/icons/icon_provider/IconProvider.jsx +19 -0
- package/src/components/icons/icon_provider/IconProvider.test.jsx +24 -0
- package/src/components/icons/icon_provider/index.js +1 -0
- package/src/components/icons/krone_icons/Alarm.jsx +27 -0
- package/src/components/icons/krone_icons/Announcement.jsx +16 -0
- package/src/components/icons/krone_icons/Arrow.jsx +7 -0
- package/src/components/icons/krone_icons/Blockquote.jsx +7 -0
- package/src/components/icons/krone_icons/Bold.jsx +7 -0
- package/src/components/icons/krone_icons/Camera.jsx +8 -0
- package/src/components/icons/krone_icons/Chat.jsx +29 -0
- package/src/components/icons/krone_icons/Check.jsx +7 -0
- package/src/components/icons/krone_icons/CheckBox.jsx +7 -0
- package/src/components/icons/krone_icons/CheckCircle.jsx +17 -0
- package/src/components/icons/krone_icons/Clap.jsx +29 -0
- package/src/components/icons/krone_icons/Clock.jsx +7 -0
- package/src/components/icons/krone_icons/Close.jsx +7 -0
- package/src/components/icons/krone_icons/Code.jsx +18 -0
- package/src/components/icons/krone_icons/Community.jsx +7 -0
- package/src/components/icons/krone_icons/Crown.jsx +7 -0
- package/src/components/icons/krone_icons/Document.jsx +7 -0
- package/src/components/icons/krone_icons/Downvote.jsx +7 -0
- package/src/components/icons/krone_icons/Ellipsis.jsx +18 -0
- package/src/components/icons/krone_icons/ExpertBadge.jsx +29 -0
- package/src/components/icons/krone_icons/Facebook.jsx +7 -0
- package/src/components/icons/krone_icons/Flag.jsx +7 -0
- package/src/components/icons/krone_icons/Home.jsx +29 -0
- package/src/components/icons/krone_icons/Italic.jsx +7 -0
- package/src/components/icons/krone_icons/KroneIcons.docs.mdx +21 -0
- package/src/components/icons/krone_icons/KroneIcons.stories.jsx +124 -0
- package/src/components/icons/krone_icons/KroneIcons.test.jsx +15 -0
- package/src/components/icons/krone_icons/LightArrow.jsx +7 -0
- package/src/components/icons/krone_icons/Link.jsx +8 -0
- package/src/components/icons/krone_icons/Login.jsx +11 -0
- package/src/components/icons/krone_icons/Logora.jsx +24 -0
- package/src/components/icons/krone_icons/Mail.jsx +7 -0
- package/src/components/icons/krone_icons/MinusCircle.jsx +16 -0
- package/src/components/icons/krone_icons/MobileClose.jsx +8 -0
- package/src/components/icons/krone_icons/MobileMenu.jsx +10 -0
- package/src/components/icons/krone_icons/Next.jsx +10 -0
- package/src/components/icons/krone_icons/OpenBlank.jsx +15 -0
- package/src/components/icons/krone_icons/OrderedList.jsx +7 -0
- package/src/components/icons/krone_icons/PauseCircle.jsx +10 -0
- package/src/components/icons/krone_icons/Point.jsx +8 -0
- package/src/components/icons/krone_icons/Question.jsx +29 -0
- package/src/components/icons/krone_icons/Refresh.jsx +7 -0
- package/src/components/icons/krone_icons/Reply.jsx +18 -0
- package/src/components/icons/krone_icons/Search.jsx +7 -0
- package/src/components/icons/krone_icons/Send.jsx +19 -0
- package/src/components/icons/krone_icons/Share.jsx +16 -0
- package/src/components/icons/krone_icons/SmallArrow.jsx +11 -0
- package/src/components/icons/krone_icons/Source.jsx +7 -0
- package/src/components/icons/krone_icons/Suggestion.jsx +29 -0
- package/src/components/icons/krone_icons/Twitter.jsx +10 -0
- package/src/components/icons/krone_icons/Underline.jsx +7 -0
- package/src/components/icons/krone_icons/Upvote.jsx +29 -0
- package/src/components/icons/krone_icons/User.jsx +30 -0
- package/src/components/icons/krone_icons/Versus.jsx +9 -0
- package/src/components/icons/krone_icons/Votebox.jsx +29 -0
- package/src/components/icons/krone_icons/index.js +52 -0
- package/src/components/icons/regular_icons/Alarm.jsx +7 -0
- package/src/components/icons/regular_icons/Announcement.jsx +16 -0
- package/src/components/icons/regular_icons/Arrow.jsx +7 -0
- package/src/components/icons/regular_icons/Blockquote.jsx +7 -0
- package/src/components/icons/regular_icons/Bold.jsx +7 -0
- package/src/components/icons/regular_icons/Camera.jsx +8 -0
- package/src/components/icons/regular_icons/Chat.jsx +10 -0
- package/src/components/icons/regular_icons/Check.jsx +7 -0
- package/src/components/icons/regular_icons/CheckCircle.jsx +17 -0
- package/src/components/icons/regular_icons/Checkbox.jsx +8 -0
- package/src/components/icons/regular_icons/Clap.jsx +7 -0
- package/src/components/icons/regular_icons/Clock.jsx +7 -0
- package/src/components/icons/regular_icons/Close.jsx +7 -0
- package/src/components/icons/regular_icons/Code.jsx +18 -0
- package/src/components/icons/regular_icons/Community.jsx +7 -0
- package/src/components/icons/regular_icons/Crown.jsx +7 -0
- package/src/components/icons/regular_icons/Document.jsx +7 -0
- package/src/components/icons/regular_icons/Downvote.jsx +7 -0
- package/src/components/icons/regular_icons/Ellipsis.jsx +8 -0
- package/src/components/icons/regular_icons/ExpertBadge.jsx +11 -0
- package/src/components/icons/regular_icons/Facebook.jsx +7 -0
- package/src/components/icons/regular_icons/Flag.jsx +7 -0
- package/src/components/icons/regular_icons/Home.jsx +7 -0
- package/src/components/icons/regular_icons/Italic.jsx +7 -0
- package/src/components/icons/regular_icons/LightArrow.jsx +7 -0
- package/src/components/icons/regular_icons/Link.jsx +8 -0
- package/src/components/icons/regular_icons/Login.jsx +11 -0
- package/src/components/icons/regular_icons/Logora.jsx +24 -0
- package/src/components/icons/regular_icons/Mail.jsx +7 -0
- package/src/components/icons/regular_icons/MinusCircle.jsx +16 -0
- package/src/components/icons/regular_icons/MobileClose.jsx +8 -0
- package/src/components/icons/regular_icons/MobileMenu.jsx +10 -0
- package/src/components/icons/regular_icons/Next.jsx +10 -0
- package/src/components/icons/regular_icons/OpenBlank.jsx +15 -0
- package/src/components/icons/regular_icons/OrderedList.jsx +7 -0
- package/src/components/icons/regular_icons/PauseCircle.jsx +10 -0
- package/src/components/icons/regular_icons/Point.jsx +8 -0
- package/src/components/icons/regular_icons/Question.jsx +8 -0
- package/src/components/icons/regular_icons/Refresh.jsx +7 -0
- package/src/components/icons/regular_icons/RegularIcons.docs.mdx +21 -0
- package/src/components/icons/regular_icons/RegularIcons.stories.jsx +123 -0
- package/src/components/icons/regular_icons/RegularIcons.test.jsx +15 -0
- package/src/components/icons/regular_icons/Reply.jsx +7 -0
- package/src/components/icons/regular_icons/Search.jsx +7 -0
- package/src/components/icons/regular_icons/Send.jsx +7 -0
- package/src/components/icons/regular_icons/Share.jsx +14 -0
- package/src/components/icons/regular_icons/SmallArrow.jsx +11 -0
- package/src/components/icons/regular_icons/Source.jsx +7 -0
- package/src/components/icons/regular_icons/Suggestion.jsx +7 -0
- package/src/components/icons/regular_icons/Twitter.jsx +10 -0
- package/src/components/icons/regular_icons/Underline.jsx +7 -0
- package/src/components/icons/regular_icons/Upvote.jsx +7 -0
- package/src/components/icons/regular_icons/User.jsx +7 -0
- package/src/components/icons/regular_icons/Versus.jsx +9 -0
- package/src/components/icons/regular_icons/Votebox.jsx +7 -0
- package/src/components/icons/regular_icons/index.js +52 -0
- package/src/components/icons/spiegel_icons/Alarm.jsx +7 -0
- package/src/components/icons/spiegel_icons/Announcement.jsx +16 -0
- package/src/components/icons/spiegel_icons/Arrow.jsx +7 -0
- package/src/components/icons/spiegel_icons/Blockquote.jsx +14 -0
- package/src/components/icons/spiegel_icons/Bold.jsx +7 -0
- package/src/components/icons/spiegel_icons/Camera.jsx +8 -0
- package/src/components/icons/spiegel_icons/Chat.jsx +7 -0
- package/src/components/icons/spiegel_icons/Check.jsx +11 -0
- package/src/components/icons/spiegel_icons/CheckCircle.jsx +8 -0
- package/src/components/icons/spiegel_icons/Checkbox.jsx +14 -0
- package/src/components/icons/spiegel_icons/Clap.jsx +15 -0
- package/src/components/icons/spiegel_icons/Clock.jsx +15 -0
- package/src/components/icons/spiegel_icons/Close.jsx +7 -0
- package/src/components/icons/spiegel_icons/Code.jsx +18 -0
- package/src/components/icons/spiegel_icons/Community.jsx +7 -0
- package/src/components/icons/spiegel_icons/Crown.jsx +7 -0
- package/src/components/icons/spiegel_icons/Downvote.jsx +7 -0
- package/src/components/icons/spiegel_icons/Ellipsis.jsx +8 -0
- package/src/components/icons/spiegel_icons/ExpertBadge.jsx +16 -0
- package/src/components/icons/spiegel_icons/Facebook.jsx +7 -0
- package/src/components/icons/spiegel_icons/Flag.jsx +8 -0
- package/src/components/icons/spiegel_icons/Home.jsx +7 -0
- package/src/components/icons/spiegel_icons/Italic.jsx +7 -0
- package/src/components/icons/spiegel_icons/LightArrow.jsx +7 -0
- package/src/components/icons/spiegel_icons/Link.jsx +17 -0
- package/src/components/icons/spiegel_icons/Login.jsx +7 -0
- package/src/components/icons/spiegel_icons/Logora.jsx +24 -0
- package/src/components/icons/spiegel_icons/Mail.jsx +7 -0
- package/src/components/icons/spiegel_icons/MinusCircle.jsx +8 -0
- package/src/components/icons/spiegel_icons/MobileClose.jsx +8 -0
- package/src/components/icons/spiegel_icons/MobileMenu.jsx +10 -0
- package/src/components/icons/spiegel_icons/Next.jsx +10 -0
- package/src/components/icons/spiegel_icons/OpenBlank.jsx +15 -0
- package/src/components/icons/spiegel_icons/OrderedList.jsx +20 -0
- package/src/components/icons/spiegel_icons/PauseCircle.jsx +8 -0
- package/src/components/icons/spiegel_icons/Point.jsx +8 -0
- package/src/components/icons/spiegel_icons/Question.jsx +17 -0
- package/src/components/icons/spiegel_icons/Refresh.jsx +7 -0
- package/src/components/icons/spiegel_icons/Reply.jsx +7 -0
- package/src/components/icons/spiegel_icons/Search.jsx +7 -0
- package/src/components/icons/spiegel_icons/Send.jsx +7 -0
- package/src/components/icons/spiegel_icons/Share.jsx +14 -0
- package/src/components/icons/spiegel_icons/SmallArrow.jsx +7 -0
- package/src/components/icons/spiegel_icons/Source.jsx +7 -0
- package/src/components/icons/spiegel_icons/SpiegelIcons.docs.mdx +21 -0
- package/src/components/icons/spiegel_icons/SpiegelIcons.stories.jsx +121 -0
- package/src/components/icons/spiegel_icons/SpiegelIcons.test.jsx +15 -0
- package/src/components/icons/spiegel_icons/Suggestion.jsx +7 -0
- package/src/components/icons/spiegel_icons/Twitter.jsx +10 -0
- package/src/components/icons/spiegel_icons/Underline.jsx +14 -0
- package/src/components/icons/spiegel_icons/Upvote.jsx +7 -0
- package/src/components/icons/spiegel_icons/User.jsx +7 -0
- package/src/components/icons/spiegel_icons/Versus.jsx +11 -0
- package/src/components/icons/spiegel_icons/Votebox.jsx +14 -0
- package/src/components/icons/spiegel_icons/index.js +51 -0
- package/src/components/information/information_box/InformationBox.docs.mdx +28 -0
- package/src/components/information/information_box/InformationBox.jsx +54 -0
- package/src/components/information/information_box/InformationBox.module.scss +92 -0
- package/src/components/information/information_box/InformationBox.stories.jsx +50 -0
- package/src/components/information/information_box/InformationBox.test.jsx +94 -0
- package/src/components/information/information_box/index.js +1 -0
- package/src/components/input/argument_input/ArgumentInput.docs.mdx +29 -0
- package/src/components/input/argument_input/ArgumentInput.jsx +420 -0
- package/src/components/input/argument_input/ArgumentInput.module.scss +166 -0
- package/src/components/input/argument_input/ArgumentInput.stories.jsx +181 -0
- package/src/components/input/argument_input/ArgumentInput.test.jsx +482 -0
- package/src/components/input/argument_input/index.js +1 -0
- package/src/components/input/checkbox/hidden/hidden-checkbox.docs.mdx +4 -0
- package/src/components/input/checkbox/hidden/hidden-checkbox.jsx +8 -0
- package/src/components/input/checkbox/hidden/hidden-checkbox.module.scss +28 -0
- package/src/components/input/checkbox/hidden/hidden-checkbox.stories.jsx +73 -0
- package/src/components/input/checkbox/hidden/index.js +1 -0
- package/src/components/input/checkbox/indicator/checkbox-indicator.docs.mdx +9 -0
- package/src/components/input/checkbox/indicator/checkbox-indicator.jsx +17 -0
- package/src/components/input/checkbox/indicator/checkbox-indicator.module.scss +26 -0
- package/src/components/input/checkbox/indicator/checkbox-indicator.stories.jsx +51 -0
- package/src/components/input/checkbox/indicator/index.js +1 -0
- package/src/components/input/checkbox/label/checkbox-label.docs.mdx +39 -0
- package/src/components/input/checkbox/label/checkbox-label.jsx +40 -0
- package/src/components/input/checkbox/label/checkbox.stories.jsx +57 -0
- package/src/components/input/checkbox/label/index.js +1 -0
- package/src/components/input/input_provider/InputProvider.docs.mdx +38 -0
- package/src/components/input/input_provider/InputProvider.jsx +16 -0
- package/src/components/input/input_provider/InputProvider.test.jsx +102 -0
- package/src/components/input/input_provider/index.js +2 -0
- package/src/components/input/input_provider/useInput.jsx +8 -0
- package/src/components/input/search_input/SearchInput.docs.mdx +25 -0
- package/src/components/input/search_input/SearchInput.jsx +71 -0
- package/src/components/input/search_input/SearchInput.module.scss +18 -0
- package/src/components/input/search_input/SearchInput.stories.jsx +45 -0
- package/src/components/input/search_input/SearchInput.test.jsx +95 -0
- package/src/components/input/search_input/index.js +1 -0
- package/src/components/input/select/Select.docs.mdx +37 -0
- package/src/components/input/select/Select.jsx +102 -0
- package/src/components/input/select/Select.module.scss +72 -0
- package/src/components/input/select/Select.stories.jsx +75 -0
- package/src/components/input/select/Select.test.jsx +136 -0
- package/src/components/input/select/index.js +1 -0
- package/src/components/input/text_editor/EditorTheme.js +71 -0
- package/src/components/input/text_editor/TextEditor.docs.mdx +31 -0
- package/src/components/input/text_editor/TextEditor.jsx +205 -0
- package/src/components/input/text_editor/TextEditor.module.scss +140 -0
- package/src/components/input/text_editor/TextEditor.stories.jsx +227 -0
- package/src/components/input/text_editor/TextEditor.test.jsx +654 -0
- package/src/components/input/text_editor/index.js +2 -0
- package/src/components/input/text_editor/lexicalToHtml.js +23 -0
- package/src/components/input/text_editor/plugins/AutoSavePlugin.jsx +37 -0
- package/src/components/input/text_editor/plugins/FocusPlugin.jsx +19 -0
- package/src/components/input/text_editor/plugins/MaxLengthPlugin.jsx +44 -0
- package/src/components/input/text_editor/plugins/ResetPlugin.jsx +35 -0
- package/src/components/input/text_editor/plugins/SetContentPlugin.jsx +24 -0
- package/src/components/input/text_editor/plugins/SetRichContentPlugin.jsx +20 -0
- package/src/components/input/text_editor/plugins/ToolbarPlugin.jsx +233 -0
- package/src/components/input/text_editor/plugins/ToolbarPlugin.module.scss +77 -0
- package/src/components/input/text_input/TextInput.docs.mdx +73 -0
- package/src/components/input/text_input/TextInput.jsx +46 -0
- package/src/components/input/text_input/TextInput.module.scss +146 -0
- package/src/components/input/text_input/TextInput.stories.jsx +101 -0
- package/src/components/input/text_input/TextInput.test.jsx +64 -0
- package/src/components/input/text_input/color-accent.js +16 -0
- package/src/components/input/text_input/index.js +3 -0
- package/src/components/input/text_input/message.jsx +12 -0
- package/src/components/input/toggle/Toggle.docs.mdx +23 -0
- package/src/components/input/toggle/Toggle.jsx +25 -0
- package/src/components/input/toggle/Toggle.module.scss +73 -0
- package/src/components/input/toggle/Toggle.stories.jsx +42 -0
- package/src/components/input/toggle/Toggle.test.jsx +39 -0
- package/src/components/input/toggle/index.js +1 -0
- package/src/components/input/toggle_position/TogglePosition.docs.mdx +20 -0
- package/src/components/input/toggle_position/TogglePosition.jsx +55 -0
- package/src/components/input/toggle_position/TogglePosition.module.scss +46 -0
- package/src/components/input/toggle_position/TogglePosition.stories.jsx +96 -0
- package/src/components/input/toggle_position/TogglePosition.test.jsx +66 -0
- package/src/components/input/toggle_position/index.js +1 -0
- package/src/components/intl/intl_provider/IntlContext.jsx +3 -0
- package/src/components/intl/intl_provider/IntlProvider.docs.mdx +37 -0
- package/src/components/intl/intl_provider/IntlProvider.jsx +92 -0
- package/src/components/intl/intl_provider/IntlProvider.test.jsx +153 -0
- package/src/components/intl/intl_provider/index.js +3 -0
- package/src/components/intl/intl_provider/locales/en.json +4 -0
- package/src/components/intl/intl_provider/locales/es.json +4 -0
- package/src/components/intl/intl_provider/locales/fr.json +6 -0
- package/src/components/intl/intl_provider/locales/index.js +11 -0
- package/src/components/intl/intl_provider/useLocale.jsx +8 -0
- package/src/components/list/list_provider/ListProvider.docs.mdx +51 -0
- package/src/components/list/list_provider/ListProvider.jsx +32 -0
- package/src/components/list/list_provider/ListProvider.stories.jsx +92 -0
- package/src/components/list/list_provider/ListProvider.test.jsx +137 -0
- package/src/components/list/list_provider/index.js +2 -0
- package/src/components/list/list_provider/useList.jsx +8 -0
- package/src/components/list/paginated_list/PaginatedList.docs.mdx +68 -0
- package/src/components/list/paginated_list/PaginatedList.jsx +397 -0
- package/src/components/list/paginated_list/PaginatedList.module.scss +88 -0
- package/src/components/list/paginated_list/PaginatedList.stories.jsx +301 -0
- package/src/components/list/paginated_list/PaginatedList.test.jsx +1335 -0
- package/src/components/list/paginated_list/VotePaginatedList.jsx +26 -0
- package/src/components/list/paginated_list/VotePaginatedList.test.jsx +1518 -0
- package/src/components/list/paginated_list/action_bar/ActionBar.jsx +132 -0
- package/src/components/list/paginated_list/action_bar/ActionBar.module.scss +81 -0
- package/src/components/list/paginated_list/index.js +3 -0
- package/src/components/list/pagination/Pagination.docs.mdx +32 -0
- package/src/components/list/pagination/Pagination.jsx +58 -0
- package/src/components/list/pagination/Pagination.module.scss +10 -0
- package/src/components/list/pagination/Pagination.stories.jsx +44 -0
- package/src/components/list/pagination/Pagination.test.jsx +80 -0
- package/src/components/list/pagination/index.js +1 -0
- package/src/components/modal/side_modal/SideModal.docs.mdx +31 -0
- package/src/components/modal/side_modal/SideModal.jsx +85 -0
- package/src/components/modal/side_modal/SideModal.module.scss +83 -0
- package/src/components/modal/side_modal/SideModal.stories.jsx +112 -0
- package/src/components/modal/side_modal/SideModal.test.jsx +36 -0
- package/src/components/modal/side_modal/index.js +1 -0
- package/src/components/navbar/navbar_button/NavbarButton.docs.mdx +37 -0
- package/src/components/navbar/navbar_button/NavbarButton.jsx +43 -0
- package/src/components/navbar/navbar_button/NavbarButton.module.scss +45 -0
- package/src/components/navbar/navbar_button/NavbarButton.stories.jsx +93 -0
- package/src/components/navbar/navbar_button/NavbarButton.test.jsx +67 -0
- package/src/components/navbar/navbar_button/index.js +1 -0
- package/src/components/navbar/navbar_modal/NavbarModal.docs.mdx +24 -0
- package/src/components/navbar/navbar_modal/NavbarModal.jsx +175 -0
- package/src/components/navbar/navbar_modal/NavbarModal.module.scss +132 -0
- package/src/components/navbar/navbar_modal/NavbarModal.stories.jsx +96 -0
- package/src/components/navbar/navbar_modal/NavbarModal.test.jsx +155 -0
- package/src/components/navbar/navbar_modal/index.js +1 -0
- package/src/components/notification/notification_item/NotificationItem.docs.mdx +35 -0
- package/src/components/notification/notification_item/NotificationItem.jsx +71 -0
- package/src/components/notification/notification_item/NotificationItem.module.scss +56 -0
- package/src/components/notification/notification_item/NotificationItem.stories.jsx +121 -0
- package/src/components/notification/notification_item/NotificationItem.test.jsx +97 -0
- package/src/components/notification/notification_item/index.js +1 -0
- package/src/components/notification/notification_menu/NotificationMenu.docs.mdx +25 -0
- package/src/components/notification/notification_menu/NotificationMenu.jsx +61 -0
- package/src/components/notification/notification_menu/NotificationMenu.module.scss +49 -0
- package/src/components/notification/notification_menu/NotificationMenu.stories.jsx +94 -0
- package/src/components/notification/notification_menu/NotificationMenu.test.jsx +131 -0
- package/src/components/notification/notification_menu/index.js +1 -0
- package/src/components/progress/loader/Loader.docs.mdx +13 -0
- package/src/components/progress/loader/Loader.jsx +9 -0
- package/src/components/progress/loader/Loader.module.scss +26 -0
- package/src/components/progress/loader/Loader.stories.jsx +11 -0
- package/src/components/progress/loader/Loader.test.jsx +11 -0
- package/src/components/progress/loader/index.js +3 -0
- package/src/components/progress/progress_bar/ProgressBar.docs.mdx +29 -0
- package/src/components/progress/progress_bar/ProgressBar.jsx +75 -0
- package/src/components/progress/progress_bar/ProgressBar.module.scss +87 -0
- package/src/components/progress/progress_bar/ProgressBar.stories.jsx +43 -0
- package/src/components/progress/progress_bar/ProgressBar.test.jsx +126 -0
- package/src/components/progress/progress_bar/index.js +1 -0
- package/src/components/proposal/proposal_box/ProposalBox.docs.mdx +39 -0
- package/src/components/proposal/proposal_box/ProposalBox.jsx +108 -0
- package/src/components/proposal/proposal_box/ProposalBox.module.scss +80 -0
- package/src/components/proposal/proposal_box/ProposalBox.stories.jsx +161 -0
- package/src/components/proposal/proposal_box/ProposalBox.test.jsx +137 -0
- package/src/components/proposal/proposal_box/index.js +1 -0
- package/src/components/report/report_box/ReportBox.docs.mdx +35 -0
- package/src/components/report/report_box/ReportBox.jsx +120 -0
- package/src/components/report/report_box/ReportBox.module.scss +54 -0
- package/src/components/report/report_box/ReportBox.stories.jsx +247 -0
- package/src/components/report/report_box/ReportBox.test.jsx +232 -0
- package/src/components/report/report_box/index.js +1 -0
- package/src/components/section/section_box/SectionBox.docs.mdx +19 -0
- package/src/components/section/section_box/SectionBox.jsx +32 -0
- package/src/components/section/section_box/SectionBox.module.scss +57 -0
- package/src/components/section/section_box/SectionBox.stories.jsx +39 -0
- package/src/components/section/section_box/SectionBox.test.jsx +44 -0
- package/src/components/section/section_box/index.js +1 -0
- package/src/components/share/share_box/ShareBox.docs.mdx +27 -0
- package/src/components/share/share_box/ShareBox.jsx +71 -0
- package/src/components/share/share_box/ShareBox.module.scss +38 -0
- package/src/components/share/share_box/ShareBox.stories.jsx +42 -0
- package/src/components/share/share_box/ShareBox.test.jsx +142 -0
- package/src/components/share/share_box/index.js +1 -0
- package/src/components/share/share_button/ShareButton.docs.mdx +26 -0
- package/src/components/share/share_button/ShareButton.jsx +102 -0
- package/src/components/share/share_button/ShareButton.module.scss +68 -0
- package/src/components/share/share_button/ShareButton.stories.jsx +51 -0
- package/src/components/share/share_button/ShareButton.test.jsx +117 -0
- package/src/components/share/share_button/index.js +1 -0
- package/src/components/share/share_modal/ShareModal.docs.mdx +29 -0
- package/src/components/share/share_modal/ShareModal.jsx +49 -0
- package/src/components/share/share_modal/ShareModal.module.scss +21 -0
- package/src/components/share/share_modal/ShareModal.stories.jsx +48 -0
- package/src/components/share/share_modal/ShareModal.test.jsx +70 -0
- package/src/components/share/share_modal/index.js +1 -0
- package/src/components/skeleton/box_skeleton/BoxSkeleton.docs.mdx +14 -0
- package/src/components/skeleton/box_skeleton/BoxSkeleton.jsx +38 -0
- package/src/components/skeleton/box_skeleton/BoxSkeleton.stories.jsx +46 -0
- package/src/components/skeleton/box_skeleton/BoxSkeleton.test.jsx +39 -0
- package/src/components/skeleton/box_skeleton/index.js +1 -0
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.docs.mdx +15 -0
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.jsx +56 -0
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.module.scss +78 -0
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.stories.jsx +44 -0
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.test.jsx +55 -0
- package/src/components/skeleton/user_content_skeleton/index.js +1 -0
- package/src/components/source/context_source_box/ContextSourceBox.docs.mdx +27 -0
- package/src/components/source/context_source_box/ContextSourceBox.jsx +38 -0
- package/src/components/source/context_source_box/ContextSourceBox.module.scss +50 -0
- package/src/components/source/context_source_box/ContextSourceBox.stories.jsx +36 -0
- package/src/components/source/context_source_box/ContextSourceBox.test.jsx +46 -0
- package/src/components/source/context_source_box/index.js +1 -0
- package/src/components/source/context_source_list/ContextSourceList.docs.mdx +37 -0
- package/src/components/source/context_source_list/ContextSourceList.jsx +42 -0
- package/src/components/source/context_source_list/ContextSourceList.module.scss +38 -0
- package/src/components/source/context_source_list/ContextSourceList.stories.jsx +39 -0
- package/src/components/source/context_source_list/ContextSourceList.test.jsx +47 -0
- package/src/components/source/context_source_list/index.js +1 -0
- package/src/components/source/source_box/SourceBox.docs.mdx +23 -0
- package/src/components/source/source_box/SourceBox.jsx +43 -0
- package/src/components/source/source_box/SourceBox.module.scss +43 -0
- package/src/components/source/source_box/SourceBox.stories.jsx +26 -0
- package/src/components/source/source_box/SourceBox.test.jsx +30 -0
- package/src/components/source/source_box/index.js +1 -0
- package/src/components/source/source_list_item/SourceListItem.docs.mdx +23 -0
- package/src/components/source/source_list_item/SourceListItem.jsx +28 -0
- package/src/components/source/source_list_item/SourceListItem.module.scss +33 -0
- package/src/components/source/source_list_item/SourceListItem.stories.jsx +40 -0
- package/src/components/source/source_list_item/SourceListItem.test.jsx +41 -0
- package/src/components/source/source_list_item/index.js +1 -0
- package/src/components/source/source_modal/SourceModal.docs.mdx +29 -0
- package/src/components/source/source_modal/SourceModal.jsx +157 -0
- package/src/components/source/source_modal/SourceModal.module.scss +45 -0
- package/src/components/source/source_modal/SourceModal.stories.jsx +82 -0
- package/src/components/source/source_modal/SourceModal.test.jsx +180 -0
- package/src/components/source/source_modal/index.js +1 -0
- package/src/components/styles/display/_display.scss +127 -0
- package/src/components/styles/display/display.docs.mdx +8 -0
- package/src/components/styles/display/index.scss +1 -0
- package/src/components/styles/flex/_flex.scss +55 -0
- package/src/components/styles/flex/flex.docs.mdx +8 -0
- package/src/components/styles/flex/index.scss +1 -0
- package/src/components/styles/spacing/_spacing.scss +107 -0
- package/src/components/styles/spacing/index.scss +1 -0
- package/src/components/styles/spacing/spacing.docs.mdx +8 -0
- package/src/components/styles/tabs/_tabs.scss +159 -0
- package/src/components/styles/tabs/index.scss +1 -0
- package/src/components/styles/tabs/tabs.docs.mdx +8 -0
- package/src/components/styles/theme/_theme.scss +51 -0
- package/src/components/styles/theme/index.scss +1 -0
- package/src/components/styles/theme/theme.docs.mdx +89 -0
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.docs.mdx +35 -0
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.jsx +86 -0
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.module.scss +93 -0
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.stories.jsx +128 -0
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.test.jsx +237 -0
- package/src/components/suggestion/suggestion_banner/index.js +1 -0
- package/src/components/suggestion/suggestion_box/SuggestionBox.docs.mdx +39 -0
- package/src/components/suggestion/suggestion_box/SuggestionBox.jsx +112 -0
- package/src/components/suggestion/suggestion_box/SuggestionBox.module.scss +55 -0
- package/src/components/suggestion/suggestion_box/SuggestionBox.stories.jsx +147 -0
- package/src/components/suggestion/suggestion_box/SuggestionBox.test.jsx +184 -0
- package/src/components/suggestion/suggestion_box/index.js +1 -0
- package/src/components/suggestion/suggestion_input/SuggestionInput.docs.mdx +19 -0
- package/src/components/suggestion/suggestion_input/SuggestionInput.jsx +212 -0
- package/src/components/suggestion/suggestion_input/SuggestionInput.module.scss +50 -0
- package/src/components/suggestion/suggestion_input/SuggestionInput.stories.jsx +87 -0
- package/src/components/suggestion/suggestion_input/SuggestionInput.test.jsx +77 -0
- package/src/components/suggestion/suggestion_input/index.js +1 -0
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.docs.mdx +19 -0
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.jsx +40 -0
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.module.scss +67 -0
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.stories.jsx +57 -0
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.test.jsx +18 -0
- package/src/components/summary/argument_summary_box/index.js +1 -0
- package/src/components/summary/keyword_box/KeywordBox.docs.mdx +21 -0
- package/src/components/summary/keyword_box/KeywordBox.jsx +43 -0
- package/src/components/summary/keyword_box/KeywordBox.module.scss +54 -0
- package/src/components/summary/keyword_box/KeywordBox.stories.jsx +49 -0
- package/src/components/summary/keyword_box/KeywordBox.test.jsx +47 -0
- package/src/components/summary/keyword_box/index.js +1 -0
- package/src/components/summary/summary/Summary.docs.mdx +23 -0
- package/src/components/summary/summary/Summary.jsx +93 -0
- package/src/components/summary/summary/Summary.module.scss +26 -0
- package/src/components/summary/summary/Summary.stories.jsx +95 -0
- package/src/components/summary/summary/Summary.test.jsx +116 -0
- package/src/components/summary/summary/index.js +1 -0
- package/src/components/summary/summary_box/SummaryBox.docs.mdx +19 -0
- package/src/components/summary/summary_box/SummaryBox.jsx +39 -0
- package/src/components/summary/summary_box/SummaryBox.module.scss +56 -0
- package/src/components/summary/summary_box/SummaryBox.stories.jsx +83 -0
- package/src/components/summary/summary_box/SummaryBox.test.jsx +47 -0
- package/src/components/summary/summary_box/SummaryBoxComposition.module.scss +3 -0
- package/src/components/summary/summary_box/index.js +1 -0
- package/src/components/tag/tag/Tag.docs.mdx +19 -0
- package/src/components/tag/tag/Tag.jsx +35 -0
- package/src/components/tag/tag/Tag.module.scss +34 -0
- package/src/components/tag/tag/Tag.stories.jsx +70 -0
- package/src/components/tag/tag/Tag.test.jsx +29 -0
- package/src/components/tag/tag/index.js +1 -0
- package/src/components/text/expandable_text/ArrowIcon.jsx +7 -0
- package/src/components/text/expandable_text/ExpandableText.docs.mdx +42 -0
- package/src/components/text/expandable_text/ExpandableText.jsx +81 -0
- package/src/components/text/expandable_text/ExpandableText.module.scss +76 -0
- package/src/components/text/expandable_text/ExpandableText.stories.jsx +63 -0
- package/src/components/text/expandable_text/ExpandableText.test.jsx +23 -0
- package/src/components/text/expandable_text/index.js +1 -0
- package/src/components/text/read_more/ReadMore.docs.mdx +23 -0
- package/src/components/text/read_more/ReadMore.jsx +104 -0
- package/src/components/text/read_more/ReadMore.module.scss +51 -0
- package/src/components/text/read_more/ReadMore.stories.jsx +141 -0
- package/src/components/text/read_more/ReadMore.test.jsx +87 -0
- package/src/components/text/read_more/index.js +1 -0
- package/src/components/tools/hash_scroll/HashScroll.docs.mdx +27 -0
- package/src/components/tools/hash_scroll/HashScroll.jsx +36 -0
- package/src/components/tools/hash_scroll/HashScroll.test.jsx +66 -0
- package/src/components/tools/hash_scroll/index.js +1 -0
- package/src/components/tools/scroll_to_top/ScrollToTop.docs.mdx +28 -0
- package/src/components/tools/scroll_to_top/ScrollToTop.jsx +22 -0
- package/src/components/tools/scroll_to_top/ScrollToTop.stories.jsx +40 -0
- package/src/components/tools/scroll_to_top/ScrollToTop.test.jsx +36 -0
- package/src/components/tools/scroll_to_top/index.js +1 -0
- package/src/components/translation/translated_content/TranslatedContent.jsx +24 -0
- package/src/components/translation/translated_content/TranslatedContent.test.jsx +30 -0
- package/src/components/translation/translated_content/index.js +3 -0
- package/src/components/translation/translated_content/useTranslatedContent.docs.mdx +80 -0
- package/src/components/translation/translated_content/useTranslatedContent.jsx +57 -0
- package/src/components/translation/translated_content/useTranslatedContent.test.jsx +118 -0
- package/src/components/translation/translation_button/TranslationButton.docs.mdx +18 -0
- package/src/components/translation/translation_button/TranslationButton.jsx +46 -0
- package/src/components/translation/translation_button/TranslationButton.module.scss +10 -0
- package/src/components/translation/translation_button/TranslationButton.stories.jsx +30 -0
- package/src/components/translation/translation_button/TranslationButton.test.jsx +35 -0
- package/src/components/translation/translation_button/index.js +1 -0
- package/src/components/user/author_box/AuthorBox.docs.mdx +35 -0
- package/src/components/user/author_box/AuthorBox.jsx +128 -0
- package/src/components/user/author_box/AuthorBox.module.scss +110 -0
- package/src/components/user/author_box/AuthorBox.stories.jsx +193 -0
- package/src/components/user/author_box/AuthorBox.test.jsx +171 -0
- package/src/components/user/author_box/index.js +1 -0
- package/src/components/user/avatar/Avatar.docs.mdx +31 -0
- package/src/components/user/avatar/Avatar.jsx +63 -0
- package/src/components/user/avatar/Avatar.module.scss +30 -0
- package/src/components/user/avatar/Avatar.stories.jsx +79 -0
- package/src/components/user/avatar/Avatar.test.jsx +114 -0
- package/src/components/user/avatar/DefaultAvatar.jsx +13 -0
- package/src/components/user/avatar/index.js +1 -0
- package/src/components/user/avatar_selector/AvatarSelector.docs.mdx +25 -0
- package/src/components/user/avatar_selector/AvatarSelector.jsx +65 -0
- package/src/components/user/avatar_selector/AvatarSelector.module.scss +105 -0
- package/src/components/user/avatar_selector/AvatarSelector.stories.jsx +46 -0
- package/src/components/user/avatar_selector/AvatarSelector.test.jsx +98 -0
- package/src/components/user/avatar_selector/index.js +1 -0
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.docs.mdx +22 -0
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.jsx +254 -0
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.module.scss +176 -0
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.stories.jsx +113 -0
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.test.jsx +213 -0
- package/src/components/user/update_user_info_modal/index.js +2 -0
- package/src/components/user/update_user_info_modal/useUpdateUserInfo.jsx +40 -0
- package/src/components/user/user_box/UserBox.docs.mdx +21 -0
- package/src/components/user/user_box/UserBox.jsx +59 -0
- package/src/components/user/user_box/UserBox.module.scss +86 -0
- package/src/components/user/user_box/UserBox.stories.jsx +82 -0
- package/src/components/user/user_box/UserBox.test.jsx +95 -0
- package/src/components/user/user_box/index.js +1 -0
- package/src/components/user/user_box_small/UserBoxSmall.docs.mdx +20 -0
- package/src/components/user/user_box_small/UserBoxSmall.jsx +36 -0
- package/src/components/user/user_box_small/UserBoxSmall.module.scss +21 -0
- package/src/components/user/user_box_small/UserBoxSmall.stories.jsx +38 -0
- package/src/components/user/user_box_small/UserBoxSmall.test.jsx +49 -0
- package/src/components/user/user_box_small/index.js +1 -0
- package/src/components/user_content/content_footer/ContentFooter.docs.mdx +36 -0
- package/src/components/user_content/content_footer/ContentFooter.jsx +234 -0
- package/src/components/user_content/content_footer/ContentFooter.module.scss +79 -0
- package/src/components/user_content/content_footer/ContentFooter.stories.jsx +438 -0
- package/src/components/user_content/content_footer/ContentFooter.test.jsx +246 -0
- package/src/components/user_content/content_footer/index.js +1 -0
- package/src/components/user_content/content_header/ContentHeader.docs.mdx +27 -0
- package/src/components/user_content/content_header/ContentHeader.jsx +131 -0
- package/src/components/user_content/content_header/ContentHeader.module.scss +111 -0
- package/src/components/user_content/content_header/ContentHeader.stories.jsx +221 -0
- package/src/components/user_content/content_header/ContentHeader.test.jsx +98 -0
- package/src/components/user_content/content_header/index.js +1 -0
- package/src/components/user_content/summary_content_box/SummaryContentBox.docs.mdx +25 -0
- package/src/components/user_content/summary_content_box/SummaryContentBox.jsx +89 -0
- package/src/components/user_content/summary_content_box/SummaryContentBox.module.scss +65 -0
- package/src/components/user_content/summary_content_box/SummaryContentBox.stories.jsx +130 -0
- package/src/components/user_content/summary_content_box/SummaryContentBox.test.jsx +169 -0
- package/src/components/user_content/summary_content_box/index.js +1 -0
- package/src/components/user_content/use_delete_content/index.js +1 -0
- package/src/components/user_content/use_delete_content/useDeleteContent.docs.mdx +34 -0
- package/src/components/user_content/use_delete_content/useDeleteContent.jsx +55 -0
- package/src/components/user_content/use_delete_content/useDeleteContent.test.jsx +78 -0
- package/src/components/user_content/use_report_content/ReportModal.docs.mdx +54 -0
- package/src/components/user_content/use_report_content/ReportModal.jsx +187 -0
- package/src/components/user_content/use_report_content/ReportModal.module.scss +121 -0
- package/src/components/user_content/use_report_content/ReportModal.stories.jsx +61 -0
- package/src/components/user_content/use_report_content/ReportModal.test.jsx +51 -0
- package/src/components/user_content/use_report_content/index.js +2 -0
- package/src/components/user_content/use_report_content/useReportContent.docs.mdx +24 -0
- package/src/components/user_content/use_report_content/useReportContent.jsx +32 -0
- package/src/components/user_content/use_report_content/useReportContent.test.jsx +138 -0
- package/src/components/util/lang_emojis/index.js +1 -0
- package/src/components/util/lang_emojis/langEmojis.docs.mdx +10 -0
- package/src/components/util/lang_emojis/langEmojis.js +72 -0
- package/src/components/util/lang_emojis/langEmojis.test.jsx +63 -0
- package/src/components/util/location/Location.docs.mdx +18 -0
- package/src/components/util/location/Location.js +84 -0
- package/src/components/util/location/Location.test.jsx +24 -0
- package/src/components/util/location/index.js +1 -0
- package/src/components/util/unique_by/index.js +1 -0
- package/src/components/util/unique_by/uniqueBy.docs.mdx +24 -0
- package/src/components/util/unique_by/uniqueBy.js +9 -0
- package/src/components/util/unique_by/uniqueBy.test.jsx +29 -0
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.docs.mdx +24 -0
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.jsx +87 -0
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.module.scss +17 -0
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.stories.jsx +97 -0
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.test.jsx +182 -0
- package/src/components/vote/suggestion_vote_box/index.js +1 -0
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.docs.mdx +24 -0
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.jsx +64 -0
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.module.scss +35 -0
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.stories.jsx +97 -0
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.test.jsx +173 -0
- package/src/components/vote/up_down_vote_box/index.js +1 -0
- package/src/components/vote/use_vote/index.js +1 -0
- package/src/components/vote/use_vote/useVote.docs.mdx +42 -0
- package/src/components/vote/use_vote/useVote.jsx +165 -0
- package/src/components/vote/use_vote/useVote.test.jsx +294 -0
- package/src/components/vote/vote_box/VoteBox.docs.mdx +45 -0
- package/src/components/vote/vote_box/VoteBox.jsx +420 -0
- package/src/components/vote/vote_box/VoteBox.module.scss +254 -0
- package/src/components/vote/vote_box/VoteBox.stories.jsx +319 -0
- package/src/components/vote/vote_box/VoteBox.test.jsx +256 -0
- package/src/components/vote/vote_box/index.js +1 -0
- package/src/components/vote/vote_button/VoteButton.docs.mdx +24 -0
- package/src/components/vote/vote_button/VoteButton.jsx +59 -0
- package/src/components/vote/vote_button/VoteButton.module.scss +35 -0
- package/src/components/vote/vote_button/VoteButton.stories.jsx +97 -0
- package/src/components/vote/vote_button/VoteButton.test.jsx +167 -0
- package/src/components/vote/vote_button/index.js +1 -0
- package/src/components/vote/vote_provider/VoteProvider.docs.mdx +68 -0
- package/src/components/vote/vote_provider/VoteProvider.jsx +63 -0
- package/src/components/vote/vote_provider/VoteProvider.stories.jsx +99 -0
- package/src/components/vote/vote_provider/VoteProvider.test.jsx +137 -0
- package/src/components/vote/vote_provider/index.js +2 -0
- package/src/index.js +127 -0
- package/vitest.config.mjs +52 -0
- package/vitest.setup.js +4 -0
|
@@ -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" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75" />
|
|
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,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const MobileClose = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
|
|
6
|
+
</svg>
|
|
7
|
+
)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const MobileMenu = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5" />
|
|
6
|
+
</svg>
|
|
7
|
+
)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Next = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M3 8.688c0-.864.933-1.405 1.683-.977l7.108 4.062a1.125 1.125 0 010 1.953l-7.108 4.062A1.125 1.125 0 013 16.81V8.688zM12.75 8.688c0-.864.933-1.405 1.683-.977l7.108 4.062a1.125 1.125 0 010 1.953l-7.108 4.062a1.125 1.125 0 01-1.683-.977V8.688z" />
|
|
6
|
+
</svg>
|
|
7
|
+
|
|
8
|
+
)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const OpenBlank = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" />
|
|
6
|
+
</svg>
|
|
7
|
+
)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const OrderedList = (props) => (
|
|
4
|
+
<svg viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
|
|
5
|
+
<g clipPath="url(#clip0_2638_39838)">
|
|
6
|
+
<path d="M2.60488 14.5495H0.40412V16.1948H6.22507V14.5495H4.33684V6H2.80021L0.391098 7.15327L0.794782 8.59869L2.60488 7.73759V14.5495Z" fill="black"/>
|
|
7
|
+
<path d="M16.0466 9.70455C15.2773 9.70455 14.6536 10.3761 14.6536 11.2045C14.6536 12.033 15.2773 12.7045 16.0466 12.7045H48.607C49.3763 12.7045 50 12.033 50 11.2045C50 10.3761 49.3763 9.70455 48.607 9.70455H16.0466Z" fill="black"/>
|
|
8
|
+
<path d="M16.0466 23.6344C15.2773 23.6344 14.6536 24.306 14.6536 25.1344C14.6536 25.9629 15.2773 26.6344 16.0466 26.6344H48.607C49.3763 26.6344 50 25.9629 50 25.1344C50 24.306 49.3763 23.6344 48.607 23.6344H16.0466Z" fill="black"/>
|
|
9
|
+
<path d="M14.6536 39.0643C14.6536 38.2359 15.2773 37.5643 16.0466 37.5643H48.607C49.3763 37.5643 50 38.2359 50 39.0643C50 39.8927 49.3763 40.5643 48.607 40.5643H16.0466C15.2773 40.5643 14.6536 39.8927 14.6536 39.0643Z" fill="black"/>
|
|
10
|
+
<path d="M0.0367292 30.1511V28.5443C0.803968 26.8202 1.96767 25.9442 2.92742 25.2217C3.85786 24.5213 4.59661 23.9652 4.59661 22.9206C4.59661 22.1172 4.27568 21.5108 3.32626 21.5108C2.36347 21.5108 1.92219 22.2536 1.98905 23.4511H0.210566C0.0501013 21.2077 1.24022 19.904 3.44661 19.904C5.53266 19.904 6.42859 20.9803 6.42859 22.7387C6.42859 24.4766 5.31209 25.3099 4.17742 26.1567C3.3526 26.7722 2.51819 27.3949 2.09603 28.3775H6.6158L6.46871 30.1511H0.0367292Z" fill="black"/>
|
|
11
|
+
<path d="M1.88653 39.6121H3.11112C4.47902 39.6121 4.83076 40.186 4.83076 41.0689C4.83076 41.8635 4.41388 42.5551 3.26745 42.5551C2.23827 42.5551 1.7302 42.0695 1.80836 41.0101H0.0366168C-0.210907 43.0849 0.79221 44.0266 3.17626 44.0266C5.56031 44.0266 6.61554 42.7759 6.61554 41.0395C6.61554 39.568 5.89902 38.8617 4.70049 38.6851V38.6557C5.66453 38.3908 6.32893 37.5815 6.32893 36.4337C6.32893 34.9328 5.54728 33.888 3.33259 33.888C1.22212 33.888 0.0626719 34.9033 0.140837 36.8016H1.8735C1.84744 36.007 2.17313 35.3595 3.21534 35.3595C4.12727 35.3595 4.54415 35.8304 4.54415 36.728C4.54415 37.4785 4.15333 38.0671 3.09809 38.0671H1.88653V39.6121Z" fill="black"/>
|
|
12
|
+
</g>
|
|
13
|
+
<defs>
|
|
14
|
+
<clipPath id="clip0_2638_39838">
|
|
15
|
+
<rect width="50" height="50" fill="white"/>
|
|
16
|
+
</clipPath>
|
|
17
|
+
</defs>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
@@ -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" stroke-width="2" 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,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Question = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z" />
|
|
6
|
+
</svg>
|
|
7
|
+
)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Refresh = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99" />
|
|
6
|
+
</svg>
|
|
7
|
+
)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Reply = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10" />
|
|
6
|
+
</svg>
|
|
7
|
+
)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Search = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z" />
|
|
6
|
+
</svg>
|
|
7
|
+
)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Send = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M6 12L3.269 3.126A59.768 59.768 0 0121.485 12 59.77 59.77 0 013.27 20.876L5.999 12zm0 0h7.5" />
|
|
6
|
+
</svg>
|
|
7
|
+
)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Share = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M7.217 10.907a2.25 2.25 0 100 2.186m0-2.186c.18.324.283.696.283 1.093s-.103.77-.283 1.093m0-2.186l9.566-5.314m-9.566 7.5l9.566 5.314m0 0a2.25 2.25 0 103.935 2.186 2.25 2.25 0 00-3.935-2.186zm0-12.814a2.25 2.25 0 103.933-2.185 2.25 2.25 0 00-3.933 2.185z" />
|
|
6
|
+
</svg>
|
|
7
|
+
|
|
8
|
+
)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const SmallArrow = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M19.5 8.25l-7.5 7.5-7.5-7.5" />
|
|
6
|
+
</svg>
|
|
7
|
+
)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Source = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25" />
|
|
6
|
+
</svg>
|
|
7
|
+
|
|
8
|
+
)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Suggestion = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth={1.5} stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M12 18v-5.25m0 0a6.01 6.01 0 001.5-.189m-1.5.189a6.01 6.01 0 01-1.5-.189m3.75 7.478a12.06 12.06 0 01-4.5 0m3.75 2.383a14.406 14.406 0 01-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 10-7.517 0c.85.493 1.509 1.333 1.509 2.316V18" />
|
|
6
|
+
</svg>
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
export const Twitter = (props) => (
|
|
4
|
+
<svg viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
|
|
5
|
+
<path d="M29.1169 21.1716L47.3303 0H43.0143L27.1997 18.383L14.5685 0H0L19.1008 27.7983L0 50H4.31623L21.0169 30.5869L34.3563 50H48.9249L29.1169 21.1716ZM5.87143 3.2492H12.5009L43.0164 46.8986H36.3869L5.87143 3.2492Z" fill="black"/>
|
|
6
|
+
<path d="M29.1169 21.1716L47.3303 0H43.0143L27.1997 18.383L14.5685 0H0L19.1008 27.7983L0 50H4.31623L21.0169 30.5869L34.3563 50H48.9249L29.1169 21.1716ZM5.87143 3.2492H12.5009L43.0164 46.8986H36.3869L5.87143 3.2492Z" fill="black"/>
|
|
7
|
+
<path d="M29.1169 21.1716L47.3303 0H43.0143L27.1997 18.383L14.5685 0H0L19.1008 27.7983L0 50H4.31623L21.0169 30.5869L34.3563 50H48.9249L29.1169 21.1716ZM5.87143 3.2492H12.5009L43.0164 46.8986H36.3869L5.87143 3.2492Z" fill="black"/>
|
|
8
|
+
<path d="M29.1169 21.1716L47.3303 0H43.0143L27.1997 18.383L14.5685 0H0L19.1008 27.7983L0 50H4.31623L21.0169 30.5869L34.3563 50H48.9249L29.1169 21.1716ZM5.87143 3.2492H12.5009L43.0164 46.8986H36.3869L5.87143 3.2492Z" fill="black"/>
|
|
9
|
+
</svg>
|
|
10
|
+
)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Underline = (props) => (
|
|
4
|
+
<svg viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
|
|
5
|
+
<g clipPath="url(#clip0_2638_46095)">
|
|
6
|
+
<path fillRule="evenodd" clipRule="evenodd" d="M19.6972 0H5V25.0101C5 28.4775 6.01479 32.5546 9.09083 35.763C12.1881 38.9936 17.1615 41.122 24.6267 41.0849C32.085 41.0479 36.9733 38.919 40.0149 35.7136C43.0326 32.5333 44.0116 28.5243 44.1384 25.147L44.1395 25.1176V0H29.3001V22.44C29.3001 23.7391 29.2206 24.9237 28.678 25.7975C28.2389 26.5048 27.2738 27.3379 24.6189 27.3379C21.758 27.3379 20.7596 26.5847 20.332 25.9671C19.8043 25.205 19.6972 24.0827 19.6972 22.44V0ZM8.14092 25.0101V3.14092H16.5562V22.44C16.5562 23.9625 16.5859 26.0744 17.7496 27.7551C19.0134 29.5804 21.2612 30.4788 24.6189 30.4788C28.0106 30.4788 30.1714 29.3468 31.3464 27.4544C32.418 25.7285 32.441 23.679 32.441 22.44V3.14092H40.9986V25.058C40.8849 27.9608 40.0471 31.1165 37.7365 33.5516C35.4421 35.9696 31.4734 37.9099 24.6111 37.944C17.7557 37.9781 13.7049 36.0372 11.3581 33.5894C8.99005 31.1194 8.14092 27.9087 8.14092 25.0101ZM8.36134 46.4182C7.37226 46.4182 6.57046 47.2201 6.57046 48.2091C6.57046 49.1982 7.37226 50 8.36134 50H40.7782C41.7673 50 42.5691 49.1982 42.5691 48.2091C42.5691 47.2201 41.7673 46.4182 40.7782 46.4182H8.36134Z" fill="black"/>
|
|
7
|
+
</g>
|
|
8
|
+
<defs>
|
|
9
|
+
<clipPath id="clip0_2638_46095">
|
|
10
|
+
<rect width="50" height="50" fill="white"/>
|
|
11
|
+
</clipPath>
|
|
12
|
+
</defs>
|
|
13
|
+
</svg>
|
|
14
|
+
);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Upvote = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M6.633 10.5c.806 0 1.533-.446 2.031-1.08a9.041 9.041 0 012.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 00.322-1.672V3a.75.75 0 01.75-.75A2.25 2.25 0 0116.5 4.5c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282h3.126c1.026 0 1.945.694 2.054 1.715.045.422.068.85.068 1.285a11.95 11.95 0 01-2.649 7.521c-.388.482-.987.729-1.605.729H13.48c-.483 0-.964-.078-1.423-.23l-3.114-1.04a4.501 4.501 0 00-1.423-.23H5.904M14.25 9h2.25M5.904 18.75c.083.205.173.405.27.602.197.4-.078.898-.523.898h-.908c-.889 0-1.713-.518-1.972-1.368a12 12 0 01-.521-3.507c0-1.553.295-3.036.831-4.398C3.387 10.203 4.167 9.75 5 9.75h1.053c.472 0 .745.556.5.96a8.958 8.958 0 00-1.302 4.665c0 1.194.232 2.333.654 3.375z" />
|
|
6
|
+
</svg>
|
|
7
|
+
)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const User = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z" />
|
|
6
|
+
</svg>
|
|
7
|
+
)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Versus = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth={1.5} stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M3.75 13.5l10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75z" />
|
|
6
|
+
</svg>
|
|
7
|
+
)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Votebox = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth={1.5} stroke="currentColor" {...props}>
|
|
5
|
+
<path strokeLinecap="round" strokeLinejoin="round" d="M10.05 4.575a1.575 1.575 0 10-3.15 0v3m3.15-3v-1.5a1.575 1.575 0 013.15 0v1.5m-3.15 0l.075 5.925m3.075.75V4.575m0 0a1.575 1.575 0 013.15 0V15M6.9 7.575a1.575 1.575 0 10-3.15 0v8.175a6.75 6.75 0 006.75 6.75h2.018a5.25 5.25 0 003.712-1.538l1.732-1.732a5.25 5.25 0 001.538-3.712l.003-2.024a.668.668 0 01.198-.471 1.575 1.575 0 10-2.228-2.228 3.818 3.818 0 00-1.12 2.687M6.9 7.575V12m6.27 4.318A4.49 4.49 0 0116.35 15m.002 0h-.002" />
|
|
6
|
+
</svg>
|
|
7
|
+
)
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export { Alarm } from "./Alarm"
|
|
2
|
+
export { Announcement } from "./Announcement"
|
|
3
|
+
export { Arrow } from "./Arrow"
|
|
4
|
+
export { Blockquote } from "./Blockquote"
|
|
5
|
+
export { Bold } from "./Bold"
|
|
6
|
+
export { Camera } from "./Camera"
|
|
7
|
+
export { Chat } from "./Chat"
|
|
8
|
+
export { Checkbox } from "./Checkbox"
|
|
9
|
+
export { Check } from "./Check"
|
|
10
|
+
export { Clap } from "./Clap"
|
|
11
|
+
export { Clock } from "./Clock"
|
|
12
|
+
export { Close } from "./Close"
|
|
13
|
+
export { Code } from "./Code"
|
|
14
|
+
export { Community } from "./Community"
|
|
15
|
+
export { Crown } from "./Crown"
|
|
16
|
+
export { Downvote } from "./Downvote"
|
|
17
|
+
export { Ellipsis } from "./Ellipsis"
|
|
18
|
+
export { ExpertBadge } from "./ExpertBadge"
|
|
19
|
+
export { Facebook } from "./Facebook"
|
|
20
|
+
export { Home } from "./Home"
|
|
21
|
+
export { Italic } from "./Italic"
|
|
22
|
+
export { LightArrow } from "./LightArrow"
|
|
23
|
+
export { Link } from "./Link"
|
|
24
|
+
export { Login } from "./Login"
|
|
25
|
+
export { Logora } from "./Logora"
|
|
26
|
+
export { Mail } from "./Mail"
|
|
27
|
+
export { MobileClose } from "./MobileClose"
|
|
28
|
+
export { MobileMenu } from "./MobileMenu"
|
|
29
|
+
export { Next } from "./Next"
|
|
30
|
+
export { OpenBlank } from "./OpenBlank"
|
|
31
|
+
export { OrderedList } from "./OrderedList"
|
|
32
|
+
export { Point } from "./Point"
|
|
33
|
+
export { Question } from "./Question"
|
|
34
|
+
export { Refresh } from "./Refresh"
|
|
35
|
+
export { Reply } from "./Reply"
|
|
36
|
+
export { Search } from "./Search"
|
|
37
|
+
export { Send } from "./Send"
|
|
38
|
+
export { Share } from "./Share"
|
|
39
|
+
export { SmallArrow } from "./SmallArrow"
|
|
40
|
+
export { Source } from "./Source"
|
|
41
|
+
export { Suggestion } from './Suggestion';
|
|
42
|
+
export { Twitter } from "./Twitter"
|
|
43
|
+
export { Underline } from "./Underline"
|
|
44
|
+
export { Upvote } from "./Upvote";
|
|
45
|
+
export { User } from "./User"
|
|
46
|
+
export { Votebox } from './Votebox';
|
|
47
|
+
export { Versus } from'./Versus';
|
|
48
|
+
export { CheckCircle } from './CheckCircle';
|
|
49
|
+
export { MinusCircle} from './MinusCircle';
|
|
50
|
+
export { Flag } from './Flag';
|
|
51
|
+
export { PauseCircle} from './PauseCircle'
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: An generic icon component.
|
|
3
|
+
labels: ['icon', 'icon-library']
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
An icon component that will get the icon from an icon library stored in the [IconContext](https://bit.cloud/logora/debate/icons/icon_provider).
|
|
7
|
+
|
|
8
|
+
It must be inside the IconProvider.
|
|
9
|
+
|
|
10
|
+
### Component usage
|
|
11
|
+
|
|
12
|
+
```js
|
|
13
|
+
import { Icon } from '@logora/debate.icons.icon';
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
```js
|
|
17
|
+
<IconProvider libraryName={"regular"}>
|
|
18
|
+
<Icon name={"arrow"} width={30} height={30} />
|
|
19
|
+
</IconProvider>
|
|
20
|
+
```
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React, { useContext } from 'react';
|
|
2
|
+
import { IconContext } from '@logora/debate/icons/icon_provider';
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
|
+
|
|
5
|
+
export const Icon = ({ name, height = 20, width = 20, className, ...rest }) => {
|
|
6
|
+
const { iconLibrary } = useContext(IconContext);
|
|
7
|
+
|
|
8
|
+
if (!iconLibrary || !name) {
|
|
9
|
+
return null;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
function capitalizeFirstLetter(string) {
|
|
13
|
+
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const IconComponent = iconLibrary[capitalizeFirstLetter(name)];
|
|
17
|
+
|
|
18
|
+
return IconComponent ? <IconComponent height={height} width={width} className={className} {...rest} /> : null;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
Icon.propTypes = {
|
|
22
|
+
/** Icon name */
|
|
23
|
+
name: PropTypes.string.isRequired,
|
|
24
|
+
/** Icon height in pixels */
|
|
25
|
+
height: PropTypes.number,
|
|
26
|
+
/** Icon width in pixels */
|
|
27
|
+
width: PropTypes.number,
|
|
28
|
+
/** Icon class name */
|
|
29
|
+
className: PropTypes.string,
|
|
30
|
+
/** Extra props passed to the icon */
|
|
31
|
+
rest: PropTypes.object
|
|
32
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { render, act, screen, waitFor } from '@testing-library/react';
|
|
3
|
+
import { IconProvider } from '@logora/debate/icons/icon_provider';
|
|
4
|
+
import { Icon } from './Icon';
|
|
5
|
+
import * as regularIcons from '@logora/debate/icons/regular_icons';
|
|
6
|
+
|
|
7
|
+
describe('Icon', () => {
|
|
8
|
+
it('should render icon', async () => {
|
|
9
|
+
act(()=>{
|
|
10
|
+
render(
|
|
11
|
+
<IconProvider library={regularIcons}>
|
|
12
|
+
<Icon data-testid={"test-icon"} name={"italic"} />
|
|
13
|
+
</IconProvider>
|
|
14
|
+
);
|
|
15
|
+
});
|
|
16
|
+
await waitFor(() => {
|
|
17
|
+
expect(screen.queryByTestId("test-icon")).toBeTruthy();
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
it('should render nothing if icon is not found', async () => {
|
|
22
|
+
act(()=>{
|
|
23
|
+
render(
|
|
24
|
+
<IconProvider library={regularIcons}>
|
|
25
|
+
<Icon data-testid={"test-icon"} name={"random"} />
|
|
26
|
+
</IconProvider>
|
|
27
|
+
);
|
|
28
|
+
});
|
|
29
|
+
await waitFor(() => {
|
|
30
|
+
expect(screen.queryByTestId("test-icon")).toBeNull();
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Icon } from './Icon';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: A provider to store an icon library.
|
|
3
|
+
labels: ['icons', 'icon-provider']
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
IconProvider is a context component to store a library of icons.
|
|
7
|
+
|
|
8
|
+
Pass a library, and it store it in the context.
|
|
9
|
+
|
|
10
|
+
It should be used with the [Icon component](https://bit.cloud/logora/debate/icons/icon).
|
|
11
|
+
|
|
12
|
+
### Component usage
|
|
13
|
+
|
|
14
|
+
```js
|
|
15
|
+
import { IconProvider, IconContext } from '@logora/debate.icons.icon_provider';
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
```js
|
|
19
|
+
import * as regularIcons from '@logora/debate.icons.icon_provider';
|
|
20
|
+
|
|
21
|
+
const ComponentWithIcons = () => {
|
|
22
|
+
return <div>Hello world !</div>
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
<IconProvider library={regularIcons}>
|
|
26
|
+
<ComponentWithIcons />
|
|
27
|
+
</IconProvider>
|
|
28
|
+
```
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { useState, useEffect , createContext} from 'react';
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
|
|
4
|
+
export const IconContext = createContext({ iconLibrary: {} });
|
|
5
|
+
|
|
6
|
+
export const IconProvider = ({ library, children }) => {
|
|
7
|
+
return (
|
|
8
|
+
<IconContext.Provider value={{ iconLibrary: library }}>
|
|
9
|
+
{children}
|
|
10
|
+
</IconContext.Provider>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
IconProvider.propTypes = {
|
|
15
|
+
/** Library name if async or module */
|
|
16
|
+
library: PropTypes.any.isRequired,
|
|
17
|
+
/** Provider children */
|
|
18
|
+
children: PropTypes.node
|
|
19
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { render, act, screen, waitFor } from '@testing-library/react';
|
|
3
|
+
import { IconProvider } from './IconProvider';
|
|
4
|
+
import * as regularIcons from '@logora/debate/icons/regular_icons';
|
|
5
|
+
|
|
6
|
+
const ComponentWithIcons = () => {
|
|
7
|
+
return <div>Hello world !</div>
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
describe('IconProvider', () => {
|
|
11
|
+
it('should render component with icon library', async () => {
|
|
12
|
+
act(()=> {
|
|
13
|
+
render(
|
|
14
|
+
<IconProvider library={regularIcons}>
|
|
15
|
+
<ComponentWithIcons />
|
|
16
|
+
</IconProvider>
|
|
17
|
+
);
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
await waitFor(() => {
|
|
21
|
+
expect(screen.getByText(/hello world/i)).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IconProvider, IconContext } from './IconProvider';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Alarm = (props) => (
|
|
4
|
+
<svg
|
|
5
|
+
{...props}
|
|
6
|
+
viewBox="0 0 24 24"
|
|
7
|
+
fill="none"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
>
|
|
10
|
+
<mask
|
|
11
|
+
id="mask0_167_6301"
|
|
12
|
+
style={{ maskType: 'alpha' }}
|
|
13
|
+
maskUnits="userSpaceOnUse"
|
|
14
|
+
x="0"
|
|
15
|
+
y="0"
|
|
16
|
+
width="24"
|
|
17
|
+
height="24"
|
|
18
|
+
>
|
|
19
|
+
<rect width="24" height="24" fill="#D9D9D9" />
|
|
20
|
+
</mask>
|
|
21
|
+
<g mask="url(#mask0_167_6301)">
|
|
22
|
+
<path
|
|
23
|
+
d="M4 19V17H6V10C6 8.61667 6.41667 7.3875 7.25 6.3125C8.08333 5.2375 9.16667 4.53333 10.5 4.2V3.5C10.5 3.08333 10.6458 2.72917 10.9375 2.4375C11.2292 2.14583 11.5833 2 12 2C12.4167 2 12.7708 2.14583 13.0625 2.4375C13.3542 2.72917 13.5 3.08333 13.5 3.5V4.2C14.8333 4.53333 15.9167 5.2375 16.75 6.3125C17.5833 7.3875 18 8.61667 18 10V17H20V19H4ZM12 22C11.45 22 10.9792 21.8042 10.5875 21.4125C10.1958 21.0208 10 20.55 10 20H14C14 20.55 13.8042 21.0208 13.4125 21.4125C13.0208 21.8042 12.55 22 12 22ZM8 17H16V10C16 8.9 15.6083 7.95833 14.825 7.175C14.0417 6.39167 13.1 6 12 6C10.9 6 9.95833 6.39167 9.175 7.175C8.39167 7.95833 8 8.9 8 10V17Z"
|
|
24
|
+
/>
|
|
25
|
+
</g>
|
|
26
|
+
</svg>
|
|
27
|
+
)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Announcement = (props) => (
|
|
4
|
+
<svg
|
|
5
|
+
{...props}
|
|
6
|
+
viewBox="0 0 24 24"
|
|
7
|
+
fill="none"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
>
|
|
10
|
+
<path
|
|
11
|
+
fillRule="evenodd"
|
|
12
|
+
clipRule="evenodd"
|
|
13
|
+
d="M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM11 17V15H13V17H11ZM11 7V13H13V7H11Z"
|
|
14
|
+
/>
|
|
15
|
+
</svg>
|
|
16
|
+
);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Arrow = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
|
5
|
+
<path d="M19,11H9l3.29-3.29a1,1,0,0,0,0-1.42,1,1,0,0,0-1.41,0l-4.29,4.3A2,2,0,0,0,6,12H6a2,2,0,0,0,.59,1.4l4.29,4.3a1,1,0,1,0,1.41-1.42L9,13H19a1,1,0,0,0,0-2Z"/>
|
|
6
|
+
</svg>
|
|
7
|
+
)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const Bold = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
|
5
|
+
<path d="M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z"/>
|
|
6
|
+
</svg>
|
|
7
|
+
);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
export const Camera = (props) => (
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
|
5
|
+
<path d="M19,4h-.508L16.308,1.168A3.023,3.023,0,0,0,13.932,0H10.068A3.023,3.023,0,0,0,7.692,1.168L5.508,4H5A5.006,5.006,0,0,0,0,9V19a5.006,5.006,0,0,0,5,5H19a5.006,5.006,0,0,0,5-5V9A5.006,5.006,0,0,0,19,4ZM9.276,2.39A1.006,1.006,0,0,1,10.068,2h3.864a1.008,1.008,0,0,1,.792.39L15.966,4H8.034ZM22,19a3,3,0,0,1-3,3H5a3,3,0,0,1-3-3V9A3,3,0,0,1,5,6H19a3,3,0,0,1,3,3Z"/>
|
|
6
|
+
<path d="M12,8a6,6,0,1,0,6,6A6.006,6.006,0,0,0,12,8Zm0,10a4,4,0,1,1,4-4A4,4,0,0,1,12,18Z"/>
|
|
7
|
+
</svg>
|
|
8
|
+
)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
export const Chat = (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
|
+
)
|