Skip to content

devex-web-frontend/dx-components

Repository files navigation

0.9.rc breaking changes

  • some components drop default export in favor of named one

  • some components dorp static propTypes property in favor of TS types

  • some component will also use local withTheme enhancer with no support for statics hoist

  • IButtonProps was replaced with TButtonProps

  • theme was renamed to withTheme

Combobox:

  • remove ANCHOR_THEME, ANCHOR_SHARE_PROP_TYPES

Selectbox/SelectboxAnchor

  • default export changed to named

BoundsUpdateDetector

  • default export changed to named

Pure

  • default export changed to named

Checkbox

  • default export changed to named
  • use TControlProps<boolean> instead of isChecked/onChange

Highlight

  • default export changed to named
  • remove HIGHLIGHT_THEME_SHAPE

Holdable

  • default export changed to named

Link

  • default export changed to named
  • Link now requires children

ResizeDetector

  • default export changed to named

Expandable

  • default export changed to named
  • removed EXPANDABLE_THEME

ExpandableHandler

  • default export changed to named
  • removed EXPANDABLE_HANDLER_THEME

Menu

  • ListComponent prop was replaced with List

MenuItem

  • ListItemComponent prop was replaced with ListItem

MenuItemGroup

  • ListItemGroupComponent props was replaced with ListItemGroup
  • ListComponent prop was with List

Popover

  • PLACEMENT was replaced with PopoverPlacement enum
  • ALIGN was replaced with PopoverAlign enum
  • type of container is now Element | null | undefined istead of TPortalProps['container'] | undefined

SelectboxAnchor

  • IconComponent prop was replaced with Icon

Selectbox

  • AnchorComponent prop was replaced with Anchor
  • IconComponent prop was replaced with Icon
  • MenuComponent prop was replaced with Menu
  • PopoverComponent prop was replaced with Popover
  • onChange event was replaced with onValueChange
  • onValueChange does not pass text but only value as first arg

Popup

  • POPUP_THEME_SHAPE_OBJECT was removed
  • children is required and is not checked in render
  • removed default cursor:pointer on backdrop for closeOnClickAway
  • closeOnClickAway now has higher priority than isModal (closes modal windows)

ResizeDetector

  • switch to element-resize-detector and scroll strategy instead of iframes
  • onResize handler is now passed Element instead of Event

LoadingIndication

  • complete rewrite, refer to demo page

About

Theme-unaware components

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy