@synerise/ds-description 1.1.13 → 1.1.14

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.
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.1.14](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.1.13...@synerise/ds-description@1.1.14) (2025-11-28)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-description
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.1.13](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.1.12...@synerise/ds-description@1.1.13) (2025-11-06)
7
15
 
8
16
  **Note:** Version bump only for package @synerise/ds-description
@@ -1,4 +1,7 @@
1
1
  import React from 'react';
2
2
  import { type CopyProps } from './Copy.types';
3
+ /**
4
+ * @deprecated it will receive no further updates and will be removed from future DS versions
5
+ */
3
6
  declare const Copy: ({ copyValue, texts, className, onMouseEnter, onMouseLeave, }: CopyProps) => React.JSX.Element;
4
7
  export default Copy;
package/dist/Row/Copy.js CHANGED
@@ -4,6 +4,9 @@ import { useIntl } from 'react-intl';
4
4
  import Icon, { CopyClipboardM } from '@synerise/ds-icon';
5
5
  import Tooltip from '@synerise/ds-tooltip';
6
6
  import * as S from './DescriptionRow.styles';
7
+ /**
8
+ * @deprecated it will receive no further updates and will be removed from future DS versions
9
+ */
7
10
  var Copy = function Copy(_ref) {
8
11
  var copyValue = _ref.copyValue,
9
12
  texts = _ref.texts,
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import Copy from './Copy';
3
2
  import * as S from './DescriptionRow.styles';
4
3
  import Star from './Star';
5
4
  var DescriptionRow = function DescriptionRow(_ref) {
@@ -27,7 +26,7 @@ var DescriptionRow = function DescriptionRow(_ref) {
27
26
  title: typeof value === 'string' ? value : undefined
28
27
  }, value), suffixEl && /*#__PURE__*/React.createElement(S.SuffixWrapper, {
29
28
  className: "ds-description-suffix"
30
- }, suffixEl), typeof copyValue === 'string' && /*#__PURE__*/React.createElement(Copy, {
29
+ }, suffixEl), typeof copyValue === 'string' && /*#__PURE__*/React.createElement(S.StyledCopyIcon, {
31
30
  copyValue: copyValue,
32
31
  texts: texts
33
32
  })));
@@ -2,6 +2,7 @@ export declare const RowLabel: import("styled-components").StyledComponent<"span
2
2
  export declare const Label: import("styled-components").StyledComponent<"span", any, {}, never>;
3
3
  export declare const RowValue: import("styled-components").StyledComponent<"div", any, {}, never>;
4
4
  export declare const Copyable: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const StyledCopyIcon: import("styled-components").StyledComponent<({ copyValue, texts, onMouseEnter, onMouseLeave, icon, placement, onCopy, ...rest }: import("@synerise/ds-copy-icon").CopyIconProps) => React.JSX.Element, any, {}, never>;
5
6
  export declare const RowWrapper: import("styled-components").StyledComponent<"div", any, {
6
7
  copyable: boolean;
7
8
  }, never>;
@@ -1,4 +1,5 @@
1
1
  import styled, { css } from 'styled-components';
2
+ import CopyIcon from '@synerise/ds-copy-icon';
2
3
  import { IconContainer } from '@synerise/ds-icon';
3
4
  export var RowLabel = styled.span.withConfig({
4
5
  displayName: "DescriptionRowstyles__RowLabel",
@@ -32,29 +33,33 @@ export var Copyable = styled.div.withConfig({
32
33
  }, function (props) {
33
34
  return props.theme.palette['blue-600'];
34
35
  });
36
+ export var StyledCopyIcon = styled(CopyIcon).withConfig({
37
+ displayName: "DescriptionRowstyles__StyledCopyIcon",
38
+ componentId: "sc-dj6vdq-4"
39
+ })(["visibility:hidden;position:relative;margin-left:8px;opacity:0;"]);
35
40
  export var RowWrapper = styled.div.withConfig({
36
41
  displayName: "DescriptionRowstyles__RowWrapper",
37
- componentId: "sc-dj6vdq-4"
38
- })(["width:100%;", "{", "}&:hover{", "{visibility:visible;opacity:1;}}a,[href]{color:inherit;text-decoration:none;cursor:pointer;&:hover{color:", ";}}"], Copyable, function (props) {
42
+ componentId: "sc-dj6vdq-5"
43
+ })(["width:100%;", "{", "}&:hover{", "{visibility:visible;opacity:1;}}&:hover{", "{visibility:visible;opacity:1;}}a,[href]{color:inherit;text-decoration:none;cursor:pointer;&:hover{color:", ";}}"], Copyable, function (props) {
39
44
  return props.copyable && css(["cursor:pointer;"]);
40
- }, Copyable, function (props) {
45
+ }, Copyable, StyledCopyIcon, function (props) {
41
46
  return props.theme.palette['blue-600'];
42
47
  });
43
48
  export var PrefixWrapper = styled.div.withConfig({
44
49
  displayName: "DescriptionRowstyles__PrefixWrapper",
45
- componentId: "sc-dj6vdq-5"
50
+ componentId: "sc-dj6vdq-6"
46
51
  })(["margin-right:8px;"]);
47
52
  export var SuffixWrapper = styled.div.withConfig({
48
53
  displayName: "DescriptionRowstyles__SuffixWrapper",
49
- componentId: "sc-dj6vdq-6"
54
+ componentId: "sc-dj6vdq-7"
50
55
  })(["margin-left:8px;.ds-button{margin-left:16px;}"]);
51
56
  export var ValueWrapper = styled.span.withConfig({
52
57
  displayName: "DescriptionRowstyles__ValueWrapper",
53
- componentId: "sc-dj6vdq-7"
58
+ componentId: "sc-dj6vdq-8"
54
59
  })(["white-space:nowrap;text-overflow:ellipsis;overflow-x:hidden;width:100%;"]);
55
60
  export var StarWrapper = styled.div.withConfig({
56
61
  displayName: "DescriptionRowstyles__StarWrapper",
57
- componentId: "sc-dj6vdq-8"
62
+ componentId: "sc-dj6vdq-9"
58
63
  })(["margin-right:", ";"], function (props) {
59
64
  return props.hasPrefixEl ? '16px' : '8px';
60
65
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-description",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "description": "Description UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -35,8 +35,9 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-icon": "^1.8.0",
39
- "@synerise/ds-tooltip": "^1.3.0",
38
+ "@synerise/ds-copy-icon": "^1.0.1",
39
+ "@synerise/ds-icon": "^1.9.0",
40
+ "@synerise/ds-tooltip": "^1.3.1",
40
41
  "@synerise/ds-utils": "^1.5.0",
41
42
  "classnames": "^2.5.1"
42
43
  },
@@ -47,5 +48,5 @@
47
48
  "react-intl": ">=3.12.0 <= 6.8",
48
49
  "styled-components": "^5.3.3"
49
50
  },
50
- "gitHead": "cbbb7d9f155735bcc4035d8fd8a7813878d6e051"
51
+ "gitHead": "d5bd7fbc9d840ac30e2b79b36c451b486e178445"
51
52
  }