@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,58 +0,0 @@
|
|
|
1
|
-
import type { SurfaceTextPaint } from '../styles/surface-levels.js';
|
|
2
|
-
import type { Theme } from '../theme/types.js';
|
|
3
|
-
import type { CarrierQuote, CarrierQuoteMark, CarrierQuoteSort } from './types.js';
|
|
4
|
-
export interface CarrierQuotePaint {
|
|
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 wash a bare press target takes under a pointer. */
|
|
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 chosen card's border, and the focus ring. */
|
|
17
|
-
accent: string;
|
|
18
|
-
}
|
|
19
|
-
export declare function resolveCarrierQuotePaint(theme: Theme, surface: string): CarrierQuotePaint;
|
|
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 carrierActionsAreLabelled(width: number | null, narrowWidth: number): boolean;
|
|
30
|
-
/**
|
|
31
|
-
* The offers in the order the list 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 quote 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 list jump for no
|
|
38
|
-
* visible reason.
|
|
39
|
-
*
|
|
40
|
-
* Stable: equal keys keep their input order.
|
|
41
|
-
*/
|
|
42
|
-
export declare function sortCarrierQuotes(quotes: readonly CarrierQuote[], sort: CarrierQuoteSort): CarrierQuote[];
|
|
43
|
-
/**
|
|
44
|
-
* Which offers are the cheapest and which the fastest, by id.
|
|
45
|
-
*
|
|
46
|
-
* EVERY offer tied at a minimum is marked. Two offers at €38.40 are both the
|
|
47
|
-
* cheapest, and choosing one of them would be this component inventing a
|
|
48
|
-
* tie-break the app never asked for — while marking neither would hide a true
|
|
49
|
-
* statement. A quote with no number for a mark cannot win it.
|
|
50
|
-
*/
|
|
51
|
-
export declare function markCarrierQuotes(quotes: readonly CarrierQuote[]): Map<string, CarrierQuoteMark[]>;
|
|
52
|
-
/** The marks in their drawn order, so two marked quotes never disagree. Pure. */
|
|
53
|
-
export declare function orderCarrierMarks(marks: readonly CarrierQuoteMark[]): CarrierQuoteMark[];
|
|
54
|
-
/** Joins the non-empty parts of an accessible name. */
|
|
55
|
-
export declare function joinQuoteName(parts: ReadonlyArray<string | number | false | null | undefined>, separator?: string): string;
|
|
56
|
-
export declare const CARRIER_QUOTE_STYLE_ID = "bloom-carrier-quote-web-css";
|
|
57
|
-
export declare const CARRIER_QUOTE_WEB_CSS: string;
|
|
58
|
-
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/carrier-quote/shared.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAgB,CAAC;AAE5C,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,YAAS,CAAC;AAEhF,MAAM,WAAW,iBAAiB;IAChC,iFAAiF;IACjF,OAAO,EAAE,MAAM,CAAC;IAChB,wEAAwE;IACxE,QAAQ,EAAE,MAAM,CAAC;IACjB,oFAAoF;IACpF,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,oDAAoD;IACpD,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,iBAAiB,CAazF;AAED;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAE5F;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,SAAS,YAAY,EAAE,EAC/B,IAAI,EAAE,gBAAgB,GACrB,YAAY,EAAE,CAmBhB;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,SAAS,YAAY,EAAE,GAC9B,GAAG,CAAC,MAAM,EAAE,gBAAgB,EAAE,CAAC,CAqBjC;AAED,iFAAiF;AACjF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,gBAAgB,EAAE,GAAG,gBAAgB,EAAE,CAExF;AAED,uDAAuD;AACvD,wBAAgB,aAAa,CAC3B,KAAK,EAAE,aAAa,CAAC,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC,EAChE,SAAS,SAAO,GACf,MAAM,CAKR;AAaD,eAAO,MAAM,sBAAsB,gCAAgC,CAAC;AAEpE,eAAO,MAAM,qBAAqB,QAKhC,CAAC"}
|
|
@@ -1,191 +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
|
-
/**
|
|
6
|
-
* A mark the LIST puts on a quote, not the quote on itself.
|
|
7
|
-
*
|
|
8
|
-
* `cheapest` and `fastest` are statements about the set: a card handed one out
|
|
9
|
-
* of context would be claiming something it cannot know. `CarrierQuoteList`
|
|
10
|
-
* derives them from `priceValue` / `etaMinutes` and passes them down, and a
|
|
11
|
-
* caller rendering a lone card supplies them only if it has the same set.
|
|
12
|
-
*/
|
|
13
|
-
export type CarrierQuoteMark = 'cheapest' | 'fastest';
|
|
14
|
-
/** What the list orders by. */
|
|
15
|
-
export type CarrierQuoteSort = 'price' | 'eta' | 'rating';
|
|
16
|
-
/** `comfortable` is the offers screen; `compact` fits a sheet or a side panel. */
|
|
17
|
-
export type CarrierQuoteDensity = 'comfortable' | 'compact';
|
|
18
|
-
export interface CarrierQuoteCarrier {
|
|
19
|
-
/** Identifies the carrier to the app. Not drawn. */
|
|
20
|
-
id: string;
|
|
21
|
-
/** The name on the card — a person or a company. */
|
|
22
|
-
name: string;
|
|
23
|
-
/** A URL, an `{ uri }`, or an `ImageResolver` id. */
|
|
24
|
-
avatar?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The rating on a 5 scale, handed straight to `Rating`. `null` (or omitted)
|
|
27
|
-
* is a carrier with no rating yet, which `Rating` draws as "New".
|
|
28
|
-
*/
|
|
29
|
-
rating?: number | string | null;
|
|
30
|
-
/** How many jobs they have done. A string is drawn as given ("1.2k"). */
|
|
31
|
-
jobs?: number | string;
|
|
32
|
-
/** What they will arrive in — "Van", "Cargo bike". */
|
|
33
|
-
vehicle?: string;
|
|
34
|
-
/** The vehicle's glyph, drawn in the vehicle tile. */
|
|
35
|
-
vehicleIcon?: BloomIconComponent;
|
|
36
|
-
/** Draws the verified mark after the name. */
|
|
37
|
-
verified?: boolean;
|
|
38
|
-
/** A one-line trade line under the name — "Larkspur Freight · Lisbon". */
|
|
39
|
-
detail?: string;
|
|
40
|
-
}
|
|
41
|
-
export interface CarrierQuote {
|
|
42
|
-
/** Identifies the offer to `onAccept` / `onMessage` / `onDecline`, and keys the row. */
|
|
43
|
-
id: string;
|
|
44
|
-
carrier: CarrierQuoteCarrier;
|
|
45
|
-
/**
|
|
46
|
-
* The offer, PRE-FORMATTED with its currency: `"€38.40"`. Nothing in this
|
|
47
|
-
* family parses, sums, converts or rounds an amount.
|
|
48
|
-
*/
|
|
49
|
-
price: string;
|
|
50
|
-
/** A quieter line under the price — "All in, VAT included". */
|
|
51
|
-
priceNote?: string;
|
|
52
|
-
/** The itemisation, handed to `PriceSummary` unchanged. */
|
|
53
|
-
priceLines?: readonly PriceLine[];
|
|
54
|
-
/** The summary's own total row. Without it the breakdown draws the lines and no rule. */
|
|
55
|
-
priceTotal?: PriceTotal;
|
|
56
|
-
/** When they would collect — "Today, 14:00–16:00". */
|
|
57
|
-
pickupWindow?: string;
|
|
58
|
-
/** When it would land — "Arrives 17:40", "2 h 10". */
|
|
59
|
-
eta?: string;
|
|
60
|
-
/** What the carrier wrote with the offer. Drawn at three lines, then truncated. */
|
|
61
|
-
message?: string;
|
|
62
|
-
/** How long the offer stands — "Expires in 12 min". Drawn as a warning-toned line. */
|
|
63
|
-
expiresIn?: string;
|
|
64
|
-
/**
|
|
65
|
-
* The price as a NUMBER, for sorting and for the `cheapest` mark only. Never
|
|
66
|
-
* drawn, never formatted, and in whatever unit the app compares in — this
|
|
67
|
-
* family only ever asks which of two is smaller. A quote without it sorts
|
|
68
|
-
* last and is never marked.
|
|
69
|
-
*/
|
|
70
|
-
priceValue?: number;
|
|
71
|
-
/** The ETA in minutes, for sorting and for the `fastest` mark. Same rules. */
|
|
72
|
-
etaMinutes?: number;
|
|
73
|
-
/** Marks drawn beside the name. The list supplies these; see {@link CarrierQuoteMark}. */
|
|
74
|
-
marks?: readonly CarrierQuoteMark[];
|
|
75
|
-
}
|
|
76
|
-
/** Every word the card and the list speak, in one prop. */
|
|
77
|
-
export interface CarrierQuoteLabels {
|
|
78
|
-
/** The accept action. Default `"Accept"`. */
|
|
79
|
-
accept?: string;
|
|
80
|
-
/** The message action. Default `"Message"`. */
|
|
81
|
-
message?: string;
|
|
82
|
-
/** The decline action. Default `"Decline"`. */
|
|
83
|
-
decline?: string;
|
|
84
|
-
/** Over the pick-up tile. Default `"Pick-up"`. */
|
|
85
|
-
pickup?: string;
|
|
86
|
-
/** Over the arrival tile. Default `"Arrives"`. */
|
|
87
|
-
eta?: string;
|
|
88
|
-
/** Over the vehicle tile. Default `"Vehicle"`. */
|
|
89
|
-
vehicle?: string;
|
|
90
|
-
/** After the jobs count. Default `` (jobs) => `${jobs} jobs` ``. */
|
|
91
|
-
jobs?: (jobs: string) => string;
|
|
92
|
-
/** The verified mark's name — it draws a glyph and no text. Default `"Verified carrier"`. */
|
|
93
|
-
verified?: string;
|
|
94
|
-
/** The marks. Defaults `"Cheapest"` and `"Fastest"`. */
|
|
95
|
-
marks?: Partial<Record<CarrierQuoteMark, string>>;
|
|
96
|
-
/** The breakdown disclosure. Defaults `"Show price details"` / `"Hide price details"`. */
|
|
97
|
-
showPrice?: string;
|
|
98
|
-
hidePrice?: string;
|
|
99
|
-
/** Names the itemisation, before the carrier's name. Default `"Price details for"`. */
|
|
100
|
-
priceDetails?: string;
|
|
101
|
-
/** The sort control's name. Default `"Sort offers"`. */
|
|
102
|
-
sort?: string;
|
|
103
|
-
/** The sort options. Defaults `"Cheapest"`, `"Fastest"`, `"Best rated"`. */
|
|
104
|
-
sortOptions?: Partial<Record<CarrierQuoteSort, string>>;
|
|
105
|
-
/** The list's heading. Default `` (count) => count === 1 ? '1 offer' : `${count} offers` ``. */
|
|
106
|
-
count?: (count: number) => string;
|
|
107
|
-
/** The loading list's name. Default `"Loading offers"`. */
|
|
108
|
-
loading?: string;
|
|
109
|
-
}
|
|
110
|
-
export interface CarrierQuoteCardProps {
|
|
111
|
-
/** The offer. */
|
|
112
|
-
quote: CarrierQuote;
|
|
113
|
-
/** Draws the accept action. Called with the quote's id. */
|
|
114
|
-
onAccept?: (id: string) => void;
|
|
115
|
-
/** Draws the message action. Called with the quote's id. */
|
|
116
|
-
onMessage?: (id: string) => void;
|
|
117
|
-
/** Draws the decline action. Called with the quote's id. */
|
|
118
|
-
onDecline?: (id: string) => void;
|
|
119
|
-
/** Makes the identity block pressable — an app opens the carrier's profile from here. */
|
|
120
|
-
onPressCarrier?: (id: string) => void;
|
|
121
|
-
/**
|
|
122
|
-
* Draws the itemisation behind a disclosure under the tiles. Default `true`
|
|
123
|
-
* when the quote carries `priceLines`; `false` never draws it.
|
|
124
|
-
*/
|
|
125
|
-
breakdown?: boolean;
|
|
126
|
-
/** Starts the breakdown open. Default `false`. */
|
|
127
|
-
defaultBreakdownExpanded?: boolean;
|
|
128
|
-
/** Default `comfortable`. */
|
|
129
|
-
density?: CarrierQuoteDensity;
|
|
130
|
-
/** Paints the card as the chosen offer: the accent border and a checked mark. */
|
|
131
|
-
selected?: boolean;
|
|
132
|
-
/** Dims the card and stops every action. */
|
|
133
|
-
disabled?: boolean;
|
|
134
|
-
/** Replaces the three built-in actions entirely. */
|
|
135
|
-
actions?: ReactNode;
|
|
136
|
-
labels?: CarrierQuoteLabels;
|
|
137
|
-
/** Overrides the composed name of the identity block. */
|
|
138
|
-
accessibilityLabel?: string;
|
|
139
|
-
style?: StyleProp<ViewStyle>;
|
|
140
|
-
testID?: string;
|
|
141
|
-
}
|
|
142
|
-
export interface CarrierQuoteListProps {
|
|
143
|
-
/** The offers. Order is the list's, not the caller's — see `sort`. */
|
|
144
|
-
quotes: readonly CarrierQuote[];
|
|
145
|
-
/** Controlled sort. */
|
|
146
|
-
sort?: CarrierQuoteSort;
|
|
147
|
-
/** Uncontrolled initial sort. Default `price`. */
|
|
148
|
-
defaultSort?: CarrierQuoteSort;
|
|
149
|
-
onSortChange?: (sort: CarrierQuoteSort) => void;
|
|
150
|
-
/**
|
|
151
|
-
* Which orders are offered, in the order they are drawn. Default all three.
|
|
152
|
-
* An empty array draws no sort control — a list of two offers does not need
|
|
153
|
-
* one.
|
|
154
|
-
*/
|
|
155
|
-
sortOptions?: readonly CarrierQuoteSort[];
|
|
156
|
-
/** Draws the count line over the list. Default `true`. */
|
|
157
|
-
showCount?: boolean;
|
|
158
|
-
/**
|
|
159
|
-
* Marks the cheapest and the fastest offer. Default `true`. Every offer tied
|
|
160
|
-
* at the minimum is marked — two offers at the same price are both the
|
|
161
|
-
* cheapest, and picking one of them arbitrarily would be this component
|
|
162
|
-
* inventing a tie-break.
|
|
163
|
-
*/
|
|
164
|
-
marks?: boolean;
|
|
165
|
-
/** Replaces the list with placeholder cards. */
|
|
166
|
-
loading?: boolean;
|
|
167
|
-
/** How many placeholders. Default `3`. */
|
|
168
|
-
loadingCount?: number;
|
|
169
|
-
/** Forwarded to every card. */
|
|
170
|
-
onAccept?: (id: string) => void;
|
|
171
|
-
onMessage?: (id: string) => void;
|
|
172
|
-
onDecline?: (id: string) => void;
|
|
173
|
-
onPressCarrier?: (id: string) => void;
|
|
174
|
-
/** The chosen offer's id, if one has been chosen. */
|
|
175
|
-
selectedId?: string | null;
|
|
176
|
-
density?: CarrierQuoteDensity;
|
|
177
|
-
breakdown?: boolean;
|
|
178
|
-
/** The line over the empty state. Default `"No offers yet"`. */
|
|
179
|
-
emptyTitle?: string;
|
|
180
|
-
/** Under it. Default `"Carriers are looking at your job. The first offers usually arrive within a few minutes."`. */
|
|
181
|
-
emptyDescription?: string;
|
|
182
|
-
/** A control under the empty state — "Edit the job", "Invite a carrier". */
|
|
183
|
-
emptyAction?: ReactNode;
|
|
184
|
-
labels?: CarrierQuoteLabels;
|
|
185
|
-
/** Names the list. Default `"Offers"`. */
|
|
186
|
-
accessibilityLabel?: string;
|
|
187
|
-
style?: StyleProp<ViewStyle>;
|
|
188
|
-
/** Derives `-<quote id>` for each card. */
|
|
189
|
-
testID?: string;
|
|
190
|
-
}
|
|
191
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/carrier-quote/types.ts"],"names":[],"mappings":"AAAA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@@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { DeliverySlotDaysProps } from './types.js';
|
|
3
|
-
/**
|
|
4
|
-
* The days across the top: which day's windows are listed below.
|
|
5
|
-
*
|
|
6
|
-
* tile `SelectChip shape="day"` — 56 wide, radius 12, a hairline at rest,
|
|
7
|
-
* a neutral wash under a pointer, INVERTED when chosen
|
|
8
|
-
* text the weekday caption-1-regular over the date headline-semibold in
|
|
9
|
-
* tabular figures, so a two-digit date does not widen the tile
|
|
10
|
-
* strip `ChipRow`, 8 apart, which supplies the sideways scroll, the fade
|
|
11
|
-
* at whichever edge has more behind it, and the room a focus ring
|
|
12
|
-
* needs so the outline is not clipped by its own scroller
|
|
13
|
-
* unavailable struck through at the disabled opacity, not pressable
|
|
14
|
-
*
|
|
15
|
-
* Both parts are the library's. `SelectChip` is the day tile Bloom already
|
|
16
|
-
* draws for scheduling a viewing — a day picked out of a strip is one thing,
|
|
17
|
-
* not one per app — and `ChipRow` is the sideways scroller five filter rows
|
|
18
|
-
* share. Nothing here is a new shape.
|
|
19
|
-
*
|
|
20
|
-
* It announces as a `radiogroup` of `radio`s, which is what the control IS: one
|
|
21
|
-
* day of several, exactly one chosen. The WINDOWS are their own group — two
|
|
22
|
-
* choices, two groups, rather than one group a reader has to infer the halves
|
|
23
|
-
* of.
|
|
24
|
-
*/
|
|
25
|
-
declare function DeliverySlotDaysComponent({ days, value, onChange, accessibilityLabel: accessibilityLabelProp, disabled, fadeColor, style, testID, }: DeliverySlotDaysProps): React.JSX.Element;
|
|
26
|
-
export declare const DeliverySlotDays: React.MemoExoticComponent<typeof DeliverySlotDaysComponent>;
|
|
27
|
-
export {};
|
|
28
|
-
//# sourceMappingURL=DeliverySlotDays.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeliverySlotDays.d.ts","sourceRoot":"","sources":["../../../../src/delivery-slot/DeliverySlotDays.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAOpC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAS,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,iBAAS,yBAAyB,CAAC,EACjC,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,kBAAkB,EAAE,sBAAsB,EAC1C,QAAgB,EAChB,SAAS,EACT,KAAK,EACL,MAAM,GACP,EAAE,qBAAqB,qBA+CvB;AAED,eAAO,MAAM,gBAAgB,6DAAkC,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { DeliverySlotOptionProps } from './types.js';
|
|
3
|
-
/**
|
|
4
|
-
* One choosable slot: the window, what class of service it is and what is left
|
|
5
|
-
* of it, and what it costs.
|
|
6
|
-
*
|
|
7
|
-
* dot `RadioIndicator` at 20 (`Radio`'s `lg` rung — the row is two lines
|
|
8
|
-
* tall, and the 16 dot read as a bullet beside it)
|
|
9
|
-
* label the row's own rung, with an optional glyph before it and a `Badge`
|
|
10
|
-
* after it
|
|
11
|
-
* detail body-2-regular secondary — the tier, the capacity, the note, or
|
|
12
|
-
* just "Sold out"
|
|
13
|
-
* price body-medium in TABULAR figures at the end, so a column of
|
|
14
|
-
* surcharges lines up
|
|
15
|
-
* box radius 12, a hairline at rest; the chosen row takes the text
|
|
16
|
-
* colour for its border and one surface step for its fill
|
|
17
|
-
*
|
|
18
|
-
* It is `Item` with `role="radio"`: the press target, the hover and press
|
|
19
|
-
* paint, the disabled opacity and — the part worth naming — the `aria-checked`
|
|
20
|
-
* that role scopes are all `Item`'s, which is why this is a radio rather than a
|
|
21
|
-
* pressable that happens to look selected. A sold-out window is `disabled`, so
|
|
22
|
-
* it announces as unavailable instead of merely being drawn pale.
|
|
23
|
-
*/
|
|
24
|
-
declare function DeliverySlotOptionComponent({ label, detail, price, badge, icon: Icon, selected, disabled, onPress, accessibilityLabel, style, testID, }: DeliverySlotOptionProps): React.JSX.Element;
|
|
25
|
-
export declare const DeliverySlotOption: React.MemoExoticComponent<typeof DeliverySlotOptionComponent>;
|
|
26
|
-
export {};
|
|
27
|
-
//# sourceMappingURL=DeliverySlotOption.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeliverySlotOption.d.ts","sourceRoot":"","sources":["../../../../src/delivery-slot/DeliverySlotOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAU7C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAS,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,iBAAS,2BAA2B,CAAC,EACnC,KAAK,EACL,MAAM,EACN,KAAK,EACL,KAAK,EACL,IAAI,EAAE,IAAI,EACV,QAAgB,EAChB,QAAgB,EAChB,OAAO,EACP,kBAAkB,EAClB,KAAK,EACL,MAAM,GACP,EAAE,uBAAuB,qBA0EzB;AAED,eAAO,MAAM,kBAAkB,+DAAoC,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { DeliverySlotPickerProps } from './types.js';
|
|
3
|
-
/**
|
|
4
|
-
* When: a day, then a window of that day — or the next courier.
|
|
5
|
-
*
|
|
6
|
-
* field standalone, the whole picker IS a `Field` (`multiple`), so one
|
|
7
|
-
* label names the choice, one `error` puts it in its invalid state,
|
|
8
|
-
* and one `disabled` reaches the strip and every option. Dropped
|
|
9
|
-
* inside somebody else's `Field` it renders no second one and reads
|
|
10
|
-
* theirs instead.
|
|
11
|
-
* days `DeliverySlotDays`, a `radiogroup` of day tiles
|
|
12
|
-
* options 16 under the strip; a `radiogroup` of `DeliverySlotOption`s 8
|
|
13
|
-
* apart, the ASAP option at the head of it
|
|
14
|
-
* loading placeholder rows announced as busy — the windows are RELOADED when
|
|
15
|
-
* the day changes, and an empty list during that reload reads as
|
|
16
|
-
* "nothing left today"
|
|
17
|
-
* empty `EmptyState` at the panel rung
|
|
18
|
-
*
|
|
19
|
-
* ## It is a selection, so it is a radio group
|
|
20
|
-
*
|
|
21
|
-
* Not a set of pressables that happen to look selected. The difference is what
|
|
22
|
-
* a screen reader says: a `radiogroup` announces the name of the choice and
|
|
23
|
-
* "3 of 7", and each row announces whether it is the chosen one. Pressables
|
|
24
|
-
* announce seven unrelated buttons, one of which is drawn differently.
|
|
25
|
-
*
|
|
26
|
-
* ## It computes nothing
|
|
27
|
-
*
|
|
28
|
-
* Every window, every price and every reading is a string the app formatted.
|
|
29
|
-
* The only ordering this family does is the order it was handed.
|
|
30
|
-
*/
|
|
31
|
-
declare function DeliverySlotPickerComponent({ label, description, error, required, disabled, dayLabel: dayLabelProp, emptyTitle: emptyTitleProp, emptyDescription: emptyDescriptionProp, soldOutLabel: soldOutLabelProp, loadingRows, style, testID, ...rest }: DeliverySlotPickerProps): React.JSX.Element;
|
|
32
|
-
export declare const DeliverySlotPicker: React.MemoExoticComponent<typeof DeliverySlotPickerComponent>;
|
|
33
|
-
export {};
|
|
34
|
-
//# sourceMappingURL=DeliverySlotPicker.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeliverySlotPicker.d.ts","sourceRoot":"","sources":["../../../../src/delivery-slot/DeliverySlotPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAqB7C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAS,CAAC;AAgKvD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,iBAAS,2BAA2B,CAAC,EACnC,KAAK,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,QAAQ,EAAE,YAAY,EACtB,UAAU,EAAE,cAAc,EAC1B,gBAAgB,EAAE,oBAAoB,EACtC,YAAY,EAAE,gBAAgB,EAC9B,WAAe,EACf,KAAK,EACL,MAAM,EACN,GAAG,IAAI,EACR,EAAE,uBAAuB,qBAgDzB;AAED,eAAO,MAAM,kBAAkB,+DAAoC,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { DeliveryTier } from './types.js';
|
|
2
|
-
/** The words a tier is drawn and announced with. */
|
|
3
|
-
export declare const DELIVERY_TIER_LABELS: Record<DeliveryTier, string>;
|
|
4
|
-
/** What a taken window says. */
|
|
5
|
-
export declare const DELIVERY_SOLD_OUT_LABEL: string;
|
|
6
|
-
/** The option that belongs to no day. */
|
|
7
|
-
export declare const DELIVERY_ASAP_LABEL: string;
|
|
8
|
-
/** The field's own name, which is also the radio group's. */
|
|
9
|
-
export declare const DELIVERY_FIELD_LABEL: string;
|
|
10
|
-
export declare const DELIVERY_DAY_LABEL: string;
|
|
11
|
-
/** What there is to say when a day has nothing left. */
|
|
12
|
-
export declare const DELIVERY_EMPTY_TITLE: string;
|
|
13
|
-
export declare const DELIVERY_EMPTY_DESCRIPTION: string;
|
|
14
|
-
/**
|
|
15
|
-
* The radio dot at the head of an option row. 20 is `Radio`'s `lg` rung: the
|
|
16
|
-
* row it marks is two lines tall, and the 16 `md` dot read as a bullet beside
|
|
17
|
-
* it rather than as the control.
|
|
18
|
-
*/
|
|
19
|
-
export declare const DELIVERY_DOT = 20;
|
|
20
|
-
/** The glyph the ASAP row draws instead of a dot, when it is not chosen. */
|
|
21
|
-
export declare const DELIVERY_GLYPH = 20;
|
|
22
|
-
/** Between the day strip and the options, and between the options. */
|
|
23
|
-
export declare const DELIVERY_SECTION_GAP = 16;
|
|
24
|
-
export declare const DELIVERY_OPTION_GAP = 8;
|
|
25
|
-
/**
|
|
26
|
-
* The option row's corner and border. Radius 12 is the field rung every picker
|
|
27
|
-
* in the library draws its choosable boxes at; the row is bordered rather than
|
|
28
|
-
* washed because an unbordered list of windows and a bordered day strip above
|
|
29
|
-
* it read as two different controls.
|
|
30
|
-
*/
|
|
31
|
-
export declare const DELIVERY_OPTION_RADIUS = 12;
|
|
32
|
-
/** The separator between the parts of an option's detail line. */
|
|
33
|
-
export declare const DELIVERY_DETAIL_SEPARATOR = " \u00B7 ";
|
|
34
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/delivery-slot/constants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAM5C,oDAAoD;AACpD,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAAY,CAAC;AAE3E,gCAAgC;AAChC,eAAO,MAAM,uBAAuB,QAAa,CAAC;AAElD,yCAAyC;AACzC,eAAO,MAAM,mBAAmB,QAAU,CAAC;AAE3C,6DAA6D;AAC7D,eAAO,MAAM,oBAAoB,QAAW,CAAC;AAC7C,eAAO,MAAM,kBAAkB,QAAS,CAAC;AAEzC,wDAAwD;AACxD,eAAO,MAAM,oBAAoB,QAAgB,CAAC;AAClD,eAAO,MAAM,0BAA0B,QAAsB,CAAC;AAE9D;;;;GAIG;AACH,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,4EAA4E;AAC5E,eAAO,MAAM,cAAc,KAAK,CAAC;AAEjC,sEAAsE;AACtE,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,eAAO,MAAM,mBAAmB,IAAI,CAAC;AAErC;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,KAAK,CAAC;AAEzC,kEAAkE;AAClE,eAAO,MAAM,yBAAyB,aAAQ,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { DeliverySlotDays } from './DeliverySlotDays.js';
|
|
2
|
-
export { DeliverySlotOption } from './DeliverySlotOption.js';
|
|
3
|
-
export { DeliverySlotPicker } from './DeliverySlotPicker.js';
|
|
4
|
-
export { DELIVERY_ASAP_LABEL, DELIVERY_DAY_LABEL, DELIVERY_EMPTY_DESCRIPTION, DELIVERY_EMPTY_TITLE, DELIVERY_FIELD_LABEL, DELIVERY_OPTION_RADIUS, DELIVERY_SOLD_OUT_LABEL, DELIVERY_TIER_LABELS, } from './constants.js';
|
|
5
|
-
export { joinDeliveryParts, resolveDeliverySlotPaint, windowDetail, windowName } from './shared.js';
|
|
6
|
-
export type { DeliverySlotPaint } from './shared.js';
|
|
7
|
-
export type { DeliveryAsapOption, DeliveryDay, DeliverySlotDaysProps, DeliverySlotOptionProps, DeliverySlotPickerProps, DeliveryTier, DeliveryWindow, } from './types.js';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/delivery-slot/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAoB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAsB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAsB,CAAC;AAC1D,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,gBAAa,CAAC;AACrB,OAAO,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,aAAU,CAAC;AACjG,YAAY,EAAE,iBAAiB,EAAE,MAAM,aAAU,CAAC;AAClD,YAAY,EACV,kBAAkB,EAClB,WAAW,EACX,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,YAAY,EACZ,cAAc,GACf,MAAM,YAAS,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { type MessageCatalog } from '../locale/messages.js';
|
|
2
|
-
import type { DeliveryTier } from './types.js';
|
|
3
|
-
/**
|
|
4
|
-
* Every fixed string the delivery-slot family draws or announces, in each
|
|
5
|
-
* Bloom language. A caller's `label`, `dayLabel`, `emptyTitle`,
|
|
6
|
-
* `emptyDescription`, `tierLabels`, `soldOutLabel` and the ASAP option's
|
|
7
|
-
* `label` still win.
|
|
8
|
-
*/
|
|
9
|
-
export interface DeliverySlotMessages {
|
|
10
|
-
tiers: Record<DeliveryTier, string>;
|
|
11
|
-
/** What a taken window says. */
|
|
12
|
-
soldOut: string;
|
|
13
|
-
/** The option that belongs to no day. */
|
|
14
|
-
asap: string;
|
|
15
|
-
/** The field's own name, which is also the radio group's. */
|
|
16
|
-
field: string;
|
|
17
|
-
/** Names the day strip. */
|
|
18
|
-
day: string;
|
|
19
|
-
emptyTitle: string;
|
|
20
|
-
emptyDescription: string;
|
|
21
|
-
}
|
|
22
|
-
export declare const DELIVERY_SLOT_MESSAGES: MessageCatalog<DeliverySlotMessages>;
|
|
23
|
-
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../src/delivery-slot/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,uBAAoB,CAAC;AACzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAE5C;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IACpC,gCAAgC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,6DAA6D;IAC7D,KAAK,EAAE,MAAM,CAAC;IACd,2BAA2B;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,sBAAsB,EAAE,cAAc,CAAC,oBAAoB,CASpE,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* What the picker paints, and the two joins that decide what a screen reader
|
|
3
|
-
* says about a window.
|
|
4
|
-
*
|
|
5
|
-
* The paint is read RELATIVE to the surface the picker was dropped on
|
|
6
|
-
* (`styles/surface-levels.ts`): a delivery picker is a step of a checkout page,
|
|
7
|
-
* a sheet over a basket and a panel beside a map, and an option border picked
|
|
8
|
-
* by eye disappears on one of the three.
|
|
9
|
-
*
|
|
10
|
-
* Pure, so `DeliverySlot.test.tsx` can walk presets and modes without
|
|
11
|
-
* rendering.
|
|
12
|
-
*/
|
|
13
|
-
import { type SurfaceTextPaint } from '../styles/surface-levels.js';
|
|
14
|
-
import type { Theme } from '../theme/types.js';
|
|
15
|
-
import { type DeliverySlotMessages } from './messages.js';
|
|
16
|
-
import type { DeliveryTier, DeliveryWindow } from './types.js';
|
|
17
|
-
export interface DeliverySlotPaint extends SurfaceTextPaint {
|
|
18
|
-
/** An unchosen option's border. */
|
|
19
|
-
border: string;
|
|
20
|
-
/** The chosen option's wash. */
|
|
21
|
-
selected: string;
|
|
22
|
-
}
|
|
23
|
-
export declare function resolveDeliverySlotPaint(theme: Theme, surface: string): DeliverySlotPaint;
|
|
24
|
-
/** Joins the non-empty parts of a line with the family's separator. */
|
|
25
|
-
export declare function joinDeliveryParts(parts: ReadonlyArray<string | false | null | undefined>, separator?: string): string | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* The line under a window: what class of service it is, and what is left of it.
|
|
28
|
-
*
|
|
29
|
-
* A SOLD-OUT window says only that. The tier and the capacity of a window
|
|
30
|
-
* nobody can take are facts about a thing that is not on offer, and reading
|
|
31
|
-
* them out after "Sold out" is how a reader ends up tapping it.
|
|
32
|
-
*/
|
|
33
|
-
export declare function windowDetail(window: DeliveryWindow, tierLabels?: Partial<Record<DeliveryTier, string>>, soldOutLabel?: string, messages?: DeliverySlotMessages): string | undefined;
|
|
34
|
-
/** The window's announced name: the window, then everything true about it. */
|
|
35
|
-
export declare function windowName(window: DeliveryWindow, tierLabels?: Partial<Record<DeliveryTier, string>>, soldOutLabel?: string, messages?: DeliverySlotMessages): string;
|
|
36
|
-
//# s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