@shopify/shop-minis-react 0.1.2 → 0.1.3

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 (31) hide show
  1. package/dist/_virtual/index10.js +2 -2
  2. package/dist/_virtual/index4.js +2 -3
  3. package/dist/_virtual/index4.js.map +1 -1
  4. package/dist/_virtual/index5.js +3 -2
  5. package/dist/_virtual/index5.js.map +1 -1
  6. package/dist/_virtual/index6.js +2 -2
  7. package/dist/_virtual/index9.js +2 -2
  8. package/dist/hooks/util/useRequestPermissions.js +12 -0
  9. package/dist/hooks/util/useRequestPermissions.js.map +1 -0
  10. package/dist/index.js +222 -220
  11. package/dist/index.js.map +1 -1
  12. package/dist/mocks.js +25 -20
  13. package/dist/mocks.js.map +1 -1
  14. package/dist/providers/ImagePickerProvider.js +59 -49
  15. package/dist/providers/ImagePickerProvider.js.map +1 -1
  16. package/dist/shop-minis-platform/src/types/content.js +3 -2
  17. package/dist/shop-minis-platform/src/types/content.js.map +1 -1
  18. package/dist/shop-minis-react/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@19.1.6_react@19.1.0/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +1 -1
  19. package/dist/shop-minis-react/node_modules/.pnpm/@videojs_xhr@2.7.0/node_modules/@videojs/xhr/lib/index.js +1 -1
  20. package/dist/shop-minis-react/node_modules/.pnpm/@xmldom_xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/index.js +1 -1
  21. package/dist/shop-minis-react/node_modules/.pnpm/mpd-parser@1.3.1/node_modules/mpd-parser/dist/mpd-parser.es.js +1 -1
  22. 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
  23. package/package.json +2 -2
  24. package/src/components/index.ts +1 -0
  25. package/src/hooks/index.ts +1 -0
  26. package/src/hooks/util/useRequestPermissions.ts +24 -0
  27. package/src/mocks.ts +10 -1
  28. package/src/providers/ImagePickerProvider.test.tsx +329 -4
  29. package/src/providers/ImagePickerProvider.tsx +42 -4
  30. package/dist/shop-minis-platform/src/types/permissions.js +0 -15
  31. package/dist/shop-minis-platform/src/types/permissions.js.map +0 -1
@@ -1,5 +1,5 @@
1
- var r = {};
1
+ var e = { exports: {} };
2
2
  export {
3
- r as __exports
3
+ e as __module
4
4
  };
5
5
  //# sourceMappingURL=index10.js.map
@@ -1,6 +1,5 @@
1
- import { __require as r } from "../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";
2
- var i = r();
1
+ var e = { exports: {} };
3
2
  export {
4
- i as s
3
+ e as __module
5
4
  };
6
5
  //# sourceMappingURL=index4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index4.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index4.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,5 +1,6 @@
1
- var e = { exports: {} };
1
+ import { __require as r } from "../shop-minis-react/node_modules/.pnpm/@xmldom_xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/index.js";
2
+ var i = r();
2
3
  export {
3
- e as __module
4
+ i as l
4
5
  };
5
6
  //# sourceMappingURL=index5.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -1,6 +1,6 @@
1
- import { __require as r } from "../shop-minis-react/node_modules/.pnpm/@xmldom_xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/index.js";
1
+ import { __require as r } from "../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";
2
2
  var i = r();
3
3
  export {
4
- i as l
4
+ i as s
5
5
  };
6
6
  //# sourceMappingURL=index6.js.map
@@ -1,5 +1,5 @@
1
- var e = { exports: {} };
1
+ var r = {};
2
2
  export {
3
- e as __module
3
+ r as __exports
4
4
  };
5
5
  //# sourceMappingURL=index9.js.map
@@ -0,0 +1,12 @@
1
+ import { useHandleAction as e } from "../../internal/useHandleAction.js";
2
+ import { useShopActions as o } from "../../internal/useShopActions.js";
3
+ const i = () => {
4
+ const { requestPermission: s } = o();
5
+ return {
6
+ requestPermission: e(s)
7
+ };
8
+ };
9
+ export {
10
+ i as useRequestPermissions
11
+ };
12
+ //# sourceMappingURL=useRequestPermissions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRequestPermissions.js","sources":["../../../src/hooks/util/useRequestPermissions.ts"],"sourcesContent":["import {\n RequestPermissionParams,\n RequestPermissionResponse,\n} from '@shopify/shop-minis-platform/actions'\n\nimport {useHandleAction} from '../../internal/useHandleAction'\nimport {useShopActions} from '../../internal/useShopActions'\n\ninterface UseRequestPermissionsReturns {\n /**\n * Request native permissions from the user\n */\n requestPermission: (\n params: RequestPermissionParams\n ) => Promise<RequestPermissionResponse>\n}\n\nexport const useRequestPermissions = (): UseRequestPermissionsReturns => {\n const {requestPermission} = useShopActions()\n\n return {\n requestPermission: useHandleAction(requestPermission),\n }\n}\n"],"names":["useRequestPermissions","requestPermission","useShopActions","useHandleAction"],"mappings":";;AAiBO,MAAMA,IAAwB,MAAoC;AACjE,QAAA,EAAC,mBAAAC,EAAiB,IAAIC,EAAe;AAEpC,SAAA;AAAA,IACL,mBAAmBC,EAAgBF,CAAiB;AAAA,EACtD;AACF;"}
package/dist/index.js CHANGED
@@ -12,152 +12,152 @@ import { MinisRouter as G } from "./components/navigation/minis-router.js";
12
12
  import { TransitionLink as V } from "./components/navigation/transition-link.js";
13
13
  import { Button as _ } from "./components/atoms/button.js";
14
14
  import { FavoriteButton as Y } from "./components/atoms/favorite-button.js";
15
- import { IconButton as Q } from "./components/atoms/icon-button.js";
16
- import { Image as q } from "./components/atoms/image.js";
15
+ import { IconButton as K } from "./components/atoms/icon-button.js";
16
+ import { Image as j } from "./components/atoms/image.js";
17
17
  import { Touchable as X } from "./components/atoms/touchable.js";
18
18
  import { LongPressDetector as $ } from "./components/atoms/long-press-detector.js";
19
19
  import { AlertDialogAtom as er } from "./components/atoms/alert-dialog.js";
20
20
  import { List as tr } from "./components/atoms/list.js";
21
21
  import { VideoPlayer as ir } from "./components/atoms/video-player.js";
22
22
  import { TextInput as nr } from "./components/atoms/text-input.js";
23
- import { Accordion as sr, AccordionContent as lr, AccordionItem as ur, AccordionTrigger as fr } from "./components/ui/accordion.js";
24
- import { Alert as cr, AlertDescription as dr, AlertTitle as Cr } from "./components/ui/alert.js";
25
- import { AlertDialog as Sr, AlertDialogAction as Dr, AlertDialogCancel as Ar, AlertDialogContent as Pr, AlertDialogDescription as hr, AlertDialogFooter as Tr, AlertDialogHeader as Ir, AlertDialogOverlay as Mr, AlertDialogPortal as Rr, AlertDialogTitle as vr, AlertDialogTrigger as wr } from "./components/ui/alert-dialog.js";
26
- import { Avatar as Fr, AvatarFallback as Ur, AvatarImage as br } from "./components/ui/avatar.js";
27
- import { Badge as Er, badgeVariants as Lr } from "./components/ui/badge.js";
28
- import { Card as Or, CardAction as yr, CardContent as Gr, CardDescription as Hr, CardFooter as Vr, CardHeader as zr, CardTitle as _r } from "./components/ui/card.js";
29
- import { Carousel as Yr, CarouselContent as Kr, CarouselItem as Qr, CarouselNext as jr, CarouselPrevious as qr } from "./components/ui/carousel.js";
30
- import { Checkbox as Xr } from "./components/ui/checkbox.js";
31
- import { Dialog as $r, DialogClose as re, DialogContent as ee, DialogDescription as oe, DialogFooter as te, DialogHeader as ae, DialogOverlay as ie, DialogPortal as pe, DialogTitle as ne, DialogTrigger as me } from "./components/ui/dialog.js";
32
- import { Drawer as le, DrawerClose as ue, DrawerContent as fe, DrawerDescription as xe, DrawerFooter as ce, DrawerHeader as de, DrawerOverlay as Ce, DrawerPortal as ge, DrawerTitle as Se, DrawerTrigger as De } from "./components/ui/drawer.js";
33
- import { Input as Pe } from "./components/ui/input.js";
34
- import { Label as Te } from "./components/ui/label.js";
35
- import { Progress as Me } from "./components/ui/progress.js";
36
- import { RadioGroup as ve, RadioGroupItem as we } from "./components/ui/radio-group.js";
37
- import { ResizableHandle as Fe, ResizablePanel as Ue, ResizablePanelGroup as be } from "./components/ui/resizable.js";
38
- import { ScrollArea as Ee, ScrollBar as Le } from "./components/ui/scroll-area.js";
39
- import { Select as Oe, SelectContent as ye, SelectGroup as Ge, SelectItem as He, SelectLabel as Ve, SelectScrollDownButton as ze, SelectScrollUpButton as _e, SelectSeparator as We, SelectTrigger as Ye, SelectValue as Ke } from "./components/ui/select.js";
40
- import { Separator as je } from "./components/ui/separator.js";
41
- import { Sheet as Je, SheetClose as Xe, SheetContent as Ze, SheetDescription as $e, SheetFooter as ro, SheetHeader as eo, SheetTitle as oo, SheetTrigger as to } from "./components/ui/sheet.js";
42
- import { Toaster as io } from "./components/ui/sonner.js";
43
- import { Skeleton as no } from "./components/ui/skeleton.js";
44
- import { useRecentProducts as so } from "./hooks/user/useRecentProducts.js";
45
- import { useRecentShops as uo } from "./hooks/user/useRecentShops.js";
46
- import { useSavedProducts as xo } from "./hooks/user/useSavedProducts.js";
47
- import { useSavedProductsActions as Co } from "./hooks/user/useSavedProductsActions.js";
48
- import { useFollowedShops as So } from "./hooks/user/useFollowedShops.js";
49
- import { useFollowedShopsActions as Ao } from "./hooks/user/useFollowedShopsActions.js";
50
- import { useCurrentUser as ho } from "./hooks/user/useCurrentUser.js";
51
- import { useOrders as Io } from "./hooks/user/useOrders.js";
52
- import { useBuyerAttributes as Ro } from "./hooks/user/useBuyerAttributes.js";
53
- import { useGenerateUserToken as wo } from "./hooks/user/useGenerateUserToken.js";
54
- import { useProductListActions as Fo } from "./hooks/product/useProductListActions.js";
55
- import { useProductLists as bo } from "./hooks/product/useProductLists.js";
56
- import { useProductList as Eo } from "./hooks/product/useProductList.js";
57
- import { useProduct as No } from "./hooks/product/useProduct.js";
58
- import { useProducts as yo } from "./hooks/product/useProducts.js";
59
- import { useProductVariants as Ho } from "./hooks/product/useProductVariants.js";
60
- import { useProductMedia as zo } from "./hooks/product/useProductMedia.js";
61
- import { useProductSearch as Wo } from "./hooks/product/useProductSearch.js";
62
- import { useRecommendedProducts as Ko } from "./hooks/product/useRecommendedProducts.js";
63
- import { usePopularProducts as jo } from "./hooks/product/usePopularProducts.js";
64
- import { useCuratedProducts as Jo } from "./hooks/product/useCuratedProducts.js";
65
- import { useAsyncStorage as Zo } from "./hooks/storage/useAsyncStorage.js";
66
- import { useSecureStorage as rt } from "./hooks/storage/useSecureStorage.js";
67
- import { useImageUpload as ot } from "./hooks/storage/useImageUpload.js";
68
- import { useShopNavigation as at } from "./hooks/navigation/useShopNavigation.js";
69
- import { useCloseMini as pt } from "./hooks/navigation/useCloseMini.js";
70
- import { useDeeplink as mt } from "./hooks/navigation/useDeeplink.js";
71
- import { useNavigateWithTransition as lt } from "./hooks/navigation/useNavigateWithTransition.js";
72
- import { useShop as ft } from "./hooks/shop/useShop.js";
73
- import { useShopCartActions as ct } from "./hooks/shop/useShopCartActions.js";
74
- import { useRecommendedShops as Ct } from "./hooks/shop/useRecommendedShops.js";
75
- import { useCreateImageContent as St } from "./hooks/content/useCreateImageContent.js";
76
- import { useErrorToast as At } from "./hooks/util/useErrorToast.js";
77
- import { useErrorScreen as ht } from "./hooks/util/useErrorScreen.js";
78
- import { useShare as It } from "./hooks/util/useShare.js";
79
- import { useImagePicker as Rt } from "./hooks/util/useImagePicker.js";
80
- import { useKeyboardAvoidingView as wt } from "./hooks/util/useKeyboardAvoidingView.js";
81
- import { useOnMiniFocus as Ft } from "./hooks/events/useOnMiniFocus.js";
82
- import { useOnMiniBlur as bt } from "./hooks/events/useOnMiniBlur.js";
83
- import { useOnMiniClose as Et } from "./hooks/events/useOnMiniClose.js";
84
- import { useOnAppStateChange as Nt } from "./hooks/events/useOnAppStateChange.js";
85
- import { MiniEntityNotFoundError as yt, MiniError as Gt, MiniNetworkError as Ht, formatError as Vt } from "./utils/errors.js";
86
- import { extractBrandTheme as _t, formatReviewCount as Wt, getFeaturedImages as Yt, normalizeRating as Kt } from "./utils/merchant-card.js";
87
- import { parseUrl as jt } from "./utils/parseUrl.js";
88
- import { fileToDataUri as Jt, getResizedImageUrl as Xt, getThumbhashDataURL as Zt } from "./utils/image.js";
89
- import { UserState as ra, UserTokenGenerateUserErrorCode as ea } from "./shop-minis-platform/src/types/user.js";
90
- import { ContentCreateUserErrorCode as ta } from "./shop-minis-platform/src/types/content.js";
91
- import { Consent as ia, ConsentStatus as pa } from "./shop-minis-platform/src/types/permissions.js";
92
- import { Social as ma } from "./shop-minis-platform/src/types/share.js";
23
+ import { ContentWrapper as sr } from "./components/atoms/content-wrapper.js";
24
+ import { Accordion as ur, AccordionContent as fr, AccordionItem as xr, AccordionTrigger as cr } from "./components/ui/accordion.js";
25
+ import { Alert as Cr, AlertDescription as gr, AlertTitle as Sr } from "./components/ui/alert.js";
26
+ import { AlertDialog as Ar, AlertDialogAction as Pr, AlertDialogCancel as hr, AlertDialogContent as Tr, AlertDialogDescription as Ir, AlertDialogFooter as Mr, AlertDialogHeader as Rr, AlertDialogOverlay as vr, AlertDialogPortal as wr, AlertDialogTitle as Br, AlertDialogTrigger as Fr } from "./components/ui/alert-dialog.js";
27
+ import { Avatar as br, AvatarFallback as kr, AvatarImage as Er } from "./components/ui/avatar.js";
28
+ import { Badge as Nr, badgeVariants as Or } from "./components/ui/badge.js";
29
+ import { Card as Gr, CardAction as Hr, CardContent as Vr, CardDescription as zr, CardFooter as _r, CardHeader as Wr, CardTitle as Yr } from "./components/ui/card.js";
30
+ import { Carousel as Kr, CarouselContent as Qr, CarouselItem as jr, CarouselNext as Jr, CarouselPrevious as Xr } from "./components/ui/carousel.js";
31
+ import { Checkbox as $r } from "./components/ui/checkbox.js";
32
+ import { Dialog as ee, DialogClose as oe, DialogContent as te, DialogDescription as ae, DialogFooter as ie, DialogHeader as pe, DialogOverlay as ne, DialogPortal as me, DialogTitle as se, DialogTrigger as le } from "./components/ui/dialog.js";
33
+ import { Drawer as fe, DrawerClose as xe, DrawerContent as ce, DrawerDescription as de, DrawerFooter as Ce, DrawerHeader as ge, DrawerOverlay as Se, DrawerPortal as De, DrawerTitle as Ae, DrawerTrigger as Pe } from "./components/ui/drawer.js";
34
+ import { Input as Te } from "./components/ui/input.js";
35
+ import { Label as Me } from "./components/ui/label.js";
36
+ import { Progress as ve } from "./components/ui/progress.js";
37
+ import { RadioGroup as Be, RadioGroupItem as Fe } from "./components/ui/radio-group.js";
38
+ import { ResizableHandle as be, ResizablePanel as ke, ResizablePanelGroup as Ee } from "./components/ui/resizable.js";
39
+ import { ScrollArea as Ne, ScrollBar as Oe } from "./components/ui/scroll-area.js";
40
+ import { Select as Ge, SelectContent as He, SelectGroup as Ve, SelectItem as ze, SelectLabel as _e, SelectScrollDownButton as We, SelectScrollUpButton as Ye, SelectSeparator as qe, SelectTrigger as Ke, SelectValue as Qe } from "./components/ui/select.js";
41
+ import { Separator as Je } from "./components/ui/separator.js";
42
+ import { Sheet as Ze, SheetClose as $e, SheetContent as ro, SheetDescription as eo, SheetFooter as oo, SheetHeader as to, SheetTitle as ao, SheetTrigger as io } from "./components/ui/sheet.js";
43
+ import { Toaster as no } from "./components/ui/sonner.js";
44
+ import { Skeleton as so } from "./components/ui/skeleton.js";
45
+ import { useRecentProducts as uo } from "./hooks/user/useRecentProducts.js";
46
+ import { useRecentShops as xo } from "./hooks/user/useRecentShops.js";
47
+ import { useSavedProducts as Co } from "./hooks/user/useSavedProducts.js";
48
+ import { useSavedProductsActions as So } from "./hooks/user/useSavedProductsActions.js";
49
+ import { useFollowedShops as Ao } from "./hooks/user/useFollowedShops.js";
50
+ import { useFollowedShopsActions as ho } from "./hooks/user/useFollowedShopsActions.js";
51
+ import { useCurrentUser as Io } from "./hooks/user/useCurrentUser.js";
52
+ import { useOrders as Ro } from "./hooks/user/useOrders.js";
53
+ import { useBuyerAttributes as wo } from "./hooks/user/useBuyerAttributes.js";
54
+ import { useGenerateUserToken as Fo } from "./hooks/user/useGenerateUserToken.js";
55
+ import { useProductListActions as bo } from "./hooks/product/useProductListActions.js";
56
+ import { useProductLists as Eo } from "./hooks/product/useProductLists.js";
57
+ import { useProductList as No } from "./hooks/product/useProductList.js";
58
+ import { useProduct as yo } from "./hooks/product/useProduct.js";
59
+ import { useProducts as Ho } from "./hooks/product/useProducts.js";
60
+ import { useProductVariants as zo } from "./hooks/product/useProductVariants.js";
61
+ import { useProductMedia as Wo } from "./hooks/product/useProductMedia.js";
62
+ import { useProductSearch as qo } from "./hooks/product/useProductSearch.js";
63
+ import { useRecommendedProducts as Qo } from "./hooks/product/useRecommendedProducts.js";
64
+ import { usePopularProducts as Jo } from "./hooks/product/usePopularProducts.js";
65
+ import { useCuratedProducts as Zo } from "./hooks/product/useCuratedProducts.js";
66
+ import { useAsyncStorage as rt } from "./hooks/storage/useAsyncStorage.js";
67
+ import { useSecureStorage as ot } from "./hooks/storage/useSecureStorage.js";
68
+ import { useImageUpload as at } from "./hooks/storage/useImageUpload.js";
69
+ import { useShopNavigation as pt } from "./hooks/navigation/useShopNavigation.js";
70
+ import { useCloseMini as mt } from "./hooks/navigation/useCloseMini.js";
71
+ import { useDeeplink as lt } from "./hooks/navigation/useDeeplink.js";
72
+ import { useNavigateWithTransition as ft } from "./hooks/navigation/useNavigateWithTransition.js";
73
+ import { useShop as ct } from "./hooks/shop/useShop.js";
74
+ import { useShopCartActions as Ct } from "./hooks/shop/useShopCartActions.js";
75
+ import { useRecommendedShops as St } from "./hooks/shop/useRecommendedShops.js";
76
+ import { useCreateImageContent as At } from "./hooks/content/useCreateImageContent.js";
77
+ import { useErrorToast as ht } from "./hooks/util/useErrorToast.js";
78
+ import { useErrorScreen as It } from "./hooks/util/useErrorScreen.js";
79
+ import { useShare as Rt } from "./hooks/util/useShare.js";
80
+ import { useImagePicker as wt } from "./hooks/util/useImagePicker.js";
81
+ import { useKeyboardAvoidingView as Ft } from "./hooks/util/useKeyboardAvoidingView.js";
82
+ import { useRequestPermissions as bt } from "./hooks/util/useRequestPermissions.js";
83
+ import { useOnMiniFocus as Et } from "./hooks/events/useOnMiniFocus.js";
84
+ import { useOnMiniBlur as Nt } from "./hooks/events/useOnMiniBlur.js";
85
+ import { useOnMiniClose as yt } from "./hooks/events/useOnMiniClose.js";
86
+ import { useOnAppStateChange as Ht } from "./hooks/events/useOnAppStateChange.js";
87
+ import { MiniEntityNotFoundError as zt, MiniError as _t, MiniNetworkError as Wt, formatError as Yt } from "./utils/errors.js";
88
+ import { extractBrandTheme as Kt, formatReviewCount as Qt, getFeaturedImages as jt, normalizeRating as Jt } from "./utils/merchant-card.js";
89
+ import { parseUrl as Zt } from "./utils/parseUrl.js";
90
+ import { fileToDataUri as ra, getResizedImageUrl as ea, getThumbhashDataURL as oa } from "./utils/image.js";
91
+ import { UserState as aa, UserTokenGenerateUserErrorCode as ia } from "./shop-minis-platform/src/types/user.js";
92
+ import { ContentCreateUserErrorCode as na, MinisContentStatus as ma } from "./shop-minis-platform/src/types/content.js";
93
+ import { Social as la } from "./shop-minis-platform/src/types/share.js";
93
94
  export {
94
- sr as Accordion,
95
- lr as AccordionContent,
96
- ur as AccordionItem,
97
- fr as AccordionTrigger,
98
- cr as Alert,
99
- dr as AlertDescription,
100
- Sr as AlertDialog,
101
- Dr as AlertDialogAction,
95
+ ur as Accordion,
96
+ fr as AccordionContent,
97
+ xr as AccordionItem,
98
+ cr as AccordionTrigger,
99
+ Cr as Alert,
100
+ gr as AlertDescription,
101
+ Ar as AlertDialog,
102
+ Pr as AlertDialogAction,
102
103
  er as AlertDialogAtom,
103
- Ar as AlertDialogCancel,
104
- Pr as AlertDialogContent,
105
- hr as AlertDialogDescription,
106
- Tr as AlertDialogFooter,
107
- Ir as AlertDialogHeader,
108
- Mr as AlertDialogOverlay,
109
- Rr as AlertDialogPortal,
110
- vr as AlertDialogTitle,
111
- wr as AlertDialogTrigger,
112
- Cr as AlertTitle,
113
- Fr as Avatar,
114
- Ur as AvatarFallback,
115
- br as AvatarImage,
116
- Er as Badge,
104
+ hr as AlertDialogCancel,
105
+ Tr as AlertDialogContent,
106
+ Ir as AlertDialogDescription,
107
+ Mr as AlertDialogFooter,
108
+ Rr as AlertDialogHeader,
109
+ vr as AlertDialogOverlay,
110
+ wr as AlertDialogPortal,
111
+ Br as AlertDialogTitle,
112
+ Fr as AlertDialogTrigger,
113
+ Sr as AlertTitle,
114
+ br as Avatar,
115
+ kr as AvatarFallback,
116
+ Er as AvatarImage,
117
+ Nr as Badge,
117
118
  _ as Button,
118
- Or as Card,
119
- yr as CardAction,
120
- Gr as CardContent,
121
- Hr as CardDescription,
122
- Vr as CardFooter,
123
- zr as CardHeader,
124
- _r as CardTitle,
125
- Yr as Carousel,
126
- Kr as CarouselContent,
127
- Qr as CarouselItem,
128
- jr as CarouselNext,
129
- qr as CarouselPrevious,
130
- Xr as Checkbox,
131
- ia as Consent,
132
- pa as ConsentStatus,
133
- ta as ContentCreateUserErrorCode,
119
+ Gr as Card,
120
+ Hr as CardAction,
121
+ Vr as CardContent,
122
+ zr as CardDescription,
123
+ _r as CardFooter,
124
+ Wr as CardHeader,
125
+ Yr as CardTitle,
126
+ Kr as Carousel,
127
+ Qr as CarouselContent,
128
+ jr as CarouselItem,
129
+ Jr as CarouselNext,
130
+ Xr as CarouselPrevious,
131
+ $r as Checkbox,
132
+ na as ContentCreateUserErrorCode,
133
+ sr as ContentWrapper,
134
134
  o as DATA_NAVIGATION_TYPE_ATTRIBUTE,
135
- $r as Dialog,
136
- re as DialogClose,
137
- ee as DialogContent,
138
- oe as DialogDescription,
139
- te as DialogFooter,
140
- ae as DialogHeader,
141
- ie as DialogOverlay,
142
- pe as DialogPortal,
143
- ne as DialogTitle,
144
- me as DialogTrigger,
145
- le as Drawer,
146
- ue as DrawerClose,
147
- fe as DrawerContent,
148
- xe as DrawerDescription,
149
- ce as DrawerFooter,
150
- de as DrawerHeader,
151
- Ce as DrawerOverlay,
152
- ge as DrawerPortal,
153
- Se as DrawerTitle,
154
- De as DrawerTrigger,
135
+ ee as Dialog,
136
+ oe as DialogClose,
137
+ te as DialogContent,
138
+ ae as DialogDescription,
139
+ ie as DialogFooter,
140
+ pe as DialogHeader,
141
+ ne as DialogOverlay,
142
+ me as DialogPortal,
143
+ se as DialogTitle,
144
+ le as DialogTrigger,
145
+ fe as Drawer,
146
+ xe as DrawerClose,
147
+ ce as DrawerContent,
148
+ de as DrawerDescription,
149
+ Ce as DrawerFooter,
150
+ ge as DrawerHeader,
151
+ Se as DrawerOverlay,
152
+ De as DrawerPortal,
153
+ Ae as DrawerTitle,
154
+ Pe as DrawerTrigger,
155
155
  Y as FavoriteButton,
156
- Q as IconButton,
157
- q as Image,
156
+ K as IconButton,
157
+ j as Image,
158
158
  O as ImageContentWrapper,
159
- Pe as Input,
160
- Te as Label,
159
+ Te as Input,
160
+ Me as Label,
161
161
  tr as List,
162
162
  $ as LongPressDetector,
163
163
  D as MerchantCard,
@@ -167,10 +167,11 @@ export {
167
167
  T as MerchantCardName,
168
168
  I as MerchantCardRating,
169
169
  w as MerchantCardSkeleton,
170
- yt as MiniEntityNotFoundError,
171
- Gt as MiniError,
172
- Ht as MiniNetworkError,
170
+ zt as MiniEntityNotFoundError,
171
+ _t as MiniError,
172
+ Wt as MiniNetworkError,
173
173
  i as MinisContainer,
174
+ ma as MinisContentStatus,
174
175
  G as MinisRouter,
175
176
  t as NAVIGATION_TYPES,
176
177
  n as ProductCard,
@@ -184,97 +185,98 @@ export {
184
185
  R as ProductCardSkeleton,
185
186
  d as ProductCardTitle,
186
187
  g as ProductLink,
187
- Me as Progress,
188
+ ve as Progress,
188
189
  F as QuantitySelector,
189
- ve as RadioGroup,
190
- we as RadioGroupItem,
191
- Fe as ResizableHandle,
192
- Ue as ResizablePanel,
193
- be as ResizablePanelGroup,
194
- Ee as ScrollArea,
195
- Le as ScrollBar,
190
+ Be as RadioGroup,
191
+ Fe as RadioGroupItem,
192
+ be as ResizableHandle,
193
+ ke as ResizablePanel,
194
+ Ee as ResizablePanelGroup,
195
+ Ne as ScrollArea,
196
+ Oe as ScrollBar,
196
197
  b as Search,
197
198
  k as SearchInput,
198
199
  E as SearchProvider,
199
200
  L as SearchResultsList,
200
- Oe as Select,
201
- ye as SelectContent,
202
- Ge as SelectGroup,
203
- He as SelectItem,
204
- Ve as SelectLabel,
205
- ze as SelectScrollDownButton,
206
- _e as SelectScrollUpButton,
207
- We as SelectSeparator,
208
- Ye as SelectTrigger,
209
- Ke as SelectValue,
210
- je as Separator,
211
- Je as Sheet,
212
- Xe as SheetClose,
213
- Ze as SheetContent,
214
- $e as SheetDescription,
215
- ro as SheetFooter,
216
- eo as SheetHeader,
217
- oo as SheetTitle,
218
- to as SheetTrigger,
219
- no as Skeleton,
220
- ma as Social,
201
+ Ge as Select,
202
+ He as SelectContent,
203
+ Ve as SelectGroup,
204
+ ze as SelectItem,
205
+ _e as SelectLabel,
206
+ We as SelectScrollDownButton,
207
+ Ye as SelectScrollUpButton,
208
+ qe as SelectSeparator,
209
+ Ke as SelectTrigger,
210
+ Qe as SelectValue,
211
+ Je as Separator,
212
+ Ze as Sheet,
213
+ $e as SheetClose,
214
+ ro as SheetContent,
215
+ eo as SheetDescription,
216
+ oo as SheetFooter,
217
+ to as SheetHeader,
218
+ ao as SheetTitle,
219
+ io as SheetTrigger,
220
+ so as Skeleton,
221
+ la as Social,
221
222
  nr as TextInput,
222
- io as Toaster,
223
+ no as Toaster,
223
224
  X as Touchable,
224
225
  V as TransitionLink,
225
- ra as UserState,
226
- ea as UserTokenGenerateUserErrorCode,
226
+ aa as UserState,
227
+ ia as UserTokenGenerateUserErrorCode,
227
228
  ir as VideoPlayer,
228
- Lr as badgeVariants,
229
- _t as extractBrandTheme,
230
- Jt as fileToDataUri,
231
- Vt as formatError,
232
- Wt as formatReviewCount,
233
- Yt as getFeaturedImages,
234
- Xt as getResizedImageUrl,
235
- Zt as getThumbhashDataURL,
236
- Kt as normalizeRating,
237
- jt as parseUrl,
238
- Zo as useAsyncStorage,
239
- Ro as useBuyerAttributes,
240
- pt as useCloseMini,
241
- St as useCreateImageContent,
242
- Jo as useCuratedProducts,
243
- ho as useCurrentUser,
244
- mt as useDeeplink,
245
- ht as useErrorScreen,
246
- At as useErrorToast,
247
- So as useFollowedShops,
248
- Ao as useFollowedShopsActions,
249
- wo as useGenerateUserToken,
250
- Rt as useImagePicker,
251
- ot as useImageUpload,
252
- wt as useKeyboardAvoidingView,
253
- lt as useNavigateWithTransition,
254
- Nt as useOnAppStateChange,
255
- bt as useOnMiniBlur,
256
- Et as useOnMiniClose,
257
- Ft as useOnMiniFocus,
258
- Io as useOrders,
259
- jo as usePopularProducts,
260
- No as useProduct,
261
- Eo as useProductList,
262
- Fo as useProductListActions,
263
- bo as useProductLists,
264
- zo as useProductMedia,
265
- Wo as useProductSearch,
266
- Ho as useProductVariants,
267
- yo as useProducts,
268
- so as useRecentProducts,
269
- uo as useRecentShops,
270
- Ko as useRecommendedProducts,
271
- Ct as useRecommendedShops,
272
- xo as useSavedProducts,
273
- Co as useSavedProductsActions,
274
- rt as useSecureStorage,
275
- It as useShare,
276
- ft as useShop,
277
- ct as useShopCartActions,
278
- at as useShopNavigation
229
+ Or as badgeVariants,
230
+ Kt as extractBrandTheme,
231
+ ra as fileToDataUri,
232
+ Yt as formatError,
233
+ Qt as formatReviewCount,
234
+ jt as getFeaturedImages,
235
+ ea as getResizedImageUrl,
236
+ oa as getThumbhashDataURL,
237
+ Jt as normalizeRating,
238
+ Zt as parseUrl,
239
+ rt as useAsyncStorage,
240
+ wo as useBuyerAttributes,
241
+ mt as useCloseMini,
242
+ At as useCreateImageContent,
243
+ Zo as useCuratedProducts,
244
+ Io as useCurrentUser,
245
+ lt as useDeeplink,
246
+ It as useErrorScreen,
247
+ ht as useErrorToast,
248
+ Ao as useFollowedShops,
249
+ ho as useFollowedShopsActions,
250
+ Fo as useGenerateUserToken,
251
+ wt as useImagePicker,
252
+ at as useImageUpload,
253
+ Ft as useKeyboardAvoidingView,
254
+ ft as useNavigateWithTransition,
255
+ Ht as useOnAppStateChange,
256
+ Nt as useOnMiniBlur,
257
+ yt as useOnMiniClose,
258
+ Et as useOnMiniFocus,
259
+ Ro as useOrders,
260
+ Jo as usePopularProducts,
261
+ yo as useProduct,
262
+ No as useProductList,
263
+ bo as useProductListActions,
264
+ Eo as useProductLists,
265
+ Wo as useProductMedia,
266
+ qo as useProductSearch,
267
+ zo as useProductVariants,
268
+ Ho as useProducts,
269
+ uo as useRecentProducts,
270
+ xo as useRecentShops,
271
+ Qo as useRecommendedProducts,
272
+ St as useRecommendedShops,
273
+ bt as useRequestPermissions,
274
+ Co as useSavedProducts,
275
+ So as useSavedProductsActions,
276
+ ot as useSecureStorage,
277
+ Rt as useShare,
278
+ ct as useShop,
279
+ Ct as useShopCartActions,
280
+ pt as useShopNavigation
279
281
  };
280
282
  //# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}