@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.d.mts CHANGED
@@ -123,6 +123,7 @@ interface IconButtonProps {
123
123
  }
124
124
  type locatorLocation = {
125
125
  description: string;
126
+ formatted_address?: string;
126
127
  longitude: number;
127
128
  latitude: number;
128
129
  };
@@ -339,7 +340,15 @@ declare const getPredictionsFromQuery: (query: string, country: string) => Promi
339
340
  description: any;
340
341
  id: any;
341
342
  }[]>;
342
- declare const getLocationFromPlaceId: (place_id: string) => Promise<any>;
343
+ declare const getLocationFromPlaceId: (place_id: string) => Promise<{
344
+ formatted_address: string;
345
+ geometry: {
346
+ location: {
347
+ lat: number;
348
+ lng: number;
349
+ };
350
+ };
351
+ }>;
343
352
  declare const Locator: React.FC<LocatorProps>;
344
353
 
345
354
  declare const Popup: React.FC<PopupProps>;
package/dist/index.d.ts CHANGED
@@ -123,6 +123,7 @@ interface IconButtonProps {
123
123
  }
124
124
  type locatorLocation = {
125
125
  description: string;
126
+ formatted_address?: string;
126
127
  longitude: number;
127
128
  latitude: number;
128
129
  };
@@ -339,7 +340,15 @@ declare const getPredictionsFromQuery: (query: string, country: string) => Promi
339
340
  description: any;
340
341
  id: any;
341
342
  }[]>;
342
- declare const getLocationFromPlaceId: (place_id: string) => Promise<any>;
343
+ declare const getLocationFromPlaceId: (place_id: string) => Promise<{
344
+ formatted_address: string;
345
+ geometry: {
346
+ location: {
347
+ lat: number;
348
+ lng: number;
349
+ };
350
+ };
351
+ }>;
343
352
  declare const Locator: React.FC<LocatorProps>;
344
353
 
345
354
  declare const Popup: React.FC<PopupProps>;
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: "30@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
  ));