UNPKG

@wordpress/block-library

Version:
53 lines (52 loc) 906 B
/** * Internal dependencies */ import migrateFontFamily from '../utils/migrate-font-family'; const v1 = { attributes: { type: { type: 'string' }, textAlign: { type: 'string' }, level: { type: 'number', default: 1 } }, supports: { align: ['wide', 'full'], html: false, color: { gradients: true }, spacing: { margin: true }, typography: { fontSize: true, lineHeight: true, __experimentalFontFamily: true } }, save() { return null; }, migrate: migrateFontFamily, isEligible({ style }) { return style?.typography?.fontFamily; } }; /** * 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 */ export default [v1]; //# sourceMappingURL=deprecated.js.map