@synerise/ds-copy-icon 1.2.0 → 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 CHANGED
@@ -3,6 +3,10 @@
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
+
6
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)
7
11
 
8
12
  ### Features
package/README.md CHANGED
@@ -14,9 +14,9 @@ yarn add @synerise/ds-copy-icon
14
14
 
15
15
  ## Usage
16
16
  ```
17
- import CopyButton from '@synerise/ds-copy-icon'
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.2.0",
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": "vitest",
28
- "test:watch": "pnpm run 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,11 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-icon": "^1.14.1",
39
- "@synerise/ds-tooltip": "^1.4.8"
38
+ "@synerise/ds-icon": "^1.15.0",
39
+ "@synerise/ds-tooltip": "^1.4.9"
40
40
  },
41
41
  "devDependencies": {
42
- "@synerise/ds-utils": "^1.6.0",
42
+ "@synerise/ds-utils": "^1.7.0",
43
43
  "vitest": "4"
44
44
  },
45
45
  "peerDependencies": {
@@ -49,5 +49,5 @@
49
49
  "react-intl": ">=3.12.0 <= 6.8",
50
50
  "styled-components": "^5.3.3"
51
51
  },
52
- "gitHead": "8dfafc5d7278f09d430f1e7499782d05c76b47c0"
52
+ "gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
53
53
  }