@synerise/ds-tag 1.4.16 → 1.4.17
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 +4 -0
- package/README.md +9 -2
- package/package.json +5 -5
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.4.17](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.4.16...@synerise/ds-tag@1.4.17) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-tag
|
|
9
|
+
|
|
6
10
|
## [1.4.16](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.4.15...@synerise/ds-tag@1.4.16) (2026-03-09)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @synerise/ds-tag
|
package/README.md
CHANGED
|
@@ -11,6 +11,8 @@ Tag UI Component
|
|
|
11
11
|
npm i @synerise/ds-tag
|
|
12
12
|
or
|
|
13
13
|
yarn add @synerise/ds-tag
|
|
14
|
+
or
|
|
15
|
+
pnpm add @synerise/ds-tag
|
|
14
16
|
```
|
|
15
17
|
|
|
16
18
|
## Usage
|
|
@@ -38,10 +40,15 @@ import Tag from '@synerise/ds-tag'
|
|
|
38
40
|
| onClick | onClick event on tag body | () => void | - |
|
|
39
41
|
| onRemove | callback when tag is removed | (tagKey: string / number) => void | - |
|
|
40
42
|
| removable | show remove button | boolean | - |
|
|
41
|
-
| shape | shape of the tag | TagShape | TagShape.
|
|
43
|
+
| shape | shape of the tag | TagShape | TagShape.DEFAULT_SQUARE |
|
|
42
44
|
| textColor | color of tag name label | string | - |
|
|
45
|
+
| image | src of image shown before content (DEFAULT_ROUND/SQUARE only) | string | - |
|
|
46
|
+
| prefixel | leading slot content | ReactNode | - |
|
|
47
|
+
| suffixel | trailing slot content (hidden on remove hover) | ReactNode | - |
|
|
48
|
+
| texts | i18n overrides for internal labels | Partial<TagTexts> | - |
|
|
49
|
+
| asPill | disable hover brightness effect | boolean | - |
|
|
43
50
|
| dashed | make border dashed | boolean | - |
|
|
44
|
-
| tooltipProps | tooltip to show over entire tag. see ds-tooltip | TooltipProps |
|
|
51
|
+
| tooltipProps | tooltip to show over entire tag. see ds-tooltip | TooltipProps | - |
|
|
45
52
|
|
|
46
53
|
## TagShape Enum
|
|
47
54
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-tag",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.17",
|
|
4
4
|
"description": "Tag UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-icon": "^1.
|
|
39
|
-
"@synerise/ds-tooltip": "^1.4.
|
|
40
|
-
"@synerise/ds-utils": "^1.
|
|
38
|
+
"@synerise/ds-icon": "^1.15.0",
|
|
39
|
+
"@synerise/ds-tooltip": "^1.4.9",
|
|
40
|
+
"@synerise/ds-utils": "^1.7.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@synerise/ds-core": "*",
|
|
44
44
|
"react": ">=16.9.0 <= 18.3.1",
|
|
45
45
|
"styled-components": "^5.3.3"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
48
48
|
}
|