@bigbinary/neeto-thank-you-frontend 1.0.7 → 1.0.9
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/index.cjs.js +35 -14
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +35 -14
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/types.d.ts +9 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-thank-you-frontend",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
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",
|
|
@@ -108,14 +108,14 @@
|
|
|
108
108
|
"prettier-plugin-tailwindcss": "0.3.0",
|
|
109
109
|
"process": "0.11.10",
|
|
110
110
|
"ramda": "0.29.0",
|
|
111
|
-
"react": "
|
|
112
|
-
"react-dom": "
|
|
111
|
+
"react": "^18.2.0",
|
|
112
|
+
"react-dom": "^18.2.0",
|
|
113
113
|
"react-helmet": "6.1.0",
|
|
114
114
|
"react-i18next": "13.0.1",
|
|
115
115
|
"react-query": "3.39.3",
|
|
116
|
-
"react-router-dom": "5.
|
|
116
|
+
"react-router-dom": "5.3.3",
|
|
117
117
|
"react-toastify": "8.0.2",
|
|
118
|
-
"react_ujs": "
|
|
118
|
+
"react_ujs": "^3.1.1",
|
|
119
119
|
"rollup": "2.79.1",
|
|
120
120
|
"rollup-plugin-analyzer": "4.0.0",
|
|
121
121
|
"rollup-plugin-cleaner": "1.0.0",
|
|
@@ -151,11 +151,11 @@
|
|
|
151
151
|
"js-logger": "^1.6.1",
|
|
152
152
|
"mixpanel-browser": "^2.45.0",
|
|
153
153
|
"ramda": "^0.29.0",
|
|
154
|
-
"react": "
|
|
155
|
-
"react-dom": "
|
|
154
|
+
"react": "18.2.0",
|
|
155
|
+
"react-dom": "18.2.0",
|
|
156
156
|
"react-helmet": "^6.1.0",
|
|
157
157
|
"react-query": "3.39.2",
|
|
158
|
-
"react-router-dom": "5.3.
|
|
158
|
+
"react-router-dom": "5.3.3",
|
|
159
159
|
"react-toastify": "8.2.0",
|
|
160
160
|
"yup": "^0.32.11",
|
|
161
161
|
"zustand": "4.3.2"
|
package/types.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ interface ConfigureThankYouProps {
|
|
|
22
22
|
resubmitLink?: string;
|
|
23
23
|
redirectToOnCancel: string;
|
|
24
24
|
thankYouTextAlignment?: string;
|
|
25
|
+
isPublished: boolean;
|
|
26
|
+
publicLinkId: string;
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
interface ShowThankYouProps {
|
|
@@ -30,10 +32,16 @@ interface ShowThankYouProps {
|
|
|
30
32
|
resubmitLink: string;
|
|
31
33
|
socialHandles: SocialHandle[];
|
|
32
34
|
isThankYouPageLoading: boolean;
|
|
35
|
+
publicLinkId: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
interface UseShowThankYouPageProps {
|
|
39
|
+
entityId: string;
|
|
40
|
+
isTemplateView?: boolean;
|
|
33
41
|
}
|
|
34
42
|
|
|
35
43
|
export const ShowThankYou: React.FC<ShowThankYouProps>;
|
|
36
44
|
export const ConfigureThankYou: React.FC<ConfigureThankYouProps>;
|
|
37
45
|
|
|
38
|
-
export function useShowThankYouPage({ entityId
|
|
46
|
+
export function useShowThankYouPage({ entityId, isTemplateView }: UseShowThankYouPageProps): UseQueryResult<axios.AxiosResponse<any, any>, unknown>;
|
|
39
47
|
export function useShowThankYouConfiguration({ entityId: string }): UseQueryResult<axios.AxiosResponse<any, any>, unknown>;
|