@logora/debate 0.4.2 → 0.4.4

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 +1 @@
1
- ._shareButtonContainer_wb12g_3{display:flex!important;align-content:center!important;justify-content:center!important;padding:0!important;cursor:pointer}._popoverWrapper_wb12g_11{position:relative;display:flex!important;align-items:center!important;color:var(--text-primary, #222222)}._popoverWrapper_wb12g_11._popoverActive_wb12g_18 ._popoverContent_wb12g_18{z-index:2;opacity:1;visibility:visible;transform:translate(-50%)}._popoverContent_wb12g_18{opacity:0;visibility:hidden;position:absolute;left:25%;top:35px;padding:var(--space-unit, 1em);border:1px solid var(--text-secondary, #5F5F5F);border-radius:var(--box-border-radius, 6px);box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));background:var(--background-color-primary, white);color:var(--text-primary, #222222);line-height:var(--spacer-lg, calc(var(--space-unit, 1em) * 1.5));width:auto}._popoverContent_wb12g_18:before{position:absolute;z-index:-1;content:"";right:calc(50% - 10px);top:-10px;border-style:solid;border-width:0 10px 10px 10px;border-color:transparent transparent var(--text-secondary, #5F5F5F) transparent;transition-duration:.3s;transition-property:transform}._popoverContent_wb12g_18:after{position:absolute;z-index:-1;content:"";right:calc(50% - 10px);top:-9px;border-style:solid;border-width:0 10px 10px 10px;border-color:transparent transparent var(--background-color-primary, white) transparent;transition-duration:.3s;transition-property:transform}._shareButtonText_wb12g_65{padding-left:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important}
1
+ ._shareButtonContainer_139ll_3{display:flex!important;align-content:center!important;justify-content:center!important;padding:0!important;cursor:pointer}._popoverWrapper_139ll_11{position:relative;display:flex!important;align-items:center!important;color:var(--text-primary, #222222)}._popoverWrapper_139ll_11._popoverActive_139ll_18 ._popoverContent_139ll_18{z-index:2;opacity:1;visibility:visible;transform:translate(-50%)}._popoverContent_139ll_18{opacity:0;visibility:hidden;position:absolute;left:25%;top:35px;padding:var(--space-unit, 1em);border:1px solid var(--text-secondary, #5F5F5F);border-radius:var(--box-border-radius, 6px);box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));background:var(--background-color-primary, white);color:var(--text-primary, #222222);line-height:var(--spacer-lg, calc(var(--space-unit, 1em) * 1.5));width:auto}._popoverContent_139ll_18:before{position:absolute;z-index:-1;content:"";right:calc(50% - 10px);top:-10px;border-style:solid;border-width:0 10px 10px 10px;border-color:transparent transparent var(--text-secondary, #5F5F5F) transparent;transition-duration:.3s;transition-property:transform}._popoverContent_139ll_18:after{position:absolute;z-index:-1;content:"";right:calc(50% - 10px);top:-9px;border-style:solid;border-width:0 10px 10px 10px;border-color:transparent transparent var(--background-color-primary, white) transparent;transition-duration:.3s;transition-property:transform}._shareButtonText_139ll_65{padding-left:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important}._popoverContent_139ll_18._popoverTop_139ll_69{top:auto;bottom:35px}._popoverContent_139ll_18._popoverTop_139ll_69:before{top:auto;bottom:-10px;border-width:10px 10px 0 10px;border-color:var(--text-secondary, #5F5F5F) transparent transparent transparent}._popoverContent_139ll_18._popoverTop_139ll_69:after{top:auto;bottom:-9px;border-width:10px 10px 0 10px;border-color:var(--background-color-primary, white) transparent transparent transparent}
@@ -1,9 +1,9 @@
1
1
  import { jsxs as V, jsx as C } from "react/jsx-runtime";
2
2
  import "react";
3
- const t = (L) => /* @__PURE__ */ V("svg", { ...L, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
4
- /* @__PURE__ */ C("path", { d: "M10 6.66667L9.34267 6.55733C9.3268 6.6528 9.3319 6.75057 9.35762 6.84386C9.38334 6.93715 9.42907 7.02373 9.49161 7.09757C9.55416 7.17141 9.63204 7.23075 9.71983 7.27146C9.80762 7.31218 9.90323 7.33329 10 7.33333V6.66667ZM2.66667 6.66667V6C2.48986 6 2.32029 6.07024 2.19526 6.19526C2.07024 6.32029 2 6.48986 2 6.66667H2.66667ZM4 14H11.5733V12.6667H4V14ZM12.3733 6H10V7.33333H12.3733V6ZM10.658 6.776L11.1947 3.55267L9.88 3.33333L9.34267 6.55733L10.658 6.776ZM9.88 2H9.73733V3.33333H9.88V2ZM7.518 3.18733L5.842 5.70333L6.95133 6.44333L8.62867 3.92733L7.518 3.18733ZM5.28667 6H2.66667V7.33333H5.28667V6ZM2 6.66667V12H3.33333V6.66667H2ZM13.5347 12.392L14.3347 8.392L13.028 8.13067L12.228 12.1307L13.5347 12.392ZM5.842 5.70333C5.7811 5.79461 5.69795 5.86945 5.60119 5.9212C5.50443 5.97295 5.39639 6.00002 5.28667 6V7.33333C5.61591 7.33331 5.94006 7.252 6.23034 7.09663C6.52061 6.94126 6.76805 6.71662 6.95067 6.44267L5.842 5.70333ZM11.1947 3.55267C11.2265 3.36169 11.2164 3.16607 11.165 2.97941C11.1136 2.79274 11.0222 2.6195 10.8971 2.47174C10.772 2.32398 10.6162 2.20524 10.4405 2.12378C10.2649 2.04231 10.0736 2.00007 9.88 2V3.33333L11.1947 3.55267ZM12.3733 7.33333C12.472 7.33329 12.5694 7.35515 12.6586 7.39732C12.7478 7.43949 12.8265 7.50093 12.889 7.57721C12.9516 7.65348 12.9965 7.74269 13.0204 7.8384C13.0443 7.93411 13.0473 8.03393 13.028 8.13067L14.3347 8.392C14.3927 8.1019 14.3856 7.80255 14.3139 7.51552C14.2422 7.22849 14.1078 6.96094 13.9202 6.73214C13.7327 6.50334 13.4967 6.319 13.2294 6.19239C12.962 6.06579 12.6698 6.00008 12.374 6L12.3733 7.33333ZM11.5733 14C12.0357 14 12.4839 13.8398 12.8415 13.5466C13.1991 13.2535 13.444 12.8454 13.5347 12.392L12.228 12.1307C12.1978 12.282 12.116 12.4181 11.9966 12.5158C11.8772 12.6136 11.7276 12.6669 11.5733 12.6667V14ZM9.73733 2C9.29836 2.00001 8.86618 2.10838 8.47914 2.31551C8.09211 2.52263 7.76152 2.8221 7.518 3.18733L8.62867 3.92733C8.75039 3.74465 8.91466 3.59486 9.10818 3.49123C9.30171 3.38761 9.51782 3.33337 9.73733 3.33333V2ZM4 12.6667C3.82319 12.6667 3.65362 12.5964 3.5286 12.4714C3.40357 12.3464 3.33333 12.1768 3.33333 12H2C2 12.5304 2.21071 13.0391 2.58579 13.4142C2.96086 13.7893 3.46957 14 4 14V12.6667Z", fill: "#555555" }),
5
- /* @__PURE__ */ C("path", { d: "M5.3335 6.66797V13.3346", stroke: "#555555", "stroke-width": "1.33333" })
3
+ const o = (L) => /* @__PURE__ */ V("svg", { ...L, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
4
+ /* @__PURE__ */ C("path", { d: "M10 6.66667L9.34267 6.55733C9.3268 6.6528 9.3319 6.75057 9.35762 6.84386C9.38334 6.93715 9.42907 7.02373 9.49161 7.09757C9.55416 7.17141 9.63204 7.23075 9.71983 7.27146C9.80762 7.31218 9.90323 7.33329 10 7.33333V6.66667ZM2.66667 6.66667V6C2.48986 6 2.32029 6.07024 2.19526 6.19526C2.07024 6.32029 2 6.48986 2 6.66667H2.66667ZM4 14H11.5733V12.6667H4V14ZM12.3733 6H10V7.33333H12.3733V6ZM10.658 6.776L11.1947 3.55267L9.88 3.33333L9.34267 6.55733L10.658 6.776ZM9.88 2H9.73733V3.33333H9.88V2ZM7.518 3.18733L5.842 5.70333L6.95133 6.44333L8.62867 3.92733L7.518 3.18733ZM5.28667 6H2.66667V7.33333H5.28667V6ZM2 6.66667V12H3.33333V6.66667H2ZM13.5347 12.392L14.3347 8.392L13.028 8.13067L12.228 12.1307L13.5347 12.392ZM5.842 5.70333C5.7811 5.79461 5.69795 5.86945 5.60119 5.9212C5.50443 5.97295 5.39639 6.00002 5.28667 6V7.33333C5.61591 7.33331 5.94006 7.252 6.23034 7.09663C6.52061 6.94126 6.76805 6.71662 6.95067 6.44267L5.842 5.70333ZM11.1947 3.55267C11.2265 3.36169 11.2164 3.16607 11.165 2.97941C11.1136 2.79274 11.0222 2.6195 10.8971 2.47174C10.772 2.32398 10.6162 2.20524 10.4405 2.12378C10.2649 2.04231 10.0736 2.00007 9.88 2V3.33333L11.1947 3.55267ZM12.3733 7.33333C12.472 7.33329 12.5694 7.35515 12.6586 7.39732C12.7478 7.43949 12.8265 7.50093 12.889 7.57721C12.9516 7.65348 12.9965 7.74269 13.0204 7.8384C13.0443 7.93411 13.0473 8.03393 13.028 8.13067L14.3347 8.392C14.3927 8.1019 14.3856 7.80255 14.3139 7.51552C14.2422 7.22849 14.1078 6.96094 13.9202 6.73214C13.7327 6.50334 13.4967 6.319 13.2294 6.19239C12.962 6.06579 12.6698 6.00008 12.374 6L12.3733 7.33333ZM11.5733 14C12.0357 14 12.4839 13.8398 12.8415 13.5466C13.1991 13.2535 13.444 12.8454 13.5347 12.392L12.228 12.1307C12.1978 12.282 12.116 12.4181 11.9966 12.5158C11.8772 12.6136 11.7276 12.6669 11.5733 12.6667V14ZM9.73733 2C9.29836 2.00001 8.86618 2.10838 8.47914 2.31551C8.09211 2.52263 7.76152 2.8221 7.518 3.18733L8.62867 3.92733C8.75039 3.74465 8.91466 3.59486 9.10818 3.49123C9.30171 3.38761 9.51782 3.33337 9.73733 3.33333V2ZM4 12.6667C3.82319 12.6667 3.65362 12.5964 3.5286 12.4714C3.40357 12.3464 3.33333 12.1768 3.33333 12H2C2 12.5304 2.21071 13.0391 2.58579 13.4142C2.96086 13.7893 3.46957 14 4 14V12.6667Z", fill: "currentColor" }),
5
+ /* @__PURE__ */ C("path", { d: "M5.3335 6.66797V13.3346", stroke: "currentColor", "stroke-width": "1.33333" })
6
6
  ] });
7
7
  export {
8
- t as Upvote
8
+ o as Upvote
9
9
  };
@@ -1,12 +1,12 @@
1
- import { jsx as o, jsxs as y } from "react/jsx-runtime";
1
+ import { jsx as o, jsxs as k } from "react/jsx-runtime";
2
2
  import n from "classnames";
3
- import { useRef as k, useState as C } from "react";
4
- import { useIntl as S } from "react-intl";
5
- import B from "use-onclickoutside";
3
+ import { useRef as C, useState as S } from "react";
4
+ import { useIntl as B } from "react-intl";
5
+ import M from "use-onclickoutside";
6
6
  import t from "./ShareButton.module.scss.js";
7
- import { Icon as M } from "../../icons/icon/Icon.js";
8
- import { ShareBox as _ } from "../share_box/ShareBox.js";
9
- const R = ({
7
+ import { Icon as _ } from "../../icons/icon/Icon.js";
8
+ import { ShareBox as N } from "../share_box/ShareBox.js";
9
+ const T = ({
10
10
  showText: m,
11
11
  shareUrl: u,
12
12
  shareTitle: i,
@@ -15,48 +15,49 @@ const R = ({
15
15
  showShareCode: s = !1,
16
16
  iconSize: d = 22,
17
17
  className: v,
18
- tooltipPosition: x = "bottom"
18
+ tooltipPosition: x = "bottom",
19
+ popoverPosition: g = "bottom"
19
20
  }) => {
20
- const r = k(), l = S(), [c, h] = C(!1), f = (() => {
21
+ const r = C(), l = B(), [c, p] = S(!1), h = (() => {
21
22
  let e = u;
22
23
  return typeof window < "u" && (e += "?redirect_url=" + window.location.protocol + "//" + window.location.hostname), e;
23
- })(), g = (e) => {
24
- r && !r.current.contains(e.target) && h(!1);
25
- }, p = () => {
24
+ })(), b = (e) => {
25
+ r && !r.current.contains(e.target) && p(!1);
26
+ }, f = () => {
26
27
  if (typeof window < "u") {
27
28
  const e = window.matchMedia("(max-width: 600px)");
28
- typeof window < "u" && window.navigator.share && window.navigator.maxTouchPoints && window.navigator?.maxTouchPoints > 0 && e.matches ? b() : h(!0);
29
+ typeof window < "u" && window.navigator.share && window.navigator.maxTouchPoints && window.navigator?.maxTouchPoints > 0 && e.matches ? y() : p(!0);
29
30
  }
30
- }, b = () => {
31
+ }, y = () => {
31
32
  typeof window < "u" && window.navigator.share({
32
33
  text: a,
33
34
  title: i,
34
- url: f
35
+ url: h
35
36
  }).catch((e) => {
36
37
  });
37
38
  };
38
- return B(r, g), /* @__PURE__ */ o(
39
+ return M(r, b), /* @__PURE__ */ o(
39
40
  "div",
40
41
  {
41
42
  tabIndex: "0",
42
43
  onKeyDown: (e) => {
43
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), p());
44
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), f());
44
45
  },
45
46
  title: l.formatMessage({
46
47
  id: "share.share_button.text",
47
48
  defaultMessage: "Share"
48
49
  }),
49
50
  className: n(t.shareButtonContainer, v),
50
- onClick: p,
51
+ onClick: f,
51
52
  "data-tid": "action_share_button",
52
- children: /* @__PURE__ */ y(
53
+ children: /* @__PURE__ */ k(
53
54
  "div",
54
55
  {
55
56
  className: n(t.popoverWrapper, {
56
57
  [t.popoverActive]: c
57
58
  }),
58
59
  children: [
59
- /* @__PURE__ */ o(M, { name: "share", height: d, width: d }),
60
+ /* @__PURE__ */ o(_, { name: "share", height: d, width: d }),
60
61
  m && /* @__PURE__ */ o("div", { className: t.shareButtonText, children: l.formatMessage({
61
62
  id: "share.share_button.text",
62
63
  defaultMessage: "Share"
@@ -66,12 +67,13 @@ const R = ({
66
67
  {
67
68
  ref: r,
68
69
  className: n(t.popoverContent, {
69
- [t.popoverContentWithCode]: s
70
+ [t.popoverContentWithCode]: s,
71
+ [t.popoverTop]: g === "top"
70
72
  }),
71
73
  children: c && /* @__PURE__ */ o(
72
- _,
74
+ N,
73
75
  {
74
- shareUrl: f,
76
+ shareUrl: h,
75
77
  shareTitle: i,
76
78
  shareText: a,
77
79
  showShareCode: s,
@@ -88,5 +90,5 @@ const R = ({
88
90
  );
89
91
  };
90
92
  export {
91
- R as ShareButton
93
+ T as ShareButton
92
94
  };
@@ -1,14 +1,16 @@
1
- import '../../../assets/components/share/share_button/ShareButton.module-BS6STEUD.css';const o = "_shareButtonContainer_wb12g_3", t = "_popoverWrapper_wb12g_11", e = "_popoverActive_wb12g_18", p = "_popoverContent_wb12g_18", r = "_shareButtonText_wb12g_65", n = {
1
+ import '../../../assets/components/share/share_button/ShareButton.module-BnVEYTzr.css';const o = "_shareButtonContainer_139ll_3", t = "_popoverWrapper_139ll_11", e = "_popoverActive_139ll_18", p = "_popoverContent_139ll_18", r = "_shareButtonText_139ll_65", n = "_popoverTop_139ll_69", _ = {
2
2
  shareButtonContainer: o,
3
3
  popoverWrapper: t,
4
4
  popoverActive: e,
5
5
  popoverContent: p,
6
- shareButtonText: r
6
+ shareButtonText: r,
7
+ popoverTop: n
7
8
  };
8
9
  export {
9
- n as default,
10
+ _ as default,
10
11
  e as popoverActive,
11
12
  p as popoverContent,
13
+ n as popoverTop,
12
14
  t as popoverWrapper,
13
15
  o as shareButtonContainer,
14
16
  r as shareButtonText
@@ -10,12 +10,12 @@ import { useInput as Z } from "../../input/input_provider/useInput.js";
10
10
  import { useReportContent as $ } from "../use_report_content/useReportContent.js";
11
11
  import { useDeleteContent as tt } from "../use_delete_content/useDeleteContent.js";
12
12
  import { useResponsive as et } from "../../hooks/use_responsive/useResponsive.js";
13
- import { Link as nt } from "../../action/link/Link.js";
13
+ import { Link as ot } from "../../action/link/Link.js";
14
14
  import { Icon as l } from "../../icons/icon/Icon.js";
15
- import { ShareButton as ot } from "../../share/share_button/ShareButton.js";
15
+ import { ShareButton as nt } 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").then((n) => ({ default: n.ShareModal }))), Dt = ({
18
- resource: n,
17
+ const rt = O(() => import("../../share/share_modal/index.js").then((o) => ({ default: o.ShareModal }))), Dt = ({
18
+ resource: o,
19
19
  reportType: I,
20
20
  deleteType: k,
21
21
  deleteListId: N,
@@ -33,26 +33,26 @@ const rt = O(() => import("../../share/share_modal/index.js").then((n) => ({ def
33
33
  shareModalTitle: z,
34
34
  showShareCode: h,
35
35
  shareCode: _,
36
- showShareText: T,
37
- enableEdition: j = !0,
38
- enableDeletion: F = !0,
39
- enableReport: P = !0,
36
+ showShareText: P,
37
+ enableEdition: T = !0,
38
+ enableDeletion: j = !0,
39
+ enableReport: F = !0,
40
40
  containerClassName: B,
41
41
  voteActionClassName: L,
42
42
  replyRedirectUrl: g
43
43
  }) => {
44
- const o = Q(), y = V(), { currentUser: d } = X(), { showModal: U } = Y(), { setInputContent: W } = Z() || {}, { reportContent: w } = $(I, n.id), { deleteContent: M } = tt(
45
- n,
44
+ const n = Q(), y = V(), { currentUser: d } = X(), { showModal: U } = Y(), { setInputContent: W } = Z() || {}, { reportContent: w } = $(I, o.id), { deleteContent: M } = tt(
45
+ o,
46
46
  k,
47
47
  N,
48
48
  x
49
- ), { elementWidth: c } = et(), q = () => d?.id ? n.author?.id === d?.id || n.debate_suggestion?.author?.id === d?.id : !1, v = () => {
50
- W(n);
49
+ ), { elementWidth: c } = et(), q = () => d?.id ? o.author?.id === d?.id || o.debate_suggestion?.author?.id === d?.id : !1, v = () => {
50
+ W(o);
51
51
  }, G = () => {
52
- if (n.created_at && y.actions?.editionTime) {
52
+ if (o.created_at && y.actions?.editionTime) {
53
53
  const a = new Date(
54
- new Date(n.created_at).setSeconds(
55
- new Date(n.created_at).getSeconds() + y.actions?.editionTime
54
+ new Date(o.created_at).setSeconds(
55
+ new Date(o.created_at).getSeconds() + y.actions?.editionTime
56
56
  )
57
57
  );
58
58
  return /* @__PURE__ */ new Date() < a;
@@ -88,7 +88,7 @@ const rt = O(() => import("../../share/share_modal/index.js").then((n) => ({ def
88
88
  }
89
89
  ),
90
90
  !m && S && /* @__PURE__ */ t("div", { "data-tid": "action_reply_argument", "data-testid": "reply-button", children: g ? /* @__PURE__ */ r(
91
- nt,
91
+ ot,
92
92
  {
93
93
  to: g,
94
94
  className: e.replyAction,
@@ -104,7 +104,7 @@ const rt = O(() => import("../../share/share_modal/index.js").then((n) => ({ def
104
104
  width: 17
105
105
  }
106
106
  ),
107
- !(c < 768) && /* @__PURE__ */ t("span", { className: e.replyText, children: o.formatMessage({
107
+ !(c < 768) && /* @__PURE__ */ t("span", { className: e.replyText, children: n.formatMessage({
108
108
  id: "user_content.content_footer.reply",
109
109
  defaultMessage: "Reply"
110
110
  }) })
@@ -127,7 +127,7 @@ const rt = O(() => import("../../share/share_modal/index.js").then((n) => ({ def
127
127
  width: 17
128
128
  }
129
129
  ),
130
- !(c < 768) && /* @__PURE__ */ t("span", { className: e.replyText, children: o.formatMessage({
130
+ !(c < 768) && /* @__PURE__ */ t("span", { className: e.replyText, children: n.formatMessage({
131
131
  id: "user_content.content_footer.reply",
132
132
  defaultMessage: "Reply"
133
133
  }) })
@@ -135,22 +135,23 @@ const rt = O(() => import("../../share/share_modal/index.js").then((n) => ({ def
135
135
  }
136
136
  ) }),
137
137
  E && /* @__PURE__ */ t(
138
- ot,
138
+ nt,
139
139
  {
140
140
  shareUrl: p,
141
141
  shareTitle: u,
142
142
  shareText: f,
143
143
  showShareCode: h,
144
144
  shareCode: _,
145
- showText: !(c < 768) && T,
146
- iconSize: 17
145
+ showText: !(c < 768) && P,
146
+ iconSize: 17,
147
+ popoverPosition: "top"
147
148
  }
148
149
  ),
149
150
  K && /* @__PURE__ */ t(
150
151
  "div",
151
152
  {
152
153
  className: e.moreAction,
153
- title: o.formatMessage({
154
+ title: n.formatMessage({
154
155
  id: "user_content.content_footer.more",
155
156
  defaultMessage: "More options"
156
157
  }),
@@ -168,7 +169,7 @@ const rt = O(() => import("../../share/share_modal/index.js").then((n) => ({ def
168
169
  width: 17,
169
170
  height: 17,
170
171
  "data-testid": "dropdown",
171
- "aria-label": o.formatMessage({
172
+ "aria-label": n.formatMessage({
172
173
  id: "user_content.content_footer.menu.aria_label",
173
174
  defaultMessage: "opens menu"
174
175
  })
@@ -176,7 +177,7 @@ const rt = O(() => import("../../share/share_modal/index.js").then((n) => ({ def
176
177
  ),
177
178
  /* @__PURE__ */ r("div", { children: [
178
179
  q() && /* @__PURE__ */ r(H, { children: [
179
- !m && j && G() && /* @__PURE__ */ t(
180
+ !m && T && G() && /* @__PURE__ */ t(
180
181
  "div",
181
182
  {
182
183
  "data-tid": "action_edit_argument",
@@ -184,13 +185,13 @@ const rt = O(() => import("../../share/share_modal/index.js").then((n) => ({ def
184
185
  tabIndex: "0",
185
186
  onClick: v,
186
187
  onKeyDown: i(v),
187
- children: o.formatMessage({
188
+ children: n.formatMessage({
188
189
  id: "user_content.content_footer.update",
189
190
  defaultMessage: "Update"
190
191
  })
191
192
  }
192
193
  ),
193
- F && /* @__PURE__ */ t(
194
+ j && /* @__PURE__ */ t(
194
195
  "div",
195
196
  {
196
197
  "data-tid": "action_delete_argument",
@@ -198,14 +199,14 @@ const rt = O(() => import("../../share/share_modal/index.js").then((n) => ({ def
198
199
  tabIndex: "0",
199
200
  onClick: M,
200
201
  onKeyDown: i(M),
201
- children: o.formatMessage({
202
+ children: n.formatMessage({
202
203
  id: "user_content.content_footer.delete",
203
204
  defaultMessage: "Delete"
204
205
  })
205
206
  }
206
207
  )
207
208
  ] }),
208
- P && /* @__PURE__ */ t(
209
+ F && /* @__PURE__ */ t(
209
210
  "div",
210
211
  {
211
212
  "data-tid": "action_report_argument",
@@ -214,7 +215,7 @@ const rt = O(() => import("../../share/share_modal/index.js").then((n) => ({ def
214
215
  onClick: w,
215
216
  "data-testid": "report-content",
216
217
  onKeyDown: i(w),
217
- children: o.formatMessage({
218
+ children: n.formatMessage({
218
219
  id: "user_content.content_footer.report",
219
220
  defaultMessage: "Report"
220
221
  })
@@ -228,7 +229,7 @@ const rt = O(() => import("../../share/share_modal/index.js").then((n) => ({ def
228
229
  tabIndex: "0",
229
230
  onClick: D,
230
231
  onKeyDown: i(D),
231
- children: o.formatMessage({
232
+ children: n.formatMessage({
232
233
  id: "user_content.content_footer.share",
233
234
  defaultMessage: "Share"
234
235
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logora/debate",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "type": "module",
5
5
  "license": "AGPL-3.0",
6
6
  "description": "Design system of @Logora made with React",