@undefine-ui/design-system 3.6.0 → 3.6.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.d.cts CHANGED
@@ -1177,6 +1177,8 @@ declare const CloudUpload: (props: SvgIconProps) => react_jsx_runtime.JSX.Elemen
1177
1177
 
1178
1178
  declare const RadioSelect: (props: SvgIconProps) => react_jsx_runtime.JSX.Element;
1179
1179
 
1180
+ declare const MapPinXMark: (props: SvgIconProps) => react_jsx_runtime.JSX.Element;
1181
+
1180
1182
  declare const SuccessToast: (props: SvgIconProps) => react_jsx_runtime.JSX.Element;
1181
1183
 
1182
1184
  declare const WarningToast: (props: SvgIconProps) => react_jsx_runtime.JSX.Element;
@@ -1239,6 +1241,7 @@ declare const Icons_InfoToast: typeof InfoToast;
1239
1241
  declare const Icons_KeyCommand: typeof KeyCommand;
1240
1242
  declare const Icons_Loader: typeof Loader;
1241
1243
  declare const Icons_LongArrowUpLeftSolid: typeof LongArrowUpLeftSolid;
1244
+ declare const Icons_MapPinXMark: typeof MapPinXMark;
1242
1245
  declare const Icons_MoreHorizontal: typeof MoreHorizontal;
1243
1246
  declare const Icons_NavArrowDown: typeof NavArrowDown;
1244
1247
  declare const Icons_NavArrowDownSolid: typeof NavArrowDownSolid;
@@ -1262,7 +1265,7 @@ declare const Icons_WarningToast: typeof WarningToast;
1262
1265
  declare const Icons_XMark: typeof XMark;
1263
1266
  declare const Icons_XMarkSolid: typeof XMarkSolid;
1264
1267
  declare namespace Icons {
1265
- export { Icons_Attachment as Attachment, Icons_Bank as Bank, Icons_BellNotification as BellNotification, Icons_Building as Building, Icons_Calendar as Calendar, Icons_ChatBubbleQuestionSolid as ChatBubbleQuestionSolid, Icons_CheckCircleSolid as CheckCircleSolid, Icons_CheckboxDefault as CheckboxDefault, Icons_CheckboxIndeterminate as CheckboxIndeterminate, Icons_CheckboxSelect as CheckboxSelect, Icons_Circle as Circle, Icons_ClipboardCheck as ClipboardCheck, Icons_Clock as Clock, Icons_CloudUpload as CloudUpload, Icons_Copy as Copy, Icons_Download as Download, Icons_Edit as Edit, Icons_ErrorToast as ErrorToast, Icons_Eye as Eye, Icons_EyeClosed as EyeClosed, Icons_FilterList as FilterList, Icons_HelpCircle as HelpCircle, Icons_InfoCircle as InfoCircle, Icons_InfoCircleSolid as InfoCircleSolid, Icons_InfoToast as InfoToast, Icons_KeyCommand as KeyCommand, Icons_Loader as Loader, Icons_LongArrowUpLeftSolid as LongArrowUpLeftSolid, Icons_MoreHorizontal as MoreHorizontal, Icons_NavArrowDown as NavArrowDown, Icons_NavArrowDownSolid as NavArrowDownSolid, Icons_NavArrowLeft as NavArrowLeft, Icons_NavArrowRight as NavArrowRight, Icons_Plus as Plus, Icons_PlusSquare as PlusSquare, Icons_RadioDefault as RadioDefault, Icons_RadioSelect as RadioSelect, Icons_Search as Search, Icons_Settings as Settings, Icons_SortDown as SortDown, Icons_SortUp as SortUp, Icons_StatDown as StatDown, Icons_StatUp as StatUp, Icons_SuccessToast as SuccessToast, Icons_Trash as Trash, Icons_User as User, Icons_UserSolid as UserSolid, Icons_WarningToast as WarningToast, Icons_XMark as XMark, Icons_XMarkSolid as XMarkSolid };
1268
+ export { Icons_Attachment as Attachment, Icons_Bank as Bank, Icons_BellNotification as BellNotification, Icons_Building as Building, Icons_Calendar as Calendar, Icons_ChatBubbleQuestionSolid as ChatBubbleQuestionSolid, Icons_CheckCircleSolid as CheckCircleSolid, Icons_CheckboxDefault as CheckboxDefault, Icons_CheckboxIndeterminate as CheckboxIndeterminate, Icons_CheckboxSelect as CheckboxSelect, Icons_Circle as Circle, Icons_ClipboardCheck as ClipboardCheck, Icons_Clock as Clock, Icons_CloudUpload as CloudUpload, Icons_Copy as Copy, Icons_Download as Download, Icons_Edit as Edit, Icons_ErrorToast as ErrorToast, Icons_Eye as Eye, Icons_EyeClosed as EyeClosed, Icons_FilterList as FilterList, Icons_HelpCircle as HelpCircle, Icons_InfoCircle as InfoCircle, Icons_InfoCircleSolid as InfoCircleSolid, Icons_InfoToast as InfoToast, Icons_KeyCommand as KeyCommand, Icons_Loader as Loader, Icons_LongArrowUpLeftSolid as LongArrowUpLeftSolid, Icons_MapPinXMark as MapPinXMark, Icons_MoreHorizontal as MoreHorizontal, Icons_NavArrowDown as NavArrowDown, Icons_NavArrowDownSolid as NavArrowDownSolid, Icons_NavArrowLeft as NavArrowLeft, Icons_NavArrowRight as NavArrowRight, Icons_Plus as Plus, Icons_PlusSquare as PlusSquare, Icons_RadioDefault as RadioDefault, Icons_RadioSelect as RadioSelect, Icons_Search as Search, Icons_Settings as Settings, Icons_SortDown as SortDown, Icons_SortUp as SortUp, Icons_StatDown as StatDown, Icons_StatUp as StatUp, Icons_SuccessToast as SuccessToast, Icons_Trash as Trash, Icons_User as User, Icons_UserSolid as UserSolid, Icons_WarningToast as WarningToast, Icons_XMark as XMark, Icons_XMarkSolid as XMarkSolid };
1266
1269
  }
1267
1270
 
1268
1271
  type IconType = keyof typeof Icons;
@@ -1671,16 +1674,60 @@ interface GooglePlacesContextValue {
1671
1674
  loaded: boolean;
1672
1675
  error: Error | null;
1673
1676
  }
1677
+ interface AddressComponent {
1678
+ longText: string;
1679
+ shortText: string;
1680
+ types: string[];
1681
+ }
1682
+ interface ParsedAddress {
1683
+ /** Street number */
1684
+ streetNumber?: string;
1685
+ /** Street/Route name */
1686
+ street?: string;
1687
+ /** Full street address (number + street) */
1688
+ address?: string;
1689
+ /** Neighborhood/Sublocality */
1690
+ neighborhood?: string;
1691
+ /** City/Locality */
1692
+ city?: string;
1693
+ /** State/Administrative area level 1 */
1694
+ state?: string;
1695
+ /** State short code (e.g., "CA", "NY") */
1696
+ stateCode?: string;
1697
+ /** Country */
1698
+ country?: string;
1699
+ /** Country code (e.g., "US", "NG") */
1700
+ countryCode?: string;
1701
+ /** Postal/ZIP code */
1702
+ postalCode?: string;
1703
+ /** County/Administrative area level 2 */
1704
+ county?: string;
1705
+ }
1706
+ interface Coordinates {
1707
+ latitude: number;
1708
+ longitude: number;
1709
+ }
1674
1710
  interface PlaceDetails {
1675
1711
  placeId: string;
1676
1712
  description: string;
1677
1713
  mainText: string;
1678
1714
  secondaryText?: string;
1715
+ /** @deprecated Use coordinates.latitude instead */
1679
1716
  lat?: number;
1717
+ /** @deprecated Use coordinates.longitude instead */
1680
1718
  lng?: number;
1681
1719
  formattedAddress?: string;
1682
- addressComponents?: any[];
1720
+ /** Raw address components from Google */
1721
+ addressComponents?: AddressComponent[];
1722
+ /** Parsed address with structured fields */
1723
+ parsedAddress?: ParsedAddress;
1724
+ /** Coordinates object */
1725
+ coordinates?: Coordinates;
1683
1726
  }
1727
+ /**
1728
+ * Parse Google Places address components into structured address data
1729
+ */
1730
+ declare const parseAddressComponents: (addressComponents: AddressComponent[] | undefined) => ParsedAddress;
1684
1731
 
1685
1732
  interface GooglePlacesProviderProps {
1686
1733
  apiKey: string;
@@ -1720,7 +1767,8 @@ interface UseGooglePlacesAutocompleteOptions {
1720
1767
  fetchPlaceDetails?: boolean;
1721
1768
  /**
1722
1769
  * Fields to fetch when getting place details
1723
- * @default ['geometry', 'formatted_address', 'address_components']
1770
+ * @see https://developers.google.com/maps/documentation/javascript/place-class#place-class
1771
+ * @default ['location', 'formattedAddress', 'addressComponents', 'displayName']
1724
1772
  */
1725
1773
  placeDetailsFields?: string[];
1726
1774
  }
@@ -2619,4 +2667,4 @@ type ThemeProviderProps = {
2619
2667
  };
2620
2668
  declare const ThemeProvider: ({ children }: ThemeProviderProps) => react_jsx_runtime.JSX.Element;
2621
2669
 
2622
- export { AnimatedLogo, Attachment, Bank, BellNotification, Building, Calendar, ChatBubbleQuestionSolid, CheckCircleSolid, CheckboxDefault, CheckboxIndeterminate, CheckboxSelect, Circle, ClipboardCheck, Clock, CloudUpload, type ColorSchema, Copy, CopyButton, CustomDialog, type CustomDialogProps, CustomDrawer, type CustomDrawerProps, type CustomShadowOptions, type CustomSpacingOptions, type DatePickerProps, type DatePreset, type DatePresetOption, type DateRange, DateRangeDropdown, type DateRangeDropdownProps, DateRangePicker, type DateRangePickerProps, type DateTimePickerProps, Download, Edit, EmptyContent, type EmptyContentProps, ErrorToast, Eye, EyeClosed, FeedbackDialog, type FeedbackDialogProps, type FeedbackDialogSlotProps, Field, FilterDropdown, type FilterDropdownProps, FilterList, Form, GooglePlacesAutocomplete, type GooglePlacesAutocompleteProps, type GooglePlacesContextValue, GooglePlacesProvider, type GooglePlacesProviderProps, HelpCircle, Icon, type IconProps, type IconType, Image, type ImageProps, type ImageStatus, InfoCircle, InfoCircleSolid, InfoToast, KeyCommand, Loader, LoadingScreen, LocalStorageAvailable, LocalStorageGetItem, Logo, LongArrowUpLeftSolid, type MainTextMatchedSubstrings, MoreHorizontal, NavArrowDown, NavArrowDownSolid, NavArrowLeft, NavArrowRight, OTPInput, type OTPInputProps, type PlaceDetails, type PlaceType, Plus, PlusSquare, RHFAutocomplete, type RHFAutocompleteProps, RHFCheckbox, type RHFCheckboxProps, RHFDatePicker, type RHFDatePickerProps, RHFDateRangePicker, type RHFDateRangePickerProps, RHFDateTimePicker, type RHFDateTimePickerProps, RHFGooglePlacesAutocomplete, type RHFGooglePlacesAutocompleteProps, RHFMultiCheckbox, type RHFMultiCheckboxOption, type RHFMultiCheckboxProps, RHFMultiSwitch, RHFOTPInput, type RHFOTPInputProps, RHFRadioGroup, type RHFRadioGroupProps, RHFSelect, type RHFSelectOption, type RHFSelectProps, RHFSwitch, RHFTextField, RHFTimePicker, type RHFTimePickerProps, RHFUpload, type RHFUploadProps, RadioDefault, RadioSelect, type RadiusOptions, STORAGE_KEY, Search, Settings, SettingsConsumer, SettingsContext, type SettingsContextProps, SettingsProvider, type SettingsValueProps, type SortDirection, SortDown, SortDropdown, type SortDropdownProps, type SortOption, SortUp, SplashScreen, StatDown, StatUp, type StructuredFormatting, SuccessToast, Table, TablePagination, ThemeProvider, type TimePickerProps, Toast, ToolbarButton, type ToolbarButtonProps, ToolbarDatePickerButton, type ToolbarDatePickerButtonProps, ToolbarFilterButton, type ToolbarFilterButtonProps, ToolbarSearchField, type ToolbarSearchFieldProps, ToolbarSettingsButton, type ToolbarSettingsButtonProps, ToolbarSortButton, type ToolbarSortButtonProps, ToolbarTodayButton, type ToolbarTodayButtonProps, ToolbarViewSwitcher, type ToolbarViewSwitcherProps, Trash, Upload, type UploadProps, type UseBooleanReturnType, type UseGooglePlacesAutocompleteOptions, type UseGooglePlacesAutocompleteReturn, type UseSetStateReturnType, User, UserSolid, type ViewOption, WarningToast, XMark, XMarkSolid, action, apexChartsStyles, background, baseAction, basePalette, bgBlur, bgGradient, border, borderGradient, breakpoints, colorSchemes, common, components, createPaletteChannel, createShadowColor, createTheme, customShadows, customSpacing, darkPalette, defaultPresets, defaultSettings, dialogClasses, drawerClasses, error, fCurrency, fData, fNumber, fPercent, fShortenNumber, feedbackDialogClasses, formatFullname, getCurrencySymbol, getDateRangeFromPreset, getDefaultChartOptions, getInitials, getStorage, grey, hexToRgbChannel, hideScrollX, hideScrollY, icon, iconClasses, info, isEqual, lightPalette, maxLine, mediaQueries, menuItem, neutral, orderBy, paper, paramCase, primary, primaryFont, pxToRem, radius, remToPx, removeStorage, responsiveFontSizes, schemeConfig, secondary, secondaryFont, sentenceCase, setFont, setStorage, shadows, snakeCase, splitFullname, stylesMode, success, surface, tertiaryFont, text, textGradient, toolbarClasses, typography, updateComponentsWithSettings, updateCoreWithSettings, useBoolean, useCopyToClipboard, useCountdownDate, useCountdownSeconds, useEventListener, useGooglePlacesAutocomplete, useGooglePlacesContext, useGooglePlacesLoaded, useLocalStorage, usePopover, useResponsive, useScrollOffSetTop, useSetState, useSettings, useWidth, varAlpha, warning };
2670
+ export { type AddressComponent, AnimatedLogo, Attachment, Bank, BellNotification, Building, Calendar, ChatBubbleQuestionSolid, CheckCircleSolid, CheckboxDefault, CheckboxIndeterminate, CheckboxSelect, Circle, ClipboardCheck, Clock, CloudUpload, type ColorSchema, type Coordinates, Copy, CopyButton, CustomDialog, type CustomDialogProps, CustomDrawer, type CustomDrawerProps, type CustomShadowOptions, type CustomSpacingOptions, type DatePickerProps, type DatePreset, type DatePresetOption, type DateRange, DateRangeDropdown, type DateRangeDropdownProps, DateRangePicker, type DateRangePickerProps, type DateTimePickerProps, Download, Edit, EmptyContent, type EmptyContentProps, ErrorToast, Eye, EyeClosed, FeedbackDialog, type FeedbackDialogProps, type FeedbackDialogSlotProps, Field, FilterDropdown, type FilterDropdownProps, FilterList, Form, GooglePlacesAutocomplete, type GooglePlacesAutocompleteProps, type GooglePlacesContextValue, GooglePlacesProvider, type GooglePlacesProviderProps, HelpCircle, Icon, type IconProps, type IconType, Image, type ImageProps, type ImageStatus, InfoCircle, InfoCircleSolid, InfoToast, KeyCommand, Loader, LoadingScreen, LocalStorageAvailable, LocalStorageGetItem, Logo, LongArrowUpLeftSolid, type MainTextMatchedSubstrings, MapPinXMark, MoreHorizontal, NavArrowDown, NavArrowDownSolid, NavArrowLeft, NavArrowRight, OTPInput, type OTPInputProps, type ParsedAddress, type PlaceDetails, type PlaceType, Plus, PlusSquare, RHFAutocomplete, type RHFAutocompleteProps, RHFCheckbox, type RHFCheckboxProps, RHFDatePicker, type RHFDatePickerProps, RHFDateRangePicker, type RHFDateRangePickerProps, RHFDateTimePicker, type RHFDateTimePickerProps, RHFGooglePlacesAutocomplete, type RHFGooglePlacesAutocompleteProps, RHFMultiCheckbox, type RHFMultiCheckboxOption, type RHFMultiCheckboxProps, RHFMultiSwitch, RHFOTPInput, type RHFOTPInputProps, RHFRadioGroup, type RHFRadioGroupProps, RHFSelect, type RHFSelectOption, type RHFSelectProps, RHFSwitch, RHFTextField, RHFTimePicker, type RHFTimePickerProps, RHFUpload, type RHFUploadProps, RadioDefault, RadioSelect, type RadiusOptions, STORAGE_KEY, Search, Settings, SettingsConsumer, SettingsContext, type SettingsContextProps, SettingsProvider, type SettingsValueProps, type SortDirection, SortDown, SortDropdown, type SortDropdownProps, type SortOption, SortUp, SplashScreen, StatDown, StatUp, type StructuredFormatting, SuccessToast, Table, TablePagination, ThemeProvider, type TimePickerProps, Toast, ToolbarButton, type ToolbarButtonProps, ToolbarDatePickerButton, type ToolbarDatePickerButtonProps, ToolbarFilterButton, type ToolbarFilterButtonProps, ToolbarSearchField, type ToolbarSearchFieldProps, ToolbarSettingsButton, type ToolbarSettingsButtonProps, ToolbarSortButton, type ToolbarSortButtonProps, ToolbarTodayButton, type ToolbarTodayButtonProps, ToolbarViewSwitcher, type ToolbarViewSwitcherProps, Trash, Upload, type UploadProps, type UseBooleanReturnType, type UseGooglePlacesAutocompleteOptions, type UseGooglePlacesAutocompleteReturn, type UseSetStateReturnType, User, UserSolid, type ViewOption, WarningToast, XMark, XMarkSolid, action, apexChartsStyles, background, baseAction, basePalette, bgBlur, bgGradient, border, borderGradient, breakpoints, colorSchemes, common, components, createPaletteChannel, createShadowColor, createTheme, customShadows, customSpacing, darkPalette, defaultPresets, defaultSettings, dialogClasses, drawerClasses, error, fCurrency, fData, fNumber, fPercent, fShortenNumber, feedbackDialogClasses, formatFullname, getCurrencySymbol, getDateRangeFromPreset, getDefaultChartOptions, getInitials, getStorage, grey, hexToRgbChannel, hideScrollX, hideScrollY, icon, iconClasses, info, isEqual, lightPalette, maxLine, mediaQueries, menuItem, neutral, orderBy, paper, paramCase, parseAddressComponents, primary, primaryFont, pxToRem, radius, remToPx, removeStorage, responsiveFontSizes, schemeConfig, secondary, secondaryFont, sentenceCase, setFont, setStorage, shadows, snakeCase, splitFullname, stylesMode, success, surface, tertiaryFont, text, textGradient, toolbarClasses, typography, updateComponentsWithSettings, updateCoreWithSettings, useBoolean, useCopyToClipboard, useCountdownDate, useCountdownSeconds, useEventListener, useGooglePlacesAutocomplete, useGooglePlacesContext, useGooglePlacesLoaded, useLocalStorage, usePopover, useResponsive, useScrollOffSetTop, useSetState, useSettings, useWidth, varAlpha, warning };
package/dist/index.d.ts CHANGED
@@ -1177,6 +1177,8 @@ declare const CloudUpload: (props: SvgIconProps) => react_jsx_runtime.JSX.Elemen
1177
1177
 
1178
1178
  declare const RadioSelect: (props: SvgIconProps) => react_jsx_runtime.JSX.Element;
1179
1179
 
1180
+ declare const MapPinXMark: (props: SvgIconProps) => react_jsx_runtime.JSX.Element;
1181
+
1180
1182
  declare const SuccessToast: (props: SvgIconProps) => react_jsx_runtime.JSX.Element;
1181
1183
 
1182
1184
  declare const WarningToast: (props: SvgIconProps) => react_jsx_runtime.JSX.Element;
@@ -1239,6 +1241,7 @@ declare const Icons_InfoToast: typeof InfoToast;
1239
1241
  declare const Icons_KeyCommand: typeof KeyCommand;
1240
1242
  declare const Icons_Loader: typeof Loader;
1241
1243
  declare const Icons_LongArrowUpLeftSolid: typeof LongArrowUpLeftSolid;
1244
+ declare const Icons_MapPinXMark: typeof MapPinXMark;
1242
1245
  declare const Icons_MoreHorizontal: typeof MoreHorizontal;
1243
1246
  declare const Icons_NavArrowDown: typeof NavArrowDown;
1244
1247
  declare const Icons_NavArrowDownSolid: typeof NavArrowDownSolid;
@@ -1262,7 +1265,7 @@ declare const Icons_WarningToast: typeof WarningToast;
1262
1265
  declare const Icons_XMark: typeof XMark;
1263
1266
  declare const Icons_XMarkSolid: typeof XMarkSolid;
1264
1267
  declare namespace Icons {
1265
- export { Icons_Attachment as Attachment, Icons_Bank as Bank, Icons_BellNotification as BellNotification, Icons_Building as Building, Icons_Calendar as Calendar, Icons_ChatBubbleQuestionSolid as ChatBubbleQuestionSolid, Icons_CheckCircleSolid as CheckCircleSolid, Icons_CheckboxDefault as CheckboxDefault, Icons_CheckboxIndeterminate as CheckboxIndeterminate, Icons_CheckboxSelect as CheckboxSelect, Icons_Circle as Circle, Icons_ClipboardCheck as ClipboardCheck, Icons_Clock as Clock, Icons_CloudUpload as CloudUpload, Icons_Copy as Copy, Icons_Download as Download, Icons_Edit as Edit, Icons_ErrorToast as ErrorToast, Icons_Eye as Eye, Icons_EyeClosed as EyeClosed, Icons_FilterList as FilterList, Icons_HelpCircle as HelpCircle, Icons_InfoCircle as InfoCircle, Icons_InfoCircleSolid as InfoCircleSolid, Icons_InfoToast as InfoToast, Icons_KeyCommand as KeyCommand, Icons_Loader as Loader, Icons_LongArrowUpLeftSolid as LongArrowUpLeftSolid, Icons_MoreHorizontal as MoreHorizontal, Icons_NavArrowDown as NavArrowDown, Icons_NavArrowDownSolid as NavArrowDownSolid, Icons_NavArrowLeft as NavArrowLeft, Icons_NavArrowRight as NavArrowRight, Icons_Plus as Plus, Icons_PlusSquare as PlusSquare, Icons_RadioDefault as RadioDefault, Icons_RadioSelect as RadioSelect, Icons_Search as Search, Icons_Settings as Settings, Icons_SortDown as SortDown, Icons_SortUp as SortUp, Icons_StatDown as StatDown, Icons_StatUp as StatUp, Icons_SuccessToast as SuccessToast, Icons_Trash as Trash, Icons_User as User, Icons_UserSolid as UserSolid, Icons_WarningToast as WarningToast, Icons_XMark as XMark, Icons_XMarkSolid as XMarkSolid };
1268
+ export { Icons_Attachment as Attachment, Icons_Bank as Bank, Icons_BellNotification as BellNotification, Icons_Building as Building, Icons_Calendar as Calendar, Icons_ChatBubbleQuestionSolid as ChatBubbleQuestionSolid, Icons_CheckCircleSolid as CheckCircleSolid, Icons_CheckboxDefault as CheckboxDefault, Icons_CheckboxIndeterminate as CheckboxIndeterminate, Icons_CheckboxSelect as CheckboxSelect, Icons_Circle as Circle, Icons_ClipboardCheck as ClipboardCheck, Icons_Clock as Clock, Icons_CloudUpload as CloudUpload, Icons_Copy as Copy, Icons_Download as Download, Icons_Edit as Edit, Icons_ErrorToast as ErrorToast, Icons_Eye as Eye, Icons_EyeClosed as EyeClosed, Icons_FilterList as FilterList, Icons_HelpCircle as HelpCircle, Icons_InfoCircle as InfoCircle, Icons_InfoCircleSolid as InfoCircleSolid, Icons_InfoToast as InfoToast, Icons_KeyCommand as KeyCommand, Icons_Loader as Loader, Icons_LongArrowUpLeftSolid as LongArrowUpLeftSolid, Icons_MapPinXMark as MapPinXMark, Icons_MoreHorizontal as MoreHorizontal, Icons_NavArrowDown as NavArrowDown, Icons_NavArrowDownSolid as NavArrowDownSolid, Icons_NavArrowLeft as NavArrowLeft, Icons_NavArrowRight as NavArrowRight, Icons_Plus as Plus, Icons_PlusSquare as PlusSquare, Icons_RadioDefault as RadioDefault, Icons_RadioSelect as RadioSelect, Icons_Search as Search, Icons_Settings as Settings, Icons_SortDown as SortDown, Icons_SortUp as SortUp, Icons_StatDown as StatDown, Icons_StatUp as StatUp, Icons_SuccessToast as SuccessToast, Icons_Trash as Trash, Icons_User as User, Icons_UserSolid as UserSolid, Icons_WarningToast as WarningToast, Icons_XMark as XMark, Icons_XMarkSolid as XMarkSolid };
1266
1269
  }
1267
1270
 
1268
1271
  type IconType = keyof typeof Icons;
@@ -1671,16 +1674,60 @@ interface GooglePlacesContextValue {
1671
1674
  loaded: boolean;
1672
1675
  error: Error | null;
1673
1676
  }
1677
+ interface AddressComponent {
1678
+ longText: string;
1679
+ shortText: string;
1680
+ types: string[];
1681
+ }
1682
+ interface ParsedAddress {
1683
+ /** Street number */
1684
+ streetNumber?: string;
1685
+ /** Street/Route name */
1686
+ street?: string;
1687
+ /** Full street address (number + street) */
1688
+ address?: string;
1689
+ /** Neighborhood/Sublocality */
1690
+ neighborhood?: string;
1691
+ /** City/Locality */
1692
+ city?: string;
1693
+ /** State/Administrative area level 1 */
1694
+ state?: string;
1695
+ /** State short code (e.g., "CA", "NY") */
1696
+ stateCode?: string;
1697
+ /** Country */
1698
+ country?: string;
1699
+ /** Country code (e.g., "US", "NG") */
1700
+ countryCode?: string;
1701
+ /** Postal/ZIP code */
1702
+ postalCode?: string;
1703
+ /** County/Administrative area level 2 */
1704
+ county?: string;
1705
+ }
1706
+ interface Coordinates {
1707
+ latitude: number;
1708
+ longitude: number;
1709
+ }
1674
1710
  interface PlaceDetails {
1675
1711
  placeId: string;
1676
1712
  description: string;
1677
1713
  mainText: string;
1678
1714
  secondaryText?: string;
1715
+ /** @deprecated Use coordinates.latitude instead */
1679
1716
  lat?: number;
1717
+ /** @deprecated Use coordinates.longitude instead */
1680
1718
  lng?: number;
1681
1719
  formattedAddress?: string;
1682
- addressComponents?: any[];
1720
+ /** Raw address components from Google */
1721
+ addressComponents?: AddressComponent[];
1722
+ /** Parsed address with structured fields */
1723
+ parsedAddress?: ParsedAddress;
1724
+ /** Coordinates object */
1725
+ coordinates?: Coordinates;
1683
1726
  }
1727
+ /**
1728
+ * Parse Google Places address components into structured address data
1729
+ */
1730
+ declare const parseAddressComponents: (addressComponents: AddressComponent[] | undefined) => ParsedAddress;
1684
1731
 
1685
1732
  interface GooglePlacesProviderProps {
1686
1733
  apiKey: string;
@@ -1720,7 +1767,8 @@ interface UseGooglePlacesAutocompleteOptions {
1720
1767
  fetchPlaceDetails?: boolean;
1721
1768
  /**
1722
1769
  * Fields to fetch when getting place details
1723
- * @default ['geometry', 'formatted_address', 'address_components']
1770
+ * @see https://developers.google.com/maps/documentation/javascript/place-class#place-class
1771
+ * @default ['location', 'formattedAddress', 'addressComponents', 'displayName']
1724
1772
  */
1725
1773
  placeDetailsFields?: string[];
1726
1774
  }
@@ -2619,4 +2667,4 @@ type ThemeProviderProps = {
2619
2667
  };
2620
2668
  declare const ThemeProvider: ({ children }: ThemeProviderProps) => react_jsx_runtime.JSX.Element;
2621
2669
 
2622
- export { AnimatedLogo, Attachment, Bank, BellNotification, Building, Calendar, ChatBubbleQuestionSolid, CheckCircleSolid, CheckboxDefault, CheckboxIndeterminate, CheckboxSelect, Circle, ClipboardCheck, Clock, CloudUpload, type ColorSchema, Copy, CopyButton, CustomDialog, type CustomDialogProps, CustomDrawer, type CustomDrawerProps, type CustomShadowOptions, type CustomSpacingOptions, type DatePickerProps, type DatePreset, type DatePresetOption, type DateRange, DateRangeDropdown, type DateRangeDropdownProps, DateRangePicker, type DateRangePickerProps, type DateTimePickerProps, Download, Edit, EmptyContent, type EmptyContentProps, ErrorToast, Eye, EyeClosed, FeedbackDialog, type FeedbackDialogProps, type FeedbackDialogSlotProps, Field, FilterDropdown, type FilterDropdownProps, FilterList, Form, GooglePlacesAutocomplete, type GooglePlacesAutocompleteProps, type GooglePlacesContextValue, GooglePlacesProvider, type GooglePlacesProviderProps, HelpCircle, Icon, type IconProps, type IconType, Image, type ImageProps, type ImageStatus, InfoCircle, InfoCircleSolid, InfoToast, KeyCommand, Loader, LoadingScreen, LocalStorageAvailable, LocalStorageGetItem, Logo, LongArrowUpLeftSolid, type MainTextMatchedSubstrings, MoreHorizontal, NavArrowDown, NavArrowDownSolid, NavArrowLeft, NavArrowRight, OTPInput, type OTPInputProps, type PlaceDetails, type PlaceType, Plus, PlusSquare, RHFAutocomplete, type RHFAutocompleteProps, RHFCheckbox, type RHFCheckboxProps, RHFDatePicker, type RHFDatePickerProps, RHFDateRangePicker, type RHFDateRangePickerProps, RHFDateTimePicker, type RHFDateTimePickerProps, RHFGooglePlacesAutocomplete, type RHFGooglePlacesAutocompleteProps, RHFMultiCheckbox, type RHFMultiCheckboxOption, type RHFMultiCheckboxProps, RHFMultiSwitch, RHFOTPInput, type RHFOTPInputProps, RHFRadioGroup, type RHFRadioGroupProps, RHFSelect, type RHFSelectOption, type RHFSelectProps, RHFSwitch, RHFTextField, RHFTimePicker, type RHFTimePickerProps, RHFUpload, type RHFUploadProps, RadioDefault, RadioSelect, type RadiusOptions, STORAGE_KEY, Search, Settings, SettingsConsumer, SettingsContext, type SettingsContextProps, SettingsProvider, type SettingsValueProps, type SortDirection, SortDown, SortDropdown, type SortDropdownProps, type SortOption, SortUp, SplashScreen, StatDown, StatUp, type StructuredFormatting, SuccessToast, Table, TablePagination, ThemeProvider, type TimePickerProps, Toast, ToolbarButton, type ToolbarButtonProps, ToolbarDatePickerButton, type ToolbarDatePickerButtonProps, ToolbarFilterButton, type ToolbarFilterButtonProps, ToolbarSearchField, type ToolbarSearchFieldProps, ToolbarSettingsButton, type ToolbarSettingsButtonProps, ToolbarSortButton, type ToolbarSortButtonProps, ToolbarTodayButton, type ToolbarTodayButtonProps, ToolbarViewSwitcher, type ToolbarViewSwitcherProps, Trash, Upload, type UploadProps, type UseBooleanReturnType, type UseGooglePlacesAutocompleteOptions, type UseGooglePlacesAutocompleteReturn, type UseSetStateReturnType, User, UserSolid, type ViewOption, WarningToast, XMark, XMarkSolid, action, apexChartsStyles, background, baseAction, basePalette, bgBlur, bgGradient, border, borderGradient, breakpoints, colorSchemes, common, components, createPaletteChannel, createShadowColor, createTheme, customShadows, customSpacing, darkPalette, defaultPresets, defaultSettings, dialogClasses, drawerClasses, error, fCurrency, fData, fNumber, fPercent, fShortenNumber, feedbackDialogClasses, formatFullname, getCurrencySymbol, getDateRangeFromPreset, getDefaultChartOptions, getInitials, getStorage, grey, hexToRgbChannel, hideScrollX, hideScrollY, icon, iconClasses, info, isEqual, lightPalette, maxLine, mediaQueries, menuItem, neutral, orderBy, paper, paramCase, primary, primaryFont, pxToRem, radius, remToPx, removeStorage, responsiveFontSizes, schemeConfig, secondary, secondaryFont, sentenceCase, setFont, setStorage, shadows, snakeCase, splitFullname, stylesMode, success, surface, tertiaryFont, text, textGradient, toolbarClasses, typography, updateComponentsWithSettings, updateCoreWithSettings, useBoolean, useCopyToClipboard, useCountdownDate, useCountdownSeconds, useEventListener, useGooglePlacesAutocomplete, useGooglePlacesContext, useGooglePlacesLoaded, useLocalStorage, usePopover, useResponsive, useScrollOffSetTop, useSetState, useSettings, useWidth, varAlpha, warning };
2670
+ export { type AddressComponent, AnimatedLogo, Attachment, Bank, BellNotification, Building, Calendar, ChatBubbleQuestionSolid, CheckCircleSolid, CheckboxDefault, CheckboxIndeterminate, CheckboxSelect, Circle, ClipboardCheck, Clock, CloudUpload, type ColorSchema, type Coordinates, Copy, CopyButton, CustomDialog, type CustomDialogProps, CustomDrawer, type CustomDrawerProps, type CustomShadowOptions, type CustomSpacingOptions, type DatePickerProps, type DatePreset, type DatePresetOption, type DateRange, DateRangeDropdown, type DateRangeDropdownProps, DateRangePicker, type DateRangePickerProps, type DateTimePickerProps, Download, Edit, EmptyContent, type EmptyContentProps, ErrorToast, Eye, EyeClosed, FeedbackDialog, type FeedbackDialogProps, type FeedbackDialogSlotProps, Field, FilterDropdown, type FilterDropdownProps, FilterList, Form, GooglePlacesAutocomplete, type GooglePlacesAutocompleteProps, type GooglePlacesContextValue, GooglePlacesProvider, type GooglePlacesProviderProps, HelpCircle, Icon, type IconProps, type IconType, Image, type ImageProps, type ImageStatus, InfoCircle, InfoCircleSolid, InfoToast, KeyCommand, Loader, LoadingScreen, LocalStorageAvailable, LocalStorageGetItem, Logo, LongArrowUpLeftSolid, type MainTextMatchedSubstrings, MapPinXMark, MoreHorizontal, NavArrowDown, NavArrowDownSolid, NavArrowLeft, NavArrowRight, OTPInput, type OTPInputProps, type ParsedAddress, type PlaceDetails, type PlaceType, Plus, PlusSquare, RHFAutocomplete, type RHFAutocompleteProps, RHFCheckbox, type RHFCheckboxProps, RHFDatePicker, type RHFDatePickerProps, RHFDateRangePicker, type RHFDateRangePickerProps, RHFDateTimePicker, type RHFDateTimePickerProps, RHFGooglePlacesAutocomplete, type RHFGooglePlacesAutocompleteProps, RHFMultiCheckbox, type RHFMultiCheckboxOption, type RHFMultiCheckboxProps, RHFMultiSwitch, RHFOTPInput, type RHFOTPInputProps, RHFRadioGroup, type RHFRadioGroupProps, RHFSelect, type RHFSelectOption, type RHFSelectProps, RHFSwitch, RHFTextField, RHFTimePicker, type RHFTimePickerProps, RHFUpload, type RHFUploadProps, RadioDefault, RadioSelect, type RadiusOptions, STORAGE_KEY, Search, Settings, SettingsConsumer, SettingsContext, type SettingsContextProps, SettingsProvider, type SettingsValueProps, type SortDirection, SortDown, SortDropdown, type SortDropdownProps, type SortOption, SortUp, SplashScreen, StatDown, StatUp, type StructuredFormatting, SuccessToast, Table, TablePagination, ThemeProvider, type TimePickerProps, Toast, ToolbarButton, type ToolbarButtonProps, ToolbarDatePickerButton, type ToolbarDatePickerButtonProps, ToolbarFilterButton, type ToolbarFilterButtonProps, ToolbarSearchField, type ToolbarSearchFieldProps, ToolbarSettingsButton, type ToolbarSettingsButtonProps, ToolbarSortButton, type ToolbarSortButtonProps, ToolbarTodayButton, type ToolbarTodayButtonProps, ToolbarViewSwitcher, type ToolbarViewSwitcherProps, Trash, Upload, type UploadProps, type UseBooleanReturnType, type UseGooglePlacesAutocompleteOptions, type UseGooglePlacesAutocompleteReturn, type UseSetStateReturnType, User, UserSolid, type ViewOption, WarningToast, XMark, XMarkSolid, action, apexChartsStyles, background, baseAction, basePalette, bgBlur, bgGradient, border, borderGradient, breakpoints, colorSchemes, common, components, createPaletteChannel, createShadowColor, createTheme, customShadows, customSpacing, darkPalette, defaultPresets, defaultSettings, dialogClasses, drawerClasses, error, fCurrency, fData, fNumber, fPercent, fShortenNumber, feedbackDialogClasses, formatFullname, getCurrencySymbol, getDateRangeFromPreset, getDefaultChartOptions, getInitials, getStorage, grey, hexToRgbChannel, hideScrollX, hideScrollY, icon, iconClasses, info, isEqual, lightPalette, maxLine, mediaQueries, menuItem, neutral, orderBy, paper, paramCase, parseAddressComponents, primary, primaryFont, pxToRem, radius, remToPx, removeStorage, responsiveFontSizes, schemeConfig, secondary, secondaryFont, sentenceCase, setFont, setStorage, shadows, snakeCase, splitFullname, stylesMode, success, surface, tertiaryFont, text, textGradient, toolbarClasses, typography, updateComponentsWithSettings, updateCoreWithSettings, useBoolean, useCopyToClipboard, useCountdownDate, useCountdownSeconds, useEventListener, useGooglePlacesAutocomplete, useGooglePlacesContext, useGooglePlacesLoaded, useLocalStorage, usePopover, useResponsive, useScrollOffSetTop, useSetState, useSettings, useWidth, varAlpha, warning };