@synerise/ds-table 1.9.10 → 1.9.12

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 (232) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +9 -10
  3. package/dist/Cell/Action/ActionCell.d.ts +2 -2
  4. package/dist/Cell/Action/ActionCell.js +15 -18
  5. package/dist/Cell/Action/ActionCell.styles.d.ts +2 -2
  6. package/dist/Cell/Action/ActionCell.styles.js +10 -11
  7. package/dist/Cell/Action/ActionCell.types.d.ts +2 -2
  8. package/dist/Cell/Action/ActionCell.types.js +1 -1
  9. package/dist/Cell/AvatarLabel/AvatarLabel.d.ts +2 -2
  10. package/dist/Cell/AvatarLabel/AvatarLabel.js +32 -43
  11. package/dist/Cell/AvatarLabel/AvatarLabel.styles.d.ts +13 -13
  12. package/dist/Cell/AvatarLabel/AvatarLabel.styles.js +27 -28
  13. package/dist/Cell/AvatarLabel/AvatarLabel.types.d.ts +2 -2
  14. package/dist/Cell/AvatarLabel/AvatarLabel.types.js +1 -1
  15. package/dist/Cell/Copyable/Copyable.styles.d.ts +2 -2
  16. package/dist/Cell/Copyable/Copyable.styles.js +9 -15
  17. package/dist/Cell/Copyable/Copyable.types.d.ts +1 -1
  18. package/dist/Cell/Copyable/Copyable.types.js +1 -1
  19. package/dist/Cell/Copyable/CopyableCell.d.ts +2 -2
  20. package/dist/Cell/Copyable/CopyableCell.js +23 -27
  21. package/dist/Cell/Editable/EditableCell.d.ts +2 -2
  22. package/dist/Cell/Editable/EditableCell.js +26 -39
  23. package/dist/Cell/Editable/EditableCell.styles.d.ts +2 -2
  24. package/dist/Cell/Editable/EditableCell.styles.js +9 -7
  25. package/dist/Cell/Editable/EditableCell.types.d.ts +1 -1
  26. package/dist/Cell/Editable/EditableCell.types.js +1 -1
  27. package/dist/Cell/FlagLabel/FlagLabelCell.d.ts +2 -2
  28. package/dist/Cell/FlagLabel/FlagLabelCell.js +15 -14
  29. package/dist/Cell/FlagLabel/FlagLabelCell.styles.d.ts +1 -1
  30. package/dist/Cell/FlagLabel/FlagLabelCell.styles.js +6 -3
  31. package/dist/Cell/FlagLabel/FlagLabelCell.types.d.ts +2 -2
  32. package/dist/Cell/FlagLabel/FlagLabelCell.types.js +1 -1
  33. package/dist/Cell/IconLabel/IconLabel.d.ts +2 -2
  34. package/dist/Cell/IconLabel/IconLabel.js +14 -15
  35. package/dist/Cell/IconLabel/IconLabel.styles.d.ts +1 -1
  36. package/dist/Cell/IconLabel/IconLabel.styles.js +7 -6
  37. package/dist/Cell/IconLabel/IconLabel.types.d.ts +3 -3
  38. package/dist/Cell/IconLabel/IconLabel.types.js +1 -1
  39. package/dist/Cell/IconTooltipCell/IconTooltipCell.d.ts +2 -2
  40. package/dist/Cell/IconTooltipCell/IconTooltipCell.js +18 -23
  41. package/dist/Cell/IconTooltipCell/IconTooltipCell.styles.d.ts +2 -2
  42. package/dist/Cell/IconTooltipCell/IconTooltipCell.styles.js +9 -11
  43. package/dist/Cell/IconTooltipCell/IconTooltipCell.types.d.ts +4 -4
  44. package/dist/Cell/IconTooltipCell/IconTooltipCell.types.js +1 -1
  45. package/dist/Cell/InputNumber/InputNumberCell.d.ts +2 -2
  46. package/dist/Cell/InputNumber/InputNumberCell.js +10 -17
  47. package/dist/Cell/InputNumber/InputNumberCell.styles.d.ts +1 -1
  48. package/dist/Cell/InputNumber/InputNumberCell.styles.js +9 -5
  49. package/dist/Cell/InputNumber/InputNumberCell.types.d.ts +2 -2
  50. package/dist/Cell/InputNumber/InputNumberCell.types.js +1 -1
  51. package/dist/Cell/LabelsWithShowMore/LabelsWithShowMore.d.ts +3 -3
  52. package/dist/Cell/LabelsWithShowMore/LabelsWithShowMore.js +29 -40
  53. package/dist/Cell/LabelsWithShowMore/LabelsWithShowMore.styles.d.ts +3 -3
  54. package/dist/Cell/LabelsWithShowMore/LabelsWithShowMore.styles.js +11 -8
  55. package/dist/Cell/LabelsWithShowMore/LabelsWithShowMore.types.d.ts +2 -2
  56. package/dist/Cell/LabelsWithShowMore/LabelsWithShowMore.types.js +1 -1
  57. package/dist/Cell/LabelsWithShowMore/Modal/Modal.d.ts +2 -2
  58. package/dist/Cell/LabelsWithShowMore/Modal/Modal.js +35 -64
  59. package/dist/Cell/LabelsWithShowMore/Modal/Modal.types.d.ts +3 -3
  60. package/dist/Cell/LabelsWithShowMore/Modal/Modal.types.js +1 -1
  61. package/dist/Cell/Star/StarCell.d.ts +45 -45
  62. package/dist/Cell/Star/StarCell.js +25 -31
  63. package/dist/Cell/Star/StarCell.styles.d.ts +2 -2
  64. package/dist/Cell/Star/StarCell.styles.js +11 -9
  65. package/dist/Cell/Star/StarCell.types.d.ts +2 -2
  66. package/dist/Cell/Star/StarCell.types.js +1 -1
  67. package/dist/Cell/StatusLabel/StatusLabel.d.ts +2 -2
  68. package/dist/Cell/StatusLabel/StatusLabel.js +17 -19
  69. package/dist/Cell/StatusLabel/StatusLabel.styles.d.ts +2 -2
  70. package/dist/Cell/StatusLabel/StatusLabel.styles.js +9 -9
  71. package/dist/Cell/StatusLabel/StatusLabel.types.d.ts +3 -3
  72. package/dist/Cell/StatusLabel/StatusLabel.types.js +1 -1
  73. package/dist/Cell/TagIcon/TagIcon.d.ts +2 -2
  74. package/dist/Cell/TagIcon/TagIcon.js +9 -13
  75. package/dist/Cell/TagIcon/TagIcon.styles.d.ts +1 -1
  76. package/dist/Cell/TagIcon/TagIcon.styles.js +7 -6
  77. package/dist/Cell/TagIcon/TagIcon.types.d.ts +2 -2
  78. package/dist/Cell/TagIcon/TagIcon.types.js +1 -1
  79. package/dist/Cell/TagsGroup/TagsGroup.d.ts +2 -2
  80. package/dist/Cell/TagsGroup/TagsGroup.js +22 -39
  81. package/dist/Cell/TagsGroup/TagsGroup.styles.d.ts +2 -2
  82. package/dist/Cell/TagsGroup/TagsGroup.styles.js +30 -9
  83. package/dist/Cell/TagsGroup/TagsGroup.types.d.ts +2 -2
  84. package/dist/Cell/TagsGroup/TagsGroup.types.js +1 -1
  85. package/dist/Cell/index.d.ts +12 -12
  86. package/dist/Cell/index.js +28 -14
  87. package/dist/ColumnSortMenu/SortIcons.d.ts +2 -2
  88. package/dist/ColumnSortMenu/SortIcons.js +26 -38
  89. package/dist/ColumnSortMenu/SortRender.styles.d.ts +34 -34
  90. package/dist/ColumnSortMenu/SortRender.styles.js +13 -10
  91. package/dist/ColumnSortMenu/SortRenderer.d.ts +2 -2
  92. package/dist/ColumnSortMenu/SortRenderer.js +74 -108
  93. package/dist/ColumnSortMenu/TitleWithSort.d.ts +2 -2
  94. package/dist/ColumnSortMenu/TitleWithSort.js +19 -16
  95. package/dist/ColumnSortMenu/columnWithSortButtons.d.ts +1 -2
  96. package/dist/ColumnSortMenu/columnWithSortButtons.js +26 -43
  97. package/dist/ColumnSortMenu/groupedColumnsSort.d.ts +3 -3
  98. package/dist/ColumnSortMenu/groupedColumnsSort.js +33 -28
  99. package/dist/ColumnSortMenu/replaceSortButtons.d.ts +1 -1
  100. package/dist/ColumnSortMenu/replaceSortButtons.js +14 -15
  101. package/dist/ColumnSortMenu/useSortState.d.ts +1 -1
  102. package/dist/ColumnSortMenu/useSortState.js +95 -93
  103. package/dist/DefaultTable/DefaultTable.d.ts +2 -2
  104. package/dist/DefaultTable/DefaultTable.js +147 -148
  105. package/dist/FilterTrigger/FilterTrigger.d.ts +2 -2
  106. package/dist/FilterTrigger/FilterTrigger.js +42 -67
  107. package/dist/FilterTrigger/FilterTrigger.styles.d.ts +53 -53
  108. package/dist/FilterTrigger/FilterTrigger.styles.js +19 -32
  109. package/dist/FilterTrigger/FilterTrigger.types.d.ts +1 -1
  110. package/dist/FilterTrigger/FilterTrigger.types.js +1 -1
  111. package/dist/GroupTable/GroupTable.d.ts +3 -4
  112. package/dist/GroupTable/GroupTable.js +97 -118
  113. package/dist/GroupTable/GroupTable.styles.d.ts +25 -25
  114. package/dist/GroupTable/GroupTable.styles.js +40 -37
  115. package/dist/GroupTable/GroupTable.types.d.ts +1 -1
  116. package/dist/GroupTable/GroupTable.types.js +9 -6
  117. package/dist/GroupTable/GroupTableBody/GroupTableBody.d.ts +1 -1
  118. package/dist/GroupTable/GroupTableBody/GroupTableBody.js +83 -107
  119. package/dist/GroupTable/GroupTableBody/GroupTableBody.types.d.ts +3 -3
  120. package/dist/GroupTable/GroupTableBody/GroupTableBody.types.js +1 -1
  121. package/dist/GroupTable/GroupTableHeader/GroupTableHeader.d.ts +1 -1
  122. package/dist/GroupTable/GroupTableHeader/GroupTableHeader.js +25 -28
  123. package/dist/GroupTable/GroupTableHeader/GroupTableHeader.types.js +1 -1
  124. package/dist/InfiniteScroll/BackToTopButton.d.ts +2 -2
  125. package/dist/InfiniteScroll/BackToTopButton.js +7 -15
  126. package/dist/InfiniteScroll/BackToTopButton.styles.d.ts +34 -34
  127. package/dist/InfiniteScroll/BackToTopButton.styles.js +11 -9
  128. package/dist/InfiniteScroll/ErrorItem.d.ts +1 -1
  129. package/dist/InfiniteScroll/ErrorItem.js +19 -23
  130. package/dist/InfiniteScroll/ErrorItem.styles.d.ts +1 -1
  131. package/dist/InfiniteScroll/ErrorItem.styles.js +6 -3
  132. package/dist/InfiniteScroll/InfiniteLoaderItem.d.ts +2 -2
  133. package/dist/InfiniteScroll/InfiniteLoaderItem.js +33 -28
  134. package/dist/InfiniteScroll/InfiniteLoaderItem.styles.d.ts +1 -1
  135. package/dist/InfiniteScroll/InfiniteLoaderItem.styles.js +7 -4
  136. package/dist/InfiniteScroll/InfiniteLoaderItem.types.d.ts +1 -1
  137. package/dist/InfiniteScroll/InfiniteLoaderItem.types.js +1 -1
  138. package/dist/InfiniteScroll/LoadingItem.d.ts +1 -1
  139. package/dist/InfiniteScroll/LoadingItem.js +10 -10
  140. package/dist/InfiniteScroll/NoMoreItem.d.ts +1 -1
  141. package/dist/InfiniteScroll/NoMoreItem.js +10 -10
  142. package/dist/InfiniteScroll/OuterListElement.d.ts +1 -1
  143. package/dist/InfiniteScroll/OuterListElement.js +45 -58
  144. package/dist/InfiniteScroll/constants.js +4 -1
  145. package/dist/InfiniteScroll/utils.d.ts +1 -1
  146. package/dist/InfiniteScroll/utils.js +15 -12
  147. package/dist/ItemsMenu/ItemsMenu.d.ts +2 -2
  148. package/dist/ItemsMenu/ItemsMenu.js +7 -6
  149. package/dist/ItemsMenu/ItemsMenu.styles.d.ts +1 -1
  150. package/dist/ItemsMenu/ItemsMenu.styles.js +6 -3
  151. package/dist/ItemsMenu/ItemsMenu.types.d.ts +1 -1
  152. package/dist/ItemsMenu/ItemsMenu.types.js +1 -1
  153. package/dist/RowSelection/RowSelectionColumn.d.ts +3 -3
  154. package/dist/RowSelection/RowSelectionColumn.js +77 -81
  155. package/dist/RowSelection/RowSelectionColumn.types.d.ts +3 -3
  156. package/dist/RowSelection/RowSelectionColumn.types.js +1 -1
  157. package/dist/RowSelection/index.js +4 -1
  158. package/dist/Table.d.ts +2 -4
  159. package/dist/Table.js +94 -129
  160. package/dist/Table.styles.d.ts +23 -23
  161. package/dist/Table.styles.js +86 -110
  162. package/dist/Table.types.d.ts +7 -7
  163. package/dist/Table.types.js +1 -1
  164. package/dist/TableHeader/TableHeader.d.ts +2 -2
  165. package/dist/TableHeader/TableHeader.js +91 -129
  166. package/dist/TableHeader/TableHeader.types.d.ts +2 -2
  167. package/dist/TableHeader/TableHeader.types.js +1 -1
  168. package/dist/TableHeader/TableLimit/TableLimit.d.ts +2 -2
  169. package/dist/TableHeader/TableLimit/TableLimit.js +44 -36
  170. package/dist/TableHeader/TableLimit/TableLimit.styles.d.ts +4 -4
  171. package/dist/TableHeader/TableLimit/TableLimit.styles.js +15 -13
  172. package/dist/TableHeader/TableLimit/TableLimit.types.d.ts +3 -3
  173. package/dist/TableHeader/TableLimit/TableLimit.types.js +1 -1
  174. package/dist/TableHeader/TableLimit/index.js +4 -2
  175. package/dist/TableHeader/TableSelection.d.ts +2 -2
  176. package/dist/TableHeader/TableSelection.js +163 -180
  177. package/dist/TableHeader/TableSelection.types.d.ts +1 -1
  178. package/dist/TableHeader/TableSelection.types.js +1 -1
  179. package/dist/TreeTable/TreeTable.d.ts +2 -3
  180. package/dist/TreeTable/TreeTable.js +51 -78
  181. package/dist/TreeTable/TreeTable.styles.d.ts +5 -5
  182. package/dist/TreeTable/TreeTable.styles.js +21 -20
  183. package/dist/VirtualTable/VirtualTable.d.ts +3 -3
  184. package/dist/VirtualTable/VirtualTable.js +342 -411
  185. package/dist/VirtualTable/VirtualTable.styles.d.ts +8 -8
  186. package/dist/VirtualTable/VirtualTable.styles.js +30 -40
  187. package/dist/VirtualTable/VirtualTable.types.d.ts +4 -4
  188. package/dist/VirtualTable/VirtualTable.types.js +1 -1
  189. package/dist/VirtualTable/VirtualTableRow.d.ts +4 -4
  190. package/dist/VirtualTable/VirtualTableRow.js +103 -111
  191. package/dist/VirtualTable/constants.js +8 -3
  192. package/dist/assets/style/index-tn0RQdqM.css +0 -0
  193. package/dist/constants/Table.constants.js +11 -6
  194. package/dist/constants/TableSkeleton.constants.d.ts +1 -1
  195. package/dist/constants/TableSkeleton.constants.js +48 -100
  196. package/dist/hooks/useBulkSelection/index.js +4 -1
  197. package/dist/hooks/useBulkSelection/useBulkSelection.d.ts +1 -1
  198. package/dist/hooks/useBulkSelection/useBulkSelection.js +55 -40
  199. package/dist/hooks/useRowKey/index.js +4 -1
  200. package/dist/hooks/useRowKey/useRowKey.js +11 -11
  201. package/dist/hooks/useRowStar/index.js +4 -2
  202. package/dist/hooks/useRowStar/useRowStar.d.ts +1 -1
  203. package/dist/hooks/useRowStar/useRowStar.js +54 -62
  204. package/dist/hooks/useRowStar/useRowStar.types.d.ts +2 -2
  205. package/dist/hooks/useRowStar/useRowStar.types.js +1 -1
  206. package/dist/index.d.ts +4 -4
  207. package/dist/index.js +18 -9
  208. package/dist/modules.d.js +1 -1
  209. package/dist/modules.d.ts +0 -0
  210. package/dist/utils/calculateColumnWidths.d.ts +1 -1
  211. package/dist/utils/calculateColumnWidths.js +17 -16
  212. package/dist/utils/calculatePixels.js +11 -12
  213. package/dist/utils/columnWithCellTooltip.d.ts +1 -1
  214. package/dist/utils/columnWithCellTooltip.js +18 -15
  215. package/dist/utils/getChildrenColumnName.js +6 -3
  216. package/dist/utils/getRecordSelectionStatus.d.ts +1 -1
  217. package/dist/utils/getRecordSelectionStatus.js +11 -7
  218. package/dist/utils/getSkeletonProps.d.ts +1 -1
  219. package/dist/utils/getSkeletonProps.js +26 -36
  220. package/dist/utils/getValueFromPath.js +9 -6
  221. package/dist/utils/index.js +23 -9
  222. package/dist/utils/isGrouped.d.ts +1 -1
  223. package/dist/utils/isGrouped.js +6 -3
  224. package/dist/utils/isRecordSelectable.d.ts +1 -1
  225. package/dist/utils/isRecordSelectable.js +10 -6
  226. package/dist/utils/locale.d.ts +3 -3
  227. package/dist/utils/locale.js +115 -111
  228. package/package.json +31 -31
  229. package/dist/Cell/TagsGroup/TagsGroup.spec.d.ts +0 -1
  230. package/dist/ColumnSortMenu/__spec__/groupedColumnsSort.spec.d.ts +0 -1
  231. package/dist/VirtualTable/VirtualTable.spec.d.ts +0 -1
  232. package/dist/utils/__specs__/getValueFromPath.spec.d.ts +0 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.9.12](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.9.11...@synerise/ds-table@1.9.12) (2026-03-24)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-table
9
+
10
+ ## [1.9.11](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.9.10...@synerise/ds-table@1.9.11) (2026-03-20)
11
+
12
+ **Note:** Version bump only for package @synerise/ds-table
13
+
6
14
  ## [1.9.10](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.9.9...@synerise/ds-table@1.9.10) (2026-03-09)
7
15
 
8
16
  ### Bug Fixes
package/README.md CHANGED
@@ -30,8 +30,8 @@ Table UI Component
30
30
  | expandIcon | Customize row expand Icon. Ref [example](http://react-component.github.io/table/examples/expandIcon.html) | (props) => React.ReactNode | - |
31
31
  | expandRowByClick | Whether to expand row by clicking anywhere in the whole row | boolean | `false` |
32
32
  | footer | Table footer renderer | (currentPageData) => React.ReactNode | |
33
- | indentSize | Indent size in pixels of tree data | number | 15 |
34
- | loading | Loading status of table | boolean / object | `false` |
33
+ | indentSize | Indent size in pixels of tree data | number | 15 (TreeTable forces 42) |
34
+ | loading | Loading status of table | boolean | `false` |
35
35
  | locale | i18n text including filter, sort, empty text, etc | object | filterConfirm: 'Ok' <br /> filterReset: 'Reset' <br /> emptyText: 'No Data' <br /> |
36
36
  | pagination | Config of pagination. You can ref table pagination [config](#pagination) or full [`pagination`](/components/pagination/) document, hide it by setting it to `false` | object | |
37
37
  | rowClassName | Row's className | (record, index: number) => string | - |
@@ -43,8 +43,7 @@ Table UI Component
43
43
  | hideTitleBar | Wheter to hide table title bar | boolean | - |
44
44
  | headerWithBorderTop | Wheter to add line above table title bar | boolean | - |
45
45
  | itemsMenu | Components or text visible when any of table itams are selected, usually used for bulk actions | string / React.ReactNode | - |
46
- | search | Search query | string | - |
47
- | cellSize | Defines padding size of each row in table | `small` / `medium` / `default` | `default` |
46
+ | cellSize | Defines padding size of each row in table | `small` / `medium` | - |
48
47
  | roundedHeader | Wheter to round table header | boolean | `false` |
49
48
  | selection | Config of rows selection | RowSelection | - |
50
49
  | filters | Array of filters cofings, earch of them will be rendered in table title bar | Filter[] | - |
@@ -59,9 +58,9 @@ Table UI Component
59
58
  | onRow | Set props on per row | (record, index) => object | - |
60
59
  | onSort | Callback executed when sorter is changed | (sortedColumn: {columnKey: string; order: `descend` \ `ascend` \ null}, sortState: [key: string]: { sortOrder: `descend` \ `ascend` \ null; multiple: number \ false;}) => void | - |
61
60
  | getPopupContainer | the render container of dropdowns in table | (triggerNode) => HTMLElement | `() => TableHtmlElement` |
62
- | renderSelectionTitle | Function to render a custom title in table header when some items are selected | ({selection: RowSelection, filters:Filter[] }) => React.ReactNode | - |
61
+ | renderSelectionTitle | Function to render a custom title in table header when some items are selected | (selection?: RowSelection, filters?: Filter[]) => React.ReactNode | - |
63
62
  | rowStar | Configuration of row starring | RowStar | - |
64
- | maxHeight | Defines the max height to which table skeleton (when loading) should be filled with rows. If undefined 10 skeleton rows will be rendered | number | - |
63
+ | skeletonProps | Customises the loading skeleton dimensions. `maxHeight` defines the max height to fill with skeleton rows; if undefined 10 rows are rendered | `{ maxHeight?: number; headerHeight?: number; subheaderHeight?: number; cellHeight?: number }` | - |
65
64
 
66
65
  ### VirtualTable
67
66
 
@@ -70,9 +69,9 @@ Table UI Component
70
69
  | columns | Columns of table | [ColumnProps](https://git.io/vMMXC)\[] | - |
71
70
  | scroll | Whether the table can be scrollable, config | {x?: number, y: number} | - |
72
71
  | onRowClick | Callback executed when row is clicked | (row) => void | - |
73
- | onListRefChange | Callback executed when a ref to the List (`react-window` package) component changes | (ref: RefObject) => void | - |
74
- | cellHeight | Defines height of single cell | number | - |
75
- | initialWidth | Initial width of table | number | - |
72
+ | onListRefChange | **Deprecated.** Callback executed when a ref to the List (`react-window` package) component changes | (ref: RefObject) => void | - |
73
+ | cellHeight | Defines height of single cell | number | `52` |
74
+ | initialWidth | Initial width of table (before ResizeObserver fires) | number | `0` |
76
75
 
77
76
  ### TreeTable
78
77
 
@@ -190,7 +189,7 @@ One of the Table `columns` prop for describing the table's columns, Column has t
190
189
  | filterIcon | Customized filter icon | React.ReactNode / (filtered: boolean) => React.ReactNode | `false` | |
191
190
  | filterMultiple | Whether multiple filters can be selected | boolean | `true` | |
192
191
  | filters | Filter menu config | object / [] | - | |
193
- | fixed | Set column to be fixed: `true`(same as left) `'left'` `'right'` | boolean / string | `false` | |
192
+ | fixed | Set column to be fixed: `'left'` `'right'`. Note: `true` is not accepted in DSColumnType (unlike antd) | `'left'` / `'right'` | - | |
194
193
  | itemsMenu | Component with menu for selected items | React.ReactNode | - | |
195
194
  | key | Unique key of this column, you can ignore this prop if you've set a unique `dataIndex` | string | - | |
196
195
  | maxWidth | Maximal width of this column | string / number | - | |
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type ActionCellProps } from './ActionCell.types';
1
+ import { default as React } from 'react';
2
+ import { ActionCellProps } from './ActionCell.types';
3
3
  declare const _default: React.MemoExoticComponent<({ children, gapSize, contentAlign, ...htmlAttributes }: ActionCellProps) => React.JSX.Element>;
4
4
  export default _default;
@@ -1,19 +1,16 @@
1
- var _excluded = ["children", "gapSize", "contentAlign"];
2
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
- import React from 'react';
5
- import * as S from './ActionCell.styles';
6
- var DEFAULT_GAP_SIZE = 24;
7
- var ActionCell = function ActionCell(_ref) {
8
- var children = _ref.children,
9
- _ref$gapSize = _ref.gapSize,
10
- gapSize = _ref$gapSize === void 0 ? DEFAULT_GAP_SIZE : _ref$gapSize,
11
- _ref$contentAlign = _ref.contentAlign,
12
- contentAlign = _ref$contentAlign === void 0 ? 'right' : _ref$contentAlign,
13
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(S.ActionCell, _extends({
15
- gapSize: gapSize,
16
- contentAlign: contentAlign
17
- }, htmlAttributes), children);
1
+ import { jsx } from "react/jsx-runtime";
2
+ import React from "react";
3
+ import { ActionCell as ActionCell$1 } from "./ActionCell.styles.js";
4
+ const DEFAULT_GAP_SIZE = 24;
5
+ const ActionCell = ({
6
+ children,
7
+ gapSize = DEFAULT_GAP_SIZE,
8
+ contentAlign = "right",
9
+ ...htmlAttributes
10
+ }) => {
11
+ return /* @__PURE__ */ jsx(ActionCell$1, { gapSize, contentAlign, ...htmlAttributes, children });
12
+ };
13
+ const ActionCell_default = React.memo(ActionCell);
14
+ export {
15
+ ActionCell_default as default
18
16
  };
19
- export default /*#__PURE__*/React.memo(ActionCell);
@@ -1,5 +1,5 @@
1
- import { type ContentAlign } from './ActionCell.types';
2
- export declare const ActionCell: import("styled-components").StyledComponent<"div", any, {
1
+ import { ContentAlign } from './ActionCell.types';
2
+ export declare const ActionCell: import('styled-components').StyledComponent<"div", any, {
3
3
  gapSize: number;
4
4
  contentAlign: ContentAlign;
5
5
  }, never>;
@@ -1,14 +1,13 @@
1
- import styled from 'styled-components';
2
- var align = {
3
- left: 'flex-start',
4
- right: 'flex-end',
5
- center: 'center'
1
+ import styled from "styled-components";
2
+ const align = {
3
+ left: "flex-start",
4
+ right: "flex-end",
5
+ center: "center"
6
6
  };
7
- export var ActionCell = styled.div.withConfig({
7
+ const ActionCell = /* @__PURE__ */ styled.div.withConfig({
8
8
  displayName: "ActionCellstyles__ActionCell",
9
9
  componentId: "sc-d77fu5-0"
10
- })(["display:flex;align-items:center;justify-content:", ";gap:", ";"], function (props) {
11
- return align[props.contentAlign];
12
- }, function (props) {
13
- return props.gapSize + "px";
14
- });
10
+ })(["display:flex;align-items:center;justify-content:", ";gap:", ";"], (props) => align[props.contentAlign], (props) => `${props.gapSize}px`);
11
+ export {
12
+ ActionCell
13
+ };
@@ -1,5 +1,5 @@
1
- import { type ReactNode } from 'react';
2
- import { type WithHTMLAttributes } from '@synerise/ds-utils';
1
+ import { ReactNode } from 'react';
2
+ import { WithHTMLAttributes } from '@synerise/ds-utils';
3
3
  export type ContentAlign = 'left' | 'right' | 'center';
4
4
  export type ActionCellProps = WithHTMLAttributes<HTMLDivElement, {
5
5
  children: ReactNode | ReactNode[];
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type AvatarLabelProps } from './AvatarLabel.types';
1
+ import { default as React } from 'react';
2
+ import { AvatarLabelProps } from './AvatarLabel.types';
3
3
  declare const AvatarLabel: ({ avatar, avatarAction, avatarLink, title, labels, icon, ellipsis, maxWidth, avatarSize, loader, disabled, ...htmlAttributes }: AvatarLabelProps) => React.JSX.Element;
4
4
  export default AvatarLabel;
@@ -1,54 +1,43 @@
1
- var _excluded = ["avatar", "avatarAction", "avatarLink", "title", "labels", "icon", "ellipsis", "maxWidth", "avatarSize", "loader", "disabled"];
2
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
- import React from 'react';
5
- import { v4 as uuid } from 'uuid';
6
- import * as S from './AvatarLabel.styles';
7
- var AvatarLabel = function AvatarLabel(_ref) {
8
- var avatar = _ref.avatar,
9
- avatarAction = _ref.avatarAction,
10
- avatarLink = _ref.avatarLink,
11
- title = _ref.title,
12
- labels = _ref.labels,
13
- icon = _ref.icon,
14
- ellipsis = _ref.ellipsis,
15
- maxWidth = _ref.maxWidth,
16
- avatarSize = _ref.avatarSize,
17
- loader = _ref.loader,
18
- disabled = _ref.disabled,
19
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
20
- var titleEllipsisProps = ellipsis ? {
1
+ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
+ import { v4 } from "uuid";
3
+ import { Icon, Avatar, Description, Title, Labels, Label, Loader, AvatarLabel as AvatarLabel$1, AvatarLink } from "./AvatarLabel.styles.js";
4
+ const AvatarLabel = ({
5
+ avatar,
6
+ avatarAction,
7
+ avatarLink,
8
+ title,
9
+ labels,
10
+ icon,
11
+ ellipsis,
12
+ maxWidth,
13
+ avatarSize,
14
+ loader,
15
+ disabled,
16
+ ...htmlAttributes
17
+ }) => {
18
+ const titleEllipsisProps = ellipsis ? {
21
19
  ellipsis: {
22
20
  tooltip: title
23
21
  }
24
22
  } : {};
25
- var handleLinkClick = function handleLinkClick(event) {
23
+ const handleLinkClick = (event) => {
26
24
  if (event.metaKey || event.ctrlKey) {
27
25
  event.stopPropagation();
28
26
  } else if (avatarAction) {
29
27
  event.preventDefault();
30
28
  }
31
29
  };
32
- var cellContent = /*#__PURE__*/React.createElement(React.Fragment, null, icon && /*#__PURE__*/React.createElement(S.Icon, null, icon), /*#__PURE__*/React.createElement(S.Avatar, {
33
- clickable: Boolean(avatarAction)
34
- }, avatar), /*#__PURE__*/React.createElement(S.Description, null, /*#__PURE__*/React.createElement(S.Title, _extends({}, titleEllipsisProps, {
35
- hasEllipsis: ellipsis,
36
- maxWidth: maxWidth,
37
- avatarSize: avatarSize
38
- }), title), labels && /*#__PURE__*/React.createElement(S.Labels, {
39
- ellipsis: Boolean(ellipsis),
40
- maxWidth: maxWidth
41
- }, labels == null ? void 0 : labels.map(function (label) {
42
- return /*#__PURE__*/React.createElement(S.Label, {
43
- key: uuid()
44
- }, label);
45
- })), loader && /*#__PURE__*/React.createElement(S.Loader, null, loader)));
46
- return /*#__PURE__*/React.createElement(S.AvatarLabel, _extends({}, htmlAttributes, {
47
- isDisabled: disabled,
48
- onClick: avatarAction
49
- }), avatarLink ? /*#__PURE__*/React.createElement(S.AvatarLink, {
50
- href: avatarLink,
51
- onClick: handleLinkClick
52
- }, cellContent) : cellContent);
30
+ const cellContent = /* @__PURE__ */ jsxs(Fragment, { children: [
31
+ icon && /* @__PURE__ */ jsx(Icon, { children: icon }),
32
+ /* @__PURE__ */ jsx(Avatar, { clickable: Boolean(avatarAction), children: avatar }),
33
+ /* @__PURE__ */ jsxs(Description, { children: [
34
+ /* @__PURE__ */ jsx(Title, { ...titleEllipsisProps, hasEllipsis: ellipsis, maxWidth, avatarSize, children: title }),
35
+ labels && /* @__PURE__ */ jsx(Labels, { ellipsis: Boolean(ellipsis), maxWidth, children: labels?.map((label) => /* @__PURE__ */ jsx(Label, { children: label }, v4())) }),
36
+ loader && /* @__PURE__ */ jsx(Loader, { children: loader })
37
+ ] })
38
+ ] });
39
+ return /* @__PURE__ */ jsx(AvatarLabel$1, { ...htmlAttributes, isDisabled: disabled, onClick: avatarAction, children: avatarLink ? /* @__PURE__ */ jsx(AvatarLink, { href: avatarLink, onClick: handleLinkClick, children: cellContent }) : cellContent });
40
+ };
41
+ export {
42
+ AvatarLabel as default
53
43
  };
54
- export default AvatarLabel;
@@ -1,27 +1,27 @@
1
- export declare const AvatarLabel: import("styled-components").StyledComponent<"div", any, {
1
+ export declare const AvatarLabel: import('styled-components').StyledComponent<"div", any, {
2
2
  onClick?: () => void;
3
3
  isDisabled?: boolean;
4
4
  }, never>;
5
- export declare const Avatar: import("styled-components").StyledComponent<"div", any, {
5
+ export declare const Avatar: import('styled-components').StyledComponent<"div", any, {
6
6
  clickable: boolean;
7
7
  }, never>;
8
- export declare const Description: import("styled-components").StyledComponent<"div", any, {}, never>;
9
- export declare const AvatarLink: import("styled-components").StyledComponent<"a", any, {}, never>;
10
- export declare const Title: import("styled-components").StyledComponent<({ size, className, children, ellipsis, style, }: {
11
- size?: import("@synerise/ds-typography").TextSize;
12
- ellipsis?: import("@synerise/ds-typography/dist/Ellipsis").EllipsisProps;
13
- children?: import("react").ReactNode;
8
+ export declare const Description: import('styled-components').StyledComponent<"div", any, {}, never>;
9
+ export declare const AvatarLink: import('styled-components').StyledComponent<"a", any, {}, never>;
10
+ export declare const Title: import('styled-components').StyledComponent<({ size, className, children, ellipsis, style, }: {
11
+ size?: import('@synerise/ds-typography').TextSize;
12
+ ellipsis?: import('@synerise/ds-typography/dist/Ellipsis').EllipsisProps;
13
+ children?: import('react').ReactNode;
14
14
  className?: string;
15
- style?: import("react").CSSProperties;
15
+ style?: import('react').CSSProperties;
16
16
  }) => React.JSX.Element, any, {
17
17
  hasEllipsis?: boolean;
18
18
  maxWidth: number | undefined;
19
19
  avatarSize?: string | "large";
20
20
  }, never>;
21
- export declare const Labels: import("styled-components").StyledComponent<"span", any, {
21
+ export declare const Labels: import('styled-components').StyledComponent<"span", any, {
22
22
  ellipsis: boolean;
23
23
  maxWidth: number | undefined;
24
24
  }, never>;
25
- export declare const Label: import("styled-components").StyledComponent<"span", any, {}, never>;
26
- export declare const Icon: import("styled-components").StyledComponent<"div", any, {}, never>;
27
- export declare const Loader: import("styled-components").StyledComponent<"div", any, {}, never>;
25
+ export declare const Label: import('styled-components').StyledComponent<"span", any, {}, never>;
26
+ export declare const Icon: import('styled-components').StyledComponent<"div", any, {}, never>;
27
+ export declare const Loader: import('styled-components').StyledComponent<"div", any, {}, never>;
@@ -1,50 +1,49 @@
1
- import styled, { css } from 'styled-components';
2
- import { Text } from '@synerise/ds-typography';
3
- export var AvatarLabel = styled.div.withConfig({
1
+ import styled, { css } from "styled-components";
2
+ import { Text } from "@synerise/ds-typography";
3
+ const AvatarLabel = /* @__PURE__ */ styled.div.withConfig({
4
4
  displayName: "AvatarLabelstyles__AvatarLabel",
5
5
  componentId: "sc-1485c9p-0"
6
- })(["display:inline-flex;min-width:0;align-items:center;justify-content:flex-start;max-width:100%;", ";", ";"], function (props) {
7
- return props.isDisabled && 'opacity: 0.4';
8
- }, function (props) {
9
- return props.onClick !== undefined ? 'cursor: pointer' : '';
10
- });
11
- export var Avatar = styled.div.withConfig({
6
+ })(["display:inline-flex;min-width:0;align-items:center;justify-content:flex-start;max-width:100%;", ";", ";"], (props) => props.isDisabled && "opacity: 0.4", (props) => props.onClick !== void 0 ? "cursor: pointer" : "");
7
+ const Avatar = /* @__PURE__ */ styled.div.withConfig({
12
8
  displayName: "AvatarLabelstyles__Avatar",
13
9
  componentId: "sc-1485c9p-1"
14
- })(["margin-right:16px;display:flex;align-items:center;justify-content:center;", ";"], function (props) {
15
- return props.clickable ? 'cursor: pointer' : '';
16
- });
17
- export var Description = styled.div.withConfig({
10
+ })(["margin-right:16px;display:flex;align-items:center;justify-content:center;", ";"], (props) => props.clickable ? "cursor: pointer" : "");
11
+ const Description = /* @__PURE__ */ styled.div.withConfig({
18
12
  displayName: "AvatarLabelstyles__Description",
19
13
  componentId: "sc-1485c9p-2"
20
14
  })(["display:flex;min-width:0;flex-direction:column;align-items:flex-start;justify-content:center;max-width:100%;"]);
21
- export var AvatarLink = styled.a.withConfig({
15
+ const AvatarLink = /* @__PURE__ */ styled.a.withConfig({
22
16
  displayName: "AvatarLabelstyles__AvatarLink",
23
17
  componentId: "sc-1485c9p-3"
24
18
  })(["display:flex;min-width:0;color:inherit;&:hover,&:active,&:focus{text-decoration:none;color:inherit;}"]);
25
- export var Title = styled(Text).withConfig({
19
+ const Title = /* @__PURE__ */ styled(Text).withConfig({
26
20
  displayName: "AvatarLabelstyles__Title",
27
21
  componentId: "sc-1485c9p-4"
28
- })(["font-size:14px;line-height:20px;color:", ";font-weight:500;", ";"], function (props) {
29
- return props.theme.palette['grey-700'];
30
- }, function (props) {
31
- return Boolean(props.ellipsis) && css(["max-width:", ";"], props.maxWidth ? props.maxWidth + "px" : '100%');
32
- });
33
- export var Labels = styled.span.withConfig({
22
+ })(["font-size:14px;line-height:20px;color:", ";font-weight:500;", ";"], (props) => props.theme.palette["grey-700"], (props) => Boolean(props.ellipsis) && css(["max-width:", ";"], props.maxWidth ? `${props.maxWidth}px` : "100%"));
23
+ const Labels = /* @__PURE__ */ styled.span.withConfig({
34
24
  displayName: "AvatarLabelstyles__Labels",
35
25
  componentId: "sc-1485c9p-5"
36
- })(["font-size:13px;line-height:1.38;font-weight:400;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;color:", ";"], function (props) {
37
- return props.theme.palette['grey-700'];
38
- });
39
- export var Label = styled.span.withConfig({
26
+ })(["font-size:13px;line-height:1.38;font-weight:400;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;color:", ";"], (props) => props.theme.palette["grey-700"]);
27
+ const Label = /* @__PURE__ */ styled.span.withConfig({
40
28
  displayName: "AvatarLabelstyles__Label",
41
29
  componentId: "sc-1485c9p-6"
42
30
  })([""]);
43
- export var Icon = styled.div.withConfig({
31
+ const Icon = /* @__PURE__ */ styled.div.withConfig({
44
32
  displayName: "AvatarLabelstyles__Icon",
45
33
  componentId: "sc-1485c9p-7"
46
34
  })(["margin-right:8px;"]);
47
- export var Loader = styled.div.withConfig({
35
+ const Loader = /* @__PURE__ */ styled.div.withConfig({
48
36
  displayName: "AvatarLabelstyles__Loader",
49
37
  componentId: "sc-1485c9p-8"
50
- })([""]);
38
+ })([""]);
39
+ export {
40
+ Avatar,
41
+ AvatarLabel,
42
+ AvatarLink,
43
+ Description,
44
+ Icon,
45
+ Label,
46
+ Labels,
47
+ Loader,
48
+ Title
49
+ };
@@ -1,5 +1,5 @@
1
- import { type ReactElement, type ReactNode } from 'react';
2
- import type { WithHTMLAttributes } from '@synerise/ds-utils';
1
+ import { ReactElement, ReactNode } from 'react';
2
+ import { WithHTMLAttributes } from '@synerise/ds-utils';
3
3
  export type AvatarLabelProps = WithHTMLAttributes<HTMLDivElement, {
4
4
  avatar: ReactElement;
5
5
  avatarAction?: () => void;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,2 +1,2 @@
1
- export declare const CopyableValue: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const Copyable: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ export declare const CopyableValue: import('styled-components').StyledComponent<"div", any, {}, never>;
2
+ export declare const Copyable: import('styled-components').StyledComponent<"div", any, {}, never>;
@@ -1,20 +1,14 @@
1
- import styled from 'styled-components';
2
- import { IconContainer } from '@synerise/ds-icon';
3
- export var CopyableValue = styled.div.withConfig({
1
+ import styled from "styled-components";
2
+ import { IconContainer } from "@synerise/ds-icon";
3
+ const CopyableValue = /* @__PURE__ */ styled.div.withConfig({
4
4
  displayName: "Copyablestyles__CopyableValue",
5
5
  componentId: "sc-bj73sz-0"
6
6
  })(["overflow:hidden;white-space:nowrap;text-overflow:ellipsis;"]);
7
- export var Copyable = styled.div.withConfig({
7
+ const Copyable = /* @__PURE__ */ styled.div.withConfig({
8
8
  displayName: "Copyablestyles__Copyable",
9
9
  componentId: "sc-bj73sz-1"
10
- })(["display:flex;align-items:center;justify-content:space-between;&:hover{color:", ";", "{opacity:1;visibility:visible;}}", "{opacity:0;visibility:hidden;svg{fill:", ";color:", ";}&:hover{svg{fill:", ";color:", ";}}}"], function (props) {
11
- return props.theme.palette['grey-800'];
12
- }, IconContainer, IconContainer, function (props) {
13
- return props.theme.palette['grey-400'];
14
- }, function (props) {
15
- return props.theme.palette['grey-400'];
16
- }, function (props) {
17
- return props.theme.palette['blue-600'];
18
- }, function (props) {
19
- return props.theme.palette['blue-600'];
20
- });
10
+ })(["display:flex;align-items:center;justify-content:space-between;&:hover{color:", ";", "{opacity:1;visibility:visible;}}", "{opacity:0;visibility:hidden;svg{fill:", ";color:", ";}&:hover{svg{fill:", ";color:", ";}}}"], (props) => props.theme.palette["grey-800"], IconContainer, IconContainer, (props) => props.theme.palette["grey-400"], (props) => props.theme.palette["grey-400"], (props) => props.theme.palette["blue-600"], (props) => props.theme.palette["blue-600"]);
11
+ export {
12
+ Copyable,
13
+ CopyableValue
14
+ };
@@ -1,4 +1,4 @@
1
- import { type WithHTMLAttributes } from '@synerise/ds-utils';
1
+ import { WithHTMLAttributes } from '@synerise/ds-utils';
2
2
  export type CopyableCellProps = WithHTMLAttributes<HTMLDivElement, {
3
3
  value: string;
4
4
  confirmMessage: string;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type CopyableCellProps } from './Copyable.types';
1
+ import { default as React } from 'react';
2
+ import { CopyableCellProps } from './Copyable.types';
3
3
  declare const CopyableCell: ({ value, confirmMessage, tooltipTimeout, ...htmlAttributes }: CopyableCellProps) => React.JSX.Element;
4
4
  export default CopyableCell;
@@ -1,32 +1,28 @@
1
- var _excluded = ["value", "confirmMessage", "tooltipTimeout"];
2
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
3
- import React, { useEffect, useState } from 'react';
4
- import CopyIcon from '@synerise/ds-copy-icon';
5
- import * as S from './Copyable.styles';
6
- var DEFAULT_TIMEOUT = 2000;
7
- var CopyableCell = function CopyableCell(_ref) {
8
- var value = _ref.value,
9
- confirmMessage = _ref.confirmMessage,
10
- _ref$tooltipTimeout = _ref.tooltipTimeout,
11
- tooltipTimeout = _ref$tooltipTimeout === void 0 ? DEFAULT_TIMEOUT : _ref$tooltipTimeout,
12
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
13
- var _useState = useState(false),
14
- tooltipOpen = _useState[0],
15
- setTooltipOpen = _useState[1];
16
- useEffect(function () {
17
- var timer = setTimeout(function () {
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { useState, useEffect } from "react";
3
+ import CopyIcon from "@synerise/ds-copy-icon";
4
+ import { Copyable, CopyableValue } from "./Copyable.styles.js";
5
+ const DEFAULT_TIMEOUT = 2e3;
6
+ const CopyableCell = ({
7
+ value,
8
+ confirmMessage,
9
+ tooltipTimeout = DEFAULT_TIMEOUT,
10
+ ...htmlAttributes
11
+ }) => {
12
+ const [tooltipOpen, setTooltipOpen] = useState(false);
13
+ useEffect(() => {
14
+ const timer = setTimeout(() => {
18
15
  setTooltipOpen(false);
19
16
  }, tooltipTimeout);
20
- return function () {
21
- return clearTimeout(timer);
22
- };
17
+ return () => clearTimeout(timer);
23
18
  }, [tooltipOpen, setTooltipOpen, tooltipTimeout]);
24
- return /*#__PURE__*/React.createElement(S.Copyable, htmlAttributes, /*#__PURE__*/React.createElement(S.CopyableValue, null, value), /*#__PURE__*/React.createElement(CopyIcon, {
25
- copyValue: value,
26
- placement: "left",
27
- texts: {
19
+ return /* @__PURE__ */ jsxs(Copyable, { ...htmlAttributes, children: [
20
+ /* @__PURE__ */ jsx(CopyableValue, { children: value }),
21
+ /* @__PURE__ */ jsx(CopyIcon, { copyValue: value, placement: "left", texts: {
28
22
  copiedTooltip: confirmMessage
29
- }
30
- }));
23
+ } })
24
+ ] });
25
+ };
26
+ export {
27
+ CopyableCell as default
31
28
  };
32
- export default CopyableCell;
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type EditableCellProps } from './EditableCell.types';
1
+ import { default as React } from 'react';
2
+ import { EditableCellProps } from './EditableCell.types';
3
3
  declare const EditableCell: ({ value, onChange, placeholder, ...htmlAttributes }: EditableCellProps) => React.JSX.Element;
4
4
  export default EditableCell;