@synerise/ds-tags 0.10.8 → 0.10.9
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 +8 -0
- package/README.md +1 -0
- package/dist/Tag/Tag.d.ts +1 -1
- package/dist/Tag/Tag.js +4 -2
- package/dist/Tag/Tag.styles.d.ts +1 -0
- package/dist/Tag/Tag.types.d.ts +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [0.10.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tags@0.10.8...@synerise/ds-tags@0.10.9) (2024-09-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-tags
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.10.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tags@0.10.7...@synerise/ds-tags@0.10.8) (2024-09-17)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-tags
|
package/README.md
CHANGED
|
@@ -23,6 +23,7 @@ Tags UI Component
|
|
|
23
23
|
| removable | show remove button | boolean | - |
|
|
24
24
|
| shape | shape of the tag | TagShape | TagShape.DEFAULT_ROUND |
|
|
25
25
|
| textColor | color of tag name label | string | - |
|
|
26
|
+
| dashed | make border dashed | boolean | - |
|
|
26
27
|
|
|
27
28
|
## Tags API (Group of <Tag />)
|
|
28
29
|
|
package/dist/Tag/Tag.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TagProps, TagShape } from './Tag.types';
|
|
3
3
|
declare const Tag: {
|
|
4
|
-
({ id, name, className, disabled, removable, image, shape, color, textColor, onRemove, onClick, prefixel, suffixel, texts, asPill, ...htmlAttributes }: TagProps): React.JSX.Element;
|
|
4
|
+
({ id, name, className, disabled, removable, image, shape, color, textColor, onRemove, onClick, prefixel, suffixel, texts, asPill, dashed, ...htmlAttributes }: TagProps): React.JSX.Element;
|
|
5
5
|
defaultProps: {
|
|
6
6
|
shape: TagShape;
|
|
7
7
|
};
|
package/dist/Tag/Tag.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _excluded = ["id", "name", "className", "disabled", "removable", "image", "shape", "color", "textColor", "onRemove", "onClick", "prefixel", "suffixel", "texts", "asPill"];
|
|
1
|
+
var _excluded = ["id", "name", "className", "disabled", "removable", "image", "shape", "color", "textColor", "onRemove", "onClick", "prefixel", "suffixel", "texts", "asPill", "dashed"];
|
|
2
2
|
|
|
3
3
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
|
|
@@ -28,6 +28,7 @@ var Tag = function Tag(_ref) {
|
|
|
28
28
|
suffixel = _ref.suffixel,
|
|
29
29
|
texts = _ref.texts,
|
|
30
30
|
asPill = _ref.asPill,
|
|
31
|
+
dashed = _ref.dashed,
|
|
31
32
|
htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
32
33
|
|
|
33
34
|
var isDefaultType = shape && [TagShape.DEFAULT_ROUND, TagShape.DEFAULT_SQUARE].includes(shape);
|
|
@@ -92,7 +93,8 @@ var Tag = function Tag(_ref) {
|
|
|
92
93
|
suffixel: !!suffixel,
|
|
93
94
|
hasImage: !!image,
|
|
94
95
|
iconHover: isIconHovered,
|
|
95
|
-
asPill: asPill
|
|
96
|
+
asPill: asPill,
|
|
97
|
+
dashed: dashed
|
|
96
98
|
}, htmlAttributes), /*#__PURE__*/React.createElement(S.Content, {
|
|
97
99
|
iconHover: isIconHovered
|
|
98
100
|
}, image && isDefaultType && /*#__PURE__*/React.createElement("img", {
|
package/dist/Tag/Tag.styles.d.ts
CHANGED
|
@@ -27,5 +27,6 @@ export declare const Tag: import("styled-components").StyledComponent<"div", any
|
|
|
27
27
|
hasImage?: boolean | undefined;
|
|
28
28
|
iconHover?: boolean | undefined;
|
|
29
29
|
asPill?: boolean | undefined;
|
|
30
|
+
dashed?: boolean | undefined;
|
|
30
31
|
} & ThemeProps, never>;
|
|
31
32
|
export declare const DeleteButton: import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/dist/Tag/Tag.types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-tags",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.9",
|
|
4
4
|
"description": "Tags UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"react": ">=16.9.0 <= 17.0.2",
|
|
48
48
|
"styled-components": "5.0.1"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "a2c7baeed8b391294c9a24866cd4c9dfd4646fa9"
|
|
51
51
|
}
|