Edit File by line
/home/barbar84/www/wp-inclu.../js/dist
File: components.js
,
[35500] Fix | Delete
"aria-current": page === currentPage ? 'step' : undefined
[35501] Fix | Delete
}, Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
[35502] Fix | Delete
key: page,
[35503] Fix | Delete
icon: Object(external_wp_element_["createElement"])(icons_PageControlIcon, {
[35504] Fix | Delete
isSelected: page === currentPage
[35505] Fix | Delete
}),
[35506] Fix | Delete
"aria-label": Object(external_wp_i18n_["sprintf"])(
[35507] Fix | Delete
/* translators: 1: current page number 2: total number of pages */
[35508] Fix | Delete
Object(external_wp_i18n_["__"])('Page %1$d of %2$d'), page + 1, numberOfPages),
[35509] Fix | Delete
onClick: function onClick() {
[35510] Fix | Delete
return setCurrentPage(page);
[35511] Fix | Delete
}
[35512] Fix | Delete
}));
[35513] Fix | Delete
}));
[35514] Fix | Delete
}
[35515] Fix | Delete
[35516] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/finish-button.js
[35517] Fix | Delete
[35518] Fix | Delete
[35519] Fix | Delete
[35520] Fix | Delete
/**
[35521] Fix | Delete
* WordPress dependencies
[35522] Fix | Delete
*/
[35523] Fix | Delete
[35524] Fix | Delete
/**
[35525] Fix | Delete
* Internal dependencies
[35526] Fix | Delete
*/
[35527] Fix | Delete
[35528] Fix | Delete
[35529] Fix | Delete
function FinishButton(props) {
[35530] Fix | Delete
var ref = Object(external_wp_element_["useRef"])(); // Focus the button on mount if nothing else is focused. This prevents a
[35531] Fix | Delete
// focus loss when the 'Next' button is swapped out.
[35532] Fix | Delete
[35533] Fix | Delete
Object(external_wp_element_["useLayoutEffect"])(function () {
[35534] Fix | Delete
var ownerDocument = ref.current.ownerDocument;
[35535] Fix | Delete
var activeElement = ownerDocument.activeElement,
[35536] Fix | Delete
body = ownerDocument.body;
[35537] Fix | Delete
[35538] Fix | Delete
if (!activeElement || activeElement === body) {
[35539] Fix | Delete
ref.current.focus();
[35540] Fix | Delete
}
[35541] Fix | Delete
}, []);
[35542] Fix | Delete
return Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({}, props, {
[35543] Fix | Delete
ref: ref
[35544] Fix | Delete
}));
[35545] Fix | Delete
}
[35546] Fix | Delete
[35547] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/index.js
[35548] Fix | Delete
[35549] Fix | Delete
[35550] Fix | Delete
[35551] Fix | Delete
/**
[35552] Fix | Delete
* External dependencies
[35553] Fix | Delete
*/
[35554] Fix | Delete
[35555] Fix | Delete
/**
[35556] Fix | Delete
* WordPress dependencies
[35557] Fix | Delete
*/
[35558] Fix | Delete
[35559] Fix | Delete
[35560] Fix | Delete
[35561] Fix | Delete
[35562] Fix | Delete
/**
[35563] Fix | Delete
* Internal dependencies
[35564] Fix | Delete
*/
[35565] Fix | Delete
[35566] Fix | Delete
[35567] Fix | Delete
[35568] Fix | Delete
[35569] Fix | Delete
[35570] Fix | Delete
[35571] Fix | Delete
function Guide(_ref) {
[35572] Fix | Delete
var children = _ref.children,
[35573] Fix | Delete
className = _ref.className,
[35574] Fix | Delete
contentLabel = _ref.contentLabel,
[35575] Fix | Delete
finishButtonText = _ref.finishButtonText,
[35576] Fix | Delete
onFinish = _ref.onFinish,
[35577] Fix | Delete
_ref$pages = _ref.pages,
[35578] Fix | Delete
pages = _ref$pages === void 0 ? [] : _ref$pages;
[35579] Fix | Delete
[35580] Fix | Delete
var _useState = Object(external_wp_element_["useState"])(0),
[35581] Fix | Delete
_useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
[35582] Fix | Delete
currentPage = _useState2[0],
[35583] Fix | Delete
setCurrentPage = _useState2[1];
[35584] Fix | Delete
[35585] Fix | Delete
Object(external_wp_element_["useEffect"])(function () {
[35586] Fix | Delete
if (external_wp_element_["Children"].count(children)) {
[35587] Fix | Delete
external_wp_deprecated_default()('Passing children to <Guide>', {
[35588] Fix | Delete
alternative: 'the `pages` prop'
[35589] Fix | Delete
});
[35590] Fix | Delete
}
[35591] Fix | Delete
}, [children]);
[35592] Fix | Delete
[35593] Fix | Delete
if (external_wp_element_["Children"].count(children)) {
[35594] Fix | Delete
pages = external_wp_element_["Children"].map(children, function (child) {
[35595] Fix | Delete
return {
[35596] Fix | Delete
content: child
[35597] Fix | Delete
};
[35598] Fix | Delete
});
[35599] Fix | Delete
}
[35600] Fix | Delete
[35601] Fix | Delete
var canGoBack = currentPage > 0;
[35602] Fix | Delete
var canGoForward = currentPage < pages.length - 1;
[35603] Fix | Delete
[35604] Fix | Delete
var goBack = function goBack() {
[35605] Fix | Delete
if (canGoBack) {
[35606] Fix | Delete
setCurrentPage(currentPage - 1);
[35607] Fix | Delete
}
[35608] Fix | Delete
};
[35609] Fix | Delete
[35610] Fix | Delete
var goForward = function goForward() {
[35611] Fix | Delete
if (canGoForward) {
[35612] Fix | Delete
setCurrentPage(currentPage + 1);
[35613] Fix | Delete
}
[35614] Fix | Delete
};
[35615] Fix | Delete
[35616] Fix | Delete
if (pages.length === 0) {
[35617] Fix | Delete
return null;
[35618] Fix | Delete
}
[35619] Fix | Delete
[35620] Fix | Delete
return Object(external_wp_element_["createElement"])(modal, {
[35621] Fix | Delete
className: classnames_default()('components-guide', className),
[35622] Fix | Delete
contentLabel: contentLabel,
[35623] Fix | Delete
onRequestClose: onFinish
[35624] Fix | Delete
}, Object(external_wp_element_["createElement"])(keyboard_shortcuts, {
[35625] Fix | Delete
key: currentPage,
[35626] Fix | Delete
shortcuts: {
[35627] Fix | Delete
left: goBack,
[35628] Fix | Delete
right: goForward
[35629] Fix | Delete
}
[35630] Fix | Delete
}), Object(external_wp_element_["createElement"])("div", {
[35631] Fix | Delete
className: "components-guide__container"
[35632] Fix | Delete
}, Object(external_wp_element_["createElement"])("div", {
[35633] Fix | Delete
className: "components-guide__page"
[35634] Fix | Delete
}, pages[currentPage].image, Object(external_wp_element_["createElement"])(PageControl, {
[35635] Fix | Delete
currentPage: currentPage,
[35636] Fix | Delete
numberOfPages: pages.length,
[35637] Fix | Delete
setCurrentPage: setCurrentPage
[35638] Fix | Delete
}), pages[currentPage].content, !canGoForward && Object(external_wp_element_["createElement"])(FinishButton, {
[35639] Fix | Delete
className: "components-guide__inline-finish-button",
[35640] Fix | Delete
onClick: onFinish
[35641] Fix | Delete
}, finishButtonText || Object(external_wp_i18n_["__"])('Finish'))), Object(external_wp_element_["createElement"])("div", {
[35642] Fix | Delete
className: "components-guide__footer"
[35643] Fix | Delete
}, canGoBack && Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
[35644] Fix | Delete
className: "components-guide__back-button",
[35645] Fix | Delete
onClick: goBack
[35646] Fix | Delete
}, Object(external_wp_i18n_["__"])('Previous')), canGoForward && Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
[35647] Fix | Delete
className: "components-guide__forward-button",
[35648] Fix | Delete
onClick: goForward
[35649] Fix | Delete
}, Object(external_wp_i18n_["__"])('Next')), !canGoForward && Object(external_wp_element_["createElement"])(FinishButton, {
[35650] Fix | Delete
className: "components-guide__finish-button",
[35651] Fix | Delete
onClick: onFinish
[35652] Fix | Delete
}, finishButtonText || Object(external_wp_i18n_["__"])('Finish')))));
[35653] Fix | Delete
}
[35654] Fix | Delete
[35655] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/page.js
[35656] Fix | Delete
[35657] Fix | Delete
[35658] Fix | Delete
/**
[35659] Fix | Delete
* WordPress dependencies
[35660] Fix | Delete
*/
[35661] Fix | Delete
[35662] Fix | Delete
[35663] Fix | Delete
function GuidePage(props) {
[35664] Fix | Delete
Object(external_wp_element_["useEffect"])(function () {
[35665] Fix | Delete
external_wp_deprecated_default()('<GuidePage>', {
[35666] Fix | Delete
alternative: 'the `pages` prop in <Guide>'
[35667] Fix | Delete
});
[35668] Fix | Delete
}, []);
[35669] Fix | Delete
return Object(external_wp_element_["createElement"])("div", props);
[35670] Fix | Delete
}
[35671] Fix | Delete
[35672] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/button/deprecated.js
[35673] Fix | Delete
[35674] Fix | Delete
[35675] Fix | Delete
[35676] Fix | Delete
[35677] Fix | Delete
/**
[35678] Fix | Delete
* WordPress dependencies
[35679] Fix | Delete
*/
[35680] Fix | Delete
[35681] Fix | Delete
[35682] Fix | Delete
/**
[35683] Fix | Delete
* Internal dependencies
[35684] Fix | Delete
*/
[35685] Fix | Delete
[35686] Fix | Delete
[35687] Fix | Delete
[35688] Fix | Delete
function IconButton(_ref, ref) {
[35689] Fix | Delete
var labelPosition = _ref.labelPosition,
[35690] Fix | Delete
size = _ref.size,
[35691] Fix | Delete
tooltip = _ref.tooltip,
[35692] Fix | Delete
label = _ref.label,
[35693] Fix | Delete
props = Object(objectWithoutProperties["a" /* default */])(_ref, ["labelPosition", "size", "tooltip", "label"]);
[35694] Fix | Delete
[35695] Fix | Delete
external_wp_deprecated_default()('wp.components.IconButton', {
[35696] Fix | Delete
alternative: 'wp.components.Button'
[35697] Fix | Delete
});
[35698] Fix | Delete
return Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({}, props, {
[35699] Fix | Delete
ref: ref,
[35700] Fix | Delete
tooltipPosition: labelPosition,
[35701] Fix | Delete
iconSize: size,
[35702] Fix | Delete
showTooltip: tooltip !== undefined ? !!tooltip : undefined,
[35703] Fix | Delete
label: tooltip || label
[35704] Fix | Delete
}));
[35705] Fix | Delete
}
[35706] Fix | Delete
[35707] Fix | Delete
/* harmony default export */ var deprecated = (Object(external_wp_element_["forwardRef"])(IconButton));
[35708] Fix | Delete
[35709] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-group/index.js
[35710] Fix | Delete
[35711] Fix | Delete
[35712] Fix | Delete
/**
[35713] Fix | Delete
* External dependencies
[35714] Fix | Delete
*/
[35715] Fix | Delete
[35716] Fix | Delete
/**
[35717] Fix | Delete
* WordPress dependencies
[35718] Fix | Delete
*/
[35719] Fix | Delete
[35720] Fix | Delete
[35721] Fix | Delete
[35722] Fix | Delete
function MenuGroup(_ref) {
[35723] Fix | Delete
var children = _ref.children,
[35724] Fix | Delete
_ref$className = _ref.className,
[35725] Fix | Delete
className = _ref$className === void 0 ? '' : _ref$className,
[35726] Fix | Delete
label = _ref.label;
[35727] Fix | Delete
var instanceId = Object(external_wp_compose_["useInstanceId"])(MenuGroup);
[35728] Fix | Delete
[35729] Fix | Delete
if (!external_wp_element_["Children"].count(children)) {
[35730] Fix | Delete
return null;
[35731] Fix | Delete
}
[35732] Fix | Delete
[35733] Fix | Delete
var labelId = "components-menu-group-label-".concat(instanceId);
[35734] Fix | Delete
var classNames = classnames_default()(className, 'components-menu-group');
[35735] Fix | Delete
return Object(external_wp_element_["createElement"])("div", {
[35736] Fix | Delete
className: classNames
[35737] Fix | Delete
}, label && Object(external_wp_element_["createElement"])("div", {
[35738] Fix | Delete
className: "components-menu-group__label",
[35739] Fix | Delete
id: labelId,
[35740] Fix | Delete
"aria-hidden": "true"
[35741] Fix | Delete
}, label), Object(external_wp_element_["createElement"])("div", {
[35742] Fix | Delete
role: "group",
[35743] Fix | Delete
"aria-labelledby": label ? labelId : null
[35744] Fix | Delete
}, children));
[35745] Fix | Delete
}
[35746] Fix | Delete
/* harmony default export */ var menu_group = (MenuGroup);
[35747] Fix | Delete
[35748] Fix | Delete
// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/shortcut/index.js
[35749] Fix | Delete
var build_module_shortcut = __webpack_require__("Cw+6");
[35750] Fix | Delete
[35751] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-item/index.js
[35752] Fix | Delete
[35753] Fix | Delete
[35754] Fix | Delete
[35755] Fix | Delete
[35756] Fix | Delete
/**
[35757] Fix | Delete
* External dependencies
[35758] Fix | Delete
*/
[35759] Fix | Delete
[35760] Fix | Delete
[35761] Fix | Delete
/**
[35762] Fix | Delete
* WordPress dependencies
[35763] Fix | Delete
*/
[35764] Fix | Delete
[35765] Fix | Delete
[35766] Fix | Delete
/**
[35767] Fix | Delete
* Internal dependencies
[35768] Fix | Delete
*/
[35769] Fix | Delete
[35770] Fix | Delete
[35771] Fix | Delete
[35772] Fix | Delete
[35773] Fix | Delete
/**
[35774] Fix | Delete
* Renders a generic menu item for use inside the more menu.
[35775] Fix | Delete
*
[35776] Fix | Delete
* @param {Object} props Component props.
[35777] Fix | Delete
* @param {WPElement} props.children Element to render as child of button.
[35778] Fix | Delete
* @param {string} props.info Text to use as description for button text.
[35779] Fix | Delete
* @param {string} props.className Class to set on the container.
[35780] Fix | Delete
* @param {WPIcon} props.icon Button's `icon` prop.
[35781] Fix | Delete
* @param {string|Object} props.shortcut Shortcut's `shortcut` prop.
[35782] Fix | Delete
* @param {boolean} props.isSelected Whether or not the menu item is currently selected.
[35783] Fix | Delete
* @param {string} [props.role="menuitem"] ARIA role of the menu item.
[35784] Fix | Delete
* @param {Object} ref React Element ref.
[35785] Fix | Delete
*
[35786] Fix | Delete
* @return {WPComponent} The component to be rendered.
[35787] Fix | Delete
*/
[35788] Fix | Delete
[35789] Fix | Delete
function MenuItem(_ref, ref) {
[35790] Fix | Delete
var children = _ref.children,
[35791] Fix | Delete
info = _ref.info,
[35792] Fix | Delete
className = _ref.className,
[35793] Fix | Delete
icon = _ref.icon,
[35794] Fix | Delete
shortcut = _ref.shortcut,
[35795] Fix | Delete
isSelected = _ref.isSelected,
[35796] Fix | Delete
_ref$role = _ref.role,
[35797] Fix | Delete
role = _ref$role === void 0 ? 'menuitem' : _ref$role,
[35798] Fix | Delete
props = Object(objectWithoutProperties["a" /* default */])(_ref, ["children", "info", "className", "icon", "shortcut", "isSelected", "role"]);
[35799] Fix | Delete
[35800] Fix | Delete
className = classnames_default()('components-menu-item__button', className);
[35801] Fix | Delete
[35802] Fix | Delete
if (info) {
[35803] Fix | Delete
children = Object(external_wp_element_["createElement"])("span", {
[35804] Fix | Delete
className: "components-menu-item__info-wrapper"
[35805] Fix | Delete
}, Object(external_wp_element_["createElement"])("span", {
[35806] Fix | Delete
className: "components-menu-item__item"
[35807] Fix | Delete
}, children), Object(external_wp_element_["createElement"])("span", {
[35808] Fix | Delete
className: "components-menu-item__info"
[35809] Fix | Delete
}, info));
[35810] Fix | Delete
}
[35811] Fix | Delete
[35812] Fix | Delete
if (icon && !Object(external_lodash_["isString"])(icon)) {
[35813] Fix | Delete
icon = Object(external_wp_element_["cloneElement"])(icon, {
[35814] Fix | Delete
className: 'components-menu-items__item-icon'
[35815] Fix | Delete
});
[35816] Fix | Delete
}
[35817] Fix | Delete
[35818] Fix | Delete
return Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({
[35819] Fix | Delete
ref: ref // Make sure aria-checked matches spec https://www.w3.org/TR/wai-aria-1.1/#aria-checked
[35820] Fix | Delete
,
[35821] Fix | Delete
"aria-checked": role === 'menuitemcheckbox' || role === 'menuitemradio' ? isSelected : undefined,
[35822] Fix | Delete
role: role,
[35823] Fix | Delete
className: className
[35824] Fix | Delete
}, props), Object(external_wp_element_["createElement"])("span", {
[35825] Fix | Delete
className: "components-menu-item__item"
[35826] Fix | Delete
}, children), Object(external_wp_element_["createElement"])(build_module_shortcut["a" /* default */], {
[35827] Fix | Delete
className: "components-menu-item__shortcut",
[35828] Fix | Delete
shortcut: shortcut
[35829] Fix | Delete
}), icon && Object(external_wp_element_["createElement"])(components_build_module_icon["a" /* default */], {
[35830] Fix | Delete
icon: icon
[35831] Fix | Delete
}));
[35832] Fix | Delete
}
[35833] Fix | Delete
/* harmony default export */ var menu_item = (Object(external_wp_element_["forwardRef"])(MenuItem));
[35834] Fix | Delete
[35835] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-items-choice/index.js
[35836] Fix | Delete
[35837] Fix | Delete
[35838] Fix | Delete
/**
[35839] Fix | Delete
* External dependencies
[35840] Fix | Delete
*/
[35841] Fix | Delete
[35842] Fix | Delete
/**
[35843] Fix | Delete
* WordPress dependencies
[35844] Fix | Delete
*/
[35845] Fix | Delete
[35846] Fix | Delete
[35847] Fix | Delete
/**
[35848] Fix | Delete
* Internal dependencies
[35849] Fix | Delete
*/
[35850] Fix | Delete
[35851] Fix | Delete
[35852] Fix | Delete
function MenuItemsChoice(_ref) {
[35853] Fix | Delete
var _ref$choices = _ref.choices,
[35854] Fix | Delete
choices = _ref$choices === void 0 ? [] : _ref$choices,
[35855] Fix | Delete
_ref$onHover = _ref.onHover,
[35856] Fix | Delete
onHover = _ref$onHover === void 0 ? external_lodash_["noop"] : _ref$onHover,
[35857] Fix | Delete
onSelect = _ref.onSelect,
[35858] Fix | Delete
value = _ref.value;
[35859] Fix | Delete
return choices.map(function (item) {
[35860] Fix | Delete
var isSelected = value === item.value;
[35861] Fix | Delete
return Object(external_wp_element_["createElement"])(menu_item, {
[35862] Fix | Delete
key: item.value,
[35863] Fix | Delete
role: "menuitemradio",
[35864] Fix | Delete
icon: isSelected && check["a" /* default */],
[35865] Fix | Delete
info: item.info,
[35866] Fix | Delete
isSelected: isSelected,
[35867] Fix | Delete
shortcut: item.shortcut,
[35868] Fix | Delete
className: "components-menu-items-choice",
[35869] Fix | Delete
onClick: function onClick() {
[35870] Fix | Delete
if (!isSelected) {
[35871] Fix | Delete
onSelect(item.value);
[35872] Fix | Delete
}
[35873] Fix | Delete
},
[35874] Fix | Delete
onMouseEnter: function onMouseEnter() {
[35875] Fix | Delete
return onHover(item.value);
[35876] Fix | Delete
},
[35877] Fix | Delete
onMouseLeave: function onMouseLeave() {
[35878] Fix | Delete
return onHover(null);
[35879] Fix | Delete
}
[35880] Fix | Delete
}, item.label);
[35881] Fix | Delete
});
[35882] Fix | Delete
}
[35883] Fix | Delete
[35884] Fix | Delete
// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/scroll-lock/index.js
[35885] Fix | Delete
var scroll_lock = __webpack_require__("k8OV");
[35886] Fix | Delete
[35887] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigable-container/tabbable.js
[35888] Fix | Delete
[35889] Fix | Delete
[35890] Fix | Delete
[35891] Fix | Delete
[35892] Fix | Delete
/**
[35893] Fix | Delete
* WordPress dependencies
[35894] Fix | Delete
*/
[35895] Fix | Delete
[35896] Fix | Delete
[35897] Fix | Delete
/**
[35898] Fix | Delete
* Internal dependencies
[35899] Fix | Delete
*/
[35900] Fix | Delete
[35901] Fix | Delete
[35902] Fix | Delete
function TabbableContainer(_ref, ref) {
[35903] Fix | Delete
var eventToOffset = _ref.eventToOffset,
[35904] Fix | Delete
props = Object(objectWithoutProperties["a" /* default */])(_ref, ["eventToOffset"]);
[35905] Fix | Delete
[35906] Fix | Delete
var innerEventToOffset = function innerEventToOffset(evt) {
[35907] Fix | Delete
var keyCode = evt.keyCode,
[35908] Fix | Delete
shiftKey = evt.shiftKey;
[35909] Fix | Delete
[35910] Fix | Delete
if (external_wp_keycodes_["TAB"] === keyCode) {
[35911] Fix | Delete
return shiftKey ? -1 : 1;
[35912] Fix | Delete
} // Allow custom handling of keys besides Tab.
[35913] Fix | Delete
//
[35914] Fix | Delete
// By default, TabbableContainer will move focus forward on Tab and
[35915] Fix | Delete
// backward on Shift+Tab. The handler below will be used for all other
[35916] Fix | Delete
// events. The semantics for `eventToOffset`'s return
[35917] Fix | Delete
// values are the following:
[35918] Fix | Delete
//
[35919] Fix | Delete
// - +1: move focus forward
[35920] Fix | Delete
// - -1: move focus backward
[35921] Fix | Delete
// - 0: don't move focus, but acknowledge event and thus stop it
[35922] Fix | Delete
// - undefined: do nothing, let the event propagate
[35923] Fix | Delete
[35924] Fix | Delete
[35925] Fix | Delete
if (eventToOffset) {
[35926] Fix | Delete
return eventToOffset(evt);
[35927] Fix | Delete
}
[35928] Fix | Delete
};
[35929] Fix | Delete
[35930] Fix | Delete
return Object(external_wp_element_["createElement"])(navigable_container_container, Object(esm_extends["a" /* default */])({
[35931] Fix | Delete
ref: ref,
[35932] Fix | Delete
stopNavigationEvents: true,
[35933] Fix | Delete
onlyBrowserTabstops: true,
[35934] Fix | Delete
eventToOffset: innerEventToOffset
[35935] Fix | Delete
}, props));
[35936] Fix | Delete
}
[35937] Fix | Delete
/* harmony default export */ var tabbable = (Object(external_wp_element_["forwardRef"])(TabbableContainer));
[35938] Fix | Delete
[35939] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/constants.js
[35940] Fix | Delete
var ROOT_MENU = 'root';
[35941] Fix | Delete
var SEARCH_FOCUS_DELAY = 100;
[35942] Fix | Delete
[35943] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/context.js
[35944] Fix | Delete
/**
[35945] Fix | Delete
* External dependencies
[35946] Fix | Delete
*/
[35947] Fix | Delete
[35948] Fix | Delete
/**
[35949] Fix | Delete
* WordPress dependencies
[35950] Fix | Delete
*/
[35951] Fix | Delete
[35952] Fix | Delete
[35953] Fix | Delete
/**
[35954] Fix | Delete
* Internal dependencies
[35955] Fix | Delete
*/
[35956] Fix | Delete
[35957] Fix | Delete
[35958] Fix | Delete
var NavigationContext = Object(external_wp_element_["createContext"])({
[35959] Fix | Delete
activeItem: undefined,
[35960] Fix | Delete
activeMenu: ROOT_MENU,
[35961] Fix | Delete
setActiveMenu: external_lodash_["noop"],
[35962] Fix | Delete
isMenuEmpty: external_lodash_["noop"],
[35963] Fix | Delete
navigationTree: {
[35964] Fix | Delete
items: {},
[35965] Fix | Delete
getItem: external_lodash_["noop"],
[35966] Fix | Delete
addItem: external_lodash_["noop"],
[35967] Fix | Delete
removeItem: external_lodash_["noop"],
[35968] Fix | Delete
menus: {},
[35969] Fix | Delete
getMenu: external_lodash_["noop"],
[35970] Fix | Delete
addMenu: external_lodash_["noop"],
[35971] Fix | Delete
removeMenu: external_lodash_["noop"],
[35972] Fix | Delete
childMenu: {},
[35973] Fix | Delete
traverseMenu: external_lodash_["noop"],
[35974] Fix | Delete
isMenuEmpty: external_lodash_["noop"]
[35975] Fix | Delete
}
[35976] Fix | Delete
});
[35977] Fix | Delete
var context_useNavigationContext = function useNavigationContext() {
[35978] Fix | Delete
return Object(external_wp_element_["useContext"])(NavigationContext);
[35979] Fix | Delete
};
[35980] Fix | Delete
[35981] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/styles/navigation-styles.js
[35982] Fix | Delete
[35983] Fix | Delete
[35984] Fix | Delete
function navigation_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
[35985] Fix | Delete
[35986] Fix | Delete
/**
[35987] Fix | Delete
* WordPress dependencies
[35988] Fix | Delete
*/
[35989] Fix | Delete
[35990] Fix | Delete
/**
[35991] Fix | Delete
* Internal dependencies
[35992] Fix | Delete
*/
[35993] Fix | Delete
[35994] Fix | Delete
[35995] Fix | Delete
[35996] Fix | Delete
[35997] Fix | Delete
[35998] Fix | Delete
var NavigationUI = styled_base_browser_esm("div", {
[35999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function