@synerise/ds-code-snippet 1.1.3 → 1.1.4
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 +22 -455
- package/README.md +20 -18
- package/dist/CodeSnippet.d.ts +1 -1
- package/dist/CodeSnippet.js +3 -3
- package/dist/CodeSnippet.types.d.ts +2 -2
- package/dist/CodeTypes/InlineCode/InlineCode.styles.js +0 -2
- package/dist/CodeTypes/MultiCode/MultiCode.d.ts +1 -1
- package/dist/CodeTypes/MultiCode/MultiCode.js +13 -9
- package/dist/CodeTypes/MultiCode/MultiCode.styles.js +2 -2
- package/dist/CodeTypes/SingleCode/SingleCode.js +2 -2
- package/dist/CopyAction/CopyAction.d.ts +1 -1
- package/dist/CopyAction/CopyAction.js +1 -1
- package/dist/CopyAction/CopyAction.styles.js +0 -2
- package/dist/CopyAction/CopyAction.types.d.ts +1 -1
- package/dist/Highlight/Highlight.d.ts +1 -1
- package/dist/Highlight/Highlight.js +1 -1
- package/dist/Highlight/Highlight.styles.js +0 -2
- package/dist/Highlight/Highlight.types.d.ts +1 -1
- package/dist/index.d.ts +1 -2
- package/package.json +7 -7
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.1.
|
|
6
|
+
## [1.1.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@1.1.3...@synerise/ds-code-snippet@1.1.4) (2025-07-01)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
## [1.1.
|
|
14
|
+
## [1.1.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@1.1.2...@synerise/ds-code-snippet@1.1.3) (2025-06-26)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
17
17
|
|
|
@@ -19,7 +19,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
## [1.1.
|
|
22
|
+
## [1.1.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@1.1.1...@synerise/ds-code-snippet@1.1.2) (2025-06-24)
|
|
23
23
|
|
|
24
24
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
25
25
|
|
|
@@ -27,899 +27,466 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
### Features
|
|
34
|
-
|
|
35
|
-
* **code-snippet:** add hide expand and copy button props ([7db9ff1](https://github.com/Synerise/synerise-design/commit/7db9ff120215b057d8d8db0a8cc752a0ce8cf89a))
|
|
30
|
+
## [1.1.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@1.1.0...@synerise/ds-code-snippet@1.1.1) (2025-06-05)
|
|
36
31
|
|
|
32
|
+
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
37
33
|
|
|
34
|
+
# [1.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@1.0.9...@synerise/ds-code-snippet@1.1.0) (2025-06-03)
|
|
38
35
|
|
|
36
|
+
### Features
|
|
39
37
|
|
|
38
|
+
- **code-snippet:** add hide expand and copy button props ([7db9ff1](https://github.com/Synerise/synerise-design/commit/7db9ff120215b057d8d8db0a8cc752a0ce8cf89a))
|
|
40
39
|
|
|
41
40
|
## [1.0.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@1.0.8...@synerise/ds-code-snippet@1.0.9) (2025-05-26)
|
|
42
41
|
|
|
43
42
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
44
43
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
44
|
## [1.0.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@1.0.7...@synerise/ds-code-snippet@1.0.8) (2025-05-19)
|
|
50
45
|
|
|
51
46
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
52
47
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
48
|
## [1.0.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@1.0.6...@synerise/ds-code-snippet@1.0.7) (2025-05-07)
|
|
58
49
|
|
|
59
50
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
60
51
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
52
|
## [1.0.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@1.0.5...@synerise/ds-code-snippet@1.0.6) (2025-04-24)
|
|
66
53
|
|
|
67
54
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
68
55
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
56
|
## [1.0.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@1.0.4...@synerise/ds-code-snippet@1.0.5) (2025-04-16)
|
|
74
57
|
|
|
75
58
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
76
59
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
60
|
## [1.0.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@1.0.3...@synerise/ds-code-snippet@1.0.4) (2025-04-02)
|
|
82
61
|
|
|
83
62
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
84
63
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
64
|
## [1.0.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@1.0.2...@synerise/ds-code-snippet@1.0.3) (2025-03-31)
|
|
90
65
|
|
|
91
66
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
92
67
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
68
|
## [1.0.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@1.0.1...@synerise/ds-code-snippet@1.0.2) (2025-03-26)
|
|
98
69
|
|
|
99
70
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
100
71
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
72
|
## [1.0.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@1.0.0...@synerise/ds-code-snippet@1.0.1) (2025-03-18)
|
|
106
73
|
|
|
107
74
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
108
75
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
76
|
## [0.5.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.5.7...@synerise/ds-code-snippet@0.5.8) (2025-03-10)
|
|
114
77
|
|
|
115
78
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
116
79
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
80
|
## [0.5.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.5.6...@synerise/ds-code-snippet@0.5.7) (2025-03-04)
|
|
122
81
|
|
|
123
82
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
124
83
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
84
|
## [0.5.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.5.5...@synerise/ds-code-snippet@0.5.6) (2025-02-27)
|
|
130
85
|
|
|
131
86
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
132
87
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
88
|
## [0.5.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.5.4...@synerise/ds-code-snippet@0.5.5) (2025-02-18)
|
|
138
89
|
|
|
139
90
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
140
91
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
92
|
## [0.5.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.5.3...@synerise/ds-code-snippet@0.5.4) (2025-02-17)
|
|
146
93
|
|
|
147
94
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
148
95
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
96
|
## [0.5.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.5.2...@synerise/ds-code-snippet@0.5.3) (2025-02-14)
|
|
154
97
|
|
|
155
98
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
156
99
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
100
|
## [0.5.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.5.1...@synerise/ds-code-snippet@0.5.2) (2025-02-14)
|
|
162
101
|
|
|
163
102
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
164
103
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
104
|
## [0.5.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.5.0...@synerise/ds-code-snippet@0.5.1) (2025-02-07)
|
|
170
105
|
|
|
171
|
-
|
|
172
106
|
### Bug Fixes
|
|
173
107
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
108
|
+
- **code-snippet:** fixes to font family ([149d776](https://github.com/Synerise/synerise-design/commit/149d77688f2a9092a8600d57af03a3f494f755e8))
|
|
179
109
|
|
|
180
110
|
# [0.5.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.4.3...@synerise/ds-code-snippet@0.5.0) (2025-01-29)
|
|
181
111
|
|
|
182
|
-
|
|
183
112
|
### Features
|
|
184
113
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
114
|
+
- antd@4.24 react@18 ([d97a667](https://github.com/Synerise/synerise-design/commit/d97a667b1f33aed3177e1851de3b6f60be2d46a6))
|
|
190
115
|
|
|
191
116
|
## [0.4.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.4.2...@synerise/ds-code-snippet@0.4.3) (2025-01-21)
|
|
192
117
|
|
|
193
118
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
194
119
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
120
|
## [0.4.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.4.1...@synerise/ds-code-snippet@0.4.2) (2025-01-15)
|
|
200
121
|
|
|
201
122
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
202
123
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
124
|
## [0.4.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.4.0...@synerise/ds-code-snippet@0.4.1) (2024-12-16)
|
|
208
125
|
|
|
209
126
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
210
127
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
128
|
# [0.4.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.85...@synerise/ds-code-snippet@0.4.0) (2024-12-09)
|
|
216
129
|
|
|
217
|
-
|
|
218
130
|
### Features
|
|
219
131
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
132
|
+
- **code-snippet:** add new stories of code-snippet ([c450c37](https://github.com/Synerise/synerise-design/commit/c450c374620acd2b8619c506d868834287f4e769))
|
|
225
133
|
|
|
226
134
|
## [0.3.85](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.84...@synerise/ds-code-snippet@0.3.85) (2024-12-04)
|
|
227
135
|
|
|
228
136
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
229
137
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
138
|
## [0.3.84](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.83...@synerise/ds-code-snippet@0.3.84) (2024-11-29)
|
|
235
139
|
|
|
236
140
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
237
141
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
142
|
## [0.3.83](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.82...@synerise/ds-code-snippet@0.3.83) (2024-11-28)
|
|
243
143
|
|
|
244
144
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
245
145
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
146
|
## [0.3.82](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.81...@synerise/ds-code-snippet@0.3.82) (2024-11-21)
|
|
251
147
|
|
|
252
148
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
253
149
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
150
|
## [0.3.81](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.80...@synerise/ds-code-snippet@0.3.81) (2024-11-12)
|
|
259
151
|
|
|
260
152
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
261
153
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
154
|
## [0.3.80](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.79...@synerise/ds-code-snippet@0.3.80) (2024-11-12)
|
|
267
155
|
|
|
268
156
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
269
157
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
158
|
## [0.3.79](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.78...@synerise/ds-code-snippet@0.3.79) (2024-10-29)
|
|
275
159
|
|
|
276
160
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
277
161
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
162
|
## [0.3.78](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.77...@synerise/ds-code-snippet@0.3.78) (2024-10-28)
|
|
283
163
|
|
|
284
164
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
285
165
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
166
|
## [0.3.77](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.76...@synerise/ds-code-snippet@0.3.77) (2024-10-23)
|
|
291
167
|
|
|
292
168
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
293
169
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
170
|
## [0.3.76](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.75...@synerise/ds-code-snippet@0.3.76) (2024-10-01)
|
|
299
171
|
|
|
300
|
-
|
|
301
172
|
### Bug Fixes
|
|
302
173
|
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
174
|
+
- **code-snippet:** new button with prop renderCopyButton ([daf3803](https://github.com/Synerise/synerise-design/commit/daf38032b6754da5900b65c5401e955438c6452b))
|
|
308
175
|
|
|
309
176
|
## [0.3.75](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.74...@synerise/ds-code-snippet@0.3.75) (2024-09-26)
|
|
310
177
|
|
|
311
178
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
312
179
|
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
180
|
## [0.3.74](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.73...@synerise/ds-code-snippet@0.3.74) (2024-09-17)
|
|
318
181
|
|
|
319
182
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
320
183
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
184
|
## [0.3.73](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.72...@synerise/ds-code-snippet@0.3.73) (2024-09-13)
|
|
326
185
|
|
|
327
186
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
328
187
|
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
188
|
## [0.3.72](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.71...@synerise/ds-code-snippet@0.3.72) (2024-09-11)
|
|
334
189
|
|
|
335
190
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
336
191
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
192
|
## [0.3.71](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.70...@synerise/ds-code-snippet@0.3.71) (2024-09-03)
|
|
342
193
|
|
|
343
194
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
344
195
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
196
|
## [0.3.70](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.69...@synerise/ds-code-snippet@0.3.70) (2024-08-30)
|
|
350
197
|
|
|
351
198
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
352
199
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
200
|
## [0.3.69](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.68...@synerise/ds-code-snippet@0.3.69) (2024-08-27)
|
|
358
201
|
|
|
359
202
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
360
203
|
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
204
|
## [0.3.68](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.67...@synerise/ds-code-snippet@0.3.68) (2024-08-19)
|
|
366
205
|
|
|
367
206
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
368
207
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
208
|
## [0.3.67](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.66...@synerise/ds-code-snippet@0.3.67) (2024-08-06)
|
|
374
209
|
|
|
375
210
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
376
211
|
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
212
|
## [0.3.66](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.65...@synerise/ds-code-snippet@0.3.66) (2024-07-31)
|
|
382
213
|
|
|
383
214
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
384
215
|
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
216
|
## [0.3.65](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.64...@synerise/ds-code-snippet@0.3.65) (2024-07-26)
|
|
390
217
|
|
|
391
218
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
392
219
|
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
220
|
## [0.3.64](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.63...@synerise/ds-code-snippet@0.3.64) (2024-07-15)
|
|
398
221
|
|
|
399
222
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
400
223
|
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
224
|
## [0.3.63](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.62...@synerise/ds-code-snippet@0.3.63) (2024-07-05)
|
|
406
225
|
|
|
407
226
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
408
227
|
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
228
|
## [0.3.62](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.61...@synerise/ds-code-snippet@0.3.62) (2024-06-27)
|
|
414
229
|
|
|
415
230
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
416
231
|
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
232
|
## [0.3.61](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.60...@synerise/ds-code-snippet@0.3.61) (2024-06-21)
|
|
422
233
|
|
|
423
234
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
424
235
|
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
236
|
## [0.3.60](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.59...@synerise/ds-code-snippet@0.3.60) (2024-05-29)
|
|
430
237
|
|
|
431
238
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
432
239
|
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
240
|
## [0.3.59](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.58...@synerise/ds-code-snippet@0.3.59) (2024-05-16)
|
|
438
241
|
|
|
439
242
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
440
243
|
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
244
|
## [0.3.58](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.57...@synerise/ds-code-snippet@0.3.58) (2024-05-10)
|
|
446
245
|
|
|
447
246
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
448
247
|
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
248
|
## [0.3.57](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.56...@synerise/ds-code-snippet@0.3.57) (2024-05-08)
|
|
454
249
|
|
|
455
250
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
456
251
|
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
252
|
## [0.3.56](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.55...@synerise/ds-code-snippet@0.3.56) (2024-04-15)
|
|
462
253
|
|
|
463
254
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
464
255
|
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
256
|
## [0.3.55](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.54...@synerise/ds-code-snippet@0.3.55) (2024-04-05)
|
|
470
257
|
|
|
471
258
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
472
259
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
260
|
## [0.3.54](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.53...@synerise/ds-code-snippet@0.3.54) (2024-04-02)
|
|
478
261
|
|
|
479
262
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
480
263
|
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
264
|
## [0.3.53](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.52...@synerise/ds-code-snippet@0.3.53) (2024-03-29)
|
|
486
265
|
|
|
487
266
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
488
267
|
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
268
|
## [0.3.52](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.51...@synerise/ds-code-snippet@0.3.52) (2024-03-20)
|
|
494
269
|
|
|
495
270
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
496
271
|
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
272
|
## [0.3.51](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.50...@synerise/ds-code-snippet@0.3.51) (2024-03-05)
|
|
502
273
|
|
|
503
274
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
504
275
|
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
276
|
## [0.3.50](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.49...@synerise/ds-code-snippet@0.3.50) (2024-02-21)
|
|
510
277
|
|
|
511
278
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
512
279
|
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
280
|
## [0.3.49](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.48...@synerise/ds-code-snippet@0.3.49) (2024-02-19)
|
|
518
281
|
|
|
519
282
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
520
283
|
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
284
|
## [0.3.48](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.47...@synerise/ds-code-snippet@0.3.48) (2024-02-19)
|
|
526
285
|
|
|
527
286
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
528
287
|
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
288
|
## [0.3.47](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.46...@synerise/ds-code-snippet@0.3.47) (2024-01-24)
|
|
534
289
|
|
|
535
290
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
536
291
|
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
292
|
## [0.3.46](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.45...@synerise/ds-code-snippet@0.3.46) (2024-01-17)
|
|
542
293
|
|
|
543
294
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
544
295
|
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
296
|
## [0.3.45](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.44...@synerise/ds-code-snippet@0.3.45) (2024-01-15)
|
|
550
297
|
|
|
551
298
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
552
299
|
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
300
|
## [0.3.44](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.43...@synerise/ds-code-snippet@0.3.44) (2023-12-13)
|
|
558
301
|
|
|
559
302
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
560
303
|
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
304
|
## [0.3.43](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.42...@synerise/ds-code-snippet@0.3.43) (2023-12-11)
|
|
566
305
|
|
|
567
306
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
568
307
|
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
308
|
## [0.3.42](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.41...@synerise/ds-code-snippet@0.3.42) (2023-12-06)
|
|
574
309
|
|
|
575
310
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
576
311
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
312
|
## [0.3.41](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.40...@synerise/ds-code-snippet@0.3.41) (2023-11-16)
|
|
582
313
|
|
|
583
314
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
584
315
|
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
316
|
## [0.3.40](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.39...@synerise/ds-code-snippet@0.3.40) (2023-10-30)
|
|
590
317
|
|
|
591
318
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
592
319
|
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
320
|
## [0.3.39](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.38...@synerise/ds-code-snippet@0.3.39) (2023-10-19)
|
|
598
321
|
|
|
599
322
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
600
323
|
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
324
|
## [0.3.38](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.37...@synerise/ds-code-snippet@0.3.38) (2023-10-18)
|
|
606
325
|
|
|
607
326
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
608
327
|
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
328
|
## [0.3.37](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.36...@synerise/ds-code-snippet@0.3.37) (2023-10-11)
|
|
614
329
|
|
|
615
330
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
616
331
|
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
332
|
## [0.3.36](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.35...@synerise/ds-code-snippet@0.3.36) (2023-10-02)
|
|
622
333
|
|
|
623
334
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
624
335
|
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
336
|
## [0.3.35](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.34...@synerise/ds-code-snippet@0.3.35) (2023-09-26)
|
|
630
337
|
|
|
631
338
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
632
339
|
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
340
|
## [0.3.34](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.33...@synerise/ds-code-snippet@0.3.34) (2023-09-05)
|
|
638
341
|
|
|
639
342
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
640
343
|
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
344
|
## [0.3.33](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.32...@synerise/ds-code-snippet@0.3.33) (2023-08-22)
|
|
646
345
|
|
|
647
346
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
648
347
|
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
348
|
## [0.3.32](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.31...@synerise/ds-code-snippet@0.3.32) (2023-08-20)
|
|
654
349
|
|
|
655
350
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
656
351
|
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
352
|
## [0.3.31](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.30...@synerise/ds-code-snippet@0.3.31) (2023-07-26)
|
|
662
353
|
|
|
663
354
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
664
355
|
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
356
|
## [0.3.30](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.29...@synerise/ds-code-snippet@0.3.30) (2023-06-28)
|
|
670
357
|
|
|
671
358
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
672
359
|
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
360
|
## [0.3.29](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.28...@synerise/ds-code-snippet@0.3.29) (2023-06-14)
|
|
678
361
|
|
|
679
362
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
680
363
|
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
364
|
## [0.3.28](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.27...@synerise/ds-code-snippet@0.3.28) (2023-05-26)
|
|
686
365
|
|
|
687
366
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
688
367
|
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
368
|
## [0.3.27](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.26...@synerise/ds-code-snippet@0.3.27) (2023-05-23)
|
|
694
369
|
|
|
695
370
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
696
371
|
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
372
|
## [0.3.26](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.25...@synerise/ds-code-snippet@0.3.26) (2023-05-20)
|
|
702
373
|
|
|
703
374
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
704
375
|
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
376
|
## [0.3.25](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.24...@synerise/ds-code-snippet@0.3.25) (2023-04-26)
|
|
710
377
|
|
|
711
378
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
712
379
|
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
380
|
## [0.3.24](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.23...@synerise/ds-code-snippet@0.3.24) (2023-04-19)
|
|
718
381
|
|
|
719
382
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
720
383
|
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
384
|
## [0.3.23](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.22...@synerise/ds-code-snippet@0.3.23) (2023-04-05)
|
|
726
385
|
|
|
727
386
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
728
387
|
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
388
|
## [0.3.22](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.21...@synerise/ds-code-snippet@0.3.22) (2023-03-06)
|
|
734
389
|
|
|
735
390
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
736
391
|
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
392
|
## [0.3.21](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.20...@synerise/ds-code-snippet@0.3.21) (2023-03-02)
|
|
742
393
|
|
|
743
394
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
744
395
|
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
396
|
## [0.3.20](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.19...@synerise/ds-code-snippet@0.3.20) (2023-02-14)
|
|
750
397
|
|
|
751
398
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
752
399
|
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
400
|
## [0.3.19](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.18...@synerise/ds-code-snippet@0.3.19) (2023-01-12)
|
|
758
401
|
|
|
759
402
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
760
403
|
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
404
|
## [0.3.18](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.17...@synerise/ds-code-snippet@0.3.18) (2022-12-07)
|
|
766
405
|
|
|
767
406
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
768
407
|
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
408
|
## [0.3.17](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.16...@synerise/ds-code-snippet@0.3.17) (2022-08-31)
|
|
774
409
|
|
|
775
410
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
776
411
|
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
412
|
## [0.3.16](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.15...@synerise/ds-code-snippet@0.3.16) (2022-08-25)
|
|
782
413
|
|
|
783
414
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
784
415
|
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
416
|
## [0.3.15](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.10...@synerise/ds-code-snippet@0.3.15) (2022-08-11)
|
|
790
417
|
|
|
791
418
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
792
419
|
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
420
|
## [0.3.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.9...@synerise/ds-code-snippet@0.3.10) (2022-07-28)
|
|
798
421
|
|
|
799
422
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
800
423
|
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
424
|
## [0.3.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.8...@synerise/ds-code-snippet@0.3.9) (2022-03-30)
|
|
806
425
|
|
|
807
426
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
808
427
|
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
428
|
## [0.3.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.7...@synerise/ds-code-snippet@0.3.8) (2022-03-21)
|
|
814
429
|
|
|
815
430
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
816
431
|
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
432
|
## [0.3.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.6...@synerise/ds-code-snippet@0.3.7) (2022-03-14)
|
|
822
433
|
|
|
823
434
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
824
435
|
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
436
|
## [0.3.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.5...@synerise/ds-code-snippet@0.3.6) (2022-02-25)
|
|
830
437
|
|
|
831
438
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
832
439
|
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
440
|
## [0.3.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.4...@synerise/ds-code-snippet@0.3.5) (2022-02-03)
|
|
838
441
|
|
|
839
442
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
840
443
|
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
444
|
## [0.3.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.3...@synerise/ds-code-snippet@0.3.4) (2022-01-17)
|
|
846
445
|
|
|
847
446
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
848
447
|
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
448
|
## [0.3.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.2...@synerise/ds-code-snippet@0.3.3) (2021-12-22)
|
|
854
449
|
|
|
855
450
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
856
451
|
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
452
|
## [0.3.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.3.1...@synerise/ds-code-snippet@0.3.2) (2021-11-22)
|
|
862
453
|
|
|
863
454
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
864
455
|
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
456
|
## [0.3.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.2.1...@synerise/ds-code-snippet@0.3.1) (2021-11-09)
|
|
870
457
|
|
|
871
458
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
872
459
|
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
460
|
# [0.3.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.2.1...@synerise/ds-code-snippet@0.3.0) (2021-11-09)
|
|
878
461
|
|
|
879
462
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
880
463
|
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
464
|
## [0.2.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-code-snippet@0.2.0...@synerise/ds-code-snippet@0.2.1) (2021-11-05)
|
|
886
465
|
|
|
887
466
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
888
467
|
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
468
|
# 0.2.0 (2021-10-26)
|
|
894
469
|
|
|
895
|
-
|
|
896
470
|
### Bug Fixes
|
|
897
471
|
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
472
|
+
- **code-snippet:** add dependencies ([bf425b7](https://github.com/Synerise/synerise-design/commit/bf425b7aa2481d74322390d11f5df40d10b6c791))
|
|
473
|
+
- **code-snippet:** add useMemo ([8132cb2](https://github.com/Synerise/synerise-design/commit/8132cb2bb69377975026e7f8e8c8032f136fae35))
|
|
474
|
+
- **code-snippet:** fix styles and change structure ([041643d](https://github.com/Synerise/synerise-design/commit/041643d6643ac901fa6a499756b91bf02c8c4116))
|
|
902
475
|
|
|
903
476
|
### Features
|
|
904
477
|
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
478
|
+
- **code-snippet:** add new component code-snippet ([5cbd721](https://github.com/Synerise/synerise-design/commit/5cbd721e67a30136cd8d4e26fb97c66a498ae511))
|
|
479
|
+
- **code-snippet:** add own style files to codeTypes ([eb8a9a7](https://github.com/Synerise/synerise-design/commit/eb8a9a70f92ba504e5559a67ac87720f9c1f3de3))
|
|
911
480
|
|
|
912
481
|
# 0.1.0 (2021-10-19)
|
|
913
482
|
|
|
914
|
-
|
|
915
483
|
### Bug Fixes
|
|
916
484
|
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
485
|
+
- **code-snippet:** add dependencies ([bf425b7](https://github.com/Synerise/synerise-design/commit/bf425b7aa2481d74322390d11f5df40d10b6c791))
|
|
486
|
+
- **code-snippet:** add useMemo ([8132cb2](https://github.com/Synerise/synerise-design/commit/8132cb2bb69377975026e7f8e8c8032f136fae35))
|
|
487
|
+
- **code-snippet:** fix styles and change structure ([041643d](https://github.com/Synerise/synerise-design/commit/041643d6643ac901fa6a499756b91bf02c8c4116))
|
|
921
488
|
|
|
922
489
|
### Features
|
|
923
490
|
|
|
924
|
-
|
|
925
|
-
|
|
491
|
+
- **code-snippet:** add new component code-snippet ([5cbd721](https://github.com/Synerise/synerise-design/commit/5cbd721e67a30136cd8d4e26fb97c66a498ae511))
|
|
492
|
+
- **code-snippet:** add own style files to codeTypes ([eb8a9a7](https://github.com/Synerise/synerise-design/commit/eb8a9a70f92ba504e5559a67ac87720f9c1f3de3))
|
package/README.md
CHANGED
|
@@ -6,6 +6,7 @@ title: CodeSnippet
|
|
|
6
6
|
CodeSnippet UI Component
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
|
+
|
|
9
10
|
```
|
|
10
11
|
npm i @synerise/ds-code-snippet
|
|
11
12
|
or
|
|
@@ -13,12 +14,13 @@ yarn add @synerise/ds-code-snippet
|
|
|
13
14
|
```
|
|
14
15
|
|
|
15
16
|
## Usage
|
|
17
|
+
|
|
16
18
|
```
|
|
17
19
|
import CodeSnippet from '@synerise/ds-code-snippet'
|
|
18
20
|
|
|
19
21
|
<CodeSnippet type={'single-line'} >
|
|
20
22
|
{"code"}
|
|
21
|
-
</CodeSnippet>
|
|
23
|
+
</CodeSnippet>
|
|
22
24
|
|
|
23
25
|
```
|
|
24
26
|
|
|
@@ -28,20 +30,20 @@ import CodeSnippet from '@synerise/ds-code-snippet'
|
|
|
28
30
|
|
|
29
31
|
## API
|
|
30
32
|
|
|
31
|
-
| Property | Description
|
|
32
|
-
| ------------------- |
|
|
33
|
-
| type | Defines the type of the codesnippet
|
|
34
|
-
| className | Class name for main CodeSnippet's container
|
|
35
|
-
| children | CodeSnippet's content
|
|
36
|
-
| tooltipHint | Defines the text
|
|
37
|
-
| labelBeforeExpanded | Defines the text of button before expand
|
|
38
|
-
| labelAfterExpanded | Defines the text of button after expand
|
|
39
|
-
| tooltipTitleHover | Tooltip title on hover
|
|
40
|
-
| tooltipTitleClick | Tooltip title on click
|
|
41
|
-
| fontSize | Defines the size for single block
|
|
42
|
-
| colorSyntax | Specify when use color syntax
|
|
43
|
-
| languages | Array of langugages defined for color syntax
|
|
44
|
-
| rows | Specify the number of visible lines before expand
|
|
45
|
-
| wrap | Specify whether content is wrap or not
|
|
46
|
-
| onExpand | An extra function to invoke on button click expand content
|
|
47
|
-
| onCopy | An extra function to invoke on copy button event
|
|
33
|
+
| Property | Description | Type | Default |
|
|
34
|
+
| ------------------- | ---------------------------------------------------------- | ------------------- | ------------------------------------ |
|
|
35
|
+
| type | Defines the type of the codesnippet | CodeSnippetType | INLINE |
|
|
36
|
+
| className | Class name for main CodeSnippet's container | string | - |
|
|
37
|
+
| children | CodeSnippet's content | string | "" |
|
|
38
|
+
| tooltipHint | Defines the text | string | 'Copy' |
|
|
39
|
+
| labelBeforeExpanded | Defines the text of button before expand | string | 'Show more' |
|
|
40
|
+
| labelAfterExpanded | Defines the text of button after expand | string | 'Show less' |
|
|
41
|
+
| tooltipTitleHover | Tooltip title on hover | string | 'Copy' |
|
|
42
|
+
| tooltipTitleClick | Tooltip title on click | string | 'Copied!' |
|
|
43
|
+
| fontSize | Defines the size for single block | FontSize | 'small' |
|
|
44
|
+
| colorSyntax | Specify when use color syntax | boolean | false |
|
|
45
|
+
| languages | Array of langugages defined for color syntax | LanguageHighlight[] | ['javascript', 'typescript', 'json'] |
|
|
46
|
+
| rows | Specify the number of visible lines before expand | number | 6 |
|
|
47
|
+
| wrap | Specify whether content is wrap or not | boolean | false |
|
|
48
|
+
| onExpand | An extra function to invoke on button click expand content | () => void | - |
|
|
49
|
+
| onCopy | An extra function to invoke on copy button event | () => void | - |
|
package/dist/CodeSnippet.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { type CodeSnippetProps } from './CodeSnippet.types';
|
|
2
3
|
import './style/index.less';
|
|
3
|
-
import { CodeSnippetProps } from './CodeSnippet.types';
|
|
4
4
|
declare const CodeSnippet: ({ type, languages, children, colorSyntax, fontSize, tooltipTitleHover, tooltipTitleClick, labelBeforeExpanded, labelAfterExpanded, wrap, rows, className, onExpand, onCopy, customTriggerComponent, expanded, hideExpandButton, hideCopyButton, }: CodeSnippetProps) => React.JSX.Element;
|
|
5
5
|
export default CodeSnippet;
|
package/dist/CodeSnippet.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { CodeSnippetType, FontSize } from './CodeSnippet.types';
|
|
3
3
|
import InlineCode from './CodeTypes/InlineCode/InlineCode';
|
|
4
|
-
import SingleCode from './CodeTypes/SingleCode/SingleCode';
|
|
5
4
|
import MultiCode from './CodeTypes/MultiCode/MultiCode';
|
|
6
|
-
import
|
|
5
|
+
import SingleCode from './CodeTypes/SingleCode/SingleCode';
|
|
6
|
+
import "./style/index.css";
|
|
7
7
|
var CodeSnippet = function CodeSnippet(_ref) {
|
|
8
8
|
var _ref$type = _ref.type,
|
|
9
9
|
type = _ref$type === void 0 ? CodeSnippetType.INLINE : _ref$type,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
+
import copy from 'copy-to-clipboard';
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import AnimateHeight from 'react-animate-height';
|
|
4
|
-
import
|
|
5
|
-
import Icon, { DuplicateS, ArrowDownCircleM } from '@synerise/ds-icon';
|
|
5
|
+
import Icon, { ArrowDownCircleM, DuplicateS } from '@synerise/ds-icon';
|
|
6
6
|
import Scrollbar from '@synerise/ds-scrollbar';
|
|
7
|
+
import CopyAction from '../../CopyAction/CopyAction';
|
|
7
8
|
import Highlight from '../../Highlight/Highlight';
|
|
9
|
+
import { ICON_CLASSNAME, LINE_HEIGHT_DEFAULT } from '../SingleCode/SingleCode.styles';
|
|
8
10
|
import * as S from './MultiCode.styles';
|
|
9
|
-
import { LINE_HEIGHT_DEFAULT, ICON_CLASSNAME } from '../SingleCode/SingleCode.styles';
|
|
10
|
-
import CopyAction from '../../CopyAction/CopyAction';
|
|
11
11
|
var ANIMATE_HEIGHT_TIME = 300;
|
|
12
12
|
var MultiCode = function MultiCode(_ref) {
|
|
13
13
|
var _ref$languages = _ref.languages,
|
|
@@ -68,13 +68,17 @@ var MultiCode = function MultiCode(_ref) {
|
|
|
68
68
|
setExpandedState(function (prevState) {
|
|
69
69
|
return !prevState;
|
|
70
70
|
});
|
|
71
|
-
if (isScroll)
|
|
72
|
-
|
|
71
|
+
if (isScroll) {
|
|
72
|
+
setTimeout(function () {
|
|
73
|
+
return setScrollable(function (prevState) {
|
|
74
|
+
return !prevState;
|
|
75
|
+
});
|
|
76
|
+
}, ANIMATE_HEIGHT_TIME);
|
|
77
|
+
} else {
|
|
78
|
+
setScrollable(function (prevState) {
|
|
73
79
|
return !prevState;
|
|
74
80
|
});
|
|
75
|
-
}
|
|
76
|
-
return !prevState;
|
|
77
|
-
});
|
|
81
|
+
}
|
|
78
82
|
onExpand && onExpand();
|
|
79
83
|
}, [onExpand]);
|
|
80
84
|
var isButtonVisible = React.useMemo(function () {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styled, { css } from 'styled-components';
|
|
2
2
|
import Button from '@synerise/ds-button';
|
|
3
3
|
import { IconContainer } from '@synerise/ds-icon';
|
|
4
|
-
import { CodeSnippetWrapperSingle,
|
|
4
|
+
import { BlockCodeWrapperSingle, CodeSnippetWrapperSingle, FONT_SIZE_DEFAULT, LINE_HEIGHT_DEFAULT } from '../SingleCode/SingleCode.styles';
|
|
5
5
|
export var ContentIconWrapper = styled.div.withConfig({
|
|
6
6
|
displayName: "MultiCodestyles__ContentIconWrapper",
|
|
7
7
|
componentId: "sc-1u5vxm9-0"
|
|
@@ -17,7 +17,7 @@ export var CodeSnippetWrapperMulti = styled(CodeSnippetWrapperSingle).withConfig
|
|
|
17
17
|
export var ExpanderButton = styled(Button).withConfig({
|
|
18
18
|
displayName: "MultiCodestyles__ExpanderButton",
|
|
19
19
|
componentId: "sc-1u5vxm9-2"
|
|
20
|
-
})(["&&{position:relative;z-index:15;top:-5px;", "{svg{transition:transform 0.2s linear;transform:rotate(", ");}}}"], IconContainer, function (props) {
|
|
20
|
+
})(["&&{position:relative;z-index:15;top:-5px;", "{svg{transition:transform 0.2s linear;transform:rotate( ", " );}}}"], IconContainer, function (props) {
|
|
21
21
|
return props.expanded ? '180deg' : '0deg';
|
|
22
22
|
});
|
|
23
23
|
export var BlockCodeWrapperMulti = styled(BlockCodeWrapperSingle).withConfig({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import copy from 'copy-to-clipboard';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { DuplicateS } from '@synerise/ds-icon';
|
|
4
|
+
import { FontSize } from '../../CodeSnippet.types';
|
|
4
5
|
import CopyAction from '../../CopyAction/CopyAction';
|
|
5
6
|
import * as S from './SingleCode.styles';
|
|
6
|
-
import { FontSize } from '../../CodeSnippet.types';
|
|
7
7
|
var SingleCode = function SingleCode(_ref) {
|
|
8
8
|
var _ref$children = _ref.children,
|
|
9
9
|
children = _ref$children === void 0 ? '' : _ref$children,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import Tooltip from '@synerise/ds-tooltip';
|
|
3
2
|
import Icon from '@synerise/ds-icon';
|
|
3
|
+
import Tooltip from '@synerise/ds-tooltip';
|
|
4
4
|
import { useOnClickOutside } from '@synerise/ds-utils';
|
|
5
5
|
import * as S from './CopyAction.styles';
|
|
6
6
|
var CopyAction = function CopyAction(_ref) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(typeof e + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
2
2
|
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
3
3
|
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
4
|
-
import React, { useEffect, useCallback, useRef } from 'react';
|
|
5
4
|
// @ts-ignore
|
|
6
5
|
import hljs from 'highlight.js/lib/core';
|
|
6
|
+
import React, { useCallback, useEffect, useRef } from 'react';
|
|
7
7
|
import * as S from './Highlight.styles';
|
|
8
8
|
var Highlight = function Highlight(_ref) {
|
|
9
9
|
var languages = _ref.languages,
|
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-code-snippet",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "CodeSnippet UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-button": "^1.4.
|
|
39
|
-
"@synerise/ds-icon": "^1.5.
|
|
40
|
-
"@synerise/ds-scrollbar": "^1.1.
|
|
41
|
-
"@synerise/ds-tooltip": "^1.1.
|
|
42
|
-
"@synerise/ds-utils": "^1.3.
|
|
38
|
+
"@synerise/ds-button": "^1.4.2",
|
|
39
|
+
"@synerise/ds-icon": "^1.5.4",
|
|
40
|
+
"@synerise/ds-scrollbar": "^1.1.2",
|
|
41
|
+
"@synerise/ds-tooltip": "^1.1.12",
|
|
42
|
+
"@synerise/ds-utils": "^1.3.1",
|
|
43
43
|
"copy-to-clipboard": "^3.3.1",
|
|
44
44
|
"highlight.js": "^10.7.2",
|
|
45
45
|
"react-animate-height": "^2.0.23"
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"react": ">=16.9.0 <= 18.3.1",
|
|
50
50
|
"styled-components": "^5.3.3"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "4512641033ba3581a3df208143c547fcfed45895"
|
|
53
53
|
}
|