@hiver/connector-agent 4.22.0-slackM2-beta.6 → 4.22.0-slackM2-beta.8
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/api/effective-config.d.ts +4 -1
- package/features/slack/api/effective-config.d.ts.map +1 -1
- package/features/slack/components/SlackConversationTab.d.ts.map +1 -1
- package/features/slack/components/StartModal/SelectField.d.ts +10 -3
- package/features/slack/components/StartModal/SelectField.d.ts.map +1 -1
- package/features/slack/components/__tests__/SlackConversationTab.blocked.test.d.ts +2 -0
- package/features/slack/components/__tests__/SlackConversationTab.blocked.test.d.ts.map +1 -0
- package/features/slack/context.d.ts +1 -1
- package/index.es.js +4324 -4310
- package/index.umd.js +22 -22
- package/package.json +1 -1
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
export type EffectiveConfigReason = 'config_not_found' | 'role_not_allowed' | 'user_not_in_mailbox' | 'feature_flag_off' | 'effective'
|
|
1
|
+
export type EffectiveConfigReason = 'config_not_found' | 'role_not_allowed' | 'user_not_in_mailbox' | 'feature_flag_off' | 'effective'
|
|
2
|
+
/** Admin has disabled the workspace connector itself (M2) — distinct from
|
|
3
|
+
* `config_not_found`, which is "never configured for this mailbox". */
|
|
4
|
+
| 'connector_disabled';
|
|
2
5
|
export interface EffectiveConfigResponse {
|
|
3
6
|
enabled: boolean;
|
|
4
7
|
reason: EffectiveConfigReason;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"effective-config.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/api/effective-config.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,qBAAqB,GAC7B,kBAAkB,GAClB,kBAAkB,GAClB,qBAAqB,GACrB,kBAAkB,GAClB,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"effective-config.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/api/effective-config.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,qBAAqB,GAC7B,kBAAkB,GAClB,kBAAkB,GAClB,qBAAqB,GACrB,kBAAkB,GAClB,WAAW;AACb;wEACwE;GACtE,oBAAoB,CAAC;AAEzB,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC;;;;;OAKG;IACH,MAAM,CAAC,EAAE;QACP,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAChC,GAAG,IAAI,CAAC;CACV;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,kFAuBrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlackConversationTab.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/components/SlackConversationTab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA4C,MAAM,OAAO,CAAC;AAkCrE,UAAU,yBAAyB;IACjC;;oDAEgD;IAChD,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;CACnC;
|
|
1
|
+
{"version":3,"file":"SlackConversationTab.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/components/SlackConversationTab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA4C,MAAM,OAAO,CAAC;AAkCrE,UAAU,yBAAyB;IACjC;;oDAEgD;IAChD,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;CACnC;AA+CD,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CA+b9D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -10,9 +10,16 @@ interface SelectFieldProps<V extends string> {
|
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Bordered select that matches Figma's field chrome. Built on a custom
|
|
13
|
-
* trigger +
|
|
14
|
-
*
|
|
15
|
-
*
|
|
13
|
+
* trigger + a non-modal floating panel rather than MUI's <Select> or
|
|
14
|
+
* <Menu> — <Select> renders its own standard-variant input that resists
|
|
15
|
+
* `sx` overrides, and <Menu> is a Modal under the hood: nested inside this
|
|
16
|
+
* field's parent Dialog (StartModal), a second stacked Modal could leave
|
|
17
|
+
* its backdrop bookkeeping stuck and make the whole form unclickable after
|
|
18
|
+
* picking a value (the "background unreachable" QA bug). A controlled
|
|
19
|
+
* <Tooltip> (the same Popper-based, non-modal positioning primitive used
|
|
20
|
+
* elsewhere in this codebase for exactly this reason, e.g. the admin
|
|
21
|
+
* DefaultMessageEditor's insert-token panel) carries no modal/backdrop
|
|
22
|
+
* semantics, so that class of bug can't happen here.
|
|
16
23
|
*/
|
|
17
24
|
export declare function SelectField<V extends string>({ value, options, onChange }: SelectFieldProps<V>): import("react/jsx-runtime").JSX.Element;
|
|
18
25
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectField.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/StartModal/SelectField.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"SelectField.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/StartModal/SelectField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAUzD,MAAM,WAAW,YAAY,CAAC,CAAC,SAAS,MAAM;IAC5C,KAAK,EAAE,CAAC,CAAC;IACT,KAAK,EAAE,SAAS,CAAC;CAClB;AAED,UAAU,gBAAgB,CAAC,CAAC,SAAS,MAAM;IACzC,KAAK,EAAE,CAAC,CAAC;IACT,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;CAC9B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,gBAAgB,CAAC,CAAC,CAAC,2CAmE9F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlackConversationTab.blocked.test.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/__tests__/SlackConversationTab.blocked.test.tsx"],"names":[],"mappings":""}
|
|
@@ -97,7 +97,7 @@ export interface SlackContextData {
|
|
|
97
97
|
*/
|
|
98
98
|
highlightLinkId?: string;
|
|
99
99
|
/**
|
|
100
|
-
* Multi-link (M2, flag `
|
|
100
|
+
* Multi-link (M2, flag `ftr-ci-slack-m2` evaluated host-side):
|
|
101
101
|
* loads the multi-link UI — links-list switcher, link-existing flows,
|
|
102
102
|
* unlink, per-link unread. Default off (undefined) ⇒ the M1 single-link
|
|
103
103
|
* surfaces render and NOTHING new goes on the wire (no linkId/link_id
|