UNPKG

1.13 kBJavaScriptView Raw
1export const DISPLAY_FORMAT = 'L';
2export const ISO_FORMAT = 'YYYY-MM-DD';
3export const ISO_MONTH_FORMAT = 'YYYY-MM'; // TODO delete this line of dead code on next breaking change
4
5export const START_DATE = 'startDate';
6export const END_DATE = 'endDate';
7
8export const HORIZONTAL_ORIENTATION = 'horizontal';
9export const VERTICAL_ORIENTATION = 'vertical';
10export const VERTICAL_SCROLLABLE = 'verticalScrollable';
11
12export const ICON_BEFORE_POSITION = 'before';
13export const ICON_AFTER_POSITION = 'after';
14
15export const INFO_POSITION_TOP = 'top';
16export const INFO_POSITION_BOTTOM = 'bottom';
17export const INFO_POSITION_BEFORE = 'before';
18export const INFO_POSITION_AFTER = 'after';
19
20export const ANCHOR_LEFT = 'left';
21export const ANCHOR_RIGHT = 'right';
22
23export const OPEN_DOWN = 'down';
24export const OPEN_UP = 'up';
25
26export const DAY_SIZE = 39;
27export const BLOCKED_MODIFIER = 'blocked';
28export const WEEKDAYS = [0, 1, 2, 3, 4, 5, 6];
29
30export const FANG_WIDTH_PX = 20;
31export const FANG_HEIGHT_PX = 10;
32export const DEFAULT_VERTICAL_SPACING = 22;
33
34export const MODIFIER_KEY_NAMES = new Set(['Shift', 'Control', 'Alt', 'Meta']);