Skip to content

v2.0.0-beta.77

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 01 Mar 08:43
· 287 commits to next since this release
0254540

2.0.0-beta.77 (2023-03-01)

Bug Fixes

  • fix react event name mappings BREAKING CHANGE (#449) (0254540)

BREAKING CHANGES

  • This commit changes event names in React wrappers. Current React users need to control the changes.

Here is a chart to compare old and new names:

Component Native Event Name Current React Event Proposed React Event
BlAlert bl-close onClose onBlClose
BlButton bl-click onClick onBlClick
BlCheckboxGroup bl-checkbox-group-change onChange onBlCheckboxGroupChange
BlDialog bl-dialog-open onOpen onBlDialogOpen
BlDialog bl-dialog-close onClose onBlDialogClose
BlDrawer bl-drawer-open onOpen onBlDrawerOpen
BlDrawer bl-drawer-close onClose onBlDrawerClose
BlDropdown bl-dropdown-open onOpen onBlDropdownOpen
BlDropdown bl-dropdown-close onClose onBlDropdownClose
BlIcon bl-load onLoad onBlLoad
BlIcon bl-error onError onBlError
BlInput bl-change onChange onBlChange
BlInput bl-input onInput onBlInput
BlInput bl-invalid onInvalid onBlInvalid
BlPagination bl-change onChange onBlChange
BlRadioGroup bl-radio-change onChange onBlRadioChange
BlSelect bl-select onSelect onBlSelect
BlSwitch bl-switch-toggle onToggle onBlSwitchToggle
BlTextarea bl-input onInput onBlInput
BlTextarea bl-change onChange onBlChange
BlTextarea bl-invalid onInvalid onBlInvalid
BlTooltip bl-tooltip-show onShow onBlTooltipShow
BlTooltip bl-tooltip-hide onHide onBlTooltipHide
BlCheckbox bl-checkbox-change onChange onBlCheckboxChange
BlCheckbox bl-focus onFous onBlFocus
BlCheckbox bl-blur onBlur onBlBlur
BlDropdownItem bl-dropdown-item-click onClick onBlDropdownItemClick
BlRadio bl-checked onChecked onBlChecked
BlRadio bl-focus onFocus onBlFocus
BlRadio bl-blur onBlur onBlBlur
BlSelectOption bl-select-option onOption onBlSelectOption
BlTab bl-tab-selected onSelected onBlTabSelected