@surveycake/rc 3.0.0-alpha.32 → 3.0.0-alpha.33

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,18 @@
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.33](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.32...v3.0.0-alpha.33) (2022-01-13)
6
+
7
+
8
+ ### Features
9
+
10
+ * define exclusiveColor ([9fbe87c](https://fox.25sprout.com/surveycake/sdk/rc/commit/9fbe87c73c08cfd8e3eadf5a300af6a764700533))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * CardActionArea export wording typo ([57d8276](https://fox.25sprout.com/surveycake/sdk/rc/commit/57d82769c120b462f7ef9bc0f7115ba28f4ced23))
16
+
5
17
  ## [3.0.0-alpha.32](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.31...v3.0.0-alpha.32) (2022-01-13)
6
18
 
7
19
 
@@ -0,0 +1,22 @@
1
+ export declare const exclusiveColor: {
2
+ primary: {
3
+ light2: string;
4
+ light3: string;
5
+ };
6
+ secondary: {
7
+ light2: string;
8
+ light3: string;
9
+ };
10
+ error: {
11
+ light2: string;
12
+ };
13
+ success: {
14
+ light2: string;
15
+ };
16
+ warning: {
17
+ light2: string;
18
+ };
19
+ info: {
20
+ light2: string;
21
+ };
22
+ };
@@ -6,7 +6,7 @@ export { default as Button } from './Button';
6
6
  export { default as ButtonGroup } from './ButtonGroup';
7
7
  export { default as Card } from './Card';
8
8
  export { default as CardActions } from './CardActions';
9
- export { default as CardActonArea } from './CardActionArea';
9
+ export { default as CardActionArea } from './CardActionArea';
10
10
  export { default as CardMedia } from './CardMedia';
11
11
  export { default as Checkbox } from './Checkbox';
12
12
  export { default as Chip } from './Chip';
@@ -45,3 +45,4 @@ export { default as Tooltip } from './Tooltip';
45
45
  export { default as Typography } from './Typography';
46
46
  export { default as VarSelect } from './VarSelect';
47
47
  export { default as Icon } from './Icon';
48
+ export { exclusiveColor } from './ColorPalette/exclusiveColor';
@@ -265,6 +265,45 @@ var MuiBackdrop = {
265
265
  }
266
266
  };
267
267
 
268
+ var exclusiveColor = {
269
+ primary: {
270
+ light2:
271
+ /*#__PURE__*/
272
+ polished.lighten(0.3, core.palette.primary.main),
273
+ light3:
274
+ /*#__PURE__*/
275
+ polished.lighten(0.45, core.palette.primary.main)
276
+ },
277
+ secondary: {
278
+ light2:
279
+ /*#__PURE__*/
280
+ polished.lighten(0.3, core.palette.secondary.main),
281
+ light3:
282
+ /*#__PURE__*/
283
+ polished.lighten(0.45, core.palette.secondary.main)
284
+ },
285
+ error: {
286
+ light2:
287
+ /*#__PURE__*/
288
+ polished.lighten(0.35, core.palette.error.main)
289
+ },
290
+ success: {
291
+ light2:
292
+ /*#__PURE__*/
293
+ polished.lighten(0.4, core.palette.success.main)
294
+ },
295
+ warning: {
296
+ light2:
297
+ /*#__PURE__*/
298
+ polished.lighten(0.3, core.palette.warning.main)
299
+ },
300
+ info: {
301
+ light2:
302
+ /*#__PURE__*/
303
+ polished.lighten(0.35, core.palette.info.main)
304
+ }
305
+ };
306
+
268
307
  var MuiButton = {
269
308
  root: {
270
309
  padding: '10x 8px',
@@ -316,18 +355,14 @@ var MuiButton = {
316
355
  color: core.palette.grey[600],
317
356
  '&:hover': {
318
357
  color: core.palette.primary.main,
319
- backgroundColor:
320
- /*#__PURE__*/
321
- polished.lighten(0.45, core.palette.primary.main)
358
+ backgroundColor: exclusiveColor.primary.light3
322
359
  }
323
360
  },
324
361
  textSecondary: {
325
362
  color: core.palette.grey[600],
326
363
  '&:hover': {
327
364
  color: core.palette.secondary.main,
328
- backgroundColor:
329
- /*#__PURE__*/
330
- polished.lighten(0.45, core.palette.secondary.main)
365
+ backgroundColor: exclusiveColor.secondary.light3
331
366
  }
332
367
  },
333
368
  outlined: {
@@ -349,16 +384,12 @@ var MuiButton = {
349
384
  },
350
385
  outlinedPrimary: {
351
386
  '&:hover': {
352
- backgroundColor:
353
- /*#__PURE__*/
354
- polished.lighten(0.45, core.palette.primary.main)
387
+ backgroundColor: exclusiveColor.primary.light3
355
388
  }
356
389
  },
357
390
  outlinedSecondary: {
358
391
  '&:hover': {
359
- backgroundColor:
360
- /*#__PURE__*/
361
- polished.lighten(0.45, core.palette.secondary.main)
392
+ backgroundColor: exclusiveColor.secondary.light3
362
393
  }
363
394
  },
364
395
  iconSizeSmall: {
@@ -464,9 +495,7 @@ var MuiChip = {
464
495
  },
465
496
  colorPrimary: {
466
497
  color: core.palette.primary.main,
467
- backgroundColor:
468
- /*#__PURE__*/
469
- polished.lighten(0.45, core.palette.primary.main)
498
+ backgroundColor: exclusiveColor.primary.light3
470
499
  },
471
500
  clickable: {
472
501
  '&:focus': {
@@ -558,15 +587,11 @@ var MuiIconButton = {
558
587
  colorPrimary: {
559
588
  '&:focus': {
560
589
  color: core.palette.primary.main,
561
- backgroundColor:
562
- /*#__PURE__*/
563
- polished.lighten(0.45, core.palette.primary.main)
590
+ backgroundColor: exclusiveColor.primary.light3
564
591
  },
565
592
  '&:hover': {
566
593
  color: core.palette.primary.main,
567
- backgroundColor:
568
- /*#__PURE__*/
569
- polished.lighten(0.45, core.palette.primary.main)
594
+ backgroundColor: exclusiveColor.primary.light3
570
595
  }
571
596
  }
572
597
  };
@@ -613,19 +638,13 @@ var MuiMenuItem = {
613
638
  core.spacing(1) + "px",
614
639
  '&.Mui-selected': {
615
640
  color: core.palette.primary.main,
616
- backgroundColor:
617
- /*#__PURE__*/
618
- polished.lighten(0.45, core.palette.primary.main),
641
+ backgroundColor: exclusiveColor.primary.light3,
619
642
  '&:hover': {
620
- backgroundColor:
621
- /*#__PURE__*/
622
- polished.lighten(0.45, core.palette.primary.main)
643
+ backgroundColor: exclusiveColor.primary.light3
623
644
  }
624
645
  },
625
646
  '&:hover': {
626
- backgroundColor:
627
- /*#__PURE__*/
628
- polished.lighten(0.3, core.palette.primary.main),
647
+ backgroundColor: exclusiveColor.primary.light2,
629
648
  color: core.palette.primary.dark
630
649
  }
631
650
  })
@@ -767,9 +786,7 @@ var MuiSwitch = {
767
786
  backgroundColor: core.palette.primary.main
768
787
  },
769
788
  '&.Mui-disabled.Mui-checked + .MuiSwitch-track': {
770
- backgroundColor:
771
- /*#__PURE__*/
772
- polished.lighten(0.3, core.palette.primary.main),
789
+ backgroundColor: exclusiveColor.primary.light2,
773
790
  opacity: 1
774
791
  },
775
792
  '&.Mui-disabled + .MuiSwitch-track': {
@@ -785,9 +802,7 @@ var MuiSwitch = {
785
802
  color: core.palette.common.white
786
803
  },
787
804
  '&.Mui-disabled.Mui-checked + .MuiSwitch-track': {
788
- backgroundColor:
789
- /*#__PURE__*/
790
- polished.lighten(0.3, core.palette.secondary.main),
805
+ backgroundColor: exclusiveColor.secondary.light2,
791
806
  opacity: 1
792
807
  },
793
808
  '&.Mui-disabled + .MuiSwitch-track': {
@@ -1784,14 +1799,14 @@ styles$5.makeStyles(function (theme) {
1784
1799
  container: {
1785
1800
  backgroundColor: theme.palette.common.white,
1786
1801
  '&:hover': {
1787
- backgroundColor: polished.lighten(0.3, theme.palette.primary.main),
1802
+ backgroundColor: exclusiveColor.primary.light2,
1788
1803
  '& > div': {
1789
1804
  backgroundColor: theme.palette.primary.main,
1790
1805
  color: theme.palette.common.white
1791
1806
  }
1792
1807
  },
1793
1808
  '&.Mui-selected': {
1794
- backgroundColor: polished.lighten(0.45, theme.palette.primary.main),
1809
+ backgroundColor: exclusiveColor.primary.light3,
1795
1810
  '& > div': {
1796
1811
  backgroundColor: theme.palette.primary.main,
1797
1812
  color: theme.palette.common.white
@@ -1908,7 +1923,7 @@ var index = {
1908
1923
  ButtonGroup: ButtonGroup,
1909
1924
  Card: Card,
1910
1925
  CardActions: CardActions,
1911
- CardActonArea: CardActionArea,
1926
+ CardActionArea: CardActionArea,
1912
1927
  CardMedia: CardMedia,
1913
1928
  Checkbox: Checkbox,
1914
1929
  Chip: Chip,
@@ -1946,7 +1961,8 @@ var index = {
1946
1961
  Tooltip: Tooltip,
1947
1962
  Typography: Typography,
1948
1963
  VarSelect: VarSelect,
1949
- Icon: Icon
1964
+ Icon: Icon,
1965
+ exclusiveColor: exclusiveColor
1950
1966
  };
1951
1967
 
1952
1968
  var getAutoHeightDuration = function getAutoHeightDuration(height) {