@superdispatch/dates 0.31.0 → 0.32.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.
- package/dist-node/index.js +29 -29
- package/dist-node/index.js.map +1 -1
- package/dist-src/base-date-picker/BaseDatePicker.js +2 -2
- package/dist-src/calendar/Calendar.js +25 -25
- package/dist-src/date-range-field/DateRangeField.js +5 -5
- package/dist-web/index.js +30 -30
- package/dist-web/index.js.map +1 -1
- package/package.json +2 -2
package/dist-node/index.js
CHANGED
|
@@ -392,7 +392,7 @@ var useStyles = /*#__PURE__*/styles.makeStyles(theme => ({
|
|
|
392
392
|
},
|
|
393
393
|
caption: {
|
|
394
394
|
textAlign: 'center',
|
|
395
|
-
color: ui.
|
|
395
|
+
color: ui.ColorV2.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.
|
|
417
|
+
color: ui.ColorV2.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.
|
|
462
|
+
backgroundColor: ui.ColorV2.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.
|
|
484
|
+
backgroundColor: ui.ColorV2.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.
|
|
491
|
+
border: "1px solid ".concat(ui.ColorV2.Silver500)
|
|
492
492
|
},
|
|
493
493
|
'&$disabled': {
|
|
494
|
-
color: ui.
|
|
494
|
+
color: ui.ColorV2.Dark100,
|
|
495
495
|
'&$selected:not($outside):after': {
|
|
496
|
-
backgroundColor: ui.
|
|
496
|
+
backgroundColor: ui.ColorV2.Silver300
|
|
497
497
|
}
|
|
498
498
|
},
|
|
499
499
|
'&:not($outside):not($disabled)': {
|
|
500
500
|
cursor: 'pointer',
|
|
501
|
-
color: ui.
|
|
501
|
+
color: ui.ColorV2.Dark500,
|
|
502
502
|
'&:not($selected):not(:active)': {
|
|
503
503
|
'&:hover, &:focus': {
|
|
504
|
-
backgroundColor: ui.
|
|
504
|
+
backgroundColor: ui.ColorV2.Silver100
|
|
505
505
|
},
|
|
506
506
|
'&$blue': {
|
|
507
|
-
color: ui.
|
|
507
|
+
color: ui.ColorV2.Blue500,
|
|
508
508
|
'&': {
|
|
509
|
-
backgroundColor: ui.
|
|
509
|
+
backgroundColor: ui.ColorV2.Blue50
|
|
510
510
|
}
|
|
511
511
|
},
|
|
512
512
|
'&$green': {
|
|
513
|
-
color: ui.
|
|
513
|
+
color: ui.ColorV2.Green500,
|
|
514
514
|
'&': {
|
|
515
|
-
backgroundColor: ui.
|
|
515
|
+
backgroundColor: ui.ColorV2.Green50
|
|
516
516
|
}
|
|
517
517
|
},
|
|
518
518
|
'&$purple': {
|
|
519
|
-
color: ui.
|
|
519
|
+
color: ui.ColorV2.Purple500,
|
|
520
520
|
'&': {
|
|
521
|
-
backgroundColor: ui.
|
|
521
|
+
backgroundColor: ui.ColorV2.Purple50
|
|
522
522
|
}
|
|
523
523
|
},
|
|
524
524
|
'&$red': {
|
|
525
|
-
color: ui.
|
|
525
|
+
color: ui.ColorV2.Red500,
|
|
526
526
|
'&': {
|
|
527
|
-
backgroundColor: ui.
|
|
527
|
+
backgroundColor: ui.ColorV2.Red50
|
|
528
528
|
}
|
|
529
529
|
},
|
|
530
530
|
'&$teal': {
|
|
531
|
-
color: ui.
|
|
531
|
+
color: ui.ColorV2.Teal500,
|
|
532
532
|
'&': {
|
|
533
|
-
backgroundColor: ui.
|
|
533
|
+
backgroundColor: ui.ColorV2.Teal50
|
|
534
534
|
}
|
|
535
535
|
},
|
|
536
536
|
'&$yellow': {
|
|
537
|
-
color: ui.
|
|
537
|
+
color: ui.ColorV2.Yellow500,
|
|
538
538
|
'&': {
|
|
539
|
-
backgroundColor: ui.
|
|
539
|
+
backgroundColor: ui.ColorV2.Yellow50
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
542
|
},
|
|
543
543
|
'&:active, &$selected': {
|
|
544
|
-
color: ui.
|
|
544
|
+
color: ui.ColorV2.White,
|
|
545
545
|
'&:after': {
|
|
546
|
-
backgroundColor: ui.
|
|
546
|
+
backgroundColor: ui.ColorV2.Blue300
|
|
547
547
|
},
|
|
548
548
|
'&$today': {
|
|
549
549
|
border: 'none'
|
|
550
550
|
},
|
|
551
551
|
'&$today:before': {
|
|
552
|
-
border: "1px solid ".concat(ui.
|
|
552
|
+
border: "1px solid ".concat(ui.ColorV2.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.
|
|
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);
|
|
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.
|
|
1024
|
+
backgroundColor: ui.ColorV2.Transparent
|
|
1025
1025
|
},
|
|
1026
1026
|
'&$disabled': {
|
|
1027
1027
|
'&:before': {
|
|
1028
|
-
backgroundColor: ui.
|
|
1028
|
+
backgroundColor: ui.ColorV2.Silver100
|
|
1029
1029
|
}
|
|
1030
1030
|
},
|
|
1031
1031
|
'&:not($disabled)': {
|
|
1032
|
-
color: ui.
|
|
1032
|
+
color: ui.ColorV2.Blue500,
|
|
1033
1033
|
'&:before': {
|
|
1034
|
-
backgroundColor: ui.
|
|
1034
|
+
backgroundColor: ui.ColorV2.Blue50
|
|
1035
1035
|
}
|
|
1036
1036
|
}
|
|
1037
1037
|
}
|