@shopify/shop-minis-react 0.0.21 → 0.0.23
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/_virtual/___vite-browser-external.js +7 -0
- package/dist/_virtual/___vite-browser-external.js.map +1 -0
- package/dist/_virtual/__vite-browser-external.js +5 -0
- package/dist/_virtual/__vite-browser-external.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.js +24 -4
- package/dist/_virtual/_commonjsHelpers.js.map +1 -1
- package/dist/_virtual/browser-index.js +8 -0
- package/dist/_virtual/browser-index.js.map +1 -0
- package/dist/_virtual/browser-index2.js +5 -0
- package/dist/_virtual/browser-index2.js.map +1 -0
- package/dist/_virtual/clock.js +6 -0
- package/dist/_virtual/clock.js.map +1 -0
- package/dist/_virtual/conventions.js +5 -0
- package/dist/_virtual/conventions.js.map +1 -0
- package/dist/_virtual/document.js +8 -0
- package/dist/_virtual/document.js.map +1 -0
- package/dist/_virtual/dom-parser.js +5 -0
- package/dist/_virtual/dom-parser.js.map +1 -0
- package/dist/_virtual/dom.js +5 -0
- package/dist/_virtual/dom.js.map +1 -0
- package/dist/_virtual/entities.js +5 -0
- package/dist/_virtual/entities.js.map +1 -0
- package/dist/_virtual/extends.js +5 -0
- package/dist/_virtual/extends.js.map +1 -0
- package/dist/_virtual/index10.js +5 -0
- package/dist/_virtual/index10.js.map +1 -0
- package/dist/_virtual/index11.js +5 -0
- package/dist/_virtual/index11.js.map +1 -0
- package/dist/_virtual/index2.js +5 -2
- package/dist/_virtual/index2.js.map +1 -1
- package/dist/_virtual/index3.js +5 -3
- package/dist/_virtual/index3.js.map +1 -1
- package/dist/_virtual/index4.js +2 -2
- package/dist/_virtual/index5.js +5 -0
- package/dist/_virtual/index5.js.map +1 -0
- package/dist/_virtual/index6.js +6 -0
- package/dist/_virtual/index6.js.map +1 -0
- package/dist/_virtual/index7.js +6 -0
- package/dist/_virtual/index7.js.map +1 -0
- package/dist/_virtual/index8.js +5 -0
- package/dist/_virtual/index8.js.map +1 -0
- package/dist/_virtual/index9.js +5 -0
- package/dist/_virtual/index9.js.map +1 -0
- package/dist/_virtual/parse-sidx.js +8 -0
- package/dist/_virtual/parse-sidx.js.map +1 -0
- package/dist/_virtual/sax.js +5 -0
- package/dist/_virtual/sax.js.map +1 -0
- package/dist/_virtual/window.js +8 -0
- package/dist/_virtual/window.js.map +1 -0
- package/dist/components/atoms/video-player.js +121 -0
- package/dist/components/atoms/video-player.js.map +1 -0
- package/dist/components/commerce/merchant-card.js +236 -106
- package/dist/components/commerce/merchant-card.js.map +1 -1
- package/dist/components/commerce/quantity-selector.js +80 -0
- package/dist/components/commerce/quantity-selector.js.map +1 -0
- package/dist/index.js +213 -204
- package/dist/index.js.map +1 -1
- package/dist/mocks.js +114 -87
- package/dist/mocks.js.map +1 -1
- package/dist/shop-minis-react/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/extends.js +20 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/extends.js.map +1 -0
- 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
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/byte-helpers.js +79 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/byte-helpers.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/codecs.js +102 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/codecs.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/containers.js +149 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/containers.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/decode-b64-to-uint8-array.js +13 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/decode-b64-to-uint8-array.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/ebml-helpers.js +77 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/ebml-helpers.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/id3-helpers.js +15 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/id3-helpers.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/media-groups.js +13 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/media-groups.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/media-types.js +7 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/media-types.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/mp4-helpers.js +31 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/mp4-helpers.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/nal-helpers.js +39 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/nal-helpers.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/resolve-url.js +14 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/resolve-url.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/stream.js +33 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_vhs-utils@4.1.1/node_modules/@videojs/vhs-utils/es/stream.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_xhr@2.7.0/node_modules/@videojs/xhr/lib/http-handler.js +42 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_xhr@2.7.0/node_modules/@videojs/xhr/lib/http-handler.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_xhr@2.7.0/node_modules/@videojs/xhr/lib/index.js +169 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_xhr@2.7.0/node_modules/@videojs/xhr/lib/index.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_xhr@2.7.0/node_modules/@videojs/xhr/lib/interceptors.js +75 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_xhr@2.7.0/node_modules/@videojs/xhr/lib/interceptors.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_xhr@2.7.0/node_modules/@videojs/xhr/lib/retry.js +70 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@videojs_xhr@2.7.0/node_modules/@videojs/xhr/lib/retry.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@xmldom_xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/conventions.js +124 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@xmldom_xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/conventions.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@xmldom_xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/dom-parser.js +151 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@xmldom_xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/dom-parser.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@xmldom_xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/dom.js +993 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@xmldom_xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/dom.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@xmldom_xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/entities.js +2146 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@xmldom_xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/entities.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@xmldom_xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/index.js +14 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@xmldom_xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/index.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@xmldom_xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/sax.js +346 -0
- package/dist/shop-minis-react/node_modules/.pnpm/@xmldom_xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/sax.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js +308 -0
- package/dist/shop-minis-react/node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js +41 -0
- package/dist/shop-minis-react/node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js +53 -0
- package/dist/shop-minis-react/node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js +157 -0
- package/dist/shop-minis-react/node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/color-string@1.9.1/node_modules/color-string/index.js +103 -0
- package/dist/shop-minis-react/node_modules/.pnpm/color-string@1.9.1/node_modules/color-string/index.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/color@4.2.3/node_modules/color/index.js +269 -0
- package/dist/shop-minis-react/node_modules/.pnpm/color@4.2.3/node_modules/color/index.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/global@4.4.0/node_modules/global/document.js +13 -0
- package/dist/shop-minis-react/node_modules/.pnpm/global@4.4.0/node_modules/global/document.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/global@4.4.0/node_modules/global/window.js +12 -0
- package/dist/shop-minis-react/node_modules/.pnpm/global@4.4.0/node_modules/global/window.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/is-arrayish@0.3.2/node_modules/is-arrayish/index.js +10 -0
- package/dist/shop-minis-react/node_modules/.pnpm/is-arrayish@0.3.2/node_modules/is-arrayish/index.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js +18 -0
- package/dist/shop-minis-react/node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/lucide-react@0.513.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/minus.js +13 -0
- package/dist/shop-minis-react/node_modules/.pnpm/lucide-react@0.513.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/minus.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/lucide-react@0.513.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/plus.js +16 -0
- package/dist/shop-minis-react/node_modules/.pnpm/lucide-react@0.513.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/plus.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/m3u8-parser@7.2.0/node_modules/m3u8-parser/dist/m3u8-parser.es.js +855 -0
- package/dist/shop-minis-react/node_modules/.pnpm/m3u8-parser@7.2.0/node_modules/m3u8-parser/dist/m3u8-parser.es.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/mpd-parser@1.3.1/node_modules/mpd-parser/dist/mpd-parser.es.js +1102 -0
- package/dist/shop-minis-react/node_modules/.pnpm/mpd-parser@1.3.1/node_modules/mpd-parser/dist/mpd-parser.es.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/mux.js@7.1.0/node_modules/mux.js/lib/tools/parse-sidx.js +32 -0
- package/dist/shop-minis-react/node_modules/.pnpm/mux.js@7.1.0/node_modules/mux.js/lib/tools/parse-sidx.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/mux.js@7.1.0/node_modules/mux.js/lib/utils/clock.js +34 -0
- package/dist/shop-minis-react/node_modules/.pnpm/mux.js@7.1.0/node_modules/mux.js/lib/utils/clock.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/mux.js@7.1.0/node_modules/mux.js/lib/utils/numbers.js +17 -0
- package/dist/shop-minis-react/node_modules/.pnpm/mux.js@7.1.0/node_modules/mux.js/lib/utils/numbers.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/querystringify@2.2.0/node_modules/querystringify/index.js +1 -1
- package/dist/shop-minis-react/node_modules/.pnpm/simple-swizzle@0.2.2/node_modules/simple-swizzle/index.js +23 -0
- package/dist/shop-minis-react/node_modules/.pnpm/simple-swizzle@0.2.2/node_modules/simple-swizzle/index.js.map +1 -0
- 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
- package/dist/shop-minis-react/node_modules/.pnpm/video.js@8.23.3/node_modules/video.js/dist/video.es.js +27824 -0
- package/dist/shop-minis-react/node_modules/.pnpm/video.js@8.23.3/node_modules/video.js/dist/video.es.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/videojs-vtt.js@0.15.5/node_modules/videojs-vtt.js/lib/browser-index.js +26 -0
- package/dist/shop-minis-react/node_modules/.pnpm/videojs-vtt.js@0.15.5/node_modules/videojs-vtt.js/lib/browser-index.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/videojs-vtt.js@0.15.5/node_modules/videojs-vtt.js/lib/vtt.js +802 -0
- package/dist/shop-minis-react/node_modules/.pnpm/videojs-vtt.js@0.15.5/node_modules/videojs-vtt.js/lib/vtt.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/videojs-vtt.js@0.15.5/node_modules/videojs-vtt.js/lib/vttcue.js +188 -0
- package/dist/shop-minis-react/node_modules/.pnpm/videojs-vtt.js@0.15.5/node_modules/videojs-vtt.js/lib/vttcue.js.map +1 -0
- package/dist/shop-minis-react/node_modules/.pnpm/videojs-vtt.js@0.15.5/node_modules/videojs-vtt.js/lib/vttregion.js +104 -0
- package/dist/shop-minis-react/node_modules/.pnpm/videojs-vtt.js@0.15.5/node_modules/videojs-vtt.js/lib/vttregion.js.map +1 -0
- package/dist/shop-minis-react.css +1 -1
- package/dist/utils/colors.js +6 -0
- package/dist/utils/colors.js.map +1 -0
- package/dist/utils/merchant-card.js +44 -0
- package/dist/utils/merchant-card.js.map +1 -0
- package/package.json +5 -1
- package/src/components/atoms/video-player.tsx +213 -0
- package/src/components/commerce/merchant-card.tsx +219 -49
- package/src/components/commerce/quantity-selector.tsx +92 -0
- package/src/components/index.ts +2 -0
- package/src/mocks.ts +148 -16
- package/src/stories/MerchantCard.stories.tsx +63 -9
- package/src/utils/colors.ts +5 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/merchant-card.ts +99 -0
- package/src/hooks/navigation/useCloseMini.doc.ts +0 -32
- package/src/hooks/navigation/useCloseMini.example.tsx +0 -7
- package/src/hooks/navigation/useDeeplink.doc.ts +0 -32
- package/src/hooks/navigation/useDeeplink.example.tsx +0 -7
- package/src/hooks/navigation/useShopNavigation.doc.ts +0 -32
- package/src/hooks/navigation/useShopNavigation.example.tsx +0 -32
- package/src/hooks/product/useCuratedProducts.doc.ts +0 -32
- package/src/hooks/product/useCuratedProducts.example.tsx +0 -10
- package/src/hooks/product/useProductList.doc.ts +0 -32
- package/src/hooks/product/useProductList.example.tsx +0 -9
- package/src/hooks/product/useProductListActions.doc.ts +0 -32
- package/src/hooks/product/useProductListActions.example.tsx +0 -60
- package/src/hooks/product/useProductLists.doc.ts +0 -32
- package/src/hooks/product/useProductLists.example.tsx +0 -9
- package/src/hooks/product/useProductSearch.doc.ts +0 -32
- package/src/hooks/product/useProductSearch.example.tsx +0 -13
- package/src/hooks/product/useRecommendedProducts.doc.ts +0 -32
- package/src/hooks/product/useRecommendedProducts.example.tsx +0 -7
- package/src/hooks/shop/useRecommendedShops.doc.ts +0 -32
- package/src/hooks/shop/useRecommendedShops.example.tsx +0 -7
- package/src/hooks/shop/useShop.doc.ts +0 -31
- package/src/hooks/shop/useShop.example.tsx +0 -7
- package/src/hooks/shop/useShopCartActions.doc.ts +0 -32
- package/src/hooks/shop/useShopCartActions.example.tsx +0 -28
- package/src/hooks/storage/useAsyncStorage.doc.ts +0 -32
- package/src/hooks/storage/useAsyncStorage.example.tsx +0 -30
- package/src/hooks/storage/useImageUpload.doc.ts +0 -32
- package/src/hooks/storage/useImageUpload.example.tsx +0 -20
- package/src/hooks/storage/useSecureStorage.doc.ts +0 -32
- package/src/hooks/storage/useSecureStorage.example.tsx +0 -23
- package/src/hooks/user/useBuyerAttributes.doc.ts +0 -32
- package/src/hooks/user/useBuyerAttributes.example.tsx +0 -14
- package/src/hooks/user/useCurrentUser.doc.ts +0 -31
- package/src/hooks/user/useCurrentUser.example.tsx +0 -7
- package/src/hooks/user/useFollowedShopsActions.doc.ts +0 -32
- package/src/hooks/user/useFollowedShopsActions.example.tsx +0 -16
- package/src/hooks/user/useOrders.doc.ts +0 -32
- package/src/hooks/user/useOrders.example.tsx +0 -7
- package/src/hooks/user/useRecentProducts.doc.ts +0 -32
- package/src/hooks/user/useRecentProducts.example.tsx +0 -13
- package/src/hooks/user/useSavedProducts.doc.ts +0 -32
- package/src/hooks/user/useSavedProducts.example.tsx +0 -13
- package/src/hooks/user/useSavedProductsActions.doc.ts +0 -32
- package/src/hooks/user/useSavedProductsActions.example.tsx +0 -32
- package/src/hooks/util/useErrorScreen.doc.ts +0 -32
- package/src/hooks/util/useErrorScreen.example.tsx +0 -15
- package/src/hooks/util/useErrorToast.doc.ts +0 -32
- package/src/hooks/util/useErrorToast.example.tsx +0 -15
- package/src/hooks/util/useImagePicker.example.tsx +0 -77
package/dist/index.js
CHANGED
|
@@ -1,223 +1,232 @@
|
|
|
1
1
|
import { DATA_NAVIGATION_TYPE_ATTRIBUTE as o, NAVIGATION_TYPES as t } from "./types/index.js";
|
|
2
2
|
import { MinisContainer as i } from "./components/MinisContainer.js";
|
|
3
3
|
import { ProductCard as p } from "./components/commerce/product-card.js";
|
|
4
|
-
import { ProductLink as
|
|
4
|
+
import { ProductLink as s } from "./components/commerce/product-link.js";
|
|
5
5
|
import { MerchantCard as u, MerchantCardPrimitive as x } from "./components/commerce/merchant-card.js";
|
|
6
6
|
import { ProductCardSkeleton as c } from "./components/commerce/product-card-skeleton.js";
|
|
7
7
|
import { MerchantCardSkeleton as g } from "./components/commerce/merchant-card-skeleton.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
8
|
+
import { QuantitySelector as D } from "./components/commerce/quantity-selector.js";
|
|
9
|
+
import { TransitionContainer as C } from "./components/navigation/transition-container.js";
|
|
10
|
+
import { TransitionLink as T } from "./components/navigation/transition-link.js";
|
|
11
|
+
import { Button as I } from "./components/atoms/button.js";
|
|
12
|
+
import { FavoriteButton as v } from "./components/atoms/favorite-button.js";
|
|
13
|
+
import { IconButton as b } from "./components/atoms/icon-button.js";
|
|
13
14
|
import { ThumbhashImage as k } from "./components/atoms/thumbhash-image.js";
|
|
14
|
-
import { Touchable as
|
|
15
|
-
import { AlertDialogAtom as
|
|
16
|
-
import { List as
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
15
|
+
import { Touchable as E } from "./components/atoms/touchable.js";
|
|
16
|
+
import { AlertDialogAtom as N } from "./components/atoms/alert-dialog.js";
|
|
17
|
+
import { List as L } from "./components/atoms/list.js";
|
|
18
|
+
import { VideoPlayer as H } from "./components/atoms/video-player.js";
|
|
19
|
+
import { Accordion as V, AccordionContent as U, AccordionItem as z, AccordionTrigger as _ } from "./components/ui/accordion.js";
|
|
20
|
+
import { Alert as Q, AlertDescription as W, AlertTitle as j } from "./components/ui/alert.js";
|
|
21
|
+
import { AlertDialog as J, AlertDialogAction as K, AlertDialogCancel as X, AlertDialogContent as Z, AlertDialogDescription as $, AlertDialogFooter as rr, AlertDialogHeader as er, AlertDialogOverlay as or, AlertDialogPortal as tr, AlertDialogTitle as ar, AlertDialogTrigger as ir } from "./components/ui/alert-dialog.js";
|
|
22
|
+
import { Avatar as pr, AvatarFallback as mr, AvatarImage as sr } from "./components/ui/avatar.js";
|
|
23
|
+
import { Badge as ur, badgeVariants as xr } from "./components/ui/badge.js";
|
|
24
|
+
import { Card as cr, CardAction as dr, CardContent as gr, CardDescription as Sr, CardFooter as Dr, CardHeader as Ar, CardTitle as Cr } from "./components/ui/card.js";
|
|
25
|
+
import { Carousel as Tr, CarouselContent as hr, CarouselItem as Ir, CarouselNext as wr, CarouselPrevious as vr } from "./components/ui/carousel.js";
|
|
26
|
+
import { Checkbox as br } from "./components/ui/checkbox.js";
|
|
27
|
+
import { Dialog as kr, DialogClose as Br, DialogContent as Er, DialogDescription as Mr, DialogFooter as Nr, DialogHeader as yr, DialogOverlay as Lr, DialogPortal as Gr, DialogTitle as Hr, DialogTrigger as Or } from "./components/ui/dialog.js";
|
|
28
|
+
import { Drawer as Ur, DrawerClose as zr, DrawerContent as _r, DrawerDescription as Yr, DrawerFooter as Qr, DrawerHeader as Wr, DrawerOverlay as jr, DrawerPortal as qr, DrawerTitle as Jr, DrawerTrigger as Kr } from "./components/ui/drawer.js";
|
|
29
|
+
import { Input as Zr } from "./components/ui/input.js";
|
|
30
|
+
import { Label as re } from "./components/ui/label.js";
|
|
31
|
+
import { Progress as oe } from "./components/ui/progress.js";
|
|
32
|
+
import { RadioGroup as ae, RadioGroupItem as ie } from "./components/ui/radio-group.js";
|
|
33
|
+
import { ResizableHandle as pe, ResizablePanel as me, ResizablePanelGroup as se } from "./components/ui/resizable.js";
|
|
34
|
+
import { ScrollArea as ue, ScrollBar as xe } from "./components/ui/scroll-area.js";
|
|
35
|
+
import { Select as ce, SelectContent as de, SelectGroup as ge, SelectItem as Se, SelectLabel as De, SelectScrollDownButton as Ae, SelectScrollUpButton as Ce, SelectSeparator as Pe, SelectTrigger as Te, SelectValue as he } from "./components/ui/select.js";
|
|
36
|
+
import { Separator as we } from "./components/ui/separator.js";
|
|
37
|
+
import { Sheet as Re, SheetClose as be, SheetContent as Fe, SheetDescription as ke, SheetFooter as Be, SheetHeader as Ee, SheetTitle as Me, SheetTrigger as Ne } from "./components/ui/sheet.js";
|
|
38
|
+
import { Toaster as Le } from "./components/ui/sonner.js";
|
|
39
|
+
import { Skeleton as He } from "./components/ui/skeleton.js";
|
|
40
|
+
import { useRecentProducts as Ve } from "./hooks/user/useRecentProducts.js";
|
|
41
|
+
import { useRecentShops as ze } from "./hooks/user/useRecentShops.js";
|
|
42
|
+
import { useSavedProducts as Ye } from "./hooks/user/useSavedProducts.js";
|
|
43
|
+
import { useSavedProductsActions as We } from "./hooks/user/useSavedProductsActions.js";
|
|
44
|
+
import { useFollowedShops as qe } from "./hooks/user/useFollowedShops.js";
|
|
45
|
+
import { useFollowedShopsActions as Ke } from "./hooks/user/useFollowedShopsActions.js";
|
|
46
|
+
import { useCurrentUser as Ze } from "./hooks/user/useCurrentUser.js";
|
|
47
|
+
import { useOrders as ro } from "./hooks/user/useOrders.js";
|
|
48
|
+
import { useBuyerAttributes as oo } from "./hooks/user/useBuyerAttributes.js";
|
|
49
|
+
import { useProductListActions as ao } from "./hooks/product/useProductListActions.js";
|
|
50
|
+
import { useProductLists as lo } from "./hooks/product/useProductLists.js";
|
|
51
|
+
import { useProductList as mo } from "./hooks/product/useProductList.js";
|
|
52
|
+
import { useProduct as no } from "./hooks/product/useProduct.js";
|
|
53
|
+
import { useProducts as xo } from "./hooks/product/useProducts.js";
|
|
54
|
+
import { useProductVariants as co } from "./hooks/product/useProductVariants.js";
|
|
55
|
+
import { useProductMedia as So } from "./hooks/product/useProductMedia.js";
|
|
56
|
+
import { useProductSearch as Ao } from "./hooks/product/useProductSearch.js";
|
|
57
|
+
import { useRecommendedProducts as Po } from "./hooks/product/useRecommendedProducts.js";
|
|
58
|
+
import { usePopularProducts as ho } from "./hooks/product/usePopularProducts.js";
|
|
59
|
+
import { useCuratedProducts as wo } from "./hooks/product/useCuratedProducts.js";
|
|
60
|
+
import { useAsyncStorage as Ro } from "./hooks/storage/useAsyncStorage.js";
|
|
61
|
+
import { useSecureStorage as Fo } from "./hooks/storage/useSecureStorage.js";
|
|
62
|
+
import { useImageUpload as Bo } from "./hooks/storage/useImageUpload.js";
|
|
63
|
+
import { useShopNavigation as Mo } from "./hooks/navigation/useShopNavigation.js";
|
|
64
|
+
import { useCloseMini as yo } from "./hooks/navigation/useCloseMini.js";
|
|
65
|
+
import { useDeeplink as Go } from "./hooks/navigation/useDeeplink.js";
|
|
66
|
+
import { useNavigateWithTransition as Oo } from "./hooks/navigation/useNavigateWithTransition.js";
|
|
67
|
+
import { useShop as Uo } from "./hooks/shop/useShop.js";
|
|
68
|
+
import { useShopCartActions as _o } from "./hooks/shop/useShopCartActions.js";
|
|
69
|
+
import { useRecommendedShops as Qo } from "./hooks/shop/useRecommendedShops.js";
|
|
70
|
+
import { useErrorToast as jo } from "./hooks/util/useErrorToast.js";
|
|
71
|
+
import { useErrorScreen as Jo } from "./hooks/util/useErrorScreen.js";
|
|
72
|
+
import { useShare as Xo } from "./hooks/util/useShare.js";
|
|
73
|
+
import { useImagePicker as $o } from "./hooks/util/useImagePicker.js";
|
|
74
|
+
import { MiniEntityNotFoundError as et, MiniError as ot, MiniNetworkError as tt, formatError as at } from "./utils/errors.js";
|
|
75
|
+
import { extractBrandTheme as lt, formatReviewCount as pt, getFeaturedImages as mt, normalizeRating as st } from "./utils/merchant-card.js";
|
|
76
|
+
import { parseUrl as ut } from "./utils/parseUrl.js";
|
|
77
|
+
import { Consent as ft, ConsentStatus as ct } from "./shop-minis-platform/src/types/permissions.js";
|
|
75
78
|
export {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
79
|
+
V as Accordion,
|
|
80
|
+
U as AccordionContent,
|
|
81
|
+
z as AccordionItem,
|
|
82
|
+
_ as AccordionTrigger,
|
|
83
|
+
Q as Alert,
|
|
84
|
+
W as AlertDescription,
|
|
85
|
+
J as AlertDialog,
|
|
86
|
+
K as AlertDialogAction,
|
|
87
|
+
N as AlertDialogAtom,
|
|
88
|
+
X as AlertDialogCancel,
|
|
89
|
+
Z as AlertDialogContent,
|
|
90
|
+
$ as AlertDialogDescription,
|
|
91
|
+
rr as AlertDialogFooter,
|
|
92
|
+
er as AlertDialogHeader,
|
|
93
|
+
or as AlertDialogOverlay,
|
|
94
|
+
tr as AlertDialogPortal,
|
|
95
|
+
ar as AlertDialogTitle,
|
|
96
|
+
ir as AlertDialogTrigger,
|
|
97
|
+
j as AlertTitle,
|
|
98
|
+
pr as Avatar,
|
|
99
|
+
mr as AvatarFallback,
|
|
100
|
+
sr as AvatarImage,
|
|
101
|
+
ur as Badge,
|
|
102
|
+
I as Button,
|
|
103
|
+
cr as Card,
|
|
104
|
+
dr as CardAction,
|
|
105
|
+
gr as CardContent,
|
|
106
|
+
Sr as CardDescription,
|
|
107
|
+
Dr as CardFooter,
|
|
108
|
+
Ar as CardHeader,
|
|
109
|
+
Cr as CardTitle,
|
|
110
|
+
Tr as Carousel,
|
|
111
|
+
hr as CarouselContent,
|
|
112
|
+
Ir as CarouselItem,
|
|
113
|
+
wr as CarouselNext,
|
|
114
|
+
vr as CarouselPrevious,
|
|
115
|
+
br as Checkbox,
|
|
116
|
+
ft as Consent,
|
|
117
|
+
ct as ConsentStatus,
|
|
115
118
|
o as DATA_NAVIGATION_TYPE_ATTRIBUTE,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
119
|
+
kr as Dialog,
|
|
120
|
+
Br as DialogClose,
|
|
121
|
+
Er as DialogContent,
|
|
122
|
+
Mr as DialogDescription,
|
|
123
|
+
Nr as DialogFooter,
|
|
124
|
+
yr as DialogHeader,
|
|
125
|
+
Lr as DialogOverlay,
|
|
126
|
+
Gr as DialogPortal,
|
|
127
|
+
Hr as DialogTitle,
|
|
128
|
+
Or as DialogTrigger,
|
|
129
|
+
Ur as Drawer,
|
|
130
|
+
zr as DrawerClose,
|
|
131
|
+
_r as DrawerContent,
|
|
132
|
+
Yr as DrawerDescription,
|
|
133
|
+
Qr as DrawerFooter,
|
|
134
|
+
Wr as DrawerHeader,
|
|
135
|
+
jr as DrawerOverlay,
|
|
136
|
+
qr as DrawerPortal,
|
|
137
|
+
Jr as DrawerTitle,
|
|
138
|
+
Kr as DrawerTrigger,
|
|
139
|
+
v as FavoriteButton,
|
|
140
|
+
b as IconButton,
|
|
141
|
+
Zr as Input,
|
|
142
|
+
re as Label,
|
|
143
|
+
L as List,
|
|
141
144
|
u as MerchantCard,
|
|
142
145
|
x as MerchantCardPrimitive,
|
|
143
146
|
g as MerchantCardSkeleton,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
+
et as MiniEntityNotFoundError,
|
|
148
|
+
ot as MiniError,
|
|
149
|
+
tt as MiniNetworkError,
|
|
147
150
|
i as MinisContainer,
|
|
148
151
|
t as NAVIGATION_TYPES,
|
|
149
152
|
p as ProductCard,
|
|
150
153
|
c as ProductCardSkeleton,
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
Ee as
|
|
178
|
-
|
|
179
|
-
Ne as
|
|
154
|
+
s as ProductLink,
|
|
155
|
+
oe as Progress,
|
|
156
|
+
D as QuantitySelector,
|
|
157
|
+
ae as RadioGroup,
|
|
158
|
+
ie as RadioGroupItem,
|
|
159
|
+
pe as ResizableHandle,
|
|
160
|
+
me as ResizablePanel,
|
|
161
|
+
se as ResizablePanelGroup,
|
|
162
|
+
ue as ScrollArea,
|
|
163
|
+
xe as ScrollBar,
|
|
164
|
+
ce as Select,
|
|
165
|
+
de as SelectContent,
|
|
166
|
+
ge as SelectGroup,
|
|
167
|
+
Se as SelectItem,
|
|
168
|
+
De as SelectLabel,
|
|
169
|
+
Ae as SelectScrollDownButton,
|
|
170
|
+
Ce as SelectScrollUpButton,
|
|
171
|
+
Pe as SelectSeparator,
|
|
172
|
+
Te as SelectTrigger,
|
|
173
|
+
he as SelectValue,
|
|
174
|
+
we as Separator,
|
|
175
|
+
Re as Sheet,
|
|
176
|
+
be as SheetClose,
|
|
177
|
+
Fe as SheetContent,
|
|
178
|
+
ke as SheetDescription,
|
|
179
|
+
Be as SheetFooter,
|
|
180
|
+
Ee as SheetHeader,
|
|
181
|
+
Me as SheetTitle,
|
|
182
|
+
Ne as SheetTrigger,
|
|
183
|
+
He as Skeleton,
|
|
180
184
|
k as ThumbhashImage,
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
185
|
+
Le as Toaster,
|
|
186
|
+
E as Touchable,
|
|
187
|
+
C as TransitionContainer,
|
|
188
|
+
T as TransitionLink,
|
|
189
|
+
H as VideoPlayer,
|
|
190
|
+
xr as badgeVariants,
|
|
191
|
+
lt as extractBrandTheme,
|
|
192
|
+
at as formatError,
|
|
193
|
+
pt as formatReviewCount,
|
|
194
|
+
mt as getFeaturedImages,
|
|
195
|
+
st as normalizeRating,
|
|
196
|
+
ut as parseUrl,
|
|
197
|
+
Ro as useAsyncStorage,
|
|
198
|
+
oo as useBuyerAttributes,
|
|
199
|
+
yo as useCloseMini,
|
|
200
|
+
wo as useCuratedProducts,
|
|
201
|
+
Ze as useCurrentUser,
|
|
202
|
+
Go as useDeeplink,
|
|
203
|
+
Jo as useErrorScreen,
|
|
204
|
+
jo as useErrorToast,
|
|
205
|
+
qe as useFollowedShops,
|
|
206
|
+
Ke as useFollowedShopsActions,
|
|
207
|
+
$o as useImagePicker,
|
|
208
|
+
Bo as useImageUpload,
|
|
209
|
+
Oo as useNavigateWithTransition,
|
|
210
|
+
ro as useOrders,
|
|
211
|
+
ho as usePopularProducts,
|
|
212
|
+
no as useProduct,
|
|
213
|
+
mo as useProductList,
|
|
214
|
+
ao as useProductListActions,
|
|
215
|
+
lo as useProductLists,
|
|
216
|
+
So as useProductMedia,
|
|
217
|
+
Ao as useProductSearch,
|
|
218
|
+
co as useProductVariants,
|
|
219
|
+
xo as useProducts,
|
|
220
|
+
Ve as useRecentProducts,
|
|
221
|
+
ze as useRecentShops,
|
|
222
|
+
Po as useRecommendedProducts,
|
|
223
|
+
Qo as useRecommendedShops,
|
|
224
|
+
Ye as useSavedProducts,
|
|
225
|
+
We as useSavedProductsActions,
|
|
226
|
+
Fo as useSecureStorage,
|
|
227
|
+
Xo as useShare,
|
|
228
|
+
Uo as useShop,
|
|
229
|
+
_o as useShopCartActions,
|
|
230
|
+
Mo as useShopNavigation
|
|
222
231
|
};
|
|
223
232
|
//# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|