@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.
Files changed (89) hide show
  1. package/dist/arrow-left-B-s28MD1.js +18 -0
  2. package/dist/arrow-left-B-s28MD1.js.map +1 -0
  3. package/dist/cjs/arrow-left-gtCwH31u.js +20 -0
  4. package/dist/cjs/arrow-left-gtCwH31u.js.map +1 -0
  5. package/dist/cjs/v2/ImageWithFallback.js +51 -0
  6. package/dist/cjs/v2/ImageWithFallback.js.map +1 -0
  7. package/dist/cjs/v2/ProductEmbed.js +4 -17
  8. package/dist/cjs/v2/ProductEmbed.js.map +1 -1
  9. package/dist/cjs/v2/ShareRecordingPane.js +305 -0
  10. package/dist/cjs/v2/ShareRecordingPane.js.map +1 -0
  11. package/dist/cjs/v2/ShareViaEmail.js +387 -0
  12. package/dist/cjs/v2/ShareViaEmail.js.map +1 -0
  13. package/dist/cjs/v2/StatusDropdown.js +161 -0
  14. package/dist/cjs/v2/StatusDropdown.js.map +1 -0
  15. package/dist/cjs/v2/SubscriptionNotificationsContainer.js +72 -0
  16. package/dist/cjs/v2/SubscriptionNotificationsContainer.js.map +1 -0
  17. package/dist/cjs/v2/SubscriptionUpgradeRequestModal.js +90 -0
  18. package/dist/cjs/v2/SubscriptionUpgradeRequestModal.js.map +1 -0
  19. package/dist/cjs/v2/SuffixedInput.js +130 -0
  20. package/dist/cjs/v2/SuffixedInput.js.map +1 -0
  21. package/dist/cjs/v2/TimezoneMismatchModal.js +136 -0
  22. package/dist/cjs/v2/TimezoneMismatchModal.js.map +1 -0
  23. package/dist/cjs/v2/VersionHistory.js +210 -0
  24. package/dist/cjs/v2/VersionHistory.js.map +1 -0
  25. package/dist/v2/ImageWithFallback.js +49 -0
  26. package/dist/v2/ImageWithFallback.js.map +1 -0
  27. package/dist/v2/ProductEmbed.js +2 -15
  28. package/dist/v2/ProductEmbed.js.map +1 -1
  29. package/dist/v2/ShareRecordingPane.js +303 -0
  30. package/dist/v2/ShareRecordingPane.js.map +1 -0
  31. package/dist/v2/ShareViaEmail.js +366 -0
  32. package/dist/v2/ShareViaEmail.js.map +1 -0
  33. package/dist/v2/StatusDropdown.js +159 -0
  34. package/dist/v2/StatusDropdown.js.map +1 -0
  35. package/dist/v2/SubscriptionNotificationsContainer.js +70 -0
  36. package/dist/v2/SubscriptionNotificationsContainer.js.map +1 -0
  37. package/dist/v2/SubscriptionUpgradeRequestModal.js +88 -0
  38. package/dist/v2/SubscriptionUpgradeRequestModal.js.map +1 -0
  39. package/dist/v2/SuffixedInput.js +128 -0
  40. package/dist/v2/SuffixedInput.js.map +1 -0
  41. package/dist/v2/TimezoneMismatchModal.js +134 -0
  42. package/dist/v2/TimezoneMismatchModal.js.map +1 -0
  43. package/dist/v2/VersionHistory.js +208 -0
  44. package/dist/v2/VersionHistory.js.map +1 -0
  45. package/package.json +1 -1
  46. package/src/translations/ar.json +10 -3
  47. package/src/translations/bg.json +10 -3
  48. package/src/translations/ca.json +10 -3
  49. package/src/translations/cs.json +10 -3
  50. package/src/translations/da.json +10 -3
  51. package/src/translations/de.json +10 -3
  52. package/src/translations/es-MX.json +10 -3
  53. package/src/translations/es.json +10 -3
  54. package/src/translations/et.json +10 -3
  55. package/src/translations/fi.json +10 -3
  56. package/src/translations/fil.json +10 -3
  57. package/src/translations/fr.json +10 -3
  58. package/src/translations/he.json +10 -3
  59. package/src/translations/hi.json +10 -3
  60. package/src/translations/hr.json +10 -3
  61. package/src/translations/hu.json +10 -3
  62. package/src/translations/id.json +10 -3
  63. package/src/translations/it.json +10 -3
  64. package/src/translations/ja.json +9 -2
  65. package/src/translations/ko.json +9 -2
  66. package/src/translations/nl.json +10 -3
  67. package/src/translations/pl.json +10 -3
  68. package/src/translations/pt-BR.json +10 -3
  69. package/src/translations/pt.json +10 -3
  70. package/src/translations/ro.json +10 -3
  71. package/src/translations/ru.json +10 -3
  72. package/src/translations/sk.json +10 -3
  73. package/src/translations/sl.json +10 -3
  74. package/src/translations/sv.json +10 -3
  75. package/src/translations/th.json +9 -2
  76. package/src/translations/tr.json +10 -3
  77. package/src/translations/uk.json +10 -3
  78. package/src/translations/vi.json +10 -3
  79. package/src/translations/zh-CN.json +10 -3
  80. package/src/translations/zh-TW.json +10 -3
  81. package/types/v2/ImageWithFallback.d.ts +9 -0
  82. package/types/v2/ShareRecordingPane.d.ts +16 -0
  83. package/types/v2/ShareViaEmail.d.ts +34 -0
  84. package/types/v2/StatusDropdown.d.ts +16 -0
  85. package/types/v2/SubscriptionNotificationsContainer.d.ts +5 -0
  86. package/types/v2/SubscriptionUpgradeRequestModal.d.ts +8 -0
  87. package/types/v2/SuffixedInput.d.ts +16 -0
  88. package/types/v2/TimezoneMismatchModal.d.ts +8 -0
  89. package/types/v2/VersionHistory.d.ts +44 -0
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+
3
+ const ImageWithFallback: React.FC<{
4
+ src: string;
5
+ fallback?: React.ReactNode;
6
+
7
+ }>;
8
+
9
+ export default ImageWithFallback;
@@ -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,5 @@
1
+ import React from "react";
2
+
3
+ const SubscriptionNotificationsContainer: React.FC<{}>;
4
+
5
+ export default SubscriptionNotificationsContainer;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+
3
+ const SubscriptionUpgradeRequestModal: React.FC<{
4
+ isOpen: boolean;
5
+ onClose: () => void;
6
+ }>;
7
+
8
+ export default SubscriptionUpgradeRequestModal;
@@ -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,8 @@
1
+ import React from "react";
2
+
3
+ const TimezoneMismatchModal: React.FC<{
4
+ isOpen?: boolean;
5
+ onClose?: Function;
6
+ }>;
7
+
8
+ export default TimezoneMismatchModal;
@@ -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;