@draftbit/core 47.1.1-b098d3.2 → 47.1.1-cbba04.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.
@@ -45,7 +45,7 @@ const SEED_DATA = {
45
45
  }),
46
46
  showsHorizontalScrollIndicator: (0, _types.createStaticBoolProp)({
47
47
  label: "Show Horizontal Scroll Indicator",
48
- description: "When true, shows a horizontal scroll indicator. The default value is true.",
48
+ description: "When true, shows a horizontal scroll indicator. The default value is false.",
49
49
  defaultValue: false
50
50
  }),
51
51
  showsVerticalScrollIndicator: (0, _types.createStaticBoolProp)({
@@ -1,4 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
1
  import * as React from "react";
3
2
  import { Button, Text, View, StyleSheet, Animated } from "react-native";
4
3
  import Surface from "./Surface";
@@ -61,7 +60,6 @@ const Banner = _ref => {
61
60
  measured: true
62
61
  });
63
62
  };
64
-
65
63
  // The banner animation has 2 parts:
66
64
  // 1. Blank spacer element which animates its height to move the content
67
65
  // 2. Actual banner which animates its translateY
@@ -71,9 +69,10 @@ const Banner = _ref => {
71
69
  // However we can't animated banner's height directly as it'll also resize the content inside
72
70
  const height = Animated.multiply(position, layout.height);
73
71
  const translateY = Animated.multiply(Animated.add(position, -1), layout.height);
74
- return /*#__PURE__*/React.createElement(Surface, _extends({}, rest, {
72
+ return /*#__PURE__*/React.createElement(Surface, {
73
+ ...rest,
75
74
  style: [styles.container, shadow(ELEVATION), style]
76
- }), /*#__PURE__*/React.createElement(View, {
75
+ }, /*#__PURE__*/React.createElement(View, {
77
76
  style: [styles.wrapper, contentStyle]
78
77
  }, /*#__PURE__*/React.createElement(Animated.View, {
79
78
  style: {
@@ -154,4 +153,26 @@ const styles = StyleSheet.create({
154
153
  margin: 8
155
154
  }
156
155
  });
156
+ export default withTheme(Banner);
157
+ },
158
+ content: {
159
+ flexDirection: "row",
160
+ justifyContent: "flex-start",
161
+ marginHorizontal: 8,
162
+ marginTop: 16,
163
+ marginBottom: 0
164
+ },
165
+ icon: {
166
+ margin: 8
167
+ },
168
+ message: {
169
+ flex: 1,
170
+ margin: 8
171
+ },
172
+ actions: {
173
+ flexDirection: "row",
174
+ justifyContent: "flex-end",
175
+ margin: 8
176
+ }
177
+ });
157
178
  export default withTheme(Banner);
@@ -1,5 +1,5 @@
1
1
  import { createContext, useContext } from "react";
2
- export let Direction;
2
+ export var Direction;
3
3
  (function (Direction) {
4
4
  Direction["Horizontal"] = "horizontal";
5
5
  Direction["Vertical"] = "vertical";
@@ -1,4 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
1
  import * as React from "react";
3
2
  import { ActivityIndicator, View, Text, StyleSheet, Pressable } from "react-native";
4
3
  import color from "color";
@@ -75,7 +74,8 @@ const Button = _ref => {
75
74
  elevation,
76
75
  alignSelf: "stretch"
77
76
  }
78
- }, /*#__PURE__*/React.createElement(Pressable, _extends({}, rest, {
77
+ }, /*#__PURE__*/React.createElement(Pressable, {
78
+ ...rest,
79
79
  onPress: onPress,
80
80
  accessibilityState: {
81
81
  disabled
@@ -83,7 +83,7 @@ const Button = _ref => {
83
83
  accessibilityRole: "button",
84
84
  disabled: disabled || loading,
85
85
  style: [styles.button, buttonStyle]
86
- }), /*#__PURE__*/React.createElement(View, {
86
+ }, /*#__PURE__*/React.createElement(View, {
87
87
  style: styles.content
88
88
  }, icon && loading !== true ? /*#__PURE__*/React.createElement(View, {
89
89
  style: iconStyle
@@ -114,4 +114,22 @@ const styles = StyleSheet.create({
114
114
  width: Config.buttonIconSize
115
115
  }
116
116
  });
117
+ export default withTheme(Button);: 1,
118
+ style: [textStyle, typography.button]
119
+ }, children))));
120
+ };
121
+ const styles = StyleSheet.create({
122
+ button: {
123
+ minWidth: 64,
124
+ borderStyle: "solid"
125
+ },
126
+ content: {
127
+ flexDirection: "row",
128
+ alignItems: "center",
129
+ justifyContent: "center"
130
+ },
131
+ icon: {
132
+ width: Config.buttonIconSize
133
+ }
134
+ });
117
135
  export default withTheme(Button);
@@ -1,4 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
1
  import React from "react";
3
2
  import { withTheme } from "../theming";
4
3
  import Touchable from "./Touchable";
@@ -13,6 +12,24 @@ const getWidth = numColumns => {
13
12
  }
14
13
  };
15
14
  const Card = _ref => {
15
+ let {
16
+ numColumns = 3,
17
+ children,
18
+ onPress,
19
+ style,
20
+ ...rest
21
+ } = _ref;
22
+ const width = getWidth(numColumns);
23
+ return /*#__PURE__*/React.createElement(Touchable, {
24
+ disabled: !onPress,
25
+ onPress: onPress,
26
+ style: [style, {
27
+ width
28
+ }],
29
+ ...rest
30
+ }, children);
31
+ };
32
+ export default withTheme(Card);ef => {
16
33
  let {
17
34
  numColumns = 3,
18
35
  children,
@@ -1,8 +1,5 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
1
  import * as React from "react";
3
2
  import { View } from "react-native";
4
- // @ts-ignore
5
-
6
3
  export function Center(_ref) {
7
4
  let {
8
5
  width = 240,
@@ -12,15 +9,16 @@ export function Center(_ref) {
12
9
  style,
13
10
  ...rest
14
11
  } = _ref;
15
- return /*#__PURE__*/React.createElement(View, _extends({
12
+ return /*#__PURE__*/React.createElement(View, {
16
13
  style: [{
17
14
  justifyContent: "center",
18
15
  alignItems: "center",
19
16
  width,
20
17
  height,
21
18
  backgroundColor: bgColor
22
- }, style]
23
- }, rest), children);
19
+ }, style],
20
+ ...rest
21
+ }, children);
24
22
  }
25
23
  export function Circle(_ref2) {
26
24
  let {
@@ -31,7 +29,7 @@ export function Circle(_ref2) {
31
29
  ...rest
32
30
  } = _ref2;
33
31
  const borderRadius = 1000;
34
- return /*#__PURE__*/React.createElement(Center, _extends({
32
+ return /*#__PURE__*/React.createElement(Center, {
35
33
  width: size,
36
34
  height: size,
37
35
  bgColor: bgColor,
@@ -39,8 +37,9 @@ export function Circle(_ref2) {
39
37
  backgroundColor: bgColor,
40
38
  borderRadius,
41
39
  overflow: "hidden"
42
- }]
43
- }, rest), children);
40
+ }],
41
+ ...rest
42
+ }, children);
44
43
  }
45
44
  export function Square(_ref3) {
46
45
  let {
@@ -50,12 +49,13 @@ export function Square(_ref3) {
50
49
  style,
51
50
  ...rest
52
51
  } = _ref3;
53
- return /*#__PURE__*/React.createElement(Center, _extends({
52
+ return /*#__PURE__*/React.createElement(Center, {
54
53
  style: style,
55
54
  width: size,
56
55
  height: size,
57
- bgColor: bgColor
58
- }, rest), children);
56
+ bgColor: bgColor,
57
+ ...rest
58
+ }, children);
59
59
  }
60
60
  export function Row(_ref4) {
61
61
  let {
@@ -65,15 +65,14 @@ export function Row(_ref4) {
65
65
  style,
66
66
  ...rest
67
67
  } = _ref4;
68
- return /*#__PURE__*/React.createElement(View, _extends({
69
- style: [style,
70
- // style goes first b/c we can't override these
71
- {
68
+ return /*#__PURE__*/React.createElement(View, {
69
+ style: [style, {
72
70
  alignItems,
73
71
  flexDirection: "row",
74
72
  justifyContent: justifyContent
75
- }]
76
- }, rest), children);
73
+ }],
74
+ ...rest
75
+ }, children);
77
76
  }
78
77
  export function Spacer(_ref5) {
79
78
  let {
@@ -85,14 +84,36 @@ export function Spacer(_ref5) {
85
84
  style,
86
85
  ...rest
87
86
  } = _ref5;
88
- return /*#__PURE__*/React.createElement(View, _extends({
87
+ return /*#__PURE__*/React.createElement(View, {
89
88
  style: [style, {
90
89
  paddingRight: right,
91
90
  paddingTop: top,
92
91
  paddingLeft: left,
93
92
  paddingBottom: bottom
94
- }]
95
- }, rest), children);
93
+ }],
94
+ ...rest
95
+ }, children);
96
+ }
97
+ export function Stack(_ref6) {
98
+ let {
99
+ children,
100
+ justifyContent = "flex-start",
101
+ alignItems = "flex-start",
102
+ style,
103
+ ...rest
104
+ } = _ref6;
105
+ return (
106
+ /*#__PURE__*/
107
+ // style must go first since we don't want justifyContent, alignItems overridden
108
+ React.createElement(View, {
109
+ style: [style, {
110
+ justifyContent,
111
+ alignItems
112
+ }],
113
+ ...rest
114
+ }, children)
115
+ );
116
+ }hildren);
96
117
  }
97
118
  export function Stack(_ref6) {
98
119
  let {
@@ -1,4 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
1
  import React from "react";
3
2
  import { Pressable as NativePressable } from "react-native";
4
3
  export default function Pressable(_ref) {
@@ -13,8 +12,22 @@ export default function Pressable(_ref) {
13
12
  style,
14
13
  ...props
15
14
  } = _ref;
16
- return /*#__PURE__*/React.createElement(NativePressable, _extends({
15
+ return /*#__PURE__*/React.createElement(NativePressable, {
17
16
  onPress: onPress,
17
+ disabled: disabled,
18
+ delayLongPress: delayLongPress ? delayLongPress : 500,
19
+ hitSlop: hitSlop ? hitSlop : 8,
20
+ style: _ref2 => {
21
+ let {
22
+ pressed
23
+ } = _ref2;
24
+ return [{
25
+ opacity: pressed ? activeOpacity : disabled ? disabledOpacity : 1
26
+ }, style];
27
+ },
28
+ ...props
29
+ }, children);
30
+ } onPress: onPress,
18
31
  disabled: disabled,
19
32
  delayLongPress: delayLongPress ? delayLongPress : 500,
20
33
  hitSlop: hitSlop ? hitSlop : 8,
@@ -1,7 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
4
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
5
1
  import React, { Component } from "react";
6
2
  import { Animated, Easing, View, I18nManager } from "react-native";
7
3
  const INDETERMINATE_WIDTH_FACTOR = 0.3;
@@ -9,7 +5,7 @@ const BAR_WIDTH_ZERO_POSITION = INDETERMINATE_WIDTH_FACTOR / (1 + INDETERMINATE_
9
5
  export default class ProgressBar extends Component {
10
6
  constructor(props) {
11
7
  super(props);
12
- _defineProperty(this, "handleLayout", event => {
8
+ this.handleLayout = event => {
13
9
  const {
14
10
  width = 150,
15
11
  onLayout
@@ -22,7 +18,7 @@ export default class ProgressBar extends Component {
22
18
  if (onLayout) {
23
19
  onLayout(event);
24
20
  }
25
- });
21
+ };
26
22
  const {
27
23
  progress: progressP = 0,
28
24
  indeterminate = false
@@ -70,7 +66,6 @@ export default class ProgressBar extends Component {
70
66
  ...animationConfig,
71
67
  toValue: progress,
72
68
  velocity: 0,
73
- //adjust this value if animation fails - velocity is required
74
69
  useNativeDriver
75
70
  }).start();
76
71
  } else {
@@ -139,6 +134,43 @@ export default class ProgressBar extends Component {
139
134
  })
140
135
  }]
141
136
  };
137
+ return /*#__PURE__*/React.createElement(View, {
138
+ style: [containerStyle, style],
139
+ onLayout: this.handleLayout,
140
+ ...restProps
141
+ }, /*#__PURE__*/React.createElement(Animated.View, {
142
+ style: progressStyle
143
+ }), children);
144
+ }
145
+ } width,
146
+ borderWidth,
147
+ borderColor: borderColor || color,
148
+ borderRadius,
149
+ overflow: "hidden",
150
+ backgroundColor: unfilledColor
151
+ };
152
+ const progressStyle = {
153
+ backgroundColor: color,
154
+ // Always take up full height of container.
155
+ height: "100%",
156
+ transform: [{
157
+ translateX: this.state.animationValue.interpolate({
158
+ inputRange: [0, 1],
159
+ outputRange: [innerWidth * -INDETERMINATE_WIDTH_FACTOR, innerWidth]
160
+ })
161
+ }, {
162
+ translateX: this.state.progress.interpolate({
163
+ inputRange: [0, 1],
164
+ outputRange: [innerWidth / (I18nManager.isRTL ? 2 : -2), 0]
165
+ })
166
+ }, {
167
+ // Interpolation a temp workaround for https://github.com/facebook/react-native/issues/6278
168
+ scaleX: this.state.progress.interpolate({
169
+ inputRange: [0, 1],
170
+ outputRange: [0.0001, 1]
171
+ })
172
+ }]
173
+ };
142
174
  return /*#__PURE__*/React.createElement(View, _extends({
143
175
  style: [containerStyle, style],
144
176
  onLayout: this.handleLayout
@@ -1,4 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
1
  import * as React from "react";
3
2
  import { View, StyleSheet, Pressable } from "react-native";
4
3
  import { withTheme } from "../theming";
@@ -32,9 +31,10 @@ const StarRating = _ref => {
32
31
  !!onPress && onPress(r);
33
32
  }, [onPress]);
34
33
  const ratingRounded = Math.round(localRating * 2) / 2;
35
- return /*#__PURE__*/React.createElement(View, _extends({
36
- style: [styles.container, style]
37
- }, rest), [...Array(maxStars)].map((_, i) => /*#__PURE__*/React.createElement(View, {
34
+ return /*#__PURE__*/React.createElement(View, {
35
+ style: [styles.container, style],
36
+ ...rest
37
+ }, [...Array(maxStars)].map((_, i) => /*#__PURE__*/React.createElement(View, {
38
38
  key: i,
39
39
  style: {
40
40
  display: "flex"
@@ -74,4 +74,24 @@ const styles = StyleSheet.create({
74
74
  width: "50%"
75
75
  }
76
76
  });
77
+ export default withTheme(StarRating);ntainer: {
78
+ flexDirection: "row",
79
+ alignItems: "center"
80
+ },
81
+ touchContainer: {
82
+ display: "flex",
83
+ flexDirection: "row",
84
+ position: "absolute",
85
+ top: 0,
86
+ right: 0,
87
+ left: 0,
88
+ bottom: 0,
89
+ zIndex: 1
90
+ },
91
+ pressable: {
92
+ flex: 1,
93
+ height: "100%",
94
+ width: "50%"
95
+ }
96
+ });
77
97
  export default withTheme(StarRating);
@@ -1,6 +1,3 @@
1
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
1
  // @ts-nocheck
5
2
  import React, { Component } from "react";
6
3
  import { View, Text, StyleSheet, Animated, TouchableWithoutFeedback } from "react-native";
@@ -12,7 +9,7 @@ const STEP_STATUS = {
12
9
  export default class StepIndicator extends Component {
13
10
  constructor(props) {
14
11
  super(props);
15
- _defineProperty(this, "renderProgressBarBackground", () => {
12
+ this.renderProgressBarBackground = () => {
16
13
  const {
17
14
  stepCount,
18
15
  direction
@@ -55,8 +52,8 @@ export default class StepIndicator extends Component {
55
52
  },
56
53
  style: progressBarBackgroundStyle
57
54
  });
58
- });
59
- _defineProperty(this, "renderProgressBar", () => {
55
+ };
56
+ this.renderProgressBar = () => {
60
57
  const {
61
58
  stepCount,
62
59
  direction
@@ -86,8 +83,8 @@ export default class StepIndicator extends Component {
86
83
  return /*#__PURE__*/React.createElement(Animated.View, {
87
84
  style: progressBarStyle
88
85
  });
89
- });
90
- _defineProperty(this, "renderStepIndicator", () => {
86
+ };
87
+ this.renderStepIndicator = () => {
91
88
  let steps = [];
92
89
  const {
93
90
  stepCount,
@@ -118,8 +115,8 @@ export default class StepIndicator extends Component {
118
115
  height: this.state.customStyles.currentStepIndicatorSize
119
116
  }]
120
117
  }, steps);
121
- });
122
- _defineProperty(this, "renderStepLabels", () => {
118
+ };
119
+ this.renderStepLabels = () => {
123
120
  const {
124
121
  labels,
125
122
  direction,
@@ -161,8 +158,8 @@ export default class StepIndicator extends Component {
161
158
  alignItems: this.state.customStyles.labelAlign
162
159
  }]
163
160
  }, labelViews);
164
- });
165
- _defineProperty(this, "renderStep", position => {
161
+ };
162
+ this.renderStep = position => {
166
163
  const {
167
164
  renderStepIndicator
168
165
  } = this.props;
@@ -229,8 +226,8 @@ export default class StepIndicator extends Component {
229
226
  }) : /*#__PURE__*/React.createElement(Text, {
230
227
  style: indicatorLabelStyle
231
228
  }, "".concat(position + 1)));
232
- });
233
- _defineProperty(this, "getStepStatus", stepPosition => {
229
+ };
230
+ this.getStepStatus = stepPosition => {
234
231
  const {
235
232
  currentPosition
236
233
  } = this.props;
@@ -241,8 +238,8 @@ export default class StepIndicator extends Component {
241
238
  } else {
242
239
  return STEP_STATUS.UNFINISHED;
243
240
  }
244
- });
245
- _defineProperty(this, "onCurrentPositionChanged", position => {
241
+ };
242
+ this.onCurrentPositionChanged = position => {
246
243
  let {
247
244
  stepCount
248
245
  } = this.props;
@@ -262,7 +259,7 @@ export default class StepIndicator extends Component {
262
259
  toValue: this.state.customStyles.currentStepIndicatorSize / 2,
263
260
  duration: 100
264
261
  })])]).start();
265
- });
262
+ };
266
263
  const defaultStyles = {
267
264
  stepIndicatorSize: 30,
268
265
  currentStepIndicatorSize: 40,
@@ -328,7 +325,6 @@ export default class StepIndicator extends Component {
328
325
  // ),
329
326
  // }));
330
327
  // }
331
-
332
328
  if (prevProps.currentPosition !== this.props.currentPosition) {
333
329
  this.onCurrentPositionChanged(this.props.currentPosition);
334
330
  }
@@ -369,6 +365,50 @@ const styles = StyleSheet.create({
369
365
  justifyContent: "center"
370
366
  }
371
367
  });
368
+ StepIndicator.defaultProps = {
369
+ currentPosition: 0,
370
+ stepCount: 5,
371
+ customStyles: {},
372
+ direction: "horizontal"
373
+ };rrentPositionChanged(this.props.currentPosition);
374
+ }
375
+ }
376
+ }
377
+ const styles = StyleSheet.create({
378
+ container: {
379
+ backgroundColor: "transparent"
380
+ },
381
+ stepIndicatorContainer: {
382
+ flexDirection: "row",
383
+ alignItems: "center",
384
+ justifyContent: "space-around",
385
+ backgroundColor: "transparent"
386
+ },
387
+ stepLabelsContainer: {
388
+ justifyContent: "space-around"
389
+ },
390
+ step: {
391
+ alignItems: "center",
392
+ justifyContent: "center",
393
+ zIndex: 2
394
+ },
395
+ stepContainer: {
396
+ flex: 1,
397
+ flexDirection: "row",
398
+ alignItems: "center",
399
+ justifyContent: "center"
400
+ },
401
+ stepLabel: {
402
+ fontSize: 12,
403
+ textAlign: "center",
404
+ fontWeight: "500"
405
+ },
406
+ stepLabelItem: {
407
+ flex: 1,
408
+ alignItems: "center",
409
+ justifyContent: "center"
410
+ }
411
+ });
372
412
  StepIndicator.defaultProps = {
373
413
  currentPosition: 0,
374
414
  stepCount: 5,
@@ -39,7 +39,7 @@ export const SEED_DATA = {
39
39
  }),
40
40
  showsHorizontalScrollIndicator: createStaticBoolProp({
41
41
  label: "Show Horizontal Scroll Indicator",
42
- description: "When true, shows a horizontal scroll indicator. The default value is true.",
42
+ description: "When true, shows a horizontal scroll indicator. The default value is false.",
43
43
  defaultValue: false
44
44
  }),
45
45
  showsVerticalScrollIndicator: createStaticBoolProp({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@draftbit/core",
3
- "version": "47.1.1-b098d3.2+b098d38",
3
+ "version": "47.1.1-cbba04.2+cbba041",
4
4
  "description": "Core (non-native) Components",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@date-io/date-fns": "^1.3.13",
43
43
  "@draftbit/react-theme-provider": "^2.1.1",
44
- "@draftbit/types": "^47.1.1-b098d3.2+b098d38",
44
+ "@draftbit/types": "^47.1.1-cbba04.2+cbba041",
45
45
  "@material-ui/core": "^4.11.0",
46
46
  "@material-ui/pickers": "^3.2.10",
47
47
  "@react-native-community/slider": "4.2.4",
@@ -91,5 +91,5 @@
91
91
  ]
92
92
  ]
93
93
  },
94
- "gitHead": "b098d382bff80e485e1e9abd09990aae21718bd1"
94
+ "gitHead": "cbba0414f7f4bf4a0db86c00457165d57d57e676"
95
95
  }
@@ -39,7 +39,7 @@ export const SEED_DATA = {
39
39
  }),
40
40
  showsHorizontalScrollIndicator: createStaticBoolProp({
41
41
  label: "Show Horizontal Scroll Indicator",
42
- description: "When true, shows a horizontal scroll indicator. The default value is true.",
42
+ description: "When true, shows a horizontal scroll indicator. The default value is false.",
43
43
  defaultValue: false,
44
44
  }),
45
45
  showsVerticalScrollIndicator: createStaticBoolProp({
@@ -51,7 +51,7 @@ export const SEED_DATA = {
51
51
  showsHorizontalScrollIndicator: createStaticBoolProp({
52
52
  label: "Show Horizontal Scroll Indicator",
53
53
  description:
54
- "When true, shows a horizontal scroll indicator. The default value is true.",
54
+ "When true, shows a horizontal scroll indicator. The default value is false.",
55
55
  defaultValue: false,
56
56
  }),
57
57
  showsVerticalScrollIndicator: createStaticBoolProp({