-
Update to
@gravity-ui/uilit@5
-
Remove peer dependency on
@doc-tools/transform
@doc-tools/transform
js and css bundles should be attached directly to final projects -
DISLIKE_VARIANTS
not exported from package. Usei18n['feedback-variants']
instead. -
Prop
lang
war removed from component. Now you should useconfigure
helper -
Enum
Vcs
renamed toVcsType
import {configure} from '@doc-tools/components'; configure({ lang: 'ru', });
-
Removed
assets
export. All icons are private now. Use icons from gravity-ui instead.
bookmarkedPage
prop was changed toisBookmarked
. (Same asisLiked
,isDislaked
in Feedback component)onChangeBookmarkPage
renamed toonBookmark
- Removed
lang
prop
- Replace
setRef
prop withref
(using forwardRef now)
- Removed
lang
prop - Removed
isVerticalView
,controlSize
,popupPosition
prop. Configure it withControlsLayout
wrapper component<ControlsLayout isVerticalView={isVerticalView} controlSize={controlSize}> <Controls /> </ControlsLayout>
- Prop
showEditControl
replaced byhideEditControl
- Removed
size
,isVerticalView
props - Value for
size
,isVerticalView
now stored inControlsLayoutContext
- Removed
lang
prop - Removed
size
,isVerticalView
,className
,popupPosition
props - Value for
size
,isVerticalView
,popupPosition
now stored inControlsLayoutContext
- Value for
className
now stored inControlsLayoutContext.controlClassName
prop - Icon replaced with equal from
@gravity-ui/uikit
- Prop
onChangeLang
is required now - Removed
size
,isVerticalView
,className
,popupPosition
props - Value for
size
,isVerticalView
,popupPosition
now stored inControlsLayoutContext
- Value for
className
now stored inControlsLayoutContext.controlClassName
prop - Icon replaced with equal from
@gravity-ui/uikit
- Prop
pdfLink
is required now - Removed
lang
prop - Removed
size
,isVerticalView
,className
,popupPosition
props - Value for
size
,isVerticalView
,popupPosition
now stored inControlsLayoutContext
- Value for
className
now stored inControlsLayoutContext.controlClassName
prop
- Removed
lang
prop - Removed
size
,isVerticalView
,className
,popupPosition
props - Value for
size
,isVerticalView
,popupPosition
now stored inControlsLayoutContext
- Value for
className
now stored inControlsLayoutContext.controlClassName
prop
- Prop
onChange
is required now - Removed
lang
prop - Removed
size
,isVerticalView
,className
,popupPosition
props - Value for
size
,isVerticalView
,popupPosition
now stored inControlsLayoutContext
- Value for
className
now stored inControlsLayoutContext.controlClassName
prop - Icons replaced with equal from
@gravity-ui/uikit
- Removed
lang
prop
- Removed
lang
prop
- Ownership on bookmarks was removed. Bookmarks should be passed as children.
- Removed
bookmarkedPage
,onChangeBookmarkPage
props.
- Was removed in favor of EditControl
- Removed
lang
prop
- Removed
lang
prop - Removed
singlePage
prop - Removed
size
,isVerticalView
,className
,popupPosition
props - Removed
dislikeVariants
prop. Variants should be configured viaconfigure
utilconfigure({ loc: { en: { 'feedback-variants': { variant1: 'test1', }, }, ru: { 'feedback-variants': { variant1: 'текс1', }, }, }, });
- Value for
size
,isVerticalView
,popupPosition
now stored inControlsLayoutContext
- Value for
className
now stored inControlsLayoutContext.controlClassName
prop - Icons replaced with equal from
@gravity-ui/uikit
- Removed
lang
prop - MiniToc returns
null
on empty headings. (Previously it render useless title)
- Removed
lang
prop - Icons replaced with equal from
@gravity-ui/uikit
- Removed
lang
prop
- Removed
lang
prop
- Prop
onSubscribe
is required now - Removed
lang
prop - Removed
size
,isVerticalView
,className
,popupPosition
props - Value for
size
,isVerticalView
,popupPosition
now stored inControlsLayoutContext
- Value for
className
now stored inControlsLayoutContext.controlClassName
prop
- Removed
lang
prop
- Removed
lang
prop