@wordpress/block-editor
Version:
53 lines (51 loc) • 2.01 kB
JavaScript
;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// packages/block-editor/src/components/floating-toolbar/nav-up-icon.js
var nav_up_icon_exports = {};
__export(nav_up_icon_exports, {
default: () => nav_up_icon_default
});
module.exports = __toCommonJS(nav_up_icon_exports);
var import_components = require("@wordpress/components");
var import_i18n = require("@wordpress/i18n");
var import_jsx_runtime = require("react/jsx-runtime");
var NavigateUp = () => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
import_components.SVG,
{
width: "24",
height: "24",
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Path, { fill: "none", d: "M0 0h24v24H0V0z" }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
import_components.Path,
{
fill: "white",
fillRule: "evenodd",
clipRule: "evenodd",
d: "M17,11 z L15.58,12.42 L12,8.83 L12,18 L22,18 L22,20 L10,20 L10,8.83 L6.42,12.42 L5,11 L11,5 L17,11",
transform: (0, import_i18n.isRTL)() ? "scale(-1,1) translate(-24,0)" : void 0
}
)
]
}
);
var nav_up_icon_default = NavigateUp;
//# sourceMappingURL=nav-up-icon.cjs.map