tfy-web-components 0.0.27 → 0.0.29
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/dist/{OpenUiFenceBlock-CsVY6kwA.js → OpenUiFenceBlock-C4ZpWd0O.js} +2 -2
- package/dist/OpenUiFenceBlock-C4ZpWd0O.js.map +1 -0
- package/dist/components/molecules/Markdown.es.js +1 -1
- package/dist/components/molecules/agent-chat/AgentStepRow.d.ts +1 -0
- package/dist/components/molecules/agent-chat/AgentStepsCard.d.ts +15 -0
- package/dist/components/molecules/agent-chat/UserMessage.es.js +1 -2
- package/dist/components/molecules/agent-chat/UserMessage.es.js.map +1 -1
- package/dist/components/molecules/agent-chat/index.d.ts +2 -0
- package/dist/components/molecules/agent-chat.es.js +87 -10
- package/dist/components/molecules/agent-chat.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/OpenUiFenceBlock-CsVY6kwA.js.map +0 -1
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenUiFenceBlock-CsVY6kwA.js","sources":["../src/components/molecules/Markdown/OpenUiFenceBlock.tsx"],"sourcesContent":["import React from 'react'\nimport { Renderer } from '@openuidev/react-lang'\nimport { openuiLibrary, ThemeProvider } from '@openuidev/react-ui'\n\nimport classNames from '@/utils/classNames'\n\nimport type { FencedCodeBlockProps } from './codeFencing'\n\nimport '@openuidev/react-ui/defaults.css'\nimport '@openuidev/react-ui/components.css'\n\n/**\n * Renders ```openui … ``` using the official OpenUI component library and theme.\n * Loaded only via dynamic import (see MarkdownWithOpenUI).\n * @see https://www.openui.com/docs/openui-lang\n */\nconst OpenUiFenceBlock: React.FC<FencedCodeBlockProps> = ({ isStreaming = false, content, darkTheme = true }) => {\n return (\n <div\n className={classNames(\n 'mb-2 min-h-32 w-full min-w-0 rounded-md border p-2',\n darkTheme ? 'border-gray-600/50 bg-gray-900/40' : 'border-gray-200 bg-white shadow-sm',\n )}\n >\n <ThemeProvider mode={darkTheme ? 'dark' : 'light'} cssSelector=\".markdown-openui-scope\">\n <div className=\"markdown-openui-scope min-w-0\">\n <Renderer response={content} library={openuiLibrary} isStreaming={isStreaming} />\n </div>\n </ThemeProvider>\n </div>\n )\n}\n\nexport default OpenUiFenceBlock\n"],"names":[],"mappings":";;;;AAgBA,MAAM,mBAAmD,CAAC,EAAE,cAAc,OAAO,SAAS,YAAY,WAAW;AAC/G,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACA,YAAY,sCAAsC;AAAA,MAAA;AAAA,MAGpD,UAAA,oBAAC,iBAAc,MAAM,YAAY,SAAS,SAAS,aAAY,0BAC7D,UAAA,oBAAC,OAAA,EAAI,WAAU,iCACb,UAAA,oBAAC,YAAS,UAAU,SAAS,SAAS,eAAe,YAAA,CAA0B,GACjF,EAAA,CACF;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|