@synerise/ds-short-cuts 1.0.40 → 1.0.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 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.0.41](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@1.0.40...@synerise/ds-short-cuts@1.0.41) (2026-03-20)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-short-cuts
9
+
6
10
  ## [1.0.40](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@1.0.39...@synerise/ds-short-cuts@1.0.40) (2026-03-09)
7
11
 
8
12
  **Note:** Version bump only for package @synerise/ds-short-cuts
package/README.md CHANGED
@@ -28,9 +28,10 @@ import ShortCuts from '@synerise/ds-short-cuts'
28
28
 
29
29
  ## API
30
30
 
31
- | Property | Description | Type | Default |
32
- | size | sizes of short cut | `S` , `L` | `L` |
33
- | children | content to display | ReactNode | - |
34
- | color | type of colors | string | - |
35
- | icon | icon to display | ReactNode | - |
36
- | autoWidth | auto width for more text | boolean | `false` |
31
+ | Property | Description | Type | Default |
32
+ | --------- | ---------------------------------------------------------- | ---------------------- | ------- |
33
+ | size | Size of the shortcut badge | `'S'` \| `'L'` | `L` |
34
+ | color | Color variant | `'light'` \| `'dark'` | - |
35
+ | children | Text label to display (mutually exclusive with `icon`) | ReactNode | - |
36
+ | icon | Icon to display (mutually exclusive with `children`) | ReactNode | - |
37
+ | autoWidth | When true, width is `auto`; when false, width equals height | boolean | `false` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-short-cuts",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "ShortCuts UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -35,15 +35,15 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-icon": "^1.14.1",
39
- "@synerise/ds-typography": "^1.1.11"
38
+ "@synerise/ds-icon": "^1.15.0",
39
+ "@synerise/ds-typography": "^1.1.12"
40
40
  },
41
41
  "devDependencies": {
42
- "@synerise/ds-utils": "^1.6.0"
42
+ "@synerise/ds-utils": "^1.7.0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@synerise/ds-core": "*",
46
46
  "react": ">=16.9.0 <= 18.3.1"
47
47
  },
48
- "gitHead": "8dfafc5d7278f09d430f1e7499782d05c76b47c0"
48
+ "gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
49
49
  }