@logora/debate 0.4.66 → 0.4.68

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.
@@ -0,0 +1 @@
1
+ ._pageSkeleton_vzch9_3{display:flex;flex-direction:column;gap:var(--space-unit, 1em);width:100%}._header_vzch9_10{display:flex;flex-direction:row;gap:var(--space-unit, 1em);align-items:center}@media(max-width:640px){._header_vzch9_10{flex-direction:column;align-items:flex-start}}._headerLines_vzch9_23{display:flex;flex-direction:column;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));flex:1;min-width:120px}._lineMain_vzch9_31{width:70%;height:var(--font-size-extra-large, 22px)}._lineSecondary_vzch9_36{width:45%;height:var(--font-size-normal, 16px)}._photoCircle_vzch9_41{width:80px;height:80px;flex-shrink:0}._photoBox_vzch9_47{width:210px;height:140px;flex-shrink:0;border-radius:var(--box-border-radius, 6px)}@media(max-width:640px){._photoBox_vzch9_47{width:100%}}._tabsRow_vzch9_59{display:flex;flex-direction:row;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}._tab_vzch9_59{width:110px;height:32px;border-radius:var(--box-border-radius, 6px)}@media(max-width:640px){._tab_vzch9_59{width:90px}}._contentList_vzch9_76{display:flex;flex-direction:column;gap:var(--space-unit, 1em)}._contentItem_vzch9_82{display:flex;flex-direction:column;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));border-radius:var(--box-border-radius, 6px);box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));border:var(--box-border, 1px solid rgba(7, 42, 68, .1));padding:var(--space-unit, 1em)}._contentLine_vzch9_92{width:100%;height:var(--font-size-normal, 16px)}._contentLineShort_vzch9_97{width:55%;height:var(--font-size-normal, 16px)}
@@ -0,0 +1,79 @@
1
+ import { jsx as s, jsxs as r } from "react/jsx-runtime";
2
+ import "react";
3
+ import t from "react-loading-skeleton";
4
+ import "react-loading-skeleton/dist/skeleton.css";
5
+ import e from "./PageSkeleton.module.scss.js";
6
+ const k = ({
7
+ photo: a = "right",
8
+ items: d = 3,
9
+ tabs: o = !1,
10
+ enableAnimation: c = !0,
11
+ className: m
12
+ }) => {
13
+ const i = /* @__PURE__ */ r("div", { className: e.headerLines, children: [
14
+ /* @__PURE__ */ s(t, { enableAnimation: c, className: e.lineMain }),
15
+ /* @__PURE__ */ s(
16
+ t,
17
+ {
18
+ enableAnimation: c,
19
+ className: e.lineSecondary
20
+ }
21
+ )
22
+ ] }), l = a === "left" ? /* @__PURE__ */ s(
23
+ t,
24
+ {
25
+ enableAnimation: c,
26
+ circle: !0,
27
+ className: e.photoCircle
28
+ }
29
+ ) : /* @__PURE__ */ s(t, { enableAnimation: c, className: e.photoBox });
30
+ return /* @__PURE__ */ s("div", { "data-testid": "page-skeleton", className: m, children: /* @__PURE__ */ r("div", { className: e.pageSkeleton, children: [
31
+ /* @__PURE__ */ r("div", { className: e.header, children: [
32
+ a === "left" && l,
33
+ i,
34
+ a === "right" && l
35
+ ] }),
36
+ o && /* @__PURE__ */ r("div", { className: e.tabsRow, children: [
37
+ /* @__PURE__ */ s(
38
+ t,
39
+ {
40
+ enableAnimation: c,
41
+ className: e.tab
42
+ }
43
+ ),
44
+ /* @__PURE__ */ s(
45
+ t,
46
+ {
47
+ enableAnimation: c,
48
+ className: e.tab
49
+ }
50
+ ),
51
+ /* @__PURE__ */ s(
52
+ t,
53
+ {
54
+ enableAnimation: c,
55
+ className: e.tab
56
+ }
57
+ )
58
+ ] }),
59
+ /* @__PURE__ */ s("div", { className: e.contentList, children: Array.from({ length: d }).map((N, h) => /* @__PURE__ */ r("div", { className: e.contentItem, children: [
60
+ /* @__PURE__ */ s(
61
+ t,
62
+ {
63
+ enableAnimation: c,
64
+ className: e.contentLine
65
+ }
66
+ ),
67
+ /* @__PURE__ */ s(
68
+ t,
69
+ {
70
+ enableAnimation: c,
71
+ className: e.contentLineShort
72
+ }
73
+ )
74
+ ] }, h)) })
75
+ ] }) });
76
+ };
77
+ export {
78
+ k as PageSkeleton
79
+ };
@@ -0,0 +1,31 @@
1
+ import '../../../assets/components/skeleton/page_skeleton/PageSkeleton.module-BqtcAizZ.css';const t = "_pageSkeleton_vzch9_3", n = "_header_vzch9_10", e = "_headerLines_vzch9_23", o = "_lineMain_vzch9_31", c = "_lineSecondary_vzch9_36", _ = "_photoCircle_vzch9_41", h = "_photoBox_vzch9_47", s = "_tabsRow_vzch9_59", i = "_tab_vzch9_59", a = "_contentList_vzch9_76", r = "_contentItem_vzch9_82", l = "_contentLine_vzch9_92", v = "_contentLineShort_vzch9_97", z = {
2
+ pageSkeleton: t,
3
+ header: n,
4
+ headerLines: e,
5
+ lineMain: o,
6
+ lineSecondary: c,
7
+ photoCircle: _,
8
+ photoBox: h,
9
+ tabsRow: s,
10
+ tab: i,
11
+ contentList: a,
12
+ contentItem: r,
13
+ contentLine: l,
14
+ contentLineShort: v
15
+ };
16
+ export {
17
+ r as contentItem,
18
+ l as contentLine,
19
+ v as contentLineShort,
20
+ a as contentList,
21
+ z as default,
22
+ n as header,
23
+ e as headerLines,
24
+ o as lineMain,
25
+ c as lineSecondary,
26
+ t as pageSkeleton,
27
+ h as photoBox,
28
+ _ as photoCircle,
29
+ i as tab,
30
+ s as tabsRow
31
+ };
package/dist/index.js CHANGED
@@ -15,158 +15,155 @@ import { AuthContext as h } from "./components/auth/use_auth/AuthContext.js";
15
15
  import { AuthInitializer as T } from "./components/auth/auth_initializer/AuthInitializer.js";
16
16
  import { AuthModal as P } from "./components/auth/auth_modal/AuthModal.js";
17
17
  import { AuthProvider as M, withAuth as F } from "./components/auth/use_auth/AuthProvider.js";
18
- import { AuthProviderFactory as k } from "./components/auth/providers/AuthProviderFactory.js";
19
- import { AuthorBox as D } from "./components/user/author_box/AuthorBox.js";
20
- import { Avatar as O } from "./components/user/avatar/Avatar.js";
18
+ import { AuthProviderFactory as R } from "./components/auth/providers/AuthProviderFactory.js";
19
+ import { AuthorBox as O } from "./components/user/author_box/AuthorBox.js";
20
+ import { Avatar as D } from "./components/user/avatar/Avatar.js";
21
21
  import { AvatarSelector as w } from "./components/user/avatar_selector/AvatarSelector.js";
22
22
  import { BackLink as V } from "./components/action/back_link/BackLink.js";
23
- import { BadgeBox as U } from "./components/gamification/badge_box/BadgeBox.js";
24
- import { BoxSkeleton as H } from "./components/skeleton/box_skeleton/BoxSkeleton.js";
23
+ import { BadgeBox as _ } from "./components/gamification/badge_box/BadgeBox.js";
24
+ import { BoxSkeleton as U } from "./components/skeleton/box_skeleton/BoxSkeleton.js";
25
25
  import { Button as K } from "./components/action/button/Button.js";
26
- import { CommentsSkeleton as Y } from "./components/skeleton/comments_skeleton/CommentsSkeleton.js";
27
- import { ConfigContext as W, ConfigProvider as j } from "./components/data/config_provider/ConfigProvider.js";
28
- import { ConfirmModal as Q } from "./components/dialog/confirm_modal/ConfirmModal.js";
29
- import { ConsultationBox as Z } from "./components/consultation/consultation_box/ConsultationBox.js";
30
- import { ConsultationSkeleton as ro } from "./components/skeleton/consultation_skeleton/ConsultationSkeleton.js";
31
- import { ContentFooter as to } from "./components/user_content/content_footer/ContentFooter.js";
32
- import { ContentHeader as mo } from "./components/user_content/content_header/ContentHeader.js";
33
- import { ContextSourceBox as fo } from "./components/source/context_source_box/ContextSourceBox.js";
34
- import { ContextSourceList as ao } from "./components/source/context_source_list/ContextSourceList.js";
35
- import { Countdown as so } from "./components/dialog/countdown/Countdown.js";
36
- import { DataProviderContext as lo } from "./components/data/data_provider/DataProviderContext.js";
37
- import { DebateBox as co } from "./components/debate/debate_box/DebateBox.js";
38
- import { DebateSkeleton as So } from "./components/skeleton/debate_skeleton/DebateSkeleton.js";
39
- import { DialogBox as Ao } from "./components/dialog/dialog_box/DialogBox.js";
40
- import { Drawer as Io } from "./components/dialog/drawer/Drawer.js";
41
- import { Dropdown as Lo } from "./components/dialog/dropdown/Dropdown.js";
42
- import { EMAIL_CONSENT_STORAGE_KEY as vo, useAuthActions as Mo } from "./components/auth/use_auth/useAuthActions.js";
43
- import { EmbedHeader as bo } from "./components/embed/embed_header/EmbedHeader.js";
44
- import { ExpandableText as Ro } from "./components/text/expandable_text/ExpandableText.js";
45
- import { FacebookLoginButton as Eo } from "./components/auth/facebook_login_button/FacebookLoginButton.js";
46
- import { FollowButton as No } from "./components/follow/follow_button/FollowButton.js";
47
- import { Form as yo } from "./components/forms/form/form.js";
48
- import { FormContext as Go } from "./components/forms/form/form-context.js";
49
- import { GoogleLoginButton as _o } from "./components/auth/google_login_button/GoogleLoginButton.js";
50
- import { HashScroll as $o } from "./components/tools/hash_scroll/HashScroll.js";
51
- import { Icon as qo } from "./components/icons/icon/Icon.js";
52
- import { IconContext as zo, IconProvider as Wo } from "./components/icons/icon_provider/IconProvider.js";
53
- import { IconTextLink as Jo } from "./components/action/icon_text_link/IconTextLink.js";
54
- import { InformationBox as Xo } from "./components/information/information_box/InformationBox.js";
55
- import { HiddenCheckbox as or } from "./components/input/checkbox/hidden/hidden-checkbox.js";
56
- import { InputProvider as er } from "./components/input/input_provider/InputProvider.js";
57
- import { IntlContext as xr } from "./components/intl/intl_provider/IntlContext.js";
58
- import { IntlProvider as pr } from "./components/intl/intl_provider/IntlProvider.js";
59
- import { KeywordBox as nr } from "./components/summary/keyword_box/KeywordBox.js";
60
- import { LANGUAGES as ir, getLocaleIcon as sr, getLocaleName as ur } from "./components/util/lang_emojis/langEmojis.js";
61
- import { LineChart as lr } from "./components/chart/line_chart/LineChart.js";
62
- import { Link as cr } from "./components/action/link/Link.js";
63
- import { ListProvider as Sr } from "./components/list/list_provider/ListProvider.js";
64
- import { Loader as Ar } from "./components/progress/loader/Loader.js";
65
- import { Location as Ir } from "./components/util/location/Location.js";
66
- import { LoginForm as Lr } from "./components/auth/login_form/LoginForm.js";
67
- import { Message as vr } from "./components/input/text_input/message.js";
68
- import { Modal as Fr } from "./components/dialog/modal/Modal.js";
69
- import { ModalContext as kr, ModalProvider as Rr } from "./components/dialog/modal/ModalProvider.js";
70
- import { NavbarButton as Er } from "./components/navbar/navbar_button/NavbarButton.js";
71
- import { NavbarModal as Nr } from "./components/navbar/navbar_modal/NavbarModal.js";
72
- import { NotificationItem as yr } from "./components/notification/notification_item/NotificationItem.js";
73
- import { NotificationMenu as Gr } from "./components/notification/notification_menu/NotificationMenu.js";
74
- import { OAuth2Button as _r } from "./components/auth/oauth2_button/OAuth2Button.js";
75
- import { ONBOARDING_BEFORE_LOGIN_STORAGE_KEY as $r, getOnboardingBeforeLoginStorageKey as Kr, saveOnboardingBeforeLogin as qr, useOnboarding as Yr } from "./components/user/onboarding_modal/useOnboarding.js";
76
- import { OnboardingModal as Wr } from "./components/user/onboarding_modal/OnboardingModal.js";
77
- import { PaginatedList as Jr } from "./components/list/paginated_list/PaginatedList.js";
78
- import { Pagination as Xr } from "./components/list/pagination/Pagination.js";
79
- import { PieChart as oe } from "./components/chart/pie_chart/PieChart.js";
80
- import { PointBox as ee } from "./components/gamification/point_box/PointBox.js";
81
- import { ProgressBar as xe } from "./components/progress/progress_bar/ProgressBar.js";
82
- import { ProposalBox as pe } from "./components/proposal/proposal_box/ProposalBox.js";
83
- import { ReadMore as ne } from "./components/text/read_more/ReadMore.js";
84
- import { ReportBox as ie } from "./components/report/report_box/ReportBox.js";
85
- import { ReportModal as ue } from "./components/user_content/use_report_content/ReportModal.js";
86
- import { ResponsiveProvider as le } from "./components/hooks/use_responsive/ResponsiveProvider.js";
87
- import { SSOForm as ce } from "./components/auth/sso_form/SSOForm.js";
88
- import { ScrollToTop as Se } from "./components/tools/scroll_to_top/ScrollToTop.js";
89
- import { SearchInput as Ae } from "./components/input/search_input/SearchInput.js";
90
- import { SectionBox as Ie } from "./components/section/section_box/SectionBox.js";
91
- import { Select as Le } from "./components/input/select/Select.js";
92
- import { ShareBox as ve } from "./components/share/share_box/ShareBox.js";
93
- import { ShareButton as Fe } from "./components/share/share_button/ShareButton.js";
94
- import { ShareModal as ke } from "./components/share/share_modal/ShareModal.js";
95
- import { SideModal as De } from "./components/modal/side_modal/SideModal.js";
96
- import { SignupForm as Oe } from "./components/auth/signup_form/SignupForm.js";
97
- import { SocialAuthForm as we } from "./components/auth/social_auth_form/SocialAuthForm.js";
98
- import { SourceBox as Ve } from "./components/source/source_box/SourceBox.js";
99
- import { SourceListItem as Ue } from "./components/source/source_list_item/SourceListItem.js";
100
- import { SourceModal as He } from "./components/source/source_modal/SourceModal.js";
101
- import { StandardErrorBoundary as Ke } from "./components/error/standard_error_boundary/StandardErrorBoundary.js";
102
- import { SuggestionBanner as Ye } from "./components/suggestion/suggestion_banner/SuggestionBanner.js";
103
- import { SuggestionBox as We } from "./components/suggestion/suggestion_box/SuggestionBox.js";
104
- import { SuggestionInput as Je } from "./components/suggestion/suggestion_input/SuggestionInput.js";
105
- import { SuggestionVoteBox as Xe } from "./components/vote/suggestion_vote_box/SuggestionVoteBox.js";
106
- import { Summary as ot } from "./components/summary/summary/Summary.js";
107
- import { SummaryBox as et } from "./components/summary/summary_box/SummaryBox.js";
108
- import { SummaryContentBox as xt } from "./components/user_content/summary_content_box/SummaryContentBox.js";
109
- import { Tab as pt } from "./components/navigation/tabs/Tab.js";
110
- import { TabPanel as nt } from "./components/navigation/tabs/TabPanel.js";
111
- import { Tabs as it } from "./components/navigation/tabs/Tabs.js";
112
- import { Tag as ut } from "./components/tag/tag/Tag.js";
113
- import { TextEditor as lt } from "./components/input/text_editor/TextEditor.js";
114
- import { TextInput as ct } from "./components/input/text_input/TextInput.js";
115
- import { Toast as St } from "./components/dialog/toast/Toast.js";
116
- import { ToastProvider as At } from "./components/dialog/toast_provider/ToastProvider.js";
117
- import { Toggle as It } from "./components/input/toggle/Toggle.js";
118
- import { TogglePosition as Lt } from "./components/input/toggle_position/TogglePosition.js";
119
- import { Tooltip as vt } from "./components/dialog/tooltip/Tooltip.js";
120
- import { TopArguments as Ft } from "./components/argument/top_arguments/TopArguments.js";
121
- import { TranslatedContent as kt } from "./components/translation/translated_content/TranslatedContent.js";
122
- import { TranslationButton as Dt } from "./components/translation/translation_button/TranslationButton.js";
123
- import { UpDownVoteBox as Ot } from "./components/vote/up_down_vote_box/UpDownVoteBox.js";
124
- import { UserBox as wt } from "./components/user/user_box/UserBox.js";
125
- import { UserBoxSmall as Vt } from "./components/user/user_box_small/UserBoxSmall.js";
126
- import { UserContentSkeleton as Ut } from "./components/skeleton/user_content_skeleton/UserContentSkeleton.js";
127
- import { UserPageSkeleton as Ht } from "./components/skeleton/user_page_skeleton/UserPageSkeleton.js";
128
- import { VoteBox as Kt } from "./components/vote/vote_box/VoteBox.js";
129
- import { VoteButton as Yt } from "./components/vote/vote_button/VoteButton.js";
130
- import { VoteContext as Wt, VoteProvider as jt } from "./components/vote/vote_provider/VoteProvider.js";
131
- import { VotePaginatedList as Qt } from "./components/list/paginated_list/VotePaginatedList.js";
132
- import { WithAd as Zt } from "./components/ad/with_ad/WithAd.js";
133
- import { authTokenHandler as rx } from "./components/auth/use_auth/authTokenHandler.js";
134
- import { classes as tx, getAccent as xx } from "./components/input/text_input/color-accent.js";
135
- import { dataProvider as px } from "./components/data/data_provider/DataProvider.js";
136
- import { extractFormData as nx } from "./components/forms/form/extract-form-data.js";
137
- import { getTranslatedContent as ix, useTranslatedContent as sx } from "./components/translation/translated_content/useTranslatedContent.js";
138
- import { httpClient as dx } from "./components/data/axios_client/httpClient.js";
139
- import { lexicalToHtml as gx } from "./components/input/text_editor/lexicalToHtml.js";
140
- import { makeStorage as Bx } from "./components/auth/use_auth/AuthStorage.js";
141
- import { uniqueBy as Cx } from "./components/util/unique_by/uniqueBy.js";
142
- import { useAuth as hx } from "./components/auth/use_auth/useAuth.js";
143
- import { useAuthInterceptor as Tx } from "./components/auth/use_auth/useAuthInterceptor.js";
144
- import { useAuthRequired as Px } from "./components/hooks/use_auth_required/useAuthRequired.js";
145
- import { useConfig as Mx } from "./components/data/config_provider/useConfig.js";
146
- import { useCssTheme as bx } from "./components/hooks/use_css_theme/useCssTheme.js";
147
- import { useData as Rx } from "./components/data/data_provider/useData.js";
148
- import { useDataProvider as Ex } from "./components/data/data_provider/useDataProvider.js";
149
- import { useDeleteContent as Nx } from "./components/user_content/use_delete_content/useDeleteContent.js";
150
- import { useFollow as yx } from "./components/follow/use_follow/useFollow.js";
151
- import { useFontLoader as Gx } from "./components/hooks/use_font_loader/useFontLoader.js";
152
- import { useForm as _x } from "./components/forms/form/use-form.js";
153
- import { useFormContext as $x } from "./components/forms/form/use-form-context.js";
154
- import { useFormValidation as qx } from "./components/forms/use_form_validation/useFormValidation.js";
155
- import { useGoogleAdManager as zx } from "./components/ad/use_google_ad_manager/useGoogleAdManager.js";
156
- import { useInput as jx } from "./components/input/input_provider/useInput.js";
157
- import { useList as Qx } from "./components/list/list_provider/useList.js";
158
- import { useLocale as Zx } from "./components/intl/intl_provider/useLocale.js";
159
- import { useMatomo as rm } from "./components/hooks/use_matomo/useMatomo.js";
160
- import { useModal as tm } from "./components/dialog/modal/useModal.js";
161
- import { useRelativeTime as mm } from "./components/hooks/use_relative_time/useRelativeTime.js";
162
- import { useReportContent as fm } from "./components/user_content/use_report_content/useReportContent.js";
163
- import { useResponsive as am } from "./components/hooks/use_responsive/useResponsive.js";
164
- import { useRichContent as sm } from "./components/argument/argument/useRichContent.js";
165
- import { useRoutes as dm } from "./components/data/config_provider/useRoutes.js";
166
- import { useToast as gm } from "./components/dialog/toast_provider/useToast.js";
167
- import { useVote as Bm } from "./components/vote/use_vote/useVote.js";
168
- import { utf8ToBase64url as Cm } from "./components/auth/use_auth/base64.js";
169
- import { withConfig as hm } from "./components/data/config_provider/withConfig.js";
26
+ import { ConfigContext as Y, ConfigProvider as z } from "./components/data/config_provider/ConfigProvider.js";
27
+ import { ConfirmModal as j } from "./components/dialog/confirm_modal/ConfirmModal.js";
28
+ import { ConsultationBox as Q } from "./components/consultation/consultation_box/ConsultationBox.js";
29
+ import { ContentFooter as Z } from "./components/user_content/content_footer/ContentFooter.js";
30
+ import { ContentHeader as ro } from "./components/user_content/content_header/ContentHeader.js";
31
+ import { ContextSourceBox as to } from "./components/source/context_source_box/ContextSourceBox.js";
32
+ import { ContextSourceList as mo } from "./components/source/context_source_list/ContextSourceList.js";
33
+ import { Countdown as fo } from "./components/dialog/countdown/Countdown.js";
34
+ import { DataProviderContext as ao } from "./components/data/data_provider/DataProviderContext.js";
35
+ import { DebateBox as so } from "./components/debate/debate_box/DebateBox.js";
36
+ import { DialogBox as lo } from "./components/dialog/dialog_box/DialogBox.js";
37
+ import { Drawer as co } from "./components/dialog/drawer/Drawer.js";
38
+ import { Dropdown as So } from "./components/dialog/dropdown/Dropdown.js";
39
+ import { EMAIL_CONSENT_STORAGE_KEY as Ao, useAuthActions as ho } from "./components/auth/use_auth/useAuthActions.js";
40
+ import { EmbedHeader as To } from "./components/embed/embed_header/EmbedHeader.js";
41
+ import { ExpandableText as Po } from "./components/text/expandable_text/ExpandableText.js";
42
+ import { FacebookLoginButton as Mo } from "./components/auth/facebook_login_button/FacebookLoginButton.js";
43
+ import { FollowButton as bo } from "./components/follow/follow_button/FollowButton.js";
44
+ import { Form as Eo } from "./components/forms/form/form.js";
45
+ import { FormContext as ko } from "./components/forms/form/form-context.js";
46
+ import { GoogleLoginButton as No } from "./components/auth/google_login_button/GoogleLoginButton.js";
47
+ import { HashScroll as yo } from "./components/tools/hash_scroll/HashScroll.js";
48
+ import { Icon as Go } from "./components/icons/icon/Icon.js";
49
+ import { IconContext as Ho, IconProvider as Uo } from "./components/icons/icon_provider/IconProvider.js";
50
+ import { IconTextLink as Ko } from "./components/action/icon_text_link/IconTextLink.js";
51
+ import { InformationBox as Yo } from "./components/information/information_box/InformationBox.js";
52
+ import { HiddenCheckbox as Wo } from "./components/input/checkbox/hidden/hidden-checkbox.js";
53
+ import { InputProvider as Jo } from "./components/input/input_provider/InputProvider.js";
54
+ import { IntlContext as Xo } from "./components/intl/intl_provider/IntlContext.js";
55
+ import { IntlProvider as or } from "./components/intl/intl_provider/IntlProvider.js";
56
+ import { KeywordBox as er } from "./components/summary/keyword_box/KeywordBox.js";
57
+ import { LANGUAGES as xr, getLocaleIcon as mr, getLocaleName as pr } from "./components/util/lang_emojis/langEmojis.js";
58
+ import { LineChart as nr } from "./components/chart/line_chart/LineChart.js";
59
+ import { Link as ir } from "./components/action/link/Link.js";
60
+ import { ListProvider as ur } from "./components/list/list_provider/ListProvider.js";
61
+ import { Loader as lr } from "./components/progress/loader/Loader.js";
62
+ import { Location as cr } from "./components/util/location/Location.js";
63
+ import { LoginForm as Sr } from "./components/auth/login_form/LoginForm.js";
64
+ import { Message as Ar } from "./components/input/text_input/message.js";
65
+ import { Modal as Ir } from "./components/dialog/modal/Modal.js";
66
+ import { ModalContext as Lr, ModalProvider as Pr } from "./components/dialog/modal/ModalProvider.js";
67
+ import { NavbarButton as Mr } from "./components/navbar/navbar_button/NavbarButton.js";
68
+ import { NavbarModal as br } from "./components/navbar/navbar_modal/NavbarModal.js";
69
+ import { NotificationItem as Er } from "./components/notification/notification_item/NotificationItem.js";
70
+ import { NotificationMenu as kr } from "./components/notification/notification_menu/NotificationMenu.js";
71
+ import { OAuth2Button as Nr } from "./components/auth/oauth2_button/OAuth2Button.js";
72
+ import { ONBOARDING_BEFORE_LOGIN_STORAGE_KEY as yr, getOnboardingBeforeLoginStorageKey as Vr, saveOnboardingBeforeLogin as Gr, useOnboarding as _r } from "./components/user/onboarding_modal/useOnboarding.js";
73
+ import { OnboardingModal as Ur } from "./components/user/onboarding_modal/OnboardingModal.js";
74
+ import { PageSkeleton as Kr } from "./components/skeleton/page_skeleton/PageSkeleton.js";
75
+ import { PaginatedList as Yr } from "./components/list/paginated_list/PaginatedList.js";
76
+ import { Pagination as Wr } from "./components/list/pagination/Pagination.js";
77
+ import { PieChart as Jr } from "./components/chart/pie_chart/PieChart.js";
78
+ import { PointBox as Xr } from "./components/gamification/point_box/PointBox.js";
79
+ import { ProgressBar as oe } from "./components/progress/progress_bar/ProgressBar.js";
80
+ import { ProposalBox as ee } from "./components/proposal/proposal_box/ProposalBox.js";
81
+ import { ReadMore as xe } from "./components/text/read_more/ReadMore.js";
82
+ import { ReportBox as pe } from "./components/report/report_box/ReportBox.js";
83
+ import { ReportModal as ne } from "./components/user_content/use_report_content/ReportModal.js";
84
+ import { ResponsiveProvider as ie } from "./components/hooks/use_responsive/ResponsiveProvider.js";
85
+ import { SSOForm as ue } from "./components/auth/sso_form/SSOForm.js";
86
+ import { ScrollToTop as le } from "./components/tools/scroll_to_top/ScrollToTop.js";
87
+ import { SearchInput as ce } from "./components/input/search_input/SearchInput.js";
88
+ import { SectionBox as Se } from "./components/section/section_box/SectionBox.js";
89
+ import { Select as Ae } from "./components/input/select/Select.js";
90
+ import { ShareBox as Ie } from "./components/share/share_box/ShareBox.js";
91
+ import { ShareButton as Le } from "./components/share/share_button/ShareButton.js";
92
+ import { ShareModal as ve } from "./components/share/share_modal/ShareModal.js";
93
+ import { SideModal as Fe } from "./components/modal/side_modal/SideModal.js";
94
+ import { SignupForm as Re } from "./components/auth/signup_form/SignupForm.js";
95
+ import { SocialAuthForm as Oe } from "./components/auth/social_auth_form/SocialAuthForm.js";
96
+ import { SourceBox as De } from "./components/source/source_box/SourceBox.js";
97
+ import { SourceListItem as we } from "./components/source/source_list_item/SourceListItem.js";
98
+ import { SourceModal as Ve } from "./components/source/source_modal/SourceModal.js";
99
+ import { StandardErrorBoundary as _e } from "./components/error/standard_error_boundary/StandardErrorBoundary.js";
100
+ import { SuggestionBanner as Ue } from "./components/suggestion/suggestion_banner/SuggestionBanner.js";
101
+ import { SuggestionBox as Ke } from "./components/suggestion/suggestion_box/SuggestionBox.js";
102
+ import { SuggestionInput as Ye } from "./components/suggestion/suggestion_input/SuggestionInput.js";
103
+ import { SuggestionVoteBox as We } from "./components/vote/suggestion_vote_box/SuggestionVoteBox.js";
104
+ import { Summary as Je } from "./components/summary/summary/Summary.js";
105
+ import { SummaryBox as Xe } from "./components/summary/summary_box/SummaryBox.js";
106
+ import { SummaryContentBox as ot } from "./components/user_content/summary_content_box/SummaryContentBox.js";
107
+ import { Tab as et } from "./components/navigation/tabs/Tab.js";
108
+ import { TabPanel as xt } from "./components/navigation/tabs/TabPanel.js";
109
+ import { Tabs as pt } from "./components/navigation/tabs/Tabs.js";
110
+ import { Tag as nt } from "./components/tag/tag/Tag.js";
111
+ import { TextEditor as it } from "./components/input/text_editor/TextEditor.js";
112
+ import { TextInput as ut } from "./components/input/text_input/TextInput.js";
113
+ import { Toast as lt } from "./components/dialog/toast/Toast.js";
114
+ import { ToastProvider as ct } from "./components/dialog/toast_provider/ToastProvider.js";
115
+ import { Toggle as St } from "./components/input/toggle/Toggle.js";
116
+ import { TogglePosition as At } from "./components/input/toggle_position/TogglePosition.js";
117
+ import { Tooltip as It } from "./components/dialog/tooltip/Tooltip.js";
118
+ import { TopArguments as Lt } from "./components/argument/top_arguments/TopArguments.js";
119
+ import { TranslatedContent as vt } from "./components/translation/translated_content/TranslatedContent.js";
120
+ import { TranslationButton as Ft } from "./components/translation/translation_button/TranslationButton.js";
121
+ import { UpDownVoteBox as Rt } from "./components/vote/up_down_vote_box/UpDownVoteBox.js";
122
+ import { UserBox as Ot } from "./components/user/user_box/UserBox.js";
123
+ import { UserBoxSmall as Dt } from "./components/user/user_box_small/UserBoxSmall.js";
124
+ import { UserContentSkeleton as wt } from "./components/skeleton/user_content_skeleton/UserContentSkeleton.js";
125
+ import { VoteBox as Vt } from "./components/vote/vote_box/VoteBox.js";
126
+ import { VoteButton as _t } from "./components/vote/vote_button/VoteButton.js";
127
+ import { VoteContext as Ut, VoteProvider as $t } from "./components/vote/vote_provider/VoteProvider.js";
128
+ import { VotePaginatedList as qt } from "./components/list/paginated_list/VotePaginatedList.js";
129
+ import { WithAd as zt } from "./components/ad/with_ad/WithAd.js";
130
+ import { authTokenHandler as jt } from "./components/auth/use_auth/authTokenHandler.js";
131
+ import { classes as Qt, getAccent as Xt } from "./components/input/text_input/color-accent.js";
132
+ import { dataProvider as ox } from "./components/data/data_provider/DataProvider.js";
133
+ import { extractFormData as ex } from "./components/forms/form/extract-form-data.js";
134
+ import { getTranslatedContent as xx, useTranslatedContent as mx } from "./components/translation/translated_content/useTranslatedContent.js";
135
+ import { httpClient as fx } from "./components/data/axios_client/httpClient.js";
136
+ import { lexicalToHtml as ax } from "./components/input/text_editor/lexicalToHtml.js";
137
+ import { makeStorage as sx } from "./components/auth/use_auth/AuthStorage.js";
138
+ import { uniqueBy as dx } from "./components/util/unique_by/uniqueBy.js";
139
+ import { useAuth as gx } from "./components/auth/use_auth/useAuth.js";
140
+ import { useAuthInterceptor as Bx } from "./components/auth/use_auth/useAuthInterceptor.js";
141
+ import { useAuthRequired as Cx } from "./components/hooks/use_auth_required/useAuthRequired.js";
142
+ import { useConfig as hx } from "./components/data/config_provider/useConfig.js";
143
+ import { useCssTheme as Tx } from "./components/hooks/use_css_theme/useCssTheme.js";
144
+ import { useData as Px } from "./components/data/data_provider/useData.js";
145
+ import { useDataProvider as Mx } from "./components/data/data_provider/useDataProvider.js";
146
+ import { useDeleteContent as bx } from "./components/user_content/use_delete_content/useDeleteContent.js";
147
+ import { useFollow as Ex } from "./components/follow/use_follow/useFollow.js";
148
+ import { useFontLoader as kx } from "./components/hooks/use_font_loader/useFontLoader.js";
149
+ import { useForm as Nx } from "./components/forms/form/use-form.js";
150
+ import { useFormContext as yx } from "./components/forms/form/use-form-context.js";
151
+ import { useFormValidation as Gx } from "./components/forms/use_form_validation/useFormValidation.js";
152
+ import { useGoogleAdManager as Hx } from "./components/ad/use_google_ad_manager/useGoogleAdManager.js";
153
+ import { useInput as $x } from "./components/input/input_provider/useInput.js";
154
+ import { useList as qx } from "./components/list/list_provider/useList.js";
155
+ import { useLocale as zx } from "./components/intl/intl_provider/useLocale.js";
156
+ import { useMatomo as jx } from "./components/hooks/use_matomo/useMatomo.js";
157
+ import { useModal as Qx } from "./components/dialog/modal/useModal.js";
158
+ import { useRelativeTime as Zx } from "./components/hooks/use_relative_time/useRelativeTime.js";
159
+ import { useReportContent as rm } from "./components/user_content/use_report_content/useReportContent.js";
160
+ import { useResponsive as tm } from "./components/hooks/use_responsive/useResponsive.js";
161
+ import { useRichContent as mm } from "./components/argument/argument/useRichContent.js";
162
+ import { useRoutes as fm } from "./components/data/config_provider/useRoutes.js";
163
+ import { useToast as am } from "./components/dialog/toast_provider/useToast.js";
164
+ import { useVote as sm } from "./components/vote/use_vote/useVote.js";
165
+ import { utf8ToBase64url as dm } from "./components/auth/use_auth/base64.js";
166
+ import { withConfig as gm } from "./components/data/config_provider/withConfig.js";
170
167
  export {
171
168
  a as ActionBar,
172
169
  s as AdUnit,
@@ -178,176 +175,173 @@ export {
178
175
  T as AuthInitializer,
179
176
  P as AuthModal,
180
177
  M as AuthProvider,
181
- k as AuthProviderFactory,
182
- D as AuthorBox,
183
- O as Avatar,
178
+ R as AuthProviderFactory,
179
+ O as AuthorBox,
180
+ D as Avatar,
184
181
  w as AvatarSelector,
185
182
  V as BackLink,
186
- U as BadgeBox,
187
- H as BoxSkeleton,
183
+ _ as BadgeBox,
184
+ U as BoxSkeleton,
188
185
  K as Button,
189
- Y as CommentsSkeleton,
190
- W as ConfigContext,
191
- j as ConfigProvider,
192
- Q as ConfirmModal,
193
- Z as ConsultationBox,
194
- ro as ConsultationSkeleton,
195
- to as ContentFooter,
196
- mo as ContentHeader,
197
- fo as ContextSourceBox,
198
- ao as ContextSourceList,
199
- so as Countdown,
200
- lo as DataProviderContext,
201
- co as DebateBox,
202
- So as DebateSkeleton,
203
- Ao as DialogBox,
204
- Io as Drawer,
205
- Lo as Dropdown,
206
- vo as EMAIL_CONSENT_STORAGE_KEY,
207
- bo as EmbedHeader,
208
- Ro as ExpandableText,
209
- Eo as FacebookLoginButton,
210
- No as FollowButton,
211
- yo as Form,
212
- Go as FormContext,
213
- _o as GoogleLoginButton,
214
- $o as HashScroll,
215
- qo as Icon,
216
- zo as IconContext,
217
- Wo as IconProvider,
218
- Jo as IconTextLink,
219
- Xo as InformationBox,
220
- or as Input,
221
- er as InputProvider,
222
- xr as IntlContext,
223
- pr as IntlProvider,
224
- nr as KeywordBox,
225
- ir as LANGUAGES,
226
- lr as LineChart,
227
- cr as Link,
228
- Sr as ListProvider,
229
- Ar as Loader,
230
- Ir as Location,
231
- Lr as LoginForm,
232
- vr as Message,
233
- Fr as Modal,
234
- kr as ModalContext,
235
- Rr as ModalProvider,
236
- Er as NavbarButton,
237
- Nr as NavbarModal,
238
- yr as NotificationItem,
239
- Gr as NotificationMenu,
240
- _r as OAuth2Button,
241
- $r as ONBOARDING_BEFORE_LOGIN_STORAGE_KEY,
242
- Wr as OnboardingModal,
243
- Jr as PaginatedList,
244
- Xr as Pagination,
245
- oe as PieChart,
246
- ee as PointBox,
247
- xe as ProgressBar,
248
- pe as ProposalBox,
249
- ne as ReadMore,
250
- ie as ReportBox,
251
- ue as ReportModal,
252
- le as ResponsiveProvider,
253
- ce as SSOForm,
254
- Se as ScrollToTop,
255
- Ae as SearchInput,
256
- Ie as SectionBox,
257
- Le as Select,
258
- ve as ShareBox,
259
- Fe as ShareButton,
260
- ke as ShareModal,
261
- De as SideModal,
262
- Oe as SignupForm,
263
- we as SocialAuthForm,
264
- Ve as SourceBox,
265
- Ue as SourceListItem,
266
- He as SourceModal,
267
- Ke as StandardErrorBoundary,
268
- Ye as SuggestionBanner,
269
- We as SuggestionBox,
270
- Je as SuggestionInput,
271
- Xe as SuggestionVoteBox,
272
- ot as Summary,
273
- et as SummaryBox,
274
- xt as SummaryContentBox,
275
- pt as Tab,
276
- nt as TabPanel,
277
- it as Tabs,
278
- ut as Tag,
279
- lt as TextEditor,
280
- ct as TextInput,
281
- St as Toast,
282
- At as ToastProvider,
283
- It as Toggle,
284
- Lt as TogglePosition,
285
- vt as Tooltip,
286
- Ft as TopArguments,
287
- kt as TranslatedContent,
288
- Dt as TranslationButton,
289
- Ot as UpDownVoteBox,
290
- wt as UserBox,
291
- Vt as UserBoxSmall,
292
- Ut as UserContentSkeleton,
293
- Ht as UserPageSkeleton,
294
- Kt as VoteBox,
295
- Yt as VoteButton,
296
- Wt as VoteContext,
297
- Qt as VotePaginatedList,
298
- jt as VoteProvider,
299
- Zt as WithAd,
300
- rx as authTokenHandler,
186
+ Y as ConfigContext,
187
+ z as ConfigProvider,
188
+ j as ConfirmModal,
189
+ Q as ConsultationBox,
190
+ Z as ContentFooter,
191
+ ro as ContentHeader,
192
+ to as ContextSourceBox,
193
+ mo as ContextSourceList,
194
+ fo as Countdown,
195
+ ao as DataProviderContext,
196
+ so as DebateBox,
197
+ lo as DialogBox,
198
+ co as Drawer,
199
+ So as Dropdown,
200
+ Ao as EMAIL_CONSENT_STORAGE_KEY,
201
+ To as EmbedHeader,
202
+ Po as ExpandableText,
203
+ Mo as FacebookLoginButton,
204
+ bo as FollowButton,
205
+ Eo as Form,
206
+ ko as FormContext,
207
+ No as GoogleLoginButton,
208
+ yo as HashScroll,
209
+ Go as Icon,
210
+ Ho as IconContext,
211
+ Uo as IconProvider,
212
+ Ko as IconTextLink,
213
+ Yo as InformationBox,
214
+ Wo as Input,
215
+ Jo as InputProvider,
216
+ Xo as IntlContext,
217
+ or as IntlProvider,
218
+ er as KeywordBox,
219
+ xr as LANGUAGES,
220
+ nr as LineChart,
221
+ ir as Link,
222
+ ur as ListProvider,
223
+ lr as Loader,
224
+ cr as Location,
225
+ Sr as LoginForm,
226
+ Ar as Message,
227
+ Ir as Modal,
228
+ Lr as ModalContext,
229
+ Pr as ModalProvider,
230
+ Mr as NavbarButton,
231
+ br as NavbarModal,
232
+ Er as NotificationItem,
233
+ kr as NotificationMenu,
234
+ Nr as OAuth2Button,
235
+ yr as ONBOARDING_BEFORE_LOGIN_STORAGE_KEY,
236
+ Ur as OnboardingModal,
237
+ Kr as PageSkeleton,
238
+ Yr as PaginatedList,
239
+ Wr as Pagination,
240
+ Jr as PieChart,
241
+ Xr as PointBox,
242
+ oe as ProgressBar,
243
+ ee as ProposalBox,
244
+ xe as ReadMore,
245
+ pe as ReportBox,
246
+ ne as ReportModal,
247
+ ie as ResponsiveProvider,
248
+ ue as SSOForm,
249
+ le as ScrollToTop,
250
+ ce as SearchInput,
251
+ Se as SectionBox,
252
+ Ae as Select,
253
+ Ie as ShareBox,
254
+ Le as ShareButton,
255
+ ve as ShareModal,
256
+ Fe as SideModal,
257
+ Re as SignupForm,
258
+ Oe as SocialAuthForm,
259
+ De as SourceBox,
260
+ we as SourceListItem,
261
+ Ve as SourceModal,
262
+ _e as StandardErrorBoundary,
263
+ Ue as SuggestionBanner,
264
+ Ke as SuggestionBox,
265
+ Ye as SuggestionInput,
266
+ We as SuggestionVoteBox,
267
+ Je as Summary,
268
+ Xe as SummaryBox,
269
+ ot as SummaryContentBox,
270
+ et as Tab,
271
+ xt as TabPanel,
272
+ pt as Tabs,
273
+ nt as Tag,
274
+ it as TextEditor,
275
+ ut as TextInput,
276
+ lt as Toast,
277
+ ct as ToastProvider,
278
+ St as Toggle,
279
+ At as TogglePosition,
280
+ It as Tooltip,
281
+ Lt as TopArguments,
282
+ vt as TranslatedContent,
283
+ Ft as TranslationButton,
284
+ Rt as UpDownVoteBox,
285
+ Ot as UserBox,
286
+ Dt as UserBoxSmall,
287
+ wt as UserContentSkeleton,
288
+ Vt as VoteBox,
289
+ _t as VoteButton,
290
+ Ut as VoteContext,
291
+ qt as VotePaginatedList,
292
+ $t as VoteProvider,
293
+ zt as WithAd,
294
+ jt as authTokenHandler,
301
295
  r as bildIcons,
302
296
  p as clarinIcons,
303
- tx as classes,
304
- px as dataProvider,
305
- nx as extractFormData,
306
- xx as getAccent,
307
- sr as getLocaleIcon,
308
- ur as getLocaleName,
309
- Kr as getOnboardingBeforeLoginStorageKey,
310
- ix as getTranslatedContent,
297
+ Qt as classes,
298
+ ox as dataProvider,
299
+ ex as extractFormData,
300
+ Xt as getAccent,
301
+ mr as getLocaleIcon,
302
+ pr as getLocaleName,
303
+ Vr as getOnboardingBeforeLoginStorageKey,
304
+ xx as getTranslatedContent,
311
305
  t as heroIcons,
312
- dx as httpClient,
306
+ fx as httpClient,
313
307
  x as kroneIcons,
314
- gx as lexicalToHtml,
315
- Bx as makeStorage,
308
+ ax as lexicalToHtml,
309
+ sx as makeStorage,
316
310
  o as regularIcons,
317
- qr as saveOnboardingBeforeLogin,
311
+ Gr as saveOnboardingBeforeLogin,
318
312
  e as spiegelIcons,
319
313
  m as sternIcons,
320
- Cx as uniqueBy,
321
- hx as useAuth,
322
- Mo as useAuthActions,
323
- Tx as useAuthInterceptor,
324
- Px as useAuthRequired,
325
- Mx as useConfig,
326
- bx as useCssTheme,
327
- Rx as useData,
328
- Ex as useDataProvider,
329
- Nx as useDeleteContent,
330
- yx as useFollow,
331
- Gx as useFontLoader,
332
- _x as useForm,
333
- $x as useFormContext,
334
- qx as useFormValidation,
335
- zx as useGoogleAdManager,
336
- jx as useInput,
337
- Qx as useList,
338
- Zx as useLocale,
339
- rm as useMatomo,
340
- tm as useModal,
341
- Yr as useOnboarding,
342
- mm as useRelativeTime,
343
- fm as useReportContent,
344
- am as useResponsive,
345
- sm as useRichContent,
346
- dm as useRoutes,
347
- gm as useToast,
348
- sx as useTranslatedContent,
349
- Bm as useVote,
350
- Cm as utf8ToBase64url,
314
+ dx as uniqueBy,
315
+ gx as useAuth,
316
+ ho as useAuthActions,
317
+ Bx as useAuthInterceptor,
318
+ Cx as useAuthRequired,
319
+ hx as useConfig,
320
+ Tx as useCssTheme,
321
+ Px as useData,
322
+ Mx as useDataProvider,
323
+ bx as useDeleteContent,
324
+ Ex as useFollow,
325
+ kx as useFontLoader,
326
+ Nx as useForm,
327
+ yx as useFormContext,
328
+ Gx as useFormValidation,
329
+ Hx as useGoogleAdManager,
330
+ $x as useInput,
331
+ qx as useList,
332
+ zx as useLocale,
333
+ jx as useMatomo,
334
+ Qx as useModal,
335
+ _r as useOnboarding,
336
+ Zx as useRelativeTime,
337
+ rm as useReportContent,
338
+ tm as useResponsive,
339
+ mm as useRichContent,
340
+ fm as useRoutes,
341
+ am as useToast,
342
+ mx as useTranslatedContent,
343
+ sm as useVote,
344
+ dm as utf8ToBase64url,
351
345
  F as withAuth,
352
- hm as withConfig
346
+ gm as withConfig
353
347
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logora/debate",
3
- "version": "0.4.66",
3
+ "version": "0.4.68",
4
4
  "type": "module",
5
5
  "license": "AGPL-3.0",
6
6
  "description": "Design system of @Logora made with React",
@@ -1 +0,0 @@
1
- ._commentsSkeleton_2m189_3{display:flex;flex-direction:column;gap:var(--space-unit, 1em);width:100%}._commentsHeader_2m189_10{display:flex;flex-direction:column;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}._commentsTitle_2m189_16{width:60%;height:var(--font-size-large, 20px)}._commentsDescription_2m189_21{width:85%;height:var(--font-size-normal, 16px)}._commentList_2m189_26{display:flex;flex-direction:column;gap:var(--space-unit, 1em)}._commentItem_2m189_32{display:flex;flex-direction:column;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}._commentHeader_2m189_38{display:flex;flex-direction:row;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));align-items:center}._commentAvatar_2m189_45{width:60px;height:60px;flex-shrink:0}._commentAuthorLines_2m189_51{display:flex;flex-direction:column;gap:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25));flex:1;min-width:80px}._commentAuthorLine_2m189_51{width:160px;height:var(--font-size-small, 16px)}._commentAuthorSubline_2m189_64{width:100px;height:var(--font-size-extra-small, 14px)}._commentBody_2m189_69{display:flex;flex-direction:column;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}._commentLine_2m189_75{width:100%;height:var(--font-size-normal, 16px)}._commentLineShort_2m189_80{width:65%;height:var(--font-size-normal, 16px)}
@@ -1 +0,0 @@
1
- ._consultationSkeleton_1xisi_3{display:flex;flex-direction:column;gap:var(--space-unit, 1em);width:100%}._consultationHeader_1xisi_10{display:flex;flex-direction:column;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}._consultationTitle_1xisi_16{width:55%;height:var(--font-size-extra-large, 22px)}._consultationDescription_1xisi_21{width:80%;height:var(--font-size-normal, 16px)}._tabsRow_1xisi_26{display:flex;flex-direction:row;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}._tab_1xisi_26{width:120px;height:32px;border-radius:var(--box-border-radius, 6px)}._proposalList_1xisi_38{display:flex;flex-direction:column;gap:var(--space-unit, 1em)}._proposalItem_1xisi_44{display:flex;flex-direction:column;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));border-radius:var(--box-border-radius, 6px);box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));border:var(--box-border, 1px solid rgba(7, 42, 68, .1));padding:var(--space-unit, 1em)}._proposalAuthor_1xisi_54{width:180px;height:40px}._proposalLine_1xisi_59{width:100%;height:var(--font-size-normal, 16px)}._proposalLineShort_1xisi_64{width:55%;height:var(--font-size-normal, 16px)}
@@ -1 +0,0 @@
1
- ._debateSkeleton_43wmf_3{display:flex;flex-direction:column;gap:var(--space-unit, 1em);width:100%}._debateImageBox_43wmf_10{width:100%;border-top-left-radius:var(--box-border-radius, 6px);border-top-right-radius:var(--box-border-radius, 6px)}._debateImage_43wmf_10{width:100%;height:210px;border-top-left-radius:var(--box-border-radius, 6px);border-top-right-radius:var(--box-border-radius, 6px)}._debateHeader_43wmf_23{display:flex;flex-direction:column;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}._debateTitle_43wmf_29{width:70%;height:var(--font-size-extra-large, 22px)}._debateSubtitle_43wmf_34{width:40%;height:var(--font-size-normal, 16px)}._debateContent_43wmf_39{display:flex;flex-direction:row;gap:var(--space-unit, 1em)}@container (max-width: 767.98px){._debateContent_43wmf_39{flex-direction:column}}._debateMainColumn_43wmf_50{display:flex;flex-direction:column;gap:var(--space-unit, 1em);flex:1;min-width:0}._argumentBlock_43wmf_58{display:flex;flex-direction:column;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}._argumentLine_43wmf_64{width:100%;height:var(--font-size-normal, 16px)}._argumentLineShort_43wmf_69{width:60%;height:var(--font-size-normal, 16px)}._debateSideColumn_43wmf_74{display:flex;flex-direction:column;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));width:260px;flex-shrink:0}@container (max-width: 767.98px){._debateSideColumn_43wmf_74{width:100%}}._sideBox_43wmf_87{width:100%;height:180px;border-radius:var(--box-border-radius, 6px)}
@@ -1 +0,0 @@
1
- ._userPageSkeleton_1327l_3{display:flex;flex-direction:column;gap:var(--space-unit, 1em);width:100%}._userHeader_1327l_10{display:flex;flex-direction:row;gap:var(--space-unit, 1em);align-items:center}._userAvatar_1327l_17{width:80px;height:80px;flex-shrink:0}._userHeaderLines_1327l_23{display:flex;flex-direction:column;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));flex:1;min-width:120px}._userName_1327l_31{width:220px;height:var(--font-size-large, 20px)}._userDescription_1327l_36{width:320px;height:var(--font-size-normal, 16px)}._tabsRow_1327l_41{display:flex;flex-direction:row;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}._tab_1327l_41{width:110px;height:32px;border-radius:var(--box-border-radius, 6px)}._contentList_1327l_53{display:flex;flex-direction:column;gap:var(--space-unit, 1em)}._contentItem_1327l_59{display:flex;flex-direction:column;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));border-radius:var(--box-border-radius, 6px);box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));border:var(--box-border, 1px solid rgba(7, 42, 68, .1));padding:var(--space-unit, 1em)}._contentLine_1327l_69{width:100%;height:var(--font-size-normal, 16px)}._contentLineShort_1327l_74{width:50%;height:var(--font-size-normal, 16px)}
@@ -1,74 +0,0 @@
1
- import { jsx as m, jsxs as t } from "react/jsx-runtime";
2
- import "react";
3
- import c from "react-loading-skeleton";
4
- import "react-loading-skeleton/dist/skeleton.css";
5
- import e from "./CommentsSkeleton.module.scss.js";
6
- const v = ({
7
- enableAnimation: s = !0,
8
- numberOfComments: r = 3,
9
- className: o
10
- }) => /* @__PURE__ */ m("div", { "data-testid": "comments-skeleton", className: o, children: /* @__PURE__ */ t("div", { className: e.commentsSkeleton, children: [
11
- /* @__PURE__ */ t("div", { className: e.commentsHeader, children: [
12
- /* @__PURE__ */ m(
13
- c,
14
- {
15
- enableAnimation: s,
16
- className: e.commentsTitle
17
- }
18
- ),
19
- /* @__PURE__ */ m(
20
- c,
21
- {
22
- enableAnimation: s,
23
- className: e.commentsDescription
24
- }
25
- )
26
- ] }),
27
- /* @__PURE__ */ m("div", { className: e.commentList, children: Array.from({ length: r }).map((a, l) => /* @__PURE__ */ t("div", { className: e.commentItem, children: [
28
- /* @__PURE__ */ t("div", { className: e.commentHeader, children: [
29
- /* @__PURE__ */ m(
30
- c,
31
- {
32
- enableAnimation: s,
33
- circle: !0,
34
- className: e.commentAvatar
35
- }
36
- ),
37
- /* @__PURE__ */ t("div", { className: e.commentAuthorLines, children: [
38
- /* @__PURE__ */ m(
39
- c,
40
- {
41
- enableAnimation: s,
42
- className: e.commentAuthorLine
43
- }
44
- ),
45
- /* @__PURE__ */ m(
46
- c,
47
- {
48
- enableAnimation: s,
49
- className: e.commentAuthorSubline
50
- }
51
- )
52
- ] })
53
- ] }),
54
- /* @__PURE__ */ t("div", { className: e.commentBody, children: [
55
- /* @__PURE__ */ m(
56
- c,
57
- {
58
- enableAnimation: s,
59
- className: e.commentLine
60
- }
61
- ),
62
- /* @__PURE__ */ m(
63
- c,
64
- {
65
- enableAnimation: s,
66
- className: e.commentLineShort
67
- }
68
- )
69
- ] })
70
- ] }, l)) })
71
- ] }) });
72
- export {
73
- v as CommentsSkeleton
74
- };
@@ -1,33 +0,0 @@
1
- import '../../../assets/components/skeleton/comments_skeleton/CommentsSkeleton.module-DxtFozVV.css';const m = "_commentsSkeleton_2m189_3", t = "_commentsHeader_2m189_10", e = "_commentsTitle_2m189_16", o = "_commentsDescription_2m189_21", n = "_commentList_2m189_26", c = "_commentItem_2m189_32", _ = "_commentHeader_2m189_38", s = "_commentAvatar_2m189_45", i = "_commentAuthorLines_2m189_51", r = "_commentAuthorLine_2m189_51", L = "_commentAuthorSubline_2m189_64", a = "_commentBody_2m189_69", u = "_commentLine_2m189_75", h = "_commentLineShort_2m189_80", A = {
2
- commentsSkeleton: m,
3
- commentsHeader: t,
4
- commentsTitle: e,
5
- commentsDescription: o,
6
- commentList: n,
7
- commentItem: c,
8
- commentHeader: _,
9
- commentAvatar: s,
10
- commentAuthorLines: i,
11
- commentAuthorLine: r,
12
- commentAuthorSubline: L,
13
- commentBody: a,
14
- commentLine: u,
15
- commentLineShort: h
16
- };
17
- export {
18
- r as commentAuthorLine,
19
- i as commentAuthorLines,
20
- L as commentAuthorSubline,
21
- s as commentAvatar,
22
- a as commentBody,
23
- _ as commentHeader,
24
- c as commentItem,
25
- u as commentLine,
26
- h as commentLineShort,
27
- n as commentList,
28
- o as commentsDescription,
29
- t as commentsHeader,
30
- m as commentsSkeleton,
31
- e as commentsTitle,
32
- A as default
33
- };
@@ -1,76 +0,0 @@
1
- import { jsx as o, jsxs as l } from "react/jsx-runtime";
2
- import "react";
3
- import a from "react-loading-skeleton";
4
- import "react-loading-skeleton/dist/skeleton.css";
5
- import s from "./ConsultationSkeleton.module.scss.js";
6
- const u = ({
7
- enableAnimation: t = !0,
8
- numberOfProposals: r = 4,
9
- className: c
10
- }) => /* @__PURE__ */ o("div", { "data-testid": "consultation-skeleton", className: c, children: /* @__PURE__ */ l("div", { className: s.consultationSkeleton, children: [
11
- /* @__PURE__ */ l("div", { className: s.consultationHeader, children: [
12
- /* @__PURE__ */ o(
13
- a,
14
- {
15
- enableAnimation: t,
16
- className: s.consultationTitle
17
- }
18
- ),
19
- /* @__PURE__ */ o(
20
- a,
21
- {
22
- enableAnimation: t,
23
- className: s.consultationDescription
24
- }
25
- )
26
- ] }),
27
- /* @__PURE__ */ l("div", { className: s.tabsRow, children: [
28
- /* @__PURE__ */ o(
29
- a,
30
- {
31
- enableAnimation: t,
32
- className: s.tab
33
- }
34
- ),
35
- /* @__PURE__ */ o(
36
- a,
37
- {
38
- enableAnimation: t,
39
- className: s.tab
40
- }
41
- ),
42
- /* @__PURE__ */ o(
43
- a,
44
- {
45
- enableAnimation: t,
46
- className: s.tab
47
- }
48
- )
49
- ] }),
50
- /* @__PURE__ */ o("div", { className: s.proposalList, children: Array.from({ length: r }).map((p, e) => /* @__PURE__ */ l("div", { className: s.proposalItem, children: [
51
- /* @__PURE__ */ o(
52
- a,
53
- {
54
- enableAnimation: t,
55
- className: s.proposalAuthor
56
- }
57
- ),
58
- /* @__PURE__ */ o(
59
- a,
60
- {
61
- enableAnimation: t,
62
- className: s.proposalLine
63
- }
64
- ),
65
- /* @__PURE__ */ o(
66
- a,
67
- {
68
- enableAnimation: t,
69
- className: s.proposalLineShort
70
- }
71
- )
72
- ] }, e)) })
73
- ] }) });
74
- export {
75
- u as ConsultationSkeleton
76
- };
@@ -1,27 +0,0 @@
1
- import '../../../assets/components/skeleton/consultation_skeleton/ConsultationSkeleton.module-DZ19OJWm.css';const o = "_consultationSkeleton_1xisi_3", t = "_consultationHeader_1xisi_10", s = "_consultationTitle_1xisi_16", i = "_consultationDescription_1xisi_21", n = "_tabsRow_1xisi_26", a = "_tab_1xisi_26", l = "_proposalList_1xisi_38", p = "_proposalItem_1xisi_44", _ = "_proposalAuthor_1xisi_54", e = "_proposalLine_1xisi_59", r = "_proposalLineShort_1xisi_64", c = {
2
- consultationSkeleton: o,
3
- consultationHeader: t,
4
- consultationTitle: s,
5
- consultationDescription: i,
6
- tabsRow: n,
7
- tab: a,
8
- proposalList: l,
9
- proposalItem: p,
10
- proposalAuthor: _,
11
- proposalLine: e,
12
- proposalLineShort: r
13
- };
14
- export {
15
- i as consultationDescription,
16
- t as consultationHeader,
17
- o as consultationSkeleton,
18
- s as consultationTitle,
19
- c as default,
20
- _ as proposalAuthor,
21
- p as proposalItem,
22
- e as proposalLine,
23
- r as proposalLineShort,
24
- l as proposalList,
25
- a as tab,
26
- n as tabsRow
27
- };
@@ -1,90 +0,0 @@
1
- import { jsx as s, jsxs as d } from "react/jsx-runtime";
2
- import "react";
3
- import t from "react-loading-skeleton";
4
- import "react-loading-skeleton/dist/skeleton.css";
5
- import e from "./DebateSkeleton.module.scss.js";
6
- const o = ({ enableAnimation: a = !0, className: r }) => /* @__PURE__ */ s("div", { "data-testid": "debate-skeleton", className: r, children: /* @__PURE__ */ d("div", { className: e.debateSkeleton, children: [
7
- /* @__PURE__ */ s("div", { className: e.debateImageBox, children: /* @__PURE__ */ s(
8
- t,
9
- {
10
- enableAnimation: a,
11
- className: e.debateImage
12
- }
13
- ) }),
14
- /* @__PURE__ */ d("div", { className: e.debateHeader, children: [
15
- /* @__PURE__ */ s(
16
- t,
17
- {
18
- enableAnimation: a,
19
- className: e.debateTitle
20
- }
21
- ),
22
- /* @__PURE__ */ s(
23
- t,
24
- {
25
- enableAnimation: a,
26
- className: e.debateSubtitle
27
- }
28
- )
29
- ] }),
30
- /* @__PURE__ */ d("div", { className: e.debateContent, children: [
31
- /* @__PURE__ */ d("div", { className: e.debateMainColumn, children: [
32
- /* @__PURE__ */ d("div", { className: e.argumentBlock, children: [
33
- /* @__PURE__ */ s(
34
- t,
35
- {
36
- enableAnimation: a,
37
- className: e.argumentLine
38
- }
39
- ),
40
- /* @__PURE__ */ s(
41
- t,
42
- {
43
- enableAnimation: a,
44
- className: e.argumentLine
45
- }
46
- ),
47
- /* @__PURE__ */ s(
48
- t,
49
- {
50
- enableAnimation: a,
51
- className: e.argumentLineShort
52
- }
53
- )
54
- ] }),
55
- /* @__PURE__ */ d("div", { className: e.argumentBlock, children: [
56
- /* @__PURE__ */ s(
57
- t,
58
- {
59
- enableAnimation: a,
60
- className: e.argumentLine
61
- }
62
- ),
63
- /* @__PURE__ */ s(
64
- t,
65
- {
66
- enableAnimation: a,
67
- className: e.argumentLine
68
- }
69
- ),
70
- /* @__PURE__ */ s(
71
- t,
72
- {
73
- enableAnimation: a,
74
- className: e.argumentLineShort
75
- }
76
- )
77
- ] })
78
- ] }),
79
- /* @__PURE__ */ s("div", { className: e.debateSideColumn, children: /* @__PURE__ */ s(
80
- t,
81
- {
82
- enableAnimation: a,
83
- className: e.sideBox
84
- }
85
- ) })
86
- ] })
87
- ] }) });
88
- export {
89
- o as DebateSkeleton
90
- };
@@ -1,31 +0,0 @@
1
- import '../../../assets/components/skeleton/debate_skeleton/DebateSkeleton.module-DXz8__D7.css';const e = "_debateSkeleton_43wmf_3", t = "_debateImageBox_43wmf_10", a = "_debateImage_43wmf_10", n = "_debateHeader_43wmf_23", o = "_debateTitle_43wmf_29", _ = "_debateSubtitle_43wmf_34", d = "_debateContent_43wmf_39", m = "_debateMainColumn_43wmf_50", b = "_argumentBlock_43wmf_58", i = "_argumentLine_43wmf_64", l = "_argumentLineShort_43wmf_69", s = "_debateSideColumn_43wmf_74", u = "_sideBox_43wmf_87", c = {
2
- debateSkeleton: e,
3
- debateImageBox: t,
4
- debateImage: a,
5
- debateHeader: n,
6
- debateTitle: o,
7
- debateSubtitle: _,
8
- debateContent: d,
9
- debateMainColumn: m,
10
- argumentBlock: b,
11
- argumentLine: i,
12
- argumentLineShort: l,
13
- debateSideColumn: s,
14
- sideBox: u
15
- };
16
- export {
17
- b as argumentBlock,
18
- i as argumentLine,
19
- l as argumentLineShort,
20
- d as debateContent,
21
- n as debateHeader,
22
- a as debateImage,
23
- t as debateImageBox,
24
- m as debateMainColumn,
25
- s as debateSideColumn,
26
- e as debateSkeleton,
27
- _ as debateSubtitle,
28
- o as debateTitle,
29
- c as default,
30
- u as sideBox
31
- };
@@ -1,79 +0,0 @@
1
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
2
- import "react";
3
- import a from "react-loading-skeleton";
4
- import "react-loading-skeleton/dist/skeleton.css";
5
- import e from "./UserPageSkeleton.module.scss.js";
6
- const p = ({
7
- enableAnimation: r = !0,
8
- numberOfContentItems: t = 3,
9
- className: l
10
- }) => /* @__PURE__ */ s("div", { "data-testid": "user-page-skeleton", className: l, children: /* @__PURE__ */ c("div", { className: e.userPageSkeleton, children: [
11
- /* @__PURE__ */ c("div", { className: e.userHeader, children: [
12
- /* @__PURE__ */ s(
13
- a,
14
- {
15
- enableAnimation: r,
16
- circle: !0,
17
- className: e.userAvatar
18
- }
19
- ),
20
- /* @__PURE__ */ c("div", { className: e.userHeaderLines, children: [
21
- /* @__PURE__ */ s(
22
- a,
23
- {
24
- enableAnimation: r,
25
- className: e.userName
26
- }
27
- ),
28
- /* @__PURE__ */ s(
29
- a,
30
- {
31
- enableAnimation: r,
32
- className: e.userDescription
33
- }
34
- )
35
- ] })
36
- ] }),
37
- /* @__PURE__ */ c("div", { className: e.tabsRow, children: [
38
- /* @__PURE__ */ s(
39
- a,
40
- {
41
- enableAnimation: r,
42
- className: e.tab
43
- }
44
- ),
45
- /* @__PURE__ */ s(
46
- a,
47
- {
48
- enableAnimation: r,
49
- className: e.tab
50
- }
51
- ),
52
- /* @__PURE__ */ s(
53
- a,
54
- {
55
- enableAnimation: r,
56
- className: e.tab
57
- }
58
- )
59
- ] }),
60
- /* @__PURE__ */ s("div", { className: e.contentList, children: Array.from({ length: t }).map((d, m) => /* @__PURE__ */ c("div", { className: e.contentItem, children: [
61
- /* @__PURE__ */ s(
62
- a,
63
- {
64
- enableAnimation: r,
65
- className: e.contentLine
66
- }
67
- ),
68
- /* @__PURE__ */ s(
69
- a,
70
- {
71
- enableAnimation: r,
72
- className: e.contentLineShort
73
- }
74
- )
75
- ] }, m)) })
76
- ] }) });
77
- export {
78
- p as UserPageSkeleton
79
- };
@@ -1,29 +0,0 @@
1
- import '../../../assets/components/skeleton/user_page_skeleton/UserPageSkeleton.module-mlNfXOfB.css';const e = "_userPageSkeleton_1327l_3", t = "_userHeader_1327l_10", n = "_userAvatar_1327l_17", s = "_userHeaderLines_1327l_23", o = "_userName_1327l_31", _ = "_userDescription_1327l_36", r = "_tabsRow_1327l_41", c = "_tab_1327l_41", a = "_contentList_1327l_53", u = "_contentItem_1327l_59", i = "_contentLine_1327l_69", l = "_contentLineShort_1327l_74", L = {
2
- userPageSkeleton: e,
3
- userHeader: t,
4
- userAvatar: n,
5
- userHeaderLines: s,
6
- userName: o,
7
- userDescription: _,
8
- tabsRow: r,
9
- tab: c,
10
- contentList: a,
11
- contentItem: u,
12
- contentLine: i,
13
- contentLineShort: l
14
- };
15
- export {
16
- u as contentItem,
17
- i as contentLine,
18
- l as contentLineShort,
19
- a as contentList,
20
- L as default,
21
- c as tab,
22
- r as tabsRow,
23
- n as userAvatar,
24
- _ as userDescription,
25
- t as userHeader,
26
- s as userHeaderLines,
27
- o as userName,
28
- e as userPageSkeleton
29
- };