@bigbinary/neeto-molecules 1.0.114 → 1.1.0

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 (49) hide show
  1. package/README.md +1 -0
  2. package/dist/Container.cjs.js +1 -1
  3. package/dist/Container.js +1 -1
  4. package/dist/CustomDomainDashboard.cjs.js +23 -24
  5. package/dist/CustomDomainDashboard.cjs.js.map +1 -1
  6. package/dist/CustomDomainDashboard.js +26 -27
  7. package/dist/CustomDomainDashboard.js.map +1 -1
  8. package/dist/EmailForm.cjs.js +110 -54
  9. package/dist/EmailForm.cjs.js.map +1 -1
  10. package/dist/EmailForm.js +111 -55
  11. package/dist/EmailForm.js.map +1 -1
  12. package/dist/Header.cjs.js +21 -23
  13. package/dist/Header.cjs.js.map +1 -1
  14. package/dist/Header.js +24 -26
  15. package/dist/Header.js.map +1 -1
  16. package/dist/MenuBar.cjs.js +1 -1
  17. package/dist/MenuBar.js +1 -1
  18. package/dist/NeetoWidget.cjs.js +52 -31
  19. package/dist/NeetoWidget.cjs.js.map +1 -1
  20. package/dist/NeetoWidget.js +54 -33
  21. package/dist/NeetoWidget.js.map +1 -1
  22. package/dist/Scrollable.cjs.js +5 -1
  23. package/dist/Scrollable.cjs.js.map +1 -1
  24. package/dist/Scrollable.js +5 -1
  25. package/dist/Scrollable.js.map +1 -1
  26. package/dist/Security.cjs.js +28 -25
  27. package/dist/Security.cjs.js.map +1 -1
  28. package/dist/Security.js +31 -28
  29. package/dist/Security.js.map +1 -1
  30. package/dist/SendToFields.cjs.js +2524 -0
  31. package/dist/SendToFields.cjs.js.map +1 -0
  32. package/dist/SendToFields.js +2517 -0
  33. package/dist/SendToFields.js.map +1 -0
  34. package/dist/ShareViaEmail.cjs.js +284 -221
  35. package/dist/ShareViaEmail.cjs.js.map +1 -1
  36. package/dist/ShareViaEmail.js +287 -224
  37. package/dist/ShareViaEmail.js.map +1 -1
  38. package/dist/Sidebar.cjs.js +251 -139
  39. package/dist/Sidebar.cjs.js.map +1 -1
  40. package/dist/Sidebar.js +254 -142
  41. package/dist/Sidebar.js.map +1 -1
  42. package/dist/SubHeader.cjs.js +1 -1
  43. package/dist/SubHeader.js +1 -1
  44. package/package.json +3 -3
  45. package/src/translations/en.json +16 -3
  46. package/types/Header.d.ts +3 -2
  47. package/types/NavigationHeader.d.ts +63 -41
  48. package/types/SendToFields.d.ts +63 -0
  49. package/types/Sidebar.d.ts +2 -1
@@ -252,7 +252,7 @@ var RightBlock = function RightBlock(_ref) {
252
252
 
253
253
  var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
254
254
 
255
- var css = ".neeto-molecules-subheader{align-items:center;background-color:rgb(var(--neeto-ui-white));display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--neeto-ui-sub-header-bottom-margin);min-height:var(--neeto-ui-sub-header-height);width:100%}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper{display:flex;flex-grow:1}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left{align-items:center;display:flex;flex-direction:row;justify-content:flex-start}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left .neeto-molecules-input__prefix{color:rgb(var(--neeto-ui-gray-400))}.neeto-molecules-subheader .neeto-molecules-subheader__right{align-items:center;display:flex;flex-direction:row;gap:12px;justify-content:flex-end}.neeto-molecules-subheader .neeto-molecules-subheader__right-actions{align-items:center;display:flex;flex-direction:row;gap:8px;justify-content:flex-end}.neeto-molecules-subheader .neeto-molecules-subheader__right-actions>:not([hidden])~:not([hidden]){border-left:thin solid rgb(var(--neeto-ui-gray-300));padding-left:8px}.neeto-molecules-subheader__download{position:relative}.neeto-molecules-subheader__download-count{align-items:center;background-color:rgb(var(--neeto-ui-primary-500));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-white));display:inline-flex;font-size:10px;justify-content:center;min-height:16px;min-width:16px;position:absolute;right:-2px;text-align:center;top:-2px;z-index:1}";
255
+ var css = ":root{--neeto-molecules-sub-header-height:37px;--neeto-molecules-sub-header-bottom-margin:20px}.neeto-molecules-subheader{align-items:center;background-color:rgb(var(--neeto-ui-white));display:flex;flex-direction:row;justify-content:space-between;margin-bottom:20px;margin-bottom:var(--neeto-molecules-sub-header-bottom-margin);min-height:37px;min-height:var(--neeto-molecules-sub-header-height);width:100%}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper{display:flex;flex-grow:1}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left{align-items:center;display:flex;flex-direction:row;justify-content:flex-start}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left .neeto-molecules-input__prefix{color:rgb(var(--neeto-ui-gray-400))}.neeto-molecules-subheader .neeto-molecules-subheader__right{align-items:center;display:flex;flex-direction:row;gap:12px;justify-content:flex-end}.neeto-molecules-subheader .neeto-molecules-subheader__right-actions{align-items:center;display:flex;flex-direction:row;gap:8px;justify-content:flex-end}.neeto-molecules-subheader .neeto-molecules-subheader__right-actions>:not([hidden])~:not([hidden]){border-left:thin solid rgb(var(--neeto-ui-gray-300));padding-left:8px}.neeto-molecules-subheader__download{position:relative}.neeto-molecules-subheader__download-count{align-items:center;background-color:rgb(var(--neeto-ui-primary-500));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-white));display:inline-flex;font-size:10px;justify-content:center;min-height:16px;min-width:16px;position:absolute;right:-2px;text-align:center;top:-2px;z-index:1}";
256
256
  n(css,{});
257
257
 
258
258
  var SubHeader = function SubHeader(_ref) {
package/dist/SubHeader.js CHANGED
@@ -245,7 +245,7 @@ var RightBlock = function RightBlock(_ref) {
245
245
 
246
246
  var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
247
247
 
248
- var css = ".neeto-molecules-subheader{align-items:center;background-color:rgb(var(--neeto-ui-white));display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--neeto-ui-sub-header-bottom-margin);min-height:var(--neeto-ui-sub-header-height);width:100%}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper{display:flex;flex-grow:1}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left{align-items:center;display:flex;flex-direction:row;justify-content:flex-start}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left .neeto-molecules-input__prefix{color:rgb(var(--neeto-ui-gray-400))}.neeto-molecules-subheader .neeto-molecules-subheader__right{align-items:center;display:flex;flex-direction:row;gap:12px;justify-content:flex-end}.neeto-molecules-subheader .neeto-molecules-subheader__right-actions{align-items:center;display:flex;flex-direction:row;gap:8px;justify-content:flex-end}.neeto-molecules-subheader .neeto-molecules-subheader__right-actions>:not([hidden])~:not([hidden]){border-left:thin solid rgb(var(--neeto-ui-gray-300));padding-left:8px}.neeto-molecules-subheader__download{position:relative}.neeto-molecules-subheader__download-count{align-items:center;background-color:rgb(var(--neeto-ui-primary-500));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-white));display:inline-flex;font-size:10px;justify-content:center;min-height:16px;min-width:16px;position:absolute;right:-2px;text-align:center;top:-2px;z-index:1}";
248
+ var css = ":root{--neeto-molecules-sub-header-height:37px;--neeto-molecules-sub-header-bottom-margin:20px}.neeto-molecules-subheader{align-items:center;background-color:rgb(var(--neeto-ui-white));display:flex;flex-direction:row;justify-content:space-between;margin-bottom:20px;margin-bottom:var(--neeto-molecules-sub-header-bottom-margin);min-height:37px;min-height:var(--neeto-molecules-sub-header-height);width:100%}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper{display:flex;flex-grow:1}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left{align-items:center;display:flex;flex-direction:row;justify-content:flex-start}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left .neeto-molecules-input__prefix{color:rgb(var(--neeto-ui-gray-400))}.neeto-molecules-subheader .neeto-molecules-subheader__right{align-items:center;display:flex;flex-direction:row;gap:12px;justify-content:flex-end}.neeto-molecules-subheader .neeto-molecules-subheader__right-actions{align-items:center;display:flex;flex-direction:row;gap:8px;justify-content:flex-end}.neeto-molecules-subheader .neeto-molecules-subheader__right-actions>:not([hidden])~:not([hidden]){border-left:thin solid rgb(var(--neeto-ui-gray-300));padding-left:8px}.neeto-molecules-subheader__download{position:relative}.neeto-molecules-subheader__download-count{align-items:center;background-color:rgb(var(--neeto-ui-primary-500));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-white));display:inline-flex;font-size:10px;justify-content:center;min-height:16px;min-width:16px;position:absolute;right:-2px;text-align:center;top:-2px;z-index:1}";
249
249
  n(css,{});
250
250
 
251
251
  var SubHeader = function SubHeader(_ref) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-molecules",
3
- "version": "1.0.114",
3
+ "version": "1.1.0",
4
4
  "description": "A package of reusable molecular components for neeto products.",
5
5
  "repository": "git@github.com:bigbinary/neeto-molecules.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",
@@ -51,10 +51,10 @@
51
51
  "@bigbinary/neeto-commons-frontend": "2.0.134",
52
52
  "@bigbinary/neeto-editor": "1.27.0-beta.1",
53
53
  "@bigbinary/neeto-filters-frontend": "^2.11.15",
54
- "@bigbinary/neeto-icons": "^1.12.3",
54
+ "@bigbinary/neeto-icons": "^1.14.0",
55
55
  "@bigbinary/neeto-molecules": "^1.0.5",
56
56
  "@bigbinary/neeto-time-zones": "^0.5.0",
57
- "@bigbinary/neetoui": "^5.1.5",
57
+ "@bigbinary/neetoui": "^5.2.2",
58
58
  "@faker-js/faker": "7.6.0",
59
59
  "@honeybadger-io/react": "2.0.1",
60
60
  "@rails/activestorage": "^7.0.5",
@@ -67,12 +67,16 @@
67
67
  "logout": "Log out",
68
68
  "help": "Help",
69
69
  "productSwitcher": "Product switcher",
70
+ "neetoProducts": "neeto products",
70
71
  "helpLinks": {
71
72
  "liveChat": "Live chat",
72
73
  "helpCenter": "Help center",
73
74
  "whatsNew": "What's new",
74
- "keyboardShortcuts": "Keyboard shortcuts"
75
- }
75
+ "keyboardShortcuts": "Keyboard shortcuts",
76
+ "helpArticles": "Help articles"
77
+ },
78
+ "showMenu": "Expand sidebar",
79
+ "hideMenu": "Collapse sidebar"
76
80
  },
77
81
  "appSwitcher": {
78
82
  "noApps": "No apps found",
@@ -142,7 +146,10 @@
142
146
  },
143
147
  "invalidType": "Invalid email type received."
144
148
  },
145
- "developmentInfo": "This page can be accessed only in SSO mode. To access the page, run neetoAuth in the background and restart the application in SSO mode."
149
+ "developmentInfo": "This page can be accessed only in SSO mode. To access the page, run neetoAuth in the background and restart the application in SSO mode.",
150
+ "tooltips": {
151
+ "productIsDisabled": "The product '{{productName}}' is disabled for this organization. Please enable the product to enable this widget."
152
+ }
146
153
  },
147
154
  "customDomain": {
148
155
  "customDomain_one": "Custom domain",
@@ -533,6 +540,12 @@
533
540
  "KB": "KB",
534
541
  "Course": "Course"
535
542
  }
543
+ },
544
+ "sendToFields": {
545
+ "uploadCsvTooltip": "Accepts only CSV files with an 'email' column",
546
+ "errors": {
547
+ "invalidCsv": "Invalid csv, email column not found"
548
+ }
536
549
  }
537
550
  }
538
551
  }
package/types/Header.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import { SIZES } from "components/Header/constants";
2
3
  import { DropdownProps } from "neetoui";
3
4
  /**
4
5
  *
@@ -22,9 +23,9 @@ const Header: React.FC<{
22
23
  searchProps?: object;
23
24
  breadcrumbs?: {
24
25
  text: string;
25
- link: string;
26
+ link?: string;
26
27
  }[];
28
+ size?: keyof typeof SIZES;
27
29
  renderDropdown?: (Dropdown: React.FC<DropdownProps>) => JSX.Element;
28
- menuBarToggle?: (...args: any[]) => any;
29
30
  }>;
30
31
  export default Header;
@@ -52,12 +52,18 @@ type LeftBlockPropTypes = {
52
52
  * const Page = () => (
53
53
  * <NavigationHeader
54
54
  * leftActionBlock={<NavigationHeader.LeftActionBlock {...leftBlockProps} />}
55
- * rightActionBlock={<NavigationHeader.RightActionBlock {...rightBlockProps} />}
56
- * navigationLinks={<NavigationHeader.NavigationLinks {...navigationLinkProps} />}
55
+ * rightActionBlock={
56
+ * <NavigationHeader.RightActionBlock {...rightBlockProps} />
57
+ * }
58
+ * navigationLinks={
59
+ * <NavigationHeader.NavigationLinks {...navigationLinkProps} />
60
+ * }
57
61
  * />
58
62
  * );
59
63
  * @endexample
60
- * To specify the content to be rendered in the left side of the NavigationHeader.
64
+ * To specify the content to be rendered in the left side of the
65
+ *
66
+ * NavigationHeader.
61
67
  *
62
68
  * @example
63
69
  *
@@ -66,19 +72,25 @@ type LeftBlockPropTypes = {
66
72
  *
67
73
  * const Page = () => (
68
74
  * <NavigationHeader
69
- * leftActionBlock={<NavigationHeader.LeftActionBlock
70
- * homeButtonProps={{ tooltip: { position: "right" } }}
71
- * homeUrl={homeUrl}
72
- * renameProps={{
73
- * disabled: false,
74
- * dropdownItems: [{ label: "Clone", onClick: noop }],
75
- * placeholder: "Enter a name",
76
- * value: "Feedback form",
77
- * onRename: () => noop,
78
- * }}
79
- * />}
80
- * rightActionBlock={<NavigationHeader.RightActionBlock {...rightBlockProps} />}
81
- * navigationLinks={<NavigationHeader.NavigationLinks {...navigationLinkProps} />}
75
+ * leftActionBlock={
76
+ * <NavigationHeader.LeftActionBlock
77
+ * homeButtonProps={{ tooltip: { position: "right" } }}
78
+ * homeUrl={homeUrl}
79
+ * renameProps={{
80
+ * disabled: false,
81
+ * dropdownItems: [{ label: "Clone", onClick: noop }],
82
+ * placeholder: "Enter a name",
83
+ * value: "Feedback form",
84
+ * onRename: () => noop,
85
+ * }}
86
+ * />
87
+ * }
88
+ * rightActionBlock={
89
+ * <NavigationHeader.RightActionBlock {...rightBlockProps} />
90
+ * }
91
+ * navigationLinks={
92
+ * <NavigationHeader.NavigationLinks {...navigationLinkProps} />
93
+ * }
82
94
  * />
83
95
  * );
84
96
  * @endexample
@@ -91,19 +103,25 @@ type LeftBlockPropTypes = {
91
103
  *
92
104
  * const Page = () => (
93
105
  * <NavigationHeader
94
- * navigationLinks={<NavigationHeader.NavigationLinks
95
- * headerLinks={[
96
- * { key: "build", to: "/build", label: "Build" },
97
- * { key: "design", to: "/design", label: "Design" },
98
- * { key: "configure", to: "/configure", label: "Configure" },
99
- * ]}
100
- * />}
101
- * rightActionBlock={<NavigationHeader.RightActionBlock {...rightBlockProps} />}
106
+ * navigationLinks={
107
+ * <NavigationHeader.NavigationLinks
108
+ * headerLinks={[
109
+ * { key: "build", to: "/build", label: "Build" },
110
+ * { key: "design", to: "/design", label: "Design" },
111
+ * { key: "configure", to: "/configure", label: "Configure" },
112
+ * ]}
113
+ * />
114
+ * }
115
+ * rightActionBlock={
116
+ * <NavigationHeader.RightActionBlock {...rightBlockProps} />
117
+ * }
102
118
  * leftActionBlock={<NavigationHeader.LeftActionBlock {...leftBlockProps} />}
103
119
  * />
104
120
  * );
105
121
  * @endexample
106
- * To specify the content to be rendered in the right side of the NavigationHeader
122
+ * To specify the content to be rendered in the right side of the
123
+ *
124
+ * NavigationHeader
107
125
  *
108
126
  * @example
109
127
  *
@@ -112,22 +130,26 @@ type LeftBlockPropTypes = {
112
130
  *
113
131
  * const Page = () => (
114
132
  * <NavigationHeader
115
- * rightActionBlock={<NavigationHeader.RightActionBlock
116
- * isPublishButtonVisible={false}
117
- * draftPreviewUrl="/preview/draft"
118
- * isDraftBlockHidden={false}
119
- * isResetDraftButtonVisible={true}
120
- * isResetting={false}
121
- * onResetClick={noop}
122
- * isPublishDisabled={true}
123
- * isPublishing={false}
124
- * handlePublish={noop}
125
- * isPublishPreviewDisabled={true}
126
- * publishedPreviewUrl="/preview/published"
127
- * setIsResetAlertOpen={noop}
128
- * handleReset={noop}
129
- * />}
130
- * navigationLinks={<NavigationHeader.NavigationLinks {...navigationLinkProps} />}
133
+ * rightActionBlock={
134
+ * <NavigationHeader.RightActionBlock
135
+ * isPublishButtonVisible={false}
136
+ * draftPreviewUrl="/preview/draft"
137
+ * isDraftBlockHidden={false}
138
+ * isResetDraftButtonVisible={true}
139
+ * isResetting={false}
140
+ * onResetClick={noop}
141
+ * isPublishDisabled={true}
142
+ * isPublishing={false}
143
+ * handlePublish={noop}
144
+ * isPublishPreviewDisabled={true}
145
+ * publishedPreviewUrl="/preview/published"
146
+ * setIsResetAlertOpen={noop}
147
+ * handleReset={noop}
148
+ * />
149
+ * }
150
+ * navigationLinks={
151
+ * <NavigationHeader.NavigationLinks {...navigationLinkProps} />
152
+ * }
131
153
  * leftActionBlock={<NavigationHeader.LeftActionBlock {...leftBlockProps} />}
132
154
  * />
133
155
  * );
@@ -0,0 +1,63 @@
1
+ import React from "react";
2
+ import { InputProps } from "neetoui";
3
+ /**
4
+ *
5
+ * This email input component comes with the capability to include recipients in
6
+ *
7
+ * the Blind Carbon Copy (BCC) and Carbon Copy (CC) fields. The 'showCopyEmail'
8
+ *
9
+ * formik key is used to toggle the visibility of the Cc/Bcc input fields and is
10
+ *
11
+ * automatically added if omitted when clicking the Cc/Bcc
12
+ *
13
+ * button.Additionally,default name attributes, 'sendTo,' 'sendToCc,' and
14
+ *
15
+ * 'sendToBcc,' are provided for the email inputs, which can be customized to suit
16
+ *
17
+ * your needs.
18
+ *
19
+ * @example
20
+ *
21
+ * import React from "react";
22
+ * import SendToFields from "@bigbinary/neeto-molecules/SendToFields";
23
+ *
24
+ * const SendToFieldsComponent = () => (
25
+ * <Form
26
+ * formikProps={{
27
+ * enableReinitialize: true,
28
+ * initialValues: {
29
+ * sendTo: [],
30
+ * sendToCc: [],
31
+ * sendToBcc: [],
32
+ * showCopyEmail: false,
33
+ * },
34
+ * }}
35
+ * >
36
+ * <SendToFields
37
+ * showUploadCsvButton
38
+ * showCcBccButton
39
+ * emailInputProps={{
40
+ * id: "sendTo",
41
+ * name: "sendTo",
42
+ * }}
43
+ * ccInputProps={{
44
+ * label: "CC",
45
+ * name: "sendToCc",
46
+ * }}
47
+ * bccInputProps={{
48
+ * label: "BCC",
49
+ * name: "sendToBcc",
50
+ * }}
51
+ * />
52
+ * </Form>
53
+ * );
54
+ * @endexample
55
+ */
56
+ const SendToFields: React.FC<{
57
+ inputProps?: InputProps;
58
+ ccInputProps?: InputProps;
59
+ bccInputPropse?: InputProps;
60
+ showUploadCsvButton: boolean;
61
+ showCcBccButton: boolean;
62
+ }>;
63
+ export default SendToFields;
@@ -6,6 +6,7 @@ type NavLinkItemType = {
6
6
  label?: React.ReactNode;
7
7
  icon?: any;
8
8
  description?: React.ReactNode;
9
+ isActive: () => boolean;
9
10
  } & React.PropsWithoutRef<NavLinkProps<any>> & React.RefAttributes<HTMLAnchorElement>;
10
11
  type LinkType = {
11
12
  onClick?: React.MouseEventHandler<HTMLButtonElement>;
@@ -24,7 +25,7 @@ interface ProfileInfo {
24
25
  interface HelpLinks {
25
26
  liveChatProps?: LinkType;
26
27
  helpCenterProps?: LinkType;
27
- changelogProps?: LinkType;
28
+ changelogProps?: ChangeLogPropsType;
28
29
  keyboardShortcutProps?: LinkType;
29
30
  }
30
31
  /**