@newskit-render/shared-components 1.4.0-alpha.0 → 1.5.0-alpha.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/README.md +123 -0
- package/dist/cjs/Calendar/Calendar.d.ts +4 -0
- package/dist/cjs/Calendar/Calendar.js +63 -0
- package/dist/cjs/Calendar/Calendar.js.map +1 -0
- package/dist/cjs/Calendar/CalendarStylesTheme.d.ts +6 -0
- package/dist/cjs/Calendar/CalendarStylesTheme.js +131 -0
- package/dist/cjs/Calendar/CalendarStylesTheme.js.map +1 -0
- package/dist/cjs/Calendar/defaults.d.ts +2 -0
- package/dist/cjs/Calendar/defaults.js +113 -0
- package/dist/cjs/Calendar/defaults.js.map +1 -0
- package/dist/cjs/Calendar/index.d.ts +3 -0
- package/dist/cjs/Calendar/index.js +20 -0
- package/dist/cjs/Calendar/index.js.map +1 -0
- package/dist/cjs/Calendar/presets.d.ts +37 -0
- package/dist/cjs/Calendar/presets.js +41 -0
- package/dist/cjs/Calendar/presets.js.map +1 -0
- package/dist/cjs/Calendar/types.d.ts +117 -0
- package/dist/cjs/Calendar/types.js +3 -0
- package/dist/cjs/Calendar/types.js.map +1 -0
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/theme/sharedTheme/index.js +2 -1
- package/dist/cjs/theme/sharedTheme/index.js.map +1 -1
- package/dist/esm/Calendar/Calendar.d.ts +4 -0
- package/dist/esm/Calendar/Calendar.js +36 -0
- package/dist/esm/Calendar/Calendar.js.map +1 -0
- package/dist/esm/Calendar/CalendarStylesTheme.d.ts +6 -0
- package/dist/esm/Calendar/CalendarStylesTheme.js +128 -0
- package/dist/esm/Calendar/CalendarStylesTheme.js.map +1 -0
- package/dist/esm/Calendar/defaults.d.ts +2 -0
- package/dist/esm/Calendar/defaults.js +110 -0
- package/dist/esm/Calendar/defaults.js.map +1 -0
- package/dist/esm/Calendar/index.d.ts +3 -0
- package/dist/esm/Calendar/index.js +4 -0
- package/dist/esm/Calendar/index.js.map +1 -0
- package/dist/esm/Calendar/presets.d.ts +37 -0
- package/dist/esm/Calendar/presets.js +38 -0
- package/dist/esm/Calendar/presets.js.map +1 -0
- package/dist/esm/Calendar/types.d.ts +117 -0
- package/dist/esm/Calendar/types.js +2 -0
- package/dist/esm/Calendar/types.js.map +1 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/theme/sharedTheme/index.js +2 -1
- package/dist/esm/theme/sharedTheme/index.js.map +1 -1
- package/package.json +6 -3
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.calendarPresets = void 0;
|
|
4
|
+
exports.calendarPresets = {
|
|
5
|
+
calendarBorderStyle: {
|
|
6
|
+
base: {
|
|
7
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
8
|
+
borderRadius: '{{borders.borderRadiusRounded020}}',
|
|
9
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
10
|
+
borderStyle: 'solid',
|
|
11
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
monthNavigationButtons: {
|
|
15
|
+
base: {
|
|
16
|
+
borderColor: '{{colors.interactiveInput030}}',
|
|
17
|
+
borderRadius: '{{borders.borderRadiusRounded020}}',
|
|
18
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
19
|
+
borderStyle: 'solid',
|
|
20
|
+
borderWidth: '{{borders.borderWidth020}} {{borders.borderWidth020}} {{borders.borderWidth020}} {{borders.borderWidth020}}',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
dateInputStylePreset: {
|
|
24
|
+
base: {
|
|
25
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
26
|
+
borderStyle: 'solid',
|
|
27
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
28
|
+
borderWidth: '{{borders.borderWidth020}} {{borders.borderWidth020}} {{borders.borderWidth020}} {{borders.borderWidth020}}',
|
|
29
|
+
borderRadius: '{{borders.borderRadiusRounded020}}',
|
|
30
|
+
},
|
|
31
|
+
focus: {
|
|
32
|
+
borderColor: '{{colors.interactiveFocus010}}',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
iconCustom: {
|
|
36
|
+
base: {
|
|
37
|
+
iconColor: '{{colors.inkBase}}',
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=presets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presets.js","sourceRoot":"","sources":["../../../src/Calendar/presets.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;IAC7B,mBAAmB,EAAE;QACnB,IAAI,EAAE;YACJ,WAAW,EAAE,gCAAgC;YAC7C,YAAY,EAAE,oCAAoC;YAClD,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EACT,6GAA6G;SAChH;KACF;IACD,sBAAsB,EAAE;QACtB,IAAI,EAAE;YACJ,WAAW,EAAE,gCAAgC;YAC7C,YAAY,EAAE,oCAAoC;YAClD,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EACT,6GAA6G;SAChH;KACF;IACD,oBAAoB,EAAE;QACpB,IAAI,EAAE;YACJ,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,gCAAgC;YAC7C,WAAW,EACT,6GAA6G;YAC/G,YAAY,EAAE,oCAAoC;SACnD;QACD,KAAK,EAAE;YACL,WAAW,EAAE,gCAAgC;SAC9C;KACF;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,SAAS,EAAE,oBAAoB;SAChC;KACF;CACF,CAAA"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
export interface CalendarRangePickerProps {
|
|
2
|
+
overrides?: CalendarStylesProps;
|
|
3
|
+
startDate: Date | null;
|
|
4
|
+
endDate: Date | null;
|
|
5
|
+
setDates: (start: null | Date, end: null | Date) => void;
|
|
6
|
+
numberOfMonths: number;
|
|
7
|
+
daySize: number;
|
|
8
|
+
}
|
|
9
|
+
export interface CalendarStylesProps {
|
|
10
|
+
calendar: {
|
|
11
|
+
typographyPreset: string;
|
|
12
|
+
borders: {
|
|
13
|
+
stylePreset: string;
|
|
14
|
+
};
|
|
15
|
+
transitionContainer: {
|
|
16
|
+
borders: {
|
|
17
|
+
stylePreset: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
day: {
|
|
21
|
+
color: string;
|
|
22
|
+
backgroundColor: string;
|
|
23
|
+
typographyPreset: string;
|
|
24
|
+
hover: {
|
|
25
|
+
backgroundColor: string;
|
|
26
|
+
};
|
|
27
|
+
selected: {
|
|
28
|
+
color: string;
|
|
29
|
+
backgroundColor: string;
|
|
30
|
+
active: {
|
|
31
|
+
hover: {
|
|
32
|
+
color: string;
|
|
33
|
+
backgroundColor: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
blocked: {
|
|
38
|
+
color: string;
|
|
39
|
+
outOfRange: {
|
|
40
|
+
color: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
span: {
|
|
44
|
+
color: string;
|
|
45
|
+
backgroundColor: string;
|
|
46
|
+
selected: {
|
|
47
|
+
active: {
|
|
48
|
+
hover: {
|
|
49
|
+
color: string;
|
|
50
|
+
backgroundColor: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
hover: {
|
|
55
|
+
color: string;
|
|
56
|
+
backgroundColor: string;
|
|
57
|
+
active: {
|
|
58
|
+
backgroundColor: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
week: {
|
|
64
|
+
headers: {
|
|
65
|
+
typographyPreset: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
month: {
|
|
69
|
+
headers: {
|
|
70
|
+
typographyPreset: string;
|
|
71
|
+
color: string;
|
|
72
|
+
};
|
|
73
|
+
navigation: {
|
|
74
|
+
default: {
|
|
75
|
+
stylePreset: string;
|
|
76
|
+
};
|
|
77
|
+
vertical: {
|
|
78
|
+
buttons: {
|
|
79
|
+
next: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
icons: {
|
|
83
|
+
stylePreset: string;
|
|
84
|
+
svg: {
|
|
85
|
+
left: {
|
|
86
|
+
fill: string;
|
|
87
|
+
};
|
|
88
|
+
vertical: {
|
|
89
|
+
width: string;
|
|
90
|
+
height: string;
|
|
91
|
+
fill: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
inputs: {
|
|
98
|
+
typographyPreset: string;
|
|
99
|
+
colors: {
|
|
100
|
+
color: string;
|
|
101
|
+
fill: string;
|
|
102
|
+
backgroundColor: string;
|
|
103
|
+
};
|
|
104
|
+
spacing: {
|
|
105
|
+
marginLeft: string;
|
|
106
|
+
marginRight: string;
|
|
107
|
+
padding: string;
|
|
108
|
+
};
|
|
109
|
+
sizing: {
|
|
110
|
+
width: string;
|
|
111
|
+
};
|
|
112
|
+
borders: {
|
|
113
|
+
stylePreset: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/Calendar/types.ts"],"names":[],"mappings":""}
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export * from './SubscriptionDrawer';
|
|
|
19
19
|
export * from './SubscriptionDetails';
|
|
20
20
|
export * from './ThemeDropdown';
|
|
21
21
|
export * from './TitleBar';
|
|
22
|
+
export * from './Calendar';
|
|
22
23
|
export * from './helpers';
|
|
23
24
|
export * from './theme';
|
|
24
25
|
export * from './utils';
|
package/dist/cjs/index.js
CHANGED
|
@@ -35,6 +35,7 @@ __exportStar(require("./SubscriptionDrawer"), exports);
|
|
|
35
35
|
__exportStar(require("./SubscriptionDetails"), exports);
|
|
36
36
|
__exportStar(require("./ThemeDropdown"), exports);
|
|
37
37
|
__exportStar(require("./TitleBar"), exports);
|
|
38
|
+
__exportStar(require("./Calendar"), exports);
|
|
38
39
|
__exportStar(require("./helpers"), exports);
|
|
39
40
|
__exportStar(require("./theme"), exports);
|
|
40
41
|
__exportStar(require("./utils"), exports);
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,gDAA6B;AAC7B,oDAAiC;AACjC,uDAAoC;AACpC,kDAA+B;AAC/B,kDAA+B;AAC/B,8CAA2B;AAC3B,2CAAwB;AACxB,iDAA8B;AAC9B,+CAA4B;AAC5B,yCAAsB;AACtB,0CAAuB;AACvB,sDAAmC;AACnC,qDAAkC;AAClC,kDAA+B;AAC/B,wCAAqB;AACrB,kDAA+B;AAC/B,uDAAoC;AACpC,wDAAqC;AACrC,kDAA+B;AAC/B,6CAA0B;AAC1B,4CAAyB;AACzB,0CAAuB;AAEvB,0CAAuB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,gDAA6B;AAC7B,oDAAiC;AACjC,uDAAoC;AACpC,kDAA+B;AAC/B,kDAA+B;AAC/B,8CAA2B;AAC3B,2CAAwB;AACxB,iDAA8B;AAC9B,+CAA4B;AAC5B,yCAAsB;AACtB,0CAAuB;AACvB,sDAAmC;AACnC,qDAAkC;AAClC,kDAA+B;AAC/B,wCAAqB;AACrB,kDAA+B;AAC/B,uDAAoC;AACpC,wDAAqC;AACrC,kDAA+B;AAC/B,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,0CAAuB;AAEvB,0CAAuB"}
|
|
@@ -17,13 +17,14 @@ var ButtonGroup_1 = require("../../ButtonGroup");
|
|
|
17
17
|
var SubscriptionDetails_1 = require("../../SubscriptionDetails");
|
|
18
18
|
var Modal_1 = require("../../Modal");
|
|
19
19
|
var stylePresets_1 = require("./stylePresets");
|
|
20
|
+
var presets_1 = require("../../Calendar/presets");
|
|
20
21
|
var colors_1 = require("./colors");
|
|
21
22
|
exports.sharedTheme = (0, newskit_1.createTheme)({
|
|
22
23
|
name: 'Shared-Theme',
|
|
23
24
|
baseTheme: newskit_1.newskitLightTheme,
|
|
24
25
|
overrides: {
|
|
25
26
|
colors: colors_1.colors,
|
|
26
|
-
stylePresets: __assign(__assign(__assign(__assign({}, ButtonGroup_1.buttonGroupPresets), SubscriptionDetails_1.headerSubscriptionDetailsPresets), Modal_1.modalPresets), stylePresets_1.stylePresets),
|
|
27
|
+
stylePresets: __assign(__assign(__assign(__assign(__assign({}, ButtonGroup_1.buttonGroupPresets), SubscriptionDetails_1.headerSubscriptionDetailsPresets), Modal_1.modalPresets), stylePresets_1.stylePresets), presets_1.calendarPresets),
|
|
27
28
|
},
|
|
28
29
|
});
|
|
29
30
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/sharedTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,mCAAwD;AACxD,iDAAsD;AACtD,iEAA4E;AAC5E,qCAA0C;AAC1C,+CAA6C;AAC7C,mCAAiC;AAEpB,QAAA,WAAW,GAAG,IAAA,qBAAW,EAAC;IACrC,IAAI,EAAE,cAAc;IACpB,SAAS,EAAE,2BAAiB;IAC5B,SAAS,EAAE;QACT,MAAM,iBAAA;QACN,YAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/sharedTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,mCAAwD;AACxD,iDAAsD;AACtD,iEAA4E;AAC5E,qCAA0C;AAC1C,+CAA6C;AAC7C,kDAAwD;AACxD,mCAAiC;AAEpB,QAAA,WAAW,GAAG,IAAA,qBAAW,EAAC;IACrC,IAAI,EAAE,cAAc;IACpB,SAAS,EAAE,2BAAiB;IAC5B,SAAS,EAAE;QACT,MAAM,iBAAA;QACN,YAAY,mDACP,gCAAkB,GAClB,sDAAgC,GAChC,oBAAY,GACZ,2BAAY,GACZ,yBAAe,CACnB;KACF;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import React, { useState } from 'react';
|
|
13
|
+
import { DateRangePicker, toMomentObject } from 'react-dates';
|
|
14
|
+
import 'react-dates/initialize';
|
|
15
|
+
import { ChevronRight as OutlinedChevronRight } from '@emotion-icons/material/ChevronRight';
|
|
16
|
+
import { useBreakpointKey, toNewsKitIcon } from 'newskit';
|
|
17
|
+
import { CalendarStyles } from './CalendarStylesTheme';
|
|
18
|
+
import { calendarDefaults } from './defaults';
|
|
19
|
+
var IconOutlinedChevronRight = toNewsKitIcon(OutlinedChevronRight);
|
|
20
|
+
export var Calendar = function (_a) {
|
|
21
|
+
var _b = _a.overrides, overrides = _b === void 0 ? calendarDefaults : _b, startDate = _a.startDate, endDate = _a.endDate, numberOfMonths = _a.numberOfMonths, daySize = _a.daySize, setDates = _a.setDates;
|
|
22
|
+
var _c = useState('startDate'), focusedInput = _c[0], setFocusedInput = _c[1];
|
|
23
|
+
var breakpoint = useBreakpointKey();
|
|
24
|
+
var isMobile = breakpoint === 'xs' || breakpoint === 'sm';
|
|
25
|
+
return (React.createElement(CalendarStyles, __assign({}, overrides),
|
|
26
|
+
React.createElement(DateRangePicker, { block: true, noBorder: true, daySize: daySize, numberOfMonths: numberOfMonths, displayFormat: "DD/MM/YYYY", orientation: isMobile ? 'vertical' : 'horizontal', startDateId: "startDate", endDateId: "endDate", startDate: toMomentObject(startDate), endDate: toMomentObject(endDate), onDatesChange: function (_a) {
|
|
27
|
+
var startDate = _a.startDate, endDate = _a.endDate;
|
|
28
|
+
var start = startDate ? startDate.toDate() : null;
|
|
29
|
+
var end = endDate ? endDate.toDate() : null;
|
|
30
|
+
setDates(start, end);
|
|
31
|
+
}, focusedInput: focusedInput, onFocusChange: function (focusedInput) { return setFocusedInput(focusedInput); }, customArrowIcon: React.createElement(IconOutlinedChevronRight, { overrides: {
|
|
32
|
+
size: 'iconSize020',
|
|
33
|
+
stylePreset: 'iconCustom',
|
|
34
|
+
} }) })));
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=Calendar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Calendar.js","sourceRoot":"","sources":["../../../src/Calendar/Calendar.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,EAAE,eAAe,EAAqB,cAAc,EAAE,MAAM,aAAa,CAAA;AAChF,OAAO,wBAAwB,CAAA;AAC/B,OAAO,EAAE,YAAY,IAAI,oBAAoB,EAAE,MAAM,sCAAsC,CAAA;AAC3F,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM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KAAK,EAAE,GAAG,CAAC,CAAA;YACtB,CAAC,EACD,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,UAAC,YAAY,IAAK,OAAA,eAAe,CAAC,YAAY,CAAC,EAA7B,CAA6B,EAC9D,eAAe,EACb,oBAAC,wBAAwB,IACvB,SAAS,EAAE;oBACT,IAAI,EAAE,aAAa;oBACnB,WAAW,EAAE,YAAY;iBAC1B,GACD,GAEJ,CACa,CAClB,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CalendarStylesProps } from './types';
|
|
3
|
+
export declare const CalendarStyles: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
} & CalendarStylesProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
import { getBorderCssFromTheme, getColorCssFromTheme, getSizingCssFromTheme, getSpacingCssFromTheme, getStylePresetFromTheme, getTypographyPresetFromTheme, styled, } from 'newskit';
|
|
6
|
+
export var CalendarStyles = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n max-width: 560px;\n ", "\n .PresetDateRangePicker_panel {\n padding: 0 22px 11px;\n }\n .PresetDateRangePicker_button {\n position: relative;\n height: 100%;\n text-align: center;\n background: 0 0;\n border: 2px solid #00a699;\n color: #00a699;\n padding: 4px 12px;\n margin-right: 8px;\n font: inherit;\n font-weight: 700;\n line-height: normal;\n overflow: visible;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n cursor: pointer;\n }\n .PresetDateRangePicker_button:active {\n outline: 0;\n }\n .PresetDateRangePicker_button__selected {\n color: #fff;\n background: #00a699;\n }\n .SingleDatePickerInput {\n display: inline-block;\n background-color: #fff;\n }\n .SingleDatePickerInput__withBorder {\n border-radius: 2px;\n border: 1px solid #dbdbdb;\n }\n .SingleDatePickerInput__rtl {\n direction: rtl;\n }\n .SingleDatePickerInput__disabled {\n background-color: #f2f2f2;\n }\n .SingleDatePickerInput__block {\n display: block;\n }\n .SingleDatePickerInput__showClearDate {\n padding-right: 30px;\n }\n .SingleDatePickerInput_clearDate {\n background: 0 0;\n border: 0;\n color: inherit;\n font: inherit;\n line-height: normal;\n overflow: visible;\n cursor: pointer;\n padding: 10px;\n margin: 0 10px 0 5px;\n position: absolute;\n right: 0;\n top: 50%;\n -webkit-transform: translateY(-50%);\n -ms-transform: translateY(-50%);\n transform: translateY(-50%);\n }\n .SingleDatePickerInput_clearDate__default:focus,\n .SingleDatePickerInput_clearDate__default:hover {\n background: #dbdbdb;\n border-radius: 50%;\n }\n .SingleDatePickerInput_clearDate__small {\n padding: 6px;\n }\n .SingleDatePickerInput_clearDate__hide {\n visibility: hidden;\n }\n .SingleDatePickerInput_clearDate_svg {\n fill: #82888a;\n height: 12px;\n width: 15px;\n vertical-align: middle;\n }\n .SingleDatePickerInput_clearDate_svg__small {\n height: 9px;\n }\n .SingleDatePickerInput_calendarIcon {\n background: 0 0;\n border: 0;\n color: inherit;\n font: inherit;\n line-height: normal;\n overflow: visible;\n cursor: pointer;\n display: inline-block;\n vertical-align: middle;\n padding: 10px;\n margin: 0 5px 0 10px;\n }\n .SingleDatePickerInput_calendarIcon_svg {\n fill: #82888a;\n height: 15px;\n width: 14px;\n vertical-align: middle;\n }\n .SingleDatePicker {\n position: relative;\n display: inline-block;\n }\n .SingleDatePicker__block {\n display: block;\n }\n .SingleDatePicker_picker {\n z-index: 1;\n background-color: #fff;\n position: absolute;\n }\n .SingleDatePicker_picker__rtl {\n direction: rtl;\n }\n .SingleDatePicker_picker__directionLeft {\n left: 0;\n }\n .SingleDatePicker_picker__directionRight {\n right: 0;\n }\n .SingleDatePicker_picker__portal {\n background-color: rgba(0, 0, 0, 0.3);\n position: fixed;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n }\n .SingleDatePicker_picker__fullScreenPortal {\n background-color: #fff;\n }\n .SingleDatePicker_closeButton {\n background: 0 0;\n border: 0;\n color: inherit;\n font: inherit;\n line-height: normal;\n overflow: visible;\n cursor: pointer;\n position: absolute;\n top: 0;\n right: 0;\n padding: 15px;\n z-index: 2;\n }\n .SingleDatePicker_closeButton:focus,\n .SingleDatePicker_closeButton:hover {\n color: darken(#cacccd, 10%);\n text-decoration: none;\n }\n .SingleDatePicker_closeButton_svg {\n height: 15px;\n width: 15px;\n fill: #cacccd;\n }\n .DayPickerKeyboardShortcuts_buttonReset {\n background: 0 0;\n border: 0;\n border-radius: 0;\n color: inherit;\n font: inherit;\n line-height: normal;\n overflow: visible;\n padding: 0;\n cursor: pointer;\n font-size: 14px;\n display: none;\n }\n .DayPickerKeyboardShortcuts_buttonReset:active {\n outline: 0;\n }\n .DayPickerKeyboardShortcuts_show {\n width: 33px;\n height: 26px;\n position: absolute;\n z-index: 2;\n }\n .DayPickerKeyboardShortcuts_show::before {\n content: '';\n display: block;\n position: absolute;\n }\n .DayPickerKeyboardShortcuts_show__bottomRight {\n bottom: 0;\n right: 0;\n }\n .DayPickerKeyboardShortcuts_show__bottomRight::before {\n border-top: 26px solid transparent;\n border-right: 33px solid #00a699;\n bottom: 0;\n right: 0;\n }\n .DayPickerKeyboardShortcuts_show__bottomRight:hover::before {\n border-right: 33px solid #008489;\n }\n .DayPickerKeyboardShortcuts_show__topRight {\n top: 0;\n right: 0;\n }\n .DayPickerKeyboardShortcuts_show__topRight::before {\n border-bottom: 26px solid transparent;\n border-right: 33px solid #00a699;\n top: 0;\n right: 0;\n }\n .DayPickerKeyboardShortcuts_show__topRight:hover::before {\n border-right: 33px solid #008489;\n }\n .DayPickerKeyboardShortcuts_show__topLeft {\n top: 0;\n left: 0;\n }\n .DayPickerKeyboardShortcuts_show__topLeft::before {\n border-bottom: 26px solid transparent;\n border-left: 33px solid #00a699;\n top: 0;\n left: 0;\n }\n .DayPickerKeyboardShortcuts_show__topLeft:hover::before {\n border-left: 33px solid #008489;\n }\n .DayPickerKeyboardShortcuts_showSpan {\n color: #fff;\n position: absolute;\n }\n .DayPickerKeyboardShortcuts_showSpan__bottomRight {\n bottom: 0;\n right: 5px;\n }\n .DayPickerKeyboardShortcuts_showSpan__topRight {\n top: 1px;\n right: 5px;\n }\n .DayPickerKeyboardShortcuts_showSpan__topLeft {\n top: 1px;\n left: 5px;\n }\n .DayPickerKeyboardShortcuts_panel {\n overflow: auto;\n background: #fff;\n border: 1px solid #dbdbdb;\n border-radius: 2px;\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 2;\n padding: 22px;\n margin: 33px;\n text-align: left;\n }\n .DayPickerKeyboardShortcuts_title {\n font-size: 16px;\n font-weight: 700;\n margin: 0;\n }\n .DayPickerKeyboardShortcuts_list {\n list-style: none;\n padding: 0;\n font-size: 14px;\n }\n .DayPickerKeyboardShortcuts_close {\n position: absolute;\n right: 22px;\n top: 22px;\n z-index: 2;\n }\n .DayPickerKeyboardShortcuts_close:active {\n outline: 0;\n }\n .DayPickerKeyboardShortcuts_closeSvg {\n height: 15px;\n width: 15px;\n fill: #cacccd;\n }\n .DayPickerKeyboardShortcuts_closeSvg:focus,\n .DayPickerKeyboardShortcuts_closeSvg:hover {\n fill: #82888a;\n }\n .CalendarDay {\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n cursor: pointer;\n font-size: 14px;\n text-align: center;\n ", "\n }\n .CalendarDay:active {\n outline: 0;\n }\n .CalendarDay__defaultCursor {\n cursor: default;\n }\n .CalendarDay__default {\n border: 0;\n ", "\n ", "\n }\n .CalendarDay__default:hover {\n ", "\n border: 0;\n color: inherit;\n }\n .CalendarDay__hovered_offset {\n background: #f4f5f5;\n border: 1px double #e4e7e7;\n color: inherit;\n }\n .CalendarDay__outside {\n border: 0;\n background: #fff;\n color: #484848;\n }\n .CalendarDay__outside:hover {\n border: 0;\n }\n .CalendarDay__blocked_minimum_nights {\n background: #fff;\n border: 1px solid #eceeee;\n color: #cacccd;\n }\n .CalendarDay__blocked_minimum_nights:active,\n .CalendarDay__blocked_minimum_nights:hover {\n background: #fff;\n color: #cacccd;\n }\n .CalendarDay__highlighted_calendar {\n background: #ffe8bc;\n color: #484848;\n }\n .CalendarDay__highlighted_calendar:active,\n .CalendarDay__highlighted_calendar:hover {\n background: #ffce71;\n color: #484848;\n }\n .CalendarDay__selected_span {\n ", "\n border: none;\n ", "\n }\n .CalendarDay__selected_span:active,\n .CalendarDay__selected_span:hover {\n ", "\n border: none;\n ", "\n }\n .CalendarDay__selected,\n .CalendarDay__selected:active,\n .CalendarDay__selected:hover {\n ", "\n border: none;\n ", "\n }\n .CalendarDay__hovered_span,\n .CalendarDay__hovered_span:hover {\n ", "\n border: none;\n \n ", "\n }\n .CalendarDay__hovered_span:active {\n background: #80e8e0;\n ", "\n border: none;\n color: #007a87;\n }\n .CalendarDay__blocked_calendar,\n .CalendarDay__blocked_calendar:active,\n .CalendarDay__blocked_calendar:hover {\n border: 0;\n ", "\n }\n .CalendarDay__blocked_out_of_range,\n .CalendarDay__blocked_out_of_range:active,\n .CalendarDay__blocked_out_of_range:hover {\n background: #fff;\n border: 0;\n ", "\n ", "\n }\n .CalendarDay__hovered_start_first_possible_end {\n background: #eceeee;\n border: 1px double #eceeee;\n }\n .CalendarDay__hovered_start_blocked_min_nights {\n background: #eceeee;\n border: 1px double #e4e7e7;\n }\n .CalendarMonth {\n background: #fff;\n text-align: center;\n vertical-align: top;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n padding: 0 !important;\n width; 100%;\n }\n .CalendarMonth_table {\n border-collapse: collapse;\n border-spacing: 0;\n width: 100%;\n max-width: 100%;\n }\n .CalendarMonth_verticalSpacing {\n border-collapse: separate;\n }\n .CalendarMonth_caption {\n ", "\n ", "\n width: 100%;\n text-align: center;\n padding-top: 22px;\n padding-bottom: 37px;\n caption-side: initial;\n }\n .CalendarMonth_caption__verticalScrollable {\n padding-top: 12px;\n padding-bottom: 7px;\n }\n .CalendarMonthGrid {\n ", "\n ", "\n text-align: left;\n z-index: 0;\n }\n .CalendarMonthGrid__animating {\n z-index: 1;\n }\n .CalendarMonthGrid__horizontal {\n position: absolute;\n left: 0px;\n margin: 4px;\n }\n .CalendarMonthGrid__vertical,\n .CalendarMonthGrid__vertical_scrollable {\n margin: 0 auto;\n }\n .CalendarMonthGrid_month__horizontal {\n display: inline-block;\n vertical-align: top;\n min-height: 100%;\n }\n .CalendarMonthGrid_month__hideForAnimation {\n position: absolute;\n z-index: -1;\n opacity: 0;\n pointer-events: none;\n }\n .CalendarMonthGrid_month__hidden {\n visibility: hidden;\n }\n .DayPickerNavigation {\n display: flex;\n justify-items: space-between;\n position: relative;\n z-index: 2;\n }\n .DayPickerNavigation__horizontal {\n max-width: 560px;\n height: 0;\n }\n .DayPickerNavigation__verticalScrollable_prevNav {\n z-index: 1;\n }\n .DayPickerNavigation__verticalDefault {\n position: absolute;\n width: 100%;\n height: 52px;\n bottom: -72px;\n left: 0;\n }\n .DayPickerNavigation__verticalScrollableDefault {\n position: relative;\n }\n .DayPickerNavigation__bottom {\n height: auto;\n }\n .DayPickerNavigation__bottomDefault {\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n display: -webkit-box;\n display: -moz-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -webkit-justify-content: space-between;\n justify-content: space-between;\n }\n .DayPickerNavigation_button {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n padding: 0;\n margin: 0;\n }\n .DayPickerNavigation_button__default {\n border: 0;\n background-color: #fff;\n ", "\n }\n .DayPickerNavigation_button__default:focus,\n .DayPickerNavigation_button__default:hover {\n border: 0;\n }\n .DayPickerNavigation_button__default:active {\n background: #f2f2f2;\n }\n .DayPickerNavigation_button__disabled {\n cursor: default;\n border: 1px solid #f2f2f2;\n }\n .DayPickerNavigation_button__disabled:focus,\n .DayPickerNavigation_button__disabled:hover {\n border: 1px solid #f2f2f2;\n }\n .DayPickerNavigation_button__disabled:active {\n background: 0 0;\n }\n .DayPickerNavigation_button__horizontalDefault {\n position: absolute;\n top: 18px;\n line-height: 0.78;\n border-radius: 3px;\n padding: 9px;\n }\n .DayPickerNavigation_bottomButton__horizontalDefault {\n position: static;\n margin: -10px 22px 30px;\n }\n .DayPickerNavigation_leftButton__horizontalDefault {\n left: 10px;\n }\n .DayPickerNavigation_rightButton__horizontalDefault {\n right: 18px;\n }\n .DayPickerNavigation_button__verticalDefault {\n background: #fff;\n box-shadow: none;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 45%;\n padding: 8px 12px;\n \n ", "\n }\n .DayPickerNavigation_nextButton__verticalDefault {\n ", "\n ", "\n }\n .DayPickerNavigation_nextButton__verticalScrollableDefault,\n .DayPickerNavigation_prevButton__verticalScrollableDefault {\n width: 100%;\n }\n .DayPickerNavigation_svg__horizontal {\n height: 19px;\n width: 19px;\n display: block;\n ", "\n }\n .DayPickerNavigation_svg__vertical {\n ", "\n ", "\n ", "\n }\n .DayPickerNavigation_svg__disabled {\n fill: #f2f2f2;\n }\n .DayPicker {\n background: #fff;\n position: relative;\n text-align: left;\n }\n .DayPicker__horizontal {\n background: #fff;\n }\n .DayPicker__verticalScrollable {\n height: 100%;\n }\n .DayPicker__hidden {\n visibility: hidden;\n }\n .DayPicker__withBorder {\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.07);\n ", "\n \n }\n .DayPicker_portal__horizontal {\n box-shadow: none;\n position: absolute;\n left: 50%;\n top: 50%;\n }\n .DayPicker_portal__vertical {\n position: initial;\n }\n .DayPicker_focusRegion {\n outline: 0;\n }\n .DayPicker_calendarInfo__horizontal,\n .DayPicker_wrapper__horizontal {\n display: inline-block;\n vertical-align: top;\n }\n .DayPicker_weekHeaders {\n ", "\n position: relative;\n }\n .DayPicker_weekHeaders__horizontal {\n margin-left: 9px;\n }\n .DayPicker_weekHeader {\n color: #757575;\n position: absolute;\n top: 62px;\n z-index: 2;\n text-align: left;\n }\n .DayPicker_weekHeader__vertical {\n display: block;\n }\n .DayPicker_weekHeader__verticalScrollable {\n top: 0;\n display: table-row;\n border-bottom: 1px solid #dbdbdb;\n background: #fff;\n margin-left: 0;\n left: 0;\n width: 100%;\n text-align: center;\n }\n .DayPicker_weekHeader_ul {\n list-style: none;\n margin: 1px 0;\n padding-left: 0;\n padding-right: 0;\n ", "\n }\n .DayPicker_weekHeader_li {\n display: inline-block;\n text-align: center;\n }\n .DayPicker_transitionContainer {\n position: relative;\n overflow: hidden;\n border-radius: 3px;\n ", "\n max-width: 87%;\n }\n .DayPicker_transitionContainer__horizontal {\n -webkit-transition: height 0.2s ease-in-out;\n -moz-transition: height 0.2s ease-in-out;\n transition: height 0.2s ease-in-out;\n }\n .DayPicker_transitionContainer__vertical {\n min-height: 100%;\n }\n .DayPicker_transitionContainer__verticalScrollable {\n padding-top: 20px;\n height: 100%;\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n overflow-y: scroll;\n }\n .DateInput {\n margin: 0;\n background: #fff;\n position: relative;\n display: inline-block;\n width: 50%;\n vertical-align: middle;\n }\n .DateInput__small {\n width: 97px;\n }\n .DateInput__block {\n box-sizing: border-box;\n width: 100%;\n }\n .DateInput__disabled {\n background: #f2f2f2;\n color: #dbdbdb;\n }\n .DateInput_input {\n box-sizing: border-box;\n diplay: block;\n width: 100%;\n ", "\n ", "\n ", "\n ", "\n }\n .DateInput_input__small {\n font-size: 15px;\n line-height: 18px;\n letter-spacing: 0.2px;\n padding: 7px 7px 5px;\n }\n .DateInput_input__regular {\n font-weight: auto;\n }\n .DateInput_input__readOnly {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n .DateInput_input__focused {\n width: 100%;\n outline: 0;\n background: #fff;\n\n }\n .DateInput_input__disabled {\n background: #f2f2f2;\n font-style: italic;\n }\n .DateInput_screenReaderMessage {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n }\n .DateInput_fang {\n position: absolute;\n width: 20px;\n height: 10px;\n left: 22px;\n z-index: 2;\n }\n .DateInput_fangShape {\n fill: #fff;\n }\n .DateInput_fangStroke {\n stroke: #dbdbdb;\n fill: transparent;\n }\n .DateRangePickerInput {\n ", "\n background-color: #fff;\n display: inline-block;\n }\n .DateRangePickerInput__disabled {\n background: #f2f2f2;\n }\n .DateRangePickerInput__withBorder {\n border-radius: 2px;\n border: 1px solid #dbdbdb;\n }\n .DateRangePickerInput__rtl {\n direction: rtl;\n }\n .DateRangePickerInput__block {\n display: flex;\n width: 100%;\n justify-content: space-between;\n align-items: center;\n }\n .DateRangePickerInput__showClearDates {\n padding-right: 30px;\n }\n .DateRangePickerInput_arrow {\n display: inline-block;\n vertical-align: middle;\n ", "\n ", "\n ", "\n }\n .DateRangePickerInput_arrow_svg {\n vertical-align: middle;\n ", "\n height: 24px;\n width: 24px;\n }\n .DateRangePickerInput_clearDates {\n background: 0 0;\n border: 0;\n color: inherit;\n font: inherit;\n line-height: normal;\n overflow: visible;\n cursor: pointer;\n padding: 10px;\n margin: 0 10px 0 5px;\n position: absolute;\n right: 0;\n top: 50%;\n -webkit-transform: translateY(-50%);\n -ms-transform: translateY(-50%);\n transform: translateY(-50%);\n }\n .DateRangePickerInput_clearDates__small {\n padding: 6px;\n }\n .DateRangePickerInput_clearDates_default:focus,\n .DateRangePickerInput_clearDates_default:hover {\n background: #dbdbdb;\n border-radius: 50%;\n }\n .DateRangePickerInput_clearDates__hide {\n visibility: hidden;\n }\n .DateRangePickerInput_clearDates_svg {\n fill: #82888a;\n height: 12px;\n width: 15px;\n vertical-align: middle;\n }\n .DateRangePickerInput_clearDates_svg__small {\n height: 9px;\n }\n .DateRangePickerInput_calendarIcon {\n background: 0 0;\n border: 0;\n color: inherit;\n font: inherit;\n line-height: normal;\n overflow: visible;\n cursor: pointer;\n display: inline-block;\n vertical-align: middle;\n padding: 10px;\n margin: 0 5px 0 10px;\n }\n .DateRangePickerInput_calendarIcon_svg {\n fill: #82888a;\n height: 15px;\n width: 14px;\n vertical-align: middle;\n }\n .DateRangePicker {\n position: relative;\n display: inline-block;\n }\n .DateRangePicker__block {\n display: block;\n }\n .DateRangePicker_picker {\n z-index: 1;\n background-color: #fff;\n position: absolute;\n width: 100%;\n }\n .DateRangePicker_picker__rtl {\n direction: rtl;\n }\n .DateRangePicker_picker__directionLeft {\n left: 0;\n }\n .DateRangePicker_picker__directionRight {\n right: 0;\n }\n .DateRangePicker_picker__portal {\n background-color: rgba(0, 0, 0, 0.3);\n position: fixed;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n }\n .DateRangePicker_picker__fullScreenPortal {\n background-color: #fff;\n }\n .DateRangePicker_closeButton {\n background: 0 0;\n border: 0;\n color: inherit;\n font: inherit;\n line-height: normal;\n overflow: visible;\n cursor: pointer;\n position: absolute;\n top: 0;\n right: 0;\n padding: 15px;\n z-index: 2;\n }\n .DateRangePicker_closeButton:focus,\n .DateRangePicker_closeButton:hover {\n color: darken(#cacccd, 10%);\n text-decoration: none;\n }\n .DateRangePicker_closeButton_svg {\n height: 15px;\n width: 15px;\n fill: #cacccd;\n }\n\n div.DateRangePicker_picker > div {\n max-width: 560px !important;\n }\n\n div.DayPicker_focusRegion {\n max-width: 560px !important;\n }\n \n div.DayPicker_focusRegion > div {\n max-width: 560px !important;\n display: flex;\n justify-content: space-between;\n }\n div.DayPicker_transitionContainer > div {\n max-width: 560px !important;\n }\n\n div.DayPicker_weekHeader {\n padding: 0 !important;\n }\n div.DayPicker_weekHeaders.DayPicker_weekHeaders_1 > div {\n margin: 0;\n padding: 0;\n display: block;\n width: 100%;\n }\n div.DayPicker_weekHeaders.DayPicker_weekHeaders_1.DayPicker_weekHeaders__horizontal.DayPicker_weekHeaders__horizontal_2\n > div:nth-child(2) {\n left: 270px !important;\n }\n .DayPicker_transitionContainer__vertical_2 > div {\n width: 100% !important;\n }\n @media only screen and (max-width: 480px) {\n .DayPicker_weekHeader_ul {\n list-style: none;\n margin: 1px 0;\n padding-left: 0;\n padding-right: 0;\n display: flex;\n justify-content: space-around;\n }\n\n div.DayPicker_weekHeader__vertical {\n margin: 0 !important;\n left: 0;\n }\n\n div.DayPicker_focusRegion.DayPicker_focusRegion_1 {\n height: 600px;\n ", "\n }\n }\n"], ["\n width: 100%;\n max-width: 560px;\n ", "\n .PresetDateRangePicker_panel {\n padding: 0 22px 11px;\n }\n .PresetDateRangePicker_button {\n position: relative;\n height: 100%;\n text-align: center;\n background: 0 0;\n border: 2px solid #00a699;\n color: #00a699;\n padding: 4px 12px;\n margin-right: 8px;\n font: inherit;\n font-weight: 700;\n line-height: normal;\n overflow: visible;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n cursor: pointer;\n }\n .PresetDateRangePicker_button:active {\n outline: 0;\n }\n .PresetDateRangePicker_button__selected {\n color: #fff;\n background: #00a699;\n }\n .SingleDatePickerInput {\n display: inline-block;\n background-color: #fff;\n }\n .SingleDatePickerInput__withBorder {\n border-radius: 2px;\n border: 1px solid #dbdbdb;\n }\n .SingleDatePickerInput__rtl {\n direction: rtl;\n }\n .SingleDatePickerInput__disabled {\n background-color: #f2f2f2;\n }\n .SingleDatePickerInput__block {\n display: block;\n }\n .SingleDatePickerInput__showClearDate {\n padding-right: 30px;\n }\n .SingleDatePickerInput_clearDate {\n background: 0 0;\n border: 0;\n color: inherit;\n font: inherit;\n line-height: normal;\n overflow: visible;\n cursor: pointer;\n padding: 10px;\n margin: 0 10px 0 5px;\n position: absolute;\n right: 0;\n top: 50%;\n -webkit-transform: translateY(-50%);\n -ms-transform: translateY(-50%);\n transform: translateY(-50%);\n }\n .SingleDatePickerInput_clearDate__default:focus,\n .SingleDatePickerInput_clearDate__default:hover {\n background: #dbdbdb;\n border-radius: 50%;\n }\n .SingleDatePickerInput_clearDate__small {\n padding: 6px;\n }\n .SingleDatePickerInput_clearDate__hide {\n visibility: hidden;\n }\n .SingleDatePickerInput_clearDate_svg {\n fill: #82888a;\n height: 12px;\n width: 15px;\n vertical-align: middle;\n }\n .SingleDatePickerInput_clearDate_svg__small {\n height: 9px;\n }\n .SingleDatePickerInput_calendarIcon {\n background: 0 0;\n border: 0;\n color: inherit;\n font: inherit;\n line-height: normal;\n overflow: visible;\n cursor: pointer;\n display: inline-block;\n vertical-align: middle;\n padding: 10px;\n margin: 0 5px 0 10px;\n }\n .SingleDatePickerInput_calendarIcon_svg {\n fill: #82888a;\n height: 15px;\n width: 14px;\n vertical-align: middle;\n }\n .SingleDatePicker {\n position: relative;\n display: inline-block;\n }\n .SingleDatePicker__block {\n display: block;\n }\n .SingleDatePicker_picker {\n z-index: 1;\n background-color: #fff;\n position: absolute;\n }\n .SingleDatePicker_picker__rtl {\n direction: rtl;\n }\n .SingleDatePicker_picker__directionLeft {\n left: 0;\n }\n .SingleDatePicker_picker__directionRight {\n right: 0;\n }\n .SingleDatePicker_picker__portal {\n background-color: rgba(0, 0, 0, 0.3);\n position: fixed;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n }\n .SingleDatePicker_picker__fullScreenPortal {\n background-color: #fff;\n }\n .SingleDatePicker_closeButton {\n background: 0 0;\n border: 0;\n color: inherit;\n font: inherit;\n line-height: normal;\n overflow: visible;\n cursor: pointer;\n position: absolute;\n top: 0;\n right: 0;\n padding: 15px;\n z-index: 2;\n }\n .SingleDatePicker_closeButton:focus,\n .SingleDatePicker_closeButton:hover {\n color: darken(#cacccd, 10%);\n text-decoration: none;\n }\n .SingleDatePicker_closeButton_svg {\n height: 15px;\n width: 15px;\n fill: #cacccd;\n }\n .DayPickerKeyboardShortcuts_buttonReset {\n background: 0 0;\n border: 0;\n border-radius: 0;\n color: inherit;\n font: inherit;\n line-height: normal;\n overflow: visible;\n padding: 0;\n cursor: pointer;\n font-size: 14px;\n display: none;\n }\n .DayPickerKeyboardShortcuts_buttonReset:active {\n outline: 0;\n }\n .DayPickerKeyboardShortcuts_show {\n width: 33px;\n height: 26px;\n position: absolute;\n z-index: 2;\n }\n .DayPickerKeyboardShortcuts_show::before {\n content: '';\n display: block;\n position: absolute;\n }\n .DayPickerKeyboardShortcuts_show__bottomRight {\n bottom: 0;\n right: 0;\n }\n .DayPickerKeyboardShortcuts_show__bottomRight::before {\n border-top: 26px solid transparent;\n border-right: 33px solid #00a699;\n bottom: 0;\n right: 0;\n }\n .DayPickerKeyboardShortcuts_show__bottomRight:hover::before {\n border-right: 33px solid #008489;\n }\n .DayPickerKeyboardShortcuts_show__topRight {\n top: 0;\n right: 0;\n }\n .DayPickerKeyboardShortcuts_show__topRight::before {\n border-bottom: 26px solid transparent;\n border-right: 33px solid #00a699;\n top: 0;\n right: 0;\n }\n .DayPickerKeyboardShortcuts_show__topRight:hover::before {\n border-right: 33px solid #008489;\n }\n .DayPickerKeyboardShortcuts_show__topLeft {\n top: 0;\n left: 0;\n }\n .DayPickerKeyboardShortcuts_show__topLeft::before {\n border-bottom: 26px solid transparent;\n border-left: 33px solid #00a699;\n top: 0;\n left: 0;\n }\n .DayPickerKeyboardShortcuts_show__topLeft:hover::before {\n border-left: 33px solid #008489;\n }\n .DayPickerKeyboardShortcuts_showSpan {\n color: #fff;\n position: absolute;\n }\n .DayPickerKeyboardShortcuts_showSpan__bottomRight {\n bottom: 0;\n right: 5px;\n }\n .DayPickerKeyboardShortcuts_showSpan__topRight {\n top: 1px;\n right: 5px;\n }\n .DayPickerKeyboardShortcuts_showSpan__topLeft {\n top: 1px;\n left: 5px;\n }\n .DayPickerKeyboardShortcuts_panel {\n overflow: auto;\n background: #fff;\n border: 1px solid #dbdbdb;\n border-radius: 2px;\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 2;\n padding: 22px;\n margin: 33px;\n text-align: left;\n }\n .DayPickerKeyboardShortcuts_title {\n font-size: 16px;\n font-weight: 700;\n margin: 0;\n }\n .DayPickerKeyboardShortcuts_list {\n list-style: none;\n padding: 0;\n font-size: 14px;\n }\n .DayPickerKeyboardShortcuts_close {\n position: absolute;\n right: 22px;\n top: 22px;\n z-index: 2;\n }\n .DayPickerKeyboardShortcuts_close:active {\n outline: 0;\n }\n .DayPickerKeyboardShortcuts_closeSvg {\n height: 15px;\n width: 15px;\n fill: #cacccd;\n }\n .DayPickerKeyboardShortcuts_closeSvg:focus,\n .DayPickerKeyboardShortcuts_closeSvg:hover {\n fill: #82888a;\n }\n .CalendarDay {\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n cursor: pointer;\n font-size: 14px;\n text-align: center;\n ", "\n }\n .CalendarDay:active {\n outline: 0;\n }\n .CalendarDay__defaultCursor {\n cursor: default;\n }\n .CalendarDay__default {\n border: 0;\n ", "\n ", "\n }\n .CalendarDay__default:hover {\n ", "\n border: 0;\n color: inherit;\n }\n .CalendarDay__hovered_offset {\n background: #f4f5f5;\n border: 1px double #e4e7e7;\n color: inherit;\n }\n .CalendarDay__outside {\n border: 0;\n background: #fff;\n color: #484848;\n }\n .CalendarDay__outside:hover {\n border: 0;\n }\n .CalendarDay__blocked_minimum_nights {\n background: #fff;\n border: 1px solid #eceeee;\n color: #cacccd;\n }\n .CalendarDay__blocked_minimum_nights:active,\n .CalendarDay__blocked_minimum_nights:hover {\n background: #fff;\n color: #cacccd;\n }\n .CalendarDay__highlighted_calendar {\n background: #ffe8bc;\n color: #484848;\n }\n .CalendarDay__highlighted_calendar:active,\n .CalendarDay__highlighted_calendar:hover {\n background: #ffce71;\n color: #484848;\n }\n .CalendarDay__selected_span {\n ", "\n border: none;\n ", "\n }\n .CalendarDay__selected_span:active,\n .CalendarDay__selected_span:hover {\n ", "\n border: none;\n ", "\n }\n .CalendarDay__selected,\n .CalendarDay__selected:active,\n .CalendarDay__selected:hover {\n ", "\n border: none;\n ", "\n }\n .CalendarDay__hovered_span,\n .CalendarDay__hovered_span:hover {\n ", "\n border: none;\n \n ", "\n }\n .CalendarDay__hovered_span:active {\n background: #80e8e0;\n ", "\n border: none;\n color: #007a87;\n }\n .CalendarDay__blocked_calendar,\n .CalendarDay__blocked_calendar:active,\n .CalendarDay__blocked_calendar:hover {\n border: 0;\n ", "\n }\n .CalendarDay__blocked_out_of_range,\n .CalendarDay__blocked_out_of_range:active,\n .CalendarDay__blocked_out_of_range:hover {\n background: #fff;\n border: 0;\n ", "\n ", "\n }\n .CalendarDay__hovered_start_first_possible_end {\n background: #eceeee;\n border: 1px double #eceeee;\n }\n .CalendarDay__hovered_start_blocked_min_nights {\n background: #eceeee;\n border: 1px double #e4e7e7;\n }\n .CalendarMonth {\n background: #fff;\n text-align: center;\n vertical-align: top;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n padding: 0 !important;\n width; 100%;\n }\n .CalendarMonth_table {\n border-collapse: collapse;\n border-spacing: 0;\n width: 100%;\n max-width: 100%;\n }\n .CalendarMonth_verticalSpacing {\n border-collapse: separate;\n }\n .CalendarMonth_caption {\n ", "\n ", "\n width: 100%;\n text-align: center;\n padding-top: 22px;\n padding-bottom: 37px;\n caption-side: initial;\n }\n .CalendarMonth_caption__verticalScrollable {\n padding-top: 12px;\n padding-bottom: 7px;\n }\n .CalendarMonthGrid {\n ", "\n ", "\n text-align: left;\n z-index: 0;\n }\n .CalendarMonthGrid__animating {\n z-index: 1;\n }\n .CalendarMonthGrid__horizontal {\n position: absolute;\n left: 0px;\n margin: 4px;\n }\n .CalendarMonthGrid__vertical,\n .CalendarMonthGrid__vertical_scrollable {\n margin: 0 auto;\n }\n .CalendarMonthGrid_month__horizontal {\n display: inline-block;\n vertical-align: top;\n min-height: 100%;\n }\n .CalendarMonthGrid_month__hideForAnimation {\n position: absolute;\n z-index: -1;\n opacity: 0;\n pointer-events: none;\n }\n .CalendarMonthGrid_month__hidden {\n visibility: hidden;\n }\n .DayPickerNavigation {\n display: flex;\n justify-items: space-between;\n position: relative;\n z-index: 2;\n }\n .DayPickerNavigation__horizontal {\n max-width: 560px;\n height: 0;\n }\n .DayPickerNavigation__verticalScrollable_prevNav {\n z-index: 1;\n }\n .DayPickerNavigation__verticalDefault {\n position: absolute;\n width: 100%;\n height: 52px;\n bottom: -72px;\n left: 0;\n }\n .DayPickerNavigation__verticalScrollableDefault {\n position: relative;\n }\n .DayPickerNavigation__bottom {\n height: auto;\n }\n .DayPickerNavigation__bottomDefault {\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n display: -webkit-box;\n display: -moz-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -webkit-justify-content: space-between;\n justify-content: space-between;\n }\n .DayPickerNavigation_button {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n padding: 0;\n margin: 0;\n }\n .DayPickerNavigation_button__default {\n border: 0;\n background-color: #fff;\n ", "\n }\n .DayPickerNavigation_button__default:focus,\n .DayPickerNavigation_button__default:hover {\n border: 0;\n }\n .DayPickerNavigation_button__default:active {\n background: #f2f2f2;\n }\n .DayPickerNavigation_button__disabled {\n cursor: default;\n border: 1px solid #f2f2f2;\n }\n .DayPickerNavigation_button__disabled:focus,\n .DayPickerNavigation_button__disabled:hover {\n border: 1px solid #f2f2f2;\n }\n .DayPickerNavigation_button__disabled:active {\n background: 0 0;\n }\n .DayPickerNavigation_button__horizontalDefault {\n position: absolute;\n top: 18px;\n line-height: 0.78;\n border-radius: 3px;\n padding: 9px;\n }\n .DayPickerNavigation_bottomButton__horizontalDefault {\n position: static;\n margin: -10px 22px 30px;\n }\n .DayPickerNavigation_leftButton__horizontalDefault {\n left: 10px;\n }\n .DayPickerNavigation_rightButton__horizontalDefault {\n right: 18px;\n }\n .DayPickerNavigation_button__verticalDefault {\n background: #fff;\n box-shadow: none;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 45%;\n padding: 8px 12px;\n \n ", "\n }\n .DayPickerNavigation_nextButton__verticalDefault {\n ", "\n ", "\n }\n .DayPickerNavigation_nextButton__verticalScrollableDefault,\n .DayPickerNavigation_prevButton__verticalScrollableDefault {\n width: 100%;\n }\n .DayPickerNavigation_svg__horizontal {\n height: 19px;\n width: 19px;\n display: block;\n ", "\n }\n .DayPickerNavigation_svg__vertical {\n ", "\n ", "\n ", "\n }\n .DayPickerNavigation_svg__disabled {\n fill: #f2f2f2;\n }\n .DayPicker {\n background: #fff;\n position: relative;\n text-align: left;\n }\n .DayPicker__horizontal {\n background: #fff;\n }\n .DayPicker__verticalScrollable {\n height: 100%;\n }\n .DayPicker__hidden {\n visibility: hidden;\n }\n .DayPicker__withBorder {\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.07);\n ", "\n \n }\n .DayPicker_portal__horizontal {\n box-shadow: none;\n position: absolute;\n left: 50%;\n top: 50%;\n }\n .DayPicker_portal__vertical {\n position: initial;\n }\n .DayPicker_focusRegion {\n outline: 0;\n }\n .DayPicker_calendarInfo__horizontal,\n .DayPicker_wrapper__horizontal {\n display: inline-block;\n vertical-align: top;\n }\n .DayPicker_weekHeaders {\n ", "\n position: relative;\n }\n .DayPicker_weekHeaders__horizontal {\n margin-left: 9px;\n }\n .DayPicker_weekHeader {\n color: #757575;\n position: absolute;\n top: 62px;\n z-index: 2;\n text-align: left;\n }\n .DayPicker_weekHeader__vertical {\n display: block;\n }\n .DayPicker_weekHeader__verticalScrollable {\n top: 0;\n display: table-row;\n border-bottom: 1px solid #dbdbdb;\n background: #fff;\n margin-left: 0;\n left: 0;\n width: 100%;\n text-align: center;\n }\n .DayPicker_weekHeader_ul {\n list-style: none;\n margin: 1px 0;\n padding-left: 0;\n padding-right: 0;\n ", "\n }\n .DayPicker_weekHeader_li {\n display: inline-block;\n text-align: center;\n }\n .DayPicker_transitionContainer {\n position: relative;\n overflow: hidden;\n border-radius: 3px;\n ", "\n max-width: 87%;\n }\n .DayPicker_transitionContainer__horizontal {\n -webkit-transition: height 0.2s ease-in-out;\n -moz-transition: height 0.2s ease-in-out;\n transition: height 0.2s ease-in-out;\n }\n .DayPicker_transitionContainer__vertical {\n min-height: 100%;\n }\n .DayPicker_transitionContainer__verticalScrollable {\n padding-top: 20px;\n height: 100%;\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n overflow-y: scroll;\n }\n .DateInput {\n margin: 0;\n background: #fff;\n position: relative;\n display: inline-block;\n width: 50%;\n vertical-align: middle;\n }\n .DateInput__small {\n width: 97px;\n }\n .DateInput__block {\n box-sizing: border-box;\n width: 100%;\n }\n .DateInput__disabled {\n background: #f2f2f2;\n color: #dbdbdb;\n }\n .DateInput_input {\n box-sizing: border-box;\n diplay: block;\n width: 100%;\n ", "\n ", "\n ", "\n ", "\n }\n .DateInput_input__small {\n font-size: 15px;\n line-height: 18px;\n letter-spacing: 0.2px;\n padding: 7px 7px 5px;\n }\n .DateInput_input__regular {\n font-weight: auto;\n }\n .DateInput_input__readOnly {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n .DateInput_input__focused {\n width: 100%;\n outline: 0;\n background: #fff;\n\n }\n .DateInput_input__disabled {\n background: #f2f2f2;\n font-style: italic;\n }\n .DateInput_screenReaderMessage {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n }\n .DateInput_fang {\n position: absolute;\n width: 20px;\n height: 10px;\n left: 22px;\n z-index: 2;\n }\n .DateInput_fangShape {\n fill: #fff;\n }\n .DateInput_fangStroke {\n stroke: #dbdbdb;\n fill: transparent;\n }\n .DateRangePickerInput {\n ", "\n background-color: #fff;\n display: inline-block;\n }\n .DateRangePickerInput__disabled {\n background: #f2f2f2;\n }\n .DateRangePickerInput__withBorder {\n border-radius: 2px;\n border: 1px solid #dbdbdb;\n }\n .DateRangePickerInput__rtl {\n direction: rtl;\n }\n .DateRangePickerInput__block {\n display: flex;\n width: 100%;\n justify-content: space-between;\n align-items: center;\n }\n .DateRangePickerInput__showClearDates {\n padding-right: 30px;\n }\n .DateRangePickerInput_arrow {\n display: inline-block;\n vertical-align: middle;\n ", "\n ", "\n ", "\n }\n .DateRangePickerInput_arrow_svg {\n vertical-align: middle;\n ", "\n height: 24px;\n width: 24px;\n }\n .DateRangePickerInput_clearDates {\n background: 0 0;\n border: 0;\n color: inherit;\n font: inherit;\n line-height: normal;\n overflow: visible;\n cursor: pointer;\n padding: 10px;\n margin: 0 10px 0 5px;\n position: absolute;\n right: 0;\n top: 50%;\n -webkit-transform: translateY(-50%);\n -ms-transform: translateY(-50%);\n transform: translateY(-50%);\n }\n .DateRangePickerInput_clearDates__small {\n padding: 6px;\n }\n .DateRangePickerInput_clearDates_default:focus,\n .DateRangePickerInput_clearDates_default:hover {\n background: #dbdbdb;\n border-radius: 50%;\n }\n .DateRangePickerInput_clearDates__hide {\n visibility: hidden;\n }\n .DateRangePickerInput_clearDates_svg {\n fill: #82888a;\n height: 12px;\n width: 15px;\n vertical-align: middle;\n }\n .DateRangePickerInput_clearDates_svg__small {\n height: 9px;\n }\n .DateRangePickerInput_calendarIcon {\n background: 0 0;\n border: 0;\n color: inherit;\n font: inherit;\n line-height: normal;\n overflow: visible;\n cursor: pointer;\n display: inline-block;\n vertical-align: middle;\n padding: 10px;\n margin: 0 5px 0 10px;\n }\n .DateRangePickerInput_calendarIcon_svg {\n fill: #82888a;\n height: 15px;\n width: 14px;\n vertical-align: middle;\n }\n .DateRangePicker {\n position: relative;\n display: inline-block;\n }\n .DateRangePicker__block {\n display: block;\n }\n .DateRangePicker_picker {\n z-index: 1;\n background-color: #fff;\n position: absolute;\n width: 100%;\n }\n .DateRangePicker_picker__rtl {\n direction: rtl;\n }\n .DateRangePicker_picker__directionLeft {\n left: 0;\n }\n .DateRangePicker_picker__directionRight {\n right: 0;\n }\n .DateRangePicker_picker__portal {\n background-color: rgba(0, 0, 0, 0.3);\n position: fixed;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n }\n .DateRangePicker_picker__fullScreenPortal {\n background-color: #fff;\n }\n .DateRangePicker_closeButton {\n background: 0 0;\n border: 0;\n color: inherit;\n font: inherit;\n line-height: normal;\n overflow: visible;\n cursor: pointer;\n position: absolute;\n top: 0;\n right: 0;\n padding: 15px;\n z-index: 2;\n }\n .DateRangePicker_closeButton:focus,\n .DateRangePicker_closeButton:hover {\n color: darken(#cacccd, 10%);\n text-decoration: none;\n }\n .DateRangePicker_closeButton_svg {\n height: 15px;\n width: 15px;\n fill: #cacccd;\n }\n\n div.DateRangePicker_picker > div {\n max-width: 560px !important;\n }\n\n div.DayPicker_focusRegion {\n max-width: 560px !important;\n }\n \n div.DayPicker_focusRegion > div {\n max-width: 560px !important;\n display: flex;\n justify-content: space-between;\n }\n div.DayPicker_transitionContainer > div {\n max-width: 560px !important;\n }\n\n div.DayPicker_weekHeader {\n padding: 0 !important;\n }\n div.DayPicker_weekHeaders.DayPicker_weekHeaders_1 > div {\n margin: 0;\n padding: 0;\n display: block;\n width: 100%;\n }\n div.DayPicker_weekHeaders.DayPicker_weekHeaders_1.DayPicker_weekHeaders__horizontal.DayPicker_weekHeaders__horizontal_2\n > div:nth-child(2) {\n left: 270px !important;\n }\n .DayPicker_transitionContainer__vertical_2 > div {\n width: 100% !important;\n }\n @media only screen and (max-width: 480px) {\n .DayPicker_weekHeader_ul {\n list-style: none;\n margin: 1px 0;\n padding-left: 0;\n padding-right: 0;\n display: flex;\n justify-content: space-around;\n }\n\n div.DayPicker_weekHeader__vertical {\n margin: 0 !important;\n left: 0;\n }\n\n div.DayPicker_focusRegion.DayPicker_focusRegion_1 {\n height: 600px;\n ", "\n }\n }\n"])), function (_a) {
|
|
7
|
+
var calendar = _a.calendar;
|
|
8
|
+
return getTypographyPresetFromTheme(calendar.typographyPreset);
|
|
9
|
+
}, function (_a) {
|
|
10
|
+
var calendar = _a.calendar;
|
|
11
|
+
return getTypographyPresetFromTheme(calendar.day.typographyPreset);
|
|
12
|
+
}, function (_a) {
|
|
13
|
+
var calendar = _a.calendar;
|
|
14
|
+
return getColorCssFromTheme('color', calendar.day.color);
|
|
15
|
+
}, function (_a) {
|
|
16
|
+
var calendar = _a.calendar;
|
|
17
|
+
return getColorCssFromTheme('backgroundColor', calendar.day.backgroundColor);
|
|
18
|
+
}, function (_a) {
|
|
19
|
+
var calendar = _a.calendar;
|
|
20
|
+
return getColorCssFromTheme('backgroundColor', calendar.day.hover.backgroundColor);
|
|
21
|
+
}, function (_a) {
|
|
22
|
+
var calendar = _a.calendar;
|
|
23
|
+
return getColorCssFromTheme('backgroundColor', calendar.day.selected.backgroundColor);
|
|
24
|
+
}, function (_a) {
|
|
25
|
+
var calendar = _a.calendar;
|
|
26
|
+
return getColorCssFromTheme('color', calendar.day.selected.color);
|
|
27
|
+
}, function (_a) {
|
|
28
|
+
var calendar = _a.calendar;
|
|
29
|
+
return getColorCssFromTheme('backgroundColor', calendar.day.span.hover.active.backgroundColor);
|
|
30
|
+
}, function (_a) {
|
|
31
|
+
var calendar = _a.calendar;
|
|
32
|
+
return getColorCssFromTheme('color', calendar.day.span.selected.active.hover.color);
|
|
33
|
+
}, function (_a) {
|
|
34
|
+
var calendar = _a.calendar;
|
|
35
|
+
return getColorCssFromTheme('backgroundColor', calendar.day.selected.active.hover.backgroundColor);
|
|
36
|
+
}, getColorCssFromTheme('color', 'inkInverse'), function (_a) {
|
|
37
|
+
var calendar = _a.calendar;
|
|
38
|
+
return getColorCssFromTheme('backgroundColor', calendar.day.span.hover.backgroundColor);
|
|
39
|
+
}, function (_a) {
|
|
40
|
+
var calendar = _a.calendar;
|
|
41
|
+
return getColorCssFromTheme('color', calendar.day.span.hover.color);
|
|
42
|
+
}, function (_a) {
|
|
43
|
+
var calendar = _a.calendar;
|
|
44
|
+
return getColorCssFromTheme('backgroundColor', calendar.day.span.hover.active.backgroundColor);
|
|
45
|
+
}, function (_a) {
|
|
46
|
+
var calendar = _a.calendar;
|
|
47
|
+
return getColorCssFromTheme('color', calendar.day.blocked.color);
|
|
48
|
+
}, function (_a) {
|
|
49
|
+
var calendar = _a.calendar;
|
|
50
|
+
return getTypographyPresetFromTheme(calendar.day.typographyPreset);
|
|
51
|
+
}, function (_a) {
|
|
52
|
+
var calendar = _a.calendar;
|
|
53
|
+
return getColorCssFromTheme('color', calendar.day.blocked.color);
|
|
54
|
+
}, function (_a) {
|
|
55
|
+
var calendar = _a.calendar;
|
|
56
|
+
return getTypographyPresetFromTheme(calendar.month.headers.typographyPreset);
|
|
57
|
+
}, function (_a) {
|
|
58
|
+
var calendar = _a.calendar;
|
|
59
|
+
return getColorCssFromTheme('color', calendar.month.headers.color);
|
|
60
|
+
}, getTypographyPresetFromTheme('utilityBody020'), getColorCssFromTheme('backgroundColor', 'inkInverse'), function (_a) {
|
|
61
|
+
var calendar = _a.calendar;
|
|
62
|
+
return getColorCssFromTheme('color', calendar.month.navigation.default.stylePreset);
|
|
63
|
+
}, function (_a) {
|
|
64
|
+
var calendar = _a.calendar;
|
|
65
|
+
return getStylePresetFromTheme(calendar.month.navigation.default.stylePreset);
|
|
66
|
+
}, function (_a) {
|
|
67
|
+
var calendar = _a.calendar;
|
|
68
|
+
return getSpacingCssFromTheme('marginLeft', calendar.month.navigation.vertical.buttons.next);
|
|
69
|
+
}, function (_a) {
|
|
70
|
+
var calendar = _a.calendar;
|
|
71
|
+
return getStylePresetFromTheme(calendar.month.navigation.default.stylePreset);
|
|
72
|
+
}, function (_a) {
|
|
73
|
+
var calendar = _a.calendar;
|
|
74
|
+
return getColorCssFromTheme('fill', calendar.month.navigation.icons.svg.left.fill);
|
|
75
|
+
}, function (_a) {
|
|
76
|
+
var calendar = _a.calendar;
|
|
77
|
+
return getSizingCssFromTheme('height', calendar.month.navigation.icons.svg.vertical.height);
|
|
78
|
+
}, function (_a) {
|
|
79
|
+
var calendar = _a.calendar;
|
|
80
|
+
return getSizingCssFromTheme('width', calendar.month.navigation.icons.svg.vertical.width);
|
|
81
|
+
}, function (_a) {
|
|
82
|
+
var calendar = _a.calendar;
|
|
83
|
+
return getColorCssFromTheme('fill', calendar.month.navigation.icons.svg.vertical.fill);
|
|
84
|
+
}, function (_a) {
|
|
85
|
+
var calendar = _a.calendar;
|
|
86
|
+
return getStylePresetFromTheme(calendar.borders.stylePreset);
|
|
87
|
+
}, function (_a) {
|
|
88
|
+
var calendar = _a.calendar;
|
|
89
|
+
return getTypographyPresetFromTheme(calendar.week.headers.typographyPreset);
|
|
90
|
+
}, function (_a) {
|
|
91
|
+
var calendar = _a.calendar;
|
|
92
|
+
return getTypographyPresetFromTheme(calendar.week.headers.typographyPreset);
|
|
93
|
+
}, function (_a) {
|
|
94
|
+
var calendar = _a.calendar;
|
|
95
|
+
return getBorderCssFromTheme('borderRadius', calendar.transitionContainer.borders.stylePreset);
|
|
96
|
+
}, function (_a) {
|
|
97
|
+
var calendar = _a.calendar;
|
|
98
|
+
return getTypographyPresetFromTheme(calendar.inputs.typographyPreset);
|
|
99
|
+
}, function (_a) {
|
|
100
|
+
var calendar = _a.calendar;
|
|
101
|
+
return getColorCssFromTheme('backgroundColor', calendar.inputs.colors.backgroundColor);
|
|
102
|
+
}, function (_a) {
|
|
103
|
+
var calendar = _a.calendar;
|
|
104
|
+
return getSizingCssFromTheme('padding', calendar.inputs.spacing.padding);
|
|
105
|
+
}, function (_a) {
|
|
106
|
+
var calendar = _a.calendar;
|
|
107
|
+
return getStylePresetFromTheme(calendar.inputs.borders.stylePreset);
|
|
108
|
+
}, function (_a) {
|
|
109
|
+
var calendar = _a.calendar;
|
|
110
|
+
return getTypographyPresetFromTheme(calendar.inputs.typographyPreset);
|
|
111
|
+
}, function (_a) {
|
|
112
|
+
var calendar = _a.calendar;
|
|
113
|
+
return getColorCssFromTheme('color', calendar.inputs.colors.color);
|
|
114
|
+
}, function (_a) {
|
|
115
|
+
var calendar = _a.calendar;
|
|
116
|
+
return getSpacingCssFromTheme('marginLeft', calendar.inputs.spacing.marginLeft);
|
|
117
|
+
}, function (_a) {
|
|
118
|
+
var calendar = _a.calendar;
|
|
119
|
+
return getSpacingCssFromTheme('marginRight', calendar.inputs.spacing.marginRight);
|
|
120
|
+
}, function (_a) {
|
|
121
|
+
var calendar = _a.calendar;
|
|
122
|
+
return getColorCssFromTheme('fill', calendar.inputs.colors.fill);
|
|
123
|
+
}, function (_a) {
|
|
124
|
+
var calendar = _a.calendar;
|
|
125
|
+
return getStylePresetFromTheme(calendar.borders.stylePreset);
|
|
126
|
+
});
|
|
127
|
+
var templateObject_1;
|
|
128
|
+
//# sourceMappingURL=CalendarStylesTheme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarStylesTheme.js","sourceRoot":"","sources":["../../../src/Calendar/CalendarStylesTheme.tsx"],"names":[],"mappings":";;;;AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,4BAA4B,EAC5B,MAAM,GACP,MAAM,SAAS,CAAA;AAGhB,MAAM,CAAC,IAAM,cAAc,GAAG,MAAM,CAAC,GAAG,mrqBAAqB,2CAGzD,EAAyE,uoNAmSvE,EAC2D,mKAU3D,EAAmE,QACnE,EACqE,8CAGrE,EAIC,o1BAqCD,EAIC,2BAED,EAC0D,2FAI1D,EAIC,2BAED,EAIC,4GAKD,EAIC,2BAED,EAA2C,kFAI3C,EAIC,+BAGD,EAC4D,8EAI5D,EAIC,4LAQD,EACyD,uLAOzD,EAC2D,QAC3D,EACyD,2tBA+BzD,EACqE,QACrE,EAC2D,sQAY3D,EAA8C,QAC9C,EAAqD,iyDA+ErD,EAIC,srCA+CD,EACsE,mEAGtE,EAIC,QACD,EACsE,uQAUtE,EAIC,qDAGD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ylePreset: 'calendarBorderStyle',
|
|
6
|
+
},
|
|
7
|
+
transitionContainer: {
|
|
8
|
+
borders: {
|
|
9
|
+
stylePreset: 'calendarBorderStyle',
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
day: {
|
|
13
|
+
color: 'inkBase',
|
|
14
|
+
backgroundColor: 'interface010',
|
|
15
|
+
typographyPreset: 'utilityBody020',
|
|
16
|
+
hover: {
|
|
17
|
+
backgroundColor: 'interface010',
|
|
18
|
+
},
|
|
19
|
+
selected: {
|
|
20
|
+
color: 'inkBase',
|
|
21
|
+
backgroundColor: 'interactivePrimary010',
|
|
22
|
+
active: {
|
|
23
|
+
hover: {
|
|
24
|
+
color: 'inkInverse',
|
|
25
|
+
backgroundColor: 'interactivePrimary030',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
blocked: {
|
|
30
|
+
color: 'interface040',
|
|
31
|
+
outOfRange: {
|
|
32
|
+
color: 'interface040',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
span: {
|
|
36
|
+
color: 'inkBase',
|
|
37
|
+
backgroundColor: 'interactivePrimary010',
|
|
38
|
+
selected: {
|
|
39
|
+
active: {
|
|
40
|
+
hover: {
|
|
41
|
+
color: 'inkBase',
|
|
42
|
+
backgroundColor: 'interactivePrimary030',
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
hover: {
|
|
47
|
+
backgroundColor: 'interactivePrimary010',
|
|
48
|
+
color: 'inkBase',
|
|
49
|
+
active: {
|
|
50
|
+
backgroundColor: 'interactivePrimary030',
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
week: {
|
|
56
|
+
headers: {
|
|
57
|
+
typographyPreset: 'utilityBody020',
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
month: {
|
|
61
|
+
headers: {
|
|
62
|
+
typographyPreset: 'utilityHeading020',
|
|
63
|
+
color: 'utilityBody020',
|
|
64
|
+
},
|
|
65
|
+
navigation: {
|
|
66
|
+
default: {
|
|
67
|
+
stylePreset: 'monthNavigationButtons',
|
|
68
|
+
},
|
|
69
|
+
vertical: {
|
|
70
|
+
buttons: {
|
|
71
|
+
next: 'space020',
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
icons: {
|
|
75
|
+
stylePreset: 'iconCustom',
|
|
76
|
+
svg: {
|
|
77
|
+
left: {
|
|
78
|
+
fill: 'inkBase',
|
|
79
|
+
},
|
|
80
|
+
vertical: {
|
|
81
|
+
width: 'sizing040',
|
|
82
|
+
height: 'sizing040',
|
|
83
|
+
fill: 'inkBase',
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
inputs: {
|
|
90
|
+
typographyPreset: '',
|
|
91
|
+
colors: {
|
|
92
|
+
color: 'inkBase',
|
|
93
|
+
fill: 'inkBase',
|
|
94
|
+
backgroundColor: 'interfaceBackground',
|
|
95
|
+
},
|
|
96
|
+
spacing: {
|
|
97
|
+
marginLeft: 'space020',
|
|
98
|
+
marginRight: 'space020',
|
|
99
|
+
padding: 'sizing030',
|
|
100
|
+
},
|
|
101
|
+
sizing: {
|
|
102
|
+
width: '',
|
|
103
|
+
},
|
|
104
|
+
borders: {
|
|
105
|
+
stylePreset: 'dateInputStylePreset',
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
};
|
|
110
|
+
//# sourceMappingURL=defaults.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../src/Calendar/defaults.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,IAAM,gBAAgB,GAAwB;IACnD,QAAQ,EAAE;QACR,gBAAgB,EAAE,gBAAgB;QAClC,OAAO,EAAE;YACP,WAAW,EAAE,qBAAqB;SACnC;QACD,mBAAmB,EAAE;YACnB,OAAO,EAA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