@hiver/connector-agent 4.22.1 → 4.22.2-slackm2-beta.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.
- package/app/hig-slack/HigSlackSection.d.ts.map +1 -1
- package/app/hig-slack/style.d.ts +23 -1
- package/app/hig-slack/style.d.ts.map +1 -1
- package/features/slack/components/LinkedConversationPanel/MessageItem.d.ts.map +1 -1
- package/features/slack/components/LinkedConversationPanel/style.d.ts +8 -1
- package/features/slack/components/LinkedConversationPanel/style.d.ts.map +1 -1
- package/features/slack/components/SlackConversationTab.d.ts.map +1 -1
- package/features/slack/components/SlackLinkList.d.ts.map +1 -1
- package/features/slack/components/__tests__/SlackConversationTab.notification-routing.test.d.ts +2 -0
- package/features/slack/components/__tests__/SlackConversationTab.notification-routing.test.d.ts.map +1 -0
- package/features/slack/context.d.ts +17 -0
- package/features/slack/context.d.ts.map +1 -1
- package/features/slack/utils/__tests__/mrkdwn.test.d.ts +2 -0
- package/features/slack/utils/__tests__/mrkdwn.test.d.ts.map +1 -0
- package/features/slack/utils/mrkdwn.d.ts +32 -0
- package/features/slack/utils/mrkdwn.d.ts.map +1 -0
- package/index.es.js +7956 -7828
- package/index.umd.js +460 -452
- package/package.json +1 -1
- package/features/slack/utils/render-mentions.d.ts +0 -18
- package/features/slack/utils/render-mentions.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Display-only: render Slack's raw `<@USER_ID>` mention tokens. A token
|
|
4
|
-
* whose id resolves to a known channel member becomes a `@DisplayName`
|
|
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.
|
|
12
|
-
*
|
|
13
|
-
* Shared by `MessageItem` (the full linked-conv panel rows) and the HIG
|
|
14
|
-
* `HigSlackSection` last-message preview so the two never drift — the
|
|
15
|
-
* section reuses this renderer rather than re-implementing it (§0 Addendum).
|
|
16
|
-
*/
|
|
17
|
-
export declare const renderTextWithMentions: (text: string, names?: Map<string, string>, isResolving?: boolean) => ReactNode[];
|
|
18
|
-
//# sourceMappingURL=render-mentions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|