@dropi/react-native-design-system 0.2.14 → 0.2.16

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.
@@ -8,6 +8,7 @@ var _reactNative = require("react-native");
8
8
  var _reactNative2 = _interopRequireDefault(require("dropi-lib-icons/react-native"));
9
9
  var _constants = require("../../constants");
10
10
  var _styles = _interopRequireDefault(require("./styles"));
11
+ var _atoms = require("../../atoms");
11
12
  var _jsxRuntime = require("react/jsx-runtime");
12
13
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
14
  const Chip = ({
@@ -26,8 +27,9 @@ const Chip = ({
26
27
  name: preIcon,
27
28
  size: _constants.sizes.s,
28
29
  color: iconColor
29
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
30
- style: [_styles.default.text, textStyle],
30
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_atoms.Body, {
31
+ type: "m-regular",
32
+ style: textStyle,
31
33
  children: label
32
34
  }), isDismissable && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
33
35
  onPress: onDismiss,
@@ -7,12 +7,14 @@ declare const _default: {
7
7
  paddingVertical: number;
8
8
  borderRadius: number;
9
9
  gap: number;
10
+ borderWidth: number;
11
+ borderColor: "#C3C9D9";
10
12
  };
11
13
  primaryContainer: {
12
14
  backgroundColor: "#FEF8F1";
13
15
  };
14
16
  tertiaryContainer: {
15
- backgroundColor: "#E6EAF2";
17
+ backgroundColor: "#F7F8FA";
16
18
  };
17
19
  text: {
18
20
  fontSize: number;
@@ -14,13 +14,15 @@ var _default = exports.default = _reactNative.StyleSheet.create({
14
14
  paddingHorizontal: _constants.spacing["size-2"],
15
15
  paddingVertical: _constants.spacing["size-1"],
16
16
  borderRadius: _constants.radius["border-1"],
17
- gap: _constants.spacing["size-1"]
17
+ gap: _constants.spacing["size-1"],
18
+ borderWidth: 1,
19
+ borderColor: _constants.colors["Gray-200"].light
18
20
  },
19
21
  primaryContainer: {
20
22
  backgroundColor: _constants.colors["Primary-50"].light
21
23
  },
22
24
  tertiaryContainer: {
23
- backgroundColor: _constants.colors["Gray-100"].light
25
+ backgroundColor: _constants.colors["Gray-50"].light
24
26
  },
25
27
  text: {
26
28
  fontSize: _constants.sizes.xs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dropi/react-native-design-system",
3
- "version": "0.2.14",
3
+ "version": "0.2.16",
4
4
  "description": "A React Native package built from scratch",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",