@botiverse/raft-ui 0.50.0 → 0.52.0

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 +32 -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 -17053
  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 -1222
  581. package/dist/wip.mjs +43 -3079
  582. package/package.json +8 -1
  583. package/dist/inbox-item-B4nNvpp1.d.mts +0 -1784
  584. package/dist/inbox-item-DHJOrxB8.mjs +0 -7454
  585. package/dist/style.css +0 -1395
@@ -0,0 +1,24 @@
1
+ import { tv } from "../../lib/tv.mjs";
2
+ //#region src/components/panel/panel.recipe.ts
3
+ const panel = tv({
4
+ slots: {
5
+ root: ["[--panel-footer-clearance:10rem]", "bg-layer-canvas text-foreground"],
6
+ header: ["[@media(max-height:600px)]:h-12"],
7
+ body: ["relative min-h-0 flex-1 overflow-hidden"],
8
+ scrollViewport: ["h-full min-h-0 overflow-y-auto overscroll-contain", "[overflow-anchor:auto] [-webkit-overflow-scrolling:touch]"],
9
+ scrollContent: ["min-h-full"],
10
+ section: ["border-t px-5 py-4", "border-line-hairline"],
11
+ footer: [
12
+ "relative flex shrink-0 items-center pt-3",
13
+ "bg-layer-canvas",
14
+ "px-(--column-margin)",
15
+ "pb-[calc(env(safe-area-inset-bottom)+1rem)] max-md:pb-[calc(env(safe-area-inset-bottom)+0.5rem)]"
16
+ ]
17
+ },
18
+ variants: { edge: {
19
+ inset: { root: "group/panel-frame" },
20
+ attached: { root: ["group/panel-frame", "border-l border-line-seam max-md:border-l-0"] }
21
+ } }
22
+ });
23
+ //#endregion
24
+ export { panel };
@@ -0,0 +1,2 @@
1
+ import { PickerTriggerButton, PickerTriggerButtonProps } from "./picker-trigger-button.mjs";
2
+ export { PickerTriggerButton, type PickerTriggerButtonProps };
@@ -0,0 +1,7 @@
1
+ import { StyledProps } from "../../lib/styled-props.mjs";
2
+ import { DataAttributes } from "../../lib/data-attributes.mjs";
3
+ import { Button } from "@base-ui/react/button";
4
+ //#region src/components/picker-trigger-button/picker-trigger-button.d.ts
5
+ export type PickerTriggerButtonProps = StyledProps<Button.Props> & DataAttributes;
6
+ export declare function PickerTriggerButton({ className, render, nativeButton, ...props }: PickerTriggerButtonProps): import("react").JSX.Element;
7
+ //#endregion
@@ -0,0 +1,36 @@
1
+ import { tv } from "../../lib/tv.mjs";
2
+ import { defaultNativeButton } from "../../lib/default-native-button.mjs";
3
+ import { jsx } from "react/jsx-runtime";
4
+ import { Button } from "@base-ui/react/button";
5
+ //#region src/components/picker-trigger-button/picker-trigger-button.tsx
6
+ const pickerTriggerButton = tv({ base: [
7
+ "relative inline-flex h-8 shrink-0 items-center justify-center",
8
+ "whitespace-nowrap select-none",
9
+ "outline-[1px] outline-offset-2 outline-transparent transition-colors duration-100 focus-visible:outline-transparent",
10
+ "disabled:pointer-events-none disabled:transform-none",
11
+ "has-data-[icon=inline-start]:pl-2.5 has-data-[icon=inline-end]:pr-2.5",
12
+ "[&_svg]:pointer-events-none [&_svg]:shrink-0 **:data-icon:size-[1em]",
13
+ "gap-1.5 rounded-control border-0 bg-transparent px-2.5 py-0",
14
+ "font-sans text-control font-semibold text-foreground-muted",
15
+ "inset-ring inset-ring-line-seam",
16
+ "hover:bg-fill-medium active:bg-fill-medium",
17
+ "data-has-value:bg-info-soft data-has-value:text-foreground data-has-value:inset-ring-0",
18
+ "data-has-value:hover:bg-info-soft data-has-value:hover:overlay-medium data-has-value:active:overlay-medium",
19
+ "data-invalid:inset-ring data-invalid:inset-ring-danger-strong",
20
+ "focus-visible:shadow-focus",
21
+ "disabled:bg-fill-muted disabled:text-foreground-disabled disabled:opacity-100 disabled:inset-ring-0",
22
+ "[&_svg:not([class*='size-'])]:size-3.5 [&_svg:not([class*='stroke-'])]:stroke-2",
23
+ "**:data-picker-trigger-indicator:text-foreground-hint **:data-picker-trigger-indicator:opacity-100",
24
+ "[&_[data-picker-trigger-indicator]>svg]:size-3.5 [&_[data-picker-trigger-indicator]>svg]:stroke-2 [&_[data-picker-trigger-indicator]>svg_*]:stroke-2"
25
+ ] });
26
+ function PickerTriggerButton({ className, render, nativeButton, ...props }) {
27
+ return /* @__PURE__ */ jsx(Button, {
28
+ ...props,
29
+ render,
30
+ nativeButton: nativeButton ?? defaultNativeButton(render),
31
+ "data-slot": "picker-trigger-button",
32
+ className: pickerTriggerButton({ className })
33
+ });
34
+ }
35
+ //#endregion
36
+ export { PickerTriggerButton };
@@ -0,0 +1,2 @@
1
+ import { Popover, PopoverArrow, PopoverArrowProps, PopoverBackdrop, PopoverBackdropProps, PopoverClose, PopoverCloseProps, PopoverContent, PopoverContentProps, PopoverDescription, PopoverDescriptionProps, PopoverHeader, PopoverHeaderProps, PopoverPopup, PopoverPopupProps, PopoverPortal, PopoverPortalProps, PopoverProps, PopoverSeparator, PopoverSeparatorProps, PopoverTitle, PopoverTitleProps, PopoverTrigger, PopoverTriggerProps, PopoverViewport, PopoverViewportProps } from "./popover.mjs";
2
+ export { Popover, PopoverArrow, type PopoverArrowProps, PopoverBackdrop, type PopoverBackdropProps, PopoverClose, type PopoverCloseProps, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, PopoverPopup, type PopoverPopupProps, PopoverPortal, type PopoverPortalProps, type PopoverProps, PopoverSeparator, type PopoverSeparatorProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, PopoverViewport, type PopoverViewportProps };
@@ -0,0 +1,41 @@
1
+ import { StyledProps } from "../../lib/styled-props.mjs";
2
+ import { ComponentPropsWithRef } from "react";
3
+ import { Popover } from "@base-ui/react/popover";
4
+ //#region src/components/popover/popover.d.ts
5
+ export type PopoverProps = Popover.Root.Props;
6
+ declare function Popover$1(props: PopoverProps): import("react").JSX.Element;
7
+ export type PopoverTriggerProps = StyledProps<Popover.Trigger.Props>;
8
+ export declare function PopoverTrigger({ className, ...props }: PopoverTriggerProps): import("react").JSX.Element;
9
+ export type PopoverPortalProps = Popover.Portal.Props;
10
+ export declare function PopoverPortal(props: PopoverPortalProps): import("react").JSX.Element;
11
+ export type PopoverPopupProps = ComponentPropsWithRef<"div">;
12
+ export declare function PopoverPopup({ className, ...props }: PopoverPopupProps): import("react").JSX.Element;
13
+ export type PopoverContentProps = StyledProps<Popover.Popup.Props> & Pick<Popover.Positioner.Props, "align" | "alignOffset" | "anchor" | "arrowPadding" | "collisionAvoidance" | "collisionBoundary" | "collisionPadding" | "disableAnchorTracking" | "positionMethod" | "side" | "sideOffset" | "sticky"> & {
14
+ container?: PopoverPortalProps["container"];
15
+ portalProps?: PopoverPortalProps;
16
+ };
17
+ export declare function PopoverContent({ align, alignOffset, anchor, arrowPadding, collisionAvoidance, collisionBoundary, collisionPadding, disableAnchorTracking, positionMethod, side, sideOffset, sticky, container, portalProps, className, ...props }: PopoverContentProps): import("react").JSX.Element;
18
+ export type PopoverViewportProps = StyledProps<Popover.Viewport.Props>;
19
+ export declare function PopoverViewport({ className, ...props }: PopoverViewportProps): import("react").JSX.Element;
20
+ export type PopoverHeaderProps = ComponentPropsWithRef<"div">;
21
+ export declare function PopoverHeader({ className, ...props }: PopoverHeaderProps): import("react").JSX.Element;
22
+ export type PopoverSeparatorProps = StyledProps<ComponentPropsWithRef<"div">>;
23
+ export declare function PopoverSeparator({ className, ...props }: PopoverSeparatorProps): import("react").JSX.Element;
24
+ export type PopoverTitleProps = StyledProps<Popover.Title.Props>;
25
+ export declare function PopoverTitle({ className, ...props }: PopoverTitleProps): import("react").JSX.Element;
26
+ export type PopoverDescriptionProps = StyledProps<Popover.Description.Props>;
27
+ export declare function PopoverDescription({ className, ...props }: PopoverDescriptionProps): import("react").JSX.Element;
28
+ export type PopoverCloseProps = StyledProps<Popover.Close.Props>;
29
+ export declare function PopoverClose({ className, ...props }: PopoverCloseProps): import("react").JSX.Element;
30
+ export type PopoverArrowProps = StyledProps<Popover.Arrow.Props>;
31
+ export declare function PopoverArrow({ className, ...props }: PopoverArrowProps): import("react").JSX.Element;
32
+ export type PopoverBackdropProps = StyledProps<Popover.Backdrop.Props>;
33
+ export declare function PopoverBackdrop({ className, ...props }: PopoverBackdropProps): import("react").JSX.Element;
34
+ export type PopoverBodyProps = ComponentPropsWithRef<"div">;
35
+ /** The panel's text: a `PopoverTitle` and a `PopoverDescription`, 16px in from its edges. */
36
+ export declare function PopoverBody({ className, ...props }: PopoverBodyProps): import("react").JSX.Element;
37
+ export type PopoverActionsProps = ComponentPropsWithRef<"div">;
38
+ /** The panel's buttons, at its end, under `PopoverBody`: the way out first, then the confirm button. */
39
+ export declare function PopoverActions({ className, ...props }: PopoverActionsProps): import("react").JSX.Element;
40
+ //#endregion
41
+ export { Popover$1 as Popover };
@@ -0,0 +1,184 @@
1
+ import { tv } from "../../lib/tv.mjs";
2
+ import { useThemeScopeProps } from "../../lib/theme/theme-scope.mjs";
3
+ import { usePopupCollisionPadding } from "../../lib/frame-insets.mjs";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { Popover } from "@base-ui/react/popover";
6
+ //#region src/components/popover/popover.tsx
7
+ const popover = tv({ slots: {
8
+ trigger: ["select-none"],
9
+ positioner: ["isolate z-50 outline-none"],
10
+ content: [
11
+ "max-h-(--available-height) min-w-[220px] overflow-hidden",
12
+ "outline-none",
13
+ "rounded-container bg-layer-popover text-foreground",
14
+ "shadow-float ring-1 ring-line-seam"
15
+ ],
16
+ header: ["flex items-center justify-between px-3", "min-h-11 gap-2 py-1.5 pr-1.5 pl-4"],
17
+ body: ["flex min-w-0 flex-col gap-1.5", "px-4 pt-4 pb-3 last:pb-4"],
18
+ actions: ["flex flex-wrap items-center justify-end gap-2", "px-4 pb-3 last:pb-4"],
19
+ separator: ["border-t", "border-line-hairline"],
20
+ title: ["m-0", "font-sans text-headline font-bold text-foreground"],
21
+ description: ["m-0", "font-sans text-footnote text-foreground-muted"],
22
+ close: [
23
+ "inline-flex items-center justify-center",
24
+ "outline-none transition-colors",
25
+ "h-8 min-w-8 rounded-chip px-1.5",
26
+ "font-sans text-footnote font-bold text-foreground",
27
+ "hover:bg-fill-medium active:bg-fill-medium",
28
+ "focus-visible:shadow-focus",
29
+ "[&_svg]:size-4.5"
30
+ ],
31
+ arrow: ["size-2 rotate-45", "border-l border-t border-line-seam bg-layer-popover"],
32
+ backdrop: ["fixed inset-0", "bg-transparent"],
33
+ viewport: ["block"]
34
+ } });
35
+ function Popover$1(props) {
36
+ return /* @__PURE__ */ jsx(Popover.Root, {
37
+ "data-slot": "popover",
38
+ ...props
39
+ });
40
+ }
41
+ function PopoverTrigger({ className, ...props }) {
42
+ const { trigger } = popover();
43
+ return /* @__PURE__ */ jsx(Popover.Trigger, {
44
+ "data-slot": "popover-trigger",
45
+ className: trigger({ className }),
46
+ ...props
47
+ });
48
+ }
49
+ function PopoverPortal(props) {
50
+ return /* @__PURE__ */ jsx(Popover.Portal, {
51
+ "data-slot": "popover-portal",
52
+ ...useThemeScopeProps(props)
53
+ });
54
+ }
55
+ function PopoverPopup({ className, ...props }) {
56
+ const { content } = popover();
57
+ return /* @__PURE__ */ jsx("div", {
58
+ "data-slot": "popover-content",
59
+ className: content({ className }),
60
+ ...props
61
+ });
62
+ }
63
+ function PopoverFramePositioner({ collisionPadding, container, ...props }) {
64
+ const padding = usePopupCollisionPadding(collisionPadding, 5, container);
65
+ return /* @__PURE__ */ jsx(Popover.Positioner, {
66
+ collisionPadding: padding,
67
+ ...props
68
+ });
69
+ }
70
+ function PopoverContent({ align = "start", alignOffset = 0, anchor, arrowPadding, collisionAvoidance, collisionBoundary, collisionPadding, disableAnchorTracking, positionMethod = "fixed", side = "bottom", sideOffset = 4, sticky, container, portalProps, className, ...props }) {
71
+ const { positioner, content } = popover();
72
+ const portalContainer = container !== void 0 ? container : portalProps?.container;
73
+ return /* @__PURE__ */ jsx(PopoverPortal, {
74
+ ...portalProps,
75
+ container: portalContainer,
76
+ children: /* @__PURE__ */ jsx(PopoverFramePositioner, {
77
+ align,
78
+ alignOffset,
79
+ anchor,
80
+ arrowPadding,
81
+ collisionAvoidance,
82
+ collisionBoundary,
83
+ collisionPadding,
84
+ container: portalContainer,
85
+ disableAnchorTracking,
86
+ positionMethod,
87
+ side,
88
+ sideOffset,
89
+ sticky,
90
+ className: positioner(),
91
+ children: /* @__PURE__ */ jsx(Popover.Popup, {
92
+ "data-slot": "popover-content",
93
+ className: content({ className }),
94
+ ...props
95
+ })
96
+ })
97
+ });
98
+ }
99
+ function PopoverViewport({ className, ...props }) {
100
+ const { viewport } = popover();
101
+ return /* @__PURE__ */ jsx(Popover.Viewport, {
102
+ "data-slot": "popover-viewport",
103
+ className: viewport({ className }),
104
+ ...props
105
+ });
106
+ }
107
+ function PopoverHeader({ className, ...props }) {
108
+ const { header } = popover();
109
+ return /* @__PURE__ */ jsx("div", {
110
+ "data-slot": "popover-header",
111
+ className: header({ className }),
112
+ ...props
113
+ });
114
+ }
115
+ function PopoverSeparator({ className, ...props }) {
116
+ const { separator } = popover();
117
+ return /* @__PURE__ */ jsx("div", {
118
+ role: "separator",
119
+ "aria-orientation": "horizontal",
120
+ "data-slot": "popover-separator",
121
+ className: separator({ className }),
122
+ ...props
123
+ });
124
+ }
125
+ function PopoverTitle({ className, ...props }) {
126
+ const { title } = popover();
127
+ return /* @__PURE__ */ jsx(Popover.Title, {
128
+ "data-slot": "popover-title",
129
+ className: title({ className }),
130
+ ...props
131
+ });
132
+ }
133
+ function PopoverDescription({ className, ...props }) {
134
+ const { description } = popover();
135
+ return /* @__PURE__ */ jsx(Popover.Description, {
136
+ "data-slot": "popover-description",
137
+ className: description({ className }),
138
+ ...props
139
+ });
140
+ }
141
+ function PopoverClose({ className, ...props }) {
142
+ const { close } = popover();
143
+ return /* @__PURE__ */ jsx(Popover.Close, {
144
+ "data-slot": "popover-close",
145
+ className: close({ className }),
146
+ ...props
147
+ });
148
+ }
149
+ function PopoverArrow({ className, ...props }) {
150
+ const { arrow } = popover();
151
+ return /* @__PURE__ */ jsx(Popover.Arrow, {
152
+ "data-slot": "popover-arrow",
153
+ className: arrow({ className }),
154
+ ...props
155
+ });
156
+ }
157
+ function PopoverBackdrop({ className, ...props }) {
158
+ const { backdrop } = popover();
159
+ return /* @__PURE__ */ jsx(Popover.Backdrop, {
160
+ "data-slot": "popover-backdrop",
161
+ className: backdrop({ className }),
162
+ ...props
163
+ });
164
+ }
165
+ /** The panel's text: a `PopoverTitle` and a `PopoverDescription`, 16px in from its edges. */
166
+ function PopoverBody({ className, ...props }) {
167
+ const { body } = popover();
168
+ return /* @__PURE__ */ jsx("div", {
169
+ "data-slot": "popover-body",
170
+ className: body({ className }),
171
+ ...props
172
+ });
173
+ }
174
+ /** The panel's buttons, at its end, under `PopoverBody`: the way out first, then the confirm button. */
175
+ function PopoverActions({ className, ...props }) {
176
+ const { actions } = popover();
177
+ return /* @__PURE__ */ jsx("div", {
178
+ "data-slot": "popover-actions",
179
+ className: actions({ className }),
180
+ ...props
181
+ });
182
+ }
183
+ //#endregion
184
+ export { Popover$1 as Popover, PopoverActions, PopoverArrow, PopoverBackdrop, PopoverBody, PopoverClose, PopoverContent, PopoverDescription, PopoverHeader, PopoverPopup, PopoverPortal, PopoverSeparator, PopoverTitle, PopoverTrigger, PopoverViewport };
@@ -0,0 +1,2 @@
1
+ import { PreviewCard, PreviewCardActions, PreviewCardActionsProps, PreviewCardArrow, PreviewCardArrowProps, PreviewCardBody, PreviewCardBodyProps, PreviewCardContent, PreviewCardContentProps, PreviewCardDescription, PreviewCardDescriptionProps, PreviewCardEyebrow, PreviewCardEyebrowProps, PreviewCardFooter, PreviewCardFooterProps, PreviewCardHeader, PreviewCardHeaderProps, PreviewCardMeta, PreviewCardMetaProps, PreviewCardPopup, PreviewCardPopupProps, PreviewCardPortal, PreviewCardPortalProps, PreviewCardProps, PreviewCardSeparator, PreviewCardSeparatorProps, PreviewCardTitle, PreviewCardTitleProps, PreviewCardTrigger, PreviewCardTriggerProps } from "./preview-card.mjs";
2
+ export { PreviewCard, PreviewCardActions, type PreviewCardActionsProps, PreviewCardArrow, type PreviewCardArrowProps, PreviewCardBody, type PreviewCardBodyProps, PreviewCardContent, type PreviewCardContentProps, PreviewCardDescription, type PreviewCardDescriptionProps, PreviewCardEyebrow, type PreviewCardEyebrowProps, PreviewCardFooter, type PreviewCardFooterProps, PreviewCardHeader, type PreviewCardHeaderProps, PreviewCardMeta, type PreviewCardMetaProps, PreviewCardPopup, type PreviewCardPopupProps, PreviewCardPortal, type PreviewCardPortalProps, type PreviewCardProps, PreviewCardSeparator, type PreviewCardSeparatorProps, PreviewCardTitle, type PreviewCardTitleProps, PreviewCardTrigger, type PreviewCardTriggerProps };
@@ -0,0 +1,43 @@
1
+ import { StyledProps } from "../../lib/styled-props.mjs";
2
+ import { ComponentPropsWithRef } from "react";
3
+ import { PreviewCard } from "@base-ui/react/preview-card";
4
+ //#region src/components/preview-card/preview-card.d.ts
5
+ export type PreviewCardProps = PreviewCard.Root.Props;
6
+ declare function PreviewCard$1(props: PreviewCardProps): import("react").JSX.Element;
7
+ export type PreviewCardTriggerProps = StyledProps<PreviewCard.Trigger.Props>;
8
+ export declare function PreviewCardTrigger({ delay, closeDelay, className, ...props }: PreviewCardTriggerProps): import("react").JSX.Element;
9
+ export type PreviewCardPortalProps = PreviewCard.Portal.Props;
10
+ export declare function PreviewCardPortal(props: PreviewCardPortalProps): import("react").JSX.Element;
11
+ export type PreviewCardPopupProps = ComponentPropsWithRef<"div">;
12
+ export declare function PreviewCardPopup({ className, ...props }: PreviewCardPopupProps): import("react").JSX.Element;
13
+ export type PreviewCardContentProps = StyledProps<PreviewCard.Popup.Props> & Pick<PreviewCard.Positioner.Props, "align" | "alignOffset" | "anchor" | "arrowPadding" | "collisionAvoidance" | "collisionBoundary" | "collisionPadding" | "disableAnchorTracking" | "positionMethod" | "side" | "sideOffset" | "sticky"> & {
14
+ portalProps?: PreviewCardPortalProps;
15
+ };
16
+ export declare function PreviewCardContent({ align, alignOffset, anchor, arrowPadding, collisionAvoidance, collisionBoundary, collisionPadding, disableAnchorTracking, positionMethod, side, sideOffset, sticky, portalProps, className, ...props }: PreviewCardContentProps): import("react").JSX.Element;
17
+ export type PreviewCardHeaderProps = ComponentPropsWithRef<"div">;
18
+ export declare function PreviewCardHeader({ className, ...props }: PreviewCardHeaderProps): import("react").JSX.Element;
19
+ export type PreviewCardSeparatorProps = StyledProps<ComponentPropsWithRef<"div">>;
20
+ export declare function PreviewCardSeparator({ className, ...props }: PreviewCardSeparatorProps): import("react").JSX.Element;
21
+ export type PreviewCardTitleProps = ComponentPropsWithRef<"p">;
22
+ export declare function PreviewCardTitle({ className, ...props }: PreviewCardTitleProps): import("react").JSX.Element;
23
+ export type PreviewCardDescriptionProps = ComponentPropsWithRef<"p">;
24
+ export declare function PreviewCardDescription({ className, ...props }: PreviewCardDescriptionProps): import("react").JSX.Element;
25
+ export type PreviewCardArrowProps = StyledProps<PreviewCard.Arrow.Props>;
26
+ export declare function PreviewCardArrow({ className, ...props }: PreviewCardArrowProps): import("react").JSX.Element;
27
+ export type PreviewCardBodyProps = ComponentPropsWithRef<"div">;
28
+ /** The item card's block: the id line, the title and the details row, in that order. */
29
+ export declare function PreviewCardBody({ className, ...props }: PreviewCardBodyProps): import("react").JSX.Element;
30
+ export type PreviewCardEyebrowProps = ComponentPropsWithRef<"p">;
31
+ /** The muted line above the title that identifies the item, such as its id. One line, truncated. */
32
+ export declare function PreviewCardEyebrow({ className, ...props }: PreviewCardEyebrowProps): import("react").JSX.Element;
33
+ export type PreviewCardMetaProps = ComponentPropsWithRef<"div">;
34
+ /** The row under the title: one state chip, then muted details. Wraps when it runs out of room. */
35
+ export declare function PreviewCardMeta({ className, ...props }: PreviewCardMetaProps): import("react").JSX.Element;
36
+ export type PreviewCardActionsProps = ComponentPropsWithRef<"div">;
37
+ /** The row of at most two buttons. */
38
+ export declare function PreviewCardActions({ className, ...props }: PreviewCardActionsProps): import("react").JSX.Element;
39
+ export type PreviewCardFooterProps = ComponentPropsWithRef<"p">;
40
+ /** The caption under a hairline at the bottom of the card: where the item comes from. */
41
+ export declare function PreviewCardFooter({ className, ...props }: PreviewCardFooterProps): import("react").JSX.Element;
42
+ //#endregion
43
+ export { PreviewCard$1 as PreviewCard };
@@ -0,0 +1,197 @@
1
+ import { tv } from "../../lib/tv.mjs";
2
+ import { useTheme } from "../../lib/theme/use-theme.mjs";
3
+ import { resolveThemeScopeProps, useThemeScopeProps } from "../../lib/theme/theme-scope.mjs";
4
+ import { usePopupCollisionPadding } from "../../lib/frame-insets.mjs";
5
+ import { jsx } from "react/jsx-runtime";
6
+ import { PreviewCard } from "@base-ui/react/preview-card";
7
+ //#region src/components/preview-card/preview-card.tsx
8
+ const previewCard = tv({ slots: {
9
+ trigger: [],
10
+ positioner: ["isolate z-50 outline-none"],
11
+ popup: [
12
+ "max-h-(--available-height) min-w-[220px] overflow-hidden",
13
+ "outline-none",
14
+ "origin-(--transform-origin) transform-gpu opacity-100 will-change-[transform,opacity]",
15
+ "transition-[opacity,transform] duration-250 ease-[cubic-bezier(0.22,1,0.36,1)]",
16
+ "data-starting-style:scale-[0.97] data-starting-style:opacity-0",
17
+ "data-ending-style:scale-[0.99] data-ending-style:opacity-0 data-ending-style:duration-150",
18
+ "data-instant:transition-none motion-reduce:transition-none",
19
+ "w-[300px] rounded-container bg-layer-popover text-foreground",
20
+ "shadow-float ring-1 ring-line-seam"
21
+ ],
22
+ header: ["flex items-start gap-3", "px-4 pt-4 pb-3 last:pb-4"],
23
+ separator: ["border-t", "border-line-hairline"],
24
+ title: ["m-0 truncate", "font-sans text-headline font-bold text-foreground"],
25
+ description: ["m-0 truncate", "px-4 py-3 last:pb-4 font-sans text-callout text-foreground-muted"],
26
+ arrow: ["size-2 rotate-45", "border-l border-t border-line-seam bg-layer-popover"],
27
+ body: [
28
+ "flex min-w-0 flex-col gap-1.5",
29
+ "px-4 pt-4 pb-3 last:pb-4",
30
+ "*:data-[slot=preview-card-title]:line-clamp-3 *:data-[slot=preview-card-title]:whitespace-normal"
31
+ ],
32
+ eyebrow: ["m-0 truncate", "font-mono text-mono-meta text-foreground-muted"],
33
+ meta: ["flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1", "m-0 font-sans text-callout text-foreground-muted"],
34
+ actions: ["flex flex-wrap items-center gap-2", "px-4 pb-3 last:pb-4"],
35
+ footer: [
36
+ "m-0 truncate",
37
+ "border-t border-line-hairline px-4 py-2",
38
+ "font-sans text-caption text-foreground-muted"
39
+ ]
40
+ } });
41
+ function PreviewCard$1(props) {
42
+ return /* @__PURE__ */ jsx(PreviewCard.Root, {
43
+ "data-slot": "preview-card",
44
+ ...props
45
+ });
46
+ }
47
+ function PreviewCardTrigger({ delay = 80, closeDelay = 40, className, ...props }) {
48
+ const { trigger } = previewCard();
49
+ return /* @__PURE__ */ jsx(PreviewCard.Trigger, {
50
+ "data-slot": "preview-card-trigger",
51
+ delay,
52
+ closeDelay,
53
+ className: trigger({ className }),
54
+ ...props
55
+ });
56
+ }
57
+ function PreviewCardPortal(props) {
58
+ return /* @__PURE__ */ jsx(PreviewCard.Portal, {
59
+ "data-slot": "preview-card-portal",
60
+ ...useThemeScopeProps(props)
61
+ });
62
+ }
63
+ function PreviewCardPopup({ className, ...props }) {
64
+ const themeState = useTheme();
65
+ const { popup } = previewCard();
66
+ const scopeProps = resolveThemeScopeProps({
67
+ ...props,
68
+ className: popup({ className })
69
+ }, themeState);
70
+ return /* @__PURE__ */ jsx("div", {
71
+ "data-slot": "preview-card-content",
72
+ ...scopeProps
73
+ });
74
+ }
75
+ function PreviewCardFramePositioner({ collisionPadding, container, ...props }) {
76
+ const padding = usePopupCollisionPadding(collisionPadding, 5, container);
77
+ return /* @__PURE__ */ jsx(PreviewCard.Positioner, {
78
+ collisionPadding: padding,
79
+ ...props
80
+ });
81
+ }
82
+ function PreviewCardContent({ align = "start", alignOffset = 0, anchor, arrowPadding, collisionAvoidance, collisionBoundary, collisionPadding, disableAnchorTracking, positionMethod = "fixed", side = "bottom", sideOffset = 6, sticky, portalProps, className, ...props }) {
83
+ const { positioner, popup } = previewCard();
84
+ return /* @__PURE__ */ jsx(PreviewCardPortal, {
85
+ ...portalProps,
86
+ children: /* @__PURE__ */ jsx(PreviewCardFramePositioner, {
87
+ align,
88
+ alignOffset,
89
+ anchor,
90
+ arrowPadding,
91
+ collisionAvoidance,
92
+ collisionBoundary,
93
+ collisionPadding,
94
+ container: portalProps?.container,
95
+ disableAnchorTracking,
96
+ positionMethod,
97
+ side,
98
+ sideOffset,
99
+ sticky,
100
+ className: positioner(),
101
+ children: /* @__PURE__ */ jsx(PreviewCard.Popup, {
102
+ "data-slot": "preview-card-content",
103
+ className: popup({ className }),
104
+ ...props
105
+ })
106
+ })
107
+ });
108
+ }
109
+ function PreviewCardHeader({ className, ...props }) {
110
+ const { header } = previewCard();
111
+ return /* @__PURE__ */ jsx("div", {
112
+ "data-slot": "preview-card-header",
113
+ className: header({ className }),
114
+ ...props
115
+ });
116
+ }
117
+ function PreviewCardSeparator({ className, ...props }) {
118
+ const { separator } = previewCard();
119
+ return /* @__PURE__ */ jsx("div", {
120
+ role: "separator",
121
+ "aria-orientation": "horizontal",
122
+ "data-slot": "preview-card-separator",
123
+ className: separator({ className }),
124
+ ...props
125
+ });
126
+ }
127
+ function PreviewCardTitle({ className, ...props }) {
128
+ const { title } = previewCard();
129
+ return /* @__PURE__ */ jsx("p", {
130
+ "data-slot": "preview-card-title",
131
+ className: title({ className }),
132
+ ...props
133
+ });
134
+ }
135
+ function PreviewCardDescription({ className, ...props }) {
136
+ const { description } = previewCard();
137
+ return /* @__PURE__ */ jsx("p", {
138
+ "data-slot": "preview-card-description",
139
+ className: description({ className }),
140
+ ...props
141
+ });
142
+ }
143
+ function PreviewCardArrow({ className, ...props }) {
144
+ const { arrow } = previewCard();
145
+ return /* @__PURE__ */ jsx(PreviewCard.Arrow, {
146
+ "data-slot": "preview-card-arrow",
147
+ className: arrow({ className }),
148
+ ...props
149
+ });
150
+ }
151
+ /** The item card's block: the id line, the title and the details row, in that order. */
152
+ function PreviewCardBody({ className, ...props }) {
153
+ const { body } = previewCard();
154
+ return /* @__PURE__ */ jsx("div", {
155
+ "data-slot": "preview-card-body",
156
+ className: body({ className }),
157
+ ...props
158
+ });
159
+ }
160
+ /** The muted line above the title that identifies the item, such as its id. One line, truncated. */
161
+ function PreviewCardEyebrow({ className, ...props }) {
162
+ const { eyebrow } = previewCard();
163
+ return /* @__PURE__ */ jsx("p", {
164
+ "data-slot": "preview-card-eyebrow",
165
+ className: eyebrow({ className }),
166
+ ...props
167
+ });
168
+ }
169
+ /** The row under the title: one state chip, then muted details. Wraps when it runs out of room. */
170
+ function PreviewCardMeta({ className, ...props }) {
171
+ const { meta } = previewCard();
172
+ return /* @__PURE__ */ jsx("div", {
173
+ "data-slot": "preview-card-meta",
174
+ className: meta({ className }),
175
+ ...props
176
+ });
177
+ }
178
+ /** The row of at most two buttons. */
179
+ function PreviewCardActions({ className, ...props }) {
180
+ const { actions } = previewCard();
181
+ return /* @__PURE__ */ jsx("div", {
182
+ "data-slot": "preview-card-actions",
183
+ className: actions({ className }),
184
+ ...props
185
+ });
186
+ }
187
+ /** The caption under a hairline at the bottom of the card: where the item comes from. */
188
+ function PreviewCardFooter({ className, ...props }) {
189
+ const { footer } = previewCard();
190
+ return /* @__PURE__ */ jsx("p", {
191
+ "data-slot": "preview-card-footer",
192
+ className: footer({ className }),
193
+ ...props
194
+ });
195
+ }
196
+ //#endregion
197
+ export { PreviewCard$1 as PreviewCard, PreviewCardActions, PreviewCardArrow, PreviewCardBody, PreviewCardContent, PreviewCardDescription, PreviewCardEyebrow, PreviewCardFooter, PreviewCardHeader, PreviewCardMeta, PreviewCardPopup, PreviewCardPortal, PreviewCardSeparator, PreviewCardTitle, PreviewCardTrigger };
@@ -0,0 +1,2 @@
1
+ import { ProfilePanel, ProfilePanelBody, ProfilePanelBodyProps, ProfilePanelHeader, ProfilePanelHeaderContent, ProfilePanelHeaderContentProps, ProfilePanelHeaderProps, ProfilePanelProps, ProfilePanelSection, ProfilePanelSectionProps } from "./profile-panel.mjs";
2
+ export { ProfilePanel, ProfilePanelBody, type ProfilePanelBodyProps, ProfilePanelHeader, ProfilePanelHeaderContent, type ProfilePanelHeaderContentProps, type ProfilePanelHeaderProps, type ProfilePanelProps, ProfilePanelSection, type ProfilePanelSectionProps };
@@ -0,0 +1,14 @@
1
+ import { PanelBodyProps, PanelProps, PanelSectionProps } from "../panel/panel.mjs";
2
+ import { PanelHeaderContentProps, PanelHeaderProps } from "../panel/panel-header.mjs";
3
+ //#region src/components/profile-panel/profile-panel.d.ts
4
+ export type ProfilePanelProps = PanelProps;
5
+ export declare function ProfilePanel({ className, edge, ...props }: ProfilePanelProps): import("react").JSX.Element;
6
+ export type ProfilePanelHeaderProps = PanelHeaderProps;
7
+ export declare function ProfilePanelHeader({ className, ...props }: ProfilePanelHeaderProps): import("react").JSX.Element;
8
+ export type ProfilePanelHeaderContentProps = PanelHeaderContentProps;
9
+ export declare function ProfilePanelHeaderContent({ className, ...props }: ProfilePanelHeaderContentProps): import("react").JSX.Element;
10
+ export type ProfilePanelBodyProps = PanelBodyProps;
11
+ export declare function ProfilePanelBody({ className, ...props }: ProfilePanelBodyProps): import("react").JSX.Element;
12
+ export type ProfilePanelSectionProps = PanelSectionProps;
13
+ export declare function ProfilePanelSection({ className, ...props }: ProfilePanelSectionProps): import("react").JSX.Element;
14
+ //#endregion
@@ -0,0 +1,46 @@
1
+ import { Panel, PanelBody, PanelSection } from "../panel/panel.mjs";
2
+ import { conversationPanel } from "../conversation-panel/conversation-panel.recipe.mjs";
3
+ import { PanelHeader, PanelHeaderContent } from "../panel/panel-header.mjs";
4
+ import { profilePanel } from "./profile-panel.recipe.mjs";
5
+ import { jsx } from "react/jsx-runtime";
6
+ //#region src/components/profile-panel/profile-panel.tsx
7
+ function ProfilePanel({ className, edge = "inset", ...props }) {
8
+ const { root } = profilePanel();
9
+ return /* @__PURE__ */ jsx(Panel, {
10
+ ...props,
11
+ edge,
12
+ "data-slot": "profile-panel",
13
+ className: root({ className })
14
+ });
15
+ }
16
+ function ProfilePanelHeader({ className, ...props }) {
17
+ const { header } = profilePanel();
18
+ return /* @__PURE__ */ jsx(PanelHeader, {
19
+ ...props,
20
+ className: header({ className })
21
+ });
22
+ }
23
+ function ProfilePanelHeaderContent({ className, ...props }) {
24
+ const { headerContent } = profilePanel();
25
+ return /* @__PURE__ */ jsx(PanelHeaderContent, {
26
+ ...props,
27
+ className: headerContent({ className })
28
+ });
29
+ }
30
+ function ProfilePanelBody({ className, ...props }) {
31
+ const { content } = conversationPanel();
32
+ return /* @__PURE__ */ jsx(PanelBody, {
33
+ ...props,
34
+ "data-slot": "profile-panel-body",
35
+ className: content({ className })
36
+ });
37
+ }
38
+ function ProfilePanelSection({ className, ...props }) {
39
+ const { section } = profilePanel();
40
+ return /* @__PURE__ */ jsx(PanelSection, {
41
+ ...props,
42
+ className: section({ className })
43
+ });
44
+ }
45
+ //#endregion
46
+ export { ProfilePanel, ProfilePanelBody, ProfilePanelHeader, ProfilePanelHeaderContent, ProfilePanelSection };
@@ -0,0 +1,14 @@
1
+ import { tv } from "../../lib/tv.mjs";
2
+ //#region src/components/profile-panel/profile-panel.recipe.ts
3
+ const profilePanel = tv({ slots: {
4
+ root: [
5
+ "flex h-full min-h-0 min-w-0 flex-1 flex-col",
6
+ "[--panel-footer-clearance:0rem]",
7
+ "relative bg-layer-canvas font-sans text-foreground"
8
+ ],
9
+ header: [],
10
+ headerContent: ["items-stretch gap-0"],
11
+ section: ["border-line-hairline px-5 py-4"]
12
+ } });
13
+ //#endregion
14
+ export { profilePanel };
@@ -0,0 +1,2 @@
1
+ import { Progress, ProgressHeader, ProgressHeaderProps, ProgressIndicator, ProgressIndicatorProps, ProgressLabel, ProgressLabelProps, ProgressProps, ProgressTrack, ProgressTrackProps, ProgressValue, ProgressValueProps } from "./progress.mjs";
2
+ export { Progress, ProgressHeader, type ProgressHeaderProps, ProgressIndicator, type ProgressIndicatorProps, ProgressLabel, type ProgressLabelProps, type ProgressProps, ProgressTrack, type ProgressTrackProps, ProgressValue, type ProgressValueProps };