@bigbinary/neeto-molecules 3.9.9 → 3.9.11
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/DocumentEditor.js +5 -2
- package/dist/DocumentEditor.js.map +1 -1
- package/dist/cjs/DocumentEditor.js +5 -2
- package/dist/cjs/DocumentEditor.js.map +1 -1
- package/package.json +3 -1
- package/types/AuditLogs.d.ts +5 -3
- package/types/Breadcrumbs.d.ts +5 -3
- package/types/BrowserSupport.d.ts +5 -3
- package/types/Builder.d.ts +5 -7
- package/types/CalendarView.d.ts +8 -6
- package/types/Codeblock.d.ts +7 -5
- package/types/Columns.d.ts +8 -6
- package/types/ConfigurePageSidebar.d.ts +5 -3
- package/types/ConfirmationModal.d.ts +5 -3
- package/types/Container.d.ts +5 -3
- package/types/CopyToClipboardButton.d.ts +6 -4
- package/types/Currency.d.ts +7 -5
- package/types/CustomDomain.d.ts +6 -4
- package/types/CustomDomainDashboard.d.ts +6 -4
- package/types/DateFormat.d.ts +5 -9
- package/types/DateRangeFilter.d.ts +7 -5
- package/types/DeleteArchiveModal.d.ts +5 -3
- package/types/DeviceIncompatibilityMessage.d.ts +5 -3
- package/types/DocumentEditor.d.ts +6 -4
- package/types/DownloadMobileAppCallout.d.ts +5 -3
- package/types/DynamicVariables.d.ts +6 -4
- package/types/EmailForm.d.ts +7 -5
- package/types/EmailFormProvider.d.ts +3 -2
- package/types/EmailPreview.d.ts +5 -3
- package/types/EmojiPicker.d.ts +6 -4
- package/types/EmojiReactions.d.ts +5 -3
- package/types/ErrorPage.d.ts +6 -4
- package/types/FileUpload.d.ts +8 -6
- package/types/FloatingActionMenu.d.ts +6 -4
- package/types/GoogleFontPicker.d.ts +27 -20
- package/types/Header.d.ts +9 -6
- package/types/HelpPopover.d.ts +7 -5
- package/types/IconPicker.d.ts +5 -3
- package/types/ImageWithFallback.d.ts +5 -3
- package/types/InlineInput.d.ts +9 -7
- package/types/Insights.d.ts +5 -4
- package/types/IntegrationCard.d.ts +7 -5
- package/types/IpRestriction.d.ts +5 -3
- package/types/KeyboardShortcuts.d.ts +6 -4
- package/types/LoginPage.d.ts +5 -3
- package/types/MadeWith.d.ts +5 -3
- package/types/MenuBar.d.ts +7 -5
- package/types/Metadata.d.ts +5 -3
- package/types/MobilePreviewHeader.d.ts +5 -3
- package/types/MoreDropdown.d.ts +6 -4
- package/types/NavigationHeader.d.ts +7 -6
- package/types/NeetoWidget.d.ts +5 -3
- package/types/Onboarding.d.ts +5 -3
- package/types/OptionFields.d.ts +4 -2
- package/types/PageLoader.d.ts +5 -3
- package/types/PhoneNumber.d.ts +15 -13
- package/types/ProductEmbed.d.ts +5 -3
- package/types/PublishBlock.d.ts +6 -4
- package/types/Rename.d.ts +6 -4
- package/types/ResponsiveDevicePicker.d.ts +5 -3
- package/types/Schedule.d.ts +5 -3
- package/types/Scrollable.d.ts +6 -4
- package/types/Search.d.ts +6 -4
- package/types/SendToFields.d.ts +6 -4
- package/types/SessionEnvironment.d.ts +8 -5
- package/types/Settings.d.ts +5 -4
- package/types/ShareRecordingPane.d.ts +4 -2
- package/types/ShareViaEmail.d.ts +5 -3
- package/types/ShareViaLink.d.ts +5 -4
- package/types/Sidebar.d.ts +7 -5
- package/types/StatusDropdown.d.ts +5 -3
- package/types/StickyRibbonsContainer.d.ts +5 -3
- package/types/SubHeader.d.ts +7 -5
- package/types/SuffixedInput.d.ts +5 -3
- package/types/TableWrapper.d.ts +5 -3
- package/types/Taxonomy.d.ts +6 -4
- package/types/TimeFormat.d.ts +5 -9
- package/types/TimezoneMismatchModal.d.ts +5 -3
- package/types/ToggleFeatureCard.d.ts +7 -5
package/types/LoginPage.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
*
|
|
4
5
|
* A common login page for all neeto-applications with dedicated button for oliver
|
|
@@ -32,7 +33,7 @@ import React from "react";
|
|
|
32
33
|
* }
|
|
33
34
|
* @endexample
|
|
34
35
|
*/
|
|
35
|
-
const LoginPage: React.FC<{
|
|
36
|
+
declare const LoginPage: React.FC<{
|
|
36
37
|
handleSubmit: (data: {
|
|
37
38
|
user: {
|
|
38
39
|
email: string;
|
|
@@ -40,4 +41,5 @@ const LoginPage: React.FC<{
|
|
|
40
41
|
};
|
|
41
42
|
}) => any;
|
|
42
43
|
}>;
|
|
43
|
-
|
|
44
|
+
|
|
45
|
+
export { LoginPage as default };
|
package/types/MadeWith.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
*
|
|
4
5
|
* A component used for rendering made with block.
|
|
@@ -10,7 +11,8 @@ import React from "react";
|
|
|
10
11
|
* <MadeWith />;
|
|
11
12
|
* @endexample
|
|
12
13
|
*/
|
|
13
|
-
const MadeWith: React.FC<{
|
|
14
|
+
declare const MadeWith: React.FC<{
|
|
14
15
|
productName?: string;
|
|
15
16
|
}>;
|
|
16
|
-
|
|
17
|
+
|
|
18
|
+
export { MadeWith as default };
|
package/types/MenuBar.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { ButtonProps, InputProps } from
|
|
3
|
-
import { LinkProps } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonProps, InputProps } from '@bigbinary/neetoui';
|
|
3
|
+
import { LinkProps } from 'react-router-dom';
|
|
4
|
+
|
|
4
5
|
type BlockProps = {
|
|
5
6
|
label: string;
|
|
6
7
|
url?: string;
|
|
@@ -110,7 +111,7 @@ type AddNewProps = {
|
|
|
110
111
|
* };
|
|
111
112
|
* @endexample
|
|
112
113
|
*/
|
|
113
|
-
const MenuBar: React.FC<{
|
|
114
|
+
declare const MenuBar: React.FC<{
|
|
114
115
|
title?: string;
|
|
115
116
|
showMenu?: boolean;
|
|
116
117
|
className?: string;
|
|
@@ -122,4 +123,5 @@ const MenuBar: React.FC<{
|
|
|
122
123
|
Search: React.FC<SearchProps>;
|
|
123
124
|
AddNew: React.FC<AddNewProps>;
|
|
124
125
|
};
|
|
125
|
-
|
|
126
|
+
|
|
127
|
+
export { MenuBar as default };
|
package/types/Metadata.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
2
3
|
type BlockProps = {
|
|
3
4
|
title?: React.ReactNode;
|
|
4
5
|
actionBlock?: React.ReactNode;
|
|
@@ -99,9 +100,10 @@ interface BlockComposition {
|
|
|
99
100
|
* );
|
|
100
101
|
* @endexample
|
|
101
102
|
*/
|
|
102
|
-
const Metadata: React.FC<{
|
|
103
|
+
declare const Metadata: React.FC<{
|
|
103
104
|
className?: string;
|
|
104
105
|
headerBlock?: React.ReactNode;
|
|
105
106
|
size?: "small" | "medium";
|
|
106
107
|
}> & BlockComposition;
|
|
107
|
-
|
|
108
|
+
|
|
109
|
+
export { Metadata as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
*
|
|
4
5
|
* Can be used to show preview message for smaller viewports.
|
|
@@ -10,8 +11,9 @@ import React from "react";
|
|
|
10
11
|
* const App = () => <MobilePreviewHeader />;
|
|
11
12
|
* @endexample
|
|
12
13
|
*/
|
|
13
|
-
const MobilePreviewHeader: React.FC<{
|
|
14
|
+
declare const MobilePreviewHeader: React.FC<{
|
|
14
15
|
message?: React.ReactNode;
|
|
15
16
|
className?: string;
|
|
16
17
|
}>;
|
|
17
|
-
|
|
18
|
+
|
|
19
|
+
export { MobilePreviewHeader as default };
|
package/types/MoreDropdown.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import React from
|
|
1
|
+
import { DropdownProps, ButtonProps } from '@bigbinary/neetoui';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
3
4
|
type MenuItems = {
|
|
4
5
|
label: string;
|
|
5
6
|
onClick: () => void;
|
|
@@ -38,7 +39,7 @@ type DropdownButtonProps = {
|
|
|
38
39
|
* );
|
|
39
40
|
* @endexample
|
|
40
41
|
*/
|
|
41
|
-
const MoreDropdown: React.FC<{
|
|
42
|
+
declare const MoreDropdown: React.FC<{
|
|
42
43
|
dropdownButtonProps?: DropdownButtonProps;
|
|
43
44
|
isVertical?: boolean;
|
|
44
45
|
isDisabled?: boolean;
|
|
@@ -47,4 +48,5 @@ const MoreDropdown: React.FC<{
|
|
|
47
48
|
menuBottomChildren: React.ReactNode;
|
|
48
49
|
menuItems: MenuItems[];
|
|
49
50
|
}>;
|
|
50
|
-
|
|
51
|
+
|
|
52
|
+
export { MoreDropdown as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonProps } from '@bigbinary/neetoui';
|
|
3
|
+
import Rename from './Rename.js';
|
|
4
|
+
|
|
5
5
|
interface NavLinkProps {
|
|
6
6
|
activeClassName?: string | undefined;
|
|
7
7
|
activeStyle?: React.CSSProperties | undefined;
|
|
@@ -166,7 +166,7 @@ type LeftBlockPropTypes = {
|
|
|
166
166
|
* );
|
|
167
167
|
* @endexample
|
|
168
168
|
*/
|
|
169
|
-
const NavigationHeader: React.FC<{
|
|
169
|
+
declare const NavigationHeader: React.FC<{
|
|
170
170
|
leftActionBlock?: React.ReactNode;
|
|
171
171
|
navigationLinks?: React.ReactNode;
|
|
172
172
|
rightActionBlock?: React.ReactNode;
|
|
@@ -175,4 +175,5 @@ const NavigationHeader: React.FC<{
|
|
|
175
175
|
NavigationLinks: React.FC<NavigationLinkPropsType>;
|
|
176
176
|
LeftActionBlock: React.FC<LeftBlockPropTypes>;
|
|
177
177
|
};
|
|
178
|
-
|
|
178
|
+
|
|
179
|
+
export { NavigationHeader as default };
|
package/types/NeetoWidget.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
2
3
|
type EmbedCode = React.FC<{
|
|
3
4
|
maxWidth?: string;
|
|
4
5
|
primaryApp?: string;
|
|
@@ -30,7 +31,7 @@ type EmbedCode = React.FC<{
|
|
|
30
31
|
* <NeetoWidget.EmbedCode primaryApp={NeetoWidget.WIDGET_TYPES.chat} />
|
|
31
32
|
* @endexample
|
|
32
33
|
*/
|
|
33
|
-
const NeetoWidget: {
|
|
34
|
+
declare const NeetoWidget: {
|
|
34
35
|
EmbedCode: EmbedCode;
|
|
35
36
|
WIDGET_TYPES: {
|
|
36
37
|
engage: "engage";
|
|
@@ -38,4 +39,5 @@ const NeetoWidget: {
|
|
|
38
39
|
replay: "replay";
|
|
39
40
|
};
|
|
40
41
|
};
|
|
41
|
-
|
|
42
|
+
|
|
43
|
+
export { NeetoWidget as default };
|
package/types/Onboarding.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
2
3
|
interface OnboardingComponent {
|
|
3
4
|
key: string;
|
|
4
5
|
element: React.ReactNode;
|
|
@@ -56,7 +57,7 @@ interface OnboardingComponent {
|
|
|
56
57
|
* };
|
|
57
58
|
* @endexample
|
|
58
59
|
*/
|
|
59
|
-
const Onboarding: React.FC<{
|
|
60
|
+
declare const Onboarding: React.FC<{
|
|
60
61
|
currentStep: string;
|
|
61
62
|
completeButtonProps: Object;
|
|
62
63
|
setCurrentStep: React.Dispatch<React.SetStateAction<string>>;
|
|
@@ -65,4 +66,5 @@ const Onboarding: React.FC<{
|
|
|
65
66
|
isAnimated?: boolean;
|
|
66
67
|
disableStepClick?: boolean;
|
|
67
68
|
}>;
|
|
68
|
-
|
|
69
|
+
|
|
70
|
+
export { Onboarding as default };
|
package/types/OptionFields.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
2
3
|
type Option = {
|
|
3
4
|
label: string;
|
|
4
5
|
id: string;
|
|
@@ -59,4 +60,5 @@ type OptionFieldsProps = {
|
|
|
59
60
|
*
|
|
60
61
|
*/
|
|
61
62
|
declare const OptionFields: React.FC<OptionFieldsProps>;
|
|
62
|
-
|
|
63
|
+
|
|
64
|
+
export { OptionFields as default };
|
package/types/PageLoader.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
*
|
|
4
5
|
* Used in neeto products as the page loader to indicate that the page is being
|
|
@@ -32,7 +33,8 @@ import React from "react";
|
|
|
32
33
|
* };
|
|
33
34
|
* @endexample
|
|
34
35
|
*/
|
|
35
|
-
const PageLoader: React.FC<{
|
|
36
|
+
declare const PageLoader: React.FC<{
|
|
36
37
|
text?: string;
|
|
37
38
|
}>;
|
|
38
|
-
|
|
39
|
+
|
|
40
|
+
export { PageLoader as default };
|
package/types/PhoneNumber.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { InputProps, SelectProps, TypographyProps } from
|
|
3
|
-
import { CountryCode } from
|
|
4
|
-
import { StringSchema } from
|
|
5
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { InputProps, SelectProps, TypographyProps } from '@bigbinary/neetoui';
|
|
3
|
+
import { CountryCode } from 'libphonenumber-js';
|
|
4
|
+
import { StringSchema } from 'yup';
|
|
5
|
+
|
|
6
|
+
interface PhoneNumberInputProps extends InputProps {
|
|
6
7
|
value?: string;
|
|
7
8
|
onChange?: (value: string) => any;
|
|
8
9
|
className?: string;
|
|
@@ -10,19 +11,18 @@ export interface PhoneNumberInputProps extends InputProps {
|
|
|
10
11
|
error?: string;
|
|
11
12
|
initialCountryCode?: string;
|
|
12
13
|
}
|
|
13
|
-
|
|
14
|
+
interface FormikPhoneNumberInputProps extends PhoneNumberInputProps {
|
|
14
15
|
name: string;
|
|
15
16
|
}
|
|
16
|
-
|
|
17
|
+
interface PhoneNumberProps extends TypographyProps {
|
|
17
18
|
className?: string;
|
|
18
19
|
defaultCountry?: string;
|
|
19
20
|
children?: React.ReactNode;
|
|
20
21
|
showEmoji?: boolean;
|
|
21
22
|
value?: string;
|
|
22
23
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
export
|
|
24
|
+
declare const PhoneNumberInput: React.ForwardRefExoticComponent<PhoneNumberInputProps>;
|
|
25
|
+
declare const FormikPhoneNumberInput: React.ForwardRefExoticComponent<FormikPhoneNumberInputProps>;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* An input component to input and validate phone numbers with a country code
|
|
@@ -102,9 +102,11 @@ export
|
|
|
102
102
|
* whether the phone number is valid or not.
|
|
103
103
|
*
|
|
104
104
|
*/
|
|
105
|
-
const PhoneNumber: React.FC<PhoneNumberProps>;
|
|
106
|
-
|
|
105
|
+
declare const PhoneNumber: React.FC<PhoneNumberProps>;
|
|
106
|
+
declare const isPhoneNumberValid: (phoneNumber: string, defaultCountry?: CountryCode | {
|
|
107
107
|
defaultCountry?: CountryCode;
|
|
108
108
|
defaultCallingCode?: string;
|
|
109
109
|
}) => boolean;
|
|
110
|
-
|
|
110
|
+
declare const validation: (message?: string) => StringSchema<any, any, any>;
|
|
111
|
+
|
|
112
|
+
export { FormikPhoneNumberInput, type FormikPhoneNumberInputProps, PhoneNumber, PhoneNumberInput, type PhoneNumberInputProps, type PhoneNumberProps, isPhoneNumberValid, validation };
|
package/types/ProductEmbed.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
2
3
|
interface InlineProps {
|
|
3
4
|
label: string;
|
|
4
5
|
description: string;
|
|
@@ -69,7 +70,7 @@ interface ElementPopupProps {
|
|
|
69
70
|
* export default EmbedPage;
|
|
70
71
|
* @endexample
|
|
71
72
|
*/
|
|
72
|
-
const ProductEmbed: React.FC<{
|
|
73
|
+
declare const ProductEmbed: React.FC<{
|
|
73
74
|
className?: string;
|
|
74
75
|
goBackLink?: string;
|
|
75
76
|
customEmbedScriptPath?: string;
|
|
@@ -85,4 +86,5 @@ const ProductEmbed: React.FC<{
|
|
|
85
86
|
otherCustomizations?: Function;
|
|
86
87
|
inlineWrapperStyle?: string;
|
|
87
88
|
}>;
|
|
88
|
-
|
|
89
|
+
|
|
90
|
+
export { ProductEmbed as default };
|
package/types/PublishBlock.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { AlertProps, ButtonProps } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AlertProps, ButtonProps } from '@bigbinary/neetoui';
|
|
3
|
+
|
|
3
4
|
interface PublishPaneProps {
|
|
4
5
|
isSubmitting: boolean;
|
|
5
6
|
onPublish: (params: {
|
|
@@ -140,7 +141,8 @@ interface PublishBlockProps {
|
|
|
140
141
|
* };
|
|
141
142
|
* @endexample
|
|
142
143
|
*/
|
|
143
|
-
const PublishBlock: React.FC<PublishBlockProps> & {
|
|
144
|
+
declare const PublishBlock: React.FC<PublishBlockProps> & {
|
|
144
145
|
Alert: React.FC<AlertProps>;
|
|
145
146
|
};
|
|
146
|
-
|
|
147
|
+
|
|
148
|
+
export { PublishBlock as default };
|
package/types/Rename.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ButtonProps,
|
|
2
|
-
import React from
|
|
1
|
+
import { ButtonProps, TypographyProps, InputProps } from '@bigbinary/neetoui';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
3
4
|
/**
|
|
4
5
|
*
|
|
5
6
|
* The Rename component is used to rename a resource on the page, It can be used as
|
|
@@ -40,7 +41,7 @@ import React from "react";
|
|
|
40
41
|
* };
|
|
41
42
|
* @endexample
|
|
42
43
|
*/
|
|
43
|
-
const Rename: React.FC<{
|
|
44
|
+
declare const Rename: React.FC<{
|
|
44
45
|
className?: string;
|
|
45
46
|
isOpen?: boolean;
|
|
46
47
|
allowEmptySubmission: boolean;
|
|
@@ -68,4 +69,5 @@ const Rename: React.FC<{
|
|
|
68
69
|
dropdownButtonProps: ButtonProps;
|
|
69
70
|
dropdownProps: DropdownProps;
|
|
70
71
|
}>;
|
|
71
|
-
|
|
72
|
+
|
|
73
|
+
export { Rename as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
2
3
|
type SelectedDeviceState = "desktop" | "tablet" | "mobile";
|
|
3
4
|
/**
|
|
4
5
|
*
|
|
@@ -22,9 +23,10 @@ type SelectedDeviceState = "desktop" | "tablet" | "mobile";
|
|
|
22
23
|
* };
|
|
23
24
|
* @endexample
|
|
24
25
|
*/
|
|
25
|
-
const ResponsiveDevicePicker: React.FC<{
|
|
26
|
+
declare const ResponsiveDevicePicker: React.FC<{
|
|
26
27
|
className?: string;
|
|
27
28
|
selectedDevice?: SelectedDeviceState;
|
|
28
29
|
onDeviceChange?: (device: SelectedDeviceState) => void;
|
|
29
30
|
}>;
|
|
30
|
-
|
|
31
|
+
|
|
32
|
+
export { ResponsiveDevicePicker as default };
|
package/types/Schedule.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
*
|
|
4
5
|
* It is a component which allows setting working hours for the week.
|
|
@@ -124,7 +125,7 @@ import React from "react";
|
|
|
124
125
|
* };
|
|
125
126
|
* @endexample
|
|
126
127
|
*/
|
|
127
|
-
const Schedule: React.FC<{
|
|
128
|
+
declare const Schedule: React.FC<{
|
|
128
129
|
isEditing?: boolean;
|
|
129
130
|
setIsEditing?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
130
131
|
handleSubmit?: Function;
|
|
@@ -141,4 +142,5 @@ const Schedule: React.FC<{
|
|
|
141
142
|
showTimeZone?: boolean;
|
|
142
143
|
slotInterval?: number;
|
|
143
144
|
}>;
|
|
144
|
-
|
|
145
|
+
|
|
146
|
+
export { Schedule as default };
|
package/types/Scrollable.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { SIZES } from
|
|
2
|
-
import React from
|
|
1
|
+
import { SIZES } from 'components/Scrollable/constants';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
3
4
|
/**
|
|
4
5
|
*
|
|
5
6
|
* The Scrollable component can be used along with the Header and SubHeader to show
|
|
@@ -21,8 +22,9 @@ import React from "react";
|
|
|
21
22
|
* );
|
|
22
23
|
* @endexample
|
|
23
24
|
*/
|
|
24
|
-
const Scrollable: React.FC<{
|
|
25
|
+
declare const Scrollable: React.FC<{
|
|
25
26
|
className?: string;
|
|
26
27
|
size?: keyof typeof SIZES;
|
|
27
28
|
} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
28
|
-
|
|
29
|
+
|
|
30
|
+
export { Scrollable as default };
|
package/types/Search.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { InputProps } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { InputProps } from 'neetoui';
|
|
3
|
+
|
|
3
4
|
/**
|
|
4
5
|
*
|
|
5
6
|
* A common search component with search value debounced
|
|
@@ -11,10 +12,11 @@ import { InputProps } from "neetoui";
|
|
|
11
12
|
* const Page = () => <Search debounceTime={500} onChange={e => noop} />;
|
|
12
13
|
* @endexample
|
|
13
14
|
*/
|
|
14
|
-
const Search: React.FC<{
|
|
15
|
+
declare const Search: React.FC<{
|
|
15
16
|
debounceTime?: number;
|
|
16
17
|
onSearch?: (value: string) => void;
|
|
17
18
|
enableUrlSync?: boolean;
|
|
18
19
|
searchParamName?: string;
|
|
19
20
|
} & InputProps>;
|
|
20
|
-
|
|
21
|
+
|
|
22
|
+
export { Search as default };
|
package/types/SendToFields.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { InputProps } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { InputProps } from 'neetoui';
|
|
3
|
+
|
|
3
4
|
/**
|
|
4
5
|
*
|
|
5
6
|
* This email input component comes with the capability to include recipients in
|
|
@@ -52,7 +53,7 @@ import { InputProps } from "neetoui";
|
|
|
52
53
|
* );
|
|
53
54
|
* @endexample
|
|
54
55
|
*/
|
|
55
|
-
const SendToFields: React.FC<{
|
|
56
|
+
declare const SendToFields: React.FC<{
|
|
56
57
|
inputProps?: InputProps;
|
|
57
58
|
ccInputProps?: InputProps;
|
|
58
59
|
bccInputPropse?: InputProps;
|
|
@@ -62,4 +63,5 @@ const SendToFields: React.FC<{
|
|
|
62
63
|
showBccField?: boolean;
|
|
63
64
|
showSendToField?: boolean;
|
|
64
65
|
}>;
|
|
65
|
-
|
|
66
|
+
|
|
67
|
+
export { SendToFields as default };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { HelpPopoverProps } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HelpPopoverProps } from './HelpPopover.js';
|
|
3
|
+
import '@bigbinary/neetoui';
|
|
4
|
+
|
|
3
5
|
interface Details {
|
|
4
6
|
name?: string;
|
|
5
7
|
value: string;
|
|
@@ -16,7 +18,7 @@ interface Details {
|
|
|
16
18
|
custom?: boolean;
|
|
17
19
|
showCopyButton?: boolean;
|
|
18
20
|
}
|
|
19
|
-
|
|
21
|
+
|
|
20
22
|
/**
|
|
21
23
|
*
|
|
22
24
|
* SessionEnvironment is a component that displays the session details like name,
|
|
@@ -153,7 +155,7 @@ interface Details {
|
|
|
153
155
|
* };
|
|
154
156
|
* @endexample
|
|
155
157
|
*/
|
|
156
|
-
const SessionEnvironment: React.FC<{
|
|
158
|
+
declare const SessionEnvironment: React.FC<{
|
|
157
159
|
allowMultiline?: boolean;
|
|
158
160
|
details: Details[];
|
|
159
161
|
handleCancel?: (string) => void;
|
|
@@ -164,4 +166,5 @@ const SessionEnvironment: React.FC<{
|
|
|
164
166
|
moreDetails?: Details[];
|
|
165
167
|
title?: string;
|
|
166
168
|
}>;
|
|
167
|
-
|
|
169
|
+
|
|
170
|
+
export { SessionEnvironment as default };
|
package/types/Settings.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React, { ReactNode } from
|
|
2
|
-
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
|
|
3
3
|
type SettingItem = {
|
|
4
4
|
label: string;
|
|
5
5
|
description: string;
|
|
@@ -90,10 +90,11 @@ type SettingCategory = {
|
|
|
90
90
|
* };
|
|
91
91
|
* @endexample
|
|
92
92
|
*/
|
|
93
|
-
const Settings: React.FC<{
|
|
93
|
+
declare const Settings: React.FC<{
|
|
94
94
|
title?: string;
|
|
95
95
|
isTitleHidden?: boolean;
|
|
96
96
|
isSearchHidden?: boolean;
|
|
97
97
|
categories: SettingCategory[];
|
|
98
98
|
}>;
|
|
99
|
-
|
|
99
|
+
|
|
100
|
+
export { Settings as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
*
|
|
4
5
|
* The ShareRecordingPane component provides a pane interface for sharing
|
|
@@ -47,4 +48,5 @@ declare const ShareRecordingPane: React.FC<{
|
|
|
47
48
|
onClose: Function;
|
|
48
49
|
isLoading?: boolean;
|
|
49
50
|
}>;
|
|
50
|
-
|
|
51
|
+
|
|
52
|
+
export { ShareRecordingPane as default };
|
package/types/ShareViaEmail.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
*
|
|
4
5
|
* A common component to share entities via email.
|
|
@@ -63,7 +64,7 @@ import React from "react";
|
|
|
63
64
|
* export default ShareViaEmail;
|
|
64
65
|
* @endexample
|
|
65
66
|
*/
|
|
66
|
-
const ShareViaEmail: React.FC<{
|
|
67
|
+
declare const ShareViaEmail: React.FC<{
|
|
67
68
|
backToUrl?: string;
|
|
68
69
|
children?: React.ReactNode;
|
|
69
70
|
description?: string;
|
|
@@ -94,4 +95,5 @@ const ShareViaEmail: React.FC<{
|
|
|
94
95
|
showVideoEmbedInEditor?: boolean;
|
|
95
96
|
title?: string;
|
|
96
97
|
}>;
|
|
97
|
-
|
|
98
|
+
|
|
99
|
+
export { ShareViaEmail as default };
|
package/types/ShareViaLink.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
3
|
type SubtitleProps = {
|
|
4
4
|
subtitle: string;
|
|
5
5
|
dataCy?: string;
|
|
@@ -146,7 +146,7 @@ type MoreOptions = {
|
|
|
146
146
|
* );
|
|
147
147
|
* @endexample
|
|
148
148
|
*/
|
|
149
|
-
const ShareViaLink: React.FC<{
|
|
149
|
+
declare const ShareViaLink: React.FC<{
|
|
150
150
|
isLoading?: boolean;
|
|
151
151
|
editUrlProps?: {
|
|
152
152
|
prefix?: string;
|
|
@@ -172,4 +172,5 @@ const ShareViaLink: React.FC<{
|
|
|
172
172
|
disableShareSocialMedia?: boolean;
|
|
173
173
|
disableQRDownload?: boolean;
|
|
174
174
|
}>;
|
|
175
|
-
|
|
175
|
+
|
|
176
|
+
export { ShareViaLink as default };
|
package/types/Sidebar.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { filters } from
|
|
2
|
-
import React from
|
|
3
|
-
import { NavLinkProps } from
|
|
1
|
+
import { filters } from '@bigbinary/neeto-filters-frontend';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { NavLinkProps } from 'react-router-dom';
|
|
4
|
+
|
|
4
5
|
type NavLinkItemType = {
|
|
5
6
|
to?: string;
|
|
6
7
|
label?: React.ReactNode;
|
|
@@ -40,10 +41,11 @@ type NavLinkItemType = {
|
|
|
40
41
|
* };
|
|
41
42
|
* @endexample
|
|
42
43
|
*/
|
|
43
|
-
const Sidebar: React.FC<{
|
|
44
|
+
declare const Sidebar: React.FC<{
|
|
44
45
|
navLinks?: NavLinkItemType[];
|
|
45
46
|
customLogo?: any;
|
|
46
47
|
isCountsLoading?: boolean;
|
|
47
48
|
homePath?: string;
|
|
48
49
|
}>;
|
|
49
|
-
|
|
50
|
+
|
|
51
|
+
export { Sidebar as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
*
|
|
4
5
|
* The StatusDropdown component is used in neeto products for showing a dropdown
|
|
@@ -60,7 +61,7 @@ import React from "react";
|
|
|
60
61
|
* };
|
|
61
62
|
* @endexample
|
|
62
63
|
*/
|
|
63
|
-
const StatusDropdown: React.FC<{
|
|
64
|
+
declare const StatusDropdown: React.FC<{
|
|
64
65
|
disabled?: boolean;
|
|
65
66
|
hiddenStatuses?: Array<string>;
|
|
66
67
|
isLoading?: boolean;
|
|
@@ -69,4 +70,5 @@ const StatusDropdown: React.FC<{
|
|
|
69
70
|
selectedValue: string;
|
|
70
71
|
shouldShowAllOptions?: boolean;
|
|
71
72
|
}>;
|
|
72
|
-
|
|
73
|
+
|
|
74
|
+
export { StatusDropdown as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
*
|
|
4
5
|
* A container that displays the sticky ribbons configured for the current neeto
|
|
@@ -22,5 +23,6 @@ import React from "react";
|
|
|
22
23
|
* );
|
|
23
24
|
* @endexample
|
|
24
25
|
*/
|
|
25
|
-
const StickyRibbonsContainer: React.FC<{}>;
|
|
26
|
-
|
|
26
|
+
declare const StickyRibbonsContainer: React.FC<{}>;
|
|
27
|
+
|
|
28
|
+
export { StickyRibbonsContainer as default };
|