@bikdotai/bik-component-library 0.0.863-beta.4 → 0.0.863-beta.6

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 (74) 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/AgentBuilder.styled.js +174 -42
  4. package/dist/cjs/components/agent-builder/AgentBuilder.styled.js.map +1 -1
  5. package/dist/cjs/components/agent-builder/components/AgentStateModal.js +2 -0
  6. package/dist/cjs/components/agent-builder/components/AgentStateModal.js.map +1 -0
  7. package/dist/cjs/components/agent-builder/components/ChannelSelectModal.js +2 -0
  8. package/dist/cjs/components/agent-builder/components/ChannelSelectModal.js.map +1 -0
  9. package/dist/cjs/components/agent-builder/components/ChannelsSection.js +2 -0
  10. package/dist/cjs/components/agent-builder/components/ChannelsSection.js.map +1 -0
  11. package/dist/cjs/components/agent-builder/components/MentionPicker.js +1 -1
  12. package/dist/cjs/components/agent-builder/components/MentionPicker.js.map +1 -1
  13. package/dist/cjs/components/agent-builder/components/SelectableListSection.js +1 -1
  14. package/dist/cjs/components/agent-builder/components/SelectableListSection.js.map +1 -1
  15. package/dist/cjs/components/agent-builder/constants/channels.js +2 -0
  16. package/dist/cjs/components/agent-builder/constants/channels.js.map +1 -0
  17. package/dist/cjs/components/agent-builder/constants/steps.js +1 -1
  18. package/dist/cjs/components/agent-builder/constants/steps.js.map +1 -1
  19. package/dist/cjs/components/agent-builder/context/AgentBuilderContext.js +1 -1
  20. package/dist/cjs/components/agent-builder/context/AgentBuilderContext.js.map +1 -1
  21. package/dist/cjs/components/agent-builder/steps/Step1About.js +1 -1
  22. package/dist/cjs/components/agent-builder/steps/Step1About.js.map +1 -1
  23. package/dist/cjs/components/agent-builder/steps/Step2WhenItStepsIn.js +2 -2
  24. package/dist/cjs/components/agent-builder/steps/Step2WhenItStepsIn.js.map +1 -1
  25. package/dist/cjs/components/agent-builder/steps/Step4HandoverRules.js +1 -1
  26. package/dist/cjs/components/agent-builder/steps/Step4HandoverRules.js.map +1 -1
  27. package/dist/cjs/components/agent-listing/AgentTableRow.js +1 -1
  28. package/dist/cjs/components/agent-listing/AgentTableRow.js.map +1 -1
  29. package/dist/cjs/components/toaster/Toaster.styled.js +35 -20
  30. package/dist/cjs/components/toaster/Toaster.styled.js.map +1 -1
  31. package/dist/cjs/index.js +1 -1
  32. package/dist/esm/components/agent-builder/AgentBuilder.js +105 -99
  33. package/dist/esm/components/agent-builder/AgentBuilder.js.map +1 -1
  34. package/dist/esm/components/agent-builder/AgentBuilder.model.d.ts +76 -0
  35. package/dist/esm/components/agent-builder/AgentBuilder.styled.d.ts +91 -0
  36. package/dist/esm/components/agent-builder/AgentBuilder.styled.js +271 -93
  37. package/dist/esm/components/agent-builder/AgentBuilder.styled.js.map +1 -1
  38. package/dist/esm/components/agent-builder/components/AgentStateModal.d.ts +47 -0
  39. package/dist/esm/components/agent-builder/components/AgentStateModal.js +82 -0
  40. package/dist/esm/components/agent-builder/components/AgentStateModal.js.map +1 -0
  41. package/dist/esm/components/agent-builder/components/ChannelSelectModal.d.ts +26 -0
  42. package/dist/esm/components/agent-builder/components/ChannelSelectModal.js +121 -0
  43. package/dist/esm/components/agent-builder/components/ChannelSelectModal.js.map +1 -0
  44. package/dist/esm/components/agent-builder/components/ChannelsSection.d.ts +10 -0
  45. package/dist/esm/components/agent-builder/components/ChannelsSection.js +183 -0
  46. package/dist/esm/components/agent-builder/components/ChannelsSection.js.map +1 -0
  47. package/dist/esm/components/agent-builder/components/MentionPicker.js +27 -27
  48. package/dist/esm/components/agent-builder/components/MentionPicker.js.map +1 -1
  49. package/dist/esm/components/agent-builder/components/SelectableListSection.js +16 -23
  50. package/dist/esm/components/agent-builder/components/SelectableListSection.js.map +1 -1
  51. package/dist/esm/components/agent-builder/constants/channels.d.ts +56 -0
  52. package/dist/esm/components/agent-builder/constants/channels.js +41 -0
  53. package/dist/esm/components/agent-builder/constants/channels.js.map +1 -0
  54. package/dist/esm/components/agent-builder/constants/steps.d.ts +31 -1
  55. package/dist/esm/components/agent-builder/constants/steps.js +15 -6
  56. package/dist/esm/components/agent-builder/constants/steps.js.map +1 -1
  57. package/dist/esm/components/agent-builder/context/AgentBuilderContext.d.ts +13 -1
  58. package/dist/esm/components/agent-builder/context/AgentBuilderContext.js +192 -175
  59. package/dist/esm/components/agent-builder/context/AgentBuilderContext.js.map +1 -1
  60. package/dist/esm/components/agent-builder/index.d.ts +7 -2
  61. package/dist/esm/components/agent-builder/steps/Step1About.js +15 -13
  62. package/dist/esm/components/agent-builder/steps/Step1About.js.map +1 -1
  63. package/dist/esm/components/agent-builder/steps/Step2WhenItStepsIn.js +54 -49
  64. package/dist/esm/components/agent-builder/steps/Step2WhenItStepsIn.js.map +1 -1
  65. package/dist/esm/components/agent-builder/steps/Step4HandoverRules.d.ts +11 -0
  66. package/dist/esm/components/agent-builder/steps/Step4HandoverRules.js +127 -23
  67. package/dist/esm/components/agent-builder/steps/Step4HandoverRules.js.map +1 -1
  68. package/dist/esm/components/agent-listing/AgentTableRow.js +71 -38
  69. package/dist/esm/components/agent-listing/AgentTableRow.js.map +1 -1
  70. package/dist/esm/components/toaster/Toaster.styled.js +37 -22
  71. package/dist/esm/components/toaster/Toaster.styled.js.map +1 -1
  72. package/dist/esm/index.js +644 -634
  73. package/dist/esm/index.js.map +1 -1
  74. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import e, { css as s } from "styled-components";
2
- import { COLORS as t, BASE_COLORS as i } from "../../constants/Theme.js";
3
- const r = s`
2
+ import { COLORS as t, BASE_COLORS as a } from "../../constants/Theme.js";
3
+ const n = s`
4
4
  display: flex;
5
5
  align-items: center;
6
6
  justify-content: center;
@@ -21,14 +21,14 @@ const r = s`
21
21
  opacity: 0.5;
22
22
  background: transparent;
23
23
  }
24
- `, d = e.div.attrs({ className: "bik-builder-root" })`
24
+ `, c = e.div.attrs({ className: "bik-builder-root" })`
25
25
  display: flex;
26
26
  flex-direction: column;
27
27
  height: 100%;
28
28
  width: 100%;
29
29
  min-height: 0;
30
30
  background: ${t.surface.standard};
31
- `, l = e.div.attrs({ className: "bik-top-bar" })`
31
+ `, p = e.div.attrs({ className: "bik-top-bar" })`
32
32
  display: flex;
33
33
  align-items: center;
34
34
  justify-content: space-between;
@@ -36,11 +36,11 @@ const r = s`
36
36
  padding: 12px 16px;
37
37
  border-bottom: 1px solid ${t.stroke.primary};
38
38
  flex-shrink: 0;
39
- `, c = e.div.attrs({ className: "bik-top-bar-side" })`
39
+ `, x = e.div.attrs({ className: "bik-top-bar-side" })`
40
40
  display: flex;
41
41
  align-items: center;
42
42
  gap: 8px;
43
- `, p = e.button.attrs({ className: "bik-back-button" })`
43
+ `, h = e.button.attrs({ className: "bik-back-button" })`
44
44
  display: flex;
45
45
  align-items: center;
46
46
  justify-content: center;
@@ -55,18 +55,18 @@ const r = s`
55
55
  &:hover {
56
56
  background: ${t.surface.subdued};
57
57
  }
58
- `, x = e.div.attrs({ className: "bik-main" })`
58
+ `, g = e.div.attrs({ className: "bik-main" })`
59
59
  display: flex;
60
60
  flex: 1;
61
61
  min-height: 0;
62
- `, h = e.div.attrs({ className: "bik-rail" })`
62
+ `, b = e.div.attrs({ className: "bik-rail" })`
63
63
  width: 234px;
64
64
  flex-shrink: 0;
65
65
  border-right: 1px solid ${t.stroke.primary};
66
66
  padding: 16px;
67
67
  overflow-y: auto;
68
68
  background: ${t.surface.standard};
69
- `, b = e.div.attrs({ className: "bik-content" })`
69
+ `, m = e.div.attrs({ className: "bik-content" })`
70
70
  flex: 1;
71
71
  min-width: 0;
72
72
  min-height: 0;
@@ -75,7 +75,7 @@ const r = s`
75
75
  flex-direction: column;
76
76
  padding: 16px;
77
77
  background: ${t.surface.standard};
78
- `, g = e.div.attrs({ className: "bik-content-card" })`
78
+ `, f = e.div.attrs({ className: "bik-content-card" })`
79
79
  flex: 1;
80
80
  min-height: 0;
81
81
  display: flex;
@@ -84,11 +84,11 @@ const r = s`
84
84
  border: 1px solid ${t.stroke.primary};
85
85
  border-radius: 8px;
86
86
  box-sizing: border-box;
87
- `, f = e.div.attrs({ className: "bik-step-scroll" })`
87
+ `, u = e.div.attrs({ className: "bik-step-scroll" })`
88
88
  flex: 1;
89
89
  min-height: 0;
90
90
  overflow-y: auto;
91
- `, m = e.div.attrs({ className: "bik-footer" })`
91
+ `, k = e.div.attrs({ className: "bik-footer" })`
92
92
  display: flex;
93
93
  align-items: center;
94
94
  justify-content: space-between;
@@ -97,20 +97,20 @@ const r = s`
97
97
  border-top: 1px solid ${t.stroke.primary};
98
98
  flex-shrink: 0;
99
99
  box-shadow: 0px -2px 12px 0px #0000000a;
100
- `, u = e.div.attrs({ className: "bik-footer-hint" })`
100
+ `, w = e.div.attrs({ className: "bik-footer-hint" })`
101
101
  display: flex;
102
102
  align-items: center;
103
103
  gap: 6px;
104
- `, k = e.div.attrs({
104
+ `, y = e.div.attrs({
105
105
  className: "bik-footer-actions"
106
106
  })`
107
107
  display: flex;
108
108
  align-items: center;
109
109
  gap: 8px;
110
- `, w = e.div.attrs({ className: "bik-rail-list" })`
110
+ `, v = e.div.attrs({ className: "bik-rail-list" })`
111
111
  display: flex;
112
112
  flex-direction: column;
113
- `, y = e.button.attrs({ className: "bik-rail-item" })`
113
+ `, N = e.button.attrs({ className: "bik-rail-item" })`
114
114
  position: relative;
115
115
  display: flex;
116
116
  align-items: flex-start;
@@ -142,7 +142,7 @@ const r = s`
142
142
  border-left: 1px dashed #e0e0e0;
143
143
  pointer-events: none;
144
144
  }
145
- `, v = e.div.attrs({ className: "bik-step-badge" })`
145
+ `, $ = e.div.attrs({ className: "bik-step-badge" })`
146
146
  width: 20px;
147
147
  height: 20px;
148
148
  flex-shrink: 0;
@@ -154,9 +154,9 @@ const r = s`
154
154
  font-size: 10px;
155
155
  font-weight: 400;
156
156
  line-height: 12px;
157
- background: ${(a) => a.state === "complete" ? t.background.inverseLight : a.state === "active" ? t.background.brandLight : t.background.base};
158
- color: ${(a) => a.state === "complete" ? t.surface.standard : a.state === "active" ? t.background.inverseLight : t.content.secondary};
159
- `, N = e.div.attrs({
157
+ background: ${(i) => i.state === "complete" ? t.background.inverseLight : i.state === "active" ? t.background.brandLight : t.background.base};
158
+ color: ${(i) => i.state === "complete" ? t.surface.standard : i.state === "active" ? t.background.inverseLight : t.content.secondary};
159
+ `, S = e.div.attrs({
160
160
  className: "bik-section-header-wrap"
161
161
  })`
162
162
  display: flex;
@@ -164,34 +164,34 @@ const r = s`
164
164
  gap: 4px;
165
165
  padding: 16px;
166
166
  border-bottom: 1px solid ${t.stroke.primary};
167
- `, $ = e.div.attrs({
167
+ `, C = e.div.attrs({
168
168
  className: "bik-section-header-wrap"
169
169
  })`
170
170
  display: flex;
171
171
  flex-direction: column;
172
172
  gap: 16px;
173
173
  padding: 16px;
174
- `, S = e.div.attrs({ className: "bik-field-block" })`
174
+ `, B = e.div.attrs({ className: "bik-field-block" })`
175
175
  display: flex;
176
176
  flex-direction: column;
177
177
  gap: 8px;
178
- `, B = e.div.attrs({
178
+ `, R = e.div.attrs({
179
179
  className: "bik-field-label-row"
180
180
  })`
181
181
  display: flex;
182
182
  align-items: center;
183
183
  justify-content: space-between;
184
- `, R = e.div.attrs({
184
+ `, T = e.div.attrs({
185
185
  className: "bik-ai-text-area-shell"
186
186
  })`
187
187
  display: flex;
188
188
  flex-direction: column;
189
189
  border: 1px solid
190
- ${(a) => a.focused ? t.stroke.brand : t.stroke.primary};
190
+ ${(i) => i.focused ? t.stroke.brand : t.stroke.primary};
191
191
  border-radius: 4px;
192
192
  padding: 8px 12px;
193
193
  gap: 8px;
194
- min-height: ${(a) => a.minHeight ?? "120px"};
194
+ min-height: ${(i) => i.minHeight ?? "120px"};
195
195
  background: ${t.surface.standard};
196
196
  `, A = e.textarea.attrs({
197
197
  className: "bik-ai-text-area-input"
@@ -210,29 +210,35 @@ const r = s`
210
210
  &::placeholder {
211
211
  color: ${t.content.placeholder};
212
212
  }
213
- `, j = e.div.attrs({ className: "bik-card-row" })`
213
+ `, L = e.div.attrs({ className: "bik-card-row" })`
214
214
  display: flex;
215
215
  gap: 12px;
216
- `, L = e.button.attrs({ className: "bik-radio-card" })`
216
+ `, j = e.button.attrs({ className: "bik-radio-card" })`
217
217
  flex: 1;
218
218
  display: flex;
219
219
  align-items: flex-start;
220
220
  gap: 12px;
221
221
  padding: 16px;
222
222
  border: 1px solid
223
- ${(a) => a.selected ? i.brand[800] : t.stroke.primary};
224
- background: ${(a) => a.selected ? t.background.brandLight : t.surface.standard};
223
+ ${(i) => i.selected ? a.brand[800] : t.stroke.primary};
224
+ background: ${(i) => i.selected ? t.background.brandLight : t.surface.standard};
225
225
  border-radius: 8px;
226
226
  cursor: pointer;
227
227
  text-align: left;
228
228
  width: 100%;
229
+
230
+ &:disabled {
231
+ cursor: not-allowed;
232
+ background: ${t.surface.subdued};
233
+ border-color: ${t.stroke.primary};
234
+ }
229
235
  `, z = e.div.attrs({
230
236
  className: "bik-radio-card-text"
231
237
  })`
232
238
  display: flex;
233
239
  flex-direction: column;
234
240
  gap: 4px;
235
- `, C = e.div.attrs({ className: "bik-chip-wrap" })`
241
+ `, M = e.div.attrs({ className: "bik-chip-wrap" })`
236
242
  display: flex;
237
243
  flex-wrap: wrap;
238
244
  align-items: center;
@@ -250,13 +256,13 @@ e.button.attrs({
250
256
  background: transparent;
251
257
  cursor: pointer;
252
258
  `;
253
- const T = e.div.attrs({
259
+ const F = e.div.attrs({
254
260
  className: "bik-agent-step bik-agent-step--response"
255
261
  })`
256
262
  display: flex;
257
263
  flex-direction: column;
258
264
  min-height: 100%;
259
- `, F = e.div.attrs({ className: "bik-step3-grid" })`
265
+ `, I = e.div.attrs({ className: "bik-step3-grid" })`
260
266
  display: grid;
261
267
  grid-template-columns: minmax(0, 1fr) 1px 360px;
262
268
  /* Single row that fills the grid's height, so the divider spans the full
@@ -272,11 +278,11 @@ const T = e.div.attrs({
272
278
 
273
279
  /* Fill the remaining card height so a full-height child (e.g. the Step 3
274
280
  column divider) can stretch all the way down to the footer. */
275
- ${(a) => a.$grow && s`
281
+ ${(i) => i.$grow && s`
276
282
  flex: 1;
277
283
  min-height: 0;
278
284
  `}
279
- `, I = e.div.attrs({
285
+ `, H = e.div.attrs({
280
286
  className: "bik-step3-divider"
281
287
  })`
282
288
  width: 1px;
@@ -286,29 +292,29 @@ const T = e.div.attrs({
286
292
  @media (max-width: 1100px) {
287
293
  display: none;
288
294
  }
289
- `, M = e.div.attrs({ className: "bik-side-section" })`
295
+ `, E = e.div.attrs({ className: "bik-side-section" })`
290
296
  display: flex;
291
297
  flex-direction: column;
292
298
  gap: 8px;
293
- `, D = e.div.attrs({
299
+ `, O = e.div.attrs({
294
300
  className: "bik-side-section-header"
295
301
  })`
296
302
  display: flex;
297
303
  align-items: center;
298
304
  justify-content: space-between;
299
- `, H = e.button.attrs({
305
+ `, D = e.button.attrs({
300
306
  className: "bik-add-icon-button"
301
307
  })`
302
- ${r}
308
+ ${n}
303
309
  background: ${t.surface.standard};
304
310
  border: 1px solid ${t.stroke.primary};
305
- `, O = e.div.attrs({
311
+ `, _ = e.div.attrs({
306
312
  className: "bik-source-button-row"
307
313
  })`
308
314
  display: flex;
309
315
  flex-wrap: wrap;
310
316
  gap: 8px;
311
- `, W = e.button.attrs({
317
+ `, P = e.button.attrs({
312
318
  className: "bik-source-button"
313
319
  })`
314
320
  display: flex;
@@ -324,7 +330,7 @@ const T = e.div.attrs({
324
330
  &:hover {
325
331
  background: ${t.surface.subdued};
326
332
  }
327
- `, E = e.div.attrs({
333
+ `, G = e.div.attrs({
328
334
  className: "bik-selectable-row"
329
335
  })`
330
336
  display: flex;
@@ -347,7 +353,7 @@ const T = e.div.attrs({
347
353
  & > svg {
348
354
  flex-shrink: 0;
349
355
  }
350
- `, q = e.div.attrs({ className: "bik-row-text" })`
356
+ `, W = e.div.attrs({ className: "bik-row-text" })`
351
357
  flex: 1;
352
358
  min-width: 0;
353
359
  overflow: hidden;
@@ -359,7 +365,7 @@ const T = e.div.attrs({
359
365
  white-space: nowrap;
360
366
  text-overflow: ellipsis;
361
367
  }
362
- `, G = e.div.attrs({ className: "bik-row-label" })`
368
+ `, q = e.div.attrs({ className: "bik-row-label" })`
363
369
  display: flex;
364
370
  align-items: center;
365
371
  gap: 6px;
@@ -383,35 +389,35 @@ e.button.attrs({
383
389
  padding: 0;
384
390
  cursor: pointer;
385
391
  `;
386
- const U = e.div.attrs({ className: "bik-row-actions" })`
392
+ const K = e.div.attrs({ className: "bik-row-actions" })`
387
393
  display: flex;
388
394
  align-items: center;
389
395
  gap: 4px;
390
396
  flex-shrink: 0;
391
- `, _ = e.span.attrs({
397
+ `, U = e.span.attrs({
392
398
  className: "bik-row-action-divider"
393
399
  })`
394
400
  width: 1px;
395
401
  align-self: stretch;
396
402
  margin: 4px 0;
397
403
  background: ${t.stroke.primary};
398
- `, J = e.button.attrs({
404
+ `, X = e.button.attrs({
399
405
  className: "bik-row-menu-button"
400
406
  })`
401
- ${r}
402
- `, K = e.div.attrs({
407
+ ${n}
408
+ `, J = e.div.attrs({
403
409
  className: "bik-draft-button-scope"
404
410
  })`
405
411
  display: flex;
406
412
  flex: 1;
407
413
 
408
414
  button {
409
- border-color: ${i.brand[800]};
415
+ border-color: ${a.brand[800]};
410
416
  }
411
417
  button .text {
412
- color: ${i.brand[800]};
418
+ color: ${a.brand[800]};
413
419
  }
414
- `, P = e.div.attrs({ className: "bik-modal-body" })`
420
+ `, r = e.div.attrs({ className: "bik-modal-body" })`
415
421
  padding: 24px;
416
422
  display: flex;
417
423
  flex-direction: column;
@@ -422,7 +428,17 @@ const U = e.div.attrs({ className: "bik-row-actions" })`
422
428
  display: flex;
423
429
  align-items: center;
424
430
  justify-content: center;
425
- `, V = e.div.attrs({
431
+ `, o = 268, V = e(r)`
432
+ min-height: ${o}px;
433
+ `, Y = e.div`
434
+ flex: 1;
435
+ width: 100%;
436
+ display: flex;
437
+ flex-direction: column;
438
+ justify-content: center;
439
+ align-items: center;
440
+ gap: 8px;
441
+ `, Z = e.div.attrs({
426
442
  className: "bik-modal-actions"
427
443
  })`
428
444
  display: flex;
@@ -446,49 +462,211 @@ e.div.attrs({
446
462
  align-items: center;
447
463
  gap: 8px;
448
464
  `;
465
+ const ee = e.div.attrs({
466
+ className: "bik-channels-section"
467
+ })`
468
+ display: flex;
469
+ flex-direction: column;
470
+ gap: 8px;
471
+ `, te = e.button.attrs({
472
+ className: "bik-channels-link"
473
+ })`
474
+ display: flex;
475
+ align-items: center;
476
+ gap: 4px;
477
+ border: none;
478
+ background: transparent;
479
+ padding: 0;
480
+ cursor: pointer;
481
+ color: ${t.background.inverseLight};
482
+ font-size: 12px;
483
+ line-height: 16px;
484
+ font-weight: 400;
485
+ white-space: nowrap;
486
+
487
+ &:hover {
488
+ text-decoration: underline;
489
+ }
490
+ `, ie = e.div.attrs({
491
+ className: "bik-channel-card"
492
+ })`
493
+ display: flex;
494
+ flex-direction: column;
495
+ align-items: flex-start;
496
+ width: 100%;
497
+ background: ${t.surface.standard};
498
+ border: 1px solid ${t.stroke.primary};
499
+ border-radius: 4px;
500
+ overflow: hidden;
501
+ `, ae = e.div.attrs({ className: "bik-channel-row" })`
502
+ display: flex;
503
+ align-items: center;
504
+ gap: 8px;
505
+ padding: 12px;
506
+ width: 100%;
507
+ /* 12 + 24 + 12 — every child is pinned to the 24px band so the row can't
508
+ drift taller than the design's 48px. */
509
+ min-height: 48px;
510
+ box-sizing: border-box;
511
+ `, se = e.div.attrs({
512
+ className: "bik-channel-row-main"
513
+ })`
514
+ display: flex;
515
+ flex: 1 0 0;
516
+ min-width: 0;
517
+ align-items: center;
518
+ gap: 8px;
519
+ height: 24px;
520
+ `, ne = e.div.attrs({
521
+ className: "bik-channel-identity"
522
+ })`
523
+ display: flex;
524
+ align-items: center;
525
+ gap: 4px;
526
+ flex: 1 0 0;
527
+ min-width: 0;
528
+ `, re = e.div.attrs({
529
+ className: "bik-channel-glyph"
530
+ })`
531
+ display: flex;
532
+ align-items: center;
533
+ justify-content: center;
534
+ flex-shrink: 0;
535
+ width: 24px;
536
+ height: 24px;
537
+ border-radius: 4.8px;
538
+ background: ${(i) => i.tint};
539
+ overflow: hidden;
540
+ `, oe = e.div.attrs({
541
+ className: "bik-channel-chips"
542
+ })`
543
+ display: flex;
544
+ align-items: center;
545
+ gap: 4px;
546
+ flex-shrink: 0;
547
+
548
+ /* Figma's tag-regular is 24px tall, but Tag's "regular" variant floors at
549
+ 26px — which pushes the 48px row to 50px. Pin the wrapper back to 24
550
+ (Tag's own \`height\` prop only reaches its inner container). The second
551
+ selector catches a Tag sitting inside a ChipTooltipTarget. */
552
+ > *,
553
+ > span > * {
554
+ min-height: 24px;
555
+ }
556
+ `, le = e.span.attrs({
557
+ className: "bik-chip-tooltip-target"
558
+ })`
559
+ display: inline-flex;
560
+ align-items: center;
561
+ `, de = e.div.attrs({
562
+ className: "bik-channel-picker-list"
563
+ })`
564
+ display: flex;
565
+ flex-direction: column;
566
+ gap: 4px;
567
+ width: 100%;
568
+ max-height: 280px;
569
+ overflow-y: auto;
570
+ `, ce = e.div.attrs({
571
+ className: "bik-channel-picker-row"
572
+ })`
573
+ display: flex;
574
+ align-items: center;
575
+ gap: 8px;
576
+ width: 100%;
577
+ padding: 4px;
578
+ border-radius: 4px;
579
+ box-sizing: border-box;
580
+
581
+ &:hover {
582
+ background: ${t.surface.subdued};
583
+ }
584
+ `, pe = e.div.attrs({
585
+ className: "bik-channel-picker-account"
586
+ })`
587
+ display: flex;
588
+ align-items: center;
589
+ gap: 8px;
590
+ min-width: 0;
591
+ height: 32px;
592
+ padding: 0 4px;
593
+ `, xe = e.div.attrs({
594
+ className: "bik-channel-picker-body"
595
+ })`
596
+ display: flex;
597
+ flex-direction: column;
598
+ gap: 8px;
599
+ width: 100%;
600
+ /* Figma indents the body 8px inside the modal's own 24px gutter, so the list
601
+ sits at 32px while the title stays at 24px. StyledModal's body has no
602
+ gutter of its own, so both live here. */
603
+ padding: 0 32px;
604
+ box-sizing: border-box;
605
+ `, he = {
606
+ width: 24,
607
+ height: 24,
608
+ justifyContent: "center"
609
+ };
449
610
  export {
450
- H as AddIconButton,
611
+ o as AGENT_STATE_MODAL_MIN_HEIGHT,
612
+ D as AddIconButton,
613
+ V as AgentStateModalBody,
614
+ Y as AgentStateModalHero,
451
615
  A as AiTextAreaInput,
452
- R as AiTextAreaShell,
453
- p as BackButton,
454
- d as BuilderRoot,
455
- j as CardRow,
456
- C as ChipWrap,
457
- b as Content,
458
- g as ContentCard,
459
- K as DraftButtonScope,
460
- S as FieldBlock,
461
- B as FieldLabelRow,
462
- m as Footer,
463
- k as FooterActions,
464
- u as FooterHint,
465
- x as Main,
466
- V as ModalActions,
467
- P as ModalBody,
616
+ T as AiTextAreaShell,
617
+ h as BackButton,
618
+ c as BuilderRoot,
619
+ he as CHECKBOX_SLOT,
620
+ L as CardRow,
621
+ ie as ChannelCard,
622
+ oe as ChannelChips,
623
+ re as ChannelGlyph,
624
+ ne as ChannelIdentity,
625
+ pe as ChannelPickerAccount,
626
+ xe as ChannelPickerBody,
627
+ de as ChannelPickerList,
628
+ ce as ChannelPickerRow,
629
+ ae as ChannelRow,
630
+ se as ChannelRowMain,
631
+ te as ChannelsLink,
632
+ ee as ChannelsSectionRoot,
633
+ le as ChipTooltipTarget,
634
+ M as ChipWrap,
635
+ m as Content,
636
+ f as ContentCard,
637
+ J as DraftButtonScope,
638
+ B as FieldBlock,
639
+ R as FieldLabelRow,
640
+ k as Footer,
641
+ y as FooterActions,
642
+ w as FooterHint,
643
+ g as Main,
644
+ Z as ModalActions,
645
+ r as ModalBody,
468
646
  Q as ModalIcon,
469
- L as RadioCard,
647
+ j as RadioCard,
470
648
  z as RadioCardText,
471
- h as Rail,
472
- y as RailItem,
473
- w as RailList,
474
- _ as RowActionDivider,
475
- U as RowActions,
476
- G as RowLabel,
477
- J as RowMenuButton,
478
- q as RowText,
479
- $ as SectionBodyWrap,
480
- N as SectionHeaderWrap,
481
- E as SelectableRow,
482
- M as SideSection,
483
- D as SideSectionHeader,
484
- W as SourceButton,
485
- O as SourceButtonRow,
486
- I as Step3Divider,
487
- F as Step3Grid,
488
- T as Step3Root,
489
- v as StepBadge,
490
- f as StepScroll,
491
- l as TopBar,
492
- c as TopBarSide
649
+ b as Rail,
650
+ N as RailItem,
651
+ v as RailList,
652
+ U as RowActionDivider,
653
+ K as RowActions,
654
+ q as RowLabel,
655
+ X as RowMenuButton,
656
+ W as RowText,
657
+ C as SectionBodyWrap,
658
+ S as SectionHeaderWrap,
659
+ G as SelectableRow,
660
+ E as SideSection,
661
+ O as SideSectionHeader,
662
+ P as SourceButton,
663
+ _ as SourceButtonRow,
664
+ H as Step3Divider,
665
+ I as Step3Grid,
666
+ F as Step3Root,
667
+ $ as StepBadge,
668
+ u as StepScroll,
669
+ p as TopBar,
670
+ x as TopBarSide
493
671
  };
494
672
  //# sourceMappingURL=AgentBuilder.styled.js.map