@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
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.SHIPMENT_REQUEST_MESSAGES = void 0;
7
- var _messages = require("../locale/messages.js");
8
- var _plural = require("../locale/plural.js");
9
- /**
10
- * Every fixed string the shipment-request family draws or announces — its
11
- * headings and the built-in kinds, sizes and access words — in each Bloom
12
- * language. The weight unit is a symbol and stays `kg`. A caller's `labels`,
13
- * `kinds`, `sizes`, `accessOptions` and `accessibilityLabel` still win.
14
- */
15
-
16
- const SHIPMENT_REQUEST_MESSAGES = exports.SHIPMENT_REQUEST_MESSAGES = (0, _messages.defineMessages)('SHIPMENT_REQUEST_MESSAGES', {
17
- kinds: {
18
- envelope: {
19
- label: 'Envelope',
20
- description: 'Documents, keys, anything flat.'
21
- },
22
- parcel: {
23
- label: 'Parcel',
24
- description: 'A box or a bag one person can carry.'
25
- },
26
- furniture: {
27
- label: 'Furniture',
28
- description: 'A sofa, a table, a mattress — two people at both ends.'
29
- },
30
- pallet: {
31
- label: 'Pallet',
32
- description: 'Wrapped and stacked, moved with a tail lift.'
33
- },
34
- food: {
35
- label: 'Food',
36
- description: 'A restaurant run, kept at temperature.'
37
- }
38
- },
39
- sizes: {
40
- small: 'Up to a shoebox — 35 × 25 × 20 cm.',
41
- medium: 'Up to a cabin bag — 55 × 40 × 25 cm.',
42
- large: 'Up to a washing machine — 85 × 60 × 60 cm.',
43
- extraLarge: 'Bigger than that — tell us in the notes.'
44
- },
45
- access: {
46
- ground: 'Ground floor',
47
- stairs: 'Stairs',
48
- lift: 'Lift'
49
- },
50
- load: {
51
- kind: 'What are we moving?',
52
- size: 'Size',
53
- weight: 'Weight',
54
- quantity: 'How many',
55
- quantityValue: n => (0, _plural.plural)('en', n, {
56
- one: '{n} item',
57
- other: '{n} items'
58
- }),
59
- notes: 'Anything else the carrier should know?',
60
- notesPlaceholder: 'Fragile, a lift code, where to leave it…'
61
- },
62
- options: {
63
- extras: 'Extras',
64
- access: 'Access at both ends',
65
- window: 'When should it be collected?'
66
- },
67
- form: {
68
- route: 'Where it goes',
69
- routeDescription: 'Pick-up first, drop-off last.',
70
- load: 'The load',
71
- photos: 'Photos',
72
- photosDescription: 'A photo of the load is the single biggest thing you can do for the quotes you get back.',
73
- options: 'Options',
74
- optionsDescription: 'Each of these changes the price.',
75
- price: 'Price'
76
- },
77
- shipmentRequest: 'Shipment request'
78
- });
79
- //# sourceMappingURL=messages.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_messages","require","_plural","SHIPMENT_REQUEST_MESSAGES","exports","defineMessages","kinds","envelope","label","description","parcel","furniture","pallet","food","sizes","small","medium","large","extraLarge","access","ground","stairs","lift","load","kind","size","weight","quantity","quantityValue","n","plural","one","other","notes","notesPlaceholder","options","extras","window","form","route","routeDescription","photos","photosDescription","optionsDescription","price","shipmentRequest"],"sourceRoot":"../../../src","sources":["shipment-request/messages.ts"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAGA;AACA;AACA;AACA;AACA;AACA;;AA8BO,MAAME,yBAAkE,GAAAC,OAAA,CAAAD,yBAAA,GAC7E,IAAAE,wBAAc,EAA0B,2BAA2B,EAAE;EACnEC,KAAK,EAAE;IACLC,QAAQ,EAAE;MAAEC,KAAK,EAAE,UAAU;MAAEC,WAAW,EAAE;IAAkC,CAAC;IAC/EC,MAAM,EAAE;MAAEF,KAAK,EAAE,QAAQ;MAAEC,WAAW,EAAE;IAAuC,CAAC;IAChFE,SAAS,EAAE;MACTH,KAAK,EAAE,WAAW;MAClBC,WAAW,EAAE;IACf,CAAC;IACDG,MAAM,EAAE;MAAEJ,KAAK,EAAE,QAAQ;MAAEC,WAAW,EAAE;IAA+C,CAAC;IACxFI,IAAI,EAAE;MAAEL,KAAK,EAAE,MAAM;MAAEC,WAAW,EAAE;IAAyC;EAC/E,CAAC;EACDK,KAAK,EAAE;IACLC,KAAK,EAAE,oCAAoC;IAC3CC,MAAM,EAAE,sCAAsC;IAC9CC,KAAK,EAAE,4CAA4C;IACnDC,UAAU,EAAE;EACd,CAAC;EACDC,MAAM,EAAE;IAAEC,MAAM,EAAE,cAAc;IAAEC,MAAM,EAAE,QAAQ;IAAEC,IAAI,EAAE;EAAO,CAAC;EAClEC,IAAI,EAAE;IACJC,IAAI,EAAE,qBAAqB;IAC3BC,IAAI,EAAE,MAAM;IACZC,MAAM,EAAE,QAAQ;IAChBC,QAAQ,EAAE,UAAU;IACpBC,aAAa,EAAGC,CAAC,IAAK,IAAAC,cAAM,EAAC,IAAI,EAAED,CAAC,EAAE;MAAEE,GAAG,EAAE,UAAU;MAAEC,KAAK,EAAE;IAAY,CAAC,CAAC;IAC9EC,KAAK,EAAE,wCAAwC;IAC/CC,gBAAgB,EAAE;EACpB,CAAC;EACDC,OAAO,EAAE;IACPC,MAAM,EAAE,QAAQ;IAChBjB,MAAM,EAAE,qBAAqB;IAC7BkB,MAAM,EAAE;EACV,CAAC;EACDC,IAAI,EAAE;IACJC,KAAK,EAAE,eAAe;IACtBC,gBAAgB,EAAE,+BAA+B;IACjDjB,IAAI,EAAE,UAAU;IAChBkB,MAAM,EAAE,QAAQ;IAChBC,iBAAiB,EACf,yFAAyF;IAC3FP,OAAO,EAAE,SAAS;IAClBQ,kBAAkB,EAAE,kCAAkC;IACtDC,KAAK,EAAE;EACT,CAAC;EACDC,eAAe,EAAE;AACnB,CAAC,CAAC","ignoreList":[]}
@@ -1,65 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.isShipmentLoadComplete = isShipmentLoadComplete;
7
- exports.joinShipmentName = joinShipmentName;
8
- exports.sanitizeWeight = sanitizeWeight;
9
- exports.toggleShipmentExtra = toggleShipmentExtra;
10
- /**
11
- * The pure decisions `shipment-request` makes, kept out of the render so each
12
- * one can be walked at its boundary.
13
- */
14
-
15
- /**
16
- * What a weight field KEEPS of what was typed.
17
- *
18
- * Digits, and one decimal separator — a comma is accepted and emitted as a dot,
19
- * because half of Europe types one and no app wants to parse both. Everything
20
- * else goes, including the unit: `"18,5 kg"` is `"18.5"`. The unit is drawn
21
- * beside the field and never stored, so an app parses a number rather than a
22
- * sentence.
23
- *
24
- * A leading separator becomes `"0."`, because `".5"` is a number a person means
25
- * and `Number('.5')` happening to work is not a reason to store it that way.
26
- */
27
- function sanitizeWeight(text) {
28
- const cleaned = text.replace(/,/g, '.').replace(/[^\d.]/g, '');
29
- const firstDot = cleaned.indexOf('.');
30
- if (firstDot === -1) return cleaned;
31
- const head = cleaned.slice(0, firstDot);
32
- const tail = cleaned.slice(firstDot + 1).replace(/\./g, '');
33
- return `${head === '' ? '0' : head}.${tail}`;
34
- }
35
-
36
- /**
37
- * Whether the load has been described enough to ask for quotes.
38
- *
39
- * It is the FORM's question, not the app's: an app that prices a job has its
40
- * own rules, and this only answers whether every control the picker draws has
41
- * been answered. Exported so a submit button can be disabled from the same
42
- * decision the picker makes, rather than from a second copy of it.
43
- */
44
- function isShipmentLoadComplete(load) {
45
- return load.kind !== null && load.size !== null && load.weight.trim() !== '' && Number(load.weight) > 0 && load.quantity >= 1;
46
- }
47
-
48
- /**
49
- * The next selection of extras, in the OPTIONS' order.
50
- *
51
- * Reporting in the options' order rather than the tap order means the value is
52
- * stable: a form that round-trips through a server does not reorder its own
53
- * switches, and two equal selections compare equal.
54
- */
55
- function toggleShipmentExtra(options, selected, key) {
56
- const next = new Set(selected);
57
- if (next.has(key)) next.delete(key);else next.add(key);
58
- return options.map(option => option.key).filter(candidate => next.has(candidate));
59
- }
60
-
61
- /** Joins the non-empty parts of an accessible name. */
62
- function joinShipmentName(parts, separator = ', ') {
63
- return parts.filter(part => typeof part === 'string' && part !== '').join(separator);
64
- }
65
- //# sourceMappingURL=shared.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["sanitizeWeight","text","cleaned","replace","firstDot","indexOf","head","slice","tail","isShipmentLoadComplete","load","kind","size","weight","trim","Number","quantity","toggleShipmentExtra","options","selected","key","next","Set","has","delete","add","map","option","filter","candidate","joinShipmentName","parts","separator","part","join"],"sourceRoot":"../../../src","sources":["shipment-request/shared.ts"],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASA,cAAcA,CAACC,IAAY,EAAU;EACnD,MAAMC,OAAO,GAAGD,IAAI,CAACE,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAACA,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC;EAC9D,MAAMC,QAAQ,GAAGF,OAAO,CAACG,OAAO,CAAC,GAAG,CAAC;EACrC,IAAID,QAAQ,KAAK,CAAC,CAAC,EAA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,QAAQ,IAAIA,IAAI,KAAK,EAAE,CAAC,CACzEC,IAAI,CAACF,SAAS,CAAC;AACpB","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["shipment-request/types.ts"],"mappings":"","ignoreList":[]}
@@ -1,238 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.VehiclePicker = VehiclePicker;
7
- var _FieldConstraintScope = require("../field/FieldConstraintScope.js");
8
- var _membership = require("../field/membership.js");
9
- var _react = _interopRequireWildcard(require("react"));
10
- var _reactNative = require("react-native");
11
- var _index = require("../chip/index.js");
12
- var _useContainerWidth = require("../hooks/use-container-width.js");
13
- var _RiErrorWarningLine = require("../icons/remix/RiErrorWarningLine.js");
14
- var _SelectionCard = require("../card/SelectionCard.js");
15
- var _messages = require("../locale/messages.js");
16
- var _accentColors = require("../theme/accent-colors.js");
17
- var _useTheme = require("../theme/use-theme.js");
18
- var _index2 = require("../typography/index.js");
19
- var _constants = require("./constants.js");
20
- var _messages2 = require("./messages.js");
21
- var _shared = require("./shared.js");
22
- var _jsxRuntime = require("react/jsx-runtime");
23
- var cache;
24
- function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, default: e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
25
- /**
26
- * Which vehicle the job needs: a column of selectable vehicle cards, each one
27
- * saying what it can take, what fits in it and what it starts at.
28
- *
29
- * heading `title` at `body-semibold` over `description` at
30
- * `body-2-regular`, the shape a search panel's pickers use, 16
31
- * above the first option. Omit both and the picker starts at the
32
- * list
33
- * option the editor's selectable card: a 44 icon tile, the vehicle's name
34
- * at `headline-semibold`, its capacity under it, and the radio
35
- * indicator on the right
36
- * detail under the card's hairline: the `fits` nouns as outlined chips,
37
- * then a "From · amount" line in tabular figures
38
- * blocked a disabled card, dimmed, with its reason on a warning-toned line
39
- * under the detail — and the same reason inside the card's name, so
40
- * it is announced rather than merely drawn
41
- *
42
- * ONE ANSWER. The group is a `radiogroup` and every card a `radio`: a job goes
43
- * in one vehicle, and an empty selection is a job that has not chosen yet.
44
- *
45
- * THE DETAIL IS NOT A DISCLOSURE. Every card shows its capacity, its chips and
46
- * its price at rest, because the question the picker answers is a COMPARISON —
47
- * a card that reveals its numbers only once chosen makes the user select four
48
- * vehicles to choose one.
49
- *
50
- * MONEY ARRIVES FORMATTED. `priceFrom` is drawn exactly as given; nothing here
51
- * adds, converts or rounds an amount.
52
- */
53
-
54
- const TABULAR = {
55
- fontVariant: ['tabular-nums']
56
- };
57
- function VehiclePicker({
58
- value,
59
- onValueChange,
60
- options: optionsProp,
61
- title,
62
- description,
63
- disabled: disabledProp = false,
64
- labels: labelOverrides,
65
- accessibilityLabel: accessibilityLabelProp,
66
- style,
67
- testID
68
- }) {
69
- const {
70
- messages
71
- } = (0, _messages.useMessages)(_messages2.VEHICLE_PICKER_MESSAGES);
72
- const field = (0, _membership.useFieldMembership)({
73
- accessibilityLabel: accessibilityLabelProp,
74
- disabled: disabledProp
75
- });
76
- const disabled = field.disabled;
77
- const accessibilityLabel = field.accessibilityLabel ?? messages.vehicle;
78
- const options = (0, _react.useMemo)(() => optionsProp ?? (0, _constants.builtInVehicleOptions)(messages), [optionsProp, messages]);
79
- const theme = (0, _useTheme.useTheme)();
80
- const paint = (0, _react.useMemo)(() => (0, _SelectionCard.resolveSelectionPaint)(theme), [theme]);
81
- const labels = (0, _react.useMemo)(() => ({
82
- from: messages.from,
83
- fits: messages.fits,
84
- unavailable: messages.unavailable,
85
- ...labelOverrides
86
- }), [messages, labelOverrides]);
87
- // The picker measures ITSELF: the same component is a full phone column and a
88
- // 420-wide panel beside a map, and the window cannot tell those apart.
89
- const {
90
- width,
91
- onLayout
92
- } = (0, _useContainerWidth.useContainerWidth)();
93
- const compact = width !== null && width < _constants.VEHICLE_PICKER_GEOMETRY.narrowWidth;
94
- const warning = (0, _react.useMemo)(() => (0, _accentColors.resolveAccentColors)(theme.colors, 'warning', 'subtle'), [theme]);
95
- const id = part => testID ? `${testID}-${part}` : undefined;
96
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
97
- testID: testID,
98
- onLayout: onLayout,
99
- style: style,
100
- children: [title || description ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
101
- style: {
102
- gap: 2,
103
- marginBottom: _constants.VEHICLE_PICKER_GEOMETRY.headingGap
104
- },
105
- children: [title ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
106
- variant: "body-semibold",
107
- role: "heading",
108
- "aria-level": 3,
109
- style: {
110
- color: paint.text
111
- },
112
- testID: id('title'),
113
- children: title
114
- }) : null, description ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
115
- variant: "body-2-regular",
116
- style: {
117
- color: paint.textSecondary
118
- },
119
- children: description
120
- }) : null]
121
- }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
122
- collapsable: false,
123
- "aria-disabled": disabled || undefined,
124
- role: "radiogroup",
125
- nativeID: field.nativeID,
126
- "aria-describedby": field.describedBy,
127
- accessibilityHint: field.accessibilityHint,
128
- "aria-invalid": field.invalid || undefined,
129
- "aria-required": field.required || undefined,
130
- accessibilityLabel: accessibilityLabel,
131
- style: {
132
- gap: _constants.VEHICLE_PICKER_GEOMETRY.gap
133
- },
134
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldConstraintScope.FieldConstraintScope, {
135
- children: options.map(option => {
136
- const blocked = disabled || option.disabled === true;
137
- const reason = option.disabled === true ? option.unavailableReason ?? labels.unavailable : undefined;
138
- const chips = option.fits ?? [];
139
- const hasDetail = chips.length > 0 || option.priceFrom !== undefined || reason !== undefined;
140
- const icon = option.icon ?? _constants.VEHICLE_ICON[option.value] ?? undefined;
141
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SelectionCard.SelectionCard, {
142
- selection: "single",
143
- selected: value === option.value
144
- // A disabled card never reaches this, and the card itself stops
145
- // re-reporting a choice already made.
146
- ,
147
- onPress: () => {
148
- if (value !== option.value) onValueChange(option.value);
149
- },
150
- title: option.label,
151
- description: option.capacity,
152
- icon: icon,
153
- compact: compact,
154
- disabled: blocked
155
- // The name carries the capacity and the reason, because both are
156
- // drawn as separate lines that no name computation would reach.
157
- ,
158
- accessibilityLabel: (0, _shared.vehicleOptionName)(option, {
159
- from: labels.from,
160
- reason
161
- }),
162
- testID: id(option.value),
163
- children: hasDetail ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
164
- style: {
165
- gap: _constants.VEHICLE_PICKER_GEOMETRY.chipGap
166
- },
167
- children: [chips.length > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
168
- collapsable: false,
169
- role: "group",
170
- accessibilityLabel: labels.fits(option.label),
171
- testID: id(`${option.value}-fits`),
172
- style: {
173
- flexDirection: 'row',
174
- flexWrap: 'wrap',
175
- gap: _constants.VEHICLE_PICKER_GEOMETRY.chipGap
176
- },
177
- children: chips.map(fit => /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Chip, {
178
- size: "md",
179
- variant: "outlined",
180
- children: fit
181
- }, fit))
182
- }) : null, option.priceFrom !== undefined ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
183
- testID: id(`${option.value}-price`),
184
- style: {
185
- flexDirection: 'row',
186
- alignItems: 'baseline',
187
- justifyContent: 'space-between',
188
- gap: 12
189
- },
190
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
191
- variant: "body-regular",
192
- style: {
193
- color: paint.textSecondary
194
- },
195
- children: labels.from
196
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
197
- variant: "body-semibold",
198
- style: [{
199
- color: paint.text,
200
- textAlign: 'right'
201
- }, TABULAR],
202
- children: option.priceFrom
203
- })]
204
- }) : null, reason ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
205
- testID: id(`${option.value}-reason`),
206
- style: {
207
- flexDirection: 'row',
208
- alignItems: 'flex-start',
209
- gap: 6
210
- },
211
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
212
- style: {
213
- paddingTop: 1
214
- },
215
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RiErrorWarningLine.RiErrorWarningLine, {
216
- width: 16,
217
- height: 16,
218
- fill: warning.foreground
219
- })
220
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
221
- variant: "body-2-regular",
222
- style: {
223
- flex: 1,
224
- minWidth: 0,
225
- color: warning.foreground
226
- },
227
- children: reason
228
- })]
229
- }) : null]
230
- }) : null
231
- }, option.value);
232
- })
233
- })
234
- })]
235
- });
236
- }
237
- VehiclePicker.displayName = 'VehiclePicker';
238
- //# sourceMappingURL=VehiclePicker.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_FieldConstraintScope","require","_membership","_react","_interopRequireWildcard","_reactNative","_index","_useContainerWidth","_RiErrorWarningLine","_SelectionCard","_messages","_accentColors","_useTheme","_index2","_constants","_messages2","_shared","_jsxRuntime","cache","e","t","__esModule","r","c","a","Object","defineProperty","n","__proto__","default","WeakMap","has","get","set","hasOwnProperty","call","getOwnPropertyDescriptor","TABULAR","fontVariant","VehiclePicker","value","onValueChange","options","optionsProp","title","description","disabled","disabledProp","labels","labelOverrides","accessibilityLabel","accessibilityLabelProp","style","testID","messages","useMessages","VEHICLE_PICKER_MESSAGES","field","useFieldMembership","vehicle","useMemo","builtInVehicleOptions","theme","useTheme","paint","resolveSelectionPaint","from","fits","unavailable","width","onLayout","useContainerWidth","compact","VEHICLE_PICKER_GEOMETRY","narrowWidth","warning","resolveAccentColors","colors","id","part","undefined","jsxs","View","children","gap","marginBottom","headingGap","jsx","Text","variant","role","color","text","textSecondary","collapsable","nativeID","describedBy","accessibilityHint","invalid","required","FieldConstraintScope","map","option","blocked","reason","unavailableReason","chips","hasDetail","length","priceFrom","icon","VEHICLE_ICON","SelectionCard","selection","selected","onPress","label","capacity","vehicleOptionName","chipGap","flexDirection","flexWrap","fit","Chip","size","alignItems","justifyContent","textAlign","paddingTop","RiErrorWarningLine","height","fill","foreground","flex","minWidth","displayName"],"sourceRoot":"../../../src","sources":["vehicle-picker/VehiclePicker.tsx"],"mappings":";;;;;;AAAA,IAAAA,qBAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,uBAAA,CAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AAEA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,kBAAA,GAAAN,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AACA,IAAAQ,cAAA,GAAAR,OAAA;AACA,IAAAS,SAAA,GAAAT,OAAA;AACA,IAAAU,aAAA,GAAAV,OAAA;AACA,IAAAW,SAAA,GAAAX,OAAA;AACA,IAAAY,OAAA,GAAAZ,OAAA;AACA,IAAAa,UAAA,GAAAb,OAAA;AACA,IAAAc,UAAA,GAAAd,OAAA;AACA,IAAAe,OAAA,GAAAf,OAAA;AAA6C,IAAAgB,WAAA,GAAAhB,OAAA;AAAA,IAAAiB,KAAA;AAAA,SAAAd,wBAAAe,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAE,UAAA,SAAAF,CAAA,MAAAG,CAAA,EAAAC,CAAA,EAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA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AI,EAAExD,OAAO,CAACyD;kBAAW,CAAE;gBAAC,CACnE,CAAC,eACP,IAAAnH,WAAA,CAAAsE,GAAA,EAAC1E,OAAA,CAAA2E,IAAI;kBACHC,OAAO,EAAC,gBAAgB;kBACxBrC,KAAK,EAAE;oBAAEiF,IAAI,EAAE,CAAC;oBAAEC,QAAQ,EAAE,CAAC;oBAAE3C,KAAK,EAAEhB,OAAO,CAACyD;kBAAW,CAAE;kBAAAjD,QAAA,EAE1DqB;gBAAM,CACH,CAAC;cAAA,CACH,CAAC,GACL,IAAI;YAAA,CACJ,CAAC,GACL;UAAI,GA/EHF,MAAM,CAAC9D,KAgFC,CAAC;QAEpB,CAAC;MAAC,CACkB;IAAC,CACnB,CAAC;EAAA,CACH,CAAC;AAEX;AAEAD,aAAa,CAACgG,WAAW,GAAG,eAAe","ignoreList":[]}
@@ -1,76 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.VEHICLE_PICKER_LABELS = exports.VEHICLE_PICKER_GEOMETRY = exports.VEHICLE_OPTIONS = exports.VEHICLE_ICON = void 0;
7
- exports.builtInVehicleOptions = builtInVehicleOptions;
8
- var _RiBikeLine = require("../icons/remix/RiBikeLine.js");
9
- var _RiBox3Line = require("../icons/remix/RiBox3Line.js");
10
- var _RiBusLine = require("../icons/remix/RiBusLine.js");
11
- var _RiCarLine = require("../icons/remix/RiCarLine.js");
12
- var _RiSnowflakeLine = require("../icons/remix/RiSnowflakeLine.js");
13
- var _messages = require("./messages.js");
14
- const BUILT_IN_ORDER = ['bike', 'car', 'van', 'boxTruck', 'refrigerated'];
15
-
16
- /** The five built-in vehicles, smallest first, in one language's words. */
17
- function builtInVehicleOptions(messages) {
18
- return BUILT_IN_ORDER.map(value => ({
19
- value,
20
- ...messages.vehicles[value],
21
- fits: [...messages.vehicles[value].fits]
22
- }));
23
- }
24
-
25
- /**
26
- * The glyph each built-in vehicle draws.
27
- *
28
- * Bloom's icon set has no truck and no van, so the two largest bodies borrow
29
- * the closest shapes it does have — a bus for the van (a box on wheels at road
30
- * scale) and a crate for the box truck (the body IS the box). The refrigerated
31
- * van is the snowflake rather than a second vehicle outline: what distinguishes
32
- * it is the temperature, not the silhouette, and two nearly identical van
33
- * glyphs side by side read as a drawing mistake.
34
- */
35
- const VEHICLE_ICON = exports.VEHICLE_ICON = {
36
- bike: _RiBikeLine.RiBikeLine,
37
- car: _RiCarLine.RiCarLine,
38
- van: _RiBusLine.RiBusLine,
39
- boxTruck: _RiBox3Line.RiBox3Line,
40
- refrigerated: _RiSnowflakeLine.RiSnowflakeLine
41
- };
42
-
43
- /**
44
- * The five built-in vehicles, smallest first, with no prices.
45
- *
46
- * A price-from belongs to a marketplace and a moment, so the defaults carry
47
- * none: a picker showing invented amounts is worse than one showing the
48
- * capacities alone. Spread an option and add `priceFrom` where the app knows it.
49
- *
50
- * In English. A picker given no `options` draws these five in the resolved
51
- * locale's words instead.
52
- */
53
- const VEHICLE_OPTIONS = exports.VEHICLE_OPTIONS = builtInVehicleOptions(_messages.VEHICLE_PICKER_MESSAGES.en);
54
-
55
- /** The picker's default copy, in English. The picker speaks `VEHICLE_PICKER_MESSAGES` in the resolved locale. */
56
- const VEHICLE_PICKER_LABELS = exports.VEHICLE_PICKER_LABELS = {
57
- from: _messages.VEHICLE_PICKER_MESSAGES.en.from,
58
- fits: _messages.VEHICLE_PICKER_MESSAGES.en.fits,
59
- unavailable: _messages.VEHICLE_PICKER_MESSAGES.en.unavailable
60
- };
61
-
62
- /**
63
- * The picker's geometry, as the numbers rather than as prose.
64
- *
65
- * `gap` is the space between two option cards; `chipGap` the space inside a
66
- * `fits` row. `narrowWidth` is the picker's OWN width under which each card
67
- * drops to its compact inset — the same measurement the card itself offers,
68
- * taken once here so every card in one picker agrees.
69
- */
70
- const VEHICLE_PICKER_GEOMETRY = exports.VEHICLE_PICKER_GEOMETRY = {
71
- gap: 12,
72
- chipGap: 8,
73
- headingGap: 16,
74
- narrowWidth: 400
75
- };
76
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_RiBikeLine","require","_RiBox3Line","_RiBusLine","_RiCarLine","_RiSnowflakeLine","_messages","BUILT_IN_ORDER","builtInVehicleOptions","messages","map","value","vehicles","fits","VEHICLE_ICON","exports","bike","RiBikeLine","car","RiCarLine","van","RiBusLine","boxTruck","RiBox3Line","refrigerated","RiSnowflakeLine","VEHICLE_OPTIONS","VEHICLE_PICKER_MESSAGES","en","VEHICLE_PICKER_LABELS","from","unavailable","VEHICLE_PICKER_GEOMETRY","gap","chipGap","headingGap","narrowWidth"],"sourceRoot":"../../../src","sources":["vehicle-picker/constants.ts"],"mappings":";;;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,gBAAA,GAAAJ,OAAA;AAEA,IAAAK,SAAA,GAAAL,OAAA;AAGA,MAAMM,cAAsC,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,cAAc,CAAC;;AAEjG;AACO,SAASC,qBAAqBA,CACnCC,QAA+B,EACQ;EACvC,OAAOF,cAAc,CAACG,GAAG,CAAEC,KAAK,KAAM;IACpCA,KAAK;IACL,GAAGF,QAAQ,CAACG,QAAQ,CAACD,KAAK,CAAC;IAC3BE,IAAI,EAAE,CAAC,GAAGJ,QAAQ,CAACG,QAAQ,CAACD,KAAK,CAAC,CAACE,IAAI;EACzC,CAAC,CAAC,CAAC;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,YAAqD,GAAAC,OAAA,CAAAD,YAAA,GAAG;EACnEE,IAAI,EAAEC,sBAAU;EAChBC,GAAG,EAAEC,oBAAS;EACdC,GAAG,EAAEC,oBAAS;EACdC,QAAQ,EAAEC,sBAAU;EACpBC,YAAY,EAAEC;AAChB,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,eAAsD,GAAAX,OAAA,CAAAW,eAAA,GAAGlB,qBAAqB,CACzFmB,iCAAuB,CAACC,EAC1B,CAAC;;AAED;AACO,MAAMC,qBAAoD,GAAAd,OAAA,CAAAc,qBAAA,GAAG;EAClEC,IAAI,EAAEH,iCAAuB,CAACC,EAAE,CAACE,IAAI;EACrCjB,IAAI,EAAEc,iCAAuB,CAACC,EAAE,CAACf,IAAI;EACrCkB,WAAW,EAAEJ,iCAAuB,CAACC,EAAE,CAACG;AAC1C,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,uBAAuB,GAAAjB,OAAA,CAAAiB,uBAAA,GAAG;EACrCC,GAAG,EAAE,EAAE;EACPC,OAAO,EAAE,CAAC;EACVC,UAAU,EAAE,EAAE;EACdC,WAAW,EAAE;AACf,CAAU","ignoreList":[]}
@@ -1,45 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "VEHICLE_ICON", {
7
- enumerable: true,
8
- get: function () {
9
- return _constants.VEHICLE_ICON;
10
- }
11
- });
12
- Object.defineProperty(exports, "VEHICLE_OPTIONS", {
13
- enumerable: true,
14
- get: function () {
15
- return _constants.VEHICLE_OPTIONS;
16
- }
17
- });
18
- Object.defineProperty(exports, "VEHICLE_PICKER_GEOMETRY", {
19
- enumerable: true,
20
- get: function () {
21
- return _constants.VEHICLE_PICKER_GEOMETRY;
22
- }
23
- });
24
- Object.defineProperty(exports, "VEHICLE_PICKER_LABELS", {
25
- enumerable: true,
26
- get: function () {
27
- return _constants.VEHICLE_PICKER_LABELS;
28
- }
29
- });
30
- Object.defineProperty(exports, "VehiclePicker", {
31
- enumerable: true,
32
- get: function () {
33
- return _VehiclePicker.VehiclePicker;
34
- }
35
- });
36
- Object.defineProperty(exports, "vehicleOptionName", {
37
- enumerable: true,
38
- get: function () {
39
- return _shared.vehicleOptionName;
40
- }
41
- });
42
- var _VehiclePicker = require("./VehiclePicker.js");
43
- var _constants = require("./constants.js");
44
- var _shared = require("./shared.js");
45
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_VehiclePicker","require","_constants","_shared"],"sourceRoot":"../../../src","sources":["vehicle-picker/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAOA,IAAAE,OAAA,GAAAF,OAAA","ignoreList":[]}
@@ -1,49 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.VEHICLE_PICKER_MESSAGES = void 0;
7
- var _messages = require("../locale/messages.js");
8
- /** One built-in vehicle's words. */
9
-
10
- /**
11
- * Every fixed string the vehicle picker draws or announces — its own words and
12
- * the five built-in vehicles' — in each Bloom language. A caller's `labels`,
13
- * `accessibilityLabel` and `options` still win.
14
- */
15
-
16
- const VEHICLE_PICKER_MESSAGES = exports.VEHICLE_PICKER_MESSAGES = (0, _messages.defineMessages)('VEHICLE_PICKER_MESSAGES', {
17
- from: 'From',
18
- fits: label => `What fits in a ${label}`,
19
- unavailable: 'Not available for this load',
20
- vehicle: 'Vehicle',
21
- vehicles: {
22
- bike: {
23
- label: 'Cargo bike',
24
- capacity: 'Up to 25 kg · 60 × 40 × 40 cm',
25
- fits: ['Documents', 'A food order', 'A small box']
26
- },
27
- car: {
28
- label: 'Car',
29
- capacity: 'Up to 150 kg · 100 × 80 × 60 cm',
30
- fits: ['Two suitcases', 'Four boxes', 'A bicycle']
31
- },
32
- van: {
33
- label: 'Van',
34
- capacity: 'Up to 800 kg · 240 × 150 × 140 cm',
35
- fits: ['A sofa', 'A studio move', 'Half a pallet']
36
- },
37
- boxTruck: {
38
- label: 'Box truck',
39
- capacity: 'Up to 3,500 kg · 420 × 200 × 210 cm',
40
- fits: ['Two pallets', 'A two-bedroom move', 'A tail lift']
41
- },
42
- refrigerated: {
43
- label: 'Refrigerated van',
44
- capacity: 'Up to 700 kg · held at 2–8 °C',
45
- fits: ['Fresh produce', 'Chilled catering', 'Flowers']
46
- }
47
- }
48
- });
49
- //# sourceMappingURL=messages.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_messages","require","VEHICLE_PICKER_MESSAGES","exports","defineMessages","from","fits","label","unavailable","vehicle","vehicles","bike","capacity","car","van","boxTruck","refrigerated"],"sourceRoot":"../../../src","sources":["vehicle-picker/messages.ts"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAGA;;AAOA;AACA;AACA;AACA;AACA;;AAaO,MAAMC,uBAA8D,GAAAC,OAAA,CAAAD,uBAAA,GACzE,IAAAE,wBAAc,EAAwB,yBAAyB,EAAE;EAC/DC,IAAI,EAAE,MAAM;EACZC,IAAI,EAAGC,KAAK,IAAK,kBAAkBA,KAAK,EAAE;EAC1CC,WAAW,EAAE,6BAA6B;EAC1CC,OAAO,EAAE,SAAS;EAClBC,QAAQ,EAAE;IACRC,IAAI,EAAE;MACJJ,KAAK,EAAE,YAAY;MACnBK,QAAQ,EAAE,+BAA+B;MACzCN,IAAI,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,aAAa;IACnD,CAAC;IACDO,GAAG,EAAE;MACHN,KAAK,EAAE,KAAK;MACZK,QAAQ,EAAE,iCAAiC;MAC3CN,IAAI,EAAE,CAAC,eAAe,EAAE,YAAY,EAAE,WAAW;IACnD,CAAC;IACDQ,GAAG,EAAE;MACHP,KAAK,EAAE,KAAK;MACZK,QAAQ,EAAE,mCAAmC;MAC7CN,IAAI,EAAE,CAAC,QAAQ,EAAE,eAAe,EAAE,eAAe;IACnD,CAAC;IACDS,QAAQ,EAAE;MACRR,KAAK,EAAE,WAAW;MAClBK,QAAQ,EAAE,qCAAqC;MAC/CN,IAAI,EAAE,CAAC,aAAa,EAAE,oBAAoB,EAAE,aAAa;IAC3D,CAAC;IACDU,YAAY,EAAE;MACZT,KAAK,EAAE,kBAAkB;MACzBK,QAAQ,EAAE,+BAA+B;MACzCN,IAAI,EAAE,CAAC,eAAe,EAAE,kBAAkB,EAAE,SAAS;IACvD;EACF;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.vehicleOptionName = vehicleOptionName;
7
- /**
8
- * What a vehicle card ANNOUNCES.
9
- *
10
- * The card draws four things a name computation cannot reach: the capacity
11
- * line, the chips under the hairline, the price and — the one that matters —
12
- * the reason a blocked option is blocked. A user who cannot see the dimming has
13
- * to be told, in the control's own name, that this row is out and why.
14
- *
15
- * The price is read WITH its label ("From €8.90"): a bare amount inside a
16
- * sentence of capacities reads as another measurement.
17
- *
18
- * Pure, and exported so the join can be walked without a render.
19
- */
20
- function vehicleOptionName(option, parts) {
21
- const price = option.priceFrom === undefined || option.priceFrom === '' ? undefined : `${parts.from} ${option.priceFrom}`;
22
- return [option.label, option.capacity, price, parts.reason].filter(part => typeof part === 'string' && part !== '').join(', ');
23
- }
24
- //# sourceMappingURL=shared.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["vehicleOptionName","option","parts","price","priceFrom","undefined","from","label","capacity","reason","filter","part","join"],"sourceRoot":"../../../src","sources":["vehicle-picker/shared.ts"],"mappings":";;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASA,iBAAiBA,CAC/BC,MAAuE,EACvEC,KAAwC,EAChC;EACR,MAAMC,KAAK,GACTF,MAAM,CAACG,SAAS,KAAKC,SAAS,IAAIJ,MAAM,CAACG,SAAS,KAAK,EAAE,GACrDC,SAAS,GACT,GAAGH,KAAK,CAACI,IAAI,IAAIL,MAAM,CAACG,SAAS,EAAE;EACzC,OAAO,CAACH,MAAM,CAACM,KAAK,EAAEN,MAAM,CAACO,QAAQ,EAAEL,KAAK,EAAED,KAAK,CAACO,MAAM,CAAC,CACxDC,MAAM,CAAEC,IAAI,IAAqB,OAAOA,IAAI,KAAK,QAAQ,IAAIA,IAAI,KAAK,EAAE,CAAC,CACzEC,IAAI,CAAC,IAAI,CAAC;AACf","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=types.js.map