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