-
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
394989e
commit 9b16370
Showing
203 changed files
with
8,263 additions
and
6,736 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,5 +35,6 @@ | |
}, | ||
"resolutions": { | ||
"selenium-webdriver": "4.0.0-beta.4" | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
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
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,33 +1,36 @@ | ||
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) { | ||
const width = parseInt(t.calendarCellWidth) * 7; | ||
return css` | ||
background: ${t.calendarBg}; | ||
box-sizing: content-box; | ||
border-radius: ${t.calendarBorderRadius}; | ||
color: ${t.textColorDefault}; | ||
display: block; | ||
padding: 0 ${t.calendarPaddingX}; | ||
width: ${width}px; | ||
touch-action: none; | ||
`; | ||
}, | ||
export const getStyles = (emotion: Emotion) => | ||
memoizeStyle({ | ||
root(t: Theme) { | ||
const width = parseInt(t.calendarCellWidth) * 7; | ||
return emotion.css` | ||
background: ${t.calendarBg}; | ||
box-sizing: content-box; | ||
border-radius: ${t.calendarBorderRadius}; | ||
color: ${t.textColorDefault}; | ||
display: block; | ||
padding: 0 ${t.calendarPaddingX}; | ||
width: ${width}px; | ||
touch-action: none; | ||
`; | ||
}, | ||
|
||
wrapper() { | ||
return css` | ||
font-size: 14px; | ||
position: relative; | ||
overflow: hidden; | ||
`; | ||
}, | ||
wrapper() { | ||
return emotion.css` | ||
font-size: 14px; | ||
position: relative; | ||
overflow: hidden; | ||
`; | ||
}, | ||
|
||
separator(t: Theme) { | ||
return css` | ||
border-bottom: ${t.calendarBottomSeparatorBorder}; | ||
margin: 0 ${t.calendarMonthTitleMarginX}; | ||
`; | ||
}, | ||
}); | ||
separator(t: Theme) { | ||
return emotion.css` | ||
border-bottom: ${t.calendarBottomSeparatorBorder}; | ||
margin: 0 ${t.calendarMonthTitleMarginX}; | ||
`; | ||
}, | ||
}); |
Oops, something went wrong.