diff --git a/packages/forge/blocks/qrcode/logo.tsx b/packages/forge/blocks/qrcode/logo.tsx index 93ea0dfcb3..15563c0553 100644 --- a/packages/forge/blocks/qrcode/logo.tsx +++ b/packages/forge/blocks/qrcode/logo.tsx @@ -6,9 +6,9 @@ export const QrCodeLogo = (props: React.SVGProps) => ( viewBox="0 0 24 24" fill="none" stroke="currentColor" - strokeWidth="2" - strokeLinecap="round" - strokeLinejoin="round" + stroke-width="2" + stroke-linecap="round" + stroke-linejoin="round" {...props} > diff --git a/packages/forge/repository/index.ts b/packages/forge/repository/index.ts index 62db4674f4..88430f9602 100644 --- a/packages/forge/repository/index.ts +++ b/packages/forge/repository/index.ts @@ -8,4 +8,5 @@ export const enabledBlocks = [ 'dify-ai', 'mistral', 'me-chama-no-zap', + 'qr-code', ] as const diff --git a/packages/forge/schemas/index.ts b/packages/forge/schemas/index.ts index c46c62886c..b5ba621229 100644 --- a/packages/forge/schemas/index.ts +++ b/packages/forge/schemas/index.ts @@ -3,6 +3,7 @@ import { difyAi } from '@typebot.io/dify-ai-block' import { mistral } from '@typebot.io/mistral-block' import { qrCode } from '@typebot.io/qrcode-block' import { meChamaNoZap } from '@typebot.io/me-chama-no-zap-block' +import { qrCode } from '@typebot.io/qrcode-block' import { chatNode } from '@typebot.io/chat-node-block' import { calCom } from '@typebot.io/cal-com-block' import { zemanticAi } from '@typebot.io/zemantic-ai-block' @@ -24,6 +25,7 @@ export const forgedBlocks = [ difyAi, mistral meChamaNoZap, + qrCode, ] as BlockDefinition<(typeof enabledBlocks)[number], any, any>[] export type ForgedBlockDefinition = (typeof forgedBlocks)[number] diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 314aa9fb8a..bf22d7a230 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1326,6 +1326,31 @@ importers: specifier: 5.3.2 version: 5.3.2 + packages/forge/blocks/qrcode: + dependencies: + qrcode: + specifier: ^1.5.3 + version: 1.5.3 + devDependencies: + '@typebot.io/forge': + specifier: workspace:* + version: link:../../core + '@typebot.io/lib': + specifier: workspace:* + version: link:../../../lib + '@typebot.io/tsconfig': + specifier: workspace:* + version: link:../../../tsconfig + '@types/qrcode': + specifier: ^1.5.3 + version: 1.5.3 + '@types/react': + specifier: 18.2.15 + version: 18.2.15 + typescript: + specifier: 5.3.2 + version: 5.3.2 + packages/forge/blocks/zemanticAi: devDependencies: '@typebot.io/forge':