-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat:(v1-components) Adding UIAvatar story (WIP) #21
base: master
Are you sure you want to change the base?
Conversation
@import (reference) './variables.less'; | ||
@import (reference) './mixins.less'; | ||
|
||
.omnica-avatar { |
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.
Вместо omnica-
мы в стилях embed-ui используем ui-v1-
}, | ||
}) | ||
|
||
provide('__OmnicaAvatarList_size', computed(() => props.size)) |
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.
__OmnicaAvatarList_size
=> __EmbedAvatarList_size
, еще надо бы использовать Symbol и InjectionKey из vue
@@ -1,4 +1,5 @@ | |||
export { default as UiButton } from '@/host/components/button/UiButton.vue' | |||
export { default as UiAvatar } from '@/host/components/avatar/UiAvatar.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.
Нужно переставить в алфавитном порядке
} | ||
|
||
export type UiAvatarProperties = { | ||
type?: HTMLButtonElement['type']; |
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.
Это props'ы от UiButton, а где от UiAvatar?
@@ -0,0 +1,9 @@ | |||
.square(@size) { |
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.
Нужно будет взять отсюда:
.square (@size) { |
Также нужно .rectangle
перенести в geometry.less
No description provided.