@logora/debate 0.3.89 → 0.3.91

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.
Files changed (67) hide show
  1. package/dist/assets/components/argument/argument/Argument.module-QZdPjj_i.css +1 -0
  2. package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-DjNiVt-p.css +1 -0
  3. package/dist/assets/components/follow/follow_button/FollowButton.module-C9YXM8AM.css +1 -0
  4. package/dist/assets/components/input/text_editor/{TextEditor.module-DePSfOvG.css → TextEditor.module-CxuSL3l3.css} +1 -1
  5. package/dist/assets/components/list/paginated_list/action_bar/ActionBar.module-DvwCbS9k.css +1 -0
  6. package/dist/assets/components/proposal/proposal_box/ProposalBox.module-Dm8XDnr1.css +1 -0
  7. package/dist/assets/components/section/section_box/SectionBox.module-qQs4B6bf.css +1 -0
  8. package/dist/assets/components/source/context_source_list/ContextSourceList.module-DUPbI-wb.css +1 -0
  9. package/dist/assets/components/source/source_list_item/SourceListItem.module-fm_uHuY4.css +1 -0
  10. package/dist/assets/components/summary/summary/Summary.module-2bnx3egy.css +1 -0
  11. package/dist/assets/components/summary/summary_box/SummaryBox.module-Dr9PevSJ.css +1 -0
  12. package/dist/assets/components/vote/vote_box/VoteBox.module-D5sSSHpi.css +1 -0
  13. package/dist/components/argument/argument/Argument.js +111 -106
  14. package/dist/components/argument/argument/Argument.module.scss.js +31 -31
  15. package/dist/components/consultation/consultation_box/ConsultationBox.js +80 -111
  16. package/dist/components/consultation/consultation_box/ConsultationBox.module.scss.js +31 -29
  17. package/dist/components/dialog/dropdown/Dropdown.js +35 -28
  18. package/dist/components/follow/follow_button/FollowButton.js +17 -16
  19. package/dist/components/follow/follow_button/FollowButton.module.scss.js +6 -4
  20. package/dist/components/icons/bild_icons/index.js +58 -56
  21. package/dist/components/icons/hero_icons/index.js +20 -18
  22. package/dist/components/icons/krone_icons/index.js +48 -46
  23. package/dist/components/icons/regular_icons/Follow.js +6 -0
  24. package/dist/components/icons/regular_icons/index.js +20 -18
  25. package/dist/components/icons/spiegel_icons/Downvote.js +6 -0
  26. package/dist/components/icons/spiegel_icons/Upvote.js +6 -0
  27. package/dist/components/icons/spiegel_icons/index.js +54 -52
  28. package/dist/components/icons/stern_icons/index.js +102 -70
  29. package/dist/components/input/argument_input/ArgumentInput.js +201 -197
  30. package/dist/components/input/select/Select.js +19 -19
  31. package/dist/components/input/text_editor/TextEditor.js +143 -129
  32. package/dist/components/input/text_editor/TextEditor.module.scss.js +5 -5
  33. package/dist/components/input/text_editor/plugins/FocusPlugin.js +12 -8
  34. package/dist/components/input/text_editor/plugins/SetContentPlugin.js +13 -13
  35. package/dist/components/input/text_editor/plugins/SetRichContentPlugin.js +10 -10
  36. package/dist/components/input/text_editor/plugins/ToolbarPlugin.js +70 -72
  37. package/dist/components/list/paginated_list/PaginatedList.js +152 -144
  38. package/dist/components/list/paginated_list/action_bar/ActionBar.js +72 -61
  39. package/dist/components/list/paginated_list/action_bar/ActionBar.module.scss.js +18 -16
  40. package/dist/components/notification/notification_menu/NotificationMenu.js +23 -22
  41. package/dist/components/proposal/proposal_box/ProposalBox.js +70 -59
  42. package/dist/components/proposal/proposal_box/ProposalBox.module.scss.js +14 -10
  43. package/dist/components/section/section_box/SectionBox.js +10 -10
  44. package/dist/components/section/section_box/SectionBox.module.scss.js +9 -9
  45. package/dist/components/source/context_source_box/ContextSourceBox.js +7 -7
  46. package/dist/components/source/context_source_list/ContextSourceList.js +10 -13
  47. package/dist/components/source/context_source_list/ContextSourceList.module.scss.js +14 -12
  48. package/dist/components/source/source_list_item/SourceListItem.js +42 -28
  49. package/dist/components/source/source_list_item/SourceListItem.module.scss.js +8 -6
  50. package/dist/components/source/source_modal/SourceModal.js +15 -15
  51. package/dist/components/summary/summary/Summary.js +41 -63
  52. package/dist/components/summary/summary/Summary.module.scss.js +10 -6
  53. package/dist/components/summary/summary_box/SummaryBox.module.scss.js +9 -9
  54. package/dist/components/vote/vote_box/VoteBox.js +122 -143
  55. package/dist/components/vote/vote_box/VoteBox.module.scss.js +50 -48
  56. package/package.json +1 -1
  57. package/dist/assets/components/argument/argument/Argument.module-gLfNRLks.css +0 -1
  58. package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-BnTr5IaF.css +0 -1
  59. package/dist/assets/components/follow/follow_button/FollowButton.module-Da-cPgwT.css +0 -1
  60. package/dist/assets/components/list/paginated_list/action_bar/ActionBar.module-pxwFC_Y2.css +0 -1
  61. package/dist/assets/components/proposal/proposal_box/ProposalBox.module-T4ms_LQ7.css +0 -1
  62. package/dist/assets/components/section/section_box/SectionBox.module-DUeUtdWr.css +0 -1
  63. package/dist/assets/components/source/context_source_list/ContextSourceList.module-D6X_0dB7.css +0 -1
  64. package/dist/assets/components/source/source_list_item/SourceListItem.module-mTxHhXPV.css +0 -1
  65. package/dist/assets/components/summary/summary/Summary.module-DjfmUlkW.css +0 -1
  66. package/dist/assets/components/summary/summary_box/SummaryBox.module-DQVkA8l7.css +0 -1
  67. package/dist/assets/components/vote/vote_box/VoteBox.module-CDrqb2SZ.css +0 -1
@@ -1,75 +1,55 @@
1
- import { jsx as t, Fragment as d, jsxs as n } from "react/jsx-runtime";
2
- import l from "classnames";
1
+ import { jsx as t, Fragment as g, jsxs as s } from "react/jsx-runtime";
2
+ import i from "classnames";
3
3
  import { useMemo as p } from "react";
4
- import { useIntl as f, FormattedMessage as a } from "react-intl";
4
+ import { useIntl as f, FormattedMessage as h } from "react-intl";
5
5
  import o from "./ConsultationBox.module.scss.js";
6
- import { useRelativeTime as _ } from "../../hooks/use_relative_time/useRelativeTime.js";
7
6
  import { useRoutes as v } from "../../data/config_provider/useRoutes.js";
8
7
  import { useResponsive as N } from "../../hooks/use_responsive/useResponsive.js";
9
- import { Link as c } from "../../action/link/Link.js";
10
- import { TranslatedContent as w } from "../../translation/translated_content/TranslatedContent.js";
11
- import { Icon as m } from "../../icons/icon/Icon.js";
8
+ import { Link as r } from "../../action/link/Link.js";
9
+ import { TranslatedContent as _ } from "../../translation/translated_content/TranslatedContent.js";
10
+ import { Tooltip as m } from "../../dialog/tooltip/Tooltip.js";
11
+ import { Icon as d } from "../../icons/icon/Icon.js";
12
12
  import { ProgressBar as x } from "../../progress/progress_bar/ProgressBar.js";
13
- const D = ({ consultation: e }) => {
14
- const u = f(), i = p(() => /* @__PURE__ */ new Date()), s = new Date(e.ends_at), g = _(s.getTime()), r = v(), { isMobile: C } = N(), h = () => s < i ? /* @__PURE__ */ t("span", { children: /* @__PURE__ */ t(
15
- a,
16
- {
17
- id: "consultation.consultation_box.consultation_ended",
18
- defaultMessage: "Consultation ended"
19
- }
20
- ) }) : /* @__PURE__ */ n(d, { children: [
21
- /* @__PURE__ */ n("span", { children: [
13
+ const P = ({ consultation: e, showVoteProgress: u = !0 }) => {
14
+ const a = f(), l = p(() => /* @__PURE__ */ new Date()), c = new Date(e.ends_at), n = v(), { isMobile: I } = N();
15
+ return /* @__PURE__ */ t(g, { children: /* @__PURE__ */ s("div", { className: o.container, children: [
16
+ /* @__PURE__ */ s("div", { className: o.consultationImageBox, children: [
22
17
  /* @__PURE__ */ t(
23
- a,
18
+ r,
24
19
  {
25
- id: "consultation.consultation_box.in_progress",
26
- defaultMessage: "Consultation in progress"
20
+ to: n.consultationShowLocation.toUrl({
21
+ consultationSlug: e.slug
22
+ }),
23
+ children: /* @__PURE__ */ t(
24
+ "img",
25
+ {
26
+ loading: "lazy",
27
+ className: o.consultationImage,
28
+ src: e.image_url,
29
+ alt: a.formatMessage({
30
+ id: "consultation.consultation_box.alt",
31
+ defaultMessage: "Presentation image for the consultation"
32
+ })
33
+ }
34
+ )
27
35
  }
28
36
  ),
29
- " ",
30
- "-",
31
- " "
37
+ e.ends_at && c < l && /* @__PURE__ */ t("div", { className: i(o.consultationTime, o.ended), children: /* @__PURE__ */ t("span", { children: /* @__PURE__ */ t(
38
+ h,
39
+ {
40
+ id: "consultation.consultation_box.consultation_ended",
41
+ defaultMessage: "Consultation ended"
42
+ }
43
+ ) }) })
32
44
  ] }),
33
- /* @__PURE__ */ t("span", { children: g })
34
- ] });
35
- return /* @__PURE__ */ t(d, { children: /* @__PURE__ */ n("div", { className: o.container, children: [
36
45
  /* @__PURE__ */ t(
37
- c,
46
+ r,
38
47
  {
39
- to: r.consultationShowLocation.toUrl({
40
- consultationSlug: e.slug
41
- }),
42
- children: /* @__PURE__ */ t(
43
- "img",
44
- {
45
- loading: "lazy",
46
- className: o.consultationImage,
47
- src: e.image_url,
48
- alt: u.formatMessage({
49
- id: "consultation.consultation_box.alt",
50
- defaultMessage: "Presentation image for the consultation"
51
- })
52
- }
53
- )
54
- }
55
- ),
56
- e.ends_at && /* @__PURE__ */ t(
57
- "div",
58
- {
59
- className: l(o.consultationTime, {
60
- [o.ended]: s < i
61
- }),
62
- children: h()
63
- }
64
- ),
65
- /* @__PURE__ */ t(
66
- c,
67
- {
68
- to: r.consultationShowLocation.toUrl({
48
+ to: n.consultationShowLocation.toUrl({
69
49
  consultationSlug: e.slug
70
50
  }),
71
51
  children: /* @__PURE__ */ t("div", { className: o.consultationTitle, children: /* @__PURE__ */ t(
72
- w,
52
+ _,
73
53
  {
74
54
  originalContent: e.title,
75
55
  originalLanguage: e.language,
@@ -80,72 +60,61 @@ const D = ({ consultation: e }) => {
80
60
  }
81
61
  ),
82
62
  /* @__PURE__ */ t(
83
- c,
63
+ r,
84
64
  {
85
- to: r.consultationShowLocation.toUrl({
65
+ to: n.consultationShowLocation.toUrl({
86
66
  consultationSlug: e.slug
87
- }),
88
- children: /* @__PURE__ */ n("div", { className: o.consultationButtonContainer, children: [
89
- e.ends_at && s < i ? /* @__PURE__ */ t("span", { children: /* @__PURE__ */ t(
90
- a,
91
- {
92
- id: "consultation.consultation_box.action_show_result",
93
- defaultMessage: "Show result"
94
- }
95
- ) }) : /* @__PURE__ */ t("span", { children: /* @__PURE__ */ t(
96
- a,
97
- {
98
- id: "consultation.consultation_box.action_consultation_participate",
99
- defaultMessage: "Participate"
100
- }
101
- ) }),
102
- /* @__PURE__ */ t(
103
- m,
104
- {
105
- name: "arrow",
106
- width: 18,
107
- height: 18,
108
- className: o.arrowIcon
109
- }
110
- )
111
- ] })
67
+ })
112
68
  }
113
69
  ),
114
- /* @__PURE__ */ n("div", { className: o.consultationInformations, children: [
115
- /* @__PURE__ */ n("div", { className: o.consultationLeft, children: [
116
- /* @__PURE__ */ n(
117
- "div",
70
+ /* @__PURE__ */ s("div", { className: o.consultationInformations, children: [
71
+ /* @__PURE__ */ s("div", { className: o.consultationLeft, children: [
72
+ /* @__PURE__ */ t(
73
+ m,
118
74
  {
119
- className: l(
120
- o.consultationGroupInformation,
121
- o.consultationGroupRight
122
- ),
123
- children: [
124
- /* @__PURE__ */ t("span", { className: o.consultationTextInformation, children: e.proposals_count }),
125
- /* @__PURE__ */ t(m, { name: "chat", width: 15, height: 20 })
126
- ]
75
+ text: a.formatMessage({
76
+ id: "info.votes_count",
77
+ defaultMessage: "Number of votes"
78
+ }),
79
+ position: "top",
80
+ children: /* @__PURE__ */ s(
81
+ "div",
82
+ {
83
+ className: i(
84
+ o.consultationGroupInformation,
85
+ o.consultationGroupRight
86
+ ),
87
+ children: [
88
+ /* @__PURE__ */ t("span", { className: o.consultationTextInformation, children: e.total_votes }),
89
+ /* @__PURE__ */ t(d, { name: "votebox", width: 15, height: 20, className: o.iconVote })
90
+ ]
91
+ }
92
+ )
127
93
  }
128
94
  ),
129
- /* @__PURE__ */ n("div", { className: o.consultationGroupInformation, children: [
130
- /* @__PURE__ */ t("span", { className: o.consultationTextInformation, children: e.total_participants }),
131
- /* @__PURE__ */ t(m, { name: "user", width: 15, height: 20 })
132
- ] })
95
+ /* @__PURE__ */ t(
96
+ m,
97
+ {
98
+ text: a.formatMessage({
99
+ id: "info.proposals_count",
100
+ defaultMessage: "Number of proposals"
101
+ }),
102
+ position: "top",
103
+ children: /* @__PURE__ */ s("div", { className: o.consultationGroupInformation, children: [
104
+ /* @__PURE__ */ t("span", { className: o.consultationTextInformation, children: e.proposals_count }),
105
+ /* @__PURE__ */ t(d, { name: "chat", width: 15, height: 20, className: o.iconChat })
106
+ ] })
107
+ }
108
+ )
133
109
  ] }),
134
- e.vote_goal > 0 && /* @__PURE__ */ t(
110
+ u && e.vote_goal > 0 && c > l && /* @__PURE__ */ t(
135
111
  "div",
136
112
  {
137
- className: l(
113
+ className: i(
138
114
  o.consultationGroupInformation,
139
115
  o.progressBarContainer
140
116
  ),
141
- children: s < i ? /* @__PURE__ */ t(
142
- a,
143
- {
144
- id: "consultation.consultation_box.stats_votes",
145
- values: { votesCount: e.total_votes },
146
- defaultMessage: "{votesCount} votes"
147
- }
148
- ) : /* @__PURE__ */ t(
117
+ children: /* @__PURE__ */ t(
149
118
  x,
150
119
  {
151
120
  className: o.progress,
@@ -162,5 +131,5 @@ const D = ({ consultation: e }) => {
162
131
  ] }) });
163
132
  };
164
133
  export {
165
- D as ConsultationBox
134
+ P as ConsultationBox
166
135
  };
@@ -1,35 +1,37 @@
1
- import '../../../assets/components/consultation/consultation_box/ConsultationBox.module-BnTr5IaF.css';const o = "_container_1k9w3_3", n = "_consultationImage_1k9w3_18", t = "_consultationTime_1k9w3_26", s = "_ended_1k9w3_36", a = "_consultationTitle_1k9w3_40", i = "_consultationButtonContainer_1k9w3_49", c = "_arrowIcon_1k9w3_61", r = "_consultationInformations_1k9w3_67", _ = "_consultationLeft_1k9w3_78", e = "_consultationGroupInformation_1k9w3_81", u = "_consultationGroupRight_1k9w3_85", l = "_progressBarContainer_1k9w3_88", w = "_progress_1k9w3_88", k = "_bar_1k9w3_102", m = "_consultationTextInformation_1k9w3_111", I = {
2
- container: o,
1
+ import '../../../assets/components/consultation/consultation_box/ConsultationBox.module-DjNiVt-p.css';const t = "_container_tvku5_3", o = "_consultationImageBox_tvku5_19", n = "_consultationImage_tvku5_19", s = "_consultationTime_tvku5_32", a = "_ended_tvku5_54", i = "_consultationTitle_tvku5_58", c = "_iconVote_tvku5_69", u = "_iconChat_tvku5_73", _ = "_consultationInformations_tvku5_97", e = "_consultationLeft_tvku5_107", r = "_consultationGroupInformation_tvku5_110", l = "_consultationGroupRight_tvku5_114", m = "_progressBarContainer_tvku5_117", k = "_progress_tvku5_117", v = "_bar_tvku5_131", g = "_consultationTextInformation_tvku5_140", I = {
2
+ container: t,
3
+ consultationImageBox: o,
3
4
  consultationImage: n,
4
- consultationTime: t,
5
- ended: s,
6
- consultationTitle: a,
7
- consultationButtonContainer: i,
8
- arrowIcon: c,
9
- consultationInformations: r,
10
- consultationLeft: _,
11
- consultationGroupInformation: e,
12
- consultationGroupRight: u,
13
- progressBarContainer: l,
14
- progress: w,
15
- bar: k,
16
- consultationTextInformation: m
5
+ consultationTime: s,
6
+ ended: a,
7
+ consultationTitle: i,
8
+ iconVote: c,
9
+ iconChat: u,
10
+ consultationInformations: _,
11
+ consultationLeft: e,
12
+ consultationGroupInformation: r,
13
+ consultationGroupRight: l,
14
+ progressBarContainer: m,
15
+ progress: k,
16
+ bar: v,
17
+ consultationTextInformation: g
17
18
  };
18
19
  export {
19
- c as arrowIcon,
20
- k as bar,
21
- i as consultationButtonContainer,
22
- e as consultationGroupInformation,
23
- u as consultationGroupRight,
20
+ v as bar,
21
+ r as consultationGroupInformation,
22
+ l as consultationGroupRight,
24
23
  n as consultationImage,
25
- r as consultationInformations,
26
- _ as consultationLeft,
27
- m as consultationTextInformation,
28
- t as consultationTime,
29
- a as consultationTitle,
30
- o as container,
24
+ o as consultationImageBox,
25
+ _ as consultationInformations,
26
+ e as consultationLeft,
27
+ g as consultationTextInformation,
28
+ s as consultationTime,
29
+ i as consultationTitle,
30
+ t as container,
31
31
  I as default,
32
- s as ended,
33
- w as progress,
34
- l as progressBarContainer
32
+ a as ended,
33
+ u as iconChat,
34
+ c as iconVote,
35
+ k as progress,
36
+ m as progressBarContainer
35
37
  };
@@ -1,43 +1,50 @@
1
- import { jsxs as m, jsx as c } from "react/jsx-runtime";
2
- import l from "classnames";
3
- import { useState as u, useRef as x } from "react";
4
- import v from "use-onclickoutside";
5
- import e from "./Dropdown.module.scss.js";
6
- const y = ({
7
- onClick: t,
8
- horizontalPosition: s = "left",
9
- disabled: p = !1,
10
- className: i,
11
- dropdownClassName: n,
12
- children: d
1
+ import { jsxs as w, jsx as i } from "react/jsx-runtime";
2
+ import u from "classnames";
3
+ import { useState as g, useRef as x, useEffect as E } from "react";
4
+ import t from "./Dropdown.module.scss.js";
5
+ const k = ({
6
+ onClick: s,
7
+ horizontalPosition: c = "left",
8
+ disabled: l = !1,
9
+ closeOnContentClick: m = !1,
10
+ className: d,
11
+ dropdownClassName: a,
12
+ children: f
13
13
  }) => {
14
- const [o, r] = u(!1), f = x(null), a = () => {
15
- p || (t && t(), r(!o));
14
+ const [r, o] = g(!1), n = x(null), p = () => {
15
+ l || (s && s(), o(!r));
16
16
  };
17
- return v(f, () => r(!1)), /* @__PURE__ */ m(
17
+ return E(() => {
18
+ const e = (v) => {
19
+ n.current && !n.current.contains(v.target) && o(!1);
20
+ };
21
+ return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
22
+ }, []), /* @__PURE__ */ w(
18
23
  "div",
19
24
  {
20
- ref: f,
21
- className: l(e.dropdownWrapper, { [i]: i }),
25
+ ref: n,
26
+ className: u(t.dropdownWrapper, { [d]: d }),
22
27
  children: [
23
- /* @__PURE__ */ c(
28
+ /* @__PURE__ */ i(
24
29
  "button",
25
30
  {
26
31
  type: "button",
27
- "aria-expanded": o,
28
- className: e.dropdownHeader,
29
- onClick: a,
30
- children: d[0]
32
+ "aria-expanded": r,
33
+ className: t.dropdownHeader,
34
+ onClick: p,
35
+ children: f[0]
31
36
  }
32
37
  ),
33
- o && /* @__PURE__ */ c(
38
+ r && /* @__PURE__ */ i(
34
39
  "div",
35
40
  {
36
- className: n || l(e.dropdownList, {
37
- [e[s]]: s
41
+ className: a || u(t.dropdownList, {
42
+ [t[c]]: c
38
43
  }),
39
- onClick: () => r(!1),
40
- children: d[1]
44
+ onClick: (e) => {
45
+ (m || e.target === e.currentTarget) && o(!1);
46
+ },
47
+ children: f[1]
41
48
  }
42
49
  )
43
50
  ]
@@ -45,5 +52,5 @@ const y = ({
45
52
  );
46
53
  };
47
54
  export {
48
- y as Dropdown
55
+ k as Dropdown
49
56
  };
@@ -1,27 +1,28 @@
1
- import { jsx as o, jsxs as n } from "react/jsx-runtime";
2
- import m from "classnames";
1
+ import { jsx as o, jsxs as m } from "react/jsx-runtime";
2
+ import w from "classnames";
3
3
  import "react";
4
4
  import { useIntl as c } from "react-intl";
5
5
  import e from "./FollowButton.module.scss.js";
6
- import { useFollow as w } from "../use_follow/useFollow.js";
7
- import { Tooltip as p } from "../../dialog/tooltip/Tooltip.js";
6
+ import { useFollow as p } from "../use_follow/useFollow.js";
7
+ import { Tooltip as h } from "../../dialog/tooltip/Tooltip.js";
8
8
  import { Button as u } from "../../action/button/Button.js";
9
- const j = ({
10
- followableType: a,
9
+ import { Icon as a } from "../../icons/icon/Icon.js";
10
+ const B = ({
11
+ followableType: i,
11
12
  followableId: r,
12
- tooltipText: i,
13
- dataTid: f,
13
+ tooltipText: f,
14
+ dataTid: n,
14
15
  noBorder: l
15
16
  }) => {
16
- const s = c(), { followActive: t, handleFollow: d } = w(
17
- a,
17
+ const s = c(), { followActive: t, handleFollow: d } = p(
18
+ i,
18
19
  r
19
20
  );
20
- return /* @__PURE__ */ o(p, { text: i, children: /* @__PURE__ */ n(
21
+ return /* @__PURE__ */ o(h, { text: f, children: /* @__PURE__ */ m(
21
22
  u,
22
23
  {
23
- "data-tid": f,
24
- className: m(e.followUserButton, {
24
+ "data-tid": n,
25
+ className: w(e.followUserButton, {
25
26
  [e.followUserButtonNoBorder]: l
26
27
  }),
27
28
  active: l || t,
@@ -29,7 +30,7 @@ const j = ({
29
30
  "data-testid": "button",
30
31
  border: !1,
31
32
  children: [
32
- !t && l && /* @__PURE__ */ o("span", { className: e.followIcon, children: "+" }),
33
+ !t && l && /* @__PURE__ */ o("span", { className: e.followIcon, children: /* @__PURE__ */ o(a, { name: "follow", width: 16, height: 16 }) }),
33
34
  t ? /* @__PURE__ */ o("span", { "data-testid": "followed", children: s.formatMessage({
34
35
  id: "follow.followed",
35
36
  defaultMessage: "Followed"
@@ -37,11 +38,11 @@ const j = ({
37
38
  id: "follow.follow",
38
39
  defaultMessage: "Follow"
39
40
  }) }),
40
- !t && !l && /* @__PURE__ */ o("span", { className: e.followIcon, children: "+" })
41
+ !t && !l && /* @__PURE__ */ o("span", { className: e.followIcon, children: /* @__PURE__ */ o(a, { name: "follow", width: 16, height: 16 }) })
41
42
  ]
42
43
  }
43
44
  ) });
44
45
  };
45
46
  export {
46
- j as FollowButton
47
+ B as FollowButton
47
48
  };
@@ -1,9 +1,11 @@
1
- import '../../../assets/components/follow/follow_button/FollowButton.module-Da-cPgwT.css';const o = "_followUserButton_6sp8j_3", t = "_followUserButtonNoBorder_6sp8j_12", l = {
1
+ import '../../../assets/components/follow/follow_button/FollowButton.module-C9YXM8AM.css';const o = "_followUserButton_o22h6_3", l = "_followUserButtonNoBorder_o22h6_12", t = "_followIcon_o22h6_18", n = {
2
2
  followUserButton: o,
3
- followUserButtonNoBorder: t
3
+ followUserButtonNoBorder: l,
4
+ followIcon: t
4
5
  };
5
6
  export {
6
- l as default,
7
+ n as default,
8
+ t as followIcon,
7
9
  o as followUserButton,
8
- t as followUserButtonNoBorder
10
+ l as followUserButtonNoBorder
9
11
  };
@@ -11,9 +11,9 @@ import { PauseCircle as w } from "./PauseCircle.js";
11
11
  import { Alarm as b } from "../regular_icons/Alarm.js";
12
12
  import { Announcement as L } from "../regular_icons/Announcement.js";
13
13
  import { Arrow as B } from "../regular_icons/Arrow.js";
14
- import { Blockquote as v } from "../regular_icons/Blockquote.js";
15
- import { Bold as D } from "../regular_icons/Bold.js";
16
- import { Camera as F } from "../regular_icons/Camera.js";
14
+ import { Blockquote as U } from "../regular_icons/Blockquote.js";
15
+ import { Bold as y } from "../regular_icons/Bold.js";
16
+ import { Camera as E } from "../regular_icons/Camera.js";
17
17
  import { CheckCircle as P } from "../regular_icons/CheckCircle.js";
18
18
  import { Checkbox as q } from "../regular_icons/Checkbox.js";
19
19
  import { Clock as I } from "../regular_icons/Clock.js";
@@ -24,38 +24,39 @@ import { Document as J } from "../regular_icons/Document.js";
24
24
  import { Downvote as W } from "../regular_icons/Downvote.js";
25
25
  import { Facebook as Y } from "../regular_icons/Facebook.js";
26
26
  import { Flag as _ } from "../regular_icons/Flag.js";
27
- import { Home as oo } from "../regular_icons/Home.js";
28
- import { Italic as eo } from "../regular_icons/Italic.js";
29
- import { Link as mo } from "../regular_icons/Link.js";
30
- import { Logora as xo } from "../regular_icons/Logora.js";
31
- import { Mail as lo } from "../regular_icons/Mail.js";
32
- import { MinusCircle as no } from "../regular_icons/MinusCircle.js";
33
- import { MobileMenu as Co } from "../regular_icons/MobileMenu.js";
34
- import { Next as so } from "../regular_icons/Next.js";
35
- import { OpenBlank as ho } from "../regular_icons/OpenBlank.js";
36
- import { OrderedList as go } from "../regular_icons/OrderedList.js";
37
- import { Point as So } from "../regular_icons/Point.js";
38
- import { Question as Ao } from "../regular_icons/Question.js";
39
- import { Refresh as Mo } from "../regular_icons/Refresh.js";
40
- import { Reply as Uo } from "../regular_icons/Reply.js";
41
- import { Search as yo } from "../regular_icons/Search.js";
42
- import { Send as Eo } from "../regular_icons/Send.js";
43
- import { Share as Oo } from "../regular_icons/Share.js";
44
- import { SmallArrow as Ro } from "../regular_icons/SmallArrow.js";
45
- import { Source as Ho } from "../regular_icons/Source.js";
46
- import { Suggestion as No } from "../regular_icons/Suggestion.js";
47
- import { Twitter as To } from "../regular_icons/Twitter.js";
48
- import { Underline as jo } from "../regular_icons/Underline.js";
49
- import { Upvote as Go } from "../regular_icons/Upvote.js";
50
- import { User as Ko } from "../regular_icons/User.js";
51
- import { Votebox as Xo } from "../regular_icons/Votebox.js";
27
+ import { Follow as oo } from "../regular_icons/Follow.js";
28
+ import { Home as eo } from "../regular_icons/Home.js";
29
+ import { Italic as mo } from "../regular_icons/Italic.js";
30
+ import { Link as xo } from "../regular_icons/Link.js";
31
+ import { Logora as lo } from "../regular_icons/Logora.js";
32
+ import { Mail as no } from "../regular_icons/Mail.js";
33
+ import { MinusCircle as Co } from "../regular_icons/MinusCircle.js";
34
+ import { MobileMenu as so } from "../regular_icons/MobileMenu.js";
35
+ import { Next as ho } from "../regular_icons/Next.js";
36
+ import { OpenBlank as go } from "../regular_icons/OpenBlank.js";
37
+ import { OrderedList as So } from "../regular_icons/OrderedList.js";
38
+ import { Point as Ao } from "../regular_icons/Point.js";
39
+ import { Question as Mo } from "../regular_icons/Question.js";
40
+ import { Refresh as Fo } from "../regular_icons/Refresh.js";
41
+ import { Reply as vo } from "../regular_icons/Reply.js";
42
+ import { Search as Do } from "../regular_icons/Search.js";
43
+ import { Send as Oo } from "../regular_icons/Send.js";
44
+ import { Share as Ro } from "../regular_icons/Share.js";
45
+ import { SmallArrow as Ho } from "../regular_icons/SmallArrow.js";
46
+ import { Source as No } from "../regular_icons/Source.js";
47
+ import { Suggestion as To } from "../regular_icons/Suggestion.js";
48
+ import { Twitter as jo } from "../regular_icons/Twitter.js";
49
+ import { Underline as Go } from "../regular_icons/Underline.js";
50
+ import { Upvote as Ko } from "../regular_icons/Upvote.js";
51
+ import { User as Xo } from "../regular_icons/User.js";
52
+ import { Votebox as Zo } from "../regular_icons/Votebox.js";
52
53
  export {
53
54
  b as Alarm,
54
55
  L as Announcement,
55
56
  B as Arrow,
56
- v as Blockquote,
57
- D as Bold,
58
- F as Camera,
57
+ U as Blockquote,
58
+ y as Bold,
59
+ E as Camera,
59
60
  e as Chat,
60
61
  m as Check,
61
62
  P as CheckCircle,
@@ -72,33 +73,34 @@ export {
72
73
  C as ExpertBadge,
73
74
  Y as Facebook,
74
75
  _ as Flag,
75
- oo as Home,
76
- eo as Italic,
76
+ oo as Follow,
77
+ eo as Home,
78
+ mo as Italic,
77
79
  s as LightArrow,
78
- mo as Link,
80
+ xo as Link,
79
81
  h as Login,
80
- xo as Logora,
81
- lo as Mail,
82
- no as MinusCircle,
82
+ lo as Logora,
83
+ no as Mail,
84
+ Co as MinusCircle,
83
85
  d as MobileClose,
84
- Co as MobileMenu,
85
- so as Next,
86
- ho as OpenBlank,
87
- go as OrderedList,
86
+ so as MobileMenu,
87
+ ho as Next,
88
+ go as OpenBlank,
89
+ So as OrderedList,
88
90
  w as PauseCircle,
89
- So as Point,
90
- Ao as Question,
91
- Mo as Refresh,
92
- Uo as Reply,
93
- yo as Search,
94
- Eo as Send,
95
- Oo as Share,
96
- Ro as SmallArrow,
97
- Ho as Source,
98
- No as Suggestion,
99
- To as Twitter,
100
- jo as Underline,
101
- Go as Upvote,
102
- Ko as User,
103
- Xo as Votebox
91
+ Ao as Point,
92
+ Mo as Question,
93
+ Fo as Refresh,
94
+ vo as Reply,
95
+ Do as Search,
96
+ Oo as Send,
97
+ Ro as Share,
98
+ Ho as SmallArrow,
99
+ No as Source,
100
+ To as Suggestion,
101
+ jo as Twitter,
102
+ Go as Underline,
103
+ Ko as Upvote,
104
+ Xo as User,
105
+ Zo as Votebox
104
106
  };