-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
58e64fe
commit 107211c
Showing
23 changed files
with
577 additions
and
114 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 |
---|---|---|
|
@@ -35,6 +35,5 @@ | |
}, | ||
"resolutions": { | ||
"selenium-webdriver": "4.0.0-beta.4" | ||
}, | ||
"packageManager": "[email protected]" | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/react-ui/.creevey/images/ShadowDom/Simple Components/chrome2022.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
packages/react-ui/.creevey/images/ShadowDom/Simple Components/chrome2022Dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
packages/react-ui/.creevey/images/ShadowDom/Simple Components/firefox2022.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
packages/react-ui/.creevey/images/ShadowDom/Simple Components/firefox2022Dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 18 additions & 11 deletions
29
...ges/react-ui/components/MaskedInput/ColorableInputElement/ColorableInputElement.styles.ts
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 |
---|---|---|
@@ -1,16 +1,23 @@ | ||
import { injectGlobal, prefix } from '../../../lib/theming/Emotion'; | ||
import type { Emotion } from '@emotion/css/create-instance'; | ||
|
||
import { memoizeStyle, prefix } from '../../../lib/theming/Emotion'; | ||
|
||
export const globalClasses = prefix('colorable')({ | ||
input: 'input', | ||
}); | ||
|
||
injectGlobal` | ||
input.${globalClasses.input} { | ||
display: inline-block; | ||
background-color: transparent; | ||
background-size: 100%; | ||
background-repeat: repeat; | ||
background-clip: text; | ||
-webkit-text-fill-color: transparent; | ||
} | ||
`; | ||
export const getStyles = (emotion: Emotion) => | ||
memoizeStyle({ | ||
input() { | ||
return emotion.css` | ||
&.${globalClasses.input} { | ||
display: inline-block; | ||
background-color: transparent; | ||
background-size: 100%; | ||
background-repeat: repeat; | ||
background-clip: text; | ||
-webkit-text-fill-color: transparent; | ||
} | ||
`; | ||
}, | ||
}); |
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.