@talkjs/react-components 0.0.22 → 0.0.24
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/base.css +1 -1
- package/default.css +1 -1
- package/default.js +1674 -2292
- package/globalConstants.js +12 -12
- package/package.json +3 -5
- package/theming.d.ts +1 -3
- package/theming.js +904 -1562
package/globalConstants.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { createContext as
|
|
2
|
+
import { createContext as o, useContext as s } from "react";
|
|
3
3
|
class i extends Error {
|
|
4
4
|
}
|
|
5
|
-
function a(e,
|
|
6
|
-
if (!e) throw new i(
|
|
5
|
+
function a(e, n) {
|
|
6
|
+
if (!e) throw new i(n != null ? n : "Assertion failed");
|
|
7
7
|
}
|
|
8
|
-
const r = Object.assign(a, { is: function(e,
|
|
9
|
-
return a(
|
|
8
|
+
const r = Object.assign(a, { is: function(e, n, c) {
|
|
9
|
+
return a(n, c);
|
|
10
10
|
}, unreachable: function() {
|
|
11
11
|
throw new Error("Unreachable code");
|
|
12
12
|
}, never: function(e) {
|
|
13
13
|
throw new Error("Unreachable");
|
|
14
14
|
}, defined: function(e) {
|
|
15
15
|
if (e == null) throw new i("Value is not defined");
|
|
16
|
-
} }), [d, x] =
|
|
16
|
+
} }), [d, x] = t(), [f, h] = t(), [v, b] = t(), [m, w] = t(), [E, P] = t(), u = o(void 0);
|
|
17
17
|
function p() {
|
|
18
18
|
const e = s(u);
|
|
19
19
|
return r(e !== void 0), e;
|
|
20
20
|
}
|
|
21
|
-
const l =
|
|
21
|
+
const l = o(void 0);
|
|
22
22
|
function j() {
|
|
23
23
|
const e = s(l);
|
|
24
24
|
return r(e !== void 0), e;
|
|
25
25
|
}
|
|
26
|
-
const [k, S] =
|
|
27
|
-
function
|
|
28
|
-
const e =
|
|
26
|
+
const [k, S] = t(), [U, g] = t();
|
|
27
|
+
function t() {
|
|
28
|
+
const e = o(void 0);
|
|
29
29
|
return [e, () => {
|
|
30
|
-
const
|
|
31
|
-
return r(
|
|
30
|
+
const n = s(e);
|
|
31
|
+
return r(n !== void 0), n;
|
|
32
32
|
}];
|
|
33
33
|
}
|
|
34
34
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@talkjs/react-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"bugs": {
|
|
5
5
|
"url": "https://talkjs.com/?chat"
|
|
6
6
|
},
|
|
@@ -23,17 +23,16 @@
|
|
|
23
23
|
"types": "default.d.ts",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@floating-ui/dom": "^1.6.5",
|
|
26
|
+
"@floating-ui/react-dom": "^2.1.6",
|
|
26
27
|
"@legendapp/state": "3.0.0-alpha.9",
|
|
27
|
-
"@popperjs/core": "^2.11.8",
|
|
28
28
|
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
|
29
29
|
"@radix-ui/react-popover": "^1.1.15",
|
|
30
|
-
"@talkjs/core": "^1.5.
|
|
30
|
+
"@talkjs/core": "^1.5.4",
|
|
31
31
|
"autolinker": "^4.0.0",
|
|
32
32
|
"country-flag-emoji-polyfill": "^0.1.8",
|
|
33
33
|
"emoji-picker-element": "1.8.2",
|
|
34
34
|
"htm": "^3.1.1",
|
|
35
35
|
"lodash.merge": "^4.6.2",
|
|
36
|
-
"onecolor": "^4.1.0",
|
|
37
36
|
"prosemirror-commands": "^1.5.2",
|
|
38
37
|
"prosemirror-history": "^1.4.0",
|
|
39
38
|
"prosemirror-keymap": "^1.2.2",
|
|
@@ -43,7 +42,6 @@
|
|
|
43
42
|
"prosemirror-view": "^1.33.7",
|
|
44
43
|
"react-error-boundary": "^5.0.0",
|
|
45
44
|
"react-is": "^19.0.0",
|
|
46
|
-
"react-popper": "^2.3.0",
|
|
47
45
|
"react-transition-group": "4.4.2",
|
|
48
46
|
"universal-base64": "^2.1.0",
|
|
49
47
|
"wavesurfer.js": "^7.7.7"
|
package/theming.d.ts
CHANGED
|
@@ -229,10 +229,9 @@ export declare interface EmojiPickerProps {
|
|
|
229
229
|
*
|
|
230
230
|
* Uses the IndexedDB-backed emoji database from "emoji-picker-element".
|
|
231
231
|
*/
|
|
232
|
-
export declare function EmojiSuggestBar(
|
|
232
|
+
export declare function EmojiSuggestBar(props: EmojiSuggestBarProps): JSX.Element;
|
|
233
233
|
|
|
234
234
|
export declare interface EmojiSuggestBarProps {
|
|
235
|
-
className?: string;
|
|
236
235
|
}
|
|
237
236
|
|
|
238
237
|
export { FileBlock }
|
|
@@ -290,7 +289,6 @@ export declare interface MentionSuggestList {
|
|
|
290
289
|
}
|
|
291
290
|
|
|
292
291
|
export declare interface MentionSuggestListProps {
|
|
293
|
-
className?: string;
|
|
294
292
|
}
|
|
295
293
|
|
|
296
294
|
export declare function MenuItem(props: MenuItemProps): JSX.Element;
|