@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,178 +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
|
-
/**
|
|
5
|
-
* How fast, as a PRICED class of service — not as a loudness.
|
|
6
|
-
*
|
|
7
|
-
* `standard` is what the day's windows are unless the seller says otherwise;
|
|
8
|
-
* `express` is the window that costs more to get sooner and says so. The pair
|
|
9
|
-
* is closed because a third rung ("same day", "priority") is the same two
|
|
10
|
-
* facts — a name and a surcharge — which a window already carries in `label`
|
|
11
|
-
* and `price`.
|
|
12
|
-
*/
|
|
13
|
-
export type DeliveryTier = 'standard' | 'express';
|
|
14
|
-
/** One day across the top of the picker. */
|
|
15
|
-
export interface DeliveryDay {
|
|
16
|
-
/** Identifies the day to `onDayChange` and `day`. */
|
|
17
|
-
id: string;
|
|
18
|
-
/** The short weekday — "Fri". PRE-FORMATTED; nothing here reads a clock. */
|
|
19
|
-
weekday: string;
|
|
20
|
-
/** The date in the month — "24". Drawn in tabular figures. */
|
|
21
|
-
day: string;
|
|
22
|
-
/** Nothing left on this day: struck through, dimmed, not pressable. */
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* The spoken form. Default `"<weekday> <day>"` — pass the long one
|
|
26
|
-
* ("Friday 24 October") where the abbreviation would be read as a word.
|
|
27
|
-
*/
|
|
28
|
-
accessibilityLabel?: string;
|
|
29
|
-
testID?: string;
|
|
30
|
-
}
|
|
31
|
-
/** One window of the chosen day. */
|
|
32
|
-
export interface DeliveryWindow {
|
|
33
|
-
/** Identifies the window to `onValueChange` and `value`. */
|
|
34
|
-
id: string;
|
|
35
|
-
/** The window itself — "17:00 – 19:00". PRE-FORMATTED. */
|
|
36
|
-
label: string;
|
|
37
|
-
/** Default `standard`. */
|
|
38
|
-
tier?: DeliveryTier;
|
|
39
|
-
/**
|
|
40
|
-
* What it costs ON TOP of the order, PRE-FORMATTED and sign included:
|
|
41
|
-
* `"Free"`, `"+€2.50"`. Nothing here adds, converts or formats a number.
|
|
42
|
-
*/
|
|
43
|
-
price?: string;
|
|
44
|
-
/**
|
|
45
|
-
* How much of the window is left — `"2 left"`, `"Almost full"`. It is a
|
|
46
|
-
* string because "2 left" and "last slot" are the same fact said two ways,
|
|
47
|
-
* and only the app knows which one its couriers mean.
|
|
48
|
-
*/
|
|
49
|
-
capacity?: string;
|
|
50
|
-
/** Taken: drawn at the disabled opacity, announced as unavailable, not pressable. */
|
|
51
|
-
soldOut?: boolean;
|
|
52
|
-
/** Unavailable for a reason that is not "full" — outside a promo, too late to change. */
|
|
53
|
-
disabled?: boolean;
|
|
54
|
-
/** One more quiet line — "Leaves the depot at 16:00". */
|
|
55
|
-
note?: string;
|
|
56
|
-
/** Default: the window, its tier, its price and whatever is left, as one utterance. */
|
|
57
|
-
accessibilityLabel?: string;
|
|
58
|
-
testID?: string;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* The option that is not a window: as soon as someone can take it.
|
|
62
|
-
*
|
|
63
|
-
* It belongs to no day, so it sits at the HEAD of the options and stays there
|
|
64
|
-
* while the days change — and it is in the same radio group as the windows,
|
|
65
|
-
* because it is the same choice. It is not a second control beside them: a
|
|
66
|
-
* button labelled "ASAP" next to a group of windows is how a reader ends up
|
|
67
|
-
* with both chosen, or neither.
|
|
68
|
-
*/
|
|
69
|
-
export interface DeliveryAsapOption {
|
|
70
|
-
/** Identifies it to `onValueChange` and `value`. */
|
|
71
|
-
id: string;
|
|
72
|
-
/** Default `"As soon as possible"`. */
|
|
73
|
-
label?: string;
|
|
74
|
-
/** The reading that replaces a window — "25 – 35 min". PRE-FORMATTED. */
|
|
75
|
-
eta?: string;
|
|
76
|
-
/** Its surcharge, PRE-FORMATTED. */
|
|
77
|
-
price?: string;
|
|
78
|
-
/** Default a lightning glyph. */
|
|
79
|
-
icon?: BloomIconComponent;
|
|
80
|
-
soldOut?: boolean;
|
|
81
|
-
disabled?: boolean;
|
|
82
|
-
/** One more quiet line — "Handed to the next free courier". */
|
|
83
|
-
note?: string;
|
|
84
|
-
accessibilityLabel?: string;
|
|
85
|
-
testID?: string;
|
|
86
|
-
}
|
|
87
|
-
export interface DeliverySlotDaysProps {
|
|
88
|
-
days: readonly DeliveryDay[];
|
|
89
|
-
/** The chosen day's `id`. */
|
|
90
|
-
value?: string;
|
|
91
|
-
onChange?: (id: string) => void;
|
|
92
|
-
/** Names the strip. Default `"Day"`. */
|
|
93
|
-
accessibilityLabel?: string;
|
|
94
|
-
/** Disables every day. A day may also disable itself. */
|
|
95
|
-
disabled?: boolean;
|
|
96
|
-
/**
|
|
97
|
-
* The colour the strip's scroll fade blends into — the surface behind it.
|
|
98
|
-
* Defaults to the page background, which is wrong on a card, so say so.
|
|
99
|
-
*/
|
|
100
|
-
fadeColor?: string;
|
|
101
|
-
style?: StyleProp<ViewStyle>;
|
|
102
|
-
testID?: string;
|
|
103
|
-
}
|
|
104
|
-
export interface DeliverySlotOptionProps {
|
|
105
|
-
/** The line a reader chooses by — "17:00 – 19:00", "As soon as possible". */
|
|
106
|
-
label: string;
|
|
107
|
-
/** Under it — "Standard · 2 left", "Sold out". */
|
|
108
|
-
detail?: string;
|
|
109
|
-
/** At the end of the row, PRE-FORMATTED — "Free", "+€2.50". */
|
|
110
|
-
price?: string;
|
|
111
|
-
/** A node after the label — a `Badge` ("Express"). */
|
|
112
|
-
badge?: ReactNode;
|
|
113
|
-
/**
|
|
114
|
-
* A glyph BEFORE the label — the lightning the ASAP row carries. It does not
|
|
115
|
-
* replace the radio dot: the dot is what says "one of these", and a row that
|
|
116
|
-
* dropped it would look like a different control inside the same group.
|
|
117
|
-
*/
|
|
118
|
-
icon?: BloomIconComponent;
|
|
119
|
-
selected?: boolean;
|
|
120
|
-
disabled?: boolean;
|
|
121
|
-
onPress?: () => void;
|
|
122
|
-
/** Default: the label, the detail and the price, as one utterance. */
|
|
123
|
-
accessibilityLabel?: string;
|
|
124
|
-
style?: StyleProp<ViewStyle>;
|
|
125
|
-
testID?: string;
|
|
126
|
-
}
|
|
127
|
-
export interface DeliverySlotPickerProps {
|
|
128
|
-
/**
|
|
129
|
-
* The name of the choice, which is also the radio group's accessible name.
|
|
130
|
-
*
|
|
131
|
-
* Deliberately UNDEFAULTED: dropped inside somebody's `Field`, the picker
|
|
132
|
-
* renders no second field and the enclosing field's label is what names the
|
|
133
|
-
* group — a default here would outrank the one string the user can read.
|
|
134
|
-
* Standalone, the picker supplies its own field and labels it
|
|
135
|
-
* `"Delivery time"`.
|
|
136
|
-
*/
|
|
137
|
-
label?: string;
|
|
138
|
-
/** Under the group — "Windows fill up; yours is held for 10 minutes." Ignored inside another `Field`. */
|
|
139
|
-
description?: string;
|
|
140
|
-
/** A non-empty string puts the field in its invalid state. Ignored inside another `Field`. */
|
|
141
|
-
error?: string | null;
|
|
142
|
-
/** Ignored inside another `Field`. */
|
|
143
|
-
required?: boolean;
|
|
144
|
-
/** Disables the strip and every option. An option may also disable itself. */
|
|
145
|
-
disabled?: boolean;
|
|
146
|
-
days: readonly DeliveryDay[];
|
|
147
|
-
/** The chosen day's `id`. */
|
|
148
|
-
day?: string;
|
|
149
|
-
onDayChange?: (id: string) => void;
|
|
150
|
-
/** Names the day strip. Default `"Day"`. */
|
|
151
|
-
dayLabel?: string;
|
|
152
|
-
/** The windows OF THE CHOSEN DAY. The app reloads them when the day changes. */
|
|
153
|
-
windows: readonly DeliveryWindow[];
|
|
154
|
-
/** The chosen window's — or the ASAP option's — `id`. */
|
|
155
|
-
value?: string;
|
|
156
|
-
onValueChange?: (id: string) => void;
|
|
157
|
-
/** The option that is not a window. */
|
|
158
|
-
asap?: DeliveryAsapOption;
|
|
159
|
-
/** Draws placeholder rows instead of the windows, announced as busy. */
|
|
160
|
-
loading?: boolean;
|
|
161
|
-
/** How many placeholder rows. Default 3. */
|
|
162
|
-
loadingRows?: number;
|
|
163
|
-
/** Replaces the whole empty block. */
|
|
164
|
-
empty?: ReactNode;
|
|
165
|
-
/** Default `"No windows left"`. */
|
|
166
|
-
emptyTitle?: string;
|
|
167
|
-
/** Default `"Pick another day, or take the next courier."` */
|
|
168
|
-
emptyDescription?: string;
|
|
169
|
-
/** Defaults: `standard` → "Standard", `express` → "Express". */
|
|
170
|
-
tierLabels?: Partial<Record<DeliveryTier, string>>;
|
|
171
|
-
/** Default `"Sold out"`. */
|
|
172
|
-
soldOutLabel?: string;
|
|
173
|
-
/** The colour the day strip's fade blends into. See `DeliverySlotDaysProps`. */
|
|
174
|
-
fadeColor?: string;
|
|
175
|
-
style?: StyleProp<ViewStyle>;
|
|
176
|
-
testID?: string;
|
|
177
|
-
}
|
|
178
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/delivery-slot/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { EarningsBreakdownProps } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* What the period's money came from, by kind.
|
|
5
|
-
*
|
|
6
|
-
* It is `price-breakdown`'s `PriceSummary` under a heading, and that is the
|
|
7
|
-
* whole component. A courier's earnings are an ITEMISATION — jobs, tips,
|
|
8
|
-
* bonuses, adjustments, each a label and an amount the app formatted — which is
|
|
9
|
-
* the same object as a fare's itemisation seen from the other side. Writing a
|
|
10
|
-
* second list of label-and-amount rows here would give Bloom two answers to one
|
|
11
|
-
* question, and only one of them would know about `estimated`, `pending`, the
|
|
12
|
-
* discount tone and the info popover.
|
|
13
|
-
*
|
|
14
|
-
* heading `body-semibold`, 8 over the list; omitted with `title={null}`
|
|
15
|
-
* lines `PriceSummary`, which owns the rows, the rule and the total
|
|
16
|
-
*
|
|
17
|
-
* **NO TOTAL BY DEFAULT.** Inside `EarningsSummary` the figure above already IS
|
|
18
|
-
* the total, and a second one under the list is the same number twice. Pass
|
|
19
|
-
* `total` when the breakdown stands on its own.
|
|
20
|
-
*/
|
|
21
|
-
declare function EarningsBreakdownComponent({ lines, total, title, collapsible, defaultExpanded, labels: labelOverrides, accessibilityLabel, style, testID, }: EarningsBreakdownProps): React.JSX.Element;
|
|
22
|
-
export declare const EarningsBreakdown: React.MemoExoticComponent<typeof EarningsBreakdownComponent>;
|
|
23
|
-
export {};
|
|
24
|
-
//# sourceMappingURL=EarningsBreakdown.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EarningsBreakdown.d.ts","sourceRoot":"","sources":["../../../../src/earnings/EarningsBreakdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAU7C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD;;;;;;;;;;;;;;;;;GAiBG;AACH,iBAAS,0BAA0B,CAAC,EAClC,KAAK,EACL,KAAK,EACL,KAAK,EACL,WAAmB,EACnB,eAAuB,EACvB,MAAM,EAAE,cAAc,EACtB,kBAAkB,EAClB,KAAK,EACL,MAAM,GACP,EAAE,sBAAsB,qBA+BxB;AAED,eAAO,MAAM,iBAAiB,8DAAmC,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { EarningsPayoutRowProps } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* The money that is on its way, and what is holding it up.
|
|
5
|
-
*
|
|
6
|
-
* It is an `Item`, not a card: a payout is a ROW in a panel, and `item` already
|
|
7
|
-
* owns the press target, the density, the leading and trailing slots and the
|
|
8
|
-
* disabled wash. What this component decides is what goes in the three slots.
|
|
9
|
-
*
|
|
10
|
-
* leading a 40 glyph tile at the panel's next fill up
|
|
11
|
-
* content the title over the date and the destination
|
|
12
|
-
* trailing the amount at `headline-semibold` in tabular figures, with the
|
|
13
|
-
* state `Badge` under it
|
|
14
|
-
* note under the row, and ONLY for `held` and `failed` — the two states
|
|
15
|
-
* that ask the reader to do something. A note on a scheduled payout
|
|
16
|
-
* is a sentence nobody has to read.
|
|
17
|
-
*
|
|
18
|
-
* **THE STATE IS SAID IN WORDS, NOT ONLY IN COLOUR.** The badge carries the
|
|
19
|
-
* word; the tone is a second channel on top of it, so the row survives a reader
|
|
20
|
-
* who cannot tell the warning tint from the neutral one.
|
|
21
|
-
*/
|
|
22
|
-
declare function EarningsPayoutRowComponent({ payout, title, onPress, action, labels: labelOverrides, accessibilityLabel, style, testID, }: EarningsPayoutRowProps): React.JSX.Element;
|
|
23
|
-
export declare const EarningsPayoutRow: React.MemoExoticComponent<typeof EarningsPayoutRowComponent>;
|
|
24
|
-
export {};
|
|
25
|
-
//# sourceMappingURL=EarningsPayoutRow.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EarningsPayoutRow.d.ts","sourceRoot":"","sources":["../../../../src/earnings/EarningsPayoutRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAc7C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAItD;;;;;;;;;;;;;;;;;;GAkBG;AACH,iBAAS,0BAA0B,CAAC,EAClC,MAAM,EACN,KAAK,EACL,OAAO,EACP,MAAM,EACN,MAAM,EAAE,cAAc,EACtB,kBAAkB,EAClB,KAAK,EACL,MAAM,GACP,EAAE,sBAAsB,qBA2FxB;AAED,eAAO,MAAM,iBAAiB,8DAAmC,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { EarningsSummaryProps } from './types';
|
|
3
|
-
declare function EarningsSummaryComponent({ periods, period: periodProp, defaultPeriod, onPeriodChange, payout, onPressPayout, payoutAction, formatAxisValue, chartHeight, breakdown, stats, labels: labelOverrides, accessibilityLabel: accessibilityLabelProp, style, testID, }: EarningsSummaryProps): React.JSX.Element;
|
|
4
|
-
export declare const EarningsSummary: React.MemoExoticComponent<typeof EarningsSummaryComponent>;
|
|
5
|
-
export {};
|
|
6
|
-
//# sourceMappingURL=EarningsSummary.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EarningsSummary.d.ts","sourceRoot":"","sources":["../../../../src/earnings/EarningsSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAoBpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AA4DpD,iBAAS,wBAAwB,CAAC,EAChC,OAAO,EACP,MAAM,EAAE,UAAU,EAClB,aAAa,EACb,cAAc,EACd,MAAM,EACN,aAAa,EACb,YAAY,EACZ,eAAkC,EAClC,WAAW,EACX,SAAS,EACT,KAAK,EACL,MAAM,EAAE,cAAc,EACtB,kBAAkB,EAAE,sBAAsB,EAC1C,KAAK,EACL,MAAM,GACP,EAAE,oBAAoB,qBAkMtB;AAkBD,eAAO,MAAM,eAAe,4DAAiC,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import type { AccentTone } from '../theme/accent-colors';
|
|
2
|
-
import type { EarningsLabels, EarningsPayoutState } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* Every default word the family draws, in English. The components speak
|
|
5
|
-
* `EARNINGS_MESSAGES` in the resolved locale.
|
|
6
|
-
*/
|
|
7
|
-
export declare const EARNINGS_LABELS: Required<Omit<EarningsLabels, 'payoutState'>> & {
|
|
8
|
-
payoutState: Record<EarningsPayoutState, string>;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* The tone each payout state is painted in.
|
|
12
|
-
*
|
|
13
|
-
* `scheduled` is `default` because waiting is not news. `processing` is `info`:
|
|
14
|
-
* something is happening and there is nothing to do about it. `paid` is
|
|
15
|
-
* `success`. `held` is `warning` and `failed` is `error` — the two that need
|
|
16
|
-
* the reader to act, told apart by whether the money is still coming.
|
|
17
|
-
*/
|
|
18
|
-
export declare const EARNINGS_PAYOUT_TONE: Record<EarningsPayoutState, AccentTone>;
|
|
19
|
-
/**
|
|
20
|
-
* The panel's geometry.
|
|
21
|
-
*
|
|
22
|
-
* `tile` is `ai-profile-card`'s stat tile exactly — radius 10, padding 10, the
|
|
23
|
-
* reading over its label — because a courier's "18 jobs" and a profile's
|
|
24
|
-
* "9B lifetime tokens" are the same object, and two tile geometries in one
|
|
25
|
-
* library is two answers to one question.
|
|
26
|
-
*/
|
|
27
|
-
export declare const EARNINGS_GEOMETRY: {
|
|
28
|
-
/** Between the chart, the tiles, the breakdown and the payout. */
|
|
29
|
-
readonly gap: 16;
|
|
30
|
-
/** Between tiles, and between tile rows. */
|
|
31
|
-
readonly tileGap: 8;
|
|
32
|
-
readonly tilePadding: 10;
|
|
33
|
-
readonly tileRadius: 10;
|
|
34
|
-
/** The payout row's leading glyph tile. */
|
|
35
|
-
readonly glyph: 40;
|
|
36
|
-
readonly glyphRadius: 12;
|
|
37
|
-
/** Under this the tiles stack two to a row. */
|
|
38
|
-
readonly narrowWidth: 640;
|
|
39
|
-
};
|
|
40
|
-
export type EarningsGeometry = typeof EARNINGS_GEOMETRY;
|
|
41
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/earnings/constants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGnE;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,IAAI,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC,GAAG;IAC5E,WAAW,EAAE,MAAM,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;CASlD,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,mBAAmB,EAAE,UAAU,CAMxE,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB;IAC5B,kEAAkE;;IAElE,4CAA4C;;;;IAI5C,2CAA2C;;;IAG3C,+CAA+C;;CAEvC,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,OAAO,iBAAiB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { EarningsBreakdown } from './EarningsBreakdown';
|
|
2
|
-
export { EarningsPayoutRow } from './EarningsPayoutRow';
|
|
3
|
-
export { EarningsSummary } from './EarningsSummary';
|
|
4
|
-
export { EARNINGS_GEOMETRY, EARNINGS_LABELS, EARNINGS_PAYOUT_TONE } from './constants';
|
|
5
|
-
export type { EarningsGeometry } from './constants';
|
|
6
|
-
export { earningsHeadline, earningsHeadlineLabel, joinEarningsName, resolveEarningsPaint, resolveEarningsPeriod, } from './shared';
|
|
7
|
-
export type { EarningsPaint } from './shared';
|
|
8
|
-
export type { EarningsBar, EarningsBreakdownProps, EarningsLabels, EarningsPayout, EarningsPayoutRowProps, EarningsPayoutState, EarningsPeriod, EarningsStat, EarningsSummaryProps, } from './types';
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/earnings/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACvF,YAAY,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,UAAU,CAAC;AAClB,YAAY,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,YAAY,EACV,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,cAAc,EACd,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,YAAY,EACZ,oBAAoB,GACrB,MAAM,SAAS,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { type MessageCatalog } from '../locale/messages';
|
|
2
|
-
import type { EarningsPayoutState } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* Every fixed string the earnings family draws or announces, in each Bloom
|
|
5
|
-
* language. Amounts arrive formatted. A caller's `labels`, `title` and
|
|
6
|
-
* `accessibilityLabel` still win.
|
|
7
|
-
*/
|
|
8
|
-
export interface EarningsMessages {
|
|
9
|
-
/** Over the figure. */
|
|
10
|
-
earned: string;
|
|
11
|
-
/** Names the period switch. */
|
|
12
|
-
period: string;
|
|
13
|
-
/** Over the breakdown. */
|
|
14
|
-
breakdown: string;
|
|
15
|
-
/** Over the payout row. */
|
|
16
|
-
payout: string;
|
|
17
|
-
payoutState: Record<EarningsPayoutState, string>;
|
|
18
|
-
/** Names the chart: "This week earnings, by period". */
|
|
19
|
-
chart: (label: string) => string;
|
|
20
|
-
/** The empty period's line. */
|
|
21
|
-
empty: string;
|
|
22
|
-
/** Names the summary panel. */
|
|
23
|
-
earnings: string;
|
|
24
|
-
}
|
|
25
|
-
export declare const EARNINGS_MESSAGES: MessageCatalog<EarningsMessages>;
|
|
26
|
-
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../src/earnings/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,uBAAuB;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,+BAA+B;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,0BAA0B;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,2BAA2B;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;IACjD,wDAAwD;IACxD,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACjC,+BAA+B;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,iBAAiB,EAAE,cAAc,CAAC,gBAAgB,CAkB9D,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { SurfaceTextPaint } from '../styles/surface-levels';
|
|
2
|
-
import type { Theme } from '../theme/types';
|
|
3
|
-
import type { EarningsBar, EarningsPeriod } from './types';
|
|
4
|
-
export interface EarningsPaint {
|
|
5
|
-
/** The fill the panel's own content lands on. */
|
|
6
|
-
surface: string;
|
|
7
|
-
/** The rule under a section heading. */
|
|
8
|
-
hairline: string;
|
|
9
|
-
/** The next fill UP: a stat tile, the payout row's glyph. */
|
|
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 panel's fill. */
|
|
15
|
-
tileText: SurfaceTextPaint;
|
|
16
|
-
}
|
|
17
|
-
export declare function resolveEarningsPaint(theme: Theme, surface: string): EarningsPaint;
|
|
18
|
-
/**
|
|
19
|
-
* The period the panel is showing, by id.
|
|
20
|
-
*
|
|
21
|
-
* An id that names no period falls back to the FIRST rather than to nothing: a
|
|
22
|
-
* panel with a stale id in its state would otherwise draw an empty figure, and
|
|
23
|
-
* an empty figure reads as "you earned nothing" rather than as "this app asked
|
|
24
|
-
* for a period that is not on the list".
|
|
25
|
-
*/
|
|
26
|
-
export declare function resolveEarningsPeriod(periods: readonly EarningsPeriod[], id: string | undefined): EarningsPeriod | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* What the chart's headline says, given which bar the reader is on.
|
|
29
|
-
*
|
|
30
|
-
* THE HEADLINE IS NEVER COMPUTED. At rest it is the period's own `total`; over
|
|
31
|
-
* a bar it is that bar's own `amount`. Both are strings the app formatted, so
|
|
32
|
-
* this function chooses between two answers rather than producing one — which
|
|
33
|
-
* is the whole of what "money arrives pre-formatted" means here.
|
|
34
|
-
*
|
|
35
|
-
* An index outside the bars is treated as no index: an active index that
|
|
36
|
-
* outlived its data must not read a hole.
|
|
37
|
-
*/
|
|
38
|
-
export declare function earningsHeadline(total: string, bars: readonly EarningsBar[] | undefined, activeIndex: number | null): string;
|
|
39
|
-
/** The label over the headline: the period's own name, or the bar the reader is on. */
|
|
40
|
-
export declare function earningsHeadlineLabel(rest: string, bars: readonly EarningsBar[] | undefined, activeIndex: number | null): string;
|
|
41
|
-
/** Joins the non-empty parts of an accessible name. */
|
|
42
|
-
export declare function joinEarningsName(parts: ReadonlyArray<string | false | null | undefined>, separator?: string): string;
|
|
43
|
-
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/earnings/shared.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE3D,MAAM,WAAW,aAAa;IAC5B,iDAAiD;IACjD,OAAO,EAAE,MAAM,CAAC;IAChB,wCAAwC;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,6DAA6D;IAC7D,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,6EAA6E;IAC7E,QAAQ,EAAE,gBAAgB,CAAC;CAC5B;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,aAAa,CAYjF;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,SAAS,cAAc,EAAE,EAClC,EAAE,EAAE,MAAM,GAAG,SAAS,GACrB,cAAc,GAAG,SAAS,CAE5B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,SAAS,WAAW,EAAE,GAAG,SAAS,EACxC,WAAW,EAAE,MAAM,GAAG,IAAI,GACzB,MAAM,CAGR;AAED,uFAAuF;AACvF,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,SAAS,WAAW,EAAE,GAAG,SAAS,EACxC,WAAW,EAAE,MAAM,GAAG,IAAI,GACzB,MAAM,CAGR;AAED,uDAAuD;AACvD,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,aAAa,CAAC,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC,EACvD,SAAS,SAAO,GACf,MAAM,CAIR"}
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import type { PriceLine, PriceTotal } from '../price-breakdown';
|
|
4
|
-
/**
|
|
5
|
-
* Where a payout has got to.
|
|
6
|
-
*
|
|
7
|
-
* Five states, because "not in the account yet" is four different situations
|
|
8
|
-
* and a courier acts differently on each: `scheduled` waits, `processing` is
|
|
9
|
-
* already moving, `paid` is done, `held` needs the courier to do something,
|
|
10
|
-
* `failed` needs them to fix something. One "pending" would collapse the two
|
|
11
|
-
* that require action into the two that do not.
|
|
12
|
-
*/
|
|
13
|
-
export type EarningsPayoutState = 'scheduled' | 'processing' | 'paid' | 'held' | 'failed';
|
|
14
|
-
/**
|
|
15
|
-
* One bar in the chart of the last weeks.
|
|
16
|
-
*
|
|
17
|
-
* It carries BOTH a number and an amount, and they are not the same fact.
|
|
18
|
-
* `value` is geometry — how tall the bar is, in whatever unit the app compares
|
|
19
|
-
* in — and is never drawn. `amount` is the money, PRE-FORMATTED, and is the
|
|
20
|
-
* only thing a reader ever sees. Nothing here parses one into the other.
|
|
21
|
-
*/
|
|
22
|
-
export interface EarningsBar {
|
|
23
|
-
/** The bar's foot — "W12", "Mon". */
|
|
24
|
-
label: string;
|
|
25
|
-
/** The bar's HEIGHT. Never drawn. */
|
|
26
|
-
value: number;
|
|
27
|
-
/** What that bar paid, PRE-FORMATTED: `"€312.80"`. */
|
|
28
|
-
amount: string;
|
|
29
|
-
}
|
|
30
|
-
/** One tile under the figure: a reading over what it is. */
|
|
31
|
-
export interface EarningsStat {
|
|
32
|
-
/** The reading, PRE-FORMATTED — `"18"`, `"5 h 40"`, `"€2.14/km"`. */
|
|
33
|
-
value: string;
|
|
34
|
-
/** What it is — "Jobs done", "Online", "Per kilometre". */
|
|
35
|
-
label: string;
|
|
36
|
-
}
|
|
37
|
-
/** The money that is on its way out, and what is holding it up. */
|
|
38
|
-
export interface EarningsPayout {
|
|
39
|
-
/** How much, PRE-FORMATTED. */
|
|
40
|
-
amount: string;
|
|
41
|
-
/** When — "Friday 26 September". The app's words: this family formats no date. */
|
|
42
|
-
date?: string;
|
|
43
|
-
/** Default `scheduled`. */
|
|
44
|
-
state?: EarningsPayoutState;
|
|
45
|
-
/** Where it lands — "Account ending 4417". */
|
|
46
|
-
destination?: string;
|
|
47
|
-
/** What the reader has to do about it, for `held` and `failed`. */
|
|
48
|
-
note?: string;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* One period the switch offers, with everything that period says.
|
|
52
|
-
*
|
|
53
|
-
* Every field is the period's own, so switching the segment replaces the whole
|
|
54
|
-
* panel rather than just the chart. A field left out falls back to the
|
|
55
|
-
* panel-level prop of the same name, which is how a payout that does not change
|
|
56
|
-
* with the period is written once.
|
|
57
|
-
*/
|
|
58
|
-
export interface EarningsPeriod {
|
|
59
|
-
/** Identifies the period to `onPeriodChange`. */
|
|
60
|
-
id: string;
|
|
61
|
-
/** The segment's words — "Day", "Week", "Month". */
|
|
62
|
-
label: string;
|
|
63
|
-
/** What the period paid, PRE-FORMATTED. This is the figure. */
|
|
64
|
-
total: string;
|
|
65
|
-
/**
|
|
66
|
-
* The change on the period before, as a RATIO (`0.148` is up 14.8%). A ratio
|
|
67
|
-
* is not money, so it is a number here and the chip's words are derived from
|
|
68
|
-
* it; no chip without one.
|
|
69
|
-
*/
|
|
70
|
-
deltaRatio?: number;
|
|
71
|
-
/** A line under the figure — "Before the platform fee". */
|
|
72
|
-
caption?: string;
|
|
73
|
-
/** The bars. */
|
|
74
|
-
bars?: readonly EarningsBar[];
|
|
75
|
-
/** The breakdown by kind, handed to `PriceSummary` unchanged. */
|
|
76
|
-
lines?: readonly PriceLine[];
|
|
77
|
-
/** The tiles under the chart. */
|
|
78
|
-
stats?: readonly EarningsStat[];
|
|
79
|
-
/** The next payout, when it is this period's. */
|
|
80
|
-
payout?: EarningsPayout;
|
|
81
|
-
}
|
|
82
|
-
/** Every word the family speaks, in one prop. */
|
|
83
|
-
export interface EarningsLabels {
|
|
84
|
-
/** Over the figure (`"Earned"` in English). */
|
|
85
|
-
earned?: string;
|
|
86
|
-
/** Names the period switch (`"Earnings period"` in English). */
|
|
87
|
-
period?: string;
|
|
88
|
-
/** Over the breakdown (`"What it came from"` in English). */
|
|
89
|
-
breakdown?: string;
|
|
90
|
-
/** Over the payout row (`"Next payout"` in English). */
|
|
91
|
-
payout?: string;
|
|
92
|
-
/** The payout states. `"Scheduled"`, `"On its way"`, `"Paid"`, `"On hold"`, `"Failed"` in English. */
|
|
93
|
-
payoutState?: Partial<Record<EarningsPayoutState, string>>;
|
|
94
|
-
/** Names the chart (`` (label) => `${label} earnings, by period` `` in English). */
|
|
95
|
-
chart?: (label: string) => string;
|
|
96
|
-
/** The empty period's line (`"Nothing earned yet"` in English). */
|
|
97
|
-
empty?: string;
|
|
98
|
-
}
|
|
99
|
-
export interface EarningsBreakdownProps {
|
|
100
|
-
/** The kinds, in the order they should be read. */
|
|
101
|
-
lines: readonly PriceLine[];
|
|
102
|
-
/**
|
|
103
|
-
* The answer. Left out — which is what `EarningsSummary` does — the breakdown
|
|
104
|
-
* draws the kinds and no rule, because the figure above it is already the
|
|
105
|
-
* total and two totals on one panel is one too many.
|
|
106
|
-
*/
|
|
107
|
-
total?: PriceTotal;
|
|
108
|
-
/** A heading over the list (`"What it came from"` in English). */
|
|
109
|
-
title?: string;
|
|
110
|
-
/** Hide the kinds behind a disclosure. Default `false`. */
|
|
111
|
-
collapsible?: boolean;
|
|
112
|
-
/** Starts the disclosure open. Default `false`. */
|
|
113
|
-
defaultExpanded?: boolean;
|
|
114
|
-
labels?: EarningsLabels;
|
|
115
|
-
/** Names the list. Defaults to `title`. */
|
|
116
|
-
accessibilityLabel?: string;
|
|
117
|
-
style?: StyleProp<ViewStyle>;
|
|
118
|
-
testID?: string;
|
|
119
|
-
}
|
|
120
|
-
export interface EarningsPayoutRowProps {
|
|
121
|
-
/** The payout. */
|
|
122
|
-
payout: EarningsPayout;
|
|
123
|
-
/** The line over the date (`"Next payout"` in English). */
|
|
124
|
-
title?: string;
|
|
125
|
-
/** Makes the row pressable — an app opens the payout's detail from here. */
|
|
126
|
-
onPress?: () => void;
|
|
127
|
-
/** A control after the row — "Change the account", "Try again". */
|
|
128
|
-
action?: ReactNode;
|
|
129
|
-
labels?: EarningsLabels;
|
|
130
|
-
/** Overrides the composed name of the row. */
|
|
131
|
-
accessibilityLabel?: string;
|
|
132
|
-
style?: StyleProp<ViewStyle>;
|
|
133
|
-
testID?: string;
|
|
134
|
-
}
|
|
135
|
-
export interface EarningsSummaryProps {
|
|
136
|
-
/** The periods the switch offers, in the order they are drawn. At least one. */
|
|
137
|
-
periods: readonly EarningsPeriod[];
|
|
138
|
-
/** Controlled period id. */
|
|
139
|
-
period?: string;
|
|
140
|
-
/** Uncontrolled initial period id. Default the first. */
|
|
141
|
-
defaultPeriod?: string;
|
|
142
|
-
onPeriodChange?: (id: string) => void;
|
|
143
|
-
/** The payout, when it does not change with the period. A period's own wins. */
|
|
144
|
-
payout?: EarningsPayout;
|
|
145
|
-
/** Makes the payout row pressable. */
|
|
146
|
-
onPressPayout?: () => void;
|
|
147
|
-
/** A control after the payout row. */
|
|
148
|
-
payoutAction?: ReactNode;
|
|
149
|
-
/**
|
|
150
|
-
* The Y axis's tick words.
|
|
151
|
-
*
|
|
152
|
-
* THE AXIS IS THE ONE PLACE A NUMBER CANNOT ARRIVE PRE-FORMATTED: a tick is a
|
|
153
|
-
* position on a scale the chart chose, not a sum the app made, so there is no
|
|
154
|
-
* string for it to have formatted. The default prints the rounded number and
|
|
155
|
-
* no currency; an app that wants `"€200"` supplies this.
|
|
156
|
-
*/
|
|
157
|
-
formatAxisValue?: (value: number) => string;
|
|
158
|
-
/** How tall the chart is. Default 329 — the height every chart card here is. */
|
|
159
|
-
chartHeight?: number;
|
|
160
|
-
/** Draws the breakdown. Default `true` when the period carries `lines`. */
|
|
161
|
-
breakdown?: boolean;
|
|
162
|
-
/** Draws the tiles. Default `true` when the period carries `stats`. */
|
|
163
|
-
stats?: boolean;
|
|
164
|
-
labels?: EarningsLabels;
|
|
165
|
-
/** Names the panel (`"Earnings"` in English). */
|
|
166
|
-
accessibilityLabel?: string;
|
|
167
|
-
style?: StyleProp<ViewStyle>;
|
|
168
|
-
/** Derives `-chart`, `-stats`, `-breakdown`, `-payout`. */
|
|
169
|
-
testID?: string;
|
|
170
|
-
}
|
|
171
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/earnings/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { JobBoardProps } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* The work on offer, filtered, ordered and counted.
|
|
5
|
-
*
|
|
6
|
-
* head the count at `body-semibold` on the left; the order as a
|
|
7
|
-
* `radiogroup` of chips and the refresh control on the right. All
|
|
8
|
-
* three wrap onto their own line when they do not fit.
|
|
9
|
-
* filters one `ChipRow` per dimension, each named and each scrolling
|
|
10
|
-
* sideways rather than wrapping — four dimensions that wrapped would
|
|
11
|
-
* be a screen of chips over the first job. Distance, pay and when
|
|
12
|
-
* are `radiogroup`s of BANDS; vehicle is a `group` of TOGGLES,
|
|
13
|
-
* because "van or box truck" is a sentence a courier needs to say.
|
|
14
|
-
* list the cards, 12 apart
|
|
15
|
-
* loading placeholder cards of the same height, announced `busy` — not a
|
|
16
|
-
* spinner, because the answer arriving is a list
|
|
17
|
-
* empty a tinted glyph disc over one line of explanation. With a filter
|
|
18
|
-
* narrowed and no caller action, the clear control is drawn there:
|
|
19
|
-
* an empty board the reader caused must offer the undo.
|
|
20
|
-
*
|
|
21
|
-
* **THE ORDER IS THIS COMPONENT'S, NOT THE CALLER'S.** `jobs` arrives in
|
|
22
|
-
* whatever order the app has; `sortJobOffers` puts it in the chosen one and is
|
|
23
|
-
* stable, so two equally-paid jobs never swap places on a re-render.
|
|
24
|
-
*
|
|
25
|
-
* **A CLOSED JOB IS NOT FILTERED OUT.** `filterJobOffers` answers the reader's
|
|
26
|
-
* four questions and nothing else — a job that is taken or expires while the
|
|
27
|
-
* board is open keeps its place and says so on its own card. See `JobCard`.
|
|
28
|
-
*
|
|
29
|
-
* **NO CURRENCY MATHS ANYWHERE.** The pay bands compare `payValue`, a number
|
|
30
|
-
* the app supplies for comparison only, and their words are the app's too:
|
|
31
|
-
* `payBands` has no default, because a default band would have to invent a
|
|
32
|
-
* currency. Distance and time have defaults because a kilometre and a minute
|
|
33
|
-
* are not somebody's.
|
|
34
|
-
*/
|
|
35
|
-
declare function JobBoardComponent({ jobs, sort: sortProp, defaultSort, onSortChange, sortOptions, filtersOpen: filtersOpenProp, defaultFiltersOpen, onFiltersOpenChange, filter: filterProp, defaultFilter, onFilterChange, distanceBands: distanceBandsProp, payBands, whenBands: whenBandsProp, vehicleKinds, showCount, onRefresh, refreshing, loading, loadingCount, onTake, onPass, onPressJob, selectedId, density, route, breakdown, emptyTitle: emptyTitleProp, emptyDescription: emptyDescriptionProp, emptyAction, labels: labelOverrides, accessibilityLabel: accessibilityLabelProp, style, testID, }: JobBoardProps): React.JSX.Element;
|
|
36
|
-
export declare const JobBoard: React.MemoExoticComponent<typeof JobBoardComponent>;
|
|
37
|
-
export {};
|
|
38
|
-
//# sourceMappingURL=JobBoard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"JobBoard.d.ts","sourceRoot":"","sources":["../../../../src/job-board/JobBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAmC1D,OAAO,KAAK,EAAgC,aAAa,EAAgB,MAAM,SAAS,CAAC;AAIzF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,iBAAS,iBAAiB,CAAC,EACzB,IAAI,EACJ,IAAI,EAAE,QAAQ,EACd,WAAmB,EACnB,YAAY,EACZ,WAA6B,EAC7B,WAAW,EAAE,eAAe,EAC5B,kBAA0B,EAC1B,mBAAmB,EACnB,MAAM,EAAE,UAAU,EAClB,aAAa,EACb,cAAc,EACd,aAAa,EAAE,iBAAiB,EAChC,QAAQ,EACR,SAAS,EAAE,aAAa,EACxB,YAAgC,EAChC,SAAgB,EAChB,SAAS,EACT,UAAkB,EAClB,OAAe,EACf,YAAgB,EAChB,MAAM,EACN,MAAM,EACN,UAAU,EACV,UAAiB,EACjB,OAAuB,EACvB,KAAK,EACL,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,aAAa,qBAmZf;AAED,eAAO,MAAM,QAAQ,qDAA0B,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { JobCardProps } from './types';
|
|
3
|
-
declare function JobCardComponent({ job, onTake, onPass, onPressJob, route, breakdown, defaultBreakdownExpanded, density, selected, disabled, actions, labels: labelOverrides, accessibilityLabel, style, testID, }: JobCardProps): React.JSX.Element;
|
|
4
|
-
export declare const JobCard: React.MemoExoticComponent<typeof JobCardComponent>;
|
|
5
|
-
export {};
|
|
6
|
-
//# sourceMappingURL=JobCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"JobCard.d.ts","sourceRoot":"","sources":["../../../../src/job-board/JobCard.tsx"],"names":[],"mappings":"AACA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAoClE,OAAO,KAAK,EAAE,YAAY,EAAY,MAAM,SAAS,CAAC;AAmEtD,iBAAS,gBAAgB,CAAC,EACxB,GAAG,EACH,MAAM,EACN,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,wBAAgC,EAChC,OAAuB,EACvB,QAAgB,EAChB,QAAgB,EAChB,OAAO,EACP,MAAM,EAAE,cAAc,EACtB,kBAAkB,EAClB,KAAK,EACL,MAAM,GACP,EAAE,YAAY,qBAycd;AAkBD,eAAO,MAAM,OAAO,oDAAyB,CAAC"}
|