@faststore/core 2.0.79-alpha.0 → 2.0.81-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 (156) hide show
  1. package/.turbo/turbo-build.log +7 -7
  2. package/CHANGELOG.md +12 -0
  3. package/next.config.js +4 -0
  4. package/package.json +5 -4
  5. package/src/components/search/SearchTop/SearchTop.tsx +27 -30
  6. package/src/components/sections/Hero/Hero.tsx +1 -2
  7. package/src/components/ui/Image/Image.tsx +25 -51
  8. package/src/components/ui/Image/thumborUrlBuilder.ts +3 -1
  9. package/src/components/ui/ImageGallery/ImageGallery.tsx +2 -2
  10. package/src/components/ui/ImageGallery/ImageGallerySelector.tsx +4 -2
  11. package/src/components/ui/ImageGallery/image-gallery-selector.module.scss +2 -2
  12. package/src/styles/global/layout.scss +0 -7
  13. package/.next/BUILD_ID +0 -1
  14. package/.next/build-manifest.json +0 -103
  15. package/.next/cache/.tsbuildinfo +0 -1
  16. package/.next/cache/config.json +0 -7
  17. package/.next/cache/eslint/.cache_1gneedd +0 -1
  18. package/.next/cache/next-server.js.nft.json +0 -1
  19. package/.next/cache/webpack/client-production/0.pack +0 -0
  20. package/.next/cache/webpack/client-production/index.pack +0 -0
  21. package/.next/cache/webpack/server-production/0.pack +0 -0
  22. package/.next/cache/webpack/server-production/index.pack +0 -0
  23. package/.next/export-marker.json +0 -1
  24. package/.next/images-manifest.json +0 -1
  25. package/.next/next-server.js.nft.json +0 -1
  26. package/.next/package.json +0 -1
  27. package/.next/prerender-manifest.json +0 -1
  28. package/.next/react-loadable-manifest.json +0 -49
  29. package/.next/required-server-files.json +0 -1
  30. package/.next/routes-manifest.json +0 -1
  31. package/.next/server/chunks/104.js +0 -196
  32. package/.next/server/chunks/143.js +0 -106
  33. package/.next/server/chunks/154.js +0 -201
  34. package/.next/server/chunks/183.js +0 -72
  35. package/.next/server/chunks/247.js +0 -61
  36. package/.next/server/chunks/264.js +0 -67
  37. package/.next/server/chunks/280.js +0 -417
  38. package/.next/server/chunks/287.js +0 -79
  39. package/.next/server/chunks/307.js +0 -109
  40. package/.next/server/chunks/312.js +0 -714
  41. package/.next/server/chunks/317.js +0 -126
  42. package/.next/server/chunks/350.js +0 -120
  43. package/.next/server/chunks/371.js +0 -1467
  44. package/.next/server/chunks/377.js +0 -82
  45. package/.next/server/chunks/394.js +0 -3801
  46. package/.next/server/chunks/439.js +0 -175
  47. package/.next/server/chunks/444.js +0 -464
  48. package/.next/server/chunks/465.js +0 -91
  49. package/.next/server/chunks/576.js +0 -72
  50. package/.next/server/chunks/650.js +0 -216
  51. package/.next/server/chunks/664.js +0 -124
  52. package/.next/server/chunks/676.js +0 -32
  53. package/.next/server/chunks/732.js +0 -51
  54. package/.next/server/chunks/746.js +0 -237
  55. package/.next/server/chunks/849.js +0 -664
  56. package/.next/server/chunks/854.js +0 -72
  57. package/.next/server/chunks/859.js +0 -959
  58. package/.next/server/chunks/872.js +0 -378
  59. package/.next/server/chunks/881.js +0 -320
  60. package/.next/server/chunks/898.js +0 -240
  61. package/.next/server/chunks/914.js +0 -96
  62. package/.next/server/chunks/953.js +0 -674
  63. package/.next/server/chunks/98.js +0 -266
  64. package/.next/server/chunks/992.js +0 -562
  65. package/.next/server/chunks/font-manifest.json +0 -1
  66. package/.next/server/font-manifest.json +0 -1
  67. package/.next/server/middleware-build-manifest.js +0 -1
  68. package/.next/server/middleware-manifest.json +0 -6
  69. package/.next/server/middleware-react-loadable-manifest.js +0 -1
  70. package/.next/server/pages/404.js.nft.json +0 -1
  71. package/.next/server/pages/500.js.nft.json +0 -1
  72. package/.next/server/pages/[...slug].js +0 -609
  73. package/.next/server/pages/[...slug].js.nft.json +0 -1
  74. package/.next/server/pages/[slug]/p.js +0 -2560
  75. package/.next/server/pages/[slug]/p.js.nft.json +0 -1
  76. package/.next/server/pages/_app.js +0 -2058
  77. package/.next/server/pages/_app.js.nft.json +0 -1
  78. package/.next/server/pages/_document.js +0 -304
  79. package/.next/server/pages/_document.js.nft.json +0 -1
  80. package/.next/server/pages/_error.js +0 -164
  81. package/.next/server/pages/_error.js.nft.json +0 -1
  82. package/.next/server/pages/account.js.nft.json +0 -1
  83. package/.next/server/pages/api/graphql.js +0 -259
  84. package/.next/server/pages/api/graphql.js.nft.json +0 -1
  85. package/.next/server/pages/api/preview.js +0 -118
  86. package/.next/server/pages/api/preview.js.nft.json +0 -1
  87. package/.next/server/pages/checkout.js.nft.json +0 -1
  88. package/.next/server/pages/en-US/404.html +0 -81
  89. package/.next/server/pages/en-US/500.html +0 -81
  90. package/.next/server/pages/en-US/account.html +0 -81
  91. package/.next/server/pages/en-US/checkout.html +0 -81
  92. package/.next/server/pages/en-US/login.html +0 -81
  93. package/.next/server/pages/en-US/s.html +0 -81
  94. package/.next/server/pages/en-US.html +0 -81
  95. package/.next/server/pages/en-US.json +0 -1
  96. package/.next/server/pages/index.js +0 -407
  97. package/.next/server/pages/index.js.nft.json +0 -1
  98. package/.next/server/pages/login.js.nft.json +0 -1
  99. package/.next/server/pages/s.js.nft.json +0 -1
  100. package/.next/server/pages-manifest.json +0 -16
  101. package/.next/server/webpack-api-runtime.js +0 -229
  102. package/.next/server/webpack-runtime.js +0 -229
  103. package/.next/static/chunks/143.dd8a556e6957baa1.js +0 -1
  104. package/.next/static/chunks/153-a20e3f2da180607e.js +0 -1
  105. package/.next/static/chunks/260-994385416f68673d.js +0 -1
  106. package/.next/static/chunks/307.10facde65af3066a.js +0 -1
  107. package/.next/static/chunks/337-4b719ca7a86d8d8c.js +0 -1
  108. package/.next/static/chunks/351-a4e28d64f48c5269.js +0 -1
  109. package/.next/static/chunks/588.591fb3bf1a136c66.js +0 -1
  110. package/.next/static/chunks/650.807852d1c36bfe44.js +0 -1
  111. package/.next/static/chunks/651.7142f31ce1e052b3.js +0 -1
  112. package/.next/static/chunks/686.36adeba271636edd.js +0 -1
  113. package/.next/static/chunks/741.52f7fb873418346f.js +0 -1
  114. package/.next/static/chunks/817-728f854c2948afc0.js +0 -1
  115. package/.next/static/chunks/909.ea3532bde0943808.js +0 -1
  116. package/.next/static/chunks/953.7a6f29b1fc85a9d9.js +0 -1
  117. package/.next/static/chunks/98.97381d2021f86cd9.js +0 -1
  118. package/.next/static/chunks/framework-dfd14d7ce6600b03.js +0 -1
  119. package/.next/static/chunks/main-9746772201fe3ac1.js +0 -1
  120. package/.next/static/chunks/pages/404-ba608a2a9f0c420a.js +0 -1
  121. package/.next/static/chunks/pages/500-910883c20541d9ce.js +0 -1
  122. package/.next/static/chunks/pages/[...slug]-9443b18a60d89746.js +0 -1
  123. package/.next/static/chunks/pages/[slug]/p-cb8ef12f6449cf26.js +0 -1
  124. package/.next/static/chunks/pages/_app-9cc7312632f19e94.js +0 -1
  125. package/.next/static/chunks/pages/_error-a7a0c1d9bfbb4f38.js +0 -1
  126. package/.next/static/chunks/pages/account-f19102933e6fd84c.js +0 -1
  127. package/.next/static/chunks/pages/checkout-f8cb7cb22225ef9d.js +0 -1
  128. package/.next/static/chunks/pages/index-6717326cc207d674.js +0 -1
  129. package/.next/static/chunks/pages/login-0b9ea80d9fa0f91b.js +0 -1
  130. package/.next/static/chunks/pages/s-86fe1e3303388123.js +0 -1
  131. package/.next/static/chunks/polyfills-c67a75d1b6f99dc8.js +0 -1
  132. package/.next/static/chunks/webpack-05ab596ed7d0c840.js +0 -1
  133. package/.next/static/css/14ebc84fc6d6c80c.css +0 -1
  134. package/.next/static/css/430b8cafbf7c23c1.css +0 -1
  135. package/.next/static/css/43d61b402f41569b.css +0 -1
  136. package/.next/static/css/4d7e7f156483493d.css +0 -1
  137. package/.next/static/css/6507cb48401e73a4.css +0 -1
  138. package/.next/static/css/9dd1d1084d254c66.css +0 -1
  139. package/.next/static/css/b2f16bd4b93e0aca.css +0 -1
  140. package/.next/static/css/bd743407c8049677.css +0 -1
  141. package/.next/static/css/e63697a078fd522e.css +0 -1
  142. package/.next/static/media/brandless-neutral.76ddf63a.png +0 -0
  143. package/.next/static/u0qG5OTkkoWzNxl1FnZ39/_buildManifest.js +0 -1
  144. package/.next/static/u0qG5OTkkoWzNxl1FnZ39/_ssgManifest.js +0 -1
  145. package/.next/trace +0 -64
  146. package/public/~partytown/debug/partytown-atomics.js +0 -556
  147. package/public/~partytown/debug/partytown-media.js +0 -374
  148. package/public/~partytown/debug/partytown-sandbox-sw.js +0 -543
  149. package/public/~partytown/debug/partytown-sw.js +0 -59
  150. package/public/~partytown/debug/partytown-ww-atomics.js +0 -1789
  151. package/public/~partytown/debug/partytown-ww-sw.js +0 -1781
  152. package/public/~partytown/debug/partytown.js +0 -72
  153. package/public/~partytown/partytown-atomics.js +0 -2
  154. package/public/~partytown/partytown-media.js +0 -2
  155. package/public/~partytown/partytown-sw.js +0 -2
  156. package/public/~partytown/partytown.js +0 -2
@@ -21,13 +21,13 @@ info - Generating static pages (13/13)
21
21
  info - Finalizing page optimization...
22
22
 
23
23
  Route (pages) Size First Load JS
24
- ┌ ● / 2.85 kB 124 kB
24
+ ┌ ● / 2.83 kB 127 kB
25
25
  ├ └ css/43d61b402f41569b.css 1.84 kB
26
26
  ├ /_app 0 B 100 kB
27
- ├ ● /[...slug] 6.86 kB 128 kB
27
+ ├ ● /[...slug] 6.82 kB 131 kB
28
28
  ├ └ css/430b8cafbf7c23c1.css 2.53 kB
29
- ├ ● /[slug]/p 11.7 kB 133 kB
30
- ├ └ css/e63697a078fd522e.css 3.87 kB
29
+ ├ ● /[slug]/p 11.7 kB 135 kB
30
+ ├ └ css/9e7c9877b9f78c63.css 3.87 kB
31
31
  ├ ○ /404 431 B 106 kB
32
32
  ├ ○ /500 439 B 106 kB
33
33
  ├ ○ /account 369 B 106 kB
@@ -40,9 +40,9 @@ Route (pages) Size First Load JS
40
40
  + First Load JS shared by all 120 kB
41
41
  ├ chunks/framework-dfd14d7ce6600b03.js 45.3 kB
42
42
  ├ chunks/main-9746772201fe3ac1.js 23.9 kB
43
- ├ chunks/pages/_app-9cc7312632f19e94.js 28.9 kB
44
- ├ chunks/webpack-05ab596ed7d0c840.js 2.22 kB
45
- └ css/14ebc84fc6d6c80c.css 19.9 kB
43
+ ├ chunks/pages/_app-81a4a14c7f15c641.js 28.9 kB
44
+ ├ chunks/webpack-1352532ac51c6a2d.js 2.23 kB
45
+ └ css/9e8d9784094a047f.css 19.9 kB
46
46
 
47
47
  λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
48
48
  ○ (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.81-alpha.0](https://github.com/vtex/faststore/compare/v2.0.80-alpha.0...v2.0.81-alpha.0) (2023-03-16)
7
+
8
+ ### Features
9
+
10
+ - Image using next/future/image + new Thumbor URL ([#1661](https://github.com/vtex/faststore/issues/1661)) ([8b9a33b](https://github.com/vtex/faststore/commit/8b9a33bf2ce1d671498785a9a35db881c40fcf8e))
11
+
12
+ ## [2.0.80-alpha.0](https://github.com/vtex/faststore/compare/v2.0.79-alpha.0...v2.0.80-alpha.0) (2023-03-15)
13
+
14
+ ### Bug Fixes
15
+
16
+ - forwardRef errors ([#1671](https://github.com/vtex/faststore/issues/1671)) ([945c5da](https://github.com/vtex/faststore/commit/945c5dabf21b7ee87c1e9197a1115b9b1eafb9c0))
17
+
6
18
  ## 2.0.79-alpha.0 (2023-03-15)
7
19
 
8
20
  ### Bug Fixes
package/next.config.js CHANGED
@@ -1,10 +1,14 @@
1
1
  // @ts-check
2
+ const storeConfig = require('./faststore.config')
2
3
 
3
4
  /**
4
5
  * @type {import('next').NextConfig}
5
6
  * */
6
7
  const nextConfig = {
7
8
  /* config options here */
9
+ images: {
10
+ domains: [`${storeConfig.api.storeId}.vtexassets.com`],
11
+ },
8
12
  i18n: {
9
13
  locales: ['en-US'],
10
14
  defaultLocale: 'en-US',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "2.0.79-alpha.0",
3
+ "version": "2.0.81-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.3-alpha.0",
33
- "@faststore/components": "^2.0.79-alpha.0",
33
+ "@faststore/components": "^2.0.80-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.79-alpha.0",
36
+ "@faststore/ui": "^2.0.81-alpha.0",
37
37
  "@types/react": "^18.0.14",
38
38
  "@vtex/client-cms": "^0.2.12",
39
39
  "autoprefixer": "^10.4.0",
@@ -51,6 +51,7 @@
51
51
  "react-intersection-observer": "^8.32.5",
52
52
  "sass": "^1.44.0",
53
53
  "sass-loader": "^12.6.0",
54
+ "sharp": "^0.31.3",
54
55
  "style-loader": "^3.3.1",
55
56
  "swr": "^1.3.0",
56
57
  "tsconfig-paths-webpack-plugin": "^3.5.2",
@@ -107,5 +108,5 @@
107
108
  "msw": {
108
109
  "workerDirectory": "public"
109
110
  },
110
- "gitHead": "ff8afd730d749b228243cc8b457211c6d9d7c776"
111
+ "gitHead": "ee2d29df5f4f3e0ca97cc16e86f5ca5182a7be5e"
111
112
  }
@@ -2,12 +2,11 @@ import {
2
2
  SearchTop as UISearchTop,
3
3
  SearchTopTerm as UISearchTopTerm,
4
4
  } from '@faststore/ui'
5
- import { forwardRef } from 'react'
6
5
  import type { HTMLAttributes } from 'react'
7
6
 
7
+ import type { StoreSuggestionTerm } from '@generated/graphql'
8
8
  import useSearchInput, { formatSearchPath } from 'src/sdk/search/useSearchInput'
9
9
  import useTopSearch from 'src/sdk/search/useTopSearch'
10
- import type { StoreSuggestionTerm } from '@generated/graphql'
11
10
 
12
11
  export interface SearchTopProps extends HTMLAttributes<HTMLDivElement> {
13
12
  /**
@@ -16,35 +15,33 @@ export interface SearchTopProps extends HTMLAttributes<HTMLDivElement> {
16
15
  topTerms?: StoreSuggestionTerm[]
17
16
  }
18
17
 
19
- const SearchTop = forwardRef<HTMLDivElement, SearchTopProps>(
20
- function SearchTop({ topTerms, ...otherProps }) {
21
- const { onSearchInputSelection } = useSearchInput()
22
- const { terms, isLoading } = useTopSearch(topTerms)
23
-
24
- if (terms.length === 0) {
25
- return null
26
- }
18
+ function SearchTop({ topTerms, ...otherProps }: SearchTopProps) {
19
+ const { onSearchInputSelection } = useSearchInput()
20
+ const { terms, isLoading } = useTopSearch(topTerms)
27
21
 
28
- return (
29
- <UISearchTop title="Top Search" isLoading={isLoading} {...otherProps}>
30
- {terms.map((term, index) => (
31
- <UISearchTopTerm
32
- key={index}
33
- value={term.value}
34
- index={index}
35
- linkProps={{
36
- href: formatSearchPath(term.value),
37
- onClick: () =>
38
- onSearchInputSelection?.(
39
- term.value,
40
- formatSearchPath(term.value)
41
- ),
42
- }}
43
- />
44
- ))}
45
- </UISearchTop>
46
- )
22
+ if (terms.length === 0) {
23
+ return null
47
24
  }
48
- )
25
+
26
+ return (
27
+ <UISearchTop title="Top Search" isLoading={isLoading} {...otherProps}>
28
+ {terms.map((term, index) => (
29
+ <UISearchTopTerm
30
+ key={index}
31
+ value={term.value}
32
+ index={index}
33
+ linkProps={{
34
+ href: formatSearchPath(term.value),
35
+ onClick: () =>
36
+ onSearchInputSelection?.(
37
+ term.value,
38
+ formatSearchPath(term.value)
39
+ ),
40
+ }}
41
+ />
42
+ ))}
43
+ </UISearchTop>
44
+ )
45
+ }
49
46
 
50
47
  export default SearchTop
@@ -40,9 +40,8 @@ const Hero = ({
40
40
  <UIHero>
41
41
  <UIHeroImage data-fs-hero-image>
42
42
  <Image
43
- preload
44
43
  loading="eager"
45
- fetchPriority="high"
44
+ priority
46
45
  src={imageSrc}
47
46
  alt={imageAlt}
48
47
  width={360}
@@ -1,59 +1,33 @@
1
- import { forwardRef, memo } from 'react'
2
- import Head from 'next/head'
1
+ import { memo } from 'react'
3
2
 
3
+ import NextImage, { ImageProps } from 'next/future/image'
4
+ import { ThumborOptions } from './thumborUrlBuilder'
4
5
  import { useImage } from './useImage'
5
- import type { ImageOptions } from './useImage'
6
6
 
7
- // React still don't have imageSizes declared on its types. Somehow,
8
- // it generated the right html
9
- declare module 'react' {
10
- interface ImgHTMLAttributes<T> extends AriaAttributes, DOMAttributes<T> {
11
- fetchpriority?: string
12
- }
7
+ // Next loader function does not handle all props as height and options,
8
+ // so we use the useImage hook to handle the custom thumbor loader (VTEX CDN) along with unoptimized prop
9
+ // https://nextjs.org/docs/api-reference/next/image#loader
10
+ function Image({ src, width, height, quality, ...otherProps }: ImageProps) {
11
+ const { src: thumborSrc, alt } = useImage({
12
+ src: String(src),
13
+ width: Number(width),
14
+ height: Number(height),
15
+ options: quality ? ({ filters: { quality } } as ThumborOptions) : undefined,
16
+ ...otherProps,
17
+ })
13
18
 
14
- interface LinkHTMLAttributes<T> extends AriaAttributes, DOMAttributes<T> {
15
- imageSizes?: string
16
- fetchpriority?: string
17
- }
19
+ return (
20
+ <NextImage
21
+ data-fs-image
22
+ unoptimized
23
+ src={thumborSrc}
24
+ width={width}
25
+ height={height}
26
+ alt={alt}
27
+ {...otherProps}
28
+ />
29
+ )
18
30
  }
19
31
 
20
- interface Props extends ImageOptions {
21
- preload?: boolean
22
- fetchPriority?: string
23
- }
24
-
25
- // TODO: Replace this component by next/image
26
- const Image = forwardRef<HTMLImageElement, Props>(
27
- ({ preload = false, fetchPriority, ...otherProps }, ref) => {
28
- const imgProps = useImage(otherProps)
29
- const { src, sizes = '100vw', srcSet } = imgProps
30
-
31
- return (
32
- <>
33
- {preload && (
34
- <Head>
35
- <link
36
- as="image"
37
- rel="preload"
38
- href={src}
39
- imageSrcSet={srcSet}
40
- imageSizes={sizes}
41
- fetchpriority={fetchPriority}
42
- />
43
- </Head>
44
- )}
45
- {/* eslint-disable-next-line @next/next/no-img-element */}
46
- <img
47
- ref={ref}
48
- data-fs-image
49
- {...imgProps}
50
- alt={imgProps.alt}
51
- fetchpriority={fetchPriority}
52
- />
53
- </>
54
- )
55
- }
56
- )
57
-
58
32
  Image.displayName = 'Image'
59
33
  export default memo(Image)
@@ -1,3 +1,5 @@
1
+ import storeConfig from 'faststore.config'
2
+
1
3
  export type FilterValue = boolean | string | string[] | number[]
2
4
 
3
5
  export interface Box {
@@ -19,7 +21,7 @@ export interface ThumborOptions {
19
21
  manualCrop?: Box | false
20
22
  }
21
23
 
22
- const THUMBOR_SERVER = 'https://assets.vtex.app'
24
+ const THUMBOR_SERVER = `https://${storeConfig.api.storeId}.vtexassets.com`
23
25
 
24
26
  const cropSection = ({ left, top, right, bottom }: Box) =>
25
27
  `${left}x${top}:${right}x${bottom}`
@@ -1,5 +1,5 @@
1
- import { useState } from 'react'
2
1
  import type { HTMLAttributes } from 'react'
2
+ import { useState } from 'react'
3
3
 
4
4
  import { Image } from 'src/components/ui/Image'
5
5
  import styles from 'src/components/ui/ImageGallery/image-gallery.module.scss'
@@ -34,7 +34,7 @@ function ImageGallery({ images, ...otherProps }: ImageGalleryProps) {
34
34
  width={804}
35
35
  height={804 * (3 / 4)}
36
36
  loading="eager"
37
- fetchPriority="high"
37
+ priority
38
38
  />
39
39
  </ImageZoom>
40
40
  {hasSelector && (
@@ -1,5 +1,5 @@
1
- import { useRef } from 'react'
2
1
  import { Button as UIButton, IconButton as UIIconButton } from '@faststore/ui'
2
+ import { useRef } from 'react'
3
3
  import { useInView } from 'react-intersection-observer'
4
4
 
5
5
  import Icon from 'src/components/ui/Icon'
@@ -89,7 +89,9 @@ function ImageGallerySelector({ images, onSelect, currentImageIdx }: Props) {
89
89
  }
90
90
  >
91
91
  <Image
92
- ref={ref}
92
+ onLoadingComplete={(img) => {
93
+ if (ref) ref(img)
94
+ }}
93
95
  src={image.url}
94
96
  alt={image.alternateName}
95
97
  loading={idx === 0 ? 'eager' : 'lazy'}
@@ -96,7 +96,7 @@
96
96
  color: var(--fs-color-text-display);
97
97
  }
98
98
 
99
- span {
99
+ [data-fs-icon]span {
100
100
  display: flex;
101
101
  height: fit-content;
102
102
  padding: var(--fs-spacing-1);
@@ -124,7 +124,7 @@
124
124
  width: 100%;
125
125
  background: linear-gradient(180deg, var(--fs-color-body-bkg) 55%, transparent);
126
126
 
127
- span {
127
+ [data-fs-icon]span {
128
128
  transform: rotate(90deg);
129
129
  }
130
130
 
@@ -71,10 +71,3 @@ main,
71
71
  visibility: hidden;
72
72
  }
73
73
  }
74
-
75
- // Image
76
- [data-fs-image] {
77
- width: 100%;
78
- height: 100%;
79
- object-fit: cover;
80
- }
package/.next/BUILD_ID DELETED
@@ -1 +0,0 @@
1
- u0qG5OTkkoWzNxl1FnZ39
@@ -1,103 +0,0 @@
1
- {
2
- "polyfillFiles": [
3
- "static/chunks/polyfills-c67a75d1b6f99dc8.js"
4
- ],
5
- "devFiles": [],
6
- "ampDevFiles": [],
7
- "lowPriorityFiles": [
8
- "static/u0qG5OTkkoWzNxl1FnZ39/_buildManifest.js",
9
- "static/u0qG5OTkkoWzNxl1FnZ39/_ssgManifest.js"
10
- ],
11
- "rootMainFiles": [],
12
- "pages": {
13
- "/": [
14
- "static/chunks/webpack-05ab596ed7d0c840.js",
15
- "static/chunks/framework-dfd14d7ce6600b03.js",
16
- "static/chunks/main-9746772201fe3ac1.js",
17
- "static/chunks/351-a4e28d64f48c5269.js",
18
- "static/chunks/260-994385416f68673d.js",
19
- "static/chunks/817-728f854c2948afc0.js",
20
- "static/css/43d61b402f41569b.css",
21
- "static/chunks/pages/index-6717326cc207d674.js"
22
- ],
23
- "/404": [
24
- "static/chunks/webpack-05ab596ed7d0c840.js",
25
- "static/chunks/framework-dfd14d7ce6600b03.js",
26
- "static/chunks/main-9746772201fe3ac1.js",
27
- "static/chunks/351-a4e28d64f48c5269.js",
28
- "static/chunks/pages/404-ba608a2a9f0c420a.js"
29
- ],
30
- "/500": [
31
- "static/chunks/webpack-05ab596ed7d0c840.js",
32
- "static/chunks/framework-dfd14d7ce6600b03.js",
33
- "static/chunks/main-9746772201fe3ac1.js",
34
- "static/chunks/351-a4e28d64f48c5269.js",
35
- "static/chunks/pages/500-910883c20541d9ce.js"
36
- ],
37
- "/[...slug]": [
38
- "static/chunks/webpack-05ab596ed7d0c840.js",
39
- "static/chunks/framework-dfd14d7ce6600b03.js",
40
- "static/chunks/main-9746772201fe3ac1.js",
41
- "static/chunks/351-a4e28d64f48c5269.js",
42
- "static/chunks/260-994385416f68673d.js",
43
- "static/chunks/337-4b719ca7a86d8d8c.js",
44
- "static/css/430b8cafbf7c23c1.css",
45
- "static/chunks/pages/[...slug]-9443b18a60d89746.js"
46
- ],
47
- "/[slug]/p": [
48
- "static/chunks/webpack-05ab596ed7d0c840.js",
49
- "static/chunks/framework-dfd14d7ce6600b03.js",
50
- "static/chunks/main-9746772201fe3ac1.js",
51
- "static/chunks/351-a4e28d64f48c5269.js",
52
- "static/chunks/260-994385416f68673d.js",
53
- "static/chunks/817-728f854c2948afc0.js",
54
- "static/css/e63697a078fd522e.css",
55
- "static/chunks/pages/[slug]/p-cb8ef12f6449cf26.js"
56
- ],
57
- "/_app": [
58
- "static/chunks/webpack-05ab596ed7d0c840.js",
59
- "static/chunks/framework-dfd14d7ce6600b03.js",
60
- "static/chunks/main-9746772201fe3ac1.js",
61
- "static/css/14ebc84fc6d6c80c.css",
62
- "static/chunks/pages/_app-9cc7312632f19e94.js"
63
- ],
64
- "/_error": [
65
- "static/chunks/webpack-05ab596ed7d0c840.js",
66
- "static/chunks/framework-dfd14d7ce6600b03.js",
67
- "static/chunks/main-9746772201fe3ac1.js",
68
- "static/chunks/pages/_error-a7a0c1d9bfbb4f38.js"
69
- ],
70
- "/account": [
71
- "static/chunks/webpack-05ab596ed7d0c840.js",
72
- "static/chunks/framework-dfd14d7ce6600b03.js",
73
- "static/chunks/main-9746772201fe3ac1.js",
74
- "static/chunks/351-a4e28d64f48c5269.js",
75
- "static/chunks/pages/account-f19102933e6fd84c.js"
76
- ],
77
- "/checkout": [
78
- "static/chunks/webpack-05ab596ed7d0c840.js",
79
- "static/chunks/framework-dfd14d7ce6600b03.js",
80
- "static/chunks/main-9746772201fe3ac1.js",
81
- "static/chunks/351-a4e28d64f48c5269.js",
82
- "static/chunks/pages/checkout-f8cb7cb22225ef9d.js"
83
- ],
84
- "/login": [
85
- "static/chunks/webpack-05ab596ed7d0c840.js",
86
- "static/chunks/framework-dfd14d7ce6600b03.js",
87
- "static/chunks/main-9746772201fe3ac1.js",
88
- "static/chunks/351-a4e28d64f48c5269.js",
89
- "static/chunks/pages/login-0b9ea80d9fa0f91b.js"
90
- ],
91
- "/s": [
92
- "static/chunks/webpack-05ab596ed7d0c840.js",
93
- "static/chunks/framework-dfd14d7ce6600b03.js",
94
- "static/chunks/main-9746772201fe3ac1.js",
95
- "static/chunks/351-a4e28d64f48c5269.js",
96
- "static/chunks/153-a20e3f2da180607e.js",
97
- "static/chunks/337-4b719ca7a86d8d8c.js",
98
- "static/css/9dd1d1084d254c66.css",
99
- "static/chunks/pages/s-86fe1e3303388123.js"
100
- ]
101
- },
102
- "ampFirstPages": []
103
- }