@faststore/core 2.0.98-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.
Files changed (32) hide show
  1. package/.storybook/components/SectionItem.tsx +1 -3
  2. package/.turbo/turbo-build.log +16 -16
  3. package/CHANGELOG.md +6 -0
  4. package/package.json +4 -4
  5. package/public/icons.svg +60 -56
  6. package/src/Layout.tsx +1 -2
  7. package/src/components/cart/CartSidebar/CartSidebar.tsx +6 -8
  8. package/src/components/cart/CartToggle/CartToggle.tsx +5 -2
  9. package/src/components/cart/EmptyCart/EmptyCart.tsx +1 -2
  10. package/src/components/common/Alert/Alert.tsx +1 -2
  11. package/src/components/common/Footer/Footer.tsx +3 -3
  12. package/src/components/common/Footer/FooterFlags.tsx +21 -18
  13. package/src/components/common/Navbar/Navbar.tsx +2 -4
  14. package/src/components/product/OutOfStock/OutOfStock.tsx +2 -3
  15. package/src/components/region/RegionButton/RegionButton.tsx +1 -2
  16. package/src/components/region/RegionModal/RegionalizationModalContent.tsx +1 -1
  17. package/src/components/search/SearchInput/SearchInput.tsx +17 -17
  18. package/src/components/sections/Incentives/Incentives.tsx +1 -3
  19. package/src/components/sections/Newsletter/Newsletter.tsx +1 -2
  20. package/src/components/sections/ProducDetailsContent/ProductDetailsContent.tsx +24 -18
  21. package/src/components/sections/ProductGallery/EmptyGallery.tsx +1 -2
  22. package/src/components/sections/ProductGallery/ProductGallery.tsx +4 -5
  23. package/src/components/sections/ScrollToTopButton/ScrollToTopButton.tsx +1 -3
  24. package/src/components/ui/Breadcrumb/Breadcrumb.tsx +1 -2
  25. package/src/components/ui/Button/ButtonSignIn/ButtonSignIn.tsx +1 -2
  26. package/src/components/ui/Button/ButtonSignIn/ButtonSignInFallback/ButtonSignInFallback.tsx +1 -3
  27. package/src/components/ui/Carousel/Carousel.tsx +2 -4
  28. package/src/components/ui/Gift/Gift.tsx +6 -3
  29. package/src/components/ui/ImageGallery/ImageGallerySelector.tsx +5 -2
  30. package/src/pages/[...slug].tsx +1 -1
  31. package/src/components/ui/Icon/Icon.tsx +0 -35
  32. 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
@@ -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
- ┌ ● / 2.83 kB 127 kB
25
+ ┌ ● / 8.59 kB 117 kB
26
26
  ├ └ css/43d61b402f41569b.css 1.84 kB
27
- ├ /_app 0 B 105 kB
28
- ├ ● /[...slug] 9.98 kB 131 kB
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 11.9 kB 136 kB
30
+ ├ ● /[slug]/p 16.8 kB 125 kB
31
31
  ├ └ css/4899c3cc356704f9.css 2.82 kB
32
- ├ ○ /404 431 B 110 kB
33
- ├ ○ /500 439 B 110 kB
34
- ├ ○ /account 383 B 110 kB
35
- ├ λ /api/graphql 0 B 105 kB
36
- ├ λ /api/preview 0 B 105 kB
37
- ├ ○ /checkout 371 B 110 kB
38
- ├ ○ /login 385 B 110 kB
39
- └ ○ /s 896 B 122 kB
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 127 kB
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-c30dfc55a86c1363.js 33.4 kB
45
- ├ chunks/webpack-f1a1b4bcfa6b66bb.js 2.18 kB
46
- └ css/5f1958d8dece68c7.css 22 kB
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,12 @@
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
+
6
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)
7
13
 
8
14
  ### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "2.0.98-alpha.0",
3
+ "version": "2.0.99-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.97-alpha.0",
33
- "@faststore/components": "^2.0.96-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.95-alpha.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": "cf265c588b39b94d06f9d40be7d94b409c9c9553"
111
+ "gitHead": "66eb3557fc7b19e210fee38eda199d5e1b18b1a3"
112
112
  }