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