Skip to content
Permalink
Browse files

Do not expose INSERTER_UTILITY_* constants

  • Loading branch information...
nosolosw committed May 3, 2019
1 parent 3b2136e commit 3ac1b154ccf3264b45abe071d534e702103c48ea
@@ -637,22 +637,6 @@ _Returns_

- `boolean`: Whether the block as an inner block selected

<a name="INSERTER_UTILITY_HIGH" href="#INSERTER_UTILITY_HIGH">#</a> **INSERTER_UTILITY_HIGH**

Undocumented declaration.

<a name="INSERTER_UTILITY_LOW" href="#INSERTER_UTILITY_LOW">#</a> **INSERTER_UTILITY_LOW**

Undocumented declaration.

<a name="INSERTER_UTILITY_MEDIUM" href="#INSERTER_UTILITY_MEDIUM">#</a> **INSERTER_UTILITY_MEDIUM**

Undocumented declaration.

<a name="INSERTER_UTILITY_NONE" href="#INSERTER_UTILITY_NONE">#</a> **INSERTER_UTILITY_NONE**

Undocumented declaration.

<a name="isAncestorMultiSelected" href="#isAncestorMultiSelected">#</a> **isAncestorMultiSelected**

Returns true if an ancestor of the block is multi-selected, or false
@@ -27,12 +27,22 @@ import {
hasChildBlocksWithInserterSupport,
} from '@wordpress/blocks';

/***
* Module constants
// Module constants
/**
* @private
*/
export const INSERTER_UTILITY_HIGH = 3;
/**
* @private
*/
export const INSERTER_UTILITY_MEDIUM = 2;
/**
* @private
*/
export const INSERTER_UTILITY_LOW = 1;
/**
* @private
*/
export const INSERTER_UTILITY_NONE = 0;
const MILLISECONDS_PER_HOUR = 3600 * 1000;
const MILLISECONDS_PER_DAY = 24 * 3600 * 1000;

0 comments on commit 3ac1b15

Please sign in to comment.
You can’t perform that action at this time.