@khanacademy/wonder-blocks-typography 3.0.5 → 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 +160 -136
- package/LICENSE +21 -0
- package/dist/components/body-monospace.d.ts +41 -41
- package/dist/components/body-serif-block.d.ts +41 -41
- package/dist/components/body-serif.d.ts +41 -41
- package/dist/components/body.d.ts +41 -41
- package/dist/components/caption.d.ts +41 -41
- package/dist/components/footnote.d.ts +41 -41
- package/dist/components/heading-large.d.ts +41 -41
- package/dist/components/heading-medium.d.ts +41 -41
- package/dist/components/heading-small.d.ts +41 -41
- package/dist/components/heading-xsmall.d.ts +41 -41
- package/dist/components/label-large.d.ts +41 -41
- package/dist/components/label-medium.d.ts +41 -41
- package/dist/components/label-small.d.ts +41 -41
- package/dist/components/label-xsmall.d.ts +41 -41
- package/dist/components/tagline.d.ts +41 -41
- package/dist/components/title.d.ts +41 -41
- package/dist/index.js +51 -58
- package/package.json +7 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,226 +1,250 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-typography
|
|
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
|
+
- bb2a026: pnpm: Switch to workspace protocol to handle dependency versions with changesets on monorepo setup"
|
|
15
|
+
- Updated dependencies [969864b]
|
|
16
|
+
- Updated dependencies [bb2a026]
|
|
17
|
+
- Updated dependencies [f03298f]
|
|
18
|
+
- @khanacademy/wonder-blocks-core@12.1.0
|
|
19
|
+
|
|
20
|
+
## 3.0.6
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [0199324d]
|
|
25
|
+
- @khanacademy/wonder-blocks-core@12.0.0
|
|
26
|
+
|
|
3
27
|
## 3.0.5
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
6
30
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
31
|
+
- Updated dependencies [7516b239]
|
|
32
|
+
- @khanacademy/wonder-blocks-core@11.1.0
|
|
9
33
|
|
|
10
34
|
## 3.0.4
|
|
11
35
|
|
|
12
36
|
### Patch Changes
|
|
13
37
|
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
38
|
+
- 11a0f5c6: No functional changes. Adding prepublishOnly script.
|
|
39
|
+
- Updated dependencies [11a0f5c6]
|
|
40
|
+
- @khanacademy/wonder-blocks-core@11.0.1
|
|
17
41
|
|
|
18
42
|
## 3.0.3
|
|
19
43
|
|
|
20
44
|
### Patch Changes
|
|
21
45
|
|
|
22
|
-
-
|
|
23
|
-
-
|
|
46
|
+
- Updated dependencies [d23c9c5f]
|
|
47
|
+
- @khanacademy/wonder-blocks-core@11.0.0
|
|
24
48
|
|
|
25
49
|
## 3.0.2
|
|
26
50
|
|
|
27
51
|
### Patch Changes
|
|
28
52
|
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
53
|
+
- Updated dependencies [b6009b77]
|
|
54
|
+
- Updated dependencies [897686bc]
|
|
55
|
+
- Updated dependencies [56d961f1]
|
|
56
|
+
- @khanacademy/wonder-blocks-core@10.0.0
|
|
33
57
|
|
|
34
58
|
## 3.0.1
|
|
35
59
|
|
|
36
60
|
### Patch Changes
|
|
37
61
|
|
|
38
|
-
-
|
|
39
|
-
-
|
|
62
|
+
- Updated dependencies [f4abd572]
|
|
63
|
+
- @khanacademy/wonder-blocks-core@9.0.0
|
|
40
64
|
|
|
41
65
|
## 3.0.0
|
|
42
66
|
|
|
43
67
|
### Major Changes
|
|
44
68
|
|
|
45
|
-
-
|
|
69
|
+
- e6abdd17: Upgrade to React 18
|
|
46
70
|
|
|
47
71
|
### Patch Changes
|
|
48
72
|
|
|
49
|
-
-
|
|
50
|
-
-
|
|
73
|
+
- Updated dependencies [e6abdd17]
|
|
74
|
+
- @khanacademy/wonder-blocks-core@8.0.0
|
|
51
75
|
|
|
52
76
|
## 2.1.16
|
|
53
77
|
|
|
54
78
|
### Patch Changes
|
|
55
79
|
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
80
|
+
- 02a1b298: Make sure we don't package tsconfig and tsbuildinfo files
|
|
81
|
+
- Updated dependencies [02a1b298]
|
|
82
|
+
- @khanacademy/wonder-blocks-core@7.0.1
|
|
59
83
|
|
|
60
84
|
## 2.1.15
|
|
61
85
|
|
|
62
86
|
### Patch Changes
|
|
63
87
|
|
|
64
|
-
-
|
|
65
|
-
-
|
|
88
|
+
- Updated dependencies [07f7f407]
|
|
89
|
+
- @khanacademy/wonder-blocks-core@7.0.0
|
|
66
90
|
|
|
67
91
|
## 2.1.14
|
|
68
92
|
|
|
69
93
|
### Patch Changes
|
|
70
94
|
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
-
|
|
95
|
+
- 559e82d5: Update to build tooling, generating smaller output
|
|
96
|
+
- Updated dependencies [559e82d5]
|
|
97
|
+
- @khanacademy/wonder-blocks-core@6.4.3
|
|
74
98
|
|
|
75
99
|
## 2.1.13
|
|
76
100
|
|
|
77
101
|
### Patch Changes
|
|
78
102
|
|
|
79
|
-
-
|
|
80
|
-
-
|
|
103
|
+
- Updated dependencies [eab37b8b]
|
|
104
|
+
- @khanacademy/wonder-blocks-core@6.4.2
|
|
81
105
|
|
|
82
106
|
## 2.1.12
|
|
83
107
|
|
|
84
108
|
### Patch Changes
|
|
85
109
|
|
|
86
|
-
-
|
|
87
|
-
-
|
|
110
|
+
- Updated dependencies [5dfac06e]
|
|
111
|
+
- @khanacademy/wonder-blocks-core@6.4.1
|
|
88
112
|
|
|
89
113
|
## 2.1.11
|
|
90
114
|
|
|
91
115
|
### Patch Changes
|
|
92
116
|
|
|
93
|
-
-
|
|
94
|
-
-
|
|
117
|
+
- Updated dependencies [58075352]
|
|
118
|
+
- @khanacademy/wonder-blocks-core@6.4.0
|
|
95
119
|
|
|
96
120
|
## 2.1.10
|
|
97
121
|
|
|
98
122
|
### Patch Changes
|
|
99
123
|
|
|
100
|
-
-
|
|
101
|
-
-
|
|
124
|
+
- Updated dependencies [6df21f71]
|
|
125
|
+
- @khanacademy/wonder-blocks-core@6.3.1
|
|
102
126
|
|
|
103
127
|
## 2.1.9
|
|
104
128
|
|
|
105
129
|
### Patch Changes
|
|
106
130
|
|
|
107
|
-
-
|
|
108
|
-
-
|
|
131
|
+
- Updated dependencies [7055ca94]
|
|
132
|
+
- @khanacademy/wonder-blocks-core@6.3.0
|
|
109
133
|
|
|
110
134
|
## 2.1.8
|
|
111
135
|
|
|
112
136
|
### Patch Changes
|
|
113
137
|
|
|
114
|
-
-
|
|
115
|
-
-
|
|
138
|
+
- Updated dependencies [4b97b9a2]
|
|
139
|
+
- @khanacademy/wonder-blocks-core@6.2.0
|
|
116
140
|
|
|
117
141
|
## 2.1.7
|
|
118
142
|
|
|
119
143
|
### Patch Changes
|
|
120
144
|
|
|
121
|
-
-
|
|
122
|
-
-
|
|
145
|
+
- Updated dependencies [2871f0a9]
|
|
146
|
+
- @khanacademy/wonder-blocks-core@6.1.1
|
|
123
147
|
|
|
124
148
|
## 2.1.6
|
|
125
149
|
|
|
126
150
|
### Patch Changes
|
|
127
151
|
|
|
128
|
-
-
|
|
129
|
-
-
|
|
130
|
-
-
|
|
152
|
+
- Updated dependencies [efb59c29]
|
|
153
|
+
- Updated dependencies [8bc40ed2]
|
|
154
|
+
- @khanacademy/wonder-blocks-core@6.1.0
|
|
131
155
|
|
|
132
156
|
## 2.1.5
|
|
133
157
|
|
|
134
158
|
### Patch Changes
|
|
135
159
|
|
|
136
|
-
-
|
|
137
|
-
-
|
|
160
|
+
- Updated dependencies [f19da46e]
|
|
161
|
+
- @khanacademy/wonder-blocks-core@6.0.2
|
|
138
162
|
|
|
139
163
|
## 2.1.4
|
|
140
164
|
|
|
141
165
|
### Patch Changes
|
|
142
166
|
|
|
143
|
-
-
|
|
144
|
-
-
|
|
167
|
+
- Updated dependencies [1920feb8]
|
|
168
|
+
- @khanacademy/wonder-blocks-core@6.0.1
|
|
145
169
|
|
|
146
170
|
## 2.1.3
|
|
147
171
|
|
|
148
172
|
### Patch Changes
|
|
149
173
|
|
|
150
|
-
-
|
|
151
|
-
-
|
|
152
|
-
-
|
|
174
|
+
- Updated dependencies [674a1e5c]
|
|
175
|
+
- Updated dependencies [674a1e5c]
|
|
176
|
+
- @khanacademy/wonder-blocks-core@6.0.0
|
|
153
177
|
|
|
154
178
|
## 2.1.2
|
|
155
179
|
|
|
156
180
|
### Patch Changes
|
|
157
181
|
|
|
158
|
-
-
|
|
159
|
-
-
|
|
182
|
+
- Updated dependencies [1344436f]
|
|
183
|
+
- @khanacademy/wonder-blocks-core@5.4.0
|
|
160
184
|
|
|
161
185
|
## 2.1.1
|
|
162
186
|
|
|
163
187
|
### Patch Changes
|
|
164
188
|
|
|
165
|
-
-
|
|
166
|
-
-
|
|
167
|
-
-
|
|
189
|
+
- 9f3752d4: Used named functions in componenets with forwarded refs
|
|
190
|
+
- Updated dependencies [9f3752d4]
|
|
191
|
+
- @khanacademy/wonder-blocks-core@5.3.1
|
|
168
192
|
|
|
169
193
|
## 2.1.0
|
|
170
194
|
|
|
171
195
|
### Minor Changes
|
|
172
196
|
|
|
173
|
-
-
|
|
174
|
-
-
|
|
175
|
-
-
|
|
176
|
-
-
|
|
177
|
-
-
|
|
178
|
-
-
|
|
197
|
+
- 0423a440: Forward refs in Body, BodyMonospace, BodySerif, and BodySerifBlock
|
|
198
|
+
- c37b99aa: Forward refs for Text and Title
|
|
199
|
+
- afd5a801: Forward refs in Caption and Footnote
|
|
200
|
+
- 13c48aa0: Forward refs in HeadingLarge, HeadingMedium, HeadingSmall, and HeadingXSmall
|
|
201
|
+
- cade62f3: Add forwarded refs for LabelLarge, LabelMedium, LabelSmall, and LabelXSmall
|
|
202
|
+
- 4c900085: Forward refs in Tagline
|
|
179
203
|
|
|
180
204
|
### Patch Changes
|
|
181
205
|
|
|
182
|
-
-
|
|
183
|
-
-
|
|
184
|
-
-
|
|
206
|
+
- Updated dependencies [c37b99aa]
|
|
207
|
+
- Updated dependencies [c4cef3e6]
|
|
208
|
+
- @khanacademy/wonder-blocks-core@5.3.0
|
|
185
209
|
|
|
186
210
|
## 2.0.13
|
|
187
211
|
|
|
188
212
|
### Patch Changes
|
|
189
213
|
|
|
190
|
-
-
|
|
191
|
-
-
|
|
214
|
+
- Updated dependencies [d4c412b5]
|
|
215
|
+
- @khanacademy/wonder-blocks-core@5.2.3
|
|
192
216
|
|
|
193
217
|
## 2.0.12
|
|
194
218
|
|
|
195
219
|
### Patch Changes
|
|
196
220
|
|
|
197
|
-
-
|
|
198
|
-
-
|
|
221
|
+
- Updated dependencies [64a188e3]
|
|
222
|
+
- @khanacademy/wonder-blocks-core@5.2.2
|
|
199
223
|
|
|
200
224
|
## 2.0.11
|
|
201
225
|
|
|
202
226
|
### Patch Changes
|
|
203
227
|
|
|
204
|
-
-
|
|
205
|
-
-
|
|
206
|
-
-
|
|
228
|
+
- Updated dependencies [5a1ea891]
|
|
229
|
+
- Updated dependencies [df9a10aa]
|
|
230
|
+
- @khanacademy/wonder-blocks-core@5.2.1
|
|
207
231
|
|
|
208
232
|
## 2.0.10
|
|
209
233
|
|
|
210
234
|
### Patch Changes
|
|
211
235
|
|
|
212
|
-
-
|
|
213
|
-
-
|
|
214
|
-
-
|
|
215
|
-
-
|
|
236
|
+
- Updated dependencies [fa70c895]
|
|
237
|
+
- Updated dependencies [19ab0408]
|
|
238
|
+
- Updated dependencies [fa70c895]
|
|
239
|
+
- @khanacademy/wonder-blocks-core@5.2.0
|
|
216
240
|
|
|
217
241
|
## 2.0.9
|
|
218
242
|
|
|
219
243
|
### Patch Changes
|
|
220
244
|
|
|
221
|
-
-
|
|
222
|
-
-
|
|
223
|
-
-
|
|
245
|
+
- Updated dependencies [3c400719]
|
|
246
|
+
- Updated dependencies [a6164ed0]
|
|
247
|
+
- @khanacademy/wonder-blocks-core@5.1.0
|
|
224
248
|
|
|
225
249
|
## 2.0.8
|
|
226
250
|
|
|
@@ -230,9 +254,9 @@
|
|
|
230
254
|
|
|
231
255
|
### Patch Changes
|
|
232
256
|
|
|
233
|
-
-
|
|
234
|
-
-
|
|
235
|
-
-
|
|
257
|
+
- c20f48f3: Don't transpile classes when building bundles
|
|
258
|
+
- Updated dependencies [c20f48f3]
|
|
259
|
+
- @khanacademy/wonder-blocks-core@5.0.4
|
|
236
260
|
|
|
237
261
|
## 2.0.5
|
|
238
262
|
|
|
@@ -242,143 +266,143 @@
|
|
|
242
266
|
|
|
243
267
|
### Patch Changes
|
|
244
268
|
|
|
245
|
-
-
|
|
246
|
-
-
|
|
269
|
+
- Updated dependencies [b281e2eb]
|
|
270
|
+
- @khanacademy/wonder-blocks-core@5.0.3
|
|
247
271
|
|
|
248
272
|
## 2.0.2
|
|
249
273
|
|
|
250
274
|
### Patch Changes
|
|
251
275
|
|
|
252
|
-
-
|
|
253
|
-
-
|
|
276
|
+
- Updated dependencies [21ce20c7]
|
|
277
|
+
- @khanacademy/wonder-blocks-core@5.0.2
|
|
254
278
|
|
|
255
279
|
## 2.0.1
|
|
256
280
|
|
|
257
281
|
### Patch Changes
|
|
258
282
|
|
|
259
|
-
-
|
|
260
|
-
-
|
|
261
|
-
-
|
|
262
|
-
-
|
|
263
|
-
-
|
|
283
|
+
- ccb6fe00: Miscellaneous TS type fixes
|
|
284
|
+
- d4c2b18c: Fix a variety of issues with Flow types generated by flowgen
|
|
285
|
+
- Updated dependencies [ccb6fe00]
|
|
286
|
+
- Updated dependencies [d4c2b18c]
|
|
287
|
+
- @khanacademy/wonder-blocks-core@5.0.1
|
|
264
288
|
|
|
265
289
|
## 2.0.0
|
|
266
290
|
|
|
267
291
|
### Major Changes
|
|
268
292
|
|
|
269
|
-
-
|
|
293
|
+
- 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)
|
|
270
294
|
|
|
271
295
|
### Patch Changes
|
|
272
296
|
|
|
273
|
-
-
|
|
274
|
-
-
|
|
297
|
+
- Updated dependencies [1ca4d7e3]
|
|
298
|
+
- @khanacademy/wonder-blocks-core@5.0.0
|
|
275
299
|
|
|
276
300
|
## 1.1.41
|
|
277
301
|
|
|
278
302
|
### Patch Changes
|
|
279
303
|
|
|
280
|
-
-
|
|
281
|
-
-
|
|
282
|
-
-
|
|
304
|
+
- b5ba5568: Ensure that flow lib defs use React.ElementConfig<> isntead of JSX.LibraryManagedAttributes<>
|
|
305
|
+
- Updated dependencies [b5ba5568]
|
|
306
|
+
- @khanacademy/wonder-blocks-core@4.9.1
|
|
283
307
|
|
|
284
308
|
## 1.1.40
|
|
285
309
|
|
|
286
310
|
### Patch Changes
|
|
287
311
|
|
|
288
|
-
-
|
|
289
|
-
-
|
|
312
|
+
- Updated dependencies [779b031d]
|
|
313
|
+
- @khanacademy/wonder-blocks-core@4.9.0
|
|
290
314
|
|
|
291
315
|
## 1.1.39
|
|
292
316
|
|
|
293
317
|
### Patch Changes
|
|
294
318
|
|
|
295
|
-
-
|
|
296
|
-
-
|
|
297
|
-
-
|
|
298
|
-
-
|
|
299
|
-
-
|
|
300
|
-
-
|
|
301
|
-
-
|
|
302
|
-
-
|
|
303
|
-
-
|
|
304
|
-
-
|
|
305
|
-
-
|
|
306
|
-
-
|
|
307
|
-
-
|
|
308
|
-
-
|
|
309
|
-
-
|
|
310
|
-
-
|
|
311
|
-
-
|
|
312
|
-
-
|
|
319
|
+
- d816af08: Update build and test configs use TypeScript
|
|
320
|
+
- 3891f544: Update babel config to include plugins that Storybook needed
|
|
321
|
+
- 0d28bb1c: Configured TypeScript
|
|
322
|
+
- 3d05f764: Fix HOCs and other type errors
|
|
323
|
+
- c2ec4902: Update eslint configuration, fix lint
|
|
324
|
+
- 2983c05b: Include 'types' field in package.json
|
|
325
|
+
- 77ff6a66: Generate Flow types from TypeScript types
|
|
326
|
+
- ec8d4b7f: Fix miscellaneous TypeScript errors
|
|
327
|
+
- Updated dependencies [d816af08]
|
|
328
|
+
- Updated dependencies [3891f544]
|
|
329
|
+
- Updated dependencies [0d28bb1c]
|
|
330
|
+
- Updated dependencies [873f4a14]
|
|
331
|
+
- Updated dependencies [3d05f764]
|
|
332
|
+
- Updated dependencies [c2ec4902]
|
|
333
|
+
- Updated dependencies [2983c05b]
|
|
334
|
+
- Updated dependencies [77ff6a66]
|
|
335
|
+
- Updated dependencies [ec8d4b7f]
|
|
336
|
+
- @khanacademy/wonder-blocks-core@4.8.0
|
|
313
337
|
|
|
314
338
|
## 1.1.38
|
|
315
339
|
|
|
316
340
|
### Patch Changes
|
|
317
341
|
|
|
318
|
-
-
|
|
319
|
-
-
|
|
320
|
-
-
|
|
321
|
-
-
|
|
342
|
+
- 91cb727c: Remove file extensions from imports
|
|
343
|
+
- Updated dependencies [91cb727c]
|
|
344
|
+
- Updated dependencies [91cb727c]
|
|
345
|
+
- @khanacademy/wonder-blocks-core@4.7.0
|
|
322
346
|
|
|
323
347
|
## 1.1.37
|
|
324
348
|
|
|
325
349
|
### Patch Changes
|
|
326
350
|
|
|
327
|
-
-
|
|
328
|
-
-
|
|
351
|
+
- Updated dependencies [496119f2]
|
|
352
|
+
- @khanacademy/wonder-blocks-core@4.6.2
|
|
329
353
|
|
|
330
354
|
## 1.1.36
|
|
331
355
|
|
|
332
356
|
### Patch Changes
|
|
333
357
|
|
|
334
|
-
-
|
|
358
|
+
- @khanacademy/wonder-blocks-core@4.6.1
|
|
335
359
|
|
|
336
360
|
## 1.1.35
|
|
337
361
|
|
|
338
362
|
### Patch Changes
|
|
339
363
|
|
|
340
|
-
-
|
|
341
|
-
-
|
|
342
|
-
-
|
|
343
|
-
-
|
|
364
|
+
- Updated dependencies [b561425a]
|
|
365
|
+
- Updated dependencies [a566e232]
|
|
366
|
+
- Updated dependencies [d2b21a6e]
|
|
367
|
+
- @khanacademy/wonder-blocks-core@4.6.0
|
|
344
368
|
|
|
345
369
|
## 1.1.34
|
|
346
370
|
|
|
347
371
|
### Patch Changes
|
|
348
372
|
|
|
349
|
-
-
|
|
350
|
-
-
|
|
373
|
+
- Updated dependencies [175a2dd2]
|
|
374
|
+
- @khanacademy/wonder-blocks-core@4.5.0
|
|
351
375
|
|
|
352
376
|
## 1.1.33
|
|
353
377
|
|
|
354
378
|
### Patch Changes
|
|
355
379
|
|
|
356
|
-
-
|
|
357
|
-
-
|
|
380
|
+
- Updated dependencies [6ee20af9]
|
|
381
|
+
- @khanacademy/wonder-blocks-core@4.4.0
|
|
358
382
|
|
|
359
383
|
## 1.1.32
|
|
360
384
|
|
|
361
385
|
### Patch Changes
|
|
362
386
|
|
|
363
|
-
-
|
|
364
|
-
-
|
|
365
|
-
-
|
|
387
|
+
- Updated dependencies [5f4a4297]
|
|
388
|
+
- Updated dependencies [2b96fd59]
|
|
389
|
+
- @khanacademy/wonder-blocks-core@4.3.2
|
|
366
390
|
|
|
367
391
|
## 1.1.31
|
|
368
392
|
|
|
369
393
|
### Patch Changes
|
|
370
394
|
|
|
371
|
-
-
|
|
395
|
+
- @khanacademy/wonder-blocks-core@4.3.1
|
|
372
396
|
|
|
373
397
|
## 1.1.30
|
|
374
398
|
|
|
375
399
|
### Patch Changes
|
|
376
400
|
|
|
377
|
-
-
|
|
378
|
-
-
|
|
401
|
+
- Updated dependencies [246a921d]
|
|
402
|
+
- @khanacademy/wonder-blocks-core@4.3.0
|
|
379
403
|
|
|
380
404
|
## 1.1.29
|
|
381
405
|
|
|
382
406
|
### Patch Changes
|
|
383
407
|
|
|
384
|
-
-
|
|
408
|
+
- @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.
|
|
@@ -2,53 +2,53 @@ import * as React from "react";
|
|
|
2
2
|
declare const BodyMonospace: React.ForwardRefExoticComponent<Omit<{
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
style?: import("@khanacademy/wonder-blocks-core").StyleType;
|
|
5
|
-
testId?: string
|
|
6
|
-
lang?: string
|
|
7
|
-
className?: string
|
|
8
|
-
htmlFor?: string
|
|
9
|
-
tabIndex?: number
|
|
10
|
-
id?: string
|
|
11
|
-
title?: string
|
|
12
|
-
"data-modal-launcher-portal"?: boolean
|
|
13
|
-
"data-placement"?: string
|
|
5
|
+
testId?: string;
|
|
6
|
+
lang?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
htmlFor?: string;
|
|
9
|
+
tabIndex?: number;
|
|
10
|
+
id?: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
"data-modal-launcher-portal"?: boolean;
|
|
13
|
+
"data-placement"?: string;
|
|
14
14
|
} & Readonly<import("@khanacademy/wonder-blocks-core").AriaAttributes> & Readonly<{
|
|
15
|
-
role?: import("@khanacademy/wonder-blocks-core").AriaRole
|
|
15
|
+
role?: import("@khanacademy/wonder-blocks-core").AriaRole;
|
|
16
16
|
}> & {
|
|
17
|
-
onMouseDown?: (
|
|
18
|
-
onMouseUp?: (
|
|
19
|
-
onMouseMove?: (
|
|
20
|
-
onClick?: (
|
|
21
|
-
onDoubleClick?: (
|
|
22
|
-
onMouseEnter?: (
|
|
23
|
-
onMouseLeave?: (
|
|
24
|
-
onMouseOut?: (
|
|
25
|
-
onMouseOver?: (
|
|
26
|
-
onDrag?: (
|
|
27
|
-
onDragEnd?: (
|
|
28
|
-
onDragEnter?: (
|
|
29
|
-
onDragExit?: (
|
|
30
|
-
onDragLeave?: (
|
|
31
|
-
onDragOver?: (
|
|
32
|
-
onDragStart?: (
|
|
33
|
-
onDrop?: (
|
|
17
|
+
onMouseDown?: (e: React.MouseEvent) => unknown;
|
|
18
|
+
onMouseUp?: (e: React.MouseEvent) => unknown;
|
|
19
|
+
onMouseMove?: (e: React.MouseEvent) => unknown;
|
|
20
|
+
onClick?: (e: React.MouseEvent) => unknown;
|
|
21
|
+
onDoubleClick?: (e: React.MouseEvent) => unknown;
|
|
22
|
+
onMouseEnter?: (e: React.MouseEvent) => unknown;
|
|
23
|
+
onMouseLeave?: (e: React.MouseEvent) => unknown;
|
|
24
|
+
onMouseOut?: (e: React.MouseEvent) => unknown;
|
|
25
|
+
onMouseOver?: (e: React.MouseEvent) => unknown;
|
|
26
|
+
onDrag?: (e: React.MouseEvent) => unknown;
|
|
27
|
+
onDragEnd?: (e: React.MouseEvent) => unknown;
|
|
28
|
+
onDragEnter?: (e: React.MouseEvent) => unknown;
|
|
29
|
+
onDragExit?: (e: React.MouseEvent) => unknown;
|
|
30
|
+
onDragLeave?: (e: React.MouseEvent) => unknown;
|
|
31
|
+
onDragOver?: (e: React.MouseEvent) => unknown;
|
|
32
|
+
onDragStart?: (e: React.MouseEvent) => unknown;
|
|
33
|
+
onDrop?: (e: React.MouseEvent) => unknown;
|
|
34
34
|
} & {
|
|
35
|
-
onKeyDown?: (
|
|
36
|
-
onKeyPress?: (
|
|
37
|
-
onKeyUp?: (
|
|
35
|
+
onKeyDown?: (e: React.KeyboardEvent) => unknown;
|
|
36
|
+
onKeyPress?: (e: React.KeyboardEvent) => unknown;
|
|
37
|
+
onKeyUp?: (e: React.KeyboardEvent) => unknown;
|
|
38
38
|
} & {
|
|
39
|
-
onChange?: (
|
|
40
|
-
onInput?: (
|
|
41
|
-
onInvalid?: (
|
|
42
|
-
onSubmit?: (
|
|
39
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => unknown;
|
|
40
|
+
onInput?: (e: React.ChangeEvent<HTMLInputElement>) => unknown;
|
|
41
|
+
onInvalid?: (e: React.ChangeEvent<HTMLInputElement>) => unknown;
|
|
42
|
+
onSubmit?: (e: React.ChangeEvent<HTMLInputElement>) => unknown;
|
|
43
43
|
} & {
|
|
44
|
-
onTouchCancel?: (
|
|
45
|
-
onTouchEnd?: (
|
|
46
|
-
onTouchMove?: (
|
|
47
|
-
onTouchStart?: (
|
|
44
|
+
onTouchCancel?: (e: React.TouchEvent) => unknown;
|
|
45
|
+
onTouchEnd?: (e: React.TouchEvent) => unknown;
|
|
46
|
+
onTouchMove?: (e: React.TouchEvent) => unknown;
|
|
47
|
+
onTouchStart?: (e: React.TouchEvent) => unknown;
|
|
48
48
|
} & {
|
|
49
|
-
onFocus?: (
|
|
50
|
-
onBlur?: (
|
|
49
|
+
onFocus?: (e: React.FocusEvent) => unknown;
|
|
50
|
+
onBlur?: (e: React.FocusEvent) => unknown;
|
|
51
51
|
} & {
|
|
52
|
-
tag?: string
|
|
52
|
+
tag?: string;
|
|
53
53
|
} & React.RefAttributes<unknown>, "ref"> & React.RefAttributes<unknown>>;
|
|
54
54
|
export default BodyMonospace;
|