@homefile/components-v2 2.26.1 → 2.26.3

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.
@@ -13,7 +13,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { Wrap } from '@chakra-ui/react';
14
14
  import { GridFile } from '../..';
15
15
  export const GridFiles = ({ files, menu, onClick, onMove }) => {
16
- return (_jsx(Wrap, { p: "base", children: files === null || files === void 0 ? void 0 : files.map((_a) => {
16
+ return (_jsx(Wrap, { p: "base", pb: '5rem', children: files === null || files === void 0 ? void 0 : files.map((_a) => {
17
17
  var { _id } = _a, props = __rest(_a, ["_id"]);
18
18
  return (_jsx(GridFile, Object.assign({ _id: _id, menu: menu, onClick: onClick, onMove: onMove }, props), _id));
19
19
  }) }));
@@ -13,5 +13,5 @@ export const HiddenField = ({ disabled, h = '80px', icon, id, isActive, name, on
13
13
  },
14
14
  }, _active: {
15
15
  boxShadow: 'md',
16
- }, children: [_jsx(Image, { h: "24px", w: "auto", maxW: "35px", src: icon }), _jsx(Text, { textTransform: "uppercase", fontSize: "xs", noOfLines: 2, overflow: "hidden", lineHeight: "1", width: "100%", children: name })] }), showPlusIcon && (_jsx(Box, { position: "absolute", top: "1", left: "4", children: _jsx(Plus, { size: 14, stroke: colors.blue[3] }) }))] }));
16
+ }, children: [_jsx(Image, { h: "24px", w: "auto", maxW: "35px", src: icon }), _jsx(Text, { textTransform: "uppercase", fontSize: "xs", noOfLines: 2, overflow: "hidden", lineHeight: "1", width: "100%", children: name })] }), showPlusIcon && (_jsx(Box, { position: "absolute", top: "1", left: "1", children: _jsx(Plus, { size: 14, stroke: colors.blue[3] }) }))] }));
17
17
  };
@@ -12,5 +12,5 @@ export default {
12
12
  },
13
13
  };
14
14
  export const AddToHomefileComponent = (args) => {
15
- return (_jsx(Box, { w: ['full', '300px'], children: _jsx(AddToHomefile, Object.assign({}, args)) }));
15
+ return (_jsx(Box, { w: ['full', '355px'], children: _jsx(AddToHomefile, Object.assign({}, args)) }));
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homefile/components-v2",
3
- "version": "2.26.1",
3
+ "version": "2.26.3",
4
4
  "author": "Homefile",
5
5
  "license": "UNLICENSED",
6
6
  "typings": "dist/index.d.ts",
@@ -4,7 +4,7 @@ import { GridFile } from '@/components'
4
4
 
5
5
  export const GridFiles = ({ files, menu, onClick, onMove }: DisplayFilesI) => {
6
6
  return (
7
- <Wrap p="base">
7
+ <Wrap p="base" pb={'5rem'}>
8
8
  {files?.map(({ _id, ...props }) => {
9
9
  return (
10
10
  <GridFile
@@ -56,7 +56,7 @@ export const HiddenField = ({
56
56
  </Text>
57
57
  </Center>
58
58
  {showPlusIcon && (
59
- <Box position="absolute" top="1" left="4">
59
+ <Box position="absolute" top="1" left="1">
60
60
  <Plus size={14} stroke={colors.blue[3]} />
61
61
  </Box>
62
62
  )}
@@ -16,7 +16,7 @@ export default {
16
16
 
17
17
  export const AddToHomefileComponent = (args: AddToHomefileI) => {
18
18
  return (
19
- <Box w={['full', '300px']}>
19
+ <Box w={['full', '355px']}>
20
20
  <AddToHomefile {...args} />
21
21
  </Box>
22
22
  )