@butternutbox/pawprint-native 0.23.0 → 0.23.2

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 CHANGED
@@ -1189,10 +1189,9 @@ var StyledButton = styled51(Pressable)(
1189
1189
  opacity: buttonOpacity
1190
1190
  }, buttonBorderWidth ? { borderWidth: buttonBorderWidth, borderColor: buttonBorderColor } : {}), buttonFullWidth ? { width: "100%" } : {})
1191
1191
  );
1192
- var StyledTextWrapper = styled51(View)(({ textOpacity }) => ({
1193
- opacity: textOpacity,
1194
- flex: 1
1195
- }));
1192
+ var StyledTextWrapper = styled51(View)(({ textOpacity, fullWidth }) => __spreadValues({
1193
+ opacity: textOpacity
1194
+ }, fullWidth ? { flexShrink: 1 } : {}));
1196
1195
  var StyledSpinnerWrapper = styled51(View)({
1197
1196
  position: "absolute",
1198
1197
  alignItems: "center",
@@ -1283,7 +1282,7 @@ var Button = React66.forwardRef(
1283
1282
  }, rest), {
1284
1283
  children: [
1285
1284
  startIcon && /* @__PURE__ */ jsx(IconWrapper, { children: startIcon }),
1286
- /* @__PURE__ */ jsx(StyledTextWrapper, { textOpacity: loading ? 0 : 1, children: /* @__PURE__ */ jsx(
1285
+ /* @__PURE__ */ jsx(StyledTextWrapper, { textOpacity: loading ? 0 : 1, fullWidth, children: /* @__PURE__ */ jsx(
1287
1286
  Typography,
1288
1287
  {
1289
1288
  token: {