@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.
Files changed (880) hide show
  1. package/docs/admonition.mdx +1 -2
  2. package/docs/adoption-matrix.mdx +3 -12
  3. package/docs/bloom-language-modifiers.mdx +9 -48
  4. package/docs/bloom-language-nodes.mdx +2 -195
  5. package/docs/bloom-language-tokens.mdx +2 -2
  6. package/docs/bloom-language.mdx +18 -56
  7. package/docs/empty-state.mdx +1 -2
  8. package/docs/fab.mdx +5 -3
  9. package/docs/field.mdx +1 -1
  10. package/docs/public-parts.mdx +2 -18
  11. package/docs/screen.mdx +10 -0
  12. package/docs/scroll.mdx +7 -0
  13. package/docs/task-catalog.json +1 -1
  14. package/docs/task-catalog.mdx +1 -1
  15. package/lib/commonjs/button/Button.web.js +5 -2
  16. package/lib/commonjs/button/Button.web.js.map +1 -1
  17. package/lib/commonjs/button/shared.js.map +1 -1
  18. package/lib/commonjs/chat-composer/shared.js.map +1 -1
  19. package/lib/commonjs/chat-people/StoryViewer.js +2 -1
  20. package/lib/commonjs/chat-people/StoryViewer.js.map +1 -1
  21. package/lib/commonjs/date-picker/PickerShell.js +2 -1
  22. package/lib/commonjs/date-picker/PickerShell.js.map +1 -1
  23. package/lib/commonjs/dialog/DetailDialogMotion.js +10 -4
  24. package/lib/commonjs/dialog/DetailDialogMotion.js.map +1 -1
  25. package/lib/commonjs/fab/constants.js +5 -2
  26. package/lib/commonjs/fab/constants.js.map +1 -1
  27. package/lib/commonjs/fab/index.js +6 -0
  28. package/lib/commonjs/fab/index.js.map +1 -1
  29. package/lib/commonjs/fab/index.web.js +6 -0
  30. package/lib/commonjs/fab/index.web.js.map +1 -1
  31. package/lib/commonjs/fab/use-fab-props.js +1 -1
  32. package/lib/commonjs/fab/use-fab-props.js.map +1 -1
  33. package/lib/commonjs/field/FieldConstraintScope.js +2 -2
  34. package/lib/commonjs/floating/lens/lens-button-host.js +2 -1
  35. package/lib/commonjs/floating/lens/lens-button-host.js.map +1 -1
  36. package/lib/commonjs/floating/lens/lens-tint.js +19 -0
  37. package/lib/commonjs/floating/lens/lens-tint.js.map +1 -0
  38. package/lib/commonjs/floating/lens/use-lens-menu.js +2 -1
  39. package/lib/commonjs/floating/lens/use-lens-menu.js.map +1 -1
  40. package/lib/commonjs/index.js +229 -866
  41. package/lib/commonjs/index.js.map +1 -1
  42. package/lib/commonjs/index.web.js +229 -866
  43. package/lib/commonjs/index.web.js.map +1 -1
  44. package/lib/commonjs/listing-actions/ApplicationChecklist.js.map +1 -1
  45. package/lib/commonjs/locale/translations/ar.js +0 -262
  46. package/lib/commonjs/locale/translations/ar.js.map +1 -1
  47. package/lib/commonjs/locale/translations/bn.js +0 -234
  48. package/lib/commonjs/locale/translations/bn.js.map +1 -1
  49. package/lib/commonjs/locale/translations/ca.js +0 -249
  50. package/lib/commonjs/locale/translations/ca.js.map +1 -1
  51. package/lib/commonjs/locale/translations/de.js +0 -246
  52. package/lib/commonjs/locale/translations/de.js.map +1 -1
  53. package/lib/commonjs/locale/translations/es.js +0 -249
  54. package/lib/commonjs/locale/translations/es.js.map +1 -1
  55. package/lib/commonjs/locale/translations/fr.js +0 -249
  56. package/lib/commonjs/locale/translations/fr.js.map +1 -1
  57. package/lib/commonjs/locale/translations/hi.js +0 -240
  58. package/lib/commonjs/locale/translations/hi.js.map +1 -1
  59. package/lib/commonjs/locale/translations/id.js +0 -234
  60. package/lib/commonjs/locale/translations/id.js.map +1 -1
  61. package/lib/commonjs/locale/translations/it.js +0 -249
  62. package/lib/commonjs/locale/translations/it.js.map +1 -1
  63. package/lib/commonjs/locale/translations/ja.js +0 -234
  64. package/lib/commonjs/locale/translations/ja.js.map +1 -1
  65. package/lib/commonjs/locale/translations/pt.js +0 -249
  66. package/lib/commonjs/locale/translations/pt.js.map +1 -1
  67. package/lib/commonjs/locale/translations/ru.js +0 -259
  68. package/lib/commonjs/locale/translations/ru.js.map +1 -1
  69. package/lib/commonjs/locale/translations/tr.js +0 -238
  70. package/lib/commonjs/locale/translations/tr.js.map +1 -1
  71. package/lib/commonjs/locale/translations/zh.js +0 -234
  72. package/lib/commonjs/locale/translations/zh.js.map +1 -1
  73. package/lib/commonjs/overlay/Overlay.js +13 -22
  74. package/lib/commonjs/overlay/Overlay.js.map +1 -1
  75. package/lib/commonjs/panel-routing/expo-router/StackScene.js +42 -3
  76. package/lib/commonjs/panel-routing/expo-router/StackScene.js.map +1 -1
  77. package/lib/commonjs/queue-panel/QueueIconButton.js.map +1 -1
  78. package/lib/commonjs/screen/index.js +7 -0
  79. package/lib/commonjs/screen/index.js.map +1 -1
  80. package/lib/commonjs/screen/index.web.js +7 -0
  81. package/lib/commonjs/screen/index.web.js.map +1 -1
  82. package/lib/commonjs/screen/use-screen-entered.js +28 -0
  83. package/lib/commonjs/screen/use-screen-entered.js.map +1 -0
  84. package/lib/commonjs/screen/use-screen-scroll.js +21 -2
  85. package/lib/commonjs/screen/use-screen-scroll.js.map +1 -1
  86. package/lib/commonjs/sidebar/Sidebar.js +18 -9
  87. package/lib/commonjs/sidebar/Sidebar.js.map +1 -1
  88. package/lib/commonjs/tab-pager/expo-router/TabPager.js +18 -13
  89. package/lib/commonjs/tab-pager/expo-router/TabPager.js.map +1 -1
  90. package/lib/commonjs/tabs/expo-router/RouterTabs.js.map +1 -1
  91. package/lib/commonjs/toast/ToastHost.js +1 -0
  92. package/lib/commonjs/toast/ToastHost.js.map +1 -1
  93. package/lib/commonjs/toast/ToastHost.native.js +1 -0
  94. package/lib/commonjs/toast/ToastHost.native.js.map +1 -1
  95. package/lib/module/button/Button.web.js +6 -3
  96. package/lib/module/button/Button.web.js.map +1 -1
  97. package/lib/module/button/shared.js.map +1 -1
  98. package/lib/module/chat-composer/shared.js.map +1 -1
  99. package/lib/module/chat-people/StoryViewer.js +1 -2
  100. package/lib/module/chat-people/StoryViewer.js.map +1 -1
  101. package/lib/module/date-picker/PickerShell.js +1 -2
  102. package/lib/module/date-picker/PickerShell.js.map +1 -1
  103. package/lib/module/dialog/DetailDialogMotion.js +11 -5
  104. package/lib/module/dialog/DetailDialogMotion.js.map +1 -1
  105. package/lib/module/fab/constants.js +4 -1
  106. package/lib/module/fab/constants.js.map +1 -1
  107. package/lib/module/fab/index.js +1 -1
  108. package/lib/module/fab/index.js.map +1 -1
  109. package/lib/module/fab/index.web.js +1 -1
  110. package/lib/module/fab/index.web.js.map +1 -1
  111. package/lib/module/fab/use-fab-props.js +2 -2
  112. package/lib/module/fab/use-fab-props.js.map +1 -1
  113. package/lib/module/field/FieldConstraintScope.js +2 -2
  114. package/lib/module/floating/lens/lens-button-host.js +2 -1
  115. package/lib/module/floating/lens/lens-button-host.js.map +1 -1
  116. package/lib/module/floating/lens/lens-tint.js +15 -0
  117. package/lib/module/floating/lens/lens-tint.js.map +1 -0
  118. package/lib/module/floating/lens/use-lens-menu.js +2 -1
  119. package/lib/module/floating/lens/use-lens-menu.js.map +1 -1
  120. package/lib/module/index.js +0 -23
  121. package/lib/module/index.js.map +1 -1
  122. package/lib/module/index.web.js +0 -23
  123. package/lib/module/index.web.js.map +1 -1
  124. package/lib/module/listing-actions/ApplicationChecklist.js.map +1 -1
  125. package/lib/module/locale/translations/ar.js +0 -262
  126. package/lib/module/locale/translations/ar.js.map +1 -1
  127. package/lib/module/locale/translations/bn.js +0 -234
  128. package/lib/module/locale/translations/bn.js.map +1 -1
  129. package/lib/module/locale/translations/ca.js +0 -249
  130. package/lib/module/locale/translations/ca.js.map +1 -1
  131. package/lib/module/locale/translations/de.js +0 -246
  132. package/lib/module/locale/translations/de.js.map +1 -1
  133. package/lib/module/locale/translations/es.js +0 -249
  134. package/lib/module/locale/translations/es.js.map +1 -1
  135. package/lib/module/locale/translations/fr.js +0 -249
  136. package/lib/module/locale/translations/fr.js.map +1 -1
  137. package/lib/module/locale/translations/hi.js +0 -240
  138. package/lib/module/locale/translations/hi.js.map +1 -1
  139. package/lib/module/locale/translations/id.js +0 -234
  140. package/lib/module/locale/translations/id.js.map +1 -1
  141. package/lib/module/locale/translations/it.js +0 -249
  142. package/lib/module/locale/translations/it.js.map +1 -1
  143. package/lib/module/locale/translations/ja.js +0 -234
  144. package/lib/module/locale/translations/ja.js.map +1 -1
  145. package/lib/module/locale/translations/pt.js +0 -249
  146. package/lib/module/locale/translations/pt.js.map +1 -1
  147. package/lib/module/locale/translations/ru.js +0 -259
  148. package/lib/module/locale/translations/ru.js.map +1 -1
  149. package/lib/module/locale/translations/tr.js +0 -238
  150. package/lib/module/locale/translations/tr.js.map +1 -1
  151. package/lib/module/locale/translations/zh.js +0 -234
  152. package/lib/module/locale/translations/zh.js.map +1 -1
  153. package/lib/module/overlay/Overlay.js +13 -22
  154. package/lib/module/overlay/Overlay.js.map +1 -1
  155. package/lib/module/panel-routing/expo-router/StackScene.js +42 -4
  156. package/lib/module/panel-routing/expo-router/StackScene.js.map +1 -1
  157. package/lib/module/queue-panel/QueueIconButton.js.map +1 -1
  158. package/lib/module/screen/index.js +1 -0
  159. package/lib/module/screen/index.js.map +1 -1
  160. package/lib/module/screen/index.web.js +1 -0
  161. package/lib/module/screen/index.web.js.map +1 -1
  162. package/lib/module/screen/use-screen-entered.js +24 -0
  163. package/lib/module/screen/use-screen-entered.js.map +1 -0
  164. package/lib/module/screen/use-screen-scroll.js +21 -2
  165. package/lib/module/screen/use-screen-scroll.js.map +1 -1
  166. package/lib/module/sidebar/Sidebar.js +18 -9
  167. package/lib/module/sidebar/Sidebar.js.map +1 -1
  168. package/lib/module/tab-pager/expo-router/TabPager.js +19 -14
  169. package/lib/module/tab-pager/expo-router/TabPager.js.map +1 -1
  170. package/lib/module/tabs/expo-router/RouterTabs.js.map +1 -1
  171. package/lib/module/toast/ToastHost.js +1 -0
  172. package/lib/module/toast/ToastHost.js.map +1 -1
  173. package/lib/module/toast/ToastHost.native.js +1 -0
  174. package/lib/module/toast/ToastHost.native.js.map +1 -1
  175. package/lib/typescript/commonjs/agent-reply/types.d.ts +2 -2
  176. package/lib/typescript/commonjs/agent-reply/types.d.ts.map +1 -1
  177. package/lib/typescript/commonjs/badge/types.d.ts +1 -1
  178. package/lib/typescript/commonjs/badge/types.d.ts.map +1 -1
  179. package/lib/typescript/commonjs/breadcrumb/types.d.ts +3 -2
  180. package/lib/typescript/commonjs/breadcrumb/types.d.ts.map +1 -1
  181. package/lib/typescript/commonjs/button/Button.web.d.ts.map +1 -1
  182. package/lib/typescript/commonjs/button/shared.d.ts +3 -2
  183. package/lib/typescript/commonjs/button/shared.d.ts.map +1 -1
  184. package/lib/typescript/commonjs/button/types.d.ts +3 -3
  185. package/lib/typescript/commonjs/button/types.d.ts.map +1 -1
  186. package/lib/typescript/commonjs/carousel/types.d.ts +3 -2
  187. package/lib/typescript/commonjs/carousel/types.d.ts.map +1 -1
  188. package/lib/typescript/commonjs/chat-composer/shared.d.ts +4 -3
  189. package/lib/typescript/commonjs/chat-composer/shared.d.ts.map +1 -1
  190. package/lib/typescript/commonjs/chat-composer/types.d.ts +9 -9
  191. package/lib/typescript/commonjs/chat-composer/types.d.ts.map +1 -1
  192. package/lib/typescript/commonjs/chat-people/StoryViewer.d.ts.map +1 -1
  193. package/lib/typescript/commonjs/date-picker/PickerShell.d.ts +2 -2
  194. package/lib/typescript/commonjs/date-picker/PickerShell.d.ts.map +1 -1
  195. package/lib/typescript/commonjs/dialog/DetailDialogMotion.d.ts.map +1 -1
  196. package/lib/typescript/commonjs/dialog/types.d.ts.map +1 -1
  197. package/lib/typescript/commonjs/fab/constants.d.ts +3 -1
  198. package/lib/typescript/commonjs/fab/constants.d.ts.map +1 -1
  199. package/lib/typescript/commonjs/fab/index.d.ts +1 -1
  200. package/lib/typescript/commonjs/fab/index.d.ts.map +1 -1
  201. package/lib/typescript/commonjs/fab/index.web.d.ts +1 -1
  202. package/lib/typescript/commonjs/fab/index.web.d.ts.map +1 -1
  203. package/lib/typescript/commonjs/fab/types.d.ts +2 -2
  204. package/lib/typescript/commonjs/fab/use-fab-props.d.ts.map +1 -1
  205. package/lib/typescript/commonjs/field/FieldConstraintScope.d.ts +2 -2
  206. package/lib/typescript/commonjs/floating/lens/lens-button-host.d.ts.map +1 -1
  207. package/lib/typescript/commonjs/floating/lens/lens-tint.d.ts +13 -0
  208. package/lib/typescript/commonjs/floating/lens/lens-tint.d.ts.map +1 -0
  209. package/lib/typescript/commonjs/floating/lens/use-lens-menu.d.ts.map +1 -1
  210. package/lib/typescript/commonjs/home-search/types.d.ts +1 -1
  211. package/lib/typescript/commonjs/home-search/types.d.ts.map +1 -1
  212. package/lib/typescript/commonjs/index.d.ts +0 -21
  213. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  214. package/lib/typescript/commonjs/index.web.d.ts +0 -21
  215. package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
  216. package/lib/typescript/commonjs/listing-actions/ApplicationChecklist.d.ts.map +1 -1
  217. package/lib/typescript/commonjs/listing-actions/types.d.ts +2 -2
  218. package/lib/typescript/commonjs/listing-actions/types.d.ts.map +1 -1
  219. package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
  220. package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
  221. package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
  222. package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
  223. package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
  224. package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
  225. package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
  226. package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
  227. package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
  228. package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
  229. package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
  230. package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
  231. package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
  232. package/lib/typescript/commonjs/locale/translations/types.d.ts +0 -14
  233. package/lib/typescript/commonjs/locale/translations/types.d.ts.map +1 -1
  234. package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
  235. package/lib/typescript/commonjs/overlay/Overlay.d.ts +1 -1
  236. package/lib/typescript/commonjs/overlay/Overlay.d.ts.map +1 -1
  237. package/lib/typescript/commonjs/overlay/types.d.ts +10 -0
  238. package/lib/typescript/commonjs/overlay/types.d.ts.map +1 -1
  239. package/lib/typescript/commonjs/page-header/types.d.ts +1 -1
  240. package/lib/typescript/commonjs/page-header/types.d.ts.map +1 -1
  241. package/lib/typescript/commonjs/panel-routing/expo-router/StackScene.d.ts +32 -5
  242. package/lib/typescript/commonjs/panel-routing/expo-router/StackScene.d.ts.map +1 -1
  243. package/lib/typescript/commonjs/queue-panel/QueueIconButton.d.ts +2 -2
  244. package/lib/typescript/commonjs/queue-panel/QueueIconButton.d.ts.map +1 -1
  245. package/lib/typescript/commonjs/screen/index.d.ts +1 -0
  246. package/lib/typescript/commonjs/screen/index.d.ts.map +1 -1
  247. package/lib/typescript/commonjs/screen/index.web.d.ts +1 -0
  248. package/lib/typescript/commonjs/screen/index.web.d.ts.map +1 -1
  249. package/lib/typescript/commonjs/screen/use-screen-entered.d.ts +16 -0
  250. package/lib/typescript/commonjs/screen/use-screen-entered.d.ts.map +1 -0
  251. package/lib/typescript/commonjs/screen/use-screen-scroll.d.ts +3 -2
  252. package/lib/typescript/commonjs/screen/use-screen-scroll.d.ts.map +1 -1
  253. package/lib/typescript/commonjs/sidebar/Sidebar.d.ts.map +1 -1
  254. package/lib/typescript/commonjs/sidebar/types.d.ts +9 -9
  255. package/lib/typescript/commonjs/sidebar/types.d.ts.map +1 -1
  256. package/lib/typescript/commonjs/stay-search/types.d.ts +3 -3
  257. package/lib/typescript/commonjs/stay-search/types.d.ts.map +1 -1
  258. package/lib/typescript/commonjs/tab-pager/expo-router/TabPager.d.ts.map +1 -1
  259. package/lib/typescript/commonjs/tabs/expo-router/RouterTabs.d.ts +3 -2
  260. package/lib/typescript/commonjs/tabs/expo-router/RouterTabs.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/tabs/types.d.ts +1 -1
  262. package/lib/typescript/commonjs/tabs/types.d.ts.map +1 -1
  263. package/lib/typescript/commonjs/toast/ToastHost.native.d.ts.map +1 -1
  264. package/lib/typescript/module/agent-reply/types.d.ts +2 -2
  265. package/lib/typescript/module/agent-reply/types.d.ts.map +1 -1
  266. package/lib/typescript/module/badge/types.d.ts +1 -1
  267. package/lib/typescript/module/badge/types.d.ts.map +1 -1
  268. package/lib/typescript/module/breadcrumb/types.d.ts +3 -2
  269. package/lib/typescript/module/breadcrumb/types.d.ts.map +1 -1
  270. package/lib/typescript/module/button/Button.web.d.ts.map +1 -1
  271. package/lib/typescript/module/button/shared.d.ts +3 -2
  272. package/lib/typescript/module/button/shared.d.ts.map +1 -1
  273. package/lib/typescript/module/button/types.d.ts +3 -3
  274. package/lib/typescript/module/button/types.d.ts.map +1 -1
  275. package/lib/typescript/module/carousel/types.d.ts +3 -2
  276. package/lib/typescript/module/carousel/types.d.ts.map +1 -1
  277. package/lib/typescript/module/chat-composer/shared.d.ts +4 -3
  278. package/lib/typescript/module/chat-composer/shared.d.ts.map +1 -1
  279. package/lib/typescript/module/chat-composer/types.d.ts +9 -9
  280. package/lib/typescript/module/chat-composer/types.d.ts.map +1 -1
  281. package/lib/typescript/module/chat-people/StoryViewer.d.ts.map +1 -1
  282. package/lib/typescript/module/date-picker/PickerShell.d.ts +2 -2
  283. package/lib/typescript/module/date-picker/PickerShell.d.ts.map +1 -1
  284. package/lib/typescript/module/dialog/DetailDialogMotion.d.ts.map +1 -1
  285. package/lib/typescript/module/dialog/types.d.ts.map +1 -1
  286. package/lib/typescript/module/fab/constants.d.ts +3 -1
  287. package/lib/typescript/module/fab/constants.d.ts.map +1 -1
  288. package/lib/typescript/module/fab/index.d.ts +1 -1
  289. package/lib/typescript/module/fab/index.d.ts.map +1 -1
  290. package/lib/typescript/module/fab/index.web.d.ts +1 -1
  291. package/lib/typescript/module/fab/index.web.d.ts.map +1 -1
  292. package/lib/typescript/module/fab/types.d.ts +2 -2
  293. package/lib/typescript/module/fab/use-fab-props.d.ts.map +1 -1
  294. package/lib/typescript/module/field/FieldConstraintScope.d.ts +2 -2
  295. package/lib/typescript/module/floating/lens/lens-button-host.d.ts.map +1 -1
  296. package/lib/typescript/module/floating/lens/lens-tint.d.ts +13 -0
  297. package/lib/typescript/module/floating/lens/lens-tint.d.ts.map +1 -0
  298. package/lib/typescript/module/floating/lens/use-lens-menu.d.ts.map +1 -1
  299. package/lib/typescript/module/home-search/types.d.ts +1 -1
  300. package/lib/typescript/module/home-search/types.d.ts.map +1 -1
  301. package/lib/typescript/module/index.d.ts +0 -21
  302. package/lib/typescript/module/index.d.ts.map +1 -1
  303. package/lib/typescript/module/index.web.d.ts +0 -21
  304. package/lib/typescript/module/index.web.d.ts.map +1 -1
  305. package/lib/typescript/module/listing-actions/ApplicationChecklist.d.ts.map +1 -1
  306. package/lib/typescript/module/listing-actions/types.d.ts +2 -2
  307. package/lib/typescript/module/listing-actions/types.d.ts.map +1 -1
  308. package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
  309. package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
  310. package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
  311. package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
  312. package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
  313. package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
  314. package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
  315. package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
  316. package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
  317. package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
  318. package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
  319. package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
  320. package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
  321. package/lib/typescript/module/locale/translations/types.d.ts +0 -14
  322. package/lib/typescript/module/locale/translations/types.d.ts.map +1 -1
  323. package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
  324. package/lib/typescript/module/overlay/Overlay.d.ts +1 -1
  325. package/lib/typescript/module/overlay/Overlay.d.ts.map +1 -1
  326. package/lib/typescript/module/overlay/types.d.ts +10 -0
  327. package/lib/typescript/module/overlay/types.d.ts.map +1 -1
  328. package/lib/typescript/module/page-header/types.d.ts +1 -1
  329. package/lib/typescript/module/page-header/types.d.ts.map +1 -1
  330. package/lib/typescript/module/panel-routing/expo-router/StackScene.d.ts +32 -5
  331. package/lib/typescript/module/panel-routing/expo-router/StackScene.d.ts.map +1 -1
  332. package/lib/typescript/module/queue-panel/QueueIconButton.d.ts +2 -2
  333. package/lib/typescript/module/queue-panel/QueueIconButton.d.ts.map +1 -1
  334. package/lib/typescript/module/screen/index.d.ts +1 -0
  335. package/lib/typescript/module/screen/index.d.ts.map +1 -1
  336. package/lib/typescript/module/screen/index.web.d.ts +1 -0
  337. package/lib/typescript/module/screen/index.web.d.ts.map +1 -1
  338. package/lib/typescript/module/screen/use-screen-entered.d.ts +16 -0
  339. package/lib/typescript/module/screen/use-screen-entered.d.ts.map +1 -0
  340. package/lib/typescript/module/screen/use-screen-scroll.d.ts +3 -2
  341. package/lib/typescript/module/screen/use-screen-scroll.d.ts.map +1 -1
  342. package/lib/typescript/module/sidebar/Sidebar.d.ts.map +1 -1
  343. package/lib/typescript/module/sidebar/types.d.ts +9 -9
  344. package/lib/typescript/module/sidebar/types.d.ts.map +1 -1
  345. package/lib/typescript/module/stay-search/types.d.ts +3 -3
  346. package/lib/typescript/module/stay-search/types.d.ts.map +1 -1
  347. package/lib/typescript/module/tab-pager/expo-router/TabPager.d.ts.map +1 -1
  348. package/lib/typescript/module/tabs/expo-router/RouterTabs.d.ts +3 -2
  349. package/lib/typescript/module/tabs/expo-router/RouterTabs.d.ts.map +1 -1
  350. package/lib/typescript/module/tabs/types.d.ts +1 -1
  351. package/lib/typescript/module/tabs/types.d.ts.map +1 -1
  352. package/lib/typescript/module/toast/ToastHost.native.d.ts.map +1 -1
  353. package/package.json +1 -120
  354. package/src/__tests__/support/adoption-matrix.ts +0 -9
  355. package/src/__tests__/support/public-part-classifications.json +0 -16
  356. package/src/agent-reply/types.ts +2 -2
  357. package/src/badge/types.ts +1 -1
  358. package/src/breadcrumb/types.ts +3 -2
  359. package/src/button/Button.web.tsx +15 -2
  360. package/src/button/shared.ts +3 -4
  361. package/src/button/types.ts +3 -3
  362. package/src/carousel/types.ts +3 -2
  363. package/src/chat-composer/shared.ts +4 -4
  364. package/src/chat-composer/types.ts +9 -9
  365. package/src/chat-people/StoryViewer.tsx +2 -2
  366. package/src/date-picker/PickerShell.tsx +2 -2
  367. package/src/dialog/DetailDialogMotion.tsx +15 -9
  368. package/src/dialog/types.ts +0 -1
  369. package/src/fab/constants.ts +4 -1
  370. package/src/fab/index.ts +1 -1
  371. package/src/fab/index.web.ts +1 -1
  372. package/src/fab/types.ts +2 -2
  373. package/src/fab/use-fab-props.ts +2 -2
  374. package/src/field/FieldConstraintScope.tsx +2 -2
  375. package/src/floating/lens/lens-button-host.tsx +2 -1
  376. package/src/floating/lens/lens-tint.ts +12 -0
  377. package/src/floating/lens/use-lens-menu.tsx +2 -1
  378. package/src/home-search/types.ts +1 -1
  379. package/src/index.ts +0 -195
  380. package/src/index.web.ts +0 -195
  381. package/src/listing-actions/ApplicationChecklist.tsx +3 -2
  382. package/src/listing-actions/types.ts +2 -2
  383. package/src/locale/translations/ar.ts +0 -232
  384. package/src/locale/translations/bn.ts +0 -200
  385. package/src/locale/translations/ca.ts +0 -210
  386. package/src/locale/translations/de.ts +0 -213
  387. package/src/locale/translations/es.ts +0 -210
  388. package/src/locale/translations/fr.ts +0 -214
  389. package/src/locale/translations/hi.ts +0 -201
  390. package/src/locale/translations/id.ts +0 -206
  391. package/src/locale/translations/it.ts +0 -214
  392. package/src/locale/translations/ja.ts +0 -202
  393. package/src/locale/translations/pt.ts +0 -220
  394. package/src/locale/translations/ru.ts +0 -225
  395. package/src/locale/translations/tr.ts +0 -202
  396. package/src/locale/translations/types.ts +0 -14
  397. package/src/locale/translations/zh.ts +0 -200
  398. package/src/overlay/Overlay.tsx +23 -21
  399. package/src/overlay/types.ts +10 -0
  400. package/src/page-header/types.ts +1 -1
  401. package/src/panel-routing/expo-router/StackScene.tsx +62 -5
  402. package/src/queue-panel/QueueIconButton.tsx +2 -2
  403. package/src/screen/index.ts +1 -0
  404. package/src/screen/index.web.ts +1 -0
  405. package/src/screen/use-screen-entered.ts +21 -0
  406. package/src/screen/use-screen-scroll.ts +36 -2
  407. package/src/sidebar/Sidebar.tsx +17 -11
  408. package/src/sidebar/types.ts +9 -9
  409. package/src/stay-search/types.ts +3 -3
  410. package/src/tab-pager/expo-router/TabPager.tsx +35 -16
  411. package/src/tabs/expo-router/RouterTabs.tsx +3 -2
  412. package/src/tabs/types.ts +1 -1
  413. package/src/toast/ToastHost.native.tsx +5 -1
  414. package/src/toast/ToastHost.tsx +1 -1
  415. package/docs/carrier-quote.mdx +0 -121
  416. package/docs/delivery-slot.mdx +0 -91
  417. package/docs/earnings.mdx +0 -89
  418. package/docs/job-board.mdx +0 -82
  419. package/docs/proof-of-delivery.mdx +0 -86
  420. package/docs/shipment-request.mdx +0 -139
  421. package/docs/vehicle-picker.mdx +0 -92
  422. package/lib/commonjs/carrier-quote/CarrierQuoteCard.js +0 -547
  423. package/lib/commonjs/carrier-quote/CarrierQuoteCard.js.map +0 -1
  424. package/lib/commonjs/carrier-quote/CarrierQuoteList.js +0 -274
  425. package/lib/commonjs/carrier-quote/CarrierQuoteList.js.map +0 -1
  426. package/lib/commonjs/carrier-quote/constants.js +0 -64
  427. package/lib/commonjs/carrier-quote/constants.js.map +0 -1
  428. package/lib/commonjs/carrier-quote/index.js +0 -82
  429. package/lib/commonjs/carrier-quote/index.js.map +0 -1
  430. package/lib/commonjs/carrier-quote/messages.js +0 -50
  431. package/lib/commonjs/carrier-quote/messages.js.map +0 -1
  432. package/lib/commonjs/carrier-quote/shared.js +0 -150
  433. package/lib/commonjs/carrier-quote/shared.js.map +0 -1
  434. package/lib/commonjs/carrier-quote/types.js +0 -6
  435. package/lib/commonjs/carrier-quote/types.js.map +0 -1
  436. package/lib/commonjs/delivery-slot/DeliverySlotDays.js +0 -92
  437. package/lib/commonjs/delivery-slot/DeliverySlotDays.js.map +0 -1
  438. package/lib/commonjs/delivery-slot/DeliverySlotOption.js +0 -131
  439. package/lib/commonjs/delivery-slot/DeliverySlotOption.js.map +0 -1
  440. package/lib/commonjs/delivery-slot/DeliverySlotPicker.js +0 -265
  441. package/lib/commonjs/delivery-slot/DeliverySlotPicker.js.map +0 -1
  442. package/lib/commonjs/delivery-slot/constants.js +0 -52
  443. package/lib/commonjs/delivery-slot/constants.js.map +0 -1
  444. package/lib/commonjs/delivery-slot/index.js +0 -101
  445. package/lib/commonjs/delivery-slot/index.js.map +0 -1
  446. package/lib/commonjs/delivery-slot/messages.js +0 -27
  447. package/lib/commonjs/delivery-slot/messages.js.map +0 -1
  448. package/lib/commonjs/delivery-slot/shared.js +0 -60
  449. package/lib/commonjs/delivery-slot/shared.js.map +0 -1
  450. package/lib/commonjs/delivery-slot/types.js +0 -6
  451. package/lib/commonjs/delivery-slot/types.js.map +0 -1
  452. package/lib/commonjs/earnings/EarningsBreakdown.js +0 -85
  453. package/lib/commonjs/earnings/EarningsBreakdown.js.map +0 -1
  454. package/lib/commonjs/earnings/EarningsPayoutRow.js +0 -156
  455. package/lib/commonjs/earnings/EarningsPayoutRow.js.map +0 -1
  456. package/lib/commonjs/earnings/EarningsSummary.js +0 -295
  457. package/lib/commonjs/earnings/EarningsSummary.js.map +0 -1
  458. package/lib/commonjs/earnings/constants.js +0 -61
  459. package/lib/commonjs/earnings/constants.js.map +0 -1
  460. package/lib/commonjs/earnings/index.js +0 -77
  461. package/lib/commonjs/earnings/index.js.map +0 -1
  462. package/lib/commonjs/earnings/messages.js +0 -30
  463. package/lib/commonjs/earnings/messages.js.map +0 -1
  464. package/lib/commonjs/earnings/shared.js +0 -72
  465. package/lib/commonjs/earnings/shared.js.map +0 -1
  466. package/lib/commonjs/earnings/types.js +0 -6
  467. package/lib/commonjs/earnings/types.js.map +0 -1
  468. package/lib/commonjs/job-board/JobBoard.js +0 -464
  469. package/lib/commonjs/job-board/JobBoard.js.map +0 -1
  470. package/lib/commonjs/job-board/JobCard.js +0 -582
  471. package/lib/commonjs/job-board/JobCard.js.map +0 -1
  472. package/lib/commonjs/job-board/constants.js +0 -119
  473. package/lib/commonjs/job-board/constants.js.map +0 -1
  474. package/lib/commonjs/job-board/index.js +0 -106
  475. package/lib/commonjs/job-board/index.js.map +0 -1
  476. package/lib/commonjs/job-board/messages.js +0 -68
  477. package/lib/commonjs/job-board/messages.js.map +0 -1
  478. package/lib/commonjs/job-board/shared.js +0 -179
  479. package/lib/commonjs/job-board/shared.js.map +0 -1
  480. package/lib/commonjs/job-board/types.js +0 -6
  481. package/lib/commonjs/job-board/types.js.map +0 -1
  482. package/lib/commonjs/proof-of-delivery/ProofOfDelivery.js +0 -306
  483. package/lib/commonjs/proof-of-delivery/ProofOfDelivery.js.map +0 -1
  484. package/lib/commonjs/proof-of-delivery/SignaturePad.js +0 -304
  485. package/lib/commonjs/proof-of-delivery/SignaturePad.js.map +0 -1
  486. package/lib/commonjs/proof-of-delivery/constants.js +0 -51
  487. package/lib/commonjs/proof-of-delivery/constants.js.map +0 -1
  488. package/lib/commonjs/proof-of-delivery/index.js +0 -106
  489. package/lib/commonjs/proof-of-delivery/index.js.map +0 -1
  490. package/lib/commonjs/proof-of-delivery/messages.js +0 -41
  491. package/lib/commonjs/proof-of-delivery/messages.js.map +0 -1
  492. package/lib/commonjs/proof-of-delivery/shared.js +0 -171
  493. package/lib/commonjs/proof-of-delivery/shared.js.map +0 -1
  494. package/lib/commonjs/proof-of-delivery/types.js +0 -6
  495. package/lib/commonjs/proof-of-delivery/types.js.map +0 -1
  496. package/lib/commonjs/shipment-request/ShipmentLoadPicker.js +0 -272
  497. package/lib/commonjs/shipment-request/ShipmentLoadPicker.js.map +0 -1
  498. package/lib/commonjs/shipment-request/ShipmentOptionsList.js +0 -188
  499. package/lib/commonjs/shipment-request/ShipmentOptionsList.js.map +0 -1
  500. package/lib/commonjs/shipment-request/ShipmentRequestForm.js +0 -155
  501. package/lib/commonjs/shipment-request/ShipmentRequestForm.js.map +0 -1
  502. package/lib/commonjs/shipment-request/constants.js +0 -118
  503. package/lib/commonjs/shipment-request/constants.js.map +0 -1
  504. package/lib/commonjs/shipment-request/index.js +0 -95
  505. package/lib/commonjs/shipment-request/index.js.map +0 -1
  506. package/lib/commonjs/shipment-request/messages.js +0 -79
  507. package/lib/commonjs/shipment-request/messages.js.map +0 -1
  508. package/lib/commonjs/shipment-request/shared.js +0 -65
  509. package/lib/commonjs/shipment-request/shared.js.map +0 -1
  510. package/lib/commonjs/shipment-request/types.js +0 -6
  511. package/lib/commonjs/shipment-request/types.js.map +0 -1
  512. package/lib/commonjs/vehicle-picker/VehiclePicker.js +0 -238
  513. package/lib/commonjs/vehicle-picker/VehiclePicker.js.map +0 -1
  514. package/lib/commonjs/vehicle-picker/constants.js +0 -76
  515. package/lib/commonjs/vehicle-picker/constants.js.map +0 -1
  516. package/lib/commonjs/vehicle-picker/index.js +0 -45
  517. package/lib/commonjs/vehicle-picker/index.js.map +0 -1
  518. package/lib/commonjs/vehicle-picker/messages.js +0 -49
  519. package/lib/commonjs/vehicle-picker/messages.js.map +0 -1
  520. package/lib/commonjs/vehicle-picker/shared.js +0 -24
  521. package/lib/commonjs/vehicle-picker/shared.js.map +0 -1
  522. package/lib/commonjs/vehicle-picker/types.js +0 -6
  523. package/lib/commonjs/vehicle-picker/types.js.map +0 -1
  524. package/lib/module/carrier-quote/CarrierQuoteCard.js +0 -543
  525. package/lib/module/carrier-quote/CarrierQuoteCard.js.map +0 -1
  526. package/lib/module/carrier-quote/CarrierQuoteList.js +0 -270
  527. package/lib/module/carrier-quote/CarrierQuoteList.js.map +0 -1
  528. package/lib/module/carrier-quote/constants.js +0 -61
  529. package/lib/module/carrier-quote/constants.js.map +0 -1
  530. package/lib/module/carrier-quote/index.js +0 -7
  531. package/lib/module/carrier-quote/index.js.map +0 -1
  532. package/lib/module/carrier-quote/messages.js +0 -47
  533. package/lib/module/carrier-quote/messages.js.map +0 -1
  534. package/lib/module/carrier-quote/shared.js +0 -139
  535. package/lib/module/carrier-quote/shared.js.map +0 -1
  536. package/lib/module/carrier-quote/types.js +0 -4
  537. package/lib/module/carrier-quote/types.js.map +0 -1
  538. package/lib/module/delivery-slot/DeliverySlotDays.js +0 -86
  539. package/lib/module/delivery-slot/DeliverySlotDays.js.map +0 -1
  540. package/lib/module/delivery-slot/DeliverySlotOption.js +0 -125
  541. package/lib/module/delivery-slot/DeliverySlotOption.js.map +0 -1
  542. package/lib/module/delivery-slot/DeliverySlotPicker.js +0 -259
  543. package/lib/module/delivery-slot/DeliverySlotPicker.js.map +0 -1
  544. package/lib/module/delivery-slot/constants.js +0 -48
  545. package/lib/module/delivery-slot/constants.js.map +0 -1
  546. package/lib/module/delivery-slot/index.js +0 -8
  547. package/lib/module/delivery-slot/index.js.map +0 -1
  548. package/lib/module/delivery-slot/messages.js +0 -24
  549. package/lib/module/delivery-slot/messages.js.map +0 -1
  550. package/lib/module/delivery-slot/shared.js +0 -52
  551. package/lib/module/delivery-slot/shared.js.map +0 -1
  552. package/lib/module/delivery-slot/types.js +0 -4
  553. package/lib/module/delivery-slot/types.js.map +0 -1
  554. package/lib/module/earnings/EarningsBreakdown.js +0 -79
  555. package/lib/module/earnings/EarningsBreakdown.js.map +0 -1
  556. package/lib/module/earnings/EarningsPayoutRow.js +0 -150
  557. package/lib/module/earnings/EarningsPayoutRow.js.map +0 -1
  558. package/lib/module/earnings/EarningsSummary.js +0 -289
  559. package/lib/module/earnings/EarningsSummary.js.map +0 -1
  560. package/lib/module/earnings/constants.js +0 -58
  561. package/lib/module/earnings/constants.js.map +0 -1
  562. package/lib/module/earnings/index.js +0 -8
  563. package/lib/module/earnings/index.js.map +0 -1
  564. package/lib/module/earnings/messages.js +0 -27
  565. package/lib/module/earnings/messages.js.map +0 -1
  566. package/lib/module/earnings/shared.js +0 -63
  567. package/lib/module/earnings/shared.js.map +0 -1
  568. package/lib/module/earnings/types.js +0 -4
  569. package/lib/module/earnings/types.js.map +0 -1
  570. package/lib/module/job-board/JobBoard.js +0 -460
  571. package/lib/module/job-board/JobBoard.js.map +0 -1
  572. package/lib/module/job-board/JobCard.js +0 -578
  573. package/lib/module/job-board/JobCard.js.map +0 -1
  574. package/lib/module/job-board/constants.js +0 -114
  575. package/lib/module/job-board/constants.js.map +0 -1
  576. package/lib/module/job-board/index.js +0 -7
  577. package/lib/module/job-board/index.js.map +0 -1
  578. package/lib/module/job-board/messages.js +0 -65
  579. package/lib/module/job-board/messages.js.map +0 -1
  580. package/lib/module/job-board/shared.js +0 -167
  581. package/lib/module/job-board/shared.js.map +0 -1
  582. package/lib/module/job-board/types.js +0 -4
  583. package/lib/module/job-board/types.js.map +0 -1
  584. package/lib/module/proof-of-delivery/ProofOfDelivery.js +0 -300
  585. package/lib/module/proof-of-delivery/ProofOfDelivery.js.map +0 -1
  586. package/lib/module/proof-of-delivery/SignaturePad.js +0 -298
  587. package/lib/module/proof-of-delivery/SignaturePad.js.map +0 -1
  588. package/lib/module/proof-of-delivery/constants.js +0 -47
  589. package/lib/module/proof-of-delivery/constants.js.map +0 -1
  590. package/lib/module/proof-of-delivery/index.js +0 -7
  591. package/lib/module/proof-of-delivery/index.js.map +0 -1
  592. package/lib/module/proof-of-delivery/messages.js +0 -38
  593. package/lib/module/proof-of-delivery/messages.js.map +0 -1
  594. package/lib/module/proof-of-delivery/shared.js +0 -157
  595. package/lib/module/proof-of-delivery/shared.js.map +0 -1
  596. package/lib/module/proof-of-delivery/types.js +0 -4
  597. package/lib/module/proof-of-delivery/types.js.map +0 -1
  598. package/lib/module/shipment-request/ShipmentLoadPicker.js +0 -266
  599. package/lib/module/shipment-request/ShipmentLoadPicker.js.map +0 -1
  600. package/lib/module/shipment-request/ShipmentOptionsList.js +0 -184
  601. package/lib/module/shipment-request/ShipmentOptionsList.js.map +0 -1
  602. package/lib/module/shipment-request/ShipmentRequestForm.js +0 -149
  603. package/lib/module/shipment-request/ShipmentRequestForm.js.map +0 -1
  604. package/lib/module/shipment-request/constants.js +0 -112
  605. package/lib/module/shipment-request/constants.js.map +0 -1
  606. package/lib/module/shipment-request/index.js +0 -8
  607. package/lib/module/shipment-request/index.js.map +0 -1
  608. package/lib/module/shipment-request/messages.js +0 -76
  609. package/lib/module/shipment-request/messages.js.map +0 -1
  610. package/lib/module/shipment-request/shared.js +0 -58
  611. package/lib/module/shipment-request/shared.js.map +0 -1
  612. package/lib/module/shipment-request/types.js +0 -4
  613. package/lib/module/shipment-request/types.js.map +0 -1
  614. package/lib/module/vehicle-picker/VehiclePicker.js +0 -232
  615. package/lib/module/vehicle-picker/VehiclePicker.js.map +0 -1
  616. package/lib/module/vehicle-picker/constants.js +0 -71
  617. package/lib/module/vehicle-picker/constants.js.map +0 -1
  618. package/lib/module/vehicle-picker/index.js +0 -6
  619. package/lib/module/vehicle-picker/index.js.map +0 -1
  620. package/lib/module/vehicle-picker/messages.js +0 -46
  621. package/lib/module/vehicle-picker/messages.js.map +0 -1
  622. package/lib/module/vehicle-picker/shared.js +0 -20
  623. package/lib/module/vehicle-picker/shared.js.map +0 -1
  624. package/lib/module/vehicle-picker/types.js +0 -4
  625. package/lib/module/vehicle-picker/types.js.map +0 -1
  626. package/lib/typescript/commonjs/carrier-quote/CarrierQuoteCard.d.ts +0 -6
  627. package/lib/typescript/commonjs/carrier-quote/CarrierQuoteCard.d.ts.map +0 -1
  628. package/lib/typescript/commonjs/carrier-quote/CarrierQuoteList.d.ts +0 -29
  629. package/lib/typescript/commonjs/carrier-quote/CarrierQuoteList.d.ts.map +0 -1
  630. package/lib/typescript/commonjs/carrier-quote/constants.d.ts +0 -55
  631. package/lib/typescript/commonjs/carrier-quote/constants.d.ts.map +0 -1
  632. package/lib/typescript/commonjs/carrier-quote/index.d.ts +0 -8
  633. package/lib/typescript/commonjs/carrier-quote/index.d.ts.map +0 -1
  634. package/lib/typescript/commonjs/carrier-quote/messages.d.ts +0 -38
  635. package/lib/typescript/commonjs/carrier-quote/messages.d.ts.map +0 -1
  636. package/lib/typescript/commonjs/carrier-quote/shared.d.ts +0 -58
  637. package/lib/typescript/commonjs/carrier-quote/shared.d.ts.map +0 -1
  638. package/lib/typescript/commonjs/carrier-quote/types.d.ts +0 -191
  639. package/lib/typescript/commonjs/carrier-quote/types.d.ts.map +0 -1
  640. package/lib/typescript/commonjs/delivery-slot/DeliverySlotDays.d.ts +0 -28
  641. package/lib/typescript/commonjs/delivery-slot/DeliverySlotDays.d.ts.map +0 -1
  642. package/lib/typescript/commonjs/delivery-slot/DeliverySlotOption.d.ts +0 -27
  643. package/lib/typescript/commonjs/delivery-slot/DeliverySlotOption.d.ts.map +0 -1
  644. package/lib/typescript/commonjs/delivery-slot/DeliverySlotPicker.d.ts +0 -34
  645. package/lib/typescript/commonjs/delivery-slot/DeliverySlotPicker.d.ts.map +0 -1
  646. package/lib/typescript/commonjs/delivery-slot/constants.d.ts +0 -34
  647. package/lib/typescript/commonjs/delivery-slot/constants.d.ts.map +0 -1
  648. package/lib/typescript/commonjs/delivery-slot/index.d.ts +0 -8
  649. package/lib/typescript/commonjs/delivery-slot/index.d.ts.map +0 -1
  650. package/lib/typescript/commonjs/delivery-slot/messages.d.ts +0 -23
  651. package/lib/typescript/commonjs/delivery-slot/messages.d.ts.map +0 -1
  652. package/lib/typescript/commonjs/delivery-slot/shared.d.ts +0 -36
  653. package/lib/typescript/commonjs/delivery-slot/shared.d.ts.map +0 -1
  654. package/lib/typescript/commonjs/delivery-slot/types.d.ts +0 -178
  655. package/lib/typescript/commonjs/delivery-slot/types.d.ts.map +0 -1
  656. package/lib/typescript/commonjs/earnings/EarningsBreakdown.d.ts +0 -24
  657. package/lib/typescript/commonjs/earnings/EarningsBreakdown.d.ts.map +0 -1
  658. package/lib/typescript/commonjs/earnings/EarningsPayoutRow.d.ts +0 -25
  659. package/lib/typescript/commonjs/earnings/EarningsPayoutRow.d.ts.map +0 -1
  660. package/lib/typescript/commonjs/earnings/EarningsSummary.d.ts +0 -6
  661. package/lib/typescript/commonjs/earnings/EarningsSummary.d.ts.map +0 -1
  662. package/lib/typescript/commonjs/earnings/constants.d.ts +0 -41
  663. package/lib/typescript/commonjs/earnings/constants.d.ts.map +0 -1
  664. package/lib/typescript/commonjs/earnings/index.d.ts +0 -9
  665. package/lib/typescript/commonjs/earnings/index.d.ts.map +0 -1
  666. package/lib/typescript/commonjs/earnings/messages.d.ts +0 -26
  667. package/lib/typescript/commonjs/earnings/messages.d.ts.map +0 -1
  668. package/lib/typescript/commonjs/earnings/shared.d.ts +0 -43
  669. package/lib/typescript/commonjs/earnings/shared.d.ts.map +0 -1
  670. package/lib/typescript/commonjs/earnings/types.d.ts +0 -171
  671. package/lib/typescript/commonjs/earnings/types.d.ts.map +0 -1
  672. package/lib/typescript/commonjs/job-board/JobBoard.d.ts +0 -38
  673. package/lib/typescript/commonjs/job-board/JobBoard.d.ts.map +0 -1
  674. package/lib/typescript/commonjs/job-board/JobCard.d.ts +0 -6
  675. package/lib/typescript/commonjs/job-board/JobCard.d.ts.map +0 -1
  676. package/lib/typescript/commonjs/job-board/constants.d.ts +0 -79
  677. package/lib/typescript/commonjs/job-board/constants.d.ts.map +0 -1
  678. package/lib/typescript/commonjs/job-board/index.d.ts +0 -8
  679. package/lib/typescript/commonjs/job-board/index.d.ts.map +0 -1
  680. package/lib/typescript/commonjs/job-board/messages.d.ts +0 -56
  681. package/lib/typescript/commonjs/job-board/messages.d.ts.map +0 -1
  682. package/lib/typescript/commonjs/job-board/shared.d.ts +0 -78
  683. package/lib/typescript/commonjs/job-board/shared.d.ts.map +0 -1
  684. package/lib/typescript/commonjs/job-board/types.d.ts +0 -269
  685. package/lib/typescript/commonjs/job-board/types.d.ts.map +0 -1
  686. package/lib/typescript/commonjs/proof-of-delivery/ProofOfDelivery.d.ts +0 -51
  687. package/lib/typescript/commonjs/proof-of-delivery/ProofOfDelivery.d.ts.map +0 -1
  688. package/lib/typescript/commonjs/proof-of-delivery/SignaturePad.d.ts +0 -6
  689. package/lib/typescript/commonjs/proof-of-delivery/SignaturePad.d.ts.map +0 -1
  690. package/lib/typescript/commonjs/proof-of-delivery/constants.d.ts +0 -43
  691. package/lib/typescript/commonjs/proof-of-delivery/constants.d.ts.map +0 -1
  692. package/lib/typescript/commonjs/proof-of-delivery/index.d.ts +0 -8
  693. package/lib/typescript/commonjs/proof-of-delivery/index.d.ts.map +0 -1
  694. package/lib/typescript/commonjs/proof-of-delivery/messages.d.ts +0 -13
  695. package/lib/typescript/commonjs/proof-of-delivery/messages.d.ts.map +0 -1
  696. package/lib/typescript/commonjs/proof-of-delivery/shared.d.ts +0 -79
  697. package/lib/typescript/commonjs/proof-of-delivery/shared.d.ts.map +0 -1
  698. package/lib/typescript/commonjs/proof-of-delivery/types.d.ts +0 -165
  699. package/lib/typescript/commonjs/proof-of-delivery/types.d.ts.map +0 -1
  700. package/lib/typescript/commonjs/shipment-request/ShipmentLoadPicker.d.ts +0 -32
  701. package/lib/typescript/commonjs/shipment-request/ShipmentLoadPicker.d.ts.map +0 -1
  702. package/lib/typescript/commonjs/shipment-request/ShipmentOptionsList.d.ts +0 -5
  703. package/lib/typescript/commonjs/shipment-request/ShipmentOptionsList.d.ts.map +0 -1
  704. package/lib/typescript/commonjs/shipment-request/ShipmentRequestForm.d.ts +0 -33
  705. package/lib/typescript/commonjs/shipment-request/ShipmentRequestForm.d.ts.map +0 -1
  706. package/lib/typescript/commonjs/shipment-request/constants.d.ts +0 -50
  707. package/lib/typescript/commonjs/shipment-request/constants.d.ts.map +0 -1
  708. package/lib/typescript/commonjs/shipment-request/index.d.ts +0 -8
  709. package/lib/typescript/commonjs/shipment-request/index.d.ts.map +0 -1
  710. package/lib/typescript/commonjs/shipment-request/messages.d.ts +0 -45
  711. package/lib/typescript/commonjs/shipment-request/messages.d.ts.map +0 -1
  712. package/lib/typescript/commonjs/shipment-request/shared.d.ts +0 -40
  713. package/lib/typescript/commonjs/shipment-request/shared.d.ts.map +0 -1
  714. package/lib/typescript/commonjs/shipment-request/types.d.ts +0 -219
  715. package/lib/typescript/commonjs/shipment-request/types.d.ts.map +0 -1
  716. package/lib/typescript/commonjs/vehicle-picker/VehiclePicker.d.ts +0 -7
  717. package/lib/typescript/commonjs/vehicle-picker/VehiclePicker.d.ts.map +0 -1
  718. package/lib/typescript/commonjs/vehicle-picker/constants.d.ts +0 -45
  719. package/lib/typescript/commonjs/vehicle-picker/constants.d.ts.map +0 -1
  720. package/lib/typescript/commonjs/vehicle-picker/index.d.ts +0 -6
  721. package/lib/typescript/commonjs/vehicle-picker/index.d.ts.map +0 -1
  722. package/lib/typescript/commonjs/vehicle-picker/messages.d.ts +0 -26
  723. package/lib/typescript/commonjs/vehicle-picker/messages.d.ts.map +0 -1
  724. package/lib/typescript/commonjs/vehicle-picker/shared.d.ts +0 -19
  725. package/lib/typescript/commonjs/vehicle-picker/shared.d.ts.map +0 -1
  726. package/lib/typescript/commonjs/vehicle-picker/types.d.ts +0 -82
  727. package/lib/typescript/commonjs/vehicle-picker/types.d.ts.map +0 -1
  728. package/lib/typescript/module/carrier-quote/CarrierQuoteCard.d.ts +0 -6
  729. package/lib/typescript/module/carrier-quote/CarrierQuoteCard.d.ts.map +0 -1
  730. package/lib/typescript/module/carrier-quote/CarrierQuoteList.d.ts +0 -29
  731. package/lib/typescript/module/carrier-quote/CarrierQuoteList.d.ts.map +0 -1
  732. package/lib/typescript/module/carrier-quote/constants.d.ts +0 -55
  733. package/lib/typescript/module/carrier-quote/constants.d.ts.map +0 -1
  734. package/lib/typescript/module/carrier-quote/index.d.ts +0 -8
  735. package/lib/typescript/module/carrier-quote/index.d.ts.map +0 -1
  736. package/lib/typescript/module/carrier-quote/messages.d.ts +0 -38
  737. package/lib/typescript/module/carrier-quote/messages.d.ts.map +0 -1
  738. package/lib/typescript/module/carrier-quote/shared.d.ts +0 -58
  739. package/lib/typescript/module/carrier-quote/shared.d.ts.map +0 -1
  740. package/lib/typescript/module/carrier-quote/types.d.ts +0 -191
  741. package/lib/typescript/module/carrier-quote/types.d.ts.map +0 -1
  742. package/lib/typescript/module/delivery-slot/DeliverySlotDays.d.ts +0 -28
  743. package/lib/typescript/module/delivery-slot/DeliverySlotDays.d.ts.map +0 -1
  744. package/lib/typescript/module/delivery-slot/DeliverySlotOption.d.ts +0 -27
  745. package/lib/typescript/module/delivery-slot/DeliverySlotOption.d.ts.map +0 -1
  746. package/lib/typescript/module/delivery-slot/DeliverySlotPicker.d.ts +0 -34
  747. package/lib/typescript/module/delivery-slot/DeliverySlotPicker.d.ts.map +0 -1
  748. package/lib/typescript/module/delivery-slot/constants.d.ts +0 -34
  749. package/lib/typescript/module/delivery-slot/constants.d.ts.map +0 -1
  750. package/lib/typescript/module/delivery-slot/index.d.ts +0 -8
  751. package/lib/typescript/module/delivery-slot/index.d.ts.map +0 -1
  752. package/lib/typescript/module/delivery-slot/messages.d.ts +0 -23
  753. package/lib/typescript/module/delivery-slot/messages.d.ts.map +0 -1
  754. package/lib/typescript/module/delivery-slot/shared.d.ts +0 -36
  755. package/lib/typescript/module/delivery-slot/shared.d.ts.map +0 -1
  756. package/lib/typescript/module/delivery-slot/types.d.ts +0 -178
  757. package/lib/typescript/module/delivery-slot/types.d.ts.map +0 -1
  758. package/lib/typescript/module/earnings/EarningsBreakdown.d.ts +0 -24
  759. package/lib/typescript/module/earnings/EarningsBreakdown.d.ts.map +0 -1
  760. package/lib/typescript/module/earnings/EarningsPayoutRow.d.ts +0 -25
  761. package/lib/typescript/module/earnings/EarningsPayoutRow.d.ts.map +0 -1
  762. package/lib/typescript/module/earnings/EarningsSummary.d.ts +0 -6
  763. package/lib/typescript/module/earnings/EarningsSummary.d.ts.map +0 -1
  764. package/lib/typescript/module/earnings/constants.d.ts +0 -41
  765. package/lib/typescript/module/earnings/constants.d.ts.map +0 -1
  766. package/lib/typescript/module/earnings/index.d.ts +0 -9
  767. package/lib/typescript/module/earnings/index.d.ts.map +0 -1
  768. package/lib/typescript/module/earnings/messages.d.ts +0 -26
  769. package/lib/typescript/module/earnings/messages.d.ts.map +0 -1
  770. package/lib/typescript/module/earnings/shared.d.ts +0 -43
  771. package/lib/typescript/module/earnings/shared.d.ts.map +0 -1
  772. package/lib/typescript/module/earnings/types.d.ts +0 -171
  773. package/lib/typescript/module/earnings/types.d.ts.map +0 -1
  774. package/lib/typescript/module/job-board/JobBoard.d.ts +0 -38
  775. package/lib/typescript/module/job-board/JobBoard.d.ts.map +0 -1
  776. package/lib/typescript/module/job-board/JobCard.d.ts +0 -6
  777. package/lib/typescript/module/job-board/JobCard.d.ts.map +0 -1
  778. package/lib/typescript/module/job-board/constants.d.ts +0 -79
  779. package/lib/typescript/module/job-board/constants.d.ts.map +0 -1
  780. package/lib/typescript/module/job-board/index.d.ts +0 -8
  781. package/lib/typescript/module/job-board/index.d.ts.map +0 -1
  782. package/lib/typescript/module/job-board/messages.d.ts +0 -56
  783. package/lib/typescript/module/job-board/messages.d.ts.map +0 -1
  784. package/lib/typescript/module/job-board/shared.d.ts +0 -78
  785. package/lib/typescript/module/job-board/shared.d.ts.map +0 -1
  786. package/lib/typescript/module/job-board/types.d.ts +0 -269
  787. package/lib/typescript/module/job-board/types.d.ts.map +0 -1
  788. package/lib/typescript/module/proof-of-delivery/ProofOfDelivery.d.ts +0 -51
  789. package/lib/typescript/module/proof-of-delivery/ProofOfDelivery.d.ts.map +0 -1
  790. package/lib/typescript/module/proof-of-delivery/SignaturePad.d.ts +0 -6
  791. package/lib/typescript/module/proof-of-delivery/SignaturePad.d.ts.map +0 -1
  792. package/lib/typescript/module/proof-of-delivery/constants.d.ts +0 -43
  793. package/lib/typescript/module/proof-of-delivery/constants.d.ts.map +0 -1
  794. package/lib/typescript/module/proof-of-delivery/index.d.ts +0 -8
  795. package/lib/typescript/module/proof-of-delivery/index.d.ts.map +0 -1
  796. package/lib/typescript/module/proof-of-delivery/messages.d.ts +0 -13
  797. package/lib/typescript/module/proof-of-delivery/messages.d.ts.map +0 -1
  798. package/lib/typescript/module/proof-of-delivery/shared.d.ts +0 -79
  799. package/lib/typescript/module/proof-of-delivery/shared.d.ts.map +0 -1
  800. package/lib/typescript/module/proof-of-delivery/types.d.ts +0 -165
  801. package/lib/typescript/module/proof-of-delivery/types.d.ts.map +0 -1
  802. package/lib/typescript/module/shipment-request/ShipmentLoadPicker.d.ts +0 -32
  803. package/lib/typescript/module/shipment-request/ShipmentLoadPicker.d.ts.map +0 -1
  804. package/lib/typescript/module/shipment-request/ShipmentOptionsList.d.ts +0 -5
  805. package/lib/typescript/module/shipment-request/ShipmentOptionsList.d.ts.map +0 -1
  806. package/lib/typescript/module/shipment-request/ShipmentRequestForm.d.ts +0 -33
  807. package/lib/typescript/module/shipment-request/ShipmentRequestForm.d.ts.map +0 -1
  808. package/lib/typescript/module/shipment-request/constants.d.ts +0 -50
  809. package/lib/typescript/module/shipment-request/constants.d.ts.map +0 -1
  810. package/lib/typescript/module/shipment-request/index.d.ts +0 -8
  811. package/lib/typescript/module/shipment-request/index.d.ts.map +0 -1
  812. package/lib/typescript/module/shipment-request/messages.d.ts +0 -45
  813. package/lib/typescript/module/shipment-request/messages.d.ts.map +0 -1
  814. package/lib/typescript/module/shipment-request/shared.d.ts +0 -40
  815. package/lib/typescript/module/shipment-request/shared.d.ts.map +0 -1
  816. package/lib/typescript/module/shipment-request/types.d.ts +0 -219
  817. package/lib/typescript/module/shipment-request/types.d.ts.map +0 -1
  818. package/lib/typescript/module/vehicle-picker/VehiclePicker.d.ts +0 -7
  819. package/lib/typescript/module/vehicle-picker/VehiclePicker.d.ts.map +0 -1
  820. package/lib/typescript/module/vehicle-picker/constants.d.ts +0 -45
  821. package/lib/typescript/module/vehicle-picker/constants.d.ts.map +0 -1
  822. package/lib/typescript/module/vehicle-picker/index.d.ts +0 -6
  823. package/lib/typescript/module/vehicle-picker/index.d.ts.map +0 -1
  824. package/lib/typescript/module/vehicle-picker/messages.d.ts +0 -26
  825. package/lib/typescript/module/vehicle-picker/messages.d.ts.map +0 -1
  826. package/lib/typescript/module/vehicle-picker/shared.d.ts +0 -19
  827. package/lib/typescript/module/vehicle-picker/shared.d.ts.map +0 -1
  828. package/lib/typescript/module/vehicle-picker/types.d.ts +0 -82
  829. package/lib/typescript/module/vehicle-picker/types.d.ts.map +0 -1
  830. package/src/carrier-quote/CarrierQuoteCard.tsx +0 -558
  831. package/src/carrier-quote/CarrierQuoteList.tsx +0 -271
  832. package/src/carrier-quote/constants.ts +0 -57
  833. package/src/carrier-quote/index.ts +0 -28
  834. package/src/carrier-quote/messages.ts +0 -66
  835. package/src/carrier-quote/shared.ts +0 -168
  836. package/src/carrier-quote/types.ts +0 -199
  837. package/src/delivery-slot/DeliverySlotDays.tsx +0 -91
  838. package/src/delivery-slot/DeliverySlotOption.tsx +0 -123
  839. package/src/delivery-slot/DeliverySlotPicker.tsx +0 -275
  840. package/src/delivery-slot/constants.ts +0 -47
  841. package/src/delivery-slot/index.ts +0 -24
  842. package/src/delivery-slot/messages.ts +0 -33
  843. package/src/delivery-slot/shared.ts +0 -84
  844. package/src/delivery-slot/types.ts +0 -191
  845. package/src/earnings/EarningsBreakdown.tsx +0 -75
  846. package/src/earnings/EarningsPayoutRow.tsx +0 -141
  847. package/src/earnings/EarningsSummary.tsx +0 -310
  848. package/src/earnings/constants.ts +0 -61
  849. package/src/earnings/index.ts +0 -24
  850. package/src/earnings/messages.ts +0 -45
  851. package/src/earnings/shared.ts +0 -94
  852. package/src/earnings/types.ts +0 -180
  853. package/src/job-board/JobBoard.tsx +0 -514
  854. package/src/job-board/JobCard.tsx +0 -597
  855. package/src/job-board/constants.ts +0 -106
  856. package/src/job-board/index.ts +0 -34
  857. package/src/job-board/messages.ts +0 -96
  858. package/src/job-board/shared.ts +0 -215
  859. package/src/job-board/types.ts +0 -274
  860. package/src/proof-of-delivery/ProofOfDelivery.tsx +0 -321
  861. package/src/proof-of-delivery/SignaturePad.tsx +0 -309
  862. package/src/proof-of-delivery/constants.ts +0 -54
  863. package/src/proof-of-delivery/index.ts +0 -29
  864. package/src/proof-of-delivery/messages.ts +0 -43
  865. package/src/proof-of-delivery/shared.ts +0 -190
  866. package/src/proof-of-delivery/types.ts +0 -174
  867. package/src/shipment-request/ShipmentLoadPicker.tsx +0 -249
  868. package/src/shipment-request/ShipmentOptionsList.tsx +0 -192
  869. package/src/shipment-request/ShipmentRequestForm.tsx +0 -160
  870. package/src/shipment-request/constants.ts +0 -138
  871. package/src/shipment-request/index.ts +0 -37
  872. package/src/shipment-request/messages.ts +0 -85
  873. package/src/shipment-request/shared.ts +0 -72
  874. package/src/shipment-request/types.ts +0 -235
  875. package/src/vehicle-picker/VehiclePicker.tsx +0 -233
  876. package/src/vehicle-picker/constants.ts +0 -77
  877. package/src/vehicle-picker/index.ts +0 -15
  878. package/src/vehicle-picker/messages.ts +0 -61
  879. package/src/vehicle-picker/shared.ts +0 -27
  880. package/src/vehicle-picker/types.ts +0 -86
@@ -1,121 +0,0 @@
1
- ---
2
- title: Carrier quote
3
- description: A carrier's offer on a job, and the offers together — the identity, the price, the window and the ETA, the cheapest and fastest marks, and the empty and loading states of a list that is still filling up.
4
- order: 135
5
- ---
6
-
7
- # Carrier quote
8
-
9
- ```tsx
10
- import { CarrierQuoteCard, CarrierQuoteList } from '@oxy.so/bloom/carrier-quote';
11
-
12
- <CarrierQuoteList
13
- quotes={quotes}
14
- selectedId={accepted}
15
- onAccept={accept}
16
- onMessage={openThread}
17
- onDecline={decline}
18
- />
19
- ```
20
-
21
- ## The card is a record of a person
22
-
23
- An offer is a **person with a number attached**, so the card is drawn in the
24
- register Bloom draws a person in — the same blocks in the same order as a contact
25
- record, with the price where a record puts its headline figure:
26
-
27
- ```
28
- mark the 48 avatar
29
- identity the name at title-3-semibold with the verified glyph, then ONE meta
30
- line: the list's marks, the rating, the jobs done, the trade line
31
- headline the price at title-1-medium in tabular figures, right-aligned
32
- tiles pick-up, arrival, vehicle — value over label, on the next fill up
33
- message what the carrier wrote, three lines then truncated
34
- price the itemisation, collapsed, through PriceSummary
35
- footer decline · message · accept, over a hairline
36
- ```
37
-
38
- `density="compact"` is a **list row**, not a card with the padding taken out: 64
39
- tall, a 36 mark, the name, one meta line, the price at the end, and no tiles or
40
- breakdown at all — a list that draws a card per row has stopped being a list.
41
-
42
- **The marks sit on the meta line, never beside the name.** A pill states a fact
43
- in one word and must not shrink; the name beside it is what gives way, and at 390
44
- that left `Maris…` next to a full-width `Cheapest`.
45
-
46
- ### The card is not one big button
47
-
48
- `onPressCarrier` is bound to the **identity block**; the three actions sit outside
49
- it. A control inside a control is invalid on web and ambiguous everywhere, and it
50
- renders perfectly well either way, which is why it needs saying.
51
-
52
- ### The actions never lose their names
53
-
54
- Each action is a `Button`. Under 420 of the card's **own** width they drop to
55
- `iconOnly`, and each one is named `"<action> <carrier>"` whichever way it is
56
- drawn — losing the label must not lose the name. The same measurement stacks the
57
- tiles two by two, because a card too narrow for three tiles is too narrow for
58
- three labelled buttons beside a 48 mark.
59
-
60
- ## The marks belong to the SET
61
-
62
- `cheapest` and `fastest` are statements about a group of offers. A card handed
63
- one out of context is claiming something it cannot know, so it does not derive
64
- them: `CarrierQuoteList` computes them with `markCarrierQuotes` and passes them
65
- down.
66
-
67
- They are derived from `priceValue` and `etaMinutes` — **numbers the app supplies
68
- for comparison and this family never draws.** Money arrives here as a
69
- pre-formatted string (`price`, `priceNote`, every `priceLines` amount) and
70
- nothing in this family parses, sums, converts or rounds it; the numeric fields
71
- exist only so the list can ask which of two is smaller.
72
-
73
- **Every offer tied at a minimum is marked.** Two offers at the same price are
74
- both the cheapest; picking one of them would be this component inventing a
75
- tie-break the app never asked for, and marking neither would hide a true
76
- statement.
77
-
78
- **A quote with no number cannot be marked, and sorts last.** Within that group
79
- the caller's own order is kept — there is nothing left to sort on, and
80
- re-shuffling a group of equals makes a list jump for no visible reason.
81
- `sortCarrierQuotes` is stable for the same reason.
82
-
83
- `rating` sorts high-first; price and ETA sort low-first. That is the only place
84
- the direction differs, and it is a property of what the number means.
85
-
86
- ## The list's two non-list states
87
-
88
- - **loading** draws placeholder cards of the same height, inside an
89
- `aria-busy` group. Not a spinner: the answer arriving is a list, and a list is
90
- what should be reserved for it.
91
- - **empty** draws a tinted glyph disc over one line of explanation and the
92
- caller's own action. An empty offers list is a **wait**, not a failure, so the
93
- default copy says what happens next rather than what went wrong. Pass
94
- `emptyTitle` / `emptyDescription` when it is a failure.
95
-
96
- ## Traps
97
-
98
- - **There is no head until there is a list.** "0 offers" over a control that can
99
- reorder nothing is chrome for a list that does not exist yet, and the empty
100
- state already says the same thing in words a reader can act on.
101
- - **`quotes.length` is the count, not `ordered.length`.** The heading counts what
102
- the caller has, which is the same number either way today — but it is the
103
- caller's set that a "3 offers" line is about.
104
- - **The sort is uncontrolled by default.** Pass `sort` + `onSortChange` to own
105
- it; `sortOptions={[]}` draws no control at all, which is right for a list of
106
- two.
107
- - **`selected` moves a pixel of border and gives it back.** The chosen card takes
108
- a 2px accent border and drops its own inset by one, so nothing inside it moves
109
- when it is chosen.
110
- - **`vehicleIcon` has no default.** A marketplace routing five bodies has five
111
- glyphs, and Bloom's icon set has no generic one that is honest about all of
112
- them, so a caller that names none gets no glyph rather than the wrong vehicle.
113
- - **A tile the quote does not answer is not drawn.** A tile holding an em dash is
114
- a slot that failed to load.
115
-
116
- ## Tracking is not here
117
-
118
- Once an offer is accepted the job is tracked with
119
- [`order-status`](/docs/order-status) — `OrderStatusBar` for the live line and
120
- `OrderStatusTimeline` for what has happened. This family draws no timeline; the
121
- `EndToEnd` story shows the three families in one screen.
@@ -1,91 +0,0 @@
1
- ---
2
- title: Delivery slot
3
- description: When — the days across the top, the windows of the chosen day with their surcharge, capacity and tier, the sold-out ones, and the ASAP option that belongs to no day. A radio group through Field, not pressables that look selected.
4
- order: 138
5
- ---
6
-
7
- # Delivery slot
8
-
9
- ```tsx
10
- import { DeliverySlotPicker } from '@oxy.so/bloom/delivery-slot';
11
-
12
- <DeliverySlotPicker
13
- days={days}
14
- day={day}
15
- onDayChange={(id) => { setDay(id); loadWindows(id); }}
16
- windows={windows}
17
- value={slot}
18
- onValueChange={setSlot}
19
- asap={{ id: 'asap', eta: '25 – 40 min', price: '+€4.90' }}
20
- error={touched && !slot ? 'Pick a delivery window to continue.' : null}
21
- />;
22
- ```
23
-
24
- ## It is a selection, so it is a radio group
25
-
26
- Not a set of pressables that happen to look selected. The difference is what a screen
27
- reader says: a `radiogroup` announces the name of the choice and "3 of 7", and each row
28
- announces whether it is the chosen one. Seven pressables announce seven unrelated buttons,
29
- one of which is drawn differently — which is exactly as usable as it sounds, and looks
30
- identical.
31
-
32
- There are TWO groups, because there are two choices: the DAYS (which day's windows are
33
- listed) and the WINDOWS. One group a reader has to infer the halves of would be worse than
34
- either.
35
-
36
- Each option is `Item` with `role="radio"` — the press target, the hover and press paint,
37
- the disabled opacity and the `aria-checked` that ARIA scopes to that role are all `Item`'s.
38
- A sold-out window is `disabled`, so it announces as unavailable rather than merely being
39
- drawn pale.
40
-
41
- ## The field, and the one clever bit
42
-
43
- Standalone, the picker IS a `Field` (`multiple`): one `label` names the choice, one
44
- `error` puts it in its invalid state, one `description` explains it, and one `disabled`
45
- reaches the strip and every option and cannot be opted out of from inside.
46
-
47
- Dropped inside somebody else's `Field`, it renders no second one — two fields means two
48
- labels above one control and an error the outer field describes and the inner one does
49
- not. It reads the enclosing field's context instead, through `useFieldMembership()`, which
50
- is why `label` is deliberately UNDEFAULTED: a default here would outrank the one string
51
- the user can actually read.
52
-
53
- ## The parts are the library's
54
-
55
- - The day tile is `SelectChip shape="day"` — the same 56-wide, radius-12, weekday-over-date
56
- tile Bloom already draws for scheduling a viewing. A day picked out of a strip is one
57
- thing, not one per app.
58
- - The strip is `ChipRow`, which supplies the sideways scroll, the fade at whichever edge
59
- has more behind it, and the room a focus ring needs so the outline is not clipped by its
60
- own scroller. **The fade resolves into the surface BEHIND the row**, which the row
61
- cannot know: on a card, pass `fadeColor`.
62
- - The dot is `RadioIndicator` at 20 — `Radio`'s `lg` rung, because the row it marks is two
63
- lines tall and the 16 `md` dot read as a bullet beside it rather than as the control.
64
- - The empty day is `EmptyState` at the panel rung.
65
-
66
- ## Capacity is a string, and sold out says only that
67
-
68
- `capacity` is `"2 left"` or `"Almost full"` or `"Last one"` — a string, because those are
69
- the same fact said three ways and only the app knows which one its couriers mean.
70
-
71
- A SOLD-OUT window's detail line says "Sold out" and nothing else. The tier and the
72
- capacity of a window nobody can take are facts about a thing that is not on offer, and
73
- reading them out after "Sold out" is how a reader ends up tapping it.
74
-
75
- ## ASAP is at the head of the options, not beside them
76
-
77
- It belongs to no day, so it stays where it is while the days change — but it is in the
78
- SAME radio group as the windows, because it is the same choice. A button labelled "ASAP"
79
- next to a group of windows is how a reader ends up with both chosen, or neither.
80
-
81
- ## Loading is not empty
82
-
83
- The windows are RELOADED when the day changes. Pass `loading` during that reload: an empty
84
- list drawn in the gap reads as "nothing left on this day", which is a different and wrong
85
- answer. The placeholder rows are announced `aria-busy`, so a reader is told to wait rather
86
- than told nothing.
87
-
88
- ## It computes nothing
89
-
90
- Every window, every price, every reading is a string the app formatted. The only ordering
91
- this family does is the order it was handed.
package/docs/earnings.mdx DELETED
@@ -1,89 +0,0 @@
1
- ---
2
- title: Earnings
3
- description: What the work paid — the period's figure and its bars through the earnings chart card, the readings under it, the breakdown by kind, and the next payout with its date and state.
4
- order: 138
5
- ---
6
-
7
- # Earnings
8
-
9
- ```tsx
10
- import { EarningsSummary } from '@oxy.so/bloom/earnings';
11
-
12
- <EarningsSummary periods={[day, week, month]} defaultPeriod="week" formatAxisValue={euros} />
13
- ```
14
-
15
- `EarningsSummary` is the whole panel. `EarningsBreakdown` and `EarningsPayoutRow` are two of its four parts, published because a screen often wants one of them alone.
16
-
17
- ## It is built AROUND the chart card, not beside it
18
-
19
- `chart-cards`' `EarningsChartCard` is already four of the five things a courier's earnings screen needs: the period's figure, the change on the period before, the Day / Week / Month switch and the bars of the last weeks. Drawing a second figure and a second switch above it would have put two of everything on one panel and left the reader to work out which one was authoritative.
20
-
21
- So this family draws none of that. It hands the chart card the selected period's data and adds the three things the chart card has no opinion about:
22
-
23
- ```
24
- EarningsChartCard the switch, the figure, the delta chip, the bars
25
- tiles the period's other readings
26
- EarningsBreakdown where the money came from
27
- EarningsPayoutRow when it reaches the bank
28
- ```
29
-
30
- The tiles are `ai-profile-card`'s stat tile exactly — radius 10, padding 10, the reading over its label, one row from 640 and two columns below. A courier's "68 jobs done" and a profile's "9B lifetime tokens" are the same object, and a second tile geometry would be a second answer to one question.
31
-
32
- The breakdown is `price-breakdown`'s `PriceSummary` under a heading, for the same reason. A courier's earnings are an ITEMISATION — jobs, tips, bonuses, adjustments, each a label and an amount the app formatted — which is a fare's itemisation seen from the other side. Writing a second list of label-and-amount rows here would give Bloom two of those, and only one of them would know about `estimated`, `pending`, the discount tone and the info popover.
33
-
34
- ## No total under the breakdown
35
-
36
- Inside `EarningsSummary` the figure above the chart already IS the total, so `EarningsBreakdown` is given no `total` and draws the kinds with no rule. Pass `total` when you use the breakdown on its own.
37
-
38
- ## The money is never computed, and the headline is the proof
39
-
40
- A bar carries BOTH a number and an amount, and they are not the same fact:
41
-
42
- ```tsx
43
- { label: 'Fri', value: 132.4, amount: '€132.40' }
44
- ```
45
-
46
- `value` is GEOMETRY — how tall the bar is — and is never drawn. `amount` is what the reader sees.
47
-
48
- `EarningsChartCard` formats its headline from a number, which is exactly what this family must not do. So the headline is CHOSEN rather than produced: the panel owns the chart's active bar, and `format` returns the period's own `total` at rest and the hovered bar's own `amount` over a bar. `earningsHeadline` is that choice, and it is a pure function so its boundaries — no bars, an index past the end, an index that outlived its data — are reachable by a test.
49
-
50
- Two consequences, both deliberate:
51
-
52
- - **The headline does not roll.** `ChartHeadline` counts a number up over 320ms; a pre-formatted amount has nothing to count. The 220ms fade still plays, so the change is still visible.
53
- - **The Y axis prints a number.** A tick is a position on a scale the chart chose, not a sum the app made, so no string exists for it to have formatted. The default prints the rounded number with nobody's currency on it; **`formatAxisValue` is where an app puts its own**, and an app that forgets it gets a bare axis rather than a wrong currency.
54
-
55
- ## What jest cannot see, and where it is checked instead
56
-
57
- `earningsHeadline` is pure, so the CHOICE is pinned in `src/__tests__/Earnings.test.tsx` at every boundary. The other half — that the panel actually owns the chart's active bar and re-reads the headline from it — is driven by pointer events on a plot surface that only exists after `onLayout`, and jsdom fires no layout. Measured: gutting `setActiveIndex` to a no-op left that whole suite green.
58
-
59
- So it is `scripts/verify-earnings-headline.mjs`: a real Chrome, `page.mouse.move` over three bars of different value, reading the emitted headline. It also runs the case the pure test cannot reach — that no reading is ever the raw number the bar was SIZED by, which is what a `format` falling back to its argument would produce and what would still look plausible on screen. The axis words are checked the same way, and for the same reason.
60
-
61
- ## The period is controlled here, and the chart is remounted to follow it
62
-
63
- An external change to the controlled `period` clears the active bar before the next headline paints, just like using the period switch. Returning to the previous period starts from its total.
64
-
65
- `useChartRange` inside `chart-cards` is uncontrolled: it takes a `defaultRange` and there is no `range`. A period changed from outside the panel therefore cannot reach the chart card's own segmented control, and the switch and the panel would disagree with nothing to say so.
66
-
67
- The chart is keyed on the period id, which remounts it with the new default. The cost is that the bars grow in again instead of morphing across the switch. **This is a gap in `chart-cards`, recorded rather than worked around silently** — the fix is a controlled `range` prop on `useChartRange`, and it is not made here.
68
-
69
- ## Payout states
70
-
71
- Five, because "not in the account yet" is four different situations and a courier acts differently on each.
72
-
73
- | state | tone | means |
74
- | --- | --- | --- |
75
- | `scheduled` | default | waiting; nothing to do |
76
- | `processing` | info | already moving; nothing to do |
77
- | `paid` | success | done |
78
- | `held` | warning | the reader has to do something, and the money is still coming |
79
- | `failed` | error | the reader has to fix something |
80
-
81
- **The state is said in words, not only in colour.** The badge carries the word and the tone is a second channel on top of it. `note` is drawn only for `held` and `failed` — a sentence on a scheduled payout is one nobody has to read.
82
-
83
- The row is an `item`, not a card: `item` already owns the press target, the density, the slots and the disabled wash, and what this component decides is what goes in them.
84
-
85
- ## Traps
86
-
87
- - **A period carries everything it says.** `total`, `bars`, `lines`, `stats` and `payout` are all the period's own, so switching the segment replaces the whole panel. A payout that does not change with the period is written once, at the panel level.
88
- - **`deltaRatio` is a RATIO, not money.** `0.148` is up 14.8%. A percentage is not somebody's currency, so it is the one number here that is allowed to be formatted downstream.
89
- - **A period id that names nothing falls back to the FIRST period**, never to nothing. An empty figure reads as "you earned nothing" rather than as "this app asked for a period that is not on the list".
@@ -1,82 +0,0 @@
1
- ---
2
- title: Job board
3
- description: Work a courier can take — what a job pays, where it starts and ends, how long the offer stands, and the board it sits on with the four filters that matter, a sort, a refresh and an empty state.
4
- order: 137
5
- ---
6
-
7
- # Job board
8
-
9
- ```tsx
10
- import { JobBoard, JobCard } from '@oxy.so/bloom/job-board';
11
-
12
- <JobBoard
13
- jobs={jobs}
14
- payBands={payBands}
15
- onTake={take}
16
- onPass={hide}
17
- onRefresh={pull}
18
- />
19
- ```
20
-
21
- `JobCard` is one piece of work. `JobBoard` is the work on offer, filtered, ordered and counted.
22
-
23
- ## It is the offer card seen from the other side
24
-
25
- `carrier-quote`'s `CarrierQuoteCard` is a carrier saying what they would charge to move something. This is the same object read by the person who would move it: the same blocks in the same order, the same tile row, the same 420 threshold at which the actions drop their labels, the same footer over a hairline. Both were built from the same measurements on purpose — a courier app shows one of these on the board and the other in the customer's app, and two different geometries would make them look like two products.
26
-
27
- What differs is only whose number the headline is, and what stands where the person does:
28
-
29
- | | `CarrierQuoteCard` | `JobCard` |
30
- | --- | --- | --- |
31
- | the mark | the carrier's 48 avatar | the 48 vehicle tile |
32
- | the identity | the carrier's name and rating | what is being moved |
33
- | the headline | the price asked | the pay offered |
34
- | the middle | three tiles | the route, then three tiles |
35
- | the footer | decline · message · accept | pass · take |
36
-
37
- ## The geometry
38
-
39
- - **Card.** Outlined, radius 20, 16 inset, 16 between blocks. Chosen, it takes a 2px border and gives the pixel back out of its own inset, so nothing inside moves.
40
- - **Mark.** 48 comfortable, 36 compact, radius 12, at the surface's next fill up. It carries the glyph for `vehicleKind`, or `vehicleIcon` when the app names one. With neither it is the route glyph — a marketplace that routes five bodies has five glyphs, and guessing between them is worse than not drawing one.
41
- - **Tiles.** Distance, time, window. One row over 420, two columns under it, an odd tile keeping its half.
42
- - **Compact.** 64 tall, the mark, the load, one meta line, the pay. No route, no tiles, no breakdown: that density is a LIST ROW, and a list row that drew a route would be a card with the padding taken out.
43
-
44
- ## The route is `RouteStops`, not a second pin column
45
-
46
- `pickup`, `via` and `dropoff` become that family's stops, at its `compact` density. It already owns the marker shapes, the connector that fills behind a journey, the position words and the announced name; a second column drawn here would be a fourth marker vocabulary in one library.
47
-
48
- ## What a job is CLOSED does not remove it
49
-
50
- `state` is `open`, `taken` or `expired`. A closed job keeps its place, dims to the disabled opacity, and says which of the two happened — as a `Badge` beside the load and again where the take action was. The take action is GONE rather than greyed out: a dimmed primary button invites a press that can never succeed.
51
-
52
- This is the one behaviour the board exists to get right. A row that vanishes under a thumb is indistinguishable from a mis-tap, and the reader is left unsure whether they took the job or lost it. `filterJobOffers` answers the reader's four questions and nothing else, so nothing about a job's state can make it disappear.
53
-
54
- ## The filters
55
-
56
- Four independent questions, combined with AND, each a sideways-scrolling `ChipRow`:
57
-
58
- | | reads | default bands |
59
- | --- | --- | --- |
60
- | distance | `distanceKm` | `JOB_DISTANCE_BANDS` — any, 3, 10, 25 km |
61
- | pay | `payValue` | **none** |
62
- | when | `startsInMinutes` | `JOB_WHEN_BANDS` — any, hour, 4 hours, today |
63
- | vehicle | `vehicleKind` | the five `vehicle-picker` knows |
64
-
65
- **`payBands` has no default and will not get one.** A band is words plus an amount, and the amount is a currency. A kilometre and a minute are nobody's; twenty euros is somebody's.
66
-
67
- **A filter cannot exclude what it cannot measure.** A job with no `distanceKm` survives every distance band; one with no `payValue` survives every pay floor. Treating a missing value as zero is how a filter hides work from a courier because the app omitted a field.
68
-
69
- **Vehicle is a set of toggles, not a radiogroup.** A courier with a van can take a bike job, and "van or box truck" is a sentence the board has to be able to say. Pressing the only selected vehicle clears the dimension.
70
-
71
- ## The order
72
-
73
- `sortJobOffers` is stable, and PAY sorts high first while distance, start and expiry sort low first — a courier scanning for money wants the biggest number and scanning for distance wants the smallest, so one direction would be wrong three times. A job with no number for the current key goes LAST, keeping the caller's order inside that group: there is nothing left to sort it on, and re-shuffling a group of equals makes a board jump for no visible reason.
74
-
75
- ## Traps
76
-
77
- - **Money is never parsed.** `pay`, `payNote` and every `payLines` amount are drawn exactly as given. `payValue` is a separate number for ordering and the pay filter, and it is never drawn. Nothing here adds, converts or rounds.
78
- - **The card is not one big button.** `onPressJob` is bound to the load block; the actions sit outside it. A control inside a control is invalid on web and renders fine either way.
79
- - **The actions lose their labels, never their names.** Under 420 each drops to a glyph and keeps `"<action> <load>"`.
80
- - **`disabled` is a constraint, not a default.** It combines with the job's own state, so a caller cannot re-enable a job the marketplace has already given away.
81
- - **The refresh control does not spin.** Bloom draws no press animations; while `refreshing` it is inert, because a second pull would race the first.
82
- - **The empty state offers the undo it caused.** With a filter narrowed and no `emptyAction`, the clear control is drawn there.
@@ -1,86 +0,0 @@
1
- ---
2
- title: Proof of delivery
3
- description: The proofs an app asks for at the door — a signature drawn with a finger or typed, a photo of where it was left, a code the recipient reads out, who took it and a note — each optional, all of them one result.
4
- order: 139
5
- ---
6
-
7
- # Proof of delivery
8
-
9
- ```tsx
10
- import { ProofOfDelivery, SignaturePad } from '@oxy.so/bloom/proof-of-delivery';
11
-
12
- <ProofOfDelivery
13
- proofs={['recipient', 'signature', 'photo']}
14
- required={['recipient', 'signature']}
15
- onAddPhoto={openCamera}
16
- onSubmit={(result) => result.missing.length === 0 && record(result)}
17
- />
18
- ```
19
-
20
- ## Five proofs, five existing controls, one new surface
21
-
22
- | proof | control |
23
- | --- | --- |
24
- | `recipient` | `TextFieldInput` |
25
- | `signature` | `SignaturePad` — the one thing this family adds |
26
- | `code` | `InputOtp`, which already cleans, pads and reports completion |
27
- | `photo` | `SortablePhotoGrid` |
28
- | `note` | `Textarea` |
29
-
30
- Every one is a `Field`, so the label, the hint, the required mark, the error and the association with the control are said once (`docs/composition.mdx`). Two of the five draw SEVERAL controls — the signature is a pad and a name, the photo is a grid — so those fields are `multiple`: one id on three inputs is invalid HTML, and one error described by three inputs is announced three times.
31
-
32
- A photo counts as proof once its status is `uploaded` (also the default when omitted). Failed and uploading photos remain missing. `labels.required` overrides the accessible required marker for this form.
33
-
34
- Custom `actions` inherit the form’s `disabled` and `submitting` interaction lock, including keyboard focus on web.
35
-
36
- ### Why the photo is not `FileUpload`
37
-
38
- `FileUpload` is a DROP ZONE with an upload lifecycle of its own. That is right for a document on a desktop and wrong at a door: the photo comes from a camera the app opens, and what has to be on screen afterwards is the picture, its upload state and a way to take another. `SortablePhotoGrid` is that — the app owns the picker, the grid owns the order, the per-photo progress and the retry.
39
-
40
- ## The order is the door's, not the caller's
41
-
42
- `PROOF_ORDER` is recipient, signature, code, photo, note, and `proofs` is filtered through it whatever order it arrives in. Recipient first because it is the question the courier asks out loud and the answer decides the rest; then the two proofs the RECIPIENT takes part in; then the photo, taken after they have gone; then the note, written about everything above it.
43
-
44
- ## The confirm control is never disabled
45
-
46
- It fires `onSubmit` on every press, with `missing` filled in. Pressing with something outstanding puts the error on each missing field AND an `error` `Admonition` in a `role="alert"` at the bottom naming them, so the answer arrives in the same gesture that asked the question.
47
-
48
- A disabled confirm is the failure mode this avoids: the reader presses, nothing happens, and nothing on screen says why — least of all to a screen reader, which is told only that a button is dimmed.
49
-
50
- The errors appear only after the first press. A form that is red before it has been filled in is a form that is wrong about the reader.
51
-
52
- `submitting` is the one thing that does stop the press, because a second confirm would record the same delivery twice.
53
-
54
- **A proof that is required but not DRAWN cannot be missing.** `missingProofs` intersects `required` with `proofs`, so an app that requires a control it never showed cannot refuse a delivery over it.
55
-
56
- ## `SignaturePad`
57
-
58
- - **The pad** is a filled surface at the next level up, radius 12, with a baseline hairline at 72% of its height. A signature is written ON a line; without one a finger starts wherever it lands and the capture reads as a doodle.
59
- - **The ink** is one `<Path>` per stroke, quadratic through the MIDPOINTS of the samples, round caps and joins, painted in the TEXT colour — a signature is writing, not a brand mark.
60
- - **The pointer** is one `PanResponder`, which react-native-web routes from real mouse, touch and pen events through its own responder system. The same file draws on both platforms and there is no `.web` fork to keep in step. Points arrive in the pad's own coordinates (`locationX` / `locationY`, measured against the responder node), so a scrolled or transformed page needs no correction.
61
- - **The pad KEEPS the gesture** (`onPanResponderTerminationRequest: () => false`). A signature crosses a scroller, and an ancestor that stole the gesture mid-word would break the stroke in half and leave the second half unrecorded.
62
- - Samples closer together than 2px are dropped. A resting finger reports the same coordinate many times a second, and every repeat is a zero-length curve the smoothing then has to average out.
63
- - **A single tap lays down a DOT.** `signaturePath` emits `M… l0 0` for one point, which a round cap paints as a dot — a full stop in a signature is exactly that. Without it a tap draws nothing and the reader taps harder.
64
-
65
- ### The typed field is the other half of the control, not a fallback
66
-
67
- A pad is a pointer affordance: there is no keyboard gesture for it, a screen reader has nothing to announce but an empty box, and a motor impairment makes it unusable. So both paths are drawn AT ONCE rather than behind a mode switch — a mode a reader has to find is a mode most readers never find — and `isSignatureGiven` treats ink and a typed name as the same answer.
68
-
69
- `typed={false}` removes it. That is a deliberate escape hatch for an app collecting the name in a field of its own on the same screen, and it is the only way to ship this control with no accessible path at all.
70
-
71
- The pad itself announces as `role="img"` named "Signature" (and "Signature, Signed" once there is ink). The drawn signature IS an image: not operable by keyboard, holding no state ARIA can read.
72
-
73
- ## What jest cannot see, and where it is checked instead
74
-
75
- **A jest test cannot see a canvas.** react-native-svg renders to a native view on one platform and to a `<path>` on the other, and jsdom paints neither.
76
-
77
- So the split is deliberate:
78
-
79
- - `signaturePath`, `shouldKeepSignaturePoint`, `isProofGiven` and `missingProofs` are PURE, and `src/__tests__/ProofOfDelivery.test.tsx` walks their boundaries — no points, one point, two, a code half entered, a required proof that was never drawn.
80
- - That ink actually lands under a real pointer is `scripts/verify-signature-pad.mjs`: a real Chrome, `page.mouse.down/move/up` through the browser's own hit testing, reading the emitted `<path d>`. It also runs the negative control — a press with no movement, which must still leave a dot, and a press on a `disabled` pad, which must leave nothing.
81
-
82
- ## Traps
83
-
84
- - **The code counts only once it is FULL.** `InputOtp` reports every keystroke, and "2 of 4 digits" is not a code the recipient read out, so `codeLength` is part of the question rather than something the caller checks after.
85
- - **`value` is partial and `onChange` is not.** A caller may control one field; the component fills the rest from `EMPTY_PROOF` and always reports the whole thing.
86
- - **`onAddPhoto` is the app's picker.** Without it the grid draws no add tile — the component opens no camera of its own on either platform.
@@ -1,139 +0,0 @@
1
- ---
2
- title: Shipment request
3
- description: Describing a job for a carrier — what is being moved, how big and how heavy, the photos, and the options that change the price — as one column of sections built from the families that already own each part.
4
- order: 134
5
- ---
6
-
7
- # Shipment request
8
-
9
- ```tsx
10
- import {
11
- ShipmentRequestForm,
12
- ShipmentLoadPicker,
13
- ShipmentOptionsList,
14
- } from '@oxy.so/bloom/shipment-request';
15
-
16
- <ShipmentRequestForm
17
- route={{ stops, onSwap, onAddStop, onRemoveStop }}
18
- load={load}
19
- onLoadChange={setLoad}
20
- loadProps={{ notes: true }}
21
- photos={{ photos, onReorder, onRemove, onAdd }}
22
- options={{ extras, selectedExtras, onExtrasChange, accessOptions, access, onAccessChange }}
23
- price={{ lines, total }}
24
- footer={<Button size="lg" fullWidth onPress={submit} tone="accent" appearance="solid">Ask for quotes</Button>}
25
- />
26
- ```
27
-
28
- Three components: the **form** is the register and the order, the **load picker**
29
- and the **options list** are the two halves of it that are this family's own.
30
- Either half works on its own — a sheet that only asks for the load does not have
31
- to mount a form.
32
-
33
- ## What the form draws, and what it does not
34
-
35
- `ShipmentRequestForm` draws **nothing of its own**. Every section is an existing
36
- Bloom family handed its props unchanged:
37
-
38
- | section | component | subpath |
39
- | --- | --- | --- |
40
- | Where it goes | `RouteStops` | `@oxy.so/bloom/route-stops` |
41
- | The load | `ShipmentLoadPicker` | this family |
42
- | Photos | `SortablePhotoGrid` | `@oxy.so/bloom/sortable-media` |
43
- | Options | `ShipmentOptionsList` | this family |
44
- | Price | `PriceSummary` | `@oxy.so/bloom/price-breakdown` |
45
-
46
- The sections are drawn with `FilterSection`, so the inset, the heading rhythm and
47
- the rule between two sections are the ones a Bloom filter sheet already uses —
48
- there is one set of numbers, not two.
49
-
50
- The one decision the form makes is the **order**, and it is the order a carrier
51
- needs the questions answered in: where, what, what it looks like, what changes
52
- the price, what the price currently is. The price is last on purpose — the
53
- options that move the number and the number itself end up on one screen.
54
-
55
- **A section whose props are absent is not drawn.** `photos`, `options` and
56
- `price` are each optional, and a job that needs no photograph should not be asked
57
- for one. The route and the load are not optional: a shipment with neither is not
58
- a request.
59
-
60
- **The last section has no rule under it**, and the `footer` sits below it with
61
- none either. A divider separates two things; there is nothing after the last one.
62
-
63
- ## The load picker
64
-
65
- Four questions and an optional fifth, each drawn in the control that fits the
66
- shape of its answer:
67
-
68
- - **kind** — one answer out of five, each with a sentence explaining what it
69
- covers, so it is a column of selectable cards (the same card the listing editor
70
- builds its pickers from). Not chips: a chip has no room for the sentence, and
71
- the sentence is what stops someone filing a mattress under "parcel".
72
- - **size** — a `SegmentedControl` of single letters, with the **chosen** rung's
73
- sentence under the control. Four sentences never fit in one control at phone
74
- width; a control whose every option carries its own sentence is a list.
75
- - **weight** — a `TextField` whose unit is a `TextFieldSuffix`.
76
- - **quantity** — a `StepperRow` from 1.
77
- - **notes** — an auto-resizing `Textarea`, only when `notes` is set.
78
-
79
- ### The value arrives whole
80
-
81
- `onValueChange` is called with the next `ShipmentLoad`, never with a patch. A
82
- form that merges patches in five places has five chances to drop a field; this
83
- one has none. It costs the caller a spread and buys a value that cannot be
84
- half-applied.
85
-
86
- ### The unit is not part of the value
87
-
88
- `weight` holds digits and at most one dot. `sanitizeWeight` accepts a comma and
89
- emits a dot (half of Europe types one, and no app wants to parse both), strips
90
- the unit, and turns a leading separator into `0.`. The "kg" beside the field is
91
- drawn and announced; it is never stored. An app parses a number, not a sentence.
92
-
93
- `isShipmentLoadComplete(load)` is the same decision the picker makes about
94
- whether every control has been answered, exported so a submit button can be
95
- disabled from it rather than from a second copy of it. It is **not** validation:
96
- an app that prices a job has its own rules, and `errors` is where their messages
97
- go.
98
-
99
- ## The options list
100
-
101
- Three groups, and the control is the difference between them:
102
-
103
- - **extras** are independent of one another, so each is a settings row with a
104
- `Switch` and its own price at the end. "And also this" is a switch.
105
- - **access** — one of ground floor, stairs and lift is true, so they are a
106
- `radiogroup` of chips and choosing one unchooses the rest.
107
- - **windows** — the same, over collection times.
108
-
109
- **The interactive chips are `size="xl"`** — 32 drawn, 44 under a thumb through
110
- `Chip`'s own `hitSlop`. The smaller rungs are for labels; a single-choice control
111
- at phone width is not one.
112
-
113
- **The row is not the control.** A pressable row wrapping a switch is two targets
114
- for one answer, and on web the outer one is a button containing a checkbox. The
115
- switch is the only thing that toggles.
116
-
117
- **A switch draws no text**, so each one is named with its row's title, its
118
- description and its price. A caption beside a switch is a sibling on both
119
- platforms — neither associates the two — so a screen reader reading only the
120
- control announces "switch, off" without this.
121
-
122
- ## Money
123
-
124
- Every amount in this family is a **pre-formatted string**: `"+€12.00"`,
125
- `"Included"`, `"−€3.00"`. Nothing here parses, sums, converts or rounds. The
126
- running total is `PriceSummary`'s job, and the app computes it.
127
-
128
- ## Traps
129
-
130
- - **`SHIPMENT_REQUEST_GEOMETRY` has no section numbers.** They belong to
131
- `FilterSection`, which draws them. A second copy here would drift from the one
132
- on screen.
133
- - **The form measures nothing itself.** The load picker measures its own width
134
- (480) to decide whether the weight field sits beside the quantity; the form
135
- does not, because every section it draws already decides its own layout.
136
- - **`kinds` is a prop, and the five defaults are opinions.** They are the five
137
- that change how a job is priced and carried, not a taxonomy of objects. There
138
- is deliberately no "Other": a marketplace that cannot name what it is carrying
139
- cannot quote it, and `notes` is where an unusual load is described.