sapo-components-ui-rn 1.0.43 → 1.0.44

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.
@@ -14,11 +14,11 @@ export type Props = React.ComponentPropsWithRef<typeof NativeTextInput> & {
14
14
  /**
15
15
  * The text or component to use for the floating label.
16
16
  */
17
- label?: TextInputLabelProp;
17
+ label: TextInputLabelProp;
18
18
  /**
19
19
  * Placeholder for the input.
20
20
  */
21
- placeholder?: string;
21
+ placeholder: string;
22
22
  /**
23
23
  * Whether to style the TextInput with error style.
24
24
  */
@@ -141,7 +141,6 @@ export type Props = React.ComponentPropsWithRef<typeof NativeTextInput> & {
141
141
  * Example: `borderRadius`, `borderColor`
142
142
  */
143
143
  underlineStyle?: StyleProp<ViewStyle>;
144
- minHeight?: number;
145
144
  clearButton?: boolean;
146
145
  textStyle?: StyleProp<TextStyle>;
147
146
  };
package/dist/index.esm.js CHANGED
@@ -6076,7 +6076,7 @@ var index$2 = memoDeepEqual(ButtonIcon);
6076
6076
  var FloatingButton = function (_a) {
6077
6077
  var isLoading = _a.isLoading, disabled = _a.disabled, onPress = _a.onPress, style = _a.style, _b = _a.hiddenBackground, hiddenBackground = _b === void 0 ? false : _b, _c = _a.size, size = _c === void 0 ? BUTTON_HEIGHT : _c, children = _a.children, backgroundColor = _a.backgroundColor, props = _a.props, _d = _a.top, top = _d === void 0 ? 0 : _d, _e = _a.right, right = _e === void 0 ? 0 : _e, _f = _a.left, left = _f === void 0 ? 0 : _f, _g = _a.bottom, bottom = _g === void 0 ? 0 : _g;
6078
6078
  var colors = useInternalTheme().colors;
6079
- return (React__default.createElement(ScaleButton$1, __assign({ activeOpacity: 0.8, onPress: onPress }, props, { disabled: disabled || isLoading, style: [
6079
+ return (React__default.createElement(TouchableOpacity, __assign({ activeOpacity: 0.8, onPress: onPress }, props, { disabled: disabled || isLoading, style: [
6080
6080
  styles$8.btn,
6081
6081
  top > 0 && { top: top },
6082
6082
  right > 0 && { right: right },