@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.
@@ -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 B, jsx as i } from "react/jsx-runtime";
2
- import { $isListNode as R, ListNode as W, INSERT_ORDERED_LIST_COMMAND as Y, $isListItemNode as _, $createListNode as Z } from "@lexical/list";
3
- import { useLexicalComposerContext as ee } from "@lexical/react/LexicalComposerContext";
4
- import { $isHeadingNode as te, $createQuoteNode as $ } from "@lexical/rich-text";
5
- import { $setBlocksType as K } from "@lexical/selection";
6
- import { $getNearestNodeOfType as oe, mergeRegister as ie } from "@lexical/utils";
7
- import n from "classnames";
8
- import { $getSelection as T, $isRangeSelection as y, SELECTION_CHANGE_COMMAND as ae, FORMAT_TEXT_COMMAND as ne, $createParagraphNode as q } from "lexical";
9
- import { useRef as le, useState as h, useCallback as se, useEffect as P } from "react";
10
- import { useIntl as re } from "react-intl";
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 m } from "../../../icons/icon/Icon.js";
13
- import { Button as ce } from "../../../action/button/Button.js";
14
- const Le = (s) => {
15
- const c = re(), U = 1, [r] = ee(), x = le(null), [p, C] = h("paragraph"), [de, F] = h(null), [j, k] = h(!1), [H, w] = h(!1), [Q, A] = h(!1), E = s.hideSubmit && s.hideSourceAction && s.disableRichText, N = se(() => {
16
- const e = T();
17
- if (y(e)) {
18
- const o = e.anchor.getNode(), a = o.getKey() === "root" ? o : o.getTopLevelElementOrThrow(), d = a.getKey();
19
- if (r.getElementByKey(d) !== null)
20
- if (F(d), R(a)) {
21
- const b = oe(o, W), f = b ? b.getTag() : a.getTag();
22
- C(f);
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 b = te(a) ? a.getTag() : a.getType();
25
- C(b);
24
+ const o = ne(r) ? r.getTag() : r.getType();
25
+ k(o);
26
26
  }
27
- k(e.hasFormat("bold")), w(e.hasFormat("italic")), A(e.hasFormat("underline"));
27
+ j(e.hasFormat("bold")), V(e.hasFormat("italic")), G(e.hasFormat("underline"));
28
28
  }
29
- }, [r]);
30
- P(() => ie(
31
- r.registerUpdateListener(({ editorState: e }) => {
29
+ }, [l]);
30
+ q(() => ae(
31
+ l.registerUpdateListener(({ editorState: e }) => {
32
32
  e.read(() => {
33
- N();
33
+ y();
34
34
  });
35
35
  }),
36
- r.registerCommand(
37
- ae,
38
- () => (N(), !1),
39
- U
36
+ l.registerCommand(
37
+ le,
38
+ () => (y(), !1),
39
+ K
40
40
  )
41
- ), [r, N]), P(() => {
42
- const e = x.current;
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 g = (e) => {
50
- e.preventDefault();
51
- }, D = () => {
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
- r.getEditorState().read(() => {
54
- N();
58
+ l.getEditorState().read(() => {
59
+ y();
55
60
  });
56
61
  }, 0);
57
- }, I = (e) => {
58
- r.dispatchCommand(ne, e), e === "bold" && k((o) => !o), e === "italic" && w((o) => !o), e === "underline" && A((o) => !o);
59
- }, V = () => {
60
- r.update(() => {
61
- const e = T();
62
- if (!y(e))
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
- let o = e.anchor.getNode();
65
- for (; o !== null && !_(o); )
66
- o = o.getParent();
67
- const a = _(o) ? o.getKey() : null, d = e.getNodes(), L = /* @__PURE__ */ new Set();
68
- for (const u of d) {
69
- let l = u;
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 b = Array.from(L).reverse();
75
- let f = null;
76
- for (const u of b) {
77
- const l = u.getParent();
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 M = q(), X = u.getChildren();
81
- for (const S of X)
82
- M.append(S);
83
- const v = u.getNextSiblings();
84
- if (l.insertAfter(M), v.length > 0) {
85
- const S = v[0].getValue(), O = Z(l.getListType(), S);
86
- for (const J of v)
87
- O.append(J);
88
- M.insertAfter(O);
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
- u.getKey() === a && (f = M), u.remove(), l.getChildrenSize() === 0 && l.remove();
91
+ m.remove(), o.getChildrenSize() === 0 && o.remove();
91
92
  }
92
- f !== null && f.selectEnd();
93
93
  });
94
- }, z = () => {
95
- p !== "ol" ? r.dispatchCommand(Y) : V(), D();
96
- }, G = () => {
97
- p !== "quote" ? r.update(() => {
98
- const e = T();
99
- if (y(e))
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 a = e.anchor.getNode().getTopLevelElementOrThrow(), d = $();
102
- a.insertAfter(d), d.selectEnd();
101
+ const r = e.anchor.getNode().getTopLevelElementOrThrow(), u = O();
102
+ r.insertAfter(u), u.selectEnd();
103
103
  } else
104
- K(e, () => $());
105
- }) : r.update(() => {
106
- const e = T();
107
- y(e) && K(e, () => q());
108
- }), D();
104
+ B(e, () => O());
105
+ }) : l.update(() => {
106
+ const e = M();
107
+ w(e) && B(e, () => $());
108
+ }), I();
109
109
  };
110
- return E ? null : /* @__PURE__ */ B(
110
+ return x ? null : /* @__PURE__ */ E(
111
111
  "div",
112
112
  {
113
- className: n(t.toolbar, {
114
- [t.toolbarIsActive]: E ? !1 : s.isActive
113
+ className: i(t.toolbar, {
114
+ [t.toolbarIsActive]: x ? !1 : a.isActive
115
115
  }),
116
- ref: x,
116
+ ref: F,
117
117
  children: [
118
- s.isActive ? !s.disableRichText && /* @__PURE__ */ B(
118
+ a.isActive ? !a.disableRichText && /* @__PURE__ */ E(
119
119
  "div",
120
120
  {
121
- className: n(t.iconToolbar, {
122
- [t.shortBar]: s.shortBar
121
+ className: i(t.iconToolbar, {
122
+ [t.shortBar]: a.shortBar
123
123
  }),
124
124
  children: [
125
- /* @__PURE__ */ i(
125
+ /* @__PURE__ */ n(
126
126
  "button",
127
127
  {
128
- onMouseDown: g,
129
- onClick: () => I("bold"),
128
+ onPointerDown: (e) => b(e, () => h("bold")),
129
+ onClick: () => g(() => h("bold")),
130
130
  type: "button",
131
- className: n(t.toolbarItem, { [t.active]: j }),
131
+ className: i(t.toolbarItem, { [t.active]: H }),
132
132
  "data-testid": "format-bold",
133
- "aria-label": c.formatMessage({
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__ */ i(
138
- m,
137
+ children: /* @__PURE__ */ n(
138
+ f,
139
139
  {
140
140
  name: "bold",
141
141
  width: 24,
142
142
  height: 24,
143
- className: n(t.format, t.bold)
143
+ className: i(t.format, t.bold)
144
144
  }
145
145
  )
146
146
  }
147
147
  ),
148
- /* @__PURE__ */ i(
148
+ /* @__PURE__ */ n(
149
149
  "button",
150
150
  {
151
- onMouseDown: g,
152
- onClick: () => I("italic"),
151
+ onPointerDown: (e) => b(e, () => h("italic")),
152
+ onClick: () => g(() => h("italic")),
153
153
  type: "button",
154
- className: n(t.toolbarItem, {
155
- [t.active]: H
154
+ className: i(t.toolbarItem, {
155
+ [t.active]: Q
156
156
  }),
157
- "aria-label": c.formatMessage({
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__ */ i(
162
- m,
161
+ children: /* @__PURE__ */ n(
162
+ f,
163
163
  {
164
164
  name: "italic",
165
165
  width: 24,
166
166
  height: 24,
167
- className: n(t.format, t.italic)
167
+ className: i(t.format, t.italic)
168
168
  }
169
169
  )
170
170
  }
171
171
  ),
172
- /* @__PURE__ */ i(
172
+ /* @__PURE__ */ n(
173
173
  "button",
174
174
  {
175
- onMouseDown: g,
176
- onClick: () => I("underline"),
175
+ onPointerDown: (e) => b(e, () => h("underline")),
176
+ onClick: () => g(() => h("underline")),
177
177
  type: "button",
178
- className: n(t.toolbarItem, {
179
- [t.active]: Q
178
+ className: i(t.toolbarItem, {
179
+ [t.active]: z
180
180
  }),
181
- "aria-label": c.formatMessage({
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__ */ i(
186
- m,
185
+ children: /* @__PURE__ */ n(
186
+ f,
187
187
  {
188
188
  name: "underline",
189
189
  width: 24,
190
190
  height: 24,
191
- className: n(t.format, t.underline)
191
+ className: i(t.format, t.underline)
192
192
  }
193
193
  )
194
194
  }
195
195
  ),
196
- /* @__PURE__ */ i(
196
+ /* @__PURE__ */ n(
197
197
  "button",
198
198
  {
199
- onMouseDown: g,
200
- onClick: () => G(),
199
+ onPointerDown: (e) => b(e, D),
200
+ onClick: () => g(D),
201
201
  type: "button",
202
- className: n(t.toolbarItem, {
203
- [t.active]: p === "quote"
202
+ className: i(t.toolbarItem, {
203
+ [t.active]: T === "quote"
204
204
  }),
205
- "aria-label": c.formatMessage({
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__ */ i(
210
- m,
209
+ children: /* @__PURE__ */ n(
210
+ f,
211
211
  {
212
212
  name: "blockquote",
213
213
  width: 24,
214
214
  height: 24,
215
- className: n(t.format, t.quote)
215
+ className: i(t.format, t.quote)
216
216
  }
217
217
  )
218
218
  }
219
219
  ),
220
- /* @__PURE__ */ i(
220
+ /* @__PURE__ */ n(
221
221
  "button",
222
222
  {
223
- onMouseDown: g,
224
- onClick: () => z(),
223
+ onPointerDown: (e) => b(e, L),
224
+ onClick: () => g(L),
225
225
  type: "button",
226
- className: n(t.toolbarItem, {
227
- [t.active]: p === "ol"
226
+ className: i(t.toolbarItem, {
227
+ [t.active]: T === "ol"
228
228
  }),
229
- "aria-label": c.formatMessage({
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__ */ i(
234
- m,
233
+ children: /* @__PURE__ */ n(
234
+ f,
235
235
  {
236
236
  name: "orderedList",
237
237
  width: 24,
238
238
  height: 24,
239
- className: n(t.format, t.numberedList)
239
+ className: i(t.format, t.numberedList)
240
240
  }
241
241
  )
242
242
  }
243
243
  ),
244
- !s.hideSourceAction && /* @__PURE__ */ i(
244
+ !a.hideSourceAction && /* @__PURE__ */ n(
245
245
  "button",
246
246
  {
247
- onMouseDown: g,
248
- onClick: s.onAddSource,
247
+ onPointerDown: (e) => b(e, a.onAddSource),
248
+ onClick: () => g(a.onAddSource),
249
249
  type: "button",
250
250
  className: t.toolbarItem,
251
- "aria-label": c.formatMessage({
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__ */ i(
256
- m,
255
+ children: /* @__PURE__ */ n(
256
+ f,
257
257
  {
258
258
  name: "link",
259
259
  width: 20,
260
260
  height: 20,
261
- className: n(t.format, t.link)
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__ */ i("div", { className: t.actionButton, children: s.hideSubmit ? null : /* @__PURE__ */ i(
270
- ce,
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: s.onSubmit,
275
- className: n(t.inputSubmitActionButton, t.submitAction),
276
- "aria-label": c.formatMessage({
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__ */ i(m, { name: "send", width: 20, height: 20 })
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
- Le as ToolbarPlugin
288
+ Ae as ToolbarPlugin
289
289
  };
@@ -1,25 +1,25 @@
1
- import '../../../../assets/components/input/text_editor/plugins/ToolbarPlugin.module-CjkE3oe-.css';const t = "_toolbar_13b6u_3", o = "_toolbarIsActive_13b6u_13", n = "_iconToolbar_13b6u_17", _ = "_shortBar_13b6u_21", c = "_toolbarItem_13b6u_25", b = "_active_13b6u_45", i = "_format_13b6u_49", a = "_actionButton_13b6u_56", u = "_inputSubmitActionButton_13b6u_62", s = "_submitAction_13b6u_70", r = {
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: n,
5
- shortBar: _,
6
- toolbarItem: c,
7
- active: b,
4
+ iconToolbar: a,
5
+ shortBar: n,
6
+ toolbarItem: _,
7
+ active: c,
8
8
  format: i,
9
- actionButton: a,
10
- inputSubmitActionButton: u,
11
- submitAction: s
9
+ actionButton: s,
10
+ inputSubmitActionButton: r,
11
+ submitAction: b
12
12
  };
13
13
  export {
14
- a as actionButton,
15
- b as active,
16
- r as default,
14
+ s as actionButton,
15
+ c as active,
16
+ u as default,
17
17
  i as format,
18
- n as iconToolbar,
19
- u as inputSubmitActionButton,
20
- _ as shortBar,
21
- s as submitAction,
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
- c as toolbarItem
24
+ _ as toolbarItem
25
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logora/debate",
3
- "version": "0.4.27",
3
+ "version": "0.4.30",
4
4
  "type": "module",
5
5
  "license": "AGPL-3.0",
6
6
  "description": "Design system of @Logora made with React",
@@ -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}