@synerise/ds-cruds 1.1.0 → 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.
- package/CHANGELOG.md +4 -0
- package/README.md +24 -18
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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
|
+
|
|
6
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)
|
|
7
11
|
|
|
8
12
|
### Features
|
package/README.md
CHANGED
|
@@ -38,8 +38,8 @@ import Cruds from '@synerise/ds-cruds'
|
|
|
38
38
|
## Usage SingleAction
|
|
39
39
|
|
|
40
40
|
```
|
|
41
|
-
import
|
|
42
|
-
<
|
|
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
|
|
57
|
-
|
|
|
58
|
-
| addTooltip
|
|
59
|
-
| duplicateTooltip
|
|
60
|
-
| deleteTooltip
|
|
61
|
-
| editTooltip
|
|
62
|
-
| moveTooltip
|
|
63
|
-
|
|
|
64
|
-
|
|
|
65
|
-
|
|
|
66
|
-
|
|
|
67
|
-
|
|
|
68
|
-
|
|
|
69
|
-
|
|
|
70
|
-
|
|
|
71
|
-
|
|
|
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.1.
|
|
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": "vitest",
|
|
27
|
-
"test:watch": "
|
|
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,9 +35,9 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-icon": "^1.
|
|
39
|
-
"@synerise/ds-tooltip": "^1.4.
|
|
40
|
-
"@synerise/ds-utils": "^1.
|
|
38
|
+
"@synerise/ds-icon": "^1.15.0",
|
|
39
|
+
"@synerise/ds-tooltip": "^1.4.9",
|
|
40
|
+
"@synerise/ds-utils": "^1.7.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"vitest": "4"
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"react": ">=16.9.0 <= 18.3.1",
|
|
48
48
|
"styled-components": "^5.3.3"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
51
51
|
}
|