react-crud-mobile 1.3.531 → 1.3.532
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/index.js +15 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIButton.tsx +7 -1
package/dist/index.js
CHANGED
|
@@ -501,10 +501,21 @@ function UIButton(props) {
|
|
|
501
501
|
label && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_native5.Text, { style: buttonLabel, children: scope.lng("loading", "Aguarde...") })
|
|
502
502
|
] }) });
|
|
503
503
|
}
|
|
504
|
-
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
504
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
505
|
+
import_react_native5.Pressable,
|
|
506
|
+
{
|
|
507
|
+
onPress: onClick,
|
|
508
|
+
style: ({ pressed }) => [
|
|
509
|
+
buttonStyle,
|
|
510
|
+
pressed && { opacity: 0.5 }
|
|
511
|
+
// ⭐ Aqui entra o efeito!
|
|
512
|
+
],
|
|
513
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
514
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(UI_default.Icon, { size: iconSize, style: iconStyle, value: icon }) }),
|
|
515
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_native5.Text, { style: buttonLabel, children: label })
|
|
516
|
+
] })
|
|
517
|
+
}
|
|
518
|
+
);
|
|
508
519
|
}
|
|
509
520
|
|
|
510
521
|
// src/elements/core/UISelect.tsx
|