@blocklet/pages-kit 0.2.321 → 0.2.322

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 (23) hide show
  1. package/lib/cjs/builtin/async/ai-runtime/components/RuntimeCommonProvider.js +1 -4
  2. package/lib/cjs/builtin/async/ai-runtime/components/ThemeProvider.js +21 -54
  3. package/lib/cjs/builtin/async/ai-runtime/runtime/ChatBotButton/index.js +2 -1
  4. package/lib/cjs/builtin/async/ai-runtime/runtime/Runtime/index.js +2 -1
  5. package/lib/cjs/builtin/async/ai-runtime/runtime-components/PhotoGallery/index.js +2 -20
  6. package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimpleChat/index.js +2 -20
  7. package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimplePage/index.js +2 -20
  8. package/lib/cjs/tsconfig.tsbuildinfo +1 -1
  9. package/lib/esm/builtin/async/ai-runtime/components/RuntimeCommonProvider.js +2 -5
  10. package/lib/esm/builtin/async/ai-runtime/components/ThemeProvider.js +20 -56
  11. package/lib/esm/builtin/async/ai-runtime/runtime/ChatBotButton/index.js +2 -1
  12. package/lib/esm/builtin/async/ai-runtime/runtime/Runtime/index.js +2 -1
  13. package/lib/esm/builtin/async/ai-runtime/runtime-components/PhotoGallery/index.js +4 -22
  14. package/lib/esm/builtin/async/ai-runtime/runtime-components/SimpleChat/index.js +4 -22
  15. package/lib/esm/builtin/async/ai-runtime/runtime-components/SimplePage/index.js +4 -22
  16. package/lib/esm/tsconfig.tsbuildinfo +1 -1
  17. package/lib/types/builtin/async/ai-runtime/api/agent.d.ts +1 -0
  18. package/lib/types/builtin/async/ai-runtime/components/ThemeProvider.d.ts +1 -3
  19. package/lib/types/builtin/async/ai-runtime/runtime-components/PhotoGallery/index.d.ts +1 -2
  20. package/lib/types/builtin/async/ai-runtime/runtime-components/SimpleChat/index.d.ts +1 -2
  21. package/lib/types/builtin/async/ai-runtime/runtime-components/SimplePage/index.d.ts +1 -2
  22. package/lib/types/tsconfig.tsbuildinfo +1 -1
  23. package/package.json +1 -1
@@ -21,6 +21,7 @@ export interface Agent {
21
21
  createdBy: string;
22
22
  createdAt: string;
23
23
  updatedAt: string;
24
+ primaryColor?: string;
24
25
  };
25
26
  }
26
27
  export declare function getAgent({ aid, working }: {
@@ -1,6 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
- export default function ThemeProvider({ children, template, transparentHeaderBg, }: {
2
+ export default function ThemeProvider({ children }: {
3
3
  children?: ReactNode;
4
- template?: string;
5
- transparentHeaderBg?: boolean;
6
4
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- export default function PhotoGallery({ resultTitle, primaryColor }: {
1
+ export default function PhotoGallery({ resultTitle }: {
2
2
  resultTitle?: string;
3
- primaryColor?: string;
4
3
  }): import("react/jsx-runtime").JSX.Element;
@@ -11,7 +11,6 @@ export interface SimpleChatPreferences {
11
11
  height?: number;
12
12
  };
13
13
  }
14
- export default function SimpleChat({ primaryColor, scrollViewProps, ...preferences }: {
15
- primaryColor?: string;
14
+ export default function SimpleChat({ scrollViewProps, ...preferences }: {
16
15
  scrollViewProps?: ComponentProps<typeof ScrollView>;
17
16
  } & SimpleChatPreferences): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- export default function SimplePage({ resultTitle, primaryColor }: {
1
+ export default function SimplePage({ resultTitle }: {
2
2
  resultTitle?: string;
3
- primaryColor?: string;
4
3
  }): import("react/jsx-runtime").JSX.Element;