avada-components-seoon 1.0.18 → 1.0.22

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.
@@ -160,7 +160,7 @@ export const CrossAppBanner = ({ shopDomain, clickInstallCallback, appIds = APP_
160
160
  return null;
161
161
  const currentAppIdToShow = appToShow.key;
162
162
  return (_jsx(AppProvider, { i18n: {}, children: _jsx(LegacyCard, { sectioned: true, children: _jsxs("div", { className: 'AC-CrossAppBanner', children: [_jsx("div", { className: 'AC-CrossAppBanner__Thumbnail', children: _jsx(Thumbnail, { size: "small", source: appToShow.image, alt: '' }) }), _jsxs("div", { className: 'AC-CrossAppBanner__Content', children: [_jsx(Text, { variant: "headingMd", as: "strong", children: appToShow.title }), _jsx("br", {}), appToShow.description] }), _jsx("div", { className: 'AC-CrossAppBanner__Install', children: _jsx(Button, { onClick: () => {
163
- window.open(appToShow.url + `?utm_source=${getUTMParams(window.location.origin)}`);
163
+ window.open(appToShow.url + `&utm_source=${getUTMParams(window.location.origin)}`);
164
164
  if (clickInstallCallback)
165
165
  clickInstallCallback();
166
166
  }, children: appToShow.actionLabel }) }), _jsx("div", { className: 'AC-CrossAppBanner__Close', children: _jsx(Button, { icon: XIcon, variant: "tertiary", onClick: () => handleDismiss(currentAppIdToShow) }) })] }) }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/config/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,sBAAsB,oCAAoC,CAAC;AACxE,eAAO,MAAM,uBAAuB,mCAAmC,CAAC;AACxE,eAAO,MAAM,wBAAwB,4DAA4D,CAAC;AAClG,eAAO,MAAM,6BAA6B,kDAAkD,CAAC;AAC7F,eAAO,MAAM,sBAAsB,6CAA6C,CAAC;AAEjF,eAAO,MAAM,gBAAgB,8BAA8B,CAAC;AAC5D,eAAO,MAAM,iBAAiB,6BAA6B,CAAC;AAC5D,eAAO,MAAM,kBAAkB,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uidV4 } from 'uuid';
1
2
  /**
2
3
  * API endpoints configuration
3
4
  */
@@ -21,7 +22,7 @@ export const listCrossApps = [
21
22
  title: 'How to write blog posts that rank on Google and show up in AI search?',
22
23
  description: 'Use our AI-powered SEO blog builder to create high-quality content that answers real customer queries. Optimized for Google, Search Generative Experience and voice search',
23
24
  image: 'https://cdn.shopify.com/s/files/1/0622/8439/8665/files/SEOon.jpg?v=1745392523&width=40',
24
- url: 'https://apps.shopify.com/seoon-blog?utm_source=seo&utm_medium=homepage&utm_term=free_to_install',
25
+ url: `https://apps.shopify.com/seoon-blog?search_id=${uuidV4()}&surface_detail=vtnshadow&surface_inter_position=1&surface_intra_position=5&surface_type=search&utm_source=seo&utm_medium=homepage&utm_term=free_to_install`,
25
26
  actionLabel: 'Free to install',
26
27
  key: 'blog',
27
28
  },
@@ -29,7 +30,7 @@ export const listCrossApps = [
29
30
  title: 'Write better product descriptions, faster — with AI',
30
31
  description: 'Generate SEO-optimized, high-converting product copy in bulk or one by one. Stay on-brand, support multiple languages, and get ready for AI-first search like ChatGPT',
31
32
  image: 'https://cdn.shopify.com/app-store/listing_images/94a39d7591aada58e5a9774f23f933c0/icon/CLvM7tmkkI0DEAE=.jpeg?width=40',
32
- url: 'https://apps.shopify.com/ai-product-copy?utm_source=seo&utm_medium=homepage&utm_term=free_to_install',
33
+ url: `https://apps.shopify.com/ai-product-copy?search_id=${uuidV4()}&surface_detail=vtnshadow&surface_inter_position=1&surface_intra_position=6&surface_type=search&utm_source=seo&utm_medium=homepage&utm_term=free_to_install`,
33
34
  actionLabel: 'Free to install',
34
35
  key: 'aiCopy',
35
36
  },
@@ -37,7 +38,7 @@ export const listCrossApps = [
37
38
  title: 'Slow site hurting your SEO? Fix all images with one free click!',
38
39
  description: 'Speed up your store and boost your SEO instantly with our 100% free, one-click image optimizer. No setup, no hassle just install the app and let it do the work for you.',
39
40
  image: 'https://cdnapps.avada.io/ag-blog/LogoBannerCrossAppImage.png',
40
- url: 'https://apps.shopify.com/ap-speed-optimizer?utm_source=seo&utm_medium=homepage&utm_term=free_to_install',
41
+ url: `https://apps.shopify.com/ap-speed-optimizer?search_id=${uuidV4()}&surface_detail=vtnshadow&surface_inter_position=1&surface_intra_position=7&surface_type=search&utm_source=seo&utm_medium=homepage&utm_term=free_to_install`,
41
42
  actionLabel: 'Optimize images now',
42
43
  key: 'plaza',
43
44
  },
@@ -45,7 +46,7 @@ export const listCrossApps = [
45
46
  title: 'Boost Your SEO Health!',
46
47
  description: 'Resolve issues that hold your site back—404 errors, image problems, slow loading speed, and poor metadata. Keep your store fast, optimized, and ranking higher.',
47
48
  image: 'https://cdn.shopify.com/app-store/listing_images/12c5f7113c40f4e4e5a57cad4ff6464f/icon/CMnGhqeTsPwCEAE=.jpeg?width=40',
48
- url: 'https://apps.shopify.com/avada-seo-suite?utm_source=seo&utm_medium=homepage&utm_term=free_to_install',
49
+ url: `https://apps.shopify.com/avada-seo-suite?search_id=${uuidV4()}&surface_detail=vtnshadow&surface_inter_position=1&surface_intra_position=8&surface_type=search&utm_source=seo&utm_medium=homepage&utm_term=free_to_install`,
49
50
  actionLabel: 'Fix SEO Issues',
50
51
  key: 'seo',
51
52
  },
@@ -55,7 +56,7 @@ export const listCrossAppsOutSideSeo = [
55
56
  title: 'Don’t let your SEO traffic go to waste!',
56
57
  description: 'Don’t let all your SEO efforts be meaningless.\n Joy Loyalty turns traffic into repeat revenue.',
57
58
  image: 'https://cdn.shopify.com/app-store/listing_images/1c76cf8a2c51f2fcf7a52ae3db9b0d6f/icon/CMLGrqSVxYIDEAE=.png',
58
- url: 'https://apps.shopify.com/joyio?utm_source=seosuite&utm_medium=banner&utm_campaign=dashboard',
59
+ url: `https://apps.shopify.com/joyio?search_id=${uuidV4()}&surface_detail=vtnshadow&surface_inter_position=1&surface_intra_position=9&surface_type=search&utm_medium=banner&utm_campaign=dashboard`,
59
60
  actionLabel: 'Install now',
60
61
  key: 'joy-loyalty',
61
62
  },
@@ -1 +1 @@
1
- {"version":3,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AM,EAAE,0IAA0I;QACnM,WAAW,EAAE,aAAa;QAC1B,GAAG,EAAE,aAAa;KACnB;CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "avada-components-seoon",
3
- "version": "1.0.18",
3
+ "version": "1.0.22",
4
4
  "type": "module",
5
5
  "description": "A collection of React components built with Shopify Polaris",
6
6
  "main": "dist/index.js",
@@ -42,7 +42,8 @@
42
42
  "i18next": "^25.0.1",
43
43
  "react": "^18.0.0",
44
44
  "react-circular-progressbar": "^2.2.0",
45
- "react-dom": "^18.0.0"
45
+ "react-dom": "^18.0.0",
46
+ "uuidv4": "6.2.13"
46
47
  },
47
48
  "devDependencies": {
48
49
  "@google-cloud/translate": "8.0.2",