@synerise/ds-short-cuts 1.0.11 → 1.0.13
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 +13 -106
- package/README.md +8 -6
- package/dist/ShortCuts.d.ts +1 -1
- package/dist/ShortCuts.types.d.ts +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.
|
|
6
|
+
## [1.0.13](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@1.0.12...@synerise/ds-short-cuts@1.0.13) (2025-07-01)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
## [1.0.
|
|
14
|
+
## [1.0.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@1.0.11...@synerise/ds-short-cuts@1.0.12) (2025-06-26)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
17
17
|
|
|
@@ -19,7 +19,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
## [1.0.
|
|
22
|
+
## [1.0.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@1.0.10...@synerise/ds-short-cuts@1.0.11) (2025-06-24)
|
|
23
23
|
|
|
24
24
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
25
25
|
|
|
@@ -27,213 +27,120 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
## [1.0.
|
|
30
|
+
## [1.0.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@1.0.9...@synerise/ds-short-cuts@1.0.10) (2025-06-05)
|
|
31
31
|
|
|
32
32
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
33
33
|
|
|
34
|
+
## [1.0.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@1.0.8...@synerise/ds-short-cuts@1.0.9) (2025-05-26)
|
|
34
35
|
|
|
36
|
+
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
35
37
|
|
|
38
|
+
## [1.0.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@1.0.7...@synerise/ds-short-cuts@1.0.8) (2025-05-19)
|
|
36
39
|
|
|
40
|
+
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
37
41
|
|
|
38
42
|
## [1.0.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@1.0.6...@synerise/ds-short-cuts@1.0.7) (2025-05-07)
|
|
39
43
|
|
|
40
44
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
41
45
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
46
|
## [1.0.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@1.0.5...@synerise/ds-short-cuts@1.0.6) (2025-04-24)
|
|
47
47
|
|
|
48
48
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
50
|
## [1.0.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@1.0.4...@synerise/ds-short-cuts@1.0.5) (2025-04-16)
|
|
55
51
|
|
|
56
52
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
57
53
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
54
|
## [1.0.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@1.0.3...@synerise/ds-short-cuts@1.0.4) (2025-04-02)
|
|
63
55
|
|
|
64
56
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
65
57
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
58
|
## [1.0.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@1.0.2...@synerise/ds-short-cuts@1.0.3) (2025-03-31)
|
|
71
59
|
|
|
72
60
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
73
61
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
62
|
## [1.0.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@1.0.1...@synerise/ds-short-cuts@1.0.2) (2025-03-26)
|
|
79
63
|
|
|
80
64
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
81
65
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
66
|
## [1.0.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@1.0.0...@synerise/ds-short-cuts@1.0.1) (2025-03-18)
|
|
87
67
|
|
|
88
68
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
89
69
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
70
|
## [0.4.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@0.4.6...@synerise/ds-short-cuts@0.4.7) (2025-03-10)
|
|
95
71
|
|
|
96
72
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
97
73
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
74
|
## [0.4.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@0.4.5...@synerise/ds-short-cuts@0.4.6) (2025-03-04)
|
|
103
75
|
|
|
104
76
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
105
77
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
78
|
## [0.4.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@0.4.4...@synerise/ds-short-cuts@0.4.5) (2025-02-27)
|
|
111
79
|
|
|
112
80
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
113
81
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
82
|
## [0.4.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@0.4.3...@synerise/ds-short-cuts@0.4.4) (2025-02-18)
|
|
119
83
|
|
|
120
84
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
121
85
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
86
|
## [0.4.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@0.4.2...@synerise/ds-short-cuts@0.4.3) (2025-02-17)
|
|
127
87
|
|
|
128
88
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
129
89
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
90
|
## [0.4.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@0.4.1...@synerise/ds-short-cuts@0.4.2) (2025-02-14)
|
|
135
91
|
|
|
136
92
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
137
93
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
94
|
## [0.4.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@0.4.0...@synerise/ds-short-cuts@0.4.1) (2025-02-14)
|
|
143
95
|
|
|
144
96
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
145
97
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
98
|
# [0.4.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@0.3.0...@synerise/ds-short-cuts@0.4.0) (2025-01-29)
|
|
151
99
|
|
|
152
|
-
|
|
153
100
|
### Features
|
|
154
101
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
102
|
+
- antd@4.24 react@18 ([d97a667](https://github.com/Synerise/synerise-design/commit/d97a667b1f33aed3177e1851de3b6f60be2d46a6))
|
|
160
103
|
|
|
161
104
|
# [0.3.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@0.2.2...@synerise/ds-short-cuts@0.3.0) (2025-01-21)
|
|
162
105
|
|
|
163
|
-
|
|
164
106
|
### Features
|
|
165
107
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
108
|
+
- **short-cuts:** adjust to designs changes ([f68f9a6](https://github.com/Synerise/synerise-design/commit/f68f9a6e8ff4b1591631691afc7bc3298b4e1049))
|
|
171
109
|
|
|
172
110
|
## [0.2.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@0.2.1...@synerise/ds-short-cuts@0.2.2) (2025-01-15)
|
|
173
111
|
|
|
174
112
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
175
113
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
114
|
## [0.2.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@0.2.0...@synerise/ds-short-cuts@0.2.1) (2024-12-16)
|
|
181
115
|
|
|
182
116
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
183
117
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
118
|
# [0.2.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@0.1.4...@synerise/ds-short-cuts@0.2.0) (2024-12-04)
|
|
189
119
|
|
|
190
|
-
|
|
191
120
|
### Features
|
|
192
121
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
122
|
+
- **banner:** new component ([881a411](https://github.com/Synerise/synerise-design/commit/881a41113241463b940eb9b2a6bde9ab10c143a4))
|
|
198
123
|
|
|
199
124
|
## [0.1.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@0.1.3...@synerise/ds-short-cuts@0.1.4) (2024-11-29)
|
|
200
125
|
|
|
201
126
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
202
127
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
128
|
## [0.1.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@0.1.2...@synerise/ds-short-cuts@0.1.3) (2024-11-28)
|
|
208
129
|
|
|
209
130
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
210
131
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
132
|
## [0.1.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@0.1.1...@synerise/ds-short-cuts@0.1.2) (2024-11-21)
|
|
216
133
|
|
|
217
|
-
|
|
218
134
|
### Bug Fixes
|
|
219
135
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
136
|
+
- **short-cuts:** fixes to short-cuts ([ee67cb5](https://github.com/Synerise/synerise-design/commit/ee67cb5f1224bba613cc7469f7afa6a4a0f09d75))
|
|
225
137
|
|
|
226
138
|
## [0.1.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@0.1.0...@synerise/ds-short-cuts@0.1.1) (2024-11-12)
|
|
227
139
|
|
|
228
140
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
229
141
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
142
|
# 0.1.0 (2024-11-12)
|
|
235
143
|
|
|
236
|
-
|
|
237
144
|
### Features
|
|
238
145
|
|
|
239
|
-
|
|
146
|
+
- **short-cuts:** new component short-cuts ([ed8a6d6](https://github.com/Synerise/synerise-design/commit/ed8a6d6570c9a8c8eaf9f216f2df256b9a162b34))
|
package/README.md
CHANGED
|
@@ -6,6 +6,7 @@ title: ShortCuts
|
|
|
6
6
|
ShortCuts UI Component
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
|
+
|
|
9
10
|
```
|
|
10
11
|
npm i @synerise/ds-short-cuts
|
|
11
12
|
or
|
|
@@ -13,6 +14,7 @@ yarn add @synerise/ds-short-cuts
|
|
|
13
14
|
```
|
|
14
15
|
|
|
15
16
|
## Usage
|
|
17
|
+
|
|
16
18
|
```
|
|
17
19
|
import ShortCuts from '@synerise/ds-short-cuts'
|
|
18
20
|
|
|
@@ -26,9 +28,9 @@ import ShortCuts from '@synerise/ds-short-cuts'
|
|
|
26
28
|
|
|
27
29
|
## API
|
|
28
30
|
|
|
29
|
-
| Property
|
|
30
|
-
| size
|
|
31
|
-
| children
|
|
32
|
-
| color
|
|
33
|
-
| icon
|
|
34
|
-
| autoWidth
|
|
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` |
|
package/dist/ShortCuts.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ShortCutsProps } from './ShortCuts.types';
|
|
2
|
+
import { type ShortCutsProps } from './ShortCuts.types';
|
|
3
3
|
declare const ShortCuts: ({ size, children, color, icon, autoWidth, ...htmlAttributes }: ShortCutsProps) => React.JSX.Element;
|
|
4
4
|
export default ShortCuts;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ExactlyOne, WithHTMLAttributes } from '@synerise/ds-utils';
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type ExactlyOne, type WithHTMLAttributes } from '@synerise/ds-utils';
|
|
3
3
|
export type ShortCutsProps = WithHTMLAttributes<HTMLDivElement, {
|
|
4
4
|
size?: 'S' | 'L';
|
|
5
5
|
color?: 'light' | 'dark';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-short-cuts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "ShortCuts UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-icon": "^1.5.
|
|
38
|
-
"@synerise/ds-typography": "^1.0.
|
|
37
|
+
"@synerise/ds-icon": "^1.5.4",
|
|
38
|
+
"@synerise/ds-typography": "^1.0.13"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@synerise/ds-core": "*",
|
|
42
42
|
"react": ">=16.9.0 <= 18.3.1"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "4512641033ba3581a3df208143c547fcfed45895"
|
|
45
45
|
}
|