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(OnyxTooltip): auto align tooltip #1821

Merged
merged 41 commits into from
Oct 25, 2024

Conversation

ChristianBusshoff
Copy link
Contributor

@ChristianBusshoff ChristianBusshoff commented Sep 2, 2024

  • add auto alingment to the tooltip component
  • add screenshot-tests
  • add a demo on the homeView

Removed Tooltip-Error-Logic (hide tooltip before user interaction) in:

  • OnyxCheckbox
  • OnyxRadioButton
  • OnyxSwitch

// hide error tooltip before a user interaction happened
.onyx-error-tooltip:has(&__input):not(:has(&__input:user-invalid)) .onyx-tooltip {
display: none;
}

@ChristianBusshoff ChristianBusshoff requested a review from a team as a code owner September 2, 2024 13:41
Copy link

changeset-bot bot commented Sep 2, 2024

🦋 Changeset detected

Latest commit: aa3f7a1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
sit-onyx Patch
demo-app Patch
playground Patch
@sit-onyx/chartjs-plugin Patch
@sit-onyx/nuxt Patch
@sit-onyx/storybook-utils Patch
@sit-onyx/vitepress-theme Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@BoppLi
Copy link
Contributor

BoppLi commented Sep 3, 2024

please adjust the PR title to the convention :)
feat(OnyxTooltip): auto align tooltip

the pattern is

  • feat/fix/chore
  • optional scope/component name in brackets
  • a short sentence describing the change, starting with an imperative verb :)

@MajaZarkova MajaZarkova self-assigned this Sep 3, 2024
packages/sit-onyx/src/components/OnyxTooltip/types.ts Outdated Show resolved Hide resolved
packages/sit-onyx/src/components/OnyxTooltip/types.ts Outdated Show resolved Hide resolved
packages/sit-onyx/src/components/OnyxTooltip/types.ts Outdated Show resolved Hide resolved
@ChristianBusshoff ChristianBusshoff changed the title Feat/730 auto alignment tooltip feat(OnyxTooltip): auto align tooltip Sep 3, 2024
ChristianBusshoff and others added 7 commits September 5, 2024 09:52
This is an auto-generated pull request. All Playwright screenshots have
been updated.

Co-authored-by: ChristianBusshoff <178766498+ChristianBusshoff@users.noreply.github.com>
This is an auto-generated pull request. All Playwright screenshots have
been updated.

Co-authored-by: ChristianBusshoff <178766498+ChristianBusshoff@users.noreply.github.com>
ChristianBusshoff and others added 6 commits October 10, 2024 11:13
This is an auto-generated pull request. All Playwright screenshots have
been updated.

Co-authored-by: ChristianBusshoff <178766498+ChristianBusshoff@users.noreply.github.com>
@larsrickert larsrickert self-assigned this Oct 15, 2024
ChristianBusshoff and others added 4 commits October 16, 2024 15:36
This is an auto-generated pull request. All Playwright screenshots have
been updated.

Co-authored-by: ChristianBusshoff <178766498+ChristianBusshoff@users.noreply.github.com>
larsrickert
larsrickert previously approved these changes Oct 24, 2024
@larsrickert larsrickert self-requested a review October 24, 2024 14:25
@larsrickert
Copy link
Collaborator

@ChristianBusshoff Can you add a changeset so this feature is released to the users?

@larsrickert larsrickert dismissed their stale review October 24, 2024 14:26

changeset required

@ChristianBusshoff ChristianBusshoff merged commit e42ca5e into main Oct 25, 2024
19 checks passed
@ChristianBusshoff ChristianBusshoff deleted the feat/730-auto-alignment-Tooltip branch October 25, 2024 07:08
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.

5 participants