@oxy.so/bloom 19.6.0 → 19.7.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 (419) hide show
  1. package/docs/adoption-matrix.mdx +9 -9
  2. package/docs/bottom-bar.mdx +66 -1
  3. package/docs/button.mdx +19 -0
  4. package/docs/chat-composer.mdx +59 -1
  5. package/docs/collapsible.mdx +13 -4
  6. package/docs/composer-loader.mdx +6 -0
  7. package/docs/icons.mdx +22 -0
  8. package/docs/public-parts.mdx +13 -2
  9. package/docs/tab-pager.mdx +10 -0
  10. package/docs/task-catalog.json +1 -1
  11. package/docs/task-catalog.mdx +1 -1
  12. package/lib/commonjs/app-shell/EdgeDock.js +7 -7
  13. package/lib/commonjs/app-shell/EdgeDock.js.map +1 -1
  14. package/lib/commonjs/bottom-bar/BottomBarBase.js +174 -38
  15. package/lib/commonjs/bottom-bar/BottomBarBase.js.map +1 -1
  16. package/lib/commonjs/button/GlyphAttention.js +110 -0
  17. package/lib/commonjs/button/GlyphAttention.js.map +1 -0
  18. package/lib/commonjs/button/GlyphButton.js +18 -7
  19. package/lib/commonjs/button/GlyphButton.js.map +1 -1
  20. package/lib/commonjs/chat-composer/CompactComposer.js +18 -0
  21. package/lib/commonjs/chat-composer/CompactComposer.js.map +1 -0
  22. package/lib/commonjs/chat-composer/CompactComposer.web.js +18 -0
  23. package/lib/commonjs/chat-composer/CompactComposer.web.js.map +1 -0
  24. package/lib/commonjs/chat-composer/compact-text.js +11 -0
  25. package/lib/commonjs/chat-composer/compact-text.js.map +1 -0
  26. package/lib/commonjs/chat-composer/compact-types.js +6 -0
  27. package/lib/commonjs/chat-composer/compact-types.js.map +1 -0
  28. package/lib/commonjs/chat-composer/create-compact-composer.js +185 -0
  29. package/lib/commonjs/chat-composer/create-compact-composer.js.map +1 -0
  30. package/lib/commonjs/chat-composer/index.js +14 -0
  31. package/lib/commonjs/chat-composer/index.js.map +1 -1
  32. package/lib/commonjs/chat-composer/index.web.js +14 -0
  33. package/lib/commonjs/chat-composer/index.web.js.map +1 -1
  34. package/lib/commonjs/chat-composer/messages.js +8 -1
  35. package/lib/commonjs/chat-composer/messages.js.map +1 -1
  36. package/lib/commonjs/collapsible/Collapsible.web.js +2 -3
  37. package/lib/commonjs/collapsible/Collapsible.web.js.map +1 -1
  38. package/lib/commonjs/collapsible/CollapsibleFrame.web.js +59 -20
  39. package/lib/commonjs/collapsible/CollapsibleFrame.web.js.map +1 -1
  40. package/lib/commonjs/icons/index.js +12 -0
  41. package/lib/commonjs/icons/index.js.map +1 -1
  42. package/lib/commonjs/icons/social/BookmarkFillIcon.js +12 -0
  43. package/lib/commonjs/icons/social/BookmarkFillIcon.js.map +1 -0
  44. package/lib/commonjs/icons/social/BookmarkIcon.js +12 -0
  45. package/lib/commonjs/icons/social/BookmarkIcon.js.map +1 -0
  46. package/lib/commonjs/icons/social/GifAttachmentIcon.js +12 -0
  47. package/lib/commonjs/icons/social/GifAttachmentIcon.js.map +1 -0
  48. package/lib/commonjs/icons/social/LikeFillIcon.js +13 -0
  49. package/lib/commonjs/icons/social/LikeFillIcon.js.map +1 -0
  50. package/lib/commonjs/icons/social/LikeIcon.js +14 -0
  51. package/lib/commonjs/icons/social/LikeIcon.js.map +1 -0
  52. package/lib/commonjs/icons/social/MediaAttachmentIcon.js +12 -0
  53. package/lib/commonjs/icons/social/MediaAttachmentIcon.js.map +1 -0
  54. package/lib/commonjs/icons/social/ReplyIcon.js +14 -0
  55. package/lib/commonjs/icons/social/ReplyIcon.js.map +1 -0
  56. package/lib/commonjs/icons/social/RepostIcon.js +12 -0
  57. package/lib/commonjs/icons/social/RepostIcon.js.map +1 -0
  58. package/lib/commonjs/icons/social/ShareIcon.js +12 -0
  59. package/lib/commonjs/icons/social/ShareIcon.js.map +1 -0
  60. package/lib/commonjs/icons/social/index.js +69 -0
  61. package/lib/commonjs/icons/social/index.js.map +1 -0
  62. package/lib/commonjs/index.js +14 -0
  63. package/lib/commonjs/index.js.map +1 -1
  64. package/lib/commonjs/index.web.js +14 -0
  65. package/lib/commonjs/index.web.js.map +1 -1
  66. package/lib/commonjs/layout/bottom-edge.js +14 -0
  67. package/lib/commonjs/layout/bottom-edge.js.map +1 -1
  68. package/lib/commonjs/locale/translations/ar.js +8 -0
  69. package/lib/commonjs/locale/translations/ar.js.map +1 -1
  70. package/lib/commonjs/locale/translations/bn.js +8 -0
  71. package/lib/commonjs/locale/translations/bn.js.map +1 -1
  72. package/lib/commonjs/locale/translations/ca.js +8 -0
  73. package/lib/commonjs/locale/translations/ca.js.map +1 -1
  74. package/lib/commonjs/locale/translations/de.js +8 -0
  75. package/lib/commonjs/locale/translations/de.js.map +1 -1
  76. package/lib/commonjs/locale/translations/es.js +8 -0
  77. package/lib/commonjs/locale/translations/es.js.map +1 -1
  78. package/lib/commonjs/locale/translations/fr.js +8 -0
  79. package/lib/commonjs/locale/translations/fr.js.map +1 -1
  80. package/lib/commonjs/locale/translations/hi.js +8 -0
  81. package/lib/commonjs/locale/translations/hi.js.map +1 -1
  82. package/lib/commonjs/locale/translations/id.js +8 -0
  83. package/lib/commonjs/locale/translations/id.js.map +1 -1
  84. package/lib/commonjs/locale/translations/it.js +8 -0
  85. package/lib/commonjs/locale/translations/it.js.map +1 -1
  86. package/lib/commonjs/locale/translations/ja.js +8 -0
  87. package/lib/commonjs/locale/translations/ja.js.map +1 -1
  88. package/lib/commonjs/locale/translations/pt.js +8 -0
  89. package/lib/commonjs/locale/translations/pt.js.map +1 -1
  90. package/lib/commonjs/locale/translations/ru.js +8 -0
  91. package/lib/commonjs/locale/translations/ru.js.map +1 -1
  92. package/lib/commonjs/locale/translations/tr.js +8 -0
  93. package/lib/commonjs/locale/translations/tr.js.map +1 -1
  94. package/lib/commonjs/locale/translations/zh.js +8 -0
  95. package/lib/commonjs/locale/translations/zh.js.map +1 -1
  96. package/lib/commonjs/styles/web-view-style.js +9 -0
  97. package/lib/commonjs/styles/web-view-style.js.map +1 -1
  98. package/lib/commonjs/tab-bar/TabBarBase.js +126 -20
  99. package/lib/commonjs/tab-bar/TabBarBase.js.map +1 -1
  100. package/lib/commonjs/tab-bar/shared.js +3 -1
  101. package/lib/commonjs/tab-bar/shared.js.map +1 -1
  102. package/lib/commonjs/tab-pager/TabPagerBottomBar.js +12 -2
  103. package/lib/commonjs/tab-pager/TabPagerBottomBar.js.map +1 -1
  104. package/lib/module/app-shell/EdgeDock.js +4 -4
  105. package/lib/module/app-shell/EdgeDock.js.map +1 -1
  106. package/lib/module/bottom-bar/BottomBarBase.js +176 -40
  107. package/lib/module/bottom-bar/BottomBarBase.js.map +1 -1
  108. package/lib/module/button/GlyphAttention.js +104 -0
  109. package/lib/module/button/GlyphAttention.js.map +1 -0
  110. package/lib/module/button/GlyphButton.js +18 -7
  111. package/lib/module/button/GlyphButton.js.map +1 -1
  112. package/lib/module/chat-composer/CompactComposer.js +14 -0
  113. package/lib/module/chat-composer/CompactComposer.js.map +1 -0
  114. package/lib/module/chat-composer/CompactComposer.web.js +14 -0
  115. package/lib/module/chat-composer/CompactComposer.web.js.map +1 -0
  116. package/lib/module/chat-composer/compact-text.js +7 -0
  117. package/lib/module/chat-composer/compact-text.js.map +1 -0
  118. package/lib/module/chat-composer/compact-types.js +4 -0
  119. package/lib/module/chat-composer/compact-types.js.map +1 -0
  120. package/lib/module/chat-composer/create-compact-composer.js +181 -0
  121. package/lib/module/chat-composer/create-compact-composer.js.map +1 -0
  122. package/lib/module/chat-composer/index.js +2 -0
  123. package/lib/module/chat-composer/index.js.map +1 -1
  124. package/lib/module/chat-composer/index.web.js +2 -0
  125. package/lib/module/chat-composer/index.web.js.map +1 -1
  126. package/lib/module/chat-composer/messages.js +7 -0
  127. package/lib/module/chat-composer/messages.js.map +1 -1
  128. package/lib/module/collapsible/Collapsible.web.js +3 -4
  129. package/lib/module/collapsible/Collapsible.web.js.map +1 -1
  130. package/lib/module/collapsible/CollapsibleFrame.web.js +59 -18
  131. package/lib/module/collapsible/CollapsibleFrame.web.js.map +1 -1
  132. package/lib/module/icons/index.js +2 -1
  133. package/lib/module/icons/index.js.map +1 -1
  134. package/lib/module/icons/social/BookmarkFillIcon.js +9 -0
  135. package/lib/module/icons/social/BookmarkFillIcon.js.map +1 -0
  136. package/lib/module/icons/social/BookmarkIcon.js +9 -0
  137. package/lib/module/icons/social/BookmarkIcon.js.map +1 -0
  138. package/lib/module/icons/social/GifAttachmentIcon.js +9 -0
  139. package/lib/module/icons/social/GifAttachmentIcon.js.map +1 -0
  140. package/lib/module/icons/social/LikeFillIcon.js +10 -0
  141. package/lib/module/icons/social/LikeFillIcon.js.map +1 -0
  142. package/lib/module/icons/social/LikeIcon.js +11 -0
  143. package/lib/module/icons/social/LikeIcon.js.map +1 -0
  144. package/lib/module/icons/social/MediaAttachmentIcon.js +9 -0
  145. package/lib/module/icons/social/MediaAttachmentIcon.js.map +1 -0
  146. package/lib/module/icons/social/ReplyIcon.js +11 -0
  147. package/lib/module/icons/social/ReplyIcon.js.map +1 -0
  148. package/lib/module/icons/social/RepostIcon.js +9 -0
  149. package/lib/module/icons/social/RepostIcon.js.map +1 -0
  150. package/lib/module/icons/social/ShareIcon.js +9 -0
  151. package/lib/module/icons/social/ShareIcon.js.map +1 -0
  152. package/lib/module/icons/social/index.js +12 -0
  153. package/lib/module/icons/social/index.js.map +1 -0
  154. package/lib/module/index.js +1 -1
  155. package/lib/module/index.js.map +1 -1
  156. package/lib/module/index.web.js +1 -1
  157. package/lib/module/index.web.js.map +1 -1
  158. package/lib/module/layout/bottom-edge.js +14 -1
  159. package/lib/module/layout/bottom-edge.js.map +1 -1
  160. package/lib/module/locale/translations/ar.js +8 -0
  161. package/lib/module/locale/translations/ar.js.map +1 -1
  162. package/lib/module/locale/translations/bn.js +8 -0
  163. package/lib/module/locale/translations/bn.js.map +1 -1
  164. package/lib/module/locale/translations/ca.js +8 -0
  165. package/lib/module/locale/translations/ca.js.map +1 -1
  166. package/lib/module/locale/translations/de.js +8 -0
  167. package/lib/module/locale/translations/de.js.map +1 -1
  168. package/lib/module/locale/translations/es.js +8 -0
  169. package/lib/module/locale/translations/es.js.map +1 -1
  170. package/lib/module/locale/translations/fr.js +8 -0
  171. package/lib/module/locale/translations/fr.js.map +1 -1
  172. package/lib/module/locale/translations/hi.js +8 -0
  173. package/lib/module/locale/translations/hi.js.map +1 -1
  174. package/lib/module/locale/translations/id.js +8 -0
  175. package/lib/module/locale/translations/id.js.map +1 -1
  176. package/lib/module/locale/translations/it.js +8 -0
  177. package/lib/module/locale/translations/it.js.map +1 -1
  178. package/lib/module/locale/translations/ja.js +8 -0
  179. package/lib/module/locale/translations/ja.js.map +1 -1
  180. package/lib/module/locale/translations/pt.js +8 -0
  181. package/lib/module/locale/translations/pt.js.map +1 -1
  182. package/lib/module/locale/translations/ru.js +8 -0
  183. package/lib/module/locale/translations/ru.js.map +1 -1
  184. package/lib/module/locale/translations/tr.js +8 -0
  185. package/lib/module/locale/translations/tr.js.map +1 -1
  186. package/lib/module/locale/translations/zh.js +8 -0
  187. package/lib/module/locale/translations/zh.js.map +1 -1
  188. package/lib/module/styles/web-view-style.js +8 -0
  189. package/lib/module/styles/web-view-style.js.map +1 -1
  190. package/lib/module/tab-bar/TabBarBase.js +130 -23
  191. package/lib/module/tab-bar/TabBarBase.js.map +1 -1
  192. package/lib/module/tab-bar/shared.js +2 -0
  193. package/lib/module/tab-bar/shared.js.map +1 -1
  194. package/lib/module/tab-pager/TabPagerBottomBar.js +13 -3
  195. package/lib/module/tab-pager/TabPagerBottomBar.js.map +1 -1
  196. package/lib/typescript/commonjs/app-shell/EdgeDock.d.ts +1 -1
  197. package/lib/typescript/commonjs/app-shell/EdgeDock.d.ts.map +1 -1
  198. package/lib/typescript/commonjs/bottom-bar/BottomBarBase.d.ts +1 -1
  199. package/lib/typescript/commonjs/bottom-bar/BottomBarBase.d.ts.map +1 -1
  200. package/lib/typescript/commonjs/bottom-bar/types.d.ts +10 -2
  201. package/lib/typescript/commonjs/bottom-bar/types.d.ts.map +1 -1
  202. package/lib/typescript/commonjs/button/GlyphAttention.d.ts +11 -0
  203. package/lib/typescript/commonjs/button/GlyphAttention.d.ts.map +1 -0
  204. package/lib/typescript/commonjs/button/GlyphButton.d.ts.map +1 -1
  205. package/lib/typescript/commonjs/button/types.d.ts +11 -0
  206. package/lib/typescript/commonjs/button/types.d.ts.map +1 -1
  207. package/lib/typescript/commonjs/chat-composer/CompactComposer.d.ts +2 -0
  208. package/lib/typescript/commonjs/chat-composer/CompactComposer.d.ts.map +1 -0
  209. package/lib/typescript/commonjs/chat-composer/CompactComposer.web.d.ts +2 -0
  210. package/lib/typescript/commonjs/chat-composer/CompactComposer.web.d.ts.map +1 -0
  211. package/lib/typescript/commonjs/chat-composer/compact-text.d.ts +3 -0
  212. package/lib/typescript/commonjs/chat-composer/compact-text.d.ts.map +1 -0
  213. package/lib/typescript/commonjs/chat-composer/compact-types.d.ts +45 -0
  214. package/lib/typescript/commonjs/chat-composer/compact-types.d.ts.map +1 -0
  215. package/lib/typescript/commonjs/chat-composer/create-compact-composer.d.ts +13 -0
  216. package/lib/typescript/commonjs/chat-composer/create-compact-composer.d.ts.map +1 -0
  217. package/lib/typescript/commonjs/chat-composer/index.d.ts +3 -0
  218. package/lib/typescript/commonjs/chat-composer/index.d.ts.map +1 -1
  219. package/lib/typescript/commonjs/chat-composer/index.web.d.ts +3 -0
  220. package/lib/typescript/commonjs/chat-composer/index.web.d.ts.map +1 -1
  221. package/lib/typescript/commonjs/chat-composer/messages.d.ts +8 -0
  222. package/lib/typescript/commonjs/chat-composer/messages.d.ts.map +1 -1
  223. package/lib/typescript/commonjs/collapsible/Collapsible.web.d.ts.map +1 -1
  224. package/lib/typescript/commonjs/collapsible/CollapsibleFrame.web.d.ts +2 -2
  225. package/lib/typescript/commonjs/collapsible/CollapsibleFrame.web.d.ts.map +1 -1
  226. package/lib/typescript/commonjs/icons/index.d.ts +1 -0
  227. package/lib/typescript/commonjs/icons/index.d.ts.map +1 -1
  228. package/lib/typescript/commonjs/icons/social/BookmarkFillIcon.d.ts +8 -0
  229. package/lib/typescript/commonjs/icons/social/BookmarkFillIcon.d.ts.map +1 -0
  230. package/lib/typescript/commonjs/icons/social/BookmarkIcon.d.ts +8 -0
  231. package/lib/typescript/commonjs/icons/social/BookmarkIcon.d.ts.map +1 -0
  232. package/lib/typescript/commonjs/icons/social/GifAttachmentIcon.d.ts +8 -0
  233. package/lib/typescript/commonjs/icons/social/GifAttachmentIcon.d.ts.map +1 -0
  234. package/lib/typescript/commonjs/icons/social/LikeFillIcon.d.ts +8 -0
  235. package/lib/typescript/commonjs/icons/social/LikeFillIcon.d.ts.map +1 -0
  236. package/lib/typescript/commonjs/icons/social/LikeIcon.d.ts +8 -0
  237. package/lib/typescript/commonjs/icons/social/LikeIcon.d.ts.map +1 -0
  238. package/lib/typescript/commonjs/icons/social/MediaAttachmentIcon.d.ts +8 -0
  239. package/lib/typescript/commonjs/icons/social/MediaAttachmentIcon.d.ts.map +1 -0
  240. package/lib/typescript/commonjs/icons/social/ReplyIcon.d.ts +8 -0
  241. package/lib/typescript/commonjs/icons/social/ReplyIcon.d.ts.map +1 -0
  242. package/lib/typescript/commonjs/icons/social/RepostIcon.d.ts +8 -0
  243. package/lib/typescript/commonjs/icons/social/RepostIcon.d.ts.map +1 -0
  244. package/lib/typescript/commonjs/icons/social/ShareIcon.d.ts +8 -0
  245. package/lib/typescript/commonjs/icons/social/ShareIcon.d.ts.map +1 -0
  246. package/lib/typescript/commonjs/icons/social/index.d.ts +10 -0
  247. package/lib/typescript/commonjs/icons/social/index.d.ts.map +1 -0
  248. package/lib/typescript/commonjs/index.d.ts +2 -2
  249. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  250. package/lib/typescript/commonjs/index.web.d.ts +2 -2
  251. package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
  252. package/lib/typescript/commonjs/layout/bottom-edge.d.ts +2 -0
  253. package/lib/typescript/commonjs/layout/bottom-edge.d.ts.map +1 -1
  254. package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
  255. package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
  256. package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
  257. package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
  258. package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
  259. package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
  260. package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
  262. package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
  263. package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
  264. package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
  265. package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
  266. package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
  267. package/lib/typescript/commonjs/locale/translations/types.d.ts +2 -1
  268. package/lib/typescript/commonjs/locale/translations/types.d.ts.map +1 -1
  269. package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
  270. package/lib/typescript/commonjs/styles/web-view-style.d.ts +3 -0
  271. package/lib/typescript/commonjs/styles/web-view-style.d.ts.map +1 -1
  272. package/lib/typescript/commonjs/tab-bar/TabBarBase.d.ts.map +1 -1
  273. package/lib/typescript/commonjs/tab-bar/shared.d.ts +2 -0
  274. package/lib/typescript/commonjs/tab-bar/shared.d.ts.map +1 -1
  275. package/lib/typescript/commonjs/tab-bar/types.d.ts +2 -0
  276. package/lib/typescript/commonjs/tab-bar/types.d.ts.map +1 -1
  277. package/lib/typescript/commonjs/tab-pager/TabPagerBottomBar.d.ts +1 -1
  278. package/lib/typescript/commonjs/tab-pager/TabPagerBottomBar.d.ts.map +1 -1
  279. package/lib/typescript/commonjs/tab-pager/types.d.ts +4 -1
  280. package/lib/typescript/commonjs/tab-pager/types.d.ts.map +1 -1
  281. package/lib/typescript/module/app-shell/EdgeDock.d.ts +1 -1
  282. package/lib/typescript/module/app-shell/EdgeDock.d.ts.map +1 -1
  283. package/lib/typescript/module/bottom-bar/BottomBarBase.d.ts +1 -1
  284. package/lib/typescript/module/bottom-bar/BottomBarBase.d.ts.map +1 -1
  285. package/lib/typescript/module/bottom-bar/types.d.ts +10 -2
  286. package/lib/typescript/module/bottom-bar/types.d.ts.map +1 -1
  287. package/lib/typescript/module/button/GlyphAttention.d.ts +11 -0
  288. package/lib/typescript/module/button/GlyphAttention.d.ts.map +1 -0
  289. package/lib/typescript/module/button/GlyphButton.d.ts.map +1 -1
  290. package/lib/typescript/module/button/types.d.ts +11 -0
  291. package/lib/typescript/module/button/types.d.ts.map +1 -1
  292. package/lib/typescript/module/chat-composer/CompactComposer.d.ts +2 -0
  293. package/lib/typescript/module/chat-composer/CompactComposer.d.ts.map +1 -0
  294. package/lib/typescript/module/chat-composer/CompactComposer.web.d.ts +2 -0
  295. package/lib/typescript/module/chat-composer/CompactComposer.web.d.ts.map +1 -0
  296. package/lib/typescript/module/chat-composer/compact-text.d.ts +3 -0
  297. package/lib/typescript/module/chat-composer/compact-text.d.ts.map +1 -0
  298. package/lib/typescript/module/chat-composer/compact-types.d.ts +45 -0
  299. package/lib/typescript/module/chat-composer/compact-types.d.ts.map +1 -0
  300. package/lib/typescript/module/chat-composer/create-compact-composer.d.ts +13 -0
  301. package/lib/typescript/module/chat-composer/create-compact-composer.d.ts.map +1 -0
  302. package/lib/typescript/module/chat-composer/index.d.ts +3 -0
  303. package/lib/typescript/module/chat-composer/index.d.ts.map +1 -1
  304. package/lib/typescript/module/chat-composer/index.web.d.ts +3 -0
  305. package/lib/typescript/module/chat-composer/index.web.d.ts.map +1 -1
  306. package/lib/typescript/module/chat-composer/messages.d.ts +8 -0
  307. package/lib/typescript/module/chat-composer/messages.d.ts.map +1 -1
  308. package/lib/typescript/module/collapsible/Collapsible.web.d.ts.map +1 -1
  309. package/lib/typescript/module/collapsible/CollapsibleFrame.web.d.ts +2 -2
  310. package/lib/typescript/module/collapsible/CollapsibleFrame.web.d.ts.map +1 -1
  311. package/lib/typescript/module/icons/index.d.ts +1 -0
  312. package/lib/typescript/module/icons/index.d.ts.map +1 -1
  313. package/lib/typescript/module/icons/social/BookmarkFillIcon.d.ts +8 -0
  314. package/lib/typescript/module/icons/social/BookmarkFillIcon.d.ts.map +1 -0
  315. package/lib/typescript/module/icons/social/BookmarkIcon.d.ts +8 -0
  316. package/lib/typescript/module/icons/social/BookmarkIcon.d.ts.map +1 -0
  317. package/lib/typescript/module/icons/social/GifAttachmentIcon.d.ts +8 -0
  318. package/lib/typescript/module/icons/social/GifAttachmentIcon.d.ts.map +1 -0
  319. package/lib/typescript/module/icons/social/LikeFillIcon.d.ts +8 -0
  320. package/lib/typescript/module/icons/social/LikeFillIcon.d.ts.map +1 -0
  321. package/lib/typescript/module/icons/social/LikeIcon.d.ts +8 -0
  322. package/lib/typescript/module/icons/social/LikeIcon.d.ts.map +1 -0
  323. package/lib/typescript/module/icons/social/MediaAttachmentIcon.d.ts +8 -0
  324. package/lib/typescript/module/icons/social/MediaAttachmentIcon.d.ts.map +1 -0
  325. package/lib/typescript/module/icons/social/ReplyIcon.d.ts +8 -0
  326. package/lib/typescript/module/icons/social/ReplyIcon.d.ts.map +1 -0
  327. package/lib/typescript/module/icons/social/RepostIcon.d.ts +8 -0
  328. package/lib/typescript/module/icons/social/RepostIcon.d.ts.map +1 -0
  329. package/lib/typescript/module/icons/social/ShareIcon.d.ts +8 -0
  330. package/lib/typescript/module/icons/social/ShareIcon.d.ts.map +1 -0
  331. package/lib/typescript/module/icons/social/index.d.ts +10 -0
  332. package/lib/typescript/module/icons/social/index.d.ts.map +1 -0
  333. package/lib/typescript/module/index.d.ts +2 -2
  334. package/lib/typescript/module/index.d.ts.map +1 -1
  335. package/lib/typescript/module/index.web.d.ts +2 -2
  336. package/lib/typescript/module/index.web.d.ts.map +1 -1
  337. package/lib/typescript/module/layout/bottom-edge.d.ts +2 -0
  338. package/lib/typescript/module/layout/bottom-edge.d.ts.map +1 -1
  339. package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
  340. package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
  341. package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
  342. package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
  343. package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
  344. package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
  345. package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
  346. package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
  347. package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
  348. package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
  349. package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
  350. package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
  351. package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
  352. package/lib/typescript/module/locale/translations/types.d.ts +2 -1
  353. package/lib/typescript/module/locale/translations/types.d.ts.map +1 -1
  354. package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
  355. package/lib/typescript/module/styles/web-view-style.d.ts +3 -0
  356. package/lib/typescript/module/styles/web-view-style.d.ts.map +1 -1
  357. package/lib/typescript/module/tab-bar/TabBarBase.d.ts.map +1 -1
  358. package/lib/typescript/module/tab-bar/shared.d.ts +2 -0
  359. package/lib/typescript/module/tab-bar/shared.d.ts.map +1 -1
  360. package/lib/typescript/module/tab-bar/types.d.ts +2 -0
  361. package/lib/typescript/module/tab-bar/types.d.ts.map +1 -1
  362. package/lib/typescript/module/tab-pager/TabPagerBottomBar.d.ts +1 -1
  363. package/lib/typescript/module/tab-pager/TabPagerBottomBar.d.ts.map +1 -1
  364. package/lib/typescript/module/tab-pager/types.d.ts +4 -1
  365. package/lib/typescript/module/tab-pager/types.d.ts.map +1 -1
  366. package/package.json +154 -1
  367. package/src/__tests__/support/public-part-classifications.json +22 -1
  368. package/src/__tests__/support/yoga-host-tree.ts +12 -2
  369. package/src/app-shell/EdgeDock.tsx +4 -5
  370. package/src/bottom-bar/BottomBarBase.tsx +280 -46
  371. package/src/bottom-bar/types.ts +10 -2
  372. package/src/button/GlyphAttention.tsx +100 -0
  373. package/src/button/GlyphButton.tsx +21 -6
  374. package/src/button/types.ts +11 -0
  375. package/src/chat-composer/CompactComposer.tsx +7 -0
  376. package/src/chat-composer/CompactComposer.web.tsx +7 -0
  377. package/src/chat-composer/compact-text.ts +4 -0
  378. package/src/chat-composer/compact-types.ts +47 -0
  379. package/src/chat-composer/create-compact-composer.tsx +213 -0
  380. package/src/chat-composer/index.ts +8 -0
  381. package/src/chat-composer/index.web.ts +8 -0
  382. package/src/chat-composer/messages.ts +16 -0
  383. package/src/collapsible/Collapsible.web.tsx +2 -7
  384. package/src/collapsible/CollapsibleFrame.web.tsx +73 -20
  385. package/src/icons/index.ts +2 -1
  386. package/src/icons/social/BookmarkFillIcon.tsx +6 -0
  387. package/src/icons/social/BookmarkIcon.tsx +6 -0
  388. package/src/icons/social/GifAttachmentIcon.tsx +6 -0
  389. package/src/icons/social/LikeFillIcon.tsx +7 -0
  390. package/src/icons/social/LikeIcon.tsx +8 -0
  391. package/src/icons/social/MediaAttachmentIcon.tsx +6 -0
  392. package/src/icons/social/ReplyIcon.tsx +8 -0
  393. package/src/icons/social/RepostIcon.tsx +6 -0
  394. package/src/icons/social/ShareIcon.tsx +6 -0
  395. package/src/icons/social/index.ts +9 -0
  396. package/src/index.ts +5 -0
  397. package/src/index.web.ts +5 -0
  398. package/src/layout/bottom-edge.tsx +17 -0
  399. package/src/locale/translations/ar.ts +9 -0
  400. package/src/locale/translations/bn.ts +9 -0
  401. package/src/locale/translations/ca.ts +10 -0
  402. package/src/locale/translations/de.ts +10 -0
  403. package/src/locale/translations/es.ts +10 -0
  404. package/src/locale/translations/fr.ts +10 -0
  405. package/src/locale/translations/hi.ts +9 -0
  406. package/src/locale/translations/id.ts +10 -0
  407. package/src/locale/translations/it.ts +10 -0
  408. package/src/locale/translations/ja.ts +10 -0
  409. package/src/locale/translations/pt.ts +10 -0
  410. package/src/locale/translations/ru.ts +10 -0
  411. package/src/locale/translations/tr.ts +10 -0
  412. package/src/locale/translations/types.ts +5 -1
  413. package/src/locale/translations/zh.ts +9 -0
  414. package/src/styles/web-view-style.ts +7 -0
  415. package/src/tab-bar/TabBarBase.tsx +193 -27
  416. package/src/tab-bar/shared.ts +2 -0
  417. package/src/tab-bar/types.ts +2 -0
  418. package/src/tab-pager/TabPagerBottomBar.tsx +23 -3
  419. package/src/tab-pager/types.ts +4 -1
package/src/index.web.ts CHANGED
@@ -668,6 +668,8 @@ export {
668
668
  AttachmentMenu,
669
669
  ATTACHMENT_MENU_ITEMS,
670
670
  ChatComposer,
671
+ CompactComposer,
672
+ acceptsComposerText,
671
673
  ComposerAttachmentStrip,
672
674
  ComposerBanner,
673
675
  ComposerIconButton,
@@ -692,6 +694,9 @@ export type {
692
694
  ChatComposerIcon,
693
695
  ChatComposerLabels,
694
696
  ChatComposerProps,
697
+ CompactComposerProps,
698
+ CompactComposerLabels,
699
+ CompactComposerAction,
695
700
  ChatComposerSendOn,
696
701
  ChatComposerSuggestion,
697
702
  ComposerAttachmentStripProps,
@@ -59,6 +59,7 @@
59
59
  */
60
60
  import {
61
61
  createContext,
62
+ useCallback,
62
63
  useContext,
63
64
  useId,
64
65
  useMemo,
@@ -178,3 +179,19 @@ export function useClaimBottomEdge(height: number): void {
178
179
  return () => store.release(id);
179
180
  }, [store, id, height]);
180
181
  }
182
+
183
+ /** Publish a naturally laid-out host without using its height to lay it out again. */
184
+ export function useMeasuredBottomEdgeClaim(active: boolean): (height: number) => void {
185
+ const store = useContext(BottomEdgeContext);
186
+ const id = useId();
187
+ useIsomorphicLayoutEffect(() => {
188
+ if (!active) store?.release(id);
189
+ return () => store?.release(id);
190
+ }, [active, store, id]);
191
+ return useCallback(
192
+ (height: number) => {
193
+ if (active && Number.isFinite(height)) store?.claim(id, Math.max(0, height));
194
+ },
195
+ [active, store, id],
196
+ );
197
+ }
@@ -303,6 +303,14 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
303
303
  selectCountry: 'اختر دولة',
304
304
  };
305
305
 
306
+ const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
307
+ input: 'اكتب رسالة',
308
+ expand: 'فتح المحرر الكامل',
309
+ characterCount: 'الأحرف',
310
+ characterCountValue: (count, max) => `${count} من ${max} حرفًا`,
311
+ limitHint: (max) => `تسمح الرسائل المختصرة بـ ${max} حرفًا. وسّع المحرر لكتابة المزيد.`,
312
+ };
313
+
306
314
  const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
307
315
  attach: 'إرفاق',
308
316
  emoji: 'رموز تعبيرية',
@@ -3466,6 +3474,7 @@ const translations: Translations = {
3466
3474
  SIDEBAR_MESSAGES,
3467
3475
  FILE_SIZE_UNITS,
3468
3476
  CARD_FORM_MESSAGES,
3477
+ COMPACT_COMPOSER_MESSAGES,
3469
3478
  CHAT_COMPOSER_MESSAGES,
3470
3479
  MAIL_COMPOSE_MESSAGES,
3471
3480
  MEDIA_PLAYER_MESSAGES,
@@ -287,6 +287,14 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
287
287
  selectCountry: 'একটি দেশ বেছে নিন',
288
288
  };
289
289
 
290
+ const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
291
+ input: 'একটি বার্তা লিখুন',
292
+ expand: 'সম্পূর্ণ সম্পাদক খুলুন',
293
+ characterCount: 'অক্ষর',
294
+ characterCountValue: (count, max) => `${max}টির মধ্যে ${count}টি অক্ষর`,
295
+ limitHint: (max) => `সংক্ষিপ্ত বার্তায় ${max}টি অক্ষর লেখা যায়। আরও লিখতে সম্পাদক প্রসারিত করুন।`,
296
+ };
297
+
290
298
  const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
291
299
  attach: 'সংযুক্ত করুন',
292
300
  emoji: 'ইমোজি',
@@ -2987,6 +2995,7 @@ const translations: Translations = {
2987
2995
  SIDEBAR_MESSAGES,
2988
2996
  FILE_SIZE_UNITS,
2989
2997
  CARD_FORM_MESSAGES,
2998
+ COMPACT_COMPOSER_MESSAGES,
2990
2999
  CHAT_COMPOSER_MESSAGES,
2991
3000
  MAIL_COMPOSE_MESSAGES,
2992
3001
  MEDIA_PLAYER_MESSAGES,
@@ -291,6 +291,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
291
291
  selectCountry: 'Selecciona un país',
292
292
  };
293
293
 
294
+ const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
295
+ input: 'Escriu un missatge',
296
+ expand: 'Obre l’editor complet',
297
+ characterCount: 'Caràcters',
298
+ characterCountValue: (count, max) => `${count} de ${max} caràcters`,
299
+ limitHint: (max) =>
300
+ `Els missatges compactes permeten ${max} caràcters. Amplia l’editor per escriure més.`,
301
+ };
302
+
294
303
  const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
295
304
  attach: 'Adjunta',
296
305
  emoji: 'Emoji',
@@ -3083,6 +3092,7 @@ const translations: Translations = {
3083
3092
  SIDEBAR_MESSAGES,
3084
3093
  FILE_SIZE_UNITS,
3085
3094
  CARD_FORM_MESSAGES,
3095
+ COMPACT_COMPOSER_MESSAGES,
3086
3096
  CHAT_COMPOSER_MESSAGES,
3087
3097
  MAIL_COMPOSE_MESSAGES,
3088
3098
  MEDIA_PLAYER_MESSAGES,
@@ -292,6 +292,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
292
292
  selectCountry: 'Land auswählen',
293
293
  };
294
294
 
295
+ const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
296
+ input: 'Nachricht schreiben',
297
+ expand: 'Vollständigen Editor öffnen',
298
+ characterCount: 'Zeichen',
299
+ characterCountValue: (count, max) => `${count} von ${max} Zeichen`,
300
+ limitHint: (max) =>
301
+ `Kompakte Nachrichten erlauben ${max} Zeichen. Erweitere den Editor, um mehr zu schreiben.`,
302
+ };
303
+
295
304
  const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
296
305
  attach: 'Anhängen',
297
306
  emoji: 'Emoji',
@@ -3117,6 +3126,7 @@ const translations: Translations = {
3117
3126
  SIDEBAR_MESSAGES,
3118
3127
  FILE_SIZE_UNITS,
3119
3128
  CARD_FORM_MESSAGES,
3129
+ COMPACT_COMPOSER_MESSAGES,
3120
3130
  CHAT_COMPOSER_MESSAGES,
3121
3131
  MAIL_COMPOSE_MESSAGES,
3122
3132
  MEDIA_PLAYER_MESSAGES,
@@ -296,6 +296,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
296
296
  selectCountry: 'Selecciona un país',
297
297
  };
298
298
 
299
+ const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
300
+ input: 'Escribe un mensaje',
301
+ expand: 'Abrir el editor completo',
302
+ characterCount: 'Caracteres',
303
+ characterCountValue: (count, max) => `${count} de ${max} caracteres`,
304
+ limitHint: (max) =>
305
+ `Los mensajes compactos permiten ${max} caracteres. Amplía el editor para escribir más.`,
306
+ };
307
+
299
308
  const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
300
309
  attach: 'Adjuntar',
301
310
  emoji: 'Emoji',
@@ -3111,6 +3120,7 @@ const translations: Translations = {
3111
3120
  SIDEBAR_MESSAGES,
3112
3121
  FILE_SIZE_UNITS,
3113
3122
  CARD_FORM_MESSAGES,
3123
+ COMPACT_COMPOSER_MESSAGES,
3114
3124
  CHAT_COMPOSER_MESSAGES,
3115
3125
  MAIL_COMPOSE_MESSAGES,
3116
3126
  MEDIA_PLAYER_MESSAGES,
@@ -301,6 +301,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
301
301
  selectCountry: 'Choisissez un pays',
302
302
  };
303
303
 
304
+ const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
305
+ input: 'Écrire un message',
306
+ expand: 'Ouvrir l’éditeur complet',
307
+ characterCount: 'Caractères',
308
+ characterCountValue: (count, max) => `${count} caractères sur ${max}`,
309
+ limitHint: (max) =>
310
+ `Les messages compacts autorisent ${max} caractères. Agrandissez l’éditeur pour écrire davantage.`,
311
+ };
312
+
304
313
  const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
305
314
  attach: 'Joindre',
306
315
  emoji: 'Émoji',
@@ -3125,6 +3134,7 @@ const translations: Translations = {
3125
3134
  SIDEBAR_MESSAGES,
3126
3135
  FILE_SIZE_UNITS,
3127
3136
  CARD_FORM_MESSAGES,
3137
+ COMPACT_COMPOSER_MESSAGES,
3128
3138
  CHAT_COMPOSER_MESSAGES,
3129
3139
  MAIL_COMPOSE_MESSAGES,
3130
3140
  MEDIA_PLAYER_MESSAGES,
@@ -284,6 +284,14 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
284
284
  selectCountry: 'देश चुनें',
285
285
  };
286
286
 
287
+ const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
288
+ input: 'संदेश लिखें',
289
+ expand: 'पूरा संपादक खोलें',
290
+ characterCount: 'अक्षर',
291
+ characterCountValue: (count, max) => `${max} में से ${count} अक्षर`,
292
+ limitHint: (max) => `संक्षिप्त संदेशों में ${max} अक्षर हो सकते हैं। अधिक लिखने के लिए संपादक विस्तृत करें।`,
293
+ };
294
+
287
295
  const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
288
296
  attach: 'अटैच करें',
289
297
  emoji: 'इमोजी',
@@ -3006,6 +3014,7 @@ const translations: Translations = {
3006
3014
  SIDEBAR_MESSAGES,
3007
3015
  FILE_SIZE_UNITS,
3008
3016
  CARD_FORM_MESSAGES,
3017
+ COMPACT_COMPOSER_MESSAGES,
3009
3018
  CHAT_COMPOSER_MESSAGES,
3010
3019
  MAIL_COMPOSE_MESSAGES,
3011
3020
  MEDIA_PLAYER_MESSAGES,
@@ -288,6 +288,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
288
288
  selectCountry: 'Pilih negara',
289
289
  };
290
290
 
291
+ const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
292
+ input: 'Tulis pesan',
293
+ expand: 'Buka editor lengkap',
294
+ characterCount: 'Karakter',
295
+ characterCountValue: (count, max) => `${count} dari ${max} karakter`,
296
+ limitHint: (max) =>
297
+ `Pesan ringkas dibatasi ${max} karakter. Perluas editor untuk menulis lebih banyak.`,
298
+ };
299
+
291
300
  const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
292
301
  attach: 'Lampirkan',
293
302
  emoji: 'Emoji',
@@ -3069,6 +3078,7 @@ const translations: Translations = {
3069
3078
  SIDEBAR_MESSAGES,
3070
3079
  FILE_SIZE_UNITS,
3071
3080
  CARD_FORM_MESSAGES,
3081
+ COMPACT_COMPOSER_MESSAGES,
3072
3082
  CHAT_COMPOSER_MESSAGES,
3073
3083
  MAIL_COMPOSE_MESSAGES,
3074
3084
  MEDIA_PLAYER_MESSAGES,
@@ -292,6 +292,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
292
292
  selectCountry: 'Seleziona un paese',
293
293
  };
294
294
 
295
+ const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
296
+ input: 'Scrivi un messaggio',
297
+ expand: 'Apri l’editor completo',
298
+ characterCount: 'Caratteri',
299
+ characterCountValue: (count, max) => `${count} di ${max} caratteri`,
300
+ limitHint: (max) =>
301
+ `I messaggi compatti consentono ${max} caratteri. Espandi l’editor per scrivere di più.`,
302
+ };
303
+
295
304
  const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
296
305
  attach: 'Allega',
297
306
  emoji: 'Emoji',
@@ -3110,6 +3119,7 @@ const translations: Translations = {
3110
3119
  SIDEBAR_MESSAGES,
3111
3120
  FILE_SIZE_UNITS,
3112
3121
  CARD_FORM_MESSAGES,
3122
+ COMPACT_COMPOSER_MESSAGES,
3113
3123
  CHAT_COMPOSER_MESSAGES,
3114
3124
  MAIL_COMPOSE_MESSAGES,
3115
3125
  MEDIA_PLAYER_MESSAGES,
@@ -284,6 +284,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
284
284
  selectCountry: '国を選択',
285
285
  };
286
286
 
287
+ const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
288
+ input: 'メッセージを書く',
289
+ expand: '完全なエディターを開く',
290
+ characterCount: '文字数',
291
+ characterCountValue: (count, max) => `${max}文字中${count}文字`,
292
+ limitHint: (max) =>
293
+ `コンパクトなメッセージは${max}文字までです。さらに書くにはエディターを展開してください。`,
294
+ };
295
+
287
296
  const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
288
297
  attach: '添付',
289
298
  emoji: '絵文字',
@@ -3020,6 +3029,7 @@ const translations: Translations = {
3020
3029
  SIDEBAR_MESSAGES,
3021
3030
  FILE_SIZE_UNITS,
3022
3031
  CARD_FORM_MESSAGES,
3032
+ COMPACT_COMPOSER_MESSAGES,
3023
3033
  CHAT_COMPOSER_MESSAGES,
3024
3034
  MAIL_COMPOSE_MESSAGES,
3025
3035
  MEDIA_PLAYER_MESSAGES,
@@ -298,6 +298,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
298
298
  selectCountry: 'Selecione um país',
299
299
  };
300
300
 
301
+ const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
302
+ input: 'Escreva uma mensagem',
303
+ expand: 'Abrir o editor completo',
304
+ characterCount: 'Caracteres',
305
+ characterCountValue: (count, max) => `${count} de ${max} caracteres`,
306
+ limitHint: (max) =>
307
+ `As mensagens compactas permitem ${max} caracteres. Expanda o editor para escrever mais.`,
308
+ };
309
+
301
310
  const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
302
311
  attach: 'Anexar',
303
312
  emoji: 'Emoji',
@@ -3129,6 +3138,7 @@ const translations: Translations = {
3129
3138
  SIDEBAR_MESSAGES,
3130
3139
  FILE_SIZE_UNITS,
3131
3140
  CARD_FORM_MESSAGES,
3141
+ COMPACT_COMPOSER_MESSAGES,
3132
3142
  CHAT_COMPOSER_MESSAGES,
3133
3143
  MAIL_COMPOSE_MESSAGES,
3134
3144
  MEDIA_PLAYER_MESSAGES,
@@ -304,6 +304,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
304
304
  selectCountry: 'Выберите страну',
305
305
  };
306
306
 
307
+ const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
308
+ input: 'Напишите сообщение',
309
+ expand: 'Открыть полный редактор',
310
+ characterCount: 'Символы',
311
+ characterCountValue: (count, max) => `${count} из ${max} символов`,
312
+ limitHint: (max) =>
313
+ `Компактные сообщения ограничены ${max} символами. Разверните редактор, чтобы написать больше.`,
314
+ };
315
+
307
316
  const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
308
317
  attach: 'Прикрепить',
309
318
  emoji: 'Эмодзи',
@@ -3410,6 +3419,7 @@ const translations: Translations = {
3410
3419
  SIDEBAR_MESSAGES,
3411
3420
  FILE_SIZE_UNITS,
3412
3421
  CARD_FORM_MESSAGES,
3422
+ COMPACT_COMPOSER_MESSAGES,
3413
3423
  CHAT_COMPOSER_MESSAGES,
3414
3424
  MAIL_COMPOSE_MESSAGES,
3415
3425
  MEDIA_PLAYER_MESSAGES,
@@ -288,6 +288,15 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
288
288
  selectCountry: 'Ülke seçin',
289
289
  };
290
290
 
291
+ const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
292
+ input: 'Mesaj yazın',
293
+ expand: 'Tam düzenleyiciyi aç',
294
+ characterCount: 'Karakterler',
295
+ characterCountValue: (count, max) => `${max} karakterden ${count}`,
296
+ limitHint: (max) =>
297
+ `Kısa mesajlar ${max} karakterle sınırlıdır. Daha fazla yazmak için düzenleyiciyi genişletin.`,
298
+ };
299
+
291
300
  const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
292
301
  attach: 'Ekle',
293
302
  emoji: 'Emoji',
@@ -3040,6 +3049,7 @@ const translations: Translations = {
3040
3049
  SIDEBAR_MESSAGES,
3041
3050
  FILE_SIZE_UNITS,
3042
3051
  CARD_FORM_MESSAGES,
3052
+ COMPACT_COMPOSER_MESSAGES,
3043
3053
  CHAT_COMPOSER_MESSAGES,
3044
3054
  MAIL_COMPOSE_MESSAGES,
3045
3055
  MEDIA_PLAYER_MESSAGES,
@@ -20,7 +20,10 @@ import type { SIDEBAR_MESSAGES } from '../../sidebar/messages';
20
20
  import type { FILE_SIZE_UNITS } from '../format-number';
21
21
  import type { COMMON_MESSAGES } from '../common-messages';
22
22
  import type { CARD_FORM_MESSAGES } from '../../card-form/messages';
23
- import type { CHAT_COMPOSER_MESSAGES } from '../../chat-composer/messages';
23
+ import type {
24
+ COMPACT_COMPOSER_MESSAGES,
25
+ CHAT_COMPOSER_MESSAGES,
26
+ } from '../../chat-composer/messages';
24
27
  import type { MAIL_COMPOSE_MESSAGES } from '../../mail-compose/messages';
25
28
  import type { MEDIA_PLAYER_MESSAGES } from '../../media-player/messages';
26
29
  import type { ADDRESS_MESSAGES } from '../../address/messages';
@@ -170,6 +173,7 @@ export interface Translations {
170
173
  readonly FILE_SIZE_UNITS: CatalogMessages<typeof FILE_SIZE_UNITS>;
171
174
  readonly COMMON_MESSAGES: CatalogMessages<typeof COMMON_MESSAGES>;
172
175
  readonly CARD_FORM_MESSAGES: CatalogMessages<typeof CARD_FORM_MESSAGES>;
176
+ readonly COMPACT_COMPOSER_MESSAGES: CatalogMessages<typeof COMPACT_COMPOSER_MESSAGES>;
173
177
  readonly CHAT_COMPOSER_MESSAGES: CatalogMessages<typeof CHAT_COMPOSER_MESSAGES>;
174
178
  readonly MAIL_COMPOSE_MESSAGES: CatalogMessages<typeof MAIL_COMPOSE_MESSAGES>;
175
179
  readonly MEDIA_PLAYER_MESSAGES: CatalogMessages<typeof MEDIA_PLAYER_MESSAGES>;
@@ -284,6 +284,14 @@ const CARD_FORM_MESSAGES: Translations['CARD_FORM_MESSAGES'] = {
284
284
  selectCountry: '选择国家/地区',
285
285
  };
286
286
 
287
+ const COMPACT_COMPOSER_MESSAGES: Translations['COMPACT_COMPOSER_MESSAGES'] = {
288
+ input: '撰写消息',
289
+ expand: '打开完整编辑器',
290
+ characterCount: '字符数',
291
+ characterCountValue: (count, max) => `${count}/${max} 个字符`,
292
+ limitHint: (max) => `简洁消息最多允许 ${max} 个字符。展开编辑器以输入更多内容。`,
293
+ };
294
+
287
295
  const CHAT_COMPOSER_MESSAGES: Translations['CHAT_COMPOSER_MESSAGES'] = {
288
296
  attach: '添加附件',
289
297
  emoji: '表情',
@@ -2946,6 +2954,7 @@ const translations: Translations = {
2946
2954
  SIDEBAR_MESSAGES,
2947
2955
  FILE_SIZE_UNITS,
2948
2956
  CARD_FORM_MESSAGES,
2957
+ COMPACT_COMPOSER_MESSAGES,
2949
2958
  CHAT_COMPOSER_MESSAGES,
2950
2959
  MAIL_COMPOSE_MESSAGES,
2951
2960
  MEDIA_PLAYER_MESSAGES,
@@ -128,3 +128,10 @@ export interface WebCssStyle extends ViewStyle {
128
128
  export function webSurfaceStickyTopPlus(px: number): ViewStyle['top'] {
129
129
  return `calc(var(--bloom-panel-sticky-top, 0px) + ${px}px)` as ViewStyle['top'];
130
130
  }
131
+
132
+ /** A web-only CSS length, shared by dock geometry owners. Native uses numeric values.
133
+ * Relocated from EdgeDock: this is the same single value-level type crossing. */
134
+ export function cssLength(css: string): ViewStyle['width'] {
135
+ 'worklet';
136
+ return css as ViewStyle['width'];
137
+ }