@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
@@ -1,66 +1,37 @@
1
- import React, { useMemo, useState } from 'react';
2
- import Modal from '@synerise/ds-modal';
3
- import SearchInput from '@synerise/ds-search/dist/Elements/SearchInput/SearchInput';
4
- import VirtualTable from '../../../VirtualTable/VirtualTable';
5
- var DetailsModal = function DetailsModal(_ref) {
6
- var visible = _ref.visible,
7
- hide = _ref.hide,
8
- items = _ref.items,
9
- texts = _ref.texts,
10
- renderItem = _ref.renderItem,
11
- labelKey = _ref.labelKey,
12
- loading = _ref.loading;
13
- var _useState = useState(''),
14
- searchQuery = _useState[0],
15
- setSearchQuery = _useState[1];
16
- var columns = useMemo(function () {
17
- return [{
18
- dataIndex: labelKey,
19
- key: labelKey,
20
- render: renderItem
21
- }];
22
- }, [renderItem, labelKey]);
23
- var filteredItems = useMemo(function () {
24
- return searchQuery !== '' ? items.filter(function (item) {
25
- return item[labelKey].toLowerCase().includes(searchQuery.toLowerCase());
26
- }) : items;
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { useState, useMemo } from "react";
3
+ import Modal from "@synerise/ds-modal";
4
+ import SearchInput from "@synerise/ds-search/dist/Elements/SearchInput/SearchInput";
5
+ import VirtualTable from "../../../VirtualTable/VirtualTable.js";
6
+ const DetailsModal = ({
7
+ visible,
8
+ hide,
9
+ items,
10
+ texts,
11
+ renderItem,
12
+ labelKey,
13
+ loading
14
+ }) => {
15
+ const [searchQuery, setSearchQuery] = useState("");
16
+ const columns = useMemo(() => [{
17
+ dataIndex: labelKey,
18
+ key: labelKey,
19
+ render: renderItem
20
+ }], [renderItem, labelKey]);
21
+ const filteredItems = useMemo(() => {
22
+ return searchQuery !== "" ? items.filter((item) => item[labelKey].toLowerCase().includes(searchQuery.toLowerCase())) : items;
27
23
  }, [items, labelKey, searchQuery]);
28
- return /*#__PURE__*/React.createElement(Modal, {
29
- size: "small",
30
- visible: visible,
31
- title: texts.modalTitle,
32
- closable: true,
33
- onCancel: hide,
34
- bodyStyle: {
35
- padding: 0
36
- },
37
- footer: null
38
- }, /*#__PURE__*/React.createElement(VirtualTable, {
39
- scroll: {
40
- y: 500,
41
- x: 0
42
- },
43
- cellHeight: 64,
44
- initialWidth: 500,
45
- dataSource: filteredItems,
46
- title: filteredItems.length + " " + texts.records,
47
- columns: columns,
48
- loading: loading,
49
- showHeader: false,
50
- rowKey: "key",
51
- searchComponent: /*#__PURE__*/React.createElement(SearchInput, {
52
- clearTooltip: texts.searchClear,
53
- placeholder: texts.searchPlaceholder,
54
- onChange: function onChange(value) {
55
- setSearchQuery(value);
56
- },
57
- value: searchQuery,
58
- onClear: function onClear() {
59
- setSearchQuery('');
60
- },
61
- closeOnClickOutside: true
62
- }),
63
- hideColumnNames: true
64
- }));
24
+ return /* @__PURE__ */ jsx(Modal, { size: "small", visible, title: texts.modalTitle, closable: true, onCancel: hide, bodyStyle: {
25
+ padding: 0
26
+ }, footer: null, children: /* @__PURE__ */ jsx(VirtualTable, { scroll: {
27
+ y: 500,
28
+ x: 0
29
+ }, cellHeight: 64, initialWidth: 500, dataSource: filteredItems, title: `${filteredItems.length} ${texts.records}`, columns, loading, showHeader: false, rowKey: "key", searchComponent: /* @__PURE__ */ jsx(SearchInput, { clearTooltip: texts.searchClear, placeholder: texts.searchPlaceholder, onChange: (value) => {
30
+ setSearchQuery(value);
31
+ }, value: searchQuery, onClear: () => {
32
+ setSearchQuery("");
33
+ }, closeOnClickOutside: true }), hideColumnNames: true }) });
34
+ };
35
+ export {
36
+ DetailsModal as default
65
37
  };
66
- export default DetailsModal;
@@ -1,6 +1,6 @@
1
- import type React from 'react';
2
- import { type ObjectStringKeys } from '@synerise/ds-utils';
3
- import { type ShowMoreTexts } from '../LabelsWithShowMore.types';
1
+ import { default as React } from 'react';
2
+ import { ObjectStringKeys } from '@synerise/ds-utils';
3
+ import { ShowMoreTexts } from '../LabelsWithShowMore.types';
4
4
  export type DataSourceType = Record<string, any> & {
5
5
  key: React.ReactText;
6
6
  };
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,16 +1,55 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  declare const _default: React.ForwardRefExoticComponent<{
3
3
  [x: `data-${string}`]: string;
4
- slot?: string | undefined | undefined;
5
- style?: React.CSSProperties | undefined;
6
- title?: string | undefined | undefined;
4
+ defaultChecked?: boolean | undefined | undefined;
5
+ defaultValue?: string | number | readonly string[] | undefined;
6
+ suppressContentEditableWarning?: boolean | undefined | undefined;
7
7
  suppressHydrationWarning?: boolean | undefined | undefined;
8
+ accessKey?: string | undefined | undefined;
9
+ autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
10
+ autoFocus?: boolean | undefined | undefined;
8
11
  className?: string | undefined | undefined;
9
- color?: string | undefined | undefined;
12
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
13
+ contextMenu?: string | undefined | undefined;
14
+ dir?: string | undefined | undefined;
15
+ draggable?: (boolean | "true" | "false") | undefined;
16
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
17
+ hidden?: boolean | undefined | undefined;
10
18
  id?: string | undefined | undefined;
11
19
  lang?: string | undefined | undefined;
12
- role?: React.AriaRole | undefined;
20
+ nonce?: string | undefined | undefined;
21
+ slot?: string | undefined | undefined;
22
+ spellCheck?: (boolean | "true" | "false") | undefined;
23
+ style?: React.CSSProperties | undefined;
13
24
  tabIndex?: number | undefined | undefined;
25
+ title?: string | undefined | undefined;
26
+ translate?: "yes" | "no" | undefined | undefined;
27
+ radioGroup?: string | undefined | undefined;
28
+ role?: React.AriaRole | undefined;
29
+ about?: string | undefined | undefined;
30
+ content?: string | undefined | undefined;
31
+ datatype?: string | undefined | undefined;
32
+ inlist?: any;
33
+ prefix?: string | undefined | undefined;
34
+ property?: string | undefined | undefined;
35
+ rel?: string | undefined | undefined;
36
+ resource?: string | undefined | undefined;
37
+ rev?: string | undefined | undefined;
38
+ typeof?: string | undefined | undefined;
39
+ vocab?: string | undefined | undefined;
40
+ autoCorrect?: string | undefined | undefined;
41
+ autoSave?: string | undefined | undefined;
42
+ color?: string | undefined | undefined;
43
+ itemProp?: string | undefined | undefined;
44
+ itemScope?: boolean | undefined | undefined;
45
+ itemType?: string | undefined | undefined;
46
+ itemID?: string | undefined | undefined;
47
+ itemRef?: string | undefined | undefined;
48
+ results?: number | undefined | undefined;
49
+ security?: string | undefined | undefined;
50
+ unselectable?: "on" | "off" | undefined | undefined;
51
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
52
+ is?: string | undefined | undefined;
14
53
  "aria-activedescendant"?: string | undefined | undefined;
15
54
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
16
55
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
@@ -228,45 +267,6 @@ declare const _default: React.ForwardRefExoticComponent<{
228
267
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
229
268
  onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
230
269
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
231
- defaultChecked?: boolean | undefined | undefined;
232
- defaultValue?: string | number | readonly string[] | undefined;
233
- suppressContentEditableWarning?: boolean | undefined | undefined;
234
- accessKey?: string | undefined | undefined;
235
- autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
236
- autoFocus?: boolean | undefined | undefined;
237
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
238
- contextMenu?: string | undefined | undefined;
239
- dir?: string | undefined | undefined;
240
- draggable?: (boolean | "true" | "false") | undefined;
241
- enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
242
- hidden?: boolean | undefined | undefined;
243
- nonce?: string | undefined | undefined;
244
- spellCheck?: (boolean | "true" | "false") | undefined;
245
- translate?: "yes" | "no" | undefined | undefined;
246
- radioGroup?: string | undefined | undefined;
247
- about?: string | undefined | undefined;
248
- content?: string | undefined | undefined;
249
- datatype?: string | undefined | undefined;
250
- inlist?: any;
251
- prefix?: string | undefined | undefined;
252
- property?: string | undefined | undefined;
253
- rel?: string | undefined | undefined;
254
- resource?: string | undefined | undefined;
255
- rev?: string | undefined | undefined;
256
- typeof?: string | undefined | undefined;
257
- vocab?: string | undefined | undefined;
258
- autoCorrect?: string | undefined | undefined;
259
- autoSave?: string | undefined | undefined;
260
- itemProp?: string | undefined | undefined;
261
- itemScope?: boolean | undefined | undefined;
262
- itemType?: string | undefined | undefined;
263
- itemID?: string | undefined | undefined;
264
- itemRef?: string | undefined | undefined;
265
- results?: number | undefined | undefined;
266
- security?: string | undefined | undefined;
267
- unselectable?: "on" | "off" | undefined | undefined;
268
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
269
- is?: string | undefined | undefined;
270
270
  active?: boolean | undefined;
271
271
  starTooltip?: React.ReactNode;
272
272
  } & {
@@ -1,33 +1,27 @@
1
- var _excluded = ["children", "active", "onClick", "starTooltip"];
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, { useMemo } from 'react';
4
- import { withTheme } from 'styled-components';
5
- import { useTheme } from '@synerise/ds-core';
6
- import Icon, { StarFillM, StarM } from '@synerise/ds-icon';
7
- import Tooltip from '@synerise/ds-tooltip/dist/Tooltip';
8
- import * as S from './StarCell.styles';
9
- var StarCell = function StarCell(_ref) {
10
- var children = _ref.children,
11
- active = _ref.active,
12
- onClick = _ref.onClick,
13
- starTooltip = _ref.starTooltip,
14
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
15
- var theme = useTheme();
16
- var icon = useMemo(function () {
17
- return active ? /*#__PURE__*/React.createElement(Icon, {
18
- component: /*#__PURE__*/React.createElement(StarFillM, null),
19
- color: theme.palette['yellow-600']
20
- }) : /*#__PURE__*/React.createElement(Icon, {
21
- component: /*#__PURE__*/React.createElement(StarM, null),
22
- color: theme.palette['grey-300']
23
- });
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { useMemo } from "react";
3
+ import { withTheme } from "styled-components";
4
+ import { useTheme } from "@synerise/ds-core";
5
+ import Icon, { StarFillM, StarM } from "@synerise/ds-icon";
6
+ import Tooltip from "@synerise/ds-tooltip/dist/Tooltip";
7
+ import { StarCell as StarCell$1, StarredIcon } from "./StarCell.styles.js";
8
+ const StarCell = ({
9
+ children,
10
+ active,
11
+ onClick,
12
+ starTooltip,
13
+ ...htmlAttributes
14
+ }) => {
15
+ const theme = useTheme();
16
+ const icon = useMemo(() => {
17
+ return active ? /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(StarFillM, {}), color: theme.palette["yellow-600"] }) : /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(StarM, {}), color: theme.palette["grey-300"] });
24
18
  }, [active, theme.palette]);
25
- return /*#__PURE__*/React.createElement(S.StarCell, htmlAttributes, /*#__PURE__*/React.createElement(Tooltip, {
26
- title: starTooltip
27
- }, /*#__PURE__*/React.createElement(S.StarredIcon, {
28
- active: active,
29
- component: icon,
30
- onClick: onClick
31
- })), children);
19
+ return /* @__PURE__ */ jsxs(StarCell$1, { ...htmlAttributes, children: [
20
+ /* @__PURE__ */ jsx(Tooltip, { title: starTooltip, children: /* @__PURE__ */ jsx(StarredIcon, { active, component: icon, onClick }) }),
21
+ children
22
+ ] });
23
+ };
24
+ const StarCell_default = withTheme(StarCell);
25
+ export {
26
+ StarCell_default as default
32
27
  };
33
- export default withTheme(StarCell);
@@ -1,5 +1,5 @@
1
- export declare const StarCell: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const StarredIcon: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@synerise/ds-icon").BaseIconProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, keyof import("@synerise/ds-icon").BaseIconProps> & import("@synerise/ds-utils").DataAttributes & import("react").RefAttributes<HTMLDivElement>>, any, import("@synerise/ds-icon").BaseIconProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, keyof import("@synerise/ds-icon").BaseIconProps> & import("@synerise/ds-utils").DataAttributes & {
1
+ export declare const StarCell: import('styled-components').StyledComponent<"div", any, {}, never>;
2
+ export declare const StarredIcon: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<import('@synerise/ds-icon').BaseIconProps & Omit<import('react').HTMLAttributes<HTMLDivElement>, keyof import('@synerise/ds-icon').BaseIconProps> & import('@synerise/ds-utils').DataAttributes & import('react').RefAttributes<HTMLDivElement>>, any, import('@synerise/ds-icon').BaseIconProps & Omit<import('react').HTMLAttributes<HTMLDivElement>, keyof import('@synerise/ds-icon').BaseIconProps> & import('@synerise/ds-utils').DataAttributes & {
3
3
  active?: boolean;
4
4
  onClick?: () => void;
5
5
  }, never>;
@@ -1,14 +1,16 @@
1
- import styled from 'styled-components';
2
- import Icon from '@synerise/ds-icon';
3
- export var StarCell = styled.div.withConfig({
1
+ import styled from "styled-components";
2
+ import Icon from "@synerise/ds-icon";
3
+ const StarCell = /* @__PURE__ */ styled.div.withConfig({
4
4
  displayName: "StarCellstyles__StarCell",
5
5
  componentId: "sc-1tyl01w-0"
6
6
  })(["display:flex;align-items:center;justify-content:flex-start;"]);
7
- export var StarredIcon = styled(Icon).withConfig({
7
+ const StarredIcon = /* @__PURE__ */ styled(Icon).withConfig({
8
8
  displayName: "StarCellstyles__StarredIcon",
9
9
  componentId: "sc-1tyl01w-1"
10
- })(["margin-right:16px;", " &:hover{svg{fill:", ";}}"], function (props) {
11
- return !!props.active && "&.icon.icon1.ds-icon svg {\n fill: " + props.theme.palette['yellow-600'] + ";\n }";
12
- }, function (props) {
13
- return props.active ? props.theme.palette['yellow-600'] : props.onClick && props.theme.palette['blue-600'];
14
- });
10
+ })(["margin-right:16px;", " &:hover{svg{fill:", ";}}"], (props) => !!props.active && `&.icon.icon1.ds-icon svg {
11
+ fill: ${props.theme.palette["yellow-600"]};
12
+ }`, (props) => props.active ? props.theme.palette["yellow-600"] : props.onClick && props.theme.palette["blue-600"]);
13
+ export {
14
+ StarCell,
15
+ StarredIcon
16
+ };
@@ -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 StarCellProps = WithHTMLAttributes<HTMLDivElement, {
4
4
  children: ReactNode | ReactNode[];
5
5
  active?: boolean;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import type { StatusLabelProps } from './StatusLabel.types';
1
+ import { default as React } from 'react';
2
+ import { StatusLabelProps } from './StatusLabel.types';
3
3
  declare const StatusLabelCell: ({ status, label, customColor, disabled, ...htmlAttributes }: StatusLabelProps) => React.JSX.Element;
4
4
  export default StatusLabelCell;
@@ -1,20 +1,18 @@
1
- var _excluded = ["status", "label", "customColor", "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 Badge from '@synerise/ds-badge';
6
- import * as S from './StatusLabel.styles';
7
- var StatusLabelCell = function StatusLabelCell(_ref) {
8
- var status = _ref.status,
9
- label = _ref.label,
10
- customColor = _ref.customColor,
11
- disabled = _ref.disabled,
12
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
13
- return /*#__PURE__*/React.createElement(S.StatusLabel, _extends({
14
- isDisabled: disabled
15
- }, htmlAttributes), /*#__PURE__*/React.createElement(Badge, {
16
- customColor: customColor,
17
- status: status
18
- }), /*#__PURE__*/React.createElement(S.Label, null, label));
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import Badge from "@synerise/ds-badge";
3
+ import { StatusLabel, Label } from "./StatusLabel.styles.js";
4
+ const StatusLabelCell = ({
5
+ status,
6
+ label,
7
+ customColor,
8
+ disabled,
9
+ ...htmlAttributes
10
+ }) => {
11
+ return /* @__PURE__ */ jsxs(StatusLabel, { isDisabled: disabled, ...htmlAttributes, children: [
12
+ /* @__PURE__ */ jsx(Badge, { customColor, status }),
13
+ /* @__PURE__ */ jsx(Label, { children: label })
14
+ ] });
15
+ };
16
+ export {
17
+ StatusLabelCell as default
19
18
  };
20
- export default StatusLabelCell;
@@ -1,4 +1,4 @@
1
- export declare const StatusLabel: import("styled-components").StyledComponent<"div", any, {
1
+ export declare const StatusLabel: import('styled-components').StyledComponent<"div", any, {
2
2
  isDisabled?: boolean;
3
3
  }, never>;
4
- export declare const Label: import("styled-components").StyledComponent<"span", any, {}, never>;
4
+ export declare const Label: import('styled-components').StyledComponent<"span", any, {}, never>;
@@ -1,13 +1,13 @@
1
- import styled from 'styled-components';
2
- export var StatusLabel = styled.div.withConfig({
1
+ import styled from "styled-components";
2
+ const StatusLabel = /* @__PURE__ */ styled.div.withConfig({
3
3
  displayName: "StatusLabelstyles__StatusLabel",
4
4
  componentId: "sc-1l5c32z-0"
5
- })(["display:flex;align-items:center;justify-content:flex-start;", ""], function (props) {
6
- return props.isDisabled && 'opacity: 0.4;';
7
- });
8
- export var Label = styled.span.withConfig({
5
+ })(["display:flex;align-items:center;justify-content:flex-start;", ""], (props) => props.isDisabled && "opacity: 0.4;");
6
+ const Label = /* @__PURE__ */ styled.span.withConfig({
9
7
  displayName: "StatusLabelstyles__Label",
10
8
  componentId: "sc-1l5c32z-1"
11
- })(["color:", ";font-weight:500;font-size:13px;line-height:1.38;"], function (props) {
12
- return props.theme.palette['grey-700'];
13
- });
9
+ })(["color:", ";font-weight:500;font-size:13px;line-height:1.38;"], (props) => props.theme.palette["grey-700"]);
10
+ export {
11
+ Label,
12
+ StatusLabel
13
+ };
@@ -1,6 +1,6 @@
1
- import { type ReactNode } from 'react';
2
- import { type Color, type Status } from '@synerise/ds-badge/dist/Badge.types';
3
- import { type WithHTMLAttributes } from '@synerise/ds-utils';
1
+ import { ReactNode } from 'react';
2
+ import { Color, Status } from '@synerise/ds-badge/dist/Badge.types';
3
+ import { WithHTMLAttributes } from '@synerise/ds-utils';
4
4
  export type StatusLabelProps = WithHTMLAttributes<HTMLDivElement, {
5
5
  status?: Status;
6
6
  label: ReactNode;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type TagIconProps } from './TagIcon.types';
1
+ import { default as React } from 'react';
2
+ import { TagIconProps } from './TagIcon.types';
3
3
  declare const TagIconCell: ({ children, disabled, ...htmlAttributes }: TagIconProps) => React.JSX.Element;
4
4
  export default TagIconCell;
@@ -1,14 +1,10 @@
1
- var _excluded = ["children", "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 * as S from './TagIcon.styles';
6
- var TagIconCell = function TagIconCell(_ref) {
7
- var children = _ref.children,
8
- disabled = _ref.disabled,
9
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
10
- return /*#__PURE__*/React.createElement(S.TagIcon, _extends({}, htmlAttributes, {
11
- isDisabled: disabled
12
- }), children);
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { TagIcon } from "./TagIcon.styles.js";
3
+ const TagIconCell = ({
4
+ children,
5
+ disabled,
6
+ ...htmlAttributes
7
+ }) => /* @__PURE__ */ jsx(TagIcon, { ...htmlAttributes, isDisabled: disabled, children });
8
+ export {
9
+ TagIconCell as default
13
10
  };
14
- export default TagIconCell;
@@ -1,3 +1,3 @@
1
- export declare const TagIcon: import("styled-components").StyledComponent<"div", any, {
1
+ export declare const TagIcon: import('styled-components').StyledComponent<"div", any, {
2
2
  isDisabled?: boolean;
3
3
  }, never>;
@@ -1,8 +1,9 @@
1
- import styled from 'styled-components';
2
- import { Tag } from '@synerise/ds-tag/dist/Tag.styles';
3
- export var TagIcon = styled.div.withConfig({
1
+ import styled from "styled-components";
2
+ import { Tag } from "@synerise/ds-tag/dist/Tag.styles";
3
+ const TagIcon = /* @__PURE__ */ styled.div.withConfig({
4
4
  displayName: "TagIconstyles__TagIcon",
5
5
  componentId: "sc-o88sq0-0"
6
- })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;", " ", "{margin-right:4px;}"], function (props) {
7
- return props.isDisabled && 'opacity: 0.4;';
8
- }, Tag);
6
+ })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;", " ", "{margin-right:4px;}"], (props) => props.isDisabled && "opacity: 0.4;", Tag);
7
+ export {
8
+ TagIcon
9
+ };
@@ -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 TagIconProps = WithHTMLAttributes<HTMLDivElement, {
4
4
  children: ReactNode | ReactNode[];
5
5
  disabled?: boolean;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- import { type TagsGroupProps } from './TagsGroup.types';
1
+ import { default as React } from 'react';
2
+ import { TagsGroupProps } from './TagsGroup.types';
3
3
  export declare const TagsGroupCell: ({ disabled, isError, isLoading, tagsProps, ...htmlAttributes }: TagsGroupProps) => React.JSX.Element;
@@ -1,43 +1,26 @@
1
- var _excluded = ["disabled", "isError", "isLoading", "tagsProps"];
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 { useTheme } from '@synerise/ds-core';
6
- import Icon, { WarningFillM } from '@synerise/ds-icon';
7
- import Skeleton from '@synerise/ds-skeleton';
8
- import Tags from '@synerise/ds-tags';
9
- import * as S from './TagsGroup.styles';
10
- export var TagsGroupCell = function TagsGroupCell(_ref) {
11
- var _tagsProps$selected;
12
- var disabled = _ref.disabled,
13
- isError = _ref.isError,
14
- isLoading = _ref.isLoading,
15
- tagsProps = _ref.tagsProps,
16
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
17
- var theme = useTheme();
18
- var isEmpty = !(tagsProps != null && (_tagsProps$selected = tagsProps.selected) != null && _tagsProps$selected.length);
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { useTheme } from "@synerise/ds-core";
3
+ import Icon, { WarningFillM } from "@synerise/ds-icon";
4
+ import Skeleton from "@synerise/ds-skeleton";
5
+ import Tags from "@synerise/ds-tags";
6
+ import { TagsGroupSkeleton, TagsGroupWrapper } from "./TagsGroup.styles.js";
7
+ const TagsGroupCell = ({
8
+ disabled,
9
+ isError,
10
+ isLoading,
11
+ tagsProps,
12
+ ...htmlAttributes
13
+ }) => {
14
+ const theme = useTheme();
15
+ const isEmpty = !tagsProps?.selected?.length;
19
16
  if (isError) {
20
- return /*#__PURE__*/React.createElement(Icon, {
21
- component: /*#__PURE__*/React.createElement(WarningFillM, null),
22
- color: theme.palette['red-600'],
23
- size: 24
24
- });
17
+ return /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(WarningFillM, {}), color: theme.palette["red-600"], size: 24 });
25
18
  }
26
19
  if (isLoading) {
27
- return /*#__PURE__*/React.createElement(S.TagsGroupSkeleton, null, /*#__PURE__*/React.createElement(Skeleton, {
28
- size: "M",
29
- numberOfSkeletons: 1
30
- }));
20
+ return /* @__PURE__ */ jsx(TagsGroupSkeleton, { children: /* @__PURE__ */ jsx(Skeleton, { size: "M", numberOfSkeletons: 1 }) });
31
21
  }
32
- return /*#__PURE__*/React.createElement(S.TagsGroupWrapper, _extends({}, htmlAttributes, {
33
- isDisabled: disabled,
34
- isEmpty: isEmpty
35
- }), /*#__PURE__*/React.createElement(Tags, _extends({
36
- maxVisibleTags: 1,
37
- disabled: disabled,
38
- addButtonType: isEmpty ? 'icon-label' : 'single-icon'
39
- }, tagsProps, {
40
- addable: (tagsProps == null ? void 0 : tagsProps.addable) && !disabled,
41
- removable: (tagsProps == null ? void 0 : tagsProps.removable) && !disabled
42
- })));
43
- };
22
+ return /* @__PURE__ */ jsx(TagsGroupWrapper, { ...htmlAttributes, isDisabled: disabled, isEmpty, children: /* @__PURE__ */ jsx(Tags, { maxVisibleTags: 1, disabled, addButtonType: isEmpty ? "icon-label" : "single-icon", ...tagsProps, addable: tagsProps?.addable && !disabled, removable: tagsProps?.removable && !disabled }) });
23
+ };
24
+ export {
25
+ TagsGroupCell
26
+ };
@@ -1,5 +1,5 @@
1
- export declare const TagsGroupWrapper: import("styled-components").StyledComponent<"div", any, {
1
+ export declare const TagsGroupWrapper: import('styled-components').StyledComponent<"div", any, {
2
2
  isDisabled?: boolean;
3
3
  isEmpty?: boolean;
4
4
  }, never>;
5
- export declare const TagsGroupSkeleton: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const TagsGroupSkeleton: import('styled-components').StyledComponent<"div", any, {}, never>;