@shopify/shop-minis-react 0.3.1 → 0.3.4

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.
Files changed (42) hide show
  1. package/dist/components/atoms/content-wrapper.js.map +1 -1
  2. package/dist/components/atoms/video-player.js +28 -26
  3. package/dist/components/atoms/video-player.js.map +1 -1
  4. package/dist/components/commerce/product-card.js +106 -79
  5. package/dist/components/commerce/product-card.js.map +1 -1
  6. package/dist/components/commerce/product-link.js +124 -137
  7. package/dist/components/commerce/product-link.js.map +1 -1
  8. package/dist/components/commerce/search.js +20 -20
  9. package/dist/components/commerce/search.js.map +1 -1
  10. package/dist/components/ui/sonner.js +3 -1
  11. package/dist/components/ui/sonner.js.map +1 -1
  12. package/dist/hooks/navigation/useNavigateWithTransition.js +10 -11
  13. package/dist/hooks/navigation/useNavigateWithTransition.js.map +1 -1
  14. package/dist/index.js +269 -264
  15. package/dist/index.js.map +1 -1
  16. package/dist/internal/components/product-review-stars.js +78 -0
  17. package/dist/internal/components/product-review-stars.js.map +1 -0
  18. package/dist/mocks.js +178 -107
  19. package/dist/mocks.js.map +1 -1
  20. package/dist/shop-minis-react/node_modules/.pnpm/lucide-react@0.513.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/star-half.js +21 -0
  21. package/dist/shop-minis-react/node_modules/.pnpm/lucide-react@0.513.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/star-half.js.map +1 -0
  22. package/dist/shop-minis-react/node_modules/.pnpm/simple-swizzle@0.2.2/node_modules/simple-swizzle/index.js +1 -1
  23. package/dist/shop-minis-react/node_modules/.pnpm/sonner@2.0.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/sonner/dist/index.js +4 -4
  24. package/dist/shop-minis-react/node_modules/.pnpm/sonner@2.0.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/sonner/dist/index.js.map +1 -1
  25. package/dist/shop-minis-react/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.1.0/node_modules/use-sync-external-store/shim/index.js +1 -1
  26. package/eslint/rules/prefer-sdk-hooks.cjs +9 -11
  27. package/package.json +1 -1
  28. package/src/components/atoms/content-wrapper.tsx +1 -1
  29. package/src/components/atoms/video-player.tsx +7 -0
  30. package/src/components/commerce/product-card.test.tsx +135 -0
  31. package/src/components/commerce/product-card.tsx +39 -5
  32. package/src/components/commerce/product-link.test.tsx +15 -3
  33. package/src/components/commerce/product-link.tsx +9 -25
  34. package/src/components/commerce/search.tsx +2 -2
  35. package/src/components/index.ts +1 -0
  36. package/src/components/ui/sonner.tsx +2 -2
  37. package/src/hooks/navigation/useNavigateWithTransition.test.ts +46 -7
  38. package/src/hooks/navigation/useNavigateWithTransition.ts +4 -1
  39. package/src/internal/components/product-review-stars.test.tsx +90 -0
  40. package/src/internal/components/product-review-stars.tsx +113 -0
  41. package/src/mocks.ts +10 -2
  42. package/src/providers/ImagePickerProvider.test.tsx +3 -9
package/dist/index.js CHANGED
@@ -2,180 +2,182 @@ import { DATA_NAVIGATION_TYPE_ATTRIBUTE as o, NAVIGATION_TYPES as t } from "./ty
2
2
  import { MinisContainer as i } from "./components/MinisContainer.js";
3
3
  import { AddToCartButton as n } from "./components/commerce/add-to-cart.js";
4
4
  import { BuyNowButton as s } from "./components/commerce/buy-now.js";
5
- import { ProductCard as u, ProductCardBadge as f, ProductCardContainer as x, ProductCardFavoriteButton as c, ProductCardImage as d, ProductCardImageContainer as C, ProductCardInfo as g, ProductCardPrice as S, ProductCardTitle as D } from "./components/commerce/product-card.js";
6
- import { ProductLink as P } from "./components/commerce/product-link.js";
7
- import { MerchantCard as T, MerchantCardContainer as I, MerchantCardHeader as M, MerchantCardInfo as R, MerchantCardName as w, MerchantCardRating as v } from "./components/commerce/merchant-card.js";
8
- import { ProductCardSkeleton as F } from "./components/commerce/product-card-skeleton.js";
9
- import { MerchantCardSkeleton as b } from "./components/commerce/merchant-card-skeleton.js";
10
- import { QuantitySelector as E } from "./components/commerce/quantity-selector.js";
11
- import { Search as N, SearchInput as y, SearchProvider as O, SearchResultsList as G } from "./components/commerce/search.js";
12
- import { FavoriteButton as V } from "./components/commerce/favorite-button.js";
13
- import { ImageContentWrapper as _ } from "./components/content/image-content-wrapper.js";
14
- import { MinisRouter as Y } from "./components/navigation/minis-router.js";
15
- import { TransitionLink as K } from "./components/navigation/transition-link.js";
16
- import { Button as j } from "./components/atoms/button.js";
17
- import { IconButton as X } from "./components/atoms/icon-button.js";
18
- import { Image as $ } from "./components/atoms/image.js";
19
- import { Touchable as er } from "./components/atoms/touchable.js";
20
- import { LongPressDetector as tr } from "./components/atoms/long-press-detector.js";
21
- import { AlertDialogAtom as ir } from "./components/atoms/alert-dialog.js";
22
- import { List as nr } from "./components/atoms/list.js";
23
- import { VideoPlayer as sr } from "./components/atoms/video-player.js";
24
- import { TextInput as ur } from "./components/atoms/text-input.js";
25
- import { ContentWrapper as xr } from "./components/atoms/content-wrapper.js";
26
- import { Accordion as dr, AccordionContent as Cr, AccordionItem as gr, AccordionTrigger as Sr } from "./components/ui/accordion.js";
27
- import { Alert as Ar, AlertDescription as Pr, AlertTitle as hr } from "./components/ui/alert.js";
28
- import { AlertDialog as Ir, AlertDialogAction as Mr, AlertDialogCancel as Rr, AlertDialogContent as wr, AlertDialogDescription as vr, AlertDialogFooter as Br, AlertDialogHeader as Fr, AlertDialogOverlay as Ur, AlertDialogPortal as br, AlertDialogTitle as kr, AlertDialogTrigger as Er } from "./components/ui/alert-dialog.js";
29
- import { Avatar as Nr, AvatarFallback as yr, AvatarImage as Or } from "./components/ui/avatar.js";
30
- import { Badge as Hr, badgeVariants as Vr } from "./components/ui/badge.js";
31
- import { Card as _r, CardAction as Wr, CardContent as Yr, CardDescription as qr, CardFooter as Kr, CardHeader as Qr, CardTitle as jr } from "./components/ui/card.js";
32
- import { Carousel as Xr, CarouselContent as Zr, CarouselItem as $r, CarouselNext as re, CarouselPrevious as ee } from "./components/ui/carousel.js";
33
- import { Checkbox as te } from "./components/ui/checkbox.js";
34
- import { Dialog as ie, DialogClose as pe, DialogContent as ne, DialogDescription as me, DialogFooter as se, DialogHeader as le, DialogOverlay as ue, DialogPortal as fe, DialogTitle as xe, DialogTrigger as ce } from "./components/ui/dialog.js";
35
- import { Drawer as Ce, DrawerClose as ge, DrawerContent as Se, DrawerDescription as De, DrawerFooter as Ae, DrawerHeader as Pe, DrawerOverlay as he, DrawerPortal as Te, DrawerTitle as Ie, DrawerTrigger as Me } from "./components/ui/drawer.js";
36
- import { Input as we } from "./components/ui/input.js";
37
- import { Label as Be } from "./components/ui/label.js";
38
- import { Progress as Ue } from "./components/ui/progress.js";
39
- import { RadioGroup as ke, RadioGroupItem as Ee } from "./components/ui/radio-group.js";
40
- import { ResizableHandle as Ne, ResizablePanel as ye, ResizablePanelGroup as Oe } from "./components/ui/resizable.js";
41
- import { ScrollArea as He, ScrollBar as Ve } from "./components/ui/scroll-area.js";
42
- import { Select as _e, SelectContent as We, SelectGroup as Ye, SelectItem as qe, SelectLabel as Ke, SelectScrollDownButton as Qe, SelectScrollUpButton as je, SelectSeparator as Je, SelectTrigger as Xe, SelectValue as Ze } from "./components/ui/select.js";
43
- import { Separator as ro } from "./components/ui/separator.js";
44
- import { Sheet as oo, SheetClose as to, SheetContent as ao, SheetDescription as io, SheetFooter as po, SheetHeader as no, SheetTitle as mo, SheetTrigger as so } from "./components/ui/sheet.js";
45
- import { Toaster as uo } from "./components/ui/sonner.js";
46
- import { Skeleton as xo } from "./components/ui/skeleton.js";
47
- import { useRecentProducts as Co } from "./hooks/user/useRecentProducts.js";
48
- import { useRecentShops as So } from "./hooks/user/useRecentShops.js";
49
- import { useSavedProducts as Ao } from "./hooks/user/useSavedProducts.js";
50
- import { useSavedProductsActions as ho } from "./hooks/user/useSavedProductsActions.js";
51
- import { useFollowedShops as Io } from "./hooks/user/useFollowedShops.js";
52
- import { useFollowedShopsActions as Ro } from "./hooks/user/useFollowedShopsActions.js";
53
- import { useCurrentUser as vo } from "./hooks/user/useCurrentUser.js";
54
- import { useOrders as Fo } from "./hooks/user/useOrders.js";
55
- import { useBuyerAttributes as bo } from "./hooks/user/useBuyerAttributes.js";
56
- import { useGenerateUserToken as Eo } from "./hooks/user/useGenerateUserToken.js";
57
- import { useProductListActions as No } from "./hooks/product/useProductListActions.js";
58
- import { useProductLists as Oo } from "./hooks/product/useProductLists.js";
59
- import { useProductList as Ho } from "./hooks/product/useProductList.js";
60
- import { useProduct as zo } from "./hooks/product/useProduct.js";
61
- import { useProducts as Wo } from "./hooks/product/useProducts.js";
62
- import { useProductVariants as qo } from "./hooks/product/useProductVariants.js";
63
- import { useProductMedia as Qo } from "./hooks/product/useProductMedia.js";
64
- import { useProductSearch as Jo } from "./hooks/product/useProductSearch.js";
65
- import { useRecommendedProducts as Zo } from "./hooks/product/useRecommendedProducts.js";
66
- import { usePopularProducts as rt } from "./hooks/product/usePopularProducts.js";
67
- import { useCuratedProducts as ot } from "./hooks/product/useCuratedProducts.js";
68
- import { useAsyncStorage as at } from "./hooks/storage/useAsyncStorage.js";
69
- import { useSecureStorage as pt } from "./hooks/storage/useSecureStorage.js";
70
- import { useImageUpload as mt } from "./hooks/storage/useImageUpload.js";
71
- import { useShopNavigation as lt } from "./hooks/navigation/useShopNavigation.js";
72
- import { useCloseMini as ft } from "./hooks/navigation/useCloseMini.js";
73
- import { useDeeplink as ct } from "./hooks/navigation/useDeeplink.js";
74
- import { useNavigateWithTransition as Ct } from "./hooks/navigation/useNavigateWithTransition.js";
75
- import { useShop as St } from "./hooks/shop/useShop.js";
76
- import { useRecommendedShops as At } from "./hooks/shop/useRecommendedShops.js";
77
- import { useCreateImageContent as ht } from "./hooks/content/useCreateImageContent.js";
78
- import { useErrorToast as It } from "./hooks/util/useErrorToast.js";
79
- import { useErrorScreen as Rt } from "./hooks/util/useErrorScreen.js";
80
- import { useShare as vt } from "./hooks/util/useShare.js";
81
- import { useImagePicker as Ft } from "./hooks/util/useImagePicker.js";
82
- import { useKeyboardAvoidingView as bt } from "./hooks/util/useKeyboardAvoidingView.js";
83
- import { useRequestPermissions as Et } from "./hooks/util/useRequestPermissions.js";
84
- import { useOnMiniFocus as Nt } from "./hooks/events/useOnMiniFocus.js";
85
- import { useOnMiniBlur as Ot } from "./hooks/events/useOnMiniBlur.js";
86
- import { useOnMiniClose as Ht } from "./hooks/events/useOnMiniClose.js";
87
- import { useOnAppStateChange as zt } from "./hooks/events/useOnAppStateChange.js";
88
- import { MiniEntityNotFoundError as Wt, MiniError as Yt, MiniNetworkError as qt, formatError as Kt } from "./utils/errors.js";
89
- import { extractBrandTheme as jt, formatReviewCount as Jt, getFeaturedImages as Xt, normalizeRating as Zt } from "./utils/merchant-card.js";
90
- import { parseUrl as ra } from "./utils/parseUrl.js";
91
- import { fileToDataUri as oa, getResizedImageUrl as ta, getThumbhashDataURL as aa } from "./utils/image.js";
92
- import { UserState as pa, UserTokenGenerateUserErrorCode as na } from "./shop-minis-platform/src/types/user.js";
93
- import { ContentCreateUserErrorCode as sa, MinisContentStatus as la } from "./shop-minis-platform/src/types/content.js";
94
- import { Social as fa } from "./shop-minis-platform/src/types/share.js";
5
+ import { ProductCard as u, ProductCardBadge as f, ProductCardContainer as x, ProductCardFavoriteButton as c, ProductCardImage as d, ProductCardImageContainer as C, ProductCardInfo as g, ProductCardPrice as S, ProductCardReviewStars as D, ProductCardTitle as P } from "./components/commerce/product-card.js";
6
+ import { ProductLink as h } from "./components/commerce/product-link.js";
7
+ import { MerchantCard as I, MerchantCardContainer as R, MerchantCardHeader as w, MerchantCardInfo as M, MerchantCardName as v, MerchantCardRating as B } from "./components/commerce/merchant-card.js";
8
+ import { ProductCardSkeleton as U } from "./components/commerce/product-card-skeleton.js";
9
+ import { MerchantCardSkeleton as k } from "./components/commerce/merchant-card-skeleton.js";
10
+ import { QuantitySelector as L } from "./components/commerce/quantity-selector.js";
11
+ import { Search as y, SearchInput as O, SearchProvider as G, SearchResultsList as V } from "./components/commerce/search.js";
12
+ import { FavoriteButton as z } from "./components/commerce/favorite-button.js";
13
+ import { ImageContentWrapper as W } from "./components/content/image-content-wrapper.js";
14
+ import { MinisRouter as q } from "./components/navigation/minis-router.js";
15
+ import { TransitionLink as Q } from "./components/navigation/transition-link.js";
16
+ import { Button as J } from "./components/atoms/button.js";
17
+ import { IconButton as Z } from "./components/atoms/icon-button.js";
18
+ import { Image as rr } from "./components/atoms/image.js";
19
+ import { Touchable as or } from "./components/atoms/touchable.js";
20
+ import { LongPressDetector as ar } from "./components/atoms/long-press-detector.js";
21
+ import { AlertDialogAtom as pr } from "./components/atoms/alert-dialog.js";
22
+ import { List as mr } from "./components/atoms/list.js";
23
+ import { VideoPlayer as lr } from "./components/atoms/video-player.js";
24
+ import { TextInput as fr } from "./components/atoms/text-input.js";
25
+ import { ContentWrapper as cr } from "./components/atoms/content-wrapper.js";
26
+ import { ProductVariantPrice as Cr } from "./components/atoms/product-variant-price.js";
27
+ import { Accordion as Sr, AccordionContent as Dr, AccordionItem as Pr, AccordionTrigger as Ar } from "./components/ui/accordion.js";
28
+ import { Alert as Tr, AlertDescription as Ir, AlertTitle as Rr } from "./components/ui/alert.js";
29
+ import { AlertDialog as Mr, AlertDialogAction as vr, AlertDialogCancel as Br, AlertDialogContent as Fr, AlertDialogDescription as Ur, AlertDialogFooter as br, AlertDialogHeader as kr, AlertDialogOverlay as Er, AlertDialogPortal as Lr, AlertDialogTitle as Nr, AlertDialogTrigger as yr } from "./components/ui/alert-dialog.js";
30
+ import { Avatar as Gr, AvatarFallback as Vr, AvatarImage as Hr } from "./components/ui/avatar.js";
31
+ import { Badge as _r, badgeVariants as Wr } from "./components/ui/badge.js";
32
+ import { Card as qr, CardAction as Kr, CardContent as Qr, CardDescription as jr, CardFooter as Jr, CardHeader as Xr, CardTitle as Zr } from "./components/ui/card.js";
33
+ import { Carousel as re, CarouselContent as ee, CarouselItem as oe, CarouselNext as te, CarouselPrevious as ae } from "./components/ui/carousel.js";
34
+ import { Checkbox as pe } from "./components/ui/checkbox.js";
35
+ import { Dialog as me, DialogClose as se, DialogContent as le, DialogDescription as ue, DialogFooter as fe, DialogHeader as xe, DialogOverlay as ce, DialogPortal as de, DialogTitle as Ce, DialogTrigger as ge } from "./components/ui/dialog.js";
36
+ import { Drawer as De, DrawerClose as Pe, DrawerContent as Ae, DrawerDescription as he, DrawerFooter as Te, DrawerHeader as Ie, DrawerOverlay as Re, DrawerPortal as we, DrawerTitle as Me, DrawerTrigger as ve } from "./components/ui/drawer.js";
37
+ import { Input as Fe } from "./components/ui/input.js";
38
+ import { Label as be } from "./components/ui/label.js";
39
+ import { Progress as Ee } from "./components/ui/progress.js";
40
+ import { RadioGroup as Ne, RadioGroupItem as ye } from "./components/ui/radio-group.js";
41
+ import { ResizableHandle as Ge, ResizablePanel as Ve, ResizablePanelGroup as He } from "./components/ui/resizable.js";
42
+ import { ScrollArea as _e, ScrollBar as We } from "./components/ui/scroll-area.js";
43
+ import { Select as qe, SelectContent as Ke, SelectGroup as Qe, SelectItem as je, SelectLabel as Je, SelectScrollDownButton as Xe, SelectScrollUpButton as Ze, SelectSeparator as $e, SelectTrigger as ro, SelectValue as eo } from "./components/ui/select.js";
44
+ import { Separator as to } from "./components/ui/separator.js";
45
+ import { Sheet as io, SheetClose as po, SheetContent as no, SheetDescription as mo, SheetFooter as so, SheetHeader as lo, SheetTitle as uo, SheetTrigger as fo } from "./components/ui/sheet.js";
46
+ import { Toaster as co } from "./components/ui/sonner.js";
47
+ import { toast as go } from "./shop-minis-react/node_modules/.pnpm/sonner@2.0.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/sonner/dist/index.js";
48
+ import { Skeleton as Do } from "./components/ui/skeleton.js";
49
+ import { useRecentProducts as Ao } from "./hooks/user/useRecentProducts.js";
50
+ import { useRecentShops as To } from "./hooks/user/useRecentShops.js";
51
+ import { useSavedProducts as Ro } from "./hooks/user/useSavedProducts.js";
52
+ import { useSavedProductsActions as Mo } from "./hooks/user/useSavedProductsActions.js";
53
+ import { useFollowedShops as Bo } from "./hooks/user/useFollowedShops.js";
54
+ import { useFollowedShopsActions as Uo } from "./hooks/user/useFollowedShopsActions.js";
55
+ import { useCurrentUser as ko } from "./hooks/user/useCurrentUser.js";
56
+ import { useOrders as Lo } from "./hooks/user/useOrders.js";
57
+ import { useBuyerAttributes as yo } from "./hooks/user/useBuyerAttributes.js";
58
+ import { useGenerateUserToken as Go } from "./hooks/user/useGenerateUserToken.js";
59
+ import { useProductListActions as Ho } from "./hooks/product/useProductListActions.js";
60
+ import { useProductLists as _o } from "./hooks/product/useProductLists.js";
61
+ import { useProductList as Yo } from "./hooks/product/useProductList.js";
62
+ import { useProduct as Ko } from "./hooks/product/useProduct.js";
63
+ import { useProducts as jo } from "./hooks/product/useProducts.js";
64
+ import { useProductVariants as Xo } from "./hooks/product/useProductVariants.js";
65
+ import { useProductMedia as $o } from "./hooks/product/useProductMedia.js";
66
+ import { useProductSearch as et } from "./hooks/product/useProductSearch.js";
67
+ import { useRecommendedProducts as tt } from "./hooks/product/useRecommendedProducts.js";
68
+ import { usePopularProducts as it } from "./hooks/product/usePopularProducts.js";
69
+ import { useCuratedProducts as nt } from "./hooks/product/useCuratedProducts.js";
70
+ import { useAsyncStorage as st } from "./hooks/storage/useAsyncStorage.js";
71
+ import { useSecureStorage as ut } from "./hooks/storage/useSecureStorage.js";
72
+ import { useImageUpload as xt } from "./hooks/storage/useImageUpload.js";
73
+ import { useShopNavigation as dt } from "./hooks/navigation/useShopNavigation.js";
74
+ import { useCloseMini as gt } from "./hooks/navigation/useCloseMini.js";
75
+ import { useDeeplink as Dt } from "./hooks/navigation/useDeeplink.js";
76
+ import { useNavigateWithTransition as At } from "./hooks/navigation/useNavigateWithTransition.js";
77
+ import { useShop as Tt } from "./hooks/shop/useShop.js";
78
+ import { useRecommendedShops as Rt } from "./hooks/shop/useRecommendedShops.js";
79
+ import { useCreateImageContent as Mt } from "./hooks/content/useCreateImageContent.js";
80
+ import { useErrorToast as Bt } from "./hooks/util/useErrorToast.js";
81
+ import { useErrorScreen as Ut } from "./hooks/util/useErrorScreen.js";
82
+ import { useShare as kt } from "./hooks/util/useShare.js";
83
+ import { useImagePicker as Lt } from "./hooks/util/useImagePicker.js";
84
+ import { useKeyboardAvoidingView as yt } from "./hooks/util/useKeyboardAvoidingView.js";
85
+ import { useRequestPermissions as Gt } from "./hooks/util/useRequestPermissions.js";
86
+ import { useOnMiniFocus as Ht } from "./hooks/events/useOnMiniFocus.js";
87
+ import { useOnMiniBlur as _t } from "./hooks/events/useOnMiniBlur.js";
88
+ import { useOnMiniClose as Yt } from "./hooks/events/useOnMiniClose.js";
89
+ import { useOnAppStateChange as Kt } from "./hooks/events/useOnAppStateChange.js";
90
+ import { MiniEntityNotFoundError as jt, MiniError as Jt, MiniNetworkError as Xt, formatError as Zt } from "./utils/errors.js";
91
+ import { extractBrandTheme as ra, formatReviewCount as ea, getFeaturedImages as oa, normalizeRating as ta } from "./utils/merchant-card.js";
92
+ import { parseUrl as ia } from "./utils/parseUrl.js";
93
+ import { fileToDataUri as na, getResizedImageUrl as ma, getThumbhashDataURL as sa } from "./utils/image.js";
94
+ import { UserState as ua, UserTokenGenerateUserErrorCode as fa } from "./shop-minis-platform/src/types/user.js";
95
+ import { ContentCreateUserErrorCode as ca, MinisContentStatus as da } from "./shop-minis-platform/src/types/content.js";
96
+ import { Social as ga } from "./shop-minis-platform/src/types/share.js";
95
97
  export {
96
- dr as Accordion,
97
- Cr as AccordionContent,
98
- gr as AccordionItem,
99
- Sr as AccordionTrigger,
98
+ Sr as Accordion,
99
+ Dr as AccordionContent,
100
+ Pr as AccordionItem,
101
+ Ar as AccordionTrigger,
100
102
  n as AddToCartButton,
101
- Ar as Alert,
102
- Pr as AlertDescription,
103
- Ir as AlertDialog,
104
- Mr as AlertDialogAction,
105
- ir as AlertDialogAtom,
106
- Rr as AlertDialogCancel,
107
- wr as AlertDialogContent,
108
- vr as AlertDialogDescription,
109
- Br as AlertDialogFooter,
110
- Fr as AlertDialogHeader,
111
- Ur as AlertDialogOverlay,
112
- br as AlertDialogPortal,
113
- kr as AlertDialogTitle,
114
- Er as AlertDialogTrigger,
115
- hr as AlertTitle,
116
- Nr as Avatar,
117
- yr as AvatarFallback,
118
- Or as AvatarImage,
119
- Hr as Badge,
120
- j as Button,
103
+ Tr as Alert,
104
+ Ir as AlertDescription,
105
+ Mr as AlertDialog,
106
+ vr as AlertDialogAction,
107
+ pr as AlertDialogAtom,
108
+ Br as AlertDialogCancel,
109
+ Fr as AlertDialogContent,
110
+ Ur as AlertDialogDescription,
111
+ br as AlertDialogFooter,
112
+ kr as AlertDialogHeader,
113
+ Er as AlertDialogOverlay,
114
+ Lr as AlertDialogPortal,
115
+ Nr as AlertDialogTitle,
116
+ yr as AlertDialogTrigger,
117
+ Rr as AlertTitle,
118
+ Gr as Avatar,
119
+ Vr as AvatarFallback,
120
+ Hr as AvatarImage,
121
+ _r as Badge,
122
+ J as Button,
121
123
  s as BuyNowButton,
122
- _r as Card,
123
- Wr as CardAction,
124
- Yr as CardContent,
125
- qr as CardDescription,
126
- Kr as CardFooter,
127
- Qr as CardHeader,
128
- jr as CardTitle,
129
- Xr as Carousel,
130
- Zr as CarouselContent,
131
- $r as CarouselItem,
132
- re as CarouselNext,
133
- ee as CarouselPrevious,
134
- te as Checkbox,
135
- sa as ContentCreateUserErrorCode,
136
- xr as ContentWrapper,
124
+ qr as Card,
125
+ Kr as CardAction,
126
+ Qr as CardContent,
127
+ jr as CardDescription,
128
+ Jr as CardFooter,
129
+ Xr as CardHeader,
130
+ Zr as CardTitle,
131
+ re as Carousel,
132
+ ee as CarouselContent,
133
+ oe as CarouselItem,
134
+ te as CarouselNext,
135
+ ae as CarouselPrevious,
136
+ pe as Checkbox,
137
+ ca as ContentCreateUserErrorCode,
138
+ cr as ContentWrapper,
137
139
  o as DATA_NAVIGATION_TYPE_ATTRIBUTE,
138
- ie as Dialog,
139
- pe as DialogClose,
140
- ne as DialogContent,
141
- me as DialogDescription,
142
- se as DialogFooter,
143
- le as DialogHeader,
144
- ue as DialogOverlay,
145
- fe as DialogPortal,
146
- xe as DialogTitle,
147
- ce as DialogTrigger,
148
- Ce as Drawer,
149
- ge as DrawerClose,
150
- Se as DrawerContent,
151
- De as DrawerDescription,
152
- Ae as DrawerFooter,
153
- Pe as DrawerHeader,
154
- he as DrawerOverlay,
155
- Te as DrawerPortal,
156
- Ie as DrawerTitle,
157
- Me as DrawerTrigger,
158
- V as FavoriteButton,
159
- X as IconButton,
160
- $ as Image,
161
- _ as ImageContentWrapper,
162
- we as Input,
163
- Be as Label,
164
- nr as List,
165
- tr as LongPressDetector,
166
- T as MerchantCard,
167
- I as MerchantCardContainer,
168
- M as MerchantCardHeader,
169
- R as MerchantCardInfo,
170
- w as MerchantCardName,
171
- v as MerchantCardRating,
172
- b as MerchantCardSkeleton,
173
- Wt as MiniEntityNotFoundError,
174
- Yt as MiniError,
175
- qt as MiniNetworkError,
140
+ me as Dialog,
141
+ se as DialogClose,
142
+ le as DialogContent,
143
+ ue as DialogDescription,
144
+ fe as DialogFooter,
145
+ xe as DialogHeader,
146
+ ce as DialogOverlay,
147
+ de as DialogPortal,
148
+ Ce as DialogTitle,
149
+ ge as DialogTrigger,
150
+ De as Drawer,
151
+ Pe as DrawerClose,
152
+ Ae as DrawerContent,
153
+ he as DrawerDescription,
154
+ Te as DrawerFooter,
155
+ Ie as DrawerHeader,
156
+ Re as DrawerOverlay,
157
+ we as DrawerPortal,
158
+ Me as DrawerTitle,
159
+ ve as DrawerTrigger,
160
+ z as FavoriteButton,
161
+ Z as IconButton,
162
+ rr as Image,
163
+ W as ImageContentWrapper,
164
+ Fe as Input,
165
+ be as Label,
166
+ mr as List,
167
+ ar as LongPressDetector,
168
+ I as MerchantCard,
169
+ R as MerchantCardContainer,
170
+ w as MerchantCardHeader,
171
+ M as MerchantCardInfo,
172
+ v as MerchantCardName,
173
+ B as MerchantCardRating,
174
+ k as MerchantCardSkeleton,
175
+ jt as MiniEntityNotFoundError,
176
+ Jt as MiniError,
177
+ Xt as MiniNetworkError,
176
178
  i as MinisContainer,
177
- la as MinisContentStatus,
178
- Y as MinisRouter,
179
+ da as MinisContentStatus,
180
+ q as MinisRouter,
179
181
  t as NAVIGATION_TYPES,
180
182
  u as ProductCard,
181
183
  f as ProductCardBadge,
@@ -185,100 +187,103 @@ export {
185
187
  C as ProductCardImageContainer,
186
188
  g as ProductCardInfo,
187
189
  S as ProductCardPrice,
188
- F as ProductCardSkeleton,
189
- D as ProductCardTitle,
190
- P as ProductLink,
191
- Ue as Progress,
192
- E as QuantitySelector,
193
- ke as RadioGroup,
194
- Ee as RadioGroupItem,
195
- Ne as ResizableHandle,
196
- ye as ResizablePanel,
197
- Oe as ResizablePanelGroup,
198
- He as ScrollArea,
199
- Ve as ScrollBar,
200
- N as Search,
201
- y as SearchInput,
202
- O as SearchProvider,
203
- G as SearchResultsList,
204
- _e as Select,
205
- We as SelectContent,
206
- Ye as SelectGroup,
207
- qe as SelectItem,
208
- Ke as SelectLabel,
209
- Qe as SelectScrollDownButton,
210
- je as SelectScrollUpButton,
211
- Je as SelectSeparator,
212
- Xe as SelectTrigger,
213
- Ze as SelectValue,
214
- ro as Separator,
215
- oo as Sheet,
216
- to as SheetClose,
217
- ao as SheetContent,
218
- io as SheetDescription,
219
- po as SheetFooter,
220
- no as SheetHeader,
221
- mo as SheetTitle,
222
- so as SheetTrigger,
223
- xo as Skeleton,
224
- fa as Social,
225
- ur as TextInput,
226
- uo as Toaster,
227
- er as Touchable,
228
- K as TransitionLink,
229
- pa as UserState,
230
- na as UserTokenGenerateUserErrorCode,
231
- sr as VideoPlayer,
232
- Vr as badgeVariants,
233
- jt as extractBrandTheme,
234
- oa as fileToDataUri,
235
- Kt as formatError,
236
- Jt as formatReviewCount,
237
- Xt as getFeaturedImages,
238
- ta as getResizedImageUrl,
239
- aa as getThumbhashDataURL,
240
- Zt as normalizeRating,
241
- ra as parseUrl,
242
- at as useAsyncStorage,
243
- bo as useBuyerAttributes,
244
- ft as useCloseMini,
245
- ht as useCreateImageContent,
246
- ot as useCuratedProducts,
247
- vo as useCurrentUser,
248
- ct as useDeeplink,
249
- Rt as useErrorScreen,
250
- It as useErrorToast,
251
- Io as useFollowedShops,
252
- Ro as useFollowedShopsActions,
253
- Eo as useGenerateUserToken,
254
- Ft as useImagePicker,
255
- mt as useImageUpload,
256
- bt as useKeyboardAvoidingView,
257
- Ct as useNavigateWithTransition,
258
- zt as useOnAppStateChange,
259
- Ot as useOnMiniBlur,
260
- Ht as useOnMiniClose,
261
- Nt as useOnMiniFocus,
262
- Fo as useOrders,
263
- rt as usePopularProducts,
264
- zo as useProduct,
265
- Ho as useProductList,
266
- No as useProductListActions,
267
- Oo as useProductLists,
268
- Qo as useProductMedia,
269
- Jo as useProductSearch,
270
- qo as useProductVariants,
271
- Wo as useProducts,
272
- Co as useRecentProducts,
273
- So as useRecentShops,
274
- Zo as useRecommendedProducts,
275
- At as useRecommendedShops,
276
- Et as useRequestPermissions,
277
- Ao as useSavedProducts,
278
- ho as useSavedProductsActions,
279
- pt as useSecureStorage,
280
- vt as useShare,
281
- St as useShop,
282
- lt as useShopNavigation
190
+ D as ProductCardReviewStars,
191
+ U as ProductCardSkeleton,
192
+ P as ProductCardTitle,
193
+ h as ProductLink,
194
+ Cr as ProductVariantPrice,
195
+ Ee as Progress,
196
+ L as QuantitySelector,
197
+ Ne as RadioGroup,
198
+ ye as RadioGroupItem,
199
+ Ge as ResizableHandle,
200
+ Ve as ResizablePanel,
201
+ He as ResizablePanelGroup,
202
+ _e as ScrollArea,
203
+ We as ScrollBar,
204
+ y as Search,
205
+ O as SearchInput,
206
+ G as SearchProvider,
207
+ V as SearchResultsList,
208
+ qe as Select,
209
+ Ke as SelectContent,
210
+ Qe as SelectGroup,
211
+ je as SelectItem,
212
+ Je as SelectLabel,
213
+ Xe as SelectScrollDownButton,
214
+ Ze as SelectScrollUpButton,
215
+ $e as SelectSeparator,
216
+ ro as SelectTrigger,
217
+ eo as SelectValue,
218
+ to as Separator,
219
+ io as Sheet,
220
+ po as SheetClose,
221
+ no as SheetContent,
222
+ mo as SheetDescription,
223
+ so as SheetFooter,
224
+ lo as SheetHeader,
225
+ uo as SheetTitle,
226
+ fo as SheetTrigger,
227
+ Do as Skeleton,
228
+ ga as Social,
229
+ fr as TextInput,
230
+ co as Toaster,
231
+ or as Touchable,
232
+ Q as TransitionLink,
233
+ ua as UserState,
234
+ fa as UserTokenGenerateUserErrorCode,
235
+ lr as VideoPlayer,
236
+ Wr as badgeVariants,
237
+ ra as extractBrandTheme,
238
+ na as fileToDataUri,
239
+ Zt as formatError,
240
+ ea as formatReviewCount,
241
+ oa as getFeaturedImages,
242
+ ma as getResizedImageUrl,
243
+ sa as getThumbhashDataURL,
244
+ ta as normalizeRating,
245
+ ia as parseUrl,
246
+ go as toast,
247
+ st as useAsyncStorage,
248
+ yo as useBuyerAttributes,
249
+ gt as useCloseMini,
250
+ Mt as useCreateImageContent,
251
+ nt as useCuratedProducts,
252
+ ko as useCurrentUser,
253
+ Dt as useDeeplink,
254
+ Ut as useErrorScreen,
255
+ Bt as useErrorToast,
256
+ Bo as useFollowedShops,
257
+ Uo as useFollowedShopsActions,
258
+ Go as useGenerateUserToken,
259
+ Lt as useImagePicker,
260
+ xt as useImageUpload,
261
+ yt as useKeyboardAvoidingView,
262
+ At as useNavigateWithTransition,
263
+ Kt as useOnAppStateChange,
264
+ _t as useOnMiniBlur,
265
+ Yt as useOnMiniClose,
266
+ Ht as useOnMiniFocus,
267
+ Lo as useOrders,
268
+ it as usePopularProducts,
269
+ Ko as useProduct,
270
+ Yo as useProductList,
271
+ Ho as useProductListActions,
272
+ _o as useProductLists,
273
+ $o as useProductMedia,
274
+ et as useProductSearch,
275
+ Xo as useProductVariants,
276
+ jo as useProducts,
277
+ Ao as useRecentProducts,
278
+ To as useRecentShops,
279
+ tt as useRecommendedProducts,
280
+ Rt as useRecommendedShops,
281
+ Gt as useRequestPermissions,
282
+ Ro as useSavedProducts,
283
+ Mo as useSavedProductsActions,
284
+ ut as useSecureStorage,
285
+ kt as useShare,
286
+ Tt as useShop,
287
+ dt as useShopNavigation
283
288
  };
284
289
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}