@khanacademy/wonder-blocks-breadcrumbs 3.0.8 → 3.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 +197 -178
- package/LICENSE +21 -0
- package/dist/es/index.js +4 -4
- package/dist/index.js +11 -18
- package/package.json +8 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,306 +1,325 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-breadcrumbs
|
|
2
2
|
|
|
3
|
+
## 3.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
|
+
- @khanacademy/wonder-blocks-tokens@4.2.0
|
|
21
|
+
|
|
3
22
|
## 3.0.8
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
6
25
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
26
|
+
- Updated dependencies [0199324d]
|
|
27
|
+
- @khanacademy/wonder-blocks-core@12.0.0
|
|
9
28
|
|
|
10
29
|
## 3.0.7
|
|
11
30
|
|
|
12
31
|
### Patch Changes
|
|
13
32
|
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
33
|
+
- Updated dependencies [8cfaeab0]
|
|
34
|
+
- Updated dependencies [c162abb4]
|
|
35
|
+
- @khanacademy/wonder-blocks-tokens@4.1.0
|
|
17
36
|
|
|
18
37
|
## 3.0.6
|
|
19
38
|
|
|
20
39
|
### Patch Changes
|
|
21
40
|
|
|
22
|
-
-
|
|
23
|
-
-
|
|
41
|
+
- Updated dependencies [0de25cd8]
|
|
42
|
+
- @khanacademy/wonder-blocks-tokens@4.0.0
|
|
24
43
|
|
|
25
44
|
## 3.0.5
|
|
26
45
|
|
|
27
46
|
### Patch Changes
|
|
28
47
|
|
|
29
|
-
-
|
|
30
|
-
-
|
|
48
|
+
- Updated dependencies [7516b239]
|
|
49
|
+
- @khanacademy/wonder-blocks-core@11.1.0
|
|
31
50
|
|
|
32
51
|
## 3.0.4
|
|
33
52
|
|
|
34
53
|
### Patch Changes
|
|
35
54
|
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
55
|
+
- 11a0f5c6: No functional changes. Adding prepublishOnly script.
|
|
56
|
+
- Updated dependencies [11a0f5c6]
|
|
57
|
+
- @khanacademy/wonder-blocks-tokens@3.0.1
|
|
58
|
+
- @khanacademy/wonder-blocks-core@11.0.1
|
|
40
59
|
|
|
41
60
|
## 3.0.3
|
|
42
61
|
|
|
43
62
|
### Patch Changes
|
|
44
63
|
|
|
45
|
-
-
|
|
46
|
-
-
|
|
64
|
+
- Updated dependencies [d23c9c5f]
|
|
65
|
+
- @khanacademy/wonder-blocks-core@11.0.0
|
|
47
66
|
|
|
48
67
|
## 3.0.2
|
|
49
68
|
|
|
50
69
|
### Patch Changes
|
|
51
70
|
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
71
|
+
- Updated dependencies [b6009b77]
|
|
72
|
+
- Updated dependencies [897686bc]
|
|
73
|
+
- Updated dependencies [56d961f1]
|
|
74
|
+
- @khanacademy/wonder-blocks-core@10.0.0
|
|
56
75
|
|
|
57
76
|
## 3.0.1
|
|
58
77
|
|
|
59
78
|
### Patch Changes
|
|
60
79
|
|
|
61
|
-
-
|
|
62
|
-
-
|
|
80
|
+
- Updated dependencies [f4abd572]
|
|
81
|
+
- @khanacademy/wonder-blocks-core@9.0.0
|
|
63
82
|
|
|
64
83
|
## 3.0.0
|
|
65
84
|
|
|
66
85
|
### Major Changes
|
|
67
86
|
|
|
68
|
-
-
|
|
87
|
+
- e6abdd17: Upgrade to React 18
|
|
69
88
|
|
|
70
89
|
### Patch Changes
|
|
71
90
|
|
|
72
|
-
-
|
|
73
|
-
-
|
|
74
|
-
-
|
|
91
|
+
- Updated dependencies [e6abdd17]
|
|
92
|
+
- @khanacademy/wonder-blocks-core@8.0.0
|
|
93
|
+
- @khanacademy/wonder-blocks-tokens@3.0.0
|
|
75
94
|
|
|
76
95
|
## 2.2.8
|
|
77
96
|
|
|
78
97
|
### Patch Changes
|
|
79
98
|
|
|
80
|
-
-
|
|
81
|
-
-
|
|
99
|
+
- Updated dependencies [6999fd39]
|
|
100
|
+
- @khanacademy/wonder-blocks-tokens@2.1.0
|
|
82
101
|
|
|
83
102
|
## 2.2.7
|
|
84
103
|
|
|
85
104
|
### Patch Changes
|
|
86
105
|
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
-
|
|
106
|
+
- 02a1b298: Make sure we don't package tsconfig and tsbuildinfo files
|
|
107
|
+
- Updated dependencies [02a1b298]
|
|
108
|
+
- @khanacademy/wonder-blocks-core@7.0.1
|
|
109
|
+
- @khanacademy/wonder-blocks-tokens@2.0.1
|
|
91
110
|
|
|
92
111
|
## 2.2.6
|
|
93
112
|
|
|
94
113
|
### Patch Changes
|
|
95
114
|
|
|
96
|
-
-
|
|
97
|
-
-
|
|
115
|
+
- Updated dependencies [07f7f407]
|
|
116
|
+
- @khanacademy/wonder-blocks-core@7.0.0
|
|
98
117
|
|
|
99
118
|
## 2.2.5
|
|
100
119
|
|
|
101
120
|
### Patch Changes
|
|
102
121
|
|
|
103
|
-
-
|
|
104
|
-
-
|
|
105
|
-
-
|
|
122
|
+
- Updated dependencies [f17dc1ee]
|
|
123
|
+
- Updated dependencies [991eb43f]
|
|
124
|
+
- @khanacademy/wonder-blocks-tokens@2.0.0
|
|
106
125
|
|
|
107
126
|
## 2.2.4
|
|
108
127
|
|
|
109
128
|
### Patch Changes
|
|
110
129
|
|
|
111
|
-
-
|
|
112
|
-
-
|
|
113
|
-
-
|
|
114
|
-
-
|
|
130
|
+
- 559e82d5: Update to build tooling, generating smaller output
|
|
131
|
+
- Updated dependencies [559e82d5]
|
|
132
|
+
- @khanacademy/wonder-blocks-core@6.4.3
|
|
133
|
+
- @khanacademy/wonder-blocks-tokens@1.3.1
|
|
115
134
|
|
|
116
135
|
## 2.2.3
|
|
117
136
|
|
|
118
137
|
### Patch Changes
|
|
119
138
|
|
|
120
|
-
-
|
|
121
|
-
-
|
|
139
|
+
- Updated dependencies [eab37b8b]
|
|
140
|
+
- @khanacademy/wonder-blocks-core@6.4.2
|
|
122
141
|
|
|
123
142
|
## 2.2.2
|
|
124
143
|
|
|
125
144
|
### Patch Changes
|
|
126
145
|
|
|
127
|
-
-
|
|
128
|
-
-
|
|
146
|
+
- Updated dependencies [5dfac06e]
|
|
147
|
+
- @khanacademy/wonder-blocks-core@6.4.1
|
|
129
148
|
|
|
130
149
|
## 2.2.1
|
|
131
150
|
|
|
132
151
|
### Patch Changes
|
|
133
152
|
|
|
134
|
-
-
|
|
135
|
-
-
|
|
153
|
+
- Updated dependencies [9bfeead9]
|
|
154
|
+
- @khanacademy/wonder-blocks-tokens@1.3.0
|
|
136
155
|
|
|
137
156
|
## 2.2.0
|
|
138
157
|
|
|
139
158
|
### Minor Changes
|
|
140
159
|
|
|
141
|
-
-
|
|
160
|
+
- 58075352: Change testId to render the default Testing Library HTML attribute: data-testid (was data-test-id)
|
|
142
161
|
|
|
143
162
|
### Patch Changes
|
|
144
163
|
|
|
145
|
-
-
|
|
146
|
-
-
|
|
164
|
+
- Updated dependencies [58075352]
|
|
165
|
+
- @khanacademy/wonder-blocks-core@6.4.0
|
|
147
166
|
|
|
148
167
|
## 2.1.14
|
|
149
168
|
|
|
150
169
|
### Patch Changes
|
|
151
170
|
|
|
152
|
-
-
|
|
153
|
-
-
|
|
154
|
-
-
|
|
155
|
-
-
|
|
171
|
+
- Updated dependencies [874081aa]
|
|
172
|
+
- Updated dependencies [874081aa]
|
|
173
|
+
- Updated dependencies [a9bf603a]
|
|
174
|
+
- @khanacademy/wonder-blocks-tokens@1.2.0
|
|
156
175
|
|
|
157
176
|
## 2.1.13
|
|
158
177
|
|
|
159
178
|
### Patch Changes
|
|
160
179
|
|
|
161
|
-
-
|
|
162
|
-
-
|
|
180
|
+
- Updated dependencies [4cfb4977]
|
|
181
|
+
- @khanacademy/wonder-blocks-tokens@1.1.0
|
|
163
182
|
|
|
164
183
|
## 2.1.12
|
|
165
184
|
|
|
166
185
|
### Patch Changes
|
|
167
186
|
|
|
168
|
-
-
|
|
169
|
-
-
|
|
187
|
+
- Updated dependencies [e83f8991]
|
|
188
|
+
- @khanacademy/wonder-blocks-tokens@1.0.0
|
|
170
189
|
|
|
171
190
|
## 2.1.11
|
|
172
191
|
|
|
173
192
|
### Patch Changes
|
|
174
193
|
|
|
175
|
-
-
|
|
176
|
-
-
|
|
177
|
-
-
|
|
178
|
-
-
|
|
194
|
+
- 60aba5b8: Update internal spacing references (from wb-spacing to wb-tokens)
|
|
195
|
+
- Updated dependencies [7cd7f6cc]
|
|
196
|
+
- Updated dependencies [7c51f377]
|
|
197
|
+
- @khanacademy/wonder-blocks-tokens@0.2.0
|
|
179
198
|
|
|
180
199
|
## 2.1.10
|
|
181
200
|
|
|
182
201
|
### Patch Changes
|
|
183
202
|
|
|
184
|
-
-
|
|
185
|
-
-
|
|
203
|
+
- Updated dependencies [6df21f71]
|
|
204
|
+
- @khanacademy/wonder-blocks-core@6.3.1
|
|
186
205
|
|
|
187
206
|
## 2.1.9
|
|
188
207
|
|
|
189
208
|
### Patch Changes
|
|
190
209
|
|
|
191
|
-
-
|
|
192
|
-
-
|
|
210
|
+
- Updated dependencies [7055ca94]
|
|
211
|
+
- @khanacademy/wonder-blocks-core@6.3.0
|
|
193
212
|
|
|
194
213
|
## 2.1.8
|
|
195
214
|
|
|
196
215
|
### Patch Changes
|
|
197
216
|
|
|
198
|
-
-
|
|
199
|
-
-
|
|
217
|
+
- Updated dependencies [4b97b9a2]
|
|
218
|
+
- @khanacademy/wonder-blocks-core@6.2.0
|
|
200
219
|
|
|
201
220
|
## 2.1.7
|
|
202
221
|
|
|
203
222
|
### Patch Changes
|
|
204
223
|
|
|
205
|
-
-
|
|
206
|
-
-
|
|
224
|
+
- Updated dependencies [2871f0a9]
|
|
225
|
+
- @khanacademy/wonder-blocks-core@6.1.1
|
|
207
226
|
|
|
208
227
|
## 2.1.6
|
|
209
228
|
|
|
210
229
|
### Patch Changes
|
|
211
230
|
|
|
212
|
-
-
|
|
213
|
-
-
|
|
214
|
-
-
|
|
231
|
+
- Updated dependencies [efb59c29]
|
|
232
|
+
- Updated dependencies [8bc40ed2]
|
|
233
|
+
- @khanacademy/wonder-blocks-core@6.1.0
|
|
215
234
|
|
|
216
235
|
## 2.1.5
|
|
217
236
|
|
|
218
237
|
### Patch Changes
|
|
219
238
|
|
|
220
|
-
-
|
|
221
|
-
-
|
|
239
|
+
- Updated dependencies [f19da46e]
|
|
240
|
+
- @khanacademy/wonder-blocks-core@6.0.2
|
|
222
241
|
|
|
223
242
|
## 2.1.4
|
|
224
243
|
|
|
225
244
|
### Patch Changes
|
|
226
245
|
|
|
227
|
-
-
|
|
228
|
-
-
|
|
246
|
+
- Updated dependencies [1920feb8]
|
|
247
|
+
- @khanacademy/wonder-blocks-core@6.0.1
|
|
229
248
|
|
|
230
249
|
## 2.1.3
|
|
231
250
|
|
|
232
251
|
### Patch Changes
|
|
233
252
|
|
|
234
|
-
-
|
|
235
|
-
-
|
|
236
|
-
-
|
|
253
|
+
- Updated dependencies [674a1e5c]
|
|
254
|
+
- Updated dependencies [674a1e5c]
|
|
255
|
+
- @khanacademy/wonder-blocks-core@6.0.0
|
|
237
256
|
|
|
238
257
|
## 2.1.2
|
|
239
258
|
|
|
240
259
|
### Patch Changes
|
|
241
260
|
|
|
242
|
-
-
|
|
243
|
-
-
|
|
261
|
+
- Updated dependencies [1344436f]
|
|
262
|
+
- @khanacademy/wonder-blocks-core@5.4.0
|
|
244
263
|
|
|
245
264
|
## 2.1.1
|
|
246
265
|
|
|
247
266
|
### Patch Changes
|
|
248
267
|
|
|
249
|
-
-
|
|
250
|
-
-
|
|
251
|
-
-
|
|
268
|
+
- 9f3752d4: Used named functions in componenets with forwarded refs
|
|
269
|
+
- Updated dependencies [9f3752d4]
|
|
270
|
+
- @khanacademy/wonder-blocks-core@5.3.1
|
|
252
271
|
|
|
253
272
|
## 2.1.0
|
|
254
273
|
|
|
255
274
|
### Minor Changes
|
|
256
275
|
|
|
257
|
-
-
|
|
258
|
-
-
|
|
276
|
+
- c0b558f9: Forward refs in BreadcrumbsItem
|
|
277
|
+
- 9800fbf7: Forward refs in Breacrumbs
|
|
259
278
|
|
|
260
279
|
### Patch Changes
|
|
261
280
|
|
|
262
|
-
-
|
|
263
|
-
-
|
|
264
|
-
-
|
|
281
|
+
- Updated dependencies [c37b99aa]
|
|
282
|
+
- Updated dependencies [c4cef3e6]
|
|
283
|
+
- @khanacademy/wonder-blocks-core@5.3.0
|
|
265
284
|
|
|
266
285
|
## 2.0.13
|
|
267
286
|
|
|
268
287
|
### Patch Changes
|
|
269
288
|
|
|
270
|
-
-
|
|
271
|
-
-
|
|
289
|
+
- Updated dependencies [d4c412b5]
|
|
290
|
+
- @khanacademy/wonder-blocks-core@5.2.3
|
|
272
291
|
|
|
273
292
|
## 2.0.12
|
|
274
293
|
|
|
275
294
|
### Patch Changes
|
|
276
295
|
|
|
277
|
-
-
|
|
278
|
-
-
|
|
296
|
+
- Updated dependencies [64a188e3]
|
|
297
|
+
- @khanacademy/wonder-blocks-core@5.2.2
|
|
279
298
|
|
|
280
299
|
## 2.0.11
|
|
281
300
|
|
|
282
301
|
### Patch Changes
|
|
283
302
|
|
|
284
|
-
-
|
|
285
|
-
-
|
|
286
|
-
-
|
|
303
|
+
- Updated dependencies [5a1ea891]
|
|
304
|
+
- Updated dependencies [df9a10aa]
|
|
305
|
+
- @khanacademy/wonder-blocks-core@5.2.1
|
|
287
306
|
|
|
288
307
|
## 2.0.10
|
|
289
308
|
|
|
290
309
|
### Patch Changes
|
|
291
310
|
|
|
292
|
-
-
|
|
293
|
-
-
|
|
294
|
-
-
|
|
295
|
-
-
|
|
311
|
+
- Updated dependencies [fa70c895]
|
|
312
|
+
- Updated dependencies [19ab0408]
|
|
313
|
+
- Updated dependencies [fa70c895]
|
|
314
|
+
- @khanacademy/wonder-blocks-core@5.2.0
|
|
296
315
|
|
|
297
316
|
## 2.0.9
|
|
298
317
|
|
|
299
318
|
### Patch Changes
|
|
300
319
|
|
|
301
|
-
-
|
|
302
|
-
-
|
|
303
|
-
-
|
|
320
|
+
- Updated dependencies [3c400719]
|
|
321
|
+
- Updated dependencies [a6164ed0]
|
|
322
|
+
- @khanacademy/wonder-blocks-core@5.1.0
|
|
304
323
|
|
|
305
324
|
## 2.0.8
|
|
306
325
|
|
|
@@ -310,9 +329,9 @@
|
|
|
310
329
|
|
|
311
330
|
### Patch Changes
|
|
312
331
|
|
|
313
|
-
-
|
|
314
|
-
-
|
|
315
|
-
-
|
|
332
|
+
- c20f48f3: Don't transpile classes when building bundles
|
|
333
|
+
- Updated dependencies [c20f48f3]
|
|
334
|
+
- @khanacademy/wonder-blocks-core@5.0.4
|
|
316
335
|
|
|
317
336
|
## 2.0.5
|
|
318
337
|
|
|
@@ -322,163 +341,163 @@
|
|
|
322
341
|
|
|
323
342
|
### Patch Changes
|
|
324
343
|
|
|
325
|
-
-
|
|
326
|
-
-
|
|
344
|
+
- Updated dependencies [b281e2eb]
|
|
345
|
+
- @khanacademy/wonder-blocks-core@5.0.3
|
|
327
346
|
|
|
328
347
|
## 2.0.2
|
|
329
348
|
|
|
330
349
|
### Patch Changes
|
|
331
350
|
|
|
332
|
-
-
|
|
333
|
-
-
|
|
351
|
+
- Updated dependencies [21ce20c7]
|
|
352
|
+
- @khanacademy/wonder-blocks-core@5.0.2
|
|
334
353
|
|
|
335
354
|
## 2.0.1
|
|
336
355
|
|
|
337
356
|
### Patch Changes
|
|
338
357
|
|
|
339
|
-
-
|
|
340
|
-
-
|
|
341
|
-
-
|
|
342
|
-
-
|
|
343
|
-
-
|
|
344
|
-
-
|
|
358
|
+
- ccb6fe00: Miscellaneous TS type fixes
|
|
359
|
+
- d4c2b18c: Fix a variety of issues with Flow types generated by flowgen
|
|
360
|
+
- Updated dependencies [ccb6fe00]
|
|
361
|
+
- Updated dependencies [d4c2b18c]
|
|
362
|
+
- @khanacademy/wonder-blocks-core@5.0.1
|
|
363
|
+
- @khanacademy/wonder-blocks-spacing@4.0.1
|
|
345
364
|
|
|
346
365
|
## 2.0.0
|
|
347
366
|
|
|
348
367
|
### Major Changes
|
|
349
368
|
|
|
350
|
-
-
|
|
369
|
+
- 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)
|
|
351
370
|
|
|
352
371
|
### Patch Changes
|
|
353
372
|
|
|
354
|
-
-
|
|
355
|
-
-
|
|
356
|
-
-
|
|
373
|
+
- Updated dependencies [1ca4d7e3]
|
|
374
|
+
- @khanacademy/wonder-blocks-core@5.0.0
|
|
375
|
+
- @khanacademy/wonder-blocks-spacing@4.0.0
|
|
357
376
|
|
|
358
377
|
## 1.0.41
|
|
359
378
|
|
|
360
379
|
### Patch Changes
|
|
361
380
|
|
|
362
|
-
-
|
|
363
|
-
-
|
|
364
|
-
-
|
|
365
|
-
-
|
|
381
|
+
- b5ba5568: Ensure that flow lib defs use React.ElementConfig<> isntead of JSX.LibraryManagedAttributes<>
|
|
382
|
+
- Updated dependencies [b5ba5568]
|
|
383
|
+
- @khanacademy/wonder-blocks-core@4.9.1
|
|
384
|
+
- @khanacademy/wonder-blocks-spacing@3.0.7
|
|
366
385
|
|
|
367
386
|
## 1.0.40
|
|
368
387
|
|
|
369
388
|
### Patch Changes
|
|
370
389
|
|
|
371
|
-
-
|
|
372
|
-
-
|
|
390
|
+
- Updated dependencies [779b031d]
|
|
391
|
+
- @khanacademy/wonder-blocks-core@4.9.0
|
|
373
392
|
|
|
374
393
|
## 1.0.39
|
|
375
394
|
|
|
376
395
|
### Patch Changes
|
|
377
396
|
|
|
378
|
-
-
|
|
379
|
-
-
|
|
380
|
-
-
|
|
381
|
-
-
|
|
382
|
-
-
|
|
383
|
-
-
|
|
384
|
-
-
|
|
385
|
-
-
|
|
386
|
-
-
|
|
387
|
-
-
|
|
388
|
-
-
|
|
389
|
-
-
|
|
390
|
-
-
|
|
391
|
-
-
|
|
392
|
-
-
|
|
393
|
-
-
|
|
394
|
-
-
|
|
395
|
-
-
|
|
396
|
-
-
|
|
397
|
+
- d816af08: Update build and test configs use TypeScript
|
|
398
|
+
- 3891f544: Update babel config to include plugins that Storybook needed
|
|
399
|
+
- 0d28bb1c: Configured TypeScript
|
|
400
|
+
- 3d05f764: Fix HOCs and other type errors
|
|
401
|
+
- c2ec4902: Update eslint configuration, fix lint
|
|
402
|
+
- 2983c05b: Include 'types' field in package.json
|
|
403
|
+
- 77ff6a66: Generate Flow types from TypeScript types
|
|
404
|
+
- ec8d4b7f: Fix miscellaneous TypeScript errors
|
|
405
|
+
- Updated dependencies [d816af08]
|
|
406
|
+
- Updated dependencies [3891f544]
|
|
407
|
+
- Updated dependencies [0d28bb1c]
|
|
408
|
+
- Updated dependencies [873f4a14]
|
|
409
|
+
- Updated dependencies [3d05f764]
|
|
410
|
+
- Updated dependencies [c2ec4902]
|
|
411
|
+
- Updated dependencies [2983c05b]
|
|
412
|
+
- Updated dependencies [77ff6a66]
|
|
413
|
+
- Updated dependencies [ec8d4b7f]
|
|
414
|
+
- @khanacademy/wonder-blocks-core@4.8.0
|
|
415
|
+
- @khanacademy/wonder-blocks-spacing@3.0.6
|
|
397
416
|
|
|
398
417
|
## 1.0.38
|
|
399
418
|
|
|
400
419
|
### Patch Changes
|
|
401
420
|
|
|
402
|
-
-
|
|
403
|
-
-
|
|
404
|
-
-
|
|
405
|
-
-
|
|
421
|
+
- 91cb727c: Remove file extensions from imports
|
|
422
|
+
- Updated dependencies [91cb727c]
|
|
423
|
+
- Updated dependencies [91cb727c]
|
|
424
|
+
- @khanacademy/wonder-blocks-core@4.7.0
|
|
406
425
|
|
|
407
426
|
## 1.0.37
|
|
408
427
|
|
|
409
428
|
### Patch Changes
|
|
410
429
|
|
|
411
|
-
-
|
|
412
|
-
-
|
|
413
|
-
-
|
|
430
|
+
- 496119f2: Cleanup WB interdependencies
|
|
431
|
+
- Updated dependencies [496119f2]
|
|
432
|
+
- @khanacademy/wonder-blocks-core@4.6.2
|
|
414
433
|
|
|
415
434
|
## 1.0.36
|
|
416
435
|
|
|
417
436
|
### Patch Changes
|
|
418
437
|
|
|
419
|
-
-
|
|
420
|
-
-
|
|
438
|
+
- @khanacademy/wonder-blocks-core@4.6.1
|
|
439
|
+
- @khanacademy/wonder-blocks-typography@1.1.36
|
|
421
440
|
|
|
422
441
|
## 1.0.35
|
|
423
442
|
|
|
424
443
|
### Patch Changes
|
|
425
444
|
|
|
426
|
-
-
|
|
427
|
-
-
|
|
428
|
-
-
|
|
429
|
-
-
|
|
430
|
-
-
|
|
445
|
+
- Updated dependencies [b561425a]
|
|
446
|
+
- Updated dependencies [a566e232]
|
|
447
|
+
- Updated dependencies [d2b21a6e]
|
|
448
|
+
- @khanacademy/wonder-blocks-core@4.6.0
|
|
449
|
+
- @khanacademy/wonder-blocks-typography@1.1.35
|
|
431
450
|
|
|
432
451
|
## 1.0.34
|
|
433
452
|
|
|
434
453
|
### Patch Changes
|
|
435
454
|
|
|
436
|
-
-
|
|
437
|
-
-
|
|
438
|
-
-
|
|
455
|
+
- Updated dependencies [175a2dd2]
|
|
456
|
+
- @khanacademy/wonder-blocks-core@4.5.0
|
|
457
|
+
- @khanacademy/wonder-blocks-typography@1.1.34
|
|
439
458
|
|
|
440
459
|
## 1.0.33
|
|
441
460
|
|
|
442
461
|
### Patch Changes
|
|
443
462
|
|
|
444
|
-
-
|
|
445
|
-
-
|
|
446
|
-
-
|
|
463
|
+
- Updated dependencies [6ee20af9]
|
|
464
|
+
- @khanacademy/wonder-blocks-core@4.4.0
|
|
465
|
+
- @khanacademy/wonder-blocks-typography@1.1.33
|
|
447
466
|
|
|
448
467
|
## 1.0.32
|
|
449
468
|
|
|
450
469
|
### Patch Changes
|
|
451
470
|
|
|
452
|
-
-
|
|
453
|
-
-
|
|
471
|
+
- Updated dependencies [34c7aacb]
|
|
472
|
+
- @khanacademy/wonder-blocks-color@1.2.0
|
|
454
473
|
|
|
455
474
|
## 1.0.31
|
|
456
475
|
|
|
457
476
|
### Patch Changes
|
|
458
477
|
|
|
459
|
-
-
|
|
460
|
-
-
|
|
461
|
-
-
|
|
462
|
-
-
|
|
478
|
+
- Updated dependencies [5f4a4297]
|
|
479
|
+
- Updated dependencies [2b96fd59]
|
|
480
|
+
- @khanacademy/wonder-blocks-core@4.3.2
|
|
481
|
+
- @khanacademy/wonder-blocks-typography@1.1.32
|
|
463
482
|
|
|
464
483
|
## 1.0.30
|
|
465
484
|
|
|
466
485
|
### Patch Changes
|
|
467
486
|
|
|
468
|
-
-
|
|
469
|
-
-
|
|
487
|
+
- @khanacademy/wonder-blocks-core@4.3.1
|
|
488
|
+
- @khanacademy/wonder-blocks-typography@1.1.31
|
|
470
489
|
|
|
471
490
|
## 1.0.29
|
|
472
491
|
|
|
473
492
|
### Patch Changes
|
|
474
493
|
|
|
475
|
-
-
|
|
476
|
-
-
|
|
477
|
-
-
|
|
494
|
+
- Updated dependencies [246a921d]
|
|
495
|
+
- @khanacademy/wonder-blocks-core@4.3.0
|
|
496
|
+
- @khanacademy/wonder-blocks-typography@1.1.30
|
|
478
497
|
|
|
479
498
|
## 1.0.28
|
|
480
499
|
|
|
481
500
|
### Patch Changes
|
|
482
501
|
|
|
483
|
-
-
|
|
484
|
-
-
|
|
502
|
+
- @khanacademy/wonder-blocks-core@4.2.1
|
|
503
|
+
- @khanacademy/wonder-blocks-typography@1.1.29
|
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
|
@@ -6,7 +6,7 @@ import { addStyle } from '@khanacademy/wonder-blocks-core';
|
|
|
6
6
|
import { spacing } from '@khanacademy/wonder-blocks-tokens';
|
|
7
7
|
|
|
8
8
|
const _excluded$1 = ["aria-label", "children", "testId"];
|
|
9
|
-
const
|
|
9
|
+
const StyledOl = addStyle("ol");
|
|
10
10
|
const Breadcrumbs = React.forwardRef(function Breadcrumbs(props, ref) {
|
|
11
11
|
const {
|
|
12
12
|
"aria-label": ariaLabel = "Breadcrumbs",
|
|
@@ -19,7 +19,7 @@ const Breadcrumbs = React.forwardRef(function Breadcrumbs(props, ref) {
|
|
|
19
19
|
"aria-label": ariaLabel,
|
|
20
20
|
"data-testid": testId,
|
|
21
21
|
ref: ref
|
|
22
|
-
}), React.createElement(
|
|
22
|
+
}), React.createElement(StyledOl, {
|
|
23
23
|
style: styles$1.container
|
|
24
24
|
}, React.Children.map(children, (item, index) => {
|
|
25
25
|
const isLastChild = index === lastChildIndex;
|
|
@@ -40,7 +40,7 @@ const styles$1 = StyleSheet.create({
|
|
|
40
40
|
});
|
|
41
41
|
|
|
42
42
|
const _excluded = ["children", "showSeparator", "testId"];
|
|
43
|
-
const
|
|
43
|
+
const StyledLi = addStyle("li");
|
|
44
44
|
const StyledSvg = addStyle("svg");
|
|
45
45
|
const BreadcrumbsItem = React.forwardRef(function BreadcrumbsItem(props, ref) {
|
|
46
46
|
const {
|
|
@@ -62,7 +62,7 @@ const BreadcrumbsItem = React.forwardRef(function BreadcrumbsItem(props, ref) {
|
|
|
62
62
|
r: "1.5"
|
|
63
63
|
}));
|
|
64
64
|
};
|
|
65
|
-
return React.createElement(
|
|
65
|
+
return React.createElement(StyledLi, _extends({}, otherProps, {
|
|
66
66
|
style: styles.item,
|
|
67
67
|
"data-testid": testId,
|
|
68
68
|
ref: ref
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
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');
|
|
@@ -9,10 +7,7 @@ var aphrodite = require('aphrodite');
|
|
|
9
7
|
var wonderBlocksCore = require('@khanacademy/wonder-blocks-core');
|
|
10
8
|
var wonderBlocksTokens = require('@khanacademy/wonder-blocks-tokens');
|
|
11
9
|
|
|
12
|
-
function
|
|
13
|
-
|
|
14
|
-
function _interopNamespace(e) {
|
|
15
|
-
if (e && e.__esModule) return e;
|
|
10
|
+
function _interopNamespaceDefault(e) {
|
|
16
11
|
var n = Object.create(null);
|
|
17
12
|
if (e) {
|
|
18
13
|
Object.keys(e).forEach(function (k) {
|
|
@@ -25,33 +20,31 @@ function _interopNamespace(e) {
|
|
|
25
20
|
}
|
|
26
21
|
});
|
|
27
22
|
}
|
|
28
|
-
n
|
|
23
|
+
n.default = e;
|
|
29
24
|
return Object.freeze(n);
|
|
30
25
|
}
|
|
31
26
|
|
|
32
|
-
var
|
|
33
|
-
var _objectWithoutPropertiesLoose__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutPropertiesLoose);
|
|
34
|
-
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
27
|
+
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
35
28
|
|
|
36
29
|
const _excluded$1 = ["aria-label", "children", "testId"];
|
|
37
|
-
const
|
|
30
|
+
const StyledOl = wonderBlocksCore.addStyle("ol");
|
|
38
31
|
const Breadcrumbs = React__namespace.forwardRef(function Breadcrumbs(props, ref) {
|
|
39
32
|
const {
|
|
40
33
|
"aria-label": ariaLabel = "Breadcrumbs",
|
|
41
34
|
children,
|
|
42
35
|
testId
|
|
43
36
|
} = props,
|
|
44
|
-
otherProps =
|
|
37
|
+
otherProps = _objectWithoutPropertiesLoose(props, _excluded$1);
|
|
45
38
|
const lastChildIndex = React__namespace.Children.count(children) - 1;
|
|
46
|
-
return React__namespace.createElement("nav",
|
|
39
|
+
return React__namespace.createElement("nav", _extends({}, otherProps, {
|
|
47
40
|
"aria-label": ariaLabel,
|
|
48
41
|
"data-testid": testId,
|
|
49
42
|
ref: ref
|
|
50
|
-
}), React__namespace.createElement(
|
|
43
|
+
}), React__namespace.createElement(StyledOl, {
|
|
51
44
|
style: styles$1.container
|
|
52
45
|
}, React__namespace.Children.map(children, (item, index) => {
|
|
53
46
|
const isLastChild = index === lastChildIndex;
|
|
54
|
-
return React__namespace.cloneElement(item,
|
|
47
|
+
return React__namespace.cloneElement(item, _extends({}, item.props, {
|
|
55
48
|
showSeparator: !isLastChild,
|
|
56
49
|
["aria-current"]: isLastChild ? "page" : undefined
|
|
57
50
|
}));
|
|
@@ -68,7 +61,7 @@ const styles$1 = aphrodite.StyleSheet.create({
|
|
|
68
61
|
});
|
|
69
62
|
|
|
70
63
|
const _excluded = ["children", "showSeparator", "testId"];
|
|
71
|
-
const
|
|
64
|
+
const StyledLi = wonderBlocksCore.addStyle("li");
|
|
72
65
|
const StyledSvg = wonderBlocksCore.addStyle("svg");
|
|
73
66
|
const BreadcrumbsItem = React__namespace.forwardRef(function BreadcrumbsItem(props, ref) {
|
|
74
67
|
const {
|
|
@@ -76,7 +69,7 @@ const BreadcrumbsItem = React__namespace.forwardRef(function BreadcrumbsItem(pro
|
|
|
76
69
|
showSeparator,
|
|
77
70
|
testId
|
|
78
71
|
} = props,
|
|
79
|
-
otherProps =
|
|
72
|
+
otherProps = _objectWithoutPropertiesLoose(props, _excluded);
|
|
80
73
|
const _renderSeparator = () => {
|
|
81
74
|
return React__namespace.createElement(StyledSvg, {
|
|
82
75
|
style: styles.separator,
|
|
@@ -90,7 +83,7 @@ const BreadcrumbsItem = React__namespace.forwardRef(function BreadcrumbsItem(pro
|
|
|
90
83
|
r: "1.5"
|
|
91
84
|
}));
|
|
92
85
|
};
|
|
93
|
-
return React__namespace.createElement(
|
|
86
|
+
return React__namespace.createElement(StyledLi, _extends({}, otherProps, {
|
|
94
87
|
style: styles.item,
|
|
95
88
|
"data-testid": testId,
|
|
96
89
|
ref: ref
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-breadcrumbs",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"design": "v1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -9,22 +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": "
|
|
21
|
-
"@khanacademy/wonder-blocks-tokens": "
|
|
15
|
+
"@babel/runtime": "^7.24.5",
|
|
16
|
+
"@khanacademy/wonder-blocks-core": "12.1.0",
|
|
17
|
+
"@khanacademy/wonder-blocks-tokens": "4.2.0"
|
|
22
18
|
},
|
|
23
19
|
"peerDependencies": {
|
|
24
20
|
"aphrodite": "^1.2.5",
|
|
25
21
|
"react": "18.2.0"
|
|
26
22
|
},
|
|
27
23
|
"devDependencies": {
|
|
28
|
-
"@khanacademy/wb-dev-build-settings": "
|
|
24
|
+
"@khanacademy/wb-dev-build-settings": "2.1.0"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
29
28
|
}
|
|
30
29
|
}
|