@homefile/components-v2 2.40.20 → 2.40.22

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,2 +1,2 @@
1
1
  import { BaseCounterI } from '../../interfaces';
2
- export declare const BaseCounter: ({ text, uploading, uploadingText, }: BaseCounterI) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const BaseCounter: ({ text, uploading }: BaseCounterI) => import("react/jsx-runtime").JSX.Element;
@@ -3,6 +3,6 @@ import { t } from 'i18next';
3
3
  import { Box, chakra, Flex, Text } from '@chakra-ui/react';
4
4
  import { BeatLoader } from 'react-spinners';
5
5
  import { colors } from '../../theme/colors';
6
- export const BaseCounter = ({ text, uploading, uploadingText, }) => {
7
- return (_jsx(Box, { w: "100%", children: _jsxs(Flex, { justify: "space-between", align: "center", children: [!uploading && _jsx(Text, { variant: "home", children: text }), uploading && (_jsxs(Text, { variant: "home", children: [_jsx(chakra.span, { fontWeight: "bold", children: t('folderSharing.uploading') }), uploadingText, _jsx(chakra.span, { ml: "2", children: _jsx(BeatLoader, { size: "4px", color: colors.blue[6] }) })] }))] }) }));
6
+ export const BaseCounter = ({ text, uploading }) => {
7
+ return (_jsx(Box, { w: "100%", children: _jsxs(Flex, { justify: "space-between", align: "center", children: [!uploading && _jsx(Text, { variant: "home", children: text }), uploading && (_jsxs(Text, { variant: "home", children: [_jsx(chakra.span, { fontWeight: "bold", children: t('folderSharing.uploading') }), _jsx(chakra.span, { ml: "2", children: _jsx(BeatLoader, { size: "4px", color: colors.blue[6] }) })] }))] }) }));
8
8
  };
@@ -2,8 +2,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Stack } from '@chakra-ui/react';
3
3
  import { WizardTextBody, WizardInitialOptions, WizardStepOptions, } from '../../../../components';
4
4
  export const HomeInitialSetup = ({ fields, callback, style }) => {
5
- const isWizard = style === 'wizard';
6
- return (_jsx(Stack, { bg: "neutral.white", spacing: { base: '6', md: isWizard ? '10' : '0' }, children: fields === null || fields === void 0 ? void 0 : fields.map(({ children = [], id, label = '', type, value, description }) => {
5
+ // const isWizard = style === 'wizard'
6
+ return (_jsx(Stack, { bg: "neutral.white", spacing: { base: '6', md: '0' }, children: fields === null || fields === void 0 ? void 0 : fields.map(({ children = [], id, label = '', type, value, description }) => {
7
7
  switch (type) {
8
8
  case 'home-wizard-header':
9
9
  return (_jsx(WizardTextBody, { title: label, subtitle: description, style: style }, id));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homefile/components-v2",
3
- "version": "2.40.20",
3
+ "version": "2.40.22",
4
4
  "author": "Homefile",
5
5
  "license": "UNLICENSED",
6
6
  "typings": "dist/index.d.ts",