@bigbinary/neeto-molecules 5.1.26 → 5.1.27
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/ShareViaLink.js +2 -1127
- package/dist/ShareViaLink.js.map +1 -1
- package/dist/cjs/ShareViaLink.js +2 -1127
- package/dist/cjs/ShareViaLink.js.map +1 -1
- package/dist/cjs/external-link-C7Cbtssd.js +21 -0
- package/dist/cjs/external-link-C7Cbtssd.js.map +1 -0
- package/dist/cjs/index-Dzzs5KSc.js +1132 -0
- package/dist/cjs/index-Dzzs5KSc.js.map +1 -0
- package/dist/cjs/info-CpwCcUWd.js +21 -0
- package/dist/cjs/info-CpwCcUWd.js.map +1 -0
- package/dist/cjs/v2/DndTable.js +194 -0
- package/dist/cjs/v2/DndTable.js.map +1 -0
- package/dist/cjs/v2/NavigationHeader.js +1 -0
- package/dist/cjs/v2/NavigationHeader.js.map +1 -1
- package/dist/cjs/v2/PublishBlock.js +5 -19
- package/dist/cjs/v2/PublishBlock.js.map +1 -1
- package/dist/cjs/v2/ShareViaLink.js +1041 -0
- package/dist/cjs/v2/ShareViaLink.js.map +1 -0
- package/dist/cjs/v2/SuffixedInput.js +3 -17
- package/dist/cjs/v2/SuffixedInput.js.map +1 -1
- package/dist/cjs/v2/Taxonomy.js +546 -0
- package/dist/cjs/v2/Taxonomy.js.map +1 -0
- package/dist/external-link-Bqki-W-9.js +19 -0
- package/dist/external-link-Bqki-W-9.js.map +1 -0
- package/dist/index-c-mrzXSg.js +1130 -0
- package/dist/index-c-mrzXSg.js.map +1 -0
- package/dist/info-DpOFLPLx.js +19 -0
- package/dist/info-DpOFLPLx.js.map +1 -0
- package/dist/v2/DndTable.js +189 -0
- package/dist/v2/DndTable.js.map +1 -0
- package/dist/v2/NavigationHeader.js +1 -0
- package/dist/v2/NavigationHeader.js.map +1 -1
- package/dist/v2/PublishBlock.js +3 -17
- package/dist/v2/PublishBlock.js.map +1 -1
- package/dist/v2/ShareViaLink.js +1020 -0
- package/dist/v2/ShareViaLink.js.map +1 -0
- package/dist/v2/SuffixedInput.js +2 -16
- package/dist/v2/SuffixedInput.js.map +1 -1
- package/dist/v2/Taxonomy.js +525 -0
- package/dist/v2/Taxonomy.js.map +1 -0
- package/package.json +3 -3
- package/types/v2/DndTable.d.ts +23 -0
- package/types/v2/ShareViaLink.d.ts +61 -0
- package/types/v2/Taxonomy.d.ts +16 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
import { HelpPopoverProps } from "./HelpPopover";
|
|
4
|
+
|
|
5
|
+
type MoreOptions = {
|
|
6
|
+
title: string;
|
|
7
|
+
link: string;
|
|
8
|
+
path: string;
|
|
9
|
+
icon: React.ReactNode;
|
|
10
|
+
onClick?: Function;
|
|
11
|
+
dataTestid: string;
|
|
12
|
+
description?: string | React.ReactNode;
|
|
13
|
+
element: React.ReactNode | React.ElementType;
|
|
14
|
+
helpPopoverProps?: HelpPopoverProps;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
type RegenerateConfig = {
|
|
18
|
+
expiresInOptions: Array<{ label: string; value: string }>;
|
|
19
|
+
helpUrl: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
declare const ShareViaLink: React.FC<{
|
|
23
|
+
title: string | React.ReactNode;
|
|
24
|
+
description?: string | React.ReactNode;
|
|
25
|
+
customTopContent?: React.ReactNode;
|
|
26
|
+
customBottomContent?: React.ReactNode;
|
|
27
|
+
isLoading?: boolean;
|
|
28
|
+
enabledOptions?: { regenerate?: boolean | RegenerateConfig; edit?: boolean };
|
|
29
|
+
entity: {
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
};
|
|
33
|
+
entityName: string;
|
|
34
|
+
handleEdit?: Function;
|
|
35
|
+
handleRegenerate?: Function;
|
|
36
|
+
socialMediaProps: {
|
|
37
|
+
cardTitle?: string | React.ReactNode;
|
|
38
|
+
cardDescription?: string | React.ReactNode;
|
|
39
|
+
pageTitle?: string | React.ReactNode;
|
|
40
|
+
pageDescription?: string | React.ReactNode;
|
|
41
|
+
postTitle?: string;
|
|
42
|
+
};
|
|
43
|
+
qrCodeProps?: {
|
|
44
|
+
cardTitle?: string | React.ReactNode;
|
|
45
|
+
cardDescription?: string | React.ReactNode;
|
|
46
|
+
pageTitle?: string | React.ReactNode;
|
|
47
|
+
pageDescription?: string | React.ReactNode;
|
|
48
|
+
};
|
|
49
|
+
moreOptions?: MoreOptions[];
|
|
50
|
+
disableShareSocialMedia?: boolean;
|
|
51
|
+
disableQRDownload?: boolean;
|
|
52
|
+
urls: {
|
|
53
|
+
prefix?: string;
|
|
54
|
+
editablePath?: string;
|
|
55
|
+
maxLength?: number;
|
|
56
|
+
url: string;
|
|
57
|
+
previewUrl?: string;
|
|
58
|
+
}[];
|
|
59
|
+
}>;
|
|
60
|
+
|
|
61
|
+
export default ShareViaLink;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
declare const Taxonomy: React.FC<{
|
|
4
|
+
breadcrumbs?: Array<{ text: string; link?: string }>;
|
|
5
|
+
columnLabels?: {
|
|
6
|
+
singular?: string;
|
|
7
|
+
plural?: string;
|
|
8
|
+
};
|
|
9
|
+
columnsToShow?: {
|
|
10
|
+
singularColumn?: boolean;
|
|
11
|
+
pluralColumn?: boolean;
|
|
12
|
+
};
|
|
13
|
+
titleHelpPopoverProps?: object;
|
|
14
|
+
}>;
|
|
15
|
+
|
|
16
|
+
export default Taxonomy;
|