@synerise/ds-card-select 1.1.39 → 1.1.41
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 +8 -0
- package/README.md +5 -4
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.41](https://github.com/Synerise/synerise-design/compare/@synerise/ds-card-select@1.1.40...@synerise/ds-card-select@1.1.41) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-card-select
|
|
9
|
+
|
|
10
|
+
## [1.1.40](https://github.com/Synerise/synerise-design/compare/@synerise/ds-card-select@1.1.39...@synerise/ds-card-select@1.1.40) (2026-03-09)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-card-select
|
|
13
|
+
|
|
6
14
|
## [1.1.39](https://github.com/Synerise/synerise-design/compare/@synerise/ds-card-select@1.1.38...@synerise/ds-card-select@1.1.39) (2026-02-23)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-card-select
|
package/README.md
CHANGED
|
@@ -53,16 +53,17 @@ yarn add @synerise/ds-card-select
|
|
|
53
53
|
| size | The size of the card | `small` / `medium` | `medium` |
|
|
54
54
|
| raised | Defines border style | boolean | - |
|
|
55
55
|
| icon | Defines the icon | ReactNode | - |
|
|
56
|
-
| iconSize | Overwrites the predefined (
|
|
56
|
+
| iconSize | Overwrites the predefined (96px for `medium` size, 48px for `small` size) size of the icon | number | - |
|
|
57
57
|
| title | Defines the title of the card | `ReactNode` | - |
|
|
58
58
|
| description | Defines the description of the card (not available for `small` size) | `ReactNode` | - |
|
|
59
59
|
| value | Defines if the card is selected by a user | boolean | `false` |
|
|
60
60
|
| tickVisible | Defines the display of the checkbox | boolean | `true` |
|
|
61
|
-
| disabled | Defines if the card is disabled (`onChange`
|
|
61
|
+
| disabled | Defines if the card is disabled (pointer-events disabled, `onChange` will not fire) | boolean | - |
|
|
62
62
|
| customTickVisible | Defines if the checkbox is custom | boolean | - |
|
|
63
63
|
| customTickVisibleComponent | Custom checkbox component | ReactNode | - |
|
|
64
64
|
| stretchToFit | Aligns the height of each card | boolean | - |
|
|
65
|
-
| theme |
|
|
65
|
+
| theme | **@deprecated** — injected by styled-components `withTheme`, do not pass manually | object | - |
|
|
66
|
+
| error | Shows a red outline on the card | boolean | - |
|
|
66
67
|
| elementsPosition | Defines the position of the elements on the card | `left` / `right` / `center` | `center` |
|
|
67
68
|
|
|
68
69
|
| tagProps | Defines a ribbon-style tag | `TagProps` | - |
|
|
@@ -82,7 +83,7 @@ Omit<TagProps, 'shape' | 'removable' | 'asPill' | 'onRemove' | 'image' | 'texts'
|
|
|
82
83
|
| Property | Description | Type | Default |
|
|
83
84
|
| --------- | --------------------------------------------------------------------------------------------- | ---------------------------------------- | --------------------------------------- |
|
|
84
85
|
| className | The name of the container | string | - |
|
|
85
|
-
| columns | Defines the number of columns.
|
|
86
|
+
| columns | Defines the number of columns. Set to null to render all items in a single row | number / null | `2` |
|
|
86
87
|
| children | Deprecated. Use items prop instead | ReactNode | - |
|
|
87
88
|
| items | Array of CardSelect props to render CardSelect child elements | CardSelectProps & { key: string / numer} | - |
|
|
88
89
|
| width | Defines the size of the gap between items. Deprecated, use size prop | `small` / `large` | 16px for `small`, 24px for `large` size |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-card-select",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.41",
|
|
4
4
|
"description": "Card-Select 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,10 +35,10 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-icon": "^1.
|
|
39
|
-
"@synerise/ds-tag": "^1.4.
|
|
40
|
-
"@synerise/ds-tooltip": "^1.4.
|
|
41
|
-
"@synerise/ds-utils": "^1.
|
|
38
|
+
"@synerise/ds-icon": "^1.15.0",
|
|
39
|
+
"@synerise/ds-tag": "^1.4.17",
|
|
40
|
+
"@synerise/ds-tooltip": "^1.4.9",
|
|
41
|
+
"@synerise/ds-utils": "^1.7.0",
|
|
42
42
|
"styled-is": "^1.3.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"styled-components": "^5.3.3",
|
|
49
49
|
"vitest": "4"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
52
52
|
}
|