Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: udpate uikit 7 #266

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

chore: udpate uikit 7 #266

wants to merge 2 commits into from

Conversation

NasgulNexus
Copy link
Contributor

Changes with the transition to UIKit 7:

New appearance of Oneof, RadioButtonGroup has been changed to SegmentedRadioGroup
https://preview.gravity-ui.com/uikit/2030/?path=/docs/components-inputs-segmentedradiogroup--docs

New appearance for checkbox in the disabled state

PasswordInput is now part of UIKit

HelpPopover has been moved to UIKit and is now called HelpMark

Since we no longer use the @gravity-ui/components library, it has been removed

New Popover and its interaction: it now requires a React.ReactElement as a child; otherwise, it won't open. Additional changes:

  1. You now need to explicitly specify hasArrow
  2. className now applies to the popover modal window
  3. contentClassName is no longer available

For TextContent, you now need to explicitly set icon to undefined because within the Alert component, there is a type check for the icon prop

CSS variable changes:

Renaming:

--df-tooltip-container-max-width to --df-popover-item-max-width
--df-tooltip-container-margin-bottom to --df-popover-item-margin-bottom

A new variable has been added: --df-checkbox-margint-start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant