@bigbinary/neeto-molecules 5.1.24 → 5.1.26
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/arrow-left-B-s28MD1.js +18 -0
- package/dist/arrow-left-B-s28MD1.js.map +1 -0
- package/dist/cjs/arrow-left-gtCwH31u.js +20 -0
- package/dist/cjs/arrow-left-gtCwH31u.js.map +1 -0
- package/dist/cjs/v2/ImageWithFallback.js +51 -0
- package/dist/cjs/v2/ImageWithFallback.js.map +1 -0
- package/dist/cjs/v2/ProductEmbed.js +4 -17
- package/dist/cjs/v2/ProductEmbed.js.map +1 -1
- package/dist/cjs/v2/ShareRecordingPane.js +305 -0
- package/dist/cjs/v2/ShareRecordingPane.js.map +1 -0
- package/dist/cjs/v2/ShareViaEmail.js +387 -0
- package/dist/cjs/v2/ShareViaEmail.js.map +1 -0
- package/dist/cjs/v2/StatusDropdown.js +161 -0
- package/dist/cjs/v2/StatusDropdown.js.map +1 -0
- package/dist/cjs/v2/SubscriptionNotificationsContainer.js +72 -0
- package/dist/cjs/v2/SubscriptionNotificationsContainer.js.map +1 -0
- package/dist/cjs/v2/SubscriptionUpgradeRequestModal.js +90 -0
- package/dist/cjs/v2/SubscriptionUpgradeRequestModal.js.map +1 -0
- package/dist/cjs/v2/SuffixedInput.js +130 -0
- package/dist/cjs/v2/SuffixedInput.js.map +1 -0
- package/dist/cjs/v2/TimezoneMismatchModal.js +136 -0
- package/dist/cjs/v2/TimezoneMismatchModal.js.map +1 -0
- package/dist/cjs/v2/VersionHistory.js +210 -0
- package/dist/cjs/v2/VersionHistory.js.map +1 -0
- package/dist/v2/ImageWithFallback.js +49 -0
- package/dist/v2/ImageWithFallback.js.map +1 -0
- package/dist/v2/ProductEmbed.js +2 -15
- package/dist/v2/ProductEmbed.js.map +1 -1
- package/dist/v2/ShareRecordingPane.js +303 -0
- package/dist/v2/ShareRecordingPane.js.map +1 -0
- package/dist/v2/ShareViaEmail.js +366 -0
- package/dist/v2/ShareViaEmail.js.map +1 -0
- package/dist/v2/StatusDropdown.js +159 -0
- package/dist/v2/StatusDropdown.js.map +1 -0
- package/dist/v2/SubscriptionNotificationsContainer.js +70 -0
- package/dist/v2/SubscriptionNotificationsContainer.js.map +1 -0
- package/dist/v2/SubscriptionUpgradeRequestModal.js +88 -0
- package/dist/v2/SubscriptionUpgradeRequestModal.js.map +1 -0
- package/dist/v2/SuffixedInput.js +128 -0
- package/dist/v2/SuffixedInput.js.map +1 -0
- package/dist/v2/TimezoneMismatchModal.js +134 -0
- package/dist/v2/TimezoneMismatchModal.js.map +1 -0
- package/dist/v2/VersionHistory.js +208 -0
- package/dist/v2/VersionHistory.js.map +1 -0
- package/package.json +1 -1
- package/src/translations/ar.json +10 -3
- package/src/translations/bg.json +10 -3
- package/src/translations/ca.json +10 -3
- package/src/translations/cs.json +10 -3
- package/src/translations/da.json +10 -3
- package/src/translations/de.json +10 -3
- package/src/translations/es-MX.json +10 -3
- package/src/translations/es.json +10 -3
- package/src/translations/et.json +10 -3
- package/src/translations/fi.json +10 -3
- package/src/translations/fil.json +10 -3
- package/src/translations/fr.json +10 -3
- package/src/translations/he.json +10 -3
- package/src/translations/hi.json +10 -3
- package/src/translations/hr.json +10 -3
- package/src/translations/hu.json +10 -3
- package/src/translations/id.json +10 -3
- package/src/translations/it.json +10 -3
- package/src/translations/ja.json +9 -2
- package/src/translations/ko.json +9 -2
- package/src/translations/nl.json +10 -3
- package/src/translations/pl.json +10 -3
- package/src/translations/pt-BR.json +10 -3
- package/src/translations/pt.json +10 -3
- package/src/translations/ro.json +10 -3
- package/src/translations/ru.json +10 -3
- package/src/translations/sk.json +10 -3
- package/src/translations/sl.json +10 -3
- package/src/translations/sv.json +10 -3
- package/src/translations/th.json +9 -2
- package/src/translations/tr.json +10 -3
- package/src/translations/uk.json +10 -3
- package/src/translations/vi.json +10 -3
- package/src/translations/zh-CN.json +10 -3
- package/src/translations/zh-TW.json +10 -3
- package/types/v2/ImageWithFallback.d.ts +9 -0
- package/types/v2/ShareRecordingPane.d.ts +16 -0
- package/types/v2/ShareViaEmail.d.ts +34 -0
- package/types/v2/StatusDropdown.d.ts +16 -0
- package/types/v2/SubscriptionNotificationsContainer.d.ts +5 -0
- package/types/v2/SubscriptionUpgradeRequestModal.d.ts +8 -0
- package/types/v2/SuffixedInput.d.ts +16 -0
- package/types/v2/TimezoneMismatchModal.d.ts +8 -0
- package/types/v2/VersionHistory.d.ts +44 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
declare const ShareRecordingPane: React.FC<{
|
|
4
|
+
recordingUrl: string;
|
|
5
|
+
recordingUrls?: Array<string>;
|
|
6
|
+
totalDuration: number;
|
|
7
|
+
getCurrentTimestamp: () => number;
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
onClose: Function;
|
|
10
|
+
isLoading?: boolean;
|
|
11
|
+
preview?: React.ElementType;
|
|
12
|
+
size?: "extraLarge" | "large" | "small";
|
|
13
|
+
enableAutoplayAndMuteFlags?: boolean;
|
|
14
|
+
}>;
|
|
15
|
+
|
|
16
|
+
export default ShareRecordingPane;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const ShareViaEmail: React.FC<{
|
|
4
|
+
backToUrl?: string;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
description?: string;
|
|
7
|
+
disableReplyTo?: boolean;
|
|
8
|
+
showSendFromField?: boolean;
|
|
9
|
+
defaultValues?: {
|
|
10
|
+
sendFromEmail?: string;
|
|
11
|
+
replyToEmail?: string;
|
|
12
|
+
emailSubject?: string;
|
|
13
|
+
emailBody?: string;
|
|
14
|
+
actionButtonText?: string;
|
|
15
|
+
};
|
|
16
|
+
handleSubmit: (data: {
|
|
17
|
+
sendFromEmail: string;
|
|
18
|
+
replyToEmail: string;
|
|
19
|
+
notifyEmails: {
|
|
20
|
+
label: string;
|
|
21
|
+
value: string;
|
|
22
|
+
valid: boolean;
|
|
23
|
+
}[];
|
|
24
|
+
emailSubject: string;
|
|
25
|
+
emailBody: string;
|
|
26
|
+
isSendLaterEnabled: boolean;
|
|
27
|
+
sendEmailDatetime: string;
|
|
28
|
+
category: string;
|
|
29
|
+
actionButtonText: string;
|
|
30
|
+
}) => void;
|
|
31
|
+
showVideoEmbedInEditor?: boolean;
|
|
32
|
+
title?: string;
|
|
33
|
+
}>;
|
|
34
|
+
export default ShareViaEmail;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const StatusDropdown: React.FC<{
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
hiddenStatuses?: Array<string>;
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
onItemClick: (status: object) => void;
|
|
8
|
+
options: Array<object>;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
selectedValue: string;
|
|
11
|
+
shouldShowAllOptions?: boolean;
|
|
12
|
+
isClearable?: boolean;
|
|
13
|
+
onClear?: () => void;
|
|
14
|
+
}>;
|
|
15
|
+
|
|
16
|
+
export default StatusDropdown;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const SuffixedInput: React.FC<{
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
helpUrl?: string;
|
|
6
|
+
helpIconTooltipContent?: string;
|
|
7
|
+
label: string;
|
|
8
|
+
value: string;
|
|
9
|
+
getInputRef?: (ref: HTMLInputElement | null) => void;
|
|
10
|
+
suffix: string;
|
|
11
|
+
isCopyToClipboardEnabled?: boolean;
|
|
12
|
+
name?: string;
|
|
13
|
+
inputProps?: object;
|
|
14
|
+
}>;
|
|
15
|
+
|
|
16
|
+
export default SuffixedInput;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
import { ButtonProps, PaneProps, TypographyProps } from "@bigbinary/neetoui";
|
|
4
|
+
|
|
5
|
+
type Version = {
|
|
6
|
+
id: string;
|
|
7
|
+
date: Date;
|
|
8
|
+
user: string;
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
isDraft?: boolean;
|
|
11
|
+
isPublished?: boolean;
|
|
12
|
+
showMoreDropdown?: boolean;
|
|
13
|
+
moreDropdownProps?: MoreDropdownProps;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
type MoreDropdownProps = {
|
|
17
|
+
menuItems: MenuItem[];
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
dropdownButtonProps?: Record<string, any>;
|
|
20
|
+
dropdownProps?: Record<string, any>;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
type MenuItem = {
|
|
24
|
+
key: string;
|
|
25
|
+
label: string;
|
|
26
|
+
onClick: () => void;
|
|
27
|
+
prefix?: React.ReactNode;
|
|
28
|
+
suffix?: React.ReactNode;
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
const VersionHistory: React.FC<{
|
|
34
|
+
isOpen: boolean;
|
|
35
|
+
onClose: () => void;
|
|
36
|
+
isLoading?: boolean;
|
|
37
|
+
draftVersions?: Version[];
|
|
38
|
+
publishedVersions?: Version[];
|
|
39
|
+
paneTitle?: string;
|
|
40
|
+
showRefreshButton?: boolean;
|
|
41
|
+
onRefreshClick?: () => void;
|
|
42
|
+
}>;
|
|
43
|
+
|
|
44
|
+
export default VersionHistory;
|