@synerise/ds-cruds 1.0.37 → 1.1.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 +24 -18
  3. package/package.json +10 -7
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.1.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-cruds@1.1.0...@synerise/ds-cruds@1.1.1) (2026-03-20)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-cruds
9
+
10
+ # [1.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-cruds@1.0.37...@synerise/ds-cruds@1.1.0) (2026-03-09)
11
+
12
+ ### Features
13
+
14
+ - **cruds:** change to vitest ([3fdde33](https://github.com/Synerise/synerise-design/commit/3fdde333d032f8740c4aba666ca45e8e82dc8b2b))
15
+
6
16
  ## [1.0.37](https://github.com/Synerise/synerise-design/compare/@synerise/ds-cruds@1.0.36...@synerise/ds-cruds@1.0.37) (2026-02-23)
7
17
 
8
18
  **Note:** Version bump only for package @synerise/ds-cruds
package/README.md CHANGED
@@ -38,8 +38,8 @@ import Cruds from '@synerise/ds-cruds'
38
38
  ## Usage SingleAction
39
39
 
40
40
  ```
41
- import SingleAction from '@synerise/ds-cruds/dist/SingleAction'
42
- <SingleAction
41
+ import Cruds from '@synerise/ds-cruds'
42
+ <Cruds.CustomAction
43
43
  className="settings"
44
44
  title={'Settings'}
45
45
  icon={<Settings2S />}
@@ -53,19 +53,25 @@ import SingleAction from '@synerise/ds-cruds/dist/SingleAction'
53
53
 
54
54
  ## API
55
55
 
56
- | Property | Description | Type | Default |
57
- | ---------------- | ---------------------------------------------------------------------------- | --------------------------------- | ------- |
58
- | addTooltip | Tooltip of the add button | React.ReactNode / string | - |
59
- | duplicateTooltip | Tooltip of the duplicate button | React.ReactNode / string | - |
60
- | deleteTooltip | Tooltip of the delete button (which has a different icon than remove button) | React.ReactNode / string | - |
61
- | editTooltip | Tooltip of the edit button | React.ReactNode / string | - |
62
- | moveTooltip | Tooltip of the move button | React.ReactNode / string | - |
63
- | removeTooltip | Tooltip of the remove button | React.ReactNode / string | - |
64
- | previewTooltip | Tooltip of the preview button | React.ReactNode / string | - |
65
- | onAdd | Callback executed after clicking the add button. | (event: React.MouseEvent) => void | - |
66
- | onDuplicate | Callback executed after clicking the duplicate button. | (event: React.MouseEvent) => void | - |
67
- | onDelete | Callback executed after clicking the delete button. | (event: React.MouseEvent) => void | - |
68
- | onEdit | Callback executed after clicking the edit button. | (event: React.MouseEvent) => void | - |
69
- | onMove | Callback executed after clicking the move button. | (event: React.MouseEvent) => void | - |
70
- | onRemove | Callback executed after clicking the remove button. | (event: React.MouseEvent) => void | - |
71
- | onPreview | Callback executed after clicking the preview button. | (event: React.MouseEvent) => void | - |
56
+ | Property | Description | Type | Default |
57
+ | ----------------- | ---------------------------------------------------------------------------- | ---------------------------------- | ------- |
58
+ | addTooltip | Tooltip of the add button | React.ReactNode / string | - |
59
+ | duplicateTooltip | Tooltip of the duplicate button | React.ReactNode / string | - |
60
+ | deleteTooltip | Tooltip of the delete button (which has a different icon than remove button) | React.ReactNode / string | - |
61
+ | editTooltip | Tooltip of the edit button | React.ReactNode / string | - |
62
+ | moveTooltip | Tooltip of the move button | React.ReactNode / string | - |
63
+ | moveUpTooltip | Tooltip of the move-up button | React.ReactNode / string | - |
64
+ | moveDownTooltip | Tooltip of the move-down button | React.ReactNode / string | - |
65
+ | removeTooltip | Tooltip of the remove button | React.ReactNode / string | - |
66
+ | previewTooltip | Tooltip of the preview button | React.ReactNode / string | - |
67
+ | moveUpInactive | Disables the move-up button visually | boolean | - |
68
+ | moveDownInactive | Disables the move-down button visually | boolean | - |
69
+ | onAdd | Callback executed after clicking the add button. | (event?: React.MouseEvent) => void | - |
70
+ | onDuplicate | Callback executed after clicking the duplicate button. | (event?: React.MouseEvent) => void | - |
71
+ | onDelete | Callback executed after clicking the delete button. | (event?: React.MouseEvent) => void | - |
72
+ | onEdit | Callback executed after clicking the edit button. | (event?: React.MouseEvent) => void | - |
73
+ | onMove | Callback executed after clicking the move button. | (event?: React.MouseEvent) => void | - |
74
+ | onMoveUp | Callback executed after clicking the move-up button. | (event?: React.MouseEvent) => void | - |
75
+ | onMoveDown | Callback executed after clicking the move-down button. | (event?: React.MouseEvent) => void | - |
76
+ | onRemove | Callback executed after clicking the remove button. | (event?: React.MouseEvent) => void | - |
77
+ | onPreview | Callback executed after clicking the preview button. | () => void | - |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-cruds",
3
- "version": "1.0.37",
3
+ "version": "1.1.1",
4
4
  "description": "Cruds 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,14 +35,17 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-icon": "^1.14.1",
39
- "@synerise/ds-tooltip": "^1.4.7",
40
- "@synerise/ds-utils": "^1.6.0"
38
+ "@synerise/ds-icon": "^1.15.0",
39
+ "@synerise/ds-tooltip": "^1.4.9",
40
+ "@synerise/ds-utils": "^1.7.0"
41
+ },
42
+ "devDependencies": {
43
+ "vitest": "4"
41
44
  },
42
45
  "peerDependencies": {
43
46
  "@synerise/ds-core": "*",
44
47
  "react": ">=16.9.0 <= 18.3.1",
45
48
  "styled-components": "^5.3.3"
46
49
  },
47
- "gitHead": "2997f77d657c1aed2fc39901d3e0b8f88b05cc53"
50
+ "gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
48
51
  }