@logora/debate 0.4.27 → 0.4.30
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/input/text_editor/plugins/ToolbarPlugin.module-C3yG2biv.css +1 -0
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.js +153 -153
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.module.scss.js +16 -16
- package/package.json +1 -1
- package/dist/assets/components/input/text_editor/plugins/ToolbarPlugin.module-CjkE3oe-.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._toolbar_awaxp_3{display:flex!important;justify-content:space-between!important;flex-wrap:wrap;background:var(--background-color-primary, white);padding-top:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;vertical-align:middle;align-items:flex-start;gap:var(--space-unit, 1em)}._toolbar_awaxp_3._toolbarIsActive_awaxp_13{border-top:1px solid var(--text-tertiary, #fafafa)}._iconToolbar_awaxp_17{display:flex!important;gap:var(--spacer-lg, calc(var(--space-unit, 1em) * 1.5))}._iconToolbar_awaxp_17._shortBar_awaxp_21{gap:var(--spacer-md, calc(var(--space-unit, 1em) * .75))}._toolbarItem_awaxp_25{border:0;background:none;padding:0!important;cursor:pointer;vertical-align:middle;touch-action:manipulation;display:flex;align-items:center;justify-content:center}@container (max-width: 575.98px){._toolbarItem_awaxp_25{min-width:44px;min-height:44px}}._toolbarItem_awaxp_25._disabled_awaxp_42{cursor:not-allowed}._toolbarItem_awaxp_25._active_awaxp_45{background-color:#bababa66;border-radius:50%}._toolbarItem_awaxp_25 ._format_awaxp_49{background-size:contain;display:inline-block;vertical-align:-.25em;display:flex!important}._actionButton_awaxp_56{display:flex!important;gap:var(--space-unit, 1em);margin-left:auto}._inputSubmitActionButton_awaxp_62{width:100%;height:35px;display:flex!important;justify-content:center!important;align-items:center!important;background-color:var(--call-primary-color, #434343)!important}._inputSubmitActionButton_awaxp_62._submitAction_awaxp_70 svg{fill:var(--text-light, white)!important}._inputSubmitActionButton_awaxp_62 ._inputSourceText_awaxp_73{display:none!important;margin-left:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;font-size:var(--font-size-small, 16px)}@container (min-width: 576px){._inputSubmitActionButton_awaxp_62 ._inputSourceText_awaxp_73{display:block!important}}._tooltip_awaxp_84{width:230px!important;margin-left:-117px!important}
|
|
@@ -1,264 +1,264 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { $isListNode as
|
|
3
|
-
import { useLexicalComposerContext as
|
|
4
|
-
import { $isHeadingNode as
|
|
5
|
-
import { $setBlocksType as
|
|
6
|
-
import { $getNearestNodeOfType as
|
|
7
|
-
import
|
|
8
|
-
import { $getSelection as
|
|
9
|
-
import { useRef as
|
|
10
|
-
import { useIntl as
|
|
1
|
+
import { jsxs as E, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { $isListNode as P, ListNode as Z, INSERT_ORDERED_LIST_COMMAND as ee, $isListItemNode as R, $createListNode as te } from "@lexical/list";
|
|
3
|
+
import { useLexicalComposerContext as oe } from "@lexical/react/LexicalComposerContext";
|
|
4
|
+
import { $isHeadingNode as ne, $createQuoteNode as O } from "@lexical/rich-text";
|
|
5
|
+
import { $setBlocksType as B } from "@lexical/selection";
|
|
6
|
+
import { $getNearestNodeOfType as ie, mergeRegister as ae } from "@lexical/utils";
|
|
7
|
+
import i from "classnames";
|
|
8
|
+
import { $getSelection as M, $isRangeSelection as w, SELECTION_CHANGE_COMMAND as le, FORMAT_TEXT_COMMAND as re, $createParagraphNode as $ } from "lexical";
|
|
9
|
+
import { useRef as S, useState as N, useCallback as se, useEffect as q } from "react";
|
|
10
|
+
import { useIntl as ce } from "react-intl";
|
|
11
11
|
import t from "./ToolbarPlugin.module.scss.js";
|
|
12
|
-
import { Icon as
|
|
13
|
-
import { Button as
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const e =
|
|
17
|
-
if (
|
|
18
|
-
const
|
|
19
|
-
if (
|
|
20
|
-
if (
|
|
21
|
-
const
|
|
22
|
-
|
|
12
|
+
import { Icon as f } from "../../../icons/icon/Icon.js";
|
|
13
|
+
import { Button as de } from "../../../action/button/Button.js";
|
|
14
|
+
const Ae = (a) => {
|
|
15
|
+
const d = ce(), K = 1, [l] = oe(), F = S(null), [T, k] = N("paragraph"), [ue, U] = N(null), [H, j] = N(!1), [Q, V] = N(!1), [z, G] = N(!1), _ = S(!1), s = S(null), x = a.hideSubmit && a.hideSourceAction && a.disableRichText, y = se(() => {
|
|
16
|
+
const e = M();
|
|
17
|
+
if (w(e)) {
|
|
18
|
+
const c = e.anchor.getNode(), r = c.getKey() === "root" ? c : c.getTopLevelElementOrThrow(), u = r.getKey();
|
|
19
|
+
if (l.getElementByKey(u) !== null)
|
|
20
|
+
if (U(u), P(r)) {
|
|
21
|
+
const o = ie(c, Z), p = o ? o.getTag() : r.getTag();
|
|
22
|
+
k(p);
|
|
23
23
|
} else {
|
|
24
|
-
const
|
|
25
|
-
|
|
24
|
+
const o = ne(r) ? r.getTag() : r.getType();
|
|
25
|
+
k(o);
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
j(e.hasFormat("bold")), V(e.hasFormat("italic")), G(e.hasFormat("underline"));
|
|
28
28
|
}
|
|
29
|
-
}, [
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
}, [l]);
|
|
30
|
+
q(() => ae(
|
|
31
|
+
l.registerUpdateListener(({ editorState: e }) => {
|
|
32
32
|
e.read(() => {
|
|
33
|
-
|
|
33
|
+
y();
|
|
34
34
|
});
|
|
35
35
|
}),
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
() => (
|
|
39
|
-
|
|
36
|
+
l.registerCommand(
|
|
37
|
+
le,
|
|
38
|
+
() => (y(), !1),
|
|
39
|
+
K
|
|
40
40
|
)
|
|
41
|
-
), [
|
|
42
|
-
|
|
43
|
-
if (!e) return;
|
|
44
|
-
const o = (a) => {
|
|
45
|
-
(a.target.tagName === "BUTTON" || a.target.closest("button")) && a.preventDefault();
|
|
46
|
-
};
|
|
47
|
-
return e.addEventListener("touchstart", o, { passive: !1 }), () => e.removeEventListener("touchstart", o);
|
|
41
|
+
), [l, y]), q(() => () => {
|
|
42
|
+
s.current && clearTimeout(s.current);
|
|
48
43
|
}, []);
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
},
|
|
44
|
+
const X = () => {
|
|
45
|
+
_.current = !1, s.current && (clearTimeout(s.current), s.current = null);
|
|
46
|
+
}, b = (e, c) => {
|
|
47
|
+
e.preventDefault(), (e.pointerType === "touch" || e.pointerType === "pen") && (_.current = !0, c?.(), s.current && clearTimeout(s.current), s.current = setTimeout(() => {
|
|
48
|
+
_.current = !1, s.current = null;
|
|
49
|
+
}, 500));
|
|
50
|
+
}, g = (e) => {
|
|
51
|
+
if (_.current) {
|
|
52
|
+
X();
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
e?.();
|
|
56
|
+
}, I = () => {
|
|
52
57
|
setTimeout(() => {
|
|
53
|
-
|
|
54
|
-
|
|
58
|
+
l.getEditorState().read(() => {
|
|
59
|
+
y();
|
|
55
60
|
});
|
|
56
61
|
}, 0);
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
const e =
|
|
62
|
-
if (!
|
|
62
|
+
}, h = (e) => {
|
|
63
|
+
l.dispatchCommand(re, e), I();
|
|
64
|
+
}, J = () => {
|
|
65
|
+
l.update(() => {
|
|
66
|
+
const e = M();
|
|
67
|
+
if (!w(e))
|
|
63
68
|
return;
|
|
64
|
-
|
|
65
|
-
for (
|
|
66
|
-
o =
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
for (; l !== null && !_(l); )
|
|
71
|
-
l = l.getParent();
|
|
72
|
-
_(l) && L.add(l);
|
|
69
|
+
const c = e.getNodes(), r = /* @__PURE__ */ new Set();
|
|
70
|
+
for (const m of c) {
|
|
71
|
+
let o = m;
|
|
72
|
+
for (; o !== null && !R(o); )
|
|
73
|
+
o = o.getParent();
|
|
74
|
+
R(o) && r.add(o);
|
|
73
75
|
}
|
|
74
|
-
const
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
if (!R(l))
|
|
76
|
+
const u = Array.from(r).reverse();
|
|
77
|
+
for (const m of u) {
|
|
78
|
+
const o = m.getParent();
|
|
79
|
+
if (!P(o))
|
|
79
80
|
continue;
|
|
80
|
-
const
|
|
81
|
-
for (const
|
|
82
|
-
|
|
83
|
-
const
|
|
84
|
-
if (
|
|
85
|
-
const
|
|
86
|
-
for (const
|
|
87
|
-
|
|
88
|
-
|
|
81
|
+
const p = $(), W = m.getChildren();
|
|
82
|
+
for (const C of W)
|
|
83
|
+
p.append(C);
|
|
84
|
+
const A = m.getNextSiblings();
|
|
85
|
+
if (o.insertAfter(p), A.length > 0) {
|
|
86
|
+
const C = A[0].getValue(), v = te(o.getListType(), C);
|
|
87
|
+
for (const Y of A)
|
|
88
|
+
v.append(Y);
|
|
89
|
+
p.insertAfter(v);
|
|
89
90
|
}
|
|
90
|
-
|
|
91
|
+
m.remove(), o.getChildrenSize() === 0 && o.remove();
|
|
91
92
|
}
|
|
92
|
-
f !== null && f.selectEnd();
|
|
93
93
|
});
|
|
94
|
-
},
|
|
95
|
-
|
|
96
|
-
},
|
|
97
|
-
|
|
98
|
-
const e =
|
|
99
|
-
if (
|
|
94
|
+
}, L = () => {
|
|
95
|
+
T !== "ol" ? l.dispatchCommand(ee) : J(), I();
|
|
96
|
+
}, D = () => {
|
|
97
|
+
T !== "quote" ? l.update(() => {
|
|
98
|
+
const e = M();
|
|
99
|
+
if (w(e))
|
|
100
100
|
if (e.isCollapsed()) {
|
|
101
|
-
const
|
|
102
|
-
|
|
101
|
+
const r = e.anchor.getNode().getTopLevelElementOrThrow(), u = O();
|
|
102
|
+
r.insertAfter(u), u.selectEnd();
|
|
103
103
|
} else
|
|
104
|
-
|
|
105
|
-
}) :
|
|
106
|
-
const e =
|
|
107
|
-
|
|
108
|
-
}),
|
|
104
|
+
B(e, () => O());
|
|
105
|
+
}) : l.update(() => {
|
|
106
|
+
const e = M();
|
|
107
|
+
w(e) && B(e, () => $());
|
|
108
|
+
}), I();
|
|
109
109
|
};
|
|
110
|
-
return
|
|
110
|
+
return x ? null : /* @__PURE__ */ E(
|
|
111
111
|
"div",
|
|
112
112
|
{
|
|
113
|
-
className:
|
|
114
|
-
[t.toolbarIsActive]:
|
|
113
|
+
className: i(t.toolbar, {
|
|
114
|
+
[t.toolbarIsActive]: x ? !1 : a.isActive
|
|
115
115
|
}),
|
|
116
|
-
ref:
|
|
116
|
+
ref: F,
|
|
117
117
|
children: [
|
|
118
|
-
|
|
118
|
+
a.isActive ? !a.disableRichText && /* @__PURE__ */ E(
|
|
119
119
|
"div",
|
|
120
120
|
{
|
|
121
|
-
className:
|
|
122
|
-
[t.shortBar]:
|
|
121
|
+
className: i(t.iconToolbar, {
|
|
122
|
+
[t.shortBar]: a.shortBar
|
|
123
123
|
}),
|
|
124
124
|
children: [
|
|
125
|
-
/* @__PURE__ */
|
|
125
|
+
/* @__PURE__ */ n(
|
|
126
126
|
"button",
|
|
127
127
|
{
|
|
128
|
-
|
|
129
|
-
onClick: () =>
|
|
128
|
+
onPointerDown: (e) => b(e, () => h("bold")),
|
|
129
|
+
onClick: () => g(() => h("bold")),
|
|
130
130
|
type: "button",
|
|
131
|
-
className:
|
|
131
|
+
className: i(t.toolbarItem, { [t.active]: H }),
|
|
132
132
|
"data-testid": "format-bold",
|
|
133
|
-
"aria-label":
|
|
133
|
+
"aria-label": d.formatMessage({
|
|
134
134
|
id: "input.text_editor.plugins.toolbar_plugin.bold.aria_label",
|
|
135
135
|
defaultMessage: "Make text bold"
|
|
136
136
|
}),
|
|
137
|
-
children: /* @__PURE__ */
|
|
138
|
-
|
|
137
|
+
children: /* @__PURE__ */ n(
|
|
138
|
+
f,
|
|
139
139
|
{
|
|
140
140
|
name: "bold",
|
|
141
141
|
width: 24,
|
|
142
142
|
height: 24,
|
|
143
|
-
className:
|
|
143
|
+
className: i(t.format, t.bold)
|
|
144
144
|
}
|
|
145
145
|
)
|
|
146
146
|
}
|
|
147
147
|
),
|
|
148
|
-
/* @__PURE__ */
|
|
148
|
+
/* @__PURE__ */ n(
|
|
149
149
|
"button",
|
|
150
150
|
{
|
|
151
|
-
|
|
152
|
-
onClick: () =>
|
|
151
|
+
onPointerDown: (e) => b(e, () => h("italic")),
|
|
152
|
+
onClick: () => g(() => h("italic")),
|
|
153
153
|
type: "button",
|
|
154
|
-
className:
|
|
155
|
-
[t.active]:
|
|
154
|
+
className: i(t.toolbarItem, {
|
|
155
|
+
[t.active]: Q
|
|
156
156
|
}),
|
|
157
|
-
"aria-label":
|
|
157
|
+
"aria-label": d.formatMessage({
|
|
158
158
|
id: "input.text_editor.plugins.toolbar_plugin.italic.aria_label",
|
|
159
159
|
defaultMessage: "Make text italic"
|
|
160
160
|
}),
|
|
161
|
-
children: /* @__PURE__ */
|
|
162
|
-
|
|
161
|
+
children: /* @__PURE__ */ n(
|
|
162
|
+
f,
|
|
163
163
|
{
|
|
164
164
|
name: "italic",
|
|
165
165
|
width: 24,
|
|
166
166
|
height: 24,
|
|
167
|
-
className:
|
|
167
|
+
className: i(t.format, t.italic)
|
|
168
168
|
}
|
|
169
169
|
)
|
|
170
170
|
}
|
|
171
171
|
),
|
|
172
|
-
/* @__PURE__ */
|
|
172
|
+
/* @__PURE__ */ n(
|
|
173
173
|
"button",
|
|
174
174
|
{
|
|
175
|
-
|
|
176
|
-
onClick: () =>
|
|
175
|
+
onPointerDown: (e) => b(e, () => h("underline")),
|
|
176
|
+
onClick: () => g(() => h("underline")),
|
|
177
177
|
type: "button",
|
|
178
|
-
className:
|
|
179
|
-
[t.active]:
|
|
178
|
+
className: i(t.toolbarItem, {
|
|
179
|
+
[t.active]: z
|
|
180
180
|
}),
|
|
181
|
-
"aria-label":
|
|
181
|
+
"aria-label": d.formatMessage({
|
|
182
182
|
id: "input.text_editor.plugins.toolbar_plugin.underline.aria_label",
|
|
183
183
|
defaultMessage: "Underline text"
|
|
184
184
|
}),
|
|
185
|
-
children: /* @__PURE__ */
|
|
186
|
-
|
|
185
|
+
children: /* @__PURE__ */ n(
|
|
186
|
+
f,
|
|
187
187
|
{
|
|
188
188
|
name: "underline",
|
|
189
189
|
width: 24,
|
|
190
190
|
height: 24,
|
|
191
|
-
className:
|
|
191
|
+
className: i(t.format, t.underline)
|
|
192
192
|
}
|
|
193
193
|
)
|
|
194
194
|
}
|
|
195
195
|
),
|
|
196
|
-
/* @__PURE__ */
|
|
196
|
+
/* @__PURE__ */ n(
|
|
197
197
|
"button",
|
|
198
198
|
{
|
|
199
|
-
|
|
200
|
-
onClick: () =>
|
|
199
|
+
onPointerDown: (e) => b(e, D),
|
|
200
|
+
onClick: () => g(D),
|
|
201
201
|
type: "button",
|
|
202
|
-
className:
|
|
203
|
-
[t.active]:
|
|
202
|
+
className: i(t.toolbarItem, {
|
|
203
|
+
[t.active]: T === "quote"
|
|
204
204
|
}),
|
|
205
|
-
"aria-label":
|
|
205
|
+
"aria-label": d.formatMessage({
|
|
206
206
|
id: "input.text_editor.plugins.toolbar_plugin.blockquote.aria_label",
|
|
207
207
|
defaultMessage: "Add a blockquote"
|
|
208
208
|
}),
|
|
209
|
-
children: /* @__PURE__ */
|
|
210
|
-
|
|
209
|
+
children: /* @__PURE__ */ n(
|
|
210
|
+
f,
|
|
211
211
|
{
|
|
212
212
|
name: "blockquote",
|
|
213
213
|
width: 24,
|
|
214
214
|
height: 24,
|
|
215
|
-
className:
|
|
215
|
+
className: i(t.format, t.quote)
|
|
216
216
|
}
|
|
217
217
|
)
|
|
218
218
|
}
|
|
219
219
|
),
|
|
220
|
-
/* @__PURE__ */
|
|
220
|
+
/* @__PURE__ */ n(
|
|
221
221
|
"button",
|
|
222
222
|
{
|
|
223
|
-
|
|
224
|
-
onClick: () =>
|
|
223
|
+
onPointerDown: (e) => b(e, L),
|
|
224
|
+
onClick: () => g(L),
|
|
225
225
|
type: "button",
|
|
226
|
-
className:
|
|
227
|
-
[t.active]:
|
|
226
|
+
className: i(t.toolbarItem, {
|
|
227
|
+
[t.active]: T === "ol"
|
|
228
228
|
}),
|
|
229
|
-
"aria-label":
|
|
229
|
+
"aria-label": d.formatMessage({
|
|
230
230
|
id: "input.text_editor.plugins.toolbar_plugin.numbered_list.aria_label",
|
|
231
231
|
defaultMessage: "Insert a numbered list"
|
|
232
232
|
}),
|
|
233
|
-
children: /* @__PURE__ */
|
|
234
|
-
|
|
233
|
+
children: /* @__PURE__ */ n(
|
|
234
|
+
f,
|
|
235
235
|
{
|
|
236
236
|
name: "orderedList",
|
|
237
237
|
width: 24,
|
|
238
238
|
height: 24,
|
|
239
|
-
className:
|
|
239
|
+
className: i(t.format, t.numberedList)
|
|
240
240
|
}
|
|
241
241
|
)
|
|
242
242
|
}
|
|
243
243
|
),
|
|
244
|
-
!
|
|
244
|
+
!a.hideSourceAction && /* @__PURE__ */ n(
|
|
245
245
|
"button",
|
|
246
246
|
{
|
|
247
|
-
|
|
248
|
-
onClick:
|
|
247
|
+
onPointerDown: (e) => b(e, a.onAddSource),
|
|
248
|
+
onClick: () => g(a.onAddSource),
|
|
249
249
|
type: "button",
|
|
250
250
|
className: t.toolbarItem,
|
|
251
|
-
"aria-label":
|
|
251
|
+
"aria-label": d.formatMessage({
|
|
252
252
|
id: "input.text_editor.plugins.toolbar_plugin.add_link.aria_label",
|
|
253
253
|
defaultMessage: "Add hyperlink"
|
|
254
254
|
}),
|
|
255
|
-
children: /* @__PURE__ */
|
|
256
|
-
|
|
255
|
+
children: /* @__PURE__ */ n(
|
|
256
|
+
f,
|
|
257
257
|
{
|
|
258
258
|
name: "link",
|
|
259
259
|
width: 20,
|
|
260
260
|
height: 20,
|
|
261
|
-
className:
|
|
261
|
+
className: i(t.format, t.link)
|
|
262
262
|
}
|
|
263
263
|
)
|
|
264
264
|
}
|
|
@@ -266,18 +266,18 @@ const Le = (s) => {
|
|
|
266
266
|
]
|
|
267
267
|
}
|
|
268
268
|
) : null,
|
|
269
|
-
/* @__PURE__ */
|
|
270
|
-
|
|
269
|
+
/* @__PURE__ */ n("div", { className: t.actionButton, children: a.hideSubmit ? null : /* @__PURE__ */ n(
|
|
270
|
+
de,
|
|
271
271
|
{
|
|
272
272
|
type: "button",
|
|
273
273
|
"data-testid": "submit-button",
|
|
274
|
-
handleClick:
|
|
275
|
-
className:
|
|
276
|
-
"aria-label":
|
|
274
|
+
handleClick: a.onSubmit,
|
|
275
|
+
className: i(t.inputSubmitActionButton, t.submitAction),
|
|
276
|
+
"aria-label": d.formatMessage({
|
|
277
277
|
id: "input.text_editor.plugins.toolbar_plugin.submit_button.aria_label",
|
|
278
278
|
defaultMessage: "Send message"
|
|
279
279
|
}),
|
|
280
|
-
children: /* @__PURE__ */
|
|
280
|
+
children: /* @__PURE__ */ n(f, { name: "send", width: 20, height: 20 })
|
|
281
281
|
}
|
|
282
282
|
) })
|
|
283
283
|
]
|
|
@@ -285,5 +285,5 @@ const Le = (s) => {
|
|
|
285
285
|
);
|
|
286
286
|
};
|
|
287
287
|
export {
|
|
288
|
-
|
|
288
|
+
Ae as ToolbarPlugin
|
|
289
289
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import '../../../../assets/components/input/text_editor/plugins/ToolbarPlugin.module-
|
|
1
|
+
import '../../../../assets/components/input/text_editor/plugins/ToolbarPlugin.module-C3yG2biv.css';const t = "_toolbar_awaxp_3", o = "_toolbarIsActive_awaxp_13", a = "_iconToolbar_awaxp_17", n = "_shortBar_awaxp_21", _ = "_toolbarItem_awaxp_25", c = "_active_awaxp_45", i = "_format_awaxp_49", s = "_actionButton_awaxp_56", r = "_inputSubmitActionButton_awaxp_62", b = "_submitAction_awaxp_70", u = {
|
|
2
2
|
toolbar: t,
|
|
3
3
|
toolbarIsActive: o,
|
|
4
|
-
iconToolbar:
|
|
5
|
-
shortBar:
|
|
6
|
-
toolbarItem:
|
|
7
|
-
active:
|
|
4
|
+
iconToolbar: a,
|
|
5
|
+
shortBar: n,
|
|
6
|
+
toolbarItem: _,
|
|
7
|
+
active: c,
|
|
8
8
|
format: i,
|
|
9
|
-
actionButton:
|
|
10
|
-
inputSubmitActionButton:
|
|
11
|
-
submitAction:
|
|
9
|
+
actionButton: s,
|
|
10
|
+
inputSubmitActionButton: r,
|
|
11
|
+
submitAction: b
|
|
12
12
|
};
|
|
13
13
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
s as actionButton,
|
|
15
|
+
c as active,
|
|
16
|
+
u as default,
|
|
17
17
|
i as format,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
a as iconToolbar,
|
|
19
|
+
r as inputSubmitActionButton,
|
|
20
|
+
n as shortBar,
|
|
21
|
+
b as submitAction,
|
|
22
22
|
t as toolbar,
|
|
23
23
|
o as toolbarIsActive,
|
|
24
|
-
|
|
24
|
+
_ as toolbarItem
|
|
25
25
|
};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._toolbar_13b6u_3{display:flex!important;justify-content:space-between!important;flex-wrap:wrap;background:var(--background-color-primary, white);padding-top:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;vertical-align:middle;align-items:flex-start;gap:var(--space-unit, 1em)}._toolbar_13b6u_3._toolbarIsActive_13b6u_13{border-top:1px solid var(--text-tertiary, #fafafa)}._iconToolbar_13b6u_17{display:flex!important;gap:var(--spacer-lg, calc(var(--space-unit, 1em) * 1.5))}._iconToolbar_13b6u_17._shortBar_13b6u_21{gap:var(--spacer-md, calc(var(--space-unit, 1em) * .75))}._toolbarItem_13b6u_25{border:0;background:none;padding:0!important;cursor:pointer;vertical-align:middle;touch-action:manipulation;display:flex;align-items:center;justify-content:center}@media(max-width:576px){._toolbarItem_13b6u_25{min-width:44px;min-height:44px}}._toolbarItem_13b6u_25._disabled_13b6u_42{cursor:not-allowed}._toolbarItem_13b6u_25._active_13b6u_45{background-color:#bababa66;border-radius:50%}._toolbarItem_13b6u_25 ._format_13b6u_49{background-size:contain;display:inline-block;vertical-align:-.25em;display:flex!important}._actionButton_13b6u_56{display:flex!important;gap:var(--space-unit, 1em);margin-left:auto}._inputSubmitActionButton_13b6u_62{width:100%;height:35px;display:flex!important;justify-content:center!important;align-items:center!important;background-color:var(--call-primary-color, #434343)!important}._inputSubmitActionButton_13b6u_62._submitAction_13b6u_70 svg{fill:var(--text-light, white)!important}._inputSubmitActionButton_13b6u_62 ._inputSourceText_13b6u_73{display:none!important;margin-left:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;font-size:var(--font-size-small, 16px)}@container (min-width: 576px){._inputSubmitActionButton_13b6u_62 ._inputSourceText_13b6u_73{display:block!important}}._tooltip_13b6u_84{width:230px!important;margin-left:-117px!important}
|