@faststore/core 2.0.97-alpha.0 → 2.0.99-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/.storybook/components/SectionItem.tsx +1 -3
- package/.turbo/turbo-build.log +16 -16
- package/CHANGELOG.md +12 -0
- package/package.json +5 -5
- package/public/icons.svg +60 -56
- package/src/Layout.tsx +1 -2
- package/src/components/cart/CartSidebar/CartSidebar.tsx +6 -8
- package/src/components/cart/CartToggle/CartToggle.tsx +5 -2
- package/src/components/cart/EmptyCart/EmptyCart.tsx +1 -2
- package/src/components/common/Alert/Alert.tsx +1 -2
- package/src/components/common/Footer/Footer.tsx +3 -3
- package/src/components/common/Footer/FooterFlags.tsx +21 -18
- package/src/components/common/Navbar/Navbar.tsx +2 -4
- package/src/components/product/OutOfStock/OutOfStock.tsx +2 -3
- package/src/components/region/RegionButton/RegionButton.tsx +1 -2
- package/src/components/region/RegionModal/RegionalizationModalContent.tsx +1 -1
- package/src/components/search/SearchInput/SearchInput.tsx +17 -17
- package/src/components/sections/Incentives/Incentives.tsx +1 -3
- package/src/components/sections/Newsletter/Newsletter.tsx +1 -2
- package/src/components/sections/ProducDetailsContent/ProductDetailsContent.tsx +24 -18
- package/src/components/sections/ProductGallery/EmptyGallery.tsx +1 -2
- package/src/components/sections/ProductGallery/ProductGallery.tsx +4 -5
- package/src/components/sections/ScrollToTopButton/ScrollToTopButton.tsx +1 -3
- package/src/components/ui/Breadcrumb/Breadcrumb.tsx +1 -2
- package/src/components/ui/Button/ButtonSignIn/ButtonSignIn.tsx +1 -2
- package/src/components/ui/Button/ButtonSignIn/ButtonSignInFallback/ButtonSignInFallback.tsx +1 -3
- package/src/components/ui/Carousel/Carousel.tsx +2 -4
- package/src/components/ui/Gift/Gift.tsx +6 -3
- package/src/components/ui/ImageGallery/ImageGallerySelector.tsx +5 -2
- package/src/pages/[...slug].tsx +1 -1
- package/.next/BUILD_ID +0 -1
- package/.next/build-manifest.json +0 -101
- 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 -44
- package/.next/required-server-files.json +0 -1
- package/.next/routes-manifest.json +0 -1
- package/.next/server/chunks/104.js +0 -196
- package/.next/server/chunks/143.js +0 -106
- package/.next/server/chunks/152.js +0 -216
- package/.next/server/chunks/154.js +0 -206
- package/.next/server/chunks/183.js +0 -72
- package/.next/server/chunks/247.js +0 -61
- package/.next/server/chunks/264.js +0 -67
- package/.next/server/chunks/280.js +0 -417
- package/.next/server/chunks/287.js +0 -79
- package/.next/server/chunks/312.js +0 -684
- package/.next/server/chunks/317.js +0 -125
- package/.next/server/chunks/350.js +0 -120
- package/.next/server/chunks/371.js +0 -1484
- package/.next/server/chunks/377.js +0 -82
- package/.next/server/chunks/394.js +0 -3801
- package/.next/server/chunks/439.js +0 -175
- package/.next/server/chunks/444.js +0 -464
- package/.next/server/chunks/465.js +0 -91
- package/.next/server/chunks/576.js +0 -72
- package/.next/server/chunks/608.js +0 -515
- package/.next/server/chunks/664.js +0 -124
- package/.next/server/chunks/676.js +0 -32
- package/.next/server/chunks/746.js +0 -237
- package/.next/server/chunks/777.js +0 -708
- package/.next/server/chunks/854.js +0 -72
- package/.next/server/chunks/859.js +0 -959
- package/.next/server/chunks/872.js +0 -378
- package/.next/server/chunks/881.js +0 -320
- package/.next/server/chunks/898.js +0 -240
- package/.next/server/chunks/914.js +0 -96
- package/.next/server/chunks/953.js +0 -674
- package/.next/server/chunks/98.js +0 -266
- package/.next/server/chunks/992.js +0 -570
- 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.nft.json +0 -1
- package/.next/server/pages/500.js.nft.json +0 -1
- package/.next/server/pages/[...slug].js +0 -633
- package/.next/server/pages/[...slug].js.nft.json +0 -1
- package/.next/server/pages/[slug]/p.js +0 -2390
- package/.next/server/pages/[slug]/p.js.nft.json +0 -1
- package/.next/server/pages/_app.js +0 -2467
- 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.nft.json +0 -1
- package/.next/server/pages/api/graphql.js +0 -259
- 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.nft.json +0 -1
- package/.next/server/pages/en-US/404.html +0 -81
- package/.next/server/pages/en-US/500.html +0 -81
- package/.next/server/pages/en-US/account.html +0 -81
- package/.next/server/pages/en-US/checkout.html +0 -81
- package/.next/server/pages/en-US/login.html +0 -81
- package/.next/server/pages/en-US/s.html +0 -81
- 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 -428
- package/.next/server/pages/index.js.nft.json +0 -1
- package/.next/server/pages/login.js.nft.json +0 -1
- 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/chunks/143.dd8a556e6957baa1.js +0 -1
- package/.next/static/chunks/152.d44c4f8d83e68e26.js +0 -1
- package/.next/static/chunks/251-5059c71d8e624b60.js +0 -1
- package/.next/static/chunks/291.1b3f1a62d6e853d1.js +0 -1
- package/.next/static/chunks/351-a4e28d64f48c5269.js +0 -1
- package/.next/static/chunks/608.59e69b83f35d9c44.js +0 -1
- package/.next/static/chunks/626-d631f2cb747ef569.js +0 -1
- package/.next/static/chunks/651.7142f31ce1e052b3.js +0 -1
- package/.next/static/chunks/686.41582b9e75eaba89.js +0 -1
- package/.next/static/chunks/741.52f7fb873418346f.js +0 -1
- package/.next/static/chunks/781-7df372b5b56e3f96.js +0 -1
- package/.next/static/chunks/843.f55ad79a8fd4f87c.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-ba608a2a9f0c420a.js +0 -1
- package/.next/static/chunks/pages/500-910883c20541d9ce.js +0 -1
- package/.next/static/chunks/pages/[...slug]-4b2bea89ec5c8fbe.js +0 -1
- package/.next/static/chunks/pages/[slug]/p-912fe4b532f4fdce.js +0 -1
- package/.next/static/chunks/pages/_app-c30dfc55a86c1363.js +0 -1
- package/.next/static/chunks/pages/_error-a7a0c1d9bfbb4f38.js +0 -1
- package/.next/static/chunks/pages/account-b8fc5222ffe89b60.js +0 -1
- package/.next/static/chunks/pages/checkout-f8cb7cb22225ef9d.js +0 -1
- package/.next/static/chunks/pages/index-eabe9d42a172b52b.js +0 -1
- package/.next/static/chunks/pages/login-33954810b200eca8.js +0 -1
- package/.next/static/chunks/pages/s-b49bdf6af37376b6.js +0 -1
- package/.next/static/chunks/polyfills-c67a75d1b6f99dc8.js +0 -1
- package/.next/static/chunks/webpack-f1a1b4bcfa6b66bb.js +0 -1
- package/.next/static/css/10db3bc7ecdf0556.css +0 -1
- package/.next/static/css/43d61b402f41569b.css +0 -1
- package/.next/static/css/4899c3cc356704f9.css +0 -1
- package/.next/static/css/5f1958d8dece68c7.css +0 -1
- package/.next/static/css/6507cb48401e73a4.css +0 -1
- package/.next/static/css/8ea129ea90e49e98.css +0 -1
- package/.next/static/css/b2f16bd4b93e0aca.css +0 -1
- package/.next/static/css/db63ea05e98cb7e8.css +0 -1
- package/.next/static/m9qPYxeN9bMid06fpEhbE/_buildManifest.js +0 -1
- package/.next/static/m9qPYxeN9bMid06fpEhbE/_ssgManifest.js +0 -1
- package/.next/static/media/brandless-neutral.76ddf63a.png +0 -0
- package/.next/trace +0 -64
- 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/src/components/ui/Icon/Icon.tsx +0 -35
- package/src/components/ui/Icon/index.ts +0 -1
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import React, { CSSProperties, PropsWithChildren, ReactNode } from 'react'
|
|
2
2
|
|
|
3
|
-
import { LinkButton } from '@faststore/ui'
|
|
4
|
-
|
|
5
|
-
import Icon from '../../src/components/ui/Icon'
|
|
3
|
+
import { Icon, LinkButton } from '@faststore/ui'
|
|
6
4
|
|
|
7
5
|
type SectionItemProps = {
|
|
8
6
|
title: string
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -22,28 +22,28 @@ info - Generating static pages (13/13)
|
|
|
22
22
|
info - Finalizing page optimization...
|
|
23
23
|
|
|
24
24
|
Route (pages) Size First Load JS
|
|
25
|
-
┌ ● /
|
|
25
|
+
┌ ● / 8.59 kB 117 kB
|
|
26
26
|
├ └ css/43d61b402f41569b.css 1.84 kB
|
|
27
|
-
├ /_app 0 B
|
|
28
|
-
├ ● /[...slug] 9.
|
|
27
|
+
├ /_app 0 B 96.6 kB
|
|
28
|
+
├ ● /[...slug] 9.48 kB 122 kB
|
|
29
29
|
├ └ css/8ea129ea90e49e98.css 1.83 kB
|
|
30
|
-
├ ● /[slug]/p
|
|
30
|
+
├ ● /[slug]/p 16.8 kB 125 kB
|
|
31
31
|
├ └ css/4899c3cc356704f9.css 2.82 kB
|
|
32
|
-
├ ○ /404 431 B
|
|
33
|
-
├ ○ /500 439 B
|
|
34
|
-
├ ○ /account 383 B
|
|
35
|
-
├ λ /api/graphql 0 B
|
|
36
|
-
├ λ /api/preview 0 B
|
|
37
|
-
├ ○ /checkout 371 B
|
|
38
|
-
├ ○ /login 385 B
|
|
39
|
-
└ ○ /s
|
|
32
|
+
├ ○ /404 431 B 102 kB
|
|
33
|
+
├ ○ /500 439 B 102 kB
|
|
34
|
+
├ ○ /account 383 B 102 kB
|
|
35
|
+
├ λ /api/graphql 0 B 96.6 kB
|
|
36
|
+
├ λ /api/preview 0 B 96.6 kB
|
|
37
|
+
├ ○ /checkout 371 B 102 kB
|
|
38
|
+
├ ○ /login 385 B 102 kB
|
|
39
|
+
└ ○ /s 895 B 113 kB
|
|
40
40
|
└ css/db63ea05e98cb7e8.css 1.63 kB
|
|
41
|
-
+ First Load JS shared by all
|
|
41
|
+
+ First Load JS shared by all 119 kB
|
|
42
42
|
├ chunks/framework-dfd14d7ce6600b03.js 45.3 kB
|
|
43
43
|
├ chunks/main-9746772201fe3ac1.js 23.9 kB
|
|
44
|
-
├ chunks/pages/_app-
|
|
45
|
-
├ chunks/webpack-
|
|
46
|
-
└ css/
|
|
44
|
+
├ chunks/pages/_app-d757170e632a6003.js 25.3 kB
|
|
45
|
+
├ chunks/webpack-65b155971f3eac57.js 2.18 kB
|
|
46
|
+
└ css/ea60a7e6c07ee644.css 22 kB
|
|
47
47
|
|
|
48
48
|
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
|
|
49
49
|
○ (Static) automatically rendered as static HTML (uses no initial props)
|
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.99-alpha.0](https://github.com/vtex/faststore/compare/v2.0.98-alpha.0...v2.0.99-alpha.0) (2023-04-04)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- `Icon` with svg sprites ([#1682](https://github.com/vtex/faststore/issues/1682)) ([e199db7](https://github.com/vtex/faststore/commit/e199db7819ce015cc1c986c73a4a937153ddc062))
|
|
11
|
+
|
|
12
|
+
## [2.0.98-alpha.0](https://github.com/vtex/faststore/compare/v2.0.97-alpha.0...v2.0.98-alpha.0) (2023-04-03)
|
|
13
|
+
|
|
14
|
+
### Chores
|
|
15
|
+
|
|
16
|
+
- updates api version in core package ([#1702](https://github.com/vtex/faststore/issues/1702)) ([d2bbfae](https://github.com/vtex/faststore/commit/d2bbfae551417cd6ac525fa2fe8768956254b6ec))
|
|
17
|
+
|
|
6
18
|
## [2.0.97-alpha.0](https://github.com/vtex/faststore/compare/v2.0.96-alpha.0...v2.0.97-alpha.0) (2023-04-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.99-alpha.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"browserslist": "supports es6-module and not dead",
|
|
6
6
|
"scripts": {
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"@envelop/graphql-jit": "^1.1.1",
|
|
30
30
|
"@envelop/parser-cache": "^2.2.0",
|
|
31
31
|
"@envelop/validation-cache": "^2.2.0",
|
|
32
|
-
"@faststore/api": "^2.0.
|
|
33
|
-
"@faststore/components": "^2.0.
|
|
32
|
+
"@faststore/api": "^2.0.97-alpha.0",
|
|
33
|
+
"@faststore/components": "^2.0.99-alpha.0",
|
|
34
34
|
"@faststore/graphql-utils": "^2.0.3-alpha.0",
|
|
35
35
|
"@faststore/sdk": "^2.0.3-alpha.0",
|
|
36
|
-
"@faststore/ui": "^2.0.
|
|
36
|
+
"@faststore/ui": "^2.0.99-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": "66eb3557fc7b19e210fee38eda199d5e1b18b1a3"
|
|
112
112
|
}
|