-
Notifications
You must be signed in to change notification settings - Fork 342
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
[#1923] New buttons design implementation #1945
[#1923] New buttons design implementation #1945
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Conflicts: # packages/ui/src/components/va-button/VaButton.vue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I get this point correctly:
- Integrate presets functionality after Feat #1806: Presets for all components
We will just have predefined list of Presets
for the VaButton
.
If you want you could just send me these presets object I'll add it in my current PR.
# Conflicts: # packages/ui/src/components/va-button-dropdown/VaButtonDropdown.vue # packages/ui/src/components/va-button-group/VaButtonGroup.vue # packages/ui/src/components/va-button-toggle/VaButtonToggle.vue # packages/ui/src/components/va-button/VaButton.vue
…new-buttons-implementation # Conflicts: # packages/ui/src/components/va-button-dropdown/VaButtonDropdown.vue # packages/ui/src/components/va-button-group/VaButtonGroup.vue # packages/ui/src/components/va-button-toggle/VaButtonToggle.vue # packages/ui/src/components/va-button/VaButton.vue # packages/ui/src/composables/useHover.ts
…new-buttons-implementation
# Conflicts: # packages/docs/src/components/DocsExample.vue # packages/docs/src/components/DocsNavigation.vue # packages/docs/src/components/header/Header.vue # packages/docs/src/locales/ru/ru.json # packages/ui/src/components/va-button/VaButton.vue # packages/ui/src/composables/index.ts
packages/ui/src/components/va-button-dropdown/VaButtonDropdown.vue
Outdated
Show resolved
Hide resolved
We need to split composables into utils like useHover, usePressed, useHTMLElement, useClientOnly etc. and mixins like useHoverable, useFormElement, usePressable, useSelectable, useParsable. Maaaaaaah, I think this must be written somewhere before implementation... Naming is quite important here.. |
…new-buttons-implementation # Conflicts: # packages/docs/src/locales/en/en.json # packages/docs/src/locales/ru/ru.json # packages/docs/src/page-configs/ui-elements/app-bar/examples/Bottom.vue # packages/docs/src/page-configs/ui-elements/app-bar/page-config.ts # packages/docs/src/page-configs/ui-elements/button-dropdown/examples/Colors.vue # packages/ui/src/components/va-button-dropdown/VaButtonDropdown.vue # packages/ui/src/composables/index.ts
Close: #1923
Close: #809
Description
Work in progress.
VaButton
component was fully rewritten according to the new design.VaButton
.large
state after design is ready.Please, take a look to the new implementation and, if possible, compare it with figma.
Types of changes