@draftbit/core 46.12.7-70fec2.2 → 46.12.7
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.
|
@@ -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 { Pressable, StyleSheet, View } from "react-native";
|
|
4
3
|
import Text from "../Text";
|
|
@@ -18,9 +17,10 @@ const AccordionItem = _ref => {
|
|
|
18
17
|
textStyles,
|
|
19
18
|
viewStyles
|
|
20
19
|
} = extractStyles(style);
|
|
21
|
-
return /*#__PURE__*/React.createElement(Pressable,
|
|
22
|
-
style: [styles.container, viewStyles]
|
|
23
|
-
|
|
20
|
+
return /*#__PURE__*/React.createElement(Pressable, {
|
|
21
|
+
style: [styles.container, viewStyles],
|
|
22
|
+
...rest
|
|
23
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
24
24
|
style: styles.row
|
|
25
25
|
}, icon ? /*#__PURE__*/React.createElement(Icon, {
|
|
26
26
|
name: icon,
|
|
@@ -52,4 +52,23 @@ const styles = StyleSheet.create({
|
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
export default withTheme(AccordionItem);
|
|
55
|
+
//# sourceMappingURL=AccordionItem.js.map StyleSheet.create({
|
|
56
|
+
container: {
|
|
57
|
+
padding: 8
|
|
58
|
+
},
|
|
59
|
+
row: {
|
|
60
|
+
flexDirection: "row",
|
|
61
|
+
alignItems: "center",
|
|
62
|
+
paddingLeft: 8
|
|
63
|
+
},
|
|
64
|
+
item: {
|
|
65
|
+
marginVertical: 6,
|
|
66
|
+
paddingLeft: 8
|
|
67
|
+
},
|
|
68
|
+
content: {
|
|
69
|
+
flex: 1,
|
|
70
|
+
justifyContent: "center"
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
export default withTheme(AccordionItem);
|
|
55
74
|
//# sourceMappingURL=AccordionItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Pressable","StyleSheet","View","Text","extractStyles","withTheme","AccordionItem","Icon","icon","label","style","iconColor","theme","rest","textStyles","viewStyles","styles","container","row","colors","primary","item","content","create","padding","flexDirection","alignItems","paddingLeft","marginVertical","flex","justifyContent"],"sourceRoot":"../../../../src","sources":["components/Accordion/AccordionItem.
|
|
1
|
+
{"version":3,"names":["React","Pressable","StyleSheet","View","Text","extractStyles","withTheme","AccordionItem","Icon","icon","label","style","iconColor","theme","rest","textStyles","viewStyles","createElement","styles","container","row","name","size","color","colors","primary","item","content","selectable","create","padding","flexDirection","alignItems","paddingLeft","marginVertical","flex","justifyContent"],"sourceRoot":"../../../../src","sources":["components/Accordion/AccordionItem.js"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAS,cAAc;AAC3D,OAAOC,IAAI,MAAM,SAAS;AAC1B,SAASC,aAAa,QAAQ,iBAAiB;AAC/C,SAASC,SAAS,QAAQ,eAAe;AACzC,MAAMC,aAAa,GAAG,QAA6D;EAAA,IAA5D;IAAEC,IAAI;IAAEC,IAAI;IAAEC,KAAK;IAAEC,KAAK;IAAEC,SAAS;IAAEC,KAAK;IAAE,GAAGC;EAAK,CAAC;EAC1E,MAAM;IAAEC,UAAU;IAAEC;EAAW,CAAC,GAAGX,aAAa,CAACM,KAAK,CAAC;EACvD,oBAAQX,KAAK,CAACiB,aAAa,CAAChB,SAAS,EAAE;IAAEU,KAAK,EAAE,CAACO,MAAM,CAACC,SAAS,EAAEH,UAAU,CAAC;IAAE,GAAGF;EAAK,CAAC,eACrFd,KAAK,CAACiB,aAAa,CAACd,IAAI,EAAE;IAAEQ,KAAK,EAAEO,MAAM,CAACE;EAAI,CAAC,EAC3CX,IAAI,gBAAIT,KAAK,CAACiB,aAAa,CAACT,IAAI,EAAE;IAAEa,IAAI,EAAEZ,IAAI;IAAEa,IAAI,EAAE,EAAE;IAAEC,KAAK,EAAEX,SAAS,IAAIC,KAAK,CAACW,MAAM,CAACC;EAAQ,CAAC,CAAC,GAAI,IAAI,eAC7GzB,KAAK,CAACiB,aAAa,CAACd,IAAI,EAAE;IAAEQ,KAAK,EAAE,CAACO,MAAM,CAACQ,IAAI,EAAER,MAAM,CAACS,OAAO;EAAE,CAAC,eAC9D3B,KAAK,CAACiB,aAAa,CAACb,IAAI,EAAE;IAAEwB,UAAU,EAAE,KAAK;IAAEjB,KAAK,EAAEI;EAAW,CAAC,EAAEL,KAAK,CAAC,CAAC,CAAC,CAAC;AAC7F,CAAC;AACD,MAAMQ,MAAM,GAAGhB,UAAU,CAAC2B,MAAM,CAAC;EAC7BV,SAAS,EAAE;IACPW,OAAO,EAAE;EACb,CAAC;EACDV,GAAG,EAAE;IACDW,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,WAAW,EAAE;EACjB,CAAC;EACDP,IAAI,EAAE;IACFQ,cAAc,EAAE,CAAC;IACjBD,WAAW,EAAE;EACjB,CAAC;EACDN,OAAO,EAAE;IACLQ,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE;EACpB;AACJ,CAAC,CAAC;AACF,eAAe9B,SAAS,CAACC,aAAa,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@draftbit/core",
|
|
3
|
-
"version": "46.12.7
|
|
3
|
+
"version": "46.12.7",
|
|
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": "
|
|
44
|
+
"@draftbit/types": "46.12.7",
|
|
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",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"react-native-modal-datetime-picker": "^13.0.0",
|
|
60
60
|
"react-native-pager-view": "5.4.24",
|
|
61
61
|
"react-native-reanimated": "~2.9.1",
|
|
62
|
-
"react-native-shadow-2": "^7.0.
|
|
62
|
+
"react-native-shadow-2": "^7.0.7",
|
|
63
63
|
"react-native-svg": "12.3.0",
|
|
64
64
|
"react-native-swipe-list-view": "^3.2.9",
|
|
65
65
|
"react-native-tab-view": "^3.4.0",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"node_modules/",
|
|
95
95
|
"lib/"
|
|
96
96
|
],
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "afbf9c5fdcc9e8e9f2136ecd2ef5abac90604dae"
|
|
98
98
|
}
|