-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: hide native controls, handle RTL styles (#2453)
- Loading branch information
1 parent
903a6c5
commit 725d52c
Showing
47 changed files
with
176 additions
and
118 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { registerStyles, css } from '@vaadin/vaadin-themable-mixin/register-styles.js'; | ||
|
||
/* hide caret */ | ||
registerStyles( | ||
'vaadin-number-field', | ||
css` | ||
:host([focus-ring]) ::slotted(input) { | ||
font-size: 0 !important; | ||
} | ||
` | ||
); |
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 added
BIN
+633 Bytes
.../number-field/test/visual/lumo/screenshots/number-field/baseline/focus-ring.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+495 Bytes
...umber-field/test/visual/lumo/screenshots/number-field/baseline/rtl-controls.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 added
BIN
+2.07 KB
...-field/test/visual/lumo/screenshots/number-field/baseline/rtl-error-message.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 added
BIN
+1.14 KB
...er-field/test/visual/lumo/screenshots/number-field/baseline/rtl-helper-text.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 added
BIN
+1.05 KB
...s/number-field/test/visual/lumo/screenshots/number-field/baseline/rtl-label.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 added
BIN
+1.24 KB
...er-field/test/visual/lumo/screenshots/number-field/baseline/rtl-placeholder.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 added
BIN
+664 Bytes
.../number-field/test/visual/lumo/screenshots/number-field/baseline/rtl-prefix.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 added
BIN
+1.11 KB
...umber-field/test/visual/lumo/screenshots/number-field/baseline/rtl-required.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 added
BIN
+666 Bytes
.../number-field/test/visual/lumo/screenshots/number-field/baseline/rtl-suffix.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 added
BIN
+779 Bytes
...ld/test/visual/lumo/screenshots/number-field/baseline/rtl-theme-align-right.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 added
BIN
+796 Bytes
...s/number-field/test/visual/lumo/screenshots/number-field/baseline/rtl-value.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 added
BIN
+297 Bytes
...ber-field/test/visual/material/screenshots/number-field/baseline/focus-ring.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+399 Bytes
...r-field/test/visual/material/screenshots/number-field/baseline/rtl-controls.png
Oops, something went wrong.
Binary file added
BIN
+1.69 KB
...ld/test/visual/material/screenshots/number-field/baseline/rtl-error-message.png
Oops, something went wrong.
Binary file added
BIN
+943 Bytes
...ield/test/visual/material/screenshots/number-field/baseline/rtl-helper-text.png
Oops, something went wrong.
Binary file added
BIN
+814 Bytes
...mber-field/test/visual/material/screenshots/number-field/baseline/rtl-label.png
Oops, something went wrong.
Binary file added
BIN
+844 Bytes
...ield/test/visual/material/screenshots/number-field/baseline/rtl-placeholder.png
Oops, something went wrong.
Binary file added
BIN
+537 Bytes
...ber-field/test/visual/material/screenshots/number-field/baseline/rtl-prefix.png
Oops, something went wrong.
Binary file added
BIN
+917 Bytes
...r-field/test/visual/material/screenshots/number-field/baseline/rtl-required.png
Oops, something went wrong.
Binary file added
BIN
+534 Bytes
...ber-field/test/visual/material/screenshots/number-field/baseline/rtl-suffix.png
Oops, something went wrong.
Binary file added
BIN
+544 Bytes
...mber-field/test/visual/material/screenshots/number-field/baseline/rtl-value.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