@hiver/connector-agent 4.22.0-slackM2-beta.14 → 4.22.0-slackM2-beta.15
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/features/slack/components/ErrorOutlineIcon.d.ts +9 -0
- package/features/slack/components/ErrorOutlineIcon.d.ts.map +1 -0
- package/features/slack/components/LinkExistingModal/index.d.ts.map +1 -1
- package/features/slack/components/LinkedConversationPanel/LinkedChannelHeader.d.ts +9 -7
- package/features/slack/components/LinkedConversationPanel/LinkedChannelHeader.d.ts.map +1 -1
- package/features/slack/components/MoreVertIcon.d.ts +9 -0
- package/features/slack/components/MoreVertIcon.d.ts.map +1 -0
- package/features/slack/components/SlackLinkList.d.ts.map +1 -1
- package/features/slack/components/UnlinkIcon.d.ts +9 -0
- package/features/slack/components/UnlinkIcon.d.ts.map +1 -0
- package/features/slack/components/figma-tokens.d.ts +3 -0
- package/features/slack/components/figma-tokens.d.ts.map +1 -1
- package/index.es.js +2719 -2625
- package/index.umd.js +258 -258
- package/package.json +1 -1
- package/testing/mocks/handlers/slack.d.ts.map +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Error/warning glyph (Figma M2 1961:32366, "Material Design Icons/Outlined/
|
|
4
|
+
* error_outline") — sits to the left of the cap-reached banner text in the
|
|
5
|
+
* multi-link tab list (`SlackLinkList`). `fill="currentColor"` so it tracks
|
|
6
|
+
* the banner's text color.
|
|
7
|
+
*/
|
|
8
|
+
export declare const ErrorOutlineIcon: FC;
|
|
9
|
+
//# sourceMappingURL=ErrorOutlineIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorOutlineIcon.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/components/ErrorOutlineIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAO9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkExistingModal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAyClD,UAAU,sBAAsB;IAC9B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;4CACwC;IACxC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC;4DACwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AA2BD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkExistingModal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAyClD,UAAU,sBAAsB;IAC9B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;4CACwC;IACxC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC;4DACwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AA2BD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAkUxD,CAAC"}
|
|
@@ -10,9 +10,9 @@ interface LinkedChannelHeaderProps {
|
|
|
10
10
|
/** Multi-link (M2): render a "← Back" row above the meta rows, returning to
|
|
11
11
|
* the links list. Absent (flag off / single link) → no back affordance. */
|
|
12
12
|
onBack?: () => void;
|
|
13
|
-
/** Multi-link (M2): render
|
|
14
|
-
*
|
|
15
|
-
* Absent → no
|
|
13
|
+
/** Multi-link (M2): render a kebab (⋮) options button on the Channel row
|
|
14
|
+
* with an "Unlink" menu item; picking it opens the unlink confirmation
|
|
15
|
+
* modal (owned by the caller). Absent → no kebab (flag off). */
|
|
16
16
|
onUnlink?: () => void;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
@@ -20,10 +20,12 @@ interface LinkedChannelHeaderProps {
|
|
|
20
20
|
* Phase 1 renders a `Channel:` (gray label) + `#<name>` (dark value) row; Phase 2
|
|
21
21
|
* adds an additive `URL:` row (blue, truncated link opening Slack in a new tab)
|
|
22
22
|
* whenever a `channelUrl` is supplied. M2 (multi-link) adds an optional "← Back"
|
|
23
|
-
* row (returns to the links list, Figma M2 1699:30955) and
|
|
24
|
-
* on the Channel row (Figma M2
|
|
25
|
-
*
|
|
26
|
-
*
|
|
23
|
+
* row (returns to the links list, Figma M2 1699:30955) and a kebab (⋮) options
|
|
24
|
+
* button on the Channel row (Figma M2 1699:26250 / 1961:33265) whose dropdown
|
|
25
|
+
* holds a single "Unlink" item that opens the unlink confirmation modal
|
|
26
|
+
* directly — replaces the earlier bare unlink icon button. The bottom
|
|
27
|
+
* hairline lives on `ChannelHeaderBand`. Gated by `showChannelHeader` at the
|
|
28
|
+
* call site.
|
|
27
29
|
*/
|
|
28
30
|
export declare const LinkedChannelHeader: FC<LinkedChannelHeaderProps>;
|
|
29
31
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkedChannelHeader.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/LinkedChannelHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"LinkedChannelHeader.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/LinkedChannelHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAwB,MAAM,OAAO,CAAC;AASjD,UAAU,wBAAwB;IAChC;sFACkF;IAClF,WAAW,EAAE,MAAM,CAAC;IACpB;;8DAE0D;IAC1D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;gFAC4E;IAC5E,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;qEAEiE;IACjE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAYD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CA8I5D,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Kebab (⋮) trigger glyph (Figma M2 1961:33279, "Material Design Icons/
|
|
4
|
+
* Outlined/more_vert") — opens the channel-row options menu (Unlink) in
|
|
5
|
+
* `LinkedChannelHeader`. `fill="currentColor"` so it tracks the button's
|
|
6
|
+
* icon color.
|
|
7
|
+
*/
|
|
8
|
+
export declare const MoreVertIcon: FC;
|
|
9
|
+
//# sourceMappingURL=MoreVertIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MoreVertIcon.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/components/MoreVertIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,EAO1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlackLinkList.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/components/SlackLinkList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SlackLinkList.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/components/SlackLinkList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAQ3B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAE7D,UAAU,kBAAkB;IAC1B,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,sEAAsE;IACtE,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAiCD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAmJhD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* "Unlink" glyph for the channel-row options menu item (Figma M2
|
|
4
|
+
* 1961:33269) — a broken-link-with-sparkles icon, distinct from the
|
|
5
|
+
* connect-flow `LinkIcon`. `stroke="currentColor"` so it tracks the menu
|
|
6
|
+
* item's text color.
|
|
7
|
+
*/
|
|
8
|
+
export declare const UnlinkIcon: FC;
|
|
9
|
+
//# sourceMappingURL=UnlinkIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnlinkIcon.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/components/UnlinkIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,EAUxB,CAAC"}
|
|
@@ -51,6 +51,9 @@ export declare const slackTokens: {
|
|
|
51
51
|
readonly convRowBackground: "#f6f8fc";
|
|
52
52
|
readonly convRowHoverBackground: "#eceff6";
|
|
53
53
|
readonly previewMetaText: "#6f7c90";
|
|
54
|
+
readonly errorSurfaceSubtle: "#fdf5f6";
|
|
55
|
+
readonly errorTextDefault: "#cd3746";
|
|
56
|
+
readonly menuItemText: "#4d596c";
|
|
54
57
|
};
|
|
55
58
|
readonly space: {
|
|
56
59
|
readonly xs: 2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"figma-tokens.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/components/figma-tokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"figma-tokens.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/components/figma-tokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyGd,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC"}
|