@bigbinary/neeto-molecules 1.7.0-beta.1 → 1.7.0-beta.2

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 (124) hide show
  1. package/README.md +63 -54
  2. package/dist/Breadcrumbs.js +4 -9
  3. package/dist/Breadcrumbs.js.map +1 -1
  4. package/dist/Builder.js +70 -149
  5. package/dist/Builder.js.map +1 -1
  6. package/dist/CalendarView.js +39 -6
  7. package/dist/CalendarView.js.map +1 -1
  8. package/dist/Columns.js +27 -16
  9. package/dist/Columns.js.map +1 -1
  10. package/dist/Currency.js +937 -0
  11. package/dist/Currency.js.map +1 -0
  12. package/dist/CustomDomainDashboard.js +45 -39
  13. package/dist/CustomDomainDashboard.js.map +1 -1
  14. package/dist/EmojiPicker.js +134 -0
  15. package/dist/EmojiPicker.js.map +1 -0
  16. package/dist/EmojiReactions.js +123 -0
  17. package/dist/EmojiReactions.js.map +1 -0
  18. package/dist/ErrorPage.js +4 -2
  19. package/dist/ErrorPage.js.map +1 -1
  20. package/dist/FloatingActionMenu.js +7 -6
  21. package/dist/FloatingActionMenu.js.map +1 -1
  22. package/dist/Header.js +9 -36
  23. package/dist/Header.js.map +1 -1
  24. package/dist/HelpPopover.js +109 -27
  25. package/dist/HelpPopover.js.map +1 -1
  26. package/dist/IntegrationCard.js +1 -1
  27. package/dist/IntegrationCard.js.map +1 -1
  28. package/dist/IpRestriction.js +1 -3
  29. package/dist/IpRestriction.js.map +1 -1
  30. package/dist/LoginPage.js +5 -4
  31. package/dist/LoginPage.js.map +1 -1
  32. package/dist/MenuBar.js +1 -1
  33. package/dist/NavigationHeader.js +9 -9
  34. package/dist/NavigationHeader.js.map +1 -1
  35. package/dist/ProductEmbed.js +72 -23
  36. package/dist/ProductEmbed.js.map +1 -1
  37. package/dist/PublishBlock.js +2 -0
  38. package/dist/PublishBlock.js.map +1 -1
  39. package/dist/Rename.js +4 -9
  40. package/dist/Rename.js.map +1 -1
  41. package/dist/Schedule.js +8 -4
  42. package/dist/Schedule.js.map +1 -1
  43. package/dist/Search.js +3 -1
  44. package/dist/Search.js.map +1 -1
  45. package/dist/Security.js +7 -34
  46. package/dist/Security.js.map +1 -1
  47. package/dist/Settings.js +12 -38
  48. package/dist/Settings.js.map +1 -1
  49. package/dist/ShareViaLink.js +30 -25
  50. package/dist/ShareViaLink.js.map +1 -1
  51. package/dist/Sidebar.js +449 -50
  52. package/dist/Sidebar.js.map +1 -1
  53. package/dist/SubHeader.js +40 -7
  54. package/dist/SubHeader.js.map +1 -1
  55. package/dist/Taxonomy.js +46 -40
  56. package/dist/Taxonomy.js.map +1 -1
  57. package/dist/cjs/Breadcrumbs.js +4 -9
  58. package/dist/cjs/Breadcrumbs.js.map +1 -1
  59. package/dist/cjs/Builder.js +70 -149
  60. package/dist/cjs/Builder.js.map +1 -1
  61. package/dist/cjs/CalendarView.js +36 -3
  62. package/dist/cjs/CalendarView.js.map +1 -1
  63. package/dist/cjs/Columns.js +25 -14
  64. package/dist/cjs/Columns.js.map +1 -1
  65. package/dist/cjs/Currency.js +943 -0
  66. package/dist/cjs/Currency.js.map +1 -0
  67. package/dist/cjs/CustomDomainDashboard.js +43 -36
  68. package/dist/cjs/CustomDomainDashboard.js.map +1 -1
  69. package/dist/cjs/EmojiPicker.js +142 -0
  70. package/dist/cjs/EmojiPicker.js.map +1 -0
  71. package/dist/cjs/EmojiReactions.js +130 -0
  72. package/dist/cjs/EmojiReactions.js.map +1 -0
  73. package/dist/cjs/ErrorPage.js +4 -2
  74. package/dist/cjs/ErrorPage.js.map +1 -1
  75. package/dist/cjs/FloatingActionMenu.js +7 -6
  76. package/dist/cjs/FloatingActionMenu.js.map +1 -1
  77. package/dist/cjs/Header.js +9 -35
  78. package/dist/cjs/Header.js.map +1 -1
  79. package/dist/cjs/HelpPopover.js +109 -26
  80. package/dist/cjs/HelpPopover.js.map +1 -1
  81. package/dist/cjs/IntegrationCard.js +1 -1
  82. package/dist/cjs/IntegrationCard.js.map +1 -1
  83. package/dist/cjs/IpRestriction.js +1 -3
  84. package/dist/cjs/IpRestriction.js.map +1 -1
  85. package/dist/cjs/LoginPage.js +5 -4
  86. package/dist/cjs/LoginPage.js.map +1 -1
  87. package/dist/cjs/MenuBar.js +1 -1
  88. package/dist/cjs/NavigationHeader.js +9 -9
  89. package/dist/cjs/NavigationHeader.js.map +1 -1
  90. package/dist/cjs/ProductEmbed.js +71 -22
  91. package/dist/cjs/ProductEmbed.js.map +1 -1
  92. package/dist/cjs/PublishBlock.js +2 -0
  93. package/dist/cjs/PublishBlock.js.map +1 -1
  94. package/dist/cjs/Rename.js +4 -9
  95. package/dist/cjs/Rename.js.map +1 -1
  96. package/dist/cjs/Schedule.js +8 -4
  97. package/dist/cjs/Schedule.js.map +1 -1
  98. package/dist/cjs/Search.js +3 -1
  99. package/dist/cjs/Search.js.map +1 -1
  100. package/dist/cjs/Security.js +7 -33
  101. package/dist/cjs/Security.js.map +1 -1
  102. package/dist/cjs/Settings.js +12 -37
  103. package/dist/cjs/Settings.js.map +1 -1
  104. package/dist/cjs/ShareViaLink.js +30 -25
  105. package/dist/cjs/ShareViaLink.js.map +1 -1
  106. package/dist/cjs/Sidebar.js +442 -42
  107. package/dist/cjs/Sidebar.js.map +1 -1
  108. package/dist/cjs/SubHeader.js +37 -4
  109. package/dist/cjs/SubHeader.js.map +1 -1
  110. package/dist/cjs/Taxonomy.js +43 -36
  111. package/dist/cjs/Taxonomy.js.map +1 -1
  112. package/package.json +9 -2
  113. package/src/translations/en.json +20 -4
  114. package/types/Builder.d.ts +53 -14
  115. package/types/Columns.d.ts +2 -3
  116. package/types/Currency.d.ts +35 -0
  117. package/types/EmojiPicker.d.ts +33 -0
  118. package/types/EmojiReactions.d.ts +60 -0
  119. package/types/ErrorPage.d.ts +1 -0
  120. package/types/HelpPopover.d.ts +1 -0
  121. package/types/ProductEmbed.d.ts +3 -0
  122. package/types/Schedule.d.ts +1 -0
  123. package/types/Sidebar.d.ts +10 -2
  124. package/types/SubHeader.d.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-molecules",
3
- "version": "1.7.0-beta.1",
3
+ "version": "1.7.0-beta.2",
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>",
@@ -71,12 +71,14 @@
71
71
  "@bigbinary/neeto-cist": "^1.0.6",
72
72
  "@bigbinary/neeto-commons-frontend": "^3.1.11",
73
73
  "@bigbinary/neeto-editor": "^1.28.36",
74
- "@bigbinary/neeto-filters-frontend": "^2.11.15",
74
+ "@bigbinary/neeto-filters-frontend": "3.1.2",
75
75
  "@bigbinary/neeto-hotkeys": "^1.0.1",
76
76
  "@bigbinary/neeto-icons": "^1.14.0",
77
77
  "@bigbinary/neeto-molecules": "^1.0.5",
78
78
  "@bigbinary/neeto-time-zones": "^0.5.0",
79
79
  "@bigbinary/neetoui": "^5.2.32",
80
+ "@emoji-mart/data": "^1.1.2",
81
+ "@emoji-mart/react": "^1.1.1",
80
82
  "@faker-js/faker": "7.6.0",
81
83
  "@fullcalendar/core": "^6.1.8",
82
84
  "@fullcalendar/daygrid": "^6.1.8",
@@ -119,6 +121,7 @@
119
121
  "classnames": "^2.3.2",
120
122
  "css-loader": "4.3.0",
121
123
  "dayjs": "1.11.1",
124
+ "emoji-mart": "^5.5.2",
122
125
  "eslint": "8.14.0",
123
126
  "eslint-config-prettier": "8.5.0",
124
127
  "eslint-plugin-cypress": "2.12.1",
@@ -168,6 +171,7 @@
168
171
  "rollup-plugin-styles": "^4.0.0",
169
172
  "sass": "^1.58.1",
170
173
  "sass-loader": "10.0.2",
174
+ "shadow-dom-testing-library": "^1.11.2",
171
175
  "storybook": "^7.5.3",
172
176
  "storybook-dark-mode": "^3.0.1",
173
177
  "tailwindcss": "^3.4.1",
@@ -184,6 +188,8 @@
184
188
  "@bigbinary/neeto-molecules": "latest",
185
189
  "@bigbinary/neeto-time-zones": "latest",
186
190
  "@bigbinary/neetoui": "latest",
191
+ "@emoji-mart/data": "^1.1.2",
192
+ "@emoji-mart/react": "^1.1.1",
187
193
  "@fullcalendar/core": "^6.1.8",
188
194
  "@fullcalendar/daygrid": "^6.1.8",
189
195
  "@fullcalendar/interaction": "^6.1.8",
@@ -195,6 +201,7 @@
195
201
  "axios": "^0.27.2",
196
202
  "classnames": "^2.3.2",
197
203
  "dayjs": "1.11.1",
204
+ "emoji-mart": "^5.5.2",
198
205
  "formik": "2.4.5",
199
206
  "i18next": "^22.5.1",
200
207
  "js-logger": "^1.6.1",
@@ -36,10 +36,12 @@
36
36
  },
37
37
  "download": "Download",
38
38
  "filter": "Filter",
39
- "somethingWentWrong": "Something went wrong. Please try again."
39
+ "somethingWentWrong": "Something went wrong. Please try again.",
40
+ "currency": "Currency",
41
+ "emojiPicker": "Emoji picker"
40
42
  },
41
43
  "columns": {
42
- "columns": "Columns",
44
+ "columns": "Show/hide columns",
43
45
  "noColumns": "No columns found!",
44
46
  "search": "Search columns"
45
47
  },
@@ -82,7 +84,18 @@
82
84
  "helpArticles": "Help articles"
83
85
  },
84
86
  "showMenu": "Expand sidebar",
85
- "hideMenu": "Collapse sidebar"
87
+ "hideMenu": "Collapse sidebar",
88
+ "segments": {
89
+ "segment_one": "segment",
90
+ "segment_other": "segments",
91
+ "deleteAlertMessage": "You are permanently deleting the segment <strong>{{entity, anyCase}}</strong>. This can't be undone.",
92
+ "renameTitle": "Rename segment",
93
+ "renameFieldLabel": "Segment name",
94
+ "label": "Segment name",
95
+ "validations": {
96
+ "nameIsRequired": "'Segment name' is required"
97
+ }
98
+ }
86
99
  },
87
100
  "appSwitcher": {
88
101
  "noApps": "No apps found",
@@ -356,7 +369,7 @@
356
369
  "editUrl": {
357
370
  "title": "Change link",
358
371
  "inputLabel": "Link",
359
- "description": "Once this link is edited, the current link will stop working. This can't be undone.",
372
+ "description": "Once this link is changed, the current link will stop working.",
360
373
  "submitButtonLabel": "Submit",
361
374
  "cancelButtonLabel": "Cancel",
362
375
  "validationError": "Please enter a valid path without special characters, except '/', '-' and '_'."
@@ -700,6 +713,9 @@
700
713
  "bottomRight": "Bottom Right",
701
714
  "bottomLeft": "Bottom Left"
702
715
  }
716
+ },
717
+ "reactions": {
718
+ "content": "{{groupedNames, anyCase}} reacted."
703
719
  }
704
720
  }
705
721
  }
@@ -3,55 +3,94 @@ type Element = {
3
3
  value: string;
4
4
  icon: React.ReactNode;
5
5
  };
6
-
7
6
  type ElementSection = {
8
7
  title: string;
9
8
  elements: Element[];
10
9
  key: string;
11
10
  isCreatable: (element: Element) => boolean;
12
11
  };
13
-
14
12
  type SelectedElement = {
15
13
  id: string;
16
14
  kind: string;
17
15
  position: number;
18
16
  label: string;
19
17
  icon: React.ReactNode;
18
+ isPending: boolean;
20
19
  };
21
-
22
20
  type dragResult = {
23
21
  index: number;
24
22
  };
25
-
26
23
  type SelectedElementAction = {
27
24
  label: string;
28
25
  key: string;
29
26
  onClick: (element: Element) => void;
30
27
  isVisible?: boolean;
31
28
  };
32
-
33
- export const ElementsPanel: React.FC<{
29
+ export
30
+ /**
31
+ *
32
+ * @example
33
+ *
34
+ * import React from "react";
35
+ * import Container from "@bigbinary/neeto-molecules/Container";
36
+ * import {
37
+ * ElementsPanel,
38
+ * PropertiesPanel,
39
+ * } from "@bigbinary/neeto-molecules/Builder";
40
+ *
41
+ * const Component = () => (
42
+ * <Container isHeaderFixed>
43
+ * <div className="flex h-full w-full justify-between">
44
+ * <ElementsPanel
45
+ * elementSections={sections}
46
+ * {...{
47
+ * handleAddElement,
48
+ * isElementVisible,
49
+ * selectedElements,
50
+ * fixedFirstElement,
51
+ * fixedLastElement,
52
+ * }}
53
+ * selectedElementActions={[
54
+ * {
55
+ * label: "Duplicate",
56
+ * key: "duplicate",
57
+ * onClick: element => alert("Clicked", JSON.stringify(element)),
58
+ * },
59
+ * {
60
+ * label: "Delete",
61
+ * key: "delete",
62
+ * onClick: element => alert("Clicked", JSON.stringify(element)),
63
+ * },
64
+ * ]}
65
+ * />
66
+ * <PropertiesPanel>
67
+ * <PropertiesPanel.EmptyProperty />
68
+ * </PropertiesPanel>
69
+ * </div>
70
+ * </Container>
71
+ * );
72
+ * @endexample
73
+ */
74
+ const ElementsPanel: React.FC<{
34
75
  elementSections: ElementSection[];
35
76
  selectedElements: SelectedElement[];
36
77
  handleAddElement: (element: Element) => void;
37
78
  isElementVisible: (element: Element) => boolean;
38
79
  fixedFirstElement?: SelectedElement;
39
80
  fixedLastElement?: SelectedElement;
40
- handleDragEnd?: ({ source: dragResult, destination: dragResult }) => void;
81
+ handleDragEnd?: ({
82
+ source: dragResult,
83
+ destination: dragResult
84
+ }) => void;
41
85
  isDragDisabled?: boolean;
42
86
  handleSelectElement: (index: number) => void;
43
- selectedElementIndex: number;
44
- fixedLastElementIndex: number;
87
+ selectedElementId: string;
45
88
  selectedElementActions: SelectedElementAction[] | ((element: Element) => SelectedElementAction[]);
46
89
  addAllElements: () => void;
47
90
  isAddingAllElements?: boolean;
48
91
  showElementsFillButton?: boolean;
49
92
  isAddingNewElement?: boolean;
50
- returnElementOnSelect?: boolean;
51
93
  }>;
52
-
53
94
  export const PropertiesPanel: React.FC<{
54
95
  children: React.ReactNode;
55
- id: string;
56
- onClose?: (id: string) => void;
57
- }>;
96
+ }>;
@@ -32,8 +32,8 @@ type Column = {
32
32
  * const { hideColumn } = useHiddenColumns(localStorageKey);
33
33
  * const [columns, setColumns] = useState([]);
34
34
  * const DEFAULT_COLUMNS_DATA = [
35
- * { title: "Id", dataIndex: "id", key: "id" },
36
- * { title: "Name", dataIndex: "name", key: "name" },
35
+ * { title: "Id", dataIndex: "id", key: "id", isHidable: false },
36
+ * { title: "Name", dataIndex: "name", key: "name", isHidable: false },
37
37
  * {
38
38
  * title: () => (
39
39
  * <>
@@ -63,7 +63,6 @@ const Columns: React.FC<{
63
63
  actionBlock?: React.ReactNode;
64
64
  checkboxProps?: CheckboxProps;
65
65
  columnData: Column[];
66
- fixedColumns?: string[];
67
66
  isSearchable?: boolean;
68
67
  localStorageKey: string;
69
68
  noColumnMessage?: string;
@@ -0,0 +1,35 @@
1
+ import React from "react";
2
+ import { SelectProps } from "@bigbinary/neetoui";
3
+ /**
4
+ *
5
+ * Used in neeto products to select currencies.
6
+ *
7
+ * ![Screenshot](https://github.com/bigbinary/neeto-molecules/assets/10956193/422f706f-8873-4091-866f-f09c24958b69|height=200|width=300)
8
+ *
9
+ * @example
10
+ *
11
+ * import * as yup from "yup";
12
+ * import Currency from "@bigbinary/neeto-molecules/Currency";
13
+ *
14
+ * const CurrencyContainer = () => {
15
+ * return (
16
+ * <Form
17
+ * formikProps={{
18
+ * initialValues: { currency: null },
19
+ * validationSchema: yup.object().shape({
20
+ * currency: yup.object().required(),
21
+ * }),
22
+ * }}
23
+ * >
24
+ * <Currency />
25
+ * <Button className="mt-5" label="Submit" type="submit" />
26
+ * </Form>
27
+ * );
28
+ * };
29
+ * @endexample
30
+ */
31
+ const Currency: React.FC<{
32
+ standalone?: boolean;
33
+ allowedCurrencies?: string[];
34
+ }> & SelectProps;
35
+ export default Currency;
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import { DropdownProps } from "neetoui";
3
+ type Emoji = {
4
+ native: string;
5
+ unified: string;
6
+ };
7
+ /**
8
+ *
9
+ * Used in neeto products to pick emojis.
10
+ *
11
+ * ![Screenshot](https://github.com/bigbinary/neeto-ui/assets/10956193/6238f165-3a55-4e66-bf4f-101971f80c80|height=200|width=300)
12
+ *
13
+ * @example
14
+ *
15
+ * import EmojiPicker from "@bigbinary/neeto-molecules/EmojiPicker";
16
+ *
17
+ * const EmojiPickerContainer = () => {
18
+ * const [emoji, setEmoji] = useState();
19
+ * return (
20
+ * <div>
21
+ * <div>Selected Emoji: {emoji}</div>
22
+ * <EmojiPicker onSelect={obj => setEmoji(obj.native)} />
23
+ * </div>
24
+ * );
25
+ * };
26
+ * @endexample
27
+ */
28
+ const EmojiPicker: React.FC<{
29
+ onSelect?: (emoji: Emoji) => void;
30
+ open?: boolean;
31
+ dropdownProps?: DropdownProps;
32
+ }>;
33
+ export default EmojiPicker;
@@ -0,0 +1,60 @@
1
+ import React from "react";
2
+ type Emoji = {
3
+ native: string;
4
+ unified: string;
5
+ };
6
+ type Reaction = {
7
+ native: string;
8
+ unified: string;
9
+ userName: string;
10
+ };
11
+ /**
12
+ *
13
+ * Used in neeto products to group user selected emojis and display them.
14
+ *
15
+ * ![Screenshot](https://github.com/bigbinary/neeto-ui/assets/10956193/576abbd2-dd08-4535-a120-1e9b295850fb|height=200|width=300)
16
+ *
17
+ * @example
18
+ *
19
+ * import EmojiReactions from "@bigbinary/neeto-molecules/EmojiReactions";
20
+ * const EmojiReactionsContainer = () => {
21
+ * const [reactions, setReactions] = useState([
22
+ * { native: "😃", unified: "1f603", userName: "User 1" },
23
+ * { native: "😄", unified: "1f604", userName: "User 1" },
24
+ * ]);
25
+ *
26
+ * const createReaction = emoji => ({
27
+ * native: emoji.native,
28
+ * unified: emoji.unified,
29
+ * userName: user.name,
30
+ * userId: user.id,
31
+ * });
32
+ *
33
+ * const onReactionClick = emoji => {
34
+ * const reaction = findBy(
35
+ * { unified: emoji.unified, userId: user.id },
36
+ * reactions
37
+ * );
38
+ * if (reaction) {
39
+ * setReactions(reactions.filter(item => item.unified !== reaction.unified));
40
+ * } else {
41
+ * setReactions([...reactions, createReaction(emoji)]);
42
+ * }
43
+ * };
44
+ *
45
+ * return (
46
+ * <div>
47
+ * <EmojiReactions {...{ onReactionClick, reactions }} />
48
+ * </div>
49
+ * );
50
+ * };
51
+ * @endexample
52
+ */
53
+ const EmojiReactions: React.FC<{
54
+ reactions: Reaction[];
55
+ onReactionClick?: (emoji: Emoji) => void;
56
+ emojiSize?: string;
57
+ emojiBoxStyle?: string;
58
+ isUpdating?: boolean;
59
+ }>;
60
+ export default EmojiReactions;
@@ -14,5 +14,6 @@ const ErrorPage: React.FC<{
14
14
  status?: number;
15
15
  backToHomeButtonProps?: Partial<ButtonProps>;
16
16
  children?: React.ReactNode | React.ReactNode[];
17
+ showNeetoChatWidget?: boolean;
17
18
  }>;
18
19
  export default ErrorPage;
@@ -35,5 +35,6 @@ const HelpPopover: React.FC<{
35
35
  helpLinkProps?: ButtonProps;
36
36
  popoverProps?: PopoverProps;
37
37
  size?: "default" | "large";
38
+ className?: string;
38
39
  }>;
39
40
  export default HelpPopover;
@@ -28,6 +28,9 @@ interface ElementPopupProps {
28
28
  const ProductEmbed: React.FC<{
29
29
  className?: string;
30
30
  goBackLink?: string;
31
+ customEmbedScriptPath?: string,
32
+ customPreviewIframeUrl?: string,
33
+ extraArgs?: object,
31
34
  id: string;
32
35
  options?: {
33
36
  inline?: InlineProps;
@@ -130,6 +130,7 @@ const Schedule: React.FC<{
130
130
  handleSubmit?: Function;
131
131
  handleValuesChanged?: Function;
132
132
  showHeader?: boolean;
133
+ isEditable?: boolean;
133
134
  periods: {
134
135
  [key: string]: Array<any>;
135
136
  };
@@ -1,11 +1,16 @@
1
+ import { filters } from "@bigbinary/neeto-filters-frontend";
1
2
  import React from "react";
2
3
  import { NavLinkProps } from "react-router-dom";
3
4
  type NavLinkItemType = {
4
- to: string;
5
+ to?: string;
5
6
  label?: React.ReactNode;
6
7
  icon?: any;
7
8
  description?: React.ReactNode;
8
- isActive: () => boolean;
9
+ isActive?: () => boolean;
10
+ count?: number;
11
+ type?: string;
12
+ filters?: filters;
13
+ checkpointKey?: string;
9
14
  } & React.PropsWithoutRef<NavLinkProps<any>> & React.RefAttributes<HTMLAnchorElement>;
10
15
  /**
11
16
  *
@@ -15,6 +20,8 @@ type NavLinkItemType = {
15
20
  *
16
21
  * can be toggled by clicking on the chevron icon.
17
22
  *
23
+ * ![Screenshot](https://github.com/bigbinary/neeto-molecules/assets/12969853/9be99f89-97cf-4295-acbf-ec39c658f68f|height=200|width=300)
24
+ *
18
25
  * @example
19
26
  *
20
27
  * import Sidebar from "@bigbinary/neeto-molecules/Sidebar";
@@ -34,5 +41,6 @@ type NavLinkItemType = {
34
41
  const Sidebar: React.FC<{
35
42
  navLinks?: NavLinkItemType[];
36
43
  customLogo?: any;
44
+ isCountsLoading?: boolean;
37
45
  }>;
38
46
  export default Sidebar;
@@ -19,7 +19,6 @@ type ColumnsButtonProps = {
19
19
  actionBlock?: React.ReactNode;
20
20
  checkboxProps?: Partial<CheckboxProps>;
21
21
  columnData?: ColumnData[];
22
- fixedColumns?: string[];
23
22
  isSearchable?: boolean;
24
23
  localStorageKey?: string;
25
24
  initialValue?: string[];