@riosst100/pwa-marketplace 2.0.0 → 2.0.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/package.json +1 -1
- package/src/components/Dropdown/dropdown.js +3 -0
- package/src/overwrites/venia-ui/lib/components/Header/accountTrigger.js +1 -1
- package/src/overwrites/venia-ui/lib/components/Header/cartTrigger.js +1 -1
- package/src/overwrites/venia-ui/lib/components/Header/header.js +4 -4
- package/src/overwrites/venia-ui/lib/components/Header/wishlistTrigger.js +1 -1
- package/src/overwrites/venia-ui/lib/components/MegaMenu/megaMenuItem.js +2 -2
- package/src/overwrites/venia-ui/lib/components/MegaMenu/submenu.module.css +1 -1
- package/src/overwrites/venia-ui/lib/components/SearchBar/searchField.js +3 -0
- package/src/static-files/favicon.ico +0 -0
package/package.json
CHANGED
|
@@ -66,7 +66,7 @@ const AccountTrigger = props => {
|
|
|
66
66
|
})}
|
|
67
67
|
shouldIndicateLoading={true}
|
|
68
68
|
/> */}
|
|
69
|
-
<User size="
|
|
69
|
+
<User size="20" color={darkBlue} className={cn('stroke-0')} variant="Outline" />
|
|
70
70
|
<span className='text-base font-semibold'>
|
|
71
71
|
{formatMessage({
|
|
72
72
|
id: 'accountTrigger.buttonFallback',
|
|
@@ -76,7 +76,7 @@ const CartTrigger = props => {
|
|
|
76
76
|
data-cy="CartTrigger-trigger"
|
|
77
77
|
>
|
|
78
78
|
{/* <Icon src={ShoppingCartIcon} /> */}
|
|
79
|
-
<ShoppingCart size="
|
|
79
|
+
<ShoppingCart size="20" color={darkBlue} className={cn('stroke-0')} variant="Outline" />
|
|
80
80
|
{maybeItemCounter}
|
|
81
81
|
</button>
|
|
82
82
|
</div>
|
|
@@ -43,8 +43,8 @@ const Header = props => {
|
|
|
43
43
|
const baseUrl = data?.storeConfig?.base_media_url;
|
|
44
44
|
const imageSource = data?.storeConfig?.header_logo_src;
|
|
45
45
|
const LogoImageSource = `${baseUrl}/logo/${imageSource}`;
|
|
46
|
-
const IMAGE_HEIGHT = data?.storeConfig?.logo_width ||
|
|
47
|
-
const IMAGE_WIDTH = data?.storeConfig?.logo_height ||
|
|
46
|
+
const IMAGE_HEIGHT = data?.storeConfig?.logo_width || 28;
|
|
47
|
+
const IMAGE_WIDTH = data?.storeConfig?.logo_height || 190;
|
|
48
48
|
const IMAGE_ALT = data?.storeConfig?.logo_alt || 'TCG Collective';
|
|
49
49
|
|
|
50
50
|
const classes = useStyle(defaultClasses, props.classes);
|
|
@@ -84,7 +84,7 @@ const Header = props => {
|
|
|
84
84
|
</div>
|
|
85
85
|
<header className={cn(rootClass, '!flex flex-col !px-0 border-gray-100 ')} data-cy="Header-root">
|
|
86
86
|
<div className={cn('middle-header border-b border-gray-100')}>
|
|
87
|
-
<div className={cn('w-full max-w-[1210px] px-[15px] py-[
|
|
87
|
+
<div className={cn('w-full max-w-[1210px] px-[15px] py-[10px] mx-[auto] flex justify-between items-center')}>
|
|
88
88
|
<div className='flex'>
|
|
89
89
|
<NavTrigger />
|
|
90
90
|
|
|
@@ -133,7 +133,7 @@ const Header = props => {
|
|
|
133
133
|
</div>
|
|
134
134
|
<MegaMenu
|
|
135
135
|
rootClassName={cn('nav-menu w-full max-w-[1210px] px-[15px] mx-[auto] flex-row gap-x-[40px]')}
|
|
136
|
-
megaMenuItemClassname={cn('px-0 py-[
|
|
136
|
+
megaMenuItemClassname={cn('px-0 py-[10px] leading-[20px]')}
|
|
137
137
|
titleClassName={cn('font-medium leading-[20px]')}
|
|
138
138
|
/>
|
|
139
139
|
</header>
|
|
@@ -14,7 +14,7 @@ const wishlistTrigger = () => {
|
|
|
14
14
|
className={''}
|
|
15
15
|
data-cy="wishlistLink"
|
|
16
16
|
>
|
|
17
|
-
<Heart size="
|
|
17
|
+
<Heart size="20" color={darkBlue} className={cn('stroke-0')} variant="Outline" />
|
|
18
18
|
</Link>
|
|
19
19
|
</div>
|
|
20
20
|
)
|
|
Binary file
|