@logora/debate 0.3.34 → 0.3.36
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/source/context_source_list/ContextSourceList.module-DUPbI-wb.css +1 -0
- package/dist/assets/components/source/source_list_item/SourceListItem.module-fm_uHuY4.css +1 -0
- package/dist/components/input/text_editor/TextEditor.js +104 -97
- package/dist/components/source/context_source_list/ContextSourceList.js +8 -7
- package/dist/components/source/context_source_list/ContextSourceList.module.scss.js +14 -12
- package/dist/components/source/source_list_item/SourceListItem.js +42 -30
- package/dist/components/source/source_list_item/SourceListItem.module.scss.js +8 -6
- package/package.json +1 -1
- package/dist/assets/components/source/context_source_list/ContextSourceList.module-D6X_0dB7.css +0 -1
- package/dist/assets/components/source/source_list_item/SourceListItem.module-mTxHhXPV.css +0 -1
package/dist/assets/components/source/context_source_list/ContextSourceList.module-DUPbI-wb.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
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}
|
|
@@ -0,0 +1 @@
|
|
|
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,171 +1,178 @@
|
|
|
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
|
|
1
|
+
import { jsxs as f, Fragment as Y, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { ListNode as Z, ListItemNode as oo } from "@lexical/list";
|
|
3
|
+
import { OverflowNode as to } from "@lexical/overflow";
|
|
4
|
+
import { CharacterLimitPlugin as eo } from "@lexical/react/LexicalCharacterLimitPlugin";
|
|
5
|
+
import { LexicalComposer as ro } from "@lexical/react/LexicalComposer";
|
|
6
|
+
import { ContentEditable as io } from "@lexical/react/LexicalContentEditable";
|
|
7
|
+
import { EditorRefPlugin as no } from "@lexical/react/LexicalEditorRefPlugin";
|
|
8
|
+
import { LexicalErrorBoundary as so } from "@lexical/react/LexicalErrorBoundary";
|
|
9
|
+
import { HistoryPlugin as lo } from "@lexical/react/LexicalHistoryPlugin";
|
|
10
|
+
import { ListPlugin as co } from "@lexical/react/LexicalListPlugin";
|
|
11
|
+
import { OnChangePlugin as mo } from "@lexical/react/LexicalOnChangePlugin";
|
|
12
|
+
import { RichTextPlugin as ao } from "@lexical/react/LexicalRichTextPlugin";
|
|
13
|
+
import { QuoteNode as uo } from "@lexical/rich-text";
|
|
14
14
|
import I from "classnames";
|
|
15
|
-
import { $getRoot as
|
|
16
|
-
import { useState as
|
|
17
|
-
import { useIntl as
|
|
18
|
-
import
|
|
15
|
+
import { $getRoot as fo } from "lexical";
|
|
16
|
+
import { useState as d, useId as po, useEffect as R } from "react";
|
|
17
|
+
import { useIntl as ho } from "react-intl";
|
|
18
|
+
import go 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
|
|
29
|
-
import { SourceListItem as
|
|
30
|
-
const
|
|
20
|
+
import { AutoSavePlugin as xo } from "./plugins/AutoSavePlugin.js";
|
|
21
|
+
import { FocusPlugin as So } from "./plugins/FocusPlugin.js";
|
|
22
|
+
import { MaxLengthPlugin as vo } from "./plugins/MaxLengthPlugin.js";
|
|
23
|
+
import { ResetPlugin as Co } from "./plugins/ResetPlugin.js";
|
|
24
|
+
import { SetContentPlugin as Po } from "./plugins/SetContentPlugin.js";
|
|
25
|
+
import { SetRichContentPlugin as To } from "./plugins/SetRichContentPlugin.js";
|
|
26
|
+
import { ToolbarPlugin as No } from "./plugins/ToolbarPlugin.js";
|
|
27
|
+
import { useModal as Eo } from "../../dialog/modal/useModal.js";
|
|
28
|
+
import { SourceModal as Io } from "../../source/source_modal/SourceModal.js";
|
|
29
|
+
import { SourceListItem as Ro } from "../../source/source_list_item/SourceListItem.js";
|
|
30
|
+
const b = (l) => l?.replace(/ /g, " "), et = ({
|
|
31
31
|
placeholder: l,
|
|
32
32
|
onSubmit: p,
|
|
33
|
-
sources:
|
|
34
|
-
hideSubmit:
|
|
35
|
-
hideSourceAction:
|
|
33
|
+
sources: c,
|
|
34
|
+
hideSubmit: M = !1,
|
|
35
|
+
hideSourceAction: y = !1,
|
|
36
36
|
onActivation: h,
|
|
37
37
|
disabled: w = !1,
|
|
38
38
|
handleChange: g,
|
|
39
39
|
handleSourcesChange: x,
|
|
40
40
|
shortBar: A = !1,
|
|
41
41
|
active: S = !1,
|
|
42
|
-
maxLength:
|
|
42
|
+
maxLength: m,
|
|
43
43
|
disableRichText: L = !1,
|
|
44
44
|
editorRef: _,
|
|
45
|
-
uid:
|
|
46
|
-
allowedDomains:
|
|
45
|
+
uid: v,
|
|
46
|
+
allowedDomains: C = [],
|
|
47
47
|
hideCharCount: B = !1,
|
|
48
48
|
disableAutoActivate: F = !1,
|
|
49
49
|
...O
|
|
50
50
|
}) => {
|
|
51
|
-
const [
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}, [
|
|
55
|
-
x &&
|
|
56
|
-
}, [
|
|
51
|
+
const [s, U] = d(!1), [j, k] = d(""), [z, H] = d(""), [r, a] = d([]), { showModal: J } = Eo(), P = ho(), T = po();
|
|
52
|
+
R(() => {
|
|
53
|
+
c && c.length > 0 && a(c);
|
|
54
|
+
}, [c]), R(() => {
|
|
55
|
+
x && r.length > 0 && x(r);
|
|
56
|
+
}, [r]);
|
|
57
57
|
const N = () => {
|
|
58
|
-
|
|
58
|
+
s || (U(!0), h && h());
|
|
59
59
|
}, Q = {
|
|
60
60
|
editable: !w,
|
|
61
|
-
theme:
|
|
62
|
-
onError(
|
|
63
|
-
console.error("TextEditor error:",
|
|
61
|
+
theme: go,
|
|
62
|
+
onError(t) {
|
|
63
|
+
console.error("TextEditor error:", t);
|
|
64
64
|
},
|
|
65
|
-
nodes: [
|
|
65
|
+
nodes: [Z, oo, uo, to]
|
|
66
66
|
}, W = () => {
|
|
67
67
|
N();
|
|
68
|
-
}, $ = (
|
|
69
|
-
|
|
70
|
-
const i =
|
|
71
|
-
k(
|
|
68
|
+
}, $ = (t) => {
|
|
69
|
+
t.read(() => {
|
|
70
|
+
const i = fo().getTextContent(), n = b(i), u = JSON.stringify(t), E = b(u);
|
|
71
|
+
k(n), H(E), g && g(n, E);
|
|
72
72
|
});
|
|
73
|
-
}, q = (
|
|
74
|
-
const i = j,
|
|
75
|
-
p && (
|
|
73
|
+
}, q = (t) => {
|
|
74
|
+
const i = j, n = z, u = r;
|
|
75
|
+
p && (t.preventDefault(), p(i, n, u)), a([]);
|
|
76
76
|
}, D = () => {
|
|
77
77
|
J(
|
|
78
|
-
/* @__PURE__ */
|
|
79
|
-
|
|
78
|
+
/* @__PURE__ */ o(
|
|
79
|
+
Io,
|
|
80
80
|
{
|
|
81
81
|
onAddSource: G,
|
|
82
|
-
allowedSources:
|
|
82
|
+
allowedSources: C
|
|
83
83
|
}
|
|
84
84
|
)
|
|
85
85
|
);
|
|
86
|
-
}, G = (
|
|
87
|
-
|
|
88
|
-
}, K = (
|
|
89
|
-
|
|
86
|
+
}, G = (t) => {
|
|
87
|
+
a([...r, t]);
|
|
88
|
+
}, K = (t) => {
|
|
89
|
+
a(
|
|
90
|
+
(i) => i.filter(
|
|
91
|
+
(n) => n.source_url !== t.source_url
|
|
92
|
+
)
|
|
93
|
+
);
|
|
94
|
+
}, V = (t, i) => /* @__PURE__ */ o(
|
|
95
|
+
Ro,
|
|
90
96
|
{
|
|
91
|
-
publisher:
|
|
92
|
-
url:
|
|
93
|
-
title:
|
|
94
|
-
index: i
|
|
97
|
+
publisher: t.publisher,
|
|
98
|
+
url: t.source_url,
|
|
99
|
+
title: t.title,
|
|
100
|
+
index: i,
|
|
101
|
+
onRemove: () => K(t)
|
|
95
102
|
},
|
|
96
103
|
i
|
|
97
|
-
),
|
|
98
|
-
return /* @__PURE__ */
|
|
99
|
-
/* @__PURE__ */
|
|
104
|
+
), X = () => /* @__PURE__ */ o("div", { className: e.editorPlaceholder, children: l });
|
|
105
|
+
return /* @__PURE__ */ f(Y, { children: [
|
|
106
|
+
/* @__PURE__ */ o(ro, { initialConfig: Q, children: /* @__PURE__ */ o("div", { className: e.editorContainer, onClick: W, children: /* @__PURE__ */ f(
|
|
100
107
|
"div",
|
|
101
108
|
{
|
|
102
109
|
className: I(e.editorInner, {
|
|
103
|
-
[e.editorInnerInactive]: !
|
|
110
|
+
[e.editorInnerInactive]: !s && !S
|
|
104
111
|
}),
|
|
105
112
|
children: [
|
|
106
|
-
/* @__PURE__ */
|
|
107
|
-
|
|
113
|
+
/* @__PURE__ */ o(
|
|
114
|
+
ao,
|
|
108
115
|
{
|
|
109
|
-
contentEditable: /* @__PURE__ */
|
|
110
|
-
|
|
116
|
+
contentEditable: /* @__PURE__ */ o(
|
|
117
|
+
io,
|
|
111
118
|
{
|
|
112
119
|
className: I(e.editorInput, {
|
|
113
|
-
[e.editorInputInactive]: !
|
|
120
|
+
[e.editorInputInactive]: !s
|
|
114
121
|
}),
|
|
115
122
|
...O
|
|
116
123
|
}
|
|
117
124
|
),
|
|
118
|
-
placeholder: l && /* @__PURE__ */
|
|
119
|
-
ErrorBoundary:
|
|
125
|
+
placeholder: l && /* @__PURE__ */ o(X, {}),
|
|
126
|
+
ErrorBoundary: so
|
|
120
127
|
}
|
|
121
128
|
),
|
|
122
|
-
/* @__PURE__ */
|
|
123
|
-
|
|
129
|
+
/* @__PURE__ */ o(
|
|
130
|
+
No,
|
|
124
131
|
{
|
|
125
|
-
hideSourceAction:
|
|
126
|
-
hideSubmit:
|
|
132
|
+
hideSourceAction: y,
|
|
133
|
+
hideSubmit: M,
|
|
127
134
|
disableRichText: L,
|
|
128
135
|
shortBar: A,
|
|
129
136
|
onSubmit: q,
|
|
130
137
|
onAddSource: D,
|
|
131
|
-
isActive:
|
|
132
|
-
sourceTooltip:
|
|
138
|
+
isActive: s || S,
|
|
139
|
+
sourceTooltip: C?.length > 0 && P.formatMessage({
|
|
133
140
|
id: "input.allowed_domains_tooltip",
|
|
134
141
|
defaultMessage: "With the new source function, you can add links to your article."
|
|
135
142
|
})
|
|
136
143
|
}
|
|
137
144
|
),
|
|
138
|
-
|
|
139
|
-
/* @__PURE__ */
|
|
145
|
+
s && m && !B && /* @__PURE__ */ f("div", { className: e.charactersCount, children: [
|
|
146
|
+
/* @__PURE__ */ o(eo, { maxLength: m }),
|
|
140
147
|
" ",
|
|
141
|
-
|
|
148
|
+
P.formatMessage({
|
|
142
149
|
id: "input.remaining_chars",
|
|
143
150
|
defaultMessage: "remaining characters"
|
|
144
151
|
})
|
|
145
152
|
] }),
|
|
146
|
-
/* @__PURE__ */
|
|
147
|
-
/* @__PURE__ */
|
|
148
|
-
/* @__PURE__ */
|
|
149
|
-
/* @__PURE__ */
|
|
150
|
-
|
|
153
|
+
/* @__PURE__ */ o(co, {}),
|
|
154
|
+
/* @__PURE__ */ o(lo, {}),
|
|
155
|
+
/* @__PURE__ */ o(mo, { onChange: $, ignoreSelectionChange: !0 }),
|
|
156
|
+
/* @__PURE__ */ o(
|
|
157
|
+
xo,
|
|
151
158
|
{
|
|
152
159
|
onSetContent: F ? () => {
|
|
153
160
|
} : N,
|
|
154
|
-
storageUid:
|
|
161
|
+
storageUid: v || T
|
|
155
162
|
}
|
|
156
163
|
),
|
|
157
|
-
/* @__PURE__ */
|
|
158
|
-
/* @__PURE__ */
|
|
159
|
-
/* @__PURE__ */
|
|
160
|
-
|
|
161
|
-
/* @__PURE__ */
|
|
162
|
-
/* @__PURE__ */
|
|
164
|
+
/* @__PURE__ */ o(Po, {}),
|
|
165
|
+
/* @__PURE__ */ o(To, {}),
|
|
166
|
+
/* @__PURE__ */ o(So, {}),
|
|
167
|
+
m && /* @__PURE__ */ o(vo, { maxLength: m }),
|
|
168
|
+
/* @__PURE__ */ o(Co, { storageUid: v || T }),
|
|
169
|
+
/* @__PURE__ */ o(no, { editorRef: _ })
|
|
163
170
|
]
|
|
164
171
|
}
|
|
165
172
|
) }) }),
|
|
166
|
-
r && r.length !== 0 ? /* @__PURE__ */
|
|
173
|
+
r && r.length !== 0 ? /* @__PURE__ */ o("div", { className: e.sourcesBox, children: /* @__PURE__ */ o("div", { className: e.sourceList, children: r.map(V) }) }) : null
|
|
167
174
|
] });
|
|
168
175
|
};
|
|
169
176
|
export {
|
|
170
|
-
|
|
177
|
+
et as TextEditor
|
|
171
178
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import m from "classnames";
|
|
3
3
|
import "react";
|
|
4
|
-
import { useIntl as
|
|
4
|
+
import { useIntl as c } from "react-intl";
|
|
5
5
|
import e from "./ContextSourceList.module.scss.js";
|
|
6
|
-
import { useResponsive as
|
|
6
|
+
import { useResponsive as p } from "../../hooks/use_responsive/useResponsive.js";
|
|
7
7
|
import { SectionBox as u } from "../../section/section_box/SectionBox.js";
|
|
8
8
|
import { Link as d } from "../../action/link/Link.js";
|
|
9
9
|
import { ContextSourceBox as f } from "../context_source_box/ContextSourceBox.js";
|
|
10
|
-
const
|
|
11
|
-
const r =
|
|
10
|
+
const M = ({ sources: i = [] }) => {
|
|
11
|
+
const r = c(), { isMobile: s, isTablet: l, isDesktop: n } = p(), a = (t) => /* @__PURE__ */ o(
|
|
12
12
|
d,
|
|
13
13
|
{
|
|
14
14
|
className: e.listItem,
|
|
@@ -30,6 +30,7 @@ const S = ({ sources: i = [] }) => {
|
|
|
30
30
|
return /* @__PURE__ */ o(
|
|
31
31
|
u,
|
|
32
32
|
{
|
|
33
|
+
className: e.sectionBox,
|
|
33
34
|
isCollapsible: !0,
|
|
34
35
|
isCollapsedByDefault: !1,
|
|
35
36
|
title: r.formatMessage({
|
|
@@ -41,8 +42,8 @@ const S = ({ sources: i = [] }) => {
|
|
|
41
42
|
{
|
|
42
43
|
className: m(e.content, {
|
|
43
44
|
[e.contentDesktop]: n,
|
|
44
|
-
[e.contentTablet]:
|
|
45
|
-
[e.contentMobile]:
|
|
45
|
+
[e.contentTablet]: l,
|
|
46
|
+
[e.contentMobile]: s
|
|
46
47
|
}),
|
|
47
48
|
children: i.map(a)
|
|
48
49
|
}
|
|
@@ -51,5 +52,5 @@ const S = ({ sources: i = [] }) => {
|
|
|
51
52
|
);
|
|
52
53
|
};
|
|
53
54
|
export {
|
|
54
|
-
|
|
55
|
+
M as ContextSourceList
|
|
55
56
|
};
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import '../../../assets/components/source/context_source_list/ContextSourceList.module-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import '../../../assets/components/source/context_source_list/ContextSourceList.module-DUPbI-wb.css';const t = "_sectionBox_15pa0_3", n = "_content_15pa0_14", o = "_contentMobile_15pa0_18", e = "_contentTablet_15pa0_21", c = "_contentDesktop_15pa0_24", s = "_listItem_15pa0_28", _ = {
|
|
2
|
+
sectionBox: t,
|
|
3
|
+
content: n,
|
|
4
|
+
contentMobile: o,
|
|
5
|
+
contentTablet: e,
|
|
6
|
+
contentDesktop: c,
|
|
7
|
+
listItem: s
|
|
7
8
|
};
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
n as content,
|
|
11
|
+
c as contentDesktop,
|
|
12
|
+
o as contentMobile,
|
|
13
|
+
e as contentTablet,
|
|
14
|
+
_ as default,
|
|
15
|
+
s as listItem,
|
|
16
|
+
t as sectionBox
|
|
15
17
|
};
|
|
@@ -1,34 +1,46 @@
|
|
|
1
|
-
import { jsxs as e, jsx as
|
|
1
|
+
import { jsxs as e, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import
|
|
4
|
-
import { Link as
|
|
5
|
-
import { Icon as
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
/* @__PURE__ */ e("
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
3
|
+
import r from "./SourceListItem.module.scss.js";
|
|
4
|
+
import { Link as l } from "../../action/link/Link.js";
|
|
5
|
+
import { Icon as n } from "../../icons/icon/Icon.js";
|
|
6
|
+
const f = ({ index: s = 0, url: a, title: c, publisher: o, onRemove: i }) => /* @__PURE__ */ e("div", { className: r.sourceListItemContainer, children: [
|
|
7
|
+
/* @__PURE__ */ e(
|
|
8
|
+
l,
|
|
9
|
+
{
|
|
10
|
+
className: r.sourceListItem,
|
|
11
|
+
to: a,
|
|
12
|
+
external: !0,
|
|
13
|
+
target: "_blank",
|
|
14
|
+
rel: "nofollow noreferrer noopener",
|
|
15
|
+
"data-tid": "link_view_source",
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ t(n, { name: "link", width: 16, height: 16 }),
|
|
18
|
+
/* @__PURE__ */ e("div", { className: r.sourceListItemLink, children: [
|
|
19
|
+
/* @__PURE__ */ e("span", { children: [
|
|
20
|
+
"[ ",
|
|
21
|
+
s + 1,
|
|
22
|
+
" ] "
|
|
23
|
+
] }),
|
|
24
|
+
/* @__PURE__ */ e("span", { children: [
|
|
25
|
+
o && `${o} – `,
|
|
26
|
+
" ",
|
|
27
|
+
c
|
|
28
|
+
] })
|
|
27
29
|
] })
|
|
28
|
-
]
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
),
|
|
33
|
+
i && /* @__PURE__ */ t(
|
|
34
|
+
"button",
|
|
35
|
+
{
|
|
36
|
+
type: "button",
|
|
37
|
+
className: r.removeSourceButton,
|
|
38
|
+
onClick: i,
|
|
39
|
+
"aria-label": "Remove source",
|
|
40
|
+
children: /* @__PURE__ */ t(n, { name: "close", width: 10, height: 10 })
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
] });
|
|
32
44
|
export {
|
|
33
|
-
|
|
45
|
+
f as SourceListItem
|
|
34
46
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import '../../../assets/components/source/source_list_item/SourceListItem.module-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import '../../../assets/components/source/source_list_item/SourceListItem.module-fm_uHuY4.css';const t = "_sourceListItemContainer_as5dp_3", e = "_sourceListItem_as5dp_3", o = "_removeSourceButton_as5dp_33", s = {
|
|
2
|
+
sourceListItemContainer: t,
|
|
3
|
+
sourceListItem: e,
|
|
4
|
+
removeSourceButton: o
|
|
4
5
|
};
|
|
5
6
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
s as default,
|
|
8
|
+
o as removeSourceButton,
|
|
9
|
+
e as sourceListItem,
|
|
10
|
+
t as sourceListItemContainer
|
|
9
11
|
};
|
package/package.json
CHANGED
package/dist/assets/components/source/context_source_list/ContextSourceList.module-D6X_0dB7.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._title_19ocx_3{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_19ocx_10{display:grid;gap:var(--space-unit, 1em)}._content_19ocx_10._contentMobile_19ocx_14{grid-template-columns:repeat(1,1fr)}._content_19ocx_10._contentTablet_19ocx_17{grid-template-columns:repeat(2,1fr)}._content_19ocx_10._contentDesktop_19ocx_20{grid-template-columns:repeat(3,1fr)}._listItem_19ocx_24{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_19ocx_24:hover{border:1px solid var(--text-primary, #222222)!important}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a._sourceListItem_1498g_3{display:flex;flex-direction:row;justify-content:flex-start;font-size:var(--font-size-extra-small, 14px);margin-top:5px;padding:5px;border:1px solid var(--background-color-secondary, #E8E8E8);border-radius:var(--box-border-radius, 6px);max-width:100%}a._sourceListItem_1498g_3 svg{margin-right:5px;flex-shrink:0!important;width:16px!important;height:16px!important}a._sourceListItem_1498g_3{color:var(--text-primary, #222222)!important;text-decoration:none!important;outline:none!important}._sourceListItemLink_1498g_26{display:-webkit-box;word-wrap:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}._sourceListItemLink_1498g_26 span{margin-right:5px}
|