Edit File by line
/home/barbar84/www/wp-inclu.../js/dist
File: components.js
"use strict";
[500] Fix | Delete
[501] Fix | Delete
[502] Fix | Delete
Object.defineProperty(exports, "__esModule", {
[503] Fix | Delete
value: true
[504] Fix | Delete
});
[505] Fix | Delete
exports.BOTTOM_RIGHT = exports.TOP_RIGHT = exports.TOP_LEFT = undefined;
[506] Fix | Delete
[507] Fix | Delete
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
[508] Fix | Delete
[509] Fix | Delete
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
[510] Fix | Delete
[511] Fix | Delete
var _object = __webpack_require__("Koq/");
[512] Fix | Delete
[513] Fix | Delete
var _object2 = _interopRequireDefault(_object);
[514] Fix | Delete
[515] Fix | Delete
var _react = __webpack_require__("cDcd");
[516] Fix | Delete
[517] Fix | Delete
var _react2 = _interopRequireDefault(_react);
[518] Fix | Delete
[519] Fix | Delete
var _propTypes = __webpack_require__("17x9");
[520] Fix | Delete
[521] Fix | Delete
var _propTypes2 = _interopRequireDefault(_propTypes);
[522] Fix | Delete
[523] Fix | Delete
var _airbnbPropTypes = __webpack_require__("Hsqg");
[524] Fix | Delete
[525] Fix | Delete
var _reactWithStyles = __webpack_require__("TG4+");
[526] Fix | Delete
[527] Fix | Delete
var _defaultPhrases = __webpack_require__("vV+G");
[528] Fix | Delete
[529] Fix | Delete
var _getPhrasePropTypes = __webpack_require__("yc2e");
[530] Fix | Delete
[531] Fix | Delete
var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);
[532] Fix | Delete
[533] Fix | Delete
var _KeyboardShortcutRow = __webpack_require__("zN8g");
[534] Fix | Delete
[535] Fix | Delete
var _KeyboardShortcutRow2 = _interopRequireDefault(_KeyboardShortcutRow);
[536] Fix | Delete
[537] Fix | Delete
var _CloseButton = __webpack_require__("xEte");
[538] Fix | Delete
[539] Fix | Delete
var _CloseButton2 = _interopRequireDefault(_CloseButton);
[540] Fix | Delete
[541] Fix | Delete
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
[542] Fix | Delete
[543] Fix | Delete
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
[544] Fix | Delete
[545] Fix | Delete
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
[546] Fix | Delete
[547] Fix | Delete
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
[548] Fix | Delete
[549] Fix | Delete
var TOP_LEFT = exports.TOP_LEFT = 'top-left';
[550] Fix | Delete
var TOP_RIGHT = exports.TOP_RIGHT = 'top-right';
[551] Fix | Delete
var BOTTOM_RIGHT = exports.BOTTOM_RIGHT = 'bottom-right';
[552] Fix | Delete
[553] Fix | Delete
var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
[554] Fix | Delete
block: _propTypes2['default'].bool,
[555] Fix | Delete
buttonLocation: _propTypes2['default'].oneOf([TOP_LEFT, TOP_RIGHT, BOTTOM_RIGHT]),
[556] Fix | Delete
showKeyboardShortcutsPanel: _propTypes2['default'].bool,
[557] Fix | Delete
openKeyboardShortcutsPanel: _propTypes2['default'].func,
[558] Fix | Delete
closeKeyboardShortcutsPanel: _propTypes2['default'].func,
[559] Fix | Delete
phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.DayPickerKeyboardShortcutsPhrases))
[560] Fix | Delete
}));
[561] Fix | Delete
[562] Fix | Delete
var defaultProps = {
[563] Fix | Delete
block: false,
[564] Fix | Delete
buttonLocation: BOTTOM_RIGHT,
[565] Fix | Delete
showKeyboardShortcutsPanel: false,
[566] Fix | Delete
openKeyboardShortcutsPanel: function () {
[567] Fix | Delete
function openKeyboardShortcutsPanel() {}
[568] Fix | Delete
[569] Fix | Delete
return openKeyboardShortcutsPanel;
[570] Fix | Delete
}(),
[571] Fix | Delete
closeKeyboardShortcutsPanel: function () {
[572] Fix | Delete
function closeKeyboardShortcutsPanel() {}
[573] Fix | Delete
[574] Fix | Delete
return closeKeyboardShortcutsPanel;
[575] Fix | Delete
}(),
[576] Fix | Delete
[577] Fix | Delete
phrases: _defaultPhrases.DayPickerKeyboardShortcutsPhrases
[578] Fix | Delete
};
[579] Fix | Delete
[580] Fix | Delete
function getKeyboardShortcuts(phrases) {
[581] Fix | Delete
return [{
[582] Fix | Delete
unicode: '↵',
[583] Fix | Delete
label: phrases.enterKey,
[584] Fix | Delete
action: phrases.selectFocusedDate
[585] Fix | Delete
}, {
[586] Fix | Delete
unicode: '←/→',
[587] Fix | Delete
label: phrases.leftArrowRightArrow,
[588] Fix | Delete
action: phrases.moveFocusByOneDay
[589] Fix | Delete
}, {
[590] Fix | Delete
unicode: '↑/↓',
[591] Fix | Delete
label: phrases.upArrowDownArrow,
[592] Fix | Delete
action: phrases.moveFocusByOneWeek
[593] Fix | Delete
}, {
[594] Fix | Delete
unicode: 'PgUp/PgDn',
[595] Fix | Delete
label: phrases.pageUpPageDown,
[596] Fix | Delete
action: phrases.moveFocusByOneMonth
[597] Fix | Delete
}, {
[598] Fix | Delete
unicode: 'Home/End',
[599] Fix | Delete
label: phrases.homeEnd,
[600] Fix | Delete
action: phrases.moveFocustoStartAndEndOfWeek
[601] Fix | Delete
}, {
[602] Fix | Delete
unicode: 'Esc',
[603] Fix | Delete
label: phrases.escape,
[604] Fix | Delete
action: phrases.returnFocusToInput
[605] Fix | Delete
}, {
[606] Fix | Delete
unicode: '?',
[607] Fix | Delete
label: phrases.questionMark,
[608] Fix | Delete
action: phrases.openThisPanel
[609] Fix | Delete
}];
[610] Fix | Delete
}
[611] Fix | Delete
[612] Fix | Delete
var DayPickerKeyboardShortcuts = function (_React$Component) {
[613] Fix | Delete
_inherits(DayPickerKeyboardShortcuts, _React$Component);
[614] Fix | Delete
[615] Fix | Delete
function DayPickerKeyboardShortcuts() {
[616] Fix | Delete
var _ref;
[617] Fix | Delete
[618] Fix | Delete
_classCallCheck(this, DayPickerKeyboardShortcuts);
[619] Fix | Delete
[620] Fix | Delete
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
[621] Fix | Delete
args[_key] = arguments[_key];
[622] Fix | Delete
}
[623] Fix | Delete
[624] Fix | Delete
var _this = _possibleConstructorReturn(this, (_ref = DayPickerKeyboardShortcuts.__proto__ || Object.getPrototypeOf(DayPickerKeyboardShortcuts)).call.apply(_ref, [this].concat(args)));
[625] Fix | Delete
[626] Fix | Delete
var phrases = _this.props.phrases;
[627] Fix | Delete
[628] Fix | Delete
_this.keyboardShortcuts = getKeyboardShortcuts(phrases);
[629] Fix | Delete
[630] Fix | Delete
_this.onShowKeyboardShortcutsButtonClick = _this.onShowKeyboardShortcutsButtonClick.bind(_this);
[631] Fix | Delete
_this.setShowKeyboardShortcutsButtonRef = _this.setShowKeyboardShortcutsButtonRef.bind(_this);
[632] Fix | Delete
_this.setHideKeyboardShortcutsButtonRef = _this.setHideKeyboardShortcutsButtonRef.bind(_this);
[633] Fix | Delete
_this.handleFocus = _this.handleFocus.bind(_this);
[634] Fix | Delete
_this.onKeyDown = _this.onKeyDown.bind(_this);
[635] Fix | Delete
return _this;
[636] Fix | Delete
}
[637] Fix | Delete
[638] Fix | Delete
_createClass(DayPickerKeyboardShortcuts, [{
[639] Fix | Delete
key: 'componentWillReceiveProps',
[640] Fix | Delete
value: function () {
[641] Fix | Delete
function componentWillReceiveProps(nextProps) {
[642] Fix | Delete
var phrases = this.props.phrases;
[643] Fix | Delete
[644] Fix | Delete
if (nextProps.phrases !== phrases) {
[645] Fix | Delete
this.keyboardShortcuts = getKeyboardShortcuts(nextProps.phrases);
[646] Fix | Delete
}
[647] Fix | Delete
}
[648] Fix | Delete
[649] Fix | Delete
return componentWillReceiveProps;
[650] Fix | Delete
}()
[651] Fix | Delete
}, {
[652] Fix | Delete
key: 'componentDidUpdate',
[653] Fix | Delete
value: function () {
[654] Fix | Delete
function componentDidUpdate() {
[655] Fix | Delete
this.handleFocus();
[656] Fix | Delete
}
[657] Fix | Delete
[658] Fix | Delete
return componentDidUpdate;
[659] Fix | Delete
}()
[660] Fix | Delete
}, {
[661] Fix | Delete
key: 'onKeyDown',
[662] Fix | Delete
value: function () {
[663] Fix | Delete
function onKeyDown(e) {
[664] Fix | Delete
e.stopPropagation();
[665] Fix | Delete
[666] Fix | Delete
var closeKeyboardShortcutsPanel = this.props.closeKeyboardShortcutsPanel;
[667] Fix | Delete
// Because the close button is the only focusable element inside of the panel, this
[668] Fix | Delete
// amounts to a very basic focus trap. The user can exit the panel by "pressing" the
[669] Fix | Delete
// close button or hitting escape
[670] Fix | Delete
[671] Fix | Delete
switch (e.key) {
[672] Fix | Delete
case 'Enter':
[673] Fix | Delete
case ' ':
[674] Fix | Delete
case 'Spacebar': // for older browsers
[675] Fix | Delete
case 'Escape':
[676] Fix | Delete
closeKeyboardShortcutsPanel();
[677] Fix | Delete
break;
[678] Fix | Delete
[679] Fix | Delete
// do nothing - this allows the up and down arrows continue their
[680] Fix | Delete
// default behavior of scrolling the content of the Keyboard Shortcuts Panel
[681] Fix | Delete
// which is needed when only a single month is shown for instance.
[682] Fix | Delete
case 'ArrowUp':
[683] Fix | Delete
case 'ArrowDown':
[684] Fix | Delete
break;
[685] Fix | Delete
[686] Fix | Delete
// completely block the rest of the keys that have functionality outside of this panel
[687] Fix | Delete
case 'Tab':
[688] Fix | Delete
case 'Home':
[689] Fix | Delete
case 'End':
[690] Fix | Delete
case 'PageUp':
[691] Fix | Delete
case 'PageDown':
[692] Fix | Delete
case 'ArrowLeft':
[693] Fix | Delete
case 'ArrowRight':
[694] Fix | Delete
e.preventDefault();
[695] Fix | Delete
break;
[696] Fix | Delete
[697] Fix | Delete
default:
[698] Fix | Delete
break;
[699] Fix | Delete
}
[700] Fix | Delete
}
[701] Fix | Delete
[702] Fix | Delete
return onKeyDown;
[703] Fix | Delete
}()
[704] Fix | Delete
}, {
[705] Fix | Delete
key: 'onShowKeyboardShortcutsButtonClick',
[706] Fix | Delete
value: function () {
[707] Fix | Delete
function onShowKeyboardShortcutsButtonClick() {
[708] Fix | Delete
var _this2 = this;
[709] Fix | Delete
[710] Fix | Delete
var openKeyboardShortcutsPanel = this.props.openKeyboardShortcutsPanel;
[711] Fix | Delete
[712] Fix | Delete
// we want to return focus to this button after closing the keyboard shortcuts panel
[713] Fix | Delete
[714] Fix | Delete
openKeyboardShortcutsPanel(function () {
[715] Fix | Delete
_this2.showKeyboardShortcutsButton.focus();
[716] Fix | Delete
});
[717] Fix | Delete
}
[718] Fix | Delete
[719] Fix | Delete
return onShowKeyboardShortcutsButtonClick;
[720] Fix | Delete
}()
[721] Fix | Delete
}, {
[722] Fix | Delete
key: 'setShowKeyboardShortcutsButtonRef',
[723] Fix | Delete
value: function () {
[724] Fix | Delete
function setShowKeyboardShortcutsButtonRef(ref) {
[725] Fix | Delete
this.showKeyboardShortcutsButton = ref;
[726] Fix | Delete
}
[727] Fix | Delete
[728] Fix | Delete
return setShowKeyboardShortcutsButtonRef;
[729] Fix | Delete
}()
[730] Fix | Delete
}, {
[731] Fix | Delete
key: 'setHideKeyboardShortcutsButtonRef',
[732] Fix | Delete
value: function () {
[733] Fix | Delete
function setHideKeyboardShortcutsButtonRef(ref) {
[734] Fix | Delete
this.hideKeyboardShortcutsButton = ref;
[735] Fix | Delete
}
[736] Fix | Delete
[737] Fix | Delete
return setHideKeyboardShortcutsButtonRef;
[738] Fix | Delete
}()
[739] Fix | Delete
}, {
[740] Fix | Delete
key: 'handleFocus',
[741] Fix | Delete
value: function () {
[742] Fix | Delete
function handleFocus() {
[743] Fix | Delete
if (this.hideKeyboardShortcutsButton) {
[744] Fix | Delete
// automatically move focus into the dialog by moving
[745] Fix | Delete
// to the only interactive element, the hide button
[746] Fix | Delete
this.hideKeyboardShortcutsButton.focus();
[747] Fix | Delete
}
[748] Fix | Delete
}
[749] Fix | Delete
[750] Fix | Delete
return handleFocus;
[751] Fix | Delete
}()
[752] Fix | Delete
}, {
[753] Fix | Delete
key: 'render',
[754] Fix | Delete
value: function () {
[755] Fix | Delete
function render() {
[756] Fix | Delete
var _this3 = this;
[757] Fix | Delete
[758] Fix | Delete
var _props = this.props,
[759] Fix | Delete
block = _props.block,
[760] Fix | Delete
buttonLocation = _props.buttonLocation,
[761] Fix | Delete
showKeyboardShortcutsPanel = _props.showKeyboardShortcutsPanel,
[762] Fix | Delete
closeKeyboardShortcutsPanel = _props.closeKeyboardShortcutsPanel,
[763] Fix | Delete
styles = _props.styles,
[764] Fix | Delete
phrases = _props.phrases;
[765] Fix | Delete
[766] Fix | Delete
[767] Fix | Delete
var toggleButtonText = showKeyboardShortcutsPanel ? phrases.hideKeyboardShortcutsPanel : phrases.showKeyboardShortcutsPanel;
[768] Fix | Delete
[769] Fix | Delete
var bottomRight = buttonLocation === BOTTOM_RIGHT;
[770] Fix | Delete
var topRight = buttonLocation === TOP_RIGHT;
[771] Fix | Delete
var topLeft = buttonLocation === TOP_LEFT;
[772] Fix | Delete
[773] Fix | Delete
return _react2['default'].createElement(
[774] Fix | Delete
'div',
[775] Fix | Delete
null,
[776] Fix | Delete
_react2['default'].createElement(
[777] Fix | Delete
'button',
[778] Fix | Delete
_extends({
[779] Fix | Delete
ref: this.setShowKeyboardShortcutsButtonRef
[780] Fix | Delete
}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_buttonReset, styles.DayPickerKeyboardShortcuts_show, bottomRight && styles.DayPickerKeyboardShortcuts_show__bottomRight, topRight && styles.DayPickerKeyboardShortcuts_show__topRight, topLeft && styles.DayPickerKeyboardShortcuts_show__topLeft), {
[781] Fix | Delete
type: 'button',
[782] Fix | Delete
'aria-label': toggleButtonText,
[783] Fix | Delete
onClick: this.onShowKeyboardShortcutsButtonClick,
[784] Fix | Delete
onKeyDown: function () {
[785] Fix | Delete
function onKeyDown(e) {
[786] Fix | Delete
if (e.key === 'Enter') {
[787] Fix | Delete
e.preventDefault();
[788] Fix | Delete
} else if (e.key === 'Space') {
[789] Fix | Delete
_this3.onShowKeyboardShortcutsButtonClick(e);
[790] Fix | Delete
}
[791] Fix | Delete
}
[792] Fix | Delete
[793] Fix | Delete
return onKeyDown;
[794] Fix | Delete
}(),
[795] Fix | Delete
onMouseUp: function () {
[796] Fix | Delete
function onMouseUp(e) {
[797] Fix | Delete
e.currentTarget.blur();
[798] Fix | Delete
}
[799] Fix | Delete
[800] Fix | Delete
return onMouseUp;
[801] Fix | Delete
}()
[802] Fix | Delete
}),
[803] Fix | Delete
_react2['default'].createElement(
[804] Fix | Delete
'span',
[805] Fix | Delete
(0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_showSpan, bottomRight && styles.DayPickerKeyboardShortcuts_showSpan__bottomRight, topRight && styles.DayPickerKeyboardShortcuts_showSpan__topRight, topLeft && styles.DayPickerKeyboardShortcuts_showSpan__topLeft),
[806] Fix | Delete
'?'
[807] Fix | Delete
)
[808] Fix | Delete
),
[809] Fix | Delete
showKeyboardShortcutsPanel && _react2['default'].createElement(
[810] Fix | Delete
'div',
[811] Fix | Delete
_extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_panel), {
[812] Fix | Delete
role: 'dialog',
[813] Fix | Delete
'aria-labelledby': 'DayPickerKeyboardShortcuts_title',
[814] Fix | Delete
'aria-describedby': 'DayPickerKeyboardShortcuts_description'
[815] Fix | Delete
}),
[816] Fix | Delete
_react2['default'].createElement(
[817] Fix | Delete
'div',
[818] Fix | Delete
_extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_title), {
[819] Fix | Delete
id: 'DayPickerKeyboardShortcuts_title'
[820] Fix | Delete
}),
[821] Fix | Delete
phrases.keyboardShortcuts
[822] Fix | Delete
),
[823] Fix | Delete
_react2['default'].createElement(
[824] Fix | Delete
'button',
[825] Fix | Delete
_extends({
[826] Fix | Delete
ref: this.setHideKeyboardShortcutsButtonRef
[827] Fix | Delete
}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_buttonReset, styles.DayPickerKeyboardShortcuts_close), {
[828] Fix | Delete
type: 'button',
[829] Fix | Delete
tabIndex: '0',
[830] Fix | Delete
'aria-label': phrases.hideKeyboardShortcutsPanel,
[831] Fix | Delete
onClick: closeKeyboardShortcutsPanel,
[832] Fix | Delete
onKeyDown: this.onKeyDown
[833] Fix | Delete
}),
[834] Fix | Delete
_react2['default'].createElement(_CloseButton2['default'], (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_closeSvg))
[835] Fix | Delete
),
[836] Fix | Delete
_react2['default'].createElement(
[837] Fix | Delete
'ul',
[838] Fix | Delete
_extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_list), {
[839] Fix | Delete
id: 'DayPickerKeyboardShortcuts_description'
[840] Fix | Delete
}),
[841] Fix | Delete
this.keyboardShortcuts.map(function (_ref2) {
[842] Fix | Delete
var unicode = _ref2.unicode,
[843] Fix | Delete
label = _ref2.label,
[844] Fix | Delete
action = _ref2.action;
[845] Fix | Delete
return _react2['default'].createElement(_KeyboardShortcutRow2['default'], {
[846] Fix | Delete
key: label,
[847] Fix | Delete
unicode: unicode,
[848] Fix | Delete
label: label,
[849] Fix | Delete
action: action,
[850] Fix | Delete
block: block
[851] Fix | Delete
});
[852] Fix | Delete
})
[853] Fix | Delete
)
[854] Fix | Delete
)
[855] Fix | Delete
);
[856] Fix | Delete
}
[857] Fix | Delete
[858] Fix | Delete
return render;
[859] Fix | Delete
}()
[860] Fix | Delete
}]);
[861] Fix | Delete
[862] Fix | Delete
return DayPickerKeyboardShortcuts;
[863] Fix | Delete
}(_react2['default'].Component);
[864] Fix | Delete
[865] Fix | Delete
DayPickerKeyboardShortcuts.propTypes = propTypes;
[866] Fix | Delete
DayPickerKeyboardShortcuts.defaultProps = defaultProps;
[867] Fix | Delete
[868] Fix | Delete
exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref3) {
[869] Fix | Delete
var _ref3$reactDates = _ref3.reactDates,
[870] Fix | Delete
color = _ref3$reactDates.color,
[871] Fix | Delete
font = _ref3$reactDates.font,
[872] Fix | Delete
zIndex = _ref3$reactDates.zIndex;
[873] Fix | Delete
return {
[874] Fix | Delete
DayPickerKeyboardShortcuts_buttonReset: {
[875] Fix | Delete
background: 'none',
[876] Fix | Delete
border: 0,
[877] Fix | Delete
borderRadius: 0,
[878] Fix | Delete
color: 'inherit',
[879] Fix | Delete
font: 'inherit',
[880] Fix | Delete
lineHeight: 'normal',
[881] Fix | Delete
overflow: 'visible',
[882] Fix | Delete
padding: 0,
[883] Fix | Delete
cursor: 'pointer',
[884] Fix | Delete
fontSize: font.size,
[885] Fix | Delete
[886] Fix | Delete
':active': {
[887] Fix | Delete
outline: 'none'
[888] Fix | Delete
}
[889] Fix | Delete
},
[890] Fix | Delete
[891] Fix | Delete
DayPickerKeyboardShortcuts_show: {
[892] Fix | Delete
width: 22,
[893] Fix | Delete
position: 'absolute',
[894] Fix | Delete
zIndex: zIndex + 2
[895] Fix | Delete
},
[896] Fix | Delete
[897] Fix | Delete
DayPickerKeyboardShortcuts_show__bottomRight: {
[898] Fix | Delete
borderTop: '26px solid transparent',
[899] Fix | Delete
borderRight: '33px solid ' + String(color.core.primary),
[900] Fix | Delete
bottom: 0,
[901] Fix | Delete
right: 0,
[902] Fix | Delete
[903] Fix | Delete
':hover': {
[904] Fix | Delete
borderRight: '33px solid ' + String(color.core.primary_dark)
[905] Fix | Delete
}
[906] Fix | Delete
},
[907] Fix | Delete
[908] Fix | Delete
DayPickerKeyboardShortcuts_show__topRight: {
[909] Fix | Delete
borderBottom: '26px solid transparent',
[910] Fix | Delete
borderRight: '33px solid ' + String(color.core.primary),
[911] Fix | Delete
top: 0,
[912] Fix | Delete
right: 0,
[913] Fix | Delete
[914] Fix | Delete
':hover': {
[915] Fix | Delete
borderRight: '33px solid ' + String(color.core.primary_dark)
[916] Fix | Delete
}
[917] Fix | Delete
},
[918] Fix | Delete
[919] Fix | Delete
DayPickerKeyboardShortcuts_show__topLeft: {
[920] Fix | Delete
borderBottom: '26px solid transparent',
[921] Fix | Delete
borderLeft: '33px solid ' + String(color.core.primary),
[922] Fix | Delete
top: 0,
[923] Fix | Delete
left: 0,
[924] Fix | Delete
[925] Fix | Delete
':hover': {
[926] Fix | Delete
borderLeft: '33px solid ' + String(color.core.primary_dark)
[927] Fix | Delete
}
[928] Fix | Delete
},
[929] Fix | Delete
[930] Fix | Delete
DayPickerKeyboardShortcuts_showSpan: {
[931] Fix | Delete
color: color.core.white,
[932] Fix | Delete
position: 'absolute'
[933] Fix | Delete
},
[934] Fix | Delete
[935] Fix | Delete
DayPickerKeyboardShortcuts_showSpan__bottomRight: {
[936] Fix | Delete
bottom: 0,
[937] Fix | Delete
right: -28
[938] Fix | Delete
},
[939] Fix | Delete
[940] Fix | Delete
DayPickerKeyboardShortcuts_showSpan__topRight: {
[941] Fix | Delete
top: 1,
[942] Fix | Delete
right: -28
[943] Fix | Delete
},
[944] Fix | Delete
[945] Fix | Delete
DayPickerKeyboardShortcuts_showSpan__topLeft: {
[946] Fix | Delete
top: 1,
[947] Fix | Delete
left: -28
[948] Fix | Delete
},
[949] Fix | Delete
[950] Fix | Delete
DayPickerKeyboardShortcuts_panel: {
[951] Fix | Delete
overflow: 'auto',
[952] Fix | Delete
background: color.background,
[953] Fix | Delete
border: '1px solid ' + String(color.core.border),
[954] Fix | Delete
borderRadius: 2,
[955] Fix | Delete
position: 'absolute',
[956] Fix | Delete
top: 0,
[957] Fix | Delete
bottom: 0,
[958] Fix | Delete
right: 0,
[959] Fix | Delete
left: 0,
[960] Fix | Delete
zIndex: zIndex + 2,
[961] Fix | Delete
padding: 22,
[962] Fix | Delete
margin: 33
[963] Fix | Delete
},
[964] Fix | Delete
[965] Fix | Delete
DayPickerKeyboardShortcuts_title: {
[966] Fix | Delete
fontSize: 16,
[967] Fix | Delete
fontWeight: 'bold',
[968] Fix | Delete
margin: 0
[969] Fix | Delete
},
[970] Fix | Delete
[971] Fix | Delete
DayPickerKeyboardShortcuts_list: {
[972] Fix | Delete
listStyle: 'none',
[973] Fix | Delete
padding: 0,
[974] Fix | Delete
fontSize: font.size
[975] Fix | Delete
},
[976] Fix | Delete
[977] Fix | Delete
DayPickerKeyboardShortcuts_close: {
[978] Fix | Delete
position: 'absolute',
[979] Fix | Delete
right: 22,
[980] Fix | Delete
top: 22,
[981] Fix | Delete
zIndex: zIndex + 2,
[982] Fix | Delete
[983] Fix | Delete
':active': {
[984] Fix | Delete
outline: 'none'
[985] Fix | Delete
}
[986] Fix | Delete
},
[987] Fix | Delete
[988] Fix | Delete
DayPickerKeyboardShortcuts_closeSvg: {
[989] Fix | Delete
height: 15,
[990] Fix | Delete
width: 15,
[991] Fix | Delete
fill: color.core.grayLighter,
[992] Fix | Delete
[993] Fix | Delete
':hover': {
[994] Fix | Delete
fill: color.core.grayLight
[995] Fix | Delete
},
[996] Fix | Delete
[997] Fix | Delete
':focus': {
[998] Fix | Delete
fill: color.core.grayLight
[999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function