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