@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,235 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
|
|
4
|
+
import type { BloomIconComponent } from '../icons/icon-component';
|
|
5
|
+
import type { PriceSummaryProps } from '../price-breakdown';
|
|
6
|
+
import type { RouteStopsProps } from '../route-stops';
|
|
7
|
+
import type { SortablePhotoGridProps } from '../sortable-media';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* What is being moved.
|
|
11
|
+
*
|
|
12
|
+
* Five kinds, because they are the five that change how a job is PRICED and
|
|
13
|
+
* carried, not because they are a taxonomy of objects: an envelope goes on a
|
|
14
|
+
* bike, furniture needs two people, a pallet needs a tail lift, food needs to
|
|
15
|
+
* arrive warm. "Other" is deliberately absent — a marketplace that cannot name
|
|
16
|
+
* what it is carrying cannot quote it, and the free-text `notes` is where an
|
|
17
|
+
* unusual load is described.
|
|
18
|
+
*/
|
|
19
|
+
export type ShipmentLoadKind = 'parcel' | 'furniture' | 'pallet' | 'envelope' | 'food';
|
|
20
|
+
|
|
21
|
+
/** How big it is, as the four rungs a carrier prices in. */
|
|
22
|
+
export type ShipmentLoadSize = 'small' | 'medium' | 'large' | 'extraLarge';
|
|
23
|
+
|
|
24
|
+
/** Which end of the job an access answer is about. */
|
|
25
|
+
export type ShipmentAccess = 'ground' | 'stairs' | 'lift';
|
|
26
|
+
|
|
27
|
+
export interface ShipmentLoadKindOption {
|
|
28
|
+
value: ShipmentLoadKind;
|
|
29
|
+
/** "Parcel", "Furniture". */
|
|
30
|
+
label: string;
|
|
31
|
+
/** One line under it — "A box, a bag, anything that fits in one pair of hands." */
|
|
32
|
+
description?: string;
|
|
33
|
+
icon?: BloomIconComponent;
|
|
34
|
+
disabled?: boolean;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface ShipmentLoadSizeOption {
|
|
38
|
+
value: ShipmentLoadSize;
|
|
39
|
+
/** The segment's word — "S", "M", "L", "XL". */
|
|
40
|
+
label: string;
|
|
41
|
+
/** A line under the control naming what the CHOSEN size means. */
|
|
42
|
+
detail?: string;
|
|
43
|
+
disabled?: boolean;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/** The job's load, as one value a form owns. */
|
|
47
|
+
export interface ShipmentLoad {
|
|
48
|
+
/** What it is. `null` while nothing has been chosen. */
|
|
49
|
+
kind: ShipmentLoadKind | null;
|
|
50
|
+
/** How big. `null` while nothing has been chosen. */
|
|
51
|
+
size: ShipmentLoadSize | null;
|
|
52
|
+
/**
|
|
53
|
+
* How heavy, as TYPED TEXT with its unit stripped: `"18"`. The picker keeps
|
|
54
|
+
* digits and one separator and nothing else; the unit is drawn beside the
|
|
55
|
+
* field and never stored in the value, so an app parses one number rather
|
|
56
|
+
* than a sentence.
|
|
57
|
+
*/
|
|
58
|
+
weight: string;
|
|
59
|
+
/** How many of them. At least 1. */
|
|
60
|
+
quantity: number;
|
|
61
|
+
/** Anything the pickers cannot say. */
|
|
62
|
+
notes?: string;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/** The picker's copy, all of it localisable. */
|
|
66
|
+
export interface ShipmentLoadPickerLabels {
|
|
67
|
+
/** Over the kind cards. Default `"What are we moving?"`. */
|
|
68
|
+
kind?: string;
|
|
69
|
+
/** Over the size control. Default `"Size"`. */
|
|
70
|
+
size?: string;
|
|
71
|
+
/** The weight field. Default `"Weight"`. */
|
|
72
|
+
weight?: string;
|
|
73
|
+
/** Drawn inside the weight field, after the number. Default `"kg"`. */
|
|
74
|
+
weightUnit?: string;
|
|
75
|
+
/** The quantity stepper. Default `"How many"`. */
|
|
76
|
+
quantity?: string;
|
|
77
|
+
/** The stepper's value. Default `` (n) => n === 1 ? '1 item' : `${n} items` ``. */
|
|
78
|
+
quantityValue?: (quantity: number) => string;
|
|
79
|
+
/** The notes field. Default `"Anything else the carrier should know?"`. */
|
|
80
|
+
notes?: string;
|
|
81
|
+
/** The notes placeholder. Default `"Fragile, a lift code, where to leave it…"`. */
|
|
82
|
+
notesPlaceholder?: string;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/** Validation, keyed by the field it belongs under. The app owns every message. */
|
|
86
|
+
export interface ShipmentLoadErrors {
|
|
87
|
+
kind?: string;
|
|
88
|
+
size?: string;
|
|
89
|
+
weight?: string;
|
|
90
|
+
quantity?: string;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export interface ShipmentLoadPickerProps {
|
|
94
|
+
/** The load. Fully controlled — the picker keeps no value of its own. */
|
|
95
|
+
value: ShipmentLoad;
|
|
96
|
+
/** Called with the WHOLE next load, never a patch. */
|
|
97
|
+
onValueChange: (value: ShipmentLoad) => void;
|
|
98
|
+
/** The kinds, in the order they are drawn. Default {@link SHIPMENT_LOAD_KINDS}. */
|
|
99
|
+
kinds?: readonly ShipmentLoadKindOption[];
|
|
100
|
+
/** The sizes. Default {@link SHIPMENT_LOAD_SIZES}. */
|
|
101
|
+
sizes?: readonly ShipmentLoadSizeOption[];
|
|
102
|
+
/** Draws the notes field. Default `false`. */
|
|
103
|
+
notes?: boolean;
|
|
104
|
+
/** The most the stepper goes to. Default `20`. */
|
|
105
|
+
maxQuantity?: number;
|
|
106
|
+
errors?: ShipmentLoadErrors;
|
|
107
|
+
labels?: ShipmentLoadPickerLabels;
|
|
108
|
+
disabled?: boolean;
|
|
109
|
+
style?: StyleProp<ViewStyle>;
|
|
110
|
+
testID?: string;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* One thing a requester can add to a job that changes what it costs.
|
|
115
|
+
*
|
|
116
|
+
* It is a SWITCH, not a chip: each extra is independent of the others, and a
|
|
117
|
+
* price beside it is what makes the switch worth flipping.
|
|
118
|
+
*/
|
|
119
|
+
export interface ShipmentExtra {
|
|
120
|
+
/** Identifies the extra to `onExtrasChange`, and keys the row. */
|
|
121
|
+
key: string;
|
|
122
|
+
/** "Help loading", "Insurance". */
|
|
123
|
+
title: string;
|
|
124
|
+
/** One line under it — "Two people at both ends." */
|
|
125
|
+
description?: string;
|
|
126
|
+
icon?: BloomIconComponent;
|
|
127
|
+
/**
|
|
128
|
+
* What it adds, PRE-FORMATTED: `"+€12.00"`, `"Included"`. Drawn at the end of
|
|
129
|
+
* the row. Nothing here adds it to anything.
|
|
130
|
+
*/
|
|
131
|
+
price?: string;
|
|
132
|
+
disabled?: boolean;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export interface ShipmentAccessOption {
|
|
136
|
+
value: ShipmentAccess;
|
|
137
|
+
/** "Ground floor", "Stairs", "Lift". */
|
|
138
|
+
label: string;
|
|
139
|
+
icon?: BloomIconComponent;
|
|
140
|
+
/** What it adds, PRE-FORMATTED. Drawn after the label. */
|
|
141
|
+
price?: string;
|
|
142
|
+
disabled?: boolean;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export interface ShipmentTimeWindow {
|
|
146
|
+
/** Identifies the window to `onWindowChange`, and keys the chip. */
|
|
147
|
+
id: string;
|
|
148
|
+
/** "Today, 14:00–16:00", "Tomorrow morning". */
|
|
149
|
+
label: string;
|
|
150
|
+
/** What it adds, PRE-FORMATTED. Drawn after the label. */
|
|
151
|
+
price?: string;
|
|
152
|
+
disabled?: boolean;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/** The options list's copy. */
|
|
156
|
+
export interface ShipmentOptionsLabels {
|
|
157
|
+
/** Over the switch rows. Default `"Extras"`. */
|
|
158
|
+
extras?: string;
|
|
159
|
+
/** Over the access chips. Default `"Access at both ends"`. */
|
|
160
|
+
access?: string;
|
|
161
|
+
/** Over the time windows. Default `"When should it be collected?"`. */
|
|
162
|
+
window?: string;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export interface ShipmentOptionsListProps {
|
|
166
|
+
/** The independent extras, as switch rows. */
|
|
167
|
+
extras?: readonly ShipmentExtra[];
|
|
168
|
+
/** The keys of the extras that are on. */
|
|
169
|
+
selectedExtras?: readonly string[];
|
|
170
|
+
onExtrasChange?: (keys: string[]) => void;
|
|
171
|
+
/** The access answers — a single choice, because one of them is true. */
|
|
172
|
+
accessOptions?: readonly ShipmentAccessOption[];
|
|
173
|
+
access?: ShipmentAccess | null;
|
|
174
|
+
onAccessChange?: (access: ShipmentAccess) => void;
|
|
175
|
+
/** The collection windows — a single choice. */
|
|
176
|
+
windows?: readonly ShipmentTimeWindow[];
|
|
177
|
+
window?: string | null;
|
|
178
|
+
onWindowChange?: (id: string) => void;
|
|
179
|
+
labels?: ShipmentOptionsLabels;
|
|
180
|
+
disabled?: boolean;
|
|
181
|
+
style?: StyleProp<ViewStyle>;
|
|
182
|
+
testID?: string;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/** The form's section headings. */
|
|
186
|
+
export interface ShipmentRequestFormLabels {
|
|
187
|
+
route?: string;
|
|
188
|
+
routeDescription?: string;
|
|
189
|
+
load?: string;
|
|
190
|
+
loadDescription?: string;
|
|
191
|
+
photos?: string;
|
|
192
|
+
photosDescription?: string;
|
|
193
|
+
options?: string;
|
|
194
|
+
optionsDescription?: string;
|
|
195
|
+
price?: string;
|
|
196
|
+
priceDescription?: string;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export interface ShipmentRequestFormProps {
|
|
200
|
+
/**
|
|
201
|
+
* The pickup and the drop-off, handed to `RouteStops` UNCHANGED.
|
|
202
|
+
*
|
|
203
|
+
* The form does not draw a second route: there is one component in Bloom that
|
|
204
|
+
* knows what an origin, a destination and the stops between them look like,
|
|
205
|
+
* and a form that redrew it would be a copy that drifts.
|
|
206
|
+
*/
|
|
207
|
+
route: RouteStopsProps;
|
|
208
|
+
/** The load section. */
|
|
209
|
+
load: ShipmentLoad;
|
|
210
|
+
onLoadChange: (load: ShipmentLoad) => void;
|
|
211
|
+
/** Everything else `ShipmentLoadPicker` takes, minus the value pair. */
|
|
212
|
+
loadProps?: Omit<ShipmentLoadPickerProps, 'value' | 'onValueChange' | 'style' | 'testID'>;
|
|
213
|
+
/**
|
|
214
|
+
* The photos, handed to `SortablePhotoGrid` unchanged. Without it the photos
|
|
215
|
+
* section is not drawn — a job that needs no picture should not be asked for
|
|
216
|
+
* one.
|
|
217
|
+
*/
|
|
218
|
+
photos?: Omit<SortablePhotoGridProps, 'style' | 'testID'>;
|
|
219
|
+
/** The options section. Without it the section is not drawn. */
|
|
220
|
+
options?: Omit<ShipmentOptionsListProps, 'style' | 'testID'>;
|
|
221
|
+
/**
|
|
222
|
+
* The running price, handed to `PriceSummary` unchanged. It sits last, so the
|
|
223
|
+
* options above it and the number they move are on the same screen.
|
|
224
|
+
*/
|
|
225
|
+
price?: Omit<PriceSummaryProps, 'style' | 'testID'>;
|
|
226
|
+
/** The submit row, drawn under the last section with no divider over it. */
|
|
227
|
+
footer?: ReactNode;
|
|
228
|
+
labels?: ShipmentRequestFormLabels;
|
|
229
|
+
/** Dims and stops every control in the form. */
|
|
230
|
+
disabled?: boolean;
|
|
231
|
+
/** Names the form. Default `"Shipment request"`. */
|
|
232
|
+
accessibilityLabel?: string;
|
|
233
|
+
style?: StyleProp<ViewStyle>;
|
|
234
|
+
testID?: string;
|
|
235
|
+
}
|
package/src/sidebar/Sidebar.tsx
CHANGED
|
@@ -28,6 +28,7 @@ import { Z_INDEX } from '../styles/z-index';
|
|
|
28
28
|
import type { WebCssStyle } from '../styles/web-view-style';
|
|
29
29
|
import { ThemeToggle } from '../theme-toggle';
|
|
30
30
|
import { Text, TYPE_SCALE } from '../typography';
|
|
31
|
+
import { resolveSidebarGeometry, SidebarGeometryProvider } from './geometry';
|
|
31
32
|
import { SidebarSizeProvider, SIDEBAR_METRICS } from './metrics';
|
|
32
33
|
import { useSidebarPalette, type SidebarPalette } from './palette';
|
|
33
34
|
import { Collapsible, CollapseProvider, IS_WEB, MORPH_MS, useSidebarWebCss } from './parts';
|
|
@@ -35,6 +36,7 @@ import { SidebarFolder } from './SidebarFolder';
|
|
|
35
36
|
import { SidebarItem } from './SidebarItem';
|
|
36
37
|
import { SidebarModeSwitcher } from './SidebarModeSwitcher';
|
|
37
38
|
import { SidebarPlanCard } from './SidebarPlanCard';
|
|
39
|
+
import { SidebarPrimaryAction } from './SidebarPrimaryAction';
|
|
38
40
|
import { SidebarRail } from './SidebarRail';
|
|
39
41
|
import { SidebarScrollArea } from './SidebarScrollArea';
|
|
40
42
|
import { SidebarTeamMenu } from './SidebarTeamMenu';
|
|
@@ -138,6 +140,8 @@ function SearchField({
|
|
|
138
140
|
|
|
139
141
|
const SidebarPanel: React.FC<SidebarProps> = ({
|
|
140
142
|
items = [],
|
|
143
|
+
primaryAction,
|
|
144
|
+
footer,
|
|
141
145
|
secondaryItems = [],
|
|
142
146
|
modes,
|
|
143
147
|
mode,
|
|
@@ -206,7 +210,8 @@ const SidebarPanel: React.FC<SidebarProps> = ({
|
|
|
206
210
|
|
|
207
211
|
// `fluid` fills its container while expanded; the morph needs a number, so
|
|
208
212
|
// the last expanded width is measured. The collapsed end is the size's own.
|
|
209
|
-
const
|
|
213
|
+
const geometry = useMemo(() => resolveSidebarGeometry(metrics, surface, Boolean(primaryAction), Boolean(tree)), [metrics, surface, primaryAction, tree]);
|
|
214
|
+
const { collapsedWidth, collapsedLane, expandedInset } = geometry;
|
|
210
215
|
const expandedWidth = useSharedValue(metrics.expanded);
|
|
211
216
|
useEffect(() => {
|
|
212
217
|
if (!fluid) expandedWidth.value = metrics.expanded;
|
|
@@ -228,9 +233,15 @@ const SidebarPanel: React.FC<SidebarProps> = ({
|
|
|
228
233
|
};
|
|
229
234
|
}, [progress, expandedWidth, fluid, collapsedWidth, expandedPadding, collapsedPadding]);
|
|
230
235
|
const navInset = useAnimatedStyle(() => {
|
|
231
|
-
const inset =
|
|
236
|
+
const inset = expandedInset * (1 - progress.value);
|
|
232
237
|
return { paddingLeft: inset, paddingRight: inset };
|
|
233
|
-
}, [progress]);
|
|
238
|
+
}, [progress, expandedInset]);
|
|
239
|
+
const searchInset = useAnimatedStyle(() => {
|
|
240
|
+
const start = metrics.row.padding + expandedInset;
|
|
241
|
+
const end = metrics.row.padding;
|
|
242
|
+
const padding = start + (end - start) * progress.value;
|
|
243
|
+
return { paddingLeft: padding, paddingRight: padding, marginLeft: (collapsedLane - metrics.row.square) / 2 * progress.value, marginRight: (collapsedLane - metrics.row.square) / 2 * progress.value };
|
|
244
|
+
}, [progress, metrics.row.square, metrics.row.padding, metrics.row.icon, expandedInset, collapsedLane]);
|
|
234
245
|
const sideBarIconStyle = useAnimatedStyle(
|
|
235
246
|
() => ({ transform: [{ scaleX: 2 * progress.value - 1 }] }),
|
|
236
247
|
[progress],
|
|
@@ -249,11 +260,11 @@ const SidebarPanel: React.FC<SidebarProps> = ({
|
|
|
249
260
|
const p = progress.value;
|
|
250
261
|
return {
|
|
251
262
|
left: `${100 * (1 - p)}%` as `${number}%`,
|
|
252
|
-
width: 20 +
|
|
263
|
+
width: 20 + (collapsedLane - 20) * p,
|
|
253
264
|
top: hasLogo ? 8 + 38 * p : hasAccount ? 6 * (1 - p) : 0,
|
|
254
265
|
transform: [{ translateX: -20 * (1 - p) }],
|
|
255
266
|
};
|
|
256
|
-
}, [progress, hasLogo, hasAccount]);
|
|
267
|
+
}, [progress, hasLogo, hasAccount, collapsedLane]);
|
|
257
268
|
const themeGeometry = useAnimatedStyle(() => ({ height: 40 - 4 * progress.value }), [progress]);
|
|
258
269
|
const themeExpandedStyle = useAnimatedStyle(() => ({ opacity: 1 - progress.value }), [progress]);
|
|
259
270
|
const themeCollapsedStyle = useAnimatedStyle(() => ({ opacity: progress.value }), [progress]);
|
|
@@ -328,6 +339,7 @@ const SidebarPanel: React.FC<SidebarProps> = ({
|
|
|
328
339
|
selected={isSelected}
|
|
329
340
|
collapsed={collapsed}
|
|
330
341
|
onPress={pressFor(item)}
|
|
342
|
+
onLongPress={item.onLongPress}
|
|
331
343
|
testID={`sidebar-item-${item.key}`}
|
|
332
344
|
badge={
|
|
333
345
|
item.badge !== undefined ? (
|
|
@@ -376,7 +388,7 @@ const SidebarPanel: React.FC<SidebarProps> = ({
|
|
|
376
388
|
setSuppressUserHover(expanding);
|
|
377
389
|
};
|
|
378
390
|
|
|
379
|
-
const headerControl = flatMobile ? (
|
|
391
|
+
const headerControl = flatMobile && showSearch ? (
|
|
380
392
|
<View
|
|
381
393
|
ref={searchFieldRef}
|
|
382
394
|
style={{
|
|
@@ -482,12 +494,14 @@ const SidebarPanel: React.FC<SidebarProps> = ({
|
|
|
482
494
|
{
|
|
483
495
|
flexDirection: 'row',
|
|
484
496
|
alignItems: 'center',
|
|
485
|
-
|
|
497
|
+
height: metrics.row.square,
|
|
498
|
+
paddingTop: metrics.row.padding,
|
|
499
|
+
paddingBottom: metrics.row.padding,
|
|
486
500
|
overflow: 'hidden',
|
|
487
501
|
borderRadius: borderRadius.full,
|
|
488
502
|
backgroundColor: searchHover.state ? palette.searchHover : palette.tertiary,
|
|
489
503
|
'--bloom-sidebar-ring': palette.ring,
|
|
490
|
-
} as WebCssStyle, searchGapStyle,
|
|
504
|
+
} as WebCssStyle, searchGapStyle, searchInset,
|
|
491
505
|
]}
|
|
492
506
|
testID="sidebar-search"
|
|
493
507
|
>
|
|
@@ -587,6 +601,7 @@ const SidebarPanel: React.FC<SidebarProps> = ({
|
|
|
587
601
|
|
|
588
602
|
return (
|
|
589
603
|
<SidebarSizeProvider value={size}>
|
|
604
|
+
<SidebarGeometryProvider value={geometry}>
|
|
590
605
|
<CollapseProvider value={progress}>
|
|
591
606
|
<Animated.View
|
|
592
607
|
role="complementary"
|
|
@@ -654,6 +669,7 @@ const SidebarPanel: React.FC<SidebarProps> = ({
|
|
|
654
669
|
<Text variant="body-regular" style={{ paddingLeft: 8, paddingRight: 8, color: palette.textTertiary }}>{noResultsLabel}</Text>
|
|
655
670
|
) : null}
|
|
656
671
|
</SidebarScrollArea>
|
|
672
|
+
{primaryAction ? <SidebarPrimaryAction action={primaryAction} collapsed={collapsed} testID={testID ? `${testID}-primary-action` : undefined} /> : null}
|
|
657
673
|
</View>
|
|
658
674
|
|
|
659
675
|
<View style={{ width: '100%', flexShrink: 0, gap: 12, paddingTop: hasTree ? 12 : 0 }}>
|
|
@@ -666,15 +682,15 @@ const SidebarPanel: React.FC<SidebarProps> = ({
|
|
|
666
682
|
</Animated.View>
|
|
667
683
|
<Animated.View pointerEvents={collapsed ? 'auto' : 'none'} aria-hidden={!collapsed} accessibilityElementsHidden={!collapsed} importantForAccessibility={collapsed ? 'auto' : 'no-hide-descendants'}
|
|
668
684
|
{...(IS_WEB && !collapsed ? { inert: true } : {})}
|
|
669
|
-
style={[{ position: 'absolute', left: 0, top: 0 }, themeCollapsedStyle]}>
|
|
670
|
-
<ThemeToggle collapsed />
|
|
685
|
+
style={[{ position: 'absolute', left: 0, right: 0, top: 0 }, themeCollapsedStyle]}>
|
|
686
|
+
<ThemeToggle collapsed style={{ alignSelf: 'center' }} />
|
|
671
687
|
</Animated.View>
|
|
672
688
|
</Animated.View>
|
|
673
689
|
) : null}
|
|
674
690
|
{shownSecondary.length > 0 ? (
|
|
675
|
-
<View role="navigation" style={{ width: '100%', gap: 4 }}>
|
|
691
|
+
<Animated.View role="navigation" style={[{ width: '100%', gap: 4 }, navInset]}>
|
|
676
692
|
{shownSecondary.map(renderRow)}
|
|
677
|
-
</View>
|
|
693
|
+
</Animated.View>
|
|
678
694
|
) : null}
|
|
679
695
|
{plan ? (
|
|
680
696
|
<SidebarPlanCard
|
|
@@ -691,9 +707,13 @@ const SidebarPanel: React.FC<SidebarProps> = ({
|
|
|
691
707
|
testID="sidebar-team"
|
|
692
708
|
/>
|
|
693
709
|
) : null}
|
|
710
|
+
{footer != null ? <View testID={testID ? `${testID}-footer` : 'sidebar-footer'} style={{ width: '100%', flexShrink: 0 }}>
|
|
711
|
+
{typeof footer === 'function' ? footer({ collapsed }) : footer}
|
|
712
|
+
</View> : null}
|
|
694
713
|
</View>
|
|
695
714
|
</Animated.View>
|
|
696
715
|
</CollapseProvider>
|
|
716
|
+
</SidebarGeometryProvider>
|
|
697
717
|
</SidebarSizeProvider>
|
|
698
718
|
);
|
|
699
719
|
};
|
|
@@ -5,6 +5,7 @@ import Animated, { useAnimatedStyle } from 'react-native-reanimated';
|
|
|
5
5
|
import { useInteractionState } from '../hooks/use-interaction-state';
|
|
6
6
|
import type { WebCssStyle } from '../styles/web-view-style';
|
|
7
7
|
import { Text } from '../typography';
|
|
8
|
+
import { useSidebarGeometry } from './geometry';
|
|
8
9
|
import { useSidebarMetrics } from './metrics';
|
|
9
10
|
import { useSidebarPalette } from './palette';
|
|
10
11
|
import { borderRadius } from '../styles/tokens';
|
|
@@ -25,6 +26,8 @@ import type { SidebarItemProps } from './types';
|
|
|
25
26
|
* The label and badge sit in collapse slots, so the icon stays pinned while the
|
|
26
27
|
* rail morphs. With `href` the row is a link (a real anchor on web).
|
|
27
28
|
*/
|
|
29
|
+
const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
|
|
30
|
+
|
|
28
31
|
const SidebarItemComponent: React.FC<SidebarItemProps> = ({
|
|
29
32
|
icon: Icon,
|
|
30
33
|
label,
|
|
@@ -34,6 +37,7 @@ const SidebarItemComponent: React.FC<SidebarItemProps> = ({
|
|
|
34
37
|
selected = false,
|
|
35
38
|
collapsed = false,
|
|
36
39
|
onPress,
|
|
40
|
+
onLongPress,
|
|
37
41
|
style,
|
|
38
42
|
testID,
|
|
39
43
|
}) => {
|
|
@@ -43,6 +47,11 @@ const SidebarItemComponent: React.FC<SidebarItemProps> = ({
|
|
|
43
47
|
const { state: hovered, onIn, onOut } = useInteractionState();
|
|
44
48
|
const inSidebar = useInSidebar();
|
|
45
49
|
const progress = useSidebarCollapseProgress(collapsed);
|
|
50
|
+
const lane = useSidebarGeometry()?.collapsedLane ?? metrics.row.square;
|
|
51
|
+
const horizontalInset = useAnimatedStyle(() => {
|
|
52
|
+
const margin = (lane - metrics.row.square) / 2 * progress.value;
|
|
53
|
+
return { marginLeft: margin, marginRight: margin };
|
|
54
|
+
}, [progress, lane, metrics.row.square]);
|
|
46
55
|
const itemGap = metrics.row.gap;
|
|
47
56
|
const contentStyle = useAnimatedStyle(() => ({ gap: itemGap * (1 - progress.value) }), [progress, itemGap]);
|
|
48
57
|
const foreground = selected ? palette.selectedForeground : palette.textSecondary;
|
|
@@ -52,7 +61,11 @@ const SidebarItemComponent: React.FC<SidebarItemProps> = ({
|
|
|
52
61
|
alignItems: 'center',
|
|
53
62
|
justifyContent: 'space-between',
|
|
54
63
|
overflow: 'hidden',
|
|
55
|
-
|
|
64
|
+
height: metrics.row.square,
|
|
65
|
+
paddingLeft: metrics.row.padding,
|
|
66
|
+
paddingRight: metrics.row.padding,
|
|
67
|
+
paddingTop: metrics.row.padding,
|
|
68
|
+
paddingBottom: metrics.row.padding,
|
|
56
69
|
borderRadius: borderRadius.full,
|
|
57
70
|
// In a sidebar the row stretches with the panel, which morphs between the
|
|
58
71
|
// size's two widths, so the row's width animates with it; standalone,
|
|
@@ -73,20 +86,21 @@ const SidebarItemComponent: React.FC<SidebarItemProps> = ({
|
|
|
73
86
|
: {};
|
|
74
87
|
|
|
75
88
|
return (
|
|
76
|
-
<
|
|
89
|
+
<AnimatedPressable
|
|
77
90
|
{...webProps}
|
|
78
91
|
role={href ? 'link' : 'button'}
|
|
79
92
|
accessibilityLabel={label}
|
|
80
93
|
accessibilityState={{ selected }}
|
|
81
94
|
onHoverIn={onIn}
|
|
82
95
|
onHoverOut={onOut}
|
|
96
|
+
onLongPress={onLongPress}
|
|
83
97
|
onPress={(event: GestureResponderEvent) => {
|
|
84
98
|
if (!onPress) return;
|
|
85
99
|
// The host navigates (a router, or an action like opening Settings).
|
|
86
100
|
if (IS_WEB && href) event.preventDefault();
|
|
87
101
|
onPress();
|
|
88
102
|
}}
|
|
89
|
-
style={[rowStyle, style]}
|
|
103
|
+
style={[rowStyle, horizontalInset, style]}
|
|
90
104
|
testID={testID}
|
|
91
105
|
>
|
|
92
106
|
<Animated.View style={[{ flexDirection: 'row', alignItems: 'center', minWidth: 0, flexShrink: 1 }, contentStyle]}>
|
|
@@ -100,7 +114,7 @@ const SidebarItemComponent: React.FC<SidebarItemProps> = ({
|
|
|
100
114
|
</Collapsible>
|
|
101
115
|
</Animated.View>
|
|
102
116
|
{badge != null ? <Collapsible collapsed={collapsed}>{badge}</Collapsible> : null}
|
|
103
|
-
</
|
|
117
|
+
</AnimatedPressable>
|
|
104
118
|
);
|
|
105
119
|
};
|
|
106
120
|
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import React, { memo } from 'react';
|
|
2
|
+
import Animated, { useAnimatedStyle } from 'react-native-reanimated';
|
|
3
|
+
import { useSidebarGeometry } from './geometry';
|
|
2
4
|
import { Pressable, View, type GestureResponderEvent } from 'react-native';
|
|
3
5
|
|
|
4
6
|
import type { WebCssStyle } from '../styles/web-view-style';
|
|
5
7
|
import { Text } from '../typography';
|
|
6
8
|
import { useSidebarPalette } from './palette';
|
|
7
|
-
import { Collapsible, IS_WEB, useSidebarWebCss } from './parts';
|
|
9
|
+
import { Collapsible, IS_WEB, useSidebarCollapseProgress, useSidebarWebCss } from './parts';
|
|
8
10
|
import type { SidebarLogoViewProps } from './types';
|
|
9
11
|
|
|
10
12
|
/** The mark's box: the collapsed column's width, and the header row's height. */
|
|
@@ -30,6 +32,11 @@ const SidebarLogoViewComponent: React.FC<SidebarLogoViewProps> = ({
|
|
|
30
32
|
testID,
|
|
31
33
|
}) => {
|
|
32
34
|
const palette = useSidebarPalette();
|
|
35
|
+
const geometry = useSidebarGeometry();
|
|
36
|
+
const progress = useSidebarCollapseProgress(collapsed);
|
|
37
|
+
const expandedLane = geometry?.expandedLane ?? SIDEBAR_LOGO_SIZE;
|
|
38
|
+
const collapsedLane = geometry?.collapsedLane ?? SIDEBAR_LOGO_SIZE;
|
|
39
|
+
const markStyle = useAnimatedStyle(() => ({ width: expandedLane + (collapsedLane - expandedLane) * progress.value }), [progress, expandedLane, collapsedLane]);
|
|
33
40
|
useSidebarWebCss();
|
|
34
41
|
const { icon, wordmark, href, onPress, accessibilityLabel } = logo;
|
|
35
42
|
const label = accessibilityLabel ?? (typeof wordmark === 'string' ? wordmark : undefined);
|
|
@@ -37,12 +44,12 @@ const SidebarLogoViewComponent: React.FC<SidebarLogoViewProps> = ({
|
|
|
37
44
|
const content = (
|
|
38
45
|
<View style={{ flexDirection: 'row', alignItems: 'center', minWidth: 0 }}>
|
|
39
46
|
{icon != null ? (
|
|
40
|
-
<View
|
|
41
|
-
style={{
|
|
47
|
+
<Animated.View
|
|
48
|
+
style={[{ height: SIDEBAR_LOGO_SIZE, alignItems: 'center', justifyContent: 'center', flexShrink: 0 }, markStyle]}
|
|
42
49
|
testID={testID ? `${testID}-icon` : undefined}
|
|
43
50
|
>
|
|
44
51
|
{icon}
|
|
45
|
-
</View>
|
|
52
|
+
</Animated.View>
|
|
46
53
|
) : null}
|
|
47
54
|
{wordmark != null && showWordmark ? (
|
|
48
55
|
<Collapsible collapsed={collapsed}>
|
|
@@ -15,6 +15,7 @@ import { borderRadius } from '../styles/tokens';
|
|
|
15
15
|
import type { WebCssStyle } from '../styles/web-view-style';
|
|
16
16
|
import { Text } from '../typography';
|
|
17
17
|
import { useSidebarPalette } from './palette';
|
|
18
|
+
import { useSidebarGeometry } from './geometry';
|
|
18
19
|
import { useSidebarMetrics } from './metrics';
|
|
19
20
|
import { Collapsible, IS_WEB, useInSidebar, useSidebarCollapseProgress, useSidebarWebCss, webHook } from './parts';
|
|
20
21
|
import type { SidebarMode, SidebarModeSwitcherProps } from './types';
|
|
@@ -48,6 +49,8 @@ function ModeRow({
|
|
|
48
49
|
progress,
|
|
49
50
|
compactSquare,
|
|
50
51
|
compactIcon,
|
|
52
|
+
expandedLane,
|
|
53
|
+
collapsedLane,
|
|
51
54
|
onSelect,
|
|
52
55
|
testID,
|
|
53
56
|
}: {
|
|
@@ -57,6 +60,8 @@ function ModeRow({
|
|
|
57
60
|
progress: SharedValue<number>;
|
|
58
61
|
compactSquare: number;
|
|
59
62
|
compactIcon: number;
|
|
63
|
+
expandedLane: number;
|
|
64
|
+
collapsedLane: number;
|
|
60
65
|
onSelect: (key: string) => void;
|
|
61
66
|
testID?: string;
|
|
62
67
|
}) {
|
|
@@ -68,11 +73,13 @@ function ModeRow({
|
|
|
68
73
|
const geometry = useAnimatedStyle(() => ({
|
|
69
74
|
height: ROW_HEIGHT + (compactSquare - ROW_HEIGHT) * progress.value,
|
|
70
75
|
gap: 4 * (1 - progress.value),
|
|
71
|
-
|
|
76
|
+
marginLeft: (collapsedLane - compactSquare) / 2 * progress.value,
|
|
77
|
+
marginRight: (collapsedLane - compactSquare) / 2 * progress.value,
|
|
78
|
+
}), [progress, compactSquare, collapsedLane]);
|
|
72
79
|
const iconBox = useAnimatedStyle(() => {
|
|
73
80
|
const side = ROW_HEIGHT + (compactSquare - ROW_HEIGHT) * progress.value;
|
|
74
|
-
return { width:
|
|
75
|
-
}, [progress, compactSquare]);
|
|
81
|
+
return { width: expandedLane + (compactSquare - expandedLane) * progress.value, height: side };
|
|
82
|
+
}, [progress, compactSquare, expandedLane, collapsedLane]);
|
|
76
83
|
const glyphStyle = useAnimatedStyle(() => ({
|
|
77
84
|
transform: [{ scale: 1 + (compactIcon / 18 - 1) * progress.value }],
|
|
78
85
|
}), [progress, compactIcon]);
|
|
@@ -136,6 +143,9 @@ const SidebarModeSwitcherComponent: React.FC<SidebarModeSwitcherProps> = ({
|
|
|
136
143
|
const metrics = useSidebarMetrics();
|
|
137
144
|
const progress = useSidebarCollapseProgress(collapsed);
|
|
138
145
|
const inSidebar = useInSidebar();
|
|
146
|
+
const geometry = useSidebarGeometry();
|
|
147
|
+
const expandedLane = geometry ? geometry.expandedLane - PADDING * 2 : ROW_HEIGHT;
|
|
148
|
+
const collapsedLane = geometry?.collapsedLane ?? metrics.row.square;
|
|
139
149
|
const compactSquare = metrics.row.square;
|
|
140
150
|
const compactIcon = metrics.row.icon;
|
|
141
151
|
// Grow into the panel inset continuously while its content column narrows.
|
|
@@ -156,8 +166,8 @@ const SidebarModeSwitcherComponent: React.FC<SidebarModeSwitcherProps> = ({
|
|
|
156
166
|
}, [index, reducedMotion, selectedPosition]);
|
|
157
167
|
const thumbStyle = useAnimatedStyle(() => {
|
|
158
168
|
const height = ROW_HEIGHT + (compactSquare - ROW_HEIGHT) * progress.value;
|
|
159
|
-
return { height, transform: [{ translateY: selectedPosition.value * (height + ROW_GAP) }] };
|
|
160
|
-
}, [progress, compactSquare, selectedPosition]);
|
|
169
|
+
return { height, left: PADDING + (collapsedLane - compactSquare) / 2 * progress.value, right: PADDING + (collapsedLane - compactSquare) / 2 * progress.value, transform: [{ translateY: selectedPosition.value * (height + ROW_GAP) }] };
|
|
170
|
+
}, [progress, compactSquare, selectedPosition, collapsedLane]);
|
|
161
171
|
|
|
162
172
|
return (
|
|
163
173
|
<Animated.View
|
|
@@ -205,6 +215,8 @@ const SidebarModeSwitcherComponent: React.FC<SidebarModeSwitcherProps> = ({
|
|
|
205
215
|
progress={progress}
|
|
206
216
|
compactSquare={compactSquare}
|
|
207
217
|
compactIcon={compactIcon}
|
|
218
|
+
expandedLane={expandedLane}
|
|
219
|
+
collapsedLane={collapsedLane}
|
|
208
220
|
onSelect={onValueChange}
|
|
209
221
|
testID={testID ? `${testID}-${mode.key}` : undefined}
|
|
210
222
|
/>
|
|
@@ -5,6 +5,7 @@ import Animated, { useAnimatedStyle, useSharedValue } from 'react-native-reanima
|
|
|
5
5
|
import { Button } from '../button';
|
|
6
6
|
import { borderRadius } from '../styles/tokens';
|
|
7
7
|
import { Text } from '../typography';
|
|
8
|
+
import { useSidebarGeometry } from './geometry';
|
|
8
9
|
import { useSidebarPalette } from './palette';
|
|
9
10
|
import { Collapsible, IS_WEB, SidebarAvatarView, useSidebarCollapseProgress, useInSidebar } from './parts';
|
|
10
11
|
import type { SidebarPlanCardProps } from './types';
|
|
@@ -24,13 +25,15 @@ function SidebarPlanCardComponent({ plan, collapsed = false, style, testID }: Si
|
|
|
24
25
|
const palette = useSidebarPalette();
|
|
25
26
|
const progress = useSidebarCollapseProgress(collapsed);
|
|
26
27
|
const inSidebar = useInSidebar();
|
|
28
|
+
const lane = useSidebarGeometry();
|
|
29
|
+
const compactPadding = lane ? Math.max(0, (lane.collapsedLane - 32) / 2) : 2;
|
|
27
30
|
const naturalWidth = useSharedValue(0);
|
|
28
31
|
const geometry = useAnimatedStyle(() => ({
|
|
29
32
|
width: inSidebar ? '100%' : naturalWidth.value > 0 ? naturalWidth.value + (36 - naturalWidth.value) * progress.value : progress.value === 1 ? 36 : '100%',
|
|
30
33
|
height: 56 - 20 * progress.value,
|
|
31
|
-
paddingLeft: 10 -
|
|
32
|
-
paddingRight: 12 -
|
|
33
|
-
}), [progress, inSidebar, naturalWidth]);
|
|
34
|
+
paddingLeft: 10 + (compactPadding - 10) * progress.value,
|
|
35
|
+
paddingRight: 12 + (compactPadding - 12) * progress.value,
|
|
36
|
+
}), [progress, inSidebar, naturalWidth, compactPadding]);
|
|
34
37
|
const fill = useAnimatedStyle(() => ({ opacity: 1 - progress.value }), [progress]);
|
|
35
38
|
const avatar = plan.avatar ?? { initials: plan.name.slice(0, 1).toUpperCase(), color: 'blue' as const };
|
|
36
39
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Fab } from '../fab';
|
|
3
|
+
import Animated, { useAnimatedStyle } from 'react-native-reanimated';
|
|
4
|
+
import { SIDEBAR_ACTION_DIAMETER, useSidebarGeometry } from './geometry';
|
|
5
|
+
import { useSidebarCollapseProgress } from './parts';
|
|
6
|
+
import type { SidebarProps } from './types';
|
|
7
|
+
|
|
8
|
+
/** The sidebar owns placement; Fab owns the extended/collapsed action. */
|
|
9
|
+
export function SidebarPrimaryAction({ action, collapsed = false, rail = false, testID }: {
|
|
10
|
+
action: NonNullable<SidebarProps['primaryAction']>;
|
|
11
|
+
collapsed?: boolean;
|
|
12
|
+
rail?: boolean;
|
|
13
|
+
testID?: string;
|
|
14
|
+
}) {
|
|
15
|
+
const geometry = useSidebarGeometry();
|
|
16
|
+
const progress = useSidebarCollapseProgress(collapsed);
|
|
17
|
+
const expandedInset = geometry?.expandedInset ?? 0;
|
|
18
|
+
const inset = useAnimatedStyle(() => ({ paddingLeft: expandedInset * (1 - progress.value), paddingRight: expandedInset * (1 - progress.value) }), [progress, expandedInset]);
|
|
19
|
+
const diameter = SIDEBAR_ACTION_DIAMETER;
|
|
20
|
+
return <Animated.View style={[{ flexShrink: 0, width: '100%', paddingTop: 12 }, inset]}>
|
|
21
|
+
<Fab
|
|
22
|
+
testID={testID ?? 'sidebar-primary-action'}
|
|
23
|
+
size="md"
|
|
24
|
+
icon={action.icon}
|
|
25
|
+
label={action.label}
|
|
26
|
+
collapsed={rail || collapsed}
|
|
27
|
+
disabled={action.disabled}
|
|
28
|
+
onPress={action.onPress}
|
|
29
|
+
style={{ width: rail ? diameter : '100%', alignSelf: 'center' }}
|
|
30
|
+
/>
|
|
31
|
+
</Animated.View>;
|
|
32
|
+
}
|