@bikdotai/bik-component-library 0.0.849-beta.4 → 0.0.849-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 (61) hide show
  1. package/dist/cjs/components/agent-builder/components/AddDataPill.js +10 -0
  2. package/dist/cjs/components/agent-builder/components/AddDataPill.js.map +1 -0
  3. package/dist/cjs/components/agent-builder/components/ConfigToolPanel.js +10 -10
  4. package/dist/cjs/components/agent-builder/components/ConfigToolPanel.js.map +1 -1
  5. package/dist/cjs/components/agent-builder/components/CreateSubAgentPanel.js +2 -2
  6. package/dist/cjs/components/agent-builder/components/CreateSubAgentPanel.js.map +1 -1
  7. package/dist/cjs/components/agent-builder/components/MentionEditor.js +1 -1
  8. package/dist/cjs/components/agent-builder/components/MentionEditor.js.map +1 -1
  9. package/dist/cjs/components/agent-builder/components/MentionField.js +1 -1
  10. package/dist/cjs/components/agent-builder/components/MentionField.js.map +1 -1
  11. package/dist/cjs/components/agent-builder/components/MentionPicker.js +49 -25
  12. package/dist/cjs/components/agent-builder/components/MentionPicker.js.map +1 -1
  13. package/dist/cjs/components/agent-builder/components/RestApiToolPanel.js +9 -8
  14. package/dist/cjs/components/agent-builder/components/RestApiToolPanel.js.map +1 -1
  15. package/dist/cjs/components/agent-builder/components/ToolInstructionsField.js +1 -1
  16. package/dist/cjs/components/agent-builder/components/ToolInstructionsField.js.map +1 -1
  17. package/dist/cjs/components/agent-builder/components/VariableInlineField.js +56 -0
  18. package/dist/cjs/components/agent-builder/components/VariableInlineField.js.map +1 -0
  19. package/dist/cjs/components/agent-builder/components/VariableTriggerArea.js +6 -5
  20. package/dist/cjs/components/agent-builder/components/VariableTriggerArea.js.map +1 -1
  21. package/dist/cjs/components/agent-builder/utils/mentionSerialization.js +4 -4
  22. package/dist/cjs/components/agent-builder/utils/mentionSerialization.js.map +1 -1
  23. package/dist/cjs/editor/BikEditor.js +1 -1
  24. package/dist/cjs/editor/BikEditor.js.map +1 -1
  25. package/dist/cjs/editor/BikEditor.styles.js +5 -3
  26. package/dist/cjs/editor/BikEditor.styles.js.map +1 -1
  27. package/dist/cjs/editor/BikEditor.types.js.map +1 -1
  28. package/dist/esm/components/agent-builder/components/AddDataPill.d.ts +18 -0
  29. package/dist/esm/components/agent-builder/components/AddDataPill.js +32 -0
  30. package/dist/esm/components/agent-builder/components/AddDataPill.js.map +1 -0
  31. package/dist/esm/components/agent-builder/components/ConfigToolPanel.js +165 -148
  32. package/dist/esm/components/agent-builder/components/ConfigToolPanel.js.map +1 -1
  33. package/dist/esm/components/agent-builder/components/CreateSubAgentPanel.js +15 -13
  34. package/dist/esm/components/agent-builder/components/CreateSubAgentPanel.js.map +1 -1
  35. package/dist/esm/components/agent-builder/components/MentionEditor.d.ts +7 -2
  36. package/dist/esm/components/agent-builder/components/MentionEditor.js +119 -102
  37. package/dist/esm/components/agent-builder/components/MentionEditor.js.map +1 -1
  38. package/dist/esm/components/agent-builder/components/MentionField.js +30 -29
  39. package/dist/esm/components/agent-builder/components/MentionField.js.map +1 -1
  40. package/dist/esm/components/agent-builder/components/MentionPicker.js +199 -165
  41. package/dist/esm/components/agent-builder/components/MentionPicker.js.map +1 -1
  42. package/dist/esm/components/agent-builder/components/RestApiToolPanel.d.ts +3 -2
  43. package/dist/esm/components/agent-builder/components/RestApiToolPanel.js +160 -193
  44. package/dist/esm/components/agent-builder/components/RestApiToolPanel.js.map +1 -1
  45. package/dist/esm/components/agent-builder/components/ToolInstructionsField.js +20 -19
  46. package/dist/esm/components/agent-builder/components/ToolInstructionsField.js.map +1 -1
  47. package/dist/esm/components/agent-builder/components/VariableInlineField.d.ts +26 -0
  48. package/dist/esm/components/agent-builder/components/VariableInlineField.js +142 -0
  49. package/dist/esm/components/agent-builder/components/VariableInlineField.js.map +1 -0
  50. package/dist/esm/components/agent-builder/components/VariableTriggerArea.d.ts +19 -0
  51. package/dist/esm/components/agent-builder/components/VariableTriggerArea.js +113 -72
  52. package/dist/esm/components/agent-builder/components/VariableTriggerArea.js.map +1 -1
  53. package/dist/esm/components/agent-builder/utils/mentionSerialization.js +26 -20
  54. package/dist/esm/components/agent-builder/utils/mentionSerialization.js.map +1 -1
  55. package/dist/esm/editor/BikEditor.js +24 -18
  56. package/dist/esm/editor/BikEditor.js.map +1 -1
  57. package/dist/esm/editor/BikEditor.styles.js +5 -3
  58. package/dist/esm/editor/BikEditor.styles.js.map +1 -1
  59. package/dist/esm/editor/BikEditor.types.d.ts +9 -0
  60. package/dist/esm/editor/BikEditor.types.js.map +1 -1
  61. package/package.json +2 -1
@@ -1 +1 @@
1
- {"version":3,"file":"MentionField.js","sources":["../../../../../src/components/agent-builder/components/MentionField.tsx"],"sourcesContent":["import React, { useCallback, useMemo } from 'react';\nimport { AgentValue } from '../AgentBuilder.model';\nimport { ToolAction } from '../constants/tools';\nimport {\n\tMentionFieldKey,\n\tuseAgentBuilderContext,\n} from '../context/AgentBuilderContext';\nimport {\n\tappTypeLabel,\n\tbuildAgentMentionItems,\n\tbuildCustomToolMentionItems,\n} from '../utils/mentionSerialization';\nimport { buildToolActions } from '../utils/toolActions';\nimport { MentionEditor } from './MentionEditor';\n\ninterface MentionFieldProps {\n\t/** Which AgentValue field this editor reads / writes. */\n\tfieldKey: MentionFieldKey;\n\tlabel: string;\n\tplaceholder?: string;\n\tmaxLength: number;\n\tminHeight?: string;\n\t'data-test'?: string;\n}\n\n/**\n * Context-bound {@link MentionEditor} for the builder's Step-3 Instructions /\n * Guardrails. Both `@` tools and sub-agents are offered; the field registers its\n * insert + focus with the context so side-panel adds drop a chip into whichever\n * field was last focused, and remounts on `mentionResetKey`.\n */\nexport const MentionField: React.FC<MentionFieldProps> = ({\n\tfieldKey,\n\tlabel,\n\tplaceholder,\n\tmaxLength,\n\tminHeight,\n\t...rest\n}) => {\n\tconst {\n\t\tvalue,\n\t\tpatch,\n\t\taddReference,\n\t\tavailableTools,\n\t\tavailableSubAgents,\n\t\tapplicationType,\n\t\tmentionResetKey,\n\t\tregisterMentionField,\n\t\tnotifyMentionFocus,\n\t\tonCreateSubAgent,\n\t\trequestCreateSubAgent,\n\t\trequestToolAction,\n\t\tconfigToolTemplates,\n\t\tintegrationStatus,\n\t\tonConnectIntegration,\n\t\tvariablesData,\n\t} = useAgentBuilderContext();\n\n\t// Catalog tools + sub-agents, PLUS the inline custom tools (Rest API / email /\n\t// Slack) so their `{{tool:<id>}}` tokens rehydrate as chips on remount — they\n\t// live on the value, not in `availableTools`.\n\tconst mentionItems = useMemo(\n\t\t() => [\n\t\t\t...buildAgentMentionItems(\n\t\t\t\tavailableTools,\n\t\t\t\tavailableSubAgents,\n\t\t\t\tappTypeLabel(applicationType),\n\t\t\t),\n\t\t\t...buildCustomToolMentionItems(value.configTools, value.restApiTools),\n\t\t],\n\t\t[\n\t\t\tavailableTools,\n\t\t\tavailableSubAgents,\n\t\t\tapplicationType,\n\t\t\tvalue.configTools,\n\t\t\tvalue.restApiTools,\n\t\t],\n\t);\n\n\t// Built-in tool actions (Rest API / email / Slack) shown in the `@` picker's\n\t// Tools view — picking one opens its drawer (Step 3) instead of inserting text.\n\t// The shared email / Slack forms are backend-driven: each is offered only when\n\t// its template was provided.\n\tconst toolActions = useMemo<ToolAction[]>(\n\t\t() =>\n\t\t\tbuildToolActions(\n\t\t\t\tconfigToolTemplates,\n\t\t\t\trequestToolAction,\n\t\t\t\tintegrationStatus,\n\t\t\t\tonConnectIntegration,\n\t\t\t),\n\t\t[\n\t\t\trequestToolAction,\n\t\t\tconfigToolTemplates,\n\t\t\tintegrationStatus,\n\t\t\tonConnectIntegration,\n\t\t],\n\t);\n\n\tconst registerInsert = useCallback(\n\t\t(fn: Parameters<typeof registerMentionField>[1]) =>\n\t\t\tregisterMentionField(fieldKey, fn),\n\t\t[registerMentionField, fieldKey],\n\t);\n\n\t// Route through the context's ref-backed `addReference`: BikEditor captures\n\t// this handler at mount, so reading `value.tools` here would keep only the last\n\t// pick. `addReference` always appends against the latest lists.\n\tconst onMentionSelect = useCallback(\n\t\t(kind: 'tool' | 'subagent', id: string) => addReference(kind, id),\n\t\t[addReference],\n\t);\n\n\treturn (\n\t\t<MentionEditor\n\t\t\tlabel={label}\n\t\t\tvalue={(value[fieldKey] as string | undefined) ?? ''}\n\t\t\tonChange={(text) => patch({ [fieldKey]: text } as Partial<AgentValue>)}\n\t\t\tmaxLength={maxLength}\n\t\t\tplaceholder={placeholder}\n\t\t\tminHeight={minHeight}\n\t\t\tresetKey={`${value.id}:${fieldKey}:${mentionResetKey}`}\n\t\t\tmentionItems={mentionItems}\n\t\t\ttools={availableTools}\n\t\t\tonMentionSelect={onMentionSelect}\n\t\t\tonFocus={() => notifyMentionFocus(fieldKey)}\n\t\t\tregisterInsert={registerInsert}\n\t\t\tonCreateSubAgent={onCreateSubAgent ? requestCreateSubAgent : undefined}\n\t\t\ttoolActions={toolActions}\n\t\t\tintegrationStatus={integrationStatus}\n\t\t\tonConnectIntegration={onConnectIntegration}\n\t\t\tvariablesData={variablesData}\n\t\t\tdata-test={rest['data-test']}\n\t\t/>\n\t);\n};\n"],"names":["MentionField","fieldKey","label","placeholder","maxLength","minHeight","rest","value","patch","addReference","availableTools","availableSubAgents","applicationType","mentionResetKey","registerMentionField","notifyMentionFocus","onCreateSubAgent","requestCreateSubAgent","requestToolAction","configToolTemplates","integrationStatus","onConnectIntegration","variablesData","useAgentBuilderContext","mentionItems","useMemo","buildAgentMentionItems","appTypeLabel","buildCustomToolMentionItems","toolActions","buildToolActions","registerInsert","useCallback","fn","onMentionSelect","kind","id","jsx","MentionEditor","text"],"mappings":";;;;;;AA+BO,MAAMA,IAA4C,CAAC;AAAA,EACzD,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,WAAAC;AAAA,EACA,WAAAC;AAAA,EACA,GAAGC;AACJ,MAAM;AACL,QAAM;AAAA,IACL,OAAAC;AAAA,IACA,OAAAC;AAAA,IACA,cAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,sBAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,uBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,qBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,sBAAAC;AAAA,IACA,eAAAC;AAAA,EAAA,IACGC,EAAA,GAKEC,IAAeC;AAAA,IACpB,MAAM;AAAA,MACL,GAAGC;AAAA,QACFhB;AAAA,QACAC;AAAA,QACAgB,EAAaf,CAAe;AAAA,MAAA;AAAA,MAE7B,GAAGgB,EAA4BrB,EAAM,aAAaA,EAAM,YAAY;AAAA,IAAA;AAAA,IAErE;AAAA,MACCG;AAAA,MACAC;AAAA,MACAC;AAAA,MACAL,EAAM;AAAA,MACNA,EAAM;AAAA,IAAA;AAAA,EACP,GAOKsB,IAAcJ;AAAA,IACnB,MACCK;AAAA,MACCX;AAAA,MACAD;AAAA,MACAE;AAAA,MACAC;AAAA,IAAA;AAAA,IAEF;AAAA,MACCH;AAAA,MACAC;AAAA,MACAC;AAAA,MACAC;AAAA,IAAA;AAAA,EACD,GAGKU,IAAiBC;AAAA,IACtB,CAACC,MACAnB,EAAqBb,GAAUgC,CAAE;AAAA,IAClC,CAACnB,GAAsBb,CAAQ;AAAA,EAAA,GAM1BiC,IAAkBF;AAAA,IACvB,CAACG,GAA2BC,MAAe3B,EAAa0B,GAAMC,CAAE;AAAA,IAChE,CAAC3B,CAAY;AAAA,EAAA;AAGd,SACC,gBAAA4B;AAAA,IAACC;AAAA,IAAA;AAAA,MACA,OAAApC;AAAA,MACA,OAAQK,EAAMN,CAAQ,KAA4B;AAAA,MAClD,UAAU,CAACsC,MAAS/B,EAAM,EAAE,CAACP,CAAQ,GAAGsC,GAA6B;AAAA,MACrE,WAAAnC;AAAA,MACA,aAAAD;AAAA,MACA,WAAAE;AAAA,MACA,UAAU,GAAGE,EAAM,EAAE,IAAIN,CAAQ,IAAIY,CAAe;AAAA,MACpD,cAAAW;AAAA,MACA,OAAOd;AAAA,MACP,iBAAAwB;AAAA,MACA,SAAS,MAAMnB,EAAmBd,CAAQ;AAAA,MAC1C,gBAAA8B;AAAA,MACA,kBAAkBf,IAAmBC,IAAwB;AAAA,MAC7D,aAAAY;AAAA,MACA,mBAAAT;AAAA,MACA,sBAAAC;AAAA,MACA,eAAAC;AAAA,MACA,aAAWhB,EAAK,WAAW;AAAA,IAAA;AAAA,EAAA;AAG9B;"}
1
+ {"version":3,"file":"MentionField.js","sources":["../../../../../src/components/agent-builder/components/MentionField.tsx"],"sourcesContent":["import React, { useCallback, useMemo } from 'react';\nimport { AgentValue } from '../AgentBuilder.model';\nimport { ToolAction } from '../constants/tools';\nimport {\n\tMentionFieldKey,\n\tuseAgentBuilderContext,\n} from '../context/AgentBuilderContext';\nimport {\n\tappTypeLabel,\n\tbuildAgentMentionItems,\n\tbuildCustomToolMentionItems,\n} from '../utils/mentionSerialization';\nimport { buildToolActions } from '../utils/toolActions';\nimport { MentionEditor } from './MentionEditor';\n\ninterface MentionFieldProps {\n\t/** Which AgentValue field this editor reads / writes. */\n\tfieldKey: MentionFieldKey;\n\tlabel: string;\n\tplaceholder?: string;\n\tmaxLength: number;\n\tminHeight?: string;\n\t'data-test'?: string;\n}\n\n/**\n * Context-bound {@link MentionEditor} for the builder's Step-3 Instructions /\n * Guardrails. Both `@` tools and sub-agents are offered; the field registers its\n * insert + focus with the context so side-panel adds drop a chip into whichever\n * field was last focused, and remounts on `mentionResetKey`.\n */\nexport const MentionField: React.FC<MentionFieldProps> = ({\n\tfieldKey,\n\tlabel,\n\tplaceholder,\n\tmaxLength,\n\tminHeight,\n\t...rest\n}) => {\n\tconst {\n\t\tvalue,\n\t\tpatch,\n\t\taddReference,\n\t\tavailableTools,\n\t\tavailableSubAgents,\n\t\tapplicationType,\n\t\tmentionResetKey,\n\t\tregisterMentionField,\n\t\tnotifyMentionFocus,\n\t\tonCreateSubAgent,\n\t\trequestCreateSubAgent,\n\t\trequestToolAction,\n\t\tconfigToolTemplates,\n\t\tintegrationStatus,\n\t\tonConnectIntegration,\n\t\tvariablesData,\n\t} = useAgentBuilderContext();\n\n\t// Catalog tools + sub-agents, PLUS the inline custom tools (Rest API / email /\n\t// Slack) so their `{{tool:<id>}}` tokens rehydrate as chips on remount — they\n\t// live on the value, not in `availableTools`.\n\tconst mentionItems = useMemo(\n\t\t() => [\n\t\t\t...buildAgentMentionItems(\n\t\t\t\tavailableTools,\n\t\t\t\tavailableSubAgents,\n\t\t\t\tappTypeLabel(applicationType),\n\t\t\t),\n\t\t\t...buildCustomToolMentionItems(value.configTools, value.restApiTools),\n\t\t],\n\t\t[\n\t\t\tavailableTools,\n\t\t\tavailableSubAgents,\n\t\t\tapplicationType,\n\t\t\tvalue.configTools,\n\t\t\tvalue.restApiTools,\n\t\t],\n\t);\n\n\t// Built-in tool actions (Rest API / email / Slack) shown in the `@` picker's\n\t// Tools view — picking one opens its drawer (Step 3) instead of inserting text.\n\t// The shared email / Slack forms are backend-driven: each is offered only when\n\t// its template was provided.\n\tconst toolActions = useMemo<ToolAction[]>(\n\t\t() =>\n\t\t\tbuildToolActions(\n\t\t\t\tconfigToolTemplates,\n\t\t\t\trequestToolAction,\n\t\t\t\tintegrationStatus,\n\t\t\t\tonConnectIntegration,\n\t\t\t),\n\t\t[\n\t\t\trequestToolAction,\n\t\t\tconfigToolTemplates,\n\t\t\tintegrationStatus,\n\t\t\tonConnectIntegration,\n\t\t],\n\t);\n\n\tconst registerInsert = useCallback(\n\t\t(fn: Parameters<typeof registerMentionField>[1]) =>\n\t\t\tregisterMentionField(fieldKey, fn),\n\t\t[registerMentionField, fieldKey],\n\t);\n\n\t// Route through the context's ref-backed `addReference`: BikEditor captures\n\t// this handler at mount, so reading `value.tools` here would keep only the last\n\t// pick. `addReference` always appends against the latest lists.\n\tconst onMentionSelect = useCallback(\n\t\t(kind: 'tool' | 'subagent', id: string) => addReference(kind, id),\n\t\t[addReference],\n\t);\n\n\treturn (\n\t\t<MentionEditor\n\t\t\tlabel={label}\n\t\t\tvalue={(value[fieldKey] as string | undefined) ?? ''}\n\t\t\tonChange={(text) => patch({ [fieldKey]: text } as Partial<AgentValue>)}\n\t\t\tmaxLength={maxLength}\n\t\t\tplaceholder={placeholder}\n\t\t\tminHeight={minHeight}\n\t\t\tresetKey={`${value.id}:${fieldKey}:${mentionResetKey}`}\n\t\t\tmentionItems={mentionItems}\n\t\t\ttools={availableTools}\n\t\t\tonMentionSelect={onMentionSelect}\n\t\t\tonFocus={() => notifyMentionFocus(fieldKey)}\n\t\t\tregisterInsert={registerInsert}\n\t\t\tonCreateSubAgent={onCreateSubAgent ? requestCreateSubAgent : undefined}\n\t\t\ttoolActions={toolActions}\n\t\t\tintegrationStatus={integrationStatus}\n\t\t\tonConnectIntegration={onConnectIntegration}\n\t\t\tvariablesData={variablesData}\n\t\t\t// Step-3 fields get the floating \"+ Add data\" pill (same as typing @).\n\t\t\taddDataButton\n\t\t\tdata-test={rest['data-test']}\n\t\t/>\n\t);\n};\n"],"names":["MentionField","fieldKey","label","placeholder","maxLength","minHeight","rest","value","patch","addReference","availableTools","availableSubAgents","applicationType","mentionResetKey","registerMentionField","notifyMentionFocus","onCreateSubAgent","requestCreateSubAgent","requestToolAction","configToolTemplates","integrationStatus","onConnectIntegration","variablesData","useAgentBuilderContext","mentionItems","useMemo","buildAgentMentionItems","appTypeLabel","buildCustomToolMentionItems","toolActions","buildToolActions","registerInsert","useCallback","fn","onMentionSelect","kind","id","jsx","MentionEditor","text"],"mappings":";;;;;;AA+BO,MAAMA,IAA4C,CAAC;AAAA,EACzD,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,WAAAC;AAAA,EACA,WAAAC;AAAA,EACA,GAAGC;AACJ,MAAM;AACL,QAAM;AAAA,IACL,OAAAC;AAAA,IACA,OAAAC;AAAA,IACA,cAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,sBAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,uBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,qBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,sBAAAC;AAAA,IACA,eAAAC;AAAA,EAAA,IACGC,EAAA,GAKEC,IAAeC;AAAA,IACpB,MAAM;AAAA,MACL,GAAGC;AAAA,QACFhB;AAAA,QACAC;AAAA,QACAgB,EAAaf,CAAe;AAAA,MAAA;AAAA,MAE7B,GAAGgB,EAA4BrB,EAAM,aAAaA,EAAM,YAAY;AAAA,IAAA;AAAA,IAErE;AAAA,MACCG;AAAA,MACAC;AAAA,MACAC;AAAA,MACAL,EAAM;AAAA,MACNA,EAAM;AAAA,IAAA;AAAA,EACP,GAOKsB,IAAcJ;AAAA,IACnB,MACCK;AAAA,MACCX;AAAA,MACAD;AAAA,MACAE;AAAA,MACAC;AAAA,IAAA;AAAA,IAEF;AAAA,MACCH;AAAA,MACAC;AAAA,MACAC;AAAA,MACAC;AAAA,IAAA;AAAA,EACD,GAGKU,IAAiBC;AAAA,IACtB,CAACC,MACAnB,EAAqBb,GAAUgC,CAAE;AAAA,IAClC,CAACnB,GAAsBb,CAAQ;AAAA,EAAA,GAM1BiC,IAAkBF;AAAA,IACvB,CAACG,GAA2BC,MAAe3B,EAAa0B,GAAMC,CAAE;AAAA,IAChE,CAAC3B,CAAY;AAAA,EAAA;AAGd,SACC,gBAAA4B;AAAA,IAACC;AAAA,IAAA;AAAA,MACA,OAAApC;AAAA,MACA,OAAQK,EAAMN,CAAQ,KAA4B;AAAA,MAClD,UAAU,CAACsC,MAAS/B,EAAM,EAAE,CAACP,CAAQ,GAAGsC,GAA6B;AAAA,MACrE,WAAAnC;AAAA,MACA,aAAAD;AAAA,MACA,WAAAE;AAAA,MACA,UAAU,GAAGE,EAAM,EAAE,IAAIN,CAAQ,IAAIY,CAAe;AAAA,MACpD,cAAAW;AAAA,MACA,OAAOd;AAAA,MACP,iBAAAwB;AAAA,MACA,SAAS,MAAMnB,EAAmBd,CAAQ;AAAA,MAC1C,gBAAA8B;AAAA,MACA,kBAAkBf,IAAmBC,IAAwB;AAAA,MAC7D,aAAAY;AAAA,MACA,mBAAAT;AAAA,MACA,sBAAAC;AAAA,MACA,eAAAC;AAAA,MAEA,eAAa;AAAA,MACb,aAAWhB,EAAK,WAAW;AAAA,IAAA;AAAA,EAAA;AAG9B;"}
@@ -1,92 +1,92 @@
1
- import { jsxs as b, jsx as c, Fragment as ee } from "react/jsx-runtime";
1
+ import { jsxs as m, jsx as a, Fragment as ee } from "react/jsx-runtime";
2
2
  import te from "../../../assets/icons/chevronRight.svg.js";
3
3
  import ne from "../../../assets/icons/searchIcon.svg.js";
4
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
- import p from "styled-components";
7
- import { TitleSmall as ie, BodySecondary as ae, BodyCaption as le } from "../../TypographyStyle.js";
5
+ import { useState as q, useMemo as v, useEffect as F, useRef as oe } from "react";
6
+ import u from "styled-components";
7
+ import { TitleSmall as ie, BodySecondary as le, BodyCaption as ae } from "../../TypographyStyle.js";
8
8
  import { COLORS as i } from "../../../constants/Theme.js";
9
9
  import { PickerType as ce } from "../../variable-picker-v3/model.js";
10
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";
11
+ import { toolSourceLabel as N } from "../utils/mentionSerialization.js";
12
12
  import { sourceIcon as T, renderSourceIcon as X } from "../utils/sourceIcons.js";
13
13
  import { VariablePicker as ue } from "../../variable-picker-v3/VariablePicker.js";
14
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
+ const f = (c) => c.meta, I = (c) => f(c)?.plainLabel ?? c.label, pe = "__bik_create_subagent__", Fe = ({
16
+ items: c,
17
17
  onSelect: R,
18
18
  registerKeyHandler: S,
19
19
  onClose: x,
20
20
  onCreateSubAgent: y,
21
- initialSource: j,
21
+ initialSource: U,
22
22
  toolActions: k,
23
- integrationStatus: F,
23
+ integrationStatus: j,
24
24
  onConnectIntegration: G,
25
25
  variablesData: _,
26
- onSelectVariable: O
26
+ onSelectVariable: D
27
27
  }) => {
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]
28
+ const [Z, $] = q(null), [d, O] = q(U ?? null), [C, g] = q(-1), [w, V] = q(""), b = v(
29
+ () => c.filter((e) => f(e)?.kind === "tool"),
30
+ [c]
31
+ ), B = v(
32
+ () => c.filter((e) => f(e)?.kind === "subagent"),
33
+ [c]
34
34
  ), z = v(() => {
35
35
  const e = [];
36
- return m.forEach((r) => {
37
- const f = h(r)?.source ?? "other";
38
- e.includes(f) || e.push(f);
36
+ return b.forEach((r) => {
37
+ const h = f(r)?.source ?? "other";
38
+ e.includes(h) || e.push(h);
39
39
  }), e;
40
- }, [m]), M = v(
40
+ }, [b]), M = v(
41
41
  () => new Map(
42
42
  (k ?? []).map((e) => [e.source, e])
43
43
  ),
44
44
  [k]
45
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),
46
+ () => se.filter((e) => e.key === "tool" ? b.length > 0 || (k?.length ?? 0) > 0 : e.key === "variable" ? (_?.length ?? 0) > 0 && !!D : B.length > 0 || !!y),
47
47
  [
48
- m.length,
49
- $.length,
48
+ b.length,
49
+ B.length,
50
50
  y,
51
51
  k?.length,
52
52
  _?.length,
53
- O
53
+ D
54
54
  ]
55
- ), L = A.length === 1 ? A[0].key : null, a = Z ?? L, u = a ? a === "subagent" ? (
55
+ ), L = A.length === 1 ? A[0].key : null, l = Z ?? L, p = l ? l === "subagent" ? (
56
56
  // Always titled — with a back arrow only when the category chooser is above.
57
57
  {
58
58
  title: "Sub-agent",
59
- onBack: L ? void 0 : () => C(null)
59
+ onBack: L ? void 0 : () => $(null)
60
60
  }
61
- ) : a === "variable" ? {
61
+ ) : l === "variable" ? {
62
62
  title: "Variables",
63
- onBack: L ? void 0 : () => C(null)
63
+ onBack: L ? void 0 : () => $(null)
64
64
  } : d ? {
65
- title: U(d),
65
+ title: N(d),
66
66
  // Deep-linked to a source (opened from a right-panel source button):
67
67
  // that source IS the root, so no back arrow. In the @-drill flow
68
68
  // (no initialSource) back returns to the source chooser.
69
- onBack: j ? void 0 : () => D(null),
69
+ onBack: U ? void 0 : () => O(null),
70
70
  icon: T(d)
71
71
  } : (
72
72
  // Always titled — matches the Sub-agent header; back arrow only when the
73
73
  // category chooser is above (i.e. not the sole category).
74
74
  {
75
75
  title: "Tools",
76
- onBack: L ? void 0 : () => C(null)
76
+ onBack: L ? void 0 : () => $(null)
77
77
  }
78
- ) : null, l = v(() => {
79
- if (!a)
78
+ ) : null, s = v(() => {
79
+ if (!l)
80
80
  return A.map((n) => ({
81
81
  id: n.key,
82
82
  label: n.label,
83
83
  drillsIn: !0,
84
84
  onActivate: () => {
85
- C(n.key), D(null);
85
+ $(n.key), O(null);
86
86
  }
87
87
  }));
88
- if (a === "subagent") {
89
- const n = w.trim().toLowerCase(), t = $.filter((o) => !n || I(o).toLowerCase().includes(n)).map((o) => ({
88
+ if (l === "subagent") {
89
+ const n = w.trim().toLowerCase(), t = B.filter((o) => !n || I(o).toLowerCase().includes(n)).map((o) => ({
90
90
  id: String(o.id),
91
91
  label: I(o),
92
92
  drillsIn: !1,
@@ -102,16 +102,16 @@ const h = (s) => s.meta, I = (s) => h(s)?.plainLabel ?? s.label, pe = "__bik_cre
102
102
  }
103
103
  }), t;
104
104
  }
105
- if (a === "variable")
105
+ if (l === "variable")
106
106
  return [];
107
107
  if (!d) {
108
108
  const n = (k ?? []).map((t) => t.source).filter((t) => !z.includes(t));
109
109
  return [...z, ...n].sort((t, o) => W(t) - W(o)).map((t) => {
110
110
  const o = M.get(t);
111
- if ((o !== void 0 ? o.connected : F?.[t]) === !1)
111
+ if ((o !== void 0 ? o.connected : j?.[t]) === !1)
112
112
  return {
113
113
  id: t,
114
- label: U(t),
114
+ label: N(t),
115
115
  drillsIn: !1,
116
116
  icon: T(t) ?? o?.icon,
117
117
  rightLabel: "Connect",
@@ -119,10 +119,10 @@ const h = (s) => s.meta, I = (s) => h(s)?.plainLabel ?? s.label, pe = "__bik_cre
119
119
  x?.(), o?.onConnect ? o.onConnect() : G?.(t);
120
120
  }
121
121
  };
122
- const V = m.filter(
123
- (E) => (h(E)?.source ?? "other") === t
122
+ const Q = b.filter(
123
+ (E) => (f(E)?.source ?? "other") === t
124
124
  );
125
- if (V.length + (o ? 1 : 0) === 1) {
125
+ if (Q.length + (o ? 1 : 0) === 1) {
126
126
  const E = T(t) ?? o?.icon;
127
127
  if (o)
128
128
  return {
@@ -134,67 +134,67 @@ const h = (s) => s.meta, I = (s) => h(s)?.plainLabel ?? s.label, pe = "__bik_cre
134
134
  x?.(), o.onSelect();
135
135
  }
136
136
  };
137
- const P = V[0];
137
+ const P = Q[0];
138
138
  return {
139
139
  id: String(P.id),
140
140
  label: I(P),
141
141
  drillsIn: !1,
142
142
  icon: E,
143
- authRequired: h(P)?.authRequired,
143
+ authRequired: f(P)?.authRequired,
144
144
  onActivate: () => R(P)
145
145
  };
146
146
  }
147
147
  return {
148
148
  id: t,
149
- label: U(t),
149
+ label: N(t),
150
150
  drillsIn: !0,
151
151
  icon: T(t) ?? o?.icon,
152
- onActivate: () => D(t)
152
+ onActivate: () => O(t)
153
153
  };
154
154
  });
155
155
  }
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) => ({
156
+ const e = w.trim().toLowerCase(), r = b.filter((n) => (f(n)?.source ?? "other") === d).filter((n) => !e || I(n).toLowerCase().includes(e)).map((n) => ({
157
157
  id: String(n.id),
158
158
  label: I(n),
159
159
  drillsIn: !1,
160
- authRequired: h(n)?.authRequired,
160
+ authRequired: f(n)?.authRequired,
161
161
  onActivate: () => R(n)
162
- })), f = M.get(d);
163
- if (f) {
162
+ })), h = M.get(d);
163
+ if (h) {
164
164
  const n = d in de;
165
165
  r.push({
166
166
  id: `create:${d}`,
167
- label: f.label,
167
+ label: h.label,
168
168
  drillsIn: !1,
169
169
  isCreate: !n,
170
170
  onActivate: () => {
171
- x?.(), f.onSelect();
171
+ x?.(), h.onSelect();
172
172
  }
173
173
  });
174
174
  }
175
175
  return r;
176
176
  }, [
177
- a,
177
+ l,
178
178
  A,
179
179
  d,
180
180
  w,
181
- m,
182
- $,
181
+ b,
182
+ B,
183
183
  z,
184
184
  R,
185
185
  x,
186
186
  y,
187
187
  k,
188
188
  M,
189
- F,
189
+ j,
190
190
  G
191
191
  ]);
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(() => {
192
+ F(() => g(-1), [l, d, w, c]), F(() => V(""), [l, d]);
193
+ const J = oe({ rows: s, activeIndex: C, header: p });
194
+ J.current = { rows: s, activeIndex: C, header: p }, F(() => {
195
195
  if (S)
196
196
  return S((e) => {
197
- const { rows: r, activeIndex: f, header: n } = Q.current;
197
+ const { rows: r, activeIndex: h, header: n } = J.current;
198
198
  switch (e.key) {
199
199
  case "ArrowDown":
200
200
  return r.length && g((t) => (t + 1) % r.length), !0;
@@ -202,7 +202,7 @@ const h = (s) => s.meta, I = (s) => h(s)?.plainLabel ?? s.label, pe = "__bik_cre
202
202
  return r.length && g((t) => (t + r.length - 1) % r.length), !0;
203
203
  case "ArrowRight":
204
204
  case "Enter":
205
- return (r[f] ?? r[0])?.onActivate(), !0;
205
+ return (r[h] ?? r[0])?.onActivate(), !0;
206
206
  case "ArrowLeft":
207
207
  return n?.onBack ? (n.onBack(), !0) : !1;
208
208
  default:
@@ -210,120 +210,154 @@ const h = (s) => s.meta, I = (s) => h(s)?.plainLabel ?? s.label, pe = "__bik_cre
210
210
  }
211
211
  }), () => S(null);
212
212
  }, [S]);
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: [
215
- u && /* @__PURE__ */ b(
216
- ye,
217
- {
218
- type: "button",
219
- onClick: u.onBack,
220
- disabled: !u.onBack,
221
- style: {
222
- background: i.surface.subdued,
223
- cursor: u.onBack ? "pointer" : "default"
224
- },
225
- children: [
226
- u.onBack && /* @__PURE__ */ c(
227
- re,
213
+ const H = l ? s.length && !s[0].drillsIn ? "items" : "sources" : "categories", K = l === "tool" && !!d || l === "subagent";
214
+ return /* @__PURE__ */ m(
215
+ he,
216
+ {
217
+ className: `bik-mention-picker bik-mention-picker--${H}`,
218
+ $fixedHeight: l === "variable",
219
+ children: [
220
+ p && /* @__PURE__ */ m(
221
+ Ie,
222
+ {
223
+ type: "button",
224
+ onClick: p.onBack,
225
+ disabled: !p.onBack,
226
+ style: {
227
+ background: i.surface.subdued,
228
+ cursor: p.onBack ? "pointer" : "default"
229
+ },
230
+ children: [
231
+ p.onBack && /* @__PURE__ */ a(
232
+ re,
233
+ {
234
+ width: 20,
235
+ height: 20,
236
+ color: i.content.primary
237
+ }
238
+ ),
239
+ p.icon && X(p.icon),
240
+ /* @__PURE__ */ m(ie, { children: [
241
+ " ",
242
+ p.title
243
+ ] })
244
+ ]
245
+ }
246
+ ),
247
+ K && /* @__PURE__ */ m(be, { children: [
248
+ /* @__PURE__ */ a(
249
+ ne,
228
250
  {
229
251
  width: 20,
230
252
  height: 20,
231
- color: i.content.primary
253
+ color: i.content.placeholder
232
254
  }
233
255
  ),
234
- u.icon && X(u.icon),
235
- /* @__PURE__ */ b(ie, { children: [
236
- " ",
237
- u.title
238
- ] })
239
- ]
240
- }
241
- ),
242
- H && /* @__PURE__ */ b(he, { children: [
243
- /* @__PURE__ */ c(
244
- ne,
245
- {
246
- width: 20,
247
- height: 20,
248
- color: i.content.placeholder
249
- }
250
- ),
251
- /* @__PURE__ */ c(
252
- ge,
253
- {
254
- autoFocus: !0,
255
- value: w,
256
- placeholder: "Search",
257
- "data-test": "mention-picker-search",
258
- onChange: (e) => J(e.target.value),
259
- onKeyDown: (e) => {
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()));
261
- }
262
- }
263
- )
264
- ] }),
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,
282
- {
283
- type: "button",
284
- $active: r === B,
285
- onMouseEnter: () => g(r),
286
- onMouseLeave: () => g(-1),
287
- onClick: e.onActivate,
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,
294
- {
295
- size: 14,
296
- "aria-label": "Requires customer verification"
256
+ /* @__PURE__ */ a(
257
+ me,
258
+ {
259
+ autoFocus: !0,
260
+ value: w,
261
+ placeholder: "Search",
262
+ "data-test": "mention-picker-search",
263
+ onChange: (e) => V(e.target.value),
264
+ onKeyDown: (e) => {
265
+ s.length && (e.key === "ArrowDown" ? (e.preventDefault(), g((r) => (r + 1) % s.length)) : e.key === "ArrowUp" ? (e.preventDefault(), g((r) => (r + s.length - 1) % s.length)) : e.key === "Enter" && (e.preventDefault(), (s[C] ?? s[0])?.onActivate()));
266
+ }
267
+ }
268
+ )
269
+ ] }),
270
+ l === "variable" ? (
271
+ // Shared variable catalog, embedded as this drill-in view. The fill
272
+ // wrapper hands it the remaining card height, so ITS search bar stays
273
+ // fixed and only the variable list below scrolls. Selecting a
274
+ // variable dismisses the menu FIRST (strips the typed "@" + query),
275
+ // then hands the variable up to insert its `{{token}}` at the cursor.
276
+ /* @__PURE__ */ a(ge, { children: /* @__PURE__ */ a(
277
+ ue,
278
+ {
279
+ type: ce.EMBEDDED,
280
+ data: _ ?? [],
281
+ showRecommendedBar: !1,
282
+ skipDefaultVariableContent: !0,
283
+ onSelect: (e) => {
284
+ x?.(), D?.(e);
297
285
  }
298
- )
299
- ] }),
300
- e.rightLabel ? /* @__PURE__ */ c(ke, { children: e.rightLabel }) : e.drillsIn && /* @__PURE__ */ c(te, { width: 12, height: 12 })
286
+ }
287
+ ) })
288
+ ) : s.length === 0 ? /* @__PURE__ */ a(Re, { children: l === "subagent" ? null : "No tools available" }) : /* @__PURE__ */ a(fe, { children: s.map((e, r) => /* @__PURE__ */ a(
289
+ xe,
290
+ {
291
+ type: "button",
292
+ $active: r === C,
293
+ onMouseEnter: () => g(r),
294
+ onMouseLeave: () => g(-1),
295
+ onClick: e.onActivate,
296
+ children: e.isCreate ? /* @__PURE__ */ a(we, { children: e.label }) : /* @__PURE__ */ m(ee, { children: [
297
+ /* @__PURE__ */ m(ke, { children: [
298
+ X(e.icon),
299
+ /* @__PURE__ */ a(le, { color: i.content.primary, children: e.label }),
300
+ e.authRequired && /* @__PURE__ */ a(
301
+ Y,
302
+ {
303
+ size: 14,
304
+ "aria-label": "Requires customer verification"
305
+ }
306
+ )
307
+ ] }),
308
+ e.rightLabel ? /* @__PURE__ */ a(ye, { children: e.rightLabel }) : e.drillsIn && /* @__PURE__ */ a(te, { width: 12, height: 12 })
309
+ ] })
310
+ },
311
+ e.id
312
+ )) }),
313
+ s.some((e) => e.authRequired) && /* @__PURE__ */ m(ve, { children: [
314
+ /* @__PURE__ */ a(Y, { size: 14 }),
315
+ /* @__PURE__ */ a(ae, { color: i.content.secondary, children: "Requires customer verification" })
301
316
  ] })
302
- },
303
- e.id
304
- )),
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" })
308
- ] })
309
- ] });
310
- }, fe = p.div`
317
+ ]
318
+ }
319
+ );
320
+ }, he = u.div`
311
321
  display: flex;
312
322
  flex-direction: column;
313
323
  min-width: 240px;
314
- max-height: 301px;
315
- overflow-y: auto;
324
+ ${(c) => c.$fixedHeight ? "height: 301px;" : "max-height: 301px;"}
325
+ overflow: hidden;
316
326
  background: ${i.surface.standard};
317
327
  border: 1px solid ${i.stroke.primary};
318
328
  border-radius: 4px;
319
329
  box-shadow: 0px -2px 8px 0px #0000001f;
320
- `, he = p.div`
330
+ `, fe = u.div`
331
+ flex: 1 1 auto;
332
+ min-height: 0;
333
+ overflow-y: auto;
334
+ scrollbar-width: none;
335
+
336
+ &::-webkit-scrollbar {
337
+ display: none;
338
+ }
339
+ `, ge = u.div`
340
+ flex: 1 1 auto;
341
+ min-height: 0;
342
+
343
+ > div {
344
+ height: 100%;
345
+ }
346
+
347
+ * {
348
+ scrollbar-width: none;
349
+ }
350
+
351
+ *::-webkit-scrollbar {
352
+ display: none;
353
+ }
354
+ `, be = u.div`
321
355
  display: flex;
322
356
  align-items: center;
323
357
  gap: 8px;
324
358
  padding: 10px 12px;
325
359
  border-bottom: 1px solid ${i.stroke.primary};
326
- `, ge = p.input`
360
+ `, me = u.input`
327
361
  flex: 1;
328
362
  min-width: 0;
329
363
  border: none;
@@ -336,7 +370,7 @@ const h = (s) => s.meta, I = (s) => h(s)?.plainLabel ?? s.label, pe = "__bik_cre
336
370
  &::placeholder {
337
371
  color: ${i.content.placeholder};
338
372
  }
339
- `, me = p.button`
373
+ `, xe = u.button`
340
374
  display: flex;
341
375
  justify-content: space-between;
342
376
  align-items: center;
@@ -346,39 +380,39 @@ const h = (s) => s.meta, I = (s) => h(s)?.plainLabel ?? s.label, pe = "__bik_cre
346
380
  height: 48px;
347
381
  border: none;
348
382
  border-bottom: 1px solid ${i.stroke.primary};
349
- background: ${(s) => s.$active ? i.surface.subdued : "transparent"};
383
+ background: ${(c) => c.$active ? i.surface.subdued : "transparent"};
350
384
  cursor: pointer;
351
385
  text-align: left;
352
386
 
353
387
  &:hover {
354
388
  background: ${i.surface.hovered};
355
389
  }
356
- `, be = p.div`
390
+ `, ke = u.div`
357
391
  display: flex;
358
392
  align-items: center;
359
393
  gap: 12px;
360
394
  min-width: 0;
361
- `, xe = p.div`
395
+ `, ve = u.div`
362
396
  display: flex;
363
397
  align-items: center;
364
398
  gap: 6px;
365
399
  padding: 8px 12px;
366
400
  border-top: 1px solid ${i.stroke.primary};
367
- `, ke = p.span`
401
+ `, ye = u.span`
368
402
  flex-shrink: 0;
369
403
  color: ${i.content.brand};
370
404
  font-family: Inter;
371
405
  font-size: 14px;
372
406
  font-weight: 600;
373
407
  white-space: nowrap;
374
- `, ve = p.div`
408
+ `, we = u.div`
375
409
  width: 100%;
376
410
  text-align: center;
377
411
  color: ${i.content.brand};
378
412
  font-family: Inter;
379
413
  font-size: 14px;
380
414
  font-weight: 600;
381
- `, ye = p.button`
415
+ `, Ie = u.button`
382
416
  display: flex;
383
417
  align-items: center;
384
418
  padding: 12px 16px;
@@ -391,13 +425,13 @@ const h = (s) => s.meta, I = (s) => h(s)?.plainLabel ?? s.label, pe = "__bik_cre
391
425
  font-weight: 600;
392
426
  height: 48px;
393
427
  gap: 4px;
394
- `, we = p.div`
428
+ `, Re = u.div`
395
429
  padding: 12px 10px;
396
430
  font-family: Inter;
397
431
  font-size: 13px;
398
432
  color: ${i.content.secondary};
399
433
  `;
400
434
  export {
401
- ze as MentionPicker
435
+ Fe as MentionPicker
402
436
  };
403
437
  //# sourceMappingURL=MentionPicker.js.map