6.18.0 (2024-06-14)
- Breadcrumbs: new component (#1497) (5cdc675)
- Select: support form (#1644) (1ad73b6)
- support RSC (#1582) (770d787)
- Table: add filter to colum settings (#1627) (6eca546)
- Button: remove useless pointer-events style for icon content (#1641) (47b9850)
- PinInput: add use client (#1646) (d0bdede)
6.17.0 (2024-06-11)
- Button: normal-contrast loading view (#1630) (bfa2dbf)
- Slider: export function for preparing initial value (#1637) (434949e)
- Text: return missing props to TextProps type (#1631) (6a70f17)
- theme: bring back root classname helper and fix docs (#1633) (ba08c66)
- Toc: unify item line height (#1635) (4612a77)
- useList: add qa property to container (#1625) (05c1fc2)
6.16.0 (2024-05-24)
- Button: do not shrink button when there is only one icon (#1577) (98fd95f)
- Flex,ListItemView: return ref drilling by React.forwardRef (#1612) (9b8f4f8)
- Link: change href property type description (#1574) (#1593) (0aec983)
- Text: fix custom html tag inheritance (#1584) (fcd2ff3)
- Tooltip: use more reasonable animation delay (#1586) (fe14706)
6.15.0 (2024-05-08)
- Select: fix focus state on control click in Safari (#1132) (80730cc)
- Sheet: resize sheet if image in content is loaded (#1566) (8b56abd)
6.14.1 (2024-05-02)
- TextInput: fix
handleAdditionalContentClick
handler (#1558) (911624f) - utils: correctly check type of element (#1560) (c854f4f)
6.14.0 (2024-04-27)
- Portal: take in consideration parent theme (#1506) (8c7ca2d)
- Sheet: add aria attributes (#1555) (b71ea01)
- Table: close table actions popup after click (#1546) (0ab21bb)
- withTableSettings: add a reset action (#1526) (9e93c91)
- Alert: fix close button width (#1542) (f916681)
- layout: update layout docs (#1550) (575477a)
- Select: add onLoadMore to useCallback deps in SelectList (#1041) (c34590e)
- Select: fix examples in docs and storybook (#1553) (3a46421)
- Select: show invalid state without passing error message (#1554) (882c9a9)
- TreeList: added missed initial state for elements (#1524) (5d3b154)
- useList: remove debug dev only information (#1552) (02bf33c)
6.13.0 (2024-04-22)
- Card: reset box shadow styles for the root (#1537) (39b7fe8)
- ListItemView: fix bg color (#1488) (2ae45ef)
- ListItemView: removed max identation (#1535) (d7d45db)
- ThemeProvider: changed theme to config prop name (#1528) (62431ca)
6.12.0 (2024-04-18)
6.11.0 (2024-04-17)
- add load more functionallity to virtualized list (#1490) (#1513) (8de1653)
- Breadcrumbs: unset more item alignment (#1505) (7d9797a)
- Dialog: correct width's vars order (#1510) (f54da2d)
- Label: isolate inner z-indexes (#1519) (200c052)
- layout: ability to override breakpoint during theme (#1512) (bad4fa9)
- ListItemView: fix indentation in depth more than 10 (#1517) (2cde017)
- ListItemView: some changes after feedback (#1516) (b274498)
- prevent deselection of required table column items (#1508) (a69050c)
- return
--g-color-private-white-20-solid
css variable (#1511) (4a366be) - theme: add option for controlling :root color-scheme (#1468) (f6237e1)
6.10.2 (2024-04-10)
6.10.1 (2024-04-10)
6.10.0 (2024-04-09)
- Select: add selected elements counter on multiple selection (#1368) (9f6aa9c)
- Text: add variant inherit (#1492) (7157c70)
- userLabel text depends on vars (#1493) (d826ca7)
- Dialog: fix header paddings without close button (#1495) (820dd60)
- Label: correctly work with keyboard (#1485) (1e5380f)
- Label: do not inherit parent's font weight (#1496) (8a8c2e5)
- List: fix
Home
&End
keys handle (#1491) (77156ff) - List: fix
SimpleContainer
dimensions handle (#1479) (68243be) - Popover: remove flex gap workaround (#1489) (ad997e5)
- withTableSettings: isSelected -> selected, isRequired -> required (#1478) (cf1dfb0)
- withTableSettings: renderClone for dnd (#1463) (76409f4)
6.9.0 (2024-04-03)
- DropdownMenu: add class name for submenu parents (#1465) (a314081)
- useList: update codeowners (#1473) (d8b71e9)
- Breadcrumbs: fix recalculate method (#1475) (2f8acf7)
- List: fix
onSortEnd
method (#1476) (1567248) - TextInput: fix control line height (#1477) (e5438ed)
- TreeList: add getId prop drilling to list container (#1469) (484cac7)
- TreeList: fixes + documentation (#1447) (46b2850)
- useList: add export of computeItemSize to useList (#1472) (c6c8ed4)
- useList: added dragging property to ListItemView docs (#1470) (750e5ba)
- useList: added missing imports to docs (#1466) (4940a9a)
6.8.0 (2024-03-29)
- Divider: add export of Divider to Components/index (#1461) (bdab522)
- TextInput: turn off event onBlur on input when use clear button (#1458) (3274c04)
6.7.0 (2024-03-28)
6.6.0 (2024-03-26)
- Breadcrumbs: fix gravity-ui doc generation (#1446) (ce4bca5)
- DropdownMenu: fix hiding group subitems (#1444) (4cf7d39)
- TreeList: refactor item styles (#1439) (fdbb052)
6.5.0 (2024-03-21)
- Breadcrumbs: export
LinkBreadcrumbsItem
&ButtonBreadcrumbsItem
types (#1435) (e5fde1b) - Pagination: add qa attributes (#1438) (785079a)
- Breadcrumbs: renamed
LinkBreadcrumbsItem
andButtonBreadcrumbsItem
types (#1437) (db09f93) - UserLabel: replace text to children in README (#1432) (b8c79e1)
6.4.0 (2024-03-20)
- TreeList: new useList family component (#1417) (5e7d8b9)
- User: added qa attribute for name and description nodes (#1429) (ef6143a)
- Palette: fixed README.md for the landing (#1431) (c15f2e3)
- withTableSettings: deprecate the renderControls prop (#1427) (27be674)
6.3.0 (2024-03-18)
- add Palette component (#1304) (e731838)
- Alert: added ability to pass null as icon prop value (#1407) (180edd0)
- Breadcrumbs: add
renderItem
property (#1413) (d1c800f) - Text: added
break-word
towordBreak
property (#1424) (607c3ea)
- adding new classes in rootClassName before removing (#1411) (e29cde1)
- DropdownMenu: fix opening from keyboard (#1404) (9251714)
- prevent event bubbling for table item action (#1399) (d2e9d41)
- ThemeProvider: always set CSS class when scoped (#1423) (c787b5b)
- Toc: set aria-current attribute to selected item (#1426) (682444a)
6.2.0 (2024-03-05)
6.1.1 (2024-02-26)
- breadcrumbs: fix adaptive more view and define ResizeObserver in ssr apps (#1364) (dc6e514)
- controls: allow disable input via controlProps (#1371) (3228dca)
- CopyToClipboard: return CopyToClipboardProps type (#1367) (43599c2)
6.1.0 (2024-02-21)
- Disclosure: possibility to use DefaultDisclosureSummary inside … (#1359) (f8b52b9)
- Select: add useSelectOptions hook (#1356) (456ffaa)
- Slider: introduce Slider component (#1243) (a1bf754)
- Table: add renderRowActions property (#1353) (e074b1a)
- withTableSettings: add the renderControls prop (#1357) (b3f0d78)
- List: fix virtualized list items rerender (#1314) (8c45f7c)
- Select: do not call onFilterChange on mount (#1321) (0bb7c66)
- TextInput: unequal text alignment in textinput (#1306) (c9cdbd0)
- TreeSelect: fix render container method (#1344) (1ab9d59)
- TreeSelect: fixed dnd examples with selected values (#1329) (14d6ceb)
- TreeSelect: remove default popup width (#1350) (84044f0)
6.0.0 (2024-02-06)
- rename onClose to onCloseClick (#1295)
- Persona: refactored and renamed to UserLabel (#1292)
- Link: the "href" property is required (#1270)
- Breadcrumbs: use gap property for gaps between breadcrumbs items instead of paddings (#1185)
- rename .yc class prefix (#1260)
- Table: update cell paddings (#1271)
- remove setters from mobile hooks (#1262)
- remove remaining
--yc-*
variables (#1256) - Table: update SortIndicator view (#1220)
- delete deprecated hooks (#1213)
- update avatar and user components (#1221)
- Table: remove uppercase heading style (#1222)
- merge old Tooltip with ActionTooltip and introduce new Tooltip (#1189)
- Toaster: use theme prop instead of type (#1198)
- add CSS API instead of
--yc-*
variables (#1127) - Button: use logical properties (#1119)
- support RTL direction (#1111)
- Link: Remove normal-visitable view (#905)
- rename theme prop
positive
->success
(#1093) - add css imports to cjs files (#1101)
- remove old theme variables fallback (#1092)
- remove focus visible fallback (#1086)
- Button: add CSS API (#1066)
- Breadcrumbs: use gap property for gaps between breadcrumbs items instead of paddings (#1185) (a31d7a1)
- Link: Remove normal-visitable view (#905) (82f8afa)
- remove remaining
--yc-*
variables (#1256) (69efabe) - rename .yc class prefix (#1260) (c879bba)
- add CSS API instead of
--yc-*
variables (#1127) (1250ba2) - add css imports to cjs files (#1101) (f10d616)
- add new layout component
Box
(#1121) (cedc20b) - add useControlledState hook (#1276) (9493062)
- added css api for TextInput TextArea and Select components (#1269) (75c3fd5)
- added CSS custom properties for RTL (#1227) (150204d)
- Alert: support RTL (#1167) (a5bf8eb)
- Box: fix some unnecessary typings (#1252) (2229f37)
- Button: add CSS API (#1066) (7f70693)
- Button: use logical properties (#1119) (b6d4200)
- delete deprecated hooks (#1213) (2c16005)
- Dialog: add prop contentOverflow to control overflow behaviour (#1251) (2b223d5)
- Disclosure: use logical properties (#1140) (345ce4d)
- Link: the "href" property is required (#1270) (347c64d)
- List: support RTL (#1145) (dd554bb)
- merge old Tooltip with ActionTooltip and introduce new Tooltip (#1189) (c2719ae)
- Persona: refactored and renamed to UserLabel (#1292) (ef6762a)
- Progress: support customization (#1193) (0c67d85)
- Progress: support rtl (#1141) (caaf06b)
- remove focus visible fallback (#1086) (193d856)
- remove old theme variables fallback (#1092) (ecdd1aa)
- remove setters from mobile hooks (#1262) (07c9f4f)
- rename onClose to onCloseClick (#1295) (00531ad)
- rename theme prop
positive
->success
(#1093) (bf6f77d) - Sheet: support RTL (#1138) (815f5a8)
- Skeleton: support RTL (#1136) (bdf4d5b)
- support RTL direction (#1111) (a28abcf)
- support RTL in components (#1125) (47f7b84)
- Switch: support RTL (#1120) (3cdca3d)
- Table: remove uppercase heading style (#1222) (92fe12f)
- Table: support rtl (#1152) (52b2794)
- Table: update cell paddings (#1271) (4f3be2d)
- Table: update SortIndicator view (#1220) (6749bb8)
- Table: use uikit icons (#1151) (a08f03c)
- TextInput: support rtl (#1207) (343b94c)
- Text: rtl support (#1143) (a82ad0a)
- Text: support multiline and fixed width ellipsis (#1122) (bc63378)
- Toaster: use theme prop instead of type (#1198) (cdabe24)
- TreeSelect: added TreeSelect unstable component and new list hooks (#1090) (07a2009)
- update avatar and user components (#1221) (fbf41d3)
- updated TextInput "type" property to allow using only well-know… (#1158) (5a44a5f)
- Button: fix disabled raised view style (#1226) (fb62985)
- DropdownMenu: fix rtl behaviour (3f3a805)
- fix controls css api (#1289) (9882c53)
- fix unit tests (99e454f)
- fix visual tests (4baeef9)
- Popover: fix rtl placement (62405d5)
- rebase fixes (b272b72)
- rebase issues (4f9d2ec)
- rebase issues (39b4694)
- rework new ListItemView text crop behaviour (#1301) (5f123e9)
- ThemeProvider: inner provider should overwrite specified props and only them (#1235) (aaf9b0f)
- Toaster: use logical css values in stories (#1142) (6dcbdae)
- TreeSelect component after useMobile refactoring (#1265) (9c23dae)
- TreeSelect: removed select indentation from group items (#1303) (e0471d6)
- use ActionTooltip in components (1042ac3)
5.30.1 (2024-02-06)
- Dropdown: opening sub menus in dropdown menu with using keyboard (#1298) (1aed302)
- MenuItem: fix non interactive MenuItem style (#1307) (b1a386d)
- TextInput: add overflow hidden to text-input__content wrapper (#1293) (d52a7bd)
5.30.0 (2024-01-31)
- Select: added errorMessage, errorPlacement and validationType props (#1291) (8f2f07b)
- Table: added link as Table action element (#1290) (de63cef)
- Label: missing text overflow (#1206) (60357cd)
- List: calling onLoadMore function while using keyboard (#1284) (1760166)
- Pagination: stories controls (#1281) (a6fac44)
- Table: sticky column (#1283) (7366c9b)
- Table: withTableSorting can get sort value using column's ID written as path (#640) (d5bb68b)
5.29.0 (2024-01-19)
5.28.0 (2024-01-16)
- Alert: changed default Alert actions background (#1240) (9693147)
- Text: add
id
prop (#1246) (252229e)
5.27.0 (2024-01-10)
- Disclosure: component size should not be used for its content (#1234) (c721640)
- Pagination: fix total page calculation (#1237) (8f1af66)
- Select: activate first clickable item (#1228) (13b921e)
- Select: add 100% width to default labels (#1239) (5bd5edd)
- ThemeProvider: fix rootClassName update (#1231) (4f0f099)
5.26.0 (2023-12-26)
- calculate body class names seperately (#1197) (3dcf03d)
- Popup: add
aria-label
&aria-labelledby
attributes (#1202) (f68183a)
- Pagination: fix wrong behaviour in case of 0 total (#1208) (cda2349)
- Select: fix wrong view "clear" styles (#1224) (4f4e13e)
- Table: columns change throws (#1219) (20756bc)
5.25.0 (2023-12-12)
5.24.0 (2023-12-08)
5.23.0 (2023-12-06)
- Progress: make contrast (#1129) (e1ce48f)
- RadioButton: allow an extended value other than a string (#1177) (77eb5a0)
- a11y: make a short text for the clear button (#1172) (d767727)
- add qa property for some components (#1173) (0f2a491)
- export TableColumnSetupItem type from index (#1169) (21e21a3)
- Select: proper filter updates when closing the popup (#1180) (7d12e86)
- Select: update keyboard interaction to correspond with specification (#1176) (504b05c)
- Table: fixed checkbox max width (#1174) (ed68043)
5.22.0 (2023-11-28)
5.21.1 (2023-11-27)
5.21.0 (2023-11-24)
- change react-sortable-hoc with react-beautiful-dnd (#1159) (1f7ab68)
- lazy loading for userAvatar (#1124) (e76fd7c)
5.20.0 (2023-11-14)
- add id converter for getXpath (#1117) (75fb80c)
- introduce new utility semantic colors (#1094) (7c3938c)
- Tooltip: add
disablePortal
prop (#1115) (496916e) - useAsyncActionHandler: add useAsyncActionHandler hook (#1095) (66a25b3)
- DropdownMenu: fix inner usages of switcher prop (#1116) (2a3eccc)
- improve a11y on some components (#1045) (c6c6138)
- Label: fix utility theme declaration (#1106) (ed8230d)
- Tabs: tab outline focus is stripped (#1071) (c47f641)
- Toast: fix overflows (#1079) (2205fde)
5.19.1 (2023-11-07)
- Icon: correct prepareStringData (#1096) (8e4817e)
- return EventBroker constructor in export (#1098) (f22bc27)
5.19.0 (2023-11-03)
- improving a11y (#1070) (146ff4f)
- Menu: add support for item icon on the end of the item (#965) (55885d0)
- Popover: prevent closing by click in case of using openOnHover property (#1085) (2c17a06)
- Popover: pass classname to html content (#1073) (c0a725a)
- Select: fix SelectRenderControlProps.onClick type (#1075) (9dbfc3a)
5.18.1 (2023-10-24)
5.18.0 (2023-10-19)
5.17.0 (2023-10-05)
- List: extend
emptyPlaceholder
type toReactNode
(#1013) (56437e6) - synced codeowners with sharepoint table (#1034) (5bdfa75)
- withTableSorting: add control the use of data sorting (#1032) (53248c9)
- start refactor hooks: useOutsideClick (#1035) (6ad4a78)
- use correct font-size through component styles (#1036) (44d7160)
5.16.0 (2023-09-29)
5.15.0 (2023-09-22)
5.14.0 (2023-09-20)
5.13.0 (2023-09-19)
- add hook useOnClickOutside (#1006) (6e83459)
- LayerManager: add type to layer (#1018) (3fb7de9)
- Toc: add component (#858) (bafed78)
5.12.2 (2023-09-15)
5.12.1 (2023-09-13)
5.12.0 (2023-09-13)
- Menu: make menu item content width limited by a container (#1001) (f3943c9)
- Select: fix control border radius in case of using
xl
size (#998) (8084778) - Tabs: show focused state if focus-visible only (#1000) (88b89f7)
- ThemeProvider: fix scoped CSS classes (#1003) (9fe15e3)
5.11.0 (2023-09-07)
- Alert, Card: deprecate
positive
theme (#986) (e4758d4) - Breadcrumbs: add
title
prop to item (#863) (0146f5f) - Popover: add popper modifiers to popover props (#993) (fdce64a)
- TextArea, TextInput: use aria-describedby for error and note (#904) (d51039b)
5.10.0 (2023-09-05)
- add CSS variables to control focus outline (#973) (d926ef8)
- Card: update README (#976) (60bf6cc)
- Flex: add alignContent, justifyItems and justifySelf css props (#974) (0be31c9)
- Menu: improve MenuItem a11y (#959) (338f907)
- Popover: accept function as a children (#900) (ca5bcc7)
- Table: update README (#985) (cc95a33)
- TextInput: add an option to display error via tooltip (#821) (f883f01)
- Toast: update icons according to design (#984) (d10d2c9)
- Disclosure: explicit type export (#983) (eeba89d)
- Pagination: increase priority over input styles (#989) (bbfa6a5)
- Toast: don't render empty actions array (#979) (e19d0b9)
5.9.1 (2023-08-28)
5.9.0 (2023-08-24)
5.8.0 (2023-08-24)
- create useViewportSize hook (#933) (637f88d)
- List: add loading and onLoadMore props (#934) (5eab30f)
- ClearButton: increase selector specificity (#945) (edee285)
- Table: fix copying the array from getRowClassNames (#923) (3f123b7)
5.7.0 (2023-08-22)
5.6.0 (2023-08-22)
- Icon: forward
ref
(#929) (28d023d) - TextArea: add gravity documentation (#920) (56f0796)
- TextInput: add gravity documentation (#912) (641e424)
5.5.1 (2023-08-18)
- Button: fix maxWidth property in case of using button only with icon node (#914) (15dde1a)
- MobileProvider: fix SSR compatibility (#897) (9c6f5a7)
5.5.0 (2023-08-17)
- Link: add visitable prop (#872) (62903e5)
- Select: add onLoadMore prop (#901) (e191c0b)
- TextArea|TextInput: add note prop into TextArea and TextInput (#895) (ad959e4)
- use "Inter" as main font (#893) (13ed356)
5.4.1 (2023-08-11)
- Disclosure: add displayName (#891) (81a71ae)
- focusTrap: do not create focusTrap during render (#888) (2a6bb83)
- Popup: set tabIndex on focusTrap root element (#889) (4941880)
- Tooltip: set default open delay, focus/blur ignores delay (#892) (625f4f4)
5.4.0 (2023-08-10)
5.3.0 (2023-08-10)
5.2.0 (2023-08-10)
- add Disclosure component (#796) (df1eefd)
- export hook useActionHandlers (#836) (1ee8f3c)
- hooks: export
useUniqId
hook (#880) (a329789) - Pagination: add className prop (#803) (b0cc6cd)
- Persona: add style prop (#855) (5d455e6)
- Persona: extend text property (#876) (84f31df)
- Popover: add props to improve accessibility (#868) (8d2bf81)
- Select.SelectPopup: add width modes (#854) (d4ccfcf)
- Select: add renderOptionGroup, getOptionGroupHeight props (#828) (7f93637)
- Select: loading indicator (#761) (aa1a963)
- Select: selected values appearance (#848) (17e11f6)
- add menu-item-content-children class name (#839) (4519ea5)
- Disclosure: readme (#852) (6065c56)
- Label: actions icon size fix (#851) (1bce6e4)
- Menu: set properly QA attributes names (#844) (b3a9f1e)
- Select: disable option selection (#870) (09c2e7d)
- Select: do not show cursor:pointer on control when Select is disabled (#874) (5d7c8b4)
- Select: popup width fit mode with identation (#873) (61a4c9a)
- TextArea: fix incorrect type (#867) (831bf5f)
- useRestoreFocus: correctly set current restore element (#865) (35bc0d5)
5.1.0 (2023-07-20)
5.0.2 (2023-07-18)
5.0.1 (2023-07-17)
5.0.0 (2023-07-14)
- new brand color (#815)
- update colors (#794)
- remove moved components (#795)
- TextInput: separate into 2 components TextInput & TextArea (#764)
- customization refactor (#773)
- remove popup wrapper class, use content classes for popover… (#711)
- update
xs
border radius (#775) - rename CSS vars (#767)
- themization update (#758)
- refactor theme context data flow (#745)
- Button: add selected state for all views (#755)
- Button: update paddings (#636)
- Progress: rename
view
prop tosize
(#747) - remove
resize-observer-polyfill
(#744) - Label: remove
style
prop (#733) - removed migrated components (#743)
- Toaster: remove deprecated
isOverride
prop (#734) - use icons from Gravity (#735)
- SharePopover: remove deprecated
handleMetrika
prop (#739)
- add hook useFocusWithin (#804) (0ec0195)
- basic branding docs (#789) (9535094)
- Button: add selected state for all views (#755) (8658b39)
- Button: added new views (#805) (1ffc818)
- Button: update paddings (#636) (eb36999)
- customization refactor (#773) (3c1a33e)
- Label: remove
style
prop (#733) (bc906e4) - new brand color (#815) (42e75ef)
- Progress: rename
view
prop tosize
(#747) (f2a567e) - remove
resize-observer-polyfill
(#744) (f73e221) - removed migrated components (#743) (75fea15)
- rename CSS vars (#767) (ff74eaa)
- SharePopover: remove deprecated
handleMetrika
prop (#739) (08fe894) - TextInput: separate into 2 components TextInput & TextArea (#764) (e9aff63)
- Toaster: remove deprecated
isOverride
prop (#734) (be97e59) - Tooltip: show/hide tooltip on focus/blur (#797) (7f67a36)
- update
xs
border radius (#775) (70dece4) - update colors (#794) (6c67fef)
- use icons from Gravity (#735) (6c5d098)
- brand colors (c4f91a1)
- Button: remove min-width (8a0a58a)
- change display from inline to inline-block (#756) (49418ab)
- change span to div in Trigger, the problem with semantic error (#754) (8309193)
- rebase issues (9e08632)
- TextArea: fix minRows property behaviour on initial render (#814) (fe3e5d0)
- TextInput: do not shrink clear button size (#810) (82808d8)
- variables (#808) (042a982)
- various fixes (#793) (f80682e)
- wrong deprecated color (a68ffb2)
- refactor theme context data flow (#745) (4a12982)
- remove moved components (#795) (20ed66d)
- remove popup wrapper class, use content classes for popover… (#711) (e5346f9)
- themization update (#758) (265af0c)
4.24.0 (2023-07-14)
- Hotkey: setting a key property of a span in Hotkey's content (#813) (d7aa609)
- LayerManager: ignore clicks on Toast (#792) (ba7d7b0)
- useListNavigation: remove navigation with right and left arrows (#817) (0aab910)
4.23.0 (2023-07-07)
- Button: use
aria-pressed
attribute for selected (#799) (36490a9) - Card: added accessibility via keyboard (#771) (24113e3)
- Toaster: new look (#746) (5a9054e)
4.22.1 (2023-07-03)
- Label: use proper Button size (#776) (81395ad)
- Select: fix vertical align for SelectControl (#790) (0abdc4a)
4.22.0 (2023-06-30)
4.21.4 (2023-06-29)
4.21.3 (2023-06-29)
4.21.2 (2023-06-29)
4.21.1 (2023-06-28)
4.21.0 (2023-06-26)
4.20.0 (2023-06-23)
- Popover: no left-side overflow due to negative margins (#736) (c113920)
- Select: add [type="button"] to control node (#762) (adc01f0)
4.19.0 (2023-06-21)
4.18.0 (2023-06-21)
- Button: use
--yc-color-text-special
var for all themes (#732) (712e91b) - change span to div in popover (#748) (01d9d5b)
- Label: fix rounded style (#728) (8a57148)
- Persona: avatar background (#741) (785c412)
4.17.0 (2023-06-15)
4.16.0 (2023-06-09)
- add new component Pagination (#655) (5b1ed4e)
- Label: added value prop for "key:value" labels (#665) (5c979aa)
- Persona: deprecate
theme
in favour ofhasBorder
(#720) (14eef03) - UserAvatar: forward
ref
(#723) (e84f7c0)
4.15.1 (2023-06-05)
4.15.0 (2023-06-01)
4.14.0 (2023-05-22)
4.13.0 (2023-05-18)
4.12.0 (2023-05-17)
4.11.1 (2023-05-12)
4.11.0 (2023-05-11)
4.10.0 (2023-04-26)
4.9.0 (2023-04-20)
- Select: remove pointer cursor for disabled option (#638) (d1dd601)
- Text: add reference (#628) (922b390)
4.8.1 (2023-04-17)
- FocusTrap: deactivate focusTrap before clear root node (#627) (7a5abf1)
- usePopper: return flip modifier (#625) (03239bf)
4.8.0 (2023-04-14)
- add useFileInput hook (#624) (eb47759)
- added xpath utils (#614) (20c72ac)
- Layout: changed letter designation of the spacings to a digital (#615) (2aae0d2)
4.7.0 (2023-04-11)
- Select: add itemHeight to renderOption (#618) (4f46baa)
- Stories: support single page story (#591) (e5ceb5a)
4.6.1 (2023-04-07)
- Icon: use href attribute in <use> element (#580) (aaaa900)
- Table: add export for TableSortIndicator (#612) (5072097)
4.6.0 (2023-04-06)
- Card: add size Card and add new sfx style (#550) (d1dbea6)
- export LayoutDirection (#586) (c1b3375)
- FocusTrap: automatically add popup content to parent focus-trap (#594) (7de4a6f)
- SharePopover: add an onClick prop, deprecate a handleMetrika prop (#606) (f5c5c16)
4.5.0 (2023-04-04)
4.4.3 (2023-04-03)
- layout/Flex: fix gap size values and remove default theme spacin… (#592) (42aea11)
- Select: fix empty group label render (#601) (548c81c)
4.4.2 (2023-03-29)
4.4.1 (2023-03-29)
- layout/Flex: remove wrappers around null children elements (#588) (6c6c62f)
- layout: fixed flex gap properties and replaced api with complex … (#583) (8686fbb)
4.4.0 (2023-03-27)
- added wrappers to Flex children components if spacing enabled (#573) (0a44309)
- List: add autoFocus (#570) (3b96d37)
- Select: add generic type for select option data (#569) (21819cb)
- Select: add support mobile view (#579) (0c0df4a)
4.3.0 (2023-03-16)
- Select: add support selected value in renderControl (#566) (f987fb3)
- unstable layout components set (#551) (dc2ffad)
- DropdownMenu: remove required path from DropdownMenuItemProps, fix navigation (#567) (e7470c3)
- only known names are now exported from the package (#565) (203653d)
- storybook: remove RE_RENDER event from theme addon (#562) (305aa38)
4.2.0 (2023-03-07)
- Progress: add loading state (#540) (a76aee0)
- Select: add "open", "toggleOpen" props (#558) (43d130f)
- Table: add row actions size control prop (#557) (a045e12)
- Toaster: add "has" method (#439) (ea2b2d8)
- Toaster: add ability to customize icon (#440) (1fefa17)
4.1.0 (2023-03-01)
- Select: add error property (#548) (061a8df)
- Select: add opportunity to apply maxHeight style to popup via popupClassName property (#537) (16786e0)
- Table: add onMouseDown action for Table tr (#534) (4f287b3)
- Table: add table action icon (#510) (a265b34)
- typography: do not use SF Mono (#541) (6f4f0d6)
- base-generic-ultralight color in dark-hc theme (#545) (6e23eac)
- Button: change border for outlined view (#546) (f47bdfb)
- fix exports object (#555) (68dd2bd)
- LayerManager: check click outside event on the same layer where the mousedown event happened (#549) (63637b2)
- TextInput: no unexpected autocomplete when label prop present (#509) (0a81ce2)
4.0.7 (2023-02-10)
4.0.6 (2023-02-08)
- add explicitly used deps to package.json (#530) (72c134d)
- Label: the Label with the close button style fix (#524) (b7963be)
4.0.5 (2023-02-01)
4.0.4 (2023-01-31)
4.0.3 (2023-01-31)
4.0.2 (2023-01-30)
4.0.1 (2023-01-26)
4.0.0 (2023-01-26)
- text semantic colors update (#484)
- remove deprecated props (#486)
- ShareTooltip: rename to SharePopover (#488)
- Popover: make
forceLinksAppearance
false by default (#472) - Icon: remove
onClick
handler (#473) - Toaster: rename
timeout
toautoHiding
(#248) - ShareTooltip: socialNets props renamed to shareOptions (#411)
- HelpPopup: remove default ofset (#304)
- TextInput: remove incorrect resize attribute styles (#266)
- Toaster: remove singleton instantiation (#225)
- Label: new xs size and click action for more custom label (#380)
- DropdownMenu: custom popup props, controlled popup visibility, submenus, keyboard navigation (#409)
- add focus trap (#482) (e091ee0)
- DropdownMenu: custom popup props, controlled popup visibility, submenus, keyboard navigation (#409) (a6db9f8)
- HelpPopup: remove default ofset (#304) (c150cb2)
- Icon: remove
onClick
handler (#473) (50faf8f) - Label: new xs size and click action for more custom label (#380) (c9f7c36)
- Popover: make
forceLinksAppearance
false by default (#472) (65f44ec) - ShareTooltip: socialNets props renamed to shareOptions (#411) (c3b1aeb)
- support React 18 (#469) (e54108d)
- text semantic colors update (#484) (dbbf04a)
- Toaster: remove singleton instantiation (#225) (60933f8)
- Toaster: rename
timeout
toautoHiding
(#248) (ed0585a)
- TextInput: remove incorrect resize attribute styles (#266) (85ef55a)
- Toaster: pre 18 react fix (#494) (0f0877a)
- Toaster: swap namings in singletons (440ed7e)
- Tooltip: hide Popup border (252f2f3)
3.20.0 (2023-01-25)
3.19.2 (2023-01-23)
3.19.1 (2023-01-22)
3.19.0 (2023-01-20)
- RadioGroup: improve radio-group components a11y (#196) (70f36ea)
- TextInput: ability to show innerLabel in InputControl (#426) (8a5e3c5)
3.18.2 (2023-01-19)
3.18.1 (2023-01-16)
3.18.0 (2023-01-13)
- add Hotkey and ActionTooltip components (#398) (76cf9dd)
- Select: add prop renderSelectedOption (#474) (6449e31)
- ThemeProvider: add props scoped and rootClassName (#478) (763af7b)
3.17.0 (2023-01-12)
- RadioGroup: add optionClassName prop (#462) (1104078)
- Tabs: add
className
to<TabItem/>
(#471) (66817c8) - Tabs: new features (#450) (6bcdfbf)
3.16.0 (2023-01-11)
- Select: add popupClassName property (#468) (f0184a8)
- Table: pass click event to action handler (#461) (620c0e1)
- use react-transition in Modal and Popup (#453) (9edec4a)
3.15.0 (2023-01-10)
- Select: add defaultOpen prop (#459) (775f857)
- Text: add text break common properties (#438) (c879e0a)
- Text: replace titleAttribute with native title (#437) (cf9d42e)
3.14.1 (2022-12-30)
3.14.0 (2022-12-22)
3.13.1 (2022-12-20)
3.13.0 (2022-12-20)
3.12.0 (2022-12-19)
3.11.0 (2022-12-14)
- ArrowToggle: normal flip behavior #115 (#419) (081292f)
- use native scrollbar on mobile devices (#395) (83c5851)
3.10.2 (2022-12-13)
3.10.1 (2022-12-12)
3.10.0 (2022-12-12)
- ShareTooltip: popup default options container width (#410) (7cf7435)
- Tooltip: fix transition glitch on nearby tooltips (#408) (7f7f752)
- Tooltip: tooltip sometimes gets stuck on an element (#413) (2fdab3f)
- withTableSelection: range select must ignore disabled lines (#414) (5b50237)
3.9.2 (2022-12-07)
3.9.1 (2022-12-06)
- DropdownMenu.Item: allow
children
(#402) (253e291) - Menu.Item: remove
onClick
from disabled items (#404) (1394457)
3.9.0 (2022-12-06)
3.8.0 (2022-12-05)
- DropdownMenu: allow
<DropdownMenu.Item/>
w/outaction
(#392) (a606920) - DropdownMenu: extract
<DropdownMenu.Item/>
(#397) (1307f87) - ShareTooltip: add LinkedIn as one of default SM sharing option (#383) (5aacc1a)
- DropdownMenu: close opened menu on disable (#393) (14ba916)
- DropdownMenu: trigger callback on each state change (#394) (a70b248)
3.7.0 (2022-12-01)
3.6.0 (2022-11-18)
- CopyToClipboard: add options (#378) (80c5329)
- Label: support action button in all themes (#381) (7bdcce9)
- List: remove pointer-events from disabled items (#382) (c6367cf)
3.5.0 (2022-11-09)
- Select: move selection logic to useSelect (#370) (dcf97a4)
- Table: add possibility to range select with shift key pressed (#374) (d76407f)
3.4.0 (2022-11-01)
3.3.0 (2022-10-20)
3.2.0 (2022-10-19)
3.1.3 (2022-10-18)
- Select: prevent page scrolling after first click (#364) (3320a7e)
- use directly import from lodash (#359) (490cf20)
3.1.2 (2022-10-14)
3.1.1 (2022-10-13)
- Add missing --yc-color-base-modal for light-hc (#352) (db14312)
- update hc colors for generic-accent-disabled (#355) (2760749)
3.1.0 (2022-10-03)
3.0.2 (2022-09-26)
- loose i18n typings (#345) (5612aee)
- RadioButton: fix option icon styles (#339) (ea9e31f)
- use background-size as percent value for loading button for safari (#342) (c0ec61b)
3.0.1 (2022-09-09)
3.0.0 (2022-09-08)
- transfer package from yandex-cloud (#331)
- updated i18n, and remove it from peer deps
- Popover: refactored to functional component, use
PopoverInstanceProps
type as ref type for public methods
v2
import {I18N} from '@yandex-cloud/i18n';
I18N.setDefaultLang('en');
v3
import {configure} from '@gravity-ui/uikit';
configure({lang: 'en'});
2.15.0 (2022-09-07)
2.14.0 (2022-09-01)
2.13.4 (2022-08-22)
2.13.3 (2022-08-18)
2.13.2 (2022-08-11)
2.13.1 (2022-08-10)
2.13.0 (2022-08-08)
- Label: add
closeButtonLabel
prop (#292) (5b6499d) - Modal: add contentClassName prop to the Modal component (#289) (79caad6)
2.12.0 (2022-08-02)
2.11.0 (2022-08-01)
- add ChangelogDialog component (#267) (4c51c2d)
- Popover: add prop to disable link styles (#280) (9ebb795)
- Button: do not reduce clickable area on click (#247) (8214da4)
- Text: fixed warning-heavy textColor variant (#264) (fb7efdc)
- withTableSettings: updateSettings can be a not async function (#256) (918a87b)
2.10.3 (2022-07-28)
2.10.2 (2022-07-28)
2.10.1 (2022-07-27)
- Breadcrumbs: i18n must be used inside component (#271) (ec479a2)
- Breadcrumbs: render custom divider before more button (#272) (353d13e)
2.10.0 (2022-07-21)
2.9.0 (2022-07-20)
- Icon: deprecate
onClick
(#240) (6936469) - Select: add
type=button
for<SelectControl/>
(#227) (47e0aeb) - Toaster: move logic to React context (#211) (346cb95)
- Toaster: replace
<Link/>
in actions with<Button/>
(#254) (f603711)
- correct target detection for shadow-dom (#213) (9a285be)
- Popover: add overflow-wrap (#226) (3bb01de)
- Toast: padding animation (#234) (8f9a750)
- Toast: remove on close (#218) (fad37d8)
- Toast: return
height
transition (#235) (8887881)
2.8.0 (2022-06-24)
- popover applies actual visibility on autoclosable true (#206) (151273b)
- Table: add ability to set className of all cells in a column (#205) (b5e6608)
- Tabs: center tab content for horizontal tabs (#210) (af73379)
- textinput: set paddings for clear cross depending on size (#208) (0428ca2)
- ThemeProvider theme updating (#202) (4b0962d)
2.7.0 (2022-06-20)
- allow use layers for Dialog/Modal/Popup with different root (#120) (b2782e6)
- Modal: color updates (#195) (be004a6)
- Text: a new component for working with typography (#141) (7837ee8)
- List: fix getContainer for sortable container (#190) (efb9257)
- Popover: should be no empty space above links block if no other content provided (#191) (8432fc1)
- Tabs: fix styles for vertical tabs (#177) (27b809f)
- Tabs: return missing spacing when
wrapTo
used (#198) (48ef89d)
2.6.0 (2022-06-15)
2.5.0 (2022-06-07)
2.4.2 (2022-05-30)
2.4.1 (2022-05-27)
2.4.0 (2022-05-25)
2.3.1 (2022-05-19)
2.3.0 (2022-05-18)
2.2.2 (2022-05-17)
2.2.1 (2022-05-16)
2.2.0 (2022-05-16)
2.1.1 (2022-04-29)
2.1.0 (2022-04-27)
- add Stories component (#127) (74e45ba)
- List: add eventBroker for List (#132) (40e64b1)
- Select: improvements (#136) (46affd3)
- Stories: add props "disableOutsideClick" (#151) (358d0d9)
- Toaster: refresh design (#144) (b5996ef)
- Tooltip: add delay before opening/closing (#140) (b3da68c)
- translated DropdownMenu stories (#138) (5b1d083)
- checked components types (#129) (ba65eb4)
- Dialog: fix README (#139) (99c584a)
- Stories: add video looping (#149) (be7cb8c)
- Stories: fix right pane style (#147) (ad23e37)
- Stories: fixed styles according to the design (#143) (0cb5691)
2.0.0 (2022-04-08)
- CSS var renamed:
--yc-font-family
→--yc-text-body-font-family
- CSS var renamed:
--yc-text-body-font-size
→--yc-text-body-1-font-size
- CSS var renamed:
--yc-text-body-line-height
→--yc-text-body-1-line-height
- CSS var renamed:
--yc-text-body2-font-size
→--yc-text-body-2-font-size
- CSS var renamed:
--yc-text-body2-line-height
→--yc-text-body-2-line-height
- CSS var renamed:
--yc-text-body3-font-size
→--yc-text-body-3-font-size
- CSS var renamed:
--yc-text-body3-line-height
→--yc-text-body-3-line-height
- CSS var removed:
--yc-text-lead-font-size
(possible replacement ---yc-text-subheader-3-font-size
) - CSS var removed:
--yc-text-lead-line-height
(possible replacement ---yc-text-subheader-3-line-height
) - CSS var renamed:
--yc-text-header-font-size
→--yc-text-header-1-font-size
- CSS var renamed:
--yc-text-header-line-height
→--yc-text-header-1-line-height
- CSS var renamed:
--yc-text-title-font-size
→--yc-text-header-2-font-size
- CSS var renamed:
--yc-text-title-line-height
→--yc-text-header-2-line-height
- CSS var renamed:
--yc-text-display1-font-size
→--yc-text-display-1-font-size
- CSS var renamed:
--yc-text-display1-line-height
→--yc-text-display-1-line-height
- CSS var renamed:
--yc-text-display2-font-size
→--yc-text-display-2-font-size
- CSS var renamed:
--yc-text-display2-line-height
→--yc-text-display-2-line-height
- CSS var renamed:
--yc-text-display3-font-size
→--yc-text-display-3-font-size
- CSS var renamed:
--yc-text-display3-line-height
→--yc-text-display-3-line-height
- CSS var renamed:
--yc-text-code-1-inline-font-size
→--yc-text-code-inline-1-font-size
- CSS var renamed:
--yc-text-code-1-inline-line-height
→--yc-text-code-inline-1-line-height
- CSS var renamed:
--yc-text-code-2-inline-font-size
→--yc-text-code-inline-2-font-size
- CSS var renamed:
--yc-text-code-2-inline-line-height
→--yc-text-code-inline-2-line-height
- CSS var renamed:
--yc-text-code-3-inline-font-size
→--yc-text-code-inline-3-font-size
- CSS var renamed:
--yc-text-code-3-inline-line-height
→--yc-text-code-inline-3-line-height
- CSS var removed:
--yc-text-code-font-size
(possible replacement ---yc-text-code-1-font-size
) - CSS var removed:
--yc-text-code-line-height
(possible replacement ---yc-text-code-1-line-height
) - Body line-height:
16px
→18px
- CSS var added:
--yc-text-body-short-font-size
- CSS var added:
--yc-text-body-short-line-height
- CSS var added:
--yc-text-header-font-weight
- CSS var added:
--yc-text-subheader-font-weight
- CSS var added:
--yc-text-display-font-weight
- CSS var added:
--yc-text-display-4-font-size
- CSS var added:
--yc-text-display-4-line-height
- CSS var added:
--yc-text-subheader-1-font-size
- CSS var added:
--yc-text-subheader-1-line-height
- CSS var added:
--yc-text-subheader-2-font-size
- CSS var added:
--yc-text-subheader-2-line-height
- CSS var added:
--yc-text-subheader-3-font-size
- CSS var added:
--yc-text-subheader-3-line-height
- CSS var added:
--yc-text-caption-1-font-size
- CSS var added:
--yc-text-caption-1-line-height
- CSS var added:
--yc-text-caption-2-font-size
- CSS var added:
--yc-text-caption-2-line-height
- Mixins added:
text-body-1
,text-body-2
,text-body-3
,text-body-short
,text-caption-1
,text-caption-2
,text-header-1
,text-header-2
,text-subheader-1
,text-subheader-2
,text-subheader-3
,text-display-1
,text-display-2
,text-display-3
,text-display-4
,text-code-1
,text-code-2
,text-code-3
,text-code-inline-1
,text-code-inline-2
,text-code-inline-3
- CSS var removed:
--yc-color-loader-active
- CSS var removed:
--yc-color-loader-inactive
- CSS var removed:
--yc-color-base-selection-solid
, use--yc-color-base-selection
- CSS var removed:
--yc-color-base-selection-hover-solid
, use--yc-color-base-selection-hover
- CSS var renamed:
--yc-tooltip-max-width
→--yc-popover-max-width
- CSS var removed:
--yc-tabs-space-between
, use different sizes of Tabs - CSS var removed:
--yc-tab-item-horizontal-border-width
, use different sizes of Tabs - CSS var removed:
--yc-tab-item-horizontal-height
, use different sizes of Tabs
Some CSS variables are now available for overwrite. Every -yc-my-*
variable can be set to redefine base theme. Here full list of such variables:
--yc-my-scrollbar-width
--yc-my-border-radius-s
--yc-my-border-radius-m
--yc-my-border-radius-l
--yc-my-border-radius-xl
--yc-my-color-brand-normal
--yc-my-color-brand-normal-hover
--yc-my-color-brand-light
--yc-my-color-brand-selection
--yc-my-color-brand-selection-hover
--yc-my-color-brand-link
--yc-my-color-brand-link-hover
--yc-my-color-brand-text-contrast
- DropdownMenu: default switcher size changed from
s
tom
- Button:
clear
view was removed, consider usingflat-secondary
instead - Tooltip: component was renamed to
Popover
- HelpTooltip: component was renamed to
HelpPopover
- New
Tooltip
component - Tabs: icon, counter and label can be set on TabsItem
- Removed
react-router-dom
dependency
1.10.0 (2022-03-25)
1.9.0 (2022-03-22)
1.8.1 (2022-03-18)
- freeze deps (eca3184)
1.8.0 (2022-03-10)
- add eventBroker for Menu (#90) (8fbedce)
- ClipboardButton: improve a11y (#86) (907cadc)
- Tabs: improve a11y (#94) (da9f256)
1.7.0 (2022-02-04)
1.6.0 (2022-01-27)
- border-radius tokens (#65) (d73c8ee)
- migrate Progress component (#42) (d0afc5e)
- migrate Tooltip and HelpTooltip components (#60) (c3128c8)
1.5.0 (2022-01-25)
- migrate ArrowToggle component (#61) (558bb2c)
- migrate Dialog component (#43) (894cab3)
- migrate Toaster component (#46) (5ec2569)
- List: remove type cast for getItemHeight (#59) (a352b21)
- remove Yandex proprietary fonts (#52) (5017d43)
- Table: actions button click triggers row action (#62) (00ba47d)
1.4.2 (2022-01-21)
1.4.1 (2022-01-20)
1.4.0 (2022-01-18)
- ClipboardButton: correctly handle click event (b170ac0), closes #45
- ClipboardButton: should work properly (#47) (5c00db3)
- correctly show textarea resize control (#33) (bed5a23)
1.3.0 (2021-12-24)
- migrate Table changes (9fc7627)
1.2.1 (2021-12-23)
1.2.0 (2021-12-23)
- export useLayer hook (#23) (10e3380)
- remove unnecessary pointer-events of Label (#27) (3e18385)
- root scss variable (#22) (dfb9131)
1.1.4 (2021-12-22)
- compile js files via tsc aswell (efa9914)
1.1.3 (2021-12-16)
1.1.2 (2021-12-16)
- reexport List and Table from index (6e5379f)
1.1.1 (2021-12-16)
- reexport RadioGroup from index (f45339a)