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

feat:(v1-components) Adding UIAvatar story (WIP) #21

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gaaegiazaryan
Copy link
Collaborator

No description provided.

@gaaegiazaryan gaaegiazaryan requested a review from cmath10 January 13, 2025 08:33
@gaaegiazaryan gaaegiazaryan self-assigned this Jan 13, 2025
@import (reference) './variables.less';
@import (reference) './mixins.less';

.omnica-avatar {
Copy link
Collaborator

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))
Copy link
Collaborator

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'
Copy link
Collaborator

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'];
Copy link
Collaborator

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) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Нужно будет взять отсюда:

Также нужно .rectangle перенести в geometry.less

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.

2 participants