@faststore/core 2.1.57 → 2.1.61

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.
@@ -35,12 +35,12 @@ Route (pages) Size First Load JS
35
35
  ├ ● /checkout 657 B 113 kB
36
36
  ├ ● /login 1.08 kB 114 kB
37
37
  └ ● /s 4.55 kB 127 kB
38
- + First Load JS shared by all 80.7 kB
38
+ + First Load JS shared by all 81 kB
39
39
  ├ chunks/framework-dfd14d7ce6600b03.js 45.3 kB
40
40
  ├ chunks/main-fd466221927468fd.js 23.9 kB
41
- ├ chunks/pages/_app-b1b6e1a62892c937.js 6.42 kB
42
- ├ chunks/webpack-63838fd23f69de45.js 2.3 kB
43
- └ css/ebc1e9d3e686bad3.css 2.78 kB
41
+ ├ chunks/pages/_app-a3a080abb08d9dcd.js 6.41 kB
42
+ ├ chunks/webpack-1a4937916145f71c.js 2.3 kB
43
+ └ css/9e76fef1c9ca89af.css 3.06 kB
44
44
 
45
45
  λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
46
46
  ○ (Static) automatically rendered as static HTML (uses no initial props)
package/next.config.js CHANGED
@@ -16,7 +16,7 @@ const nextConfig = {
16
16
  defaultLocale: 'en-US',
17
17
  },
18
18
  sassOptions: {
19
- additionalData: `@import "@faststore/ui/src/styles/base/utilities.scss";`,
19
+ additionalData: `@import "src/customizations/styles/custom-mixins.scss";`,
20
20
  },
21
21
  webpack: (config, { isServer, dev }) => {
22
22
  // https://github.com/vercel/next.js/discussions/11267#discussioncomment-2479112
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "2.1.57",
3
+ "version": "2.1.61",
4
4
  "license": "MIT",
5
5
  "browserslist": "supports es6-module and not dead",
6
6
  "scripts": {
@@ -33,7 +33,7 @@
33
33
  "@faststore/components": "^2.1.57",
34
34
  "@faststore/graphql-utils": "^2.1.53",
35
35
  "@faststore/sdk": "^2.1.53",
36
- "@faststore/ui": "^2.1.57",
36
+ "@faststore/ui": "^2.1.61",
37
37
  "@types/react": "^18.0.14",
38
38
  "@vtex/client-cms": "^0.2.12",
39
39
  "autoprefixer": "^10.4.0",
@@ -110,5 +110,5 @@
110
110
  "msw": {
111
111
  "workerDirectory": "public"
112
112
  },
113
- "gitHead": "191960120e24c80ca66bd23f77450c0080a3d745"
113
+ "gitHead": "2847a365cb0da48e493ecdb0c9f2975e672628d4"
114
114
  }
@@ -0,0 +1,5 @@
1
+ // ----------------------------------------------------------
2
+ // Stores' custom mixins will override this file
3
+ // ----------------------------------------------------------
4
+
5
+ @import "@faststore/ui/src/styles/base/utilities.scss";
@@ -1,7 +1,5 @@
1
1
  // FastStore UI's base styles
2
- import '@faststore/ui/src/styles/global.scss'
3
-
4
- import '../styles/global/components.scss'
2
+ import '../styles/global/index.scss'
5
3
 
6
4
  import '../customizations/themes/index.scss'
7
5
 
@@ -0,0 +1,11 @@
1
+ // Establish a layer order up-front, FS UI base styles have the lowest priority
2
+ @layer base, components, theme;
3
+
4
+ // FastStore UI's base styles
5
+ @import "@faststore/ui/src/styles/global.scss";
6
+
7
+ // Components & Sections styles
8
+ @import "@faststore/ui/src/components/atoms/Skeleton/styles.scss";
9
+ @import "@faststore/ui/src/components/atoms/Overlay/styles.scss";
10
+ @import "@faststore/ui/src/components/atoms/SROnly/styles.scss";
11
+ @import "src/components/sections/Section/section.scss";
@@ -1,7 +0,0 @@
1
- /* establish a layer order up-front, FS UI base styles has the lowest priority */
2
- @layer base, components, theme;
3
-
4
- // Sections
5
- @import "@faststore/ui/src/components/atoms/Overlay/styles.scss";
6
- @import "@faststore/ui/src/components/atoms/SROnly/styles.scss";
7
- @import "src/components/sections/Section/section.scss";