@oxy.so/bloom 23.3.0 → 23.3.1
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/admonition.mdx +1 -2
- package/docs/adoption-matrix.mdx +3 -12
- package/docs/bloom-language-modifiers.mdx +9 -48
- package/docs/bloom-language-nodes.mdx +2 -195
- package/docs/bloom-language-tokens.mdx +2 -2
- package/docs/bloom-language.mdx +18 -56
- package/docs/empty-state.mdx +1 -2
- package/docs/fab.mdx +5 -3
- package/docs/field.mdx +1 -1
- package/docs/public-parts.mdx +2 -18
- package/docs/screen.mdx +10 -0
- package/docs/scroll.mdx +7 -0
- package/docs/task-catalog.json +1 -1
- package/docs/task-catalog.mdx +1 -1
- package/lib/commonjs/button/Button.web.js +5 -2
- package/lib/commonjs/button/Button.web.js.map +1 -1
- package/lib/commonjs/button/shared.js.map +1 -1
- package/lib/commonjs/chat-composer/shared.js.map +1 -1
- package/lib/commonjs/chat-people/StoryViewer.js +2 -1
- package/lib/commonjs/chat-people/StoryViewer.js.map +1 -1
- package/lib/commonjs/date-picker/PickerShell.js +2 -1
- package/lib/commonjs/date-picker/PickerShell.js.map +1 -1
- package/lib/commonjs/dialog/DetailDialogMotion.js +10 -4
- package/lib/commonjs/dialog/DetailDialogMotion.js.map +1 -1
- package/lib/commonjs/fab/constants.js +5 -2
- package/lib/commonjs/fab/constants.js.map +1 -1
- package/lib/commonjs/fab/index.js +6 -0
- package/lib/commonjs/fab/index.js.map +1 -1
- package/lib/commonjs/fab/index.web.js +6 -0
- package/lib/commonjs/fab/index.web.js.map +1 -1
- package/lib/commonjs/fab/use-fab-props.js +1 -1
- package/lib/commonjs/fab/use-fab-props.js.map +1 -1
- package/lib/commonjs/field/FieldConstraintScope.js +2 -2
- package/lib/commonjs/floating/lens/lens-button-host.js +2 -1
- package/lib/commonjs/floating/lens/lens-button-host.js.map +1 -1
- package/lib/commonjs/floating/lens/lens-tint.js +19 -0
- package/lib/commonjs/floating/lens/lens-tint.js.map +1 -0
- package/lib/commonjs/floating/lens/use-lens-menu.js +2 -1
- package/lib/commonjs/floating/lens/use-lens-menu.js.map +1 -1
- package/lib/commonjs/index.js +229 -866
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +229 -866
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/listing-actions/ApplicationChecklist.js.map +1 -1
- package/lib/commonjs/locale/translations/ar.js +0 -262
- package/lib/commonjs/locale/translations/ar.js.map +1 -1
- package/lib/commonjs/locale/translations/bn.js +0 -234
- package/lib/commonjs/locale/translations/bn.js.map +1 -1
- package/lib/commonjs/locale/translations/ca.js +0 -249
- package/lib/commonjs/locale/translations/ca.js.map +1 -1
- package/lib/commonjs/locale/translations/de.js +0 -246
- package/lib/commonjs/locale/translations/de.js.map +1 -1
- package/lib/commonjs/locale/translations/es.js +0 -249
- package/lib/commonjs/locale/translations/es.js.map +1 -1
- package/lib/commonjs/locale/translations/fr.js +0 -249
- package/lib/commonjs/locale/translations/fr.js.map +1 -1
- package/lib/commonjs/locale/translations/hi.js +0 -240
- package/lib/commonjs/locale/translations/hi.js.map +1 -1
- package/lib/commonjs/locale/translations/id.js +0 -234
- package/lib/commonjs/locale/translations/id.js.map +1 -1
- package/lib/commonjs/locale/translations/it.js +0 -249
- package/lib/commonjs/locale/translations/it.js.map +1 -1
- package/lib/commonjs/locale/translations/ja.js +0 -234
- package/lib/commonjs/locale/translations/ja.js.map +1 -1
- package/lib/commonjs/locale/translations/pt.js +0 -249
- package/lib/commonjs/locale/translations/pt.js.map +1 -1
- package/lib/commonjs/locale/translations/ru.js +0 -259
- package/lib/commonjs/locale/translations/ru.js.map +1 -1
- package/lib/commonjs/locale/translations/tr.js +0 -238
- package/lib/commonjs/locale/translations/tr.js.map +1 -1
- package/lib/commonjs/locale/translations/zh.js +0 -234
- package/lib/commonjs/locale/translations/zh.js.map +1 -1
- package/lib/commonjs/overlay/Overlay.js +13 -22
- package/lib/commonjs/overlay/Overlay.js.map +1 -1
- package/lib/commonjs/panel-routing/expo-router/StackScene.js +42 -3
- package/lib/commonjs/panel-routing/expo-router/StackScene.js.map +1 -1
- package/lib/commonjs/queue-panel/QueueIconButton.js.map +1 -1
- package/lib/commonjs/screen/index.js +7 -0
- package/lib/commonjs/screen/index.js.map +1 -1
- package/lib/commonjs/screen/index.web.js +7 -0
- package/lib/commonjs/screen/index.web.js.map +1 -1
- package/lib/commonjs/screen/use-screen-entered.js +28 -0
- package/lib/commonjs/screen/use-screen-entered.js.map +1 -0
- package/lib/commonjs/screen/use-screen-scroll.js +21 -2
- package/lib/commonjs/screen/use-screen-scroll.js.map +1 -1
- package/lib/commonjs/sidebar/Sidebar.js +18 -9
- package/lib/commonjs/sidebar/Sidebar.js.map +1 -1
- package/lib/commonjs/tab-pager/expo-router/TabPager.js +18 -13
- package/lib/commonjs/tab-pager/expo-router/TabPager.js.map +1 -1
- package/lib/commonjs/tabs/expo-router/RouterTabs.js.map +1 -1
- package/lib/commonjs/toast/ToastHost.js +1 -0
- package/lib/commonjs/toast/ToastHost.js.map +1 -1
- package/lib/commonjs/toast/ToastHost.native.js +1 -0
- package/lib/commonjs/toast/ToastHost.native.js.map +1 -1
- package/lib/module/button/Button.web.js +6 -3
- package/lib/module/button/Button.web.js.map +1 -1
- package/lib/module/button/shared.js.map +1 -1
- package/lib/module/chat-composer/shared.js.map +1 -1
- package/lib/module/chat-people/StoryViewer.js +1 -2
- package/lib/module/chat-people/StoryViewer.js.map +1 -1
- package/lib/module/date-picker/PickerShell.js +1 -2
- package/lib/module/date-picker/PickerShell.js.map +1 -1
- package/lib/module/dialog/DetailDialogMotion.js +11 -5
- package/lib/module/dialog/DetailDialogMotion.js.map +1 -1
- package/lib/module/fab/constants.js +4 -1
- package/lib/module/fab/constants.js.map +1 -1
- package/lib/module/fab/index.js +1 -1
- package/lib/module/fab/index.js.map +1 -1
- package/lib/module/fab/index.web.js +1 -1
- package/lib/module/fab/index.web.js.map +1 -1
- package/lib/module/fab/use-fab-props.js +2 -2
- package/lib/module/fab/use-fab-props.js.map +1 -1
- package/lib/module/field/FieldConstraintScope.js +2 -2
- package/lib/module/floating/lens/lens-button-host.js +2 -1
- package/lib/module/floating/lens/lens-button-host.js.map +1 -1
- package/lib/module/floating/lens/lens-tint.js +15 -0
- package/lib/module/floating/lens/lens-tint.js.map +1 -0
- package/lib/module/floating/lens/use-lens-menu.js +2 -1
- package/lib/module/floating/lens/use-lens-menu.js.map +1 -1
- package/lib/module/index.js +0 -23
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +0 -23
- package/lib/module/index.web.js.map +1 -1
- package/lib/module/listing-actions/ApplicationChecklist.js.map +1 -1
- package/lib/module/locale/translations/ar.js +0 -262
- package/lib/module/locale/translations/ar.js.map +1 -1
- package/lib/module/locale/translations/bn.js +0 -234
- package/lib/module/locale/translations/bn.js.map +1 -1
- package/lib/module/locale/translations/ca.js +0 -249
- package/lib/module/locale/translations/ca.js.map +1 -1
- package/lib/module/locale/translations/de.js +0 -246
- package/lib/module/locale/translations/de.js.map +1 -1
- package/lib/module/locale/translations/es.js +0 -249
- package/lib/module/locale/translations/es.js.map +1 -1
- package/lib/module/locale/translations/fr.js +0 -249
- package/lib/module/locale/translations/fr.js.map +1 -1
- package/lib/module/locale/translations/hi.js +0 -240
- package/lib/module/locale/translations/hi.js.map +1 -1
- package/lib/module/locale/translations/id.js +0 -234
- package/lib/module/locale/translations/id.js.map +1 -1
- package/lib/module/locale/translations/it.js +0 -249
- package/lib/module/locale/translations/it.js.map +1 -1
- package/lib/module/locale/translations/ja.js +0 -234
- package/lib/module/locale/translations/ja.js.map +1 -1
- package/lib/module/locale/translations/pt.js +0 -249
- package/lib/module/locale/translations/pt.js.map +1 -1
- package/lib/module/locale/translations/ru.js +0 -259
- package/lib/module/locale/translations/ru.js.map +1 -1
- package/lib/module/locale/translations/tr.js +0 -238
- package/lib/module/locale/translations/tr.js.map +1 -1
- package/lib/module/locale/translations/zh.js +0 -234
- package/lib/module/locale/translations/zh.js.map +1 -1
- package/lib/module/overlay/Overlay.js +13 -22
- package/lib/module/overlay/Overlay.js.map +1 -1
- package/lib/module/panel-routing/expo-router/StackScene.js +42 -4
- package/lib/module/panel-routing/expo-router/StackScene.js.map +1 -1
- package/lib/module/queue-panel/QueueIconButton.js.map +1 -1
- package/lib/module/screen/index.js +1 -0
- package/lib/module/screen/index.js.map +1 -1
- package/lib/module/screen/index.web.js +1 -0
- package/lib/module/screen/index.web.js.map +1 -1
- package/lib/module/screen/use-screen-entered.js +24 -0
- package/lib/module/screen/use-screen-entered.js.map +1 -0
- package/lib/module/screen/use-screen-scroll.js +21 -2
- package/lib/module/screen/use-screen-scroll.js.map +1 -1
- package/lib/module/sidebar/Sidebar.js +18 -9
- package/lib/module/sidebar/Sidebar.js.map +1 -1
- package/lib/module/tab-pager/expo-router/TabPager.js +19 -14
- package/lib/module/tab-pager/expo-router/TabPager.js.map +1 -1
- package/lib/module/tabs/expo-router/RouterTabs.js.map +1 -1
- package/lib/module/toast/ToastHost.js +1 -0
- package/lib/module/toast/ToastHost.js.map +1 -1
- package/lib/module/toast/ToastHost.native.js +1 -0
- package/lib/module/toast/ToastHost.native.js.map +1 -1
- package/lib/typescript/commonjs/agent-reply/types.d.ts +2 -2
- package/lib/typescript/commonjs/agent-reply/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/badge/types.d.ts +1 -1
- package/lib/typescript/commonjs/badge/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/breadcrumb/types.d.ts +3 -2
- package/lib/typescript/commonjs/breadcrumb/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/Button.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/shared.d.ts +3 -2
- package/lib/typescript/commonjs/button/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/types.d.ts +3 -3
- package/lib/typescript/commonjs/button/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/carousel/types.d.ts +3 -2
- package/lib/typescript/commonjs/carousel/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-composer/shared.d.ts +4 -3
- package/lib/typescript/commonjs/chat-composer/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-composer/types.d.ts +9 -9
- package/lib/typescript/commonjs/chat-composer/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-people/StoryViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/date-picker/PickerShell.d.ts +2 -2
- package/lib/typescript/commonjs/date-picker/PickerShell.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/DetailDialogMotion.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/fab/constants.d.ts +3 -1
- package/lib/typescript/commonjs/fab/constants.d.ts.map +1 -1
- package/lib/typescript/commonjs/fab/index.d.ts +1 -1
- package/lib/typescript/commonjs/fab/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/fab/index.web.d.ts +1 -1
- package/lib/typescript/commonjs/fab/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/fab/types.d.ts +2 -2
- package/lib/typescript/commonjs/fab/use-fab-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/field/FieldConstraintScope.d.ts +2 -2
- package/lib/typescript/commonjs/floating/lens/lens-button-host.d.ts.map +1 -1
- package/lib/typescript/commonjs/floating/lens/lens-tint.d.ts +13 -0
- package/lib/typescript/commonjs/floating/lens/lens-tint.d.ts.map +1 -0
- package/lib/typescript/commonjs/floating/lens/use-lens-menu.d.ts.map +1 -1
- package/lib/typescript/commonjs/home-search/types.d.ts +1 -1
- package/lib/typescript/commonjs/home-search/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +0 -21
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.web.d.ts +0 -21
- package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/listing-actions/ApplicationChecklist.d.ts.map +1 -1
- package/lib/typescript/commonjs/listing-actions/types.d.ts +2 -2
- package/lib/typescript/commonjs/listing-actions/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/types.d.ts +0 -14
- package/lib/typescript/commonjs/locale/translations/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/commonjs/overlay/Overlay.d.ts +1 -1
- package/lib/typescript/commonjs/overlay/Overlay.d.ts.map +1 -1
- package/lib/typescript/commonjs/overlay/types.d.ts +10 -0
- package/lib/typescript/commonjs/overlay/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-header/types.d.ts +1 -1
- package/lib/typescript/commonjs/page-header/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/panel-routing/expo-router/StackScene.d.ts +32 -5
- package/lib/typescript/commonjs/panel-routing/expo-router/StackScene.d.ts.map +1 -1
- package/lib/typescript/commonjs/queue-panel/QueueIconButton.d.ts +2 -2
- package/lib/typescript/commonjs/queue-panel/QueueIconButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/index.d.ts +1 -0
- package/lib/typescript/commonjs/screen/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/index.web.d.ts +1 -0
- package/lib/typescript/commonjs/screen/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/use-screen-entered.d.ts +16 -0
- package/lib/typescript/commonjs/screen/use-screen-entered.d.ts.map +1 -0
- package/lib/typescript/commonjs/screen/use-screen-scroll.d.ts +3 -2
- package/lib/typescript/commonjs/screen/use-screen-scroll.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/types.d.ts +9 -9
- package/lib/typescript/commonjs/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/stay-search/types.d.ts +3 -3
- package/lib/typescript/commonjs/stay-search/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/tab-pager/expo-router/TabPager.d.ts.map +1 -1
- package/lib/typescript/commonjs/tabs/expo-router/RouterTabs.d.ts +3 -2
- package/lib/typescript/commonjs/tabs/expo-router/RouterTabs.d.ts.map +1 -1
- package/lib/typescript/commonjs/tabs/types.d.ts +1 -1
- package/lib/typescript/commonjs/tabs/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/toast/ToastHost.native.d.ts.map +1 -1
- package/lib/typescript/module/agent-reply/types.d.ts +2 -2
- package/lib/typescript/module/agent-reply/types.d.ts.map +1 -1
- package/lib/typescript/module/badge/types.d.ts +1 -1
- package/lib/typescript/module/badge/types.d.ts.map +1 -1
- package/lib/typescript/module/breadcrumb/types.d.ts +3 -2
- package/lib/typescript/module/breadcrumb/types.d.ts.map +1 -1
- package/lib/typescript/module/button/Button.web.d.ts.map +1 -1
- package/lib/typescript/module/button/shared.d.ts +3 -2
- package/lib/typescript/module/button/shared.d.ts.map +1 -1
- package/lib/typescript/module/button/types.d.ts +3 -3
- package/lib/typescript/module/button/types.d.ts.map +1 -1
- package/lib/typescript/module/carousel/types.d.ts +3 -2
- package/lib/typescript/module/carousel/types.d.ts.map +1 -1
- package/lib/typescript/module/chat-composer/shared.d.ts +4 -3
- package/lib/typescript/module/chat-composer/shared.d.ts.map +1 -1
- package/lib/typescript/module/chat-composer/types.d.ts +9 -9
- package/lib/typescript/module/chat-composer/types.d.ts.map +1 -1
- package/lib/typescript/module/chat-people/StoryViewer.d.ts.map +1 -1
- package/lib/typescript/module/date-picker/PickerShell.d.ts +2 -2
- package/lib/typescript/module/date-picker/PickerShell.d.ts.map +1 -1
- package/lib/typescript/module/dialog/DetailDialogMotion.d.ts.map +1 -1
- package/lib/typescript/module/dialog/types.d.ts.map +1 -1
- package/lib/typescript/module/fab/constants.d.ts +3 -1
- package/lib/typescript/module/fab/constants.d.ts.map +1 -1
- package/lib/typescript/module/fab/index.d.ts +1 -1
- package/lib/typescript/module/fab/index.d.ts.map +1 -1
- package/lib/typescript/module/fab/index.web.d.ts +1 -1
- package/lib/typescript/module/fab/index.web.d.ts.map +1 -1
- package/lib/typescript/module/fab/types.d.ts +2 -2
- package/lib/typescript/module/fab/use-fab-props.d.ts.map +1 -1
- package/lib/typescript/module/field/FieldConstraintScope.d.ts +2 -2
- package/lib/typescript/module/floating/lens/lens-button-host.d.ts.map +1 -1
- package/lib/typescript/module/floating/lens/lens-tint.d.ts +13 -0
- package/lib/typescript/module/floating/lens/lens-tint.d.ts.map +1 -0
- package/lib/typescript/module/floating/lens/use-lens-menu.d.ts.map +1 -1
- package/lib/typescript/module/home-search/types.d.ts +1 -1
- package/lib/typescript/module/home-search/types.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +0 -21
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/index.web.d.ts +0 -21
- package/lib/typescript/module/index.web.d.ts.map +1 -1
- package/lib/typescript/module/listing-actions/ApplicationChecklist.d.ts.map +1 -1
- package/lib/typescript/module/listing-actions/types.d.ts +2 -2
- package/lib/typescript/module/listing-actions/types.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/types.d.ts +0 -14
- package/lib/typescript/module/locale/translations/types.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/module/overlay/Overlay.d.ts +1 -1
- package/lib/typescript/module/overlay/Overlay.d.ts.map +1 -1
- package/lib/typescript/module/overlay/types.d.ts +10 -0
- package/lib/typescript/module/overlay/types.d.ts.map +1 -1
- package/lib/typescript/module/page-header/types.d.ts +1 -1
- package/lib/typescript/module/page-header/types.d.ts.map +1 -1
- package/lib/typescript/module/panel-routing/expo-router/StackScene.d.ts +32 -5
- package/lib/typescript/module/panel-routing/expo-router/StackScene.d.ts.map +1 -1
- package/lib/typescript/module/queue-panel/QueueIconButton.d.ts +2 -2
- package/lib/typescript/module/queue-panel/QueueIconButton.d.ts.map +1 -1
- package/lib/typescript/module/screen/index.d.ts +1 -0
- package/lib/typescript/module/screen/index.d.ts.map +1 -1
- package/lib/typescript/module/screen/index.web.d.ts +1 -0
- package/lib/typescript/module/screen/index.web.d.ts.map +1 -1
- package/lib/typescript/module/screen/use-screen-entered.d.ts +16 -0
- package/lib/typescript/module/screen/use-screen-entered.d.ts.map +1 -0
- package/lib/typescript/module/screen/use-screen-scroll.d.ts +3 -2
- package/lib/typescript/module/screen/use-screen-scroll.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/types.d.ts +9 -9
- package/lib/typescript/module/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/module/stay-search/types.d.ts +3 -3
- package/lib/typescript/module/stay-search/types.d.ts.map +1 -1
- package/lib/typescript/module/tab-pager/expo-router/TabPager.d.ts.map +1 -1
- package/lib/typescript/module/tabs/expo-router/RouterTabs.d.ts +3 -2
- package/lib/typescript/module/tabs/expo-router/RouterTabs.d.ts.map +1 -1
- package/lib/typescript/module/tabs/types.d.ts +1 -1
- package/lib/typescript/module/tabs/types.d.ts.map +1 -1
- package/lib/typescript/module/toast/ToastHost.native.d.ts.map +1 -1
- package/package.json +1 -120
- package/src/__tests__/support/adoption-matrix.ts +0 -9
- package/src/__tests__/support/public-part-classifications.json +0 -16
- package/src/agent-reply/types.ts +2 -2
- package/src/badge/types.ts +1 -1
- package/src/breadcrumb/types.ts +3 -2
- package/src/button/Button.web.tsx +15 -2
- package/src/button/shared.ts +3 -4
- package/src/button/types.ts +3 -3
- package/src/carousel/types.ts +3 -2
- package/src/chat-composer/shared.ts +4 -4
- package/src/chat-composer/types.ts +9 -9
- package/src/chat-people/StoryViewer.tsx +2 -2
- package/src/date-picker/PickerShell.tsx +2 -2
- package/src/dialog/DetailDialogMotion.tsx +15 -9
- package/src/dialog/types.ts +0 -1
- package/src/fab/constants.ts +4 -1
- package/src/fab/index.ts +1 -1
- package/src/fab/index.web.ts +1 -1
- package/src/fab/types.ts +2 -2
- package/src/fab/use-fab-props.ts +2 -2
- package/src/field/FieldConstraintScope.tsx +2 -2
- package/src/floating/lens/lens-button-host.tsx +2 -1
- package/src/floating/lens/lens-tint.ts +12 -0
- package/src/floating/lens/use-lens-menu.tsx +2 -1
- package/src/home-search/types.ts +1 -1
- package/src/index.ts +0 -195
- package/src/index.web.ts +0 -195
- package/src/listing-actions/ApplicationChecklist.tsx +3 -2
- package/src/listing-actions/types.ts +2 -2
- package/src/locale/translations/ar.ts +0 -232
- package/src/locale/translations/bn.ts +0 -200
- package/src/locale/translations/ca.ts +0 -210
- package/src/locale/translations/de.ts +0 -213
- package/src/locale/translations/es.ts +0 -210
- package/src/locale/translations/fr.ts +0 -214
- package/src/locale/translations/hi.ts +0 -201
- package/src/locale/translations/id.ts +0 -206
- package/src/locale/translations/it.ts +0 -214
- package/src/locale/translations/ja.ts +0 -202
- package/src/locale/translations/pt.ts +0 -220
- package/src/locale/translations/ru.ts +0 -225
- package/src/locale/translations/tr.ts +0 -202
- package/src/locale/translations/types.ts +0 -14
- package/src/locale/translations/zh.ts +0 -200
- package/src/overlay/Overlay.tsx +23 -21
- package/src/overlay/types.ts +10 -0
- package/src/page-header/types.ts +1 -1
- package/src/panel-routing/expo-router/StackScene.tsx +62 -5
- package/src/queue-panel/QueueIconButton.tsx +2 -2
- package/src/screen/index.ts +1 -0
- package/src/screen/index.web.ts +1 -0
- package/src/screen/use-screen-entered.ts +21 -0
- package/src/screen/use-screen-scroll.ts +36 -2
- package/src/sidebar/Sidebar.tsx +17 -11
- package/src/sidebar/types.ts +9 -9
- package/src/stay-search/types.ts +3 -3
- package/src/tab-pager/expo-router/TabPager.tsx +35 -16
- package/src/tabs/expo-router/RouterTabs.tsx +3 -2
- package/src/tabs/types.ts +1 -1
- package/src/toast/ToastHost.native.tsx +5 -1
- package/src/toast/ToastHost.tsx +1 -1
- package/docs/carrier-quote.mdx +0 -121
- package/docs/delivery-slot.mdx +0 -91
- package/docs/earnings.mdx +0 -89
- package/docs/job-board.mdx +0 -82
- package/docs/proof-of-delivery.mdx +0 -86
- package/docs/shipment-request.mdx +0 -139
- package/docs/vehicle-picker.mdx +0 -92
- package/lib/commonjs/carrier-quote/CarrierQuoteCard.js +0 -547
- package/lib/commonjs/carrier-quote/CarrierQuoteCard.js.map +0 -1
- package/lib/commonjs/carrier-quote/CarrierQuoteList.js +0 -274
- package/lib/commonjs/carrier-quote/CarrierQuoteList.js.map +0 -1
- package/lib/commonjs/carrier-quote/constants.js +0 -64
- package/lib/commonjs/carrier-quote/constants.js.map +0 -1
- package/lib/commonjs/carrier-quote/index.js +0 -82
- package/lib/commonjs/carrier-quote/index.js.map +0 -1
- package/lib/commonjs/carrier-quote/messages.js +0 -50
- package/lib/commonjs/carrier-quote/messages.js.map +0 -1
- package/lib/commonjs/carrier-quote/shared.js +0 -150
- package/lib/commonjs/carrier-quote/shared.js.map +0 -1
- package/lib/commonjs/carrier-quote/types.js +0 -6
- package/lib/commonjs/carrier-quote/types.js.map +0 -1
- package/lib/commonjs/delivery-slot/DeliverySlotDays.js +0 -92
- package/lib/commonjs/delivery-slot/DeliverySlotDays.js.map +0 -1
- package/lib/commonjs/delivery-slot/DeliverySlotOption.js +0 -131
- package/lib/commonjs/delivery-slot/DeliverySlotOption.js.map +0 -1
- package/lib/commonjs/delivery-slot/DeliverySlotPicker.js +0 -265
- package/lib/commonjs/delivery-slot/DeliverySlotPicker.js.map +0 -1
- package/lib/commonjs/delivery-slot/constants.js +0 -52
- package/lib/commonjs/delivery-slot/constants.js.map +0 -1
- package/lib/commonjs/delivery-slot/index.js +0 -101
- package/lib/commonjs/delivery-slot/index.js.map +0 -1
- package/lib/commonjs/delivery-slot/messages.js +0 -27
- package/lib/commonjs/delivery-slot/messages.js.map +0 -1
- package/lib/commonjs/delivery-slot/shared.js +0 -60
- package/lib/commonjs/delivery-slot/shared.js.map +0 -1
- package/lib/commonjs/delivery-slot/types.js +0 -6
- package/lib/commonjs/delivery-slot/types.js.map +0 -1
- package/lib/commonjs/earnings/EarningsBreakdown.js +0 -85
- package/lib/commonjs/earnings/EarningsBreakdown.js.map +0 -1
- package/lib/commonjs/earnings/EarningsPayoutRow.js +0 -156
- package/lib/commonjs/earnings/EarningsPayoutRow.js.map +0 -1
- package/lib/commonjs/earnings/EarningsSummary.js +0 -295
- package/lib/commonjs/earnings/EarningsSummary.js.map +0 -1
- package/lib/commonjs/earnings/constants.js +0 -61
- package/lib/commonjs/earnings/constants.js.map +0 -1
- package/lib/commonjs/earnings/index.js +0 -77
- package/lib/commonjs/earnings/index.js.map +0 -1
- package/lib/commonjs/earnings/messages.js +0 -30
- package/lib/commonjs/earnings/messages.js.map +0 -1
- package/lib/commonjs/earnings/shared.js +0 -72
- package/lib/commonjs/earnings/shared.js.map +0 -1
- package/lib/commonjs/earnings/types.js +0 -6
- package/lib/commonjs/earnings/types.js.map +0 -1
- package/lib/commonjs/job-board/JobBoard.js +0 -464
- package/lib/commonjs/job-board/JobBoard.js.map +0 -1
- package/lib/commonjs/job-board/JobCard.js +0 -582
- package/lib/commonjs/job-board/JobCard.js.map +0 -1
- package/lib/commonjs/job-board/constants.js +0 -119
- package/lib/commonjs/job-board/constants.js.map +0 -1
- package/lib/commonjs/job-board/index.js +0 -106
- package/lib/commonjs/job-board/index.js.map +0 -1
- package/lib/commonjs/job-board/messages.js +0 -68
- package/lib/commonjs/job-board/messages.js.map +0 -1
- package/lib/commonjs/job-board/shared.js +0 -179
- package/lib/commonjs/job-board/shared.js.map +0 -1
- package/lib/commonjs/job-board/types.js +0 -6
- package/lib/commonjs/job-board/types.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/ProofOfDelivery.js +0 -306
- package/lib/commonjs/proof-of-delivery/ProofOfDelivery.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/SignaturePad.js +0 -304
- package/lib/commonjs/proof-of-delivery/SignaturePad.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/constants.js +0 -51
- package/lib/commonjs/proof-of-delivery/constants.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/index.js +0 -106
- package/lib/commonjs/proof-of-delivery/index.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/messages.js +0 -41
- package/lib/commonjs/proof-of-delivery/messages.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/shared.js +0 -171
- package/lib/commonjs/proof-of-delivery/shared.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/types.js +0 -6
- package/lib/commonjs/proof-of-delivery/types.js.map +0 -1
- package/lib/commonjs/shipment-request/ShipmentLoadPicker.js +0 -272
- package/lib/commonjs/shipment-request/ShipmentLoadPicker.js.map +0 -1
- package/lib/commonjs/shipment-request/ShipmentOptionsList.js +0 -188
- package/lib/commonjs/shipment-request/ShipmentOptionsList.js.map +0 -1
- package/lib/commonjs/shipment-request/ShipmentRequestForm.js +0 -155
- package/lib/commonjs/shipment-request/ShipmentRequestForm.js.map +0 -1
- package/lib/commonjs/shipment-request/constants.js +0 -118
- package/lib/commonjs/shipment-request/constants.js.map +0 -1
- package/lib/commonjs/shipment-request/index.js +0 -95
- package/lib/commonjs/shipment-request/index.js.map +0 -1
- package/lib/commonjs/shipment-request/messages.js +0 -79
- package/lib/commonjs/shipment-request/messages.js.map +0 -1
- package/lib/commonjs/shipment-request/shared.js +0 -65
- package/lib/commonjs/shipment-request/shared.js.map +0 -1
- package/lib/commonjs/shipment-request/types.js +0 -6
- package/lib/commonjs/shipment-request/types.js.map +0 -1
- package/lib/commonjs/vehicle-picker/VehiclePicker.js +0 -238
- package/lib/commonjs/vehicle-picker/VehiclePicker.js.map +0 -1
- package/lib/commonjs/vehicle-picker/constants.js +0 -76
- package/lib/commonjs/vehicle-picker/constants.js.map +0 -1
- package/lib/commonjs/vehicle-picker/index.js +0 -45
- package/lib/commonjs/vehicle-picker/index.js.map +0 -1
- package/lib/commonjs/vehicle-picker/messages.js +0 -49
- package/lib/commonjs/vehicle-picker/messages.js.map +0 -1
- package/lib/commonjs/vehicle-picker/shared.js +0 -24
- package/lib/commonjs/vehicle-picker/shared.js.map +0 -1
- package/lib/commonjs/vehicle-picker/types.js +0 -6
- package/lib/commonjs/vehicle-picker/types.js.map +0 -1
- package/lib/module/carrier-quote/CarrierQuoteCard.js +0 -543
- package/lib/module/carrier-quote/CarrierQuoteCard.js.map +0 -1
- package/lib/module/carrier-quote/CarrierQuoteList.js +0 -270
- package/lib/module/carrier-quote/CarrierQuoteList.js.map +0 -1
- package/lib/module/carrier-quote/constants.js +0 -61
- package/lib/module/carrier-quote/constants.js.map +0 -1
- package/lib/module/carrier-quote/index.js +0 -7
- package/lib/module/carrier-quote/index.js.map +0 -1
- package/lib/module/carrier-quote/messages.js +0 -47
- package/lib/module/carrier-quote/messages.js.map +0 -1
- package/lib/module/carrier-quote/shared.js +0 -139
- package/lib/module/carrier-quote/shared.js.map +0 -1
- package/lib/module/carrier-quote/types.js +0 -4
- package/lib/module/carrier-quote/types.js.map +0 -1
- package/lib/module/delivery-slot/DeliverySlotDays.js +0 -86
- package/lib/module/delivery-slot/DeliverySlotDays.js.map +0 -1
- package/lib/module/delivery-slot/DeliverySlotOption.js +0 -125
- package/lib/module/delivery-slot/DeliverySlotOption.js.map +0 -1
- package/lib/module/delivery-slot/DeliverySlotPicker.js +0 -259
- package/lib/module/delivery-slot/DeliverySlotPicker.js.map +0 -1
- package/lib/module/delivery-slot/constants.js +0 -48
- package/lib/module/delivery-slot/constants.js.map +0 -1
- package/lib/module/delivery-slot/index.js +0 -8
- package/lib/module/delivery-slot/index.js.map +0 -1
- package/lib/module/delivery-slot/messages.js +0 -24
- package/lib/module/delivery-slot/messages.js.map +0 -1
- package/lib/module/delivery-slot/shared.js +0 -52
- package/lib/module/delivery-slot/shared.js.map +0 -1
- package/lib/module/delivery-slot/types.js +0 -4
- package/lib/module/delivery-slot/types.js.map +0 -1
- package/lib/module/earnings/EarningsBreakdown.js +0 -79
- package/lib/module/earnings/EarningsBreakdown.js.map +0 -1
- package/lib/module/earnings/EarningsPayoutRow.js +0 -150
- package/lib/module/earnings/EarningsPayoutRow.js.map +0 -1
- package/lib/module/earnings/EarningsSummary.js +0 -289
- package/lib/module/earnings/EarningsSummary.js.map +0 -1
- package/lib/module/earnings/constants.js +0 -58
- package/lib/module/earnings/constants.js.map +0 -1
- package/lib/module/earnings/index.js +0 -8
- package/lib/module/earnings/index.js.map +0 -1
- package/lib/module/earnings/messages.js +0 -27
- package/lib/module/earnings/messages.js.map +0 -1
- package/lib/module/earnings/shared.js +0 -63
- package/lib/module/earnings/shared.js.map +0 -1
- package/lib/module/earnings/types.js +0 -4
- package/lib/module/earnings/types.js.map +0 -1
- package/lib/module/job-board/JobBoard.js +0 -460
- package/lib/module/job-board/JobBoard.js.map +0 -1
- package/lib/module/job-board/JobCard.js +0 -578
- package/lib/module/job-board/JobCard.js.map +0 -1
- package/lib/module/job-board/constants.js +0 -114
- package/lib/module/job-board/constants.js.map +0 -1
- package/lib/module/job-board/index.js +0 -7
- package/lib/module/job-board/index.js.map +0 -1
- package/lib/module/job-board/messages.js +0 -65
- package/lib/module/job-board/messages.js.map +0 -1
- package/lib/module/job-board/shared.js +0 -167
- package/lib/module/job-board/shared.js.map +0 -1
- package/lib/module/job-board/types.js +0 -4
- package/lib/module/job-board/types.js.map +0 -1
- package/lib/module/proof-of-delivery/ProofOfDelivery.js +0 -300
- package/lib/module/proof-of-delivery/ProofOfDelivery.js.map +0 -1
- package/lib/module/proof-of-delivery/SignaturePad.js +0 -298
- package/lib/module/proof-of-delivery/SignaturePad.js.map +0 -1
- package/lib/module/proof-of-delivery/constants.js +0 -47
- package/lib/module/proof-of-delivery/constants.js.map +0 -1
- package/lib/module/proof-of-delivery/index.js +0 -7
- package/lib/module/proof-of-delivery/index.js.map +0 -1
- package/lib/module/proof-of-delivery/messages.js +0 -38
- package/lib/module/proof-of-delivery/messages.js.map +0 -1
- package/lib/module/proof-of-delivery/shared.js +0 -157
- package/lib/module/proof-of-delivery/shared.js.map +0 -1
- package/lib/module/proof-of-delivery/types.js +0 -4
- package/lib/module/proof-of-delivery/types.js.map +0 -1
- package/lib/module/shipment-request/ShipmentLoadPicker.js +0 -266
- package/lib/module/shipment-request/ShipmentLoadPicker.js.map +0 -1
- package/lib/module/shipment-request/ShipmentOptionsList.js +0 -184
- package/lib/module/shipment-request/ShipmentOptionsList.js.map +0 -1
- package/lib/module/shipment-request/ShipmentRequestForm.js +0 -149
- package/lib/module/shipment-request/ShipmentRequestForm.js.map +0 -1
- package/lib/module/shipment-request/constants.js +0 -112
- package/lib/module/shipment-request/constants.js.map +0 -1
- package/lib/module/shipment-request/index.js +0 -8
- package/lib/module/shipment-request/index.js.map +0 -1
- package/lib/module/shipment-request/messages.js +0 -76
- package/lib/module/shipment-request/messages.js.map +0 -1
- package/lib/module/shipment-request/shared.js +0 -58
- package/lib/module/shipment-request/shared.js.map +0 -1
- package/lib/module/shipment-request/types.js +0 -4
- package/lib/module/shipment-request/types.js.map +0 -1
- package/lib/module/vehicle-picker/VehiclePicker.js +0 -232
- package/lib/module/vehicle-picker/VehiclePicker.js.map +0 -1
- package/lib/module/vehicle-picker/constants.js +0 -71
- package/lib/module/vehicle-picker/constants.js.map +0 -1
- package/lib/module/vehicle-picker/index.js +0 -6
- package/lib/module/vehicle-picker/index.js.map +0 -1
- package/lib/module/vehicle-picker/messages.js +0 -46
- package/lib/module/vehicle-picker/messages.js.map +0 -1
- package/lib/module/vehicle-picker/shared.js +0 -20
- package/lib/module/vehicle-picker/shared.js.map +0 -1
- package/lib/module/vehicle-picker/types.js +0 -4
- package/lib/module/vehicle-picker/types.js.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/CarrierQuoteCard.d.ts +0 -6
- package/lib/typescript/commonjs/carrier-quote/CarrierQuoteCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/CarrierQuoteList.d.ts +0 -29
- package/lib/typescript/commonjs/carrier-quote/CarrierQuoteList.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/constants.d.ts +0 -55
- package/lib/typescript/commonjs/carrier-quote/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/index.d.ts +0 -8
- package/lib/typescript/commonjs/carrier-quote/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/messages.d.ts +0 -38
- package/lib/typescript/commonjs/carrier-quote/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/shared.d.ts +0 -58
- package/lib/typescript/commonjs/carrier-quote/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/types.d.ts +0 -191
- package/lib/typescript/commonjs/carrier-quote/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotDays.d.ts +0 -28
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotDays.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotOption.d.ts +0 -27
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotOption.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotPicker.d.ts +0 -34
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotPicker.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/constants.d.ts +0 -34
- package/lib/typescript/commonjs/delivery-slot/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/index.d.ts +0 -8
- package/lib/typescript/commonjs/delivery-slot/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/messages.d.ts +0 -23
- package/lib/typescript/commonjs/delivery-slot/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/shared.d.ts +0 -36
- package/lib/typescript/commonjs/delivery-slot/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/types.d.ts +0 -178
- package/lib/typescript/commonjs/delivery-slot/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/EarningsBreakdown.d.ts +0 -24
- package/lib/typescript/commonjs/earnings/EarningsBreakdown.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/EarningsPayoutRow.d.ts +0 -25
- package/lib/typescript/commonjs/earnings/EarningsPayoutRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/EarningsSummary.d.ts +0 -6
- package/lib/typescript/commonjs/earnings/EarningsSummary.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/constants.d.ts +0 -41
- package/lib/typescript/commonjs/earnings/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/index.d.ts +0 -9
- package/lib/typescript/commonjs/earnings/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/messages.d.ts +0 -26
- package/lib/typescript/commonjs/earnings/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/shared.d.ts +0 -43
- package/lib/typescript/commonjs/earnings/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/types.d.ts +0 -171
- package/lib/typescript/commonjs/earnings/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/JobBoard.d.ts +0 -38
- package/lib/typescript/commonjs/job-board/JobBoard.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/JobCard.d.ts +0 -6
- package/lib/typescript/commonjs/job-board/JobCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/constants.d.ts +0 -79
- package/lib/typescript/commonjs/job-board/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/index.d.ts +0 -8
- package/lib/typescript/commonjs/job-board/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/messages.d.ts +0 -56
- package/lib/typescript/commonjs/job-board/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/shared.d.ts +0 -78
- package/lib/typescript/commonjs/job-board/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/types.d.ts +0 -269
- package/lib/typescript/commonjs/job-board/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/ProofOfDelivery.d.ts +0 -51
- package/lib/typescript/commonjs/proof-of-delivery/ProofOfDelivery.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/SignaturePad.d.ts +0 -6
- package/lib/typescript/commonjs/proof-of-delivery/SignaturePad.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/constants.d.ts +0 -43
- package/lib/typescript/commonjs/proof-of-delivery/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/index.d.ts +0 -8
- package/lib/typescript/commonjs/proof-of-delivery/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/messages.d.ts +0 -13
- package/lib/typescript/commonjs/proof-of-delivery/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/shared.d.ts +0 -79
- package/lib/typescript/commonjs/proof-of-delivery/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/types.d.ts +0 -165
- package/lib/typescript/commonjs/proof-of-delivery/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/ShipmentLoadPicker.d.ts +0 -32
- package/lib/typescript/commonjs/shipment-request/ShipmentLoadPicker.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/ShipmentOptionsList.d.ts +0 -5
- package/lib/typescript/commonjs/shipment-request/ShipmentOptionsList.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/ShipmentRequestForm.d.ts +0 -33
- package/lib/typescript/commonjs/shipment-request/ShipmentRequestForm.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/constants.d.ts +0 -50
- package/lib/typescript/commonjs/shipment-request/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/index.d.ts +0 -8
- package/lib/typescript/commonjs/shipment-request/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/messages.d.ts +0 -45
- package/lib/typescript/commonjs/shipment-request/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/shared.d.ts +0 -40
- package/lib/typescript/commonjs/shipment-request/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/types.d.ts +0 -219
- package/lib/typescript/commonjs/shipment-request/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/VehiclePicker.d.ts +0 -7
- package/lib/typescript/commonjs/vehicle-picker/VehiclePicker.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/constants.d.ts +0 -45
- package/lib/typescript/commonjs/vehicle-picker/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/index.d.ts +0 -6
- package/lib/typescript/commonjs/vehicle-picker/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/messages.d.ts +0 -26
- package/lib/typescript/commonjs/vehicle-picker/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/shared.d.ts +0 -19
- package/lib/typescript/commonjs/vehicle-picker/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/types.d.ts +0 -82
- package/lib/typescript/commonjs/vehicle-picker/types.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/CarrierQuoteCard.d.ts +0 -6
- package/lib/typescript/module/carrier-quote/CarrierQuoteCard.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/CarrierQuoteList.d.ts +0 -29
- package/lib/typescript/module/carrier-quote/CarrierQuoteList.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/constants.d.ts +0 -55
- package/lib/typescript/module/carrier-quote/constants.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/index.d.ts +0 -8
- package/lib/typescript/module/carrier-quote/index.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/messages.d.ts +0 -38
- package/lib/typescript/module/carrier-quote/messages.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/shared.d.ts +0 -58
- package/lib/typescript/module/carrier-quote/shared.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/types.d.ts +0 -191
- package/lib/typescript/module/carrier-quote/types.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/DeliverySlotDays.d.ts +0 -28
- package/lib/typescript/module/delivery-slot/DeliverySlotDays.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/DeliverySlotOption.d.ts +0 -27
- package/lib/typescript/module/delivery-slot/DeliverySlotOption.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/DeliverySlotPicker.d.ts +0 -34
- package/lib/typescript/module/delivery-slot/DeliverySlotPicker.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/constants.d.ts +0 -34
- package/lib/typescript/module/delivery-slot/constants.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/index.d.ts +0 -8
- package/lib/typescript/module/delivery-slot/index.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/messages.d.ts +0 -23
- package/lib/typescript/module/delivery-slot/messages.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/shared.d.ts +0 -36
- package/lib/typescript/module/delivery-slot/shared.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/types.d.ts +0 -178
- package/lib/typescript/module/delivery-slot/types.d.ts.map +0 -1
- package/lib/typescript/module/earnings/EarningsBreakdown.d.ts +0 -24
- package/lib/typescript/module/earnings/EarningsBreakdown.d.ts.map +0 -1
- package/lib/typescript/module/earnings/EarningsPayoutRow.d.ts +0 -25
- package/lib/typescript/module/earnings/EarningsPayoutRow.d.ts.map +0 -1
- package/lib/typescript/module/earnings/EarningsSummary.d.ts +0 -6
- package/lib/typescript/module/earnings/EarningsSummary.d.ts.map +0 -1
- package/lib/typescript/module/earnings/constants.d.ts +0 -41
- package/lib/typescript/module/earnings/constants.d.ts.map +0 -1
- package/lib/typescript/module/earnings/index.d.ts +0 -9
- package/lib/typescript/module/earnings/index.d.ts.map +0 -1
- package/lib/typescript/module/earnings/messages.d.ts +0 -26
- package/lib/typescript/module/earnings/messages.d.ts.map +0 -1
- package/lib/typescript/module/earnings/shared.d.ts +0 -43
- package/lib/typescript/module/earnings/shared.d.ts.map +0 -1
- package/lib/typescript/module/earnings/types.d.ts +0 -171
- package/lib/typescript/module/earnings/types.d.ts.map +0 -1
- package/lib/typescript/module/job-board/JobBoard.d.ts +0 -38
- package/lib/typescript/module/job-board/JobBoard.d.ts.map +0 -1
- package/lib/typescript/module/job-board/JobCard.d.ts +0 -6
- package/lib/typescript/module/job-board/JobCard.d.ts.map +0 -1
- package/lib/typescript/module/job-board/constants.d.ts +0 -79
- package/lib/typescript/module/job-board/constants.d.ts.map +0 -1
- package/lib/typescript/module/job-board/index.d.ts +0 -8
- package/lib/typescript/module/job-board/index.d.ts.map +0 -1
- package/lib/typescript/module/job-board/messages.d.ts +0 -56
- package/lib/typescript/module/job-board/messages.d.ts.map +0 -1
- package/lib/typescript/module/job-board/shared.d.ts +0 -78
- package/lib/typescript/module/job-board/shared.d.ts.map +0 -1
- package/lib/typescript/module/job-board/types.d.ts +0 -269
- package/lib/typescript/module/job-board/types.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/ProofOfDelivery.d.ts +0 -51
- package/lib/typescript/module/proof-of-delivery/ProofOfDelivery.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/SignaturePad.d.ts +0 -6
- package/lib/typescript/module/proof-of-delivery/SignaturePad.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/constants.d.ts +0 -43
- package/lib/typescript/module/proof-of-delivery/constants.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/index.d.ts +0 -8
- package/lib/typescript/module/proof-of-delivery/index.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/messages.d.ts +0 -13
- package/lib/typescript/module/proof-of-delivery/messages.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/shared.d.ts +0 -79
- package/lib/typescript/module/proof-of-delivery/shared.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/types.d.ts +0 -165
- package/lib/typescript/module/proof-of-delivery/types.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/ShipmentLoadPicker.d.ts +0 -32
- package/lib/typescript/module/shipment-request/ShipmentLoadPicker.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/ShipmentOptionsList.d.ts +0 -5
- package/lib/typescript/module/shipment-request/ShipmentOptionsList.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/ShipmentRequestForm.d.ts +0 -33
- package/lib/typescript/module/shipment-request/ShipmentRequestForm.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/constants.d.ts +0 -50
- package/lib/typescript/module/shipment-request/constants.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/index.d.ts +0 -8
- package/lib/typescript/module/shipment-request/index.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/messages.d.ts +0 -45
- package/lib/typescript/module/shipment-request/messages.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/shared.d.ts +0 -40
- package/lib/typescript/module/shipment-request/shared.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/types.d.ts +0 -219
- package/lib/typescript/module/shipment-request/types.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/VehiclePicker.d.ts +0 -7
- package/lib/typescript/module/vehicle-picker/VehiclePicker.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/constants.d.ts +0 -45
- package/lib/typescript/module/vehicle-picker/constants.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/index.d.ts +0 -6
- package/lib/typescript/module/vehicle-picker/index.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/messages.d.ts +0 -26
- package/lib/typescript/module/vehicle-picker/messages.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/shared.d.ts +0 -19
- package/lib/typescript/module/vehicle-picker/shared.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/types.d.ts +0 -82
- package/lib/typescript/module/vehicle-picker/types.d.ts.map +0 -1
- package/src/carrier-quote/CarrierQuoteCard.tsx +0 -558
- package/src/carrier-quote/CarrierQuoteList.tsx +0 -271
- package/src/carrier-quote/constants.ts +0 -57
- package/src/carrier-quote/index.ts +0 -28
- package/src/carrier-quote/messages.ts +0 -66
- package/src/carrier-quote/shared.ts +0 -168
- package/src/carrier-quote/types.ts +0 -199
- package/src/delivery-slot/DeliverySlotDays.tsx +0 -91
- package/src/delivery-slot/DeliverySlotOption.tsx +0 -123
- package/src/delivery-slot/DeliverySlotPicker.tsx +0 -275
- package/src/delivery-slot/constants.ts +0 -47
- package/src/delivery-slot/index.ts +0 -24
- package/src/delivery-slot/messages.ts +0 -33
- package/src/delivery-slot/shared.ts +0 -84
- package/src/delivery-slot/types.ts +0 -191
- package/src/earnings/EarningsBreakdown.tsx +0 -75
- package/src/earnings/EarningsPayoutRow.tsx +0 -141
- package/src/earnings/EarningsSummary.tsx +0 -310
- package/src/earnings/constants.ts +0 -61
- package/src/earnings/index.ts +0 -24
- package/src/earnings/messages.ts +0 -45
- package/src/earnings/shared.ts +0 -94
- package/src/earnings/types.ts +0 -180
- package/src/job-board/JobBoard.tsx +0 -514
- package/src/job-board/JobCard.tsx +0 -597
- package/src/job-board/constants.ts +0 -106
- package/src/job-board/index.ts +0 -34
- package/src/job-board/messages.ts +0 -96
- package/src/job-board/shared.ts +0 -215
- package/src/job-board/types.ts +0 -274
- package/src/proof-of-delivery/ProofOfDelivery.tsx +0 -321
- package/src/proof-of-delivery/SignaturePad.tsx +0 -309
- package/src/proof-of-delivery/constants.ts +0 -54
- package/src/proof-of-delivery/index.ts +0 -29
- package/src/proof-of-delivery/messages.ts +0 -43
- package/src/proof-of-delivery/shared.ts +0 -190
- package/src/proof-of-delivery/types.ts +0 -174
- package/src/shipment-request/ShipmentLoadPicker.tsx +0 -249
- package/src/shipment-request/ShipmentOptionsList.tsx +0 -192
- package/src/shipment-request/ShipmentRequestForm.tsx +0 -160
- package/src/shipment-request/constants.ts +0 -138
- package/src/shipment-request/index.ts +0 -37
- package/src/shipment-request/messages.ts +0 -85
- package/src/shipment-request/shared.ts +0 -72
- package/src/shipment-request/types.ts +0 -235
- package/src/vehicle-picker/VehiclePicker.tsx +0 -233
- package/src/vehicle-picker/constants.ts +0 -77
- package/src/vehicle-picker/index.ts +0 -15
- package/src/vehicle-picker/messages.ts +0 -61
- package/src/vehicle-picker/shared.ts +0 -27
- package/src/vehicle-picker/types.ts +0 -86
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import type { BloomIconComponent } from '../icons/icon-component';
|
|
4
|
-
import type { PriceSummaryProps } from '../price-breakdown';
|
|
5
|
-
import type { RouteStopsProps } from '../route-stops';
|
|
6
|
-
import type { SortablePhotoGridProps } from '../sortable-media';
|
|
7
|
-
/**
|
|
8
|
-
* What is being moved.
|
|
9
|
-
*
|
|
10
|
-
* Five kinds, because they are the five that change how a job is PRICED and
|
|
11
|
-
* carried, not because they are a taxonomy of objects: an envelope goes on a
|
|
12
|
-
* bike, furniture needs two people, a pallet needs a tail lift, food needs to
|
|
13
|
-
* arrive warm. "Other" is deliberately absent — a marketplace that cannot name
|
|
14
|
-
* what it is carrying cannot quote it, and the free-text `notes` is where an
|
|
15
|
-
* unusual load is described.
|
|
16
|
-
*/
|
|
17
|
-
export type ShipmentLoadKind = 'parcel' | 'furniture' | 'pallet' | 'envelope' | 'food';
|
|
18
|
-
/** How big it is, as the four rungs a carrier prices in. */
|
|
19
|
-
export type ShipmentLoadSize = 'small' | 'medium' | 'large' | 'extraLarge';
|
|
20
|
-
/** Which end of the job an access answer is about. */
|
|
21
|
-
export type ShipmentAccess = 'ground' | 'stairs' | 'lift';
|
|
22
|
-
export interface ShipmentLoadKindOption {
|
|
23
|
-
value: ShipmentLoadKind;
|
|
24
|
-
/** "Parcel", "Furniture". */
|
|
25
|
-
label: string;
|
|
26
|
-
/** One line under it — "A box, a bag, anything that fits in one pair of hands." */
|
|
27
|
-
description?: string;
|
|
28
|
-
icon?: BloomIconComponent;
|
|
29
|
-
disabled?: boolean;
|
|
30
|
-
}
|
|
31
|
-
export interface ShipmentLoadSizeOption {
|
|
32
|
-
value: ShipmentLoadSize;
|
|
33
|
-
/** The segment's word — "S", "M", "L", "XL". */
|
|
34
|
-
label: string;
|
|
35
|
-
/** A line under the control naming what the CHOSEN size means. */
|
|
36
|
-
detail?: string;
|
|
37
|
-
disabled?: boolean;
|
|
38
|
-
}
|
|
39
|
-
/** The job's load, as one value a form owns. */
|
|
40
|
-
export interface ShipmentLoad {
|
|
41
|
-
/** What it is. `null` while nothing has been chosen. */
|
|
42
|
-
kind: ShipmentLoadKind | null;
|
|
43
|
-
/** How big. `null` while nothing has been chosen. */
|
|
44
|
-
size: ShipmentLoadSize | null;
|
|
45
|
-
/**
|
|
46
|
-
* How heavy, as TYPED TEXT with its unit stripped: `"18"`. The picker keeps
|
|
47
|
-
* digits and one separator and nothing else; the unit is drawn beside the
|
|
48
|
-
* field and never stored in the value, so an app parses one number rather
|
|
49
|
-
* than a sentence.
|
|
50
|
-
*/
|
|
51
|
-
weight: string;
|
|
52
|
-
/** How many of them. At least 1. */
|
|
53
|
-
quantity: number;
|
|
54
|
-
/** Anything the pickers cannot say. */
|
|
55
|
-
notes?: string;
|
|
56
|
-
}
|
|
57
|
-
/** The picker's copy, all of it localisable. */
|
|
58
|
-
export interface ShipmentLoadPickerLabels {
|
|
59
|
-
/** Over the kind cards (`"What are we moving?"` in English). */
|
|
60
|
-
kind?: string;
|
|
61
|
-
/** Over the size control (`"Size"` in English). */
|
|
62
|
-
size?: string;
|
|
63
|
-
/** The weight field (`"Weight"` in English). */
|
|
64
|
-
weight?: string;
|
|
65
|
-
/** Drawn inside the weight field, after the number (`"kg"` in English). */
|
|
66
|
-
weightUnit?: string;
|
|
67
|
-
/** The quantity stepper (`"How many"` in English). */
|
|
68
|
-
quantity?: string;
|
|
69
|
-
/** The stepper's value (`` (n) => n === 1 ? '1 item' : `${n} items` `` in English). */
|
|
70
|
-
quantityValue?: (quantity: number) => string;
|
|
71
|
-
/** The notes field (`"Anything else the carrier should know?"` in English). */
|
|
72
|
-
notes?: string;
|
|
73
|
-
/** The notes placeholder (`"Fragile, a lift code, where to leave it…"` in English). */
|
|
74
|
-
notesPlaceholder?: string;
|
|
75
|
-
}
|
|
76
|
-
/** Validation, keyed by the field it belongs under. The app owns every message. */
|
|
77
|
-
export interface ShipmentLoadErrors {
|
|
78
|
-
kind?: string;
|
|
79
|
-
size?: string;
|
|
80
|
-
weight?: string;
|
|
81
|
-
quantity?: string;
|
|
82
|
-
}
|
|
83
|
-
export interface ShipmentLoadPickerProps {
|
|
84
|
-
/** The load. Fully controlled — the picker keeps no value of its own. */
|
|
85
|
-
value: ShipmentLoad;
|
|
86
|
-
/** Called with the WHOLE next load, never a patch. */
|
|
87
|
-
onValueChange: (value: ShipmentLoad) => void;
|
|
88
|
-
/** The kinds, in the order they are drawn. Default {@link SHIPMENT_LOAD_KINDS}, in the resolved locale's words. */
|
|
89
|
-
kinds?: readonly ShipmentLoadKindOption[];
|
|
90
|
-
/** The sizes. Default {@link SHIPMENT_LOAD_SIZES}, in the resolved locale's words. */
|
|
91
|
-
sizes?: readonly ShipmentLoadSizeOption[];
|
|
92
|
-
/** Draws the notes field. Default `false`. */
|
|
93
|
-
notes?: boolean;
|
|
94
|
-
/** The most the stepper goes to. Default `20`. */
|
|
95
|
-
maxQuantity?: number;
|
|
96
|
-
errors?: ShipmentLoadErrors;
|
|
97
|
-
labels?: ShipmentLoadPickerLabels;
|
|
98
|
-
disabled?: boolean;
|
|
99
|
-
style?: StyleProp<ViewStyle>;
|
|
100
|
-
testID?: string;
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* One thing a requester can add to a job that changes what it costs.
|
|
104
|
-
*
|
|
105
|
-
* It is a SWITCH, not a chip: each extra is independent of the others, and a
|
|
106
|
-
* price beside it is what makes the switch worth flipping.
|
|
107
|
-
*/
|
|
108
|
-
export interface ShipmentExtra {
|
|
109
|
-
/** Identifies the extra to `onExtrasChange`, and keys the row. */
|
|
110
|
-
key: string;
|
|
111
|
-
/** "Help loading", "Insurance". */
|
|
112
|
-
title: string;
|
|
113
|
-
/** One line under it — "Two people at both ends." */
|
|
114
|
-
description?: string;
|
|
115
|
-
icon?: BloomIconComponent;
|
|
116
|
-
/**
|
|
117
|
-
* What it adds, PRE-FORMATTED: `"+€12.00"`, `"Included"`. Drawn at the end of
|
|
118
|
-
* the row. Nothing here adds it to anything.
|
|
119
|
-
*/
|
|
120
|
-
price?: string;
|
|
121
|
-
disabled?: boolean;
|
|
122
|
-
}
|
|
123
|
-
export interface ShipmentAccessOption {
|
|
124
|
-
value: ShipmentAccess;
|
|
125
|
-
/** "Ground floor", "Stairs", "Lift". */
|
|
126
|
-
label: string;
|
|
127
|
-
icon?: BloomIconComponent;
|
|
128
|
-
/** What it adds, PRE-FORMATTED. Drawn after the label. */
|
|
129
|
-
price?: string;
|
|
130
|
-
disabled?: boolean;
|
|
131
|
-
}
|
|
132
|
-
export interface ShipmentTimeWindow {
|
|
133
|
-
/** Identifies the window to `onWindowChange`, and keys the chip. */
|
|
134
|
-
id: string;
|
|
135
|
-
/** "Today, 14:00–16:00", "Tomorrow morning". */
|
|
136
|
-
label: string;
|
|
137
|
-
/** What it adds, PRE-FORMATTED. Drawn after the label. */
|
|
138
|
-
price?: string;
|
|
139
|
-
disabled?: boolean;
|
|
140
|
-
}
|
|
141
|
-
/** The options list's copy. */
|
|
142
|
-
export interface ShipmentOptionsLabels {
|
|
143
|
-
/** Over the switch rows (`"Extras"` in English). */
|
|
144
|
-
extras?: string;
|
|
145
|
-
/** Over the access chips (`"Access at both ends"` in English). */
|
|
146
|
-
access?: string;
|
|
147
|
-
/** Over the time windows (`"When should it be collected?"` in English). */
|
|
148
|
-
window?: string;
|
|
149
|
-
}
|
|
150
|
-
export interface ShipmentOptionsListProps {
|
|
151
|
-
/** The independent extras, as switch rows. */
|
|
152
|
-
extras?: readonly ShipmentExtra[];
|
|
153
|
-
/** The keys of the extras that are on. */
|
|
154
|
-
selectedExtras?: readonly string[];
|
|
155
|
-
onExtrasChange?: (keys: string[]) => void;
|
|
156
|
-
/** The access answers — a single choice, because one of them is true. */
|
|
157
|
-
accessOptions?: readonly ShipmentAccessOption[];
|
|
158
|
-
access?: ShipmentAccess | null;
|
|
159
|
-
onAccessChange?: (access: ShipmentAccess) => void;
|
|
160
|
-
/** The collection windows — a single choice. */
|
|
161
|
-
windows?: readonly ShipmentTimeWindow[];
|
|
162
|
-
window?: string | null;
|
|
163
|
-
onWindowChange?: (id: string) => void;
|
|
164
|
-
labels?: ShipmentOptionsLabels;
|
|
165
|
-
disabled?: boolean;
|
|
166
|
-
style?: StyleProp<ViewStyle>;
|
|
167
|
-
testID?: string;
|
|
168
|
-
}
|
|
169
|
-
/** The form's section headings. */
|
|
170
|
-
export interface ShipmentRequestFormLabels {
|
|
171
|
-
route?: string;
|
|
172
|
-
routeDescription?: string;
|
|
173
|
-
load?: string;
|
|
174
|
-
loadDescription?: string;
|
|
175
|
-
photos?: string;
|
|
176
|
-
photosDescription?: string;
|
|
177
|
-
options?: string;
|
|
178
|
-
optionsDescription?: string;
|
|
179
|
-
price?: string;
|
|
180
|
-
priceDescription?: string;
|
|
181
|
-
}
|
|
182
|
-
export interface ShipmentRequestFormProps {
|
|
183
|
-
/**
|
|
184
|
-
* The pickup and the drop-off, handed to `RouteStops` UNCHANGED.
|
|
185
|
-
*
|
|
186
|
-
* The form does not draw a second route: there is one component in Bloom that
|
|
187
|
-
* knows what an origin, a destination and the stops between them look like,
|
|
188
|
-
* and a form that redrew it would be a copy that drifts.
|
|
189
|
-
*/
|
|
190
|
-
route: RouteStopsProps;
|
|
191
|
-
/** The load section. */
|
|
192
|
-
load: ShipmentLoad;
|
|
193
|
-
onLoadChange: (load: ShipmentLoad) => void;
|
|
194
|
-
/** Everything else `ShipmentLoadPicker` takes, minus the value pair. */
|
|
195
|
-
loadProps?: Omit<ShipmentLoadPickerProps, 'value' | 'onValueChange' | 'style' | 'testID'>;
|
|
196
|
-
/**
|
|
197
|
-
* The photos, handed to `SortablePhotoGrid` unchanged. Without it the photos
|
|
198
|
-
* section is not drawn — a job that needs no picture should not be asked for
|
|
199
|
-
* one.
|
|
200
|
-
*/
|
|
201
|
-
photos?: Omit<SortablePhotoGridProps, 'style' | 'testID'>;
|
|
202
|
-
/** The options section. Without it the section is not drawn. */
|
|
203
|
-
options?: Omit<ShipmentOptionsListProps, 'style' | 'testID'>;
|
|
204
|
-
/**
|
|
205
|
-
* The running price, handed to `PriceSummary` unchanged. It sits last, so the
|
|
206
|
-
* options above it and the number they move are on the same screen.
|
|
207
|
-
*/
|
|
208
|
-
price?: Omit<PriceSummaryProps, 'style' | 'testID'>;
|
|
209
|
-
/** The submit row, drawn under the last section with no divider over it. */
|
|
210
|
-
footer?: ReactNode;
|
|
211
|
-
labels?: ShipmentRequestFormLabels;
|
|
212
|
-
/** Dims and stops every control in the form. */
|
|
213
|
-
disabled?: boolean;
|
|
214
|
-
/** Names the form (`"Shipment request"` in English). */
|
|
215
|
-
accessibilityLabel?: string;
|
|
216
|
-
style?: StyleProp<ViewStyle>;
|
|
217
|
-
testID?: string;
|
|
218
|
-
}
|
|
219
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/shipment-request/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEhE;;;;;;;;;GASG;AACH,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAC;AAEvF,4DAA4D;AAC5D,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,CAAC;AAE3E,sDAAsD;AACtD,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE1D,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,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C7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { VehicleKind, VehiclePickerProps } from './types';
|
|
3
|
-
export declare function VehiclePicker<T extends string = VehicleKind>({ value, onValueChange, options: optionsProp, title, description, disabled: disabledProp, labels: labelOverrides, accessibilityLabel: accessibilityLabelProp, style, testID, }: VehiclePickerProps<T>): React.JSX.Element;
|
|
4
|
-
export declare namespace VehiclePicker {
|
|
5
|
-
var displayName: string;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=VehiclePicker.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VehiclePicker.d.ts","sourceRoot":"","sources":["../../../../src/vehicle-picker/VehiclePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAcvC,OAAO,KAAK,EAAE,WAAW,EAAiB,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAiC9E,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,WAAW,EAAE,EAC5D,KAAK,EACL,aAAa,EACb,OAAO,EAAE,WAAW,EACpB,KAAK,EACL,WAAW,EACX,QAAQ,EAAE,YAAoB,EAC9B,MAAM,EAAE,cAAc,EACtB,kBAAkB,EAAE,sBAAsB,EAC1C,KAAK,EACL,MAAM,GACP,EAAE,kBAAkB,CAAC,CAAC,CAAC,qBA0KvB;yBArLe,aAAa"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { BloomIconComponent } from '../icons/icon-component';
|
|
2
|
-
import { type VehiclePickerMessages } from './messages';
|
|
3
|
-
import type { VehicleKind, VehicleOption, VehiclePickerLabels } from './types';
|
|
4
|
-
/** The five built-in vehicles, smallest first, in one language's words. */
|
|
5
|
-
export declare function builtInVehicleOptions(messages: VehiclePickerMessages): readonly VehicleOption<VehicleKind>[];
|
|
6
|
-
/**
|
|
7
|
-
* The glyph each built-in vehicle draws.
|
|
8
|
-
*
|
|
9
|
-
* Bloom's icon set has no truck and no van, so the two largest bodies borrow
|
|
10
|
-
* the closest shapes it does have — a bus for the van (a box on wheels at road
|
|
11
|
-
* scale) and a crate for the box truck (the body IS the box). The refrigerated
|
|
12
|
-
* van is the snowflake rather than a second vehicle outline: what distinguishes
|
|
13
|
-
* it is the temperature, not the silhouette, and two nearly identical van
|
|
14
|
-
* glyphs side by side read as a drawing mistake.
|
|
15
|
-
*/
|
|
16
|
-
export declare const VEHICLE_ICON: Record<VehicleKind, BloomIconComponent>;
|
|
17
|
-
/**
|
|
18
|
-
* The five built-in vehicles, smallest first, with no prices.
|
|
19
|
-
*
|
|
20
|
-
* A price-from belongs to a marketplace and a moment, so the defaults carry
|
|
21
|
-
* none: a picker showing invented amounts is worse than one showing the
|
|
22
|
-
* capacities alone. Spread an option and add `priceFrom` where the app knows it.
|
|
23
|
-
*
|
|
24
|
-
* In English. A picker given no `options` draws these five in the resolved
|
|
25
|
-
* locale's words instead.
|
|
26
|
-
*/
|
|
27
|
-
export declare const VEHICLE_OPTIONS: readonly VehicleOption<VehicleKind>[];
|
|
28
|
-
/** The picker's default copy, in English. The picker speaks `VEHICLE_PICKER_MESSAGES` in the resolved locale. */
|
|
29
|
-
export declare const VEHICLE_PICKER_LABELS: Required<VehiclePickerLabels>;
|
|
30
|
-
/**
|
|
31
|
-
* The picker's geometry, as the numbers rather than as prose.
|
|
32
|
-
*
|
|
33
|
-
* `gap` is the space between two option cards; `chipGap` the space inside a
|
|
34
|
-
* `fits` row. `narrowWidth` is the picker's OWN width under which each card
|
|
35
|
-
* drops to its compact inset — the same measurement the card itself offers,
|
|
36
|
-
* taken once here so every card in one picker agrees.
|
|
37
|
-
*/
|
|
38
|
-
export declare const VEHICLE_PICKER_GEOMETRY: {
|
|
39
|
-
readonly gap: 12;
|
|
40
|
-
readonly chipGap: 8;
|
|
41
|
-
readonly headingGap: 16;
|
|
42
|
-
readonly narrowWidth: 400;
|
|
43
|
-
};
|
|
44
|
-
export type VehiclePickerGeometry = typeof VEHICLE_PICKER_GEOMETRY;
|
|
45
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/vehicle-picker/constants.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAA2B,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACjF,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAI/E,2EAA2E;AAC3E,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,qBAAqB,GAC9B,SAAS,aAAa,CAAC,WAAW,CAAC,EAAE,CAMvC;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,WAAW,EAAE,kBAAkB,CAMhE,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,EAAE,SAAS,aAAa,CAAC,WAAW,CAAC,EAEhE,CAAC;AAEF,iHAAiH;AACjH,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,mBAAmB,CAI/D,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB;;;;;CAK1B,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG,OAAO,uBAAuB,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { VehiclePicker } from './VehiclePicker';
|
|
2
|
-
export { VEHICLE_ICON, VEHICLE_OPTIONS, VEHICLE_PICKER_GEOMETRY, VEHICLE_PICKER_LABELS, } from './constants';
|
|
3
|
-
export type { VehiclePickerGeometry } from './constants';
|
|
4
|
-
export { vehicleOptionName } from './shared';
|
|
5
|
-
export type { VehicleKind, VehicleOption, VehiclePickerLabels, VehiclePickerProps, } from './types';
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/vehicle-picker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,YAAY,EACZ,eAAe,EACf,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,YAAY,EACV,WAAW,EACX,aAAa,EACb,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,SAAS,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { type MessageCatalog } from '../locale/messages';
|
|
2
|
-
import type { VehicleKind } from './types';
|
|
3
|
-
/** One built-in vehicle's words. */
|
|
4
|
-
export interface VehicleWords {
|
|
5
|
-
label: string;
|
|
6
|
-
capacity: string;
|
|
7
|
-
fits: [string, string, string];
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Every fixed string the vehicle picker draws or announces — its own words and
|
|
11
|
-
* the five built-in vehicles' — in each Bloom language. A caller's `labels`,
|
|
12
|
-
* `accessibilityLabel` and `options` still win.
|
|
13
|
-
*/
|
|
14
|
-
export interface VehiclePickerMessages {
|
|
15
|
-
/** Before the `priceFrom` amount. */
|
|
16
|
-
from: string;
|
|
17
|
-
/** Names an option's `fits` chip row. */
|
|
18
|
-
fits: (label: string) => string;
|
|
19
|
-
/** The reason fallback on a disabled option with none. */
|
|
20
|
-
unavailable: string;
|
|
21
|
-
/** Names the group. */
|
|
22
|
-
vehicle: string;
|
|
23
|
-
vehicles: Record<VehicleKind, VehicleWords>;
|
|
24
|
-
}
|
|
25
|
-
export declare const VEHICLE_PICKER_MESSAGES: MessageCatalog<VehiclePickerMessages>;
|
|
26
|
-
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../src/vehicle-picker/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,oCAAoC;AACpC,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,qCAAqC;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAChC,0DAA0D;IAC1D,WAAW,EAAE,MAAM,CAAC;IACpB,uBAAuB;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;CAC7C;AAED,eAAO,MAAM,uBAAuB,EAAE,cAAc,CAAC,qBAAqB,CAiCtE,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { VehicleOption } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* What a vehicle card ANNOUNCES.
|
|
4
|
-
*
|
|
5
|
-
* The card draws four things a name computation cannot reach: the capacity
|
|
6
|
-
* line, the chips under the hairline, the price and — the one that matters —
|
|
7
|
-
* the reason a blocked option is blocked. A user who cannot see the dimming has
|
|
8
|
-
* to be told, in the control's own name, that this row is out and why.
|
|
9
|
-
*
|
|
10
|
-
* The price is read WITH its label ("From €8.90"): a bare amount inside a
|
|
11
|
-
* sentence of capacities reads as another measurement.
|
|
12
|
-
*
|
|
13
|
-
* Pure, and exported so the join can be walked without a render.
|
|
14
|
-
*/
|
|
15
|
-
export declare function vehicleOptionName(option: Pick<VehicleOption<string>, 'label' | 'capacity' | 'priceFrom'>, parts: {
|
|
16
|
-
from: string;
|
|
17
|
-
reason?: string;
|
|
18
|
-
}): string;
|
|
19
|
-
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/vehicle-picker/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,WAAW,CAAC,EACvE,KAAK,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GACvC,MAAM,CAQR"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
2
|
-
import type { BloomIconComponent } from '../icons/icon-component';
|
|
3
|
-
/**
|
|
4
|
-
* The five vehicles a carrier marketplace routes a job to, smallest first.
|
|
5
|
-
*
|
|
6
|
-
* They are a LADDER of capacity, not a taxonomy: each one takes everything the
|
|
7
|
-
* one before it takes and more, which is what makes "the smallest one that can
|
|
8
|
-
* carry this" a question the caller can answer. `refrigerated` breaks the
|
|
9
|
-
* ladder on purpose — it is a van that holds a temperature, so it is chosen for
|
|
10
|
-
* what the load IS rather than for how big it is.
|
|
11
|
-
*/
|
|
12
|
-
export type VehicleKind = 'bike' | 'car' | 'van' | 'boxTruck' | 'refrigerated';
|
|
13
|
-
export interface VehicleOption<T extends string = VehicleKind> {
|
|
14
|
-
/** Identifies the choice to `onValueChange`, and keys the row. */
|
|
15
|
-
value: T;
|
|
16
|
-
/** The vehicle's name — "Cargo bike", "Box truck". */
|
|
17
|
-
label: string;
|
|
18
|
-
/**
|
|
19
|
-
* What it can take, in ONE line: "Up to 25 kg · 60 × 40 × 40 cm". Weights,
|
|
20
|
-
* volumes and units are the app's — nothing here parses or converts a number.
|
|
21
|
-
*/
|
|
22
|
-
capacity: string;
|
|
23
|
-
/**
|
|
24
|
-
* Short nouns for what actually fits — "Two suitcases", "A washing machine".
|
|
25
|
-
* Drawn as chips under the capacity, and read after it.
|
|
26
|
-
*/
|
|
27
|
-
fits?: readonly string[];
|
|
28
|
-
/**
|
|
29
|
-
* The cheapest this vehicle goes for, PRE-FORMATTED: `"€8.90"`. The picker
|
|
30
|
-
* does no currency maths and never adds a number to another.
|
|
31
|
-
*/
|
|
32
|
-
priceFrom?: string;
|
|
33
|
-
/** The glyph. Defaults to the built-in one for a built-in `value`. */
|
|
34
|
-
icon?: BloomIconComponent;
|
|
35
|
-
/** Stops the option being chosen, and dims it. */
|
|
36
|
-
disabled?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* WHY it cannot be chosen — "The load is 45 kg; this takes 25."
|
|
39
|
-
*
|
|
40
|
-
* A disabled option with no reason is a dead end: the row the user wants is
|
|
41
|
-
* greyed out and the screen does not say what to change. The picker falls
|
|
42
|
-
* back to `labels.unavailable` so nothing is silent, but the fallback says
|
|
43
|
-
* only THAT it is unavailable, which is the half that was already visible.
|
|
44
|
-
*/
|
|
45
|
-
unavailableReason?: string;
|
|
46
|
-
}
|
|
47
|
-
/** Every word the picker speaks, in one prop. All of it is copy an app localises. */
|
|
48
|
-
export interface VehiclePickerLabels {
|
|
49
|
-
/** Before the `priceFrom` amount (`"From"` in English). */
|
|
50
|
-
from?: string;
|
|
51
|
-
/** Names the `fits` chip row, per option (`` (label) => `What fits in a ${label}` `` in English). */
|
|
52
|
-
fits?: (label: string) => string;
|
|
53
|
-
/** The reason fallback on a disabled option with none (`"Not available for this load"` in English). */
|
|
54
|
-
unavailable?: string;
|
|
55
|
-
}
|
|
56
|
-
export interface VehiclePickerProps<T extends string = VehicleKind> {
|
|
57
|
-
/** The chosen vehicle, or `null` while none is. Fully controlled. */
|
|
58
|
-
value: T | null;
|
|
59
|
-
/** Called with the chosen vehicle. Never called with the value already chosen. */
|
|
60
|
-
onValueChange: (value: T) => void;
|
|
61
|
-
/** The vehicles, in the order they should be read. Default {@link VEHICLE_OPTIONS}, in the resolved locale's words. */
|
|
62
|
-
options?: readonly VehicleOption<T>[];
|
|
63
|
-
/**
|
|
64
|
-
* A heading over the list, drawn the way a search panel's pickers draw theirs
|
|
65
|
-
* — `body-semibold` over a `body-2-regular` description. Without it the
|
|
66
|
-
* caller owns the heading and the picker starts at its first option.
|
|
67
|
-
*/
|
|
68
|
-
title?: string;
|
|
69
|
-
description?: string;
|
|
70
|
-
/** Dims and stops every option, whatever each one says. */
|
|
71
|
-
disabled?: boolean;
|
|
72
|
-
labels?: VehiclePickerLabels;
|
|
73
|
-
/**
|
|
74
|
-
* Names the group (`"Vehicle"` in English) — and it matters even when `title` is
|
|
75
|
-
* drawn, because a heading beside a group is a sibling, not a label.
|
|
76
|
-
*/
|
|
77
|
-
accessibilityLabel?: string;
|
|
78
|
-
style?: StyleProp<ViewStyle>;
|
|
79
|
-
/** Derives `-<value>` for each option. */
|
|
80
|
-
testID?: string;
|
|
81
|
-
}
|
|
82
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/vehicle-picker/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE;;;;;;;;GAQG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,UAAU,GAAG,cAAc,CAAC;AAE/E,MAAM,WAAW,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,WAAW;IAC3D,kEAAkE;IAClE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ACjB"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { CarrierQuoteCardProps } from './types.js';
|
|
3
|
-
declare function CarrierQuoteCardComponent({ quote, onAccept, onMessage, onDecline, onPressCarrier, breakdown, defaultBreakdownExpanded, density, selected, disabled, actions, labels: labelOverrides, accessibilityLabel, style, testID, }: CarrierQuoteCardProps): React.JSX.Element;
|
|
4
|
-
export declare const CarrierQuoteCard: React.MemoExoticComponent<typeof CarrierQuoteCardComponent>;
|
|
5
|
-
export {};
|
|
6
|
-
//# sourceMappingURL=CarrierQuoteCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarrierQuoteCard.d.ts","sourceRoot":"","sources":["../../../../src/carrier-quote/CarrierQuoteCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AAqCxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAS,CAAC;AA4DrD,iBAAS,yBAAyB,CAAC,EACjC,KAAK,EACL,QAAQ,EACR,SAAS,EACT,SAAS,EACT,cAAc,EACd,SAAS,EACT,wBAAgC,EAChC,OAAuB,EACvB,QAAgB,EAChB,QAAgB,EAChB,OAAO,EACP,MAAM,EAAE,cAAc,EACtB,kBAAkB,EAClB,KAAK,EACL,MAAM,GACP,EAAE,qBAAqB,qBAyavB;AAkBD,eAAO,MAAM,gBAAgB,6DAAkC,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { CarrierQuoteListProps } from './types.js';
|
|
3
|
-
/**
|
|
4
|
-
* The offers on one job, ordered, marked and counted.
|
|
5
|
-
*
|
|
6
|
-
* head the count at `body-semibold` on the left, the order as a
|
|
7
|
-
* `radiogroup` of chips on the right; both wrap onto their own line
|
|
8
|
-
* under 420
|
|
9
|
-
* list the cards, 12 apart, each one handed the marks the SET earned
|
|
10
|
-
* loading placeholder cards of the same height, announced `busy` — not a
|
|
11
|
-
* spinner, because the answer arriving is a list and a list is what
|
|
12
|
-
* should be reserved for it
|
|
13
|
-
* empty a tinted glyph disc over one line of explanation and the caller's
|
|
14
|
-
* own action; an empty offers list is a WAIT, not a failure, so it
|
|
15
|
-
* says what happens next rather than what went wrong
|
|
16
|
-
*
|
|
17
|
-
* **THE ORDER IS THIS COMPONENT'S, NOT THE CALLER'S.** `quotes` arrives in
|
|
18
|
-
* whatever order the app has; `sortCarrierQuotes` puts it in the chosen one and
|
|
19
|
-
* is stable, so two equal offers never swap places on a re-render.
|
|
20
|
-
*
|
|
21
|
-
* **THE MARKS ARE A STATEMENT ABOUT THE SET.** `cheapest` and `fastest` are
|
|
22
|
-
* derived here from `priceValue` / `etaMinutes` — numbers the app supplies for
|
|
23
|
-
* comparison and this family never draws — and every offer tied at a minimum
|
|
24
|
-
* is marked. A card cannot mark itself: it has never seen the others.
|
|
25
|
-
*/
|
|
26
|
-
declare function CarrierQuoteListComponent({ quotes, sort: sortProp, defaultSort, onSortChange, sortOptions, showCount, marks, loading, loadingCount, onAccept, onMessage, onDecline, onPressCarrier, selectedId, density, breakdown, emptyTitle: emptyTitleProp, emptyDescription: emptyDescriptionProp, emptyAction, labels: labelOverrides, accessibilityLabel: accessibilityLabelProp, style, testID, }: CarrierQuoteListProps): React.JSX.Element;
|
|
27
|
-
export declare const CarrierQuoteList: React.MemoExoticComponent<typeof CarrierQuoteListComponent>;
|
|
28
|
-
export {};
|
|
29
|
-
//# sourceMappingURL=CarrierQuoteList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarrierQuoteList.d.ts","sourceRoot":"","sources":["../../../../src/carrier-quote/CarrierQuoteList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAe7C,OAAO,KAAK,EAAE,qBAAqB,EAAoB,MAAM,YAAS,CAAC;AAIvE;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,iBAAS,yBAAyB,CAAC,EACjC,MAAM,EACN,IAAI,EAAE,QAAQ,EACd,WAAqB,EACrB,YAAY,EACZ,WAAiC,EACjC,SAAgB,EAChB,KAAY,EACZ,OAAe,EACf,YAAgB,EAChB,QAAQ,EACR,SAAS,EACT,SAAS,EACT,cAAc,EACd,UAAiB,EACjB,OAAuB,EACvB,SAAS,EACT,UAAU,EAAE,cAAc,EAC1B,gBAAgB,EAAE,oBAAoB,EACtC,WAAW,EACX,MAAM,EAAE,cAAc,EACtB,kBAAkB,EAAE,sBAAsB,EAC1C,KAAK,EACL,MAAM,GACP,EAAE,qBAAqB,qBAwMvB;AAED,eAAO,MAAM,gBAAgB,6DAAkC,CAAC"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { AccentTone } from '../theme/accent-colors.js';
|
|
2
|
-
import type { CarrierQuoteLabels, CarrierQuoteMark, CarrierQuoteSort } from './types.js';
|
|
3
|
-
/**
|
|
4
|
-
* Every default word the card and the list draw, in English. The components
|
|
5
|
-
* speak the locale's (`CARRIER_QUOTE_MESSAGES`, via `BloomProvider locale`).
|
|
6
|
-
*/
|
|
7
|
-
export declare const CARRIER_QUOTE_LABELS: Required<Omit<CarrierQuoteLabels, 'marks' | 'sortOptions'>> & {
|
|
8
|
-
marks: Record<CarrierQuoteMark, string>;
|
|
9
|
-
sortOptions: Record<CarrierQuoteSort, string>;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* The tone each mark is painted in.
|
|
13
|
-
*
|
|
14
|
-
* Two marks, two different things: money is `success` because a lower number is
|
|
15
|
-
* unambiguously in the reader's favour, time is `info` because "fastest" is a
|
|
16
|
-
* fact rather than a recommendation — a reader who is not in a hurry should not
|
|
17
|
-
* see it painted as the good answer.
|
|
18
|
-
*/
|
|
19
|
-
export declare const CARRIER_QUOTE_MARK_TONE: Record<CarrierQuoteMark, AccentTone>;
|
|
20
|
-
/** The order the marks are drawn in, so two marked quotes never disagree. */
|
|
21
|
-
export declare const CARRIER_QUOTE_MARK_ORDER: readonly CarrierQuoteMark[];
|
|
22
|
-
/** The three orders a list offers, in the order they are drawn. */
|
|
23
|
-
export declare const CARRIER_QUOTE_SORTS: readonly CarrierQuoteSort[];
|
|
24
|
-
/**
|
|
25
|
-
* The card's geometry, as numbers rather than as prose.
|
|
26
|
-
*
|
|
27
|
-
* `narrowWidth` is the card's OWN width under which the actions drop their
|
|
28
|
-
* labels to glyphs and the tiles stack two by two — one measurement for both,
|
|
29
|
-
* because a card too narrow for three tiles is too narrow for three labelled
|
|
30
|
-
* buttons beside a 48 mark. `avatar` is the mark: 48 on the card, 36 in a
|
|
31
|
-
* compact row, which is the rung a list item uses everywhere else in Bloom.
|
|
32
|
-
*/
|
|
33
|
-
export declare const CARRIER_QUOTE_GEOMETRY: {
|
|
34
|
-
readonly padding: 16;
|
|
35
|
-
readonly gap: 16;
|
|
36
|
-
readonly tileGap: 8;
|
|
37
|
-
readonly tilePadding: 12;
|
|
38
|
-
readonly tileRadius: 12;
|
|
39
|
-
readonly radius: 20;
|
|
40
|
-
readonly narrowWidth: 420;
|
|
41
|
-
readonly avatar: {
|
|
42
|
-
readonly comfortable: 48;
|
|
43
|
-
readonly compact: 36;
|
|
44
|
-
};
|
|
45
|
-
readonly rowMinHeight: 64;
|
|
46
|
-
/** The drawn size of an action; a `hitSlop` takes it to 44 for a thumb. */
|
|
47
|
-
readonly actionHit: {
|
|
48
|
-
readonly top: 6;
|
|
49
|
-
readonly bottom: 6;
|
|
50
|
-
readonly left: 6;
|
|
51
|
-
readonly right: 6;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
export type CarrierQuoteGeometry = typeof CARRIER_QUOTE_GEOMETRY;
|
|
55
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/carrier-quote/constants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,YAAS,CAAC;AAGtF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,aAAa,CAAC,CAAC,GAAG;IAC/F,KAAK,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC;IACxC,WAAW,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC;CACZ,CAAC;AAErC;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,gBAAgB,EAAE,UAAU,CAGxE,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,wBAAwB,EAAE,SAAS,gBAAgB,EAA4B,CAAC;AAE7F,mEAAmE;AACnE,eAAO,MAAM,mBAAmB,EAAE,SAAS,gBAAgB,EAA+B,CAAC;AAE3F;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;IAUjC,2EAA2E;;;;;;;CAEnE,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,OAAO,sBAAsB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { CarrierQuoteCard } from './CarrierQuoteCard.js';
|
|
2
|
-
export { CarrierQuoteList } from './CarrierQuoteList.js';
|
|
3
|
-
export { CARRIER_QUOTE_GEOMETRY, CARRIER_QUOTE_LABELS, CARRIER_QUOTE_MARK_ORDER, CARRIER_QUOTE_MARK_TONE, CARRIER_QUOTE_SORTS, } from './constants.js';
|
|
4
|
-
export type { CarrierQuoteGeometry } from './constants.js';
|
|
5
|
-
export { carrierActionsAreLabelled, markCarrierQuotes, orderCarrierMarks, resolveCarrierQuotePaint, sortCarrierQuotes, } from './shared.js';
|
|
6
|
-
export type { CarrierQuotePaint } from './shared.js';
|
|
7
|
-
export type { CarrierQuote, CarrierQuoteCardProps, CarrierQuoteCarrier, CarrierQuoteDensity, CarrierQuoteLabels, CarrierQuoteListProps, CarrierQuoteMark, CarrierQuoteSort, } from './types.js';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/carrier-quote/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAoB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAoB,CAAC;AACtD,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,wBAAwB,EACxB,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,gBAAa,CAAC;AACrB,YAAY,EAAE,oBAAoB,EAAE,MAAM,gBAAa,CAAC;AACxD,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,iBAAiB,EACjB,wBAAwB,EACxB,iBAAiB,GAClB,MAAM,aAAU,CAAC;AAClB,YAAY,EAAE,iBAAiB,EAAE,MAAM,aAAU,CAAC;AAClD,YAAY,EACV,YAAY,EACZ,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,YAAS,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { type MessageCatalog } from '../locale/messages.js';
|
|
2
|
-
import type { CarrierQuoteMark, CarrierQuoteSort } from './types.js';
|
|
3
|
-
/**
|
|
4
|
-
* Every fixed string the carrier-quote card and list draw or announce, in each
|
|
5
|
-
* Bloom language. `labels` has the shape of `CARRIER_QUOTE_LABELS` (the English
|
|
6
|
-
* entry); a caller's `labels` / `emptyTitle` / `accessibilityLabel` still win.
|
|
7
|
-
*/
|
|
8
|
-
export interface CarrierQuoteMessages {
|
|
9
|
-
labels: {
|
|
10
|
-
accept: string;
|
|
11
|
-
message: string;
|
|
12
|
-
decline: string;
|
|
13
|
-
pickup: string;
|
|
14
|
-
eta: string;
|
|
15
|
-
vehicle: string;
|
|
16
|
-
jobs: (jobs: string) => string;
|
|
17
|
-
verified: string;
|
|
18
|
-
marks: Record<CarrierQuoteMark, string>;
|
|
19
|
-
showPrice: string;
|
|
20
|
-
hidePrice: string;
|
|
21
|
-
/** Kept for the `labels.priceDetails` override; the default name is `priceDetailsFor`. */
|
|
22
|
-
priceDetails: string;
|
|
23
|
-
sort: string;
|
|
24
|
-
sortOptions: Record<CarrierQuoteSort, string>;
|
|
25
|
-
count: (count: number) => string;
|
|
26
|
-
loading: string;
|
|
27
|
-
};
|
|
28
|
-
emptyTitle: string;
|
|
29
|
-
emptyDescription: string;
|
|
30
|
-
/** Names the list. */
|
|
31
|
-
list: string;
|
|
32
|
-
/** Names a card's price-breakdown toggle, as one phrase per language. */
|
|
33
|
-
priceDetailsFor: (name: string) => string;
|
|
34
|
-
/** The carrier's rating in its name: "4.8 out of 5". */
|
|
35
|
-
rating: (rating: string) => string;
|
|
36
|
-
}
|
|
37
|
-
export declare const CARRIER_QUOTE_MESSAGES: MessageCatalog<CarrierQuoteMessages>;
|
|
38
|
-
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../src/carrier-quote/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,uBAAoB,CAAC;AAEzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,YAAS,CAAC;AAElE;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,GAAG,EAAE,MAAM,CAAC;QACZ,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAA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