@hiver/connector-admin 4.22.0-appsActivation-beta.6 → 4.22.0-appsActivation-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.
Files changed (22) hide show
  1. package/index.es.js +10421 -10348
  2. package/index.umd.js +490 -458
  3. package/package.json +1 -1
  4. package/v2/app/connectors/pages/app-detail/StatusMenu.d.ts +23 -0
  5. package/v2/app/connectors/pages/app-detail/StatusMenu.d.ts.map +1 -0
  6. package/v2/app/connectors/pages/app-detail/__tests__/header-figma-style.test.d.ts +2 -0
  7. package/v2/app/connectors/pages/app-detail/__tests__/header-figma-style.test.d.ts.map +1 -0
  8. package/v2/app/connectors/pages/app-detail/index.d.ts +2 -2
  9. package/v2/app/connectors/pages/app-detail/index.d.ts.map +1 -1
  10. package/v2/app/connectors/pages/app-detail/registry.d.ts +11 -0
  11. package/v2/app/connectors/pages/app-detail/registry.d.ts.map +1 -1
  12. package/v2/app/connectors/pages/app-detail/style.d.ts +14 -8
  13. package/v2/app/connectors/pages/app-detail/style.d.ts.map +1 -1
  14. package/v2/app/connectors/pages/settings/auth/index.d.ts +3 -1
  15. package/v2/app/connectors/pages/settings/auth/index.d.ts.map +1 -1
  16. package/v2/components/ui/connector-alert/index.d.ts.map +1 -1
  17. package/v2/features/connector-library/__tests__/app-page-entry-routes.test.d.ts +2 -0
  18. package/v2/features/connector-library/__tests__/app-page-entry-routes.test.d.ts.map +1 -0
  19. package/v2/features/connector-library/components/custom-connector-card-item/index.d.ts.map +1 -1
  20. package/v2/features/connector-library/components/custom-connector-card-list/index.d.ts.map +1 -1
  21. package/v2/app/connectors/pages/app-detail/EnabledToggle.d.ts +0 -26
  22. package/v2/app/connectors/pages/app-detail/EnabledToggle.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiver/connector-admin",
3
- "version": "4.22.0-appsActivation-beta.6",
3
+ "version": "4.22.0-appsActivation-beta.8",
4
4
  "main": "index.es.js",
5
5
  "module": "index.es.js",
6
6
  "types": "index.d.ts",
@@ -0,0 +1,23 @@
1
+ import { FC } from 'react';
2
+ interface StatusMenuProps {
3
+ connectorId: string;
4
+ isEnabled: boolean;
5
+ /** false when the connector hasn't completed workspace auth — disables the menu, as the legacy Settings switch. */
6
+ isAuthenticated: boolean;
7
+ /** Connector type (e.g. `slack`) — gates connector-specific tracking. */
8
+ connectorType?: string;
9
+ /** Connector display name, for the tracking payload. */
10
+ connectorName?: string;
11
+ }
12
+ /**
13
+ * Figma 322:11526 — the `Active ▾` / `Inactive ▾` status menu on an installed
14
+ * app's header. Replaces the chip + switch; same wire and UX as the legacy
15
+ * Settings toggle: the `updateConnectorDetailsApi` thunk, the same toasts and
16
+ * tracking, disabled while the APIs load or the connector is not authenticated.
17
+ *
18
+ * Kit 4.7.0 has no v2 entry, so this is the closest v1 control: an outlined
19
+ * button with a chevron opening the kit (MUI) Menu, which portals out.
20
+ */
21
+ export declare const StatusMenu: FC<StatusMenuProps>;
22
+ export {};
23
+ //# sourceMappingURL=StatusMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusMenu.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/StatusMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAwB7D,UAAU,eAAe;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,mHAAmH;IACnH,eAAe,EAAE,OAAO,CAAC;IACzB,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAOD;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAmE1C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=header-figma-style.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header-figma-style.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/app/connectors/pages/app-detail/__tests__/header-figma-style.test.tsx"],"names":[],"mappings":""}
@@ -7,8 +7,8 @@ interface AppDetailPageProps {
7
7
  * pre-install). "Start Setup" CTA visible; configs not fetched;
8
8
  * opens on Overview.
9
9
  * - `connector`: URL `:id` is an install id (post-install flow).
10
- * Configs fetched + prefilled; no "Start Setup" CTA, enable/disable
11
- * toggle instead; opens on Visibility.
10
+ * Configs fetched + prefilled; no "Start Setup" CTA, Active/Inactive
11
+ * status menu instead; opens on Visibility (Authentication if sign-in failed).
12
12
  */
13
13
  mode: AppDetailMode;
14
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA4D,MAAM,OAAO,CAAC;AA6BrF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAuC9C,UAAU,kBAAkB;IAC1B;;;;;;;;OAQG;IACH,IAAI,EAAE,aAAa,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAgGhD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA4D,MAAM,OAAO,CAAC;AA8BrF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AA6C9C,UAAU,kBAAkB;IAC1B;;;;;;;;OAQG;IACH,IAAI,EAAE,aAAa,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAgGhD,CAAC"}
@@ -39,4 +39,15 @@ export declare const setsUpOnLegacyScreen: (connectorType: string) => boolean;
39
39
  export declare const opensAppDetail: (connectorType: string, setupWithAiOn: boolean) => boolean;
40
40
  /** `opensAppDetail` with the flag read from the host. */
41
41
  export declare const useOpensAppDetail: () => ((connectorType: string) => boolean);
42
+ /**
43
+ * Where an entry into an app's auth / visibility settings lands. Apps on the new
44
+ * page open its tab (`tabIndex` 0 or none = Authentication, 1 = Visibility); the
45
+ * rest keep the legacy settings URL exactly as before.
46
+ */
47
+ export declare const useAppSettingsPath: () => ({ id, type, isEdit, tabIndex }: {
48
+ id: string;
49
+ type?: string;
50
+ isEdit?: boolean;
51
+ tabIndex?: number;
52
+ }) => string;
42
53
  //# sourceMappingURL=registry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/registry.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAQpE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,2DAA4D,CAAC;AAE5F,eAAO,MAAM,gBAAgB,kBAAmB,MAAM,KAAG,OACU,CAAC;AAEpE,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,iBAAiB,GAAG,IAClC,CAAC;AAEhD,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,OAAkD,CAAC;AAUhH,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,OACyB,CAAC;AAEvF;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,kBAAmB,MAAM,iBAAiB,OAAO,KAAG,OACiB,CAAC;AAEjG,yDAAyD;AACzD,eAAO,MAAM,iBAAiB,QAAO,CAAC,CAAC,aAAa,EAAE,MAAM,KAAK,OAAO,CAIvE,CAAC"}
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/registry.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAQpE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,2DAA4D,CAAC;AAE5F,eAAO,MAAM,gBAAgB,kBAAmB,MAAM,KAAG,OACU,CAAC;AAEpE,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,iBAAiB,GAAG,IAClC,CAAC;AAEhD,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,OAAkD,CAAC;AAUhH,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,OACyB,CAAC;AAEvF;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,kBAAmB,MAAM,iBAAiB,OAAO,KAAG,OACiB,CAAC;AAEjG,yDAAyD;AACzD,eAAO,MAAM,iBAAiB,QAAO,CAAC,CAAC,aAAa,EAAE,MAAM,KAAK,OAAO,CAIvE,CAAC;AAKF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,yCAO1B;IACD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,WASF,CAAC"}
@@ -8,14 +8,20 @@ export declare const LogoCard: StyledComponent<BoxProps>;
8
8
  export declare const LogoInner: StyledComponent<BoxProps>;
9
9
  export declare const HeaderTextColumn: StyledComponent<BoxProps>;
10
10
  export declare const PrimaryHeaderButton: StyledComponent<ButtonProps>;
11
- /**
12
- * The outlined sibling of `PrimaryHeaderButton`.
13
- *
14
- * Exists so `Setup with AI` can sit beside the existing CTA as the filled
15
- * action without restyling it — the header slot used to hold exactly one
16
- * control, and the flag-off path has to leave it looking untouched.
17
- */
18
- export declare const SecondaryHeaderButton: StyledComponent<ButtonProps>;
11
+ export declare const StatusMenuButton: StyledComponent<ButtonProps>;
12
+ export declare const STATUS_MENU_SX: {
13
+ '& .MuiMenuItem-root': {
14
+ fontFamily: string;
15
+ fontSize: string;
16
+ lineHeight: string;
17
+ color: string;
18
+ '&.Mui-selected, &.Mui-selected:hover': {
19
+ background: string;
20
+ };
21
+ };
22
+ };
23
+ export declare const HeaderDivider: StyledComponent<BoxProps>;
24
+ export declare const SetupWithAiButton: StyledComponent<ButtonProps>;
19
25
  export declare const HeaderActions: StyledComponent<BoxProps>;
20
26
  export declare const OverviewGrid: StyledComponent<BoxProps>;
21
27
  export declare const IllustrationShell: StyledComponent<BoxProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/style.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAMhD,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,QAAQ,CAiB9C,CAAC;AAKF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,QAAQ,CAM/C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAMhD,CAAC;AAKF,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,QAAQ,CAS9C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,QAAQ,CAW/C,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,QAAQ,CAMtD,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,WAAW,CAiB5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it=`: the app page renders this inline, where the mode says whether it is installed. */
5
+ isEdit?: boolean;
4
6
  }
5
- export declare const AuthSettings: ({ connectorData }: AuthSettings) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const AuthSettings: ({ connectorData, isEdit: isEditProp }: AuthSettings) => import("react/jsx-runtime").JSX.Element;
6
8
  export {};
7
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/app/connectors/pages/settings/auth/index.tsx"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAsB9D,UAAU,YAAY;IACpB,aAAa,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACzC;AAED,eAAO,MAAM,YAAY,sBAAuB,YAAY,4CA6e3D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/app/connectors/pages/settings/auth/index.tsx"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAsB9D,UAAU,YAAY;IACpB,aAAa,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACxC,2GAA2G;IAC3G,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,YAAY,0CAA2C,YAAY,4CA6e/E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2/components/ui/connector-alert/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAa5D,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,oBAAoB,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AACD,eAAO,MAAM,cAAc,2CAAoD,cAAc,mDA4E5F,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2/components/ui/connector-alert/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAe5D,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,oBAAoB,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AACD,eAAO,MAAM,cAAc,2CAAoD,cAAc,mDA8E5F,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=app-page-entry-routes.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-page-entry-routes.test.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/connector-library/__tests__/app-page-entry-routes.test.tsx"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/custom-connector-card-item/index.tsx"],"names":[],"mappings":"AAsCA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAqBzD,UAAU,wBAAwB;IAChC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAsBD,eAAO,MAAM,uBAAuB,iEAKjC,wBAAwB,4CA8L1B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/custom-connector-card-item/index.tsx"],"names":[],"mappings":"AAsCA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAqBzD,UAAU,wBAAwB;IAChC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAsBD,eAAO,MAAM,uBAAuB,iEAKjC,wBAAwB,4CA+L1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/custom-connector-card-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAoBvC,eAAO,MAAM,uBAAuB,EAAE,EAgFrC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/custom-connector-card-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAoBvC,eAAO,MAAM,uBAAuB,EAAE,EAiFrC,CAAC"}
@@ -1,26 +0,0 @@
1
- import { FC } from 'react';
2
- interface EnabledToggleProps {
3
- connectorId: string;
4
- isEnabled: boolean;
5
- /** false when the connector hasn't completed workspace auth — disables the
6
- * toggle to match the legacy Settings behavior (`!isAuthenticated`
7
- * forces `disableSwitch = true`). */
8
- isAuthenticated: boolean;
9
- /** Connector type (e.g. `slack`) — gates connector-specific tracking. */
10
- connectorType?: string;
11
- /** Connector display name, for the tracking payload. */
12
- connectorName?: string;
13
- }
14
- /**
15
- * Active/Inactive status chip + loader switch for the connector-route
16
- * AppDetailPage. Same wire + UX as the legacy Settings page (top-right
17
- * of `apps/admin/src/v2/app/connectors/pages/settings/index.tsx`) —
18
- * dispatches the same `updateConnectorDetailsApi` thunk, shows the
19
- * same toasts, disables under the same conditions.
20
- *
21
- * Only intended to be rendered in `mode === 'connector'`. The
22
- * template route has no install row to toggle.
23
- */
24
- export declare const EnabledToggle: FC<EnabledToggleProps>;
25
- export {};
26
- //# sourceMappingURL=EnabledToggle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EnabledToggle.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/EnabledToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,EAAE,EAAc,MAAM,OAAO,CAAC;AAuBpD,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB;;0CAEsC;IACtC,eAAe,EAAE,OAAO,CAAC;IACzB,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAsDhD,CAAC"}