@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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [3.0.0-alpha.78](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.77...v3.0.0-alpha.78) (2023-02-15)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * adjust button size [SUR-2126] ([51961cb](https://fox.25sprout.com/surveycake/sdk/rc/commit/51961cb186a9cf289a00ffc0655ba58f7b34c705))
11
+
5
12
  ## [3.0.0-alpha.77](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.76...v3.0.0-alpha.77) (2023-01-19)
6
13
 
7
14
 
@@ -327,7 +327,7 @@ styles$5.createTheme({
327
327
  button: {
328
328
  fontSize: DESKTOP_FONT_SIZE.button + "rem",
329
329
  fontWeight: 500,
330
- lineHeight: 1.5,
330
+ lineHeight: 1,
331
331
  letterSpacing: 0,
332
332
  textTransform: 'none'
333
333
  },
@@ -516,14 +516,18 @@ var MuiBackdrop = {
516
516
 
517
517
  var MuiButton = {
518
518
  root: {
519
- padding: '10px 8px',
520
- minWidth: '60px',
521
- fontSize: core.typography.body2.fontSize
519
+ padding: '11px 16px'
520
+ },
521
+ sizeLarge: {
522
+ fontSize: core.typography.button.fontSize
523
+ },
524
+ sizeSmall: {
525
+ fontSize: core.typography.button.fontSize
522
526
  },
523
527
  contained: {
524
528
  backgroundColor: core.palette.grey.A200,
525
529
  color: core.palette.grey[600],
526
- padding: '7px 8px',
530
+ padding: '11px 16px',
527
531
  '&:hover': {
528
532
  backgroundColor: core.palette.grey.A400
529
533
  },
@@ -533,19 +537,17 @@ var MuiButton = {
533
537
  }
534
538
  },
535
539
  containedSizeSmall: {
536
- padding: '5px 8px',
537
- fontSize: core.typography.body2.fontSize
540
+ padding: '9px 16px'
538
541
  },
539
542
  containedSizeLarge: {
540
- padding: '9px 8px',
541
- fontSize: core.typography.body2.fontSize
543
+ padding: '13px 16px'
542
544
  },
543
545
  containedPrimary: {
544
546
  color: core.palette.grey[50]
545
547
  },
546
548
  text: {
547
549
  color: core.palette.grey[600],
548
- padding: '7px 8px',
550
+ padding: '11px 16px',
549
551
  '&:hover': {
550
552
  backgroundColor: core.palette.grey.A400
551
553
  },
@@ -554,12 +556,10 @@ var MuiButton = {
554
556
  }
555
557
  },
556
558
  textSizeSmall: {
557
- padding: '5px 8px',
558
- fontSize: core.typography.body2.fontSize
559
+ padding: '9px 16px'
559
560
  },
560
561
  textSizeLarge: {
561
- padding: '9px 8px',
562
- fontSize: core.typography.body2.fontSize
562
+ padding: '13px 16px'
563
563
  },
564
564
  textPrimary: {
565
565
  color: core.palette.grey[600],
@@ -577,7 +577,7 @@ var MuiButton = {
577
577
  },
578
578
  outlined: {
579
579
  color: core.palette.grey[600],
580
- padding: '6px 8px',
580
+ padding: '10px 15px',
581
581
  border: "1px solid " + core.palette.grey[600],
582
582
  '&:disabled': {
583
583
  color: core.palette.grey[300],
@@ -585,12 +585,10 @@ var MuiButton = {
585
585
  }
586
586
  },
587
587
  outlinedSizeLarge: {
588
- padding: '8px',
589
- fontSize: core.typography.body2.fontSize
588
+ padding: '12px 15px'
590
589
  },
591
590
  outlinedSizeSmall: {
592
- padding: '4px 8px',
593
- fontSize: core.typography.body2.fontSize
591
+ padding: '8px 15px'
594
592
  },
595
593
  outlinedPrimary: {
596
594
  '&:hover': {