@tecsinapse/react-web-kit 3.3.4 → 3.3.6

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.
@@ -3,13 +3,13 @@
3
3
  var styled = require('@emotion/styled');
4
4
 
5
5
  const ContainerItemSelect = styled("div")`
6
- padding: ${({ theme }) => `${theme.spacing.mili} ${theme.spacing.deca}`};
6
+ padding: ${({ theme }) => `${theme.spacing?.mili} ${theme.spacing?.deca}`};
7
7
  cursor: pointer;
8
8
  &:hover {
9
- background-color: ${({ theme }) => theme.color.primary.xlight};
9
+ background-color: ${({ theme }) => theme.color?.primary?.xlight};
10
10
  }
11
11
  &:hover span {
12
- color: ${({ theme }) => theme.color.primary.medium};
12
+ color: ${({ theme }) => theme.color?.primary?.medium};
13
13
  }
14
14
  flex-direction: row;
15
15
  display: flex;
@@ -17,11 +17,11 @@ const ContainerItemSelect = styled("div")`
17
17
  align-items: center;
18
18
  `;
19
19
  const StyledSpan = styled("span")`
20
- color: ${({ theme, singleHighligh }) => singleHighligh ? theme.color.primary.medium : theme.color.secondary.xdark};
21
- padding: ${({ theme }) => `${theme.spacing.mili} 0px`};
20
+ color: ${({ theme, singleHighligh }) => singleHighligh ? theme.color?.primary?.medium : theme.color?.secondary?.xdark};
21
+ padding: ${({ theme }) => `${theme.spacing?.mili} 0px`};
22
22
  `;
23
23
  const StyledContainerTextLabel = styled("div")`
24
- padding-left: ${({ theme }) => theme.spacing.mili};
24
+ padding-left: ${({ theme }) => theme.spacing?.mili};
25
25
  width: 100%;
26
26
  display: flex;
27
27
  overflow: hidden;
@@ -1,13 +1,13 @@
1
1
  import styled from '@emotion/styled';
2
2
 
3
3
  const ContainerItemSelect = styled("div")`
4
- padding: ${({ theme }) => `${theme.spacing.mili} ${theme.spacing.deca}`};
4
+ padding: ${({ theme }) => `${theme.spacing?.mili} ${theme.spacing?.deca}`};
5
5
  cursor: pointer;
6
6
  &:hover {
7
- background-color: ${({ theme }) => theme.color.primary.xlight};
7
+ background-color: ${({ theme }) => theme.color?.primary?.xlight};
8
8
  }
9
9
  &:hover span {
10
- color: ${({ theme }) => theme.color.primary.medium};
10
+ color: ${({ theme }) => theme.color?.primary?.medium};
11
11
  }
12
12
  flex-direction: row;
13
13
  display: flex;
@@ -15,11 +15,11 @@ const ContainerItemSelect = styled("div")`
15
15
  align-items: center;
16
16
  `;
17
17
  const StyledSpan = styled("span")`
18
- color: ${({ theme, singleHighligh }) => singleHighligh ? theme.color.primary.medium : theme.color.secondary.xdark};
19
- padding: ${({ theme }) => `${theme.spacing.mili} 0px`};
18
+ color: ${({ theme, singleHighligh }) => singleHighligh ? theme.color?.primary?.medium : theme.color?.secondary?.xdark};
19
+ padding: ${({ theme }) => `${theme.spacing?.mili} 0px`};
20
20
  `;
21
21
  const StyledContainerTextLabel = styled("div")`
22
- padding-left: ${({ theme }) => theme.spacing.mili};
22
+ padding-left: ${({ theme }) => theme.spacing?.mili};
23
23
  width: 100%;
24
24
  display: flex;
25
25
  overflow: hidden;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tecsinapse/react-web-kit",
3
3
  "description": "TecSinapse React components",
4
- "version": "3.3.4",
4
+ "version": "3.3.6",
5
5
  "license": "MIT",
6
6
  "main": "dist/esm/index.js",
7
7
  "module": "dist/esm/index.js",
@@ -21,7 +21,7 @@
21
21
  "@emotion/native": "~11.11.0",
22
22
  "@emotion/react": "~11.11.0",
23
23
  "@emotion/styled": "~11.11.0",
24
- "@tecsinapse/react-core": "3.3.1",
24
+ "@tecsinapse/react-core": "3.3.3",
25
25
  "date-fns": "~2.30.0",
26
26
  "react-native-vector-icons": "^9.2.0",
27
27
  "react-transition-group": "~4.4.5"
@@ -40,5 +40,5 @@
40
40
  "react-dom": "^18.0.0",
41
41
  "react-native-web": ">=0.18.0 <1"
42
42
  },
43
- "gitHead": "0abc2b2f31df961bc145f364ca20a1bbc322afee"
43
+ "gitHead": "e3ea51cc7a576d13fbba675264e92ae48c552b50"
44
44
  }