@hero-design/rn 7.3.1 → 7.3.2
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/.turbo/turbo-build.log +2 -2
- package/es/index.js +15 -16
- package/lib/index.js +15 -16
- package/package.json +2 -2
- package/src/components/Card/index.tsx +1 -1
- package/types/playground/components/IconButton.d.ts +0 -0
- package/types/src/components/Button/Button.d.ts +0 -0
- package/types/src/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
- package/types/src/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +0 -0
- package/types/src/components/Button/LoadingIndicator/__tests__/index.spec.d.ts +0 -0
- package/types/src/components/Button/LoadingIndicator/index.d.ts +0 -0
- package/types/src/components/Button/StyledButton.d.ts +0 -0
- package/types/src/components/Button/__tests__/Button.spec.d.ts +0 -0
- package/types/src/components/Button/__tests__/IconButton.spec.d.ts +0 -0
- package/types/src/components/Button/__tests__/StyledButton.spec.d.ts +0 -0
- package/types/src/components/Tabs/ScrollableTab.d.ts +3 -0
- package/types/src/components/Tabs/StyledScrollableTab.d.ts +61 -0
- package/types/src/components/Tabs/__tests__/ScrollableTab.spec.d.ts +1 -0
- package/types/src/theme/components/button.d.ts +0 -0
- package/.expo/README.md +0 -15
- package/.expo/packager-info.json +0 -10
- package/.expo/prebuild/cached-packages.json +0 -4
- package/.expo/settings.json +0 -10
- package/.expo/xcodebuild-error.log +0 -2
- package/.expo/xcodebuild.log +0 -11199
- package/.turbo/turbo-build:types.log +0 -2
- package/.turbo/turbo-test.log +0 -131
- package/.turbo/turbo-type-check.log +0 -7
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
[33m@hero-design/rn:build[0m: cache hit, replaying output [
|
|
1
|
+
[33m@hero-design/rn:build[0m: cache hit, replaying output [2md678165ae574b440[0m
|
|
2
2
|
[33m@hero-design/rn:build: [0m$ yarn build:js && yarn build:types
|
|
3
3
|
[33m@hero-design/rn:build: [0m$ rollup -c
|
|
4
4
|
[33m@hero-design/rn:build: [0m[36m
|
|
5
5
|
[33m@hero-design/rn:build: [0m[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
6
6
|
[33m@hero-design/rn:build: [0m[1m[33m(!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.[39m[22m
|
|
7
|
-
[33m@hero-design/rn:build: [0m[32mcreated [1mlib/index.js, es/index.js[22m in [
|
|
7
|
+
[33m@hero-design/rn:build: [0m[32mcreated [1mlib/index.js, es/index.js[22m in [1m17.4s[22m[39m
|
|
8
8
|
[33m@hero-design/rn:build: [0m$ tsc --noEmit false --emitDeclarationOnly
|
package/es/index.js
CHANGED
|
@@ -1296,21 +1296,6 @@ function prefixer(element, index, children, callback) {
|
|
|
1296
1296
|
}
|
|
1297
1297
|
}
|
|
1298
1298
|
|
|
1299
|
-
var weakMemoize = function weakMemoize(func) {
|
|
1300
|
-
// $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
|
|
1301
|
-
var cache = new WeakMap();
|
|
1302
|
-
return function (arg) {
|
|
1303
|
-
if (cache.has(arg)) {
|
|
1304
|
-
// $FlowFixMe
|
|
1305
|
-
return cache.get(arg);
|
|
1306
|
-
}
|
|
1307
|
-
|
|
1308
|
-
var ret = func(arg);
|
|
1309
|
-
cache.set(arg, ret);
|
|
1310
|
-
return ret;
|
|
1311
|
-
};
|
|
1312
|
-
};
|
|
1313
|
-
|
|
1314
1299
|
var identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {
|
|
1315
1300
|
var previous = 0;
|
|
1316
1301
|
var character = 0;
|
|
@@ -1548,6 +1533,21 @@ function _extends$2() {
|
|
|
1548
1533
|
return _extends$2.apply(this, arguments);
|
|
1549
1534
|
}
|
|
1550
1535
|
|
|
1536
|
+
var weakMemoize = function weakMemoize(func) {
|
|
1537
|
+
// $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
|
|
1538
|
+
var cache = new WeakMap();
|
|
1539
|
+
return function (arg) {
|
|
1540
|
+
if (cache.has(arg)) {
|
|
1541
|
+
// $FlowFixMe
|
|
1542
|
+
return cache.get(arg);
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
var ret = func(arg);
|
|
1546
|
+
cache.set(arg, ret);
|
|
1547
|
+
return ret;
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
|
|
1551
1551
|
var EmotionCacheContext = /* #__PURE__ */createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1552
1552
|
// because this module is primarily intended for the browser and node
|
|
1553
1553
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -14757,7 +14757,6 @@ var Card = function Card(_ref) {
|
|
|
14757
14757
|
nativeProps = _objectWithoutProperties$1(_ref, _excluded$5);
|
|
14758
14758
|
|
|
14759
14759
|
return /*#__PURE__*/React.createElement(StyledCard, _extends$3({}, nativeProps, {
|
|
14760
|
-
testID: "card",
|
|
14761
14760
|
themeVariant: variant
|
|
14762
14761
|
}), variant === 'data' && /*#__PURE__*/React.createElement(LeftDataCard, {
|
|
14763
14762
|
testID: "data-card-indicator"
|
package/lib/index.js
CHANGED
|
@@ -1323,21 +1323,6 @@ function prefixer(element, index, children, callback) {
|
|
|
1323
1323
|
}
|
|
1324
1324
|
}
|
|
1325
1325
|
|
|
1326
|
-
var weakMemoize = function weakMemoize(func) {
|
|
1327
|
-
// $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
|
|
1328
|
-
var cache = new WeakMap();
|
|
1329
|
-
return function (arg) {
|
|
1330
|
-
if (cache.has(arg)) {
|
|
1331
|
-
// $FlowFixMe
|
|
1332
|
-
return cache.get(arg);
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
var ret = func(arg);
|
|
1336
|
-
cache.set(arg, ret);
|
|
1337
|
-
return ret;
|
|
1338
|
-
};
|
|
1339
|
-
};
|
|
1340
|
-
|
|
1341
1326
|
var identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {
|
|
1342
1327
|
var previous = 0;
|
|
1343
1328
|
var character = 0;
|
|
@@ -1575,6 +1560,21 @@ function _extends$2() {
|
|
|
1575
1560
|
return _extends$2.apply(this, arguments);
|
|
1576
1561
|
}
|
|
1577
1562
|
|
|
1563
|
+
var weakMemoize = function weakMemoize(func) {
|
|
1564
|
+
// $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
|
|
1565
|
+
var cache = new WeakMap();
|
|
1566
|
+
return function (arg) {
|
|
1567
|
+
if (cache.has(arg)) {
|
|
1568
|
+
// $FlowFixMe
|
|
1569
|
+
return cache.get(arg);
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
var ret = func(arg);
|
|
1573
|
+
cache.set(arg, ret);
|
|
1574
|
+
return ret;
|
|
1575
|
+
};
|
|
1576
|
+
};
|
|
1577
|
+
|
|
1578
1578
|
var EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1579
1579
|
// because this module is primarily intended for the browser and node
|
|
1580
1580
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -14784,7 +14784,6 @@ var Card = function Card(_ref) {
|
|
|
14784
14784
|
nativeProps = _objectWithoutProperties$1(_ref, _excluded$5);
|
|
14785
14785
|
|
|
14786
14786
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends$3({}, nativeProps, {
|
|
14787
|
-
testID: "card",
|
|
14788
14787
|
themeVariant: variant
|
|
14789
14788
|
}), variant === 'data' && /*#__PURE__*/React__default["default"].createElement(LeftDataCard, {
|
|
14790
14789
|
testID: "data-card-indicator"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/rn",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@emotion/native": "^11.9.3",
|
|
22
22
|
"@emotion/react": "^11.9.3",
|
|
23
|
-
"@hero-design/colors": "7.3.
|
|
23
|
+
"@hero-design/colors": "7.3.2"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "17.0.2",
|
|
@@ -26,7 +26,7 @@ const Card = ({
|
|
|
26
26
|
children,
|
|
27
27
|
...nativeProps
|
|
28
28
|
}: CardProps): JSX.Element => (
|
|
29
|
-
<StyledCard {...nativeProps}
|
|
29
|
+
<StyledCard {...nativeProps} themeVariant={variant}>
|
|
30
30
|
{variant === 'data' && <LeftDataCard testID="data-card-indicator" />}
|
|
31
31
|
{children}
|
|
32
32
|
</StyledCard>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/types/src/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Animated, View } from 'react-native';
|
|
3
|
+
import PagerView from 'react-native-pager-view';
|
|
4
|
+
declare const TabScreen: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
5
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
6
|
+
as?: import("react").ElementType<any> | undefined;
|
|
7
|
+
}, {}, {
|
|
8
|
+
ref?: import("react").Ref<View> | undefined;
|
|
9
|
+
}>;
|
|
10
|
+
declare const TabContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
11
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
+
as?: import("react").ElementType<any> | undefined;
|
|
13
|
+
}, {}, {
|
|
14
|
+
ref?: import("react").Ref<View> | undefined;
|
|
15
|
+
}>;
|
|
16
|
+
declare const ContentWrapper: import("@emotion/native").StyledComponent<import("react-native-pager-view").PagerViewProps & {
|
|
17
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
18
|
+
as?: import("react").ElementType<any> | undefined;
|
|
19
|
+
}, {}, {
|
|
20
|
+
ref?: import("react").Ref<PagerView> | undefined;
|
|
21
|
+
}>;
|
|
22
|
+
declare const HeaderTabWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
23
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
24
|
+
as?: import("react").ElementType<any> | undefined;
|
|
25
|
+
} & {
|
|
26
|
+
themeInsets: {
|
|
27
|
+
top: number;
|
|
28
|
+
right: number;
|
|
29
|
+
bottom: number;
|
|
30
|
+
left: number;
|
|
31
|
+
};
|
|
32
|
+
}, {}, {
|
|
33
|
+
ref?: import("react").Ref<View> | undefined;
|
|
34
|
+
}>;
|
|
35
|
+
declare const HeaderTabItem: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
36
|
+
children?: import("react").ReactNode;
|
|
37
|
+
} & {
|
|
38
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
39
|
+
as?: import("react").ElementType<any> | undefined;
|
|
40
|
+
}, {}, {}>;
|
|
41
|
+
declare const HeaderTabItemOutlineWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
42
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
43
|
+
as?: import("react").ElementType<any> | undefined;
|
|
44
|
+
}, {}, {
|
|
45
|
+
ref?: import("react").Ref<View> | undefined;
|
|
46
|
+
}>;
|
|
47
|
+
declare const HeaderTabItemOutline: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
48
|
+
children?: import("react").ReactNode;
|
|
49
|
+
} & {
|
|
50
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
51
|
+
as?: import("react").ElementType<any> | undefined;
|
|
52
|
+
} & {
|
|
53
|
+
themeActive: boolean;
|
|
54
|
+
}, {}, {}>;
|
|
55
|
+
declare const HeaderTabItemWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
56
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
57
|
+
as?: import("react").ElementType<any> | undefined;
|
|
58
|
+
}, {}, {
|
|
59
|
+
ref?: import("react").Ref<View> | undefined;
|
|
60
|
+
}>;
|
|
61
|
+
export { HeaderTabItem, TabScreen, TabContainer, HeaderTabWrapper, ContentWrapper, HeaderTabItemOutlineWrapper, HeaderTabItemOutline, HeaderTabItemWrapper, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
package/.expo/README.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
> Why do I have a folder named ".expo" in my project?
|
|
2
|
-
|
|
3
|
-
The ".expo" folder is created when an Expo project is started using "expo start" command.
|
|
4
|
-
|
|
5
|
-
> What do the files contain?
|
|
6
|
-
|
|
7
|
-
- "devices.json": contains information about devices that have recently opened this project. This is used to populate the "Development sessions" list in your development builds.
|
|
8
|
-
- "packager-info.json": contains port numbers and process PIDs that are used to serve the application to the mobile device/simulator.
|
|
9
|
-
- "settings.json": contains the server configuration that is used to serve the application manifest.
|
|
10
|
-
|
|
11
|
-
> Should I commit the ".expo" folder?
|
|
12
|
-
|
|
13
|
-
No, you should not share the ".expo" folder. It does not contain any information that is relevant for other developers working on the project, it is specific to your machine.
|
|
14
|
-
|
|
15
|
-
Upon project creation, the ".expo" folder is already added to your ".gitignore" file.
|
package/.expo/packager-info.json
DELETED
package/.expo/settings.json
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
2022-08-15 16:30:43.312 xcodebuild[51962:564141] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
|
|
2
|
-
2022-08-15 16:30:43.312 xcodebuild[51962:564141] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
|