@draftbit/core 46.0.1-696ea7.1 → 46.0.1-d651f1.1

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,5 +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
-
3
1
  import React from "react";
4
2
  import { View, Text } from "react-native";
5
3
  import color from "color";
@@ -51,11 +49,12 @@ const CardContainer = _ref => {
51
49
  break;
52
50
  }
53
51
 
54
- return /*#__PURE__*/React.createElement(Card, _extends({
52
+ return /*#__PURE__*/React.createElement(Card, {
55
53
  style: style,
56
54
  onPress: onPress,
57
- numColumns: numColumns
58
- }, rest), /*#__PURE__*/React.createElement(Elevation, {
55
+ numColumns: numColumns,
56
+ ...rest
57
+ }, /*#__PURE__*/React.createElement(Elevation, {
59
58
  style: {
60
59
  elevation,
61
60
  borderRadius: roundness
@@ -125,5 +124,16 @@ const CardContainer = _ref => {
125
124
  })) : null)));
126
125
  };
127
126
 
127
+ export default withTheme(CardContainer);
128
+ //# sourceMappingURL=CardContainer.js.map_CONTAINER_SIZE,
129
+ backgroundColor: color(colors.strong).alpha(Config.cardIconBackgroundOpacity).rgb().string()
130
+ }
131
+ }, /*#__PURE__*/React.createElement(Icon, {
132
+ name: icon,
133
+ size: Config.cardIconSize,
134
+ color: colors.surface
135
+ })) : null)));
136
+ };
137
+
128
138
  export default withTheme(CardContainer);
129
139
  //# sourceMappingURL=CardContainer.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@draftbit/core",
3
- "version": "46.0.1-696ea7.1+696ea7b4",
3
+ "version": "46.0.1-d651f1.1+d651f1ed",
4
4
  "description": "Core (non-native) Components",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -78,5 +78,5 @@
78
78
  ]
79
79
  ]
80
80
  },
81
- "gitHead": "696ea7b40bc30c3682e534d91dbdd5808dae00eb"
81
+ "gitHead": "d651f1ed5e329990cd31eca33d3eef2d4b51e874"
82
82
  }