@botiverse/raft-ui 0.51.0 → 0.52.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 (585) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/components/activity-inbox/activity-inbox-shell.d.mts +12 -0
  3. package/dist/components/activity-inbox/activity-inbox-shell.mjs +39 -0
  4. package/dist/components/activity-inbox/activity-inbox-shell.recipe.mjs +14 -0
  5. package/dist/components/activity-inbox/activity-inbox-sidebar.d.mts +6 -0
  6. package/dist/components/activity-inbox/activity-inbox-sidebar.mjs +22 -0
  7. package/dist/components/activity-inbox/activity-inbox-sidebar.recipe.mjs +22 -0
  8. package/dist/components/activity-inbox/activity-inbox-toolbar.d.mts +9 -0
  9. package/dist/components/activity-inbox/activity-inbox-toolbar.mjs +29 -0
  10. package/dist/components/activity-inbox/activity-inbox-toolbar.recipe.mjs +14 -0
  11. package/dist/components/activity-inbox/index.d.mts +4 -0
  12. package/dist/components/alert-dialog/alert-dialog.d.mts +41 -0
  13. package/dist/components/alert-dialog/alert-dialog.mjs +163 -0
  14. package/dist/components/alert-dialog/index.d.mts +2 -0
  15. package/dist/components/announcement-dialog/announcement-dialog.d.mts +18 -0
  16. package/dist/components/announcement-dialog/announcement-dialog.mjs +121 -0
  17. package/dist/components/announcement-dialog/index.d.mts +3 -0
  18. package/dist/components/app-rail/app-rail.d.mts +31 -0
  19. package/dist/components/app-rail/app-rail.mjs +126 -0
  20. package/dist/components/app-rail/app-rail.recipe.mjs +47 -0
  21. package/dist/components/app-rail/index.d.mts +2 -0
  22. package/dist/components/app-shell/app-shell.d.mts +27 -0
  23. package/dist/components/app-shell/app-shell.mjs +217 -0
  24. package/dist/components/app-shell/index.d.mts +2 -0
  25. package/dist/components/avatar/avatar.d.mts +169 -0
  26. package/dist/components/avatar/avatar.mjs +298 -0
  27. package/dist/components/avatar/index.d.mts +2 -0
  28. package/dist/components/badge/badge.d.mts +89 -0
  29. package/dist/components/badge/badge.mjs +203 -0
  30. package/dist/components/badge/index.d.mts +2 -0
  31. package/dist/components/banner/banner.d.mts +141 -0
  32. package/dist/components/banner/banner.mjs +228 -0
  33. package/dist/components/banner/index.d.mts +2 -0
  34. package/dist/components/button/button.d.mts +257 -0
  35. package/dist/components/button/button.mjs +177 -0
  36. package/dist/components/button/index.d.mts +2 -0
  37. package/dist/components/card/card.d.mts +21 -0
  38. package/dist/components/card/card.mjs +114 -0
  39. package/dist/components/card/card.recipe.d.mts +105 -0
  40. package/dist/components/card/card.recipe.mjs +67 -0
  41. package/dist/components/card/index.d.mts +2 -0
  42. package/dist/components/checkbox/checkbox-indicator.d.mts +92 -0
  43. package/dist/components/checkbox/checkbox-indicator.mjs +61 -0
  44. package/dist/components/checkbox/checkbox.d.mts +9 -0
  45. package/dist/components/checkbox/checkbox.mjs +40 -0
  46. package/dist/components/checkbox/index.d.mts +3 -0
  47. package/dist/components/choice-list/choice-list.d.mts +103 -0
  48. package/dist/components/choice-list/choice-list.mjs +301 -0
  49. package/dist/components/choice-list/choice-list.recipe.mjs +44 -0
  50. package/dist/components/choice-list/index.d.mts +2 -0
  51. package/dist/components/code-block/code-block.d.mts +30 -0
  52. package/dist/components/code-block/code-block.mjs +151 -0
  53. package/dist/components/code-block/code-block.recipe.mjs +47 -0
  54. package/dist/components/code-block/index.d.mts +2 -0
  55. package/dist/components/combobox/combobox.d.mts +69 -0
  56. package/dist/components/combobox/combobox.mjs +438 -0
  57. package/dist/components/combobox/index.d.mts +2 -0
  58. package/dist/components/combobox-select/combobox-select.d.mts +4 -0
  59. package/dist/components/combobox-select/combobox-select.list-side.mjs +16 -0
  60. package/dist/components/combobox-select/combobox-select.mjs +473 -0
  61. package/dist/components/combobox-select/combobox-select.options.mjs +21 -0
  62. package/dist/components/combobox-select/combobox-select.types.d.mts +83 -0
  63. package/dist/components/combobox-select/index.d.mts +3 -0
  64. package/dist/components/comment/comment-card.d.mts +40 -0
  65. package/dist/components/comment/comment-card.mjs +83 -0
  66. package/dist/components/comment/comment-entry.d.mts +24 -0
  67. package/dist/components/comment/comment-entry.mjs +75 -0
  68. package/dist/components/comment/comment-highlight.d.mts +18 -0
  69. package/dist/components/comment/comment-highlight.mjs +33 -0
  70. package/dist/components/comment/comment-margin-layout.d.mts +32 -0
  71. package/dist/components/comment/comment-margin-layout.mjs +44 -0
  72. package/dist/components/comment/comment-margin.d.mts +29 -0
  73. package/dist/components/comment/comment-margin.mjs +164 -0
  74. package/dist/components/comment/comment-marker.d.mts +16 -0
  75. package/dist/components/comment/comment-marker.mjs +24 -0
  76. package/dist/components/comment/comment.recipe.mjs +58 -0
  77. package/dist/components/comment/index.d.mts +8 -0
  78. package/dist/components/comment/use-comment-margin-fits.d.mts +16 -0
  79. package/dist/components/comment/use-comment-margin-fits.mjs +34 -0
  80. package/dist/components/composer/composer-attachment.recipe.mjs +85 -0
  81. package/dist/components/composer/composer-attachments-scroll-area.d.mts +5 -0
  82. package/dist/components/composer/composer-attachments-scroll-area.mjs +93 -0
  83. package/dist/components/composer/composer-attachments.d.mts +27 -0
  84. package/dist/components/composer/composer-attachments.mjs +147 -0
  85. package/dist/components/composer/composer-drop-overlay.d.mts +9 -0
  86. package/dist/components/composer/composer-drop-overlay.mjs +60 -0
  87. package/dist/components/composer/composer-drop-overlay.recipe.mjs +23 -0
  88. package/dist/components/composer/composer-root.d.mts +5 -0
  89. package/dist/components/composer/composer-root.mjs +18 -0
  90. package/dist/components/composer/composer-suggestion-list.d.mts +139 -0
  91. package/dist/components/composer/composer-suggestion-list.mjs +160 -0
  92. package/dist/components/composer/composer-toolbar-label.d.mts +5 -0
  93. package/dist/components/composer/composer-toolbar-label.mjs +24 -0
  94. package/dist/components/composer/composer.d.mts +20 -0
  95. package/dist/components/composer/composer.mjs +88 -0
  96. package/dist/components/composer/composer.recipe.mjs +29 -0
  97. package/dist/components/composer/index.d.mts +10 -0
  98. package/dist/components/composer/sortable-composer-attachments.d.mts +37 -0
  99. package/dist/components/composer/sortable-composer-attachments.mjs +247 -0
  100. package/dist/components/composer/use-composer-suggestions.d.mts +83 -0
  101. package/dist/components/composer/use-composer-suggestions.mjs +207 -0
  102. package/dist/components/context-menu/context-menu.d.mts +53 -0
  103. package/dist/components/context-menu/context-menu.mjs +275 -0
  104. package/dist/components/context-menu/index.d.mts +2 -0
  105. package/dist/components/conversation-panel/conversation-panel-empty-state.d.mts +9 -0
  106. package/dist/components/conversation-panel/conversation-panel-empty-state.mjs +57 -0
  107. package/dist/components/conversation-panel/conversation-panel.d.mts +20 -0
  108. package/dist/components/conversation-panel/conversation-panel.mjs +63 -0
  109. package/dist/components/conversation-panel/conversation-panel.recipe.mjs +15 -0
  110. package/dist/components/conversation-panel/index.d.mts +3 -0
  111. package/dist/components/copyable-code/copyable-code.d.mts +72 -0
  112. package/dist/components/copyable-code/copyable-code.mjs +153 -0
  113. package/dist/components/copyable-code/index.d.mts +2 -0
  114. package/dist/components/description-list/description-list.d.mts +59 -0
  115. package/dist/components/description-list/description-list.mjs +96 -0
  116. package/dist/components/description-list/index.d.mts +2 -0
  117. package/dist/components/dialog/dialog-sheet-context.mjs +58 -0
  118. package/dist/components/dialog/dialog-sheet.d.mts +31 -0
  119. package/dist/components/dialog/dialog-sheet.mjs +194 -0
  120. package/dist/components/dialog/dialog.d.mts +85 -0
  121. package/dist/components/dialog/dialog.mjs +371 -0
  122. package/dist/components/dialog/index.d.mts +3 -0
  123. package/dist/components/drag/drag-announcements.d.mts +72 -0
  124. package/dist/components/drag/drag-announcements.mjs +115 -0
  125. package/dist/components/drag/drag-lift.d.mts +100 -0
  126. package/dist/components/drag/drag-lift.mjs +276 -0
  127. package/dist/components/drag/drag-lists.d.mts +98 -0
  128. package/dist/components/drag/drag-lists.mjs +258 -0
  129. package/dist/components/drag/drag-sensors.d.mts +87 -0
  130. package/dist/components/drag/drag-sensors.mjs +169 -0
  131. package/dist/components/drag/drag.recipe.d.mts +7 -0
  132. package/dist/components/drag/drag.recipe.mjs +30 -0
  133. package/dist/components/drag/drop-placeholder.d.mts +41 -0
  134. package/dist/components/drag/drop-placeholder.mjs +161 -0
  135. package/dist/components/drag/index.d.mts +8 -0
  136. package/dist/components/drawer/drawer.d.mts +34 -0
  137. package/dist/components/drawer/drawer.mjs +202 -0
  138. package/dist/components/drawer/drawer.recipe.mjs +175 -0
  139. package/dist/components/drawer/index.d.mts +2 -0
  140. package/dist/components/dropdown-menu/dropdown-menu.d.mts +62 -0
  141. package/dist/components/dropdown-menu/dropdown-menu.mjs +319 -0
  142. package/dist/components/dropdown-menu/index.d.mts +2 -0
  143. package/dist/components/ellipsis/ellipsis.d.mts +55 -0
  144. package/dist/components/ellipsis/ellipsis.mjs +320 -0
  145. package/dist/components/ellipsis/index.d.mts +3 -0
  146. package/dist/components/empty-state/empty-state.d.mts +15 -0
  147. package/dist/components/empty-state/empty-state.mjs +102 -0
  148. package/dist/components/empty-state/index.d.mts +2 -0
  149. package/dist/components/field/field.d.mts +79 -0
  150. package/dist/components/field/field.mjs +100 -0
  151. package/dist/components/field/index.d.mts +2 -0
  152. package/dist/components/file-preview/file-preview.d.mts +17 -0
  153. package/dist/components/file-preview/file-preview.mjs +210 -0
  154. package/dist/components/file-preview/file-preview.recipe.d.mts +99 -0
  155. package/dist/components/file-preview/file-preview.recipe.mjs +39 -0
  156. package/dist/components/file-preview/index.d.mts +2 -0
  157. package/dist/components/files/files.d.mts +35 -0
  158. package/dist/components/files/files.mjs +69 -0
  159. package/dist/components/files/files.recipe.mjs +40 -0
  160. package/dist/components/files/index.d.mts +2 -0
  161. package/dist/components/filter-chip/filter-chip.d.mts +25 -0
  162. package/dist/components/filter-chip/filter-chip.mjs +59 -0
  163. package/dist/components/filter-chip/index.d.mts +2 -0
  164. package/dist/components/float-button/float-button.d.mts +36 -0
  165. package/dist/components/float-button/float-button.mjs +116 -0
  166. package/dist/components/float-button/float-button.position.d.mts +6 -0
  167. package/dist/components/float-button/float-button.position.mjs +41 -0
  168. package/dist/components/float-button/index.d.mts +3 -0
  169. package/dist/components/form-section/form-section.d.mts +16 -0
  170. package/dist/components/form-section/form-section.mjs +53 -0
  171. package/dist/components/form-section/index.d.mts +2 -0
  172. package/dist/components/icon-tile/icon-tile.d.mts +97 -0
  173. package/dist/components/icon-tile/icon-tile.mjs +49 -0
  174. package/dist/components/icon-tile/index.d.mts +2 -0
  175. package/dist/components/icons/action-icons.d.mts +34 -0
  176. package/dist/components/icons/action-icons.mjs +383 -0
  177. package/dist/components/icons/conversation-icons.d.mts +12 -0
  178. package/dist/components/icons/conversation-icons.mjs +147 -0
  179. package/dist/components/icons/index.d.mts +4 -0
  180. package/dist/components/icons/object-icons.d.mts +6 -0
  181. package/dist/components/icons/object-icons.mjs +27 -0
  182. package/dist/components/inbox-item/inbox-item-leading-badge.d.mts +13 -0
  183. package/dist/components/inbox-item/inbox-item-leading-badge.mjs +27 -0
  184. package/dist/components/inbox-item/inbox-item-skeleton.d.mts +46 -0
  185. package/dist/components/inbox-item/inbox-item-skeleton.mjs +89 -0
  186. package/dist/components/inbox-item/inbox-item-skeleton.recipe.mjs +20 -0
  187. package/dist/components/inbox-item/inbox-item.d.mts +71 -0
  188. package/dist/components/inbox-item/inbox-item.mjs +276 -0
  189. package/dist/components/inbox-item/inbox-item.recipe.mjs +137 -0
  190. package/dist/components/inbox-item/index.d.mts +2 -0
  191. package/dist/components/inline-code/index.d.mts +2 -0
  192. package/dist/components/inline-code/inline-code.d.mts +8 -0
  193. package/dist/components/inline-code/inline-code.mjs +30 -0
  194. package/dist/components/input/index.d.mts +2 -0
  195. package/dist/components/input/input.d.mts +16 -0
  196. package/dist/components/input/input.mjs +20 -0
  197. package/dist/components/input/input.recipe.mjs +12 -0
  198. package/dist/components/input-group/index.d.mts +2 -0
  199. package/dist/components/input-group/input-group.d.mts +93 -0
  200. package/dist/components/input-group/input-group.mjs +178 -0
  201. package/dist/components/kbd/index.d.mts +2 -0
  202. package/dist/components/kbd/kbd.d.mts +7 -0
  203. package/dist/components/kbd/kbd.mjs +34 -0
  204. package/dist/components/label/index.d.mts +2 -0
  205. package/dist/components/label/label.d.mts +60 -0
  206. package/dist/components/label/label.mjs +75 -0
  207. package/dist/components/legacy-task-panel/index.d.mts +2 -0
  208. package/dist/components/legacy-task-panel/legacy-task-panel.d.mts +57 -0
  209. package/dist/components/legacy-task-panel/legacy-task-panel.mjs +234 -0
  210. package/dist/components/legacy-task-panel/legacy-task-panel.recipe.mjs +30 -0
  211. package/dist/components/lightbox/index.d.mts +2 -0
  212. package/dist/components/lightbox/lightbox.d.mts +55 -0
  213. package/dist/components/lightbox/lightbox.mjs +336 -0
  214. package/dist/components/list-row/index.d.mts +2 -0
  215. package/dist/components/list-row/list-row-skeleton.d.mts +21 -0
  216. package/dist/components/list-row/list-row-skeleton.mjs +43 -0
  217. package/dist/components/list-row/list-row.d.mts +66 -0
  218. package/dist/components/list-row/list-row.mjs +167 -0
  219. package/dist/components/list-row/list-row.recipe.d.mts +126 -0
  220. package/dist/components/list-row/list-row.recipe.mjs +94 -0
  221. package/dist/components/live-agent-activity-bar/index.d.mts +2 -0
  222. package/dist/components/live-agent-activity-bar/live-agent-activity-bar.d.mts +25 -0
  223. package/dist/components/live-agent-activity-bar/live-agent-activity-bar.mjs +107 -0
  224. package/dist/components/logo/index.d.mts +2 -0
  225. package/dist/components/logo/raft-logo.d.mts +9 -0
  226. package/dist/components/logo/raft-logo.mjs +63 -0
  227. package/dist/components/markdown/index.d.mts +2 -0
  228. package/dist/components/markdown/markdown-parts.d.mts +54 -0
  229. package/dist/components/markdown/markdown-parts.mjs +153 -0
  230. package/dist/components/markdown/markdown.recipe.mjs +77 -0
  231. package/dist/components/message-action-card/index.d.mts +2 -0
  232. package/dist/components/message-action-card/message-action-card-content.recipe.mjs +50 -0
  233. package/dist/components/message-action-card/message-action-card.d.mts +95 -0
  234. package/dist/components/message-action-card/message-action-card.mjs +298 -0
  235. package/dist/components/message-action-card/message-action-card.recipe.mjs +47 -0
  236. package/dist/components/message-attachment/index.d.mts +5 -0
  237. package/dist/components/message-attachment/message-attachment.d.mts +27 -0
  238. package/dist/components/message-attachment/message-attachment.mjs +129 -0
  239. package/dist/components/message-attachment/message-attachment.recipe.mjs +36 -0
  240. package/dist/components/message-attachment/message-image-gallery-rows.d.mts +47 -0
  241. package/dist/components/message-attachment/message-image-gallery-rows.mjs +55 -0
  242. package/dist/components/message-attachment/message-image-gallery.d.mts +32 -0
  243. package/dist/components/message-attachment/message-image-gallery.mjs +105 -0
  244. package/dist/components/message-attachment/message-image-gallery.recipe.mjs +61 -0
  245. package/dist/components/message-attachment/message-video-preview.d.mts +19 -0
  246. package/dist/components/message-attachment/message-video-preview.mjs +92 -0
  247. package/dist/components/message-attachment/message-video-preview.recipe.mjs +33 -0
  248. package/dist/components/message-embed/index.d.mts +2 -0
  249. package/dist/components/message-embed/message-embed.d.mts +12 -0
  250. package/dist/components/message-embed/message-embed.mjs +42 -0
  251. package/dist/components/message-embed/message-embed.recipe.mjs +14 -0
  252. package/dist/components/message-forwarded-bundle/index.d.mts +2 -0
  253. package/dist/components/message-forwarded-bundle/message-forwarded-bundle.d.mts +92 -0
  254. package/dist/components/message-forwarded-bundle/message-forwarded-bundle.mjs +324 -0
  255. package/dist/components/message-forwarded-bundle/message-forwarded-bundle.recipe.mjs +81 -0
  256. package/dist/components/message-item/index.d.mts +13 -0
  257. package/dist/components/message-item/message-footer.d.mts +20 -0
  258. package/dist/components/message-item/message-footer.mjs +54 -0
  259. package/dist/components/message-item/message-footer.recipe.mjs +46 -0
  260. package/dist/components/message-item/message-item-content.d.mts +22 -0
  261. package/dist/components/message-item/message-item-content.mjs +81 -0
  262. package/dist/components/message-item/message-item-delegated.d.mts +38 -0
  263. package/dist/components/message-item/message-item-delegated.mjs +72 -0
  264. package/dist/components/message-item/message-item-gutter.d.mts +10 -0
  265. package/dist/components/message-item/message-item-gutter.mjs +41 -0
  266. package/dist/components/message-item/message-item-header.d.mts +29 -0
  267. package/dist/components/message-item/message-item-header.mjs +107 -0
  268. package/dist/components/message-item/message-item-label.mjs +113 -0
  269. package/dist/components/message-item/message-item-root.d.mts +25 -0
  270. package/dist/components/message-item/message-item-root.mjs +39 -0
  271. package/dist/components/message-item/message-item-toolbar.d.mts +9 -0
  272. package/dist/components/message-item/message-item-toolbar.mjs +131 -0
  273. package/dist/components/message-item/message-item.recipe.d.mts +101 -0
  274. package/dist/components/message-item/message-item.recipe.mjs +114 -0
  275. package/dist/components/message-item/message-multi-select.d.mts +15 -0
  276. package/dist/components/message-item/message-multi-select.mjs +49 -0
  277. package/dist/components/message-item/message-multi-select.recipe.mjs +23 -0
  278. package/dist/components/message-item/message-reaction.d.mts +39 -0
  279. package/dist/components/message-item/message-reaction.mjs +188 -0
  280. package/dist/components/message-item/message-reaction.recipe.mjs +76 -0
  281. package/dist/components/message-item/message-reference.d.mts +50 -0
  282. package/dist/components/message-item/message-reference.mjs +111 -0
  283. package/dist/components/message-item/message-reference.recipe.d.mts +6 -0
  284. package/dist/components/message-item/message-reference.recipe.mjs +63 -0
  285. package/dist/components/message-item/message-text-selection-toolbar.d.mts +24 -0
  286. package/dist/components/message-item/message-text-selection-toolbar.mjs +13 -0
  287. package/dist/components/message-list/index.d.mts +4 -0
  288. package/dist/components/message-list/message-list-jump.d.mts +21 -0
  289. package/dist/components/message-list/message-list-jump.mjs +73 -0
  290. package/dist/components/message-list/message-list-markers.d.mts +13 -0
  291. package/dist/components/message-list/message-list-markers.mjs +70 -0
  292. package/dist/components/message-list/message-list.d.mts +7 -0
  293. package/dist/components/message-list/message-list.mjs +52 -0
  294. package/dist/components/message-list/message-list.recipe.mjs +54 -0
  295. package/dist/components/message-quoted-preview/index.d.mts +2 -0
  296. package/dist/components/message-quoted-preview/message-quoted-preview.d.mts +40 -0
  297. package/dist/components/message-quoted-preview/message-quoted-preview.mjs +144 -0
  298. package/dist/components/message-quoted-preview/message-quoted-preview.recipe.mjs +38 -0
  299. package/dist/components/message-replies/index.d.mts +2 -0
  300. package/dist/components/message-replies/message-replies.d.mts +17 -0
  301. package/dist/components/message-replies/message-replies.mjs +79 -0
  302. package/dist/components/message-replies/message-replies.recipe.mjs +25 -0
  303. package/dist/components/message-translation/index.d.mts +2 -0
  304. package/dist/components/message-translation/message-translation.d.mts +20 -0
  305. package/dist/components/message-translation/message-translation.mjs +64 -0
  306. package/dist/components/message-translation/message-translation.recipe.mjs +27 -0
  307. package/dist/components/meter/index.d.mts +2 -0
  308. package/dist/components/meter/meter.d.mts +107 -0
  309. package/dist/components/meter/meter.mjs +118 -0
  310. package/dist/components/mobile-nav/index.d.mts +3 -0
  311. package/dist/components/mobile-nav/mobile-nav-server.d.mts +71 -0
  312. package/dist/components/mobile-nav/mobile-nav-server.mjs +287 -0
  313. package/dist/components/mobile-nav/mobile-nav.d.mts +12 -0
  314. package/dist/components/mobile-nav/mobile-nav.mjs +73 -0
  315. package/dist/components/mode-bar/index.d.mts +2 -0
  316. package/dist/components/mode-bar/mode-bar.d.mts +33 -0
  317. package/dist/components/mode-bar/mode-bar.mjs +115 -0
  318. package/dist/components/notification-center/index.d.mts +2 -0
  319. package/dist/components/notification-center/notification-center.d.mts +225 -0
  320. package/dist/components/notification-center/notification-center.mjs +340 -0
  321. package/dist/components/panel/index.d.mts +7 -0
  322. package/dist/components/panel/panel-action.d.mts +15 -0
  323. package/dist/components/panel/panel-action.mjs +23 -0
  324. package/dist/components/panel/panel-action.recipe.mjs +40 -0
  325. package/dist/components/panel/panel-header.d.mts +34 -0
  326. package/dist/components/panel/panel-header.mjs +135 -0
  327. package/dist/components/panel/panel-header.recipe.mjs +78 -0
  328. package/dist/components/panel/panel-notice.d.mts +16 -0
  329. package/dist/components/panel/panel-notice.mjs +77 -0
  330. package/dist/components/panel/panel-split-action.d.mts +34 -0
  331. package/dist/components/panel/panel-split-action.mjs +69 -0
  332. package/dist/components/panel/panel-split-action.recipe.mjs +53 -0
  333. package/dist/components/panel/panel-toggle-action.d.mts +6 -0
  334. package/dist/components/panel/panel-toggle-action.mjs +15 -0
  335. package/dist/components/panel/panel.d.mts +25 -0
  336. package/dist/components/panel/panel.mjs +96 -0
  337. package/dist/components/panel/panel.recipe.mjs +24 -0
  338. package/dist/components/picker-trigger-button/index.d.mts +2 -0
  339. package/dist/components/picker-trigger-button/picker-trigger-button.d.mts +7 -0
  340. package/dist/components/picker-trigger-button/picker-trigger-button.mjs +36 -0
  341. package/dist/components/popover/index.d.mts +2 -0
  342. package/dist/components/popover/popover.d.mts +41 -0
  343. package/dist/components/popover/popover.mjs +184 -0
  344. package/dist/components/preview-card/index.d.mts +2 -0
  345. package/dist/components/preview-card/preview-card.d.mts +43 -0
  346. package/dist/components/preview-card/preview-card.mjs +197 -0
  347. package/dist/components/profile-panel/index.d.mts +2 -0
  348. package/dist/components/profile-panel/profile-panel.d.mts +14 -0
  349. package/dist/components/profile-panel/profile-panel.mjs +46 -0
  350. package/dist/components/profile-panel/profile-panel.recipe.mjs +14 -0
  351. package/dist/components/progress/index.d.mts +2 -0
  352. package/dist/components/progress/progress.d.mts +119 -0
  353. package/dist/components/progress/progress.mjs +139 -0
  354. package/dist/components/pull-to-refresh/index.d.mts +4 -0
  355. package/dist/components/pull-to-refresh/pull-to-refresh-gesture.d.mts +30 -0
  356. package/dist/components/pull-to-refresh/pull-to-refresh-gesture.mjs +134 -0
  357. package/dist/components/pull-to-refresh/pull-to-refresh-indicator.d.mts +21 -0
  358. package/dist/components/pull-to-refresh/pull-to-refresh-indicator.mjs +153 -0
  359. package/dist/components/pull-to-refresh/pull-to-refresh-material-progress.mjs +150 -0
  360. package/dist/components/pull-to-refresh/use-pull-to-refresh.d.mts +55 -0
  361. package/dist/components/pull-to-refresh/use-pull-to-refresh.mjs +156 -0
  362. package/dist/components/radio-group/index.d.mts +2 -0
  363. package/dist/components/radio-group/radio-group.d.mts +14 -0
  364. package/dist/components/radio-group/radio-group.mjs +59 -0
  365. package/dist/components/resizable/index.d.mts +2 -0
  366. package/dist/components/resizable/resizable.d.mts +15 -0
  367. package/dist/components/resizable/resizable.mjs +39 -0
  368. package/dist/components/resizable/resizable.recipe.mjs +24 -0
  369. package/dist/components/scroll-area/index.d.mts +2 -0
  370. package/dist/components/scroll-area/scroll-area.d.mts +17 -0
  371. package/dist/components/scroll-area/scroll-area.mjs +55 -0
  372. package/dist/components/scroll-area/scroll-area.recipe.mjs +23 -0
  373. package/dist/components/search/index.d.mts +6 -0
  374. package/dist/components/search/search-entity.d.mts +24 -0
  375. package/dist/components/search/search-entity.mjs +106 -0
  376. package/dist/components/search/search-entity.recipe.mjs +41 -0
  377. package/dist/components/search/search-message.d.mts +25 -0
  378. package/dist/components/search/search-message.mjs +115 -0
  379. package/dist/components/search/search-message.recipe.mjs +32 -0
  380. package/dist/components/search/search-thread.d.mts +17 -0
  381. package/dist/components/search/search-thread.mjs +79 -0
  382. package/dist/components/search/search-thread.recipe.mjs +16 -0
  383. package/dist/components/search/search-trigger.d.mts +15 -0
  384. package/dist/components/search/search-trigger.mjs +59 -0
  385. package/dist/components/search/search.d.mts +23 -0
  386. package/dist/components/search/search.mjs +88 -0
  387. package/dist/components/search/search.recipe.mjs +22 -0
  388. package/dist/components/segmented-control/index.d.mts +2 -0
  389. package/dist/components/segmented-control/segmented-control.d.mts +38 -0
  390. package/dist/components/segmented-control/segmented-control.mjs +306 -0
  391. package/dist/components/select/index.d.mts +2 -0
  392. package/dist/components/select/select.d.mts +95 -0
  393. package/dist/components/select/select.mjs +483 -0
  394. package/dist/components/separator/index.d.mts +2 -0
  395. package/dist/components/separator/separator.d.mts +10 -0
  396. package/dist/components/separator/separator.mjs +49 -0
  397. package/dist/components/sidebar/index.d.mts +5 -0
  398. package/dist/components/sidebar/sidebar-item.d.mts +64 -0
  399. package/dist/components/sidebar/sidebar-item.mjs +201 -0
  400. package/dist/components/sidebar/sidebar-item.recipe.mjs +100 -0
  401. package/dist/components/sidebar/sidebar-menu.d.mts +13 -0
  402. package/dist/components/sidebar/sidebar-menu.mjs +67 -0
  403. package/dist/components/sidebar/sidebar-menu.recipe.mjs +22 -0
  404. package/dist/components/sidebar/sidebar-section.d.mts +41 -0
  405. package/dist/components/sidebar/sidebar-section.mjs +164 -0
  406. package/dist/components/sidebar/sidebar-section.recipe.mjs +45 -0
  407. package/dist/components/sidebar/sidebar.d.mts +17 -0
  408. package/dist/components/sidebar/sidebar.mjs +149 -0
  409. package/dist/components/sidebar/sidebar.recipe.mjs +37 -0
  410. package/dist/components/skeleton/index.d.mts +2 -0
  411. package/dist/components/skeleton/skeleton.d.mts +50 -0
  412. package/dist/components/skeleton/skeleton.mjs +29 -0
  413. package/dist/components/spinner/index.d.mts +2 -0
  414. package/dist/components/spinner/spinner.d.mts +77 -0
  415. package/dist/components/spinner/spinner.mjs +118 -0
  416. package/dist/components/status/index.d.mts +2 -0
  417. package/dist/components/status/status.d.mts +143 -0
  418. package/dist/components/status/status.mjs +56 -0
  419. package/dist/components/steps/index.d.mts +3 -0
  420. package/dist/components/steps/otter-indicator.d.mts +17 -0
  421. package/dist/components/steps/otter-indicator.mjs +331 -0
  422. package/dist/components/steps/steps.d.mts +50 -0
  423. package/dist/components/steps/steps.mjs +174 -0
  424. package/dist/components/switch/index.d.mts +2 -0
  425. package/dist/components/switch/switch.d.mts +9 -0
  426. package/dist/components/switch/switch.mjs +50 -0
  427. package/dist/components/system-message/index.d.mts +2 -0
  428. package/dist/components/system-message/system-message.d.mts +27 -0
  429. package/dist/components/system-message/system-message.mjs +113 -0
  430. package/dist/components/system-message/system-message.recipe.mjs +34 -0
  431. package/dist/components/table/index.d.mts +2 -0
  432. package/dist/components/table/table.d.mts +35 -0
  433. package/dist/components/table/table.mjs +102 -0
  434. package/dist/components/table/table.recipe.mjs +31 -0
  435. package/dist/components/tabs/index.d.mts +2 -0
  436. package/dist/components/tabs/tabs.d.mts +185 -0
  437. package/dist/components/tabs/tabs.mjs +528 -0
  438. package/dist/components/task-board/index.d.mts +2 -0
  439. package/dist/components/task-board/task-board-column.recipe.mjs +46 -0
  440. package/dist/components/task-board/task-board.d.mts +40 -0
  441. package/dist/components/task-board/task-board.mjs +155 -0
  442. package/dist/components/task-card/index.d.mts +2 -0
  443. package/dist/components/task-card/task-card-status.recipe.mjs +17 -0
  444. package/dist/components/task-card/task-card.d.mts +30 -0
  445. package/dist/components/task-card/task-card.mjs +141 -0
  446. package/dist/components/task-card/task-card.recipe.mjs +39 -0
  447. package/dist/components/task-dnd/index.d.mts +2 -0
  448. package/dist/components/task-dnd/task-dnd.d.mts +75 -0
  449. package/dist/components/task-dnd/task-dnd.mjs +341 -0
  450. package/dist/components/task-dnd/task-dnd.recipe.mjs +20 -0
  451. package/dist/components/task-list/index.d.mts +2 -0
  452. package/dist/components/task-list/task-list-section.recipe.mjs +37 -0
  453. package/dist/components/task-list/task-list.d.mts +34 -0
  454. package/dist/components/task-list/task-list.mjs +119 -0
  455. package/dist/components/tasks/index.d.mts +7 -0
  456. package/dist/components/tasks/task-chip.d.mts +14 -0
  457. package/dist/components/tasks/task-chip.mjs +81 -0
  458. package/dist/components/tasks/task-loading.d.mts +7 -0
  459. package/dist/components/tasks/task-loading.mjs +32 -0
  460. package/dist/components/tasks/task-loading.recipe.mjs +8 -0
  461. package/dist/components/tasks/task-status-badge.d.mts +24 -0
  462. package/dist/components/tasks/task-status-badge.mjs +24 -0
  463. package/dist/components/tasks/task-status-icon.d.mts +13 -0
  464. package/dist/components/tasks/task-status-icon.mjs +90 -0
  465. package/dist/components/tasks/task-status.recipe.d.mts +62 -0
  466. package/dist/components/tasks/task-status.recipe.mjs +33 -0
  467. package/dist/components/tasks/tasks-panel.d.mts +22 -0
  468. package/dist/components/tasks/tasks-panel.mjs +114 -0
  469. package/dist/components/tasks/tasks-panel.recipe.mjs +36 -0
  470. package/dist/components/text/index.d.mts +2 -0
  471. package/dist/components/text/text.d.mts +186 -0
  472. package/dist/components/text/text.mjs +114 -0
  473. package/dist/components/text-link/index.d.mts +2 -0
  474. package/dist/components/text-link/text-link.d.mts +36 -0
  475. package/dist/components/text-link/text-link.mjs +60 -0
  476. package/dist/components/text-selection-toolbar/index.d.mts +3 -0
  477. package/dist/components/text-selection-toolbar/text-selection-anchor.d.mts +22 -0
  478. package/dist/components/text-selection-toolbar/text-selection-anchor.mjs +106 -0
  479. package/dist/components/text-selection-toolbar/text-selection-toolbar.d.mts +20 -0
  480. package/dist/components/text-selection-toolbar/text-selection-toolbar.mjs +41 -0
  481. package/dist/components/text-selection-toolbar/text-selection-toolbar.recipe.mjs +19 -0
  482. package/dist/components/textarea/index.d.mts +2 -0
  483. package/dist/components/textarea/textarea.d.mts +16 -0
  484. package/dist/components/textarea/textarea.mjs +62 -0
  485. package/dist/components/thread-panel/index.d.mts +2 -0
  486. package/dist/components/thread-panel/thread-panel.d.mts +31 -0
  487. package/dist/components/thread-panel/thread-panel.mjs +162 -0
  488. package/dist/components/thread-panel/thread-panel.recipe.mjs +36 -0
  489. package/dist/components/timeline/index.d.mts +2 -0
  490. package/dist/components/timeline/timeline.d.mts +44 -0
  491. package/dist/components/timeline/timeline.mjs +81 -0
  492. package/dist/components/toast/index.d.mts +2 -0
  493. package/dist/components/toast/toast.d.mts +263 -0
  494. package/dist/components/toast/toast.mjs +556 -0
  495. package/dist/components/toggle-group/index.d.mts +2 -0
  496. package/dist/components/toggle-group/toggle-group.d.mts +15 -0
  497. package/dist/components/toggle-group/toggle-group.mjs +64 -0
  498. package/dist/components/tooltip/index.d.mts +2 -0
  499. package/dist/components/tooltip/tooltip.d.mts +18 -0
  500. package/dist/components/tooltip/tooltip.mjs +197 -0
  501. package/dist/components/virtual-list/ItemColumns.mjs +37 -0
  502. package/dist/components/virtual-list/VirtualList.d.mts +4 -0
  503. package/dist/components/virtual-list/VirtualList.mjs +1401 -0
  504. package/dist/components/virtual-list/VirtualListContext.mjs +5 -0
  505. package/dist/components/virtual-list/hooks/use-event-callback.mjs +10 -0
  506. package/dist/components/virtual-list/hooks/use-ios-momentum-compensation.mjs +148 -0
  507. package/dist/components/virtual-list/hooks/use-keyboard-scroll.mjs +42 -0
  508. package/dist/components/virtual-list/hooks/use-latest-ref.mjs +10 -0
  509. package/dist/components/virtual-list/hooks/use-layout-effect-with-previous.mjs +16 -0
  510. package/dist/components/virtual-list/hooks/use-memo-with-previous.mjs +22 -0
  511. package/dist/components/virtual-list/hooks/use-non-passive-wheel.mjs +23 -0
  512. package/dist/components/virtual-list/hooks/use-non-virtual-content-resize.mjs +28 -0
  513. package/dist/components/virtual-list/hooks/use-scroll-anchor.mjs +55 -0
  514. package/dist/components/virtual-list/index.d.mts +5 -0
  515. package/dist/components/virtual-list/public-types.d.mts +341 -0
  516. package/dist/components/virtual-list/resize-observer/ResizeObserverWrapper.d.mts +5 -0
  517. package/dist/components/virtual-list/resize-observer/ResizeObserverWrapper.mjs +70 -0
  518. package/dist/components/virtual-list/resize-observer/resize-observer-delegate.d.mts +6 -0
  519. package/dist/components/virtual-list/resize-observer/resize-observer-delegate.mjs +54 -0
  520. package/dist/components/virtual-list/utils/align.mjs +19 -0
  521. package/dist/components/virtual-list/utils/constants.mjs +30 -0
  522. package/dist/components/virtual-list/utils/fenwick-tree.mjs +66 -0
  523. package/dist/components/virtual-list/utils/items-anchor.mjs +49 -0
  524. package/dist/components/virtual-list/utils/measure.mjs +77 -0
  525. package/dist/components/virtual-list/utils/platform.mjs +39 -0
  526. package/dist/components/virtual-list/utils/range.mjs +103 -0
  527. package/dist/components/virtual-list/utils/size-cache.mjs +35 -0
  528. package/dist/components/workspace-button/index.d.mts +2 -0
  529. package/dist/components/workspace-button/workspace-button.d.mts +9 -0
  530. package/dist/components/workspace-button/workspace-button.mjs +28 -0
  531. package/dist/index.d.mts +239 -4864
  532. package/dist/index.mjs +142 -17054
  533. package/dist/lib/chip-remove.mjs +17 -0
  534. package/dist/lib/data-attributes.d.mts +5 -0
  535. package/dist/lib/decision-width.mjs +9 -0
  536. package/dist/lib/default-native-button.mjs +8 -0
  537. package/dist/lib/desktop-media.mjs +10 -0
  538. package/dist/lib/drag-escape.mjs +37 -0
  539. package/dist/lib/frame-insets.mjs +127 -0
  540. package/dist/lib/head-edges.mjs +44 -0
  541. package/dist/lib/hud-text-action.mjs +10 -0
  542. package/dist/lib/inline-chip.mjs +30 -0
  543. package/dist/lib/input-modality.d.mts +36 -0
  544. package/dist/lib/input-modality.mjs +186 -0
  545. package/dist/lib/list-cell.mjs +21 -0
  546. package/dist/lib/located.d.mts +25 -0
  547. package/dist/lib/located.mjs +28 -0
  548. package/dist/lib/overlay-depth.d.mts +42 -0
  549. package/dist/lib/overlay-depth.mjs +59 -0
  550. package/dist/lib/phone-media.mjs +24 -0
  551. package/dist/lib/presence.d.mts +16 -0
  552. package/dist/lib/presence.mjs +16 -0
  553. package/dist/lib/row-tone.d.mts +8 -0
  554. package/dist/lib/search-hit.mjs +18 -0
  555. package/dist/lib/stacked-actions.mjs +112 -0
  556. package/dist/lib/styled-props.d.mts +15 -0
  557. package/dist/lib/tap-activation.mjs +133 -0
  558. package/dist/lib/theme/theme-context.d.mts +10 -0
  559. package/dist/lib/theme/theme-context.mjs +9 -0
  560. package/dist/lib/theme/theme-provider.d.mts +23 -0
  561. package/dist/lib/theme/theme-provider.mjs +61 -0
  562. package/dist/lib/theme/theme-scope.mjs +19 -0
  563. package/dist/lib/theme/use-theme.d.mts +5 -0
  564. package/dist/lib/theme/use-theme.mjs +9 -0
  565. package/dist/lib/touch-drag.d.mts +55 -0
  566. package/dist/lib/touch-drag.mjs +151 -0
  567. package/dist/lib/truncation.d.mts +26 -0
  568. package/dist/lib/truncation.mjs +153 -0
  569. package/dist/lib/tv.d.mts +2 -0
  570. package/dist/lib/tv.mjs +14 -0
  571. package/dist/lib/use-copy-to-clipboard.mjs +58 -0
  572. package/dist/lib/use-merged-ref.mjs +60 -0
  573. package/dist/lib/use-mobile-viewport.mjs +17 -0
  574. package/dist/lib/use-overflow-title.mjs +49 -0
  575. package/dist/lib/use-scrollbar-size.d.mts +16 -0
  576. package/dist/lib/use-scrollbar-size.mjs +46 -0
  577. package/dist/lib/use-truncated.d.mts +20 -0
  578. package/dist/lib/use-truncated.mjs +34 -0
  579. package/dist/lib/without-children.d.mts +8 -0
  580. package/dist/wip.d.mts +61 -1190
  581. package/dist/wip.mjs +43 -2970
  582. package/package.json +8 -1
  583. package/dist/index-C3ymUW98.d.mts +0 -1816
  584. package/dist/mode-bar-tGnYByXp.mjs +0 -7564
  585. package/dist/style.css +0 -1395
@@ -0,0 +1,383 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ //#region src/components/icons/action-icons.tsx
3
+ /** Follow a thread: a plus inside ThreadIcon's front bubble. */
4
+ function FollowThreadIcon(props) {
5
+ return /* @__PURE__ */ jsxs("svg", {
6
+ xmlns: "http://www.w3.org/2000/svg",
7
+ width: 24,
8
+ height: 24,
9
+ viewBox: "0 0 24 24",
10
+ "aria-hidden": "true",
11
+ focusable: "false",
12
+ fill: "none",
13
+ stroke: "currentColor",
14
+ strokeLinecap: "round",
15
+ strokeLinejoin: "round",
16
+ strokeWidth: 2,
17
+ ...props,
18
+ children: [
19
+ /* @__PURE__ */ jsx("path", { d: "M4.667 15.333 2.333 17.667V5.667A2.667 2.667 0 0 1 5 3h10" }),
20
+ /* @__PURE__ */ jsx("path", { d: "M11 6.667h8.333A2.667 2.667 0 0 1 22 9.333v6.334a2.667 2.667 0 0 1-2.667 2.666h-2v3.334L13 18.333h-2a2.667 2.667 0 0 1-2.667-2.666V9.333A2.667 2.667 0 0 1 11 6.667Z" }),
21
+ /* @__PURE__ */ jsx("path", { d: "M15.167 10v5" }),
22
+ /* @__PURE__ */ jsx("path", { d: "M12.667 12.5h5" })
23
+ ]
24
+ });
25
+ }
26
+ /** Unfollow a thread: a minus inside ThreadIcon's front bubble. */
27
+ function UnfollowThreadIcon(props) {
28
+ return /* @__PURE__ */ jsxs("svg", {
29
+ xmlns: "http://www.w3.org/2000/svg",
30
+ width: 24,
31
+ height: 24,
32
+ viewBox: "0 0 24 24",
33
+ "aria-hidden": "true",
34
+ focusable: "false",
35
+ fill: "none",
36
+ stroke: "currentColor",
37
+ strokeLinecap: "round",
38
+ strokeLinejoin: "round",
39
+ strokeWidth: 2,
40
+ ...props,
41
+ children: [
42
+ /* @__PURE__ */ jsx("path", { d: "M4.667 15.333 2.333 17.667V5.667A2.667 2.667 0 0 1 5 3h10" }),
43
+ /* @__PURE__ */ jsx("path", { d: "M11 6.667h8.333A2.667 2.667 0 0 1 22 9.333v6.334a2.667 2.667 0 0 1-2.667 2.666h-2v3.334L13 18.333h-2a2.667 2.667 0 0 1-2.667-2.666V9.333A2.667 2.667 0 0 1 11 6.667Z" }),
44
+ /* @__PURE__ */ jsx("path", { d: "M12.667 12.5h5" })
45
+ ]
46
+ });
47
+ }
48
+ /** Join a public channel: Lucide's hash, cut short of a plus in the bottom-right corner. */
49
+ function JoinChannelIcon(props) {
50
+ return /* @__PURE__ */ jsxs("svg", {
51
+ xmlns: "http://www.w3.org/2000/svg",
52
+ width: 24,
53
+ height: 24,
54
+ viewBox: "0 0 24 24",
55
+ "aria-hidden": "true",
56
+ focusable: "false",
57
+ fill: "none",
58
+ stroke: "currentColor",
59
+ strokeLinecap: "round",
60
+ strokeLinejoin: "round",
61
+ strokeWidth: 2,
62
+ ...props,
63
+ children: [
64
+ /* @__PURE__ */ jsx("line", {
65
+ x1: 4,
66
+ y1: 9,
67
+ x2: 20,
68
+ y2: 9
69
+ }),
70
+ /* @__PURE__ */ jsx("line", {
71
+ x1: 4,
72
+ y1: 15,
73
+ x2: 15.5,
74
+ y2: 15
75
+ }),
76
+ /* @__PURE__ */ jsx("line", {
77
+ x1: 10,
78
+ y1: 3,
79
+ x2: 8,
80
+ y2: 21
81
+ }),
82
+ /* @__PURE__ */ jsx("line", {
83
+ x1: 16,
84
+ y1: 3,
85
+ x2: 14.5,
86
+ y2: 16.5
87
+ }),
88
+ /* @__PURE__ */ jsx("path", { d: "M19 16v6" }),
89
+ /* @__PURE__ */ jsx("path", { d: "M16 19h6" })
90
+ ]
91
+ });
92
+ }
93
+ /** Leave a public channel: the same cut hash, with a minus. */
94
+ function LeaveChannelIcon(props) {
95
+ return /* @__PURE__ */ jsxs("svg", {
96
+ xmlns: "http://www.w3.org/2000/svg",
97
+ width: 24,
98
+ height: 24,
99
+ viewBox: "0 0 24 24",
100
+ "aria-hidden": "true",
101
+ focusable: "false",
102
+ fill: "none",
103
+ stroke: "currentColor",
104
+ strokeLinecap: "round",
105
+ strokeLinejoin: "round",
106
+ strokeWidth: 2,
107
+ ...props,
108
+ children: [
109
+ /* @__PURE__ */ jsx("line", {
110
+ x1: 4,
111
+ y1: 9,
112
+ x2: 20,
113
+ y2: 9
114
+ }),
115
+ /* @__PURE__ */ jsx("line", {
116
+ x1: 4,
117
+ y1: 15,
118
+ x2: 15.5,
119
+ y2: 15
120
+ }),
121
+ /* @__PURE__ */ jsx("line", {
122
+ x1: 10,
123
+ y1: 3,
124
+ x2: 8,
125
+ y2: 21
126
+ }),
127
+ /* @__PURE__ */ jsx("line", {
128
+ x1: 16,
129
+ y1: 3,
130
+ x2: 14.5,
131
+ y2: 16.5
132
+ }),
133
+ /* @__PURE__ */ jsx("path", { d: "M16 19h6" })
134
+ ]
135
+ });
136
+ }
137
+ /** Join a private channel: Lucide's lock, its body cut short of a plus in the bottom-right corner. */
138
+ function JoinPrivateChannelIcon(props) {
139
+ return /* @__PURE__ */ jsxs("svg", {
140
+ xmlns: "http://www.w3.org/2000/svg",
141
+ width: 24,
142
+ height: 24,
143
+ viewBox: "0 0 24 24",
144
+ "aria-hidden": "true",
145
+ focusable: "false",
146
+ fill: "none",
147
+ stroke: "currentColor",
148
+ strokeLinecap: "round",
149
+ strokeLinejoin: "round",
150
+ strokeWidth: 2,
151
+ ...props,
152
+ children: [
153
+ /* @__PURE__ */ jsx("path", { d: "M21 13a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h9" }),
154
+ /* @__PURE__ */ jsx("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" }),
155
+ /* @__PURE__ */ jsx("path", { d: "M19 16v6" }),
156
+ /* @__PURE__ */ jsx("path", { d: "M16 19h6" })
157
+ ]
158
+ });
159
+ }
160
+ /** Leave a private channel: the same cut lock, with a minus. */
161
+ function LeavePrivateChannelIcon(props) {
162
+ return /* @__PURE__ */ jsxs("svg", {
163
+ xmlns: "http://www.w3.org/2000/svg",
164
+ width: 24,
165
+ height: 24,
166
+ viewBox: "0 0 24 24",
167
+ "aria-hidden": "true",
168
+ focusable: "false",
169
+ fill: "none",
170
+ stroke: "currentColor",
171
+ strokeLinecap: "round",
172
+ strokeLinejoin: "round",
173
+ strokeWidth: 2,
174
+ ...props,
175
+ children: [
176
+ /* @__PURE__ */ jsx("path", { d: "M21 13a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h9" }),
177
+ /* @__PURE__ */ jsx("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" }),
178
+ /* @__PURE__ */ jsx("path", { d: "M16 19h6" })
179
+ ]
180
+ });
181
+ }
182
+ /** Join a joint channel: Lucide's git-branch, with a plus in its empty bottom-right corner. */
183
+ function JoinJointChannelIcon(props) {
184
+ return /* @__PURE__ */ jsxs("svg", {
185
+ xmlns: "http://www.w3.org/2000/svg",
186
+ width: 24,
187
+ height: 24,
188
+ viewBox: "0 0 24 24",
189
+ "aria-hidden": "true",
190
+ focusable: "false",
191
+ fill: "none",
192
+ stroke: "currentColor",
193
+ strokeLinecap: "round",
194
+ strokeLinejoin: "round",
195
+ strokeWidth: 2,
196
+ ...props,
197
+ children: [
198
+ /* @__PURE__ */ jsx("path", { d: "M15 6a9 9 0 0 0-9 9V3" }),
199
+ /* @__PURE__ */ jsx("circle", {
200
+ cx: 18,
201
+ cy: 6,
202
+ r: 3
203
+ }),
204
+ /* @__PURE__ */ jsx("circle", {
205
+ cx: 6,
206
+ cy: 18,
207
+ r: 3
208
+ }),
209
+ /* @__PURE__ */ jsx("path", { d: "M19 16v6" }),
210
+ /* @__PURE__ */ jsx("path", { d: "M16 19h6" })
211
+ ]
212
+ });
213
+ }
214
+ /** Leave a joint channel: Lucide's git-branch, with a minus. */
215
+ function LeaveJointChannelIcon(props) {
216
+ return /* @__PURE__ */ jsxs("svg", {
217
+ xmlns: "http://www.w3.org/2000/svg",
218
+ width: 24,
219
+ height: 24,
220
+ viewBox: "0 0 24 24",
221
+ "aria-hidden": "true",
222
+ focusable: "false",
223
+ fill: "none",
224
+ stroke: "currentColor",
225
+ strokeLinecap: "round",
226
+ strokeLinejoin: "round",
227
+ strokeWidth: 2,
228
+ ...props,
229
+ children: [
230
+ /* @__PURE__ */ jsx("path", { d: "M15 6a9 9 0 0 0-9 9V3" }),
231
+ /* @__PURE__ */ jsx("circle", {
232
+ cx: 18,
233
+ cy: 6,
234
+ r: 3
235
+ }),
236
+ /* @__PURE__ */ jsx("circle", {
237
+ cx: 6,
238
+ cy: 18,
239
+ r: 3
240
+ }),
241
+ /* @__PURE__ */ jsx("path", { d: "M16 19h6" })
242
+ ]
243
+ });
244
+ }
245
+ /** Follow an Artifact: a plus inside ArtifactIcon's page, where its two lines of text were. */
246
+ function FollowArtifactIcon(props) {
247
+ return /* @__PURE__ */ jsxs("svg", {
248
+ xmlns: "http://www.w3.org/2000/svg",
249
+ width: 24,
250
+ height: 24,
251
+ viewBox: "0 0 24 24",
252
+ "aria-hidden": "true",
253
+ focusable: "false",
254
+ fill: "none",
255
+ stroke: "currentColor",
256
+ strokeLinecap: "round",
257
+ strokeLinejoin: "round",
258
+ strokeWidth: 2,
259
+ ...props,
260
+ children: [
261
+ /* @__PURE__ */ jsx("path", { d: "M18 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2Z" }),
262
+ /* @__PURE__ */ jsx("path", { d: "M9 6h6a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Z" }),
263
+ /* @__PURE__ */ jsx("path", { d: "M12 13.5v5" }),
264
+ /* @__PURE__ */ jsx("path", { d: "M9.5 16h5" })
265
+ ]
266
+ });
267
+ }
268
+ /**
269
+ * Unfollow an Artifact: a minus inside ArtifactIcon's page. Below 18px the minus is drawn
270
+ * heavier and a little longer (stroke 3, 6 long, on whole pixels at 16px), so it reads as a
271
+ * mark rather than one more line of the page's text; at 20 and 24 it is the plain minus.
272
+ */
273
+ function UnfollowArtifactIcon(props) {
274
+ return /* @__PURE__ */ jsxs("svg", {
275
+ "data-icon-sizes": "",
276
+ xmlns: "http://www.w3.org/2000/svg",
277
+ width: 24,
278
+ height: 24,
279
+ viewBox: "0 0 24 24",
280
+ "aria-hidden": "true",
281
+ focusable: "false",
282
+ fill: "none",
283
+ stroke: "currentColor",
284
+ strokeLinecap: "round",
285
+ strokeLinejoin: "round",
286
+ strokeWidth: 2,
287
+ ...props,
288
+ children: [
289
+ /* @__PURE__ */ jsx("path", { d: "M18 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2Z" }),
290
+ /* @__PURE__ */ jsx("path", { d: "M9 6h6a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Z" }),
291
+ /* @__PURE__ */ jsx("path", {
292
+ "data-icon-mark": "default",
293
+ d: "M9.5 16h5"
294
+ }),
295
+ /* @__PURE__ */ jsx("path", {
296
+ "data-icon-mark": "small",
297
+ display: "none",
298
+ strokeWidth: 3,
299
+ d: "M9 16.5h6"
300
+ })
301
+ ]
302
+ });
303
+ }
304
+ /** Add a comment: CommentIcon at 24, its bubble cut short of a plus in the bottom-right corner. */
305
+ function AddCommentIcon(props) {
306
+ return /* @__PURE__ */ jsxs("svg", {
307
+ xmlns: "http://www.w3.org/2000/svg",
308
+ width: 24,
309
+ height: 24,
310
+ viewBox: "0 0 24 24",
311
+ "aria-hidden": "true",
312
+ focusable: "false",
313
+ fill: "none",
314
+ stroke: "currentColor",
315
+ strokeLinecap: "round",
316
+ strokeLinejoin: "round",
317
+ strokeWidth: 2,
318
+ ...props,
319
+ children: [
320
+ /* @__PURE__ */ jsx("path", { d: "M21.667 13.55V5.667A2.667 2.667 0 0 0 19 3H5a2.667 2.667 0 0 0-2.667 2.667V15A2.667 2.667 0 0 0 5 17.667h2.667v4l5-4" }),
321
+ /* @__PURE__ */ jsx("path", { d: "M8.5 13a2 2 0 0 0 2-2V7h-2" }),
322
+ /* @__PURE__ */ jsx("path", { d: "M13.5 13a2 2 0 0 0 2-2V7h-2" }),
323
+ /* @__PURE__ */ jsx("path", { d: "M19 16v6" }),
324
+ /* @__PURE__ */ jsx("path", { d: "M16 19h6" })
325
+ ]
326
+ });
327
+ }
328
+ /** Create a task: Lucide's list-todo, a plus in place of its last line. */
329
+ function CreateTaskIcon(props) {
330
+ return /* @__PURE__ */ jsxs("svg", {
331
+ xmlns: "http://www.w3.org/2000/svg",
332
+ width: 24,
333
+ height: 24,
334
+ viewBox: "0 0 24 24",
335
+ "aria-hidden": "true",
336
+ focusable: "false",
337
+ fill: "none",
338
+ stroke: "currentColor",
339
+ strokeLinecap: "round",
340
+ strokeLinejoin: "round",
341
+ strokeWidth: 2,
342
+ ...props,
343
+ children: [
344
+ /* @__PURE__ */ jsx("rect", {
345
+ x: 3,
346
+ y: 4,
347
+ width: 6,
348
+ height: 6,
349
+ rx: 1
350
+ }),
351
+ /* @__PURE__ */ jsx("path", { d: "M13 5h8" }),
352
+ /* @__PURE__ */ jsx("path", { d: "M13 12h8" }),
353
+ /* @__PURE__ */ jsx("path", { d: "m3 17 2 2 4-4" }),
354
+ /* @__PURE__ */ jsx("path", { d: "M19 16v6" }),
355
+ /* @__PURE__ */ jsx("path", { d: "M16 19h6" })
356
+ ]
357
+ });
358
+ }
359
+ /** Reopen a task: a ticked box, broken open at the top by a counter-clockwise arrow (Lucide's rotate-ccw-square with a check). */
360
+ function ReopenTaskIcon(props) {
361
+ return /* @__PURE__ */ jsxs("svg", {
362
+ xmlns: "http://www.w3.org/2000/svg",
363
+ width: 24,
364
+ height: 24,
365
+ viewBox: "0 0 24 24",
366
+ "aria-hidden": "true",
367
+ focusable: "false",
368
+ fill: "none",
369
+ stroke: "currentColor",
370
+ strokeLinecap: "round",
371
+ strokeLinejoin: "round",
372
+ strokeWidth: 2,
373
+ ...props,
374
+ children: [
375
+ /* @__PURE__ */ jsx("path", { d: "M20 13v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2" }),
376
+ /* @__PURE__ */ jsx("path", { d: "M20 9V7a2 2 0 0 0-2-2h-6" }),
377
+ /* @__PURE__ */ jsx("path", { d: "m15 2-3 3 3 3" }),
378
+ /* @__PURE__ */ jsx("path", { d: "m9 12.5 2 2 4-4" })
379
+ ]
380
+ });
381
+ }
382
+ //#endregion
383
+ export { AddCommentIcon, CreateTaskIcon, FollowArtifactIcon, FollowThreadIcon, JoinChannelIcon, JoinJointChannelIcon, JoinPrivateChannelIcon, LeaveChannelIcon, LeaveJointChannelIcon, LeavePrivateChannelIcon, ReopenTaskIcon, UnfollowArtifactIcon, UnfollowThreadIcon };
@@ -0,0 +1,12 @@
1
+ import { SVGProps } from "react";
2
+ //#region src/components/icons/conversation-icons.d.ts
3
+ export type ConversationIconProps = SVGProps<SVGSVGElement>;
4
+ export declare function MessageIcon(props: ConversationIconProps): import("react").JSX.Element;
5
+ export declare function ChatIcon(props: ConversationIconProps): import("react").JSX.Element;
6
+ export declare function DirectMessageIcon(props: ConversationIconProps): import("react").JSX.Element;
7
+ export declare function ThreadIcon(props: ConversationIconProps): import("react").JSX.Element;
8
+ /** A comment, said about a passage: MessageIcon's bubble with quote marks. */
9
+ export declare function CommentIcon(props: ConversationIconProps): import("react").JSX.Element;
10
+ /** Feedback, sent to the people who make Raft: MessageIcon's bubble with an exclamation mark. */
11
+ export declare function FeedbackIcon(props: ConversationIconProps): import("react").JSX.Element;
12
+ //#endregion
@@ -0,0 +1,147 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ //#region src/components/icons/conversation-icons.tsx
3
+ function MessageIcon(props) {
4
+ return /* @__PURE__ */ jsx("svg", {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ width: 18,
7
+ height: 18,
8
+ viewBox: "0 0 18 18",
9
+ "aria-hidden": "true",
10
+ focusable: "false",
11
+ fill: "none",
12
+ stroke: "currentColor",
13
+ strokeLinecap: "round",
14
+ strokeLinejoin: "round",
15
+ strokeWidth: 1.5,
16
+ ...props,
17
+ children: /* @__PURE__ */ jsx("path", { d: "M14.25 2.25H3.75C2.65 2.25 1.75 3.15 1.75 4.25V11.25C1.75 12.35 2.65 13.25 3.75 13.25H5.75V16.25L9.5 13.25H14.25C15.35 13.25 16.25 12.35 16.25 11.25V4.25C16.25 3.15 15.35 2.25 14.25 2.25Z" })
18
+ });
19
+ }
20
+ function ChatIcon(props) {
21
+ return /* @__PURE__ */ jsxs("svg", {
22
+ xmlns: "http://www.w3.org/2000/svg",
23
+ width: 18,
24
+ height: 18,
25
+ viewBox: "0 0 18 18",
26
+ "aria-hidden": "true",
27
+ focusable: "false",
28
+ fill: "none",
29
+ stroke: "currentColor",
30
+ strokeLinecap: "round",
31
+ strokeLinejoin: "round",
32
+ strokeWidth: 1.5,
33
+ ...props,
34
+ children: [
35
+ /* @__PURE__ */ jsx("path", { d: "M14.25 2.25H3.75C2.65 2.25 1.75 3.15 1.75 4.25V11.25C1.75 12.35 2.65 13.25 3.75 13.25H5.75V16.25L9.5 13.25H14.25C15.35 13.25 16.25 12.35 16.25 11.25V4.25C16.25 3.15 15.35 2.25 14.25 2.25Z" }),
36
+ /* @__PURE__ */ jsx("circle", {
37
+ cx: 6.5,
38
+ cy: 7.75,
39
+ r: .75,
40
+ fill: "currentColor",
41
+ stroke: "none"
42
+ }),
43
+ /* @__PURE__ */ jsx("circle", {
44
+ cx: 9,
45
+ cy: 7.75,
46
+ r: .75,
47
+ fill: "currentColor",
48
+ stroke: "none"
49
+ }),
50
+ /* @__PURE__ */ jsx("circle", {
51
+ cx: 11.5,
52
+ cy: 7.75,
53
+ r: .75,
54
+ fill: "currentColor",
55
+ stroke: "none"
56
+ })
57
+ ]
58
+ });
59
+ }
60
+ function DirectMessageIcon(props) {
61
+ return /* @__PURE__ */ jsxs("svg", {
62
+ xmlns: "http://www.w3.org/2000/svg",
63
+ width: 18,
64
+ height: 18,
65
+ viewBox: "0 0 18 18",
66
+ "aria-hidden": "true",
67
+ focusable: "false",
68
+ fill: "none",
69
+ stroke: "currentColor",
70
+ strokeLinecap: "round",
71
+ strokeLinejoin: "round",
72
+ strokeWidth: 1.5,
73
+ ...props,
74
+ children: [
75
+ /* @__PURE__ */ jsx("path", { d: "M16.25 5V4.25C16.25 3.15 15.35 2.25 14.25 2.25H3.75C2.65 2.25 1.75 3.15 1.75 4.25V11.25C1.75 12.35 2.65 13.25 3.75 13.25H5.75V16.25L7.5 14.85" }),
76
+ /* @__PURE__ */ jsx("circle", {
77
+ cx: 14.25,
78
+ cy: 8,
79
+ r: 1.75
80
+ }),
81
+ /* @__PURE__ */ jsx("path", { d: "M11 16.25C11.3 13.65 12.5 12 14.25 12S17.2 13.65 17.5 16.25" })
82
+ ]
83
+ });
84
+ }
85
+ function ThreadIcon(props) {
86
+ return /* @__PURE__ */ jsxs("svg", {
87
+ xmlns: "http://www.w3.org/2000/svg",
88
+ width: 18,
89
+ height: 18,
90
+ viewBox: "0 0 18 18",
91
+ "aria-hidden": "true",
92
+ focusable: "false",
93
+ fill: "none",
94
+ stroke: "currentColor",
95
+ strokeLinecap: "round",
96
+ strokeLinejoin: "round",
97
+ strokeWidth: 1.5,
98
+ ...props,
99
+ children: [/* @__PURE__ */ jsx("path", { d: "M3.5 11.5L1.75 13.25V4.25A2 2 0 0 1 3.75 2.25H11.25" }), /* @__PURE__ */ jsx("path", { d: "M8.25 5H14.5C15.6 5 16.5 5.9 16.5 7V11.75C16.5 12.85 15.6 13.75 14.5 13.75H13V16.25L9.75 13.75H8.25C7.15 13.75 6.25 12.85 6.25 11.75V7C6.25 5.9 7.15 5 8.25 5Z" })]
100
+ });
101
+ }
102
+ /** A comment, said about a passage: MessageIcon's bubble with quote marks. */
103
+ function CommentIcon(props) {
104
+ return /* @__PURE__ */ jsxs("svg", {
105
+ xmlns: "http://www.w3.org/2000/svg",
106
+ width: 18,
107
+ height: 18,
108
+ viewBox: "0 0 18 18",
109
+ "aria-hidden": "true",
110
+ focusable: "false",
111
+ fill: "none",
112
+ stroke: "currentColor",
113
+ strokeLinecap: "round",
114
+ strokeLinejoin: "round",
115
+ strokeWidth: 1.5,
116
+ ...props,
117
+ children: [
118
+ /* @__PURE__ */ jsx("path", { d: "M14.25 2.25H3.75C2.65 2.25 1.75 3.15 1.75 4.25V11.25C1.75 12.35 2.65 13.25 3.75 13.25H5.75V16.25L9.5 13.25H14.25C15.35 13.25 16.25 12.35 16.25 11.25V4.25C16.25 3.15 15.35 2.25 14.25 2.25Z" }),
119
+ /* @__PURE__ */ jsx("path", { d: "M6.375 9.75a1.5 1.5 0 0 0 1.5-1.5V5.25h-1.5" }),
120
+ /* @__PURE__ */ jsx("path", { d: "M10.125 9.75a1.5 1.5 0 0 0 1.5-1.5V5.25h-1.5" })
121
+ ]
122
+ });
123
+ }
124
+ /** Feedback, sent to the people who make Raft: MessageIcon's bubble with an exclamation mark. */
125
+ function FeedbackIcon(props) {
126
+ return /* @__PURE__ */ jsxs("svg", {
127
+ xmlns: "http://www.w3.org/2000/svg",
128
+ width: 18,
129
+ height: 18,
130
+ viewBox: "0 0 18 18",
131
+ "aria-hidden": "true",
132
+ focusable: "false",
133
+ fill: "none",
134
+ stroke: "currentColor",
135
+ strokeLinecap: "round",
136
+ strokeLinejoin: "round",
137
+ strokeWidth: 1.5,
138
+ ...props,
139
+ children: [
140
+ /* @__PURE__ */ jsx("path", { d: "M14.25 2.25H3.75C2.65 2.25 1.75 3.15 1.75 4.25V11.25C1.75 12.35 2.65 13.25 3.75 13.25H5.75V16.25L9.5 13.25H14.25C15.35 13.25 16.25 12.35 16.25 11.25V4.25C16.25 3.15 15.35 2.25 14.25 2.25Z" }),
141
+ /* @__PURE__ */ jsx("path", { d: "M9 4.75v3" }),
142
+ /* @__PURE__ */ jsx("path", { d: "M9 10.5h.01" })
143
+ ]
144
+ });
145
+ }
146
+ //#endregion
147
+ export { ChatIcon, CommentIcon, DirectMessageIcon, FeedbackIcon, MessageIcon, ThreadIcon };
@@ -0,0 +1,4 @@
1
+ import { ActionIconProps, AddCommentIcon, CreateTaskIcon, FollowArtifactIcon, FollowThreadIcon, JoinChannelIcon, JoinJointChannelIcon, JoinPrivateChannelIcon, LeaveChannelIcon, LeaveJointChannelIcon, LeavePrivateChannelIcon, ReopenTaskIcon, UnfollowArtifactIcon, UnfollowThreadIcon } from "./action-icons.mjs";
2
+ import { ChatIcon, CommentIcon, ConversationIconProps, DirectMessageIcon, FeedbackIcon, MessageIcon, ThreadIcon } from "./conversation-icons.mjs";
3
+ import { ArtifactIcon, ObjectIconProps } from "./object-icons.mjs";
4
+ export { type ActionIconProps, AddCommentIcon, ArtifactIcon, ChatIcon, CommentIcon, type ConversationIconProps, CreateTaskIcon, DirectMessageIcon, FeedbackIcon, FollowArtifactIcon, FollowThreadIcon, JoinChannelIcon, JoinJointChannelIcon, JoinPrivateChannelIcon, LeaveChannelIcon, LeaveJointChannelIcon, LeavePrivateChannelIcon, MessageIcon, type ObjectIconProps, ReopenTaskIcon, ThreadIcon, UnfollowArtifactIcon, UnfollowThreadIcon };
@@ -0,0 +1,6 @@
1
+ import { SVGProps } from "react";
2
+ //#region src/components/icons/object-icons.d.ts
3
+ export type ObjectIconProps = SVGProps<SVGSVGElement>;
4
+ /** An Artifact, a page someone made: a page with no dog-ear, a header block and two lines of text. */
5
+ export declare function ArtifactIcon(props: ObjectIconProps): import("react").JSX.Element;
6
+ //#endregion
@@ -0,0 +1,27 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ //#region src/components/icons/object-icons.tsx
3
+ /** An Artifact, a page someone made: a page with no dog-ear, a header block and two lines of text. */
4
+ function ArtifactIcon(props) {
5
+ return /* @__PURE__ */ jsxs("svg", {
6
+ xmlns: "http://www.w3.org/2000/svg",
7
+ width: 24,
8
+ height: 24,
9
+ viewBox: "0 0 24 24",
10
+ "aria-hidden": "true",
11
+ focusable: "false",
12
+ fill: "none",
13
+ stroke: "currentColor",
14
+ strokeLinecap: "round",
15
+ strokeLinejoin: "round",
16
+ strokeWidth: 2,
17
+ ...props,
18
+ children: [
19
+ /* @__PURE__ */ jsx("path", { d: "M18 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2Z" }),
20
+ /* @__PURE__ */ jsx("path", { d: "M9 6h6a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Z" }),
21
+ /* @__PURE__ */ jsx("path", { d: "M8 14h8" }),
22
+ /* @__PURE__ */ jsx("path", { d: "M8 18h4" })
23
+ ]
24
+ });
25
+ }
26
+ //#endregion
27
+ export { ArtifactIcon };
@@ -0,0 +1,13 @@
1
+ import { useRender } from "@base-ui/react/use-render";
2
+ //#region src/components/inbox-item/inbox-item-leading-badge.d.ts
3
+ export type InboxItemLeadingBadgeProps = useRender.ComponentProps<"span">;
4
+ /**
5
+ * A small badge in the bottom-right corner of `InboxItemLeading`, the corner a
6
+ * presence light takes: on a thread row, the thread mark, on the channel's
7
+ * `IconTile` or on the direct message's `Avatar` alike. Put it inside
8
+ * `InboxItemLeading`, after the tile or avatar, with one icon as its child;
9
+ * leave the avatar's `AvatarBadge` out, since the corner holds one mark. It
10
+ * is hidden from assistive technology unless given a `role`.
11
+ */
12
+ export declare function InboxItemLeadingBadge({ className, render, ...props }: InboxItemLeadingBadgeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
13
+ //#endregion
@@ -0,0 +1,27 @@
1
+ import { inboxItem } from "./inbox-item.recipe.mjs";
2
+ import { mergeProps } from "@base-ui/react/merge-props";
3
+ import { useRender } from "@base-ui/react/use-render";
4
+ //#region src/components/inbox-item/inbox-item-leading-badge.tsx
5
+ /**
6
+ * A small badge in the bottom-right corner of `InboxItemLeading`, the corner a
7
+ * presence light takes: on a thread row, the thread mark, on the channel's
8
+ * `IconTile` or on the direct message's `Avatar` alike. Put it inside
9
+ * `InboxItemLeading`, after the tile or avatar, with one icon as its child;
10
+ * leave the avatar's `AvatarBadge` out, since the corner holds one mark. It
11
+ * is hidden from assistive technology unless given a `role`.
12
+ */
13
+ function InboxItemLeadingBadge({ className, render, ...props }) {
14
+ const { itemLeadingBadge } = inboxItem();
15
+ const defaultProps = {
16
+ "data-slot": "inbox-item-leading-badge",
17
+ "aria-hidden": props.role ? void 0 : true,
18
+ className: itemLeadingBadge({ className })
19
+ };
20
+ return useRender({
21
+ defaultTagName: "span",
22
+ render,
23
+ props: mergeProps(defaultProps, props)
24
+ });
25
+ }
26
+ //#endregion
27
+ export { InboxItemLeadingBadge };
@@ -0,0 +1,46 @@
1
+ import { InboxItemDensity, InboxItemProps } from "./inbox-item.mjs";
2
+ import { useRender } from "@base-ui/react/use-render";
3
+ //#region src/components/inbox-item/inbox-item-skeleton.d.ts
4
+ type InboxItemSkeletonShape = {
5
+ /** The density of the rows it stands for. */
6
+ density?: InboxItemDensity;
7
+ /** A 35px block where the rows have an `InboxItemLeading` avatar or tile. */
8
+ leading?: boolean;
9
+ /** A context line above the title, where the rows have an `InboxItemContext`. */
10
+ context?: boolean;
11
+ };
12
+ export type InboxItemSkeletonProps = Omit<InboxItemProps, "active" | "disabled" | "children"> & InboxItemSkeletonShape;
13
+ /**
14
+ * A placeholder for one `InboxItem` while the list loads. It is an
15
+ * `InboxItem` itself, with the same parts as the loaded row (an optional
16
+ * leading block, the context line, the title, the excerpt, the timestamp),
17
+ * each holding a bar instead of text. The padding, the divider and every
18
+ * line's height are the loaded row's, so nothing moves when the content
19
+ * arrives. Match `density`, `leading` and `context` to the rows it stands for.
20
+ * Hidden from assistive technology: mark the region that stays while the
21
+ * list loads `aria-busy`.
22
+ */
23
+ export declare function InboxItemSkeleton({ density, leading, context, ...props }: InboxItemSkeletonProps): import("react").JSX.Element;
24
+ export type InboxItemSkeletonListProps = useRender.ComponentProps<"div"> & InboxItemSkeletonShape & {
25
+ /** How many rows to show. About a screenful; ignored when there are children. */
26
+ count?: number;
27
+ /**
28
+ * Milliseconds to wait before the rows appear, so a fast load doesn't
29
+ * flash them (Feedback, "Empty, loading and failed"). The list is empty
30
+ * until then. A list skeleton is only for a slow load, so it waits 1
31
+ * second by default; pass `0` to show the rows at once.
32
+ */
33
+ delay?: number;
34
+ };
35
+ /**
36
+ * The list of `InboxItemSkeleton` rows that stands in for a list of
37
+ * `InboxItem` rows while it loads, with nothing between or around the rows
38
+ * that the loaded list doesn't have (no border, no card): only the list's
39
+ * 2px gap, which the loaded list has too (design/patterns/lists.md). Renders
40
+ * `count` rows of the given shape, or its children, once `delay` (1 second by
41
+ * default) has passed. It isn't `aria-busy` itself: it goes away when the
42
+ * content arrives, so mark the region that stays, such as the list's panel or
43
+ * viewport, `aria-busy` while it loads.
44
+ */
45
+ export declare function InboxItemSkeletonList({ count, delay, density, leading, context, children, className, render, ...props }: InboxItemSkeletonListProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
46
+ //#endregion