@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,79 +0,0 @@
|
|
|
1
|
-
import type { AccentTone } from '../theme/accent-colors.js';
|
|
2
|
-
import type { VehicleKind } from '../vehicle-picker/index.js';
|
|
3
|
-
import type { JobBoardBand, JobBoardLabels, JobBoardSort, JobOfferState } from './types.js';
|
|
4
|
-
import { type JobBoardMessages } from './messages.js';
|
|
5
|
-
/**
|
|
6
|
-
* Every default word the card and the board draw, in English. The components
|
|
7
|
-
* speak the locale's (`JOB_BOARD_MESSAGES`, via `BloomProvider locale`).
|
|
8
|
-
*/
|
|
9
|
-
export declare const JOB_BOARD_LABELS: Required<Omit<JobBoardLabels, 'state' | 'sortOptions' | 'filters'>> & {
|
|
10
|
-
state: Record<Exclude<JobOfferState, 'open'>, string>;
|
|
11
|
-
sortOptions: Record<JobBoardSort, string>;
|
|
12
|
-
filters: Required<NonNullable<JobBoardLabels['filters']>>;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* The tone a closed job is painted in.
|
|
16
|
-
*
|
|
17
|
-
* `taken` is the DEFAULT neutral: someone else got there first, which is an outcome of a
|
|
18
|
-
* marketplace working rather than something that went wrong. `expired` is
|
|
19
|
-
* `warning`, because the offer ran out while the reader was looking at it and
|
|
20
|
-
* that is the one closure a refresh would have prevented.
|
|
21
|
-
*/
|
|
22
|
-
export declare const JOB_STATE_TONE: Record<Exclude<JobOfferState, 'open'>, AccentTone>;
|
|
23
|
-
/** The four orders a board offers, in the order they are drawn. */
|
|
24
|
-
export declare const JOB_BOARD_SORTS: readonly JobBoardSort[];
|
|
25
|
-
/**
|
|
26
|
-
* The default distance bands.
|
|
27
|
-
*
|
|
28
|
-
* Four rungs rather than a slider: a courier does not think in a continuum, they
|
|
29
|
-
* think "in my street", "in my quarter", "across town" and "anywhere". Kilometres
|
|
30
|
-
* are the unit `distanceKm` is compared in; an app on miles supplies its own
|
|
31
|
-
* bands and its own words.
|
|
32
|
-
*/
|
|
33
|
-
/** The default distance bands, in the words of `text` (a `JOB_BOARD_MESSAGES` entry). */
|
|
34
|
-
export declare function jobDistanceBands(text: JobBoardMessages): readonly JobBoardBand[];
|
|
35
|
-
/** The default distance bands, in English; the board speaks the locale's. */
|
|
36
|
-
export declare const JOB_DISTANCE_BANDS: readonly JobBoardBand[];
|
|
37
|
-
/** The default when bands, in minutes from now. */
|
|
38
|
-
/** The default start-time bands, in the words of `text`. */
|
|
39
|
-
export declare function jobWhenBands(text: JobBoardMessages): readonly JobBoardBand[];
|
|
40
|
-
/** The default start-time bands, in English; the board speaks the locale's. */
|
|
41
|
-
export declare const JOB_WHEN_BANDS: readonly JobBoardBand[];
|
|
42
|
-
/** The vehicles a board filters on by default, smallest first. */
|
|
43
|
-
export declare const JOB_VEHICLE_KINDS: readonly VehicleKind[];
|
|
44
|
-
/**
|
|
45
|
-
* The card's geometry, as numbers rather than as prose.
|
|
46
|
-
*
|
|
47
|
-
* `narrowWidth` is the card's OWN width under which the actions drop their
|
|
48
|
-
* labels to glyphs and the tiles stack two by two — the same measurement for
|
|
49
|
-
* both, and the same 420 `carrier-quote` uses, because the two cards are the
|
|
50
|
-
* same object seen from the two sides of the table and a reader moving between
|
|
51
|
-
* them must not meet two different breakpoints. `mark` is the vehicle tile: 48
|
|
52
|
-
* on the card, where the carrier's card puts the 48 avatar, and 36 in a compact
|
|
53
|
-
* row.
|
|
54
|
-
*/
|
|
55
|
-
export declare const JOB_BOARD_GEOMETRY: {
|
|
56
|
-
readonly padding: 16;
|
|
57
|
-
readonly gap: 16;
|
|
58
|
-
readonly tileGap: 8;
|
|
59
|
-
readonly tilePadding: 12;
|
|
60
|
-
readonly tileRadius: 12;
|
|
61
|
-
readonly radius: 20;
|
|
62
|
-
readonly narrowWidth: 420;
|
|
63
|
-
readonly mark: {
|
|
64
|
-
readonly comfortable: 48;
|
|
65
|
-
readonly compact: 36;
|
|
66
|
-
};
|
|
67
|
-
readonly rowMinHeight: 64;
|
|
68
|
-
/** The drawn size of an action; a `hitSlop` takes it to 44 for a thumb. */
|
|
69
|
-
readonly actionHit: {
|
|
70
|
-
readonly top: 6;
|
|
71
|
-
readonly bottom: 6;
|
|
72
|
-
readonly left: 6;
|
|
73
|
-
readonly right: 6;
|
|
74
|
-
};
|
|
75
|
-
/** The refresh control's target. */
|
|
76
|
-
readonly refresh: 40;
|
|
77
|
-
};
|
|
78
|
-
export type JobBoardGeometry = typeof JOB_BOARD_GEOMETRY;
|
|
79
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/job-board/constants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,YAAS,CAAC;AACzF,OAAO,EAAsB,KAAK,gBAAgB,EAAE,MAAM,eAAY,CAAC;AAEvE;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CACrC,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,aAAa,GAAG,SAAS,CAAC,CAC1D,GAAG;IACF,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,aAAa,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IACtD,WAAW,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAC1C,OAAO,EAAE,QAAQ,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;CAC5B,CAAC;AAEjC;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,OAAO,CAAC,aAAa,EAAE,MAAM,CAAC,EAAE,UAAU,CAG7E,CAAC;AAEF,mEAAmE;AACnE,eAAO,MAAM,eAAe,EAAE,SAAS,YAAY,EAA+C,CAAC;AAEnG;;;;;;;GAOG;AACH,yFAAyF;AACzF,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,gBAAgB,GAAG,SAAS,YAAY,EAAE,CAOhF;AAED,6EAA6E;AAC7E,eAAO,MAAM,kBAAkB,EAAE,SAAS,YAAY,EAA4C,CAAC;AAEnG,mDAAmD;AACnD,4DAA4D;AAC5D,wBAAgB,YAAY,CAAC,IAAI,EAAE,gBAAgB,GAAG,SAAS,YAAY,EAAE,CAO5E;AAED,+EAA+E;AAC/E,eAAO,MAAM,cAAc,EAAE,SAAS,YAAY,EAAwC,CAAC;AAE3F,kEAAkE;AAClE,eAAO,MAAM,iBAAiB,EAAE,SAAS,WAAW,EAMnD,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;IAU7B,2EAA2E;;;;;;;IAE3E,oCAAoC;;CAE5B,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,OAAO,kBAAkB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { JobBoard } from './JobBoard.js';
|
|
2
|
-
export { JobCard } from './JobCard.js';
|
|
3
|
-
export { JOB_BOARD_GEOMETRY, JOB_BOARD_LABELS, JOB_BOARD_SORTS, JOB_DISTANCE_BANDS, JOB_STATE_TONE, JOB_VEHICLE_KINDS, JOB_WHEN_BANDS, } from './constants.js';
|
|
4
|
-
export type { JobBoardGeometry } from './constants.js';
|
|
5
|
-
export { countActiveJobFilters, filterJobOffers, jobActionsAreLabelled, joinJobName, resolveJobPaint, sortJobOffers, toggleJobVehicle, } from './shared.js';
|
|
6
|
-
export type { JobPaint } from './shared.js';
|
|
7
|
-
export type { JobBoardBand, JobBoardFilter, JobBoardLabels, JobBoardProps, JobBoardSort, JobCardDensity, JobCardProps, JobOffer, JobOfferState, JobPlace, } from './types.js';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/job-board/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAW,CAAC;AACpC,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,cAAc,GACf,MAAM,gBAAa,CAAC;AACrB,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAa,CAAC;AACpD,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,aAAa,EACb,gBAAgB,GACjB,MAAM,aAAU,CAAC;AAClB,YAAY,EAAE,QAAQ,EAAE,MAAM,aAAU,CAAC;AACzC,YAAY,EACV,YAAY,EACZ,cAAc,EACd,cAAc,EACd,aAAa,EACb,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,QAAQ,GACT,MAAM,YAAS,CAAC"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { type MessageCatalog } from '../locale/messages.js';
|
|
2
|
-
import type { JobBoardSort, JobOfferState } from './types.js';
|
|
3
|
-
/**
|
|
4
|
-
* Every fixed string the job board and its cards draw or announce, in each
|
|
5
|
-
* Bloom language. `labels` has the shape of `JOB_BOARD_LABELS` (the English
|
|
6
|
-
* entry); a caller's `labels` / `emptyTitle` / `accessibilityLabel` still win.
|
|
7
|
-
*/
|
|
8
|
-
export interface JobBoardMessages {
|
|
9
|
-
labels: {
|
|
10
|
-
take: string;
|
|
11
|
-
pass: string;
|
|
12
|
-
distance: string;
|
|
13
|
-
duration: string;
|
|
14
|
-
window: string;
|
|
15
|
-
pickup: string;
|
|
16
|
-
dropoff: string;
|
|
17
|
-
state: Record<Exclude<JobOfferState, 'open'>, string>;
|
|
18
|
-
showPay: string;
|
|
19
|
-
hidePay: string;
|
|
20
|
-
/** Kept for the `labels.payDetails` override; the default name is `payDetailsFor`. */
|
|
21
|
-
payDetails: string;
|
|
22
|
-
sort: string;
|
|
23
|
-
filtersToggle: string;
|
|
24
|
-
filtersActive: (count: number) => string;
|
|
25
|
-
sortOptions: Record<JobBoardSort, string>;
|
|
26
|
-
filters: {
|
|
27
|
-
distance: string;
|
|
28
|
-
pay: string;
|
|
29
|
-
when: string;
|
|
30
|
-
vehicle: string;
|
|
31
|
-
};
|
|
32
|
-
clearFilters: string;
|
|
33
|
-
refresh: string;
|
|
34
|
-
count: (count: number) => string;
|
|
35
|
-
loading: string;
|
|
36
|
-
};
|
|
37
|
-
emptyTitle: string;
|
|
38
|
-
emptyDescription: string;
|
|
39
|
-
/** Names the board. */
|
|
40
|
-
list: string;
|
|
41
|
-
/** Names a card's pay-breakdown toggle, as one phrase per language. */
|
|
42
|
-
payDetailsFor: (load: string) => string;
|
|
43
|
-
/** Names the pick-up/drop-off pair, joined the language's way. */
|
|
44
|
-
route: (pickup: string, dropoff: string) => string;
|
|
45
|
-
/** The default filter bands' words. */
|
|
46
|
-
bands: {
|
|
47
|
-
anyDistance: string;
|
|
48
|
-
underKm: (km: number) => string;
|
|
49
|
-
anyTime: string;
|
|
50
|
-
withinHour: string;
|
|
51
|
-
nextHours: (hours: number) => string;
|
|
52
|
-
today: string;
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
export declare const JOB_BOARD_MESSAGES: MessageCatalog<JobBoardMessages>;
|
|
56
|
-
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../src/job-board/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,uBAAoB,CAAC;AAEzE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,YAAS,CAAC;AAE3D;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,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,MAAM,KAAK,MAAM,CAAC;QACrC,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAED,eAAO,MAAM,kBAAkB,EAAE,cAAc,CAAC,gBAAgB,CA2C5D,CAAC"}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import type { SurfaceTextPaint } from '../styles/surface-levels.js';
|
|
2
|
-
import type { Theme } from '../theme/types.js';
|
|
3
|
-
import type { JobBoardFilter, JobBoardSort, JobOffer } from './types.js';
|
|
4
|
-
export interface JobPaint {
|
|
5
|
-
/** The fill the content lands on — the card's, or the ambient one at compact. */
|
|
6
|
-
surface: string;
|
|
7
|
-
/** The rule over the action footer, and the breakdown's own divider. */
|
|
8
|
-
hairline: string;
|
|
9
|
-
/** The next fill UP: a tile, the mark, the wash a bare press target takes. */
|
|
10
|
-
tile: string;
|
|
11
|
-
text: string;
|
|
12
|
-
textSecondary: string;
|
|
13
|
-
textTertiary: string;
|
|
14
|
-
/** The text rungs that clear AA on a TILE, which is not the card's fill. */
|
|
15
|
-
tileText: SurfaceTextPaint;
|
|
16
|
-
/** The looked-at card's border, and the focus ring. */
|
|
17
|
-
accent: string;
|
|
18
|
-
}
|
|
19
|
-
export declare function resolveJobPaint(theme: Theme, surface: string): JobPaint;
|
|
20
|
-
/**
|
|
21
|
-
* Whether the card's actions carry their LABELS at this width.
|
|
22
|
-
*
|
|
23
|
-
* A pure function of the measured width so the threshold can be walked without
|
|
24
|
-
* a layout pass — `onLayout` never fires in jsdom, and a threshold only a
|
|
25
|
-
* browser exercises is a threshold nothing pins. Before the first layout the
|
|
26
|
-
* width is `null` and the labels are ON: an unmeasured card is one the caller
|
|
27
|
-
* has not constrained, and the label is the better of the two guesses.
|
|
28
|
-
*/
|
|
29
|
-
export declare function jobActionsAreLabelled(width: number | null, narrowWidth: number): boolean;
|
|
30
|
-
/**
|
|
31
|
-
* The jobs in the order the board draws them.
|
|
32
|
-
*
|
|
33
|
-
* Every key is a NUMBER the caller supplied for comparison only — this family
|
|
34
|
-
* never reads a formatted amount — so a job with no number for the current
|
|
35
|
-
* order cannot be placed against one that has a number, and goes LAST. Within
|
|
36
|
-
* the missing group the caller's own order is kept, because there is nothing
|
|
37
|
-
* left to sort on and re-shuffling a group of equals makes a board jump for no
|
|
38
|
-
* visible reason.
|
|
39
|
-
*
|
|
40
|
-
* PAY sorts HIGH first; everything else sorts LOW first. A courier scanning for
|
|
41
|
-
* money wants the biggest number, and scanning for distance or for time wants
|
|
42
|
-
* the smallest, so one direction for all four would be wrong three times.
|
|
43
|
-
*
|
|
44
|
-
* Stable: equal keys keep their input order.
|
|
45
|
-
*/
|
|
46
|
-
export declare function sortJobOffers(jobs: readonly JobOffer[], sort: JobBoardSort): JobOffer[];
|
|
47
|
-
/**
|
|
48
|
-
* The jobs the filter admits, in the order they arrived.
|
|
49
|
-
*
|
|
50
|
-
* **A FILTER CANNOT EXCLUDE WHAT IT CANNOT MEASURE.** A job with no
|
|
51
|
-
* `distanceKm` survives every distance band, and one with no `payValue`
|
|
52
|
-
* survives every pay floor. The alternative — dropping it — hides work from a
|
|
53
|
-
* courier because the app omitted a field, which is the failure mode of every
|
|
54
|
-
* filter that treats a missing value as a zero.
|
|
55
|
-
*
|
|
56
|
-
* The four questions are independent and combine with AND. An omitted or `null`
|
|
57
|
-
* band is "any" and asks nothing; an empty `vehicles` array is "any" too,
|
|
58
|
-
* because a filter nobody has narrowed must not empty the board.
|
|
59
|
-
*
|
|
60
|
-
* STATE IS NOT A FILTER. A taken or expired job stays: see {@link JobOfferState}.
|
|
61
|
-
*/
|
|
62
|
-
export declare function filterJobOffers(jobs: readonly JobOffer[], filter: JobBoardFilter | undefined): JobOffer[];
|
|
63
|
-
/** How many of the four dimensions the reader has narrowed. Pure. */
|
|
64
|
-
export declare function countActiveJobFilters(filter: JobBoardFilter | undefined): number;
|
|
65
|
-
/**
|
|
66
|
-
* The vehicle set after pressing one of its chips.
|
|
67
|
-
*
|
|
68
|
-
* A vehicle row is a set of TOGGLES, not a radiogroup: a courier with a van can
|
|
69
|
-
* take a bike job, and "van or box truck" is a sentence the board has to be able
|
|
70
|
-
* to say. Pressing the only selected vehicle clears the dimension rather than
|
|
71
|
-
* leaving a set nothing can be added to.
|
|
72
|
-
*/
|
|
73
|
-
export declare function toggleJobVehicle<T extends string>(vehicles: readonly T[] | undefined, vehicle: T): T[];
|
|
74
|
-
/** Joins the non-empty parts of an accessible name. */
|
|
75
|
-
export declare function joinJobName(parts: ReadonlyArray<string | number | false | null | undefined>, separator?: string): string;
|
|
76
|
-
export declare const JOB_BOARD_STYLE_ID = "bloom-job-board-web-css";
|
|
77
|
-
export declare const JOB_BOARD_WEB_CSS: string;
|
|
78
|
-
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/job-board/shared.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,YAAS,CAAC;AAEtE,MAAM,WAAW,QAAQ;IACvB,iFAAiF;IACjF,OAAO,EAAE,MAAM,CAAC;IAChB,wEAAwE;IACxE,QAAQ,EAAE,MAAM,CAAC;IACjB,8EAA8E;IAC9E,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,4EAA4E;IAC5E,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,uDAAuD;IACvD,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ,CAavE;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAExF;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,SAAS,QAAQ,EAAE,EAAE,IAAI,EAAE,YAAY,GAAG,QAAQ,EAAE,CAkBvF;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,SAAS,QAAQ,EAAE,EACzB,MAAM,EAAE,cAAc,GAAG,SAAS,GACjC,QAAQ,EAAE,CAkCZ;AAED,qEAAqE;AACrE,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,cAAc,GAAG,SAAS,GAAG,MAAM,CAQhF;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,EAC/C,QAAQ,EAAE,SAAS,CAAC,EAAE,GAAG,SAAS,EAClC,OAAO,EAAE,CAAC,GACT,CAAC,EAAE,CAKL;AAED,uDAAuD;AACvD,wBAAgB,WAAW,CACzB,KAAK,EAAE,aAAa,CAAC,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC,EAChE,SAAS,SAAO,GACf,MAAM,CAKR;AAaD,eAAO,MAAM,kBAAkB,4BAA4B,CAAC;AAE5D,eAAO,MAAM,iBAAiB,QAQ5B,CAAC"}
|
|
@@ -1,269 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import type { BloomIconComponent } from '../icons/icon-component.js';
|
|
4
|
-
import type { PriceLine, PriceTotal } from '../price-breakdown/index.js';
|
|
5
|
-
import type { VehicleKind } from '../vehicle-picker/index.js';
|
|
6
|
-
/**
|
|
7
|
-
* Where a job has got to.
|
|
8
|
-
*
|
|
9
|
-
* `open` is takeable. `taken` and `expired` are CLOSED, and they are a state
|
|
10
|
-
* rather than an absence on purpose: a job the board removed under the reader's
|
|
11
|
-
* thumb is a row that vanished mid-press, which is indistinguishable from a
|
|
12
|
-
* mis-tap. A closed job keeps its place and says what happened to it.
|
|
13
|
-
*/
|
|
14
|
-
export type JobOfferState = 'open' | 'taken' | 'expired';
|
|
15
|
-
/** What the board orders by. */
|
|
16
|
-
export type JobBoardSort = 'pay' | 'distance' | 'soonest' | 'expiring';
|
|
17
|
-
/** `comfortable` is the board; `compact` fits a sheet or a side panel. */
|
|
18
|
-
export type JobCardDensity = 'comfortable' | 'compact';
|
|
19
|
-
/**
|
|
20
|
-
* One end of the job, or a stop along it.
|
|
21
|
-
*
|
|
22
|
-
* It is the shape `RouteStops` draws and nothing more — `JobCard` hands these
|
|
23
|
-
* straight to that family rather than drawing a second pin column of its own.
|
|
24
|
-
*/
|
|
25
|
-
export interface JobPlace {
|
|
26
|
-
/** The line the stop is recognised by — "Rua das Amoreiras 12". */
|
|
27
|
-
title: string;
|
|
28
|
-
/** The rest of it — "Third floor, no lift". */
|
|
29
|
-
subtitle?: string;
|
|
30
|
-
/** A short trailing reading — "2.1 km away". */
|
|
31
|
-
meta?: string;
|
|
32
|
-
}
|
|
33
|
-
export interface JobOffer {
|
|
34
|
-
/** Identifies the job to `onTake` / `onPass` / `onPressJob`, and keys the row. */
|
|
35
|
-
id: string;
|
|
36
|
-
/** What is being moved — "Two-seater sofa", "Six catering trays". */
|
|
37
|
-
load: string;
|
|
38
|
-
/** A second line about the load — "Heavy; two people at the top floor". */
|
|
39
|
-
loadNote?: string;
|
|
40
|
-
/**
|
|
41
|
-
* What the job pays the person who takes it, PRE-FORMATTED with its currency:
|
|
42
|
-
* `"€38.40"`. Nothing in this family parses, sums, converts or rounds an
|
|
43
|
-
* amount.
|
|
44
|
-
*/
|
|
45
|
-
pay: string;
|
|
46
|
-
/** A quieter line under the pay — "Fuel and tolls included". */
|
|
47
|
-
payNote?: string;
|
|
48
|
-
/** What the pay is made of, handed to `PriceSummary` unchanged. */
|
|
49
|
-
payLines?: readonly PriceLine[];
|
|
50
|
-
/** The summary's own total row. Without it the breakdown draws the lines and no rule. */
|
|
51
|
-
payTotal?: PriceTotal;
|
|
52
|
-
/** Where it starts. */
|
|
53
|
-
pickup: JobPlace;
|
|
54
|
-
/** Where it ends. */
|
|
55
|
-
dropoff: JobPlace;
|
|
56
|
-
/** Anything between them, in order. */
|
|
57
|
-
via?: readonly JobPlace[];
|
|
58
|
-
/** How far the whole job is — "11.4 km". A reading, never a number to compare. */
|
|
59
|
-
distance?: string;
|
|
60
|
-
/** How long it should take — "about 40 min". */
|
|
61
|
-
duration?: string;
|
|
62
|
-
/** When it has to happen — "Today, 14:00–16:00". */
|
|
63
|
-
window?: string;
|
|
64
|
-
/** What it has to be carried in — "Van". Drawn beside the load. */
|
|
65
|
-
vehicle?: string;
|
|
66
|
-
/** The vehicle's glyph, drawn in the mark. Defaults to the one for `vehicleKind`. */
|
|
67
|
-
vehicleIcon?: BloomIconComponent;
|
|
68
|
-
/** The vehicle the board FILTERS on. Never drawn; `vehicle` is the words. */
|
|
69
|
-
vehicleKind?: VehicleKind;
|
|
70
|
-
/** How long the offer stands — "Open for 12 min". Drawn as a warning-toned line. */
|
|
71
|
-
expiresIn?: string;
|
|
72
|
-
/** Short nouns drawn as pills after the load — "Two people", "Fragile". */
|
|
73
|
-
tags?: readonly string[];
|
|
74
|
-
/** Default `open`. */
|
|
75
|
-
state?: JobOfferState;
|
|
76
|
-
/**
|
|
77
|
-
* The pay as a NUMBER, for ordering and for the pay filter only. Never drawn,
|
|
78
|
-
* never formatted, and in whatever unit the app compares in — this family
|
|
79
|
-
* only ever asks which of two is larger. A job without it sorts last and
|
|
80
|
-
* survives every pay filter, because a filter cannot exclude what it cannot
|
|
81
|
-
* measure.
|
|
82
|
-
*/
|
|
83
|
-
payValue?: number;
|
|
84
|
-
/** The distance in km, for ordering and the distance filter. Same rules. */
|
|
85
|
-
distanceKm?: number;
|
|
86
|
-
/** Minutes until the job STARTS, for ordering and the when filter. Same rules. */
|
|
87
|
-
startsInMinutes?: number;
|
|
88
|
-
/** Minutes until the offer CLOSES, for ordering. Same rules. */
|
|
89
|
-
expiresInMinutes?: number;
|
|
90
|
-
}
|
|
91
|
-
/** A band on one of the board's filters. `null` is the "any" rung. */
|
|
92
|
-
export interface JobBoardBand {
|
|
93
|
-
/** The ceiling this band admits, or `null` for no ceiling. */
|
|
94
|
-
value: number | null;
|
|
95
|
-
/** The words on the chip — "Under 10 km", "Within the hour". */
|
|
96
|
-
label: string;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* What the board is currently showing, as four independent questions. Every
|
|
100
|
-
* field left out is "any".
|
|
101
|
-
*/
|
|
102
|
-
export interface JobBoardFilter {
|
|
103
|
-
/** Jobs no further than this many km. */
|
|
104
|
-
maxDistanceKm?: number | null;
|
|
105
|
-
/** Jobs paying at least this, in the same unit as `payValue`. */
|
|
106
|
-
minPay?: number | null;
|
|
107
|
-
/** Jobs starting within this many minutes. */
|
|
108
|
-
startsWithinMinutes?: number | null;
|
|
109
|
-
/** Jobs for these vehicles. Empty or omitted is any. */
|
|
110
|
-
vehicles?: readonly VehicleKind[];
|
|
111
|
-
}
|
|
112
|
-
/** Every word the card and the board speak, in one prop. */
|
|
113
|
-
export interface JobBoardLabels {
|
|
114
|
-
/** The take action. Default `"Take the job"`. */
|
|
115
|
-
take?: string;
|
|
116
|
-
/** The pass action. Default `"Pass"`. */
|
|
117
|
-
pass?: string;
|
|
118
|
-
/** Over the distance tile. Default `"Distance"`. */
|
|
119
|
-
distance?: string;
|
|
120
|
-
/** Over the duration tile. Default `"Time"`. */
|
|
121
|
-
duration?: string;
|
|
122
|
-
/** Over the window tile. Default `"Window"`. */
|
|
123
|
-
window?: string;
|
|
124
|
-
/** The pick-up stop's position. Default `"Pick-up"`. */
|
|
125
|
-
pickup?: string;
|
|
126
|
-
/** The drop-off stop's position. Default `"Drop-off"`. */
|
|
127
|
-
dropoff?: string;
|
|
128
|
-
/** The state a closed job announces. Defaults `"Taken"` and `"Expired"`. */
|
|
129
|
-
state?: Partial<Record<Exclude<JobOfferState, 'open'>, string>>;
|
|
130
|
-
/** The breakdown disclosure. Defaults `"Show what it pays"` / `"Hide what it pays"`. */
|
|
131
|
-
showPay?: string;
|
|
132
|
-
hidePay?: string;
|
|
133
|
-
/** Names the itemisation, before the load. Default `"Pay for"`. */
|
|
134
|
-
payDetails?: string;
|
|
135
|
-
/** The sort control's name. Default `"Sort jobs"`. */
|
|
136
|
-
sort?: string;
|
|
137
|
-
/** The filter disclosure. Default `"Filters"`. */
|
|
138
|
-
filtersToggle?: string;
|
|
139
|
-
/**
|
|
140
|
-
* Added to the disclosure's NAME when some dimensions are narrowed — the
|
|
141
|
-
* count is drawn as a bare numeral, which says nothing on its own. Default
|
|
142
|
-
* `` (count) => `${count} applied` ``.
|
|
143
|
-
*/
|
|
144
|
-
filtersActive?: (count: number) => string;
|
|
145
|
-
/** The sort options. Defaults `"Best paid"`, `"Nearest"`, `"Starting soonest"`, `"Closing soonest"`. */
|
|
146
|
-
sortOptions?: Partial<Record<JobBoardSort, string>>;
|
|
147
|
-
/** Names each filter row. Defaults `"Distance"`, `"Pay"`, `"When"`, `"Vehicle"`. */
|
|
148
|
-
filters?: {
|
|
149
|
-
distance?: string;
|
|
150
|
-
pay?: string;
|
|
151
|
-
when?: string;
|
|
152
|
-
vehicle?: string;
|
|
153
|
-
};
|
|
154
|
-
/** The control that puts every filter back to "any". Default `"Clear filters"`. */
|
|
155
|
-
clearFilters?: string;
|
|
156
|
-
/** The refresh control's name — it draws a glyph and no text. Default `"Refresh the board"`. */
|
|
157
|
-
refresh?: string;
|
|
158
|
-
/** The board's heading. Default `` (count) => count === 1 ? '1 job' : `${count} jobs` ``. */
|
|
159
|
-
count?: (count: number) => string;
|
|
160
|
-
/** The loading board's name. Default `"Loading jobs"`. */
|
|
161
|
-
loading?: string;
|
|
162
|
-
}
|
|
163
|
-
export interface JobCardProps {
|
|
164
|
-
/** The job. */
|
|
165
|
-
job: JobOffer;
|
|
166
|
-
/** Draws the take action. Called with the job's id. Never drawn on a closed job. */
|
|
167
|
-
onTake?: (id: string) => void;
|
|
168
|
-
/** Draws the pass action. Called with the job's id. */
|
|
169
|
-
onPass?: (id: string) => void;
|
|
170
|
-
/** Makes the load block pressable — an app opens the job's detail from here. */
|
|
171
|
-
onPressJob?: (id: string) => void;
|
|
172
|
-
/** Draws the route between the job's ends. Default `true` at `comfortable`. */
|
|
173
|
-
route?: boolean;
|
|
174
|
-
/**
|
|
175
|
-
* Draws the itemisation behind a disclosure under the tiles. Default `true`
|
|
176
|
-
* when the job carries `payLines`; `false` never draws it.
|
|
177
|
-
*/
|
|
178
|
-
breakdown?: boolean;
|
|
179
|
-
/** Starts the breakdown open. Default `false`. */
|
|
180
|
-
defaultBreakdownExpanded?: boolean;
|
|
181
|
-
/** Default `comfortable`. */
|
|
182
|
-
density?: JobCardDensity;
|
|
183
|
-
/** Paints the card as the job being looked at: the accent border. */
|
|
184
|
-
selected?: boolean;
|
|
185
|
-
/** Dims the card and stops every action, whatever the job's own state says. */
|
|
186
|
-
disabled?: boolean;
|
|
187
|
-
/** Replaces the two built-in actions entirely. */
|
|
188
|
-
actions?: ReactNode;
|
|
189
|
-
labels?: JobBoardLabels;
|
|
190
|
-
/** Overrides the composed name of the load block. */
|
|
191
|
-
accessibilityLabel?: string;
|
|
192
|
-
style?: StyleProp<ViewStyle>;
|
|
193
|
-
testID?: string;
|
|
194
|
-
}
|
|
195
|
-
export interface JobBoardProps {
|
|
196
|
-
/** The work on offer. Order is the board's, not the caller's — see `sort`. */
|
|
197
|
-
jobs: readonly JobOffer[];
|
|
198
|
-
/** Controlled sort. */
|
|
199
|
-
sort?: JobBoardSort;
|
|
200
|
-
/** Uncontrolled initial sort. Default `pay`. */
|
|
201
|
-
defaultSort?: JobBoardSort;
|
|
202
|
-
onSortChange?: (sort: JobBoardSort) => void;
|
|
203
|
-
/**
|
|
204
|
-
* Which orders are offered, in the order they are drawn. Default all four.
|
|
205
|
-
* An empty array draws no sort control.
|
|
206
|
-
*/
|
|
207
|
-
sortOptions?: readonly JobBoardSort[];
|
|
208
|
-
/** Controlled filter. */
|
|
209
|
-
filter?: JobBoardFilter;
|
|
210
|
-
/** Uncontrolled initial filter. Default: every dimension "any". */
|
|
211
|
-
defaultFilter?: JobBoardFilter;
|
|
212
|
-
onFilterChange?: (filter: JobBoardFilter) => void;
|
|
213
|
-
/** The distance bands. Default {@link JOB_DISTANCE_BANDS}. Fewer than two draws no row. */
|
|
214
|
-
distanceBands?: readonly JobBoardBand[];
|
|
215
|
-
/**
|
|
216
|
-
* The pay bands. NO DEFAULT: a band is words plus an amount, and the amount
|
|
217
|
-
* is the app's currency, so a default here would invent one. Fewer than two
|
|
218
|
-
* draws no row.
|
|
219
|
-
*/
|
|
220
|
-
payBands?: readonly JobBoardBand[];
|
|
221
|
-
/** The when bands. Default {@link JOB_WHEN_BANDS}. Fewer than two draws no row. */
|
|
222
|
-
whenBands?: readonly JobBoardBand[];
|
|
223
|
-
/**
|
|
224
|
-
* Which vehicles can be filtered on, in the order they are drawn. Default the
|
|
225
|
-
* five `vehicle-picker` knows. An empty array draws no row.
|
|
226
|
-
*/
|
|
227
|
-
vehicleKinds?: readonly VehicleKind[];
|
|
228
|
-
/** Controlled filter disclosure. */
|
|
229
|
-
filtersOpen?: boolean;
|
|
230
|
-
/**
|
|
231
|
-
* Starts the filters open. Default `false` — a board is for reading work, and
|
|
232
|
-
* the four dimensions are a tool the reader opens. The control carries the
|
|
233
|
-
* count of what is narrowed, so a folded filter is never a hidden one.
|
|
234
|
-
*/
|
|
235
|
-
defaultFiltersOpen?: boolean;
|
|
236
|
-
onFiltersOpenChange?: (open: boolean) => void;
|
|
237
|
-
/** Draws the count line over the board. Default `true`. */
|
|
238
|
-
showCount?: boolean;
|
|
239
|
-
/** Draws the refresh control, and calls this. Without it there is no control. */
|
|
240
|
-
onRefresh?: () => void;
|
|
241
|
-
/** Spins the refresh glyph and disables it. */
|
|
242
|
-
refreshing?: boolean;
|
|
243
|
-
/** Replaces the board with placeholder cards. */
|
|
244
|
-
loading?: boolean;
|
|
245
|
-
/** How many placeholders. Default `3`. */
|
|
246
|
-
loadingCount?: number;
|
|
247
|
-
/** Forwarded to every card. */
|
|
248
|
-
onTake?: (id: string) => void;
|
|
249
|
-
onPass?: (id: string) => void;
|
|
250
|
-
onPressJob?: (id: string) => void;
|
|
251
|
-
/** The job being looked at, if one is. */
|
|
252
|
-
selectedId?: string | null;
|
|
253
|
-
density?: JobCardDensity;
|
|
254
|
-
route?: boolean;
|
|
255
|
-
breakdown?: boolean;
|
|
256
|
-
/** The line over the empty state. Default `"No jobs right now"`. */
|
|
257
|
-
emptyTitle?: string;
|
|
258
|
-
/** Under it. Default explains that the filters may be the reason. */
|
|
259
|
-
emptyDescription?: string;
|
|
260
|
-
/** A control under the empty state. Without one, an active filter draws the clear control there. */
|
|
261
|
-
emptyAction?: ReactNode;
|
|
262
|
-
labels?: JobBoardLabels;
|
|
263
|
-
/** Names the board. Default `"Jobs"`. */
|
|
264
|
-
accessibilityLabel?: string;
|
|
265
|
-
style?: StyleProp<ViewStyle>;
|
|
266
|
-
/** Derives `-<job id>` for each card. */
|
|
267
|
-
testID?: string;
|
|
268
|
-
}
|
|
269
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/job-board/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,4BAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,6BAAoB,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAAmB,CAAC;AAErD;;;;;;;GAOG;AACH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S,CAAC,SAAS,CAAC,CAAC;IAC7B,yCAAyC;IACzC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ProofOfDeliveryProps } from './types.js';
|
|
3
|
-
/**
|
|
4
|
-
* It happened: the proofs an app asks for at the door, and one result.
|
|
5
|
-
*
|
|
6
|
-
* heading the title and its line, when the caller gives them
|
|
7
|
-
* blocks one `Field` per proof, 20 apart, in the order the door is
|
|
8
|
-
* worked through (`PROOF_ORDER`) whatever order the caller listed
|
|
9
|
-
* them in — recipient, signature, code, photo, note
|
|
10
|
-
* summary after a confirm that could not go through, an `error`
|
|
11
|
-
* `Admonition` in a `role="alert"` naming what is still missing
|
|
12
|
-
* confirm a primary `Button`, full width
|
|
13
|
-
*
|
|
14
|
-
* Every block is an existing Bloom control asked for one thing:
|
|
15
|
-
*
|
|
16
|
-
* recipient `TextFieldInput`
|
|
17
|
-
* signature `SignaturePad` (this family's one new surface)
|
|
18
|
-
* code `InputOtp` — it already cleans, pads and reports completion
|
|
19
|
-
* photo `SortablePhotoGrid` — the app owns the picker, the grid owns
|
|
20
|
-
* the order, the per-photo upload state and the retry
|
|
21
|
-
* note `Textarea`
|
|
22
|
-
*
|
|
23
|
-
* `FileUpload` is deliberately not the photo control. It is a DROP ZONE with an
|
|
24
|
-
* upload lifecycle of its own — right for a document on a desktop, wrong at a
|
|
25
|
-
* door, where the photo comes from a camera the app opens and what has to be on
|
|
26
|
-
* screen afterwards is the picture, its upload state and a way to take another.
|
|
27
|
-
*
|
|
28
|
-
* ## Every proof is a `Field`, so being required is said once
|
|
29
|
-
*
|
|
30
|
-
* The label, the hint, the required mark, the error and the association with
|
|
31
|
-
* the control are the field's (`docs/composition.mdx`). Two of the five draw
|
|
32
|
-
* SEVERAL controls — the signature is a pad and a name, the photo is a grid —
|
|
33
|
-
* so those fields are `multiple`: one id on three inputs is invalid, and one
|
|
34
|
-
* error described by three inputs is announced three times.
|
|
35
|
-
*
|
|
36
|
-
* ## The confirm control is never disabled
|
|
37
|
-
*
|
|
38
|
-
* It fires `onSubmit` on every press, with `missing` filled in. A disabled
|
|
39
|
-
* confirm is the failure mode this avoids: the reader presses, nothing happens,
|
|
40
|
-
* and nothing on screen says why — least of all to a screen reader, which is
|
|
41
|
-
* told only that a button is dimmed. Pressing with something outstanding puts
|
|
42
|
-
* the error on each missing field AND the summary at the bottom, so the answer
|
|
43
|
-
* arrives in the same gesture that asked the question.
|
|
44
|
-
*
|
|
45
|
-
* The errors appear only AFTER the first press. A form that is red before it
|
|
46
|
-
* has been filled in is a form that is wrong about the reader.
|
|
47
|
-
*/
|
|
48
|
-
declare function ProofOfDeliveryComponent({ proofs, required, value: valueProp, defaultValue, onChange, onSubmit, onAddPhoto, onRetryPhoto, codeLength, signatureHeight, maxPhotos, submitting, disabled, title, description, actions, labels: labelOverrides, accessibilityLabel: accessibilityLabelProp, style, testID, }: ProofOfDeliveryProps): React.JSX.Element;
|
|
49
|
-
export declare const ProofOfDelivery: React.MemoExoticComponent<typeof ProofOfDeliveryComponent>;
|
|
50
|
-
export {};
|
|
51
|
-
//# sourceMappingURL=ProofOfDelivery.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProofOfDelivery.d.ts","sourceRoot":"","sources":["../../../../src/proof-of-delivery/ProofOfDelivery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAqBpE,OAAO,KAAK,EAAa,oBAAoB,EAAwB,MAAM,YAAS,CAAC;AAErF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,iBAAS,wBAAwB,CAAC,EAChC,MAAoB,EACpB,QAAa,EACb,KAAK,EAAE,SAAS,EAChB,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,UAAc,EACd,eAAe,EACf,SAAa,EACb,UAAkB,EAClB,QAAgB,EAChB,KAAK,EACL,WAAW,EACX,OAAO,EACP,MAAM,EAAE,cAAc,EACtB,kBAAkB,EAAE,sBAAsB,EAC1C,KAAK,EACL,MAAM,GACP,EAAE,oBAAoB,qBAmOtB;AAED,eAAO,MAAM,eAAe,4DAAiC,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { SignaturePadProps } from './types.js';
|
|
3
|
-
declare function SignaturePadComponent({ value: valueProp, defaultValue, onChange, onStrokeEnd, height, ink, strokeWidth, typed, disabled, labels: labelOverrides, accessibilityLabel, style, testID, }: SignaturePadProps): React.JSX.Element;
|
|
4
|
-
export declare const SignaturePad: React.MemoExoticComponent<typeof SignaturePadComponent>;
|
|
5
|
-
export {};
|
|
6
|
-
//# sourceMappingURL=SignaturePad.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SignaturePad.d.ts","sourceRoot":"","sources":["../../../../src/proof-of-delivery/SignaturePad.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AA6B5E,OAAO,KAAK,EAAE,iBAAiB,EAAmC,MAAM,YAAS,CAAC;AAmDlF,iBAAS,qBAAqB,CAAC,EAC7B,KAAK,EAAE,SAAS,EAChB,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,MAAiC,EACjC,GAAG,EACH,WAAwC,EACxC,KAAY,EACZ,QAAgB,EAChB,MAAM,EAAE,cAAc,EACtB,kBAAkB,EAClB,KAAK,EACL,MAAM,GACP,EAAE,iBAAiB,qBAmNnB;AAED,eAAO,MAAM,YAAY,yDAA8B,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { ProofKind, ProofOfDeliveryLabels } from './types.js';
|
|
2
|
-
/**
|
|
3
|
-
* Every default word the family draws, in English. The components speak
|
|
4
|
-
* `PROOF_OF_DELIVERY_MESSAGES` in the resolved locale.
|
|
5
|
-
*/
|
|
6
|
-
export declare const PROOF_LABELS: Required<ProofOfDeliveryLabels>;
|
|
7
|
-
/**
|
|
8
|
-
* The order the door is worked through, and it is not arbitrary.
|
|
9
|
-
*
|
|
10
|
-
* Recipient first, because it is the one question the courier asks out loud and
|
|
11
|
-
* the answer to it decides the rest. Then the two proofs the RECIPIENT takes
|
|
12
|
-
* part in — the signature they give and the code they read out — then the photo,
|
|
13
|
-
* which is taken after they have gone, and the note last, because it is written
|
|
14
|
-
* about everything above it.
|
|
15
|
-
*/
|
|
16
|
-
export declare const PROOF_ORDER: readonly ProofKind[];
|
|
17
|
-
/**
|
|
18
|
-
* The pad's geometry.
|
|
19
|
-
*
|
|
20
|
-
* `baseline` is where the rule sits as a fraction of the height: a signature is
|
|
21
|
-
* written ON a line, and without one a finger starts wherever it lands and the
|
|
22
|
-
* capture reads as a doodle. 0.72 leaves a descender's worth of room under it.
|
|
23
|
-
*/
|
|
24
|
-
export declare const PROOF_GEOMETRY: {
|
|
25
|
-
readonly padHeight: 180;
|
|
26
|
-
readonly padRadius: 12;
|
|
27
|
-
readonly baseline: 0.72;
|
|
28
|
-
/** How far in from each side the baseline stops. */
|
|
29
|
-
readonly baselineInset: 16;
|
|
30
|
-
readonly strokeWidth: 2.5;
|
|
31
|
-
/** Between the blocks of the form. */
|
|
32
|
-
readonly gap: 20;
|
|
33
|
-
/** Between a block's own parts. */
|
|
34
|
-
readonly blockGap: 8;
|
|
35
|
-
/**
|
|
36
|
-
* How far a finger must travel before a press becomes a stroke. Below it a
|
|
37
|
-
* single tap still records a DOT, which is what a full stop in a signature
|
|
38
|
-
* is — the threshold decides smoothing, never whether ink was laid down.
|
|
39
|
-
*/
|
|
40
|
-
readonly smoothing: 2;
|
|
41
|
-
};
|
|
42
|
-
export type ProofGeometry = typeof PROOF_GEOMETRY;
|
|
43
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/proof-of-delivery/constants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,YAAS,CAAC;AAEhE;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,qBAAqB,CAAwC,CAAC;AAElG;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,EAAE,SAAS,SAAS,EAM3C,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;;IAIzB,oDAAoD;;;IAGpD,sCAAsC;;IAEtC,mCAAmC;;IAEnC;;;;OAIG;;CAEK,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,OAAO,cAAc,CAAC"}
|