@hiver/connector-agent 4.17.0 → 4.18.0-slackm2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/hig-slack/HigSlackConnectModalIsland.d.ts +19 -0
- package/app/hig-slack/HigSlackConnectModalIsland.d.ts.map +1 -0
- package/app/hig-slack/HigSlackSection.d.ts +15 -0
- package/app/hig-slack/HigSlackSection.d.ts.map +1 -0
- package/app/hig-slack/index.d.ts +15 -0
- package/app/hig-slack/index.d.ts.map +1 -0
- package/app/hig-slack/provider.d.ts +21 -0
- package/app/hig-slack/provider.d.ts.map +1 -0
- package/app/hig-slack/style.d.ts +38 -0
- package/app/hig-slack/style.d.ts.map +1 -0
- package/features/slack/components/LinkedConversationPanel/LinkedChannelHeader.d.ts +21 -0
- package/features/slack/components/LinkedConversationPanel/LinkedChannelHeader.d.ts.map +1 -0
- package/features/slack/components/LinkedConversationPanel/MessageItem.d.ts.map +1 -1
- package/features/slack/components/LinkedConversationPanel/ThreadDetailView.d.ts +5 -1
- package/features/slack/components/LinkedConversationPanel/ThreadDetailView.d.ts.map +1 -1
- package/features/slack/components/LinkedConversationPanel/index.d.ts.map +1 -1
- package/features/slack/components/LinkedConversationPanel/style.d.ts +45 -6
- package/features/slack/components/LinkedConversationPanel/style.d.ts.map +1 -1
- package/features/slack/components/SlackConversationTab.d.ts.map +1 -1
- package/features/slack/context.d.ts +24 -0
- package/features/slack/context.d.ts.map +1 -1
- package/features/slack/utils/format-timestamp.d.ts +3 -0
- package/features/slack/utils/format-timestamp.d.ts.map +1 -0
- package/features/slack/utils/render-mentions.d.ts +15 -0
- package/features/slack/utils/render-mentions.d.ts.map +1 -0
- package/features/slack/utils/slack-links.d.ts +23 -0
- package/features/slack/utils/slack-links.d.ts.map +1 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -1
- package/index.es.js +10169 -9748
- package/index.umd.js +701 -520
- package/main-dev.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connect-modal island for the HIG (Gmail extension) host.
|
|
3
|
+
*
|
|
4
|
+
* M-HIG-1 §5.4 — reuse vs wrap: the existing SlackConnectModalIsland is
|
|
5
|
+
* already host-agnostic (provider stack = Redux + HiverProvider +
|
|
6
|
+
* ReactQueryClientProvider; props connectorId/open/onClose/onConnected?/
|
|
7
|
+
* sendTrackingEvent?; owns OAuth via useUserAuthFlow and portals to
|
|
8
|
+
* document.body). M-HIG-1 ships the same provider stack as omni (the
|
|
9
|
+
* Gmail-DOM style-isolation tuning is deferred — §6 Cross-cutting C), so
|
|
10
|
+
* no HIG-specific provider variant is needed yet.
|
|
11
|
+
*
|
|
12
|
+
* We therefore re-export it under a HIG-named symbol so the extension's
|
|
13
|
+
* import surface stays consistent (`HigSlackConnectModalIsland`). If a
|
|
14
|
+
* Gmail-DOM provider tweak is later required, swap this re-export for a
|
|
15
|
+
* thin wrapper that mounts the omni island inside the HIG provider bits —
|
|
16
|
+
* the export name and props stay stable for consumers.
|
|
17
|
+
*/
|
|
18
|
+
export { SlackConnectModalIsland as HigSlackConnectModalIsland, type SlackConnectModalIslandProps as HigSlackConnectModalIslandProps } from '../omni-slack/SlackConnectModalIsland';
|
|
19
|
+
//# sourceMappingURL=HigSlackConnectModalIsland.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HigSlackConnectModalIsland.d.ts","sourceRoot":"","sources":["../../../src/app/hig-slack/HigSlackConnectModalIsland.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EACL,uBAAuB,IAAI,0BAA0B,EACrD,KAAK,4BAA4B,IAAI,+BAA+B,EACrE,MAAM,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { SlackContextData } from '../../features/slack/context';
|
|
3
|
+
export type HigSlackSectionProps = SlackContextData & {
|
|
4
|
+
/** Host hook (M-HIG-2) for the linked-state "View all" link — wired to
|
|
5
|
+
* activating the Slack tab. The section itself stays panel-free. */
|
|
6
|
+
onViewAll?: () => void;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Public surface. Self-wraps in HigSlackProvider (mirroring HigSlackTab) so the
|
|
10
|
+
* host mounts it symmetrically with the same SlackContextData object — keeping
|
|
11
|
+
* the section and tab on the same shared query cache when both are mounted
|
|
12
|
+
* under one provider tree (§0 Addendum / M-HIG-2 §5.0.1).
|
|
13
|
+
*/
|
|
14
|
+
export declare const HigSlackSection: FC<HigSlackSectionProps>;
|
|
15
|
+
//# sourceMappingURL=HigSlackSection.d.ts.map
|
|
@@ -0,0 +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;AAiNF;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAIpD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { SlackContextData } from '../../features/slack/context';
|
|
3
|
+
export type HigSlackTabProps = SlackContextData;
|
|
4
|
+
/**
|
|
5
|
+
* Top-level mount point the Gmail (HIG) extension consumes for the Slack
|
|
6
|
+
* tab inside the right-rail conversation tab system. Equivalent to
|
|
7
|
+
* OmniSlackTab — the host owns the tab bar / labels; we render only the
|
|
8
|
+
* active-tab content + the portal-mounted connect modal.
|
|
9
|
+
*
|
|
10
|
+
* Reuses SlackConversationTab unchanged — it is the state machine
|
|
11
|
+
* (gated → disconnected/reauth/mismatch → linked → ready) and already
|
|
12
|
+
* drives SlackConnectModal + StartModal internally.
|
|
13
|
+
*/
|
|
14
|
+
export declare const HigSlackTab: FC<HigSlackTabProps>;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app/hig-slack/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAM3B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAIjE,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;AAEhD;;;;;;;;;GASG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAyB5C,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
import { SlackContextData } from '../../features/slack/context';
|
|
3
|
+
interface HigSlackProviderProps extends SlackContextData {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Provider stack for the HIG (Gmail extension) Slack surfaces. Mirrors
|
|
8
|
+
* OmniSlackProvider exactly — Redux + theme + react-query + feature
|
|
9
|
+
* context, in that order — so HigSlackTab and HigSlackSection mount under
|
|
10
|
+
* ONE shared ReactQueryClientProvider and observe the same query cache
|
|
11
|
+
* (effective-config + linked-conv). That shared cache is what keeps the
|
|
12
|
+
* two surfaces in sync with zero prop threading.
|
|
13
|
+
*
|
|
14
|
+
* Gmail-DOM tuning hook-point (M-HIG-1 §6, Cross-cutting C): this is the
|
|
15
|
+
* one place style-isolation / emotion-cache scoping would land. For
|
|
16
|
+
* M-HIG-1 we ship the same stack as omni and leave the audit as a
|
|
17
|
+
* follow-up — we don't add scoping the real Gmail DOM hasn't validated.
|
|
18
|
+
*/
|
|
19
|
+
export declare const HigSlackProvider: FC<HigSlackProviderProps>;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/app/hig-slack/provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAIjE,UAAU,qBAAsB,SAAQ,gBAAgB;IACtD,QAAQ,EAAE,SAAS,CAAC;CACrB;AAqBD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAqBtD,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { BoxProps, StackProps, TypographyProps } from '@hiver/hiver-ui-kit';
|
|
2
|
+
import { StyledComponent } from '@emotion/styled';
|
|
3
|
+
/**
|
|
4
|
+
* HigSlackSection accordion shell (§0 Addendum). The section must look
|
|
5
|
+
* IDENTICAL to its sibling detail sections (Priority, Linked conversations):
|
|
6
|
+
* a borderless, divider-separated collapsible row — NOT a bordered card.
|
|
7
|
+
* The library owns the full shell here: a header (logo + "Slack" label +
|
|
8
|
+
* count badge + chevron) and a collapsible body. A divider on top separates
|
|
9
|
+
* it from the section above, matching the host's detail-panel rhythm.
|
|
10
|
+
*/
|
|
11
|
+
export declare const AccordionRoot: StyledComponent<BoxProps>;
|
|
12
|
+
/** Clickable header row — logo + "Slack" + count badge on the left, chevron
|
|
13
|
+
* on the right. Toggles the body's collapse. */
|
|
14
|
+
export declare const AccordionHeader: StyledComponent<BoxProps>;
|
|
15
|
+
export declare const HeaderLeft: StyledComponent<BoxProps>;
|
|
16
|
+
export declare const HeaderLabel: StyledComponent<TypographyProps>;
|
|
17
|
+
/** Count badge next to "Slack" when linked — e.g. "2". */
|
|
18
|
+
export declare const CountBadge: StyledComponent<BoxProps>;
|
|
19
|
+
/** Body wrapper — collapses to nothing when the header is toggled shut. */
|
|
20
|
+
export declare const AccordionBody: StyledComponent<StackProps>;
|
|
21
|
+
/** Invitational body copy shared by the connect / start-new states. */
|
|
22
|
+
export declare const SectionBody: StyledComponent<TypographyProps>;
|
|
23
|
+
/** "Channel: #<name>" label/value row in the linked state. */
|
|
24
|
+
export declare const ChannelRow: StyledComponent<BoxProps>;
|
|
25
|
+
export declare const ChannelLabel: StyledComponent<TypographyProps>;
|
|
26
|
+
export declare const ChannelValue: StyledComponent<TypographyProps>;
|
|
27
|
+
/** Last-message preview card — avatar + author + timestamp + body. A compact
|
|
28
|
+
* echo of a MessageItem row; the FULL panel is deferred to HigSlackTab. */
|
|
29
|
+
export declare const PreviewCard: StyledComponent<BoxProps>;
|
|
30
|
+
export declare const PreviewAvatar: StyledComponent<BoxProps>;
|
|
31
|
+
export declare const PreviewBody: StyledComponent<StackProps>;
|
|
32
|
+
export declare const PreviewHeaderRow: StyledComponent<BoxProps>;
|
|
33
|
+
export declare const PreviewAuthor: StyledComponent<TypographyProps>;
|
|
34
|
+
export declare const PreviewTime: StyledComponent<TypographyProps>;
|
|
35
|
+
export declare const PreviewText: StyledComponent<TypographyProps>;
|
|
36
|
+
/** "View all" inline link — opens the Slack tab via onViewAll. */
|
|
37
|
+
export declare const ViewAllLink: StyledComponent<TypographyProps>;
|
|
38
|
+
//# sourceMappingURL=style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../src/app/hig-slack/style.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACjF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIvD;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,QAAQ,CAKnD,CAAC;AAEF;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ps {
|
|
3
|
+
/** Channel name (without the leading `#`) from the cached linked-conversation
|
|
4
|
+
* query. The band does not fetch — the panel passes the value it already has. */
|
|
5
|
+
channelName: string;
|
|
6
|
+
/** Slack `app_redirect` deep link to the channel/thread (Phase 2). When
|
|
7
|
+
* present, the additive `URL:` row renders a blue, truncated link opening in
|
|
8
|
+
* a new tab. Absent → `Channel:`-only Phase-1 layout. */
|
|
9
|
+
channelUrl?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* HIG-only top content band (Figma 679:621193) pinned above the linked panel.
|
|
13
|
+
* Phase 1 renders a `Channel:` (gray label) + `#<name>` (dark value) row; Phase 2
|
|
14
|
+
* adds an additive `URL:` row (blue, truncated link opening Slack in a new tab)
|
|
15
|
+
* whenever a `channelUrl` is supplied. The bottom hairline lives on
|
|
16
|
+
* `ChannelHeaderBand`. Purely presentational — gated by `showChannelHeader` at
|
|
17
|
+
* the call site.
|
|
18
|
+
*/
|
|
19
|
+
export declare const LinkedChannelHeader: FC<LinkedChannelHeaderProps>;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=LinkedChannelHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkedChannelHeader.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/LinkedChannelHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAM3B,UAAU,wBAAwB;IAChC;sFACkF;IAClF,WAAW,EAAE,MAAM,CAAC;IACpB;;8DAE0D;IAC1D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAWD;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CA4C5D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageItem.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/MessageItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,EAAE,
|
|
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;AAU7D,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,CAyK5C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
2
|
interface ThreadDetailViewProps {
|
|
3
3
|
/** Root ts of the thread being viewed. */
|
|
4
4
|
threadTs: string;
|
|
@@ -6,6 +6,10 @@ interface ThreadDetailViewProps {
|
|
|
6
6
|
hasLeftChannel: boolean;
|
|
7
7
|
guard?: <T>(fn: () => Promise<T>) => Promise<T>;
|
|
8
8
|
onBack: () => void;
|
|
9
|
+
/** HIG-only pinned channel band (already gated/built by the panel). Rendered
|
|
10
|
+
* at the top of the drill-in so the band stays visible across the channel
|
|
11
|
+
* list ↔ thread-detail navigation. Null on Omni / flags-off. */
|
|
12
|
+
channelBand?: ReactNode;
|
|
9
13
|
}
|
|
10
14
|
/**
|
|
11
15
|
* B4 channel thread-detail (Figma 683:669379) — drilled in from the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThreadDetailView.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/ThreadDetailView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAyC,MAAM,OAAO,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,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 +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;
|
|
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;AA8BvF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,uBAAuB,EAAE,EA4frC,CAAC"}
|
|
@@ -1,21 +1,44 @@
|
|
|
1
1
|
import { BoxProps, ButtonProps, StackProps } from '@hiver/hiver-ui-kit';
|
|
2
2
|
import { StyledComponent } from '@emotion/styled';
|
|
3
|
+
type LinkedRootBaseProps = BoxProps & {
|
|
4
|
+
isBoxed: boolean;
|
|
5
|
+
};
|
|
3
6
|
/**
|
|
4
7
|
* Layout for the linked-conv tab content per Figma frame
|
|
5
8
|
* 683:666932. The host (outlook-ui) owns the tab bar above; we
|
|
6
9
|
* paint the area under it. Outer vertical borders match the
|
|
7
10
|
* Figma frame which has `border-l border-r border-[#e2e8f0]`.
|
|
8
11
|
*/
|
|
9
|
-
export declare const
|
|
12
|
+
export declare const LinkedRootBase: StyledComponent<LinkedRootBaseProps>;
|
|
10
13
|
/**
|
|
11
14
|
* Pinned parent slot. Per Figma the parent message is just a
|
|
12
15
|
* normal Chat-UI row at the top of the panel (same px-[20px]
|
|
13
16
|
* py-[12px] as replies). No visible separator below it in the
|
|
14
17
|
* static frame — the visual separation comes from the
|
|
15
18
|
* subsequent rows starting at their own padded slot.
|
|
19
|
+
*
|
|
20
|
+
* `boxed` (HIG UI layer): when the boxed-message flag is on, message
|
|
21
|
+
* cards carry their own outer horizontal gutter, so the pinned parent
|
|
22
|
+
* needs the same horizontal inset to line its card up with the scrolled
|
|
23
|
+
* reply cards. Off → today's `padding: <xl> 0` (no horizontal), since the
|
|
24
|
+
* plain message row owns its horizontal padding.
|
|
25
|
+
*/
|
|
26
|
+
export declare const ParentPin: StyledComponent<BoxProps & {
|
|
27
|
+
boxed?: boolean;
|
|
28
|
+
}>;
|
|
29
|
+
/**
|
|
30
|
+
* HIG-only pinned "Channel:/URL:" band (Figma 679:621193), rendered above
|
|
31
|
+
* the scroll region in the linked state only (gated on `showChannelHeader`).
|
|
32
|
+
* `flex: 0 0 auto` keeps it fixed while messages/threads scroll below. Phase 1
|
|
33
|
+
* carries the `Channel:` row only; the `URL:` row drops in additively as a
|
|
34
|
+
* second `ChannelHeaderRow` child (see LinkedChannelHeader).
|
|
16
35
|
*/
|
|
17
|
-
export declare const
|
|
18
|
-
|
|
36
|
+
export declare const ChannelHeaderBand: StyledComponent<BoxProps>;
|
|
37
|
+
/** One row inside the band — a label + value pair, baseline-aligned. */
|
|
38
|
+
export declare const ChannelHeaderRow: StyledComponent<BoxProps>;
|
|
39
|
+
export declare const RepliesScroll: StyledComponent<BoxProps & {
|
|
40
|
+
boxed?: boolean;
|
|
41
|
+
}>;
|
|
19
42
|
/**
|
|
20
43
|
* Top-of-list "load older" affordance. Centered, muted caption row shown
|
|
21
44
|
* above the message list while older history exists (or is loading /
|
|
@@ -31,7 +54,9 @@ export declare const BackRow: StyledComponent<BoxProps>;
|
|
|
31
54
|
* Channel-mode scroll region (B4) — the full list of thread groups in
|
|
32
55
|
* the linked channel. Same scroll mechanics as RepliesScroll.
|
|
33
56
|
*/
|
|
34
|
-
export declare const ChannelThreadsScroll: StyledComponent<BoxProps
|
|
57
|
+
export declare const ChannelThreadsScroll: StyledComponent<BoxProps & {
|
|
58
|
+
boxed?: boolean;
|
|
59
|
+
}>;
|
|
35
60
|
/**
|
|
36
61
|
* One thread group (a root message + its "Replies (n)" link). Threads
|
|
37
62
|
* are separated by whitespace only — the Figma has no divider rule
|
|
@@ -61,8 +86,19 @@ export declare const ComposerSlotRoot: StyledComponent<BoxProps>;
|
|
|
61
86
|
/**
|
|
62
87
|
* One Chat-UI row (Figma 683:666934). Padded 20/12 with 8px gap
|
|
63
88
|
* between avatar and body column.
|
|
89
|
+
*
|
|
90
|
+
* `boxed` (HIG UI layer): renders the row as a light-gray rounded card. The
|
|
91
|
+
* outer horizontal gutter comes from the scroll container / ParentPin (so the
|
|
92
|
+
* pinned parent and scrolled cards share the same left/right inset); here we add
|
|
93
|
+
* the rounded base fill, a vertical gap between cards, and a hover shade
|
|
94
|
+
* **distinct from the base** so the hover reads against the gray card (the plain
|
|
95
|
+
* white-row hover would be invisible on it). The deep-link `isHighlighted` wash
|
|
96
|
+
* stays an inline `backgroundColor` on the row, which beats this rule and so
|
|
97
|
+
* still wins over the boxed base — see MessageItem.
|
|
64
98
|
*/
|
|
65
|
-
export declare const MessageRow: StyledComponent<StackProps
|
|
99
|
+
export declare const MessageRow: StyledComponent<StackProps & {
|
|
100
|
+
boxed?: boolean;
|
|
101
|
+
}>;
|
|
66
102
|
/**
|
|
67
103
|
* Floating per-message action bar, pinned to the row's top-right
|
|
68
104
|
* (Figma 683:661942: 26px tall white pill, 0.5px hairline border, a
|
|
@@ -94,7 +130,9 @@ export declare const MessageBodyCol: StyledComponent<BoxProps>;
|
|
|
94
130
|
* Header row — author + timestamp baseline-aligned with 12px gap
|
|
95
131
|
* (Figma 683:666940).
|
|
96
132
|
*/
|
|
97
|
-
export declare const MessageHeaderRow: StyledComponent<StackProps
|
|
133
|
+
export declare const MessageHeaderRow: StyledComponent<StackProps & {
|
|
134
|
+
boxed?: boolean;
|
|
135
|
+
}>;
|
|
98
136
|
/**
|
|
99
137
|
* Inbound reactions row (Figma 683:671873) — the third child of
|
|
100
138
|
* MessageBodyCol, so the column's 4px gap already spaces it 4px below the
|
|
@@ -111,4 +149,5 @@ export declare const ReactionsRow: StyledComponent<BoxProps>;
|
|
|
111
149
|
* the same size whether or not the self-border is shown.
|
|
112
150
|
*/
|
|
113
151
|
export declare const ReactionPill: StyledComponent<BoxProps>;
|
|
152
|
+
export {};
|
|
114
153
|
//# sourceMappingURL=style.d.ts.map
|
|
@@ -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;;;;;GAKG;AACH,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/Linked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AAE,eAAe,CAAC,QAAQ,CAStD,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,UAAU,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,CAoCxE,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CAalD,CAAC;AAKF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,WAAW,CAkBpD,CAAC;AAKF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,WAAW,CAmBrD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CAoBlD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAMpD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,UAAU,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,CAc9E,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CAKlD,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CAQlD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlackConversationTab.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/components/SlackConversationTab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAuB7D,UAAU,yBAAyB;IACjC;;oDAEgD;IAChD,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;CACnC;AAiCD,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,
|
|
1
|
+
{"version":3,"file":"SlackConversationTab.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/components/SlackConversationTab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAuB7D,UAAU,yBAAyB;IACjC;;oDAEgD;IAChD,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;CACnC;AAiCD,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAwK9D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -45,6 +45,17 @@ export interface SlackContextData {
|
|
|
45
45
|
onSelect: (emoji: string) => void;
|
|
46
46
|
onClose?: () => void;
|
|
47
47
|
}) => void;
|
|
48
|
+
/**
|
|
49
|
+
* Whether this surface is currently visible/active. Hosts that keep the
|
|
50
|
+
* Slack tab mounted but hidden (e.g. the Gmail extension's TabsBridge, which
|
|
51
|
+
* only toggles `display:none`) pass `false` while another tab is in front so
|
|
52
|
+
* the 2s `useLinkedConversation` poll pauses for the hidden surface —
|
|
53
|
+
* react-query's `refetchIntervalInBackground:false` only covers a hidden
|
|
54
|
+
* BROWSER tab, not a `display:none` element. Defaults to `true` (always
|
|
55
|
+
* polling) so hosts that always show the surface — outlook-ui, dev mounts —
|
|
56
|
+
* need not pass it.
|
|
57
|
+
*/
|
|
58
|
+
isActive?: boolean;
|
|
48
59
|
/**
|
|
49
60
|
* Slack-notification deep-link: the `ts` of the message that triggered the
|
|
50
61
|
* notification. When set, the linked-conversation panel scrolls that message
|
|
@@ -66,6 +77,19 @@ export interface SlackContextData {
|
|
|
66
77
|
* then won't re-trigger the highlight.
|
|
67
78
|
*/
|
|
68
79
|
onHighlightConsumed?: () => void;
|
|
80
|
+
/**
|
|
81
|
+
* HIG UI layer: render the pinned "Channel:/URL:" band above the linked panel
|
|
82
|
+
* (linked state only, thread + channel modes). Default off (undefined) — only
|
|
83
|
+
* the HIG provider sets it, so Omni / dev / test mounts are unaffected.
|
|
84
|
+
*/
|
|
85
|
+
showChannelHeader?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* HIG UI layer: render each message row as a boxed light-gray card with an
|
|
88
|
+
* outer white gutter, instead of today's plain white row. Default off
|
|
89
|
+
* (undefined) — only the HIG provider sets it; Omni / dev / test mounts keep
|
|
90
|
+
* the plain rows.
|
|
91
|
+
*/
|
|
92
|
+
boxedMessages?: boolean;
|
|
69
93
|
}
|
|
70
94
|
export declare const SlackContextProvider: FC<{
|
|
71
95
|
value: SlackContextData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/features/slack/context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,EAAE,EAAE,SAAS,EAAc,MAAM,OAAO,CAAC;AAEjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C;;;;;;;;;GASG;AACH,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB;;;;;;;OAOG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;IAClE;;;;;;;;OAQG;IACH,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,QAAQ,EAAE,WAAW,CAAC;QAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;KAAE,KAAK,IAAI,CAAC;IACrH;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/features/slack/context.tsx"],"names":[],"mappings":"AAAA,OAAO,E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-timestamp.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,UAAU,cAAe,MAAM,KAAG,MAI9C,CAAC;AAKF,eAAO,MAAM,kBAAkB,cAAe,MAAM,KAAG,MAKtD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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) but the SAME colour as the surrounding
|
|
6
|
+
* body text — it inherits, no colour override. An UNRESOLVED id renders as
|
|
7
|
+
* plain `@<id>`. The stored/edited text keeps the raw token so a re-send
|
|
8
|
+
* preserves the real Slack mention.
|
|
9
|
+
*
|
|
10
|
+
* Shared by `MessageItem` (the full linked-conv panel rows) and the HIG
|
|
11
|
+
* `HigSlackSection` last-message preview so the two never drift — the
|
|
12
|
+
* section reuses this renderer rather than re-implementing it (§0 Addendum).
|
|
13
|
+
*/
|
|
14
|
+
export declare const renderTextWithMentions: (text: string, names?: Map<string, string>) => ReactNode[];
|
|
15
|
+
//# sourceMappingURL=render-mentions.d.ts.map
|
|
@@ -0,0 +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;AAIvC;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,sBAAsB,SAAU,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,KAAG,SAAS,EAwB3F,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SlackTargetKind } from '../types/wire';
|
|
2
|
+
interface ChannelRedirectArgs {
|
|
3
|
+
channelId?: string;
|
|
4
|
+
/** Thread root ts (ExternalConversation.externalThreadTs) — deep-linked as
|
|
5
|
+
* `message_ts` in thread mode so Slack opens on the parent message. */
|
|
6
|
+
threadTs?: string;
|
|
7
|
+
targetKind?: SlackTargetKind;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Build a Slack `app_redirect` deep link to a linked channel (or thread).
|
|
11
|
+
*
|
|
12
|
+
* Resolves the Phase-2 URL-source question (summary §6): a correct link is
|
|
13
|
+
* constructible **client-side** from data already on the wire — `channelId`
|
|
14
|
+
* (plus the thread ts in thread mode) — so no workspace domain / backend
|
|
15
|
+
* permalink field is required. `app_redirect` opens the Slack desktop/web app on
|
|
16
|
+
* the channel; in thread mode `message_ts` deep-links the parent message.
|
|
17
|
+
*
|
|
18
|
+
* Returns `undefined` when there's no `channelId`, so the band can omit the URL
|
|
19
|
+
* row and fall back to the `Channel:`-only Phase-1 layout.
|
|
20
|
+
*/
|
|
21
|
+
export declare const buildChannelRedirectUrl: ({ channelId, threadTs, targetKind }: ChannelRedirectArgs) => string | undefined;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=slack-links.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slack-links.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/utils/slack-links.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAEnE,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;4EACwE;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,eAAe,CAAC;CAC9B;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB,wCAIjC,mBAAmB,KAAG,MAAM,GAAG,SAKjC,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -13,6 +13,12 @@ export { OmniSlackTab } from './app/omni-slack';
|
|
|
13
13
|
export type { OmniSlackTabProps } from './app/omni-slack';
|
|
14
14
|
export { SlackConnectModalIsland } from './app/omni-slack/SlackConnectModalIsland';
|
|
15
15
|
export type { SlackConnectModalIslandProps } from './app/omni-slack/SlackConnectModalIsland';
|
|
16
|
+
export { HigSlackTab } from './app/hig-slack';
|
|
17
|
+
export type { HigSlackTabProps } from './app/hig-slack';
|
|
18
|
+
export { HigSlackSection } from './app/hig-slack/HigSlackSection';
|
|
19
|
+
export type { HigSlackSectionProps } from './app/hig-slack/HigSlackSection';
|
|
20
|
+
export { HigSlackConnectModalIsland } from './app/hig-slack/HigSlackConnectModalIsland';
|
|
21
|
+
export type { HigSlackConnectModalIslandProps } from './app/hig-slack/HigSlackConnectModalIsland';
|
|
16
22
|
export { useSlackTabLabel } from './features/slack/hooks/useSlackTabLabel';
|
|
17
23
|
export { fetchAppCfValues, fetchDeferredAppCfValues } from './api/appCustomField';
|
|
18
24
|
export type { AppCfValuesRequest, AppCfValuesResponse, AppFieldValue, AppFieldValueStatus } from './api/appCustomField';
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACnH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,0BAA0B,EAC1B,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,kBAAk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