@synerise/ds-tag 1.1.11 → 1.1.12
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 +7 -36
- package/README.md +2 -0
- package/dist/Tag.d.ts +1 -1
- package/dist/Tag.js +2 -4
- package/dist/Tag.styles.d.ts +1 -1
- package/dist/index.d.ts +1 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.
|
|
6
|
+
## [1.1.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.1.11...@synerise/ds-tag@1.1.12) (2025-07-01)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @synerise/ds-tag
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
## [1.1.
|
|
14
|
+
## [1.1.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.1.10...@synerise/ds-tag@1.1.11) (2025-06-26)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @synerise/ds-tag
|
|
17
17
|
|
|
@@ -19,7 +19,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
## [1.1.
|
|
22
|
+
## [1.1.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.1.9...@synerise/ds-tag@1.1.10) (2025-06-24)
|
|
23
23
|
|
|
24
24
|
**Note:** Version bump only for package @synerise/ds-tag
|
|
25
25
|
|
|
@@ -27,73 +27,44 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
## [1.1.
|
|
30
|
+
## [1.1.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.1.8...@synerise/ds-tag@1.1.9) (2025-06-05)
|
|
31
31
|
|
|
32
32
|
**Note:** Version bump only for package @synerise/ds-tag
|
|
33
33
|
|
|
34
|
+
## [1.1.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.1.7...@synerise/ds-tag@1.1.8) (2025-05-26)
|
|
34
35
|
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
**Note:** Version bump only for package @synerise/ds-tag
|
|
37
37
|
|
|
38
38
|
## [1.1.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.1.6...@synerise/ds-tag@1.1.7) (2025-05-19)
|
|
39
39
|
|
|
40
40
|
**Note:** Version bump only for package @synerise/ds-tag
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
42
|
## [1.1.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.1.5...@synerise/ds-tag@1.1.6) (2025-05-07)
|
|
47
43
|
|
|
48
44
|
**Note:** Version bump only for package @synerise/ds-tag
|
|
49
45
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
46
|
## [1.1.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.1.4...@synerise/ds-tag@1.1.5) (2025-04-24)
|
|
55
47
|
|
|
56
48
|
**Note:** Version bump only for package @synerise/ds-tag
|
|
57
49
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
50
|
## [1.1.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.1.3...@synerise/ds-tag@1.1.4) (2025-04-16)
|
|
63
51
|
|
|
64
52
|
**Note:** Version bump only for package @synerise/ds-tag
|
|
65
53
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
54
|
## [1.1.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.1.2...@synerise/ds-tag@1.1.3) (2025-04-02)
|
|
71
55
|
|
|
72
56
|
**Note:** Version bump only for package @synerise/ds-tag
|
|
73
57
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
58
|
## [1.1.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.1.1...@synerise/ds-tag@1.1.2) (2025-03-31)
|
|
79
59
|
|
|
80
60
|
**Note:** Version bump only for package @synerise/ds-tag
|
|
81
61
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
62
|
## [1.1.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.1.0...@synerise/ds-tag@1.1.1) (2025-03-26)
|
|
87
63
|
|
|
88
64
|
**Note:** Version bump only for package @synerise/ds-tag
|
|
89
65
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
66
|
# 1.1.0 (2025-03-18)
|
|
95
67
|
|
|
96
|
-
|
|
97
68
|
### Features
|
|
98
69
|
|
|
99
|
-
|
|
70
|
+
- **button:** add support for tag in button ([32b6956](https://github.com/Synerise/synerise-design/commit/32b6956d5e1f46df03abb4de8fbaf0a7d487043e))
|
package/README.md
CHANGED
package/dist/Tag.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TagProps } from './Tag.types';
|
|
2
|
+
import { type TagProps } from './Tag.types';
|
|
3
3
|
declare const Tag: ({ id, name, className, disabled, removable, image, shape, color, textColor, onRemove, onClick, prefixel, suffixel, texts, asPill, dashed, ...htmlAttributes }: TagProps) => React.JSX.Element;
|
|
4
4
|
export default Tag;
|
package/dist/Tag.js
CHANGED
|
@@ -2,12 +2,12 @@ var _excluded = ["id", "name", "className", "disabled", "removable", "image", "s
|
|
|
2
2
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import React, { useState } from 'react';
|
|
5
|
-
import Icon, { CloseS } from '@synerise/ds-icon';
|
|
6
5
|
import { theme } from '@synerise/ds-core';
|
|
6
|
+
import Icon, { CloseS } from '@synerise/ds-icon';
|
|
7
7
|
import Tooltip from '@synerise/ds-tooltip';
|
|
8
|
-
import { TagShape } from './Tag.types';
|
|
9
8
|
import * as S from './Tag.styles';
|
|
10
9
|
import { getColorText } from './Tag.styles';
|
|
10
|
+
import { TagShape } from './Tag.types';
|
|
11
11
|
var Tag = function Tag(_ref) {
|
|
12
12
|
var id = _ref.id,
|
|
13
13
|
name = _ref.name,
|
|
@@ -57,12 +57,10 @@ var Tag = function Tag(_ref) {
|
|
|
57
57
|
};
|
|
58
58
|
var handleMouseOver = function handleMouseOver(event) {
|
|
59
59
|
setIsIconHovered(true);
|
|
60
|
-
// eslint-disable-next-line no-unused-expressions
|
|
61
60
|
htmlAttributes.onMouseOver == null || htmlAttributes.onMouseOver(event);
|
|
62
61
|
};
|
|
63
62
|
var handleMouseLeave = function handleMouseLeave(event) {
|
|
64
63
|
setIsIconHovered(false);
|
|
65
|
-
// eslint-disable-next-line no-unused-expressions
|
|
66
64
|
htmlAttributes.onMouseLeave == null || htmlAttributes.onMouseLeave(event);
|
|
67
65
|
};
|
|
68
66
|
return /*#__PURE__*/React.createElement(S.Tag, _extends({
|
package/dist/Tag.styles.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemeProps, ThemePropsVars } from '@synerise/ds-core';
|
|
1
|
+
import { type ThemeProps, type ThemePropsVars } from '@synerise/ds-core';
|
|
2
2
|
import { TagShape } from './Tag.types';
|
|
3
3
|
export declare const getColorText: (theme: ThemePropsVars, color?: string) => string;
|
|
4
4
|
export declare const TagName: import("styled-components").StyledComponent<"span", any, {}, never>;
|
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-tag",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"description": "Tag UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-icon": "^1.5.
|
|
38
|
-
"@synerise/ds-tooltip": "^1.1.
|
|
39
|
-
"@synerise/ds-utils": "^1.3.
|
|
37
|
+
"@synerise/ds-icon": "^1.5.4",
|
|
38
|
+
"@synerise/ds-tooltip": "^1.1.12",
|
|
39
|
+
"@synerise/ds-utils": "^1.3.1"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@synerise/ds-core": "*",
|
|
43
43
|
"react": ">=16.9.0 <= 18.3.1",
|
|
44
44
|
"styled-components": "^5.3.3"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "4512641033ba3581a3df208143c547fcfed45895"
|
|
47
47
|
}
|