@bikdotai/bik-component-library 0.0.841-beta.1 → 0.0.841

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