@hoddy-ui/next 2.0.38 → 2.0.40

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
@@ -309,7 +309,6 @@ var Typography = (0, import_react.forwardRef)(
309
309
  import_react_native.Text,
310
310
  {
311
311
  ref,
312
- numberOfLines,
313
312
  adjustsFontSizeToFit,
314
313
  style: [styles2.text, style],
315
314
  ...props
@@ -925,9 +924,12 @@ var Popup = ({
925
924
  title: {
926
925
  flexDirection: "row",
927
926
  alignItems: "center",
928
- paddingVertical: "5@ms",
929
- paddingHorizontal: "10@ms",
930
- marginBottom: "10@ms"
927
+ justifyContent: "center",
928
+ height: "40@ms"
929
+ },
930
+ titleIcon: {
931
+ position: "absolute",
932
+ left: "10@ms"
931
933
  },
932
934
  backdrop: {
933
935
  position: "absolute",
@@ -986,14 +988,14 @@ var Popup = ({
986
988
  keyboardVerticalOffset,
987
989
  behavior: import_react_native11.Platform.OS === "ios" ? "position" : "padding"
988
990
  },
989
- /* @__PURE__ */ import_react11.default.createElement(import_react_native11.View, { style: styles2.container }, !bare && /* @__PURE__ */ import_react11.default.createElement(import_react_native11.View, { style: styles2.title }, /* @__PURE__ */ import_react11.default.createElement(
991
+ /* @__PURE__ */ import_react11.default.createElement(import_react_native11.View, { style: styles2.container }, !bare && /* @__PURE__ */ import_react11.default.createElement(import_react_native11.View, { style: styles2.title }, /* @__PURE__ */ import_react11.default.createElement(import_react_native11.View, { style: styles2.titleIcon }, /* @__PURE__ */ import_react11.default.createElement(
990
992
  IconButton,
991
993
  {
992
994
  size: 20,
993
995
  icon: "close",
994
996
  onPress: closeAction
995
997
  }
996
- ), /* @__PURE__ */ import_react11.default.createElement(import_react_native11.View, { style: { flex: 1 } }, /* @__PURE__ */ import_react11.default.createElement(Typography_default, { color: "textSecondary", align: "center" }, title))), /* @__PURE__ */ import_react11.default.createElement(import_react_native11.View, { style: styles2.content }, children))
998
+ )), /* @__PURE__ */ import_react11.default.createElement(Typography_default, { color: "textSecondary", align: "center" }, title)), /* @__PURE__ */ import_react11.default.createElement(import_react_native11.View, { style: styles2.content }, children))
997
999
  )))
998
1000
  ))
999
1001
  ));