@khanacademy/wonder-blocks-icon 5.0.6 → 5.1.1

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 CHANGED
@@ -1,257 +1,283 @@
1
1
  # @khanacademy/wonder-blocks-icon
2
2
 
3
+ ## 5.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - ee8d95a: Rollback rollup version from v4 to v2 to prevent an issue with CJS builds in unit tests
8
+ - Updated dependencies [ee8d95a]
9
+ - @khanacademy/wonder-blocks-core@12.1.1
10
+
11
+ ## 5.1.0
12
+
13
+ ### Minor Changes
14
+
15
+ - f03298f: Tooling:
16
+
17
+ - Switching to `pnpm`.
18
+ - Upgrading `rollup` to v4 and `@babel/runtime` to match the current webapp version.
19
+
20
+ ### Patch Changes
21
+
22
+ - 969864b: Update internal addStyle variable name to address aphrodite-add-style-variable-name linting rule
23
+ - bb2a026: pnpm: Switch to workspace protocol to handle dependency versions with changesets on monorepo setup"
24
+ - Updated dependencies [969864b]
25
+ - Updated dependencies [bb2a026]
26
+ - Updated dependencies [f03298f]
27
+ - @khanacademy/wonder-blocks-core@12.1.0
28
+
3
29
  ## 5.0.6
4
30
 
5
31
  ### Patch Changes
6
32
 
7
- - Updated dependencies [0199324d]
8
- - @khanacademy/wonder-blocks-core@12.0.0
33
+ - Updated dependencies [0199324d]
34
+ - @khanacademy/wonder-blocks-core@12.0.0
9
35
 
10
36
  ## 5.0.5
11
37
 
12
38
  ### Patch Changes
13
39
 
14
- - Updated dependencies [7516b239]
15
- - @khanacademy/wonder-blocks-core@11.1.0
40
+ - Updated dependencies [7516b239]
41
+ - @khanacademy/wonder-blocks-core@11.1.0
16
42
 
17
43
  ## 5.0.4
18
44
 
19
45
  ### Patch Changes
20
46
 
21
- - 11a0f5c6: No functional changes. Adding prepublishOnly script.
22
- - Updated dependencies [11a0f5c6]
23
- - @khanacademy/wonder-blocks-core@11.0.1
47
+ - 11a0f5c6: No functional changes. Adding prepublishOnly script.
48
+ - Updated dependencies [11a0f5c6]
49
+ - @khanacademy/wonder-blocks-core@11.0.1
24
50
 
25
51
  ## 5.0.3
26
52
 
27
53
  ### Patch Changes
28
54
 
29
- - Updated dependencies [d23c9c5f]
30
- - @khanacademy/wonder-blocks-core@11.0.0
55
+ - Updated dependencies [d23c9c5f]
56
+ - @khanacademy/wonder-blocks-core@11.0.0
31
57
 
32
58
  ## 5.0.2
33
59
 
34
60
  ### Patch Changes
35
61
 
36
- - Updated dependencies [b6009b77]
37
- - Updated dependencies [897686bc]
38
- - Updated dependencies [56d961f1]
39
- - @khanacademy/wonder-blocks-core@10.0.0
62
+ - Updated dependencies [b6009b77]
63
+ - Updated dependencies [897686bc]
64
+ - Updated dependencies [56d961f1]
65
+ - @khanacademy/wonder-blocks-core@10.0.0
40
66
 
41
67
  ## 5.0.1
42
68
 
43
69
  ### Patch Changes
44
70
 
45
- - Updated dependencies [f4abd572]
46
- - @khanacademy/wonder-blocks-core@9.0.0
71
+ - Updated dependencies [f4abd572]
72
+ - @khanacademy/wonder-blocks-core@9.0.0
47
73
 
48
74
  ## 5.0.0
49
75
 
50
76
  ### Major Changes
51
77
 
52
- - e6abdd17: Upgrade to React 18
78
+ - e6abdd17: Upgrade to React 18
53
79
 
54
80
  ### Patch Changes
55
81
 
56
- - Updated dependencies [e6abdd17]
57
- - @khanacademy/wonder-blocks-core@8.0.0
82
+ - Updated dependencies [e6abdd17]
83
+ - @khanacademy/wonder-blocks-core@8.0.0
58
84
 
59
85
  ## 4.2.0
60
86
 
61
87
  ### Minor Changes
62
88
 
63
- - c1110599: defaults the role of PhosphorIcon to "img" when an aria-label is provided
89
+ - c1110599: defaults the role of PhosphorIcon to "img" when an aria-label is provided
64
90
 
65
91
  ## 4.1.5
66
92
 
67
93
  ### Patch Changes
68
94
 
69
- - 02a1b298: Make sure we don't package tsconfig and tsbuildinfo files
70
- - Updated dependencies [02a1b298]
71
- - @khanacademy/wonder-blocks-core@7.0.1
95
+ - 02a1b298: Make sure we don't package tsconfig and tsbuildinfo files
96
+ - Updated dependencies [02a1b298]
97
+ - @khanacademy/wonder-blocks-core@7.0.1
72
98
 
73
99
  ## 4.1.4
74
100
 
75
101
  ### Patch Changes
76
102
 
77
- - Updated dependencies [07f7f407]
78
- - @khanacademy/wonder-blocks-core@7.0.0
103
+ - Updated dependencies [07f7f407]
104
+ - @khanacademy/wonder-blocks-core@7.0.0
79
105
 
80
106
  ## 4.1.3
81
107
 
82
108
  ### Patch Changes
83
109
 
84
- - 559e82d5: Update to build tooling, generating smaller output
85
- - Updated dependencies [559e82d5]
86
- - @khanacademy/wonder-blocks-core@6.4.3
110
+ - 559e82d5: Update to build tooling, generating smaller output
111
+ - Updated dependencies [559e82d5]
112
+ - @khanacademy/wonder-blocks-core@6.4.3
87
113
 
88
114
  ## 4.1.2
89
115
 
90
116
  ### Patch Changes
91
117
 
92
- - Updated dependencies [eab37b8b]
93
- - @khanacademy/wonder-blocks-core@6.4.2
118
+ - Updated dependencies [eab37b8b]
119
+ - @khanacademy/wonder-blocks-core@6.4.2
94
120
 
95
121
  ## 4.1.1
96
122
 
97
123
  ### Patch Changes
98
124
 
99
- - Updated dependencies [5dfac06e]
100
- - @khanacademy/wonder-blocks-core@6.4.1
125
+ - Updated dependencies [5dfac06e]
126
+ - @khanacademy/wonder-blocks-core@6.4.1
101
127
 
102
128
  ## 4.1.0
103
129
 
104
130
  ### Minor Changes
105
131
 
106
- - 58075352: Change testId to render the default Testing Library HTML attribute: data-testid (was data-test-id)
132
+ - 58075352: Change testId to render the default Testing Library HTML attribute: data-testid (was data-test-id)
107
133
 
108
134
  ### Patch Changes
109
135
 
110
- - Updated dependencies [58075352]
111
- - @khanacademy/wonder-blocks-core@6.4.0
136
+ - Updated dependencies [58075352]
137
+ - @khanacademy/wonder-blocks-core@6.4.0
112
138
 
113
139
  ## 4.0.1
114
140
 
115
141
  ### Patch Changes
116
142
 
117
- - 23ab9f8c: Added `role="img"` docs to PhosphorIcon. Fixed a11y issue to banners by adding the img role to the icons in each banner"
118
- - Updated dependencies [6df21f71]
119
- - @khanacademy/wonder-blocks-core@6.3.1
143
+ - 23ab9f8c: Added `role="img"` docs to PhosphorIcon. Fixed a11y issue to banners by adding the img role to the icons in each banner"
144
+ - Updated dependencies [6df21f71]
145
+ - @khanacademy/wonder-blocks-core@6.3.1
120
146
 
121
147
  ## 4.0.0
122
148
 
123
149
  ### Major Changes
124
150
 
125
- - 171e3b01: Delete Icon component in favor of PhosphorIcon
151
+ - 171e3b01: Delete Icon component in favor of PhosphorIcon
126
152
 
127
153
  ## 3.0.0
128
154
 
129
155
  ### Major Changes
130
156
 
131
- - 96f675d2: Remove size/weight restriction from PhosphorIcon and remove some exported types from the package.
157
+ - 96f675d2: Remove size/weight restriction from PhosphorIcon and remove some exported types from the package.
132
158
 
133
159
  ## 2.2.1
134
160
 
135
161
  ### Patch Changes
136
162
 
137
- - Updated dependencies [7055ca94]
138
- - @khanacademy/wonder-blocks-core@6.3.0
163
+ - Updated dependencies [7055ca94]
164
+ - @khanacademy/wonder-blocks-core@6.3.0
139
165
 
140
166
  ## 2.2.0
141
167
 
142
168
  ### Minor Changes
143
169
 
144
- - ea0e7c02: Add `PhosphorIcon` to display Phosphor SVG files.
170
+ - ea0e7c02: Add `PhosphorIcon` to display Phosphor SVG files.
145
171
 
146
172
  ## 2.1.6
147
173
 
148
174
  ### Patch Changes
149
175
 
150
- - Updated dependencies [4b97b9a2]
151
- - @khanacademy/wonder-blocks-core@6.2.0
176
+ - Updated dependencies [4b97b9a2]
177
+ - @khanacademy/wonder-blocks-core@6.2.0
152
178
 
153
179
  ## 2.1.5
154
180
 
155
181
  ### Patch Changes
156
182
 
157
- - Updated dependencies [2871f0a9]
158
- - @khanacademy/wonder-blocks-core@6.1.1
183
+ - Updated dependencies [2871f0a9]
184
+ - @khanacademy/wonder-blocks-core@6.1.1
159
185
 
160
186
  ## 2.1.4
161
187
 
162
188
  ### Patch Changes
163
189
 
164
- - Updated dependencies [efb59c29]
165
- - Updated dependencies [8bc40ed2]
166
- - @khanacademy/wonder-blocks-core@6.1.0
190
+ - Updated dependencies [efb59c29]
191
+ - Updated dependencies [8bc40ed2]
192
+ - @khanacademy/wonder-blocks-core@6.1.0
167
193
 
168
194
  ## 2.1.3
169
195
 
170
196
  ### Patch Changes
171
197
 
172
- - Updated dependencies [f19da46e]
173
- - @khanacademy/wonder-blocks-core@6.0.2
198
+ - Updated dependencies [f19da46e]
199
+ - @khanacademy/wonder-blocks-core@6.0.2
174
200
 
175
201
  ## 2.1.2
176
202
 
177
203
  ### Patch Changes
178
204
 
179
- - Updated dependencies [1920feb8]
180
- - @khanacademy/wonder-blocks-core@6.0.1
205
+ - Updated dependencies [1920feb8]
206
+ - @khanacademy/wonder-blocks-core@6.0.1
181
207
 
182
208
  ## 2.1.1
183
209
 
184
210
  ### Patch Changes
185
211
 
186
- - Updated dependencies [674a1e5c]
187
- - Updated dependencies [674a1e5c]
188
- - @khanacademy/wonder-blocks-core@6.0.0
212
+ - Updated dependencies [674a1e5c]
213
+ - Updated dependencies [674a1e5c]
214
+ - @khanacademy/wonder-blocks-core@6.0.0
189
215
 
190
216
  ## 2.1.0
191
217
 
192
218
  ### Minor Changes
193
219
 
194
- - ec6a33a4: Forward refs in Icon
195
- Use Icon type instead of IconAsset for startIcon and endIcon in Link
220
+ - ec6a33a4: Forward refs in Icon
221
+ Use Icon type instead of IconAsset for startIcon and endIcon in Link
196
222
 
197
223
  ### Patch Changes
198
224
 
199
- - Updated dependencies [1344436f]
200
- - @khanacademy/wonder-blocks-core@5.4.0
225
+ - Updated dependencies [1344436f]
226
+ - @khanacademy/wonder-blocks-core@5.4.0
201
227
 
202
228
  ## 2.0.15
203
229
 
204
230
  ### Patch Changes
205
231
 
206
- - Updated dependencies [9f3752d4]
207
- - @khanacademy/wonder-blocks-core@5.3.1
232
+ - Updated dependencies [9f3752d4]
233
+ - @khanacademy/wonder-blocks-core@5.3.1
208
234
 
209
235
  ## 2.0.14
210
236
 
211
237
  ### Patch Changes
212
238
 
213
- - Updated dependencies [c37b99aa]
214
- - Updated dependencies [c4cef3e6]
215
- - @khanacademy/wonder-blocks-core@5.3.0
239
+ - Updated dependencies [c37b99aa]
240
+ - Updated dependencies [c4cef3e6]
241
+ - @khanacademy/wonder-blocks-core@5.3.0
216
242
 
217
243
  ## 2.0.13
218
244
 
219
245
  ### Patch Changes
220
246
 
221
- - Updated dependencies [d4c412b5]
222
- - @khanacademy/wonder-blocks-core@5.2.3
247
+ - Updated dependencies [d4c412b5]
248
+ - @khanacademy/wonder-blocks-core@5.2.3
223
249
 
224
250
  ## 2.0.12
225
251
 
226
252
  ### Patch Changes
227
253
 
228
- - Updated dependencies [64a188e3]
229
- - @khanacademy/wonder-blocks-core@5.2.2
254
+ - Updated dependencies [64a188e3]
255
+ - @khanacademy/wonder-blocks-core@5.2.2
230
256
 
231
257
  ## 2.0.11
232
258
 
233
259
  ### Patch Changes
234
260
 
235
- - Updated dependencies [5a1ea891]
236
- - Updated dependencies [df9a10aa]
237
- - @khanacademy/wonder-blocks-core@5.2.1
261
+ - Updated dependencies [5a1ea891]
262
+ - Updated dependencies [df9a10aa]
263
+ - @khanacademy/wonder-blocks-core@5.2.1
238
264
 
239
265
  ## 2.0.10
240
266
 
241
267
  ### Patch Changes
242
268
 
243
- - Updated dependencies [fa70c895]
244
- - Updated dependencies [19ab0408]
245
- - Updated dependencies [fa70c895]
246
- - @khanacademy/wonder-blocks-core@5.2.0
269
+ - Updated dependencies [fa70c895]
270
+ - Updated dependencies [19ab0408]
271
+ - Updated dependencies [fa70c895]
272
+ - @khanacademy/wonder-blocks-core@5.2.0
247
273
 
248
274
  ## 2.0.9
249
275
 
250
276
  ### Patch Changes
251
277
 
252
- - Updated dependencies [3c400719]
253
- - Updated dependencies [a6164ed0]
254
- - @khanacademy/wonder-blocks-core@5.1.0
278
+ - Updated dependencies [3c400719]
279
+ - Updated dependencies [a6164ed0]
280
+ - @khanacademy/wonder-blocks-core@5.1.0
255
281
 
256
282
  ## 2.0.8
257
283
 
@@ -261,9 +287,9 @@
261
287
 
262
288
  ### Patch Changes
263
289
 
264
- - c20f48f3: Don't transpile classes when building bundles
265
- - Updated dependencies [c20f48f3]
266
- - @khanacademy/wonder-blocks-core@5.0.4
290
+ - c20f48f3: Don't transpile classes when building bundles
291
+ - Updated dependencies [c20f48f3]
292
+ - @khanacademy/wonder-blocks-core@5.0.4
267
293
 
268
294
  ## 2.0.5
269
295
 
@@ -273,163 +299,163 @@
273
299
 
274
300
  ### Patch Changes
275
301
 
276
- - Updated dependencies [b281e2eb]
277
- - @khanacademy/wonder-blocks-core@5.0.3
302
+ - Updated dependencies [b281e2eb]
303
+ - @khanacademy/wonder-blocks-core@5.0.3
278
304
 
279
305
  ## 2.0.2
280
306
 
281
307
  ### Patch Changes
282
308
 
283
- - Updated dependencies [21ce20c7]
284
- - @khanacademy/wonder-blocks-core@5.0.2
309
+ - Updated dependencies [21ce20c7]
310
+ - @khanacademy/wonder-blocks-core@5.0.2
285
311
 
286
312
  ## 2.0.1
287
313
 
288
314
  ### Patch Changes
289
315
 
290
- - ccb6fe00: Miscellaneous TS type fixes
291
- - d4c2b18c: Fix a variety of issues with Flow types generated by flowgen
292
- - Updated dependencies [ccb6fe00]
293
- - Updated dependencies [d4c2b18c]
294
- - @khanacademy/wonder-blocks-core@5.0.1
316
+ - ccb6fe00: Miscellaneous TS type fixes
317
+ - d4c2b18c: Fix a variety of issues with Flow types generated by flowgen
318
+ - Updated dependencies [ccb6fe00]
319
+ - Updated dependencies [d4c2b18c]
320
+ - @khanacademy/wonder-blocks-core@5.0.1
295
321
 
296
322
  ## 2.0.0
297
323
 
298
324
  ### Major Changes
299
325
 
300
- - 1ca4d7e3: Fix minor issue with generate Flow types (this is a major bump b/c I forgot to do one after doing the TS conversion)
326
+ - 1ca4d7e3: Fix minor issue with generate Flow types (this is a major bump b/c I forgot to do one after doing the TS conversion)
301
327
 
302
328
  ### Patch Changes
303
329
 
304
- - Updated dependencies [1ca4d7e3]
305
- - @khanacademy/wonder-blocks-core@5.0.0
330
+ - Updated dependencies [1ca4d7e3]
331
+ - @khanacademy/wonder-blocks-core@5.0.0
306
332
 
307
333
  ## 1.2.40
308
334
 
309
335
  ### Patch Changes
310
336
 
311
- - b5ba5568: Ensure that flow lib defs use React.ElementConfig<> isntead of JSX.LibraryManagedAttributes<>
312
- - Updated dependencies [b5ba5568]
313
- - @khanacademy/wonder-blocks-core@4.9.1
337
+ - b5ba5568: Ensure that flow lib defs use React.ElementConfig<> isntead of JSX.LibraryManagedAttributes<>
338
+ - Updated dependencies [b5ba5568]
339
+ - @khanacademy/wonder-blocks-core@4.9.1
314
340
 
315
341
  ## 1.2.39
316
342
 
317
343
  ### Patch Changes
318
344
 
319
- - Updated dependencies [779b031d]
320
- - @khanacademy/wonder-blocks-core@4.9.0
345
+ - Updated dependencies [779b031d]
346
+ - @khanacademy/wonder-blocks-core@4.9.0
321
347
 
322
348
  ## 1.2.38
323
349
 
324
350
  ### Patch Changes
325
351
 
326
- - d816af08: Update build and test configs use TypeScript
327
- - 3891f544: Update babel config to include plugins that Storybook needed
328
- - 3813715d: Update wonder-stuff dependencies (non-functional changes)
329
- - 0d28bb1c: Configured TypeScript
330
- - 3d05f764: Fix HOCs and other type errors
331
- - c2ec4902: Update eslint configuration, fix lint
332
- - 2983c05b: Include 'types' field in package.json
333
- - 77ff6a66: Generate Flow types from TypeScript types
334
- - ec8d4b7f: Fix miscellaneous TypeScript errors
335
- - Updated dependencies [d816af08]
336
- - Updated dependencies [3891f544]
337
- - Updated dependencies [0d28bb1c]
338
- - Updated dependencies [873f4a14]
339
- - Updated dependencies [3d05f764]
340
- - Updated dependencies [c2ec4902]
341
- - Updated dependencies [2983c05b]
342
- - Updated dependencies [77ff6a66]
343
- - Updated dependencies [ec8d4b7f]
344
- - @khanacademy/wonder-blocks-core@4.8.0
352
+ - d816af08: Update build and test configs use TypeScript
353
+ - 3891f544: Update babel config to include plugins that Storybook needed
354
+ - 3813715d: Update wonder-stuff dependencies (non-functional changes)
355
+ - 0d28bb1c: Configured TypeScript
356
+ - 3d05f764: Fix HOCs and other type errors
357
+ - c2ec4902: Update eslint configuration, fix lint
358
+ - 2983c05b: Include 'types' field in package.json
359
+ - 77ff6a66: Generate Flow types from TypeScript types
360
+ - ec8d4b7f: Fix miscellaneous TypeScript errors
361
+ - Updated dependencies [d816af08]
362
+ - Updated dependencies [3891f544]
363
+ - Updated dependencies [0d28bb1c]
364
+ - Updated dependencies [873f4a14]
365
+ - Updated dependencies [3d05f764]
366
+ - Updated dependencies [c2ec4902]
367
+ - Updated dependencies [2983c05b]
368
+ - Updated dependencies [77ff6a66]
369
+ - Updated dependencies [ec8d4b7f]
370
+ - @khanacademy/wonder-blocks-core@4.8.0
345
371
 
346
372
  ## 1.2.37
347
373
 
348
374
  ### Patch Changes
349
375
 
350
- - 91cb727c: Update wonder-stuff dependencies
351
- - 91cb727c: Remove file extensions from imports
352
- - Updated dependencies [91cb727c]
353
- - Updated dependencies [91cb727c]
354
- - @khanacademy/wonder-blocks-core@4.7.0
376
+ - 91cb727c: Update wonder-stuff dependencies
377
+ - 91cb727c: Remove file extensions from imports
378
+ - Updated dependencies [91cb727c]
379
+ - Updated dependencies [91cb727c]
380
+ - @khanacademy/wonder-blocks-core@4.7.0
355
381
 
356
382
  ## 1.2.36
357
383
 
358
384
  ### Patch Changes
359
385
 
360
- - 1a5624d4: Update wonder-stuff dependencies to use newly published packages after migrating wonder-stuff to TypeScript
386
+ - 1a5624d4: Update wonder-stuff dependencies to use newly published packages after migrating wonder-stuff to TypeScript
361
387
 
362
388
  ## 1.2.35
363
389
 
364
390
  ### Patch Changes
365
391
 
366
- - Updated dependencies [496119f2]
367
- - @khanacademy/wonder-blocks-core@4.6.2
392
+ - Updated dependencies [496119f2]
393
+ - @khanacademy/wonder-blocks-core@4.6.2
368
394
 
369
395
  ## 1.2.34
370
396
 
371
397
  ### Patch Changes
372
398
 
373
- - @khanacademy/wonder-blocks-core@4.6.1
399
+ - @khanacademy/wonder-blocks-core@4.6.1
374
400
 
375
401
  ## 1.2.33
376
402
 
377
403
  ### Patch Changes
378
404
 
379
- - Updated dependencies [b561425a]
380
- - Updated dependencies [a566e232]
381
- - Updated dependencies [d2b21a6e]
382
- - @khanacademy/wonder-blocks-core@4.6.0
405
+ - Updated dependencies [b561425a]
406
+ - Updated dependencies [a566e232]
407
+ - Updated dependencies [d2b21a6e]
408
+ - @khanacademy/wonder-blocks-core@4.6.0
383
409
 
384
410
  ## 1.2.32
385
411
 
386
412
  ### Patch Changes
387
413
 
388
- - Updated dependencies [175a2dd2]
389
- - @khanacademy/wonder-blocks-core@4.5.0
414
+ - Updated dependencies [175a2dd2]
415
+ - @khanacademy/wonder-blocks-core@4.5.0
390
416
 
391
417
  ## 1.2.31
392
418
 
393
419
  ### Patch Changes
394
420
 
395
- - 3bae2aba: Improves the flow types for the 'icons' dict so that flow will detected misspelled keys
421
+ - 3bae2aba: Improves the flow types for the 'icons' dict so that flow will detected misspelled keys
396
422
 
397
423
  ## 1.2.30
398
424
 
399
425
  ### Patch Changes
400
426
 
401
- - Updated dependencies [6ee20af9]
402
- - @khanacademy/wonder-blocks-core@4.4.0
427
+ - Updated dependencies [6ee20af9]
428
+ - @khanacademy/wonder-blocks-core@4.4.0
403
429
 
404
430
  ## 1.2.29
405
431
 
406
432
  ### Patch Changes
407
433
 
408
- - 83486dba: Setting data-test-id attribute based on testId prop
434
+ - 83486dba: Setting data-test-id attribute based on testId prop
409
435
 
410
436
  ## 1.2.28
411
437
 
412
438
  ### Patch Changes
413
439
 
414
- - Updated dependencies [5f4a4297]
415
- - Updated dependencies [2b96fd59]
416
- - @khanacademy/wonder-blocks-core@4.3.2
440
+ - Updated dependencies [5f4a4297]
441
+ - Updated dependencies [2b96fd59]
442
+ - @khanacademy/wonder-blocks-core@4.3.2
417
443
 
418
444
  ## 1.2.27
419
445
 
420
446
  ### Patch Changes
421
447
 
422
- - @khanacademy/wonder-blocks-core@4.3.1
448
+ - @khanacademy/wonder-blocks-core@4.3.1
423
449
 
424
450
  ## 1.2.26
425
451
 
426
452
  ### Patch Changes
427
453
 
428
- - Updated dependencies [246a921d]
429
- - @khanacademy/wonder-blocks-core@4.3.0
454
+ - Updated dependencies [246a921d]
455
+ - @khanacademy/wonder-blocks-core@4.3.0
430
456
 
431
457
  ## 1.2.25
432
458
 
433
459
  ### Patch Changes
434
460
 
435
- - @khanacademy/wonder-blocks-core@4.2.1
461
+ - @khanacademy/wonder-blocks-core@4.2.1
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 Khan Academy
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/es/index.js CHANGED
@@ -12,7 +12,7 @@ const viewportPixelsForSize = size => ({
12
12
  })[size];
13
13
 
14
14
  const _excluded = ["color", "icon", "size", "style", "testId", "className", "role"];
15
- const StyledIcon = addStyle("span");
15
+ const StyledSpan = addStyle("span");
16
16
  const PhosphorIcon = React.forwardRef(function PhosphorIcon(props, ref) {
17
17
  const {
18
18
  color = "currentColor",
@@ -27,7 +27,7 @@ const PhosphorIcon = React.forwardRef(function PhosphorIcon(props, ref) {
27
27
  const pixelSize = viewportPixelsForSize(size);
28
28
  const classNames = `${className != null ? className : ""}`;
29
29
  const iconStyles = _generateStyles(color, pixelSize);
30
- return React.createElement(StyledIcon, _extends({}, sharedProps, {
30
+ return React.createElement(StyledSpan, _extends({}, sharedProps, {
31
31
  className: classNames,
32
32
  style: [styles.svg, iconStyles.icon, {
33
33
  maskImage: `url(${icon})`
package/dist/index.js CHANGED
@@ -40,7 +40,7 @@ const viewportPixelsForSize = size => ({
40
40
  })[size];
41
41
 
42
42
  const _excluded = ["color", "icon", "size", "style", "testId", "className", "role"];
43
- const StyledIcon = wonderBlocksCore.addStyle("span");
43
+ const StyledSpan = wonderBlocksCore.addStyle("span");
44
44
  const PhosphorIcon = React__namespace.forwardRef(function PhosphorIcon(props, ref) {
45
45
  const {
46
46
  color = "currentColor",
@@ -55,7 +55,7 @@ const PhosphorIcon = React__namespace.forwardRef(function PhosphorIcon(props, re
55
55
  const pixelSize = viewportPixelsForSize(size);
56
56
  const classNames = `${className != null ? className : ""}`;
57
57
  const iconStyles = _generateStyles(color, pixelSize);
58
- return React__namespace.createElement(StyledIcon, _extends__default["default"]({}, sharedProps, {
58
+ return React__namespace.createElement(StyledSpan, _extends__default["default"]({}, sharedProps, {
59
59
  className: classNames,
60
60
  style: [styles.svg, iconStyles.icon, {
61
61
  maskImage: `url(${icon})`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-icon",
3
- "version": "5.0.6",
3
+ "version": "5.1.1",
4
4
  "design": "v1",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -9,23 +9,21 @@
9
9
  "main": "dist/index.js",
10
10
  "module": "dist/es/index.js",
11
11
  "types": "dist/index.d.ts",
12
- "scripts": {
13
- "test": "echo \"Error: no test specified\" && exit 1",
14
- "prepublishOnly": "../../utils/publish/package-pre-publish-check.sh"
15
- },
16
12
  "author": "",
17
13
  "license": "MIT",
18
14
  "dependencies": {
19
- "@babel/runtime": "^7.18.6",
20
- "@khanacademy/wonder-blocks-core": "^12.0.0"
15
+ "@babel/runtime": "^7.24.5",
16
+ "@khanacademy/wonder-blocks-core": "12.1.1"
21
17
  },
22
18
  "devDependencies": {
23
- "@khanacademy/wonder-stuff-core": "^1.4.2",
24
- "@khanacademy/wb-dev-build-settings": "^2.0.0"
19
+ "@khanacademy/wb-dev-build-settings": "2.1.1"
25
20
  },
26
21
  "peerDependencies": {
27
22
  "@phosphor-icons/core": "^2.0.2",
28
23
  "aphrodite": "^1.2.5",
29
24
  "react": "18.2.0"
25
+ },
26
+ "scripts": {
27
+ "test": "echo \"Error: no test specified\" && exit 1"
30
28
  }
31
29
  }