@bigbinary/neeto-molecules 1.0.44 → 1.0.46
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/KeyboardShortcuts.cjs.js +0 -4
- package/dist/KeyboardShortcuts.cjs.js.map +1 -1
- package/dist/KeyboardShortcuts.js +0 -4
- package/dist/KeyboardShortcuts.js.map +1 -1
- package/package.json +1 -1
- package/src/translations/en.json +2 -4
- package/types/CustomDomain.d.ts +7 -20
- package/types/CustomDomainDashboard.d.ts +31 -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.46",
|
|
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>",
|
package/src/translations/en.json
CHANGED
|
@@ -245,7 +245,6 @@
|
|
|
245
245
|
"browserSupport": {
|
|
246
246
|
"unsupportedBrowserVersion": "You are using {{browserName}} {{browserVersion}}. neeto requires {{browserName}} {{requiredMinBrowserVersion}} or later to perform reliably. <downloadLink></downloadLink><contactUs></contactUs>",
|
|
247
247
|
"unsupportedBrowser": "You are using {{browserName}} {{browserVersion}}. neeto requires a modern browser to perform reliably. <contactUs></contactUs>",
|
|
248
|
-
"yourBrowserIsFine": "This is how the <tag>BrowserSupport</tag> component will look if the user's browser is out of date.<br/><strong>Your browser is just fine.</strong>",
|
|
249
248
|
"downloadLink": {
|
|
250
249
|
"main": "Please <button></button> the latest browser.",
|
|
251
250
|
"buttonLabel": "download and install"
|
|
@@ -327,10 +326,9 @@
|
|
|
327
326
|
"viewFullListOfShortcuts": "View full list of shortcuts",
|
|
328
327
|
"global": {
|
|
329
328
|
"categoryName": "GLOBAL",
|
|
330
|
-
"openKeyboardShortcutsPane": "
|
|
329
|
+
"openKeyboardShortcutsPane": "See keyboard shortcuts",
|
|
331
330
|
"close": "Close modals, panes",
|
|
332
|
-
"submitForm": "Submit form or text input"
|
|
333
|
-
"addNewLineOrSubmitForm": "Add new line in textarea or submit form"
|
|
331
|
+
"submitForm": "Submit form or text input"
|
|
334
332
|
}
|
|
335
333
|
},
|
|
336
334
|
"emailPreview": {
|
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;
|