@draftbit/core 46.9.1-200936.2 → 46.9.1-2ce152.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.
@@ -68,8 +68,7 @@ const styles = _reactNative.StyleSheet.create({
68
68
  },
69
69
  contentContainerStyle: {
70
70
  paddingHorizontal: 16,
71
- paddingVertical: 10,
72
- flex: 1
71
+ paddingVertical: 10
73
72
  },
74
73
  containerStyle: {
75
74
  flex: 1,
@@ -13,8 +13,7 @@ const SEED_DATA = {
13
13
  stylesPanelSections: _types.CONTAINER_COMPONENT_STYLES_SECTIONS,
14
14
  layout: {
15
15
  paddingHorizontal: 16,
16
- paddingVertical: 10,
17
- flex: 1
16
+ paddingVertical: 10
18
17
  },
19
18
  triggers: [_types.Triggers.OnSettle],
20
19
  props: {
@@ -61,8 +61,7 @@ const styles = StyleSheet.create({
61
61
  },
62
62
  contentContainerStyle: {
63
63
  paddingHorizontal: 16,
64
- paddingVertical: 10,
65
- flex: 1
64
+ paddingVertical: 10
66
65
  },
67
66
  containerStyle: {
68
67
  flex: 1,
@@ -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 { View } from "react-native";
4
3
  import Text from "../Text";
@@ -20,6 +19,16 @@ const RadioButtonFieldGroup = _ref => {
20
19
  fontSize: theme.typography.headline4.fontSize,
21
20
  color: theme.typography.headline4.color
22
21
  }, labelStyle]
22
+ }, label), /*#__PURE__*/React.createElement(RadioButtonGroup, {
23
+ theme: theme,
24
+ ...rest
25
+ }, children));
26
+ };
27
+ export default withTheme(RadioButtonFieldGroup);}, /*#__PURE__*/React.createElement(Text, {
28
+ style: [{
29
+ fontSize: theme.typography.headline4.fontSize,
30
+ color: theme.typography.headline4.color
31
+ }, labelStyle]
23
32
  }, label), /*#__PURE__*/React.createElement(RadioButtonGroup, _extends({
24
33
  theme: theme
25
34
  }, rest), children));
@@ -6,5 +6,4 @@ const DEFAULT_STATUSBAR_HEIGHT_EXPO = expo !== null && expo !== void 0 && expo.C
6
6
  export const APPROX_STATUSBAR_HEIGHT = Platform.select({
7
7
  android: DEFAULT_STATUSBAR_HEIGHT_EXPO,
8
8
  ios: Platform.Version < 11 ? DEFAULT_STATUSBAR_HEIGHT_EXPO : 0
9
- });O : 0
10
9
  });
@@ -36,6 +36,7 @@ export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
36
36
  export { TabView, TabViewItem } from "./components/TabView";
37
37
  export { default as Markdown } from "./components/Markdown";
38
38
  export { BottomSheet } from "./components/BottomSheet";
39
+
39
40
  /* Deprecated: Fix or Delete! */
40
41
  export { default as DatePicker } from "./components/DatePicker/DatePicker";
41
42
  export { default as Picker } from "./components/Picker/Picker";
@@ -47,4 +48,5 @@ export { default as RowHeadlineImageIcon } from "./components/RowHeadlineImageIc
47
48
  export { default as Slider } from "./components/Slider";
48
49
  export { default as Stepper } from "./components/Stepper";
49
50
  export { useAuthState } from "./components/useAuthState";
50
- // a comment to fix sourcemap comment issueue
51
+
52
+ // a comment to fix sourcemap comment issue
@@ -7,8 +7,7 @@ export const SEED_DATA = {
7
7
  stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
8
8
  layout: {
9
9
  paddingHorizontal: 16,
10
- paddingVertical: 10,
11
- flex: 1
10
+ paddingVertical: 10
12
11
  },
13
12
  triggers: [Triggers.OnSettle],
14
13
  props: {
@@ -1 +1 @@
1
- {"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/BottomSheet/BottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGL,SAAS,EACT,SAAS,EACT,eAAe,EAChB,MAAM,cAAc,CAAC;AAGtB,OAAO,KA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CAAC,SAAS,CAAC,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC;CACd;;;;AA+FD,wBAAsC"}
@@ -7,7 +7,6 @@ export declare const SEED_DATA: {
7
7
  layout: {
8
8
  paddingHorizontal: number;
9
9
  paddingVertical: number;
10
- flex: number;
11
10
  };
12
11
  triggers: string[];
13
12
  props: {
@@ -1 +1 @@
1
- {"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/mappings/BottomSheet.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkErB,CAAC"}
1
+ {"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/mappings/BottomSheet.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkErB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@draftbit/core",
3
- "version": "46.9.1-200936.2+200936e",
3
+ "version": "46.9.1-2ce152.2+2ce1524",
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": "^46.9.1-200936.2+200936e",
44
+ "@draftbit/types": "^46.9.1-2ce152.2+2ce1524",
45
45
  "@material-ui/core": "^4.11.0",
46
46
  "@material-ui/pickers": "^3.2.10",
47
47
  "@react-native-community/slider": "4.2.3",
@@ -54,9 +54,11 @@
54
54
  "lodash.omit": "^4.5.0",
55
55
  "lodash.tonumber": "^4.0.3",
56
56
  "react-native-deck-swiper": "^2.0.12",
57
+ "react-native-gesture-handler": "^2.9.0",
57
58
  "react-native-markdown-display": "^7.0.0-alpha.2",
58
59
  "react-native-modal-datetime-picker": "^13.0.0",
59
60
  "react-native-pager-view": "5.4.24",
61
+ "react-native-reanimated": "^2.14.4",
60
62
  "react-native-shadow-2": "^7.0.6",
61
63
  "react-native-svg": "12.3.0",
62
64
  "react-native-tab-view": "^3.4.0",
@@ -96,5 +98,5 @@
96
98
  ]
97
99
  ]
98
100
  },
99
- "gitHead": "200936ee0d452b1ab256bd1d2cbe18017e703f8b"
101
+ "gitHead": "2ce15244c2e4b0cc69a31f3e370812a188816566"
100
102
  }
@@ -38,7 +38,6 @@ const styles = StyleSheet.create({
38
38
  contentContainerStyle: {
39
39
  paddingHorizontal: 16,
40
40
  paddingVertical: 10,
41
- flex: 1,
42
41
  },
43
42
  containerStyle: {
44
43
  flex: 1,
@@ -101,7 +101,6 @@ const styles = StyleSheet.create({
101
101
  contentContainerStyle: {
102
102
  paddingHorizontal: 16,
103
103
  paddingVertical: 10,
104
- flex: 1,
105
104
  },
106
105
  containerStyle: {
107
106
  flex: 1,
@@ -5,7 +5,7 @@ export const SEED_DATA = {
5
5
  description: "A draggable Bottom sheet that snaps to specific points. Renders children in ScrollView",
6
6
  category: COMPONENT_TYPES.bottomsheet,
7
7
  stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
8
- layout: { paddingHorizontal: 16, paddingVertical: 10, flex: 1 },
8
+ layout: { paddingHorizontal: 16, paddingVertical: 10 },
9
9
  triggers: [Triggers.OnSettle],
10
10
  props: {
11
11
  onSettle: createActionProp({
@@ -16,7 +16,7 @@ export const SEED_DATA = {
16
16
  "A draggable Bottom sheet that snaps to specific points. Renders children in ScrollView",
17
17
  category: COMPONENT_TYPES.bottomsheet,
18
18
  stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
19
- layout: { paddingHorizontal: 16, paddingVertical: 10, flex: 1 },
19
+ layout: { paddingHorizontal: 16, paddingVertical: 10 },
20
20
  triggers: [Triggers.OnSettle],
21
21
  props: {
22
22
  onSettle: createActionProp({