@ocai/app-sdk-ui 0.4.0 → 0.5.0

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.
@@ -3,4 +3,5 @@ import type * as React from "react";
3
3
  declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): React.JSX.Element;
4
4
  declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): React.JSX.Element;
5
5
  declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): React.JSX.Element;
6
- export { Collapsible, CollapsibleTrigger, CollapsibleContent };
6
+ declare const collapsibleAnimationClassName = "overflow-hidden outline-hidden transition-opacity data-[state=closed]:opacity-0 data-[state=open]:animate-collapsible-down data-[state=closed]:animate-collapsible-up";
7
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent, collapsibleAnimationClassName, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocai/app-sdk-ui",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Shared design tokens and AI-app UI primitives for OceanAI products.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -32,6 +32,7 @@
32
32
  "*.css"
33
33
  ],
34
34
  "peerDependencies": {
35
+ "@streamdown/code": "^1.1.0",
35
36
  "@streamdown/math": "^1.0.0",
36
37
  "ai": "^6.0.0",
37
38
  "react": "^19.0.0",
@@ -46,6 +47,7 @@
46
47
  "tailwind-merge": "^3.5.0"
47
48
  },
48
49
  "devDependencies": {
50
+ "@streamdown/code": "^1.1.1",
49
51
  "@streamdown/math": "^1.0.2",
50
52
  "@testing-library/dom": "^10.4.1",
51
53
  "@testing-library/react": "^16.3.2",