@faststore/core 2.0.169-alpha.0 → 2.0.172-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.
@@ -16,7 +16,6 @@ info - Collecting page data...
16
16
  info - Generating static pages (0/7)
17
17
  info - Generating static pages (1/7)
18
18
  info - Generating static pages (3/7)
19
- warn - IncentivesHeader not found. Add a new component for this section or remove it from the CMS
20
19
  info - Generating static pages (5/7)
21
20
  info - Generating static pages (7/7)
22
21
  info - Finalizing page optimization...
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.172-alpha.0](https://github.com/vtex/faststore/compare/v2.0.171-alpha.0...v2.0.172-alpha.0) (2023-05-31)
7
+
8
+ ### Features
9
+
10
+ - Override `WebFonts` ([#1799](https://github.com/vtex/faststore/issues/1799)) ([5fa4b9a](https://github.com/vtex/faststore/commit/5fa4b9ada4affcf508f05a95acabd542536ceacf))
11
+
6
12
  ## [2.0.169-alpha.0](https://github.com/vtex/faststore/compare/v2.0.168-alpha.0...v2.0.169-alpha.0) (2023-05-29)
7
13
 
8
14
  ### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "2.0.169-alpha.0",
3
+ "version": "2.0.172-alpha.0",
4
4
  "license": "MIT",
5
5
  "browserslist": "supports es6-module and not dead",
6
6
  "scripts": {
@@ -108,5 +108,5 @@
108
108
  "msw": {
109
109
  "workerDirectory": "public"
110
110
  },
111
- "gitHead": "243d208d99b39628236e7e86491b22621d54127e"
111
+ "gitHead": "4154be1b6bc5024ac1684563f7b8c436a75ac605"
112
112
  }
@@ -0,0 +1,11 @@
1
+ import WebFontsOverrides from 'src/customizations/components/overrides/WebFonts'
2
+ import { default as CoreWebFonts } from 'src/fonts/WebFonts'
3
+
4
+ const Components = {
5
+ WebFonts: CoreWebFonts,
6
+ ...WebFontsOverrides.components,
7
+ }
8
+
9
+ export const WebFonts = Components.WebFonts
10
+
11
+ export default Components
@@ -0,0 +1,9 @@
1
+ import { default as CustomWebFonts } from 'src/customizations/fonts/WebFonts'
2
+
3
+ const overrides = {
4
+ components: {
5
+ WebFonts: CustomWebFonts,
6
+ },
7
+ }
8
+
9
+ export default overrides
@@ -0,0 +1,7 @@
1
+ /* WebFonts from core are default,
2
+ * can be override by src/fonts/WebFonts from starter.store along with --fs-text-face-body token
3
+ */
4
+
5
+ import WebFonts from 'src/fonts/WebFonts'
6
+
7
+ export default WebFonts
@@ -1,7 +1,7 @@
1
1
  import { Head, Html, Main, NextScript } from 'next/document'
2
2
 
3
- import WebFonts from 'src/fonts/WebFonts'
4
3
  import ThirdPartyScripts from 'src/components/ThirdPartyScripts'
4
+ import { WebFonts } from 'src/customizations/GlobalOverrides'
5
5
 
6
6
  function Document() {
7
7
  return (