[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/ -> edit-site.js (summary)

(no description)

File Size: 11064 lines (382 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

error_boundary_ErrorBoundary:: (79 methods):
  WelcomeGuideImage()
  WelcomeGuideEditor()
  WelcomeGuideStyles()
  WelcomeGuide()
  useGlobalStylesRenderer()
  GlobalStylesRenderer()
  mergeTreesCustomizer()
  mergeBaseAndUserConfigs()
  useGlobalStylesUserConfig()
  useGlobalStylesBaseConfig()
  useGlobalStylesContext()
  GlobalStylesProvider()
  useTitle()
  Editor()
  useRegisterShortcuts()
  NewTemplate()
  NewTemplatePart()
  AddNewTemplate()
  header_Header()
  isTemplateRemovable()
  RenameMenuItem()
  Actions()
  CustomizedTooltip()
  AddedByTheme()
  AddedByPlugin()
  AddedByAuthor()
  AddedBySite()
  AddedBy()
  Table()
  List()
  getIsListPage()
  EditSiteApp()
  PluginSidebarEditSite()
  PluginSidebarMoreMenuItem()
  reinitializeEditor()
  initializeEditor()
  classNames()
  singleEnableItems()
  multipleEnableItems()
  setSingleEnableItem()
  actions_enableComplementaryArea()
  actions_disableComplementaryArea()
  setMultipleEnableItem()
  actions_pinItem()
  actions_unpinItem()
  actions_toggleFeature()
  setFeatureValue()
  setFeatureDefaults()
  getSingleEnableItem()
  selectors_getActiveComplementaryArea()
  isMultipleEnabledItemEnabled()
  selectors_isItemPinned()
  isFeatureActive()
  ComplementaryAreaToggle()
  ActionItemSlot()
  ActionItem()
  ComplementaryAreaMoreMenuItem()
  PinnedItems()
  PinnedItemsSlot()
  ComplementaryAreaSlot()
  ComplementaryAreaFill()
  useAdjustComplementaryListener()
  ComplementaryArea()
  useHTMLClass()
  InterfaceSkeleton()
  MoreMenuDropdown()
  MoreMenuFeatureToggle()
  Icon()
  arrayOf()
  isObjectLike()
  createCache()
  isShallowEqual()
  getRootCache()
  getWeakMapCache()
  clear()
  callSelector()
  dataUrlToBlob()
  saver()
  _extends()

Defines 79 functions

  __webpack_require__()
  getDefault()
  getModuleExports()
  SiteExport()
  reducer_deviceType()
  reducer_settings()
  editedPost()
  homeTemplateId()
  navigationPanel()
  blockInserterPanel()
  listViewPanel()
  isTemplateRevertable()
  actions_toggleFeature()
  __experimentalSetPreviewDeviceType()
  actions_setTemplatePart()
  setHomeTemplateId()
  setNavigationPanelActiveMenu()
  openNavigationPanelToMenu()
  actions_setIsNavigationPanelOpened()
  actions_setIsInserterOpened()
  actions_updateSettings()
  actions_setIsListViewOpened()
  isTemplateSuperseded()
  getTemplateLocation()
  getUnusedTemplates()
  getTemplatesLocationMap()
  isFeatureActive()
  selectors_experimentalGetPreviewDeviceType()
  getHomeTemplateId()
  getCurrentEditedPost()
  selectors_getEditedPostType()
  selectors_getEditedPostId()
  selectors_getPage()
  getNavigationPanelActiveMenu()
  selectors_isNavigationOpened()
  selectors_isInserterOpened()
  __experimentalGetInsertionPoint()
  selectors_isListViewOpened()
  WelcomeGuideMenuItem()
  F()
  J()
  createBrowserHistory()
  createHashHistory()
  createMemoryHistory()
  push()
  history_replace()
  useLocation()
  useHistory()
  getLocationWithParams()
  Routes()
  FeatureToggle()
  SaveButton()
  UndoButton()
  RedoButton()
  getBlockDisplayText()
  useSecondaryText()
  DocumentActions()
  useLink()
  onClick()
  Link()
  TemplatePartItemMore()
  editTemplatePart()
  clearCustomizations()
  TemplatePartItem()
  TemplateAreas()
  EditTemplateTitle()
  TemplateDetails()
  Header()
  DefaultSidebar()
  findInPresetsBy()
  getPresetVariableFromValue()
  getValueFromPresetVariable()
  getValueFromCustomVariable()
  getValueFromVariable()
  useSetting()
  useStyle()
  getSupportedGlobalStylesPanels()
  useColorsPerOrigin()
  useGradientsPerOrigin()
  NavigationButton()
  useHasBorderPanel()
  useHasBorderColorControl()
  useHasBorderRadiusControl()
  useHasBorderStyleControl()
  useHasBorderWidthControl()
  BorderPanel()
  useHasColorPanel()
  useHasDimensionsPanel()
  useHasPadding()
  useHasMargin()
  useHasGap()
  filterValuesBySides()
  splitStyleValue()
  DimensionsPanel()
  useHasTypographyPanel()
  useHasLineHeightControl()
  useHasAppearanceControl()
  useHasLetterSpacingControl()
  TypographyPanel()
  ContextMenu()
  ScreenRoot()
  ScreenHeader()
  BlockMenuItem()
  ScreenBlockList()
  ScreenBlock()
  Subtitle()
  Item()
  ScreenTypography()
  ScreenTypographyElement()
  Palette()
  BackgroundColorItem()
  TextColorItem()
  LinkColorItem()
  ScreenColors()
  ColorPalettePanel()
  GradientPalettePanel()
  ScreenColorPalette()
  ScreenBackgroundColor()
  ScreenTextColor()
  ScreenLinkColor()
  ScreenLayout()
  ContextScreens()
  GlobalStylesUI()
  compileStyleValue()
  getPresetsDeclarations()
  getPresetsClasses()
  flattenTree()
  getStylesDeclarations()
  useGlobalStylesOutput()
  GlobalStylesSidebar()
  TemplateAreaItem()
  template_areas_TemplateAreas()
  TemplateCard()
  SidebarComplementaryAreaFills()
  NavLink()
  NavigationToggle()
  NavigationSidebar()
  ConvertToRegularBlocks()
  CreateTemplatePartModal()
  ConvertToTemplatePart()
  TemplatePartConverter()
  NavigateToLink()
  BlockInspectorButton()
  EditTemplatePartMenuButton()
  EditTemplatePartMenuItem()
  BackButton()
  ResizeHandle()
  handleKeyDown()
  ResizableEditor()
  resizeHeight()
  registerObserver()
  BlockEditor()
  KeyboardShortcuts()
  KeyboardShortcutsRegister()
  URLQueryController()
  InserterSidebar()
  ListViewSidebar()
  closeOnEscape()
  CopyButton()

Class: error_boundary_ErrorBoundary  - X-Ref

WelcomeGuideImage(_ref)   X-Ref
No description

WelcomeGuideEditor()   X-Ref
No description

WelcomeGuideStyles()   X-Ref
No description

WelcomeGuide()   X-Ref
Internal dependencies


useGlobalStylesRenderer()   X-Ref
No description

GlobalStylesRenderer()   X-Ref
No description

mergeTreesCustomizer(_, srcValue)   X-Ref
No description

mergeBaseAndUserConfigs(base, user)   X-Ref
No description

useGlobalStylesUserConfig()   X-Ref
No description

useGlobalStylesBaseConfig()   X-Ref
No description

useGlobalStylesContext()   X-Ref
No description

GlobalStylesProvider(_ref)   X-Ref
No description

useTitle(title)   X-Ref
Internal dependencies


Editor(_ref)   X-Ref
No description

useRegisterShortcuts()   X-Ref
No description

NewTemplate(_ref)   X-Ref
No description

NewTemplatePart(_ref)   X-Ref
No description

AddNewTemplate(_ref)   X-Ref
No description

header_Header(_ref)   X-Ref
Internal dependencies


isTemplateRemovable(template)   X-Ref
Check if a template is removable.

return: {boolean} Whether the template is revertable.
param: {Object} template The template entity to check.

RenameMenuItem(_ref)   X-Ref
No description

Actions(_ref)   X-Ref
No description

CustomizedTooltip(_ref)   X-Ref
No description

AddedByTheme(_ref2)   X-Ref
No description

AddedByPlugin(_ref3)   X-Ref
No description

AddedByAuthor(_ref4)   X-Ref
No description

AddedBySite()   X-Ref
No description

AddedBy(_ref5)   X-Ref
No description

Table(_ref)   X-Ref
No description

List()   X-Ref
No description

getIsListPage(_ref)   X-Ref
Returns if the params match the list page route.

return: {boolean} Is list page or not.
param: {Object} params          The search params.
param: {string} params.postId   The post ID.
param: {string} params.postType The post type.

EditSiteApp(_ref)   X-Ref
No description

PluginSidebarEditSite(_ref)   X-Ref
Renders a sidebar when activated. The contents within the `PluginSidebar` will appear as content within the sidebar.
It also automatically renders a corresponding `PluginSidebarMenuItem` component when `isPinnable` flag is set to `true`.
If you wish to display the sidebar, you can with use the `PluginSidebarMoreMenuItem` component or the `wp.data.dispatch` API:

```js
wp.data.dispatch( 'core/edit-site' ).openGeneralSidebar( 'plugin-name/sidebar-name' );
```

param: {Object}                props                                 Element props.
param: {string}                props.name                            A string identifying the sidebar. Must be unique for every sidebar registered within the scope of your plugin.
param: {string}                [props.className]                     An optional class name added to the sidebar body.
param: {string}                props.title                           Title displayed at the top of the sidebar.
param: {boolean}               [props.isPinnable=true]               Whether to allow to pin sidebar to the toolbar. When set to `true` it also automatically renders a corresponding menu item.
param: {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar.

PluginSidebarMoreMenuItem(props)   X-Ref
Renders a menu item in `Plugins` group in `More Menu` drop down,
and can be used to activate the corresponding `PluginSidebar` component.
The text within the component appears as the menu item label.

return: {WPComponent} The component to be rendered.
param: {Object}                props                                 Component props.
param: {string}                props.target                          A string identifying the target sidebar you wish to be activated by this menu item. Must be the same as the `name` prop you have given to that sidebar.
param: {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered to the left of the menu item label.

reinitializeEditor(target, settings)   X-Ref
Reinitializes the editor after the user chooses to reboot the editor after
an unhandled error occurs, replacing previously mounted editor element using
an initial state from prior to the crash.

param: {Element} target   DOM node in which editor is rendered.
param: {?Object} settings Editor settings object.

initializeEditor(id, settings)   X-Ref
Initializes the site editor screen.

param: {string} id       ID of the root element to render the screen in.
param: {Object} settings Editor settings.

classNames()   X-Ref
No description

singleEnableItems()   X-Ref
Reducer to keep tract of the active area per scope.

return: {Object} Updated state.
param: {boolean} state           Previous state.
param: {Object}  action          Action object.
param: {string}  action.type     Action type.
param: {string}  action.itemType Type of item.
param: {string}  action.scope    Item scope.
param: {string}  action.item     Item name.

multipleEnableItems()   X-Ref
Reducer keeping track of the "pinned" items per scope.

return: {Object} Updated state.
param: {boolean} state           Previous state.
param: {Object}  action          Action object.
param: {string}  action.type     Action type.
param: {string}  action.itemType Type of item.
param: {string}  action.scope    Item scope.
param: {string}  action.item     Item name.
param: {boolean} action.isEnable Whether the item is pinned.

setSingleEnableItem(itemType, scope, item)   X-Ref
Returns an action object used in signalling that an active area should be changed.

return: {Object} Action object.
param: {string} itemType Type of item.
param: {string} scope    Item scope.
param: {string} item     Item identifier.

actions_enableComplementaryArea(scope, area)   X-Ref
Returns an action object used in signalling that a complementary item should be enabled.

return: {Object} Action object.
param: {string} scope Complementary area scope.
param: {string} area  Area identifier.

actions_disableComplementaryArea(scope)   X-Ref
Returns an action object used in signalling that the complementary area of a given scope should be disabled.

return: {Object} Action object.
param: {string} scope Complementary area scope.

setMultipleEnableItem(itemType, scope, item, isEnable)   X-Ref
Returns an action object to make an area enabled/disabled.

return: {Object} Action object.
param: {string}  itemType Type of item.
param: {string}  scope    Item scope.
param: {string}  item     Item identifier.
param: {boolean} isEnable Boolean indicating if an area should be pinned or not.

actions_pinItem(scope, itemId)   X-Ref
Returns an action object used in signalling that an item should be pinned.

return: {Object} Action object.
param: {string} scope  Item scope.
param: {string} itemId Item identifier.

actions_unpinItem(scope, itemId)   X-Ref
Returns an action object used in signalling that an item should be unpinned.

return: {Object} Action object.
param: {string} scope  Item scope.
param: {string} itemId Item identifier.

actions_toggleFeature(scope, featureName)   X-Ref
Returns an action object used in signalling that a feature should be toggled.

param: {string} scope       The feature scope (e.g. core/edit-post).
param: {string} featureName The feature name.

setFeatureValue(scope, featureName, value)   X-Ref
Returns an action object used in signalling that a feature should be set to
a true or false value

return: {Object} Action object.
param: {string}  scope       The feature scope (e.g. core/edit-post).
param: {string}  featureName The feature name.
param: {boolean} value       The value to set.

setFeatureDefaults(scope, defaults)   X-Ref
Returns an action object used in signalling that defaults should be set for features.

return: {Object} Action object.
param: {string}                  scope    The feature scope (e.g. core/edit-post).
param: {Object<string, boolean>} defaults A key/value map of feature names to values.

getSingleEnableItem(state, itemType, scope)   X-Ref
Returns the item that is enabled in a given scope.

return: {?string|null} The item that is enabled in the passed scope and type.
param: {Object} state    Global application state.
param: {string} itemType Type of item.
param: {string} scope    Item scope.

selectors_getActiveComplementaryArea(state, scope)   X-Ref
Returns the complementary area that is active in a given scope.

return: {string} The complementary area that is active in the given scope.
param: {Object} state Global application state.
param: {string} scope Item scope.

isMultipleEnabledItemEnabled(state, itemType, scope, item)   X-Ref
Returns a boolean indicating if an item is enabled or not in a given scope.

return: {boolean|undefined} True if the item is enabled, false otherwise if the item is explicitly disabled, and undefined if there is no information for that item.
param: {Object} state    Global application state.
param: {string} itemType Type of item.
param: {string} scope    Scope.
param: {string} item     Item to check.

selectors_isItemPinned(state, scope, item)   X-Ref
Returns a boolean indicating if an item is pinned or not.

return: {boolean} True if the item is pinned and false otherwise.
param: {Object} state Global application state.
param: {string} scope Scope.
param: {string} item  Item to check.

isFeatureActive(state, scope, featureName)   X-Ref
Returns a boolean indicating whether a feature is active for a particular
scope.

return: {boolean} Is the feature enabled?
param: {Object} state       The store state.
param: {string} scope       The scope of the feature (e.g. core/edit-post).
param: {string} featureName The name of the feature.

ComplementaryAreaToggle(_ref)   X-Ref
No description

ActionItemSlot(_ref)   X-Ref
No description

ActionItem(_ref3)   X-Ref
No description

ComplementaryAreaMoreMenuItem(_ref)   X-Ref
No description

PinnedItems(_ref)   X-Ref
No description

PinnedItemsSlot(_ref2)   X-Ref
No description

ComplementaryAreaSlot(_ref)   X-Ref
No description

ComplementaryAreaFill(_ref2)   X-Ref
No description

useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall)   X-Ref
No description

ComplementaryArea(_ref3)   X-Ref
No description

useHTMLClass(className)   X-Ref
No description

InterfaceSkeleton(_ref, ref)   X-Ref
No description

MoreMenuDropdown(_ref)   X-Ref
No description

MoreMenuFeatureToggle(_ref)   X-Ref
Internal dependencies


Icon(_ref)   X-Ref
Return an SVG icon.

return: {JSX.Element}  Icon component
param: {IconProps} props icon is the SVG component to render

arrayOf( value )   X-Ref
Returns the first argument as the sole entry in an array.

return: {Array} Value returned as entry in array.
param: {*} value Value to return.

isObjectLike( value )   X-Ref
Returns true if the value passed is object-like, or false otherwise. A value
is object-like if it can support property assignment, e.g. object or array.

return: {boolean} Whether value is object-like.
param: {*} value Value to test.

createCache()   X-Ref
Creates and returns a new cache object.

return: {Object} Cache object.

isShallowEqual( a, b, fromIndex )   X-Ref
Returns true if entries within the two arrays are strictly equal by
reference from a starting index.

return: {boolean} Whether arrays are shallowly equal.
param: {Array}  a         First array.
param: {Array}  b         Second array.
param: {number} fromIndex Index from which to start comparison.

getRootCache()   X-Ref
Returns the root cache. If WeakMap is supported, this is assigned to the
root WeakMap cache set, otherwise it is a shared instance of the default
cache object.

return: {(WeakMap|Object)} Root cache object.

getWeakMapCache( dependants )   X-Ref
Returns the cache for a given dependants array. When possible, a WeakMap
will be used to create a unique cache for each set of dependants. This
is feasible due to the nature of WeakMap in allowing garbage collection
to occur on entries where the key object is no longer referenced. Since
WeakMap requires the key to be an object, this is only possible when the
dependant is object-like. The root cache is created as a hierarchy where
each top-level key is the first entry in a dependants set, the value a
WeakMap where each key is the next dependant, and so on. This continues
so long as the dependants are object-like. If no dependants are object-
like, then the cache is shared across all invocations.

return: {Object} Cache object.
param: {Array} dependants Selector dependants.

clear()   X-Ref
Resets root memoization cache.


callSelector( )   X-Ref
The augmented selector call, considering first whether dependants have
changed before passing it to underlying memoize function.

return: {*} Selector result.
param: {Object} source    Source object for derivation.
param: {...*}   extraArgs Additional arguments to pass to selector.

dataUrlToBlob(strUrl)   X-Ref
No description

saver(url, winMode)   X-Ref
No description

_extends()   X-Ref
No description

Functions
Functions that are not part of a class:

__webpack_require__(moduleId)   X-Ref
No description

getDefault()   X-Ref
No description

getModuleExports()   X-Ref
No description

SiteExport()   X-Ref
No description

reducer_deviceType()   X-Ref
Reducer returning the editing canvas device type.

return: {Object} Updated state.
param: {Object} state  Current state.
param: {Object} action Dispatched action.

reducer_settings()   X-Ref
Reducer returning the settings.

return: {Object} Updated state.
param: {Object} state  Current state.
param: {Object} action Dispatched action.

editedPost()   X-Ref
Reducer keeping track of the currently edited Post Type,
Post Id and the context provided to fill the content of the block editor.

return: {Object} Updated state.
param: {Object} state  Current edited post.
param: {Object} action Dispatched action.

homeTemplateId(state, action)   X-Ref
Reducer for information about the site's homepage.

return: {Object} Updated state.
param: {Object} state  Current state.
param: {Object} action Dispatched action.

navigationPanel()   X-Ref
Reducer for information about the navigation panel, such as its active menu
and whether it should be opened or closed.

Note: this reducer interacts with the inserter and list view panels reducers
to make sure that only one of the three panels is open at the same time.

param: {Object} state  Current state.
param: {Object} action Dispatched action.

blockInserterPanel()   X-Ref
Reducer to set the block inserter panel open or closed.

Note: this reducer interacts with the navigation and list view panels reducers
to make sure that only one of the three panels is open at the same time.

param: {boolean|Object} state  Current state.
param: {Object}         action Dispatched action.

listViewPanel()   X-Ref
Reducer to set the list view panel open or closed.

Note: this reducer interacts with the navigation and inserter panels reducers
to make sure that only one of the three panels is open at the same time.

param: {Object} state  Current state.
param: {Object} action Dispatched action.

isTemplateRevertable(template)   X-Ref
Check if a template is revertable to its original theme-provided template file.

return: {boolean} Whether the template is revertable.
param: {Object} template The template entity to check.

actions_toggleFeature(feature)   X-Ref
Returns an action object used to toggle a feature flag.

return: {Object} Action object.
param: {string} feature Feature name.

__experimentalSetPreviewDeviceType(deviceType)   X-Ref
Returns an action object used to toggle the width of the editing canvas.

return: {Object} Action object.
param: {string} deviceType

actions_setTemplatePart(templatePartId)   X-Ref
No description

setHomeTemplateId(homeTemplateId)   X-Ref
Updates the homeTemplateId state with the templateId of the page resolved
from the given path.

param: {number} homeTemplateId The template ID for the homepage.

setNavigationPanelActiveMenu(menu)   X-Ref
No description

openNavigationPanelToMenu(menu)   X-Ref
Opens the navigation panel and sets its active menu at the same time.

param: {string} menu Identifies the menu to open.

actions_setIsNavigationPanelOpened(isOpen)   X-Ref
Sets whether the navigation panel should be open.

param: {boolean} isOpen If true, opens the nav panel. If false, closes it. It

actions_setIsInserterOpened(value)   X-Ref
Returns an action object used to open/close the inserter.

return: {Object} Action object.
param: {boolean|Object} value                Whether the inserter should be
param: {string}         value.rootClientId   The root client ID to insert at.
param: {number}         value.insertionIndex The index to insert at.

actions_updateSettings(settings)   X-Ref
Returns an action object used to update the settings.

return: {Object} Action object.
param: {Object} settings New settings.

actions_setIsListViewOpened(isOpen)   X-Ref
Sets whether the list view panel should be open.

param: {boolean} isOpen If true, opens the list view. If false, closes it.

isTemplateSuperseded(slug, existingSlugs, showOnFront)   X-Ref
No description

getTemplateLocation(slug)   X-Ref
No description

getUnusedTemplates(templates, showOnFront)   X-Ref
No description

getTemplatesLocationMap(templates)   X-Ref
No description

isFeatureActive(state, feature)   X-Ref
Returns whether the given feature is enabled or not.

return: {boolean} Is active.
param: {Object} state   Global application state.
param: {string} feature Feature slug.

selectors_experimentalGetPreviewDeviceType(state)   X-Ref
Returns the current editing canvas device type.

return: {string} Device type.
param: {Object} state Global application state.

getHomeTemplateId(state)   X-Ref
Returns the current home template ID.

return: {number?} Home template ID.
param: {Object} state Global application state.

getCurrentEditedPost(state)   X-Ref
No description

selectors_getEditedPostType(state)   X-Ref
Returns the current edited post type (wp_template or wp_template_part).

return: {TemplateType?} Template type.
param: {Object} state Global application state.

selectors_getEditedPostId(state)   X-Ref
Returns the ID of the currently edited template or template part.

return: {string?} Post ID.
param: {Object} state Global application state.

selectors_getPage(state)   X-Ref
Returns the current page object.

return: {Object} Page.
param: {Object} state Global application state.

getNavigationPanelActiveMenu(state)   X-Ref
Returns the active menu in the navigation panel.

return: {string} Active menu.
param: {Object} state Global application state.

selectors_isNavigationOpened(state)   X-Ref
Returns the current opened/closed state of the navigation panel.

return: {boolean} True if the navigation panel should be open; false if closed.
param: {Object} state Global application state.

selectors_isInserterOpened(state)   X-Ref
Returns the current opened/closed state of the inserter panel.

return: {boolean} True if the inserter panel should be open; false if closed.
param: {Object} state Global application state.

__experimentalGetInsertionPoint(state)   X-Ref
Get the insertion point for the inserter.

return: {Object} The root client ID, index to insert at and starting filter value.
param: {Object} state Global application state.

selectors_isListViewOpened(state)   X-Ref
Returns the current opened/closed state of the list view panel.

return: {boolean} True if the list view panel should be open; false if closed.
param: {Object} state Global application state.

WelcomeGuideMenuItem()   X-Ref
Internal dependencies


F()   X-Ref
No description

J(b)   X-Ref
No description

createBrowserHistory(b)   X-Ref
No description

createHashHistory(b)   X-Ref
No description

createMemoryHistory(b)   X-Ref
No description

push(params, state)   X-Ref
No description

history_replace(params, state)   X-Ref
No description

useLocation()   X-Ref
No description

useHistory()   X-Ref
No description

getLocationWithParams(location)   X-Ref
No description

Routes(_ref)   X-Ref
No description

FeatureToggle(_ref)   X-Ref
Internal dependencies


SaveButton(_ref)   X-Ref
No description

UndoButton()   X-Ref
No description

RedoButton()   X-Ref
No description

getBlockDisplayText(block)   X-Ref
No description

useSecondaryText()   X-Ref
No description

DocumentActions(_ref)   X-Ref

param: {Object}   props             Props for the DocumentActions component.
param: {string}   props.entityTitle The title to display.
param: {string}   props.entityLabel A label to use for entity-related options.
param: {boolean}  props.isLoaded    Whether the data is available.
param: {Function} props.children    React component to use for the

useLink()   X-Ref
Internal dependencies


onClick(event)   X-Ref
No description

Link(_ref)   X-Ref
No description

TemplatePartItemMore(_ref)   X-Ref
No description

editTemplatePart(event)   X-Ref
No description

clearCustomizations()   X-Ref
No description

TemplatePartItem(_ref2)   X-Ref
No description

TemplateAreas(_ref4)   X-Ref
No description

EditTemplateTitle(_ref)   X-Ref
No description

TemplateDetails(_ref)   X-Ref
No description

Header(_ref)   X-Ref
No description

DefaultSidebar(_ref)   X-Ref
WordPress dependencies


findInPresetsBy(features, blockName, presetPath, presetProperty, presetValueValue)   X-Ref
No description

getPresetVariableFromValue(features, blockName, variableStylePath, presetPropertyValue)   X-Ref
No description

getValueFromPresetVariable(features, blockName, variable, _ref)   X-Ref
No description

getValueFromCustomVariable(features, blockName, variable, path)   X-Ref
No description

getValueFromVariable(features, blockName, variable)   X-Ref
No description

useSetting(path, blockName)   X-Ref
No description

useStyle(path, blockName)   X-Ref
No description

getSupportedGlobalStylesPanels(name)   X-Ref
No description

useColorsPerOrigin(name)   X-Ref
No description

useGradientsPerOrigin(name)   X-Ref
No description

NavigationButton(_ref)   X-Ref
No description

useHasBorderPanel(name)   X-Ref
No description

useHasBorderColorControl(name)   X-Ref
No description

useHasBorderRadiusControl(name)   X-Ref
No description

useHasBorderStyleControl(name)   X-Ref
No description

useHasBorderWidthControl(name)   X-Ref
No description

BorderPanel(_ref)   X-Ref
No description

useHasColorPanel(name)   X-Ref
Internal dependencies


useHasDimensionsPanel(name)   X-Ref
No description

useHasPadding(name)   X-Ref
No description

useHasMargin(name)   X-Ref
No description

useHasGap(name)   X-Ref
No description

filterValuesBySides(values, sides)   X-Ref
No description

splitStyleValue(value)   X-Ref
No description

DimensionsPanel(_ref)   X-Ref
No description

useHasTypographyPanel(name)   X-Ref
Internal dependencies


useHasLineHeightControl(name)   X-Ref
No description

useHasAppearanceControl(name)   X-Ref
No description

useHasLetterSpacingControl(name)   X-Ref
No description

TypographyPanel(_ref)   X-Ref
No description

ContextMenu(_ref)   X-Ref
No description

ScreenRoot()   X-Ref
No description

ScreenHeader(_ref)   X-Ref
No description

BlockMenuItem(_ref)   X-Ref
No description

ScreenBlockList()   X-Ref
No description

ScreenBlock(_ref)   X-Ref
No description

Subtitle(_ref)   X-Ref
WordPress dependencies


Item(_ref)   X-Ref
No description

ScreenTypography(_ref2)   X-Ref
No description

ScreenTypographyElement(_ref)   X-Ref
No description

Palette(_ref)   X-Ref
No description

BackgroundColorItem(_ref)   X-Ref
No description

TextColorItem(_ref2)   X-Ref
No description

LinkColorItem(_ref3)   X-Ref
No description

ScreenColors(_ref4)   X-Ref
No description

ColorPalettePanel(_ref)   X-Ref
Internal dependencies


GradientPalettePanel(_ref)   X-Ref
No description

ScreenColorPalette(_ref)   X-Ref
No description

ScreenBackgroundColor(_ref)   X-Ref
No description

ScreenTextColor(_ref)   X-Ref
No description

ScreenLinkColor(_ref)   X-Ref
No description

ScreenLayout(_ref)   X-Ref
No description

ContextScreens(_ref)   X-Ref
No description

GlobalStylesUI()   X-Ref
No description

compileStyleValue(uncompiledValue)   X-Ref
No description

getPresetsDeclarations()   X-Ref
Transform given preset tree into a set of style declarations.

return: {Array} An array of style declarations.
param: {Object} blockPresets

getPresetsClasses(blockSelector)   X-Ref
Transform given preset tree into a set of preset class declarations.

return: {string} CSS declarations for the preset classes.
param: {string} blockSelector
param: {Object} blockPresets

flattenTree()   X-Ref
No description

getStylesDeclarations()   X-Ref
Transform given style tree into a set of style declarations.

return: {Array} An array of style declarations.
param: {Object} blockStyles Block styles.

useGlobalStylesOutput()   X-Ref
No description

GlobalStylesSidebar()   X-Ref
No description

TemplateAreaItem(_ref)   X-Ref
No description

template_areas_TemplateAreas()   X-Ref
No description

TemplateCard()   X-Ref
No description

SidebarComplementaryAreaFills()   X-Ref
No description

NavLink(_ref)   X-Ref
No description

NavigationToggle(_ref)   X-Ref
No description

NavigationSidebar(_ref)   X-Ref
No description

ConvertToRegularBlocks(_ref)   X-Ref
No description

CreateTemplatePartModal(_ref)   X-Ref
Internal dependencies


ConvertToTemplatePart(_ref)   X-Ref
Internal dependencies


TemplatePartConverter()   X-Ref
No description

NavigateToLink(_ref)   X-Ref
No description

BlockInspectorButton(_ref)   X-Ref
No description

EditTemplatePartMenuButton()   X-Ref
No description

EditTemplatePartMenuItem(_ref2)   X-Ref
No description

BackButton()   X-Ref
No description

ResizeHandle(_ref)   X-Ref
No description

handleKeyDown(event)   X-Ref
No description

ResizableEditor(_ref)   X-Ref
No description

resizeHeight()   X-Ref
No description

registerObserver()   X-Ref
No description

BlockEditor(_ref)   X-Ref
No description

KeyboardShortcuts(_ref)   X-Ref
No description

KeyboardShortcutsRegister()   X-Ref
No description

URLQueryController()   X-Ref
No description

InserterSidebar()   X-Ref
Internal dependencies


ListViewSidebar()   X-Ref
Internal dependencies


closeOnEscape(event)   X-Ref
No description

CopyButton(_ref)   X-Ref
No description



Generated: Wed Jan 19 01:00:04 2022 Cross-referenced by PHPXref 0.7.1