@hiver/connector-agent 4.18.0-slackm2-beta.3 → 4.18.0-slackm2-beta.5

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 (24) hide show
  1. package/app/hig-slack/HigSlackSection.d.ts.map +1 -1
  2. package/app/hig-slack/style.d.ts.map +1 -1
  3. package/features/slack/components/LinkedConversationPanel/ChannelThreadGroup.d.ts +3 -0
  4. package/features/slack/components/LinkedConversationPanel/ChannelThreadGroup.d.ts.map +1 -1
  5. package/features/slack/components/LinkedConversationPanel/Composer.d.ts.map +1 -1
  6. package/features/slack/components/LinkedConversationPanel/MessageItem.d.ts +17 -0
  7. package/features/slack/components/LinkedConversationPanel/MessageItem.d.ts.map +1 -1
  8. package/features/slack/components/LinkedConversationPanel/ThreadDetailView.d.ts +3 -0
  9. package/features/slack/components/LinkedConversationPanel/ThreadDetailView.d.ts.map +1 -1
  10. package/features/slack/components/LinkedConversationPanel/ThreadSkeleton.d.ts +3 -1
  11. package/features/slack/components/LinkedConversationPanel/ThreadSkeleton.d.ts.map +1 -1
  12. package/features/slack/components/LinkedConversationPanel/index.d.ts.map +1 -1
  13. package/features/slack/components/LinkedConversationPanel/style.d.ts +29 -4
  14. package/features/slack/components/LinkedConversationPanel/style.d.ts.map +1 -1
  15. package/features/slack/messageType.d.ts +5 -0
  16. package/features/slack/messageType.d.ts.map +1 -1
  17. package/features/slack/utils/render-mentions.d.ts +8 -9
  18. package/features/slack/utils/render-mentions.d.ts.map +1 -1
  19. package/index.es.js +6588 -6438
  20. package/index.umd.js +417 -376
  21. package/main-dev.d.ts.map +1 -1
  22. package/package.json +1 -1
  23. package/testing/mocks/handlers/slack.d.ts +3 -0
  24. package/testing/mocks/handlers/slack.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"HigSlackSection.d.ts","sourceRoot":"","sources":["../../../src/app/hig-slack/HigSlackSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAkC,MAAM,OAAO,CAAC;AAQ3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAiCjE,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,GAAG;IACpD;yEACqE;IACrE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AA4NF;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAIpD,CAAC"}
1
+ {"version":3,"file":"HigSlackSection.d.ts","sourceRoot":"","sources":["../../../src/app/hig-slack/HigSlackSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAkC,MAAM,OAAO,CAAC;AAQ3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAiCjE,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,GAAG;IACpD;yEACqE;IACrE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAwOF;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAIpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../src/app/hig-slack/style.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC9F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIvD;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,QAAQ,CAKnD,CAAC;AAEF;iDACiD;AACjD,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,QAAQ,CAarD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAKhD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAMxD,CAAC;AAEF,0DAA0D;AAC1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AAe,CASxD,CAAC;AAEF,kEAAkE;AAClE,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAWxD,CAAC"}
@@ -5,6 +5,9 @@ interface ChannelThreadGroupProps {
5
5
  /** externalUserId → display name, shared with the composer's picker
6
6
  * so `<@U…>` tokens render as `@DisplayName`. */
7
7
  memberNames?: Map<string, string>;
8
+ /** Forwarded to the root row: true while the members roster is still
9
+ * fetching, so unresolved mentions shimmer instead of flashing `<@id>`. */
10
+ mentionsResolving?: boolean;
8
11
  /** Drill into this thread's detail view (root + lazily-loaded
9
12
  * replies). Fired by both the hover "Reply" action and the
10
13
  * "Replies (n)" link. */
@@ -1 +1 @@
1
- {"version":3,"file":"ChannelThreadGroup.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/ChannelThreadGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAK3B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAKpE,UAAU,uBAAuB;IAC/B,MAAM,EAAE,gBAAgB,CAAC;IACzB;sDACkD;IAClD,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC;;8BAE0B;IAC1B,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC;;gEAE4D;IAC5D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;+EAC2E;IAC3E,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CA6C1D,CAAC"}
1
+ {"version":3,"file":"ChannelThreadGroup.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/ChannelThreadGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAI3B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAKpE,UAAU,uBAAuB;IAC/B,MAAM,EAAE,gBAAgB,CAAC;IACzB;sDACkD;IAClD,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC;gFAC4E;IAC5E,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;8BAE0B;IAC1B,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC;;gEAE4D;IAC5D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;+EAC2E;IAC3E,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAoC1D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Composer.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/Composer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,EAAE,EAA+E,MAAM,OAAO,CAAC;AAgFvH,UAAU,aAAa;IACrB;oEACgE;IAChE,KAAK,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;IAChD;wEACoE;IACpE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;oDACgD;IAChD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,iEAAiE;IACjE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;4CAEwC;IACxC,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAChC;;;wEAGoE;IACpE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA4iBtC,CAAC"}
1
+ {"version":3,"file":"Composer.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/Composer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,EAAE,EAA+E,MAAM,OAAO,CAAC;AAgFvH,UAAU,aAAa;IACrB;oEACgE;IAChE,KAAK,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;IAChD;wEACoE;IACpE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;oDACgD;IAChD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,iEAAiE;IACjE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;4CAEwC;IACxC,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAChC;;;wEAGoE;IACpE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAijBtC,CAAC"}
@@ -5,6 +5,11 @@ interface MessageItemProps {
5
5
  /** externalUserId → display name, for rendering `<@U…>` mention
6
6
  * tokens as `@DisplayName`. Falls back to `@<id>` when unknown. */
7
7
  memberNames?: Map<string, string>;
8
+ /** True while the channel-members roster (the async source that feeds
9
+ * `memberNames`) is still fetching. An as-yet-unresolved mention then
10
+ * renders an inline shimmer instead of the raw `<@id>`, so it swaps
11
+ * straight to `@DisplayName` once the roster lands. */
12
+ mentionsResolving?: boolean;
8
13
  /** When provided, a hover toolbar with a "Reply" action is shown on
9
14
  * the row (channel list roots). Omitted → no toolbar (e.g. replies
10
15
  * inside an open thread). */
@@ -16,6 +21,18 @@ interface MessageItemProps {
16
21
  * (deep-link arrival). Inline background overrides the :hover rule so the
17
22
  * highlight holds steady while hovered. */
18
23
  isHighlighted?: boolean;
24
+ /** When true, clamp the message body to a few lines (3 boxed / 5 normal)
25
+ * behind a "Show more"/"Show less" toggle. Used for the pinned thread root
26
+ * so a long opening message doesn't push the replies off-screen. */
27
+ collapsible?: boolean;
28
+ /** Channel-list thread root only: the reply count for the "Replies (n)"
29
+ * drill-in link. In boxed (HIG) mode the link renders inside the message
30
+ * box, left-aligned under the body; the non-boxed panel renders it
31
+ * externally (see ChannelThreadGroup), so this is ignored there. */
32
+ replyCount?: number;
33
+ /** Drill into this thread's detail view. Fired by the boxed-mode
34
+ * "Replies (n)" link (paired with `replyCount`). */
35
+ onOpenReplies?: () => void;
19
36
  }
20
37
  /**
21
38
  * Single Chat-UI row per Figma 683:666933 / 666934.
@@ -1 +1 @@
1
- {"version":3,"file":"MessageItem.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/MessageItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,EAAE,EAAqB,MAAM,OAAO,CAAC;AAW7D,OAAO,KAAK,EAAE,YAAY,EAAiB,MAAM,6BAA6B,CAAC;AAgB/E,UAAU,gBAAgB;IACxB,OAAO,EAAE,YAAY,CAAC;IACtB;wEACoE;IACpE,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC;;kCAE8B;IAC9B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;2EACuE;IACvE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;gDAE4C;IAC5C,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAkDD;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAmL5C,CAAC"}
1
+ {"version":3,"file":"MessageItem.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/MessageItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,EAAE,EAA8C,MAAM,OAAO,CAAC;AAYtF,OAAO,KAAK,EAAE,YAAY,EAAiB,MAAM,6BAA6B,CAAC;AAiB/E,UAAU,gBAAgB;IACxB,OAAO,EAAE,YAAY,CAAC;IACtB;wEACoE;IACpE,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC;;;4DAGwD;IACxD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;kCAE8B;IAC9B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;2EACuE;IACvE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;gDAE4C;IAC5C,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;yEAEqE;IACrE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;yEAGqE;IACrE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;yDACqD;IACrD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAkDD;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAwQ5C,CAAC"}
@@ -3,6 +3,9 @@ interface ThreadDetailViewProps {
3
3
  /** Root ts of the thread being viewed. */
4
4
  threadTs: string;
5
5
  memberNames?: Map<string, string>;
6
+ /** True while the panel-level members roster is still fetching, so
7
+ * as-yet-unresolved mentions shimmer instead of flashing `<@id>`. */
8
+ mentionsResolving?: boolean;
6
9
  hasLeftChannel: boolean;
7
10
  guard?: <T>(fn: () => Promise<T>) => Promise<T>;
8
11
  onBack: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadDetailView.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/ThreadDetailView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAyC,MAAM,OAAO,CAAC;AA0F7E,UAAU,qBAAqB;IAC7B,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,cAAc,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;IAChD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB;;qEAEiE;IACjE,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAsJtD,CAAC"}
1
+ {"version":3,"file":"ThreadDetailView.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/ThreadDetailView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAyC,MAAM,OAAO,CAAC;AA0F7E,UAAU,qBAAqB;IAC7B,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC;0EACsE;IACtE,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;IAChD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB;;qEAEiE;IACjE,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAwKtD,CAAC"}
@@ -1,3 +1,5 @@
1
1
  import { FC } from 'react';
2
- export declare const ThreadSkeleton: FC;
2
+ export declare const ThreadSkeleton: FC<{
3
+ boxed?: boolean;
4
+ }>;
3
5
  //# sourceMappingURL=ThreadSkeleton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadSkeleton.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/ThreadSkeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AA+B3B,eAAO,MAAM,cAAc,EAAE,EAM5B,CAAC"}
1
+ {"version":3,"file":"ThreadSkeleton.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/ThreadSkeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAgD3B,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,CAQlD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA8D,MAAM,OAAO,CAAC;AA+BvF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,uBAAuB,EAAE,EAsgBrC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA8D,MAAM,OAAO,CAAC;AA+BvF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,uBAAuB,EAAE,EA2gBrC,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { ButtonHTMLAttributes } from 'react';
1
2
  import { BoxProps, ButtonProps, StackProps } from '@hiver/hiver-ui-kit';
2
3
  import { StyledComponent } from '@emotion/styled';
3
4
  type LinkedRootBaseProps = BoxProps & {
@@ -48,8 +49,14 @@ export declare const LoadOlderBar: StyledComponent<BoxProps>;
48
49
  /**
49
50
  * Thread-detail "‹ back" row (Figma 683:669379) — sits above the
50
51
  * drilled-in thread, left-aligned with the message column.
52
+ *
53
+ * `boxed` (HIG layer): the message cards sit at the RepliesScroll gutter
54
+ * (8px/lg) rather than the panel pad (20px), so the back affordance takes the
55
+ * same 8px left inset to line up with the cards' left edge.
51
56
  */
52
- export declare const BackRow: StyledComponent<BoxProps>;
57
+ export declare const BackRow: StyledComponent<BoxProps & {
58
+ boxed?: boolean;
59
+ }>;
53
60
  /**
54
61
  * Channel-mode scroll region (B4) — the full list of thread groups in
55
62
  * the linked channel. Same scroll mechanics as RepliesScroll.
@@ -63,6 +70,19 @@ export declare const ChannelThreadsScroll: StyledComponent<BoxProps & {
63
70
  * between messages.
64
71
  */
65
72
  export declare const ThreadGroupRoot: StyledComponent<BoxProps>;
73
+ /**
74
+ * "Replies (n)" drill-in link on a channel-list thread root. Placement
75
+ * differs by layer:
76
+ * - non-boxed panel: rendered below the message row (sibling in
77
+ * ThreadGroupRoot), indented by `panel + avatar(30) + gap` so it lands
78
+ * under the root author's body column.
79
+ * - boxed (HIG) layer: rendered inside the message box as the last child
80
+ * of MessageBodyCol, so it sits inside the gray card and left-aligns with
81
+ * the message content (no indent — the column already starts at content).
82
+ */
83
+ export declare const RepliesButton: StyledComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
84
+ boxed?: boolean;
85
+ }>;
66
86
  /**
67
87
  * Thread-detail reply stack (Figma 683:669746). Replies are indented
68
88
  * 32px so their avatars sit under the root message's text column, and a
@@ -116,15 +136,20 @@ export declare const MessageRow: StyledComponent<StackProps & {
116
136
  * z-index keeps it above adjacent rows' hover background. `overflow: hidden`
117
137
  * clamps the button's hover tint to the pill's rounded corners.
118
138
  */
119
- export declare const HoverToolbar: StyledComponent<BoxProps>;
139
+ export declare const HoverToolbar: StyledComponent<BoxProps & {
140
+ boxed?: boolean;
141
+ }>;
120
142
  export declare const ReplyButton: StyledComponent<ButtonProps>;
121
143
  export declare const DeleteButton: StyledComponent<ButtonProps>;
122
144
  /**
123
145
  * Avatar — 30px fully rounded per Figma 683:666937 (`size-[30px]
124
146
  * rounded-[100px]`). Background per-author in production; the
125
- * fallback uses Hiver's purple-light tint.
147
+ * fallback uses Hiver's purple-light tint. In boxed (HIG) mode the
148
+ * tighter card layout uses a 24px avatar.
126
149
  */
127
- export declare const AvatarCircle: StyledComponent<BoxProps>;
150
+ export declare const AvatarCircle: StyledComponent<BoxProps & {
151
+ boxed?: boolean;
152
+ }>;
128
153
  export declare const MessageBodyCol: StyledComponent<BoxProps>;
129
154
  /**
130
155
  * Header row — author + timestamp baseline-aligned with 12px gap
@@ -1 +1 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/style.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIvD,KAAK,mBAAmB,GAAG,QAAQ,GAAG;IACpC,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,mBAAmB,CAa/D,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,QAAQ,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,CAKrE,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAE,eAAe,CAAC,QAAQ,CAQvD,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,QAAQ,CAMtD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,QAAQ,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,CAiBzE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,eAAe,C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E,eAAe,CAAC,QAAQ,CAQlD,CAAC"}
@@ -13,4 +13,9 @@ export declare const NON_REPLYABLE_SUBTYPES: ReadonlySet<string>;
13
13
  /** Ordinary messages (no subtype) are replyable; system subtypes above
14
14
  * are not. Unknown subtypes default to replyable. */
15
15
  export declare const isReplyable: (message: Pick<SlackMessage, "subtype">) => boolean;
16
+ /** These lifecycle subtypes describe an event (e.g. "@X has joined the
17
+ * channel") rather than carrying a user-authored message. They render as a
18
+ * plain, full-width descriptive line — no avatar, author, timestamp, box, or
19
+ * reply affordance. (Tombstone is handled separately via DeletedTombstone.) */
20
+ export declare const isSystemNotice: (message: Pick<SlackMessage, "subtype">) => boolean;
16
21
  //# sourceMappingURL=messageType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"messageType.d.ts","sourceRoot":"","sources":["../../../src/features/slack/messageType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE;;;;;;;;;GASG;AACH,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,MAAM,CAerD,CAAC;AAEH;sDACsD;AACtD,eAAO,MAAM,WAAW,YAAa,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,KAAG,OACH,CAAC"}
1
+ {"version":3,"file":"messageType.d.ts","sourceRoot":"","sources":["../../../src/features/slack/messageType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE;;;;;;;;;GASG;AACH,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,MAAM,CAerD,CAAC;AAEH;sDACsD;AACtD,eAAO,MAAM,WAAW,YAAa,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,KAAG,OACH,CAAC;AAEnE;;;gFAGgF;AAChF,eAAO,MAAM,cAAc,YAAa,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,KAAG,OACN,CAAC"}
@@ -2,18 +2,17 @@ import { ReactNode } from 'react';
2
2
  /**
3
3
  * Display-only: render Slack's raw `<@USER_ID>` mention tokens. A token
4
4
  * whose id resolves to a known channel member becomes a `@DisplayName`
5
- * rendered in medium weight (500). By default it keeps the SAME colour as
6
- * the surrounding body text (inherits, no override); when `highlight` is set
7
- * the resolved name is painted in the Figma "Blue/Text/Body" mention colour.
8
- * An UNRESOLVED id renders as plain `@<id>`. The stored/edited text keeps the
9
- * raw token so a re-send preserves the real Slack mention.
10
- *
11
- * `highlight` is gated on the `boxedMessages` flag at the call sites so the
12
- * coloured mention is HIG-only and other surfaces keep the inherited colour.
5
+ * rendered in medium weight (500), keeping the SAME colour as the surrounding
6
+ * body text (no colour override). An UNRESOLVED id renders as plain `@<id>` —
7
+ * unless `isResolving` is set (the members roster it would resolve against is
8
+ * still in flight), in which case it renders an inline shimmer placeholder
9
+ * until the roster lands (avoids the `@<id>` `@Name` flash). The
10
+ * stored/edited text keeps the raw token so a re-send preserves the real
11
+ * Slack mention.
13
12
  *
14
13
  * Shared by `MessageItem` (the full linked-conv panel rows) and the HIG
15
14
  * `HigSlackSection` last-message preview so the two never drift — the
16
15
  * section reuses this renderer rather than re-implementing it (§0 Addendum).
17
16
  */
18
- export declare const renderTextWithMentions: (text: string, names?: Map<string, string>, highlight?: boolean) => ReactNode[];
17
+ export declare const renderTextWithMentions: (text: string, names?: Map<string, string>, isResolving?: boolean) => ReactNode[];
19
18
  //# sourceMappingURL=render-mentions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"render-mentions.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/utils/render-mentions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,sBAAsB,SAAU,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,cAAc,OAAO,KAAG,SAAS,EAwBhH,CAAC"}
1
+ {"version":3,"file":"render-mentions.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/utils/render-mentions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AA0BvC;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,SAAU,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,4BAAwB,SAAS,EA4BhH,CAAC"}