@bigbinary/neeto-molecules 1.0.90 → 1.0.91-beta

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/Columns.cjs.js +34 -6
  2. package/dist/Columns.cjs.js.map +1 -1
  3. package/dist/Columns.js +37 -9
  4. package/dist/Columns.js.map +1 -1
  5. package/dist/Container.cjs.js +1 -1
  6. package/dist/Container.js +1 -1
  7. package/dist/CustomDomain.cjs.js +8 -10
  8. package/dist/CustomDomain.cjs.js.map +1 -1
  9. package/dist/CustomDomain.js +10 -13
  10. package/dist/CustomDomain.js.map +1 -1
  11. package/dist/CustomDomainDashboard.cjs.js +38 -38
  12. package/dist/CustomDomainDashboard.cjs.js.map +1 -1
  13. package/dist/CustomDomainDashboard.js +41 -42
  14. package/dist/CustomDomainDashboard.js.map +1 -1
  15. package/dist/EmailForm.cjs.js +1 -1
  16. package/dist/EmailForm.cjs.js.map +1 -1
  17. package/dist/EmailForm.js +1 -1
  18. package/dist/EmailForm.js.map +1 -1
  19. package/dist/Header.cjs.js +22 -24
  20. package/dist/Header.cjs.js.map +1 -1
  21. package/dist/Header.js +25 -27
  22. package/dist/Header.js.map +1 -1
  23. package/dist/IconPicker.cjs.js +1 -0
  24. package/dist/IconPicker.cjs.js.map +1 -1
  25. package/dist/IconPicker.js +1 -0
  26. package/dist/IconPicker.js.map +1 -1
  27. package/dist/IntegrationCard.cjs.js +223 -38
  28. package/dist/IntegrationCard.cjs.js.map +1 -1
  29. package/dist/IntegrationCard.js +227 -42
  30. package/dist/IntegrationCard.js.map +1 -1
  31. package/dist/IntegrationDisconnectAlert.cjs.js +22 -14
  32. package/dist/IntegrationDisconnectAlert.cjs.js.map +1 -1
  33. package/dist/IntegrationDisconnectAlert.js +19 -14
  34. package/dist/IntegrationDisconnectAlert.js.map +1 -1
  35. package/dist/IntegrationWalkthroughModal.cjs.js +17 -9
  36. package/dist/IntegrationWalkthroughModal.cjs.js.map +1 -1
  37. package/dist/IntegrationWalkthroughModal.js +14 -9
  38. package/dist/IntegrationWalkthroughModal.js.map +1 -1
  39. package/dist/IpRestriction.cjs.js +54 -50
  40. package/dist/IpRestriction.cjs.js.map +1 -1
  41. package/dist/IpRestriction.js +55 -51
  42. package/dist/IpRestriction.js.map +1 -1
  43. package/dist/KeyboardShortcuts.cjs.js +2 -0
  44. package/dist/KeyboardShortcuts.cjs.js.map +1 -1
  45. package/dist/KeyboardShortcuts.js +2 -0
  46. package/dist/KeyboardShortcuts.js.map +1 -1
  47. package/dist/MenuBar.cjs.js +1 -1
  48. package/dist/MenuBar.js +1 -1
  49. package/dist/NeetoWidget.cjs.js +5 -20
  50. package/dist/NeetoWidget.cjs.js.map +1 -1
  51. package/dist/NeetoWidget.js +5 -21
  52. package/dist/NeetoWidget.js.map +1 -1
  53. package/dist/Rename.cjs.js +8 -3
  54. package/dist/Rename.cjs.js.map +1 -1
  55. package/dist/Rename.js +8 -3
  56. package/dist/Rename.js.map +1 -1
  57. package/dist/Schedule.cjs.js +28 -16
  58. package/dist/Schedule.cjs.js.map +1 -1
  59. package/dist/Schedule.js +30 -18
  60. package/dist/Schedule.js.map +1 -1
  61. package/dist/Scrollable.cjs.js +5 -1
  62. package/dist/Scrollable.cjs.js.map +1 -1
  63. package/dist/Scrollable.js +5 -1
  64. package/dist/Scrollable.js.map +1 -1
  65. package/dist/ShareViaLink.cjs.js +7 -8
  66. package/dist/ShareViaLink.cjs.js.map +1 -1
  67. package/dist/ShareViaLink.js +7 -9
  68. package/dist/ShareViaLink.js.map +1 -1
  69. package/dist/Sidebar.cjs.js +231 -138
  70. package/dist/Sidebar.cjs.js.map +1 -1
  71. package/dist/Sidebar.js +234 -141
  72. package/dist/Sidebar.js.map +1 -1
  73. package/dist/SubHeader.cjs.js +7 -4
  74. package/dist/SubHeader.cjs.js.map +1 -1
  75. package/dist/SubHeader.js +8 -5
  76. package/dist/SubHeader.js.map +1 -1
  77. package/dist/ToggleFeatureCard.cjs.js +104 -19
  78. package/dist/ToggleFeatureCard.cjs.js.map +1 -1
  79. package/dist/ToggleFeatureCard.js +104 -19
  80. package/dist/ToggleFeatureCard.js.map +1 -1
  81. package/package.json +4 -2
  82. package/src/translations/en.json +17 -4
  83. package/types/Columns.d.ts +8 -7
  84. package/types/Header.d.ts +2 -0
  85. package/types/IntegrationCard.d.ts +14 -5
  86. package/types/Schedule.d.ts +7 -0
  87. package/types/Sidebar.d.ts +1 -1
  88. package/types/SubHeader.d.ts +1 -1
  89. package/types/ToggleFeatureCard.d.ts +3 -9
@@ -31,15 +31,24 @@ import React, { ReactElement } from "react";
31
31
  * @endexample
32
32
  */
33
33
  const IntegrationCard: React.FC<{
34
+ icon: React.FC<IconProps>;
35
+ subIcons?: React.FC<IconProps>[];
34
36
  label: string;
35
37
  description: string;
36
- Icon: React.FC<IconProps>;
37
38
  className?: string;
38
- isConnected: boolean;
39
- isStatusLoading?: boolean;
40
- customDropdown?: React.ReactNode;
41
- onDisconnect?: (...args: any[]) => any;
42
39
  onConnect: (...args: any[]) => any;
40
+ onDisconnect?: (...args: any[]) => any;
43
41
  onManage?: (...args: any[]) => any;
42
+ onClick?: (...args: any[]) => any;
43
+ isLoading?: boolean;
44
+ isConnected?: boolean;
45
+ isFailed?: boolean;
46
+ isExpired?: boolean;
47
+ disabled?: boolean;
48
+ hidden?: boolean;
49
+ hideDisconnect?: boolean;
50
+ tooltipProps?: Partial<TooltipProps>;
51
+ customDropdown?: React.ReactNode;
52
+ children?: React.ReactNode;
44
53
  }>;
45
54
  export default IntegrationCard;
@@ -3,6 +3,12 @@ import React from "react";
3
3
  *
4
4
  * It is a component which allows setting working hours for the week.
5
5
  *
6
+ * To use this component, you should install @neetohq/timezones package.
7
+ *
8
+ * @example
9
+ *
10
+ * yarn add @neetohq/timezones
11
+ * @endexample
6
12
  * ![image](https://user-images.githubusercontent.com/35630321/198989580-36a91233-8e7b-4300-b980-f50d2b0efcaa.png|height=200|width=300)
7
13
  *
8
14
  * How to Reset Form from outside Schedule Component:
@@ -128,5 +134,6 @@ const Schedule: React.FC<{
128
134
  [key: string]: Array<any>;
129
135
  };
130
136
  ref?: React.MutableRefObject;
137
+ allowAddPeriod?: boolean;
131
138
  }>;
132
139
  export default Schedule;
@@ -24,7 +24,7 @@ interface ProfileInfo {
24
24
  interface HelpLinks {
25
25
  liveChatProps?: LinkType;
26
26
  helpCenterProps?: LinkType;
27
- changelogProps?: LinkType;
27
+ changelogProps?: ChangeLogPropsType;
28
28
  keyboardShortcutProps?: LinkType;
29
29
  }
30
30
  /**
@@ -15,7 +15,7 @@ type DataProps = {
15
15
  totalCount?: number;
16
16
  };
17
17
  type ColumnsButtonProps = {
18
- onChange: (columns: ColumnData[]) => void;
18
+ onChange: (columns: ColumnData[], hiddenColumns: string[]) => void;
19
19
  actionBlock?: React.ReactNode;
20
20
  checkboxProps?: Partial<CheckboxProps>;
21
21
  columnData?: ColumnData[];
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import { InputProps, SwitchProps } from "neetoui";
2
3
  /**
3
4
  *
4
5
  * ToggleFeatureCard can be used to enable or disable a setting, and supports
@@ -19,14 +20,7 @@ const ToggleFeatureCard: React.FC<{
19
20
  descriptionDataCy?: string;
20
21
  isDisabled?: boolean;
21
22
  children?: React.ReactNode | null;
22
- inputProps: {
23
- name: string;
24
- display?: React.ReactNode | null;
25
- label?: string;
26
- editButtonTooltip?: string;
27
- editButtonDataCy?: string;
28
- placeholder?: string;
29
- dataCy?: string;
30
- };
23
+ inputProps?: InputProps;
24
+ switchProps?: SwitchProps;
31
25
  }>;
32
26
  export default ToggleFeatureCard;