@bikdotai/bik-component-library 0.0.848 → 0.0.849-beta.1

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.
Files changed (48) hide show
  1. package/dist/cjs/components/agent-builder/AgentBuilder.js +1 -1
  2. package/dist/cjs/components/agent-builder/AgentBuilder.js.map +1 -1
  3. package/dist/cjs/components/agent-builder/components/CreateSubAgentPanel.js +2 -2
  4. package/dist/cjs/components/agent-builder/components/CreateSubAgentPanel.js.map +1 -1
  5. package/dist/cjs/components/agent-builder/components/MentionEditor.js +1 -1
  6. package/dist/cjs/components/agent-builder/components/MentionEditor.js.map +1 -1
  7. package/dist/cjs/components/agent-builder/components/MentionField.js +1 -1
  8. package/dist/cjs/components/agent-builder/components/MentionField.js.map +1 -1
  9. package/dist/cjs/components/agent-builder/components/MentionPicker.js +11 -11
  10. package/dist/cjs/components/agent-builder/components/MentionPicker.js.map +1 -1
  11. package/dist/cjs/components/agent-builder/constants/tools.js +1 -1
  12. package/dist/cjs/components/agent-builder/constants/tools.js.map +1 -1
  13. package/dist/cjs/components/agent-builder/context/AgentBuilderContext.js +1 -1
  14. package/dist/cjs/components/agent-builder/context/AgentBuilderContext.js.map +1 -1
  15. package/dist/cjs/components/agent-builder/steps/Step3HowItResponds.js +1 -1
  16. package/dist/cjs/components/agent-builder/steps/Step3HowItResponds.js.map +1 -1
  17. package/dist/cjs/components/agent-builder/utils/mentionSerialization.js +2 -2
  18. package/dist/cjs/components/agent-builder/utils/mentionSerialization.js.map +1 -1
  19. package/dist/cjs/editor/BikEditor.styles.js +6 -0
  20. package/dist/cjs/editor/BikEditor.styles.js.map +1 -1
  21. package/dist/esm/components/agent-builder/AgentBuilder.js +71 -69
  22. package/dist/esm/components/agent-builder/AgentBuilder.js.map +1 -1
  23. package/dist/esm/components/agent-builder/AgentBuilder.model.d.ts +8 -0
  24. package/dist/esm/components/agent-builder/components/CreateSubAgentPanel.d.ts +3 -0
  25. package/dist/esm/components/agent-builder/components/CreateSubAgentPanel.js +113 -110
  26. package/dist/esm/components/agent-builder/components/CreateSubAgentPanel.js.map +1 -1
  27. package/dist/esm/components/agent-builder/components/MentionEditor.d.ts +7 -0
  28. package/dist/esm/components/agent-builder/components/MentionEditor.js +89 -74
  29. package/dist/esm/components/agent-builder/components/MentionEditor.js.map +1 -1
  30. package/dist/esm/components/agent-builder/components/MentionField.js +28 -26
  31. package/dist/esm/components/agent-builder/components/MentionField.js.map +1 -1
  32. package/dist/esm/components/agent-builder/components/MentionPicker.d.ts +14 -1
  33. package/dist/esm/components/agent-builder/components/MentionPicker.js +153 -124
  34. package/dist/esm/components/agent-builder/components/MentionPicker.js.map +1 -1
  35. package/dist/esm/components/agent-builder/constants/tools.d.ts +1 -1
  36. package/dist/esm/components/agent-builder/constants/tools.js +6 -5
  37. package/dist/esm/components/agent-builder/constants/tools.js.map +1 -1
  38. package/dist/esm/components/agent-builder/context/AgentBuilderContext.d.ts +7 -0
  39. package/dist/esm/components/agent-builder/context/AgentBuilderContext.js +99 -96
  40. package/dist/esm/components/agent-builder/context/AgentBuilderContext.js.map +1 -1
  41. package/dist/esm/components/agent-builder/steps/Step3HowItResponds.js +79 -77
  42. package/dist/esm/components/agent-builder/steps/Step3HowItResponds.js.map +1 -1
  43. package/dist/esm/components/agent-builder/utils/mentionSerialization.d.ts +13 -3
  44. package/dist/esm/components/agent-builder/utils/mentionSerialization.js +52 -40
  45. package/dist/esm/components/agent-builder/utils/mentionSerialization.js.map +1 -1
  46. package/dist/esm/editor/BikEditor.styles.js +6 -0
  47. package/dist/esm/editor/BikEditor.styles.js.map +1 -1
  48. package/package.json +1 -1
@@ -1,79 +1,91 @@
1
- import { jsxs as b, jsx as s, Fragment as K } from "react/jsx-runtime";
2
- import H from "../../../assets/icons/chevronRight.svg.js";
3
- import ee from "../../../assets/icons/searchIcon.svg.js";
4
- import te from "../../../icons/Arrows/Normal arrows/ArrowLeft.js";
5
- import { useState as E, useMemo as k, useEffect as D, useRef as ne } from "react";
1
+ import { jsxs as b, jsx as c, Fragment as ee } from "react/jsx-runtime";
2
+ import te from "../../../assets/icons/chevronRight.svg.js";
3
+ import ne from "../../../assets/icons/searchIcon.svg.js";
4
+ import re from "../../../icons/Arrows/Normal arrows/ArrowLeft.js";
5
+ import { useState as q, useMemo as v, useEffect as N, useRef as oe } from "react";
6
6
  import p from "styled-components";
7
- import { TitleSmall as re, BodySecondary as oe, BodyCaption as ie } from "../../TypographyStyle.js";
7
+ import { TitleSmall as ie, BodySecondary as ae, BodyCaption as le } from "../../TypographyStyle.js";
8
8
  import { COLORS as i } from "../../../constants/Theme.js";
9
- import { CATEGORIES as ae, toolSourceRank as Q, CONFIG_TOOL_SOURCES as le } from "../constants/tools.js";
10
- import { toolSourceLabel as M } from "../utils/mentionSerialization.js";
11
- import { sourceIcon as q, renderSourceIcon as V } from "../utils/sourceIcons.js";
12
- import W from "../../../icons/Informational/Common UI/Shield.js";
13
- const h = (l) => l.meta, I = (l) => h(l)?.plainLabel ?? l.label, ce = "__bik_create_subagent__", qe = ({
14
- items: l,
9
+ import { PickerType as ce } from "../../variable-picker-v3/model.js";
10
+ import { CATEGORIES as se, toolSourceRank as W, CONFIG_TOOL_SOURCES as de } from "../constants/tools.js";
11
+ import { toolSourceLabel as U } from "../utils/mentionSerialization.js";
12
+ import { sourceIcon as T, renderSourceIcon as X } from "../utils/sourceIcons.js";
13
+ import { VariablePicker as ue } from "../../variable-picker-v3/VariablePicker.js";
14
+ import Y from "../../../icons/Informational/Common UI/Shield.js";
15
+ const h = (s) => s.meta, I = (s) => h(s)?.plainLabel ?? s.label, pe = "__bik_create_subagent__", ze = ({
16
+ items: s,
15
17
  onSelect: R,
16
18
  registerKeyHandler: S,
17
- onClose: v,
19
+ onClose: x,
18
20
  onCreateSubAgent: y,
19
- initialSource: N,
20
- toolActions: x,
21
- integrationStatus: U,
22
- onConnectIntegration: j
21
+ initialSource: j,
22
+ toolActions: k,
23
+ integrationStatus: F,
24
+ onConnectIntegration: G,
25
+ variablesData: _,
26
+ onSelectVariable: O
23
27
  }) => {
24
- const [X, _] = E(null), [c, O] = E(N ?? null), [C, g] = E(-1), [w, F] = E(""), m = k(
25
- () => l.filter((e) => h(e)?.kind === "tool"),
26
- [l]
27
- ), $ = k(
28
- () => l.filter((e) => h(e)?.kind === "subagent"),
29
- [l]
30
- ), P = k(() => {
28
+ const [Z, C] = q(null), [d, D] = q(j ?? null), [B, g] = q(-1), [w, J] = q(""), m = v(
29
+ () => s.filter((e) => h(e)?.kind === "tool"),
30
+ [s]
31
+ ), $ = v(
32
+ () => s.filter((e) => h(e)?.kind === "subagent"),
33
+ [s]
34
+ ), z = v(() => {
31
35
  const e = [];
32
36
  return m.forEach((r) => {
33
37
  const f = h(r)?.source ?? "other";
34
38
  e.includes(f) || e.push(f);
35
39
  }), e;
36
- }, [m]), T = k(
40
+ }, [m]), M = v(
37
41
  () => new Map(
38
- (x ?? []).map((e) => [e.source, e])
42
+ (k ?? []).map((e) => [e.source, e])
39
43
  ),
40
- [x]
41
- ), A = k(
42
- () => ae.filter(
43
- (e) => e.key === "tool" ? m.length > 0 || (x?.length ?? 0) > 0 : $.length > 0 || !!y
44
- ),
45
- [m.length, $.length, y, x?.length]
46
- ), z = A.length === 1 ? A[0].key : null, d = X ?? z, u = d ? d === "subagent" ? (
44
+ [k]
45
+ ), A = v(
46
+ () => se.filter((e) => e.key === "tool" ? m.length > 0 || (k?.length ?? 0) > 0 : e.key === "variable" ? (_?.length ?? 0) > 0 && !!O : $.length > 0 || !!y),
47
+ [
48
+ m.length,
49
+ $.length,
50
+ y,
51
+ k?.length,
52
+ _?.length,
53
+ O
54
+ ]
55
+ ), L = A.length === 1 ? A[0].key : null, a = Z ?? L, u = a ? a === "subagent" ? (
47
56
  // Always titled — with a back arrow only when the category chooser is above.
48
57
  {
49
58
  title: "Sub-agent",
50
- onBack: z ? void 0 : () => _(null)
59
+ onBack: L ? void 0 : () => C(null)
51
60
  }
52
- ) : c ? {
53
- title: M(c),
61
+ ) : a === "variable" ? {
62
+ title: "Variables",
63
+ onBack: L ? void 0 : () => C(null)
64
+ } : d ? {
65
+ title: U(d),
54
66
  // Deep-linked to a source (opened from a right-panel source button):
55
67
  // that source IS the root, so no back arrow. In the @-drill flow
56
68
  // (no initialSource) back returns to the source chooser.
57
- onBack: N ? void 0 : () => O(null),
58
- icon: q(c)
69
+ onBack: j ? void 0 : () => D(null),
70
+ icon: T(d)
59
71
  } : (
60
72
  // Always titled — matches the Sub-agent header; back arrow only when the
61
73
  // category chooser is above (i.e. not the sole category).
62
74
  {
63
75
  title: "Tools",
64
- onBack: z ? void 0 : () => _(null)
76
+ onBack: L ? void 0 : () => C(null)
65
77
  }
66
- ) : null, a = k(() => {
67
- if (!d)
78
+ ) : null, l = v(() => {
79
+ if (!a)
68
80
  return A.map((n) => ({
69
81
  id: n.key,
70
82
  label: n.label,
71
83
  drillsIn: !0,
72
84
  onActivate: () => {
73
- _(n.key), O(null);
85
+ C(n.key), D(null);
74
86
  }
75
87
  }));
76
- if (d === "subagent") {
88
+ if (a === "subagent") {
77
89
  const n = w.trim().toLowerCase(), t = $.filter((o) => !n || I(o).toLowerCase().includes(n)).map((o) => ({
78
90
  id: String(o.id),
79
91
  label: I(o),
@@ -81,106 +93,108 @@ const h = (l) => l.meta, I = (l) => h(l)?.plainLabel ?? l.label, ce = "__bik_cre
81
93
  onActivate: () => R(o)
82
94
  }));
83
95
  return y && t.push({
84
- id: ce,
96
+ id: pe,
85
97
  label: "Create new",
86
98
  drillsIn: !1,
87
99
  isCreate: !0,
88
100
  onActivate: () => {
89
- v?.(), y();
101
+ x?.(), y();
90
102
  }
91
103
  }), t;
92
104
  }
93
- if (!c) {
94
- const n = (x ?? []).map((t) => t.source).filter((t) => !P.includes(t));
95
- return [...P, ...n].sort((t, o) => Q(t) - Q(o)).map((t) => {
96
- const o = T.get(t);
97
- if ((o !== void 0 ? o.connected : U?.[t]) === !1)
105
+ if (a === "variable")
106
+ return [];
107
+ if (!d) {
108
+ const n = (k ?? []).map((t) => t.source).filter((t) => !z.includes(t));
109
+ return [...z, ...n].sort((t, o) => W(t) - W(o)).map((t) => {
110
+ const o = M.get(t);
111
+ if ((o !== void 0 ? o.connected : F?.[t]) === !1)
98
112
  return {
99
113
  id: t,
100
- label: M(t),
114
+ label: U(t),
101
115
  drillsIn: !1,
102
- icon: q(t) ?? o?.icon,
116
+ icon: T(t) ?? o?.icon,
103
117
  rightLabel: "Connect",
104
118
  onActivate: () => {
105
- v?.(), o?.onConnect ? o.onConnect() : j?.(t);
119
+ x?.(), o?.onConnect ? o.onConnect() : G?.(t);
106
120
  }
107
121
  };
108
- const J = m.filter(
109
- (L) => (h(L)?.source ?? "other") === t
122
+ const V = m.filter(
123
+ (E) => (h(E)?.source ?? "other") === t
110
124
  );
111
- if (J.length + (o ? 1 : 0) === 1) {
112
- const L = q(t) ?? o?.icon;
125
+ if (V.length + (o ? 1 : 0) === 1) {
126
+ const E = T(t) ?? o?.icon;
113
127
  if (o)
114
128
  return {
115
129
  id: t,
116
130
  label: o.label,
117
131
  drillsIn: !1,
118
- icon: L,
132
+ icon: E,
119
133
  onActivate: () => {
120
- v?.(), o.onSelect();
134
+ x?.(), o.onSelect();
121
135
  }
122
136
  };
123
- const B = J[0];
137
+ const P = V[0];
124
138
  return {
125
- id: String(B.id),
126
- label: I(B),
139
+ id: String(P.id),
140
+ label: I(P),
127
141
  drillsIn: !1,
128
- icon: L,
129
- authRequired: h(B)?.authRequired,
130
- onActivate: () => R(B)
142
+ icon: E,
143
+ authRequired: h(P)?.authRequired,
144
+ onActivate: () => R(P)
131
145
  };
132
146
  }
133
147
  return {
134
148
  id: t,
135
- label: M(t),
149
+ label: U(t),
136
150
  drillsIn: !0,
137
- icon: q(t) ?? o?.icon,
138
- onActivate: () => O(t)
151
+ icon: T(t) ?? o?.icon,
152
+ onActivate: () => D(t)
139
153
  };
140
154
  });
141
155
  }
142
- const e = w.trim().toLowerCase(), r = m.filter((n) => (h(n)?.source ?? "other") === c).filter((n) => !e || I(n).toLowerCase().includes(e)).map((n) => ({
156
+ const e = w.trim().toLowerCase(), r = m.filter((n) => (h(n)?.source ?? "other") === d).filter((n) => !e || I(n).toLowerCase().includes(e)).map((n) => ({
143
157
  id: String(n.id),
144
158
  label: I(n),
145
159
  drillsIn: !1,
146
160
  authRequired: h(n)?.authRequired,
147
161
  onActivate: () => R(n)
148
- })), f = T.get(c);
162
+ })), f = M.get(d);
149
163
  if (f) {
150
- const n = c in le;
164
+ const n = d in de;
151
165
  r.push({
152
- id: `create:${c}`,
166
+ id: `create:${d}`,
153
167
  label: f.label,
154
168
  drillsIn: !1,
155
169
  isCreate: !n,
156
170
  onActivate: () => {
157
- v?.(), f.onSelect();
171
+ x?.(), f.onSelect();
158
172
  }
159
173
  });
160
174
  }
161
175
  return r;
162
176
  }, [
163
- d,
177
+ a,
164
178
  A,
165
- c,
179
+ d,
166
180
  w,
167
181
  m,
168
182
  $,
169
- P,
183
+ z,
170
184
  R,
171
- v,
172
- y,
173
185
  x,
174
- T,
175
- U,
176
- j
186
+ y,
187
+ k,
188
+ M,
189
+ F,
190
+ G
177
191
  ]);
178
- D(() => g(-1), [d, c, w, l]), D(() => F(""), [d, c]);
179
- const G = ne({ rows: a, activeIndex: C, header: u });
180
- G.current = { rows: a, activeIndex: C, header: u }, D(() => {
192
+ N(() => g(-1), [a, d, w, s]), N(() => J(""), [a, d]);
193
+ const Q = oe({ rows: l, activeIndex: B, header: u });
194
+ Q.current = { rows: l, activeIndex: B, header: u }, N(() => {
181
195
  if (S)
182
196
  return S((e) => {
183
- const { rows: r, activeIndex: f, header: n } = G.current;
197
+ const { rows: r, activeIndex: f, header: n } = Q.current;
184
198
  switch (e.key) {
185
199
  case "ArrowDown":
186
200
  return r.length && g((t) => (t + 1) % r.length), !0;
@@ -196,10 +210,10 @@ const h = (l) => l.meta, I = (l) => h(l)?.plainLabel ?? l.label, ce = "__bik_cre
196
210
  }
197
211
  }), () => S(null);
198
212
  }, [S]);
199
- const Y = d ? a.length && !a[0].drillsIn ? "items" : "sources" : "categories", Z = d === "tool" && !!c || d === "subagent";
200
- return /* @__PURE__ */ b(se, { className: `bik-mention-picker bik-mention-picker--${Y}`, children: [
213
+ const K = a ? l.length && !l[0].drillsIn ? "items" : "sources" : "categories", H = a === "tool" && !!d || a === "subagent";
214
+ return /* @__PURE__ */ b(fe, { className: `bik-mention-picker bik-mention-picker--${K}`, children: [
201
215
  u && /* @__PURE__ */ b(
202
- be,
216
+ ye,
203
217
  {
204
218
  type: "button",
205
219
  onClick: u.onBack,
@@ -209,76 +223,91 @@ const h = (l) => l.meta, I = (l) => h(l)?.plainLabel ?? l.label, ce = "__bik_cre
209
223
  cursor: u.onBack ? "pointer" : "default"
210
224
  },
211
225
  children: [
212
- u.onBack && /* @__PURE__ */ s(
213
- te,
226
+ u.onBack && /* @__PURE__ */ c(
227
+ re,
214
228
  {
215
229
  width: 20,
216
230
  height: 20,
217
231
  color: i.content.primary
218
232
  }
219
233
  ),
220
- u.icon && V(u.icon),
221
- /* @__PURE__ */ b(re, { children: [
234
+ u.icon && X(u.icon),
235
+ /* @__PURE__ */ b(ie, { children: [
222
236
  " ",
223
237
  u.title
224
238
  ] })
225
239
  ]
226
240
  }
227
241
  ),
228
- Z && /* @__PURE__ */ b(de, { children: [
229
- /* @__PURE__ */ s(
230
- ee,
242
+ H && /* @__PURE__ */ b(he, { children: [
243
+ /* @__PURE__ */ c(
244
+ ne,
231
245
  {
232
246
  width: 20,
233
247
  height: 20,
234
248
  color: i.content.placeholder
235
249
  }
236
250
  ),
237
- /* @__PURE__ */ s(
238
- ue,
251
+ /* @__PURE__ */ c(
252
+ ge,
239
253
  {
240
254
  autoFocus: !0,
241
255
  value: w,
242
256
  placeholder: "Search",
243
257
  "data-test": "mention-picker-search",
244
- onChange: (e) => F(e.target.value),
258
+ onChange: (e) => J(e.target.value),
245
259
  onKeyDown: (e) => {
246
- a.length && (e.key === "ArrowDown" ? (e.preventDefault(), g((r) => (r + 1) % a.length)) : e.key === "ArrowUp" ? (e.preventDefault(), g((r) => (r + a.length - 1) % a.length)) : e.key === "Enter" && (e.preventDefault(), (a[C] ?? a[0])?.onActivate()));
260
+ l.length && (e.key === "ArrowDown" ? (e.preventDefault(), g((r) => (r + 1) % l.length)) : e.key === "ArrowUp" ? (e.preventDefault(), g((r) => (r + l.length - 1) % l.length)) : e.key === "Enter" && (e.preventDefault(), (l[B] ?? l[0])?.onActivate()));
247
261
  }
248
262
  }
249
263
  )
250
264
  ] }),
251
- a.length === 0 ? /* @__PURE__ */ s(xe, { children: d === "subagent" ? null : "No tools available" }) : a.map((e, r) => /* @__PURE__ */ s(
252
- pe,
265
+ a === "variable" ? (
266
+ // Shared variable catalog, embedded as this drill-in view. Selecting a
267
+ // variable dismisses the menu FIRST (strips the typed "@" + query),
268
+ // then hands the variable up to insert its `{{token}}` at the cursor.
269
+ /* @__PURE__ */ c(
270
+ ue,
271
+ {
272
+ type: ce.EMBEDDED,
273
+ data: _ ?? [],
274
+ showRecommendedBar: !1,
275
+ onSelect: (e) => {
276
+ x?.(), O?.(e);
277
+ }
278
+ }
279
+ )
280
+ ) : l.length === 0 ? /* @__PURE__ */ c(we, { children: a === "subagent" ? null : "No tools available" }) : l.map((e, r) => /* @__PURE__ */ c(
281
+ me,
253
282
  {
254
283
  type: "button",
255
- $active: r === C,
284
+ $active: r === B,
256
285
  onMouseEnter: () => g(r),
257
286
  onMouseLeave: () => g(-1),
258
287
  onClick: e.onActivate,
259
- children: e.isCreate ? /* @__PURE__ */ s(me, { children: e.label }) : /* @__PURE__ */ b(K, { children: [
260
- /* @__PURE__ */ b(fe, { children: [
261
- V(e.icon),
262
- /* @__PURE__ */ s(oe, { color: i.content.primary, children: e.label }),
263
- e.authRequired && /* @__PURE__ */ s(
264
- W,
288
+ children: e.isCreate ? /* @__PURE__ */ c(ve, { children: e.label }) : /* @__PURE__ */ b(ee, { children: [
289
+ /* @__PURE__ */ b(be, { children: [
290
+ X(e.icon),
291
+ /* @__PURE__ */ c(ae, { color: i.content.primary, children: e.label }),
292
+ e.authRequired && /* @__PURE__ */ c(
293
+ Y,
265
294
  {
266
295
  size: 14,
267
296
  "aria-label": "Requires customer verification"
268
297
  }
269
298
  )
270
299
  ] }),
271
- e.rightLabel ? /* @__PURE__ */ s(ge, { children: e.rightLabel }) : e.drillsIn && /* @__PURE__ */ s(H, { width: 12, height: 12 })
300
+ e.rightLabel ? /* @__PURE__ */ c(ke, { children: e.rightLabel }) : e.drillsIn && /* @__PURE__ */ c(te, { width: 12, height: 12 })
272
301
  ] })
273
302
  },
274
303
  e.id
275
304
  )),
276
- a.some((e) => e.authRequired) && /* @__PURE__ */ b(he, { children: [
277
- /* @__PURE__ */ s(W, { size: 14 }),
278
- /* @__PURE__ */ s(ie, { color: i.content.secondary, children: "Requires customer verification" })
305
+ l.some((e) => e.authRequired) && /* @__PURE__ */ b(xe, { children: [
306
+ /* @__PURE__ */ c(Y, { size: 14 }),
307
+ /* @__PURE__ */ c(le, { color: i.content.secondary, children: "Requires customer verification" })
279
308
  ] })
280
309
  ] });
281
- }, se = p.div`
310
+ }, fe = p.div`
282
311
  display: flex;
283
312
  flex-direction: column;
284
313
  min-width: 240px;
@@ -288,13 +317,13 @@ const h = (l) => l.meta, I = (l) => h(l)?.plainLabel ?? l.label, ce = "__bik_cre
288
317
  border: 1px solid ${i.stroke.primary};
289
318
  border-radius: 4px;
290
319
  box-shadow: 0px -2px 8px 0px #0000001f;
291
- `, de = p.div`
320
+ `, he = p.div`
292
321
  display: flex;
293
322
  align-items: center;
294
323
  gap: 8px;
295
324
  padding: 10px 12px;
296
325
  border-bottom: 1px solid ${i.stroke.primary};
297
- `, ue = p.input`
326
+ `, ge = p.input`
298
327
  flex: 1;
299
328
  min-width: 0;
300
329
  border: none;
@@ -307,7 +336,7 @@ const h = (l) => l.meta, I = (l) => h(l)?.plainLabel ?? l.label, ce = "__bik_cre
307
336
  &::placeholder {
308
337
  color: ${i.content.placeholder};
309
338
  }
310
- `, pe = p.button`
339
+ `, me = p.button`
311
340
  display: flex;
312
341
  justify-content: space-between;
313
342
  align-items: center;
@@ -317,39 +346,39 @@ const h = (l) => l.meta, I = (l) => h(l)?.plainLabel ?? l.label, ce = "__bik_cre
317
346
  height: 48px;
318
347
  border: none;
319
348
  border-bottom: 1px solid ${i.stroke.primary};
320
- background: ${(l) => l.$active ? i.surface.subdued : "transparent"};
349
+ background: ${(s) => s.$active ? i.surface.subdued : "transparent"};
321
350
  cursor: pointer;
322
351
  text-align: left;
323
352
 
324
353
  &:hover {
325
354
  background: ${i.surface.hovered};
326
355
  }
327
- `, fe = p.div`
356
+ `, be = p.div`
328
357
  display: flex;
329
358
  align-items: center;
330
359
  gap: 12px;
331
360
  min-width: 0;
332
- `, he = p.div`
361
+ `, xe = p.div`
333
362
  display: flex;
334
363
  align-items: center;
335
364
  gap: 6px;
336
365
  padding: 8px 12px;
337
366
  border-top: 1px solid ${i.stroke.primary};
338
- `, ge = p.span`
367
+ `, ke = p.span`
339
368
  flex-shrink: 0;
340
369
  color: ${i.content.brand};
341
370
  font-family: Inter;
342
371
  font-size: 14px;
343
372
  font-weight: 600;
344
373
  white-space: nowrap;
345
- `, me = p.div`
374
+ `, ve = p.div`
346
375
  width: 100%;
347
376
  text-align: center;
348
377
  color: ${i.content.brand};
349
378
  font-family: Inter;
350
379
  font-size: 14px;
351
380
  font-weight: 600;
352
- `, be = p.button`
381
+ `, ye = p.button`
353
382
  display: flex;
354
383
  align-items: center;
355
384
  padding: 12px 16px;
@@ -362,13 +391,13 @@ const h = (l) => l.meta, I = (l) => h(l)?.plainLabel ?? l.label, ce = "__bik_cre
362
391
  font-weight: 600;
363
392
  height: 48px;
364
393
  gap: 4px;
365
- `, xe = p.div`
394
+ `, we = p.div`
366
395
  padding: 12px 10px;
367
396
  font-family: Inter;
368
397
  font-size: 13px;
369
398
  color: ${i.content.secondary};
370
399
  `;
371
400
  export {
372
- qe as MentionPicker
401
+ ze as MentionPicker
373
402
  };
374
403
  //# sourceMappingURL=MentionPicker.js.map