@magmamath/students-features 0.9.0-rc15 → 0.9.0-rc17
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/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +13 -37
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.js +0 -10
- package/dist/commonjs/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.js +0 -21
- package/dist/commonjs/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js +7 -23
- package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +0 -18
- package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js +6 -11
- package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/KeysList/KeysList.js +13 -5
- package/dist/commonjs/features/keyboard/components/KeysList/KeysList.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +1 -8
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js +7 -17
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js +9 -23
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/geometry.js +7 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/geometry.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js +24 -4
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/trigonometric.js +90 -12
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/trigonometric.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js +520 -52
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +13 -37
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.js +0 -10
- package/dist/module/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.js +0 -21
- package/dist/module/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js +7 -23
- package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +0 -18
- package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js +6 -11
- package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/KeysList/KeysList.js +13 -5
- package/dist/module/features/keyboard/components/KeysList/KeysList.js.map +1 -1
- package/dist/module/features/keyboard/components/Numpad/Numpad.js +2 -9
- package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js +8 -18
- package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js +10 -24
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/geometry.js +7 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/geometry.js.map +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js +24 -4
- package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/trigonometric.js +90 -12
- package/dist/module/features/keyboard/types/MathKeysGroups/trigonometric.js.map +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/units.js +520 -52
- package/dist/module/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/KeysList/KeysList.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/geometry.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/trigonometric.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts +2 -1
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/KeysList/KeysList.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitTabs.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/geometry.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/trigonometric.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/types.d.ts +2 -1
- package/dist/typescript/module/features/keyboard/types/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +6 -34
- package/src/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.tsx +1 -13
- package/src/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.tsx +1 -24
- package/src/features/keyboard/components/BasicLayout/BasicLayout.tsx +7 -25
- package/src/features/keyboard/components/BasicLayout/CurrencyBasicLayout.tsx +1 -19
- package/src/features/keyboard/components/BasicLayout/TimeBasicLayout.tsx +5 -10
- package/src/features/keyboard/components/KeysList/KeysList.tsx +12 -4
- package/src/features/keyboard/components/Numpad/Numpad.tsx +1 -6
- package/src/features/keyboard/components/UnitsLayout/UnitTabs.tsx +7 -12
- package/src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx +5 -18
- package/src/features/keyboard/types/MathKeysGroups/geometry.tsx +6 -0
- package/src/features/keyboard/types/MathKeysGroups/specialOperators.tsx +20 -0
- package/src/features/keyboard/types/MathKeysGroups/trigonometric.tsx +78 -0
- package/src/features/keyboard/types/MathKeysGroups/units.tsx +468 -0
- package/src/features/keyboard/types/types.ts +2 -1
|
@@ -142,61 +142,169 @@ export const MATH_LENGTH_UNITS: MathKeysGroup<typeof MathLengthUnit> = {
|
|
|
142
142
|
label: 'km',
|
|
143
143
|
mathliveValue: 'km',
|
|
144
144
|
katexValue: 'km',
|
|
145
|
+
style: {
|
|
146
|
+
button: {
|
|
147
|
+
width: 45,
|
|
148
|
+
},
|
|
149
|
+
text: {
|
|
150
|
+
fontSize: 14,
|
|
151
|
+
fontWeight: 700,
|
|
152
|
+
},
|
|
153
|
+
},
|
|
145
154
|
},
|
|
146
155
|
[MathLengthUnit.METER]: {
|
|
147
156
|
label: 'm',
|
|
148
157
|
mathliveValue: '\\mathrm{m}',
|
|
149
158
|
katexValue: 'm',
|
|
159
|
+
style: {
|
|
160
|
+
button: {
|
|
161
|
+
width: 45,
|
|
162
|
+
},
|
|
163
|
+
text: {
|
|
164
|
+
fontSize: 14,
|
|
165
|
+
fontWeight: 700,
|
|
166
|
+
},
|
|
167
|
+
},
|
|
150
168
|
},
|
|
151
169
|
[MathLengthUnit.DECIMETER]: {
|
|
152
170
|
label: 'dm',
|
|
153
171
|
mathliveValue: '\\mathrm{dm}',
|
|
154
172
|
katexValue: 'dm',
|
|
173
|
+
style: {
|
|
174
|
+
button: {
|
|
175
|
+
width: 45,
|
|
176
|
+
},
|
|
177
|
+
text: {
|
|
178
|
+
fontSize: 14,
|
|
179
|
+
fontWeight: 700,
|
|
180
|
+
},
|
|
181
|
+
},
|
|
155
182
|
},
|
|
156
183
|
[MathLengthUnit.CENTIMETER]: {
|
|
157
184
|
label: 'cm',
|
|
158
185
|
mathliveValue: '\\mathrm{cm}',
|
|
159
186
|
katexValue: 'cm',
|
|
187
|
+
style: {
|
|
188
|
+
button: {
|
|
189
|
+
width: 45,
|
|
190
|
+
},
|
|
191
|
+
text: {
|
|
192
|
+
fontSize: 14,
|
|
193
|
+
fontWeight: 700,
|
|
194
|
+
},
|
|
195
|
+
},
|
|
160
196
|
},
|
|
161
197
|
[MathLengthUnit.MILLIMETER]: {
|
|
162
198
|
label: 'mm',
|
|
163
199
|
mathliveValue: '\\mathrm{mm}',
|
|
164
200
|
katexValue: 'mm',
|
|
201
|
+
style: {
|
|
202
|
+
button: {
|
|
203
|
+
width: 45,
|
|
204
|
+
},
|
|
205
|
+
text: {
|
|
206
|
+
fontSize: 14,
|
|
207
|
+
fontWeight: 700,
|
|
208
|
+
},
|
|
209
|
+
},
|
|
165
210
|
},
|
|
166
211
|
[MathLengthUnit.HECTARE]: {
|
|
167
212
|
label: 'ha',
|
|
168
213
|
mathliveValue: '\\mathrm{ha}',
|
|
169
214
|
katexValue: 'ha',
|
|
215
|
+
style: {
|
|
216
|
+
button: {
|
|
217
|
+
width: 45,
|
|
218
|
+
},
|
|
219
|
+
text: {
|
|
220
|
+
fontSize: 14,
|
|
221
|
+
fontWeight: 700,
|
|
222
|
+
},
|
|
223
|
+
},
|
|
170
224
|
},
|
|
171
225
|
[MathLengthUnit.INCH]: {
|
|
172
226
|
label: 'in',
|
|
173
227
|
mathliveValue: '\\mathrm{in}',
|
|
174
228
|
katexValue: 'in',
|
|
229
|
+
style: {
|
|
230
|
+
button: {
|
|
231
|
+
width: 40,
|
|
232
|
+
},
|
|
233
|
+
text: {
|
|
234
|
+
fontSize: 14,
|
|
235
|
+
fontWeight: 700,
|
|
236
|
+
},
|
|
237
|
+
},
|
|
175
238
|
},
|
|
176
239
|
[MathLengthUnit.FOOT]: {
|
|
177
240
|
label: 'ft',
|
|
178
241
|
mathliveValue: '\\mathrm{ft}',
|
|
179
242
|
katexValue: 'ft',
|
|
243
|
+
style: {
|
|
244
|
+
button: {
|
|
245
|
+
width: 40,
|
|
246
|
+
},
|
|
247
|
+
text: {
|
|
248
|
+
fontSize: 14,
|
|
249
|
+
fontWeight: 700,
|
|
250
|
+
},
|
|
251
|
+
},
|
|
180
252
|
},
|
|
181
253
|
[MathLengthUnit.YARD]: {
|
|
182
254
|
label: 'yd',
|
|
183
255
|
mathliveValue: '\\mathrm{yd}',
|
|
184
256
|
katexValue: 'yd',
|
|
257
|
+
style: {
|
|
258
|
+
button: {
|
|
259
|
+
width: 40,
|
|
260
|
+
},
|
|
261
|
+
text: {
|
|
262
|
+
fontSize: 14,
|
|
263
|
+
fontWeight: 700,
|
|
264
|
+
},
|
|
265
|
+
},
|
|
185
266
|
},
|
|
186
267
|
[MathLengthUnit.YARDS]: {
|
|
187
268
|
label: 'yds',
|
|
188
269
|
mathliveValue: '\\mathrm{yds}',
|
|
189
270
|
katexValue: 'yds',
|
|
271
|
+
style: {
|
|
272
|
+
button: {
|
|
273
|
+
width: 40,
|
|
274
|
+
},
|
|
275
|
+
text: {
|
|
276
|
+
fontSize: 14,
|
|
277
|
+
fontWeight: 700,
|
|
278
|
+
},
|
|
279
|
+
},
|
|
190
280
|
},
|
|
191
281
|
[MathLengthUnit.MILE]: {
|
|
192
282
|
label: 'mi',
|
|
193
283
|
mathliveValue: '\\mathrm{mi}',
|
|
194
284
|
katexValue: 'mi',
|
|
285
|
+
style: {
|
|
286
|
+
button: {
|
|
287
|
+
width: 40,
|
|
288
|
+
},
|
|
289
|
+
text: {
|
|
290
|
+
fontSize: 14,
|
|
291
|
+
fontWeight: 700,
|
|
292
|
+
},
|
|
293
|
+
},
|
|
195
294
|
},
|
|
196
295
|
[MathLengthUnit.MILE_SE]: {
|
|
197
296
|
label: 'mil',
|
|
198
297
|
mathliveValue: '\\mathrm{mil}',
|
|
199
298
|
katexValue: 'mil',
|
|
299
|
+
style: {
|
|
300
|
+
button: {
|
|
301
|
+
width: 45,
|
|
302
|
+
},
|
|
303
|
+
text: {
|
|
304
|
+
fontSize: 14,
|
|
305
|
+
fontWeight: 700,
|
|
306
|
+
},
|
|
307
|
+
},
|
|
200
308
|
},
|
|
201
309
|
}
|
|
202
310
|
|
|
@@ -205,51 +313,141 @@ export const MATH_AREA_UNITS: MathKeysGroup<typeof MathAreaUnit> = {
|
|
|
205
313
|
label: 'km²',
|
|
206
314
|
mathliveValue: '\\mathrm{km}^2',
|
|
207
315
|
katexValue: 'km^2',
|
|
316
|
+
style: {
|
|
317
|
+
button: {
|
|
318
|
+
width: 48,
|
|
319
|
+
},
|
|
320
|
+
text: {
|
|
321
|
+
fontSize: 14,
|
|
322
|
+
fontWeight: 700,
|
|
323
|
+
},
|
|
324
|
+
},
|
|
208
325
|
},
|
|
209
326
|
[MathAreaUnit.SQUARE_METER]: {
|
|
210
327
|
label: 'm²',
|
|
211
328
|
mathliveValue: '\\mathrm{m}^2',
|
|
212
329
|
katexValue: 'm^2',
|
|
330
|
+
style: {
|
|
331
|
+
button: {
|
|
332
|
+
width: 45,
|
|
333
|
+
},
|
|
334
|
+
text: {
|
|
335
|
+
fontSize: 14,
|
|
336
|
+
fontWeight: 700,
|
|
337
|
+
},
|
|
338
|
+
},
|
|
213
339
|
},
|
|
214
340
|
[MathAreaUnit.SQUARE_DECIMETER]: {
|
|
215
341
|
label: 'dm²',
|
|
216
342
|
mathliveValue: '\\mathrm{dm}^2',
|
|
217
343
|
katexValue: 'dm^2',
|
|
344
|
+
style: {
|
|
345
|
+
button: {
|
|
346
|
+
width: 48,
|
|
347
|
+
},
|
|
348
|
+
text: {
|
|
349
|
+
fontSize: 14,
|
|
350
|
+
fontWeight: 700,
|
|
351
|
+
},
|
|
352
|
+
},
|
|
218
353
|
},
|
|
219
354
|
[MathAreaUnit.SQUARE_CENTIMETER]: {
|
|
220
355
|
label: 'cm²',
|
|
221
356
|
mathliveValue: '\\mathrm{cm}^2',
|
|
222
357
|
katexValue: 'cm^2',
|
|
358
|
+
style: {
|
|
359
|
+
button: {
|
|
360
|
+
width: 48,
|
|
361
|
+
},
|
|
362
|
+
text: {
|
|
363
|
+
fontSize: 14,
|
|
364
|
+
fontWeight: 700,
|
|
365
|
+
},
|
|
366
|
+
},
|
|
223
367
|
},
|
|
224
368
|
[MathAreaUnit.SQUARE_MILLIMETER]: {
|
|
225
369
|
label: 'mm²',
|
|
226
370
|
mathliveValue: '\\mathrm{mm}^2',
|
|
227
371
|
katexValue: 'mm^2',
|
|
372
|
+
style: {
|
|
373
|
+
button: {
|
|
374
|
+
width: 48,
|
|
375
|
+
},
|
|
376
|
+
text: {
|
|
377
|
+
fontSize: 14,
|
|
378
|
+
fontWeight: 700,
|
|
379
|
+
},
|
|
380
|
+
},
|
|
228
381
|
},
|
|
229
382
|
[MathAreaUnit.SQUARE_INCH]: {
|
|
230
383
|
label: 'in²',
|
|
231
384
|
mathliveValue: '\\mathrm{in}^2',
|
|
232
385
|
katexValue: 'in^2',
|
|
386
|
+
style: {
|
|
387
|
+
button: {
|
|
388
|
+
width: 43,
|
|
389
|
+
},
|
|
390
|
+
text: {
|
|
391
|
+
fontSize: 14,
|
|
392
|
+
fontWeight: 700,
|
|
393
|
+
},
|
|
394
|
+
},
|
|
233
395
|
},
|
|
234
396
|
[MathAreaUnit.SQUARE_FOOT]: {
|
|
235
397
|
label: 'ft²',
|
|
236
398
|
mathliveValue: '\\mathrm{ft}^2',
|
|
237
399
|
katexValue: 'ft^2',
|
|
400
|
+
style: {
|
|
401
|
+
button: {
|
|
402
|
+
width: 43,
|
|
403
|
+
},
|
|
404
|
+
text: {
|
|
405
|
+
fontSize: 14,
|
|
406
|
+
fontWeight: 700,
|
|
407
|
+
},
|
|
408
|
+
},
|
|
238
409
|
},
|
|
239
410
|
[MathAreaUnit.SQUARE_MILE]: {
|
|
240
411
|
label: 'mi²',
|
|
241
412
|
mathliveValue: '\\mathrm{mi}^2',
|
|
242
413
|
katexValue: 'mi^2',
|
|
414
|
+
style: {
|
|
415
|
+
button: {
|
|
416
|
+
width: 43,
|
|
417
|
+
},
|
|
418
|
+
text: {
|
|
419
|
+
fontSize: 14,
|
|
420
|
+
fontWeight: 700,
|
|
421
|
+
},
|
|
422
|
+
},
|
|
243
423
|
},
|
|
244
424
|
[MathAreaUnit.SQUARE_YARD]: {
|
|
245
425
|
label: 'yd²',
|
|
246
426
|
mathliveValue: '\\mathrm{yd}^2',
|
|
247
427
|
katexValue: 'yd^2',
|
|
428
|
+
style: {
|
|
429
|
+
button: {
|
|
430
|
+
width: 43,
|
|
431
|
+
},
|
|
432
|
+
text: {
|
|
433
|
+
fontSize: 14,
|
|
434
|
+
fontWeight: 700,
|
|
435
|
+
},
|
|
436
|
+
},
|
|
248
437
|
},
|
|
249
438
|
[MathAreaUnit.HECTARE]: {
|
|
250
439
|
label: 'ha',
|
|
251
440
|
mathliveValue: '\\mathrm{ha}',
|
|
252
441
|
katexValue: 'ha',
|
|
442
|
+
style: {
|
|
443
|
+
button: {
|
|
444
|
+
width: 40,
|
|
445
|
+
},
|
|
446
|
+
text: {
|
|
447
|
+
fontSize: 14,
|
|
448
|
+
fontWeight: 700,
|
|
449
|
+
},
|
|
450
|
+
},
|
|
253
451
|
},
|
|
254
452
|
}
|
|
255
453
|
|
|
@@ -258,101 +456,281 @@ export const MATH_VOLUME_UNITS: MathKeysGroup<typeof MathVolumeUnit> = {
|
|
|
258
456
|
label: 'km³',
|
|
259
457
|
mathliveValue: '\\mathrm{km}^3',
|
|
260
458
|
katexValue: 'km^3',
|
|
459
|
+
style: {
|
|
460
|
+
button: {
|
|
461
|
+
width: 48,
|
|
462
|
+
},
|
|
463
|
+
text: {
|
|
464
|
+
fontSize: 14,
|
|
465
|
+
fontWeight: 700,
|
|
466
|
+
},
|
|
467
|
+
},
|
|
261
468
|
},
|
|
262
469
|
[MathVolumeUnit.CUBIC_METER]: {
|
|
263
470
|
label: 'm³',
|
|
264
471
|
mathliveValue: '\\mathrm{m}^3',
|
|
265
472
|
katexValue: 'm^3',
|
|
473
|
+
style: {
|
|
474
|
+
button: {
|
|
475
|
+
width: 48,
|
|
476
|
+
},
|
|
477
|
+
text: {
|
|
478
|
+
fontSize: 14,
|
|
479
|
+
fontWeight: 700,
|
|
480
|
+
},
|
|
481
|
+
},
|
|
266
482
|
},
|
|
267
483
|
[MathVolumeUnit.CUBIC_DECIMETER]: {
|
|
268
484
|
label: 'dm³',
|
|
269
485
|
mathliveValue: '\\mathrm{dm}^3',
|
|
270
486
|
katexValue: 'dm^3',
|
|
487
|
+
style: {
|
|
488
|
+
button: {
|
|
489
|
+
width: 48,
|
|
490
|
+
},
|
|
491
|
+
text: {
|
|
492
|
+
fontSize: 14,
|
|
493
|
+
fontWeight: 700,
|
|
494
|
+
},
|
|
495
|
+
},
|
|
271
496
|
},
|
|
272
497
|
[MathVolumeUnit.CUBIC_CENTIMETER]: {
|
|
273
498
|
label: 'cm³',
|
|
274
499
|
mathliveValue: '\\mathrm{cm}^3',
|
|
275
500
|
katexValue: 'cm^3',
|
|
501
|
+
style: {
|
|
502
|
+
button: {
|
|
503
|
+
width: 48,
|
|
504
|
+
},
|
|
505
|
+
text: {
|
|
506
|
+
fontSize: 14,
|
|
507
|
+
fontWeight: 700,
|
|
508
|
+
},
|
|
509
|
+
},
|
|
276
510
|
},
|
|
277
511
|
[MathVolumeUnit.CUBIC_MILLIMETER]: {
|
|
278
512
|
label: 'mm³',
|
|
279
513
|
mathliveValue: '\\mathrm{mm}^3',
|
|
280
514
|
katexValue: 'mm^3',
|
|
515
|
+
style: {
|
|
516
|
+
button: {
|
|
517
|
+
width: 48,
|
|
518
|
+
},
|
|
519
|
+
text: {
|
|
520
|
+
fontSize: 14,
|
|
521
|
+
fontWeight: 700,
|
|
522
|
+
},
|
|
523
|
+
},
|
|
281
524
|
},
|
|
282
525
|
[MathVolumeUnit.CUBIC_INCH]: {
|
|
283
526
|
label: 'in³',
|
|
284
527
|
mathliveValue: '\\mathrm{in}^3',
|
|
285
528
|
katexValue: 'in^3',
|
|
529
|
+
style: {
|
|
530
|
+
button: {
|
|
531
|
+
width: 43,
|
|
532
|
+
},
|
|
533
|
+
text: {
|
|
534
|
+
fontSize: 14,
|
|
535
|
+
fontWeight: 700,
|
|
536
|
+
},
|
|
537
|
+
},
|
|
286
538
|
},
|
|
287
539
|
[MathVolumeUnit.CUBIC_FOOT]: {
|
|
288
540
|
label: 'ft³',
|
|
289
541
|
mathliveValue: '\\mathrm{ft}^3',
|
|
290
542
|
katexValue: 'ft^3',
|
|
543
|
+
style: {
|
|
544
|
+
button: {
|
|
545
|
+
width: 43,
|
|
546
|
+
},
|
|
547
|
+
text: {
|
|
548
|
+
fontSize: 14,
|
|
549
|
+
fontWeight: 700,
|
|
550
|
+
},
|
|
551
|
+
},
|
|
291
552
|
},
|
|
292
553
|
[MathVolumeUnit.CUBIC_MILE]: {
|
|
293
554
|
label: 'mi³',
|
|
294
555
|
mathliveValue: '\\mathrm{mi}^3',
|
|
295
556
|
katexValue: 'mi^3',
|
|
557
|
+
style: {
|
|
558
|
+
button: {
|
|
559
|
+
width: 48,
|
|
560
|
+
},
|
|
561
|
+
text: {
|
|
562
|
+
fontSize: 14,
|
|
563
|
+
fontWeight: 700,
|
|
564
|
+
},
|
|
565
|
+
},
|
|
296
566
|
},
|
|
297
567
|
[MathVolumeUnit.CUBIC_YARD]: {
|
|
298
568
|
label: 'yd³',
|
|
299
569
|
mathliveValue: '\\mathrm{yd}^3',
|
|
300
570
|
katexValue: 'yd^3',
|
|
571
|
+
style: {
|
|
572
|
+
button: {
|
|
573
|
+
width: 43,
|
|
574
|
+
},
|
|
575
|
+
text: {
|
|
576
|
+
fontSize: 14,
|
|
577
|
+
fontWeight: 700,
|
|
578
|
+
},
|
|
579
|
+
},
|
|
301
580
|
},
|
|
302
581
|
[MathVolumeUnit.MILLILITER]: {
|
|
303
582
|
label: 'ml',
|
|
304
583
|
mathliveValue: '\\mathrm{mL}',
|
|
305
584
|
katexValue: 'ml',
|
|
585
|
+
style: {
|
|
586
|
+
button: {
|
|
587
|
+
width: 40,
|
|
588
|
+
},
|
|
589
|
+
text: {
|
|
590
|
+
fontSize: 14,
|
|
591
|
+
fontWeight: 700,
|
|
592
|
+
},
|
|
593
|
+
},
|
|
306
594
|
},
|
|
307
595
|
[MathVolumeUnit.LITER]: {
|
|
308
596
|
label: 'L',
|
|
309
597
|
mathliveValue: '\\mathrm{L}',
|
|
310
598
|
katexValue: 'L',
|
|
599
|
+
style: {
|
|
600
|
+
button: {
|
|
601
|
+
width: 40,
|
|
602
|
+
},
|
|
603
|
+
text: {
|
|
604
|
+
fontSize: 14,
|
|
605
|
+
fontWeight: 700,
|
|
606
|
+
},
|
|
607
|
+
},
|
|
311
608
|
},
|
|
312
609
|
[MathVolumeUnit.MILLILITER_SE]: {
|
|
313
610
|
label: 'ml',
|
|
314
611
|
mathliveValue: '\\mathrm{ml}',
|
|
315
612
|
katexValue: 'ml',
|
|
613
|
+
style: {
|
|
614
|
+
button: {
|
|
615
|
+
width: 40,
|
|
616
|
+
},
|
|
617
|
+
text: {
|
|
618
|
+
fontSize: 14,
|
|
619
|
+
fontWeight: 700,
|
|
620
|
+
},
|
|
621
|
+
},
|
|
316
622
|
},
|
|
317
623
|
[MathVolumeUnit.LITER_SE]: {
|
|
318
624
|
label: 'l',
|
|
319
625
|
mathliveValue: '\\mathrm{l}',
|
|
320
626
|
katexValue: 'l',
|
|
627
|
+
style: {
|
|
628
|
+
button: {
|
|
629
|
+
width: 40,
|
|
630
|
+
},
|
|
631
|
+
text: {
|
|
632
|
+
fontSize: 14,
|
|
633
|
+
fontWeight: 700,
|
|
634
|
+
},
|
|
635
|
+
},
|
|
321
636
|
},
|
|
322
637
|
[MathVolumeUnit.DL]: {
|
|
323
638
|
label: 'dl',
|
|
324
639
|
mathliveValue: '\\mathrm{dl}',
|
|
325
640
|
katexValue: 'dl',
|
|
641
|
+
style: {
|
|
642
|
+
button: {
|
|
643
|
+
width: 40,
|
|
644
|
+
},
|
|
645
|
+
text: {
|
|
646
|
+
fontSize: 14,
|
|
647
|
+
fontWeight: 700,
|
|
648
|
+
},
|
|
649
|
+
},
|
|
326
650
|
},
|
|
327
651
|
[MathVolumeUnit.CUP]: {
|
|
328
652
|
label: 'cup',
|
|
329
653
|
mathliveValue: '\\mathrm{cup}',
|
|
330
654
|
katexValue: 'cup',
|
|
655
|
+
style: {
|
|
656
|
+
button: {
|
|
657
|
+
width: 45,
|
|
658
|
+
},
|
|
659
|
+
text: {
|
|
660
|
+
fontSize: 14,
|
|
661
|
+
fontWeight: 700,
|
|
662
|
+
},
|
|
663
|
+
},
|
|
331
664
|
},
|
|
332
665
|
[MathVolumeUnit.GAL]: {
|
|
333
666
|
label: 'gal',
|
|
334
667
|
mathliveValue: '\\mathrm{gal}',
|
|
335
668
|
katexValue: 'gal',
|
|
669
|
+
style: {
|
|
670
|
+
button: {
|
|
671
|
+
width: 44,
|
|
672
|
+
},
|
|
673
|
+
text: {
|
|
674
|
+
fontSize: 14,
|
|
675
|
+
fontWeight: 700,
|
|
676
|
+
},
|
|
677
|
+
},
|
|
336
678
|
},
|
|
337
679
|
[MathVolumeUnit.PINT]: {
|
|
338
680
|
label: 'pt',
|
|
339
681
|
mathliveValue: '\\mathrm{pt}',
|
|
340
682
|
katexValue: 'pt',
|
|
683
|
+
style: {
|
|
684
|
+
button: {
|
|
685
|
+
width: 48,
|
|
686
|
+
},
|
|
687
|
+
text: {
|
|
688
|
+
fontSize: 14,
|
|
689
|
+
fontWeight: 700,
|
|
690
|
+
},
|
|
691
|
+
},
|
|
341
692
|
},
|
|
342
693
|
[MathVolumeUnit.QUART]: {
|
|
343
694
|
label: 'qt',
|
|
344
695
|
mathliveValue: '\\mathrm{qt}',
|
|
345
696
|
katexValue: 'qt',
|
|
697
|
+
style: {
|
|
698
|
+
button: {
|
|
699
|
+
width: 44,
|
|
700
|
+
},
|
|
701
|
+
text: {
|
|
702
|
+
fontSize: 14,
|
|
703
|
+
fontWeight: 700,
|
|
704
|
+
},
|
|
705
|
+
},
|
|
346
706
|
},
|
|
347
707
|
[MathVolumeUnit.FLOZ]: {
|
|
348
708
|
label: 'floz',
|
|
349
709
|
mathliveValue: '\\mathrm{floz}',
|
|
350
710
|
katexValue: 'floz',
|
|
711
|
+
style: {
|
|
712
|
+
button: {
|
|
713
|
+
width: 52,
|
|
714
|
+
},
|
|
715
|
+
text: {
|
|
716
|
+
fontSize: 14,
|
|
717
|
+
fontWeight: 700,
|
|
718
|
+
},
|
|
719
|
+
},
|
|
351
720
|
},
|
|
352
721
|
[MathVolumeUnit.CL]: {
|
|
353
722
|
label: 'cl',
|
|
354
723
|
mathliveValue: '\\mathrm{cl}',
|
|
355
724
|
katexValue: 'cl',
|
|
725
|
+
style: {
|
|
726
|
+
button: {
|
|
727
|
+
width: 40,
|
|
728
|
+
},
|
|
729
|
+
text: {
|
|
730
|
+
fontSize: 14,
|
|
731
|
+
fontWeight: 700,
|
|
732
|
+
},
|
|
733
|
+
},
|
|
356
734
|
},
|
|
357
735
|
}
|
|
358
736
|
|
|
@@ -361,51 +739,141 @@ export const MATH_WEIGHT_UNITS: MathKeysGroup<typeof MathWeightUnit> = {
|
|
|
361
739
|
label: 'kg',
|
|
362
740
|
mathliveValue: '\\mathrm{kg}',
|
|
363
741
|
katexValue: 'kg',
|
|
742
|
+
style: {
|
|
743
|
+
button: {
|
|
744
|
+
width: 45,
|
|
745
|
+
},
|
|
746
|
+
text: {
|
|
747
|
+
fontSize: 14,
|
|
748
|
+
fontWeight: 700,
|
|
749
|
+
},
|
|
750
|
+
},
|
|
364
751
|
},
|
|
365
752
|
[MathWeightUnit.G]: {
|
|
366
753
|
label: 'g',
|
|
367
754
|
mathliveValue: '\\mathrm{g}',
|
|
368
755
|
katexValue: 'g',
|
|
756
|
+
style: {
|
|
757
|
+
button: {
|
|
758
|
+
width: 40,
|
|
759
|
+
},
|
|
760
|
+
text: {
|
|
761
|
+
fontSize: 14,
|
|
762
|
+
fontWeight: 700,
|
|
763
|
+
},
|
|
764
|
+
},
|
|
369
765
|
},
|
|
370
766
|
[MathWeightUnit.MG]: {
|
|
371
767
|
label: 'mg',
|
|
372
768
|
mathliveValue: '\\mathrm{mg}',
|
|
373
769
|
katexValue: 'mg',
|
|
770
|
+
style: {
|
|
771
|
+
button: {
|
|
772
|
+
width: 45,
|
|
773
|
+
},
|
|
774
|
+
text: {
|
|
775
|
+
fontSize: 14,
|
|
776
|
+
fontWeight: 700,
|
|
777
|
+
},
|
|
778
|
+
},
|
|
374
779
|
},
|
|
375
780
|
[MathWeightUnit.TON_SE]: {
|
|
376
781
|
label: 'ton',
|
|
377
782
|
mathliveValue: '\\mathrm{ton}',
|
|
378
783
|
katexValue: 'ton',
|
|
784
|
+
style: {
|
|
785
|
+
button: {
|
|
786
|
+
width: 45,
|
|
787
|
+
},
|
|
788
|
+
text: {
|
|
789
|
+
fontSize: 14,
|
|
790
|
+
fontWeight: 700,
|
|
791
|
+
},
|
|
792
|
+
},
|
|
379
793
|
},
|
|
380
794
|
[MathWeightUnit.TON]: {
|
|
381
795
|
label: 'T',
|
|
382
796
|
mathliveValue: '\\mathrm{T}',
|
|
383
797
|
katexValue: 'T',
|
|
798
|
+
style: {
|
|
799
|
+
button: {
|
|
800
|
+
width: 45,
|
|
801
|
+
},
|
|
802
|
+
text: {
|
|
803
|
+
fontSize: 14,
|
|
804
|
+
fontWeight: 700,
|
|
805
|
+
},
|
|
806
|
+
},
|
|
384
807
|
},
|
|
385
808
|
[MathWeightUnit.LB]: {
|
|
386
809
|
label: 'lb',
|
|
387
810
|
mathliveValue: '\\mathrm{lb}',
|
|
388
811
|
katexValue: 'lb',
|
|
812
|
+
style: {
|
|
813
|
+
button: {
|
|
814
|
+
width: 40,
|
|
815
|
+
},
|
|
816
|
+
text: {
|
|
817
|
+
fontSize: 14,
|
|
818
|
+
fontWeight: 700,
|
|
819
|
+
},
|
|
820
|
+
},
|
|
389
821
|
},
|
|
390
822
|
[MathWeightUnit.OZ]: {
|
|
391
823
|
label: 'oz',
|
|
392
824
|
mathliveValue: '\\mathrm{oz}',
|
|
393
825
|
katexValue: 'oz',
|
|
826
|
+
style: {
|
|
827
|
+
button: {
|
|
828
|
+
width: 40,
|
|
829
|
+
},
|
|
830
|
+
text: {
|
|
831
|
+
fontSize: 14,
|
|
832
|
+
fontWeight: 700,
|
|
833
|
+
},
|
|
834
|
+
},
|
|
394
835
|
},
|
|
395
836
|
[MathWeightUnit.GAL]: {
|
|
396
837
|
label: 'gal',
|
|
397
838
|
mathliveValue: '\\mathrm{gal}',
|
|
398
839
|
katexValue: 'gal',
|
|
840
|
+
style: {
|
|
841
|
+
button: {
|
|
842
|
+
width: 44,
|
|
843
|
+
},
|
|
844
|
+
text: {
|
|
845
|
+
fontSize: 14,
|
|
846
|
+
fontWeight: 700,
|
|
847
|
+
},
|
|
848
|
+
},
|
|
399
849
|
},
|
|
400
850
|
[MathWeightUnit.HG]: {
|
|
401
851
|
label: 'hg',
|
|
402
852
|
mathliveValue: '\\mathrm{hg}',
|
|
403
853
|
katexValue: 'hg',
|
|
854
|
+
style: {
|
|
855
|
+
button: {
|
|
856
|
+
width: 45,
|
|
857
|
+
},
|
|
858
|
+
text: {
|
|
859
|
+
fontSize: 14,
|
|
860
|
+
fontWeight: 700,
|
|
861
|
+
},
|
|
862
|
+
},
|
|
404
863
|
},
|
|
405
864
|
[MathWeightUnit.T]: {
|
|
406
865
|
label: 't',
|
|
407
866
|
mathliveValue: '\\mathrm{t}',
|
|
408
867
|
katexValue: 't',
|
|
868
|
+
style: {
|
|
869
|
+
button: {
|
|
870
|
+
width: 45,
|
|
871
|
+
},
|
|
872
|
+
text: {
|
|
873
|
+
fontSize: 14,
|
|
874
|
+
fontWeight: 700,
|
|
875
|
+
},
|
|
876
|
+
},
|
|
409
877
|
},
|
|
410
878
|
}
|
|
411
879
|
|