@dropi/react-native-design-system 0.2.19 → 0.2.21

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.
@@ -23,10 +23,15 @@ const Chip = ({
23
23
  const iconColor = variant === "primary" ? _constants.colors["Primary-500"].light : _constants.colors["Gray-600"].light;
24
24
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
25
25
  style: [_styles.default.container, containerStyle],
26
- children: [preIcon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative2.default, {
27
- name: preIcon,
28
- size: _constants.sizes.s,
29
- color: iconColor
26
+ children: [preIcon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
27
+ style: {
28
+ marginRight: _constants.spacing["size-1"]
29
+ },
30
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative2.default, {
31
+ name: preIcon,
32
+ size: _constants.sizes.s,
33
+ color: iconColor
34
+ })
30
35
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_atoms.Body, {
31
36
  type: "s-regular",
32
37
  style: textStyle,
@@ -40,10 +45,15 @@ const Chip = ({
40
45
  right: 8
41
46
  },
42
47
  activeOpacity: 0.7,
43
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative2.default, {
44
- name: "cross-circle",
45
- size: _constants.sizes.s,
46
- color: iconColor
48
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
49
+ style: {
50
+ marginLeft: _constants.spacing["size-1"]
51
+ },
52
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative2.default, {
53
+ name: "cross-circle",
54
+ size: _constants.sizes.s,
55
+ color: iconColor
56
+ })
47
57
  })
48
58
  })]
49
59
  });
@@ -6,15 +6,14 @@ declare const _default: {
6
6
  paddingHorizontal: number;
7
7
  paddingVertical: number;
8
8
  borderRadius: number;
9
- borderWidth: number;
10
9
  };
11
10
  primaryContainer: {
12
11
  backgroundColor: "#FEF8F1";
13
- borderColor: "#F49A3D";
14
12
  };
15
13
  tertiaryContainer: {
14
+ borderWidth: number;
16
15
  backgroundColor: "#F7F8FA";
17
- borderColor: "#69738C";
16
+ borderColor: "#C3C9D9";
18
17
  };
19
18
  primaryText: {
20
19
  color: "#F49A3D";
@@ -13,16 +13,15 @@ var _default = exports.default = _reactNative.StyleSheet.create({
13
13
  alignSelf: "flex-start",
14
14
  paddingHorizontal: _constants.spacing["size-2"],
15
15
  paddingVertical: _constants.spacing["size-1"],
16
- borderRadius: _constants.radius["border-2"],
17
- borderWidth: 1
16
+ borderRadius: _constants.radius["border-2"]
18
17
  },
19
18
  primaryContainer: {
20
- backgroundColor: _constants.colors["Primary-50"].light,
21
- borderColor: _constants.colors["Primary-500"].light
19
+ backgroundColor: _constants.colors["Primary-50"].light
22
20
  },
23
21
  tertiaryContainer: {
22
+ borderWidth: 1,
24
23
  backgroundColor: _constants.colors["Gray-50"].light,
25
- borderColor: _constants.colors["Gray-500"].light
24
+ borderColor: _constants.colors["Gray-200"].light
26
25
  },
27
26
  primaryText: {
28
27
  color: _constants.colors["Primary-500"].light
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dropi/react-native-design-system",
3
- "version": "0.2.19",
3
+ "version": "0.2.21",
4
4
  "description": "A React Native package built from scratch",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",