@surveycake/rc 3.0.0-alpha.77 → 3.0.0-alpha.78

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/rc.esm.js CHANGED
@@ -322,7 +322,7 @@ createTheme({
322
322
  button: {
323
323
  fontSize: DESKTOP_FONT_SIZE.button + "rem",
324
324
  fontWeight: 500,
325
- lineHeight: 1.5,
325
+ lineHeight: 1,
326
326
  letterSpacing: 0,
327
327
  textTransform: 'none'
328
328
  },
@@ -511,14 +511,18 @@ var MuiBackdrop = {
511
511
 
512
512
  var MuiButton = {
513
513
  root: {
514
- padding: '10px 8px',
515
- minWidth: '60px',
516
- fontSize: core.typography.body2.fontSize
514
+ padding: '11px 16px'
515
+ },
516
+ sizeLarge: {
517
+ fontSize: core.typography.button.fontSize
518
+ },
519
+ sizeSmall: {
520
+ fontSize: core.typography.button.fontSize
517
521
  },
518
522
  contained: {
519
523
  backgroundColor: core.palette.grey.A200,
520
524
  color: core.palette.grey[600],
521
- padding: '7px 8px',
525
+ padding: '11px 16px',
522
526
  '&:hover': {
523
527
  backgroundColor: core.palette.grey.A400
524
528
  },
@@ -528,19 +532,17 @@ var MuiButton = {
528
532
  }
529
533
  },
530
534
  containedSizeSmall: {
531
- padding: '5px 8px',
532
- fontSize: core.typography.body2.fontSize
535
+ padding: '9px 16px'
533
536
  },
534
537
  containedSizeLarge: {
535
- padding: '9px 8px',
536
- fontSize: core.typography.body2.fontSize
538
+ padding: '13px 16px'
537
539
  },
538
540
  containedPrimary: {
539
541
  color: core.palette.grey[50]
540
542
  },
541
543
  text: {
542
544
  color: core.palette.grey[600],
543
- padding: '7px 8px',
545
+ padding: '11px 16px',
544
546
  '&:hover': {
545
547
  backgroundColor: core.palette.grey.A400
546
548
  },
@@ -549,12 +551,10 @@ var MuiButton = {
549
551
  }
550
552
  },
551
553
  textSizeSmall: {
552
- padding: '5px 8px',
553
- fontSize: core.typography.body2.fontSize
554
+ padding: '9px 16px'
554
555
  },
555
556
  textSizeLarge: {
556
- padding: '9px 8px',
557
- fontSize: core.typography.body2.fontSize
557
+ padding: '13px 16px'
558
558
  },
559
559
  textPrimary: {
560
560
  color: core.palette.grey[600],
@@ -572,7 +572,7 @@ var MuiButton = {
572
572
  },
573
573
  outlined: {
574
574
  color: core.palette.grey[600],
575
- padding: '6px 8px',
575
+ padding: '10px 15px',
576
576
  border: "1px solid " + core.palette.grey[600],
577
577
  '&:disabled': {
578
578
  color: core.palette.grey[300],
@@ -580,12 +580,10 @@ var MuiButton = {
580
580
  }
581
581
  },
582
582
  outlinedSizeLarge: {
583
- padding: '8px',
584
- fontSize: core.typography.body2.fontSize
583
+ padding: '12px 15px'
585
584
  },
586
585
  outlinedSizeSmall: {
587
- padding: '4px 8px',
588
- fontSize: core.typography.body2.fontSize
586
+ padding: '8px 15px'
589
587
  },
590
588
  outlinedPrimary: {
591
589
  '&:hover': {