Edit File by line
/home/barbar84/www/wp-inclu.../js/dist
File: components.js
[14000] Fix | Delete
[14001] Fix | Delete
[14002] Fix | Delete
function next_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
[14003] Fix | Delete
[14004] Fix | Delete
function next_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { next_ownKeys(Object(source), true).forEach(function (key) { Object(esm_defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { next_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
[14005] Fix | Delete
[14006] Fix | Delete
/**
[14007] Fix | Delete
* Internal dependencies
[14008] Fix | Delete
*/
[14009] Fix | Delete
[14010] Fix | Delete
[14011] Fix | Delete
[14012] Fix | Delete
var Text = false ? undefined : undefined;
[14013] Fix | Delete
/**
[14014] Fix | Delete
* @typedef AdaptedTextProps
[14015] Fix | Delete
* @property {keyof JSX.IntrinsicElements} as Styled components `as` prop.
[14016] Fix | Delete
* @property {import('./styles/text-mixins').TextVariant} variant The variant to render.
[14017] Fix | Delete
* @property {import('react').ReactNode} children Children to render.
[14018] Fix | Delete
* @property {string} [className] Classname to render on the element.
[14019] Fix | Delete
*/
[14020] Fix | Delete
[14021] Fix | Delete
/**
[14022] Fix | Delete
* @param {AdaptedTextProps} props
[14023] Fix | Delete
*/
[14024] Fix | Delete
[14025] Fix | Delete
var next_adapter = function adapter(_ref) {
[14026] Fix | Delete
var as = _ref.as,
[14027] Fix | Delete
variant = _ref.variant,
[14028] Fix | Delete
restProps = Object(objectWithoutProperties["a" /* default */])(_ref, ["as", "variant"]);
[14029] Fix | Delete
[14030] Fix | Delete
return next_objectSpread({
[14031] Fix | Delete
// as has not changed
[14032] Fix | Delete
as: as,
[14033] Fix | Delete
// luckily `text` just returns an emotion CSS object, so we can pass the styles from that directly to the handy `css` prop
[14034] Fix | Delete
css: text_mixins_text({
[14035] Fix | Delete
variant: variant
[14036] Fix | Delete
}).styles
[14037] Fix | Delete
}, restProps);
[14038] Fix | Delete
};
[14039] Fix | Delete
/* eslint-disable jsdoc/valid-types */
[14040] Fix | Delete
[14041] Fix | Delete
/**
[14042] Fix | Delete
* @param {import('react').ComponentType<AdaptedTextProps>} Current
[14043] Fix | Delete
*/
[14044] Fix | Delete
[14045] Fix | Delete
/* eslint-enable jsdoc/valid-types */
[14046] Fix | Delete
[14047] Fix | Delete
function withNextComponent(Current) {
[14048] Fix | Delete
return withNext(Current, Text, 'WPComponentsText', next_adapter);
[14049] Fix | Delete
}
[14050] Fix | Delete
[14051] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text/index.js
[14052] Fix | Delete
[14053] Fix | Delete
[14054] Fix | Delete
/**
[14055] Fix | Delete
* Internal dependencies
[14056] Fix | Delete
*/
[14057] Fix | Delete
[14058] Fix | Delete
[14059] Fix | Delete
[14060] Fix | Delete
var text_Text = styled_base_browser_esm("p", {
[14061] Fix | Delete
target: "e15wbhsk0",
[14062] Fix | Delete
label: "Text"
[14063] Fix | Delete
})("\n\tbox-sizing: border-box;\n\tmargin: 0;\n", text_mixins_text, true ? "" : undefined);
[14064] Fix | Delete
[14065] Fix | Delete
/* harmony default export */ var build_module_text = (withNextComponent(text_Text));
[14066] Fix | Delete
[14067] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/rtl.js
[14068] Fix | Delete
/**
[14069] Fix | Delete
* External dependencies
[14070] Fix | Delete
*/
[14071] Fix | Delete
[14072] Fix | Delete
[14073] Fix | Delete
/**
[14074] Fix | Delete
* WordPress dependencies
[14075] Fix | Delete
*/
[14076] Fix | Delete
[14077] Fix | Delete
[14078] Fix | Delete
var LOWER_LEFT_REGEXP = new RegExp(/-left/g);
[14079] Fix | Delete
var LOWER_RIGHT_REGEXP = new RegExp(/-right/g);
[14080] Fix | Delete
var UPPER_LEFT_REGEXP = new RegExp(/Left/g);
[14081] Fix | Delete
var UPPER_RIGHT_REGEXP = new RegExp(/Right/g);
[14082] Fix | Delete
/**
[14083] Fix | Delete
* Flips a CSS property from left <-> right.
[14084] Fix | Delete
*
[14085] Fix | Delete
* @param {string} key The CSS property name.
[14086] Fix | Delete
*
[14087] Fix | Delete
* @return {string} The flipped CSS property name, if applicable.
[14088] Fix | Delete
*/
[14089] Fix | Delete
[14090] Fix | Delete
function getConvertedKey(key) {
[14091] Fix | Delete
if (key === 'left') {
[14092] Fix | Delete
return 'right';
[14093] Fix | Delete
}
[14094] Fix | Delete
[14095] Fix | Delete
if (key === 'right') {
[14096] Fix | Delete
return 'left';
[14097] Fix | Delete
}
[14098] Fix | Delete
[14099] Fix | Delete
if (LOWER_LEFT_REGEXP.test(key)) {
[14100] Fix | Delete
return key.replace(LOWER_LEFT_REGEXP, '-right');
[14101] Fix | Delete
}
[14102] Fix | Delete
[14103] Fix | Delete
if (LOWER_RIGHT_REGEXP.test(key)) {
[14104] Fix | Delete
return key.replace(LOWER_RIGHT_REGEXP, '-left');
[14105] Fix | Delete
}
[14106] Fix | Delete
[14107] Fix | Delete
if (UPPER_LEFT_REGEXP.test(key)) {
[14108] Fix | Delete
return key.replace(UPPER_LEFT_REGEXP, 'Right');
[14109] Fix | Delete
}
[14110] Fix | Delete
[14111] Fix | Delete
if (UPPER_RIGHT_REGEXP.test(key)) {
[14112] Fix | Delete
return key.replace(UPPER_RIGHT_REGEXP, 'Left');
[14113] Fix | Delete
}
[14114] Fix | Delete
[14115] Fix | Delete
return key;
[14116] Fix | Delete
}
[14117] Fix | Delete
/**
[14118] Fix | Delete
* An incredibly basic ltr -> rtl converter for style properties
[14119] Fix | Delete
*
[14120] Fix | Delete
* @param {import('react').CSSProperties} ltrStyles
[14121] Fix | Delete
*
[14122] Fix | Delete
* @return {import('react').CSSProperties} Converted ltr -> rtl styles
[14123] Fix | Delete
*/
[14124] Fix | Delete
[14125] Fix | Delete
[14126] Fix | Delete
var rtl_convertLTRToRTL = function convertLTRToRTL() {
[14127] Fix | Delete
var ltrStyles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
[14128] Fix | Delete
return Object(external_lodash_["mapKeys"])(ltrStyles, function (_value, key) {
[14129] Fix | Delete
return getConvertedKey(key);
[14130] Fix | Delete
});
[14131] Fix | Delete
};
[14132] Fix | Delete
/**
[14133] Fix | Delete
* A higher-order function that create an incredibly basic ltr -> rtl style converter for CSS objects.
[14134] Fix | Delete
*
[14135] Fix | Delete
* @param {import('react').CSSProperties} ltrStyles Ltr styles. Converts and renders from ltr -> rtl styles, if applicable.
[14136] Fix | Delete
* @param {import('react').CSSProperties} [rtlStyles] Rtl styles. Renders if provided.
[14137] Fix | Delete
*
[14138] Fix | Delete
* @return {Function} A function to output CSS styles for Emotion's renderer
[14139] Fix | Delete
*/
[14140] Fix | Delete
[14141] Fix | Delete
function rtl_rtl() {
[14142] Fix | Delete
var ltrStyles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
[14143] Fix | Delete
var rtlStyles = arguments.length > 1 ? arguments[1] : undefined;
[14144] Fix | Delete
return function () {
[14145] Fix | Delete
if (rtlStyles) {
[14146] Fix | Delete
// @ts-ignore: `css` types are wrong, it can accept an object: https://emotion.sh/docs/object-styles#with-css
[14147] Fix | Delete
return Object(external_wp_i18n_["isRTL"])() ? /*#__PURE__*/Object(core_browser_esm["b" /* css */])(rtlStyles, true ? "" : undefined) : /*#__PURE__*/Object(core_browser_esm["b" /* css */])(ltrStyles, true ? "" : undefined);
[14148] Fix | Delete
} // @ts-ignore: `css` types are wrong, it can accept an object: https://emotion.sh/docs/object-styles#with-css
[14149] Fix | Delete
[14150] Fix | Delete
[14151] Fix | Delete
return Object(external_wp_i18n_["isRTL"])() ? /*#__PURE__*/Object(core_browser_esm["b" /* css */])(rtl_convertLTRToRTL(ltrStyles), true ? "" : undefined) : /*#__PURE__*/Object(core_browser_esm["b" /* css */])(ltrStyles, true ? "" : undefined);
[14152] Fix | Delete
};
[14153] Fix | Delete
}
[14154] Fix | Delete
[14155] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/styles/input-control-styles.js
[14156] Fix | Delete
[14157] Fix | Delete
[14158] Fix | Delete
[14159] Fix | Delete
[14160] Fix | Delete
function input_control_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)."; }
[14161] Fix | Delete
[14162] Fix | Delete
/**
[14163] Fix | Delete
* External dependencies
[14164] Fix | Delete
*/
[14165] Fix | Delete
[14166] Fix | Delete
[14167] Fix | Delete
/**
[14168] Fix | Delete
* Internal dependencies
[14169] Fix | Delete
*/
[14170] Fix | Delete
[14171] Fix | Delete
[14172] Fix | Delete
[14173] Fix | Delete
[14174] Fix | Delete
var input_control_styles_ref = true ? {
[14175] Fix | Delete
name: "1dacand",
[14176] Fix | Delete
styles: "padding-top:0;"
[14177] Fix | Delete
} : undefined;
[14178] Fix | Delete
[14179] Fix | Delete
var rootFloatLabelStyles = function rootFloatLabelStyles() {
[14180] Fix | Delete
return input_control_styles_ref;
[14181] Fix | Delete
};
[14182] Fix | Delete
[14183] Fix | Delete
var input_control_styles_ref2 = true ? {
[14184] Fix | Delete
name: "r6z5ec",
[14185] Fix | Delete
styles: "z-index:1;"
[14186] Fix | Delete
} : undefined;
[14187] Fix | Delete
[14188] Fix | Delete
var rootFocusedStyles = function rootFocusedStyles(_ref9) {
[14189] Fix | Delete
var isFocused = _ref9.isFocused;
[14190] Fix | Delete
if (!isFocused) return '';
[14191] Fix | Delete
return input_control_styles_ref2;
[14192] Fix | Delete
};
[14193] Fix | Delete
[14194] Fix | Delete
var input_control_styles_ref3 = true ? {
[14195] Fix | Delete
name: "uz6002",
[14196] Fix | Delete
styles: "align-items:flex-start;flex-direction:column;"
[14197] Fix | Delete
} : undefined;
[14198] Fix | Delete
[14199] Fix | Delete
var input_control_styles_ref4 = true ? {
[14200] Fix | Delete
name: "53hdd7",
[14201] Fix | Delete
styles: "align-items:flex-start;flex-direction:column-reverse;"
[14202] Fix | Delete
} : undefined;
[14203] Fix | Delete
[14204] Fix | Delete
var input_control_styles_ref5 = true ? {
[14205] Fix | Delete
name: "x4dmss",
[14206] Fix | Delete
styles: "justify-content:space-between;"
[14207] Fix | Delete
} : undefined;
[14208] Fix | Delete
[14209] Fix | Delete
var rootLabelPositionStyles = function rootLabelPositionStyles(_ref10) {
[14210] Fix | Delete
var labelPosition = _ref10.labelPosition;
[14211] Fix | Delete
[14212] Fix | Delete
switch (labelPosition) {
[14213] Fix | Delete
case 'top':
[14214] Fix | Delete
return input_control_styles_ref3;
[14215] Fix | Delete
[14216] Fix | Delete
case 'bottom':
[14217] Fix | Delete
return input_control_styles_ref4;
[14218] Fix | Delete
[14219] Fix | Delete
case 'edge':
[14220] Fix | Delete
return input_control_styles_ref5;
[14221] Fix | Delete
[14222] Fix | Delete
default:
[14223] Fix | Delete
return '';
[14224] Fix | Delete
}
[14225] Fix | Delete
};
[14226] Fix | Delete
[14227] Fix | Delete
var input_control_styles_Root = /*#__PURE__*/styled_base_browser_esm(flex, {
[14228] Fix | Delete
target: "e1cr7zh10",
[14229] Fix | Delete
label: "Root"
[14230] Fix | Delete
})("position:relative;border-radius:2px;", rootFloatLabelStyles, " ", rootFocusedStyles, " ", rootLabelPositionStyles, true ? "" : undefined);
[14231] Fix | Delete
[14232] Fix | Delete
var input_control_styles_containerDisabledStyles = function containerDisabledStyles(_ref11) {
[14233] Fix | Delete
var disabled = _ref11.disabled;
[14234] Fix | Delete
var backgroundColor = disabled ? colors_color('ui.backgroundDisabled') : colors_color('ui.background');
[14235] Fix | Delete
return /*#__PURE__*/Object(core_browser_esm["b" /* css */])({
[14236] Fix | Delete
backgroundColor: backgroundColor
[14237] Fix | Delete
}, true ? "" : undefined);
[14238] Fix | Delete
};
[14239] Fix | Delete
[14240] Fix | Delete
var input_control_styles_ref6 = true ? {
[14241] Fix | Delete
name: "8atqhb",
[14242] Fix | Delete
styles: "width:100%;"
[14243] Fix | Delete
} : undefined;
[14244] Fix | Delete
[14245] Fix | Delete
var input_control_styles_containerWidthStyles = function containerWidthStyles(_ref12) {
[14246] Fix | Delete
var __unstableInputWidth = _ref12.__unstableInputWidth,
[14247] Fix | Delete
labelPosition = _ref12.labelPosition;
[14248] Fix | Delete
if (!__unstableInputWidth) return input_control_styles_ref6;
[14249] Fix | Delete
if (labelPosition === 'side') return '';
[14250] Fix | Delete
[14251] Fix | Delete
if (labelPosition === 'edge') {
[14252] Fix | Delete
return /*#__PURE__*/Object(core_browser_esm["b" /* css */])({
[14253] Fix | Delete
flex: "0 0 ".concat(__unstableInputWidth)
[14254] Fix | Delete
}, true ? "" : undefined);
[14255] Fix | Delete
}
[14256] Fix | Delete
[14257] Fix | Delete
return /*#__PURE__*/Object(core_browser_esm["b" /* css */])({
[14258] Fix | Delete
width: __unstableInputWidth
[14259] Fix | Delete
}, true ? "" : undefined);
[14260] Fix | Delete
};
[14261] Fix | Delete
[14262] Fix | Delete
var Container = styled_base_browser_esm("div", {
[14263] Fix | Delete
target: "e1cr7zh11",
[14264] Fix | Delete
label: "Container"
[14265] Fix | Delete
})("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;", input_control_styles_containerDisabledStyles, " ", input_control_styles_containerWidthStyles, true ? "" : undefined);
[14266] Fix | Delete
[14267] Fix | Delete
var input_control_styles_disabledStyles = function disabledStyles(_ref13) {
[14268] Fix | Delete
var disabled = _ref13.disabled;
[14269] Fix | Delete
if (!disabled) return '';
[14270] Fix | Delete
return /*#__PURE__*/Object(core_browser_esm["b" /* css */])({
[14271] Fix | Delete
color: colors_color('ui.textDisabled')
[14272] Fix | Delete
}, true ? "" : undefined);
[14273] Fix | Delete
};
[14274] Fix | Delete
[14275] Fix | Delete
var input_control_styles_fontSizeStyles = function fontSizeStyles(_ref14) {
[14276] Fix | Delete
var size = _ref14.size;
[14277] Fix | Delete
var sizes = {
[14278] Fix | Delete
default: '13px',
[14279] Fix | Delete
small: '11px'
[14280] Fix | Delete
};
[14281] Fix | Delete
var fontSize = sizes[size];
[14282] Fix | Delete
var fontSizeMobile = '16px';
[14283] Fix | Delete
if (!fontSize) return '';
[14284] Fix | Delete
return /*#__PURE__*/Object(core_browser_esm["b" /* css */])("font-size:", fontSizeMobile, ";@media ( min-width:600px ){font-size:", fontSize, ";}" + ( true ? "" : undefined));
[14285] Fix | Delete
};
[14286] Fix | Delete
[14287] Fix | Delete
var input_control_styles_sizeStyles = function sizeStyles(_ref15) {
[14288] Fix | Delete
var size = _ref15.size;
[14289] Fix | Delete
var sizes = {
[14290] Fix | Delete
default: {
[14291] Fix | Delete
height: 30,
[14292] Fix | Delete
lineHeight: 1,
[14293] Fix | Delete
minHeight: 30
[14294] Fix | Delete
},
[14295] Fix | Delete
small: {
[14296] Fix | Delete
height: 24,
[14297] Fix | Delete
lineHeight: 1,
[14298] Fix | Delete
minHeight: 24
[14299] Fix | Delete
}
[14300] Fix | Delete
};
[14301] Fix | Delete
var style = sizes[size] || sizes.default;
[14302] Fix | Delete
return /*#__PURE__*/Object(core_browser_esm["b" /* css */])(style, true ? "" : undefined);
[14303] Fix | Delete
};
[14304] Fix | Delete
[14305] Fix | Delete
var input_control_styles_ref7 = true ? {
[14306] Fix | Delete
name: "103r1kr",
[14307] Fix | Delete
styles: "&::-webkit-input-placeholder{line-height:normal;}"
[14308] Fix | Delete
} : undefined;
[14309] Fix | Delete
[14310] Fix | Delete
var placeholderStyles = function placeholderStyles() {
[14311] Fix | Delete
return input_control_styles_ref7;
[14312] Fix | Delete
};
[14313] Fix | Delete
[14314] Fix | Delete
var input_control_styles_dragStyles = function dragStyles(_ref16) {
[14315] Fix | Delete
var isDragging = _ref16.isDragging,
[14316] Fix | Delete
dragCursor = _ref16.dragCursor;
[14317] Fix | Delete
var defaultArrowStyles = '';
[14318] Fix | Delete
var activeDragCursorStyles = '';
[14319] Fix | Delete
[14320] Fix | Delete
if (isDragging) {
[14321] Fix | Delete
defaultArrowStyles = /*#__PURE__*/Object(core_browser_esm["b" /* css */])("cursor:", dragCursor, ";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none !important;margin:0 !important;}" + ( true ? "" : undefined));
[14322] Fix | Delete
}
[14323] Fix | Delete
[14324] Fix | Delete
if (isDragging && dragCursor) {
[14325] Fix | Delete
activeDragCursorStyles = /*#__PURE__*/Object(core_browser_esm["b" /* css */])("&:active{cursor:", dragCursor, ";}" + ( true ? "" : undefined));
[14326] Fix | Delete
}
[14327] Fix | Delete
[14328] Fix | Delete
return /*#__PURE__*/Object(core_browser_esm["b" /* css */])(defaultArrowStyles, " ", activeDragCursorStyles, true ? "" : undefined);
[14329] Fix | Delete
}; // TODO: Resolve need to use &&& to increase specificity
[14330] Fix | Delete
// https://github.com/WordPress/gutenberg/issues/18483
[14331] Fix | Delete
[14332] Fix | Delete
[14333] Fix | Delete
var input_control_styles_Input = styled_base_browser_esm("input", {
[14334] Fix | Delete
target: "e1cr7zh12",
[14335] Fix | Delete
label: "Input"
[14336] Fix | Delete
})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none !important;color:", colors_color('black'), ";display:block;margin:0;outline:none;padding-left:8px;padding-right:8px;width:100%;", input_control_styles_dragStyles, " ", input_control_styles_disabledStyles, " ", input_control_styles_fontSizeStyles, " ", input_control_styles_sizeStyles, " ", placeholderStyles, "}" + ( true ? "" : undefined));
[14337] Fix | Delete
[14338] Fix | Delete
var input_control_styles_ref8 = true ? {
[14339] Fix | Delete
name: "8uhtka",
[14340] Fix | Delete
styles: "overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"
[14341] Fix | Delete
} : undefined;
[14342] Fix | Delete
[14343] Fix | Delete
var labelTruncation = function labelTruncation() {
[14344] Fix | Delete
return input_control_styles_ref8;
[14345] Fix | Delete
};
[14346] Fix | Delete
[14347] Fix | Delete
var input_control_styles_labelPadding = function labelPadding(_ref17) {
[14348] Fix | Delete
var labelPosition = _ref17.labelPosition;
[14349] Fix | Delete
var paddingBottom = 4;
[14350] Fix | Delete
[14351] Fix | Delete
if (labelPosition === 'edge' || labelPosition === 'side') {
[14352] Fix | Delete
paddingBottom = 0;
[14353] Fix | Delete
}
[14354] Fix | Delete
[14355] Fix | Delete
return /*#__PURE__*/Object(core_browser_esm["b" /* css */])({
[14356] Fix | Delete
paddingTop: 0,
[14357] Fix | Delete
paddingBottom: paddingBottom
[14358] Fix | Delete
}, true ? "" : undefined);
[14359] Fix | Delete
};
[14360] Fix | Delete
[14361] Fix | Delete
var BaseLabel = /*#__PURE__*/styled_base_browser_esm(build_module_text, {
[14362] Fix | Delete
target: "e1cr7zh13",
[14363] Fix | Delete
label: "BaseLabel"
[14364] Fix | Delete
})("&&&{box-sizing:border-box;color:currentColor;display:block;margin:0;max-width:100%;z-index:1;", input_control_styles_labelPadding, " ", labelTruncation, "}" + ( true ? "" : undefined));
[14365] Fix | Delete
[14366] Fix | Delete
var input_control_styles_Label = function Label(props) {
[14367] Fix | Delete
return Object(external_wp_element_["createElement"])(BaseLabel, Object(esm_extends["a" /* default */])({}, props, {
[14368] Fix | Delete
as: "label"
[14369] Fix | Delete
}));
[14370] Fix | Delete
};
[14371] Fix | Delete
var LabelWrapper = /*#__PURE__*/styled_base_browser_esm(flex_item, {
[14372] Fix | Delete
target: "e1cr7zh14",
[14373] Fix | Delete
label: "LabelWrapper"
[14374] Fix | Delete
})( true ? {
[14375] Fix | Delete
name: "120o8im",
[14376] Fix | Delete
styles: "max-width:calc( 100% - 10px );"
[14377] Fix | Delete
} : undefined);
[14378] Fix | Delete
[14379] Fix | Delete
var input_control_styles_backdropFocusedStyles = function backdropFocusedStyles(_ref18) {
[14380] Fix | Delete
var disabled = _ref18.disabled,
[14381] Fix | Delete
isFocused = _ref18.isFocused;
[14382] Fix | Delete
var borderColor = isFocused ? colors_color('ui.borderFocus') : colors_color('ui.border');
[14383] Fix | Delete
var boxShadow = null;
[14384] Fix | Delete
[14385] Fix | Delete
if (isFocused) {
[14386] Fix | Delete
boxShadow = "0 0 0 1px ".concat(colors_color('ui.borderFocus'), " inset");
[14387] Fix | Delete
}
[14388] Fix | Delete
[14389] Fix | Delete
if (disabled) {
[14390] Fix | Delete
borderColor = colors_color('ui.borderDisabled');
[14391] Fix | Delete
}
[14392] Fix | Delete
[14393] Fix | Delete
return /*#__PURE__*/Object(core_browser_esm["b" /* css */])({
[14394] Fix | Delete
boxShadow: boxShadow,
[14395] Fix | Delete
borderColor: borderColor,
[14396] Fix | Delete
borderStyle: 'solid',
[14397] Fix | Delete
borderWidth: 1
[14398] Fix | Delete
}, true ? "" : undefined);
[14399] Fix | Delete
};
[14400] Fix | Delete
[14401] Fix | Delete
var BackdropUI = styled_base_browser_esm("div", {
[14402] Fix | Delete
target: "e1cr7zh15",
[14403] Fix | Delete
label: "BackdropUI"
[14404] Fix | Delete
})("&&&{box-sizing:border-box;border-radius:inherit;bottom:0;left:0;margin:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;", input_control_styles_backdropFocusedStyles, " ", rtl_rtl({
[14405] Fix | Delete
paddingLeft: 2
[14406] Fix | Delete
}), "}" + ( true ? "" : undefined));
[14407] Fix | Delete
var Prefix = styled_base_browser_esm("span", {
[14408] Fix | Delete
target: "e1cr7zh16",
[14409] Fix | Delete
label: "Prefix"
[14410] Fix | Delete
})( true ? {
[14411] Fix | Delete
name: "1pxuk39",
[14412] Fix | Delete
styles: "box-sizing:border-box;display:block;"
[14413] Fix | Delete
} : undefined);
[14414] Fix | Delete
var Suffix = styled_base_browser_esm("span", {
[14415] Fix | Delete
target: "e1cr7zh17",
[14416] Fix | Delete
label: "Suffix"
[14417] Fix | Delete
})( true ? {
[14418] Fix | Delete
name: "1pxuk39",
[14419] Fix | Delete
styles: "box-sizing:border-box;display:block;"
[14420] Fix | Delete
} : undefined);
[14421] Fix | Delete
[14422] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/backdrop.js
[14423] Fix | Delete
[14424] Fix | Delete
[14425] Fix | Delete
/**
[14426] Fix | Delete
* WordPress dependencies
[14427] Fix | Delete
*/
[14428] Fix | Delete
[14429] Fix | Delete
/**
[14430] Fix | Delete
* Internal dependencies
[14431] Fix | Delete
*/
[14432] Fix | Delete
[14433] Fix | Delete
[14434] Fix | Delete
[14435] Fix | Delete
function Backdrop(_ref) {
[14436] Fix | Delete
var _ref$disabled = _ref.disabled,
[14437] Fix | Delete
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
[14438] Fix | Delete
_ref$isFocused = _ref.isFocused,
[14439] Fix | Delete
isFocused = _ref$isFocused === void 0 ? false : _ref$isFocused;
[14440] Fix | Delete
return Object(external_wp_element_["createElement"])(BackdropUI, {
[14441] Fix | Delete
"aria-hidden": "true",
[14442] Fix | Delete
className: "components-input-control__backdrop",
[14443] Fix | Delete
disabled: disabled,
[14444] Fix | Delete
isFocused: isFocused
[14445] Fix | Delete
});
[14446] Fix | Delete
}
[14447] Fix | Delete
[14448] Fix | Delete
var MemoizedBackdrop = Object(external_wp_element_["memo"])(Backdrop);
[14449] Fix | Delete
/* harmony default export */ var backdrop = (MemoizedBackdrop);
[14450] Fix | Delete
[14451] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/label.js
[14452] Fix | Delete
[14453] Fix | Delete
[14454] Fix | Delete
[14455] Fix | Delete
[14456] Fix | Delete
/**
[14457] Fix | Delete
* Internal dependencies
[14458] Fix | Delete
*/
[14459] Fix | Delete
[14460] Fix | Delete
[14461] Fix | Delete
function label_Label(_ref) {
[14462] Fix | Delete
var children = _ref.children,
[14463] Fix | Delete
hideLabelFromVision = _ref.hideLabelFromVision,
[14464] Fix | Delete
htmlFor = _ref.htmlFor,
[14465] Fix | Delete
props = Object(objectWithoutProperties["a" /* default */])(_ref, ["children", "hideLabelFromVision", "htmlFor"]);
[14466] Fix | Delete
[14467] Fix | Delete
if (!children) return null;
[14468] Fix | Delete
[14469] Fix | Delete
if (hideLabelFromVision) {
[14470] Fix | Delete
return Object(external_wp_element_["createElement"])(visually_hidden["a" /* default */], {
[14471] Fix | Delete
as: "label",
[14472] Fix | Delete
htmlFor: htmlFor
[14473] Fix | Delete
}, children);
[14474] Fix | Delete
}
[14475] Fix | Delete
[14476] Fix | Delete
return Object(external_wp_element_["createElement"])(input_control_styles_Label, Object(esm_extends["a" /* default */])({
[14477] Fix | Delete
htmlFor: htmlFor
[14478] Fix | Delete
}, props), children);
[14479] Fix | Delete
}
[14480] Fix | Delete
[14481] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/input-base.js
[14482] Fix | Delete
[14483] Fix | Delete
[14484] Fix | Delete
[14485] Fix | Delete
[14486] Fix | Delete
/**
[14487] Fix | Delete
* WordPress dependencies
[14488] Fix | Delete
*/
[14489] Fix | Delete
[14490] Fix | Delete
[14491] Fix | Delete
/**
[14492] Fix | Delete
* Internal dependencies
[14493] Fix | Delete
*/
[14494] Fix | Delete
[14495] Fix | Delete
[14496] Fix | Delete
[14497] Fix | Delete
[14498] Fix | Delete
[14499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function