@applica-software-guru/react-admin 1.4.196 → 1.4.197

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": "@applica-software-guru/react-admin",
3
- "version": "1.4.196",
3
+ "version": "1.4.197",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -5,7 +5,8 @@ export const StyledArrow = styled('span')(({ arrow, theme }) => {
5
5
 
6
6
  const POSITION = -(SIZE / 2);
7
7
 
8
- const borderStyle = `solid 1px ${alpha(theme.palette.grey[500], 0.12)}`;
8
+ const borderStyle =
9
+ theme.palette.mode === 'dark' ? `solid 1px ${theme.palette.grey[100]}` : `solid 1px ${alpha(theme.palette.grey[500], 0.12)}`;
9
10
 
10
11
  const topStyle = {
11
12
  borderRadius: '0 0 3px 0',
@@ -30,7 +31,7 @@ export const StyledArrow = styled('span')(({ arrow, theme }) => {
30
31
 
31
32
  const rightStyle = {
32
33
  borderRadius: '0 0 0 3px',
33
- right: POSITION,
34
+ right: POSITION - 1,
34
35
  borderBottom: borderStyle,
35
36
  borderLeft: borderStyle
36
37
  };
@@ -45,7 +46,10 @@ export const StyledArrow = styled('span')(({ arrow, theme }) => {
45
46
  display: 'block',
46
47
  position: 'absolute',
47
48
  transform: 'rotate(-135deg)',
48
- background: theme.palette.background.paper
49
+ background: theme.palette.background.paper,
50
+ backgroundImage: 'inherit',
51
+ borderLeft: borderStyle,
52
+ borderBottom: borderStyle
49
53
  },
50
54
  // Top
51
55
  ...(arrow === 'top-left' && { ...topStyle, left: 20 }),