@superdispatch/dates 0.33.0 → 0.35.0

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.
@@ -392,7 +392,7 @@ var useStyles = /*#__PURE__*/styles.makeStyles(theme => ({
392
392
  },
393
393
  caption: {
394
394
  textAlign: 'center',
395
- color: ui.ColorV2.Dark500,
395
+ color: ui.ColorDynamic.Dark500,
396
396
  fontSize: 12,
397
397
  fontWeight: 700,
398
398
  textTransform: 'uppercase',
@@ -414,7 +414,7 @@ var useStyles = /*#__PURE__*/styles.makeStyles(theme => ({
414
414
  alignItems: 'center',
415
415
  justifyContent: 'center',
416
416
  textDecoration: 'none',
417
- color: ui.ColorV2.Dark300,
417
+ color: ui.ColorDynamic.Dark300,
418
418
  width: theme.spacing(5),
419
419
  height: theme.spacing(5)
420
420
  },
@@ -459,7 +459,7 @@ var useStyles = /*#__PURE__*/styles.makeStyles(theme => ({
459
459
  bottom: 0,
460
460
  zIndex: -1,
461
461
  position: 'absolute',
462
- backgroundColor: ui.ColorV2.Transparent,
462
+ backgroundColor: ui.ColorDynamic.Transparent,
463
463
  transition: theme.transitions.create('background-color')
464
464
  },
465
465
  '&:first-child, &$firstDayOfMonth': {
@@ -481,75 +481,75 @@ var useStyles = /*#__PURE__*/styles.makeStyles(theme => ({
481
481
  bottom: 0,
482
482
  zIndex: -1,
483
483
  position: 'absolute',
484
- backgroundColor: ui.ColorV2.Transparent,
484
+ backgroundColor: ui.ColorDynamic.Transparent,
485
485
  transition: theme.transitions.create('background-color')
486
486
  },
487
487
  '&:hover, &:focus': {
488
488
  outline: 'none'
489
489
  },
490
490
  '&$today': {
491
- border: "1px solid ".concat(ui.ColorV2.Silver500)
491
+ border: "1px solid ".concat(ui.ColorDynamic.Silver500)
492
492
  },
493
493
  '&$disabled': {
494
- color: ui.ColorV2.Dark100,
494
+ color: ui.ColorDynamic.Dark100,
495
495
  '&$selected:not($outside):after': {
496
- backgroundColor: ui.ColorV2.Silver300
496
+ backgroundColor: ui.ColorDynamic.Silver400
497
497
  }
498
498
  },
499
499
  '&:not($outside):not($disabled)': {
500
500
  cursor: 'pointer',
501
- color: ui.ColorV2.Dark500,
501
+ color: ui.ColorDynamic.Dark500,
502
502
  '&:not($selected):not(:active)': {
503
503
  '&:hover, &:focus': {
504
- backgroundColor: ui.ColorV2.Silver100
504
+ backgroundColor: ui.ColorDynamic.Silver200
505
505
  },
506
506
  '&$blue': {
507
- color: ui.ColorV2.Blue500,
507
+ color: ui.ColorDynamic.Blue500,
508
508
  '&': {
509
- backgroundColor: ui.ColorV2.Blue50
509
+ backgroundColor: ui.ColorDynamic.Blue50
510
510
  }
511
511
  },
512
512
  '&$green': {
513
- color: ui.ColorV2.Green500,
513
+ color: ui.ColorDynamic.Green500,
514
514
  '&': {
515
- backgroundColor: ui.ColorV2.Green50
515
+ backgroundColor: ui.ColorDynamic.Green50
516
516
  }
517
517
  },
518
518
  '&$purple': {
519
- color: ui.ColorV2.Purple500,
519
+ color: ui.ColorDynamic.Purple500,
520
520
  '&': {
521
- backgroundColor: ui.ColorV2.Purple50
521
+ backgroundColor: ui.ColorDynamic.Purple50
522
522
  }
523
523
  },
524
524
  '&$red': {
525
- color: ui.ColorV2.Red500,
525
+ color: ui.ColorDynamic.Red500,
526
526
  '&': {
527
- backgroundColor: ui.ColorV2.Red50
527
+ backgroundColor: ui.ColorDynamic.Red50
528
528
  }
529
529
  },
530
530
  '&$teal': {
531
- color: ui.ColorV2.Teal500,
531
+ color: ui.ColorDynamic.Teal500,
532
532
  '&': {
533
- backgroundColor: ui.ColorV2.Teal50
533
+ backgroundColor: ui.ColorDynamic.Teal50
534
534
  }
535
535
  },
536
536
  '&$yellow': {
537
- color: ui.ColorV2.Yellow500,
537
+ color: ui.ColorDynamic.Yellow500,
538
538
  '&': {
539
- backgroundColor: ui.ColorV2.Yellow50
539
+ backgroundColor: ui.ColorDynamic.Yellow50
540
540
  }
541
541
  }
542
542
  },
543
543
  '&:active, &$selected': {
544
- color: ui.ColorV2.White,
544
+ color: ui.ColorDynamic.White,
545
545
  '&:after': {
546
- backgroundColor: ui.ColorV2.Blue300
546
+ backgroundColor: ui.ColorDynamic.Blue300
547
547
  },
548
548
  '&$today': {
549
549
  border: 'none'
550
550
  },
551
551
  '&$today:before': {
552
- border: "1px solid ".concat(ui.ColorV2.Blue300),
552
+ border: "1px solid ".concat(ui.ColorDynamic.Blue300),
553
553
  borderRadius: theme.spacing(0.5)
554
554
  }
555
555
  }
@@ -783,7 +783,7 @@ var _excluded$1 = ["id", "api", "onClear", "onClick", "onClose", "onKeyDown", "d
783
783
  var Popover = /*#__PURE__*/styled(core.Popover).withConfig({
784
784
  displayName: "BaseDatePicker__Popover",
785
785
  componentId: "SD__sc-1xvk8l6-0"
786
- })([".MuiPaper-rounded{border:1px solid ", ";box-shadow:0px 0px 4px 0px rgba(0,0,0,0.05),0px 4px 8px 0px rgba(0,0,0,0.12);}"], ui.ColorV2.Silver400);
786
+ })([".MuiPaper-rounded{border:1px solid ", ";box-shadow:0px 0px 4px 0px rgba(0,0,0,0.05),0px 4px 8px 0px rgba(0,0,0,0.12);}"], ui.ColorDynamic.Silver400);
787
787
  var BaseDatePicker = /*#__PURE__*/react.forwardRef((_ref, ref) => {
788
788
  var {
789
789
  id,
@@ -1021,17 +1021,17 @@ var useStyles$1 = /*#__PURE__*/styles.makeStyles(theme => ({
1021
1021
  },
1022
1022
  '&:not($rangeStart):not($rangeFinish)': {
1023
1023
  '&:after': {
1024
- backgroundColor: ui.ColorV2.Transparent
1024
+ backgroundColor: ui.ColorDynamic.Transparent
1025
1025
  },
1026
1026
  '&$disabled': {
1027
1027
  '&:before': {
1028
- backgroundColor: ui.ColorV2.Silver100
1028
+ backgroundColor: ui.ColorDynamic.Silver100
1029
1029
  }
1030
1030
  },
1031
1031
  '&:not($disabled)': {
1032
- color: ui.ColorV2.Blue500,
1032
+ color: ui.ColorDynamic.Blue500,
1033
1033
  '&:before': {
1034
- backgroundColor: ui.ColorV2.Blue50
1034
+ backgroundColor: ui.ColorDynamic.Blue50
1035
1035
  }
1036
1036
  }
1037
1037
  }