@poolse/react-ui 2.13.1 → 2.14.1
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/CHANGELOG.md +29 -0
- package/dist/index.cjs +186 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +276 -226
- package/dist/index.d.ts +276 -226
- package/dist/index.js +185 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,287 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { CallParticipant, Uuid, Message, Conversation, Membership, Attachment, MessageCreateRequest } from '@poolse/sdk';
|
|
2
|
+
import { CallParticipant, CallDevice, CallDeviceKind, Uuid, Message, Conversation, Membership, Attachment, MessageCreateRequest } from '@poolse/sdk';
|
|
3
3
|
import * as react from 'react';
|
|
4
|
-
import {
|
|
4
|
+
import { SVGProps, ReactElement, ReactNode } from 'react';
|
|
5
5
|
import { UploadItem, ReactionMap } from '@poolse/react';
|
|
6
6
|
|
|
7
7
|
interface CallVideoGridProps {
|
|
8
8
|
participants: CallParticipant[];
|
|
9
9
|
labelFor?: (userId: string) => string;
|
|
10
10
|
className?: string;
|
|
11
|
+
/** Clicking your own preview. Left unset, the tile is not interactive. */
|
|
12
|
+
onLocalClick?: (() => void) | undefined;
|
|
11
13
|
}
|
|
12
|
-
declare function CallVideoGrid({ participants, labelFor, className }: CallVideoGridProps): react_jsx_runtime.JSX.Element | null;
|
|
14
|
+
declare function CallVideoGrid({ participants, labelFor, className, onLocalClick, }: CallVideoGridProps): react_jsx_runtime.JSX.Element | null;
|
|
15
|
+
|
|
16
|
+
declare const ICONS: {
|
|
17
|
+
readonly attachment: {
|
|
18
|
+
readonly vb: "0 0 24 24";
|
|
19
|
+
readonly d: "<path d=\"M20 11.6 11.4 20.2a5 5 0 0 1-7.1-7.1l8.7-8.7a3.3 3.3 0 0 1 4.7 4.7l-8.6 8.6a1.65 1.65 0 0 1-2.36-2.32l7.86-7.86\"/>";
|
|
20
|
+
};
|
|
21
|
+
readonly bell: {
|
|
22
|
+
readonly vb: "0 0 24 24";
|
|
23
|
+
readonly d: "<path d=\"M6 9.2a6 6 0 0 1 12 0c0 4.8 1.4 6.3 1.9 6.8H4.1C4.6 15.5 6 14 6 9.2Z\"/><path d=\"M9.6 19.8a2.5 2.5 0 0 0 4.8 0\"/>";
|
|
24
|
+
};
|
|
25
|
+
readonly bluetooth: {
|
|
26
|
+
readonly vb: "0 0 24 24";
|
|
27
|
+
readonly d: "<path d=\"M7.5 7.5 16.5 16.5 12 21V3l4.5 4.5L7.5 16.5\"/>";
|
|
28
|
+
};
|
|
29
|
+
readonly 'camera-flip': {
|
|
30
|
+
readonly vb: "0 0 24 24";
|
|
31
|
+
readonly d: "<path d=\"M3 8.5a2 2 0 0 1 2-2h2.4l1.4-2h6.4l1.4 2H19a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-9Z\"/><path d=\"M14.6 13a2.6 2.6 0 0 1-4.5 1.8\"/><path d=\"M9.4 13a2.6 2.6 0 0 1 4.5-1.8\"/><path d=\"M13.9 9.6v1.7h-1.7\"/><path d=\"M10.1 16.4v-1.7h1.7\"/>";
|
|
32
|
+
};
|
|
33
|
+
readonly 'check-double': {
|
|
34
|
+
readonly vb: "0 0 24 24";
|
|
35
|
+
readonly d: "<path d=\"M2.5 12.8 6.9 17 15.4 7.6\"/><path d=\"M11.4 16.4 12.3 17.2 21 7.6\"/>";
|
|
36
|
+
};
|
|
37
|
+
readonly check: {
|
|
38
|
+
readonly vb: "0 0 24 24";
|
|
39
|
+
readonly d: "<path d=\"M4.5 12.6 9.4 17.4 19.5 6.6\"/>";
|
|
40
|
+
};
|
|
41
|
+
readonly 'chevron-down': {
|
|
42
|
+
readonly vb: "0 0 24 24";
|
|
43
|
+
readonly d: "<path d=\"M5 9 12 16 19 9\"/>";
|
|
44
|
+
};
|
|
45
|
+
readonly 'chevron-right': {
|
|
46
|
+
readonly vb: "0 0 24 24";
|
|
47
|
+
readonly d: "<path d=\"M9 5 16 12 9 19\"/>";
|
|
48
|
+
};
|
|
49
|
+
readonly 'chevron-up': {
|
|
50
|
+
readonly vb: "0 0 24 24";
|
|
51
|
+
readonly d: "<path d=\"M6 14.5 12 8.5 18 14.5\"/>";
|
|
52
|
+
};
|
|
53
|
+
readonly close: {
|
|
54
|
+
readonly vb: "0 0 24 24";
|
|
55
|
+
readonly d: "<path d=\"M6 6 18 18M18 6 6 18\"/>";
|
|
56
|
+
};
|
|
57
|
+
readonly code: {
|
|
58
|
+
readonly vb: "0 0 24 24";
|
|
59
|
+
readonly d: "<path d=\"M9 7.5 4.5 12 9 16.5\"/><path d=\"M15 7.5 19.5 12 15 16.5\"/><path d=\"M13.2 5 10.8 19\"/>";
|
|
60
|
+
};
|
|
61
|
+
readonly compose: {
|
|
62
|
+
readonly vb: "0 0 24 24";
|
|
63
|
+
readonly d: "<path d=\"M11.5 4H6a2.5 2.5 0 0 0-2.5 2.5V18A2.5 2.5 0 0 0 6 20.5h11.5A2.5 2.5 0 0 0 20 18v-5.5\"/><path d=\"M18.4 2.7a2.05 2.05 0 0 1 2.9 2.9L12 15l-4 1 1-4 9.4-9.3Z\"/>";
|
|
64
|
+
};
|
|
65
|
+
readonly copy: {
|
|
66
|
+
readonly vb: "0 0 24 24";
|
|
67
|
+
readonly d: "<rect x=\"8.4\" y=\"8.4\" width=\"11.2\" height=\"11.2\" rx=\"2.3\"/><path d=\"M5.6 15.6H5A1.6 1.6 0 0 1 3.4 14V5A1.6 1.6 0 0 1 5 3.4h9A1.6 1.6 0 0 1 15.6 5v.6\"/>";
|
|
68
|
+
};
|
|
69
|
+
readonly download: {
|
|
70
|
+
readonly vb: "0 0 24 24";
|
|
71
|
+
readonly d: "<path d=\"M12 3.2v11.6\"/><path d=\"M7.4 10.2 12 14.8 16.6 10.2\"/><path d=\"M4 19.6h16\"/>";
|
|
72
|
+
};
|
|
73
|
+
readonly edit: {
|
|
74
|
+
readonly vb: "0 0 24 24";
|
|
75
|
+
readonly d: "<path d=\"M16.7 3.3a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4 12.7-12.7Z\"/>";
|
|
76
|
+
};
|
|
77
|
+
readonly emoji: {
|
|
78
|
+
readonly vb: "0 0 24 24";
|
|
79
|
+
readonly d: "<circle cx=\"12\" cy=\"12\" r=\"8.6\"/><circle cx=\"9\" cy=\"10\" r=\"1\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"15\" cy=\"10\" r=\"1\" fill=\"currentColor\" stroke=\"none\"/><path d=\"M8.4 14.2a4.6 4.6 0 0 0 7.2 0\"/>";
|
|
80
|
+
};
|
|
81
|
+
readonly headphones: {
|
|
82
|
+
readonly vb: "0 0 24 24";
|
|
83
|
+
readonly d: "<path d=\"M4 14v-2a8 8 0 0 1 16 0v2\"/><path d=\"M4 14h2.6a1.4 1.4 0 0 1 1.4 1.4v3.2A1.4 1.4 0 0 1 6.6 20H5.4A1.4 1.4 0 0 1 4 18.6Z\"/><path d=\"M20 14h-2.6a1.4 1.4 0 0 0-1.4 1.4v3.2A1.4 1.4 0 0 0 17.4 20h1.2A1.4 1.4 0 0 0 20 18.6Z\"/>";
|
|
84
|
+
};
|
|
85
|
+
readonly heart: {
|
|
86
|
+
readonly vb: "0 0 24 24";
|
|
87
|
+
readonly d: "<path d=\"M12 20.3 4.4 12.9a4.6 4.6 0 1 1 6.5-6.5l1.1 1.1 1.1-1.1a4.6 4.6 0 1 1 6.5 6.5L12 20.3Z\"/>";
|
|
88
|
+
};
|
|
89
|
+
readonly image: {
|
|
90
|
+
readonly vb: "0 0 24 24";
|
|
91
|
+
readonly d: "<rect x=\"3.2\" y=\"4.2\" width=\"17.6\" height=\"15.6\" rx=\"2.6\"/><circle cx=\"8.6\" cy=\"9.4\" r=\"1.7\" fill=\"currentColor\" stroke=\"none\"/><path d=\"M20.8 15.8 16 11 6 19.8\"/>";
|
|
92
|
+
};
|
|
93
|
+
readonly info: {
|
|
94
|
+
readonly vb: "0 0 24 24";
|
|
95
|
+
readonly d: "<circle cx=\"12\" cy=\"12\" r=\"8.6\"/><path d=\"M12 11v5.2\"/><circle cx=\"12\" cy=\"7.7\" r=\"1\" fill=\"currentColor\" stroke=\"none\"/>";
|
|
96
|
+
};
|
|
97
|
+
readonly key: {
|
|
98
|
+
readonly vb: "0 0 24 24";
|
|
99
|
+
readonly d: "<circle cx=\"8\" cy=\"8\" r=\"4.4\"/><path d=\"M11.1 11.1 20 20\"/><path d=\"M16.6 16.6 18.6 14.6M14 14l2-2\"/>";
|
|
100
|
+
};
|
|
101
|
+
readonly link: {
|
|
102
|
+
readonly vb: "0 0 24 24";
|
|
103
|
+
readonly d: "<path d=\"M10.2 13.8a3.5 3.5 0 0 0 5 0l3-3a3.5 3.5 0 0 0-5-5l-1.2 1.2\"/><path d=\"M13.8 10.2a3.5 3.5 0 0 0-5 0l-3 3a3.5 3.5 0 0 0 5 5l1.2-1.2\"/>";
|
|
104
|
+
};
|
|
105
|
+
readonly lock: {
|
|
106
|
+
readonly vb: "0 0 24 24";
|
|
107
|
+
readonly d: "<rect x=\"4.6\" y=\"10.4\" width=\"14.8\" height=\"9.8\" rx=\"2.2\"/><path d=\"M8 10.4V7a4 4 0 0 1 8 0v3.4\"/>";
|
|
108
|
+
};
|
|
109
|
+
readonly message: {
|
|
110
|
+
readonly vb: "0 0 24 24";
|
|
111
|
+
readonly d: "<path d=\"M20.5 11.4c0 4.5-3.9 8.1-8.5 8.1a9 9 0 0 1-3.7-.78L3.5 20.5l1.8-4.6A7.9 7.9 0 0 1 3.5 11.4C3.5 6.9 7.4 3.3 12 3.3s8.5 3.6 8.5 8.1Z\"/>";
|
|
112
|
+
};
|
|
113
|
+
readonly messages: {
|
|
114
|
+
readonly vb: "0 0 24 24";
|
|
115
|
+
readonly d: "<path d=\"M14 9.2a4.7 4.7 0 0 1-4.7 4.7H6.8L3.5 16.4v-2.9A4.7 4.7 0 0 1 6.8 4.5h2.5A4.7 4.7 0 0 1 14 9.2Z\"/><path d=\"M9.4 13.6A4.7 4.7 0 0 0 13.6 16h3.6l3.3 2.5v-2.9a4.7 4.7 0 0 0-2.4-4.1\"/>";
|
|
116
|
+
};
|
|
117
|
+
readonly mic: {
|
|
118
|
+
readonly vb: "0 0 24 24";
|
|
119
|
+
readonly d: "<rect x=\"9\" y=\"2.6\" width=\"6\" height=\"11.2\" rx=\"3\"/><path d=\"M5.6 11.2a6.4 6.4 0 0 0 12.8 0\"/><path d=\"M12 17.6v3.4\"/><path d=\"M8.6 21h6.8\"/>";
|
|
120
|
+
};
|
|
121
|
+
readonly 'mic-off': {
|
|
122
|
+
readonly vb: "0 0 24 24";
|
|
123
|
+
readonly d: "<rect x=\"9\" y=\"2.6\" width=\"6\" height=\"11.2\" rx=\"3\"/><path d=\"M5.6 11.2a6.4 6.4 0 0 0 12.8 0\"/><path d=\"M12 17.6v3.4\"/><path d=\"M8.6 21h6.8\"/><path d=\"M3.6 3.2 20.4 20.8\"/>";
|
|
124
|
+
};
|
|
125
|
+
readonly 'more-h': {
|
|
126
|
+
readonly vb: "0 0 24 24";
|
|
127
|
+
readonly d: "<circle cx=\"5.4\" cy=\"12\" r=\"1.6\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"12\" cy=\"12\" r=\"1.6\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"18.6\" cy=\"12\" r=\"1.6\" fill=\"currentColor\" stroke=\"none\"/>";
|
|
128
|
+
};
|
|
129
|
+
readonly 'more-v': {
|
|
130
|
+
readonly vb: "0 0 24 24";
|
|
131
|
+
readonly d: "<circle cx=\"12\" cy=\"5.4\" r=\"1.6\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"12\" cy=\"12\" r=\"1.6\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"12\" cy=\"18.6\" r=\"1.6\" fill=\"currentColor\" stroke=\"none\"/>";
|
|
132
|
+
};
|
|
133
|
+
readonly phone: {
|
|
134
|
+
readonly vb: "0 0 24 24";
|
|
135
|
+
readonly d: "<path d=\"M6.6 3.5h3l1.5 3.7-1.9 1.4a12.5 12.5 0 0 0 6.2 6.2l1.4-1.9 3.7 1.5v3a2 2 0 0 1-2.2 2A16.8 16.8 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2Z\"/>";
|
|
136
|
+
};
|
|
137
|
+
readonly 'phone-off': {
|
|
138
|
+
readonly vb: "0 0 24 24";
|
|
139
|
+
readonly d: "<g transform=\"rotate(135 12 12)\"><path d=\"M6.6 3.5h3l1.5 3.7-1.9 1.4a12.5 12.5 0 0 0 6.2 6.2l1.4-1.9 3.7 1.5v3a2 2 0 0 1-2.2 2A16.8 16.8 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2Z\"/></g>";
|
|
140
|
+
};
|
|
141
|
+
readonly pin: {
|
|
142
|
+
readonly vb: "0 0 24 24";
|
|
143
|
+
readonly d: "<path d=\"M9 3.4h6v1.8l-1 5.6 3 3.2H7l3-3.2-1-5.6V3.4Z\"/><path d=\"M12 17v3.6\"/>";
|
|
144
|
+
};
|
|
145
|
+
readonly plus: {
|
|
146
|
+
readonly vb: "0 0 24 24";
|
|
147
|
+
readonly d: "<path d=\"M12 5v14M5 12h14\"/>";
|
|
148
|
+
};
|
|
149
|
+
readonly presence: {
|
|
150
|
+
readonly vb: "0 0 24 24";
|
|
151
|
+
readonly d: "<circle cx=\"12\" cy=\"12\" r=\"9\" fill=\"currentColor\" opacity=\"0.18\" stroke=\"none\"/><circle cx=\"12\" cy=\"12\" r=\"5\" fill=\"currentColor\" stroke=\"none\"/>";
|
|
152
|
+
};
|
|
153
|
+
readonly pulse: {
|
|
154
|
+
readonly vb: "0 0 24 24";
|
|
155
|
+
readonly d: "<path d=\"M3 13h4.6l2.2-4.6 3.4 9 2.2-4.4H21\"/>";
|
|
156
|
+
};
|
|
157
|
+
readonly reply: {
|
|
158
|
+
readonly vb: "0 0 24 24";
|
|
159
|
+
readonly d: "<path d=\"M9 7 4 12l5 5\"/><path d=\"M4 12h9.5a6.5 6.5 0 0 1 6.5 6.5V20\"/>";
|
|
160
|
+
};
|
|
161
|
+
readonly search: {
|
|
162
|
+
readonly vb: "0 0 24 24";
|
|
163
|
+
readonly d: "<circle cx=\"11\" cy=\"11\" r=\"6.8\"/><path d=\"M20.8 20.8 16 16\"/>";
|
|
164
|
+
};
|
|
165
|
+
readonly 'send-fill': {
|
|
166
|
+
readonly vb: "0 0 24 24";
|
|
167
|
+
readonly d: "<path fill=\"currentColor\" stroke=\"none\" d=\"M21.7 2.3a1 1 0 0 1 .25 1L15.3 21.8a1 1 0 0 1-1.86.06L10.6 14.2 3 11.4a1 1 0 0 1 .06-1.9L20.7 2.05a1 1 0 0 1 1 .25Z\"/>";
|
|
168
|
+
};
|
|
169
|
+
readonly send: {
|
|
170
|
+
readonly vb: "0 0 24 24";
|
|
171
|
+
readonly d: "<path d=\"M21.4 2.6 11 13\"/><path d=\"M21.4 2.6 14.8 21.5a.6.6 0 0 1-1.1.05L11 14l-7.5-2.7a.6.6 0 0 1 .05-1.1L21.4 2.6Z\"/>";
|
|
172
|
+
};
|
|
173
|
+
readonly settings: {
|
|
174
|
+
readonly vb: "0 0 24 24";
|
|
175
|
+
readonly d: "<circle cx=\"12\" cy=\"12\" r=\"3.1\"/><path d=\"M12 2.6V5M12 19v2.4M4.2 4.2 5.9 5.9M18.1 18.1l1.7 1.7M2.6 12H5M19 12h2.4M4.2 19.8 5.9 18.1M18.1 5.9l1.7-1.7\"/>";
|
|
176
|
+
};
|
|
177
|
+
readonly sliders: {
|
|
178
|
+
readonly vb: "0 0 24 24";
|
|
179
|
+
readonly d: "<path d=\"M4 7h9M17 7h3\"/><circle cx=\"15\" cy=\"7\" r=\"2.1\"/><path d=\"M4 17h3M11 17h9\"/><circle cx=\"9\" cy=\"17\" r=\"2.1\"/>";
|
|
180
|
+
};
|
|
181
|
+
readonly speaker: {
|
|
182
|
+
readonly vb: "0 0 24 24";
|
|
183
|
+
readonly d: "<path d=\"M4 9.5h3.2L12 5.4v13.2L7.2 14.5H4a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1Z\"/><path d=\"M15.6 9.2a4 4 0 0 1 0 5.6\"/><path d=\"M18.2 6.6a7.7 7.7 0 0 1 0 10.8\"/>";
|
|
184
|
+
};
|
|
185
|
+
readonly 'speaker-off': {
|
|
186
|
+
readonly vb: "0 0 24 24";
|
|
187
|
+
readonly d: "<path d=\"M4 9.5h3.2L12 5.4v13.2L7.2 14.5H4a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1Z\"/><path d=\"M16.4 9.6 21.4 14.4\"/><path d=\"M21.4 9.6 16.4 14.4\"/>";
|
|
188
|
+
};
|
|
189
|
+
readonly 'thumbs-up': {
|
|
190
|
+
readonly vb: "0 0 24 24";
|
|
191
|
+
readonly d: "<path d=\"M7 10.4V20H4.2V10.4Z\"/><path d=\"M7 10.4 11 3.2a2 2 0 0 1 1.9 2.2L12.4 9H18a2 2 0 0 1 2 2.4l-1.1 6A2 2 0 0 1 16.9 20H7\"/>";
|
|
192
|
+
};
|
|
193
|
+
readonly trash: {
|
|
194
|
+
readonly vb: "0 0 24 24";
|
|
195
|
+
readonly d: "<path d=\"M4 7h16\"/><path d=\"M9.2 7V5.2A1.8 1.8 0 0 1 11 3.4h2a1.8 1.8 0 0 1 1.8 1.8V7\"/><path d=\"M6.2 7 7.2 19A1.9 1.9 0 0 0 9.1 20.7h5.8A1.9 1.9 0 0 0 16.8 19L17.8 7\"/><path d=\"M10.3 11v5M13.7 11v5\"/>";
|
|
196
|
+
};
|
|
197
|
+
readonly typing: {
|
|
198
|
+
readonly vb: "0 0 24 24";
|
|
199
|
+
readonly d: "<circle cx=\"6\" cy=\"12\" r=\"1.7\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"12\" cy=\"12\" r=\"1.7\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"18\" cy=\"12\" r=\"1.7\" fill=\"currentColor\" stroke=\"none\"/>";
|
|
200
|
+
};
|
|
201
|
+
readonly 'user-plus': {
|
|
202
|
+
readonly vb: "0 0 24 24";
|
|
203
|
+
readonly d: "<circle cx=\"9\" cy=\"8\" r=\"3.8\"/><path d=\"M3 20a6 6 0 0 1 12 0\"/><path d=\"M18 8v6M15 11h6\"/>";
|
|
204
|
+
};
|
|
205
|
+
readonly user: {
|
|
206
|
+
readonly vb: "0 0 24 24";
|
|
207
|
+
readonly d: "<circle cx=\"12\" cy=\"8\" r=\"4\"/><path d=\"M4.6 20a7.4 7.4 0 0 1 14.8 0\"/>";
|
|
208
|
+
};
|
|
209
|
+
readonly users: {
|
|
210
|
+
readonly vb: "0 0 24 24";
|
|
211
|
+
readonly d: "<circle cx=\"9\" cy=\"8\" r=\"3.6\"/><path d=\"M2.6 20a6.4 6.4 0 0 1 12.8 0\"/><path d=\"M15.8 4.7a3.6 3.6 0 0 1 0 6.6\"/><path d=\"M17.6 20a6.4 6.4 0 0 0-3.1-5.5\"/>";
|
|
212
|
+
};
|
|
213
|
+
readonly video: {
|
|
214
|
+
readonly vb: "0 0 24 24";
|
|
215
|
+
readonly d: "<rect x=\"2.6\" y=\"6\" width=\"13\" height=\"12\" rx=\"2.4\"/><path d=\"M15.6 11.2 21.4 8v8l-5.8-3.2Z\"/>";
|
|
216
|
+
};
|
|
217
|
+
readonly 'video-off': {
|
|
218
|
+
readonly vb: "0 0 24 24";
|
|
219
|
+
readonly d: "<rect x=\"2.6\" y=\"6\" width=\"13\" height=\"12\" rx=\"2.4\"/><path d=\"M15.6 11.2 21.4 8v8l-5.8-3.2Z\"/><path d=\"M3.6 3.2 20.4 20.8\"/>";
|
|
220
|
+
};
|
|
221
|
+
readonly webhook: {
|
|
222
|
+
readonly vb: "0 0 24 24";
|
|
223
|
+
readonly d: "<circle cx=\"6\" cy=\"6\" r=\"2.6\"/><circle cx=\"18\" cy=\"9\" r=\"2.6\"/><circle cx=\"9.5\" cy=\"18\" r=\"2.6\"/><path d=\"M7.9 7.9 12 12l3.7-1.5\"/><path d=\"M11.6 12.7 9.8 16\"/>";
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
type IconName = keyof typeof ICONS;
|
|
227
|
+
|
|
228
|
+
interface PoolseIconProps extends Omit<SVGProps<SVGSVGElement>, 'children'> {
|
|
229
|
+
/** Icon name — see {@link IconName} for the full list of 41 icons. */
|
|
230
|
+
name: IconName;
|
|
231
|
+
/** Width + height in pixels. Defaults to `1.2em` so the icon scales with surrounding text. */
|
|
232
|
+
size?: number | string;
|
|
233
|
+
/** Accessibility label. Defaults to the icon name; pass `null` to hide from AT entirely. */
|
|
234
|
+
label?: string | null;
|
|
235
|
+
}
|
|
236
|
+
declare function PoolseIcon({ name, size, label, className, style, ...rest }: PoolseIconProps): ReactElement;
|
|
237
|
+
|
|
238
|
+
interface CallControlButtonProps {
|
|
239
|
+
icon: IconName;
|
|
240
|
+
/** Caption under the button, and the button's accessible name. */
|
|
241
|
+
label: string;
|
|
242
|
+
onClick: () => void;
|
|
243
|
+
/**
|
|
244
|
+
* The control is doing something — muted, camera off. Inverts the
|
|
245
|
+
* button, so engaged controls are readable at a glance rather than
|
|
246
|
+
* needing to be read one at a time.
|
|
247
|
+
*/
|
|
248
|
+
active?: boolean;
|
|
249
|
+
/** Paints the button solid: the hang-up and answer actions. */
|
|
250
|
+
tone?: 'neutral' | 'danger' | 'accept';
|
|
251
|
+
large?: boolean;
|
|
252
|
+
disabled?: boolean;
|
|
253
|
+
/** Renders the caret that marks a button as opening a menu. */
|
|
254
|
+
hasMenu?: boolean;
|
|
255
|
+
onMenuClick?: (() => void) | undefined;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* One round call control, matching `@poolse/react-native`'s
|
|
259
|
+
* `CallControlButton` so the two platforms read the same.
|
|
260
|
+
*
|
|
261
|
+
* Ships no CSS — the host app owns the look, as everywhere else in this
|
|
262
|
+
* package.
|
|
263
|
+
*/
|
|
264
|
+
declare function CallControlButton({ icon, label, onClick, active, tone, large, disabled, hasMenu, onMenuClick, }: CallControlButtonProps): react_jsx_runtime.JSX.Element;
|
|
265
|
+
interface CallDeviceMenuProps {
|
|
266
|
+
title: string;
|
|
267
|
+
devices: CallDevice[];
|
|
268
|
+
/** Device id currently in use, if the browser reports one. */
|
|
269
|
+
activeId?: string | undefined;
|
|
270
|
+
onSelect: (kind: CallDeviceKind, deviceId: string) => void;
|
|
271
|
+
onClose: () => void;
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Pick a camera, microphone or output.
|
|
275
|
+
*
|
|
276
|
+
* The web's counterpart to the mobile route sheet. A laptop has no
|
|
277
|
+
* earpiece to switch to, but it does have three microphones and a pair
|
|
278
|
+
* of headphones, and choosing between them is the same job.
|
|
279
|
+
*
|
|
280
|
+
* A single entry is still worth rendering: it answers "is my microphone
|
|
281
|
+
* even being seen?", which a hidden control does not. Only an empty list
|
|
282
|
+
* renders nothing.
|
|
283
|
+
*/
|
|
284
|
+
declare function CallDeviceMenu({ title, devices, activeId, onSelect, onClose, }: CallDeviceMenuProps): react_jsx_runtime.JSX.Element | null;
|
|
13
285
|
|
|
14
286
|
interface ConversationViewProps {
|
|
15
287
|
conversationId: Uuid;
|
|
@@ -615,228 +887,6 @@ interface MentionInputProps {
|
|
|
615
887
|
}
|
|
616
888
|
declare const MentionInput: react.ForwardRefExoticComponent<MentionInputProps & react.RefAttributes<MessageComposerHandle>>;
|
|
617
889
|
|
|
618
|
-
declare const ICONS: {
|
|
619
|
-
readonly attachment: {
|
|
620
|
-
readonly vb: "0 0 24 24";
|
|
621
|
-
readonly d: "<path d=\"M20 11.6 11.4 20.2a5 5 0 0 1-7.1-7.1l8.7-8.7a3.3 3.3 0 0 1 4.7 4.7l-8.6 8.6a1.65 1.65 0 0 1-2.36-2.32l7.86-7.86\"/>";
|
|
622
|
-
};
|
|
623
|
-
readonly bell: {
|
|
624
|
-
readonly vb: "0 0 24 24";
|
|
625
|
-
readonly d: "<path d=\"M6 9.2a6 6 0 0 1 12 0c0 4.8 1.4 6.3 1.9 6.8H4.1C4.6 15.5 6 14 6 9.2Z\"/><path d=\"M9.6 19.8a2.5 2.5 0 0 0 4.8 0\"/>";
|
|
626
|
-
};
|
|
627
|
-
readonly bluetooth: {
|
|
628
|
-
readonly vb: "0 0 24 24";
|
|
629
|
-
readonly d: "<path d=\"M7.5 7.5 16.5 16.5 12 21V3l4.5 4.5L7.5 16.5\"/>";
|
|
630
|
-
};
|
|
631
|
-
readonly 'camera-flip': {
|
|
632
|
-
readonly vb: "0 0 24 24";
|
|
633
|
-
readonly d: "<path d=\"M3 8.5a2 2 0 0 1 2-2h2.4l1.4-2h6.4l1.4 2H19a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-9Z\"/><path d=\"M14.6 13a2.6 2.6 0 0 1-4.5 1.8\"/><path d=\"M9.4 13a2.6 2.6 0 0 1 4.5-1.8\"/><path d=\"M13.9 9.6v1.7h-1.7\"/><path d=\"M10.1 16.4v-1.7h1.7\"/>";
|
|
634
|
-
};
|
|
635
|
-
readonly 'check-double': {
|
|
636
|
-
readonly vb: "0 0 24 24";
|
|
637
|
-
readonly d: "<path d=\"M2.5 12.8 6.9 17 15.4 7.6\"/><path d=\"M11.4 16.4 12.3 17.2 21 7.6\"/>";
|
|
638
|
-
};
|
|
639
|
-
readonly check: {
|
|
640
|
-
readonly vb: "0 0 24 24";
|
|
641
|
-
readonly d: "<path d=\"M4.5 12.6 9.4 17.4 19.5 6.6\"/>";
|
|
642
|
-
};
|
|
643
|
-
readonly 'chevron-down': {
|
|
644
|
-
readonly vb: "0 0 24 24";
|
|
645
|
-
readonly d: "<path d=\"M5 9 12 16 19 9\"/>";
|
|
646
|
-
};
|
|
647
|
-
readonly 'chevron-right': {
|
|
648
|
-
readonly vb: "0 0 24 24";
|
|
649
|
-
readonly d: "<path d=\"M9 5 16 12 9 19\"/>";
|
|
650
|
-
};
|
|
651
|
-
readonly 'chevron-up': {
|
|
652
|
-
readonly vb: "0 0 24 24";
|
|
653
|
-
readonly d: "<path d=\"M6 14.5 12 8.5 18 14.5\"/>";
|
|
654
|
-
};
|
|
655
|
-
readonly close: {
|
|
656
|
-
readonly vb: "0 0 24 24";
|
|
657
|
-
readonly d: "<path d=\"M6 6 18 18M18 6 6 18\"/>";
|
|
658
|
-
};
|
|
659
|
-
readonly code: {
|
|
660
|
-
readonly vb: "0 0 24 24";
|
|
661
|
-
readonly d: "<path d=\"M9 7.5 4.5 12 9 16.5\"/><path d=\"M15 7.5 19.5 12 15 16.5\"/><path d=\"M13.2 5 10.8 19\"/>";
|
|
662
|
-
};
|
|
663
|
-
readonly compose: {
|
|
664
|
-
readonly vb: "0 0 24 24";
|
|
665
|
-
readonly d: "<path d=\"M11.5 4H6a2.5 2.5 0 0 0-2.5 2.5V18A2.5 2.5 0 0 0 6 20.5h11.5A2.5 2.5 0 0 0 20 18v-5.5\"/><path d=\"M18.4 2.7a2.05 2.05 0 0 1 2.9 2.9L12 15l-4 1 1-4 9.4-9.3Z\"/>";
|
|
666
|
-
};
|
|
667
|
-
readonly copy: {
|
|
668
|
-
readonly vb: "0 0 24 24";
|
|
669
|
-
readonly d: "<rect x=\"8.4\" y=\"8.4\" width=\"11.2\" height=\"11.2\" rx=\"2.3\"/><path d=\"M5.6 15.6H5A1.6 1.6 0 0 1 3.4 14V5A1.6 1.6 0 0 1 5 3.4h9A1.6 1.6 0 0 1 15.6 5v.6\"/>";
|
|
670
|
-
};
|
|
671
|
-
readonly download: {
|
|
672
|
-
readonly vb: "0 0 24 24";
|
|
673
|
-
readonly d: "<path d=\"M12 3.2v11.6\"/><path d=\"M7.4 10.2 12 14.8 16.6 10.2\"/><path d=\"M4 19.6h16\"/>";
|
|
674
|
-
};
|
|
675
|
-
readonly edit: {
|
|
676
|
-
readonly vb: "0 0 24 24";
|
|
677
|
-
readonly d: "<path d=\"M16.7 3.3a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4 12.7-12.7Z\"/>";
|
|
678
|
-
};
|
|
679
|
-
readonly emoji: {
|
|
680
|
-
readonly vb: "0 0 24 24";
|
|
681
|
-
readonly d: "<circle cx=\"12\" cy=\"12\" r=\"8.6\"/><circle cx=\"9\" cy=\"10\" r=\"1\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"15\" cy=\"10\" r=\"1\" fill=\"currentColor\" stroke=\"none\"/><path d=\"M8.4 14.2a4.6 4.6 0 0 0 7.2 0\"/>";
|
|
682
|
-
};
|
|
683
|
-
readonly headphones: {
|
|
684
|
-
readonly vb: "0 0 24 24";
|
|
685
|
-
readonly d: "<path d=\"M4 14v-2a8 8 0 0 1 16 0v2\"/><path d=\"M4 14h2.6a1.4 1.4 0 0 1 1.4 1.4v3.2A1.4 1.4 0 0 1 6.6 20H5.4A1.4 1.4 0 0 1 4 18.6Z\"/><path d=\"M20 14h-2.6a1.4 1.4 0 0 0-1.4 1.4v3.2A1.4 1.4 0 0 0 17.4 20h1.2A1.4 1.4 0 0 0 20 18.6Z\"/>";
|
|
686
|
-
};
|
|
687
|
-
readonly heart: {
|
|
688
|
-
readonly vb: "0 0 24 24";
|
|
689
|
-
readonly d: "<path d=\"M12 20.3 4.4 12.9a4.6 4.6 0 1 1 6.5-6.5l1.1 1.1 1.1-1.1a4.6 4.6 0 1 1 6.5 6.5L12 20.3Z\"/>";
|
|
690
|
-
};
|
|
691
|
-
readonly image: {
|
|
692
|
-
readonly vb: "0 0 24 24";
|
|
693
|
-
readonly d: "<rect x=\"3.2\" y=\"4.2\" width=\"17.6\" height=\"15.6\" rx=\"2.6\"/><circle cx=\"8.6\" cy=\"9.4\" r=\"1.7\" fill=\"currentColor\" stroke=\"none\"/><path d=\"M20.8 15.8 16 11 6 19.8\"/>";
|
|
694
|
-
};
|
|
695
|
-
readonly info: {
|
|
696
|
-
readonly vb: "0 0 24 24";
|
|
697
|
-
readonly d: "<circle cx=\"12\" cy=\"12\" r=\"8.6\"/><path d=\"M12 11v5.2\"/><circle cx=\"12\" cy=\"7.7\" r=\"1\" fill=\"currentColor\" stroke=\"none\"/>";
|
|
698
|
-
};
|
|
699
|
-
readonly key: {
|
|
700
|
-
readonly vb: "0 0 24 24";
|
|
701
|
-
readonly d: "<circle cx=\"8\" cy=\"8\" r=\"4.4\"/><path d=\"M11.1 11.1 20 20\"/><path d=\"M16.6 16.6 18.6 14.6M14 14l2-2\"/>";
|
|
702
|
-
};
|
|
703
|
-
readonly link: {
|
|
704
|
-
readonly vb: "0 0 24 24";
|
|
705
|
-
readonly d: "<path d=\"M10.2 13.8a3.5 3.5 0 0 0 5 0l3-3a3.5 3.5 0 0 0-5-5l-1.2 1.2\"/><path d=\"M13.8 10.2a3.5 3.5 0 0 0-5 0l-3 3a3.5 3.5 0 0 0 5 5l1.2-1.2\"/>";
|
|
706
|
-
};
|
|
707
|
-
readonly lock: {
|
|
708
|
-
readonly vb: "0 0 24 24";
|
|
709
|
-
readonly d: "<rect x=\"4.6\" y=\"10.4\" width=\"14.8\" height=\"9.8\" rx=\"2.2\"/><path d=\"M8 10.4V7a4 4 0 0 1 8 0v3.4\"/>";
|
|
710
|
-
};
|
|
711
|
-
readonly message: {
|
|
712
|
-
readonly vb: "0 0 24 24";
|
|
713
|
-
readonly d: "<path d=\"M20.5 11.4c0 4.5-3.9 8.1-8.5 8.1a9 9 0 0 1-3.7-.78L3.5 20.5l1.8-4.6A7.9 7.9 0 0 1 3.5 11.4C3.5 6.9 7.4 3.3 12 3.3s8.5 3.6 8.5 8.1Z\"/>";
|
|
714
|
-
};
|
|
715
|
-
readonly messages: {
|
|
716
|
-
readonly vb: "0 0 24 24";
|
|
717
|
-
readonly d: "<path d=\"M14 9.2a4.7 4.7 0 0 1-4.7 4.7H6.8L3.5 16.4v-2.9A4.7 4.7 0 0 1 6.8 4.5h2.5A4.7 4.7 0 0 1 14 9.2Z\"/><path d=\"M9.4 13.6A4.7 4.7 0 0 0 13.6 16h3.6l3.3 2.5v-2.9a4.7 4.7 0 0 0-2.4-4.1\"/>";
|
|
718
|
-
};
|
|
719
|
-
readonly mic: {
|
|
720
|
-
readonly vb: "0 0 24 24";
|
|
721
|
-
readonly d: "<rect x=\"9\" y=\"2.6\" width=\"6\" height=\"11.2\" rx=\"3\"/><path d=\"M5.6 11.2a6.4 6.4 0 0 0 12.8 0\"/><path d=\"M12 17.6v3.4\"/><path d=\"M8.6 21h6.8\"/>";
|
|
722
|
-
};
|
|
723
|
-
readonly 'mic-off': {
|
|
724
|
-
readonly vb: "0 0 24 24";
|
|
725
|
-
readonly d: "<rect x=\"9\" y=\"2.6\" width=\"6\" height=\"11.2\" rx=\"3\"/><path d=\"M5.6 11.2a6.4 6.4 0 0 0 12.8 0\"/><path d=\"M12 17.6v3.4\"/><path d=\"M8.6 21h6.8\"/><path d=\"M3.6 3.2 20.4 20.8\"/>";
|
|
726
|
-
};
|
|
727
|
-
readonly 'more-h': {
|
|
728
|
-
readonly vb: "0 0 24 24";
|
|
729
|
-
readonly d: "<circle cx=\"5.4\" cy=\"12\" r=\"1.6\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"12\" cy=\"12\" r=\"1.6\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"18.6\" cy=\"12\" r=\"1.6\" fill=\"currentColor\" stroke=\"none\"/>";
|
|
730
|
-
};
|
|
731
|
-
readonly 'more-v': {
|
|
732
|
-
readonly vb: "0 0 24 24";
|
|
733
|
-
readonly d: "<circle cx=\"12\" cy=\"5.4\" r=\"1.6\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"12\" cy=\"12\" r=\"1.6\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"12\" cy=\"18.6\" r=\"1.6\" fill=\"currentColor\" stroke=\"none\"/>";
|
|
734
|
-
};
|
|
735
|
-
readonly phone: {
|
|
736
|
-
readonly vb: "0 0 24 24";
|
|
737
|
-
readonly d: "<path d=\"M6.6 3.5h3l1.5 3.7-1.9 1.4a12.5 12.5 0 0 0 6.2 6.2l1.4-1.9 3.7 1.5v3a2 2 0 0 1-2.2 2A16.8 16.8 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2Z\"/>";
|
|
738
|
-
};
|
|
739
|
-
readonly 'phone-off': {
|
|
740
|
-
readonly vb: "0 0 24 24";
|
|
741
|
-
readonly d: "<g transform=\"rotate(135 12 12)\"><path d=\"M6.6 3.5h3l1.5 3.7-1.9 1.4a12.5 12.5 0 0 0 6.2 6.2l1.4-1.9 3.7 1.5v3a2 2 0 0 1-2.2 2A16.8 16.8 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2Z\"/></g>";
|
|
742
|
-
};
|
|
743
|
-
readonly pin: {
|
|
744
|
-
readonly vb: "0 0 24 24";
|
|
745
|
-
readonly d: "<path d=\"M9 3.4h6v1.8l-1 5.6 3 3.2H7l3-3.2-1-5.6V3.4Z\"/><path d=\"M12 17v3.6\"/>";
|
|
746
|
-
};
|
|
747
|
-
readonly plus: {
|
|
748
|
-
readonly vb: "0 0 24 24";
|
|
749
|
-
readonly d: "<path d=\"M12 5v14M5 12h14\"/>";
|
|
750
|
-
};
|
|
751
|
-
readonly presence: {
|
|
752
|
-
readonly vb: "0 0 24 24";
|
|
753
|
-
readonly d: "<circle cx=\"12\" cy=\"12\" r=\"9\" fill=\"currentColor\" opacity=\"0.18\" stroke=\"none\"/><circle cx=\"12\" cy=\"12\" r=\"5\" fill=\"currentColor\" stroke=\"none\"/>";
|
|
754
|
-
};
|
|
755
|
-
readonly pulse: {
|
|
756
|
-
readonly vb: "0 0 24 24";
|
|
757
|
-
readonly d: "<path d=\"M3 13h4.6l2.2-4.6 3.4 9 2.2-4.4H21\"/>";
|
|
758
|
-
};
|
|
759
|
-
readonly reply: {
|
|
760
|
-
readonly vb: "0 0 24 24";
|
|
761
|
-
readonly d: "<path d=\"M9 7 4 12l5 5\"/><path d=\"M4 12h9.5a6.5 6.5 0 0 1 6.5 6.5V20\"/>";
|
|
762
|
-
};
|
|
763
|
-
readonly search: {
|
|
764
|
-
readonly vb: "0 0 24 24";
|
|
765
|
-
readonly d: "<circle cx=\"11\" cy=\"11\" r=\"6.8\"/><path d=\"M20.8 20.8 16 16\"/>";
|
|
766
|
-
};
|
|
767
|
-
readonly 'send-fill': {
|
|
768
|
-
readonly vb: "0 0 24 24";
|
|
769
|
-
readonly d: "<path fill=\"currentColor\" stroke=\"none\" d=\"M21.7 2.3a1 1 0 0 1 .25 1L15.3 21.8a1 1 0 0 1-1.86.06L10.6 14.2 3 11.4a1 1 0 0 1 .06-1.9L20.7 2.05a1 1 0 0 1 1 .25Z\"/>";
|
|
770
|
-
};
|
|
771
|
-
readonly send: {
|
|
772
|
-
readonly vb: "0 0 24 24";
|
|
773
|
-
readonly d: "<path d=\"M21.4 2.6 11 13\"/><path d=\"M21.4 2.6 14.8 21.5a.6.6 0 0 1-1.1.05L11 14l-7.5-2.7a.6.6 0 0 1 .05-1.1L21.4 2.6Z\"/>";
|
|
774
|
-
};
|
|
775
|
-
readonly settings: {
|
|
776
|
-
readonly vb: "0 0 24 24";
|
|
777
|
-
readonly d: "<circle cx=\"12\" cy=\"12\" r=\"3.1\"/><path d=\"M12 2.6V5M12 19v2.4M4.2 4.2 5.9 5.9M18.1 18.1l1.7 1.7M2.6 12H5M19 12h2.4M4.2 19.8 5.9 18.1M18.1 5.9l1.7-1.7\"/>";
|
|
778
|
-
};
|
|
779
|
-
readonly sliders: {
|
|
780
|
-
readonly vb: "0 0 24 24";
|
|
781
|
-
readonly d: "<path d=\"M4 7h9M17 7h3\"/><circle cx=\"15\" cy=\"7\" r=\"2.1\"/><path d=\"M4 17h3M11 17h9\"/><circle cx=\"9\" cy=\"17\" r=\"2.1\"/>";
|
|
782
|
-
};
|
|
783
|
-
readonly speaker: {
|
|
784
|
-
readonly vb: "0 0 24 24";
|
|
785
|
-
readonly d: "<path d=\"M4 9.5h3.2L12 5.4v13.2L7.2 14.5H4a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1Z\"/><path d=\"M15.6 9.2a4 4 0 0 1 0 5.6\"/><path d=\"M18.2 6.6a7.7 7.7 0 0 1 0 10.8\"/>";
|
|
786
|
-
};
|
|
787
|
-
readonly 'speaker-off': {
|
|
788
|
-
readonly vb: "0 0 24 24";
|
|
789
|
-
readonly d: "<path d=\"M4 9.5h3.2L12 5.4v13.2L7.2 14.5H4a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1Z\"/><path d=\"M16.4 9.6 21.4 14.4\"/><path d=\"M21.4 9.6 16.4 14.4\"/>";
|
|
790
|
-
};
|
|
791
|
-
readonly 'thumbs-up': {
|
|
792
|
-
readonly vb: "0 0 24 24";
|
|
793
|
-
readonly d: "<path d=\"M7 10.4V20H4.2V10.4Z\"/><path d=\"M7 10.4 11 3.2a2 2 0 0 1 1.9 2.2L12.4 9H18a2 2 0 0 1 2 2.4l-1.1 6A2 2 0 0 1 16.9 20H7\"/>";
|
|
794
|
-
};
|
|
795
|
-
readonly trash: {
|
|
796
|
-
readonly vb: "0 0 24 24";
|
|
797
|
-
readonly d: "<path d=\"M4 7h16\"/><path d=\"M9.2 7V5.2A1.8 1.8 0 0 1 11 3.4h2a1.8 1.8 0 0 1 1.8 1.8V7\"/><path d=\"M6.2 7 7.2 19A1.9 1.9 0 0 0 9.1 20.7h5.8A1.9 1.9 0 0 0 16.8 19L17.8 7\"/><path d=\"M10.3 11v5M13.7 11v5\"/>";
|
|
798
|
-
};
|
|
799
|
-
readonly typing: {
|
|
800
|
-
readonly vb: "0 0 24 24";
|
|
801
|
-
readonly d: "<circle cx=\"6\" cy=\"12\" r=\"1.7\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"12\" cy=\"12\" r=\"1.7\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"18\" cy=\"12\" r=\"1.7\" fill=\"currentColor\" stroke=\"none\"/>";
|
|
802
|
-
};
|
|
803
|
-
readonly 'user-plus': {
|
|
804
|
-
readonly vb: "0 0 24 24";
|
|
805
|
-
readonly d: "<circle cx=\"9\" cy=\"8\" r=\"3.8\"/><path d=\"M3 20a6 6 0 0 1 12 0\"/><path d=\"M18 8v6M15 11h6\"/>";
|
|
806
|
-
};
|
|
807
|
-
readonly user: {
|
|
808
|
-
readonly vb: "0 0 24 24";
|
|
809
|
-
readonly d: "<circle cx=\"12\" cy=\"8\" r=\"4\"/><path d=\"M4.6 20a7.4 7.4 0 0 1 14.8 0\"/>";
|
|
810
|
-
};
|
|
811
|
-
readonly users: {
|
|
812
|
-
readonly vb: "0 0 24 24";
|
|
813
|
-
readonly d: "<circle cx=\"9\" cy=\"8\" r=\"3.6\"/><path d=\"M2.6 20a6.4 6.4 0 0 1 12.8 0\"/><path d=\"M15.8 4.7a3.6 3.6 0 0 1 0 6.6\"/><path d=\"M17.6 20a6.4 6.4 0 0 0-3.1-5.5\"/>";
|
|
814
|
-
};
|
|
815
|
-
readonly video: {
|
|
816
|
-
readonly vb: "0 0 24 24";
|
|
817
|
-
readonly d: "<rect x=\"2.6\" y=\"6\" width=\"13\" height=\"12\" rx=\"2.4\"/><path d=\"M15.6 11.2 21.4 8v8l-5.8-3.2Z\"/>";
|
|
818
|
-
};
|
|
819
|
-
readonly 'video-off': {
|
|
820
|
-
readonly vb: "0 0 24 24";
|
|
821
|
-
readonly d: "<rect x=\"2.6\" y=\"6\" width=\"13\" height=\"12\" rx=\"2.4\"/><path d=\"M15.6 11.2 21.4 8v8l-5.8-3.2Z\"/><path d=\"M3.6 3.2 20.4 20.8\"/>";
|
|
822
|
-
};
|
|
823
|
-
readonly webhook: {
|
|
824
|
-
readonly vb: "0 0 24 24";
|
|
825
|
-
readonly d: "<circle cx=\"6\" cy=\"6\" r=\"2.6\"/><circle cx=\"18\" cy=\"9\" r=\"2.6\"/><circle cx=\"9.5\" cy=\"18\" r=\"2.6\"/><path d=\"M7.9 7.9 12 12l3.7-1.5\"/><path d=\"M11.6 12.7 9.8 16\"/>";
|
|
826
|
-
};
|
|
827
|
-
};
|
|
828
|
-
type IconName = keyof typeof ICONS;
|
|
829
|
-
|
|
830
|
-
interface PoolseIconProps extends Omit<SVGProps<SVGSVGElement>, 'children'> {
|
|
831
|
-
/** Icon name — see {@link IconName} for the full list of 41 icons. */
|
|
832
|
-
name: IconName;
|
|
833
|
-
/** Width + height in pixels. Defaults to `1.2em` so the icon scales with surrounding text. */
|
|
834
|
-
size?: number | string;
|
|
835
|
-
/** Accessibility label. Defaults to the icon name; pass `null` to hide from AT entirely. */
|
|
836
|
-
label?: string | null;
|
|
837
|
-
}
|
|
838
|
-
declare function PoolseIcon({ name, size, label, className, style, ...rest }: PoolseIconProps): ReactElement;
|
|
839
|
-
|
|
840
890
|
type PoolseLogoVariant = 'lockup' | 'mark' | 'wordmark' | 'mono';
|
|
841
891
|
interface PoolseLogoProps extends Omit<SVGProps<SVGSVGElement>, 'children'> {
|
|
842
892
|
variant?: PoolseLogoVariant;
|
|
@@ -859,4 +909,4 @@ declare function usePoolseFonts(enabled?: boolean): void;
|
|
|
859
909
|
*/
|
|
860
910
|
declare function PoolseFonts(): null;
|
|
861
911
|
|
|
862
|
-
export { AttachmentPreview, type AttachmentPreviewProps, Avatar, type AvatarProps, CallVideoGrid, type CallVideoGridProps, ChatHeader, type ChatHeaderProps, ConversationList, type ConversationListProps, ConversationView, type ConversationViewProps, EditableMessageBubble, type EditableMessageBubbleProps, GroupDetailsSheet, type GroupDetailsSheetProps, type IconName, type InboxUser, MemberList, type MemberListProps, MentionInput, type MentionInputProps, MessageActions, type MessageActionsProps, MessageBubble, type MessageBubbleProps, MessageComposer, type MessageComposerProps, PoolseFonts, PoolseIcon, type PoolseIconProps, PoolseInbox, type PoolseInboxHandle, type PoolseInboxProps, PoolseLogo, type PoolseLogoProps, type PoolseLogoVariant, ReactionPicker, ReactionStrip, type ReactionStripProps, ThreadView, type ThreadViewProps, TypingIndicator, type TypingIndicatorProps, UploadQueueStrip, UserName, type UserNameProps, UserPickerSheet, type UserPickerSheetProps, useDisplayName, usePoolseFonts };
|
|
912
|
+
export { AttachmentPreview, type AttachmentPreviewProps, Avatar, type AvatarProps, CallControlButton, type CallControlButtonProps, CallDeviceMenu, type CallDeviceMenuProps, CallVideoGrid, type CallVideoGridProps, ChatHeader, type ChatHeaderProps, ConversationList, type ConversationListProps, ConversationView, type ConversationViewProps, EditableMessageBubble, type EditableMessageBubbleProps, GroupDetailsSheet, type GroupDetailsSheetProps, type IconName, type InboxUser, MemberList, type MemberListProps, MentionInput, type MentionInputProps, MessageActions, type MessageActionsProps, MessageBubble, type MessageBubbleProps, MessageComposer, type MessageComposerProps, PoolseFonts, PoolseIcon, type PoolseIconProps, PoolseInbox, type PoolseInboxHandle, type PoolseInboxProps, PoolseLogo, type PoolseLogoProps, type PoolseLogoVariant, ReactionPicker, ReactionStrip, type ReactionStripProps, ThreadView, type ThreadViewProps, TypingIndicator, type TypingIndicatorProps, UploadQueueStrip, UserName, type UserNameProps, UserPickerSheet, type UserPickerSheetProps, useDisplayName, usePoolseFonts };
|