@synerise/ds-description 1.1.13 → 1.1.15

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,123 +3,73 @@
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.13](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.1.12...@synerise/ds-description@1.1.13) (2025-11-06)
6
+ ## [1.1.15](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.1.14...@synerise/ds-description@1.1.15) (2025-12-15)
7
7
 
8
8
  **Note:** Version bump only for package @synerise/ds-description
9
9
 
10
+ ## [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)
10
11
 
12
+ **Note:** Version bump only for package @synerise/ds-description
11
13
 
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)
12
15
 
16
+ **Note:** Version bump only for package @synerise/ds-description
13
17
 
14
18
  ## [1.1.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.1.11...@synerise/ds-description@1.1.12) (2025-10-10)
15
19
 
16
20
  **Note:** Version bump only for package @synerise/ds-description
17
21
 
18
-
19
-
20
-
21
-
22
22
  ## [1.1.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.1.10...@synerise/ds-description@1.1.11) (2025-09-19)
23
23
 
24
24
  **Note:** Version bump only for package @synerise/ds-description
25
25
 
26
-
27
-
28
-
29
-
30
26
  ## [1.1.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.1.9...@synerise/ds-description@1.1.10) (2025-09-16)
31
27
 
32
28
  **Note:** Version bump only for package @synerise/ds-description
33
29
 
34
-
35
-
36
-
37
-
38
30
  ## [1.1.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.1.8...@synerise/ds-description@1.1.9) (2025-09-05)
39
31
 
40
-
41
32
  ### Bug Fixes
42
33
 
43
- * **description:** refactor description ([3f32923](https://github.com/Synerise/synerise-design/commit/3f32923ed7f33e01e5fe79bb3da1ac01e10274da))
44
-
45
-
46
-
47
-
34
+ - **description:** refactor description ([3f32923](https://github.com/Synerise/synerise-design/commit/3f32923ed7f33e01e5fe79bb3da1ac01e10274da))
48
35
 
49
36
  ## [1.1.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.1.7...@synerise/ds-description@1.1.8) (2025-08-28)
50
37
 
51
38
  **Note:** Version bump only for package @synerise/ds-description
52
39
 
53
-
54
-
55
-
56
-
57
40
  ## [1.1.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.1.6...@synerise/ds-description@1.1.7) (2025-08-14)
58
41
 
59
42
  **Note:** Version bump only for package @synerise/ds-description
60
43
 
61
-
62
-
63
-
64
-
65
44
  ## [1.1.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.1.5...@synerise/ds-description@1.1.6) (2025-07-24)
66
45
 
67
46
  **Note:** Version bump only for package @synerise/ds-description
68
47
 
69
-
70
-
71
-
72
-
73
48
  ## [1.1.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.1.4...@synerise/ds-description@1.1.5) (2025-07-17)
74
49
 
75
50
  **Note:** Version bump only for package @synerise/ds-description
76
51
 
77
-
78
-
79
-
80
-
81
52
  ## [1.1.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.1.3...@synerise/ds-description@1.1.4) (2025-07-15)
82
53
 
83
54
  **Note:** Version bump only for package @synerise/ds-description
84
55
 
85
-
86
-
87
-
88
-
89
56
  ## [1.1.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.1.2...@synerise/ds-description@1.1.3) (2025-07-08)
90
57
 
91
58
  **Note:** Version bump only for package @synerise/ds-description
92
59
 
93
-
94
-
95
-
96
-
97
60
  ## [1.1.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.1.1...@synerise/ds-description@1.1.2) (2025-07-01)
98
61
 
99
62
  **Note:** Version bump only for package @synerise/ds-description
100
63
 
101
-
102
-
103
-
104
-
105
64
  ## [1.1.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.1.0...@synerise/ds-description@1.1.1) (2025-06-26)
106
65
 
107
66
  **Note:** Version bump only for package @synerise/ds-description
108
67
 
109
-
110
-
111
-
112
-
113
68
  # [1.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.0.10...@synerise/ds-description@1.1.0) (2025-06-24)
114
69
 
115
-
116
70
  ### Features
117
71
 
118
- * **factors:** array factor type ([195d328](https://github.com/Synerise/synerise-design/commit/195d3286e98b5f07fc9c1e56001e6ae844b7a080))
119
-
120
-
121
-
122
-
72
+ - **factors:** array factor type ([195d328](https://github.com/Synerise/synerise-design/commit/195d3286e98b5f07fc9c1e56001e6ae844b7a080))
123
73
 
124
74
  ## [1.0.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.0.9...@synerise/ds-description@1.0.10) (2025-06-05)
125
75
 
package/README.md CHANGED
@@ -32,10 +32,10 @@ import Description, {DescriptionRow} from '@synerise/ds-description';
32
32
 
33
33
  ### Description
34
34
 
35
- | Property | Description | Type | Default |
36
- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- | ------- |
37
- | type | Type of description: `table` - description will looks like vertical table, `inline` - value will aligns to label, `corner` - label and value have space-between them | `table`/ `inline`/ `corner` | `table` |
38
- | ratio | Define size of column if type='table' | `50-50`/ `25-75` | `50-50` |
35
+ | Property | Description | Type | Default |
36
+ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- | ------- |
37
+ | type | Type of description: `table` - description will looks like vertical table, `inline` - value will aligns to label, `corner` - label and value have space-between them | `table`/ `inline`/ `corner` | `table` |
38
+ | ratio | Define size of column if type='table' | `50-50`/ `25-75` | `50-50` |
39
39
 
40
40
  ### DescriptionRow
41
41
 
@@ -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.15",
4
4
  "description": "Description UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -21,7 +21,7 @@
21
21
  "build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
22
22
  "build:watch": "npm run build:js -- --watch",
23
23
  "defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
24
- "pack:ci": "npm pack --pack-destination ../../storybook/storybook-static/static",
24
+ "pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
25
25
  "prepublish": "npm run build",
26
26
  "test": "jest",
27
27
  "test:watch": "npm run test -- --watchAll",
@@ -35,9 +35,10 @@
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",
40
- "@synerise/ds-utils": "^1.5.0",
38
+ "@synerise/ds-copy-icon": "^1.0.2",
39
+ "@synerise/ds-icon": "^1.9.1",
40
+ "@synerise/ds-tooltip": "^1.3.2",
41
+ "@synerise/ds-utils": "^1.5.1",
41
42
  "classnames": "^2.5.1"
42
43
  },
43
44
  "peerDependencies": {
@@ -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": "b1279d5354132a2bf0b6f0cfa343db4c6c928f72"
51
52
  }