-
Notifications
You must be signed in to change notification settings - Fork 130
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
248da6f
commit 79f2e70
Showing
215 changed files
with
9,481 additions
and
8,167 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
21 changes: 12 additions & 9 deletions
21
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,11 +1,14 @@ | ||
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}; | ||
`; | ||
}, | ||
}); | ||
export const getStyles = (emotion: Emotion) => | ||
memoizeStyle({ | ||
root(t: Theme) { | ||
return emotion.css` | ||
display: inline-block; | ||
width: ${t.inputWidth}; | ||
`; | ||
}, | ||
}); |
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.