@app-brew/brewery 1.0.0
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/package.json +99 -0
- package/src/analytics/src/analytics-provider-v2.ts +288 -0
- package/src/analytics/src/analytics-provider-v2.web.ts +36 -0
- package/src/analytics/src/analytics-provider.ts +266 -0
- package/src/analytics/src/analytics-provider.web.ts +48 -0
- package/src/analytics/src/analytics-tracker-v2.ts +96 -0
- package/src/analytics/src/anaylytics-tracker.ts +96 -0
- package/src/analytics/src/index.ts +6 -0
- package/src/analytics/src/user-permission.ts +1 -0
- package/src/analytics/src/utils.ts +162 -0
- package/src/app-update/src/index.ts +1 -0
- package/src/app-update/src/lib/app-update.ts +45 -0
- package/src/block-registry/src/common.tsx +439 -0
- package/src/block-registry/src/common.web.tsx +46 -0
- package/src/block-registry/src/index.ts +1 -0
- package/src/block-registry/src/keys.ts +43 -0
- package/src/block-registry/src/register.tsx +66 -0
- package/src/block-registry/src/register.web.tsx +129 -0
- package/src/bottom-sheet/src/block-bottom-sheet.tsx +183 -0
- package/src/bottom-sheet/src/block-bottom-sheet.web.tsx +4 -0
- package/src/bottom-sheet/src/bottom-sheet.tsx +269 -0
- package/src/bottom-sheet/src/bottom-sheet.web.tsx +13 -0
- package/src/bottom-sheet/src/index.ts +3 -0
- package/src/brewery/babel.config.js +3 -0
- package/src/brewery/src/ModalBrewery.tsx +222 -0
- package/src/brewery/src/ScreenBrewery.tsx +415 -0
- package/src/brewery/src/ScreenContainer.tsx +76 -0
- package/src/brewery/src/ScreenContextProvider.tsx +27 -0
- package/src/brewery/src/app-init.tsx +507 -0
- package/src/brewery/src/common.ts +5 -0
- package/src/brewery/src/default-content.tsx +234 -0
- package/src/brewery/src/index.ts +8 -0
- package/src/brewery/src/lazy-screen.tsx +101 -0
- package/src/brewery/src/onboarding-screen.tsx +31 -0
- package/src/brewery/src/plp-content.tsx +19 -0
- package/src/brewery/src/preview-footer.tsx +83 -0
- package/src/brewery/src/profile-screen.tsx +74 -0
- package/src/brewery/src/refreshing-screen.tsx +129 -0
- package/src/brewery/src/safe-area-container.tsx +1 -0
- package/src/brewery/src/screen-content.tsx +89 -0
- package/src/brewery/src/secondary-splash-screen.tsx +190 -0
- package/src/brewery/src/shell.tsx +509 -0
- package/src/brewery/src/tab-bar.tsx +252 -0
- package/src/brewery/src/tabbed-brewery.tsx +175 -0
- package/src/brewery/src/templates.ts +87 -0
- package/src/brewery/src/types.ts +123 -0
- package/src/brewery/src/utils/bottombar.tsx +266 -0
- package/src/brewery/src/utils/colorUtils.ts +71 -0
- package/src/brewery/src/utils/createBottombarVisibility.ts +48 -0
- package/src/brewery/src/utils/index.tsx +3 -0
- package/src/brewery/src/utils/renderItem.tsx +112 -0
- package/src/brewery/src/utils/screens.tsx +270 -0
- package/src/brewery/src/utils/tabReload.ts +57 -0
- package/src/brewery/test-setup.ts +1 -0
- package/src/child-navigator/babel.config.js +3 -0
- package/src/child-navigator/src/index.tsx +52 -0
- package/src/child-navigator/src/view.tsx +197 -0
- package/src/components/babel.config.js +3 -0
- package/src/components/src/atoms/badge/index.tsx +85 -0
- package/src/components/src/atoms/block-section/index.ts +6 -0
- package/src/components/src/atoms/button/index.tsx +112 -0
- package/src/components/src/atoms/check-box/index.tsx +57 -0
- package/src/components/src/atoms/countdown-timer/index.tsx +48 -0
- package/src/components/src/atoms/country-selector/constants.ts +3 -0
- package/src/components/src/atoms/country-selector/index.tsx +146 -0
- package/src/components/src/atoms/date-picker/calendar-date-picker.tsx +509 -0
- package/src/components/src/atoms/date-picker/index.tsx +93 -0
- package/src/components/src/atoms/flex/index.tsx +24 -0
- package/src/components/src/atoms/header/index.ts +2 -0
- package/src/components/src/atoms/header/types.ts +1 -0
- package/src/components/src/atoms/icon/index.tsx +31 -0
- package/src/components/src/atoms/icon-button/index.tsx +29 -0
- package/src/components/src/atoms/image/image1.tsx +8 -0
- package/src/components/src/atoms/image/image1.web.tsx +5 -0
- package/src/components/src/atoms/image/index.ts +1 -0
- package/src/components/src/atoms/image/types.ts +12 -0
- package/src/components/src/atoms/input/index.tsx +34 -0
- package/src/components/src/atoms/link/index.tsx +60 -0
- package/src/components/src/atoms/password-input/index.tsx +89 -0
- package/src/components/src/atoms/product-card-button/index.tsx +203 -0
- package/src/components/src/atoms/radio-group-input/index.tsx +84 -0
- package/src/components/src/atoms/rating-input/index.tsx +47 -0
- package/src/components/src/atoms/safe-area-container.tsx +29 -0
- package/src/components/src/atoms/section/index.ts +1 -0
- package/src/components/src/atoms/section/section.tsx +76 -0
- package/src/components/src/atoms/select/index.tsx +100 -0
- package/src/components/src/atoms/spacer/index.tsx +26 -0
- package/src/components/src/atoms/stars/index.tsx +124 -0
- package/src/components/src/atoms/stars/star-filled.png +0 -0
- package/src/components/src/atoms/stars/star-unfilled.png +0 -0
- package/src/components/src/atoms/text/index.tsx +1 -0
- package/src/components/src/atoms/video/index.tsx +242 -0
- package/src/components/src/atoms/video/index.web.tsx +144 -0
- package/src/components/src/blocks/base-blocks/base-rich-text/index.tsx +49 -0
- package/src/components/src/blocks/bundle-list-block/index.tsx +21 -0
- package/src/components/src/blocks/divider-block/index.tsx +22 -0
- package/src/components/src/blocks/dummy/index.tsx +3 -0
- package/src/components/src/blocks/manage-address-form-block/index.tsx +172 -0
- package/src/components/src/blocks/otp-signin/hooks.tsx +180 -0
- package/src/components/src/blocks/otp-signin/index.tsx +139 -0
- package/src/components/src/blocks/otp-verification/hooks.tsx +304 -0
- package/src/components/src/blocks/otp-verification/index.tsx +212 -0
- package/src/components/src/blocks/prefetch-metafields/index.tsx +16 -0
- package/src/components/src/blocks/product-card-block/index.tsx +53 -0
- package/src/components/src/blocks/product-card-block-v2/index.tsx +71 -0
- package/src/components/src/blocks/product-card-block-v2/index.web.tsx +76 -0
- package/src/components/src/blocks/product-recommendations-block/index.tsx +152 -0
- package/src/components/src/blocks/product-recommendations-block/index.web.tsx +175 -0
- package/src/components/src/blocks/rich-text-block/index.tsx +1 -0
- package/src/components/src/blocks/rich-text-block/rich-text.tsx +117 -0
- package/src/components/src/blocks/rich-text-block/rich-text.web.tsx +91 -0
- package/src/components/src/blocks/social-signin/index.tsx +46 -0
- package/src/components/src/blocks/status-bar-block/index.tsx +28 -0
- package/src/components/src/blocks/variant-selector-2-block/index.tsx +58 -0
- package/src/components/src/blocks/variant-selector-3-block/index.tsx +44 -0
- package/src/components/src/declaration.d.ts +4 -0
- package/src/components/src/hocs/withMetafield.tsx +109 -0
- package/src/components/src/index.ts +13 -0
- package/src/components/src/molecules/accordion/index.tsx +8 -0
- package/src/components/src/molecules/add-to-cart/index.tsx +471 -0
- package/src/components/src/molecules/address/addressCard.tsx +171 -0
- package/src/components/src/molecules/address-form/index.tsx +270 -0
- package/src/components/src/molecules/announcement-strip/icon.tsx +47 -0
- package/src/components/src/molecules/announcement-strip/index.tsx +51 -0
- package/src/components/src/molecules/app-bar/buttons/back.tsx +59 -0
- package/src/components/src/molecules/app-bar/buttons/cart.tsx +63 -0
- package/src/components/src/molecules/app-bar/buttons/index.ts +6 -0
- package/src/components/src/molecules/app-bar/buttons/logo.tsx +46 -0
- package/src/components/src/molecules/app-bar/buttons/logo.web.tsx +42 -0
- package/src/components/src/molecules/app-bar/buttons/profile.tsx +25 -0
- package/src/components/src/molecules/app-bar/buttons/search.tsx +23 -0
- package/src/components/src/molecules/app-bar/buttons/wishlist.tsx +27 -0
- package/src/components/src/molecules/app-bar/expanded-search.tsx +28 -0
- package/src/components/src/molecules/app-bar/index.tsx +308 -0
- package/src/components/src/molecules/app-bar/index.web.tsx +284 -0
- package/src/components/src/molecules/appbar-layout-elements.tsx +71 -0
- package/src/components/src/molecules/appbar-template/back.tsx +20 -0
- package/src/components/src/molecules/appbar-template/cart.tsx +39 -0
- package/src/components/src/molecules/appbar-template/default.tsx +52 -0
- package/src/components/src/molecules/appbar-template/index.tsx +93 -0
- package/src/components/src/molecules/appbar-template/minimal.tsx +27 -0
- package/src/components/src/molecules/appbar-template/tabs.tsx +41 -0
- package/src/components/src/molecules/appbar-template/wishlist.tsx +42 -0
- package/src/components/src/molecules/appbar-v2/appbar-v2.tsx +497 -0
- package/src/components/src/molecules/appbar-v2/appbar-v2.web.tsx +512 -0
- package/src/components/src/molecules/appbar-v2/appbar-variants/back.ts +42 -0
- package/src/components/src/molecules/appbar-v2/appbar-variants/cart.ts +183 -0
- package/src/components/src/molecules/appbar-v2/appbar-variants/default.ts +189 -0
- package/src/components/src/molecules/appbar-v2/appbar-variants/minimal.ts +52 -0
- package/src/components/src/molecules/appbar-v2/appbar-variants/tabs.ts +170 -0
- package/src/components/src/molecules/appbar-v2/appbar-variants/wishlist.ts +180 -0
- package/src/components/src/molecules/appbar-v2/appbar-variants.ts +15 -0
- package/src/components/src/molecules/appbar-v2/index.ts +2 -0
- package/src/components/src/molecules/avatar/index.tsx +43 -0
- package/src/components/src/molecules/base-accordion-list/index.tsx +56 -0
- package/src/components/src/molecules/bottom-bar/bottom-bar.tsx +11 -0
- package/src/components/src/molecules/bottom-bar/bottom-bar.web.tsx +111 -0
- package/src/components/src/molecules/bottom-bar/index.tsx +1 -0
- package/src/components/src/molecules/bundle-list-item/index.tsx +200 -0
- package/src/components/src/molecules/carousel/carousel-item.tsx +206 -0
- package/src/components/src/molecules/carousel/eye-close.tsx +19 -0
- package/src/components/src/molecules/carousel/horizontal-carousel.tsx +418 -0
- package/src/components/src/molecules/carousel/index.tsx +85 -0
- package/src/components/src/molecules/carousel/index.web.tsx +111 -0
- package/src/components/src/molecules/carousel/indicator.tsx +133 -0
- package/src/components/src/molecules/carousel/indicator.web.tsx +77 -0
- package/src/components/src/molecules/carousel/rich-subtitle.tsx +27 -0
- package/src/components/src/molecules/carousel/rich-subtitle.web.tsx +31 -0
- package/src/components/src/molecules/carousel/types.ts +41 -0
- package/src/components/src/molecules/carousel/utils.ts +116 -0
- package/src/components/src/molecules/carousel/v2.tsx +46 -0
- package/src/components/src/molecules/carousel/vertical-carousel.tsx +275 -0
- package/src/components/src/molecules/cart-goals/components/amount-saved.tsx +82 -0
- package/src/components/src/molecules/cart-goals/components/goal-achieved/label.tsx +56 -0
- package/src/components/src/molecules/cart-goals/components/header.tsx +106 -0
- package/src/components/src/molecules/cart-goals/components/ineligible-text.tsx +61 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-layout/index.tsx +27 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-layout/style-1.tsx +50 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-layout/style-10.tsx +53 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-layout/style-2.tsx +43 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-layout/style-3.tsx +44 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-layout/style-4.tsx +53 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-layout/style-7.tsx +44 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-layout/types.ts +13 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-progress/CircleWithProgress.tsx +94 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-progress/constants.ts +6 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-progress/index.tsx +28 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-progress/style-1.tsx +183 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-progress/style-10.tsx +242 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-progress/style-2.tsx +160 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-progress/style-3.tsx +113 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-progress/style-4-utils.ts +39 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-progress/style-4.tsx +216 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-progress/style-7.tsx +113 -0
- package/src/components/src/molecules/cart-goals/components/multi-tier-progress/types.ts +18 -0
- package/src/components/src/molecules/cart-goals/components/single-tier-progress.tsx +210 -0
- package/src/components/src/molecules/cart-goals/components/success-modal/index.tsx +117 -0
- package/src/components/src/molecules/cart-goals/haptics.ts +40 -0
- package/src/components/src/molecules/cart-goals/index.tsx +2 -0
- package/src/components/src/molecules/cart-goals/multi-tier-utils.ts +139 -0
- package/src/components/src/molecules/cart-goals/multi-tier.tsx +466 -0
- package/src/components/src/molecules/cart-goals/single-tier-utils.ts +45 -0
- package/src/components/src/molecules/cart-goals/single-tier.tsx +521 -0
- package/src/components/src/molecules/cart-goals/types.ts +105 -0
- package/src/components/src/molecules/cart-goals/use-goal-success-modal.tsx +103 -0
- package/src/components/src/molecules/cart-goals/use-tier-change.ts +42 -0
- package/src/components/src/molecules/cart-goals/utils.ts +153 -0
- package/src/components/src/molecules/checkout-bar/index.tsx +155 -0
- package/src/components/src/molecules/checkout-bar-v2/cart-custom-attributes-interceptor.tsx +130 -0
- package/src/components/src/molecules/checkout-bar-v2/circle.tsx +63 -0
- package/src/components/src/molecules/checkout-bar-v2/goals.tsx +391 -0
- package/src/components/src/molecules/checkout-bar-v2/goals.web.tsx +374 -0
- package/src/components/src/molecules/checkout-bar-v2/index.tsx +267 -0
- package/src/components/src/molecules/checkout-bar-v2/index.web.tsx +115 -0
- package/src/components/src/molecules/checkout-bar-v2/interceptor.tsx +73 -0
- package/src/components/src/molecules/checkout-bar-v2/out-of-stock-modal/index.tsx +216 -0
- package/src/components/src/molecules/checkout-bar-v2/out-of-stock-modal/item.tsx +94 -0
- package/src/components/src/molecules/checkout-bar-v2/out-of-stock-modal/styles.ts +136 -0
- package/src/components/src/molecules/chips-navigation/chip.tsx +83 -0
- package/src/components/src/molecules/chips-navigation/horizontal.tsx +140 -0
- package/src/components/src/molecules/chips-navigation/horizontal.web.tsx +145 -0
- package/src/components/src/molecules/chips-navigation/index.tsx +13 -0
- package/src/components/src/molecules/chips-navigation/index.web.ts +13 -0
- package/src/components/src/molecules/chips-navigation/utils.ts +35 -0
- package/src/components/src/molecules/chips-navigation/vertical.tsx +108 -0
- package/src/components/src/molecules/choice-sheet-content/index.tsx +111 -0
- package/src/components/src/molecules/confirmation-popup/index.tsx +51 -0
- package/src/components/src/molecules/controlled-video/index.tsx +316 -0
- package/src/components/src/molecules/currency-selection-prompt/index.tsx +24 -0
- package/src/components/src/molecules/currency-selector/index.tsx +244 -0
- package/src/components/src/molecules/currency-selector/layout-element.tsx +24 -0
- package/src/components/src/molecules/direct-navigation/index.tsx +48 -0
- package/src/components/src/molecules/discount-label/index.tsx +55 -0
- package/src/components/src/molecules/divider/index.tsx +23 -0
- package/src/components/src/molecules/dropdown-picker/index.tsx +217 -0
- package/src/components/src/molecules/empty-screen-v2/index.tsx +83 -0
- package/src/components/src/molecules/fallback/index.tsx +70 -0
- package/src/components/src/molecules/filter/color-filter.tsx +173 -0
- package/src/components/src/molecules/filter/index.tsx +244 -0
- package/src/components/src/molecules/filter/index.web.tsx +111 -0
- package/src/components/src/molecules/filter/selectors.tsx +623 -0
- package/src/components/src/molecules/form-input/index.tsx +451 -0
- package/src/components/src/molecules/full-screen-loading/index.tsx +20 -0
- package/src/components/src/molecules/generic-form/common.tsx +298 -0
- package/src/components/src/molecules/generic-form/index.tsx +131 -0
- package/src/components/src/molecules/generic-form/types.tsx +30 -0
- package/src/components/src/molecules/generic-product-card/card.tsx +5 -0
- package/src/components/src/molecules/generic-product-card/card.web.tsx +1 -0
- package/src/components/src/molecules/generic-product-card/cardV2.tsx +342 -0
- package/src/components/src/molecules/generic-product-card/common.tsx +590 -0
- package/src/components/src/molecules/generic-product-card/index.tsx +2 -0
- package/src/components/src/molecules/generic-product-card/tags.tsx +178 -0
- package/src/components/src/molecules/generic-product-card/types.tsx +219 -0
- package/src/components/src/molecules/generic-product-card/wrapper.tsx +39 -0
- package/src/components/src/molecules/gift-item-card/index.tsx +44 -0
- package/src/components/src/molecules/gift-item-selected-card/index.tsx +28 -0
- package/src/components/src/molecules/hidden-block/index.tsx +8 -0
- package/src/components/src/molecules/hidden-block/index.web.tsx +81 -0
- package/src/components/src/molecules/image-compare/index.tsx +236 -0
- package/src/components/src/molecules/image-compare/index.web.tsx +213 -0
- package/src/components/src/molecules/image-navigation/index.tsx +32 -0
- package/src/components/src/molecules/image-preview/image-preview.tsx +295 -0
- package/src/components/src/molecules/image-preview/image-preview.web.tsx +157 -0
- package/src/components/src/molecules/image-preview-2/close-icon-button.tsx +11 -0
- package/src/components/src/molecules/image-preview-2/constants.ts +2 -0
- package/src/components/src/molecules/image-preview-2/footer-item.tsx +52 -0
- package/src/components/src/molecules/image-preview-2/footer.tsx +58 -0
- package/src/components/src/molecules/image-preview-2/index.tsx +139 -0
- package/src/components/src/molecules/image-preview-2/types.ts +72 -0
- package/src/components/src/molecules/image-text/index.tsx +139 -0
- package/src/components/src/molecules/line-item/index.tsx +45 -0
- package/src/components/src/molecules/list-item/index.tsx +758 -0
- package/src/components/src/molecules/loader/index.tsx +40 -0
- package/src/components/src/molecules/menu/accordion/image-menu-accordion-list.tsx +114 -0
- package/src/components/src/molecules/menu/accordion/text-menu-accordion-list.tsx +111 -0
- package/src/components/src/molecules/menu/common/horizontal-menu-list.tsx +279 -0
- package/src/components/src/molecules/menu/common/menu-accordion.tsx +69 -0
- package/src/components/src/molecules/menu/common/menu-grid.tsx +179 -0
- package/src/components/src/molecules/menu/common/vertical-menu-list.tsx +197 -0
- package/src/components/src/molecules/menu/common/vertical-menu-list.web.tsx +196 -0
- package/src/components/src/molecules/menu/expandable-grid/image-menu-expandable-grid.tsx +128 -0
- package/src/components/src/molecules/menu/expandable-grid/text-menu-expandable-grid.tsx +107 -0
- package/src/components/src/molecules/menu/grid/image-menu-grid.tsx +58 -0
- package/src/components/src/molecules/menu/grid/text-menu-grid.tsx +55 -0
- package/src/components/src/molecules/menu/index.tsx +38 -0
- package/src/components/src/molecules/menu/item/image-menu-item.tsx +226 -0
- package/src/components/src/molecules/menu/item/text-menu-item.tsx +174 -0
- package/src/components/src/molecules/menu/list/horizontal-image-menu-list.tsx +55 -0
- package/src/components/src/molecules/menu/list/horizontal-text-menu-list.tsx +53 -0
- package/src/components/src/molecules/menu/list/image-menu-list.tsx +38 -0
- package/src/components/src/molecules/menu/list/text-menu-list.tsx +38 -0
- package/src/components/src/molecules/menu/list/vertical-image-menu-list.tsx +58 -0
- package/src/components/src/molecules/menu/list/vertical-text-menu-list.tsx +52 -0
- package/src/components/src/molecules/menu/sub-menu-item.tsx +50 -0
- package/src/components/src/molecules/menu/tabs/horizontal-image-menu-tabs.tsx +211 -0
- package/src/components/src/molecules/menu/tabs/horizontal-text-menu-tabs.tsx +211 -0
- package/src/components/src/molecules/menu/tabs/image-menu-tabs.tsx +52 -0
- package/src/components/src/molecules/menu/tabs/text-menu-tabs.tsx +49 -0
- package/src/components/src/molecules/menu/tabs/vertical-image-menu-tabs.tsx +224 -0
- package/src/components/src/molecules/menu/tabs/vertical-text-menu-tabs.tsx +222 -0
- package/src/components/src/molecules/menu/types.ts +580 -0
- package/src/components/src/molecules/menu/utils.ts +229 -0
- package/src/components/src/molecules/metafield-tag/index.tsx +36 -0
- package/src/components/src/molecules/metafield-tag/index.web.tsx +3 -0
- package/src/components/src/molecules/metafield-text/index.tsx +47 -0
- package/src/components/src/molecules/no-internet-block/index.tsx +43 -0
- package/src/components/src/molecules/only-text-navigation.tsx/index.tsx +79 -0
- package/src/components/src/molecules/order-item/index.tsx +108 -0
- package/src/components/src/molecules/payment-bar/index.tsx +139 -0
- package/src/components/src/molecules/pdp-quantity-selector/index.tsx +44 -0
- package/src/components/src/molecules/phone-country-input/index.tsx +153 -0
- package/src/components/src/molecules/phone-input/index.tsx +287 -0
- package/src/components/src/molecules/phone-input/index.web.tsx +21 -0
- package/src/components/src/molecules/price-box/index.tsx +54 -0
- package/src/components/src/molecules/price-text/index.tsx +40 -0
- package/src/components/src/molecules/product-card/index.tsx +162 -0
- package/src/components/src/molecules/product-card/wishlist/index.tsx +35 -0
- package/src/components/src/molecules/product-card-with-carousel/index.tsx +139 -0
- package/src/components/src/molecules/product-collection/GotoLinkButton.tsx +59 -0
- package/src/components/src/molecules/product-collection/GotoLinkButton.web.tsx +65 -0
- package/src/components/src/molecules/product-collection/index.tsx +458 -0
- package/src/components/src/molecules/product-collection/wrapper.tsx +224 -0
- package/src/components/src/molecules/product-components/add-to-bundle.tsx +19 -0
- package/src/components/src/molecules/product-components/add-to-cart.tsx +708 -0
- package/src/components/src/molecules/product-components/add-to-cart.web.tsx +398 -0
- package/src/components/src/molecules/product-components/add-to-wishlist-v2.tsx +43 -0
- package/src/components/src/molecules/product-components/add-to-wishlist.tsx +42 -0
- package/src/components/src/molecules/product-components/avg-ratings.tsx +56 -0
- package/src/components/src/molecules/product-components/carousel.tsx +85 -0
- package/src/components/src/molecules/product-components/color-swatch.tsx +81 -0
- package/src/components/src/molecules/product-components/compare-at-price.tsx +52 -0
- package/src/components/src/molecules/product-components/delete-from-wishlist.tsx +39 -0
- package/src/components/src/molecules/product-components/discount-label.tsx +109 -0
- package/src/components/src/molecules/product-components/goto-button-v2.tsx +42 -0
- package/src/components/src/molecules/product-components/hooks/carousel.ts +160 -0
- package/src/components/src/molecules/product-components/image.tsx +132 -0
- package/src/components/src/molecules/product-components/in-stock.tsx +86 -0
- package/src/components/src/molecules/product-components/index.tsx +25 -0
- package/src/components/src/molecules/product-components/metafield-rich-text.tsx +61 -0
- package/src/components/src/molecules/product-components/metafield-shopify-richtext.tsx +54 -0
- package/src/components/src/molecules/product-components/metafield-text.tsx +48 -0
- package/src/components/src/molecules/product-components/min-variant-price.tsx +48 -0
- package/src/components/src/molecules/product-components/move-to-cart.tsx +35 -0
- package/src/components/src/molecules/product-components/notify-me.tsx +93 -0
- package/src/components/src/molecules/product-components/open-modal.tsx +35 -0
- package/src/components/src/molecules/product-components/overlay.tsx +25 -0
- package/src/components/src/molecules/product-components/price.tsx +64 -0
- package/src/components/src/molecules/product-components/product-tag-v2.tsx +108 -0
- package/src/components/src/molecules/product-components/product-tag.tsx +56 -0
- package/src/components/src/molecules/product-components/product-type.tsx +32 -0
- package/src/components/src/molecules/product-components/product-variant-options.tsx +69 -0
- package/src/components/src/molecules/product-components/product-variant-selector-3.tsx +67 -0
- package/src/components/src/molecules/product-components/product-vendor.tsx +36 -0
- package/src/components/src/molecules/product-components/quantity-selector.tsx +307 -0
- package/src/components/src/molecules/product-components/quantity-selector.web.tsx +332 -0
- package/src/components/src/molecules/product-components/ratings-count.tsx +57 -0
- package/src/components/src/molecules/product-components/scarcity-counter.tsx +159 -0
- package/src/components/src/molecules/product-components/selling-plan-compare-at-price.tsx +43 -0
- package/src/components/src/molecules/product-components/selling-plan-discount.tsx +42 -0
- package/src/components/src/molecules/product-components/selling-plan-price.tsx +44 -0
- package/src/components/src/molecules/product-components/share-icon.tsx +49 -0
- package/src/components/src/molecules/product-components/spacer.tsx +18 -0
- package/src/components/src/molecules/product-components/star-ratings.tsx +48 -0
- package/src/components/src/molecules/product-components/text-tag.tsx +36 -0
- package/src/components/src/molecules/product-components/title.tsx +34 -0
- package/src/components/src/molecules/product-components/title.web.tsx +34 -0
- package/src/components/src/molecules/product-components/types.tsx +7 -0
- package/src/components/src/molecules/product-components/upsell-product-price.tsx +82 -0
- package/src/components/src/molecules/product-components/utils/add-to-cart.ts +108 -0
- package/src/components/src/molecules/product-components/utils/selected-selling-plan.ts +32 -0
- package/src/components/src/molecules/product-components/utils/selling-plan-compare-at-price.ts +36 -0
- package/src/components/src/molecules/product-components/utils/selling-plan-discount.ts +64 -0
- package/src/components/src/molecules/product-components/utils/selling-plan-price.ts +36 -0
- package/src/components/src/molecules/product-components/variant-selector.tsx +88 -0
- package/src/components/src/molecules/product-components/variant-sku.tsx +35 -0
- package/src/components/src/molecules/product-description-with-tags/index.tsx +56 -0
- package/src/components/src/molecules/product-group/index.tsx +64 -0
- package/src/components/src/molecules/product-group/product-group-list.tsx +64 -0
- package/src/components/src/molecules/product-image/index.tsx +143 -0
- package/src/components/src/molecules/product-tag/index.tsx +33 -0
- package/src/components/src/molecules/product-title/index.tsx +28 -0
- package/src/components/src/molecules/product-vendor/index.tsx +18 -0
- package/src/components/src/molecules/product-video/index.tsx +80 -0
- package/src/components/src/molecules/profile/index.tsx +0 -0
- package/src/components/src/molecules/quantity-selector/index.tsx +596 -0
- package/src/components/src/molecules/review-label/index.tsx +33 -0
- package/src/components/src/molecules/rich-text/index.tsx +1 -0
- package/src/components/src/molecules/rich-text/rich-text.tsx +1 -0
- package/src/components/src/molecules/rich-text/rich-text.web.tsx +1 -0
- package/src/components/src/molecules/search-input/index.tsx +248 -0
- package/src/components/src/molecules/sheet-header/index.tsx +55 -0
- package/src/components/src/molecules/shipping-address-label/index.tsx +67 -0
- package/src/components/src/molecules/simple-image-text/index.tsx +85 -0
- package/src/components/src/molecules/single-product-card/index.tsx +27 -0
- package/src/components/src/molecules/size-guide/index.tsx +187 -0
- package/src/components/src/molecules/skeleton/index.tsx +47 -0
- package/src/components/src/molecules/skeleton/index.web.tsx +18 -0
- package/src/components/src/molecules/skeleton/product-card.tsx +52 -0
- package/src/components/src/molecules/social-sign-in/apple-signin.tsx +88 -0
- package/src/components/src/molecules/social-sign-in/apple-signin.web.ts +4 -0
- package/src/components/src/molecules/social-sign-in/google-signin.tsx +105 -0
- package/src/components/src/molecules/social-sign-in/google-signin.web.ts +3 -0
- package/src/components/src/molecules/social-sign-in/social-auth.tsx +83 -0
- package/src/components/src/molecules/social-sign-in/social-signin-layout-item.tsx +54 -0
- package/src/components/src/molecules/social-sign-in/truecaller-signin.tsx +103 -0
- package/src/components/src/molecules/sub-navigations/index.tsx +169 -0
- package/src/components/src/molecules/subscription-v2/index.tsx +47 -0
- package/src/components/src/molecules/subscription-v2/subscription.tsx +356 -0
- package/src/components/src/molecules/subscription-v2/subscriptions-option-modal.tsx +78 -0
- package/src/components/src/molecules/switch/index.tsx +72 -0
- package/src/components/src/molecules/tab-selector/index.tsx +160 -0
- package/src/components/src/molecules/tab-view/index.tsx +2 -0
- package/src/components/src/molecules/tab-view/tab-item.tsx +67 -0
- package/src/components/src/molecules/tab-view/tab-pane.tsx +13 -0
- package/src/components/src/molecules/tab-view/tabs.tsx +64 -0
- package/src/components/src/molecules/text-carousel/index.tsx +111 -0
- package/src/components/src/molecules/text-label/index.tsx +36 -0
- package/src/components/src/molecules/toasts/add-to-cart-toast.tsx +48 -0
- package/src/components/src/molecules/toasts/brew-error-toast.tsx +49 -0
- package/src/components/src/molecules/toasts/brew-success-toast.tsx +55 -0
- package/src/components/src/molecules/toasts/index.tsx +3 -0
- package/src/components/src/molecules/trending-pillet/index.tsx +48 -0
- package/src/components/src/molecules/variant-item-selector/index.tsx +171 -0
- package/src/components/src/molecules/variant-selector-2/index.tsx +669 -0
- package/src/components/src/molecules/variant-selector-3/default-color-item.tsx +120 -0
- package/src/components/src/molecules/variant-selector-3/default-shopify-color.tsx +167 -0
- package/src/components/src/molecules/variant-selector-3/default-variant-image.tsx +82 -0
- package/src/components/src/molecules/variant-selector-3/index.tsx +114 -0
- package/src/components/src/molecules/variant-selector-3/option-items.tsx +171 -0
- package/src/components/src/molecules/variant-selector-3/option-list.tsx +86 -0
- package/src/components/src/molecules/variant-selector-3/option.tsx +42 -0
- package/src/components/src/molecules/variant-selector-3/utils.ts +131 -0
- package/src/components/src/molecules/variant-selector-3/variant-heading.tsx +162 -0
- package/src/components/src/molecules/variant-selector-3/variant-options.tsx +201 -0
- package/src/components/src/molecules/variant-selector-modal/index.tsx +127 -0
- package/src/components/src/molecules/variant-selector-type/index.tsx +235 -0
- package/src/components/src/molecules/video-carousel-item/index.tsx +183 -0
- package/src/components/src/molecules/video-carousel-item/product-list.tsx +258 -0
- package/src/components/src/molecules/video-carousel-item/product-list.web.tsx +197 -0
- package/src/components/src/molecules/way-to-reward-card/index.tsx +236 -0
- package/src/components/src/molecules/way-to-reward-card/index.web.tsx +188 -0
- package/src/components/src/molecules/web-view-auto-height/index.tsx +28 -0
- package/src/components/src/molecules/wishlist/add-to-wishlist-v2.tsx +144 -0
- package/src/components/src/molecules/wishlist/add-to-wishlist.tsx +136 -0
- package/src/components/src/molecules/wishlist/index.ts +1 -0
- package/src/components/src/molecules/wishlist/move-to-cart.tsx +57 -0
- package/src/components/src/molecules/wishlist/remove-from-wishlist.tsx +40 -0
- package/src/components/src/molecules/youtube-video/index.tsx +54 -0
- package/src/components/src/molecules/youtube-video/index.web.tsx +44 -0
- package/src/components/src/organisms/a1-accordion/index.tsx +93 -0
- package/src/components/src/organisms/a1-accordion/index.web.tsx +82 -0
- package/src/components/src/organisms/a1-accordion-image/index.tsx +97 -0
- package/src/components/src/organisms/a1-collection-image-banner/index.tsx +84 -0
- package/src/components/src/organisms/a1-collection-image-banner/index.web.tsx +23 -0
- package/src/components/src/organisms/a1-generic-metafield-accordion/index.tsx +90 -0
- package/src/components/src/organisms/a1-generic-metafield-accordion/index.web.tsx +10 -0
- package/src/components/src/organisms/a1-image-banner/index.tsx +86 -0
- package/src/components/src/organisms/a1-image-list/index.tsx +99 -0
- package/src/components/src/organisms/a1-product-description-html/index.tsx +137 -0
- package/src/components/src/organisms/a1-product-description-html/index.web.tsx +90 -0
- package/src/components/src/organisms/a1-product-grid/index.tsx +60 -0
- package/src/components/src/organisms/a1-product-list/index.tsx +92 -0
- package/src/components/src/organisms/accordion-image/index.tsx +68 -0
- package/src/components/src/organisms/add-address/index.tsx +62 -0
- package/src/components/src/organisms/add-review/index.tsx +190 -0
- package/src/components/src/organisms/add-to-bundle/index.tsx +44 -0
- package/src/components/src/organisms/add-to-cart-bar/add-to-card-bar.tsx +115 -0
- package/src/components/src/organisms/add-to-cart-bar/index.tsx +1 -0
- package/src/components/src/organisms/add-to-cart-bar/v2.tsx +205 -0
- package/src/components/src/organisms/add-to-cart-bar/wrapper.tsx +44 -0
- package/src/components/src/organisms/add-to-wishlist-bar/index.tsx +96 -0
- package/src/components/src/organisms/address-form/index.tsx +511 -0
- package/src/components/src/organisms/address-form-input-field/index.tsx +375 -0
- package/src/components/src/organisms/address-list/index.tsx +154 -0
- package/src/components/src/organisms/announcement-carousel/index.tsx +207 -0
- package/src/components/src/organisms/announcement-carousel/index.web.tsx +73 -0
- package/src/components/src/organisms/announcement-ticker/index.tsx +247 -0
- package/src/components/src/organisms/announcement-ticker/index.web.tsx +169 -0
- package/src/components/src/organisms/apply-coupon/index.tsx +395 -0
- package/src/components/src/organisms/apply-coupon-v2/applied-coupon-card.tsx +84 -0
- package/src/components/src/organisms/apply-coupon-v2/available-coupons.tsx +123 -0
- package/src/components/src/organisms/apply-coupon-v2/coupon-svg-bg.tsx +25 -0
- package/src/components/src/organisms/apply-coupon-v2/index.tsx +367 -0
- package/src/components/src/organisms/blog-list/blog-data.tsx +268 -0
- package/src/components/src/organisms/blog-list/blog-item.tsx +70 -0
- package/src/components/src/organisms/blog-list/empty-blog-list.tsx +42 -0
- package/src/components/src/organisms/blog-list/index.tsx +102 -0
- package/src/components/src/organisms/blog-list/index.web.tsx +92 -0
- package/src/components/src/organisms/brew-collection-image-banner/index.tsx +96 -0
- package/src/components/src/organisms/bundle-bar/index.tsx +128 -0
- package/src/components/src/organisms/bundle-filter-bar/index.tsx +114 -0
- package/src/components/src/organisms/bundle-items-modal/index.tsx +140 -0
- package/src/components/src/organisms/bundle-list/index.tsx +65 -0
- package/src/components/src/organisms/buy-now-bar/index.tsx +79 -0
- package/src/components/src/organisms/carousel-with-background-blur/carousel.tsx +393 -0
- package/src/components/src/organisms/carousel-with-background-blur/carousel.web.tsx +179 -0
- package/src/components/src/organisms/carousel-with-background-blur/index.tsx +90 -0
- package/src/components/src/organisms/carousel-with-background-blur/index.web.tsx +73 -0
- package/src/components/src/organisms/carousel-with-background-blur/indicator.tsx +144 -0
- package/src/components/src/organisms/cart-custom-attributes/index.tsx +103 -0
- package/src/components/src/organisms/cart-goal/index.tsx +116 -0
- package/src/components/src/organisms/cart-goals/index.tsx +2 -0
- package/src/components/src/organisms/cart-goals/milestones.tsx +233 -0
- package/src/components/src/organisms/cart-goals/progress-bar.tsx +214 -0
- package/src/components/src/organisms/cart-list/cart-item.tsx +0 -0
- package/src/components/src/organisms/cart-list/empty-cart.tsx +113 -0
- package/src/components/src/organisms/cart-list/index.tsx +271 -0
- package/src/components/src/organisms/cart-payment-web-view/index.tsx +213 -0
- package/src/components/src/organisms/categories-navigation/index.tsx +168 -0
- package/src/components/src/organisms/change-address/index.tsx +512 -0
- package/src/components/src/organisms/change-address-v2/index.tsx +223 -0
- package/src/components/src/organisms/change-password/index.tsx +231 -0
- package/src/components/src/organisms/chips-navigation/index.tsx +41 -0
- package/src/components/src/organisms/chips-navigation/index.web.tsx +69 -0
- package/src/components/src/organisms/chips-navigation-accordion/index.tsx +47 -0
- package/src/components/src/organisms/collection-list/index.tsx +74 -0
- package/src/components/src/organisms/collection-list-background/index.tsx +99 -0
- package/src/components/src/organisms/color-image/index.tsx +79 -0
- package/src/components/src/organisms/color-swatch-group/index.tsx +141 -0
- package/src/components/src/organisms/confirm-dialog/index.tsx +34 -0
- package/src/components/src/organisms/countdown-banner/common.tsx +263 -0
- package/src/components/src/organisms/countdown-banner/index.tsx +143 -0
- package/src/components/src/organisms/countdown-banner/index.web.tsx +176 -0
- package/src/components/src/organisms/countdown-banner/types.tsx +29 -0
- package/src/components/src/organisms/currency-selector/index.tsx +39 -0
- package/src/components/src/organisms/delete-account/index.tsx +93 -0
- package/src/components/src/organisms/delete-account-privacy/index.tsx +39 -0
- package/src/components/src/organisms/delivery-details/index.tsx +157 -0
- package/src/components/src/organisms/discount-code-input/index.tsx +152 -0
- package/src/components/src/organisms/divider-heading/index.tsx +51 -0
- package/src/components/src/organisms/edit-address/index.tsx +53 -0
- package/src/components/src/organisms/empty-screen/index.tsx +74 -0
- package/src/components/src/organisms/empty-screen-v2/index.tsx +26 -0
- package/src/components/src/organisms/empty-searches/index.tsx +96 -0
- package/src/components/src/organisms/estimated-delivery-date/dates-mapping.ts +23 -0
- package/src/components/src/organisms/estimated-delivery-date/index.tsx +141 -0
- package/src/components/src/organisms/faqs/defaults.ts +65 -0
- package/src/components/src/organisms/faqs/index.tsx +51 -0
- package/src/components/src/organisms/faqs/index.web.tsx +64 -0
- package/src/components/src/organisms/follow-us/index.tsx +58 -0
- package/src/components/src/organisms/forgot-password/index.tsx +228 -0
- package/src/components/src/organisms/free-engraving/index.tsx +180 -0
- package/src/components/src/organisms/gift-items-list/index.tsx +98 -0
- package/src/components/src/organisms/gift-wrap-list/custom-attributes-form.tsx +77 -0
- package/src/components/src/organisms/gift-wrap-list/gift-wrap-item.tsx +133 -0
- package/src/components/src/organisms/gift-wrap-list/index.tsx +72 -0
- package/src/components/src/organisms/goto-button/index.tsx +53 -0
- package/src/components/src/organisms/goto-button/index.web.tsx +46 -0
- package/src/components/src/organisms/goto-button-v2/index.tsx +58 -0
- package/src/components/src/organisms/horizontal-tabs-menu/defaults.ts +797 -0
- package/src/components/src/organisms/horizontal-tabs-menu/index.tsx +79 -0
- package/src/components/src/organisms/icon-list/index.tsx +150 -0
- package/src/components/src/organisms/image-banner/index.tsx +158 -0
- package/src/components/src/organisms/image-collage/constants.ts +8 -0
- package/src/components/src/organisms/image-collage/index.tsx +147 -0
- package/src/components/src/organisms/image-collage/variants.common.ts +415 -0
- package/src/components/src/organisms/image-collage/variants.ts +129 -0
- package/src/components/src/organisms/image-collage/variants.web.ts +119 -0
- package/src/components/src/organisms/image-compare-block/index.tsx +48 -0
- package/src/components/src/organisms/image-list/index.tsx +427 -0
- package/src/components/src/organisms/image-list/utils.tsx +8 -0
- package/src/components/src/organisms/image-list/utils.web.tsx +6 -0
- package/src/components/src/organisms/image-list-accordion/index.tsx +47 -0
- package/src/components/src/organisms/image-marquee/index.tsx +178 -0
- package/src/components/src/organisms/image-marquee/index.web.tsx +190 -0
- package/src/components/src/organisms/image-marquee/types.ts +14 -0
- package/src/components/src/organisms/image-preview/index.tsx +51 -0
- package/src/components/src/organisms/image-video-reel/carouse-item.tsx +348 -0
- package/src/components/src/organisms/image-video-reel/carouse-item.web.tsx +318 -0
- package/src/components/src/organisms/image-video-reel/index.tsx +359 -0
- package/src/components/src/organisms/image-video-reel/indicator.tsx +116 -0
- package/src/components/src/organisms/image-video-reel/indicator.web.tsx +80 -0
- package/src/components/src/organisms/image-video-reel/types.ts +103 -0
- package/src/components/src/organisms/infinite-product-grid/index.tsx +218 -0
- package/src/components/src/organisms/infinite-product-grid/index.web.tsx +105 -0
- package/src/components/src/organisms/infinite-product-grid-v2/index.tsx +163 -0
- package/src/components/src/organisms/judgeme-reviews/index.tsx +129 -0
- package/src/components/src/organisms/judgeme-reviews/utils.ts +77 -0
- package/src/components/src/organisms/last-order/index.tsx +40 -0
- package/src/components/src/organisms/metafield-image-compare-block/hook.tsx +119 -0
- package/src/components/src/organisms/metafield-image-compare-block/index.tsx +59 -0
- package/src/components/src/organisms/metafield-product-list/index.tsx +114 -0
- package/src/components/src/organisms/metafield-rich-text/index.tsx +101 -0
- package/src/components/src/organisms/metafield-rich-text/metafield-accordian.tsx +51 -0
- package/src/components/src/organisms/metafield-rich-text/metafield-accordian.web.tsx +55 -0
- package/src/components/src/organisms/metafield-size-chart-page/index.tsx +86 -0
- package/src/components/src/organisms/metafield-tag-block/index.tsx +28 -0
- package/src/components/src/organisms/metafield-text/index.tsx +87 -0
- package/src/components/src/organisms/metafields-product-group/index.tsx +89 -0
- package/src/components/src/organisms/more-menu/index.tsx +64 -0
- package/src/components/src/organisms/move-to-wishlist/index.tsx +79 -0
- package/src/components/src/organisms/multi-level-menu/index.tsx +54 -0
- package/src/components/src/organisms/opinew-reviews/index.tsx +102 -0
- package/src/components/src/organisms/opinew-reviews/utils.tsx +55 -0
- package/src/components/src/organisms/order-cancel/index.tsx +63 -0
- package/src/components/src/organisms/order-details-header/index.tsx +78 -0
- package/src/components/src/organisms/order-details-webview/index.tsx +47 -0
- package/src/components/src/organisms/order-list/index.tsx +458 -0
- package/src/components/src/organisms/order-payment-details/index.tsx +90 -0
- package/src/components/src/organisms/order-product-list/index.tsx +79 -0
- package/src/components/src/organisms/order-product-list-v2/index.tsx +158 -0
- package/src/components/src/organisms/otp-signup/index.tsx +186 -0
- package/src/components/src/organisms/past-searches/index.tsx +202 -0
- package/src/components/src/organisms/payment-confirmation/index.tsx +177 -0
- package/src/components/src/organisms/payment-details/index.tsx +264 -0
- package/src/components/src/organisms/payment-success/index.tsx +49 -0
- package/src/components/src/organisms/payment-web-view/index.tsx +285 -0
- package/src/components/src/organisms/payment-web-view-v4/index.tsx +600 -0
- package/src/components/src/organisms/pdp/index.tsx +168 -0
- package/src/components/src/organisms/pdp/index.web.tsx +60 -0
- package/src/components/src/organisms/pdp-description/index.tsx +104 -0
- package/src/components/src/organisms/pdp-description-native/index.tsx +63 -0
- package/src/components/src/organisms/pdp-description-native/index.web.tsx +11 -0
- package/src/components/src/organisms/pdp-metafield-video/index.tsx +153 -0
- package/src/components/src/organisms/popup-modal/index.tsx +129 -0
- package/src/components/src/organisms/previously-ordered-products/index.tsx +105 -0
- package/src/components/src/organisms/product-discount/common.tsx +123 -0
- package/src/components/src/organisms/product-discount/coupon-card.tsx +125 -0
- package/src/components/src/organisms/product-discount/defaults.ts +136 -0
- package/src/components/src/organisms/product-discount/empty-coupons.tsx +4 -0
- package/src/components/src/organisms/product-discount/empty-coupons.web.tsx +11 -0
- package/src/components/src/organisms/product-discount/index.tsx +228 -0
- package/src/components/src/organisms/product-discount/types.tsx +28 -0
- package/src/components/src/organisms/product-grid/index.tsx +86 -0
- package/src/components/src/organisms/product-hotspot/animated-circle.tsx +88 -0
- package/src/components/src/organisms/product-hotspot/animated-circle.web.tsx +55 -0
- package/src/components/src/organisms/product-hotspot/index.tsx +255 -0
- package/src/components/src/organisms/product-hotspot/item.tsx +124 -0
- package/src/components/src/organisms/product-hotspot/modal-body.tsx +50 -0
- package/src/components/src/organisms/product-hotspot/product-card.tsx +111 -0
- package/src/components/src/organisms/product-info/index.tsx +421 -0
- package/src/components/src/organisms/product-info/wrapper.tsx +15 -0
- package/src/components/src/organisms/product-info/wrapper.web.tsx +15 -0
- package/src/components/src/organisms/product-list/index.tsx +104 -0
- package/src/components/src/organisms/product-list/index.web.tsx +110 -0
- package/src/components/src/organisms/product-list/product-list.schema.ts +816 -0
- package/src/components/src/organisms/product-refresh/index.tsx +19 -0
- package/src/components/src/organisms/product-size-chart-v2/index.tsx +49 -0
- package/src/components/src/organisms/product-summary/index.tsx +1 -0
- package/src/components/src/organisms/product-summary/product-summary.tsx +253 -0
- package/src/components/src/organisms/product-summary/wrapper.tsx +36 -0
- package/src/components/src/organisms/profile/index.tsx +238 -0
- package/src/components/src/organisms/profile-2/index.tsx +254 -0
- package/src/components/src/organisms/profile-edit/constants.ts +74 -0
- package/src/components/src/organisms/profile-edit/index.tsx +802 -0
- package/src/components/src/organisms/profile-edit/styles.ts +371 -0
- package/src/components/src/organisms/profile-edit/types.ts +120 -0
- package/src/components/src/organisms/profile-edit/utils.ts +362 -0
- package/src/components/src/organisms/profile-menu/index.tsx +65 -0
- package/src/components/src/organisms/profile-signed-out/index.tsx +72 -0
- package/src/components/src/organisms/profile-signedout-v2/index.tsx +36 -0
- package/src/components/src/organisms/profile-signout/index.tsx +65 -0
- package/src/components/src/organisms/profile-user-greeting/index.tsx +113 -0
- package/src/components/src/organisms/promo-banner/PromoBanner.tsx +0 -0
- package/src/components/src/organisms/promo-banner/index.ts +0 -0
- package/src/components/src/organisms/promo-block/index.tsx +69 -0
- package/src/components/src/organisms/promo-carousel/index.tsx +101 -0
- package/src/components/src/organisms/promo-carousel/index.web.tsx +85 -0
- package/src/components/src/organisms/push-inbox/index.tsx +392 -0
- package/src/components/src/organisms/push-inbox/utils.ts +94 -0
- package/src/components/src/organisms/push-notification-prompt-button/index.tsx +45 -0
- package/src/components/src/organisms/push-notification-settings-block/index.tsx +119 -0
- package/src/components/src/organisms/quantity-selector-block/index.tsx +54 -0
- package/src/components/src/organisms/recent-order/addressSelector.tsx +88 -0
- package/src/components/src/organisms/recent-order/index.tsx +51 -0
- package/src/components/src/organisms/recent-order/paymentDetails.tsx +68 -0
- package/src/components/src/organisms/recently-viewed-products/index.tsx +92 -0
- package/src/components/src/organisms/recently-viewed-products/index.web.tsx +110 -0
- package/src/components/src/organisms/reels/index.tsx +467 -0
- package/src/components/src/organisms/reels/index.web.tsx +345 -0
- package/src/components/src/organisms/requires-auth/index.tsx +16 -0
- package/src/components/src/organisms/reset-password/index.tsx +140 -0
- package/src/components/src/organisms/review-bar/index.tsx +39 -0
- package/src/components/src/organisms/rewards-history/index.tsx +105 -0
- package/src/components/src/organisms/rewards-summary/index.tsx +146 -0
- package/src/components/src/organisms/rewards-summary-old/index.tsx +130 -0
- package/src/components/src/organisms/search-bar/index.tsx +34 -0
- package/src/components/src/organisms/search-product-list/index.tsx +31 -0
- package/src/components/src/organisms/search-recommendations/index.tsx +66 -0
- package/src/components/src/organisms/search-suggestions/index.tsx +194 -0
- package/src/components/src/organisms/search-suggestions-v2/collection-suggestions.tsx +61 -0
- package/src/components/src/organisms/search-suggestions-v2/index.tsx +91 -0
- package/src/components/src/organisms/search-suggestions-v2/page-suggestions.tsx +85 -0
- package/src/components/src/organisms/search-suggestions-v2/product-suggestions.tsx +174 -0
- package/src/components/src/organisms/search-suggestions-v2/search-term-suggestions.tsx +62 -0
- package/src/components/src/organisms/search-suggestions-v2/suggestion.tsx +100 -0
- package/src/components/src/organisms/shipping-address/index.tsx +59 -0
- package/src/components/src/organisms/shop-policy/index.tsx +93 -0
- package/src/components/src/organisms/shop-policy/index.web.tsx +12 -0
- package/src/components/src/organisms/shopify-customer-auth-webview/index.tsx +207 -0
- package/src/components/src/organisms/shopify-customer-payment-web-view/index.tsx +603 -0
- package/src/components/src/organisms/shopify-reviews/index.tsx +52 -0
- package/src/components/src/organisms/shopify-reviews/utils.ts +27 -0
- package/src/components/src/organisms/shopify-rich-text-block/index.tsx +60 -0
- package/src/components/src/organisms/shopify-store-credits/index.tsx +369 -0
- package/src/components/src/organisms/sign-in/index.tsx +242 -0
- package/src/components/src/organisms/sign-in-v2/index.tsx +282 -0
- package/src/components/src/organisms/sign-in-v3/index.tsx +259 -0
- package/src/components/src/organisms/sign-up/index.tsx +251 -0
- package/src/components/src/organisms/sign-up-v2/index.tsx +267 -0
- package/src/components/src/organisms/signin-modal/continue-as-guest.tsx +46 -0
- package/src/components/src/organisms/signin-modal/index.tsx +113 -0
- package/src/components/src/organisms/signup-modal/index.tsx +61 -0
- package/src/components/src/organisms/simpl-pay-block/index.tsx +84 -0
- package/src/components/src/organisms/single-level-navigation/index.tsx +91 -0
- package/src/components/src/organisms/snapmint-pay-block/index.tsx +173 -0
- package/src/components/src/organisms/spacer/index.tsx +17 -0
- package/src/components/src/organisms/subscription/index.tsx +52 -0
- package/src/components/src/organisms/subscription/subscription.tsx +226 -0
- package/src/components/src/organisms/subscription-selector-dropdown/extra-info.tsx +53 -0
- package/src/components/src/organisms/subscription-selector-dropdown/index.tsx +30 -0
- package/src/components/src/organisms/subscription-selector-dropdown/more-price-info.tsx +38 -0
- package/src/components/src/organisms/subscription-selector-dropdown/one-time-plan.tsx +85 -0
- package/src/components/src/organisms/subscription-selector-dropdown/purchase-plans.tsx +60 -0
- package/src/components/src/organisms/subscription-selector-dropdown/selling-plan-options.tsx +132 -0
- package/src/components/src/organisms/subscription-selector-dropdown/subscription-option-label.tsx +91 -0
- package/src/components/src/organisms/subscription-selector-dropdown/subscription.tsx +27 -0
- package/src/components/src/organisms/subscription-selector-dropdown/susbcription-plan.tsx +126 -0
- package/src/components/src/organisms/tabbed-product-collection/index.tsx +263 -0
- package/src/components/src/organisms/tabbed-product-collection/index.web.tsx +270 -0
- package/src/components/src/organisms/tag-redirect-product-images/index.tsx +203 -0
- package/src/components/src/organisms/tagged-page-size-chart/index.tsx +76 -0
- package/src/components/src/organisms/tagged-pdp-content/index.tsx +72 -0
- package/src/components/src/organisms/tagged-plp-content/index.tsx +67 -0
- package/src/components/src/organisms/tagged-rich-text/index.tsx +58 -0
- package/src/components/src/organisms/tagged-rich-text/index.web.tsx +25 -0
- package/src/components/src/organisms/tailored-variant-form/index.tsx +497 -0
- package/src/components/src/organisms/testimonials/Testimonials.tsx +45 -0
- package/src/components/src/organisms/testimonials/index.tsx +45 -0
- package/src/components/src/organisms/total-savings/index.tsx +50 -0
- package/src/components/src/organisms/trending-products/index.tsx +84 -0
- package/src/components/src/organisms/trending-searches/index.tsx +125 -0
- package/src/components/src/organisms/two-level-navigation/index.tsx +80 -0
- package/src/components/src/organisms/upsell-product-list/index.tsx +247 -0
- package/src/components/src/organisms/variant-carousel/index.tsx +121 -0
- package/src/components/src/organisms/variant-selector-modal-block/index.tsx +126 -0
- package/src/components/src/organisms/variant-selector-subscriptions/index.tsx +106 -0
- package/src/components/src/organisms/variantSelector/index.tsx +69 -0
- package/src/components/src/organisms/vertical-tabs-menu/defaults.ts +526 -0
- package/src/components/src/organisms/vertical-tabs-menu/index.tsx +61 -0
- package/src/components/src/organisms/video-banner/index.tsx +140 -0
- package/src/components/src/organisms/video-banner/index.web.tsx +123 -0
- package/src/components/src/organisms/video-banner-v2/index.tsx +188 -0
- package/src/components/src/organisms/video-carousel/index.tsx +404 -0
- package/src/components/src/organisms/video-carousel/index.web.tsx +357 -0
- package/src/components/src/organisms/video-carousel/video-carousel-item/index.tsx +277 -0
- package/src/components/src/organisms/video-carousel/video-carousel-item/product-list.tsx +257 -0
- package/src/components/src/organisms/video-carousel/video-carousel-item/product-list.web.tsx +197 -0
- package/src/components/src/organisms/video-list/index.tsx +103 -0
- package/src/components/src/organisms/view-coupons/discount-amount.tsx +48 -0
- package/src/components/src/organisms/view-coupons/index.tsx +137 -0
- package/src/components/src/organisms/view-coupons-v2/index.tsx +174 -0
- package/src/components/src/organisms/view-coupons-v2/savings-banner.tsx +100 -0
- package/src/components/src/organisms/web-view/index.tsx +281 -0
- package/src/components/src/organisms/web-view/index.web.tsx +61 -0
- package/src/components/src/organisms/wishlist/index.tsx +224 -0
- package/src/components/src/organisms/wishlist-v2/index.tsx +95 -0
- package/src/components/src/organisms/wishlisted-items/index.tsx +95 -0
- package/src/components/src/organisms/youtube-embed/index.tsx +41 -0
- package/src/components/src/registry.ts +2 -0
- package/src/components/src/style-utils.ts +441 -0
- package/src/components/src/utils.ts +252 -0
- package/src/components/test-setup.ts +1 -0
- package/src/container-registry/babel.config.js +3 -0
- package/src/container-registry/src/common.tsx +16 -0
- package/src/container-registry/src/index.ts +1 -0
- package/src/container-registry/src/register.tsx +27 -0
- package/src/container-registry/src/register.web.tsx +16 -0
- package/src/container-registry/test-setup.ts +1 -0
- package/src/containers/src/a1-tabbed-block-list/index.tsx +115 -0
- package/src/containers/src/accordion-container/index.tsx +72 -0
- package/src/containers/src/index.ts +0 -0
- package/src/containers/src/rules-container/index.tsx +88 -0
- package/src/containers/src/tabbed-block-list/index.tsx +81 -0
- package/src/containers/src/tabbed-screen-container/index.tsx +51 -0
- package/src/containers/test-setup.ts +1 -0
- package/src/cookie-manager/src/cookie.ts +16 -0
- package/src/cookie-manager/src/cookie.web.ts +5 -0
- package/src/cookie-manager/src/index.ts +1 -0
- package/src/cookie-manager/test-setup.ts +1 -0
- package/src/discount/src/gift.ts +182 -0
- package/src/discount/src/index.ts +1 -0
- package/src/discount/src/utils.ts +164 -0
- package/src/discount/test-setup.ts +1 -0
- package/src/enhanced-fetch/src/enhanced-fetch-tests.js +711 -0
- package/src/enhanced-fetch/src/index.ts +245 -0
- package/src/event-emitter/src/index.ts +38 -0
- package/src/firebase/src/index.ts +2 -0
- package/src/firebase/src/lib/analytics.ts +33 -0
- package/src/firebase/src/lib/analyticsV2.ts +61 -0
- package/src/icons/src/declarations.d.ts +6 -0
- package/src/icons/src/icon-registry.tsx +81 -0
- package/src/icons/src/icon-registry.web.tsx +81 -0
- package/src/icons/src/icon-set.tsx +455 -0
- package/src/icons/src/index.ts +4 -0
- package/src/icons/src/remote-icon.tsx +46 -0
- package/src/icons/src/remote-icon.web.tsx +25 -0
- package/src/icons/src/remote-image-icon.tsx +66 -0
- package/src/icons/src/remote-image-icon.web.tsx +31 -0
- package/src/icons/src/svgs/account.tsx +17 -0
- package/src/icons/src/svgs/add-to-cart.tsx +49 -0
- package/src/icons/src/svgs/address.tsx +26 -0
- package/src/icons/src/svgs/afterpay.tsx +110 -0
- package/src/icons/src/svgs/apple.tsx +19 -0
- package/src/icons/src/svgs/back.tsx +10 -0
- package/src/icons/src/svgs/badge.tsx +19 -0
- package/src/icons/src/svgs/bag.tsx +27 -0
- package/src/icons/src/svgs/cake.tsx +13 -0
- package/src/icons/src/svgs/calendar.tsx +20 -0
- package/src/icons/src/svgs/cancel.tsx +20 -0
- package/src/icons/src/svgs/cart-cancel.tsx +35 -0
- package/src/icons/src/svgs/cart.tsx +14 -0
- package/src/icons/src/svgs/categories.tsx +13 -0
- package/src/icons/src/svgs/checked.tsx +18 -0
- package/src/icons/src/svgs/checkedCircle.tsx +26 -0
- package/src/icons/src/svgs/chevron-down.tsx +26 -0
- package/src/icons/src/svgs/chevron-left.tsx +13 -0
- package/src/icons/src/svgs/chevron-right.tsx +19 -0
- package/src/icons/src/svgs/chevron-up.tsx +27 -0
- package/src/icons/src/svgs/chevron.tsx +35 -0
- package/src/icons/src/svgs/circled-arrow.tsx +29 -0
- package/src/icons/src/svgs/clear.tsx +35 -0
- package/src/icons/src/svgs/clipboard.tsx +23 -0
- package/src/icons/src/svgs/close.tsx +26 -0
- package/src/icons/src/svgs/collection.tsx +32 -0
- package/src/icons/src/svgs/copy.tsx +31 -0
- package/src/icons/src/svgs/coupon-icon.tsx +23 -0
- package/src/icons/src/svgs/coupon.tsx +35 -0
- package/src/icons/src/svgs/crate.tsx +13 -0
- package/src/icons/src/svgs/cross.tsx +21 -0
- package/src/icons/src/svgs/deals.tsx +26 -0
- package/src/icons/src/svgs/discount.tsx +42 -0
- package/src/icons/src/svgs/dollar.tsx +33 -0
- package/src/icons/src/svgs/error.tsx +35 -0
- package/src/icons/src/svgs/eye.tsx +33 -0
- package/src/icons/src/svgs/eyeOff.tsx +35 -0
- package/src/icons/src/svgs/facebook.tsx +31 -0
- package/src/icons/src/svgs/favorite.tsx +79 -0
- package/src/icons/src/svgs/filter.tsx +24 -0
- package/src/icons/src/svgs/fragrances.tsx +55 -0
- package/src/icons/src/svgs/gift.tsx +23 -0
- package/src/icons/src/svgs/gifts.tsx +38 -0
- package/src/icons/src/svgs/goal-discount-filled.tsx +21 -0
- package/src/icons/src/svgs/goal-discount.tsx +24 -0
- package/src/icons/src/svgs/goal-locked.tsx +21 -0
- package/src/icons/src/svgs/goal-unlocked.tsx +34 -0
- package/src/icons/src/svgs/google-colorful.tsx +38 -0
- package/src/icons/src/svgs/google.tsx +28 -0
- package/src/icons/src/svgs/grooming.tsx +22 -0
- package/src/icons/src/svgs/hamburger.tsx +30 -0
- package/src/icons/src/svgs/heart.tsx +30 -0
- package/src/icons/src/svgs/help.tsx +22 -0
- package/src/icons/src/svgs/history.tsx +26 -0
- package/src/icons/src/svgs/home.tsx +21 -0
- package/src/icons/src/svgs/homes.svg +4 -0
- package/src/icons/src/svgs/info.tsx +19 -0
- package/src/icons/src/svgs/inline-error-icon.tsx +13 -0
- package/src/icons/src/svgs/inline-success-icon-double-checkmarks.tsx +15 -0
- package/src/icons/src/svgs/instagram.tsx +17 -0
- package/src/icons/src/svgs/lock.tsx +15 -0
- package/src/icons/src/svgs/mail.tsx +30 -0
- package/src/icons/src/svgs/mins.tsx +21 -0
- package/src/icons/src/svgs/minus.tsx +19 -0
- package/src/icons/src/svgs/more.tsx +13 -0
- package/src/icons/src/svgs/notification-bell.tsx +44 -0
- package/src/icons/src/svgs/notifications.tsx +21 -0
- package/src/icons/src/svgs/offers.tsx +11 -0
- package/src/icons/src/svgs/order-history.tsx +19 -0
- package/src/icons/src/svgs/order.tsx +32 -0
- package/src/icons/src/svgs/package-check.tsx +30 -0
- package/src/icons/src/svgs/pause.tsx +17 -0
- package/src/icons/src/svgs/pencil.tsx +17 -0
- package/src/icons/src/svgs/percent-circle.tsx +30 -0
- package/src/icons/src/svgs/play.tsx +13 -0
- package/src/icons/src/svgs/plus.tsx +12 -0
- package/src/icons/src/svgs/privacy.tsx +15 -0
- package/src/icons/src/svgs/product.tsx +14 -0
- package/src/icons/src/svgs/profile-circle.tsx +16 -0
- package/src/icons/src/svgs/profile-permission.tsx +17 -0
- package/src/icons/src/svgs/profile-tab-icon.tsx +11 -0
- package/src/icons/src/svgs/profile.tsx +16 -0
- package/src/icons/src/svgs/reward.tsx +22 -0
- package/src/icons/src/svgs/rewards.tsx +15 -0
- package/src/icons/src/svgs/sad-emoji.tsx +30 -0
- package/src/icons/src/svgs/search.tsx +31 -0
- package/src/icons/src/svgs/share.tsx +28 -0
- package/src/icons/src/svgs/shipping.tsx +20 -0
- package/src/icons/src/svgs/signout.tsx +15 -0
- package/src/icons/src/svgs/signup.tsx +26 -0
- package/src/icons/src/svgs/snap-mint.tsx +49 -0
- package/src/icons/src/svgs/sort.tsx +12 -0
- package/src/icons/src/svgs/speakerOff.tsx +40 -0
- package/src/icons/src/svgs/speakerOn.tsx +20 -0
- package/src/icons/src/svgs/stars.tsx +36 -0
- package/src/icons/src/svgs/success.tsx +21 -0
- package/src/icons/src/svgs/tag.tsx +25 -0
- package/src/icons/src/svgs/thumbs-up-outlined.tsx +36 -0
- package/src/icons/src/svgs/thumbs-up.tsx +11 -0
- package/src/icons/src/svgs/tick.tsx +23 -0
- package/src/icons/src/svgs/trash.tsx +21 -0
- package/src/icons/src/svgs/trending.tsx +36 -0
- package/src/icons/src/svgs/truck.tsx +30 -0
- package/src/icons/src/svgs/truecaller.tsx +44 -0
- package/src/icons/src/svgs/types.ts +0 -0
- package/src/icons/src/svgs/unchecked.tsx +13 -0
- package/src/icons/src/svgs/verified.tsx +23 -0
- package/src/icons/src/svgs/video-play.tsx +12 -0
- package/src/icons/src/svgs/volume-off.tsx +18 -0
- package/src/icons/src/svgs/volume.tsx +18 -0
- package/src/icons/src/svgs/way.tsx +14 -0
- package/src/icons/src/svgs/youtube.tsx +26 -0
- package/src/icons/src/utils.ts +53 -0
- package/src/icons/test-setup.ts +1 -0
- package/src/integrations/appbrew/analytics/app-users.ts +107 -0
- package/src/integrations/appbrew/analytics/config.dev.ts +10 -0
- package/src/integrations/appbrew/analytics/config.ts +10 -0
- package/src/integrations/appbrew/analytics/tracker.ts +136 -0
- package/src/integrations/appbrew/analytics/trackerV2.ts +154 -0
- package/src/integrations/appbrew/analytics/utils.ts +9 -0
- package/src/integrations/appbrew/analytics/webhook-tracker.ts +203 -0
- package/src/integrations/appbrew/currency/index.ts +1 -0
- package/src/integrations/appbrew/currency/provider.ts +211 -0
- package/src/integrations/appbrew/estimated-delivery-date/blocks/estimated-delivery-date.tsx +229 -0
- package/src/integrations/appbrew/estimated-delivery-date/index.ts +2 -0
- package/src/integrations/appbrew/estimated-delivery-date/provider.ts +45 -0
- package/src/integrations/appbrew/native-wishlist/src/index.ts +1 -0
- package/src/integrations/appbrew/native-wishlist/src/provider.ts +88 -0
- package/src/integrations/appbrew/src/index.ts +7 -0
- package/src/integrations/appbrew/src/lib/integrations-appbrew.spec.ts +7 -0
- package/src/integrations/appbrew/src/lib/integrations-appbrew.ts +3 -0
- package/src/integrations/color-swatch/src/index.ts +7 -0
- package/src/integrations/firebase-push/src/index.ts +1 -0
- package/src/integrations/firebase-push/src/push.ts +279 -0
- package/src/integrations/firebase-push/src/push.web.ts +15 -0
- package/src/integrations/gift/src/gift.ts +137 -0
- package/src/integrations/gift/src/index.ts +1 -0
- package/src/integrations/truefit/src/blocks/index.ts +1 -0
- package/src/integrations/truefit/src/blocks/truefit-widget.tsx +136 -0
- package/src/integrations/truefit/src/components/TfApp.tsx +159 -0
- package/src/integrations/truefit/src/components/TfWidget.tsx +241 -0
- package/src/integrations/truefit/src/constants.ts +5 -0
- package/src/integrations/truefit/src/index.ts +13 -0
- package/src/integrations/truefit/src/managers/authManager.ts +140 -0
- package/src/integrations/truefit/src/managers/messageManager.ts +122 -0
- package/src/integrations/truefit/src/managers/tokenManager.ts +52 -0
- package/src/integrations/truefit/src/orderApi.ts +43 -0
- package/src/integrations/truefit/src/register-blocks.ts +5 -0
- package/src/integrations/truefit/src/util/useWidgetEvent.ts +29 -0
- package/src/integrations/truefit/src/util/widgetEvents.ts +17 -0
- package/src/local-storage/src/icon-storage.ts +26 -0
- package/src/local-storage/src/index.ts +2 -0
- package/src/local-storage/src/storage.ts +56 -0
- package/src/local-storage/src/storage.web.ts +75 -0
- package/src/module-provider/src/index.ts +1 -0
- package/src/module-provider/src/module-provider.tsx +27 -0
- package/src/module-provider/src/provider.ts +0 -0
- package/src/okendo/src/blocks/components-v2.tsx +342 -0
- package/src/okendo/src/blocks/components-v2.types.ts +134 -0
- package/src/okendo/src/blocks/components.tsx +569 -0
- package/src/okendo/src/blocks/index.tsx +13 -0
- package/src/okendo/src/blocks/okendo-star-ratings-v2.tsx +102 -0
- package/src/okendo/src/blocks/okendo-star-ratings.tsx +77 -0
- package/src/okendo/src/blocks/review-aggregate-v2.tsx +493 -0
- package/src/okendo/src/blocks/review-aggregate.tsx +175 -0
- package/src/okendo/src/blocks/reviews-v2.tsx +352 -0
- package/src/okendo/src/blocks/reviews.tsx +144 -0
- package/src/okendo/src/hooks.tsx +489 -0
- package/src/okendo/src/index.ts +35 -0
- package/src/okendo/src/provider.ts +457 -0
- package/src/okendo/src/types.ts +355 -0
- package/src/okendo/src/utils.ts +32 -0
- package/src/orders-v4/src/icons/chevron-right-order-v4.tsx +18 -0
- package/src/orders-v4/src/icons/order-status.tsx +17 -0
- package/src/orders-v4/src/icons/payment-method.tsx +18 -0
- package/src/orders-v4/src/icons/payment-status.tsx +17 -0
- package/src/orders-v4/src/index.ts +7 -0
- package/src/orders-v4/src/layout-elements/order-cancel.tsx +60 -0
- package/src/orders-v4/src/layout-elements/order-date.tsx +39 -0
- package/src/orders-v4/src/layout-elements/order-fulfillment-details.tsx +408 -0
- package/src/orders-v4/src/layout-elements/order-number.tsx +35 -0
- package/src/orders-v4/src/layout-elements/order-payment-details-v4.tsx +190 -0
- package/src/orders-v4/src/layout-elements/order-preorder-date.tsx +16 -0
- package/src/orders-v4/src/layout-elements/order-product-compare-at-price.tsx +32 -0
- package/src/orders-v4/src/layout-elements/order-product-fulfillment-status.tsx +105 -0
- package/src/orders-v4/src/layout-elements/order-product-image-overlay.tsx +55 -0
- package/src/orders-v4/src/layout-elements/order-product-image.tsx +29 -0
- package/src/orders-v4/src/layout-elements/order-product-link.tsx +24 -0
- package/src/orders-v4/src/layout-elements/order-product-price.tsx +37 -0
- package/src/orders-v4/src/layout-elements/order-product-quantity.tsx +27 -0
- package/src/orders-v4/src/layout-elements/order-product-title.tsx +22 -0
- package/src/orders-v4/src/layout-elements/order-product-variant.tsx +24 -0
- package/src/orders-v4/src/layout-elements/order-reorder.tsx +97 -0
- package/src/orders-v4/src/layout-elements/order-return-and-exchange-v2.tsx +90 -0
- package/src/orders-v4/src/layout-elements/order-return-and-exchange.tsx +93 -0
- package/src/orders-v4/src/layout-elements/order-status-icon.tsx +14 -0
- package/src/orders-v4/src/layout-elements/order-status.tsx +33 -0
- package/src/orders-v4/src/layout-elements/order-total.tsx +19 -0
- package/src/orders-v4/src/layout-elements/order-track-delivery.tsx +67 -0
- package/src/orders-v4/src/layout-elements/order-view-details.tsx +23 -0
- package/src/orders-v4/src/order-custom-attributes-v4.tsx +210 -0
- package/src/orders-v4/src/order-details-footer-v4.tsx +51 -0
- package/src/orders-v4/src/order-details-fulfillment-list.tsx +32 -0
- package/src/orders-v4/src/order-details-header-v4.tsx +69 -0
- package/src/orders-v4/src/order-footer.ts +75 -0
- package/src/orders-v4/src/order-header.ts +75 -0
- package/src/orders-v4/src/order-products-list.ts +68 -0
- package/src/orders-v4/src/orders-list-v4.tsx +131 -0
- package/src/orders-v4/src/register-icons.ts +12 -0
- package/src/orders-v4/src/register-orders-v4-blocks.ts +15 -0
- package/src/orders-v4/src/registry.tsx +115 -0
- package/src/orders-v4/src/types.ts +122 -0
- package/src/orders-v4/src/utils.ts +75 -0
- package/src/orders-v4/test-setup.ts +1 -0
- package/src/orders-v5/src/cancel-order-reason.tsx +282 -0
- package/src/orders-v5/src/icons/package-cancel.tsx +18 -0
- package/src/orders-v5/src/icons/package-success.tsx +18 -0
- package/src/orders-v5/src/icons/package.tsx +17 -0
- package/src/orders-v5/src/icons/shipping-cancel.tsx +19 -0
- package/src/orders-v5/src/icons/shipping-pending.tsx +19 -0
- package/src/orders-v5/src/icons/shipping-success.tsx +18 -0
- package/src/orders-v5/src/icons/shipping.tsx +32 -0
- package/src/orders-v5/src/image.tsx +39 -0
- package/src/orders-v5/src/index.ts +2 -0
- package/src/orders-v5/src/order-details/fulfillment-list/fulfillment-item.tsx +222 -0
- package/src/orders-v5/src/order-details/fulfillment-list/fulfillment-list.tsx +123 -0
- package/src/orders-v5/src/order-details/fulfillment-list/index.tsx +1 -0
- package/src/orders-v5/src/order-details/fulfillment-list/line-item.tsx +213 -0
- package/src/orders-v5/src/order-details/fulfillment-list/star-ratings.tsx +79 -0
- package/src/orders-v5/src/order-details/fulfillment-list/status-indicator.tsx +208 -0
- package/src/orders-v5/src/order-details/fulfillment-list/status.tsx +113 -0
- package/src/orders-v5/src/order-details/header.tsx +280 -0
- package/src/orders-v5/src/order-details/index.tsx +9 -0
- package/src/orders-v5/src/order-details/order-cancel.tsx +323 -0
- package/src/orders-v5/src/order-details/order-custom-attributes.tsx +237 -0
- package/src/orders-v5/src/order-details/order-return-and-exchange.tsx +196 -0
- package/src/orders-v5/src/order-details/order-return-info-text.tsx +114 -0
- package/src/orders-v5/src/order-details/payment-summary.tsx +295 -0
- package/src/orders-v5/src/order-details/reorder.tsx +142 -0
- package/src/orders-v5/src/order-details/shipping-address.tsx +93 -0
- package/src/orders-v5/src/orders-list/index.ts +1 -0
- package/src/orders-v5/src/orders-list/order-item/fulfillment-item.tsx +138 -0
- package/src/orders-v5/src/orders-list/order-item/heading.tsx +160 -0
- package/src/orders-v5/src/orders-list/order-item/item.tsx +168 -0
- package/src/orders-v5/src/orders-list/orders-list.tsx +159 -0
- package/src/orders-v5/src/register-orders-v5-blocks.ts +29 -0
- package/src/orders-v5/src/register-orders-v5-icons.ts +17 -0
- package/src/orders-v5/src/utils.ts +539 -0
- package/src/pdp-components/src/blocks/common/empty-metafield.tsx +66 -0
- package/src/pdp-components/src/blocks/common/placeholder-block.tsx +134 -0
- package/src/pdp-components/src/blocks/index.ts +2 -0
- package/src/pdp-components/src/blocks/pdp-metafield-image/index.tsx +138 -0
- package/src/pdp-components/src/blocks/pdp-metafield-rich-text/index.tsx +190 -0
- package/src/pdp-components/src/index.ts +7 -0
- package/src/plp-components/src/blocks/plp-banner/index.tsx +213 -0
- package/src/plp-components/src/blocks/plp-description/index.tsx +86 -0
- package/src/plp-components/src/blocks/plp-html-text.tsx +172 -0
- package/src/plp-components/src/blocks/plp-image-carousel.tsx +203 -0
- package/src/plp-components/src/blocks/plp-shopify-rich-text/index.tsx +169 -0
- package/src/plp-components/src/blocks/plp-sub-category-navigation/index.tsx +336 -0
- package/src/plp-components/src/blocks/plp-text-sub-category/index.tsx +297 -0
- package/src/plp-components/src/blocks/plp-video/index.tsx +140 -0
- package/src/plp-components/src/blocks/plp-youtube-video.tsx +113 -0
- package/src/plp-components/src/common/empty-metafield.tsx +66 -0
- package/src/plp-components/src/common/placeholder-block.tsx +134 -0
- package/src/plp-components/src/index.ts +21 -0
- package/src/plp-components/test-setup.ts +1 -0
- package/src/post-purchase/hooks.ts +24 -0
- package/src/post-purchase/src/basic-order-item.tsx +143 -0
- package/src/post-purchase/src/cancel-order-reason.tsx +160 -0
- package/src/post-purchase/src/cancel-order.tsx +75 -0
- package/src/post-purchase/src/date.tsx +33 -0
- package/src/post-purchase/src/fulfillment-list.tsx +477 -0
- package/src/post-purchase/src/hooks.ts +1 -0
- package/src/post-purchase/src/index.ts +13 -0
- package/src/post-purchase/src/order-details-header.tsx +64 -0
- package/src/post-purchase/src/order-item.tsx +217 -0
- package/src/post-purchase/src/order-list.tsx +62 -0
- package/src/post-purchase/src/payment-details.tsx +116 -0
- package/src/post-purchase/src/register.ts +17 -0
- package/src/post-purchase/src/shipping-address.tsx +68 -0
- package/src/post-purchase/src/style.ts +30 -0
- package/src/post-purchase/src/types.ts +66 -0
- package/src/post-purchase/src/utils.ts +95 -0
- package/src/post-purchase/test-setup.ts +1 -0
- package/src/react-native-element-dropdown/src/assets/close.png +0 -0
- package/src/react-native-element-dropdown/src/assets/down.png +0 -0
- package/src/react-native-element-dropdown/src/components/Dropdown/index.tsx +686 -0
- package/src/react-native-element-dropdown/src/components/Dropdown/model.ts +73 -0
- package/src/react-native-element-dropdown/src/components/Dropdown/styles.ts +67 -0
- package/src/react-native-element-dropdown/src/components/MultiSelect/index.tsx +812 -0
- package/src/react-native-element-dropdown/src/components/MultiSelect/model.ts +76 -0
- package/src/react-native-element-dropdown/src/components/MultiSelect/styles.ts +103 -0
- package/src/react-native-element-dropdown/src/components/SelectCountry/index.tsx +77 -0
- package/src/react-native-element-dropdown/src/components/SelectCountry/model.ts +7 -0
- package/src/react-native-element-dropdown/src/components/SelectCountry/styles.ts +28 -0
- package/src/react-native-element-dropdown/src/components/TextInput/index.tsx +104 -0
- package/src/react-native-element-dropdown/src/components/TextInput/model.ts +20 -0
- package/src/react-native-element-dropdown/src/components/TextInput/styles.ts +31 -0
- package/src/react-native-element-dropdown/src/index.ts +15 -0
- package/src/react-native-element-dropdown/src/toolkits/index.ts +25 -0
- package/src/react-native-element-dropdown/src/toolkits/model.ts +5 -0
- package/src/react-native-element-dropdown/src/useDeviceOrientation.ts +37 -0
- package/src/react-utils/src/hooks.ts +176 -0
- package/src/react-utils/src/index.ts +1 -0
- package/src/rn-rulepilot/src/index.ts +4 -0
- package/src/rn-rulepilot/src/services/builder.ts +92 -0
- package/src/rn-rulepilot/src/services/evaluator.ts +176 -0
- package/src/rn-rulepilot/src/services/logger.ts +6 -0
- package/src/rn-rulepilot/src/services/mutator.ts +203 -0
- package/src/rn-rulepilot/src/services/object-discovery.ts +52 -0
- package/src/rn-rulepilot/src/services/rule-pilot.ts +172 -0
- package/src/rn-rulepilot/src/services/validator.ts +206 -0
- package/src/rn-rulepilot/src/types/error.ts +14 -0
- package/src/rn-rulepilot/src/types/rule.ts +35 -0
- package/src/rn-rulepilot/test-setup.ts +1 -0
- package/src/shopify/src/cache.ts +134 -0
- package/src/shopify/src/cart-utils.ts +295 -0
- package/src/shopify/src/checkout-utils.ts +124 -0
- package/src/shopify/src/discountv2-transformer.ts +322 -0
- package/src/shopify/src/filter.ts +287 -0
- package/src/shopify/src/index.ts +16 -0
- package/src/shopify/src/lineItemsv2-transformer.ts +225 -0
- package/src/shopify/src/orders.ts +521 -0
- package/src/shopify/src/queries/cart.ts +320 -0
- package/src/shopify/src/queries/catlog-fields.ts +187 -0
- package/src/shopify/src/queries/index.ts +1 -0
- package/src/shopify/src/queries/orders.ts +368 -0
- package/src/shopify/src/queries/query-generators.ts +737 -0
- package/src/shopify/src/queries.ts +474 -0
- package/src/shopify/src/shopify-auth.ts +410 -0
- package/src/shopify/src/shopify-cart.ts +1298 -0
- package/src/shopify/src/shopify-catlog-generic.ts +1168 -0
- package/src/shopify/src/shopify-checkout.ts +385 -0
- package/src/shopify/src/shopify-currency.ts +185 -0
- package/src/shopify/src/shopify-customer-cart.ts +1246 -0
- package/src/shopify/src/shopify-search-v2.ts +1234 -0
- package/src/shopify/src/shopify-search.ts +184 -0
- package/src/shopify/src/transformers.ts +715 -0
- package/src/shopify/src/utils.ts +300 -0
- package/src/shopify-types/src/generated-types/checkout/graphql-operations.ts +8767 -0
- package/src/shopify-types/src/generated-types/customer-accounts/operations.ts +5969 -0
- package/src/shopify-types/src/generated-types/graphql-operations.ts +9559 -0
- package/src/shopify-types/src/index.ts +59 -0
- package/src/shopify-types/src/schema/customerAccountsSchema.json +28093 -0
- package/src/shopify-types/src/types.ts +59 -0
- package/src/shopify-types/test-setup.ts +1 -0
- package/src/state/src/index.ts +22 -0
- package/src/state/src/lib/address.ts +248 -0
- package/src/state/src/lib/analytics/actions/app.ts +30 -0
- package/src/state/src/lib/analytics/actions/cart-wishlist.ts +192 -0
- package/src/state/src/lib/analytics/actions/device.ts +28 -0
- package/src/state/src/lib/analytics/actions/geo.ts +58 -0
- package/src/state/src/lib/analytics/actions/index.ts +9 -0
- package/src/state/src/lib/analytics/actions/order.ts +20 -0
- package/src/state/src/lib/analytics/actions/product-collection.ts +119 -0
- package/src/state/src/lib/analytics/actions/session.ts +74 -0
- package/src/state/src/lib/analytics/actions/user.ts +55 -0
- package/src/state/src/lib/analytics/actions/utm-params.ts +68 -0
- package/src/state/src/lib/analytics/index.ts +147 -0
- package/src/state/src/lib/analytics/utils.ts +173 -0
- package/src/state/src/lib/autofill-client.ts +42 -0
- package/src/state/src/lib/bundle.ts +228 -0
- package/src/state/src/lib/bundleV2.ts +110 -0
- package/src/state/src/lib/cart.ts +1779 -0
- package/src/state/src/lib/checkout.ts +26 -0
- package/src/state/src/lib/collection-metafields.ts +118 -0
- package/src/state/src/lib/collections.ts +636 -0
- package/src/state/src/lib/config.ts +437 -0
- package/src/state/src/lib/constants.ts +30 -0
- package/src/state/src/lib/device.ts +90 -0
- package/src/state/src/lib/discounts.ts +435 -0
- package/src/state/src/lib/estimated-delivery-date.ts +73 -0
- package/src/state/src/lib/filter.ts +343 -0
- package/src/state/src/lib/gift-wrap.ts +184 -0
- package/src/state/src/lib/google-signin.ts +3 -0
- package/src/state/src/lib/google-signin.web.ts +1 -0
- package/src/state/src/lib/hooks/block.ts +136 -0
- package/src/state/src/lib/hooks/cart.ts +233 -0
- package/src/state/src/lib/hooks/common.ts +34 -0
- package/src/state/src/lib/hooks/constants.ts +4 -0
- package/src/state/src/lib/hooks/deeplink.ts +190 -0
- package/src/state/src/lib/hooks/deeplink.web.ts +4 -0
- package/src/state/src/lib/hooks/estimated-delivery-date.ts +5 -0
- package/src/state/src/lib/hooks/filter.ts +37 -0
- package/src/state/src/lib/hooks/hooks.ts +843 -0
- package/src/state/src/lib/hooks/index.ts +29 -0
- package/src/state/src/lib/hooks/localization.ts +213 -0
- package/src/state/src/lib/hooks/metafield.ts +301 -0
- package/src/state/src/lib/hooks/modal.ts +68 -0
- package/src/state/src/lib/hooks/module.ts +31 -0
- package/src/state/src/lib/hooks/order.ts +23 -0
- package/src/state/src/lib/hooks/product.ts +202 -0
- package/src/state/src/lib/hooks/quantity-restriction.ts +51 -0
- package/src/state/src/lib/hooks/reviews.ts +27 -0
- package/src/state/src/lib/hooks/rewards.ts +69 -0
- package/src/state/src/lib/hooks/route.ts +90 -0
- package/src/state/src/lib/hooks/screen.ts +83 -0
- package/src/state/src/lib/hooks/search.ts +209 -0
- package/src/state/src/lib/hooks/settings.ts +20 -0
- package/src/state/src/lib/hooks/shipping-address.ts +5 -0
- package/src/state/src/lib/hooks/shop.ts +5 -0
- package/src/state/src/lib/hooks/shopify-query.ts +40 -0
- package/src/state/src/lib/hooks/sizing.ts +13 -0
- package/src/state/src/lib/hooks/title.ts +61 -0
- package/src/state/src/lib/hooks/variant-selector.ts +493 -0
- package/src/state/src/lib/hooks/video.ts +81 -0
- package/src/state/src/lib/http-client/index.ts +132 -0
- package/src/state/src/lib/integrations/analytics.ts +14 -0
- package/src/state/src/lib/integrations/gift.ts +102 -0
- package/src/state/src/lib/integrations/review.ts +212 -0
- package/src/state/src/lib/kiwi-sizing.ts +62 -0
- package/src/state/src/lib/localization.ts +524 -0
- package/src/state/src/lib/localization.web.ts +154 -0
- package/src/state/src/lib/metafield.ts +305 -0
- package/src/state/src/lib/modal.ts +177 -0
- package/src/state/src/lib/modules.ts +149 -0
- package/src/state/src/lib/offers.ts +0 -0
- package/src/state/src/lib/onboarding.ts +67 -0
- package/src/state/src/lib/order.ts +229 -0
- package/src/state/src/lib/orders.ts +199 -0
- package/src/state/src/lib/products.ts +1072 -0
- package/src/state/src/lib/promotions.ts +73 -0
- package/src/state/src/lib/reward-program.ts +86 -0
- package/src/state/src/lib/rewards.ts +106 -0
- package/src/state/src/lib/route.ts +586 -0
- package/src/state/src/lib/route.web.ts +52 -0
- package/src/state/src/lib/screen.ts +106 -0
- package/src/state/src/lib/search.ts +576 -0
- package/src/state/src/lib/shop.ts +74 -0
- package/src/state/src/lib/sizing-chart.ts +88 -0
- package/src/state/src/lib/splash-platform.ts +59 -0
- package/src/state/src/lib/splash-platform.web.ts +62 -0
- package/src/state/src/lib/splash.ts +497 -0
- package/src/state/src/lib/store.ts +138 -0
- package/src/state/src/lib/subscriptions.ts +589 -0
- package/src/state/src/lib/template.ts +42 -0
- package/src/state/src/lib/types.ts +11 -0
- package/src/state/src/lib/user-notifications.ts +153 -0
- package/src/state/src/lib/user.ts +1721 -0
- package/src/state/src/lib/utils.ts +586 -0
- package/src/state/src/lib/wishlist.ts +290 -0
- package/src/types/src/app-discounts.ts +118 -0
- package/src/types/src/app-themes.ts +7 -0
- package/src/types/src/blocks-definition/account.def.ts +535 -0
- package/src/types/src/blocks-definition/announcement-carousel.def.ts +201 -0
- package/src/types/src/blocks-definition/announcement-strip.def.ts +162 -0
- package/src/types/src/blocks-definition/announcement-ticker.def.ts +290 -0
- package/src/types/src/blocks-definition/app-bar.def.ts +323 -0
- package/src/types/src/blocks-definition/apply-coupon.def.ts +363 -0
- package/src/types/src/blocks-definition/cart-list.def.ts +445 -0
- package/src/types/src/blocks-definition/change-password.def.ts +229 -0
- package/src/types/src/blocks-definition/chips-navigation.def.ts +405 -0
- package/src/types/src/blocks-definition/collection-list.def.ts +415 -0
- package/src/types/src/blocks-definition/common.def.ts +793 -0
- package/src/types/src/blocks-definition/content.def.ts +2051 -0
- package/src/types/src/blocks-definition/countdown-banner.def.ts +537 -0
- package/src/types/src/blocks-definition/empty-block.def.ts +212 -0
- package/src/types/src/blocks-definition/firework.def.ts +128 -0
- package/src/types/src/blocks-definition/image-banner.def.ts +634 -0
- package/src/types/src/blocks-definition/image-collage.def.ts +505 -0
- package/src/types/src/blocks-definition/image-compare.def.ts +412 -0
- package/src/types/src/blocks-definition/image-list.def.ts +654 -0
- package/src/types/src/blocks-definition/image-marquee.def.ts +526 -0
- package/src/types/src/blocks-definition/index.ts +50 -0
- package/src/types/src/blocks-definition/metafield-image-compare.def.ts +394 -0
- package/src/types/src/blocks-definition/micro-contexts/product-card-v2.ts +2481 -0
- package/src/types/src/blocks-definition/past-searches.def.ts +352 -0
- package/src/types/src/blocks-definition/payment-details.def.ts +303 -0
- package/src/types/src/blocks-definition/previously-ordered-products.def.ts +421 -0
- package/src/types/src/blocks-definition/product-card.def.ts +416 -0
- package/src/types/src/blocks-definition/product-grid.def.ts +657 -0
- package/src/types/src/blocks-definition/product-hotspot.def.ts +401 -0
- package/src/types/src/blocks-definition/product-list.def.ts +944 -0
- package/src/types/src/blocks-definition/promo-carousel.def.ts +645 -0
- package/src/types/src/blocks-definition/recent-orders.def.ts +596 -0
- package/src/types/src/blocks-definition/recently-viewed-products.def.ts +412 -0
- package/src/types/src/blocks-definition/rewards-summary.def.ts +627 -0
- package/src/types/src/blocks-definition/rich-text-block.def.ts +303 -0
- package/src/types/src/blocks-definition/search-suggestions.def.ts +228 -0
- package/src/types/src/blocks-definition/sign-in.def.ts +555 -0
- package/src/types/src/blocks-definition/single-level-navigation.def.ts +303 -0
- package/src/types/src/blocks-definition/social-sign-in.def.ts +164 -0
- package/src/types/src/blocks-definition/sort-and-filter.def.ts +881 -0
- package/src/types/src/blocks-definition/tabbed-product-collection.def.ts +665 -0
- package/src/types/src/blocks-definition/text-list.def.ts +280 -0
- package/src/types/src/blocks-definition/two-level-navigation.def.ts +527 -0
- package/src/types/src/blocks-definition/types.ts +33 -0
- package/src/types/src/blocks-definition/video-banner.def.ts +483 -0
- package/src/types/src/blocks-definition/video-carousel.def.ts +611 -0
- package/src/types/src/blocks-definition/video-list.def.ts +280 -0
- package/src/types/src/blocks-definition/view-coupons.def.ts +382 -0
- package/src/types/src/blocks-definition/wishlisted-items.def.ts +530 -0
- package/src/types/src/blocks-definition/youtube-embed.def.ts +154 -0
- package/src/types/src/blocks.ts +3981 -0
- package/src/types/src/category-navigation.ts +16 -0
- package/src/types/src/common.ts +187 -0
- package/src/types/src/config.ts +705 -0
- package/src/types/src/countries.ts +2970 -0
- package/src/types/src/currencies.ts +1217 -0
- package/src/types/src/data.ts +257 -0
- package/src/types/src/feature-flags.ts +59 -0
- package/src/types/src/filter.ts +102 -0
- package/src/types/src/index.ts +35 -0
- package/src/types/src/integrations/analytics.ts +252 -0
- package/src/types/src/integrations/attentive.ts +88 -0
- package/src/types/src/integrations/automated-notifications.ts +87 -0
- package/src/types/src/integrations/cart.ts +81 -0
- package/src/types/src/integrations/edd.ts +35 -0
- package/src/types/src/integrations/gift.ts +130 -0
- package/src/types/src/integrations/index.ts +14 -0
- package/src/types/src/integrations/loyalty-lion.ts +8 -0
- package/src/types/src/integrations/otp-signin.ts +112 -0
- package/src/types/src/integrations/review.ts +50 -0
- package/src/types/src/integrations/rewards-v2.ts +5 -0
- package/src/types/src/integrations/social-signin.ts +12 -0
- package/src/types/src/integrations/subscriptions.ts +175 -0
- package/src/types/src/integrations/wishlist.ts +86 -0
- package/src/types/src/integrations/yotpo-rewards.ts +37 -0
- package/src/types/src/internationalization.ts +170 -0
- package/src/types/src/metafield.ts +5 -0
- package/src/types/src/modules.ts +566 -0
- package/src/types/src/navigation.ts +22 -0
- package/src/types/src/one-link.ts +20 -0
- package/src/types/src/order.ts +102 -0
- package/src/types/src/permissions.ts +9 -0
- package/src/types/src/product-update.ts +32 -0
- package/src/types/src/product.ts +268 -0
- package/src/types/src/push-notifications.ts +11 -0
- package/src/types/src/quantity-selector.ts +5 -0
- package/src/types/src/screen.ts +5 -0
- package/src/types/src/search.ts +137 -0
- package/src/types/src/searchtap.ts +97 -0
- package/src/types/src/settings.ts +54 -0
- package/src/types/src/shop.ts +13 -0
- package/src/types/src/storage.ts +31 -0
- package/src/types/src/style.ts +221 -0
- package/src/types/src/theme.ts +54 -0
- package/src/types/src/utils.ts +153 -0
- package/src/types/src/variant-selector.ts +218 -0
- package/src/ui-builder/src/components/atoms/accordian.tsx +110 -0
- package/src/ui-builder/src/components/atoms/block-section/block-section.tsx +128 -0
- package/src/ui-builder/src/components/atoms/block-section/hook.ts +251 -0
- package/src/ui-builder/src/components/atoms/block-section/index.ts +3 -0
- package/src/ui-builder/src/components/atoms/block-section/nav-button.tsx +101 -0
- package/src/ui-builder/src/components/atoms/block-section/section.tsx +76 -0
- package/src/ui-builder/src/components/atoms/block-section/types.ts +22 -0
- package/src/ui-builder/src/components/atoms/box.tsx +77 -0
- package/src/ui-builder/src/components/atoms/box.web.tsx +68 -0
- package/src/ui-builder/src/components/atoms/button.tsx +260 -0
- package/src/ui-builder/src/components/atoms/flex.tsx +44 -0
- package/src/ui-builder/src/components/atoms/header/header-image.tsx +142 -0
- package/src/ui-builder/src/components/atoms/header/header-link-button.tsx +57 -0
- package/src/ui-builder/src/components/atoms/header/header-text.tsx +49 -0
- package/src/ui-builder/src/components/atoms/header/header.tsx +179 -0
- package/src/ui-builder/src/components/atoms/header/index.ts +2 -0
- package/src/ui-builder/src/components/atoms/header/types.ts +63 -0
- package/src/ui-builder/src/components/atoms/header/utils.ts +28 -0
- package/src/ui-builder/src/components/atoms/helper/button-utils.ts +13 -0
- package/src/ui-builder/src/components/atoms/helper/button-utils.web.ts +8 -0
- package/src/ui-builder/src/components/atoms/html-rich-text.tsx +47 -0
- package/src/ui-builder/src/components/atoms/icon.tsx +12 -0
- package/src/ui-builder/src/components/atoms/image/image1.tsx +359 -0
- package/src/ui-builder/src/components/atoms/image/image1.web.tsx +276 -0
- package/src/ui-builder/src/components/atoms/image/types.ts +12 -0
- package/src/ui-builder/src/components/atoms/image.tsx +33 -0
- package/src/ui-builder/src/components/atoms/index.tsx +17 -0
- package/src/ui-builder/src/components/atoms/link.tsx +34 -0
- package/src/ui-builder/src/components/atoms/list.tsx +24 -0
- package/src/ui-builder/src/components/atoms/native-video.tsx +102 -0
- package/src/ui-builder/src/components/atoms/native-video.web.tsx +44 -0
- package/src/ui-builder/src/components/atoms/rich-text.tsx +147 -0
- package/src/ui-builder/src/components/atoms/spacer.tsx +11 -0
- package/src/ui-builder/src/components/atoms/text.tsx +60 -0
- package/src/ui-builder/src/components/atoms/vertical-list.tsx +177 -0
- package/src/ui-builder/src/components/atoms/youtube-video.tsx +99 -0
- package/src/ui-builder/src/components/blocks/content.tsx +32 -0
- package/src/ui-builder/src/components/index.ts +3 -0
- package/src/ui-builder/src/components/layout-elements/accordion.tsx +27 -0
- package/src/ui-builder/src/components/layout-elements/app-logo.tsx +39 -0
- package/src/ui-builder/src/components/layout-elements/html-rich-text.tsx +16 -0
- package/src/ui-builder/src/components/layout-elements/image.tsx +118 -0
- package/src/ui-builder/src/components/layout-elements/image.web.tsx +62 -0
- package/src/ui-builder/src/components/layout-elements/index.ts +12 -0
- package/src/ui-builder/src/components/layout-elements/link-button.tsx +37 -0
- package/src/ui-builder/src/components/layout-elements/link.tsx +35 -0
- package/src/ui-builder/src/components/layout-elements/list.tsx +16 -0
- package/src/ui-builder/src/components/layout-elements/rich-text.tsx +29 -0
- package/src/ui-builder/src/components/layout-elements/spacer.tsx +10 -0
- package/src/ui-builder/src/components/layout-elements/text.tsx +29 -0
- package/src/ui-builder/src/components/layout-elements/video.tsx +59 -0
- package/src/ui-builder/src/components/molecules/accordion.tsx +120 -0
- package/src/ui-builder/src/components/molecules/rich-text.tsx +132 -0
- package/src/ui-builder/src/components/molecules/rich-text.web.tsx +82 -0
- package/src/ui-builder/src/components/registery.tsx +404 -0
- package/src/ui-builder/src/helper-elements/cta.tsx +79 -0
- package/src/ui-builder/src/helper-elements/faq.tsx +143 -0
- package/src/ui-builder/src/helper-elements/html-rich-text.tsx +59 -0
- package/src/ui-builder/src/helper-elements/index.tsx +76 -0
- package/src/ui-builder/src/helper-elements/link-button.tsx +74 -0
- package/src/ui-builder/src/helper-elements/media-list-accordian.tsx +230 -0
- package/src/ui-builder/src/helper-elements/media-list.tsx +154 -0
- package/src/ui-builder/src/helper-elements/media.tsx +78 -0
- package/src/ui-builder/src/helper-elements/rich-text-accordion.tsx +148 -0
- package/src/ui-builder/src/helper-elements/rich-text-list.tsx +134 -0
- package/src/ui-builder/src/helper-elements/rich-text.tsx +61 -0
- package/src/ui-builder/src/helper-elements/testimonials.tsx +149 -0
- package/src/ui-builder/src/helper-elements/text.tsx +52 -0
- package/src/ui-builder/src/helper-elements/video-list.tsx +137 -0
- package/src/ui-builder/src/helper-elements/video.tsx +44 -0
- package/src/ui-builder/src/helper-elements/youtube-video.tsx +69 -0
- package/src/ui-builder/src/index.ts +42 -0
- package/src/ui-builder/src/style-utils.ts +127 -0
- package/src/ui-builder/src/types.ts +67 -0
- package/src/ui-builder/src/utils.ts +89 -0
- package/src/utils/src/cache.utils.ts +64 -0
- package/src/utils/src/common.utils.ts +47 -0
- package/src/utils/src/http-client.ts +258 -0
- package/src/utils/src/index.ts +5 -0
- package/src/utils/src/slack-client.ts +8 -0
- package/src/utils/src/telemetry-client.ts +69 -0
- package/src/utils.ts +30 -0
- package/tsconfig.paths.json +130 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import Svg, { Path, SvgProps } from 'react-native-svg'
|
|
3
|
+
|
|
4
|
+
export default function Success(props: SvgProps) {
|
|
5
|
+
const { width, height, fill } = props
|
|
6
|
+
return (
|
|
7
|
+
<Svg
|
|
8
|
+
width={width || 20}
|
|
9
|
+
height={height || 20}
|
|
10
|
+
viewBox="0 0 20 20"
|
|
11
|
+
fill="none"
|
|
12
|
+
>
|
|
13
|
+
<Path
|
|
14
|
+
fillRule="evenodd"
|
|
15
|
+
clipRule="evenodd"
|
|
16
|
+
d="M0 10C0 15.514 4.486 20 10 20C15.514 20 20 15.514 20 10C20 4.486 15.514 0 10 0C4.486 0 0 4.486 0 10ZM15.2071 8.20711C15.5976 7.81658 15.5976 7.18342 15.2071 6.79289C14.8166 6.40237 14.1834 6.40237 13.7929 6.79289L9 11.5858L6.70711 9.29289C6.31658 8.90237 5.68342 8.90237 5.29289 9.29289C4.90237 9.68342 4.90237 10.3166 5.29289 10.7071L8.29289 13.7071C8.68342 14.0976 9.31658 14.0976 9.70711 13.7071L15.2071 8.20711Z"
|
|
17
|
+
fill={fill || '#3BBF39'}
|
|
18
|
+
/>
|
|
19
|
+
</Svg>
|
|
20
|
+
)
|
|
21
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import Svg, { Path, SvgProps } from 'react-native-svg'
|
|
3
|
+
|
|
4
|
+
function Tag(props: SvgProps) {
|
|
5
|
+
return (
|
|
6
|
+
<Svg
|
|
7
|
+
width={24}
|
|
8
|
+
height={24}
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
|
+
fill="none"
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<Path
|
|
15
|
+
d="M8 8h.01M2 5.2v4.475c0 .489 0 .733.055.963.05.204.13.4.24.579.123.201.296.374.642.72l7.669 7.669c1.188 1.188 1.782 1.782 2.467 2.004a3 3 0 001.854 0c.685-.222 1.28-.816 2.467-2.004l2.212-2.212c1.188-1.188 1.782-1.782 2.004-2.467a3 3 0 000-1.854c-.222-.685-.816-1.28-2.004-2.467l-7.669-7.669c-.346-.346-.519-.519-.72-.642a2.001 2.001 0 00-.579-.24C10.409 2 10.165 2 9.676 2H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 00-.874.874C2 3.52 2 4.08 2 5.2zM8.5 8a.5.5 0 11-1 0 .5.5 0 011 0z"
|
|
16
|
+
stroke="#000"
|
|
17
|
+
strokeWidth={1.5}
|
|
18
|
+
strokeLinecap="round"
|
|
19
|
+
strokeLinejoin="round"
|
|
20
|
+
/>
|
|
21
|
+
</Svg>
|
|
22
|
+
)
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export default Tag
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import Svg, { Path, SvgProps } from 'react-native-svg'
|
|
3
|
+
|
|
4
|
+
export default function ThumbsUp({
|
|
5
|
+
width = 16,
|
|
6
|
+
height = 16,
|
|
7
|
+
fill = '#171717',
|
|
8
|
+
stroke = '#171717',
|
|
9
|
+
...props
|
|
10
|
+
}: SvgProps) {
|
|
11
|
+
const path =
|
|
12
|
+
'M512,223.18a39.45,39.45,0,0,1-25.61,36.9,39.37,39.37,0,0,1-23.93,68,39.36,39.36,0,0,1-26.26,65.64A39.36,39.36,0,0,1,407,459.49H190.36a6.56,6.56,0,0,1-4.64-1.92s-6.85-5.73-28.18-9V245.95c75.15-16,91.9-87.54,91.9-147.49,0-58.4,45.49-59.08,45.95-59.08,13.25,0,24.2,5.07,32.54,15.06C354.22,86,346,159.58,342.47,183.79H472.62A39.43,39.43,0,0,1,512,223.18ZM144.41,256V439.79a32.86,32.86,0,0,1-32.82,32.82H32.82A32.86,32.86,0,0,1,0,439.79V256a32.86,32.86,0,0,1,32.82-32.82h78.77A32.86,32.86,0,0,1,144.41,256ZM85.33,413.54a13.13,13.13,0,1,0-13.13,13.13A13.13,13.13,0,0,0,85.33,413.54Z'
|
|
13
|
+
|
|
14
|
+
return (
|
|
15
|
+
<Svg viewBox="0 0 512 512" width={width} height={height} {...props}>
|
|
16
|
+
<Path
|
|
17
|
+
d={path}
|
|
18
|
+
fill="none"
|
|
19
|
+
stroke={stroke}
|
|
20
|
+
strokeWidth={30}
|
|
21
|
+
strokeLinecap="round"
|
|
22
|
+
strokeLinejoin="round"
|
|
23
|
+
opacity={1}
|
|
24
|
+
/>
|
|
25
|
+
|
|
26
|
+
<Path
|
|
27
|
+
d={path}
|
|
28
|
+
fill="none"
|
|
29
|
+
stroke={stroke}
|
|
30
|
+
strokeWidth={10}
|
|
31
|
+
strokeLinecap="round"
|
|
32
|
+
strokeLinejoin="round"
|
|
33
|
+
/>
|
|
34
|
+
</Svg>
|
|
35
|
+
)
|
|
36
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import Svg, { Path, SvgProps } from 'react-native-svg'
|
|
3
|
+
export default function SpeakerOn({
|
|
4
|
+
height,
|
|
5
|
+
width,
|
|
6
|
+
fill = '#171717',
|
|
7
|
+
}: SvgProps) {
|
|
8
|
+
return (
|
|
9
|
+
<Svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><style>.cls-1{fill:#141f38;}</style></defs><title>thumb-up-glyph</title><path class="cls-1" d="M512,223.18a39.45,39.45,0,0,1-25.61,36.9,39.37,39.37,0,0,1-23.93,68,39.36,39.36,0,0,1-26.26,65.64A39.36,39.36,0,0,1,407,459.49H190.36a6.56,6.56,0,0,1-4.64-1.92s-6.85-5.73-28.18-9V245.95c75.15-16,91.9-87.54,91.9-147.49,0-58.4,45.49-59.08,45.95-59.08,13.25,0,24.2,5.07,32.54,15.06C354.22,86,346,159.58,342.47,183.79H472.62A39.43,39.43,0,0,1,512,223.18ZM144.41,256V439.79a32.86,32.86,0,0,1-32.82,32.82H32.82A32.86,32.86,0,0,1,0,439.79V256a32.86,32.86,0,0,1,32.82-32.82h78.77A32.86,32.86,0,0,1,144.41,256ZM85.33,413.54a13.13,13.13,0,1,0-13.13,13.13A13.13,13.13,0,0,0,85.33,413.54Z"/></Svg>
|
|
10
|
+
)
|
|
11
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import Svg, { Path, SvgProps } from 'react-native-svg'
|
|
3
|
+
export default function Tick({
|
|
4
|
+
height,
|
|
5
|
+
width,
|
|
6
|
+
fill = '#000000',
|
|
7
|
+
...rest
|
|
8
|
+
}: SvgProps) {
|
|
9
|
+
return (
|
|
10
|
+
<Svg
|
|
11
|
+
width={width}
|
|
12
|
+
height={height}
|
|
13
|
+
viewBox="0 0 16 14"
|
|
14
|
+
fill={'none'}
|
|
15
|
+
{...rest}
|
|
16
|
+
>
|
|
17
|
+
<Path
|
|
18
|
+
d="M5.6 13.4C5.49493 13.4001 5.39088 13.3795 5.29381 13.3392C5.19675 13.299 5.10859 13.24 5.0344 13.1656L0.234401 8.3656C0.160126 8.29132 0.101207 8.20314 0.0610093 8.1061C0.0208116 8.00905 0.000122072 7.90504 0.00012207 7.8C0.000122069 7.69495 0.0208116 7.59094 0.0610092 7.4939C0.101207 7.39685 0.160126 7.30867 0.234401 7.2344C0.308677 7.16012 0.396855 7.1012 0.493901 7.061C0.590947 7.02081 0.69496 7.00012 0.800001 7.00012C0.905043 7.00012 1.00906 7.02081 1.1061 7.061C1.20315 7.1012 1.29133 7.16012 1.3656 7.2344L5.5544 11.4232L14.5928 0.879196C14.7307 0.718157 14.927 0.618498 15.1383 0.602145C15.3497 0.585792 15.559 0.654083 15.72 0.791996C15.881 0.929909 15.9807 1.12615 15.9971 1.33754C16.0134 1.54893 15.9451 1.75816 15.8072 1.9192L6.2072 13.1192C6.13557 13.2031 6.04734 13.2713 5.94808 13.3195C5.84882 13.3677 5.74066 13.3948 5.6304 13.3992L5.6 13.4Z"
|
|
19
|
+
fill={fill}
|
|
20
|
+
/>
|
|
21
|
+
</Svg>
|
|
22
|
+
)
|
|
23
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import { Path, Svg, SvgProps } from 'react-native-svg'
|
|
3
|
+
|
|
4
|
+
export default function Trash({ width, height, fill = '#000' }: SvgProps) {
|
|
5
|
+
return (
|
|
6
|
+
<Svg width={width} height={height} viewBox="0 0 20 20" fill="none">
|
|
7
|
+
<Path
|
|
8
|
+
fillRule="evenodd"
|
|
9
|
+
clipRule="evenodd"
|
|
10
|
+
d="M14 4H17C17.5523 4 18 4.44772 18 5L18 6H2L2.00003 5C2.00003 4.44772 2.44774 4 3.00003 4H6.00003V1.5C6.00003 0.671573 6.6716 0 7.50003 0H12.5C13.3285 0 14 0.671573 14 1.5V4ZM8.00003 2V4H12V2H8.00003Z"
|
|
11
|
+
fill={fill}
|
|
12
|
+
/>
|
|
13
|
+
<Path
|
|
14
|
+
fillRule="evenodd"
|
|
15
|
+
clipRule="evenodd"
|
|
16
|
+
d="M3.00003 8H17V18.5C17 19.3284 16.3285 20 15.5 20H4.50003C3.6716 20 3.00003 19.3284 3.00003 18.5V8ZM7 11H5V17H7V11ZM11 11H9V17H11V11ZM13 11H15V17H13V11Z"
|
|
17
|
+
fill={fill}
|
|
18
|
+
/>
|
|
19
|
+
</Svg>
|
|
20
|
+
)
|
|
21
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import Svg, { G, Path, Rect, SvgProps } from 'react-native-svg'
|
|
3
|
+
|
|
4
|
+
export default function Trending({
|
|
5
|
+
height = '24',
|
|
6
|
+
width = '24',
|
|
7
|
+
stroke,
|
|
8
|
+
color,
|
|
9
|
+
fill,
|
|
10
|
+
}: SvgProps) {
|
|
11
|
+
return (
|
|
12
|
+
<Svg
|
|
13
|
+
width={width}
|
|
14
|
+
height={height}
|
|
15
|
+
stroke={stroke}
|
|
16
|
+
color={color}
|
|
17
|
+
fill="none"
|
|
18
|
+
viewBox="0 0 24 24"
|
|
19
|
+
>
|
|
20
|
+
<G data-name="Layer 2">
|
|
21
|
+
<G data-name="trending-up">
|
|
22
|
+
<Rect
|
|
23
|
+
width="24"
|
|
24
|
+
height="24"
|
|
25
|
+
transform="rotate(-90 12 12)"
|
|
26
|
+
opacity="0"
|
|
27
|
+
/>
|
|
28
|
+
<Path
|
|
29
|
+
fill={fill}
|
|
30
|
+
d="M21 7a.78.78 0 0 0 0-.21.64.64 0 0 0-.05-.17 1.1 1.1 0 0 0-.09-.14.75.75 0 0 0-.14-.17l-.12-.07a.69.69 0 0 0-.19-.1h-.2A.7.7 0 0 0 20 6h-5a1 1 0 0 0 0 2h2.83l-4 4.71-4.32-2.57a1 1 0 0 0-1.28.22l-5 6a1 1 0 0 0 .13 1.41A1 1 0 0 0 4 18a1 1 0 0 0 .77-.36l4.45-5.34 4.27 2.56a1 1 0 0 0 1.27-.21L19 9.7V12a1 1 0 0 0 2 0V7z"
|
|
31
|
+
/>
|
|
32
|
+
</G>
|
|
33
|
+
</G>
|
|
34
|
+
</Svg>
|
|
35
|
+
)
|
|
36
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import Svg, { Path, SvgProps } from 'react-native-svg'
|
|
3
|
+
|
|
4
|
+
export default function Truck({
|
|
5
|
+
height = 12,
|
|
6
|
+
width = 12,
|
|
7
|
+
stroke,
|
|
8
|
+
color,
|
|
9
|
+
fill = '#fff',
|
|
10
|
+
style,
|
|
11
|
+
}: SvgProps) {
|
|
12
|
+
return (
|
|
13
|
+
<Svg
|
|
14
|
+
style={style}
|
|
15
|
+
width={width}
|
|
16
|
+
height={height}
|
|
17
|
+
stroke={stroke}
|
|
18
|
+
color={color}
|
|
19
|
+
fill={fill}
|
|
20
|
+
viewBox="0 0 12 12"
|
|
21
|
+
>
|
|
22
|
+
<Path
|
|
23
|
+
fill-rule="evenodd"
|
|
24
|
+
clip-rule="evenodd"
|
|
25
|
+
d="M17 1.5C17 0.947715 16.5523 0.5 16 0.5C15.4477 0.5 15 0.947715 15 1.5V6.89208C15 6.46363 14.8899 6.04238 14.6802 5.66873L12.4963 1.77665C12.0539 0.988164 11.2202 0.5 10.3161 0.5H7.5C6.11929 0.5 5 1.61929 5 3V4.5H2.5C1.67157 4.5 1 5.17157 1 6V8.58535C0.417404 8.79127 0 9.34689 0 10V15.5C0 17.1569 1.34315 18.5 3 18.5C4.65685 18.5 6 17.1569 6 15.5H9C9 17.1569 10.3431 18.5 12 18.5C13.6569 18.5 15 17.1569 15 15.5V13.5H19C19.5523 13.5 20 13.0523 20 12.5C20 11.9477 19.5523 11.5 19 11.5H17V1.5ZM3 8.5H5V6.5H3V8.5ZM13 6.89208V8.5H7V3C7 2.72386 7.22386 2.5 7.5 2.5H10.3161C10.4969 2.5 10.6637 2.59763 10.7522 2.75533L12.936 6.64741C12.978 6.72214 13 6.80639 13 6.89208ZM4 15.5C4 16.0523 3.55228 16.5 3 16.5C2.44772 16.5 2 16.0523 2 15.5C2 14.9477 2.44772 14.5 3 14.5C3.55228 14.5 4 14.9477 4 15.5ZM12 16.5C12.5523 16.5 13 16.0523 13 15.5C13 14.9477 12.5523 14.5 12 14.5C11.4477 14.5 11 14.9477 11 15.5C11 16.0523 11.4477 16.5 12 16.5Z"
|
|
26
|
+
fill={fill}
|
|
27
|
+
/>
|
|
28
|
+
</Svg>
|
|
29
|
+
)
|
|
30
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import Svg, { G, Path, Rect, SvgProps } from 'react-native-svg'
|
|
3
|
+
|
|
4
|
+
export default function Truecaller({ height = '24', width = '25' }: SvgProps) {
|
|
5
|
+
return (
|
|
6
|
+
<Svg width={width} height={height} fill="none" viewBox="8 8 32 32">
|
|
7
|
+
<G>
|
|
8
|
+
<Rect x="4" width="48" height="48" rx="24" fill="white" />
|
|
9
|
+
<Path
|
|
10
|
+
d="M18.721 12.4525C19.2301 12.1474 19.8356 11.9244 20.4348 12.0414C20.8791 12.1284 21.2459 12.4446 21.4672 12.8288C21.7233 13.2667 22.0111 13.681 22.2925 14.1015C20.3858 15.9703 18.506 17.8723 16.6182 19.7616C16.3399 18.647 16.1644 17.5086 16.0775 16.364C15.9415 15.6383 15.9921 14.8383 16.3969 14.2011C16.5739 13.9086 16.8427 13.6889 17.1146 13.4881C17.6206 13.1007 18.1486 12.7371 18.721 12.4525Z"
|
|
11
|
+
fill="#127FFF"
|
|
12
|
+
/>
|
|
13
|
+
<Path
|
|
14
|
+
d="M22.2927 14.1013L22.2959 14.0981C22.8698 14.9456 23.4943 15.8009 23.7488 16.808C23.9291 17.4736 23.8342 18.2041 23.4801 18.797C22.8224 19.8752 22.1504 20.9456 21.5291 22.046L21.4722 22.0507C21.265 22.0396 21.1496 22.242 21.0121 22.3638C20.1915 23.1796 19.3868 24.0112 18.552 24.8128C17.7046 23.2159 17.0484 21.5163 16.6184 19.7614C18.5062 17.8721 20.386 15.9701 22.2927 14.1013Z"
|
|
15
|
+
fill="#2589FF"
|
|
16
|
+
/>
|
|
17
|
+
<Path
|
|
18
|
+
d="M21.0121 22.3638C21.1496 22.242 21.265 22.0397 21.4722 22.0507C21.4722 22.0887 21.4737 22.1661 21.4737 22.2041C22.3133 24.0017 23.4311 25.6697 24.7718 27.129C23.8785 28.0159 23.0042 28.9187 22.0935 29.7867C20.6975 28.2974 19.5022 26.6199 18.552 24.8128C19.3868 24.0112 20.1915 23.1796 21.0121 22.3638Z"
|
|
19
|
+
fill="#3391FF"
|
|
20
|
+
/>
|
|
21
|
+
<Path
|
|
22
|
+
d="M24.7718 27.1289C26.2564 28.5408 27.9892 29.6807 29.8405 30.5518C29.782 30.6309 29.7299 30.7115 29.6666 30.7874C28.8097 31.6586 27.9164 32.4981 27.0864 33.3961C25.2698 32.4253 23.5733 31.2206 22.0935 29.7866C23.0042 28.9186 23.8785 28.0159 24.7718 27.1289Z"
|
|
23
|
+
fill="#4B9EFF"
|
|
24
|
+
/>
|
|
25
|
+
<Path
|
|
26
|
+
d="M33.107 28.5774C33.7141 28.1837 34.4825 28.0604 35.1829 28.2485C36.2595 28.5268 37.1639 29.2066 38.0682 29.8232C37.6303 30.2201 37.2303 30.658 36.805 31.0675C35.9465 31.8675 35.1655 32.7434 34.3165 33.5497C34.0192 33.8564 33.7078 34.1473 33.4153 34.4572C33.107 34.7829 32.7418 35.0596 32.4983 35.4406C30.6121 35.0106 28.7892 34.3086 27.0864 33.3963C27.9165 32.4983 28.8097 31.6588 29.6667 30.7876C29.7299 30.7118 29.7821 30.6311 29.8406 30.5521C30.9315 29.9007 32.0287 29.2525 33.107 28.5774Z"
|
|
27
|
+
fill="#5EA8FF"
|
|
28
|
+
/>
|
|
29
|
+
<Path
|
|
30
|
+
d="M38.068 29.8232C38.4411 30.0762 38.8174 30.326 39.2048 30.5553C39.5984 30.7877 39.9083 31.1829 39.9731 31.643C40.0506 32.2027 39.8514 32.7592 39.5716 33.2383C39.2206 33.9323 38.7716 34.5726 38.2814 35.1766C37.8451 35.7126 37.1479 35.9719 36.4712 35.9861C36.0364 36.0145 35.6127 35.8991 35.1811 35.8833C34.2783 35.7964 33.3787 35.6557 32.498 35.4406C32.7415 35.0596 33.1067 34.7829 33.415 34.4572C33.7075 34.1474 34.019 33.8564 34.3162 33.5497C35.1652 32.7434 35.9463 31.8675 36.8048 31.0675C37.2301 30.658 37.6301 30.2201 38.068 29.8232Z"
|
|
31
|
+
fill="#71B2FF"
|
|
32
|
+
/>
|
|
33
|
+
<Rect
|
|
34
|
+
x="4.5"
|
|
35
|
+
y="0.5"
|
|
36
|
+
width="47"
|
|
37
|
+
height="47"
|
|
38
|
+
rx="23.5"
|
|
39
|
+
stroke="#F5F5F5"
|
|
40
|
+
/>
|
|
41
|
+
</G>
|
|
42
|
+
</Svg>
|
|
43
|
+
)
|
|
44
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import Svg, { Rect, SvgProps } from 'react-native-svg'
|
|
3
|
+
export default function Unchecked({
|
|
4
|
+
height,
|
|
5
|
+
width,
|
|
6
|
+
fill = '#171717',
|
|
7
|
+
}: SvgProps) {
|
|
8
|
+
return (
|
|
9
|
+
<Svg width={16} height={17} viewBox="0 0 16 17" fill="none">
|
|
10
|
+
<Rect x={0.5} y={1} width={15} height={15} rx={7.5} stroke="#BBBFCC" />
|
|
11
|
+
</Svg>
|
|
12
|
+
)
|
|
13
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import Svg, { Path, SvgProps } from 'react-native-svg'
|
|
3
|
+
|
|
4
|
+
function SvgComponent(props: SvgProps) {
|
|
5
|
+
return (
|
|
6
|
+
<Svg
|
|
7
|
+
width={props.height ?? 14}
|
|
8
|
+
height={props.width ?? 14}
|
|
9
|
+
viewBox="0 0 14 14"
|
|
10
|
+
fill="none"
|
|
11
|
+
{...props}
|
|
12
|
+
>
|
|
13
|
+
<Path
|
|
14
|
+
fillRule="evenodd"
|
|
15
|
+
clipRule="evenodd"
|
|
16
|
+
d="M5.157 1.037L7 1.667l1.843-.63 1.139 1.648 1.842.63v2.037L12.963 7l-1.139 1.648v2.037l-1.842.63-1.14 1.648L7 12.333l-1.843.63-1.138-1.648-1.843-.63V8.648L1.037 7l1.139-1.648V3.315l1.843-.63 1.138-1.648zM6.253 9.22H6.25a.442.442 0 01-.315-.132L4.428 7.568a.446.446 0 01.63-.63l1.167 1.177 2.7-3.177a.443.443 0 01.78.255.447.447 0 01-.104.324L6.588 9.062a.446.446 0 01-.32.156h-.015z"
|
|
17
|
+
fill={props?.fill ?? '#141519'}
|
|
18
|
+
/>
|
|
19
|
+
</Svg>
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export default SvgComponent
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import Svg, { Path, SvgProps } from 'react-native-svg'
|
|
3
|
+
export default function VideoPlay({ height, width, fill = 'white' }: SvgProps) {
|
|
4
|
+
return (
|
|
5
|
+
<Svg width={width} height={height} viewBox="0 0 16 18" fill="none">
|
|
6
|
+
<Path
|
|
7
|
+
d="M1.33301 0C0.640013 0 1.31618e-05 0.555 1.31618e-05 1.332V16.667C-0.00103643 16.9028 0.0607064 17.1346 0.178898 17.3386C0.297089 17.5426 0.467468 17.7115 0.672527 17.8279C0.877587 17.9443 1.10993 18.0039 1.34569 18.0008C1.58145 17.9977 1.81213 17.9318 2.01401 17.81L14.801 10.145C14.9982 10.0268 15.1614 9.85948 15.2747 9.65943C15.388 9.45938 15.4475 9.2334 15.4475 9.0035C15.4475 8.7736 15.388 8.54762 15.2747 8.34757C15.1614 8.14752 14.9982 7.98023 14.801 7.862L2.01501 0.192C1.8093 0.0673259 1.57355 0.000956492 1.33301 0ZM2.00001 2.515L12.815 9.003L2.00001 15.485V2.515Z"
|
|
8
|
+
fill={fill}
|
|
9
|
+
/>
|
|
10
|
+
</Svg>
|
|
11
|
+
)
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import Svg, { Path, SvgProps } from 'react-native-svg'
|
|
3
|
+
|
|
4
|
+
function VolumeOff(props: SvgProps) {
|
|
5
|
+
return (
|
|
6
|
+
<Svg width={24} height={24} viewBox="0 0 24 24" fill="none" {...props}>
|
|
7
|
+
<Path
|
|
8
|
+
d="M11 7.08a1 1 0 00-1.625-.78L6.274 8.78a1 1 0 01-.625.22H3a1 1 0 00-1 1v4a1 1 0 001 1h2.65a1 1 0 01.624.22l3.101 2.48A1 1 0 0011 16.92V7.08zM23 9l-6 6M17 9l6 6"
|
|
9
|
+
stroke={props.stroke ?? '#000'}
|
|
10
|
+
strokeWidth={props.strokeWidth ?? 1.5}
|
|
11
|
+
strokeLinecap="round"
|
|
12
|
+
strokeLinejoin="round"
|
|
13
|
+
/>
|
|
14
|
+
</Svg>
|
|
15
|
+
)
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export default VolumeOff
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import Svg, { Path, SvgProps } from 'react-native-svg'
|
|
3
|
+
|
|
4
|
+
function VolumeOn(props: SvgProps) {
|
|
5
|
+
return (
|
|
6
|
+
<Svg width={24} height={24} viewBox="0 0 24 24" fill="none" {...props}>
|
|
7
|
+
<Path
|
|
8
|
+
d="M11 7.08a1 1 0 00-1.625-.78L6.274 8.78a1 1 0 01-.625.22H3a1 1 0 00-1 1v4a1 1 0 001 1h2.65a1 1 0 01.624.22l3.101 2.48A1 1 0 0011 16.92V7.08zM19.07 4.93a10 10 0 010 14.14M15.54 8.46a5 5 0 010 7.07"
|
|
9
|
+
stroke={props.stroke ?? '#000'}
|
|
10
|
+
strokeWidth={props.strokeWidth ?? 1.5}
|
|
11
|
+
strokeLinecap="round"
|
|
12
|
+
strokeLinejoin="round"
|
|
13
|
+
/>
|
|
14
|
+
</Svg>
|
|
15
|
+
)
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export default VolumeOn
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import Svg, { Path, SvgProps } from 'react-native-svg'
|
|
3
|
+
export default function VideoPlay({ height, width, fill = 'white' }: SvgProps) {
|
|
4
|
+
return (
|
|
5
|
+
<Svg width={width} height={height} viewBox="0 0 22 22" fill="none">
|
|
6
|
+
<Path
|
|
7
|
+
d="M15.3333 6.66685V2.87589C15.3333 1.97484 15.3333 1.52431 15.1435 1.24744C14.9777 1.00554 14.7209 0.841218 14.4317 0.792017C14.1008 0.735704 13.6917 0.9245 12.8736 1.30209L3.26393 5.73734C2.5343 6.07409 2.16948 6.24247 1.90228 6.50361C1.66606 6.73447 1.48575 7.01628 1.37513 7.3275C1.25 7.67953 1.25 8.08133 1.25 8.88493V14.2502M15.875 13.7085H15.8858M1.25 10.1335L1.25 17.2835C1.25 18.497 1.25 19.1037 1.48615 19.5672C1.69388 19.9748 2.02534 20.3063 2.43302 20.514C2.8965 20.7502 3.50322 20.7502 4.71667 20.7502H17.2833C18.4968 20.7502 19.1035 20.7502 19.567 20.514C19.9747 20.3063 20.3061 19.9748 20.5138 19.5672C20.75 19.1037 20.75 18.497 20.75 17.2835V10.1335C20.75 8.92007 20.75 8.31334 20.5138 7.84987C20.3061 7.44218 19.9747 7.11073 19.567 6.903C19.1035 6.66685 18.4968 6.66685 17.2833 6.66685L4.71667 6.66685C3.50322 6.66685 2.8965 6.66685 2.43302 6.903C2.02534 7.11072 1.69388 7.44218 1.48615 7.84987C1.25 8.31334 1.25 8.92007 1.25 10.1335ZM16.4167 13.7085C16.4167 14.0077 16.1742 14.2502 15.875 14.2502C15.5758 14.2502 15.3333 14.0077 15.3333 13.7085C15.3333 13.4094 15.5758 13.1668 15.875 13.1668C16.1742 13.1668 16.4167 13.4094 16.4167 13.7085Z"
|
|
8
|
+
stroke="black"
|
|
9
|
+
stroke-linecap="round"
|
|
10
|
+
stroke-linejoin="round"
|
|
11
|
+
/>
|
|
12
|
+
</Svg>
|
|
13
|
+
)
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import Svg, { Path, SvgProps } from 'react-native-svg'
|
|
3
|
+
|
|
4
|
+
export default function Youtube({
|
|
5
|
+
height = '18',
|
|
6
|
+
width = '25',
|
|
7
|
+
stroke,
|
|
8
|
+
color,
|
|
9
|
+
fill,
|
|
10
|
+
}: SvgProps) {
|
|
11
|
+
return (
|
|
12
|
+
<Svg
|
|
13
|
+
width={width}
|
|
14
|
+
height={height}
|
|
15
|
+
stroke={stroke}
|
|
16
|
+
color={color}
|
|
17
|
+
fill="none"
|
|
18
|
+
viewBox="0 0 25 18"
|
|
19
|
+
>
|
|
20
|
+
<Path
|
|
21
|
+
d="M24.2609 4.1998C24.2609 4.1998 24.0266 2.54512 23.3047 1.81855C22.3906 0.862305 21.3688 0.857617 20.9 0.801367C17.5438 0.557617 12.5047 0.557617 12.5047 0.557617H12.4953C12.4953 0.557617 7.45625 0.557617 4.1 0.801367C3.63125 0.857617 2.60938 0.862305 1.69531 1.81855C0.973438 2.54512 0.74375 4.1998 0.74375 4.1998C0.74375 4.1998 0.5 6.14512 0.5 8.08574V9.90449C0.5 11.8451 0.739062 13.7904 0.739062 13.7904C0.739062 13.7904 0.973437 15.4451 1.69062 16.1717C2.60469 17.1279 3.80469 17.0951 4.33906 17.1982C6.26094 17.3811 12.5 17.4373 12.5 17.4373C12.5 17.4373 17.5438 17.4279 20.9 17.1889C21.3688 17.1326 22.3906 17.1279 23.3047 16.1717C24.0266 15.4451 24.2609 13.7904 24.2609 13.7904C24.2609 13.7904 24.5 11.8498 24.5 9.90449V8.08574C24.5 6.14512 24.2609 4.1998 24.2609 4.1998ZM10.0203 12.1123V5.36699L16.5031 8.75137L10.0203 12.1123Z"
|
|
22
|
+
fill={fill}
|
|
23
|
+
/>
|
|
24
|
+
</Svg>
|
|
25
|
+
)
|
|
26
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { NumberProp } from 'react-native-svg'
|
|
2
|
+
|
|
3
|
+
const SUPPORTED_IMG_EXTENSIONS = [
|
|
4
|
+
'jpg',
|
|
5
|
+
'jpeg',
|
|
6
|
+
'png',
|
|
7
|
+
'gif',
|
|
8
|
+
'webp',
|
|
9
|
+
'bmp',
|
|
10
|
+
'ico',
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
const isUrl = (url: string): boolean => {
|
|
14
|
+
if (!url) return false
|
|
15
|
+
const lowerUrl = url.toLowerCase()
|
|
16
|
+
return lowerUrl.startsWith('http://') || lowerUrl.startsWith('https://')
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const getPathname = (url: string): string => {
|
|
20
|
+
const withoutQuery = url.split('?')[0] ?? ''
|
|
21
|
+
const withoutHash = withoutQuery.split('#')[0] ?? ''
|
|
22
|
+
return withoutHash.split('/').pop() ?? ''
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export const isSvgUrl = (value: string): boolean => {
|
|
26
|
+
try {
|
|
27
|
+
const pathname = getPathname(value).toLowerCase()
|
|
28
|
+
return isUrl(value) && pathname.endsWith('.svg')
|
|
29
|
+
} catch {
|
|
30
|
+
return false
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export const isImageUrl = (value: string): boolean => {
|
|
35
|
+
try {
|
|
36
|
+
const pathname = getPathname(value).toLowerCase()
|
|
37
|
+
const hasSupportedExtension = SUPPORTED_IMG_EXTENSIONS.some((ext) =>
|
|
38
|
+
pathname.endsWith(`.${ext}`)
|
|
39
|
+
)
|
|
40
|
+
return isUrl(value) && hasSupportedExtension
|
|
41
|
+
} catch {
|
|
42
|
+
return false
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function getNumDimensions(
|
|
47
|
+
width?: NumberProp,
|
|
48
|
+
height?: NumberProp
|
|
49
|
+
): [number | undefined, number | undefined] {
|
|
50
|
+
const numWidth = typeof width === 'number' ? width : undefined
|
|
51
|
+
const numHeight = typeof height === 'number' ? height : undefined
|
|
52
|
+
return [numWidth, numHeight]
|
|
53
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-native/extend-expect'
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { removeUndefined } from '@gauntlet/analytics'
|
|
2
|
+
import { LocalStorage } from '@gauntlet/local-storage'
|
|
3
|
+
import { useAppStore } from '@gauntlet/state'
|
|
4
|
+
import { AppConfig } from '@gauntlet/types'
|
|
5
|
+
import messaging from '@react-native-firebase/messaging'
|
|
6
|
+
import EnvConfig from 'react-native-config'
|
|
7
|
+
|
|
8
|
+
interface AppUserInterface {
|
|
9
|
+
email?: string
|
|
10
|
+
phoneNumber?: string
|
|
11
|
+
firstName?: string
|
|
12
|
+
lastName?: string
|
|
13
|
+
pushToken: string
|
|
14
|
+
deviceInstanceId: string
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export class AppUser {
|
|
18
|
+
static USER_KEY = 'app-user'
|
|
19
|
+
static BASE_URL = `${EnvConfig.APP_SERVICE_URL}/users`
|
|
20
|
+
static USER_EXPIRY_IN_MILLISECONDS = 1000 * 60 * 60 * 24 * 15
|
|
21
|
+
static USER_PROPERTIES: (keyof AppUserInterface)[] = [
|
|
22
|
+
'email',
|
|
23
|
+
'phoneNumber',
|
|
24
|
+
'firstName',
|
|
25
|
+
'lastName',
|
|
26
|
+
'pushToken',
|
|
27
|
+
'deviceInstanceId',
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
static async init(config?: AppConfig) {
|
|
31
|
+
try {
|
|
32
|
+
this.USER_EXPIRY_IN_MILLISECONDS =
|
|
33
|
+
config?.settings?.global?.appUserExpiryInMS ||
|
|
34
|
+
this.USER_EXPIRY_IN_MILLISECONDS
|
|
35
|
+
const userLoggedIn = useAppStore.getState().user.isUserAuthenticated()
|
|
36
|
+
if (!userLoggedIn) {
|
|
37
|
+
await this.updateUser()
|
|
38
|
+
}
|
|
39
|
+
} catch (e) {
|
|
40
|
+
console.log(e)
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
static async updateUser(user?: any) {
|
|
45
|
+
const getInstanceId = useAppStore.getState().analytics.getInstanceId
|
|
46
|
+
const token = await messaging().getToken()
|
|
47
|
+
if (token) {
|
|
48
|
+
const updatedUser = {
|
|
49
|
+
pushToken: token,
|
|
50
|
+
deviceInstanceId: getInstanceId(),
|
|
51
|
+
email: user?.email,
|
|
52
|
+
phoneNumber: user?.phoneNumber,
|
|
53
|
+
firstName: user?.firstName,
|
|
54
|
+
lastName: user?.lastName,
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
removeUndefined(updatedUser)
|
|
58
|
+
|
|
59
|
+
const userUpdated = this.checkIfUserUpdated(updatedUser)
|
|
60
|
+
if (userUpdated) {
|
|
61
|
+
const response = await fetch(`${this.BASE_URL}`, {
|
|
62
|
+
method: 'POST',
|
|
63
|
+
headers: {
|
|
64
|
+
'Content-Type': 'application/json',
|
|
65
|
+
},
|
|
66
|
+
body: JSON.stringify({ ...updatedUser, appId: EnvConfig.APP_ID }),
|
|
67
|
+
})
|
|
68
|
+
const isUserUpdated = !(await response.json()).error
|
|
69
|
+
if (isUserUpdated) {
|
|
70
|
+
this.updateUserInLocalStorage(updatedUser)
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
private static checkIfUserUpdated(updatedUser: AppUserInterface) {
|
|
77
|
+
const localStorage = LocalStorage.getInstance()
|
|
78
|
+
const currentUser:
|
|
79
|
+
| {
|
|
80
|
+
data: AppUserInterface
|
|
81
|
+
lastSyncedAt: number
|
|
82
|
+
}
|
|
83
|
+
| undefined = localStorage.getJson(this.USER_KEY)
|
|
84
|
+
if (!currentUser || !currentUser.data || !currentUser.lastSyncedAt) {
|
|
85
|
+
return true
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
const expired =
|
|
89
|
+
(currentUser.lastSyncedAt as number) <
|
|
90
|
+
Date.now() - this.USER_EXPIRY_IN_MILLISECONDS
|
|
91
|
+
|
|
92
|
+
const anyChangeInUserProperty = !this.USER_PROPERTIES.every((key) => {
|
|
93
|
+
return updatedUser[key] === currentUser.data[key]
|
|
94
|
+
})
|
|
95
|
+
|
|
96
|
+
const userUpdated = expired || anyChangeInUserProperty
|
|
97
|
+
return userUpdated
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
private static updateUserInLocalStorage(updatedUser: AppUserInterface) {
|
|
101
|
+
const localStorage = LocalStorage.getInstance()
|
|
102
|
+
localStorage.set(this.USER_KEY, {
|
|
103
|
+
data: updatedUser,
|
|
104
|
+
lastSyncedAt: Date.now(),
|
|
105
|
+
})
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const trackerConfig = {
|
|
2
|
+
android: {
|
|
3
|
+
firebaseAppId: '1:444706537999:android:11b0d89a996d60c927197a',
|
|
4
|
+
apiKey: 'SYv0XlMnTBONYAo0KSAiAg',
|
|
5
|
+
},
|
|
6
|
+
ios: {
|
|
7
|
+
firebaseAppId: '1:444706537999:ios:6c7563bcd6e3276227197a',
|
|
8
|
+
apiKey: '3ip0WZ0xSl-gUSqwVEYaNQ',
|
|
9
|
+
},
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const trackerConfig = {
|
|
2
|
+
android: {
|
|
3
|
+
firebaseAppId: '1:234880715042:android:56fd9849f0883448913d7b',
|
|
4
|
+
apiKey: 'c4EGflbiQIeD2wopPukKsg',
|
|
5
|
+
},
|
|
6
|
+
ios: {
|
|
7
|
+
firebaseAppId: '1:234880715042:ios:e602756a2a4e6c0f913d7b',
|
|
8
|
+
apiKey: '2rzELbueTgORxUF_utePnQ',
|
|
9
|
+
},
|
|
10
|
+
}
|