@bigbinary/neeto-thank-you-frontend 2.1.26 → 2.1.29

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.
package/dist/utils.js CHANGED
@@ -1,18 +1,6 @@
1
- import { buildUrl } from '@bigbinary/neeto-commons-frontend/utils';
2
- import { TLD } from './constants.js';
3
- import '@bigbinary/neeto-commons-frontend/initializers';
4
-
5
- var getNeetoAuthRoute = function getNeetoAuthRoute(topLevelDomain) {
6
- return "https://app.neetoauth.".concat(topLevelDomain, "/signups/new");
7
- };
8
- var getRedirectUri = function getRedirectUri(appName) {
9
- return "".concat(appName.toLowerCase(), ".").concat(TLD);
10
- };
11
- var buildSignUpUrl = function buildSignUpUrl(appName) {
12
- return buildUrl(getNeetoAuthRoute(TLD), {
13
- redirectUri: getRedirectUri(appName)
14
- });
1
+ var getRedirectUri = function getRedirectUri(appName, subdomain) {
2
+ return "https://www.neeto.com/".concat(appName.toLowerCase(), "?utm_source=madewith&utm_campaign=").concat(subdomain);
15
3
  };
16
4
 
17
- export { buildSignUpUrl };
5
+ export { getRedirectUri };
18
6
  //# sourceMappingURL=utils.js.map
package/dist/utils.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sources":["../app/javascript/src/components/utils.js"],"sourcesContent":["import { buildUrl } from \"neetocommons/utils\";\n\nimport { TLD } from \"./constants\";\n\nconst getNeetoAuthRoute = topLevelDomain =>\n `https://app.neetoauth.${topLevelDomain}/signups/new`;\n\nconst getRedirectUri = appName => `${appName.toLowerCase()}.${TLD}`;\n\nexport const buildSignUpUrl = appName =>\n buildUrl(getNeetoAuthRoute(TLD), { redirectUri: getRedirectUri(appName) });\n"],"names":["getNeetoAuthRoute","topLevelDomain","concat","getRedirectUri","appName","toLowerCase","TLD","buildSignUpUrl","buildUrl","redirectUri"],"mappings":";;;;AAIA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAGC,cAAc,EAAA;EAAA,OAAAC,wBAAAA,CAAAA,MAAA,CACbD,cAAc,EAAA,cAAA,CAAA;AAAA,CAAc;AAEvD,IAAME,cAAc,GAAG,SAAjBA,cAAcA,CAAGC,OAAO,EAAA;EAAA,OAAAF,EAAAA,CAAAA,MAAA,CAAOE,OAAO,CAACC,WAAW,EAAE,EAAA,GAAA,CAAA,CAAAH,MAAA,CAAII,GAAG,CAAA;AAAA,CAAE;IAEtDC,cAAc,GAAG,SAAjBA,cAAcA,CAAGH,OAAO,EAAA;AAAA,EAAA,OACnCI,QAAQ,CAACR,iBAAiB,CAACM,GAAG,CAAC,EAAE;IAAEG,WAAW,EAAEN,cAAc,CAACC,OAAO;AAAE,GAAC,CAAC;AAAA;;;;"}
1
+ {"version":3,"file":"utils.js","sources":["../app/javascript/src/components/utils.js"],"sourcesContent":["export const getRedirectUri = (appName, subdomain) =>\n `https://www.neeto.com/${appName.toLowerCase()}?utm_source=madewith&utm_campaign=${subdomain}`;\n"],"names":["getRedirectUri","appName","subdomain","concat","toLowerCase"],"mappings":"AAAO,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,OAAO,EAAEC,SAAS,EAAA;EAAA,OAAAC,wBAAAA,CAAAA,MAAA,CACtBF,OAAO,CAACG,WAAW,EAAE,EAAA,oCAAA,CAAA,CAAAD,MAAA,CAAqCD,SAAS,CAAA;AAAA;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-thank-you-frontend",
3
- "version": "2.1.26",
3
+ "version": "2.1.29",
4
4
  "description": "A repo acts as the source of truth for the new nano's structure, configs, data etc.",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://github.com/bigbinary/neeto-thank-you-nano",
@@ -58,15 +58,15 @@
58
58
  "@babel/preset-typescript": "7.26.0",
59
59
  "@babel/runtime": "7.26.0",
60
60
  "@bigbinary/babel-preset-neeto": "^1.0.3",
61
- "@bigbinary/eslint-plugin-neeto": "1.5.6",
62
- "@bigbinary/neeto-cist": "1.0.14",
63
- "@bigbinary/neeto-commons-frontend": "4.13.17",
64
- "@bigbinary/neeto-editor": "1.45.1",
65
- "@bigbinary/neeto-filters-frontend": "4.3.13",
66
- "@bigbinary/neeto-icons": "1.20.24",
61
+ "@bigbinary/eslint-plugin-neeto": "1.5.7",
62
+ "@bigbinary/neeto-cist": "1.0.15",
63
+ "@bigbinary/neeto-commons-frontend": "4.13.23",
64
+ "@bigbinary/neeto-editor": "1.45.14",
65
+ "@bigbinary/neeto-filters-frontend": "4.3.15",
66
+ "@bigbinary/neeto-icons": "1.20.26",
67
67
  "@bigbinary/neeto-image-uploader-frontend": "2.3.15",
68
- "@bigbinary/neeto-molecules": "3.15.14",
69
- "@bigbinary/neetoui": "8.2.56",
68
+ "@bigbinary/neeto-molecules": "3.15.38",
69
+ "@bigbinary/neetoui": "8.2.65",
70
70
  "@emotion/is-prop-valid": "1.2.0",
71
71
  "@faker-js/faker": "8.2.0",
72
72
  "@honeybadger-io/js": "6.10.1",
@@ -171,14 +171,14 @@
171
171
  },
172
172
  "peerDependencies": {
173
173
  "@babel/runtime": "7.26.0",
174
- "@bigbinary/neeto-cist": "1.0.14",
175
- "@bigbinary/neeto-commons-frontend": "4.13.17",
176
- "@bigbinary/neeto-editor": "1.45.1",
177
- "@bigbinary/neeto-filters-frontend": "4.3.13",
178
- "@bigbinary/neeto-icons": "1.20.24",
174
+ "@bigbinary/neeto-cist": "1.0.15",
175
+ "@bigbinary/neeto-commons-frontend": "4.13.23",
176
+ "@bigbinary/neeto-editor": "1.45.14",
177
+ "@bigbinary/neeto-filters-frontend": "4.3.15",
178
+ "@bigbinary/neeto-icons": "1.20.26",
179
179
  "@bigbinary/neeto-image-uploader-frontend": "2.3.15",
180
- "@bigbinary/neeto-molecules": "3.15.14",
181
- "@bigbinary/neetoui": "8.2.56",
180
+ "@bigbinary/neeto-molecules": "3.15.38",
181
+ "@bigbinary/neetoui": "8.2.65",
182
182
  "@honeybadger-io/js": "6.10.1",
183
183
  "@honeybadger-io/react": "6.1.25",
184
184
  "@tailwindcss/container-queries": "^0.1.1",
@@ -230,5 +230,6 @@
230
230
  "@svgr/webpack": "6.5.1",
231
231
  "babel-plugin-transform-imports": "^2.0.0",
232
232
  "react-router-nav-prompt": "0.4.1"
233
- }
233
+ },
234
+ "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
234
235
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"BrandingInfo-57u33B-f.js","sources":["../app/javascript/src/components/commons/BrandingInfo.jsx"],"sourcesContent":["import { capitalize } from \"neetocist\";\nimport { withT } from \"neetocommons/react-utils\";\n\nimport { buildSignUpUrl } from \"components/utils\";\n\nconst BrandingInfo = withT(({ t, appName }) => (\n <div className=\"neeto-thank-you-configuration__branding-wrapper\">\n <a\n className=\"neeto-thank-you-configuration__branding-link\"\n href={buildSignUpUrl(appName)}\n rel=\"noreferrer\"\n target=\"_blank\"\n >\n <span>{t(\"neetoThankYou.thankYou.madeWith\")} </span>\n <strong>{capitalize(appName)}</strong>\n </a>\n </div>\n));\n\nexport default BrandingInfo;\n"],"names":["BrandingInfo","withT","_ref","t","appName","_jsx","className","children","_jsxs","href","buildSignUpUrl","rel","target","capitalize"],"mappings":";;;;;AAKA,IAAMA,YAAY,GAAGC,KAAK,CAAC,UAAAC,IAAA,EAAA;AAAA,EAAA,IAAGC,CAAC,GAAAD,IAAA,CAADC,CAAC;IAAEC,OAAO,GAAAF,IAAA,CAAPE,OAAO;AAAA,EAAA,oBACtCC,GAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,iDAAiD;AAAAC,IAAAA,QAAA,eAC9DC,IAAA,CAAA,GAAA,EAAA;AACEF,MAAAA,SAAS,EAAC,8CAA8C;AACxDG,MAAAA,IAAI,EAAEC,cAAc,CAACN,OAAO,CAAE;AAC9BO,MAAAA,GAAG,EAAC,YAAY;AAChBC,MAAAA,MAAM,EAAC,QAAQ;AAAAL,MAAAA,QAAA,gBAEfC,IAAA,CAAA,MAAA,EAAA;AAAAD,QAAAA,QAAA,GAAOJ,CAAC,CAAC,iCAAiC,CAAC,EAAC,GAAC;OAAM,CAAC,eACpDE,GAAA,CAAA,QAAA,EAAA;QAAAE,QAAA,EAASM,UAAU,CAACT,OAAO;AAAC,OAAS,CAAC;KACrC;AAAC,GACD,CAAC;AAAA,CACP;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"BrandingInfo-y5Zm6Bej.js","sources":["../../app/javascript/src/components/commons/BrandingInfo.jsx"],"sourcesContent":["import { capitalize } from \"neetocist\";\nimport { withT } from \"neetocommons/react-utils\";\n\nimport { buildSignUpUrl } from \"components/utils\";\n\nconst BrandingInfo = withT(({ t, appName }) => (\n <div className=\"neeto-thank-you-configuration__branding-wrapper\">\n <a\n className=\"neeto-thank-you-configuration__branding-link\"\n href={buildSignUpUrl(appName)}\n rel=\"noreferrer\"\n target=\"_blank\"\n >\n <span>{t(\"neetoThankYou.thankYou.madeWith\")} </span>\n <strong>{capitalize(appName)}</strong>\n </a>\n </div>\n));\n\nexport default BrandingInfo;\n"],"names":["BrandingInfo","withT","_ref","t","appName","_jsx","className","children","_jsxs","href","buildSignUpUrl","rel","target","capitalize"],"mappings":";;;;;;;AAKA,IAAMA,YAAY,GAAGC,gBAAK,CAAC,UAAAC,IAAA,EAAA;AAAA,EAAA,IAAGC,CAAC,GAAAD,IAAA,CAADC,CAAC;IAAEC,OAAO,GAAAF,IAAA,CAAPE,OAAO;AAAA,EAAA,oBACtCC,cAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,iDAAiD;AAAAC,IAAAA,QAAA,eAC9DC,eAAA,CAAA,GAAA,EAAA;AACEF,MAAAA,SAAS,EAAC,8CAA8C;AACxDG,MAAAA,IAAI,EAAEC,oBAAc,CAACN,OAAO,CAAE;AAC9BO,MAAAA,GAAG,EAAC,YAAY;AAChBC,MAAAA,MAAM,EAAC,QAAQ;AAAAL,MAAAA,QAAA,gBAEfC,eAAA,CAAA,MAAA,EAAA;AAAAD,QAAAA,QAAA,GAAOJ,CAAC,CAAC,iCAAiC,CAAC,EAAC,GAAC;OAAM,CAAC,eACpDE,cAAA,CAAA,QAAA,EAAA;QAAAE,QAAA,EAASM,oBAAU,CAACT,OAAO;AAAC,OAAS,CAAC;KACrC;AAAC,GACD,CAAC;AAAA,CACP;;;;"}