baseui 0.0.0-next-92db958 → 0.0.0-next-42b8311
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/card/styled-components.js +0 -1
- package/card/styled-components.js.flow +0 -1
- package/datepicker/calendar-header.js +6 -4
- package/datepicker/calendar-header.js.flow +4 -2
- package/datepicker/styled-components.js +34 -29
- package/datepicker/styled-components.js.flow +30 -27
- package/datepicker/utils/date-helpers.js +1 -1
- package/datepicker/utils/date-helpers.js.flow +1 -1
- package/es/card/styled-components.js +0 -1
- package/es/datepicker/calendar-header.js +6 -4
- package/es/datepicker/styled-components.js +31 -27
- package/es/datepicker/utils/date-helpers.js +1 -1
- package/esm/card/styled-components.js +0 -1
- package/esm/datepicker/calendar-header.js +6 -4
- package/esm/datepicker/styled-components.js +34 -29
- package/esm/datepicker/utils/date-helpers.js +1 -1
- package/package.json +1 -1
|
@@ -98,7 +98,6 @@ var Title = (0, _index.styled)('h1', function (_ref7) {
|
|
|
98
98
|
var $theme = _ref7.$theme;
|
|
99
99
|
return _objectSpread(_objectSpread({}, $theme.typography.HeadingSmall), {}, {
|
|
100
100
|
color: $theme.colors.contentPrimary,
|
|
101
|
-
fontWeight: 500,
|
|
102
101
|
marginLeft: 0,
|
|
103
102
|
marginTop: 0,
|
|
104
103
|
marginRight: 0,
|
|
@@ -72,7 +72,6 @@ export const Thumbnail = styled<{}>('img', ({$theme}) => ({
|
|
|
72
72
|
export const Title = styled<{}>('h1', ({$theme}) => ({
|
|
73
73
|
...$theme.typography.HeadingSmall,
|
|
74
74
|
color: $theme.colors.contentPrimary,
|
|
75
|
-
fontWeight: 500,
|
|
76
75
|
marginLeft: 0,
|
|
77
76
|
marginTop: 0,
|
|
78
77
|
marginRight: 0,
|
|
@@ -343,7 +343,7 @@ var CalendarHeader = /*#__PURE__*/function (_React$Component) {
|
|
|
343
343
|
$disabled: isDisabled,
|
|
344
344
|
$order: _this.props.order
|
|
345
345
|
}, prevButtonProps), isHidden ? null : /*#__PURE__*/React.createElement(PrevButtonIcon, _extends({
|
|
346
|
-
size:
|
|
346
|
+
size: 36,
|
|
347
347
|
overrides: {
|
|
348
348
|
Svg: {
|
|
349
349
|
style: navBtnStyle
|
|
@@ -413,7 +413,7 @@ var CalendarHeader = /*#__PURE__*/function (_React$Component) {
|
|
|
413
413
|
$isFocusVisible: _this.state.isFocusVisible,
|
|
414
414
|
$order: _this.props.order
|
|
415
415
|
}, nextButtonProps), isHidden ? null : /*#__PURE__*/React.createElement(NextButtonIcon, _extends({
|
|
416
|
-
size:
|
|
416
|
+
size: 36,
|
|
417
417
|
overrides: {
|
|
418
418
|
Svg: {
|
|
419
419
|
style: navBtnStyle
|
|
@@ -567,7 +567,8 @@ var CalendarHeader = /*#__PURE__*/function (_React$Component) {
|
|
|
567
567
|
role: 'presentation'
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
|
-
}
|
|
570
|
+
},
|
|
571
|
+
size: 24
|
|
571
572
|
})))), /*#__PURE__*/React.createElement(OverriddenPopover, _extends({
|
|
572
573
|
placement: "bottom",
|
|
573
574
|
focusLock: true,
|
|
@@ -648,7 +649,8 @@ var CalendarHeader = /*#__PURE__*/function (_React$Component) {
|
|
|
648
649
|
role: 'presentation'
|
|
649
650
|
}
|
|
650
651
|
}
|
|
651
|
-
}
|
|
652
|
+
},
|
|
653
|
+
size: 24
|
|
652
654
|
})))));
|
|
653
655
|
});
|
|
654
656
|
|
|
@@ -315,7 +315,7 @@ export default class CalendarHeader<T = Date> extends React.Component<
|
|
|
315
315
|
>
|
|
316
316
|
{isHidden ? null : (
|
|
317
317
|
<PrevButtonIcon
|
|
318
|
-
size={
|
|
318
|
+
size={36}
|
|
319
319
|
overrides={{Svg: {style: navBtnStyle}}}
|
|
320
320
|
{...prevButtonIconProps}
|
|
321
321
|
/>
|
|
@@ -388,7 +388,7 @@ export default class CalendarHeader<T = Date> extends React.Component<
|
|
|
388
388
|
>
|
|
389
389
|
{isHidden ? null : (
|
|
390
390
|
<NextButtonIcon
|
|
391
|
-
size={
|
|
391
|
+
size={36}
|
|
392
392
|
overrides={{Svg: {style: navBtnStyle}}}
|
|
393
393
|
{...nextButtonIconProps}
|
|
394
394
|
/>
|
|
@@ -520,6 +520,7 @@ export default class CalendarHeader<T = Date> extends React.Component<
|
|
|
520
520
|
<ChevronDown
|
|
521
521
|
title=""
|
|
522
522
|
overrides={{Svg: {props: {role: 'presentation'}}}}
|
|
523
|
+
size={24}
|
|
523
524
|
/>
|
|
524
525
|
</MonthYearSelectIconContainer>
|
|
525
526
|
</MonthYearSelectButton>
|
|
@@ -588,6 +589,7 @@ export default class CalendarHeader<T = Date> extends React.Component<
|
|
|
588
589
|
<ChevronDown
|
|
589
590
|
title=""
|
|
590
591
|
overrides={{Svg: {props: {role: 'presentation'}}}}
|
|
592
|
+
size={24}
|
|
591
593
|
/>
|
|
592
594
|
</MonthYearSelectIconContainer>
|
|
593
595
|
</MonthYearSelectButton>
|
|
@@ -92,10 +92,10 @@ StyledMonthContainer.displayName = "StyledMonthContainer";
|
|
|
92
92
|
var StyledCalendarContainer = (0, _index.styled)('div', function (props) {
|
|
93
93
|
var sizing = props.$theme.sizing;
|
|
94
94
|
return {
|
|
95
|
-
paddingTop: sizing.
|
|
96
|
-
paddingBottom: sizing.
|
|
97
|
-
paddingLeft: sizing.
|
|
98
|
-
paddingRight: sizing.
|
|
95
|
+
paddingTop: sizing.scale300,
|
|
96
|
+
paddingBottom: sizing.scale300,
|
|
97
|
+
paddingLeft: sizing.scale500,
|
|
98
|
+
paddingRight: sizing.scale500
|
|
99
99
|
};
|
|
100
100
|
});
|
|
101
101
|
exports.StyledCalendarContainer = StyledCalendarContainer;
|
|
@@ -122,8 +122,8 @@ var StyledCalendarHeader = (0, _index.styled)('div', function (props) {
|
|
|
122
122
|
display: 'flex',
|
|
123
123
|
justifyContent: 'space-between',
|
|
124
124
|
alignItems: 'center',
|
|
125
|
-
paddingTop: sizing.
|
|
126
|
-
paddingBottom: sizing.
|
|
125
|
+
paddingTop: sizing.scale600,
|
|
126
|
+
paddingBottom: sizing.scale300,
|
|
127
127
|
paddingLeft: sizing.scale600,
|
|
128
128
|
paddingRight: sizing.scale600,
|
|
129
129
|
backgroundColor: colors.calendarHeaderBackground,
|
|
@@ -147,7 +147,7 @@ var StyledMonthHeader = (0, _index.styled)('div', function (props) {
|
|
|
147
147
|
exports.StyledMonthHeader = StyledMonthHeader;
|
|
148
148
|
StyledMonthHeader.displayName = "StyledMonthHeader";
|
|
149
149
|
var StyledMonthYearSelectButton = (0, _index.styled)('button', function (props) {
|
|
150
|
-
return _objectSpread(_objectSpread({}, props.$theme.typography.
|
|
150
|
+
return _objectSpread(_objectSpread({}, props.$theme.typography.LabelLarge), {}, {
|
|
151
151
|
alignItems: 'center',
|
|
152
152
|
backgroundColor: 'transparent',
|
|
153
153
|
borderLeftWidth: 0,
|
|
@@ -181,6 +181,7 @@ function getArrowBtnStyle(_ref6) {
|
|
|
181
181
|
$isFocusVisible = _ref6.$isFocusVisible;
|
|
182
182
|
return {
|
|
183
183
|
boxSizing: 'border-box',
|
|
184
|
+
display: 'flex',
|
|
184
185
|
color: $disabled ? $theme.colors.calendarHeaderForegroundDisabled : $theme.colors.calendarHeaderForeground,
|
|
185
186
|
cursor: $disabled ? 'default' : 'pointer',
|
|
186
187
|
backgroundColor: 'transparent',
|
|
@@ -192,8 +193,6 @@ function getArrowBtnStyle(_ref6) {
|
|
|
192
193
|
paddingBottom: '0',
|
|
193
194
|
paddingLeft: '0',
|
|
194
195
|
paddingRight: '0',
|
|
195
|
-
marginLeft: '6px',
|
|
196
|
-
marginRight: '6px',
|
|
197
196
|
marginBottom: 0,
|
|
198
197
|
marginTop: 0,
|
|
199
198
|
outline: 'none',
|
|
@@ -221,7 +220,7 @@ var StyledWeek = (0, _index.styled)('div', function (props) {
|
|
|
221
220
|
return {
|
|
222
221
|
whiteSpace: 'nowrap',
|
|
223
222
|
display: 'flex',
|
|
224
|
-
marginBottom: sizing.
|
|
223
|
+
marginBottom: sizing.scale0
|
|
225
224
|
};
|
|
226
225
|
});
|
|
227
226
|
exports.StyledWeek = StyledWeek;
|
|
@@ -442,22 +441,24 @@ var StyledDay = (0, _index.styled)('div', function (props) {
|
|
|
442
441
|
$hasDateLabel = props.$hasDateLabel,
|
|
443
442
|
_props$$theme3 = props.$theme,
|
|
444
443
|
colors = _props$$theme3.colors,
|
|
444
|
+
typography = _props$$theme3.typography,
|
|
445
445
|
sizing = _props$$theme3.sizing;
|
|
446
446
|
var code = (0, _dayState.default)(props);
|
|
447
|
-
return _objectSpread(_objectSpread({
|
|
447
|
+
return _objectSpread(_objectSpread(_objectSpread({}, typography.ParagraphMedium), {}, {
|
|
448
448
|
boxSizing: 'border-box',
|
|
449
449
|
position: 'relative',
|
|
450
450
|
cursor: $disabled || !$peekNextMonth && $outsideMonth ? 'default' : 'pointer',
|
|
451
451
|
color: colors.calendarForeground,
|
|
452
452
|
display: 'inline-block',
|
|
453
|
-
width:
|
|
454
|
-
height: $hasDateLabel ? '
|
|
455
|
-
lineHeight
|
|
453
|
+
width: '50px',
|
|
454
|
+
height: $hasDateLabel ? '70px' : sizing.scale1200,
|
|
455
|
+
// setting lineHeight equal to the contents height to vertically center the text
|
|
456
|
+
lineHeight: sizing.scale900,
|
|
456
457
|
textAlign: 'center',
|
|
457
458
|
paddingTop: sizing.scale300,
|
|
458
459
|
paddingBottom: sizing.scale300,
|
|
459
|
-
paddingLeft: sizing.
|
|
460
|
-
paddingRight: sizing.
|
|
460
|
+
paddingLeft: sizing.scale300,
|
|
461
|
+
paddingRight: sizing.scale300,
|
|
461
462
|
marginTop: 0,
|
|
462
463
|
marginBottom: 0,
|
|
463
464
|
marginLeft: 0,
|
|
@@ -478,10 +479,10 @@ var StyledDay = (0, _index.styled)('div', function (props) {
|
|
|
478
479
|
display: 'inline-block',
|
|
479
480
|
boxShadow: $isFocusVisible ? "0 0 0 3px ".concat(colors.accent) : 'none',
|
|
480
481
|
backgroundColor: $selected ? colors.calendarDayBackgroundSelectedHighlighted : $pseudoSelected && $isHighlighted ? colors.calendarDayBackgroundPseudoSelectedHighlighted : colors.calendarBackground,
|
|
481
|
-
height: '100%',
|
|
482
|
+
height: $hasDateLabel ? '100%' : '50px',
|
|
482
483
|
width: '100%',
|
|
483
484
|
position: 'absolute',
|
|
484
|
-
top: 0,
|
|
485
|
+
top: $hasDateLabel ? 0 : '-1px',
|
|
485
486
|
left: 0,
|
|
486
487
|
paddingTop: sizing.scale200,
|
|
487
488
|
paddingBottom: sizing.scale200,
|
|
@@ -497,10 +498,10 @@ var StyledDay = (0, _index.styled)('div', function (props) {
|
|
|
497
498
|
borderBottomColor: colors.borderSelected,
|
|
498
499
|
borderRightColor: colors.borderSelected,
|
|
499
500
|
borderLeftColor: colors.borderSelected,
|
|
500
|
-
borderTopLeftRadius: $hasDateLabel ? sizing.
|
|
501
|
-
borderTopRightRadius: $hasDateLabel ? sizing.
|
|
502
|
-
borderBottomLeftRadius: $hasDateLabel ? sizing.
|
|
503
|
-
borderBottomRightRadius: $hasDateLabel ? sizing.
|
|
501
|
+
borderTopLeftRadius: $hasDateLabel ? sizing.scale800 : '100%',
|
|
502
|
+
borderTopRightRadius: $hasDateLabel ? sizing.scale800 : '100%',
|
|
503
|
+
borderBottomLeftRadius: $hasDateLabel ? sizing.scale800 : '100%',
|
|
504
|
+
borderBottomRightRadius: $hasDateLabel ? sizing.scale800 : '100%'
|
|
504
505
|
}, getDayStyles(code, props.$theme)[':after'] || {}), $outsideMonthWithinRange ? {
|
|
505
506
|
content: null
|
|
506
507
|
} : {})
|
|
@@ -554,16 +555,21 @@ var StyledDayLabel = (0, _index.styled)('div', function (props) {
|
|
|
554
555
|
exports.StyledDayLabel = StyledDayLabel;
|
|
555
556
|
StyledDayLabel.displayName = "StyledDayLabel";
|
|
556
557
|
var StyledWeekdayHeader = (0, _index.styled)('div', function (props) {
|
|
557
|
-
var
|
|
558
|
-
|
|
558
|
+
var _props$$theme5 = props.$theme,
|
|
559
|
+
typography = _props$$theme5.typography,
|
|
560
|
+
colors = _props$$theme5.colors,
|
|
561
|
+
sizing = _props$$theme5.sizing;
|
|
562
|
+
return _objectSpread(_objectSpread({}, typography.LabelMedium), {}, {
|
|
563
|
+
color: colors.contentTertiary,
|
|
559
564
|
boxSizing: 'border-box',
|
|
560
565
|
position: 'relative',
|
|
561
566
|
cursor: 'default',
|
|
562
567
|
display: 'inline-block',
|
|
563
|
-
width:
|
|
564
|
-
height: sizing.
|
|
565
|
-
lineHeight: sizing.scale800,
|
|
568
|
+
width: '50px',
|
|
569
|
+
height: sizing.scale1200,
|
|
566
570
|
textAlign: 'center',
|
|
571
|
+
// setting lineHeight equal to the contents height to vertically center the text
|
|
572
|
+
lineHeight: sizing.scale900,
|
|
567
573
|
paddingTop: sizing.scale300,
|
|
568
574
|
paddingBottom: sizing.scale300,
|
|
569
575
|
paddingLeft: sizing.scale200,
|
|
@@ -572,9 +578,8 @@ var StyledWeekdayHeader = (0, _index.styled)('div', function (props) {
|
|
|
572
578
|
marginBottom: 0,
|
|
573
579
|
marginLeft: 0,
|
|
574
580
|
marginRight: 0,
|
|
575
|
-
color: 'inherit',
|
|
576
581
|
backgroundColor: 'transparent'
|
|
577
|
-
};
|
|
582
|
+
});
|
|
578
583
|
});
|
|
579
584
|
exports.StyledWeekdayHeader = StyledWeekdayHeader;
|
|
580
585
|
StyledWeekdayHeader.displayName = "StyledWeekdayHeader";
|
|
@@ -78,10 +78,10 @@ export const StyledCalendarContainer = styled<SharedStylePropsT>(
|
|
|
78
78
|
$theme: {sizing},
|
|
79
79
|
} = props;
|
|
80
80
|
return {
|
|
81
|
-
paddingTop: sizing.
|
|
82
|
-
paddingBottom: sizing.
|
|
83
|
-
paddingLeft: sizing.
|
|
84
|
-
paddingRight: sizing.
|
|
81
|
+
paddingTop: sizing.scale300,
|
|
82
|
+
paddingBottom: sizing.scale300,
|
|
83
|
+
paddingLeft: sizing.scale500,
|
|
84
|
+
paddingRight: sizing.scale500,
|
|
85
85
|
};
|
|
86
86
|
},
|
|
87
87
|
);
|
|
@@ -108,8 +108,8 @@ export const StyledCalendarHeader = styled<SharedStylePropsT>('div', props => {
|
|
|
108
108
|
display: 'flex',
|
|
109
109
|
justifyContent: 'space-between',
|
|
110
110
|
alignItems: 'center',
|
|
111
|
-
paddingTop: sizing.
|
|
112
|
-
paddingBottom: sizing.
|
|
111
|
+
paddingTop: sizing.scale600,
|
|
112
|
+
paddingBottom: sizing.scale300,
|
|
113
113
|
paddingLeft: sizing.scale600,
|
|
114
114
|
paddingRight: sizing.scale600,
|
|
115
115
|
backgroundColor: colors.calendarHeaderBackground,
|
|
@@ -134,7 +134,7 @@ export const StyledMonthYearSelectButton = styled<{$isFocusVisible: boolean}>(
|
|
|
134
134
|
'button',
|
|
135
135
|
props => {
|
|
136
136
|
return {
|
|
137
|
-
...props.$theme.typography.
|
|
137
|
+
...props.$theme.typography.LabelLarge,
|
|
138
138
|
alignItems: 'center',
|
|
139
139
|
backgroundColor: 'transparent',
|
|
140
140
|
borderLeftWidth: 0,
|
|
@@ -167,6 +167,7 @@ export const StyledMonthYearSelectIconContainer = styled<{}>('span', props => {
|
|
|
167
167
|
function getArrowBtnStyle({$theme, $disabled, $isFocusVisible}) {
|
|
168
168
|
return {
|
|
169
169
|
boxSizing: 'border-box',
|
|
170
|
+
display: 'flex',
|
|
170
171
|
color: $disabled
|
|
171
172
|
? $theme.colors.calendarHeaderForegroundDisabled
|
|
172
173
|
: $theme.colors.calendarHeaderForeground,
|
|
@@ -180,8 +181,6 @@ function getArrowBtnStyle({$theme, $disabled, $isFocusVisible}) {
|
|
|
180
181
|
paddingBottom: '0',
|
|
181
182
|
paddingLeft: '0',
|
|
182
183
|
paddingRight: '0',
|
|
183
|
-
marginLeft: '6px',
|
|
184
|
-
marginRight: '6px',
|
|
185
184
|
marginBottom: 0,
|
|
186
185
|
marginTop: 0,
|
|
187
186
|
outline: 'none',
|
|
@@ -221,7 +220,7 @@ export const StyledWeek = styled<SharedStylePropsT>('div', props => {
|
|
|
221
220
|
return {
|
|
222
221
|
whiteSpace: 'nowrap',
|
|
223
222
|
display: 'flex',
|
|
224
|
-
marginBottom: sizing.
|
|
223
|
+
marginBottom: sizing.scale0,
|
|
225
224
|
};
|
|
226
225
|
});
|
|
227
226
|
|
|
@@ -426,24 +425,26 @@ export const StyledDay = styled<SharedStylePropsT>('div', props => {
|
|
|
426
425
|
$outsideMonth,
|
|
427
426
|
$outsideMonthWithinRange,
|
|
428
427
|
$hasDateLabel,
|
|
429
|
-
$theme: {colors, sizing},
|
|
428
|
+
$theme: {colors, typography, sizing},
|
|
430
429
|
} = props;
|
|
431
430
|
const code = getDayStateCode(props);
|
|
432
431
|
return ({
|
|
432
|
+
...typography.ParagraphMedium,
|
|
433
433
|
boxSizing: 'border-box',
|
|
434
434
|
position: 'relative',
|
|
435
435
|
cursor:
|
|
436
436
|
$disabled || (!$peekNextMonth && $outsideMonth) ? 'default' : 'pointer',
|
|
437
437
|
color: colors.calendarForeground,
|
|
438
438
|
display: 'inline-block',
|
|
439
|
-
width:
|
|
440
|
-
height: $hasDateLabel ? '
|
|
441
|
-
lineHeight
|
|
439
|
+
width: '50px',
|
|
440
|
+
height: $hasDateLabel ? '70px' : sizing.scale1200,
|
|
441
|
+
// setting lineHeight equal to the contents height to vertically center the text
|
|
442
|
+
lineHeight: sizing.scale900,
|
|
442
443
|
textAlign: 'center',
|
|
443
444
|
paddingTop: sizing.scale300,
|
|
444
445
|
paddingBottom: sizing.scale300,
|
|
445
|
-
paddingLeft: sizing.
|
|
446
|
-
paddingRight: sizing.
|
|
446
|
+
paddingLeft: sizing.scale300,
|
|
447
|
+
paddingRight: sizing.scale300,
|
|
447
448
|
marginTop: 0,
|
|
448
449
|
marginBottom: 0,
|
|
449
450
|
marginLeft: 0,
|
|
@@ -468,10 +469,10 @@ export const StyledDay = styled<SharedStylePropsT>('div', props => {
|
|
|
468
469
|
: $pseudoSelected && $isHighlighted
|
|
469
470
|
? colors.calendarDayBackgroundPseudoSelectedHighlighted
|
|
470
471
|
: colors.calendarBackground,
|
|
471
|
-
height: '100%',
|
|
472
|
+
height: $hasDateLabel ? '100%' : '50px',
|
|
472
473
|
width: '100%',
|
|
473
474
|
position: 'absolute',
|
|
474
|
-
top: 0,
|
|
475
|
+
top: $hasDateLabel ? 0 : '-1px',
|
|
475
476
|
left: 0,
|
|
476
477
|
paddingTop: sizing.scale200,
|
|
477
478
|
paddingBottom: sizing.scale200,
|
|
@@ -487,10 +488,10 @@ export const StyledDay = styled<SharedStylePropsT>('div', props => {
|
|
|
487
488
|
borderBottomColor: colors.borderSelected,
|
|
488
489
|
borderRightColor: colors.borderSelected,
|
|
489
490
|
borderLeftColor: colors.borderSelected,
|
|
490
|
-
borderTopLeftRadius: $hasDateLabel ? sizing.
|
|
491
|
-
borderTopRightRadius: $hasDateLabel ? sizing.
|
|
492
|
-
borderBottomLeftRadius: $hasDateLabel ? sizing.
|
|
493
|
-
borderBottomRightRadius: $hasDateLabel ? sizing.
|
|
491
|
+
borderTopLeftRadius: $hasDateLabel ? sizing.scale800 : '100%',
|
|
492
|
+
borderTopRightRadius: $hasDateLabel ? sizing.scale800 : '100%',
|
|
493
|
+
borderBottomLeftRadius: $hasDateLabel ? sizing.scale800 : '100%',
|
|
494
|
+
borderBottomRightRadius: $hasDateLabel ? sizing.scale800 : '100%',
|
|
494
495
|
...(getDayStyles(code, props.$theme)[':after'] || {}),
|
|
495
496
|
...($outsideMonthWithinRange ? {content: null} : {}),
|
|
496
497
|
},
|
|
@@ -551,17 +552,20 @@ export const StyledDayLabel = styled<SharedStylePropsT>('div', props => {
|
|
|
551
552
|
|
|
552
553
|
export const StyledWeekdayHeader = styled<SharedStylePropsT>('div', props => {
|
|
553
554
|
const {
|
|
554
|
-
$theme: {sizing},
|
|
555
|
+
$theme: {typography, colors, sizing},
|
|
555
556
|
} = props;
|
|
556
557
|
return ({
|
|
558
|
+
...typography.LabelMedium,
|
|
559
|
+
color: colors.contentTertiary,
|
|
557
560
|
boxSizing: 'border-box',
|
|
558
561
|
position: 'relative',
|
|
559
562
|
cursor: 'default',
|
|
560
563
|
display: 'inline-block',
|
|
561
|
-
width:
|
|
562
|
-
height: sizing.
|
|
563
|
-
lineHeight: sizing.scale800,
|
|
564
|
+
width: '50px',
|
|
565
|
+
height: sizing.scale1200,
|
|
564
566
|
textAlign: 'center',
|
|
567
|
+
// setting lineHeight equal to the contents height to vertically center the text
|
|
568
|
+
lineHeight: sizing.scale900,
|
|
565
569
|
paddingTop: sizing.scale300,
|
|
566
570
|
paddingBottom: sizing.scale300,
|
|
567
571
|
paddingLeft: sizing.scale200,
|
|
@@ -570,7 +574,6 @@ export const StyledWeekdayHeader = styled<SharedStylePropsT>('div', props => {
|
|
|
570
574
|
marginBottom: 0,
|
|
571
575
|
marginLeft: 0,
|
|
572
576
|
marginRight: 0,
|
|
573
|
-
color: 'inherit',
|
|
574
577
|
backgroundColor: 'transparent',
|
|
575
578
|
}: {});
|
|
576
579
|
});
|
|
@@ -245,7 +245,7 @@ export default class CalendarHeader extends React.Component {
|
|
|
245
245
|
$disabled: isDisabled,
|
|
246
246
|
$order: this.props.order
|
|
247
247
|
}, prevButtonProps), isHidden ? null : /*#__PURE__*/React.createElement(PrevButtonIcon, _extends({
|
|
248
|
-
size:
|
|
248
|
+
size: 36,
|
|
249
249
|
overrides: {
|
|
250
250
|
Svg: {
|
|
251
251
|
style: navBtnStyle
|
|
@@ -304,7 +304,7 @@ export default class CalendarHeader extends React.Component {
|
|
|
304
304
|
$isFocusVisible: this.state.isFocusVisible,
|
|
305
305
|
$order: this.props.order
|
|
306
306
|
}, nextButtonProps), isHidden ? null : /*#__PURE__*/React.createElement(NextButtonIcon, _extends({
|
|
307
|
-
size:
|
|
307
|
+
size: 36,
|
|
308
308
|
overrides: {
|
|
309
309
|
Svg: {
|
|
310
310
|
style: navBtnStyle
|
|
@@ -421,7 +421,8 @@ export default class CalendarHeader extends React.Component {
|
|
|
421
421
|
role: 'presentation'
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
}
|
|
424
|
+
},
|
|
425
|
+
size: 24
|
|
425
426
|
})))), /*#__PURE__*/React.createElement(OverriddenPopover, _extends({
|
|
426
427
|
placement: "bottom",
|
|
427
428
|
focusLock: true,
|
|
@@ -492,7 +493,8 @@ export default class CalendarHeader extends React.Component {
|
|
|
492
493
|
role: 'presentation'
|
|
493
494
|
}
|
|
494
495
|
}
|
|
495
|
-
}
|
|
496
|
+
},
|
|
497
|
+
size: 24
|
|
496
498
|
})))));
|
|
497
499
|
});
|
|
498
500
|
|
|
@@ -84,10 +84,10 @@ export const StyledCalendarContainer = styled('div', props => {
|
|
|
84
84
|
}
|
|
85
85
|
} = props;
|
|
86
86
|
return {
|
|
87
|
-
paddingTop: sizing.
|
|
88
|
-
paddingBottom: sizing.
|
|
89
|
-
paddingLeft: sizing.
|
|
90
|
-
paddingRight: sizing.
|
|
87
|
+
paddingTop: sizing.scale300,
|
|
88
|
+
paddingBottom: sizing.scale300,
|
|
89
|
+
paddingLeft: sizing.scale500,
|
|
90
|
+
paddingRight: sizing.scale500
|
|
91
91
|
};
|
|
92
92
|
});
|
|
93
93
|
StyledCalendarContainer.displayName = "StyledCalendarContainer";
|
|
@@ -116,8 +116,8 @@ export const StyledCalendarHeader = styled('div', props => {
|
|
|
116
116
|
display: 'flex',
|
|
117
117
|
justifyContent: 'space-between',
|
|
118
118
|
alignItems: 'center',
|
|
119
|
-
paddingTop: sizing.
|
|
120
|
-
paddingBottom: sizing.
|
|
119
|
+
paddingTop: sizing.scale600,
|
|
120
|
+
paddingBottom: sizing.scale300,
|
|
121
121
|
paddingLeft: sizing.scale600,
|
|
122
122
|
paddingRight: sizing.scale600,
|
|
123
123
|
backgroundColor: colors.calendarHeaderBackground,
|
|
@@ -139,7 +139,7 @@ export const StyledMonthHeader = styled('div', props => {
|
|
|
139
139
|
});
|
|
140
140
|
StyledMonthHeader.displayName = "StyledMonthHeader";
|
|
141
141
|
export const StyledMonthYearSelectButton = styled('button', props => {
|
|
142
|
-
return { ...props.$theme.typography.
|
|
142
|
+
return { ...props.$theme.typography.LabelLarge,
|
|
143
143
|
alignItems: 'center',
|
|
144
144
|
backgroundColor: 'transparent',
|
|
145
145
|
borderLeftWidth: 0,
|
|
@@ -173,6 +173,7 @@ function getArrowBtnStyle({
|
|
|
173
173
|
}) {
|
|
174
174
|
return {
|
|
175
175
|
boxSizing: 'border-box',
|
|
176
|
+
display: 'flex',
|
|
176
177
|
color: $disabled ? $theme.colors.calendarHeaderForegroundDisabled : $theme.colors.calendarHeaderForeground,
|
|
177
178
|
cursor: $disabled ? 'default' : 'pointer',
|
|
178
179
|
backgroundColor: 'transparent',
|
|
@@ -184,8 +185,6 @@ function getArrowBtnStyle({
|
|
|
184
185
|
paddingBottom: '0',
|
|
185
186
|
paddingLeft: '0',
|
|
186
187
|
paddingRight: '0',
|
|
187
|
-
marginLeft: '6px',
|
|
188
|
-
marginRight: '6px',
|
|
189
188
|
marginBottom: 0,
|
|
190
189
|
marginTop: 0,
|
|
191
190
|
outline: 'none',
|
|
@@ -214,7 +213,7 @@ export const StyledWeek = styled('div', props => {
|
|
|
214
213
|
return {
|
|
215
214
|
whiteSpace: 'nowrap',
|
|
216
215
|
display: 'flex',
|
|
217
|
-
marginBottom: sizing.
|
|
216
|
+
marginBottom: sizing.scale0
|
|
218
217
|
};
|
|
219
218
|
});
|
|
220
219
|
StyledWeek.displayName = "StyledWeek";
|
|
@@ -438,24 +437,26 @@ export const StyledDay = styled('div', props => {
|
|
|
438
437
|
$hasDateLabel,
|
|
439
438
|
$theme: {
|
|
440
439
|
colors,
|
|
440
|
+
typography,
|
|
441
441
|
sizing
|
|
442
442
|
}
|
|
443
443
|
} = props;
|
|
444
444
|
const code = getDayStateCode(props);
|
|
445
|
-
return {
|
|
445
|
+
return { ...typography.ParagraphMedium,
|
|
446
446
|
boxSizing: 'border-box',
|
|
447
447
|
position: 'relative',
|
|
448
448
|
cursor: $disabled || !$peekNextMonth && $outsideMonth ? 'default' : 'pointer',
|
|
449
449
|
color: colors.calendarForeground,
|
|
450
450
|
display: 'inline-block',
|
|
451
|
-
width:
|
|
452
|
-
height: $hasDateLabel ? '
|
|
453
|
-
lineHeight
|
|
451
|
+
width: '50px',
|
|
452
|
+
height: $hasDateLabel ? '70px' : sizing.scale1200,
|
|
453
|
+
// setting lineHeight equal to the contents height to vertically center the text
|
|
454
|
+
lineHeight: sizing.scale900,
|
|
454
455
|
textAlign: 'center',
|
|
455
456
|
paddingTop: sizing.scale300,
|
|
456
457
|
paddingBottom: sizing.scale300,
|
|
457
|
-
paddingLeft: sizing.
|
|
458
|
-
paddingRight: sizing.
|
|
458
|
+
paddingLeft: sizing.scale300,
|
|
459
|
+
paddingRight: sizing.scale300,
|
|
459
460
|
marginTop: 0,
|
|
460
461
|
marginBottom: 0,
|
|
461
462
|
marginLeft: 0,
|
|
@@ -476,10 +477,10 @@ export const StyledDay = styled('div', props => {
|
|
|
476
477
|
display: 'inline-block',
|
|
477
478
|
boxShadow: $isFocusVisible ? `0 0 0 3px ${colors.accent}` : 'none',
|
|
478
479
|
backgroundColor: $selected ? colors.calendarDayBackgroundSelectedHighlighted : $pseudoSelected && $isHighlighted ? colors.calendarDayBackgroundPseudoSelectedHighlighted : colors.calendarBackground,
|
|
479
|
-
height: '100%',
|
|
480
|
+
height: $hasDateLabel ? '100%' : '50px',
|
|
480
481
|
width: '100%',
|
|
481
482
|
position: 'absolute',
|
|
482
|
-
top: 0,
|
|
483
|
+
top: $hasDateLabel ? 0 : '-1px',
|
|
483
484
|
left: 0,
|
|
484
485
|
paddingTop: sizing.scale200,
|
|
485
486
|
paddingBottom: sizing.scale200,
|
|
@@ -495,10 +496,10 @@ export const StyledDay = styled('div', props => {
|
|
|
495
496
|
borderBottomColor: colors.borderSelected,
|
|
496
497
|
borderRightColor: colors.borderSelected,
|
|
497
498
|
borderLeftColor: colors.borderSelected,
|
|
498
|
-
borderTopLeftRadius: $hasDateLabel ? sizing.
|
|
499
|
-
borderTopRightRadius: $hasDateLabel ? sizing.
|
|
500
|
-
borderBottomLeftRadius: $hasDateLabel ? sizing.
|
|
501
|
-
borderBottomRightRadius: $hasDateLabel ? sizing.
|
|
499
|
+
borderTopLeftRadius: $hasDateLabel ? sizing.scale800 : '100%',
|
|
500
|
+
borderTopRightRadius: $hasDateLabel ? sizing.scale800 : '100%',
|
|
501
|
+
borderBottomLeftRadius: $hasDateLabel ? sizing.scale800 : '100%',
|
|
502
|
+
borderBottomRightRadius: $hasDateLabel ? sizing.scale800 : '100%',
|
|
502
503
|
...(getDayStyles(code, props.$theme)[':after'] || {}),
|
|
503
504
|
...($outsideMonthWithinRange ? {
|
|
504
505
|
content: null
|
|
@@ -560,18 +561,22 @@ StyledDayLabel.displayName = "StyledDayLabel";
|
|
|
560
561
|
export const StyledWeekdayHeader = styled('div', props => {
|
|
561
562
|
const {
|
|
562
563
|
$theme: {
|
|
564
|
+
typography,
|
|
565
|
+
colors,
|
|
563
566
|
sizing
|
|
564
567
|
}
|
|
565
568
|
} = props;
|
|
566
|
-
return {
|
|
569
|
+
return { ...typography.LabelMedium,
|
|
570
|
+
color: colors.contentTertiary,
|
|
567
571
|
boxSizing: 'border-box',
|
|
568
572
|
position: 'relative',
|
|
569
573
|
cursor: 'default',
|
|
570
574
|
display: 'inline-block',
|
|
571
|
-
width:
|
|
572
|
-
height: sizing.
|
|
573
|
-
lineHeight: sizing.scale800,
|
|
575
|
+
width: '50px',
|
|
576
|
+
height: sizing.scale1200,
|
|
574
577
|
textAlign: 'center',
|
|
578
|
+
// setting lineHeight equal to the contents height to vertically center the text
|
|
579
|
+
lineHeight: sizing.scale900,
|
|
575
580
|
paddingTop: sizing.scale300,
|
|
576
581
|
paddingBottom: sizing.scale300,
|
|
577
582
|
paddingLeft: sizing.scale200,
|
|
@@ -580,7 +585,6 @@ export const StyledWeekdayHeader = styled('div', props => {
|
|
|
580
585
|
marginBottom: 0,
|
|
581
586
|
marginLeft: 0,
|
|
582
587
|
marginRight: 0,
|
|
583
|
-
color: 'inherit',
|
|
584
588
|
backgroundColor: 'transparent'
|
|
585
589
|
};
|
|
586
590
|
});
|
|
@@ -90,7 +90,6 @@ export var Title = styled('h1', function (_ref7) {
|
|
|
90
90
|
var $theme = _ref7.$theme;
|
|
91
91
|
return _objectSpread(_objectSpread({}, $theme.typography.HeadingSmall), {}, {
|
|
92
92
|
color: $theme.colors.contentPrimary,
|
|
93
|
-
fontWeight: 500,
|
|
94
93
|
marginLeft: 0,
|
|
95
94
|
marginTop: 0,
|
|
96
95
|
marginRight: 0,
|
|
@@ -322,7 +322,7 @@ var CalendarHeader = /*#__PURE__*/function (_React$Component) {
|
|
|
322
322
|
$disabled: isDisabled,
|
|
323
323
|
$order: _this.props.order
|
|
324
324
|
}, prevButtonProps), isHidden ? null : /*#__PURE__*/React.createElement(PrevButtonIcon, _extends({
|
|
325
|
-
size:
|
|
325
|
+
size: 36,
|
|
326
326
|
overrides: {
|
|
327
327
|
Svg: {
|
|
328
328
|
style: navBtnStyle
|
|
@@ -392,7 +392,7 @@ var CalendarHeader = /*#__PURE__*/function (_React$Component) {
|
|
|
392
392
|
$isFocusVisible: _this.state.isFocusVisible,
|
|
393
393
|
$order: _this.props.order
|
|
394
394
|
}, nextButtonProps), isHidden ? null : /*#__PURE__*/React.createElement(NextButtonIcon, _extends({
|
|
395
|
-
size:
|
|
395
|
+
size: 36,
|
|
396
396
|
overrides: {
|
|
397
397
|
Svg: {
|
|
398
398
|
style: navBtnStyle
|
|
@@ -546,7 +546,8 @@ var CalendarHeader = /*#__PURE__*/function (_React$Component) {
|
|
|
546
546
|
role: 'presentation'
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
}
|
|
549
|
+
},
|
|
550
|
+
size: 24
|
|
550
551
|
})))), /*#__PURE__*/React.createElement(OverriddenPopover, _extends({
|
|
551
552
|
placement: "bottom",
|
|
552
553
|
focusLock: true,
|
|
@@ -627,7 +628,8 @@ var CalendarHeader = /*#__PURE__*/function (_React$Component) {
|
|
|
627
628
|
role: 'presentation'
|
|
628
629
|
}
|
|
629
630
|
}
|
|
630
|
-
}
|
|
631
|
+
},
|
|
632
|
+
size: 24
|
|
631
633
|
})))));
|
|
632
634
|
});
|
|
633
635
|
|
|
@@ -81,10 +81,10 @@ StyledMonthContainer.displayName = "StyledMonthContainer";
|
|
|
81
81
|
export var StyledCalendarContainer = styled('div', function (props) {
|
|
82
82
|
var sizing = props.$theme.sizing;
|
|
83
83
|
return {
|
|
84
|
-
paddingTop: sizing.
|
|
85
|
-
paddingBottom: sizing.
|
|
86
|
-
paddingLeft: sizing.
|
|
87
|
-
paddingRight: sizing.
|
|
84
|
+
paddingTop: sizing.scale300,
|
|
85
|
+
paddingBottom: sizing.scale300,
|
|
86
|
+
paddingLeft: sizing.scale500,
|
|
87
|
+
paddingRight: sizing.scale500
|
|
88
88
|
};
|
|
89
89
|
});
|
|
90
90
|
StyledCalendarContainer.displayName = "StyledCalendarContainer";
|
|
@@ -109,8 +109,8 @@ export var StyledCalendarHeader = styled('div', function (props) {
|
|
|
109
109
|
display: 'flex',
|
|
110
110
|
justifyContent: 'space-between',
|
|
111
111
|
alignItems: 'center',
|
|
112
|
-
paddingTop: sizing.
|
|
113
|
-
paddingBottom: sizing.
|
|
112
|
+
paddingTop: sizing.scale600,
|
|
113
|
+
paddingBottom: sizing.scale300,
|
|
114
114
|
paddingLeft: sizing.scale600,
|
|
115
115
|
paddingRight: sizing.scale600,
|
|
116
116
|
backgroundColor: colors.calendarHeaderBackground,
|
|
@@ -132,7 +132,7 @@ export var StyledMonthHeader = styled('div', function (props) {
|
|
|
132
132
|
});
|
|
133
133
|
StyledMonthHeader.displayName = "StyledMonthHeader";
|
|
134
134
|
export var StyledMonthYearSelectButton = styled('button', function (props) {
|
|
135
|
-
return _objectSpread(_objectSpread({}, props.$theme.typography.
|
|
135
|
+
return _objectSpread(_objectSpread({}, props.$theme.typography.LabelLarge), {}, {
|
|
136
136
|
alignItems: 'center',
|
|
137
137
|
backgroundColor: 'transparent',
|
|
138
138
|
borderLeftWidth: 0,
|
|
@@ -164,6 +164,7 @@ function getArrowBtnStyle(_ref6) {
|
|
|
164
164
|
$isFocusVisible = _ref6.$isFocusVisible;
|
|
165
165
|
return {
|
|
166
166
|
boxSizing: 'border-box',
|
|
167
|
+
display: 'flex',
|
|
167
168
|
color: $disabled ? $theme.colors.calendarHeaderForegroundDisabled : $theme.colors.calendarHeaderForeground,
|
|
168
169
|
cursor: $disabled ? 'default' : 'pointer',
|
|
169
170
|
backgroundColor: 'transparent',
|
|
@@ -175,8 +176,6 @@ function getArrowBtnStyle(_ref6) {
|
|
|
175
176
|
paddingBottom: '0',
|
|
176
177
|
paddingLeft: '0',
|
|
177
178
|
paddingRight: '0',
|
|
178
|
-
marginLeft: '6px',
|
|
179
|
-
marginRight: '6px',
|
|
180
179
|
marginBottom: 0,
|
|
181
180
|
marginTop: 0,
|
|
182
181
|
outline: 'none',
|
|
@@ -201,7 +200,7 @@ export var StyledWeek = styled('div', function (props) {
|
|
|
201
200
|
return {
|
|
202
201
|
whiteSpace: 'nowrap',
|
|
203
202
|
display: 'flex',
|
|
204
|
-
marginBottom: sizing.
|
|
203
|
+
marginBottom: sizing.scale0
|
|
205
204
|
};
|
|
206
205
|
});
|
|
207
206
|
StyledWeek.displayName = "StyledWeek";
|
|
@@ -421,22 +420,24 @@ export var StyledDay = styled('div', function (props) {
|
|
|
421
420
|
$hasDateLabel = props.$hasDateLabel,
|
|
422
421
|
_props$$theme3 = props.$theme,
|
|
423
422
|
colors = _props$$theme3.colors,
|
|
423
|
+
typography = _props$$theme3.typography,
|
|
424
424
|
sizing = _props$$theme3.sizing;
|
|
425
425
|
var code = getDayStateCode(props);
|
|
426
|
-
return _objectSpread(_objectSpread({
|
|
426
|
+
return _objectSpread(_objectSpread(_objectSpread({}, typography.ParagraphMedium), {}, {
|
|
427
427
|
boxSizing: 'border-box',
|
|
428
428
|
position: 'relative',
|
|
429
429
|
cursor: $disabled || !$peekNextMonth && $outsideMonth ? 'default' : 'pointer',
|
|
430
430
|
color: colors.calendarForeground,
|
|
431
431
|
display: 'inline-block',
|
|
432
|
-
width:
|
|
433
|
-
height: $hasDateLabel ? '
|
|
434
|
-
lineHeight
|
|
432
|
+
width: '50px',
|
|
433
|
+
height: $hasDateLabel ? '70px' : sizing.scale1200,
|
|
434
|
+
// setting lineHeight equal to the contents height to vertically center the text
|
|
435
|
+
lineHeight: sizing.scale900,
|
|
435
436
|
textAlign: 'center',
|
|
436
437
|
paddingTop: sizing.scale300,
|
|
437
438
|
paddingBottom: sizing.scale300,
|
|
438
|
-
paddingLeft: sizing.
|
|
439
|
-
paddingRight: sizing.
|
|
439
|
+
paddingLeft: sizing.scale300,
|
|
440
|
+
paddingRight: sizing.scale300,
|
|
440
441
|
marginTop: 0,
|
|
441
442
|
marginBottom: 0,
|
|
442
443
|
marginLeft: 0,
|
|
@@ -457,10 +458,10 @@ export var StyledDay = styled('div', function (props) {
|
|
|
457
458
|
display: 'inline-block',
|
|
458
459
|
boxShadow: $isFocusVisible ? "0 0 0 3px ".concat(colors.accent) : 'none',
|
|
459
460
|
backgroundColor: $selected ? colors.calendarDayBackgroundSelectedHighlighted : $pseudoSelected && $isHighlighted ? colors.calendarDayBackgroundPseudoSelectedHighlighted : colors.calendarBackground,
|
|
460
|
-
height: '100%',
|
|
461
|
+
height: $hasDateLabel ? '100%' : '50px',
|
|
461
462
|
width: '100%',
|
|
462
463
|
position: 'absolute',
|
|
463
|
-
top: 0,
|
|
464
|
+
top: $hasDateLabel ? 0 : '-1px',
|
|
464
465
|
left: 0,
|
|
465
466
|
paddingTop: sizing.scale200,
|
|
466
467
|
paddingBottom: sizing.scale200,
|
|
@@ -476,10 +477,10 @@ export var StyledDay = styled('div', function (props) {
|
|
|
476
477
|
borderBottomColor: colors.borderSelected,
|
|
477
478
|
borderRightColor: colors.borderSelected,
|
|
478
479
|
borderLeftColor: colors.borderSelected,
|
|
479
|
-
borderTopLeftRadius: $hasDateLabel ? sizing.
|
|
480
|
-
borderTopRightRadius: $hasDateLabel ? sizing.
|
|
481
|
-
borderBottomLeftRadius: $hasDateLabel ? sizing.
|
|
482
|
-
borderBottomRightRadius: $hasDateLabel ? sizing.
|
|
480
|
+
borderTopLeftRadius: $hasDateLabel ? sizing.scale800 : '100%',
|
|
481
|
+
borderTopRightRadius: $hasDateLabel ? sizing.scale800 : '100%',
|
|
482
|
+
borderBottomLeftRadius: $hasDateLabel ? sizing.scale800 : '100%',
|
|
483
|
+
borderBottomRightRadius: $hasDateLabel ? sizing.scale800 : '100%'
|
|
483
484
|
}, getDayStyles(code, props.$theme)[':after'] || {}), $outsideMonthWithinRange ? {
|
|
484
485
|
content: null
|
|
485
486
|
} : {})
|
|
@@ -531,16 +532,21 @@ export var StyledDayLabel = styled('div', function (props) {
|
|
|
531
532
|
});
|
|
532
533
|
StyledDayLabel.displayName = "StyledDayLabel";
|
|
533
534
|
export var StyledWeekdayHeader = styled('div', function (props) {
|
|
534
|
-
var
|
|
535
|
-
|
|
535
|
+
var _props$$theme5 = props.$theme,
|
|
536
|
+
typography = _props$$theme5.typography,
|
|
537
|
+
colors = _props$$theme5.colors,
|
|
538
|
+
sizing = _props$$theme5.sizing;
|
|
539
|
+
return _objectSpread(_objectSpread({}, typography.LabelMedium), {}, {
|
|
540
|
+
color: colors.contentTertiary,
|
|
536
541
|
boxSizing: 'border-box',
|
|
537
542
|
position: 'relative',
|
|
538
543
|
cursor: 'default',
|
|
539
544
|
display: 'inline-block',
|
|
540
|
-
width:
|
|
541
|
-
height: sizing.
|
|
542
|
-
lineHeight: sizing.scale800,
|
|
545
|
+
width: '50px',
|
|
546
|
+
height: sizing.scale1200,
|
|
543
547
|
textAlign: 'center',
|
|
548
|
+
// setting lineHeight equal to the contents height to vertically center the text
|
|
549
|
+
lineHeight: sizing.scale900,
|
|
544
550
|
paddingTop: sizing.scale300,
|
|
545
551
|
paddingBottom: sizing.scale300,
|
|
546
552
|
paddingLeft: sizing.scale200,
|
|
@@ -549,8 +555,7 @@ export var StyledWeekdayHeader = styled('div', function (props) {
|
|
|
549
555
|
marginBottom: 0,
|
|
550
556
|
marginLeft: 0,
|
|
551
557
|
marginRight: 0,
|
|
552
|
-
color: 'inherit',
|
|
553
558
|
backgroundColor: 'transparent'
|
|
554
|
-
};
|
|
559
|
+
});
|
|
555
560
|
});
|
|
556
561
|
StyledWeekdayHeader.displayName = "StyledWeekdayHeader";
|