@dropi/react-native-design-system 0.3.2 → 0.3.3

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.
@@ -85,9 +85,9 @@ const Select = ({
85
85
  disabled: !hasChanges
86
86
  }), onRestablish && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
87
87
  style: styles.footerSecondaryButton,
88
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_atoms.DefaultButton, {
88
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_atoms.TextButton, {
89
89
  label: "Restablecer",
90
- variant: "secondary",
90
+ variant: "primary",
91
91
  size: "large",
92
92
  onPress: handleRestablish
93
93
  })
@@ -113,6 +113,8 @@ const Select = ({
113
113
  color: currentValue ? _constants.colors['Gray-600'].light : _constants.colors['Gray-500'].light,
114
114
  flex: 1
115
115
  },
116
+ numberOfLines: 1,
117
+ ellipsizeMode: "tail",
116
118
  children: currentValue?.label ?? placeholder
117
119
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative2.default, {
118
120
  name: "dropdown-down",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dropi/react-native-design-system",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "A React Native package built from scratch",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",