-
Notifications
You must be signed in to change notification settings - Fork 60
[UIK-2976] ellipsis improvements #2314
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
base: release/v17
Are you sure you want to change the base?
Conversation
…emrush/intergalactic into UIK-2976/ellipsis-improvements
| }; | ||
| } | ||
| }, [hookOverride, ref.current]); | ||
| }, [hookOverride, ref]); |
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 am not sure that ref will work either :) useRef returns stable reference to an object which will be the same across multiple renders
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.
yes, but this is a custom hook and a link to the in it can change
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.
yeah, I see, but the result will be the same of you will have only [hookOverride] :)
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.
removed )
…emrush/intergalactic into UIK-2976/ellipsis-improvements
## Changelog ### @semcore/base-components #### Changed - `Hint` now has slicker and more compact styles. <!--- Provide a general summary of your changes in the Title above --> ## Motivation and Context - updated Hint styles - removed Hint arrow - connected css vars to offset and padding (currently offset = padding, although I kept them separate to be able to change in the future) ## How has this been tested? Manually. ## Screenshots (if appropriate): ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue). - [ ] New feature (non-breaking change which adds functionality). - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected). - [x] Nice improve. ## Checklist: <!--- Go over all the following points, and put an `x` in all the boxes that apply. --> <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> - [ ] I have updated the documentation accordingly. - [ ] I have added new tests on added of fixed functionality. --------- Co-authored-by: Valeryia Zimnitskaya <valeryia.zimnitskaya@semrush.com> Co-authored-by: ilia.brauer <ilia.brauer@semrush.com>
Changelog
@semcore/base-components
Changed
Hintnow has slicker and more compact styles.Motivation and Context
How has this been tested?
Screenshots (if appropriate):
Types of changes
Checklist:
CHANGELOG.mdfile with planned publish date.