@synerise/ds-tags 2.0.6 → 2.0.8

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,25 @@
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
+ ## [2.0.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tags@2.0.7...@synerise/ds-tags@2.0.8) (2026-09-22)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **core:** move test helpers to a ./testing subpath export ([b38cd82](https://github.com/Synerise/synerise-design/commit/b38cd82c956111d2331d5c1e0efd1935366f1139))
12
+
13
+
14
+
15
+
16
+
17
+ ## [2.0.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tags@2.0.6...@synerise/ds-tags@2.0.7) (2026-09-18)
18
+
19
+ **Note:** Version bump only for package @synerise/ds-tags
20
+
21
+
22
+
23
+
24
+
6
25
  ## [2.0.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tags@2.0.5...@synerise/ds-tags@2.0.6) (2026-09-16)
7
26
 
8
27
  **Note:** Version bump only for package @synerise/ds-tags
package/dist/Tags.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import InformationCard from "@synerise/ds-information-card";
3
3
  import Tag, { useDefaultTexts } from "@synerise/ds-tag";
4
- import { Container, Title, TagsWrapper, SelectedTags, TagOverflow } from "./Tags.styles.js";
5
4
  import { AddTags } from "./components/AddTags/AddTags.js";
6
5
  import { LimitedTags } from "./components/LimitedTags/LimitedTags.js";
6
+ import { Container, Title, TagsWrapper, SelectedTags, TagOverflow } from "./Tags.styles.js";
7
7
  const Tags = ({
8
8
  data = [],
9
9
  tagShape,
@@ -19,7 +19,7 @@ export declare const LimitedTag: import('styled-components').StyledComponent<imp
19
19
  asPill?: boolean;
20
20
  dashed?: boolean;
21
21
  tooltipProps?: import('@synerise/ds-tooltip').TooltipProps;
22
- } & Omit<import('react').HTMLAttributes<HTMLDivElement>, "image" | "className" | "id" | "color" | "onClick" | "name" | "textColor" | "shape" | "removable" | "disabled" | "onRemove" | "prefixel" | "suffixel" | "texts" | "asPill" | "dashed" | "tooltipProps"> & import('@synerise/ds-utils').DataAttributes & import('react').RefAttributes<HTMLDivElement>>, any, {}, never>;
22
+ } & Omit<import('react').HTMLAttributes<HTMLDivElement>, "className" | "id" | "color" | "onClick" | "name" | "textColor" | "image" | "shape" | "removable" | "disabled" | "onRemove" | "prefixel" | "suffixel" | "texts" | "asPill" | "dashed" | "tooltipProps"> & import('@synerise/ds-utils').DataAttributes & import('react').RefAttributes<HTMLDivElement>>, any, {}, never>;
23
23
  export declare const TagsWrapper: import('styled-components').StyledComponent<"div", any, {}, never>;
24
24
  export declare const Title: import('styled-components').StyledComponent<"div", any, {
25
25
  shape?: TagShape;
@@ -45,7 +45,7 @@ const AddTags = ({
45
45
  const emptyPool = selectablePool && selectablePool.length === 0;
46
46
  const isCreatable = creatable && !isExactMatchFound && searchQuery;
47
47
  const isSeparated = !emptyPool;
48
- const noTagsContentLabel = !!notSelectedList?.length && !!searchQuery ? texts?.noResultsLabel : texts?.dropdownNoTags;
48
+ const noTagsContentLabel = notSelectedList?.length && searchQuery ? texts?.noResultsLabel : texts?.dropdownNoTags;
49
49
  useEffect(() => {
50
50
  if (isTagAddDropdownOpen) {
51
51
  setTimeout(() => searchRef.current?.focus(), 500);
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- export { default } from './Tags';
2
- export * as TagsStyles from './Tags.styles';
3
- export type { TagsProps, ActionTaken, ExtendedTagProps } from './Tags.types';
4
- export { AddTags, type AddTagsProps } from './components/AddTags/AddTags';
5
1
  /**
6
2
  * @deprecated import directly from @synerise/ds-tag
7
3
  */
8
- export { default as Tag, TagShape } from '@synerise/ds-tag';
4
+ export type { TagProps, TagTexts } from '@synerise/ds-tag';
9
5
  /**
10
6
  * @deprecated import directly from @synerise/ds-tag
11
7
  */
12
- export type { TagProps, TagTexts } from '@synerise/ds-tag';
8
+ export { default as Tag, TagShape } from '@synerise/ds-tag';
9
+ export { AddTags, type AddTagsProps } from './components/AddTags/AddTags';
10
+ export { default } from './Tags';
11
+ export * as TagsStyles from './Tags.styles';
12
+ export type { ActionTaken, ExtendedTagProps, TagsProps } from './Tags.types';
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import { default as default2 } from "./Tags.js";
2
- import * as Tags_styles from "./Tags.styles.js";
1
+ import { default as default2, TagShape } from "@synerise/ds-tag";
3
2
  import { AddTags } from "./components/AddTags/AddTags.js";
4
- import { default as default3, TagShape } from "@synerise/ds-tag";
3
+ import { default as default3 } from "./Tags.js";
4
+ import * as Tags_styles from "./Tags.styles.js";
5
5
  export {
6
6
  AddTags,
7
- default3 as Tag,
7
+ default2 as Tag,
8
8
  TagShape,
9
9
  Tags_styles as TagsStyles,
10
- default2 as default
10
+ default3 as default
11
11
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-tags",
3
- "version": "2.0.6",
3
+ "version": "2.0.8",
4
4
  "description": "Tags UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -42,16 +42,16 @@
42
42
  ],
43
43
  "types": "dist/index.d.ts",
44
44
  "dependencies": {
45
- "@synerise/ds-button": "^2.0.3",
46
- "@synerise/ds-dropdown": "^2.1.0",
47
- "@synerise/ds-icon": "^2.1.1",
48
- "@synerise/ds-information-card": "^2.0.6",
49
- "@synerise/ds-result": "^2.0.3",
50
- "@synerise/ds-scrollbar": "^2.0.2",
51
- "@synerise/ds-search-bar": "^2.0.4",
52
- "@synerise/ds-tag": "^2.0.3",
53
- "@synerise/ds-tooltip": "^2.0.3",
54
- "@synerise/ds-utils": "^2.1.0"
45
+ "@synerise/ds-button": "^2.1.0",
46
+ "@synerise/ds-dropdown": "^2.1.2",
47
+ "@synerise/ds-icon": "^2.1.3",
48
+ "@synerise/ds-information-card": "^2.0.8",
49
+ "@synerise/ds-result": "^2.0.5",
50
+ "@synerise/ds-scrollbar": "^2.0.4",
51
+ "@synerise/ds-search-bar": "^2.0.6",
52
+ "@synerise/ds-tag": "^2.0.5",
53
+ "@synerise/ds-tooltip": "^2.0.5",
54
+ "@synerise/ds-utils": "^2.2.0"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@testing-library/user-event": "^14"
@@ -62,5 +62,5 @@
62
62
  "styled-components": "^5.3.3",
63
63
  "vitest": "4"
64
64
  },
65
- "gitHead": "71f08fdaba8e7b80731e29a03883dc6a33f2b9db"
65
+ "gitHead": "5e795fa4fd23f6b07277edb517a84bb9b5b6d256"
66
66
  }