@synerise/ds-short-cuts 1.0.12 → 1.0.14
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 +14 -107
- 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.14](https://github.com/Synerise/synerise-design/compare/@synerise/ds-short-cuts@1.0.13...@synerise/ds-short-cuts@1.0.14) (2025-07-08)
|
|
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.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)
|
|
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.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)
|
|
23
23
|
|
|
24
24
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
25
25
|
|
|
@@ -27,7 +27,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
## [1.0.
|
|
30
|
+
## [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)
|
|
31
31
|
|
|
32
32
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
33
33
|
|
|
@@ -35,213 +35,120 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
## [1.0.
|
|
38
|
+
## [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)
|
|
39
39
|
|
|
40
40
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
41
41
|
|
|
42
|
+
## [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)
|
|
42
43
|
|
|
44
|
+
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
43
45
|
|
|
46
|
+
## [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)
|
|
44
47
|
|
|
48
|
+
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
45
49
|
|
|
46
50
|
## [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)
|
|
47
51
|
|
|
48
52
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
49
53
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
54
|
## [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)
|
|
55
55
|
|
|
56
56
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
58
|
## [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)
|
|
63
59
|
|
|
64
60
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
65
61
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
62
|
## [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)
|
|
71
63
|
|
|
72
64
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
73
65
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
66
|
## [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)
|
|
79
67
|
|
|
80
68
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
81
69
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
70
|
## [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)
|
|
87
71
|
|
|
88
72
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
89
73
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
74
|
## [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)
|
|
95
75
|
|
|
96
76
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
97
77
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
78
|
## [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)
|
|
103
79
|
|
|
104
80
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
105
81
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
82
|
## [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)
|
|
111
83
|
|
|
112
84
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
113
85
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
86
|
## [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)
|
|
119
87
|
|
|
120
88
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
121
89
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
90
|
## [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)
|
|
127
91
|
|
|
128
92
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
129
93
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
94
|
## [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)
|
|
135
95
|
|
|
136
96
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
137
97
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
98
|
## [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)
|
|
143
99
|
|
|
144
100
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
145
101
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
102
|
## [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)
|
|
151
103
|
|
|
152
104
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
153
105
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
106
|
# [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)
|
|
159
107
|
|
|
160
|
-
|
|
161
108
|
### Features
|
|
162
109
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
110
|
+
- antd@4.24 react@18 ([d97a667](https://github.com/Synerise/synerise-design/commit/d97a667b1f33aed3177e1851de3b6f60be2d46a6))
|
|
168
111
|
|
|
169
112
|
# [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)
|
|
170
113
|
|
|
171
|
-
|
|
172
114
|
### Features
|
|
173
115
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
116
|
+
- **short-cuts:** adjust to designs changes ([f68f9a6](https://github.com/Synerise/synerise-design/commit/f68f9a6e8ff4b1591631691afc7bc3298b4e1049))
|
|
179
117
|
|
|
180
118
|
## [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)
|
|
181
119
|
|
|
182
120
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
183
121
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
122
|
## [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)
|
|
189
123
|
|
|
190
124
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
191
125
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
126
|
# [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)
|
|
197
127
|
|
|
198
|
-
|
|
199
128
|
### Features
|
|
200
129
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
130
|
+
- **banner:** new component ([881a411](https://github.com/Synerise/synerise-design/commit/881a41113241463b940eb9b2a6bde9ab10c143a4))
|
|
206
131
|
|
|
207
132
|
## [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)
|
|
208
133
|
|
|
209
134
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
210
135
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
136
|
## [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)
|
|
216
137
|
|
|
217
138
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
218
139
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
140
|
## [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)
|
|
224
141
|
|
|
225
|
-
|
|
226
142
|
### Bug Fixes
|
|
227
143
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
144
|
+
- **short-cuts:** fixes to short-cuts ([ee67cb5](https://github.com/Synerise/synerise-design/commit/ee67cb5f1224bba613cc7469f7afa6a4a0f09d75))
|
|
233
145
|
|
|
234
146
|
## [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)
|
|
235
147
|
|
|
236
148
|
**Note:** Version bump only for package @synerise/ds-short-cuts
|
|
237
149
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
150
|
# 0.1.0 (2024-11-12)
|
|
243
151
|
|
|
244
|
-
|
|
245
152
|
### Features
|
|
246
153
|
|
|
247
|
-
|
|
154
|
+
- **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.14",
|
|
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.14"
|
|
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": "8db1900bf3f7b0782c834ff82f628199530cd934"
|
|
45
45
|
}
|