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