UNPKG

@wordpress/block-library

Version:
44 lines (43 loc) • 898 B
import migrateFontFamily from "../utils/migrate-font-family.mjs"; /** * New deprecations need to be placed first * for them to have higher priority. * * Old deprecations may need to be updated as well. * * See block-deprecation.md */ var deprecated_default = [{ attributes: { format: { type: "string" }, isLink: { type: "boolean", default: false } }, supports: { html: false, color: { gradients: true, link: true }, typography: { fontSize: true, lineHeight: true, __experimentalFontFamily: true, __experimentalFontWeight: true, __experimentalFontStyle: true, __experimentalTextTransform: true, __experimentalLetterSpacing: true } }, save() { return null; }, migrate: migrateFontFamily, isEligible({ style }) { return style?.typography?.fontFamily; } }]; export { deprecated_default as default }; //# sourceMappingURL=deprecated.mjs.map