@ikas/storefront-next 6.1.0-beta.5 → 6.1.0-beta.51

Sign up to get free protection for your applications and to get access to all the features.
@@ -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"}return"https://fonts.myikas.com/css2?family=".concat(t).concat(e)}};export{a as getGoogleFontHref};
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.5",
3
+ "version": "6.1.0-beta.51",
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.5",
21
- "@ikas/storefront-providers": "^6.1.0-beta.5",
22
- "@ikas/storefront-models": "^6.1.0-beta.5",
23
- "@ikas/storefront-api": "^6.1.0-beta.5",
24
- "@ikas/storefront-assets": "^6.1.0-beta.5",
20
+ "@ikas/storefront-config": "^6.1.0-beta.51",
21
+ "@ikas/storefront-providers": "^6.1.0-beta.51",
22
+ "@ikas/storefront-models": "^6.1.0-beta.51",
23
+ "@ikas/storefront-api": "^6.1.0-beta.51",
24
+ "@ikas/storefront-assets": "^6.1.0-beta.51",
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.5",
32
- "@ikas/storefront-config": "^6.1.0-beta.5",
33
- "@ikas/storefront-providers": "^6.1.0-beta.5",
34
- "@ikas/storefront-models": "^6.1.0-beta.5",
35
- "@ikas/storefront-api": "^6.1.0-beta.5",
36
- "@ikas/storefront-assets": "^6.1.0-beta.5",
31
+ "@ikas/storefront-cmd": "^6.1.0-beta.51",
32
+ "@ikas/storefront-config": "^6.1.0-beta.51",
33
+ "@ikas/storefront-providers": "^6.1.0-beta.51",
34
+ "@ikas/storefront-models": "^6.1.0-beta.51",
35
+ "@ikas/storefront-api": "^6.1.0-beta.51",
36
+ "@ikas/storefront-assets": "^6.1.0-beta.51",
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",