@logora/debate 0.3.2 → 0.3.3

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.
@@ -1,4 +1,4 @@
1
- import { AuthModal as t } from "./AuthModal.js";
1
+ import { AuthModal as r } from "./AuthModal.js";
2
2
  export {
3
- t as default
3
+ r as AuthModal
4
4
  };
@@ -1,10 +1,10 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { useContext as n, Suspense as r, lazy as u } from "react";
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { useContext as i, Suspense as r, lazy as u } from "react";
3
3
  import { ConfigContext as a } from "../../data/config_provider/ConfigProvider.js";
4
4
  import { useModal as d } from "../../dialog/modal/useModal.js";
5
- const c = u(() => import("../../auth/auth_modal/index.js")), m = () => {
6
- const { config: e } = n(a), { showModal: o } = d();
7
- return (i = {}) => {
5
+ const l = u(() => import("../../auth/auth_modal/index.js").then((t) => ({ default: t.AuthModal }))), m = () => {
6
+ const { config: t } = i(a), { showModal: o } = d();
7
+ return (n = {}) => {
8
8
  typeof window < "u" && (window.dispatchEvent(
9
9
  new CustomEvent("LOGORA::authenticationRequired", {
10
10
  detail: { redirectUrl: window.location.href }
@@ -13,8 +13,8 @@ const c = u(() => import("../../auth/auth_modal/index.js")), m = () => {
13
13
  new CustomEvent("logora:authentication:requested", {
14
14
  detail: { redirectUrl: window.location.href }
15
15
  })
16
- )), e?.auth?.disableLoginModal !== !0 && o(
17
- /* @__PURE__ */ t(r, { fallback: null, children: /* @__PURE__ */ t(c, { ...i }) })
16
+ )), t?.auth?.disableLoginModal !== !0 && o(
17
+ /* @__PURE__ */ e(r, { fallback: null, children: /* @__PURE__ */ e(l, { ...n }) })
18
18
  );
19
19
  };
20
20
  };
@@ -20,41 +20,41 @@ import { Avatar as et } from "../../user/avatar/Avatar.js";
20
20
  import { AuthorBox as tt } from "../../user/author_box/AuthorBox.js";
21
21
  import { TextEditor as nt } from "../text_editor/TextEditor.js";
22
22
  import { Icon as at } from "../../icons/icon/Icon.js";
23
- const it = Ye(() => import("../../modal/side_modal/index.js")), Nt = ({
24
- argumentListId: R,
23
+ const it = Ye(() => import("../../modal/side_modal/index.js").then((I) => ({ default: I.SideModal }))), Nt = ({
24
+ argumentListId: I,
25
25
  avatarSize: me = 48,
26
26
  disabled: j = !1,
27
27
  positions: a = [],
28
- disabledPositions: I = [],
28
+ disabledPositions: S = [],
29
29
  groupId: v,
30
30
  groupName: fe,
31
31
  groupType: z,
32
32
  hideSourceAction: ge = !1,
33
33
  isReply: r = !1,
34
34
  onSubmit: O,
35
- parentId: L,
35
+ parentId: y,
36
36
  placeholder: he,
37
37
  positionId: b,
38
38
  focusOnInit: pe = !1,
39
- activeOnInit: y = !1,
39
+ activeOnInit: F = !1,
40
40
  userGuideUrl: J,
41
41
  hideUserGuideLink: _e = !1,
42
42
  hideCharCount: Me = !1,
43
43
  disableAutoActivate: ve = !1
44
44
  }) => {
45
- const s = $e(), K = Re(), S = je(), h = ze(), {
45
+ const s = $e(), K = Re(), x = je(), h = ze(), {
46
46
  focus: G,
47
- setFocus: x,
47
+ setFocus: N,
48
48
  setReset: be,
49
- inputContent: F,
49
+ inputContent: P,
50
50
  setInputContent: Ae,
51
51
  setInputRichContent: Ce
52
- } = Oe(), { isLoggedIn: A, currentUser: u } = Je(), { errors: P, validate: B } = Ke(), { isMobile: m } = Ge(), we = ke(), H = De(null), [E, V] = c([]), [U, q] = c(""), [Q, D] = c(null), [d, p] = c(null), [X, Z] = c(null), [ee, te] = c(!1), [C, ne] = c(!1), [ae, ie] = c({}), [f, Ie] = qe(
52
+ } = Oe(), { isLoggedIn: A, currentUser: u } = Je(), { errors: B, validate: E } = Ke(), { isMobile: m } = Ge(), we = ke(), H = De(null), [V, U] = c([]), [q, D] = c(""), [Q, W] = c(null), [d, p] = c(null), [X, Z] = c(null), [ee, te] = c(!1), [C, ne] = c(!1), [ae, ie] = c({}), [f, Ie] = qe(
53
53
  "userSide",
54
54
  {}
55
55
  ), [g, Se] = c(
56
56
  !A && h?.actions?.disableInputForVisitor
57
- ), W = He(), { showModal: xe } = Qe(), { toast: Y } = Xe() || {}, se = new URLSearchParams(
57
+ ), Y = He(), { showModal: xe } = Qe(), { toast: $ } = Xe() || {}, se = new URLSearchParams(
58
58
  typeof window < "u" ? window.location.search : we.search
59
59
  );
60
60
  M(() => {
@@ -62,28 +62,28 @@ const it = Ye(() => import("../../modal/side_modal/index.js")), Nt = ({
62
62
  !A && h?.actions?.disableInputForVisitor
63
63
  );
64
64
  }, [A, h]);
65
- const $ = u?.role === "editor" || u?.role === "moderator", oe = u?.moderation_status === "banned";
65
+ const k = u?.role === "editor" || u?.role === "moderator", oe = u?.moderation_status === "banned";
66
66
  M(() => {
67
67
  let e = null;
68
68
  typeof window < "u" && (e = se.get("positionId")), b && b != a[2]?.id && a?.find((t) => t.id === b) ? p(b) : e && e != a[2]?.id ? p(e) : f && f.groupId == v && f.positionId != a[2]?.id && p(f.positionId);
69
69
  }, [b]), M(() => {
70
- y && (k(), x(!0));
71
- }, [y]), M(() => {
70
+ F && (R(), N(!0));
71
+ }, [F]), M(() => {
72
72
  if (typeof window < "u") {
73
73
  const e = pe || se.get("initArgument");
74
- (e === !0 || e === "true") && (x(!0), Ee());
74
+ (e === !0 || e === "true") && (N(!0), Ee());
75
75
  }
76
76
  }, []), M(() => {
77
- G && (re(), x(!1));
77
+ G && (re(), N(!1));
78
78
  }, [G]), M(() => {
79
- F?.id && (Ne(F), x(!0));
80
- }, [F]);
79
+ P?.id && (Ne(P), N(!0));
80
+ }, [P]);
81
81
  const Ne = (e) => {
82
- ie(e), ne(!0), V(e.sources), q(e.content), D(e.rich_content), Z(e.id), re(), p(e.position?.id), JSON.parse(e.rich_content).hasOwnProperty("root") ? Ce(e.rich_content) : Ae(e.content);
82
+ ie(e), ne(!0), U(e.sources), D(e.content), W(e.rich_content), Z(e.id), re(), p(e.position?.id), JSON.parse(e.rich_content).hasOwnProperty("root") ? Ce(e.rich_content) : Ae(e.content);
83
83
  }, re = () => {
84
84
  H.current.scrollIntoView(!1);
85
85
  }, ue = () => {
86
- q(""), D(null), ie({}), Z(null), V([]), be(!0);
86
+ D(""), W(null), ie({}), Z(null), U([]), be(!0);
87
87
  }, Te = (e) => {
88
88
  p(e), le(e);
89
89
  }, Le = () => {
@@ -98,17 +98,17 @@ const it = Ye(() => import("../../modal/side_modal/index.js")), Nt = ({
98
98
  onChooseSide: Te,
99
99
  positions: a,
100
100
  title: fe,
101
- disabledPositions: !r && I,
101
+ disabledPositions: !r && S,
102
102
  isNeutral: f && f.groupId == v && f.positionId === a[2]?.id
103
103
  }
104
104
  ) })
105
105
  );
106
106
  }, ye = () => {
107
- A ? X ? Be() : !a || a?.length === 0 || !I?.find((e) => e?.id === d) && d || $ && r ? le(r && $ && a[0]?.id) : Le() : W({ loginAction: "argument" });
107
+ A ? X ? Be() : !a || a?.length === 0 || !S?.find((e) => e?.id === d) && d || k && r ? le(r && k && a[0]?.id) : Le() : Y({ loginAction: "argument" });
108
108
  }, Fe = (e, t) => {
109
- g ? W({ loginAction: "argument" }) : (q(e), D(t), B({ content: e }, [{ content: ["url", null] }]));
109
+ g ? Y({ loginAction: "argument" }) : (D(e), W(t), E({ content: e }, [{ content: ["url", null] }]));
110
110
  }, Pe = (e) => {
111
- V(e);
111
+ U(e);
112
112
  }, de = [
113
113
  { content: ["length", 3] },
114
114
  { content: ["required", null] },
@@ -116,22 +116,22 @@ const it = Ye(() => import("../../modal/side_modal/index.js")), Nt = ({
116
116
  ...!a || a?.length === 0 ? [] : [{ position_id: ["required", null] }]
117
117
  ], le = (e) => {
118
118
  const t = e || d, l = {
119
- content: U,
119
+ content: q,
120
120
  rich_content: Q,
121
121
  group_id: v,
122
122
  ...z && { group_type: z },
123
123
  ...t && { position_id: t },
124
- is_reply: !!L,
125
- message_id: L || null,
126
- source_ids: E?.map((o) => o.id)
124
+ is_reply: !!y,
125
+ message_id: y || null,
126
+ source_ids: V?.map((o) => o.id)
127
127
  };
128
- B(l, de) && (t && a && a.map((o) => o.id).includes(t) && Ie({
128
+ E(l, de) && (t && a && a.map((o) => o.id).includes(t) && Ie({
129
129
  groupId: v,
130
130
  positionId: t
131
131
  }), ue(), K.create("messages", l).then((o) => {
132
132
  if (o.data.success) {
133
- if (L)
134
- O(o.data.data.resource), Y(
133
+ if (y)
134
+ O(o.data.data.resource), $(
135
135
  s.formatMessage({
136
136
  id: "alert.argument_create",
137
137
  defaultMessage: "Your contribution has been sent !"
@@ -145,12 +145,12 @@ const it = Ye(() => import("../../modal/side_modal/index.js")), Nt = ({
145
145
  }
146
146
  );
147
147
  else {
148
- const N = o.data.data.resource;
149
- let T = R;
150
- t && !m && (T = `argumentList${N.position.id}`), O?.(
151
- U,
148
+ const T = o.data.data.resource;
149
+ let L = I;
150
+ t && !m && (L = `argumentList${T.position.id}`), O?.(
151
+ q,
152
152
  a.find((Ue) => Ue.id === t) || null
153
- ), S.add(T, [N]), Y(
153
+ ), x.add(L, [T]), $(
154
154
  s.formatMessage({
155
155
  id: "alert.argument_create",
156
156
  defaultMessage: "Your contribution has been sent !"
@@ -177,21 +177,21 @@ const it = Ye(() => import("../../modal/side_modal/index.js")), Nt = ({
177
177
  }));
178
178
  }, Be = () => {
179
179
  const e = {
180
- content: U,
180
+ content: q,
181
181
  rich_content: Q,
182
- source_ids: E?.map((t) => t.id),
182
+ source_ids: V?.map((t) => t.id),
183
183
  ...d && { position_id: d }
184
184
  };
185
- B(e, de) && K.update("messages", X, e).then((t) => {
185
+ E(e, de) && K.update("messages", X, e).then((t) => {
186
186
  if (t.data.success) {
187
187
  const l = t.data.data.resource;
188
- let o = R;
188
+ let o = I;
189
189
  if (d && !m && (o = `argumentList${l.position?.id}`), ae?.position?.id != l.position?.id && !m && !l.is_reply) {
190
- const N = `argumentList${ae.position.id}`, T = `argumentList${l.position.id}`;
191
- S.remove(N, [l]), S.add(T, [l]);
190
+ const T = `argumentList${ae.position.id}`, L = `argumentList${l.position.id}`;
191
+ x.remove(T, [l]), x.add(L, [l]);
192
192
  } else
193
- S.update(o, [l]);
194
- Y(s.formatMessage({ id: "alert.argument_modify" }), {
193
+ x.update(o, [l]);
194
+ $(s.formatMessage({ id: "alert.argument_modify" }), {
195
195
  type: "success"
196
196
  }), ue();
197
197
  }
@@ -204,10 +204,10 @@ const it = Ye(() => import("../../modal/side_modal/index.js")), Nt = ({
204
204
  }, 2e3);
205
205
  return () => clearTimeout(e);
206
206
  }
207
- }, k = () => {
208
- g ? W({ loginAction: "argument" }) : ne(!0);
207
+ }, R = () => {
208
+ g ? Y({ loginAction: "argument" }) : ne(!0);
209
209
  }, Ve = () => {
210
- const e = I.find(
210
+ const e = S.find(
211
211
  (t) => t.id === d
212
212
  );
213
213
  if (e)
@@ -235,7 +235,7 @@ const it = Ye(() => import("../../modal/side_modal/index.js")), Nt = ({
235
235
  [n.replyInputContainer]: r
236
236
  }),
237
237
  children: /* @__PURE__ */ i("div", { "data-tid": "action_add_argument", ref: H, children: /* @__PURE__ */ _("div", { className: n.argumentInputBox, children: [
238
- a.length > 0 && A && (!r || !$) && /* @__PURE__ */ _("div", { className: n.userPosition, children: [
238
+ a.length > 0 && A && (!r || !k) && /* @__PURE__ */ _("div", { className: n.userPosition, children: [
239
239
  /* @__PURE__ */ i("div", { children: s.formatMessage({
240
240
  id: "input.position",
241
241
  defaultMessage: "Your position"
@@ -286,7 +286,7 @@ const it = Ye(() => import("../../modal/side_modal/index.js")), Nt = ({
286
286
  /* @__PURE__ */ _(
287
287
  "div",
288
288
  {
289
- onClick: k,
289
+ onClick: R,
290
290
  "data-testid": "argument-input",
291
291
  className: w(n.textEditorBox, {
292
292
  [n.replyTextEditorBox]: r
@@ -307,10 +307,10 @@ const it = Ye(() => import("../../modal/side_modal/index.js")), Nt = ({
307
307
  defaultMessage: "Message input field"
308
308
  }),
309
309
  onSubmit: ye,
310
- sources: E,
310
+ sources: V,
311
311
  hideSourceAction: ge || g,
312
312
  uid: `Argument${v}`,
313
- onActivation: k,
313
+ onActivation: R,
314
314
  showStylesControls: C,
315
315
  disabled: j || g || oe,
316
316
  maxLength: g ? !1 : h?.actions?.argumentMaxLength,
@@ -318,13 +318,13 @@ const it = Ye(() => import("../../modal/side_modal/index.js")), Nt = ({
318
318
  shortBar: r,
319
319
  hideSubmit: g,
320
320
  allowedDomains: h?.allowed_sources,
321
- active: y,
321
+ active: F,
322
322
  hideCharCount: Me,
323
323
  disableAutoActivate: ve
324
324
  }
325
325
  ),
326
- P?.content && /* @__PURE__ */ i("div", { className: n.argumentInputWarning, children: P && Object.values(P).map((e, t) => /* @__PURE__ */ i("div", { children: e }, t)) }),
327
- C && I?.find(
326
+ B?.content && /* @__PURE__ */ i("div", { className: n.argumentInputWarning, children: B && Object.values(B).map((e, t) => /* @__PURE__ */ i("div", { children: e }, t)) }),
327
+ C && S?.find(
328
328
  (e) => e.id === d
329
329
  ) && /* @__PURE__ */ _(
330
330
  "div",
@@ -1,4 +1,4 @@
1
- import { SideModal as e } from "./SideModal.js";
1
+ import { SideModal as r } from "./SideModal.js";
2
2
  export {
3
- e as default
3
+ r as SideModal
4
4
  };
@@ -1,4 +1,4 @@
1
- import { ShareModal as o } from "./ShareModal.js";
1
+ import { ShareModal as r } from "./ShareModal.js";
2
2
  export {
3
- o as default
3
+ r as ShareModal
4
4
  };
@@ -14,7 +14,7 @@ import { Link as nt } from "../../action/link/Link.js";
14
14
  import { Icon as l } from "../../icons/icon/Icon.js";
15
15
  import { ShareButton as ot } from "../../share/share_button/ShareButton.js";
16
16
  import { Dropdown as at } from "../../dialog/dropdown/Dropdown.js";
17
- const rt = O(() => import("../../share/share_modal/index.js")), vt = ({
17
+ const rt = O(() => import("../../share/share_modal/index.js").then((n) => ({ default: n.ShareModal }))), vt = ({
18
18
  resource: n,
19
19
  reportType: I,
20
20
  deleteType: k,
@@ -22,8 +22,8 @@ const rt = O(() => import("../../share/share_modal/index.js")), vt = ({
22
22
  softDelete: x = !1,
23
23
  disabled: m = !1,
24
24
  children: C,
25
- enableReply: A,
26
- handleReplyTo: S,
25
+ enableReply: S,
26
+ handleReplyTo: A,
27
27
  showActions: K = !0,
28
28
  showShareButton: E = !0,
29
29
  shareModal: R,
@@ -31,8 +31,8 @@ const rt = O(() => import("../../share/share_modal/index.js")), vt = ({
31
31
  shareTitle: u,
32
32
  shareText: f,
33
33
  shareModalTitle: z,
34
- showShareCode: _,
35
- shareCode: h,
34
+ showShareCode: h,
35
+ shareCode: _,
36
36
  showShareText: T,
37
37
  enableEdition: j = !0,
38
38
  enableDeletion: F = !0,
@@ -67,8 +67,8 @@ const rt = O(() => import("../../share/share_modal/index.js")), vt = ({
67
67
  shareTitle: u,
68
68
  shareText: f,
69
69
  title: z,
70
- showShareCode: _,
71
- shareCode: h
70
+ showShareCode: h,
71
+ shareCode: _
72
72
  }
73
73
  ) })
74
74
  );
@@ -87,7 +87,7 @@ const rt = O(() => import("../../share/share_modal/index.js")), vt = ({
87
87
  children: C
88
88
  }
89
89
  ),
90
- !m && A && /* @__PURE__ */ t("div", { "data-tid": "action_reply_argument", "data-testid": "reply-button", children: g ? /* @__PURE__ */ r(
90
+ !m && S && /* @__PURE__ */ t("div", { "data-tid": "action_reply_argument", "data-testid": "reply-button", children: g ? /* @__PURE__ */ r(
91
91
  nt,
92
92
  {
93
93
  to: g,
@@ -115,7 +115,7 @@ const rt = O(() => import("../../share/share_modal/index.js")), vt = ({
115
115
  {
116
116
  type: "button",
117
117
  className: e.replyAction,
118
- onClick: S,
118
+ onClick: A,
119
119
  "data-testid": "action-reply-button",
120
120
  children: [
121
121
  /* @__PURE__ */ t(
@@ -140,8 +140,8 @@ const rt = O(() => import("../../share/share_modal/index.js")), vt = ({
140
140
  shareUrl: p,
141
141
  shareTitle: u,
142
142
  shareText: f,
143
- showShareCode: _,
144
- shareCode: h,
143
+ showShareCode: h,
144
+ shareCode: _,
145
145
  showText: !(c < 768) && T,
146
146
  iconSize: 17
147
147
  }
package/dist/index.js CHANGED
@@ -9,148 +9,154 @@ import { AnnouncementDialog as s } from "./components/dialog/announcement_dialog
9
9
  import { Argument as d } from "./components/argument/argument/Argument.js";
10
10
  import { ArgumentInput as g } from "./components/input/argument_input/ArgumentInput.js";
11
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
- import { ConfigContext as G, ConfigProvider as O } from "./components/data/config_provider/ConfigProvider.js";
23
- import { ConfirmModal as _ } from "./components/dialog/confirm_modal/ConfirmModal.js";
24
- import { ConsultationBox as K } from "./components/consultation/consultation_box/ConsultationBox.js";
25
- import { ContentFooter as W } from "./components/user_content/content_footer/ContentFooter.js";
26
- import { ContentHeader as j } from "./components/user_content/content_header/ContentHeader.js";
27
- import { ContextSourceBox as Q } from "./components/source/context_source_box/ContextSourceBox.js";
28
- import { ContextSourceList as Z } from "./components/source/context_source_list/ContextSourceList.js";
29
- import { Countdown as ro } from "./components/dialog/countdown/Countdown.js";
30
- import { DataProviderContext as to } from "./components/data/data_provider/DataProviderContext.js";
31
- import { DebateBox as mo } from "./components/debate/debate_box/DebateBox.js";
32
- import { DialogBox as fo } from "./components/dialog/dialog_box/DialogBox.js";
33
- import { Drawer as ao } from "./components/dialog/drawer/Drawer.js";
34
- import { Dropdown as so } from "./components/dialog/dropdown/Dropdown.js";
35
- import { EMAIL_CONSENT_STORAGE_KEY as lo, useAuthActions as go } from "./components/auth/use_auth/useAuthActions.js";
36
- import { EmbedHeader as Bo } from "./components/embed/embed_header/EmbedHeader.js";
37
- import { ExpandableText as So } from "./components/text/expandable_text/ExpandableText.js";
38
- import { FacebookLoginButton as Io } from "./components/auth/facebook_login_button/FacebookLoginButton.js";
39
- import { FollowButton as To } from "./components/follow/follow_button/FollowButton.js";
40
- import { Form as Po } from "./components/forms/form/form.js";
41
- import { FormContext as Fo } from "./components/forms/form/form-context.js";
42
- import { GoogleLoginButton as ko } from "./components/auth/google_login_button/GoogleLoginButton.js";
43
- import { HashScroll as Ro } from "./components/tools/hash_scroll/HashScroll.js";
44
- import { Icon as wo } from "./components/icons/icon/Icon.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";
12
+ import { AuthContext as C } from "./components/auth/use_auth/AuthContext.js";
13
+ import { AuthInitializer as h } from "./components/auth/auth_initializer/AuthInitializer.js";
14
+ import { AuthModal as T } from "./components/auth/auth_modal/AuthModal.js";
15
+ import { AuthProvider as v, withAuth as L } from "./components/auth/use_auth/AuthProvider.js";
16
+ import { AuthProviderFactory as F } from "./components/auth/providers/AuthProviderFactory.js";
17
+ import { AuthorBox as D } from "./components/user/author_box/AuthorBox.js";
18
+ import { Avatar as U } from "./components/user/avatar/Avatar.js";
19
+ import { AvatarSelector as E } from "./components/user/avatar_selector/AvatarSelector.js";
20
+ import { BackLink as b } from "./components/action/back_link/BackLink.js";
21
+ import { BadgeBox as N } from "./components/gamification/badge_box/BadgeBox.js";
22
+ import { BoxSkeleton as G } from "./components/skeleton/box_skeleton/BoxSkeleton.js";
23
+ import { Button as $ } from "./components/action/button/Button.js";
24
+ import { ConfigContext as q, ConfigProvider as K } from "./components/data/config_provider/ConfigProvider.js";
25
+ import { ConfirmModal as W } from "./components/dialog/confirm_modal/ConfirmModal.js";
26
+ import { ConsultationBox as j } from "./components/consultation/consultation_box/ConsultationBox.js";
27
+ import { ContentFooter as Q } from "./components/user_content/content_footer/ContentFooter.js";
28
+ import { ContentHeader as Z } from "./components/user_content/content_header/ContentHeader.js";
29
+ import { ContextSourceBox as ro } from "./components/source/context_source_box/ContextSourceBox.js";
30
+ import { ContextSourceList as to } from "./components/source/context_source_list/ContextSourceList.js";
31
+ import { Countdown as mo } from "./components/dialog/countdown/Countdown.js";
32
+ import { DataProviderContext as fo } from "./components/data/data_provider/DataProviderContext.js";
33
+ import { DebateBox as ao } from "./components/debate/debate_box/DebateBox.js";
34
+ import { DialogBox as so } from "./components/dialog/dialog_box/DialogBox.js";
35
+ import { Drawer as lo } from "./components/dialog/drawer/Drawer.js";
36
+ import { Dropdown as co } from "./components/dialog/dropdown/Dropdown.js";
37
+ import { EMAIL_CONSENT_STORAGE_KEY as So, useAuthActions as Co } from "./components/auth/use_auth/useAuthActions.js";
38
+ import { EmbedHeader as ho } from "./components/embed/embed_header/EmbedHeader.js";
39
+ import { ExpandableText as To } from "./components/text/expandable_text/ExpandableText.js";
40
+ import { FacebookLoginButton as vo } from "./components/auth/facebook_login_button/FacebookLoginButton.js";
41
+ import { FollowButton as Mo } from "./components/follow/follow_button/FollowButton.js";
42
+ import { Form as ko } from "./components/forms/form/form.js";
43
+ import { FormContext as Ro } from "./components/forms/form/form-context.js";
44
+ import { GoogleLoginButton as wo } from "./components/auth/google_login_button/GoogleLoginButton.js";
45
+ import { HashScroll as Vo } from "./components/tools/hash_scroll/HashScroll.js";
46
+ import { Icon as yo } from "./components/icons/icon/Icon.js";
47
+ import { IconContext as Ho, IconProvider as Go } from "./components/icons/icon_provider/IconProvider.js";
48
+ import { IconTextLink as $o } from "./components/action/icon_text_link/IconTextLink.js";
49
+ import { InformationBox as qo } from "./components/information/information_box/InformationBox.js";
50
+ import { HiddenCheckbox as zo } from "./components/input/checkbox/hidden/hidden-checkbox.js";
51
+ import { InputProvider as Yo } from "./components/input/input_provider/InputProvider.js";
52
+ import { IntlContext as Jo } from "./components/intl/intl_provider/IntlContext.js";
53
+ import { IntlProvider as Xo } from "./components/intl/intl_provider/IntlProvider.js";
54
+ import { KeywordBox as or } from "./components/summary/keyword_box/KeywordBox.js";
55
+ import { LANGUAGES as er, getLocaleIcon as tr, getLocaleName as xr } from "./components/util/lang_emojis/langEmojis.js";
56
+ import { LineChart as pr } from "./components/chart/line_chart/LineChart.js";
57
+ import { Link as nr } from "./components/action/link/Link.js";
58
+ import { ListProvider as ir } from "./components/list/list_provider/ListProvider.js";
59
+ import { Loader as ur } from "./components/progress/loader/Loader.js";
60
+ import { Location as lr } from "./components/util/location/Location.js";
61
+ import { LoginForm as cr } from "./components/auth/login_form/LoginForm.js";
62
+ import { Message as Sr } from "./components/input/text_input/message.js";
63
+ import { Modal as Ar } from "./components/dialog/modal/Modal.js";
64
+ import { ModalContext as Ir, ModalProvider as Tr } from "./components/dialog/modal/ModalProvider.js";
65
+ import { NavbarButton as vr } from "./components/navbar/navbar_button/NavbarButton.js";
66
+ import { NavbarModal as Mr } from "./components/navbar/navbar_modal/NavbarModal.js";
67
+ import { NotificationItem as kr } from "./components/notification/notification_item/NotificationItem.js";
68
+ import { NotificationMenu as Rr } from "./components/notification/notification_menu/NotificationMenu.js";
69
+ import { OAuth2Button as wr } from "./components/auth/oauth2_button/OAuth2Button.js";
70
+ import { PaginatedList as Vr } from "./components/list/paginated_list/PaginatedList.js";
71
+ import { Pagination as yr } from "./components/list/pagination/Pagination.js";
72
+ import { PieChart as Hr } from "./components/chart/pie_chart/PieChart.js";
73
+ import { PointBox as Or } from "./components/gamification/point_box/PointBox.js";
74
+ import { ProgressBar as _r } from "./components/progress/progress_bar/ProgressBar.js";
75
+ import { ProposalBox as Kr } from "./components/proposal/proposal_box/ProposalBox.js";
76
+ import { ReadMore as Wr } from "./components/text/read_more/ReadMore.js";
77
+ import { ReportBox as jr } from "./components/report/report_box/ReportBox.js";
78
+ import { ReportModal as Qr } from "./components/user_content/use_report_content/ReportModal.js";
79
+ import { ResponsiveProvider as Zr } from "./components/hooks/use_responsive/ResponsiveProvider.js";
80
+ import { SSOForm as re } from "./components/auth/sso_form/SSOForm.js";
81
+ import { ScrollToTop as te } from "./components/tools/scroll_to_top/ScrollToTop.js";
82
+ import { SearchInput as me } from "./components/input/search_input/SearchInput.js";
83
+ import { SectionBox as fe } from "./components/section/section_box/SectionBox.js";
84
+ import { Select as ae } from "./components/input/select/Select.js";
85
+ import { ShareBox as se } from "./components/share/share_box/ShareBox.js";
86
+ import { ShareButton as de } from "./components/share/share_button/ShareButton.js";
87
+ import { ShareModal as ge } from "./components/share/share_modal/ShareModal.js";
88
+ import { SideModal as Be } from "./components/modal/side_modal/SideModal.js";
89
+ import { SignupForm as Ce } from "./components/auth/signup_form/SignupForm.js";
90
+ import { SocialAuthForm as he } from "./components/auth/social_auth_form/SocialAuthForm.js";
91
+ import { SourceBox as Te } from "./components/source/source_box/SourceBox.js";
92
+ import { SourceListItem as ve } from "./components/source/source_list_item/SourceListItem.js";
93
+ import { SourceModal as Me } from "./components/source/source_modal/SourceModal.js";
94
+ import { StandardErrorBoundary as ke } from "./components/error/standard_error_boundary/StandardErrorBoundary.js";
95
+ import { SuggestionBanner as Re } from "./components/suggestion/suggestion_banner/SuggestionBanner.js";
96
+ import { SuggestionBox as we } from "./components/suggestion/suggestion_box/SuggestionBox.js";
97
+ import { SuggestionInput as Ve } from "./components/suggestion/suggestion_input/SuggestionInput.js";
98
+ import { SuggestionVoteBox as ye } from "./components/vote/suggestion_vote_box/SuggestionVoteBox.js";
99
+ import { Summary as He } from "./components/summary/summary/Summary.js";
100
+ import { SummaryBox as Oe } from "./components/summary/summary_box/SummaryBox.js";
101
+ import { SummaryContentBox as _e } from "./components/user_content/summary_content_box/SummaryContentBox.js";
102
+ import { Tag as Ke } from "./components/tag/tag/Tag.js";
103
+ import { TextEditor as We } from "./components/input/text_editor/TextEditor.js";
104
+ import { TextInput as je } from "./components/input/text_input/TextInput.js";
105
+ import { Toast as Qe } from "./components/dialog/toast/Toast.js";
106
+ import { ToastProvider as Ze } from "./components/dialog/toast_provider/ToastProvider.js";
107
+ import { Toggle as rt } from "./components/input/toggle/Toggle.js";
108
+ import { TogglePosition as tt } from "./components/input/toggle_position/TogglePosition.js";
109
+ import { Tooltip as mt } from "./components/dialog/tooltip/Tooltip.js";
110
+ import { TopArguments as ft } from "./components/argument/top_arguments/TopArguments.js";
111
+ import { TranslatedContent as at } from "./components/translation/translated_content/TranslatedContent.js";
112
+ import { TranslationButton as st } from "./components/translation/translation_button/TranslationButton.js";
113
+ import { UpDownVoteBox as dt } from "./components/vote/up_down_vote_box/UpDownVoteBox.js";
114
+ import { UpdateUserInfoModal as gt } from "./components/user/update_user_info_modal/UpdateUserInfoModal.js";
115
+ import { UserBox as Bt } from "./components/user/user_box/UserBox.js";
116
+ import { UserBoxSmall as Ct } from "./components/user/user_box_small/UserBoxSmall.js";
117
+ import { UserContentSkeleton as ht } from "./components/skeleton/user_content_skeleton/UserContentSkeleton.js";
118
+ import { VoteBox as Tt } from "./components/vote/vote_box/VoteBox.js";
119
+ import { VoteButton as vt } from "./components/vote/vote_button/VoteButton.js";
120
+ import { VoteContext as Mt, VoteProvider as Ft } from "./components/vote/vote_provider/VoteProvider.js";
121
+ import { VotePaginatedList as Dt } from "./components/list/paginated_list/VotePaginatedList.js";
122
+ import { WithAd as Ut } from "./components/ad/with_ad/WithAd.js";
123
+ import { authTokenHandler as Et } from "./components/auth/use_auth/authTokenHandler.js";
124
+ import { classes as bt, getAccent as yt } from "./components/input/text_input/color-accent.js";
125
+ import { dataProvider as Ht } from "./components/data/data_provider/DataProvider.js";
126
+ import { extractFormData as Ot } from "./components/forms/form/extract-form-data.js";
127
+ import { getTranslatedContent as _t, useTranslatedContent as qt } from "./components/translation/translated_content/useTranslatedContent.js";
128
+ import { httpClient as zt } from "./components/data/axios_client/httpClient.js";
129
+ import { lexicalToHtml as Yt } from "./components/input/text_editor/lexicalToHtml.js";
130
+ import { makeStorage as Jt } from "./components/auth/use_auth/AuthStorage.js";
131
+ import { uniqueBy as Xt } from "./components/util/unique_by/uniqueBy.js";
132
+ import { useAuth as ox } from "./components/auth/use_auth/useAuth.js";
133
+ import { useAuthInterceptor as ex } from "./components/auth/use_auth/useAuthInterceptor.js";
134
+ import { useAuthRequired as xx } from "./components/hooks/use_auth_required/useAuthRequired.js";
135
+ import { useConfig as px } from "./components/data/config_provider/useConfig.js";
136
+ import { useCssTheme as nx } from "./components/hooks/use_css_theme/useCssTheme.js";
137
+ import { useData as ix } from "./components/data/data_provider/useData.js";
138
+ import { useDataProvider as ux } from "./components/data/data_provider/useDataProvider.js";
139
+ import { useDeleteContent as lx } from "./components/user_content/use_delete_content/useDeleteContent.js";
140
+ import { useFollow as cx } from "./components/follow/use_follow/useFollow.js";
141
+ import { useFontLoader as Sx } from "./components/hooks/use_font_loader/useFontLoader.js";
142
+ import { useForm as Ax } from "./components/forms/form/use-form.js";
143
+ import { useFormContext as Ix } from "./components/forms/form/use-form-context.js";
144
+ import { useFormValidation as Px } from "./components/forms/use_form_validation/useFormValidation.js";
145
+ import { useGoogleAdManager as Lx } from "./components/ad/use_google_ad_manager/useGoogleAdManager.js";
146
+ import { useInput as Fx } from "./components/input/input_provider/useInput.js";
147
+ import { useList as Dx } from "./components/list/list_provider/useList.js";
148
+ import { useLocale as Ux } from "./components/intl/intl_provider/useLocale.js";
149
+ import { useMatomo as Ex } from "./components/hooks/use_matomo/useMatomo.js";
150
+ import { useModal as bx } from "./components/dialog/modal/useModal.js";
151
+ import { useRelativeTime as Nx } from "./components/hooks/use_relative_time/useRelativeTime.js";
152
+ import { useReportContent as Gx } from "./components/user_content/use_report_content/useReportContent.js";
153
+ import { useResponsive as $x } from "./components/hooks/use_responsive/useResponsive.js";
154
+ import { useRichContent as qx } from "./components/argument/argument/useRichContent.js";
155
+ import { useRoutes as zx } from "./components/data/config_provider/useRoutes.js";
156
+ import { useToast as Yx } from "./components/dialog/toast_provider/useToast.js";
157
+ import { useUpdateUserInfo as Jx } from "./components/user/update_user_info_modal/useUpdateUserInfo.js";
158
+ import { useVote as Xx } from "./components/vote/use_vote/useVote.js";
159
+ import { withConfig as om } from "./components/data/config_provider/withConfig.js";
154
160
  export {
155
161
  f as ActionBar,
156
162
  a as AdUnit,
@@ -158,161 +164,167 @@ export {
158
164
  d as Argument,
159
165
  g as ArgumentInput,
160
166
  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,
171
- G as ConfigContext,
172
- O as ConfigProvider,
173
- _ as ConfirmModal,
174
- K as ConsultationBox,
175
- W as ContentFooter,
176
- j as ContentHeader,
177
- Q as ContextSourceBox,
178
- Z as ContextSourceList,
179
- ro as Countdown,
180
- to as DataProviderContext,
181
- mo as DebateBox,
182
- fo as DialogBox,
183
- ao as Drawer,
184
- so as Dropdown,
185
- lo as EMAIL_CONSENT_STORAGE_KEY,
186
- Bo as EmbedHeader,
187
- So as ExpandableText,
188
- Io as FacebookLoginButton,
189
- To as FollowButton,
190
- Po as Form,
191
- Fo as FormContext,
192
- ko as GoogleLoginButton,
193
- Ro as HashScroll,
194
- wo as Icon,
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,
167
+ C as AuthContext,
168
+ h as AuthInitializer,
169
+ T as AuthModal,
170
+ v as AuthProvider,
171
+ F as AuthProviderFactory,
172
+ D as AuthorBox,
173
+ U as Avatar,
174
+ E as AvatarSelector,
175
+ b as BackLink,
176
+ N as BadgeBox,
177
+ G as BoxSkeleton,
178
+ $ as Button,
179
+ q as ConfigContext,
180
+ K as ConfigProvider,
181
+ W as ConfirmModal,
182
+ j as ConsultationBox,
183
+ Q as ContentFooter,
184
+ Z as ContentHeader,
185
+ ro as ContextSourceBox,
186
+ to as ContextSourceList,
187
+ mo as Countdown,
188
+ fo as DataProviderContext,
189
+ ao as DebateBox,
190
+ so as DialogBox,
191
+ lo as Drawer,
192
+ co as Dropdown,
193
+ So as EMAIL_CONSENT_STORAGE_KEY,
194
+ ho as EmbedHeader,
195
+ To as ExpandableText,
196
+ vo as FacebookLoginButton,
197
+ Mo as FollowButton,
198
+ ko as Form,
199
+ Ro as FormContext,
200
+ wo as GoogleLoginButton,
201
+ Vo as HashScroll,
202
+ yo as Icon,
203
+ Ho as IconContext,
204
+ Go as IconProvider,
205
+ $o as IconTextLink,
206
+ qo as InformationBox,
207
+ zo as Input,
208
+ Yo as InputProvider,
209
+ Jo as IntlContext,
210
+ Xo as IntlProvider,
211
+ or as KeywordBox,
212
+ er as LANGUAGES,
213
+ pr as LineChart,
214
+ nr as Link,
215
+ ir as ListProvider,
216
+ ur as Loader,
217
+ lr as Location,
218
+ cr as LoginForm,
219
+ Sr as Message,
220
+ Ar as Modal,
221
+ Ir as ModalContext,
222
+ Tr as ModalProvider,
223
+ vr as NavbarButton,
224
+ Mr as NavbarModal,
225
+ kr as NotificationItem,
226
+ Rr as NotificationMenu,
227
+ wr as OAuth2Button,
228
+ Vr as PaginatedList,
229
+ yr as Pagination,
230
+ Hr as PieChart,
231
+ Or as PointBox,
232
+ _r as ProgressBar,
233
+ Kr as ProposalBox,
234
+ Wr as ReadMore,
235
+ jr as ReportBox,
236
+ Qr as ReportModal,
237
+ Zr as ResponsiveProvider,
238
+ re as SSOForm,
239
+ te as ScrollToTop,
240
+ me as SearchInput,
241
+ fe as SectionBox,
242
+ ae as Select,
243
+ se as ShareBox,
244
+ de as ShareButton,
245
+ ge as ShareModal,
246
+ Be as SideModal,
247
+ Ce as SignupForm,
248
+ he as SocialAuthForm,
249
+ Te as SourceBox,
250
+ ve as SourceListItem,
251
+ Me as SourceModal,
252
+ ke as StandardErrorBoundary,
253
+ Re as SuggestionBanner,
254
+ we as SuggestionBox,
255
+ Ve as SuggestionInput,
256
+ ye as SuggestionVoteBox,
257
+ He as Summary,
258
+ Oe as SummaryBox,
259
+ _e as SummaryContentBox,
260
+ Ke as Tag,
261
+ We as TextEditor,
262
+ je as TextInput,
263
+ Qe as Toast,
264
+ Ze as ToastProvider,
265
+ rt as Toggle,
266
+ tt as TogglePosition,
267
+ mt as Tooltip,
268
+ ft as TopArguments,
269
+ at as TranslatedContent,
270
+ st as TranslationButton,
271
+ dt as UpDownVoteBox,
272
+ gt as UpdateUserInfoModal,
273
+ Bt as UserBox,
274
+ Ct as UserBoxSmall,
275
+ ht as UserContentSkeleton,
276
+ Tt as VoteBox,
277
+ vt as VoteButton,
278
+ Mt as VoteContext,
279
+ Dt as VotePaginatedList,
280
+ Ft as VoteProvider,
281
+ Ut as WithAd,
282
+ Et as authTokenHandler,
271
283
  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,
284
+ bt as classes,
285
+ Ht as dataProvider,
286
+ Ot as extractFormData,
287
+ yt as getAccent,
288
+ tr as getLocaleIcon,
289
+ xr as getLocaleName,
290
+ _t as getTranslatedContent,
279
291
  t as heroIcons,
280
- Et as httpClient,
292
+ zt as httpClient,
281
293
  x as kroneIcons,
282
- bt as lexicalToHtml,
283
- Nt as makeStorage,
294
+ Yt as lexicalToHtml,
295
+ Jt as makeStorage,
284
296
  o as regularIcons,
285
297
  e as spiegelIcons,
286
- Gt as uniqueBy,
287
- $t as useAuth,
288
- go as useAuthActions,
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,
298
+ Xt as uniqueBy,
299
+ ox as useAuth,
300
+ Co as useAuthActions,
301
+ ex as useAuthInterceptor,
302
+ xx as useAuthRequired,
303
+ px as useConfig,
304
+ nx as useCssTheme,
305
+ ix as useData,
306
+ ux as useDataProvider,
307
+ lx as useDeleteContent,
308
+ cx as useFollow,
309
+ Sx as useFontLoader,
310
+ Ax as useForm,
311
+ Ix as useFormContext,
312
+ Px as useFormValidation,
313
+ Lx as useGoogleAdManager,
314
+ Fx as useInput,
315
+ Dx as useList,
316
+ Ux as useLocale,
317
+ Ex as useMatomo,
318
+ bx as useModal,
319
+ Nx as useRelativeTime,
320
+ Gx as useReportContent,
321
+ $x as useResponsive,
322
+ qx as useRichContent,
323
+ zx as useRoutes,
324
+ Yx as useToast,
325
+ qt as useTranslatedContent,
326
+ Jx as useUpdateUserInfo,
327
+ Xx as useVote,
316
328
  L as withAuth,
317
- $x as withConfig
329
+ om as withConfig
318
330
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logora/debate",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "license": "AGPL-3.0",
6
6
  "description": "Design system of @Logora made with React",