stream-chat-react 14.0.0-beta.4 → 14.0.0-beta.5
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/cjs/{WithAudioPlayback.236d404c.js → WithAudioPlayback.0c10cb67.js} +58 -90
- package/dist/cjs/WithAudioPlayback.0c10cb67.js.map +1 -0
- package/dist/cjs/emojis.js +1 -1
- package/dist/cjs/index.js +109 -138
- package/dist/cjs/index.js.map +1 -1
- package/dist/css/index.css +72 -53
- package/dist/css/index.css.map +1 -1
- package/dist/es/{WithAudioPlayback.89700cb5.mjs → WithAudioPlayback.e7821fd4.mjs} +149 -181
- package/dist/es/WithAudioPlayback.e7821fd4.mjs.map +1 -0
- package/dist/es/emojis.mjs +1 -1
- package/dist/es/index.mjs +169 -198
- package/dist/es/index.mjs.map +1 -1
- package/dist/types/components/ChannelHeader/ChannelHeader.d.ts +1 -1
- package/dist/types/components/ChannelHeader/ChannelHeader.d.ts.map +1 -1
- package/dist/types/components/Dialog/service/DialogPortal.d.ts.map +1 -1
- package/dist/types/components/Form/SwitchField.d.ts.map +1 -1
- package/dist/types/components/Icons/icons.d.ts +6 -38
- package/dist/types/components/Icons/icons.d.ts.map +1 -1
- package/dist/types/components/Icons/index.d.ts +0 -1
- package/dist/types/components/Icons/index.d.ts.map +1 -1
- package/dist/types/components/Message/Message.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useUserRole.d.ts.map +1 -1
- package/dist/types/components/Message/types.d.ts +1 -5
- package/dist/types/components/Message/types.d.ts.map +1 -1
- package/dist/types/components/MessageActions/MessageActions.defaults.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/MessageComposerUI.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/hooks/useSubmitHandler.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/preEditSnapshot.d.ts +16 -0
- package/dist/types/components/MessageComposer/preEditSnapshot.d.ts.map +1 -0
- package/dist/types/components/MessageList/MessageList.d.ts +1 -1
- package/dist/types/components/MessageList/MessageList.d.ts.map +1 -1
- package/dist/types/components/MessageList/VirtualizedMessageList.d.ts +1 -1
- package/dist/types/components/MessageList/VirtualizedMessageList.d.ts.map +1 -1
- package/dist/types/components/MessageList/VirtualizedMessageListComponents.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactions.d.ts +4 -16
- package/dist/types/components/Reactions/MessageReactions.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts +4 -4
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts.map +1 -1
- package/dist/types/components/Reactions/hooks/useProcessReactions.d.ts +4 -2
- package/dist/types/components/Reactions/hooks/useProcessReactions.d.ts.map +1 -1
- package/dist/types/components/Reactions/types.d.ts +0 -1
- package/dist/types/components/Reactions/types.d.ts.map +1 -1
- package/dist/types/components/SummarizedMessagePreview/SummarizedMessagePreview.d.ts.map +1 -1
- package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts.map +1 -1
- package/dist/types/components/Thread/ThreadHeader.d.ts +1 -1
- package/dist/types/components/Thread/ThreadHeader.d.ts.map +1 -1
- package/dist/types/context/MessageBounceContext.d.ts.map +1 -1
- package/dist/types/context/MessageContext.d.ts +1 -5
- package/dist/types/context/MessageContext.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/WithAudioPlayback.236d404c.js.map +0 -1
- package/dist/es/WithAudioPlayback.89700cb5.mjs.map +0 -1
- package/dist/types/components/Icons/IconGiphy.d.ts +0 -3
- package/dist/types/components/Icons/IconGiphy.d.ts.map +0 -1
|
@@ -1105,8 +1105,17 @@ const IconLeave = createIcon(
|
|
|
1105
1105
|
);
|
|
1106
1106
|
const IconArrowDown = createIcon(
|
|
1107
1107
|
"IconArrowDown",
|
|
1108
|
-
/* @__PURE__ */ jsx(
|
|
1109
|
-
|
|
1108
|
+
/* @__PURE__ */ jsx(
|
|
1109
|
+
"path",
|
|
1110
|
+
{
|
|
1111
|
+
d: "M10 3.125V16.875M10 16.875L4.375 11.25M10 16.875L15.625 11.25",
|
|
1112
|
+
fill: "none",
|
|
1113
|
+
stroke: "currentColor",
|
|
1114
|
+
strokeLinecap: "round",
|
|
1115
|
+
strokeLinejoin: "round",
|
|
1116
|
+
strokeWidth: "1.5"
|
|
1117
|
+
}
|
|
1118
|
+
)
|
|
1110
1119
|
);
|
|
1111
1120
|
const IconArrowDownCircle = createIcon(
|
|
1112
1121
|
"IconArrowDownCircle",
|
|
@@ -1136,11 +1145,6 @@ const IconArrowLeft = createIcon(
|
|
|
1136
1145
|
}
|
|
1137
1146
|
)
|
|
1138
1147
|
);
|
|
1139
|
-
const IconArrowRight = createIcon(
|
|
1140
|
-
"IconArrowRight",
|
|
1141
|
-
/* @__PURE__ */ jsx("path", { d: "M8.90918 3.4095C9.14349 3.17519 9.5235 3.17519 9.75781 3.4095L13.9238 7.57552C14.0363 7.68804 14.0996 7.84119 14.0996 8.00032C14.0995 8.15933 14.0363 8.3117 13.9238 8.42415L9.75781 12.5911C9.52355 12.8254 9.14351 12.8253 8.90918 12.5911C8.67487 12.3568 8.67487 11.9768 8.90918 11.7425L12.0518 8.59993H2.5C2.16874 8.59993 1.90057 8.33154 1.90039 8.00032C1.90039 7.66895 2.16863 7.39973 2.5 7.39973H12.0518L8.90918 4.25716C8.67508 4.02288 8.67508 3.64377 8.90918 3.4095Z" }),
|
|
1142
|
-
{ viewBox: "0 0 16 16" }
|
|
1143
|
-
);
|
|
1144
1148
|
const IconArrowUpRight = createIcon(
|
|
1145
1149
|
"IconArrowUpRight",
|
|
1146
1150
|
/* @__PURE__ */ jsx(
|
|
@@ -1299,17 +1303,12 @@ const IconMessageBubbleFill = createIcon(
|
|
|
1299
1303
|
"IconMessageBubbleFill",
|
|
1300
1304
|
/* @__PURE__ */ jsx("path", { d: "M18.125 10.0001C18.1253 11.4028 17.7624 12.7818 17.0717 14.0027C16.381 15.2236 15.3859 16.2449 14.1834 16.9671C12.9808 17.6894 11.6118 18.088 10.2095 18.1242C8.80719 18.1603 7.41942 17.8328 6.18125 17.1735L3.52109 18.0602C3.30085 18.1337 3.0645 18.1444 2.83854 18.091C2.61257 18.0377 2.40593 17.9225 2.24176 17.7583C2.07759 17.5942 1.96239 17.3875 1.90906 17.1615C1.85573 16.9356 1.86639 16.6992 1.93984 16.479L2.82656 13.8188C2.24699 12.7292 1.92328 11.5218 1.88 10.2883C1.83672 9.0549 2.075 7.8278 2.57677 6.70019C3.07854 5.57258 3.8306 4.57411 4.77587 3.78055C5.72114 2.98699 6.83478 2.41921 8.03224 2.1203C9.22971 1.82139 10.4795 1.79922 11.6868 2.05545C12.8942 2.31169 14.0272 2.8396 15.0001 3.59912C15.9729 4.35865 16.7599 5.32981 17.3014 6.43891C17.8428 7.548 18.1245 8.76588 18.125 10.0001Z" })
|
|
1301
1305
|
);
|
|
1302
|
-
const IconBubble3ChatMessage = createIcon(
|
|
1303
|
-
"IconBubble3ChatMessage",
|
|
1304
|
-
/* @__PURE__ */ jsx("path", { d: "M13.5667 8.00031C13.5667 4.92603 11.0745 2.4331 8.00031 2.43292C4.92592 2.43292 2.43292 4.92592 2.43292 8.00031C2.43297 8.84133 2.61967 9.63756 2.95245 10.3509C3.07245 10.6082 3.11534 10.9117 3.0423 11.2122L2.50323 13.4319C2.49184 13.4799 2.53435 13.5227 2.58234 13.512L4.89679 12.9925C5.18423 12.9279 5.4722 12.9685 5.71906 13.0794C6.4143 13.3921 7.18646 13.5667 8.00031 13.5667C11.0744 13.5665 13.5665 11.0744 13.5667 8.00031ZM14.7669 8.00031C14.7667 11.7372 11.7372 14.7667 8.00031 14.7669C7.01349 14.7669 6.07389 14.5551 5.22687 14.1741C5.19459 14.1597 5.17067 14.1609 5.15948 14.1634L2.84601 14.6829C1.92949 14.889 1.11544 14.0605 1.33722 13.1478L1.87628 10.928C1.87907 10.9163 1.88025 10.8913 1.86456 10.8577C1.45928 9.9889 1.23375 9.02014 1.2337 8.00031C1.2337 4.26318 4.26318 1.2337 8.00031 1.2337C11.7373 1.23388 14.7669 4.26329 14.7669 8.00031Z" }),
|
|
1305
|
-
{ viewBox: "0 0 16 16" }
|
|
1306
|
-
);
|
|
1307
1306
|
const IconThread = createIcon(
|
|
1308
1307
|
"IconThread",
|
|
1309
1308
|
/* @__PURE__ */ jsx(
|
|
1310
1309
|
"path",
|
|
1311
1310
|
{
|
|
1312
|
-
d: "M7.
|
|
1311
|
+
d: "M7.5 8.75H12.8125M7.5 11.25H12.8125M10.3125 16.875H3.75C3.58424 16.875 3.42527 16.8092 3.30806 16.6919C3.19085 16.5747 3.125 16.4158 3.125 16.25V9.6875C3.125 7.78126 3.88225 5.95309 5.23017 4.60517C6.57809 3.25725 8.40626 2.5 10.3125 2.5C11.2564 2.5 12.191 2.68591 13.063 3.04712C13.9351 3.40832 14.7274 3.93775 15.3948 4.60517C16.0623 5.27259 16.5917 6.06493 16.9529 6.93696C17.3141 7.80899 17.5 8.74362 17.5 9.6875C17.5 10.6314 17.3141 11.566 16.9529 12.438C16.5917 13.3101 16.0623 14.1024 15.3948 14.7698C14.7274 15.4373 13.9351 15.9667 13.063 16.3279C12.191 16.6891 11.2564 16.875 10.3125 16.875Z",
|
|
1313
1312
|
fill: "none",
|
|
1314
1313
|
stroke: "currentColor",
|
|
1315
1314
|
strokeLinecap: "round",
|
|
@@ -1318,11 +1317,6 @@ const IconThread = createIcon(
|
|
|
1318
1317
|
}
|
|
1319
1318
|
)
|
|
1320
1319
|
);
|
|
1321
|
-
const IconBubbleText6SolidChatMessage = createIcon(
|
|
1322
|
-
"IconBubbleText6SolidChatMessage",
|
|
1323
|
-
/* @__PURE__ */ jsx("path", { d: "M1.33337 5.83333C1.33337 3.71624 3.04961 2 5.16671 2H10.8334C12.9504 2 14.6667 3.71624 14.6667 5.83333V10.1667C14.6667 12.2837 12.9504 14 10.8334 14H1.83337C1.55723 14 1.33337 13.7761 1.33337 13.5V5.83333ZM5.83337 6C5.55723 6 5.33337 6.22386 5.33337 6.5C5.33337 6.77613 5.55723 7 5.83337 7H10.1667C10.4428 7 10.6667 6.77613 10.6667 6.5C10.6667 6.22386 10.4428 6 10.1667 6H5.83337ZM5.83337 9C5.55723 9 5.33337 9.22387 5.33337 9.5C5.33337 9.77613 5.55723 10 5.83337 10H8.16671C8.44284 10 8.66671 9.77613 8.66671 9.5C8.66671 9.22387 8.44284 9 8.16671 9H5.83337Z" }),
|
|
1324
|
-
{ viewBox: "0 0 16 16" }
|
|
1325
|
-
);
|
|
1326
1320
|
const IconThreadFill = createIcon(
|
|
1327
1321
|
"IconThreadFill",
|
|
1328
1322
|
/* @__PURE__ */ jsx("path", { d: "M10.3125 1.875C8.24119 1.87727 6.25538 2.70111 4.79074 4.16574C3.32611 5.63038 2.50227 7.61619 2.5 9.6875V16.25C2.5 16.5815 2.6317 16.8995 2.86612 17.1339C3.10054 17.3683 3.41848 17.5 3.75 17.5H10.3125C12.3845 17.5 14.3716 16.6769 15.8368 15.2118C17.3019 13.7466 18.125 11.7595 18.125 9.6875C18.125 7.6155 17.3019 5.62836 15.8368 4.16323C14.3716 2.6981 12.3845 1.875 10.3125 1.875ZM12.8125 11.875H7.5C7.33424 11.875 7.17527 11.8092 7.05806 11.6919C6.94085 11.5747 6.875 11.4158 6.875 11.25C6.875 11.0842 6.94085 10.9253 7.05806 10.8081C7.17527 10.6908 7.33424 10.625 7.5 10.625H12.8125C12.9783 10.625 13.1372 10.6908 13.2544 10.8081C13.3717 10.9253 13.4375 11.0842 13.4375 11.25C13.4375 11.4158 13.3717 11.5747 13.2544 11.6919C13.1372 11.8092 12.9783 11.875 12.8125 11.875ZM12.8125 9.375H7.5C7.33424 9.375 7.17527 9.30915 7.05806 9.19194C6.94085 9.07473 6.875 8.91576 6.875 8.75C6.875 8.58424 6.94085 8.42527 7.05806 8.30806C7.17527 8.19085 7.33424 8.125 7.5 8.125H12.8125C12.9783 8.125 13.1372 8.19085 13.2544 8.30806C13.3717 8.42527 13.4375 8.58424 13.4375 8.75C13.4375 8.91576 13.3717 9.07473 13.2544 9.19194C13.1372 9.30915 12.9783 9.375 12.8125 9.375Z" })
|
|
@@ -1480,14 +1474,6 @@ const IconNoSign = createIcon(
|
|
|
1480
1474
|
}
|
|
1481
1475
|
)
|
|
1482
1476
|
);
|
|
1483
|
-
const IconInfo = createIcon(
|
|
1484
|
-
"IconInfo",
|
|
1485
|
-
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1486
|
-
/* @__PURE__ */ jsx("path", { d: "M16.75 10C16.75 6.27208 13.7279 3.25 10 3.25C6.27208 3.25 3.25 6.27208 3.25 10C3.25 13.7279 6.27208 16.75 10 16.75C13.7279 16.75 16.75 13.7279 16.75 10ZM18.25 10C18.25 14.5563 14.5563 18.25 10 18.25C5.44365 18.25 1.75 14.5563 1.75 10C1.75 5.44365 5.44365 1.75 10 1.75C14.5563 1.75 18.25 5.44365 18.25 10Z" }),
|
|
1487
|
-
/* @__PURE__ */ jsx("path", { d: "M10.75 13.0107C11.1047 13.0703 11.375 13.3784 11.375 13.75C11.375 14.1642 11.0392 14.5 10.625 14.5C10.2603 14.5 9.91021 14.3555 9.65234 14.0977C9.39448 13.8398 9.25 13.4897 9.25 13.125V10.1133C8.89539 10.0537 8.625 9.74655 8.625 9.375C8.625 8.96079 8.96079 8.625 9.375 8.625C9.69403 8.625 10.0014 8.73611 10.2461 8.93652L10.3477 9.02734L10.4385 9.12891C10.6389 9.37356 10.75 9.68097 10.75 10V13.0107Z" }),
|
|
1488
|
-
/* @__PURE__ */ jsx("path", { d: "M9.6875 7.5C10.2053 7.5 10.625 7.08027 10.625 6.5625C10.625 6.04473 10.2053 5.625 9.6875 5.625C9.16973 5.625 8.75 6.04473 8.75 6.5625C8.75 7.08027 9.16973 7.5 9.6875 7.5Z" })
|
|
1489
|
-
] })
|
|
1490
|
-
);
|
|
1491
1477
|
const IconMinusCircle = createIcon(
|
|
1492
1478
|
"IconMinusCircle",
|
|
1493
1479
|
/* @__PURE__ */ jsx(
|
|
@@ -1706,8 +1692,8 @@ const IconImage = createIcon(
|
|
|
1706
1692
|
}
|
|
1707
1693
|
)
|
|
1708
1694
|
);
|
|
1709
|
-
const
|
|
1710
|
-
"
|
|
1695
|
+
const IconSidebar = createIcon(
|
|
1696
|
+
"IconSidebar",
|
|
1711
1697
|
/* @__PURE__ */ jsx(
|
|
1712
1698
|
"path",
|
|
1713
1699
|
{
|
|
@@ -1720,14 +1706,6 @@ const IconLayoutAlignLeft = createIcon(
|
|
|
1720
1706
|
}
|
|
1721
1707
|
)
|
|
1722
1708
|
);
|
|
1723
|
-
const IconLightBulbSimple = createIcon(
|
|
1724
|
-
"IconLightBulbSimple",
|
|
1725
|
-
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1726
|
-
/* @__PURE__ */ jsx("path", { d: "M12.2328 6.66736C12.2328 4.32904 10.3378 2.43302 7.99945 2.43298C5.66113 2.43298 3.76508 4.32901 3.76508 6.66736C3.76509 8.03465 4.4128 9.25078 5.42035 10.0258C5.44202 10.0425 5.46556 10.0594 5.48871 10.0765C6.00058 10.4543 6.43207 11.0657 6.43207 11.8119V12.6664C6.43232 13.5319 7.13392 14.2338 7.99945 14.2338C8.86496 14.2337 9.56658 13.5318 9.56683 12.6664V11.8119C9.56683 11.0657 9.99831 10.4543 10.5102 10.0765C10.5335 10.0593 10.556 10.0424 10.5776 10.0258L10.7631 9.87537C11.6644 9.09822 12.2328 7.94919 12.2328 6.66736ZM13.433 6.66736C13.433 8.42299 12.6002 9.98457 11.31 10.9769C11.2807 10.9995 11.2513 11.0205 11.2231 11.0414C10.9238 11.2623 10.767 11.55 10.767 11.8119V12.6664C10.7668 14.1946 9.5277 15.4329 7.99945 15.433C6.47116 15.433 5.23213 14.1946 5.23187 12.6664V11.8119C5.23187 11.5827 5.11171 11.3346 4.88129 11.1283L4.77582 11.0424L4.6889 10.9769C3.39867 9.98457 2.56587 8.42301 2.56586 6.66736C2.56586 3.66628 4.99838 1.23376 7.99945 1.23376C11.0005 1.2338 13.433 3.6663 13.433 6.66736Z" }),
|
|
1727
|
-
/* @__PURE__ */ jsx("path", { d: "M10.1669 11.2338C10.4982 11.2338 10.7665 11.502 10.7665 11.8334C10.7665 12.1647 10.4982 12.433 10.1669 12.433H5.83193C5.50056 12.433 5.23232 12.1647 5.23232 11.8334C5.23232 11.502 5.50056 11.2338 5.83193 11.2338H10.1669Z" })
|
|
1728
|
-
] }),
|
|
1729
|
-
{ viewBox: "0 0 16 16" }
|
|
1730
|
-
);
|
|
1731
1709
|
const IconSearch = createIcon(
|
|
1732
1710
|
"IconSearch",
|
|
1733
1711
|
/* @__PURE__ */ jsx(
|
|
@@ -1783,38 +1761,6 @@ const IconVoice = createIcon(
|
|
|
1783
1761
|
}
|
|
1784
1762
|
)
|
|
1785
1763
|
);
|
|
1786
|
-
const IconVoiceFill = createIcon(
|
|
1787
|
-
"IconVoiceFill",
|
|
1788
|
-
/* @__PURE__ */ jsx("path", { d: "M6.25 10V5C6.25 4.00544 6.64509 3.05161 7.34835 2.34835C8.05161 1.64509 9.00544 1.25 10 1.25C10.9946 1.25 11.9484 1.64509 12.6517 2.34835C13.3549 3.05161 13.75 4.00544 13.75 5V10C13.75 10.9946 13.3549 11.9484 12.6517 12.6517C11.9484 13.3549 10.9946 13.75 10 13.75C9.00544 13.75 8.05161 13.3549 7.34835 12.6517C6.64509 11.9484 6.25 10.9946 6.25 10ZM16.25 10C16.25 9.83424 16.1842 9.67527 16.0669 9.55806C15.9497 9.44085 15.7908 9.375 15.625 9.375C15.4592 9.375 15.3003 9.44085 15.1831 9.55806C15.0658 9.67527 15 9.83424 15 10C15 11.3261 14.4732 12.5979 13.5355 13.5355C12.5979 14.4732 11.3261 15 10 15C8.67392 15 7.40215 14.4732 6.46447 13.5355C5.52678 12.5979 5 11.3261 5 10C5 9.83424 4.93415 9.67527 4.81694 9.55806C4.69973 9.44085 4.54076 9.375 4.375 9.375C4.20924 9.375 4.05027 9.44085 3.93306 9.55806C3.81585 9.67527 3.75 9.83424 3.75 10C3.7519 11.5489 4.32806 13.042 5.36707 14.1907C6.40607 15.3393 7.8341 16.062 9.375 16.2188V18.75C9.375 18.9158 9.44085 19.0747 9.55806 19.1919C9.67527 19.3092 9.83424 19.375 10 19.375C10.1658 19.375 10.3247 19.3092 10.4419 19.1919C10.5592 19.0747 10.625 18.9158 10.625 18.75V16.2188C12.1659 16.062 13.5939 15.3393 14.6329 14.1907C15.6719 13.042 16.2481 11.5489 16.25 10Z" })
|
|
1789
|
-
);
|
|
1790
|
-
const IconMinus = createIcon(
|
|
1791
|
-
"IconMinus",
|
|
1792
|
-
/* @__PURE__ */ jsx(
|
|
1793
|
-
"path",
|
|
1794
|
-
{
|
|
1795
|
-
d: "M3.125 10H16.875",
|
|
1796
|
-
fill: "none",
|
|
1797
|
-
stroke: "currentColor",
|
|
1798
|
-
strokeLinecap: "round",
|
|
1799
|
-
strokeLinejoin: "round",
|
|
1800
|
-
strokeWidth: "1.5"
|
|
1801
|
-
}
|
|
1802
|
-
)
|
|
1803
|
-
);
|
|
1804
|
-
const IconMinusSmall = createIcon(
|
|
1805
|
-
"IconMinusSmall",
|
|
1806
|
-
/* @__PURE__ */ jsx(
|
|
1807
|
-
"path",
|
|
1808
|
-
{
|
|
1809
|
-
d: "M3.125 10H16.875",
|
|
1810
|
-
fill: "none",
|
|
1811
|
-
stroke: "currentColor",
|
|
1812
|
-
strokeLinecap: "round",
|
|
1813
|
-
strokeLinejoin: "round",
|
|
1814
|
-
strokeWidth: "1.5"
|
|
1815
|
-
}
|
|
1816
|
-
)
|
|
1817
|
-
);
|
|
1818
1764
|
const IconMute = createIcon(
|
|
1819
1765
|
"IconMute",
|
|
1820
1766
|
/* @__PURE__ */ jsx(
|
|
@@ -1986,11 +1932,6 @@ const IconCommand = createIcon(
|
|
|
1986
1932
|
}
|
|
1987
1933
|
)
|
|
1988
1934
|
);
|
|
1989
|
-
const IconSettingsGear2 = createIcon(
|
|
1990
|
-
"IconSettingsGear2",
|
|
1991
|
-
/* @__PURE__ */ jsx("path", { d: "M13.5667 8.00031C13.5667 7.81566 13.4743 7.64281 13.3206 7.54034L12.7503 7.16046C12.0815 6.71442 11.7583 5.90079 11.9388 5.11749L12.0472 4.64777C12.092 4.45315 12.034 4.24906 11.8929 4.10773C11.7515 3.96629 11.5467 3.90753 11.3519 3.95245L10.8831 4.06085C10.0996 4.24168 9.28525 3.91849 8.8392 3.24933L8.45932 2.67902C8.35689 2.52558 8.18474 2.43303 8.00034 2.43292C7.81575 2.43292 7.64286 2.5254 7.54037 2.67902L7.16049 3.24933C6.7145 3.91832 5.90097 4.24146 5.11752 4.06085L4.6478 3.95245C4.45304 3.90767 4.24908 3.9664 4.10776 4.10773C3.96643 4.24905 3.9077 4.45301 3.95248 4.64777L4.06088 5.11749C4.24149 5.90094 3.91835 6.71447 3.24936 7.16046L2.67905 7.54034C2.52543 7.64282 2.43295 7.81572 2.43295 8.00031C2.43306 8.18471 2.52561 8.35686 2.67905 8.45929L3.24936 8.83917C3.91852 9.28522 4.24171 10.0995 4.06088 10.8831L3.95248 11.3519C3.90756 11.5467 3.96632 11.7514 4.10776 11.8929C4.24909 12.034 4.45317 12.092 4.6478 12.0472L5.11752 11.9388C5.90082 11.7583 6.71445 12.0814 7.16049 12.7503L7.54037 13.3206C7.64284 13.4743 7.81569 13.5667 8.00034 13.5667C8.18484 13.5666 8.35691 13.4742 8.45932 13.3206L8.8392 12.7503C9.2574 12.123 9.99909 11.8004 10.7357 11.9114L10.8831 11.9388L11.3519 12.0472C11.5467 12.0922 11.7505 12.0334 11.8919 11.8919C12.0334 11.7504 12.0922 11.5467 12.0472 11.3519L11.9388 10.8831C11.7581 10.0996 12.0812 9.28525 12.7503 8.83917L13.3206 8.45929C13.4742 8.35688 13.5666 8.18481 13.5667 8.00031ZM9.23373 8.00031C9.23373 7.31925 8.68135 6.76708 8.00034 6.76691C7.31917 6.76691 6.76694 7.31914 6.76694 8.00031C6.76711 8.68132 7.31928 9.2337 8.00034 9.2337C8.68124 9.23353 9.23356 8.68121 9.23373 8.00031ZM10.433 8.00031C10.4328 9.34395 9.34398 10.4327 8.00034 10.4329C6.65654 10.4329 5.56692 9.34406 5.56674 8.00031C5.56674 6.6564 6.65643 5.56671 8.00034 5.56671C9.34409 5.56689 10.433 6.65651 10.433 8.00031ZM14.7669 8.00031C14.7668 8.58607 14.474 9.13337 13.9867 9.45831L13.4164 9.8382C13.1627 10.0072 13.0404 10.3155 13.1087 10.6126L13.2171 11.0823C13.355 11.6803 13.1744 12.3067 12.7406 12.7405C12.3067 13.1744 11.6803 13.355 11.0824 13.2171L10.6126 13.1087C10.3155 13.0403 10.0073 13.1627 9.83823 13.4163L9.45834 13.9866C9.1334 14.4739 8.5861 14.7668 8.00034 14.7669C7.41454 14.7669 6.86735 14.4739 6.54233 13.9866L6.16245 13.4163C5.99328 13.1626 5.6843 13.0402 5.38705 13.1087L4.9183 13.2171C4.32022 13.3552 3.69313 13.1746 3.25912 12.7405C2.82535 12.3066 2.64568 11.6802 2.78354 11.0823L2.89194 10.6126C2.96027 10.3155 2.83695 10.0072 2.58334 9.8382L2.01401 9.45831C1.52667 9.13338 1.23384 8.58608 1.23373 8.00031C1.23373 7.4144 1.52657 6.86729 2.01401 6.5423L2.58334 6.16241C2.83709 5.99325 2.96042 5.68417 2.89194 5.38702L2.78354 4.91827C2.64553 4.32022 2.82513 3.69309 3.25912 3.25909C3.69312 2.8251 4.32025 2.6455 4.9183 2.78351L5.38705 2.89191C5.6842 2.96039 5.99328 2.83706 6.16245 2.58331L6.54233 2.01398C6.86732 1.52654 7.41443 1.2337 8.00034 1.2337C8.58611 1.23381 9.13341 1.52663 9.45834 2.01398L9.83823 2.58331C10.0073 2.83692 10.3156 2.96024 10.6126 2.89191L11.0824 2.78351C11.6803 2.64565 12.3067 2.82532 12.7406 3.25909C13.1746 3.6931 13.3552 4.3202 13.2171 4.91827L13.1087 5.38702C13.0402 5.68427 13.1626 5.99325 13.4164 6.16241L13.9867 6.5423C14.4739 6.86732 14.7669 7.41451 14.7669 8.00031Z" }),
|
|
1992
|
-
{ viewBox: "0 0 16 16" }
|
|
1993
|
-
);
|
|
1994
1935
|
const IconCopy = createIcon(
|
|
1995
1936
|
"IconCopy",
|
|
1996
1937
|
/* @__PURE__ */ jsx(
|
|
@@ -2005,8 +1946,8 @@ const IconCopy = createIcon(
|
|
|
2005
1946
|
}
|
|
2006
1947
|
)
|
|
2007
1948
|
);
|
|
2008
|
-
const
|
|
2009
|
-
"
|
|
1949
|
+
const IconBolt = createIcon(
|
|
1950
|
+
"IconBolt",
|
|
2010
1951
|
/* @__PURE__ */ jsx("path", { d: "M16.7071 9.80157L7.95711 19.1766C7.86438 19.2755 7.74198 19.3416 7.60839 19.3649C7.47479 19.3882 7.33724 19.3674 7.2165 19.3057C7.09576 19.244 6.99837 19.1446 6.93904 19.0227C6.8797 18.9007 6.86164 18.7628 6.88757 18.6297L8.03289 12.9008L3.53054 11.2102C3.43385 11.174 3.34762 11.1144 3.27956 11.0368C3.2115 10.9592 3.16373 10.8659 3.14052 10.7653C3.1173 10.6647 3.11937 10.5599 3.14653 10.4603C3.17369 10.3607 3.2251 10.2694 3.29617 10.1945L12.0462 0.819538C12.1389 0.720581 12.2613 0.654468 12.3949 0.631176C12.5285 0.607884 12.666 0.628675 12.7868 0.690414C12.9075 0.752152 13.0049 0.851488 13.0642 0.97343C13.1236 1.09537 13.1416 1.2333 13.1157 1.36641L11.9673 7.10157L16.4696 8.78985C16.5656 8.82626 16.6511 8.88576 16.7187 8.96307C16.7862 9.04039 16.8336 9.13315 16.8568 9.23316C16.88 9.33317 16.8781 9.43734 16.8515 9.53648C16.8248 9.63562 16.7742 9.72666 16.704 9.80157H16.7071Z" })
|
|
2011
1952
|
);
|
|
2012
1953
|
const IconTranslate = createIcon(
|
|
@@ -2142,6 +2083,42 @@ const IconLoading = createIcon(
|
|
|
2142
2083
|
)
|
|
2143
2084
|
] })
|
|
2144
2085
|
);
|
|
2086
|
+
const IconGiphy = createIcon(
|
|
2087
|
+
"IconGiphy",
|
|
2088
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2089
|
+
/* @__PURE__ */ jsx("rect", { fill: "black", height: "20", rx: "10", width: "20" }),
|
|
2090
|
+
/* @__PURE__ */ jsx(
|
|
2091
|
+
"path",
|
|
2092
|
+
{
|
|
2093
|
+
clipRule: "evenodd",
|
|
2094
|
+
d: "M6.5997 5.50012H13.4008V14.4998H6.59912L6.5997 5.50012Z",
|
|
2095
|
+
fill: "black",
|
|
2096
|
+
fillRule: "evenodd"
|
|
2097
|
+
}
|
|
2098
|
+
),
|
|
2099
|
+
/* @__PURE__ */ jsx("path", { d: "M5.24023 5.1665H6.59998V14.8335H5.24023V5.1665Z", fill: "#04FF8E" }),
|
|
2100
|
+
/* @__PURE__ */ jsx("path", { d: "M13.4004 7.8335H14.7601V14.8335H13.4004V7.8335Z", fill: "#8E2EFF" }),
|
|
2101
|
+
/* @__PURE__ */ jsx("path", { d: "M5.24023 14.4999H14.7602V15.8334H5.24023V14.4999Z", fill: "#00C5FF" }),
|
|
2102
|
+
/* @__PURE__ */ jsx("path", { d: "M5.24023 4.16663H10.6804V5.50013H5.24023V4.16663Z", fill: "#FFF152" }),
|
|
2103
|
+
/* @__PURE__ */ jsx(
|
|
2104
|
+
"path",
|
|
2105
|
+
{
|
|
2106
|
+
d: "M13.4003 6.83304V5.50013H12.0399V4.16663H10.6802V8.16654H14.76V6.83304",
|
|
2107
|
+
fill: "#FF5B5B"
|
|
2108
|
+
}
|
|
2109
|
+
),
|
|
2110
|
+
/* @__PURE__ */ jsx("path", { d: "M13.4004 9.50013V8.16663H14.7601", fill: "#551C99" }),
|
|
2111
|
+
/* @__PURE__ */ jsx(
|
|
2112
|
+
"path",
|
|
2113
|
+
{
|
|
2114
|
+
clipRule: "evenodd",
|
|
2115
|
+
d: "M10.6802 4.16663V5.50013H9.31982",
|
|
2116
|
+
fill: "#999131",
|
|
2117
|
+
fillRule: "evenodd"
|
|
2118
|
+
}
|
|
2119
|
+
)
|
|
2120
|
+
] })
|
|
2121
|
+
);
|
|
2145
2122
|
const UnMemoizedEmptyStateIndicator = (props) => {
|
|
2146
2123
|
const { listType, messageText } = props;
|
|
2147
2124
|
const { t } = useTranslationContext("EmptyStateIndicator");
|
|
@@ -4328,7 +4305,7 @@ const ChatViewThreadsSelectorButton = ({
|
|
|
4328
4305
|
return /* @__PURE__ */ jsx(
|
|
4329
4306
|
ChatViewSelectorButton,
|
|
4330
4307
|
{
|
|
4331
|
-
ActiveIcon:
|
|
4308
|
+
ActiveIcon: IconThreadFill,
|
|
4332
4309
|
"aria-selected": isActive,
|
|
4333
4310
|
Icon: IconThread,
|
|
4334
4311
|
iconOnly,
|
|
@@ -4338,7 +4315,7 @@ const ChatViewThreadsSelectorButton = ({
|
|
|
4338
4315
|
setActiveChatView("threads");
|
|
4339
4316
|
},
|
|
4340
4317
|
text: t("Threads"),
|
|
4341
|
-
children: /* @__PURE__ */ jsx(UnreadCountBadge, { count: unreadThreadCount, position: "top-right", children: isActive ? /* @__PURE__ */ jsx(
|
|
4318
|
+
children: /* @__PURE__ */ jsx(UnreadCountBadge, { count: unreadThreadCount, position: "top-right", children: isActive ? /* @__PURE__ */ jsx(IconThreadFill, {}) : /* @__PURE__ */ jsx(IconThread, {}) })
|
|
4342
4319
|
}
|
|
4343
4320
|
);
|
|
4344
4321
|
};
|
|
@@ -4450,48 +4427,48 @@ const useActiveAudioPlayer = () => {
|
|
|
4450
4427
|
return activeAudioPlayer;
|
|
4451
4428
|
};
|
|
4452
4429
|
export {
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4430
|
+
IconPoll as $,
|
|
4431
|
+
IconArrowLeft as A,
|
|
4432
|
+
Button as B,
|
|
4456
4433
|
ComponentContext as C,
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4434
|
+
IconExclamationMark as D,
|
|
4435
|
+
IconNoSign as E,
|
|
4436
|
+
isMessageErrorRetryable as F,
|
|
4437
|
+
ACTIONS_NOT_WORKING_IN_THREAD as G,
|
|
4438
|
+
useNotificationTarget as H,
|
|
4462
4439
|
IconPauseFill as I,
|
|
4463
|
-
|
|
4464
|
-
|
|
4440
|
+
IconArrowUpRight as J,
|
|
4441
|
+
addNotificationTargetTag as K,
|
|
4465
4442
|
LocalizedFormat as L,
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4443
|
+
IconPin as M,
|
|
4444
|
+
mapToUserNameOrId as N,
|
|
4445
|
+
IconClock as O,
|
|
4446
|
+
IconCheckmark1Small as P,
|
|
4447
|
+
IconChecks as Q,
|
|
4448
|
+
getReadByTooltipText as R,
|
|
4449
|
+
messageHasAttachments as S,
|
|
4450
|
+
messageTextHasEmojisOnly as T,
|
|
4451
|
+
isDate as U,
|
|
4452
|
+
getDateString as V,
|
|
4453
|
+
IconTranslate as W,
|
|
4454
|
+
useMessageComposerContext as X,
|
|
4455
|
+
useIsCooldownActive as Y,
|
|
4456
|
+
IconCrossSmall as Z,
|
|
4457
|
+
IconImage as _,
|
|
4481
4458
|
useMessageComposerController as a,
|
|
4482
4459
|
processMessages as a$,
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4460
|
+
IconLocation as a0,
|
|
4461
|
+
IconFile as a1,
|
|
4462
|
+
IconLink as a2,
|
|
4463
|
+
IconVideo as a3,
|
|
4464
|
+
IconVideoFill as a4,
|
|
4465
|
+
IconVoice as a5,
|
|
4466
|
+
IconSave as a6,
|
|
4467
|
+
IconBell as a7,
|
|
4468
|
+
IconChevronDown as a8,
|
|
4469
|
+
IconPlusSmall as a9,
|
|
4493
4470
|
isLanguageSupported as aA,
|
|
4494
|
-
|
|
4471
|
+
IconSidebar as aB,
|
|
4495
4472
|
useChatViewContext as aC,
|
|
4496
4473
|
MESSAGE_ACTIONS as aD,
|
|
4497
4474
|
LegacyThreadContext as aE,
|
|
@@ -4517,16 +4494,16 @@ export {
|
|
|
4517
4494
|
countEmojis as aY,
|
|
4518
4495
|
areMessagePropsEqual as aZ,
|
|
4519
4496
|
getMessageActions as a_,
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4497
|
+
IconCheckmark as aa,
|
|
4498
|
+
DEFAULT_LOAD_PAGE_SCROLL_THRESHOLD as ab,
|
|
4499
|
+
IconTrophy as ac,
|
|
4500
|
+
IconReorder as ad,
|
|
4501
|
+
IconMinusCircle as ae,
|
|
4502
|
+
IconSend as af,
|
|
4503
|
+
IconAudio as ag,
|
|
4504
|
+
IconUserAdd as ah,
|
|
4505
|
+
IconMute as ai,
|
|
4506
|
+
IconGiphy as aj,
|
|
4530
4507
|
IconFlag as ak,
|
|
4531
4508
|
IconUserRemove as al,
|
|
4532
4509
|
IconAttachment as am,
|
|
@@ -4537,14 +4514,14 @@ export {
|
|
|
4537
4514
|
useAudioPlayer as ar,
|
|
4538
4515
|
IconRetry as as,
|
|
4539
4516
|
IconArrowDownCircle as at,
|
|
4540
|
-
|
|
4517
|
+
IconBolt as au,
|
|
4541
4518
|
IconDelete as av,
|
|
4542
4519
|
IconUpload as aw,
|
|
4543
4520
|
MessageComposerContextProvider as ax,
|
|
4544
4521
|
useTypingContext as ay,
|
|
4545
4522
|
defaultDateTimeParser as az,
|
|
4546
4523
|
useChannelActionContext as b,
|
|
4547
|
-
|
|
4524
|
+
ChannelStateContext as b$,
|
|
4548
4525
|
insertIntro as b0,
|
|
4549
4526
|
getGroupStyles as b1,
|
|
4550
4527
|
getLastReceived as b2,
|
|
@@ -4561,27 +4538,27 @@ export {
|
|
|
4561
4538
|
ChatViewThreadsSelectorButton as bD,
|
|
4562
4539
|
defaultChatViewSelectorItemSet as bE,
|
|
4563
4540
|
createIcon as bF,
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4541
|
+
IconMessageBubble as bG,
|
|
4542
|
+
IconMessageBubbleFill as bH,
|
|
4543
|
+
IconThreadFill as bI,
|
|
4544
|
+
LoadingChannel as bJ,
|
|
4545
|
+
LoadingErrorIndicator as bK,
|
|
4546
|
+
OPTIONAL_MESSAGE_ACTIONS as bL,
|
|
4547
|
+
getImages as bM,
|
|
4548
|
+
getNonImageAttachments as bN,
|
|
4549
|
+
makeIntroMessage as bO,
|
|
4550
|
+
makeDateMessageId as bP,
|
|
4551
|
+
hasMoreMessagesProbably as bQ,
|
|
4552
|
+
hasNotMoreMessages as bR,
|
|
4553
|
+
isNotificationTargetPanel as bS,
|
|
4554
|
+
getNotificationTargetPanel as bT,
|
|
4555
|
+
getNotificationTargetTag as bU,
|
|
4556
|
+
useLegacyThreadContext as bV,
|
|
4557
|
+
ThreadContext as bW,
|
|
4558
|
+
ThreadProvider as bX,
|
|
4559
|
+
ChannelActionContext as bY,
|
|
4560
|
+
ChannelActionProvider as bZ,
|
|
4561
|
+
ChannelListContext as b_,
|
|
4585
4562
|
getChannel as ba,
|
|
4586
4563
|
IconSearch as bb,
|
|
4587
4564
|
IconXCircle as bc,
|
|
@@ -4609,46 +4586,37 @@ export {
|
|
|
4609
4586
|
ChatViewContext as by,
|
|
4610
4587
|
ChatView as bz,
|
|
4611
4588
|
useTranslationContext as c,
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
ChannelStateProvider as c9,
|
|
4622
|
-
ChatContext as ca,
|
|
4623
|
-
ComponentProvider as cb,
|
|
4624
|
-
MessageComposerContext as cc,
|
|
4625
|
-
TranslationContext as cd,
|
|
4626
|
-
TypingContext as ce,
|
|
4627
|
-
TypingProvider as cf,
|
|
4628
|
-
isDayOrMoment as cg,
|
|
4629
|
-
isNumberOrString as ch,
|
|
4589
|
+
ChannelStateProvider as c0,
|
|
4590
|
+
ChatContext as c1,
|
|
4591
|
+
ComponentProvider as c2,
|
|
4592
|
+
MessageComposerContext as c3,
|
|
4593
|
+
TranslationContext as c4,
|
|
4594
|
+
TypingContext as c5,
|
|
4595
|
+
TypingProvider as c6,
|
|
4596
|
+
isDayOrMoment as c7,
|
|
4597
|
+
isNumberOrString as c8,
|
|
4630
4598
|
useChannelStateContext as d,
|
|
4631
4599
|
useChatContext as e,
|
|
4632
4600
|
isNotificationForPanel as f,
|
|
4633
|
-
|
|
4634
|
-
|
|
4601
|
+
IconPlayFill as g,
|
|
4602
|
+
getDefaultExportFromCjs as h,
|
|
4635
4603
|
isMessageBounced as i,
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4604
|
+
defaultTranslatorFunction as j,
|
|
4605
|
+
calendar as k,
|
|
4606
|
+
IconLoading as l,
|
|
4607
|
+
isNetworkSendFailure as m,
|
|
4608
|
+
isUserMuted as n,
|
|
4609
|
+
defaultPinPermissions as o,
|
|
4642
4610
|
predefinedFormatters as p,
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4611
|
+
useThreadContext as q,
|
|
4612
|
+
usePopoverPosition as r,
|
|
4613
|
+
useComponentContext as s,
|
|
4614
|
+
IconXmark as t,
|
|
4647
4615
|
useStateStore as u,
|
|
4648
4616
|
validateAndGetMessage as v,
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4617
|
+
IconUser as w,
|
|
4618
|
+
IconExclamationMarkFill as x,
|
|
4619
|
+
IconChevronRight as y,
|
|
4620
|
+
IconChevronLeft as z
|
|
4653
4621
|
};
|
|
4654
|
-
//# sourceMappingURL=WithAudioPlayback.
|
|
4622
|
+
//# sourceMappingURL=WithAudioPlayback.e7821fd4.mjs.map
|