@ixo/editor 3.0.0-beta.19 → 3.0.0-beta.20

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.
@@ -31619,18 +31619,28 @@ function CoverImage({ coverImageUrl, logoUrl }) {
31619
31619
  ),
31620
31620
  /* @__PURE__ */ React284.createElement(CoverImageButton, { onClick: handleRemoveLogo }, "Remove")
31621
31621
  ) : /* @__PURE__ */ React284.createElement(
31622
- CoverImageButton,
31622
+ BaseIconPicker,
31623
31623
  {
31624
- onClick: open,
31625
- style: {
31626
- position: "absolute",
31627
- top: "50%",
31628
- left: "50%",
31629
- transform: "translate(-50%, -50%)",
31630
- zIndex: 12
31631
- }
31624
+ opened,
31625
+ onClose: close,
31626
+ currentIcon: metadata?.icon ?? "",
31627
+ onSelectIcon: (name) => handleSelectLogoIcon(name),
31628
+ onUploadClick: () => logoFileInputRef.current?.click()
31632
31629
  },
31633
- "Add icon"
31630
+ /* @__PURE__ */ React284.createElement(
31631
+ CoverImageButton,
31632
+ {
31633
+ onClick: open,
31634
+ style: {
31635
+ position: "absolute",
31636
+ top: "50%",
31637
+ left: "50%",
31638
+ transform: "translate(-50%, -50%)",
31639
+ zIndex: 12
31640
+ }
31641
+ },
31642
+ "Add icon"
31643
+ )
31634
31644
  ))
31635
31645
  )),
31636
31646
  /* @__PURE__ */ React284.createElement("input", { ref: coverFileInputRef, type: "file", accept: "image/*", style: { display: "none" }, onChange: (e) => handleFileSelect(e, "cover") }),
@@ -32857,4 +32867,4 @@ export {
32857
32867
  getExtraSlashMenuItems,
32858
32868
  useCreateIxoEditor
32859
32869
  };
32860
- //# sourceMappingURL=chunk-KM36AH4Z.mjs.map
32870
+ //# sourceMappingURL=chunk-VR7OZJUQ.mjs.map