@khanacademy/wonder-blocks-breadcrumbs 3.0.7 → 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 +202 -176
- 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,299 +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
|
+
|
|
22
|
+
## 3.0.8
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies [0199324d]
|
|
27
|
+
- @khanacademy/wonder-blocks-core@12.0.0
|
|
28
|
+
|
|
3
29
|
## 3.0.7
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
6
32
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
33
|
+
- Updated dependencies [8cfaeab0]
|
|
34
|
+
- Updated dependencies [c162abb4]
|
|
35
|
+
- @khanacademy/wonder-blocks-tokens@4.1.0
|
|
10
36
|
|
|
11
37
|
## 3.0.6
|
|
12
38
|
|
|
13
39
|
### Patch Changes
|
|
14
40
|
|
|
15
|
-
-
|
|
16
|
-
-
|
|
41
|
+
- Updated dependencies [0de25cd8]
|
|
42
|
+
- @khanacademy/wonder-blocks-tokens@4.0.0
|
|
17
43
|
|
|
18
44
|
## 3.0.5
|
|
19
45
|
|
|
20
46
|
### Patch Changes
|
|
21
47
|
|
|
22
|
-
-
|
|
23
|
-
-
|
|
48
|
+
- Updated dependencies [7516b239]
|
|
49
|
+
- @khanacademy/wonder-blocks-core@11.1.0
|
|
24
50
|
|
|
25
51
|
## 3.0.4
|
|
26
52
|
|
|
27
53
|
### Patch Changes
|
|
28
54
|
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
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
|
|
33
59
|
|
|
34
60
|
## 3.0.3
|
|
35
61
|
|
|
36
62
|
### Patch Changes
|
|
37
63
|
|
|
38
|
-
-
|
|
39
|
-
-
|
|
64
|
+
- Updated dependencies [d23c9c5f]
|
|
65
|
+
- @khanacademy/wonder-blocks-core@11.0.0
|
|
40
66
|
|
|
41
67
|
## 3.0.2
|
|
42
68
|
|
|
43
69
|
### Patch Changes
|
|
44
70
|
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
71
|
+
- Updated dependencies [b6009b77]
|
|
72
|
+
- Updated dependencies [897686bc]
|
|
73
|
+
- Updated dependencies [56d961f1]
|
|
74
|
+
- @khanacademy/wonder-blocks-core@10.0.0
|
|
49
75
|
|
|
50
76
|
## 3.0.1
|
|
51
77
|
|
|
52
78
|
### Patch Changes
|
|
53
79
|
|
|
54
|
-
-
|
|
55
|
-
-
|
|
80
|
+
- Updated dependencies [f4abd572]
|
|
81
|
+
- @khanacademy/wonder-blocks-core@9.0.0
|
|
56
82
|
|
|
57
83
|
## 3.0.0
|
|
58
84
|
|
|
59
85
|
### Major Changes
|
|
60
86
|
|
|
61
|
-
-
|
|
87
|
+
- e6abdd17: Upgrade to React 18
|
|
62
88
|
|
|
63
89
|
### Patch Changes
|
|
64
90
|
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
-
|
|
91
|
+
- Updated dependencies [e6abdd17]
|
|
92
|
+
- @khanacademy/wonder-blocks-core@8.0.0
|
|
93
|
+
- @khanacademy/wonder-blocks-tokens@3.0.0
|
|
68
94
|
|
|
69
95
|
## 2.2.8
|
|
70
96
|
|
|
71
97
|
### Patch Changes
|
|
72
98
|
|
|
73
|
-
-
|
|
74
|
-
-
|
|
99
|
+
- Updated dependencies [6999fd39]
|
|
100
|
+
- @khanacademy/wonder-blocks-tokens@2.1.0
|
|
75
101
|
|
|
76
102
|
## 2.2.7
|
|
77
103
|
|
|
78
104
|
### Patch Changes
|
|
79
105
|
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
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
|
|
84
110
|
|
|
85
111
|
## 2.2.6
|
|
86
112
|
|
|
87
113
|
### Patch Changes
|
|
88
114
|
|
|
89
|
-
-
|
|
90
|
-
-
|
|
115
|
+
- Updated dependencies [07f7f407]
|
|
116
|
+
- @khanacademy/wonder-blocks-core@7.0.0
|
|
91
117
|
|
|
92
118
|
## 2.2.5
|
|
93
119
|
|
|
94
120
|
### Patch Changes
|
|
95
121
|
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
122
|
+
- Updated dependencies [f17dc1ee]
|
|
123
|
+
- Updated dependencies [991eb43f]
|
|
124
|
+
- @khanacademy/wonder-blocks-tokens@2.0.0
|
|
99
125
|
|
|
100
126
|
## 2.2.4
|
|
101
127
|
|
|
102
128
|
### Patch Changes
|
|
103
129
|
|
|
104
|
-
-
|
|
105
|
-
-
|
|
106
|
-
-
|
|
107
|
-
-
|
|
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
|
|
108
134
|
|
|
109
135
|
## 2.2.3
|
|
110
136
|
|
|
111
137
|
### Patch Changes
|
|
112
138
|
|
|
113
|
-
-
|
|
114
|
-
-
|
|
139
|
+
- Updated dependencies [eab37b8b]
|
|
140
|
+
- @khanacademy/wonder-blocks-core@6.4.2
|
|
115
141
|
|
|
116
142
|
## 2.2.2
|
|
117
143
|
|
|
118
144
|
### Patch Changes
|
|
119
145
|
|
|
120
|
-
-
|
|
121
|
-
-
|
|
146
|
+
- Updated dependencies [5dfac06e]
|
|
147
|
+
- @khanacademy/wonder-blocks-core@6.4.1
|
|
122
148
|
|
|
123
149
|
## 2.2.1
|
|
124
150
|
|
|
125
151
|
### Patch Changes
|
|
126
152
|
|
|
127
|
-
-
|
|
128
|
-
-
|
|
153
|
+
- Updated dependencies [9bfeead9]
|
|
154
|
+
- @khanacademy/wonder-blocks-tokens@1.3.0
|
|
129
155
|
|
|
130
156
|
## 2.2.0
|
|
131
157
|
|
|
132
158
|
### Minor Changes
|
|
133
159
|
|
|
134
|
-
-
|
|
160
|
+
- 58075352: Change testId to render the default Testing Library HTML attribute: data-testid (was data-test-id)
|
|
135
161
|
|
|
136
162
|
### Patch Changes
|
|
137
163
|
|
|
138
|
-
-
|
|
139
|
-
-
|
|
164
|
+
- Updated dependencies [58075352]
|
|
165
|
+
- @khanacademy/wonder-blocks-core@6.4.0
|
|
140
166
|
|
|
141
167
|
## 2.1.14
|
|
142
168
|
|
|
143
169
|
### Patch Changes
|
|
144
170
|
|
|
145
|
-
-
|
|
146
|
-
-
|
|
147
|
-
-
|
|
148
|
-
-
|
|
171
|
+
- Updated dependencies [874081aa]
|
|
172
|
+
- Updated dependencies [874081aa]
|
|
173
|
+
- Updated dependencies [a9bf603a]
|
|
174
|
+
- @khanacademy/wonder-blocks-tokens@1.2.0
|
|
149
175
|
|
|
150
176
|
## 2.1.13
|
|
151
177
|
|
|
152
178
|
### Patch Changes
|
|
153
179
|
|
|
154
|
-
-
|
|
155
|
-
-
|
|
180
|
+
- Updated dependencies [4cfb4977]
|
|
181
|
+
- @khanacademy/wonder-blocks-tokens@1.1.0
|
|
156
182
|
|
|
157
183
|
## 2.1.12
|
|
158
184
|
|
|
159
185
|
### Patch Changes
|
|
160
186
|
|
|
161
|
-
-
|
|
162
|
-
-
|
|
187
|
+
- Updated dependencies [e83f8991]
|
|
188
|
+
- @khanacademy/wonder-blocks-tokens@1.0.0
|
|
163
189
|
|
|
164
190
|
## 2.1.11
|
|
165
191
|
|
|
166
192
|
### Patch Changes
|
|
167
193
|
|
|
168
|
-
-
|
|
169
|
-
-
|
|
170
|
-
-
|
|
171
|
-
-
|
|
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
|
|
172
198
|
|
|
173
199
|
## 2.1.10
|
|
174
200
|
|
|
175
201
|
### Patch Changes
|
|
176
202
|
|
|
177
|
-
-
|
|
178
|
-
-
|
|
203
|
+
- Updated dependencies [6df21f71]
|
|
204
|
+
- @khanacademy/wonder-blocks-core@6.3.1
|
|
179
205
|
|
|
180
206
|
## 2.1.9
|
|
181
207
|
|
|
182
208
|
### Patch Changes
|
|
183
209
|
|
|
184
|
-
-
|
|
185
|
-
-
|
|
210
|
+
- Updated dependencies [7055ca94]
|
|
211
|
+
- @khanacademy/wonder-blocks-core@6.3.0
|
|
186
212
|
|
|
187
213
|
## 2.1.8
|
|
188
214
|
|
|
189
215
|
### Patch Changes
|
|
190
216
|
|
|
191
|
-
-
|
|
192
|
-
-
|
|
217
|
+
- Updated dependencies [4b97b9a2]
|
|
218
|
+
- @khanacademy/wonder-blocks-core@6.2.0
|
|
193
219
|
|
|
194
220
|
## 2.1.7
|
|
195
221
|
|
|
196
222
|
### Patch Changes
|
|
197
223
|
|
|
198
|
-
-
|
|
199
|
-
-
|
|
224
|
+
- Updated dependencies [2871f0a9]
|
|
225
|
+
- @khanacademy/wonder-blocks-core@6.1.1
|
|
200
226
|
|
|
201
227
|
## 2.1.6
|
|
202
228
|
|
|
203
229
|
### Patch Changes
|
|
204
230
|
|
|
205
|
-
-
|
|
206
|
-
-
|
|
207
|
-
-
|
|
231
|
+
- Updated dependencies [efb59c29]
|
|
232
|
+
- Updated dependencies [8bc40ed2]
|
|
233
|
+
- @khanacademy/wonder-blocks-core@6.1.0
|
|
208
234
|
|
|
209
235
|
## 2.1.5
|
|
210
236
|
|
|
211
237
|
### Patch Changes
|
|
212
238
|
|
|
213
|
-
-
|
|
214
|
-
-
|
|
239
|
+
- Updated dependencies [f19da46e]
|
|
240
|
+
- @khanacademy/wonder-blocks-core@6.0.2
|
|
215
241
|
|
|
216
242
|
## 2.1.4
|
|
217
243
|
|
|
218
244
|
### Patch Changes
|
|
219
245
|
|
|
220
|
-
-
|
|
221
|
-
-
|
|
246
|
+
- Updated dependencies [1920feb8]
|
|
247
|
+
- @khanacademy/wonder-blocks-core@6.0.1
|
|
222
248
|
|
|
223
249
|
## 2.1.3
|
|
224
250
|
|
|
225
251
|
### Patch Changes
|
|
226
252
|
|
|
227
|
-
-
|
|
228
|
-
-
|
|
229
|
-
-
|
|
253
|
+
- Updated dependencies [674a1e5c]
|
|
254
|
+
- Updated dependencies [674a1e5c]
|
|
255
|
+
- @khanacademy/wonder-blocks-core@6.0.0
|
|
230
256
|
|
|
231
257
|
## 2.1.2
|
|
232
258
|
|
|
233
259
|
### Patch Changes
|
|
234
260
|
|
|
235
|
-
-
|
|
236
|
-
-
|
|
261
|
+
- Updated dependencies [1344436f]
|
|
262
|
+
- @khanacademy/wonder-blocks-core@5.4.0
|
|
237
263
|
|
|
238
264
|
## 2.1.1
|
|
239
265
|
|
|
240
266
|
### Patch Changes
|
|
241
267
|
|
|
242
|
-
-
|
|
243
|
-
-
|
|
244
|
-
-
|
|
268
|
+
- 9f3752d4: Used named functions in componenets with forwarded refs
|
|
269
|
+
- Updated dependencies [9f3752d4]
|
|
270
|
+
- @khanacademy/wonder-blocks-core@5.3.1
|
|
245
271
|
|
|
246
272
|
## 2.1.0
|
|
247
273
|
|
|
248
274
|
### Minor Changes
|
|
249
275
|
|
|
250
|
-
-
|
|
251
|
-
-
|
|
276
|
+
- c0b558f9: Forward refs in BreadcrumbsItem
|
|
277
|
+
- 9800fbf7: Forward refs in Breacrumbs
|
|
252
278
|
|
|
253
279
|
### Patch Changes
|
|
254
280
|
|
|
255
|
-
-
|
|
256
|
-
-
|
|
257
|
-
-
|
|
281
|
+
- Updated dependencies [c37b99aa]
|
|
282
|
+
- Updated dependencies [c4cef3e6]
|
|
283
|
+
- @khanacademy/wonder-blocks-core@5.3.0
|
|
258
284
|
|
|
259
285
|
## 2.0.13
|
|
260
286
|
|
|
261
287
|
### Patch Changes
|
|
262
288
|
|
|
263
|
-
-
|
|
264
|
-
-
|
|
289
|
+
- Updated dependencies [d4c412b5]
|
|
290
|
+
- @khanacademy/wonder-blocks-core@5.2.3
|
|
265
291
|
|
|
266
292
|
## 2.0.12
|
|
267
293
|
|
|
268
294
|
### Patch Changes
|
|
269
295
|
|
|
270
|
-
-
|
|
271
|
-
-
|
|
296
|
+
- Updated dependencies [64a188e3]
|
|
297
|
+
- @khanacademy/wonder-blocks-core@5.2.2
|
|
272
298
|
|
|
273
299
|
## 2.0.11
|
|
274
300
|
|
|
275
301
|
### Patch Changes
|
|
276
302
|
|
|
277
|
-
-
|
|
278
|
-
-
|
|
279
|
-
-
|
|
303
|
+
- Updated dependencies [5a1ea891]
|
|
304
|
+
- Updated dependencies [df9a10aa]
|
|
305
|
+
- @khanacademy/wonder-blocks-core@5.2.1
|
|
280
306
|
|
|
281
307
|
## 2.0.10
|
|
282
308
|
|
|
283
309
|
### Patch Changes
|
|
284
310
|
|
|
285
|
-
-
|
|
286
|
-
-
|
|
287
|
-
-
|
|
288
|
-
-
|
|
311
|
+
- Updated dependencies [fa70c895]
|
|
312
|
+
- Updated dependencies [19ab0408]
|
|
313
|
+
- Updated dependencies [fa70c895]
|
|
314
|
+
- @khanacademy/wonder-blocks-core@5.2.0
|
|
289
315
|
|
|
290
316
|
## 2.0.9
|
|
291
317
|
|
|
292
318
|
### Patch Changes
|
|
293
319
|
|
|
294
|
-
-
|
|
295
|
-
-
|
|
296
|
-
-
|
|
320
|
+
- Updated dependencies [3c400719]
|
|
321
|
+
- Updated dependencies [a6164ed0]
|
|
322
|
+
- @khanacademy/wonder-blocks-core@5.1.0
|
|
297
323
|
|
|
298
324
|
## 2.0.8
|
|
299
325
|
|
|
@@ -303,9 +329,9 @@
|
|
|
303
329
|
|
|
304
330
|
### Patch Changes
|
|
305
331
|
|
|
306
|
-
-
|
|
307
|
-
-
|
|
308
|
-
-
|
|
332
|
+
- c20f48f3: Don't transpile classes when building bundles
|
|
333
|
+
- Updated dependencies [c20f48f3]
|
|
334
|
+
- @khanacademy/wonder-blocks-core@5.0.4
|
|
309
335
|
|
|
310
336
|
## 2.0.5
|
|
311
337
|
|
|
@@ -315,163 +341,163 @@
|
|
|
315
341
|
|
|
316
342
|
### Patch Changes
|
|
317
343
|
|
|
318
|
-
-
|
|
319
|
-
-
|
|
344
|
+
- Updated dependencies [b281e2eb]
|
|
345
|
+
- @khanacademy/wonder-blocks-core@5.0.3
|
|
320
346
|
|
|
321
347
|
## 2.0.2
|
|
322
348
|
|
|
323
349
|
### Patch Changes
|
|
324
350
|
|
|
325
|
-
-
|
|
326
|
-
-
|
|
351
|
+
- Updated dependencies [21ce20c7]
|
|
352
|
+
- @khanacademy/wonder-blocks-core@5.0.2
|
|
327
353
|
|
|
328
354
|
## 2.0.1
|
|
329
355
|
|
|
330
356
|
### Patch Changes
|
|
331
357
|
|
|
332
|
-
-
|
|
333
|
-
-
|
|
334
|
-
-
|
|
335
|
-
-
|
|
336
|
-
-
|
|
337
|
-
-
|
|
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
|
|
338
364
|
|
|
339
365
|
## 2.0.0
|
|
340
366
|
|
|
341
367
|
### Major Changes
|
|
342
368
|
|
|
343
|
-
-
|
|
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)
|
|
344
370
|
|
|
345
371
|
### Patch Changes
|
|
346
372
|
|
|
347
|
-
-
|
|
348
|
-
-
|
|
349
|
-
-
|
|
373
|
+
- Updated dependencies [1ca4d7e3]
|
|
374
|
+
- @khanacademy/wonder-blocks-core@5.0.0
|
|
375
|
+
- @khanacademy/wonder-blocks-spacing@4.0.0
|
|
350
376
|
|
|
351
377
|
## 1.0.41
|
|
352
378
|
|
|
353
379
|
### Patch Changes
|
|
354
380
|
|
|
355
|
-
-
|
|
356
|
-
-
|
|
357
|
-
-
|
|
358
|
-
-
|
|
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
|
|
359
385
|
|
|
360
386
|
## 1.0.40
|
|
361
387
|
|
|
362
388
|
### Patch Changes
|
|
363
389
|
|
|
364
|
-
-
|
|
365
|
-
-
|
|
390
|
+
- Updated dependencies [779b031d]
|
|
391
|
+
- @khanacademy/wonder-blocks-core@4.9.0
|
|
366
392
|
|
|
367
393
|
## 1.0.39
|
|
368
394
|
|
|
369
395
|
### Patch Changes
|
|
370
396
|
|
|
371
|
-
-
|
|
372
|
-
-
|
|
373
|
-
-
|
|
374
|
-
-
|
|
375
|
-
-
|
|
376
|
-
-
|
|
377
|
-
-
|
|
378
|
-
-
|
|
379
|
-
-
|
|
380
|
-
-
|
|
381
|
-
-
|
|
382
|
-
-
|
|
383
|
-
-
|
|
384
|
-
-
|
|
385
|
-
-
|
|
386
|
-
-
|
|
387
|
-
-
|
|
388
|
-
-
|
|
389
|
-
-
|
|
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
|
|
390
416
|
|
|
391
417
|
## 1.0.38
|
|
392
418
|
|
|
393
419
|
### Patch Changes
|
|
394
420
|
|
|
395
|
-
-
|
|
396
|
-
-
|
|
397
|
-
-
|
|
398
|
-
-
|
|
421
|
+
- 91cb727c: Remove file extensions from imports
|
|
422
|
+
- Updated dependencies [91cb727c]
|
|
423
|
+
- Updated dependencies [91cb727c]
|
|
424
|
+
- @khanacademy/wonder-blocks-core@4.7.0
|
|
399
425
|
|
|
400
426
|
## 1.0.37
|
|
401
427
|
|
|
402
428
|
### Patch Changes
|
|
403
429
|
|
|
404
|
-
-
|
|
405
|
-
-
|
|
406
|
-
-
|
|
430
|
+
- 496119f2: Cleanup WB interdependencies
|
|
431
|
+
- Updated dependencies [496119f2]
|
|
432
|
+
- @khanacademy/wonder-blocks-core@4.6.2
|
|
407
433
|
|
|
408
434
|
## 1.0.36
|
|
409
435
|
|
|
410
436
|
### Patch Changes
|
|
411
437
|
|
|
412
|
-
-
|
|
413
|
-
-
|
|
438
|
+
- @khanacademy/wonder-blocks-core@4.6.1
|
|
439
|
+
- @khanacademy/wonder-blocks-typography@1.1.36
|
|
414
440
|
|
|
415
441
|
## 1.0.35
|
|
416
442
|
|
|
417
443
|
### Patch Changes
|
|
418
444
|
|
|
419
|
-
-
|
|
420
|
-
-
|
|
421
|
-
-
|
|
422
|
-
-
|
|
423
|
-
-
|
|
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
|
|
424
450
|
|
|
425
451
|
## 1.0.34
|
|
426
452
|
|
|
427
453
|
### Patch Changes
|
|
428
454
|
|
|
429
|
-
-
|
|
430
|
-
-
|
|
431
|
-
-
|
|
455
|
+
- Updated dependencies [175a2dd2]
|
|
456
|
+
- @khanacademy/wonder-blocks-core@4.5.0
|
|
457
|
+
- @khanacademy/wonder-blocks-typography@1.1.34
|
|
432
458
|
|
|
433
459
|
## 1.0.33
|
|
434
460
|
|
|
435
461
|
### Patch Changes
|
|
436
462
|
|
|
437
|
-
-
|
|
438
|
-
-
|
|
439
|
-
-
|
|
463
|
+
- Updated dependencies [6ee20af9]
|
|
464
|
+
- @khanacademy/wonder-blocks-core@4.4.0
|
|
465
|
+
- @khanacademy/wonder-blocks-typography@1.1.33
|
|
440
466
|
|
|
441
467
|
## 1.0.32
|
|
442
468
|
|
|
443
469
|
### Patch Changes
|
|
444
470
|
|
|
445
|
-
-
|
|
446
|
-
-
|
|
471
|
+
- Updated dependencies [34c7aacb]
|
|
472
|
+
- @khanacademy/wonder-blocks-color@1.2.0
|
|
447
473
|
|
|
448
474
|
## 1.0.31
|
|
449
475
|
|
|
450
476
|
### Patch Changes
|
|
451
477
|
|
|
452
|
-
-
|
|
453
|
-
-
|
|
454
|
-
-
|
|
455
|
-
-
|
|
478
|
+
- Updated dependencies [5f4a4297]
|
|
479
|
+
- Updated dependencies [2b96fd59]
|
|
480
|
+
- @khanacademy/wonder-blocks-core@4.3.2
|
|
481
|
+
- @khanacademy/wonder-blocks-typography@1.1.32
|
|
456
482
|
|
|
457
483
|
## 1.0.30
|
|
458
484
|
|
|
459
485
|
### Patch Changes
|
|
460
486
|
|
|
461
|
-
-
|
|
462
|
-
-
|
|
487
|
+
- @khanacademy/wonder-blocks-core@4.3.1
|
|
488
|
+
- @khanacademy/wonder-blocks-typography@1.1.31
|
|
463
489
|
|
|
464
490
|
## 1.0.29
|
|
465
491
|
|
|
466
492
|
### Patch Changes
|
|
467
493
|
|
|
468
|
-
-
|
|
469
|
-
-
|
|
470
|
-
-
|
|
494
|
+
- Updated dependencies [246a921d]
|
|
495
|
+
- @khanacademy/wonder-blocks-core@4.3.0
|
|
496
|
+
- @khanacademy/wonder-blocks-typography@1.1.30
|
|
471
497
|
|
|
472
498
|
## 1.0.28
|
|
473
499
|
|
|
474
500
|
### Patch Changes
|
|
475
501
|
|
|
476
|
-
-
|
|
477
|
-
-
|
|
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
|
}
|