@hoddy-ui/next 2.0.37 → 2.0.39

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.mjs CHANGED
@@ -246,7 +246,6 @@ var Typography = forwardRef(
246
246
  Text,
247
247
  {
248
248
  ref,
249
- numberOfLines,
250
249
  adjustsFontSizeToFit,
251
250
  style: [styles2.text, style],
252
251
  ...props
@@ -882,9 +881,12 @@ var Popup = ({
882
881
  title: {
883
882
  flexDirection: "row",
884
883
  alignItems: "center",
885
- paddingVertical: "5@ms",
886
- paddingHorizontal: "10@ms",
887
- marginBottom: "10@ms"
884
+ justifyContent: "center",
885
+ height: "30@ms"
886
+ },
887
+ titleIcon: {
888
+ position: "absolute",
889
+ left: "10@ms"
888
890
  },
889
891
  backdrop: {
890
892
  position: "absolute",
@@ -943,14 +945,14 @@ var Popup = ({
943
945
  keyboardVerticalOffset,
944
946
  behavior: Platform5.OS === "ios" ? "position" : "padding"
945
947
  },
946
- /* @__PURE__ */ React11.createElement(View5, { style: styles2.container }, !bare && /* @__PURE__ */ React11.createElement(View5, { style: styles2.title }, /* @__PURE__ */ React11.createElement(
948
+ /* @__PURE__ */ React11.createElement(View5, { style: styles2.container }, !bare && /* @__PURE__ */ React11.createElement(View5, { style: styles2.title }, /* @__PURE__ */ React11.createElement(View5, { style: styles2.titleIcon }, /* @__PURE__ */ React11.createElement(
947
949
  IconButton,
948
950
  {
949
951
  size: 20,
950
952
  icon: "close",
951
953
  onPress: closeAction
952
954
  }
953
- ), /* @__PURE__ */ React11.createElement(View5, { style: { flex: 1 } }, /* @__PURE__ */ React11.createElement(Typography_default, { color: "textSecondary", align: "center" }, title))), /* @__PURE__ */ React11.createElement(View5, { style: styles2.content }, children))
955
+ )), /* @__PURE__ */ React11.createElement(Typography_default, { color: "textSecondary", align: "center" }, title)), /* @__PURE__ */ React11.createElement(View5, { style: styles2.content }, children))
954
956
  )))
955
957
  ))
956
958
  ));