-
Notifications
You must be signed in to change notification settings - Fork 1
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
BREAKING CHANGE(web-react): TooltipModern
modern to Tooltip
#1394
Conversation
✅ Deploy Preview for spirit-design-system ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
packages/web-react/src/components/Tooltip/demo/TooltipHover.tsx
Outdated
Show resolved
Hide resolved
f9c588a
to
2fcdeaa
Compare
packages/web-react/src/components/Tooltip/__tests__/Tooltip.test.tsx
Outdated
Show resolved
Hide resolved
packages/web-react/src/components/Tooltip/__tests__/Tooltip.test.tsx
Outdated
Show resolved
Hide resolved
packages/web-react/src/components/Tooltip/__tests__/Tooltip.test.tsx
Outdated
Show resolved
Hide resolved
packages/web-react/src/components/Tooltip/demo/TooltipDefault.tsx
Outdated
Show resolved
Hide resolved
packages/web-react/src/components/Tooltip/demo/TooltipHover.tsx
Outdated
Show resolved
Hide resolved
packages/web-react/src/components/Tooltip/stories/UncontrolledTooltip.stories.tsx
Outdated
Show resolved
Hide resolved
tests/e2e/demo-components-compare.spec.ts-snapshots/tooltipmodern-chromium-linux.png
Outdated
Show resolved
Hide resolved
2fcdeaa
to
640eac0
Compare
packages/web-react/src/components/Tooltip/UncontrolledTooltip.tsx
Outdated
Show resolved
Hide resolved
packages/web-react/src/components/Tooltip/stories/Tooltip.stories.tsx
Outdated
Show resolved
Hide resolved
packages/web-react/src/components/Tooltip/demo/TooltipWithFloatingUI.tsx
Outdated
Show resolved
Hide resolved
6212b9d
to
6bafe41
Compare
Needs to be rebased. |
a276d09
to
11489da
Compare
rebase done |
2da0343
to
5a87e4d
Compare
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.
LGTM, the only thing I would add is to prevent outside click close when the tooltip is dismissable, but we can do it in a separate issue. Can you create it, please?
packages/web-react/src/components/Tooltip/useTooltipStyleProps.ts
Outdated
Show resolved
Hide resolved
5a87e4d
to
c010483
Compare
Yes i will create this issue |
- Changed css value of isDismissible class to prevent width jumps on mouse hovering
c010483
to
a466f05
Compare
Description
TooltipModern
renamed toTooltip
Tooltip
removedUncontrolledTooltip
updated to use new structure withTooltipTrigger
andTooltipPopover
TooltipModern
TODO:
Additional context
If possible demo sync will be solved in different issue:
https://jira.almacareer.tech/browse/DS-1249
Issue reference
Nahradit Tooltip TooltipModern