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