@wordpress/global-styles-ui
Version:
Global Styles UI components for WordPress.
57 lines (56 loc) • 2.6 kB
JavaScript
;
Object.defineProperties(exports, {
__esModule: { value: true },
[Symbol.toStringTag]: { value: "Module" }
});
// \0rolldown/runtime.js
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
key = keys[i];
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
get: ((k) => from[k]).bind(null, key),
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
});
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
value: mod,
enumerable: true
}) : target, mod));
let _wordpress_i18n = require("@wordpress/i18n");
let _wordpress_components = require("@wordpress/components");
let __style_variations_container_tsx = require("./style-variations-container.cjs");
__style_variations_container_tsx = __toESM(__style_variations_container_tsx);
let __variations_variations_typography_tsx = require("./variations/variations-typography.cjs");
__variations_variations_typography_tsx = __toESM(__variations_variations_typography_tsx);
let __variations_variations_color_tsx = require("./variations/variations-color.cjs");
__variations_variations_color_tsx = __toESM(__variations_variations_color_tsx);
let react_jsx_runtime = require("react/jsx-runtime");
// packages/global-styles-ui/src/style-variations-content.tsx
function StyleVariationsContent() {
const gap = 3;
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_wordpress_components.__experimentalVStack, {
spacing: 10,
className: "global-styles-ui-variation-container",
children: [
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__style_variations_container_tsx.default, { gap }),
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__variations_variations_color_tsx.default, {
title: (0, _wordpress_i18n.__)("Color Variations"),
gap
}),
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__variations_variations_typography_tsx.default, {
title: (0, _wordpress_i18n.__)("Typography"),
gap
})
]
});
}
exports.StyleVariationsContent = StyleVariationsContent;
//# sourceMappingURL=style-variations-content.cjs.map