@flamingo-stack/openframe-frontend-core 0.0.186 → 0.0.188
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/{chunk-FMWHOUFE.js → chunk-6XYXWVYY.js} +2 -2
- package/dist/{chunk-ALW3D72O.cjs → chunk-HIMEIPED.cjs} +9 -9
- package/dist/{chunk-ALW3D72O.cjs.map → chunk-HIMEIPED.cjs.map} +1 -1
- package/dist/{chunk-RZ3HHPQH.js → chunk-J2C2TI5Z.js} +2174 -2119
- package/dist/chunk-J2C2TI5Z.js.map +1 -0
- package/dist/{chunk-TMD5LDX4.cjs → chunk-VJTFBYVG.cjs} +57 -2
- package/dist/{chunk-TMD5LDX4.cjs.map → chunk-VJTFBYVG.cjs.map} +1 -1
- package/dist/{chunk-SAWVZ5LA.cjs → chunk-W5AWCFKE.cjs} +1641 -1537
- package/dist/chunk-W5AWCFKE.cjs.map +1 -0
- package/dist/{chunk-LI2C4ZCU.js → chunk-YOMHP4V3.js} +17410 -17306
- package/dist/chunk-YOMHP4V3.js.map +1 -0
- package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
- package/dist/components/chat/block-card.d.ts +39 -0
- package/dist/components/chat/block-card.d.ts.map +1 -0
- package/dist/components/chat/chat-message-enhanced.d.ts +2 -1
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-list.d.ts.map +1 -1
- package/dist/components/chat/chat-ref.types.d.ts +6 -0
- package/dist/components/chat/chat-ref.types.d.ts.map +1 -1
- package/dist/components/chat/chat-video-entity-card.d.ts +30 -0
- package/dist/components/chat/chat-video-entity-card.d.ts.map +1 -0
- package/dist/components/chat/context-compaction-display.d.ts.map +1 -1
- package/dist/components/chat/index.d.ts +2 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/tool-execution-display.d.ts.map +1 -1
- package/dist/components/chat/types/api.types.d.ts +2 -6
- package/dist/components/chat/types/api.types.d.ts.map +1 -1
- package/dist/components/chat/types/message.types.d.ts +20 -0
- package/dist/components/chat/types/message.types.d.ts.map +1 -1
- package/dist/components/chat/types/network.types.d.ts +2 -0
- package/dist/components/chat/types/network.types.d.ts.map +1 -1
- package/dist/components/chat/types/processing.types.d.ts +2 -6
- package/dist/components/chat/types/processing.types.d.ts.map +1 -1
- package/dist/components/chat/utils/chunk-parser.d.ts.map +1 -1
- package/dist/components/chat/utils/extract-incomplete-message-state.d.ts +2 -6
- package/dist/components/chat/utils/extract-incomplete-message-state.d.ts.map +1 -1
- package/dist/components/chat/utils/message-segment-accumulator.d.ts +2 -6
- package/dist/components/chat/utils/message-segment-accumulator.d.ts.map +1 -1
- package/dist/components/chat/utils/process-historical-messages.d.ts.map +1 -1
- package/dist/components/chat/utils/tool-call-helpers.d.ts +21 -2
- package/dist/components/chat/utils/tool-call-helpers.d.ts.map +1 -1
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/icons-v2-generated/index.cjs +4 -2
- package/dist/components/icons-v2-generated/index.cjs.map +1 -1
- package/dist/components/icons-v2-generated/index.d.ts +1 -0
- package/dist/components/icons-v2-generated/index.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/index.js +3 -1
- package/dist/components/icons-v2-generated/loaders/dots-loader-icon.d.ts +8 -0
- package/dist/components/icons-v2-generated/loaders/dots-loader-icon.d.ts.map +1 -0
- package/dist/components/icons-v2-generated/loaders/index.d.ts +2 -0
- package/dist/components/icons-v2-generated/loaders/index.d.ts.map +1 -0
- package/dist/components/index.cjs +6 -4
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +7 -5
- package/dist/components/navigation/index.cjs +4 -4
- package/dist/components/navigation/index.js +3 -3
- package/dist/components/ui/index.cjs +6 -4
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.d.ts +0 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +7 -5
- package/dist/hooks/index.cjs +3 -3
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -5
- package/package.json +1 -1
- package/src/components/chat/approval-batch-message.tsx +4 -5
- package/src/components/chat/block-card.tsx +44 -0
- package/src/components/chat/chat-message-enhanced.tsx +168 -62
- package/src/components/chat/chat-message-list.tsx +57 -0
- package/src/components/chat/chat-ref.types.ts +6 -0
- package/src/components/chat/chat-video-entity-card.tsx +66 -0
- package/src/components/chat/context-compaction-display.tsx +2 -3
- package/src/components/chat/index.ts +2 -0
- package/src/components/chat/thinking-display.tsx +2 -2
- package/src/components/chat/tool-execution-display.tsx +14 -11
- package/src/components/chat/types/api.types.ts +2 -2
- package/src/components/chat/types/message.types.ts +21 -0
- package/src/components/chat/types/network.types.ts +2 -0
- package/src/components/chat/types/processing.types.ts +2 -6
- package/src/components/chat/utils/chunk-parser.ts +2 -0
- package/src/components/chat/utils/extract-incomplete-message-state.ts +4 -2
- package/src/components/chat/utils/message-segment-accumulator.ts +11 -2
- package/src/components/chat/utils/process-historical-messages.ts +2 -0
- package/src/components/chat/utils/tool-call-helpers.ts +97 -14
- package/src/components/icons-v2/loaders/dots-loader.svg +1 -0
- package/src/components/icons-v2-generated/index.ts +1 -0
- package/src/components/icons-v2-generated/loaders/dots-loader-icon.tsx +53 -0
- package/src/components/icons-v2-generated/loaders/index.ts +1 -0
- package/src/components/ui/index.ts +0 -2
- package/src/stories/DotsLoaderIcon.stories.tsx +103 -0
- package/dist/chunk-LI2C4ZCU.js.map +0 -1
- package/dist/chunk-RZ3HHPQH.js.map +0 -1
- package/dist/chunk-SAWVZ5LA.cjs.map +0 -1
- package/dist/components/ui/pulse-dots.d.ts +0 -7
- package/dist/components/ui/pulse-dots.d.ts.map +0 -1
- package/src/components/ui/pulse-dots.tsx +0 -56
- /package/dist/{chunk-FMWHOUFE.js.map → chunk-6XYXWVYY.js.map} +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export interface PulseDotsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
2
|
-
size?: 'sm' | 'md';
|
|
3
|
-
dotClassName?: string;
|
|
4
|
-
}
|
|
5
|
-
declare const PulseDots: import("react").ForwardRefExoticComponent<PulseDotsProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
-
export { PulseDots };
|
|
7
|
-
//# sourceMappingURL=pulse-dots.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pulse-dots.d.ts","sourceRoot":"","sources":["../../../src/components/ui/pulse-dots.tsx"],"names":[],"mappings":"AAmBA,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC1E,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,QAAA,MAAM,SAAS,2GA2Bd,CAAA;AAID,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
|
|
3
|
-
import { forwardRef } from "react"
|
|
4
|
-
|
|
5
|
-
import { cn } from "../../utils/cn"
|
|
6
|
-
|
|
7
|
-
const dotAnimation = `
|
|
8
|
-
@keyframes pulseDot {
|
|
9
|
-
0%, 80%, 100% {
|
|
10
|
-
transform: scale(1);
|
|
11
|
-
opacity: 0.7;
|
|
12
|
-
}
|
|
13
|
-
40% {
|
|
14
|
-
transform: scale(1.5);
|
|
15
|
-
opacity: 1;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
`
|
|
19
|
-
|
|
20
|
-
export interface PulseDotsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
21
|
-
size?: 'sm' | 'md'
|
|
22
|
-
dotClassName?: string
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
const PulseDots = forwardRef<HTMLDivElement, PulseDotsProps>(
|
|
26
|
-
({ className, size = 'sm', dotClassName, ...props }, ref) => {
|
|
27
|
-
const dotSize = size === 'sm' ? 'w-1 h-1' : 'w-1.5 h-1.5'
|
|
28
|
-
const containerHeight = size === 'sm' ? 'h-4' : 'h-6'
|
|
29
|
-
|
|
30
|
-
return (
|
|
31
|
-
<div
|
|
32
|
-
ref={ref}
|
|
33
|
-
className={cn("inline-flex items-center gap-0.5", containerHeight, className)}
|
|
34
|
-
{...props}
|
|
35
|
-
>
|
|
36
|
-
<style dangerouslySetInnerHTML={{ __html: dotAnimation }} />
|
|
37
|
-
<div
|
|
38
|
-
className={cn(dotSize, "rounded-full", dotClassName || "bg-ods-text-secondary")}
|
|
39
|
-
style={{ animation: 'pulseDot 1.4s ease-in-out infinite', animationDelay: '0ms' }}
|
|
40
|
-
/>
|
|
41
|
-
<div
|
|
42
|
-
className={cn(dotSize, "rounded-full", dotClassName || "bg-ods-text-secondary")}
|
|
43
|
-
style={{ animation: 'pulseDot 1.4s ease-in-out infinite', animationDelay: '200ms' }}
|
|
44
|
-
/>
|
|
45
|
-
<div
|
|
46
|
-
className={cn(dotSize, "rounded-full", dotClassName || "bg-ods-text-secondary")}
|
|
47
|
-
style={{ animation: 'pulseDot 1.4s ease-in-out infinite', animationDelay: '400ms' }}
|
|
48
|
-
/>
|
|
49
|
-
</div>
|
|
50
|
-
)
|
|
51
|
-
}
|
|
52
|
-
)
|
|
53
|
-
|
|
54
|
-
PulseDots.displayName = "PulseDots"
|
|
55
|
-
|
|
56
|
-
export { PulseDots }
|
|
File without changes
|