@overmap-ai/core 1.0.35-add-image-to-forms.14 → 1.0.35-add-image-to-forms.15

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.
@@ -10617,20 +10617,20 @@ const FieldActions = memo((props) => {
10617
10617
  ] });
10618
10618
  });
10619
10619
  FieldActions.displayName = "FieldActions";
10620
- const description = "_description_1wifn_1";
10621
- const floatingButtonContainer = "_floatingButtonContainer_1wifn_5";
10622
- const FullScreenImageContainer = "_FullScreenImageContainer_1wifn_12";
10623
- const fileName = "_fileName_1wifn_22";
10624
- const longIconButton = "_longIconButton_1wifn_27";
10625
- const previewImage = "_previewImage_1wifn_33";
10626
- const FullScreenImage = "_FullScreenImage_1wifn_12";
10627
- const popoverInputsContainer = "_popoverInputsContainer_1wifn_51";
10628
- const imageContainer = "_imageContainer_1wifn_55";
10629
- const deleteImageButton = "_deleteImageButton_1wifn_60";
10630
- const typeBadge = "_typeBadge_1wifn_66";
10631
- const previewInput = "_previewInput_1wifn_71";
10632
- const directInput = "_directInput_1wifn_75";
10633
- const grow = "_grow_1wifn_80";
10620
+ const description = "_description_1g95d_1";
10621
+ const floatingButtonContainer = "_floatingButtonContainer_1g95d_5";
10622
+ const FullScreenImageContainer = "_FullScreenImageContainer_1g95d_12";
10623
+ const fileName = "_fileName_1g95d_22";
10624
+ const longIconButton = "_longIconButton_1g95d_27";
10625
+ const previewImage = "_previewImage_1g95d_33";
10626
+ const FullScreenImage = "_FullScreenImage_1g95d_12";
10627
+ const popoverInputsContainer = "_popoverInputsContainer_1g95d_51";
10628
+ const imageContainer = "_imageContainer_1g95d_55";
10629
+ const deleteImageButton = "_deleteImageButton_1g95d_60";
10630
+ const typeBadge = "_typeBadge_1g95d_71";
10631
+ const previewInput = "_previewInput_1g95d_76";
10632
+ const directInput = "_directInput_1g95d_80";
10633
+ const grow = "_grow_1g95d_85";
10634
10634
  const styles = {
10635
10635
  description,
10636
10636
  floatingButtonContainer,
@@ -10721,8 +10721,6 @@ const FieldBuilder = memo((props) => {
10721
10721
  };
10722
10722
  }, []);
10723
10723
  const [showImagePreview, setShowImagePreview] = useState(false);
10724
- const [showFloatingDeleteButton, setShowFloatingDeleteButton] = useState(false);
10725
- console.log(showFloatingDeleteButton);
10726
10724
  const { values, setFieldValue, errors } = useFormikContext();
10727
10725
  const fieldTypeItems = useFieldTypeItems();
10728
10726
  const isSection = useCallback((field) => {
@@ -10869,12 +10867,6 @@ const FieldBuilder = memo((props) => {
10869
10867
  className: styles.previewImage,
10870
10868
  src: imageURL,
10871
10869
  alt: initial.image.name,
10872
- onMouseEnter: () => {
10873
- setShowFloatingDeleteButton(true);
10874
- },
10875
- onMouseLeave: () => {
10876
- setShowFloatingDeleteButton(false);
10877
- },
10878
10870
  onClick: () => {
10879
10871
  setShowImagePreview(true);
10880
10872
  }
@@ -10884,7 +10876,7 @@ const FieldBuilder = memo((props) => {
10884
10876
  IconButton,
10885
10877
  {
10886
10878
  className: styles.deleteImageButton,
10887
- variant: "soft",
10879
+ variant: "solid",
10888
10880
  severity: "danger",
10889
10881
  "aria-label": "delete",
10890
10882
  onClick: handleImageDelete,