@synerise/ds-description 1.2.7 → 1.3.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +5 -4
  3. package/package.json +11 -8
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
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.3.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.3.0...@synerise/ds-description@1.3.1) (2026-03-20)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-description
9
+
10
+ # [1.3.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.2.7...@synerise/ds-description@1.3.0) (2026-03-09)
11
+
12
+ ### Features
13
+
14
+ - **description:** change to vitest ([a7f3696](https://github.com/Synerise/synerise-design/commit/a7f3696c31fe283d8a2544d5a35b541cc0d40f8a))
15
+
6
16
  ## [1.2.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-description@1.2.6...@synerise/ds-description@1.2.7) (2026-02-23)
7
17
 
8
18
  **Note:** Version bump only for package @synerise/ds-description
package/README.md CHANGED
@@ -19,7 +19,7 @@ yarn add @synerise/ds-description
19
19
  import Description, {DescriptionRow} from '@synerise/ds-description';
20
20
 
21
21
  <Description type='inline'>
22
- <DescriptionRow label="Name" value="John Kowalski" prefixEl="Mr" suffix="<Avatar>JK</Avatar>" />
22
+ <DescriptionRow label="Name" value="John Kowalski" prefixEl="Mr" suffixEl="<Avatar>JK</Avatar>" />
23
23
  </Description>
24
24
 
25
25
  ```
@@ -34,17 +34,18 @@ import Description, {DescriptionRow} from '@synerise/ds-description';
34
34
 
35
35
  | Property | Description | Type | Default |
36
36
  | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- | ------- |
37
- | type | Type of description: `table` - description will looks like vertical table, `inline` - value will aligns to label, `corner` - label and value have space-between them | `table`/ `inline`/ `corner` | `table` |
37
+ | type | Type of description: `table` - description will looks like vertical table, `inline` - value will aligns to label, `corner` - label and value have space-between them | `table`/ `inline`/ `corner`/ `numbered-list` | `table` |
38
38
  | ratio | Define size of column if type='table' | `50-50`/ `25-75` | `50-50` |
39
39
 
40
40
  ### DescriptionRow
41
41
 
42
42
  | Property | Description | Type | Default |
43
43
  | --------- | ------------------------------------------------------ | ------------------------ | ------- |
44
- | label | Label of description row | string | - |
44
+ | label | Label of description row | string / React.ReactNode | - |
45
45
  | labelIcon | Icon visible before row label | React.ReactNode | - |
46
46
  | value | Value of description row | string / React.ReactNode | - |
47
47
  | prefixEl | Element rendered before value | string / React.ReactNode | - |
48
48
  | suffixEl | Element rendered after value | string / React.ReactNode | - |
49
49
  | copyValue | Whether to render copy icon on the end of row | string | - |
50
- | starType | Whether to render star before value, and type of start | `active`, `inactive` | - |
50
+ | starType | Whether to render star before value, and type of star | `active`, `inactive` | - |
51
+ | texts | Override tooltip strings for copy icon (`copyTooltip`, `copiedTooltip`) | `RowTexts` | - |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-description",
3
- "version": "1.2.7",
3
+ "version": "1.3.1",
4
4
  "description": "Description UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -23,8 +23,8 @@
23
23
  "defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
24
24
  "pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
25
25
  "prepublish": "pnpm run build",
26
- "test": "jest",
27
- "test:watch": "pnpm run test -- --watchAll",
26
+ "test": "vitest run",
27
+ "test:watch": "vitest",
28
28
  "types": "tsc --noEmit",
29
29
  "check:circular-dependencies": "madge --circular --extensions ts,tsx,js,jsx --ts-config tsconfig.json src/ --exclude '/dist/'",
30
30
  "upgrade:ds": "ncu -f \"@synerise/ds-*\" -u"
@@ -35,12 +35,15 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-copy-icon": "^1.1.7",
39
- "@synerise/ds-icon": "^1.14.1",
40
- "@synerise/ds-tooltip": "^1.4.7",
41
- "@synerise/ds-utils": "^1.6.0",
38
+ "@synerise/ds-copy-icon": "^1.2.1",
39
+ "@synerise/ds-icon": "^1.15.0",
40
+ "@synerise/ds-tooltip": "^1.4.9",
41
+ "@synerise/ds-utils": "^1.7.0",
42
42
  "classnames": "^2.5.1"
43
43
  },
44
+ "devDependencies": {
45
+ "vitest": "4"
46
+ },
44
47
  "peerDependencies": {
45
48
  "@synerise/ds-core": "*",
46
49
  "copy-to-clipboard": "^3.3.1",
@@ -48,5 +51,5 @@
48
51
  "react-intl": ">=3.12.0 <= 6.8",
49
52
  "styled-components": "^5.3.3"
50
53
  },
51
- "gitHead": "2997f77d657c1aed2fc39901d3e0b8f88b05cc53"
54
+ "gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
52
55
  }