@shopgate/engage 7.30.3 → 7.31.0-alpha.1
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/a11y/components/LiveMessage/index.js +29 -11
- package/a11y/components/Navigation/index.js +21 -11
- package/a11y/components/VisuallyHidden/index.js +13 -8
- package/a11y/styles.js +15 -13
- package/account/actions/deleteContact.d.ts +2 -0
- package/account/actions/deleteContact.d.ts.map +1 -0
- package/account/actions/deleteCustomer.d.ts +2 -0
- package/account/actions/deleteCustomer.d.ts.map +1 -0
- package/account/actions/fetchContacts.d.ts +2 -0
- package/account/actions/fetchContacts.d.ts.map +1 -0
- package/account/actions/fetchCustomer.d.ts +2 -0
- package/account/actions/fetchCustomer.d.ts.map +1 -0
- package/account/actions/updateCustomer.d.ts +2 -0
- package/account/actions/updateCustomer.d.ts.map +1 -0
- package/account/components/Account/Account.connector.d.ts +5 -0
- package/account/components/Account/Account.connector.d.ts.map +1 -0
- package/account/components/Account/Account.d.ts +14 -0
- package/account/components/Account/Account.d.ts.map +1 -0
- package/account/components/Account/Account.js +38 -9
- package/account/components/Account/index.d.ts +2 -0
- package/account/components/Account/index.d.ts.map +1 -0
- package/account/components/Profile/Profile.config.d.ts +20 -0
- package/account/components/Profile/Profile.config.d.ts.map +1 -0
- package/account/components/Profile/Profile.constraints.d.ts +32 -0
- package/account/components/Profile/Profile.constraints.d.ts.map +1 -0
- package/account/components/Profile/Profile.d.ts +4 -0
- package/account/components/Profile/Profile.d.ts.map +1 -0
- package/account/components/Profile/Profile.js +9 -6
- package/account/components/Profile/Profile.provider.d.ts +59 -0
- package/account/components/Profile/Profile.provider.d.ts.map +1 -0
- package/account/components/Profile/ProfileAddressBook.d.ts +15 -0
- package/account/components/Profile/ProfileAddressBook.d.ts.map +1 -0
- package/account/components/Profile/ProfileAddressBook.js +22 -20
- package/account/components/Profile/ProfileAddressCard.d.ts +28 -0
- package/account/components/Profile/ProfileAddressCard.d.ts.map +1 -0
- package/account/components/Profile/ProfileAddressCard.js +50 -54
- package/account/components/Profile/ProfileForm.d.ts +7 -0
- package/account/components/Profile/ProfileForm.d.ts.map +1 -0
- package/account/components/Profile/ProfileForm.js +29 -27
- package/account/components/Profile/ProfileHeader.d.ts +6 -0
- package/account/components/Profile/ProfileHeader.d.ts.map +1 -0
- package/account/components/Profile/ProfileHeader.js +14 -12
- package/account/components/Profile/index.d.ts +2 -0
- package/account/components/Profile/index.d.ts.map +1 -0
- package/account/components/ProfileContact/ProfileContact.js +23 -20
- package/account/components/index.d.ts +2 -0
- package/account/components/index.d.ts.map +1 -0
- package/account/constants/actions.d.ts +25 -0
- package/account/constants/actions.d.ts.map +1 -0
- package/account/constants/index.d.ts +4 -0
- package/account/constants/index.d.ts.map +1 -0
- package/account/constants/pipelines.d.ts +2 -0
- package/account/constants/pipelines.d.ts.map +1 -0
- package/account/constants/routes.d.ts +7 -0
- package/account/constants/routes.d.ts.map +1 -0
- package/account/helper/form.d.ts +12 -0
- package/account/helper/form.d.ts.map +1 -0
- package/account/helper/form.js +2 -1
- package/account/index.d.ts +3 -0
- package/account/index.d.ts.map +1 -0
- package/account/selectors/contacts.d.ts +2 -0
- package/account/selectors/contacts.d.ts.map +1 -0
- package/account/selectors/customer.d.ts +2 -0
- package/account/selectors/customer.d.ts.map +1 -0
- package/back-in-stock/components/BackInStockButton/index.js +53 -13
- package/back-in-stock/components/Subscriptions/components/List/index.js +17 -14
- package/back-in-stock/components/Subscriptions/components/Subscription/index.js +46 -51
- package/cart/cart.helpers.js +1 -0
- package/cart/components/CartHeaderWide/CartHeaderWide.js +19 -7
- package/cart/components/CartItem/CartItemCoupon.js +122 -135
- package/cart/components/CartItem/CartItemCouponDelete.js +24 -11
- package/cart/components/CartItem/CartItemCouponFreeShipping.js +1 -1
- package/cart/components/CartItem/CartItemCouponLayout.js +44 -18
- package/cart/components/CartItem/CartItemCouponPrice.js +14 -4
- package/cart/components/CartItem/CartItemCouponTitle.js +15 -4
- package/cart/components/CartItem/CartItemProduct.js +41 -12
- package/cart/components/CartItem/CartItemProductLayout.js +97 -17
- package/cart/components/CartItem/CartItemProductLayoutWide.js +144 -26
- package/cart/components/CartItem/CartItemProductLayoutWideFulfillmentLabel.js +14 -4
- package/cart/components/CartItem/CartItemProductLayoutWideOrderDetails.js +66 -9
- package/cart/components/CartItem/CartItemProductLayoutWideRemoveItem.js +20 -4
- package/cart/components/CartItem/CartItemProductOrderDetails.js +43 -15
- package/cart/components/CartItem/CartItemProductPriceCaption.js +15 -4
- package/cart/components/CartItem/CartItemProductPriceList.js +18 -15
- package/cart/components/CartItem/CartItemProductPriceListPromotion.js +29 -27
- package/cart/components/CartItem/CartItemProductTitle.js +34 -8
- package/cart/components/CartItem/CartItemQuantityPicker.js +99 -133
- package/cart/components/CartItem/CartItemSubstitution.js +15 -4
- package/cart/components/CartItems/CartItemCard.js +12 -3
- package/cart/components/CartItems/CartItemCardReservation.js +11 -3
- package/cart/components/CartItems/CartItemCardReservationAccordion.js +47 -27
- package/cart/components/CartItems/CartItemCardReservationLabel.js +43 -8
- package/cart/components/CartItems/CartItemCardReservationLabelChangeStore.js +20 -4
- package/cart/components/CartItems/CartItemGroupReservation.js +21 -5
- package/cart/components/CartItems/CartItemGroupReservationLabel.js +24 -6
- package/cart/components/CartItems/CartItemGroupShipping.js +37 -16
- package/cart/components/CartItems/CartItems.js +28 -6
- package/cart/components/CartItems/CartItemsHeaderWide.js +140 -42
- package/cart/components/CartItems/CartItemsSubstitution.js +1 -1
- package/cart/components/CartSummaryWide/CartSummaryWide.js +79 -37
- package/cart/components/CartSummaryWide/CartSummaryWideCheckoutButton.js +31 -7
- package/cart/components/PaymentBar/PaymentBarAppliedPromotions.js +14 -4
- package/cart/components/PaymentBar/PaymentBarCheckoutButton.js +22 -3
- package/cart/components/PaymentBar/PaymentBarContent.js +45 -7
- package/cart/components/PaymentBar/PaymentBarDiscounts.js +14 -3
- package/cart/components/PaymentBar/PaymentBarGrandTotal.js +14 -3
- package/cart/components/PaymentBar/PaymentBarPromotionCouponMessages.js +36 -30
- package/cart/components/PaymentBar/PaymentBarPromotionCoupons.js +21 -15
- package/cart/components/PaymentBar/PaymentBarPromotionalText.js +36 -35
- package/cart/components/PaymentBar/PaymentBarReserveButton.js +22 -3
- package/cart/components/PaymentBar/PaymentBarShippingCost.js +14 -3
- package/cart/components/PaymentBar/PaymentBarSubTotal.js +14 -3
- package/cart/components/PaymentBar/PaymentBarTax.js +14 -3
- package/cart/components/Substitution/index.js +55 -22
- package/cart/components/SupplementalContent/SupplementalContent.js +33 -4
- package/category/components/CategoryList/index.js +28 -9
- package/checkout/actions/errorCheckout.js +1 -0
- package/checkout/components/AddressBook/AddressList.js +22 -25
- package/checkout/components/AddressBookContact/AddressBookContact.js +10 -8
- package/checkout/components/Checkout/Checkout.js +15 -13
- package/checkout/components/Checkout/CheckoutActions.js +10 -7
- package/checkout/components/Checkout/CheckoutAddress.js +18 -19
- package/checkout/components/Checkout/CheckoutHeader.js +31 -26
- package/checkout/components/Checkout/CheckoutPickupContactForm.js +17 -26
- package/checkout/components/Checkout/CheckoutSection.js +103 -102
- package/checkout/components/Checkout/CheckoutSectionInfo.js +23 -21
- package/checkout/components/Checkout/CheckoutSectionMessages.js +26 -27
- package/checkout/components/Checkout/CheckoutSummary.js +19 -16
- package/checkout/components/CheckoutConfirmation/CheckoutConfirmation.js +56 -63
- package/checkout/components/CheckoutConfirmation/CheckoutConfirmationOrderSummary.js +12 -9
- package/checkout/components/CheckoutConfirmation/CheckoutConfirmationSection.js +55 -48
- package/checkout/components/GuestCheckout/GuestCheckout.js +44 -40
- package/checkout/components/GuestCheckout/GuestCheckoutOptIn.config.js +1 -1
- package/checkout/components/GuestCheckout/GuestCheckoutOptIn.js +15 -19
- package/checkout/components/GuestCheckout/GuestCheckoutPickup.js +13 -14
- package/checkout/components/GuestCheckout/GuestCheckoutPickupNotes.config.js +1 -1
- package/checkout/components/GuestCheckout/GuestCheckoutPickupNotes.js +13 -10
- package/checkout/components/PaymentMethodButton/PaymentMethodButton.js +16 -11
- package/checkout/components/ResponsiveBackButton/ResponsiveBackButton.js +30 -5
- package/checkout/components/ShippingMethods/ShippingMethod.js +23 -24
- package/checkout/components/ShippingMethods/ShippingMethods.js +57 -55
- package/checkout/components/SupplementalContent/SupplementalContent.js +33 -4
- package/checkout/helpers/index.js +2 -1
- package/checkout/paymentMethods/index.js +17 -18
- package/checkout/paymentMethods/paypal/PaypalButtonApp.js +9 -6
- package/checkout/paymentMethods/paypal/PaypalButtonWeb.js +9 -6
- package/checkout/paymentMethods/paypal/PaypalPayButton.js +10 -7
- package/checkout/paymentMethods/stripe/StripeButton.js +10 -7
- package/checkout/paymentMethods/stripe/StripeCreditCard.js +21 -19
- package/checkout/selectors/order.js +1 -0
- package/components/BrandingColorBanner/BrandingColorBanner.d.ts +7 -0
- package/components/BrandingColorBanner/BrandingColorBanner.d.ts.map +1 -0
- package/components/BrandingColorBanner/BrandingColorBanner.js +21 -15
- package/components/BrandingColorBanner/index.d.ts +2 -0
- package/components/BrandingColorBanner/index.d.ts.map +1 -0
- package/components/ChipLayout/index.d.ts +33 -0
- package/components/ChipLayout/index.d.ts.map +1 -0
- package/components/ChipLayout/index.js +109 -124
- package/components/ConditionalWrapper/ConditionalWrapper.d.ts +25 -0
- package/components/ConditionalWrapper/ConditionalWrapper.d.ts.map +1 -0
- package/components/ConditionalWrapper/index.d.ts +2 -0
- package/components/ConditionalWrapper/index.d.ts.map +1 -0
- package/components/ConnectedReactPortal/index.d.ts +27 -0
- package/components/ConnectedReactPortal/index.d.ts.map +1 -0
- package/components/Footer/Footer.d.ts +18 -0
- package/components/Footer/Footer.d.ts.map +1 -0
- package/components/Footer/Footer.js +16 -5
- package/components/Footer/constants.d.ts +3 -0
- package/components/Footer/constants.d.ts.map +1 -0
- package/components/Footer/helpers.d.ts +5 -0
- package/components/Footer/helpers.d.ts.map +1 -0
- package/components/Footer/helpers.js +1 -0
- package/components/Footer/index.d.ts +2 -0
- package/components/Footer/index.d.ts.map +1 -0
- package/components/Form/Builder/Builder.constants.d.ts +14 -0
- package/components/Form/Builder/Builder.constants.d.ts.map +1 -0
- package/components/Form/Builder/Builder.d.ts +562 -0
- package/components/Form/Builder/Builder.d.ts.map +1 -0
- package/components/Form/Builder/ElementCheckbox.d.ts +21 -0
- package/components/Form/Builder/ElementCheckbox.d.ts.map +1 -0
- package/components/Form/Builder/ElementMultiSelect.d.ts +21 -0
- package/components/Form/Builder/ElementMultiSelect.d.ts.map +1 -0
- package/components/Form/Builder/ElementPhoneNumber.d.ts +9 -0
- package/components/Form/Builder/ElementPhoneNumber.d.ts.map +1 -0
- package/components/Form/Builder/ElementPhoneNumber.js +23 -36
- package/components/Form/Builder/ElementRadio.d.ts +21 -0
- package/components/Form/Builder/ElementRadio.d.ts.map +1 -0
- package/components/Form/Builder/ElementSelect.d.ts +21 -0
- package/components/Form/Builder/ElementSelect.d.ts.map +1 -0
- package/components/Form/Builder/ElementText.d.ts +21 -0
- package/components/Form/Builder/ElementText.d.ts.map +1 -0
- package/components/Form/Builder/FormHelper.d.ts +23 -0
- package/components/Form/Builder/FormHelper.d.ts.map +1 -0
- package/components/Form/Builder/classes/ActionListener.constants.d.ts +21 -0
- package/components/Form/Builder/classes/ActionListener.constants.d.ts.map +1 -0
- package/components/Form/Builder/classes/ActionListener.d.ts +99 -0
- package/components/Form/Builder/classes/ActionListener.d.ts.map +1 -0
- package/components/Form/Builder/classes/ActionListener.js +1 -0
- package/components/Form/Builder/helpers/buildCountryList.d.ts +3 -0
- package/components/Form/Builder/helpers/buildCountryList.d.ts.map +1 -0
- package/components/Form/Builder/helpers/buildFormDefaults.d.ts +3 -0
- package/components/Form/Builder/helpers/buildFormDefaults.d.ts.map +1 -0
- package/components/Form/Builder/helpers/buildFormElements.d.ts +16 -0
- package/components/Form/Builder/helpers/buildFormElements.d.ts.map +1 -0
- package/components/Form/Builder/helpers/buildProvinceList.d.ts +3 -0
- package/components/Form/Builder/helpers/buildProvinceList.d.ts.map +1 -0
- package/components/Form/Builder/helpers/buildValidationErrorList.d.ts +6 -0
- package/components/Form/Builder/helpers/buildValidationErrorList.d.ts.map +1 -0
- package/components/Form/Builder/helpers/common.d.ts +2 -0
- package/components/Form/Builder/helpers/common.d.ts.map +1 -0
- package/components/Form/Builder/helpers/iso-3166-2.d.ts +6803 -0
- package/components/Form/Builder/helpers/iso-3166-2.d.ts.map +1 -0
- package/components/Form/Builder/index.d.ts +2 -0
- package/components/Form/Builder/index.d.ts.map +1 -0
- package/components/Form/Builder/stylePresets.d.ts +22 -0
- package/components/Form/Builder/stylePresets.d.ts.map +1 -0
- package/components/Form/Builder/stylePresets.js +12 -6
- package/components/Form/Form.d.ts +39 -0
- package/components/Form/Form.d.ts.map +1 -0
- package/components/Form/index.d.ts +4 -0
- package/components/Form/index.d.ts.map +1 -0
- package/components/IntersectionVisibility/index.d.ts +61 -0
- package/components/IntersectionVisibility/index.d.ts.map +1 -0
- package/components/Logo/connector.d.ts +3 -0
- package/components/Logo/connector.d.ts.map +1 -0
- package/components/Logo/index.d.ts +26 -0
- package/components/Logo/index.d.ts.map +1 -0
- package/components/Logo/index.js +27 -6
- package/components/Menu/components/Item/index.d.ts +24 -0
- package/components/Menu/components/Item/index.d.ts.map +1 -0
- package/components/Menu/components/Item/index.js +30 -3
- package/components/Menu/components/Position/index.d.ts +27 -0
- package/components/Menu/components/Position/index.d.ts.map +1 -0
- package/components/Menu/components/Position/index.js +41 -56
- package/components/Menu/index.d.ts +29 -0
- package/components/Menu/index.d.ts.map +1 -0
- package/components/Menu/index.js +76 -70
- package/components/MessageBar/MessageBar.d.ts +31 -0
- package/components/MessageBar/MessageBar.d.ts.map +1 -0
- package/components/MessageBar/MessageBar.js +147 -8
- package/components/MessageBar/index.d.ts +2 -0
- package/components/MessageBar/index.d.ts.map +1 -0
- package/components/NavigationHandler/connector.d.ts +3 -0
- package/components/NavigationHandler/connector.d.ts.map +1 -0
- package/components/NavigationHandler/index.d.ts +50 -0
- package/components/NavigationHandler/index.d.ts.map +1 -0
- package/components/NullComponent/index.d.ts +9 -0
- package/components/NullComponent/index.d.ts.map +1 -0
- package/components/Picker/components/Button/index.d.ts +20 -0
- package/components/Picker/components/Button/index.d.ts.map +1 -0
- package/components/Picker/components/Button/index.js +35 -14
- package/components/Picker/components/List/index.d.ts +26 -0
- package/components/Picker/components/List/index.d.ts.map +1 -0
- package/components/Picker/components/List/index.js +25 -7
- package/components/Picker/components/Modal/index.d.ts +16 -0
- package/components/Picker/components/Modal/index.d.ts.map +1 -0
- package/components/Picker/components/Modal/index.js +122 -71
- package/components/Picker/index.d.ts +3 -0
- package/components/Picker/index.d.ts.map +1 -0
- package/components/Picker/index.js +2 -1
- package/components/PickerUtilize/components/Button/index.d.ts +23 -0
- package/components/PickerUtilize/components/Button/index.d.ts.map +1 -0
- package/components/PickerUtilize/components/Button/index.js +58 -14
- package/components/PickerUtilize/index.d.ts +3 -0
- package/components/PickerUtilize/index.d.ts.map +1 -0
- package/components/PickerUtilize/index.js +73 -85
- package/components/PickerUtilize/spec.js +0 -1
- package/components/QuantityInput/QuantityInput.d.ts +8 -0
- package/components/QuantityInput/QuantityInput.d.ts.map +1 -0
- package/components/QuantityInput/helper.d.ts +3 -0
- package/components/QuantityInput/helper.d.ts.map +1 -0
- package/components/QuantityInput/helper.js +1 -1
- package/components/QuantityInput/index.d.ts +2 -0
- package/components/QuantityInput/index.d.ts.map +1 -0
- package/components/QuantityLabel/QuantityLabel.d.ts +24 -0
- package/components/QuantityLabel/QuantityLabel.d.ts.map +1 -0
- package/components/QuantityLabel/index.d.ts +2 -0
- package/components/QuantityLabel/index.d.ts.map +1 -0
- package/components/Radio/Radio.d.ts +36 -0
- package/components/Radio/Radio.d.ts.map +1 -0
- package/components/Radio/Radio.js +30 -27
- package/components/Radio/index.d.ts +2 -0
- package/components/Radio/index.d.ts.map +1 -0
- package/components/RadioCard/RadioCard.d.ts +62 -0
- package/components/RadioCard/RadioCard.d.ts.map +1 -0
- package/components/RadioCard/RadioCard.js +32 -27
- package/components/RadioCard/index.d.ts +2 -0
- package/components/RadioCard/index.d.ts.map +1 -0
- package/components/RadioGroup/RadioGroup.context.d.ts +4 -0
- package/components/RadioGroup/RadioGroup.context.d.ts.map +1 -0
- package/components/RadioGroup/RadioGroup.d.ts +36 -0
- package/components/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/components/RadioGroup/RadioGroup.js +11 -8
- package/components/RadioGroup/index.d.ts +3 -0
- package/components/RadioGroup/index.d.ts.map +1 -0
- package/components/RadioGroup/useRadioGroup.d.ts +6 -0
- package/components/RadioGroup/useRadioGroup.d.ts.map +1 -0
- package/components/RangeSlider/components/Handle/index.d.ts +39 -0
- package/components/RangeSlider/components/Handle/index.d.ts.map +1 -0
- package/components/RangeSlider/components/Handle/index.js +23 -4
- package/components/RangeSlider/helper.d.ts +7 -0
- package/components/RangeSlider/helper.d.ts.map +1 -0
- package/components/RangeSlider/index.d.ts +35 -0
- package/components/RangeSlider/index.d.ts.map +1 -0
- package/components/RangeSlider/index.js +243 -242
- package/components/RangeSlider/spec.js +2 -5
- package/components/ResponsiveContainer/ResponsiveContainer.d.ts +33 -0
- package/components/ResponsiveContainer/ResponsiveContainer.d.ts.map +1 -0
- package/components/ResponsiveContainer/breakpoints.d.ts +8 -0
- package/components/ResponsiveContainer/breakpoints.d.ts.map +1 -0
- package/components/ResponsiveContainer/condition.d.ts +2 -0
- package/components/ResponsiveContainer/condition.d.ts.map +1 -0
- package/components/ResponsiveContainer/hooks.d.ts +9 -0
- package/components/ResponsiveContainer/hooks.d.ts.map +1 -0
- package/components/ResponsiveContainer/index.d.ts +2 -0
- package/components/ResponsiveContainer/index.d.ts.map +1 -0
- package/components/ResponsiveContainer/listener.d.ts +2 -0
- package/components/ResponsiveContainer/listener.d.ts.map +1 -0
- package/components/ResponsiveContainer/mediaQuery.d.ts +2 -0
- package/components/ResponsiveContainer/mediaQuery.d.ts.map +1 -0
- package/components/ScrollHeader/index.d.ts +16 -0
- package/components/ScrollHeader/index.d.ts.map +1 -0
- package/components/ScrollHeader/index.js +35 -7
- package/components/SheetDrawer/index.d.ts +7 -0
- package/components/SheetDrawer/index.d.ts.map +1 -0
- package/components/SheetList/components/Item/index.d.ts +3 -0
- package/components/SheetList/components/Item/index.d.ts.map +1 -0
- package/components/SheetList/components/Item/index.js +138 -104
- package/components/SheetList/components/Item/spec.js +5 -19
- package/components/SheetList/index.d.ts +30 -0
- package/components/SheetList/index.d.ts.map +1 -0
- package/components/SheetList/index.js +77 -59
- package/components/SheetList/spec.js +1 -2
- package/components/SideNavigation/SideNavigation.d.ts +31 -0
- package/components/SideNavigation/SideNavigation.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigation.hooks.d.ts +2 -0
- package/components/SideNavigation/SideNavigation.hooks.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationCategories.connector.d.ts +3 -0
- package/components/SideNavigation/SideNavigationCategories.connector.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationCategories.d.ts +4 -0
- package/components/SideNavigation/SideNavigationCategories.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationCategories.js +31 -6
- package/components/SideNavigation/SideNavigationCategoriesItem.connector.d.ts +3 -0
- package/components/SideNavigation/SideNavigationCategoriesItem.connector.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationCategoriesItem.d.ts +4 -0
- package/components/SideNavigation/SideNavigationCategoriesItem.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationCategoriesItem.js +38 -7
- package/components/SideNavigation/SideNavigationCategoriesItemChildren.d.ts +22 -0
- package/components/SideNavigation/SideNavigationCategoriesItemChildren.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationContent.d.ts +24 -0
- package/components/SideNavigation/SideNavigationContent.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationContent.js +11 -3
- package/components/SideNavigation/SideNavigationItem.d.ts +38 -0
- package/components/SideNavigation/SideNavigationItem.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationItem.js +58 -11
- package/components/SideNavigation/SideNavigationLinks.d.ts +7 -0
- package/components/SideNavigation/SideNavigationLinks.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationLinks.js +1 -1
- package/components/SideNavigation/SideNavigationLinksLegal.connector.d.ts +3 -0
- package/components/SideNavigation/SideNavigationLinksLegal.connector.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationLinksLegal.d.ts +4 -0
- package/components/SideNavigation/SideNavigationLinksLegal.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationLinksQuicklinks.connector.d.ts +3 -0
- package/components/SideNavigation/SideNavigationLinksQuicklinks.connector.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationLinksQuicklinks.d.ts +4 -0
- package/components/SideNavigation/SideNavigationLinksQuicklinks.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationNestedItem.d.ts +35 -0
- package/components/SideNavigation/SideNavigationNestedItem.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationNestedItem.js +30 -6
- package/components/SideNavigation/SideNavigationProvider.connector.d.ts +3 -0
- package/components/SideNavigation/SideNavigationProvider.connector.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationProvider.context.d.ts +3 -0
- package/components/SideNavigation/SideNavigationProvider.context.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationProvider.d.ts +4 -0
- package/components/SideNavigation/SideNavigationProvider.d.ts.map +1 -0
- package/components/SideNavigation/SideNavigationProvider.js +1 -0
- package/components/SideNavigation/index.d.ts +2 -0
- package/components/SideNavigation/index.d.ts.map +1 -0
- package/components/SideNavigation/selectors.d.ts +4 -0
- package/components/SideNavigation/selectors.d.ts.map +1 -0
- package/components/SnackBarContainer/index.d.ts +18 -0
- package/components/SnackBarContainer/index.d.ts.map +1 -0
- package/components/Switch/index.d.ts +40 -0
- package/components/Switch/index.d.ts.map +1 -0
- package/components/Switch/index.js +50 -4
- package/components/Tabs/TabContext.d.ts +15 -0
- package/components/Tabs/TabContext.d.ts.map +1 -0
- package/components/Tabs/components/Tab.d.ts +31 -0
- package/components/Tabs/components/Tab.d.ts.map +1 -0
- package/components/Tabs/components/Tab.js +40 -5
- package/components/Tabs/components/TabIndicator.d.ts +18 -0
- package/components/Tabs/components/TabIndicator.d.ts.map +1 -0
- package/components/Tabs/components/TabIndicator.js +22 -7
- package/components/Tabs/components/TabPanel.d.ts +22 -0
- package/components/Tabs/components/TabPanel.d.ts.map +1 -0
- package/components/Tabs/components/Tabs.d.ts +20 -0
- package/components/Tabs/components/Tabs.d.ts.map +1 -0
- package/components/Tabs/components/Tabs.js +25 -6
- package/components/Tabs/debounce.d.ts +9 -0
- package/components/Tabs/debounce.d.ts.map +1 -0
- package/components/Tabs/index.d.ts +4 -0
- package/components/Tabs/index.d.ts.map +1 -0
- package/components/Tabs/ownerDocument.d.ts +6 -0
- package/components/Tabs/ownerDocument.d.ts.map +1 -0
- package/components/Tabs/ownerWindow.d.ts +6 -0
- package/components/Tabs/ownerWindow.d.ts.map +1 -0
- package/components/Tabs/useEventCallback.d.ts +8 -0
- package/components/Tabs/useEventCallback.d.ts.map +1 -0
- package/components/TextLink/TextLink.d.ts +18 -0
- package/components/TextLink/TextLink.d.ts.map +1 -0
- package/components/TextLink/TextLink.js +26 -10
- package/components/TimeBoundary/index.d.ts +55 -0
- package/components/TimeBoundary/index.d.ts.map +1 -0
- package/components/TimeBoundary/index.js +1 -1
- package/components/Toggle/index.d.ts +28 -0
- package/components/Toggle/index.d.ts.map +1 -0
- package/components/Toggle/index.js +86 -24
- package/components/Typography/Typography.js +16 -8
- package/components/VideoPlayer/index.d.ts +52 -0
- package/components/VideoPlayer/index.d.ts.map +1 -0
- package/components/View/components/Above/index.d.ts +6 -0
- package/components/View/components/Above/index.d.ts.map +1 -0
- package/components/View/components/Below/index.d.ts +6 -0
- package/components/View/components/Below/index.d.ts.map +1 -0
- package/components/View/components/Content/components/ParallaxProvider/index.d.ts +21 -0
- package/components/View/components/Content/components/ParallaxProvider/index.d.ts.map +1 -0
- package/components/View/components/Content/components/ParallaxProvider/index.js +2 -2
- package/components/View/components/Content/index.d.ts +3 -0
- package/components/View/components/Content/index.d.ts.map +1 -0
- package/components/View/components/Content/index.js +171 -173
- package/components/View/context.d.ts +16 -0
- package/components/View/context.d.ts.map +1 -0
- package/components/View/index.d.ts +8 -0
- package/components/View/index.d.ts.map +1 -0
- package/components/View/index.js +19 -2
- package/components/View/provider.d.ts +82 -0
- package/components/View/provider.d.ts.map +1 -0
- package/components/index.d.ts +186 -0
- package/components/index.d.ts.map +1 -0
- package/components/v2/Button/Button.d.ts +74 -0
- package/components/v2/Button/Button.d.ts.map +1 -0
- package/components/v2/Button/Button.js +314 -0
- package/components/v2/Button/index.d.ts +3 -0
- package/components/v2/Button/index.d.ts.map +1 -0
- package/components/v2/Button/index.js +1 -0
- package/components/v2/ButtonBase/ButtonBase.d.ts +40 -0
- package/components/v2/ButtonBase/ButtonBase.d.ts.map +1 -0
- package/components/v2/ButtonBase/ButtonBase.js +117 -0
- package/components/v2/ButtonBase/Ripple.d.ts +10 -0
- package/components/v2/ButtonBase/Ripple.d.ts.map +1 -0
- package/components/v2/ButtonBase/Ripple.js +118 -0
- package/components/v2/ButtonBase/constants.d.ts +4 -0
- package/components/v2/ButtonBase/constants.d.ts.map +1 -0
- package/components/v2/ButtonBase/constants.js +3 -0
- package/components/v2/ButtonBase/hooks.d.ts +23 -0
- package/components/v2/ButtonBase/hooks.d.ts.map +1 -0
- package/components/v2/ButtonBase/hooks.js +56 -0
- package/components/v2/ButtonBase/index.d.ts +3 -0
- package/components/v2/ButtonBase/index.d.ts.map +1 -0
- package/components/v2/ButtonBase/index.js +1 -0
- package/components/v2/ButtonGroup/ButtonGroup.d.ts +66 -0
- package/components/v2/ButtonGroup/ButtonGroup.d.ts.map +1 -0
- package/components/v2/ButtonGroup/ButtonGroup.js +195 -0
- package/components/v2/ButtonGroup/index.d.ts +3 -0
- package/components/v2/ButtonGroup/index.d.ts.map +1 -0
- package/components/v2/ButtonGroup/index.js +1 -0
- package/components/v2/CircularProgress/CircularProgress.d.ts +61 -0
- package/components/v2/CircularProgress/CircularProgress.d.ts.map +1 -0
- package/components/v2/CircularProgress/CircularProgress.js +139 -0
- package/components/v2/CircularProgress/index.d.ts +3 -0
- package/components/v2/CircularProgress/index.d.ts.map +1 -0
- package/components/v2/CircularProgress/index.js +1 -0
- package/components/v2/index.d.ts +5 -0
- package/components/v2/index.d.ts.map +1 -0
- package/components/v2/index.js +4 -0
- package/core/action-creators/app.d.ts +2 -0
- package/core/action-creators/app.d.ts.map +1 -0
- package/core/action-creators/appPermissions.d.ts +6 -0
- package/core/action-creators/appPermissions.d.ts.map +1 -0
- package/core/action-creators/index.d.ts +6 -0
- package/core/action-creators/index.d.ts.map +1 -0
- package/core/action-creators/merchantSettings.d.ts +2 -0
- package/core/action-creators/merchantSettings.d.ts.map +1 -0
- package/core/action-creators/optIns.d.ts +23 -0
- package/core/action-creators/optIns.d.ts.map +1 -0
- package/core/action-creators/shopSettings.d.ts +3 -0
- package/core/action-creators/shopSettings.d.ts.map +1 -0
- package/core/actions/grantPermissions.js +1 -0
- package/core/actions/index.d.ts +29 -0
- package/core/actions/index.d.ts.map +1 -0
- package/core/actions/requestAppPermission.d.ts +19 -0
- package/core/actions/requestAppPermission.d.ts.map +1 -0
- package/core/actions/requestAppPermissionStatus.d.ts +16 -0
- package/core/actions/requestAppPermissionStatus.d.ts.map +1 -0
- package/core/actions/updateStatusBarBackground.d.ts +8 -0
- package/core/actions/updateStatusBarBackground.d.ts.map +1 -0
- package/core/classes/GeolocationRequest.d.ts +29 -0
- package/core/classes/GeolocationRequest.d.ts.map +1 -0
- package/core/classes/GeolocationRequestApp.d.ts +25 -0
- package/core/classes/GeolocationRequestApp.d.ts.map +1 -0
- package/core/classes/GeolocationRequestBrowser.d.ts +15 -0
- package/core/classes/GeolocationRequestBrowser.d.ts.map +1 -0
- package/core/classes/index.d.ts +16 -0
- package/core/classes/index.d.ts.map +1 -0
- package/core/collections/AppInitialization.d.ts +67 -0
- package/core/collections/AppInitialization.d.ts.map +1 -0
- package/core/collections/index.d.ts +10 -0
- package/core/collections/index.d.ts.map +1 -0
- package/core/commands/analyticsSetConsent.d.ts +28 -0
- package/core/commands/analyticsSetConsent.d.ts.map +1 -0
- package/core/commands/index.d.ts +29 -0
- package/core/commands/index.d.ts.map +1 -0
- package/core/config/ThemeConfigResolver.d.ts +57 -0
- package/core/config/ThemeConfigResolver.d.ts.map +1 -0
- package/core/config/config.action-creators.d.ts +4 -0
- package/core/config/config.action-creators.d.ts.map +1 -0
- package/core/config/config.actions.d.ts +2 -0
- package/core/config/config.actions.d.ts.map +1 -0
- package/core/config/config.constants.d.ts +6 -0
- package/core/config/config.constants.d.ts.map +1 -0
- package/core/config/config.reducers.d.ts +8 -0
- package/core/config/config.reducers.d.ts.map +1 -0
- package/core/config/config.selectors.d.ts +30 -0
- package/core/config/config.selectors.d.ts.map +1 -0
- package/core/config/config.streams.d.ts +7 -0
- package/core/config/config.streams.d.ts.map +1 -0
- package/core/config/config.subscriptions.d.ts +7 -0
- package/core/config/config.subscriptions.d.ts.map +1 -0
- package/core/config/getPageConfig.d.ts +9 -0
- package/core/config/getPageConfig.d.ts.map +1 -0
- package/core/config/getPageSettings.d.ts +15 -0
- package/core/config/getPageSettings.d.ts.map +1 -0
- package/core/config/getThemeAssets.d.ts +8 -0
- package/core/config/getThemeAssets.d.ts.map +1 -0
- package/core/config/getThemeColors.d.ts +8 -0
- package/core/config/getThemeColors.d.ts.map +1 -0
- package/core/config/getThemeConfig.d.ts +7 -0
- package/core/config/getThemeConfig.d.ts.map +1 -0
- package/core/config/getThemeSettings.d.ts +8 -0
- package/core/config/getThemeSettings.d.ts.map +1 -0
- package/core/config/getThemeStyles.d.ts +8 -0
- package/core/config/getThemeStyles.d.ts.map +1 -0
- package/core/config/getWidgetConfig.d.ts +14 -0
- package/core/config/getWidgetConfig.d.ts.map +1 -0
- package/core/config/getWidgetSettings.d.ts +16 -0
- package/core/config/getWidgetSettings.d.ts.map +1 -0
- package/core/config/index.d.ts +17 -0
- package/core/config/index.d.ts.map +1 -0
- package/core/config/isBeta.d.ts +6 -0
- package/core/config/isBeta.d.ts.map +1 -0
- package/core/constants/actionTypes.d.ts +3 -0
- package/core/constants/actionTypes.d.ts.map +1 -0
- package/core/constants/appFeatures.d.ts +4 -0
- package/core/constants/appFeatures.d.ts.map +1 -0
- package/core/constants/deviceTypes.d.ts +3 -0
- package/core/constants/deviceTypes.d.ts.map +1 -0
- package/core/constants/geolocationRequest.d.ts +6 -0
- package/core/constants/geolocationRequest.d.ts.map +1 -0
- package/core/constants/index.d.ts +61 -0
- package/core/constants/index.d.ts.map +1 -0
- package/core/constants/merchantSettings.d.ts +12 -0
- package/core/constants/merchantSettings.d.ts.map +1 -0
- package/core/constants/optIns.d.ts +5 -0
- package/core/constants/optIns.d.ts.map +1 -0
- package/core/constants/pipelines.d.ts +4 -0
- package/core/constants/pipelines.d.ts.map +1 -0
- package/core/constants/shopSettings.d.ts +28 -0
- package/core/constants/shopSettings.d.ts.map +1 -0
- package/core/contexts/AppContext.d.ts +4 -0
- package/core/contexts/AppContext.d.ts.map +1 -0
- package/core/contexts/index.d.ts +4 -0
- package/core/contexts/index.d.ts.map +1 -0
- package/core/events/index.d.ts +2 -0
- package/core/events/index.d.ts.map +1 -0
- package/core/helpers/androidNavigationBar.d.ts +9 -0
- package/core/helpers/androidNavigationBar.d.ts.map +1 -0
- package/core/helpers/appFeatures.d.ts +4 -0
- package/core/helpers/appFeatures.d.ts.map +1 -0
- package/core/helpers/appFeatures.js +1 -0
- package/core/helpers/appPermissions.d.ts +2 -0
- package/core/helpers/appPermissions.d.ts.map +1 -0
- package/core/helpers/appPermissions.js +1 -0
- package/core/helpers/baseUrl.d.ts +2 -0
- package/core/helpers/baseUrl.d.ts.map +1 -0
- package/core/helpers/bridge.d.ts +6 -0
- package/core/helpers/bridge.d.ts.map +1 -0
- package/core/helpers/bridge.js +1 -0
- package/core/helpers/deviceType.d.ts +2 -0
- package/core/helpers/deviceType.d.ts.map +1 -0
- package/core/helpers/environment.d.ts +2 -0
- package/core/helpers/environment.d.ts.map +1 -0
- package/core/helpers/errorBehavior.d.ts +43 -0
- package/core/helpers/errorBehavior.d.ts.map +1 -0
- package/core/helpers/featureFlag.d.ts +16 -0
- package/core/helpers/featureFlag.d.ts.map +1 -0
- package/core/helpers/getFullImageSource.d.ts +5 -0
- package/core/helpers/getFullImageSource.d.ts.map +1 -0
- package/core/helpers/getFullImageSource.js +1 -0
- package/core/helpers/getImageFormat.d.ts +2 -0
- package/core/helpers/getImageFormat.d.ts.map +1 -0
- package/core/helpers/googleMaps.d.ts +6 -0
- package/core/helpers/googleMaps.d.ts.map +1 -0
- package/core/helpers/i18n.d.ts +48 -0
- package/core/helpers/i18n.d.ts.map +1 -0
- package/core/helpers/index.d.ts +49 -0
- package/core/helpers/index.d.ts.map +1 -0
- package/core/helpers/index.js +1 -1
- package/core/helpers/isIOSTheme.d.ts +6 -0
- package/core/helpers/isIOSTheme.d.ts.map +1 -0
- package/core/helpers/isIOSTheme.js +1 -0
- package/core/helpers/isTouchDevice.d.ts +2 -0
- package/core/helpers/isTouchDevice.d.ts.map +1 -0
- package/core/helpers/nl2br.d.ts +3 -0
- package/core/helpers/nl2br.d.ts.map +1 -0
- package/core/helpers/scrollContainer.d.ts +3 -0
- package/core/helpers/scrollContainer.d.ts.map +1 -0
- package/core/helpers/scrollContainer.js +8 -1
- package/core/helpers/string.d.ts +3 -0
- package/core/helpers/string.d.ts.map +1 -0
- package/core/helpers/svgToDataUrl.d.ts +2 -0
- package/core/helpers/svgToDataUrl.d.ts.map +1 -0
- package/core/helpers/updateLegacyNavigationBar.d.ts +2 -0
- package/core/helpers/updateLegacyNavigationBar.d.ts.map +1 -0
- package/core/hocs/index.d.ts +11 -0
- package/core/hocs/index.d.ts.map +1 -0
- package/core/hocs/withApp.d.ts +7 -0
- package/core/hocs/withApp.d.ts.map +1 -0
- package/core/hocs/withCurrentProduct.d.ts +11 -0
- package/core/hocs/withCurrentProduct.d.ts.map +1 -0
- package/core/hocs/withForwardedRef.d.ts +12 -0
- package/core/hocs/withForwardedRef.d.ts.map +1 -0
- package/core/hocs/withNavigation.d.ts +11 -0
- package/core/hocs/withNavigation.d.ts.map +1 -0
- package/core/hocs/withRoute.d.ts +11 -0
- package/core/hocs/withRoute.d.ts.map +1 -0
- package/core/hocs/withTheme.d.ts +50 -0
- package/core/hocs/withTheme.d.ts.map +1 -0
- package/core/hocs/withThemeResources.d.ts +7 -0
- package/core/hocs/withThemeResources.d.ts.map +1 -0
- package/core/hocs/withWidgetSettings.d.ts +11 -0
- package/core/hocs/withWidgetSettings.d.ts.map +1 -0
- package/core/hocs/withWidgetStyles.d.ts +9 -0
- package/core/hocs/withWidgetStyles.d.ts.map +1 -0
- package/core/hooks/events/index.d.ts +5 -0
- package/core/hooks/events/index.d.ts.map +1 -0
- package/core/hooks/events/usePressHandler.d.ts +53 -0
- package/core/hooks/events/usePressHandler.d.ts.map +1 -0
- package/core/hooks/html/index.d.ts +2 -0
- package/core/hooks/html/index.d.ts.map +1 -0
- package/core/hooks/html/useLoadImage.d.ts +7 -0
- package/core/hooks/html/useLoadImage.d.ts.map +1 -0
- package/core/hooks/index.d.ts +19 -0
- package/core/hooks/index.d.ts.map +1 -0
- package/core/hooks/layout/index.d.ts +2 -0
- package/core/hooks/layout/index.d.ts.map +1 -0
- package/core/hooks/useApp.d.ts +6 -0
- package/core/hooks/useApp.d.ts.map +1 -0
- package/core/hooks/useAsyncMemo.d.ts +12 -0
- package/core/hooks/useAsyncMemo.d.ts.map +1 -0
- package/core/hooks/useCurrentProduct.d.ts +6 -0
- package/core/hooks/useCurrentProduct.d.ts.map +1 -0
- package/core/hooks/useLocalStorage.d.ts +24 -8
- package/core/hooks/useLocalStorage.d.ts.map +1 -0
- package/core/hooks/useLocalStorage.js +58 -13
- package/core/hooks/useNavigation.d.ts +6 -0
- package/core/hooks/useNavigation.d.ts.map +1 -0
- package/core/hooks/usePageConfig.d.ts +8 -0
- package/core/hooks/usePageConfig.d.ts.map +1 -0
- package/core/hooks/usePageSettings.d.ts +9 -0
- package/core/hooks/usePageSettings.d.ts.map +1 -0
- package/core/hooks/usePrevious.d.ts +2 -0
- package/core/hooks/usePrevious.d.ts.map +1 -0
- package/core/hooks/useRoute.d.ts +6 -0
- package/core/hooks/useRoute.d.ts.map +1 -0
- package/core/hooks/useTheme.d.ts +52 -0
- package/core/hooks/useTheme.d.ts.map +1 -0
- package/core/hooks/useThemeResources.d.ts +43 -0
- package/core/hooks/useThemeResources.d.ts.map +1 -0
- package/core/hooks/useWidgetConfig.d.ts +10 -0
- package/core/hooks/useWidgetConfig.d.ts.map +1 -0
- package/core/hooks/useWidgetSettings.d.ts +10 -0
- package/core/hooks/useWidgetSettings.d.ts.map +1 -0
- package/core/hooks/useWidgetStyles.d.ts +10 -0
- package/core/hooks/useWidgetStyles.d.ts.map +1 -0
- package/core/index.d.ts +27 -0
- package/core/index.d.ts.map +1 -0
- package/core/initialization/index.d.ts +4 -0
- package/core/initialization/index.d.ts.map +1 -0
- package/core/initialization/index.js +4 -3
- package/core/providers/AppProvider.d.ts +46 -0
- package/core/providers/AppProvider.d.ts.map +1 -0
- package/core/providers/ThemeResourcesProvider.d.ts +56 -0
- package/core/providers/ThemeResourcesProvider.d.ts.map +1 -0
- package/core/providers/index.d.ts +7 -0
- package/core/providers/index.d.ts.map +1 -0
- package/core/router/helpers.d.ts +30 -0
- package/core/router/helpers.d.ts.map +1 -0
- package/core/selectors/app.d.ts +11 -0
- package/core/selectors/app.d.ts.map +1 -0
- package/core/selectors/index.d.ts +11 -0
- package/core/selectors/index.d.ts.map +1 -0
- package/core/selectors/merchantSettings.d.ts +21 -0
- package/core/selectors/merchantSettings.d.ts.map +1 -0
- package/core/selectors/shopSettings.d.ts +54 -0
- package/core/selectors/shopSettings.d.ts.map +1 -0
- package/core/selectors/shopSettings.js +1 -0
- package/core/streams/app.d.ts +7 -0
- package/core/streams/app.d.ts.map +1 -0
- package/core/streams/appPermissions.d.ts +31 -0
- package/core/streams/appPermissions.d.ts.map +1 -0
- package/core/streams/index.d.ts +10 -0
- package/core/streams/index.d.ts.map +1 -0
- package/core/streams/optIns.d.ts +21 -0
- package/core/streams/optIns.d.ts.map +1 -0
- package/core/validation/index.d.ts +3 -0
- package/core/validation/index.d.ts.map +1 -0
- package/core/validation/validation.d.ts +10 -0
- package/core/validation/validation.d.ts.map +1 -0
- package/core/validation/validation.hooks.d.ts +10 -0
- package/core/validation/validation.hooks.d.ts.map +1 -0
- package/development/components/DevelopmentTools/hooks.js +1 -0
- package/development/components/SimulatedInsets/SimulatedInsetBottom.js +15 -12
- package/development/components/SimulatedInsets/SimulatedInsetTop.js +24 -21
- package/favorites/components/CommentDialog/CommentDialog.d.ts +4 -0
- package/favorites/components/CommentDialog/CommentDialog.d.ts.map +1 -0
- package/favorites/components/CommentDialog/CommentDialog.js +17 -14
- package/favorites/components/CommentDialog/index.d.ts +2 -0
- package/favorites/components/CommentDialog/index.d.ts.map +1 -0
- package/favorites/components/FavoriteButtonWide/FavoriteButtonWide.js +13 -11
- package/favorites/components/Item/Item.d.ts +62 -0
- package/favorites/components/Item/Item.d.ts.map +1 -0
- package/favorites/components/Item/Item.js +53 -54
- package/favorites/components/Item/ItemCharacteristics.d.ts +17 -0
- package/favorites/components/Item/ItemCharacteristics.d.ts.map +1 -0
- package/favorites/components/Item/ItemCharacteristics.js +9 -6
- package/favorites/components/Item/ItemNotes.d.ts +4 -0
- package/favorites/components/Item/ItemNotes.d.ts.map +1 -0
- package/favorites/components/Item/ItemNotes.js +23 -20
- package/favorites/components/Item/ItemQuantity.d.ts +4 -0
- package/favorites/components/Item/ItemQuantity.d.ts.map +1 -0
- package/favorites/components/Item/ItemQuantity.js +9 -6
- package/favorites/components/Item/index.d.ts +2 -0
- package/favorites/components/Item/index.d.ts.map +1 -0
- package/favorites/components/ItemFulfillmentMethod/ItemFulfillmentMethod.d.ts +16 -0
- package/favorites/components/ItemFulfillmentMethod/ItemFulfillmentMethod.d.ts.map +1 -0
- package/favorites/components/ItemFulfillmentMethod/ItemFulfillmentMethod.js +2 -1
- package/favorites/components/ItemFulfillmentMethod/index.d.ts +2 -0
- package/favorites/components/ItemFulfillmentMethod/index.d.ts.map +1 -0
- package/favorites/components/List/List.d.ts +50 -0
- package/favorites/components/List/List.d.ts.map +1 -0
- package/favorites/components/List/List.js +23 -4
- package/favorites/components/List/ListAccordionHeader.d.ts +23 -0
- package/favorites/components/List/ListAccordionHeader.d.ts.map +1 -0
- package/favorites/components/List/ListAccordionLabel.d.ts +14 -0
- package/favorites/components/List/ListAccordionLabel.d.ts.map +1 -0
- package/favorites/components/List/ListAccordionLabel.js +16 -6
- package/favorites/components/List/ListContent.d.ts +4 -0
- package/favorites/components/List/ListContent.d.ts.map +1 -0
- package/favorites/components/List/ListContent.js +59 -39
- package/favorites/components/List/ListItemWrapper.d.ts +28 -0
- package/favorites/components/List/ListItemWrapper.d.ts.map +1 -0
- package/favorites/components/List/ListItemWrapper.js +38 -23
- package/favorites/components/List/index.d.ts +2 -0
- package/favorites/components/List/index.d.ts.map +1 -0
- package/favorites/components/ListChooser/ListChooser.js +1 -1
- package/favorites/components/ListChooser/ListChooserItem.js +16 -13
- package/favorites/components/Lists/Lists.d.ts +4 -0
- package/favorites/components/Lists/Lists.d.ts.map +1 -0
- package/favorites/components/Lists/Lists.js +13 -15
- package/favorites/components/Lists/ListsModal.d.ts +26 -0
- package/favorites/components/Lists/ListsModal.d.ts.map +1 -0
- package/favorites/components/Lists/ListsModal.js +14 -11
- package/favorites/components/Lists/index.d.ts +2 -0
- package/favorites/components/Lists/index.d.ts.map +1 -0
- package/favorites/components/RemoveButton/RemoveButton.d.ts +15 -0
- package/favorites/components/RemoveButton/RemoveButton.d.ts.map +1 -0
- package/favorites/components/RemoveButton/RemoveButton.js +24 -19
- package/favorites/components/RemoveButton/index.d.ts +2 -0
- package/favorites/components/RemoveButton/index.d.ts.map +1 -0
- package/favorites/constants/Portals.d.ts +7 -0
- package/favorites/constants/Portals.d.ts.map +1 -0
- package/favorites/constants/index.d.ts +3 -0
- package/favorites/constants/index.d.ts.map +1 -0
- package/filter/components/FilterItem/index.js +21 -6
- package/filter/components/FilterPageContent/components/ApplyButton/index.js +15 -4
- package/filter/components/FilterPageContent/components/ResetButton/index.js +32 -20
- package/filter/components/FilterPageContent/components/Selector/components/Selected/index.js +47 -42
- package/filter/components/FilterPageContent/components/Selector/components/Toggle/index.js +62 -50
- package/filter/components/FilterPageContent/components/Selector/components/ValueButton/index.js +59 -51
- package/filter/components/FilterPageContent/components/Selector/index.js +88 -139
- package/filter/components/PriceSlider/components/Label/index.js +67 -9
- package/filter/components/PriceSlider/index.js +99 -91
- package/filter/constants/sort.js +1 -0
- package/i18n/countries.helpers.d.ts +2 -0
- package/i18n/countries.helpers.d.ts.map +1 -0
- package/locations/components/Cart/CartContextMenuChangeFulfillmentContent.js +27 -5
- package/locations/components/ChangeLocationButton/ChangeLocationButton.js +37 -19
- package/locations/components/FulfillmentPath/FulfillmentPath.js +18 -3
- package/locations/components/FulfillmentPath/FulfillmentPathItem.js +45 -13
- package/locations/components/FulfillmentPathSelector/FulfillmentPathSelector.js +21 -13
- package/locations/components/FulfillmentSelector/FulfillmentSelector.js +12 -4
- package/locations/components/FulfillmentSelector/FulfillmentSelectorAddToCart.js +1 -0
- package/locations/components/FulfillmentSelector/FulfillmentSelectorAlternativeLocation.js +33 -9
- package/locations/components/FulfillmentSelector/FulfillmentSelectorBOPIS.js +14 -6
- package/locations/components/FulfillmentSelector/FulfillmentSelectorDirectShip.js +30 -8
- package/locations/components/FulfillmentSelector/FulfillmentSelectorHeader.js +22 -10
- package/locations/components/FulfillmentSelector/FulfillmentSelectorImpossibleError.js +12 -3
- package/locations/components/FulfillmentSelector/FulfillmentSelectorItem.js +63 -9
- package/locations/components/FulfillmentSelector/FulfillmentSelectorLocation.js +53 -14
- package/locations/components/FulfillmentSelector/FulfillmentSelectorLocationMethodNotAvailable.js +11 -6
- package/locations/components/FulfillmentSelector/FulfillmentSelectorROPIS.js +14 -6
- package/locations/components/FulfillmentSheet/FulfillmentSheetContent.js +20 -3
- package/locations/components/FulfillmentSlotSwitcher/FulfillmentSlotDialog.js +49 -46
- package/locations/components/FulfillmentSlotSwitcher/FulfillmentSlotSwitcher.js +9 -6
- package/locations/components/FulfillmentSlotSwitcher/FulfillmentSlotSwitcherBar.js +56 -10
- package/locations/components/FulfillmentSlotSwitcher/FulfillmentSlotSwitcherDefault.js +34 -7
- package/locations/components/GlobalLocationSelector/GlobalLocationSelector.js +1 -0
- package/locations/components/GlobalLocationSwitcher/GlobalLocationSwitcherBar.js +75 -30
- package/locations/components/GlobalLocationSwitcher/GlobalLocationSwitcherDefault.js +52 -23
- package/locations/components/ReservationResponses/ReservationError.js +25 -5
- package/locations/components/ReservationResponses/ReservationSuccess.js +34 -7
- package/locations/components/ReserveForm/ReserveForm.js +59 -19
- package/locations/components/ReserveForm/ReserveFormPhone.js +59 -9
- package/locations/components/StockInfo/StockInfo.defaultSettings.js +13 -8
- package/locations/components/StockInfo/StockInfo.js +24 -14
- package/locations/components/StockInfoLists/index.js +15 -12
- package/locations/components/StoreDetails/components/FindMoreStores.js +58 -54
- package/locations/components/StoreDetails/components/GetDirectionsButton.js +11 -8
- package/locations/components/StoreDetails/components/StoreDetails.js +60 -57
- package/locations/components/StoreDetails/components/StoreFinderMap.js +22 -5
- package/locations/components/StoreDetails/components/StoreLocationMap.js +9 -6
- package/locations/components/StoreDetails/components/StoresNearby.js +12 -9
- package/locations/components/StoreDetails/components/StoresNearbyListItem.js +41 -38
- package/locations/components/StoreDetails/index.js +18 -14
- package/locations/components/StoreFinder/StoreFinder.js +30 -5
- package/locations/components/StoreFinder/StoreFinderGetDirectionsButton.js +17 -5
- package/locations/components/StoreFinder/StoreFinderLocation.js +12 -5
- package/locations/components/StoreFinder/StoreFinderLocationDetails.js +23 -4
- package/locations/components/StoreFinder/StoreFinderLocationHeader.js +85 -11
- package/locations/components/StoreFinder/StoreFinderLocations.js +33 -5
- package/locations/components/StoreFinder/StoreFinderSearch.js +18 -8
- package/locations/components/StoreFinder/StoreFinderSelectLocationButton.js +21 -5
- package/locations/components/StoreFinder/StoreFinderStoreInfoButton.js +15 -17
- package/locations/components/StoreList/StoreAddress.js +28 -6
- package/locations/components/StoreList/StoreAddressShort.js +23 -9
- package/locations/components/StoreList/StoreCard.js +1 -1
- package/locations/components/StoreList/StoreDetails.js +17 -4
- package/locations/components/StoreList/StoreDetailsLine.js +26 -7
- package/locations/components/StoreList/StoreDistance.js +16 -2
- package/locations/components/StoreList/StoreHeader.js +22 -6
- package/locations/components/StoreList/StoreHoursToday.js +10 -2
- package/locations/components/StoreList/StoreListLocations.js +32 -5
- package/locations/components/StoreList/StoreListProduct.js +31 -6
- package/locations/components/StoreList/StoreListProductInfo.js +28 -5
- package/locations/components/StoreList/StoreListProductName.js +13 -3
- package/locations/components/StoreList/StoreListSearch.js +103 -14
- package/locations/components/StoreList/StoreListSearchRadius.js +42 -7
- package/locations/components/StoreList/StoreOpeningHours.js +17 -4
- package/locations/components/StoreList/StoreOpeningHoursLine.js +17 -5
- package/locations/components/StoreList/StorePhoneNumber.js +19 -5
- package/locations/components/StoreList/StoreSelectLocationButton.js +20 -4
- package/locations/helpers/formatDistance.js +2 -1
- package/locations/providers/FulfillmentProvider.js +1 -0
- package/locations/selectors/index.js +1 -0
- package/login/components/ForgotPassword/ForgotPassword.js +101 -15
- package/orders/action-creators/index.d.ts +3 -0
- package/orders/action-creators/index.d.ts.map +1 -0
- package/orders/action-creators/orderDetails.d.ts +26 -0
- package/orders/action-creators/orderDetails.d.ts.map +1 -0
- package/orders/action-creators/orders.d.ts +6 -0
- package/orders/action-creators/orders.d.ts.map +1 -0
- package/orders/actions/cancelOrder.d.ts +15 -0
- package/orders/actions/cancelOrder.d.ts.map +1 -0
- package/orders/actions/cancelOrder.js +1 -0
- package/orders/actions/fetchOrderDetails.d.ts +19 -0
- package/orders/actions/fetchOrderDetails.d.ts.map +1 -0
- package/orders/actions/fetchOrderHistory.d.ts +13 -0
- package/orders/actions/fetchOrderHistory.d.ts.map +1 -0
- package/orders/actions/index.d.ts +4 -0
- package/orders/actions/index.d.ts.map +1 -0
- package/orders/components/OrderDetails/OrderDetailsAuthenticate.js +41 -9
- package/orders/components/OrderDetails/OrderDetailsContent.js +21 -4
- package/orders/components/OrderDetails/OrderDetailsOrder.js +74 -13
- package/orders/components/OrderDetails/OrderDetailsOrderHeader.js +54 -12
- package/orders/components/OrderDetails/OrderDetailsOrderPickupLocation.js +15 -4
- package/orders/components/OrderHistory/OrderHistory.d.ts +7 -0
- package/orders/components/OrderHistory/OrderHistory.d.ts.map +1 -0
- package/orders/components/OrderHistory/OrderHistory.js +15 -4
- package/orders/components/OrderHistory/OrderHistoryList.d.ts +21 -0
- package/orders/components/OrderHistory/OrderHistoryList.d.ts.map +1 -0
- package/orders/components/OrderHistory/OrderHistoryList.js +92 -48
- package/orders/components/OrderHistory/OrderHistoryLoader.d.ts +17 -0
- package/orders/components/OrderHistory/OrderHistoryLoader.d.ts.map +1 -0
- package/orders/components/OrderHistory/OrderHistoryTable.d.ts +21 -0
- package/orders/components/OrderHistory/OrderHistoryTable.d.ts.map +1 -0
- package/orders/components/OrderHistory/OrderHistoryTable.js +91 -60
- package/orders/components/OrderHistory/index.d.ts +2 -0
- package/orders/components/OrderHistory/index.d.ts.map +1 -0
- package/orders/constants/actionTypes.d.ts +9 -0
- package/orders/constants/actionTypes.d.ts.map +1 -0
- package/orders/constants/index.d.ts +5 -0
- package/orders/constants/index.d.ts.map +1 -0
- package/orders/constants/pipelines.d.ts +4 -0
- package/orders/constants/pipelines.d.ts.map +1 -0
- package/orders/constants/routes.d.ts +4 -0
- package/orders/constants/routes.d.ts.map +1 -0
- package/orders/constants/status.d.ts +21 -0
- package/orders/constants/status.d.ts.map +1 -0
- package/orders/helpers/index.d.ts +2 -0
- package/orders/helpers/index.d.ts.map +1 -0
- package/orders/helpers/orderDetails.d.ts +2 -0
- package/orders/helpers/orderDetails.d.ts.map +1 -0
- package/orders/helpers/orderStatus.d.ts +4 -0
- package/orders/helpers/orderStatus.d.ts.map +1 -0
- package/orders/helpers/orderStatus.js +1 -1
- package/orders/hooks/index.d.ts +3 -0
- package/orders/hooks/index.d.ts.map +1 -0
- package/orders/providers/OrderDetailsProvider.context.d.ts +4 -0
- package/orders/providers/OrderDetailsProvider.context.d.ts.map +1 -0
- package/orders/providers/OrderHistoryProvider.connector.d.ts +9 -0
- package/orders/providers/OrderHistoryProvider.connector.d.ts.map +1 -0
- package/orders/providers/OrderHistoryProvider.context.d.ts +4 -0
- package/orders/providers/OrderHistoryProvider.context.d.ts.map +1 -0
- package/orders/providers/OrderHistoryProvider.d.ts +4 -0
- package/orders/providers/OrderHistoryProvider.d.ts.map +1 -0
- package/orders/selectors/index.d.ts +14 -0
- package/orders/selectors/index.d.ts.map +1 -0
- package/package.json +13 -9
- package/page/components/NotFound.js +23 -24
- package/page/components/ResponsiveWidgetImage/ResponsiveWidgetImage.js +2 -2
- package/page/components/Widgets/Tooltip.js +3 -1
- package/page/components/Widgets/hooks.js +1 -0
- package/page/selectors/index.js +1 -0
- package/page/widgets/ImageSlider/ImageSlider.js +1 -0
- package/page/widgets/NestedCategoryFilter/NestedCategoryFilter.js +5 -6
- package/page/widgets/NestedCategoryFilter/components/Picker/components/Sheet/index.js +3 -2
- package/page/widgets/NestedCategoryFilter/components/Picker/components/SheetItem/index.js +5 -12
- package/page/widgets/NestedCategoryFilter/components/Picker/index.js +4 -4
- package/product/components/Availability/Availability.js +20 -6
- package/product/components/Characteristics/Characteristic/components/Sheet/index.js +1 -1
- package/product/components/Characteristics/Characteristic/components/SheetItem/index.js +125 -83
- package/product/components/Characteristics/Characteristic/index.js +47 -11
- package/product/components/Characteristics/Swatch/index.js +90 -93
- package/product/components/Characteristics/index.js +1 -1
- package/product/components/Characteristics/transition.js +4 -8
- package/product/components/Description/index.js +48 -7
- package/product/components/EffectivityDates/constants.d.ts +3 -0
- package/product/components/EffectivityDates/constants.d.ts.map +1 -0
- package/product/components/EffectivityDates/helpers.d.ts +6 -0
- package/product/components/EffectivityDates/helpers.d.ts.map +1 -0
- package/product/components/EffectivityDates/index.js +24 -8
- package/product/components/FilterBar/components/Content/components/FilterButton/index.js +47 -6
- package/product/components/FilterBar/components/Content/components/FilterChips/index.js +23 -7
- package/product/components/FilterBar/components/Content/components/Sort/components/Item/index.js +20 -7
- package/product/components/FilterBar/components/Content/components/Sort/index.js +81 -4
- package/product/components/FilterBar/components/Content/index.js +12 -4
- package/product/components/FilterBar/components/FilterModal/FilterModal.js +9 -6
- package/product/components/FilterBar/components/FilterModal/FilterModalContent.js +12 -10
- package/product/components/FilterBar/components/FilterModal/FilterModalTitle.js +40 -35
- package/product/components/FilterBar/index.js +17 -7
- package/product/components/Header/PriceStriked/index.js +31 -7
- package/product/components/Header/Shipping/components/Label/index.js +31 -19
- package/product/components/Header/Shipping/index.js +37 -20
- package/product/components/Header/Shipping/spec.js +1 -0
- package/product/components/Header/Tiers/components/Tier/index.js +18 -5
- package/product/components/Header/Tiers/index.js +14 -4
- package/product/components/MapPriceHint/index.js +16 -6
- package/product/components/Media/MediaImage.js +26 -8
- package/product/components/Media/MediaPlaceholder.js +46 -12
- package/product/components/Media/helpers.d.ts +2 -0
- package/product/components/Media/helpers.d.ts.map +1 -0
- package/product/components/MediaSlider/components/MediaImage/index.js +26 -14
- package/product/components/MediaSlider/components/MediaVideo/index.js +28 -5
- package/product/components/MediaSlider/index.js +15 -2
- package/product/components/Options/components/TextOption/components/OptionInfo/index.js +22 -5
- package/product/components/Options/components/TextOption/index.js +143 -144
- package/product/components/OrderQuantityHint/index.js +13 -4
- package/product/components/PriceDifference/index.js +24 -6
- package/product/components/PriceInfo/PriceInfo.js +17 -12
- package/product/components/ProductBadges/index.js +10 -7
- package/product/components/ProductCard/index.js +22 -4
- package/product/components/ProductDiscountBadge/index.js +38 -6
- package/product/components/ProductFilters/index.js +28 -2
- package/product/components/ProductGridPrice/index.js +29 -7
- package/product/components/ProductImage/ProductImagePlaceholder.js +42 -6
- package/product/components/ProductImage/index.js +154 -130
- package/product/components/ProductImage/spec.js +14 -10
- package/product/components/ProductList/components/Item/index.js +205 -152
- package/product/components/ProductList/components/Iterator/index.js +49 -31
- package/product/components/ProductList/components/Layout/index.js +20 -9
- package/product/components/ProductName/ProductName.d.ts +18 -0
- package/product/components/ProductName/ProductName.d.ts.map +1 -0
- package/product/components/ProductName/ProductName.js +30 -39
- package/product/components/ProductName/ProductNameContent.d.ts +12 -0
- package/product/components/ProductName/ProductNameContent.d.ts.map +1 -0
- package/product/components/ProductName/ProductNameContent.js +7 -14
- package/product/components/ProductProperties/Content.js +13 -3
- package/product/components/ProductProperties/Group.js +25 -12
- package/product/components/ProductProperties/GroupedProperties.js +27 -17
- package/product/components/ProductProperties/Row.js +45 -27
- package/product/components/ProductProperties/Rows.js +26 -6
- package/product/components/ProductProperties/Wrapper.js +31 -15
- package/product/components/ProductProperties/helpers/getSubgroupsFromProperties.js +1 -0
- package/product/components/ProductSlider/index.js +16 -3
- package/product/components/ProductSlider/spec.js +1 -3
- package/product/components/ProductVariants/VariantAvailability.js +12 -3
- package/product/components/QuantityPicker/index.js +2 -2
- package/product/components/Rating/index.js +13 -2
- package/product/components/RelationsSlider/RelationsSheet.js +23 -5
- package/product/components/RelationsSlider/RelationsSliderContent.js +34 -7
- package/product/components/Swatch/Swatch.js +4 -4
- package/product/components/Swatch/SwatchContent.js +37 -9
- package/product/components/Swatch/VariantSwatch.js +4 -4
- package/product/components/Swatches/Swatches.js +16 -2
- package/product/components/UnitQuantityPicker/CartUnitQuantityPicker.js +16 -8
- package/product/components/UnitQuantityPicker/ProductUnitQuantityPicker.js +23 -21
- package/product/components/UnitQuantityPicker/UnitQuantityPicker.d.ts +75 -0
- package/product/components/UnitQuantityPicker/UnitQuantityPicker.d.ts.map +1 -0
- package/product/components/UnitQuantityPicker/UnitQuantityPicker.js +94 -108
- package/product/components/UnitQuantityPicker/UnitQuantityPickerWithSection.js +15 -12
- package/product/components/UnitQuantityPicker/helper.js +1 -1
- package/product/helpers/index.d.ts +13 -0
- package/product/helpers/index.d.ts.map +1 -0
- package/product/helpers/redirects.d.ts +2 -0
- package/product/helpers/redirects.d.ts.map +1 -0
- package/product/selectors/helpers/filterProperties.d.ts +8 -0
- package/product/selectors/helpers/filterProperties.d.ts.map +1 -0
- package/product/selectors/helpers/index.d.ts +3 -0
- package/product/selectors/helpers/index.d.ts.map +1 -0
- package/product/selectors/helpers/wrapMemoizedSelector.d.ts +2 -0
- package/product/selectors/helpers/wrapMemoizedSelector.d.ts.map +1 -0
- package/product/selectors/media.js +1 -0
- package/product/selectors/product.d.ts +112 -0
- package/product/selectors/product.d.ts.map +1 -0
- package/push-opt-in/components/PushOptInModal/index.js +57 -14
- package/registration/components/GuestRegistration/GuestRegistrationContent.js +11 -12
- package/registration/components/GuestRegistration/GuestRegistrationFormPickup.js +17 -18
- package/registration/components/Registration/RegistrationContent.js +34 -6
- package/registration/components/Registration/RegistrationFormActions.js +22 -5
- package/registration/components/Registration/RegistrationFormBase.js +18 -4
- package/registration/components/Registration/RegistrationFormBilling.js +18 -4
- package/registration/components/Registration/RegistrationFormExtra.config.js +1 -1
- package/registration/components/Registration/RegistrationFormExtra.js +18 -4
- package/registration/components/Registration/RegistrationFormShipping.config.js +1 -1
- package/registration/components/Registration/RegistrationFormShipping.js +22 -5
- package/registration/components/Registration/RegistrationFormToggle.js +13 -10
- package/registration/providers/GuestRegistrationProvider.js +1 -0
- package/registration/providers/RegistrationProvider.js +4 -3
- package/reviews/components/Reviews/components/AllReviewsLink/index.js +17 -4
- package/reviews/components/Reviews/components/Header/components/AverageRating/index.js +21 -3
- package/reviews/components/Reviews/components/Header/components/NoReviews/index.js +38 -18
- package/reviews/components/Reviews/components/Header/components/ReviewsExcerpt/index.js +57 -28
- package/reviews/components/Reviews/components/Header/components/WriteReviewLink/index.js +1 -1
- package/reviews/components/Reviews/components/List/components/Info/components/Author/index.js +1 -1
- package/reviews/components/Reviews/components/List/components/Info/components/ReviewDate/index.js +1 -1
- package/reviews/components/Reviews/components/List/components/Info/index.js +26 -14
- package/reviews/components/Reviews/components/List/components/Rating/index.js +25 -9
- package/reviews/components/Reviews/components/List/components/Text/index.js +13 -3
- package/reviews/components/Reviews/components/List/components/Title/index.js +17 -6
- package/reviews/components/Reviews/components/List/index.js +48 -45
- package/reviews/components/Reviews/components/RatingCount/index.js +28 -7
- package/reviews/components/Reviews/components/ReviewsInfo/index.js +13 -10
- package/reviews/components/Reviews/index.js +12 -3
- package/styles/helpers/color.d.ts +18 -0
- package/styles/helpers/color.d.ts.map +1 -0
- package/styles/helpers/cssCustomProperties.d.ts +3 -0
- package/styles/helpers/cssCustomProperties.d.ts.map +1 -0
- package/styles/helpers/index.d.ts +12 -0
- package/styles/helpers/index.d.ts.map +1 -0
- package/styles/helpers/initCSSCustomProperties.d.ts +3 -0
- package/styles/helpers/initCSSCustomProperties.d.ts.map +1 -0
- package/styles/helpers/loadCustomStyles.d.ts +2 -0
- package/styles/helpers/loadCustomStyles.d.ts.map +1 -0
- package/styles/helpers/loadCustomStyles.js +41 -16
- package/styles/helpers/setPageBackgroundColor.d.ts +2 -0
- package/styles/helpers/setPageBackgroundColor.d.ts.map +1 -0
- package/styles/helpers/setPageContentWidth.d.ts +2 -0
- package/styles/helpers/setPageContentWidth.d.ts.map +1 -0
- package/styles/helpers/setViewportHeight.d.ts +2 -0
- package/styles/helpers/setViewportHeight.d.ts.map +1 -0
- package/styles/helpers/toggleBodyScroll.d.ts +2 -0
- package/styles/helpers/toggleBodyScroll.d.ts.map +1 -0
- package/styles/helpers/updatePageInsets.d.ts +2 -0
- package/styles/helpers/updatePageInsets.d.ts.map +1 -0
- package/styles/index.d.ts +3 -16
- package/styles/index.d.ts.map +1 -0
- package/styles/index.js +2 -2
- package/styles/reset/form.js +52 -53
- package/styles/reset/media.js +21 -19
- package/styles/reset/root.js +50 -52
- package/styles/reset/table.js +9 -7
- package/styles/reset/typography.js +24 -22
- package/styles/theme/createDefaultThemeOptions/index.d.ts +7 -0
- package/styles/theme/createDefaultThemeOptions/index.d.ts.map +1 -0
- package/styles/theme/createDefaultThemeOptions/index.js +51 -0
- package/styles/theme/createTheme/applyStyles.d.ts +15 -0
- package/styles/theme/createTheme/applyStyles.d.ts.map +1 -0
- package/styles/theme/createTheme/applyStyles.js +24 -0
- package/styles/theme/createTheme/createComponents.d.ts +35 -0
- package/styles/theme/createTheme/createComponents.d.ts.map +1 -0
- package/styles/theme/createTheme/createComponents.js +67 -0
- package/styles/theme/createTheme/createComponents.types.d.ts +132 -0
- package/styles/theme/createTheme/createComponents.types.d.ts.map +1 -0
- package/styles/theme/createTheme/createComponents.types.js +120 -0
- package/styles/theme/createTheme/createCssVarsForColorSchemeThemes.d.ts +31 -0
- package/styles/theme/createTheme/createCssVarsForColorSchemeThemes.d.ts.map +1 -0
- package/styles/theme/createTheme/createCssVarsForColorSchemeThemes.js +73 -0
- package/styles/theme/createTheme/createPalette.d.ts +33 -36
- package/styles/theme/createTheme/createPalette.d.ts.map +1 -0
- package/styles/theme/createTheme/createPalette.js +170 -49
- package/styles/theme/createTheme/createPalette.types.d.ts +165 -0
- package/styles/theme/createTheme/createPalette.types.d.ts.map +1 -0
- package/styles/theme/createTheme/createPalette.types.js +123 -0
- package/styles/theme/createTheme/createShape.d.ts +11 -0
- package/styles/theme/createTheme/createShape.d.ts.map +1 -0
- package/styles/theme/createTheme/createShape.js +15 -0
- package/styles/theme/createTheme/createThemeFromColorScheme.d.ts +30 -0
- package/styles/theme/createTheme/createThemeFromColorScheme.d.ts.map +1 -0
- package/styles/theme/createTheme/createThemeFromColorScheme.js +70 -0
- package/styles/theme/createTheme/createTypography.js +7 -11
- package/styles/theme/createTheme/helpers/cssVarsColorAugmentation.d.ts +10 -0
- package/styles/theme/createTheme/helpers/cssVarsColorAugmentation.d.ts.map +1 -0
- package/styles/theme/createTheme/helpers/cssVarsColorAugmentation.js +44 -0
- package/styles/theme/createTheme/helpers/cssVarsParser.d.ts +58 -0
- package/styles/theme/createTheme/helpers/cssVarsParser.d.ts.map +1 -0
- package/styles/theme/createTheme/helpers/cssVarsParser.js +173 -0
- package/styles/theme/createTheme/helpers/cssVarsSelector.d.ts +28 -0
- package/styles/theme/createTheme/helpers/cssVarsSelector.d.ts.map +1 -0
- package/styles/theme/createTheme/helpers/cssVarsSelector.js +44 -0
- package/styles/theme/createTheme/helpers/index.d.ts +6 -0
- package/styles/theme/createTheme/helpers/index.d.ts.map +1 -0
- package/styles/theme/createTheme/helpers/index.js +3 -0
- package/styles/theme/createTheme/index.d.ts +9 -41
- package/styles/theme/createTheme/index.d.ts.map +1 -0
- package/styles/theme/createTheme/index.js +52 -11
- package/styles/theme/createTheme/shadows.d.ts +4 -0
- package/styles/theme/createTheme/shadows.d.ts.map +1 -0
- package/styles/theme/createTheme/shadows.js +10 -0
- package/styles/theme/createTheme/types.d.ts +183 -0
- package/styles/theme/createTheme/types.d.ts.map +1 -0
- package/styles/theme/createTheme/types.js +14 -0
- package/styles/theme/hooks/index.d.ts +2 -0
- package/styles/theme/hooks/index.d.ts.map +1 -0
- package/styles/theme/hooks/index.js +2 -1
- package/styles/theme/hooks/useActiveBreakpoint.d.ts +4 -4
- package/styles/theme/hooks/useActiveBreakpoint.d.ts.map +1 -0
- package/styles/theme/hooks/useActiveBreakpoint.js +12 -1
- package/styles/theme/hooks/useColorScheme.d.ts +7 -0
- package/styles/theme/hooks/useColorScheme.d.ts.map +1 -0
- package/styles/theme/hooks/useColorScheme.js +9 -0
- package/styles/theme/hooks/useMediaQuery.d.ts +10 -8
- package/styles/theme/hooks/useMediaQuery.d.ts.map +1 -0
- package/styles/theme/hooks/useMediaQuery.js +24 -9
- package/styles/theme/hooks/useResponsiveValue.d.ts +6 -6
- package/styles/theme/hooks/useResponsiveValue.d.ts.map +1 -0
- package/styles/theme/hooks/useResponsiveValue.js +22 -2
- package/styles/theme/hooks/useTheme.d.ts +4 -5
- package/styles/theme/hooks/useTheme.d.ts.map +1 -0
- package/styles/theme/hooks/useTheme.js +1 -1
- package/styles/theme/index.d.ts +4 -7
- package/styles/theme/index.d.ts.map +1 -0
- package/styles/theme/index.js +1 -1
- package/styles/theme/providers/ActiveBreakpointProvider.d.ts +9 -21
- package/styles/theme/providers/ActiveBreakpointProvider.d.ts.map +1 -0
- package/styles/theme/providers/ActiveBreakpointProvider.js +6 -17
- package/styles/theme/providers/ThemeProvider.d.ts +22 -17
- package/styles/theme/providers/ThemeProvider.d.ts.map +1 -0
- package/styles/theme/providers/ThemeProvider.js +38 -18
- package/styles/theme/providers/index.d.ts +3 -0
- package/styles/theme/providers/index.d.ts.map +1 -0
- package/styles/theme/providers/index.js +2 -0
- package/styles/theme/utils/color.d.ts +211 -0
- package/styles/theme/utils/color.d.ts.map +1 -0
- package/styles/theme/utils/color.js +112 -0
- package/styles/theme/utils/index.d.ts +2 -0
- package/styles/theme/utils/index.d.ts.map +1 -0
- package/styles/theme/utils/index.js +1 -0
- package/styles/tss/index.d.ts +64 -0
- package/styles/tss/index.d.ts.map +1 -0
- package/styles/tss/index.js +63 -4
- package/tracking/components/CookieConsentModal/index.js +66 -16
- package/tracking/components/PrivacySettings/index.js +55 -16
- package/tracking/streams/cookieConsent.js +1 -0
- package/tsconfig.build.json +26 -0
- package/tsconfig.json +18 -0
- package/types/react.d.ts +16 -0
- package/types/react.d.ts.map +1 -0
- package/types/react.js +1 -0
- package/a11y/components/LiveMessage/styles.js +0 -12
- package/a11y/components/Navigation/style.js +0 -12
- package/account/components/Account/Account.style.js +0 -31
- package/back-in-stock/components/BackInStockButton/style.js +0 -43
- package/cart/components/CartHeaderWide/CartHeaderWide.style.js +0 -10
- package/cart/components/CartItem/CartItem.style.js +0 -23
- package/cart/components/CartItem/CartItemCoupon.style.js +0 -33
- package/cart/components/CartItem/CartItemCouponDelete.style.js +0 -7
- package/cart/components/CartItem/CartItemCouponLayout.style.js +0 -29
- package/cart/components/CartItem/CartItemCouponPrice.style.js +0 -10
- package/cart/components/CartItem/CartItemCouponTitle.style.js +0 -7
- package/cart/components/CartItem/CartItemProduct.style.js +0 -5
- package/cart/components/CartItem/CartItemProductLayout.style.js +0 -94
- package/cart/components/CartItem/CartItemProductLayoutWide.style.js +0 -113
- package/cart/components/CartItem/CartItemProductLayoutWideFulfillmentLabel.style.js +0 -10
- package/cart/components/CartItem/CartItemProductLayoutWideRemoveItem.style.js +0 -16
- package/cart/components/CartItem/CartItemProductOrderDetails.style.js +0 -28
- package/cart/components/CartItem/CartItemProductPriceCaption.style.js +0 -11
- package/cart/components/CartItem/CartItemProductTitle.style.js +0 -28
- package/cart/components/CartItem/CartItemQuantityPicker.style.js +0 -18
- package/cart/components/CartItem/CartItemSubstitution.style.js +0 -9
- package/cart/components/CartItems/CartItemCard.style.js +0 -52
- package/cart/components/CartItems/CartItemCardReservationLabelChangeStore.style.js +0 -12
- package/cart/components/CartItems/CartItemGroup.style.js +0 -39
- package/cart/components/CartItems/CartItems.style.js +0 -21
- package/cart/components/CartItems/CartItemsHeaderWide.style.js +0 -60
- package/cart/components/CartSummaryWide/CartSummaryWide.style.js +0 -37
- package/cart/components/CartSummaryWide/CartSummaryWideCheckoutButton.style.js +0 -21
- package/cart/components/PaymentBar/PaymentBarCheckoutButton.style.js +0 -15
- package/cart/components/PaymentBar/PaymentBarContent.style.js +0 -40
- package/cart/components/Substitution/style.js +0 -32
- package/cart/components/SupplementalContent/SupplementalContent.styles.js +0 -29
- package/category/components/CategoryList/style.js +0 -20
- package/checkout/components/ResponsiveBackButton/ResponsiveBackButton.style.js +0 -25
- package/checkout/components/SupplementalContent/SupplementalContent.styles.js +0 -29
- package/components/ChipLayout/style.js +0 -51
- package/components/Footer/Footer.style.js +0 -11
- package/components/Logo/style.js +0 -22
- package/components/Menu/components/Item/style.js +0 -27
- package/components/Menu/components/Position/style.js +0 -11
- package/components/Menu/style.js +0 -39
- package/components/MessageBar/MessageBar.style.js +0 -127
- package/components/Picker/components/Button/style.js +0 -19
- package/components/Picker/components/List/style.js +0 -17
- package/components/Picker/components/Modal/style.js +0 -78
- package/components/PickerUtilize/components/Button/style.js +0 -42
- package/components/PickerUtilize/style.js +0 -10
- package/components/RangeSlider/components/Handle/style.js +0 -15
- package/components/RangeSlider/style.js +0 -18
- package/components/ScrollHeader/style.js +0 -25
- package/components/SheetList/components/Item/style.js +0 -76
- package/components/SheetList/style.js +0 -36
- package/components/SideNavigation/SideNavigationCategories.style.js +0 -12
- package/components/SideNavigation/SideNavigationCategoriesItem.style.js +0 -41
- package/components/SideNavigation/SideNavigationContent.style.js +0 -8
- package/components/SideNavigation/SideNavigationItem.style.js +0 -41
- package/components/Switch/style.js +0 -46
- package/components/Tabs/components/Tab.style.js +0 -32
- package/components/Tabs/components/TabIndicator.style.js +0 -13
- package/components/Tabs/components/Tabs.style.js +0 -19
- package/components/TextLink/TextLink.style.js +0 -10
- package/components/Toggle/style.js +0 -63
- package/components/View/components/Content/style.js +0 -41
- package/components/View/style.js +0 -12
- package/favorites/components/List/styles.js +0 -35
- package/filter/components/FilterItem/style.js +0 -9
- package/filter/components/FilterPageContent/components/ApplyButton/style.js +0 -11
- package/filter/components/FilterPageContent/components/ResetButton/style.js +0 -6
- package/filter/components/FilterPageContent/components/Selector/components/Selected/style.js +0 -19
- package/filter/components/FilterPageContent/components/Selector/components/Toggle/style.js +0 -30
- package/filter/components/FilterPageContent/components/Selector/components/ValueButton/style.js +0 -23
- package/filter/components/FilterPageContent/components/Selector/style.js +0 -8
- package/filter/components/PriceSlider/style.js +0 -95
- package/locations/components/Cart/CartContextMenuChangeFulfillmentContent.style.js +0 -24
- package/locations/components/ChangeLocationButton/ChangeLocationButton.style.js +0 -17
- package/locations/components/FulfillmentPath/FulfillmentPath.style.js +0 -35
- package/locations/components/FulfillmentPathSelector/FulfillmentPathSelector.style.js +0 -4
- package/locations/components/FulfillmentSelector/FulfillmentSelector.style.js +0 -8
- package/locations/components/FulfillmentSelector/FulfillmentSelectorHeader.style.js +0 -9
- package/locations/components/FulfillmentSelector/FulfillmentSelectorImpossibleError.style.js +0 -4
- package/locations/components/FulfillmentSelector/FulfillmentSelectorItem.style.js +0 -60
- package/locations/components/FulfillmentSelector/FulfillmentSelectorLocation.style.js +0 -22
- package/locations/components/FulfillmentSheet/FulfillmentSheet.style.js +0 -14
- package/locations/components/FulfillmentSlotSwitcher/FulfillmentSlotSwitcherBar.style.js +0 -42
- package/locations/components/FulfillmentSlotSwitcher/FulfillmentSlotSwitcherDefault.style.js +0 -27
- package/locations/components/GlobalLocationSwitcher/GlobalLocationSwitcherBar.style.js +0 -39
- package/locations/components/GlobalLocationSwitcher/GlobalLocationSwitcherDefault.style.js +0 -27
- package/locations/components/ReservationResponses/ReservationResponse.style.js +0 -28
- package/locations/components/ReserveForm/ReserveForm.style.js +0 -77
- package/locations/components/StoreDetails/components/StoreFinderMap.style.js +0 -14
- package/locations/components/StoreFinder/StoreFinder.style.js +0 -25
- package/locations/components/StoreFinder/StoreFinderGetDirectionsButton.style.js +0 -12
- package/locations/components/StoreFinder/StoreFinderLocation.style.js +0 -10
- package/locations/components/StoreFinder/StoreFinderLocationDetails.style.js +0 -15
- package/locations/components/StoreFinder/StoreFinderLocationHeader.style.js +0 -74
- package/locations/components/StoreFinder/StoreFinderLocations.style.js +0 -26
- package/locations/components/StoreFinder/StoreFinderSearch.style.js +0 -5
- package/locations/components/StoreList/Store.style.js +0 -121
- package/locations/components/StoreList/StoreListProduct.style.js +0 -43
- package/locations/components/StoreList/StoreListSearch.style.js +0 -84
- package/locations/components/StoreList/StoreListSearchRadius.style.js +0 -3
- package/login/components/ForgotPassword/ForgotPassword.style.js +0 -88
- package/orders/components/OrderDetails/OrderDetailsAuthenticate.style.js +0 -33
- package/orders/components/OrderDetails/OrderDetailsContent.style.js +0 -18
- package/orders/components/OrderDetails/OrderDetailsOrder.style.js +0 -62
- package/orders/components/OrderDetails/OrderDetailsOrderHeader.style.js +0 -42
- package/orders/components/OrderDetails/OrderDetailsOrderPickupLocation.style.js +0 -7
- package/orders/components/OrderHistory/OrderHistory.style.js +0 -7
- package/orders/components/OrderHistory/OrderHistoryList.style.js +0 -36
- package/orders/components/OrderHistory/OrderHistoryTable.style.js +0 -25
- package/product/components/Availability/Availability.style.js +0 -10
- package/product/components/Characteristics/Characteristic/components/SheetItem/style.js +0 -69
- package/product/components/Characteristics/Characteristic/style.js +0 -40
- package/product/components/Characteristics/Swatch/style.js +0 -28
- package/product/components/Description/style.js +0 -41
- package/product/components/EffectivityDates/style.js +0 -10
- package/product/components/FilterBar/components/Content/components/FilterButton/style.js +0 -42
- package/product/components/FilterBar/components/Content/components/FilterChips/style.js +0 -14
- package/product/components/FilterBar/components/Content/components/Sort/components/Item/style.js +0 -7
- package/product/components/FilterBar/components/Content/components/Sort/style.js +0 -76
- package/product/components/FilterBar/components/Content/style.js +0 -4
- package/product/components/FilterBar/style.js +0 -4
- package/product/components/Header/PriceStriked/style.js +0 -26
- package/product/components/Header/Shipping/components/Label/style.js +0 -11
- package/product/components/Header/Shipping/style.js +0 -14
- package/product/components/Header/Tiers/style.js +0 -17
- package/product/components/Media/style.js +0 -41
- package/product/components/MediaSlider/style.js +0 -32
- package/product/components/Options/components/TextOption/components/OptionInfo/style.js +0 -23
- package/product/components/Options/components/TextOption/style.js +0 -37
- package/product/components/OrderQuantityHint/style.js +0 -6
- package/product/components/PriceDifference/style.js +0 -18
- package/product/components/ProductCard/style.js +0 -18
- package/product/components/ProductDiscountBadge/style.js +0 -31
- package/product/components/ProductFilters/style.js +0 -23
- package/product/components/ProductGridPrice/style.js +0 -21
- package/product/components/ProductImage/style.js +0 -55
- package/product/components/ProductList/components/Item/style.js +0 -66
- package/product/components/ProductList/components/Iterator/style.js +0 -15
- package/product/components/ProductList/components/Layout/style.js +0 -11
- package/product/components/ProductProperties/style.js +0 -44
- package/product/components/ProductSlider/style.js +0 -8
- package/product/components/ProductVariants/VariantAvailability.style.js +0 -5
- package/product/components/Rating/style.js +0 -12
- package/product/components/RelationsSlider/style.js +0 -56
- package/product/components/Swatch/style.js +0 -27
- package/product/components/Swatches/style.js +0 -9
- package/product/components/UnitQuantityPicker/styles.js +0 -7
- package/push-opt-in/components/PushOptInModal/style.js +0 -53
- package/registration/components/Registration/RegistrationContent.style.js +0 -58
- package/reviews/components/Reviews/components/AllReviewsLink/style.js +0 -17
- package/reviews/components/Reviews/components/Header/components/AverageRating/style.js +0 -9
- package/reviews/components/Reviews/components/Header/components/NoReviews/style.js +0 -18
- package/reviews/components/Reviews/components/Header/components/ReviewsExcerpt/style.js +0 -27
- package/reviews/components/Reviews/components/List/components/Info/style.js +0 -9
- package/reviews/components/Reviews/components/List/components/Rating/style.js +0 -14
- package/reviews/components/Reviews/components/List/components/Text/style.js +0 -6
- package/reviews/components/Reviews/components/List/components/Title/style.js +0 -5
- package/reviews/components/Reviews/components/List/style.js +0 -11
- package/reviews/components/Reviews/components/RatingCount/style.js +0 -20
- package/reviews/components/Reviews/style.js +0 -11
- package/tracking/components/CookieConsentModal/style.js +0 -59
- package/tracking/components/PrivacySettings/style.js +0 -45
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Holds the react components.
|
|
3
|
+
* @module index
|
|
4
|
+
*/
|
|
5
|
+
export { default as App } from '@shopgate/pwa-common/App';
|
|
6
|
+
export { default as Backdrop } from '@shopgate/pwa-common/components/Backdrop';
|
|
7
|
+
export { default as BaseButton } from '@shopgate/pwa-common/components/Button';
|
|
8
|
+
export { default as BaseCheckbox } from '@shopgate/pwa-common/components/Checkbox';
|
|
9
|
+
export { default as Consume } from '@shopgate/pwa-common/components/Consume';
|
|
10
|
+
export { default as CountdownTimer } from '@shopgate/pwa-common/components/CountdownTimer';
|
|
11
|
+
export { default as Drawer } from '@shopgate/pwa-common/components/Drawer';
|
|
12
|
+
export { default as Dropdown } from '@shopgate/pwa-common/components/Dropdown';
|
|
13
|
+
export { default as Ellipsis } from '@shopgate/pwa-common/components/Ellipsis';
|
|
14
|
+
export { default as ErrorBoundary } from '@shopgate/pwa-common/components/ErrorBoundary';
|
|
15
|
+
export { default as Grid } from '@shopgate/pwa-common/components/Grid';
|
|
16
|
+
export { default as HtmlSanitizer } from '@shopgate/pwa-common/components/HtmlSanitizer';
|
|
17
|
+
export { default as I18n } from '@shopgate/pwa-common/components/I18n';
|
|
18
|
+
export { default as Icon, type IconProps } from '@shopgate/pwa-common/components/Icon';
|
|
19
|
+
export { default as Image } from '@shopgate/pwa-common/components/Image';
|
|
20
|
+
export { default as InfiniteContainer } from '@shopgate/pwa-common/components/InfiniteContainer';
|
|
21
|
+
export { default as Input } from '@shopgate/pwa-common/components/Input';
|
|
22
|
+
export { default as KeyboardConsumer } from '@shopgate/pwa-common/components/KeyboardConsumer';
|
|
23
|
+
export { default as Link } from '@shopgate/pwa-common/components/Link';
|
|
24
|
+
export { default as List } from '@shopgate/pwa-common/components/List';
|
|
25
|
+
export { default as Loading } from '@shopgate/pwa-common/components/Loading';
|
|
26
|
+
export { default as Modal } from '@shopgate/pwa-common/components/Modal';
|
|
27
|
+
export { default as ModalContainer, MODAL_EVENTS } from '@shopgate/pwa-common/components/ModalContainer';
|
|
28
|
+
export { default as Picker } from './Picker';
|
|
29
|
+
export { default as Portal } from '@shopgate/pwa-common/components/Portal';
|
|
30
|
+
export { default as RangeSlider } from './RangeSlider';
|
|
31
|
+
export { default as Route } from '@shopgate/pwa-common/components/Route';
|
|
32
|
+
export { default as ScannerContainer } from '@shopgate/pwa-common/components/ScannerContainer';
|
|
33
|
+
export { default as BaseSelect } from '@shopgate/pwa-common/components/Select';
|
|
34
|
+
export { default as SelectBox } from '@shopgate/pwa-common/components/SelectBox';
|
|
35
|
+
export { default as Slider } from '@shopgate/pwa-common/components/Slider';
|
|
36
|
+
export { default as SurroundPortals } from '@shopgate/pwa-common/components/SurroundPortals';
|
|
37
|
+
export { default as Swiper } from '@shopgate/pwa-common/components/Swiper';
|
|
38
|
+
export { default as Toaster } from '@shopgate/pwa-common/components/Toaster';
|
|
39
|
+
export { default as Transition } from '@shopgate/pwa-common/components/Transition';
|
|
40
|
+
export { default as Widgets } from '@shopgate/pwa-common/components/Widgets';
|
|
41
|
+
export { default as AppBarIOS } from '@shopgate/pwa-ui-ios/AppBar';
|
|
42
|
+
export { default as BaseDialogIOS } from '@shopgate/pwa-ui-ios/BaseDialog';
|
|
43
|
+
export { default as Accordion } from '@shopgate/pwa-ui-material/Accordion';
|
|
44
|
+
export { default as AppBarAndroid } from '@shopgate/pwa-ui-material/AppBar';
|
|
45
|
+
export { default as BaseDialogAndroid } from '@shopgate/pwa-ui-material/BaseDialog';
|
|
46
|
+
export { default as FloatingActionButton } from '@shopgate/pwa-ui-material/FloatingActionButton';
|
|
47
|
+
export { default as NavDrawer } from '@shopgate/pwa-ui-material/NavDrawer';
|
|
48
|
+
export { default as SnackBar } from '@shopgate/pwa-ui-material/SnackBar';
|
|
49
|
+
export { default as AccordionContainer } from '@shopgate/pwa-ui-shared/AccordionContainer';
|
|
50
|
+
export { default as ActionButton } from '@shopgate/pwa-ui-shared/ActionButton';
|
|
51
|
+
export { default as AddToCartButton } from '@shopgate/pwa-ui-shared/AddToCartButton';
|
|
52
|
+
export { default as Availability } from '@shopgate/pwa-ui-shared/Availability';
|
|
53
|
+
export { default as Button } from '@shopgate/pwa-ui-shared/Button';
|
|
54
|
+
export { default as ButtonLink } from '@shopgate/pwa-ui-shared/ButtonLink';
|
|
55
|
+
export { default as Card } from '@shopgate/pwa-ui-shared/Card';
|
|
56
|
+
export { default as CardList } from '@shopgate/pwa-ui-shared/CardList';
|
|
57
|
+
export { default as CartTotalLine } from '@shopgate/pwa-ui-shared/CartTotalLine';
|
|
58
|
+
export { default as Chip } from '@shopgate/pwa-ui-shared/Chip';
|
|
59
|
+
export { default as ContextMenu } from '@shopgate/pwa-ui-shared/ContextMenu';
|
|
60
|
+
export { default as Dialog } from '@shopgate/pwa-ui-shared/Dialog';
|
|
61
|
+
export { default as DiscountBadge } from '@shopgate/pwa-ui-shared/DiscountBadge';
|
|
62
|
+
export { default as FavoritesButton } from '@shopgate/pwa-ui-shared/FavoritesButton';
|
|
63
|
+
export { default as Checkbox } from '@shopgate/pwa-ui-shared/Form/Checkbox';
|
|
64
|
+
export { default as Password } from '@shopgate/pwa-ui-shared/Form/Password';
|
|
65
|
+
export { default as RadioGroup } from '@shopgate/pwa-ui-shared/Form/RadioGroup';
|
|
66
|
+
export { default as RadioGroupItem } from '@shopgate/pwa-ui-shared/Form/RadioGroup/components/Item';
|
|
67
|
+
export { default as Select } from '@shopgate/pwa-ui-shared/Form/Select';
|
|
68
|
+
export { default as TextField } from '@shopgate/pwa-ui-shared/Form/TextField';
|
|
69
|
+
export { default as FormElement } from '@shopgate/pwa-ui-shared/FormElement';
|
|
70
|
+
export { default as Glow } from '@shopgate/pwa-ui-shared/Glow';
|
|
71
|
+
export { default as IndicatorCircle } from '@shopgate/pwa-ui-shared/IndicatorCircle';
|
|
72
|
+
export { default as LoadingIndicator } from '@shopgate/pwa-ui-shared/LoadingIndicator';
|
|
73
|
+
export { default as Manufacturer } from '@shopgate/pwa-ui-shared/Manufacturer';
|
|
74
|
+
export { default as NoResults } from '@shopgate/pwa-ui-shared/NoResults';
|
|
75
|
+
export { default as Placeholder } from '@shopgate/pwa-ui-shared/Placeholder';
|
|
76
|
+
export { default as PlaceholderLabel } from '@shopgate/pwa-ui-shared/PlaceholderLabel';
|
|
77
|
+
export { default as PlaceholderParagraph } from '@shopgate/pwa-ui-shared/PlaceholderParagraph';
|
|
78
|
+
export { default as Price } from '@shopgate/pwa-ui-shared/Price';
|
|
79
|
+
export { default as PriceInfo } from '@shopgate/pwa-ui-shared/PriceInfo';
|
|
80
|
+
export { default as PriceStriked } from '@shopgate/pwa-ui-shared/PriceStriked';
|
|
81
|
+
export { default as ProductProperties } from '@shopgate/pwa-ui-shared/ProductProperties';
|
|
82
|
+
export { default as ProgressBar } from '@shopgate/pwa-ui-shared/ProgressBar';
|
|
83
|
+
export { default as RadioButton } from '@shopgate/pwa-ui-shared/RadioButton';
|
|
84
|
+
export { default as RatingNumber } from '@shopgate/pwa-ui-shared/RatingNumber';
|
|
85
|
+
export { default as RatingStars } from '@shopgate/pwa-ui-shared/RatingStars';
|
|
86
|
+
export { default as Ripple } from '@shopgate/pwa-ui-shared/Ripple';
|
|
87
|
+
export { default as RippleButton } from '@shopgate/pwa-ui-shared/RippleButton';
|
|
88
|
+
export { default as ScannerOverlay } from '@shopgate/pwa-ui-shared/ScannerOverlay';
|
|
89
|
+
export { default as Sheet, SHEET_EVENTS } from '@shopgate/pwa-ui-shared/Sheet';
|
|
90
|
+
export { default as TaxDisclaimer } from '@shopgate/pwa-ui-shared/TaxDisclaimer';
|
|
91
|
+
export { default as ToggleIcon } from '@shopgate/pwa-ui-shared/ToggleIcon';
|
|
92
|
+
export { default as CartIconIOS } from '@shopgate/pwa-ui-ios/icons/CartIcon';
|
|
93
|
+
export { default as FilterIconIOS } from '@shopgate/pwa-ui-ios/icons/FilterIcon';
|
|
94
|
+
export { default as HomeIconIOS } from '@shopgate/pwa-ui-ios/icons/HomeIcon';
|
|
95
|
+
export { default as ShareIconIOS } from '@shopgate/pwa-ui-ios/icons/ShareIcon';
|
|
96
|
+
export { default as ShareIconAndroid } from '@shopgate/pwa-ui-material/icons/ShareIcon';
|
|
97
|
+
export { default as AccountBoxIcon } from '@shopgate/pwa-ui-shared/icons/AccountBoxIcon';
|
|
98
|
+
export { default as AddMoreIcon } from '@shopgate/pwa-ui-shared/icons/AddMoreIcon';
|
|
99
|
+
export { default as ArrowDropIcon } from '@shopgate/pwa-ui-shared/icons/ArrowDropIcon';
|
|
100
|
+
export { default as ArrowIcon } from '@shopgate/pwa-ui-shared/icons/ArrowIcon';
|
|
101
|
+
export { default as BarcodeScannerIcon } from '@shopgate/pwa-ui-shared/icons/BarcodeScannerIcon';
|
|
102
|
+
export { default as BoxIcon } from '@shopgate/pwa-ui-shared/icons/BoxIcon';
|
|
103
|
+
export { default as BrowseIcon } from '@shopgate/pwa-ui-shared/icons/BrowseIcon';
|
|
104
|
+
export { default as BurgerIcon } from '@shopgate/pwa-ui-shared/icons/BurgerIcon';
|
|
105
|
+
export { default as CartIcon } from '@shopgate/pwa-ui-shared/icons/CartIcon';
|
|
106
|
+
export { default as CartPlusIcon } from '@shopgate/pwa-ui-shared/icons/CartPlusIcon';
|
|
107
|
+
export { default as CartCouponIcon } from '@shopgate/pwa-ui-shared/icons/CartCouponIcon';
|
|
108
|
+
export { default as CheckedIcon } from '@shopgate/pwa-ui-shared/icons/CheckedIcon';
|
|
109
|
+
export { default as CheckIcon } from '@shopgate/pwa-ui-shared/icons/CheckIcon';
|
|
110
|
+
export { default as ChevronIcon } from '@shopgate/pwa-ui-shared/icons/ChevronIcon';
|
|
111
|
+
export { default as CreditCardIcon } from '@shopgate/pwa-ui-shared/icons/CreditCardIcon';
|
|
112
|
+
export { default as CrossIcon } from '@shopgate/pwa-ui-shared/icons/CrossIcon';
|
|
113
|
+
export { default as DescriptionIcon } from '@shopgate/pwa-ui-shared/icons/DescriptionIcon';
|
|
114
|
+
export { default as FilterIcon } from '@shopgate/pwa-ui-shared/icons/FilterIcon';
|
|
115
|
+
export { default as FlashEnabledIcon } from '@shopgate/pwa-ui-shared/icons/FlashEnabledIcon';
|
|
116
|
+
export { default as FlashDisabledIcon } from '@shopgate/pwa-ui-shared/icons/FlashDisabledIcon';
|
|
117
|
+
export { default as GridIcon } from '@shopgate/pwa-ui-shared/icons/GridIcon';
|
|
118
|
+
export { default as HeartIcon } from '@shopgate/pwa-ui-shared/icons/HeartIcon';
|
|
119
|
+
export { default as HeartOutlineIcon } from '@shopgate/pwa-ui-shared/icons/HeartOutlineIcon';
|
|
120
|
+
export { default as HeartPlusIcon } from '@shopgate/pwa-ui-shared/icons/HeartPlusIcon';
|
|
121
|
+
export { default as HeartPlusOutlineIcon } from '@shopgate/pwa-ui-shared/icons/HeartPlusOutlineIcon';
|
|
122
|
+
export { default as HomeIcon } from '@shopgate/pwa-ui-shared/icons/HomeIcon';
|
|
123
|
+
export { default as InfoIcon } from '@shopgate/pwa-ui-shared/icons/InfoIcon';
|
|
124
|
+
export { default as InfoOutlineIcon } from '@shopgate/pwa-ui-shared/icons/InfoOutlineIcon';
|
|
125
|
+
export { default as ListIcon } from '@shopgate/pwa-ui-shared/icons/ListIcon';
|
|
126
|
+
export { default as LocatorIcon } from '@shopgate/pwa-ui-shared/icons/LocatorIcon';
|
|
127
|
+
export { default as LocalShippingIcon } from '@shopgate/pwa-ui-shared/icons/LocalShippingIcon';
|
|
128
|
+
export { default as LocationIcon } from '@shopgate/pwa-ui-shared/icons/LocationIcon';
|
|
129
|
+
export { default as LockIcon } from '@shopgate/pwa-ui-shared/icons/LockIcon';
|
|
130
|
+
export { default as LogoutIcon } from '@shopgate/pwa-ui-shared/icons/LogoutIcon';
|
|
131
|
+
export { default as MagnifierIcon } from '@shopgate/pwa-ui-shared/icons/MagnifierIcon';
|
|
132
|
+
export { default as MoreIcon } from '@shopgate/pwa-ui-shared/icons/MoreIcon';
|
|
133
|
+
export { default as MoreVertIcon } from '@shopgate/pwa-ui-shared/icons/MoreVertIcon';
|
|
134
|
+
export { default as PersonIcon } from '@shopgate/pwa-ui-shared/icons/PersonIcon';
|
|
135
|
+
export { default as PhoneIcon } from '@shopgate/pwa-ui-shared/icons/PhoneIcon';
|
|
136
|
+
export { default as PlaceholderIcon } from '@shopgate/pwa-ui-shared/icons/PlaceholderIcon';
|
|
137
|
+
export { default as RadioCheckedIcon } from '@shopgate/pwa-ui-shared/icons/RadioCheckedIcon';
|
|
138
|
+
export { default as RadioUncheckedIcon } from '@shopgate/pwa-ui-shared/icons/RadioUncheckedIcon';
|
|
139
|
+
export { default as SecurityIcon } from '@shopgate/pwa-ui-shared/icons/SecurityIcon';
|
|
140
|
+
export { default as ShoppingCartIcon } from '@shopgate/pwa-ui-shared/icons/ShoppingCartIcon';
|
|
141
|
+
export { default as SortIcon } from '@shopgate/pwa-ui-shared/icons/SortIcon';
|
|
142
|
+
export { default as StarHalfIcon } from '@shopgate/pwa-ui-shared/icons/StarHalfIcon';
|
|
143
|
+
export { default as StarIcon } from '@shopgate/pwa-ui-shared/icons/StarIcon';
|
|
144
|
+
export { default as StarOutlineIcon } from '@shopgate/pwa-ui-shared/icons/StarOutlineIcon';
|
|
145
|
+
export { default as TickIcon } from '@shopgate/pwa-ui-shared/icons/TickIcon';
|
|
146
|
+
export { default as TrashIcon } from '@shopgate/pwa-ui-shared/icons/TrashIcon';
|
|
147
|
+
export { default as TrashOutlineIcon } from '@shopgate/pwa-ui-shared/icons/TrashOutlineIcon';
|
|
148
|
+
export { default as UncheckedIcon } from '@shopgate/pwa-ui-shared/icons/UncheckedIcon';
|
|
149
|
+
export { default as ViewListIcon } from '@shopgate/pwa-ui-shared/icons/ViewListIcon';
|
|
150
|
+
export { default as VisibilityIcon } from '@shopgate/pwa-ui-shared/icons/VisibilityIcon';
|
|
151
|
+
export { default as VisibilityOffIcon } from '@shopgate/pwa-ui-shared/icons/VisibilityOffIcon';
|
|
152
|
+
export { default as TimeIcon } from '@shopgate/pwa-ui-shared/icons/TimeIcon';
|
|
153
|
+
export { default as NotificationIcon } from '@shopgate/pwa-ui-shared/icons/NotificationIcon';
|
|
154
|
+
export { MessageBar } from './MessageBar';
|
|
155
|
+
export { default as NavigationHandler } from './NavigationHandler';
|
|
156
|
+
export { default as TimeBoundary } from './TimeBoundary';
|
|
157
|
+
export { default as IntersectionVisibility } from './IntersectionVisibility';
|
|
158
|
+
export { default as VideoPlayer } from './VideoPlayer';
|
|
159
|
+
export { default as SheetDrawer } from './SheetDrawer';
|
|
160
|
+
export { default as SheetList } from './SheetList';
|
|
161
|
+
export { default as NullComponent } from './NullComponent';
|
|
162
|
+
export { default as View, ViewContext } from './View';
|
|
163
|
+
export { default as QuantityInput } from './QuantityInput';
|
|
164
|
+
export { default as QuantityLabel } from './QuantityLabel';
|
|
165
|
+
export { default as ResponsiveContainer } from './ResponsiveContainer';
|
|
166
|
+
export { default as BrandingColorBanner } from './BrandingColorBanner';
|
|
167
|
+
export { default as ScrollHeader } from './ScrollHeader';
|
|
168
|
+
export { default as Menu } from './Menu';
|
|
169
|
+
export { default as Toggle } from './Toggle';
|
|
170
|
+
export { Form } from './Form';
|
|
171
|
+
export { FormBuilder } from './Form';
|
|
172
|
+
export { Footer } from './Footer';
|
|
173
|
+
export { SideNavigation } from './SideNavigation';
|
|
174
|
+
export { default as TextLink } from './TextLink/TextLink';
|
|
175
|
+
export { ConditionalWrapper } from './ConditionalWrapper';
|
|
176
|
+
export { default as RadioGroupV2, useRadioGroup } from './RadioGroup';
|
|
177
|
+
export { default as RadioV2 } from './Radio';
|
|
178
|
+
export { default as RadioCard } from './RadioCard';
|
|
179
|
+
export { default as ChipLayout } from './ChipLayout';
|
|
180
|
+
export { default as Logo } from './Logo';
|
|
181
|
+
export { default as PickerUtilize } from './PickerUtilize';
|
|
182
|
+
export { default as Switch } from './Switch';
|
|
183
|
+
export { default as SnackBarContainer } from './SnackBarContainer';
|
|
184
|
+
export { default as ConnectedReactPortal } from './ConnectedReactPortal';
|
|
185
|
+
export { Typography } from './Typography';
|
|
186
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../components/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAG1D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,gDAAgD,CAAC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CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PaletteColorsWithMain } from '@shopgate/engage/styles';
|
|
3
|
+
import type { ButtonBaseProps } from '../ButtonBase';
|
|
4
|
+
/**
|
|
5
|
+
* The Button component is a versatile UI element that can be used to trigger actions or navigate users.
|
|
6
|
+
* It supports multiple variants, colors, and sizes, making it suitable for a wide range of use cases.
|
|
7
|
+
*/
|
|
8
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonOwnProps & import("../ButtonBase").ButtonBaseOwnProps & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
declare const useStyles: (params: ButtonOwnProps, muiStyleOverridesParams?: {
|
|
10
|
+
props: Record<string, unknown>;
|
|
11
|
+
ownerState?: Record<string, unknown> | undefined;
|
|
12
|
+
} | undefined) => {
|
|
13
|
+
classes: Record<"text" | "label" | "small" | "root" | "icon" | "disabled" | "large" | "outlined" | "contained" | "disableElevation" | "fullWidth" | "startIcon" | "endIcon" | "loader" | "loadingPlaceholder" | "loadingIndicator", string>;
|
|
14
|
+
theme: import("@shopgate/engage/styles").Theme;
|
|
15
|
+
css: import("tss-react").Css;
|
|
16
|
+
cx: import("tss-react").Cx;
|
|
17
|
+
};
|
|
18
|
+
export interface ButtonOwnProps {
|
|
19
|
+
/**
|
|
20
|
+
* The variant to use.
|
|
21
|
+
* @default 'contained'
|
|
22
|
+
*/
|
|
23
|
+
variant?: 'contained' | 'outlined' | 'text';
|
|
24
|
+
/**
|
|
25
|
+
* The color of the component.
|
|
26
|
+
* @default 'inherit'
|
|
27
|
+
*/
|
|
28
|
+
color?: PaletteColorsWithMain | 'inherit';
|
|
29
|
+
/**
|
|
30
|
+
* If `true`, no elevation is used for contained buttons.
|
|
31
|
+
* @default false
|
|
32
|
+
*/
|
|
33
|
+
disableElevation?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Element placed before the children.
|
|
36
|
+
*/
|
|
37
|
+
startIcon?: React.ReactNode;
|
|
38
|
+
/**
|
|
39
|
+
* Element placed after the children.
|
|
40
|
+
*/
|
|
41
|
+
endIcon?: React.ReactNode;
|
|
42
|
+
/**
|
|
43
|
+
* Element placed before the children if the button is in loading state.
|
|
44
|
+
* By default, it renders a `CircularProgress`.
|
|
45
|
+
*/
|
|
46
|
+
loadingIndicator?: React.ReactNode;
|
|
47
|
+
/**
|
|
48
|
+
* If `true`, the button will take up the full width of its container.
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
51
|
+
fullWidth?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* If `true`, the button will show a loading indicator and be disabled.
|
|
54
|
+
* @default false
|
|
55
|
+
*/
|
|
56
|
+
loading?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* The loading indicator can be positioned on the start, end, or the center of the button.
|
|
59
|
+
* @default 'center'
|
|
60
|
+
*/
|
|
61
|
+
loadingPosition?: 'start' | 'end' | 'center';
|
|
62
|
+
/**
|
|
63
|
+
* The size of the component.
|
|
64
|
+
* @default 'medium'
|
|
65
|
+
*/
|
|
66
|
+
size?: 'small' | 'medium' | 'large';
|
|
67
|
+
/**
|
|
68
|
+
* Override or extend the styles applied to the component.
|
|
69
|
+
*/
|
|
70
|
+
classes?: Partial<ReturnType<typeof useStyles>['classes']>;
|
|
71
|
+
}
|
|
72
|
+
export type ButtonProps = ButtonOwnProps & ButtonBaseProps;
|
|
73
|
+
export default Button;
|
|
74
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../components/v2/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGrE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD;;;GAGG;AACH,QAAA,MAAM,MAAM,uLAoFV,CAAC;AAEH,QAAA,MAAM,SAAS;;cAqBU,CAAC;;;;;;CA4NxB,CAAC;AAEH,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;IAC5C;;;OAGG;IACH,KAAK,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC1C;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;IAC7C;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;CAC5D;AAED,MAAM,MAAM,WAAW,GAAG,cAAc,GAAG,eAAe,CAAC;AAE3D,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
import { makeStyles } from '@shopgate/engage/styles';
|
|
3
|
+
import CircularProgress from "../CircularProgress";
|
|
4
|
+
import ButtonBase from "../ButtonBase";
|
|
5
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
+
/**
|
|
7
|
+
* The Button component is a versatile UI element that can be used to trigger actions or navigate users.
|
|
8
|
+
* It supports multiple variants, colors, and sizes, making it suitable for a wide range of use cases.
|
|
9
|
+
*/
|
|
10
|
+
const Button = /*#__PURE__*/forwardRef((props, ref) => {
|
|
11
|
+
const {
|
|
12
|
+
variant = 'contained',
|
|
13
|
+
color = 'inherit',
|
|
14
|
+
startIcon: startIconProp,
|
|
15
|
+
endIcon: endIconProp,
|
|
16
|
+
loading = false,
|
|
17
|
+
loadingPosition = 'center',
|
|
18
|
+
loadingIndicator: loadingIndicatorProp,
|
|
19
|
+
size = 'medium',
|
|
20
|
+
disabled = false,
|
|
21
|
+
fullWidth = false,
|
|
22
|
+
disableElevation = false,
|
|
23
|
+
className,
|
|
24
|
+
children,
|
|
25
|
+
...other
|
|
26
|
+
} = props;
|
|
27
|
+
const {
|
|
28
|
+
classes,
|
|
29
|
+
cx
|
|
30
|
+
} = useStyles({
|
|
31
|
+
color,
|
|
32
|
+
size,
|
|
33
|
+
variant,
|
|
34
|
+
loadingPosition,
|
|
35
|
+
loading,
|
|
36
|
+
fullWidth
|
|
37
|
+
}, {
|
|
38
|
+
props: {
|
|
39
|
+
classes: props.classes
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
const loadingIndicator = loadingIndicatorProp ?? /*#__PURE__*/_jsx(CircularProgress, {
|
|
43
|
+
color: "inherit",
|
|
44
|
+
size: 16
|
|
45
|
+
});
|
|
46
|
+
const startIcon = (startIconProp || loading && loadingPosition === 'start') && /*#__PURE__*/_jsx("span", {
|
|
47
|
+
className: cx(classes.icon, classes.startIcon),
|
|
48
|
+
children: startIconProp || /*#__PURE__*/_jsx("span", {
|
|
49
|
+
className: classes.loadingPlaceholder
|
|
50
|
+
})
|
|
51
|
+
});
|
|
52
|
+
const endIcon = (endIconProp || loading && loadingPosition === 'end') && /*#__PURE__*/_jsx("span", {
|
|
53
|
+
className: cx(classes.icon, classes.endIcon),
|
|
54
|
+
children: endIconProp || /*#__PURE__*/_jsx("span", {
|
|
55
|
+
className: classes.loadingPlaceholder
|
|
56
|
+
})
|
|
57
|
+
});
|
|
58
|
+
const loader = typeof loading === 'boolean' ? /*#__PURE__*/_jsx("span", {
|
|
59
|
+
style: {
|
|
60
|
+
display: 'contents'
|
|
61
|
+
},
|
|
62
|
+
className: cx(classes.loader, {
|
|
63
|
+
[classes.startIcon]: loadingPosition === 'start',
|
|
64
|
+
[classes.endIcon]: loadingPosition === 'end'
|
|
65
|
+
}),
|
|
66
|
+
children: loading && /*#__PURE__*/_jsx("span", {
|
|
67
|
+
className: classes.loadingIndicator,
|
|
68
|
+
children: loadingIndicator
|
|
69
|
+
})
|
|
70
|
+
}) : null;
|
|
71
|
+
return /*#__PURE__*/_jsx(ButtonBase, {
|
|
72
|
+
ref: ref,
|
|
73
|
+
className: cx(classes.root, className, {
|
|
74
|
+
[classes.text]: variant === 'text',
|
|
75
|
+
[classes.outlined]: variant === 'outlined',
|
|
76
|
+
[classes.contained]: variant === 'contained',
|
|
77
|
+
[classes.small]: size === 'small',
|
|
78
|
+
[classes.large]: size === 'large',
|
|
79
|
+
[classes.disabled]: disabled || loading,
|
|
80
|
+
[classes.fullWidth]: fullWidth,
|
|
81
|
+
[classes.disableElevation]: disableElevation
|
|
82
|
+
}),
|
|
83
|
+
disabled: disabled || loading,
|
|
84
|
+
...other,
|
|
85
|
+
children: /*#__PURE__*/_jsxs("span", {
|
|
86
|
+
className: classes.label,
|
|
87
|
+
children: [startIcon, loadingPosition !== 'end' && loader, children, loadingPosition === 'end' && loader, endIcon]
|
|
88
|
+
})
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
const useStyles = makeStyles({
|
|
92
|
+
name: 'Button'
|
|
93
|
+
})((theme, props) => {
|
|
94
|
+
const {
|
|
95
|
+
color,
|
|
96
|
+
size,
|
|
97
|
+
loadingPosition,
|
|
98
|
+
loading,
|
|
99
|
+
fullWidth,
|
|
100
|
+
variant
|
|
101
|
+
} = props;
|
|
102
|
+
let cssColor = '';
|
|
103
|
+
let contrastText = '';
|
|
104
|
+
if (color !== 'inherit') {
|
|
105
|
+
cssColor = color && theme.palette?.[color]?.main ? theme.palette[color].main : theme.palette.primary.main;
|
|
106
|
+
contrastText = color && theme.palette?.[color]?.contrastText ? theme.palette[color].contrastText : theme.palette.primary.contrastText;
|
|
107
|
+
} else if (variant === 'contained') {
|
|
108
|
+
// eslint-disable-next-line prefer-destructuring
|
|
109
|
+
cssColor = theme.palette.grey[200];
|
|
110
|
+
contrastText = 'inherit';
|
|
111
|
+
} else {
|
|
112
|
+
cssColor = 'currentColor';
|
|
113
|
+
}
|
|
114
|
+
return {
|
|
115
|
+
root: {
|
|
116
|
+
'--button-color': `var(${theme.vars.components.button.color}, ${cssColor})`,
|
|
117
|
+
'--text-color': `var(${theme.vars.components.button.textColor}, ${contrastText})`,
|
|
118
|
+
'--border-radius': `var(${theme.vars.components.button.borderRadius}, ${theme.shape.borderRadius})`,
|
|
119
|
+
'--font-size': theme.typography.button.fontSize,
|
|
120
|
+
'--variant-textColor': 'var(--button-color)',
|
|
121
|
+
'--variant-textDisabledColor': theme.palette.action.disabled,
|
|
122
|
+
'--variant-outlinedColor': 'var(--button-color)',
|
|
123
|
+
'--variant-outlinedBorder': 'var(--button-color)',
|
|
124
|
+
'--variant-outlinedDisabledColor': theme.palette.action.disabled,
|
|
125
|
+
'--variant-outlinedDisabledBorder': theme.palette.action.disabled,
|
|
126
|
+
'--variant-containedColor': 'var(--text-color)',
|
|
127
|
+
'--variant-containedBg': 'var(--button-color)',
|
|
128
|
+
'--variant-containedDisabledColor': theme.palette.action.disabled,
|
|
129
|
+
'--variant-containedDisabledBg': theme.palette.action.disabledBackground,
|
|
130
|
+
'--icon-size': theme.vars.typography.button.fontSize,
|
|
131
|
+
...theme.typography.button,
|
|
132
|
+
fontSize: 'var(--font-size)',
|
|
133
|
+
boxSizing: 'border-box',
|
|
134
|
+
minWidth: 64,
|
|
135
|
+
padding: '6px 16px',
|
|
136
|
+
transition: theme.transitions.create(['background-color', 'box-shadow', 'border'], {
|
|
137
|
+
duration: theme.transitions.duration.short
|
|
138
|
+
}),
|
|
139
|
+
borderRadius: 'var(--border-radius)',
|
|
140
|
+
'&:hover': {
|
|
141
|
+
'--variant-textBg': theme.alpha(cssColor, 0.1),
|
|
142
|
+
'--variant-outlinedBg': theme.alpha(cssColor, 0.1),
|
|
143
|
+
textDecoration: 'none',
|
|
144
|
+
'&:disabled': {
|
|
145
|
+
backgroundColor: 'transparent'
|
|
146
|
+
},
|
|
147
|
+
// Reset on touch devices, it doesn't add specificity
|
|
148
|
+
'@media (hover: none)': {
|
|
149
|
+
backgroundColor: 'transparent'
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
...(loading && loadingPosition === 'center' && {})
|
|
153
|
+
},
|
|
154
|
+
small: {
|
|
155
|
+
'--font-size': `calc(${theme.typography.button.fontSize} * 0.875)`,
|
|
156
|
+
padding: '4px 10px'
|
|
157
|
+
},
|
|
158
|
+
large: {
|
|
159
|
+
'--font-size': `calc(${theme.typography.button.fontSize} * 1.125)`,
|
|
160
|
+
padding: '8px 22px'
|
|
161
|
+
},
|
|
162
|
+
disabled: {},
|
|
163
|
+
text: {
|
|
164
|
+
color: 'var(--variant-textColor)',
|
|
165
|
+
background: 'var(--variant-textBg)',
|
|
166
|
+
'&:disabled': {
|
|
167
|
+
color: 'var(--variant-textDisabledColor)'
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
outlined: {
|
|
171
|
+
color: 'var(--variant-outlinedColor)',
|
|
172
|
+
border: '1px solid var(--variant-outlinedBorder)',
|
|
173
|
+
background: 'var(--variant-outlinedBg)',
|
|
174
|
+
'&:disabled': {
|
|
175
|
+
border: '1px solid var(--variant-outlinedDisabledBorder)',
|
|
176
|
+
color: 'var(--variant-outlinedDisabledColor)'
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
contained: {
|
|
180
|
+
color: 'var(--variant-containedColor)',
|
|
181
|
+
background: 'var(--variant-containedBg)',
|
|
182
|
+
boxShadow: theme.shadows[2],
|
|
183
|
+
'&:hover': {
|
|
184
|
+
background: theme.darken('var(--variant-containedBg)'),
|
|
185
|
+
boxShadow: theme.shadows[4],
|
|
186
|
+
// Reset on touch devices, it doesn't add specificity
|
|
187
|
+
'@media (hover: none)': {
|
|
188
|
+
background: 'var(--variant-containedBg)',
|
|
189
|
+
boxShadow: theme.shadows[2]
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
'&:active': {
|
|
193
|
+
boxShadow: theme.shadows[6]
|
|
194
|
+
},
|
|
195
|
+
'&:disabled': {
|
|
196
|
+
color: 'var(--variant-containedDisabledColor)',
|
|
197
|
+
backgroundColor: 'var(--variant-containedDisabledBg)',
|
|
198
|
+
boxShadow: theme.shadows[0]
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
disableElevation: {
|
|
202
|
+
boxShadow: 'none',
|
|
203
|
+
'&:hover': {
|
|
204
|
+
boxShadow: 'none'
|
|
205
|
+
},
|
|
206
|
+
'&:active': {
|
|
207
|
+
boxShadow: 'none'
|
|
208
|
+
},
|
|
209
|
+
'&$disabled': {
|
|
210
|
+
boxShadow: 'none'
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
label: {
|
|
214
|
+
width: '100%',
|
|
215
|
+
display: 'inherit',
|
|
216
|
+
alignItems: 'inherit',
|
|
217
|
+
justifyContent: 'inherit',
|
|
218
|
+
...(loading && loadingPosition === 'center' && {
|
|
219
|
+
transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color'], {
|
|
220
|
+
duration: theme.transitions.duration.short
|
|
221
|
+
}),
|
|
222
|
+
color: 'transparent'
|
|
223
|
+
})
|
|
224
|
+
},
|
|
225
|
+
fullWidth: {
|
|
226
|
+
width: '100%'
|
|
227
|
+
},
|
|
228
|
+
icon: {
|
|
229
|
+
fontSize: 'calc(var(--font-size) * 1.4)'
|
|
230
|
+
},
|
|
231
|
+
startIcon: {
|
|
232
|
+
flexShrink: 0,
|
|
233
|
+
display: 'inherit',
|
|
234
|
+
marginRight: 8,
|
|
235
|
+
marginLeft: -4,
|
|
236
|
+
...(size === 'small' && {
|
|
237
|
+
marginLeft: -2
|
|
238
|
+
}),
|
|
239
|
+
...(loading && loadingPosition === 'start' && {
|
|
240
|
+
transition: theme.transitions.create('opacity', {
|
|
241
|
+
duration: theme.transitions.duration.short
|
|
242
|
+
}),
|
|
243
|
+
opacity: 0
|
|
244
|
+
}),
|
|
245
|
+
...(loading && loadingPosition === 'start' && fullWidth && {
|
|
246
|
+
marginRight: -8
|
|
247
|
+
})
|
|
248
|
+
},
|
|
249
|
+
endIcon: {
|
|
250
|
+
flexShrink: 0,
|
|
251
|
+
display: 'inherit',
|
|
252
|
+
marginRight: -4,
|
|
253
|
+
marginLeft: 8,
|
|
254
|
+
...(size === 'small' && {
|
|
255
|
+
marginRight: -2
|
|
256
|
+
}),
|
|
257
|
+
...(loading && loadingPosition === 'end' && {
|
|
258
|
+
transition: theme.transitions.create('opacity', {
|
|
259
|
+
duration: theme.transitions.duration.short
|
|
260
|
+
}),
|
|
261
|
+
opacity: 0
|
|
262
|
+
}),
|
|
263
|
+
...(loading && loadingPosition === 'end' && fullWidth && {
|
|
264
|
+
marginLeft: -8
|
|
265
|
+
})
|
|
266
|
+
},
|
|
267
|
+
loader: {
|
|
268
|
+
position: 'absolute',
|
|
269
|
+
left: 0
|
|
270
|
+
},
|
|
271
|
+
loadingPlaceholder: {
|
|
272
|
+
display: 'inline-block',
|
|
273
|
+
width: '1em',
|
|
274
|
+
height: '1em'
|
|
275
|
+
},
|
|
276
|
+
loadingIndicator: {
|
|
277
|
+
display: 'none',
|
|
278
|
+
position: 'absolute',
|
|
279
|
+
visibility: 'visible',
|
|
280
|
+
...(loading && {
|
|
281
|
+
display: 'flex'
|
|
282
|
+
}),
|
|
283
|
+
...(loadingPosition === 'start' && {
|
|
284
|
+
left: 14
|
|
285
|
+
}),
|
|
286
|
+
...(loadingPosition === 'start' && size === 'small' && {
|
|
287
|
+
left: 10
|
|
288
|
+
}),
|
|
289
|
+
...(loadingPosition === 'center' && {
|
|
290
|
+
left: '50%',
|
|
291
|
+
transform: 'translateX(-50%)',
|
|
292
|
+
color: theme.palette.action.disabled
|
|
293
|
+
}),
|
|
294
|
+
...(loadingPosition === 'end' && {
|
|
295
|
+
right: 14
|
|
296
|
+
}),
|
|
297
|
+
...(loadingPosition === 'end' && size === 'small' && {
|
|
298
|
+
right: 10
|
|
299
|
+
}),
|
|
300
|
+
...(loadingPosition === 'end' && size === 'large' && {
|
|
301
|
+
right: 20
|
|
302
|
+
}),
|
|
303
|
+
...(loadingPosition === 'start' && fullWidth && {
|
|
304
|
+
position: 'relative',
|
|
305
|
+
left: -10
|
|
306
|
+
}),
|
|
307
|
+
...(loadingPosition === 'end' && fullWidth && {
|
|
308
|
+
position: 'relative',
|
|
309
|
+
right: -10
|
|
310
|
+
})
|
|
311
|
+
}
|
|
312
|
+
};
|
|
313
|
+
});
|
|
314
|
+
export default Button;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/v2/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Button";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The ButtonBase component serves as a foundational button element that can be extended with
|
|
4
|
+
* additional styles and functionality. It handles basic button behavior, including disabled
|
|
5
|
+
* state and type validation.
|
|
6
|
+
*/
|
|
7
|
+
declare const ButtonBase: React.ForwardRefExoticComponent<ButtonBaseOwnProps & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
declare const useStyles: (params: void, muiStyleOverridesParams?: {
|
|
9
|
+
props: Record<string, unknown>;
|
|
10
|
+
ownerState?: Record<string, unknown> | undefined;
|
|
11
|
+
} | undefined) => {
|
|
12
|
+
classes: Record<"root", string>;
|
|
13
|
+
theme: import("@shopgate/engage/styles").Theme;
|
|
14
|
+
css: import("tss-react").Css;
|
|
15
|
+
cx: import("tss-react").Cx;
|
|
16
|
+
};
|
|
17
|
+
export interface ButtonBaseOwnProps {
|
|
18
|
+
/**
|
|
19
|
+
* If true, the button will be disabled and not respond to user interactions.
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* If true, the ripple effect will be disabled on button interactions.
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
disableRipple?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Custom class name for the button.
|
|
30
|
+
*/
|
|
31
|
+
className?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Override or extend the styles applied to the component.
|
|
34
|
+
*/
|
|
35
|
+
classes?: Partial<ReturnType<typeof useStyles>['classes']>;
|
|
36
|
+
children: React.ReactNode;
|
|
37
|
+
}
|
|
38
|
+
export type ButtonBaseProps = ButtonBaseOwnProps & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
39
|
+
export default ButtonBase;
|
|
40
|
+
//# sourceMappingURL=ButtonBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonBase.d.ts","sourceRoot":"","sources":["../../../../components/v2/ButtonBase/ButtonBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAQ1C;;;;GAIG;AACH,QAAA,MAAM,UAAU,8IAsEd,CAAC;AAEH,QAAA,MAAM,SAAS;;cAyCP,CAAC;;;;;;CAVP,CAAC;AAEH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;IAC3D,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,MAAM,MAAM,eAAe,GAAG,kBAAkB,GAAG,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEjG,eAAe,UAAU,CAAC"}
|