@synerise/ds-copy-icon 1.1.7 → 1.2.1
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 +10 -0
- package/README.md +4 -4
- package/package.json +8 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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.2.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-copy-icon@1.2.0...@synerise/ds-copy-icon@1.2.1) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-copy-icon
|
|
9
|
+
|
|
10
|
+
# [1.2.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-copy-icon@1.1.7...@synerise/ds-copy-icon@1.2.0) (2026-03-09)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **copy-icon:** change to vitest ([0d60f24](https://github.com/Synerise/synerise-design/commit/0d60f2412eca78590ce1e276b3864be46e1fb4c5))
|
|
15
|
+
|
|
6
16
|
## [1.1.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-copy-icon@1.1.6...@synerise/ds-copy-icon@1.1.7) (2026-02-23)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @synerise/ds-copy-icon
|
package/README.md
CHANGED
|
@@ -14,9 +14,9 @@ yarn add @synerise/ds-copy-icon
|
|
|
14
14
|
|
|
15
15
|
## Usage
|
|
16
16
|
```
|
|
17
|
-
import
|
|
17
|
+
import CopyIcon from '@synerise/ds-copy-icon'
|
|
18
18
|
|
|
19
|
-
<CopyIcon />
|
|
19
|
+
<CopyIcon copyValue="text-to-copy" />
|
|
20
20
|
|
|
21
21
|
```
|
|
22
22
|
|
|
@@ -26,9 +26,9 @@ import CopyButton from '@synerise/ds-copy-icon'
|
|
|
26
26
|
|
|
27
27
|
## API
|
|
28
28
|
|
|
29
|
-
Property | Description | Type | Default |
|
|
29
|
+
| Property | Description | Type | Default |
|
|
30
30
|
| --------- | ------------------------------------------------------ | ------------------------ | ------- |
|
|
31
|
-
| texts | Group of texts before copy and after | CopyTooltipTexts
|
|
31
|
+
| texts | Group of texts before copy and after | Partial<CopyTooltipTexts>| - |
|
|
32
32
|
| icon | custom icon to render | ReactNode | - |
|
|
33
33
|
| copyValue | Value to copy after click on icon | string | - |
|
|
34
34
|
| placement | prop to set tooltip where need to be | TooltipPlacement | - |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-copy-icon",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "CopyIcon UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"prepublish": "pnpm run build",
|
|
25
25
|
"types": "tsc --noEmit",
|
|
26
26
|
"pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
|
|
27
|
-
"test": "
|
|
28
|
-
"test:watch": "
|
|
27
|
+
"test": "vitest run",
|
|
28
|
+
"test:watch": "vitest",
|
|
29
29
|
"check:circular-dependencies": "madge --circular --extensions ts,tsx,js,jsx --ts-config tsconfig.json src/ --exclude '/dist/'",
|
|
30
30
|
"upgrade:ds": "ncu -f \"@synerise/ds-*\" -u"
|
|
31
31
|
},
|
|
@@ -35,11 +35,12 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-icon": "^1.
|
|
39
|
-
"@synerise/ds-tooltip": "^1.4.
|
|
38
|
+
"@synerise/ds-icon": "^1.15.0",
|
|
39
|
+
"@synerise/ds-tooltip": "^1.4.9"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@synerise/ds-utils": "^1.
|
|
42
|
+
"@synerise/ds-utils": "^1.7.0",
|
|
43
|
+
"vitest": "4"
|
|
43
44
|
},
|
|
44
45
|
"peerDependencies": {
|
|
45
46
|
"@synerise/ds-core": "*",
|
|
@@ -48,5 +49,5 @@
|
|
|
48
49
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
49
50
|
"styled-components": "^5.3.3"
|
|
50
51
|
},
|
|
51
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
52
53
|
}
|