mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 06:56:59 +00:00
Updates
This commit is contained in:
parent
309d2b68e6
commit
b191db5ad7
105
pnpm-lock.yaml
generated
105
pnpm-lock.yaml
generated
@ -626,7 +626,7 @@ importers:
|
||||
lint-staged: ^13.0.3
|
||||
lodash.random: ^3.2.0
|
||||
lodash.throttle: ^4.1.1
|
||||
next: ^13.0.0
|
||||
next: ^13.0.4
|
||||
next-themes: ^0.2.0
|
||||
postcss: ^8.3.5
|
||||
postcss-flexbugs-fixes: ^5.0.2
|
||||
@ -664,8 +664,8 @@ importers:
|
||||
keen-slider: 6.8.0
|
||||
lodash.random: 3.2.0
|
||||
lodash.throttle: 4.1.1
|
||||
next: 13.0.0_biqbaboplfbrettd7655fr4n2y
|
||||
next-themes: 0.2.1_r5sq4deac3rmm2d5onhwvomqve
|
||||
next: 13.0.4_biqbaboplfbrettd7655fr4n2y
|
||||
next-themes: 0.2.1_dcors23iqtgxrhrwosgnnc4xji
|
||||
postcss: 8.4.16
|
||||
postcss-nesting: 10.1.10_postcss@8.4.16
|
||||
react: 18.2.0
|
||||
@ -2288,8 +2288,8 @@ packages:
|
||||
resolution: {integrity: sha512-PTJpjAFVbzBQ9xXpzMTroShvD5YDIIy46jQ7d4LrWpY+/5a8H90Tm8hE3Hvkc5RBRspVo7kvEOnqQms0A+2Q6w==}
|
||||
dev: true
|
||||
|
||||
/@next/env/13.0.0:
|
||||
resolution: {integrity: sha512-65v9BVuah2Mplohm4+efsKEnoEuhmlGm8B2w6vD1geeEP2wXtlSJCvR/cCRJ3fD8wzCQBV41VcMBQeYET6MRkg==}
|
||||
/@next/env/13.0.4:
|
||||
resolution: {integrity: sha512-N5Z3bdxBzoxrC5bwykDFITzdWuwDteOdZ+7nxixY+I1XpRX8/iQYbw2wuXMdqdfBGm2NNUpAqg8YF2e4oAC2UQ==}
|
||||
dev: false
|
||||
|
||||
/@next/eslint-plugin-next/12.3.0:
|
||||
@ -2307,8 +2307,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@next/swc-android-arm-eabi/13.0.0:
|
||||
resolution: {integrity: sha512-+DUQkYF93gxFjWY+CYWE1QDX6gTgnUiWf+W4UqZjM1Jcef8U97fS6xYh+i+8rH4MM0AXHm7OSakvfOMzmjU6VA==}
|
||||
/@next/swc-android-arm-eabi/13.0.4:
|
||||
resolution: {integrity: sha512-SD9H+/zuV3L0oHIhsDdFkDqFtg6pIHtqRUPlsrNdOsmWXgMlSzxBmwt2ta4kyrazS62BQu7XRUG++ZyODS7AWg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm]
|
||||
os: [android]
|
||||
@ -2325,8 +2325,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@next/swc-android-arm64/13.0.0:
|
||||
resolution: {integrity: sha512-RW9Uy3bMSc0zVGCa11klFuwfP/jdcdkhdruqnrJ7v+7XHm6OFKkSRzX6ee7yGR1rdDZvTnP4GZSRSpzjLv/N0g==}
|
||||
/@next/swc-android-arm64/13.0.4:
|
||||
resolution: {integrity: sha512-F8W5WcBbdn/zBoy32/mQiefs9DNsT12CTSSVCsO8GvQR7GjJU+uduQ4drKcSDoDLuAFULc2jDN06Circq4vuQg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [android]
|
||||
@ -2343,8 +2343,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@next/swc-darwin-arm64/13.0.0:
|
||||
resolution: {integrity: sha512-APA26nps1j4qyhOIzkclW/OmgotVHj1jBxebSpMCPw2rXfiNvKNY9FA0TcuwPmUCNqaTnm703h6oW4dvp73A4Q==}
|
||||
/@next/swc-darwin-arm64/13.0.4:
|
||||
resolution: {integrity: sha512-/lajev+9GSie+rRTl5z8skW9RJwZ+TwMKLzzM24TbDk8lUjqPTyJZ/cU0NDj8J7VQAZ6EehACSh9rcJeBRtLuA==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
@ -2361,8 +2361,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@next/swc-darwin-x64/13.0.0:
|
||||
resolution: {integrity: sha512-qsUhUdoFuRJiaJ7LnvTQ6GZv1QnMDcRXCIjxaN0FNVXwrjkq++U7KjBUaxXkRzLV4C7u0NHLNOp0iZwNNE7ypw==}
|
||||
/@next/swc-darwin-x64/13.0.4:
|
||||
resolution: {integrity: sha512-HK4b2rFiju8d40GTL/jH9U6OQ7BYA2MeEHs7Dm7Rp7kwQtLzP3z6osdQS8er20tIFHDE4b+oVBy03ZUQkHf0Pg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
@ -2379,8 +2379,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@next/swc-freebsd-x64/13.0.0:
|
||||
resolution: {integrity: sha512-sCdyCbboS7CwdnevKH9J6hkJI76LUw1jVWt4eV7kISuLiPba3JmehZSWm80oa4ADChRVAwzhLAo2zJaYRrInbg==}
|
||||
/@next/swc-freebsd-x64/13.0.4:
|
||||
resolution: {integrity: sha512-xBvIGLaGzZtgJfRRJ2DBN82DQCJ/O7jkXyBp8X/vHefPWyVXVqF6C68Rv8ADp11thPpf8WpjkvDDLb9AuWHQUA==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [freebsd]
|
||||
@ -2397,8 +2397,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@next/swc-linux-arm-gnueabihf/13.0.0:
|
||||
resolution: {integrity: sha512-/X/VxfFA41C9jrEv+sUsPLQ5vbDPVIgG0CJrzKvrcc+b+4zIgPgtfsaWq9ockjHFQi3ycvlZK4TALOXO8ovQ6Q==}
|
||||
/@next/swc-linux-arm-gnueabihf/13.0.4:
|
||||
resolution: {integrity: sha512-s13pxNp9deKmmxEGTp1MoL1e4nf4wbEymEaHgFxUlhoR1OD9tK8oTNrQphQePJgVjzcWmRGH/dX7O9mVkHbU/g==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm]
|
||||
os: [linux]
|
||||
@ -2415,8 +2415,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@next/swc-linux-arm64-gnu/13.0.0:
|
||||
resolution: {integrity: sha512-x6Oxr1GIi0ZtNiT6jbw+JVcbEi3UQgF7mMmkrgfL4mfchOwXtWSHKTSSPnwoJWJfXYa0Vy1n8NElWNTGAqoWFw==}
|
||||
/@next/swc-linux-arm64-gnu/13.0.4:
|
||||
resolution: {integrity: sha512-Lklo65usNzoYwjX51CpDKOepWVZBdwO49/Jz3djxiYUr2lRtpDVnlfwCvzN+47j3BMVMWtC2ndIi8Q4s3J0v4g==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
@ -2433,8 +2433,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@next/swc-linux-arm64-musl/13.0.0:
|
||||
resolution: {integrity: sha512-SnMH9ngI+ipGh3kqQ8+mDtWunirwmhQnQeZkEq9e/9Xsgjf04OetqrqRHKM1HmJtG2qMUJbyXFJ0F81TPuT+3g==}
|
||||
/@next/swc-linux-arm64-musl/13.0.4:
|
||||
resolution: {integrity: sha512-+3BXtXBwjVhd5lahDe5nKZ7EwD6hE/oLFQkITCvgxymU5qYHGlLFyF52/lyw8qhyxoCr7mMVsUFhlCzVwCfNjg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
@ -2451,8 +2451,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@next/swc-linux-x64-gnu/13.0.0:
|
||||
resolution: {integrity: sha512-VSQwTX9EmdbotArtA1J67X8964oQfe0xHb32x4tu+JqTR+wOHyG6wGzPMdXH2oKAp6rdd7BzqxUXXf0J+ypHlw==}
|
||||
/@next/swc-linux-x64-gnu/13.0.4:
|
||||
resolution: {integrity: sha512-QB8qoZrvHhZsz62nUrTKlp5IiZ8I7KZsaa6437H/W/NOZHLGJjCxROnhUjLvKVe/T5P86pjya2SUOUqWAjz4Pg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
@ -2469,8 +2469,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@next/swc-linux-x64-musl/13.0.0:
|
||||
resolution: {integrity: sha512-xBCP0nnpO0q4tsytXkvIwWFINtbFRyVY5gxa1zB0vlFtqYR9lNhrOwH3CBrks3kkeaePOXd611+8sjdUtrLnXA==}
|
||||
/@next/swc-linux-x64-musl/13.0.4:
|
||||
resolution: {integrity: sha512-WaahF6DYUQRg1QqIMcuOu2ZsFhS3aC5iWeQyeptMHklP9wb4FfTNmBArKHknX/GXD8P9gI38WTAHJ25cc0zVwg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
@ -2487,8 +2487,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@next/swc-win32-arm64-msvc/13.0.0:
|
||||
resolution: {integrity: sha512-NutwDafqhGxqPj/eiUixJq9ImS/0sgx6gqlD7jRndCvQ2Q8AvDdu1+xKcGWGNnhcDsNM/n1avf1e62OG1GaqJg==}
|
||||
/@next/swc-win32-arm64-msvc/13.0.4:
|
||||
resolution: {integrity: sha512-FD+k1j2jeY0aKcqcpzFKfTsv55PPmIZ5GKDyPjjV5AO6XvQ4nALwWl4JwizjH2426TfLXObb+C3MH0bl9Ok1Kw==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
@ -2505,8 +2505,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@next/swc-win32-ia32-msvc/13.0.0:
|
||||
resolution: {integrity: sha512-zNaxaO+Kl/xNz02E9QlcVz0pT4MjkXGDLb25qxtAzyJL15aU0+VjjbIZAYWctG59dvggNIUNDWgoBeVTKB9xLg==}
|
||||
/@next/swc-win32-ia32-msvc/13.0.4:
|
||||
resolution: {integrity: sha512-+Q/Q8Ydvz3X3U84CyZdNv1HC7fE43k+xB8C6b3IFmWGa5Tu2tfskQ2FsUNBrYreZjhFC/894J3rVQ6Vj6Auugg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [ia32]
|
||||
os: [win32]
|
||||
@ -2523,8 +2523,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@next/swc-win32-x64-msvc/13.0.0:
|
||||
resolution: {integrity: sha512-FFOGGWwTCRMu9W7MF496Urefxtuo2lttxF1vwS+1rIRsKvuLrWhVaVTj3T8sf2EBL6gtJbmh4TYlizS+obnGKA==}
|
||||
/@next/swc-win32-x64-msvc/13.0.4:
|
||||
resolution: {integrity: sha512-vXtbo9N1FdtZZRcv4BliU28tTYrkb1EnVpUiiFFe88I6kS9aZVTMY9Z/OtDR52rl1JF1hgs9sL/59D/TQqSATQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
@ -3940,7 +3940,7 @@ packages:
|
||||
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
caniuse-lite: 1.0.30001399
|
||||
caniuse-lite: 1.0.30001422
|
||||
electron-to-chromium: 1.4.249
|
||||
node-releases: 2.0.6
|
||||
update-browserslist-db: 1.0.9_browserslist@4.21.3
|
||||
@ -4055,7 +4055,6 @@ packages:
|
||||
|
||||
/caniuse-lite/1.0.30001422:
|
||||
resolution: {integrity: sha512-hSesn02u1QacQHhaxl/kNMZwqVG35Sz/8DgvmgedxSH8z9UUpcDYSPYgsj3x5dQNRcNp6BwpSfQfVzYUTm+fog==}
|
||||
dev: false
|
||||
|
||||
/capital-case/1.0.4:
|
||||
resolution: {integrity: sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==}
|
||||
@ -7208,14 +7207,14 @@ packages:
|
||||
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
|
||||
dev: true
|
||||
|
||||
/next-themes/0.2.1_r5sq4deac3rmm2d5onhwvomqve:
|
||||
/next-themes/0.2.1_dcors23iqtgxrhrwosgnnc4xji:
|
||||
resolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==}
|
||||
peerDependencies:
|
||||
next: '*'
|
||||
react: '*'
|
||||
react-dom: '*'
|
||||
dependencies:
|
||||
next: 13.0.0_biqbaboplfbrettd7655fr4n2y
|
||||
next: 13.0.4_biqbaboplfbrettd7655fr4n2y
|
||||
react: 18.2.0
|
||||
react-dom: 18.2.0_react@18.2.0
|
||||
dev: false
|
||||
@ -7265,15 +7264,15 @@ packages:
|
||||
- babel-plugin-macros
|
||||
dev: true
|
||||
|
||||
/next/13.0.0_biqbaboplfbrettd7655fr4n2y:
|
||||
resolution: {integrity: sha512-puH1WGM6rGeFOoFdXXYfUxN9Sgi4LMytCV5HkQJvVUOhHfC1DoVqOfvzaEteyp6P04IW+gbtK2Q9pInVSrltPA==}
|
||||
/next/13.0.4_biqbaboplfbrettd7655fr4n2y:
|
||||
resolution: {integrity: sha512-4P0MvbjPCI1E/UPL1GrTXtYlgFnbBbY3JQ+AMY8jYE2SwyvCWctEJySoRjveznAHjrl6TIjuAJeB8u1c2StYUQ==}
|
||||
engines: {node: '>=14.6.0'}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
fibers: '>= 3.1.0'
|
||||
node-sass: ^6.0.0 || ^7.0.0
|
||||
react: ^18.0.0-0
|
||||
react-dom: ^18.0.0-0
|
||||
react: ^18.2.0
|
||||
react-dom: ^18.2.0
|
||||
sass: ^1.3.0
|
||||
peerDependenciesMeta:
|
||||
fibers:
|
||||
@ -7283,7 +7282,7 @@ packages:
|
||||
sass:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@next/env': 13.0.0
|
||||
'@next/env': 13.0.4
|
||||
'@swc/helpers': 0.4.11
|
||||
caniuse-lite: 1.0.30001422
|
||||
postcss: 8.4.14
|
||||
@ -7292,19 +7291,19 @@ packages:
|
||||
styled-jsx: 5.1.0_react@18.2.0
|
||||
use-sync-external-store: 1.2.0_react@18.2.0
|
||||
optionalDependencies:
|
||||
'@next/swc-android-arm-eabi': 13.0.0
|
||||
'@next/swc-android-arm64': 13.0.0
|
||||
'@next/swc-darwin-arm64': 13.0.0
|
||||
'@next/swc-darwin-x64': 13.0.0
|
||||
'@next/swc-freebsd-x64': 13.0.0
|
||||
'@next/swc-linux-arm-gnueabihf': 13.0.0
|
||||
'@next/swc-linux-arm64-gnu': 13.0.0
|
||||
'@next/swc-linux-arm64-musl': 13.0.0
|
||||
'@next/swc-linux-x64-gnu': 13.0.0
|
||||
'@next/swc-linux-x64-musl': 13.0.0
|
||||
'@next/swc-win32-arm64-msvc': 13.0.0
|
||||
'@next/swc-win32-ia32-msvc': 13.0.0
|
||||
'@next/swc-win32-x64-msvc': 13.0.0
|
||||
'@next/swc-android-arm-eabi': 13.0.4
|
||||
'@next/swc-android-arm64': 13.0.4
|
||||
'@next/swc-darwin-arm64': 13.0.4
|
||||
'@next/swc-darwin-x64': 13.0.4
|
||||
'@next/swc-freebsd-x64': 13.0.4
|
||||
'@next/swc-linux-arm-gnueabihf': 13.0.4
|
||||
'@next/swc-linux-arm64-gnu': 13.0.4
|
||||
'@next/swc-linux-arm64-musl': 13.0.4
|
||||
'@next/swc-linux-x64-gnu': 13.0.4
|
||||
'@next/swc-linux-x64-musl': 13.0.4
|
||||
'@next/swc-win32-arm64-msvc': 13.0.4
|
||||
'@next/swc-win32-ia32-msvc': 13.0.4
|
||||
'@next/swc-win32-x64-msvc': 13.0.4
|
||||
transitivePeerDependencies:
|
||||
- '@babel/core'
|
||||
- babel-plugin-macros
|
||||
|
@ -17,13 +17,7 @@
|
||||
}
|
||||
|
||||
.productImage {
|
||||
position: absolute;
|
||||
transform: scale(1.9);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 30% !important;
|
||||
top: 30% !important;
|
||||
z-index: 1;
|
||||
@appy w-full w-full object-cover;
|
||||
}
|
||||
|
||||
.productName {
|
||||
|
@ -84,16 +84,15 @@ const CartItem = ({
|
||||
{...rest}
|
||||
>
|
||||
<div className="flex flex-row space-x-4 py-4">
|
||||
<div className="w-16 h-16 bg-violet relative overflow-hidden cursor-pointer z-0">
|
||||
<div className="w-16 h-16 bg-violet relative overflow-hidden cursor-pointer">
|
||||
<Link href={`/product/${item.path}`}>
|
||||
<Image
|
||||
onClick={() => closeSidebarIfPresent()}
|
||||
className={s.productImage}
|
||||
width={150}
|
||||
height={150}
|
||||
width={64}
|
||||
height={64}
|
||||
src={item.variant.image?.url || placeholderImg}
|
||||
alt={item.variant.image?.alt || 'Product Image'}
|
||||
unoptimized
|
||||
/>
|
||||
</Link>
|
||||
</div>
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { FC, useState } from 'react'
|
||||
import cn from 'clsx'
|
||||
import Link from 'next/link'
|
||||
import Image from 'next/legacy/image'
|
||||
import Image from 'next/image'
|
||||
import s from './WishlistCard.module.css'
|
||||
import { Trash } from '@components/icons'
|
||||
import { Button, Text } from '@components/ui'
|
||||
|
@ -35,7 +35,7 @@
|
||||
"keen-slider": "^6.7.0",
|
||||
"lodash.random": "^3.2.0",
|
||||
"lodash.throttle": "^4.1.1",
|
||||
"next": "^13.0.0",
|
||||
"next": "^13.0.4",
|
||||
"next-themes": "^0.2.0",
|
||||
"postcss": "^8.3.5",
|
||||
"postcss-nesting": "^10.1.10",
|
||||
|
Loading…
x
Reference in New Issue
Block a user