@oxy.so/bloom 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/adoption-matrix.mdx +47 -18
- package/docs/app-shell.mdx +63 -12
- package/docs/bottom-bar.mdx +2 -0
- package/docs/card-form.mdx +185 -0
- package/docs/carrier-quote.mdx +121 -0
- package/docs/cart-panel.mdx +76 -0
- package/docs/chat-people.mdx +19 -0
- package/docs/checkout-summary.mdx +90 -0
- package/docs/content-panel.mdx +26 -0
- package/docs/delivery-slot.mdx +91 -0
- package/docs/directions.mdx +109 -0
- package/docs/earnings.mdx +87 -0
- package/docs/empty-state.mdx +89 -0
- package/docs/fab.mdx +18 -1
- package/docs/job-board.mdx +82 -0
- package/docs/location-puck.mdx +160 -0
- package/docs/map-attribution.mdx +88 -0
- package/docs/map-controls.mdx +103 -0
- package/docs/media-header.mdx +3 -1
- package/docs/menu-item.mdx +117 -0
- package/docs/navigation-banner.mdx +184 -0
- package/docs/order-confirmation.mdx +66 -0
- package/docs/page-header.mdx +14 -0
- package/docs/payment-method.mdx +169 -0
- package/docs/payment-status.mdx +108 -0
- package/docs/place-card.mdx +121 -0
- package/docs/place-details.mdx +202 -0
- package/docs/place-list.mdx +101 -0
- package/docs/progressive-blur.mdx +4 -0
- package/docs/proof-of-delivery.mdx +82 -0
- package/docs/screen.mdx +33 -4
- package/docs/shipment-request.mdx +139 -0
- package/docs/sidebar.mdx +45 -5
- package/docs/vehicle-picker.mdx +92 -0
- package/docs/vendor-card.mdx +83 -0
- package/lib/commonjs/app-shell/AppShell.js +105 -4
- package/lib/commonjs/app-shell/AppShell.js.map +1 -1
- package/lib/commonjs/app-shell/AppShellBars.js +17 -1
- package/lib/commonjs/app-shell/AppShellBars.js.map +1 -1
- package/lib/commonjs/app-shell/AppShellEngine.js +851 -674
- package/lib/commonjs/app-shell/AppShellEngine.js.map +1 -1
- package/lib/commonjs/app-shell/index.js +3 -1
- package/lib/commonjs/app-shell/index.js.map +1 -1
- package/lib/commonjs/app-shell/index.web.js +3 -1
- package/lib/commonjs/app-shell/index.web.js.map +1 -1
- package/lib/commonjs/bottom-bar/BottomBarBase.js +25 -10
- package/lib/commonjs/bottom-bar/BottomBarBase.js.map +1 -1
- package/lib/commonjs/button/Button.js +17 -3
- package/lib/commonjs/button/Button.js.map +1 -1
- package/lib/commonjs/button/Button.web.js +10 -2
- package/lib/commonjs/button/Button.web.js.map +1 -1
- package/lib/commonjs/card-form/CardForm.js +215 -0
- package/lib/commonjs/card-form/CardForm.js.map +1 -0
- package/lib/commonjs/card-form/CardFormParts.js +564 -0
- package/lib/commonjs/card-form/CardFormParts.js.map +1 -0
- package/lib/commonjs/card-form/constants.js +46 -0
- package/lib/commonjs/card-form/constants.js.map +1 -0
- package/lib/commonjs/card-form/index.js +191 -0
- package/lib/commonjs/card-form/index.js.map +1 -0
- package/lib/commonjs/card-form/shared.js +233 -0
- package/lib/commonjs/card-form/shared.js.map +1 -0
- package/lib/commonjs/card-form/types.js +6 -0
- package/lib/commonjs/card-form/types.js.map +1 -0
- package/lib/commonjs/card-form/use-card-form-part.js +56 -0
- package/lib/commonjs/card-form/use-card-form-part.js.map +1 -0
- package/lib/commonjs/carrier-quote/CarrierQuoteCard.js +528 -0
- package/lib/commonjs/carrier-quote/CarrierQuoteCard.js.map +1 -0
- package/lib/commonjs/carrier-quote/CarrierQuoteList.js +264 -0
- package/lib/commonjs/carrier-quote/CarrierQuoteList.js.map +1 -0
- package/lib/commonjs/carrier-quote/constants.js +84 -0
- package/lib/commonjs/carrier-quote/constants.js.map +1 -0
- package/lib/commonjs/carrier-quote/index.js +82 -0
- package/lib/commonjs/carrier-quote/index.js.map +1 -0
- package/lib/commonjs/carrier-quote/shared.js +150 -0
- package/lib/commonjs/carrier-quote/shared.js.map +1 -0
- package/lib/commonjs/carrier-quote/types.js +6 -0
- package/lib/commonjs/carrier-quote/types.js.map +1 -0
- package/lib/commonjs/cart-panel/CartLine.js +180 -0
- package/lib/commonjs/cart-panel/CartLine.js.map +1 -0
- package/lib/commonjs/cart-panel/CartPanel.js +280 -0
- package/lib/commonjs/cart-panel/CartPanel.js.map +1 -0
- package/lib/commonjs/cart-panel/CartPromoField.js +129 -0
- package/lib/commonjs/cart-panel/CartPromoField.js.map +1 -0
- package/lib/commonjs/cart-panel/CartTipPicker.js +88 -0
- package/lib/commonjs/cart-panel/CartTipPicker.js.map +1 -0
- package/lib/commonjs/cart-panel/constants.js +40 -0
- package/lib/commonjs/cart-panel/constants.js.map +1 -0
- package/lib/commonjs/cart-panel/index.js +78 -0
- package/lib/commonjs/cart-panel/index.js.map +1 -0
- package/lib/commonjs/cart-panel/shared.js +52 -0
- package/lib/commonjs/cart-panel/shared.js.map +1 -0
- package/lib/commonjs/cart-panel/types.js +6 -0
- package/lib/commonjs/cart-panel/types.js.map +1 -0
- package/lib/commonjs/chat-people/ContactRow.js +27 -21
- package/lib/commonjs/chat-people/ContactRow.js.map +1 -1
- package/lib/commonjs/checkout-summary/CheckoutConfirm.js +111 -0
- package/lib/commonjs/checkout-summary/CheckoutConfirm.js.map +1 -0
- package/lib/commonjs/checkout-summary/CheckoutSummary.js +191 -0
- package/lib/commonjs/checkout-summary/CheckoutSummary.js.map +1 -0
- package/lib/commonjs/checkout-summary/CheckoutSummaryRow.js +160 -0
- package/lib/commonjs/checkout-summary/CheckoutSummaryRow.js.map +1 -0
- package/lib/commonjs/checkout-summary/constants.js +62 -0
- package/lib/commonjs/checkout-summary/constants.js.map +1 -0
- package/lib/commonjs/checkout-summary/index.js +95 -0
- package/lib/commonjs/checkout-summary/index.js.map +1 -0
- package/lib/commonjs/checkout-summary/shared.js +43 -0
- package/lib/commonjs/checkout-summary/shared.js.map +1 -0
- package/lib/commonjs/checkout-summary/types.js +6 -0
- package/lib/commonjs/checkout-summary/types.js.map +1 -0
- package/lib/commonjs/content-panel/ContentPanel.web.js +45 -9
- package/lib/commonjs/content-panel/ContentPanel.web.js.map +1 -1
- package/lib/commonjs/delivery-slot/DeliverySlotDays.js +86 -0
- package/lib/commonjs/delivery-slot/DeliverySlotDays.js.map +1 -0
- package/lib/commonjs/delivery-slot/DeliverySlotOption.js +130 -0
- package/lib/commonjs/delivery-slot/DeliverySlotOption.js.map +1 -0
- package/lib/commonjs/delivery-slot/DeliverySlotPicker.js +250 -0
- package/lib/commonjs/delivery-slot/DeliverySlotPicker.js.map +1 -0
- package/lib/commonjs/delivery-slot/constants.js +50 -0
- package/lib/commonjs/delivery-slot/constants.js.map +1 -0
- package/lib/commonjs/delivery-slot/index.js +101 -0
- package/lib/commonjs/delivery-slot/index.js.map +1 -0
- package/lib/commonjs/delivery-slot/shared.js +59 -0
- package/lib/commonjs/delivery-slot/shared.js.map +1 -0
- package/lib/commonjs/delivery-slot/types.js +6 -0
- package/lib/commonjs/delivery-slot/types.js.map +1 -0
- package/lib/commonjs/directions/DirectionsSteps.js +153 -0
- package/lib/commonjs/directions/DirectionsSteps.js.map +1 -0
- package/lib/commonjs/directions/DirectionsSummary.js +260 -0
- package/lib/commonjs/directions/DirectionsSummary.js.map +1 -0
- package/lib/commonjs/directions/TransitLineBadge.js +68 -0
- package/lib/commonjs/directions/TransitLineBadge.js.map +1 -0
- package/lib/commonjs/directions/constants.js +76 -0
- package/lib/commonjs/directions/constants.js.map +1 -0
- package/lib/commonjs/directions/index.js +114 -0
- package/lib/commonjs/directions/index.js.map +1 -0
- package/lib/commonjs/directions/maneuvers.js +85 -0
- package/lib/commonjs/directions/maneuvers.js.map +1 -0
- package/lib/commonjs/directions/shared.js +108 -0
- package/lib/commonjs/directions/shared.js.map +1 -0
- package/lib/commonjs/directions/types.js +6 -0
- package/lib/commonjs/directions/types.js.map +1 -0
- package/lib/commonjs/earnings/EarningsBreakdown.js +80 -0
- package/lib/commonjs/earnings/EarningsBreakdown.js.map +1 -0
- package/lib/commonjs/earnings/EarningsPayoutRow.js +149 -0
- package/lib/commonjs/earnings/EarningsPayoutRow.js.map +1 -0
- package/lib/commonjs/earnings/EarningsSummary.js +277 -0
- package/lib/commonjs/earnings/EarningsSummary.js.map +1 -0
- package/lib/commonjs/earnings/constants.js +62 -0
- package/lib/commonjs/earnings/constants.js.map +1 -0
- package/lib/commonjs/earnings/index.js +77 -0
- package/lib/commonjs/earnings/index.js.map +1 -0
- package/lib/commonjs/earnings/shared.js +72 -0
- package/lib/commonjs/earnings/shared.js.map +1 -0
- package/lib/commonjs/earnings/types.js +6 -0
- package/lib/commonjs/earnings/types.js.map +1 -0
- package/lib/commonjs/empty-state/EmptyState.js +182 -0
- package/lib/commonjs/empty-state/EmptyState.js.map +1 -0
- package/lib/commonjs/empty-state/constants.js +42 -0
- package/lib/commonjs/empty-state/constants.js.map +1 -0
- package/lib/commonjs/empty-state/index.js +39 -0
- package/lib/commonjs/empty-state/index.js.map +1 -0
- package/lib/commonjs/empty-state/shared.js +27 -0
- package/lib/commonjs/empty-state/shared.js.map +1 -0
- package/lib/commonjs/empty-state/types.js +6 -0
- package/lib/commonjs/empty-state/types.js.map +1 -0
- package/lib/commonjs/fab/FabLabel.js +66 -0
- package/lib/commonjs/fab/FabLabel.js.map +1 -0
- package/lib/commonjs/fab/constants.js +30 -0
- package/lib/commonjs/fab/constants.js.map +1 -0
- package/lib/commonjs/fab/use-fab-props.js +44 -13
- package/lib/commonjs/fab/use-fab-props.js.map +1 -1
- package/lib/commonjs/index.js +3123 -1076
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +3123 -1076
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/job-board/JobBoard.js +442 -0
- package/lib/commonjs/job-board/JobBoard.js.map +1 -0
- package/lib/commonjs/job-board/JobCard.js +553 -0
- package/lib/commonjs/job-board/JobCard.js.map +1 -0
- package/lib/commonjs/job-board/constants.js +135 -0
- package/lib/commonjs/job-board/constants.js.map +1 -0
- package/lib/commonjs/job-board/index.js +106 -0
- package/lib/commonjs/job-board/index.js.map +1 -0
- package/lib/commonjs/job-board/shared.js +174 -0
- package/lib/commonjs/job-board/shared.js.map +1 -0
- package/lib/commonjs/job-board/types.js +6 -0
- package/lib/commonjs/job-board/types.js.map +1 -0
- package/lib/commonjs/location-puck/HeadingCone.js +73 -0
- package/lib/commonjs/location-puck/HeadingCone.js.map +1 -0
- package/lib/commonjs/location-puck/LocationPuck.js +221 -0
- package/lib/commonjs/location-puck/LocationPuck.js.map +1 -0
- package/lib/commonjs/location-puck/constants.js +66 -0
- package/lib/commonjs/location-puck/constants.js.map +1 -0
- package/lib/commonjs/location-puck/index.js +63 -0
- package/lib/commonjs/location-puck/index.js.map +1 -0
- package/lib/commonjs/location-puck/shared.js +175 -0
- package/lib/commonjs/location-puck/shared.js.map +1 -0
- package/lib/commonjs/location-puck/types.js +6 -0
- package/lib/commonjs/location-puck/types.js.map +1 -0
- package/lib/commonjs/map-attribution/MapAttribution.js +117 -0
- package/lib/commonjs/map-attribution/MapAttribution.js.map +1 -0
- package/lib/commonjs/map-attribution/MapAttributionShell.js +76 -0
- package/lib/commonjs/map-attribution/MapAttributionShell.js.map +1 -0
- package/lib/commonjs/map-attribution/MapScaleBar.js +116 -0
- package/lib/commonjs/map-attribution/MapScaleBar.js.map +1 -0
- package/lib/commonjs/map-attribution/constants.js +26 -0
- package/lib/commonjs/map-attribution/constants.js.map +1 -0
- package/lib/commonjs/map-attribution/index.js +40 -0
- package/lib/commonjs/map-attribution/index.js.map +1 -0
- package/lib/commonjs/map-attribution/shared.js +51 -0
- package/lib/commonjs/map-attribution/shared.js.map +1 -0
- package/lib/commonjs/map-attribution/types.js +6 -0
- package/lib/commonjs/map-attribution/types.js.map +1 -0
- package/lib/commonjs/map-controls/MapCompass.js +90 -0
- package/lib/commonjs/map-controls/MapCompass.js.map +1 -0
- package/lib/commonjs/map-controls/MapControls.js +136 -0
- package/lib/commonjs/map-controls/MapControls.js.map +1 -0
- package/lib/commonjs/map-controls/MapLayerPicker.js +110 -0
- package/lib/commonjs/map-controls/MapLayerPicker.js.map +1 -0
- package/lib/commonjs/map-controls/constants.js +28 -0
- package/lib/commonjs/map-controls/constants.js.map +1 -0
- package/lib/commonjs/map-controls/context.js +19 -0
- package/lib/commonjs/map-controls/context.js.map +1 -0
- package/lib/commonjs/map-controls/index.js +40 -0
- package/lib/commonjs/map-controls/index.js.map +1 -0
- package/lib/commonjs/map-controls/types.js +6 -0
- package/lib/commonjs/map-controls/types.js.map +1 -0
- package/lib/commonjs/media-header/MediaActionBar.js +113 -53
- package/lib/commonjs/media-header/MediaActionBar.js.map +1 -1
- package/lib/commonjs/menu-item/MenuItemOptions.js +216 -0
- package/lib/commonjs/menu-item/MenuItemOptions.js.map +1 -0
- package/lib/commonjs/menu-item/MenuItemRow.js +234 -0
- package/lib/commonjs/menu-item/MenuItemRow.js.map +1 -0
- package/lib/commonjs/menu-item/constants.js +56 -0
- package/lib/commonjs/menu-item/constants.js.map +1 -0
- package/lib/commonjs/menu-item/index.js +100 -0
- package/lib/commonjs/menu-item/index.js.map +1 -0
- package/lib/commonjs/menu-item/parts.js +203 -0
- package/lib/commonjs/menu-item/parts.js.map +1 -0
- package/lib/commonjs/menu-item/shared.js +145 -0
- package/lib/commonjs/menu-item/shared.js.map +1 -0
- package/lib/commonjs/menu-item/types.js +6 -0
- package/lib/commonjs/menu-item/types.js.map +1 -0
- package/lib/commonjs/navigation-banner/ArrivalBar.js +179 -0
- package/lib/commonjs/navigation-banner/ArrivalBar.js.map +1 -0
- package/lib/commonjs/navigation-banner/LaneGuidance.js +97 -0
- package/lib/commonjs/navigation-banner/LaneGuidance.js.map +1 -0
- package/lib/commonjs/navigation-banner/NavigationBanner.js +200 -0
- package/lib/commonjs/navigation-banner/NavigationBanner.js.map +1 -0
- package/lib/commonjs/navigation-banner/SpeedLimitPill.js +103 -0
- package/lib/commonjs/navigation-banner/SpeedLimitPill.js.map +1 -0
- package/lib/commonjs/navigation-banner/constants.js +54 -0
- package/lib/commonjs/navigation-banner/constants.js.map +1 -0
- package/lib/commonjs/navigation-banner/index.js +96 -0
- package/lib/commonjs/navigation-banner/index.js.map +1 -0
- package/lib/commonjs/navigation-banner/shared.js +104 -0
- package/lib/commonjs/navigation-banner/shared.js.map +1 -0
- package/lib/commonjs/navigation-banner/types.js +6 -0
- package/lib/commonjs/navigation-banner/types.js.map +1 -0
- package/lib/commonjs/order-confirmation/OrderConfirmation.js +188 -0
- package/lib/commonjs/order-confirmation/OrderConfirmation.js.map +1 -0
- package/lib/commonjs/order-confirmation/constants.js +22 -0
- package/lib/commonjs/order-confirmation/constants.js.map +1 -0
- package/lib/commonjs/order-confirmation/index.js +38 -0
- package/lib/commonjs/order-confirmation/index.js.map +1 -0
- package/lib/commonjs/order-confirmation/types.js +6 -0
- package/lib/commonjs/order-confirmation/types.js.map +1 -0
- package/lib/commonjs/page-header/PageHeader.js +31 -12
- package/lib/commonjs/page-header/PageHeader.js.map +1 -1
- package/lib/commonjs/payment-method/PaymentMethodList.js +291 -0
- package/lib/commonjs/payment-method/PaymentMethodList.js.map +1 -0
- package/lib/commonjs/payment-method/PaymentMethodMark.js +96 -0
- package/lib/commonjs/payment-method/PaymentMethodMark.js.map +1 -0
- package/lib/commonjs/payment-method/PaymentMethodRow.js +207 -0
- package/lib/commonjs/payment-method/PaymentMethodRow.js.map +1 -0
- package/lib/commonjs/payment-method/constants.js +64 -0
- package/lib/commonjs/payment-method/constants.js.map +1 -0
- package/lib/commonjs/payment-method/index.js +83 -0
- package/lib/commonjs/payment-method/index.js.map +1 -0
- package/lib/commonjs/payment-method/shared.js +44 -0
- package/lib/commonjs/payment-method/shared.js.map +1 -0
- package/lib/commonjs/payment-method/types.js +6 -0
- package/lib/commonjs/payment-method/types.js.map +1 -0
- package/lib/commonjs/payment-status/PaymentStatusBar.js +73 -0
- package/lib/commonjs/payment-status/PaymentStatusBar.js.map +1 -0
- package/lib/commonjs/payment-status/PaymentStatusBlock.js +190 -0
- package/lib/commonjs/payment-status/PaymentStatusBlock.js.map +1 -0
- package/lib/commonjs/payment-status/constants.js +73 -0
- package/lib/commonjs/payment-status/constants.js.map +1 -0
- package/lib/commonjs/payment-status/index.js +64 -0
- package/lib/commonjs/payment-status/index.js.map +1 -0
- package/lib/commonjs/payment-status/shared.js +38 -0
- package/lib/commonjs/payment-status/shared.js.map +1 -0
- package/lib/commonjs/payment-status/types.js +6 -0
- package/lib/commonjs/payment-status/types.js.map +1 -0
- package/lib/commonjs/place-card/PlaceActions.js +67 -0
- package/lib/commonjs/place-card/PlaceActions.js.map +1 -0
- package/lib/commonjs/place-card/PlaceCard.js +721 -0
- package/lib/commonjs/place-card/PlaceCard.js.map +1 -0
- package/lib/commonjs/place-card/constants.js +41 -0
- package/lib/commonjs/place-card/constants.js.map +1 -0
- package/lib/commonjs/place-card/index.js +58 -0
- package/lib/commonjs/place-card/index.js.map +1 -0
- package/lib/commonjs/place-card/shared.js +69 -0
- package/lib/commonjs/place-card/shared.js.map +1 -0
- package/lib/commonjs/place-card/types.js +6 -0
- package/lib/commonjs/place-card/types.js.map +1 -0
- package/lib/commonjs/place-details/PlaceAmenities.js +120 -0
- package/lib/commonjs/place-details/PlaceAmenities.js.map +1 -0
- package/lib/commonjs/place-details/PlaceHours.js +199 -0
- package/lib/commonjs/place-details/PlaceHours.js.map +1 -0
- package/lib/commonjs/place-details/PlaceInfoList.js +101 -0
- package/lib/commonjs/place-details/PlaceInfoList.js.map +1 -0
- package/lib/commonjs/place-details/PlacePopularTimes.js +240 -0
- package/lib/commonjs/place-details/PlacePopularTimes.js.map +1 -0
- package/lib/commonjs/place-details/PlaceTransit.js +238 -0
- package/lib/commonjs/place-details/PlaceTransit.js.map +1 -0
- package/lib/commonjs/place-details/constants.js +89 -0
- package/lib/commonjs/place-details/constants.js.map +1 -0
- package/lib/commonjs/place-details/index.js +133 -0
- package/lib/commonjs/place-details/index.js.map +1 -0
- package/lib/commonjs/place-details/shared.js +213 -0
- package/lib/commonjs/place-details/shared.js.map +1 -0
- package/lib/commonjs/place-details/types.js +6 -0
- package/lib/commonjs/place-details/types.js.map +1 -0
- package/lib/commonjs/place-list/PlaceList.js +192 -0
- package/lib/commonjs/place-list/PlaceList.js.map +1 -0
- package/lib/commonjs/place-list/PlaceListCard.js +198 -0
- package/lib/commonjs/place-list/PlaceListCard.js.map +1 -0
- package/lib/commonjs/place-list/constants.js +40 -0
- package/lib/commonjs/place-list/constants.js.map +1 -0
- package/lib/commonjs/place-list/index.js +70 -0
- package/lib/commonjs/place-list/index.js.map +1 -0
- package/lib/commonjs/place-list/shared.js +73 -0
- package/lib/commonjs/place-list/shared.js.map +1 -0
- package/lib/commonjs/place-list/types.js +6 -0
- package/lib/commonjs/place-list/types.js.map +1 -0
- package/lib/commonjs/progressive-blur/ProgressiveBlur.js +3 -2
- package/lib/commonjs/progressive-blur/ProgressiveBlur.js.map +1 -1
- package/lib/commonjs/progressive-blur/ProgressiveBlur.web.js +3 -5
- package/lib/commonjs/progressive-blur/ProgressiveBlur.web.js.map +1 -1
- package/lib/commonjs/proof-of-delivery/ProofOfDelivery.js +284 -0
- package/lib/commonjs/proof-of-delivery/ProofOfDelivery.js.map +1 -0
- package/lib/commonjs/proof-of-delivery/SignaturePad.js +293 -0
- package/lib/commonjs/proof-of-delivery/SignaturePad.js.map +1 -0
- package/lib/commonjs/proof-of-delivery/constants.js +67 -0
- package/lib/commonjs/proof-of-delivery/constants.js.map +1 -0
- package/lib/commonjs/proof-of-delivery/index.js +106 -0
- package/lib/commonjs/proof-of-delivery/index.js.map +1 -0
- package/lib/commonjs/proof-of-delivery/shared.js +171 -0
- package/lib/commonjs/proof-of-delivery/shared.js.map +1 -0
- package/lib/commonjs/proof-of-delivery/types.js +6 -0
- package/lib/commonjs/proof-of-delivery/types.js.map +1 -0
- package/lib/commonjs/screen/Screen.js +23 -4
- package/lib/commonjs/screen/Screen.js.map +1 -1
- package/lib/commonjs/screen/context.js.map +1 -1
- package/lib/commonjs/screen/use-screen-scroll.js +3 -2
- package/lib/commonjs/screen/use-screen-scroll.js.map +1 -1
- package/lib/commonjs/screen/use-screen-window-scroll.js +10 -5
- package/lib/commonjs/screen/use-screen-window-scroll.js.map +1 -1
- package/lib/commonjs/settings-list/SettingsList.js +2 -1
- package/lib/commonjs/settings-list/SettingsList.js.map +1 -1
- package/lib/commonjs/shipment-request/ShipmentLoadPicker.js +242 -0
- package/lib/commonjs/shipment-request/ShipmentLoadPicker.js.map +1 -0
- package/lib/commonjs/shipment-request/ShipmentOptionsList.js +182 -0
- package/lib/commonjs/shipment-request/ShipmentOptionsList.js.map +1 -0
- package/lib/commonjs/shipment-request/ShipmentRequestForm.js +146 -0
- package/lib/commonjs/shipment-request/ShipmentRequestForm.js.map +1 -0
- package/lib/commonjs/shipment-request/constants.js +137 -0
- package/lib/commonjs/shipment-request/constants.js.map +1 -0
- package/lib/commonjs/shipment-request/index.js +95 -0
- package/lib/commonjs/shipment-request/index.js.map +1 -0
- package/lib/commonjs/shipment-request/shared.js +65 -0
- package/lib/commonjs/shipment-request/shared.js.map +1 -0
- package/lib/commonjs/shipment-request/types.js +6 -0
- package/lib/commonjs/shipment-request/types.js.map +1 -0
- package/lib/commonjs/sidebar/Sidebar.js +216 -173
- package/lib/commonjs/sidebar/Sidebar.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarItem.js +19 -3
- package/lib/commonjs/sidebar/SidebarItem.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarLogoView.js +12 -4
- package/lib/commonjs/sidebar/SidebarLogoView.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarModeSwitcher.js +17 -5
- package/lib/commonjs/sidebar/SidebarModeSwitcher.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarPlanCard.js +6 -3
- package/lib/commonjs/sidebar/SidebarPlanCard.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarPrimaryAction.js +51 -0
- package/lib/commonjs/sidebar/SidebarPrimaryAction.js.map +1 -0
- package/lib/commonjs/sidebar/SidebarRail.js +29 -1
- package/lib/commonjs/sidebar/SidebarRail.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarRailItem.js +2 -0
- package/lib/commonjs/sidebar/SidebarRailItem.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarTeamMenu.js +6 -3
- package/lib/commonjs/sidebar/SidebarTeamMenu.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarUserMenu.js +7 -3
- package/lib/commonjs/sidebar/SidebarUserMenu.js.map +1 -1
- package/lib/commonjs/sidebar/geometry.js +30 -0
- package/lib/commonjs/sidebar/geometry.js.map +1 -0
- package/lib/commonjs/sidebar/metrics.js +4 -5
- package/lib/commonjs/sidebar/metrics.js.map +1 -1
- package/lib/commonjs/styles/web-view-style.js +4 -1
- package/lib/commonjs/styles/web-view-style.js.map +1 -1
- package/lib/commonjs/vehicle-picker/VehiclePicker.js +211 -0
- package/lib/commonjs/vehicle-picker/VehiclePicker.js.map +1 -0
- package/lib/commonjs/vehicle-picker/constants.js +85 -0
- package/lib/commonjs/vehicle-picker/constants.js.map +1 -0
- package/lib/commonjs/vehicle-picker/index.js +45 -0
- package/lib/commonjs/vehicle-picker/index.js.map +1 -0
- package/lib/commonjs/vehicle-picker/shared.js +24 -0
- package/lib/commonjs/vehicle-picker/shared.js.map +1 -0
- package/lib/commonjs/vehicle-picker/types.js +6 -0
- package/lib/commonjs/vehicle-picker/types.js.map +1 -0
- package/lib/commonjs/vendor-card/VendorCard.js +471 -0
- package/lib/commonjs/vendor-card/VendorCard.js.map +1 -0
- package/lib/commonjs/vendor-card/constants.js +58 -0
- package/lib/commonjs/vendor-card/constants.js.map +1 -0
- package/lib/commonjs/vendor-card/index.js +69 -0
- package/lib/commonjs/vendor-card/index.js.map +1 -0
- package/lib/commonjs/vendor-card/shared.js +116 -0
- package/lib/commonjs/vendor-card/shared.js.map +1 -0
- package/lib/commonjs/vendor-card/types.js +6 -0
- package/lib/commonjs/vendor-card/types.js.map +1 -0
- package/lib/module/app-shell/AppShell.js +107 -6
- package/lib/module/app-shell/AppShell.js.map +1 -1
- package/lib/module/app-shell/AppShellBars.js +18 -2
- package/lib/module/app-shell/AppShellBars.js.map +1 -1
- package/lib/module/app-shell/AppShellEngine.js +853 -676
- package/lib/module/app-shell/AppShellEngine.js.map +1 -1
- package/lib/module/app-shell/index.js +3 -1
- package/lib/module/app-shell/index.js.map +1 -1
- package/lib/module/app-shell/index.web.js +3 -1
- package/lib/module/app-shell/index.web.js.map +1 -1
- package/lib/module/bottom-bar/BottomBarBase.js +25 -10
- package/lib/module/bottom-bar/BottomBarBase.js.map +1 -1
- package/lib/module/button/Button.js +17 -3
- package/lib/module/button/Button.js.map +1 -1
- package/lib/module/button/Button.web.js +10 -2
- package/lib/module/button/Button.web.js.map +1 -1
- package/lib/module/card-form/CardForm.js +210 -0
- package/lib/module/card-form/CardForm.js.map +1 -0
- package/lib/module/card-form/CardFormParts.js +559 -0
- package/lib/module/card-form/CardFormParts.js.map +1 -0
- package/lib/module/card-form/constants.js +42 -0
- package/lib/module/card-form/constants.js.map +1 -0
- package/lib/module/card-form/index.js +8 -0
- package/lib/module/card-form/index.js.map +1 -0
- package/lib/module/card-form/shared.js +214 -0
- package/lib/module/card-form/shared.js.map +1 -0
- package/lib/module/card-form/types.js +4 -0
- package/lib/module/card-form/types.js.map +1 -0
- package/lib/module/card-form/use-card-form-part.js +52 -0
- package/lib/module/card-form/use-card-form-part.js.map +1 -0
- package/lib/module/carrier-quote/CarrierQuoteCard.js +523 -0
- package/lib/module/carrier-quote/CarrierQuoteCard.js.map +1 -0
- package/lib/module/carrier-quote/CarrierQuoteList.js +259 -0
- package/lib/module/carrier-quote/CarrierQuoteList.js.map +1 -0
- package/lib/module/carrier-quote/constants.js +80 -0
- package/lib/module/carrier-quote/constants.js.map +1 -0
- package/lib/module/carrier-quote/index.js +7 -0
- package/lib/module/carrier-quote/index.js.map +1 -0
- package/lib/module/carrier-quote/shared.js +139 -0
- package/lib/module/carrier-quote/shared.js.map +1 -0
- package/lib/module/carrier-quote/types.js +4 -0
- package/lib/module/carrier-quote/types.js.map +1 -0
- package/lib/module/cart-panel/CartLine.js +175 -0
- package/lib/module/cart-panel/CartLine.js.map +1 -0
- package/lib/module/cart-panel/CartPanel.js +275 -0
- package/lib/module/cart-panel/CartPanel.js.map +1 -0
- package/lib/module/cart-panel/CartPromoField.js +124 -0
- package/lib/module/cart-panel/CartPromoField.js.map +1 -0
- package/lib/module/cart-panel/CartTipPicker.js +83 -0
- package/lib/module/cart-panel/CartTipPicker.js.map +1 -0
- package/lib/module/cart-panel/constants.js +36 -0
- package/lib/module/cart-panel/constants.js.map +1 -0
- package/lib/module/cart-panel/index.js +9 -0
- package/lib/module/cart-panel/index.js.map +1 -0
- package/lib/module/cart-panel/shared.js +45 -0
- package/lib/module/cart-panel/shared.js.map +1 -0
- package/lib/module/cart-panel/types.js +4 -0
- package/lib/module/cart-panel/types.js.map +1 -0
- package/lib/module/chat-people/ContactRow.js +28 -22
- package/lib/module/chat-people/ContactRow.js.map +1 -1
- package/lib/module/checkout-summary/CheckoutConfirm.js +106 -0
- package/lib/module/checkout-summary/CheckoutConfirm.js.map +1 -0
- package/lib/module/checkout-summary/CheckoutSummary.js +186 -0
- package/lib/module/checkout-summary/CheckoutSummary.js.map +1 -0
- package/lib/module/checkout-summary/CheckoutSummaryRow.js +155 -0
- package/lib/module/checkout-summary/CheckoutSummaryRow.js.map +1 -0
- package/lib/module/checkout-summary/constants.js +58 -0
- package/lib/module/checkout-summary/constants.js.map +1 -0
- package/lib/module/checkout-summary/index.js +8 -0
- package/lib/module/checkout-summary/index.js.map +1 -0
- package/lib/module/checkout-summary/shared.js +36 -0
- package/lib/module/checkout-summary/shared.js.map +1 -0
- package/lib/module/checkout-summary/types.js +4 -0
- package/lib/module/checkout-summary/types.js.map +1 -0
- package/lib/module/content-panel/ContentPanel.web.js +46 -10
- package/lib/module/content-panel/ContentPanel.web.js.map +1 -1
- package/lib/module/delivery-slot/DeliverySlotDays.js +81 -0
- package/lib/module/delivery-slot/DeliverySlotDays.js.map +1 -0
- package/lib/module/delivery-slot/DeliverySlotOption.js +125 -0
- package/lib/module/delivery-slot/DeliverySlotOption.js.map +1 -0
- package/lib/module/delivery-slot/DeliverySlotPicker.js +245 -0
- package/lib/module/delivery-slot/DeliverySlotPicker.js.map +1 -0
- package/lib/module/delivery-slot/constants.js +46 -0
- package/lib/module/delivery-slot/constants.js.map +1 -0
- package/lib/module/delivery-slot/index.js +8 -0
- package/lib/module/delivery-slot/index.js.map +1 -0
- package/lib/module/delivery-slot/shared.js +51 -0
- package/lib/module/delivery-slot/shared.js.map +1 -0
- package/lib/module/delivery-slot/types.js +4 -0
- package/lib/module/delivery-slot/types.js.map +1 -0
- package/lib/module/directions/DirectionsSteps.js +148 -0
- package/lib/module/directions/DirectionsSteps.js.map +1 -0
- package/lib/module/directions/DirectionsSummary.js +255 -0
- package/lib/module/directions/DirectionsSummary.js.map +1 -0
- package/lib/module/directions/TransitLineBadge.js +63 -0
- package/lib/module/directions/TransitLineBadge.js.map +1 -0
- package/lib/module/directions/constants.js +72 -0
- package/lib/module/directions/constants.js.map +1 -0
- package/lib/module/directions/index.js +9 -0
- package/lib/module/directions/index.js.map +1 -0
- package/lib/module/directions/maneuvers.js +80 -0
- package/lib/module/directions/maneuvers.js.map +1 -0
- package/lib/module/directions/shared.js +97 -0
- package/lib/module/directions/shared.js.map +1 -0
- package/lib/module/directions/types.js +4 -0
- package/lib/module/directions/types.js.map +1 -0
- package/lib/module/earnings/EarningsBreakdown.js +75 -0
- package/lib/module/earnings/EarningsBreakdown.js.map +1 -0
- package/lib/module/earnings/EarningsPayoutRow.js +144 -0
- package/lib/module/earnings/EarningsPayoutRow.js.map +1 -0
- package/lib/module/earnings/EarningsSummary.js +272 -0
- package/lib/module/earnings/EarningsSummary.js.map +1 -0
- package/lib/module/earnings/constants.js +58 -0
- package/lib/module/earnings/constants.js.map +1 -0
- package/lib/module/earnings/index.js +8 -0
- package/lib/module/earnings/index.js.map +1 -0
- package/lib/module/earnings/shared.js +63 -0
- package/lib/module/earnings/shared.js.map +1 -0
- package/lib/module/earnings/types.js +4 -0
- package/lib/module/earnings/types.js.map +1 -0
- package/lib/module/empty-state/EmptyState.js +177 -0
- package/lib/module/empty-state/EmptyState.js.map +1 -0
- package/lib/module/empty-state/constants.js +38 -0
- package/lib/module/empty-state/constants.js.map +1 -0
- package/lib/module/empty-state/index.js +6 -0
- package/lib/module/empty-state/index.js.map +1 -0
- package/lib/module/empty-state/shared.js +21 -0
- package/lib/module/empty-state/shared.js.map +1 -0
- package/lib/module/empty-state/types.js +4 -0
- package/lib/module/empty-state/types.js.map +1 -0
- package/lib/module/fab/FabLabel.js +62 -0
- package/lib/module/fab/FabLabel.js.map +1 -0
- package/lib/module/fab/constants.js +26 -0
- package/lib/module/fab/constants.js.map +1 -0
- package/lib/module/fab/use-fab-props.js +44 -13
- package/lib/module/fab/use-fab-props.js.map +1 -1
- package/lib/module/index.js +85 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +85 -0
- package/lib/module/index.web.js.map +1 -1
- package/lib/module/job-board/JobBoard.js +437 -0
- package/lib/module/job-board/JobBoard.js.map +1 -0
- package/lib/module/job-board/JobCard.js +548 -0
- package/lib/module/job-board/JobCard.js.map +1 -0
- package/lib/module/job-board/constants.js +131 -0
- package/lib/module/job-board/constants.js.map +1 -0
- package/lib/module/job-board/index.js +7 -0
- package/lib/module/job-board/index.js.map +1 -0
- package/lib/module/job-board/shared.js +162 -0
- package/lib/module/job-board/shared.js.map +1 -0
- package/lib/module/job-board/types.js +4 -0
- package/lib/module/job-board/types.js.map +1 -0
- package/lib/module/location-puck/HeadingCone.js +70 -0
- package/lib/module/location-puck/HeadingCone.js.map +1 -0
- package/lib/module/location-puck/LocationPuck.js +216 -0
- package/lib/module/location-puck/LocationPuck.js.map +1 -0
- package/lib/module/location-puck/constants.js +62 -0
- package/lib/module/location-puck/constants.js.map +1 -0
- package/lib/module/location-puck/index.js +6 -0
- package/lib/module/location-puck/index.js.map +1 -0
- package/lib/module/location-puck/shared.js +163 -0
- package/lib/module/location-puck/shared.js.map +1 -0
- package/lib/module/location-puck/types.js +4 -0
- package/lib/module/location-puck/types.js.map +1 -0
- package/lib/module/map-attribution/MapAttribution.js +112 -0
- package/lib/module/map-attribution/MapAttribution.js.map +1 -0
- package/lib/module/map-attribution/MapAttributionShell.js +71 -0
- package/lib/module/map-attribution/MapAttributionShell.js.map +1 -0
- package/lib/module/map-attribution/MapScaleBar.js +111 -0
- package/lib/module/map-attribution/MapScaleBar.js.map +1 -0
- package/lib/module/map-attribution/constants.js +22 -0
- package/lib/module/map-attribution/constants.js.map +1 -0
- package/lib/module/map-attribution/index.js +7 -0
- package/lib/module/map-attribution/index.js.map +1 -0
- package/lib/module/map-attribution/shared.js +45 -0
- package/lib/module/map-attribution/shared.js.map +1 -0
- package/lib/module/map-attribution/types.js +4 -0
- package/lib/module/map-attribution/types.js.map +1 -0
- package/lib/module/map-controls/MapCompass.js +85 -0
- package/lib/module/map-controls/MapCompass.js.map +1 -0
- package/lib/module/map-controls/MapControls.js +131 -0
- package/lib/module/map-controls/MapControls.js.map +1 -0
- package/lib/module/map-controls/MapLayerPicker.js +105 -0
- package/lib/module/map-controls/MapLayerPicker.js.map +1 -0
- package/lib/module/map-controls/constants.js +24 -0
- package/lib/module/map-controls/constants.js.map +1 -0
- package/lib/module/map-controls/context.js +16 -0
- package/lib/module/map-controls/context.js.map +1 -0
- package/lib/module/map-controls/index.js +7 -0
- package/lib/module/map-controls/index.js.map +1 -0
- package/lib/module/map-controls/types.js +4 -0
- package/lib/module/map-controls/types.js.map +1 -0
- package/lib/module/media-header/MediaActionBar.js +113 -53
- package/lib/module/media-header/MediaActionBar.js.map +1 -1
- package/lib/module/menu-item/MenuItemOptions.js +211 -0
- package/lib/module/menu-item/MenuItemOptions.js.map +1 -0
- package/lib/module/menu-item/MenuItemRow.js +229 -0
- package/lib/module/menu-item/MenuItemRow.js.map +1 -0
- package/lib/module/menu-item/constants.js +52 -0
- package/lib/module/menu-item/constants.js.map +1 -0
- package/lib/module/menu-item/index.js +7 -0
- package/lib/module/menu-item/index.js.map +1 -0
- package/lib/module/menu-item/parts.js +196 -0
- package/lib/module/menu-item/parts.js.map +1 -0
- package/lib/module/menu-item/shared.js +131 -0
- package/lib/module/menu-item/shared.js.map +1 -0
- package/lib/module/menu-item/types.js +4 -0
- package/lib/module/menu-item/types.js.map +1 -0
- package/lib/module/navigation-banner/ArrivalBar.js +174 -0
- package/lib/module/navigation-banner/ArrivalBar.js.map +1 -0
- package/lib/module/navigation-banner/LaneGuidance.js +92 -0
- package/lib/module/navigation-banner/LaneGuidance.js.map +1 -0
- package/lib/module/navigation-banner/NavigationBanner.js +195 -0
- package/lib/module/navigation-banner/NavigationBanner.js.map +1 -0
- package/lib/module/navigation-banner/SpeedLimitPill.js +98 -0
- package/lib/module/navigation-banner/SpeedLimitPill.js.map +1 -0
- package/lib/module/navigation-banner/constants.js +50 -0
- package/lib/module/navigation-banner/constants.js.map +1 -0
- package/lib/module/navigation-banner/index.js +9 -0
- package/lib/module/navigation-banner/index.js.map +1 -0
- package/lib/module/navigation-banner/shared.js +94 -0
- package/lib/module/navigation-banner/shared.js.map +1 -0
- package/lib/module/navigation-banner/types.js +4 -0
- package/lib/module/navigation-banner/types.js.map +1 -0
- package/lib/module/order-confirmation/OrderConfirmation.js +183 -0
- package/lib/module/order-confirmation/OrderConfirmation.js.map +1 -0
- package/lib/module/order-confirmation/constants.js +18 -0
- package/lib/module/order-confirmation/constants.js.map +1 -0
- package/lib/module/order-confirmation/index.js +5 -0
- package/lib/module/order-confirmation/index.js.map +1 -0
- package/lib/module/order-confirmation/types.js +4 -0
- package/lib/module/order-confirmation/types.js.map +1 -0
- package/lib/module/page-header/PageHeader.js +33 -14
- package/lib/module/page-header/PageHeader.js.map +1 -1
- package/lib/module/payment-method/PaymentMethodList.js +286 -0
- package/lib/module/payment-method/PaymentMethodList.js.map +1 -0
- package/lib/module/payment-method/PaymentMethodMark.js +91 -0
- package/lib/module/payment-method/PaymentMethodMark.js.map +1 -0
- package/lib/module/payment-method/PaymentMethodRow.js +202 -0
- package/lib/module/payment-method/PaymentMethodRow.js.map +1 -0
- package/lib/module/payment-method/constants.js +60 -0
- package/lib/module/payment-method/constants.js.map +1 -0
- package/lib/module/payment-method/index.js +8 -0
- package/lib/module/payment-method/index.js.map +1 -0
- package/lib/module/payment-method/shared.js +37 -0
- package/lib/module/payment-method/shared.js.map +1 -0
- package/lib/module/payment-method/types.js +4 -0
- package/lib/module/payment-method/types.js.map +1 -0
- package/lib/module/payment-status/PaymentStatusBar.js +68 -0
- package/lib/module/payment-status/PaymentStatusBar.js.map +1 -0
- package/lib/module/payment-status/PaymentStatusBlock.js +185 -0
- package/lib/module/payment-status/PaymentStatusBlock.js.map +1 -0
- package/lib/module/payment-status/constants.js +69 -0
- package/lib/module/payment-status/constants.js.map +1 -0
- package/lib/module/payment-status/index.js +7 -0
- package/lib/module/payment-status/index.js.map +1 -0
- package/lib/module/payment-status/shared.js +33 -0
- package/lib/module/payment-status/shared.js.map +1 -0
- package/lib/module/payment-status/types.js +4 -0
- package/lib/module/payment-status/types.js.map +1 -0
- package/lib/module/place-card/PlaceActions.js +62 -0
- package/lib/module/place-card/PlaceActions.js.map +1 -0
- package/lib/module/place-card/PlaceCard.js +716 -0
- package/lib/module/place-card/PlaceCard.js.map +1 -0
- package/lib/module/place-card/constants.js +37 -0
- package/lib/module/place-card/constants.js.map +1 -0
- package/lib/module/place-card/index.js +7 -0
- package/lib/module/place-card/index.js.map +1 -0
- package/lib/module/place-card/shared.js +62 -0
- package/lib/module/place-card/shared.js.map +1 -0
- package/lib/module/place-card/types.js +4 -0
- package/lib/module/place-card/types.js.map +1 -0
- package/lib/module/place-details/PlaceAmenities.js +115 -0
- package/lib/module/place-details/PlaceAmenities.js.map +1 -0
- package/lib/module/place-details/PlaceHours.js +194 -0
- package/lib/module/place-details/PlaceHours.js.map +1 -0
- package/lib/module/place-details/PlaceInfoList.js +96 -0
- package/lib/module/place-details/PlaceInfoList.js.map +1 -0
- package/lib/module/place-details/PlacePopularTimes.js +235 -0
- package/lib/module/place-details/PlacePopularTimes.js.map +1 -0
- package/lib/module/place-details/PlaceTransit.js +233 -0
- package/lib/module/place-details/PlaceTransit.js.map +1 -0
- package/lib/module/place-details/constants.js +85 -0
- package/lib/module/place-details/constants.js.map +1 -0
- package/lib/module/place-details/index.js +10 -0
- package/lib/module/place-details/index.js.map +1 -0
- package/lib/module/place-details/shared.js +197 -0
- package/lib/module/place-details/shared.js.map +1 -0
- package/lib/module/place-details/types.js +4 -0
- package/lib/module/place-details/types.js.map +1 -0
- package/lib/module/place-list/PlaceList.js +187 -0
- package/lib/module/place-list/PlaceList.js.map +1 -0
- package/lib/module/place-list/PlaceListCard.js +193 -0
- package/lib/module/place-list/PlaceListCard.js.map +1 -0
- package/lib/module/place-list/constants.js +36 -0
- package/lib/module/place-list/constants.js.map +1 -0
- package/lib/module/place-list/index.js +7 -0
- package/lib/module/place-list/index.js.map +1 -0
- package/lib/module/place-list/shared.js +63 -0
- package/lib/module/place-list/shared.js.map +1 -0
- package/lib/module/place-list/types.js +4 -0
- package/lib/module/place-list/types.js.map +1 -0
- package/lib/module/progressive-blur/ProgressiveBlur.js +3 -2
- package/lib/module/progressive-blur/ProgressiveBlur.js.map +1 -1
- package/lib/module/progressive-blur/ProgressiveBlur.web.js +3 -5
- package/lib/module/progressive-blur/ProgressiveBlur.web.js.map +1 -1
- package/lib/module/proof-of-delivery/ProofOfDelivery.js +279 -0
- package/lib/module/proof-of-delivery/ProofOfDelivery.js.map +1 -0
- package/lib/module/proof-of-delivery/SignaturePad.js +288 -0
- package/lib/module/proof-of-delivery/SignaturePad.js.map +1 -0
- package/lib/module/proof-of-delivery/constants.js +63 -0
- package/lib/module/proof-of-delivery/constants.js.map +1 -0
- package/lib/module/proof-of-delivery/index.js +7 -0
- package/lib/module/proof-of-delivery/index.js.map +1 -0
- package/lib/module/proof-of-delivery/shared.js +157 -0
- package/lib/module/proof-of-delivery/shared.js.map +1 -0
- package/lib/module/proof-of-delivery/types.js +4 -0
- package/lib/module/proof-of-delivery/types.js.map +1 -0
- package/lib/module/screen/Screen.js +24 -5
- package/lib/module/screen/Screen.js.map +1 -1
- package/lib/module/screen/context.js.map +1 -1
- package/lib/module/screen/use-screen-scroll.js +3 -2
- package/lib/module/screen/use-screen-scroll.js.map +1 -1
- package/lib/module/screen/use-screen-window-scroll.js +9 -5
- package/lib/module/screen/use-screen-window-scroll.js.map +1 -1
- package/lib/module/settings-list/SettingsList.js +2 -1
- package/lib/module/settings-list/SettingsList.js.map +1 -1
- package/lib/module/shipment-request/ShipmentLoadPicker.js +237 -0
- package/lib/module/shipment-request/ShipmentLoadPicker.js.map +1 -0
- package/lib/module/shipment-request/ShipmentOptionsList.js +177 -0
- package/lib/module/shipment-request/ShipmentOptionsList.js.map +1 -0
- package/lib/module/shipment-request/ShipmentRequestForm.js +141 -0
- package/lib/module/shipment-request/ShipmentRequestForm.js.map +1 -0
- package/lib/module/shipment-request/constants.js +133 -0
- package/lib/module/shipment-request/constants.js.map +1 -0
- package/lib/module/shipment-request/index.js +8 -0
- package/lib/module/shipment-request/index.js.map +1 -0
- package/lib/module/shipment-request/shared.js +58 -0
- package/lib/module/shipment-request/shared.js.map +1 -0
- package/lib/module/shipment-request/types.js +4 -0
- package/lib/module/shipment-request/types.js.map +1 -0
- package/lib/module/sidebar/Sidebar.js +216 -173
- package/lib/module/sidebar/Sidebar.js.map +1 -1
- package/lib/module/sidebar/SidebarItem.js +19 -3
- package/lib/module/sidebar/SidebarItem.js.map +1 -1
- package/lib/module/sidebar/SidebarLogoView.js +13 -5
- package/lib/module/sidebar/SidebarLogoView.js.map +1 -1
- package/lib/module/sidebar/SidebarModeSwitcher.js +17 -5
- package/lib/module/sidebar/SidebarModeSwitcher.js.map +1 -1
- package/lib/module/sidebar/SidebarPlanCard.js +6 -3
- package/lib/module/sidebar/SidebarPlanCard.js.map +1 -1
- package/lib/module/sidebar/SidebarPrimaryAction.js +45 -0
- package/lib/module/sidebar/SidebarPrimaryAction.js.map +1 -0
- package/lib/module/sidebar/SidebarRail.js +29 -1
- package/lib/module/sidebar/SidebarRail.js.map +1 -1
- package/lib/module/sidebar/SidebarRailItem.js +2 -0
- package/lib/module/sidebar/SidebarRailItem.js.map +1 -1
- package/lib/module/sidebar/SidebarTeamMenu.js +6 -3
- package/lib/module/sidebar/SidebarTeamMenu.js.map +1 -1
- package/lib/module/sidebar/SidebarUserMenu.js +7 -3
- package/lib/module/sidebar/SidebarUserMenu.js.map +1 -1
- package/lib/module/sidebar/geometry.js +24 -0
- package/lib/module/sidebar/geometry.js.map +1 -0
- package/lib/module/sidebar/metrics.js +4 -5
- package/lib/module/sidebar/metrics.js.map +1 -1
- package/lib/module/styles/web-view-style.js +3 -0
- package/lib/module/styles/web-view-style.js.map +1 -1
- package/lib/module/vehicle-picker/VehiclePicker.js +206 -0
- package/lib/module/vehicle-picker/VehiclePicker.js.map +1 -0
- package/lib/module/vehicle-picker/constants.js +81 -0
- package/lib/module/vehicle-picker/constants.js.map +1 -0
- package/lib/module/vehicle-picker/index.js +6 -0
- package/lib/module/vehicle-picker/index.js.map +1 -0
- package/lib/module/vehicle-picker/shared.js +20 -0
- package/lib/module/vehicle-picker/shared.js.map +1 -0
- package/lib/module/vehicle-picker/types.js +4 -0
- package/lib/module/vehicle-picker/types.js.map +1 -0
- package/lib/module/vendor-card/VendorCard.js +466 -0
- package/lib/module/vendor-card/VendorCard.js.map +1 -0
- package/lib/module/vendor-card/constants.js +54 -0
- package/lib/module/vendor-card/constants.js.map +1 -0
- package/lib/module/vendor-card/index.js +6 -0
- package/lib/module/vendor-card/index.js.map +1 -0
- package/lib/module/vendor-card/shared.js +107 -0
- package/lib/module/vendor-card/shared.js.map +1 -0
- package/lib/module/vendor-card/types.js +4 -0
- package/lib/module/vendor-card/types.js.map +1 -0
- package/lib/typescript/commonjs/app-shell/AppShell.d.ts +2 -1
- package/lib/typescript/commonjs/app-shell/AppShell.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/AppShellBars.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/AppShellEngine.d.ts +3 -1
- package/lib/typescript/commonjs/app-shell/AppShellEngine.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/types.d.ts +23 -8
- package/lib/typescript/commonjs/app-shell/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/bottom-bar/BottomBarBase.d.ts +1 -1
- package/lib/typescript/commonjs/bottom-bar/BottomBarBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/bottom-bar/types.d.ts +2 -0
- package/lib/typescript/commonjs/bottom-bar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/Button.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/Button.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/types.d.ts +6 -0
- package/lib/typescript/commonjs/button/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/card-form/CardForm.d.ts +39 -0
- package/lib/typescript/commonjs/card-form/CardForm.d.ts.map +1 -0
- package/lib/typescript/commonjs/card-form/CardFormParts.d.ts +45 -0
- package/lib/typescript/commonjs/card-form/CardFormParts.d.ts.map +1 -0
- package/lib/typescript/commonjs/card-form/constants.d.ts +24 -0
- package/lib/typescript/commonjs/card-form/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/card-form/index.d.ts +8 -0
- package/lib/typescript/commonjs/card-form/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/card-form/shared.d.ts +109 -0
- package/lib/typescript/commonjs/card-form/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/card-form/types.d.ts +178 -0
- package/lib/typescript/commonjs/card-form/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/card-form/use-card-form-part.d.ts +40 -0
- package/lib/typescript/commonjs/card-form/use-card-form-part.d.ts.map +1 -0
- package/lib/typescript/commonjs/carrier-quote/CarrierQuoteCard.d.ts +6 -0
- package/lib/typescript/commonjs/carrier-quote/CarrierQuoteCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/carrier-quote/CarrierQuoteList.d.ts +29 -0
- package/lib/typescript/commonjs/carrier-quote/CarrierQuoteList.d.ts.map +1 -0
- package/lib/typescript/commonjs/carrier-quote/constants.d.ts +52 -0
- package/lib/typescript/commonjs/carrier-quote/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/carrier-quote/index.d.ts +8 -0
- package/lib/typescript/commonjs/carrier-quote/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/carrier-quote/shared.d.ts +58 -0
- package/lib/typescript/commonjs/carrier-quote/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/carrier-quote/types.d.ts +191 -0
- package/lib/typescript/commonjs/carrier-quote/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/cart-panel/CartLine.d.ts +33 -0
- package/lib/typescript/commonjs/cart-panel/CartLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/cart-panel/CartPanel.d.ts +6 -0
- package/lib/typescript/commonjs/cart-panel/CartPanel.d.ts.map +1 -0
- package/lib/typescript/commonjs/cart-panel/CartPromoField.d.ts +24 -0
- package/lib/typescript/commonjs/cart-panel/CartPromoField.d.ts.map +1 -0
- package/lib/typescript/commonjs/cart-panel/CartTipPicker.d.ts +22 -0
- package/lib/typescript/commonjs/cart-panel/CartTipPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/cart-panel/constants.d.ts +27 -0
- package/lib/typescript/commonjs/cart-panel/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/cart-panel/index.d.ts +10 -0
- package/lib/typescript/commonjs/cart-panel/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/cart-panel/shared.d.ts +30 -0
- package/lib/typescript/commonjs/cart-panel/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/cart-panel/types.d.ts +170 -0
- package/lib/typescript/commonjs/cart-panel/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/chat-people/ContactRow.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-people/types.d.ts +6 -0
- package/lib/typescript/commonjs/chat-people/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/checkout-summary/CheckoutConfirm.d.ts +37 -0
- package/lib/typescript/commonjs/checkout-summary/CheckoutConfirm.d.ts.map +1 -0
- package/lib/typescript/commonjs/checkout-summary/CheckoutSummary.d.ts +36 -0
- package/lib/typescript/commonjs/checkout-summary/CheckoutSummary.d.ts.map +1 -0
- package/lib/typescript/commonjs/checkout-summary/CheckoutSummaryRow.d.ts +30 -0
- package/lib/typescript/commonjs/checkout-summary/CheckoutSummaryRow.d.ts.map +1 -0
- package/lib/typescript/commonjs/checkout-summary/constants.d.ts +39 -0
- package/lib/typescript/commonjs/checkout-summary/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/checkout-summary/index.d.ts +8 -0
- package/lib/typescript/commonjs/checkout-summary/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/checkout-summary/shared.d.ts +27 -0
- package/lib/typescript/commonjs/checkout-summary/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/checkout-summary/types.d.ts +141 -0
- package/lib/typescript/commonjs/checkout-summary/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/content-panel/ContentPanel.web.d.ts +9 -6
- package/lib/typescript/commonjs/content-panel/ContentPanel.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotDays.d.ts +28 -0
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotDays.d.ts.map +1 -0
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotOption.d.ts +27 -0
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotOption.d.ts.map +1 -0
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotPicker.d.ts +34 -0
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/delivery-slot/constants.d.ts +34 -0
- package/lib/typescript/commonjs/delivery-slot/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/delivery-slot/index.d.ts +8 -0
- package/lib/typescript/commonjs/delivery-slot/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/delivery-slot/shared.d.ts +35 -0
- package/lib/typescript/commonjs/delivery-slot/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/delivery-slot/types.d.ts +178 -0
- package/lib/typescript/commonjs/delivery-slot/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/directions/DirectionsSteps.d.ts +34 -0
- package/lib/typescript/commonjs/directions/DirectionsSteps.d.ts.map +1 -0
- package/lib/typescript/commonjs/directions/DirectionsSummary.d.ts +6 -0
- package/lib/typescript/commonjs/directions/DirectionsSummary.d.ts.map +1 -0
- package/lib/typescript/commonjs/directions/TransitLineBadge.d.ts +26 -0
- package/lib/typescript/commonjs/directions/TransitLineBadge.d.ts.map +1 -0
- package/lib/typescript/commonjs/directions/constants.d.ts +29 -0
- package/lib/typescript/commonjs/directions/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/directions/index.d.ts +9 -0
- package/lib/typescript/commonjs/directions/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/directions/maneuvers.d.ts +4 -0
- package/lib/typescript/commonjs/directions/maneuvers.d.ts.map +1 -0
- package/lib/typescript/commonjs/directions/shared.d.ts +65 -0
- package/lib/typescript/commonjs/directions/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/directions/types.d.ts +161 -0
- package/lib/typescript/commonjs/directions/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/earnings/EarningsBreakdown.d.ts +24 -0
- package/lib/typescript/commonjs/earnings/EarningsBreakdown.d.ts.map +1 -0
- package/lib/typescript/commonjs/earnings/EarningsPayoutRow.d.ts +25 -0
- package/lib/typescript/commonjs/earnings/EarningsPayoutRow.d.ts.map +1 -0
- package/lib/typescript/commonjs/earnings/EarningsSummary.d.ts +6 -0
- package/lib/typescript/commonjs/earnings/EarningsSummary.d.ts.map +1 -0
- package/lib/typescript/commonjs/earnings/constants.d.ts +38 -0
- package/lib/typescript/commonjs/earnings/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/earnings/index.d.ts +9 -0
- package/lib/typescript/commonjs/earnings/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/earnings/shared.d.ts +43 -0
- package/lib/typescript/commonjs/earnings/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/earnings/types.d.ts +171 -0
- package/lib/typescript/commonjs/earnings/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/empty-state/EmptyState.d.ts +31 -0
- package/lib/typescript/commonjs/empty-state/EmptyState.d.ts.map +1 -0
- package/lib/typescript/commonjs/empty-state/constants.d.ts +32 -0
- package/lib/typescript/commonjs/empty-state/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/empty-state/index.d.ts +7 -0
- package/lib/typescript/commonjs/empty-state/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/empty-state/shared.d.ts +15 -0
- package/lib/typescript/commonjs/empty-state/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/empty-state/types.d.ts +97 -0
- package/lib/typescript/commonjs/empty-state/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/fab/FabLabel.d.ts +12 -0
- package/lib/typescript/commonjs/fab/FabLabel.d.ts.map +1 -0
- package/lib/typescript/commonjs/fab/constants.d.ts +24 -0
- package/lib/typescript/commonjs/fab/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/fab/types.d.ts +4 -0
- package/lib/typescript/commonjs/fab/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/fab/use-fab-props.d.ts +1 -1
- package/lib/typescript/commonjs/fab/use-fab-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +78 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.web.d.ts +78 -0
- package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/job-board/JobBoard.d.ts +38 -0
- package/lib/typescript/commonjs/job-board/JobBoard.d.ts.map +1 -0
- package/lib/typescript/commonjs/job-board/JobCard.d.ts +6 -0
- package/lib/typescript/commonjs/job-board/JobCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/job-board/constants.d.ts +69 -0
- package/lib/typescript/commonjs/job-board/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/job-board/index.d.ts +8 -0
- package/lib/typescript/commonjs/job-board/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/job-board/shared.d.ts +78 -0
- package/lib/typescript/commonjs/job-board/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/job-board/types.d.ts +269 -0
- package/lib/typescript/commonjs/job-board/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/location-puck/HeadingCone.d.ts +14 -0
- package/lib/typescript/commonjs/location-puck/HeadingCone.d.ts.map +1 -0
- package/lib/typescript/commonjs/location-puck/LocationPuck.d.ts +6 -0
- package/lib/typescript/commonjs/location-puck/LocationPuck.d.ts.map +1 -0
- package/lib/typescript/commonjs/location-puck/constants.d.ts +60 -0
- package/lib/typescript/commonjs/location-puck/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/location-puck/index.d.ts +7 -0
- package/lib/typescript/commonjs/location-puck/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/location-puck/shared.d.ts +109 -0
- package/lib/typescript/commonjs/location-puck/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/location-puck/types.d.ts +77 -0
- package/lib/typescript/commonjs/location-puck/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-attribution/MapAttribution.d.ts +32 -0
- package/lib/typescript/commonjs/map-attribution/MapAttribution.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-attribution/MapAttributionShell.d.ts +30 -0
- package/lib/typescript/commonjs/map-attribution/MapAttributionShell.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-attribution/MapScaleBar.d.ts +29 -0
- package/lib/typescript/commonjs/map-attribution/MapScaleBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-attribution/constants.d.ts +28 -0
- package/lib/typescript/commonjs/map-attribution/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-attribution/index.d.ts +8 -0
- package/lib/typescript/commonjs/map-attribution/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-attribution/shared.d.ts +39 -0
- package/lib/typescript/commonjs/map-attribution/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-attribution/types.d.ts +76 -0
- package/lib/typescript/commonjs/map-attribution/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-controls/MapCompass.d.ts +6 -0
- package/lib/typescript/commonjs/map-controls/MapCompass.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-controls/MapControls.d.ts +38 -0
- package/lib/typescript/commonjs/map-controls/MapControls.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-controls/MapLayerPicker.d.ts +25 -0
- package/lib/typescript/commonjs/map-controls/MapLayerPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-controls/constants.d.ts +28 -0
- package/lib/typescript/commonjs/map-controls/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-controls/context.d.ts +12 -0
- package/lib/typescript/commonjs/map-controls/context.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-controls/index.d.ts +7 -0
- package/lib/typescript/commonjs/map-controls/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-controls/types.d.ts +130 -0
- package/lib/typescript/commonjs/map-controls/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/media-header/MediaActionBar.d.ts +2 -2
- package/lib/typescript/commonjs/media-header/MediaActionBar.d.ts.map +1 -1
- package/lib/typescript/commonjs/media-header/types.d.ts +12 -3
- package/lib/typescript/commonjs/media-header/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/menu-item/MenuItemOptions.d.ts +6 -0
- package/lib/typescript/commonjs/menu-item/MenuItemOptions.d.ts.map +1 -0
- package/lib/typescript/commonjs/menu-item/MenuItemRow.d.ts +39 -0
- package/lib/typescript/commonjs/menu-item/MenuItemRow.d.ts.map +1 -0
- package/lib/typescript/commonjs/menu-item/constants.d.ts +36 -0
- package/lib/typescript/commonjs/menu-item/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/menu-item/index.d.ts +8 -0
- package/lib/typescript/commonjs/menu-item/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/menu-item/parts.d.ts +77 -0
- package/lib/typescript/commonjs/menu-item/parts.d.ts.map +1 -0
- package/lib/typescript/commonjs/menu-item/shared.d.ts +80 -0
- package/lib/typescript/commonjs/menu-item/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/menu-item/types.d.ts +132 -0
- package/lib/typescript/commonjs/menu-item/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/navigation-banner/ArrivalBar.d.ts +6 -0
- package/lib/typescript/commonjs/navigation-banner/ArrivalBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/navigation-banner/LaneGuidance.d.ts +6 -0
- package/lib/typescript/commonjs/navigation-banner/LaneGuidance.d.ts.map +1 -0
- package/lib/typescript/commonjs/navigation-banner/NavigationBanner.d.ts +44 -0
- package/lib/typescript/commonjs/navigation-banner/NavigationBanner.d.ts.map +1 -0
- package/lib/typescript/commonjs/navigation-banner/SpeedLimitPill.d.ts +28 -0
- package/lib/typescript/commonjs/navigation-banner/SpeedLimitPill.d.ts.map +1 -0
- package/lib/typescript/commonjs/navigation-banner/constants.d.ts +46 -0
- package/lib/typescript/commonjs/navigation-banner/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/navigation-banner/index.d.ts +10 -0
- package/lib/typescript/commonjs/navigation-banner/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/navigation-banner/shared.d.ts +67 -0
- package/lib/typescript/commonjs/navigation-banner/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/navigation-banner/types.d.ts +158 -0
- package/lib/typescript/commonjs/navigation-banner/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/order-confirmation/OrderConfirmation.d.ts +40 -0
- package/lib/typescript/commonjs/order-confirmation/OrderConfirmation.d.ts.map +1 -0
- package/lib/typescript/commonjs/order-confirmation/constants.d.ts +14 -0
- package/lib/typescript/commonjs/order-confirmation/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/order-confirmation/index.d.ts +4 -0
- package/lib/typescript/commonjs/order-confirmation/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/order-confirmation/types.d.ts +88 -0
- package/lib/typescript/commonjs/order-confirmation/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/page-header/PageHeader.d.ts +1 -1
- package/lib/typescript/commonjs/page-header/PageHeader.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-header/types.d.ts +2 -0
- package/lib/typescript/commonjs/page-header/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/payment-method/PaymentMethodList.d.ts +48 -0
- package/lib/typescript/commonjs/payment-method/PaymentMethodList.d.ts.map +1 -0
- package/lib/typescript/commonjs/payment-method/PaymentMethodMark.d.ts +28 -0
- package/lib/typescript/commonjs/payment-method/PaymentMethodMark.d.ts.map +1 -0
- package/lib/typescript/commonjs/payment-method/PaymentMethodRow.d.ts +31 -0
- package/lib/typescript/commonjs/payment-method/PaymentMethodRow.d.ts.map +1 -0
- package/lib/typescript/commonjs/payment-method/constants.d.ts +35 -0
- package/lib/typescript/commonjs/payment-method/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/payment-method/index.d.ts +9 -0
- package/lib/typescript/commonjs/payment-method/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/payment-method/shared.d.ts +27 -0
- package/lib/typescript/commonjs/payment-method/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/payment-method/types.d.ts +181 -0
- package/lib/typescript/commonjs/payment-method/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/payment-status/PaymentStatusBar.d.ts +34 -0
- package/lib/typescript/commonjs/payment-status/PaymentStatusBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/payment-status/PaymentStatusBlock.d.ts +31 -0
- package/lib/typescript/commonjs/payment-status/PaymentStatusBlock.d.ts.map +1 -0
- package/lib/typescript/commonjs/payment-status/constants.d.ts +43 -0
- package/lib/typescript/commonjs/payment-status/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/payment-status/index.d.ts +8 -0
- package/lib/typescript/commonjs/payment-status/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/payment-status/shared.d.ts +40 -0
- package/lib/typescript/commonjs/payment-status/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/payment-status/types.d.ts +85 -0
- package/lib/typescript/commonjs/payment-status/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-card/PlaceActions.d.ts +26 -0
- package/lib/typescript/commonjs/place-card/PlaceActions.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-card/PlaceCard.d.ts +6 -0
- package/lib/typescript/commonjs/place-card/PlaceCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-card/constants.d.ts +33 -0
- package/lib/typescript/commonjs/place-card/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-card/index.d.ts +8 -0
- package/lib/typescript/commonjs/place-card/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-card/shared.d.ts +26 -0
- package/lib/typescript/commonjs/place-card/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-card/types.d.ts +148 -0
- package/lib/typescript/commonjs/place-card/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-details/PlaceAmenities.d.ts +28 -0
- package/lib/typescript/commonjs/place-details/PlaceAmenities.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-details/PlaceHours.d.ts +33 -0
- package/lib/typescript/commonjs/place-details/PlaceHours.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-details/PlaceInfoList.d.ts +37 -0
- package/lib/typescript/commonjs/place-details/PlaceInfoList.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-details/PlacePopularTimes.d.ts +45 -0
- package/lib/typescript/commonjs/place-details/PlacePopularTimes.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-details/PlaceTransit.d.ts +29 -0
- package/lib/typescript/commonjs/place-details/PlaceTransit.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-details/constants.d.ts +54 -0
- package/lib/typescript/commonjs/place-details/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-details/index.d.ts +11 -0
- package/lib/typescript/commonjs/place-details/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-details/shared.d.ts +99 -0
- package/lib/typescript/commonjs/place-details/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-details/types.d.ts +291 -0
- package/lib/typescript/commonjs/place-details/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-list/PlaceList.d.ts +40 -0
- package/lib/typescript/commonjs/place-list/PlaceList.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-list/PlaceListCard.d.ts +30 -0
- package/lib/typescript/commonjs/place-list/PlaceListCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-list/constants.d.ts +32 -0
- package/lib/typescript/commonjs/place-list/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-list/index.d.ts +8 -0
- package/lib/typescript/commonjs/place-list/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-list/shared.d.ts +38 -0
- package/lib/typescript/commonjs/place-list/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/place-list/types.d.ts +102 -0
- package/lib/typescript/commonjs/place-list/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/progressive-blur/ProgressiveBlur.d.ts.map +1 -1
- package/lib/typescript/commonjs/proof-of-delivery/ProofOfDelivery.d.ts +51 -0
- package/lib/typescript/commonjs/proof-of-delivery/ProofOfDelivery.d.ts.map +1 -0
- package/lib/typescript/commonjs/proof-of-delivery/SignaturePad.d.ts +6 -0
- package/lib/typescript/commonjs/proof-of-delivery/SignaturePad.d.ts.map +1 -0
- package/lib/typescript/commonjs/proof-of-delivery/constants.d.ts +40 -0
- package/lib/typescript/commonjs/proof-of-delivery/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/proof-of-delivery/index.d.ts +8 -0
- package/lib/typescript/commonjs/proof-of-delivery/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/proof-of-delivery/shared.d.ts +79 -0
- package/lib/typescript/commonjs/proof-of-delivery/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/proof-of-delivery/types.d.ts +165 -0
- package/lib/typescript/commonjs/proof-of-delivery/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/screen/Screen.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/context.d.ts +2 -0
- package/lib/typescript/commonjs/screen/context.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/types.d.ts +1 -1
- package/lib/typescript/commonjs/screen/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/use-screen-scroll.d.ts +1 -0
- package/lib/typescript/commonjs/screen/use-screen-scroll.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/use-screen-window-scroll.d.ts +4 -0
- package/lib/typescript/commonjs/screen/use-screen-window-scroll.d.ts.map +1 -1
- package/lib/typescript/commonjs/settings-list/SettingsList.d.ts.map +1 -1
- package/lib/typescript/commonjs/settings-list/types.d.ts +10 -0
- package/lib/typescript/commonjs/settings-list/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/shipment-request/ShipmentLoadPicker.d.ts +32 -0
- package/lib/typescript/commonjs/shipment-request/ShipmentLoadPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/shipment-request/ShipmentOptionsList.d.ts +6 -0
- package/lib/typescript/commonjs/shipment-request/ShipmentOptionsList.d.ts.map +1 -0
- package/lib/typescript/commonjs/shipment-request/ShipmentRequestForm.d.ts +33 -0
- package/lib/typescript/commonjs/shipment-request/ShipmentRequestForm.d.ts.map +1 -0
- package/lib/typescript/commonjs/shipment-request/constants.d.ts +42 -0
- package/lib/typescript/commonjs/shipment-request/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/shipment-request/index.d.ts +8 -0
- package/lib/typescript/commonjs/shipment-request/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/shipment-request/shared.d.ts +40 -0
- package/lib/typescript/commonjs/shipment-request/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/shipment-request/types.d.ts +219 -0
- package/lib/typescript/commonjs/shipment-request/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarItem.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarLogoView.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarModeSwitcher.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarPlanCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarPrimaryAction.d.ts +9 -0
- package/lib/typescript/commonjs/sidebar/SidebarPrimaryAction.d.ts.map +1 -0
- package/lib/typescript/commonjs/sidebar/SidebarRail.d.ts +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarRail.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarRailItem.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarTeamMenu.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarUserMenu.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/geometry.d.ts +23 -0
- package/lib/typescript/commonjs/sidebar/geometry.d.ts.map +1 -0
- package/lib/typescript/commonjs/sidebar/metrics.d.ts +2 -3
- package/lib/typescript/commonjs/sidebar/metrics.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/types.d.ts +22 -2
- package/lib/typescript/commonjs/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/styles/web-view-style.d.ts +2 -0
- package/lib/typescript/commonjs/styles/web-view-style.d.ts.map +1 -1
- package/lib/typescript/commonjs/vehicle-picker/VehiclePicker.d.ts +6 -0
- package/lib/typescript/commonjs/vehicle-picker/VehiclePicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/vehicle-picker/constants.d.ts +39 -0
- package/lib/typescript/commonjs/vehicle-picker/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/vehicle-picker/index.d.ts +6 -0
- package/lib/typescript/commonjs/vehicle-picker/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/vehicle-picker/shared.d.ts +19 -0
- package/lib/typescript/commonjs/vehicle-picker/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/vehicle-picker/types.d.ts +82 -0
- package/lib/typescript/commonjs/vehicle-picker/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/vendor-card/VendorCard.d.ts +6 -0
- package/lib/typescript/commonjs/vendor-card/VendorCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/vendor-card/constants.d.ts +27 -0
- package/lib/typescript/commonjs/vendor-card/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/vendor-card/index.d.ts +5 -0
- package/lib/typescript/commonjs/vendor-card/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/vendor-card/shared.d.ts +23 -0
- package/lib/typescript/commonjs/vendor-card/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/vendor-card/types.d.ts +111 -0
- package/lib/typescript/commonjs/vendor-card/types.d.ts.map +1 -0
- package/lib/typescript/module/app-shell/AppShell.d.ts +2 -1
- package/lib/typescript/module/app-shell/AppShell.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/AppShellBars.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/AppShellEngine.d.ts +3 -1
- package/lib/typescript/module/app-shell/AppShellEngine.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/index.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/index.web.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/types.d.ts +23 -8
- package/lib/typescript/module/app-shell/types.d.ts.map +1 -1
- package/lib/typescript/module/bottom-bar/BottomBarBase.d.ts +1 -1
- package/lib/typescript/module/bottom-bar/BottomBarBase.d.ts.map +1 -1
- package/lib/typescript/module/bottom-bar/types.d.ts +2 -0
- package/lib/typescript/module/bottom-bar/types.d.ts.map +1 -1
- package/lib/typescript/module/button/Button.d.ts.map +1 -1
- package/lib/typescript/module/button/Button.web.d.ts.map +1 -1
- package/lib/typescript/module/button/types.d.ts +6 -0
- package/lib/typescript/module/button/types.d.ts.map +1 -1
- package/lib/typescript/module/card-form/CardForm.d.ts +39 -0
- package/lib/typescript/module/card-form/CardForm.d.ts.map +1 -0
- package/lib/typescript/module/card-form/CardFormParts.d.ts +45 -0
- package/lib/typescript/module/card-form/CardFormParts.d.ts.map +1 -0
- package/lib/typescript/module/card-form/constants.d.ts +24 -0
- package/lib/typescript/module/card-form/constants.d.ts.map +1 -0
- package/lib/typescript/module/card-form/index.d.ts +8 -0
- package/lib/typescript/module/card-form/index.d.ts.map +1 -0
- package/lib/typescript/module/card-form/shared.d.ts +109 -0
- package/lib/typescript/module/card-form/shared.d.ts.map +1 -0
- package/lib/typescript/module/card-form/types.d.ts +178 -0
- package/lib/typescript/module/card-form/types.d.ts.map +1 -0
- package/lib/typescript/module/card-form/use-card-form-part.d.ts +40 -0
- package/lib/typescript/module/card-form/use-card-form-part.d.ts.map +1 -0
- package/lib/typescript/module/carrier-quote/CarrierQuoteCard.d.ts +6 -0
- package/lib/typescript/module/carrier-quote/CarrierQuoteCard.d.ts.map +1 -0
- package/lib/typescript/module/carrier-quote/CarrierQuoteList.d.ts +29 -0
- package/lib/typescript/module/carrier-quote/CarrierQuoteList.d.ts.map +1 -0
- package/lib/typescript/module/carrier-quote/constants.d.ts +52 -0
- package/lib/typescript/module/carrier-quote/constants.d.ts.map +1 -0
- package/lib/typescript/module/carrier-quote/index.d.ts +8 -0
- package/lib/typescript/module/carrier-quote/index.d.ts.map +1 -0
- package/lib/typescript/module/carrier-quote/shared.d.ts +58 -0
- package/lib/typescript/module/carrier-quote/shared.d.ts.map +1 -0
- package/lib/typescript/module/carrier-quote/types.d.ts +191 -0
- package/lib/typescript/module/carrier-quote/types.d.ts.map +1 -0
- package/lib/typescript/module/cart-panel/CartLine.d.ts +33 -0
- package/lib/typescript/module/cart-panel/CartLine.d.ts.map +1 -0
- package/lib/typescript/module/cart-panel/CartPanel.d.ts +6 -0
- package/lib/typescript/module/cart-panel/CartPanel.d.ts.map +1 -0
- package/lib/typescript/module/cart-panel/CartPromoField.d.ts +24 -0
- package/lib/typescript/module/cart-panel/CartPromoField.d.ts.map +1 -0
- package/lib/typescript/module/cart-panel/CartTipPicker.d.ts +22 -0
- package/lib/typescript/module/cart-panel/CartTipPicker.d.ts.map +1 -0
- package/lib/typescript/module/cart-panel/constants.d.ts +27 -0
- package/lib/typescript/module/cart-panel/constants.d.ts.map +1 -0
- package/lib/typescript/module/cart-panel/index.d.ts +10 -0
- package/lib/typescript/module/cart-panel/index.d.ts.map +1 -0
- package/lib/typescript/module/cart-panel/shared.d.ts +30 -0
- package/lib/typescript/module/cart-panel/shared.d.ts.map +1 -0
- package/lib/typescript/module/cart-panel/types.d.ts +170 -0
- package/lib/typescript/module/cart-panel/types.d.ts.map +1 -0
- package/lib/typescript/module/chat-people/ContactRow.d.ts.map +1 -1
- package/lib/typescript/module/chat-people/types.d.ts +6 -0
- package/lib/typescript/module/chat-people/types.d.ts.map +1 -1
- package/lib/typescript/module/checkout-summary/CheckoutConfirm.d.ts +37 -0
- package/lib/typescript/module/checkout-summary/CheckoutConfirm.d.ts.map +1 -0
- package/lib/typescript/module/checkout-summary/CheckoutSummary.d.ts +36 -0
- package/lib/typescript/module/checkout-summary/CheckoutSummary.d.ts.map +1 -0
- package/lib/typescript/module/checkout-summary/CheckoutSummaryRow.d.ts +30 -0
- package/lib/typescript/module/checkout-summary/CheckoutSummaryRow.d.ts.map +1 -0
- package/lib/typescript/module/checkout-summary/constants.d.ts +39 -0
- package/lib/typescript/module/checkout-summary/constants.d.ts.map +1 -0
- package/lib/typescript/module/checkout-summary/index.d.ts +8 -0
- package/lib/typescript/module/checkout-summary/index.d.ts.map +1 -0
- package/lib/typescript/module/checkout-summary/shared.d.ts +27 -0
- package/lib/typescript/module/checkout-summary/shared.d.ts.map +1 -0
- package/lib/typescript/module/checkout-summary/types.d.ts +141 -0
- package/lib/typescript/module/checkout-summary/types.d.ts.map +1 -0
- package/lib/typescript/module/content-panel/ContentPanel.web.d.ts +9 -6
- package/lib/typescript/module/content-panel/ContentPanel.web.d.ts.map +1 -1
- package/lib/typescript/module/delivery-slot/DeliverySlotDays.d.ts +28 -0
- package/lib/typescript/module/delivery-slot/DeliverySlotDays.d.ts.map +1 -0
- package/lib/typescript/module/delivery-slot/DeliverySlotOption.d.ts +27 -0
- package/lib/typescript/module/delivery-slot/DeliverySlotOption.d.ts.map +1 -0
- package/lib/typescript/module/delivery-slot/DeliverySlotPicker.d.ts +34 -0
- package/lib/typescript/module/delivery-slot/DeliverySlotPicker.d.ts.map +1 -0
- package/lib/typescript/module/delivery-slot/constants.d.ts +34 -0
- package/lib/typescript/module/delivery-slot/constants.d.ts.map +1 -0
- package/lib/typescript/module/delivery-slot/index.d.ts +8 -0
- package/lib/typescript/module/delivery-slot/index.d.ts.map +1 -0
- package/lib/typescript/module/delivery-slot/shared.d.ts +35 -0
- package/lib/typescript/module/delivery-slot/shared.d.ts.map +1 -0
- package/lib/typescript/module/delivery-slot/types.d.ts +178 -0
- package/lib/typescript/module/delivery-slot/types.d.ts.map +1 -0
- package/lib/typescript/module/directions/DirectionsSteps.d.ts +34 -0
- package/lib/typescript/module/directions/DirectionsSteps.d.ts.map +1 -0
- package/lib/typescript/module/directions/DirectionsSummary.d.ts +6 -0
- package/lib/typescript/module/directions/DirectionsSummary.d.ts.map +1 -0
- package/lib/typescript/module/directions/TransitLineBadge.d.ts +26 -0
- package/lib/typescript/module/directions/TransitLineBadge.d.ts.map +1 -0
- package/lib/typescript/module/directions/constants.d.ts +29 -0
- package/lib/typescript/module/directions/constants.d.ts.map +1 -0
- package/lib/typescript/module/directions/index.d.ts +9 -0
- package/lib/typescript/module/directions/index.d.ts.map +1 -0
- package/lib/typescript/module/directions/maneuvers.d.ts +4 -0
- package/lib/typescript/module/directions/maneuvers.d.ts.map +1 -0
- package/lib/typescript/module/directions/shared.d.ts +65 -0
- package/lib/typescript/module/directions/shared.d.ts.map +1 -0
- package/lib/typescript/module/directions/types.d.ts +161 -0
- package/lib/typescript/module/directions/types.d.ts.map +1 -0
- package/lib/typescript/module/earnings/EarningsBreakdown.d.ts +24 -0
- package/lib/typescript/module/earnings/EarningsBreakdown.d.ts.map +1 -0
- package/lib/typescript/module/earnings/EarningsPayoutRow.d.ts +25 -0
- package/lib/typescript/module/earnings/EarningsPayoutRow.d.ts.map +1 -0
- package/lib/typescript/module/earnings/EarningsSummary.d.ts +6 -0
- package/lib/typescript/module/earnings/EarningsSummary.d.ts.map +1 -0
- package/lib/typescript/module/earnings/constants.d.ts +38 -0
- package/lib/typescript/module/earnings/constants.d.ts.map +1 -0
- package/lib/typescript/module/earnings/index.d.ts +9 -0
- package/lib/typescript/module/earnings/index.d.ts.map +1 -0
- package/lib/typescript/module/earnings/shared.d.ts +43 -0
- package/lib/typescript/module/earnings/shared.d.ts.map +1 -0
- package/lib/typescript/module/earnings/types.d.ts +171 -0
- package/lib/typescript/module/earnings/types.d.ts.map +1 -0
- package/lib/typescript/module/empty-state/EmptyState.d.ts +31 -0
- package/lib/typescript/module/empty-state/EmptyState.d.ts.map +1 -0
- package/lib/typescript/module/empty-state/constants.d.ts +32 -0
- package/lib/typescript/module/empty-state/constants.d.ts.map +1 -0
- package/lib/typescript/module/empty-state/index.d.ts +7 -0
- package/lib/typescript/module/empty-state/index.d.ts.map +1 -0
- package/lib/typescript/module/empty-state/shared.d.ts +15 -0
- package/lib/typescript/module/empty-state/shared.d.ts.map +1 -0
- package/lib/typescript/module/empty-state/types.d.ts +97 -0
- package/lib/typescript/module/empty-state/types.d.ts.map +1 -0
- package/lib/typescript/module/fab/FabLabel.d.ts +12 -0
- package/lib/typescript/module/fab/FabLabel.d.ts.map +1 -0
- package/lib/typescript/module/fab/constants.d.ts +24 -0
- package/lib/typescript/module/fab/constants.d.ts.map +1 -0
- package/lib/typescript/module/fab/types.d.ts +4 -0
- package/lib/typescript/module/fab/types.d.ts.map +1 -1
- package/lib/typescript/module/fab/use-fab-props.d.ts +1 -1
- package/lib/typescript/module/fab/use-fab-props.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +78 -0
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/index.web.d.ts +78 -0
- package/lib/typescript/module/index.web.d.ts.map +1 -1
- package/lib/typescript/module/job-board/JobBoard.d.ts +38 -0
- package/lib/typescript/module/job-board/JobBoard.d.ts.map +1 -0
- package/lib/typescript/module/job-board/JobCard.d.ts +6 -0
- package/lib/typescript/module/job-board/JobCard.d.ts.map +1 -0
- package/lib/typescript/module/job-board/constants.d.ts +69 -0
- package/lib/typescript/module/job-board/constants.d.ts.map +1 -0
- package/lib/typescript/module/job-board/index.d.ts +8 -0
- package/lib/typescript/module/job-board/index.d.ts.map +1 -0
- package/lib/typescript/module/job-board/shared.d.ts +78 -0
- package/lib/typescript/module/job-board/shared.d.ts.map +1 -0
- package/lib/typescript/module/job-board/types.d.ts +269 -0
- package/lib/typescript/module/job-board/types.d.ts.map +1 -0
- package/lib/typescript/module/location-puck/HeadingCone.d.ts +14 -0
- package/lib/typescript/module/location-puck/HeadingCone.d.ts.map +1 -0
- package/lib/typescript/module/location-puck/LocationPuck.d.ts +6 -0
- package/lib/typescript/module/location-puck/LocationPuck.d.ts.map +1 -0
- package/lib/typescript/module/location-puck/constants.d.ts +60 -0
- package/lib/typescript/module/location-puck/constants.d.ts.map +1 -0
- package/lib/typescript/module/location-puck/index.d.ts +7 -0
- package/lib/typescript/module/location-puck/index.d.ts.map +1 -0
- package/lib/typescript/module/location-puck/shared.d.ts +109 -0
- package/lib/typescript/module/location-puck/shared.d.ts.map +1 -0
- package/lib/typescript/module/location-puck/types.d.ts +77 -0
- package/lib/typescript/module/location-puck/types.d.ts.map +1 -0
- package/lib/typescript/module/map-attribution/MapAttribution.d.ts +32 -0
- package/lib/typescript/module/map-attribution/MapAttribution.d.ts.map +1 -0
- package/lib/typescript/module/map-attribution/MapAttributionShell.d.ts +30 -0
- package/lib/typescript/module/map-attribution/MapAttributionShell.d.ts.map +1 -0
- package/lib/typescript/module/map-attribution/MapScaleBar.d.ts +29 -0
- package/lib/typescript/module/map-attribution/MapScaleBar.d.ts.map +1 -0
- package/lib/typescript/module/map-attribution/constants.d.ts +28 -0
- package/lib/typescript/module/map-attribution/constants.d.ts.map +1 -0
- package/lib/typescript/module/map-attribution/index.d.ts +8 -0
- package/lib/typescript/module/map-attribution/index.d.ts.map +1 -0
- package/lib/typescript/module/map-attribution/shared.d.ts +39 -0
- package/lib/typescript/module/map-attribution/shared.d.ts.map +1 -0
- package/lib/typescript/module/map-attribution/types.d.ts +76 -0
- package/lib/typescript/module/map-attribution/types.d.ts.map +1 -0
- package/lib/typescript/module/map-controls/MapCompass.d.ts +6 -0
- package/lib/typescript/module/map-controls/MapCompass.d.ts.map +1 -0
- package/lib/typescript/module/map-controls/MapControls.d.ts +38 -0
- package/lib/typescript/module/map-controls/MapControls.d.ts.map +1 -0
- package/lib/typescript/module/map-controls/MapLayerPicker.d.ts +25 -0
- package/lib/typescript/module/map-controls/MapLayerPicker.d.ts.map +1 -0
- package/lib/typescript/module/map-controls/constants.d.ts +28 -0
- package/lib/typescript/module/map-controls/constants.d.ts.map +1 -0
- package/lib/typescript/module/map-controls/context.d.ts +12 -0
- package/lib/typescript/module/map-controls/context.d.ts.map +1 -0
- package/lib/typescript/module/map-controls/index.d.ts +7 -0
- package/lib/typescript/module/map-controls/index.d.ts.map +1 -0
- package/lib/typescript/module/map-controls/types.d.ts +130 -0
- package/lib/typescript/module/map-controls/types.d.ts.map +1 -0
- package/lib/typescript/module/media-header/MediaActionBar.d.ts +2 -2
- package/lib/typescript/module/media-header/MediaActionBar.d.ts.map +1 -1
- package/lib/typescript/module/media-header/types.d.ts +12 -3
- package/lib/typescript/module/media-header/types.d.ts.map +1 -1
- package/lib/typescript/module/menu-item/MenuItemOptions.d.ts +6 -0
- package/lib/typescript/module/menu-item/MenuItemOptions.d.ts.map +1 -0
- package/lib/typescript/module/menu-item/MenuItemRow.d.ts +39 -0
- package/lib/typescript/module/menu-item/MenuItemRow.d.ts.map +1 -0
- package/lib/typescript/module/menu-item/constants.d.ts +36 -0
- package/lib/typescript/module/menu-item/constants.d.ts.map +1 -0
- package/lib/typescript/module/menu-item/index.d.ts +8 -0
- package/lib/typescript/module/menu-item/index.d.ts.map +1 -0
- package/lib/typescript/module/menu-item/parts.d.ts +77 -0
- package/lib/typescript/module/menu-item/parts.d.ts.map +1 -0
- package/lib/typescript/module/menu-item/shared.d.ts +80 -0
- package/lib/typescript/module/menu-item/shared.d.ts.map +1 -0
- package/lib/typescript/module/menu-item/types.d.ts +132 -0
- package/lib/typescript/module/menu-item/types.d.ts.map +1 -0
- package/lib/typescript/module/navigation-banner/ArrivalBar.d.ts +6 -0
- package/lib/typescript/module/navigation-banner/ArrivalBar.d.ts.map +1 -0
- package/lib/typescript/module/navigation-banner/LaneGuidance.d.ts +6 -0
- package/lib/typescript/module/navigation-banner/LaneGuidance.d.ts.map +1 -0
- package/lib/typescript/module/navigation-banner/NavigationBanner.d.ts +44 -0
- package/lib/typescript/module/navigation-banner/NavigationBanner.d.ts.map +1 -0
- package/lib/typescript/module/navigation-banner/SpeedLimitPill.d.ts +28 -0
- package/lib/typescript/module/navigation-banner/SpeedLimitPill.d.ts.map +1 -0
- package/lib/typescript/module/navigation-banner/constants.d.ts +46 -0
- package/lib/typescript/module/navigation-banner/constants.d.ts.map +1 -0
- package/lib/typescript/module/navigation-banner/index.d.ts +10 -0
- package/lib/typescript/module/navigation-banner/index.d.ts.map +1 -0
- package/lib/typescript/module/navigation-banner/shared.d.ts +67 -0
- package/lib/typescript/module/navigation-banner/shared.d.ts.map +1 -0
- package/lib/typescript/module/navigation-banner/types.d.ts +158 -0
- package/lib/typescript/module/navigation-banner/types.d.ts.map +1 -0
- package/lib/typescript/module/order-confirmation/OrderConfirmation.d.ts +40 -0
- package/lib/typescript/module/order-confirmation/OrderConfirmation.d.ts.map +1 -0
- package/lib/typescript/module/order-confirmation/constants.d.ts +14 -0
- package/lib/typescript/module/order-confirmation/constants.d.ts.map +1 -0
- package/lib/typescript/module/order-confirmation/index.d.ts +4 -0
- package/lib/typescript/module/order-confirmation/index.d.ts.map +1 -0
- package/lib/typescript/module/order-confirmation/types.d.ts +88 -0
- package/lib/typescript/module/order-confirmation/types.d.ts.map +1 -0
- package/lib/typescript/module/page-header/PageHeader.d.ts +1 -1
- package/lib/typescript/module/page-header/PageHeader.d.ts.map +1 -1
- package/lib/typescript/module/page-header/types.d.ts +2 -0
- package/lib/typescript/module/page-header/types.d.ts.map +1 -1
- package/lib/typescript/module/payment-method/PaymentMethodList.d.ts +48 -0
- package/lib/typescript/module/payment-method/PaymentMethodList.d.ts.map +1 -0
- package/lib/typescript/module/payment-method/PaymentMethodMark.d.ts +28 -0
- package/lib/typescript/module/payment-method/PaymentMethodMark.d.ts.map +1 -0
- package/lib/typescript/module/payment-method/PaymentMethodRow.d.ts +31 -0
- package/lib/typescript/module/payment-method/PaymentMethodRow.d.ts.map +1 -0
- package/lib/typescript/module/payment-method/constants.d.ts +35 -0
- package/lib/typescript/module/payment-method/constants.d.ts.map +1 -0
- package/lib/typescript/module/payment-method/index.d.ts +9 -0
- package/lib/typescript/module/payment-method/index.d.ts.map +1 -0
- package/lib/typescript/module/payment-method/shared.d.ts +27 -0
- package/lib/typescript/module/payment-method/shared.d.ts.map +1 -0
- package/lib/typescript/module/payment-method/types.d.ts +181 -0
- package/lib/typescript/module/payment-method/types.d.ts.map +1 -0
- package/lib/typescript/module/payment-status/PaymentStatusBar.d.ts +34 -0
- package/lib/typescript/module/payment-status/PaymentStatusBar.d.ts.map +1 -0
- package/lib/typescript/module/payment-status/PaymentStatusBlock.d.ts +31 -0
- package/lib/typescript/module/payment-status/PaymentStatusBlock.d.ts.map +1 -0
- package/lib/typescript/module/payment-status/constants.d.ts +43 -0
- package/lib/typescript/module/payment-status/constants.d.ts.map +1 -0
- package/lib/typescript/module/payment-status/index.d.ts +8 -0
- package/lib/typescript/module/payment-status/index.d.ts.map +1 -0
- package/lib/typescript/module/payment-status/shared.d.ts +40 -0
- package/lib/typescript/module/payment-status/shared.d.ts.map +1 -0
- package/lib/typescript/module/payment-status/types.d.ts +85 -0
- package/lib/typescript/module/payment-status/types.d.ts.map +1 -0
- package/lib/typescript/module/place-card/PlaceActions.d.ts +26 -0
- package/lib/typescript/module/place-card/PlaceActions.d.ts.map +1 -0
- package/lib/typescript/module/place-card/PlaceCard.d.ts +6 -0
- package/lib/typescript/module/place-card/PlaceCard.d.ts.map +1 -0
- package/lib/typescript/module/place-card/constants.d.ts +33 -0
- package/lib/typescript/module/place-card/constants.d.ts.map +1 -0
- package/lib/typescript/module/place-card/index.d.ts +8 -0
- package/lib/typescript/module/place-card/index.d.ts.map +1 -0
- package/lib/typescript/module/place-card/shared.d.ts +26 -0
- package/lib/typescript/module/place-card/shared.d.ts.map +1 -0
- package/lib/typescript/module/place-card/types.d.ts +148 -0
- package/lib/typescript/module/place-card/types.d.ts.map +1 -0
- package/lib/typescript/module/place-details/PlaceAmenities.d.ts +28 -0
- package/lib/typescript/module/place-details/PlaceAmenities.d.ts.map +1 -0
- package/lib/typescript/module/place-details/PlaceHours.d.ts +33 -0
- package/lib/typescript/module/place-details/PlaceHours.d.ts.map +1 -0
- package/lib/typescript/module/place-details/PlaceInfoList.d.ts +37 -0
- package/lib/typescript/module/place-details/PlaceInfoList.d.ts.map +1 -0
- package/lib/typescript/module/place-details/PlacePopularTimes.d.ts +45 -0
- package/lib/typescript/module/place-details/PlacePopularTimes.d.ts.map +1 -0
- package/lib/typescript/module/place-details/PlaceTransit.d.ts +29 -0
- package/lib/typescript/module/place-details/PlaceTransit.d.ts.map +1 -0
- package/lib/typescript/module/place-details/constants.d.ts +54 -0
- package/lib/typescript/module/place-details/constants.d.ts.map +1 -0
- package/lib/typescript/module/place-details/index.d.ts +11 -0
- package/lib/typescript/module/place-details/index.d.ts.map +1 -0
- package/lib/typescript/module/place-details/shared.d.ts +99 -0
- package/lib/typescript/module/place-details/shared.d.ts.map +1 -0
- package/lib/typescript/module/place-details/types.d.ts +291 -0
- package/lib/typescript/module/place-details/types.d.ts.map +1 -0
- package/lib/typescript/module/place-list/PlaceList.d.ts +40 -0
- package/lib/typescript/module/place-list/PlaceList.d.ts.map +1 -0
- package/lib/typescript/module/place-list/PlaceListCard.d.ts +30 -0
- package/lib/typescript/module/place-list/PlaceListCard.d.ts.map +1 -0
- package/lib/typescript/module/place-list/constants.d.ts +32 -0
- package/lib/typescript/module/place-list/constants.d.ts.map +1 -0
- package/lib/typescript/module/place-list/index.d.ts +8 -0
- package/lib/typescript/module/place-list/index.d.ts.map +1 -0
- package/lib/typescript/module/place-list/shared.d.ts +38 -0
- package/lib/typescript/module/place-list/shared.d.ts.map +1 -0
- package/lib/typescript/module/place-list/types.d.ts +102 -0
- package/lib/typescript/module/place-list/types.d.ts.map +1 -0
- package/lib/typescript/module/progressive-blur/ProgressiveBlur.d.ts.map +1 -1
- package/lib/typescript/module/proof-of-delivery/ProofOfDelivery.d.ts +51 -0
- package/lib/typescript/module/proof-of-delivery/ProofOfDelivery.d.ts.map +1 -0
- package/lib/typescript/module/proof-of-delivery/SignaturePad.d.ts +6 -0
- package/lib/typescript/module/proof-of-delivery/SignaturePad.d.ts.map +1 -0
- package/lib/typescript/module/proof-of-delivery/constants.d.ts +40 -0
- package/lib/typescript/module/proof-of-delivery/constants.d.ts.map +1 -0
- package/lib/typescript/module/proof-of-delivery/index.d.ts +8 -0
- package/lib/typescript/module/proof-of-delivery/index.d.ts.map +1 -0
- package/lib/typescript/module/proof-of-delivery/shared.d.ts +79 -0
- package/lib/typescript/module/proof-of-delivery/shared.d.ts.map +1 -0
- package/lib/typescript/module/proof-of-delivery/types.d.ts +165 -0
- package/lib/typescript/module/proof-of-delivery/types.d.ts.map +1 -0
- package/lib/typescript/module/screen/Screen.d.ts.map +1 -1
- package/lib/typescript/module/screen/context.d.ts +2 -0
- package/lib/typescript/module/screen/context.d.ts.map +1 -1
- package/lib/typescript/module/screen/types.d.ts +1 -1
- package/lib/typescript/module/screen/types.d.ts.map +1 -1
- package/lib/typescript/module/screen/use-screen-scroll.d.ts +1 -0
- package/lib/typescript/module/screen/use-screen-scroll.d.ts.map +1 -1
- package/lib/typescript/module/screen/use-screen-window-scroll.d.ts +4 -0
- package/lib/typescript/module/screen/use-screen-window-scroll.d.ts.map +1 -1
- package/lib/typescript/module/settings-list/SettingsList.d.ts.map +1 -1
- package/lib/typescript/module/settings-list/types.d.ts +10 -0
- package/lib/typescript/module/settings-list/types.d.ts.map +1 -1
- package/lib/typescript/module/shipment-request/ShipmentLoadPicker.d.ts +32 -0
- package/lib/typescript/module/shipment-request/ShipmentLoadPicker.d.ts.map +1 -0
- package/lib/typescript/module/shipment-request/ShipmentOptionsList.d.ts +6 -0
- package/lib/typescript/module/shipment-request/ShipmentOptionsList.d.ts.map +1 -0
- package/lib/typescript/module/shipment-request/ShipmentRequestForm.d.ts +33 -0
- package/lib/typescript/module/shipment-request/ShipmentRequestForm.d.ts.map +1 -0
- package/lib/typescript/module/shipment-request/constants.d.ts +42 -0
- package/lib/typescript/module/shipment-request/constants.d.ts.map +1 -0
- package/lib/typescript/module/shipment-request/index.d.ts +8 -0
- package/lib/typescript/module/shipment-request/index.d.ts.map +1 -0
- package/lib/typescript/module/shipment-request/shared.d.ts +40 -0
- package/lib/typescript/module/shipment-request/shared.d.ts.map +1 -0
- package/lib/typescript/module/shipment-request/types.d.ts +219 -0
- package/lib/typescript/module/shipment-request/types.d.ts.map +1 -0
- package/lib/typescript/module/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarItem.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarLogoView.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarModeSwitcher.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarPlanCard.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarPrimaryAction.d.ts +9 -0
- package/lib/typescript/module/sidebar/SidebarPrimaryAction.d.ts.map +1 -0
- package/lib/typescript/module/sidebar/SidebarRail.d.ts +1 -1
- package/lib/typescript/module/sidebar/SidebarRail.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarRailItem.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarTeamMenu.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarUserMenu.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/geometry.d.ts +23 -0
- package/lib/typescript/module/sidebar/geometry.d.ts.map +1 -0
- package/lib/typescript/module/sidebar/metrics.d.ts +2 -3
- package/lib/typescript/module/sidebar/metrics.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/types.d.ts +22 -2
- package/lib/typescript/module/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/module/styles/web-view-style.d.ts +2 -0
- package/lib/typescript/module/styles/web-view-style.d.ts.map +1 -1
- package/lib/typescript/module/vehicle-picker/VehiclePicker.d.ts +6 -0
- package/lib/typescript/module/vehicle-picker/VehiclePicker.d.ts.map +1 -0
- package/lib/typescript/module/vehicle-picker/constants.d.ts +39 -0
- package/lib/typescript/module/vehicle-picker/constants.d.ts.map +1 -0
- package/lib/typescript/module/vehicle-picker/index.d.ts +6 -0
- package/lib/typescript/module/vehicle-picker/index.d.ts.map +1 -0
- package/lib/typescript/module/vehicle-picker/shared.d.ts +19 -0
- package/lib/typescript/module/vehicle-picker/shared.d.ts.map +1 -0
- package/lib/typescript/module/vehicle-picker/types.d.ts +82 -0
- package/lib/typescript/module/vehicle-picker/types.d.ts.map +1 -0
- package/lib/typescript/module/vendor-card/VendorCard.d.ts +6 -0
- package/lib/typescript/module/vendor-card/VendorCard.d.ts.map +1 -0
- package/lib/typescript/module/vendor-card/constants.d.ts +27 -0
- package/lib/typescript/module/vendor-card/constants.d.ts.map +1 -0
- package/lib/typescript/module/vendor-card/index.d.ts +5 -0
- package/lib/typescript/module/vendor-card/index.d.ts.map +1 -0
- package/lib/typescript/module/vendor-card/shared.d.ts +23 -0
- package/lib/typescript/module/vendor-card/shared.d.ts.map +1 -0
- package/lib/typescript/module/vendor-card/types.d.ts +111 -0
- package/lib/typescript/module/vendor-card/types.d.ts.map +1 -0
- package/package.json +409 -1
- package/src/app-shell/AppShell.tsx +71 -4
- package/src/app-shell/AppShellBars.tsx +18 -2
- package/src/app-shell/AppShellEngine.tsx +147 -49
- package/src/app-shell/index.ts +3 -1
- package/src/app-shell/index.web.ts +3 -1
- package/src/app-shell/types.ts +23 -8
- package/src/bottom-bar/BottomBarBase.tsx +15 -11
- package/src/bottom-bar/types.ts +2 -0
- package/src/button/Button.tsx +11 -3
- package/src/button/Button.web.tsx +11 -2
- package/src/button/types.ts +6 -0
- package/src/card-form/CardForm.tsx +213 -0
- package/src/card-form/CardFormParts.tsx +582 -0
- package/src/card-form/constants.ts +42 -0
- package/src/card-form/index.ts +48 -0
- package/src/card-form/shared.ts +225 -0
- package/src/card-form/types.ts +195 -0
- package/src/card-form/use-card-form-part.ts +72 -0
- package/src/carrier-quote/CarrierQuoteCard.tsx +528 -0
- package/src/carrier-quote/CarrierQuoteList.tsx +265 -0
- package/src/carrier-quote/constants.ts +72 -0
- package/src/carrier-quote/index.ts +28 -0
- package/src/carrier-quote/shared.ts +168 -0
- package/src/carrier-quote/types.ts +199 -0
- package/src/cart-panel/CartLine.tsx +177 -0
- package/src/cart-panel/CartPanel.tsx +311 -0
- package/src/cart-panel/CartPromoField.tsx +112 -0
- package/src/cart-panel/CartTipPicker.tsx +86 -0
- package/src/cart-panel/constants.ts +36 -0
- package/src/cart-panel/index.ts +19 -0
- package/src/cart-panel/shared.ts +60 -0
- package/src/cart-panel/types.ts +184 -0
- package/src/chat-people/ContactRow.tsx +10 -4
- package/src/chat-people/types.ts +6 -0
- package/src/checkout-summary/CheckoutConfirm.tsx +108 -0
- package/src/checkout-summary/CheckoutSummary.tsx +209 -0
- package/src/checkout-summary/CheckoutSummaryRow.tsx +168 -0
- package/src/checkout-summary/constants.ts +57 -0
- package/src/checkout-summary/index.ts +22 -0
- package/src/checkout-summary/shared.ts +40 -0
- package/src/checkout-summary/types.ts +146 -0
- package/src/content-panel/ContentPanel.web.tsx +45 -10
- package/src/delivery-slot/DeliverySlotDays.tsx +88 -0
- package/src/delivery-slot/DeliverySlotOption.tsx +123 -0
- package/src/delivery-slot/DeliverySlotPicker.tsx +266 -0
- package/src/delivery-slot/constants.ts +45 -0
- package/src/delivery-slot/index.ts +24 -0
- package/src/delivery-slot/shared.ts +72 -0
- package/src/delivery-slot/types.ts +191 -0
- package/src/directions/DirectionsSteps.tsx +146 -0
- package/src/directions/DirectionsSummary.tsx +271 -0
- package/src/directions/TransitLineBadge.tsx +59 -0
- package/src/directions/constants.ts +73 -0
- package/src/directions/index.ts +35 -0
- package/src/directions/maneuvers.tsx +71 -0
- package/src/directions/shared.ts +149 -0
- package/src/directions/types.ts +188 -0
- package/src/earnings/EarningsBreakdown.tsx +73 -0
- package/src/earnings/EarningsPayoutRow.tsx +138 -0
- package/src/earnings/EarningsSummary.tsx +296 -0
- package/src/earnings/constants.ts +62 -0
- package/src/earnings/index.ts +24 -0
- package/src/earnings/shared.ts +92 -0
- package/src/earnings/types.ts +180 -0
- package/src/empty-state/EmptyState.tsx +184 -0
- package/src/empty-state/constants.ts +55 -0
- package/src/empty-state/index.ts +11 -0
- package/src/empty-state/shared.ts +26 -0
- package/src/empty-state/types.ts +101 -0
- package/src/fab/FabLabel.tsx +37 -0
- package/src/fab/constants.ts +7 -0
- package/src/fab/types.ts +4 -0
- package/src/fab/use-fab-props.ts +26 -5
- package/src/index.ts +613 -0
- package/src/index.web.ts +613 -0
- package/src/job-board/JobBoard.tsx +489 -0
- package/src/job-board/JobCard.tsx +567 -0
- package/src/job-board/constants.ts +116 -0
- package/src/job-board/index.ts +34 -0
- package/src/job-board/shared.ts +212 -0
- package/src/job-board/types.ts +274 -0
- package/src/location-puck/HeadingCone.tsx +85 -0
- package/src/location-puck/LocationPuck.tsx +231 -0
- package/src/location-puck/constants.ts +70 -0
- package/src/location-puck/index.ts +12 -0
- package/src/location-puck/shared.ts +185 -0
- package/src/location-puck/types.ts +79 -0
- package/src/map-attribution/MapAttribution.tsx +126 -0
- package/src/map-attribution/MapAttributionShell.tsx +81 -0
- package/src/map-attribution/MapScaleBar.tsx +107 -0
- package/src/map-attribution/constants.ts +39 -0
- package/src/map-attribution/index.ts +12 -0
- package/src/map-attribution/shared.ts +59 -0
- package/src/map-attribution/types.ts +79 -0
- package/src/map-controls/MapCompass.tsx +77 -0
- package/src/map-controls/MapControls.tsx +156 -0
- package/src/map-controls/MapLayerPicker.tsx +115 -0
- package/src/map-controls/constants.ts +33 -0
- package/src/map-controls/context.ts +13 -0
- package/src/map-controls/index.ts +15 -0
- package/src/map-controls/types.ts +138 -0
- package/src/media-header/MediaActionBar.tsx +44 -41
- package/src/media-header/types.ts +12 -3
- package/src/menu-item/MenuItemOptions.tsx +230 -0
- package/src/menu-item/MenuItemRow.tsx +246 -0
- package/src/menu-item/constants.ts +60 -0
- package/src/menu-item/index.ts +29 -0
- package/src/menu-item/parts.tsx +220 -0
- package/src/menu-item/shared.ts +175 -0
- package/src/menu-item/types.ts +141 -0
- package/src/navigation-banner/ArrivalBar.tsx +162 -0
- package/src/navigation-banner/LaneGuidance.tsx +103 -0
- package/src/navigation-banner/NavigationBanner.tsx +214 -0
- package/src/navigation-banner/SpeedLimitPill.tsx +100 -0
- package/src/navigation-banner/constants.ts +78 -0
- package/src/navigation-banner/index.ts +32 -0
- package/src/navigation-banner/shared.ts +158 -0
- package/src/navigation-banner/types.ts +178 -0
- package/src/order-confirmation/OrderConfirmation.tsx +192 -0
- package/src/order-confirmation/constants.ts +15 -0
- package/src/order-confirmation/index.ts +12 -0
- package/src/order-confirmation/types.ts +98 -0
- package/src/page-header/PageHeader.tsx +29 -12
- package/src/page-header/types.ts +2 -0
- package/src/payment-method/PaymentMethodList.tsx +263 -0
- package/src/payment-method/PaymentMethodMark.tsx +106 -0
- package/src/payment-method/PaymentMethodRow.tsx +210 -0
- package/src/payment-method/constants.ts +61 -0
- package/src/payment-method/index.ts +24 -0
- package/src/payment-method/shared.ts +50 -0
- package/src/payment-method/types.ts +190 -0
- package/src/payment-status/PaymentStatusBar.tsx +67 -0
- package/src/payment-status/PaymentStatusBlock.tsx +181 -0
- package/src/payment-status/constants.ts +85 -0
- package/src/payment-status/index.ts +18 -0
- package/src/payment-status/shared.ts +56 -0
- package/src/payment-status/types.ts +89 -0
- package/src/place-card/PlaceActions.tsx +72 -0
- package/src/place-card/PlaceCard.tsx +646 -0
- package/src/place-card/constants.ts +54 -0
- package/src/place-card/index.ts +14 -0
- package/src/place-card/shared.ts +82 -0
- package/src/place-card/types.ts +154 -0
- package/src/place-details/PlaceAmenities.tsx +122 -0
- package/src/place-details/PlaceHours.tsx +207 -0
- package/src/place-details/PlaceInfoList.tsx +105 -0
- package/src/place-details/PlacePopularTimes.tsx +268 -0
- package/src/place-details/PlaceTransit.tsx +226 -0
- package/src/place-details/constants.ts +108 -0
- package/src/place-details/index.ts +45 -0
- package/src/place-details/shared.ts +246 -0
- package/src/place-details/types.ts +328 -0
- package/src/place-list/PlaceList.tsx +181 -0
- package/src/place-list/PlaceListCard.tsx +183 -0
- package/src/place-list/constants.ts +54 -0
- package/src/place-list/index.ts +23 -0
- package/src/place-list/shared.ts +77 -0
- package/src/place-list/types.ts +107 -0
- package/src/progressive-blur/ProgressiveBlur.tsx +4 -2
- package/src/progressive-blur/ProgressiveBlur.web.tsx +3 -3
- package/src/proof-of-delivery/ProofOfDelivery.tsx +306 -0
- package/src/proof-of-delivery/SignaturePad.tsx +288 -0
- package/src/proof-of-delivery/constants.ts +71 -0
- package/src/proof-of-delivery/index.ts +29 -0
- package/src/proof-of-delivery/shared.ts +190 -0
- package/src/proof-of-delivery/types.ts +174 -0
- package/src/screen/Screen.tsx +12 -6
- package/src/screen/context.ts +2 -0
- package/src/screen/types.ts +1 -1
- package/src/screen/use-screen-scroll.ts +1 -1
- package/src/screen/use-screen-window-scroll.ts +10 -6
- package/src/settings-list/SettingsList.tsx +2 -1
- package/src/settings-list/types.ts +10 -0
- package/src/shipment-request/ShipmentLoadPicker.tsx +217 -0
- package/src/shipment-request/ShipmentOptionsList.tsx +184 -0
- package/src/shipment-request/ShipmentRequestForm.tsx +148 -0
- package/src/shipment-request/constants.ts +128 -0
- package/src/shipment-request/index.ts +37 -0
- package/src/shipment-request/shared.ts +72 -0
- package/src/shipment-request/types.ts +235 -0
- package/src/sidebar/Sidebar.tsx +31 -11
- package/src/sidebar/SidebarItem.tsx +18 -4
- package/src/sidebar/SidebarLogoView.tsx +11 -4
- package/src/sidebar/SidebarModeSwitcher.tsx +17 -5
- package/src/sidebar/SidebarPlanCard.tsx +6 -3
- package/src/sidebar/SidebarPrimaryAction.tsx +32 -0
- package/src/sidebar/SidebarRail.tsx +10 -0
- package/src/sidebar/SidebarRailItem.tsx +2 -0
- package/src/sidebar/SidebarTeamMenu.tsx +5 -2
- package/src/sidebar/SidebarUserMenu.tsx +5 -1
- package/src/sidebar/geometry.ts +22 -0
- package/src/sidebar/metrics.ts +4 -5
- package/src/sidebar/types.ts +20 -2
- package/src/styles/web-view-style.ts +3 -0
- package/src/vehicle-picker/VehiclePicker.tsx +198 -0
- package/src/vehicle-picker/constants.ts +89 -0
- package/src/vehicle-picker/index.ts +15 -0
- package/src/vehicle-picker/shared.ts +27 -0
- package/src/vehicle-picker/types.ts +86 -0
- package/src/vendor-card/VendorCard.tsx +496 -0
- package/src/vendor-card/constants.ts +59 -0
- package/src/vendor-card/index.ts +10 -0
- package/src/vendor-card/shared.ts +123 -0
- package/src/vendor-card/types.ts +115 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CartLine = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _button = require("../button");
|
|
10
|
+
var _RiDeleteBinLine = require("../icons/remix/RiDeleteBinLine.js");
|
|
11
|
+
var _index = require("../item/index.js");
|
|
12
|
+
var _parts = require("../listing-card/parts.js");
|
|
13
|
+
var _parts2 = require("../menu-item/parts.js");
|
|
14
|
+
var _index2 = require("../stepper/index.js");
|
|
15
|
+
var _surfaceLevels = require("../styles/surface-levels.js");
|
|
16
|
+
var _useTheme = require("../theme/use-theme.js");
|
|
17
|
+
var _index3 = require("../typography/index.js");
|
|
18
|
+
var _constants = require("./constants.js");
|
|
19
|
+
var _shared = require("./shared.js");
|
|
20
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
22
|
+
/**
|
|
23
|
+
* One thing in the basket: what it is, what was chosen for it, how many, and
|
|
24
|
+
* what that comes to.
|
|
25
|
+
*
|
|
26
|
+
* leading the square photo (56; 44 compact), washed while it is sold out
|
|
27
|
+
* body the name; the chosen options on one quiet line; the note; then
|
|
28
|
+
* the quantity control and remove, side by side
|
|
29
|
+
* trailing the price, right-aligned, with an optional struck original
|
|
30
|
+
*
|
|
31
|
+
* THE STEPPER DOES NOT REMOVE. Its floor is 1, and removing is its own control
|
|
32
|
+
* with its own name — a stepper that deletes the line when you press `−` once
|
|
33
|
+
* too often is a destructive action behind an arithmetic one, and it has no
|
|
34
|
+
* label saying so.
|
|
35
|
+
*
|
|
36
|
+
* The row is never pressable, which is what lets the controls live in it: a
|
|
37
|
+
* pressable `Item` is a real `<button>` on web and a control inside one is
|
|
38
|
+
* invalid HTML whose click also fires the row. Opening a basket line to edit it
|
|
39
|
+
* is `MenuItemOptions` in a sheet, reached from the name — not from the whole
|
|
40
|
+
* row, which is mostly controls.
|
|
41
|
+
*
|
|
42
|
+
* A SOLD-OUT LINE IS QUIETENED, NOT DISABLED. The photo washes and the name
|
|
43
|
+
* drops to the secondary rung, but the row itself keeps full opacity: the one
|
|
44
|
+
* thing a reader needs on a line that cannot be delivered is REMOVE, and a
|
|
45
|
+
* control drawn at half opacity that still fires is exactly the affordance this
|
|
46
|
+
* library refuses elsewhere. The stepper is the one that goes disabled, because
|
|
47
|
+
* changing how many of a sold-out dish you want is the action with no meaning.
|
|
48
|
+
*/
|
|
49
|
+
function CartLineComponent(props) {
|
|
50
|
+
const {
|
|
51
|
+
name,
|
|
52
|
+
options,
|
|
53
|
+
note,
|
|
54
|
+
price,
|
|
55
|
+
originalPrice,
|
|
56
|
+
quantity,
|
|
57
|
+
photo,
|
|
58
|
+
photoVariant,
|
|
59
|
+
unavailable = false,
|
|
60
|
+
unavailableLabel = 'Sold out',
|
|
61
|
+
onQuantityChange,
|
|
62
|
+
onRemove,
|
|
63
|
+
removeLabel,
|
|
64
|
+
density = 'comfortable',
|
|
65
|
+
accessibilityLabel,
|
|
66
|
+
style,
|
|
67
|
+
testID
|
|
68
|
+
} = props;
|
|
69
|
+
const theme = (0, _useTheme.useTheme)();
|
|
70
|
+
const surface = (0, _surfaceLevels.useSurfaceFill)();
|
|
71
|
+
const paint = (0, _react.useMemo)(() => (0, _shared.resolveCartPaint)(theme, surface), [theme, surface]);
|
|
72
|
+
const g = _constants.CART_GEOMETRY[density];
|
|
73
|
+
const compact = density === 'compact';
|
|
74
|
+
const chosen = (0, _shared.optionsLine)(options);
|
|
75
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Item, {
|
|
76
|
+
role: "listitem",
|
|
77
|
+
density: density,
|
|
78
|
+
accessibilityLabel: accessibilityLabel ?? (0, _shared.composeCartLineName)(props),
|
|
79
|
+
leading: /*#__PURE__*/(0, _jsxRuntime.jsx)(_parts2.MenuItemThumb, {
|
|
80
|
+
photo: photo,
|
|
81
|
+
photoVariant: photoVariant,
|
|
82
|
+
size: g.thumb,
|
|
83
|
+
radius: g.thumbRadius,
|
|
84
|
+
placeholder: paint.tile,
|
|
85
|
+
wash: paint.wash,
|
|
86
|
+
washed: unavailable,
|
|
87
|
+
testID: testID
|
|
88
|
+
}),
|
|
89
|
+
trailing: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
90
|
+
style: {
|
|
91
|
+
alignItems: 'flex-end',
|
|
92
|
+
minWidth: 0
|
|
93
|
+
},
|
|
94
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_parts.ListingPriceLines, {
|
|
95
|
+
lines: [{
|
|
96
|
+
price,
|
|
97
|
+
originalPrice
|
|
98
|
+
}],
|
|
99
|
+
size: compact ? 'small' : 'medium',
|
|
100
|
+
color: paint.text,
|
|
101
|
+
secondaryColor: paint.textSecondary,
|
|
102
|
+
testID: testID ? `${testID}-price` : undefined
|
|
103
|
+
})
|
|
104
|
+
}),
|
|
105
|
+
style: style,
|
|
106
|
+
testID: testID,
|
|
107
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
108
|
+
style: {
|
|
109
|
+
flex: 1,
|
|
110
|
+
minWidth: 0,
|
|
111
|
+
gap: 2
|
|
112
|
+
},
|
|
113
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Text, {
|
|
114
|
+
variant: compact ? 'body-2-semibold' : 'body-semibold',
|
|
115
|
+
numberOfLines: 2,
|
|
116
|
+
testID: testID ? `${testID}-name` : undefined,
|
|
117
|
+
style: {
|
|
118
|
+
color: unavailable ? paint.textSecondary : paint.text
|
|
119
|
+
},
|
|
120
|
+
children: name
|
|
121
|
+
}), chosen ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Text, {
|
|
122
|
+
variant: "body-2-regular",
|
|
123
|
+
numberOfLines: 2,
|
|
124
|
+
testID: testID ? `${testID}-options` : undefined,
|
|
125
|
+
style: {
|
|
126
|
+
color: paint.textSecondary
|
|
127
|
+
},
|
|
128
|
+
children: chosen
|
|
129
|
+
}) : null, note ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Text, {
|
|
130
|
+
variant: "body-2-regular",
|
|
131
|
+
numberOfLines: 2,
|
|
132
|
+
testID: testID ? `${testID}-note` : undefined,
|
|
133
|
+
style: {
|
|
134
|
+
color: paint.textTertiary
|
|
135
|
+
},
|
|
136
|
+
children: note
|
|
137
|
+
}) : null, unavailable ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Text, {
|
|
138
|
+
variant: "body-2-medium",
|
|
139
|
+
testID: testID ? `${testID}-unavailable` : undefined,
|
|
140
|
+
style: {
|
|
141
|
+
color: paint.textSecondary
|
|
142
|
+
},
|
|
143
|
+
children: unavailableLabel
|
|
144
|
+
}) : null, /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
145
|
+
style: {
|
|
146
|
+
flexDirection: 'row',
|
|
147
|
+
alignItems: 'center',
|
|
148
|
+
gap: 8,
|
|
149
|
+
marginTop: 6
|
|
150
|
+
},
|
|
151
|
+
children: [onQuantityChange ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Stepper, {
|
|
152
|
+
size: "small",
|
|
153
|
+
value: quantity,
|
|
154
|
+
min: 1,
|
|
155
|
+
disabled: unavailable,
|
|
156
|
+
onValueChange: onQuantityChange,
|
|
157
|
+
accessibilityLabel: name,
|
|
158
|
+
testID: testID ? `${testID}-stepper` : undefined
|
|
159
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Text, {
|
|
160
|
+
variant: "body-2-regular",
|
|
161
|
+
testID: testID ? `${testID}-quantity` : undefined,
|
|
162
|
+
style: {
|
|
163
|
+
color: paint.textSecondary,
|
|
164
|
+
fontVariant: ['tabular-nums']
|
|
165
|
+
},
|
|
166
|
+
children: `×${quantity}`
|
|
167
|
+
}), onRemove ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.GlyphButton, {
|
|
168
|
+
size: 32,
|
|
169
|
+
icon: _RiDeleteBinLine.RiDeleteBinLine,
|
|
170
|
+
accessibilityLabel: removeLabel ?? `Remove ${name}`,
|
|
171
|
+
onPress: onRemove,
|
|
172
|
+
testID: testID ? `${testID}-remove` : undefined
|
|
173
|
+
}) : null]
|
|
174
|
+
})]
|
|
175
|
+
})
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
const CartLine = exports.CartLine = /*#__PURE__*/(0, _react.memo)(CartLineComponent);
|
|
179
|
+
CartLine.displayName = 'CartLine';
|
|
180
|
+
//# sourceMappingURL=CartLine.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_button","_RiDeleteBinLine","_index","_parts","_parts2","_index2","_surfaceLevels","_useTheme","_index3","_constants","_shared","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CartLineComponent","props","name","options","note","price","originalPrice","quantity","photo","photoVariant","unavailable","unavailableLabel","onQuantityChange","onRemove","removeLabel","density","accessibilityLabel","style","testID","theme","useTheme","surface","useSurfaceFill","paint","useMemo","resolveCartPaint","g","CART_GEOMETRY","compact","chosen","optionsLine","jsx","Item","role","composeCartLineName","leading","MenuItemThumb","size","thumb","radius","thumbRadius","placeholder","tile","wash","washed","trailing","View","alignItems","minWidth","children","ListingPriceLines","lines","color","text","secondaryColor","textSecondary","undefined","jsxs","flex","gap","Text","variant","numberOfLines","textTertiary","flexDirection","marginTop","Stepper","value","min","disabled","onValueChange","fontVariant","GlyphButton","icon","RiDeleteBinLine","onPress","CartLine","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["cart-panel/CartLine.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,cAAA,GAAAR,OAAA;AACA,IAAAS,SAAA,GAAAT,OAAA;AACA,IAAAU,OAAA,GAAAV,OAAA;AACA,IAAAW,UAAA,GAAAX,OAAA;AACA,IAAAY,OAAA,GAAAZ,OAAA;AAA8E,IAAAa,WAAA,GAAAb,OAAA;AAAA,SAAAD,wBAAAe,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAjB,uBAAA,YAAAA,CAAAe,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA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MAAM,GAAG,GAAGA,MAAM,SAAS,GAAGsC;QAAU,CACjD,CAAC,GACA,IAAI;MAAA,CACJ,CAAC;IAAA,CACH;EAAC,CACH,CAAC;AAEX;AAEO,MAAMoB,QAAQ,GAAAC,OAAA,CAAAD,QAAA,gBAAG,IAAAE,WAAI,EAAC9E,iBAAiB,CAAC;AAC/C4E,QAAQ,CAACG,WAAW,GAAG,UAAU","ignoreList":[]}
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CartPanel = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = require("../admonition/index.js");
|
|
10
|
+
var _button = require("../button");
|
|
11
|
+
var _index2 = require("../divider/index.js");
|
|
12
|
+
var _RiShoppingBag3Line = require("../icons/remix/RiShoppingBag3Line.js");
|
|
13
|
+
var _RiStore2Line = require("../icons/remix/RiStore2Line.js");
|
|
14
|
+
var _context = require("../image-resolver/context.js");
|
|
15
|
+
var _index3 = require("../item/index.js");
|
|
16
|
+
var _shared = require("../listing-card/shared.js");
|
|
17
|
+
var _index4 = require("../price-breakdown/index.js");
|
|
18
|
+
var _index5 = require("../stat-bar/index.js");
|
|
19
|
+
var _surfaceLevels = require("../styles/surface-levels.js");
|
|
20
|
+
var _accentColors = require("../theme/accent-colors.js");
|
|
21
|
+
var _useTheme = require("../theme/use-theme.js");
|
|
22
|
+
var _index6 = require("../typography/index.js");
|
|
23
|
+
var _CartLine = require("./CartLine.js");
|
|
24
|
+
var _CartPromoField = require("./CartPromoField.js");
|
|
25
|
+
var _CartTipPicker = require("./CartTipPicker.js");
|
|
26
|
+
var _constants = require("./constants.js");
|
|
27
|
+
var _shared2 = require("./shared.js");
|
|
28
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
29
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
30
|
+
/**
|
|
31
|
+
* The basket, and what it costs.
|
|
32
|
+
*
|
|
33
|
+
* vendor one row: the shop's picture, its name and its delivery line. A
|
|
34
|
+
* basket belongs to exactly ONE vendor, which is why it is a header
|
|
35
|
+
* and not a field on every line.
|
|
36
|
+
* lines a `list` of `CartLine`s
|
|
37
|
+
* tip `CartTipPicker`
|
|
38
|
+
* promo `CartPromoField`
|
|
39
|
+
* shortfall the minimum-order warning, drawn directly above the totals —
|
|
40
|
+
* beside the number it is about, not at the top where it is read
|
|
41
|
+
* before there is a total to compare it to
|
|
42
|
+
* totals `price-breakdown`'s `PriceSummary`, handed straight through
|
|
43
|
+
* footer one `Button`, full width
|
|
44
|
+
*
|
|
45
|
+
* IT IS CONTENT, NOT A SURFACE. Inline in a desktop sidebar it is dropped in a
|
|
46
|
+
* `Card`; on a phone it is what a `BottomSheet` holds. It paints no background
|
|
47
|
+
* of its own and claims no edge, so the same tree works in both — and every
|
|
48
|
+
* colour it does paint is read RELATIVE to whatever it was dropped on
|
|
49
|
+
* (`styles/surface-levels.ts`), because a hairline picked for a card disappears
|
|
50
|
+
* on a sheet.
|
|
51
|
+
*
|
|
52
|
+
* IT ADDS NOTHING UP. Subtotal, delivery, service, discount, tip and total are
|
|
53
|
+
* `PriceLine`s the app formatted, drawn by the ONE breakdown Bloom has. There
|
|
54
|
+
* is no second summary in here, and the shortfall `message` is a sentence the
|
|
55
|
+
* app wrote rather than a subtraction this component performed.
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
function VendorHeader({
|
|
59
|
+
name,
|
|
60
|
+
photo,
|
|
61
|
+
photoVariant,
|
|
62
|
+
meta,
|
|
63
|
+
onPress,
|
|
64
|
+
tile,
|
|
65
|
+
paint,
|
|
66
|
+
testID
|
|
67
|
+
}) {
|
|
68
|
+
const resolver = (0, _context.useImageResolver)();
|
|
69
|
+
const uri = photo ? (0, _shared.resolvePhoto)(photo, resolver, photoVariant) : undefined;
|
|
70
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Item, {
|
|
71
|
+
title: name,
|
|
72
|
+
subtitle: meta,
|
|
73
|
+
onPress: onPress,
|
|
74
|
+
accessibilityLabel: meta ? `${name}, ${meta}` : name,
|
|
75
|
+
leading: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
76
|
+
style: {
|
|
77
|
+
width: tile,
|
|
78
|
+
height: tile,
|
|
79
|
+
borderRadius: tile / 2,
|
|
80
|
+
overflow: 'hidden',
|
|
81
|
+
alignItems: 'center',
|
|
82
|
+
justifyContent: 'center',
|
|
83
|
+
backgroundColor: paint.tile
|
|
84
|
+
},
|
|
85
|
+
testID: testID ? `${testID}-vendor-tile` : undefined,
|
|
86
|
+
children: uri ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
|
87
|
+
source: {
|
|
88
|
+
uri
|
|
89
|
+
},
|
|
90
|
+
resizeMode: "cover",
|
|
91
|
+
accessibilityIgnoresInvertColors: true,
|
|
92
|
+
style: {
|
|
93
|
+
width: '100%',
|
|
94
|
+
height: '100%'
|
|
95
|
+
}
|
|
96
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_RiStore2Line.RiStore2Line, {
|
|
97
|
+
width: tile / 2,
|
|
98
|
+
height: tile / 2,
|
|
99
|
+
fill: paint.textSecondary
|
|
100
|
+
})
|
|
101
|
+
}),
|
|
102
|
+
testID: testID ? `${testID}-vendor` : undefined
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
function MinimumNotice({
|
|
106
|
+
minimum,
|
|
107
|
+
fill,
|
|
108
|
+
track,
|
|
109
|
+
testID
|
|
110
|
+
}) {
|
|
111
|
+
const {
|
|
112
|
+
message,
|
|
113
|
+
progress
|
|
114
|
+
} = minimum;
|
|
115
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.AdmonitionRoot, {
|
|
116
|
+
type: "warning",
|
|
117
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.AdmonitionRow, {
|
|
118
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.AdmonitionIcon, {}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.AdmonitionContent, {
|
|
119
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.AdmonitionText, {
|
|
120
|
+
children: message
|
|
121
|
+
}), progress ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index5.Meter, {
|
|
122
|
+
value: progress.value,
|
|
123
|
+
max: progress.max,
|
|
124
|
+
height: _constants.CART_METER_HEIGHT,
|
|
125
|
+
fill: fill,
|
|
126
|
+
track: track,
|
|
127
|
+
accessibilityLabel: progress.accessibilityLabel,
|
|
128
|
+
valueText: progress.valueText,
|
|
129
|
+
testID: testID ? `${testID}-minimum-meter` : undefined
|
|
130
|
+
}) : null]
|
|
131
|
+
})]
|
|
132
|
+
})
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
function EmptyBasket({
|
|
136
|
+
title,
|
|
137
|
+
description,
|
|
138
|
+
paint,
|
|
139
|
+
testID
|
|
140
|
+
}) {
|
|
141
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
142
|
+
style: {
|
|
143
|
+
alignItems: 'center',
|
|
144
|
+
gap: 8,
|
|
145
|
+
paddingTop: 24,
|
|
146
|
+
paddingBottom: 24
|
|
147
|
+
},
|
|
148
|
+
testID: testID ? `${testID}-empty` : undefined,
|
|
149
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_RiShoppingBag3Line.RiShoppingBag3Line, {
|
|
150
|
+
width: 32,
|
|
151
|
+
height: 32,
|
|
152
|
+
fill: paint.textGraphical
|
|
153
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index6.Text, {
|
|
154
|
+
variant: "headline-semibold",
|
|
155
|
+
style: {
|
|
156
|
+
color: paint.text,
|
|
157
|
+
textAlign: 'center'
|
|
158
|
+
},
|
|
159
|
+
children: title
|
|
160
|
+
}), description ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index6.Text, {
|
|
161
|
+
variant: "body-2-regular",
|
|
162
|
+
style: {
|
|
163
|
+
color: paint.textSecondary,
|
|
164
|
+
textAlign: 'center'
|
|
165
|
+
},
|
|
166
|
+
children: description
|
|
167
|
+
}) : null]
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
function CartPanelComponent({
|
|
171
|
+
vendorName,
|
|
172
|
+
vendorPhoto,
|
|
173
|
+
vendorPhotoVariant,
|
|
174
|
+
vendorMeta,
|
|
175
|
+
onPressVendor,
|
|
176
|
+
lines,
|
|
177
|
+
onLineQuantityChange,
|
|
178
|
+
onLineRemove,
|
|
179
|
+
minimumOrder,
|
|
180
|
+
tip,
|
|
181
|
+
promo,
|
|
182
|
+
summary,
|
|
183
|
+
onCheckout,
|
|
184
|
+
checkoutLabel = 'Go to checkout',
|
|
185
|
+
checkoutDisabled = false,
|
|
186
|
+
empty,
|
|
187
|
+
emptyTitle = 'Your basket is empty',
|
|
188
|
+
emptyDescription = 'Add something from the menu and it will show up here.',
|
|
189
|
+
density = 'comfortable',
|
|
190
|
+
accessibilityLabel = 'Basket',
|
|
191
|
+
style,
|
|
192
|
+
testID
|
|
193
|
+
}) {
|
|
194
|
+
const theme = (0, _useTheme.useTheme)();
|
|
195
|
+
const surface = (0, _surfaceLevels.useSurfaceFill)();
|
|
196
|
+
const paint = (0, _react.useMemo)(() => (0, _shared2.resolveCartPaint)(theme, surface), [theme, surface]);
|
|
197
|
+
const g = _constants.CART_GEOMETRY[density];
|
|
198
|
+
const warning = (0, _react.useMemo)(() => (0, _accentColors.resolveAccentColors)(theme.colors, 'warning', 'solid'), [theme]);
|
|
199
|
+
const hasLines = lines.length > 0;
|
|
200
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
201
|
+
style: [{
|
|
202
|
+
gap: _constants.CART_BLOCK_GAP
|
|
203
|
+
}, style],
|
|
204
|
+
testID: testID,
|
|
205
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
206
|
+
style: {
|
|
207
|
+
gap: _constants.CART_LINE_GAP
|
|
208
|
+
},
|
|
209
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(VendorHeader, {
|
|
210
|
+
name: vendorName,
|
|
211
|
+
photo: vendorPhoto,
|
|
212
|
+
photoVariant: vendorPhotoVariant,
|
|
213
|
+
meta: vendorMeta,
|
|
214
|
+
onPress: onPressVendor,
|
|
215
|
+
tile: g.vendorTile,
|
|
216
|
+
paint: paint,
|
|
217
|
+
testID: testID
|
|
218
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Divider, {
|
|
219
|
+
color: paint.rule
|
|
220
|
+
}), hasLines ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
221
|
+
role: "list",
|
|
222
|
+
accessibilityLabel: accessibilityLabel,
|
|
223
|
+
"aria-label": accessibilityLabel,
|
|
224
|
+
style: {
|
|
225
|
+
gap: _constants.CART_LINE_GAP
|
|
226
|
+
},
|
|
227
|
+
testID: testID ? `${testID}-lines` : undefined,
|
|
228
|
+
children: lines.map(line => /*#__PURE__*/(0, _jsxRuntime.jsx)(_CartLine.CartLine, {
|
|
229
|
+
name: line.name,
|
|
230
|
+
options: line.options,
|
|
231
|
+
note: line.note,
|
|
232
|
+
price: line.price,
|
|
233
|
+
originalPrice: line.originalPrice,
|
|
234
|
+
quantity: line.quantity,
|
|
235
|
+
photo: line.photo,
|
|
236
|
+
photoVariant: line.photoVariant,
|
|
237
|
+
unavailable: line.unavailable,
|
|
238
|
+
unavailableLabel: line.unavailableLabel,
|
|
239
|
+
density: density,
|
|
240
|
+
onQuantityChange: onLineQuantityChange ? quantity => onLineQuantityChange(line.id, quantity) : undefined,
|
|
241
|
+
onRemove: onLineRemove ? () => onLineRemove(line.id) : undefined,
|
|
242
|
+
testID: testID ? `${testID}-line-${line.id}` : undefined
|
|
243
|
+
}, line.id))
|
|
244
|
+
}) : empty ?? /*#__PURE__*/(0, _jsxRuntime.jsx)(EmptyBasket, {
|
|
245
|
+
title: emptyTitle,
|
|
246
|
+
description: emptyDescription,
|
|
247
|
+
paint: paint,
|
|
248
|
+
testID: testID
|
|
249
|
+
})]
|
|
250
|
+
}), hasLines && tip ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_CartTipPicker.CartTipPicker, {
|
|
251
|
+
...tip,
|
|
252
|
+
testID: tip.testID ?? (testID ? `${testID}-tip` : undefined)
|
|
253
|
+
}) : null, hasLines && promo ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_CartPromoField.CartPromoField, {
|
|
254
|
+
...promo,
|
|
255
|
+
testID: promo.testID ?? (testID ? `${testID}-promo` : undefined)
|
|
256
|
+
}) : null, hasLines && minimumOrder ? /*#__PURE__*/(0, _jsxRuntime.jsx)(MinimumNotice, {
|
|
257
|
+
minimum: minimumOrder,
|
|
258
|
+
fill: warning.background,
|
|
259
|
+
track: paint.rule,
|
|
260
|
+
testID: testID
|
|
261
|
+
}) : null, hasLines && summary ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.PriceSummary, {
|
|
262
|
+
lines: summary.lines,
|
|
263
|
+
total: summary.total,
|
|
264
|
+
collapsible: summary.collapsible,
|
|
265
|
+
defaultExpanded: summary.defaultExpanded,
|
|
266
|
+
testID: testID ? `${testID}-summary` : undefined
|
|
267
|
+
}) : null, hasLines && onCheckout ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
268
|
+
variant: "primary",
|
|
269
|
+
size: "large",
|
|
270
|
+
fullWidth: true,
|
|
271
|
+
disabled: checkoutDisabled,
|
|
272
|
+
onPress: onCheckout,
|
|
273
|
+
testID: testID ? `${testID}-checkout` : undefined,
|
|
274
|
+
children: checkoutLabel
|
|
275
|
+
}) : null]
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
const CartPanel = exports.CartPanel = /*#__PURE__*/(0, _react.memo)(CartPanelComponent);
|
|
279
|
+
CartPanel.displayName = 'CartPanel';
|
|
280
|
+
//# sourceMappingURL=CartPanel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_button","_index2","_RiShoppingBag3Line","_RiStore2Line","_context","_index3","_shared","_index4","_index5","_surfaceLevels","_accentColors","_useTheme","_index6","_CartLine","_CartPromoField","_CartTipPicker","_constants","_shared2","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","VendorHeader","name","photo","photoVariant","meta","onPress","tile","paint","testID","resolver","useImageResolver","uri","resolvePhoto","undefined","jsx","Item","title","subtitle","accessibilityLabel","leading","View","style","width","height","borderRadius","overflow","alignItems","justifyContent","backgroundColor","children","Image","source","resizeMode","accessibilityIgnoresInvertColors","RiStore2Line","fill","textSecondary","MinimumNotice","minimum","track","message","progress","AdmonitionRoot","type","jsxs","AdmonitionRow","AdmonitionIcon","AdmonitionContent","AdmonitionText","Meter","value","max","CART_METER_HEIGHT","valueText","EmptyBasket","description","gap","paddingTop","paddingBottom","RiShoppingBag3Line","textGraphical","Text","variant","color","text","textAlign","CartPanelComponent","vendorName","vendorPhoto","vendorPhotoVariant","vendorMeta","onPressVendor","lines","onLineQuantityChange","onLineRemove","minimumOrder","tip","promo","summary","onCheckout","checkoutLabel","checkoutDisabled","empty","emptyTitle","emptyDescription","density","theme","useTheme","surface","useSurfaceFill","useMemo","resolveCartPaint","g","CART_GEOMETRY","warning","resolveAccentColors","colors","hasLines","length","CART_BLOCK_GAP","CART_LINE_GAP","vendorTile","Divider","rule","role","map","line","CartLine","options","note","price","originalPrice","quantity","unavailable","unavailableLabel","onQuantityChange","id","onRemove","CartTipPicker","CartPromoField","background","PriceSummary","total","collapsible","defaultExpanded","Button","size","fullWidth","disabled","CartPanel","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["cart-panel/CartPanel.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AAOA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,mBAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AACA,IAAAO,QAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AACA,IAAAS,OAAA,GAAAT,OAAA;AACA,IAAAU,OAAA,GAAAV,OAAA;AACA,IAAAW,OAAA,GAAAX,OAAA;AACA,IAAAY,cAAA,GAAAZ,OAAA;AACA,IAAAa,aAAA,GAAAb,OAAA;AACA,IAAAc,SAAA,GAAAd,OAAA;AACA,IAAAe,OAAA,GAAAf,OAAA;AACA,IAAAgB,SAAA,GAAAhB,OAAA;AACA,IAAAiB,eAAA,GAAAjB,OAAA;AACA,IAAAkB,cAAA,GAAAlB,OAAA;AACA,IAAAmB,UAAA,GAAAnB,OAAA;AACA,IAAAoB,QAAA,GAAApB,OAAA;AAA4D,IAAAqB,WAAA,GAAArB,OAAA;AAAA,SAAAD,wBAAAuB,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAzB,u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IAAU,CAClD,CAAC,GACA,IAAI,EAEPoF,QAAQ,IAAIlB,UAAU,gBACrB,IAAAnG,WAAA,CAAAkC,GAAA,EAACpD,OAAA,CAAAmK,MAAM;MACL/D,OAAO,EAAC,SAAS;MACjBgE,IAAI,EAAC,OAAO;MACZC,SAAS;MACTC,QAAQ,EAAE/C,gBAAiB;MAC3B5E,OAAO,EAAE0E,UAAW;MACpBvE,MAAM,EAAEA,MAAM,GAAG,GAAGA,MAAM,WAAW,GAAGK,SAAU;MAAAgB,QAAA,EAEjDmD;IAAa,CACR,CAAC,GACP,IAAI;EAAA,CACJ,CAAC;AAEX;AAEO,MAAMiD,SAAS,GAAAC,OAAA,CAAAD,SAAA,gBAAG,IAAAE,WAAI,EAACjE,kBAAkB,CAAC;AACjD+D,SAAS,CAACG,WAAW,GAAG,WAAW","ignoreList":[]}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CartPromoField = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _button = require("../button");
|
|
10
|
+
var _index = require("../chip/index.js");
|
|
11
|
+
var _index2 = require("../field/index.js");
|
|
12
|
+
var _RiTicketLine = require("../icons/remix/RiTicketLine.js");
|
|
13
|
+
var _index3 = require("../input-group/index.js");
|
|
14
|
+
var _surfaceLevels = require("../styles/surface-levels.js");
|
|
15
|
+
var _index4 = require("../text-field/index.js");
|
|
16
|
+
var _accentColors = require("../theme/accent-colors.js");
|
|
17
|
+
var _useTheme = require("../theme/use-theme.js");
|
|
18
|
+
var _shared = require("./shared.js");
|
|
19
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
21
|
+
/** The ticket glyph in an applied code's pill, at the `xl` chip's icon rung. */
|
|
22
|
+
const PROMO_GLYPH = 16;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* A promo code: type it, apply it, and see it once it is on.
|
|
26
|
+
*
|
|
27
|
+
* empty `InputGroup` — a `TextFieldInput` with the apply button as a
|
|
28
|
+
* divided addon, so the code and the action share one shell and one
|
|
29
|
+
* focus ring
|
|
30
|
+
* applied the input is REPLACED by a removable pill. A field still holding a
|
|
31
|
+
* code that has already been accepted invites a reader to press
|
|
32
|
+
* Apply again and wonder why nothing happened.
|
|
33
|
+
* rejected `error` on the `Field`, which paints the group invalid and wires
|
|
34
|
+
* `aria-describedby` to the message — both through the field
|
|
35
|
+
* contract rather than by hand.
|
|
36
|
+
*
|
|
37
|
+
* The apply button is disabled while the field is blank: an Apply that can only
|
|
38
|
+
* fail is a control that teaches a reader to distrust it. Whether a code is
|
|
39
|
+
* VALID is the app's to say, and it says it by handing back `error` or
|
|
40
|
+
* `applied`.
|
|
41
|
+
*/
|
|
42
|
+
function CartPromoFieldComponent({
|
|
43
|
+
value,
|
|
44
|
+
onChangeText,
|
|
45
|
+
onApply,
|
|
46
|
+
applied,
|
|
47
|
+
onRemove,
|
|
48
|
+
removeLabel,
|
|
49
|
+
label = 'Promo code',
|
|
50
|
+
placeholder,
|
|
51
|
+
applyLabel = 'Apply',
|
|
52
|
+
error,
|
|
53
|
+
disabled = false,
|
|
54
|
+
style,
|
|
55
|
+
testID
|
|
56
|
+
}) {
|
|
57
|
+
const theme = (0, _useTheme.useTheme)();
|
|
58
|
+
const surface = (0, _surfaceLevels.useSurfaceFill)();
|
|
59
|
+
const paint = (0, _react.useMemo)(() => (0, _shared.resolveCartPaint)(theme, surface), [theme, surface]);
|
|
60
|
+
// The pill's glyph is painted by the caller — `Chip` renders `startIcon` as
|
|
61
|
+
// given — so it is read from the same recipe the pill's own label comes from.
|
|
62
|
+
const glyph = (0, _accentColors.resolveAccentColors)(theme.colors, 'success', 'subtle').foreground;
|
|
63
|
+
if (applied) {
|
|
64
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Field, {
|
|
65
|
+
label: label,
|
|
66
|
+
disabled: disabled,
|
|
67
|
+
style: style,
|
|
68
|
+
testID: testID,
|
|
69
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
70
|
+
style: {
|
|
71
|
+
flexDirection: 'row',
|
|
72
|
+
alignItems: 'center'
|
|
73
|
+
},
|
|
74
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Chip, {
|
|
75
|
+
size: "xl",
|
|
76
|
+
variant: "subtle",
|
|
77
|
+
color: "success",
|
|
78
|
+
surface: paint.wash,
|
|
79
|
+
startIcon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RiTicketLine.RiTicketLine, {
|
|
80
|
+
width: PROMO_GLYPH,
|
|
81
|
+
height: PROMO_GLYPH,
|
|
82
|
+
fill: glyph
|
|
83
|
+
}),
|
|
84
|
+
onClose: disabled ? undefined : onRemove,
|
|
85
|
+
closeLabel: removeLabel ?? `Remove ${applied}`,
|
|
86
|
+
testID: testID ? `${testID}-applied` : undefined,
|
|
87
|
+
children: applied
|
|
88
|
+
})
|
|
89
|
+
})
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Field, {
|
|
93
|
+
label: label,
|
|
94
|
+
error: error,
|
|
95
|
+
disabled: disabled,
|
|
96
|
+
style: style,
|
|
97
|
+
testID: testID,
|
|
98
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index3.InputGroup, {
|
|
99
|
+
disabled: disabled,
|
|
100
|
+
testID: testID ? `${testID}-group` : undefined,
|
|
101
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.TextFieldInput, {
|
|
102
|
+
label: label,
|
|
103
|
+
value: value,
|
|
104
|
+
onChangeText: onChangeText,
|
|
105
|
+
placeholder: placeholder,
|
|
106
|
+
disabled: disabled,
|
|
107
|
+
autoCapitalize: "characters",
|
|
108
|
+
autoCorrect: false,
|
|
109
|
+
returnKeyType: "done",
|
|
110
|
+
onSubmitEditing: onApply,
|
|
111
|
+
testID: testID ? `${testID}-input` : undefined
|
|
112
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.InputGroupAddon, {
|
|
113
|
+
divider: true,
|
|
114
|
+
noPadding: true,
|
|
115
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
116
|
+
variant: "ghost",
|
|
117
|
+
size: "small",
|
|
118
|
+
onPress: onApply,
|
|
119
|
+
disabled: disabled || value.trim() === '',
|
|
120
|
+
testID: testID ? `${testID}-apply` : undefined,
|
|
121
|
+
children: applyLabel
|
|
122
|
+
})
|
|
123
|
+
})]
|
|
124
|
+
})
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
const CartPromoField = exports.CartPromoField = /*#__PURE__*/(0, _react.memo)(CartPromoFieldComponent);
|
|
128
|
+
CartPromoField.displayName = 'CartPromoField';
|
|
129
|
+
//# sourceMappingURL=CartPromoField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_button","_index","_index2","_RiTicketLine","_index3","_surfaceLevels","_index4","_accentColors","_useTheme","_shared","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","PROMO_GLYPH","CartPromoFieldComponent","value","onChangeText","onApply","applied","onRemove","removeLabel","label","placeholder","applyLabel","error","disabled","style","testID","theme","useTheme","surface","useSurfaceFill","paint","useMemo","resolveCartPaint","glyph","resolveAccentColors","colors","foreground","jsx","Field","children","View","flexDirection","alignItems","Chip","size","variant","color","wash","startIcon","RiTicketLine","width","height","fill","onClose","undefined","closeLabel","jsxs","InputGroup","TextFieldInput","autoCapitalize","autoCorrect","returnKeyType","onSubmitEditing","InputGroupAddon","divider","noPadding","Button","onPress","trim","CartPromoField","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["cart-panel/CartPromoField.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,cAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AACA,IAAAS,aAAA,GAAAT,OAAA;AACA,IAAAU,SAAA,GAAAV,OAAA;AACA,IAAAW,OAAA,GAAAX,OAAA;AAA4C,IAAAY,WAAA,GAAAZ,OAAA;AAAA,SAAAD,wBAAAc,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAhB,uBAAA,YAAAA,CAAAc,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,C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