@oxy.so/bloom 4.0.0 → 4.2.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 +70 -12
- package/docs/bottom-bar.mdx +8 -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/settings-modal.mdx +8 -5
- 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 +25 -3
- package/lib/commonjs/app-shell/AppShellBars.js.map +1 -1
- package/lib/commonjs/app-shell/AppShellEngine.js +872 -672
- 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 +34 -11
- 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/layout/bottom-bar-slot.js +10 -0
- package/lib/commonjs/layout/bottom-bar-slot.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/settings-modal/SettingsModal.js +50 -135
- package/lib/commonjs/settings-modal/SettingsModal.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 +217 -174
- 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 +26 -4
- package/lib/module/app-shell/AppShellBars.js.map +1 -1
- package/lib/module/app-shell/AppShellEngine.js +874 -674
- 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 +35 -12
- 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/layout/bottom-bar-slot.js +7 -0
- package/lib/module/layout/bottom-bar-slot.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/settings-modal/SettingsModal.js +43 -128
- package/lib/module/settings-modal/SettingsModal.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 +217 -174
- 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 +1 -0
- 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 +6 -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/layout/bottom-bar-slot.d.ts +3 -0
- package/lib/typescript/commonjs/layout/bottom-bar-slot.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/settings-modal/SettingsModal.d.ts +1 -1
- package/lib/typescript/commonjs/settings-modal/SettingsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/settings-modal/types.d.ts +4 -2
- package/lib/typescript/commonjs/settings-modal/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 +1 -0
- 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 +6 -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/layout/bottom-bar-slot.d.ts +3 -0
- package/lib/typescript/module/layout/bottom-bar-slot.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/settings-modal/SettingsModal.d.ts +1 -1
- package/lib/typescript/module/settings-modal/SettingsModal.d.ts.map +1 -1
- package/lib/typescript/module/settings-modal/types.d.ts +4 -2
- package/lib/typescript/module/settings-modal/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 +23 -5
- package/src/app-shell/AppShellEngine.tsx +165 -52
- 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 +21 -14
- package/src/bottom-bar/types.ts +6 -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/layout/bottom-bar-slot.ts +4 -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/settings-modal/SettingsModal.tsx +48 -136
- package/src/settings-modal/types.ts +4 -2
- 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 +32 -12
- package/src/sidebar/SidebarItem.tsx +18 -4
- package/src/sidebar/SidebarLogoView.tsx +11 -4
- package/src/sidebar/SidebarModeSwitcher.tsx +17 -5
- package/src/sidebar/SidebarPlanCard.tsx +6 -3
- package/src/sidebar/SidebarPrimaryAction.tsx +32 -0
- package/src/sidebar/SidebarRail.tsx +10 -0
- package/src/sidebar/SidebarRailItem.tsx +2 -0
- package/src/sidebar/SidebarTeamMenu.tsx +5 -2
- package/src/sidebar/SidebarUserMenu.tsx +5 -1
- package/src/sidebar/geometry.ts +22 -0
- package/src/sidebar/metrics.ts +4 -5
- package/src/sidebar/types.ts +20 -2
- package/src/styles/web-view-style.ts +3 -0
- package/src/vehicle-picker/VehiclePicker.tsx +198 -0
- package/src/vehicle-picker/constants.ts +89 -0
- package/src/vehicle-picker/index.ts +15 -0
- package/src/vehicle-picker/shared.ts +27 -0
- package/src/vehicle-picker/types.ts +86 -0
- package/src/vendor-card/VendorCard.tsx +496 -0
- package/src/vendor-card/constants.ts +59 -0
- package/src/vendor-card/index.ts +10 -0
- package/src/vendor-card/shared.ts +123 -0
- package/src/vendor-card/types.ts +115 -0
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ShipmentLoadPicker = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _useContainerWidth = require("../hooks/use-container-width.js");
|
|
10
|
+
var _SelectionCard = require("../listing-editor/SelectionCard.js");
|
|
11
|
+
var _index = require("../segmented-control/index.js");
|
|
12
|
+
var _index2 = require("../stepper/index.js");
|
|
13
|
+
var _index3 = require("../text-field/index.js");
|
|
14
|
+
var _index4 = require("../textarea/index.js");
|
|
15
|
+
var _useTheme = require("../theme/use-theme.js");
|
|
16
|
+
var _index5 = require("../typography/index.js");
|
|
17
|
+
var _constants = require("./constants.js");
|
|
18
|
+
var _shared = require("./shared.js");
|
|
19
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
21
|
+
/**
|
|
22
|
+
* What is being moved, how big it is, how heavy and how many.
|
|
23
|
+
*
|
|
24
|
+
* kind the editor's selectable cards, one answer: a 44 icon tile, the
|
|
25
|
+
* kind at `headline-semibold`, what it covers under it, a radio
|
|
26
|
+
* indicator on the right
|
|
27
|
+
* size a `SegmentedControl` of single letters, with the chosen rung's
|
|
28
|
+
* sentence under it — four words never fit in one control at phone
|
|
29
|
+
* width, and a control whose every option carries a sentence is a
|
|
30
|
+
* list, not a segmented control
|
|
31
|
+
* weight a `TextField` with its unit as a `TextFieldSuffix`, beside the
|
|
32
|
+
* quantity from 480 wide and stacked under it below
|
|
33
|
+
* quantity a `StepperRow` from 1
|
|
34
|
+
* notes an auto-resizing `Textarea`, drawn only when asked for
|
|
35
|
+
*
|
|
36
|
+
* **THE VALUE IS ONE OBJECT AND IT ARRIVES WHOLE.** `onValueChange` is called
|
|
37
|
+
* with the next `ShipmentLoad`, never with a patch: a form that merges patches
|
|
38
|
+
* in four places has four chances to drop a field, and this one has none.
|
|
39
|
+
*
|
|
40
|
+
* **THE UNIT IS NOT PART OF THE VALUE.** `weight` holds digits and at most one
|
|
41
|
+
* dot (`sanitizeWeight`), so an app parses a number; the "kg" beside it is
|
|
42
|
+
* drawn, announced, and never stored.
|
|
43
|
+
*
|
|
44
|
+
* Validation is the app's. `errors` is keyed by field and each message sits
|
|
45
|
+
* under its own control, in the error colour — the kind's under the cards.
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
function ShipmentLoadPickerComponent({
|
|
49
|
+
value,
|
|
50
|
+
onValueChange,
|
|
51
|
+
kinds = _constants.SHIPMENT_LOAD_KINDS,
|
|
52
|
+
sizes = _constants.SHIPMENT_LOAD_SIZES,
|
|
53
|
+
notes = false,
|
|
54
|
+
maxQuantity = 20,
|
|
55
|
+
errors = {},
|
|
56
|
+
labels: labelOverrides,
|
|
57
|
+
disabled = false,
|
|
58
|
+
style,
|
|
59
|
+
testID
|
|
60
|
+
}) {
|
|
61
|
+
const theme = (0, _useTheme.useTheme)();
|
|
62
|
+
const paint = (0, _react.useMemo)(() => (0, _SelectionCard.resolveSelectionPaint)(theme), [theme]);
|
|
63
|
+
const labels = (0, _react.useMemo)(() => ({
|
|
64
|
+
..._constants.SHIPMENT_LOAD_LABELS,
|
|
65
|
+
...labelOverrides
|
|
66
|
+
}), [labelOverrides]);
|
|
67
|
+
const {
|
|
68
|
+
width,
|
|
69
|
+
onLayout
|
|
70
|
+
} = (0, _useContainerWidth.useContainerWidth)();
|
|
71
|
+
const wide = width === null || width >= _constants.SHIPMENT_REQUEST_GEOMETRY.narrowWidth;
|
|
72
|
+
const id = part => testID ? `${testID}-${part}` : undefined;
|
|
73
|
+
const chosenSize = sizes.find(size => size.value === value.size);
|
|
74
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
75
|
+
testID: testID,
|
|
76
|
+
onLayout: onLayout,
|
|
77
|
+
style: [{
|
|
78
|
+
gap: _constants.SHIPMENT_REQUEST_GEOMETRY.controlGap
|
|
79
|
+
}, style],
|
|
80
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
81
|
+
style: {
|
|
82
|
+
gap: 8
|
|
83
|
+
},
|
|
84
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.TextFieldLabel, {
|
|
85
|
+
children: labels.kind
|
|
86
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
87
|
+
role: "radiogroup",
|
|
88
|
+
accessibilityLabel: labels.kind,
|
|
89
|
+
style: {
|
|
90
|
+
gap: 12
|
|
91
|
+
},
|
|
92
|
+
testID: id('kind'),
|
|
93
|
+
children: kinds.map(kind => /*#__PURE__*/(0, _jsxRuntime.jsx)(_SelectionCard.SelectionCard, {
|
|
94
|
+
selection: "single",
|
|
95
|
+
selected: value.kind === kind.value,
|
|
96
|
+
onPress: () => {
|
|
97
|
+
if (value.kind !== kind.value) onValueChange({
|
|
98
|
+
...value,
|
|
99
|
+
kind: kind.value
|
|
100
|
+
});
|
|
101
|
+
},
|
|
102
|
+
title: kind.label,
|
|
103
|
+
description: kind.description,
|
|
104
|
+
icon: kind.icon,
|
|
105
|
+
compact: !wide,
|
|
106
|
+
disabled: disabled || kind.disabled === true,
|
|
107
|
+
accessibilityLabel: (0, _shared.joinShipmentName)([kind.label, kind.description]),
|
|
108
|
+
testID: id(`kind-${kind.value}`)
|
|
109
|
+
}, kind.value))
|
|
110
|
+
}), errors.kind ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.TextFieldHint, {
|
|
111
|
+
isInvalid: true,
|
|
112
|
+
children: errors.kind
|
|
113
|
+
}) : null]
|
|
114
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
115
|
+
style: {
|
|
116
|
+
gap: 8
|
|
117
|
+
},
|
|
118
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.TextFieldLabel, {
|
|
119
|
+
children: labels.size
|
|
120
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.SegmentedControl, {
|
|
121
|
+
type: "radio",
|
|
122
|
+
label: labels.size,
|
|
123
|
+
value: value.size ?? '',
|
|
124
|
+
onValueChange: size => {
|
|
125
|
+
if (size !== '') onValueChange({
|
|
126
|
+
...value,
|
|
127
|
+
size
|
|
128
|
+
});
|
|
129
|
+
},
|
|
130
|
+
disabled: disabled,
|
|
131
|
+
style: {
|
|
132
|
+
alignSelf: 'stretch'
|
|
133
|
+
},
|
|
134
|
+
testID: id('size'),
|
|
135
|
+
children: sizes.map(size => /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.SegmentedControlItem, {
|
|
136
|
+
value: size.value,
|
|
137
|
+
disabled: disabled || size.disabled,
|
|
138
|
+
accessibilityLabel: (0, _shared.joinShipmentName)([size.label, size.detail]),
|
|
139
|
+
testID: id(`size-${size.value}`),
|
|
140
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.SegmentedControlItemText, {
|
|
141
|
+
children: size.label
|
|
142
|
+
})
|
|
143
|
+
}, size.value))
|
|
144
|
+
}), chosenSize?.detail ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index5.Text, {
|
|
145
|
+
variant: "body-2-regular",
|
|
146
|
+
style: {
|
|
147
|
+
color: paint.textSecondary
|
|
148
|
+
},
|
|
149
|
+
testID: id('size-detail'),
|
|
150
|
+
children: chosenSize.detail
|
|
151
|
+
}) : null, errors.size ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.TextFieldHint, {
|
|
152
|
+
isInvalid: true,
|
|
153
|
+
children: errors.size
|
|
154
|
+
}) : null]
|
|
155
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
156
|
+
style: {
|
|
157
|
+
flexDirection: wide ? 'row' : 'column',
|
|
158
|
+
// The stepper has no label above it, so on a wide form the two
|
|
159
|
+
// columns line up on their BOTTOM edge — the field and the counter,
|
|
160
|
+
// not the field and the word above it.
|
|
161
|
+
alignItems: wide ? 'flex-end' : 'stretch',
|
|
162
|
+
gap: _constants.SHIPMENT_REQUEST_GEOMETRY.controlGap
|
|
163
|
+
},
|
|
164
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
165
|
+
style: [{
|
|
166
|
+
gap: 8
|
|
167
|
+
}, wide ? {
|
|
168
|
+
width: _constants.SHIPMENT_REQUEST_GEOMETRY.weightWidth
|
|
169
|
+
} : null],
|
|
170
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.TextFieldLabel, {
|
|
171
|
+
children: labels.weight
|
|
172
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index3.TextField, {
|
|
173
|
+
isInvalid: !!errors.weight,
|
|
174
|
+
disabled: disabled,
|
|
175
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.TextFieldInput, {
|
|
176
|
+
label: labels.weight,
|
|
177
|
+
placeholder: null,
|
|
178
|
+
value: value.weight,
|
|
179
|
+
onChangeText: text => onValueChange({
|
|
180
|
+
...value,
|
|
181
|
+
weight: (0, _shared.sanitizeWeight)(text)
|
|
182
|
+
}),
|
|
183
|
+
keyboardType: "decimal-pad",
|
|
184
|
+
inputMode: "decimal",
|
|
185
|
+
isInvalid: !!errors.weight,
|
|
186
|
+
disabled: disabled,
|
|
187
|
+
testID: id('weight')
|
|
188
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.TextFieldSuffix, {
|
|
189
|
+
label: labels.weightUnit,
|
|
190
|
+
children: labels.weightUnit
|
|
191
|
+
})]
|
|
192
|
+
}), errors.weight ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.TextFieldHint, {
|
|
193
|
+
isInvalid: true,
|
|
194
|
+
children: errors.weight
|
|
195
|
+
}) : null]
|
|
196
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
197
|
+
style: {
|
|
198
|
+
flex: wide ? 1 : undefined,
|
|
199
|
+
minWidth: 0,
|
|
200
|
+
gap: 8
|
|
201
|
+
},
|
|
202
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.StepperRow, {
|
|
203
|
+
title: labels.quantity,
|
|
204
|
+
value: value.quantity,
|
|
205
|
+
onValueChange: quantity => onValueChange({
|
|
206
|
+
...value,
|
|
207
|
+
quantity
|
|
208
|
+
}),
|
|
209
|
+
min: 1,
|
|
210
|
+
max: maxQuantity,
|
|
211
|
+
formatValue: labels.quantityValue,
|
|
212
|
+
size: "small",
|
|
213
|
+
disabled: disabled,
|
|
214
|
+
style: {
|
|
215
|
+
paddingTop: 0,
|
|
216
|
+
paddingBottom: 0
|
|
217
|
+
},
|
|
218
|
+
testID: id('quantity')
|
|
219
|
+
}), errors.quantity ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.TextFieldHint, {
|
|
220
|
+
isInvalid: true,
|
|
221
|
+
children: errors.quantity
|
|
222
|
+
}) : null]
|
|
223
|
+
})]
|
|
224
|
+
}), notes ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.Textarea, {
|
|
225
|
+
label: labels.notes,
|
|
226
|
+
placeholder: labels.notesPlaceholder,
|
|
227
|
+
value: value.notes ?? '',
|
|
228
|
+
onChangeText: text => onValueChange({
|
|
229
|
+
...value,
|
|
230
|
+
notes: text
|
|
231
|
+
}),
|
|
232
|
+
rows: 3,
|
|
233
|
+
autoResize: true,
|
|
234
|
+
maxRows: 6,
|
|
235
|
+
disabled: disabled,
|
|
236
|
+
testID: id('notes')
|
|
237
|
+
}) : null]
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
const ShipmentLoadPicker = exports.ShipmentLoadPicker = /*#__PURE__*/(0, _react.memo)(ShipmentLoadPickerComponent);
|
|
241
|
+
ShipmentLoadPicker.displayName = 'ShipmentLoadPicker';
|
|
242
|
+
//# sourceMappingURL=ShipmentLoadPicker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_useContainerWidth","_SelectionCard","_index","_index2","_index3","_index4","_useTheme","_index5","_constants","_shared","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ShipmentLoadPickerComponent","value","onValueChange","kinds","SHIPMENT_LOAD_KINDS","sizes","SHIPMENT_LOAD_SIZES","notes","maxQuantity","errors","labels","labelOverrides","disabled","style","testID","theme","useTheme","paint","useMemo","resolveSelectionPaint","SHIPMENT_LOAD_LABELS","width","onLayout","useContainerWidth","wide","SHIPMENT_REQUEST_GEOMETRY","narrowWidth","id","part","undefined","chosenSize","find","size","jsxs","View","gap","controlGap","children","jsx","TextFieldLabel","kind","role","accessibilityLabel","map","SelectionCard","selection","selected","onPress","title","label","description","icon","compact","joinShipmentName","TextFieldHint","isInvalid","SegmentedControl","type","alignSelf","SegmentedControlItem","detail","SegmentedControlItemText","Text","variant","color","textSecondary","flexDirection","alignItems","weightWidth","weight","TextField","TextFieldInput","placeholder","onChangeText","text","sanitizeWeight","keyboardType","inputMode","TextFieldSuffix","weightUnit","flex","minWidth","StepperRow","quantity","min","max","formatValue","quantityValue","paddingTop","paddingBottom","Textarea","notesPlaceholder","rows","autoResize","maxRows","ShipmentLoadPicker","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["shipment-request/ShipmentLoadPicker.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,kBAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,G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AE,GAAGD,KAAK;QAAEM,KAAK,EAAEmE;MAAK,CAAC,CAAE;MACjEkB,IAAI,EAAE,CAAE;MACRC,UAAU;MACVC,OAAO,EAAE,CAAE;MACXlF,QAAQ,EAAEA,QAAS;MACnBE,MAAM,EAAEa,EAAE,CAAC,OAAO;IAAE,CACrB,CAAC,GACA,IAAI;EAAA,CACJ,CAAC;AAEX;AAEO,MAAMoE,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,gBAAG,IAAAE,WAAI,EAACjG,2BAA2B,CAAC;AACnE+F,kBAAkB,CAACG,WAAW,GAAG,oBAAoB","ignoreList":[]}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ShipmentOptionsList = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = require("../chip/index.js");
|
|
10
|
+
var _index2 = require("../settings-list/index.js");
|
|
11
|
+
var _index3 = require("../switch/index.js");
|
|
12
|
+
var _index4 = require("../text-field/index.js");
|
|
13
|
+
var _useTheme = require("../theme/use-theme.js");
|
|
14
|
+
var _index5 = require("../typography/index.js");
|
|
15
|
+
var _constants = require("./constants.js");
|
|
16
|
+
var _shared = require("./shared.js");
|
|
17
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
19
|
+
/**
|
|
20
|
+
* The answers that change what a job costs.
|
|
21
|
+
*
|
|
22
|
+
* Three groups, and the CONTROL is the difference between them:
|
|
23
|
+
*
|
|
24
|
+
* extras independent of each other, so each is a `SettingsListItem` with a
|
|
25
|
+
* `Switch` and its own price at the end of the row. A switch is the
|
|
26
|
+
* control for "and also this"
|
|
27
|
+
* access exactly one is true — a place is on the ground, up stairs, or has a
|
|
28
|
+
* lift — so they are a `radiogroup` of chips, and choosing one
|
|
29
|
+
* unchooses the rest without the user having to
|
|
30
|
+
* window the same, over collection times
|
|
31
|
+
*
|
|
32
|
+
* **A PRICE HERE IS A STRING.** `"+€12.00"`, `"Included"` — drawn where the
|
|
33
|
+
* option is and never added to anything. The running total belongs to
|
|
34
|
+
* `PriceSummary`, which is what `ShipmentRequestForm` puts under this.
|
|
35
|
+
*
|
|
36
|
+
* **A SWITCH DRAWS NO TEXT**, so each one is named with its row's title and its
|
|
37
|
+
* price: the caption beside a switch is a SIBLING on both platforms, and a
|
|
38
|
+
* screen reader that reads only the control announces "switch, off".
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
const TABULAR = {
|
|
42
|
+
fontVariant: ['tabular-nums']
|
|
43
|
+
};
|
|
44
|
+
function ShipmentOptionsListComponent({
|
|
45
|
+
extras,
|
|
46
|
+
selectedExtras = [],
|
|
47
|
+
onExtrasChange,
|
|
48
|
+
accessOptions,
|
|
49
|
+
access = null,
|
|
50
|
+
onAccessChange,
|
|
51
|
+
windows,
|
|
52
|
+
window: windowId = null,
|
|
53
|
+
onWindowChange,
|
|
54
|
+
labels: labelOverrides,
|
|
55
|
+
disabled = false,
|
|
56
|
+
style,
|
|
57
|
+
testID
|
|
58
|
+
}) {
|
|
59
|
+
const theme = (0, _useTheme.useTheme)();
|
|
60
|
+
const labels = (0, _react.useMemo)(() => ({
|
|
61
|
+
..._constants.SHIPMENT_OPTIONS_LABELS,
|
|
62
|
+
...labelOverrides
|
|
63
|
+
}), [labelOverrides]);
|
|
64
|
+
const id = part => testID ? `${testID}-${part}` : undefined;
|
|
65
|
+
const chosen = new Set(selectedExtras);
|
|
66
|
+
const priceText = price => price === undefined ? null : /*#__PURE__*/(0, _jsxRuntime.jsx)(_index5.Text, {
|
|
67
|
+
variant: "body-2-medium",
|
|
68
|
+
numberOfLines: 1,
|
|
69
|
+
style: [{
|
|
70
|
+
color: theme.colors.textSecondary
|
|
71
|
+
}, TABULAR],
|
|
72
|
+
children: price
|
|
73
|
+
});
|
|
74
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
75
|
+
testID: testID,
|
|
76
|
+
style: [{
|
|
77
|
+
gap: _constants.SHIPMENT_REQUEST_GEOMETRY.controlGap
|
|
78
|
+
}, style],
|
|
79
|
+
children: [extras?.length ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
80
|
+
style: {
|
|
81
|
+
gap: 8
|
|
82
|
+
},
|
|
83
|
+
testID: id('extras'),
|
|
84
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.TextFieldLabel, {
|
|
85
|
+
children: labels.extras
|
|
86
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.SettingsListGroup, {
|
|
87
|
+
children: extras.map(extra => {
|
|
88
|
+
const on = chosen.has(extra.key);
|
|
89
|
+
const blocked = disabled || extra.disabled === true;
|
|
90
|
+
const name = (0, _shared.joinShipmentName)([extra.title, extra.description, extra.price]);
|
|
91
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.SettingsListItem, {
|
|
92
|
+
icon: extra.icon ? /*#__PURE__*/(0, _jsxRuntime.jsx)(extra.icon, {
|
|
93
|
+
width: 20,
|
|
94
|
+
height: 20,
|
|
95
|
+
fill: theme.colors.text
|
|
96
|
+
}) : undefined,
|
|
97
|
+
title: extra.title,
|
|
98
|
+
description: extra.description,
|
|
99
|
+
disabled: blocked
|
|
100
|
+
// The ROW is not the control. A pressable row wrapping a
|
|
101
|
+
// switch is two targets for one answer, and on web the outer
|
|
102
|
+
// one is a button containing a checkbox.
|
|
103
|
+
,
|
|
104
|
+
showChevron: false,
|
|
105
|
+
rightElement: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
106
|
+
style: {
|
|
107
|
+
flexDirection: 'row',
|
|
108
|
+
alignItems: 'center',
|
|
109
|
+
gap: 10
|
|
110
|
+
},
|
|
111
|
+
children: [priceText(extra.price), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Switch, {
|
|
112
|
+
checked: on,
|
|
113
|
+
onCheckedChange: () => onExtrasChange?.((0, _shared.toggleShipmentExtra)(extras, selectedExtras, extra.key)),
|
|
114
|
+
disabled: blocked,
|
|
115
|
+
accessibilityLabel: name,
|
|
116
|
+
testID: id(`extra-${extra.key}`)
|
|
117
|
+
})]
|
|
118
|
+
})
|
|
119
|
+
}, extra.key);
|
|
120
|
+
})
|
|
121
|
+
})]
|
|
122
|
+
}) : null, accessOptions?.length ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
123
|
+
style: {
|
|
124
|
+
gap: 8
|
|
125
|
+
},
|
|
126
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.TextFieldLabel, {
|
|
127
|
+
children: labels.access
|
|
128
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
129
|
+
role: "radiogroup",
|
|
130
|
+
accessibilityLabel: labels.access,
|
|
131
|
+
style: {
|
|
132
|
+
flexDirection: 'row',
|
|
133
|
+
flexWrap: 'wrap',
|
|
134
|
+
gap: _constants.SHIPMENT_REQUEST_GEOMETRY.chipGap
|
|
135
|
+
},
|
|
136
|
+
testID: id('access'),
|
|
137
|
+
children: accessOptions.map(option => /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Chip, {
|
|
138
|
+
role: "radio",
|
|
139
|
+
size: "xl",
|
|
140
|
+
variant: "outlined",
|
|
141
|
+
selected: access === option.value,
|
|
142
|
+
disabled: disabled || option.disabled,
|
|
143
|
+
leadingIcon: option.icon,
|
|
144
|
+
onPress: () => onAccessChange?.(option.value),
|
|
145
|
+
accessibilityLabel: (0, _shared.joinShipmentName)([option.label, option.price]),
|
|
146
|
+
testID: id(`access-${option.value}`),
|
|
147
|
+
children: (0, _shared.joinShipmentName)([option.label, option.price], ' · ')
|
|
148
|
+
}, option.value))
|
|
149
|
+
})]
|
|
150
|
+
}) : null, windows?.length ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
151
|
+
style: {
|
|
152
|
+
gap: 8
|
|
153
|
+
},
|
|
154
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.TextFieldLabel, {
|
|
155
|
+
children: labels.window
|
|
156
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
157
|
+
role: "radiogroup",
|
|
158
|
+
accessibilityLabel: labels.window,
|
|
159
|
+
style: {
|
|
160
|
+
flexDirection: 'row',
|
|
161
|
+
flexWrap: 'wrap',
|
|
162
|
+
gap: _constants.SHIPMENT_REQUEST_GEOMETRY.chipGap
|
|
163
|
+
},
|
|
164
|
+
testID: id('window'),
|
|
165
|
+
children: windows.map(option => /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Chip, {
|
|
166
|
+
role: "radio",
|
|
167
|
+
size: "xl",
|
|
168
|
+
variant: "outlined",
|
|
169
|
+
selected: windowId === option.id,
|
|
170
|
+
disabled: disabled || option.disabled,
|
|
171
|
+
onPress: () => onWindowChange?.(option.id),
|
|
172
|
+
accessibilityLabel: (0, _shared.joinShipmentName)([option.label, option.price]),
|
|
173
|
+
testID: id(`window-${option.id}`),
|
|
174
|
+
children: (0, _shared.joinShipmentName)([option.label, option.price], ' · ')
|
|
175
|
+
}, option.id))
|
|
176
|
+
})]
|
|
177
|
+
}) : null]
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
const ShipmentOptionsList = exports.ShipmentOptionsList = /*#__PURE__*/(0, _react.memo)(ShipmentOptionsListComponent);
|
|
181
|
+
ShipmentOptionsList.displayName = 'ShipmentOptionsList';
|
|
182
|
+
//# sourceMappingURL=ShipmentOptionsList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_index2","_index3","_index4","_useTheme","_index5","_constants","_shared","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","TABULAR","fontVariant","ShipmentOptionsListComponent","extras","selectedExtras","onExtrasChange","accessOptions","access","onAccessChange","windows","window","windowId","onWindowChange","labels","labelOverrides","disabled","style","testID","theme","useTheme","useMemo","SHIPMENT_OPTIONS_LABELS","id","part","undefined","chosen","Set","priceText","price","jsx","Text","variant","numberOfLines","color","colors","textSecondary","children","jsxs","View","gap","SHIPMENT_REQUEST_GEOMETRY","controlGap","length","TextFieldLabel","SettingsListGroup","map","extra","on","key","blocked","name","joinShipmentName","title","description","SettingsListItem","icon","width","height","fill","text","showChevron","rightElement","flexDirection","alignItems","Switch","checked","onCheckedChange","toggleShipmentExtra","accessibilityLabel","role","flexWrap","chipGap","option","Chip","size","selected","value","leadingIcon","onPress","label","ShipmentOptionsList","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["shipment-request/ShipmentOptionsList.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,UAAA,GAAAR,OAAA;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,EAAEK,EAAE,CAAC,QAAQ,CAAE;QAAAc,QAAA,EAEpB3B,OAAO,CAACoC,GAAG,CAAE2B,MAAM,iBAClB,IAAA5F,WAAA,CAAAiD,GAAA,EAACzD,MAAA,CAAAqG,IAAI;UAEHJ,IAAI,EAAC,OAAO;UACZK,IAAI,EAAC,IAAI;UACT3C,OAAO,EAAC,UAAU;UAClB4C,QAAQ,EAAEhE,QAAQ,KAAK6D,MAAM,CAAClD,EAAG;UACjCP,QAAQ,EAAEA,QAAQ,IAAIyD,MAAM,CAACzD,QAAS;UACtC+D,OAAO,EAAEA,CAAA,KAAMlE,cAAc,GAAG4D,MAAM,CAAClD,EAAE,CAAE;UAC3C8C,kBAAkB,EAAE,IAAAjB,wBAAgB,EAAC,CAACqB,MAAM,CAACO,KAAK,EAAEP,MAAM,CAAC5C,KAAK,CAAC,CAAE;UACnEX,MAAM,EAAEK,EAAE,CAAC,UAAUkD,MAAM,CAAClD,EAAE,EAAE,CAAE;UAAAc,QAAA,EAEjC,IAAAe,wBAAgB,EAAC,CAACqB,MAAM,CAACO,KAAK,EAAEP,MAAM,CAAC5C,KAAK,CAAC,EAAE,KAAK;QAAC,GAVjD4C,MAAM,CAAClD,EAWR,CACP;MAAC,CACE,CAAC;IAAA,CACH,CAAC,GACL,IAAI;EAAA,CACJ,CAAC;AAEX;AAEO,MAAM0D,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,gBAAG,IAAAE,WAAI,EAAChF,4BAA4B,CAAC;AACrE8E,mBAAmB,CAACG,WAAW,GAAG,qBAAqB","ignoreList":[]}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ShipmentRequestForm = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = require("../price-breakdown/index.js");
|
|
10
|
+
var _index2 = require("../route-stops/index.js");
|
|
11
|
+
var _index3 = require("../sortable-media/index.js");
|
|
12
|
+
var _FilterSection = require("../stay-filters/FilterSection.js");
|
|
13
|
+
var _ShipmentLoadPicker = require("./ShipmentLoadPicker.js");
|
|
14
|
+
var _ShipmentOptionsList = require("./ShipmentOptionsList.js");
|
|
15
|
+
var _constants = require("./constants.js");
|
|
16
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
18
|
+
/**
|
|
19
|
+
* Describing a job: where it goes, what is being moved, what it looks like,
|
|
20
|
+
* what changes the price, and what that price currently is.
|
|
21
|
+
*
|
|
22
|
+
* It is the REGISTER a Bloom multi-part form is written in — one column of
|
|
23
|
+
* sections, each a heading over its controls with a hairline under it, no card
|
|
24
|
+
* per section and no step counter. The one decision it makes is the ORDER, and
|
|
25
|
+
* the order is the order of the questions a carrier needs answered:
|
|
26
|
+
*
|
|
27
|
+
* 1 route `RouteStops` — the origin, the destination, the stops between
|
|
28
|
+
* 2 load `ShipmentLoadPicker` — kind, size, weight, quantity, notes
|
|
29
|
+
* 3 photos `SortablePhotoGrid` — drawn only when `photos` is given
|
|
30
|
+
* 4 options `ShipmentOptionsList` — the answers that move the number
|
|
31
|
+
* 5 price `PriceSummary` — last, so the options and the number they move
|
|
32
|
+
* are on one screen
|
|
33
|
+
*
|
|
34
|
+
* **IT DRAWS NOTHING OF ITS OWN.** Every section is an existing Bloom family
|
|
35
|
+
* handed its props unchanged: there is one component that knows what a route
|
|
36
|
+
* looks like, one that knows what a photo grid looks like, one that knows what
|
|
37
|
+
* an itemised price looks like, and a form that redrew any of them would be a
|
|
38
|
+
* copy that drifts. A section whose props are absent is not drawn — a job that
|
|
39
|
+
* needs no photograph should not be asked for one.
|
|
40
|
+
*
|
|
41
|
+
* **THE LAST SECTION HAS NO RULE UNDER IT**, and the footer sits below it with
|
|
42
|
+
* none either: a divider is a separator between two things, and there is
|
|
43
|
+
* nothing after the last one.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
function ShipmentRequestFormComponent({
|
|
47
|
+
route,
|
|
48
|
+
load,
|
|
49
|
+
onLoadChange,
|
|
50
|
+
loadProps,
|
|
51
|
+
photos,
|
|
52
|
+
options,
|
|
53
|
+
price,
|
|
54
|
+
footer,
|
|
55
|
+
labels: labelOverrides,
|
|
56
|
+
disabled = false,
|
|
57
|
+
accessibilityLabel = 'Shipment request',
|
|
58
|
+
style,
|
|
59
|
+
testID
|
|
60
|
+
}) {
|
|
61
|
+
const labels = (0, _react.useMemo)(() => ({
|
|
62
|
+
..._constants.SHIPMENT_REQUEST_LABELS,
|
|
63
|
+
...labelOverrides
|
|
64
|
+
}), [labelOverrides]);
|
|
65
|
+
const id = part => testID ? `${testID}-${part}` : undefined;
|
|
66
|
+
|
|
67
|
+
// Which sections exist, so the LAST one can drop its rule without every
|
|
68
|
+
// section having to know what follows it.
|
|
69
|
+
const sections = [{
|
|
70
|
+
key: 'route',
|
|
71
|
+
title: labels.route,
|
|
72
|
+
description: labels.routeDescription,
|
|
73
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.RouteStops, {
|
|
74
|
+
...route,
|
|
75
|
+
testID: route.testID ?? id('route')
|
|
76
|
+
})
|
|
77
|
+
}, {
|
|
78
|
+
key: 'load',
|
|
79
|
+
title: labels.load,
|
|
80
|
+
description: labels.loadDescription,
|
|
81
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ShipmentLoadPicker.ShipmentLoadPicker, {
|
|
82
|
+
...loadProps,
|
|
83
|
+
value: load,
|
|
84
|
+
onValueChange: onLoadChange,
|
|
85
|
+
disabled: disabled || loadProps?.disabled,
|
|
86
|
+
testID: id('load')
|
|
87
|
+
})
|
|
88
|
+
}];
|
|
89
|
+
if (photos) {
|
|
90
|
+
sections.push({
|
|
91
|
+
key: 'photos',
|
|
92
|
+
title: labels.photos,
|
|
93
|
+
description: labels.photosDescription,
|
|
94
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.SortablePhotoGrid, {
|
|
95
|
+
...photos,
|
|
96
|
+
disabled: disabled || photos.disabled,
|
|
97
|
+
testID: id('photos')
|
|
98
|
+
})
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
if (options) {
|
|
102
|
+
sections.push({
|
|
103
|
+
key: 'options',
|
|
104
|
+
title: labels.options,
|
|
105
|
+
description: labels.optionsDescription,
|
|
106
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ShipmentOptionsList.ShipmentOptionsList, {
|
|
107
|
+
...options,
|
|
108
|
+
disabled: disabled || options.disabled,
|
|
109
|
+
testID: id('options')
|
|
110
|
+
})
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
if (price) {
|
|
114
|
+
sections.push({
|
|
115
|
+
key: 'price',
|
|
116
|
+
title: labels.price,
|
|
117
|
+
description: labels.priceDescription,
|
|
118
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.PriceSummary, {
|
|
119
|
+
...price,
|
|
120
|
+
testID: id('price')
|
|
121
|
+
})
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
125
|
+
testID: testID,
|
|
126
|
+
role: "form",
|
|
127
|
+
accessibilityLabel: accessibilityLabel,
|
|
128
|
+
style: style,
|
|
129
|
+
children: [sections.map((section, index) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FilterSection.FilterSection, {
|
|
130
|
+
title: section.title,
|
|
131
|
+
description: section.description === '' ? undefined : section.description,
|
|
132
|
+
divider: index < sections.length - 1,
|
|
133
|
+
testID: id(`section-${section.key}`),
|
|
134
|
+
children: section.content
|
|
135
|
+
}, section.key)), footer ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
136
|
+
style: {
|
|
137
|
+
paddingTop: 24
|
|
138
|
+
},
|
|
139
|
+
testID: id('footer'),
|
|
140
|
+
children: footer
|
|
141
|
+
}) : null]
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
const ShipmentRequestForm = exports.ShipmentRequestForm = /*#__PURE__*/(0, _react.memo)(ShipmentRequestFormComponent);
|
|
145
|
+
ShipmentRequestForm.displayName = 'ShipmentRequestForm';
|
|
146
|
+
//# sourceMappingURL=ShipmentRequestForm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_index2","_index3","_FilterSection","_ShipmentLoadPicker","_ShipmentOptionsList","_constants","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ShipmentRequestFormComponent","route","load","onLoadChange","loadProps","photos","options","price","footer","labels","labelOverrides","disabled","accessibilityLabel","style","testID","useMemo","SHIPMENT_REQUEST_LABELS","id","part","undefined","sections","key","title","description","routeDescription","content","jsx","RouteStops","loadDescription","ShipmentLoadPicker","value","onValueChange","push","photosDescription","SortablePhotoGrid","optionsDescription","ShipmentOptionsList","priceDescription","PriceSummary","jsxs","View","role","children","map","section","index","FilterSection","divider","length","paddingTop","ShipmentRequestForm","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["shipment-request/ShipmentRequestForm.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,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