-
Notifications
You must be signed in to change notification settings - Fork 4
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: add styles for components #24
Conversation
✔️ Deploy Preview ready! |
1 similar comment
✔️ Deploy Preview ready! |
display: flex; | ||
flex-direction: row; | ||
grid-gap: var(--dt-space-300); | ||
align-items: center; |
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.
d-d-flex d-fd-row d-gg4 d-ai-center
.d-pagination__button { | ||
padding-right: var(--dt-space-400); | ||
padding-left: var(--dt-space-400); | ||
} |
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.
d-px8
// ---------------------------------------------------------------------------- | ||
.d-pagination__separator { | ||
align-self: flex-end; | ||
} |
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.
d-as-flex-end
width: var(--dt-size-550); | ||
color: var(--dt-color-foreground-tertiary); | ||
text-align: center; | ||
} |
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.
d-fc-tertiary d-w24 d-ta-center
&__content { | ||
width: 100%; | ||
text-overflow: ellipsis; | ||
} |
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.
d-to-ellipsis, d-w100p
margin-right: var(--dt-space-350); | ||
padding: var(--dt-space-350); | ||
border-color: transparent; | ||
} |
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.
d-p6 d-mr6 d-bc-transparent
font-family: inherit; | ||
line-height: var(--dt-font-line-height-400); | ||
fill: currentColor; | ||
} |
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.
d-description
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.
Ok, there is no changes on radio-checkbox.less
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.
No, since d-description
is not a utility I removed the change.
// @ SKELETON LIST ITEM | ||
// ---------------------------------------------------------------------------- | ||
.d-skeleton-list-item { | ||
display: flex; |
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.
d-d-flex
|
||
&--single { | ||
align-items: center; | ||
} |
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.
d-ai-center
|
||
&__shape { | ||
margin-right: var(--dt-space-400); | ||
} |
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.
d-mr8
&__paragraph-container { | ||
display: flex; | ||
flex-direction: column; | ||
width: 100%; |
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.
d-d-flex d-fd-column d-w100p
// @ SKELETON PARAGRAPH | ||
// ---------------------------------------------------------------------------- | ||
.d-skeleton-paragraph { | ||
width: 100%; |
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.
d-w100p
|
||
&:last-child { | ||
margin-bottom: var(--dt-space-0); | ||
} |
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.
'd-mb12': row !== integerRows
// ---------------------------------------------------------------------------- | ||
.d-skeleton-text { | ||
height: 80%; | ||
border-radius: var(--dt-size-radius-200); |
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.
d-h8, d-bar2
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.
hmmm
height: 80%;
should be height: var(--dt-size-400)
, what Im missing?
border-radius its ok
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.
You are right! Bad copy pasting 🤪
|
||
.d-skeleton-text--heading { | ||
border-radius: var(--dt-size-radius-200); | ||
} |
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.
d-bar2
// $ BASE STYLE | ||
// ---------------------------------------------------------------------------- | ||
.d-tab-panel--hidden { | ||
display: none; |
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.
d-d-none
// ---------------------------------------------------------------------------- | ||
.d-toggle-wrapper { | ||
display: flex; | ||
align-items: center; |
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.
d-d-flex d-ai-center
|
||
&__container { | ||
display: flex; | ||
flex-direction: column; |
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.
d-d-flex d-fd-column
✔️ Dialtone Deploy Preview ready! |
✔️ Dialtone-vue 3 Deploy Preview ready! |
65d5363
to
4f21fe5
Compare
✔️ Dialtone Deploy Preview ready! |
59246a5
to
ef27ab9
Compare
✔️ Dialtone-vue 3 Deploy Preview ready! |
pagination popover skeleton
d178023
to
b8ca862
Compare
✔️ Dialtone Deploy Preview ready! |
✔️ Dialtone-vue 3 Deploy Preview ready! |
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.
Looks good, just one coment about d-h8
on skeleton.less
.
Thanks for doing the comments, thats helps a lot the review process
✔️ Dialtone Deploy Preview ready! |
✔️ Dialtone-vue 3 Deploy Preview ready! |
Part of the effort to remove all utility classes from Dialtone Vue.
Jira: https://dialpad.atlassian.net/browse/DLT-1125
Subtask: https://dialpad.atlassian.net/browse/DLT-1387
Dialtone vue: dialpad/dialtone-vue#1314
Description
Adds styles for the following components in dialtone library:
Pagination
Popover
Radio Checkbox
Skeleton
Validation Message
This would complete all components for the task https://dialpad.atlassian.net/browse/DLT-1125
Pull Request Checklist
staging
as your pull request's base branch. (All PRs usingproduction
as its base branch will be declined).gulp
scripts successfully compile.Obligatory GIF (super important!)