@estiva-app/ui 0.95.0 → 0.97.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 (205) hide show
  1. package/dist/AppShell.d.ts +25 -7
  2. package/dist/AppShell.d.ts.map +1 -1
  3. package/dist/ArchivedNotice.d.ts +28 -0
  4. package/dist/ArchivedNotice.d.ts.map +1 -0
  5. package/dist/Avatar.d.ts +6 -1
  6. package/dist/Avatar.d.ts.map +1 -1
  7. package/dist/AvatarGroup.d.ts +2 -0
  8. package/dist/AvatarGroup.d.ts.map +1 -1
  9. package/dist/Button.d.ts +4 -3
  10. package/dist/Button.d.ts.map +1 -1
  11. package/dist/Card.d.ts.map +1 -1
  12. package/dist/CommentBox.d.ts.map +1 -1
  13. package/dist/ComposerTriggers.d.ts +2 -0
  14. package/dist/ComposerTriggers.d.ts.map +1 -1
  15. package/dist/ConversationActions.d.ts +24 -0
  16. package/dist/ConversationActions.d.ts.map +1 -0
  17. package/dist/ConversationCard.d.ts +90 -0
  18. package/dist/ConversationCard.d.ts.map +1 -0
  19. package/dist/ConversationLayout.d.ts +50 -0
  20. package/dist/ConversationLayout.d.ts.map +1 -0
  21. package/dist/ConversationMenu.d.ts +24 -0
  22. package/dist/ConversationMenu.d.ts.map +1 -0
  23. package/dist/Divider.d.ts +23 -4
  24. package/dist/Divider.d.ts.map +1 -1
  25. package/dist/EditedMarker.d.ts +11 -0
  26. package/dist/EditedMarker.d.ts.map +1 -0
  27. package/dist/IconButton.d.ts +3 -3
  28. package/dist/IconButton.d.ts.map +1 -1
  29. package/dist/LinkParts.d.ts +4 -1
  30. package/dist/LinkParts.d.ts.map +1 -1
  31. package/dist/ListColumn.d.ts +3 -1
  32. package/dist/ListColumn.d.ts.map +1 -1
  33. package/dist/MembersDialog.d.ts +4 -0
  34. package/dist/MembersDialog.d.ts.map +1 -1
  35. package/dist/MetaText.d.ts +22 -0
  36. package/dist/MetaText.d.ts.map +1 -0
  37. package/dist/NavItem.d.ts.map +1 -1
  38. package/dist/PageHeader.d.ts +50 -0
  39. package/dist/PageHeader.d.ts.map +1 -0
  40. package/dist/Panel.d.ts +6 -0
  41. package/dist/Panel.d.ts.map +1 -1
  42. package/dist/Person.d.ts +3 -1
  43. package/dist/Person.d.ts.map +1 -1
  44. package/dist/PersonTrigger.d.ts +1 -1
  45. package/dist/PersonTrigger.d.ts.map +1 -1
  46. package/dist/PinnedComment.d.ts +17 -0
  47. package/dist/PinnedComment.d.ts.map +1 -0
  48. package/dist/QuotedLine.d.ts +16 -0
  49. package/dist/QuotedLine.d.ts.map +1 -0
  50. package/dist/ReactionHorizon.d.ts +14 -0
  51. package/dist/ReactionHorizon.d.ts.map +1 -0
  52. package/dist/RepliesRow.d.ts +27 -0
  53. package/dist/RepliesRow.d.ts.map +1 -0
  54. package/dist/ResolveDialog.d.ts +13 -0
  55. package/dist/ResolveDialog.d.ts.map +1 -0
  56. package/dist/Select.d.ts +1 -1
  57. package/dist/Select.d.ts.map +1 -1
  58. package/dist/Skeleton.d.ts +8 -4
  59. package/dist/Skeleton.d.ts.map +1 -1
  60. package/dist/Thread.d.ts +38 -0
  61. package/dist/Thread.d.ts.map +1 -0
  62. package/dist/TopBar.d.ts +3 -2
  63. package/dist/TopBar.d.ts.map +1 -1
  64. package/dist/UrgentMark.d.ts +6 -0
  65. package/dist/UrgentMark.d.ts.map +1 -0
  66. package/dist/commentBoxFrame.d.ts +3 -1
  67. package/dist/commentBoxFrame.d.ts.map +1 -1
  68. package/dist/conversation.examples.d.ts +52 -0
  69. package/dist/conversation.examples.d.ts.map +1 -0
  70. package/dist/editor.js +33 -25
  71. package/dist/editor.js.map +2 -2
  72. package/dist/eslint/index.js +2 -1
  73. package/dist/eslint/index.js.map +2 -2
  74. package/dist/eslint/no-native-title.d.ts +1 -1
  75. package/dist/eslint/no-native-title.d.ts.map +1 -1
  76. package/dist/eslint/no-restyled-part.d.ts.map +1 -1
  77. package/dist/index.d.ts +18 -2
  78. package/dist/index.d.ts.map +1 -1
  79. package/dist/index.js +1412 -448
  80. package/dist/index.js.map +4 -4
  81. package/dist/linked.d.ts +4 -0
  82. package/dist/linked.d.ts.map +1 -1
  83. package/dist/linkedFrom.d.ts +2 -0
  84. package/dist/linkedFrom.d.ts.map +1 -1
  85. package/dist/looks.d.ts +13 -1
  86. package/dist/looks.d.ts.map +1 -1
  87. package/dist/threadCard.d.ts +46 -0
  88. package/dist/threadCard.d.ts.map +1 -0
  89. package/package.json +1 -1
  90. package/registry.json +1889 -544
  91. package/src/AppShell.mdx +24 -10
  92. package/src/AppShell.stories.tsx +65 -31
  93. package/src/AppShell.test.tsx +92 -10
  94. package/src/AppShell.tsx +108 -18
  95. package/src/ArchivedNotice.mdx +46 -0
  96. package/src/ArchivedNotice.stories.tsx +52 -0
  97. package/src/ArchivedNotice.test.tsx +42 -0
  98. package/src/ArchivedNotice.tsx +71 -0
  99. package/src/Avatar.agent.test.tsx +63 -0
  100. package/src/Avatar.mdx +25 -0
  101. package/src/Avatar.stories.tsx +13 -0
  102. package/src/Avatar.tsx +51 -3
  103. package/src/AvatarGroup.tsx +3 -1
  104. package/src/Button.mdx +2 -2
  105. package/src/Button.tsx +8 -6
  106. package/src/Card.test.tsx +4 -4
  107. package/src/Card.tsx +6 -2
  108. package/src/CommentBox.test.tsx +2 -1
  109. package/src/CommentBox.tsx +14 -7
  110. package/src/ComposerTriggers.stories.tsx +2 -0
  111. package/src/ComposerTriggers.tsx +3 -1
  112. package/src/ConfirmDialog.stories.tsx +12 -0
  113. package/src/ConversationActions.mdx +47 -0
  114. package/src/ConversationActions.stories.tsx +39 -0
  115. package/src/ConversationActions.tsx +96 -0
  116. package/src/ConversationCard.mdx +72 -0
  117. package/src/ConversationCard.states.test.tsx +330 -0
  118. package/src/ConversationCard.stories.tsx +135 -0
  119. package/src/ConversationCard.test.tsx +159 -0
  120. package/src/ConversationCard.tsx +524 -0
  121. package/src/ConversationLayout.mdx +61 -0
  122. package/src/ConversationLayout.stories.tsx +161 -0
  123. package/src/ConversationLayout.test.tsx +240 -0
  124. package/src/ConversationLayout.tsx +233 -0
  125. package/src/ConversationMenu.mdx +47 -0
  126. package/src/ConversationMenu.stories.tsx +42 -0
  127. package/src/ConversationMenu.test.tsx +47 -0
  128. package/src/ConversationMenu.tsx +57 -0
  129. package/src/Divider.mdx +36 -1
  130. package/src/Divider.stories.tsx +57 -0
  131. package/src/Divider.test.tsx +24 -1
  132. package/src/Divider.tsx +49 -9
  133. package/src/EditedMarker.mdx +36 -0
  134. package/src/EditedMarker.stories.tsx +24 -0
  135. package/src/EditedMarker.tsx +20 -0
  136. package/src/IconButton.mdx +2 -1
  137. package/src/IconButton.tsx +8 -5
  138. package/src/LinkCard.tsx +3 -3
  139. package/src/LinkChip.tsx +1 -1
  140. package/src/LinkParts.mdx +4 -0
  141. package/src/LinkParts.stories.tsx +10 -0
  142. package/src/LinkParts.tsx +9 -5
  143. package/src/LinkRow.tsx +1 -1
  144. package/src/ListColumn.tsx +9 -3
  145. package/src/MembersDialog.stories.tsx +11 -0
  146. package/src/MembersDialog.tsx +7 -3
  147. package/src/MetaText.mdx +41 -0
  148. package/src/MetaText.stories.tsx +29 -0
  149. package/src/MetaText.tsx +38 -0
  150. package/src/NavItem.tsx +2 -11
  151. package/src/PageHeader.mdx +123 -0
  152. package/src/PageHeader.stories.tsx +174 -0
  153. package/src/PageHeader.test.tsx +99 -0
  154. package/src/PageHeader.tsx +105 -0
  155. package/src/Panel.mdx +12 -0
  156. package/src/Panel.stories.tsx +47 -5
  157. package/src/Panel.test.tsx +40 -0
  158. package/src/Panel.tsx +8 -2
  159. package/src/Person.tsx +4 -2
  160. package/src/PersonTrigger.tsx +3 -3
  161. package/src/PinnedComment.mdx +40 -0
  162. package/src/PinnedComment.stories.tsx +21 -0
  163. package/src/PinnedComment.tsx +40 -0
  164. package/src/QuotedLine.mdx +44 -0
  165. package/src/QuotedLine.stories.tsx +30 -0
  166. package/src/QuotedLine.test.tsx +34 -0
  167. package/src/QuotedLine.tsx +33 -0
  168. package/src/ReactionHorizon.mdx +36 -0
  169. package/src/ReactionHorizon.stories.tsx +27 -0
  170. package/src/ReactionHorizon.tsx +27 -0
  171. package/src/RepliesRow.mdx +45 -0
  172. package/src/RepliesRow.stories.tsx +33 -0
  173. package/src/RepliesRow.test.tsx +47 -0
  174. package/src/RepliesRow.tsx +86 -0
  175. package/src/ReplyCard.mdx +50 -0
  176. package/src/ReplyCard.stories.tsx +68 -0
  177. package/src/ResolveDialog.mdx +44 -0
  178. package/src/ResolveDialog.stories.tsx +23 -0
  179. package/src/ResolveDialog.test.tsx +53 -0
  180. package/src/ResolveDialog.tsx +58 -0
  181. package/src/Select.tsx +12 -2
  182. package/src/Skeleton.stories.tsx +4 -1
  183. package/src/Skeleton.tsx +33 -4
  184. package/src/Thread.mdx +53 -0
  185. package/src/Thread.stories.tsx +167 -0
  186. package/src/Thread.test.tsx +83 -0
  187. package/src/Thread.tsx +113 -0
  188. package/src/TopBar.mdx +8 -6
  189. package/src/TopBar.stories.tsx +4 -3
  190. package/src/TopBar.tsx +8 -3
  191. package/src/UrgentMark.mdx +37 -0
  192. package/src/UrgentMark.stories.tsx +27 -0
  193. package/src/UrgentMark.tsx +15 -0
  194. package/src/commentBoxFrame.tsx +8 -4
  195. package/src/conversation.examples.tsx +135 -0
  196. package/src/eslint/no-native-title.ts +1 -1
  197. package/src/eslint/no-restyled-part.ts +1 -0
  198. package/src/index.ts +19 -2
  199. package/src/linked.ts +4 -0
  200. package/src/linkedFrom.ts +5 -3
  201. package/src/looks.ts +18 -2
  202. package/src/registry/registry.test.ts +9 -7
  203. package/src/threadCard.ts +84 -0
  204. package/stories/Choosing.mdx +21 -1
  205. package/tokens.css +14 -10
@@ -1 +1 @@
1
- {"version":3,"file":"MembersDialog.d.ts","sourceRoot":"","sources":["../src/MembersDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAKvD,OAAO,EAA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O,CAAC,CAAA;IACtF,2EAA2E;IAC3E,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAKD;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,UAAe,EAAE,KAAK,EAAE,IAAI,EAAE,WAAoB,EAAE,OAAO,EAAE,EAAE,kBAAkB,+BA0HtI"}
@@ -0,0 +1,22 @@
1
+ import type { ReactNode } from 'react';
2
+ declare const TONE_CLASSES: {
3
+ readonly muted: "text-text-muted";
4
+ readonly secondary: "text-text-secondary";
5
+ readonly success: "text-success-default";
6
+ };
7
+ export interface MetaTextProps {
8
+ children: ReactNode;
9
+ /** `muted` for a time; `secondary` and `success` for counts of open and resolved. */
10
+ tone?: keyof typeof TONE_CLASSES;
11
+ /** `chip` beside a small name, as in a thread's resolve line. */
12
+ size?: 'caption' | 'chip';
13
+ /** Placement only: `shrink-0`, `contents`. */
14
+ className?: string;
15
+ }
16
+ /**
17
+ * The small figure beside a name: a comment's time, a resolve line's time, a count. One line; in Signal the mono
18
+ * micro-type with even digits. Peek's, moved with the conversation (Katerina, 31 October: Peek's way in every app).
19
+ */
20
+ export declare function MetaText({ children, tone, size, className }: MetaTextProps): import("react").JSX.Element;
21
+ export {};
22
+ //# sourceMappingURL=MetaText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MetaText.d.ts","sourceRoot":"","sources":["../src/MetaText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,QAAA,MAAM,YAAY;;;;CAIR,CAAA;AAEV,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,SAAS,CAAA;IACnB,qFAAqF;IACrF,IAAI,CAAC,EAAE,MAAM,OAAO,YAAY,CAAA;IA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AChB,wBAAwB;IACxB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,4GAA4G;IAC5G,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oKAAoK;IACpK,MAAM,CAAC,EAAE,aAAa,GAAG;QAAE,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAA;IAChD,yGAAyG;IACzG,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,8IAA8I;IAC9I,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,uJAAuJ;IACvJ,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,2DAA2D;IAC3D,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,6HAA6H;IAC7H,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,mDAAmD;IACnD,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,kDAAkD;IAClD,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACtC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,IAAI,EACJ,KAAK,EACL,UAAU,EACV,MAAc,EACd,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,MAAM,EACN,IAAI,EACJ,OAAO,EACP,MAAc,EACd,MAAc,EACd,QAAQ,EACR,WAAkB,EAClB,IAAI,EAAE,QAAQ,EACd,YAAY,EACZ,OAAO,EACP,SAAS,EACT,OAAO,EACP,GAAG,KAAK,EACT,EAAE,YAAY,+BAiLd"}
@@ -0,0 +1,50 @@
1
+ import { type ReactNode } from 'react';
2
+ /** One of the quiet words at the right of a `PageHeader`: a count, and whether it is about what is finished. */
3
+ export interface PageHeaderMeta {
4
+ /** The words: "6 open", "2 done". */
5
+ label: string;
6
+ /** Words about what is finished: in the success colour. Default: the secondary text. */
7
+ done?: boolean;
8
+ }
9
+ /**
10
+ * The bar at the top of a page: what the page is, and what acts on all of it.
11
+ * ContainerHeader's bar (48px, a hairline under it, 16px in at each end) with
12
+ * a fixed place for each thing the apps' own page bars hold, so they stop
13
+ * laying them out one by one.
14
+ *
15
+ * At the left, in this order, 8px apart: an icon or a face, a lock, the title,
16
+ * something right after it. At the right, 12px apart: quiet words (counts),
17
+ * when it last changed, the members, then the page's buttons. Those numbers
18
+ * are Peek's page bar and Leaf's, measured on 31 October: the counts and the
19
+ * members are one group 12px clear of the buttons (Katerina, 8 October), and
20
+ * the buttons sit 4px apart, as every bar's do.
21
+ */
22
+ export interface PageHeaderProps {
23
+ /**
24
+ * The page's name. A string is one line in `body-2-strong`, cut short with
25
+ * an ellipsis when there is no room. A node — a `Breadcrumb`, an
26
+ * `InlineText` — is drawn as given, in the room that is left.
27
+ */
28
+ title: ReactNode;
29
+ /** Before the title, 16px: an icon at stroke 1.5, or a face (`Avatar size={16}`). A bare icon takes the secondary text colour. */
30
+ leading?: ReactNode;
31
+ /** A lock before the title: only its members can open this page. Named "Private" to assistive technology and in a tooltip. */
32
+ private?: boolean;
33
+ /** Right after the title, 8px from it, and never cut short: a small `Button`, a `Chip`. */
34
+ after?: ReactNode;
35
+ /** Quiet words at the right, before the members: counts. A dot between each, each in `MetaText` (in Signal, the mono micro-type). */
36
+ meta?: (string | PageHeaderMeta)[];
37
+ /** When it last changed, in words — "Edited 2 minutes ago" — 12px italic, with the exact time in a tooltip. */
38
+ time?: {
39
+ label: string;
40
+ exact: string;
41
+ };
42
+ /** Who is in it: a `MembersPill`. */
43
+ members?: ReactNode;
44
+ /** The page's own buttons, at the right edge: a `Toolbar` with `surface={false}` of `ToolbarButton`s, or one `IconButton`. */
45
+ actions?: ReactNode;
46
+ /** Placement only. */
47
+ className?: string;
48
+ }
49
+ export declare function PageHeader({ title, leading, private: locked, after, meta, time, members, actions, className }: PageHeaderProps): import("react").JSX.Element;
50
+ //# sourceMappingURL=PageHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../src/PageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAOhD,gHAAgH;AAChH,MAAM,WAAW,cAAc;IAC7B,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,wFAAwF;IACxF,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB,kIAAkI;IAClI,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,8HAA8H;IAC9H,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,2FAA2F;IAC3F,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,qIAAqI;IACrI,IAAI,CAAC,EAAE,CAAC,MAAM,GAAG,cAAc,CAAC,EAAE,CAAA;IAClC,+GAA+G;IAC/G,IAAI,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACvC,qCAAqC;IACrC,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,8HAA8H;IAC9H,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAc,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,eAAe,+BAmDtI"}
package/dist/Panel.d.ts CHANGED
@@ -30,6 +30,12 @@ export interface PanelProps {
30
30
  chevron?: boolean;
31
31
  /** The panel's own actions, at the header's right — a `Toolbar` of `ToolbarButton`s, or one `IconButton`. */
32
32
  actions?: ReactNode;
33
+ /**
34
+ * A page's own bar, in place of the one `title`, `chevron` and `actions` draw: a `PageHeader`, where the panel is
35
+ * the page (Peek's file pages, Leaf's documents), so the page's bar and its scrolling body are one panel. `title`
36
+ * still names the panel if it breaks.
37
+ */
38
+ header?: ReactNode;
33
39
  /** The body. It scrolls when it is taller than the panel. */
34
40
  children: ReactNode;
35
41
  /** A row fixed under the body that never scrolls — a reply box. */
@@ -1 +1 @@
1
- {"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../src/Panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAM3D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,WAAW,UAAU;IACzB,mFAAmF;IACnF,KAAK,EAAE,SAAS,CAAA;IAChB,gEAAgE;IAChE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,6GAA6G;IAC7G,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,6DAA6D;IAC7D,QAAQ,EAAE,SAAS,CAAA;IACnB,mEAAmE;IACnE,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,iGAAiG;IACjG,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,sHAAsH;IACtH,OAAO,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAA;IAC7B,iCAAiC;IACjC,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAA;IAC7C,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAmBD,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,+BActC"}
1
+ {"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../src/Panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAM3D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,WAAW,UAAU;IACzB,mFAAmF;IACnF,KAAK,EAAE,SAAS,CAAA;IAChB,gEAAgE;IAChE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,6GAA6G;IAC7G,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,6DAA6D;IAC7D,QAAQ,EAAE,SAAS,CAAA;IACnB,mEAAmE;IACnE,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,iGAAiG;IACjG,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,sHAAsH;IACtH,OAAO,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAA;IAC7B,iCAAiC;IACjC,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAA;IAC7C,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAmBD,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,+BActC"}
package/dist/Person.d.ts CHANGED
@@ -17,10 +17,12 @@
17
17
  export interface PersonProps {
18
18
  name?: string;
19
19
  picture?: string;
20
+ /** An agent: its face is a robot, as Avatar's `bot`. */
21
+ bot?: boolean;
20
22
  /** Shown in place of a missing name. */
21
23
  fallback?: string;
22
24
  size?: number;
23
25
  className?: string;
24
26
  }
25
- export declare function Person({ name, picture, fallback, size, className }: PersonProps): import("react").JSX.Element;
27
+ export declare function Person({ name, picture, bot, fallback, size, className }: PersonProps): import("react").JSX.Element;
26
28
  //# sourceMappingURL=Person.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Person.d.ts","sourceRoot":"","sources":["../src/Person.tsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAc,EAAE,IAAS,EAAE,SAAS,EAAE,EAAE,WAAW,+BAU1F"}
1
+ {"version":3,"file":"Person.d.ts","sourceRoot":"","sources":["../src/Person.tsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,wDAAwD;IACxD,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,QAAc,EAAE,IAAS,EAAE,SAAS,EAAE,EAAE,WAAW,+BAU/F"}
@@ -20,5 +20,5 @@ export interface PersonTriggerProps extends Omit<PersonProps, 'className'>, Omit
20
20
  /** Face only — no chevron, no hover fill. Defaults the face to 36px; the row shape to 22px. */
21
21
  compact?: boolean;
22
22
  }
23
- export declare function PersonTrigger({ name, picture, fallback, size, open, compact, className, ...props }: PersonTriggerProps): import("react").JSX.Element;
23
+ export declare function PersonTrigger({ name, picture, bot, fallback, size, open, compact, className, ...props }: PersonTriggerProps): import("react").JSX.Element;
24
24
  //# sourceMappingURL=PersonTrigger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PersonTrigger.d.ts","sourceRoot":"","sources":["../src/PersonTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAMlD,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAA;AAEnD;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,kBACf,SAAQ,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,EACpC,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC;IACnD,mFAAmF;IACnF,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,+FAA+F;IAC/F,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAY,EAAE,OAAe,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,+BAqDtI"}
1
+ {"version":3,"file":"PersonTrigger.d.ts","sourceRoot":"","sources":["../src/PersonTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAMlD,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAA;AAEnD;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,kBACf,SAAQ,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,EACpC,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC;IACnD,mFAAmF;IACnF,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,+FAA+F;IAC/F,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAY,EAAE,OAAe,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,+BAqD3I"}
@@ -0,0 +1,17 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { ConversationPerson } from './ConversationCard';
3
+ export interface PinnedCommentProps {
4
+ author: ConversationPerson;
5
+ /** When it was written, in the app's words, with its day: no day line stands above it here. */
6
+ time: ReactNode;
7
+ /** Its words, cut to one line: plain words read best. */
8
+ words: ReactNode;
9
+ /** It was deleted; its replies stay. */
10
+ deleted?: boolean;
11
+ }
12
+ /**
13
+ * The comment a thread answers, pinned at the top of the replies column: who, when, and its first line, on a raised
14
+ * card. Peek's pinned message, moved with the conversation.
15
+ */
16
+ export declare function PinnedComment({ author, time, words, deleted }: PinnedCommentProps): import("react").JSX.Element;
17
+ //# sourceMappingURL=PinnedComment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PinnedComment.d.ts","sourceRoot":"","sources":["../src/PinnedComment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAG5D,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,kBAAkB,CAAA;IAC1B,+FAA+F;IAC/F,IAAI,EAAE,SAAS,CAAA;IACf,yDAAyD;IACzD,KAAK,EAAE,SAAS,CAAA;IAChB,wCAAwC;IACxC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,OAAe,EAAE,EAAE,kBAAkB,+BAmBzF"}
@@ -0,0 +1,16 @@
1
+ export interface QuotedLineProps {
2
+ /** The words the comment is on, as they were quoted. */
3
+ words?: string;
4
+ /** `here`: still in the text. `reworded`: changed since. `gone`: their part was deleted from the page. */
5
+ state?: 'here' | 'reworded' | 'gone';
6
+ /** A part with no words, a picture or a whole block: what it is, in the app's words ("Picture: plan.png"). */
7
+ label?: string;
8
+ }
9
+ /**
10
+ * What a comment on a part of the page is on: its words, two lines at most, in the page's own highlight, so the two
11
+ * read as one. ConversationCard puts it under the name, above the comment's words ("above the message, not above the
12
+ * person": Katerina, 1 November). Words changed since or deleted lose the highlight and say so; a part with no words
13
+ * gives its name.
14
+ */
15
+ export declare function QuotedLine({ words, state, label }: QuotedLineProps): import("react").JSX.Element;
16
+ //# sourceMappingURL=QuotedLine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuotedLine.d.ts","sourceRoot":"","sources":["../src/QuotedLine.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC9B,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,0GAA0G;IAC1G,KAAK,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,MAAM,CAAA;IACpC,8GAA8G;IAC9G,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAID;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,KAAc,EAAE,KAAK,EAAE,EAAE,eAAe,+BAY3E"}
@@ -0,0 +1,14 @@
1
+ export interface ReactionHorizonProps {
2
+ /** How many comments and replies back reactions are read for. */
3
+ limit: number;
4
+ /** How many older ones were not checked. */
5
+ omitted: number;
6
+ /** Some reactions may be missing: the read was cut short. */
7
+ cut?: boolean;
8
+ }
9
+ /**
10
+ * The line that says reactions are read only so far back, and how many older comments were not checked. Nothing is
11
+ * drawn when every one was. Peek's, moved with the conversation.
12
+ */
13
+ export declare function ReactionHorizon({ limit, omitted, cut }: ReactionHorizonProps): import("react").JSX.Element | null;
14
+ //# sourceMappingURL=ReactionHorizon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactionHorizon.d.ts","sourceRoot":"","sources":["../src/ReactionHorizon.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,iEAAiE;IACjE,KAAK,EAAE,MAAM,CAAA;IACb,4CAA4C;IAC5C,OAAO,EAAE,MAAM,CAAA;IACf,6DAA6D;IAC7D,GAAG,CAAC,EAAE,OAAO,CAAA;CACd;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,GAAW,EAAE,EAAE,oBAAoB,sCAapF"}
@@ -0,0 +1,27 @@
1
+ export interface RepliesRowProps {
2
+ /** How many replies. */
3
+ count: number;
4
+ /** Who replied: their faces. */
5
+ faces?: readonly {
6
+ name: string;
7
+ picture?: string;
8
+ bot?: boolean;
9
+ }[];
10
+ /** The last reply's time, in the app's words. */
11
+ last?: string;
12
+ /** "1 new": a reply you have not read. */
13
+ isNew?: boolean;
14
+ /** The "1 new" chip in the warning colour, for an urgent thread. */
15
+ urgent?: boolean;
16
+ /** Opens the thread. Absent, the row only says how many (the card around it opens the thread). */
17
+ onOpen?: () => void;
18
+ /** Its thread is open under it, in one column: the chevron turns down and the row stays marked; a press closes it (Katerina, 31 October). */
19
+ open?: boolean;
20
+ }
21
+ /**
22
+ * The way into a thread, under its comment: who replied, "2 replies", the last reply's time, and "1 new" until it is
23
+ * read. Peek's, moved with the conversation; in every app the row a thread opens from, the same in every theme
24
+ * (Katerina, 31 October), each in its own colours.
25
+ */
26
+ export declare function RepliesRow({ count, faces, last, isNew, urgent, onOpen, open }: RepliesRowProps): import("react").JSX.Element;
27
+ //# sourceMappingURL=RepliesRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RepliesRow.d.ts","sourceRoot":"","sources":["../src/RepliesRow.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,eAAe;IAC9B,wBAAwB;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,gCAAgC;IAChC,KAAK,CAAC,EAAE,SAAS;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;IACpE,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0CAA0C;IAC1C,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,oEAAoE;IACpE,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,kGAAkG;IAClG,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,6IAA6I;IAC7I,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAQD;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,KAAa,EAAE,MAAc,EAAE,MAAM,EAAE,IAAY,EAAE,EAAE,eAAe,+BAmDtH"}
@@ -0,0 +1,13 @@
1
+ export interface ResolveDialogProps {
2
+ /** Resolve, with what was written (an empty string for none). Answer `false` when it was refused: the dialog stays, with `refused` under the field. */
3
+ onResolve: (note: string) => Promise<boolean | void> | boolean | void;
4
+ onCancel: () => void;
5
+ /** Why the last resolve was refused, in plain words. */
6
+ refused?: string;
7
+ }
8
+ /**
9
+ * Resolve, with an optional note: the same dialog in every app (Katerina, 31 October). Ctrl+Enter resolves from the
10
+ * note; Enter there is a new line. Peek's, moved with the conversation.
11
+ */
12
+ export declare function ResolveDialog({ onResolve, onCancel, refused }: ResolveDialogProps): import("react").JSX.Element;
13
+ //# sourceMappingURL=ResolveDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResolveDialog.d.ts","sourceRoot":"","sources":["../src/ResolveDialog.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,kBAAkB;IACjC,uJAAuJ;IACvJ,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,GAAG,OAAO,GAAG,IAAI,CAAA;IACrE,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,wDAAwD;IACxD,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,kBAAkB,+BAsCjF"}
package/dist/Select.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  /**
3
3
  * Peek's Select (2026-08-28), verbatim, plus what Ship added: an option may
4
4
  * carry a `leading` node — an avatar beside a person's name — shown in the
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../src/Select.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOtC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,yDAAyD;IACzD,OAAO,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAA;IAC1B;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,0EAA0E;IAC1E,eAAe,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAA;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAOD,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAgB,EAAE,IAAc,EAAE,SAAS,EAAE,WAAuB,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,WAAW,+BAgJnL"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../src/Select.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAO3D;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,yDAAyD;IACzD,OAAO,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAA;IAC1B;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,0EAA0E;IAC1E,eAAe,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAA;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAOD,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAgB,EAAE,IAAc,EAAE,SAAS,EAAE,WAAuB,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,WAAW,+BA0JnL"}
@@ -1,9 +1,9 @@
1
1
  import type { CSSProperties } from 'react';
2
2
  /**
3
- * Peek's Skeleton (2026-08-28), the generic parts only: the bar, a row
4
- * shaped like a list row, and a list of them. Peek's placeholders shaped
5
- * like a conversation card or a huddle card know what those are and stay
6
- * in Peek, built from the bar.
3
+ * Peek's Skeleton (2026-08-28): the bar, a row shaped like a list row, a
4
+ * list of them, and the conversation's placeholder, moved with the
5
+ * conversation (Katerina, 31 October). Placeholders of an app's own cards
6
+ * stay in the app, built from the bar.
7
7
  *
8
8
  * A list reveals after 150ms (`animate-skeleton-in`, in the preset) so a
9
9
  * fast load never flashes a skeleton — Peek's rule.
@@ -32,5 +32,9 @@ export declare function SkeletonList({ rows, className }: {
32
32
  rows?: number;
33
33
  className?: string;
34
34
  }): import("react").JSX.Element;
35
+ /** Comments still coming: three placeholders shaped like `ConversationCard`, revealed after 150ms. Peek's, moved with the conversation. */
36
+ export declare function SkeletonConversation({ className }: {
37
+ className?: string;
38
+ }): import("react").JSX.Element;
35
39
  export {};
36
40
  //# sourceMappingURL=Skeleton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../src/Skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAG1C;;;;;;;;GAQG;AACH,QAAA,MAAM,cAAc;;;;CAA+E,CAAA;AAEnG;;;mEAGmE;AACnE,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,EAAc,EAAE,KAAa,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,aAAa,CAAC;IAAC,EAAE,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,OAAO,cAAc,CAAA;CAAE,+BAE5L;AAID,8EAA8E;AAC9E,wBAAgB,WAAW,CAAC,EAAE,QAAc,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,+BAOpE;AAED,4EAA4E;AAC5E,wBAAgB,YAAY,CAAC,EAAE,IAAQ,EAAE,SAAS,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BAQ1F"}
1
+ {"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../src/Skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAG1C;;;;;;;;GAQG;AACH,QAAA,MAAM,cAAc;;;;CAA+E,CAAA;AAEnG;;;mEAGmE;AACnE,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,EAAc,EAAE,KAAa,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,aAAa,CAAC;IAAC,EAAE,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,OAAO,cAAc,CAAA;CAAE,+BAE5L;AAID,8EAA8E;AAC9E,wBAAgB,WAAW,CAAC,EAAE,QAAc,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,+BAOpE;AAED,4EAA4E;AAC5E,wBAAgB,YAAY,CAAC,EAAE,IAAQ,EAAE,SAAS,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BAQ1F;AAoBD,2IAA2I;AAC3I,wBAAgB,oBAAoB,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BAQzE"}
@@ -0,0 +1,38 @@
1
+ import { type ReactNode, type Ref } from 'react';
2
+ import { type PinnedCommentProps } from './PinnedComment';
3
+ /** The comment a thread answers, pinned at the top of its column. */
4
+ export type ThreadStart = PinnedCommentProps;
5
+ export interface ThreadProps {
6
+ /** `beside`: in the right column, beside the comments, under its own header. `under`: open under its comment, in a one-column conversation: its replies hang from a line, quiet, and the box is under them; ConversationLayout makes the comment and its thread one card. */
7
+ place?: 'beside' | 'under';
8
+ /** The comment it answers, pinned at the top of the column. Under its comment it is not repeated. */
9
+ start?: ThreadStart;
10
+ /** Its replies, in time order: `ReplyCard`s. How it was resolved is said on its comment, not among them (Katerina, 1 November). */
11
+ children?: ReactNode;
12
+ /** Still reading the replies: placeholders in their place. */
13
+ loading?: boolean;
14
+ /** Resolved: "Resolved" at the top of the column, in green. */
15
+ resolved?: boolean;
16
+ /** The box a reply is written in: the app's `CommentBox`. */
17
+ box?: ReactNode;
18
+ /** Said in place of the box: why no reply can be written (an archived page, a deleted comment). */
19
+ notice?: ReactNode;
20
+ /** The column's own actions, before Close: a `MembersPill`, an `IconButton` to where it was first said. */
21
+ actions?: ReactNode;
22
+ /** Closes the column. */
23
+ onClose?: () => void;
24
+ /** The column's name. */
25
+ title?: ReactNode;
26
+ /** The column's scrolling box, for opening at the newest reply. */
27
+ bodyRef?: Ref<HTMLDivElement>;
28
+ /** Placement only. */
29
+ className?: string;
30
+ }
31
+ /**
32
+ * A comment's replies, with the box to write one. In the right column (two columns: Peek's file pages), under its
33
+ * own header with the comment pinned at the top, "Replies", and the box fixed at the bottom. Under its comment (one
34
+ * column: Ship's and Leaf's), the replies hung from a line, quiet, and the box under them, all one card with the
35
+ * comment (Ship's way). Peek's replies column, moved with the conversation.
36
+ */
37
+ export declare function Thread({ place, start, children, loading, resolved, box, notice, actions, onClose, title, bodyRef, className }: ThreadProps): import("react").JSX.Element;
38
+ //# sourceMappingURL=Thread.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Thread.d.ts","sourceRoot":"","sources":["../src/Thread.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAA;AAQ1D,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAKxE,qEAAqE;AACrE,MAAM,MAAM,WAAW,GAAG,kBAAkB,CAAA;AAE5C,MAAM,WAAW,WAAW;IAC1B,6QAA6Q;IAC7Q,KAAK,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;IAC1B,qGAAqG;IACrG,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,mIAAmI;IACnI,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,6DAA6D;IAC7D,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,mGAAmG;IACnG,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,2GAA2G;IAC3G,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,yBAAyB;IACzB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,mEAAmE;IACnE,OAAO,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAA;IAC7B,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAWD;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,EAAE,KAAgB,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAe,EAAE,QAAgB,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,KAAiB,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,WAAW,+BAsDjL"}
package/dist/TopBar.d.ts CHANGED
@@ -14,7 +14,8 @@ import { type ReactNode } from 'react';
14
14
  * (Katerina, 28 September).
15
15
  *
16
16
  * Geometry both apps agreed on before extraction: 52px tall, `pl-5
17
- * pr-[26px]`, right cluster `gap-[6px]`. The left region is two slots
17
+ * pr-[26px]`, right cluster `gap-[6px]`; with a menu button over a
18
+ * Sidebar (solid, inset), `pl-3.5`, so its icon lines up with the rows'. The left region is two slots
18
19
  * side by side — `menu` (the menu button, in an app whose navigation
19
20
  * collapses) and `logo` (the mark or name beside it; Katerina,
20
21
  * 2026-09-02). This component does not know who you are or what is being
@@ -34,7 +35,7 @@ import { type ReactNode } from 'react';
34
35
  */
35
36
  export interface TopBarProps {
36
37
  variant?: 'solid' | 'floating' | 'inset';
37
- /** Far left: the menu button, in an app whose navigation collapses. Stays the caller's — the bar only places it. */
38
+ /** Far left: the menu button, in an app whose navigation folds. Inside an `AppShell`, the frame's own fold. */
38
39
  menu?: ReactNode;
39
40
  /** Beside the menu button: the app's logo mark, or its name as text. */
40
41
  logo?: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../src/TopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAOzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,OAAO,CAAA;IACxC,oHAAoH;IACpH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,wEAAwE;IACxE,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,kHAAkH;IAClH,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,gIAAgI;IAChI,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gEAAgE;IAChE,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,MAAM,CAAC,EAAE,OAAiB,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,iBAA6B,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,WAAW,+BAgDvI"}
1
+ {"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../src/TopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAOzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,OAAO,CAAA;IACxC,+GAA+G;IAC/G,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,wEAAwE;IACxE,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,kHAAkH;IAClH,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,gIAAgI;IAChI,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gEAAgE;IAChE,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,MAAM,CAAC,EAAE,OAAiB,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,iBAA6B,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,WAAW,+BAoDvI"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Urgent and new: a 12px warning mark on its tint, in the unread dot's 24px slot. A row of the navigation that is
3
+ * urgent and unread, and a comment or reply that is urgent and new, draw this one mark.
4
+ */
5
+ export declare function UrgentMark(): import("react").JSX.Element;
6
+ //# sourceMappingURL=UrgentMark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UrgentMark.d.ts","sourceRoot":"","sources":["../src/UrgentMark.tsx"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,UAAU,gCAQzB"}
@@ -55,11 +55,13 @@ export interface BoxFrameProps {
55
55
  attachments?: ReactNode;
56
56
  /** The row under it all: the tools and Send, or the keys and Cancel/Save. */
57
57
  footer: ReactNode;
58
+ /** Signal's focus ring. Off for the edit box, whose edge only darkens on focus, as in Ship. Default on. */
59
+ ring?: boolean;
58
60
  /** On the box itself. */
59
61
  className?: string;
60
62
  }
61
63
  /** The one frame both boxes draw: the bordered box, its text in a `ScrollArea`, what is attached, the footer. */
62
- export declare function BoxFrame({ editor, marked, selection, placeholder, empty, attachments, footer, className }: BoxFrameProps): import("react").JSX.Element;
64
+ export declare function BoxFrame({ editor, marked, selection, placeholder, empty, attachments, footer, ring, className }: BoxFrameProps): import("react").JSX.Element;
63
65
  export interface SendBoxProps {
64
66
  /** The box's editor. `null` while it loads. */
65
67
  editor: Editor | null;
@@ -1 +1 @@
1
- {"version":3,"file":"commentBoxFrame.d.ts","sourceRoot":"","sources":["../src/commentBoxFrame.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAiB,KAAK,MAAM,EAAE,MAAM,eAAe,CAAA;AAQ1D,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAGjF;;;;;;;;GAQG;AAEH,+HAA+H;AAC/H,eAAO,MAAM,sBAAsB,QAAgG,CAAA;AAEnI;;;;;;;;;;GAUG;AACH,eAAO,MAAM,sBAAsB;;;;CAA+D,CAAA;AAElG,KAAK,kBAAkB,GAAG;IAAE,IAAI,EAAE,CAAC,MAAM,OAAO,CAAC,GAAG,IAAI,CAAA;CAAE,CAAA;AAE1D;;;;;GAKG;AACH,eAAO,MAAM,WAAW,sDA4BtB,CAAA;AAEF,oGAAoG;AACpG,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CASlD;AAED,MAAM,WAAW,aAAa;IAC5B,wHAAwH;IACxH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,wFAAwF;IACxF,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,8FAA8F;IAC9F,SAAS,CAAC,EAAE,IAAI,CAAC,qBAAqB,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC,CAAA;IACrE,0EAA0E;IAC1E,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,mEAAmE;IACnE,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,6EAA6E;IAC7E,MAAM,EAAE,SAAS,CAAA;IACjB,yBAAyB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,iHA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AAC,MAAM,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAA;IAC1C,2FAA2F;IAC3F,WAAW,EAAE,SAAS,CAAA;IACtB,0FAA0F;IAC1F,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,mEAAmE;IACnE,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,2DAA2D;IAC3D,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,wFAAwF;IACxF,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,qFAAqF;IACrF,SAAS,CAAC,EAAE,IAAI,CAAC,qBAAqB,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC,CAAA;IACrE,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;GAGG;AACH,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,KAAa,EAAE,OAAe,EAAE,MAAc,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,YAAY,+BA8E9J"}
@@ -0,0 +1,52 @@
1
+ import { type ReactNode } from 'react';
2
+ import type { ReactionCount, ReactionRowProps } from './ReactionRow';
3
+ export declare const OPTIONS: {
4
+ emoji: string;
5
+ label: string;
6
+ }[];
7
+ export declare const ME = "me";
8
+ export declare const nameOf: (id: string) => string;
9
+ export declare const ONE: {
10
+ name: string;
11
+ };
12
+ export declare const TWO: {
13
+ name: string;
14
+ };
15
+ export declare const THREE: {
16
+ name: string;
17
+ };
18
+ export declare const YOU: {
19
+ name: string;
20
+ };
21
+ export declare const WORDS = "A comment says what its author wrote. Its replies sit in the thread under it, and anyone here can react.";
22
+ export declare const SHORT = "A reply answers the comment above it.";
23
+ export declare const LONG = "A long comment keeps its whole text. It runs on for several lines so the card can be seen at its full height: the face and the name stay at the top, the words wrap under them, and the strip of actions stays in the top right corner while the card is pointed at. Nothing is cut, and the reactions and the replies row sit under the last line, as they do under a short one.";
24
+ /** Yours on or off, as the relay would count it. */
25
+ export declare function toggled(reactions: readonly ReactionCount[], emoji: string): ReactionCount[];
26
+ export declare const SOME: ReactionCount[];
27
+ /** Reactions that answer a press, as an app's would. */
28
+ export declare function useReactions(start?: readonly ReactionCount[]): ReactionRowProps;
29
+ /** Pictures and files under the words. */
30
+ export declare function Files(): import("react").JSX.Element;
31
+ /** Words with a person named in them, and a link. */
32
+ export declare function Mentions(): import("react").JSX.Element;
33
+ /** Words, and a card its author attached. */
34
+ export declare function WithCard(): import("react").JSX.Element;
35
+ /** Words, and a block quoted from something else. */
36
+ export declare function WithBlock(): import("react").JSX.Element;
37
+ /** The box a comment is edited in: the kit's CommentBox, as an app hands it to the card. */
38
+ export declare function EditBox({ text, done, refuse }: {
39
+ text: string;
40
+ done: () => void;
41
+ refuse?: boolean;
42
+ }): import("react").JSX.Element;
43
+ /** The box a reply or a comment is written in, with its tools as an app gives them: the paperclip. */
44
+ export declare function WriteBox({ label, closed }: {
45
+ label?: string;
46
+ closed?: string;
47
+ }): import("react").JSX.Element;
48
+ /** A column's width: 384px, every app's right column. */
49
+ export declare function Column({ children }: {
50
+ children: ReactNode;
51
+ }): import("react").JSX.Element;
52
+ //# sourceMappingURL=conversation.examples.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversation.examples.d.ts","sourceRoot":"","sources":["../src/conversation.examples.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAShD,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAGpE,eAAO,MAAM,OAAO;;;GAMnB,CAAA;AAED,eAAO,MAAM,EAAE,OAAO,CAAA;AAEtB,eAAO,MAAM,MAAM,GAAI,IAAI,MAAM,WAA2B,CAAA;AAE5D,eAAO,MAAM,GAAG;;CAAyB,CAAA;AACzC,eAAO,MAAM,GAAG;;CAAyB,CAAA;AACzC,eAA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