@zero-library/chat-copilot 3.1.4 → 3.1.5

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.
package/dist/index.cjs.js CHANGED
@@ -246,14 +246,14 @@ var Attachments_default = React10.forwardRef(({ fileUpload, fileUploadConfig, fi
246
246
 
247
247
  // src/components/ChatInput/index.module.less
248
248
  var index_module_default = {
249
+ promptEditorInputContainer: "index_module_promptEditorInputContainer",
250
+ promptEditorContent: "index_module_promptEditorContent",
251
+ promptEditorPlaceholder: "index_module_promptEditorPlaceholder",
252
+ resourceSelect: "index_module_resourceSelect",
249
253
  fileMenu: "index_module_fileMenu",
250
254
  fileMenuItem: "index_module_fileMenuItem",
251
255
  fileMenuItemActive: "index_module_fileMenuItemActive",
252
256
  fileName: "index_module_fileName",
253
- resourceSelect: "index_module_resourceSelect",
254
- promptEditorInputContainer: "index_module_promptEditorInputContainer",
255
- promptEditorContent: "index_module_promptEditorContent",
256
- promptEditorPlaceholder: "index_module_promptEditorPlaceholder",
257
257
  resourceTag: "index_module_resourceTag"
258
258
  };
259
259
 
@@ -618,7 +618,7 @@ function VariablePickerPlugin({ commandConfig = {} }) {
618
618
  },
619
619
  options: commandOptions.map((option) => new CascadeOption(option.category, option.item)),
620
620
  menuRenderFn: (anchorElementRef, { selectedIndex, setHighlightedIndex, selectOptionAndCleanUp }, matchingString) => {
621
- if (!isEditorFocused || !anchorElementRef.current) return null;
621
+ if (!anchorElementRef.current) return null;
622
622
  return ReactDOM__namespace.createPortal(
623
623
  /* @__PURE__ */ jsxRuntime.jsxs(ResourcePickerMenu, { anchorElementRef, children: [
624
624
  commandDataSource[matchingString]?.component === "cascade" && /* @__PURE__ */ jsxRuntime.jsx(