@shopify/shop-minis-react 0.0.31 → 0.0.33

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.js CHANGED
@@ -1,252 +1,264 @@
1
1
  import { DATA_NAVIGATION_TYPE_ATTRIBUTE as o, NAVIGATION_TYPES as t } from "./types/index.js";
2
- import { MinisContainer as p } from "./components/MinisContainer.js";
3
- import { ProductCard as m } from "./components/commerce/product-card.js";
4
- import { ProductLink as s } from "./components/commerce/product-link.js";
5
- import { MerchantCard as f, MerchantCardPrimitive as x } from "./components/commerce/merchant-card.js";
6
- import { ProductCardSkeleton as c } from "./components/commerce/product-card-skeleton.js";
7
- import { MerchantCardSkeleton as g } from "./components/commerce/merchant-card-skeleton.js";
8
- import { QuantitySelector as C } from "./components/commerce/quantity-selector.js";
9
- import { Search as A, SearchInput as P, SearchProvider as h, SearchResultsList as T } from "./components/commerce/search.js";
10
- import { ImageContentWrapper as v } from "./components/content/image-content-wrapper.js";
11
- import { MinisRouter as R } from "./components/navigation/minis-router.js";
12
- import { TransitionLink as E } from "./components/navigation/transition-link.js";
13
- import { Button as F } from "./components/atoms/button.js";
14
- import { FavoriteButton as B } from "./components/atoms/favorite-button.js";
15
- import { IconButton as M } from "./components/atoms/icon-button.js";
16
- import { ThumbhashImage as y } from "./components/atoms/thumbhash-image.js";
17
- import { Touchable as H } from "./components/atoms/touchable.js";
18
- import { LongPressDetector as V } from "./components/atoms/long-press-detector.js";
19
- import { AlertDialogAtom as _ } from "./components/atoms/alert-dialog.js";
20
- import { List as Y } from "./components/atoms/list.js";
21
- import { VideoPlayer as j } from "./components/atoms/video-player.js";
22
- import { Accordion as J, AccordionContent as K, AccordionItem as X, AccordionTrigger as Z } from "./components/ui/accordion.js";
23
- import { Alert as rr, AlertDescription as er, AlertTitle as or } from "./components/ui/alert.js";
24
- import { AlertDialog as ar, AlertDialogAction as pr, AlertDialogCancel as ir, AlertDialogContent as mr, AlertDialogDescription as lr, AlertDialogFooter as sr, AlertDialogHeader as nr, AlertDialogOverlay as fr, AlertDialogPortal as xr, AlertDialogTitle as ur, AlertDialogTrigger as cr } from "./components/ui/alert-dialog.js";
25
- import { Avatar as gr, AvatarFallback as Sr, AvatarImage as Cr } from "./components/ui/avatar.js";
26
- import { Badge as Ar, badgeVariants as Pr } from "./components/ui/badge.js";
27
- import { Card as Tr, CardAction as Ir, CardContent as vr, CardDescription as wr, CardFooter as Rr, CardHeader as kr, CardTitle as Er } from "./components/ui/card.js";
28
- import { Carousel as Fr, CarouselContent as Ur, CarouselItem as Br, CarouselNext as Lr, CarouselPrevious as Mr } from "./components/ui/carousel.js";
29
- import { Checkbox as yr } from "./components/ui/checkbox.js";
30
- import { Dialog as Hr, DialogClose as Or, DialogContent as Vr, DialogDescription as zr, DialogFooter as _r, DialogHeader as Wr, DialogOverlay as Yr, DialogPortal as Qr, DialogTitle as jr, DialogTrigger as qr } from "./components/ui/dialog.js";
31
- import { Drawer as Kr, DrawerClose as Xr, DrawerContent as Zr, DrawerDescription as $r, DrawerFooter as re, DrawerHeader as ee, DrawerOverlay as oe, DrawerPortal as te, DrawerTitle as ae, DrawerTrigger as pe } from "./components/ui/drawer.js";
32
- import { Input as me } from "./components/ui/input.js";
33
- import { Label as se } from "./components/ui/label.js";
34
- import { Progress as fe } from "./components/ui/progress.js";
35
- import { RadioGroup as ue, RadioGroupItem as ce } from "./components/ui/radio-group.js";
36
- import { ResizableHandle as ge, ResizablePanel as Se, ResizablePanelGroup as Ce } from "./components/ui/resizable.js";
37
- import { ScrollArea as Ae, ScrollBar as Pe } from "./components/ui/scroll-area.js";
38
- import { Select as Te, SelectContent as Ie, SelectGroup as ve, SelectItem as we, SelectLabel as Re, SelectScrollDownButton as ke, SelectScrollUpButton as Ee, SelectSeparator as be, SelectTrigger as Fe, SelectValue as Ue } from "./components/ui/select.js";
39
- import { Separator as Le } from "./components/ui/separator.js";
40
- import { Sheet as Ne, SheetClose as ye, SheetContent as Ge, SheetDescription as He, SheetFooter as Oe, SheetHeader as Ve, SheetTitle as ze, SheetTrigger as _e } from "./components/ui/sheet.js";
41
- import { Toaster as Ye } from "./components/ui/sonner.js";
42
- import { Skeleton as je } from "./components/ui/skeleton.js";
43
- import { useRecentProducts as Je } from "./hooks/user/useRecentProducts.js";
44
- import { useRecentShops as Xe } from "./hooks/user/useRecentShops.js";
45
- import { useSavedProducts as $e } from "./hooks/user/useSavedProducts.js";
46
- import { useSavedProductsActions as eo } from "./hooks/user/useSavedProductsActions.js";
47
- import { useFollowedShops as to } from "./hooks/user/useFollowedShops.js";
48
- import { useFollowedShopsActions as po } from "./hooks/user/useFollowedShopsActions.js";
49
- import { useCurrentUser as mo } from "./hooks/user/useCurrentUser.js";
50
- import { useOrders as so } from "./hooks/user/useOrders.js";
51
- import { useBuyerAttributes as fo } from "./hooks/user/useBuyerAttributes.js";
52
- import { useGenerateUserToken as uo } from "./hooks/user/useGenerateUserToken.js";
53
- import { useProductListActions as go } from "./hooks/product/useProductListActions.js";
54
- import { useProductLists as Co } from "./hooks/product/useProductLists.js";
55
- import { useProductList as Ao } from "./hooks/product/useProductList.js";
56
- import { useProduct as ho } from "./hooks/product/useProduct.js";
57
- import { useProducts as Io } from "./hooks/product/useProducts.js";
58
- import { useProductVariants as wo } from "./hooks/product/useProductVariants.js";
59
- import { useProductMedia as ko } from "./hooks/product/useProductMedia.js";
60
- import { useProductSearch as bo } from "./hooks/product/useProductSearch.js";
61
- import { useRecommendedProducts as Uo } from "./hooks/product/useRecommendedProducts.js";
62
- import { usePopularProducts as Lo } from "./hooks/product/usePopularProducts.js";
63
- import { useCuratedProducts as No } from "./hooks/product/useCuratedProducts.js";
64
- import { useAsyncStorage as Go } from "./hooks/storage/useAsyncStorage.js";
65
- import { useSecureStorage as Oo } from "./hooks/storage/useSecureStorage.js";
66
- import { useImageUpload as zo } from "./hooks/storage/useImageUpload.js";
67
- import { useShopNavigation as Wo } from "./hooks/navigation/useShopNavigation.js";
68
- import { useCloseMini as Qo } from "./hooks/navigation/useCloseMini.js";
69
- import { useDeeplink as qo } from "./hooks/navigation/useDeeplink.js";
70
- import { useNavigateWithTransition as Ko } from "./hooks/navigation/useNavigateWithTransition.js";
71
- import { useShop as Zo } from "./hooks/shop/useShop.js";
72
- import { useShopCartActions as rt } from "./hooks/shop/useShopCartActions.js";
73
- import { useRecommendedShops as ot } from "./hooks/shop/useRecommendedShops.js";
74
- import { useCreateImageContent as at } from "./hooks/content/useCreateImageContent.js";
75
- import { useErrorToast as it } from "./hooks/util/useErrorToast.js";
76
- import { useErrorScreen as lt } from "./hooks/util/useErrorScreen.js";
77
- import { useShare as nt } from "./hooks/util/useShare.js";
78
- import { useImagePicker as xt } from "./hooks/util/useImagePicker.js";
79
- import { MiniEntityNotFoundError as ct, MiniError as dt, MiniNetworkError as gt, formatError as St } from "./utils/errors.js";
80
- import { extractBrandTheme as Dt, formatReviewCount as At, getFeaturedImages as Pt, normalizeRating as ht } from "./utils/merchant-card.js";
81
- import { parseUrl as It } from "./utils/parseUrl.js";
82
- import { fileToDataUri as wt } from "./utils/imageToDataUri.js";
83
- import { UserState as kt, UserTokenGenerateUserErrorCode as Et } from "./shop-minis-platform/src/types/user.js";
84
- import { ContentCreateUserErrorCode as Ft } from "./shop-minis-platform/src/types/content.js";
85
- import { Consent as Bt, ConsentStatus as Lt } from "./shop-minis-platform/src/types/permissions.js";
2
+ import { MinisContainer as i } from "./components/MinisContainer.js";
3
+ import { ProductCard as n, ProductCardBadge as m, ProductCardContainer as l, ProductCardFavoriteButton as s, ProductCardImage as u, ProductCardImageContainer as f, ProductCardInfo as c, ProductCardPrice as x, ProductCardTitle as d } from "./components/commerce/product-card.js";
4
+ import { ProductLink as g } from "./components/commerce/product-link.js";
5
+ import { MerchantCard as D, MerchantCardContainer as P, MerchantCardHeader as A, MerchantCardInfo as h, MerchantCardName as T, MerchantCardRating as I } from "./components/commerce/merchant-card.js";
6
+ import { ProductCardSkeleton as w } from "./components/commerce/product-card-skeleton.js";
7
+ import { MerchantCardSkeleton as M } from "./components/commerce/merchant-card-skeleton.js";
8
+ import { QuantitySelector as B } from "./components/commerce/quantity-selector.js";
9
+ import { Search as F, SearchInput as b, SearchProvider as U, SearchResultsList as L } from "./components/commerce/search.js";
10
+ import { ImageContentWrapper as y } from "./components/content/image-content-wrapper.js";
11
+ import { MinisRouter as H } from "./components/navigation/minis-router.js";
12
+ import { TransitionLink as V } from "./components/navigation/transition-link.js";
13
+ import { Button as _ } from "./components/atoms/button.js";
14
+ import { FavoriteButton as Y } from "./components/atoms/favorite-button.js";
15
+ import { IconButton as j } from "./components/atoms/icon-button.js";
16
+ import { ThumbhashImage as J } from "./components/atoms/thumbhash-image.js";
17
+ import { Touchable as X } from "./components/atoms/touchable.js";
18
+ import { LongPressDetector as $ } from "./components/atoms/long-press-detector.js";
19
+ import { AlertDialogAtom as er } from "./components/atoms/alert-dialog.js";
20
+ import { List as tr } from "./components/atoms/list.js";
21
+ import { VideoPlayer as ir } from "./components/atoms/video-player.js";
22
+ import { Accordion as nr, AccordionContent as mr, AccordionItem as lr, AccordionTrigger as sr } from "./components/ui/accordion.js";
23
+ import { Alert as fr, AlertDescription as cr, AlertTitle as xr } from "./components/ui/alert.js";
24
+ import { AlertDialog as Cr, AlertDialogAction as gr, AlertDialogCancel as Sr, AlertDialogContent as Dr, AlertDialogDescription as Pr, AlertDialogFooter as Ar, AlertDialogHeader as hr, AlertDialogOverlay as Tr, AlertDialogPortal as Ir, AlertDialogTitle as vr, AlertDialogTrigger as wr } from "./components/ui/alert-dialog.js";
25
+ import { Avatar as Mr, AvatarFallback as kr, AvatarImage as Br } from "./components/ui/avatar.js";
26
+ import { Badge as Fr, badgeVariants as br } from "./components/ui/badge.js";
27
+ import { Card as Lr, CardAction as Nr, CardContent as yr, CardDescription as Gr, CardFooter as Hr, CardHeader as Or, CardTitle as Vr } from "./components/ui/card.js";
28
+ import { Carousel as _r, CarouselContent as Wr, CarouselItem as Yr, CarouselNext as Qr, CarouselPrevious as jr } from "./components/ui/carousel.js";
29
+ import { Checkbox as Jr } from "./components/ui/checkbox.js";
30
+ import { Dialog as Xr, DialogClose as Zr, DialogContent as $r, DialogDescription as re, DialogFooter as ee, DialogHeader as oe, DialogOverlay as te, DialogPortal as ae, DialogTitle as ie, DialogTrigger as pe } from "./components/ui/dialog.js";
31
+ import { Drawer as me, DrawerClose as le, DrawerContent as se, DrawerDescription as ue, DrawerFooter as fe, DrawerHeader as ce, DrawerOverlay as xe, DrawerPortal as de, DrawerTitle as Ce, DrawerTrigger as ge } from "./components/ui/drawer.js";
32
+ import { Input as De } from "./components/ui/input.js";
33
+ import { Label as Ae } from "./components/ui/label.js";
34
+ import { Progress as Te } from "./components/ui/progress.js";
35
+ import { RadioGroup as ve, RadioGroupItem as we } from "./components/ui/radio-group.js";
36
+ import { ResizableHandle as Me, ResizablePanel as ke, ResizablePanelGroup as Be } from "./components/ui/resizable.js";
37
+ import { ScrollArea as Fe, ScrollBar as be } from "./components/ui/scroll-area.js";
38
+ import { Select as Le, SelectContent as Ne, SelectGroup as ye, SelectItem as Ge, SelectLabel as He, SelectScrollDownButton as Oe, SelectScrollUpButton as Ve, SelectSeparator as ze, SelectTrigger as _e, SelectValue as We } from "./components/ui/select.js";
39
+ import { Separator as Qe } from "./components/ui/separator.js";
40
+ import { Sheet as qe, SheetClose as Je, SheetContent as Ke, SheetDescription as Xe, SheetFooter as Ze, SheetHeader as $e, SheetTitle as ro, SheetTrigger as eo } from "./components/ui/sheet.js";
41
+ import { Toaster as to } from "./components/ui/sonner.js";
42
+ import { Skeleton as io } from "./components/ui/skeleton.js";
43
+ import { useRecentProducts as no } from "./hooks/user/useRecentProducts.js";
44
+ import { useRecentShops as lo } from "./hooks/user/useRecentShops.js";
45
+ import { useSavedProducts as uo } from "./hooks/user/useSavedProducts.js";
46
+ import { useSavedProductsActions as co } from "./hooks/user/useSavedProductsActions.js";
47
+ import { useFollowedShops as Co } from "./hooks/user/useFollowedShops.js";
48
+ import { useFollowedShopsActions as So } from "./hooks/user/useFollowedShopsActions.js";
49
+ import { useCurrentUser as Po } from "./hooks/user/useCurrentUser.js";
50
+ import { useOrders as ho } from "./hooks/user/useOrders.js";
51
+ import { useBuyerAttributes as Io } from "./hooks/user/useBuyerAttributes.js";
52
+ import { useGenerateUserToken as wo } from "./hooks/user/useGenerateUserToken.js";
53
+ import { useProductListActions as Mo } from "./hooks/product/useProductListActions.js";
54
+ import { useProductLists as Bo } from "./hooks/product/useProductLists.js";
55
+ import { useProductList as Fo } from "./hooks/product/useProductList.js";
56
+ import { useProduct as Uo } from "./hooks/product/useProduct.js";
57
+ import { useProducts as No } from "./hooks/product/useProducts.js";
58
+ import { useProductVariants as Go } from "./hooks/product/useProductVariants.js";
59
+ import { useProductMedia as Oo } from "./hooks/product/useProductMedia.js";
60
+ import { useProductSearch as zo } from "./hooks/product/useProductSearch.js";
61
+ import { useRecommendedProducts as Wo } from "./hooks/product/useRecommendedProducts.js";
62
+ import { usePopularProducts as Qo } from "./hooks/product/usePopularProducts.js";
63
+ import { useCuratedProducts as qo } from "./hooks/product/useCuratedProducts.js";
64
+ import { useAsyncStorage as Ko } from "./hooks/storage/useAsyncStorage.js";
65
+ import { useSecureStorage as Zo } from "./hooks/storage/useSecureStorage.js";
66
+ import { useImageUpload as rt } from "./hooks/storage/useImageUpload.js";
67
+ import { useShopNavigation as ot } from "./hooks/navigation/useShopNavigation.js";
68
+ import { useCloseMini as at } from "./hooks/navigation/useCloseMini.js";
69
+ import { useDeeplink as pt } from "./hooks/navigation/useDeeplink.js";
70
+ import { useNavigateWithTransition as mt } from "./hooks/navigation/useNavigateWithTransition.js";
71
+ import { useShop as st } from "./hooks/shop/useShop.js";
72
+ import { useShopCartActions as ft } from "./hooks/shop/useShopCartActions.js";
73
+ import { useRecommendedShops as xt } from "./hooks/shop/useRecommendedShops.js";
74
+ import { useCreateImageContent as Ct } from "./hooks/content/useCreateImageContent.js";
75
+ import { useErrorToast as St } from "./hooks/util/useErrorToast.js";
76
+ import { useErrorScreen as Pt } from "./hooks/util/useErrorScreen.js";
77
+ import { useShare as ht } from "./hooks/util/useShare.js";
78
+ import { useImagePicker as It } from "./hooks/util/useImagePicker.js";
79
+ import { MiniEntityNotFoundError as wt, MiniError as Rt, MiniNetworkError as Mt, formatError as kt } from "./utils/errors.js";
80
+ import { extractBrandTheme as Et, formatReviewCount as Ft, getFeaturedImages as bt, normalizeRating as Ut } from "./utils/merchant-card.js";
81
+ import { parseUrl as Nt } from "./utils/parseUrl.js";
82
+ import { fileToDataUri as Gt } from "./utils/imageToDataUri.js";
83
+ import { UserState as Ot, UserTokenGenerateUserErrorCode as Vt } from "./shop-minis-platform/src/types/user.js";
84
+ import { ContentCreateUserErrorCode as _t } from "./shop-minis-platform/src/types/content.js";
85
+ import { Consent as Yt, ConsentStatus as Qt } from "./shop-minis-platform/src/types/permissions.js";
86
86
  export {
87
- J as Accordion,
88
- K as AccordionContent,
89
- X as AccordionItem,
90
- Z as AccordionTrigger,
91
- rr as Alert,
92
- er as AlertDescription,
93
- ar as AlertDialog,
94
- pr as AlertDialogAction,
95
- _ as AlertDialogAtom,
96
- ir as AlertDialogCancel,
97
- mr as AlertDialogContent,
98
- lr as AlertDialogDescription,
99
- sr as AlertDialogFooter,
100
- nr as AlertDialogHeader,
101
- fr as AlertDialogOverlay,
102
- xr as AlertDialogPortal,
103
- ur as AlertDialogTitle,
104
- cr as AlertDialogTrigger,
105
- or as AlertTitle,
106
- gr as Avatar,
107
- Sr as AvatarFallback,
108
- Cr as AvatarImage,
109
- Ar as Badge,
110
- F as Button,
111
- Tr as Card,
112
- Ir as CardAction,
113
- vr as CardContent,
114
- wr as CardDescription,
115
- Rr as CardFooter,
116
- kr as CardHeader,
117
- Er as CardTitle,
118
- Fr as Carousel,
119
- Ur as CarouselContent,
120
- Br as CarouselItem,
121
- Lr as CarouselNext,
122
- Mr as CarouselPrevious,
123
- yr as Checkbox,
124
- Bt as Consent,
125
- Lt as ConsentStatus,
126
- Ft as ContentCreateUserErrorCode,
87
+ nr as Accordion,
88
+ mr as AccordionContent,
89
+ lr as AccordionItem,
90
+ sr as AccordionTrigger,
91
+ fr as Alert,
92
+ cr as AlertDescription,
93
+ Cr as AlertDialog,
94
+ gr as AlertDialogAction,
95
+ er as AlertDialogAtom,
96
+ Sr as AlertDialogCancel,
97
+ Dr as AlertDialogContent,
98
+ Pr as AlertDialogDescription,
99
+ Ar as AlertDialogFooter,
100
+ hr as AlertDialogHeader,
101
+ Tr as AlertDialogOverlay,
102
+ Ir as AlertDialogPortal,
103
+ vr as AlertDialogTitle,
104
+ wr as AlertDialogTrigger,
105
+ xr as AlertTitle,
106
+ Mr as Avatar,
107
+ kr as AvatarFallback,
108
+ Br as AvatarImage,
109
+ Fr as Badge,
110
+ _ as Button,
111
+ Lr as Card,
112
+ Nr as CardAction,
113
+ yr as CardContent,
114
+ Gr as CardDescription,
115
+ Hr as CardFooter,
116
+ Or as CardHeader,
117
+ Vr as CardTitle,
118
+ _r as Carousel,
119
+ Wr as CarouselContent,
120
+ Yr as CarouselItem,
121
+ Qr as CarouselNext,
122
+ jr as CarouselPrevious,
123
+ Jr as Checkbox,
124
+ Yt as Consent,
125
+ Qt as ConsentStatus,
126
+ _t as ContentCreateUserErrorCode,
127
127
  o as DATA_NAVIGATION_TYPE_ATTRIBUTE,
128
- Hr as Dialog,
129
- Or as DialogClose,
130
- Vr as DialogContent,
131
- zr as DialogDescription,
132
- _r as DialogFooter,
133
- Wr as DialogHeader,
134
- Yr as DialogOverlay,
135
- Qr as DialogPortal,
136
- jr as DialogTitle,
137
- qr as DialogTrigger,
138
- Kr as Drawer,
139
- Xr as DrawerClose,
140
- Zr as DrawerContent,
141
- $r as DrawerDescription,
142
- re as DrawerFooter,
143
- ee as DrawerHeader,
144
- oe as DrawerOverlay,
145
- te as DrawerPortal,
146
- ae as DrawerTitle,
147
- pe as DrawerTrigger,
148
- B as FavoriteButton,
149
- M as IconButton,
150
- v as ImageContentWrapper,
151
- me as Input,
152
- se as Label,
153
- Y as List,
154
- V as LongPressDetector,
155
- f as MerchantCard,
156
- x as MerchantCardPrimitive,
157
- g as MerchantCardSkeleton,
158
- ct as MiniEntityNotFoundError,
159
- dt as MiniError,
160
- gt as MiniNetworkError,
161
- p as MinisContainer,
162
- R as MinisRouter,
128
+ Xr as Dialog,
129
+ Zr as DialogClose,
130
+ $r as DialogContent,
131
+ re as DialogDescription,
132
+ ee as DialogFooter,
133
+ oe as DialogHeader,
134
+ te as DialogOverlay,
135
+ ae as DialogPortal,
136
+ ie as DialogTitle,
137
+ pe as DialogTrigger,
138
+ me as Drawer,
139
+ le as DrawerClose,
140
+ se as DrawerContent,
141
+ ue as DrawerDescription,
142
+ fe as DrawerFooter,
143
+ ce as DrawerHeader,
144
+ xe as DrawerOverlay,
145
+ de as DrawerPortal,
146
+ Ce as DrawerTitle,
147
+ ge as DrawerTrigger,
148
+ Y as FavoriteButton,
149
+ j as IconButton,
150
+ y as ImageContentWrapper,
151
+ De as Input,
152
+ Ae as Label,
153
+ tr as List,
154
+ $ as LongPressDetector,
155
+ D as MerchantCard,
156
+ P as MerchantCardContainer,
157
+ A as MerchantCardHeader,
158
+ h as MerchantCardInfo,
159
+ T as MerchantCardName,
160
+ I as MerchantCardRating,
161
+ M as MerchantCardSkeleton,
162
+ wt as MiniEntityNotFoundError,
163
+ Rt as MiniError,
164
+ Mt as MiniNetworkError,
165
+ i as MinisContainer,
166
+ H as MinisRouter,
163
167
  t as NAVIGATION_TYPES,
164
- m as ProductCard,
165
- c as ProductCardSkeleton,
166
- s as ProductLink,
167
- fe as Progress,
168
- C as QuantitySelector,
169
- ue as RadioGroup,
170
- ce as RadioGroupItem,
171
- ge as ResizableHandle,
172
- Se as ResizablePanel,
173
- Ce as ResizablePanelGroup,
174
- Ae as ScrollArea,
175
- Pe as ScrollBar,
176
- A as Search,
177
- P as SearchInput,
178
- h as SearchProvider,
179
- T as SearchResultsList,
180
- Te as Select,
181
- Ie as SelectContent,
182
- ve as SelectGroup,
183
- we as SelectItem,
184
- Re as SelectLabel,
185
- ke as SelectScrollDownButton,
186
- Ee as SelectScrollUpButton,
187
- be as SelectSeparator,
188
- Fe as SelectTrigger,
189
- Ue as SelectValue,
190
- Le as Separator,
191
- Ne as Sheet,
192
- ye as SheetClose,
193
- Ge as SheetContent,
194
- He as SheetDescription,
195
- Oe as SheetFooter,
196
- Ve as SheetHeader,
197
- ze as SheetTitle,
198
- _e as SheetTrigger,
199
- je as Skeleton,
200
- y as ThumbhashImage,
201
- Ye as Toaster,
202
- H as Touchable,
203
- E as TransitionLink,
204
- kt as UserState,
205
- Et as UserTokenGenerateUserErrorCode,
206
- j as VideoPlayer,
207
- Pr as badgeVariants,
208
- Dt as extractBrandTheme,
209
- wt as fileToDataUri,
210
- St as formatError,
211
- At as formatReviewCount,
212
- Pt as getFeaturedImages,
213
- ht as normalizeRating,
214
- It as parseUrl,
215
- Go as useAsyncStorage,
216
- fo as useBuyerAttributes,
217
- Qo as useCloseMini,
218
- at as useCreateImageContent,
219
- No as useCuratedProducts,
220
- mo as useCurrentUser,
221
- qo as useDeeplink,
222
- lt as useErrorScreen,
223
- it as useErrorToast,
224
- to as useFollowedShops,
225
- po as useFollowedShopsActions,
226
- uo as useGenerateUserToken,
227
- xt as useImagePicker,
228
- zo as useImageUpload,
229
- Ko as useNavigateWithTransition,
230
- so as useOrders,
231
- Lo as usePopularProducts,
232
- ho as useProduct,
233
- Ao as useProductList,
234
- go as useProductListActions,
235
- Co as useProductLists,
236
- ko as useProductMedia,
237
- bo as useProductSearch,
238
- wo as useProductVariants,
239
- Io as useProducts,
240
- Je as useRecentProducts,
241
- Xe as useRecentShops,
242
- Uo as useRecommendedProducts,
243
- ot as useRecommendedShops,
244
- $e as useSavedProducts,
245
- eo as useSavedProductsActions,
246
- Oo as useSecureStorage,
247
- nt as useShare,
248
- Zo as useShop,
249
- rt as useShopCartActions,
250
- Wo as useShopNavigation
168
+ n as ProductCard,
169
+ m as ProductCardBadge,
170
+ l as ProductCardContainer,
171
+ s as ProductCardFavoriteButton,
172
+ u as ProductCardImage,
173
+ f as ProductCardImageContainer,
174
+ c as ProductCardInfo,
175
+ x as ProductCardPrice,
176
+ w as ProductCardSkeleton,
177
+ d as ProductCardTitle,
178
+ g as ProductLink,
179
+ Te as Progress,
180
+ B as QuantitySelector,
181
+ ve as RadioGroup,
182
+ we as RadioGroupItem,
183
+ Me as ResizableHandle,
184
+ ke as ResizablePanel,
185
+ Be as ResizablePanelGroup,
186
+ Fe as ScrollArea,
187
+ be as ScrollBar,
188
+ F as Search,
189
+ b as SearchInput,
190
+ U as SearchProvider,
191
+ L as SearchResultsList,
192
+ Le as Select,
193
+ Ne as SelectContent,
194
+ ye as SelectGroup,
195
+ Ge as SelectItem,
196
+ He as SelectLabel,
197
+ Oe as SelectScrollDownButton,
198
+ Ve as SelectScrollUpButton,
199
+ ze as SelectSeparator,
200
+ _e as SelectTrigger,
201
+ We as SelectValue,
202
+ Qe as Separator,
203
+ qe as Sheet,
204
+ Je as SheetClose,
205
+ Ke as SheetContent,
206
+ Xe as SheetDescription,
207
+ Ze as SheetFooter,
208
+ $e as SheetHeader,
209
+ ro as SheetTitle,
210
+ eo as SheetTrigger,
211
+ io as Skeleton,
212
+ J as ThumbhashImage,
213
+ to as Toaster,
214
+ X as Touchable,
215
+ V as TransitionLink,
216
+ Ot as UserState,
217
+ Vt as UserTokenGenerateUserErrorCode,
218
+ ir as VideoPlayer,
219
+ br as badgeVariants,
220
+ Et as extractBrandTheme,
221
+ Gt as fileToDataUri,
222
+ kt as formatError,
223
+ Ft as formatReviewCount,
224
+ bt as getFeaturedImages,
225
+ Ut as normalizeRating,
226
+ Nt as parseUrl,
227
+ Ko as useAsyncStorage,
228
+ Io as useBuyerAttributes,
229
+ at as useCloseMini,
230
+ Ct as useCreateImageContent,
231
+ qo as useCuratedProducts,
232
+ Po as useCurrentUser,
233
+ pt as useDeeplink,
234
+ Pt as useErrorScreen,
235
+ St as useErrorToast,
236
+ Co as useFollowedShops,
237
+ So as useFollowedShopsActions,
238
+ wo as useGenerateUserToken,
239
+ It as useImagePicker,
240
+ rt as useImageUpload,
241
+ mt as useNavigateWithTransition,
242
+ ho as useOrders,
243
+ Qo as usePopularProducts,
244
+ Uo as useProduct,
245
+ Fo as useProductList,
246
+ Mo as useProductListActions,
247
+ Bo as useProductLists,
248
+ Oo as useProductMedia,
249
+ zo as useProductSearch,
250
+ Go as useProductVariants,
251
+ No as useProducts,
252
+ no as useRecentProducts,
253
+ lo as useRecentShops,
254
+ Wo as useRecommendedProducts,
255
+ xt as useRecommendedShops,
256
+ uo as useSavedProducts,
257
+ co as useSavedProductsActions,
258
+ Zo as useSecureStorage,
259
+ ht as useShare,
260
+ st as useShop,
261
+ ft as useShopCartActions,
262
+ ot as useShopNavigation
251
263
  };
252
264
  //# sourceMappingURL=index.js.map
package/dist/mocks.js CHANGED
@@ -319,8 +319,8 @@ function u() {
319
319
  const m = () => {
320
320
  const t = navigator.userAgent.toLowerCase(), o = /iphone|ipad|ipod/.test(t), r = /android/.test(t);
321
321
  return o || r;
322
- }, h = () => {
323
- m() || window.minisSDK || (window.minisSDK = u(), window.minisParams = {
322
+ }, h = ({ force: t } = {}) => {
323
+ m() && !t || window.minisSDK || (window.minisSDK = u(), window.minisParams = {
324
324
  handle: "mock-handle",
325
325
  initialUrl: "/mock-initial-url",
326
326
  platform: "web"