@khanacademy/wonder-blocks-icon 5.0.6 → 5.1.0

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