@tecsinapse/react-web-kit 1.22.5 → 1.22.7

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.
@@ -4,7 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var styled = require('@emotion/styled');
6
6
  var reactCore = require('@tecsinapse/react-core');
7
- var styled$1 = require('@tecsinapse/react-core/src/components/atoms/Switch/styled');
8
7
 
9
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
9
 
@@ -15,7 +14,7 @@ const StyledSwitchContent = styled__default["default"].div`
15
14
  display: flex;
16
15
  padding: 0 ${({ theme }) => theme.spacing.micro};
17
16
  align-items: center;
18
- width: ${reactCore.RFValueStr(styled$1.SWITCH_BODY_WIDTH)};
17
+ width: ${reactCore.RFValueStr(reactCore.SWITCH_BODY_WIDTH)};
19
18
  height: ${reactCore.RFValueStr("22px")};
20
19
  &:hover {
21
20
  cursor: pointer;
@@ -24,7 +23,7 @@ const StyledSwitchContent = styled__default["default"].div`
24
23
  const StyledSwitch = styled__default["default"].div`
25
24
  border-radius: ${({ theme }) => theme.borderRadius.pill};
26
25
  background-color: ${({ theme }) => theme.miscellaneous.surfaceColor};
27
- width: ${reactCore.RFValueStr(styled$1.SWITCH_PIN_WIDTH)};
26
+ width: ${reactCore.RFValueStr(reactCore.SWITCH_PIN_WIDTH)};
28
27
  height: ${reactCore.RFValueStr("16px")};
29
28
  `;
30
29
 
@@ -1 +1 @@
1
- {"version":3,"file":"styled.js","sources":["../../../../../src/components/atoms/Switch/styled.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport { RFValueStr, StyleProps } from '@tecsinapse/react-core';\nimport {\n SWITCH_BODY_WIDTH,\n SWITCH_PIN_WIDTH,\n} from '@tecsinapse/react-core/src/components/atoms/Switch/styled';\n\nexport const StyledSwitchContent = styled.div<Partial<StyleProps>>`\n border-radius: ${({ theme }) => theme.borderRadius.pill};\n display: flex;\n padding: 0 ${({ theme }) => theme.spacing.micro};\n align-items: center;\n width: ${RFValueStr(SWITCH_BODY_WIDTH)};\n height: ${RFValueStr('22px')};\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const StyledSwitch = styled.div<Partial<StyleProps>>`\n border-radius: ${({ theme }) => theme.borderRadius.pill};\n background-color: ${({ theme }) => theme.miscellaneous.surfaceColor};\n width: ${RFValueStr(SWITCH_PIN_WIDTH)};\n height: ${RFValueStr('16px')};\n`;\n"],"names":["styled","RFValueStr","SWITCH_BODY_WIDTH","SWITCH_PIN_WIDTH"],"mappings":";;;;;;;;;;;;AAOO,MAAM,sBAAsBA,0BAAO,CAAA,GAAA,CAAA;AAAA,iBAAA,EACvB,CAAC,EAAE,KAAM,EAAA,KAAM,MAAM,YAAa,CAAA,IAAA,CAAA;AAAA;AAAA,aAAA,EAEtC,CAAC,EAAE,KAAM,EAAA,KAAM,MAAM,OAAQ,CAAA,KAAA,CAAA;AAAA;AAAA,SAAA,EAEjCC,qBAAWC,0BAAiB,CAAA,CAAA;AAAA,UAAA,EAC3BD,qBAAW,MAAM,CAAA,CAAA;AAAA;AAAA;AAAA;AAAA,EAAA;AAMtB,MAAM,eAAeD,0BAAO,CAAA,GAAA,CAAA;AAAA,iBAAA,EAChB,CAAC,EAAE,KAAM,EAAA,KAAM,MAAM,YAAa,CAAA,IAAA,CAAA;AAAA,oBAAA,EAC/B,CAAC,EAAE,KAAM,EAAA,KAAM,MAAM,aAAc,CAAA,YAAA,CAAA;AAAA,SAAA,EAC9CC,qBAAWE,yBAAgB,CAAA,CAAA;AAAA,UAAA,EAC1BF,qBAAW,MAAM,CAAA,CAAA;AAAA;;;;;"}
1
+ {"version":3,"file":"styled.js","sources":["../../../../../src/components/atoms/Switch/styled.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport {\n RFValueStr,\n StyleProps,\n SWITCH_BODY_WIDTH,\n SWITCH_PIN_WIDTH,\n} from '@tecsinapse/react-core';\n\nexport const StyledSwitchContent = styled.div<Partial<StyleProps>>`\n border-radius: ${({ theme }) => theme.borderRadius.pill};\n display: flex;\n padding: 0 ${({ theme }) => theme.spacing.micro};\n align-items: center;\n width: ${RFValueStr(SWITCH_BODY_WIDTH)};\n height: ${RFValueStr('22px')};\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const StyledSwitch = styled.div<Partial<StyleProps>>`\n border-radius: ${({ theme }) => theme.borderRadius.pill};\n background-color: ${({ theme }) => theme.miscellaneous.surfaceColor};\n width: ${RFValueStr(SWITCH_PIN_WIDTH)};\n height: ${RFValueStr('16px')};\n`;\n"],"names":["styled","RFValueStr","SWITCH_BODY_WIDTH","SWITCH_PIN_WIDTH"],"mappings":";;;;;;;;;;;AAQO,MAAM,sBAAsBA,0BAAO,CAAA,GAAA,CAAA;AAAA,iBAAA,EACvB,CAAC,EAAE,KAAM,EAAA,KAAM,MAAM,YAAa,CAAA,IAAA,CAAA;AAAA;AAAA,aAAA,EAEtC,CAAC,EAAE,KAAM,EAAA,KAAM,MAAM,OAAQ,CAAA,KAAA,CAAA;AAAA;AAAA,SAAA,EAEjCC,qBAAWC,2BAAiB,CAAA,CAAA;AAAA,UAAA,EAC3BD,qBAAW,MAAM,CAAA,CAAA;AAAA;AAAA;AAAA;AAAA,EAAA;AAMtB,MAAM,eAAeD,0BAAO,CAAA,GAAA,CAAA;AAAA,iBAAA,EAChB,CAAC,EAAE,KAAM,EAAA,KAAM,MAAM,YAAa,CAAA,IAAA,CAAA;AAAA,oBAAA,EAC/B,CAAC,EAAE,KAAM,EAAA,KAAM,MAAM,aAAc,CAAA,YAAA,CAAA;AAAA,SAAA,EAC9CC,qBAAWE,0BAAgB,CAAA,CAAA;AAAA,UAAA,EAC1BF,qBAAW,MAAM,CAAA,CAAA;AAAA;;;;;"}
@@ -1,6 +1,5 @@
1
1
  import styled from '@emotion/styled';
2
- import { RFValueStr } from '@tecsinapse/react-core';
3
- import { SWITCH_BODY_WIDTH, SWITCH_PIN_WIDTH } from '@tecsinapse/react-core/src/components/atoms/Switch/styled';
2
+ import { RFValueStr, SWITCH_BODY_WIDTH, SWITCH_PIN_WIDTH } from '@tecsinapse/react-core';
4
3
 
5
4
  const StyledSwitchContent = styled.div`
6
5
  border-radius: ${({ theme }) => theme.borderRadius.pill};
@@ -1 +1 @@
1
- {"version":3,"file":"styled.js","sources":["../../../../../src/components/atoms/Switch/styled.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport { RFValueStr, StyleProps } from '@tecsinapse/react-core';\nimport {\n SWITCH_BODY_WIDTH,\n SWITCH_PIN_WIDTH,\n} from '@tecsinapse/react-core/src/components/atoms/Switch/styled';\n\nexport const StyledSwitchContent = styled.div<Partial<StyleProps>>`\n border-radius: ${({ theme }) => theme.borderRadius.pill};\n display: flex;\n padding: 0 ${({ theme }) => theme.spacing.micro};\n align-items: center;\n width: ${RFValueStr(SWITCH_BODY_WIDTH)};\n height: ${RFValueStr('22px')};\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const StyledSwitch = styled.div<Partial<StyleProps>>`\n border-radius: ${({ theme }) => theme.borderRadius.pill};\n background-color: ${({ theme }) => theme.miscellaneous.surfaceColor};\n width: ${RFValueStr(SWITCH_PIN_WIDTH)};\n height: ${RFValueStr('16px')};\n`;\n"],"names":[],"mappings":";;;;AAOO,MAAM,sBAAsB,MAAO,CAAA,GAAA,CAAA;AAAA,iBAAA,EACvB,CAAC,EAAE,KAAM,EAAA,KAAM,MAAM,YAAa,CAAA,IAAA,CAAA;AAAA;AAAA,aAAA,EAEtC,CAAC,EAAE,KAAM,EAAA,KAAM,MAAM,OAAQ,CAAA,KAAA,CAAA;AAAA;AAAA,SAAA,EAEjC,WAAW,iBAAiB,CAAA,CAAA;AAAA,UAAA,EAC3B,WAAW,MAAM,CAAA,CAAA;AAAA;AAAA;AAAA;AAAA,EAAA;AAMtB,MAAM,eAAe,MAAO,CAAA,GAAA,CAAA;AAAA,iBAAA,EAChB,CAAC,EAAE,KAAM,EAAA,KAAM,MAAM,YAAa,CAAA,IAAA,CAAA;AAAA,oBAAA,EAC/B,CAAC,EAAE,KAAM,EAAA,KAAM,MAAM,aAAc,CAAA,YAAA,CAAA;AAAA,SAAA,EAC9C,WAAW,gBAAgB,CAAA,CAAA;AAAA,UAAA,EAC1B,WAAW,MAAM,CAAA,CAAA;AAAA;;;;"}
1
+ {"version":3,"file":"styled.js","sources":["../../../../../src/components/atoms/Switch/styled.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport {\n RFValueStr,\n StyleProps,\n SWITCH_BODY_WIDTH,\n SWITCH_PIN_WIDTH,\n} from '@tecsinapse/react-core';\n\nexport const StyledSwitchContent = styled.div<Partial<StyleProps>>`\n border-radius: ${({ theme }) => theme.borderRadius.pill};\n display: flex;\n padding: 0 ${({ theme }) => theme.spacing.micro};\n align-items: center;\n width: ${RFValueStr(SWITCH_BODY_WIDTH)};\n height: ${RFValueStr('22px')};\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const StyledSwitch = styled.div<Partial<StyleProps>>`\n border-radius: ${({ theme }) => theme.borderRadius.pill};\n background-color: ${({ theme }) => theme.miscellaneous.surfaceColor};\n width: ${RFValueStr(SWITCH_PIN_WIDTH)};\n height: ${RFValueStr('16px')};\n`;\n"],"names":[],"mappings":";;;AAQO,MAAM,sBAAsB,MAAO,CAAA,GAAA,CAAA;AAAA,iBAAA,EACvB,CAAC,EAAE,KAAM,EAAA,KAAM,MAAM,YAAa,CAAA,IAAA,CAAA;AAAA;AAAA,aAAA,EAEtC,CAAC,EAAE,KAAM,EAAA,KAAM,MAAM,OAAQ,CAAA,KAAA,CAAA;AAAA;AAAA,SAAA,EAEjC,WAAW,iBAAiB,CAAA,CAAA;AAAA,UAAA,EAC3B,WAAW,MAAM,CAAA,CAAA;AAAA;AAAA;AAAA;AAAA,EAAA;AAMtB,MAAM,eAAe,MAAO,CAAA,GAAA,CAAA;AAAA,iBAAA,EAChB,CAAC,EAAE,KAAM,EAAA,KAAM,MAAM,YAAa,CAAA,IAAA,CAAA;AAAA,oBAAA,EAC/B,CAAC,EAAE,KAAM,EAAA,KAAM,MAAM,aAAc,CAAA,YAAA,CAAA;AAAA,SAAA,EAC9C,WAAW,gBAAgB,CAAA,CAAA;AAAA,UAAA,EAC1B,WAAW,MAAM,CAAA,CAAA;AAAA;;;;"}
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": "1.22.5",
4
+ "version": "1.22.7",
5
5
  "license": "MIT",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",
@@ -23,7 +23,7 @@
23
23
  "@emotion/native": "~11.10.0",
24
24
  "@emotion/react": "~11.10.0",
25
25
  "@emotion/styled": "~11.10.0",
26
- "@tecsinapse/react-core": "1.21.5",
26
+ "@tecsinapse/react-core": "1.21.7",
27
27
  "@types/react-native": "^0.64.4",
28
28
  "date-fns": "~2.29.1",
29
29
  "react-native-vector-icons": "~9.2.0",
@@ -43,5 +43,5 @@
43
43
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
44
44
  "react-native-web": "^0.17.1 || ^0.18.0"
45
45
  },
46
- "gitHead": "48cda2986310e370097a8fcae68e5c02bb33a54f"
46
+ "gitHead": "b128dfad949de8c668acb7fb495f092ac15ebcb0"
47
47
  }