@logora/debate 0.3.88 → 0.3.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/components/argument/argument/Argument.module-gLfNRLks.css +1 -0
- package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-BnTr5IaF.css +1 -0
- package/dist/assets/components/follow/follow_button/FollowButton.module-Da-cPgwT.css +1 -0
- package/dist/assets/components/input/text_editor/{TextEditor.module-CxuSL3l3.css → TextEditor.module-DePSfOvG.css} +1 -1
- package/dist/assets/components/list/paginated_list/action_bar/ActionBar.module-pxwFC_Y2.css +1 -0
- package/dist/assets/components/proposal/proposal_box/ProposalBox.module-T4ms_LQ7.css +1 -0
- package/dist/assets/components/section/section_box/SectionBox.module-DUeUtdWr.css +1 -0
- package/dist/assets/components/source/context_source_list/ContextSourceList.module-D6X_0dB7.css +1 -0
- package/dist/assets/components/source/source_list_item/SourceListItem.module-mTxHhXPV.css +1 -0
- package/dist/assets/components/summary/summary/Summary.module-DjfmUlkW.css +1 -0
- package/dist/assets/components/summary/summary_box/SummaryBox.module-DQVkA8l7.css +1 -0
- package/dist/assets/components/vote/vote_box/VoteBox.module-CDrqb2SZ.css +1 -0
- package/dist/components/argument/argument/Argument.js +106 -111
- package/dist/components/argument/argument/Argument.module.scss.js +31 -31
- package/dist/components/consultation/consultation_box/ConsultationBox.js +111 -80
- package/dist/components/consultation/consultation_box/ConsultationBox.module.scss.js +29 -31
- package/dist/components/dialog/dropdown/Dropdown.js +28 -35
- package/dist/components/follow/follow_button/FollowButton.js +16 -17
- package/dist/components/follow/follow_button/FollowButton.module.scss.js +4 -6
- package/dist/components/icons/bild_icons/index.js +56 -58
- package/dist/components/icons/hero_icons/index.js +18 -20
- package/dist/components/icons/krone_icons/index.js +46 -48
- package/dist/components/icons/regular_icons/index.js +18 -20
- package/dist/components/icons/spiegel_icons/index.js +52 -54
- package/dist/components/icons/stern_icons/index.js +70 -102
- package/dist/components/input/argument_input/ArgumentInput.js +197 -201
- package/dist/components/input/select/Select.js +19 -19
- package/dist/components/input/text_editor/TextEditor.js +129 -143
- package/dist/components/input/text_editor/TextEditor.module.scss.js +5 -5
- package/dist/components/input/text_editor/plugins/FocusPlugin.js +8 -12
- package/dist/components/input/text_editor/plugins/SetContentPlugin.js +13 -13
- package/dist/components/input/text_editor/plugins/SetRichContentPlugin.js +10 -10
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.js +72 -70
- package/dist/components/list/paginated_list/PaginatedList.js +125 -131
- package/dist/components/list/paginated_list/action_bar/ActionBar.js +50 -53
- package/dist/components/list/paginated_list/action_bar/ActionBar.module.scss.js +16 -18
- package/dist/components/notification/notification_menu/NotificationMenu.js +22 -23
- package/dist/components/proposal/proposal_box/ProposalBox.js +59 -70
- package/dist/components/proposal/proposal_box/ProposalBox.module.scss.js +10 -14
- package/dist/components/section/section_box/SectionBox.js +10 -10
- package/dist/components/section/section_box/SectionBox.module.scss.js +9 -9
- package/dist/components/source/context_source_box/ContextSourceBox.js +7 -7
- package/dist/components/source/context_source_list/ContextSourceList.js +13 -10
- package/dist/components/source/context_source_list/ContextSourceList.module.scss.js +12 -14
- package/dist/components/source/source_list_item/SourceListItem.js +28 -42
- package/dist/components/source/source_list_item/SourceListItem.module.scss.js +6 -8
- package/dist/components/source/source_modal/SourceModal.js +15 -15
- package/dist/components/summary/summary/Summary.js +63 -41
- package/dist/components/summary/summary/Summary.module.scss.js +6 -10
- package/dist/components/summary/summary_box/SummaryBox.module.scss.js +9 -9
- package/dist/components/vote/vote_box/VoteBox.js +143 -122
- package/dist/components/vote/vote_box/VoteBox.module.scss.js +48 -50
- package/package.json +1 -1
- package/dist/assets/components/argument/argument/Argument.module-QZdPjj_i.css +0 -1
- package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-DjNiVt-p.css +0 -1
- package/dist/assets/components/follow/follow_button/FollowButton.module-C9YXM8AM.css +0 -1
- package/dist/assets/components/list/paginated_list/action_bar/ActionBar.module-DvwCbS9k.css +0 -1
- package/dist/assets/components/proposal/proposal_box/ProposalBox.module-Dm8XDnr1.css +0 -1
- package/dist/assets/components/section/section_box/SectionBox.module-qQs4B6bf.css +0 -1
- package/dist/assets/components/source/context_source_list/ContextSourceList.module-DUPbI-wb.css +0 -1
- package/dist/assets/components/source/source_list_item/SourceListItem.module-fm_uHuY4.css +0 -1
- package/dist/assets/components/summary/summary/Summary.module-2bnx3egy.css +0 -1
- package/dist/assets/components/summary/summary_box/SummaryBox.module-Dr9PevSJ.css +0 -1
- package/dist/assets/components/vote/vote_box/VoteBox.module-D5sSSHpi.css +0 -1
- package/dist/components/icons/regular_icons/Follow.js +0 -6
- package/dist/components/icons/spiegel_icons/Downvote.js +0 -6
- package/dist/components/icons/spiegel_icons/Upvote.js +0 -6
|
@@ -1,41 +1,43 @@
|
|
|
1
|
-
import { jsx as s, Fragment as
|
|
1
|
+
import { jsx as s, Fragment as be, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import P from "@rooks/use-sessionstorage-state";
|
|
3
3
|
import d from "classnames";
|
|
4
|
-
import { useState as
|
|
5
|
-
import { useIntl as
|
|
6
|
-
import { useLocation as
|
|
4
|
+
import { useState as N, useEffect as L } from "react";
|
|
5
|
+
import { useIntl as Ne, FormattedMessage as m } from "react-intl";
|
|
6
|
+
import { useLocation as Se } from "react-router";
|
|
7
7
|
import o from "./VoteBox.module.scss.js";
|
|
8
8
|
import { useTranslatedContent as k } from "../../translation/translated_content/useTranslatedContent.js";
|
|
9
|
-
import { useToast as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
9
|
+
import { useToast as we } from "../../dialog/toast_provider/useToast.js";
|
|
10
|
+
import { useResponsive as Ce } from "../../hooks/use_responsive/useResponsive.js";
|
|
11
|
+
import { useAuthRequired as xe } from "../../hooks/use_auth_required/useAuthRequired.js";
|
|
12
|
+
import { useDataProvider as Be } from "../../data/data_provider/useDataProvider.js";
|
|
13
|
+
import { useConfig as Me } from "../../data/config_provider/useConfig.js";
|
|
14
|
+
import { useAuth as Ve } from "../../auth/use_auth/useAuth.js";
|
|
14
15
|
import { Icon as T } from "../../icons/icon/Icon.js";
|
|
15
|
-
import { ProgressBar as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
import { ProgressBar as Re } from "../../progress/progress_bar/ProgressBar.js";
|
|
17
|
+
import { Tooltip as ee } from "../../dialog/tooltip/Tooltip.js";
|
|
18
|
+
import { Link as Ae } from "../../action/link/Link.js";
|
|
19
|
+
import { Button as ye } from "../../action/button/Button.js";
|
|
20
|
+
const Xe = ({
|
|
21
|
+
numberVotes: S,
|
|
20
22
|
votePositions: r,
|
|
21
|
-
voteableType:
|
|
22
|
-
voteableId:
|
|
23
|
-
redirectUrl:
|
|
23
|
+
voteableType: h,
|
|
24
|
+
voteableId: g,
|
|
25
|
+
redirectUrl: w,
|
|
24
26
|
displayColumn: j,
|
|
25
|
-
textAlignLeft:
|
|
26
|
-
showTotal:
|
|
27
|
-
voteBoxClassName:
|
|
28
|
-
buttonContainerClassName:
|
|
27
|
+
textAlignLeft: te,
|
|
28
|
+
showTotal: oe = !0,
|
|
29
|
+
voteBoxClassName: F,
|
|
30
|
+
buttonContainerClassName: O,
|
|
29
31
|
buttonClassName: E,
|
|
30
32
|
showResultClassName: I,
|
|
31
|
-
onVote:
|
|
32
|
-
disabled:
|
|
33
|
-
showVotesCommentsNumber:
|
|
34
|
-
commentsCount:
|
|
33
|
+
onVote: C,
|
|
34
|
+
disabled: V = !1,
|
|
35
|
+
showVotesCommentsNumber: se = !1,
|
|
36
|
+
commentsCount: ae,
|
|
35
37
|
hideShowResultButton: U = !1
|
|
36
38
|
}) => {
|
|
37
|
-
const [H,
|
|
38
|
-
Number.parseFloat(
|
|
39
|
+
const [H, p] = N(!0), [c, R] = N(void 0), [_, f] = N(!1), [u, ne] = N(
|
|
40
|
+
Number.parseFloat(S.total) || Object.values(S).reduce(
|
|
39
41
|
(e, t) => e + Number.parseFloat(t),
|
|
40
42
|
0
|
|
41
43
|
) || 0
|
|
@@ -54,125 +56,125 @@ const We = ({
|
|
|
54
56
|
r[2]?.language,
|
|
55
57
|
"name",
|
|
56
58
|
r[2]?.translation_entries
|
|
57
|
-
), [
|
|
59
|
+
), [b, re, D] = P(
|
|
58
60
|
"storedUserVote",
|
|
59
61
|
{}
|
|
60
|
-
), [
|
|
62
|
+
), [Le, ie, ce] = P("userSide", {}), { toast: G } = we() || {}, { isMobile: W } = Ce(), le = () => {
|
|
61
63
|
const e = {};
|
|
62
64
|
return r?.forEach(
|
|
63
65
|
(t) => e[t.id] = {
|
|
64
|
-
count: Number.parseFloat(
|
|
66
|
+
count: Number.parseFloat(S[t.id]) || 0,
|
|
65
67
|
percentage: u === 0 ? 0 : Math.round(
|
|
66
|
-
100 * ((
|
|
68
|
+
100 * ((S[t.id] || 0) / u)
|
|
67
69
|
)
|
|
68
70
|
}
|
|
69
71
|
), e;
|
|
70
|
-
}, [i,
|
|
72
|
+
}, [i, z] = N(le()), J = xe(), de = Se(), A = Be(), ue = Me(), v = Ne(), { isLoggedIn: x, isLoggingIn: K } = Ve();
|
|
71
73
|
L(() => {
|
|
72
|
-
K === !1 && (
|
|
73
|
-
}, [K,
|
|
74
|
-
if (H === !1 && !
|
|
75
|
-
const [e, t] =
|
|
74
|
+
K === !1 && (x ? fe(g) : p(!1));
|
|
75
|
+
}, [K, x]), L(() => {
|
|
76
|
+
if (H === !1 && !w) {
|
|
77
|
+
const [e, t] = me();
|
|
76
78
|
e && (t ? X(t) : f(!0));
|
|
77
79
|
}
|
|
78
80
|
}, [H]), L(() => {
|
|
79
|
-
|
|
81
|
+
C && C(c);
|
|
80
82
|
}, [c]);
|
|
81
|
-
const
|
|
82
|
-
if (
|
|
83
|
-
return
|
|
83
|
+
const me = () => {
|
|
84
|
+
if (b && Object.keys(b).length !== 0)
|
|
85
|
+
return b.groupId === g && b.voteableType === h ? [!0, b.positionId] : (D(), [!1, !1]);
|
|
84
86
|
const e = new URLSearchParams(
|
|
85
|
-
typeof window < "u" ? window.location.search :
|
|
87
|
+
typeof window < "u" ? window.location.search : de.search
|
|
86
88
|
), t = !!e.get("initVote"), a = Number.parseInt(e.get("positionId")) || !1;
|
|
87
89
|
return [t, a];
|
|
88
|
-
},
|
|
89
|
-
|
|
90
|
-
t.data.data.resource ? (
|
|
90
|
+
}, fe = (e) => {
|
|
91
|
+
p(!0), C && C(c), A.getOneWithToken("votes", `${h.toLowerCase()}/${e}`, {}).then((t) => {
|
|
92
|
+
t.data.data.resource ? (R(t.data.data.resource), f(!0), p(!1)) : (p(!1), f(!1));
|
|
91
93
|
}).catch((t) => {
|
|
92
|
-
|
|
94
|
+
p(!1);
|
|
93
95
|
});
|
|
94
|
-
},
|
|
96
|
+
}, B = (e, t) => t === 0 ? 0 : Math.round(100 * (e / t)), ve = (e) => {
|
|
95
97
|
const t = {
|
|
96
|
-
voteable_id:
|
|
97
|
-
voteable_type:
|
|
98
|
+
voteable_id: g,
|
|
99
|
+
voteable_type: h || "Group",
|
|
98
100
|
position_id: e
|
|
99
101
|
};
|
|
100
|
-
|
|
101
|
-
groupId:
|
|
102
|
-
voteableType:
|
|
102
|
+
ie({
|
|
103
|
+
groupId: g,
|
|
104
|
+
voteableType: h,
|
|
103
105
|
positionId: e
|
|
104
|
-
}), c ? (
|
|
105
|
-
n.data.success && (
|
|
106
|
-
|
|
106
|
+
}), c ? (ge(e, c.position_id), _ === !1 && y(), e !== c.position_id && A.update("votes", c.id, t).then((n) => {
|
|
107
|
+
n.data.success && (R(n.data.data.resource), G(
|
|
108
|
+
v.formatMessage({
|
|
107
109
|
id: "header.vote_confirm_modal",
|
|
108
110
|
defaultMessage: "Your vote has been saved !"
|
|
109
111
|
}),
|
|
110
112
|
{ type: "success" }
|
|
111
113
|
));
|
|
112
|
-
})) : (
|
|
113
|
-
n.data.success && (
|
|
114
|
-
|
|
114
|
+
})) : (he(e), y(), A.create("votes", t).then((n) => {
|
|
115
|
+
n.data.success && (R(n.data.data.resource), G(
|
|
116
|
+
v.formatMessage({
|
|
115
117
|
id: "header.vote_confirm_modal",
|
|
116
118
|
defaultMessage: "Your vote has been saved !"
|
|
117
119
|
}),
|
|
118
120
|
{ type: "success" }
|
|
119
121
|
));
|
|
120
122
|
}));
|
|
121
|
-
},
|
|
123
|
+
}, he = (e) => {
|
|
122
124
|
const t = i[e].count + 1, a = u + 1, n = {};
|
|
123
|
-
r.forEach((
|
|
124
|
-
if (e ===
|
|
125
|
-
n[
|
|
125
|
+
r.forEach((M) => {
|
|
126
|
+
if (e === M.id)
|
|
127
|
+
n[M.id] = {
|
|
126
128
|
count: t,
|
|
127
|
-
percentage:
|
|
129
|
+
percentage: B(t, a)
|
|
128
130
|
};
|
|
129
131
|
else {
|
|
130
|
-
const Z = i[
|
|
131
|
-
n[
|
|
132
|
+
const Z = i[M.id].count;
|
|
133
|
+
n[M.id] = {
|
|
132
134
|
count: Z,
|
|
133
|
-
percentage:
|
|
135
|
+
percentage: B(Z, a)
|
|
134
136
|
};
|
|
135
137
|
}
|
|
136
|
-
}),
|
|
137
|
-
},
|
|
138
|
+
}), z(n), ne(a);
|
|
139
|
+
}, ge = (e, t) => {
|
|
138
140
|
if (t !== e) {
|
|
139
141
|
const a = {
|
|
140
142
|
...i,
|
|
141
143
|
[t]: {
|
|
142
144
|
count: i[t].count - 1,
|
|
143
|
-
percentage:
|
|
145
|
+
percentage: B(
|
|
144
146
|
i[t].count - 1,
|
|
145
147
|
u
|
|
146
148
|
)
|
|
147
149
|
},
|
|
148
150
|
[e]: {
|
|
149
151
|
count: i[e].count + 1,
|
|
150
|
-
percentage:
|
|
152
|
+
percentage: B(
|
|
151
153
|
i[e].count + 1,
|
|
152
154
|
u
|
|
153
155
|
)
|
|
154
156
|
}
|
|
155
157
|
};
|
|
156
|
-
|
|
158
|
+
z(a);
|
|
157
159
|
}
|
|
158
160
|
}, Q = (e) => {
|
|
159
161
|
const t = new URLSearchParams({
|
|
160
162
|
initVote: "true",
|
|
161
163
|
...e && { positionId: e }
|
|
162
164
|
});
|
|
163
|
-
return
|
|
165
|
+
return w + `?${t.toString()}`;
|
|
164
166
|
}, X = (e) => {
|
|
165
|
-
|
|
166
|
-
groupId:
|
|
167
|
-
voteableType:
|
|
167
|
+
x ? Object.keys(i).includes(e.toString()) && (ve(e), D()) : (Object.keys(i).includes(e.toString()) && re({
|
|
168
|
+
groupId: g,
|
|
169
|
+
voteableType: h,
|
|
168
170
|
positionId: e
|
|
169
|
-
}),
|
|
170
|
-
},
|
|
171
|
-
|
|
172
|
-
},
|
|
171
|
+
}), J({ loginAction: "vote" }));
|
|
172
|
+
}, y = () => {
|
|
173
|
+
_ && ce(), f(!_);
|
|
174
|
+
}, pe = (e, t) => {
|
|
173
175
|
let a;
|
|
174
176
|
t === 0 ? a = $.translatedContent : t === 1 ? a = q.translatedContent : t === 2 && (a = Y.translatedContent);
|
|
175
|
-
const n = typeof window < "u" && !
|
|
177
|
+
const n = typeof window < "u" && !w;
|
|
176
178
|
return /* @__PURE__ */ s(
|
|
177
179
|
"div",
|
|
178
180
|
{
|
|
@@ -180,17 +182,17 @@ const We = ({
|
|
|
180
182
|
[o.buttonAlignLeft]: o.buttonAlignLeft
|
|
181
183
|
}),
|
|
182
184
|
children: /* @__PURE__ */ s(
|
|
183
|
-
|
|
185
|
+
ye,
|
|
184
186
|
{
|
|
185
187
|
"data-tid": "action_vote",
|
|
186
188
|
type: "button",
|
|
187
189
|
title: a,
|
|
188
190
|
className: d(o.voteButton, {
|
|
189
|
-
[o.textAlignLeft]:
|
|
191
|
+
[o.textAlignLeft]: te,
|
|
190
192
|
[E]: E
|
|
191
193
|
}),
|
|
192
194
|
onClick: n ? () => X(e.id) : null,
|
|
193
|
-
disabled:
|
|
195
|
+
disabled: V,
|
|
194
196
|
"data-testid": "voteButton",
|
|
195
197
|
to: n ? null : Q(e.id),
|
|
196
198
|
target: n ? null : "_top",
|
|
@@ -211,14 +213,14 @@ const We = ({
|
|
|
211
213
|
},
|
|
212
214
|
t
|
|
213
215
|
);
|
|
214
|
-
},
|
|
215
|
-
|
|
216
|
+
}, _e = () => {
|
|
217
|
+
x || ue.actions?.unloggedVoteResults === !0 ? f(!0) : J({ loginAction: "vote" });
|
|
216
218
|
};
|
|
217
219
|
return /* @__PURE__ */ s(
|
|
218
220
|
"div",
|
|
219
221
|
{
|
|
220
|
-
className: d(o.voteBox, { [
|
|
221
|
-
children: /* @__PURE__ */ s(
|
|
222
|
+
className: d(o.voteBox, { [F]: F }),
|
|
223
|
+
children: /* @__PURE__ */ s(be, { children: _ || V ? /* @__PURE__ */ l("div", { className: o.voteResultsBox, "data-testid": "voteResultsBox", children: [
|
|
222
224
|
/* @__PURE__ */ s("div", { className: o.voteResults, children: r.map((e, t) => {
|
|
223
225
|
let a;
|
|
224
226
|
return t === 0 ? a = $.translatedContent : t === 1 ? a = q.translatedContent : t === 2 && (a = Y.translatedContent), /* @__PURE__ */ l("div", { children: [
|
|
@@ -235,7 +237,7 @@ const We = ({
|
|
|
235
237
|
c && c.position_id === e.id ? /* @__PURE__ */ s(
|
|
236
238
|
"span",
|
|
237
239
|
{
|
|
238
|
-
title:
|
|
240
|
+
title: v.formatMessage({
|
|
239
241
|
id: "vote.vote_box.vote_side"
|
|
240
242
|
}) + a,
|
|
241
243
|
className: o.sideIcon,
|
|
@@ -247,7 +249,7 @@ const We = ({
|
|
|
247
249
|
}
|
|
248
250
|
),
|
|
249
251
|
/* @__PURE__ */ l(
|
|
250
|
-
|
|
252
|
+
Re,
|
|
251
253
|
{
|
|
252
254
|
progress: i[e.id].percentage / 100,
|
|
253
255
|
goal: 1,
|
|
@@ -262,7 +264,7 @@ const We = ({
|
|
|
262
264
|
] }, t);
|
|
263
265
|
}) }),
|
|
264
266
|
/* @__PURE__ */ l("div", { className: o.voteBoxFooter, children: [
|
|
265
|
-
|
|
267
|
+
oe && /* @__PURE__ */ s("div", { className: o.voteResultsNumberVoters, children: /* @__PURE__ */ s(
|
|
266
268
|
m,
|
|
267
269
|
{
|
|
268
270
|
id: "vote.vote_box.votes",
|
|
@@ -270,13 +272,13 @@ const We = ({
|
|
|
270
272
|
defaultMessage: "{votesCount} votes"
|
|
271
273
|
}
|
|
272
274
|
) }),
|
|
273
|
-
!
|
|
275
|
+
!V && /* @__PURE__ */ s("div", { children: c ? /* @__PURE__ */ s(
|
|
274
276
|
"button",
|
|
275
277
|
{
|
|
276
278
|
"data-tid": "action_edit_vote",
|
|
277
279
|
className: o.voteActionButton,
|
|
278
280
|
type: "button",
|
|
279
|
-
onClick:
|
|
281
|
+
onClick: y,
|
|
280
282
|
children: /* @__PURE__ */ s(
|
|
281
283
|
m,
|
|
282
284
|
{
|
|
@@ -307,37 +309,56 @@ const We = ({
|
|
|
307
309
|
{
|
|
308
310
|
className: d(o.voteBoxActionsBody, {
|
|
309
311
|
[o.voteBoxActionsBodyColumn]: j,
|
|
310
|
-
[
|
|
311
|
-
[F]: F
|
|
312
|
+
[O]: O
|
|
312
313
|
}),
|
|
313
314
|
children: r.map(
|
|
314
|
-
(e, t) =>
|
|
315
|
+
(e, t) => pe(e, t)
|
|
315
316
|
)
|
|
316
317
|
}
|
|
317
318
|
),
|
|
318
|
-
|
|
319
|
-
/* @__PURE__ */
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
{
|
|
324
|
-
id: "
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
319
|
+
se && /* @__PURE__ */ l("div", { className: o.voteCommentCounts, children: [
|
|
320
|
+
/* @__PURE__ */ s(
|
|
321
|
+
ee,
|
|
322
|
+
{
|
|
323
|
+
position: W ? "right" : "bottom",
|
|
324
|
+
text: v.formatMessage({
|
|
325
|
+
id: "info.votes_count",
|
|
326
|
+
defaultMessage: "Votes"
|
|
327
|
+
}),
|
|
328
|
+
children: /* @__PURE__ */ l("div", { className: o.debateNumberItem, children: [
|
|
329
|
+
/* @__PURE__ */ s(T, { name: "votebox", width: 20, height: 20 }),
|
|
330
|
+
/* @__PURE__ */ s("div", { className: o.debateNumberLabel, children: /* @__PURE__ */ s(
|
|
331
|
+
m,
|
|
332
|
+
{
|
|
333
|
+
id: "vote.vote_box.votes",
|
|
334
|
+
values: { votesCount: u },
|
|
335
|
+
defaultMessage: "{votesCount} votes"
|
|
336
|
+
}
|
|
337
|
+
) })
|
|
338
|
+
] })
|
|
339
|
+
}
|
|
340
|
+
),
|
|
341
|
+
/* @__PURE__ */ s(
|
|
342
|
+
ee,
|
|
343
|
+
{
|
|
344
|
+
position: W ? "right" : "bottom",
|
|
345
|
+
text: v.formatMessage({
|
|
346
|
+
id: "info.arguments_count",
|
|
347
|
+
defaultMessage: "Comments"
|
|
348
|
+
}),
|
|
349
|
+
children: /* @__PURE__ */ l("div", { className: o.debateNumberItem, children: [
|
|
350
|
+
/* @__PURE__ */ s(T, { name: "chat", width: 20, height: 20 }),
|
|
351
|
+
/* @__PURE__ */ s("div", { className: o.debateNumberLabel, children: /* @__PURE__ */ s(
|
|
352
|
+
m,
|
|
353
|
+
{
|
|
354
|
+
id: "vote.vote_box.comments",
|
|
355
|
+
values: { count: ae ?? 0 },
|
|
356
|
+
defaultMessage: "{count} comments"
|
|
357
|
+
}
|
|
358
|
+
) })
|
|
359
|
+
] })
|
|
360
|
+
}
|
|
361
|
+
)
|
|
341
362
|
] }),
|
|
342
363
|
/* @__PURE__ */ s(
|
|
343
364
|
"div",
|
|
@@ -347,14 +368,14 @@ const We = ({
|
|
|
347
368
|
o.voteBoxShowResultContainer,
|
|
348
369
|
{ [I]: I }
|
|
349
370
|
),
|
|
350
|
-
children: /* @__PURE__ */ s("div", { className: o.voteBoxShowResult, children: U ? !
|
|
371
|
+
children: /* @__PURE__ */ s("div", { className: o.voteBoxShowResult, children: U ? !_ && /* @__PURE__ */ s("div", { className: o.voteResultInfoText, children: v.formatMessage({
|
|
351
372
|
id: "vote.vote_box.result_after_vote",
|
|
352
373
|
defaultMessage: "Le résultat s'affichera après le vote."
|
|
353
|
-
}) }) : typeof window < "u" && !
|
|
374
|
+
}) }) : typeof window < "u" && !w ? /* @__PURE__ */ s(
|
|
354
375
|
"button",
|
|
355
376
|
{
|
|
356
377
|
type: "button",
|
|
357
|
-
onClick:
|
|
378
|
+
onClick: _e,
|
|
358
379
|
"data-tid": "show_vote_result",
|
|
359
380
|
"data-testid": "show-result",
|
|
360
381
|
className: o.showResultButton,
|
|
@@ -367,7 +388,7 @@ const We = ({
|
|
|
367
388
|
) })
|
|
368
389
|
}
|
|
369
390
|
) : /* @__PURE__ */ s(
|
|
370
|
-
|
|
391
|
+
Ae,
|
|
371
392
|
{
|
|
372
393
|
to: Q(null),
|
|
373
394
|
rel: "nofollow",
|
|
@@ -391,5 +412,5 @@ const We = ({
|
|
|
391
412
|
);
|
|
392
413
|
};
|
|
393
414
|
export {
|
|
394
|
-
|
|
415
|
+
Xe as VoteBox
|
|
395
416
|
};
|
|
@@ -1,65 +1,63 @@
|
|
|
1
|
-
import '../../../assets/components/vote/vote_box/VoteBox.module-
|
|
2
|
-
voteBox:
|
|
3
|
-
voteResultsBox:
|
|
1
|
+
import '../../../assets/components/vote/vote_box/VoteBox.module-CDrqb2SZ.css';const t = "_voteBox_29yqs_3", o = "_voteResultsBox_29yqs_11", e = "_voteResults_29yqs_11", s = "_voteProgressHeader_29yqs_22", n = "_voteProgressHeaderAgainst_29yqs_35", _ = "_voteResultsNumberVoters_29yqs_39", u = "_voteBoxFooter_29yqs_47", v = "_voteBoxActions_29yqs_56", r = "_voteBoxActionsBody_29yqs_66", c = "_voteBoxActionsBodyColumn_29yqs_74", B = "_voteAction_29yqs_78", l = "_buttonAlignLeft_29yqs_88", i = "_voteButton_29yqs_92", y = "_textAlignLeft_29yqs_103", x = "_voteBoxShowResultContainer_29yqs_107", q = "_voteBoxShowResult_29yqs_107", d = "_boldShowResult_29yqs_131", b = "_outlined_29yqs_136", a = "_voteButtonThesis_29yqs_143", A = "_voteButtonThesisSynthesisMobile_29yqs_155", R = "_voteActionButton_29yqs_194", g = "_sideIcon_29yqs_209", h = "_progress_29yqs_214", m = "_progressBar_29yqs_220", w = "_voteCommentCounts_29yqs_237", C = "_debateNumberItem_29yqs_245", S = "_debateNumberLabel_29yqs_254", f = "_showResultButton_29yqs_258", I = "_voteResultInfoText_29yqs_271", L = {
|
|
2
|
+
voteBox: t,
|
|
3
|
+
voteResultsBox: o,
|
|
4
4
|
voteResults: e,
|
|
5
5
|
voteProgressHeader: s,
|
|
6
6
|
voteProgressHeaderAgainst: n,
|
|
7
7
|
voteResultsNumberVoters: _,
|
|
8
|
-
voteBoxFooter:
|
|
9
|
-
voteBoxActions:
|
|
10
|
-
voteBoxActionsBody:
|
|
11
|
-
voteBoxActionsBodyColumn:
|
|
12
|
-
voteAction:
|
|
13
|
-
buttonAlignLeft:
|
|
14
|
-
voteButton:
|
|
15
|
-
textAlignLeft:
|
|
16
|
-
voteBoxShowResultContainer:
|
|
17
|
-
voteBoxShowResult:
|
|
18
|
-
boldShowResult:
|
|
19
|
-
outlined:
|
|
20
|
-
voteButtonThesis:
|
|
8
|
+
voteBoxFooter: u,
|
|
9
|
+
voteBoxActions: v,
|
|
10
|
+
voteBoxActionsBody: r,
|
|
11
|
+
voteBoxActionsBodyColumn: c,
|
|
12
|
+
voteAction: B,
|
|
13
|
+
buttonAlignLeft: l,
|
|
14
|
+
voteButton: i,
|
|
15
|
+
textAlignLeft: y,
|
|
16
|
+
voteBoxShowResultContainer: x,
|
|
17
|
+
voteBoxShowResult: q,
|
|
18
|
+
boldShowResult: d,
|
|
19
|
+
outlined: b,
|
|
20
|
+
voteButtonThesis: a,
|
|
21
21
|
voteButtonThesisSynthesisMobile: A,
|
|
22
|
-
voteBoxActionsBodyOutlined: a,
|
|
23
22
|
voteActionButton: R,
|
|
24
|
-
sideIcon:
|
|
25
|
-
progress:
|
|
26
|
-
progressBar:
|
|
27
|
-
voteCommentCounts:
|
|
28
|
-
debateNumberItem:
|
|
29
|
-
debateNumberLabel:
|
|
30
|
-
showResultButton:
|
|
31
|
-
voteResultInfoText:
|
|
23
|
+
sideIcon: g,
|
|
24
|
+
progress: h,
|
|
25
|
+
progressBar: m,
|
|
26
|
+
voteCommentCounts: w,
|
|
27
|
+
debateNumberItem: C,
|
|
28
|
+
debateNumberLabel: S,
|
|
29
|
+
showResultButton: f,
|
|
30
|
+
voteResultInfoText: I
|
|
32
31
|
};
|
|
33
32
|
export {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
33
|
+
d as boldShowResult,
|
|
34
|
+
l as buttonAlignLeft,
|
|
35
|
+
C as debateNumberItem,
|
|
36
|
+
S as debateNumberLabel,
|
|
37
|
+
L as default,
|
|
38
|
+
b as outlined,
|
|
39
|
+
h as progress,
|
|
40
|
+
m as progressBar,
|
|
41
|
+
f as showResultButton,
|
|
42
|
+
g as sideIcon,
|
|
43
|
+
y as textAlignLeft,
|
|
44
|
+
B as voteAction,
|
|
46
45
|
R as voteActionButton,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
b as voteButtonThesis,
|
|
46
|
+
t as voteBox,
|
|
47
|
+
v as voteBoxActions,
|
|
48
|
+
r as voteBoxActionsBody,
|
|
49
|
+
c as voteBoxActionsBodyColumn,
|
|
50
|
+
u as voteBoxFooter,
|
|
51
|
+
q as voteBoxShowResult,
|
|
52
|
+
x as voteBoxShowResultContainer,
|
|
53
|
+
i as voteButton,
|
|
54
|
+
a as voteButtonThesis,
|
|
57
55
|
A as voteButtonThesisSynthesisMobile,
|
|
58
|
-
|
|
56
|
+
w as voteCommentCounts,
|
|
59
57
|
s as voteProgressHeader,
|
|
60
58
|
n as voteProgressHeaderAgainst,
|
|
61
|
-
|
|
59
|
+
I as voteResultInfoText,
|
|
62
60
|
e as voteResults,
|
|
63
|
-
|
|
61
|
+
o as voteResultsBox,
|
|
64
62
|
_ as voteResultsNumberVoters
|
|
65
63
|
};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._argument_1dp33_3{border-radius:var(--box-border-radius, 6px);box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));transition:margin-top 2s;border:var(--box-border, 1px solid rgba(7, 42, 68, .1));scroll-margin-top:150px;background-color:var(--background-color-primary, white);padding:var(--space-unit, 1em)!important;display:flex;flex-direction:column;gap:var(--space-unit, 1em)}._edited_1dp33_16{font-size:var(--font-size-extra-small, 14px);color:var(--text-secondary, #5F5F5F);line-height:var(--line-height-loose, 1.38em);margin-bottom:var(--spacer-xs, calc(var(--space-unit, 1em) * .325))!important}._argumentReply_1dp33_23{position:relative;background-color:var(--text-tertiary, #fafafa);border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));border-top-right-radius:var(--box-border-radius, 6px);border-bottom-right-radius:var(--box-border-radius, 6px);border-left:6px solid;border-left-color:var(--call-primary-color, #434343)!important}._argumentReply_1dp33_23._position-1_1dp33_34{border-left-color:var(--for-primary-color, #cc6a6d)!important}._argumentReply_1dp33_23._position-2_1dp33_37{border-left-color:var(--against-primary-color, #7980bb)!important}._argumentReply_1dp33_23._position-3_1dp33_40{border-left-color:var(--third-position-color-primary, #9b9b9b)!important}._argumentReply_1dp33_23._level-1_1dp33_43{margin-left:1em!important}._argumentReply_1dp33_23._level-2_1dp33_46{margin-left:2em!important}._argumentReply_1dp33_23._level-3_1dp33_49{margin-left:3em!important}._argumentReply_1dp33_23._level-4_1dp33_52{margin-left:4em!important}._argumentReply_1dp33_23._level-5_1dp33_55{margin-left:5em!important}._argumentReply_1dp33_23:before{content:"";border-left:4px solid var(--text-secondary, #5F5F5F);position:absolute;width:4px;height:10px;top:-10px;left:2em}@container (max-width: 575.98px){._argumentReply_1dp33_23{border-left:4px solid}}._flash_1dp33_73{-webkit-transition:box-shadow .8s ease-in-out;-moz-transition:box-shadow .8s ease-in-out;-o-transition:box-shadow .8s ease-in-out;transition:box-shadow .8s ease-in-out;box-shadow:-4px 4px 15px 3px #00000026}._position-1_1dp33_34._flash_1dp33_73{border-color:var(--for-primary-color, #cc6a6d)}._position-2_1dp33_37._flash_1dp33_73{border-color:var(--against-primary-color, #7980bb)}._position-3_1dp33_40._flash_1dp33_73{border-color:var(--third-position-color-primary, #9b9b9b);margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._argumentBody_1dp33_94{font-size:var(--font-size-normal, 16px);line-height:var(--line-height-loose, 1.38em)}._argumentDeletedBody_1dp33_99{font-size:var(--font-size-small, 16px);color:var(--text-secondary, #5F5F5F)}._fixedHeight_1dp33_104{height:100px;overflow:hidden;position:relative}._fixedHeight_1dp33_104:after{content:"";position:absolute;z-index:1;bottom:0;left:0;right:0;pointer-events:none;background-image:linear-gradient(to bottom,#fff0,#fff 90%);width:100%;height:5em}._argumentContent_1dp33_122{line-height:var(--line-height-loose, 1.38em);overflow-wrap:break-word;word-wrap:break-word}._argumentContent_1dp33_122 *{font-size:var(--font-size-normal, 16px)}._argumentSourcesList_1dp33_131{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;font-size:var(--font-size-extra-small, 14px);font-weight:var(--font-weight-normal, 400)}._argumentSourcesList_1dp33_131 a{text-decoration:none}._repliesList_1dp33_144{margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._readMoreLink_1dp33_148{margin-top:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;display:flex;justify-content:center}._replyStyle_1dp33_154{background:var(--text-tertiary, #fafafa)}._replyTo_1dp33_158{display:flex!important;flex-direction:row!important;align-items:center!important;padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;font-size:var(--font-size-extra-small, 14px);color:var(--text-secondary, #5F5F5F);cursor:pointer;overflow:hidden;white-space:nowrap}._replyTo_1dp33_158 span{padding-left:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important;cursor:pointer;text-decoration:underline}._replyTo_1dp33_158 svg{padding:2px 0 0 2px;fill:var(--text-secondary, #5F5F5F)}._replyingTo_1dp33_179{display:flex!important;align-items:center!important}._headerPosition-0_1dp33_184{background-color:var(--call-primary-color, #434343)!important}._headerPosition-1_1dp33_188{background-color:var(--for-primary-color, #cc6a6d)!important}._headerPosition-2_1dp33_192{background-color:var(--against-primary-color, #7980bb)!important}._headerPosition-3_1dp33_196{background-color:var(--third-position-color-primary, #9b9b9b)!important}._voteButtonPosition-1_1dp33_200{color:var(--for-primary-color, #cc6a6d)!important}._voteButtonPosition-1_1dp33_200 svg{fill:var(--for-primary-color, #cc6a6d)!important}._voteButtonPosition-2_1dp33_207{color:var(--against-primary-color, #7980bb)!important}._voteButtonPosition-2_1dp33_207 svg{fill:var(--against-primary-color, #7980bb)!important}._voteButtonPosition-3_1dp33_214{color:var(--third-position-color-primary, #9b9b9b)!important}._voteButtonPosition-3_1dp33_214 svg{fill:var(--third-position-color-primary, #9b9b9b)!important}@media(prefers-color-scheme:dark){._replyStyle_1dp33_154{background-color:var(--text-tertiary, #fafafa)}._argumentStyle_1dp33_225{background-color:var(--background-color-primary, white)}}._argumentContent_1dp33_122 ol{list-style-type:decimal!important;margin-left:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-left:var(--spacer-xl, calc(var(--space-unit, 1em) * 3))!important}._argumentContent_1dp33_122 ul{list-style-type:disc!important;margin-left:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-left:var(--spacer-xl, calc(var(--space-unit, 1em) * 3))!important}._argumentContent_1dp33_122 ol li::marker,._argumentContent_1dp33_122 ul li::marker{content:normal!important}
|
package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-DjNiVt-p.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._container_tvku5_3{display:flex!important;flex-direction:column!important;justify-content:space-between!important;box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));border:var(--box-border, 1px solid rgba(7, 42, 68, .1));color:var(--text-primary, #222222);border-radius:var(--box-border-radius, 6px);background:var(--background-color-primary, white);height:100%}._container_tvku5_3 a{text-decoration:none!important;color:var(--text-primary, #222222)!important}._consultationImageBox_tvku5_19{position:relative}._consultationImage_tvku5_19{border-top-right-radius:var(--box-border-radius, 6px);border-top-left-radius:var(--box-border-radius, 6px);width:100%;aspect-ratio:var(--img-aspect-ratio, 16/9);object-fit:cover;display:block}._consultationTime_tvku5_32{display:flex!important;align-items:center!important;position:absolute;left:var(--space-unit, 1em);bottom:var(--space-unit, 1em);padding-right:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;padding-left:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;padding-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;background-color:var(--call-primary-color, #434343);border-radius:var(--box-border-radius, 6px);font-size:var(--font-size-normal, 16px);color:var(--text-light, white);max-width:93%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._consultationTime_tvku5_32 span{color:var(--text-light, white)}._consultationTime_tvku5_32._ended_tvku5_54{background-color:var(--call-primary-color, #434343)}._consultationTitle_tvku5_58{padding-top:var(--spacer-lg, calc(var(--space-unit, 1em) * 1.5))!important;padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-right:var(--space-unit, 1em)!important;padding-left:var(--space-unit, 1em)!important;font-size:var(--font-size-normal, 16px);font-weight:var(--font-weight-bold, 700);min-height:2.7em;flex:1}._iconVote_tvku5_69{padding-top:3px!important}._iconChat_tvku5_73{padding-top:6px!important}._consultationButtonContainer_tvku5_77{display:flex!important;padding-right:var(--space-unit, 1em)!important;padding-left:var(--space-unit, 1em)!important;padding-bottom:var(--spacer-lg, calc(var(--space-unit, 1em) * 1.5))!important;color:var(--text-secondary, #5F5F5F);font-size:var(--font-size-small, 16px)}._consultationButtonContainer_tvku5_77:hover{text-decoration:underline;text-decoration-color:var(--text-secondary, #5F5F5F)}._consultationButtonContainer_tvku5_77 ._arrowIcon_tvku5_89{margin-left:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important;transform:rotate(180deg);fill:var(--text-secondary, #5F5F5F);top:1px;position:relative}._consultationInformations_tvku5_97{display:flex!important;justify-content:space-between!important;align-items:center!important;padding-right:var(--space-unit, 1em)!important;padding-left:var(--space-unit, 1em)!important;padding-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;min-height:50px}._consultationInformations_tvku5_97 ._consultationLeft_tvku5_107{display:flex!important}._consultationInformations_tvku5_97 ._consultationGroupInformation_tvku5_110{display:flex!important;align-items:center!important}._consultationInformations_tvku5_97 ._consultationGroupInformation_tvku5_110._consultationGroupRight_tvku5_114{padding-right:var(--space-unit, 1em)!important}._consultationInformations_tvku5_97 ._progressBarContainer_tvku5_117{width:60%;display:flex!important;flex-direction:column!important;align-items:flex-end!important;font-size:var(--font-size-extra-small, 14px)}._consultationInformations_tvku5_97 ._progressBarContainer_tvku5_117 ._progress_tvku5_117{margin-top:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important;height:15px;width:100%;border-radius:var(--box-border-radius, 6px);background-color:var(--background-color-secondary, #E8E8E8)!important}._consultationInformations_tvku5_97 ._progressBarContainer_tvku5_117 ._bar_tvku5_131{background-color:var(--call-primary-color, #434343)}._consultationInformations_tvku5_97 ._progressBarContainer_tvku5_117 ._totalVotes_tvku5_134{margin-right:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important}._consultationInformations_tvku5_97 ._progressBarContainer_tvku5_117 ._totalVotesPercentage_tvku5_137{margin-left:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important}._consultationInformations_tvku5_97 ._consultationTextInformation_tvku5_140{padding-right:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important;padding-top:5px!important}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
button._followUserButton_o22h6_3{display:flex;flex-direction:row;align-items:center;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));padding:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));font-weight:var(--font-weight-bold, 700)}button._followUserButtonNoBorder_o22h6_12{font-weight:var(--font-weight-normal, 400);color:var(--text-primary, #222222)!important;padding:0!important}._followIcon_o22h6_18{display:inline-flex;align-items:center}._followIcon_o22h6_18 svg{fill:var(--text-primary, #222222)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._listHeader_un1z2_3{display:flex;justify-content:space-between;align-items:center;position:relative;flex-wrap:wrap;gap:var(--space-unit, 1em)}@container (max-width: 575.98px){._listHeader_un1z2_3{flex-direction:column;align-items:flex-start}._listHeader_un1z2_3._listHeaderOneItem_un1z2_16{flex-direction:row;align-items:center;flex-wrap:nowrap!important}}._listTitle_un1z2_23{font-size:var(--font-size-extra-large, 22px);line-height:var(--line-height-tight, 1.08em);font-weight:var(--font-weight-bold, 700);font-family:var(--title-font-family, var(--font-family, "Montserrat"))}._listSubtitle_un1z2_30{color:var(--text-secondary, #5F5F5F);font-weight:var(--font-weight-normal, 400);font-size:var(--font-size-normal, 16px);margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}._rightBar_un1z2_37{display:flex;gap:var(--space-unit, 1em);flex-wrap:wrap}@container (max-width: 575.98px){._rightBar_un1z2_37{width:100%;justify-content:space-between}._rightBar_un1z2_37._rightBarOneItem_un1z2_47{justify-content:flex-end}}._rightBar_un1z2_37{flex:1 1 auto;justify-content:flex-end;align-items:center;flex-direction:row}._search_un1z2_58{flex:1;max-width:35%}@container (max-width: 575.98px){._search_un1z2_58{max-width:80%}}._tagList_un1z2_68{display:flex;flex-direction:row;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;gap:var(--spacer-md, calc(var(--space-unit, 1em) * .75));padding-bottom:var(--spacer-md, calc(var(--space-unit, 1em) * .75))}@container (max-width: 575.98px){._tagList_un1z2_68{gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}}._tagItem_un1z2_83{display:flex!important;color:var(--text-secondary, #5F5F5F);cursor:pointer;white-space:nowrap}._select_un1z2_90{max-width:300px}@container (max-width: 575.98px){._select_un1z2_90{max-width:300px}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._proposalBoxContainer_5x1d0_3{display:flex!important;flex-direction:column!important;justify-content:space-between!important;position:relative;box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));border:var(--box-border, 1px solid rgba(7, 42, 68, .1));color:var(--text-primary, #222222);border-radius:var(--box-border-radius, 6px);background-color:var(--background-color-primary, white);scroll-margin-top:150px;padding:var(--box-spacing, var(--space-unit, 1em));gap:var(--box-spacing, var(--space-unit, 1em))}._proposalBoxContainer_5x1d0_3._flash_5x1d0_17{-webkit-transition:box-shadow .8s ease-in-out;-moz-transition:box-shadow .8s ease-in-out;-o-transition:box-shadow .8s ease-in-out;transition:box-shadow .8s ease-in-out;box-shadow:0 0 15px var(--call-primary-color, #434343)}._edited_5x1d0_25{font-size:var(--font-size-extra-small, 14px);color:var(--text-secondary, #5F5F5F);line-height:var(--line-height-loose, 1.38em);margin-bottom:var(--spacer-xs, calc(var(--space-unit, 1em) * .325))!important}._proposalBoxContent_5x1d0_32{text-align:left;white-space:pre-line;line-height:var(--line-height-loose, 1.38em);font-size:var(--font-size-small, 16px)}@container (min-width: 768px){._proposalBoxContent_5x1d0_32._withMinHeight_5x1d0_40{min-height:185px}}._proposalBoxContent_5x1d0_32 ._proposalTitle_5x1d0_44{font-size:var(--font-size-normal, 16px);font-weight:var(--font-weight-bold, 700);padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._proposalBoxContent_5x1d0_32 ._proposalTitle_5x1d0_44:first-letter{text-transform:uppercase}._proposalBoxContent_5x1d0_32 ._proposalContent_5x1d0_52 *{font-size:var(--font-size-small, 16px)}._proposalSourcesList_5x1d0_56{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;font-size:var(--font-size-extra-small, 14px);font-weight:var(--font-weight-normal, 400)}._proposalSourcesList_5x1d0_56 a{text-decoration:none}._fixedHeight_5x1d0_68{height:200px;overflow:hidden;position:relative}._fixedHeight_5x1d0_68:after{content:"";position:absolute;z-index:1;bottom:0;left:0;right:0;pointer-events:none;background-image:linear-gradient(to bottom,#fff0,#fff 90%);width:100%;height:5em}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._sectionBoxContainer_tcujo_3{background-color:var(--background-color-primary, white);box-shadow:var(--box-shadow-main-container, var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1)));border:var(--box-border-main-container, var(--box-border, 1px solid rgba(7, 42, 68, .1)));border-radius:var(--box-border-radius, 6px);color:var(--text-primary, #222222)}@container (min-width: 576px){._sectionBoxContainer_tcujo_3{padding:var(--spacer-lg, calc(var(--space-unit, 1em) * 1.5))!important}}._sectionBoxContainer_tcujo_3._isMobile_tcujo_15{padding:var(--space-unit, 1em)!important}._header_tcujo_19{display:flex;justify-content:space-between;align-items:center;width:100%}._collapsible_tcujo_26{cursor:pointer}._iconLightArrow_tcujo_30{flex-shrink:0;margin-left:.75em;transition:transform .3s}._iconRotated_tcujo_36{transform:rotate(180deg)}._titleContainer_tcujo_40{display:flex;align-items:baseline;gap:.5em}._title_tcujo_40{font-size:var(--font-size-large, 20px);line-height:var(--line-height-tight, 1.08em);font-weight:var(--font-weight-bold, 700);font-family:var(--title-font-family, var(--font-family, "Montserrat"));color:var(--text-primary, #222222)}._subtitle_tcujo_54{font-size:var(--font-size-small, 16px);color:var(--text-secondary, #5F5F5F)}._body_tcujo_59{padding-top:var(--space-unit, 1em)!important}
|
package/dist/assets/components/source/context_source_list/ContextSourceList.module-DUPbI-wb.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._sectionBox_15pa0_3{padding:1em}._title_15pa0_7{font-size:var(--font-size-large, 20px);line-height:var(--line-height-tight, 1.08em);font-weight:var(--font-weight-bold, 700);font-family:var(--title-font-family, var(--font-family, "Montserrat"))}._content_15pa0_14{display:grid;gap:var(--space-unit, 1em)}._content_15pa0_14._contentMobile_15pa0_18{grid-template-columns:repeat(1,1fr)}._content_15pa0_14._contentTablet_15pa0_21{grid-template-columns:repeat(2,1fr)}._content_15pa0_14._contentDesktop_15pa0_24{grid-template-columns:repeat(3,1fr)}._listItem_15pa0_28{text-decoration:none!important;color:inherit!important;border:var(--box-border, 1px solid rgba(7, 42, 68, .1))!important;border-radius:var(--box-border-radius, 6px)!important;padding:var(--space-unit, 1em)!important}._listItem_15pa0_28:hover{border:1px solid var(--text-primary, #222222)!important}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._sourceListItemContainer_as5dp_3{position:relative;display:inline-flex;align-items:center;max-width:100%}a._sourceListItem_as5dp_3{display:flex;flex-direction:row;justify-content:flex-start;font-size:var(--font-size-extra-small, 14px);margin-top:5px;padding:5px 26px 5px 5px;border:1px solid var(--background-color-secondary, #E8E8E8);border-radius:var(--box-border-radius, 6px);max-width:100%}a._sourceListItem_as5dp_3 svg{margin-right:5px;flex-shrink:0!important;width:16px!important;height:16px!important}a._sourceListItem_as5dp_3{color:var(--text-primary, #222222)!important;text-decoration:none!important;outline:none!important}._removeSourceButton_as5dp_33{position:absolute;top:calc(50% + 2px);right:6px;transform:translateY(-50%);border:none;background:transparent;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;color:var(--text-primary, #222222);z-index:2}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._sectionBox_tui97_3{padding:1em}._content_tui97_7{padding-top:1em}._summaryContainer_tui97_11{display:flex;flex-direction:row;flex-wrap:wrap;align-items:stretch;gap:1em}._summaryContainer_tui97_11>div{flex:1 1 calc(50% - .5em);max-width:calc(50% - .5em);display:flex;flex-direction:column}@container (max-width: 767.98px){._summaryContainer_tui97_11{flex-direction:column}._summaryContainer_tui97_11>div{flex:1 1 100%;max-width:100%;width:100%}}._description_tui97_35{color:var(--text-secondary, #5F5F5F);font-size:var(--font-size-small, 16px);margin-bottom:1em}
|