@frontera-sdk/chat-ui 1.50.58 → 1.50.60
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/README.md +41 -12
- package/dist/agent-picker.js +4 -4
- package/dist/{esm-MHF25KDL.js → browser-B7HPFETX.js} +1 -1
- package/dist/browser-DK2ZWH4A.js +2081 -0
- package/dist/chat.d.ts +12 -8
- package/dist/chat.js +109 -50
- package/dist/{chunk-CWC2IOX7.js → chunk-26L3ST3H.js} +1147 -1787
- package/dist/{chunk-BEJ3HQG4.js → chunk-37G6MHWS.js} +12 -9
- package/dist/{chunk-ZS6PXIZP.js → chunk-BDJFVRYR.js} +16 -3
- package/dist/{chunk-PQZ2CS26.js → chunk-CDTES65T.js} +17 -41
- package/dist/{chunk-2KEBRV3W.js → chunk-F6PEZE7A.js} +1 -2
- package/dist/{chunk-IBCOQG5T.js → chunk-FDGBZFGN.js} +5 -4
- package/dist/{chunk-XSEN6ISU.js → chunk-FNIHHKOZ.js} +25 -8
- package/dist/{chunk-SZTQOXLD.js → chunk-IQXJEZM7.js} +14 -14
- package/dist/{chunk-AQGBRSIP.js → chunk-J7EWRXEC.js} +1 -1
- package/dist/{chunk-IHBTHNXV.js → chunk-KHF7OM3F.js} +2 -2
- package/dist/{chunk-VDZH5Z3K.js → chunk-PH7AYVSS.js} +2 -2
- package/dist/{chunk-GTQH7MPF.js → chunk-ROJM44GB.js} +1 -1
- package/dist/{chunk-76WUIIOX.js → chunk-S3ECTKA3.js} +2 -2
- package/dist/{chunk-FXKXDR5K.js → chunk-TSKFBMGC.js} +1 -1
- package/dist/{chunk-466MYFJD.js → chunk-UTKQ6G2A.js} +3 -3
- package/dist/{chunk-IQRPGFLI.js → chunk-V44YVBRX.js} +3 -35
- package/dist/chunk-WDYCLC4F.js +35 -0
- package/dist/chunk-XLX3L3P4.js +43 -0
- package/dist/client.js +3 -2
- package/dist/credential.js +2 -1
- package/dist/frame.js +2 -5
- package/dist/header.js +11 -11
- package/dist/message.js +11 -11
- package/dist/new-session.d.ts +128 -3
- package/dist/new-session.js +5 -5
- package/dist/parts.js +5 -5
- package/dist/{pdf-deck-view-inner-3PVGFH26.js → pdf-deck-view-inner-AY4FYDAJ.js} +4 -4
- package/dist/{pdf-document-view-inner-CP6VFHG4.js → pdf-document-view-inner-NC5MBN7X.js} +4 -4
- package/dist/pending-cards.js +5 -5
- package/dist/platform.css +88 -101
- package/dist/{univer-workbook-N5IIN7CH.js → univer-workbook-LSBVETAQ.js} +22824 -31017
- package/package.json +25 -5
- package/src/styles.css +20 -5
- package/dist/chunk-DGDHKMDB.js +0 -10
- package/dist/lib-3ZKX25RJ.js +0 -4511
- package/dist/new-session-Dw7JOgzu.d.ts +0 -141
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontera-sdk/chat-ui",
|
|
3
|
-
"version": "1.50.
|
|
3
|
+
"version": "1.50.60",
|
|
4
4
|
"description": "Ready-made React components for embedding a Frontera agent conversation — message rendering, tool calls, artifacts and composer.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"frontera",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"files": [
|
|
15
15
|
"dist",
|
|
16
16
|
"!dist/**/*.map",
|
|
17
|
+
"!dist/metafile-*.json",
|
|
17
18
|
"src/styles.css",
|
|
18
19
|
"README.md",
|
|
19
20
|
"LICENSE"
|
|
@@ -81,19 +82,36 @@
|
|
|
81
82
|
"test": "bun test",
|
|
82
83
|
"typecheck": "bunx tsc --noEmit",
|
|
83
84
|
"vendor": "bun run scripts/copy-chat-surface.ts && bun run scripts/vendor-icons.ts && bun run scripts/vendor-theme.ts",
|
|
84
|
-
"build:css": "bunx @tailwindcss/cli -i src/tailwind.css -o dist/platform.css --minify && bun run scripts/build-css.ts",
|
|
85
|
+
"build:css": "bunx @tailwindcss/cli -i src/tailwind.css -o dist/platform.css --minify && bun run scripts/build-css.ts && bun run scripts/scope-css.ts",
|
|
85
86
|
"prepublishOnly": "bun run build",
|
|
86
|
-
"
|
|
87
|
+
"check:externals": "bun run scripts/check-externals.ts",
|
|
88
|
+
"build": "bunx tsup && bun run scripts/add-use-client.ts && bun run build:css && bun run check:externals"
|
|
87
89
|
},
|
|
88
90
|
"dependencies": {
|
|
89
91
|
"@elysiajs/eden": "^1.4.9",
|
|
90
|
-
"@frontera-sdk/chat": "1.50.
|
|
91
|
-
"@frontera-sdk/core": "1.50.
|
|
92
|
+
"@frontera-sdk/chat": "1.50.60",
|
|
93
|
+
"@frontera-sdk/core": "1.50.60",
|
|
94
|
+
"@radix-ui/react-alert-dialog": "^1.1.23",
|
|
92
95
|
"@radix-ui/react-collapsible": "^1.1.12",
|
|
96
|
+
"@radix-ui/react-compose-refs": "^1.1.5",
|
|
93
97
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
98
|
+
"@radix-ui/react-direction": "^1.1.4",
|
|
99
|
+
"@radix-ui/react-dropdown-menu": "^2.1.24",
|
|
94
100
|
"@radix-ui/react-hover-card": "^1.1.15",
|
|
101
|
+
"@radix-ui/react-id": "^1.1.4",
|
|
102
|
+
"@radix-ui/react-label": "^2.1.15",
|
|
103
|
+
"@radix-ui/react-popover": "^1.1.23",
|
|
104
|
+
"@radix-ui/react-primitive": "^2.1.10",
|
|
95
105
|
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
106
|
+
"@radix-ui/react-separator": "^1.1.15",
|
|
96
107
|
"@radix-ui/react-slot": "^1.2.4",
|
|
108
|
+
"@radix-ui/react-switch": "^1.3.7",
|
|
109
|
+
"@radix-ui/react-tabs": "^1.1.21",
|
|
110
|
+
"@radix-ui/react-tooltip": "^1.2.16",
|
|
111
|
+
"@streamdown/cjk": "^1.0.3",
|
|
112
|
+
"@streamdown/code": "^1.1.1",
|
|
113
|
+
"@streamdown/math": "^1.0.2",
|
|
114
|
+
"@wendellhu/redi": "^1.1.1",
|
|
97
115
|
"class-variance-authority": "^0.7.1",
|
|
98
116
|
"clsx": "^2.1.1",
|
|
99
117
|
"motion": "^12.37.0",
|
|
@@ -104,6 +122,7 @@
|
|
|
104
122
|
"tailwind-merge": "^3.5.0",
|
|
105
123
|
"unist-util-visit": "^5.1.0",
|
|
106
124
|
"unist-util-visit-parents": "^6.0.2",
|
|
125
|
+
"use-sync-external-store": "^1.6.0",
|
|
107
126
|
"zod": "^4.3.6",
|
|
108
127
|
"zustand": "^5.0.12",
|
|
109
128
|
"react-resizable-panels": "^3.0.6",
|
|
@@ -127,6 +146,7 @@
|
|
|
127
146
|
"@types/bun": "^1.3.14",
|
|
128
147
|
"@types/hast": "^3.0.5",
|
|
129
148
|
"@types/react": "^19",
|
|
149
|
+
"postcss": "^8.5.23",
|
|
130
150
|
"react": "19.2.7",
|
|
131
151
|
"react-dom": "19.2.7",
|
|
132
152
|
"tailwindcss": "^4",
|
package/src/styles.css
CHANGED
|
@@ -17,11 +17,6 @@
|
|
|
17
17
|
it, and the pane would render in the host page's palette.
|
|
18
18
|
*/
|
|
19
19
|
.fr-shell {
|
|
20
|
-
position: relative;
|
|
21
|
-
display: flex;
|
|
22
|
-
min-height: 0;
|
|
23
|
-
height: 100%;
|
|
24
|
-
isolation: isolate;
|
|
25
20
|
/*
|
|
26
21
|
Tokens live HERE, not on `.fr-chat`. The pane is a SIBLING of the
|
|
27
22
|
conversation — tokens declared one level down never reach it, and every
|
|
@@ -46,6 +41,26 @@
|
|
|
46
41
|
--fr-font-size: 15px;
|
|
47
42
|
}
|
|
48
43
|
|
|
44
|
+
/*
|
|
45
|
+
Layout, held back from the portal root.
|
|
46
|
+
|
|
47
|
+
`portal-root.tsx` puts `.fr-shell` on the container it appends to
|
|
48
|
+
`document.body`, so dialogs Radix sends there are themed rather than wearing
|
|
49
|
+
the host's chrome. That container must stay a zero-height positioning box —
|
|
50
|
+
and with `height: 100%` on every `.fr-shell` it became a viewport-tall block
|
|
51
|
+
under the host's page, which made the page scroll past the end of the app.
|
|
52
|
+
|
|
53
|
+
The tokens above stay on every `.fr-shell`: a portalled dialog needs them.
|
|
54
|
+
Only the box does not apply.
|
|
55
|
+
*/
|
|
56
|
+
.fr-shell:not([data-frontera-portal-root]) {
|
|
57
|
+
position: relative;
|
|
58
|
+
display: flex;
|
|
59
|
+
min-height: 0;
|
|
60
|
+
height: 100%;
|
|
61
|
+
isolation: isolate;
|
|
62
|
+
}
|
|
63
|
+
|
|
49
64
|
/*
|
|
50
65
|
BOTH panels ease `flex-grow`, which is the platform's push: one gives up
|
|
51
66
|
exactly the width the other takes (`PANE_ANIM_CLASS` in
|