@smg-automotive/components 27.3.2-fix-components-bundlesize-2.1 → 27.3.2
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.
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/focusedHeader/index.js +2 -1
- package/dist/esm/components/focusedHeader/index.js.map +1 -1
- package/dist/esm/components/navigation/footer/Apps.js +1 -1
- package/dist/esm/components/navigation/footer/Apps.js.map +1 -1
- package/dist/esm/components/navigation/header/NavigationItems.js +2 -1
- package/dist/esm/components/navigation/header/NavigationItems.js.map +1 -1
- package/package.json +5 -54
- package/dist/cjs/page-layout.js +0 -23
- package/dist/cjs/page-layout.js.map +0 -1
- package/dist/page-layout.d.mts +0 -96
- package/dist/page-layout.d.ts +0 -96
package/dist/cjs/index.js
CHANGED
|
@@ -5508,7 +5508,7 @@ var img$3 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBo
|
|
|
5508
5508
|
|
|
5509
5509
|
const FocusedHeader = ({ brand }) => {
|
|
5510
5510
|
const logo = brand === Brand.AutoScout24 ? img$3 : img$4;
|
|
5511
|
-
return (jsxRuntime.jsx(react.Box, { width: "full", borderBottomColor: "gray.200", borderBottomWidth: "1px", zIndex: "header", position: "relative", backgroundColor: "white", children: jsxRuntime.jsx(react.Box, { maxWidth: "container.2xl", height: menuHeightConfig, alignItems: "center", margin: "auto", display: "flex", justifyContent: "space-between", px: { base: 'sm', xs: 'lg', sm: '2xl' }, children: jsxRuntime.jsx(react.Image, { width: { sm: '124px', base: '101px' }, height: { sm: '30px', base: 'sm' }, src: logo, alt: "Platform logo" }) }) }));
|
|
5511
|
+
return (jsxRuntime.jsx(react.Box, { width: "full", borderBottomColor: "gray.200", borderBottomWidth: "1px", zIndex: "header", position: "relative", backgroundColor: "white", children: jsxRuntime.jsx(react.Box, { maxWidth: "container.2xl", height: menuHeightConfig, alignItems: "center", margin: "auto", display: "flex", justifyContent: "space-between", px: { base: 'sm', xs: 'lg', sm: '2xl' }, children: jsxRuntime.jsx(react.Image, { width: { sm: '124px', base: '101px' }, height: { sm: '30px', base: 'sm' }, src: getStaticImageSource(logo), alt: "Platform logo" }) }) }));
|
|
5512
5512
|
};
|
|
5513
5513
|
|
|
5514
5514
|
const FormControlSection = ({ children, errorMessage, id, label, hint, tooltip, }) => {
|
|
@@ -5801,7 +5801,7 @@ var img$1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARAAAABQCAMAAADm+9r/A
|
|
|
5801
5801
|
|
|
5802
5802
|
const FooterApps = ({ config }) => {
|
|
5803
5803
|
const { t } = useI18n();
|
|
5804
|
-
return (jsxRuntime.jsx(GridItem, { children: jsxRuntime.jsxs(Stack$1, { paddingY: { base: '2xl', md: 'md' }, paddingX: { base: 'md', md: '0' }, gap: "md", children: [jsxRuntime.jsx(Text$1, { textStyle: "heading5", children: t('footer.apps.title') }), jsxRuntime.jsxs(Root$2, { children: [jsxRuntime.jsx(Item, { display: "flex", alignItems: "center", children: jsxRuntime.jsx(FooterLink, { linkInstance: config.apps.android[0], children: jsxRuntime.jsx(react.Image, { src: getStaticImageSource(img$2), alt: 'Googleplay Icon', width: "3xl", height: "auto", loading: "lazy" }) }) }), jsxRuntime.jsx(Item, { display: "flex", alignItems: "center", mt: "md", children: jsxRuntime.jsx(FooterLink, { linkInstance: config.apps.apple[0], children: jsxRuntime.jsx(react.Image, { src: getStaticImageSource(img$1), alt: '
|
|
5804
|
+
return (jsxRuntime.jsx(GridItem, { children: jsxRuntime.jsxs(Stack$1, { paddingY: { base: '2xl', md: 'md' }, paddingX: { base: 'md', md: '0' }, gap: "md", children: [jsxRuntime.jsx(Text$1, { textStyle: "heading5", children: t('footer.apps.title') }), jsxRuntime.jsxs(Root$2, { children: [jsxRuntime.jsx(Item, { display: "flex", alignItems: "center", children: jsxRuntime.jsx(FooterLink, { linkInstance: config.apps.android[0], children: jsxRuntime.jsx(react.Image, { src: getStaticImageSource(img$2), alt: 'Googleplay Icon', width: "3xl", height: "auto", loading: "lazy" }) }) }), jsxRuntime.jsx(Item, { display: "flex", alignItems: "center", mt: "md", children: jsxRuntime.jsx(FooterLink, { linkInstance: config.apps.apple[0], children: jsxRuntime.jsx(react.Image, { src: getStaticImageSource(img$1), alt: 'Appstore Icon', width: "3xl", height: "auto", loading: "lazy" }) }) })] })] }) }));
|
|
5805
5805
|
};
|
|
5806
5806
|
|
|
5807
5807
|
const FooterSectionGrid = ({ config }) => {
|
|
@@ -8156,7 +8156,7 @@ const NavigationItems = ({ platform, headerLinks, drawer, isOpen, createDrawerHa
|
|
|
8156
8156
|
return (jsxRuntime.jsxs(Stack$1, { direction: "row", gap: { base: 'lg', sm: '2xl' }, align: "center", children: [jsxRuntime.jsx(Link$2, { href: `/${language}`, children: jsxRuntime.jsx(react.Image, { css: {
|
|
8157
8157
|
width: { sm: '124px', base: '101px' },
|
|
8158
8158
|
height: { sm: '30px', base: 'var(--spacing-sm)' },
|
|
8159
|
-
}, src: logo, alt: "Platform logo", htmlWidth: 300, htmlHeight: 71 }) }), jsxRuntime.jsx(react.Box, { hideBelow: "sm", children: jsxRuntime.jsx(NavigationItem, { translationKey: "header.search", drawerHandler: searchDrawerHandler, isOpen: isOpen && drawer?.current === DrawerNode.Search }) }), headerLinks.map((link, index) => (jsxRuntime.jsx(HeaderLink, { link: link }, `link-${index}`))), jsxRuntime.jsx(react.Box, { display: { base: 'none', sm: 'block', lg: 'none' }, children: jsxRuntime.jsx(NavigationItem, { translationKey: "header.more", drawerHandler: moreDrawerHandler, isOpen: isOpen && drawer?.current === DrawerNode.More }) })] }));
|
|
8159
|
+
}, src: getStaticImageSource(logo), alt: "Platform logo", htmlWidth: 300, htmlHeight: 71 }) }), jsxRuntime.jsx(react.Box, { hideBelow: "sm", children: jsxRuntime.jsx(NavigationItem, { translationKey: "header.search", drawerHandler: searchDrawerHandler, isOpen: isOpen && drawer?.current === DrawerNode.Search }) }), headerLinks.map((link, index) => (jsxRuntime.jsx(HeaderLink, { link: link }, `link-${index}`))), jsxRuntime.jsx(react.Box, { display: { base: 'none', sm: 'block', lg: 'none' }, children: jsxRuntime.jsx(NavigationItem, { translationKey: "header.more", drawerHandler: moreDrawerHandler, isOpen: isOpen && drawer?.current === DrawerNode.More }) })] }));
|
|
8160
8160
|
};
|
|
8161
8161
|
|
|
8162
8162
|
const NavigationAvatar = ({ user, isOpen, drawer, hasNotification, createDrawerHandler, onLogin, }) => {
|