@spothero/ui 15.10.8 → 15.10.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spothero/ui",
3
- "version": "15.10.8",
3
+ "version": "15.10.9",
4
4
  "description": "SpotHero's React component UI library.",
5
5
  "main": "v2/index.js",
6
6
  "repository": "https://github.com/spothero/fe-monorepo",
@@ -12,7 +12,7 @@ const baseStyle = props => ({
12
12
  header,
13
13
  content: content(props),
14
14
  body: body(props),
15
- popper: popper(props),
15
+ popper,
16
16
  });
17
17
 
18
18
  export default merge(chakraDefaultTheme.components.Popover, {
@@ -2,7 +2,15 @@ const popoverContentStyles = ({variant}) => ({
2
2
  padding: 4,
3
3
  marginBottom: 0,
4
4
  maxWidth: '20rem',
5
+ borderRadius: 'base',
5
6
  background: variant === 'dark' ? 'secondary.default' : 'white',
7
+ boxShadow: '2px 2px 4px 0 rgba(0,45,91,0.1)',
8
+ color: variant === 'dark' ? 'white' : 'black',
9
+ borderColor: 'gray.100',
10
+ borderWidth: '1px',
11
+ borderStyle: 'solid',
12
+ '--popper-arrow-shadow-color': t => t.colors.gray['100'],
13
+ zIndex: 'layer10',
6
14
  });
7
15
 
8
16
  export default popoverContentStyles;
@@ -1,13 +1,5 @@
1
- const popperStyles = ({variant}) => ({
2
- borderRadius: 4,
3
- boxShadow: '2px 2px 4px 0 rgba(0,45,91,0.1)',
4
- color: variant === 'dark' ? 'white' : 'black',
5
- background: variant === 'dark' ? 'secondary.default' : 'white',
6
- borderColor: 'gray.100',
7
- '--popper-arrow-shadow-color': t => t.colors.gray['100'],
8
- borderWidth: '1px',
9
- borderStyle: 'solid',
10
- zIndex: 'layer10',
11
- });
1
+ const popperStyles = {
2
+ borderRadius: 'base',
3
+ };
12
4
 
13
5
  export default popperStyles;