@homefile/components-v2 2.8.50 → 2.8.52
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.
|
@@ -950,7 +950,7 @@
|
|
|
950
950
|
"partnerTitle": "has provided you a year of Homefile Free. This includes",
|
|
951
951
|
"plan": "Storage Plan",
|
|
952
952
|
"renew": "Account will automatically renew on",
|
|
953
|
-
"runOut": "Your storage
|
|
953
|
+
"runOut": "Your storage level is about to increase.",
|
|
954
954
|
"select": "Select All",
|
|
955
955
|
"space": "GB of Storage Space",
|
|
956
956
|
"storage": "of storage",
|
|
@@ -3,5 +3,5 @@ import { Flex, Text, Image } from '@chakra-ui/react';
|
|
|
3
3
|
import { HelpButton, IconMenu } from '..';
|
|
4
4
|
export const ContainerHeader = ({ disabled, icon, iconSize, index, isThin, itemForm, menuItems = [], onHelpClick = () => { }, showHelp, title, titleIcon, }) => {
|
|
5
5
|
const isDisabled = disabled !== null && disabled !== void 0 ? disabled : menuItems.length === 0;
|
|
6
|
-
return (_jsxs(Flex, { justifyContent: "space-between", bg: "neutral.white", align: "center", h: isThin ? '32px' : '60px', px: "base", children: [_jsxs(Flex, { gap: "2", w: "full", align: "center", children: [titleIcon && (_jsx(Image, { src: titleIcon, alt: titleIcon, h: iconSize, w: "auto" })), title && (_jsx(Text, { fontWeight: "medium", textTransform: "capitalize", children: title }))] }), _jsxs(Flex, { align: "center", gap: "2", minW: "fit-content", bg: "neutral.white", id: index === 0 ? 'removeHome' : '', children: [showHelp && _jsx(HelpButton, { onClick: onHelpClick }), icon && (_jsx(IconMenu, { icon: icon, itemForm: itemForm, menuItems: menuItems, disabled: isDisabled }))] })] }));
|
|
6
|
+
return (_jsxs(Flex, { justifyContent: "space-between", bg: "neutral.white", align: "center", h: isThin ? '32px' : '60px', px: "base", children: [_jsxs(Flex, { gap: "2", w: "full", align: "center", children: [titleIcon && (_jsx(Image, { src: titleIcon, alt: titleIcon, h: iconSize, w: "auto" })), title && (_jsx(Text, { fontWeight: "medium", textTransform: "capitalize", children: title }))] }), _jsxs(Flex, { align: "center", gap: "2", minW: "fit-content", bg: "neutral.white", id: index === 0 ? 'removeHome' : '', children: [showHelp && _jsx(HelpButton, { onClick: onHelpClick }), icon && (_jsx(IconMenu, { icon: icon, itemForm: itemForm, menuItems: menuItems, disabled: isDisabled, zIndex: "1" }))] })] }));
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -950,7 +950,7 @@
|
|
|
950
950
|
"partnerTitle": "has provided you a year of Homefile Free. This includes",
|
|
951
951
|
"plan": "Storage Plan",
|
|
952
952
|
"renew": "Account will automatically renew on",
|
|
953
|
-
"runOut": "Your storage
|
|
953
|
+
"runOut": "Your storage level is about to increase.",
|
|
954
954
|
"select": "Select All",
|
|
955
955
|
"space": "GB of Storage Space",
|
|
956
956
|
"storage": "of storage",
|