@hero-design/rn 8.63.1 → 8.63.2-alpha.0
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/es/index.js +4 -4
- package/lib/index.js +4 -4
- package/package.json +3 -3
- package/src/components/Error/index.tsx +2 -2
- package/src/components/Tabs/ScrollableTabs.tsx +1 -1
- package/src/components/Tabs/index.tsx +1 -1
- package/types/components/Error/index.d.ts +2 -2
- package/.turbo/turbo-build.log +0 -5
package/es/index.js
CHANGED
|
@@ -14341,7 +14341,7 @@ var ErrorPage = function ErrorPage(_ref) {
|
|
|
14341
14341
|
* @param {ErrorProps}
|
|
14342
14342
|
* @return {*} {ReactElement}
|
|
14343
14343
|
*/
|
|
14344
|
-
var
|
|
14344
|
+
var ErrorComponent = function ErrorComponent(_ref2) {
|
|
14345
14345
|
var _ref2$visible = _ref2.visible,
|
|
14346
14346
|
visible = _ref2$visible === void 0 ? true : _ref2$visible,
|
|
14347
14347
|
_ref2$variant = _ref2.variant,
|
|
@@ -17896,7 +17896,7 @@ var ScrollableTab = function ScrollableTab(_ref) {
|
|
|
17896
17896
|
testID: componentTestID ? "".concat(componentTestID, "-tab-bar") : undefined,
|
|
17897
17897
|
variant: variant
|
|
17898
17898
|
}), /*#__PURE__*/React__default.createElement(PagerView, {
|
|
17899
|
-
useNext:
|
|
17899
|
+
useNext: false,
|
|
17900
17900
|
initialPage: selectedTabIndex,
|
|
17901
17901
|
ref: pagerViewRef,
|
|
17902
17902
|
onPageScrollStateChanged: function onPageScrollStateChanged(e) {
|
|
@@ -18033,7 +18033,7 @@ var Tabs = function Tabs(_ref2) {
|
|
|
18033
18033
|
tabsLength: tabs.length,
|
|
18034
18034
|
tabsWidth: tabsWidth
|
|
18035
18035
|
}))), /*#__PURE__*/React__default.createElement(AnimatedPagerView, {
|
|
18036
|
-
useNext:
|
|
18036
|
+
useNext: false,
|
|
18037
18037
|
initialPage: selectedTabIndex,
|
|
18038
18038
|
ref: pagerViewRef,
|
|
18039
18039
|
onPageSelected: function onPageSelected(e) {
|
|
@@ -35842,4 +35842,4 @@ function SectionListWithFAB(_ref) {
|
|
|
35842
35842
|
});
|
|
35843
35843
|
}
|
|
35844
35844
|
|
|
35845
|
-
export { Accordion, Alert, Attachment, index$8 as Avatar, Badge$1 as Badge, BottomNavigation, BottomSheet$1 as BottomSheet, Box, CompoundButton as Button, Calendar, Card$1 as Card, index$7 as Carousel, Checkbox, Chip, Collapse, ContentNavigator, DatePicker, Divider, index$6 as Drawer, Empty,
|
|
35845
|
+
export { Accordion, Alert, Attachment, index$8 as Avatar, Badge$1 as Badge, BottomNavigation, BottomSheet$1 as BottomSheet, Box, CompoundButton as Button, Calendar, Card$1 as Card, index$7 as Carousel, Checkbox, Chip, Collapse, ContentNavigator, DatePicker, Divider, index$6 as Drawer, Empty, ErrorComponent as Error, FAB, FlatListWithFAB, HeroDesignProvider, Icon, Image, List, PageControl, PinInput, Portal$1 as Portal, Progress, CompoundRadio as Radio, Rate, RefreshControl, index as RichTextEditor, ScrollViewWithFAB, SectionHeading, SectionListWithFAB, index$4 as Select, Skeleton, Slider, Spinner, Success, index$5 as Swipeable, index$3 as Switch, index$2 as Tabs, Tag, TextInput, ThemeProvider, ThemeSwitcher, TimePicker, Toast, index$1 as Toolbar, Typography, eBensSystemPalette, getTheme$1 as getTheme, jobsSystemPalette, scale, swagDarkSystemPalette, swagSystemPalette, defaultTheme as theme, useAvatarColors, useTheme, walletSystemPalette, withTheme, workSystemPalette };
|
package/lib/index.js
CHANGED
|
@@ -14371,7 +14371,7 @@ var ErrorPage = function ErrorPage(_ref) {
|
|
|
14371
14371
|
* @param {ErrorProps}
|
|
14372
14372
|
* @return {*} {ReactElement}
|
|
14373
14373
|
*/
|
|
14374
|
-
var
|
|
14374
|
+
var ErrorComponent = function ErrorComponent(_ref2) {
|
|
14375
14375
|
var _ref2$visible = _ref2.visible,
|
|
14376
14376
|
visible = _ref2$visible === void 0 ? true : _ref2$visible,
|
|
14377
14377
|
_ref2$variant = _ref2.variant,
|
|
@@ -17926,7 +17926,7 @@ var ScrollableTab = function ScrollableTab(_ref) {
|
|
|
17926
17926
|
testID: componentTestID ? "".concat(componentTestID, "-tab-bar") : undefined,
|
|
17927
17927
|
variant: variant
|
|
17928
17928
|
}), /*#__PURE__*/React__default["default"].createElement(PagerView__default["default"], {
|
|
17929
|
-
useNext:
|
|
17929
|
+
useNext: false,
|
|
17930
17930
|
initialPage: selectedTabIndex,
|
|
17931
17931
|
ref: pagerViewRef,
|
|
17932
17932
|
onPageScrollStateChanged: function onPageScrollStateChanged(e) {
|
|
@@ -18063,7 +18063,7 @@ var Tabs = function Tabs(_ref2) {
|
|
|
18063
18063
|
tabsLength: tabs.length,
|
|
18064
18064
|
tabsWidth: tabsWidth
|
|
18065
18065
|
}))), /*#__PURE__*/React__default["default"].createElement(AnimatedPagerView, {
|
|
18066
|
-
useNext:
|
|
18066
|
+
useNext: false,
|
|
18067
18067
|
initialPage: selectedTabIndex,
|
|
18068
18068
|
ref: pagerViewRef,
|
|
18069
18069
|
onPageSelected: function onPageSelected(e) {
|
|
@@ -35892,7 +35892,7 @@ exports.DatePicker = DatePicker;
|
|
|
35892
35892
|
exports.Divider = Divider;
|
|
35893
35893
|
exports.Drawer = index$6;
|
|
35894
35894
|
exports.Empty = Empty;
|
|
35895
|
-
exports.Error =
|
|
35895
|
+
exports.Error = ErrorComponent;
|
|
35896
35896
|
exports.FAB = FAB;
|
|
35897
35897
|
exports.FlatListWithFAB = FlatListWithFAB;
|
|
35898
35898
|
exports.HeroDesignProvider = HeroDesignProvider;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/rn",
|
|
3
|
-
"version": "8.63.
|
|
3
|
+
"version": "8.63.2-alpha.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@hero-design/react-native-month-year-picker": "^8.42.9",
|
|
32
|
-
"@react-native-community/datetimepicker": "^3.5.2 || ^7.
|
|
32
|
+
"@react-native-community/datetimepicker": "^3.5.2 || ^7.6.1",
|
|
33
33
|
"@react-native-community/slider": "^4.5.1",
|
|
34
34
|
"react": "18.2.0",
|
|
35
35
|
"react-native": "^0.73.8",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@emotion/jest": "^11.11.0",
|
|
50
50
|
"@hero-design/eslint-plugin": "9.0.0",
|
|
51
51
|
"@hero-design/react-native-month-year-picker": "^8.42.9",
|
|
52
|
-
"@react-native-community/datetimepicker": "7.
|
|
52
|
+
"@react-native-community/datetimepicker": "7.6.1",
|
|
53
53
|
"@react-native-community/slider": "^4.5.1",
|
|
54
54
|
"@rollup/plugin-babel": "^5.3.1",
|
|
55
55
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
@@ -159,7 +159,7 @@ const ErrorPage = ({
|
|
|
159
159
|
* @param {ErrorProps}
|
|
160
160
|
* @return {*} {ReactElement}
|
|
161
161
|
*/
|
|
162
|
-
const
|
|
162
|
+
const ErrorComponent = ({
|
|
163
163
|
visible = true,
|
|
164
164
|
variant = 'in-page',
|
|
165
165
|
title,
|
|
@@ -257,4 +257,4 @@ const Error = ({
|
|
|
257
257
|
);
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export default
|
|
260
|
+
export default ErrorComponent;
|
|
@@ -52,5 +52,5 @@ interface ErrorProps extends ViewProps {
|
|
|
52
52
|
* @param {ErrorProps}
|
|
53
53
|
* @return {*} {ReactElement}
|
|
54
54
|
*/
|
|
55
|
-
declare const
|
|
56
|
-
export default
|
|
55
|
+
declare const ErrorComponent: ({ visible, variant, title, description, image, testID, ctaText, onCtaPress, secondaryCtaText, onSecondaryCtaPress, ...nativeProps }: ErrorProps) => ReactElement;
|
|
56
|
+
export default ErrorComponent;
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
[36m
|
|
2
|
-
[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
3
|
-
[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
|
|
4
|
-
[1m[33m(!) Plugin node-resolve: preferring built-in module 'events' over local alternative at '/home/runner/work/hero-design/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning[39m[22m
|
|
5
|
-
[32mcreated [1mlib/index.js, es/index.js[22m in [1m1m 0.7s[22m[39m
|