[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/ -> components.js (summary)

(no description)

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

Defines 17 classes

alpha_Alpha:: (0 methods):

hue_Hue:: (1 method):
  TextControl()

inputs_Input:: (0 methods):

inputs_Inputs:: (0 methods):

saturation_Saturation:: (0 methods):

color_picker_ColorPicker:: (5 methods):
  DropdownOpenOnMount()
  ColorOption()
  ColorInserter()
  ColorEdit()
  ColorPalette()

token_input_TokenInput:: (0 methods):

suggestions_list_SuggestionsList:: (70 methods):
  ComboboxControl()
  objectWithoutPropertiesLoose_objectWithoutPropertiesLoose()
  assertThisInitialized_assertThisInitialized()
  t()
  cbToCb()
  downshift_esm_noop()
  downshift_esm_scrollIntoView()
  isOrContainsNode()
  debounce()
  cancel()
  wrapper()
  callAllEventHandlers()
  handleRefs()
  downshift_esm_generateId()
  resetIdCounter()
  getA11yStatusMessage()
  unwrapArray()
  isDOMElement()
  getElementProps()
  requiredProp()
  pickState()
  getState()
  isControlledProp()
  normalizeArrowKey()
  isPlainObject()
  getNextWrappingIndex()
  getNextNonDisabledIndex()
  targetWithinDownshift()
  setStatus()
  getStatusDiv()
  Downshift()
  validateGetMenuPropsCalledCorrectly()
  validateGetRootPropsCalledCorrectly()
  callOnChangeProps()
  invokeOnChangeHandler()
  downshift_esm_stateReducer()
  downshift_esm_getA11ySelectionMessage()
  useElementIds()
  getItemIndex()
  downshift_esm_itemToString()
  isAcceptedCharacterKey()
  capitalizeString()
  useLatestRef()
  useEnhancedReducer()
  useControlledReducer()
  getDefaultValue()
  getInitialValue()
  getInitialState()
  getHighlightedIndexOnOpen()
  useMouseAndTouchTracker()
  useA11yMessageSetter()
  useScrollIntoView()
  downshiftCommonReducer()
  getItemIndexByCharacterKey()
  downshift_esm_getA11yStatusMessage()
  downshiftSelectReducer()
  useSelect()
  getInitialState()
  useControlledReducer()
  downshiftUseComboboxReducer()
  useCombobox()
  getInitialValue()
  getDefaultValue()
  downshift_esm_getInitialState()
  isKeyDownOperationPermitted()
  downshift_esm_getA11yRemovalMessage()
  downshiftMultipleSelectionReducer()
  useMultipleSelection()
  CustomSelectControl()
  DatePickerDay()

date_DatePicker:: (21 methods):
  UpdateOnBlurAsIntegerField()
  handleBlur()
  TimePicker()
  changeDate()
  update()
  updateAmPm()
  DateTimePicker()
  onClickDescriptionToggle()
  select_control_useUniqueId()
  SelectControl()
  DimensionControl()
  disabled_styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  Disabled()
  component_Divider()
  Draggable()
  end()
  start()
  over()
  DropZoneComponent()
  DropZoneProvider()
  cycleValue()

container_NavigableContainer:: (42 methods):
  NavigableMenu()
  mergeProps()
  DropdownMenu()
  Swatch()
  getDefaultColors()
  getGradientFromCSSColors()
  getColorStopsFromColors()
  getColorsFromColorStops()
  DuotoneSwatch()
  color_list_picker_ColorOption()
  ColorListPicker()
  clampPercent()
  isOverlapping()
  addControlPoint()
  removeControlPoint()
  updateControlPoint()
  updateControlPointPosition()
  updateControlPointColor()
  updateControlPointColorByPosition()
  getHorizontalRelativeGradientPosition()
  ControlPointKeyboardMove()
  ControlPointButton()
  ControlPoints()
  InsertPoint()
  customGradientBarReducer()
  CustomGradientBar()
  CustomDuotoneBar()
  DuotonePicker()
  external_link_styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  ExternalLink()
  focal_point_picker_style_EMOTION_STRINGIFIED_CSS_ERROR_()
  getExtension()
  isVideoType()
  fractionToPercentage()
  FocalPointPickerControls()
  controls_UnitControl()
  focal_point_style_EMOTION_STRINGIFIED_CSS_ERROR_()
  FocalPoint()
  FocalPointPickerGrid()
  useRevealAnimation()
  Media()
  MediaPlaceholderElement()

focal_point_picker_FocalPointPicker:: (20 methods):
  FocusableIframe()
  checkFocus()
  floatClamp()
  useControlledRangeValue()
  useDebouncedHoverInteraction()
  range_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  input_range_InputRange()
  RangeMark()
  RangeRail()
  Marks()
  useMarks()
  SimpleTooltip()
  useTooltipPosition()
  RangeControl()
  getSelectValueFromFontSize()
  getSelectOptions()
  FontSizePicker()
  FormFileUpload()
  FormToggle()
  Token()

form_token_field_FormTokenField:: (17 methods):
  serializeGradientColor()
  serializeGradientPosition()
  serializeGradientColorStop()
  serializeGradientOrientation()
  serializeGradient()
  getLinearGradientRepresentationOfARadial()
  hasUnsupportedLength()
  getGradientAstWithDefault()
  getGradientAstWithControlPoints()
  getStopCssColor()
  custom_gradient_picker_styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  CustomGradientPicker()
  GradientPicker()
  getAlignmentProps()
  useGrid()
  ModalFrameContent()
  handleEscapeKeyDown()

frame_ModalFrame:: (3 methods):
  hideApp()
  elementShouldBeHidden()
  showApp()

modal_Modal:: (91 methods):
  PageControl()
  FinishButton()
  Guide()
  GuidePage()
  useHeading()
  utils_getAlignmentProps()
  getValidChildren()
  useHStack()
  IconButton()
  MenuGroup()
  MenuItem()
  MenuItemsChoice()
  TabbableContainer()
  navigation_styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  Navigation()
  NavigationBackButton()
  NavigationGroup()
  NavigationItemBaseContent()
  NavigationItemBase()
  NavigationItem()
  MenuTitleSearch()
  onKeyDown()
  NavigationMenuTitle()
  NavigationSearchNoResultsFound()
  NavigationMenu()
  useSpokenMessage()
  getDefaultPoliteness()
  Notice()
  NoticeList()
  PanelHeader()
  Panel()
  PanelBody()
  Placeholder()
  buildTermsTree()
  tree_select_getSelectOptions()
  TreeSelect()
  CategorySelect()
  AuthorSelect()
  QueryControls()
  getChecked()
  useInitialChecked()
  fireChange()
  radio_Radio()
  useRadioState()
  radio_group_RadioGroup()
  RadioControl()
  __()
  Resizer()
  __()
  Resizable()
  useResizeLabel()
  getSizeLabel()
  resize_tooltip_styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  resize_tooltip_label_Label()
  ResizeTooltip()
  ResizableBox()
  ResponsiveWrapper()
  sendResize()
  removeViewportStyles()
  Sandbox()
  isFrameAccessible()
  trySandbox()
  tryNoForceSandbox()
  checkMessageForResize()
  SnackbarList()
  useSpacer()
  Spinner()
  TabPanel()
  TextareaControl()
  Tip()
  ToggleControl()
  onChangeToggle()
  ToolbarButton()
  ToolbarGroupCollapsed()
  ToolbarGroup()
  useToolbarState()
  ToolbarContainer()
  toolbar_Toolbar()
  ToolbarDropdownMenu()
  RovingTabIndex()
  getRowFocusables()
  TreeGrid()
  TreeGridRow()
  useVStack()
  stopPropagation()
  StyleProvider()
  useNavigateRegions()
  focusRegion()
  onClick()
  withFilters()
  ensureFilteredComponent()

FilteredComponentRenderer:: (220 methods):
  onHooksUpdated()
  isComponentLike()
  Component()
  ComponentSystemProvider()
  getRegisteredStyles()
  _setPrototypeOf()
  getWindow()
  _interopRequireDefault()
  _classCallCheck()
  _possibleConstructorReturn()
  _inherits()
  _defineProperty()
  baseClass()
  withStyles()
  getResolveMethod()
  getCurrentTheme()
  getStyleDef()
  getState()
  withStylesHOC()
  WithStyles()
  componentDidMount()
  componentWillUnmount()
  render()
  trimmedEndIndex()
  classNames()
  _interopRequireDefault()
  registerCSSInterfaceWithDefaultTheme()
  _interopRequireDefault()
  _classCallCheck()
  _possibleConstructorReturn()
  _inherits()
  onDayClick()
  onDayMouseEnter()
  onDayMouseLeave()
  onMonthChange()
  onYearChange()
  onMonthTransitionEnd()
  getMonths()
  CalendarMonthGrid()
  componentDidMount()
  componentWillReceiveProps()
  shouldComponentUpdate()
  componentDidUpdate()
  componentWillUnmount()
  onTransitionEnd()
  onMonthSelect()
  onYearSelect()
  setContainerRef()
  render()
  stylis_min()
  M()
  X()
  Z()
  P()
  L()
  ea()
  H()
  T()
  U()
  B()
  toSheet()
  getStyledClassName()
  _interopRequireDefault()
  create()
  resolve()
  _inheritsLoose()
  isPortalEvent()
  withNextComponent()
  tooltip_Tooltip()
  _interopRequireDefault()
  registerInterfaceWithDefaultTheme()
  _interopRequireDefault()
  toMomentObject()
  warning()
  isValid()
  isValid()
  isValid()
  _interopRequireDefault()
  _defineProperty()
  _classCallCheck()
  _possibleConstructorReturn()
  _inherits()
  onDateChange()
  onFocusChange()
  onClose()
  isOutsideRange()
  isDayBlocked()
  isDayHighlighted()
  onPrevMonthClick()
  onNextMonthClick()
  onOutsideClick()
  onBlur()
  DayPickerSingleDateController()
  today()
  blocked()
  blockedCalendar()
  blockedOutOfRange()
  highlightedCalendar()
  valid()
  hovered()
  selected()
  firstDayOfWeek()
  lastDayOfWeek()
  componentDidMount()
  componentWillReceiveProps()
  componentWillUpdate()
  onDayClick()
  onDayMouseEnter()
  onDayMouseLeave()
  onPrevMonthClick()
  onNextMonthClick()
  onMonthChange()
  onYearChange()
  getFirstFocusableDay()
  getModifiers()
  getModifiersForDay()
  getStateForNewMonth()
  addModifier()
  deleteModifier()
  isBlocked()
  isHovered()
  isSelected()
  isToday()
  isFirstDayOfWeek()
  isLastDayOfWeek()
  render()
  initialVisibleMonth()
  is()
  shallowEqual()
  shallowCompare()
  _interopDefault()
  merge()
  useForceUpdate()
  withDefault()
  toArray()
  callProp()
  getForwardProps()
  interpolateTo()
  handleRef()
  Animated()
  AnimatedArray()
  AnimatedObject()
  injectApplyAnimatedValues()
  injectColorNames()
  injectFrame()
  injectStringInterpolator()
  injectNow()
  injectDefaultElement()
  injectAnimatedApi()
  injectCreateAnimatedStyle()
  injectManualFrameloop()
  AnimatedProps()
  createInterpolator()
  interpolate()
  findRange()
  AnimatedInterpolation()
  useChain()
  addAnimatedStyles()
  AnimatedValue()
  AnimatedValueArray()
  Controller()
  useTransition()
  cleanUp()
  diffItems()
  AnimatedStyle()
  call()
  normalizeColor()
  hue2rgb()
  hslToRgb()
  parse255()
  parse360()
  parse1()
  parsePercentage()
  colorToRgba()
  dangerousStyleValue()
  tinycolor()
  inputToRGB()
  rgbToRgb()
  rgbToHsl()
  hslToRgb()
  hue2rgb()
  rgbToHsv()
  hsvToRgb()
  rgbToHex()
  rgbaToHex()
  rgbaToArgbHex()
  desaturate()
  saturate()
  greyscale()
  lighten()
  brighten()
  darken()
  spin()
  complement()
  triad()
  tetrad()
  splitcomplement()
  analogous()
  monochromatic()
  flip()
  boundAlpha()
  bound01()
  clamp01()
  parseIntFromHex()
  isOnePointZero()
  isPercentage()
  pad2()
  convertToPercentage()
  convertDecimalToHex()
  convertHexToDecimal()
  isValidCSSUnit()
  stringInputToObject()
  validateWCAG2Parms()
  ToolbarItem()
  _interopRequireDefault()
  setRef()
  useForkRef()
  isValidMoment()
  isTransitionEndSupported()
  fill_FillComponent()

slot_SlotComponent:: (5 methods):
  useForceUpdate()
  fill_Fill()
  slot_Slot()
  useSlotRegistry()
  slot_fill_provider_SlotFillProvider()

provider_SlotFillProvider:: (166 methods):
  slot_fill_Fill()
  Provider()
  createSlotFill()
  useLiveRef()
  _interopRequireDefault()
  RightArrow()
  _interopRequireDefault()
  isBeforeDay()
  isPlainObject()
  __deprecatedSplitProps()
  splitProps()
  normalizePropsAreEqual()
  forwardRef()
  memo()
  createComponent()
  useSpokenMessage()
  Snackbar()
  dismissMe()
  onActionClick()
  Icon()
  constructPropValidatorVariations()
  createInvalidRequiredErrorMessage()
  preValidationRequireCheck()
  createMomentChecker()
  propValidator()
  findFirstEnabledItem()
  getCurrentId()
  calculateDimension()
  getClientPosition()
  getScroll()
  getScrollLeft()
  getScrollTop()
  getOffset()
  _getComputedStyle()
  _getComputedStyleIE()
  each()
  isBorderBoxFn()
  swap()
  getPBMWidth()
  isWindow()
  getWH()
  getWHIgnoreDisplay()
  css()
  setOffset()
  baseTrim()
  _interopRequireDefault()
  toISOMonthString()
  isSelfTarget()
  setLocked()
  ScrollLock()
  Button()
  insertWithoutScoping()
  merge()
  getWidget()
  useItem()
  targetIsAnotherItem()
  createEvent()
  matches()
  closest()
  isVisible()
  hasNegativeTabIndex()
  isFocusable()
  isTabbable()
  getAllFocusableIn()
  getFirstFocusableIn()
  getAllTabbableIn()
  getFirstTabbableIn()
  getLastTabbableIn()
  getNextTabbableIn()
  getPreviousTabbableIn()
  getClosestFocusable()
  _defineProperty()
  renderAsRenderProps()
  withNextComponent()
  visually_hidden_VisuallyHidden()
  getCalendarMonthWidth()
  _interopRequireDefault()
  _classCallCheck()
  _possibleConstructorReturn()
  _inherits()
  onDayClick()
  onDayMouseEnter()
  onDayMouseLeave()
  onMonthSelect()
  onYearSelect()
  renderCalendarDay()
  CalendarMonth()
  componentDidMount()
  componentWillReceiveProps()
  shouldComponentUpdate()
  componentWillUnmount()
  setMonthTitleHeight()
  setCaptionRef()
  render()
  getClassName()
  getPhrase()
  _interopRequireDefault()
  computePopoverXAxisPosition()
  computePopoverYAxisPosition()
  computePopoverPosition()
  offsetIframe()
  computeAnchorRect()
  getComputedStyle()
  withoutPadding()
  setAttribute()
  setStyle()
  setClass()
  getAnchorDocument()
  maybeClose()
  handleOnFocusOutside()
  PopoverSlot()
  getDocument()
  _interopRequireDefault()
  isSameDay()
  _extends()
  _interopRequireDefault()
  toISODateString()
  getTransformStyles()
  fireEvent()
  z()
  useToken()
  useProps()
  useOptions()
  toArray()
  createHook()
  isUA()
  _interopRequireDefault()
  debounce()
  invokeFunc()
  leadingEdge()
  remainingWait()
  shouldInvoke()
  timerExpired()
  trailingEdge()
  cancel()
  flush()
  debounced()
  toNumber()
  _interopRequireDefault()
  getVisibleDays()
  _interopRequireDefault()
  isSameMonth()
  shallowEqual()
  contains()
  Dashicon()
  _extends()
  _interopRequireDefault()
  CloseButton()
  _interopRequireDefault()
  _defineProperty()
  getPhrasePropTypes()
  sheetForTag()
  createStyleElement()
  StyleSheet()
  _interopRequireDefault()
  KeyboardShortcutRow()
  _interopRequireDefault()
  _toConsumableArray()
  onPrevMonthClick()
  onNextMonthClick()
  DayPickerNavigation()
  onKeyUp()
  onMouseUp()
  onKeyUp()
  onMouseUp()
  scrollIntoView()

Defines 166 functions

  __webpack_require__()
  getDefault()
  getModuleExports()
  getActiveElement()
  useSlot()
  checkIsBrowser()
  isSymbol()
  registerTheme()
  registerInterface()
  create()
  createLTR()
  createRTL()
  get()
  resolve()
  resolveLTR()
  resolveRTL()
  flush()
  _interopRequireDefault()
  getBlankDaysBeforeFirstDay()
  getNumberOfCalendarMonthWeeks()
  setTextFieldValue()
  _interopRequireDefault()
  LeftArrow()
  _interopRequireDefault()
  _classCallCheck()
  _possibleConstructorReturn()
  _inherits()
  openKeyboardShortcutsPanel()
  closeKeyboardShortcutsPanel()
  getKeyboardShortcuts()
  DayPickerKeyboardShortcuts()
  componentWillReceiveProps()
  componentDidUpdate()
  onKeyDown()
  onShowKeyboardShortcutsButtonClick()
  setShowKeyboardShortcutsButtonRef()
  setHideKeyboardShortcutsButtonRef()
  handleFocus()
  render()
  onKeyDown()
  onMouseUp()
  emptyFunction()
  emptyFunctionWithReset()
  shim()
  getShim()
  testPassiveEventListeners()
  get()
  canUsePassiveEventListeners()
  normalizeEventOptions()
  eventOptionsKey()
  ensureCanMutateNextEventHandlers()
  TargetEventHandlers()
  getEventHandlers()
  handleEvent()
  add()
  unsubscribe()
  addEventListener()
  _interopRequireDefault()
  CalendarWeek()
  _interopRequireDefault()
  getStatics()
  hoistNonReactStatics()
  separateStyles()
  memize()
  memoized()
  isTextField()
  memoize()
  inspect()
  wrapQuotes()
  quote()
  isArray()
  isDate()
  isRegExp()
  isError()
  isString()
  isNumber()
  isBoolean()
  isSymbol()
  isBigInt()
  has()
  toStr()
  nameOf()
  indexOf()
  isMap()
  isWeakMap()
  isWeakRef()
  isSet()
  isWeakSet()
  isElement()
  inspectString()
  lowbyte()
  markBoxed()
  weakCollectionOf()
  collectionOf()
  singleLineValues()
  getIndent()
  indentedJoin()
  arrObjKeys()
  _interopRequireDefault()
  _classCallCheck()
  _possibleConstructorReturn()
  _inherits()
  OutsideClickHandler()
  componentDidMount()
  componentDidUpdate()
  componentWillUnmount()
  onMouseDown()
  onMouseUp()
  setChildNodeRef()
  addMouseDownEventListener()
  removeEventListeners()
  render()
  __webpack_require__()
  defaultSanitize()
  escapeRegExpFn()
  y()
  _interopRequireDefault()
  isNextMonth()
  useContextSystemBridge()
  isButton()
  memoize()
  isPrimitive()
  monadic()
  variadic()
  assemble()
  strategyDefault()
  strategyVariadic()
  strategyMonadic()
  serializerDefault()
  ObjectWithoutPrototypeCache()
  rng()
  validate()
  stringify()
  v4()
  contextConnect()
  getConnectNamespace()
  hasConnectNamespace()
  _objectWithoutPropertiesLoose()
  defaultSetTimout()
  defaultClearTimeout()
  runTimeout()
  runClearTimeout()
  cleanUpNextTick()
  drainQueue()
  Item()
  noop()
  withNext()
  Icon()
  _interopRequireDefault()
  ChevronUp()
  hasFocus()
  ensureFocus()
  getRawTag()
  _interopRequireDefault()
  getCalendarDaySettings()
  _defineProperty()
  ownKeys()
  _objectSpread2()
  _objectWithoutPropertiesLoose()
  _unsupportedIterableToArray()
  _arrayLikeToArray()
  _createForOfIteratorHelperLoose()
  useContextSystem()
  Shortcut()
  _interopRequireDefault()
  ChevronDown()
  noop()
  noopThunk()
  throttle()
  isObjectLike()
  _interopRequireDefault()
  getCalendarMonthWeeks()
  focusIfNeeded()
  isNativeTabbable()
  supportsDisabledAttribute()
  getTabIndex()
  useDisableEvent()
  _interopRequireDefault()
  _classCallCheck()
  _possibleConstructorReturn()
  _inherits()
  getStyles()
  onDayClick()
  onDayMouseEnter()
  onDayMouseLeave()
  CustomizableCalendarDay()
  shouldComponentUpdate()
  componentDidUpdate()
  onDayClick()
  onDayMouseEnter()
  onDayMouseLeave()
  onKeyDown()
  setButtonRef()
  render()
  onMouseEnter()
  onMouseLeave()
  onMouseUp()
  onClick()
  onKeyDown()
  isObject()
  _interopRequireDefault()
  _defineProperty()
  ownKeys()
  _objectSpread2()
  _objectWithoutPropertiesLoose()
  _unsupportedIterableToArray()
  _arrayLikeToArray()
  _createForOfIteratorHelperLoose()
  isRenderProp()
  _interopRequireDefault()
  isDayVisible()
  _interopRequireDefault()
  _defineProperty()
  _toConsumableArray()
  modifiers()
  isNativeClick()
  error()
  getAST()
  matchListDefinitions()
  matchDefinition()
  matchGradient()
  matchCall()
  matchLinearOrientation()
  matchSideOrCorner()
  matchAngle()
  matchListRadialOrientations()
  matchRadialOrientation()
  matchCircle()
  matchEllipse()
  matchExtentKeyword()
  matchAtPosition()
  matchPositioning()
  matchCoordinates()
  matchListing()
  matchColorStop()
  matchColor()
  matchLiteralColor()
  matchHexColor()
  matchRGBColor()
  matchRGBAColor()
  matchNumber()
  matchDistance()
  matchPositionKeyword()
  matchLength()
  match()
  scan()
  consume()
  isRefObject()
  useWarning()
  generateRandomString()
  unstable_IdProvider()
  objectToString()
  getDefaultOrigin()
  getAnimateClassName()
  Animate()
  isTouchDevice()
  murmur2()
  handleInterpolation()
  createStringFromObject()
  userFocus()
  hasUserFocus()
  setUserFocus()
  _interopRequireDefault()
  _classCallCheck()
  _possibleConstructorReturn()
  _inherits()
  onDayClick()
  onDayMouseEnter()
  onDayMouseLeave()
  CalendarDay()
  shouldComponentUpdate()
  componentDidUpdate()
  onDayClick()
  onDayMouseEnter()
  onDayMouseLeave()
  onKeyDown()
  setButtonRef()
  render()
  onMouseEnter()
  onMouseLeave()
  onMouseUp()
  onClick()
  onKeyDown()
  _interopRequireDefault()
  isAfterDay()
  _interopRequireDefault()
  _toConsumableArray()
  _classCallCheck()
  _possibleConstructorReturn()
  _inherits()
  onOutsideClick()
  initialVisibleMonth()
  onPrevMonthClick()
  onNextMonthClick()
  onMonthChange()
  onYearChange()
  onMultiplyScrollableMonths()
  onDayClick()
  onDayMouseEnter()
  onDayMouseLeave()
  onBlur()
  DayPicker()
  onKeyboardShortcutsPanelClose()
  componentDidMount()
  componentWillReceiveProps()
  shouldComponentUpdate()
  componentWillUpdate()
  componentDidUpdate()
  componentWillUnmount()
  onKeyDown()
  onFinalKeyDown()
  onKeyboardShortcutsPanelClose()
  onPrevMonthClick()
  onMonthChange()
  onYearChange()
  onNextMonthClick()
  getFirstDayOfWeek()
  getFirstVisibleIndex()
  getFocusedDay()
  setMonthTitleHeight()
  setCalendarMonthWeeks()
  setContainerRef()
  setCalendarInfoRef()
  setTransitionContainerRef()
  maybeTransitionNextMonth()
  maybeTransitionPrevMonth()
  multiplyScrollableMonths()
  isHorizontal()
  isVertical()
  updateStateAfterMonthTransition()
  adjustDayPickerHeight()
  calculateAndSetDayPickerHeight()
  openKeyboardShortcutsPanel()
  closeKeyboardShortcutsPanel()
  renderNavigation()
  onNextMonthClick()
  onPrevMonthClick()
  renderWeekHeader()
  render()
  onClick()
  onMouseUp()
  baseGetTag()
  getActiveElement()
  getNamespace()
  getConnectedNamespace()
  _assertThisInitialized()
  hasFocusWithin()
  _interopRequireDefault()
  isPrevMonth()
  isObject()
  _defineProperty()
  ownKeys()
  _objectSpread2()
  _objectWithoutPropertiesLoose()
  _unsupportedIterableToArray()
  _arrayLikeToArray()
  _createForOfIteratorHelperLoose()
  transformValue()
  utils_getItemId()
  getAlignmentIndex()
  _setPrototypeOf()
  _inheritsLoose()
  css_browser_esm_css()
  InnerGlobal()
  merge()
  ownKeys()
  _objectSpread()
  rgba()
  reduceMotion()
  _EMOTION_STRINGIFIED_CSS_ERROR__()
  cell_Cell()
  useSealedState()
  groupItems()
  flatten()
  reverse()
  findEnabledItemById()
  isUpdater()
  applyState()
  unstable_useIdState()
  isElementPreceding()
  findDOMIndex()
  getMaxLength()
  verticalizeItems()
  createEmptyItem()
  fillGroups()
  placeItemsAfter()
  getItemsInGroup()
  getOppositeOrientation()
  addItemAtIndex()
  sortBasedOnDOMPosition()
  setItemsBasedOnDOMPosition()
  getCommonParent()
  useIntersectionObserver()
  useTimeoutObserver()
  useSortBasedOnDOMPosition()
  CompositeState_reducer()
  useAction()
  useIsUnmountedRef()
  useCompositeState()
  createFocusEvent()
  fireBlurEvent()
  createKeyboardEvent()
  fireKeyboardEvent()
  getNextActiveElementOnBlur()
  canProxyKeyboardEvent()
  useKeyboardEventProxy()
  useActiveElementRef()
  findFirstEnabledItemInTheLastRow()
  isItem()
  useScheduleUserFocus()
  alignment_matrix_control_icon_styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  AlignmentMatrixControlIcon()
  useBaseId()
  AlignmentMatrixControl()
  font()
  space()
  BaseControl()
  Component()
  styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  useFlexItem()
  useFlexBlock()
  useResponsiveValue()
  space_space()
  useDeprecatedProps()
  useFlex()
  component_Flex()
  truncate_styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  truncateMiddle()
  truncateContent()
  useTruncate()
  getColorComputationNode()
  isColor()
  _getComputedBackgroundColor()
  getOptimalTextColor()
  getOptimalTextShade()
  text_styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  createHighlighterText()
  getFontSize()
  getHeadingFontSize()
  getLineHeight()
  hook_EMOTION_STRINGIFIED_CSS_ERROR_()
  useText()
  getConvertedKey()
  rtl_rtl()
  input_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  Backdrop()
  label_Label()
  useUniqueId()
  getUIFlexProps()
  InputBase()
  addV()
  subV()
  calculateDistance()
  calculateAllGeometry()
  calculateAllKinematics()
  sign()
  minMax()
  rubberband2()
  rubberband()
  rubberbandIfOutOfBounds()
  _defineProperties()
  _createClass()
  _extends()
  reactusegesture_esm_inheritsLoose()
  _objectWithoutPropertiesLoose()
  _assertThisInitialized()
  _unsupportedIterableToArray()
  _arrayLikeToArray()
  _createForOfIteratorHelperLoose()
  noop()
  chainFns()
  ensureVector()
  assignDefault()
  valueFn()
  resolveWith()
  supportsGestureEvents()
  supportsTouchEvents()
  supportsPointerEvents()
  getEventTouches()
  getTouchIds()
  getGenericEventData()
  getPointerEventValues()
  getTwoTouchesEventValues()
  getScrollEventValues()
  getWheelEventValues()
  getWebkitGestureEventValues()
  window()
  getInternalGenericOptions()
  getInternalCoordinatesOptions()
  getInternalDistanceAngleOptions()
  getInternalDragOptions()
  _buildMoveConfig()
  _buildHoverConfig()
  _buildDragConfig()
  _buildPinchConfig()
  _buildScrollConfig()
  _buildWheelConfig()
  buildComplexConfig()
  getInitial()
  getInitialState()
  Recognizer()
  getIntentionalDisplacement()
  computeRubberband()
  getGenericPayload()
  getStartGestureState()
  addEventIds()
  removeEventIds()
  clearAllWindowListeners()
  clearWindowListeners()
  updateWindowListeners()
  updateDomListeners()
  getPropsListener()
  takeAll()
  getDomTargetFromConfig()
  addBindings()
  addListeners()
  removeListeners()
  useRecognizers()
  deprecationNoticeForDomTarget()
  resolveClasses()
  CoordinatesRecognizer()
  persistEvent()
  DragRecognizer()
  memoizeOne()
  memoized()
  equal()
  isEqual()
  useDrag()
  DistanceAngleRecognizer()
  PinchRecognizer()
  usePinch()
  WheelRecognizer()
  useWheel()
  MoveRecognizer()
  useMove()
  useHover()
  ScrollRecognizer()
  useScroll()
  sortHandlers()
  useGesture()
  includeStartEndHandlers()
  getDragCursor()
  useDragCursor()
  mergeInitialState()
  inputControlStateReducer()
  useInputControlStateReducer()
  isValueDefined()
  isValueEmpty()
  getDefinedValue()
  useUpdateEffect()
  InputField()
  input_control_useUniqueId()
  InputControl()
  number_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  getNumber()
  add()
  subtract()
  getPrecision()
  roundClamp()
  roundClampString()
  useJumpStep()
  NumberControl()
  angle_picker_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  AngleCircle()
  getAngle()
  AnglePickerControl()
  filterOptions()
  AutocompleterUI()
  useAutocomplete()
  insertCompletion()
  select()
  reset()
  announce()
  onChangeOptions()
  handleKeyDown()
  useAutocompleteProps()
  _onKeyDown()
  Autocomplete()
  unit_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  getParsedValue()
  utils_hasUnits()
  parseUnit()
  getValidParsedUnit()
  parseA11yLabelForUnit()
  filterUnitsWithSettings()
  UnitSelectControl()
  useControlledState()
  UnitControl()
  box_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  BoxUnitControl()
  Tooltip()
  mode()
  getAllValue()
  isValuesMixed()
  isValuesDefined()
  AllInputControl()
  BoxInputControls()
  box_control_icon_styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  BoxControlIcon()
  LinkedButton()
  box_control_visualizer_styles_EMOTION_STRINGIFIED_CSS_ERROR_()
  BoxControlVisualizer()
  Sides()
  Top()
  Right()
  Bottom()
  Left()
  useSideAnimation()
  box_control_useUniqueId()
  BoxControl()
  ButtonGroup()
  bodySize()
  headerFooterSizes()
  handleBorderless()
  handleShady()
  Card()
  CardBody()
  CardDivider()
  CardFooter()
  CardHeader()
  CardMedia()
  CheckboxControl()
  ClipboardButton()
  useObservableState()
  Dropdown()
  toggle()
  closeIfFocusOutside()
  close()
  Option()
  DropdownLinkAction()
  ButtonAction()
  CircularOptionPicker()
  colorToState()
  getPointOffset()
  isValidHex()
  simpleCheckForValidColor()
  calculateAlphaChange()
  calculateHueChange()
  calculateSaturationChange()
  KeyboardShortcut()
  KeyboardShortcuts()

Class: alpha_Alpha  - X-Ref

Class: hue_Hue  - X-Ref

TextControl({label,hideLabelFromVision,value,help,className,onChange,type = 'text',...props}, ref)   X-Ref

param: {Props} props Props
param: {import('react').Ref<HTMLInputElement>} [ref]

Class: inputs_Input  - X-Ref

Class: inputs_Inputs  - X-Ref

Class: saturation_Saturation  - X-Ref

Class: color_picker_ColorPicker  - X-Ref

DropdownOpenOnMount({shouldOpen,isOpen,onToggle})   X-Ref
No description

ColorOption({color,name,slug,onChange,onRemove,onConfirm,confirmLabel = Object(external_wp_i18n_["__"])   X-Ref
No description

ColorInserter({onInsert,onCancel})   X-Ref
No description

ColorEdit({colors,onChange,emptyUI,immutableColorSlugs,canReset = true})   X-Ref
No description

ColorPalette({clearable = true,className,colors,disableCustomColors = false,onChange,value})   X-Ref
No description

Class: token_input_TokenInput  - X-Ref

Class: suggestions_list_SuggestionsList  - X-Ref

ComboboxControl({value,label,options,onChange,onFilterValueChange = external_lodash_["noop"],hideLabelFromVision,help,allowReset = true,className,messages = {selected: Object(external_wp_i18n_["__"])   X-Ref
No description

objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded)   X-Ref
No description

assertThisInitialized_assertThisInitialized(self)   X-Ref
No description

t(t)   X-Ref
No description

cbToCb(cb)   X-Ref
Accepts a parameter and returns it if it's a function
or a noop function if it's not. This allows us to
accept a callback, but not worry about it if it's not
passed.

param: {Function} cb the callback
return: {Function} a function

downshift_esm_noop()   X-Ref
No description

downshift_esm_scrollIntoView(node, menuNode)   X-Ref
Scroll node into view if necessary

param: {HTMLElement} node the element that should scroll into view
param: {HTMLElement} menuNode the menu element of the component

isOrContainsNode(parent, child, environment)   X-Ref

param: {HTMLElement} parent the parent node
param: {HTMLElement} child the child node
param: {Window} environment The window context where downshift renders.
return: {Boolean} whether the parent is the child or the child is in the parent

debounce(fn, time)   X-Ref
Simple debounce implementation. Will call the given
function once after the time given has passed since
it was last called.

param: {Function} fn the function to call after the time
param: {Number} time the time to wait
return: {Function} the debounced function

cancel()   X-Ref
No description

wrapper()   X-Ref
No description

callAllEventHandlers()   X-Ref
This is intended to be used to compose event handlers.
They are executed in order until one of them sets
`event.preventDownshiftDefault = true`.

param: {...Function} fns the event handler functions
return: {Function} the event handler to add to an element

handleRefs()   X-Ref
No description

downshift_esm_generateId()   X-Ref
This generates a unique ID for an instance of Downshift

return: {String} the unique ID

resetIdCounter()   X-Ref
Resets idCounter to 0. Used for SSR.


getA11yStatusMessage(var isOpen = _ref2.isOpen,resultCount = _ref2.resultCount,previousResultCount = _ref2.previousResultCount;if (!isOpen)   X-Ref
Default implementation for status message. Only added when menu is open.
Will specift if there are results in the list, and if so, how many,
and what keys are relevant.

param: {Object} param the downshift state and other relevant properties
return: {String} the a11y status message

unwrapArray(arg, defaultValue)   X-Ref
Takes an argument and if it's an array, returns the first item in the array
otherwise returns the argument

param: {*} arg the maybe-array
param: {*} defaultValue the value if arg is falsey not defined
return: {*} the arg or it's first item

isDOMElement(element)   X-Ref

param: {Object} element (P)react element
return: {Boolean} whether it's a DOM element

getElementProps(element)   X-Ref

param: {Object} element (P)react element
return: {Object} the props

requiredProp(fnName, propName)   X-Ref
Throws a helpful error message for required properties. Useful
to be used as a default in destructuring or object params.

param: {String} fnName the function name
param: {String} propName the prop name

pickState(state)   X-Ref

param: {Object} state the state object
return: {Object} state that is relevant to downshift

getState(state, props)   X-Ref
This will perform a shallow merge of the given state object
with the state coming from props
(for the controlled component scenario)
This is used in state updater functions so they're referencing
the right state regardless of where it comes from.

param: {Object} state The state of the component/hook.
param: {Object} props The props that may contain controlled values.
returns: {Object} The merged controlled state.

isControlledProp(props, key)   X-Ref
This determines whether a prop is a "controlled prop" meaning it is
state which is controlled by the outside of this component rather
than within this component.

param: {Object} props The props that may contain controlled values.
param: {String} key the key to check
return: {Boolean} whether it is a controlled controlled prop

normalizeArrowKey(event)   X-Ref
Normalizes the 'key' property of a KeyboardEvent in IE/Edge

param: {Object} event a keyboardEvent object
return: {String} keyboard key

isPlainObject(obj)   X-Ref
Simple check if the value passed is object literal

param: {*} obj any things
return: {Boolean} whether it's object literal

getNextWrappingIndex(moveAmount, baseIndex, itemCount, getItemNodeFromIndex, circular)   X-Ref
Returns the new index in the list, in a circular way. If next value is out of bonds from the total,
it will wrap to either 0 or itemCount - 1.

param: {number} moveAmount Number of positions to move. Negative to move backwards, positive forwards.
param: {number} baseIndex The initial position to move from.
param: {number} itemCount The total number of items.
param: {Function} getItemNodeFromIndex Used to check if item is disabled.
param: {boolean} circular Specify if navigation is circular. Default is true.
returns: {number} The new index after the move.

getNextNonDisabledIndex(moveAmount, baseIndex, itemCount, getItemNodeFromIndex, circular)   X-Ref
Returns the next index in the list of an item that is not disabled.

param: {number} moveAmount Number of positions to move. Negative to move backwards, positive forwards.
param: {number} baseIndex The initial position to move from.
param: {number} itemCount The total number of items.
param: {Function} getItemNodeFromIndex Used to check if item is disabled.
param: {boolean} circular Specify if navigation is circular. Default is true.
returns: {number} The new index. Returns baseIndex if item is not disabled. Returns next non-disabled item otherwise. If no non-disabled found it will return -1.

targetWithinDownshift(target, downshiftElements, environment, checkActiveElement)   X-Ref
Checks if event target is within the downshift elements.

param: {EventTarget} target Target to check.
param: {HTMLElement[]} downshiftElements The elements that form downshift (list, toggle button etc).
param: {Window} environment The window context where downshift renders.
param: {boolean} checkActiveElement Whether to also check activeElement.
returns: {boolean} Whether or not the target is within downshift elements.

setStatus(status, documentProp)   X-Ref

param: {String} status the status message
param: {Object} documentProp document passed by the user.

getStatusDiv(documentProp)   X-Ref
Get the status node or create it if it does not already exist.

param: {Object} documentProp document passed by the user.
return: {HTMLElement} the status node.

Downshift(_props)   X-Ref
No description

validateGetMenuPropsCalledCorrectly(node, _ref12)   X-Ref
No description

validateGetRootPropsCalledCorrectly(element, _ref13)   X-Ref
No description

callOnChangeProps(action, state, newState)   X-Ref
No description

invokeOnChangeHandler(key, action, state, newState)   X-Ref
No description

downshift_esm_stateReducer(s, a)   X-Ref
Default state reducer that returns the changes.

param: {Object} s state.
param: {Object} a action with changes.
returns: {Object} changes.

downshift_esm_getA11ySelectionMessage(selectionParameters)   X-Ref
Returns a message to be added to aria-live region when item is selected.

param: {Object} selectionParameters Parameters required to build the message.
returns: {string} The a11y message.

useElementIds(_ref)   X-Ref
No description

getItemIndex(index, item, items)   X-Ref
No description

downshift_esm_itemToString(item)   X-Ref
No description

isAcceptedCharacterKey(key)   X-Ref
No description

capitalizeString(string)   X-Ref
No description

useLatestRef(val)   X-Ref
No description

useEnhancedReducer(reducer, initialState, props)   X-Ref
Computes the controlled state using a the previous state, props,
two reducers, one from downshift and an optional one from the user.
Also calls the onChange handlers for state values that have changed.

param: {Function} reducer Reducer function from downshift.
param: {Object} initialState Initial state of the hook.
param: {Object} props The hook props.
returns: {Array} An array with the state and an action dispatcher.

useControlledReducer(var _useEnhancedReducer = useEnhancedReducer(reducer, initialState, props)   X-Ref
Wraps the useEnhancedReducer and applies the controlled prop values before
returning the new state.

param: {Function} reducer Reducer function from downshift.
param: {Object} initialState Initial state of the hook.
param: {Object} props The hook props.
returns: {Array} An array with the state and an action dispatcher.

getDefaultValue(if (defaultStateValues === void 0)   X-Ref
No description

getInitialValue(if (defaultStateValues === void 0)   X-Ref
No description

getInitialState(var selectedItem = getInitialValue$1(props, 'selectedItem')   X-Ref
No description

getHighlightedIndexOnOpen(props, state, offset, getItemNodeFromIndex)   X-Ref
No description

useMouseAndTouchTracker(isOpen, downshiftElementRefs, environment, handleBlur)   X-Ref
Reuse the movement tracking of mouse and touch events.

param: {boolean} isOpen Whether the dropdown is open or not.
param: {Array<Object>} downshiftElementRefs Downshift element refs to track movement (toggleButton, menu etc.)
param: {Object} environment Environment where component/hook exists.
param: {Function} handleBlur Handler on blur from mouse or touch.
returns: {Object} Ref containing whether mouseDown or touchMove event is happening

useA11yMessageSetter(getA11yMessage, dependencyArray, _ref2)   X-Ref
No description

useScrollIntoView(_ref3)   X-Ref
No description

downshiftCommonReducer(state, action, stateChangeTypes)   X-Ref
No description

getItemIndexByCharacterKey(keysSoFar, highlightedIndex, items, itemToString, getItemNodeFromIndex)   X-Ref
No description

downshift_esm_getA11yStatusMessage(_ref)   X-Ref
Default implementation for status message. Only added when menu is open.
Will specift if there are results in the list, and if so, how many,
and what keys are relevant.

param: {Object} param the downshift state and other relevant properties
return: {String} the a11y status message

downshiftSelectReducer(state, action)   X-Ref
No description

useSelect(userProps)   X-Ref
No description

getInitialState(var initialState = getInitialState$2(props)   X-Ref
No description

useControlledReducer(reducer, initialState, props)   X-Ref
The useCombobox version of useControlledReducer, which also
checks if the controlled prop selectedItem changed between
renders. If so, it will also update inputValue with its
string equivalent. It uses the common useEnhancedReducer to
compute the rest of the state.

param: {Function} reducer Reducer function from downshift.
param: {Object} initialState Initial state of the hook.
param: {Object} props The hook props.
returns: {Array} An array with the state and an action dispatcher.

downshiftUseComboboxReducer(state, action)   X-Ref
No description

useCombobox(userProps)   X-Ref
No description

getInitialValue(props, propKey)   X-Ref
Returns the initial value for a state key in the following order:
1. controlled prop, 2. initial prop, 3. default prop, 4. default
value from Downshift.

param: {Object} props Props passed to the hook.
param: {string} propKey Props key to generate the value for.
returns: {any} The initial value for that prop.

getDefaultValue(props, propKey)   X-Ref
Returns the default value for a state key in the following order:
1. controlled prop, 2. default prop, 3. default value from Downshift.

param: {Object} props Props passed to the hook.
param: {string} propKey Props key to generate the value for.
returns: {any} The initial value for that prop.

downshift_esm_getInitialState(props)   X-Ref
Gets the initial state based on the provided props. It uses initial, default
and controlled props related to state in order to compute the initial value.

param: {Object} props Props passed to the hook.
returns: {Object} The initial state.

isKeyDownOperationPermitted(event)   X-Ref
Returns true if dropdown keydown operation is permitted. Should not be
allowed on keydown with modifier keys (ctrl, alt, shift, meta), on
input element with text content that is either highlighted or selection
cursor is not at the starting position.

param: {KeyboardEvent} event The event from keydown.
returns: {boolean} Whether the operation is allowed.

downshift_esm_getA11yRemovalMessage(selectionParameters)   X-Ref
Returns a message to be added to aria-live region when item is removed.

param: {Object} selectionParameters Parameters required to build the message.
returns: {string} The a11y message.

downshiftMultipleSelectionReducer(state, action)   X-Ref
No description

useMultipleSelection(userProps)   X-Ref
No description

CustomSelectControl({className,hideLabelFromVision,label,options: items,onChange: onSelectedItemChange,value: _selectedItem})   X-Ref
No description

DatePickerDay({day,events = []})   X-Ref
No description

Class: date_DatePicker  - X-Ref

UpdateOnBlurAsIntegerField({as,value,onUpdate,...props})   X-Ref
<UpdateOnBlurAsIntegerField>
A shared component to parse, validate, and handle remounting of the underlying form field element like <input> and <select>.

param: {Object}        props          Component props.
param: {string}        props.as       Render the component as specific element tag, defaults to "input".
param: {number|string} props.value    The default value of the component which will be parsed to integer.
param: {Function}      props.onUpdate Call back when blurred and validated.

handleBlur(event)   X-Ref
No description

TimePicker({is12Hour,currentTime,onChange})   X-Ref
<TimePicker>

param: {Object}                props             Component props.
param: {boolean}               props.is12Hour    Should the time picker showed in 12 hour format or 24 hour format.
param: {WPValidDateTimeFormat} props.currentTime The initial current time the time picker should render.
param: {Function}              props.onChange    Callback function when the date changed.

changeDate(newDate)   X-Ref
Function that sets the date state and calls the onChange with a new date.
The date is truncated at the minutes.

param: {Object} newDate The date object.

update(name, value)   X-Ref
No description

updateAmPm(value)   X-Ref
No description

DateTimePicker({currentDate,is12Hour,isInvalidDate,onMonthPreviewed = external_lodash_["noop"],onChange,events}, ref)   X-Ref
No description

onClickDescriptionToggle()   X-Ref
No description

select_control_useUniqueId(idProp)   X-Ref
No description

SelectControl({className,disabled = false,help,hideLabelFromVision,id: idProp,label,multiple = false,onBlur = external_lodash_["noop"],onChange = external_lodash_["noop"],onFocus = external_lodash_["noop"],options = [],size = 'default',value: valueProp,labelPosition = 'top',...props}, ref)   X-Ref
No description

DimensionControl(props)   X-Ref
Internal dependencies


disabled_styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

Disabled({className,children,isDisabled = true,...props})   X-Ref
No description

component_Divider(props, forwardedRef)   X-Ref
No description

Draggable({children,onDragStart,onDragOver,onDragEnd,cloneClassname,elementId,transferData,__experimentalTransferDataType: transferDataType = 'text',__experimentalDragComponent: dragComponent})   X-Ref

param: {Props} props
return: {JSX.Element} A draggable component.

end(event)   X-Ref
Removes the element clone, resets cursor, and removes drag listener.

param: {import('react').DragEvent} event The non-custom DragEvent.

start(event)   X-Ref
This method does a couple of things:

- Clones the current element and spawns clone over original element.
- Adds a fake temporary drag image to avoid browser defaults.
- Sets transfer data.
- Adds dragover listener.

param: {import('react').DragEvent} event The non-custom DragEvent.

over(e)   X-Ref

param: {import('react').DragEvent} e

DropZoneComponent({className,label,onFilesDrop,onHTMLDrop,onDrop})   X-Ref
No description

DropZoneProvider({children})   X-Ref
WordPress dependencies


cycleValue(value, total, offset)   X-Ref
No description

Class: container_NavigableContainer  - X-Ref

NavigableMenu({role = 'menu',orientation = 'vertical',...rest}, ref)   X-Ref
Internal dependencies


mergeProps(defaultProps = {}, props = {})   X-Ref
No description

DropdownMenu({children,className,controls,icon = library_menu,label,popoverProps,toggleProps,menuProps,disableOpenOnArrowDown = false,text,menuLabel,position,noIcons})   X-Ref
No description

Swatch({fill})   X-Ref
No description

getDefaultColors(palette)   X-Ref
Calculate the brightest and darkest values from a color palette.

param: {Object[]} palette Color palette for the theme.
return: {string[]} Tuple of the darkest color and brightest color.

getGradientFromCSSColors(colors = [], angle = '90deg')   X-Ref
Generate a duotone gradient from a list of colors.

param: {string[]} colors CSS color strings.
param: {string}   angle  CSS gradient angle.
return: {string} CSS gradient string for the duotone swatch.

getColorStopsFromColors(colors)   X-Ref
Convert a color array to an array of color stops.

param: {string[]} colors CSS colors array
return: {Object[]} Color stop information.

getColorsFromColorStops(colorStops = [])   X-Ref
Convert a color stop array to an array colors.

param: {Object[]} colorStops Color stop information.
return: {string[]} CSS colors array.

DuotoneSwatch({values})   X-Ref
No description

color_list_picker_ColorOption({label,value,colors,disableCustomColors,onChange})   X-Ref
No description

ColorListPicker({colors,labels,value = [],disableCustomColors,onChange})   X-Ref
No description

clampPercent(value)   X-Ref
Clamps a number between 0 and 100.

param: {number} value Value to clamp.
return: {number} Value clamped between 0 and 100.

isOverlapping(value, initialIndex, newPosition, minDistance = MINIMUM_DISTANCE_BETWEEN_POINTS)   X-Ref
Check if a control point is overlapping with another.

param: {ControlPoint[]} value        Array of control points.
param: {number}         initialIndex Index of the position to test.
param: {number}         newPosition  New position of the control point.
param: {number}         minDistance  Distance considered to be overlapping.
return: {boolean} True if the point is overlapping.

addControlPoint(points, position, color)   X-Ref
Adds a control point from an array and returns the new array.

param: {ControlPoint[]} points   Array of control points.
param: {number}         position Position to insert the new point.
param: {Color}          color    Color to update the control point at index.
return: {ControlPoint[]} New array of control points.

removeControlPoint(points, index)   X-Ref
Removes a control point from an array and returns the new array.

param: {ControlPoint[]} points Array of control points.
param: {number}         index  Index to remove.
return: {ControlPoint[]} New array of control points.

updateControlPoint(points, index, newPoint)   X-Ref
Updates a control point from an array and returns the new array.

param: {ControlPoint[]} points   Array of control points.
param: {number}         index    Index to update.
param: {ControlPoint[]} newPoint New control point to replace the index.
return: {ControlPoint[]} New array of control points.

updateControlPointPosition(points, index, newPosition)   X-Ref
Updates the position of a control point from an array and returns the new array.

param: {ControlPoint[]} points      Array of control points.
param: {number}         index       Index to update.
param: {number}         newPosition Position to move the control point at index.
return: {ControlPoint[]} New array of control points.

updateControlPointColor(points, index, newColor)   X-Ref
Updates the position of a control point from an array and returns the new array.

param: {ControlPoint[]} points   Array of control points.
param: {number}         index    Index to update.
param: {Color}          newColor Color to update the control point at index.
return: {ControlPoint[]} New array of control points.

updateControlPointColorByPosition(points, position, newColor)   X-Ref
Updates the position of a control point from an array and returns the new array.

param: {ControlPoint[]} points   Array of control points.
param: {number}         position Position of the color stop.
param: {string}         newColor Color to update the control point at index.
return: {ControlPoint[]} New array of control points.

getHorizontalRelativeGradientPosition(mouseXCoordinate, containerElement, positionedElementWidth)   X-Ref
Gets the horizontal coordinate when dragging a control point with the mouse.

param: {number}  mouseXCoordinate       Horizontal coordinate of the mouse position.
param: {Element} containerElement       Container for the gradient picker.
param: {number}  positionedElementWidth Width of the positioned element.
return: {number} Whole number percentage from the left.

ControlPointKeyboardMove({value: position,onChange,children})   X-Ref
No description

ControlPointButton({isOpen,position,color,onChange,...additionalProps})   X-Ref
No description

ControlPoints({disableRemove,disableAlpha,gradientPickerDomRef,ignoreMarkerPosition,value: controlPoints,onChange,onStartControlPointChange,onStopControlPointChange})   X-Ref
No description

InsertPoint({value: controlPoints,onChange,onOpenInserter,onCloseInserter,insertPosition,disableAlpha})   X-Ref
No description

customGradientBarReducer(state, action)   X-Ref
No description

CustomGradientBar({background,hasGradient,value: controlPoints,onChange,disableInserter = false,disableAlpha = false})   X-Ref
No description

CustomDuotoneBar({value,onChange})   X-Ref
No description

DuotonePicker({colorPalette,duotonePalette,disableCustomColors,value,onChange})   X-Ref
No description

external_link_styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

ExternalLink({href,children,className,rel = '',...additionalProps}, ref)   X-Ref
No description

focal_point_picker_style_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

getExtension(filename = '')   X-Ref
Gets the extension of a file name.

param: {string} filename The file name.
return: {string} The extension of the file name.

isVideoType(filename = '')   X-Ref
Checks if a file is a video.

param: {string} filename The file name.
return: {boolean} Whether the file is a video.

fractionToPercentage(fraction)   X-Ref
Transforms a fraction value to a percentage value.

param: {number} fraction The fraction value.
return: {number} A percentage value.

FocalPointPickerControls({onChange = external_lodash_["noop"],percentages = {x: 0.5,y: 0.5}})   X-Ref
No description

controls_UnitControl(props)   X-Ref
No description

focal_point_style_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

FocalPoint({coordinates = {left: '50%',top: '50%'},...props})   X-Ref
External dependencies


FocalPointPickerGrid({bounds = {},value,...props})   X-Ref
No description

useRevealAnimation(value)   X-Ref
Custom hook that renders the "flash" animation whenever the value changes.

param: {string} value Value of (box) side.

Media({alt,autoPlay,src,onLoad = external_lodash_["noop"],mediaRef,muted = true,...props})   X-Ref
No description

MediaPlaceholderElement({mediaRef,onLoad = external_lodash_["noop"],...props})   X-Ref
No description

Class: focal_point_picker_FocalPointPicker  - X-Ref

FocusableIframe({iframeRef,...props})   X-Ref
WordPress dependencies


checkFocus()   X-Ref
Checks whether the iframe is the activeElement, inferring that it has
then received focus, and calls the `onFocus` prop callback.


floatClamp(value, min, max)   X-Ref
A float supported clamp function for a specific value.

param: {number|null} value The value to clamp.
param: {number}      min   The minimum value.
param: {number}      max   The maximum value.
return: {number} A (float) number

useControlledRangeValue({min,max,value: valueProp,initial})   X-Ref
Hook to store a clamped value, derived from props.

param: {Object} settings         Hook settings.
param: {number} settings.min     The minimum value.
param: {number} settings.max     The maximum value.
param: {number} settings.value      The current value.
param: {any}    settings.initial The initial value.
return: {[*, Function]} The controlled value and the value setter.

useDebouncedHoverInteraction({onHide = external_lodash_["noop"],onMouseLeave = external_lodash_["noop"],onMouseMove = external_lodash_["noop"],onShow = external_lodash_["noop"],timeout = 300})   X-Ref
Hook to encapsulate the debouncing "hover" to better handle the showing
and hiding of the Tooltip.

param: {Object}   settings                     Hook settings.
param: {Function} [settings.onShow=noop]       A callback function invoked when the element is shown.
param: {Function} [settings.onHide=noop]       A callback function invoked when the element is hidden.
param: {Function} [settings.onMouseMove=noop]  A callback function invoked when the mouse is moved.
param: {Function} [settings.onMouseLeave=noop] A callback function invoked when the mouse is moved out of the element.
param: {number}   [settings.timeout=300]       Timeout before the element is shown or hidden.
return: {Object} Bound properties for use on a React.Node.

range_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

input_range_InputRange({describedBy,isShiftStepEnabled = true,label,onHideTooltip = external_lodash_["noop"],onMouseLeave = external_lodash_["noop"],step = 1,onBlur = external_lodash_["noop"],onChange = external_lodash_["noop"],onFocus = external_lodash_["noop"],onMouseMove = external_lodash_["noop"],onShowTooltip = external_lodash_["noop"],shiftStep = 10,value,...props}, ref)   X-Ref
No description

RangeMark({className,isFilled = false,label,style = {},...props})   X-Ref
Internal dependencies


RangeRail({disabled = false,marks = false,min = 0,max = 100,step = 1,value = 0,...restProps})   X-Ref
No description

Marks({disabled = false,marks = false,min = 0,max = 100,step = 1,value = 0})   X-Ref
No description

useMarks({marks,min = 0,max = 100,step = 1,value = 0})   X-Ref
No description

SimpleTooltip({className,inputRef,position: positionProp = 'auto',show = false,style = {},value = 0,renderTooltipContent = v => v,zIndex = 100,...restProps})   X-Ref
No description

useTooltipPosition({inputRef,position: positionProp})   X-Ref
No description

RangeControl({afterIcon,allowReset = false,beforeIcon,className,currentInput,color: colorProp = COLORS.ui.theme,disabled = false,help,initialPosition,isShiftStepEnabled = true,label,marks = false,max = 100,min = 0,onBlur = external_lodash_["noop"],onChange = external_lodash_["noop"],onFocus = external_lodash_["noop"],onMouseMove = external_lodash_["noop"],onMouseLeave = external_lodash_["noop"],railColor,resetFallbackValue,renderTooltipContent = v => v,showTooltip: showTooltipProp,shiftStep = 10,step = 1,trackColor,value: valueProp,withInputField = true,...props}, ref)   X-Ref
No description

getSelectValueFromFontSize(fontSizes, value)   X-Ref
No description

getSelectOptions(optionsArray, disableCustomFontSizes)   X-Ref
No description

FontSizePicker({fallbackFontSize,fontSizes = [],disableCustomFontSizes = false,onChange,value,withSlider = false}, ref)   X-Ref
No description

FormFileUpload({accept,children,multiple = false,onChange,render,...props})   X-Ref
No description

FormToggle({className,checked,id,disabled,onChange = external_lodash_["noop"],...props})   X-Ref
No description

Token({value,status,title,displayTransform,isBorderless = false,disabled = false,onClickRemove = external_lodash_["noop"],onMouseEnter,onMouseLeave,messages,termPosition,termsCount})   X-Ref
No description

Class: form_token_field_FormTokenField  - X-Ref

serializeGradientColor({type,value})   X-Ref
External dependencies


serializeGradientPosition(position)   X-Ref
No description

serializeGradientColorStop({type,value,length})   X-Ref
No description

serializeGradientOrientation(orientation)   X-Ref
No description

serializeGradient({type,orientation,colorStops})   X-Ref
No description

getLinearGradientRepresentationOfARadial(gradientAST)   X-Ref
No description

hasUnsupportedLength(item)   X-Ref
No description

getGradientAstWithDefault(value)   X-Ref
No description

getGradientAstWithControlPoints(gradientAST, newControlPoints)   X-Ref
No description

getStopCssColor(colorStop)   X-Ref
No description

custom_gradient_picker_styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

CustomGradientPicker({value,onChange})   X-Ref
No description

GradientPicker({className,gradients,onChange,value,clearable = true,disableCustomGradients = false})   X-Ref
No description

getAlignmentProps(alignment)   X-Ref

param: {keyof typeof ALIGNMENTS | undefined} alignment
return: {{ alignItems?: import('react').CSSProperties['alignItems'], justifyContent?: import('react').CSSProperties['justifyContent']}} CSS props for alignment

useGrid(props)   X-Ref

param: {import('../ui/context').ViewOwnProps<import('./types').Props, 'div'>} props

ModalFrameContent({overlayClassName,contentLabel,aria: {describedby,labelledby},children,className,role,style,focusOnMount,shouldCloseOnEsc,onRequestClose})   X-Ref
No description

handleEscapeKeyDown(event)   X-Ref
No description

Class: frame_ModalFrame  - X-Ref

hideApp(unhiddenElement)   X-Ref
Hides all elements in the body element from screen-readers except
the provided element and elements that should not be hidden from
screen-readers.

The reason we do this is because `aria-modal="true"` currently is bugged
in Safari, and support is spotty in other browsers overall. In the future
we should consider removing these helper functions in favor of
`aria-modal="true"`.

param: {Element} unhiddenElement The element that should not be hidden.

elementShouldBeHidden(element)   X-Ref
Determines if the passed element should not be hidden from screen readers.

param: {HTMLElement} element The element that should be checked.
return: {boolean} Whether the element should not be hidden from screen-readers.

showApp()   X-Ref
Makes all elements in the body that have been hidden by `hideApp`
visible again to screen-readers.


Class: modal_Modal  - X-Ref

PageControl({currentPage,numberOfPages,setCurrentPage})   X-Ref
No description

FinishButton(props)   X-Ref
Internal dependencies


Guide({children,className,contentLabel,finishButtonText,onFinish,pages = []})   X-Ref
No description

GuidePage(props)   X-Ref
WordPress dependencies


useHeading(props)   X-Ref
No description

utils_getAlignmentProps(alignment, direction = 'row')   X-Ref

param: {import('./types').HStackAlignment | import('react').CSSProperties[ 'alignItems' ]} alignment Where to align.
param: {import('../flex/types').FlexDirection} [direction='row'] Direction to align.
return: {import('./types').AlignmentProps} Alignment props.

getValidChildren(children)   X-Ref
Gets a collection of available children elements from a React component's children prop.

param: {import('react').ReactNode} children
return: {import('react').ReactNodeArray} An array of available children.

useHStack(props)   X-Ref

param: {import('../ui/context').ViewOwnProps<import('./types').Props, 'div'>} props

IconButton({labelPosition,size,tooltip,label,...props}, ref)   X-Ref
No description

MenuGroup({children,className = '',label,hideSeparator})   X-Ref
No description

MenuItem({children,info,className,icon,shortcut,isSelected,role = 'menuitem',...props}, ref)   X-Ref
Renders a generic menu item for use inside the more menu.

param: {Object}        props                   Component props.
param: {WPElement}     props.children          Element to render as child of button.
param: {string}        props.info              Text to use as description for button text.
param: {string}        props.className         Class to set on the container.
param: {WPIcon}        props.icon              Button's `icon` prop.
param: {string|Object} props.shortcut          Shortcut's `shortcut` prop.
param: {boolean}       props.isSelected        Whether or not the menu item is currently selected.
param: {string}        [props.role="menuitem"] ARIA role of the menu item.
param: {Object}        ref                     React Element ref.
return: {WPComponent} The component to be rendered.

MenuItemsChoice({choices = [],onHover = external_lodash_["noop"],onSelect,value})   X-Ref
Internal dependencies


TabbableContainer({eventToOffset,...props}, ref)   X-Ref
Internal dependencies


navigation_styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

Navigation({activeItem,activeMenu = ROOT_MENU,children,className,onActivateMenu = external_lodash_["noop"]})   X-Ref
No description

NavigationBackButton({backButtonLabel,className,href,onClick,parentMenu}, ref)   X-Ref
No description

NavigationGroup({children,className,title})   X-Ref
No description

NavigationItemBaseContent(props)   X-Ref
Internal dependencies


NavigationItemBase(props)   X-Ref
No description

NavigationItem(props)   X-Ref
No description

MenuTitleSearch({debouncedSpeak,onCloseSearch,onSearch,search,title})   X-Ref
No description

onKeyDown(event)   X-Ref
No description

NavigationMenuTitle({hasSearch,onSearch,search,title,titleAction})   X-Ref
No description

NavigationSearchNoResultsFound({search})   X-Ref
No description

NavigationMenu(props)   X-Ref
No description

useSpokenMessage(message, politeness)   X-Ref
Custom hook which announces the message with the given politeness, if a
valid message is provided.

param: {string|WPElement}     [message]  Message to announce.
param: {'polite'|'assertive'} politeness Politeness to announce.

getDefaultPoliteness(status)   X-Ref
Given a notice status, returns an assumed default politeness for the status.
Defaults to 'assertive'.

param: {string} [status] Notice status.
return: {'polite'|'assertive'} Notice politeness.

Notice({className,status = 'info',children,spokenMessage = children,onRemove = external_lodash_["noop"],isDismissible = true,actions = [],politeness = getDefaultPoliteness(status)   X-Ref
No description

NoticeList({notices,onRemove = external_lodash_["noop"],className,children})   X-Ref
Renders a list of notices.

param: {Object}   $0           Props passed to the component.
param: {Array}    $0.notices   Array of notices to render.
param: {Function} $0.onRemove  Function called when a notice should be removed / dismissed.
param: {Object}   $0.className Name of the class used by the component.
param: {Object}   $0.children  Array of children to be rendered inside the notice list.
return: {Object}                The rendered notices list.

PanelHeader({label,children})   X-Ref
No description

Panel({header,className,children}, ref)   X-Ref
No description

PanelBody({buttonProps = {},children,className,icon,initialOpen,onToggle = external_lodash_["noop"],opened,title,scrollAfterOpen = true}, ref)   X-Ref
No description

Placeholder({icon,children,label,instructions,className,notices,preview,isColumnLayout,...additionalProps})   X-Ref
Renders a placeholder. Normally used by blocks to render their empty state.

param: {Object}    props                The component props.
param: {WPIcon}    props.icon           An icon rendered before the label.
param: {WPElement} props.children       Children to be rendered.
param: {string}    props.label          Title of the placeholder.
param: {string}    props.instructions   Instructions of the placeholder.
param: {string}    props.className      Class to set on the container div.
param: {Object}    props.notices        A rendered notices list.
param: {Object}    props.preview        Preview to be rendered in the placeholder.
param: {boolean}   props.isColumnLayout Whether a column layout should be used.
return: {Object}       The rendered placeholder.

buildTermsTree(flatTerms)   X-Ref
Returns terms in a tree form.

param: {Array} flatTerms  Array of terms in flat format.
return: {Array} Array of terms in tree format.

tree_select_getSelectOptions(tree, level = 0)   X-Ref
No description

TreeSelect({label,noOptionLabel,onChange,selectedId,tree,...props})   X-Ref
No description

CategorySelect({label,noOptionLabel,categoriesList,selectedCategoryId,onChange,...props})   X-Ref
WordPress dependencies


AuthorSelect({label,noOptionLabel,authorList,selectedAuthorId,onChange})   X-Ref
Internal dependencies


QueryControls({authorList,selectedAuthorId,categoriesList,selectedCategoryId,categorySuggestions,selectedCategories,numberOfItems,order,orderBy,maxItems = DEFAULT_MAX_ITEMS,minItems = DEFAULT_MIN_ITEMS,onCategoryChange,onAuthorChange,onNumberOfItemsChange,onOrderChange,onOrderByChange})   X-Ref
No description

getChecked(options)   X-Ref
No description

useInitialChecked(options)   X-Ref
No description

fireChange(element, onChange)   X-Ref
No description

radio_Radio({children,value,...props}, ref)   X-Ref
No description

useRadioState(initialState)   X-Ref
No description

radio_group_RadioGroup({label,checked,defaultChecked,disabled,onChange,...props}, ref)   X-Ref
No description

RadioControl({label,className,selected,help,onChange,options = [],...props})   X-Ref
Internal dependencies


__()   X-Ref
No description

Resizer()   X-Ref
No description

__()   X-Ref
No description

Resizable(props)   X-Ref
No description

useResizeLabel({axis,fadeTimeout = 180,onResize = external_lodash_["noop"],position = POSITIONS.bottom,showPx = false})   X-Ref
Custom hook that manages resize listener events. It also provides a label
based on current resize width x height values.

param: {Object} props
param: {string} props.axis Only shows the label corresponding to the axis.
param: {number} props.fadeTimeout Duration (ms) before deactivating the resize label.
param: {boolean} props.onResize Callback when a resize occurs. Provides { width, height } callback.
param: {string} props.position Adjusts label value.
param: {boolean} props.showPx Whether to add `PX` to the label.
return: {UseResizeLabelProps} Properties for hook.

getSizeLabel({axis,height,moveX = false,moveY = false,position = POSITIONS.bottom,showPx = false,width})   X-Ref
Gets the resize label based on width and height values (as well as recent changes).

param: {Object} props
param: {string} props.axis Only shows the label corresponding to the axis.
param: {number} props.height Height value.
param: {boolean} props.moveX Recent width (x axis) changes.
param: {boolean} props.moveY Recent width (y axis) changes.
param: {string} props.position Adjusts label value.
param: {boolean} props.showPx Whether to add `PX` to the label.
param: {number} props.width Width value.
return: {undefined | string} The rendered label.

resize_tooltip_styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

resize_tooltip_label_Label({label,position = POSITIONS.corner,zIndex = 1000,...props}, ref)   X-Ref
No description

ResizeTooltip({axis,className,fadeTimeout = 180,isVisible = true,labelRef,onResize = external_lodash_["noop"],position = POSITIONS.bottom,showPx = true,zIndex = 1000,...props}, ref)   X-Ref
No description

ResizableBox({className,children,showHandle = true,__experimentalShowTooltip: showTooltip = false,__experimentalTooltipProps: tooltipProps = {},...props}, ref)   X-Ref
No description

ResponsiveWrapper({naturalWidth,naturalHeight,children,isInline = false})   X-Ref
No description

sendResize()   X-Ref
No description

removeViewportStyles( ruleOrNode )   X-Ref
No description

Sandbox({html = '',title = '',type,styles = [],scripts = [],onFocus})   X-Ref
No description

isFrameAccessible()   X-Ref
No description

trySandbox(forceRerender = false)   X-Ref
No description

tryNoForceSandbox()   X-Ref
No description

checkMessageForResize(event)   X-Ref
No description

SnackbarList({notices,className,children,onRemove = external_lodash_["noop"]})   X-Ref
Renders a list of notices.

param: {Object}   $0           Props passed to the component.
param: {Array}    $0.notices   Array of notices to render.
param: {Function} $0.onRemove  Function called when a notice should be removed / dismissed.
param: {Object}   $0.className Name of the class used by the component.
param: {Object}   $0.children  Array of children to be rendered inside the notice list.
return: {Object}                The rendered notices list.

useSpacer(props)   X-Ref
No description

Spinner()   X-Ref
Internal dependencies


TabPanel({className,children,tabs,initialTabName,orientation = 'horizontal',activeClass = 'is-active',onSelect = external_lodash_["noop"]})   X-Ref
No description

TextareaControl({label,hideLabelFromVision,value,help,onChange,rows = 4,className,...props})   X-Ref
No description

Tip(props)   X-Ref

param: {Props} props
return: {JSX.Element} Element

ToggleControl({label,checked,help,className,onChange,disabled})   X-Ref
No description

onChangeToggle(event)   X-Ref
No description

ToolbarButton({containerClassName,className,extraProps,children,title,isActive,isDisabled,...props}, ref)   X-Ref
No description

ToolbarGroupCollapsed({controls = [],toggleProps,...props})   X-Ref
No description

ToolbarGroup({controls = [],children,className,isCollapsed,title,...props})   X-Ref
Renders a collapsible group of controls

The `controls` prop accepts an array of sets. A set is an array of controls.
Controls have the following shape:

```
{
icon: string,
title: string,
subscript: string,
onClick: Function,
isActive: boolean,
isDisabled: boolean
}
```

For convenience it is also possible to pass only an array of controls. It is
then assumed this is the only set.

Either `controls` or `children` is required, otherwise this components
renders nothing.

param: {Object}    props               Component props.
param: {Array}     [props.controls]    The controls to render in this toolbar.
param: {WPElement} [props.children]    Any other things to render inside the toolbar besides the controls.
param: {string}    [props.className]   Class to set on the container div.
param: {boolean}   [props.isCollapsed] Turns ToolbarGroup into a dropdown menu.
param: {string}    [props.title]       ARIA label for dropdown menu if is collapsed.

useToolbarState(initialState)   X-Ref
No description

ToolbarContainer({label,...props}, ref)   X-Ref
No description

toolbar_Toolbar({className,label,...props}, ref)   X-Ref
Renders a toolbar.

To add controls, simply pass `ToolbarButton` components as children.

param: {Object} props Component props.
param: {string} [props.className] Class to set on the container div.
param: {string} [props.label] ARIA label for toolbar container.
param: {Object} ref React Element ref.

ToolbarDropdownMenu(props)   X-Ref
No description

RovingTabIndex({children})   X-Ref
Provider for adding roving tab index behaviors to tree grid structures.

param: {Object}    props          Component props.
param: {WPElement} props.children Children to be rendered

getRowFocusables(rowElement)   X-Ref
Return focusables in a row element, excluding those from other branches
nested within the row.

param: {Element} rowElement The DOM element representing the row.
return: {?Array} The array of focusables in the row.

TreeGrid({children,...props}, ref)   X-Ref
Renders both a table and tbody element, used to create a tree hierarchy.

param: {Object}    props          Component props.
param: {WPElement} props.children Children to be rendered.
param: {Object}    ref            A ref to the underlying DOM table element.

TreeGridRow({children,level,positionInSet,setSize,isExpanded,...props}, ref)   X-Ref
WordPress dependencies


useVStack(props)   X-Ref

param: {import('../ui/context').ViewOwnProps<import('./types').Props, 'div'>} props

stopPropagation(event)   X-Ref
No description

StyleProvider({children,document})   X-Ref
No description

useNavigateRegions(ref, shortcuts = defaultShortcuts)   X-Ref
No description

focusRegion(offset)   X-Ref
No description

onClick()   X-Ref
No description

withFilters(hookName)   X-Ref
Creates a higher-order component which adds filtering capability to the
wrapped component. Filters get applied when the original component is about
to be mounted. When a filter is added or removed that matches the hook name,
the wrapped component re-renders.

param: {string} hookName Hook name exposed to be used by filters.
return: {Function} Higher-order component factory.

ensureFilteredComponent()   X-Ref
Initializes the FilteredComponent variable once, if not already
assigned. Subsequent calls are effectively a noop.


Class: FilteredComponentRenderer  - X-Ref

onHooksUpdated(updatedHookName)   X-Ref
When a filter is added or removed for the matching hook name, each
mounted instance should re-render with the new filters having been
applied to the original component.

param: {string} updatedHookName Name of the hook that was updated.

isComponentLike(object)   X-Ref
Returns true if the given object is component-like. An object is component-
like if it is an instance of wp.element.Component, or is a function.

param: {*} object Object to test.
return: {boolean} Whether object is component-like.

Component(props, ref)   X-Ref
Override the default edit UI to include notices if supported.

param: {WPComponent} OriginalComponent Original component.
return: {WPComponent} Wrapped component.

ComponentSystemProvider({__unstableNextInclude = [],children,value = {}})   X-Ref

param: {Object} props
param: {string[]} [props.__unstableNextInclude]
param: {import('react').ReactNode} props.children
param: {any} props.value

getRegisteredStyles(registered, registeredStyles, classNames)   X-Ref
No description

_setPrototypeOf(o, p)   X-Ref
No description

getWindow(element)   X-Ref
Returns `element.ownerDocument.defaultView || window`.


_interopRequireDefault(obj)   X-Ref
No description

_classCallCheck(instance, Constructor)   X-Ref
No description

_possibleConstructorReturn(self, call)   X-Ref
No description

_inherits(subClass, superClass)   X-Ref
No description

_defineProperty(obj, key, value)   X-Ref
No description

baseClass(pureComponent)   X-Ref
No description

withStyles(styleFn)   X-Ref
No description

getResolveMethod(direction)   X-Ref
No description

getCurrentTheme(direction)   X-Ref
No description

getStyleDef(direction, wrappedComponentName)   X-Ref
No description

getState(direction, wrappedComponentName)   X-Ref
No description

withStylesHOC(WrappedComponent)   X-Ref
No description

WithStyles(props, context)   X-Ref
No description

componentDidMount()   X-Ref
No description

componentWillUnmount()   X-Ref
No description

render()   X-Ref
No description

trimmedEndIndex(string)   X-Ref
Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
character of `string`.

param: {string} string The string to inspect.
returns: {number} Returns the index of the last non-whitespace character.

classNames()   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

registerCSSInterfaceWithDefaultTheme()   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_classCallCheck(instance, Constructor)   X-Ref
No description

_possibleConstructorReturn(self, call)   X-Ref
No description

_inherits(subClass, superClass)   X-Ref
No description

onDayClick()   X-Ref
No description

onDayMouseEnter()   X-Ref
No description

onDayMouseLeave()   X-Ref
No description

onMonthChange()   X-Ref
No description

onYearChange()   X-Ref
No description

onMonthTransitionEnd()   X-Ref
No description

getMonths(initialMonth, numberOfMonths, withoutTransitionMonths)   X-Ref
No description

CalendarMonthGrid(props)   X-Ref
No description

componentDidMount()   X-Ref
No description

componentWillReceiveProps(nextProps)   X-Ref
No description

shouldComponentUpdate(nextProps, nextState)   X-Ref
No description

componentDidUpdate()   X-Ref
No description

componentWillUnmount()   X-Ref
No description

onTransitionEnd()   X-Ref
No description

onMonthSelect(currentMonth, newMonthVal)   X-Ref
No description

onYearSelect(currentMonth, newYearVal)   X-Ref
No description

setContainerRef(ref)   X-Ref
No description

render()   X-Ref
No description

stylis_min(W)   X-Ref
No description

M(d, c, e, h, a)   X-Ref
No description

X(d, c, e)   X-Ref
No description

Z(d, c, e)   X-Ref
No description

P(d, c, e, h)   X-Ref
No description

L(d, c)   X-Ref
No description

ea(d, c)   X-Ref
No description

H(d, c, e, h, a, m, b, v, n, q)   X-Ref
No description

T(d)   X-Ref
No description

U(d)   X-Ref
No description

B(d, c)   X-Ref
No description

toSheet(block)   X-Ref
No description

getStyledClassName(namespace)   X-Ref
Generates the connected component CSS className based on the namespace.

param: namespace The name of the connected component.
return: The generated CSS className.

_interopRequireDefault(obj)   X-Ref
No description

create(stylesObject)   X-Ref
Function required as part of the react-with-styles interface. Parses the styles provided by
react-with-styles to produce class names based on the style name and optionally the namespace if
available.

stylesObject {Object} The styles object passed to withStyles.

Return an object mapping style names to class names.

resolve(stylesArray)   X-Ref
Process styles to be consumed by a component.

stylesArray {Array} Array of the following: values returned by create, plain JavaScript objects
representing inline styles, or arrays thereof.

Return an object with optional className and style properties to be spread on a component.

_inheritsLoose(subClass, superClass)   X-Ref
No description

isPortalEvent(event)   X-Ref
Returns `true` if `event` has been fired within a React Portal element.


withNextComponent(Component)   X-Ref
No description

tooltip_Tooltip({children,position,text,shortcut})   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

registerInterfaceWithDefaultTheme(reactWithStylesInterface)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

toMomentObject(dateString, customFormat)   X-Ref
No description

warning(condition)   X-Ref
Logs `messages` to the console using `console.warn` based on a `condition`.


isValid(value)   X-Ref
No description

isValid(value)   X-Ref
No description

isValid(value)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_defineProperty(obj, key, value)   X-Ref
No description

_classCallCheck(instance, Constructor)   X-Ref
No description

_possibleConstructorReturn(self, call)   X-Ref
No description

_inherits(subClass, superClass)   X-Ref
No description

onDateChange()   X-Ref
No description

onFocusChange()   X-Ref
No description

onClose()   X-Ref
No description

isOutsideRange()   X-Ref
No description

isDayBlocked()   X-Ref
No description

isDayHighlighted()   X-Ref
No description

onPrevMonthClick()   X-Ref
No description

onNextMonthClick()   X-Ref
No description

onOutsideClick()   X-Ref
No description

onBlur()   X-Ref
No description

DayPickerSingleDateController(props)   X-Ref
No description

today(day)   X-Ref
No description

blocked(day)   X-Ref
No description

blockedCalendar(day)   X-Ref
No description

blockedOutOfRange(day)   X-Ref
No description

highlightedCalendar(day)   X-Ref
No description

valid(day)   X-Ref
No description

hovered(day)   X-Ref
No description

selected(day)   X-Ref
No description

firstDayOfWeek(day)   X-Ref
No description

lastDayOfWeek(day)   X-Ref
No description

componentDidMount()   X-Ref
No description

componentWillReceiveProps(nextProps)   X-Ref
No description

componentWillUpdate()   X-Ref
No description

onDayClick(day, e)   X-Ref
No description

onDayMouseEnter(day)   X-Ref
No description

onDayMouseLeave()   X-Ref
No description

onPrevMonthClick()   X-Ref
No description

onNextMonthClick()   X-Ref
No description

onMonthChange(newMonth)   X-Ref
No description

onYearChange(newMonth)   X-Ref
No description

getFirstFocusableDay(newMonth)   X-Ref
No description

getModifiers(visibleDays)   X-Ref
No description

getModifiersForDay(day)   X-Ref
No description

getStateForNewMonth(nextProps)   X-Ref
No description

addModifier(updatedDays, day, modifier)   X-Ref
No description

deleteModifier(updatedDays, day, modifier)   X-Ref
No description

isBlocked(day)   X-Ref
No description

isHovered(day)   X-Ref
No description

isSelected(day)   X-Ref
No description

isToday(day)   X-Ref
No description

isFirstDayOfWeek(day)   X-Ref
No description

isLastDayOfWeek(day)   X-Ref
No description

render()   X-Ref
No description

initialVisibleMonth()   X-Ref
No description

is(x, y)   X-Ref
inlined Object.is polyfill to avoid requiring consumers ship their own
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is


shallowEqual(objA, objB)   X-Ref
Performs equality by iterating through keys on an object and returning false
when any key has values which are not strictly equal between the arguments.
Returns true when the values of all keys are strictly equal.


shallowCompare(instance, nextProps, nextState)   X-Ref
Does a shallow comparison for props and state.
See ReactComponentWithPureRenderMixin
See also https://facebook.github.io/react/docs/shallow-compare.html


_interopDefault(ex)   X-Ref
No description

merge(target, lowercase)   X-Ref
No description

useForceUpdate()   X-Ref
No description

withDefault(value, defaultValue)   X-Ref
No description

toArray(a)   X-Ref
No description

callProp(obj)   X-Ref
No description

getForwardProps(props)   X-Ref
No description

interpolateTo(props)   X-Ref
No description

handleRef(ref, forward)   X-Ref
No description

Animated()   X-Ref
No description

AnimatedArray()   X-Ref
No description

AnimatedObject()   X-Ref
No description

injectApplyAnimatedValues(fn, transform)   X-Ref
No description

injectColorNames(names)   X-Ref
No description

injectFrame(raf, caf)   X-Ref
No description

injectStringInterpolator(fn)   X-Ref
No description

injectNow(nowFn)   X-Ref
No description

injectDefaultElement(el)   X-Ref
No description

injectAnimatedApi(fn)   X-Ref
No description

injectCreateAnimatedStyle(factory)   X-Ref
No description

injectManualFrameloop(callback)   X-Ref
No description

AnimatedProps(props, callback)   X-Ref
No description

createInterpolator(range, output, extrapolate)   X-Ref
No description

interpolate(input, inputMin, inputMax, outputMin, outputMax, easing, extrapolateLeft, extrapolateRight, map)   X-Ref
No description

findRange(input, inputRange)   X-Ref
No description

AnimatedInterpolation(parents, range, output, extrapolate)   X-Ref
No description

useChain(refs, timeSteps, timeFrame)   X-Ref
No description

addAnimatedStyles(node, styles)   X-Ref
Animated works by building a directed acyclic graph of dependencies
transparently when you render your Animated components.

new Animated.Value(0)
.interpolate()        .interpolate()    new Animated.Value(1)
opacity               translateY      scale
style                         transform
View#234                         style
View#123

A) Top Down phase
When an AnimatedValue is updated, we recursively go down through this
graph in order to find leaf nodes: the views that we flag as needing
an update.

B) Bottom Up phase
When a view is flagged as needing an update, we recursively go back up
in order to build the new value that it needs. The reason why we need
this two-phases process is to deal with composite props such as
transform which can receive values from multiple parents.

AnimatedValue(_value)   X-Ref
No description

AnimatedValueArray(values)   X-Ref
No description

Controller()   X-Ref
No description

useTransition(input, keyTransform, config)   X-Ref
No description

cleanUp(state, filterKey)   X-Ref
No description

diffItems(_ref9, props)   X-Ref
No description

AnimatedStyle(style)   X-Ref
No description

call()   X-Ref
No description

normalizeColor(color)   X-Ref
No description

hue2rgb(p, q, t)   X-Ref
No description

hslToRgb(h, s, l)   X-Ref
No description

parse255(str)   X-Ref
No description

parse360(str)   X-Ref
No description

parse1(str)   X-Ref
No description

parsePercentage(str)   X-Ref
No description

colorToRgba(input)   X-Ref
No description

dangerousStyleValue(name, value, isCustomProperty)   X-Ref
No description

tinycolor(color, opts)   X-Ref
No description

inputToRGB(color)   X-Ref
No description

rgbToRgb(r, g, b)   X-Ref
No description

rgbToHsl(r, g, b)   X-Ref
No description

hslToRgb(h, s, l)   X-Ref
No description

hue2rgb(p, q, t)   X-Ref
No description

rgbToHsv(r, g, b)   X-Ref
No description

hsvToRgb(h, s, v)   X-Ref
No description

rgbToHex(r, g, b, allow3Char)   X-Ref
No description

rgbaToHex(r, g, b, a, allow4Char)   X-Ref
No description

rgbaToArgbHex(r, g, b, a)   X-Ref
No description

desaturate(color, amount)   X-Ref
No description

saturate(color, amount)   X-Ref
No description

greyscale(color)   X-Ref
No description

lighten(color, amount)   X-Ref
No description

brighten(color, amount)   X-Ref
No description

darken(color, amount)   X-Ref
No description

spin(color, amount)   X-Ref
No description

complement(color)   X-Ref
No description

triad(color)   X-Ref
No description

tetrad(color)   X-Ref
No description

splitcomplement(color)   X-Ref
No description

analogous(color, results, slices)   X-Ref
No description

monochromatic(color, results)   X-Ref
No description

flip(o)   X-Ref
No description

boundAlpha(a)   X-Ref
No description

bound01(n, max)   X-Ref
No description

clamp01(val)   X-Ref
No description

parseIntFromHex(val)   X-Ref
No description

isOnePointZero(n)   X-Ref
No description

isPercentage(n)   X-Ref
No description

pad2(c)   X-Ref
No description

convertToPercentage(n)   X-Ref
No description

convertDecimalToHex(d)   X-Ref
No description

convertHexToDecimal(h)   X-Ref
No description

isValidCSSUnit(color)   X-Ref
No description

stringInputToObject(color)   X-Ref
No description

validateWCAG2Parms(parms)   X-Ref
No description

ToolbarItem({children,as: Component,...props}, ref)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

setRef(ref, value)   X-Ref
No description

useForkRef(refA, refB)   X-Ref
Merges up to two React Refs into a single memoized function React Ref so you
can pass it to an element.


isValidMoment(testMoment)   X-Ref
No description

isTransitionEndSupported()   X-Ref
No description

fill_FillComponent({name,children,registerFill,unregisterFill})   X-Ref
No description

Class: slot_SlotComponent  - X-Ref

useForceUpdate()   X-Ref
No description

fill_Fill({name,children})   X-Ref
No description

slot_Slot({name,fillProps = {},as: Component = 'div',...props}, forwardedRef)   X-Ref
No description

useSlotRegistry()   X-Ref
No description

slot_fill_provider_SlotFillProvider({children})   X-Ref
No description

Class: provider_SlotFillProvider  - X-Ref

Internal dependencies

slot_fill_Fill(props)   X-Ref
No description

Provider({children,...props})   X-Ref
No description

createSlotFill(name)   X-Ref
No description

useLiveRef(value)   X-Ref
A `React.Ref` that keeps track of the passed `value`.


_interopRequireDefault(obj)   X-Ref
No description

RightArrow(props)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

isBeforeDay(a, b)   X-Ref
No description

isPlainObject(arg)   X-Ref
Checks whether `arg` is a plain object or not.

returns: {boolean}

__deprecatedSplitProps(props, keys)   X-Ref
Splits an object (`props`) into a tuple where the first item is an object
with the passed `keys`, and the second item is an object with these keys
omitted.


splitProps(props, keys)   X-Ref
Splits an object (`props`) into a tuple where the first item
is the `state` property, and the second item is the rest of the properties.

It is also backward compatible with version 1. If `keys` are passed then
splits an object (`props`) into a tuple where the first item is an object
with the passed `keys`, and the second item is an object with these keys
omitted.


normalizePropsAreEqual(propsAreEqual)   X-Ref
This higher order functions take `propsAreEqual` function and
returns a new function which normalizes the props.

Normalizing in our case is making sure the `propsAreEqual` works with
both version 1 (object spreading) and version 2 (state object) state passing.

To achieve this, the returned function in case of a state object
will spread the state object in both `prev` and `next props.

Other case it just returns the function as is which makes sure
that we are still backward compatible

forwardRef(component)   X-Ref
No description

memo(component, propsAreEqual)   X-Ref
No description

createComponent(_ref)   X-Ref
Creates a React component.

param: options

useSpokenMessage(message, politeness)   X-Ref
Custom hook which announces the message with the given politeness, if a
valid message is provided.

param: {string|WPElement}     [message]  Message to announce.
param: {'polite'|'assertive'} politeness Politeness to announce.

Snackbar({className,children,spokenMessage = children,politeness = 'polite',actions = [],onRemove = lodash__WEBPACK_IMPORTED_MODULE_1__["noop"],icon = null,explicitDismiss = false,onDismiss = lodash__WEBPACK_IMPORTED_MODULE_1__["noop"]}, ref)   X-Ref
No description

dismissMe(event)   X-Ref
No description

onActionClick(event, onClick)   X-Ref
No description

Icon({icon,size = 24,...props})   X-Ref
Return an SVG icon.

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

constructPropValidatorVariations(propValidator)   X-Ref
No description

createInvalidRequiredErrorMessage(propName, componentName, value)   X-Ref
No description

preValidationRequireCheck(isRequired, componentName, propFullName, propValue)   X-Ref
No description

createMomentChecker(type, typeValidator, validator, momentType)   X-Ref
No description

propValidator(isRequired, predicate, props,propName,componentName,location,propFullName)   X-Ref
No description

findFirstEnabledItem(items, excludeId)   X-Ref
No description

getCurrentId(options, passedId)   X-Ref
No description

calculateDimension(el, axis)   X-Ref
No description

getClientPosition(elem)   X-Ref
No description

getScroll(w, top)   X-Ref
No description

getScrollLeft(w)   X-Ref
No description

getScrollTop(w)   X-Ref
No description

getOffset(el)   X-Ref
No description

_getComputedStyle(elem, name, computedStyle_)   X-Ref
No description

_getComputedStyleIE(elem, name)   X-Ref
No description

each(arr, fn)   X-Ref
No description

isBorderBoxFn(elem)   X-Ref
No description

swap(elem, options, callback)   X-Ref
No description

getPBMWidth(elem, props, which)   X-Ref
No description

isWindow(obj)   X-Ref
A crude way of determining if an object is a window


getWH(elem, name, extra)   X-Ref
No description

getWHIgnoreDisplay(elem)   X-Ref
No description

css(el, name, v)   X-Ref
No description

setOffset(elem, offset)   X-Ref
No description

baseTrim(string)   X-Ref
The base implementation of `_.trim`.

param: {string} string The string to trim.
returns: {string} Returns the trimmed string.

_interopRequireDefault(obj)   X-Ref
No description

toISOMonthString(date, currentFormat)   X-Ref
No description

isSelfTarget(event)   X-Ref
Returns `true` if `event.target` and `event.currentTarget` are the same.


setLocked(locked)   X-Ref

param: {boolean} locked

ScrollLock()   X-Ref
A component that will lock scrolling when it is mounted and unlock scrolling when it is unmounted.

return: {null} Render nothing.

Button(props, ref)   X-Ref
No description

insertWithoutScoping(cache, serialized)   X-Ref
No description

merge(registered, css, className)   X-Ref
No description

getWidget(itemElement)   X-Ref
No description

useItem(options)   X-Ref
No description

targetIsAnotherItem(event, items)   X-Ref
No description

createEvent(element, type, eventInit)   X-Ref
Creates an `Event` in a way that also works on IE 11.


matches(element, selectors)   X-Ref
Ponyfill for `Element.prototype.matches`


closest(element, selectors)   X-Ref
Ponyfill for `Element.prototype.closest`


isVisible(element)   X-Ref
No description

hasNegativeTabIndex(element)   X-Ref
No description

isFocusable(element)   X-Ref
Checks whether `element` is focusable or not.


isTabbable(element)   X-Ref
Checks whether `element` is tabbable or not.


getAllFocusableIn(container)   X-Ref
Returns all the focusable elements in `container`.

param: {Element} container
returns: {Element[]}

getFirstFocusableIn(container)   X-Ref
Returns the first focusable element in `container`.

param: {Element} container
returns: {Element|null}

getAllTabbableIn(container, fallbackToFocusable)   X-Ref
Returns all the tabbable elements in `container`, including the container
itself.

param: {Element} container
param: fallbackToFocusable If `true`, it'll return focusable elements if there are no tabbable ones.
returns: {Element[]}

getFirstTabbableIn(container, fallbackToFocusable)   X-Ref
Returns the first tabbable element in `container`, including the container
itself if it's tabbable.

param: {Element} container
param: fallbackToFocusable If `true`, it'll return the first focusable element if there are no tabbable ones.
returns: {Element|null}

getLastTabbableIn(container, fallbackToFocusable)   X-Ref
Returns the last tabbable element in `container`, including the container
itself if it's tabbable.

param: {Element} container
param: fallbackToFocusable If `true`, it'll return the last focusable element if there are no tabbable ones.
returns: {Element|null}

getNextTabbableIn(container, fallbackToFocusable)   X-Ref
Returns the next tabbable element in `container`.

param: {Element} container
param: fallbackToFocusable If `true`, it'll return the next focusable element if there are no tabbable ones.
returns: {Element|null}

getPreviousTabbableIn(container, fallbackToFocusable)   X-Ref
Returns the previous tabbable element in `container`.

param: {Element} container
param: fallbackToFocusable If `true`, it'll return the previous focusable element if there are no tabbable ones.
returns: {Element|null}

getClosestFocusable(element)   X-Ref
Returns the closest focusable element.

param: {Element} container
returns: {Element|null}

_defineProperty(obj, key, value)   X-Ref
No description

renderAsRenderProps({as: Component = 'div',...props})   X-Ref
renderAsRenderProps is used to wrap a component and convert
the passed property "as" either a string or component, to the
rendered tag if a string, or component.

See VisuallyHidden hidden for example.

param: {Props<T>} props
return: {JSX.Element} The rendered element.

withNextComponent(Current)   X-Ref
The generic type is too difficult to type here, default to any to circumvent that.

param: {import('react').ForwardRefExoticComponent<import('.').Props<any>>} Current

visually_hidden_VisuallyHidden({as = 'div',className,...props}, forwardedRef)   X-Ref
VisuallyHidden component to render text out non-visually
for use in devices such as a screen reader.

param: {Props<T>} props
param: {import('react').Ref<any>} forwardedRef
return: {JSX.Element} Element

getCalendarMonthWidth(daySize, calendarMonthPadding)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_classCallCheck(instance, Constructor)   X-Ref
No description

_possibleConstructorReturn(self, call)   X-Ref
No description

_inherits(subClass, superClass)   X-Ref
No description

onDayClick()   X-Ref
No description

onDayMouseEnter()   X-Ref
No description

onDayMouseLeave()   X-Ref
No description

onMonthSelect()   X-Ref
No description

onYearSelect()   X-Ref
No description

renderCalendarDay(props)   X-Ref
No description

CalendarMonth(props)   X-Ref
No description

componentDidMount()   X-Ref
No description

componentWillReceiveProps(nextProps)   X-Ref
No description

shouldComponentUpdate(nextProps, nextState)   X-Ref
No description

componentWillUnmount()   X-Ref
No description

setMonthTitleHeight()   X-Ref
No description

setCaptionRef(ref)   X-Ref
No description

render()   X-Ref
No description

getClassName(namespace, styleName)   X-Ref
Construct a class name.

namespace {String} Used to construct unique class names.
styleName {String} Name identifying the specific style.

Return the class name.

getPhrase(phrase, args)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

computePopoverXAxisPosition(anchorRect, contentSize, xAxis, corner, stickyBoundaryElement, chosenYAxis, boundaryElement, forcePosition, forceXAlignment)   X-Ref
Utility used to compute the popover position over the xAxis

param: {Object}  anchorRect            Anchor Rect.
param: {Object}  contentSize           Content Size.
param: {string}  xAxis                 Desired xAxis.
param: {string}  corner                Desired corner.
param: {boolean} stickyBoundaryElement The boundary element to use when
param: {string}  chosenYAxis           yAxis to be used.
param: {Element} boundaryElement       Boundary element.
param: {boolean} forcePosition         Don't adjust position based on anchor.
param: {boolean} forceXAlignment       Don't adjust alignment based on YAxis
return: {Object} Popover xAxis position and constraints.

computePopoverYAxisPosition(anchorRect, contentSize, yAxis, corner, stickyBoundaryElement, anchorRef, relativeOffsetTop, forcePosition)   X-Ref
Utility used to compute the popover position over the yAxis

param: {Object}  anchorRect            Anchor Rect.
param: {Object}  contentSize           Content Size.
param: {string}  yAxis                 Desired yAxis.
param: {string}  corner                Desired corner.
param: {boolean} stickyBoundaryElement The boundary element to use when
param: {Element} anchorRef             The anchor element.
param: {Element} relativeOffsetTop     If applicable, top offset of the
param: {boolean} forcePosition         Don't adjust position based on anchor.
return: {Object} Popover xAxis position and constraints.

computePopoverPosition(anchorRect, contentSize, position = 'top', stickyBoundaryElement, anchorRef, relativeOffsetTop, boundaryElement, forcePosition, forceXAlignment)   X-Ref
Utility used to compute the popover position and the content max width/height
for a popover given its anchor rect and its content size.

param: {Object}  anchorRect            Anchor Rect.
param: {Object}  contentSize           Content Size.
param: {string}  position              Position.
param: {boolean} stickyBoundaryElement The boundary element to use when
param: {Element} anchorRef             The anchor element.
param: {number}  relativeOffsetTop     If applicable, top offset of the
param: {Element} boundaryElement       Boundary element.
param: {boolean} forcePosition         Don't adjust position based on anchor.
param: {boolean} forceXAlignment       Don't adjust alignment based on YAxis
return: {Object} Popover position and constraints.

offsetIframe(rect, ownerDocument, container)   X-Ref
Offsets the given rect by the position of the iframe that contains the
element. If the owner document is not in an iframe then it returns with the
original rect. If the popover container document and the anchor document are
the same, the original rect will also be returned.

param: {DOMRect}  rect          bounds of the element
param: {Document} ownerDocument document of the element
param: {Element}  container     The popover container to position.
return: {DOMRect} offsetted bounds

computeAnchorRect(anchorRefFallback, anchorRect, getAnchorRect, anchorRef = false, shouldAnchorIncludePadding, container)   X-Ref
No description

getComputedStyle(node)   X-Ref
No description

withoutPadding(rect, element)   X-Ref
No description

setAttribute(element, name, value)   X-Ref
Sets or removes an element attribute.

param: {Element} element The element to modify.
param: {string}  name    The attribute name to set or remove.
param: {?string} value   The value to set. A falsy value will remove the

setStyle(element, property, value = '')   X-Ref
Sets or removes an element style property.

param: {Element} element  The element to modify.
param: {string}  property The property to set or remove.
param: {?string} value    The value to set. A falsy value will remove the

setClass(element, name, toggle)   X-Ref
Sets or removes an element class.

param: {Element} element The element to modify.
param: {string}  name    The class to set or remove.
param: {boolean} toggle  True to set the class, false to remove.

getAnchorDocument(anchor)   X-Ref
No description

maybeClose(event)   X-Ref
No description

handleOnFocusOutside(event)   X-Ref
Shims an onFocusOutside callback to be compatible with a deprecated
onClickOutside prop function, if provided.

param: {FocusEvent} event Focus event from onFocusOutside.

PopoverSlot({name = SLOT_NAME}, ref)   X-Ref
No description

getDocument(element)   X-Ref
Returns `element.ownerDocument || document`.


_interopRequireDefault(obj)   X-Ref
No description

isSameDay(a, b)   X-Ref
No description

_extends()   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

toISODateString(date, currentFormat)   X-Ref
No description

getTransformStyles(transformValue)   X-Ref
No description

fireEvent(element, type, eventInit)   X-Ref
Creates and dispatches `Event` in a way that also works on IE 11.


z(a)   X-Ref
No description

useToken(token, defaultValue)   X-Ref
React custom hook that returns the value of any token defined in the
SystemContext. It's mainly used internally in [`useOptions`](#useoptions)
and [`useProps`](#useprops).


useProps(name, options, htmlProps)   X-Ref
React custom hook that returns the props returned by a given
`use${name}Props` in the SystemContext.


useOptions(name, options, htmlProps)   X-Ref
React custom hook that returns the options returned by a given
`use${name}Options` in the SystemContext.


toArray(arg)   X-Ref
Transforms `arg` into an array if it's not already.


createHook(options)   X-Ref
Creates a React custom hook that will return component props.

param: options

isUA(string)   X-Ref
Checks if a given string exists in the user agent string.


_interopRequireDefault(obj)   X-Ref
No description

debounce(func, wait, options)   X-Ref
Creates a debounced function that delays invoking `func` until after `wait`
milliseconds have elapsed since the last time the debounced function was
invoked. The debounced function comes with a `cancel` method to cancel
delayed `func` invocations and a `flush` method to immediately invoke them.
Provide `options` to indicate whether `func` should be invoked on the
leading and/or trailing edge of the `wait` timeout. The `func` is invoked
with the last arguments provided to the debounced function. Subsequent
calls to the debounced function return the result of the last `func`
invocation.

**Note:** If `leading` and `trailing` options are `true`, `func` is
invoked on the trailing edge of the timeout only if the debounced function
is invoked more than once during the `wait` timeout.

If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
until to the next tick, similar to `setTimeout` with a timeout of `0`.

See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
for details over the differences between `_.debounce` and `_.throttle`.

param: {Function} func The function to debounce.
param: {number} [wait=0] The number of milliseconds to delay.
param: {Object} [options={}] The options object.
param: {boolean} [options.leading=false]
param: {number} [options.maxWait]
param: {boolean} [options.trailing=true]
since: 0.1.0
returns: {Function} Returns the new debounced function.

invokeFunc(time)   X-Ref
No description

leadingEdge(time)   X-Ref
No description

remainingWait(time)   X-Ref
No description

shouldInvoke(time)   X-Ref
No description

timerExpired()   X-Ref
No description

trailingEdge(time)   X-Ref
No description

cancel()   X-Ref
No description

flush()   X-Ref
No description

debounced()   X-Ref
No description

toNumber(value)   X-Ref
Converts `value` to a number.

param: {*} value The value to process.
since: 4.0.0
returns: {number} Returns the number.

_interopRequireDefault(obj)   X-Ref
No description

getVisibleDays(month, numberOfMonths, enableOutsideDays, withoutTransitionMonths)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

isSameMonth(a, b)   X-Ref
No description

shallowEqual(objA, objB)   X-Ref
Compares two objects.


contains(parent, child)   X-Ref
Similar to `Element.prototype.contains`, but a little bit faster when
`element` is the same as `child`.


Dashicon({icon,className,...extraProps})   X-Ref

param: {Props} props
return: {JSX.Element} Element

_extends()   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

CloseButton(props)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_defineProperty(obj, key, value)   X-Ref
No description

getPhrasePropTypes(defaultPhrases)   X-Ref
No description

sheetForTag(tag)   X-Ref
No description

createStyleElement(options)   X-Ref
No description

StyleSheet(options)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

KeyboardShortcutRow(_ref)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_toConsumableArray(arr)   X-Ref
No description

onPrevMonthClick()   X-Ref
No description

onNextMonthClick()   X-Ref
No description

DayPickerNavigation(_ref)   X-Ref
No description

onKeyUp(e)   X-Ref
No description

onMouseUp(e)   X-Ref
No description

onKeyUp(e)   X-Ref
No description

onMouseUp(e)   X-Ref
No description

scrollIntoView(elem, container, config)   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

getActiveElement()   X-Ref
No description

useSlot(name)   X-Ref
Internal dependencies


checkIsBrowser()   X-Ref
No description

isSymbol(value)   X-Ref
Checks if `value` is classified as a `Symbol` primitive or object.

param: {*} value The value to check.
since: 4.0.0
returns: {boolean} Returns `true` if `value` is a symbol, else `false`.

registerTheme(theme)   X-Ref
No description

registerInterface(interfaceToRegister)   X-Ref
No description

create(makeFromTheme, createWithDirection)   X-Ref
No description

createLTR(makeFromTheme)   X-Ref
No description

createRTL(makeFromTheme)   X-Ref
No description

get()   X-Ref
No description

resolve()   X-Ref
No description

resolveLTR()   X-Ref
No description

resolveRTL()   X-Ref
No description

flush()   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

getBlankDaysBeforeFirstDay(firstDayOfMonth, firstDayOfWeek)   X-Ref
No description

getNumberOfCalendarMonthWeeks(month)   X-Ref
No description

setTextFieldValue(element, value)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

LeftArrow(props)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_classCallCheck(instance, Constructor)   X-Ref
No description

_possibleConstructorReturn(self, call)   X-Ref
No description

_inherits(subClass, superClass)   X-Ref
No description

openKeyboardShortcutsPanel()   X-Ref
No description

closeKeyboardShortcutsPanel()   X-Ref
No description

getKeyboardShortcuts(phrases)   X-Ref
No description

DayPickerKeyboardShortcuts()   X-Ref
No description

componentWillReceiveProps(nextProps)   X-Ref
No description

componentDidUpdate()   X-Ref
No description

onKeyDown(e)   X-Ref
No description

onShowKeyboardShortcutsButtonClick()   X-Ref
No description

setShowKeyboardShortcutsButtonRef(ref)   X-Ref
No description

setHideKeyboardShortcutsButtonRef(ref)   X-Ref
No description

handleFocus()   X-Ref
No description

render()   X-Ref
No description

onKeyDown(e)   X-Ref
No description

onMouseUp(e)   X-Ref
No description

emptyFunction()   X-Ref
No description

emptyFunctionWithReset()   X-Ref
No description

shim(props, propName, componentName, location, propFullName, secret)   X-Ref
No description

getShim()   X-Ref
No description

testPassiveEventListeners()   X-Ref
No description

get()   X-Ref
No description

canUsePassiveEventListeners()   X-Ref
No description

normalizeEventOptions(eventOptions)   X-Ref
No description

eventOptionsKey(normalizedEventOptions)   X-Ref
Generate a unique key for any set of event options


ensureCanMutateNextEventHandlers(eventHandlers)   X-Ref
No description

TargetEventHandlers(target)   X-Ref
No description

getEventHandlers(eventName, options)   X-Ref
No description

handleEvent(eventName, options, event)   X-Ref
No description

add(eventName, listener, options)   X-Ref
No description

unsubscribe()   X-Ref
No description

addEventListener(target, eventName, listener, options)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

CalendarWeek(_ref)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

getStatics(component)   X-Ref
No description

hoistNonReactStatics(targetComponent, sourceComponent, blacklist)   X-Ref
No description

separateStyles(stylesArray)   X-Ref
No description

memize( fn, options )   X-Ref
Accepts a function to be memoized, and returns a new memoized function, with
optional options.

param: {F}             fn        Function to memoize.
param: {MemizeOptions} [options] Options object.
return: {F & MemizeMemoizedFunction} Memoized function.

memoized( )   X-Ref
No description

isTextField(element)   X-Ref
Check whether the given element is a text field, where text field is defined
by the ability to select within the input, or that it is contenteditable.


memoize(fn)   X-Ref
No description

inspect(value, from, noIndent)   X-Ref
No description

wrapQuotes(s, defaultStyle, opts)   X-Ref
No description

quote(s)   X-Ref
No description

isArray(obj)   X-Ref
No description

isDate(obj)   X-Ref
No description

isRegExp(obj)   X-Ref
No description

isError(obj)   X-Ref
No description

isString(obj)   X-Ref
No description

isNumber(obj)   X-Ref
No description

isBoolean(obj)   X-Ref
No description

isSymbol(obj)   X-Ref
No description

isBigInt(obj)   X-Ref
No description

has(obj, key)   X-Ref
No description

toStr(obj)   X-Ref
No description

nameOf(f)   X-Ref
No description

indexOf(xs, x)   X-Ref
No description

isMap(x)   X-Ref
No description

isWeakMap(x)   X-Ref
No description

isWeakRef(x)   X-Ref
No description

isSet(x)   X-Ref
No description

isWeakSet(x)   X-Ref
No description

isElement(x)   X-Ref
No description

inspectString(str, opts)   X-Ref
No description

lowbyte(c)   X-Ref
No description

markBoxed(str)   X-Ref
No description

weakCollectionOf(type)   X-Ref
No description

collectionOf(type, size, entries, indent)   X-Ref
No description

singleLineValues(xs)   X-Ref
No description

getIndent(opts, depth)   X-Ref
No description

indentedJoin(xs, indent)   X-Ref
No description

arrObjKeys(obj, inspect)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_classCallCheck(instance, Constructor)   X-Ref
No description

_possibleConstructorReturn(self, call)   X-Ref
No description

_inherits(subClass, superClass)   X-Ref
No description

OutsideClickHandler()   X-Ref
No description

componentDidMount()   X-Ref
No description

componentDidUpdate(_ref2)   X-Ref
No description

componentWillUnmount()   X-Ref
No description

onMouseDown(e)   X-Ref
No description

onMouseUp(e)   X-Ref
No description

setChildNodeRef(ref)   X-Ref
No description

addMouseDownEventListener(useCapture)   X-Ref
No description

removeEventListeners()   X-Ref
No description

render()   X-Ref
No description

__webpack_require__(moduleId)   X-Ref
No description

defaultSanitize(string)   X-Ref
No description

escapeRegExpFn(string)   X-Ref
No description

y(a)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

isNextMonth(a, b)   X-Ref
No description

useContextSystemBridge({value})   X-Ref
Consolidates incoming ContextSystem values with a (potential) parent ContextSystem value.

param: {Object} props
param: {Record<string, any>} props.value
return: {Record<string, any>} The consolidated value.

isButton(element)   X-Ref
Checks whether `element` is a native HTML button element.

returns: {boolean}

memoize(fn, options)   X-Ref
No description

isPrimitive(value)   X-Ref
No description

monadic(fn, cache, serializer, arg)   X-Ref
No description

variadic(fn, cache, serializer)   X-Ref
No description

assemble(fn, context, strategy, cache, serialize)   X-Ref
No description

strategyDefault(fn, options)   X-Ref
No description

strategyVariadic(fn, options)   X-Ref
No description

strategyMonadic(fn, options)   X-Ref
No description

serializerDefault()   X-Ref
No description

ObjectWithoutPrototypeCache()   X-Ref
No description

rng()   X-Ref
No description

validate(uuid)   X-Ref
No description

stringify(arr)   X-Ref
No description

v4(options, buf, offset)   X-Ref
No description

contextConnect(Component, namespace, options = {})   X-Ref
Forwards ref (React.ForwardRef) and "Connects" (or registers) a component
within the Context system under a specified namespace.

This is an (experimental) evolution of the initial connect() HOC.
The hope is that we can improve render performance by removing functional
component wrappers.

param: {(props: P, ref: import('react').Ref<any>) => JSX.Element | null} Component The component to register into the Context system.
param: {string} namespace The namespace to register the component under.
param: {Object} options
param: {boolean} [options.memo=false]
return: {import('./polymorphic-component').PolymorphicComponent<import('./polymorphic-component').ElementTypeFromViewOwnProps<P>, import('./polymorphic-component').PropsFromViewOwnProps<P>>} The connected PolymorphicComponent

getConnectNamespace(Component)   X-Ref
Attempts to retrieve the connected namespace from a component.

param: {import('react').ReactChild | undefined | {}} Component The component to retrieve a namespace from.
return: {Array<string>} The connected namespaces.

hasConnectNamespace(Component, match)   X-Ref
Checks to see if a component is connected within the Context system.

param: {import('react').ReactNode} Component The component to retrieve a namespace from.
param: {Array<string>|string} match The namespace to check.
return: {boolean} The result.

_objectWithoutPropertiesLoose(source, excluded)   X-Ref
No description

defaultSetTimout()   X-Ref
No description

defaultClearTimeout()   X-Ref
No description

runTimeout(fun)   X-Ref
No description

runClearTimeout(marker)   X-Ref
No description

cleanUpNextTick()   X-Ref
No description

drainQueue()   X-Ref
No description

Item(fun, array)   X-Ref
No description

noop()   X-Ref
No description

withNext(CurrentComponent, NextComponent = ()   X-Ref

param: {import('react').ForwardRefExoticComponent<TCurrentProps>} CurrentComponent
param: {import('react').ComponentType<TNextProps>} NextComponent
param: {string} namespace
param: {(props: TCurrentProps) => TNextProps} adapter

Icon({icon = null,size,...additionalProps})   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

ChevronUp(props)   X-Ref
No description

hasFocus(element)   X-Ref
Checks if `element` has focus. Elements that are referenced by
`aria-activedescendant` are also considered.


ensureFocus(element, _temp)   X-Ref
Ensures `element` will receive focus if it's not already.

returns: {number} `requestAnimationFrame` call ID so it can be passed to `cancelAnimationFrame` if needed.

getRawTag(value)   X-Ref
A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.

param: {*} value The value to query.
returns: {string} Returns the raw `toStringTag`.

_interopRequireDefault(obj)   X-Ref
No description

getCalendarDaySettings(day, ariaLabelFormat, daySize, modifiers, phrases)   X-Ref
No description

_defineProperty(obj, key, value)   X-Ref
No description

ownKeys(object, enumerableOnly)   X-Ref
No description

_objectSpread2(target)   X-Ref
No description

_objectWithoutPropertiesLoose(source, excluded)   X-Ref
No description

_unsupportedIterableToArray(o, minLen)   X-Ref
No description

_arrayLikeToArray(arr, len)   X-Ref
No description

_createForOfIteratorHelperLoose(o, allowArrayLike)   X-Ref
No description

useContextSystem(props, namespace)   X-Ref
Custom hook that derives registered props from the Context system.
These derived props are then consolidated with incoming component props.

param: {P} props Incoming props from the component.
param: {string} namespace The namespace to register and to derive context props from.
return: {ConnectedProps<P>} The connected props.

Shortcut({shortcut,className})   X-Ref

param: {Props} props Props
return: {JSX.Element | null} Element

_interopRequireDefault(obj)   X-Ref
No description

ChevronDown(props)   X-Ref
No description

noop()   X-Ref
No description

noopThunk()   X-Ref
No description

throttle(func, wait, options)   X-Ref
Creates a throttled function that only invokes `func` at most once per
every `wait` milliseconds. The throttled function comes with a `cancel`
method to cancel delayed `func` invocations and a `flush` method to
immediately invoke them. Provide `options` to indicate whether `func`
should be invoked on the leading and/or trailing edge of the `wait`
timeout. The `func` is invoked with the last arguments provided to the
throttled function. Subsequent calls to the throttled function return the
result of the last `func` invocation.

**Note:** If `leading` and `trailing` options are `true`, `func` is
invoked on the trailing edge of the timeout only if the throttled function
is invoked more than once during the `wait` timeout.

If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
until to the next tick, similar to `setTimeout` with a timeout of `0`.

See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
for details over the differences between `_.throttle` and `_.debounce`.

param: {Function} func The function to throttle.
param: {number} [wait=0] The number of milliseconds to throttle invocations to.
param: {Object} [options={}] The options object.
param: {boolean} [options.leading=true]
param: {boolean} [options.trailing=true]
since: 0.1.0
returns: {Function} Returns the new throttled function.

isObjectLike(value)   X-Ref
Checks if `value` is object-like. A value is object-like if it's not `null`
and has a `typeof` result of "object".

param: {*} value The value to check.
since: 4.0.0
returns: {boolean} Returns `true` if `value` is object-like, else `false`.

_interopRequireDefault(obj)   X-Ref
No description

getCalendarMonthWeeks(month, enableOutsideDays)   X-Ref
No description

focusIfNeeded(element)   X-Ref
No description

isNativeTabbable(element)   X-Ref
No description

supportsDisabledAttribute(element)   X-Ref
No description

getTabIndex(trulyDisabled, nativeTabbable, supportsDisabled, htmlTabIndex)   X-Ref
No description

useDisableEvent(htmlEventRef, disabled)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_classCallCheck(instance, Constructor)   X-Ref
No description

_possibleConstructorReturn(self, call)   X-Ref
No description

_inherits(subClass, superClass)   X-Ref
No description

getStyles(stylesObj, isHovered)   X-Ref
No description

onDayClick()   X-Ref
No description

onDayMouseEnter()   X-Ref
No description

onDayMouseLeave()   X-Ref
No description

CustomizableCalendarDay()   X-Ref
No description

shouldComponentUpdate(nextProps, nextState)   X-Ref
No description

componentDidUpdate(prevProps)   X-Ref
No description

onDayClick(day, e)   X-Ref
No description

onDayMouseEnter(day, e)   X-Ref
No description

onDayMouseLeave(day, e)   X-Ref
No description

onKeyDown(day, e)   X-Ref
No description

setButtonRef(ref)   X-Ref
No description

render()   X-Ref
No description

onMouseEnter(e)   X-Ref
No description

onMouseLeave(e)   X-Ref
No description

onMouseUp(e)   X-Ref
No description

onClick(e)   X-Ref
No description

onKeyDown(e)   X-Ref
No description

isObject(value)   X-Ref
Checks if `value` is the
[language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)

param: {*} value The value to check.
since: 0.1.0
returns: {boolean} Returns `true` if `value` is an object, else `false`.

_interopRequireDefault(obj)   X-Ref
No description

_defineProperty(obj, key, value)   X-Ref
No description

ownKeys(object, enumerableOnly)   X-Ref
No description

_objectSpread2(target)   X-Ref
No description

_objectWithoutPropertiesLoose(source, excluded)   X-Ref
No description

_unsupportedIterableToArray(o, minLen)   X-Ref
No description

_arrayLikeToArray(arr, len)   X-Ref
No description

_createForOfIteratorHelperLoose(o, allowArrayLike)   X-Ref
No description

isRenderProp(children)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

isDayVisible(day, month, numberOfMonths, enableOutsideDays)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_defineProperty(obj, key, value)   X-Ref
No description

_toConsumableArray(arr)   X-Ref
No description

modifiers(props, propName)   X-Ref
No description

isNativeClick(event)   X-Ref
No description

error(msg)   X-Ref
No description

getAST()   X-Ref
No description

matchListDefinitions()   X-Ref
No description

matchDefinition()   X-Ref
No description

matchGradient(gradientType, pattern, orientationMatcher)   X-Ref
No description

matchCall(pattern, callback)   X-Ref
No description

matchLinearOrientation()   X-Ref
No description

matchSideOrCorner()   X-Ref
No description

matchAngle()   X-Ref
No description

matchListRadialOrientations()   X-Ref
No description

matchRadialOrientation()   X-Ref
No description

matchCircle()   X-Ref
No description

matchEllipse()   X-Ref
No description

matchExtentKeyword()   X-Ref
No description

matchAtPosition()   X-Ref
No description

matchPositioning()   X-Ref
No description

matchCoordinates()   X-Ref
No description

matchListing(matcher)   X-Ref
No description

matchColorStop()   X-Ref
No description

matchColor()   X-Ref
No description

matchLiteralColor()   X-Ref
No description

matchHexColor()   X-Ref
No description

matchRGBColor()   X-Ref
No description

matchRGBAColor()   X-Ref
No description

matchNumber()   X-Ref
No description

matchDistance()   X-Ref
No description

matchPositionKeyword()   X-Ref
No description

matchLength()   X-Ref
No description

match(type, pattern, captureIndex)   X-Ref
No description

scan(regexp)   X-Ref
No description

consume(size)   X-Ref
No description

isRefObject(ref)   X-Ref
No description

useWarning(condition)   X-Ref
Logs `messages` to the console using `console.warn` based on a `condition`.
This should be used inside components.


generateRandomString(prefix)   X-Ref
No description

unstable_IdProvider(_ref)   X-Ref
No description

objectToString(value)   X-Ref
Converts `value` to a string using `Object.prototype.toString`.

param: {*} value The value to convert.
returns: {string} Returns the converted string.

getDefaultOrigin(type)   X-Ref

param: {GetAnimateOptions['type']} type The animation type
return: {'top' | 'left'} Default origin

getAnimateClassName(options)   X-Ref

param: {GetAnimateOptions} options
return: {string | void} ClassName that applies the animations

Animate({type,options = {},children})   X-Ref
No description

isTouchDevice()   X-Ref
No description

murmur2(str)   X-Ref
No description

handleInterpolation(mergedProps, registered, interpolation, couldBeSelectorInterpolation)   X-Ref
No description

createStringFromObject(mergedProps, registered, obj)   X-Ref
No description

userFocus(element)   X-Ref
No description

hasUserFocus(element)   X-Ref
No description

setUserFocus(element, value)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_classCallCheck(instance, Constructor)   X-Ref
No description

_possibleConstructorReturn(self, call)   X-Ref
No description

_inherits(subClass, superClass)   X-Ref
No description

onDayClick()   X-Ref
No description

onDayMouseEnter()   X-Ref
No description

onDayMouseLeave()   X-Ref
No description

CalendarDay()   X-Ref
No description

shouldComponentUpdate(nextProps, nextState)   X-Ref
No description

componentDidUpdate(prevProps)   X-Ref
No description

onDayClick(day, e)   X-Ref
No description

onDayMouseEnter(day, e)   X-Ref
No description

onDayMouseLeave(day, e)   X-Ref
No description

onKeyDown(day, e)   X-Ref
No description

setButtonRef(ref)   X-Ref
No description

render()   X-Ref
No description

onMouseEnter(e)   X-Ref
No description

onMouseLeave(e)   X-Ref
No description

onMouseUp(e)   X-Ref
No description

onClick(e)   X-Ref
No description

onKeyDown(e)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

isAfterDay(a, b)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_toConsumableArray(arr)   X-Ref
No description

_classCallCheck(instance, Constructor)   X-Ref
No description

_possibleConstructorReturn(self, call)   X-Ref
No description

_inherits(subClass, superClass)   X-Ref
No description

onOutsideClick()   X-Ref
No description

initialVisibleMonth()   X-Ref
No description

onPrevMonthClick()   X-Ref
No description

onNextMonthClick()   X-Ref
No description

onMonthChange()   X-Ref
No description

onYearChange()   X-Ref
No description

onMultiplyScrollableMonths()   X-Ref
No description

onDayClick()   X-Ref
No description

onDayMouseEnter()   X-Ref
No description

onDayMouseLeave()   X-Ref
No description

onBlur()   X-Ref
No description

DayPicker(props)   X-Ref
No description

onKeyboardShortcutsPanelClose()   X-Ref
No description

componentDidMount()   X-Ref
No description

componentWillReceiveProps(nextProps)   X-Ref
No description

shouldComponentUpdate(nextProps, nextState)   X-Ref
No description

componentWillUpdate()   X-Ref
No description

componentDidUpdate(prevProps)   X-Ref
No description

componentWillUnmount()   X-Ref
No description

onKeyDown(e)   X-Ref
No description

onFinalKeyDown(e)   X-Ref
No description

onKeyboardShortcutsPanelClose()   X-Ref
No description

onPrevMonthClick(nextFocusedDate, e)   X-Ref
No description

onMonthChange(currentMonth)   X-Ref
No description

onYearChange(currentMonth)   X-Ref
No description

onNextMonthClick(nextFocusedDate, e)   X-Ref
No description

getFirstDayOfWeek()   X-Ref
No description

getFirstVisibleIndex()   X-Ref
No description

getFocusedDay(newMonth)   X-Ref
No description

setMonthTitleHeight(monthTitleHeight)   X-Ref
No description

setCalendarMonthWeeks(currentMonth)   X-Ref
No description

setContainerRef(ref)   X-Ref
No description

setCalendarInfoRef(ref)   X-Ref
No description

setTransitionContainerRef(ref)   X-Ref
No description

maybeTransitionNextMonth(newFocusedDate)   X-Ref
No description

maybeTransitionPrevMonth(newFocusedDate)   X-Ref
No description

multiplyScrollableMonths(e)   X-Ref
No description

isHorizontal()   X-Ref
No description

isVertical()   X-Ref
No description

updateStateAfterMonthTransition()   X-Ref
No description

adjustDayPickerHeight(newMonthHeight)   X-Ref
No description

calculateAndSetDayPickerHeight()   X-Ref
No description

openKeyboardShortcutsPanel(onCloseCallBack)   X-Ref
No description

closeKeyboardShortcutsPanel()   X-Ref
No description

renderNavigation()   X-Ref
No description

onNextMonthClick(e)   X-Ref
No description

onPrevMonthClick(e)   X-Ref
No description

renderWeekHeader(index)   X-Ref
No description

render()   X-Ref
No description

onClick(e)   X-Ref
No description

onMouseUp()   X-Ref
No description

baseGetTag(value)   X-Ref
The base implementation of `getTag` without fallbacks for buggy environments.

param: {*} value The value to query.
returns: {string} Returns the `toStringTag`.

getActiveElement(element)   X-Ref
Returns `element.ownerDocument.activeElement`.


getNamespace(componentName)   X-Ref
Creates a dedicated context namespace HTML attribute for components.
ns is short for "namespace"

param: {string} componentName The name for the component.
return: {Record<string, any>} A props object with the namespaced HTML attribute.

getConnectedNamespace()   X-Ref
Creates a dedicated connected context namespace HTML attribute for components.
ns is short for "namespace"

return: {Record<string, any>} A props object with the namespaced HTML attribute.

_assertThisInitialized(self)   X-Ref
No description

hasFocusWithin(element)   X-Ref
Checks if `element` has focus within. Elements that are referenced by
`aria-activedescendant` are also considered.


_interopRequireDefault(obj)   X-Ref
No description

isPrevMonth(a, b)   X-Ref
No description

isObject(arg)   X-Ref
Checks whether `arg` is an object or not.

returns: {boolean}

_defineProperty(obj, key, value)   X-Ref
No description

ownKeys(object, enumerableOnly)   X-Ref
No description

_objectSpread2(target)   X-Ref
No description

_objectWithoutPropertiesLoose(source, excluded)   X-Ref
No description

_unsupportedIterableToArray(o, minLen)   X-Ref
No description

_arrayLikeToArray(arr, len)   X-Ref
No description

_createForOfIteratorHelperLoose(o, allowArrayLike)   X-Ref
No description

transformValue(value)   X-Ref
Parses and transforms an incoming value to better match the alignment values

param: {string} value An alignment value to parse.
return: {string} The parsed value.

utils_getItemId(prefixId, value)   X-Ref
Creates an item ID based on a prefix ID and an alignment value.

param: {string} prefixId An ID to prefix.
param: {string} value An alignment value.
return: {string} The item id.

getAlignmentIndex(alignment = 'center')   X-Ref
Retrieves the alignment index from a value.

param: {string} alignment Value to check.
return: {number} The index of a matching alignment.

_setPrototypeOf(o, p)   X-Ref
No description

_inheritsLoose(subClass, superClass)   X-Ref
No description

css_browser_esm_css()   X-Ref
No description

InnerGlobal(props, context, updater)   X-Ref
No description

merge(registered, css, className)   X-Ref
No description

ownKeys(object, enumerableOnly)   X-Ref
No description

_objectSpread(target)   X-Ref
No description

rgba(hexValue = '', alpha = 1)   X-Ref
Generating a CSS compliant rgba() color value.

param: {string} hexValue The hex value to convert to rgba().
param: {number} alpha The alpha value for opacity.
return: {string} The converted rgba() color value.

reduceMotion(prop = 'transition')   X-Ref
Allows users to opt-out of animations via OS-level preferences.

param: {'transition' | 'animation' | string} [prop='transition'] CSS Property name
return: {string} Generated CSS code for the reduced style

_EMOTION_STRINGIFIED_CSS_ERROR__()   X-Ref
No description

cell_Cell({isActive = false,value,...props})   X-Ref
No description

useSealedState(initialState)   X-Ref
React custom hook that returns the very first value passed to `initialState`,
even if it changes between re-renders.


groupItems(items)   X-Ref
No description

flatten(grid)   X-Ref
No description

reverse(array)   X-Ref
No description

findEnabledItemById(items, id)   X-Ref
No description

isUpdater(argument)   X-Ref
No description

applyState(argument, currentValue)   X-Ref
Receives a `setState` argument and calls it with `currentValue` if it's a
function. Otherwise return the argument as the new value.


unstable_useIdState(initialState)   X-Ref
No description

isElementPreceding(element1, element2)   X-Ref
No description

findDOMIndex(items, item)   X-Ref
No description

getMaxLength(rows)   X-Ref
No description

verticalizeItems(items)   X-Ref
Turns [row1, row1, row2, row2] into [row1, row2, row1, row2]


createEmptyItem(groupId)   X-Ref
No description

fillGroups(groups, currentId, shift)   X-Ref
Turns [[row1, row1], [row2]] into [[row1, row1], [row2, row2]]


placeItemsAfter(items, id, shouldInsertNullItem)   X-Ref
No description

getItemsInGroup(items, groupId)   X-Ref
No description

getOppositeOrientation(orientation)   X-Ref
No description

addItemAtIndex(array, item, index)   X-Ref
No description

sortBasedOnDOMPosition(items)   X-Ref
No description

setItemsBasedOnDOMPosition(items, setItems)   X-Ref
No description

getCommonParent(items)   X-Ref
No description

useIntersectionObserver(items, setItems)   X-Ref
No description

useTimeoutObserver(items, setItems)   X-Ref
No description

useSortBasedOnDOMPosition(items, setItems)   X-Ref
No description

CompositeState_reducer(state, action)   X-Ref
No description

useAction(fn)   X-Ref
No description

useIsUnmountedRef()   X-Ref
No description

useCompositeState(initialState)   X-Ref
No description

createFocusEvent(element, type, eventInit)   X-Ref
No description

fireBlurEvent(element, eventInit)   X-Ref
Creates and dispatches a blur event in a way that also works on IE 11.


createKeyboardEvent(element, type, eventInit)   X-Ref
No description

fireKeyboardEvent(element, type, eventInit)   X-Ref
Creates and dispatches `KeyboardEvent` in a way that also works on IE 11.


getNextActiveElementOnBlur(event)   X-Ref
Cross-browser method that returns the next active element (the element that
is receiving focus) after a blur event is dispatched. It receives the blur
event object as the argument.


canProxyKeyboardEvent(event)   X-Ref
No description

useKeyboardEventProxy(virtual, currentItem, htmlEventHandler)   X-Ref
No description

useActiveElementRef(elementRef)   X-Ref
No description

findFirstEnabledItemInTheLastRow(items)   X-Ref
No description

isItem(items, element)   X-Ref
No description

useScheduleUserFocus(currentItem)   X-Ref
No description

alignment_matrix_control_icon_styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

AlignmentMatrixControlIcon({className,disablePointerEvents = true,size = BASE_SIZE,style = {},value = 'center',...props})   X-Ref
No description

useBaseId(id)   X-Ref
No description

AlignmentMatrixControl({className,id,label = Object(external_wp_i18n_["__"])   X-Ref
No description

font(value)   X-Ref

param: {keyof FONT} value Path of value from `FONT`
return: {string} Font rule value

space(value = 1)   X-Ref
Creates a spacing CSS value (px) based on grid system values.

param: {number} [value=1] Multiplier against the grid base value (8)
return: {string} The spacing value (px).

BaseControl({id,label,hideLabelFromVision,help,className,children})   X-Ref

param: {Props} props
return: {JSX.Element} Element

Component(props, forwardedRef)   X-Ref
No description

styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

useFlexItem(props)   X-Ref

param: {import('../../ui/context').ViewOwnProps<import('../types').FlexItemProps, 'div'>} props

useFlexBlock(props)   X-Ref

param: {import('../../ui/context').ViewOwnProps<import('../types').FlexBlockProps, 'div'>} props

useResponsiveValue(values, options = {})   X-Ref
No description

space_space(value)   X-Ref
Internal dependencies


useDeprecatedProps({isReversed,...otherProps})   X-Ref

param: {import('../../ui/context').ViewOwnProps<import('../types').FlexProps, 'div'>} props
return: {import('../../ui/context').ViewOwnProps<import('../types').FlexProps, 'div'>} Props with the deprecated props removed.

useFlex(props)   X-Ref

param: {import('../../ui/context').ViewOwnProps<import('../types').FlexProps, 'div'>} props

component_Flex(props, forwardedRef)   X-Ref

param: {import('../../ui/context').ViewOwnProps<import('../types').FlexProps, 'div'>} props
param: {import('react').Ref<any>} forwardedRef

truncate_styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

truncateMiddle(word, headLength, tailLength, ellipsis)   X-Ref

param: {string} word
param: {number} headLength
param: {number} tailLength
param: {string} ellipsis

truncateContent(words = '', props)   X-Ref

param: {string} words
param: {typeof TRUNCATE_DEFAULT_PROPS} props

useTruncate(props)   X-Ref

param: {import('../ui/context').ViewOwnProps<import('./types').Props, 'span'>} props

getColorComputationNode()   X-Ref

return: {HTMLDivElement | undefined} The HTML element for color computation.

isColor(value)   X-Ref

param: {string | unknown} value
return: {boolean} Whether the value is a valid color.

_getComputedBackgroundColor(backgroundColor)   X-Ref
Retrieves the computed background color. This is useful for getting the
value of a CSS variable color.

param: {string | unknown} backgroundColor The background color to compute.
return: {string} The computed background color.

getOptimalTextColor(backgroundColor)   X-Ref
Get the text shade optimized for readability, based on a background color.

param: {string | unknown} backgroundColor  The background color.
return: {string} The optimized text color (black or white).

getOptimalTextShade(backgroundColor)   X-Ref
Get the text shade optimized for readability, based on a background color.

param: {string | unknown} backgroundColor The background color.
return: {string} The optimized text shade (dark or light).

text_styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

createHighlighterText({activeClassName = '',activeIndex = -1,activeStyle,autoEscape,caseSensitive = false,children,findChunks,highlightClassName = '',highlightStyle = {},highlightTag = 'mark',sanitize,searchWords = [],unhighlightClassName = '',unhighlightStyle})   X-Ref

param: {Options} options

getFontSize(size = BASE_FONT_SIZE)   X-Ref
No description

getHeadingFontSize(size = 3)   X-Ref
No description

getLineHeight(adjustLineHeightForInnerControls, lineHeight)   X-Ref
Internal dependencies


hook_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

useText(props)   X-Ref

param: {import('../ui/context').ViewOwnProps<import('./types').Props, 'span'>} props

getConvertedKey(key)   X-Ref
Flips a CSS property from left <-> right.

param: {string} key The CSS property name.
return: {string} The flipped CSS property name, if applicable.

rtl_rtl(ltrStyles = {}, rtlStyles)   X-Ref
A higher-order function that create an incredibly basic ltr -> rtl style converter for CSS objects.

param: {import('react').CSSProperties} ltrStyles   Ltr styles. Converts and renders from ltr -> rtl styles, if applicable.
param: {import('react').CSSProperties} [rtlStyles] Rtl styles. Renders if provided.
return: {Function} A function to output CSS styles for Emotion's renderer

input_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

Backdrop({disabled = false,isFocused = false})   X-Ref
No description

label_Label({children,hideLabelFromVision,htmlFor,...props})   X-Ref
Internal dependencies


useUniqueId(idProp)   X-Ref
No description

getUIFlexProps({labelPosition})   X-Ref
No description

InputBase({__unstableInputWidth,children,className,disabled = false,hideLabelFromVision = false,labelPosition,id: idProp,isFocused = false,label,prefix,size = 'default',suffix,...props}, ref)   X-Ref
No description

addV(v1, v2)   X-Ref
No description

subV(v1, v2)   X-Ref
No description

calculateDistance(movement)   X-Ref
Calculates distance

param: movement the difference between current and initial vectors
returns: distance

calculateAllGeometry(movement, delta)   X-Ref
No description

calculateAllKinematics(movement, delta, dt)   X-Ref
Calculates all kinematics

param: movement the difference between current and initial vectors
param: delta the difference between current and previous vectors
param: delta_t the time difference between current and previous timestamps
returns: all kinematics

sign(x)   X-Ref
Because IE doesn't support `Math.sign` function, so we use the polyfill version of the function.
This polyfill function is suggested by Mozilla:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sign#Polyfill

param: x target number

minMax(value, min, max)   X-Ref
No description

rubberband2(distance, constant)   X-Ref
No description

rubberband(distance, dimension, constant)   X-Ref
No description

rubberbandIfOutOfBounds(position, min, max, constant)   X-Ref
No description

_defineProperties(target, props)   X-Ref
No description

_createClass(Constructor, protoProps, staticProps)   X-Ref
No description

_extends()   X-Ref
No description

reactusegesture_esm_inheritsLoose(subClass, superClass)   X-Ref
No description

_objectWithoutPropertiesLoose(source, excluded)   X-Ref
No description

_assertThisInitialized(self)   X-Ref
No description

_unsupportedIterableToArray(o, minLen)   X-Ref
No description

_arrayLikeToArray(arr, len)   X-Ref
No description

_createForOfIteratorHelperLoose(o, allowArrayLike)   X-Ref
No description

noop()   X-Ref
No description

chainFns()   X-Ref
TODO Beware that only optimized cases are covered in tests =)
TODO Need to cover general case as well

param: fns

ensureVector(value, fallback)   X-Ref
Expects a simple value or 2D vector (an array with 2 elements) and
always returns 2D vector. If simple value is passed, returns a
vector with this value as both coordinates.

param: value

assignDefault(value, fallback)   X-Ref
Helper for defining a default value

param: value
param: fallback

valueFn(v)   X-Ref
Resolves getters (functions) by calling them
If simple value is given it just passes through

param: v

resolveWith(config, resolvers)   X-Ref
No description

supportsGestureEvents()   X-Ref
Whether the browser supports GestureEvent (ie Safari)

returns: true if the browser supports gesture event

supportsTouchEvents()   X-Ref
No description

supportsPointerEvents()   X-Ref
No description

getEventTouches(event)   X-Ref
No description

getTouchIds(event)   X-Ref
No description

getGenericEventData(event)   X-Ref
No description

getPointerEventValues(event, transform)   X-Ref
Gets pointer event values.

param: event
returns: pointer event values

getTwoTouchesEventValues(event, pointerIds, transform)   X-Ref
Gets two touches event data

param: event
returns: two touches event data

getScrollEventValues(event, transform)   X-Ref
Gets scroll event values

param: event
returns: scroll event values

getWheelEventValues(event, transform)   X-Ref
Gets wheel event values.

param: event
returns: wheel event values

getWebkitGestureEventValues(event, transform)   X-Ref
Gets webkit gesture event values.

param: event
returns: webkit gesture event values

window(_x)   X-Ref
No description

getInternalGenericOptions(config)   X-Ref
No description

getInternalCoordinatesOptions(config)   X-Ref
No description

getInternalDistanceAngleOptions(config)   X-Ref
No description

getInternalDragOptions(config)   X-Ref
No description

_buildMoveConfig(_ref)   X-Ref
No description

_buildHoverConfig(_ref2)   X-Ref
No description

_buildDragConfig(_ref3)   X-Ref
No description

_buildPinchConfig(_ref4)   X-Ref
No description

_buildScrollConfig(_ref5)   X-Ref
No description

_buildWheelConfig(_ref6)   X-Ref
No description

buildComplexConfig(config, actions)   X-Ref
No description

getInitial(mixed)   X-Ref
No description

getInitialState()   X-Ref
No description

Recognizer(controller, args)   X-Ref
Creates an instance of a gesture recognizer.

param: stateKey drag, move, pinch, etc.
param: controller the controller attached to the gesture
param: [args] the args that should be passed to the gesture handler

getIntentionalDisplacement(movement, threshold)   X-Ref
No description

computeRubberband(bounds, _ref, _ref2)   X-Ref
No description

getGenericPayload(_ref3, event, isStartEvent)   X-Ref
Returns a generic, common payload for all gestures from an event.


getStartGestureState(_ref4, values, event, initial)   X-Ref
Returns the reinitialized start state for the gesture.
Should be common to all gestures.


addEventIds(controller, event)   X-Ref
No description

removeEventIds(controller, event)   X-Ref
No description

clearAllWindowListeners(controller)   X-Ref
No description

clearWindowListeners(_ref, stateKey, options)   X-Ref
No description

updateWindowListeners(_ref2, stateKey, listeners, options)   X-Ref
No description

updateDomListeners(_ref3, bindings)   X-Ref
No description

getPropsListener(_ref4, bindings)   X-Ref
No description

takeAll(array)   X-Ref
No description

getDomTargetFromConfig(_ref5)   X-Ref
No description

addBindings(bindings, name, fn)   X-Ref
bindings is an object which keys match ReactEventHandlerKeys.
Since a recognizer might want to bind a handler function to an event key already used by a previously
added recognizer, we need to make sure that each event key is an array of all the functions mapped for
that key.


addListeners(el, listeners, options)   X-Ref
No description

removeListeners(el, listeners, options)   X-Ref
No description

useRecognizers(handlers, config, nativeHandlers)   X-Ref
Utility hook called by all gesture hooks and that will be responsible for the internals.

param: handlers
param: classes
param: config
param: nativeHandlers - native handlers such as onClick, onMouseDown, etc.

deprecationNoticeForDomTarget()   X-Ref
No description

resolveClasses(internalHandlers)   X-Ref
No description

CoordinatesRecognizer()   X-Ref


persistEvent(event)   X-Ref
No description

DragRecognizer()   X-Ref
No description

memoizeOne(resultFn, isEqual)   X-Ref
Inlined from https://github.com/alexreardon/memoize-one


memoized()   X-Ref
No description

equal(a, b)   X-Ref
Taken from https://github.com/FormidableLabs/react-fast-compare

Dropped comments and ArrayBuffer handling

isEqual(a, b)   X-Ref
No description

useDrag(handler, config)   X-Ref
Drag hook.

param: handler - the function fired every time the drag gesture updates
param: [config={}] - the config object including generic options and drag options

DistanceAngleRecognizer()   X-Ref


PinchRecognizer()   X-Ref
No description

usePinch(handler, config)   X-Ref
Pinch hook.

param: handler - the function fired every time the pinch gesture updates
param: [config={}] - the config object including generic options and pinch options

WheelRecognizer()   X-Ref
No description

useWheel(handler, config)   X-Ref
Wheel hook.

param: handler - the function fired every time the wheel gesture updates
param: the config object including generic options and wheel options

MoveRecognizer()   X-Ref
No description

useMove(handler, config)   X-Ref
Move hook.

param: handler - the function fired every time the move gesture updates
param: [config={}] - the config object including generic options and move options

useHover(handler, config)   X-Ref
Hover hook.

param: handler - the function fired every time the hover gesture updates
param: [config={}] - the config object including generic options and hover options

ScrollRecognizer()   X-Ref
No description

useScroll(handler, config)   X-Ref
Scroll hook.

param: handler - the function fired every time the scroll gesture updates
param: [config={}] - the config object including generic options and scroll options

sortHandlers(handlers)   X-Ref
No description

useGesture(_handlers, config)   X-Ref

param: {Handlers} handlers - an object with on[Gesture] keys containg gesture handlers
param: {UseGestureConfig} [config={}] - the full config object
returns: {(...args: any[]) => HookReturnType<Config>}

includeStartEndHandlers(handlers, handlerKey)   X-Ref
No description

getDragCursor(dragDirection)   X-Ref
Gets a CSS cursor value based on a drag direction.

param: {string} dragDirection The drag direction.
return: {string} The CSS cursor value.

useDragCursor(isDragging, dragDirection)   X-Ref
Custom hook that renders a drag cursor when dragging.

param: {boolean} isDragging The dragging state.
param: {string} dragDirection The drag direction.
return: {string} The CSS cursor value.

mergeInitialState(initialState = initialInputControlState)   X-Ref
Prepares initialState for the reducer.

param: {Object} initialState The initial state.
return: {Object} Prepared initialState for the reducer

inputControlStateReducer(composedStateReducers)   X-Ref
Creates a reducer that opens the channel for external state subscription
and modification.

This technique uses the "stateReducer" design pattern:
https://kentcdodds.com/blog/the-state-reducer-pattern/

param: {Function} composedStateReducers A custom reducer that can subscribe and modify state.
return: {Function} The reducer.

useInputControlStateReducer(stateReducer = initialStateReducer, initialState = initialInputControlState)   X-Ref
A custom hook that connects and external stateReducer with an internal
reducer. This hook manages the internal state of InputControl.
However, by connecting an external stateReducer function, other
components can react to actions as well as modify state before it is
applied.

This technique uses the "stateReducer" design pattern:
https://kentcdodds.com/blog/the-state-reducer-pattern/

param: {Function} stateReducer An external state reducer.
param: {Object} initialState The initial state for the reducer.
return: {Object} State, dispatch, and a collection of actions.

isValueDefined(value)   X-Ref
Determines if a value is null or undefined.

param: {T | null | undefined} value The value to check.
return: {value is T} Whether value is not null or undefined.

isValueEmpty(value)   X-Ref
Determines if a value is empty, null, or undefined.

param: {T | "" | null | undefined} value The value to check.
return: {value is T} Whether value is empty.

getDefinedValue(values = [], fallbackValue)   X-Ref
Get the first defined/non-null value from an array.

param: {Array<T | null | undefined>} values Values to derive from.
param: {T} fallbackValue Fallback value if there are no defined values.
return: {T} A defined value or the fallback value.

useUpdateEffect(effect, deps)   X-Ref
A `React.useEffect` that will not run on the first render.
Source:
https://github.com/reakit/reakit/blob/HEAD/packages/reakit-utils/src/useUpdateEffect.ts

param: {import('react').EffectCallback} effect
param: {import('react').DependencyList} deps

InputField({disabled = false,dragDirection = 'n',dragThreshold = 10,id,isDragEnabled = false,isFocused,isPressEnterToChange = false,onBlur = external_lodash_["noop"],onChange = external_lodash_["noop"],onDrag = external_lodash_["noop"],onDragEnd = external_lodash_["noop"],onDragStart = external_lodash_["noop"],onFocus = external_lodash_["noop"],onKeyDown = external_lodash_["noop"],onValidate = external_lodash_["noop"],size = 'default',setIsFocused,stateReducer = state => state,value: valueProp,type,...props}, ref)   X-Ref
No description

input_control_useUniqueId(idProp)   X-Ref
No description

InputControl({__unstableStateReducer: stateReducer = state => state,__unstableInputWidth,className,disabled = false,hideLabelFromVision = false,id: idProp,isPressEnterToChange = false,label,labelPosition = 'top',onChange = external_lodash_["noop"],onValidate = external_lodash_["noop"],onKeyDown = external_lodash_["noop"],prefix,size = 'default',suffix,value,...props}, ref)   X-Ref
No description

number_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

getNumber(value)   X-Ref
Parses and retrieves a number value.

param: {unknown} value The incoming value.
return: {number} The parsed number value.

add(...args)   X-Ref
Safely adds 2 values.

param: {Array<number|string>} args Values to add together.
return: {number} The sum of values.

subtract(...args)   X-Ref
Safely subtracts 2 values.

param: {Array<number|string>} args Values to subtract together.
return: {number} The difference of the values.

getPrecision(value)   X-Ref
Determines the decimal position of a number value.

param: {number} value The number to evaluate.
return: {number} The number of decimal places.

roundClamp(value = 0, min = Infinity, max = Infinity, step = 1)   X-Ref
Clamps a value based on a min/max range with rounding

param: {number} value The value.
param: {number} min The minimum range.
param: {number} max The maximum range.
param: {number} step A multiplier for the value.
return: {number} The rounded and clamped value.

roundClampString(...args)   X-Ref
Clamps a value based on a min/max range with rounding.
Returns a string.

param: {Parameters<typeof roundClamp>} args Arguments for roundClamp().
return: {string} The rounded and clamped value.

useJumpStep({isShiftStepEnabled = true,shiftStep = 10,step = 1})   X-Ref
A custom hook that calculates a step value (used by elements like input
[type="number"]). This value can be modified based on whether the Shift
key is being held down.

For example, a shiftStep of 10, and a step of 1...
Starting from 10, the next incremented value will be 11.

Holding down shift...
Starting from 10, the next incremented value will be 20.

param: {Object} props Properties for the hook.
param: {boolean} [props.isShiftStepEnabled=true] Determines if jumping values with shift is enabled
param: {number} [props.shiftStep=10] Multiplier to jump by, when holding shift key.
param: {number} [props.step=1] Multiplier to jump by, when not-holding shift key.
return: {number} The jump step value.

NumberControl({__unstableStateReducer: stateReducer = state => state,className,dragDirection = 'n',hideHTMLArrows = false,isDragEnabled = true,isShiftStepEnabled = true,label,max = Infinity,min = -Infinity,shiftStep = 10,step = 1,type: typeProp = 'number',value: valueProp,...props}, ref)   X-Ref
No description

angle_picker_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

AngleCircle({value,onChange,...props})   X-Ref
No description

getAngle(centerX, centerY, pointX, pointY)   X-Ref
No description

AnglePickerControl({className,hideLabelFromVision,id: idProp,label = Object(external_wp_i18n_["__"])   X-Ref
No description

filterOptions(search, options = [], maxResults = 10)   X-Ref


AutocompleterUI({filterValue,instanceId,listBoxId,className,selectedIndex,onChangeOptions,onSelect,onReset,value,contentRef})   X-Ref
No description

useAutocomplete({record,onChange,onReplace,completers,contentRef})   X-Ref
No description

insertCompletion(replacement)   X-Ref
No description

select(option)   X-Ref
No description

reset()   X-Ref
No description

announce(options)   X-Ref
No description

onChangeOptions(options)   X-Ref
Load options for an autocompleter.

param: {Array} options

handleKeyDown(event)   X-Ref
No description

useAutocompleteProps(options)   X-Ref
No description

_onKeyDown(event)   X-Ref
No description

Autocomplete({children,isSelected,...options})   X-Ref
No description

unit_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

getParsedValue(value, unit, units)   X-Ref
Handles legacy value + unit handling.
This component use to manage both incoming value and units separately.

Moving forward, ideally the value should be a string that contains both
the value and unit, example: '10px'

param: {number|string} value Value
param: {string} unit Unit value
param: {Array<Object>} units Units to derive from.
return: {Array<number, string>} The extracted number and unit.

utils_hasUnits(units)   X-Ref
Checks if units are defined.

param: {any} units Units to check.
return: {boolean} Whether units are defined.

parseUnit(initialValue, units = ALL_CSS_UNITS)   X-Ref
Parses a number and unit from a value.

param: {string} initialValue Value to parse
param: {Array<Object>} units Units to derive from.
return: {Array<number, string>} The extracted number and unit.

getValidParsedUnit(next, units, fallbackValue, fallbackUnit)   X-Ref
Parses a number and unit from a value. Validates parsed value, using fallback
value if invalid.

param: {number|string} next The next value.
param: {Array<Object>} units Units to derive from.
param: {number|string} fallbackValue The fallback value.
param: {string} fallbackUnit The fallback value.
return: {Array<number, string>} The extracted number and unit.

parseA11yLabelForUnit(unit)   X-Ref
Takes a unit value and finds the matching accessibility label for the
unit abbreviation.

param: {string} unit Unit value (example: px)
return: {string} a11y label for the unit abbreviation

filterUnitsWithSettings(settings = [], units = [])   X-Ref
Filters available units based on values defined by settings.

param: {Array} settings Collection of preferred units.
param: {Array} units Collection of available units.
return: {Array} Filtered units based on settings.

UnitSelectControl({className,isTabbable = true,options = CSS_UNITS,onChange = external_lodash_["noop"],size = 'default',value = 'px',...props})   X-Ref
Renders a `select` if there are multiple units.
Otherwise, renders a non-selectable label.

param: {Object}   props                     Component props.
param: {string}   [props.className]         Class to set on the `select` element.
param: {boolean}  [props.isTabbable=true]   Whether the control can be focused via keyboard navigation.
param: {Array}    [props.options=CSS_UNITS] Available units to select from.
param: {Function} [props.onChange=noop]     A callback function invoked when the value is changed.
param: {string}   [props.size="default"]    Size of the control option. Supports "default" and "small".
param: {string}   [props.value="px"]        Current unit.

useControlledState(currentState, options = defaultOptions)   X-Ref
Custom hooks for "controlled" components to track and consolidate internal
state and incoming values. This is useful for components that render
`input`, `textarea`, or `select` HTML elements.

https://reactjs.org/docs/forms.html#controlled-components

At first, a component using useControlledState receives an initial prop
value, which is used as initial internal state.

This internal state can be maintained and updated without
relying on new incoming prop values.

Unlike the basic useState hook, useControlledState's state can
be updated if a new incoming prop value is changed.

param: {T | undefined} currentState The current value.
param: {Options<T>} [options=defaultOptions] Additional options for the hook.
return: {[T | "", (nextState: T) => void]} The controlled value and the value setter.

UnitControl({__unstableStateReducer: stateReducer = state => state,autoComplete = 'off',className,disabled = false,disableUnits = false,isPressEnterToChange = false,isResetValueOnUnitChange = false,isUnitSelectTabbable = true,label,onChange = external_lodash_["noop"],onUnitChange = external_lodash_["noop"],size = 'default',style,unit: unitProp,units = CSS_UNITS,value: valueProp,...props}, ref)   X-Ref
No description

box_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

BoxUnitControl({isFirst,isLast,isOnly,onHoverOn = external_lodash_["noop"],onHoverOff = external_lodash_["noop"],label,value,...props})   X-Ref
No description

Tooltip({children,text})   X-Ref
No description

mode(arr)   X-Ref
Gets an items with the most occurance within an array
https://stackoverflow.com/a/20762713

param: {Array<any>} arr Array of items to check.
return: {any} The item with the most occurances.

getAllValue(values = {})   X-Ref
Gets the 'all' input value and unit from values data.

param: {Object} values Box values.
return: {string} A value + unit for the 'all' input.

isValuesMixed(values = {})   X-Ref
Checks to determine if values are mixed.

param: {Object} values Box values.
return: {boolean} Whether values are mixed.

isValuesDefined(values)   X-Ref
Checks to determine if values are defined.

param: {Object} values Box values.
return: {boolean} Whether values are mixed.

AllInputControl({onChange = external_lodash_["noop"],onFocus = external_lodash_["noop"],onHoverOn = external_lodash_["noop"],onHoverOff = external_lodash_["noop"],values,sides,...props})   X-Ref
No description

BoxInputControls({onChange = external_lodash_["noop"],onFocus = external_lodash_["noop"],onHoverOn = external_lodash_["noop"],onHoverOff = external_lodash_["noop"],values,sides,...props})   X-Ref
No description

box_control_icon_styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

BoxControlIcon({size = 24,side = 'all',sides,...props})   X-Ref
Internal dependencies


LinkedButton({isLinked,...props})   X-Ref
No description

box_control_visualizer_styles_EMOTION_STRINGIFIED_CSS_ERROR_()   X-Ref
No description

BoxControlVisualizer({children,showValues = DEFAULT_VISUALIZER_VALUES,values: valuesProp = DEFAULT_VALUES,...props})   X-Ref
No description

Sides({showValues = DEFAULT_VISUALIZER_VALUES,values})   X-Ref
No description

Top({isVisible = false,value})   X-Ref
No description

Right({isVisible = false,value})   X-Ref
No description

Bottom({isVisible = false,value})   X-Ref
No description

Left({isVisible = false,value})   X-Ref
No description

useSideAnimation(value)   X-Ref
Custom hook that renders the "flash" animation whenever the value changes.

param: {string} value Value of (box) side.

box_control_useUniqueId(idProp)   X-Ref
No description

BoxControl({id: idProp,inputProps = defaultInputProps,onChange = external_lodash_["noop"],onChangeShowVisualizer = external_lodash_["noop"],label = Object(external_wp_i18n_["__"])   X-Ref
No description

ButtonGroup({className,...props}, ref)   X-Ref
No description

bodySize()   X-Ref
No description

headerFooterSizes()   X-Ref
No description

handleBorderless()   X-Ref
No description

handleShady()   X-Ref
No description

Card(props)   X-Ref
No description

CardBody(props)   X-Ref
No description

CardDivider(props)   X-Ref
Internal dependencies


CardFooter(props)   X-Ref
No description

CardHeader(props)   X-Ref
No description

CardMedia(props)   X-Ref
Internal dependencies


CheckboxControl({label,className,heading,checked,help,onChange,...props})   X-Ref
Internal dependencies


ClipboardButton({className,children,onCopy,onFinishCopy,text,...buttonProps})   X-Ref
No description

useObservableState(initialState, onStateChange)   X-Ref
No description

Dropdown({renderContent,renderToggle,position = 'bottom right',className,contentClassName,expandOnMobile,headerTitle,focusOnMount,popoverProps,onClose,onToggle})   X-Ref
No description

toggle()   X-Ref
No description

closeIfFocusOutside()   X-Ref
Closes the dropdown if a focus leaves the dropdown wrapper. This is
intentionally distinct from `onClose` since focus loss from the popover
is expected to occur when using the Dropdown's toggle button, in which
case the correct behavior is to keep the dropdown closed. The same applies
in case when focus is moved to the modal dialog.


close()   X-Ref
No description

Option({className,isSelected,selectedIconProps,tooltipText,...additionalProps})   X-Ref
No description

DropdownLinkAction({buttonProps,className,dropdownProps,linkText})   X-Ref
No description

ButtonAction({className,children,...additionalProps})   X-Ref
No description

CircularOptionPicker({actions,className,options,children})   X-Ref
No description

colorToState(data = {}, oldHue = false)   X-Ref
Given a hex color, get all other color properties (rgb, alpha, etc).

param: {Object|string} data A hex color string or an object with a hex property
param: {string} oldHue A reference to the hue of the previous color, otherwise dragging the saturation to zero will reset the current hue to zero as well. See https://github.com/casesandberg/react-color/issues/29#issuecomment-132686909.
return: {Object} An object of different color representations.

getPointOffset(e, container)   X-Ref
Get the top/left offsets of a point in a container, also returns the container width/height.

param: {Event} e Mouse or touch event with a location coordinate.
param: {HTMLElement} container The container div, returned point is relative to this container.
return: {Object} An object of the offset positions & container size.

isValidHex(hex)   X-Ref
Check if a string is a valid hex color code.

param: {string} hex A possible hex color.
return: {boolean} True if the color is a valid hex color.

simpleCheckForValidColor(data)   X-Ref
Check an object for any valid color properties.

param: {Object} data A possible object representing a color.
return: {Object|boolean} If a valid representation of color, returns the data object. Otherwise returns false.

calculateAlphaChange(e, props, container)   X-Ref
Calculate the current alpha based on a mouse or touch event

param: {Event} e A mouse or touch event on the alpha bar.
param: {Object} props The current component props
param: {HTMLElement} container The container div for the alpha bar graph.
return: {Object|null} If the alpha value has changed, returns a new color object.

calculateHueChange(e, props, container)   X-Ref
Calculate the current hue based on a mouse or touch event

param: {Event} e A mouse or touch event on the hue bar.
param: {Object} props The current component props
param: {HTMLElement} container The container div for the hue bar graph.
return: {Object|null} If the hue value has changed, returns a new color object.

calculateSaturationChange(e, props, container)   X-Ref
Calculate the current saturation & brightness based on a mouse or touch event

param: {Event} e A mouse or touch event on the saturation graph.
param: {Object} props The current component props
param: {HTMLElement} container The container div for the 2D saturation graph.
return: {Object} Returns a new color object.

KeyboardShortcut({target,callback,shortcut,bindGlobal,eventName})   X-Ref
No description

KeyboardShortcuts({children,shortcuts,bindGlobal,eventName})   X-Ref
No description



Generated: Wed Jun 23 01:00:04 2021 Cross-referenced by PHPXref 0.7.1