-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Rebranding): ImagePreviewInput, InputLabels, ContextContainer.
feat(CardEmptyCover): Added cache to increase performance
- Loading branch information
Showing
9 changed files
with
122 additions
and
56 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
34 changes: 17 additions & 17 deletions
34
packages/components/src/form/InputWrapper/InputWrapper.styles.js
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,19 +1,19 @@ | ||
import { createStyles } from '@mantine/styles'; | ||
|
||
export const InputWrapperStyles = createStyles((theme, { size, orientation }) => { | ||
return { | ||
root: { | ||
display: 'flex', | ||
flexDirection: orientation === 'vertical' ? 'column' : 'row', | ||
gap: theme.spacing[2], | ||
position: 'relative', | ||
}, | ||
header: { | ||
width: orientation === 'vertical' ? 'auto' : '35%', | ||
}, | ||
content: { | ||
flex: 1, | ||
width: '100%', | ||
}, | ||
}; | ||
}); | ||
const InputWrapperStyles = createStyles((theme, { size, orientation }) => ({ | ||
root: { | ||
display: 'flex', | ||
flexDirection: orientation === 'vertical' ? 'column' : 'row', | ||
gap: theme.spacing[2], | ||
position: 'relative', | ||
}, | ||
header: { | ||
width: orientation === 'vertical' ? 'auto' : '35%', | ||
}, | ||
content: { | ||
flex: 1, | ||
width: '100%', | ||
}, | ||
})); | ||
|
||
export { InputWrapperStyles }; |
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