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

Merged
merged 3 commits into from
Feb 10, 2025
Merged

chore!: udpate uikit 7 #266

merged 3 commits into from
Feb 10, 2025

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

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@gravity-ui-bot
Copy link
Contributor

Playwright Test Component is ready.

@bocembocem bocembocem changed the title chore: udpate uikit 7 chore!: udpate uikit 7 Jan 30, 2025
@NasgulNexus NasgulNexus merged commit e3addab into main Feb 10, 2025
4 checks passed
@NasgulNexus NasgulNexus deleted the uilit-7 branch February 10, 2025 13:52
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.

3 participants