@bigbinary/neeto-molecules 1.0.45 → 1.0.47
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/README.md +1 -0
- package/dist/CustomDomain.cjs.js +199 -1728
- package/dist/CustomDomain.cjs.js.map +1 -1
- package/dist/CustomDomain.js +210 -1738
- package/dist/CustomDomain.js.map +1 -1
- package/dist/CustomDomainDashboard.cjs.js +2240 -0
- package/dist/CustomDomainDashboard.cjs.js.map +1 -0
- package/dist/CustomDomainDashboard.js +2213 -0
- package/dist/CustomDomainDashboard.js.map +1 -0
- package/dist/IntegrationCard.cjs.js.map +1 -1
- package/dist/IntegrationCard.js.map +1 -1
- package/dist/IntegrationWalkthroughModal.cjs.js.map +1 -1
- package/dist/IntegrationWalkthroughModal.js.map +1 -1
- package/dist/IpRestriction.cjs.js +39 -44
- package/dist/IpRestriction.cjs.js.map +1 -1
- package/dist/IpRestriction.js +39 -44
- package/dist/IpRestriction.js.map +1 -1
- package/dist/PublishBlock.cjs.js.map +1 -1
- package/dist/PublishBlock.js.map +1 -1
- package/dist/ShareViaEmail.cjs.js +6 -3
- package/dist/ShareViaEmail.cjs.js.map +1 -1
- package/dist/ShareViaEmail.js +6 -3
- package/dist/ShareViaEmail.js.map +1 -1
- package/dist/Sidebar.cjs.js +11 -6
- package/dist/Sidebar.cjs.js.map +1 -1
- package/dist/Sidebar.js +12 -7
- package/dist/Sidebar.js.map +1 -1
- package/package.json +9 -9
- package/types/CustomDomain.d.ts +7 -20
- package/types/CustomDomainDashboard.d.ts +31 -0
- package/types/ShareViaEmail.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-molecules",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.47",
|
|
4
4
|
"description": "A package of reusable molecular components for neeto products.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-molecules.git",
|
|
6
6
|
"author": "Amaljith K <amaljith.k@bigbinary.com>",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"@babel/runtime": "^7.19.0",
|
|
49
49
|
"@bigbinary/babel-preset-neeto": "^1.0.3",
|
|
50
50
|
"@bigbinary/eslint-plugin-neeto": "^1.0.54",
|
|
51
|
-
"@bigbinary/neeto-commons-frontend": "2.0.
|
|
51
|
+
"@bigbinary/neeto-commons-frontend": "2.0.89",
|
|
52
52
|
"@bigbinary/neeto-editor": "1.27.0-beta.1",
|
|
53
|
-
"@bigbinary/neeto-filters-frontend": "^2.
|
|
53
|
+
"@bigbinary/neeto-filters-frontend": "^2.11.15",
|
|
54
54
|
"@bigbinary/neeto-icons": "^1.11.0",
|
|
55
55
|
"@bigbinary/neeto-molecules": "^1.0.5",
|
|
56
|
-
"@bigbinary/neetoui": "^5.0.
|
|
56
|
+
"@bigbinary/neetoui": "^5.0.9",
|
|
57
57
|
"@faker-js/faker": "7.6.0",
|
|
58
58
|
"@honeybadger-io/react": "2.0.1",
|
|
59
59
|
"@rollup/plugin-alias": "^3.1.9",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"eslint-plugin-unused-imports": "2.0.0",
|
|
105
105
|
"formik": "^2.2.9",
|
|
106
106
|
"husky": "^7.0.4",
|
|
107
|
-
"i18next": "
|
|
107
|
+
"i18next": "^22.5.1",
|
|
108
108
|
"ip-num": "^1.5.0",
|
|
109
109
|
"jest": "27.5.1",
|
|
110
110
|
"js-logger": "^1.6.1",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"react-dom": "17.0.2",
|
|
132
132
|
"react-helmet": "^6.1.0",
|
|
133
133
|
"react-hotkeys-hook": "3.3.2",
|
|
134
|
-
"react-i18next": "
|
|
134
|
+
"react-i18next": "^12.3.1",
|
|
135
135
|
"react-query": "^3.39.2",
|
|
136
136
|
"react-router-dom": "^5.2.0",
|
|
137
137
|
"react-toastify": "^9.0.8",
|
|
@@ -164,13 +164,13 @@
|
|
|
164
164
|
"dayjs": "1.11.1",
|
|
165
165
|
"dotenv-webpack": "^8.0.1",
|
|
166
166
|
"formik": "^2.2.9",
|
|
167
|
-
"i18next": "
|
|
167
|
+
"i18next": "^22.5.1",
|
|
168
168
|
"js-logger": "^1.6.1",
|
|
169
169
|
"mixpanel-browser": "^2.45.0",
|
|
170
|
-
"ramda": "^0.
|
|
170
|
+
"ramda": "^0.29.0",
|
|
171
171
|
"react": "^17.0.2",
|
|
172
172
|
"react-helmet": "^6.1.0",
|
|
173
|
-
"react-i18next": "
|
|
173
|
+
"react-i18next": "^12.3.1",
|
|
174
174
|
"react-query": "^3.39.2",
|
|
175
175
|
"react-router-dom": "^5.2.0",
|
|
176
176
|
"react-toastify": "^9.0.8",
|
package/types/CustomDomain.d.ts
CHANGED
|
@@ -1,33 +1,20 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
/**
|
|
3
3
|
*
|
|
4
|
-
* A common component for managing custom
|
|
4
|
+
* A common component for managing custom domain. This component can be used when you have a single custom domain.
|
|
5
5
|
*
|
|
6
6
|
* @example
|
|
7
7
|
*
|
|
8
8
|
* import CustomDomain from "@bigbinary/neeto-molecules/CustomDomain";
|
|
9
9
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* },
|
|
15
|
-
* ];
|
|
16
|
-
*
|
|
17
|
-
* <CustomDomain headerProps={{ breadcrumbs: SETTINGS_BREADCRUMBS }} />;
|
|
10
|
+
* <CustomDomain
|
|
11
|
+
* url="api/v1/admin/custom_domain"
|
|
12
|
+
* iconOnly
|
|
13
|
+
* />;
|
|
18
14
|
* @endexample
|
|
19
|
-
* headerProps is the prop that will be passed on to the NeetoUI Header
|
|
20
|
-
*
|
|
21
|
-
* component used inside the component and it can be used to set props like
|
|
22
|
-
*
|
|
23
|
-
* breadcrumbs in the Header component.
|
|
24
|
-
*
|
|
25
|
-
* 
|
|
26
|
-
*
|
|
27
15
|
*/
|
|
28
16
|
const CustomDomain: React.FC<{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
17
|
+
url: string;
|
|
18
|
+
iconOnly: boolean;
|
|
32
19
|
}>;
|
|
33
20
|
export default CustomDomain;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* A full page common component for managing custom domains. This component can be used when you have multiple associated custom domains.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
*
|
|
8
|
+
* import CustomDomainDashboard from "@bigbinary/neeto-molecules/CustomDomainDashboard";
|
|
9
|
+
*
|
|
10
|
+
* const SETTINGS_BREADCRUMBS = [
|
|
11
|
+
* {
|
|
12
|
+
* text: "Settings",
|
|
13
|
+
* link: "/admin/settings",
|
|
14
|
+
* },
|
|
15
|
+
* ];
|
|
16
|
+
*
|
|
17
|
+
* <CustomDomainDashboard
|
|
18
|
+
* headerProps={{ breadcrumbs: SETTINGS_BREADCRUMBS }}
|
|
19
|
+
* url="api/v1/admin/custom_domains"
|
|
20
|
+
* />;
|
|
21
|
+
* @endexample
|
|
22
|
+
* 
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
const CustomDomainDashboard: React.FC<{
|
|
26
|
+
headerProps: {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
url: string;
|
|
30
|
+
}>;
|
|
31
|
+
export default CustomDomainDashboard;
|