@logora/debate 0.3.7 → 0.3.9
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/dialog/dropdown/Dropdown.module-B6DdHxbY.css +1 -0
- package/dist/assets/components/gamification/point_box/PointBox.module-BlHdQyht.css +1 -0
- package/dist/assets/components/navigation/tabs/Tabs.module-CtDi0tAd.css +1 -0
- package/dist/assets/components/vote/vote_button/VoteButton.module-BdTTr7vk.css +1 -0
- package/dist/components/argument/argument/Argument.js +15 -15
- package/dist/components/argument/argument/Argument.module.scss.js +30 -30
- package/dist/components/dialog/dropdown/Dropdown.module.scss.js +1 -1
- package/dist/components/gamification/point_box/PointBox.module.scss.js +1 -1
- package/dist/components/icons/bild_icons/index.js +102 -104
- package/dist/components/icons/hero_icons/index.js +66 -68
- package/dist/components/icons/krone_icons/index.js +98 -100
- package/dist/components/icons/regular_icons/index.js +22 -24
- package/dist/components/icons/spiegel_icons/index.js +100 -102
- package/dist/components/input/text_editor/TextEditor.js +108 -108
- package/dist/components/navigation/tabs/Tabs.module.scss.js +4 -4
- package/dist/components/vote/vote_button/VoteButton.module.scss.js +2 -2
- package/package.json +14 -14
- package/dist/assets/components/argument/argument/Argument.module-ynS4ZRdG.css +0 -1
- package/dist/assets/components/dialog/dropdown/Dropdown.module-BL67cFpj.css +0 -1
- package/dist/assets/components/gamification/point_box/PointBox.module-BzKRidYf.css +0 -1
- package/dist/assets/components/navigation/tabs/Tabs.module-D0w5qSU_.css +0 -1
- package/dist/assets/components/vote/vote_button/VoteButton.module-mxq12D3_.css +0 -1
- package/dist/components/icons/bild_icons/Alarm.js +0 -13
- package/dist/components/icons/bild_icons/Announcement.js +0 -15
- package/dist/components/icons/bild_icons/Arrow.js +0 -6
- package/dist/components/icons/bild_icons/Blockquote.js +0 -6
- package/dist/components/icons/bild_icons/Bold.js +0 -6
- package/dist/components/icons/bild_icons/Camera.js +0 -9
- package/dist/components/icons/bild_icons/CheckCircle.js +0 -22
- package/dist/components/icons/bild_icons/Checkbox.js +0 -9
- package/dist/components/icons/bild_icons/Clock.js +0 -6
- package/dist/components/icons/bild_icons/Close.js +0 -6
- package/dist/components/icons/bild_icons/Code.js +0 -36
- package/dist/components/icons/bild_icons/Community.js +0 -6
- package/dist/components/icons/bild_icons/Document.js +0 -6
- package/dist/components/icons/bild_icons/Downvote.js +0 -6
- package/dist/components/icons/bild_icons/Facebook.js +0 -6
- package/dist/components/icons/bild_icons/Flag.js +0 -6
- package/dist/components/icons/bild_icons/Home.js +0 -6
- package/dist/components/icons/bild_icons/Italic.js +0 -6
- package/dist/components/icons/bild_icons/Link.js +0 -9
- package/dist/components/icons/bild_icons/Logora.js +0 -56
- package/dist/components/icons/bild_icons/Mail.js +0 -6
- package/dist/components/icons/bild_icons/MinusCircle.js +0 -21
- package/dist/components/icons/bild_icons/MobileMenu.js +0 -29
- package/dist/components/icons/bild_icons/Next.js +0 -23
- package/dist/components/icons/bild_icons/OpenBlank.js +0 -21
- package/dist/components/icons/bild_icons/OrderedList.js +0 -6
- package/dist/components/icons/bild_icons/Point.js +0 -25
- package/dist/components/icons/bild_icons/Question.js +0 -15
- package/dist/components/icons/bild_icons/Refresh.js +0 -9
- package/dist/components/icons/bild_icons/Reply.js +0 -9
- package/dist/components/icons/bild_icons/Search.js +0 -6
- package/dist/components/icons/bild_icons/Send.js +0 -6
- package/dist/components/icons/bild_icons/Share.js +0 -15
- package/dist/components/icons/bild_icons/SmallArrow.js +0 -6
- package/dist/components/icons/bild_icons/Source.js +0 -6
- package/dist/components/icons/bild_icons/Suggestion.js +0 -25
- package/dist/components/icons/bild_icons/Twitter.js +0 -44
- package/dist/components/icons/bild_icons/Underline.js +0 -6
- package/dist/components/icons/bild_icons/Upvote.js +0 -6
- package/dist/components/icons/bild_icons/User.js +0 -6
- package/dist/components/icons/bild_icons/Versus.js +0 -12
- package/dist/components/icons/bild_icons/Votebox.js +0 -15
- package/dist/components/icons/hero_icons/CheckCircle.js +0 -22
- package/dist/components/icons/hero_icons/Facebook.js +0 -6
- package/dist/components/icons/hero_icons/Flag.js +0 -6
- package/dist/components/icons/hero_icons/Logora.js +0 -56
- package/dist/components/icons/hero_icons/MinusCircle.js +0 -21
- package/dist/components/icons/hero_icons/Point.js +0 -25
- package/dist/components/icons/hero_icons/Twitter.js +0 -44
- package/dist/components/icons/hero_icons/Versus.js +0 -24
- package/dist/components/icons/krone_icons/Arrow.js +0 -6
- package/dist/components/icons/krone_icons/Blockquote.js +0 -6
- package/dist/components/icons/krone_icons/Bold.js +0 -6
- package/dist/components/icons/krone_icons/Camera.js +0 -9
- package/dist/components/icons/krone_icons/Check.js +0 -6
- package/dist/components/icons/krone_icons/CheckCircle.js +0 -22
- package/dist/components/icons/krone_icons/Clock.js +0 -6
- package/dist/components/icons/krone_icons/Close.js +0 -6
- package/dist/components/icons/krone_icons/Code.js +0 -36
- package/dist/components/icons/krone_icons/Community.js +0 -6
- package/dist/components/icons/krone_icons/Crown.js +0 -6
- package/dist/components/icons/krone_icons/Document.js +0 -6
- package/dist/components/icons/krone_icons/Downvote.js +0 -6
- package/dist/components/icons/krone_icons/Facebook.js +0 -6
- package/dist/components/icons/krone_icons/Flag.js +0 -6
- package/dist/components/icons/krone_icons/Italic.js +0 -6
- package/dist/components/icons/krone_icons/LightArrow.js +0 -6
- package/dist/components/icons/krone_icons/Link.js +0 -9
- package/dist/components/icons/krone_icons/Login.js +0 -30
- package/dist/components/icons/krone_icons/Logora.js +0 -56
- package/dist/components/icons/krone_icons/Mail.js +0 -6
- package/dist/components/icons/krone_icons/MinusCircle.js +0 -21
- package/dist/components/icons/krone_icons/MobileClose.js +0 -15
- package/dist/components/icons/krone_icons/MobileMenu.js +0 -29
- package/dist/components/icons/krone_icons/Next.js +0 -23
- package/dist/components/icons/krone_icons/OpenBlank.js +0 -21
- package/dist/components/icons/krone_icons/OrderedList.js +0 -6
- package/dist/components/icons/krone_icons/PauseCircle.js +0 -22
- package/dist/components/icons/krone_icons/Point.js +0 -25
- package/dist/components/icons/krone_icons/Refresh.js +0 -9
- package/dist/components/icons/krone_icons/Search.js +0 -6
- package/dist/components/icons/krone_icons/SmallArrow.js +0 -6
- package/dist/components/icons/krone_icons/Source.js +0 -6
- package/dist/components/icons/krone_icons/Twitter.js +0 -44
- package/dist/components/icons/krone_icons/Underline.js +0 -6
- package/dist/components/icons/krone_icons/Versus.js +0 -6
- package/dist/components/icons/regular_icons/Versus.js +0 -6
- package/dist/components/icons/spiegel_icons/Alarm.js +0 -13
- package/dist/components/icons/spiegel_icons/Announcement.js +0 -15
- package/dist/components/icons/spiegel_icons/Arrow.js +0 -6
- package/dist/components/icons/spiegel_icons/Camera.js +0 -9
- package/dist/components/icons/spiegel_icons/Check.js +0 -6
- package/dist/components/icons/spiegel_icons/Code.js +0 -36
- package/dist/components/icons/spiegel_icons/Community.js +0 -6
- package/dist/components/icons/spiegel_icons/Downvote.js +0 -6
- package/dist/components/icons/spiegel_icons/Home.js +0 -6
- package/dist/components/icons/spiegel_icons/Logora.js +0 -56
- package/dist/components/icons/spiegel_icons/MobileMenu.js +0 -29
- package/dist/components/icons/spiegel_icons/Next.js +0 -23
- package/dist/components/icons/spiegel_icons/OpenBlank.js +0 -21
- package/dist/components/icons/spiegel_icons/Point.js +0 -25
- package/dist/components/icons/spiegel_icons/Refresh.js +0 -9
- package/dist/components/icons/spiegel_icons/Search.js +0 -6
- package/dist/components/icons/spiegel_icons/Send.js +0 -6
- package/dist/components/icons/spiegel_icons/Source.js +0 -6
- package/dist/components/icons/spiegel_icons/Twitter.js +0 -44
- package/dist/components/icons/spiegel_icons/Upvote.js +0 -6
- package/dist/components/icons/spiegel_icons/User.js +0 -6
- package/dist/components/icons/spiegel_icons/Versus.js +0 -12
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { ListNode as
|
|
3
|
-
import { OverflowNode as
|
|
4
|
-
import { CharacterLimitPlugin as
|
|
5
|
-
import { LexicalComposer as
|
|
6
|
-
import { ContentEditable as
|
|
7
|
-
import { EditorRefPlugin as
|
|
8
|
-
import { LexicalErrorBoundary as
|
|
9
|
-
import { HistoryPlugin as
|
|
10
|
-
import { ListPlugin as
|
|
11
|
-
import { OnChangePlugin as
|
|
12
|
-
import { RichTextPlugin as
|
|
13
|
-
import { QuoteNode as
|
|
14
|
-
import
|
|
15
|
-
import { $getRoot as
|
|
16
|
-
import { useState as
|
|
17
|
-
import { useIntl as
|
|
18
|
-
import
|
|
1
|
+
import { jsxs as u, Fragment as X, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { ListNode as Y, ListItemNode as Z } from "@lexical/list";
|
|
3
|
+
import { OverflowNode as tt } from "@lexical/overflow";
|
|
4
|
+
import { CharacterLimitPlugin as ot } from "@lexical/react/LexicalCharacterLimitPlugin";
|
|
5
|
+
import { LexicalComposer as et } from "@lexical/react/LexicalComposer";
|
|
6
|
+
import { ContentEditable as rt } from "@lexical/react/LexicalContentEditable";
|
|
7
|
+
import { EditorRefPlugin as it } from "@lexical/react/LexicalEditorRefPlugin";
|
|
8
|
+
import { LexicalErrorBoundary as nt } from "@lexical/react/LexicalErrorBoundary";
|
|
9
|
+
import { HistoryPlugin as st } from "@lexical/react/LexicalHistoryPlugin";
|
|
10
|
+
import { ListPlugin as lt } from "@lexical/react/LexicalListPlugin";
|
|
11
|
+
import { OnChangePlugin as ct } from "@lexical/react/LexicalOnChangePlugin";
|
|
12
|
+
import { RichTextPlugin as mt } from "@lexical/react/LexicalRichTextPlugin";
|
|
13
|
+
import { QuoteNode as at } from "@lexical/rich-text";
|
|
14
|
+
import I from "classnames";
|
|
15
|
+
import { $getRoot as dt } from "lexical";
|
|
16
|
+
import { useState as a, useId as ft, useEffect as b } from "react";
|
|
17
|
+
import { useIntl as ut } from "react-intl";
|
|
18
|
+
import pt from "./EditorTheme.js";
|
|
19
19
|
import e from "./TextEditor.module.scss.js";
|
|
20
|
-
import { AutoSavePlugin as
|
|
21
|
-
import { FocusPlugin as
|
|
22
|
-
import { MaxLengthPlugin as
|
|
23
|
-
import { ResetPlugin as
|
|
24
|
-
import { SetContentPlugin as
|
|
25
|
-
import { SetRichContentPlugin as
|
|
26
|
-
import { ToolbarPlugin as
|
|
27
|
-
import { useModal as
|
|
28
|
-
import { SourceModal as
|
|
20
|
+
import { AutoSavePlugin as ht } from "./plugins/AutoSavePlugin.js";
|
|
21
|
+
import { FocusPlugin as gt } from "./plugins/FocusPlugin.js";
|
|
22
|
+
import { MaxLengthPlugin as xt } from "./plugins/MaxLengthPlugin.js";
|
|
23
|
+
import { ResetPlugin as St } from "./plugins/ResetPlugin.js";
|
|
24
|
+
import { SetContentPlugin as Ct } from "./plugins/SetContentPlugin.js";
|
|
25
|
+
import { SetRichContentPlugin as Pt } from "./plugins/SetRichContentPlugin.js";
|
|
26
|
+
import { ToolbarPlugin as Tt } from "./plugins/ToolbarPlugin.js";
|
|
27
|
+
import { useModal as vt } from "../../dialog/modal/useModal.js";
|
|
28
|
+
import { SourceModal as Nt } from "../../source/source_modal/SourceModal.js";
|
|
29
29
|
import { SourceListItem as Et } from "../../source/source_list_item/SourceListItem.js";
|
|
30
|
-
const
|
|
31
|
-
placeholder:
|
|
32
|
-
onSubmit:
|
|
30
|
+
const M = (l) => l?.replace(/ /g, " "), to = ({
|
|
31
|
+
placeholder: l,
|
|
32
|
+
onSubmit: p,
|
|
33
33
|
sources: r,
|
|
34
|
-
hideSubmit:
|
|
35
|
-
hideSourceAction:
|
|
36
|
-
onActivation:
|
|
37
|
-
disabled:
|
|
38
|
-
handleChange:
|
|
39
|
-
handleSourcesChange:
|
|
40
|
-
shortBar:
|
|
34
|
+
hideSubmit: y = !1,
|
|
35
|
+
hideSourceAction: R = !1,
|
|
36
|
+
onActivation: h,
|
|
37
|
+
disabled: w = !1,
|
|
38
|
+
handleChange: g,
|
|
39
|
+
handleSourcesChange: x,
|
|
40
|
+
shortBar: A = !1,
|
|
41
41
|
active: S = !1,
|
|
42
|
-
maxLength:
|
|
43
|
-
disableRichText:
|
|
44
|
-
editorRef:
|
|
45
|
-
uid:
|
|
46
|
-
allowedDomains:
|
|
47
|
-
hideCharCount:
|
|
48
|
-
disableAutoActivate:
|
|
49
|
-
...
|
|
42
|
+
maxLength: c,
|
|
43
|
+
disableRichText: L = !1,
|
|
44
|
+
editorRef: _,
|
|
45
|
+
uid: C,
|
|
46
|
+
allowedDomains: P = [],
|
|
47
|
+
hideCharCount: B = !1,
|
|
48
|
+
disableAutoActivate: F = !1,
|
|
49
|
+
...O
|
|
50
50
|
}) => {
|
|
51
|
-
const [n,
|
|
52
|
-
|
|
53
|
-
r && r.length > 0 &&
|
|
54
|
-
}, [r]),
|
|
55
|
-
|
|
51
|
+
const [n, U] = a(!1), [j, k] = a(""), [z, H] = a(""), [s, d] = a([]), { showModal: J } = vt(), T = ut(), v = ft();
|
|
52
|
+
b(() => {
|
|
53
|
+
r && r.length > 0 && d(r);
|
|
54
|
+
}, [r]), b(() => {
|
|
55
|
+
x && s.length > 0 && x(s);
|
|
56
56
|
}, [s]);
|
|
57
|
-
const
|
|
58
|
-
n || (
|
|
59
|
-
},
|
|
60
|
-
editable: !
|
|
61
|
-
theme:
|
|
57
|
+
const N = () => {
|
|
58
|
+
n || (U(!0), h && h());
|
|
59
|
+
}, Q = {
|
|
60
|
+
editable: !w,
|
|
61
|
+
theme: pt,
|
|
62
62
|
onError(o) {
|
|
63
63
|
console.error("TextEditor error:", o);
|
|
64
64
|
},
|
|
65
|
-
nodes: [
|
|
66
|
-
},
|
|
67
|
-
|
|
68
|
-
},
|
|
65
|
+
nodes: [Y, Z, at, tt]
|
|
66
|
+
}, W = () => {
|
|
67
|
+
N();
|
|
68
|
+
}, $ = (o) => {
|
|
69
69
|
o.read(() => {
|
|
70
|
-
const i =
|
|
71
|
-
|
|
70
|
+
const i = dt().getTextContent(), m = M(i), f = JSON.stringify(o), E = M(f);
|
|
71
|
+
k(m), H(E), g && g(m, E);
|
|
72
72
|
});
|
|
73
|
-
},
|
|
74
|
-
const i =
|
|
75
|
-
|
|
76
|
-
},
|
|
77
|
-
|
|
73
|
+
}, q = (o) => {
|
|
74
|
+
const i = j, m = z, f = s;
|
|
75
|
+
p && (o.preventDefault(), p(i, m, f)), d([]);
|
|
76
|
+
}, D = () => {
|
|
77
|
+
J(
|
|
78
78
|
/* @__PURE__ */ t(
|
|
79
|
-
|
|
79
|
+
Nt,
|
|
80
80
|
{
|
|
81
|
-
onAddSource:
|
|
82
|
-
allowedSources:
|
|
81
|
+
onAddSource: G,
|
|
82
|
+
allowedSources: P
|
|
83
83
|
}
|
|
84
84
|
)
|
|
85
85
|
);
|
|
86
|
-
},
|
|
87
|
-
|
|
88
|
-
},
|
|
86
|
+
}, G = (o) => {
|
|
87
|
+
d([...s, o]);
|
|
88
|
+
}, K = (o, i) => /* @__PURE__ */ t(
|
|
89
89
|
Et,
|
|
90
90
|
{
|
|
91
91
|
publisher: o.publisher,
|
|
@@ -94,78 +94,78 @@ const Yt = ({
|
|
|
94
94
|
index: i
|
|
95
95
|
},
|
|
96
96
|
i
|
|
97
|
-
),
|
|
98
|
-
return /* @__PURE__ */
|
|
99
|
-
/* @__PURE__ */ t(
|
|
97
|
+
), V = () => /* @__PURE__ */ t("div", { className: e.editorPlaceholder, children: l });
|
|
98
|
+
return /* @__PURE__ */ u(X, { children: [
|
|
99
|
+
/* @__PURE__ */ t(et, { initialConfig: Q, children: /* @__PURE__ */ t("div", { className: e.editorContainer, onClick: W, children: /* @__PURE__ */ u(
|
|
100
100
|
"div",
|
|
101
101
|
{
|
|
102
|
-
className:
|
|
102
|
+
className: I(e.editorInner, {
|
|
103
103
|
[e.editorInnerInactive]: !n && !S
|
|
104
104
|
}),
|
|
105
105
|
children: [
|
|
106
106
|
/* @__PURE__ */ t(
|
|
107
|
-
|
|
107
|
+
mt,
|
|
108
108
|
{
|
|
109
109
|
contentEditable: /* @__PURE__ */ t(
|
|
110
|
-
|
|
110
|
+
rt,
|
|
111
111
|
{
|
|
112
|
-
className:
|
|
112
|
+
className: I(e.editorInput, {
|
|
113
113
|
[e.editorInputInactive]: !n
|
|
114
114
|
}),
|
|
115
|
-
...
|
|
115
|
+
...O
|
|
116
116
|
}
|
|
117
117
|
),
|
|
118
|
-
placeholder:
|
|
119
|
-
ErrorBoundary:
|
|
118
|
+
placeholder: l && /* @__PURE__ */ t(V, {}),
|
|
119
|
+
ErrorBoundary: nt
|
|
120
120
|
}
|
|
121
121
|
),
|
|
122
122
|
/* @__PURE__ */ t(
|
|
123
|
-
|
|
123
|
+
Tt,
|
|
124
124
|
{
|
|
125
|
-
hideSourceAction:
|
|
126
|
-
hideSubmit:
|
|
127
|
-
disableRichText:
|
|
128
|
-
shortBar:
|
|
129
|
-
onSubmit:
|
|
130
|
-
onAddSource:
|
|
125
|
+
hideSourceAction: R,
|
|
126
|
+
hideSubmit: y,
|
|
127
|
+
disableRichText: L,
|
|
128
|
+
shortBar: A,
|
|
129
|
+
onSubmit: q,
|
|
130
|
+
onAddSource: D,
|
|
131
131
|
isActive: n || S,
|
|
132
|
-
sourceTooltip:
|
|
132
|
+
sourceTooltip: P?.length > 0 && T.formatMessage({
|
|
133
133
|
id: "input.allowed_domains_tooltip",
|
|
134
134
|
defaultMessage: "With the new source function, you can add links to your article."
|
|
135
135
|
})
|
|
136
136
|
}
|
|
137
137
|
),
|
|
138
|
-
n &&
|
|
139
|
-
/* @__PURE__ */ t(
|
|
138
|
+
n && c && !B && /* @__PURE__ */ u("div", { className: e.charactersCount, children: [
|
|
139
|
+
/* @__PURE__ */ t(ot, { maxLength: c }),
|
|
140
140
|
" ",
|
|
141
|
-
|
|
141
|
+
T.formatMessage({
|
|
142
142
|
id: "input.remaining_chars",
|
|
143
143
|
defaultMessage: "remaining characters"
|
|
144
144
|
})
|
|
145
145
|
] }),
|
|
146
|
-
/* @__PURE__ */ t(
|
|
147
|
-
/* @__PURE__ */ t(
|
|
148
|
-
/* @__PURE__ */ t(
|
|
146
|
+
/* @__PURE__ */ t(lt, {}),
|
|
147
|
+
/* @__PURE__ */ t(st, {}),
|
|
148
|
+
/* @__PURE__ */ t(ct, { onChange: $, ignoreSelectionChange: !0 }),
|
|
149
149
|
/* @__PURE__ */ t(
|
|
150
|
-
|
|
150
|
+
ht,
|
|
151
151
|
{
|
|
152
|
-
onSetContent:
|
|
153
|
-
} :
|
|
154
|
-
storageUid:
|
|
152
|
+
onSetContent: F ? () => {
|
|
153
|
+
} : N,
|
|
154
|
+
storageUid: C || v
|
|
155
155
|
}
|
|
156
156
|
),
|
|
157
|
-
/* @__PURE__ */ t(
|
|
158
|
-
/* @__PURE__ */ t(
|
|
159
|
-
/* @__PURE__ */ t(
|
|
160
|
-
|
|
161
|
-
/* @__PURE__ */ t(
|
|
162
|
-
/* @__PURE__ */ t(
|
|
157
|
+
/* @__PURE__ */ t(Ct, {}),
|
|
158
|
+
/* @__PURE__ */ t(Pt, {}),
|
|
159
|
+
/* @__PURE__ */ t(gt, {}),
|
|
160
|
+
c && /* @__PURE__ */ t(xt, { maxLength: c }),
|
|
161
|
+
/* @__PURE__ */ t(St, { storageUid: C || v }),
|
|
162
|
+
/* @__PURE__ */ t(it, { editorRef: _ })
|
|
163
163
|
]
|
|
164
164
|
}
|
|
165
165
|
) }) }),
|
|
166
|
-
r && r.length !== 0 ? /* @__PURE__ */ t("div", { className: e.sourcesBox, children: /* @__PURE__ */ t("div", { className: e.sourceList, children: r.map(
|
|
166
|
+
r && r.length !== 0 ? /* @__PURE__ */ t("div", { className: e.sourcesBox, children: /* @__PURE__ */ t("div", { className: e.sourceList, children: r.map(K) }) }) : null
|
|
167
167
|
] });
|
|
168
168
|
};
|
|
169
169
|
export {
|
|
170
|
-
|
|
170
|
+
to as TextEditor
|
|
171
171
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import '../../../assets/components/navigation/tabs/Tabs.module-
|
|
1
|
+
import '../../../assets/components/navigation/tabs/Tabs.module-CtDi0tAd.css';const a = "_navTabs_1q9zp_3", n = "_navItem_1q9zp_28", t = "_navLink_1q9zp_32", v = "_active_1q9zp_62", _ = {
|
|
2
2
|
navTabs: a,
|
|
3
3
|
navItem: n,
|
|
4
4
|
navLink: t,
|
|
5
|
-
active:
|
|
5
|
+
active: v
|
|
6
6
|
};
|
|
7
7
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
v as active,
|
|
9
|
+
_ as default,
|
|
10
10
|
n as navItem,
|
|
11
11
|
t as navLink,
|
|
12
12
|
a as navTabs
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import '../../../assets/components/vote/vote_button/VoteButton.module-
|
|
1
|
+
import '../../../assets/components/vote/vote_button/VoteButton.module-BdTTr7vk.css';const t = "_voteButton_1q78e_3", e = "_active_1q78e_18", o = "_disabled_1q78e_27", s = {
|
|
2
2
|
voteButton: t,
|
|
3
3
|
active: e,
|
|
4
4
|
disabled: o
|
|
5
5
|
};
|
|
6
6
|
export {
|
|
7
7
|
e as active,
|
|
8
|
-
|
|
8
|
+
s as default,
|
|
9
9
|
o as disabled,
|
|
10
10
|
t as voteButton
|
|
11
11
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logora/debate",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"description": "Design system of @Logora made with React",
|
|
@@ -24,6 +24,18 @@
|
|
|
24
24
|
"./package.json": "./package.json"
|
|
25
25
|
},
|
|
26
26
|
"author": "Logora <contact@logora.fr>",
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "vite build --config vite.lib.config.mjs",
|
|
29
|
+
"dev": "storybook dev -p 6006",
|
|
30
|
+
"storybook": "storybook dev -p 6006",
|
|
31
|
+
"build-storybook": "storybook build",
|
|
32
|
+
"format": "npx @biomejs/biome format --write ./src",
|
|
33
|
+
"lint": "npx @biomejs/biome lint ./src",
|
|
34
|
+
"check": "npx @biomejs/biome check ./src",
|
|
35
|
+
"test": "vitest run",
|
|
36
|
+
"test:watch": "vitest",
|
|
37
|
+
"test:coverage": "vitest run --coverage"
|
|
38
|
+
},
|
|
27
39
|
"repository": {
|
|
28
40
|
"type": "git",
|
|
29
41
|
"url": "git+https://github.com/Logora/interface.git"
|
|
@@ -100,17 +112,5 @@
|
|
|
100
112
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
101
113
|
"react-router": "^6.29.0",
|
|
102
114
|
"react-router-dom": "^6.29.0"
|
|
103
|
-
},
|
|
104
|
-
"scripts": {
|
|
105
|
-
"build": "vite build --config vite.lib.config.mjs",
|
|
106
|
-
"dev": "storybook dev -p 6006",
|
|
107
|
-
"storybook": "storybook dev -p 6006",
|
|
108
|
-
"build-storybook": "storybook build",
|
|
109
|
-
"format": "npx @biomejs/biome format --write ./src",
|
|
110
|
-
"lint": "npx @biomejs/biome lint ./src",
|
|
111
|
-
"check": "npx @biomejs/biome check ./src",
|
|
112
|
-
"test": "vitest run",
|
|
113
|
-
"test:watch": "vitest",
|
|
114
|
-
"test:coverage": "vitest run --coverage"
|
|
115
115
|
}
|
|
116
|
-
}
|
|
116
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._argument_1s4qc_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_1s4qc_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_1s4qc_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_1s4qc_23._position-1_1s4qc_34{border-left-color:var(--for-primary-color, #cc6a6d)!important}._argumentReply_1s4qc_23._position-2_1s4qc_37{border-left-color:var(--against-primary-color, #7980bb)!important}._argumentReply_1s4qc_23._position-3_1s4qc_40{border-left-color:var(--third-position-color-primary, #9b9b9b)!important}._argumentReply_1s4qc_23._level-1_1s4qc_43{margin-left:1em!important}._argumentReply_1s4qc_23._level-2_1s4qc_46{margin-left:2em!important}._argumentReply_1s4qc_23._level-3_1s4qc_49{margin-left:3em!important}._argumentReply_1s4qc_23._level-4_1s4qc_52{margin-left:4em!important}._argumentReply_1s4qc_23._level-5_1s4qc_55{margin-left:5em!important}._argumentReply_1s4qc_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_1s4qc_23{border-left:4px solid}}._flash_1s4qc_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_1s4qc_34._flash_1s4qc_73{border-color:var(--for-primary-color, #cc6a6d)}._position-2_1s4qc_37._flash_1s4qc_73{border-color:var(--against-primary-color, #7980bb)}._position-3_1s4qc_40._flash_1s4qc_73{border-color:var(--third-position-color-primary, #9b9b9b);margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._argumentBody_1s4qc_94{font-size:var(--font-size-normal, 16px);line-height:var(--line-height-loose, 1.38em)}._argumentDeletedBody_1s4qc_99{font-size:var(--font-size-small, 16px);color:var(--text-secondary, #5F5F5F)}._fixedHeight_1s4qc_104{height:100px;overflow:hidden;position:relative}._fixedHeight_1s4qc_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_1s4qc_122{line-height:var(--line-height-loose, 1.38em);overflow-wrap:break-word;word-wrap:break-word}._argumentContent_1s4qc_122 *{font-size:var(--font-size-normal, 16px)}._argumentSourcesList_1s4qc_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_1s4qc_131 a{text-decoration:none}._repliesList_1s4qc_144{margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._readMoreLink_1s4qc_148{margin-top:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;display:flex;justify-content:center}._replyStyle_1s4qc_154{background:var(--text-tertiary, #fafafa)}._replyTo_1s4qc_158{display:flex!important;flex-direction:row!important;align-items:flex-start!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_1s4qc_158 span{padding-left:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important;cursor:pointer;text-decoration:underline}._replyTo_1s4qc_158 svg{padding:2px 0 0 2px;fill:var(--text-secondary, #5F5F5F)}._replyingTo_1s4qc_179{display:flex!important}._headerPosition-0_1s4qc_183{background-color:var(--call-primary-color, #434343)!important}._headerPosition-1_1s4qc_187{background-color:var(--for-primary-color, #cc6a6d)!important}._headerPosition-2_1s4qc_191{background-color:var(--against-primary-color, #7980bb)!important}._headerPosition-3_1s4qc_195{background-color:var(--third-position-color-primary, #9b9b9b)!important}._voteButtonPosition-1_1s4qc_199{color:var(--for-primary-color, #cc6a6d)!important}._voteButtonPosition-1_1s4qc_199 svg{fill:var(--for-primary-color, #cc6a6d)!important}._voteButtonPosition-2_1s4qc_206{color:var(--against-primary-color, #7980bb)!important}._voteButtonPosition-2_1s4qc_206 svg{fill:var(--against-primary-color, #7980bb)!important}._voteButtonPosition-3_1s4qc_213{color:var(--third-position-color-primary, #9b9b9b)!important}._voteButtonPosition-3_1s4qc_213 svg{fill:var(--third-position-color-primary, #9b9b9b)!important}@media(prefers-color-scheme:dark){._replyStyle_1s4qc_154{background-color:var(--text-tertiary, #fafafa)}._argumentStyle_1s4qc_224{background-color:var(--background-color-primary, white)}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._dropdownWrapper_5fyic_3{position:relative;display:inline-block}._dropdownHeader_5fyic_8{border:none;padding:0!important;cursor:pointer;background-color:var(--background-color-primary, white)}._dropdownHeader_5fyic_8:focus-visible{outline:revert}._dropdownList_5fyic_18{position:absolute;z-index:3;background:var(--background-color-primary, white);box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));border:var(--box-border, 1px solid rgba(7, 42, 68, .1));border-radius:var(--box-border-radius, 6px);overscroll-behavior-y:contain;width:max-content}._left_5fyic_29{left:0!important}._right_5fyic_33{right:0!important}._center_5fyic_37{left:50%;transform:translate(-50%)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._container_gbx0q_3{padding:var(--space-unit, 1em)!important;display:flex;gap:var(--spacer-md, calc(var(--space-unit, 1em) * .75));position:relative;font-size:var(--font-size-small, 16px);border-radius:var(--box-border-radius, 6px);box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));border:var(--box-border, 1px solid rgba(7, 42, 68, .1));height:fit-content}._icon_gbx0q_15{position:relative;width:30px;height:30px;min-width:30px;max-height:30px;border-radius:50%;background-color:var(--call-primary-color, #434343)}._icon_gbx0q_15 svg{position:absolute;transform:translate(-50%,-50%);top:50%;left:50%;fill:var(--text-light, white)!important}._timeAgo_gbx0q_32{font-weight:var(--font-weight-normal, 400);color:var(--text-secondary, #5F5F5F);font-size:var(--font-size-extra-small, 14px)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._navTabs_ahca6_3{display:flex;flex-wrap:nowrap;gap:var(--spacer-lg, calc(var(--space-unit, 1em) * 1.5));white-space:nowrap;padding-left:0;margin-bottom:0;border-bottom:none!important;list-style:none}@container (max-width: 575.98px){._navTabs_ahca6_3{font-size:var(--font-size-normal, 16px);gap:var(--space-unit, 1em)}}._navTabs_ahca6_3{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}._navTabs_ahca6_3::-webkit-scrollbar{display:none}._navItem_ahca6_28{cursor:pointer;position:relative}._navLink_ahca6_33{display:block;padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));border:none!important;color:var(--text-primary, #222222);outline:0}._navLink_ahca6_33:hover,._navLink_ahca6_33:focus{text-decoration:none;color:var(--text-primary, #222222)!important;background:transparent}._navLink_ahca6_33._disabled_ahca6_45{color:var(--darkest-text-tertiary, #c7c7c7);pointer-events:none;cursor:default}._navLink_ahca6_33:after{content:"";background-color:var(--text-primary, #222222);height:2px;position:absolute;width:100%;left:0;bottom:-1px;z-index:1;transition:transform .25s ease 0s;transform:scale(0)}._navLink_ahca6_33._active_ahca6_62{color:var(--text-primary, #222222)!important;background:transparent;font-weight:var(--font-weight-bold, 700)}._navLink_ahca6_33._active_ahca6_62:after{transform:scale(1)}@media(hover:hover){._navItem_ahca6_28:hover>._navLink_ahca6_33:after{transform:scale(1)}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._voteButton_17ode_3{background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;cursor:pointer;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}._active_17ode_18{font-weight:var(--font-weight-bold, 700);color:var(--call-primary-color, #434343)}._active_17ode_18 svg{fill:var(--call-primary-color, #434343)!important;fill-rule:evenodd}._disabled_17ode_27{cursor:not-allowed;opacity:.6}._disabled_17ode_27 svg{fill:var(--text-secondary, #5F5F5F);fill-rule:evenodd}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as C } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const r = (V) => /* @__PURE__ */ C("svg", { viewBox: "0 0 50 50", xmlns: "http://www.w3.org/2000/svg", ...V, children: /* @__PURE__ */ C(
|
|
4
|
-
"path",
|
|
5
|
-
{
|
|
6
|
-
"fill-rule": "evenodd",
|
|
7
|
-
"clip-rule": "evenodd",
|
|
8
|
-
d: "M30.1824 7.02718C30.1824 4.75938 27.9853 2.7027 25.3076 2.7027C22.6297 2.7027 20.4324 4.75947 20.4324 7.02718V7.98188L19.5326 8.30087C14.0527 10.2434 11.4527 15.5412 11.4527 22.1621V33.2881H10.1013C6.31513 33.2881 4.7027 35.2386 4.7027 36.6665V39.1892C4.7027 39.5726 4.85077 39.8397 5.06454 40.0283C5.29777 40.234 5.63116 40.3605 5.97297 40.3605H44.6419C44.9837 40.3605 45.3171 40.234 45.5503 40.0283C45.7641 39.8397 45.9122 39.5726 45.9122 39.1892V36.6665C45.9122 35.2394 44.3007 33.2881 40.5067 33.2881H39.1554V22.1621C39.1554 15.54 36.5612 10.2431 31.0823 8.30087L30.1824 7.98188V7.02718ZM25.3076 0C28.8726 0 32.2895 2.5279 32.8153 6.07549C39.1898 8.76985 41.8581 15.205 41.8581 22.1621V30.6622C45.6917 31.1043 48.6148 33.4207 48.6148 36.6665V39.1892C48.6148 41.6664 46.5347 43.0632 44.6419 43.0632H33.9924C33.0746 46.9546 29.5204 50 25.3038 50C21.086 50 17.5384 46.9535 16.6218 43.0632H5.97297C4.08013 43.0632 2 41.6664 2 39.1892V36.6665C2 33.4218 4.92152 31.1051 8.75 30.6624V22.1621C8.75 15.2038 11.4252 8.76952 17.7995 6.07548C18.3254 2.52784 21.7427 0 25.3076 0ZM25.3038 47.2973C27.992 47.2973 30.3318 45.4777 31.1804 43.0632H19.4335C20.2808 45.4785 22.6167 47.2973 25.3038 47.2973Z"
|
|
9
|
-
}
|
|
10
|
-
) });
|
|
11
|
-
export {
|
|
12
|
-
r as Alarm
|
|
13
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { jsxs as r, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const s = (n) => /* @__PURE__ */ r("svg", { viewBox: "0 0 25 25", xmlns: "http://www.w3.org/2000/svg", ...n, children: [
|
|
4
|
-
/* @__PURE__ */ o("circle", { cx: "12.5", cy: "12.5", r: "11.5", fill: "none", stroke: "#000" }),
|
|
5
|
-
/* @__PURE__ */ o(
|
|
6
|
-
"path",
|
|
7
|
-
{
|
|
8
|
-
d: "M10.884 7.1H14.046L13.519 14.869H11.411L10.884 7.1ZM12.465 19.136C12.0003 19.136 11.6093 18.9887 11.292 18.694C10.986 18.388 10.833 18.0197 10.833 17.589C10.833 17.1583 10.986 16.8013 11.292 16.518C11.598 16.2233 11.989 16.076 12.465 16.076C12.941 16.076 13.332 16.2233 13.638 16.518C13.944 16.8013 14.097 17.1583 14.097 17.589C14.097 18.0197 13.9383 18.388 13.621 18.694C13.315 18.9887 12.9297 19.136 12.465 19.136Z",
|
|
9
|
-
fill: "#000"
|
|
10
|
-
}
|
|
11
|
-
)
|
|
12
|
-
] });
|
|
13
|
-
export {
|
|
14
|
-
s as Announcement
|
|
15
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const a = (r) => /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...r, children: /* @__PURE__ */ o("path", { d: "M19,11H9l3.29-3.29a1,1,0,0,0,0-1.42,1,1,0,0,0-1.41,0l-4.29,4.3A2,2,0,0,0,6,12H6a2,2,0,0,0,.59,1.4l4.29,4.3a1,1,0,1,0,1.41-1.42L9,13H19a1,1,0,0,0,0-2Z" }) });
|
|
4
|
-
export {
|
|
5
|
-
a as Arrow
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const l = (h) => /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...h, children: /* @__PURE__ */ o("path", { d: "M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z" }) });
|
|
4
|
-
export {
|
|
5
|
-
l as Blockquote
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const c = (h) => /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...h, children: /* @__PURE__ */ o("path", { d: "M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z" }) });
|
|
4
|
-
export {
|
|
5
|
-
c as Bold
|
|
6
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsxs as A, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const s = (t) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: [
|
|
4
|
-
/* @__PURE__ */ a("path", { d: "M19,4h-.508L16.308,1.168A3.023,3.023,0,0,0,13.932,0H10.068A3.023,3.023,0,0,0,7.692,1.168L5.508,4H5A5.006,5.006,0,0,0,0,9V19a5.006,5.006,0,0,0,5,5H19a5.006,5.006,0,0,0,5-5V9A5.006,5.006,0,0,0,19,4ZM9.276,2.39A1.006,1.006,0,0,1,10.068,2h3.864a1.008,1.008,0,0,1,.792.39L15.966,4H8.034ZM22,19a3,3,0,0,1-3,3H5a3,3,0,0,1-3-3V9A3,3,0,0,1,5,6H19a3,3,0,0,1,3,3Z" }),
|
|
5
|
-
/* @__PURE__ */ a("path", { d: "M12,8a6,6,0,1,0,6,6A6.006,6.006,0,0,0,12,8Zm0,10a4,4,0,1,1,4-4A4,4,0,0,1,12,18Z" })
|
|
6
|
-
] });
|
|
7
|
-
export {
|
|
8
|
-
s as Camera
|
|
9
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const n = (o) => /* @__PURE__ */ e(
|
|
4
|
-
"svg",
|
|
5
|
-
{
|
|
6
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
-
viewBox: "0 0 24 24",
|
|
8
|
-
fill: "none",
|
|
9
|
-
stroke: "currentColor",
|
|
10
|
-
strokeWidth: "2",
|
|
11
|
-
strokeLinecap: "round",
|
|
12
|
-
strokeLinejoin: "round",
|
|
13
|
-
...o,
|
|
14
|
-
children: [
|
|
15
|
-
/* @__PURE__ */ r("circle", { cx: "12", cy: "12", r: "10" }),
|
|
16
|
-
/* @__PURE__ */ r("path", { d: "M9 12l2 2 4-4" })
|
|
17
|
-
]
|
|
18
|
-
}
|
|
19
|
-
);
|
|
20
|
-
export {
|
|
21
|
-
n as CheckCircle
|
|
22
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsxs as t, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const p = (o) => /* @__PURE__ */ t("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...o, children: [
|
|
4
|
-
/* @__PURE__ */ a("path", { d: "M19,0H5A5.006,5.006,0,0,0,0,5V19a5.006,5.006,0,0,0,5,5H19a5.006,5.006,0,0,0,5-5V5A5.006,5.006,0,0,0,19,0Zm3,19a3,3,0,0,1-3,3H5a3,3,0,0,1-3-3V5A3,3,0,0,1,5,2H19a3,3,0,0,1,3,3Z" }),
|
|
5
|
-
/* @__PURE__ */ a("path", { d: "M9.333,15.919,5.414,12A1,1,0,0,0,4,12H4a1,1,0,0,0,0,1.414l3.919,3.919a2,2,0,0,0,2.829,0L20,8.081a1,1,0,0,0,0-1.414h0a1,1,0,0,0-1.414,0Z" })
|
|
6
|
-
] });
|
|
7
|
-
export {
|
|
8
|
-
p as Checkbox
|
|
9
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as C } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const p = (o) => /* @__PURE__ */ C("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 128 128", ...o, children: /* @__PURE__ */ C("path", { d: "M 64 11 C 34.8 11 11 34.8 11 64 C 11 93.2 34.8 117 64 117 C 93.2 117 117 93.2 117 64 C 117 34.8 93.2 11 64 11 z M 64 17 C 89.9 17 111 38.1 111 64 C 111 89.9 89.9 111 64 111 C 38.1 111 17 89.9 17 64 C 17 38.1 38.1 17 64 17 z M 64 26 C 62.3 26 61 27.3 61 29 L 61 54.5 C 56.9 55.8 54 59.6 54 64 C 54 69.5 58.5 74 64 74 C 68.5 74 72.3 71.1 73.5 67 L 89 67 C 90.7 67 92 65.7 92 64 C 92 62.3 90.7 61 89 61 L 73.5 61 C 72.5 57.9 70.1 55.4 67 54.5 L 67 29 C 67 27.3 65.7 26 64 26 z M 64 60 C 66.2 60 68 61.8 68 64 C 68 66.2 66.2 68 64 68 C 61.8 68 60 66.2 60 64 C 60 61.8 61.8 60 64 60 z" }) });
|
|
4
|
-
export {
|
|
5
|
-
p as Clock
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as C } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const r = (o) => /* @__PURE__ */ C("svg", { viewBox: "0 0 14 14", xmlns: "http://www.w3.org/2000/svg", ...o, children: /* @__PURE__ */ C("path", { d: "M13.0001 1C12.8125 0.81253 12.5582 0.707214 12.2931 0.707214C12.0279 0.707214 11.7736 0.81253 11.5861 1L7.00006 5.586L2.41406 1C2.22653 0.81253 1.97223 0.707214 1.70706 0.707214C1.4419 0.707214 1.18759 0.81253 1.00006 1C0.812591 1.18753 0.707275 1.44184 0.707275 1.707C0.707275 1.97216 0.812591 2.22647 1.00006 2.414L5.58606 7L1.00006 11.586C0.812591 11.7735 0.707275 12.0278 0.707275 12.293C0.707275 12.5582 0.812591 12.8125 1.00006 13C1.18759 13.1875 1.4419 13.2928 1.70706 13.2928C1.97223 13.2928 2.22653 13.1875 2.41406 13L7.00006 8.414L11.5861 13C11.7736 13.1875 12.0279 13.2928 12.2931 13.2928C12.5582 13.2928 12.8125 13.1875 13.0001 13C13.1875 12.8125 13.2928 12.5582 13.2928 12.293C13.2928 12.0278 13.1875 11.7735 13.0001 11.586L8.41406 7L13.0001 2.414C13.1875 2.22647 13.2928 1.97216 13.2928 1.707C13.2928 1.44184 13.1875 1.18753 13.0001 1Z" }) });
|
|
4
|
-
export {
|
|
5
|
-
r as Close
|
|
6
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const i = (o) => /* @__PURE__ */ r("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", ...o, children: [
|
|
4
|
-
/* @__PURE__ */ t(
|
|
5
|
-
"path",
|
|
6
|
-
{
|
|
7
|
-
d: "M6.147 10.473 3.238 8.187l2.91-2.078M9.784 10.473l2.909-2.286-2.91-2.078",
|
|
8
|
-
stroke: "#000",
|
|
9
|
-
fill: "none"
|
|
10
|
-
}
|
|
11
|
-
),
|
|
12
|
-
/* @__PURE__ */ t(
|
|
13
|
-
"path",
|
|
14
|
-
{
|
|
15
|
-
transform: "matrix(.27976 -.96007 .92211 .38692 7.22 11.54)",
|
|
16
|
-
strokeWidth: 0.7,
|
|
17
|
-
stroke: "#000",
|
|
18
|
-
d: "M0-.35h6.565"
|
|
19
|
-
}
|
|
20
|
-
),
|
|
21
|
-
/* @__PURE__ */ t(
|
|
22
|
-
"rect",
|
|
23
|
-
{
|
|
24
|
-
x: 0.5,
|
|
25
|
-
y: 0.5,
|
|
26
|
-
width: 15,
|
|
27
|
-
height: 15,
|
|
28
|
-
rx: 2.5,
|
|
29
|
-
fill: "none",
|
|
30
|
-
stroke: "#000"
|
|
31
|
-
}
|
|
32
|
-
)
|
|
33
|
-
] });
|
|
34
|
-
export {
|
|
35
|
-
i as Code
|
|
36
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const t = (m) => /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...m, children: /* @__PURE__ */ a("path", { d: "M12,16a4,4,0,1,1,4-4A4,4,0,0,1,12,16Zm0-6a2,2,0,1,0,2,2A2,2,0,0,0,12,10Zm6,13A6,6,0,0,0,6,23a1,1,0,0,0,2,0,4,4,0,0,1,8,0,1,1,0,0,0,2,0ZM18,8a4,4,0,1,1,4-4A4,4,0,0,1,18,8Zm0-6a2,2,0,1,0,2,2A2,2,0,0,0,18,2Zm6,13a6.006,6.006,0,0,0-6-6,1,1,0,0,0,0,2,4,4,0,0,1,4,4,1,1,0,0,0,2,0ZM6,8a4,4,0,1,1,4-4A4,4,0,0,1,6,8ZM6,2A2,2,0,1,0,8,4,2,2,0,0,0,6,2ZM2,15a4,4,0,0,1,4-4A1,1,0,0,0,6,9a6.006,6.006,0,0,0-6,6,1,1,0,0,0,2,0Z" }) });
|
|
4
|
-
export {
|
|
5
|
-
t as Community
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as L } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const A = (C) => /* @__PURE__ */ L("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 48 48", ...C, children: /* @__PURE__ */ L("path", { d: "M 13 4 C 10.250484 4 8 6.2504839 8 9 L 8 40 C 8 42.749516 10.250484 45 13 45 L 35 45 C 37.749516 45 40 42.749516 40 40 L 40 20 A 1.0001 1.0001 0 1 0 38 20 L 38 40 C 38 41.668484 36.668484 43 35 43 L 13 43 C 11.331516 43 10 41.668484 10 40 L 10 9 C 10 7.3315161 11.331516 6 13 6 L 26.757812 6 C 26.848824 6 26.910938 6.0874954 27 6.0996094 L 27 13 C 27 15.197334 28.802666 17 31 17 L 39 17 A 1.0001 1.0001 0 0 0 39.707031 15.292969 L 29.585938 5.171875 C 28.836398 4.4210018 27.818469 4 26.757812 4 L 13 4 z M 29 7.4140625 L 36.585938 15 L 31 15 C 29.883334 15 29 14.116666 29 13 L 29 7.4140625 z M 16 24 A 1.0001 1.0001 0 1 0 16 26 L 32 26 A 1.0001 1.0001 0 1 0 32 24 L 16 24 z M 16 29 A 1.0001 1.0001 0 1 0 16 31 L 32 31 A 1.0001 1.0001 0 1 0 32 29 L 16 29 z M 16 34 A 1.0001 1.0001 0 1 0 16 36 L 26 36 A 1.0001 1.0001 0 1 0 26 34 L 16 34 z" }) });
|
|
4
|
-
export {
|
|
5
|
-
A as Document
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as C } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const L = (o) => /* @__PURE__ */ C("svg", { viewBox: "0 0 27 25", xmlns: "http://www.w3.org/2000/svg", ...o, children: /* @__PURE__ */ C("path", { d: "M26.0359 12.8125L25.2696 7.60417C25.0812 6.36451 24.435 5.23074 23.4484 4.40882C22.4618 3.5869 21.2003 3.13138 19.893 3.125H5.43525C3.99426 3.12665 2.61279 3.67592 1.59385 4.65231C0.574921 5.62871 0.00172608 6.95251 0 8.33333L0 13.5417C0.00172608 14.9225 0.574921 16.2463 1.59385 17.2227C2.61279 18.1991 3.99426 18.7483 5.43525 18.75H8.38333L10.4639 22.7896C10.8137 23.4704 11.4072 24.0081 12.1362 24.3045C12.8652 24.6009 13.6811 24.6364 14.4352 24.4044C15.1892 24.1724 15.831 23.6884 16.2436 23.0407C16.6563 22.393 16.8122 21.6247 16.683 20.876L16.3177 18.75H20.654C21.432 18.75 22.2011 18.59 22.909 18.2807C23.617 17.9714 24.2474 17.52 24.7577 16.9571C25.2679 16.3942 25.6461 15.7329 25.8666 15.0178C26.0871 14.3028 26.1449 13.5508 26.0359 12.8125ZM5.43525 5.20833H7.60935V16.6667H5.43525C4.57034 16.6667 3.74085 16.3374 3.12927 15.7514C2.51769 15.1653 2.1741 14.3705 2.1741 13.5417V8.33333C2.1741 7.50453 2.51769 6.70968 3.12927 6.12362C3.74085 5.53757 4.57034 5.20833 5.43525 5.20833V5.20833ZM23.115 15.5917C22.8089 15.9291 22.4308 16.1997 22.0063 16.3852C21.5817 16.5706 21.1206 16.6666 20.654 16.6667H15.0372C14.8795 16.6666 14.7237 16.6995 14.5806 16.7629C14.4375 16.8263 14.3105 16.9188 14.2084 17.034C14.1064 17.1491 14.0316 17.2842 13.9895 17.4298C13.9473 17.5754 13.9387 17.728 13.9642 17.8771L14.5382 21.2104C14.5658 21.3651 14.5574 21.5238 14.5136 21.675C14.4698 21.8263 14.3917 21.9664 14.2849 22.0854C14.1597 22.2148 14.0042 22.3138 13.8313 22.3743C13.6583 22.4349 13.4728 22.4552 13.2901 22.4336C13.1073 22.4121 12.9325 22.3493 12.78 22.2503C12.6275 22.1514 12.5018 22.0192 12.413 21.8646L10.0335 17.2479C9.9707 17.1324 9.8859 17.0293 9.78345 16.9438V5.20833H19.893C20.6782 5.21108 21.4361 5.48409 22.0287 5.9776C22.6214 6.47111 23.0092 7.15225 23.1216 7.89688L23.889 13.1052C23.9534 13.5486 23.9176 14.0001 23.7841 14.4291C23.6505 14.858 23.4224 15.2545 23.115 15.5917V15.5917Z" }) });
|
|
4
|
-
export {
|
|
5
|
-
L as Downvote
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const l = (h) => /* @__PURE__ */ c("svg", { viewBox: "0 0 300 522", xmlns: "http://www.w3.org/2000/svg", ...h, children: /* @__PURE__ */ c("path", { d: "M180 512H98.008c-13.695 0-24.836-11.14-24.836-24.836V302.227H25.336C11.64 302.227.5 291.082.5 277.39v-79.246c0-13.696 11.14-24.836 24.836-24.836h47.836v-39.684c0-39.348 12.355-72.824 35.726-96.805C132.375 12.73 165.184 0 203.778 0l62.53.102c13.672.023 24.794 11.164 24.794 24.835v73.579c0 13.695-11.137 24.836-24.829 24.836l-42.101.015c-12.84 0-16.11 2.574-16.809 3.363-1.152 1.31-2.523 5.008-2.523 15.223v31.352h58.27c4.386 0 8.636 1.082 12.288 3.12 7.88 4.403 12.778 12.727 12.778 21.723l-.031 79.247c0 13.687-11.141 24.828-24.836 24.828h-58.47v184.941C204.84 500.86 193.696 512 180 512zm-76.813-30.016h71.633V288.79c0-9.144 7.442-16.582 16.582-16.582h66.727l.027-68.883h-66.758c-9.14 0-16.578-7.437-16.578-16.582v-44.789c0-11.726 1.192-25.062 10.043-35.086 10.696-12.117 27.551-13.515 39.301-13.515l36.922-.016V30.109l-57.332-.093c-62.024 0-100.566 39.703-100.566 103.609v53.117c0 9.14-7.438 16.582-16.579 16.582H30.516v68.883h56.093c9.141 0 16.579 7.438 16.579 16.582zM266.25 30.117h.004zm0 0" }) });
|
|
4
|
-
export {
|
|
5
|
-
l as Facebook
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const r = (o) => /* @__PURE__ */ c("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...o, children: /* @__PURE__ */ c("path", { d: "M3.2 1C3.2 0.447 2.753 0 2.2 0S1.2 0.447 1.2 1V2.4 9.6 12.8 19.2c0 0.707 0.573 1.28 1.28 1.28s1.28-0.573 1.28-1.28v-5.12l2.57-0.644c1.644-0.412 3.384-0.22 4.902 0.536 1.768 0.884 3.82 0.992 5.668 0.296l1.388-0.52c0.5-0.188 0.832-0.664 0.832-1.196V4.332c0-0.92-0.968-1.52-1.792-1.108l-0.384 0.192c-1.852 0.928-4.032 0.928-5.884 0-1.404-0.704-3.016-0.88-4.54-0.5L3.2 1.92V1z" }) });
|
|
4
|
-
export {
|
|
5
|
-
r as Flag
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const r = (o) => /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...o, children: /* @__PURE__ */ a("path", { d: "M23.121,9.069,15.536,1.483a5.008,5.008,0,0,0-7.072,0L.879,9.069A2.978,2.978,0,0,0,0,11.19v9.817a3,3,0,0,0,3,3H21a3,3,0,0,0,3-3V11.19A2.978,2.978,0,0,0,23.121,9.069ZM15,22.007H9V18.073a3,3,0,0,1,6,0Zm7-1a1,1,0,0,1-1,1H17V18.073a5,5,0,0,0-10,0v3.934H3a1,1,0,0,1-1-1V11.19a1.008,1.008,0,0,1,.293-.707L9.878,2.9a3.008,3.008,0,0,1,4.244,0l7.585,7.586A1.008,1.008,0,0,1,22,11.19Z" }) });
|
|
4
|
-
export {
|
|
5
|
-
r as Home
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const v = (o) => /* @__PURE__ */ t("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...o, children: /* @__PURE__ */ t("path", { d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z" }) });
|
|
4
|
-
export {
|
|
5
|
-
v as Italic
|
|
6
|
-
};
|