@synerise/ds-tags 1.4.1 → 1.4.4

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,33 @@
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.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tags@1.4.3...@synerise/ds-tags@1.4.4) (2025-10-03)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **table:** tags in table cell layout ([a072a1b](https://github.com/Synerise/synerise-design/commit/a072a1ba596043c31fa9eb92bf00a5b044e94898))
12
+
13
+
14
+
15
+
16
+
17
+ ## [1.4.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tags@1.4.2...@synerise/ds-tags@1.4.3) (2025-09-30)
18
+
19
+ **Note:** Version bump only for package @synerise/ds-tags
20
+
21
+
22
+
23
+
24
+
25
+ ## [1.4.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tags@1.4.1...@synerise/ds-tags@1.4.2) (2025-09-30)
26
+
27
+ **Note:** Version bump only for package @synerise/ds-tags
28
+
29
+
30
+
31
+
32
+
6
33
  ## [1.4.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tags@1.4.0...@synerise/ds-tags@1.4.1) (2025-09-26)
7
34
 
8
35
  **Note:** Version bump only for package @synerise/ds-tags
@@ -1,6 +1,7 @@
1
1
  import { type TagShape } from '@synerise/ds-tag';
2
2
  export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
3
3
  export declare const TagOverflow: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const LimitedTag: import("styled-components").StyledComponent<({ id, name, className, disabled, removable, image, shape, color, textColor, onRemove, onClick, prefixel, suffixel, texts, asPill, dashed, tooltipProps, ...htmlAttributes }: import("@synerise/ds-tag").TagProps) => React.JSX.Element, any, {}, never>;
4
5
  export declare const TagsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
5
6
  export declare const Title: import("styled-components").StyledComponent<"div", any, {
6
7
  shape?: TagShape;
@@ -1,4 +1,5 @@
1
1
  import styled from 'styled-components';
2
+ import Tag from '@synerise/ds-tag';
2
3
  export var Container = styled.div.withConfig({
3
4
  displayName: "Tagsstyles__Container",
4
5
  componentId: "sc-156lf0a-0"
@@ -6,18 +7,22 @@ export var Container = styled.div.withConfig({
6
7
  export var TagOverflow = styled.div.withConfig({
7
8
  displayName: "Tagsstyles__TagOverflow",
8
9
  componentId: "sc-156lf0a-1"
9
- })(["display:flex;height:32px;align-items:center;max-width:100%;"]);
10
+ })(["display:flex;height:32px;align-items:center;max-width:100%;min-width:0;flex:0 1 auto;"]);
11
+ export var LimitedTag = styled(Tag).withConfig({
12
+ displayName: "Tagsstyles__LimitedTag",
13
+ componentId: "sc-156lf0a-2"
14
+ })(["flex:0 0 auto;"]);
10
15
  export var TagsWrapper = styled.div.withConfig({
11
16
  displayName: "Tagsstyles__TagsWrapper",
12
- componentId: "sc-156lf0a-2"
17
+ componentId: "sc-156lf0a-3"
13
18
  })(["display:flex;align-items:center;flex-direction:row;flex-wrap:wrap;min-width:0;"]);
14
19
  export var Title = styled.div.withConfig({
15
20
  displayName: "Tagsstyles__Title",
16
- componentId: "sc-156lf0a-3"
21
+ componentId: "sc-156lf0a-4"
17
22
  })(["color:", ";font-weight:500;display:block;margin:6px 4px 0 0;"], function (props) {
18
23
  return props.theme.palette['grey-800'];
19
24
  });
20
25
  export var SelectedTags = styled.div.withConfig({
21
26
  displayName: "Tagsstyles__SelectedTags",
22
- componentId: "sc-156lf0a-4"
27
+ componentId: "sc-156lf0a-5"
23
28
  })(["display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;min-width:0;&& .ds-tag{margin:4px;}"]);
@@ -95,6 +95,7 @@ export var AddTags = function AddTags(_ref) {
95
95
  clearTooltip: texts.clearTooltip
96
96
  })
97
97
  }, /*#__PURE__*/React.createElement(S.AddTagButton, {
98
+ isOpen: isTagAddDropdownOpen,
98
99
  type: "ghost",
99
100
  mode: addButtonType || (texts != null && texts.addButtonLabel ? 'icon-label' : 'single-icon')
100
101
  }, /*#__PURE__*/React.createElement(Icon, {
@@ -3,4 +3,6 @@ export declare const CreateTagDropdownButton: import("styled-components").Styled
3
3
  marginless: boolean;
4
4
  }, never>;
5
5
  export declare const Separator: import("styled-components").StyledComponent<"hr", any, {}, never>;
6
- export declare const AddTagButton: import("styled-components").StyledComponent<typeof Button, any, {}, never>;
6
+ export declare const AddTagButton: import("styled-components").StyledComponent<typeof Button, any, {
7
+ isOpen?: boolean;
8
+ }, never>;
@@ -16,4 +16,6 @@ export var Separator = styled.hr.withConfig({
16
16
  export var AddTagButton = styled(Button).withConfig({
17
17
  displayName: "AddTagsstyles__AddTagButton",
18
18
  componentId: "sc-1wg5ubr-2"
19
- })([""]);
19
+ })(["flex:0 0 auto;", ""], function (props) {
20
+ return props.isOpen && " &&&&& { visibility: visible }";
21
+ });
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import Tag from '@synerise/ds-tag';
2
+ import * as S from '../../Tags.styles';
3
3
  import { TagsDropdown } from '../TagsDropdown/TagsDropdown';
4
4
  export var LimitedTags = function LimitedTags(_ref) {
5
5
  var tagShape = _ref.tagShape,
@@ -18,7 +18,7 @@ export var LimitedTags = function LimitedTags(_ref) {
18
18
  onRemove: removable ? onRemove : undefined,
19
19
  disabled: disabled,
20
20
  asPill: asPill
21
- }, /*#__PURE__*/React.createElement(Tag, {
21
+ }, /*#__PURE__*/React.createElement(S.LimitedTag, {
22
22
  id: "limited-tags",
23
23
  shape: tagShape,
24
24
  name: "+" + limitedSelectedTags.length,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-tags",
3
- "version": "1.4.1",
3
+ "version": "1.4.4",
4
4
  "description": "Tags UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -36,12 +36,12 @@
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
38
  "@synerise/ds-button": "^1.4.12",
39
- "@synerise/ds-dropdown": "^1.0.26",
39
+ "@synerise/ds-dropdown": "^1.0.29",
40
40
  "@synerise/ds-icon": "^1.7.2",
41
- "@synerise/ds-information-card": "^1.1.4",
41
+ "@synerise/ds-information-card": "^1.1.7",
42
42
  "@synerise/ds-result": "^1.0.25",
43
43
  "@synerise/ds-scrollbar": "^1.1.8",
44
- "@synerise/ds-search-bar": "^1.3.14",
44
+ "@synerise/ds-search-bar": "^1.3.15",
45
45
  "@synerise/ds-tag": "^1.3.0",
46
46
  "@synerise/ds-tooltip": "^1.2.0"
47
47
  },
@@ -50,5 +50,5 @@
50
50
  "react": ">=16.9.0 <= 18.3.1",
51
51
  "styled-components": "^5.3.3"
52
52
  },
53
- "gitHead": "25221abb694880c2416ceb5f7598a5c7329f3379"
53
+ "gitHead": "1f909e1fc4174f1c05c148338e64652a893ef926"
54
54
  }