@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 +170 -144
- package/LICENSE +21 -0
- package/dist/es/index.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +7 -9
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
|
-
-
|
|
8
|
-
-
|
|
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
|
-
-
|
|
15
|
-
-
|
|
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
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
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
|
-
-
|
|
30
|
-
-
|
|
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
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
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
|
-
-
|
|
46
|
-
-
|
|
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
|
-
-
|
|
78
|
+
- e6abdd17: Upgrade to React 18
|
|
53
79
|
|
|
54
80
|
### Patch Changes
|
|
55
81
|
|
|
56
|
-
-
|
|
57
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
70
|
-
-
|
|
71
|
-
-
|
|
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
|
-
-
|
|
78
|
-
-
|
|
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
|
-
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
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
|
-
-
|
|
93
|
-
-
|
|
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
|
-
-
|
|
100
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
111
|
-
-
|
|
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
|
-
-
|
|
118
|
-
-
|
|
119
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
138
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
151
|
-
-
|
|
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
|
-
-
|
|
158
|
-
-
|
|
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
|
-
-
|
|
165
|
-
-
|
|
166
|
-
-
|
|
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
|
-
-
|
|
173
|
-
-
|
|
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
|
-
-
|
|
180
|
-
-
|
|
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
|
-
-
|
|
187
|
-
-
|
|
188
|
-
-
|
|
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
|
-
-
|
|
195
|
-
|
|
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
|
-
-
|
|
200
|
-
-
|
|
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
|
-
-
|
|
207
|
-
-
|
|
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
|
-
-
|
|
214
|
-
-
|
|
215
|
-
-
|
|
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
|
-
-
|
|
222
|
-
-
|
|
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
|
-
-
|
|
229
|
-
-
|
|
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
|
-
-
|
|
236
|
-
-
|
|
237
|
-
-
|
|
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
|
-
-
|
|
244
|
-
-
|
|
245
|
-
-
|
|
246
|
-
-
|
|
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
|
-
-
|
|
253
|
-
-
|
|
254
|
-
-
|
|
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
|
-
-
|
|
265
|
-
-
|
|
266
|
-
-
|
|
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
|
-
-
|
|
277
|
-
-
|
|
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
|
-
-
|
|
284
|
-
-
|
|
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
|
-
-
|
|
291
|
-
-
|
|
292
|
-
-
|
|
293
|
-
-
|
|
294
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
305
|
-
-
|
|
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
|
-
-
|
|
312
|
-
-
|
|
313
|
-
-
|
|
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
|
-
-
|
|
320
|
-
-
|
|
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
|
-
-
|
|
327
|
-
-
|
|
328
|
-
-
|
|
329
|
-
-
|
|
330
|
-
-
|
|
331
|
-
-
|
|
332
|
-
-
|
|
333
|
-
-
|
|
334
|
-
-
|
|
335
|
-
-
|
|
336
|
-
-
|
|
337
|
-
-
|
|
338
|
-
-
|
|
339
|
-
-
|
|
340
|
-
-
|
|
341
|
-
-
|
|
342
|
-
-
|
|
343
|
-
-
|
|
344
|
-
-
|
|
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
|
-
-
|
|
351
|
-
-
|
|
352
|
-
-
|
|
353
|
-
-
|
|
354
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
367
|
-
-
|
|
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
|
-
-
|
|
399
|
+
- @khanacademy/wonder-blocks-core@4.6.1
|
|
374
400
|
|
|
375
401
|
## 1.2.33
|
|
376
402
|
|
|
377
403
|
### Patch Changes
|
|
378
404
|
|
|
379
|
-
-
|
|
380
|
-
-
|
|
381
|
-
-
|
|
382
|
-
-
|
|
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
|
-
-
|
|
389
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
402
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
415
|
-
-
|
|
416
|
-
-
|
|
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
|
-
-
|
|
448
|
+
- @khanacademy/wonder-blocks-core@4.3.1
|
|
423
449
|
|
|
424
450
|
## 1.2.26
|
|
425
451
|
|
|
426
452
|
### Patch Changes
|
|
427
453
|
|
|
428
|
-
-
|
|
429
|
-
-
|
|
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
|
-
-
|
|
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
|
|
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(
|
|
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
|
|
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(
|
|
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.
|
|
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.
|
|
20
|
-
"@khanacademy/wonder-blocks-core": "
|
|
15
|
+
"@babel/runtime": "^7.24.5",
|
|
16
|
+
"@khanacademy/wonder-blocks-core": "12.1.1"
|
|
21
17
|
},
|
|
22
18
|
"devDependencies": {
|
|
23
|
-
"@khanacademy/
|
|
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
|
}
|