@draftbit/core 46.9.1-b1bb0a.2 → 46.9.1-e3cd31.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/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -2
- package/lib/commonjs/mappings/BottomSheet.js +2 -3
- package/lib/module/components/BottomSheet/BottomSheet.js +1 -2
- package/lib/module/components/FormRow.js +4 -4
- package/lib/module/mappings/BottomSheet.js +2 -3
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/src/mappings/BottomSheet.d.ts +0 -1
- package/lib/typescript/src/mappings/BottomSheet.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/components/BottomSheet/BottomSheet.js +0 -1
- package/src/components/BottomSheet/BottomSheet.tsx +0 -1
- package/src/mappings/BottomSheet.js +2 -2
- package/src/mappings/BottomSheet.ts +2 -2
|
@@ -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: {
|
|
@@ -35,7 +34,7 @@ const SEED_DATA = {
|
|
|
35
34
|
}),
|
|
36
35
|
showHandle: (0, _types.createStaticBoolProp)({
|
|
37
36
|
label: "Show handle",
|
|
38
|
-
description: "Whether to show the top handle or not",
|
|
37
|
+
description: "Whether to show the top sheet handle or not",
|
|
39
38
|
defaultValue: true
|
|
40
39
|
}),
|
|
41
40
|
handleColor: (0, _types.createColorProp)({
|
|
@@ -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 { Text, StyleSheet } from "react-native";
|
|
4
3
|
import { extractStyles } from "../utilities";
|
|
@@ -17,13 +16,14 @@ export default function FormRow(_ref) {
|
|
|
17
16
|
textStyles,
|
|
18
17
|
viewStyles
|
|
19
18
|
} = extractStyles(style);
|
|
20
|
-
return /*#__PURE__*/React.createElement(Touchable,
|
|
19
|
+
return /*#__PURE__*/React.createElement(Touchable, {
|
|
21
20
|
disabled: disabled,
|
|
22
21
|
onPress: onPress,
|
|
23
22
|
style: [styles.row, {
|
|
24
23
|
flexDirection: direction
|
|
25
|
-
}, viewStyles]
|
|
26
|
-
|
|
24
|
+
}, viewStyles],
|
|
25
|
+
...rest
|
|
26
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
27
27
|
style: textStyles
|
|
28
28
|
}, label), children);
|
|
29
29
|
}
|
|
@@ -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: {
|
|
@@ -29,7 +28,7 @@ export const SEED_DATA = {
|
|
|
29
28
|
}),
|
|
30
29
|
showHandle: createStaticBoolProp({
|
|
31
30
|
label: "Show handle",
|
|
32
|
-
description: "Whether to show the top handle or not",
|
|
31
|
+
description: "Whether to show the top sheet handle or not",
|
|
33
32
|
defaultValue: true
|
|
34
33
|
}),
|
|
35
34
|
handleColor: createColorProp({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/BottomSheet/BottomSheet.tsx"],"names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W,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC;CACd;;;;AA+FD,wBAAsC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/mappings/BottomSheet.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,SAAS
|
|
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-
|
|
3
|
+
"version": "46.9.1-e3cd31.2+e3cd310",
|
|
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-
|
|
44
|
+
"@draftbit/types": "^46.9.1-e3cd31.2+e3cd310",
|
|
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",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"react-native-markdown-display": "^7.0.0-alpha.2",
|
|
59
59
|
"react-native-modal-datetime-picker": "^13.0.0",
|
|
60
60
|
"react-native-pager-view": "5.4.24",
|
|
61
|
-
"react-native-reanimated": "
|
|
61
|
+
"react-native-reanimated": "^2.14.4",
|
|
62
62
|
"react-native-shadow-2": "^7.0.6",
|
|
63
63
|
"react-native-svg": "12.3.0",
|
|
64
64
|
"react-native-tab-view": "^3.4.0",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
]
|
|
99
99
|
]
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "e3cd310ffd90f62816ac3f88735a7db326625091"
|
|
102
102
|
}
|
|
@@ -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
|
|
8
|
+
layout: { paddingHorizontal: 16, paddingVertical: 10 },
|
|
9
9
|
triggers: [Triggers.OnSettle],
|
|
10
10
|
props: {
|
|
11
11
|
onSettle: createActionProp({
|
|
@@ -25,7 +25,7 @@ export const SEED_DATA = {
|
|
|
25
25
|
}),
|
|
26
26
|
showHandle: createStaticBoolProp({
|
|
27
27
|
label: "Show handle",
|
|
28
|
-
description: "Whether to show the top handle or not",
|
|
28
|
+
description: "Whether to show the top sheet handle or not",
|
|
29
29
|
defaultValue: true,
|
|
30
30
|
}),
|
|
31
31
|
handleColor: createColorProp({
|
|
@@ -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
|
|
19
|
+
layout: { paddingHorizontal: 16, paddingVertical: 10 },
|
|
20
20
|
triggers: [Triggers.OnSettle],
|
|
21
21
|
props: {
|
|
22
22
|
onSettle: createActionProp({
|
|
@@ -37,7 +37,7 @@ export const SEED_DATA = {
|
|
|
37
37
|
}),
|
|
38
38
|
showHandle: createStaticBoolProp({
|
|
39
39
|
label: "Show handle",
|
|
40
|
-
description: "Whether to show the top handle or not",
|
|
40
|
+
description: "Whether to show the top sheet handle or not",
|
|
41
41
|
defaultValue: true,
|
|
42
42
|
}),
|
|
43
43
|
handleColor: createColorProp({
|