@teamturing/react-native-kit 1.5.0 → 1.5.1
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/lib/commonjs/component/LoadingIndicator.js.map +1 -1
- package/lib/module/component/LoadingIndicator.js.map +1 -1
- package/lib/typescript/commonjs/src/component/LoadingIndicator.d.ts +2 -2
- package/lib/typescript/commonjs/src/component/LoadingIndicator.d.ts.map +1 -1
- package/lib/typescript/module/src/component/LoadingIndicator.d.ts +2 -2
- package/lib/typescript/module/src/component/LoadingIndicator.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/component/LoadingIndicator.tsx +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_core","require","_reactNative","_index","_index2","_jsxRuntime","LoadingIndicator","props","getStyle","filteredProps","useSx","testID","size","color","palette","gray400","jsx","ActivityIndicator","style","is","number","pointerEvents","exports"],"sourceRoot":"../../../src","sources":["component/LoadingIndicator.tsx"],"mappings":";;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAA6B,IAAAI,WAAA,GAAAJ,OAAA;AAQ7B,MAAMK,gBAAgB,GAAIC,
|
|
1
|
+
{"version":3,"names":["_core","require","_reactNative","_index","_index2","_jsxRuntime","LoadingIndicator","props","getStyle","filteredProps","useSx","testID","size","color","palette","gray400","jsx","ActivityIndicator","style","is","number","pointerEvents","exports"],"sourceRoot":"../../../src","sources":["component/LoadingIndicator.tsx"],"mappings":";;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAA6B,IAAAI,WAAA,GAAAJ,OAAA;AAQ7B,MAAMK,gBAAgB,GAAIC,KAA4B,IAAK;EACzD,MAAM;IAAEC,QAAQ;IAAEC;EAAc,CAAC,GAAG,IAAAC,WAAK,EAACH,KAAK,CAAC;EAChD,MAAM;IAAEI,MAAM;IAAEC,IAAI;IAAEC,KAAK,GAAGC,cAAO,CAACC;EAAQ,CAAC,GAAGN,aAAa;EAC/D,oBACE,IAAAJ,WAAA,CAAAW,GAAA,EAACd,YAAA,CAAAe,iBAAiB;IACVN,MAAM;IAAEE,KAAK;IACnBK,KAAK,EAAEV,QAAQ,CAAC,CAAE;IAClBI,IAAI,EAAEO,UAAE,CAACC,MAAM,CAACR,IAAI,CAAC,IAAIA,IAAI,GAAG,EAAE,GAAG,OAAO,GAAG,OAAQ;IACvDS,aAAa,EAAE;EAAO,CACvB,CAAC;AAEN,CAAC;AAACC,OAAA,CAAAhB,gBAAA,GAAAA,gBAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useSx","ActivityIndicator","palette","is","jsx","_jsx","LoadingIndicator","props","getStyle","filteredProps","testID","size","color","gray400","style","number","pointerEvents"],"sourceRoot":"../../../src","sources":["component/LoadingIndicator.tsx"],"mappings":";;AACA,SAASA,KAAK,QAAQ,kCAAkC;AAExD,SAASC,iBAAiB,QAAQ,cAAc;AAEhD,SAASC,OAAO,QAAQ,mBAAU;AAClC,SAASC,EAAE,QAAQ,kBAAS;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAQ7B,MAAMC,gBAAgB,GAAIC,
|
|
1
|
+
{"version":3,"names":["useSx","ActivityIndicator","palette","is","jsx","_jsx","LoadingIndicator","props","getStyle","filteredProps","testID","size","color","gray400","style","number","pointerEvents"],"sourceRoot":"../../../src","sources":["component/LoadingIndicator.tsx"],"mappings":";;AACA,SAASA,KAAK,QAAQ,kCAAkC;AAExD,SAASC,iBAAiB,QAAQ,cAAc;AAEhD,SAASC,OAAO,QAAQ,mBAAU;AAClC,SAASC,EAAE,QAAQ,kBAAS;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAQ7B,MAAMC,gBAAgB,GAAIC,KAA4B,IAAK;EACzD,MAAM;IAAEC,QAAQ;IAAEC;EAAc,CAAC,GAAGT,KAAK,CAACO,KAAK,CAAC;EAChD,MAAM;IAAEG,MAAM;IAAEC,IAAI;IAAEC,KAAK,GAAGV,OAAO,CAACW;EAAQ,CAAC,GAAGJ,aAAa;EAC/D,oBACEJ,IAAA,CAACJ,iBAAiB;IACVS,MAAM;IAAEE,KAAK;IACnBE,KAAK,EAAEN,QAAQ,CAAC,CAAE;IAClBG,IAAI,EAAER,EAAE,CAACY,MAAM,CAACJ,IAAI,CAAC,IAAIA,IAAI,GAAG,EAAE,GAAG,OAAO,GAAG,OAAQ;IACvDK,aAAa,EAAE;EAAO,CACvB,CAAC;AAEN,CAAC;AAED,SAASV,gBAAgB","ignoreList":[]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { SxProps } from '@react-native-styled-system/core';
|
|
2
2
|
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
export type
|
|
3
|
+
export type LoadingIndicatorProps = {
|
|
4
4
|
testID?: string;
|
|
5
5
|
size?: number;
|
|
6
6
|
color?: string;
|
|
7
7
|
style?: StyleProp<ViewStyle>;
|
|
8
8
|
} & SxProps;
|
|
9
|
-
declare const LoadingIndicator: (props:
|
|
9
|
+
declare const LoadingIndicator: (props: LoadingIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export { LoadingIndicator };
|
|
11
11
|
//# sourceMappingURL=LoadingIndicator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/component/LoadingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAEhE,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAMzD,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/component/LoadingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAEhE,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAMzD,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,GAAG,OAAO,CAAC;AACZ,QAAA,MAAM,gBAAgB,UAAW,qBAAqB,4CAWrD,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { SxProps } from '@react-native-styled-system/core';
|
|
2
2
|
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
export type
|
|
3
|
+
export type LoadingIndicatorProps = {
|
|
4
4
|
testID?: string;
|
|
5
5
|
size?: number;
|
|
6
6
|
color?: string;
|
|
7
7
|
style?: StyleProp<ViewStyle>;
|
|
8
8
|
} & SxProps;
|
|
9
|
-
declare const LoadingIndicator: (props:
|
|
9
|
+
declare const LoadingIndicator: (props: LoadingIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export { LoadingIndicator };
|
|
11
11
|
//# sourceMappingURL=LoadingIndicator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/component/LoadingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAEhE,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAMzD,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/component/LoadingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAEhE,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAMzD,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,GAAG,OAAO,CAAC;AACZ,QAAA,MAAM,gBAAgB,UAAW,qBAAqB,4CAWrD,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamturing/react-native-kit",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "React Native Common Module for Team Turing",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"example": "yarn workspace @teamturing/react-native-kit-example",
|
|
@@ -158,5 +158,5 @@
|
|
|
158
158
|
"bugs": {
|
|
159
159
|
"url": "https://github.com/weareteamturing/bombe/issues"
|
|
160
160
|
},
|
|
161
|
-
"gitHead": "
|
|
161
|
+
"gitHead": "da3b0fd1376c8c78f1c5a446077509534b13df8e"
|
|
162
162
|
}
|
|
@@ -6,13 +6,13 @@ import { ActivityIndicator } from 'react-native';
|
|
|
6
6
|
import { palette } from '../theme';
|
|
7
7
|
import { is } from '../util';
|
|
8
8
|
|
|
9
|
-
export type
|
|
9
|
+
export type LoadingIndicatorProps = {
|
|
10
10
|
testID?: string;
|
|
11
11
|
size?: number;
|
|
12
12
|
color?: string;
|
|
13
13
|
style?: StyleProp<ViewStyle>;
|
|
14
14
|
} & SxProps;
|
|
15
|
-
const LoadingIndicator = (props:
|
|
15
|
+
const LoadingIndicator = (props: LoadingIndicatorProps) => {
|
|
16
16
|
const { getStyle, filteredProps } = useSx(props);
|
|
17
17
|
const { testID, size, color = palette.gray400 } = filteredProps;
|
|
18
18
|
return (
|