@synerise/ds-code-snippet 1.1.2 → 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 +25 -450
- 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,899 +19,474 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
### Features
|
|
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)
|
|
26
23
|
|
|
27
|
-
|
|
24
|
+
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
28
25
|
|
|
29
26
|
|
|
30
27
|
|
|
31
28
|
|
|
32
29
|
|
|
33
|
-
## [1.
|
|
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)
|
|
34
31
|
|
|
35
32
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
36
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)
|
|
37
35
|
|
|
36
|
+
### Features
|
|
38
37
|
|
|
38
|
+
- **code-snippet:** add hide expand and copy button props ([7db9ff1](https://github.com/Synerise/synerise-design/commit/7db9ff120215b057d8d8db0a8cc752a0ce8cf89a))
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
## [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)
|
|
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
|
|
|
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)
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
48
47
|
|
|
49
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)
|
|
50
49
|
|
|
51
50
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
52
51
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
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)
|
|
58
53
|
|
|
59
54
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
60
55
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
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)
|
|
66
57
|
|
|
67
58
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
68
59
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
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)
|
|
74
61
|
|
|
75
62
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
76
63
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
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)
|
|
82
65
|
|
|
83
66
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
84
67
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
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)
|
|
90
69
|
|
|
91
70
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
92
71
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
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)
|
|
98
73
|
|
|
99
74
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
100
75
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
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)
|
|
106
77
|
|
|
107
78
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
108
79
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
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)
|
|
114
81
|
|
|
115
82
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
116
83
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
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)
|
|
122
85
|
|
|
123
86
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
124
87
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
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)
|
|
130
89
|
|
|
131
90
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
132
91
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
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)
|
|
138
93
|
|
|
139
94
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
140
95
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
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)
|
|
146
97
|
|
|
147
98
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
148
99
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
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)
|
|
154
101
|
|
|
155
102
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
156
103
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
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)
|
|
162
105
|
|
|
163
|
-
|
|
164
106
|
### Bug Fixes
|
|
165
107
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
108
|
+
- **code-snippet:** fixes to font family ([149d776](https://github.com/Synerise/synerise-design/commit/149d77688f2a9092a8600d57af03a3f494f755e8))
|
|
171
109
|
|
|
172
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)
|
|
173
111
|
|
|
174
|
-
|
|
175
112
|
### Features
|
|
176
113
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
114
|
+
- antd@4.24 react@18 ([d97a667](https://github.com/Synerise/synerise-design/commit/d97a667b1f33aed3177e1851de3b6f60be2d46a6))
|
|
182
115
|
|
|
183
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)
|
|
184
117
|
|
|
185
118
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
186
119
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
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)
|
|
192
121
|
|
|
193
122
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
194
123
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
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)
|
|
200
125
|
|
|
201
126
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
202
127
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
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)
|
|
208
129
|
|
|
209
|
-
|
|
210
130
|
### Features
|
|
211
131
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
132
|
+
- **code-snippet:** add new stories of code-snippet ([c450c37](https://github.com/Synerise/synerise-design/commit/c450c374620acd2b8619c506d868834287f4e769))
|
|
217
133
|
|
|
218
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)
|
|
219
135
|
|
|
220
136
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
221
137
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
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)
|
|
227
139
|
|
|
228
140
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
229
141
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
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)
|
|
235
143
|
|
|
236
144
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
237
145
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
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)
|
|
243
147
|
|
|
244
148
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
245
149
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
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)
|
|
251
151
|
|
|
252
152
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
253
153
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
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)
|
|
259
155
|
|
|
260
156
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
261
157
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
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)
|
|
267
159
|
|
|
268
160
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
269
161
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
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)
|
|
275
163
|
|
|
276
164
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
277
165
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
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)
|
|
283
167
|
|
|
284
168
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
285
169
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
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)
|
|
291
171
|
|
|
292
|
-
|
|
293
172
|
### Bug Fixes
|
|
294
173
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
174
|
+
- **code-snippet:** new button with prop renderCopyButton ([daf3803](https://github.com/Synerise/synerise-design/commit/daf38032b6754da5900b65c5401e955438c6452b))
|
|
300
175
|
|
|
301
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)
|
|
302
177
|
|
|
303
178
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
304
179
|
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
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)
|
|
310
181
|
|
|
311
182
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
312
183
|
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
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)
|
|
318
185
|
|
|
319
186
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
320
187
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
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)
|
|
326
189
|
|
|
327
190
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
328
191
|
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
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)
|
|
334
193
|
|
|
335
194
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
336
195
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
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)
|
|
342
197
|
|
|
343
198
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
344
199
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
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)
|
|
350
201
|
|
|
351
202
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
352
203
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
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)
|
|
358
205
|
|
|
359
206
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
360
207
|
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
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)
|
|
366
209
|
|
|
367
210
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
368
211
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
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)
|
|
374
213
|
|
|
375
214
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
376
215
|
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
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)
|
|
382
217
|
|
|
383
218
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
384
219
|
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
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)
|
|
390
221
|
|
|
391
222
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
392
223
|
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
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)
|
|
398
225
|
|
|
399
226
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
400
227
|
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
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)
|
|
406
229
|
|
|
407
230
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
408
231
|
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
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)
|
|
414
233
|
|
|
415
234
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
416
235
|
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
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)
|
|
422
237
|
|
|
423
238
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
424
239
|
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
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)
|
|
430
241
|
|
|
431
242
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
432
243
|
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
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)
|
|
438
245
|
|
|
439
246
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
440
247
|
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
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)
|
|
446
249
|
|
|
447
250
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
448
251
|
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
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)
|
|
454
253
|
|
|
455
254
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
456
255
|
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
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)
|
|
462
257
|
|
|
463
258
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
464
259
|
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
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)
|
|
470
261
|
|
|
471
262
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
472
263
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
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)
|
|
478
265
|
|
|
479
266
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
480
267
|
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
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)
|
|
486
269
|
|
|
487
270
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
488
271
|
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
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)
|
|
494
273
|
|
|
495
274
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
496
275
|
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
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)
|
|
502
277
|
|
|
503
278
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
504
279
|
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
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)
|
|
510
281
|
|
|
511
282
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
512
283
|
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
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)
|
|
518
285
|
|
|
519
286
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
520
287
|
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
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)
|
|
526
289
|
|
|
527
290
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
528
291
|
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
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)
|
|
534
293
|
|
|
535
294
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
536
295
|
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
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)
|
|
542
297
|
|
|
543
298
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
544
299
|
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
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)
|
|
550
301
|
|
|
551
302
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
552
303
|
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
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)
|
|
558
305
|
|
|
559
306
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
560
307
|
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
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)
|
|
566
309
|
|
|
567
310
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
568
311
|
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
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)
|
|
574
313
|
|
|
575
314
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
576
315
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
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)
|
|
582
317
|
|
|
583
318
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
584
319
|
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
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)
|
|
590
321
|
|
|
591
322
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
592
323
|
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
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)
|
|
598
325
|
|
|
599
326
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
600
327
|
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
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)
|
|
606
329
|
|
|
607
330
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
608
331
|
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
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)
|
|
614
333
|
|
|
615
334
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
616
335
|
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
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)
|
|
622
337
|
|
|
623
338
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
624
339
|
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
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)
|
|
630
341
|
|
|
631
342
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
632
343
|
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
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)
|
|
638
345
|
|
|
639
346
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
640
347
|
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
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)
|
|
646
349
|
|
|
647
350
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
648
351
|
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
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)
|
|
654
353
|
|
|
655
354
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
656
355
|
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
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)
|
|
662
357
|
|
|
663
358
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
664
359
|
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
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)
|
|
670
361
|
|
|
671
362
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
672
363
|
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
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)
|
|
678
365
|
|
|
679
366
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
680
367
|
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
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)
|
|
686
369
|
|
|
687
370
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
688
371
|
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
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)
|
|
694
373
|
|
|
695
374
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
696
375
|
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
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)
|
|
702
377
|
|
|
703
378
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
704
379
|
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
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)
|
|
710
381
|
|
|
711
382
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
712
383
|
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
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)
|
|
718
385
|
|
|
719
386
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
720
387
|
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
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)
|
|
726
389
|
|
|
727
390
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
728
391
|
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
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)
|
|
734
393
|
|
|
735
394
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
736
395
|
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
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)
|
|
742
397
|
|
|
743
398
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
744
399
|
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
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)
|
|
750
401
|
|
|
751
402
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
752
403
|
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
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)
|
|
758
405
|
|
|
759
406
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
760
407
|
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
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)
|
|
766
409
|
|
|
767
410
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
768
411
|
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
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)
|
|
774
413
|
|
|
775
414
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
776
415
|
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
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)
|
|
782
417
|
|
|
783
418
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
784
419
|
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
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)
|
|
790
421
|
|
|
791
422
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
792
423
|
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
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)
|
|
798
425
|
|
|
799
426
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
800
427
|
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
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)
|
|
806
429
|
|
|
807
430
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
808
431
|
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
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)
|
|
814
433
|
|
|
815
434
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
816
435
|
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
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)
|
|
822
437
|
|
|
823
438
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
824
439
|
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
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)
|
|
830
441
|
|
|
831
442
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
832
443
|
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
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)
|
|
838
445
|
|
|
839
446
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
840
447
|
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
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)
|
|
846
449
|
|
|
847
450
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
848
451
|
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
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)
|
|
854
453
|
|
|
855
454
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
856
455
|
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
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)
|
|
862
457
|
|
|
863
458
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
864
459
|
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
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)
|
|
870
461
|
|
|
871
462
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
872
463
|
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
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)
|
|
878
465
|
|
|
879
466
|
**Note:** Version bump only for package @synerise/ds-code-snippet
|
|
880
467
|
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
468
|
# 0.2.0 (2021-10-26)
|
|
886
469
|
|
|
887
|
-
|
|
888
470
|
### Bug Fixes
|
|
889
471
|
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
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))
|
|
894
475
|
|
|
895
476
|
### Features
|
|
896
477
|
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
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))
|
|
903
480
|
|
|
904
481
|
# 0.1.0 (2021-10-19)
|
|
905
482
|
|
|
906
|
-
|
|
907
483
|
### Bug Fixes
|
|
908
484
|
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
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))
|
|
913
488
|
|
|
914
489
|
### Features
|
|
915
490
|
|
|
916
|
-
|
|
917
|
-
|
|
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
|
}
|