@newskit-render/shared-components 1.4.0 → 1.5.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
package/README.md
CHANGED
|
@@ -44,3 +44,126 @@ linkText: 'here',
|
|
|
44
44
|
|
|
45
45
|
},
|
|
46
46
|
```
|
|
47
|
+
|
|
48
|
+
# Calendar
|
|
49
|
+
|
|
50
|
+
This component is based on the Airbnb's react-dates calendar picker, enhanced with the ablity to be customized by using newskit design tokens. The end user can select a range of dates.
|
|
51
|
+
The components accepts the following arguments:
|
|
52
|
+
|
|
53
|
+
- overrides?: CalendarStylesProps | optional. If not passed, the Calendar will use the default values. This prop is used to override the style of the calendar and has the following shape:
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
interface CalendarStylesProps {
|
|
57
|
+
calendar: {
|
|
58
|
+
typographyPreset: string // sets the global typography preset for the component
|
|
59
|
+
borders: {
|
|
60
|
+
stylePreset: string //defines the border style for the calendar; this border surrounds both/all months
|
|
61
|
+
}
|
|
62
|
+
transitionContainer: {
|
|
63
|
+
borders: {
|
|
64
|
+
stylePreset: string //this container comes from 'react-dates' and the same style preset as above is needed here
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
day: { // defines the styles for the individual days and the different states they can be in.
|
|
68
|
+
color: string
|
|
69
|
+
backgroundColor: string
|
|
70
|
+
typographyPreset: string
|
|
71
|
+
hover: {
|
|
72
|
+
backgroundColor: string
|
|
73
|
+
}
|
|
74
|
+
selected: {
|
|
75
|
+
color: string
|
|
76
|
+
backgroundColor: string
|
|
77
|
+
active: {
|
|
78
|
+
hover: {
|
|
79
|
+
color: string
|
|
80
|
+
backgroundColor: string
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
blocked: {
|
|
85
|
+
color: string
|
|
86
|
+
outOfRange: {
|
|
87
|
+
color: string
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
span: { //when we have selected dates and reopen the calendar, these styles apply for the days
|
|
91
|
+
color: string
|
|
92
|
+
backgroundColor: string
|
|
93
|
+
selected: {
|
|
94
|
+
active: {
|
|
95
|
+
hover: {
|
|
96
|
+
color: string
|
|
97
|
+
backgroundColor: string
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
hover: {
|
|
102
|
+
color: string
|
|
103
|
+
backgroundColor: string
|
|
104
|
+
active: {
|
|
105
|
+
backgroundColor: string
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
week: {
|
|
111
|
+
headers: { //styles for the names of the days of the week
|
|
112
|
+
typographyPreset: string
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
month: {
|
|
116
|
+
headers: { // style the names of the months and the arrows and buttons that serve as navigation between months
|
|
117
|
+
typographyPreset: string
|
|
118
|
+
color: string
|
|
119
|
+
}
|
|
120
|
+
navigation: {
|
|
121
|
+
default: {
|
|
122
|
+
stylePreset: string
|
|
123
|
+
}
|
|
124
|
+
vertical: {
|
|
125
|
+
buttons: {
|
|
126
|
+
next: string
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
icons: {
|
|
130
|
+
stylePreset: string
|
|
131
|
+
svg: {
|
|
132
|
+
left: {
|
|
133
|
+
fill: string
|
|
134
|
+
}
|
|
135
|
+
vertical: {
|
|
136
|
+
width: string
|
|
137
|
+
height: string
|
|
138
|
+
fill: string
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
inputs: { // sets the syles for the input fields that are used for the start and end dates
|
|
145
|
+
typographyPreset: string
|
|
146
|
+
colors: {
|
|
147
|
+
color: string
|
|
148
|
+
fill: string
|
|
149
|
+
backgroundColor: string
|
|
150
|
+
}
|
|
151
|
+
spacing: {
|
|
152
|
+
marginLeft: string
|
|
153
|
+
marginRight: string
|
|
154
|
+
padding: string
|
|
155
|
+
}
|
|
156
|
+
sizing: {
|
|
157
|
+
width: string
|
|
158
|
+
}
|
|
159
|
+
borders: {
|
|
160
|
+
stylePreset: string
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
- startDate: Date | null | mandatory. Passed by a parent component or a hook, in order to be accessible for further use.
|
|
168
|
+
- endDate: Date | null | mandatory. Passed by a parent component or a hook, in order to be accessible for further use.
|
|
169
|
+
- setDates: (start: null | Date, end: null | Date) => void | mandatory. Passed by a parent component or a hook, in order to set the two dates above. This is most likely to be a setState() hook, but any function that manages state and returns void is valid.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.Calendar = void 0;
|
|
38
|
+
var react_1 = __importStar(require("react"));
|
|
39
|
+
var react_dates_1 = require("react-dates");
|
|
40
|
+
require("react-dates/initialize");
|
|
41
|
+
var ChevronRight_1 = require("@emotion-icons/material/ChevronRight");
|
|
42
|
+
var newskit_1 = require("newskit");
|
|
43
|
+
var CalendarStylesTheme_1 = require("./CalendarStylesTheme");
|
|
44
|
+
var defaults_1 = require("./defaults");
|
|
45
|
+
var IconOutlinedChevronRight = (0, newskit_1.toNewsKitIcon)(ChevronRight_1.ChevronRight);
|
|
46
|
+
var Calendar = function (_a) {
|
|
47
|
+
var _b = _a.overrides, overrides = _b === void 0 ? defaults_1.calendarDefaults : _b, startDate = _a.startDate, endDate = _a.endDate, numberOfMonths = _a.numberOfMonths, daySize = _a.daySize, setDates = _a.setDates;
|
|
48
|
+
var _c = (0, react_1.useState)('startDate'), focusedInput = _c[0], setFocusedInput = _c[1];
|
|
49
|
+
var breakpoint = (0, newskit_1.useBreakpointKey)();
|
|
50
|
+
var isMobile = breakpoint === 'xs' || breakpoint === 'sm';
|
|
51
|
+
return (react_1.default.createElement(CalendarStylesTheme_1.CalendarStyles, __assign({}, overrides),
|
|
52
|
+
react_1.default.createElement(react_dates_1.DateRangePicker, { block: true, noBorder: true, daySize: daySize, numberOfMonths: numberOfMonths, displayFormat: "DD/MM/YYYY", orientation: isMobile ? 'vertical' : 'horizontal', startDateId: "startDate", endDateId: "endDate", startDate: (0, react_dates_1.toMomentObject)(startDate), endDate: (0, react_dates_1.toMomentObject)(endDate), onDatesChange: function (_a) {
|
|
53
|
+
var startDate = _a.startDate, endDate = _a.endDate;
|
|
54
|
+
var start = startDate ? startDate.toDate() : null;
|
|
55
|
+
var end = endDate ? endDate.toDate() : null;
|
|
56
|
+
setDates(start, end);
|
|
57
|
+
}, focusedInput: focusedInput, onFocusChange: function (focusedInput) { return setFocusedInput(focusedInput); }, customArrowIcon: react_1.default.createElement(IconOutlinedChevronRight, { overrides: {
|
|
58
|
+
size: 'iconSize020',
|
|
59
|
+
stylePreset: 'iconCustom',
|
|
60
|
+
} }) })));
|
|
61
|
+
};
|
|
62
|
+
exports.Calendar = Calendar;
|
|
63
|
+
//# sourceMappingURL=Calendar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Calendar.js","sourceRoot":"","sources":["../../../src/Calendar/Calendar.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAuC;AACvC,2CAAgF;AAChF,kCAA+B;AAC/B,qEAA2F;AAC3F,mCAAyD;AACzD,6DAAsD;AACtD,uCAA6C;AAG7C,IAAM,wBAAwB,GAAG,IAAA,uBAAa,EAAC,2BAAoB,CAAC,CAAA;AAC7D,IAAM,QAAQ,GAAuC,UAAC,EAO5D;QANC,iBAA4B,EAA5B,SAAS,mBAAG,2BAAgB,KAAA,EAC5B,SAAS,eAAA,EACT,OAAO,aAAA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CAAA;AACH,CAAC,CAAA;AA5CY,QAAA,QAAQ,YA4CpB"}
|
|
@@ -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,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.CalendarStyles = void 0;
|
|
8
|
+
var newskit_1 = require("newskit");
|
|
9
|
+
exports.CalendarStyles = newskit_1.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) {
|
|
10
|
+
var calendar = _a.calendar;
|
|
11
|
+
return (0, newskit_1.getTypographyPresetFromTheme)(calendar.typographyPreset);
|
|
12
|
+
}, function (_a) {
|
|
13
|
+
var calendar = _a.calendar;
|
|
14
|
+
return (0, newskit_1.getTypographyPresetFromTheme)(calendar.day.typographyPreset);
|
|
15
|
+
}, function (_a) {
|
|
16
|
+
var calendar = _a.calendar;
|
|
17
|
+
return (0, newskit_1.getColorCssFromTheme)('color', calendar.day.color);
|
|
18
|
+
}, function (_a) {
|
|
19
|
+
var calendar = _a.calendar;
|
|
20
|
+
return (0, newskit_1.getColorCssFromTheme)('backgroundColor', calendar.day.backgroundColor);
|
|
21
|
+
}, function (_a) {
|
|
22
|
+
var calendar = _a.calendar;
|
|
23
|
+
return (0, newskit_1.getColorCssFromTheme)('backgroundColor', calendar.day.hover.backgroundColor);
|
|
24
|
+
}, function (_a) {
|
|
25
|
+
var calendar = _a.calendar;
|
|
26
|
+
return (0, newskit_1.getColorCssFromTheme)('backgroundColor', calendar.day.selected.backgroundColor);
|
|
27
|
+
}, function (_a) {
|
|
28
|
+
var calendar = _a.calendar;
|
|
29
|
+
return (0, newskit_1.getColorCssFromTheme)('color', calendar.day.selected.color);
|
|
30
|
+
}, function (_a) {
|
|
31
|
+
var calendar = _a.calendar;
|
|
32
|
+
return (0, newskit_1.getColorCssFromTheme)('backgroundColor', calendar.day.span.hover.active.backgroundColor);
|
|
33
|
+
}, function (_a) {
|
|
34
|
+
var calendar = _a.calendar;
|
|
35
|
+
return (0, newskit_1.getColorCssFromTheme)('color', calendar.day.span.selected.active.hover.color);
|
|
36
|
+
}, function (_a) {
|
|
37
|
+
var calendar = _a.calendar;
|
|
38
|
+
return (0, newskit_1.getColorCssFromTheme)('backgroundColor', calendar.day.selected.active.hover.backgroundColor);
|
|
39
|
+
}, (0, newskit_1.getColorCssFromTheme)('color', 'inkInverse'), function (_a) {
|
|
40
|
+
var calendar = _a.calendar;
|
|
41
|
+
return (0, newskit_1.getColorCssFromTheme)('backgroundColor', calendar.day.span.hover.backgroundColor);
|
|
42
|
+
}, function (_a) {
|
|
43
|
+
var calendar = _a.calendar;
|
|
44
|
+
return (0, newskit_1.getColorCssFromTheme)('color', calendar.day.span.hover.color);
|
|
45
|
+
}, function (_a) {
|
|
46
|
+
var calendar = _a.calendar;
|
|
47
|
+
return (0, newskit_1.getColorCssFromTheme)('backgroundColor', calendar.day.span.hover.active.backgroundColor);
|
|
48
|
+
}, function (_a) {
|
|
49
|
+
var calendar = _a.calendar;
|
|
50
|
+
return (0, newskit_1.getColorCssFromTheme)('color', calendar.day.blocked.color);
|
|
51
|
+
}, function (_a) {
|
|
52
|
+
var calendar = _a.calendar;
|
|
53
|
+
return (0, newskit_1.getTypographyPresetFromTheme)(calendar.day.typographyPreset);
|
|
54
|
+
}, function (_a) {
|
|
55
|
+
var calendar = _a.calendar;
|
|
56
|
+
return (0, newskit_1.getColorCssFromTheme)('color', calendar.day.blocked.color);
|
|
57
|
+
}, function (_a) {
|
|
58
|
+
var calendar = _a.calendar;
|
|
59
|
+
return (0, newskit_1.getTypographyPresetFromTheme)(calendar.month.headers.typographyPreset);
|
|
60
|
+
}, function (_a) {
|
|
61
|
+
var calendar = _a.calendar;
|
|
62
|
+
return (0, newskit_1.getColorCssFromTheme)('color', calendar.month.headers.color);
|
|
63
|
+
}, (0, newskit_1.getTypographyPresetFromTheme)('utilityBody020'), (0, newskit_1.getColorCssFromTheme)('backgroundColor', 'inkInverse'), function (_a) {
|
|
64
|
+
var calendar = _a.calendar;
|
|
65
|
+
return (0, newskit_1.getColorCssFromTheme)('color', calendar.month.navigation.default.stylePreset);
|
|
66
|
+
}, function (_a) {
|
|
67
|
+
var calendar = _a.calendar;
|
|
68
|
+
return (0, newskit_1.getStylePresetFromTheme)(calendar.month.navigation.default.stylePreset);
|
|
69
|
+
}, function (_a) {
|
|
70
|
+
var calendar = _a.calendar;
|
|
71
|
+
return (0, newskit_1.getSpacingCssFromTheme)('marginLeft', calendar.month.navigation.vertical.buttons.next);
|
|
72
|
+
}, function (_a) {
|
|
73
|
+
var calendar = _a.calendar;
|
|
74
|
+
return (0, newskit_1.getStylePresetFromTheme)(calendar.month.navigation.default.stylePreset);
|
|
75
|
+
}, function (_a) {
|
|
76
|
+
var calendar = _a.calendar;
|
|
77
|
+
return (0, newskit_1.getColorCssFromTheme)('fill', calendar.month.navigation.icons.svg.left.fill);
|
|
78
|
+
}, function (_a) {
|
|
79
|
+
var calendar = _a.calendar;
|
|
80
|
+
return (0, newskit_1.getSizingCssFromTheme)('height', calendar.month.navigation.icons.svg.vertical.height);
|
|
81
|
+
}, function (_a) {
|
|
82
|
+
var calendar = _a.calendar;
|
|
83
|
+
return (0, newskit_1.getSizingCssFromTheme)('width', calendar.month.navigation.icons.svg.vertical.width);
|
|
84
|
+
}, function (_a) {
|
|
85
|
+
var calendar = _a.calendar;
|
|
86
|
+
return (0, newskit_1.getColorCssFromTheme)('fill', calendar.month.navigation.icons.svg.vertical.fill);
|
|
87
|
+
}, function (_a) {
|
|
88
|
+
var calendar = _a.calendar;
|
|
89
|
+
return (0, newskit_1.getStylePresetFromTheme)(calendar.borders.stylePreset);
|
|
90
|
+
}, function (_a) {
|
|
91
|
+
var calendar = _a.calendar;
|
|
92
|
+
return (0, newskit_1.getTypographyPresetFromTheme)(calendar.week.headers.typographyPreset);
|
|
93
|
+
}, function (_a) {
|
|
94
|
+
var calendar = _a.calendar;
|
|
95
|
+
return (0, newskit_1.getTypographyPresetFromTheme)(calendar.week.headers.typographyPreset);
|
|
96
|
+
}, function (_a) {
|
|
97
|
+
var calendar = _a.calendar;
|
|
98
|
+
return (0, newskit_1.getBorderCssFromTheme)('borderRadius', calendar.transitionContainer.borders.stylePreset);
|
|
99
|
+
}, function (_a) {
|
|
100
|
+
var calendar = _a.calendar;
|
|
101
|
+
return (0, newskit_1.getTypographyPresetFromTheme)(calendar.inputs.typographyPreset);
|
|
102
|
+
}, function (_a) {
|
|
103
|
+
var calendar = _a.calendar;
|
|
104
|
+
return (0, newskit_1.getColorCssFromTheme)('backgroundColor', calendar.inputs.colors.backgroundColor);
|
|
105
|
+
}, function (_a) {
|
|
106
|
+
var calendar = _a.calendar;
|
|
107
|
+
return (0, newskit_1.getSizingCssFromTheme)('padding', calendar.inputs.spacing.padding);
|
|
108
|
+
}, function (_a) {
|
|
109
|
+
var calendar = _a.calendar;
|
|
110
|
+
return (0, newskit_1.getStylePresetFromTheme)(calendar.inputs.borders.stylePreset);
|
|
111
|
+
}, function (_a) {
|
|
112
|
+
var calendar = _a.calendar;
|
|
113
|
+
return (0, newskit_1.getTypographyPresetFromTheme)(calendar.inputs.typographyPreset);
|
|
114
|
+
}, function (_a) {
|
|
115
|
+
var calendar = _a.calendar;
|
|
116
|
+
return (0, newskit_1.getColorCssFromTheme)('color', calendar.inputs.colors.color);
|
|
117
|
+
}, function (_a) {
|
|
118
|
+
var calendar = _a.calendar;
|
|
119
|
+
return (0, newskit_1.getSpacingCssFromTheme)('marginLeft', calendar.inputs.spacing.marginLeft);
|
|
120
|
+
}, function (_a) {
|
|
121
|
+
var calendar = _a.calendar;
|
|
122
|
+
return (0, newskit_1.getSpacingCssFromTheme)('marginRight', calendar.inputs.spacing.marginRight);
|
|
123
|
+
}, function (_a) {
|
|
124
|
+
var calendar = _a.calendar;
|
|
125
|
+
return (0, newskit_1.getColorCssFromTheme)('fill', calendar.inputs.colors.fill);
|
|
126
|
+
}, function (_a) {
|
|
127
|
+
var calendar = _a.calendar;
|
|
128
|
+
return (0, newskit_1.getStylePresetFromTheme)(calendar.borders.stylePreset);
|
|
129
|
+
});
|
|
130
|
+
var templateObject_1;
|
|
131
|
+
//# sourceMappingURL=CalendarStylesTheme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarStylesTheme.js","sourceRoot":"","sources":["../../../src/Calendar/CalendarStylesTheme.tsx"],"names":[],"mappings":";;;;;;;AAAA,mCAQgB;AAGH,QAAA,cAAc,GAAG,gBAAM,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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AC,EAAY;QAAV,QAAQ,cAAA;IACX,OAAA,IAAA,8BAAoB,EAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;AAAzD,CAAyD,EAwKvD,UAAC,EAAY;QAAV,QAAQ,cAAA;IAAO,OAAA,IAAA,iCAAuB,EAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC;AAArD,CAAqD,EAG9E"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.calendarDefaults = void 0;
|
|
4
|
+
exports.calendarDefaults = {
|
|
5
|
+
calendar: {
|
|
6
|
+
typographyPreset: 'utilityBody020',
|
|
7
|
+
borders: {
|
|
8
|
+
stylePreset: 'calendarBorderStyle',
|
|
9
|
+
},
|
|
10
|
+
transitionContainer: {
|
|
11
|
+
borders: {
|
|
12
|
+
stylePreset: 'calendarBorderStyle',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
day: {
|
|
16
|
+
color: 'inkBase',
|
|
17
|
+
backgroundColor: 'interface010',
|
|
18
|
+
typographyPreset: 'utilityBody020',
|
|
19
|
+
hover: {
|
|
20
|
+
backgroundColor: 'interface010',
|
|
21
|
+
},
|
|
22
|
+
selected: {
|
|
23
|
+
color: 'inkBase',
|
|
24
|
+
backgroundColor: 'interactivePrimary010',
|
|
25
|
+
active: {
|
|
26
|
+
hover: {
|
|
27
|
+
color: 'inkInverse',
|
|
28
|
+
backgroundColor: 'interactivePrimary030',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
blocked: {
|
|
33
|
+
color: 'interface040',
|
|
34
|
+
outOfRange: {
|
|
35
|
+
color: 'interface040',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
span: {
|
|
39
|
+
color: 'inkBase',
|
|
40
|
+
backgroundColor: 'interactivePrimary010',
|
|
41
|
+
selected: {
|
|
42
|
+
active: {
|
|
43
|
+
hover: {
|
|
44
|
+
color: 'inkBase',
|
|
45
|
+
backgroundColor: 'interactivePrimary030',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
hover: {
|
|
50
|
+
backgroundColor: 'interactivePrimary010',
|
|
51
|
+
color: 'inkBase',
|
|
52
|
+
active: {
|
|
53
|
+
backgroundColor: 'interactivePrimary030',
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
week: {
|
|
59
|
+
headers: {
|
|
60
|
+
typographyPreset: 'utilityBody020',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
month: {
|
|
64
|
+
headers: {
|
|
65
|
+
typographyPreset: 'utilityHeading020',
|
|
66
|
+
color: 'utilityBody020',
|
|
67
|
+
},
|
|
68
|
+
navigation: {
|
|
69
|
+
default: {
|
|
70
|
+
stylePreset: 'monthNavigationButtons',
|
|
71
|
+
},
|
|
72
|
+
vertical: {
|
|
73
|
+
buttons: {
|
|
74
|
+
next: 'space020',
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
icons: {
|
|
78
|
+
stylePreset: 'iconCustom',
|
|
79
|
+
svg: {
|
|
80
|
+
left: {
|
|
81
|
+
fill: 'inkBase',
|
|
82
|
+
},
|
|
83
|
+
vertical: {
|
|
84
|
+
width: 'sizing040',
|
|
85
|
+
height: 'sizing040',
|
|
86
|
+
fill: 'inkBase',
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
inputs: {
|
|
93
|
+
typographyPreset: '',
|
|
94
|
+
colors: {
|
|
95
|
+
color: 'inkBase',
|
|
96
|
+
fill: 'inkBase',
|
|
97
|
+
backgroundColor: 'interfaceBackground',
|
|
98
|
+
},
|
|
99
|
+
spacing: {
|
|
100
|
+
marginLeft: 'space020',
|
|
101
|
+
marginRight: 'space020',
|
|
102
|
+
padding: 'sizing030',
|
|
103
|
+
},
|
|
104
|
+
sizing: {
|
|
105
|
+
width: '',
|
|
106
|
+
},
|
|
107
|
+
borders: {
|
|
108
|
+
stylePreset: 'dateInputStylePreset',
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
//# sourceMappingURL=defaults.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../src/Calendar/defaults.ts"],"names":[],"mappings":";;;AAEa,QAAA,gBAAgB,GAAwB;IACnD,QAAQ,EAAE;QACR,gBAAgB,EAAE,gBAAgB;QAClC,OAAO,EAAE;YACP,WAAW,EAAE,qBAAqB;SACnC;QACD,mBAAmB,EAAE;YACnB,OAAO,EAAE;gBACP,WAAW,EAAE,qBAAqB;aACnC;SACF;QACD,GAAG,EAAE;YACH,KAAK,EAAE,SAAS;YAChB,eAAe,EAAE,cAAc;YAC/B,gBAAgB,EAAE,gBAAgB;YAClC,KAAK,EAAE;gBACL,eAAe,EAAE,cAAc;aAChC;YACD,QAAQ,EAAE;gBACR,KAAK,EAAE,SAAS;gBAChB,eAAe,EAAE,uBAAuB;gBACxC,MAAM,EAAE;oBACN,KAAK,EAAE;wBACL,KAAK,EAAE,YAAY;wBACnB,eAAe,EAAE,uBAAuB;qBACzC;iBACF;aACF;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,cAAc;gBACrB,UAAU,EAAE;oBACV,KAAK,EAAE,cAAc;iBACtB;aACF;YACD,IAAI,EAAE;gBACJ,KAAK,EAAE,SAAS;gBAChB,eAAe,EAAE,uBAAuB;gBACxC,QAAQ,EAAE;oBACR,MAAM,EAAE;wBACN,KAAK,EAAE;4BACL,KAAK,EAAE,SAAS;4BAChB,eAAe,EAAE,uBAAuB;yBACzC;qBACF;iBACF;gBACD,KAAK,EAAE;oBACL,eAAe,EAAE,uBAAuB;oBACxC,KAAK,EAAE,SAAS;oBAChB,MAAM,EAAE;wBACN,eAAe,EAAE,uBAAuB;qBACzC;iBACF;aACF;SACF;QACD,IAAI,EAAE;YACJ,OAAO,EAAE;gBACP,gBAAgB,EAAE,gBAAgB;aACnC;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE;gBACP,gBAAgB,EAAE,mBAAmB;gBACrC,KAAK,EAAE,gBAAgB;aACxB;YACD,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,WAAW,EAAE,wBAAwB;iBACtC;gBACD,QAAQ,EAAE;oBACR,OAAO,EAAE;wBACP,IAAI,EAAE,UAAU;qBACjB;iBACF;gBACD,KAAK,EAAE;oBACL,WAAW,EAAE,YAAY;oBACzB,GAAG,EAAE;wBACH,IAAI,EAAE;4BACJ,IAAI,EAAE,SAAS;yBAChB;wBACD,QAAQ,EAAE;4BACR,KAAK,EAAE,WAAW;4BAClB,MAAM,EAAE,WAAW;4BACnB,IAAI,EAAE,SAAS;yBAChB;qBACF;iBACF;aACF;SACF;QACD,MAAM,EAAE;YACN,gBAAgB,EAAE,EAAE;YACpB,MAAM,EAAE;gBACN,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE,SAAS;gBACf,eAAe,EAAE,qBAAqB;aACvC;YACD,OAAO,EAAE;gBACP,UAAU,EAAE,UAAU;gBACtB,WAAW,EAAE,UAAU;gBACvB,OAAO,EAAE,WAAW;aACrB;YACD,MAAM,EAAE;gBACN,KAAK,EAAE,EAAE;aACV;YACD,OAAO,EAAE;gBACP,WAAW,EAAE,sBAAsB;aACpC;SACF;KACF;CACF,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Calendar"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
19
|
+
__exportStar(require("./defaults"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Calendar/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,0CAAuB;AACvB,6CAA0B"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const calendarPresets: {
|
|
2
|
+
calendarBorderStyle: {
|
|
3
|
+
base: {
|
|
4
|
+
borderColor: string;
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
borderStyle: string;
|
|
8
|
+
borderWidth: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
monthNavigationButtons: {
|
|
12
|
+
base: {
|
|
13
|
+
borderColor: string;
|
|
14
|
+
borderRadius: string;
|
|
15
|
+
backgroundColor: string;
|
|
16
|
+
borderStyle: string;
|
|
17
|
+
borderWidth: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
dateInputStylePreset: {
|
|
21
|
+
base: {
|
|
22
|
+
backgroundColor: string;
|
|
23
|
+
borderStyle: string;
|
|
24
|
+
borderColor: string;
|
|
25
|
+
borderWidth: string;
|
|
26
|
+
borderRadius: string;
|
|
27
|
+
};
|
|
28
|
+
focus: {
|
|
29
|
+
borderColor: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
iconCustom: {
|
|
33
|
+
base: {
|
|
34
|
+
iconColor: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|