@logora/debate 0.1.0 → 0.2.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/README.md +14 -23
- package/dist/_virtual/_rolldown/runtime.js +23 -0
- package/dist/assets/debate-Bv79XlHp.css +2 -0
- package/dist/components/action/back_link/BackLink.js +24 -0
- package/dist/components/action/back_link/BackLink.module.js +6 -0
- package/dist/components/action/button/Button.js +34 -0
- package/dist/components/action/button/Button.module.js +10 -0
- package/dist/components/action/icon_text_link/IconTextLink.js +37 -0
- package/dist/components/action/icon_text_link/IconTextLink.module.js +11 -0
- package/dist/components/action/link/Link.js +23 -0
- package/dist/components/ad/ad_unit/AdUnit.js +42 -0
- package/dist/components/ad/ad_unit/AdUnit.module.js +3 -0
- package/dist/components/ad/use_google_ad_manager/useGoogleAdManager.js +22 -0
- package/dist/components/ad/with_ad/WithAd.js +13 -0
- package/dist/components/argument/argument/Argument.js +266 -0
- package/dist/components/argument/argument/Argument.module.js +34 -0
- package/dist/components/argument/argument/ReplyFooter.js +39 -0
- package/dist/components/argument/argument/ReplyFooter.module.js +10 -0
- package/dist/components/argument/argument/useRichContent.js +14 -0
- package/dist/components/argument/top_arguments/TopArguments.js +63 -0
- package/dist/components/argument/top_arguments/TopArguments.module.js +9 -0
- package/dist/components/auth/auth_initializer/AuthInitializer.js +35 -0
- package/dist/components/auth/auth_modal/AuthModal.js +68 -0
- package/dist/components/auth/auth_modal/AuthModal.module.js +3 -0
- package/dist/components/auth/auth_modal/index.js +2 -0
- package/dist/components/auth/facebook_login_button/FacebookIcon.js +14 -0
- package/dist/components/auth/facebook_login_button/FacebookLoginButton.js +29 -0
- package/dist/components/auth/facebook_login_button/FacebookLoginButton.module.js +6 -0
- package/dist/components/auth/google_login_button/GoogleIcon.js +29 -0
- package/dist/components/auth/google_login_button/GoogleLoginButton.js +31 -0
- package/dist/components/auth/google_login_button/GoogleLoginButton.module.js +6 -0
- package/dist/components/auth/login_form/LoginForm.js +84 -0
- package/dist/components/auth/login_form/LoginForm.module.js +9 -0
- package/dist/components/auth/oauth2_button/OAuth2Button.js +37 -0
- package/dist/components/auth/oauth2_button/OAuth2Button.module.js +6 -0
- package/dist/components/auth/providers/AuthProvider.js +20 -0
- package/dist/components/auth/providers/AuthProviderFactory.js +10 -0
- package/dist/components/auth/providers/FormAuth.js +29 -0
- package/dist/components/auth/providers/JWTAuth.js +27 -0
- package/dist/components/auth/providers/OAuth2ServerAuth.js +35 -0
- package/dist/components/auth/providers/PasswordAuth.js +25 -0
- package/dist/components/auth/signup_form/SignupForm.js +155 -0
- package/dist/components/auth/signup_form/SignupForm.module.js +7 -0
- package/dist/components/auth/social_auth_form/SocialAuthForm.js +199 -0
- package/dist/components/auth/social_auth_form/SocialAuthForm.module.js +21 -0
- package/dist/components/auth/sso_form/SSOForm.js +147 -0
- package/dist/components/auth/sso_form/SSOForm.module.js +17 -0
- package/dist/components/auth/use_auth/AuthContext.js +5 -0
- package/dist/components/auth/use_auth/AuthProvider.js +25 -0
- package/dist/components/auth/use_auth/AuthStorage.js +29 -0
- package/dist/components/auth/use_auth/authTokenHandler.js +45 -0
- package/dist/components/auth/use_auth/useAuth.js +6 -0
- package/dist/components/auth/use_auth/useAuthActions.js +35 -0
- package/dist/components/auth/use_auth/useAuthInterceptor.js +27 -0
- package/dist/components/chart/line_chart/LineChart.js +101 -0
- package/dist/components/chart/line_chart/LineChart.module.js +9 -0
- package/dist/components/chart/pie_chart/PieChart.js +69 -0
- package/dist/components/chart/pie_chart/PieChart.module.js +3 -0
- package/dist/components/consultation/consultation_box/ConsultationBox.js +123 -0
- package/dist/components/consultation/consultation_box/ConsultationBox.module.js +21 -0
- package/dist/components/data/axios_client/httpClient.js +8 -0
- package/dist/components/data/config_provider/ConfigProvider.js +12 -0
- package/dist/components/data/config_provider/useConfig.js +9 -0
- package/dist/components/data/config_provider/useRoutes.js +9 -0
- package/dist/components/data/config_provider/withConfig.js +10 -0
- package/dist/components/data/data_provider/DataProvider.js +101 -0
- package/dist/components/data/data_provider/DataProviderContext.js +5 -0
- package/dist/components/data/data_provider/useData.js +9 -0
- package/dist/components/data/data_provider/useDataProvider.js +9 -0
- package/dist/components/debate/debate_box/DebateBox.js +156 -0
- package/dist/components/debate/debate_box/DebateBox.module.js +26 -0
- package/dist/components/dialog/announcement_dialog/AnnouncementDialog.js +30 -0
- package/dist/components/dialog/announcement_dialog/AnnouncementDialog.module.js +8 -0
- package/dist/components/dialog/confirm_modal/ConfirmModal.js +38 -0
- package/dist/components/dialog/confirm_modal/ConfirmModal.module.js +8 -0
- package/dist/components/dialog/countdown/Countdown.js +23 -0
- package/dist/components/dialog/dialog_box/DialogBox.js +51 -0
- package/dist/components/dialog/dialog_box/DialogBox.module.js +16 -0
- package/dist/components/dialog/drawer/Drawer.js +127 -0
- package/dist/components/dialog/drawer/Drawer.module.js +17 -0
- package/dist/components/dialog/dropdown/Dropdown.js +29 -0
- package/dist/components/dialog/dropdown/Dropdown.module.js +10 -0
- package/dist/components/dialog/modal/Modal.js +65 -0
- package/dist/components/dialog/modal/Modal.module.js +12 -0
- package/dist/components/dialog/modal/ModalProvider.js +20 -0
- package/dist/components/dialog/modal/useModal.js +6 -0
- package/dist/components/dialog/toast/Toast.js +41 -0
- package/dist/components/dialog/toast/Toast.module.js +14 -0
- package/dist/components/dialog/toast_provider/ToastContext.js +5 -0
- package/dist/components/dialog/toast_provider/ToastProvider.js +29 -0
- package/dist/components/dialog/toast_provider/ToastProvider.module.js +3 -0
- package/dist/components/dialog/toast_provider/useToast.js +12 -0
- package/dist/components/dialog/tooltip/Tooltip.js +32 -0
- package/dist/components/dialog/tooltip/Tooltip.module.js +12 -0
- package/dist/components/embed/embed_header/EmbedHeader.js +72 -0
- package/dist/components/embed/embed_header/EmbedHeader.module.js +18 -0
- package/dist/components/error/standard_error_boundary/StandardErrorBoundary.js +18 -0
- package/dist/components/error/standard_error_boundary/StandardErrorBoundary.module.js +3 -0
- package/dist/components/follow/follow_button/FollowButton.js +49 -0
- package/dist/components/follow/follow_button/FollowButton.module.js +6 -0
- package/dist/components/follow/use_follow/useFollow.js +36 -0
- package/dist/components/forms/form/extract-form-data.js +12 -0
- package/dist/components/forms/form/form-context.js +5 -0
- package/dist/components/forms/form/form.js +28 -0
- package/dist/components/forms/form/use-form-context.js +32 -0
- package/dist/components/forms/form/use-form.js +6 -0
- package/dist/components/forms/use_form_validation/useFormValidation.js +45 -0
- package/dist/components/gamification/badge_box/BadgeBox.js +94 -0
- package/dist/components/gamification/badge_box/BadgeBox.module.js +19 -0
- package/dist/components/gamification/point_box/PointBox.js +19 -0
- package/dist/components/gamification/point_box/PointBox.module.js +7 -0
- package/dist/components/hooks/use_auth_required/useAuthRequired.js +16 -0
- package/dist/components/hooks/use_css_theme/useCssTheme.js +16 -0
- package/dist/components/hooks/use_font_loader/useFontLoader.js +8 -0
- package/dist/components/hooks/use_matomo/useMatomo.js +10 -0
- package/dist/components/hooks/use_relative_time/useRelativeTime.js +53 -0
- package/dist/components/hooks/use_responsive/ResponsiveContext.js +5 -0
- package/dist/components/hooks/use_responsive/ResponsiveProvider.js +33 -0
- package/dist/components/hooks/use_responsive/useResponsive.js +14 -0
- package/dist/components/icons/icon/Icon.js +20 -0
- package/dist/components/icons/icon_provider/IconProvider.js +9 -0
- package/dist/components/icons/krone_icons/CheckBox.js +17 -0
- package/dist/components/input/argument_input/ArgumentInput.js +286 -0
- package/dist/components/input/argument_input/ArgumentInput.module.js +23 -0
- package/dist/components/input/argument_input/index.js +2 -0
- package/dist/components/input/checkbox/hidden/hidden-checkbox.js +16 -0
- package/dist/components/input/checkbox/hidden/hidden-checkbox.module.js +3 -0
- package/dist/components/input/checkbox/indicator/checkbox-indicator.js +19 -0
- package/dist/components/input/checkbox/indicator/checkbox-indicator.module.js +6 -0
- package/dist/components/input/checkbox/label/checkbox-label.js +27 -0
- package/dist/components/input/input_provider/InputProvider.js +21 -0
- package/dist/components/input/input_provider/useInput.js +6 -0
- package/dist/components/input/search_input/SearchInput.js +74 -0
- package/dist/components/input/search_input/SearchInput.module.js +8 -0
- package/dist/components/input/select/Select.js +76 -0
- package/dist/components/input/select/Select.module.js +12 -0
- package/dist/components/input/text_editor/EditorTheme.js +69 -0
- package/dist/components/input/text_editor/TextEditor.js +147 -0
- package/dist/components/input/text_editor/TextEditor.module.js +24 -0
- package/dist/components/input/text_editor/lexicalToHtml.js +22 -0
- package/dist/components/input/text_editor/plugins/AutoSavePlugin.js +25 -0
- package/dist/components/input/text_editor/plugins/FocusPlugin.js +14 -0
- package/dist/components/input/text_editor/plugins/MaxLengthPlugin.js +23 -0
- package/dist/components/input/text_editor/plugins/ResetPlugin.js +18 -0
- package/dist/components/input/text_editor/plugins/SetContentPlugin.js +18 -0
- package/dist/components/input/text_editor/plugins/SetRichContentPlugin.js +15 -0
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.js +170 -0
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.module.js +17 -0
- package/dist/components/input/text_input/TextInput.js +36 -0
- package/dist/components/input/text_input/TextInput.module.js +12 -0
- package/dist/components/input/text_input/color-accent.js +12 -0
- package/dist/components/input/text_input/message.js +16 -0
- package/dist/components/input/toggle/Toggle.js +28 -0
- package/dist/components/input/toggle/Toggle.module.js +9 -0
- package/dist/components/input/toggle_position/TogglePosition.js +48 -0
- package/dist/components/input/toggle_position/TogglePosition.module.js +10 -0
- package/dist/components/intl/intl_provider/IntlContext.js +5 -0
- package/dist/components/intl/intl_provider/IntlProvider.js +38 -0
- package/dist/components/intl/intl_provider/useLocale.js +12 -0
- package/dist/components/list/list_provider/ListProvider.js +45 -0
- package/dist/components/list/list_provider/useList.js +22 -0
- package/dist/components/list/paginated_list/PaginatedList.js +178 -0
- package/dist/components/list/paginated_list/PaginatedList.module.js +18 -0
- package/dist/components/list/paginated_list/VotePaginatedList.js +20 -0
- package/dist/components/list/paginated_list/action_bar/ActionBar.js +75 -0
- package/dist/components/list/paginated_list/action_bar/ActionBar.module.js +13 -0
- package/dist/components/list/pagination/Pagination.js +27 -0
- package/dist/components/list/pagination/Pagination.module.js +3 -0
- package/dist/components/modal/side_modal/SideModal.js +60 -0
- package/dist/components/modal/side_modal/SideModal.module.js +11 -0
- package/dist/components/modal/side_modal/index.js +2 -0
- package/dist/components/navbar/navbar_button/NavbarButton.js +29 -0
- package/dist/components/navbar/navbar_button/NavbarButton.module.js +6 -0
- package/dist/components/navbar/navbar_modal/NavbarModal.js +157 -0
- package/dist/components/navbar/navbar_modal/NavbarModal.module.js +16 -0
- package/dist/components/notification/notification_item/NotificationItem.js +50 -0
- package/dist/components/notification/notification_item/NotificationItem.module.js +10 -0
- package/dist/components/notification/notification_menu/NotificationMenu.js +53 -0
- package/dist/components/notification/notification_menu/NotificationMenu.module.js +8 -0
- package/dist/components/progress/loader/Loader.js +13 -0
- package/dist/components/progress/loader/Loader.module.js +7 -0
- package/dist/components/progress/progress_bar/ProgressBar.js +59 -0
- package/dist/components/progress/progress_bar/ProgressBar.module.js +14 -0
- package/dist/components/proposal/proposal_box/ProposalBox.js +108 -0
- package/dist/components/proposal/proposal_box/ProposalBox.module.js +11 -0
- package/dist/components/report/report_box/ReportBox.js +102 -0
- package/dist/components/report/report_box/ReportBox.module.js +11 -0
- package/dist/components/section/section_box/SectionBox.js +40 -0
- package/dist/components/section/section_box/SectionBox.module.js +14 -0
- package/dist/components/share/share_box/ShareBox.js +132 -0
- package/dist/components/share/share_box/ShareBox.module.js +10 -0
- package/dist/components/share/share_button/ShareButton.js +73 -0
- package/dist/components/share/share_button/ShareButton.module.js +9 -0
- package/dist/components/share/share_modal/ShareModal.js +28 -0
- package/dist/components/share/share_modal/ShareModal.module.js +3 -0
- package/dist/components/share/share_modal/index.js +2 -0
- package/dist/components/skeleton/box_skeleton/BoxSkeleton.js +63 -0
- package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.js +57 -0
- package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.module.js +13 -0
- package/dist/components/source/context_source_box/ContextSourceBox.js +45 -0
- package/dist/components/source/context_source_box/ContextSourceBox.module.js +10 -0
- package/dist/components/source/context_source_list/ContextSourceList.js +43 -0
- package/dist/components/source/context_source_list/ContextSourceList.module.js +10 -0
- package/dist/components/source/source_box/SourceBox.js +39 -0
- package/dist/components/source/source_box/SourceBox.module.js +11 -0
- package/dist/components/source/source_list_item/SourceListItem.js +32 -0
- package/dist/components/source/source_list_item/SourceListItem.module.js +6 -0
- package/dist/components/source/source_modal/SourceModal.js +110 -0
- package/dist/components/source/source_modal/SourceModal.module.js +11 -0
- package/dist/components/suggestion/suggestion_banner/SuggestionBanner.js +99 -0
- package/dist/components/suggestion/suggestion_banner/SuggestionBanner.module.js +13 -0
- package/dist/components/suggestion/suggestion_box/SuggestionBox.js +97 -0
- package/dist/components/suggestion/suggestion_box/SuggestionBox.module.js +13 -0
- package/dist/components/suggestion/suggestion_input/SuggestionInput.js +157 -0
- package/dist/components/suggestion/suggestion_input/SuggestionInput.module.js +11 -0
- package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.js +62 -0
- package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.module.js +13 -0
- package/dist/components/summary/keyword_box/KeywordBox.js +38 -0
- package/dist/components/summary/keyword_box/KeywordBox.module.js +11 -0
- package/dist/components/summary/summary/Summary.js +73 -0
- package/dist/components/summary/summary/Summary.module.js +6 -0
- package/dist/components/summary/summary_box/SummaryBox.js +22 -0
- package/dist/components/summary/summary_box/SummaryBox.module.js +10 -0
- package/dist/components/tag/tag/Tag.js +19 -0
- package/dist/components/tag/tag/Tag.module.js +6 -0
- package/dist/components/text/expandable_text/ArrowIcon.js +11 -0
- package/dist/components/text/expandable_text/ExpandableText.js +53 -0
- package/dist/components/text/expandable_text/ExpandableText.module.js +10 -0
- package/dist/components/text/read_more/ReadMore.js +63 -0
- package/dist/components/text/read_more/ReadMore.module.js +11 -0
- package/dist/components/tools/hash_scroll/HashScroll.js +18 -0
- package/dist/components/tools/scroll_to_top/ScrollToTop.js +15 -0
- package/dist/components/translation/translated_content/TranslatedContent.js +7 -0
- package/dist/components/translation/translated_content/useTranslatedContent.js +26 -0
- package/dist/components/translation/translation_button/TranslationButton.js +35 -0
- package/dist/components/translation/translation_button/TranslationButton.module.js +3 -0
- package/dist/components/user/author_box/AuthorBox.js +114 -0
- package/dist/components/user/author_box/AuthorBox.module.js +18 -0
- package/dist/components/user/avatar/Avatar.js +54 -0
- package/dist/components/user/avatar/Avatar.module.js +8 -0
- package/dist/components/user/avatar/DefaultAvatar.js +17 -0
- package/dist/components/user/avatar_selector/AvatarSelector.js +108 -0
- package/dist/components/user/avatar_selector/AvatarSelector.module.js +18 -0
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.js +251 -0
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.module.js +23 -0
- package/dist/components/user/update_user_info_modal/useUpdateUserInfo.js +26 -0
- package/dist/components/user/user_box/UserBox.js +82 -0
- package/dist/components/user/user_box/UserBox.module.js +13 -0
- package/dist/components/user/user_box_small/UserBoxSmall.js +44 -0
- package/dist/components/user/user_box_small/UserBoxSmall.module.js +6 -0
- package/dist/components/user_content/content_footer/ContentFooter.js +172 -0
- package/dist/components/user_content/content_footer/ContentFooter.module.js +11 -0
- package/dist/components/user_content/content_header/ContentHeader.js +121 -0
- package/dist/components/user_content/content_header/ContentHeader.module.js +16 -0
- package/dist/components/user_content/summary_content_box/SummaryContentBox.js +72 -0
- package/dist/components/user_content/summary_content_box/SummaryContentBox.module.js +10 -0
- package/dist/components/user_content/use_delete_content/useDeleteContent.js +46 -0
- package/dist/components/user_content/use_report_content/ReportModal.js +266 -0
- package/dist/components/user_content/use_report_content/ReportModal.module.js +15 -0
- package/dist/components/user_content/use_report_content/useReportContent.js +24 -0
- package/dist/components/util/lang_emojis/langEmojis.js +57 -0
- package/dist/components/util/location/Location.js +41 -0
- package/dist/components/util/unique_by/uniqueBy.js +7 -0
- package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.js +81 -0
- package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.module.js +6 -0
- package/dist/components/vote/up_down_vote_box/UpDownVoteBox.js +56 -0
- package/dist/components/vote/up_down_vote_box/UpDownVoteBox.module.js +10 -0
- package/dist/components/vote/use_vote/useVote.js +62 -0
- package/dist/components/vote/vote_box/VoteBox.js +297 -0
- package/dist/components/vote/vote_box/VoteBox.module.js +31 -0
- package/dist/components/vote/vote_button/VoteButton.js +40 -0
- package/dist/components/vote/vote_button/VoteButton.module.js +7 -0
- package/dist/components/vote/vote_provider/VoteProvider.js +40 -0
- package/dist/index.js +146 -0
- package/dist/node_modules/.pnpm/@formatjs_fast-memoize@2.2.7/node_modules/@formatjs/fast-memoize/lib/index.js +51 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/date-time-pattern-generator.js +28 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/error.js +7 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/index.js +26 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/manipulator.js +1 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js +499 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js +4 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/time-data.generated.js +1159 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/types.js +44 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js +101 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/number.js +182 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js +4 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/create-intl.js +39 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/dateTime.js +80 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/displayName.js +22 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/error.js +66 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/list.js +39 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/message.js +59 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/number.js +53 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/plural.js +18 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/relativeTime.js +22 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/utils.js +115 -0
- package/dist/node_modules/.pnpm/@kurkle_color@0.3.4/node_modules/@kurkle/color/dist/color.esm.js +470 -0
- package/dist/node_modules/.pnpm/@lexical_clipboard@0.38.2/node_modules/@lexical/clipboard/LexicalClipboard.prod.js +163 -0
- package/dist/node_modules/.pnpm/@lexical_dragon@0.38.2/node_modules/@lexical/dragon/LexicalDragon.prod.js +51 -0
- package/dist/node_modules/.pnpm/@lexical_extension@0.38.2/node_modules/@lexical/extension/LexicalExtension.prod.js +796 -0
- package/dist/node_modules/.pnpm/@lexical_headless@0.38.2/node_modules/@lexical/headless/LexicalHeadless.prod.js +21 -0
- package/dist/node_modules/.pnpm/@lexical_history@0.38.2/node_modules/@lexical/history/LexicalHistory.prod.js +132 -0
- package/dist/node_modules/.pnpm/@lexical_html@0.38.2/node_modules/@lexical/html/LexicalHtml.prod.js +88 -0
- package/dist/node_modules/.pnpm/@lexical_list@0.38.2/node_modules/@lexical/list/LexicalList.prod.js +737 -0
- package/dist/node_modules/.pnpm/@lexical_overflow@0.38.2/node_modules/@lexical/overflow/LexicalOverflow.prod.js +37 -0
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalCharacterLimitPlugin.prod.js +136 -0
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalComposer.prod.js +53 -0
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalComposerContext.prod.js +20 -0
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalContentEditable.prod.js +85 -0
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalEditorRefPlugin.prod.js +11 -0
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalErrorBoundary.prod.js +20 -0
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalHistoryPlugin.prod.js +17 -0
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalListPlugin.prod.js +16 -0
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalOnChangePlugin.prod.js +20 -0
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalReactProviderExtension.prod.js +5 -0
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalRichTextPlugin.prod.js +96 -0
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/useLexicalEditable.prod.js +23 -0
- package/dist/node_modules/.pnpm/@lexical_rich-text@0.38.2/node_modules/@lexical/rich-text/LexicalRichText.prod.js +418 -0
- package/dist/node_modules/.pnpm/@lexical_selection@0.38.2/node_modules/@lexical/selection/LexicalSelection.prod.js +170 -0
- package/dist/node_modules/.pnpm/@lexical_text@0.38.2/node_modules/@lexical/text/LexicalText.prod.js +33 -0
- package/dist/node_modules/.pnpm/@lexical_utils@0.38.2/node_modules/@lexical/utils/LexicalUtils.prod.js +112 -0
- package/dist/node_modules/.pnpm/@rooks_use-localstorage-state@4.11.2_react@18.3.1/node_modules/@rooks/use-localstorage-state/lib/index.esm.js +50 -0
- package/dist/node_modules/.pnpm/@rooks_use-previous@4.11.2/node_modules/@rooks/use-previous/lib/index.esm.js +10 -0
- package/dist/node_modules/.pnpm/@rooks_use-sessionstorage-state@4.11.2_react@18.3.1/node_modules/@rooks/use-sessionstorage-state/lib/index.esm.js +50 -0
- package/dist/node_modules/.pnpm/are-passive-events-supported@1.1.1/node_modules/are-passive-events-supported/dist/are-passive-events-supported.esm.browser.js +11 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/adapters.js +41 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/fetch.js +128 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/xhr.js +59 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/axios.js +30 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CancelToken.js +59 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js +9 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/isCancel.js +6 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/Axios.js +131 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js +34 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js +171 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/InterceptorManager.js +28 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/buildFullPath.js +9 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/dispatchRequest.js +23 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/mergeConfig.js +67 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/settle.js +8 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/transformData.js +12 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/index.js +81 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/transitional.js +9 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/env/data.js +4 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +32 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/HttpStatusCode.js +77 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/bind.js +8 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/buildURL.js +17 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/combineURLs.js +6 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/composeSignals.js +27 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/cookies.js +26 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/formDataToJSON.js +27 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isURLSameOrigin.js +5 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseHeaders.js +28 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/progressEventReducer.js +30 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/resolveConfig.js +28 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/speedometer.js +16 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/spread.js +8 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/throttle.js +14 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toFormData.js +67 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toURLEncodedForm.js +14 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/trackStream.js +51 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/validator.js +47 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/index.js +22 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/common/utils.js +15 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js +9 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js +235 -0
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/auto/auto.js +5 -0
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chart.js +6301 -0
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chunks/helpers.dataset.js +1381 -0
- package/dist/node_modules/.pnpm/chartjs-plugin-datalabels@2.2.0_chart.js@4.5.1/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +354 -0
- package/dist/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js +32 -0
- package/dist/node_modules/.pnpm/copy-to-clipboard@3.3.3/node_modules/copy-to-clipboard/index.js +43 -0
- package/dist/node_modules/.pnpm/dompurify@3.3.3/node_modules/dompurify/dist/purify.es.js +549 -0
- package/dist/node_modules/.pnpm/flat@5.0.2/node_modules/flat/index.js +59 -0
- package/dist/node_modules/.pnpm/goober@2.1.18_csstype@3.2.3/node_modules/goober/dist/goober.modern.js +75 -0
- package/dist/node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +68 -0
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/core.js +154 -0
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/error.js +36 -0
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/formatters.js +107 -0
- package/dist/node_modules/.pnpm/lexical@0.38.2/node_modules/lexical/Lexical.prod.js +5093 -0
- package/dist/node_modules/.pnpm/path-to-regexp@6.3.0/node_modules/path-to-regexp/dist.es2015/index.js +198 -0
- package/dist/node_modules/.pnpm/react-chartjs-2@5.3.1_chart.js@4.5.1_react@18.3.1/node_modules/react-chartjs-2/dist/index.js +76 -0
- package/dist/node_modules/.pnpm/react-copy-to-clipboard@5.1.1_react@18.3.1/node_modules/react-copy-to-clipboard/lib/Component.js +160 -0
- package/dist/node_modules/.pnpm/react-copy-to-clipboard@5.1.1_react@18.3.1/node_modules/react-copy-to-clipboard/lib/index.js +10 -0
- package/dist/node_modules/.pnpm/react-error-boundary@6.1.1_react@18.3.1/node_modules/react-error-boundary/dist/react-error-boundary.js +58 -0
- package/dist/node_modules/.pnpm/react-hot-toast@2.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-hot-toast/dist/index.js +494 -0
- package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/index.js +13 -0
- package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/createFormattedComponent.js +35 -0
- package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/createIntl.js +39 -0
- package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/injectIntl.js +9 -0
- package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/message.js +22 -0
- package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/provider.js +45 -0
- package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/useIntl.js +10 -0
- package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/utils.js +33 -0
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +82 -0
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +62 -0
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/.pnpm/react-loading-skeleton@3.5.0_react@18.3.1/node_modules/react-loading-skeleton/dist/index.js +49 -0
- package/dist/node_modules/.pnpm/react-modern-drawer@1.4.0_react@18.3.1/node_modules/react-modern-drawer/dist/index.modern.js +84 -0
- package/dist/node_modules/.pnpm/react-oauth-popup@1.0.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-oauth-popup/dist/index.js +106 -0
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js +453 -0
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js +27 -0
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js +10 -0
- package/dist/node_modules/.pnpm/toggle-selection@1.0.6/node_modules/toggle-selection/index.js +26 -0
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +34 -0
- package/dist/node_modules/.pnpm/use-debounce@10.1.1_react@18.3.1/node_modules/use-debounce/dist/index.module.js +70 -0
- package/dist/node_modules/.pnpm/use-isomorphic-layout-effect@1.2.1_@types_react@19.2.14_react@18.3.1/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +5 -0
- package/dist/node_modules/.pnpm/use-latest@1.3.0_@types_react@19.2.14_react@18.3.1/node_modules/use-latest/dist/use-latest.esm.js +11 -0
- package/dist/node_modules/.pnpm/use-onclickoutside@0.4.1_@types_react@19.2.14_react@18.3.1/node_modules/use-onclickoutside/dist/use-onclickoutside.browser.esm.js +26 -0
- package/dist/node_modules/.pnpm/webfontloader@1.6.28/node_modules/webfontloader/webfontloader.js +482 -0
- package/package.json +13 -7
- package/.changeset/config.json +0 -11
- package/.eslintrc.js +0 -12
- package/.github/dependabot.yml +0 -7
- package/.github/workflows/master.yml +0 -121
- package/.storybook/main.mjs +0 -47
- package/.storybook/preview.js +0 -11
- package/src/components/action/back_link/BackLink.docs.mdx +0 -25
- package/src/components/action/back_link/BackLink.jsx +0 -30
- package/src/components/action/back_link/BackLink.module.scss +0 -34
- package/src/components/action/back_link/BackLink.stories.jsx +0 -28
- package/src/components/action/back_link/BackLink.test.jsx +0 -105
- package/src/components/action/back_link/index.js +0 -1
- package/src/components/action/button/Button.docs.mdx +0 -43
- package/src/components/action/button/Button.examples.jsx +0 -60
- package/src/components/action/button/Button.jsx +0 -88
- package/src/components/action/button/Button.module.scss +0 -133
- package/src/components/action/button/Button.stories.jsx +0 -54
- package/src/components/action/button/Button.test.jsx +0 -54
- package/src/components/action/button/index.js +0 -1
- package/src/components/action/icon_text_link/HomeIcon.dev.jsx +0 -9
- package/src/components/action/icon_text_link/IconTextLink.docs.mdx +0 -37
- package/src/components/action/icon_text_link/IconTextLink.jsx +0 -57
- package/src/components/action/icon_text_link/IconTextLink.module.scss +0 -67
- package/src/components/action/icon_text_link/IconTextLink.stories.jsx +0 -44
- package/src/components/action/icon_text_link/IconTextLink.test.jsx +0 -134
- package/src/components/action/icon_text_link/index.js +0 -1
- package/src/components/action/link/Link.docs.mdx +0 -23
- package/src/components/action/link/Link.jsx +0 -50
- package/src/components/action/link/Link.stories.jsx +0 -43
- package/src/components/action/link/Link.test.jsx +0 -91
- package/src/components/action/link/index.js +0 -1
- package/src/components/ad/ad_unit/AdUnit.docs.mdx +0 -23
- package/src/components/ad/ad_unit/AdUnit.jsx +0 -75
- package/src/components/ad/ad_unit/AdUnit.module.scss +0 -9
- package/src/components/ad/ad_unit/AdUnit.stories.jsx +0 -30
- package/src/components/ad/ad_unit/AdUnit.test.jsx +0 -63
- package/src/components/ad/ad_unit/index.js +0 -1
- package/src/components/ad/use_google_ad_manager/index.js +0 -1
- package/src/components/ad/use_google_ad_manager/useGoogleAdManager.docs.mdx +0 -27
- package/src/components/ad/use_google_ad_manager/useGoogleAdManager.jsx +0 -37
- package/src/components/ad/use_google_ad_manager/useGoogleAdManager.test.jsx +0 -47
- package/src/components/ad/with_ad/WithAd.docs.mdx +0 -30
- package/src/components/ad/with_ad/WithAd.jsx +0 -51
- package/src/components/ad/with_ad/WithAd.test.jsx +0 -104
- package/src/components/ad/with_ad/index.js +0 -1
- package/src/components/argument/argument/Argument.docs.mdx +0 -60
- package/src/components/argument/argument/Argument.jsx +0 -358
- package/src/components/argument/argument/Argument.module.scss +0 -233
- package/src/components/argument/argument/Argument.stories.jsx +0 -232
- package/src/components/argument/argument/Argument.test.jsx +0 -303
- package/src/components/argument/argument/ReplyFooter.jsx +0 -47
- package/src/components/argument/argument/ReplyFooter.module.scss +0 -77
- package/src/components/argument/argument/index.js +0 -2
- package/src/components/argument/argument/useRichContent.jsx +0 -18
- package/src/components/argument/top_arguments/TopArguments.docs.mdx +0 -22
- package/src/components/argument/top_arguments/TopArguments.jsx +0 -90
- package/src/components/argument/top_arguments/TopArguments.module.scss +0 -37
- package/src/components/argument/top_arguments/TopArguments.stories.jsx +0 -156
- package/src/components/argument/top_arguments/TopArguments.test.jsx +0 -67
- package/src/components/argument/top_arguments/index.js +0 -1
- package/src/components/auth/auth_initializer/AuthInitializer.alltest.js +0 -21
- package/src/components/auth/auth_initializer/AuthInitializer.docs.mdx +0 -34
- package/src/components/auth/auth_initializer/AuthInitializer.jsx +0 -61
- package/src/components/auth/auth_initializer/index.js +0 -1
- package/src/components/auth/auth_modal/AuthModal.alltest.js +0 -30
- package/src/components/auth/auth_modal/AuthModal.docs.mdx +0 -26
- package/src/components/auth/auth_modal/AuthModal.jsx +0 -99
- package/src/components/auth/auth_modal/AuthModal.module.scss +0 -9
- package/src/components/auth/auth_modal/AuthModal.stories.jsx +0 -90
- package/src/components/auth/auth_modal/index.js +0 -1
- package/src/components/auth/facebook_login_button/FacebookIcon.jsx +0 -7
- package/src/components/auth/facebook_login_button/FacebookLoginButton.docs.mdx +0 -34
- package/src/components/auth/facebook_login_button/FacebookLoginButton.jsx +0 -25
- package/src/components/auth/facebook_login_button/FacebookLoginButton.module.scss +0 -32
- package/src/components/auth/facebook_login_button/FacebookLoginButton.stories.jsx +0 -35
- package/src/components/auth/facebook_login_button/FacebookLoginButton.test.jsx +0 -68
- package/src/components/auth/facebook_login_button/index.js +0 -1
- package/src/components/auth/google_login_button/GoogleIcon.jsx +0 -10
- package/src/components/auth/google_login_button/GoogleLoginButton.docs.mdx +0 -43
- package/src/components/auth/google_login_button/GoogleLoginButton.jsx +0 -27
- package/src/components/auth/google_login_button/GoogleLoginButton.module.scss +0 -28
- package/src/components/auth/google_login_button/GoogleLoginButton.stories.jsx +0 -35
- package/src/components/auth/google_login_button/GoogleLoginButton.test.jsx +0 -69
- package/src/components/auth/google_login_button/index.js +0 -1
- package/src/components/auth/login_form/LoginForm.docs.mdx +0 -24
- package/src/components/auth/login_form/LoginForm.jsx +0 -65
- package/src/components/auth/login_form/LoginForm.module.scss +0 -36
- package/src/components/auth/login_form/LoginForm.stories.jsx +0 -42
- package/src/components/auth/login_form/LoginForm.test.jsx +0 -94
- package/src/components/auth/login_form/index.js +0 -1
- package/src/components/auth/oauth2_button/OAuth2Button.docs.mdx +0 -32
- package/src/components/auth/oauth2_button/OAuth2Button.jsx +0 -79
- package/src/components/auth/oauth2_button/OAuth2Button.module.scss +0 -10
- package/src/components/auth/oauth2_button/OAuth2Button.stories.jsx +0 -48
- package/src/components/auth/oauth2_button/OAuth2Button.test.jsx +0 -306
- package/src/components/auth/oauth2_button/index.js +0 -1
- package/src/components/auth/providers/AuthProvider.docs.mdx +0 -35
- package/src/components/auth/providers/AuthProvider.js +0 -23
- package/src/components/auth/providers/AuthProviderFactory.js +0 -20
- package/src/components/auth/providers/FormAuth.js +0 -36
- package/src/components/auth/providers/JWTAuth.js +0 -35
- package/src/components/auth/providers/OAuth2ServerAuth.js +0 -47
- package/src/components/auth/providers/PasswordAuth.js +0 -31
- package/src/components/auth/providers/index.js +0 -1
- package/src/components/auth/providers/tests/AuthProviderFactory.test.jsx +0 -53
- package/src/components/auth/providers/tests/FormAuth.test.jsx +0 -45
- package/src/components/auth/providers/tests/JWTAuth.test.jsx +0 -57
- package/src/components/auth/providers/tests/OAuth2ServerAuth.test.jsx +0 -78
- package/src/components/auth/providers/tests/PasswordAuth.test.jsx +0 -43
- package/src/components/auth/signup_form/SignupForm.docs.mdx +0 -29
- package/src/components/auth/signup_form/SignupForm.jsx +0 -125
- package/src/components/auth/signup_form/SignupForm.module.scss +0 -21
- package/src/components/auth/signup_form/SignupForm.stories.jsx +0 -40
- package/src/components/auth/signup_form/SignupForm.test.jsx +0 -144
- package/src/components/auth/signup_form/index.js +0 -1
- package/src/components/auth/social_auth_form/SocialAuthForm.docs.mdx +0 -33
- package/src/components/auth/social_auth_form/SocialAuthForm.jsx +0 -170
- package/src/components/auth/social_auth_form/SocialAuthForm.module.scss +0 -141
- package/src/components/auth/social_auth_form/SocialAuthForm.stories.jsx +0 -82
- package/src/components/auth/social_auth_form/SocialAuthForm.test.jsx +0 -201
- package/src/components/auth/social_auth_form/index.js +0 -1
- package/src/components/auth/sso_form/SSOForm.docs.mdx +0 -39
- package/src/components/auth/sso_form/SSOForm.jsx +0 -243
- package/src/components/auth/sso_form/SSOForm.module.scss +0 -99
- package/src/components/auth/sso_form/SSOForm.stories.jsx +0 -117
- package/src/components/auth/sso_form/SSOForm.test.jsx +0 -83
- package/src/components/auth/sso_form/index.js +0 -1
- package/src/components/auth/use_auth/AuthContext.js +0 -3
- package/src/components/auth/use_auth/AuthProvider.jsx +0 -21
- package/src/components/auth/use_auth/AuthProvider.test.jsx +0 -26
- package/src/components/auth/use_auth/AuthStorage.js +0 -33
- package/src/components/auth/use_auth/AuthStorage.test.jsx +0 -165
- package/src/components/auth/use_auth/authTokenHandler.js +0 -67
- package/src/components/auth/use_auth/authTokenHandler.test.jsx +0 -117
- package/src/components/auth/use_auth/index.js +0 -7
- package/src/components/auth/use_auth/useAuth.docs.mdx +0 -34
- package/src/components/auth/use_auth/useAuth.js +0 -8
- package/src/components/auth/use_auth/useAuthActions.js +0 -77
- package/src/components/auth/use_auth/useAuthInterceptor.jsx +0 -42
- package/src/components/chart/line_chart/LineChart.docs.mdx +0 -34
- package/src/components/chart/line_chart/LineChart.jsx +0 -107
- package/src/components/chart/line_chart/LineChart.module.scss +0 -54
- package/src/components/chart/line_chart/LineChart.stories.jsx +0 -49
- package/src/components/chart/line_chart/LineChart.test.jsx +0 -12
- package/src/components/chart/line_chart/index.js +0 -1
- package/src/components/chart/pie_chart/PieChart.docs.mdx +0 -26
- package/src/components/chart/pie_chart/PieChart.jsx +0 -102
- package/src/components/chart/pie_chart/PieChart.module.scss +0 -17
- package/src/components/chart/pie_chart/PieChart.stories.jsx +0 -36
- package/src/components/chart/pie_chart/PieChart.test.jsx +0 -12
- package/src/components/chart/pie_chart/index.js +0 -1
- package/src/components/consultation/consultation_box/ConsultationBox.docs.mdx +0 -21
- package/src/components/consultation/consultation_box/ConsultationBox.jsx +0 -101
- package/src/components/consultation/consultation_box/ConsultationBox.module.scss +0 -105
- package/src/components/consultation/consultation_box/ConsultationBox.stories.jsx +0 -96
- package/src/components/consultation/consultation_box/ConsultationBox.test.jsx +0 -58
- package/src/components/consultation/consultation_box/index.js +0 -1
- package/src/components/data/axios_client/httpClient.docs.mdx +0 -4
- package/src/components/data/axios_client/httpClient.js +0 -11
- package/src/components/data/axios_client/index.js +0 -1
- package/src/components/data/config_provider/ConfigProvider.docs.mdx +0 -26
- package/src/components/data/config_provider/ConfigProvider.jsx +0 -21
- package/src/components/data/config_provider/ConfigProvider.test.jsx +0 -39
- package/src/components/data/config_provider/index.js +0 -4
- package/src/components/data/config_provider/useConfig.jsx +0 -8
- package/src/components/data/config_provider/useRoutes.jsx +0 -8
- package/src/components/data/config_provider/withConfig.jsx +0 -8
- package/src/components/data/data_provider/DataProvider.docs.mdx +0 -52
- package/src/components/data/data_provider/DataProvider.jsx +0 -165
- package/src/components/data/data_provider/DataProvider.test.jsx +0 -419
- package/src/components/data/data_provider/DataProviderContext.jsx +0 -3
- package/src/components/data/data_provider/index.js +0 -4
- package/src/components/data/data_provider/useData.jsx +0 -9
- package/src/components/data/data_provider/useDataProvider.jsx +0 -8
- package/src/components/data/data_provider/useDataProvider.test.jsx +0 -38
- package/src/components/debate/debate_box/DebateBox.docs.mdx +0 -23
- package/src/components/debate/debate_box/DebateBox.jsx +0 -136
- package/src/components/debate/debate_box/DebateBox.module.scss +0 -209
- package/src/components/debate/debate_box/DebateBox.stories.jsx +0 -157
- package/src/components/debate/debate_box/DebateBox.test.jsx +0 -117
- package/src/components/debate/debate_box/index.js +0 -1
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.docs.mdx +0 -24
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.jsx +0 -37
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.module.scss +0 -35
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.stories.jsx +0 -44
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.test.jsx +0 -35
- package/src/components/dialog/announcement_dialog/HomeIcon.dev.jsx +0 -9
- package/src/components/dialog/announcement_dialog/index.js +0 -1
- package/src/components/dialog/confirm_modal/ConfirmModal.docs.mdx +0 -25
- package/src/components/dialog/confirm_modal/ConfirmModal.jsx +0 -53
- package/src/components/dialog/confirm_modal/ConfirmModal.module.scss +0 -30
- package/src/components/dialog/confirm_modal/ConfirmModal.stories.jsx +0 -36
- package/src/components/dialog/confirm_modal/ConfirmModal.test.jsx +0 -176
- package/src/components/dialog/confirm_modal/index.js +0 -1
- package/src/components/dialog/countdown/Countdown.docs.mdx +0 -23
- package/src/components/dialog/countdown/Countdown.jsx +0 -36
- package/src/components/dialog/countdown/Countdown.stories.jsx +0 -33
- package/src/components/dialog/countdown/Countdown.test.jsx +0 -51
- package/src/components/dialog/countdown/index.js +0 -1
- package/src/components/dialog/dialog_box/DialogBox.docs.mdx +0 -25
- package/src/components/dialog/dialog_box/DialogBox.jsx +0 -53
- package/src/components/dialog/dialog_box/DialogBox.module.scss +0 -145
- package/src/components/dialog/dialog_box/DialogBox.stories.jsx +0 -45
- package/src/components/dialog/dialog_box/DialogBox.test.jsx +0 -40
- package/src/components/dialog/dialog_box/index.js +0 -1
- package/src/components/dialog/drawer/Drawer.docs.mdx +0 -31
- package/src/components/dialog/drawer/Drawer.jsx +0 -159
- package/src/components/dialog/drawer/Drawer.module.scss +0 -136
- package/src/components/dialog/drawer/Drawer.stories.jsx +0 -194
- package/src/components/dialog/drawer/Drawer.test.jsx +0 -15
- package/src/components/dialog/drawer/index.js +0 -1
- package/src/components/dialog/dropdown/Dropdown.docs.mdx +0 -28
- package/src/components/dialog/dropdown/Dropdown.jsx +0 -59
- package/src/components/dialog/dropdown/Dropdown.module.scss +0 -41
- package/src/components/dialog/dropdown/Dropdown.stories.jsx +0 -42
- package/src/components/dialog/dropdown/Dropdown.test.jsx +0 -126
- package/src/components/dialog/dropdown/index.js +0 -1
- package/src/components/dialog/modal/Modal.docs.mdx +0 -39
- package/src/components/dialog/modal/Modal.jsx +0 -101
- package/src/components/dialog/modal/Modal.module.scss +0 -99
- package/src/components/dialog/modal/Modal.stories.jsx +0 -53
- package/src/components/dialog/modal/Modal.test.jsx +0 -115
- package/src/components/dialog/modal/ModalProvider.jsx +0 -26
- package/src/components/dialog/modal/ModalProvider.test.jsx +0 -39
- package/src/components/dialog/modal/index.js +0 -3
- package/src/components/dialog/modal/useModal.jsx +0 -6
- package/src/components/dialog/toast/Toast.docs.mdx +0 -21
- package/src/components/dialog/toast/Toast.jsx +0 -44
- package/src/components/dialog/toast/Toast.module.scss +0 -66
- package/src/components/dialog/toast/Toast.stories.jsx +0 -42
- package/src/components/dialog/toast/Toast.test.jsx +0 -21
- package/src/components/dialog/toast/index.js +0 -1
- package/src/components/dialog/toast_provider/ToastContext.js +0 -3
- package/src/components/dialog/toast_provider/ToastProvider.docs.mdx +0 -36
- package/src/components/dialog/toast_provider/ToastProvider.jsx +0 -35
- package/src/components/dialog/toast_provider/ToastProvider.module.scss +0 -14
- package/src/components/dialog/toast_provider/ToastProvider.test.jsx +0 -64
- package/src/components/dialog/toast_provider/index.js +0 -2
- package/src/components/dialog/toast_provider/useToast.jsx +0 -8
- package/src/components/dialog/tooltip/Tooltip.docs.mdx +0 -20
- package/src/components/dialog/tooltip/Tooltip.jsx +0 -53
- package/src/components/dialog/tooltip/Tooltip.module.scss +0 -92
- package/src/components/dialog/tooltip/Tooltip.stories.jsx +0 -76
- package/src/components/dialog/tooltip/Tooltip.test.jsx +0 -67
- package/src/components/dialog/tooltip/index.js +0 -3
- package/src/components/embed/embed_header/EmbedHeader.docs.mdx +0 -25
- package/src/components/embed/embed_header/EmbedHeader.jsx +0 -61
- package/src/components/embed/embed_header/EmbedHeader.module.scss +0 -148
- package/src/components/embed/embed_header/EmbedHeader.stories.jsx +0 -54
- package/src/components/embed/embed_header/EmbedHeader.test.jsx +0 -70
- package/src/components/embed/embed_header/index.js +0 -1
- package/src/components/error/standard_error_boundary/StandardErrorBoundary.docs.mdx +0 -26
- package/src/components/error/standard_error_boundary/StandardErrorBoundary.jsx +0 -27
- package/src/components/error/standard_error_boundary/StandardErrorBoundary.module.scss +0 -8
- package/src/components/error/standard_error_boundary/StandardErrorBoundary.test.jsx +0 -56
- package/src/components/error/standard_error_boundary/index.js +0 -1
- package/src/components/follow/follow_button/FollowButton.docs.mdx +0 -41
- package/src/components/follow/follow_button/FollowButton.jsx +0 -40
- package/src/components/follow/follow_button/FollowButton.module.scss +0 -17
- package/src/components/follow/follow_button/FollowButton.stories.jsx +0 -58
- package/src/components/follow/follow_button/FollowButton.test.jsx +0 -45
- package/src/components/follow/follow_button/index.js +0 -1
- package/src/components/follow/use_follow/index.js +0 -1
- package/src/components/follow/use_follow/useFollow.docs.mdx +0 -24
- package/src/components/follow/use_follow/useFollow.jsx +0 -60
- package/src/components/follow/use_follow/useFollow.test.jsx +0 -94
- package/src/components/forms/form/extract-form-data.js +0 -14
- package/src/components/forms/form/form-context.js +0 -3
- package/src/components/forms/form/form.docs.mdx +0 -232
- package/src/components/forms/form/form.jsx +0 -26
- package/src/components/forms/form/form.stories.jsx +0 -119
- package/src/components/forms/form/form.test.jsx +0 -3
- package/src/components/forms/form/index.js +0 -6
- package/src/components/forms/form/use-form-context.js +0 -43
- package/src/components/forms/form/use-form.js +0 -4
- package/src/components/forms/use_form_validation/index.js +0 -1
- package/src/components/forms/use_form_validation/useFormValidation.docs.mdx +0 -40
- package/src/components/forms/use_form_validation/useFormValidation.jsx +0 -114
- package/src/components/forms/use_form_validation/useFormValidation.test.jsx +0 -91
- package/src/components/gamification/badge_box/BadgeBox.docs.mdx +0 -25
- package/src/components/gamification/badge_box/BadgeBox.jsx +0 -74
- package/src/components/gamification/badge_box/BadgeBox.module.scss +0 -103
- package/src/components/gamification/badge_box/BadgeBox.stories.jsx +0 -64
- package/src/components/gamification/badge_box/BadgeBox.test.jsx +0 -113
- package/src/components/gamification/badge_box/index.js +0 -1
- package/src/components/gamification/point_box/PointBox.docs.mdx +0 -19
- package/src/components/gamification/point_box/PointBox.jsx +0 -28
- package/src/components/gamification/point_box/PointBox.module.scss +0 -38
- package/src/components/gamification/point_box/PointBox.stories.jsx +0 -32
- package/src/components/gamification/point_box/PointBox.test.jsx +0 -21
- package/src/components/gamification/point_box/index.js +0 -1
- package/src/components/hooks/use_auth_required/index.js +0 -1
- package/src/components/hooks/use_auth_required/useAuthRequired.docs.mdx +0 -22
- package/src/components/hooks/use_auth_required/useAuthRequired.jsx +0 -28
- package/src/components/hooks/use_auth_required/useAuthRequired.test.jsx +0 -85
- package/src/components/hooks/use_css_theme/index.js +0 -1
- package/src/components/hooks/use_css_theme/useCssTheme.docs.mdx +0 -34
- package/src/components/hooks/use_css_theme/useCssTheme.js +0 -27
- package/src/components/hooks/use_css_theme/useCssTheme.stories.jsx +0 -41
- package/src/components/hooks/use_css_theme/useCssTheme.test.jsx +0 -31
- package/src/components/hooks/use_font_loader/index.js +0 -1
- package/src/components/hooks/use_font_loader/useFontLoader.docs.mdx +0 -24
- package/src/components/hooks/use_font_loader/useFontLoader.js +0 -16
- package/src/components/hooks/use_font_loader/useFontLoader.test.jsx +0 -64
- package/src/components/hooks/use_matomo/index.js +0 -1
- package/src/components/hooks/use_matomo/useMatomo.docs.mdx +0 -28
- package/src/components/hooks/use_matomo/useMatomo.js +0 -17
- package/src/components/hooks/use_matomo/useMatomo.test.jsx +0 -24
- package/src/components/hooks/use_relative_time/index.js +0 -1
- package/src/components/hooks/use_relative_time/useRelativeTime.docs.mdx +0 -35
- package/src/components/hooks/use_relative_time/useRelativeTime.jsx +0 -40
- package/src/components/hooks/use_relative_time/useRelativeTime.test.jsx +0 -82
- package/src/components/hooks/use_responsive/ResponsiveContext.jsx +0 -3
- package/src/components/hooks/use_responsive/ResponsiveProvider.jsx +0 -52
- package/src/components/hooks/use_responsive/index.js +0 -2
- package/src/components/hooks/use_responsive/useResponsive.docs.mdx +0 -46
- package/src/components/hooks/use_responsive/useResponsive.jsx +0 -8
- package/src/components/hooks/use_responsive/useResponsive.stories.jsx +0 -49
- package/src/components/hooks/use_responsive/useResponsive.test.jsx +0 -54
- package/src/components/icons/bild_icons/Alarm.jsx +0 -7
- package/src/components/icons/bild_icons/Announcement.jsx +0 -16
- package/src/components/icons/bild_icons/Arrow.jsx +0 -7
- package/src/components/icons/bild_icons/BildIcons.docs.mdx +0 -21
- package/src/components/icons/bild_icons/BildIcons.stories.jsx +0 -123
- package/src/components/icons/bild_icons/BildIcons.test.jsx +0 -15
- package/src/components/icons/bild_icons/Blockquote.jsx +0 -7
- package/src/components/icons/bild_icons/Bold.jsx +0 -7
- package/src/components/icons/bild_icons/Camera.jsx +0 -8
- package/src/components/icons/bild_icons/Chat.jsx +0 -16
- package/src/components/icons/bild_icons/Check.jsx +0 -7
- package/src/components/icons/bild_icons/CheckCircle.jsx +0 -17
- package/src/components/icons/bild_icons/Checkbox.jsx +0 -8
- package/src/components/icons/bild_icons/Clap.jsx +0 -9
- package/src/components/icons/bild_icons/Clock.jsx +0 -7
- package/src/components/icons/bild_icons/Close.jsx +0 -7
- package/src/components/icons/bild_icons/Code.jsx +0 -18
- package/src/components/icons/bild_icons/Community.jsx +0 -7
- package/src/components/icons/bild_icons/Crown.jsx +0 -7
- package/src/components/icons/bild_icons/Document.jsx +0 -7
- package/src/components/icons/bild_icons/Downvote.jsx +0 -7
- package/src/components/icons/bild_icons/Ellipsis.jsx +0 -8
- package/src/components/icons/bild_icons/ExpertBadge.jsx +0 -11
- package/src/components/icons/bild_icons/Facebook.jsx +0 -7
- package/src/components/icons/bild_icons/Flag.jsx +0 -7
- package/src/components/icons/bild_icons/Home.jsx +0 -7
- package/src/components/icons/bild_icons/Italic.jsx +0 -7
- package/src/components/icons/bild_icons/LightArrow.jsx +0 -7
- package/src/components/icons/bild_icons/Link.jsx +0 -8
- package/src/components/icons/bild_icons/Login.jsx +0 -11
- package/src/components/icons/bild_icons/Logora.jsx +0 -24
- package/src/components/icons/bild_icons/Mail.jsx +0 -7
- package/src/components/icons/bild_icons/MinusCircle.jsx +0 -16
- package/src/components/icons/bild_icons/MobileClose.jsx +0 -8
- package/src/components/icons/bild_icons/MobileMenu.jsx +0 -10
- package/src/components/icons/bild_icons/Next.jsx +0 -10
- package/src/components/icons/bild_icons/OpenBlank.jsx +0 -15
- package/src/components/icons/bild_icons/OrderedList.jsx +0 -7
- package/src/components/icons/bild_icons/PauseCircle.jsx +0 -10
- package/src/components/icons/bild_icons/Point.jsx +0 -8
- package/src/components/icons/bild_icons/Question.jsx +0 -8
- package/src/components/icons/bild_icons/Refresh.jsx +0 -7
- package/src/components/icons/bild_icons/Reply.jsx +0 -7
- package/src/components/icons/bild_icons/Search.jsx +0 -7
- package/src/components/icons/bild_icons/Send.jsx +0 -7
- package/src/components/icons/bild_icons/Share.jsx +0 -14
- package/src/components/icons/bild_icons/SmallArrow.jsx +0 -11
- package/src/components/icons/bild_icons/Source.jsx +0 -7
- package/src/components/icons/bild_icons/Suggestion.jsx +0 -7
- package/src/components/icons/bild_icons/Twitter.jsx +0 -10
- package/src/components/icons/bild_icons/Underline.jsx +0 -7
- package/src/components/icons/bild_icons/Upvote.jsx +0 -7
- package/src/components/icons/bild_icons/User.jsx +0 -7
- package/src/components/icons/bild_icons/Versus.jsx +0 -11
- package/src/components/icons/bild_icons/Votebox.jsx +0 -7
- package/src/components/icons/bild_icons/index.js +0 -52
- package/src/components/icons/hero_icons/Alarm.jsx +0 -7
- package/src/components/icons/hero_icons/Announcement.jsx +0 -7
- package/src/components/icons/hero_icons/Arrow.jsx +0 -7
- package/src/components/icons/hero_icons/Blockquote.jsx +0 -14
- package/src/components/icons/hero_icons/Bold.jsx +0 -7
- package/src/components/icons/hero_icons/Camera.jsx +0 -8
- package/src/components/icons/hero_icons/Chat.jsx +0 -7
- package/src/components/icons/hero_icons/Check.jsx +0 -8
- package/src/components/icons/hero_icons/CheckCircle.jsx +0 -17
- package/src/components/icons/hero_icons/Checkbox.jsx +0 -7
- package/src/components/icons/hero_icons/Clap.jsx +0 -7
- package/src/components/icons/hero_icons/Clock.jsx +0 -7
- package/src/components/icons/hero_icons/Close.jsx +0 -8
- package/src/components/icons/hero_icons/Code.jsx +0 -7
- package/src/components/icons/hero_icons/Community.jsx +0 -7
- package/src/components/icons/hero_icons/Crown.jsx +0 -7
- package/src/components/icons/hero_icons/Downvote.jsx +0 -8
- package/src/components/icons/hero_icons/Ellipsis.jsx +0 -7
- package/src/components/icons/hero_icons/ExpertBadge.jsx +0 -7
- package/src/components/icons/hero_icons/Facebook.jsx +0 -7
- package/src/components/icons/hero_icons/Flag.jsx +0 -7
- package/src/components/icons/hero_icons/HeroIcons.docs.mdx +0 -19
- package/src/components/icons/hero_icons/HeroIcons.stories.jsx +0 -121
- package/src/components/icons/hero_icons/HeroIcons.test.jsx +0 -15
- package/src/components/icons/hero_icons/Home.jsx +0 -7
- package/src/components/icons/hero_icons/Italic.jsx +0 -7
- package/src/components/icons/hero_icons/LightArrow.jsx +0 -7
- package/src/components/icons/hero_icons/Link.jsx +0 -7
- package/src/components/icons/hero_icons/Login.jsx +0 -7
- package/src/components/icons/hero_icons/Logora.jsx +0 -24
- package/src/components/icons/hero_icons/Mail.jsx +0 -7
- package/src/components/icons/hero_icons/MinusCircle.jsx +0 -16
- package/src/components/icons/hero_icons/MobileClose.jsx +0 -7
- package/src/components/icons/hero_icons/MobileMenu.jsx +0 -7
- package/src/components/icons/hero_icons/Next.jsx +0 -8
- package/src/components/icons/hero_icons/OpenBlank.jsx +0 -7
- package/src/components/icons/hero_icons/OrderedList.jsx +0 -19
- package/src/components/icons/hero_icons/PauseCircle.jsx +0 -10
- package/src/components/icons/hero_icons/Point.jsx +0 -8
- package/src/components/icons/hero_icons/Question.jsx +0 -7
- package/src/components/icons/hero_icons/Refresh.jsx +0 -7
- package/src/components/icons/hero_icons/Reply.jsx +0 -7
- package/src/components/icons/hero_icons/Search.jsx +0 -7
- package/src/components/icons/hero_icons/Send.jsx +0 -7
- package/src/components/icons/hero_icons/Share.jsx +0 -8
- package/src/components/icons/hero_icons/SmallArrow.jsx +0 -7
- package/src/components/icons/hero_icons/Source.jsx +0 -8
- package/src/components/icons/hero_icons/Suggestion.jsx +0 -9
- package/src/components/icons/hero_icons/Twitter.jsx +0 -10
- package/src/components/icons/hero_icons/Underline.jsx +0 -14
- package/src/components/icons/hero_icons/Upvote.jsx +0 -7
- package/src/components/icons/hero_icons/User.jsx +0 -7
- package/src/components/icons/hero_icons/Versus.jsx +0 -7
- package/src/components/icons/hero_icons/Votebox.jsx +0 -7
- package/src/components/icons/hero_icons/index.js +0 -51
- package/src/components/icons/icon/Icon.docs.mdx +0 -20
- package/src/components/icons/icon/Icon.jsx +0 -32
- package/src/components/icons/icon/Icon.test.jsx +0 -33
- package/src/components/icons/icon/index.js +0 -1
- package/src/components/icons/icon_provider/IconProvider.docs.mdx +0 -28
- package/src/components/icons/icon_provider/IconProvider.jsx +0 -19
- package/src/components/icons/icon_provider/IconProvider.test.jsx +0 -24
- package/src/components/icons/icon_provider/index.js +0 -1
- package/src/components/icons/krone_icons/Alarm.jsx +0 -27
- package/src/components/icons/krone_icons/Announcement.jsx +0 -16
- package/src/components/icons/krone_icons/Arrow.jsx +0 -7
- package/src/components/icons/krone_icons/Blockquote.jsx +0 -7
- package/src/components/icons/krone_icons/Bold.jsx +0 -7
- package/src/components/icons/krone_icons/Camera.jsx +0 -8
- package/src/components/icons/krone_icons/Chat.jsx +0 -29
- package/src/components/icons/krone_icons/Check.jsx +0 -7
- package/src/components/icons/krone_icons/CheckBox.jsx +0 -7
- package/src/components/icons/krone_icons/CheckCircle.jsx +0 -17
- package/src/components/icons/krone_icons/Clap.jsx +0 -29
- package/src/components/icons/krone_icons/Clock.jsx +0 -7
- package/src/components/icons/krone_icons/Close.jsx +0 -7
- package/src/components/icons/krone_icons/Code.jsx +0 -18
- package/src/components/icons/krone_icons/Community.jsx +0 -7
- package/src/components/icons/krone_icons/Crown.jsx +0 -7
- package/src/components/icons/krone_icons/Document.jsx +0 -7
- package/src/components/icons/krone_icons/Downvote.jsx +0 -7
- package/src/components/icons/krone_icons/Ellipsis.jsx +0 -18
- package/src/components/icons/krone_icons/ExpertBadge.jsx +0 -29
- package/src/components/icons/krone_icons/Facebook.jsx +0 -7
- package/src/components/icons/krone_icons/Flag.jsx +0 -7
- package/src/components/icons/krone_icons/Home.jsx +0 -29
- package/src/components/icons/krone_icons/Italic.jsx +0 -7
- package/src/components/icons/krone_icons/KroneIcons.docs.mdx +0 -21
- package/src/components/icons/krone_icons/KroneIcons.stories.jsx +0 -124
- package/src/components/icons/krone_icons/KroneIcons.test.jsx +0 -15
- package/src/components/icons/krone_icons/LightArrow.jsx +0 -7
- package/src/components/icons/krone_icons/Link.jsx +0 -8
- package/src/components/icons/krone_icons/Login.jsx +0 -11
- package/src/components/icons/krone_icons/Logora.jsx +0 -24
- package/src/components/icons/krone_icons/Mail.jsx +0 -7
- package/src/components/icons/krone_icons/MinusCircle.jsx +0 -16
- package/src/components/icons/krone_icons/MobileClose.jsx +0 -8
- package/src/components/icons/krone_icons/MobileMenu.jsx +0 -10
- package/src/components/icons/krone_icons/Next.jsx +0 -10
- package/src/components/icons/krone_icons/OpenBlank.jsx +0 -15
- package/src/components/icons/krone_icons/OrderedList.jsx +0 -7
- package/src/components/icons/krone_icons/PauseCircle.jsx +0 -10
- package/src/components/icons/krone_icons/Point.jsx +0 -8
- package/src/components/icons/krone_icons/Question.jsx +0 -29
- package/src/components/icons/krone_icons/Refresh.jsx +0 -7
- package/src/components/icons/krone_icons/Reply.jsx +0 -18
- package/src/components/icons/krone_icons/Search.jsx +0 -7
- package/src/components/icons/krone_icons/Send.jsx +0 -19
- package/src/components/icons/krone_icons/Share.jsx +0 -16
- package/src/components/icons/krone_icons/SmallArrow.jsx +0 -11
- package/src/components/icons/krone_icons/Source.jsx +0 -7
- package/src/components/icons/krone_icons/Suggestion.jsx +0 -29
- package/src/components/icons/krone_icons/Twitter.jsx +0 -10
- package/src/components/icons/krone_icons/Underline.jsx +0 -7
- package/src/components/icons/krone_icons/Upvote.jsx +0 -29
- package/src/components/icons/krone_icons/User.jsx +0 -30
- package/src/components/icons/krone_icons/Versus.jsx +0 -9
- package/src/components/icons/krone_icons/Votebox.jsx +0 -29
- package/src/components/icons/krone_icons/index.js +0 -52
- package/src/components/icons/regular_icons/Alarm.jsx +0 -7
- package/src/components/icons/regular_icons/Announcement.jsx +0 -16
- package/src/components/icons/regular_icons/Arrow.jsx +0 -7
- package/src/components/icons/regular_icons/Blockquote.jsx +0 -7
- package/src/components/icons/regular_icons/Bold.jsx +0 -7
- package/src/components/icons/regular_icons/Camera.jsx +0 -8
- package/src/components/icons/regular_icons/Chat.jsx +0 -10
- package/src/components/icons/regular_icons/Check.jsx +0 -7
- package/src/components/icons/regular_icons/CheckCircle.jsx +0 -17
- package/src/components/icons/regular_icons/Checkbox.jsx +0 -8
- package/src/components/icons/regular_icons/Clap.jsx +0 -7
- package/src/components/icons/regular_icons/Clock.jsx +0 -7
- package/src/components/icons/regular_icons/Close.jsx +0 -7
- package/src/components/icons/regular_icons/Code.jsx +0 -18
- package/src/components/icons/regular_icons/Community.jsx +0 -7
- package/src/components/icons/regular_icons/Crown.jsx +0 -7
- package/src/components/icons/regular_icons/Document.jsx +0 -7
- package/src/components/icons/regular_icons/Downvote.jsx +0 -7
- package/src/components/icons/regular_icons/Ellipsis.jsx +0 -8
- package/src/components/icons/regular_icons/ExpertBadge.jsx +0 -11
- package/src/components/icons/regular_icons/Facebook.jsx +0 -7
- package/src/components/icons/regular_icons/Flag.jsx +0 -7
- package/src/components/icons/regular_icons/Home.jsx +0 -7
- package/src/components/icons/regular_icons/Italic.jsx +0 -7
- package/src/components/icons/regular_icons/LightArrow.jsx +0 -7
- package/src/components/icons/regular_icons/Link.jsx +0 -8
- package/src/components/icons/regular_icons/Login.jsx +0 -11
- package/src/components/icons/regular_icons/Logora.jsx +0 -24
- package/src/components/icons/regular_icons/Mail.jsx +0 -7
- package/src/components/icons/regular_icons/MinusCircle.jsx +0 -16
- package/src/components/icons/regular_icons/MobileClose.jsx +0 -8
- package/src/components/icons/regular_icons/MobileMenu.jsx +0 -10
- package/src/components/icons/regular_icons/Next.jsx +0 -10
- package/src/components/icons/regular_icons/OpenBlank.jsx +0 -15
- package/src/components/icons/regular_icons/OrderedList.jsx +0 -7
- package/src/components/icons/regular_icons/PauseCircle.jsx +0 -10
- package/src/components/icons/regular_icons/Point.jsx +0 -8
- package/src/components/icons/regular_icons/Question.jsx +0 -8
- package/src/components/icons/regular_icons/Refresh.jsx +0 -7
- package/src/components/icons/regular_icons/RegularIcons.docs.mdx +0 -21
- package/src/components/icons/regular_icons/RegularIcons.stories.jsx +0 -123
- package/src/components/icons/regular_icons/RegularIcons.test.jsx +0 -15
- package/src/components/icons/regular_icons/Reply.jsx +0 -7
- package/src/components/icons/regular_icons/Search.jsx +0 -7
- package/src/components/icons/regular_icons/Send.jsx +0 -7
- package/src/components/icons/regular_icons/Share.jsx +0 -14
- package/src/components/icons/regular_icons/SmallArrow.jsx +0 -11
- package/src/components/icons/regular_icons/Source.jsx +0 -7
- package/src/components/icons/regular_icons/Suggestion.jsx +0 -7
- package/src/components/icons/regular_icons/Twitter.jsx +0 -10
- package/src/components/icons/regular_icons/Underline.jsx +0 -7
- package/src/components/icons/regular_icons/Upvote.jsx +0 -7
- package/src/components/icons/regular_icons/User.jsx +0 -7
- package/src/components/icons/regular_icons/Versus.jsx +0 -9
- package/src/components/icons/regular_icons/Votebox.jsx +0 -7
- package/src/components/icons/regular_icons/index.js +0 -52
- package/src/components/icons/spiegel_icons/Alarm.jsx +0 -7
- package/src/components/icons/spiegel_icons/Announcement.jsx +0 -16
- package/src/components/icons/spiegel_icons/Arrow.jsx +0 -7
- package/src/components/icons/spiegel_icons/Blockquote.jsx +0 -14
- package/src/components/icons/spiegel_icons/Bold.jsx +0 -7
- package/src/components/icons/spiegel_icons/Camera.jsx +0 -8
- package/src/components/icons/spiegel_icons/Chat.jsx +0 -7
- package/src/components/icons/spiegel_icons/Check.jsx +0 -11
- package/src/components/icons/spiegel_icons/CheckCircle.jsx +0 -8
- package/src/components/icons/spiegel_icons/Checkbox.jsx +0 -14
- package/src/components/icons/spiegel_icons/Clap.jsx +0 -15
- package/src/components/icons/spiegel_icons/Clock.jsx +0 -15
- package/src/components/icons/spiegel_icons/Close.jsx +0 -7
- package/src/components/icons/spiegel_icons/Code.jsx +0 -18
- package/src/components/icons/spiegel_icons/Community.jsx +0 -7
- package/src/components/icons/spiegel_icons/Crown.jsx +0 -7
- package/src/components/icons/spiegel_icons/Downvote.jsx +0 -7
- package/src/components/icons/spiegel_icons/Ellipsis.jsx +0 -8
- package/src/components/icons/spiegel_icons/ExpertBadge.jsx +0 -16
- package/src/components/icons/spiegel_icons/Facebook.jsx +0 -7
- package/src/components/icons/spiegel_icons/Flag.jsx +0 -8
- package/src/components/icons/spiegel_icons/Home.jsx +0 -7
- package/src/components/icons/spiegel_icons/Italic.jsx +0 -7
- package/src/components/icons/spiegel_icons/LightArrow.jsx +0 -7
- package/src/components/icons/spiegel_icons/Link.jsx +0 -17
- package/src/components/icons/spiegel_icons/Login.jsx +0 -7
- package/src/components/icons/spiegel_icons/Logora.jsx +0 -24
- package/src/components/icons/spiegel_icons/Mail.jsx +0 -7
- package/src/components/icons/spiegel_icons/MinusCircle.jsx +0 -8
- package/src/components/icons/spiegel_icons/MobileClose.jsx +0 -8
- package/src/components/icons/spiegel_icons/MobileMenu.jsx +0 -10
- package/src/components/icons/spiegel_icons/Next.jsx +0 -10
- package/src/components/icons/spiegel_icons/OpenBlank.jsx +0 -15
- package/src/components/icons/spiegel_icons/OrderedList.jsx +0 -20
- package/src/components/icons/spiegel_icons/PauseCircle.jsx +0 -8
- package/src/components/icons/spiegel_icons/Point.jsx +0 -8
- package/src/components/icons/spiegel_icons/Question.jsx +0 -17
- package/src/components/icons/spiegel_icons/Refresh.jsx +0 -7
- package/src/components/icons/spiegel_icons/Reply.jsx +0 -7
- package/src/components/icons/spiegel_icons/Search.jsx +0 -7
- package/src/components/icons/spiegel_icons/Send.jsx +0 -7
- package/src/components/icons/spiegel_icons/Share.jsx +0 -14
- package/src/components/icons/spiegel_icons/SmallArrow.jsx +0 -7
- package/src/components/icons/spiegel_icons/Source.jsx +0 -7
- package/src/components/icons/spiegel_icons/SpiegelIcons.docs.mdx +0 -21
- package/src/components/icons/spiegel_icons/SpiegelIcons.stories.jsx +0 -121
- package/src/components/icons/spiegel_icons/SpiegelIcons.test.jsx +0 -15
- package/src/components/icons/spiegel_icons/Suggestion.jsx +0 -7
- package/src/components/icons/spiegel_icons/Twitter.jsx +0 -10
- package/src/components/icons/spiegel_icons/Underline.jsx +0 -14
- package/src/components/icons/spiegel_icons/Upvote.jsx +0 -7
- package/src/components/icons/spiegel_icons/User.jsx +0 -7
- package/src/components/icons/spiegel_icons/Versus.jsx +0 -11
- package/src/components/icons/spiegel_icons/Votebox.jsx +0 -14
- package/src/components/icons/spiegel_icons/index.js +0 -51
- package/src/components/information/information_box/InformationBox.docs.mdx +0 -28
- package/src/components/information/information_box/InformationBox.jsx +0 -54
- package/src/components/information/information_box/InformationBox.module.scss +0 -92
- package/src/components/information/information_box/InformationBox.stories.jsx +0 -50
- package/src/components/information/information_box/InformationBox.test.jsx +0 -94
- package/src/components/information/information_box/index.js +0 -1
- package/src/components/input/argument_input/ArgumentInput.docs.mdx +0 -29
- package/src/components/input/argument_input/ArgumentInput.jsx +0 -420
- package/src/components/input/argument_input/ArgumentInput.module.scss +0 -166
- package/src/components/input/argument_input/ArgumentInput.stories.jsx +0 -181
- package/src/components/input/argument_input/ArgumentInput.test.jsx +0 -482
- package/src/components/input/argument_input/index.js +0 -1
- package/src/components/input/checkbox/hidden/hidden-checkbox.docs.mdx +0 -4
- package/src/components/input/checkbox/hidden/hidden-checkbox.jsx +0 -8
- package/src/components/input/checkbox/hidden/hidden-checkbox.module.scss +0 -28
- package/src/components/input/checkbox/hidden/hidden-checkbox.stories.jsx +0 -73
- package/src/components/input/checkbox/hidden/index.js +0 -1
- package/src/components/input/checkbox/indicator/checkbox-indicator.docs.mdx +0 -9
- package/src/components/input/checkbox/indicator/checkbox-indicator.jsx +0 -17
- package/src/components/input/checkbox/indicator/checkbox-indicator.module.scss +0 -26
- package/src/components/input/checkbox/indicator/checkbox-indicator.stories.jsx +0 -51
- package/src/components/input/checkbox/indicator/index.js +0 -1
- package/src/components/input/checkbox/label/checkbox-label.docs.mdx +0 -39
- package/src/components/input/checkbox/label/checkbox-label.jsx +0 -40
- package/src/components/input/checkbox/label/checkbox.stories.jsx +0 -57
- package/src/components/input/checkbox/label/index.js +0 -1
- package/src/components/input/input_provider/InputProvider.docs.mdx +0 -38
- package/src/components/input/input_provider/InputProvider.jsx +0 -16
- package/src/components/input/input_provider/InputProvider.test.jsx +0 -102
- package/src/components/input/input_provider/index.js +0 -2
- package/src/components/input/input_provider/useInput.jsx +0 -8
- package/src/components/input/search_input/SearchInput.docs.mdx +0 -25
- package/src/components/input/search_input/SearchInput.jsx +0 -71
- package/src/components/input/search_input/SearchInput.module.scss +0 -18
- package/src/components/input/search_input/SearchInput.stories.jsx +0 -45
- package/src/components/input/search_input/SearchInput.test.jsx +0 -95
- package/src/components/input/search_input/index.js +0 -1
- package/src/components/input/select/Select.docs.mdx +0 -37
- package/src/components/input/select/Select.jsx +0 -102
- package/src/components/input/select/Select.module.scss +0 -72
- package/src/components/input/select/Select.stories.jsx +0 -75
- package/src/components/input/select/Select.test.jsx +0 -136
- package/src/components/input/select/index.js +0 -1
- package/src/components/input/text_editor/EditorTheme.js +0 -71
- package/src/components/input/text_editor/TextEditor.docs.mdx +0 -31
- package/src/components/input/text_editor/TextEditor.jsx +0 -205
- package/src/components/input/text_editor/TextEditor.module.scss +0 -140
- package/src/components/input/text_editor/TextEditor.stories.jsx +0 -227
- package/src/components/input/text_editor/TextEditor.test.jsx +0 -654
- package/src/components/input/text_editor/index.js +0 -2
- package/src/components/input/text_editor/lexicalToHtml.js +0 -23
- package/src/components/input/text_editor/plugins/AutoSavePlugin.jsx +0 -37
- package/src/components/input/text_editor/plugins/FocusPlugin.jsx +0 -19
- package/src/components/input/text_editor/plugins/MaxLengthPlugin.jsx +0 -44
- package/src/components/input/text_editor/plugins/ResetPlugin.jsx +0 -35
- package/src/components/input/text_editor/plugins/SetContentPlugin.jsx +0 -24
- package/src/components/input/text_editor/plugins/SetRichContentPlugin.jsx +0 -20
- package/src/components/input/text_editor/plugins/ToolbarPlugin.jsx +0 -233
- package/src/components/input/text_editor/plugins/ToolbarPlugin.module.scss +0 -77
- package/src/components/input/text_input/TextInput.docs.mdx +0 -73
- package/src/components/input/text_input/TextInput.jsx +0 -46
- package/src/components/input/text_input/TextInput.module.scss +0 -146
- package/src/components/input/text_input/TextInput.stories.jsx +0 -101
- package/src/components/input/text_input/TextInput.test.jsx +0 -64
- package/src/components/input/text_input/color-accent.js +0 -16
- package/src/components/input/text_input/index.js +0 -3
- package/src/components/input/text_input/message.jsx +0 -12
- package/src/components/input/toggle/Toggle.docs.mdx +0 -23
- package/src/components/input/toggle/Toggle.jsx +0 -25
- package/src/components/input/toggle/Toggle.module.scss +0 -73
- package/src/components/input/toggle/Toggle.stories.jsx +0 -42
- package/src/components/input/toggle/Toggle.test.jsx +0 -39
- package/src/components/input/toggle/index.js +0 -1
- package/src/components/input/toggle_position/TogglePosition.docs.mdx +0 -20
- package/src/components/input/toggle_position/TogglePosition.jsx +0 -55
- package/src/components/input/toggle_position/TogglePosition.module.scss +0 -46
- package/src/components/input/toggle_position/TogglePosition.stories.jsx +0 -96
- package/src/components/input/toggle_position/TogglePosition.test.jsx +0 -66
- package/src/components/input/toggle_position/index.js +0 -1
- package/src/components/intl/intl_provider/IntlContext.jsx +0 -3
- package/src/components/intl/intl_provider/IntlProvider.docs.mdx +0 -37
- package/src/components/intl/intl_provider/IntlProvider.jsx +0 -92
- package/src/components/intl/intl_provider/IntlProvider.test.jsx +0 -153
- package/src/components/intl/intl_provider/index.js +0 -3
- package/src/components/intl/intl_provider/locales/en.json +0 -4
- package/src/components/intl/intl_provider/locales/es.json +0 -4
- package/src/components/intl/intl_provider/locales/fr.json +0 -6
- package/src/components/intl/intl_provider/locales/index.js +0 -11
- package/src/components/intl/intl_provider/useLocale.jsx +0 -8
- package/src/components/list/list_provider/ListProvider.docs.mdx +0 -51
- package/src/components/list/list_provider/ListProvider.jsx +0 -32
- package/src/components/list/list_provider/ListProvider.stories.jsx +0 -92
- package/src/components/list/list_provider/ListProvider.test.jsx +0 -137
- package/src/components/list/list_provider/index.js +0 -2
- package/src/components/list/list_provider/useList.jsx +0 -8
- package/src/components/list/paginated_list/PaginatedList.docs.mdx +0 -68
- package/src/components/list/paginated_list/PaginatedList.jsx +0 -397
- package/src/components/list/paginated_list/PaginatedList.module.scss +0 -88
- package/src/components/list/paginated_list/PaginatedList.stories.jsx +0 -301
- package/src/components/list/paginated_list/PaginatedList.test.jsx +0 -1335
- package/src/components/list/paginated_list/VotePaginatedList.jsx +0 -26
- package/src/components/list/paginated_list/VotePaginatedList.test.jsx +0 -1518
- package/src/components/list/paginated_list/action_bar/ActionBar.jsx +0 -132
- package/src/components/list/paginated_list/action_bar/ActionBar.module.scss +0 -81
- package/src/components/list/paginated_list/index.js +0 -3
- package/src/components/list/pagination/Pagination.docs.mdx +0 -32
- package/src/components/list/pagination/Pagination.jsx +0 -58
- package/src/components/list/pagination/Pagination.module.scss +0 -10
- package/src/components/list/pagination/Pagination.stories.jsx +0 -44
- package/src/components/list/pagination/Pagination.test.jsx +0 -80
- package/src/components/list/pagination/index.js +0 -1
- package/src/components/modal/side_modal/SideModal.docs.mdx +0 -31
- package/src/components/modal/side_modal/SideModal.jsx +0 -85
- package/src/components/modal/side_modal/SideModal.module.scss +0 -83
- package/src/components/modal/side_modal/SideModal.stories.jsx +0 -112
- package/src/components/modal/side_modal/SideModal.test.jsx +0 -36
- package/src/components/modal/side_modal/index.js +0 -1
- package/src/components/navbar/navbar_button/NavbarButton.docs.mdx +0 -37
- package/src/components/navbar/navbar_button/NavbarButton.jsx +0 -43
- package/src/components/navbar/navbar_button/NavbarButton.module.scss +0 -45
- package/src/components/navbar/navbar_button/NavbarButton.stories.jsx +0 -93
- package/src/components/navbar/navbar_button/NavbarButton.test.jsx +0 -67
- package/src/components/navbar/navbar_button/index.js +0 -1
- package/src/components/navbar/navbar_modal/NavbarModal.docs.mdx +0 -24
- package/src/components/navbar/navbar_modal/NavbarModal.jsx +0 -175
- package/src/components/navbar/navbar_modal/NavbarModal.module.scss +0 -132
- package/src/components/navbar/navbar_modal/NavbarModal.stories.jsx +0 -96
- package/src/components/navbar/navbar_modal/NavbarModal.test.jsx +0 -155
- package/src/components/navbar/navbar_modal/index.js +0 -1
- package/src/components/notification/notification_item/NotificationItem.docs.mdx +0 -35
- package/src/components/notification/notification_item/NotificationItem.jsx +0 -71
- package/src/components/notification/notification_item/NotificationItem.module.scss +0 -56
- package/src/components/notification/notification_item/NotificationItem.stories.jsx +0 -121
- package/src/components/notification/notification_item/NotificationItem.test.jsx +0 -97
- package/src/components/notification/notification_item/index.js +0 -1
- package/src/components/notification/notification_menu/NotificationMenu.docs.mdx +0 -25
- package/src/components/notification/notification_menu/NotificationMenu.jsx +0 -61
- package/src/components/notification/notification_menu/NotificationMenu.module.scss +0 -49
- package/src/components/notification/notification_menu/NotificationMenu.stories.jsx +0 -94
- package/src/components/notification/notification_menu/NotificationMenu.test.jsx +0 -131
- package/src/components/notification/notification_menu/index.js +0 -1
- package/src/components/progress/loader/Loader.docs.mdx +0 -13
- package/src/components/progress/loader/Loader.jsx +0 -9
- package/src/components/progress/loader/Loader.module.scss +0 -26
- package/src/components/progress/loader/Loader.stories.jsx +0 -11
- package/src/components/progress/loader/Loader.test.jsx +0 -11
- package/src/components/progress/loader/index.js +0 -3
- package/src/components/progress/progress_bar/ProgressBar.docs.mdx +0 -29
- package/src/components/progress/progress_bar/ProgressBar.jsx +0 -75
- package/src/components/progress/progress_bar/ProgressBar.module.scss +0 -87
- package/src/components/progress/progress_bar/ProgressBar.stories.jsx +0 -43
- package/src/components/progress/progress_bar/ProgressBar.test.jsx +0 -126
- package/src/components/progress/progress_bar/index.js +0 -1
- package/src/components/proposal/proposal_box/ProposalBox.docs.mdx +0 -39
- package/src/components/proposal/proposal_box/ProposalBox.jsx +0 -108
- package/src/components/proposal/proposal_box/ProposalBox.module.scss +0 -80
- package/src/components/proposal/proposal_box/ProposalBox.stories.jsx +0 -161
- package/src/components/proposal/proposal_box/ProposalBox.test.jsx +0 -137
- package/src/components/proposal/proposal_box/index.js +0 -1
- package/src/components/report/report_box/ReportBox.docs.mdx +0 -35
- package/src/components/report/report_box/ReportBox.jsx +0 -120
- package/src/components/report/report_box/ReportBox.module.scss +0 -54
- package/src/components/report/report_box/ReportBox.stories.jsx +0 -247
- package/src/components/report/report_box/ReportBox.test.jsx +0 -232
- package/src/components/report/report_box/index.js +0 -1
- package/src/components/section/section_box/SectionBox.docs.mdx +0 -19
- package/src/components/section/section_box/SectionBox.jsx +0 -32
- package/src/components/section/section_box/SectionBox.module.scss +0 -57
- package/src/components/section/section_box/SectionBox.stories.jsx +0 -39
- package/src/components/section/section_box/SectionBox.test.jsx +0 -44
- package/src/components/section/section_box/index.js +0 -1
- package/src/components/share/share_box/ShareBox.docs.mdx +0 -27
- package/src/components/share/share_box/ShareBox.jsx +0 -71
- package/src/components/share/share_box/ShareBox.module.scss +0 -38
- package/src/components/share/share_box/ShareBox.stories.jsx +0 -42
- package/src/components/share/share_box/ShareBox.test.jsx +0 -142
- package/src/components/share/share_box/index.js +0 -1
- package/src/components/share/share_button/ShareButton.docs.mdx +0 -26
- package/src/components/share/share_button/ShareButton.jsx +0 -102
- package/src/components/share/share_button/ShareButton.module.scss +0 -68
- package/src/components/share/share_button/ShareButton.stories.jsx +0 -51
- package/src/components/share/share_button/ShareButton.test.jsx +0 -117
- package/src/components/share/share_button/index.js +0 -1
- package/src/components/share/share_modal/ShareModal.docs.mdx +0 -29
- package/src/components/share/share_modal/ShareModal.jsx +0 -49
- package/src/components/share/share_modal/ShareModal.module.scss +0 -21
- package/src/components/share/share_modal/ShareModal.stories.jsx +0 -48
- package/src/components/share/share_modal/ShareModal.test.jsx +0 -70
- package/src/components/share/share_modal/index.js +0 -1
- package/src/components/skeleton/box_skeleton/BoxSkeleton.docs.mdx +0 -14
- package/src/components/skeleton/box_skeleton/BoxSkeleton.jsx +0 -38
- package/src/components/skeleton/box_skeleton/BoxSkeleton.stories.jsx +0 -46
- package/src/components/skeleton/box_skeleton/BoxSkeleton.test.jsx +0 -39
- package/src/components/skeleton/box_skeleton/index.js +0 -1
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.docs.mdx +0 -15
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.jsx +0 -56
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.module.scss +0 -78
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.stories.jsx +0 -44
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.test.jsx +0 -55
- package/src/components/skeleton/user_content_skeleton/index.js +0 -1
- package/src/components/source/context_source_box/ContextSourceBox.docs.mdx +0 -27
- package/src/components/source/context_source_box/ContextSourceBox.jsx +0 -38
- package/src/components/source/context_source_box/ContextSourceBox.module.scss +0 -50
- package/src/components/source/context_source_box/ContextSourceBox.stories.jsx +0 -36
- package/src/components/source/context_source_box/ContextSourceBox.test.jsx +0 -46
- package/src/components/source/context_source_box/index.js +0 -1
- package/src/components/source/context_source_list/ContextSourceList.docs.mdx +0 -37
- package/src/components/source/context_source_list/ContextSourceList.jsx +0 -42
- package/src/components/source/context_source_list/ContextSourceList.module.scss +0 -38
- package/src/components/source/context_source_list/ContextSourceList.stories.jsx +0 -39
- package/src/components/source/context_source_list/ContextSourceList.test.jsx +0 -47
- package/src/components/source/context_source_list/index.js +0 -1
- package/src/components/source/source_box/SourceBox.docs.mdx +0 -23
- package/src/components/source/source_box/SourceBox.jsx +0 -43
- package/src/components/source/source_box/SourceBox.module.scss +0 -43
- package/src/components/source/source_box/SourceBox.stories.jsx +0 -26
- package/src/components/source/source_box/SourceBox.test.jsx +0 -30
- package/src/components/source/source_box/index.js +0 -1
- package/src/components/source/source_list_item/SourceListItem.docs.mdx +0 -23
- package/src/components/source/source_list_item/SourceListItem.jsx +0 -28
- package/src/components/source/source_list_item/SourceListItem.module.scss +0 -33
- package/src/components/source/source_list_item/SourceListItem.stories.jsx +0 -40
- package/src/components/source/source_list_item/SourceListItem.test.jsx +0 -41
- package/src/components/source/source_list_item/index.js +0 -1
- package/src/components/source/source_modal/SourceModal.docs.mdx +0 -29
- package/src/components/source/source_modal/SourceModal.jsx +0 -157
- package/src/components/source/source_modal/SourceModal.module.scss +0 -45
- package/src/components/source/source_modal/SourceModal.stories.jsx +0 -82
- package/src/components/source/source_modal/SourceModal.test.jsx +0 -180
- package/src/components/source/source_modal/index.js +0 -1
- package/src/components/styles/display/_display.scss +0 -127
- package/src/components/styles/display/display.docs.mdx +0 -8
- package/src/components/styles/display/index.scss +0 -1
- package/src/components/styles/flex/_flex.scss +0 -55
- package/src/components/styles/flex/flex.docs.mdx +0 -8
- package/src/components/styles/flex/index.scss +0 -1
- package/src/components/styles/spacing/_spacing.scss +0 -107
- package/src/components/styles/spacing/index.scss +0 -1
- package/src/components/styles/spacing/spacing.docs.mdx +0 -8
- package/src/components/styles/tabs/_tabs.scss +0 -159
- package/src/components/styles/tabs/index.scss +0 -1
- package/src/components/styles/tabs/tabs.docs.mdx +0 -8
- package/src/components/styles/theme/_theme.scss +0 -51
- package/src/components/styles/theme/index.scss +0 -1
- package/src/components/styles/theme/theme.docs.mdx +0 -89
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.docs.mdx +0 -35
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.jsx +0 -86
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.module.scss +0 -93
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.stories.jsx +0 -128
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.test.jsx +0 -237
- package/src/components/suggestion/suggestion_banner/index.js +0 -1
- package/src/components/suggestion/suggestion_box/SuggestionBox.docs.mdx +0 -39
- package/src/components/suggestion/suggestion_box/SuggestionBox.jsx +0 -112
- package/src/components/suggestion/suggestion_box/SuggestionBox.module.scss +0 -55
- package/src/components/suggestion/suggestion_box/SuggestionBox.stories.jsx +0 -147
- package/src/components/suggestion/suggestion_box/SuggestionBox.test.jsx +0 -184
- package/src/components/suggestion/suggestion_box/index.js +0 -1
- package/src/components/suggestion/suggestion_input/SuggestionInput.docs.mdx +0 -19
- package/src/components/suggestion/suggestion_input/SuggestionInput.jsx +0 -212
- package/src/components/suggestion/suggestion_input/SuggestionInput.module.scss +0 -50
- package/src/components/suggestion/suggestion_input/SuggestionInput.stories.jsx +0 -87
- package/src/components/suggestion/suggestion_input/SuggestionInput.test.jsx +0 -77
- package/src/components/suggestion/suggestion_input/index.js +0 -1
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.docs.mdx +0 -19
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.jsx +0 -40
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.module.scss +0 -67
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.stories.jsx +0 -57
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.test.jsx +0 -18
- package/src/components/summary/argument_summary_box/index.js +0 -1
- package/src/components/summary/keyword_box/KeywordBox.docs.mdx +0 -21
- package/src/components/summary/keyword_box/KeywordBox.jsx +0 -43
- package/src/components/summary/keyword_box/KeywordBox.module.scss +0 -54
- package/src/components/summary/keyword_box/KeywordBox.stories.jsx +0 -49
- package/src/components/summary/keyword_box/KeywordBox.test.jsx +0 -47
- package/src/components/summary/keyword_box/index.js +0 -1
- package/src/components/summary/summary/Summary.docs.mdx +0 -23
- package/src/components/summary/summary/Summary.jsx +0 -93
- package/src/components/summary/summary/Summary.module.scss +0 -26
- package/src/components/summary/summary/Summary.stories.jsx +0 -95
- package/src/components/summary/summary/Summary.test.jsx +0 -116
- package/src/components/summary/summary/index.js +0 -1
- package/src/components/summary/summary_box/SummaryBox.docs.mdx +0 -19
- package/src/components/summary/summary_box/SummaryBox.jsx +0 -39
- package/src/components/summary/summary_box/SummaryBox.module.scss +0 -56
- package/src/components/summary/summary_box/SummaryBox.stories.jsx +0 -83
- package/src/components/summary/summary_box/SummaryBox.test.jsx +0 -47
- package/src/components/summary/summary_box/SummaryBoxComposition.module.scss +0 -3
- package/src/components/summary/summary_box/index.js +0 -1
- package/src/components/tag/tag/Tag.docs.mdx +0 -19
- package/src/components/tag/tag/Tag.jsx +0 -35
- package/src/components/tag/tag/Tag.module.scss +0 -34
- package/src/components/tag/tag/Tag.stories.jsx +0 -70
- package/src/components/tag/tag/Tag.test.jsx +0 -29
- package/src/components/tag/tag/index.js +0 -1
- package/src/components/text/expandable_text/ArrowIcon.jsx +0 -7
- package/src/components/text/expandable_text/ExpandableText.docs.mdx +0 -42
- package/src/components/text/expandable_text/ExpandableText.jsx +0 -81
- package/src/components/text/expandable_text/ExpandableText.module.scss +0 -76
- package/src/components/text/expandable_text/ExpandableText.stories.jsx +0 -63
- package/src/components/text/expandable_text/ExpandableText.test.jsx +0 -23
- package/src/components/text/expandable_text/index.js +0 -1
- package/src/components/text/read_more/ReadMore.docs.mdx +0 -23
- package/src/components/text/read_more/ReadMore.jsx +0 -104
- package/src/components/text/read_more/ReadMore.module.scss +0 -51
- package/src/components/text/read_more/ReadMore.stories.jsx +0 -141
- package/src/components/text/read_more/ReadMore.test.jsx +0 -87
- package/src/components/text/read_more/index.js +0 -1
- package/src/components/tools/hash_scroll/HashScroll.docs.mdx +0 -27
- package/src/components/tools/hash_scroll/HashScroll.jsx +0 -36
- package/src/components/tools/hash_scroll/HashScroll.test.jsx +0 -66
- package/src/components/tools/hash_scroll/index.js +0 -1
- package/src/components/tools/scroll_to_top/ScrollToTop.docs.mdx +0 -28
- package/src/components/tools/scroll_to_top/ScrollToTop.jsx +0 -22
- package/src/components/tools/scroll_to_top/ScrollToTop.stories.jsx +0 -40
- package/src/components/tools/scroll_to_top/ScrollToTop.test.jsx +0 -36
- package/src/components/tools/scroll_to_top/index.js +0 -1
- package/src/components/translation/translated_content/TranslatedContent.jsx +0 -24
- package/src/components/translation/translated_content/TranslatedContent.test.jsx +0 -30
- package/src/components/translation/translated_content/index.js +0 -3
- package/src/components/translation/translated_content/useTranslatedContent.docs.mdx +0 -80
- package/src/components/translation/translated_content/useTranslatedContent.jsx +0 -57
- package/src/components/translation/translated_content/useTranslatedContent.test.jsx +0 -118
- package/src/components/translation/translation_button/TranslationButton.docs.mdx +0 -18
- package/src/components/translation/translation_button/TranslationButton.jsx +0 -46
- package/src/components/translation/translation_button/TranslationButton.module.scss +0 -10
- package/src/components/translation/translation_button/TranslationButton.stories.jsx +0 -30
- package/src/components/translation/translation_button/TranslationButton.test.jsx +0 -35
- package/src/components/translation/translation_button/index.js +0 -1
- package/src/components/user/author_box/AuthorBox.docs.mdx +0 -35
- package/src/components/user/author_box/AuthorBox.jsx +0 -128
- package/src/components/user/author_box/AuthorBox.module.scss +0 -110
- package/src/components/user/author_box/AuthorBox.stories.jsx +0 -193
- package/src/components/user/author_box/AuthorBox.test.jsx +0 -171
- package/src/components/user/author_box/index.js +0 -1
- package/src/components/user/avatar/Avatar.docs.mdx +0 -31
- package/src/components/user/avatar/Avatar.jsx +0 -63
- package/src/components/user/avatar/Avatar.module.scss +0 -30
- package/src/components/user/avatar/Avatar.stories.jsx +0 -79
- package/src/components/user/avatar/Avatar.test.jsx +0 -114
- package/src/components/user/avatar/DefaultAvatar.jsx +0 -13
- package/src/components/user/avatar/index.js +0 -1
- package/src/components/user/avatar_selector/AvatarSelector.docs.mdx +0 -25
- package/src/components/user/avatar_selector/AvatarSelector.jsx +0 -65
- package/src/components/user/avatar_selector/AvatarSelector.module.scss +0 -105
- package/src/components/user/avatar_selector/AvatarSelector.stories.jsx +0 -46
- package/src/components/user/avatar_selector/AvatarSelector.test.jsx +0 -98
- package/src/components/user/avatar_selector/index.js +0 -1
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.docs.mdx +0 -22
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.jsx +0 -254
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.module.scss +0 -176
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.stories.jsx +0 -113
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.test.jsx +0 -213
- package/src/components/user/update_user_info_modal/index.js +0 -2
- package/src/components/user/update_user_info_modal/useUpdateUserInfo.jsx +0 -40
- package/src/components/user/user_box/UserBox.docs.mdx +0 -21
- package/src/components/user/user_box/UserBox.jsx +0 -59
- package/src/components/user/user_box/UserBox.module.scss +0 -86
- package/src/components/user/user_box/UserBox.stories.jsx +0 -82
- package/src/components/user/user_box/UserBox.test.jsx +0 -95
- package/src/components/user/user_box/index.js +0 -1
- package/src/components/user/user_box_small/UserBoxSmall.docs.mdx +0 -20
- package/src/components/user/user_box_small/UserBoxSmall.jsx +0 -36
- package/src/components/user/user_box_small/UserBoxSmall.module.scss +0 -21
- package/src/components/user/user_box_small/UserBoxSmall.stories.jsx +0 -38
- package/src/components/user/user_box_small/UserBoxSmall.test.jsx +0 -49
- package/src/components/user/user_box_small/index.js +0 -1
- package/src/components/user_content/content_footer/ContentFooter.docs.mdx +0 -36
- package/src/components/user_content/content_footer/ContentFooter.jsx +0 -234
- package/src/components/user_content/content_footer/ContentFooter.module.scss +0 -79
- package/src/components/user_content/content_footer/ContentFooter.stories.jsx +0 -438
- package/src/components/user_content/content_footer/ContentFooter.test.jsx +0 -246
- package/src/components/user_content/content_footer/index.js +0 -1
- package/src/components/user_content/content_header/ContentHeader.docs.mdx +0 -27
- package/src/components/user_content/content_header/ContentHeader.jsx +0 -131
- package/src/components/user_content/content_header/ContentHeader.module.scss +0 -111
- package/src/components/user_content/content_header/ContentHeader.stories.jsx +0 -221
- package/src/components/user_content/content_header/ContentHeader.test.jsx +0 -98
- package/src/components/user_content/content_header/index.js +0 -1
- package/src/components/user_content/summary_content_box/SummaryContentBox.docs.mdx +0 -25
- package/src/components/user_content/summary_content_box/SummaryContentBox.jsx +0 -89
- package/src/components/user_content/summary_content_box/SummaryContentBox.module.scss +0 -65
- package/src/components/user_content/summary_content_box/SummaryContentBox.stories.jsx +0 -130
- package/src/components/user_content/summary_content_box/SummaryContentBox.test.jsx +0 -169
- package/src/components/user_content/summary_content_box/index.js +0 -1
- package/src/components/user_content/use_delete_content/index.js +0 -1
- package/src/components/user_content/use_delete_content/useDeleteContent.docs.mdx +0 -34
- package/src/components/user_content/use_delete_content/useDeleteContent.jsx +0 -55
- package/src/components/user_content/use_delete_content/useDeleteContent.test.jsx +0 -78
- package/src/components/user_content/use_report_content/ReportModal.docs.mdx +0 -54
- package/src/components/user_content/use_report_content/ReportModal.jsx +0 -187
- package/src/components/user_content/use_report_content/ReportModal.module.scss +0 -121
- package/src/components/user_content/use_report_content/ReportModal.stories.jsx +0 -61
- package/src/components/user_content/use_report_content/ReportModal.test.jsx +0 -51
- package/src/components/user_content/use_report_content/index.js +0 -2
- package/src/components/user_content/use_report_content/useReportContent.docs.mdx +0 -24
- package/src/components/user_content/use_report_content/useReportContent.jsx +0 -32
- package/src/components/user_content/use_report_content/useReportContent.test.jsx +0 -138
- package/src/components/util/lang_emojis/index.js +0 -1
- package/src/components/util/lang_emojis/langEmojis.docs.mdx +0 -10
- package/src/components/util/lang_emojis/langEmojis.js +0 -72
- package/src/components/util/lang_emojis/langEmojis.test.jsx +0 -63
- package/src/components/util/location/Location.docs.mdx +0 -18
- package/src/components/util/location/Location.js +0 -84
- package/src/components/util/location/Location.test.jsx +0 -24
- package/src/components/util/location/index.js +0 -1
- package/src/components/util/unique_by/index.js +0 -1
- package/src/components/util/unique_by/uniqueBy.docs.mdx +0 -24
- package/src/components/util/unique_by/uniqueBy.js +0 -9
- package/src/components/util/unique_by/uniqueBy.test.jsx +0 -29
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.docs.mdx +0 -24
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.jsx +0 -87
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.module.scss +0 -17
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.stories.jsx +0 -97
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.test.jsx +0 -182
- package/src/components/vote/suggestion_vote_box/index.js +0 -1
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.docs.mdx +0 -24
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.jsx +0 -64
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.module.scss +0 -35
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.stories.jsx +0 -97
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.test.jsx +0 -173
- package/src/components/vote/up_down_vote_box/index.js +0 -1
- package/src/components/vote/use_vote/index.js +0 -1
- package/src/components/vote/use_vote/useVote.docs.mdx +0 -42
- package/src/components/vote/use_vote/useVote.jsx +0 -165
- package/src/components/vote/use_vote/useVote.test.jsx +0 -294
- package/src/components/vote/vote_box/VoteBox.docs.mdx +0 -45
- package/src/components/vote/vote_box/VoteBox.jsx +0 -420
- package/src/components/vote/vote_box/VoteBox.module.scss +0 -254
- package/src/components/vote/vote_box/VoteBox.stories.jsx +0 -319
- package/src/components/vote/vote_box/VoteBox.test.jsx +0 -256
- package/src/components/vote/vote_box/index.js +0 -1
- package/src/components/vote/vote_button/VoteButton.docs.mdx +0 -24
- package/src/components/vote/vote_button/VoteButton.jsx +0 -59
- package/src/components/vote/vote_button/VoteButton.module.scss +0 -35
- package/src/components/vote/vote_button/VoteButton.stories.jsx +0 -97
- package/src/components/vote/vote_button/VoteButton.test.jsx +0 -167
- package/src/components/vote/vote_button/index.js +0 -1
- package/src/components/vote/vote_provider/VoteProvider.docs.mdx +0 -68
- package/src/components/vote/vote_provider/VoteProvider.jsx +0 -63
- package/src/components/vote/vote_provider/VoteProvider.stories.jsx +0 -99
- package/src/components/vote/vote_provider/VoteProvider.test.jsx +0 -137
- package/src/components/vote/vote_provider/index.js +0 -2
- package/src/index.js +0 -127
- package/vitest.config.mjs +0 -52
- package/vitest.setup.js +0 -4
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@formatjs+icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/types.js
|
|
2
|
+
var e;
|
|
3
|
+
(function(e) {
|
|
4
|
+
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
5
|
+
})(e ||= {});
|
|
6
|
+
var t;
|
|
7
|
+
(function(e) {
|
|
8
|
+
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
9
|
+
})(t ||= {});
|
|
10
|
+
function n(t) {
|
|
11
|
+
return t.type === e.literal;
|
|
12
|
+
}
|
|
13
|
+
function r(t) {
|
|
14
|
+
return t.type === e.argument;
|
|
15
|
+
}
|
|
16
|
+
function i(t) {
|
|
17
|
+
return t.type === e.number;
|
|
18
|
+
}
|
|
19
|
+
function a(t) {
|
|
20
|
+
return t.type === e.date;
|
|
21
|
+
}
|
|
22
|
+
function o(t) {
|
|
23
|
+
return t.type === e.time;
|
|
24
|
+
}
|
|
25
|
+
function s(t) {
|
|
26
|
+
return t.type === e.select;
|
|
27
|
+
}
|
|
28
|
+
function c(t) {
|
|
29
|
+
return t.type === e.plural;
|
|
30
|
+
}
|
|
31
|
+
function l(t) {
|
|
32
|
+
return t.type === e.pound;
|
|
33
|
+
}
|
|
34
|
+
function u(t) {
|
|
35
|
+
return t.type === e.tag;
|
|
36
|
+
}
|
|
37
|
+
function d(e) {
|
|
38
|
+
return !!(e && typeof e == "object" && e.type === t.number);
|
|
39
|
+
}
|
|
40
|
+
function f(e) {
|
|
41
|
+
return !!(e && typeof e == "object" && e.type === t.dateTime);
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
export { t as SKELETON_TYPE, e as TYPE, r as isArgumentElement, a as isDateElement, f as isDateTimeSkeleton, n as isLiteralElement, i as isNumberElement, d as isNumberSkeleton, c as isPluralElement, l as isPoundElement, s as isSelectElement, u as isTagElement, o as isTimeElement };
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@formatjs+icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js
|
|
2
|
+
var e = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
3
|
+
function t(t) {
|
|
4
|
+
var n = {};
|
|
5
|
+
return t.replace(e, function(e) {
|
|
6
|
+
var t = e.length;
|
|
7
|
+
switch (e[0]) {
|
|
8
|
+
case "G":
|
|
9
|
+
n.era = t === 4 ? "long" : t === 5 ? "narrow" : "short";
|
|
10
|
+
break;
|
|
11
|
+
case "y":
|
|
12
|
+
n.year = t === 2 ? "2-digit" : "numeric";
|
|
13
|
+
break;
|
|
14
|
+
case "Y":
|
|
15
|
+
case "u":
|
|
16
|
+
case "U":
|
|
17
|
+
case "r": throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
|
|
18
|
+
case "q":
|
|
19
|
+
case "Q": throw RangeError("`q/Q` (quarter) patterns are not supported");
|
|
20
|
+
case "M":
|
|
21
|
+
case "L":
|
|
22
|
+
n.month = [
|
|
23
|
+
"numeric",
|
|
24
|
+
"2-digit",
|
|
25
|
+
"short",
|
|
26
|
+
"long",
|
|
27
|
+
"narrow"
|
|
28
|
+
][t - 1];
|
|
29
|
+
break;
|
|
30
|
+
case "w":
|
|
31
|
+
case "W": throw RangeError("`w/W` (week) patterns are not supported");
|
|
32
|
+
case "d":
|
|
33
|
+
n.day = ["numeric", "2-digit"][t - 1];
|
|
34
|
+
break;
|
|
35
|
+
case "D":
|
|
36
|
+
case "F":
|
|
37
|
+
case "g": throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
38
|
+
case "E":
|
|
39
|
+
n.weekday = t === 4 ? "long" : t === 5 ? "narrow" : "short";
|
|
40
|
+
break;
|
|
41
|
+
case "e":
|
|
42
|
+
if (t < 4) throw RangeError("`e..eee` (weekday) patterns are not supported");
|
|
43
|
+
n.weekday = [
|
|
44
|
+
"short",
|
|
45
|
+
"long",
|
|
46
|
+
"narrow",
|
|
47
|
+
"short"
|
|
48
|
+
][t - 4];
|
|
49
|
+
break;
|
|
50
|
+
case "c":
|
|
51
|
+
if (t < 4) throw RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
52
|
+
n.weekday = [
|
|
53
|
+
"short",
|
|
54
|
+
"long",
|
|
55
|
+
"narrow",
|
|
56
|
+
"short"
|
|
57
|
+
][t - 4];
|
|
58
|
+
break;
|
|
59
|
+
case "a":
|
|
60
|
+
n.hour12 = !0;
|
|
61
|
+
break;
|
|
62
|
+
case "b":
|
|
63
|
+
case "B": throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
64
|
+
case "h":
|
|
65
|
+
n.hourCycle = "h12", n.hour = ["numeric", "2-digit"][t - 1];
|
|
66
|
+
break;
|
|
67
|
+
case "H":
|
|
68
|
+
n.hourCycle = "h23", n.hour = ["numeric", "2-digit"][t - 1];
|
|
69
|
+
break;
|
|
70
|
+
case "K":
|
|
71
|
+
n.hourCycle = "h11", n.hour = ["numeric", "2-digit"][t - 1];
|
|
72
|
+
break;
|
|
73
|
+
case "k":
|
|
74
|
+
n.hourCycle = "h24", n.hour = ["numeric", "2-digit"][t - 1];
|
|
75
|
+
break;
|
|
76
|
+
case "j":
|
|
77
|
+
case "J":
|
|
78
|
+
case "C": throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
79
|
+
case "m":
|
|
80
|
+
n.minute = ["numeric", "2-digit"][t - 1];
|
|
81
|
+
break;
|
|
82
|
+
case "s":
|
|
83
|
+
n.second = ["numeric", "2-digit"][t - 1];
|
|
84
|
+
break;
|
|
85
|
+
case "S":
|
|
86
|
+
case "A": throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
87
|
+
case "z":
|
|
88
|
+
n.timeZoneName = t < 4 ? "short" : "long";
|
|
89
|
+
break;
|
|
90
|
+
case "Z":
|
|
91
|
+
case "O":
|
|
92
|
+
case "v":
|
|
93
|
+
case "V":
|
|
94
|
+
case "X":
|
|
95
|
+
case "x": throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
|
96
|
+
}
|
|
97
|
+
return "";
|
|
98
|
+
}), n;
|
|
99
|
+
}
|
|
100
|
+
//#endregion
|
|
101
|
+
export { t as parseDateTimeSkeleton };
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { __assign as e } from "../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import { WHITE_SPACE_REGEX as t } from "./regex.generated.js";
|
|
3
|
+
//#region node_modules/.pnpm/@formatjs+icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/number.js
|
|
4
|
+
function n(e) {
|
|
5
|
+
if (e.length === 0) throw Error("Number skeleton cannot be empty");
|
|
6
|
+
for (var n = e.split(t).filter(function(e) {
|
|
7
|
+
return e.length > 0;
|
|
8
|
+
}), r = [], i = 0, a = n; i < a.length; i++) {
|
|
9
|
+
var o = a[i].split("/");
|
|
10
|
+
if (o.length === 0) throw Error("Invalid number skeleton");
|
|
11
|
+
for (var s = o[0], c = o.slice(1), l = 0, u = c; l < u.length; l++) if (u[l].length === 0) throw Error("Invalid number skeleton");
|
|
12
|
+
r.push({
|
|
13
|
+
stem: s,
|
|
14
|
+
options: c
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
return r;
|
|
18
|
+
}
|
|
19
|
+
function r(e) {
|
|
20
|
+
return e.replace(/^(.*?)-/, "");
|
|
21
|
+
}
|
|
22
|
+
var i = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, a = /^(@+)?(\+|#+)?[rs]?$/g, o = /(\*)(0+)|(#+)(0+)|(0+)/g, s = /^(0+)$/;
|
|
23
|
+
function c(e) {
|
|
24
|
+
var t = {};
|
|
25
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(a, function(e, n, r) {
|
|
26
|
+
return typeof r == "string" ? r === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof r == "string" ? r.length : 0)) : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length), "";
|
|
27
|
+
}), t;
|
|
28
|
+
}
|
|
29
|
+
function l(e) {
|
|
30
|
+
switch (e) {
|
|
31
|
+
case "sign-auto": return { signDisplay: "auto" };
|
|
32
|
+
case "sign-accounting":
|
|
33
|
+
case "()": return { currencySign: "accounting" };
|
|
34
|
+
case "sign-always":
|
|
35
|
+
case "+!": return { signDisplay: "always" };
|
|
36
|
+
case "sign-accounting-always":
|
|
37
|
+
case "()!": return {
|
|
38
|
+
signDisplay: "always",
|
|
39
|
+
currencySign: "accounting"
|
|
40
|
+
};
|
|
41
|
+
case "sign-except-zero":
|
|
42
|
+
case "+?": return { signDisplay: "exceptZero" };
|
|
43
|
+
case "sign-accounting-except-zero":
|
|
44
|
+
case "()?": return {
|
|
45
|
+
signDisplay: "exceptZero",
|
|
46
|
+
currencySign: "accounting"
|
|
47
|
+
};
|
|
48
|
+
case "sign-never":
|
|
49
|
+
case "+_": return { signDisplay: "never" };
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
function u(e) {
|
|
53
|
+
var t;
|
|
54
|
+
if (e[0] === "E" && e[1] === "E" ? (t = { notation: "engineering" }, e = e.slice(2)) : e[0] === "E" && (t = { notation: "scientific" }, e = e.slice(1)), t) {
|
|
55
|
+
var n = e.slice(0, 2);
|
|
56
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !s.test(e)) throw Error("Malformed concise eng/scientific notation");
|
|
57
|
+
t.minimumIntegerDigits = e.length;
|
|
58
|
+
}
|
|
59
|
+
return t;
|
|
60
|
+
}
|
|
61
|
+
function d(e) {
|
|
62
|
+
return l(e) || {};
|
|
63
|
+
}
|
|
64
|
+
function f(t) {
|
|
65
|
+
for (var n = {}, f = 0, p = t; f < p.length; f++) {
|
|
66
|
+
var m = p[f];
|
|
67
|
+
switch (m.stem) {
|
|
68
|
+
case "percent":
|
|
69
|
+
case "%":
|
|
70
|
+
n.style = "percent";
|
|
71
|
+
continue;
|
|
72
|
+
case "%x100":
|
|
73
|
+
n.style = "percent", n.scale = 100;
|
|
74
|
+
continue;
|
|
75
|
+
case "currency":
|
|
76
|
+
n.style = "currency", n.currency = m.options[0];
|
|
77
|
+
continue;
|
|
78
|
+
case "group-off":
|
|
79
|
+
case ",_":
|
|
80
|
+
n.useGrouping = !1;
|
|
81
|
+
continue;
|
|
82
|
+
case "precision-integer":
|
|
83
|
+
case ".":
|
|
84
|
+
n.maximumFractionDigits = 0;
|
|
85
|
+
continue;
|
|
86
|
+
case "measure-unit":
|
|
87
|
+
case "unit":
|
|
88
|
+
n.style = "unit", n.unit = r(m.options[0]);
|
|
89
|
+
continue;
|
|
90
|
+
case "compact-short":
|
|
91
|
+
case "K":
|
|
92
|
+
n.notation = "compact", n.compactDisplay = "short";
|
|
93
|
+
continue;
|
|
94
|
+
case "compact-long":
|
|
95
|
+
case "KK":
|
|
96
|
+
n.notation = "compact", n.compactDisplay = "long";
|
|
97
|
+
continue;
|
|
98
|
+
case "scientific":
|
|
99
|
+
n = e(e(e({}, n), { notation: "scientific" }), m.options.reduce(function(t, n) {
|
|
100
|
+
return e(e({}, t), d(n));
|
|
101
|
+
}, {}));
|
|
102
|
+
continue;
|
|
103
|
+
case "engineering":
|
|
104
|
+
n = e(e(e({}, n), { notation: "engineering" }), m.options.reduce(function(t, n) {
|
|
105
|
+
return e(e({}, t), d(n));
|
|
106
|
+
}, {}));
|
|
107
|
+
continue;
|
|
108
|
+
case "notation-simple":
|
|
109
|
+
n.notation = "standard";
|
|
110
|
+
continue;
|
|
111
|
+
case "unit-width-narrow":
|
|
112
|
+
n.currencyDisplay = "narrowSymbol", n.unitDisplay = "narrow";
|
|
113
|
+
continue;
|
|
114
|
+
case "unit-width-short":
|
|
115
|
+
n.currencyDisplay = "code", n.unitDisplay = "short";
|
|
116
|
+
continue;
|
|
117
|
+
case "unit-width-full-name":
|
|
118
|
+
n.currencyDisplay = "name", n.unitDisplay = "long";
|
|
119
|
+
continue;
|
|
120
|
+
case "unit-width-iso-code":
|
|
121
|
+
n.currencyDisplay = "symbol";
|
|
122
|
+
continue;
|
|
123
|
+
case "scale":
|
|
124
|
+
n.scale = parseFloat(m.options[0]);
|
|
125
|
+
continue;
|
|
126
|
+
case "rounding-mode-floor":
|
|
127
|
+
n.roundingMode = "floor";
|
|
128
|
+
continue;
|
|
129
|
+
case "rounding-mode-ceiling":
|
|
130
|
+
n.roundingMode = "ceil";
|
|
131
|
+
continue;
|
|
132
|
+
case "rounding-mode-down":
|
|
133
|
+
n.roundingMode = "trunc";
|
|
134
|
+
continue;
|
|
135
|
+
case "rounding-mode-up":
|
|
136
|
+
n.roundingMode = "expand";
|
|
137
|
+
continue;
|
|
138
|
+
case "rounding-mode-half-even":
|
|
139
|
+
n.roundingMode = "halfEven";
|
|
140
|
+
continue;
|
|
141
|
+
case "rounding-mode-half-down":
|
|
142
|
+
n.roundingMode = "halfTrunc";
|
|
143
|
+
continue;
|
|
144
|
+
case "rounding-mode-half-up":
|
|
145
|
+
n.roundingMode = "halfExpand";
|
|
146
|
+
continue;
|
|
147
|
+
case "integer-width":
|
|
148
|
+
if (m.options.length > 1) throw RangeError("integer-width stems only accept a single optional option");
|
|
149
|
+
m.options[0].replace(o, function(e, t, r, i, a, o) {
|
|
150
|
+
if (t) n.minimumIntegerDigits = r.length;
|
|
151
|
+
else if (i && a) throw Error("We currently do not support maximum integer digits");
|
|
152
|
+
else if (o) throw Error("We currently do not support exact integer digits");
|
|
153
|
+
return "";
|
|
154
|
+
});
|
|
155
|
+
continue;
|
|
156
|
+
}
|
|
157
|
+
if (s.test(m.stem)) {
|
|
158
|
+
n.minimumIntegerDigits = m.stem.length;
|
|
159
|
+
continue;
|
|
160
|
+
}
|
|
161
|
+
if (i.test(m.stem)) {
|
|
162
|
+
if (m.options.length > 1) throw RangeError("Fraction-precision stems only accept a single optional option");
|
|
163
|
+
m.stem.replace(i, function(e, t, r, i, a, o) {
|
|
164
|
+
return r === "*" ? n.minimumFractionDigits = t.length : i && i[0] === "#" ? n.maximumFractionDigits = i.length : a && o ? (n.minimumFractionDigits = a.length, n.maximumFractionDigits = a.length + o.length) : (n.minimumFractionDigits = t.length, n.maximumFractionDigits = t.length), "";
|
|
165
|
+
});
|
|
166
|
+
var h = m.options[0];
|
|
167
|
+
h === "w" ? n = e(e({}, n), { trailingZeroDisplay: "stripIfInteger" }) : h && (n = e(e({}, n), c(h)));
|
|
168
|
+
continue;
|
|
169
|
+
}
|
|
170
|
+
if (a.test(m.stem)) {
|
|
171
|
+
n = e(e({}, n), c(m.stem));
|
|
172
|
+
continue;
|
|
173
|
+
}
|
|
174
|
+
var g = l(m.stem);
|
|
175
|
+
g && (n = e(e({}, n), g));
|
|
176
|
+
var _ = u(m.stem);
|
|
177
|
+
_ && (n = e(e({}, n), _));
|
|
178
|
+
}
|
|
179
|
+
return n;
|
|
180
|
+
}
|
|
181
|
+
//#endregion
|
|
182
|
+
export { f as parseNumberSkeleton, n as parseNumberSkeletonFromString };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __assign as e } from "../../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import { InvalidConfigError as t, MissingDataError as n } from "./error.js";
|
|
3
|
+
import { DEFAULT_INTL_CONFIG as r, createFormatters as i } from "./utils.js";
|
|
4
|
+
import { formatMessage as a } from "./message.js";
|
|
5
|
+
import { formatDate as o, formatDateTimeRange as s, formatDateToParts as c, formatTime as l, formatTimeToParts as u } from "./dateTime.js";
|
|
6
|
+
import { formatDisplayName as d } from "./displayName.js";
|
|
7
|
+
import { formatList as f, formatListToParts as p } from "./list.js";
|
|
8
|
+
import { formatPlural as m } from "./plural.js";
|
|
9
|
+
import { formatRelativeTime as h } from "./relativeTime.js";
|
|
10
|
+
import { formatNumber as g, formatNumberToParts as _ } from "./number.js";
|
|
11
|
+
//#region node_modules/.pnpm/@formatjs+intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/create-intl.js
|
|
12
|
+
function v(e) {
|
|
13
|
+
return typeof (e ? e[Object.keys(e)[0]] : void 0) == "string";
|
|
14
|
+
}
|
|
15
|
+
function y(e) {
|
|
16
|
+
e.onWarn && e.defaultRichTextElements && v(e.messages || {}) && e.onWarn("[@formatjs/intl] \"defaultRichTextElements\" was specified but \"message\" was not pre-compiled. \nPlease consider using \"@formatjs/cli\" to pre-compile your messages for performance.\nFor more details see https://formatjs.github.io/docs/getting-started/message-distribution");
|
|
17
|
+
}
|
|
18
|
+
function b(v, b) {
|
|
19
|
+
var x = i(b), S = e(e({}, r), v), C = S.locale, w = S.defaultLocale, T = S.onError;
|
|
20
|
+
return C ? !Intl.NumberFormat.supportedLocalesOf(C).length && T ? T(new n(`Missing locale data for locale: "${C}" in Intl.NumberFormat. Using default locale: "${w}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)) : !Intl.DateTimeFormat.supportedLocalesOf(C).length && T && T(new n(`Missing locale data for locale: "${C}" in Intl.DateTimeFormat. Using default locale: "${w}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)) : (T && T(new t(`"locale" was not configured, using "${w}" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details`)), S.locale = S.defaultLocale || "en"), y(S), e(e({}, S), {
|
|
21
|
+
formatters: x,
|
|
22
|
+
formatNumber: g.bind(null, S, x.getNumberFormat),
|
|
23
|
+
formatNumberToParts: _.bind(null, S, x.getNumberFormat),
|
|
24
|
+
formatRelativeTime: h.bind(null, S, x.getRelativeTimeFormat),
|
|
25
|
+
formatDate: o.bind(null, S, x.getDateTimeFormat),
|
|
26
|
+
formatDateToParts: c.bind(null, S, x.getDateTimeFormat),
|
|
27
|
+
formatTime: l.bind(null, S, x.getDateTimeFormat),
|
|
28
|
+
formatDateTimeRange: s.bind(null, S, x.getDateTimeFormat),
|
|
29
|
+
formatTimeToParts: u.bind(null, S, x.getDateTimeFormat),
|
|
30
|
+
formatPlural: m.bind(null, S, x.getPluralRules),
|
|
31
|
+
formatMessage: a.bind(null, S, x),
|
|
32
|
+
$t: a.bind(null, S, x),
|
|
33
|
+
formatList: f.bind(null, S, x.getListFormat),
|
|
34
|
+
formatListToParts: p.bind(null, S, x.getListFormat),
|
|
35
|
+
formatDisplayName: d.bind(null, S, x.getDisplayNames)
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
export { b as createIntl };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { __assign as e } from "../../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import { IntlFormatError as t } from "./error.js";
|
|
3
|
+
import { filterProps as n, getNamedFormat as r } from "./utils.js";
|
|
4
|
+
//#region node_modules/.pnpm/@formatjs+intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/dateTime.js
|
|
5
|
+
var i = [
|
|
6
|
+
"formatMatcher",
|
|
7
|
+
"timeZone",
|
|
8
|
+
"hour12",
|
|
9
|
+
"weekday",
|
|
10
|
+
"era",
|
|
11
|
+
"year",
|
|
12
|
+
"month",
|
|
13
|
+
"day",
|
|
14
|
+
"hour",
|
|
15
|
+
"minute",
|
|
16
|
+
"second",
|
|
17
|
+
"timeZoneName",
|
|
18
|
+
"hourCycle",
|
|
19
|
+
"dateStyle",
|
|
20
|
+
"timeStyle",
|
|
21
|
+
"calendar",
|
|
22
|
+
"numberingSystem",
|
|
23
|
+
"fractionalSecondDigits"
|
|
24
|
+
];
|
|
25
|
+
function a(t, a, o, s) {
|
|
26
|
+
var c = t.locale, l = t.formats, u = t.onError, d = t.timeZone;
|
|
27
|
+
s === void 0 && (s = {});
|
|
28
|
+
var f = s.format, p = e(e({}, d && { timeZone: d }), f && r(l, a, f, u)), m = n(s, i, p);
|
|
29
|
+
return a === "time" && !m.hour && !m.minute && !m.second && !m.timeStyle && !m.dateStyle && (m = e(e({}, m), {
|
|
30
|
+
hour: "numeric",
|
|
31
|
+
minute: "numeric"
|
|
32
|
+
})), o(c, m);
|
|
33
|
+
}
|
|
34
|
+
function o(e, n) {
|
|
35
|
+
var r = [...arguments].slice(2), i = r[0], o = r[1], s = o === void 0 ? {} : o, c = typeof i == "string" ? new Date(i || 0) : i;
|
|
36
|
+
try {
|
|
37
|
+
return a(e, "date", n, s).format(c);
|
|
38
|
+
} catch (n) {
|
|
39
|
+
e.onError(new t("Error formatting date.", e.locale, n));
|
|
40
|
+
}
|
|
41
|
+
return String(c);
|
|
42
|
+
}
|
|
43
|
+
function s(e, n) {
|
|
44
|
+
var r = [...arguments].slice(2), i = r[0], o = r[1], s = o === void 0 ? {} : o, c = typeof i == "string" ? new Date(i || 0) : i;
|
|
45
|
+
try {
|
|
46
|
+
return a(e, "time", n, s).format(c);
|
|
47
|
+
} catch (n) {
|
|
48
|
+
e.onError(new t("Error formatting time.", e.locale, n));
|
|
49
|
+
}
|
|
50
|
+
return String(c);
|
|
51
|
+
}
|
|
52
|
+
function c(e, n) {
|
|
53
|
+
var r = [...arguments].slice(2), i = r[0], o = r[1], s = r[2], c = s === void 0 ? {} : s, l = typeof i == "string" ? new Date(i || 0) : i, u = typeof o == "string" ? new Date(o || 0) : o;
|
|
54
|
+
try {
|
|
55
|
+
return a(e, "dateTimeRange", n, c).formatRange(l, u);
|
|
56
|
+
} catch (n) {
|
|
57
|
+
e.onError(new t("Error formatting date time range.", e.locale, n));
|
|
58
|
+
}
|
|
59
|
+
return String(l);
|
|
60
|
+
}
|
|
61
|
+
function l(e, n) {
|
|
62
|
+
var r = [...arguments].slice(2), i = r[0], o = r[1], s = o === void 0 ? {} : o, c = typeof i == "string" ? new Date(i || 0) : i;
|
|
63
|
+
try {
|
|
64
|
+
return a(e, "date", n, s).formatToParts(c);
|
|
65
|
+
} catch (n) {
|
|
66
|
+
e.onError(new t("Error formatting date.", e.locale, n));
|
|
67
|
+
}
|
|
68
|
+
return [];
|
|
69
|
+
}
|
|
70
|
+
function u(e, n) {
|
|
71
|
+
var r = [...arguments].slice(2), i = r[0], o = r[1], s = o === void 0 ? {} : o, c = typeof i == "string" ? new Date(i || 0) : i;
|
|
72
|
+
try {
|
|
73
|
+
return a(e, "time", n, s).formatToParts(c);
|
|
74
|
+
} catch (n) {
|
|
75
|
+
e.onError(new t("Error formatting time.", e.locale, n));
|
|
76
|
+
}
|
|
77
|
+
return [];
|
|
78
|
+
}
|
|
79
|
+
//#endregion
|
|
80
|
+
export { o as formatDate, c as formatDateTimeRange, l as formatDateToParts, s as formatTime, u as formatTimeToParts };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ErrorCode as e, FormatError as t } from "../../../../../../intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/error.js";
|
|
2
|
+
import { IntlFormatError as n } from "./error.js";
|
|
3
|
+
import { filterProps as r } from "./utils.js";
|
|
4
|
+
//#region node_modules/.pnpm/@formatjs+intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/displayName.js
|
|
5
|
+
var i = [
|
|
6
|
+
"style",
|
|
7
|
+
"type",
|
|
8
|
+
"fallback",
|
|
9
|
+
"languageDisplay"
|
|
10
|
+
];
|
|
11
|
+
function a(a, o, s, c) {
|
|
12
|
+
var l = a.locale, u = a.onError;
|
|
13
|
+
Intl.DisplayNames || u(new t("Intl.DisplayNames is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-displaynames\"\n", e.MISSING_INTL_API));
|
|
14
|
+
var d = r(c, i);
|
|
15
|
+
try {
|
|
16
|
+
return o(l, d).of(s);
|
|
17
|
+
} catch (e) {
|
|
18
|
+
u(new n("Error formatting display name.", l, e));
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
export { a as formatDisplayName };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { __extends as e } from "../../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
2
|
+
//#region node_modules/.pnpm/@formatjs+intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/error.js
|
|
3
|
+
var t;
|
|
4
|
+
(function(e) {
|
|
5
|
+
e.FORMAT_ERROR = "FORMAT_ERROR", e.UNSUPPORTED_FORMATTER = "UNSUPPORTED_FORMATTER", e.INVALID_CONFIG = "INVALID_CONFIG", e.MISSING_DATA = "MISSING_DATA", e.MISSING_TRANSLATION = "MISSING_TRANSLATION";
|
|
6
|
+
})(t ||= {});
|
|
7
|
+
var n = function(t) {
|
|
8
|
+
e(n, t);
|
|
9
|
+
function n(e, r, i) {
|
|
10
|
+
var a = this, o = i ? i instanceof Error ? i : Error(String(i)) : void 0;
|
|
11
|
+
return a = t.call(this, `[@formatjs/intl Error ${e}] ${r}
|
|
12
|
+
${o ? `
|
|
13
|
+
${o.message}
|
|
14
|
+
${o.stack}` : ""}`) || this, a.code = e, typeof Error.captureStackTrace == "function" && Error.captureStackTrace(a, n), a;
|
|
15
|
+
}
|
|
16
|
+
return n;
|
|
17
|
+
}(Error), r = function(n) {
|
|
18
|
+
e(r, n);
|
|
19
|
+
function r(e, r) {
|
|
20
|
+
return n.call(this, t.UNSUPPORTED_FORMATTER, e, r) || this;
|
|
21
|
+
}
|
|
22
|
+
return r;
|
|
23
|
+
}(n), i = function(n) {
|
|
24
|
+
e(r, n);
|
|
25
|
+
function r(e, r) {
|
|
26
|
+
return n.call(this, t.INVALID_CONFIG, e, r) || this;
|
|
27
|
+
}
|
|
28
|
+
return r;
|
|
29
|
+
}(n), a = function(n) {
|
|
30
|
+
e(r, n);
|
|
31
|
+
function r(e, r) {
|
|
32
|
+
return n.call(this, t.MISSING_DATA, e, r) || this;
|
|
33
|
+
}
|
|
34
|
+
return r;
|
|
35
|
+
}(n), o = function(n) {
|
|
36
|
+
e(r, n);
|
|
37
|
+
function r(e, r, i) {
|
|
38
|
+
var a = n.call(this, t.FORMAT_ERROR, `${e}
|
|
39
|
+
Locale: ${r}
|
|
40
|
+
`, i) || this;
|
|
41
|
+
return a.locale = r, a;
|
|
42
|
+
}
|
|
43
|
+
return r;
|
|
44
|
+
}(n), s = function(t) {
|
|
45
|
+
e(n, t);
|
|
46
|
+
function n(e, n, r, i) {
|
|
47
|
+
var a = t.call(this, `${e}
|
|
48
|
+
MessageID: ${r?.id}
|
|
49
|
+
Default Message: ${r?.defaultMessage}
|
|
50
|
+
Description: ${r?.description}
|
|
51
|
+
`, n, i) || this;
|
|
52
|
+
return a.descriptor = r, a.locale = n, a;
|
|
53
|
+
}
|
|
54
|
+
return n;
|
|
55
|
+
}(o), c = function(n) {
|
|
56
|
+
e(r, n);
|
|
57
|
+
function r(e, r) {
|
|
58
|
+
var i = n.call(this, t.MISSING_TRANSLATION, `Missing message: "${e.id}" for locale "${r}", using ${e.defaultMessage ? `default message (${typeof e.defaultMessage == "string" ? e.defaultMessage : e.defaultMessage.map(function(e) {
|
|
59
|
+
return e.value ?? JSON.stringify(e);
|
|
60
|
+
}).join()})` : "id"} as fallback.`) || this;
|
|
61
|
+
return i.descriptor = e, i;
|
|
62
|
+
}
|
|
63
|
+
return r;
|
|
64
|
+
}(n);
|
|
65
|
+
//#endregion
|
|
66
|
+
export { n as IntlError, t as IntlErrorCode, o as IntlFormatError, i as InvalidConfigError, s as MessageFormatError, a as MissingDataError, c as MissingTranslationError, r as UnsupportedFormatterError };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __assign as e } from "../../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import { ErrorCode as t, FormatError as n } from "../../../../../../intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/error.js";
|
|
3
|
+
import { IntlFormatError as r } from "./error.js";
|
|
4
|
+
import { filterProps as i } from "./utils.js";
|
|
5
|
+
//#region node_modules/.pnpm/@formatjs+intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/list.js
|
|
6
|
+
var a = ["type", "style"], o = Date.now();
|
|
7
|
+
function s(e) {
|
|
8
|
+
return `${o}_${e}_${o}`;
|
|
9
|
+
}
|
|
10
|
+
function c(e, t, n, r) {
|
|
11
|
+
r === void 0 && (r = {});
|
|
12
|
+
var i = l(e, t, n, r).reduce(function(e, t) {
|
|
13
|
+
var n = t.value;
|
|
14
|
+
return typeof n == "string" && typeof e[e.length - 1] == "string" ? e[e.length - 1] += n : e.push(n), e;
|
|
15
|
+
}, []);
|
|
16
|
+
return i.length === 1 ? i[0] : i.length === 0 ? "" : i;
|
|
17
|
+
}
|
|
18
|
+
function l(o, c, l, u) {
|
|
19
|
+
var d = o.locale, f = o.onError;
|
|
20
|
+
u === void 0 && (u = {}), Intl.ListFormat || f(new n("Intl.ListFormat is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-listformat\"\n", t.MISSING_INTL_API));
|
|
21
|
+
var p = i(u, a);
|
|
22
|
+
try {
|
|
23
|
+
var m = {}, h = Array.from(l).map(function(e, t) {
|
|
24
|
+
if (typeof e == "object" && e) {
|
|
25
|
+
var n = s(t);
|
|
26
|
+
return m[n] = e, n;
|
|
27
|
+
}
|
|
28
|
+
return String(e);
|
|
29
|
+
});
|
|
30
|
+
return c(d, p).formatToParts(h).map(function(t) {
|
|
31
|
+
return t.type === "literal" ? t : e(e({}, t), { value: m[t.value] || t.value });
|
|
32
|
+
});
|
|
33
|
+
} catch (e) {
|
|
34
|
+
f(new r("Error formatting list.", d, e));
|
|
35
|
+
}
|
|
36
|
+
return l;
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
export { c as formatList, l as formatListToParts };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { __assign as e } from "../../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import { TYPE as t } from "../../../../../../@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/types.js";
|
|
3
|
+
import "../../../../../../@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/index.js";
|
|
4
|
+
import { IntlMessageFormat as n } from "../../../../../../intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/core.js";
|
|
5
|
+
import { MessageFormatError as r, MissingTranslationError as i } from "./error.js";
|
|
6
|
+
import { invariant as a } from "./utils.js";
|
|
7
|
+
//#region node_modules/.pnpm/@formatjs+intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/message.js
|
|
8
|
+
function o(t, n) {
|
|
9
|
+
return Object.keys(t).reduce(function(r, i) {
|
|
10
|
+
return r[i] = e({ timeZone: n }, t[i]), r;
|
|
11
|
+
}, {});
|
|
12
|
+
}
|
|
13
|
+
function s(t, n) {
|
|
14
|
+
return Object.keys(e(e({}, t), n)).reduce(function(r, i) {
|
|
15
|
+
return r[i] = e(e({}, t[i] || {}), n[i] || {}), r;
|
|
16
|
+
}, {});
|
|
17
|
+
}
|
|
18
|
+
function c(t, r) {
|
|
19
|
+
if (!r) return t;
|
|
20
|
+
var i = n.formats;
|
|
21
|
+
return e(e(e({}, i), t), {
|
|
22
|
+
date: s(o(i.date, r), o(t.date || {}, r)),
|
|
23
|
+
time: s(o(i.time, r), o(t.time || {}, r))
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
var l = function(n, o, s, l, u) {
|
|
27
|
+
var d = n.locale, f = n.formats, p = n.messages, m = n.defaultLocale, h = n.defaultFormats, g = n.fallbackOnEmptyString, _ = n.onError, v = n.timeZone, y = n.defaultRichTextElements;
|
|
28
|
+
s === void 0 && (s = { id: "" });
|
|
29
|
+
var b = s.id, x = s.defaultMessage;
|
|
30
|
+
a(!!b, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue");
|
|
31
|
+
var S = String(b), C = p && Object.prototype.hasOwnProperty.call(p, S) && p[S];
|
|
32
|
+
if (Array.isArray(C) && C.length === 1 && C[0].type === t.literal) return C[0].value;
|
|
33
|
+
if (!l && C && typeof C == "string" && !y) return C.replace(/'\{(.*?)\}'/gi, "{$1}");
|
|
34
|
+
if (l = e(e({}, y), l || {}), f = c(f, v), h = c(h, v), !C) {
|
|
35
|
+
if (g === !1 && C === "") return C;
|
|
36
|
+
if ((!x || d && d.toLowerCase() !== m.toLowerCase()) && _(new i(s, d)), x) try {
|
|
37
|
+
var w = o.getMessageFormat(x, m, h, u);
|
|
38
|
+
return w.format(l);
|
|
39
|
+
} catch (e) {
|
|
40
|
+
return _(new r(`Error formatting default message for: "${S}", rendering default message verbatim`, d, s, e)), typeof x == "string" ? x : S;
|
|
41
|
+
}
|
|
42
|
+
return S;
|
|
43
|
+
}
|
|
44
|
+
try {
|
|
45
|
+
var w = o.getMessageFormat(C, d, f, e({ formatters: o }, u || {}));
|
|
46
|
+
return w.format(l);
|
|
47
|
+
} catch (e) {
|
|
48
|
+
_(new r(`Error formatting message: "${S}", using ${x ? "default message" : "id"} as fallback.`, d, s, e));
|
|
49
|
+
}
|
|
50
|
+
if (x) try {
|
|
51
|
+
var w = o.getMessageFormat(x, m, h, u);
|
|
52
|
+
return w.format(l);
|
|
53
|
+
} catch (e) {
|
|
54
|
+
_(new r(`Error formatting the default message for: "${S}", rendering message verbatim`, d, s, e));
|
|
55
|
+
}
|
|
56
|
+
return typeof C == "string" ? C : typeof x == "string" ? x : S;
|
|
57
|
+
};
|
|
58
|
+
//#endregion
|
|
59
|
+
export { l as formatMessage };
|