Skip to content

Latest commit

 

History

History
1725 lines (918 loc) · 107 KB

CHANGELOG.md

File metadata and controls

1725 lines (918 loc) · 107 KB

Changelog

5.18.0 (2023-10-19)

Features

Bug Fixes

  • Sheet: fix Sheet intermediate hanging when touch ends above it (#1052) (38e6308)

5.17.0 (2023-10-05)

Features

  • List: extend emptyPlaceholder type to ReactNode (#1013) (56437e6)
  • synced codeowners with sharepoint table (#1034) (5bdfa75)
  • withTableSorting: add control the use of data sorting (#1032) (53248c9)

Bug Fixes

  • start refactor hooks: useOutsideClick (#1035) (6ad4a78)
  • use correct font-size through component styles (#1036) (44d7160)

5.16.0 (2023-09-29)

Features

  • Table: add options for WithTableSettings HOC (#1029) (b338bf9)

5.15.0 (2023-09-22)

Features

Bug Fixes

  • DocsDecorator: add new css prefix support (#1027) (6ff4c1c)

5.14.0 (2023-09-20)

Features

  • Select: add onClear argument to renderControl method (#1022) (d3af988)

5.13.0 (2023-09-19)

Features

5.12.2 (2023-09-15)

Bug Fixes

  • Select: fix filtering in case of using grouped options (#1011) (096d404)

5.12.1 (2023-09-13)

Bug Fixes

5.12.0 (2023-09-13)

Features

Bug Fixes

  • 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)

Features

  • 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)

Features

  • 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)

Bug Fixes

  • 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)

Bug Fixes

5.9.0 (2023-08-24)

Features

Bug Fixes

5.8.0 (2023-08-24)

Features

Bug Fixes

  • ClearButton: increase selector specificity (#945) (edee285)
  • Table: fix copying the array from getRowClassNames (#923) (3f123b7)

5.7.0 (2023-08-22)

Features

  • Table: add wordWrap option to prevent text cut (#919) (52d6efb)

Bug Fixes

  • Table: calculate column styles on mount (#926) (e51a73b)

5.6.0 (2023-08-22)

Features

5.5.1 (2023-08-18)

Bug Fixes

  • 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)

Features

Bug Fixes

5.4.1 (2023-08-11)

Bug Fixes

  • 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)

Features

5.3.0 (2023-08-10)

Features

  • use useId from React 18 to generate uniq ids (#883) (2b83656)

Bug Fixes

5.2.0 (2023-08-10)

Features

Bug Fixes

  • 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)

Features

Bug Fixes

  • Table: remove redundant height with enabled sorting (#826) (c5c09b6)

5.0.2 (2023-07-18)

Bug Fixes

  • Card: prevent keyboard handler form abort (#825) (273d316)

5.0.1 (2023-07-17)

Bug Fixes

5.0.0 (2023-07-14)

⚠ BREAKING CHANGES

  • 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 to size (#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)

Features

Bug Fixes

refactor

4.24.0 (2023-07-14)

Features

  • ArrowToggle: use icon from gravity-ui/icons (#811) (7113923)

Bug Fixes

  • 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)

Features

4.22.1 (2023-07-03)

Bug Fixes

  • Label: use proper Button size (#776) (81395ad)
  • Select: fix vertical align for SelectControl (#790) (0abdc4a)

4.22.0 (2023-06-30)

Features

  • SelectFilter: pass styles to renderFilter and remove wrapper (#786) (29a6d3b)

4.21.4 (2023-06-29)

Bug Fixes

  • Select: fix selectControl height & bg hover style (#784) (f2fa9e9)

4.21.3 (2023-06-29)

Bug Fixes

  • Select: fix qa & selectControl bg hover style (#781) (f12a08e)

4.21.2 (2023-06-29)

Bug Fixes

  • Select: fix selectControl block style (#777) (fb146de)

4.21.1 (2023-06-28)

Bug Fixes

  • Select: fix SelectControl hover and border-radius styles (#772) (9d6ef59)

4.21.0 (2023-06-26)

Features

4.20.0 (2023-06-23)

Features

  • Menu: change extra pseudo classes in markup to padding's (#703) (24cfc5b)

Bug Fixes

  • 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)

Features

  • ClipboardButton: added tooltip to clipboard button (#667) (0508268)

Bug Fixes

  • revert "fix: change span to div in popover" (#750) (e0ff9f5)

4.18.0 (2023-06-21)

Features

Bug Fixes

4.17.0 (2023-06-15)

Features

  • Select: design improvements (control & options) (#727) (6526c86)

4.16.0 (2023-06-09)

Features

4.15.1 (2023-06-05)

Bug Fixes

4.15.0 (2023-06-01)

Features

Bug Fixes

4.14.0 (2023-05-22)

Features

  • LayerManager: add a way to subscribe to stack changes (#652) (84f6b46)

Bug Fixes

  • Select: fixed behaviour of isOptionMatchedByFilter (#673) (823fb09)

4.13.0 (2023-05-18)

Features

4.12.0 (2023-05-17)

Features

4.11.1 (2023-05-12)

Bug Fixes

  • Select: align items by baseline for label and values (#661) (b25734f)

4.11.0 (2023-05-11)

Features

Bug Fixes

  • Tooltip: increase selector specificity (#660) (1f53d8d)

4.10.0 (2023-04-26)

Features

  • Popover: let action and cancel buttons to wrap on long text (#631) (f22f9b5)

4.9.0 (2023-04-20)

Features

Bug Fixes

4.8.1 (2023-04-17)

Bug Fixes

  • FocusTrap: deactivate focusTrap before clear root node (#627) (7a5abf1)
  • usePopper: return flip modifier (#625) (03239bf)

4.8.0 (2023-04-14)

Features

Bug Fixes

  • Label: Increase priority over button styles (#622) (e67ce4d)

4.7.0 (2023-04-11)

Features

Bug Fixes

  • ControlLabel: allow control text to be stretched (#619) (5193fc4)

4.6.1 (2023-04-07)

Bug Fixes

  • Icon: use href attribute in <use> element (#580) (aaaa900)
  • Table: add export for TableSortIndicator (#612) (5072097)

4.6.0 (2023-04-06)

Features

  • 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)

Bug Fixes

  • table component resize observer loop error (#610) (4962e47)

4.5.0 (2023-04-04)

Features

4.4.3 (2023-04-03)

Bug Fixes

  • 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)

Bug Fixes

  • Select: fix scroll when virtualization disabled (#593) (e78e7ad)

4.4.1 (2023-03-29)

Bug Fixes

  • 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)

Features

  • 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)

Bug Fixes

  • SheetContent: fix setting height for content (#572) (e749230)

4.3.0 (2023-03-16)

Features

  • Select: add support selected value in renderControl (#566) (f987fb3)
  • unstable layout components set (#551) (dc2ffad)

Bug Fixes

  • 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)

Features

Bug Fixes

  • Toaster: fix animation when toast is updated (#441) (9e25c8b)

4.1.0 (2023-03-01)

Features

  • 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)

Bug Fixes

  • 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)

Bug Fixes

4.0.6 (2023-02-08)

Bug Fixes

  • 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)

Bug Fixes

4.0.4 (2023-01-31)

Bug Fixes

  • Select: filter options when filter text is empty (#517) (9fd57d5)

4.0.3 (2023-01-31)

Bug Fixes

  • old exports should work with the new ones (#515) (fe7790c)

4.0.2 (2023-01-30)

Bug Fixes

4.0.1 (2023-01-26)

Bug Fixes

  • TextInput: do not auto generate id for input if not needed (#505) (26b24df)

4.0.0 (2023-01-26)

⚠ BREAKING CHANGES

  • 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 to autoHiding (#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)

Features

  • 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 to autoHiding (#248) (ed0585a)

Bug Fixes

  • 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)

refactor

3.20.0 (2023-01-25)

Features

  • eventBroker: eventBroker acts in the bubbling phase (#489) (ef2c901)

3.19.2 (2023-01-23)

Bug Fixes

  • Portal: add condition for default container for Portal (#497) (da21d63)

3.19.1 (2023-01-22)

Bug Fixes

3.19.0 (2023-01-20)

Features

  • RadioGroup: improve radio-group components a11y (#196) (70f36ea)
  • TextInput: ability to show innerLabel in InputControl (#426) (8a5e3c5)

Bug Fixes

3.18.2 (2023-01-19)

Bug Fixes

3.18.1 (2023-01-16)

Bug Fixes

  • Popup: return shadow on root element (#479) (5a4098d)

3.18.0 (2023-01-13)

Features

  • 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)

Features

3.16.0 (2023-01-11)

Features

  • Select: add popupClassName property (#468) (f0184a8)
  • Table: pass click event to action handler (#461) (620c0e1)
  • use react-transition in Modal and Popup (#453) (9edec4a)

Bug Fixes

3.15.0 (2023-01-10)

Features

  • Select: add defaultOpen prop (#459) (775f857)
  • Text: add text break common properties (#438) (c879e0a)
  • Text: replace titleAttribute with native title (#437) (cf9d42e)

Bug Fixes

  • List: remove focus from list on Tab key (#444) (78a8a60)

3.14.1 (2022-12-30)

Bug Fixes

3.14.0 (2022-12-22)

Features

3.13.1 (2022-12-20)

Bug Fixes

  • DropdownMenu.Item: allow usage w/out text (#406) (54def67)

3.13.0 (2022-12-20)

Features

  • Select: add virtualizationThreshold property (#431) (6bd9751)

3.12.0 (2022-12-19)

Features

Bug Fixes

3.11.0 (2022-12-14)

Features

Bug Fixes

3.10.2 (2022-12-13)

Bug Fixes

3.10.1 (2022-12-12)

Bug Fixes

  • ShareTooltip: fix link for email share option (#415) (4a5eed0)

3.10.0 (2022-12-12)

Features

Bug Fixes

  • 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)

Bug Fixes

3.9.1 (2022-12-06)

Bug Fixes

  • DropdownMenu.Item: allow children (#402) (253e291)
  • Menu.Item: remove onClick from disabled items (#404) (1394457)

3.9.0 (2022-12-06)

Features

  • ShareTooltip: add Email as one of default sharing options and r… (#399) (48bfbcb)

3.8.0 (2022-12-05)

Features

  • DropdownMenu: allow &lt;DropdownMenu.Item/&gt; w/out action (#392) (a606920)
  • DropdownMenu: extract &lt;DropdownMenu.Item/&gt; (#397) (1307f87)
  • ShareTooltip: add LinkedIn as one of default SM sharing option (#383) (5aacc1a)

Bug Fixes

  • DropdownMenu: close opened menu on disable (#393) (14ba916)
  • DropdownMenu: trigger callback on each state change (#394) (a70b248)

3.7.0 (2022-12-01)

Features

3.6.0 (2022-11-18)

Features

  • CopyToClipboard: add options (#378) (80c5329)
  • Label: support action button in all themes (#381) (7bdcce9)
  • List: remove pointer-events from disabled items (#382) (c6367cf)

Bug Fixes

  • Label: change hover style for label with copy, fix label with single icon (#351) (786e706)

3.5.0 (2022-11-09)

Features

  • Select: move selection logic to useSelect (#370) (dcf97a4)
  • Table: add possibility to range select with shift key pressed (#374) (d76407f)

Bug Fixes

  • Button: correctly show focused state for raised button (#377) (dbcfa97)

3.4.0 (2022-11-01)

Features

  • Popover: updated anchorRef prop, added strategy prop to Popover (#372) (22021c9)

3.3.0 (2022-10-20)

Features

  • share tooltip component copy button customization (#350) (3d608b2)

3.2.0 (2022-10-19)

Features

3.1.3 (2022-10-18)

Bug Fixes

  • Select: prevent page scrolling after first click (#364) (3320a7e)
  • use directly import from lodash (#359) (490cf20)

3.1.2 (2022-10-14)

Bug Fixes

  • update hc colors for labels, buttons and brand-text (#356) (8d6d596)

3.1.1 (2022-10-13)

Bug Fixes

  • 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)

Features

  • Tooltip: add ability to disable display of the tooltip (#348) (5d32afe)

Bug Fixes

3.0.2 (2022-09-26)

Bug Fixes

  • 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)

Bug Fixes

3.0.0 (2022-09-08)

⚠ BREAKING CHANGES

  • 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

Setting language in uikit

v2

import {I18N} from '@yandex-cloud/i18n';

I18N.setDefaultLang('en');

v3

import {configure} from '@gravity-ui/uikit';

configure({lang: 'en'});

Features

2.15.0 (2022-09-07)

Features

  • Button: added content and view to eventBroker meta (#319) (19a3463)

Bug Fixes

  • relax RealTheme type for compatibility (#329) (a716448)

2.14.0 (2022-09-01)

Features

2.13.4 (2022-08-22)

Bug Fixes

  • ChangelogModal: fix sizes and margins (#310) (d6e0cae)

2.13.3 (2022-08-18)

Bug Fixes

  • Select: calculate tick size from content (#313) (f40144e)

2.13.2 (2022-08-11)

Bug Fixes

  • TextInput: increase css specificity to rewrite Button styles (#301) (def1da0)

2.13.1 (2022-08-10)

Bug Fixes

  • StoreBadge: content image for StoreBadge with url (#299) (194fa66)

2.13.0 (2022-08-08)

Features

  • Label: add closeButtonLabel prop (#292) (5b6499d)
  • Modal: add contentClassName prop to the Modal component (#289) (79caad6)

2.12.0 (2022-08-02)

Features

  • add ShareTooltip and StoreBadge components (#275) (8c38211)

2.11.0 (2022-08-01)

Features

Bug Fixes

  • 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)

Bug Fixes

  • Button: add contrast for selected state in dark theme (#262) (cbb86ac)

2.10.2 (2022-07-28)

Bug Fixes

  • Breadcrumbs: revert data pass to <Breadcrumbs.Item/> (#276) (5b4bc4b)

2.10.1 (2022-07-27)

Bug Fixes

  • Breadcrumbs: i18n must be used inside component (#271) (ec479a2)
  • Breadcrumbs: render custom divider before more button (#272) (353d13e)

2.10.0 (2022-07-21)

Features

  • Link: add color scheme for a visited link (#243) (857e434)

2.9.0 (2022-07-20)

Features

  • 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)

Bug Fixes

2.8.0 (2022-06-24)

Features

  • popover applies actual visibility on autoclosable true (#206) (151273b)
  • Table: add ability to set className of all cells in a column (#205) (b5e6608)

Bug Fixes

  • 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)

Features

  • 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)

Bug Fixes

  • 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)

Features

  • Popover: use "Delayed" as default behaviour (#193) (f9ade6f)

2.5.0 (2022-06-07)

Features

  • I18N: add configure function for manage internal variables like language (#186) (bc3ee55)

Bug Fixes

2.4.2 (2022-05-30)

Bug Fixes

2.4.1 (2022-05-27)

Bug Fixes

  • List: rerender list after changing activeItemIndex prop (#173) (23f9945)

2.4.0 (2022-05-25)

Features

2.3.1 (2022-05-19)

Bug Fixes

  • replace font-weight usages with mixin (#167) (b38318f)

2.3.0 (2022-05-18)

Features

2.2.2 (2022-05-17)

Bug Fixes

  • Toaster: increase css specificity of close button mixin (#163) (17b4637)

2.2.1 (2022-05-16)

Bug Fixes

2.2.0 (2022-05-16)

Features

  • tests: replace enzyme with react testing library (#157) (403b303)

Bug Fixes

2.1.1 (2022-04-29)

Bug Fixes

2.1.0 (2022-04-27)

Features

Bug Fixes

2.0.0 (2022-04-08)

Typography

BREAKING

  • 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: 16px18px

New

  • 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

Styles

BREAKING

  • 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

New

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

Components

BREAKING

  • DropdownMenu: default switcher size changed from s to m
  • Button: clear view was removed, consider using flat-secondary instead
  • Tooltip: component was renamed to Popover
  • HelpTooltip: component was renamed to HelpPopover

New

  • New Tooltip component
  • Tabs: icon, counter and label can be set on TabsItem

Other

  • Removed react-router-dom dependency

1.10.0 (2022-03-25)

Features

1.9.0 (2022-03-22)

Features

Bug Fixes

1.8.1 (2022-03-18)

Bug Fixes

1.8.0 (2022-03-10)

Features

Bug Fixes

1.7.0 (2022-02-04)

Features

1.6.0 (2022-01-27)

Features

Bug Fixes

  • List: clear timeout for delayed setState (#67) (217e72f)

1.5.0 (2022-01-25)

Features

Bug Fixes

  • 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)

Bug Fixes

  • allow not to set a fixed height for non-virtualized lists (#54) (df17e41)

1.4.1 (2022-01-20)

Bug Fixes

1.4.0 (2022-01-18)

Features

Bug Fixes

  • ClipboardButton: correctly handle click event (b170ac0), closes #45
  • ClipboardButton: should work properly (#47) (5c00db3)
  • correctly show textarea resize control (#33) (bed5a23)

Performance Improvements

1.3.0 (2021-12-24)

Features

1.2.1 (2021-12-23)

Bug Fixes

  • reexport common types (e1af8ed)
  • reexport event-broker hooks (b76fe70)

1.2.0 (2021-12-23)

Features

Bug Fixes

1.1.4 (2021-12-22)

Bug Fixes

  • compile js files via tsc aswell (efa9914)

1.1.3 (2021-12-16)

Bug Fixes

  • correctly copy js files to build (54a63ba)
  • reexport ThemeValueContext (b972b95)

1.1.2 (2021-12-16)

Bug Fixes

  • reexport List and Table from index (6e5379f)

1.1.1 (2021-12-16)

Bug Fixes

  • reexport RadioGroup from index (f45339a)

1.1.0 (2021-12-16)

Features