@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,43 +1,30 @@
1
- var _excluded = ["value", "onChange", "placeholder"];
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, { useCallback, useMemo, useState } from 'react';
4
- import Icon, { EditNolineS } from '@synerise/ds-icon';
5
- import { Input } from '@synerise/ds-input';
6
- import * as S from './EditableCell.styles';
7
- var EditableCell = function EditableCell(_ref) {
8
- var value = _ref.value,
9
- onChange = _ref.onChange,
10
- placeholder = _ref.placeholder,
11
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
12
- var _useState = useState(false),
13
- editMode = _useState[0],
14
- setEditMode = _useState[1];
15
- var _useState2 = useState(value || ''),
16
- editValue = _useState2[0],
17
- setEditValue = _useState2[1];
18
- var enterEditMode = useCallback(function () {
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
+ import { useState, useCallback, useMemo } from "react";
3
+ import Icon, { EditNolineS } from "@synerise/ds-icon";
4
+ import { Input } from "@synerise/ds-input";
5
+ import { Value, EditableCell as EditableCell$1 } from "./EditableCell.styles.js";
6
+ const EditableCell = ({
7
+ value,
8
+ onChange,
9
+ placeholder,
10
+ ...htmlAttributes
11
+ }) => {
12
+ const [editMode, setEditMode] = useState(false);
13
+ const [editValue, setEditValue] = useState(value || "");
14
+ const enterEditMode = useCallback(() => {
19
15
  setEditMode(true);
20
16
  }, [setEditMode]);
21
- var render = useMemo(function () {
22
- return editMode ? /*#__PURE__*/React.createElement(Input, {
23
- value: editValue,
24
- autoFocus: true,
25
- resetMargin: true,
26
- placeholder: placeholder,
27
- onChange: function onChange(event) {
28
- return setEditValue(event.target.value);
29
- },
30
- onBlur: function onBlur() {
31
- setEditMode(false);
32
- onChange(editValue);
33
- }
34
- }) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(S.Value, {
35
- asPlaceholder: !value
36
- }, value || placeholder), /*#__PURE__*/React.createElement(Icon, {
37
- onClick: enterEditMode,
38
- component: /*#__PURE__*/React.createElement(EditNolineS, null)
39
- }));
17
+ const render = useMemo(() => {
18
+ return editMode ? /* @__PURE__ */ jsx(Input, { value: editValue, autoFocus: true, resetMargin: true, placeholder, onChange: (event) => setEditValue(event.target.value), onBlur: () => {
19
+ setEditMode(false);
20
+ onChange(editValue);
21
+ } }) : /* @__PURE__ */ jsxs(Fragment, { children: [
22
+ /* @__PURE__ */ jsx(Value, { asPlaceholder: !value, children: value || placeholder }),
23
+ /* @__PURE__ */ jsx(Icon, { onClick: enterEditMode, component: /* @__PURE__ */ jsx(EditNolineS, {}) })
24
+ ] });
40
25
  }, [editMode, value, enterEditMode, editValue, setEditValue, onChange, placeholder]);
41
- return /*#__PURE__*/React.createElement(S.EditableCell, htmlAttributes, render);
26
+ return /* @__PURE__ */ jsx(EditableCell$1, { ...htmlAttributes, children: render });
27
+ };
28
+ export {
29
+ EditableCell as default
42
30
  };
43
- export default EditableCell;
@@ -1,4 +1,4 @@
1
- export declare const EditableCell: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const Value: import("styled-components").StyledComponent<"span", any, {
1
+ export declare const EditableCell: import('styled-components').StyledComponent<"div", any, {}, never>;
2
+ export declare const Value: import('styled-components').StyledComponent<"span", any, {
3
3
  asPlaceholder: boolean;
4
4
  }, never>;
@@ -1,12 +1,14 @@
1
- import styled from 'styled-components';
2
- import { IconContainer } from '@synerise/ds-icon';
3
- export var EditableCell = styled.div.withConfig({
1
+ import styled from "styled-components";
2
+ import { IconContainer } from "@synerise/ds-icon";
3
+ const EditableCell = /* @__PURE__ */ styled.div.withConfig({
4
4
  displayName: "EditableCellstyles__EditableCell",
5
5
  componentId: "sc-ahr0lx-0"
6
6
  })(["display:flex;align-items:center;justify-content:flex-start;&:hover{", "{opacity:1;visibility:visible;}}", "{transition:all 0.3s ease;opacity:0;visibility:hidden;}"], IconContainer, IconContainer);
7
- export var Value = styled.span.withConfig({
7
+ const Value = /* @__PURE__ */ styled.span.withConfig({
8
8
  displayName: "EditableCellstyles__Value",
9
9
  componentId: "sc-ahr0lx-1"
10
- })(["color:", ";"], function (props) {
11
- return props.asPlaceholder ? props.theme.palette['grey-400'] : 'inherit';
12
- });
10
+ })(["color:", ";"], (props) => props.asPlaceholder ? props.theme.palette["grey-400"] : "inherit");
11
+ export {
12
+ EditableCell,
13
+ Value
14
+ };
@@ -1,4 +1,4 @@
1
- import { type WithHTMLAttributes } from '@synerise/ds-utils';
1
+ import { WithHTMLAttributes } from '@synerise/ds-utils';
2
2
  export type EditableCellProps = WithHTMLAttributes<HTMLDivElement, {
3
3
  value?: string;
4
4
  onChange: (newValue: string) => void;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type FlagLabelProps } from './FlagLabelCell.types';
1
+ import { default as React } from 'react';
2
+ import { FlagLabelProps } from './FlagLabelCell.types';
3
3
  declare const FlagLabelCell: ({ countryCode, label, ...htmlAttributes }: FlagLabelProps) => React.JSX.Element;
4
4
  export default FlagLabelCell;
@@ -1,15 +1,16 @@
1
- var _excluded = ["countryCode", "label"];
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 from 'react';
4
- import DSFlag from '@synerise/ds-flag';
5
- import * as S from './FlagLabelCell.styles';
6
- var FlagLabelCell = function FlagLabelCell(_ref) {
7
- var countryCode = _ref.countryCode,
8
- label = _ref.label,
9
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
10
- return /*#__PURE__*/React.createElement(S.FlagLabel, htmlAttributes, /*#__PURE__*/React.createElement(DSFlag, {
11
- country: countryCode,
12
- size: 20
13
- }), /*#__PURE__*/React.createElement("span", null, label));
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import DSFlag from "@synerise/ds-flag";
3
+ import { FlagLabel } from "./FlagLabelCell.styles.js";
4
+ const FlagLabelCell = ({
5
+ countryCode,
6
+ label,
7
+ ...htmlAttributes
8
+ }) => {
9
+ return /* @__PURE__ */ jsxs(FlagLabel, { ...htmlAttributes, children: [
10
+ /* @__PURE__ */ jsx(DSFlag, { country: countryCode, size: 20 }),
11
+ /* @__PURE__ */ jsx("span", { children: label })
12
+ ] });
13
+ };
14
+ export {
15
+ FlagLabelCell as default
14
16
  };
15
- export default FlagLabelCell;
@@ -1 +1 @@
1
- export declare const FlagLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ export declare const FlagLabel: import('styled-components').StyledComponent<"div", any, {}, never>;
@@ -1,5 +1,8 @@
1
- import styled from 'styled-components';
2
- export var FlagLabel = styled.div.withConfig({
1
+ import styled from "styled-components";
2
+ const FlagLabel = /* @__PURE__ */ styled.div.withConfig({
3
3
  displayName: "FlagLabelCellstyles__FlagLabel",
4
4
  componentId: "sc-hckhy-0"
5
- })(["display:flex;align-items:center;justify-content:flex-start;span{margin-left:8px;}"]);
5
+ })(["display:flex;align-items:center;justify-content:flex-start;span{margin-left:8px;}"]);
6
+ export {
7
+ FlagLabel
8
+ };
@@ -1,5 +1,5 @@
1
- import { type CountryCode } from '@synerise/ds-flag/dist/Flag.types';
2
- import { type WithHTMLAttributes } from '@synerise/ds-utils';
1
+ import { CountryCode } from '@synerise/ds-flag/dist/Flag.types';
2
+ import { WithHTMLAttributes } from '@synerise/ds-utils';
3
3
  export type FlagLabelProps = WithHTMLAttributes<HTMLDivElement, {
4
4
  countryCode: CountryCode;
5
5
  label: string;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type IconLabelProps } from './IconLabel.types';
1
+ import { default as React } from 'react';
2
+ import { IconLabelProps } from './IconLabel.types';
3
3
  declare const IconLabelCell: ({ label, icon, disabled, ...htmlAttributes }: IconLabelProps) => React.JSX.Element;
4
4
  export default IconLabelCell;
@@ -1,16 +1,15 @@
1
- var _excluded = ["label", "icon", "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 Icon from '@synerise/ds-icon';
6
- import * as S from './IconLabel.styles';
7
- var IconLabelCell = function IconLabelCell(_ref) {
8
- var label = _ref.label,
9
- icon = _ref.icon,
10
- disabled = _ref.disabled,
11
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
12
- return /*#__PURE__*/React.createElement(S.IconLabelCell, _extends({
13
- isDisabled: disabled
14
- }, htmlAttributes), icon && /*#__PURE__*/React.createElement(Icon, icon), label && /*#__PURE__*/React.createElement("span", null, label));
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import Icon from "@synerise/ds-icon";
3
+ import { IconLabelCell as IconLabelCell$1 } from "./IconLabel.styles.js";
4
+ const IconLabelCell = ({
5
+ label,
6
+ icon,
7
+ disabled,
8
+ ...htmlAttributes
9
+ }) => /* @__PURE__ */ jsxs(IconLabelCell$1, { isDisabled: disabled, ...htmlAttributes, children: [
10
+ icon && /* @__PURE__ */ jsx(Icon, { ...icon }),
11
+ label && /* @__PURE__ */ jsx("span", { children: label })
12
+ ] });
13
+ export {
14
+ IconLabelCell as default
15
15
  };
16
- export default IconLabelCell;
@@ -1,3 +1,3 @@
1
- export declare const IconLabelCell: import("styled-components").StyledComponent<"span", any, {
1
+ export declare const IconLabelCell: import('styled-components').StyledComponent<"span", any, {
2
2
  isDisabled?: boolean;
3
3
  }, never>;
@@ -1,8 +1,9 @@
1
- import styled from 'styled-components';
2
- import { IconContainer } from '@synerise/ds-icon';
3
- export var IconLabelCell = styled.span.withConfig({
1
+ import styled from "styled-components";
2
+ import { IconContainer } from "@synerise/ds-icon";
3
+ const IconLabelCell = /* @__PURE__ */ styled.span.withConfig({
4
4
  displayName: "IconLabelstyles__IconLabelCell",
5
5
  componentId: "sc-1y3fuli-0"
6
- })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;", " ", "{margin-right:8px;}"], function (props) {
7
- return props.isDisabled && 'opacity: 0.4;';
8
- }, IconContainer);
6
+ })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;", " ", "{margin-right:8px;}"], (props) => props.isDisabled && "opacity: 0.4;", IconContainer);
7
+ export {
8
+ IconLabelCell
9
+ };
@@ -1,6 +1,6 @@
1
- import type { ReactNode } from 'react';
2
- import type { IconProps } from '@synerise/ds-icon';
3
- import type { WithHTMLAttributes } from '@synerise/ds-utils';
1
+ import { ReactNode } from 'react';
2
+ import { IconProps } from '@synerise/ds-icon';
3
+ import { WithHTMLAttributes } from '@synerise/ds-utils';
4
4
  export type IconLabelProps = WithHTMLAttributes<HTMLDivElement, {
5
5
  label?: ReactNode;
6
6
  icon?: IconProps;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type IconTooltipCellProps } from './IconTooltipCell.types';
1
+ import { default as React } from 'react';
2
+ import { IconTooltipCellProps } from './IconTooltipCell.types';
3
3
  declare const IconTooltipCell: ({ label, icon, tooltip, tooltipIcon, disabled, ...htmlAttributes }: IconTooltipCellProps) => React.JSX.Element;
4
4
  export default IconTooltipCell;
@@ -1,24 +1,19 @@
1
- var _excluded = ["label", "icon", "tooltip", "tooltipIcon", "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 Icon from '@synerise/ds-icon';
6
- import Tooltip from '@synerise/ds-tooltip';
7
- import * as S from './IconTooltipCell.styles';
8
- var IconTooltipCell = function IconTooltipCell(_ref) {
9
- var label = _ref.label,
10
- icon = _ref.icon,
11
- _ref$tooltip = _ref.tooltip,
12
- tooltip = _ref$tooltip === void 0 ? {} : _ref$tooltip,
13
- tooltipIcon = _ref.tooltipIcon,
14
- disabled = _ref.disabled,
15
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
16
- return /*#__PURE__*/React.createElement(S.IconTooltipCell, _extends({}, htmlAttributes, {
17
- isDisabled: disabled
18
- }), icon && /*#__PURE__*/React.createElement(Icon, _extends({
19
- className: "main-icon"
20
- }, icon)), label && /*#__PURE__*/React.createElement(S.Label, null, label), tooltipIcon && /*#__PURE__*/React.createElement(Tooltip, tooltip, /*#__PURE__*/React.createElement(Icon, _extends({
21
- className: "tooltip-icon"
22
- }, tooltipIcon))));
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import Icon from "@synerise/ds-icon";
3
+ import Tooltip from "@synerise/ds-tooltip";
4
+ import { IconTooltipCell as IconTooltipCell$1, Label } from "./IconTooltipCell.styles.js";
5
+ const IconTooltipCell = ({
6
+ label,
7
+ icon,
8
+ tooltip = {},
9
+ tooltipIcon,
10
+ disabled,
11
+ ...htmlAttributes
12
+ }) => /* @__PURE__ */ jsxs(IconTooltipCell$1, { ...htmlAttributes, isDisabled: disabled, children: [
13
+ icon && /* @__PURE__ */ jsx(Icon, { className: "main-icon", ...icon }),
14
+ label && /* @__PURE__ */ jsx(Label, { children: label }),
15
+ tooltipIcon && /* @__PURE__ */ jsx(Tooltip, { ...tooltip, children: /* @__PURE__ */ jsx(Icon, { className: "tooltip-icon", ...tooltipIcon }) })
16
+ ] });
17
+ export {
18
+ IconTooltipCell as default
23
19
  };
24
- export default IconTooltipCell;
@@ -1,4 +1,4 @@
1
- export declare const IconTooltipCell: import("styled-components").StyledComponent<"span", any, {
1
+ export declare const IconTooltipCell: import('styled-components').StyledComponent<"span", 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,15 +1,13 @@
1
- import styled from 'styled-components';
2
- export var IconTooltipCell = styled.span.withConfig({
1
+ import styled from "styled-components";
2
+ const IconTooltipCell = /* @__PURE__ */ styled.span.withConfig({
3
3
  displayName: "IconTooltipCellstyles__IconTooltipCell",
4
4
  componentId: "sc-1x4usl8-0"
5
- })(["display:flex;flex-direction:row;align-items:center;white-space:nowrap;justify-content:flex-start;", " .main-icon{svg{fill:", ";}}.tooltip-icon{svg{fill:", ";}}"], function (props) {
6
- return props.isDisabled && 'opacity: 0.4;';
7
- }, function (props) {
8
- return props.theme.palette['grey-600'];
9
- }, function (props) {
10
- return props.theme.palette['grey-400'];
11
- });
12
- export var Label = styled.span.withConfig({
5
+ })(["display:flex;flex-direction:row;align-items:center;white-space:nowrap;justify-content:flex-start;", " .main-icon{svg{fill:", ";}}.tooltip-icon{svg{fill:", ";}}"], (props) => props.isDisabled && "opacity: 0.4;", (props) => props.theme.palette["grey-600"], (props) => props.theme.palette["grey-400"]);
6
+ const Label = /* @__PURE__ */ styled.span.withConfig({
13
7
  displayName: "IconTooltipCellstyles__Label",
14
8
  componentId: "sc-1x4usl8-1"
15
- })(["margin-left:4px;display:flex;white-space:nowrap;"]);
9
+ })(["margin-left:4px;display:flex;white-space:nowrap;"]);
10
+ export {
11
+ IconTooltipCell,
12
+ Label
13
+ };
@@ -1,7 +1,7 @@
1
- import type { ReactNode } from 'react';
2
- import type { IconProps } from '@synerise/ds-icon';
3
- import type { TooltipProps } from '@synerise/ds-tooltip';
4
- import type { WithHTMLAttributes } from '@synerise/ds-utils';
1
+ import { ReactNode } from 'react';
2
+ import { IconProps } from '@synerise/ds-icon';
3
+ import { TooltipProps } from '@synerise/ds-tooltip';
4
+ import { WithHTMLAttributes } from '@synerise/ds-utils';
5
5
  export type IconTooltipCellProps = WithHTMLAttributes<HTMLDivElement, {
6
6
  label?: ReactNode;
7
7
  icon?: IconProps;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type InputNumberCellProps } from './InputNumberCell.types';
1
+ import { default as React } from 'react';
2
+ import { InputNumberCellProps } from './InputNumberCell.types';
3
3
  declare const InputNumberCell: ({ inputNumberProps, disabled, ...htmlAttributes }: InputNumberCellProps) => React.JSX.Element;
4
4
  export default InputNumberCell;
@@ -1,18 +1,11 @@
1
- var _excluded = ["inputNumberProps", "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 InputNumber from '@synerise/ds-input-number';
6
- import * as S from './InputNumberCell.styles';
7
- var InputNumberCell = function InputNumberCell(_ref) {
8
- var inputNumberProps = _ref.inputNumberProps,
9
- disabled = _ref.disabled,
10
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
11
- return /*#__PURE__*/React.createElement(S.InputNumberCell, _extends({}, htmlAttributes, {
12
- isDisabled: disabled
13
- }), /*#__PURE__*/React.createElement(InputNumber, _extends({
14
- raw: true,
15
- disabled: disabled
16
- }, inputNumberProps)));
1
+ import { jsx } from "react/jsx-runtime";
2
+ import InputNumber from "@synerise/ds-input-number";
3
+ import { InputNumberCell as InputNumberCell$1 } from "./InputNumberCell.styles.js";
4
+ const InputNumberCell = ({
5
+ inputNumberProps,
6
+ disabled,
7
+ ...htmlAttributes
8
+ }) => /* @__PURE__ */ jsx(InputNumberCell$1, { ...htmlAttributes, isDisabled: disabled, children: /* @__PURE__ */ jsx(InputNumber, { raw: true, disabled, ...inputNumberProps }) });
9
+ export {
10
+ InputNumberCell as default
17
11
  };
18
- export default InputNumberCell;
@@ -1,3 +1,3 @@
1
- export declare const InputNumberCell: import("styled-components").StyledComponent<"div", any, {
1
+ export declare const InputNumberCell: import('styled-components').StyledComponent<"div", any, {
2
2
  isDisabled?: boolean;
3
3
  }, never>;
@@ -1,7 +1,11 @@
1
- import styled from 'styled-components';
2
- export var InputNumberCell = styled.div.withConfig({
1
+ import styled from "styled-components";
2
+ const InputNumberCell = /* @__PURE__ */ styled.div.withConfig({
3
3
  displayName: "InputNumberCellstyles__InputNumberCell",
4
4
  componentId: "sc-iguxfm-0"
5
- })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;", " max-width:100%;min-width:80px;"], function (props) {
6
- return props.isDisabled && "\n opacity: 0.4;\n pointer-events: none;\n ";
7
- });
5
+ })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;", " max-width:100%;min-width:80px;"], (props) => props.isDisabled && `
6
+ opacity: 0.4;
7
+ pointer-events: none;
8
+ `);
9
+ export {
10
+ InputNumberCell
11
+ };
@@ -1,5 +1,5 @@
1
- import { type InputNumberProps } from '@synerise/ds-input-number';
2
- import { type WithHTMLAttributes } from '@synerise/ds-utils';
1
+ import { InputNumberProps } from '@synerise/ds-input-number';
2
+ import { WithHTMLAttributes } from '@synerise/ds-utils';
3
3
  export type InputNumberCellProps = WithHTMLAttributes<HTMLDivElement, {
4
4
  inputNumberProps?: InputNumberProps;
5
5
  disabled?: boolean;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { type LabelsWithShowMoreProps } from './LabelsWithShowMore.types';
3
- import { type DataSourceType } from './Modal/Modal.types';
1
+ import { default as React } from 'react';
2
+ import { LabelsWithShowMoreProps } from './LabelsWithShowMore.types';
3
+ import { DataSourceType } from './Modal/Modal.types';
4
4
  declare const LabelsWithShowMore: ({ items, numberOfVisibleItems, renderItem, labelKey, texts, loading, ...htmlAttributes }: LabelsWithShowMoreProps<DataSourceType>) => React.JSX.Element;
5
5
  export default LabelsWithShowMore;
@@ -1,44 +1,33 @@
1
- var _excluded = ["items", "numberOfVisibleItems", "renderItem", "labelKey", "texts", "loading"];
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, useState } from 'react';
4
- import Tooltip from '@synerise/ds-tooltip';
5
- import * as S from './LabelsWithShowMore.styles';
6
- import DetailsModal from './Modal/Modal';
7
- var LabelsWithShowMore = function LabelsWithShowMore(_ref) {
8
- var items = _ref.items,
9
- numberOfVisibleItems = _ref.numberOfVisibleItems,
10
- renderItem = _ref.renderItem,
11
- labelKey = _ref.labelKey,
12
- texts = _ref.texts,
13
- loading = _ref.loading,
14
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
15
- var _useState = useState(false),
16
- modalVisible = _useState[0],
17
- setModalVisible = _useState[1];
18
- var diff = useMemo(function () {
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { useState, useMemo } from "react";
3
+ import Tooltip from "@synerise/ds-tooltip";
4
+ import { CellWrapper, Labels, MoreInfo } from "./LabelsWithShowMore.styles.js";
5
+ import DetailsModal from "./Modal/Modal.js";
6
+ const LabelsWithShowMore = ({
7
+ items,
8
+ numberOfVisibleItems,
9
+ renderItem,
10
+ labelKey,
11
+ texts,
12
+ loading,
13
+ ...htmlAttributes
14
+ }) => {
15
+ const [modalVisible, setModalVisible] = useState(false);
16
+ const diff = useMemo(() => {
19
17
  return items.length - numberOfVisibleItems;
20
18
  }, [items, numberOfVisibleItems]);
21
- var labels = useMemo(function () {
22
- return items.slice(0, numberOfVisibleItems).map(function (item) {
23
- return item[labelKey];
24
- }).join(', ');
19
+ const labels = useMemo(() => {
20
+ return items.slice(0, numberOfVisibleItems).map((item) => item[labelKey]).join(", ");
25
21
  }, [items, labelKey, numberOfVisibleItems]);
26
- return /*#__PURE__*/React.createElement(S.CellWrapper, htmlAttributes, /*#__PURE__*/React.createElement(S.Labels, null, labels), diff > 0 && /*#__PURE__*/React.createElement(Tooltip, {
27
- title: "" + texts.tooltip
28
- }, /*#__PURE__*/React.createElement(S.MoreInfo, {
29
- onClick: function onClick() {
30
- return setModalVisible(true);
31
- }
32
- }, "+", diff)), /*#__PURE__*/React.createElement(DetailsModal, {
33
- visible: modalVisible,
34
- hide: function hide() {
35
- return setModalVisible(false);
36
- },
37
- items: items,
38
- renderItem: renderItem,
39
- labelKey: labelKey,
40
- texts: texts,
41
- loading: loading
42
- }));
22
+ return /* @__PURE__ */ jsxs(CellWrapper, { ...htmlAttributes, children: [
23
+ /* @__PURE__ */ jsx(Labels, { children: labels }),
24
+ diff > 0 && /* @__PURE__ */ jsx(Tooltip, { title: `${texts.tooltip}`, children: /* @__PURE__ */ jsxs(MoreInfo, { onClick: () => setModalVisible(true), children: [
25
+ "+",
26
+ diff
27
+ ] }) }),
28
+ /* @__PURE__ */ jsx(DetailsModal, { visible: modalVisible, hide: () => setModalVisible(false), items, renderItem, labelKey, texts, loading })
29
+ ] });
30
+ };
31
+ export {
32
+ LabelsWithShowMore as default
43
33
  };
44
- export default LabelsWithShowMore;
@@ -1,3 +1,3 @@
1
- export declare const CellWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const MoreInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- export declare const Labels: import("styled-components").StyledComponent<"span", any, {}, never>;
1
+ export declare const CellWrapper: import('styled-components').StyledComponent<"div", any, {}, never>;
2
+ export declare const MoreInfo: import('styled-components').StyledComponent<"div", any, {}, never>;
3
+ export declare const Labels: import('styled-components').StyledComponent<"span", any, {}, never>;
@@ -1,15 +1,18 @@
1
- import styled from 'styled-components';
2
- export var CellWrapper = styled.div.withConfig({
1
+ import styled from "styled-components";
2
+ const CellWrapper = /* @__PURE__ */ styled.div.withConfig({
3
3
  displayName: "LabelsWithShowMorestyles__CellWrapper",
4
4
  componentId: "sc-1wfssoi-0"
5
5
  })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;"]);
6
- export var MoreInfo = styled.div.withConfig({
6
+ const MoreInfo = /* @__PURE__ */ styled.div.withConfig({
7
7
  displayName: "LabelsWithShowMorestyles__MoreInfo",
8
8
  componentId: "sc-1wfssoi-1"
9
- })(["font-size:11px;margin-left:8px;color:", ";display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative;"], function (props) {
10
- return props.theme.palette['grey-500'];
11
- });
12
- export var Labels = styled.span.withConfig({
9
+ })(["font-size:11px;margin-left:8px;color:", ";display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative;"], (props) => props.theme.palette["grey-500"]);
10
+ const Labels = /* @__PURE__ */ styled.span.withConfig({
13
11
  displayName: "LabelsWithShowMorestyles__Labels",
14
12
  componentId: "sc-1wfssoi-2"
15
- })(["display:block;text-overflow:ellipsis;overflow:hidden;max-width:calc(100% - 32px);"]);
13
+ })(["display:block;text-overflow:ellipsis;overflow:hidden;max-width:calc(100% - 32px);"]);
14
+ export {
15
+ CellWrapper,
16
+ Labels,
17
+ MoreInfo
18
+ };
@@ -1,5 +1,5 @@
1
- import { type Component, type ReactNode } from 'react';
2
- import { type WithHTMLAttributes } from '@synerise/ds-utils';
1
+ import { Component, ReactNode } from 'react';
2
+ import { WithHTMLAttributes } from '@synerise/ds-utils';
3
3
  export type ShowMoreTexts = {
4
4
  tooltip: ReactNode;
5
5
  searchPlaceholder: string;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type DataSourceType, type ModalProps } from './Modal.types';
1
+ import { default as React } from 'react';
2
+ import { DataSourceType, ModalProps } from './Modal.types';
3
3
  declare const DetailsModal: ({ visible, hide, items, texts, renderItem, labelKey, loading, }: ModalProps<DataSourceType>) => React.JSX.Element;
4
4
  export default DetailsModal;