Skip to content

dbeaver/pro#7806 remove MenuBarSmallItem#4224

Merged
devnaumov merged 7 commits intodevelfrom
dbeaver/pro#7806-remove-reakit
Mar 27, 2026
Merged

dbeaver/pro#7806 remove MenuBarSmallItem#4224
devnaumov merged 7 commits intodevelfrom
dbeaver/pro#7806-remove-reakit

Conversation

@devnaumov
Copy link
Copy Markdown
Member

closes 7806

@devnaumov devnaumov requested review from SychevAndrey, Wroud and sergeyteleshev and removed request for Wroud March 20, 2026 09:15
Wroud
Wroud previously approved these changes Mar 23, 2026
*/
@layer components {
.dbv-kit-button {
--dbv-kit-btn-padding-inline: 15px;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what happened to this style?

Copy link
Copy Markdown
Member Author

@devnaumov devnaumov Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Padding applies along with size prop, previously size prop did not work in terms of padding, for example buttons with small size. Every size applies its own padding, seems like we dont need this one

export const Button = componentProviderWrapper('Button', ButtonBase);
export const ButtonIcon = componentProviderWrapper('ButtonIcon', ButtonBaseIcon);

export const UnstyledButton = AriaButton;
Copy link
Copy Markdown
Contributor

@SychevAndrey SychevAndrey Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a fan of this alias. What was the purpose of creating it? Just to hide Aria naming?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We dont expose lib naming to the core repo. UnstyledButton is common name for buttons that are headless
https://mantine.dev/core/unstyled-button/

*/
@layer components {
.dbv-kit-button {
--dbv-kit-btn-padding-inline: 15px;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The padding depends on the button size, otherwise it overrides

export const Button = componentProviderWrapper('Button', ButtonBase);
export const ButtonIcon = componentProviderWrapper('ButtonIcon', ButtonBaseIcon);

export const UnstyledButton = AriaButton;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We dont expose lib naming to the core repo. UnstyledButton is common name for buttons that are headless
https://mantine.dev/core/unstyled-button/

@devnaumov devnaumov requested a review from SychevAndrey March 24, 2026 14:05
sergeyteleshev
sergeyteleshev previously approved these changes Mar 24, 2026
@devnaumov devnaumov dismissed stale reviews from Wroud and sergeyteleshev via 56f6bc3 March 26, 2026 18:48
@devnaumov devnaumov merged commit fab9d1d into devel Mar 27, 2026
9 of 10 checks passed
@devnaumov devnaumov deleted the dbeaver/pro#7806-remove-reakit branch March 27, 2026 13:18
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.

6 participants