@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useContext","useEffect","useMemo","useState","Keyboard","Platform","View","SafeAreaInsetsContext","windowEdgeGap","useSharedValue","useTheme","WEB_POSITION_STICKY","Z_INDEX","ScreenContext","ScreenNavigationContext","jsx","_jsx","jsxs","_jsxs","Screen","header","bottomBar","primaryAction","active","requestedActive","navigationScope","documentScroll","headerHeight","bottomBarHeight","contentClearance","children","style","testID","props","colors","parentScreen","scrollY","localProgress","localTarget","localScroller","inheritedNavigation","navigation","collapseProgress","collapseTarget","activeScrollerId","insets","measuredTop","setTop","measuredBottom","setBottom","top","OS","bottom","keyboardVisible","setKeyboardVisible","show","addListener","hide","remove","hasBottom","Boolean","value","
|
|
1
|
+
{"version":3,"names":["React","useContext","useEffect","useMemo","useState","Keyboard","Platform","View","SafeAreaInsetsContext","windowEdgeGap","useSharedValue","useTheme","WEB_POSITION_STICKY","WEB_VIEWPORT_HEIGHT","Z_INDEX","ScreenContext","ScreenNavigationContext","useScreenWindowBinding","jsx","_jsx","jsxs","_jsxs","Screen","header","bottomBar","primaryAction","active","requestedActive","navigationScope","documentScroll","headerHeight","bottomBarHeight","contentClearance","children","style","testID","props","colors","parentScreen","scrollY","localProgress","localTarget","localScroller","inheritedNavigation","navigation","collapseProgress","collapseTarget","activeScrollerId","insets","measuredTop","setTop","measuredBottom","setBottom","top","OS","bottom","keyboardVisible","setKeyboardVisible","show","addListener","hide","remove","hasBottom","Boolean","document","value","contentInsetsHandled","topInset","bottomInset","headerNode","undefined","pointerEvents","onLayout","event","nativeEvent","layout","height","position","zIndex","floating","marginBottom","left","right","bottomNode","marginTop","alignItems","paddingHorizontal","paddingBottom","minHeight","Provider","width","backgroundColor","background","flex","flexGrow","flexShrink","paddingTop"],"sourceRoot":"../../../src","sources":["screen/Screen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AACvE,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,IAAI,QAAQ,cAAc;AACvD,SAASC,qBAAqB,Q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K,CAACG;IAAY,CAAE;IAAAnC,QAAA,eACjJd,IAAA,CAACJ,aAAa,CAAC0E,QAAQ;MAACxB,KAAK,EAAEA,KAAM;MAAAhC,QAAA,eACnCZ,KAAA,CAACd,IAAI;QAAA,GAAK6B,KAAK;QAAED,MAAM,EAAEA,MAAO;QAACD,KAAK,EAAE,CAAC8B,QAAQ,GAAG;UAAEwB,SAAS,EAAE3E,mBAAmB;UAAE6E,KAAK,EAAE,MAAM;UAAEb,QAAQ,EAAE,UAAU;UAAEc,eAAe,EAAEtD,MAAM,CAACuD;QAAW,CAAC,GAAG;UAAEC,IAAI,EAAE,CAAC;UAAEL,SAAS,EAAE,CAAC;UAAEX,QAAQ,EAAE,UAAU;UAAEc,eAAe,EAAEtD,MAAM,CAACuD;QAAW,CAAC,EAAE1D,KAAK,CAAE;QAAAD,QAAA,GAC3P+B,QAAQ,GAAGK,UAAU,GAAG,IAAI,EAC5BL,QAAQ,gBAAG7C,IAAA,CAACZ,IAAI;UAAC4B,MAAM,EAAEA,MAAM,GAAG,GAAGA,MAAM,UAAU,GAAGmC,SAAU;UAACpC,KAAK,EAAE;YACzE4D,QAAQ,EAAE,CAAC;YAAEC,UAAU,EAAE,CAAC;YAC1BC,UAAU,EAAEzE,MAAM,GAAG8B,GAAG,GAAG,CAAC;YAC5BkC,aAAa,EAAEzB,SAAS,GAAGP,MAAM,GAAGvB,gBAAgB,GAAG;UACzD,CAAE;UAAAC,QAAA,EAAEA;QAAQ,CAAO,CAAC,GAAGA,QAAQ,EAC9B+B,QAAQ,GAAG,IAAI,GAAGK,UAAU,EAC5Bc,UAAU;MAAA,CACP;IAAC,CACe;EAAC,CACS,CAAC;AAEvC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createContext","useContext","ScreenNavigationContext","ScreenContext","useScreenContext","useScreen","screen","Error"],"sourceRoot":"../../../src","sources":["screen/context.ts"],"mappings":";;AAAA,SAASA,aAAa,EAAEC,UAAU,QAAQ,OAAO;
|
|
1
|
+
{"version":3,"names":["createContext","useContext","ScreenNavigationContext","ScreenContext","useScreenContext","useScreen","screen","Error"],"sourceRoot":"../../../src","sources":["screen/context.ts"],"mappings":";;AAAA,SAASA,aAAa,EAAEC,UAAU,QAAQ,OAAO;AAgBjD,OAAO,MAAMC,uBAAuB,gBAAGF,aAAa,CAA+B,IAAI,CAAC;AAExF,OAAO,MAAMG,aAAa,gBAAGH,aAAa,CAA4B,IAAI,CAAC;AAC3E,OAAO,SAASI,gBAAgBA,CAAA,EAAG;EAAE,OAAOH,UAAU,CAACE,aAAa,CAAC;AAAE;AACvE,OAAO,SAASE,SAASA,CAAA,EAAuB;EAC9C,MAAMC,MAAM,GAAGF,gBAAgB,CAAC,CAAC;EACjC,IAAI,CAACE,MAAM,EAAE,MAAM,IAAIC,KAAK,CAAC,kDAAkD,CAAC;EAChF,OAAOD,MAAM;AACf","ignoreList":[]}
|
|
@@ -48,9 +48,10 @@ export function useScreenScroll({
|
|
|
48
48
|
const onScroll = useComposedEventHandler([ownHandler, handler]);
|
|
49
49
|
return {
|
|
50
50
|
onScroll,
|
|
51
|
+
scrollerId: id,
|
|
51
52
|
contentInsets: {
|
|
52
|
-
top: screen.topInset,
|
|
53
|
-
bottom: screen.bottomInset
|
|
53
|
+
top: screen.contentInsetsHandled ? 0 : screen.topInset,
|
|
54
|
+
bottom: screen.contentInsetsHandled ? 0 : screen.bottomInset
|
|
54
55
|
},
|
|
55
56
|
scrollY: screen.scrollY,
|
|
56
57
|
collapseProgress: screen.collapseProgress
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useCallback","useEffect","useId","runOnJS","useAnimatedScrollHandler","useComposedEventHandler","useReducedMotion","useSharedValue","withSpring","useScreen","useScreenScroll","active","requestedActive","handler","restoration","screen","restoring","restorePending","id","previousY","reducedMotion","activeScrollerId","value","record","event","onScroll","nativeEvent","hasRestoration","ownHandler","y","Math","min","max","contentOffset","contentSize","height","layoutMeasurement","delta","scrollY","target","collapseTarget","collapseProgress","duration","dampingRatio","contentInsets","top","topInset","bottom","bottomInset"],"sourceRoot":"../../../src","sources":["screen/use-screen-scroll.ts"],"mappings":";;AACA,SAASA,WAAW,EAAEC,SAAS,EAAEC,KAAK,QAAQ,OAAO;AACrD,SAASC,OAAO,EAAEC,wBAAwB,EAAEC,uBAAuB,EAAEC,gBAAgB,EAAEC,cAAc,EAAEC,UAAU,QAAQ,yBAAyB;AAClJ,SAASC,SAAS,QAAQ,cAAW;AAGrC;AACA,OAAO,SAASC,eAAeA,CAAC;EAAEC,MAAM,EAAEC,eAAe,GAAG,IAAI;EAAEC,OAAO,GAAG,IAAI;EAAEC;AAAiC,CAAC,GAAG,CAAC,CAAC,EAAE;EACzH,MAAMC,MAAM,GAAGN,SAAS,CAAC,CAAC;EAC1B,MAAME,MAAM,GAAGC,eAAe,IAAIG,MAAM,CAACJ,MAAM;EAC/C,MAAMK,SAAS,GAAGF,WAAW,EAAEG,cAAc,IAAI,KAAK;EACtD,MAAMC,EAAE,GAAGhB,KAAK,CAAC,CAAC;EAClB,MAAMiB,SAAS,GAAGZ,cAAc,CAAC,CAAC,CAAC;EACnC,MAAMa,aAAa,GAAGd,gBAAgB,CAAC,CAAC;EACxCL,SAAS,CAAC,MAAM;IACd,IAAI,CAACU,MAAM,EAAE;IACbI,MAAM,CAACM,gBAAgB,CAACC,KAAK,GAAGJ,EAAE;IAClC,OAAO,MAAM;MAAE,IAAIH,MAAM,CAACM,gBAAgB,CAACC,KAAK,KAAKJ,EAAE,EAAEH,MAAM,CAACM,gBAAgB,CAACC,KAAK,GAAG,IAAI;IAAE,CAAC;EAClG,CAAC,EAAE,CAACX,MAAM,EAAEO,EAAE,EAAEH,MAAM,CAACM,gBAAgB,CAAC,CAAC;EACzC,MAAME,MAAM,GAAGvB,WAAW,CAAEwB,KAAwB,IAAKV,WAAW,EAAEW,QAAQ,CAAC;IAAEC,WAAW,EAAEF;EAAM,CAA4C,CAAC,EAAE,CAACV,WAAW,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C5B,MAAM,EAAEJ,MAAM,EAAEO,EAAE,EAAEC,SAAS,EAAEC,aAAa,EAAEO,cAAc,EAAEJ,MAAM,EAAEP,SAAS,CAAC,CAAC;EACvF,MAAMS,QAAQ,GAAGpB,uBAAuB,CAAC,CAACuB,UAAU,EAAEf,OAAO,CAAC,CAAC;EAC/D,OAAO;IAAEY,QAAQ;IAAEmB,aAAa,EAAE;MAAEC,GAAG,
|
|
1
|
+
{"version":3,"names":["useCallback","useEffect","useId","runOnJS","useAnimatedScrollHandler","useComposedEventHandler","useReducedMotion","useSharedValue","withSpring","useScreen","useScreenScroll","active","requestedActive","handler","restoration","screen","restoring","restorePending","id","previousY","reducedMotion","activeScrollerId","value","record","event","onScroll","nativeEvent","hasRestoration","ownHandler","y","Math","min","max","contentOffset","contentSize","height","layoutMeasurement","delta","scrollY","target","collapseTarget","collapseProgress","duration","dampingRatio","scrollerId","contentInsets","top","contentInsetsHandled","topInset","bottom","bottomInset"],"sourceRoot":"../../../src","sources":["screen/use-screen-scroll.ts"],"mappings":";;AACA,SAASA,WAAW,EAAEC,SAAS,EAAEC,KAAK,QAAQ,OAAO;AACrD,SAASC,OAAO,EAAEC,wBAAwB,EAAEC,uBAAuB,EAAEC,gBAAgB,EAAEC,cAAc,EAAEC,UAAU,QAAQ,yBAAyB;AAClJ,SAASC,SAAS,QAAQ,cAAW;AAGrC;AACA,OAAO,SAASC,eAAeA,CAAC;EAAEC,MAAM,EAAEC,eAAe,GAAG,IAAI;EAAEC,OAAO,GAAG,IAAI;EAAEC;AAAiC,CAAC,GAAG,CAAC,CAAC,EAAE;EACzH,MAAMC,MAAM,GAAGN,SAAS,CAAC,CAAC;EAC1B,MAAME,MAAM,GAAGC,eAAe,IAAIG,MAAM,CAACJ,MAAM;EAC/C,MAAMK,SAAS,GAAGF,WAAW,EAAEG,cAAc,IAAI,KAAK;EACtD,MAAMC,EAAE,GAAGhB,KAAK,CAAC,CAAC;EAClB,MAAMiB,SAAS,GAAGZ,cAAc,C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AAC;MACxB,IAAIb,SAAS,EAAE;MACf,MAAMuB,MAAM,GAAGV,CAAC,GAAG,EAAE,GAAG,CAAC,GAAGQ,KAAK,GAAG,CAAC,GAAG,CAAC,GAAGA,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC,GAAGtB,MAAM,CAACyB,cAAc,CAAClB,KAAK;MACxF,IAAIiB,MAAM,KAAKxB,MAAM,CAACyB,cAAc,CAAClB,KAAK,EAAE;QAC1CP,MAAM,CAACyB,cAAc,CAAClB,KAAK,GAAGiB,MAAM;QACpCxB,MAAM,CAAC0B,gBAAgB,CAACnB,KAAK,GAAGF,aAAa,GAAGmB,MAAM,GAAG/B,UAAU,CAAC+B,MAAM,EAAE;UAAEG,QAAQ,EAAE,GAAG;UAAEC,YAAY,EAAE;QAAE,CAAC,CAAC;MACjH;IACF;EAAE,CAAC,EAAE,CAAC5B,MAAM,EAAEJ,MAAM,EAAEO,EAAE,EAAEC,SAAS,EAAEC,aAAa,EAAEO,cAAc,EAAEJ,MAAM,EAAEP,SAAS,CAAC,CAAC;EACvF,MAAMS,QAAQ,GAAGpB,uBAAuB,CAAC,CAACuB,UAAU,EAAEf,OAAO,CAAC,CAAC;EAC/D,OAAO;IAAEY,QAAQ;IAAEmB,UAAU,EAAE1B,EAAE;IAAE2B,aAAa,EAAE;MAAEC,GAAG,EAAE/B,MAAM,CAACgC,oBAAoB,GAAG,CAAC,GAAGhC,MAAM,CAACiC,QAAQ;MAAEC,MAAM,EAAElC,MAAM,CAACgC,oBAAoB,GAAG,CAAC,GAAGhC,MAAM,CAACmC;IAAY,CAAC;IAAEZ,OAAO,EAAEvB,MAAM,CAACuB,OAAO;IAAEG,gBAAgB,EAAE1B,MAAM,CAAC0B;EAAiB,CAAC;AAClP","ignoreList":[]}
|
|
@@ -8,16 +8,21 @@ import { useScreenScroll } from "./use-screen-scroll.js";
|
|
|
8
8
|
export function useScreenWindowScroll(options = {}) {
|
|
9
9
|
const binding = useScreenScroll(options);
|
|
10
10
|
const screen = useScreen();
|
|
11
|
+
useScreenWindowBinding(screen, options, binding.scrollerId);
|
|
12
|
+
return binding;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/** Internal default listener yields to a registered list/virtualizer. */
|
|
16
|
+
export function useScreenWindowBinding(screen, options = {}, owner = null) {
|
|
11
17
|
const reducedMotion = useReducedMotion();
|
|
12
18
|
useEffect(() => {
|
|
13
19
|
if (!screen.active || options.active === false || typeof window === 'undefined') return;
|
|
14
|
-
const owner = screen.activeScrollerId.value;
|
|
15
20
|
let previous = window.scrollY;
|
|
16
21
|
const update = () => {
|
|
17
|
-
if (screen.activeScrollerId.value !== owner) return;
|
|
18
22
|
const y = Math.max(0, window.scrollY);
|
|
19
23
|
const delta = y - previous;
|
|
20
24
|
previous = y;
|
|
25
|
+
if (screen.activeScrollerId.value !== owner) return;
|
|
21
26
|
screen.scrollY.value = y;
|
|
22
27
|
if (options.restoration?.restorePending) return;
|
|
23
28
|
const target = y < 24 ? 0 : delta > 3 ? 1 : delta < -3 ? 0 : screen.collapseTarget.value;
|
|
@@ -29,12 +34,11 @@ export function useScreenWindowScroll(options = {}) {
|
|
|
29
34
|
});
|
|
30
35
|
}
|
|
31
36
|
};
|
|
32
|
-
screen.scrollY.value = previous;
|
|
37
|
+
if (screen.activeScrollerId.value === owner) screen.scrollY.value = previous;
|
|
33
38
|
window.addEventListener('scroll', update, {
|
|
34
39
|
passive: true
|
|
35
40
|
});
|
|
36
41
|
return () => window.removeEventListener('scroll', update);
|
|
37
|
-
}, [screen, options.active, options.restoration?.restorePending, reducedMotion]);
|
|
38
|
-
return binding;
|
|
42
|
+
}, [screen, options.active, options.restoration?.restorePending, reducedMotion, owner]);
|
|
39
43
|
}
|
|
40
44
|
//# sourceMappingURL=use-screen-window-scroll.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","useReducedMotion","withSpring","useScreen","useScreenScroll","useScreenWindowScroll","options","binding","screen","
|
|
1
|
+
{"version":3,"names":["useEffect","useReducedMotion","withSpring","useScreen","useScreenScroll","useScreenWindowScroll","options","binding","screen","useScreenWindowBinding","scrollerId","owner","reducedMotion","active","window","previous","scrollY","update","y","Math","max","delta","activeScrollerId","value","restoration","restorePending","target","collapseTarget","collapseProgress","duration","dampingRatio","addEventListener","passive","removeEventListener"],"sourceRoot":"../../../src","sources":["screen/use-screen-window-scroll.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,OAAO;AACjC,SAASC,gBAAgB,EAAEC,UAAU,QAAQ,yBAAyB;AACtE,SAASC,SAAS,QAAiC,cAAW;AAC9D,SAASC,eAAe,QAAQ,wBAAqB;AAGrD;AACA,OAAO,SAASC,qBAAqBA,CAACC,OAA4B,GAAG,CAAC,CAAC,EAAE;EACvE,MAAMC,OAAO,GAAGH,eAAe,CAACE,OAAO,CAAC;EACxC,MAAME,MAAM,GAAGL,SAAS,CAAC,CAAC;EAC1BM,sBAAsB,CAACD,MAAM,EAAEF,OAAO,EAAEC,OAAO,CAACG,UAAU,CAAC;EAC3D,OAAOH,OAAO;AAChB;;AAEA;AACA,OAAO,SAASE,sBAAsBA,CAACD,MAA0B,EAAEF,OAA4B,GAAG,CAAC,CAAC,EAAEK,KAAoB,GAAG,IAAI,EAAE;EACjI,MAAMC,aAAa,GAAGX,gBAAgB,CAAC,CAAC;EACxCD,SAAS,CAAC,MAAM;IACd,IAAI,CAACQ,MAAM,CAACK,MAAM,IAAIP,OAAO,CAACO,MAAM,KAAK,KAAK,IAAI,OAAOC,MAAM,KAAK,WAAW,EAAE;IACjF,IAAIC,QAAQ,GAAGD,MAAM,CAACE,OAAO;IAC7B,MAAMC,MAAM,GAAGA,CAAA,KAAM;MACnB,MAAMC,CAAC,GAAGC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAEN,MAAM,CAACE,OAAO,CAAC;MACrC,MAAMK,KAAK,GAAGH,CAAC,GAAGH,QAAQ;MAC1BA,QAAQ,GAAGG,CAAC;MACZ,IAAIV,MAAM,CAACc,gBAAgB,CAACC,KAAK,KAAKZ,KAAK,EAAE;MAC7CH,MAAM,CAACQ,OAAO,CAACO,KAAK,GAAGL,CAAC;MACxB,IAAIZ,OAAO,CAACkB,WAAW,EAAEC,cAAc,EAAE;MACzC,MAAMC,MAAM,GAAGR,CAAC,GAAG,EAAE,GAAG,CAAC,GAAGG,KAAK,GAAG,CAAC,GAAG,CAAC,GAAGA,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC,GAAGb,MAAM,CAACmB,cAAc,CAACJ,KAAK;MACxF,IAAIG,MAAM,KAAKlB,MAAM,CAACmB,cAAc,CAACJ,KAAK,EAAE;QAC1Cf,MAAM,CAACmB,cAAc,CAACJ,KAAK,GAAGG,MAAM;QACpClB,MAAM,CAACoB,gBAAgB,CAACL,KAAK,GAAGX,aAAa,GAAGc,MAAM,GAAGxB,UAAU,CAACwB,MAAM,EAAE;UAAEG,QAAQ,EAAE,GAAG;UAAEC,YAAY,EAAE;QAAE,CAAC,CAAC;MACjH;IACF,CAAC;IACD,IAAItB,MAAM,CAACc,gBAAgB,CAACC,KAAK,KAAKZ,KAAK,EAAEH,MAAM,CAACQ,OAAO,CAACO,KAAK,GAAGR,QAAQ;IAC5ED,MAAM,CAACiB,gBAAgB,CAAC,QAAQ,EAAEd,MAAM,EAAE;MAAEe,OAAO,EAAE;IAAK,CAAC,CAAC;IAC5D,OAAO,MAAMlB,MAAM,CAACmB,mBAAmB,CAAC,QAAQ,EAAEhB,MAAM,CAAC;EAC3D,CAAC,EAAE,CAACT,MAAM,EAAEF,OAAO,CAACO,MAAM,EAAEP,OAAO,CAACkB,WAAW,EAAEC,cAAc,EAAEb,aAAa,EAAED,KAAK,CAAC,CAAC;AACzF","ignoreList":[]}
|
|
@@ -15,6 +15,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
15
15
|
export const SettingsListItem = /*#__PURE__*/memo(function SettingsListItem({
|
|
16
16
|
icon,
|
|
17
17
|
title,
|
|
18
|
+
titleNumberOfLines = 1,
|
|
18
19
|
description,
|
|
19
20
|
value,
|
|
20
21
|
rightElement,
|
|
@@ -55,7 +56,7 @@ export const SettingsListItem = /*#__PURE__*/memo(function SettingsListItem({
|
|
|
55
56
|
style: [styles.title, {
|
|
56
57
|
color: titleColor
|
|
57
58
|
}],
|
|
58
|
-
numberOfLines:
|
|
59
|
+
numberOfLines: titleNumberOfLines === 0 ? undefined : titleNumberOfLines,
|
|
59
60
|
children: title
|
|
60
61
|
}), description ? /*#__PURE__*/_jsx(Text, {
|
|
61
62
|
style: [styles.description, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","memo","View","Text","Pressable","StyleSheet","useTheme","useSurfaceFill","useInteractionState","Card","Divider","RiArrowRightSLine","ChevronRightIcon","SETTINGS_LIST_GROUP_TEST_ID","settingsGroupSurface","jsx","_jsx","jsxs","_jsxs","SettingsListItem","icon","title","description","value","rightElement","showChevron","destructive","onPress","disabled","accessibilityLabel","accessibilityHint","accessibilityRole","leftInset","theme","hasChevron","Boolean","titleColor","colors","error","text","pressedOpacity","state","pressed","onIn","onPressIn","onOut","onPressOut","role","label","content","style","styles","itemContainer","undefined","paddingLeft","testID","children","iconContainer","textContainer","color","numberOfLines","textSecondary","size","fill","textTertiary","android_ripple","border","accessibilityState","opacity","SettingsListGroup","footer","variant","ambientFill","backgroundColor","filteredChildren","Children","toArray","filter","groupContainer","groupTitle","radius","map","child","index","Fragment","length","divider","groupFooter","SettingsListDivider","inset","marginLeft","create","flexDirection","alignItems","paddingRight","paddingVertical","minHeight","gap","width","height","justifyContent","flex","fontSize","fontWeight","lineHeight","marginBottom","textTransform","letterSpacing","paddingHorizontal","paddingTop","paddingBottom"],"sourceRoot":"../../../src","sources":["settings-list/SettingsList.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,QAAQ,OAAO;AACnC,SAASC,IAAI,EAAEC,IAAI,EAAEC,SAAS,EAAEC,UAAU,QAAQ,cAAc;AAEhE,SAASC,QAAQ,QAAQ,uBAAoB;AAC7C,SAASC,cAAc,QAAQ,6BAA0B;AACzD,SAASC,mBAAmB,QAAQ,mCAAgC;AACpE,SAASC,IAAI,QAAQ,kBAAS;AAC9B,SAASC,OAAO,QAAQ,qBAAY;AACpC,SAASC,iBAAiB,IAAIC,gBAAgB,QAAQ,qCAAkC;AACxF,SAASC,2BAA2B,EAAEC,oBAAoB,QAAQ,cAAW;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAO9E;;AAEA,OAAO,MAAMC,gBAAgB,gBAAGlB,IAAI,CAAwB,SAASkB,gBAAgBA,CAAC;EACpFC,IAAI;EACJC,KAAK;EACLC,WAAW;EACXC,KAAK;EACLC,YAAY;EACZC,WAAW;EACXC,WAAW,GAAG,KAAK;EACnBC,OAAO;EACPC,QAAQ,GAAG,KAAK;EAChBC,kBAAkB;EAClBC,iBAAiB;EACjBC,iBAAiB;EACjBC;AACF,CAAC,EAAE;EACD,MAAMC,KAAK,
|
|
1
|
+
{"version":3,"names":["React","memo","View","Text","Pressable","StyleSheet","useTheme","useSurfaceFill","useInteractionState","Card","Divider","RiArrowRightSLine","ChevronRightIcon","SETTINGS_LIST_GROUP_TEST_ID","settingsGroupSurface","jsx","_jsx","jsxs","_jsxs","SettingsListItem","icon","title","titleNumberOfLines","description","value","rightElement","showChevron","destructive","onPress","disabled","accessibilityLabel","accessibilityHint","accessibilityRole","leftInset","theme","hasChevron","Boolean","titleColor","colors","error","text","pressedOpacity","state","pressed","onIn","onPressIn","onOut","onPressOut","role","label","content","style","styles","itemContainer","undefined","paddingLeft","testID","children","iconContainer","textContainer","color","numberOfLines","textSecondary","size","fill","textTertiary","android_ripple","border","accessibilityState","opacity","SettingsListGroup","footer","variant","ambientFill","backgroundColor","filteredChildren","Children","toArray","filter","groupContainer","groupTitle","radius","map","child","index","Fragment","length","divider","groupFooter","SettingsListDivider","inset","marginLeft","create","flexDirection","alignItems","paddingRight","paddingVertical","minHeight","gap","width","height","justifyContent","flex","fontSize","fontWeight","lineHeight","marginBottom","textTransform","letterSpacing","paddingHorizontal","paddingTop","paddingBottom"],"sourceRoot":"../../../src","sources":["settings-list/SettingsList.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,QAAQ,OAAO;AACnC,SAASC,IAAI,EAAEC,IAAI,EAAEC,SAAS,EAAEC,UAAU,QAAQ,cAAc;AAEhE,SAASC,QAAQ,QAAQ,uBAAoB;AAC7C,SAASC,cAAc,QAAQ,6BAA0B;AACzD,SAASC,mBAAmB,QAAQ,mCAAgC;AACpE,SAASC,IAAI,QAAQ,kBAAS;AAC9B,SAASC,OAAO,QAAQ,qBAAY;AACpC,SAASC,iBAAiB,IAAIC,gBAAgB,QAAQ,qCAAkC;AACxF,SAASC,2BAA2B,EAAEC,oBAAoB,QAAQ,cAAW;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAO9E;;AAEA,OAAO,MAAMC,gBAAgB,gBAAGlB,IAAI,CAAwB,SAASkB,gBAAgBA,CAAC;EACpFC,IAAI;EACJC,KAAK;EACLC,kBAAkB,GAAG,CAAC;EACtBC,WAAW;EACXC,KAAK;EACLC,YAAY;EACZC,WAAW;EACXC,WAAW,GAAG,KAAK;EACnBC,OAAO;EACPC,QAAQ,GAAG,KAAK;EAChBC,kBAAkB;EAClBC,iBAAiB;EACjBC,iBAAiB;EACjBC;AACF,CAAC,EAAE;EACD,MAAMC,KAAK,GAAG5B,QAAQ,CAAC,CAAC;EACxB,MAAM6B,UAAU,GAAGT,WAAW,IAAIU,OAAO,CAACR,OAAO,CAAC;EAClD,MAAMS,UAAU,GAAGV,WAAW,GAAGO,KAAK,CAACI,MAAM,CAACC,KAAK,GAAGL,KAAK,CAACI,MAAM,CAACE,IAAI;EACvE,MAAMC,cAAc,GAAGZ,QAAQ,GAAG,CAAC,GAAG,GAAG;EACzC;EACA;EACA,MAAM;IAAEa,KAAK,EAAEC,O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AE;IACZE,UAAU,EAAE;EACd,CAAC;EACDjF,KAAK,EAAE;IACL+E,QAAQ,EAAE,EAAE;IACZE,UAAU,EAAE;EACd,CAAC;EACD5E,QAAQ,EAAE;IACRwC,OAAO,EAAE;EACX,CAAC;EAED;EACAU,cAAc,EAAE;IACd2B,YAAY,EAAE;EAChB,CAAC;EACD1B,UAAU,EAAE;IACVuB,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBG,aAAa,EAAE,WAAW;IAC1BC,aAAa,EAAE,GAAG;IAClBC,iBAAiB,EAAE,EAAE;IACrBC,UAAU,EAAE,CAAC;IACbC,aAAa,EAAE;EACjB,CAAC;EACDvB,WAAW,EAAE;IACXe,QAAQ,EAAE,EAAE;IACZE,UAAU,EAAE,EAAE;IACdI,iBAAiB,EAAE,EAAE;IACrBC,UAAU,EAAE;EACd,CAAC;EAED;EACA;EACA;EACA;EACAvB,OAAO,EAAE;IACPI,UAAU,EAAE,EAAE;IACdQ,KAAK,EAAE,MAAM;IACb9B,OAAO,EAAE;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { memo, useMemo } from 'react';
|
|
4
|
+
import { View } from 'react-native';
|
|
5
|
+
import { useContainerWidth } from "../hooks/use-container-width.js";
|
|
6
|
+
import { resolveSelectionPaint, SelectionCard } from "../listing-editor/SelectionCard.js";
|
|
7
|
+
import { SegmentedControl, SegmentedControlItem, SegmentedControlItemText } from "../segmented-control/index.js";
|
|
8
|
+
import { StepperRow } from "../stepper/index.js";
|
|
9
|
+
import { TextField, TextFieldHint, TextFieldInput, TextFieldLabel, TextFieldSuffix } from "../text-field/index.js";
|
|
10
|
+
import { Textarea } from "../textarea/index.js";
|
|
11
|
+
import { useTheme } from "../theme/use-theme.js";
|
|
12
|
+
import { Text } from "../typography/index.js";
|
|
13
|
+
import { SHIPMENT_LOAD_KINDS, SHIPMENT_LOAD_LABELS, SHIPMENT_LOAD_SIZES, SHIPMENT_REQUEST_GEOMETRY } from "./constants.js";
|
|
14
|
+
import { joinShipmentName, sanitizeWeight } from "./shared.js";
|
|
15
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
/**
|
|
17
|
+
* What is being moved, how big it is, how heavy and how many.
|
|
18
|
+
*
|
|
19
|
+
* kind the editor's selectable cards, one answer: a 44 icon tile, the
|
|
20
|
+
* kind at `headline-semibold`, what it covers under it, a radio
|
|
21
|
+
* indicator on the right
|
|
22
|
+
* size a `SegmentedControl` of single letters, with the chosen rung's
|
|
23
|
+
* sentence under it — four words never fit in one control at phone
|
|
24
|
+
* width, and a control whose every option carries a sentence is a
|
|
25
|
+
* list, not a segmented control
|
|
26
|
+
* weight a `TextField` with its unit as a `TextFieldSuffix`, beside the
|
|
27
|
+
* quantity from 480 wide and stacked under it below
|
|
28
|
+
* quantity a `StepperRow` from 1
|
|
29
|
+
* notes an auto-resizing `Textarea`, drawn only when asked for
|
|
30
|
+
*
|
|
31
|
+
* **THE VALUE IS ONE OBJECT AND IT ARRIVES WHOLE.** `onValueChange` is called
|
|
32
|
+
* with the next `ShipmentLoad`, never with a patch: a form that merges patches
|
|
33
|
+
* in four places has four chances to drop a field, and this one has none.
|
|
34
|
+
*
|
|
35
|
+
* **THE UNIT IS NOT PART OF THE VALUE.** `weight` holds digits and at most one
|
|
36
|
+
* dot (`sanitizeWeight`), so an app parses a number; the "kg" beside it is
|
|
37
|
+
* drawn, announced, and never stored.
|
|
38
|
+
*
|
|
39
|
+
* Validation is the app's. `errors` is keyed by field and each message sits
|
|
40
|
+
* under its own control, in the error colour — the kind's under the cards.
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
function ShipmentLoadPickerComponent({
|
|
44
|
+
value,
|
|
45
|
+
onValueChange,
|
|
46
|
+
kinds = SHIPMENT_LOAD_KINDS,
|
|
47
|
+
sizes = SHIPMENT_LOAD_SIZES,
|
|
48
|
+
notes = false,
|
|
49
|
+
maxQuantity = 20,
|
|
50
|
+
errors = {},
|
|
51
|
+
labels: labelOverrides,
|
|
52
|
+
disabled = false,
|
|
53
|
+
style,
|
|
54
|
+
testID
|
|
55
|
+
}) {
|
|
56
|
+
const theme = useTheme();
|
|
57
|
+
const paint = useMemo(() => resolveSelectionPaint(theme), [theme]);
|
|
58
|
+
const labels = useMemo(() => ({
|
|
59
|
+
...SHIPMENT_LOAD_LABELS,
|
|
60
|
+
...labelOverrides
|
|
61
|
+
}), [labelOverrides]);
|
|
62
|
+
const {
|
|
63
|
+
width,
|
|
64
|
+
onLayout
|
|
65
|
+
} = useContainerWidth();
|
|
66
|
+
const wide = width === null || width >= SHIPMENT_REQUEST_GEOMETRY.narrowWidth;
|
|
67
|
+
const id = part => testID ? `${testID}-${part}` : undefined;
|
|
68
|
+
const chosenSize = sizes.find(size => size.value === value.size);
|
|
69
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
70
|
+
testID: testID,
|
|
71
|
+
onLayout: onLayout,
|
|
72
|
+
style: [{
|
|
73
|
+
gap: SHIPMENT_REQUEST_GEOMETRY.controlGap
|
|
74
|
+
}, style],
|
|
75
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
76
|
+
style: {
|
|
77
|
+
gap: 8
|
|
78
|
+
},
|
|
79
|
+
children: [/*#__PURE__*/_jsx(TextFieldLabel, {
|
|
80
|
+
children: labels.kind
|
|
81
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
82
|
+
role: "radiogroup",
|
|
83
|
+
accessibilityLabel: labels.kind,
|
|
84
|
+
style: {
|
|
85
|
+
gap: 12
|
|
86
|
+
},
|
|
87
|
+
testID: id('kind'),
|
|
88
|
+
children: kinds.map(kind => /*#__PURE__*/_jsx(SelectionCard, {
|
|
89
|
+
selection: "single",
|
|
90
|
+
selected: value.kind === kind.value,
|
|
91
|
+
onPress: () => {
|
|
92
|
+
if (value.kind !== kind.value) onValueChange({
|
|
93
|
+
...value,
|
|
94
|
+
kind: kind.value
|
|
95
|
+
});
|
|
96
|
+
},
|
|
97
|
+
title: kind.label,
|
|
98
|
+
description: kind.description,
|
|
99
|
+
icon: kind.icon,
|
|
100
|
+
compact: !wide,
|
|
101
|
+
disabled: disabled || kind.disabled === true,
|
|
102
|
+
accessibilityLabel: joinShipmentName([kind.label, kind.description]),
|
|
103
|
+
testID: id(`kind-${kind.value}`)
|
|
104
|
+
}, kind.value))
|
|
105
|
+
}), errors.kind ? /*#__PURE__*/_jsx(TextFieldHint, {
|
|
106
|
+
isInvalid: true,
|
|
107
|
+
children: errors.kind
|
|
108
|
+
}) : null]
|
|
109
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
110
|
+
style: {
|
|
111
|
+
gap: 8
|
|
112
|
+
},
|
|
113
|
+
children: [/*#__PURE__*/_jsx(TextFieldLabel, {
|
|
114
|
+
children: labels.size
|
|
115
|
+
}), /*#__PURE__*/_jsx(SegmentedControl, {
|
|
116
|
+
type: "radio",
|
|
117
|
+
label: labels.size,
|
|
118
|
+
value: value.size ?? '',
|
|
119
|
+
onValueChange: size => {
|
|
120
|
+
if (size !== '') onValueChange({
|
|
121
|
+
...value,
|
|
122
|
+
size
|
|
123
|
+
});
|
|
124
|
+
},
|
|
125
|
+
disabled: disabled,
|
|
126
|
+
style: {
|
|
127
|
+
alignSelf: 'stretch'
|
|
128
|
+
},
|
|
129
|
+
testID: id('size'),
|
|
130
|
+
children: sizes.map(size => /*#__PURE__*/_jsx(SegmentedControlItem, {
|
|
131
|
+
value: size.value,
|
|
132
|
+
disabled: disabled || size.disabled,
|
|
133
|
+
accessibilityLabel: joinShipmentName([size.label, size.detail]),
|
|
134
|
+
testID: id(`size-${size.value}`),
|
|
135
|
+
children: /*#__PURE__*/_jsx(SegmentedControlItemText, {
|
|
136
|
+
children: size.label
|
|
137
|
+
})
|
|
138
|
+
}, size.value))
|
|
139
|
+
}), chosenSize?.detail ? /*#__PURE__*/_jsx(Text, {
|
|
140
|
+
variant: "body-2-regular",
|
|
141
|
+
style: {
|
|
142
|
+
color: paint.textSecondary
|
|
143
|
+
},
|
|
144
|
+
testID: id('size-detail'),
|
|
145
|
+
children: chosenSize.detail
|
|
146
|
+
}) : null, errors.size ? /*#__PURE__*/_jsx(TextFieldHint, {
|
|
147
|
+
isInvalid: true,
|
|
148
|
+
children: errors.size
|
|
149
|
+
}) : null]
|
|
150
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
151
|
+
style: {
|
|
152
|
+
flexDirection: wide ? 'row' : 'column',
|
|
153
|
+
// The stepper has no label above it, so on a wide form the two
|
|
154
|
+
// columns line up on their BOTTOM edge — the field and the counter,
|
|
155
|
+
// not the field and the word above it.
|
|
156
|
+
alignItems: wide ? 'flex-end' : 'stretch',
|
|
157
|
+
gap: SHIPMENT_REQUEST_GEOMETRY.controlGap
|
|
158
|
+
},
|
|
159
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
160
|
+
style: [{
|
|
161
|
+
gap: 8
|
|
162
|
+
}, wide ? {
|
|
163
|
+
width: SHIPMENT_REQUEST_GEOMETRY.weightWidth
|
|
164
|
+
} : null],
|
|
165
|
+
children: [/*#__PURE__*/_jsx(TextFieldLabel, {
|
|
166
|
+
children: labels.weight
|
|
167
|
+
}), /*#__PURE__*/_jsxs(TextField, {
|
|
168
|
+
isInvalid: !!errors.weight,
|
|
169
|
+
disabled: disabled,
|
|
170
|
+
children: [/*#__PURE__*/_jsx(TextFieldInput, {
|
|
171
|
+
label: labels.weight,
|
|
172
|
+
placeholder: null,
|
|
173
|
+
value: value.weight,
|
|
174
|
+
onChangeText: text => onValueChange({
|
|
175
|
+
...value,
|
|
176
|
+
weight: sanitizeWeight(text)
|
|
177
|
+
}),
|
|
178
|
+
keyboardType: "decimal-pad",
|
|
179
|
+
inputMode: "decimal",
|
|
180
|
+
isInvalid: !!errors.weight,
|
|
181
|
+
disabled: disabled,
|
|
182
|
+
testID: id('weight')
|
|
183
|
+
}), /*#__PURE__*/_jsx(TextFieldSuffix, {
|
|
184
|
+
label: labels.weightUnit,
|
|
185
|
+
children: labels.weightUnit
|
|
186
|
+
})]
|
|
187
|
+
}), errors.weight ? /*#__PURE__*/_jsx(TextFieldHint, {
|
|
188
|
+
isInvalid: true,
|
|
189
|
+
children: errors.weight
|
|
190
|
+
}) : null]
|
|
191
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
192
|
+
style: {
|
|
193
|
+
flex: wide ? 1 : undefined,
|
|
194
|
+
minWidth: 0,
|
|
195
|
+
gap: 8
|
|
196
|
+
},
|
|
197
|
+
children: [/*#__PURE__*/_jsx(StepperRow, {
|
|
198
|
+
title: labels.quantity,
|
|
199
|
+
value: value.quantity,
|
|
200
|
+
onValueChange: quantity => onValueChange({
|
|
201
|
+
...value,
|
|
202
|
+
quantity
|
|
203
|
+
}),
|
|
204
|
+
min: 1,
|
|
205
|
+
max: maxQuantity,
|
|
206
|
+
formatValue: labels.quantityValue,
|
|
207
|
+
size: "small",
|
|
208
|
+
disabled: disabled,
|
|
209
|
+
style: {
|
|
210
|
+
paddingTop: 0,
|
|
211
|
+
paddingBottom: 0
|
|
212
|
+
},
|
|
213
|
+
testID: id('quantity')
|
|
214
|
+
}), errors.quantity ? /*#__PURE__*/_jsx(TextFieldHint, {
|
|
215
|
+
isInvalid: true,
|
|
216
|
+
children: errors.quantity
|
|
217
|
+
}) : null]
|
|
218
|
+
})]
|
|
219
|
+
}), notes ? /*#__PURE__*/_jsx(Textarea, {
|
|
220
|
+
label: labels.notes,
|
|
221
|
+
placeholder: labels.notesPlaceholder,
|
|
222
|
+
value: value.notes ?? '',
|
|
223
|
+
onChangeText: text => onValueChange({
|
|
224
|
+
...value,
|
|
225
|
+
notes: text
|
|
226
|
+
}),
|
|
227
|
+
rows: 3,
|
|
228
|
+
autoResize: true,
|
|
229
|
+
maxRows: 6,
|
|
230
|
+
disabled: disabled,
|
|
231
|
+
testID: id('notes')
|
|
232
|
+
}) : null]
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
export const ShipmentLoadPicker = /*#__PURE__*/memo(ShipmentLoadPickerComponent);
|
|
236
|
+
ShipmentLoadPicker.displayName = 'ShipmentLoadPicker';
|
|
237
|
+
//# sourceMappingURL=ShipmentLoadPicker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","memo","useMemo","View","useContainerWidth","resolveSelectionPaint","SelectionCard","SegmentedControl","SegmentedControlItem","SegmentedControlItemText","StepperRow","TextField","TextFieldHint","TextFieldInput","TextFieldLabel","TextFieldSuffix","Textarea","useTheme","Text","SHIPMENT_LOAD_KINDS","SHIPMENT_LOAD_LABELS","SHIPMENT_LOAD_SIZES","SHIPMENT_REQUEST_GEOMETRY","joinShipmentName","sanitizeWeight","jsx","_jsx","jsxs","_jsxs","ShipmentLoadPickerComponent","value","onValueChange","kinds","sizes","notes","maxQuantity","errors","labels","labelOverrides","disabled","style","testID","theme","paint","width","onLayout","wide","narrowWidth","id","part","undefined","chosenSize","find","size","gap","controlGap","children","kind","role","accessibilityLabel","map","selection","selected","onPress","title","label","description","icon","compact","isInvalid","type","alignSelf","detail","variant","color","textSecondary","flexDirection","alignItems","weightWidth","weight","placeholder","onChangeText","text","keyboardType","inputMode","weightUnit","flex","minWidth","quantity","min","max","formatValue","quantityValue","paddingTop","paddingBottom","notesPlaceholder","rows","autoResize","maxRows","ShipmentLoadPicker","displayName"],"sourceRoot":"../../../src","sources":["shipment-request/ShipmentLoadPicker.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,OAAO,QAAQ,OAAO;AAC5C,SAASC,IAAI,QAAQ,cAAc;AAEnC,SAASC,iBAAiB,QAAQ,iCAA8B;AAChE,SAASC,qBAAqB,EAAEC,aAAa,QAAQ,oCAAiC;AACtF,SAASC,gBAAgB,EAAEC,oBAAoB,EAAEC,wBAAwB,QAAQ,+BAAsB;AACvG,SAASC,UAAU,QAAQ,qBAAY;AACvC,SAASC,SAAS,EAAEC,aAAa,EA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'react-native';
|
|
5
|
+
import { Chip } from "../chip/index.js";
|
|
6
|
+
import { SettingsListGroup, SettingsListItem } from "../settings-list/index.js";
|
|
7
|
+
import { Switch } from "../switch/index.js";
|
|
8
|
+
import { TextFieldLabel } from "../text-field/index.js";
|
|
9
|
+
import { useTheme } from "../theme/use-theme.js";
|
|
10
|
+
import { Text } from "../typography/index.js";
|
|
11
|
+
import { SHIPMENT_OPTIONS_LABELS, SHIPMENT_REQUEST_GEOMETRY } from "./constants.js";
|
|
12
|
+
import { joinShipmentName, toggleShipmentExtra } from "./shared.js";
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
+
/**
|
|
15
|
+
* The answers that change what a job costs.
|
|
16
|
+
*
|
|
17
|
+
* Three groups, and the CONTROL is the difference between them:
|
|
18
|
+
*
|
|
19
|
+
* extras independent of each other, so each is a `SettingsListItem` with a
|
|
20
|
+
* `Switch` and its own price at the end of the row. A switch is the
|
|
21
|
+
* control for "and also this"
|
|
22
|
+
* access exactly one is true — a place is on the ground, up stairs, or has a
|
|
23
|
+
* lift — so they are a `radiogroup` of chips, and choosing one
|
|
24
|
+
* unchooses the rest without the user having to
|
|
25
|
+
* window the same, over collection times
|
|
26
|
+
*
|
|
27
|
+
* **A PRICE HERE IS A STRING.** `"+€12.00"`, `"Included"` — drawn where the
|
|
28
|
+
* option is and never added to anything. The running total belongs to
|
|
29
|
+
* `PriceSummary`, which is what `ShipmentRequestForm` puts under this.
|
|
30
|
+
*
|
|
31
|
+
* **A SWITCH DRAWS NO TEXT**, so each one is named with its row's title and its
|
|
32
|
+
* price: the caption beside a switch is a SIBLING on both platforms, and a
|
|
33
|
+
* screen reader that reads only the control announces "switch, off".
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
const TABULAR = {
|
|
37
|
+
fontVariant: ['tabular-nums']
|
|
38
|
+
};
|
|
39
|
+
function ShipmentOptionsListComponent({
|
|
40
|
+
extras,
|
|
41
|
+
selectedExtras = [],
|
|
42
|
+
onExtrasChange,
|
|
43
|
+
accessOptions,
|
|
44
|
+
access = null,
|
|
45
|
+
onAccessChange,
|
|
46
|
+
windows,
|
|
47
|
+
window: windowId = null,
|
|
48
|
+
onWindowChange,
|
|
49
|
+
labels: labelOverrides,
|
|
50
|
+
disabled = false,
|
|
51
|
+
style,
|
|
52
|
+
testID
|
|
53
|
+
}) {
|
|
54
|
+
const theme = useTheme();
|
|
55
|
+
const labels = useMemo(() => ({
|
|
56
|
+
...SHIPMENT_OPTIONS_LABELS,
|
|
57
|
+
...labelOverrides
|
|
58
|
+
}), [labelOverrides]);
|
|
59
|
+
const id = part => testID ? `${testID}-${part}` : undefined;
|
|
60
|
+
const chosen = new Set(selectedExtras);
|
|
61
|
+
const priceText = price => price === undefined ? null : /*#__PURE__*/_jsx(Text, {
|
|
62
|
+
variant: "body-2-medium",
|
|
63
|
+
numberOfLines: 1,
|
|
64
|
+
style: [{
|
|
65
|
+
color: theme.colors.textSecondary
|
|
66
|
+
}, TABULAR],
|
|
67
|
+
children: price
|
|
68
|
+
});
|
|
69
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
70
|
+
testID: testID,
|
|
71
|
+
style: [{
|
|
72
|
+
gap: SHIPMENT_REQUEST_GEOMETRY.controlGap
|
|
73
|
+
}, style],
|
|
74
|
+
children: [extras?.length ? /*#__PURE__*/_jsxs(View, {
|
|
75
|
+
style: {
|
|
76
|
+
gap: 8
|
|
77
|
+
},
|
|
78
|
+
testID: id('extras'),
|
|
79
|
+
children: [/*#__PURE__*/_jsx(TextFieldLabel, {
|
|
80
|
+
children: labels.extras
|
|
81
|
+
}), /*#__PURE__*/_jsx(SettingsListGroup, {
|
|
82
|
+
children: extras.map(extra => {
|
|
83
|
+
const on = chosen.has(extra.key);
|
|
84
|
+
const blocked = disabled || extra.disabled === true;
|
|
85
|
+
const name = joinShipmentName([extra.title, extra.description, extra.price]);
|
|
86
|
+
return /*#__PURE__*/_jsx(SettingsListItem, {
|
|
87
|
+
icon: extra.icon ? /*#__PURE__*/_jsx(extra.icon, {
|
|
88
|
+
width: 20,
|
|
89
|
+
height: 20,
|
|
90
|
+
fill: theme.colors.text
|
|
91
|
+
}) : undefined,
|
|
92
|
+
title: extra.title,
|
|
93
|
+
description: extra.description,
|
|
94
|
+
disabled: blocked
|
|
95
|
+
// The ROW is not the control. A pressable row wrapping a
|
|
96
|
+
// switch is two targets for one answer, and on web the outer
|
|
97
|
+
// one is a button containing a checkbox.
|
|
98
|
+
,
|
|
99
|
+
showChevron: false,
|
|
100
|
+
rightElement: /*#__PURE__*/_jsxs(View, {
|
|
101
|
+
style: {
|
|
102
|
+
flexDirection: 'row',
|
|
103
|
+
alignItems: 'center',
|
|
104
|
+
gap: 10
|
|
105
|
+
},
|
|
106
|
+
children: [priceText(extra.price), /*#__PURE__*/_jsx(Switch, {
|
|
107
|
+
checked: on,
|
|
108
|
+
onCheckedChange: () => onExtrasChange?.(toggleShipmentExtra(extras, selectedExtras, extra.key)),
|
|
109
|
+
disabled: blocked,
|
|
110
|
+
accessibilityLabel: name,
|
|
111
|
+
testID: id(`extra-${extra.key}`)
|
|
112
|
+
})]
|
|
113
|
+
})
|
|
114
|
+
}, extra.key);
|
|
115
|
+
})
|
|
116
|
+
})]
|
|
117
|
+
}) : null, accessOptions?.length ? /*#__PURE__*/_jsxs(View, {
|
|
118
|
+
style: {
|
|
119
|
+
gap: 8
|
|
120
|
+
},
|
|
121
|
+
children: [/*#__PURE__*/_jsx(TextFieldLabel, {
|
|
122
|
+
children: labels.access
|
|
123
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
124
|
+
role: "radiogroup",
|
|
125
|
+
accessibilityLabel: labels.access,
|
|
126
|
+
style: {
|
|
127
|
+
flexDirection: 'row',
|
|
128
|
+
flexWrap: 'wrap',
|
|
129
|
+
gap: SHIPMENT_REQUEST_GEOMETRY.chipGap
|
|
130
|
+
},
|
|
131
|
+
testID: id('access'),
|
|
132
|
+
children: accessOptions.map(option => /*#__PURE__*/_jsx(Chip, {
|
|
133
|
+
role: "radio",
|
|
134
|
+
size: "xl",
|
|
135
|
+
variant: "outlined",
|
|
136
|
+
selected: access === option.value,
|
|
137
|
+
disabled: disabled || option.disabled,
|
|
138
|
+
leadingIcon: option.icon,
|
|
139
|
+
onPress: () => onAccessChange?.(option.value),
|
|
140
|
+
accessibilityLabel: joinShipmentName([option.label, option.price]),
|
|
141
|
+
testID: id(`access-${option.value}`),
|
|
142
|
+
children: joinShipmentName([option.label, option.price], ' · ')
|
|
143
|
+
}, option.value))
|
|
144
|
+
})]
|
|
145
|
+
}) : null, windows?.length ? /*#__PURE__*/_jsxs(View, {
|
|
146
|
+
style: {
|
|
147
|
+
gap: 8
|
|
148
|
+
},
|
|
149
|
+
children: [/*#__PURE__*/_jsx(TextFieldLabel, {
|
|
150
|
+
children: labels.window
|
|
151
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
152
|
+
role: "radiogroup",
|
|
153
|
+
accessibilityLabel: labels.window,
|
|
154
|
+
style: {
|
|
155
|
+
flexDirection: 'row',
|
|
156
|
+
flexWrap: 'wrap',
|
|
157
|
+
gap: SHIPMENT_REQUEST_GEOMETRY.chipGap
|
|
158
|
+
},
|
|
159
|
+
testID: id('window'),
|
|
160
|
+
children: windows.map(option => /*#__PURE__*/_jsx(Chip, {
|
|
161
|
+
role: "radio",
|
|
162
|
+
size: "xl",
|
|
163
|
+
variant: "outlined",
|
|
164
|
+
selected: windowId === option.id,
|
|
165
|
+
disabled: disabled || option.disabled,
|
|
166
|
+
onPress: () => onWindowChange?.(option.id),
|
|
167
|
+
accessibilityLabel: joinShipmentName([option.label, option.price]),
|
|
168
|
+
testID: id(`window-${option.id}`),
|
|
169
|
+
children: joinShipmentName([option.label, option.price], ' · ')
|
|
170
|
+
}, option.id))
|
|
171
|
+
})]
|
|
172
|
+
}) : null]
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
export const ShipmentOptionsList = /*#__PURE__*/memo(ShipmentOptionsListComponent);
|
|
176
|
+
ShipmentOptionsList.displayName = 'ShipmentOptionsList';
|
|
177
|
+
//# sourceMappingURL=ShipmentOptionsList.js.map
|