@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
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.PANEL_TOP_INSET = exports.PANEL_BOTTOM_INSET = exports.GUTTER_MASK_SPREAD = exports.ContentPanel = void 0;
|
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _adoptStyleSheet = require("../styles/adopt-style-sheet.js");
|
|
8
9
|
var _styledPrimitives = require("../styles/styled-primitives.js");
|
|
9
10
|
var _panelChrome = require("../styles/panel-chrome.js");
|
|
10
11
|
var _surfaceLevels = require("../styles/surface-levels.js");
|
|
@@ -23,10 +24,10 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
23
24
|
*
|
|
24
25
|
* 1. BLEED-MASK overlay (`z-30`): a `box-shadow` ring in the GUTTER color
|
|
25
26
|
* (Bloom `background` token) drawn OVER content that bleeds into the thin
|
|
26
|
-
* lateral gutter / rounded corners.
|
|
27
|
-
*
|
|
27
|
+
* lateral gutter / rounded corners. The clip stays within the panel’s horizontal bounds
|
|
28
|
+
* and covers the full declared vertical insets. It sits below opaque chrome (headers/banners),
|
|
28
29
|
* so it only masks the content's bleed, never the chrome. No border.
|
|
29
|
-
* (`clip-path`
|
|
30
|
+
* (`clip-path` lives in the adopted sheet — RN-web drops it from `style`.)
|
|
30
31
|
*
|
|
31
32
|
* 2. BORDER-FRAME overlay (`z-[120]`): a single 1px rounded `border-border`
|
|
32
33
|
* outline with a transparent interior, ABOVE all content. Being one element
|
|
@@ -59,9 +60,12 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
59
60
|
* "100% of my own height" at all).
|
|
60
61
|
*
|
|
61
62
|
* The bleed-mask's `clip-path` also changes with the mode, not just its box
|
|
62
|
-
* size:
|
|
63
|
-
*
|
|
64
|
-
*
|
|
63
|
+
* size: viewport mode allows just 1px of horizontal overlap, while the vertical
|
|
64
|
+
* halo and shadow expand to cover overlayInset. A former 12px horizontal halo
|
|
65
|
+
* painted over a neighbouring sidebar Fab when navigationGap was zero. A 1px
|
|
66
|
+
* horizontal overlap now covers device-pixel rounding without reaching that Fab. The old fixed inset(-12px)
|
|
67
|
+
* leaked a 4px strip with a 16px gutter and could not cover a 72px header
|
|
68
|
+
* inset. GUTTER_MASK_SPREAD (40px) remains the minimum shadow spread. A document-scroll
|
|
65
69
|
* consumer has nothing else positioned right above/below the panel for that
|
|
66
70
|
* halo to land on. A bounded-shell consumer might — the whole reason for
|
|
67
71
|
* `overlaySizing="panel"` is that something IS placed right outside the panel
|
|
@@ -141,6 +145,22 @@ const RESPONSIVE_WEB = {
|
|
|
141
145
|
overlayHidden: 'max-lg:hidden'
|
|
142
146
|
}
|
|
143
147
|
};
|
|
148
|
+
|
|
149
|
+
// The mask must reach the viewport edges for arbitrary shell gutters. Keep
|
|
150
|
+
// horizontal bleed to one CSS pixel to cover fractional device-pixel seams
|
|
151
|
+
// without reaching adjacent controls. CSS owns
|
|
152
|
+
// responsive framing, including the sticky inset inherited by PageHeader.
|
|
153
|
+
const PANEL_INSET_CSS = `
|
|
154
|
+
[data-bloom-panel] { --bloom-panel-sticky-top: 0px; }
|
|
155
|
+
[data-bloom-panel="framed"] { --bloom-panel-sticky-top: var(--bloom-panel-inset-top); }
|
|
156
|
+
@media (min-width: 500px) { [data-bloom-panel="500"] { --bloom-panel-sticky-top: var(--bloom-panel-inset-top); } }
|
|
157
|
+
@media (min-width: 640px) { [data-bloom-panel="640"] { --bloom-panel-sticky-top: var(--bloom-panel-inset-top); } }
|
|
158
|
+
@media (min-width: 768px) { [data-bloom-panel="768"] { --bloom-panel-sticky-top: var(--bloom-panel-inset-top); } }
|
|
159
|
+
@media (min-width: 1024px) { [data-bloom-panel="1024"] { --bloom-panel-sticky-top: var(--bloom-panel-inset-top); } }
|
|
160
|
+
[data-bloom-panel-mask="viewport"] {
|
|
161
|
+
clip-path: inset(calc(-1 * max(12px, var(--bloom-panel-inset-top))) -1px calc(-1 * max(12px, var(--bloom-panel-inset-bottom))) -1px);
|
|
162
|
+
}
|
|
163
|
+
`;
|
|
144
164
|
const ContentPanelComponent = ({
|
|
145
165
|
children,
|
|
146
166
|
framed,
|
|
@@ -158,6 +178,11 @@ const ContentPanelComponent = ({
|
|
|
158
178
|
overlaySizing = 'viewport',
|
|
159
179
|
overlayInset
|
|
160
180
|
}) => {
|
|
181
|
+
// Install only for a mounted panel. Insertion effects run before layout and
|
|
182
|
+
// paint on web, and never during SSR, so import remains side-effect free.
|
|
183
|
+
(0, _react.useInsertionEffect)(() => {
|
|
184
|
+
(0, _adoptStyleSheet.adoptStyleSheet)('bloom-content-panel-insets', PANEL_INSET_CSS);
|
|
185
|
+
}, []);
|
|
161
186
|
// Dev-only invariant — must run unconditionally (before deriving any
|
|
162
187
|
// mode-specific branch) so the hook order stays stable (rules of hooks).
|
|
163
188
|
(0, _context.useContentPanelNestingGuard)();
|
|
@@ -230,23 +255,34 @@ const ContentPanelComponent = ({
|
|
|
230
255
|
height: `calc(100dvh - ${insetTop + insetBottom}px)`,
|
|
231
256
|
marginBottom: `calc(-100dvh + ${insetTop + insetBottom}px)`
|
|
232
257
|
} : undefined;
|
|
258
|
+
const insetVars = {
|
|
259
|
+
'--bloom-panel-inset-top': `${insetTop}px`,
|
|
260
|
+
'--bloom-panel-inset-bottom': `${insetBottom}px`
|
|
261
|
+
};
|
|
262
|
+
const maskSpread = boundToPanel ? GUTTER_MASK_SPREAD : Math.max(GUTTER_MASK_SPREAD, insetTop, insetBottom);
|
|
233
263
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_context.ContentPanelNestingContext.Provider, {
|
|
234
264
|
value: true,
|
|
235
265
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styledPrimitives.StyledView, {
|
|
236
266
|
testID: "content-panel-surface",
|
|
267
|
+
dataSet: {
|
|
268
|
+
bloomPanel: boundToPanel || framed === false ? 'none' : responsive ? String(framedFrom) : 'framed'
|
|
269
|
+
},
|
|
237
270
|
className: surfaceClass,
|
|
238
271
|
style: [
|
|
239
272
|
// `--bloom-surface` rides the element that carries the fill, so CSS
|
|
240
273
|
// below the panel and `useSurfaceFill()` below the panel cannot
|
|
241
274
|
// disagree about what the panel painted.
|
|
242
|
-
(0, _surfaceLevels.surfaceFillVars)(publishedFill), surfaceStyle],
|
|
275
|
+
(0, _surfaceLevels.surfaceFillVars)(publishedFill), insetVars, surfaceStyle],
|
|
243
276
|
children: [showOverlays && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styledPrimitives.StyledView, {
|
|
244
277
|
testID: "content-panel-bleed-mask",
|
|
278
|
+
dataSet: {
|
|
279
|
+
bloomPanelMask: boundToPanel ? 'panel' : 'viewport'
|
|
280
|
+
},
|
|
245
281
|
pointerEvents: "none",
|
|
246
|
-
className: boundToPanel ? `web:[grid-area:1/1] z-30 h-full w-full rounded-radius-28 ${responsive ? bp.overlayHidden : ''} web:[clip-path:inset(0)]` : responsive ? `web:sticky web:top-2 z-30 h-[calc(100dvh-16px)] w-full rounded-radius-28 ${bp.overlayHidden} web:[margin-bottom:calc(-100dvh+16px)]
|
|
282
|
+
className: boundToPanel ? `web:[grid-area:1/1] z-30 h-full w-full rounded-radius-28 ${responsive ? bp.overlayHidden : ''} web:[clip-path:inset(0)]` : responsive ? `web:sticky web:top-2 z-30 h-[calc(100dvh-16px)] w-full rounded-radius-28 ${bp.overlayHidden} web:[margin-bottom:calc(-100dvh+16px)]` : 'web:sticky web:top-2 z-30 h-[calc(100dvh-16px)] w-full rounded-radius-28 web:[margin-bottom:calc(-100dvh+16px)]',
|
|
247
283
|
style: {
|
|
248
284
|
...insetStyle,
|
|
249
|
-
boxShadow: `0 0 0 ${
|
|
285
|
+
boxShadow: `0 0 0 ${maskSpread}px ${maskColor ?? colors.background}`
|
|
250
286
|
}
|
|
251
287
|
}, "bleed-mask"), showOverlays && showStickyFrame !== false && chrome !== 'none' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styledPrimitives.StyledView, {
|
|
252
288
|
testID: "content-panel-border-frame",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_styledPrimitives","_panelChrome","_surfaceLevels","_useTheme","_context","_shared","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","GUTTER_MASK_SPREAD","exports","PANEL_TOP_INSET","PANEL_BOTTOM_INSET","RESPONSIVE_WEB","surface","content","overlayHidden","ContentPanelComponent","children","framed","framedFrom","fill","surfaceClassName","surfaceStyle","surfaceColor","contentClassName","contentStyle","showStickyFrame","chrome","shadow","maskColor","overlaySizing","overlayInset","useContentPanelNestingGuard","colors","useTheme","panelChrome","useOptionalPanelChrome","publishedFill","usePanelSurfaceFill","responsive","undefined","showOverlays","bp","boundToPanel","surfaceBase","contentBase","fillSurface","fillContent","gridStackClass","surfaceClass","filter","Boolean","join","contentClass","insetTop","top","insetBottom","bottom","customInset","insetStyle","height","marginBottom","jsx","ContentPanelNestingContext","Provider","value","jsxs","StyledView","testID","className","style","surfaceFillVars","pointerEvents","boxShadow","background","SurfaceLevelProvider","level","ContentPanel","memo","displayName"],"sourceRoot":"../../../src","sources":["content-panel/ContentPanel.web.tsx"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_adoptStyleSheet","_styledPrimitives","_panelChrome","_surfaceLevels","_useTheme","_context","_shared","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","GUTTER_MASK_SPREAD","exports","PANEL_TOP_INSET","PANEL_BOTTOM_INSET","RESPONSIVE_WEB","surface","content","overlayHidden","PANEL_INSET_CSS","ContentPanelComponent","children","framed","framedFrom","fill","surfaceClassName","surfaceStyle","surfaceColor","contentClassName","contentStyle","showStickyFrame","chrome","shadow","maskColor","overlaySizing","overlayInset","useInsertionEffect","adoptStyleSheet","useContentPanelNestingGuard","colors","useTheme","panelChrome","useOptionalPanelChrome","publishedFill","usePanelSurfaceFill","responsive","undefined","showOverlays","bp","boundToPanel","surfaceBase","contentBase","fillSurface","fillContent","gridStackClass","surfaceClass","filter","Boolean","join","contentClass","insetTop","top","insetBottom","bottom","customInset","insetStyle","height","marginBottom","insetVars","maskSpread","Math","max","jsx","ContentPanelNestingContext","Provider","value","jsxs","StyledView","testID","dataSet","bloomPanel","String","className","style","surfaceFillVars","bloomPanelMask","pointerEvents","boxShadow","background","SurfaceLevelProvider","level","ContentPanel","memo","displayName"],"sourceRoot":"../../../src","sources":["content-panel/ContentPanel.web.tsx"],"mappings":";;;;;;AAuFA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAGA,IAAAC,gBAAA,GAAAD,OAAA;AAEA,IAAAE,iBAAA,GAAAF,OAAA;AAEA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,cAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAN,OAAA;AAIA,IAAAO,OAAA,GAAAP,OAAA;AAA+C,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAD,wBAAAU,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAZ,uBAAA,YAAAA,CAAAU,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,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AArG/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAkBA;AACO,MAAMkB,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG,EAAE;AACpC;AACO,MAAME,eAAe,GAAAD,OAAA,CAAAC,eAAA,GAAG,CAAC;AAChC;AACO,MAAMC,kBAAkB,GAAAF,OAAA,CAAAE,kBAAA,GAAG,CAAC;;AAEnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,cAGL,GAAG;EACF,GAAG,EAAE;IACHC,OAAO,EAAE,+BAA+B;IACxCC,OAAO,EAAE,+DAA+D;IACxEC,aAAa,EAAE;EACjB,CAAC;EACD,GAAG,EAAE;IACHF,OAAO,EAAE,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AE1C,CAAC;AAEM,MAAMsE,YAAY,GAAA/E,OAAA,CAAA+E,YAAA,gBAAG,IAAAC,WAAI,EAACxE,qBAAqB,CAAC;AACvDuE,YAAY,CAACE,WAAW,GAAG,cAAc","ignoreList":[]}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.DeliverySlotDays = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _index = require("../chip/index.js");
|
|
9
|
+
var _parts = require("../listing-actions/parts.js");
|
|
10
|
+
var _index2 = require("../typography/index.js");
|
|
11
|
+
var _constants = require("./constants.js");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
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); }
|
|
14
|
+
/**
|
|
15
|
+
* The days across the top: which day's windows are listed below.
|
|
16
|
+
*
|
|
17
|
+
* tile `SelectChip shape="day"` — 56 wide, radius 12, a hairline at rest,
|
|
18
|
+
* a neutral wash under a pointer, INVERTED when chosen
|
|
19
|
+
* text the weekday caption-1-regular over the date headline-semibold in
|
|
20
|
+
* tabular figures, so a two-digit date does not widen the tile
|
|
21
|
+
* strip `ChipRow`, 8 apart, which supplies the sideways scroll, the fade
|
|
22
|
+
* at whichever edge has more behind it, and the room a focus ring
|
|
23
|
+
* needs so the outline is not clipped by its own scroller
|
|
24
|
+
* unavailable struck through at the disabled opacity, not pressable
|
|
25
|
+
*
|
|
26
|
+
* Both parts are the library's. `SelectChip` is the day tile Bloom already
|
|
27
|
+
* draws for scheduling a viewing — a day picked out of a strip is one thing,
|
|
28
|
+
* not one per app — and `ChipRow` is the sideways scroller five filter rows
|
|
29
|
+
* share. Nothing here is a new shape.
|
|
30
|
+
*
|
|
31
|
+
* It announces as a `radiogroup` of `radio`s, which is what the control IS: one
|
|
32
|
+
* day of several, exactly one chosen. The WINDOWS are their own group — two
|
|
33
|
+
* choices, two groups, rather than one group a reader has to infer the halves
|
|
34
|
+
* of.
|
|
35
|
+
*/
|
|
36
|
+
function DeliverySlotDaysComponent({
|
|
37
|
+
days,
|
|
38
|
+
value,
|
|
39
|
+
onChange,
|
|
40
|
+
accessibilityLabel = _constants.DELIVERY_DAY_LABEL,
|
|
41
|
+
disabled = false,
|
|
42
|
+
fadeColor,
|
|
43
|
+
style,
|
|
44
|
+
testID
|
|
45
|
+
}) {
|
|
46
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ChipRow, {
|
|
47
|
+
role: "radiogroup",
|
|
48
|
+
accessibilityLabel: accessibilityLabel,
|
|
49
|
+
disabled: disabled,
|
|
50
|
+
fadeColor: fadeColor,
|
|
51
|
+
gap: 8,
|
|
52
|
+
style: style,
|
|
53
|
+
testID: testID,
|
|
54
|
+
children: days.map(d => {
|
|
55
|
+
const unavailable = disabled || d.disabled === true;
|
|
56
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_parts.SelectChip, {
|
|
57
|
+
shape: "day",
|
|
58
|
+
selected: d.id === value,
|
|
59
|
+
disabled: unavailable,
|
|
60
|
+
onPress: onChange ? () => onChange(d.id) : undefined,
|
|
61
|
+
accessibilityLabel: d.accessibilityLabel ?? `${d.weekday} ${d.day}`,
|
|
62
|
+
testID: d.testID ?? (testID ? `${testID}-${d.id}` : undefined),
|
|
63
|
+
children: ink => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
64
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
|
|
65
|
+
variant: "caption-1-regular",
|
|
66
|
+
style: {
|
|
67
|
+
color: ink
|
|
68
|
+
},
|
|
69
|
+
children: d.weekday
|
|
70
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
|
|
71
|
+
variant: "headline-semibold",
|
|
72
|
+
style: {
|
|
73
|
+
color: ink,
|
|
74
|
+
fontVariant: ['tabular-nums'],
|
|
75
|
+
textDecorationLine: unavailable ? 'line-through' : 'none'
|
|
76
|
+
},
|
|
77
|
+
children: d.day
|
|
78
|
+
})]
|
|
79
|
+
})
|
|
80
|
+
}, d.id);
|
|
81
|
+
})
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
const DeliverySlotDays = exports.DeliverySlotDays = /*#__PURE__*/(0, _react.memo)(DeliverySlotDaysComponent);
|
|
85
|
+
DeliverySlotDays.displayName = 'DeliverySlotDays';
|
|
86
|
+
//# sourceMappingURL=DeliverySlotDays.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_index","_parts","_index2","_constants","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","DeliverySlotDaysComponent","days","value","onChange","accessibilityLabel","DELIVERY_DAY_LABEL","disabled","fadeColor","style","testID","jsx","ChipRow","role","gap","children","map","d","unavailable","SelectChip","shape","selected","id","onPress","undefined","weekday","day","ink","jsxs","Fragment","Text","variant","color","fontVariant","textDecorationLine","DeliverySlotDays","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["delivery-slot/DeliverySlotDays.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,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AAE;YAAAZ,QAAA,EACrDE,CAAC,CAACQ;UAAO,CACN,CAAC,eACP,IAAA5C,WAAA,CAAA8B,GAAA,EAAChC,OAAA,CAAAmD,IAAI;YACHC,OAAO,EAAC,mBAAmB;YAC3BtB,KAAK,EAAE;cACLuB,KAAK,EAAEL,GAAG;cACVM,WAAW,EAAE,CAAC,cAAc,CAAC;cAC7BC,kBAAkB,EAAEhB,WAAW,GAAG,cAAc,GAAG;YACrD,CAAE;YAAAH,QAAA,EAEDE,CAAC,CAACS;UAAG,CACF,CAAC;QAAA,CACP;MACH,GAxBIT,CAAC,CAACK,EAyBG,CAAC;IAEjB,CAAC;EAAC,CACK,CAAC;AAEd;AAEO,MAAMa,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,gBAAG,IAAAE,WAAI,EAACpC,yBAAyB,CAAC;AAC/DkC,gBAAgB,CAACG,WAAW,GAAG,kBAAkB","ignoreList":[]}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.DeliverySlotOption = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = require("../item/index.js");
|
|
10
|
+
var _index2 = require("../radio-indicator/index.js");
|
|
11
|
+
var _surfaceLevels = require("../styles/surface-levels.js");
|
|
12
|
+
var _useTheme = require("../theme/use-theme.js");
|
|
13
|
+
var _index3 = require("../typography/index.js");
|
|
14
|
+
var _constants = require("./constants.js");
|
|
15
|
+
var _shared = require("./shared.js");
|
|
16
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
+
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); }
|
|
18
|
+
/**
|
|
19
|
+
* One choosable slot: the window, what class of service it is and what is left
|
|
20
|
+
* of it, and what it costs.
|
|
21
|
+
*
|
|
22
|
+
* dot `RadioIndicator` at 20 (`Radio`'s `lg` rung — the row is two lines
|
|
23
|
+
* tall, and the 16 dot read as a bullet beside it)
|
|
24
|
+
* label the row's own rung, with an optional glyph before it and a `Badge`
|
|
25
|
+
* after it
|
|
26
|
+
* detail body-2-regular secondary — the tier, the capacity, the note, or
|
|
27
|
+
* just "Sold out"
|
|
28
|
+
* price body-medium in TABULAR figures at the end, so a column of
|
|
29
|
+
* surcharges lines up
|
|
30
|
+
* box radius 12, a hairline at rest; the chosen row takes the text
|
|
31
|
+
* colour for its border and one surface step for its fill
|
|
32
|
+
*
|
|
33
|
+
* It is `Item` with `role="radio"`: the press target, the hover and press
|
|
34
|
+
* paint, the disabled opacity and — the part worth naming — the `aria-checked`
|
|
35
|
+
* that role scopes are all `Item`'s, which is why this is a radio rather than a
|
|
36
|
+
* pressable that happens to look selected. A sold-out window is `disabled`, so
|
|
37
|
+
* it announces as unavailable instead of merely being drawn pale.
|
|
38
|
+
*/
|
|
39
|
+
function DeliverySlotOptionComponent({
|
|
40
|
+
label,
|
|
41
|
+
detail,
|
|
42
|
+
price,
|
|
43
|
+
badge,
|
|
44
|
+
icon: Icon,
|
|
45
|
+
selected = false,
|
|
46
|
+
disabled = false,
|
|
47
|
+
onPress,
|
|
48
|
+
accessibilityLabel,
|
|
49
|
+
style,
|
|
50
|
+
testID
|
|
51
|
+
}) {
|
|
52
|
+
const theme = (0, _useTheme.useTheme)();
|
|
53
|
+
const surface = (0, _surfaceLevels.useSurfaceFill)();
|
|
54
|
+
const paint = (0, _react.useMemo)(() => (0, _shared.resolveDeliverySlotPaint)(theme, surface), [theme, surface]);
|
|
55
|
+
const id = part => testID ? `${testID}-${part}` : undefined;
|
|
56
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Item, {
|
|
57
|
+
role: "radio",
|
|
58
|
+
selected: selected
|
|
59
|
+
// `onPress` stays wired while disabled: `Item` drops the handler itself
|
|
60
|
+
// and keeps the row in the group's tab order, which is what a radio that
|
|
61
|
+
// is present but unavailable should do.
|
|
62
|
+
,
|
|
63
|
+
onPress: onPress,
|
|
64
|
+
disabled: disabled,
|
|
65
|
+
accessibilityLabel: accessibilityLabel ?? (0, _shared.joinDeliveryParts)([label, detail, price]) ?? label,
|
|
66
|
+
leading: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.RadioIndicator, {
|
|
67
|
+
selected: selected,
|
|
68
|
+
size: _constants.DELIVERY_DOT,
|
|
69
|
+
testID: id('dot')
|
|
70
|
+
}),
|
|
71
|
+
trailing: price ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Text, {
|
|
72
|
+
variant: "body-medium",
|
|
73
|
+
numberOfLines: 1,
|
|
74
|
+
testID: id('price'),
|
|
75
|
+
style: {
|
|
76
|
+
color: paint.text,
|
|
77
|
+
fontVariant: ['tabular-nums']
|
|
78
|
+
},
|
|
79
|
+
children: price
|
|
80
|
+
}) : null,
|
|
81
|
+
style: [{
|
|
82
|
+
borderRadius: _constants.DELIVERY_OPTION_RADIUS,
|
|
83
|
+
borderWidth: 1,
|
|
84
|
+
borderColor: selected ? paint.text : paint.border,
|
|
85
|
+
backgroundColor: selected ? paint.selected : 'transparent'
|
|
86
|
+
}, style],
|
|
87
|
+
testID: testID,
|
|
88
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
89
|
+
style: {
|
|
90
|
+
flex: 1,
|
|
91
|
+
minWidth: 0,
|
|
92
|
+
gap: 2
|
|
93
|
+
},
|
|
94
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
95
|
+
style: {
|
|
96
|
+
flexDirection: 'row',
|
|
97
|
+
alignItems: 'center',
|
|
98
|
+
gap: 6,
|
|
99
|
+
minWidth: 0
|
|
100
|
+
},
|
|
101
|
+
children: [Icon ? /*#__PURE__*/(0, _jsxRuntime.jsx)(Icon, {
|
|
102
|
+
width: _constants.DELIVERY_GLYPH,
|
|
103
|
+
height: _constants.DELIVERY_GLYPH,
|
|
104
|
+
fill: paint.textSecondary
|
|
105
|
+
}) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Text, {
|
|
106
|
+
variant: "body-medium",
|
|
107
|
+
numberOfLines: 1,
|
|
108
|
+
testID: id('label'),
|
|
109
|
+
style: {
|
|
110
|
+
flexShrink: 1,
|
|
111
|
+
minWidth: 0,
|
|
112
|
+
color: paint.text
|
|
113
|
+
},
|
|
114
|
+
children: label
|
|
115
|
+
}), badge]
|
|
116
|
+
}), detail ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Text, {
|
|
117
|
+
variant: "body-2-regular",
|
|
118
|
+
numberOfLines: 2,
|
|
119
|
+
testID: id('detail'),
|
|
120
|
+
style: {
|
|
121
|
+
color: paint.textSecondary
|
|
122
|
+
},
|
|
123
|
+
children: detail
|
|
124
|
+
}) : null]
|
|
125
|
+
})
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
const DeliverySlotOption = exports.DeliverySlotOption = /*#__PURE__*/(0, _react.memo)(DeliverySlotOptionComponent);
|
|
129
|
+
DeliverySlotOption.displayName = 'DeliverySlotOption';
|
|
130
|
+
//# sourceMappingURL=DeliverySlotOption.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_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","DeliverySlotOptionComponent","label","detail","price","badge","icon","Icon","selected","disabled","onPress","accessibilityLabel","style","testID","theme","useTheme","surface","useSurfaceFill","paint","useMemo","resolveDeliverySlotPaint","id","part","undefined","jsx","Item","role","joinDeliveryParts","leading","RadioIndicator","size","DELIVERY_DOT","trailing","Text","variant","numberOfLines","color","text","fontVariant","children","borderRadius","DELIVERY_OPTION_RADIUS","borderWidth","borderColor","border","backgroundColor","jsxs","View","flex","minWidth","gap","flexDirection","alignItems","width","DELIVERY_GLYPH","height","fill","textSecondary","flexShrink","DeliverySlotOption","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["delivery-slot/DeliverySlotOption.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,cAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AAAuE,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAD,wBAAAW,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAb,uBAAA,YAAAA,CAAAW,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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","ignoreList":[]}
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.DeliverySlotPicker = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = require("../empty-state/index.js");
|
|
10
|
+
var _index2 = require("../field/index.js");
|
|
11
|
+
var _context = require("../field/context.js");
|
|
12
|
+
var _membership = require("../field/membership.js");
|
|
13
|
+
var _RiFlashlightLine = require("../icons/remix/RiFlashlightLine.js");
|
|
14
|
+
var _RiTimeLine = require("../icons/remix/RiTimeLine.js");
|
|
15
|
+
var Skeleton = _interopRequireWildcard(require("../skeleton/index.js"));
|
|
16
|
+
var _DeliverySlotDays = require("./DeliverySlotDays.js");
|
|
17
|
+
var _DeliverySlotOption = require("./DeliverySlotOption.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
|
+
* INTERNAL — the two groups, inside the field, so they can READ it.
|
|
24
|
+
*
|
|
25
|
+
* It is a separate component and not the body of `DeliverySlotPicker` for one
|
|
26
|
+
* mechanical reason: `useFieldMembership()` reads the context a `Field`
|
|
27
|
+
* publishes, and a component cannot read a context it renders itself. Splitting
|
|
28
|
+
* here is what makes the picker a real member of the field contract — the
|
|
29
|
+
* field's label names the group, and the field's `disabled` reaches every day
|
|
30
|
+
* and every window and cannot be opted out of.
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
function DeliverySlotGroups({
|
|
34
|
+
label,
|
|
35
|
+
days,
|
|
36
|
+
day,
|
|
37
|
+
onDayChange,
|
|
38
|
+
dayLabel,
|
|
39
|
+
windows,
|
|
40
|
+
value,
|
|
41
|
+
onValueChange,
|
|
42
|
+
asap,
|
|
43
|
+
disabled,
|
|
44
|
+
loading,
|
|
45
|
+
loadingRows,
|
|
46
|
+
empty,
|
|
47
|
+
emptyTitle,
|
|
48
|
+
emptyDescription,
|
|
49
|
+
tierLabels,
|
|
50
|
+
soldOutLabel,
|
|
51
|
+
fadeColor,
|
|
52
|
+
testID
|
|
53
|
+
}) {
|
|
54
|
+
// The NAME defers to the field (`??`) and `disabled` combines with it (`||`)
|
|
55
|
+
// — the two directions `field/membership.ts` exists to stop every family
|
|
56
|
+
// getting backwards.
|
|
57
|
+
const field = (0, _membership.useFieldMembership)({
|
|
58
|
+
accessibilityLabel: label,
|
|
59
|
+
disabled
|
|
60
|
+
});
|
|
61
|
+
const id = part => testID ? `${testID}-${part}` : undefined;
|
|
62
|
+
const off = field.disabled;
|
|
63
|
+
const options = (0, _react.useMemo)(() => windows.map(w => ({
|
|
64
|
+
window: w,
|
|
65
|
+
detail: (0, _shared.windowDetail)(w, tierLabels, soldOutLabel),
|
|
66
|
+
name: (0, _shared.windowName)(w, tierLabels, soldOutLabel)
|
|
67
|
+
})), [windows, tierLabels, soldOutLabel]);
|
|
68
|
+
const asapRow = asap ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_DeliverySlotOption.DeliverySlotOption, {
|
|
69
|
+
label: asap.label ?? _constants.DELIVERY_ASAP_LABEL,
|
|
70
|
+
detail: asap.soldOut ? soldOutLabel : (0, _shared.joinDeliveryParts)([asap.eta, asap.note]),
|
|
71
|
+
price: asap.price,
|
|
72
|
+
icon: asap.icon ?? _RiFlashlightLine.RiFlashlightLine,
|
|
73
|
+
selected: asap.id === value,
|
|
74
|
+
disabled: off || asap.disabled === true || asap.soldOut === true,
|
|
75
|
+
onPress: onValueChange ? () => onValueChange(asap.id) : undefined,
|
|
76
|
+
accessibilityLabel: asap.accessibilityLabel,
|
|
77
|
+
testID: asap.testID ?? id('asap')
|
|
78
|
+
}, "asap") : null;
|
|
79
|
+
const body = loading ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
80
|
+
"aria-busy": true,
|
|
81
|
+
accessibilityLabel: field.accessibilityLabel,
|
|
82
|
+
testID: id('loading'),
|
|
83
|
+
style: {
|
|
84
|
+
gap: _constants.DELIVERY_OPTION_GAP
|
|
85
|
+
},
|
|
86
|
+
children: Array.from({
|
|
87
|
+
length: loadingRows
|
|
88
|
+
}, (_unused, index) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
89
|
+
testID: id(`placeholder-${index}`),
|
|
90
|
+
style: {
|
|
91
|
+
flexDirection: 'row',
|
|
92
|
+
alignItems: 'center',
|
|
93
|
+
gap: 12,
|
|
94
|
+
paddingHorizontal: 16,
|
|
95
|
+
paddingVertical: 10,
|
|
96
|
+
borderRadius: _constants.DELIVERY_OPTION_RADIUS
|
|
97
|
+
},
|
|
98
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Skeleton.Circle, {
|
|
99
|
+
size: _constants.DELIVERY_DOT
|
|
100
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
101
|
+
style: {
|
|
102
|
+
flex: 1,
|
|
103
|
+
minWidth: 0,
|
|
104
|
+
gap: 4
|
|
105
|
+
},
|
|
106
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Skeleton.Text, {
|
|
107
|
+
style: {
|
|
108
|
+
width: '40%',
|
|
109
|
+
lineHeight: 16
|
|
110
|
+
}
|
|
111
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(Skeleton.Text, {
|
|
112
|
+
style: {
|
|
113
|
+
width: '60%',
|
|
114
|
+
lineHeight: 14
|
|
115
|
+
}
|
|
116
|
+
})]
|
|
117
|
+
})]
|
|
118
|
+
}, index))
|
|
119
|
+
}) : options.length === 0 && asapRow == null ? empty ?? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.EmptyState, {
|
|
120
|
+
variant: "compact",
|
|
121
|
+
icon: _RiTimeLine.RiTimeLine,
|
|
122
|
+
title: emptyTitle,
|
|
123
|
+
description: emptyDescription,
|
|
124
|
+
testID: id('empty')
|
|
125
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
126
|
+
role: "radiogroup",
|
|
127
|
+
accessibilityLabel: field.accessibilityLabel,
|
|
128
|
+
"aria-describedby": field.describedBy,
|
|
129
|
+
"aria-invalid": field.invalid || undefined,
|
|
130
|
+
"aria-disabled": off || undefined,
|
|
131
|
+
testID: id('windows'),
|
|
132
|
+
style: {
|
|
133
|
+
gap: _constants.DELIVERY_OPTION_GAP
|
|
134
|
+
},
|
|
135
|
+
children: [asapRow, options.map(({
|
|
136
|
+
window: w,
|
|
137
|
+
detail,
|
|
138
|
+
name
|
|
139
|
+
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_DeliverySlotOption.DeliverySlotOption, {
|
|
140
|
+
label: w.label,
|
|
141
|
+
detail: detail,
|
|
142
|
+
price: w.price,
|
|
143
|
+
selected: w.id === value,
|
|
144
|
+
disabled: off || w.disabled === true || w.soldOut === true,
|
|
145
|
+
onPress: onValueChange ? () => onValueChange(w.id) : undefined,
|
|
146
|
+
accessibilityLabel: name,
|
|
147
|
+
testID: w.testID ?? id(w.id)
|
|
148
|
+
}, w.id))]
|
|
149
|
+
});
|
|
150
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
151
|
+
style: {
|
|
152
|
+
gap: _constants.DELIVERY_SECTION_GAP
|
|
153
|
+
},
|
|
154
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_DeliverySlotDays.DeliverySlotDays, {
|
|
155
|
+
days: days,
|
|
156
|
+
value: day,
|
|
157
|
+
onChange: onDayChange,
|
|
158
|
+
accessibilityLabel: dayLabel,
|
|
159
|
+
disabled: off,
|
|
160
|
+
fadeColor: fadeColor,
|
|
161
|
+
testID: id('days')
|
|
162
|
+
}), body]
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* When: a day, then a window of that day — or the next courier.
|
|
168
|
+
*
|
|
169
|
+
* field standalone, the whole picker IS a `Field` (`multiple`), so one
|
|
170
|
+
* label names the choice, one `error` puts it in its invalid state,
|
|
171
|
+
* and one `disabled` reaches the strip and every option. Dropped
|
|
172
|
+
* inside somebody else's `Field` it renders no second one and reads
|
|
173
|
+
* theirs instead.
|
|
174
|
+
* days `DeliverySlotDays`, a `radiogroup` of day tiles
|
|
175
|
+
* options 16 under the strip; a `radiogroup` of `DeliverySlotOption`s 8
|
|
176
|
+
* apart, the ASAP option at the head of it
|
|
177
|
+
* loading placeholder rows announced as busy — the windows are RELOADED when
|
|
178
|
+
* the day changes, and an empty list during that reload reads as
|
|
179
|
+
* "nothing left today"
|
|
180
|
+
* empty `EmptyState` at the panel rung
|
|
181
|
+
*
|
|
182
|
+
* ## It is a selection, so it is a radio group
|
|
183
|
+
*
|
|
184
|
+
* Not a set of pressables that happen to look selected. The difference is what
|
|
185
|
+
* a screen reader says: a `radiogroup` announces the name of the choice and
|
|
186
|
+
* "3 of 7", and each row announces whether it is the chosen one. Pressables
|
|
187
|
+
* announce seven unrelated buttons, one of which is drawn differently.
|
|
188
|
+
*
|
|
189
|
+
* ## It computes nothing
|
|
190
|
+
*
|
|
191
|
+
* Every window, every price and every reading is a string the app formatted.
|
|
192
|
+
* The only ordering this family does is the order it was handed.
|
|
193
|
+
*/
|
|
194
|
+
function DeliverySlotPickerComponent({
|
|
195
|
+
label,
|
|
196
|
+
description,
|
|
197
|
+
error,
|
|
198
|
+
required,
|
|
199
|
+
disabled,
|
|
200
|
+
dayLabel = _constants.DELIVERY_DAY_LABEL,
|
|
201
|
+
emptyTitle = _constants.DELIVERY_EMPTY_TITLE,
|
|
202
|
+
emptyDescription = _constants.DELIVERY_EMPTY_DESCRIPTION,
|
|
203
|
+
soldOutLabel = _constants.DELIVERY_SOLD_OUT_LABEL,
|
|
204
|
+
loadingRows = 3,
|
|
205
|
+
style,
|
|
206
|
+
testID,
|
|
207
|
+
...rest
|
|
208
|
+
}) {
|
|
209
|
+
// Is there already a `Field` around us? A picker dropped into somebody's form
|
|
210
|
+
// must not make a SECOND one: two fields means two labels above one control
|
|
211
|
+
// and an error the outer field describes and the inner one does not.
|
|
212
|
+
//
|
|
213
|
+
// Reading the context here is safe — `Field` is rendered BELOW this node, so
|
|
214
|
+
// what this sees is the enclosing one — and the branch is a render decision,
|
|
215
|
+
// not a conditional hook.
|
|
216
|
+
const enclosing = (0, _context.useFieldControl)();
|
|
217
|
+
const groups = /*#__PURE__*/(0, _jsxRuntime.jsx)(DeliverySlotGroups, {
|
|
218
|
+
...rest,
|
|
219
|
+
label: label,
|
|
220
|
+
disabled: disabled,
|
|
221
|
+
dayLabel: dayLabel,
|
|
222
|
+
emptyTitle: emptyTitle,
|
|
223
|
+
emptyDescription: emptyDescription,
|
|
224
|
+
soldOutLabel: soldOutLabel,
|
|
225
|
+
loadingRows: loadingRows,
|
|
226
|
+
testID: testID
|
|
227
|
+
});
|
|
228
|
+
|
|
229
|
+
// Inside somebody's field, the field owns the label, the hint and the error —
|
|
230
|
+
// and `label` stays undefined by default so the field's own label is what
|
|
231
|
+
// names the group. Standalone, the picker IS the field and supplies its own.
|
|
232
|
+
if (enclosing) return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
233
|
+
style: style,
|
|
234
|
+
children: groups
|
|
235
|
+
});
|
|
236
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Field, {
|
|
237
|
+
label: label ?? _constants.DELIVERY_FIELD_LABEL,
|
|
238
|
+
description: description,
|
|
239
|
+
error: error,
|
|
240
|
+
required: required,
|
|
241
|
+
disabled: disabled,
|
|
242
|
+
multiple: true,
|
|
243
|
+
style: style,
|
|
244
|
+
testID: testID,
|
|
245
|
+
children: groups
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
const DeliverySlotPicker = exports.DeliverySlotPicker = /*#__PURE__*/(0, _react.memo)(DeliverySlotPickerComponent);
|
|
249
|
+
DeliverySlotPicker.displayName = 'DeliverySlotPicker';
|
|
250
|
+
//# sourceMappingURL=DeliverySlotPicker.js.map
|