@logora/debate 0.2.6 → 0.3.1

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/dist/index.js CHANGED
@@ -1,24 +1,24 @@
1
- import * as o from "./components/icons/bild_icons/index.js";
2
- import * as r from "./components/icons/hero_icons/index.js";
3
- import * as e from "./components/icons/krone_icons/index.js";
4
- import * as t from "./components/icons/regular_icons/index.js";
5
- import * as x from "./components/icons/spiegel_icons/index.js";
1
+ import * as o from "./components/icons/regular_icons/index.js";
2
+ import * as r from "./components/icons/bild_icons/index.js";
3
+ import * as e from "./components/icons/spiegel_icons/index.js";
4
+ import * as t from "./components/icons/hero_icons/index.js";
5
+ import * as x from "./components/icons/krone_icons/index.js";
6
6
  import { ActionBar as f } from "./components/list/paginated_list/action_bar/ActionBar.js";
7
7
  import { AdUnit as a } from "./components/ad/ad_unit/AdUnit.js";
8
- import { AnnouncementDialog as i } from "./components/dialog/announcement_dialog/AnnouncementDialog.js";
9
- import { Argument as l } from "./components/argument/argument/Argument.js";
10
- import { ArgumentSummaryBox as g } from "./components/summary/argument_summary_box/ArgumentSummaryBox.js";
11
- import { AuthContext as B } from "./components/auth/use_auth/AuthContext.js";
12
- import { AuthInitializer as S } from "./components/auth/auth_initializer/AuthInitializer.js";
13
- import { AuthProvider as A, withAuth as I } from "./components/auth/use_auth/AuthProvider.js";
14
- import { AuthorBox as P } from "./components/user/author_box/AuthorBox.js";
15
- import { Avatar as L } from "./components/user/avatar/Avatar.js";
16
- import { AvatarSelector as M } from "./components/user/avatar_selector/AvatarSelector.js";
17
- import { BackLink as D } from "./components/action/back_link/BackLink.js";
18
- import { BadgeBox as U } from "./components/gamification/badge_box/BadgeBox.js";
19
- import { BoxSkeleton as V } from "./components/skeleton/box_skeleton/BoxSkeleton.js";
20
- import { Button as E } from "./components/action/button/Button.js";
21
- import { CheckBox as y } from "./components/icons/krone_icons/CheckBox.js";
8
+ import { AnnouncementDialog as s } from "./components/dialog/announcement_dialog/AnnouncementDialog.js";
9
+ import { Argument as d } from "./components/argument/argument/Argument.js";
10
+ import { ArgumentInput as g } from "./components/input/argument_input/ArgumentInput.js";
11
+ import { ArgumentSummaryBox as B } from "./components/summary/argument_summary_box/ArgumentSummaryBox.js";
12
+ import { AuthContext as S } from "./components/auth/use_auth/AuthContext.js";
13
+ import { AuthInitializer as I } from "./components/auth/auth_initializer/AuthInitializer.js";
14
+ import { AuthProvider as T, withAuth as L } from "./components/auth/use_auth/AuthProvider.js";
15
+ import { AuthorBox as v } from "./components/user/author_box/AuthorBox.js";
16
+ import { Avatar as M } from "./components/user/avatar/Avatar.js";
17
+ import { AvatarSelector as D } from "./components/user/avatar_selector/AvatarSelector.js";
18
+ import { BackLink as U } from "./components/action/back_link/BackLink.js";
19
+ import { BadgeBox as E } from "./components/gamification/badge_box/BadgeBox.js";
20
+ import { BoxSkeleton as b } from "./components/skeleton/box_skeleton/BoxSkeleton.js";
21
+ import { Button as N } from "./components/action/button/Button.js";
22
22
  import { ConfigContext as G, ConfigProvider as O } from "./components/data/config_provider/ConfigProvider.js";
23
23
  import { ConfirmModal as _ } from "./components/dialog/confirm_modal/ConfirmModal.js";
24
24
  import { ConsultationBox as K } from "./components/consultation/consultation_box/ConsultationBox.js";
@@ -31,139 +31,143 @@ import { DataProviderContext as to } from "./components/data/data_provider/DataP
31
31
  import { DebateBox as mo } from "./components/debate/debate_box/DebateBox.js";
32
32
  import { DialogBox as fo } from "./components/dialog/dialog_box/DialogBox.js";
33
33
  import { Drawer as ao } from "./components/dialog/drawer/Drawer.js";
34
- import { Dropdown as io } from "./components/dialog/dropdown/Dropdown.js";
34
+ import { Dropdown as so } from "./components/dialog/dropdown/Dropdown.js";
35
35
  import { EMAIL_CONSENT_STORAGE_KEY as lo, useAuthActions as go } from "./components/auth/use_auth/useAuthActions.js";
36
36
  import { EmbedHeader as Bo } from "./components/embed/embed_header/EmbedHeader.js";
37
37
  import { ExpandableText as So } from "./components/text/expandable_text/ExpandableText.js";
38
- import { FacebookLoginButton as Ao } from "./components/auth/facebook_login_button/FacebookLoginButton.js";
38
+ import { FacebookLoginButton as Io } from "./components/auth/facebook_login_button/FacebookLoginButton.js";
39
39
  import { FollowButton as To } from "./components/follow/follow_button/FollowButton.js";
40
- import { Form as vo } from "./components/forms/form/form.js";
40
+ import { Form as Po } from "./components/forms/form/form.js";
41
41
  import { FormContext as Fo } from "./components/forms/form/form-context.js";
42
42
  import { GoogleLoginButton as ko } from "./components/auth/google_login_button/GoogleLoginButton.js";
43
43
  import { HashScroll as Ro } from "./components/tools/hash_scroll/HashScroll.js";
44
44
  import { Icon as wo } from "./components/icons/icon/Icon.js";
45
- import { IconContext as bo, IconProvider as Eo } from "./components/icons/icon_provider/IconProvider.js";
46
- import { IconTextLink as yo } from "./components/action/icon_text_link/IconTextLink.js";
47
- import { HiddenCheckbox as Go } from "./components/input/checkbox/hidden/hidden-checkbox.js";
48
- import { InputProvider as $o } from "./components/input/input_provider/InputProvider.js";
49
- import { IntlContext as qo } from "./components/intl/intl_provider/IntlContext.js";
50
- import { IntlProvider as zo } from "./components/intl/intl_provider/IntlProvider.js";
51
- import { KeywordBox as Yo } from "./components/summary/keyword_box/KeywordBox.js";
52
- import { LANGUAGES as Jo, getLocaleIcon as Qo, getLocaleName as Xo } from "./components/util/lang_emojis/langEmojis.js";
53
- import { LineChart as or } from "./components/chart/line_chart/LineChart.js";
54
- import { ListProvider as er } from "./components/list/list_provider/ListProvider.js";
55
- import { Loader as xr } from "./components/progress/loader/Loader.js";
56
- import { Location as pr } from "./components/util/location/Location.js";
57
- import { LoginForm as nr } from "./components/auth/login_form/LoginForm.js";
58
- import { Message as sr } from "./components/input/text_input/message.js";
59
- import { Modal as ur } from "./components/dialog/modal/Modal.js";
60
- import { ModalContext as dr, ModalProvider as gr } from "./components/dialog/modal/ModalProvider.js";
61
- import { NavbarButton as Br } from "./components/navbar/navbar_button/NavbarButton.js";
62
- import { NavbarModal as Sr } from "./components/navbar/navbar_modal/NavbarModal.js";
63
- import { NotificationItem as Ar } from "./components/notification/notification_item/NotificationItem.js";
64
- import { OAuth2Button as Tr } from "./components/auth/oauth2_button/OAuth2Button.js";
65
- import { PaginatedList as vr } from "./components/list/paginated_list/PaginatedList.js";
66
- import { Pagination as Fr } from "./components/list/pagination/Pagination.js";
67
- import { PieChart as kr } from "./components/chart/pie_chart/PieChart.js";
68
- import { PointBox as Rr } from "./components/gamification/point_box/PointBox.js";
69
- import { ProgressBar as wr } from "./components/progress/progress_bar/ProgressBar.js";
70
- import { ProposalBox as br } from "./components/proposal/proposal_box/ProposalBox.js";
71
- import { ReadMore as Nr } from "./components/text/read_more/ReadMore.js";
72
- import { ReportBox as Hr } from "./components/report/report_box/ReportBox.js";
73
- import { ResponsiveProvider as Or } from "./components/hooks/use_responsive/ResponsiveProvider.js";
74
- import { SSOForm as _r } from "./components/auth/sso_form/SSOForm.js";
75
- import { ScrollToTop as Kr } from "./components/tools/scroll_to_top/ScrollToTop.js";
76
- import { SearchInput as Wr } from "./components/input/search_input/SearchInput.js";
77
- import { SectionBox as jr } from "./components/section/section_box/SectionBox.js";
78
- import { Select as Qr } from "./components/input/select/Select.js";
79
- import { ShareBox as Zr } from "./components/share/share_box/ShareBox.js";
80
- import { ShareButton as re } from "./components/share/share_button/ShareButton.js";
81
- import { SignupForm as te } from "./components/auth/signup_form/SignupForm.js";
82
- import { SocialAuthForm as me } from "./components/auth/social_auth_form/SocialAuthForm.js";
83
- import { SourceBox as fe } from "./components/source/source_box/SourceBox.js";
84
- import { SourceListItem as ae } from "./components/source/source_list_item/SourceListItem.js";
85
- import { SourceModal as ie } from "./components/source/source_modal/SourceModal.js";
86
- import { SuggestionBanner as le } from "./components/suggestion/suggestion_banner/SuggestionBanner.js";
87
- import { SuggestionBox as ge } from "./components/suggestion/suggestion_box/SuggestionBox.js";
88
- import { SuggestionInput as Be } from "./components/suggestion/suggestion_input/SuggestionInput.js";
89
- import { SuggestionVoteBox as Se } from "./components/vote/suggestion_vote_box/SuggestionVoteBox.js";
90
- import { Summary as Ae } from "./components/summary/summary/Summary.js";
91
- import { SummaryBox as Te } from "./components/summary/summary_box/SummaryBox.js";
92
- import { SummaryContentBox as ve } from "./components/user_content/summary_content_box/SummaryContentBox.js";
93
- import { Tag as Fe } from "./components/tag/tag/Tag.js";
94
- import { TextInput as ke } from "./components/input/text_input/TextInput.js";
95
- import { Toast as Re } from "./components/dialog/toast/Toast.js";
96
- import { ToastProvider as we } from "./components/dialog/toast_provider/ToastProvider.js";
97
- import { Toggle as be } from "./components/input/toggle/Toggle.js";
98
- import { TogglePosition as Ne } from "./components/input/toggle_position/TogglePosition.js";
99
- import { Tooltip as He } from "./components/dialog/tooltip/Tooltip.js";
100
- import { TopArguments as Oe } from "./components/argument/top_arguments/TopArguments.js";
101
- import { TranslatedContent as _e } from "./components/translation/translated_content/TranslatedContent.js";
102
- import { TranslationButton as Ke } from "./components/translation/translation_button/TranslationButton.js";
103
- import { UpDownVoteBox as We } from "./components/vote/up_down_vote_box/UpDownVoteBox.js";
104
- import { UpdateUserInfoModal as je } from "./components/user/update_user_info_modal/UpdateUserInfoModal.js";
105
- import { UserBox as Qe } from "./components/user/user_box/UserBox.js";
106
- import { UserBoxSmall as Ze } from "./components/user/user_box_small/UserBoxSmall.js";
107
- import { UserContentSkeleton as rt } from "./components/skeleton/user_content_skeleton/UserContentSkeleton.js";
108
- import { VoteBox as tt } from "./components/vote/vote_box/VoteBox.js";
109
- import { VoteButton as mt } from "./components/vote/vote_button/VoteButton.js";
110
- import { VoteContext as ft, VoteProvider as nt } from "./components/vote/vote_provider/VoteProvider.js";
111
- import { VotePaginatedList as st } from "./components/list/paginated_list/VotePaginatedList.js";
112
- import { WithAd as ut } from "./components/ad/with_ad/WithAd.js";
113
- import { authTokenHandler as dt } from "./components/auth/use_auth/authTokenHandler.js";
114
- import { classes as ct, getAccent as Bt } from "./components/input/text_input/color-accent.js";
115
- import { dataProvider as St } from "./components/data/data_provider/DataProvider.js";
116
- import { extractFormData as At } from "./components/forms/form/extract-form-data.js";
117
- import { getTranslatedContent as Tt, useTranslatedContent as Pt } from "./components/translation/translated_content/useTranslatedContent.js";
118
- import { httpClient as Lt } from "./components/data/axios_client/httpClient.js";
119
- import { lexicalToHtml as Mt } from "./components/input/text_editor/lexicalToHtml.js";
120
- import { makeStorage as Dt } from "./components/auth/use_auth/AuthStorage.js";
121
- import { uniqueBy as Ut } from "./components/util/unique_by/uniqueBy.js";
122
- import { useAuth as Vt } from "./components/auth/use_auth/useAuth.js";
123
- import { useAuthInterceptor as Et } from "./components/auth/use_auth/useAuthInterceptor.js";
124
- import { useAuthRequired as yt } from "./components/hooks/use_auth_required/useAuthRequired.js";
125
- import { useConfig as Gt } from "./components/data/config_provider/useConfig.js";
126
- import { useCssTheme as $t } from "./components/hooks/use_css_theme/useCssTheme.js";
127
- import { useData as qt } from "./components/data/data_provider/useData.js";
128
- import { useDataProvider as zt } from "./components/data/data_provider/useDataProvider.js";
129
- import { useDeleteContent as Yt } from "./components/user_content/use_delete_content/useDeleteContent.js";
130
- import { useFollow as Jt } from "./components/follow/use_follow/useFollow.js";
131
- import { useFontLoader as Xt } from "./components/hooks/use_font_loader/useFontLoader.js";
132
- import { useForm as ox } from "./components/forms/form/use-form.js";
133
- import { useFormContext as ex } from "./components/forms/form/use-form-context.js";
134
- import { useFormValidation as xx } from "./components/forms/use_form_validation/useFormValidation.js";
135
- import { useGoogleAdManager as px } from "./components/ad/use_google_ad_manager/useGoogleAdManager.js";
136
- import { useInput as nx } from "./components/input/input_provider/useInput.js";
137
- import { useList as sx } from "./components/list/list_provider/useList.js";
138
- import { useLocale as ux } from "./components/intl/intl_provider/useLocale.js";
139
- import { useMatomo as dx } from "./components/hooks/use_matomo/useMatomo.js";
140
- import { useModal as cx } from "./components/dialog/modal/useModal.js";
141
- import { useRelativeTime as Cx } from "./components/hooks/use_relative_time/useRelativeTime.js";
142
- import { useReportContent as hx } from "./components/user_content/use_report_content/useReportContent.js";
143
- import { useResponsive as Ix } from "./components/hooks/use_responsive/useResponsive.js";
144
- import { useRichContent as Px } from "./components/argument/argument/useRichContent.js";
145
- import { useRoutes as Lx } from "./components/data/config_provider/useRoutes.js";
146
- import { useToast as Mx } from "./components/dialog/toast_provider/useToast.js";
147
- import { useUpdateUserInfo as Dx } from "./components/user/update_user_info_modal/useUpdateUserInfo.js";
148
- import { useVote as Ux } from "./components/vote/use_vote/useVote.js";
149
- import { withConfig as Vx } from "./components/data/config_provider/withConfig.js";
45
+ import { IconContext as Vo, IconProvider as bo } from "./components/icons/icon_provider/IconProvider.js";
46
+ import { IconTextLink as No } from "./components/action/icon_text_link/IconTextLink.js";
47
+ import { InformationBox as Go } from "./components/information/information_box/InformationBox.js";
48
+ import { HiddenCheckbox as $o } from "./components/input/checkbox/hidden/hidden-checkbox.js";
49
+ import { InputProvider as qo } from "./components/input/input_provider/InputProvider.js";
50
+ import { IntlContext as zo } from "./components/intl/intl_provider/IntlContext.js";
51
+ import { IntlProvider as Yo } from "./components/intl/intl_provider/IntlProvider.js";
52
+ import { KeywordBox as Jo } from "./components/summary/keyword_box/KeywordBox.js";
53
+ import { LANGUAGES as Xo, getLocaleIcon as Zo, getLocaleName as or } from "./components/util/lang_emojis/langEmojis.js";
54
+ import { LineChart as er } from "./components/chart/line_chart/LineChart.js";
55
+ import { Link as xr } from "./components/action/link/Link.js";
56
+ import { ListProvider as pr } from "./components/list/list_provider/ListProvider.js";
57
+ import { Loader as nr } from "./components/progress/loader/Loader.js";
58
+ import { Location as ir } from "./components/util/location/Location.js";
59
+ import { LoginForm as ur } from "./components/auth/login_form/LoginForm.js";
60
+ import { Message as lr } from "./components/input/text_input/message.js";
61
+ import { Modal as cr } from "./components/dialog/modal/Modal.js";
62
+ import { ModalContext as Cr, ModalProvider as Sr } from "./components/dialog/modal/ModalProvider.js";
63
+ import { NavbarButton as Ir } from "./components/navbar/navbar_button/NavbarButton.js";
64
+ import { NavbarModal as Tr } from "./components/navbar/navbar_modal/NavbarModal.js";
65
+ import { NotificationItem as Pr } from "./components/notification/notification_item/NotificationItem.js";
66
+ import { OAuth2Button as Fr } from "./components/auth/oauth2_button/OAuth2Button.js";
67
+ import { PaginatedList as kr } from "./components/list/paginated_list/PaginatedList.js";
68
+ import { Pagination as Rr } from "./components/list/pagination/Pagination.js";
69
+ import { PieChart as wr } from "./components/chart/pie_chart/PieChart.js";
70
+ import { PointBox as Vr } from "./components/gamification/point_box/PointBox.js";
71
+ import { ProgressBar as yr } from "./components/progress/progress_bar/ProgressBar.js";
72
+ import { ProposalBox as Hr } from "./components/proposal/proposal_box/ProposalBox.js";
73
+ import { ReadMore as Or } from "./components/text/read_more/ReadMore.js";
74
+ import { ReportBox as _r } from "./components/report/report_box/ReportBox.js";
75
+ import { ResponsiveProvider as Kr } from "./components/hooks/use_responsive/ResponsiveProvider.js";
76
+ import { SSOForm as Wr } from "./components/auth/sso_form/SSOForm.js";
77
+ import { ScrollToTop as jr } from "./components/tools/scroll_to_top/ScrollToTop.js";
78
+ import { SearchInput as Qr } from "./components/input/search_input/SearchInput.js";
79
+ import { SectionBox as Zr } from "./components/section/section_box/SectionBox.js";
80
+ import { Select as re } from "./components/input/select/Select.js";
81
+ import { ShareBox as te } from "./components/share/share_box/ShareBox.js";
82
+ import { ShareButton as me } from "./components/share/share_button/ShareButton.js";
83
+ import { SignupForm as fe } from "./components/auth/signup_form/SignupForm.js";
84
+ import { SocialAuthForm as ae } from "./components/auth/social_auth_form/SocialAuthForm.js";
85
+ import { SourceBox as se } from "./components/source/source_box/SourceBox.js";
86
+ import { SourceListItem as de } from "./components/source/source_list_item/SourceListItem.js";
87
+ import { SourceModal as ge } from "./components/source/source_modal/SourceModal.js";
88
+ import { StandardErrorBoundary as Be } from "./components/error/standard_error_boundary/StandardErrorBoundary.js";
89
+ import { SuggestionBanner as Se } from "./components/suggestion/suggestion_banner/SuggestionBanner.js";
90
+ import { SuggestionBox as Ie } from "./components/suggestion/suggestion_box/SuggestionBox.js";
91
+ import { SuggestionInput as Te } from "./components/suggestion/suggestion_input/SuggestionInput.js";
92
+ import { SuggestionVoteBox as Pe } from "./components/vote/suggestion_vote_box/SuggestionVoteBox.js";
93
+ import { Summary as Fe } from "./components/summary/summary/Summary.js";
94
+ import { SummaryBox as ke } from "./components/summary/summary_box/SummaryBox.js";
95
+ import { SummaryContentBox as Re } from "./components/user_content/summary_content_box/SummaryContentBox.js";
96
+ import { Tag as we } from "./components/tag/tag/Tag.js";
97
+ import { TextEditor as Ve } from "./components/input/text_editor/TextEditor.js";
98
+ import { TextInput as ye } from "./components/input/text_input/TextInput.js";
99
+ import { Toast as He } from "./components/dialog/toast/Toast.js";
100
+ import { ToastProvider as Oe } from "./components/dialog/toast_provider/ToastProvider.js";
101
+ import { Toggle as _e } from "./components/input/toggle/Toggle.js";
102
+ import { TogglePosition as Ke } from "./components/input/toggle_position/TogglePosition.js";
103
+ import { Tooltip as We } from "./components/dialog/tooltip/Tooltip.js";
104
+ import { TopArguments as je } from "./components/argument/top_arguments/TopArguments.js";
105
+ import { TranslatedContent as Qe } from "./components/translation/translated_content/TranslatedContent.js";
106
+ import { TranslationButton as Ze } from "./components/translation/translation_button/TranslationButton.js";
107
+ import { UpDownVoteBox as rt } from "./components/vote/up_down_vote_box/UpDownVoteBox.js";
108
+ import { UpdateUserInfoModal as tt } from "./components/user/update_user_info_modal/UpdateUserInfoModal.js";
109
+ import { UserBox as mt } from "./components/user/user_box/UserBox.js";
110
+ import { UserBoxSmall as ft } from "./components/user/user_box_small/UserBoxSmall.js";
111
+ import { UserContentSkeleton as at } from "./components/skeleton/user_content_skeleton/UserContentSkeleton.js";
112
+ import { VoteBox as st } from "./components/vote/vote_box/VoteBox.js";
113
+ import { VoteButton as dt } from "./components/vote/vote_button/VoteButton.js";
114
+ import { VoteContext as gt, VoteProvider as ct } from "./components/vote/vote_provider/VoteProvider.js";
115
+ import { VotePaginatedList as Ct } from "./components/list/paginated_list/VotePaginatedList.js";
116
+ import { WithAd as At } from "./components/ad/with_ad/WithAd.js";
117
+ import { authTokenHandler as ht } from "./components/auth/use_auth/authTokenHandler.js";
118
+ import { classes as Lt, getAccent as Pt } from "./components/input/text_input/color-accent.js";
119
+ import { dataProvider as Ft } from "./components/data/data_provider/DataProvider.js";
120
+ import { extractFormData as kt } from "./components/forms/form/extract-form-data.js";
121
+ import { getTranslatedContent as Rt, useTranslatedContent as Ut } from "./components/translation/translated_content/useTranslatedContent.js";
122
+ import { httpClient as Et } from "./components/data/axios_client/httpClient.js";
123
+ import { lexicalToHtml as bt } from "./components/input/text_editor/lexicalToHtml.js";
124
+ import { makeStorage as Nt } from "./components/auth/use_auth/AuthStorage.js";
125
+ import { uniqueBy as Gt } from "./components/util/unique_by/uniqueBy.js";
126
+ import { useAuth as $t } from "./components/auth/use_auth/useAuth.js";
127
+ import { useAuthInterceptor as qt } from "./components/auth/use_auth/useAuthInterceptor.js";
128
+ import { useAuthRequired as zt } from "./components/hooks/use_auth_required/useAuthRequired.js";
129
+ import { useConfig as Yt } from "./components/data/config_provider/useConfig.js";
130
+ import { useCssTheme as Jt } from "./components/hooks/use_css_theme/useCssTheme.js";
131
+ import { useData as Xt } from "./components/data/data_provider/useData.js";
132
+ import { useDataProvider as ox } from "./components/data/data_provider/useDataProvider.js";
133
+ import { useDeleteContent as ex } from "./components/user_content/use_delete_content/useDeleteContent.js";
134
+ import { useFollow as xx } from "./components/follow/use_follow/useFollow.js";
135
+ import { useFontLoader as px } from "./components/hooks/use_font_loader/useFontLoader.js";
136
+ import { useForm as nx } from "./components/forms/form/use-form.js";
137
+ import { useFormContext as ix } from "./components/forms/form/use-form-context.js";
138
+ import { useFormValidation as ux } from "./components/forms/use_form_validation/useFormValidation.js";
139
+ import { useGoogleAdManager as lx } from "./components/ad/use_google_ad_manager/useGoogleAdManager.js";
140
+ import { useInput as cx } from "./components/input/input_provider/useInput.js";
141
+ import { useList as Cx } from "./components/list/list_provider/useList.js";
142
+ import { useLocale as Ax } from "./components/intl/intl_provider/useLocale.js";
143
+ import { useMatomo as hx } from "./components/hooks/use_matomo/useMatomo.js";
144
+ import { useModal as Lx } from "./components/dialog/modal/useModal.js";
145
+ import { useRelativeTime as vx } from "./components/hooks/use_relative_time/useRelativeTime.js";
146
+ import { useReportContent as Mx } from "./components/user_content/use_report_content/useReportContent.js";
147
+ import { useResponsive as Dx } from "./components/hooks/use_responsive/useResponsive.js";
148
+ import { useRichContent as Ux } from "./components/argument/argument/useRichContent.js";
149
+ import { useRoutes as Ex } from "./components/data/config_provider/useRoutes.js";
150
+ import { useToast as bx } from "./components/dialog/toast_provider/useToast.js";
151
+ import { useUpdateUserInfo as Nx } from "./components/user/update_user_info_modal/useUpdateUserInfo.js";
152
+ import { useVote as Gx } from "./components/vote/use_vote/useVote.js";
153
+ import { withConfig as $x } from "./components/data/config_provider/withConfig.js";
150
154
  export {
151
155
  f as ActionBar,
152
156
  a as AdUnit,
153
- i as AnnouncementDialog,
154
- l as Argument,
155
- g as ArgumentSummaryBox,
156
- B as AuthContext,
157
- S as AuthInitializer,
158
- A as AuthProvider,
159
- P as AuthorBox,
160
- L as Avatar,
161
- M as AvatarSelector,
162
- D as BackLink,
163
- U as BadgeBox,
164
- V as BoxSkeleton,
165
- E as Button,
166
- y as CheckBox,
157
+ s as AnnouncementDialog,
158
+ d as Argument,
159
+ g as ArgumentInput,
160
+ B as ArgumentSummaryBox,
161
+ S as AuthContext,
162
+ I as AuthInitializer,
163
+ T as AuthProvider,
164
+ v as AuthorBox,
165
+ M as Avatar,
166
+ D as AvatarSelector,
167
+ U as BackLink,
168
+ E as BadgeBox,
169
+ b as BoxSkeleton,
170
+ N as Button,
167
171
  G as ConfigContext,
168
172
  O as ConfigProvider,
169
173
  _ as ConfirmModal,
@@ -177,134 +181,138 @@ export {
177
181
  mo as DebateBox,
178
182
  fo as DialogBox,
179
183
  ao as Drawer,
180
- io as Dropdown,
184
+ so as Dropdown,
181
185
  lo as EMAIL_CONSENT_STORAGE_KEY,
182
186
  Bo as EmbedHeader,
183
187
  So as ExpandableText,
184
- Ao as FacebookLoginButton,
188
+ Io as FacebookLoginButton,
185
189
  To as FollowButton,
186
- vo as Form,
190
+ Po as Form,
187
191
  Fo as FormContext,
188
192
  ko as GoogleLoginButton,
189
193
  Ro as HashScroll,
190
194
  wo as Icon,
191
- bo as IconContext,
192
- Eo as IconProvider,
193
- yo as IconTextLink,
194
- Go as Input,
195
- $o as InputProvider,
196
- qo as IntlContext,
197
- zo as IntlProvider,
198
- Yo as KeywordBox,
199
- Jo as LANGUAGES,
200
- or as LineChart,
201
- er as ListProvider,
202
- xr as Loader,
203
- pr as Location,
204
- nr as LoginForm,
205
- sr as Message,
206
- ur as Modal,
207
- dr as ModalContext,
208
- gr as ModalProvider,
209
- Br as NavbarButton,
210
- Sr as NavbarModal,
211
- Ar as NotificationItem,
212
- Tr as OAuth2Button,
213
- vr as PaginatedList,
214
- Fr as Pagination,
215
- kr as PieChart,
216
- Rr as PointBox,
217
- wr as ProgressBar,
218
- br as ProposalBox,
219
- Nr as ReadMore,
220
- Hr as ReportBox,
221
- Or as ResponsiveProvider,
222
- _r as SSOForm,
223
- Kr as ScrollToTop,
224
- Wr as SearchInput,
225
- jr as SectionBox,
226
- Qr as Select,
227
- Zr as ShareBox,
228
- re as ShareButton,
229
- te as SignupForm,
230
- me as SocialAuthForm,
231
- fe as SourceBox,
232
- ae as SourceListItem,
233
- ie as SourceModal,
234
- le as SuggestionBanner,
235
- ge as SuggestionBox,
236
- Be as SuggestionInput,
237
- Se as SuggestionVoteBox,
238
- Ae as Summary,
239
- Te as SummaryBox,
240
- ve as SummaryContentBox,
241
- Fe as Tag,
242
- ke as TextInput,
243
- Re as Toast,
244
- we as ToastProvider,
245
- be as Toggle,
246
- Ne as TogglePosition,
247
- He as Tooltip,
248
- Oe as TopArguments,
249
- _e as TranslatedContent,
250
- Ke as TranslationButton,
251
- We as UpDownVoteBox,
252
- je as UpdateUserInfoModal,
253
- Qe as UserBox,
254
- Ze as UserBoxSmall,
255
- rt as UserContentSkeleton,
256
- tt as VoteBox,
257
- mt as VoteButton,
258
- ft as VoteContext,
259
- st as VotePaginatedList,
260
- nt as VoteProvider,
261
- ut as WithAd,
262
- dt as authTokenHandler,
263
- o as bildIcons,
264
- ct as classes,
265
- St as dataProvider,
266
- At as extractFormData,
267
- Bt as getAccent,
268
- Qo as getLocaleIcon,
269
- Xo as getLocaleName,
270
- Tt as getTranslatedContent,
271
- r as heroIcons,
272
- Lt as httpClient,
273
- e as kroneIcons,
274
- Mt as lexicalToHtml,
275
- Dt as makeStorage,
276
- t as regularIcons,
277
- x as spiegelIcons,
278
- Ut as uniqueBy,
279
- Vt as useAuth,
195
+ Vo as IconContext,
196
+ bo as IconProvider,
197
+ No as IconTextLink,
198
+ Go as InformationBox,
199
+ $o as Input,
200
+ qo as InputProvider,
201
+ zo as IntlContext,
202
+ Yo as IntlProvider,
203
+ Jo as KeywordBox,
204
+ Xo as LANGUAGES,
205
+ er as LineChart,
206
+ xr as Link,
207
+ pr as ListProvider,
208
+ nr as Loader,
209
+ ir as Location,
210
+ ur as LoginForm,
211
+ lr as Message,
212
+ cr as Modal,
213
+ Cr as ModalContext,
214
+ Sr as ModalProvider,
215
+ Ir as NavbarButton,
216
+ Tr as NavbarModal,
217
+ Pr as NotificationItem,
218
+ Fr as OAuth2Button,
219
+ kr as PaginatedList,
220
+ Rr as Pagination,
221
+ wr as PieChart,
222
+ Vr as PointBox,
223
+ yr as ProgressBar,
224
+ Hr as ProposalBox,
225
+ Or as ReadMore,
226
+ _r as ReportBox,
227
+ Kr as ResponsiveProvider,
228
+ Wr as SSOForm,
229
+ jr as ScrollToTop,
230
+ Qr as SearchInput,
231
+ Zr as SectionBox,
232
+ re as Select,
233
+ te as ShareBox,
234
+ me as ShareButton,
235
+ fe as SignupForm,
236
+ ae as SocialAuthForm,
237
+ se as SourceBox,
238
+ de as SourceListItem,
239
+ ge as SourceModal,
240
+ Be as StandardErrorBoundary,
241
+ Se as SuggestionBanner,
242
+ Ie as SuggestionBox,
243
+ Te as SuggestionInput,
244
+ Pe as SuggestionVoteBox,
245
+ Fe as Summary,
246
+ ke as SummaryBox,
247
+ Re as SummaryContentBox,
248
+ we as Tag,
249
+ Ve as TextEditor,
250
+ ye as TextInput,
251
+ He as Toast,
252
+ Oe as ToastProvider,
253
+ _e as Toggle,
254
+ Ke as TogglePosition,
255
+ We as Tooltip,
256
+ je as TopArguments,
257
+ Qe as TranslatedContent,
258
+ Ze as TranslationButton,
259
+ rt as UpDownVoteBox,
260
+ tt as UpdateUserInfoModal,
261
+ mt as UserBox,
262
+ ft as UserBoxSmall,
263
+ at as UserContentSkeleton,
264
+ st as VoteBox,
265
+ dt as VoteButton,
266
+ gt as VoteContext,
267
+ Ct as VotePaginatedList,
268
+ ct as VoteProvider,
269
+ At as WithAd,
270
+ ht as authTokenHandler,
271
+ r as bildIcons,
272
+ Lt as classes,
273
+ Ft as dataProvider,
274
+ kt as extractFormData,
275
+ Pt as getAccent,
276
+ Zo as getLocaleIcon,
277
+ or as getLocaleName,
278
+ Rt as getTranslatedContent,
279
+ t as heroIcons,
280
+ Et as httpClient,
281
+ x as kroneIcons,
282
+ bt as lexicalToHtml,
283
+ Nt as makeStorage,
284
+ o as regularIcons,
285
+ e as spiegelIcons,
286
+ Gt as uniqueBy,
287
+ $t as useAuth,
280
288
  go as useAuthActions,
281
- Et as useAuthInterceptor,
282
- yt as useAuthRequired,
283
- Gt as useConfig,
284
- $t as useCssTheme,
285
- qt as useData,
286
- zt as useDataProvider,
287
- Yt as useDeleteContent,
288
- Jt as useFollow,
289
- Xt as useFontLoader,
290
- ox as useForm,
291
- ex as useFormContext,
292
- xx as useFormValidation,
293
- px as useGoogleAdManager,
294
- nx as useInput,
295
- sx as useList,
296
- ux as useLocale,
297
- dx as useMatomo,
298
- cx as useModal,
299
- Cx as useRelativeTime,
300
- hx as useReportContent,
301
- Ix as useResponsive,
302
- Px as useRichContent,
303
- Lx as useRoutes,
304
- Mx as useToast,
305
- Pt as useTranslatedContent,
306
- Dx as useUpdateUserInfo,
307
- Ux as useVote,
308
- I as withAuth,
309
- Vx as withConfig
289
+ qt as useAuthInterceptor,
290
+ zt as useAuthRequired,
291
+ Yt as useConfig,
292
+ Jt as useCssTheme,
293
+ Xt as useData,
294
+ ox as useDataProvider,
295
+ ex as useDeleteContent,
296
+ xx as useFollow,
297
+ px as useFontLoader,
298
+ nx as useForm,
299
+ ix as useFormContext,
300
+ ux as useFormValidation,
301
+ lx as useGoogleAdManager,
302
+ cx as useInput,
303
+ Cx as useList,
304
+ Ax as useLocale,
305
+ hx as useMatomo,
306
+ Lx as useModal,
307
+ vx as useRelativeTime,
308
+ Mx as useReportContent,
309
+ Dx as useResponsive,
310
+ Ux as useRichContent,
311
+ Ex as useRoutes,
312
+ bx as useToast,
313
+ Ut as useTranslatedContent,
314
+ Nx as useUpdateUserInfo,
315
+ Gx as useVote,
316
+ L as withAuth,
317
+ $x as withConfig
310
318
  };
package/package.json CHANGED
@@ -1,13 +1,15 @@
1
1
  {
2
2
  "name": "@logora/debate",
3
- "version": "0.2.6",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "license": "AGPL-3.0",
6
6
  "description": "Design system of @Logora made with React",
7
7
  "main": "./dist/index.js",
8
8
  "module": "./dist/index.js",
9
9
  "files": [
10
- "dist"
10
+ "dist",
11
+ "styles",
12
+ "src/components/styles"
11
13
  ],
12
14
  "sideEffects": [
13
15
  "**/*.css",
@@ -18,6 +20,7 @@
18
20
  "import": "./dist/index.js",
19
21
  "default": "./dist/index.js"
20
22
  },
23
+ "./styles/*": "./styles/_*.scss",
21
24
  "./package.json": "./package.json"
22
25
  },
23
26
  "author": "Logora <contact@logora.fr>",