@synerise/ds-tag 1.1.10 → 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 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.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.1.9...@synerise/ds-tag@1.1.10) (2025-06-24)
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.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.1.8...@synerise/ds-tag@1.1.9) (2025-06-05)
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.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tag@1.1.7...@synerise/ds-tag@1.1.8) (2025-05-26)
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,65 +27,44 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
27
27
 
28
28
 
29
29
 
30
- ## [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)
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
 
36
+ **Note:** Version bump only for package @synerise/ds-tag
35
37
 
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)
36
39
 
40
+ **Note:** Version bump only for package @synerise/ds-tag
37
41
 
38
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)
39
43
 
40
44
  **Note:** Version bump only for package @synerise/ds-tag
41
45
 
42
-
43
-
44
-
45
-
46
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)
47
47
 
48
48
  **Note:** Version bump only for package @synerise/ds-tag
49
49
 
50
-
51
-
52
-
53
-
54
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)
55
51
 
56
52
  **Note:** Version bump only for package @synerise/ds-tag
57
53
 
58
-
59
-
60
-
61
-
62
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)
63
55
 
64
56
  **Note:** Version bump only for package @synerise/ds-tag
65
57
 
66
-
67
-
68
-
69
-
70
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)
71
59
 
72
60
  **Note:** Version bump only for package @synerise/ds-tag
73
61
 
74
-
75
-
76
-
77
-
78
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)
79
63
 
80
64
  **Note:** Version bump only for package @synerise/ds-tag
81
65
 
82
-
83
-
84
-
85
-
86
66
  # 1.1.0 (2025-03-18)
87
67
 
88
-
89
68
  ### Features
90
69
 
91
- * **button:** add support for tag in button ([32b6956](https://github.com/Synerise/synerise-design/commit/32b6956d5e1f46df03abb4de8fbaf0a7d487043e))
70
+ - **button:** add support for tag in button ([32b6956](https://github.com/Synerise/synerise-design/commit/32b6956d5e1f46df03abb4de8fbaf0a7d487043e))
package/README.md CHANGED
@@ -6,6 +6,7 @@ title: Tag
6
6
  Tag UI Component
7
7
 
8
8
  ## Installation
9
+
9
10
  ```
10
11
  npm i @synerise/ds-tag
11
12
  or
@@ -13,6 +14,7 @@ yarn add @synerise/ds-tag
13
14
  ```
14
15
 
15
16
  ## Usage
17
+
16
18
  ```
17
19
  import Tag from '@synerise/ds-tag'
18
20
 
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({
@@ -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
@@ -1,3 +1,2 @@
1
1
  export { default } from './Tag';
2
- export type { TagProps, TagTexts } from './Tag.types';
3
- export { TagShape } from './Tag.types';
2
+ export { TagShape, type TagProps, type TagTexts } from './Tag.types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-tag",
3
- "version": "1.1.10",
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.3",
38
- "@synerise/ds-tooltip": "^1.1.10",
39
- "@synerise/ds-utils": "^1.3.0"
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": "f2713cd35cfe22f63a159f05144585834897a132"
46
+ "gitHead": "4512641033ba3581a3df208143c547fcfed45895"
47
47
  }