@wordpress/blocks
Version:
Block API for WordPress.
295 lines • 6.86 kB
TypeScript
export declare const BLOCK_ICON_DEFAULT = "block-default";
/**
* Array of valid keys in a block type settings deprecation object.
*/
export declare const DEPRECATED_ENTRY_KEYS: string[];
export declare const __EXPERIMENTAL_STYLE_PROPERTY: {
'--wp--style--color--link': {
value: string[];
support: string[];
};
aspectRatio: {
value: string[];
support: string[];
useEngine: boolean;
};
background: {
value: string[];
support: string[];
useEngine: boolean;
};
backgroundColor: {
value: string[];
support: string[];
requiresOptOut: boolean;
useEngine: boolean;
};
backgroundImage: {
value: string[];
support: string[];
useEngine: boolean;
};
backgroundRepeat: {
value: string[];
support: string[];
useEngine: boolean;
};
backgroundSize: {
value: string[];
support: string[];
useEngine: boolean;
};
backgroundPosition: {
value: string[];
support: string[];
useEngine: boolean;
};
backgroundGradient: {
value: string[];
support: string[];
useEngine: boolean;
};
borderColor: {
value: string[];
support: string[];
useEngine: boolean;
};
borderRadius: {
value: string[];
support: string[];
properties: {
borderTopLeftRadius: string;
borderTopRightRadius: string;
borderBottomLeftRadius: string;
borderBottomRightRadius: string;
};
useEngine: boolean;
};
borderStyle: {
value: string[];
support: string[];
useEngine: boolean;
};
borderWidth: {
value: string[];
support: string[];
useEngine: boolean;
};
borderTopColor: {
value: string[];
support: string[];
useEngine: boolean;
};
borderTopStyle: {
value: string[];
support: string[];
useEngine: boolean;
};
borderTopWidth: {
value: string[];
support: string[];
useEngine: boolean;
};
borderRightColor: {
value: string[];
support: string[];
useEngine: boolean;
};
borderRightStyle: {
value: string[];
support: string[];
useEngine: boolean;
};
borderRightWidth: {
value: string[];
support: string[];
useEngine: boolean;
};
borderBottomColor: {
value: string[];
support: string[];
useEngine: boolean;
};
borderBottomStyle: {
value: string[];
support: string[];
useEngine: boolean;
};
borderBottomWidth: {
value: string[];
support: string[];
useEngine: boolean;
};
borderLeftColor: {
value: string[];
support: string[];
useEngine: boolean;
};
borderLeftStyle: {
value: string[];
support: string[];
useEngine: boolean;
};
borderLeftWidth: {
value: string[];
support: string[];
useEngine: boolean;
};
color: {
value: string[];
support: string[];
requiresOptOut: boolean;
useEngine: boolean;
};
columnCount: {
value: string[];
support: string[];
useEngine: boolean;
};
filter: {
value: string[];
support: string[];
};
linkColor: {
value: string[];
support: string[];
};
captionColor: {
value: string[];
support: string[];
};
buttonColor: {
value: string[];
support: string[];
};
buttonBackgroundColor: {
value: string[];
support: string[];
};
headingColor: {
value: string[];
support: string[];
};
headingBackgroundColor: {
value: string[];
support: string[];
};
fontFamily: {
value: string[];
support: string[];
useEngine: boolean;
};
fontSize: {
value: string[];
support: string[];
useEngine: boolean;
};
fontStyle: {
value: string[];
support: string[];
useEngine: boolean;
};
fontWeight: {
value: string[];
support: string[];
useEngine: boolean;
};
lineHeight: {
value: string[];
support: string[];
useEngine: boolean;
};
margin: {
value: string[];
support: string[];
properties: {
marginTop: string;
marginRight: string;
marginBottom: string;
marginLeft: string;
};
useEngine: boolean;
};
minHeight: {
value: string[];
support: string[];
useEngine: boolean;
};
minWidth: {
value: string[];
support: string[];
useEngine: boolean;
};
height: {
value: string[];
support: string[];
useEngine: boolean;
};
width: {
value: string[];
support: string[];
useEngine: boolean;
};
padding: {
value: string[];
support: string[];
properties: {
paddingTop: string;
paddingRight: string;
paddingBottom: string;
paddingLeft: string;
};
useEngine: boolean;
};
textAlign: {
value: string[];
support: string[];
useEngine: boolean;
};
textDecoration: {
value: string[];
support: string[];
useEngine: boolean;
};
textTransform: {
value: string[];
support: string[];
useEngine: boolean;
};
letterSpacing: {
value: string[];
support: string[];
useEngine: boolean;
};
textIndent: {
value: string[];
support: string[];
useEngine: boolean;
};
writingMode: {
value: string[];
support: string[];
useEngine: boolean;
};
'--wp--style--root--padding': {
value: string[];
support: string[];
properties: {
'--wp--style--root--padding-top': string;
'--wp--style--root--padding-right': string;
'--wp--style--root--padding-bottom': string;
'--wp--style--root--padding-left': string;
};
rootOnly: boolean;
};
};
export declare const __EXPERIMENTAL_ELEMENTS: Record<string, string>;
export declare const __EXPERIMENTAL_PATHS_WITH_OVERRIDE: {
'color.duotone': boolean;
'color.gradients': boolean;
'color.palette': boolean;
'dimensions.aspectRatios': boolean;
'typography.fontSizes': boolean;
'spacing.spacingSizes': boolean;
};
//# sourceMappingURL=constants.d.ts.map