-
Notifications
You must be signed in to change notification settings - Fork 26
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
docs(dropdown): implement and document attrs and vars #799
Conversation
Deploy preview for helix-ui ready! Built with commit 07f9bed |
background-color: $gray-0; | ||
color: $gray-900; | ||
} @else { | ||
background-color: var(--hxDropdown-unfocused-backgroundColor, $gray-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.
please change to var(--hxDropdown-unfocused-bgcolor, $gray-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.
Changes have been done, please review.
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.
I'm not seeing the recommended variable name change, please double check.
background-color: $gray-0; | ||
color: $gray-900; | ||
} @else { | ||
background-color: var(--hxDropdown-unfocused-invalid-backgroundColor, $gray-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.
please change to var(--hxDropdown-unfocused-invalid-bgcolor, $gray-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.
Changes have been done, please review.
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.
I'm not seeing the recommended variable name change, please double check.
background-color: $gray-100; | ||
color: $gray-700; | ||
} @else { | ||
background-color: var(--hxDropdown-unfocused-disabled-backgroundColor, $gray-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.
please change to var(--hxDropdown-unfocused-disabled-bgcolor, $gray-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.
Changes have been done, please review.
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.
I'm not seeing the recommended variable name change, please double check.
@@ -7,7 +7,7 @@ | |||
} | |||
@else { | |||
border: 1px solid $gray-500; |
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.
please change to border: 1px solid var(--hxDropdown-border, $gray-500);
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.
Changes have been done, please review.
@@ -18,7 +18,7 @@ | |||
} | |||
@else { | |||
border: 2px solid $red-900; |
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.
please follow same pattern through out the application
change to border: 2px solid var(--hxDropdown-invalid-border, $gray-900);
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.
Changes have been done, please review.
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.
DEV LGTM
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.
@lalithkarikelli, please squash commits.
@100stacks rebased and squashed the commits |
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.
Please rebase.
done. |
background-color: $gray-0; | ||
color: $gray-900; | ||
} @else { | ||
background-color: var(--hxDropdown-unfocused-backgroundColor, $gray-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.
I'm not seeing the recommended variable name change, please double check.
background-color: $gray-0; | ||
color: $gray-900; | ||
} @else { | ||
background-color: var(--hxDropdown-unfocused-invalid-backgroundColor, $gray-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.
I'm not seeing the recommended variable name change, please double check.
background-color: $gray-100; | ||
color: $gray-700; | ||
} @else { | ||
background-color: var(--hxDropdown-unfocused-disabled-backgroundColor, $gray-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.
I'm not seeing the recommended variable name change, please double check.
@@ -2,40 +2,36 @@ | |||
|
|||
@mixin __selectFacade($focused: false) { | |||
@if $focused { | |||
border: 1px solid $cyan-700; | |||
border: 1px solid var(--hxDropdown-focused-borderColor, $cyan-700); |
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.
Please update to the new Color Palette 2.0 color variables.
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.
Changes have been done, please review.
} | ||
} | ||
|
||
@mixin __selectFacade--invalid($focused: false) { | ||
@if $focused { | ||
border: 2px solid $red-900; | ||
border: 2px solid var(--hxDropdown-invalid-focused-borderColor, $red-900); |
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.
Please update to the new Color Palette 2.0 color variables.
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.
Changes have been done, please review.
border: 2px solid $red-900; | ||
color: $gray-900; | ||
} @else { | ||
border: 2px solid var(--hxDropdown-invalid-unfocused-borderColor, $red-900); |
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.
Please update to the new Color Palette 2.0 color variables.
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.
Changes have been done, please review.
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.
Dev LGTM
Description
hx-dropdownSelect
: Implement and document attributes and variablesWhat are the relevant story cards/tickets? Any additional PRs or other references?
Jira: SURF 2105
Before you request a review for this PR:
yarn test
to ensure all tests passed?