@hero-design/rn 8.63.2-alpha.0 → 8.63.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.
@@ -0,0 +1,5 @@
1
+ 
2
+ src/index.ts → lib/index.js, es/index.js...
3
+ (!) 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`.
4
+ (!) 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
5
+ created lib/index.js, es/index.js in 1m 1s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @hero-design/rn
2
2
 
3
+ ## 8.63.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3112](https://github.com/Thinkei/hero-design/pull/3112) [`81863a4dd`](https://github.com/Thinkei/hero-design/commit/81863a4ddf02cb87ebc21b8e2fab217166c71339) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - Update Error component local name
8
+
9
+ - [#3116](https://github.com/Thinkei/hero-design/pull/3116) [`93ce5c6d4`](https://github.com/Thinkei/hero-design/commit/93ce5c6d461d813ba37a3bc26cb817ecad21ee62) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Slider] Update thumb color
10
+
11
+ - [#3104](https://github.com/Thinkei/hero-design/pull/3104) [`f978158f5`](https://github.com/Thinkei/hero-design/commit/f978158f5e649748fbdd42b2eba4b789458a10f9) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - Upgrade Expo SDK to v50
12
+
3
13
  ## 8.63.1
4
14
 
5
15
  ### Patch Changes
package/es/index.js CHANGED
@@ -3085,7 +3085,7 @@ var getSkeletonTheme = function getSkeletonTheme(theme) {
3085
3085
  var getSliderTheme = function getSliderTheme(theme) {
3086
3086
  var colors = {
3087
3087
  minimumTrackTint: theme.colors.primary,
3088
- thumbTint: theme.colors.neutralGlobalSurface,
3088
+ thumbTint: theme.colors.primary,
3089
3089
  maximumTrackTint: theme.colors.highlightedSurface
3090
3090
  };
3091
3091
  return {
@@ -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: false,
17899
+ useNext: true,
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: false,
18036
+ useNext: true,
18037
18037
  initialPage: selectedTabIndex,
18038
18038
  ref: pagerViewRef,
18039
18039
  onPageSelected: function onPageSelected(e) {
package/lib/index.js CHANGED
@@ -3115,7 +3115,7 @@ var getSkeletonTheme = function getSkeletonTheme(theme) {
3115
3115
  var getSliderTheme = function getSliderTheme(theme) {
3116
3116
  var colors = {
3117
3117
  minimumTrackTint: theme.colors.primary,
3118
- thumbTint: theme.colors.neutralGlobalSurface,
3118
+ thumbTint: theme.colors.primary,
3119
3119
  maximumTrackTint: theme.colors.highlightedSurface
3120
3120
  };
3121
3121
  return {
@@ -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: false,
17929
+ useNext: true,
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: false,
18066
+ useNext: true,
18067
18067
  initialPage: selectedTabIndex,
18068
18068
  ref: pagerViewRef,
18069
18069
  onPageSelected: function onPageSelected(e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "8.63.2-alpha.0",
3
+ "version": "8.63.2",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -15,7 +15,7 @@ exports[`Slider renders correctly by default 1`] = `
15
15
  minimumTrackTintColor="#401960"
16
16
  minimumValue={0}
17
17
  step={0}
18
- thumbTintColor="#f6f6f7"
18
+ thumbTintColor="#401960"
19
19
  value={0}
20
20
  />
21
21
  <View
@@ -56,7 +56,7 @@ exports[`Slider renders correctly when disabled 1`] = `
56
56
  minimumTrackTintColor="#401960"
57
57
  minimumValue={0}
58
58
  step={0}
59
- thumbTintColor="#f6f6f7"
59
+ thumbTintColor="#401960"
60
60
  value={0}
61
61
  />
62
62
  <View
@@ -100,7 +100,7 @@ exports[`Slider renders correctly with props 1`] = `
100
100
  onSlidingStart={[MockFunction]}
101
101
  onValueChange={[MockFunction]}
102
102
  step={0.25}
103
- thumbTintColor="#f6f6f7"
103
+ thumbTintColor="#401960"
104
104
  value={0.5}
105
105
  />
106
106
  <View
@@ -69,7 +69,7 @@ const ScrollableTab = ({
69
69
  variant={variant}
70
70
  />
71
71
  <PagerView
72
- useNext={false}
72
+ useNext
73
73
  initialPage={selectedTabIndex}
74
74
  ref={pagerViewRef}
75
75
  onPageScrollStateChanged={(e) => {
@@ -195,7 +195,7 @@ const Tabs = ({
195
195
  </View>
196
196
  </HeaderTabWrapper>
197
197
  <AnimatedPagerView
198
- useNext={false}
198
+ useNext
199
199
  initialPage={selectedTabIndex}
200
200
  ref={pagerViewRef}
201
201
  onPageSelected={(e) => {
@@ -817,7 +817,7 @@ exports[`theme returns correct theme object 1`] = `
817
817
  "colors": {
818
818
  "maximumTrackTint": "#ece8ef",
819
819
  "minimumTrackTint": "#401960",
820
- "thumbTint": "#f6f6f7",
820
+ "thumbTint": "#401960",
821
821
  },
822
822
  },
823
823
  "spinner": {
@@ -3,7 +3,7 @@ import type { GlobalTheme } from '../global';
3
3
  const getSliderTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
5
  minimumTrackTint: theme.colors.primary,
6
- thumbTint: theme.colors.neutralGlobalSurface,
6
+ thumbTint: theme.colors.primary,
7
7
  maximumTrackTint: theme.colors.highlightedSurface,
8
8
  };
9
9