diff --git a/plugins/hubspot/package.json b/plugins/hubspot/package.json index 751570900..00a1cfc3d 100644 --- a/plugins/hubspot/package.json +++ b/plugins/hubspot/package.json @@ -15,7 +15,7 @@ "dependencies": { "@tanstack/react-query": "^5.81.5", "classnames": "^2.5.1", - "framer-plugin": "^3.3.2", + "framer-plugin": "^3.5.2", "motion": "^12.23.0", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/plugins/hubspot/src/App.tsx b/plugins/hubspot/src/App.tsx index 1e4357aba..04ced0836 100644 --- a/plugins/hubspot/src/App.tsx +++ b/plugins/hubspot/src/App.tsx @@ -28,7 +28,7 @@ const routes: Route[] = [ path: "/canvas", element: CanvasMenuPage, size: { - height: 546, + height: 561, }, children: [ { @@ -186,6 +186,19 @@ export function App() { return } + void framer.setMenu([ + { + label: "Log Out", + visible: true, + onAction: () => { + auth.logout() + framer.closePlugin( + "To fully remove the integration, uninstall the Framer app from the HubSpot integrations dashboard." + ) + }, + }, + ]) + if (isInCMSModes) { return handleCMSModes() } diff --git a/plugins/hubspot/src/blog.ts b/plugins/hubspot/src/blog.ts index bcad1f6aa..2d9849e0d 100644 --- a/plugins/hubspot/src/blog.ts +++ b/plugins/hubspot/src/blog.ts @@ -141,7 +141,8 @@ function getFieldDataEntryInput(field: ManagedCollectionFieldInput, value: unkno } case "collectionReference": - case "multiCollectionReference": { + case "multiCollectionReference": + case "array": { // TODO: Implement return undefined } diff --git a/plugins/hubspot/src/components/PageErrorBoundaryFallback.tsx b/plugins/hubspot/src/components/PageErrorBoundaryFallback.tsx index a4986b621..b23e447a2 100644 --- a/plugins/hubspot/src/components/PageErrorBoundaryFallback.tsx +++ b/plugins/hubspot/src/components/PageErrorBoundaryFallback.tsx @@ -32,7 +32,7 @@ export const PageErrorBoundaryFallback = ({ children }: PropsWithChildren) => ( void framer.closePlugin() }} > - logout + log out . diff --git a/plugins/hubspot/src/pages/Auth.tsx b/plugins/hubspot/src/pages/Auth.tsx index 6aaffc036..fc2b68acb 100644 --- a/plugins/hubspot/src/pages/Auth.tsx +++ b/plugins/hubspot/src/pages/Auth.tsx @@ -64,7 +64,7 @@ export default function AuthPage() {
-