-
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
eaeed3e
commit 7d589c7
Showing
217 changed files
with
9,532 additions
and
8,180 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 |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
.vscode | ||
.DS_Store | ||
*.code-workspace | ||
*.orig | ||
|
||
node_modules | ||
yarn-debug.log | ||
|
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
28 changes: 16 additions & 12 deletions
28
packages/react-ui/components/Autocomplete/Autocomplete.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,20 @@ | ||
import { css, memoizeStyle } from '../../lib/theming/Emotion'; | ||
import type { Emotion } from '@emotion/css/create-instance'; | ||
|
||
import { memoizeStyle } from '../../lib/theming/Emotion'; | ||
import { Theme } from '../../lib/theming/Theme'; | ||
|
||
export const styles = memoizeStyle({ | ||
root(t: Theme) { | ||
return css` | ||
display: inline-block; | ||
width: ${t.inputWidth}; | ||
`; | ||
}, | ||
noPortal() { | ||
return css` | ||
export const getStyles = (emotion: Emotion) => | ||
memoizeStyle({ | ||
root(t: Theme) { | ||
return emotion.css` | ||
display: inline-block; | ||
width: ${t.inputWidth}; | ||
`; | ||
}, | ||
|
||
noPortal() { | ||
return emotion.css` | ||
position: relative; | ||
`; | ||
}, | ||
}); | ||
}, | ||
}); |
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.