@evoke-platform/ui-components 1.6.0-dev.12 → 1.6.0-dev.14

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.
@@ -1,6 +1,6 @@
1
- import { BackupOutlined, ClearRounded } from '@mui/icons-material';
2
1
  import React, { useEffect, useState } from 'react';
3
2
  import { useDropzone } from 'react-dropzone';
3
+ import { ClearRounded, UploadCloud } from '../../../../../icons';
4
4
  import { CardMedia, IconButton, Typography } from '../../../../core';
5
5
  import { Box, Grid } from '../../../../layout';
6
6
  export function blobToDataUrl(blob) {
@@ -84,7 +84,7 @@ export const Image = (props) => {
84
84
  React.createElement("input", { ...getInputProps({ id }), multiple: false }),
85
85
  React.createElement(Grid, { container: true, sx: { width: '100%' } },
86
86
  React.createElement(Grid, { item: true, xs: 12, sx: { display: 'flex', justifyContent: 'center', paddingBottom: '5px' } },
87
- React.createElement(BackupOutlined, { sx: { color: '#919EAB', height: '1.5em', width: '1.5em' } })),
87
+ React.createElement(UploadCloud, { sx: { color: '#919EAB', width: '50px', height: '30px' } })),
88
88
  React.createElement(Grid, { item: true, xs: 12 },
89
89
  React.createElement(Typography, { variant: "body2", sx: { color: '#212B36', textAlign: 'center' } },
90
90
  "Drag and drop or",
@@ -133,11 +133,11 @@ export const ResponsiveOverflow = (props) => {
133
133
  }, transformOrigin: {
134
134
  vertical: 'top',
135
135
  horizontal: 'right',
136
- }, sx: { '& .MuiPaper-root': styles.menuPaper } }, overflowItems.map((item, idx) => {
136
+ }, sx: { '& .MuiPaper-root': styles.menuPaper }, onClick: handleMenuClose }, overflowItems.map((item, index) => {
137
137
  if (renderOverflowMenuItem) {
138
138
  return renderOverflowMenuItem(item);
139
139
  }
140
- return (React.createElement(MenuItem, { key: idx, onClick: handleMenuClose }, item));
140
+ return (React.createElement(MenuItem, { key: `overflow-item-${index}`, onClick: handleMenuClose }, item));
141
141
  }))))));
142
142
  };
143
143
  export default ResponsiveOverflow;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/ui-components",
3
- "version": "1.6.0-dev.12",
3
+ "version": "1.6.0-dev.14",
4
4
  "description": "",
5
5
  "main": "dist/published/index.js",
6
6
  "module": "dist/published/index.js",