@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/{BrandingInfo-57u33B-f.js → BrandingInfo-CjXCjTiP.js} +4 -3
- package/dist/BrandingInfo-CjXCjTiP.js.map +1 -0
- package/dist/ConfigureThankYou.js +5 -6
- package/dist/ConfigureThankYou.js.map +1 -1
- package/dist/ShowThankYou.js +2 -3
- package/dist/ShowThankYou.js.map +1 -1
- package/dist/cjs/{BrandingInfo-y5Zm6Bej.js → BrandingInfo-u5FM6Y7x.js} +3 -2
- package/dist/cjs/BrandingInfo-u5FM6Y7x.js.map +1 -0
- package/dist/cjs/ConfigureThankYou.js +5 -6
- package/dist/cjs/ConfigureThankYou.js.map +1 -1
- package/dist/cjs/ShowThankYou.js +2 -3
- package/dist/cjs/ShowThankYou.js.map +1 -1
- package/dist/cjs/commons.js +2 -4
- package/dist/cjs/commons.js.map +1 -1
- package/dist/cjs/constants.js +0 -13
- package/dist/cjs/constants.js.map +1 -1
- package/dist/cjs/index.js +5 -5
- package/dist/cjs/utils.js +3 -15
- package/dist/cjs/utils.js.map +1 -1
- package/dist/commons.js +2 -4
- package/dist/commons.js.map +1 -1
- package/dist/constants.js +1 -11
- package/dist/constants.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/utils.js +3 -15
- package/dist/utils.js.map +1 -1
- package/package.json +18 -17
- package/dist/BrandingInfo-57u33B-f.js.map +0 -1
- package/dist/cjs/BrandingInfo-y5Zm6Bej.js.map +0 -1
package/dist/utils.js
CHANGED
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 {
|
|
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":["
|
|
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.
|
|
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.
|
|
62
|
-
"@bigbinary/neeto-cist": "1.0.
|
|
63
|
-
"@bigbinary/neeto-commons-frontend": "4.13.
|
|
64
|
-
"@bigbinary/neeto-editor": "1.45.
|
|
65
|
-
"@bigbinary/neeto-filters-frontend": "4.3.
|
|
66
|
-
"@bigbinary/neeto-icons": "1.20.
|
|
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.
|
|
69
|
-
"@bigbinary/neetoui": "8.2.
|
|
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.
|
|
175
|
-
"@bigbinary/neeto-commons-frontend": "4.13.
|
|
176
|
-
"@bigbinary/neeto-editor": "1.45.
|
|
177
|
-
"@bigbinary/neeto-filters-frontend": "4.3.
|
|
178
|
-
"@bigbinary/neeto-icons": "1.20.
|
|
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.
|
|
181
|
-
"@bigbinary/neetoui": "8.2.
|
|
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;;;;"}
|