-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(OnyxTooltip): auto align tooltip (#1821)
- 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; } --------- Co-authored-by: Chrisiboiii <[email protected]> Co-authored-by: Maja Zarkova <[email protected]> Co-authored-by: Chrisiboiii <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: ChristianBusshoff <[email protected]>
- Loading branch information
1 parent
c2f8c11
commit e42ca5e
Showing
65 changed files
with
270 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"sit-onyx": patch | ||
--- | ||
|
||
Implement autoalignment feature for OnyxTooltip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-205 Bytes
(99%)
...aywright/snapshots/components/OnyxCheckbox/Checkbox-invalid--chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.12 KB
(100%)
...laywright/snapshots/components/OnyxCheckbox/Checkbox-invalid--firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+752 Bytes
(100%)
...playwright/snapshots/components/OnyxCheckbox/Checkbox-invalid--webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.23 KB
(100%)
...ywright/snapshots/components/OnyxCheckboxGroup/CheckboxGroup-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.26 KB
(100%)
...aywright/snapshots/components/OnyxCheckboxGroup/CheckboxGroup-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.73 KB
(100%)
...laywright/snapshots/components/OnyxCheckboxGroup/CheckboxGroup-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+216 Bytes
(100%)
...hots/components/OnyxInput/Input-labelTooltip-messageTooltip--chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-409 Bytes
(99%)
...shots/components/OnyxInput/Input-labelTooltip-messageTooltip--firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-102 Bytes
(100%)
...pshots/components/OnyxInput/Input-labelTooltip-messageTooltip--webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+432 Bytes
(100%)
...ponents/OnyxInput/Input-required-optional-with-label-tooltip-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-628 Bytes
(98%)
...mponents/OnyxInput/Input-required-optional-with-label-tooltip-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+24 Bytes
(100%)
...omponents/OnyxInput/Input-required-optional-with-label-tooltip-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-364 Bytes
(99%)
...t/snapshots/components/OnyxRadioButton/Radio-button-invalid--chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+184 Bytes
(100%)
...ht/snapshots/components/OnyxRadioButton/Radio-button-invalid--firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-115 Bytes
(100%)
...ght/snapshots/components/OnyxRadioButton/Radio-button-invalid--webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-207 Bytes
(99%)
...ght/snapshots/components/OnyxRadioGroup/Radio-group-invalid--chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-339 Bytes
(99%)
...ight/snapshots/components/OnyxRadioGroup/Radio-group-invalid--firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-74 Bytes
(100%)
...right/snapshots/components/OnyxRadioGroup/Radio-group-invalid--webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+105 Bytes
(100%)
.../playwright/snapshots/components/OnyxSelect/Select-multiple--chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-62 Bytes
(100%)
...x/playwright/snapshots/components/OnyxSelect/Select-multiple--firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+370 Bytes
(100%)
...yx/playwright/snapshots/components/OnyxSelect/Select-multiple--webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+222 Bytes
(100%)
.../components/OnyxStepper/Stepper-labelTooltip-messageTooltip--chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-473 Bytes
(99%)
...s/components/OnyxStepper/Stepper-labelTooltip-messageTooltip--firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-110 Bytes
(100%)
...ts/components/OnyxStepper/Stepper-labelTooltip-messageTooltip--webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+348 Bytes
(100%)
...nts/OnyxStepper/Stepper-required-optional-with-label-tooltip-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-513 Bytes
(99%)
...ents/OnyxStepper/Stepper-required-optional-with-label-tooltip-firefox-linux.png
Oops, something went wrong.
Binary file modified
BIN
+28 Bytes
(100%)
...nents/OnyxStepper/Stepper-required-optional-with-label-tooltip-webkit-linux.png
Oops, something went wrong.
Binary file modified
BIN
-263 Bytes
(99%)
...x/playwright/snapshots/components/OnyxSwitch/Switch-invalid--chromium-linux.png
Oops, something went wrong.
Binary file modified
BIN
-325 Bytes
(99%)
...yx/playwright/snapshots/components/OnyxSwitch/Switch-invalid--firefox-linux.png
Oops, something went wrong.
Binary file modified
BIN
-154 Bytes
(100%)
...nyx/playwright/snapshots/components/OnyxSwitch/Switch-invalid--webkit-linux.png
Oops, something went wrong.
Binary file modified
BIN
+157 Bytes
(100%)
...omponents/OnyxTextarea/Textarea-labelTooltip-messageTooltip--chromium-linux.png
Oops, something went wrong.
Binary file modified
BIN
-129 Bytes
(100%)
...components/OnyxTextarea/Textarea-labelTooltip-messageTooltip--firefox-linux.png
Oops, something went wrong.
Binary file modified
BIN
-152 Bytes
(99%)
.../components/OnyxTextarea/Textarea-labelTooltip-messageTooltip--webkit-linux.png
Oops, something went wrong.
Binary file modified
BIN
+282 Bytes
(100%)
...s/OnyxTextarea/Textarea-required-optional-with-label-tooltip-chromium-linux.png
Oops, something went wrong.
Binary file modified
BIN
-394 Bytes
(99%)
...ts/OnyxTextarea/Textarea-required-optional-with-label-tooltip-firefox-linux.png
Oops, something went wrong.
Binary file modified
BIN
-67 Bytes
(100%)
...nts/OnyxTextarea/Textarea-required-optional-with-label-tooltip-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+19.9 KB
.../playwright/snapshots/components/OnyxTooltip/Aligned-tooltip-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+30.7 KB
...x/playwright/snapshots/components/OnyxTooltip/Aligned-tooltip-firefox-linux.png
Oops, something went wrong.
Binary file added
BIN
+29.8 KB
...yx/playwright/snapshots/components/OnyxTooltip/Aligned-tooltip-webkit-linux.png
Oops, something went wrong.
Binary file modified
BIN
+232 Bytes
(100%)
.../sit-onyx/playwright/snapshots/components/OnyxTooltip/Tooltip-firefox-linux.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...s/sit-onyx/playwright/snapshots/components/OnyxTooltip/Tooltip-webkit-linux.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.