@faststore/core 2.0.125-alpha.0 → 2.0.129-alpha.0
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/.turbo/turbo-build.log +9 -21
- package/CHANGELOG.md +12 -0
- package/package.json +4 -4
- package/src/components/cms/GlobalSections.tsx +1 -2
- package/src/components/cms/RenderSections.tsx +1 -1
- package/src/components/sections/ProductShelf/ProductShelf.tsx +11 -14
- package/src/components/sections/ProductShelf/section.module.scss +20 -0
- package/src/components/skeletons/ProductShelfSkeleton/ProductShelfSkeleton.tsx +2 -2
- package/src/components/ui/Carousel/Carousel.tsx +2 -9
- package/.next/BUILD_ID +0 -1
- package/.next/build-manifest.json +0 -120
- package/.next/cache/.tsbuildinfo +0 -1
- package/.next/cache/config.json +0 -7
- package/.next/cache/eslint/.cache_1gneedd +0 -1
- package/.next/cache/next-server.js.nft.json +0 -1
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/export-marker.json +0 -1
- package/.next/images-manifest.json +0 -1
- package/.next/next-server.js.nft.json +0 -1
- package/.next/package.json +0 -1
- package/.next/prerender-manifest.json +0 -1
- package/.next/react-loadable-manifest.json +0 -52
- package/.next/required-server-files.json +0 -1
- package/.next/routes-manifest.json +0 -1
- package/.next/server/chunks/104.js +0 -295
- package/.next/server/chunks/120.js +0 -435
- package/.next/server/chunks/123.js +0 -58
- package/.next/server/chunks/143.js +0 -106
- package/.next/server/chunks/154.js +0 -206
- package/.next/server/chunks/183.js +0 -80
- package/.next/server/chunks/247.js +0 -61
- package/.next/server/chunks/254.js +0 -159
- package/.next/server/chunks/256.js +0 -1787
- package/.next/server/chunks/280.js +0 -322
- package/.next/server/chunks/287.js +0 -58
- package/.next/server/chunks/312.js +0 -674
- package/.next/server/chunks/336.js +0 -820
- package/.next/server/chunks/350.js +0 -142
- package/.next/server/chunks/398.js +0 -132
- package/.next/server/chunks/401.js +0 -7241
- package/.next/server/chunks/431.js +0 -7241
- package/.next/server/chunks/502.js +0 -603
- package/.next/server/chunks/554.js +0 -264
- package/.next/server/chunks/557.js +0 -135
- package/.next/server/chunks/576.js +0 -80
- package/.next/server/chunks/597.js +0 -169
- package/.next/server/chunks/608.js +0 -515
- package/.next/server/chunks/664.js +0 -3401
- package/.next/server/chunks/676.js +0 -32
- package/.next/server/chunks/74.js +0 -2598
- package/.next/server/chunks/746.js +0 -249
- package/.next/server/chunks/82.js +0 -371
- package/.next/server/chunks/854.js +0 -72
- package/.next/server/chunks/859.js +0 -959
- package/.next/server/chunks/872.js +0 -358
- package/.next/server/chunks/886.js +0 -120
- package/.next/server/chunks/98.js +0 -124
- package/.next/server/chunks/font-manifest.json +0 -1
- package/.next/server/font-manifest.json +0 -1
- package/.next/server/middleware-build-manifest.js +0 -1
- package/.next/server/middleware-manifest.json +0 -6
- package/.next/server/middleware-react-loadable-manifest.js +0 -1
- package/.next/server/pages/404.js +0 -414
- package/.next/server/pages/404.js.nft.json +0 -1
- package/.next/server/pages/500.js +0 -384
- package/.next/server/pages/500.js.nft.json +0 -1
- package/.next/server/pages/[...slug].js +0 -700
- package/.next/server/pages/[...slug].js.nft.json +0 -1
- package/.next/server/pages/[slug]/p.js +0 -2382
- package/.next/server/pages/[slug]/p.js.nft.json +0 -1
- package/.next/server/pages/_app.js +0 -368
- package/.next/server/pages/_app.js.nft.json +0 -1
- package/.next/server/pages/_document.js +0 -304
- package/.next/server/pages/_document.js.nft.json +0 -1
- package/.next/server/pages/_error.js +0 -164
- package/.next/server/pages/_error.js.nft.json +0 -1
- package/.next/server/pages/account.js +0 -370
- package/.next/server/pages/account.js.nft.json +0 -1
- package/.next/server/pages/api/graphql.js +0 -315
- package/.next/server/pages/api/graphql.js.nft.json +0 -1
- package/.next/server/pages/api/preview.js +0 -118
- package/.next/server/pages/api/preview.js.nft.json +0 -1
- package/.next/server/pages/checkout.js +0 -370
- package/.next/server/pages/checkout.js.nft.json +0 -1
- package/.next/server/pages/en-US/404.html +0 -81
- package/.next/server/pages/en-US/404.json +0 -1
- package/.next/server/pages/en-US/500.html +0 -81
- package/.next/server/pages/en-US/500.json +0 -1
- package/.next/server/pages/en-US/account.html +0 -81
- package/.next/server/pages/en-US/account.json +0 -1
- package/.next/server/pages/en-US/checkout.html +0 -81
- package/.next/server/pages/en-US/checkout.json +0 -1
- package/.next/server/pages/en-US/login.html +0 -81
- package/.next/server/pages/en-US/login.json +0 -1
- package/.next/server/pages/en-US/s.html +0 -81
- package/.next/server/pages/en-US/s.json +0 -1
- package/.next/server/pages/en-US.html +0 -81
- package/.next/server/pages/en-US.json +0 -1
- package/.next/server/pages/index.js +0 -580
- package/.next/server/pages/index.js.nft.json +0 -1
- package/.next/server/pages/login.js +0 -396
- package/.next/server/pages/login.js.nft.json +0 -1
- package/.next/server/pages/s.js +0 -438
- package/.next/server/pages/s.js.nft.json +0 -1
- package/.next/server/pages-manifest.json +0 -16
- package/.next/server/webpack-api-runtime.js +0 -229
- package/.next/server/webpack-runtime.js +0 -229
- package/.next/static/E3svUtP3jVTE--NFE5Ka5/_buildManifest.js +0 -1
- package/.next/static/E3svUtP3jVTE--NFE5Ka5/_ssgManifest.js +0 -1
- package/.next/static/chunks/143.dd8a556e6957baa1.js +0 -1
- package/.next/static/chunks/170.b45293edb4f089c8.js +0 -1
- package/.next/static/chunks/226.b57e10ad9932f88c.js +0 -1
- package/.next/static/chunks/336.84e96cd7aa2412bc.js +0 -1
- package/.next/static/chunks/495.e6b60941cc3e82e4.js +0 -1
- package/.next/static/chunks/533-7ddbc43c0305df0c.js +0 -1
- package/.next/static/chunks/54.1d3e6cb43b5b1626.js +0 -1
- package/.next/static/chunks/597.d0da2018cc312352.js +0 -1
- package/.next/static/chunks/608.59e69b83f35d9c44.js +0 -1
- package/.next/static/chunks/651.7142f31ce1e052b3.js +0 -1
- package/.next/static/chunks/706-abfba2e18f084aed.js +0 -1
- package/.next/static/chunks/741.52f7fb873418346f.js +0 -1
- package/.next/static/chunks/832-5460e7c4690723c9.js +0 -1
- package/.next/static/chunks/861-d1a326525092ab9c.js +0 -1
- package/.next/static/chunks/98.97381d2021f86cd9.js +0 -1
- package/.next/static/chunks/framework-dfd14d7ce6600b03.js +0 -1
- package/.next/static/chunks/main-9746772201fe3ac1.js +0 -1
- package/.next/static/chunks/pages/404-ac22e12eb22b9c50.js +0 -1
- package/.next/static/chunks/pages/500-7b708e8b89389d0e.js +0 -1
- package/.next/static/chunks/pages/[...slug]-53c0858024f06998.js +0 -1
- package/.next/static/chunks/pages/[slug]/p-fdc9d52c82f44e5d.js +0 -1
- package/.next/static/chunks/pages/_app-b601536188b9a919.js +0 -1
- package/.next/static/chunks/pages/_error-a7a0c1d9bfbb4f38.js +0 -1
- package/.next/static/chunks/pages/account-04a0a6c07709c50e.js +0 -1
- package/.next/static/chunks/pages/checkout-2ed6b828bb6ed7e6.js +0 -1
- package/.next/static/chunks/pages/index-dc845df360bc3a28.js +0 -1
- package/.next/static/chunks/pages/login-3bb40d77e6ee120a.js +0 -1
- package/.next/static/chunks/pages/s-8fec20c40a2bd7da.js +0 -1
- package/.next/static/chunks/polyfills-c67a75d1b6f99dc8.js +0 -1
- package/.next/static/chunks/webpack-aff0e2e4ba699b8a.js +0 -1
- package/.next/static/css/025f924b9633ecd3.css +0 -1
- package/.next/static/css/2253644409b99b98.css +0 -1
- package/.next/static/css/364c439adafef5c8.css +0 -1
- package/.next/static/css/4b7b7b64ae6afe67.css +0 -1
- package/.next/static/css/4e0fc649e912b30f.css +0 -1
- package/.next/static/css/501cb58eaa378545.css +0 -1
- package/.next/static/css/587c27bbda64e700.css +0 -1
- package/.next/static/css/5f1b35b69b2ba1f7.css +0 -1
- package/.next/static/css/7a8417de90d11c60.css +0 -1
- package/.next/static/css/7df2581c69fe96b4.css +0 -1
- package/.next/static/media/brandless-neutral.76ddf63a.png +0 -0
- package/.next/trace +0 -66
- package/public/~partytown/debug/partytown-atomics.js +0 -556
- package/public/~partytown/debug/partytown-media.js +0 -374
- package/public/~partytown/debug/partytown-sandbox-sw.js +0 -543
- package/public/~partytown/debug/partytown-sw.js +0 -59
- package/public/~partytown/debug/partytown-ww-atomics.js +0 -1789
- package/public/~partytown/debug/partytown-ww-sw.js +0 -1781
- package/public/~partytown/debug/partytown.js +0 -72
- package/public/~partytown/partytown-atomics.js +0 -2
- package/public/~partytown/partytown-media.js +0 -2
- package/public/~partytown/partytown-sw.js +0 -2
- package/public/~partytown/partytown.js +0 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -14,48 +14,36 @@ info - Using external babel configuration from /home/runner/work/faststore/fast
|
|
|
14
14
|
info - Compiled successfully
|
|
15
15
|
info - Collecting page data...
|
|
16
16
|
info - Generating static pages (0/7)
|
|
17
|
-
warn - Children not found. Add a new component for this section or remove it from the CMS
|
|
18
|
-
warn - Children not found. Add a new component for this section or remove it from the CMS
|
|
19
17
|
info - Generating static pages (1/7)
|
|
20
|
-
warn - Children not found. Add a new component for this section or remove it from the CMS
|
|
21
|
-
warn - Children not found. Add a new component for this section or remove it from the CMS
|
|
22
|
-
warn - Children not found. Add a new component for this section or remove it from the CMS
|
|
23
|
-
warn - Children not found. Add a new component for this section or remove it from the CMS
|
|
24
18
|
info - Generating static pages (3/7)
|
|
25
|
-
warn - Children not found. Add a new component for this section or remove it from the CMS
|
|
26
|
-
warn - Children not found. Add a new component for this section or remove it from the CMS
|
|
27
19
|
warn - CallToAction not found. Add a new component for this section or remove it from the CMS
|
|
28
20
|
warn - CallToAction not found. Add a new component for this section or remove it from the CMS
|
|
29
21
|
warn - CallToAction not found. Add a new component for this section or remove it from the CMS
|
|
30
|
-
warn - Children not found. Add a new component for this section or remove it from the CMS
|
|
31
|
-
warn - Children not found. Add a new component for this section or remove it from the CMS
|
|
32
22
|
info - Generating static pages (5/7)
|
|
33
|
-
warn - Children not found. Add a new component for this section or remove it from the CMS
|
|
34
|
-
warn - Children not found. Add a new component for this section or remove it from the CMS
|
|
35
23
|
info - Generating static pages (7/7)
|
|
36
24
|
info - Finalizing page optimization...
|
|
37
25
|
|
|
38
26
|
Route (pages) Size First Load JS
|
|
39
|
-
┌ ● / 2.85 kB
|
|
27
|
+
┌ ● / 2.85 kB 126 kB
|
|
40
28
|
├ └ css/7a8417de90d11c60.css 7.06 kB
|
|
41
|
-
├ /_app 0 B 77.
|
|
42
|
-
├ ● /[...slug]
|
|
43
|
-
├ └ css/
|
|
44
|
-
├ ● /[slug]/p 11.2 kB
|
|
29
|
+
├ /_app 0 B 77.9 kB
|
|
30
|
+
├ ● /[...slug] 7.74 kB 133 kB
|
|
31
|
+
├ └ css/326e215d7b09f642.css 7.72 kB
|
|
32
|
+
├ ● /[slug]/p 11.2 kB 135 kB
|
|
45
33
|
├ └ css/4b7b7b64ae6afe67.css 9.14 kB
|
|
46
34
|
├ ○ /404 951 B 110 kB
|
|
47
35
|
├ ● /500 718 B 110 kB
|
|
48
36
|
├ ● /account 669 B 110 kB
|
|
49
|
-
├ λ /api/graphql 0 B 77.
|
|
50
|
-
├ λ /api/preview 0 B 77.
|
|
37
|
+
├ λ /api/graphql 0 B 77.9 kB
|
|
38
|
+
├ λ /api/preview 0 B 77.9 kB
|
|
51
39
|
├ ● /checkout 657 B 110 kB
|
|
52
40
|
├ ● /login 868 B 110 kB
|
|
53
41
|
└ ● /s 961 B 121 kB
|
|
54
|
-
+ First Load JS shared by all 80.
|
|
42
|
+
+ First Load JS shared by all 80.7 kB
|
|
55
43
|
├ chunks/framework-dfd14d7ce6600b03.js 45.3 kB
|
|
56
44
|
├ chunks/main-9746772201fe3ac1.js 23.9 kB
|
|
57
45
|
├ chunks/pages/_app-b601536188b9a919.js 6.43 kB
|
|
58
|
-
├ chunks/webpack-
|
|
46
|
+
├ chunks/webpack-02fe78a6d63f52e6.js 2.25 kB
|
|
59
47
|
└ css/587c27bbda64e700.css 2.8 kB
|
|
60
48
|
|
|
61
49
|
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.0.129-alpha.0](https://github.com/vtex/faststore/compare/v2.0.128-alpha.0...v2.0.129-alpha.0) (2023-05-04)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- Update content-type to globalSections ([#1744](https://github.com/vtex/faststore/issues/1744)) ([f6c5d1d](https://github.com/vtex/faststore/commit/f6c5d1df2ea093b7c1d371b91e3e828bdc7243f6))
|
|
11
|
+
|
|
12
|
+
## [2.0.128-alpha.0](https://github.com/vtex/faststore/compare/v2.0.127-alpha.0...v2.0.128-alpha.0) (2023-05-04)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- Adds `Carousel` Component 782 ([#1735](https://github.com/vtex/faststore/issues/1735)) ([a4d5156](https://github.com/vtex/faststore/commit/a4d5156404f47ce22fe2f9b5141b446f987bccbc))
|
|
17
|
+
|
|
6
18
|
## [2.0.125-alpha.0](https://github.com/vtex/faststore/compare/v2.0.124-alpha.0...v2.0.125-alpha.0) (2023-05-03)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @faststore/core
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.129-alpha.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"browserslist": "supports es6-module and not dead",
|
|
6
6
|
"scripts": {
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"@envelop/parser-cache": "^2.2.0",
|
|
31
31
|
"@envelop/validation-cache": "^2.2.0",
|
|
32
32
|
"@faststore/api": "^2.0.118-alpha.0",
|
|
33
|
-
"@faststore/components": "^2.0.
|
|
33
|
+
"@faststore/components": "^2.0.128-alpha.0",
|
|
34
34
|
"@faststore/graphql-utils": "^2.0.3-alpha.0",
|
|
35
35
|
"@faststore/sdk": "^2.0.118-alpha.0",
|
|
36
|
-
"@faststore/ui": "^2.0.
|
|
36
|
+
"@faststore/ui": "^2.0.128-alpha.0",
|
|
37
37
|
"@types/react": "^18.0.14",
|
|
38
38
|
"@vtex/client-cms": "^0.2.12",
|
|
39
39
|
"autoprefixer": "^10.4.0",
|
|
@@ -108,5 +108,5 @@
|
|
|
108
108
|
"msw": {
|
|
109
109
|
"workerDirectory": "public"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "a169adddff8684854585cc6fcad7733a896d464a"
|
|
112
112
|
}
|
|
@@ -12,8 +12,7 @@ import Navbar from 'src/components/navigation/Navbar'
|
|
|
12
12
|
import Alert from 'src/components/sections/Alert/Alert'
|
|
13
13
|
import RenderSections from './RenderSections'
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
export const GLOBAL_SECTIONS_CONTENT_TYPE = 'globalAlert'
|
|
15
|
+
export const GLOBAL_SECTIONS_CONTENT_TYPE = 'globalSections'
|
|
17
16
|
|
|
18
17
|
export type GlobalSectionsData = {
|
|
19
18
|
sections: Section[]
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { useEffect, useRef } from 'react'
|
|
2
2
|
import { useInView } from 'react-intersection-observer'
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
ProductShelfItem,
|
|
6
|
-
ProductShelfItems,
|
|
7
|
-
ProductShelf as UIProductShelf,
|
|
8
|
-
} from '@faststore/ui'
|
|
4
|
+
import { ProductShelf as UIProductShelf } from '@faststore/ui'
|
|
9
5
|
|
|
10
6
|
import type { ProductsQueryQueryVariables } from '@generated/graphql'
|
|
11
7
|
import ProductShelfSkeleton from 'src/components/skeletons/ProductShelfSkeleton'
|
|
@@ -15,6 +11,7 @@ import { useProductsQuery } from 'src/sdk/product/useProductsQuery'
|
|
|
15
11
|
import { Components } from './Overrides'
|
|
16
12
|
const { ProductCard } = Components
|
|
17
13
|
import Section from '../Section'
|
|
14
|
+
import Carousel from '../../ui/Carousel'
|
|
18
15
|
|
|
19
16
|
import styles from './section.module.scss'
|
|
20
17
|
|
|
@@ -66,17 +63,17 @@ function ProductShelf({
|
|
|
66
63
|
loading={products === undefined}
|
|
67
64
|
>
|
|
68
65
|
<UIProductShelf>
|
|
69
|
-
<
|
|
66
|
+
<Carousel>
|
|
70
67
|
{productEdges.map((product, idx) => (
|
|
71
|
-
<
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
68
|
+
<ProductCard
|
|
69
|
+
bordered
|
|
70
|
+
key={`${product.node.id}`}
|
|
71
|
+
product={product.node}
|
|
72
|
+
index={idx + 1}
|
|
73
|
+
aspectRatio={aspectRatio}
|
|
74
|
+
/>
|
|
78
75
|
))}
|
|
79
|
-
</
|
|
76
|
+
</Carousel>
|
|
80
77
|
</UIProductShelf>
|
|
81
78
|
</ProductShelfSkeleton>
|
|
82
79
|
</Section>
|
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
@import "@faststore/ui/src/styles/base/utilities.scss";
|
|
3
3
|
|
|
4
4
|
.section {
|
|
5
|
+
[data-fs-product-shelf-skeleton] {
|
|
6
|
+
--fs-carousel-item-width-tablet : 14.2rem;
|
|
7
|
+
--fs-carousel-item-margin-right : var(--fs-spacing-3);
|
|
8
|
+
|
|
9
|
+
padding-bottom: var(--fs-spacing-5);
|
|
10
|
+
|
|
11
|
+
@include media("<tablet") {
|
|
12
|
+
[data-fs-product-shelf-item] {
|
|
13
|
+
&:not(:last-of-type) {
|
|
14
|
+
margin-right: var(--fs-carousel-item-margin-right);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[data-fs-product-card-skeleton] {
|
|
19
|
+
width: var(--fs-carousel-item-width-tablet);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
5
24
|
@import "@faststore/ui/src/components/atoms/Badge/styles";
|
|
6
25
|
@import "@faststore/ui/src/components/atoms/Button/styles";
|
|
7
26
|
@import "@faststore/ui/src/components/atoms/Icon/styles";
|
|
@@ -9,6 +28,7 @@
|
|
|
9
28
|
@import "@faststore/ui/src/components/atoms/Price/styles";
|
|
10
29
|
@import "@faststore/ui/src/components/atoms/SROnly/styles";
|
|
11
30
|
@import "@faststore/ui/src/components/atoms/Skeleton/styles";
|
|
31
|
+
@import "@faststore/ui/src/components/molecules/Carousel/styles";
|
|
12
32
|
@import "@faststore/ui/src/components/molecules/DiscountBadge/styles";
|
|
13
33
|
@import "@faststore/ui/src/components/molecules/Rating/styles";
|
|
14
34
|
@import "@faststore/ui/src/components/molecules/ProductCard/styles";
|
|
@@ -21,11 +21,11 @@ function ProductShelfSkeleton({
|
|
|
21
21
|
loading = true,
|
|
22
22
|
}: PropsWithChildren<Props>) {
|
|
23
23
|
return loading ? (
|
|
24
|
-
<UIProductShelf>
|
|
24
|
+
<UIProductShelf data-fs-product-shelf-skeleton>
|
|
25
25
|
<ProductShelfItems className="layout__content">
|
|
26
26
|
{Array.from({ length: ITEMS_PER_SECTION }, (_, index) => (
|
|
27
27
|
<ProductShelfItem key={String(index)}>
|
|
28
|
-
<ProductCardSkeleton aspectRatio={aspectRatio} sectioned />
|
|
28
|
+
<ProductCardSkeleton aspectRatio={aspectRatio} sectioned bordered />
|
|
29
29
|
</ProductShelfItem>
|
|
30
30
|
))}
|
|
31
31
|
</ProductShelfItems>
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import type { CarouselProps as UICarouselProps } from '@faststore/ui'
|
|
2
|
-
import { Carousel as UICarousel, Icon } from '@faststore/ui'
|
|
3
1
|
import type { PropsWithChildren } from 'react'
|
|
4
|
-
|
|
5
|
-
import
|
|
2
|
+
import { Carousel as UICarousel } from '@faststore/ui'
|
|
3
|
+
import type { CarouselProps as UICarouselProps } from '@faststore/ui'
|
|
6
4
|
|
|
7
5
|
export type CarouselProps = {
|
|
8
6
|
id?: string
|
|
@@ -24,12 +22,7 @@ function Carousel({
|
|
|
24
22
|
testId={testId}
|
|
25
23
|
variant="scroll"
|
|
26
24
|
infiniteMode={false}
|
|
27
|
-
className={styles.fsCarousel}
|
|
28
25
|
itemsPerPage={isMobile ? 1 : itemsPerPage}
|
|
29
|
-
navigationIcons={{
|
|
30
|
-
left: <Icon width={20} height={20} weight="bold" name="ArrowLeft" />,
|
|
31
|
-
right: <Icon width={20} height={20} weight="bold" name="ArrowRight" />,
|
|
32
|
-
}}
|
|
33
26
|
>
|
|
34
27
|
{children}
|
|
35
28
|
</UICarousel>
|
package/.next/BUILD_ID
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
E3svUtP3jVTE--NFE5Ka5
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"polyfillFiles": [
|
|
3
|
-
"static/chunks/polyfills-c67a75d1b6f99dc8.js"
|
|
4
|
-
],
|
|
5
|
-
"devFiles": [],
|
|
6
|
-
"ampDevFiles": [],
|
|
7
|
-
"lowPriorityFiles": [
|
|
8
|
-
"static/E3svUtP3jVTE--NFE5Ka5/_buildManifest.js",
|
|
9
|
-
"static/E3svUtP3jVTE--NFE5Ka5/_ssgManifest.js"
|
|
10
|
-
],
|
|
11
|
-
"rootMainFiles": [],
|
|
12
|
-
"pages": {
|
|
13
|
-
"/": [
|
|
14
|
-
"static/chunks/webpack-aff0e2e4ba699b8a.js",
|
|
15
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
16
|
-
"static/chunks/main-9746772201fe3ac1.js",
|
|
17
|
-
"static/chunks/861-d1a326525092ab9c.js",
|
|
18
|
-
"static/css/364c439adafef5c8.css",
|
|
19
|
-
"static/chunks/832-5460e7c4690723c9.js",
|
|
20
|
-
"static/css/7df2581c69fe96b4.css",
|
|
21
|
-
"static/chunks/533-7ddbc43c0305df0c.js",
|
|
22
|
-
"static/css/7a8417de90d11c60.css",
|
|
23
|
-
"static/chunks/pages/index-dc845df360bc3a28.js"
|
|
24
|
-
],
|
|
25
|
-
"/404": [
|
|
26
|
-
"static/chunks/webpack-aff0e2e4ba699b8a.js",
|
|
27
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
28
|
-
"static/chunks/main-9746772201fe3ac1.js",
|
|
29
|
-
"static/chunks/861-d1a326525092ab9c.js",
|
|
30
|
-
"static/css/364c439adafef5c8.css",
|
|
31
|
-
"static/chunks/832-5460e7c4690723c9.js",
|
|
32
|
-
"static/chunks/pages/404-ac22e12eb22b9c50.js"
|
|
33
|
-
],
|
|
34
|
-
"/500": [
|
|
35
|
-
"static/chunks/webpack-aff0e2e4ba699b8a.js",
|
|
36
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
37
|
-
"static/chunks/main-9746772201fe3ac1.js",
|
|
38
|
-
"static/chunks/861-d1a326525092ab9c.js",
|
|
39
|
-
"static/css/364c439adafef5c8.css",
|
|
40
|
-
"static/chunks/832-5460e7c4690723c9.js",
|
|
41
|
-
"static/chunks/pages/500-7b708e8b89389d0e.js"
|
|
42
|
-
],
|
|
43
|
-
"/[...slug]": [
|
|
44
|
-
"static/chunks/webpack-aff0e2e4ba699b8a.js",
|
|
45
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
46
|
-
"static/chunks/main-9746772201fe3ac1.js",
|
|
47
|
-
"static/chunks/861-d1a326525092ab9c.js",
|
|
48
|
-
"static/css/364c439adafef5c8.css",
|
|
49
|
-
"static/chunks/832-5460e7c4690723c9.js",
|
|
50
|
-
"static/css/2253644409b99b98.css",
|
|
51
|
-
"static/chunks/706-abfba2e18f084aed.js",
|
|
52
|
-
"static/css/4e0fc649e912b30f.css",
|
|
53
|
-
"static/chunks/pages/[...slug]-53c0858024f06998.js"
|
|
54
|
-
],
|
|
55
|
-
"/[slug]/p": [
|
|
56
|
-
"static/chunks/webpack-aff0e2e4ba699b8a.js",
|
|
57
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
58
|
-
"static/chunks/main-9746772201fe3ac1.js",
|
|
59
|
-
"static/chunks/861-d1a326525092ab9c.js",
|
|
60
|
-
"static/css/364c439adafef5c8.css",
|
|
61
|
-
"static/chunks/832-5460e7c4690723c9.js",
|
|
62
|
-
"static/css/7df2581c69fe96b4.css",
|
|
63
|
-
"static/chunks/533-7ddbc43c0305df0c.js",
|
|
64
|
-
"static/css/4b7b7b64ae6afe67.css",
|
|
65
|
-
"static/chunks/pages/[slug]/p-fdc9d52c82f44e5d.js"
|
|
66
|
-
],
|
|
67
|
-
"/_app": [
|
|
68
|
-
"static/chunks/webpack-aff0e2e4ba699b8a.js",
|
|
69
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
70
|
-
"static/chunks/main-9746772201fe3ac1.js",
|
|
71
|
-
"static/css/587c27bbda64e700.css",
|
|
72
|
-
"static/chunks/pages/_app-b601536188b9a919.js"
|
|
73
|
-
],
|
|
74
|
-
"/_error": [
|
|
75
|
-
"static/chunks/webpack-aff0e2e4ba699b8a.js",
|
|
76
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
77
|
-
"static/chunks/main-9746772201fe3ac1.js",
|
|
78
|
-
"static/chunks/pages/_error-a7a0c1d9bfbb4f38.js"
|
|
79
|
-
],
|
|
80
|
-
"/account": [
|
|
81
|
-
"static/chunks/webpack-aff0e2e4ba699b8a.js",
|
|
82
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
83
|
-
"static/chunks/main-9746772201fe3ac1.js",
|
|
84
|
-
"static/chunks/861-d1a326525092ab9c.js",
|
|
85
|
-
"static/css/364c439adafef5c8.css",
|
|
86
|
-
"static/chunks/832-5460e7c4690723c9.js",
|
|
87
|
-
"static/chunks/pages/account-04a0a6c07709c50e.js"
|
|
88
|
-
],
|
|
89
|
-
"/checkout": [
|
|
90
|
-
"static/chunks/webpack-aff0e2e4ba699b8a.js",
|
|
91
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
92
|
-
"static/chunks/main-9746772201fe3ac1.js",
|
|
93
|
-
"static/chunks/861-d1a326525092ab9c.js",
|
|
94
|
-
"static/css/364c439adafef5c8.css",
|
|
95
|
-
"static/chunks/832-5460e7c4690723c9.js",
|
|
96
|
-
"static/chunks/pages/checkout-2ed6b828bb6ed7e6.js"
|
|
97
|
-
],
|
|
98
|
-
"/login": [
|
|
99
|
-
"static/chunks/webpack-aff0e2e4ba699b8a.js",
|
|
100
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
101
|
-
"static/chunks/main-9746772201fe3ac1.js",
|
|
102
|
-
"static/chunks/861-d1a326525092ab9c.js",
|
|
103
|
-
"static/css/364c439adafef5c8.css",
|
|
104
|
-
"static/chunks/832-5460e7c4690723c9.js",
|
|
105
|
-
"static/chunks/pages/login-3bb40d77e6ee120a.js"
|
|
106
|
-
],
|
|
107
|
-
"/s": [
|
|
108
|
-
"static/chunks/webpack-aff0e2e4ba699b8a.js",
|
|
109
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
110
|
-
"static/chunks/main-9746772201fe3ac1.js",
|
|
111
|
-
"static/chunks/861-d1a326525092ab9c.js",
|
|
112
|
-
"static/css/364c439adafef5c8.css",
|
|
113
|
-
"static/chunks/832-5460e7c4690723c9.js",
|
|
114
|
-
"static/css/2253644409b99b98.css",
|
|
115
|
-
"static/chunks/706-abfba2e18f084aed.js",
|
|
116
|
-
"static/chunks/pages/s-8fec20c40a2bd7da.js"
|
|
117
|
-
]
|
|
118
|
-
},
|
|
119
|
-
"ampFirstPages": []
|
|
120
|
-
}
|