react-crud-mobile 1.3.288 → 1.3.290
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.
- package/dist/elements/UI.d.ts +1 -0
- package/dist/react-crud-mobile.cjs.development.js +8 -2
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +8 -2
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/elements/UI.tsx +1 -0
- package/src/elements/core/UIInput.tsx +5 -2
package/dist/elements/UI.d.ts
CHANGED
@@ -14,6 +14,7 @@ declare const UI: {
|
|
14
14
|
Column: ({ type, ...props }: UserType) => import("react").JSX.Element;
|
15
15
|
Input: (props: InputType) => import("react").JSX.Element;
|
16
16
|
Text: (props: InputType) => import("react").JSX.Element;
|
17
|
+
Textarea: (props: InputType) => import("react").JSX.Element;
|
17
18
|
Email: (props: InputType) => import("react").JSX.Element;
|
18
19
|
Button: (props: ButtonType) => import("react").JSX.Element;
|
19
20
|
Link: (props: LinkType) => import("react").JSX.Element;
|
@@ -810,10 +810,11 @@ function UIInput(props) {
|
|
810
810
|
var decode = {
|
811
811
|
textarea: {
|
812
812
|
multiline: true,
|
813
|
-
textAlignVertical: 'top'
|
813
|
+
textAlignVertical: 'top',
|
814
|
+
numberOfLines: 5
|
814
815
|
}
|
815
816
|
};
|
816
|
-
var defs = reactCrudUtils.Utils.nvl(decode[type], {});
|
817
|
+
var defs = _extends({}, reactCrudUtils.Utils.nvl(decode[type], {}), scope.original.inputProps);
|
817
818
|
return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
818
819
|
children: [/*#__PURE__*/jsxRuntime.jsxs(reactNative.View, {
|
819
820
|
style: style('base'),
|
@@ -2582,6 +2583,11 @@ var UI = {
|
|
2582
2583
|
type: "text"
|
2583
2584
|
}));
|
2584
2585
|
},
|
2586
|
+
Textarea: function Textarea(props) {
|
2587
|
+
return /*#__PURE__*/jsxRuntime.jsx(UIElement, _extends({}, props, {
|
2588
|
+
type: "textarea"
|
2589
|
+
}));
|
2590
|
+
},
|
2585
2591
|
Email: function Email(props) {
|
2586
2592
|
return /*#__PURE__*/jsxRuntime.jsx(UIElement, _extends({}, props, {
|
2587
2593
|
type: "email"
|