@wordpress/blocks
Version:
Block API for WordPress.
17 lines • 2.5 kB
TypeScript
export { createBlock, createBlocksFromInnerBlocksTemplate, cloneBlock, __experimentalCloneSanitizedBlock, getPossibleBlockTransformations, switchToBlockType, getBlockTransforms, findTransform, getBlockFromExample, } from './factory';
export { default as parse } from './parser';
export { serializeRawBlock } from './parser/serialize-raw-block';
export { getBlockAttributes, parseWithAttributeSchema, } from './parser/get-block-attributes';
export { pasteHandler, rawHandler, deprecatedGetPhrasingContentSchema as getPhrasingContentSchema, } from './raw-handling';
export { default as serialize, getBlockInnerHTML as getBlockContent, getBlockDefaultClassName, getBlockMenuDefaultClassName, getSaveElement, getSaveContent, getBlockProps as __unstableGetBlockProps, getInnerBlocksProps as __unstableGetInnerBlocksProps, __unstableSerializeAndClean, } from './serializer';
export { isValidBlockContent, validateBlock } from './validation';
export { getCategories, setCategories, updateCategory } from './categories';
export { registerBlockType, registerBlockCollection, unregisterBlockType, setFreeformContentHandlerName, getFreeformContentHandlerName, setUnregisteredTypeHandlerName, getUnregisteredTypeHandlerName, setDefaultBlockName, getDefaultBlockName, setGroupingBlockName, getGroupingBlockName, getBlockType, getBlockTypes, getBlockSupport, hasBlockSupport, getBlockVariations, isReusableBlock, isTemplatePart, getChildBlockNames, hasChildBlocks, hasChildBlocksWithInserterSupport, unstable__bootstrapServerSideBlockDefinitions, // eslint-disable-line camelcase
registerBlockStyle, unregisterBlockStyle, registerBlockVariation, unregisterBlockVariation, registerBlockBindingsSource, unregisterBlockBindingsSource, getBlockBindingsSource, getBlockBindingsSources, } from './registration';
export { isUnmodifiedBlock, isUnmodifiedDefaultBlock, normalizeIconObject, isValidIcon, getBlockLabel as __experimentalGetBlockLabel, getAccessibleBlockLabel as __experimentalGetAccessibleBlockLabel, __experimentalSanitizeBlockAttributes, getBlockAttributesNamesByRole, __experimentalGetBlockAttributesNamesByRole, } from './utils';
export { doBlocksMatchTemplate, synchronizeBlocksWithTemplate, } from './templates';
export { default as children } from './children';
export { default as node } from './node';
export { __EXPERIMENTAL_STYLE_PROPERTY, __EXPERIMENTAL_ELEMENTS, __EXPERIMENTAL_PATHS_WITH_OVERRIDE, } from './constants';
export declare const privateApis: {};
//# sourceMappingURL=index.d.ts.map