Releases: epam/UUI
v4.7.1
4.7.1 - 06.06.2022
What's New
- [Buttons and Anchors]: support SPA links opening in new window when Ctrl/Command key pressed
What’s Fixed
- [DropSpot]: fix dnd behavior when user drag&drop file out of drag area
- [PickerInput]: fix the second line tag margin in multi mode
- [NumericInput]: hide arrows when input disabled or readonly
- [DataTable]: added missing sizes styles for header
- [ErrorHandler]: return getDefaultErrorPageProps and recoveryWordings export from loveship
- [useForm]: handle rejected promise after save
- [Burger]: fix scroll on body when burger closes
- [VirtualList]: fix auto scroll onHover on top or bottom item
v4.7.0
4.7.0 - 30.05.2022
What's New
-
Added new hook -
useTableState
, which helps to organize table state management with filters, presets and storing it into URL. See demo here - https://github.com/epam/UUI/blob/main/app/src/demo/table/DemoTable.tsx.
Note: this hook in WIP stage now, so there may be some changes in api and functionality -
[uuiRouter][Breaking Change]: added 'query' param parse/stringify handling inside
uuiRouter
. If you use some helpers for this, like 'qhistory', please remove it, now it will work out of the box with uuiRouter -
[ICanFocus]: implement ICanFocus interface in TextInput, NumericInput, PickerInput, Checkbox, DatePicker. Fix focus/blur behavior for PickerInput.
-
[MultiSwitch]: added 'gray' color style
-
[VirtualList]: add vertical flex context for scroll container
-
[ArrayDataSource]: check parent if all siblings is checked
What’s Fixed
- [Badge]: fix layout for 'transparent' fill
- [Paginator]: fix layout in loveship
- [DataTableRow]: fix 'area-expended' value
- [DataTable]: fix no results block layout
- [useForm]: update initialForm value in case when new prop.value received, after successful save and revert action
- [MainMenuBurger]: set overflow: hidden on body when burger opens to prevent scroll
- [PickerItem]: fix paddings for text
- [DataPicker]: fix outdated picker value after invalid date was typed in input
- [ArrayDataSource]: fix selectAll checkbox behavior in case when all row checkboxes disabled
- [Alert]: fix paddings
- [Paginator]: fix focus hold after page change
v4.6.3
4.6.3 - 27.04.2022
What's New
- [uui-db]:
- dbRef.save() now returns a Promise. It also passes thru errors returned from savePatch() method. This opens ways for a custom error handling, or to execute certain actions after saving changes.
- auto-save scheduling is refactored. How it can batch sync commits, and throttles calls more accurately. We don't expect breaking changes, however you might want to double-check this.
- records deletion support. To enable deletion, set 'deleteFlag' prop in Table metadata. E.g. deleteFlag: 'isDeleted'. Deleted records will be removed from tables when committing changes setting this flag. The flag will be passed as is to dbRef.savePatch, it's up to application to decide how to handle it while saving changes to server.
- [VirtualList]: added
scrollToIndex
property forDataTableState
. Use it for manual scrolling to some index in the list. For example for scrolling to top of the DataTable on filter or page change. - [Timeline]: more customization options: renderOnTop callback, most render-methods made protected to allow overrides
What’s Fixed
- [LazyListView]: fix indent for flat lists
- [MainMenu]: fix MainMenu responsive
v4.6.2
4.6.2 - 20.04.2022
What's New
- [PickerInput]: add prop onClose to renderFooter callback
- [PickerModal]: add success & abort props to renderFooter callback
- [RTE]: added scrollbars prop to RTE to support internal and external scrollbars
- [MainMenu]: update styles in loveship
- [ApiContext] allow to customize /auth/login and /auth/ping endpoint addresses
- [ModalBlocker]: add possibility to disable focus locking inside modal
What’s Fixed
- [MainMenuIcon]: wrap into forwardRef
- [Anchor]: wrap with forwardRef
- [Tables]: set minimal flex-grow: 1 for scrolling section, to stretch it in case when all columns grow is not set or has '0' value
- [ErrorHandler]: change errors image source from http to https
- [Timeline] fixed issues when user zooms in/out in browser
- [DataTable]: fix column width in case when in columnsConfig there are columns only minWidth
- [PickerInput]: fix focus in readonly mode
- [ErrorHandler]: fixed am issue, which causes page re-render on errors
- [ErrorHandler]: fix error codes handling in loveship
- [RTE]: fix the position of the placeholder to match the position of the inner text
- [DataPickerRow]: do not call onFocus callback when it's not passed
- [PickerModal]: fixed issue when search is not working if 'Show only selected' applied
- [Button]: fixed text color for "fill:light" props in Promo skin
- [LazyDataSource]: fix indent for nested children
v4.6.1
4.6.1 - 22.03.2022
What’s Fixed
- [MainMenu]: fix 'More' dropdown crashing in loveship
- [PickerInput]: fix autofocus on search in loveship
- [PickerInput]: fix crashing by clicking on'Show only selected' toggle
- [Table]: fix row width for columns with minWidth value
v4.6.0
4.6.0 - 14.03.2022
What's New
@epam/uui
package was moved to the@epam/uui-core
. We re-export@epam/uui-core
form@epam/uui
, so no need to replace imports in your code.- Remove deprecated react
findDomNode
usage:- Breaking changes:
- [Dropdown]: need to pass
ref
fromrenderTarget
callback params to the target node - [DndActor]: need to pass
ref
fromrender
callback params to the rendered root node - [Tooltip]: children should accept
ref
prop
- [Dropdown]: need to pass
- Breaking changes:
- Stronger types for
rawProps
prop for all components. Now it's accept onlyReact.HTMLAttributes<T>
anddata-${string}
attributes. - [PickerInput], [TextInput]: Added prefix and suffix props
- [SlateEditor]: added ScrollBars to Editor
- [NumericInput]: added 'cell' mode
What’s Fixed
- [PickerToggler]: Remove redundant toggler focusing on tag clear
- [PickerToggler]: If not enought chars clear picker input on blur
- [PickerInput]: don't close picker in case when you remove search value
- [PickerInput]: don't load list on PickerInput mount
- [NumericInput]: Fixed handling float numbers
- [Form]: release Lock on form unmount
- [LazyDataSource]: rework cascade selection logic
v4.5.4
4.5.4 - 10.02.2022
What’s Fixed
- [DataTable]: bug fixes
- [NumericInput] doesn't allow entering letters in safari
- [Portal]: fix portal crashing when it's try to remove portal child from root and root doesn't already exist in DOM
- [FileUpload]: update labels
- [Tree]: Re-create dataSource based on new props
- [Text]: add typography class to have possibility use Anchor inside Text with skin styles
- [FileCard]: fix progress behavior, remove extension from name
- [Form]: fix isChanged reset to false on form revert
v4.5.3
4.5.3 - 20.01.2022
What’s Fixed
- [DataTable]: bug fixes
- [DataPickerFooter]: remove switch duplication in loveship
- [Badge]: removed redundant prop font for Badge
v4.5.2
4.5.2 - 18.01.2022
What's New
- [Form]: Add isBeforeLeave param to onSuccess callback
- [MainMenuSearch]: add IEditableDebouncer
- [PickerInput]: add hideShowOnlySelected props for DataPickerFooter component
- [ModalFooter]: add cx prop
What’s Fixed
- [DataTable]: bug fixes
- [PickerModal]: renderFooter props type fix
- [DnD]: fix drag ending on not draggable element
v4.5.1
4.5.1 - 12.01.2021
What's New
- [LazyDataSource]: add logic for check/uncheck parents if all/no siblings checked in cascadeSelection mode
- [NotificationCard]: Added rawProps
What’s Fixed
- [DataTable]: Fix styles for loveship skin, fix columns layout
- [PickerInput]: fix picker body closing on mobile after opening keyboard
- [PickerInput]: Fix placeholder ending for single selection mode
- [ContextProvider]: revert history in ContextProvider
- [PickerToggler]: don't crash when onClick props is not passed