@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.
Files changed (79) hide show
  1. package/dist/DocumentEditor.js +5 -2
  2. package/dist/DocumentEditor.js.map +1 -1
  3. package/dist/cjs/DocumentEditor.js +5 -2
  4. package/dist/cjs/DocumentEditor.js.map +1 -1
  5. package/package.json +3 -1
  6. package/types/AuditLogs.d.ts +5 -3
  7. package/types/Breadcrumbs.d.ts +5 -3
  8. package/types/BrowserSupport.d.ts +5 -3
  9. package/types/Builder.d.ts +5 -7
  10. package/types/CalendarView.d.ts +8 -6
  11. package/types/Codeblock.d.ts +7 -5
  12. package/types/Columns.d.ts +8 -6
  13. package/types/ConfigurePageSidebar.d.ts +5 -3
  14. package/types/ConfirmationModal.d.ts +5 -3
  15. package/types/Container.d.ts +5 -3
  16. package/types/CopyToClipboardButton.d.ts +6 -4
  17. package/types/Currency.d.ts +7 -5
  18. package/types/CustomDomain.d.ts +6 -4
  19. package/types/CustomDomainDashboard.d.ts +6 -4
  20. package/types/DateFormat.d.ts +5 -9
  21. package/types/DateRangeFilter.d.ts +7 -5
  22. package/types/DeleteArchiveModal.d.ts +5 -3
  23. package/types/DeviceIncompatibilityMessage.d.ts +5 -3
  24. package/types/DocumentEditor.d.ts +6 -4
  25. package/types/DownloadMobileAppCallout.d.ts +5 -3
  26. package/types/DynamicVariables.d.ts +6 -4
  27. package/types/EmailForm.d.ts +7 -5
  28. package/types/EmailFormProvider.d.ts +3 -2
  29. package/types/EmailPreview.d.ts +5 -3
  30. package/types/EmojiPicker.d.ts +6 -4
  31. package/types/EmojiReactions.d.ts +5 -3
  32. package/types/ErrorPage.d.ts +6 -4
  33. package/types/FileUpload.d.ts +8 -6
  34. package/types/FloatingActionMenu.d.ts +6 -4
  35. package/types/GoogleFontPicker.d.ts +27 -20
  36. package/types/Header.d.ts +9 -6
  37. package/types/HelpPopover.d.ts +7 -5
  38. package/types/IconPicker.d.ts +5 -3
  39. package/types/ImageWithFallback.d.ts +5 -3
  40. package/types/InlineInput.d.ts +9 -7
  41. package/types/Insights.d.ts +5 -4
  42. package/types/IntegrationCard.d.ts +7 -5
  43. package/types/IpRestriction.d.ts +5 -3
  44. package/types/KeyboardShortcuts.d.ts +6 -4
  45. package/types/LoginPage.d.ts +5 -3
  46. package/types/MadeWith.d.ts +5 -3
  47. package/types/MenuBar.d.ts +7 -5
  48. package/types/Metadata.d.ts +5 -3
  49. package/types/MobilePreviewHeader.d.ts +5 -3
  50. package/types/MoreDropdown.d.ts +6 -4
  51. package/types/NavigationHeader.d.ts +7 -6
  52. package/types/NeetoWidget.d.ts +5 -3
  53. package/types/Onboarding.d.ts +5 -3
  54. package/types/OptionFields.d.ts +4 -2
  55. package/types/PageLoader.d.ts +5 -3
  56. package/types/PhoneNumber.d.ts +15 -13
  57. package/types/ProductEmbed.d.ts +5 -3
  58. package/types/PublishBlock.d.ts +6 -4
  59. package/types/Rename.d.ts +6 -4
  60. package/types/ResponsiveDevicePicker.d.ts +5 -3
  61. package/types/Schedule.d.ts +5 -3
  62. package/types/Scrollable.d.ts +6 -4
  63. package/types/Search.d.ts +6 -4
  64. package/types/SendToFields.d.ts +6 -4
  65. package/types/SessionEnvironment.d.ts +8 -5
  66. package/types/Settings.d.ts +5 -4
  67. package/types/ShareRecordingPane.d.ts +4 -2
  68. package/types/ShareViaEmail.d.ts +5 -3
  69. package/types/ShareViaLink.d.ts +5 -4
  70. package/types/Sidebar.d.ts +7 -5
  71. package/types/StatusDropdown.d.ts +5 -3
  72. package/types/StickyRibbonsContainer.d.ts +5 -3
  73. package/types/SubHeader.d.ts +7 -5
  74. package/types/SuffixedInput.d.ts +5 -3
  75. package/types/TableWrapper.d.ts +5 -3
  76. package/types/Taxonomy.d.ts +6 -4
  77. package/types/TimeFormat.d.ts +5 -9
  78. package/types/TimezoneMismatchModal.d.ts +5 -3
  79. package/types/ToggleFeatureCard.d.ts +7 -5
@@ -1,4 +1,5 @@
1
- import React from "react";
1
+ import React from 'react';
2
+
2
3
  type customDomainFields = {
3
4
  addedCnameAt: string;
4
5
  cnameValidationParams: {
@@ -11,7 +12,7 @@ type customDomainFields = {
11
12
  notice: string;
12
13
  status: string;
13
14
  };
14
- export type onCreateCustomDomainCallback = (values: customDomainFields) => void;
15
+ type onCreateCustomDomainCallback = (values: customDomainFields) => void;
15
16
  /**
16
17
  *
17
18
  * A full page common component for managing custom domains. This component can be
@@ -37,11 +38,12 @@ export type onCreateCustomDomainCallback = (values: customDomainFields) => void;
37
38
  * ![Screenshot](https://user-images.githubusercontent.com/47141466/198322719-80cccd00-7bc3-44b6-845b-b3ad61e2635a.png|height=200|width=300)
38
39
  *
39
40
  */
40
- const CustomDomainDashboard: React.FC<{
41
+ declare const CustomDomainDashboard: React.FC<{
41
42
  headerProps: {
42
43
  [key: string]: any;
43
44
  };
44
45
  url: string;
45
46
  onCreate: onCreateCustomDomainCallback;
46
47
  }>;
47
- export default CustomDomainDashboard;
48
+
49
+ export { CustomDomainDashboard as default, type onCreateCustomDomainCallback };
@@ -1,12 +1,8 @@
1
- import React from "react";
1
+ import React from 'react';
2
+ import { TypographyProps, TooltipProps } from '@bigbinary/neetoui';
3
+ import { timeFormat, DateTimeType } from '@bigbinary/neeto-commons-frontend/utils';
2
4
 
3
- import { TooltipProps, TypographyProps } from "@bigbinary/neetoui";
4
- import {
5
- timeFormat,
6
- DateTimeType,
7
- } from "@bigbinary/neeto-commons-frontend/utils";
8
-
9
- const DateFormat: {
5
+ declare const DateFormat: {
10
6
  [key in Capitalize<keyof typeof timeFormat>]: React.FC<{
11
7
  date: DateTimeType;
12
8
  timerInterval?: number;
@@ -16,4 +12,4 @@ const DateFormat: {
16
12
  }>;
17
13
  };
18
14
 
19
- export default DateFormat;
15
+ export { DateFormat as default };
@@ -1,6 +1,7 @@
1
- import React from "react";
2
- import { Dayjs } from "dayjs";
3
- import { DatePickerProps } from "@bigbinary/neetoui";
1
+ import React from 'react';
2
+ import { Dayjs } from 'dayjs';
3
+ import { DatePickerProps } from '@bigbinary/neetoui';
4
+
4
5
  interface TimePeriodType {
5
6
  startDate: Dayjs;
6
7
  endDate: Dayjs;
@@ -45,10 +46,11 @@ interface TimePeriodType {
45
46
  * your API.
46
47
  *
47
48
  */
48
- const DateRangeFilter: React.FC<{
49
+ declare const DateRangeFilter: React.FC<{
49
50
  timePeriod: TimePeriodType;
50
51
  setTimePeriod: React.Dispatch<React.SetStateAction<TimePeriodType>>;
51
52
  timePeriodOptions?: TimePeriodType[];
52
53
  datePickerProps?: DatePickerProps;
53
54
  }>;
54
- export default DateRangeFilter;
55
+
56
+ export { DateRangeFilter as default };
@@ -1,4 +1,5 @@
1
- import React from "react";
1
+ import React from 'react';
2
+
2
3
  /**
3
4
  *
4
5
  * The DeleteArchiveModal component is designed to facilitate the deletion of an
@@ -48,7 +49,7 @@ import React from "react";
48
49
  * };
49
50
  * @endexample
50
51
  */
51
- const DeleteArchiveModal: React.FC<{
52
+ declare const DeleteArchiveModal: React.FC<{
52
53
  checkboxLabel: string;
53
54
  className: string;
54
55
  description: string;
@@ -60,4 +61,5 @@ const DeleteArchiveModal: React.FC<{
60
61
  onDelete: Function;
61
62
  title: string;
62
63
  }>;
63
- export default DeleteArchiveModal;
64
+
65
+ export { DeleteArchiveModal as default };
@@ -1,4 +1,5 @@
1
- import React from "react";
1
+ import React from 'react';
2
+
2
3
  /**
3
4
  *
4
5
  * Used to indicate screen incompatibility on smaller devices.
@@ -10,8 +11,9 @@ import React from "react";
10
11
  * const App = () => <DeviceIncompatibilityMessage />;
11
12
  * @endexample
12
13
  */
13
- const DeviceIncompatibilityMessage: React.FC<{
14
+ declare const DeviceIncompatibilityMessage: React.FC<{
14
15
  description?: React.ReactNode;
15
16
  className?: string;
16
17
  }>;
17
- export default DeviceIncompatibilityMessage;
18
+
19
+ export { DeviceIncompatibilityMessage as default };
@@ -1,5 +1,6 @@
1
- import { FormikEditorProps, attachment } from "@bigbinary/neeto-editor";
2
- import { TextareaProps } from "@bigbinary/neetoui";
1
+ import { attachment, FormikEditorProps } from '@bigbinary/neeto-editor';
2
+ import { TextareaProps } from '@bigbinary/neetoui';
3
+
3
4
  /**
4
5
  *
5
6
  * NeetoEditor with a better writing experience.
@@ -42,7 +43,7 @@ import { TextareaProps } from "@bigbinary/neetoui";
42
43
  * );
43
44
  * @endexample
44
45
  */
45
- const DocumentEditor: React.FC<{
46
+ declare const DocumentEditor: React.FC<{
46
47
  attachments: attachment[];
47
48
  onContentChange?: (content: string) => void;
48
49
  onAttachmentChange?: (attachments: attachment[]) => void;
@@ -55,4 +56,5 @@ const DocumentEditor: React.FC<{
55
56
  titleProps?: TextareaProps;
56
57
  menuClassName?: string;
57
58
  }>;
58
- export default DocumentEditor;
59
+
60
+ export { DocumentEditor as default };
@@ -1,4 +1,5 @@
1
- import React from "react";
1
+ import React from 'react';
2
+
2
3
  /**
3
4
  *
4
5
  * A component to render warning callout when the application is accessed from a
@@ -27,7 +28,8 @@ import React from "react";
27
28
  * for any path that starts with "/public".
28
29
  *
29
30
  */
30
- const DownloadMobileAppCallout: React.FC<{
31
+ declare const DownloadMobileAppCallout: React.FC<{
31
32
  excludePathRegex?: RegExp;
32
33
  }>;
33
- export default DownloadMobileAppCallout;
34
+
35
+ export { DownloadMobileAppCallout as default };
@@ -1,5 +1,6 @@
1
- import React from "react";
2
- import { DropdownProps } from "@bigbinary/neetoui";
1
+ import React from 'react';
2
+ import { DropdownProps } from '@bigbinary/neetoui';
3
+
3
4
  interface Variable {
4
5
  label?: string;
5
6
  key?: string;
@@ -37,10 +38,11 @@ interface Variable {
37
38
  * };
38
39
  * @endexample
39
40
  */
40
- const DynamicVariables: React.FC<{
41
+ declare const DynamicVariables: React.FC<{
41
42
  onVariableClick?: (variable: Variable & {
42
43
  categoryLabel?: string;
43
44
  }) => void;
44
45
  variables: Variable[];
45
46
  } & DropdownProps>;
46
- export default DynamicVariables;
47
+
48
+ export { DynamicVariables as default };
@@ -1,6 +1,7 @@
1
- import { ButtonProps, PopoverProps } from "@bigbinary/neetoui";
2
- import React from "react";
3
- import { HelpPopoverProps } from "./HelpPopover";
1
+ import React from 'react';
2
+ import { HelpPopoverProps } from './HelpPopover.js';
3
+ import '@bigbinary/neetoui';
4
+
4
5
  type ContentVariables = {
5
6
  label: string;
6
7
  key: string;
@@ -67,7 +68,7 @@ type SendToFieldProps = {
67
68
  * export default EmailComposer;
68
69
  * @endexample
69
70
  */
70
- const EmailForm: React.FC<{
71
+ declare const EmailForm: React.FC<{
71
72
  messageVariables?: ContentVariables[];
72
73
  subjectVariables?: ContentVariables[];
73
74
  handleCancel: () => void;
@@ -80,4 +81,5 @@ const EmailForm: React.FC<{
80
81
  replyToFieldProps?: ReplyToFieldProps;
81
82
  sendToFieldProps?: SendToFieldProps;
82
83
  }>;
83
- export default EmailForm;
84
+
85
+ export { EmailForm as default };
@@ -1,5 +1,5 @@
1
- import React from "react";
2
1
  import * as yup from 'yup';
2
+
3
3
  type ValidationMap = {
4
4
  [key: string]: yup.AnySchema;
5
5
  };
@@ -44,4 +44,5 @@ declare const EmailFormProvider: <T extends {}>(props: {
44
44
  showCcField?: boolean;
45
45
  showBccField?: boolean;
46
46
  }) => JSX.Element;
47
- export default EmailFormProvider;
47
+
48
+ export { EmailFormProvider as default };
@@ -1,4 +1,5 @@
1
- import React from "react";
1
+ import React from 'react';
2
+
2
3
  /**
3
4
  *
4
5
  * A common component to preview emails.
@@ -27,7 +28,7 @@ import React from "react";
27
28
  * export default EmailShare;
28
29
  * @endexample
29
30
  */
30
- const EmailPreview: React.FC<{
31
+ declare const EmailPreview: React.FC<{
31
32
  to?: string[];
32
33
  subject?: string;
33
34
  body?: string;
@@ -37,4 +38,5 @@ const EmailPreview: React.FC<{
37
38
  className?: string;
38
39
  customContent?: React.ReactNode;
39
40
  }>;
40
- export default EmailPreview;
41
+
42
+ export { EmailPreview as default };
@@ -1,5 +1,6 @@
1
- import React from "react";
2
- import { DropdownProps } from "neetoui";
1
+ import React from 'react';
2
+ import { DropdownProps } from 'neetoui';
3
+
3
4
  type Emoji = {
4
5
  native: string;
5
6
  unified: string;
@@ -25,9 +26,10 @@ type Emoji = {
25
26
  * };
26
27
  * @endexample
27
28
  */
28
- const EmojiPicker: React.FC<{
29
+ declare const EmojiPicker: React.FC<{
29
30
  onSelect?: (emoji: Emoji) => void;
30
31
  open?: boolean;
31
32
  dropdownProps?: DropdownProps;
32
33
  }>;
33
- export default EmojiPicker;
34
+
35
+ export { EmojiPicker as default };
@@ -1,4 +1,5 @@
1
- import React from "react";
1
+ import React from 'react';
2
+
2
3
  type Emoji = {
3
4
  native: string;
4
5
  unified: string;
@@ -50,11 +51,12 @@ type Reaction = {
50
51
  * };
51
52
  * @endexample
52
53
  */
53
- const EmojiReactions: React.FC<{
54
+ declare const EmojiReactions: React.FC<{
54
55
  reactions: Reaction[];
55
56
  onReactionClick?: (emoji: Emoji) => void;
56
57
  emojiSize?: string;
57
58
  emojiBoxStyle?: string;
58
59
  isUpdating?: boolean;
59
60
  }>;
60
- export default EmojiReactions;
61
+
62
+ export { EmojiReactions as default };
@@ -1,5 +1,6 @@
1
- import React from "react";
2
- import { ButtonProps } from "@bigbinary/neetoui";
1
+ import React from 'react';
2
+ import { ButtonProps } from '@bigbinary/neetoui';
3
+
3
4
  /**
4
5
  *
5
6
  * A fallback page for handling 404, 403 and 500 errors.
@@ -9,11 +10,12 @@ import { ButtonProps } from "@bigbinary/neetoui";
9
10
  * further communication.
10
11
  *
11
12
  */
12
- const ErrorPage: React.FC<{
13
+ declare const ErrorPage: React.FC<{
13
14
  homeUrl?: string;
14
15
  status?: number;
15
16
  backToHomeButtonProps?: Partial<ButtonProps>;
16
17
  children?: React.ReactNode | React.ReactNode[];
17
18
  showNeetoChatWidget?: boolean;
18
19
  }>;
19
- export default ErrorPage;
20
+
21
+ export { ErrorPage as default };
@@ -1,10 +1,11 @@
1
- import React from "react";
1
+ import React from 'react';
2
+
2
3
  interface FileObject {
3
4
  url: string;
4
5
  size?: number;
5
6
  name: string;
6
7
  }
7
- export interface FileUploadProps {
8
+ interface FileUploadProps {
8
9
  className?: string;
9
10
  allowedFileTypes?: string;
10
11
  multipleFilesAllowed?: boolean;
@@ -18,10 +19,9 @@ export interface FileUploadProps {
18
19
  setError?: (error: string) => void;
19
20
  setTouched?: (touched: boolean) => void;
20
21
  }
21
- export interface FormikFileUploadProps extends FileUploadProps {
22
+ interface FormikFileUploadProps extends FileUploadProps {
22
23
  name: string;
23
24
  }
24
- export
25
25
  /**
26
26
  *
27
27
  * The FileUpload component provides an interface for uploading files with
@@ -83,5 +83,7 @@ export
83
83
  * );
84
84
  * @endexample
85
85
  */
86
- const FileUpload: React.FC<FileUploadProps>;
87
- export const FormikFileUpload: React.FC<FormikFileUploadProps>;
86
+ declare const FileUpload: React.FC<FileUploadProps>;
87
+ declare const FormikFileUpload: React.FC<FormikFileUploadProps>;
88
+
89
+ export { FileUpload, type FileUploadProps, FormikFileUpload, type FormikFileUploadProps };
@@ -1,5 +1,6 @@
1
- import React from "react";
2
- import { AvatarProps } from "@bigbinary/neetoui";
1
+ import React from 'react';
2
+ import { AvatarProps } from '@bigbinary/neetoui';
3
+
3
4
  type LinkType = {
4
5
  onClick?: React.MouseEventHandler<HTMLButtonElement>;
5
6
  label?: React.ReactNode;
@@ -53,5 +54,6 @@ type FloatingActionMenuProps = {
53
54
  * };
54
55
  * @endexample
55
56
  */
56
- const FloatingActionMenu: React.FC<FloatingActionMenuProps>;
57
- export default FloatingActionMenu;
57
+ declare const FloatingActionMenu: React.FC<FloatingActionMenuProps>;
58
+
59
+ export { FloatingActionMenu as default };
@@ -1,30 +1,36 @@
1
- import React from "react";
2
- import { SelectProps } from "neetoui";
1
+ import React from 'react';
2
+ import { SelectProps } from '@bigbinary/neetoui';
3
+
3
4
  declare type Category = "sans-serif" | "serif" | "display" | "handwriting" | "monospace";
4
5
  declare type Script = "arabic" | "bengali" | "chinese-simplified" | "chinese-traditional" | "cyrillic" | "cyrillic-ext" | "devanagari" | "greek" | "greek-ext" | "gujarati" | "gurmukhi" | "hebrew" | "japanese" | "kannada" | "khmer" | "korean" | "latin" | "latin-ext" | "malayalam" | "myanmar" | "oriya" | "sinhala" | "tamil" | "​telugu" | "thai" | "vietnamese";
5
- declare type Variant = "100" | "100italic" | "200" | "200italic" | "300" | "300italic" | "regular" | "italic" | "500" | "500italic" | "600" | "600italic" | "700" | "700italic" | "800" | "800italic" | "900" | "900italic";
6
6
  declare type SortOption = "alphabet" | "popularity";
7
+ declare type Variant = "100" | "100italic" | "200" | "200italic" | "300" | "300italic" | "regular" | "italic" | "500" | "500italic" | "600" | "600italic" | "700" | "700italic" | "800" | "800italic" | "900" | "900italic";
7
8
  interface Font {
8
- family?: string;
9
- variants?: Variant[];
10
- scripts?: Script[];
11
- category?: Category;
12
- popularity?: number;
9
+ family: string;
10
+ id: string;
11
+ category: Category;
12
+ scripts: Script[];
13
+ variants: Variant[];
14
+ kind?: string;
15
+ version?: string;
16
+ lastModified?: string;
17
+ files?: Record<Variant, string>;
13
18
  }
14
- interface fontManagerOptions {
15
- limit?: number;
16
- pickerId?: string;
17
- families?: string[];
18
- categories?: Category[];
19
- scripts?: Script[];
20
- variants?: Variant[];
21
- filter?: (font: Font) => boolean;
22
- sort?: SortOption;
19
+ interface Options {
20
+ pickerId: string;
21
+ families: string[];
22
+ categories: Category[];
23
+ scripts: Script[];
24
+ variants: Variant[];
25
+ filter: (font: Font) => boolean;
26
+ limit: number;
27
+ sort: SortOption;
23
28
  }
29
+
24
30
  interface GoogleFontPickerProps extends SelectProps {
25
31
  activeFontFamily?: string;
26
32
  onChange?: (fontFamily: string) => void;
27
- fontManagerOptions?: fontManagerOptions;
33
+ fontManagerOptions?: Options;
28
34
  }
29
35
  /**
30
36
  *
@@ -57,5 +63,6 @@ interface GoogleFontPickerProps extends SelectProps {
57
63
  * };
58
64
  * @endexample
59
65
  */
60
- const GoogleFontPicker: React.FC<GoogleFontPickerProps>;
61
- export default GoogleFontPicker;
66
+ declare const GoogleFontPicker: React.FC<GoogleFontPickerProps>;
67
+
68
+ export { GoogleFontPicker as default };
package/types/Header.d.ts CHANGED
@@ -1,7 +1,9 @@
1
- import React from "react";
2
- import { SIZES } from "components/Header/constants";
3
- import { DropdownProps, PopoverProps } from "neetoui";
4
- import MoreDropdown from "./MoreDropdown";
1
+ import React from 'react';
2
+ import { SIZES } from 'components/Header/constants';
3
+ import { PopoverProps } from 'neetoui';
4
+ import MoreDropdown from './MoreDropdown.js';
5
+ import '@bigbinary/neetoui';
6
+
5
7
  /**
6
8
  *
7
9
  * The Header component can be used to display the page title and an action block
@@ -17,7 +19,7 @@ import MoreDropdown from "./MoreDropdown";
17
19
  * );
18
20
  * @endexample
19
21
  */
20
- const Header: React.FC<{
22
+ declare const Header: React.FC<{
21
23
  title?: React.ReactNode;
22
24
  titleHelpPopoverProps?: PopoverProps;
23
25
  className?: string;
@@ -30,4 +32,5 @@ const Header: React.FC<{
30
32
  size?: keyof typeof SIZES;
31
33
  renderDropdown?: (Dropdown: MoreDropdown) => JSX.Element;
32
34
  }>;
33
- export default Header;
35
+
36
+ export { Header as default };
@@ -1,6 +1,7 @@
1
- import React from "react";
2
- import { ButtonProps, PopoverProps } from "@bigbinary/neetoui";
3
- export interface HelpPopoverProps {
1
+ import React from 'react';
2
+ import { ButtonProps, PopoverProps } from '@bigbinary/neetoui';
3
+
4
+ interface HelpPopoverProps {
4
5
  title?: string;
5
6
  description?: React.ReactNode;
6
7
  helpLinkProps?: ButtonProps;
@@ -39,5 +40,6 @@ export interface HelpPopoverProps {
39
40
  * };
40
41
  * @endexample
41
42
  */
42
- const HelpPopover: React.FC<HelpPopoverProps>;
43
- export default HelpPopover;
43
+ declare const HelpPopover: React.FC<HelpPopoverProps>;
44
+
45
+ export { type HelpPopoverProps, HelpPopover as default };
@@ -1,4 +1,5 @@
1
- import React from "react";
1
+ import React from 'react';
2
+
2
3
  /**
3
4
  *
4
5
  * A dropdown component that allows you to select an icon from a list of
@@ -33,11 +34,12 @@ import React from "react";
33
34
  * };
34
35
  * @endexample
35
36
  */
36
- const IconPicker: React.FC<{
37
+ declare const IconPicker: React.FC<{
37
38
  filled?: boolean;
38
39
  value?: string;
39
40
  label?: string;
40
41
  onClick?: Function;
41
42
  className?: string;
42
43
  }>;
43
- export default IconPicker;
44
+
45
+ export { IconPicker as default };
@@ -1,4 +1,5 @@
1
- import React from "react";
1
+ import React from 'react';
2
+
2
3
  /**
3
4
  *
4
5
  * A component to display a fallback component in case no image is available.
@@ -15,8 +16,9 @@ import React from "react";
15
16
  * );
16
17
  * @endexample
17
18
  */
18
- const ImageWithFallback: React.FC<{
19
+ declare const ImageWithFallback: React.FC<{
19
20
  src: string;
20
21
  fallback?: React.ReactNode;
21
22
  }>;
22
- export default ImageWithFallback;
23
+
24
+ export { ImageWithFallback as default };
@@ -1,6 +1,7 @@
1
- import React from "react";
2
- import { InputProps, ButtonProps } from "@bigbinary/neetoui";
3
- export interface InlineInput extends InputProps {
1
+ import React from 'react';
2
+ import { InputProps, ButtonProps } from '@bigbinary/neetoui';
3
+
4
+ interface InlineInputProps extends InputProps {
4
5
  className?: string;
5
6
  value?: string;
6
7
  nullable?: boolean;
@@ -12,12 +13,11 @@ export interface InlineInput extends InputProps {
12
13
  handleSubmit: (value: string) => void;
13
14
  handleCancel: (value: string) => void;
14
15
  }
15
- export interface FormikInlineInputProps extends InlineInputProps {
16
+ interface FormikInlineInputProps extends InlineInputProps {
16
17
  name: string;
17
18
  handleSubmit?: (value: string) => void;
18
19
  handleCancel?: (value: string) => void;
19
20
  }
20
- export
21
21
  /**
22
22
  *
23
23
  * An input field with built-in functionality for handling saving and cancelling
@@ -81,5 +81,7 @@ export
81
81
  * );
82
82
  * @endexample
83
83
  */
84
- const InlineInput: React.ForwardRefExoticComponent<InlineInputProps>;
85
- export const FormikInlineInput: React.ForwardRefExoticComponent<FormikInlineInputProps>;
84
+ declare const InlineInput: React.ForwardRefExoticComponent<InlineInputProps>;
85
+ declare const FormikInlineInput: React.ForwardRefExoticComponent<FormikInlineInputProps>;
86
+
87
+ export { FormikInlineInput, type FormikInlineInputProps, InlineInput, type InlineInputProps };
@@ -1,5 +1,5 @@
1
- import { ButtonProps, DropdownProps, InputProps, TypographyProps } from "@bigbinary/neetoui";
2
- import React from "react";
1
+ import React from 'react';
2
+
3
3
  interface Time {
4
4
  h: number;
5
5
  m: number;
@@ -97,7 +97,7 @@ interface HelpTexts {
97
97
  * your API.
98
98
  *
99
99
  */
100
- const Insights: React.FC<{
100
+ declare const Insights: React.FC<{
101
101
  insightsData: InsightsData;
102
102
  isLoading: boolean;
103
103
  timePeriod: TimePeriod;
@@ -105,4 +105,5 @@ const Insights: React.FC<{
105
105
  helpTexts?: HelpTexts;
106
106
  showWarningMessage: boolean;
107
107
  }>;
108
- export default Insights;
108
+
109
+ export { Insights as default };
@@ -1,6 +1,7 @@
1
- import { IconProps } from "neetoicons";
2
- import React, { ReactElement } from "react";
3
- export interface IntegrationCardProps {
1
+ import { IconProps } from 'neetoicons';
2
+ import React from 'react';
3
+
4
+ interface IntegrationCardProps {
4
5
  icon: React.FC<IconProps>;
5
6
  subIcons?: React.FC<IconProps>[];
6
7
  label: string;
@@ -54,5 +55,6 @@ export interface IntegrationCardProps {
54
55
  * );
55
56
  * @endexample
56
57
  */
57
- const IntegrationCard: React.FC<IntegrationCardProps>;
58
- export default IntegrationCard;
58
+ declare const IntegrationCard: React.FC<IntegrationCardProps>;
59
+
60
+ export { type IntegrationCardProps, IntegrationCard as default };
@@ -1,4 +1,5 @@
1
- import React from "react";
1
+ import React from 'react';
2
+
2
3
  /**
3
4
  *
4
5
  * A common component to restrict IPs in neeto applications.
@@ -19,5 +20,6 @@ import React from "react";
19
20
  * );
20
21
  * @endexample
21
22
  */
22
- const IpRestriction: React.FC<{}>;
23
- export default IpRestriction;
23
+ declare const IpRestriction: React.FC<{}>;
24
+
25
+ export { IpRestriction as default };
@@ -1,5 +1,6 @@
1
- import React from "react";
2
- import { TFunction } from "i18next";
1
+ import React from 'react';
2
+ import { TFunction } from 'i18next';
3
+
3
4
  interface Shortcut {
4
5
  sequence: string;
5
6
  description: TFunction;
@@ -137,11 +138,12 @@ interface ShortcutsObject {
137
138
  * );
138
139
  * @endexample
139
140
  */
140
- const KeyboardShortcuts: {
141
+ declare const KeyboardShortcuts: {
141
142
  Pane: React.FC<{
142
143
  productShortcuts?: ShortcutsObject;
143
144
  }>;
144
145
  usePaneState(): [boolean, React.Dispatch<React.SetStateAction<boolean>>];
145
146
  GLOBAL_SHORTCUTS: ShortcutsObject;
146
147
  };
147
- export default KeyboardShortcuts;
148
+
149
+ export { KeyboardShortcuts as default };