@ikas/storefront-next 6.1.0-beta.42 → 6.1.0-beta.43
Sign up to get free protection for your applications and to get access to all the features.
- package/build/utils/google-fonts.js +1 -1
- package/package.json +12 -12
@@ -1 +1 @@
|
|
1
|
-
var a=function(a){if(a.name){var t=a.name.replace(/ /g,"+"),e="";if(a.variants){e+=":";var r=a.variants.some((function(a){return"italic"===a}));if(r&&(e+="ital,"),e+="wght@",r){var n=new RegExp("italic","i");e+=a.variants.reduce((function(a,t){return n.test(t)?a:a+"0,".concat(t.replace("regular","400"),";")}),""),e+=a.variants.reduce((function(a,t){return n.test(t)?a+"1,".concat("italic"===t?"400":t.replace("italic",""),";"):a}),"")}else e+=a.variants.reduce((function(a,t){return a+"".concat(t.replace("regular","400"),";")}),"");e=e.substring(0,e.length-1),e+="&display=swap"}
|
1
|
+
var a=function(a){if(a.name){var t=a.name.replace(/ /g,"+"),e="";if(a.variants){e+=":";var r=a.variants.some((function(a){return"italic"===a}));if(r&&(e+="ital,"),e+="wght@",r){var n=new RegExp("italic","i");e+=a.variants.reduce((function(a,t){return n.test(t)?a:a+"0,".concat(t.replace("regular","400"),";")}),""),e+=a.variants.reduce((function(a,t){return n.test(t)?a+"1,".concat("italic"===t?"400":t.replace("italic",""),";"):a}),"")}else e+=a.variants.reduce((function(a,t){return a+"".concat(t.replace("regular","400"),";")}),"");e=e.substring(0,e.length-1),e+="&display=swap"}var c=process.env.NEXT_PUBLIC_FONT_DOMAIN||"fonts.myikas.com";return"https://".concat(c,"/css2?family=").concat(t).concat(e)}};export{a as getGoogleFontHref};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ikas/storefront-next",
|
3
|
-
"version": "6.1.0-beta.
|
3
|
+
"version": "6.1.0-beta.43",
|
4
4
|
"description": "Next.js specific functions for ikas storefront themes.",
|
5
5
|
"author": "ikas",
|
6
6
|
"license": "ISC",
|
@@ -17,23 +17,23 @@
|
|
17
17
|
},
|
18
18
|
"peerDependencies": {
|
19
19
|
"next": "12.2.0",
|
20
|
-
"@ikas/storefront-config": "^6.1.0-beta.
|
21
|
-
"@ikas/storefront-providers": "^6.1.0-beta.
|
22
|
-
"@ikas/storefront-models": "^6.1.0-beta.
|
23
|
-
"@ikas/storefront-api": "^6.1.0-beta.
|
24
|
-
"@ikas/storefront-assets": "^6.1.0-beta.
|
20
|
+
"@ikas/storefront-config": "^6.1.0-beta.43",
|
21
|
+
"@ikas/storefront-providers": "^6.1.0-beta.43",
|
22
|
+
"@ikas/storefront-models": "^6.1.0-beta.43",
|
23
|
+
"@ikas/storefront-api": "^6.1.0-beta.43",
|
24
|
+
"@ikas/storefront-assets": "^6.1.0-beta.43",
|
25
25
|
"axios": "^0.26.0",
|
26
26
|
"lodash": "^4.17.21",
|
27
27
|
"cors": "^2.8.5",
|
28
28
|
"adm-zip": "^0.5.9"
|
29
29
|
},
|
30
30
|
"devDependencies": {
|
31
|
-
"@ikas/storefront-cmd": "^6.1.0-beta.
|
32
|
-
"@ikas/storefront-config": "^6.1.0-beta.
|
33
|
-
"@ikas/storefront-providers": "^6.1.0-beta.
|
34
|
-
"@ikas/storefront-models": "^6.1.0-beta.
|
35
|
-
"@ikas/storefront-api": "^6.1.0-beta.
|
36
|
-
"@ikas/storefront-assets": "^6.1.0-beta.
|
31
|
+
"@ikas/storefront-cmd": "^6.1.0-beta.43",
|
32
|
+
"@ikas/storefront-config": "^6.1.0-beta.43",
|
33
|
+
"@ikas/storefront-providers": "^6.1.0-beta.43",
|
34
|
+
"@ikas/storefront-models": "^6.1.0-beta.43",
|
35
|
+
"@ikas/storefront-api": "^6.1.0-beta.43",
|
36
|
+
"@ikas/storefront-assets": "^6.1.0-beta.43",
|
37
37
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
38
38
|
"@rollup/plugin-commonjs": "^22.0.0",
|
39
39
|
"@rollup/plugin-json": "^4.1.0",
|