stream-chat-react 14.0.0-beta.5 → 14.0.0-beta.6

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.
Files changed (33) hide show
  1. package/dist/cjs/{WithAudioPlayback.0c10cb67.js → WithAudioPlayback.f9abf707.js} +43 -33
  2. package/dist/cjs/WithAudioPlayback.f9abf707.js.map +1 -0
  3. package/dist/cjs/emojis.js +1 -1
  4. package/dist/cjs/index.js +54 -52
  5. package/dist/cjs/index.js.map +1 -1
  6. package/dist/css/index.css +149 -544
  7. package/dist/css/index.css.map +1 -1
  8. package/dist/es/{WithAudioPlayback.e7821fd4.mjs → WithAudioPlayback.d90f1a99.mjs} +43 -33
  9. package/dist/es/WithAudioPlayback.d90f1a99.mjs.map +1 -0
  10. package/dist/es/emojis.mjs +1 -1
  11. package/dist/es/index.mjs +55 -53
  12. package/dist/es/index.mjs.map +1 -1
  13. package/dist/types/components/Avatar/Avatar.d.ts +1 -1
  14. package/dist/types/components/Avatar/Avatar.d.ts.map +1 -1
  15. package/dist/types/components/Avatar/AvatarStack.d.ts +2 -2
  16. package/dist/types/components/Avatar/AvatarStack.d.ts.map +1 -1
  17. package/dist/types/components/Avatar/ChannelAvatar.d.ts +2 -6
  18. package/dist/types/components/Avatar/ChannelAvatar.d.ts.map +1 -1
  19. package/dist/types/components/Avatar/GroupAvatar.d.ts +6 -7
  20. package/dist/types/components/Avatar/GroupAvatar.d.ts.map +1 -1
  21. package/dist/types/components/ChannelHeader/ChannelHeader.d.ts.map +1 -1
  22. package/dist/types/components/ChannelListItem/ChannelListItemUI.d.ts.map +1 -1
  23. package/dist/types/components/ChannelListItem/utils.d.ts.map +1 -1
  24. package/dist/types/components/Icons/createIcon.d.ts +1 -1
  25. package/dist/types/components/Icons/createIcon.d.ts.map +1 -1
  26. package/dist/types/components/Icons/icons.d.ts +3 -3
  27. package/dist/types/components/Icons/icons.d.ts.map +1 -1
  28. package/dist/types/components/TypingIndicator/TypingIndicator.d.ts.map +1 -1
  29. package/dist/types/context/ComponentContext.d.ts +2 -2
  30. package/dist/types/context/ComponentContext.d.ts.map +1 -1
  31. package/package.json +1 -1
  32. package/dist/cjs/WithAudioPlayback.0c10cb67.js.map +0 -1
  33. package/dist/es/WithAudioPlayback.e7821fd4.mjs.map +0 -1
@@ -1161,7 +1161,8 @@ const IconArrowLeft = createIcon(
1161
1161
  strokeLinejoin: "round",
1162
1162
  strokeWidth: "1.5"
1163
1163
  }
1164
- )
1164
+ ),
1165
+ { "data-rtl-mirror": "" }
1165
1166
  );
1166
1167
  const IconArrowUpRight = createIcon(
1167
1168
  "IconArrowUpRight",
@@ -1175,7 +1176,8 @@ const IconArrowUpRight = createIcon(
1175
1176
  strokeLinejoin: "round",
1176
1177
  strokeWidth: "1.5"
1177
1178
  }
1178
- )
1179
+ ),
1180
+ { "data-rtl-mirror": "" }
1179
1181
  );
1180
1182
  const IconRetry = createIcon(
1181
1183
  "IconRetry",
@@ -1217,7 +1219,8 @@ const IconReply = createIcon(
1217
1219
  strokeLinejoin: "round",
1218
1220
  strokeWidth: "1.5"
1219
1221
  }
1220
- )
1222
+ ),
1223
+ { "data-rtl-mirror": "" }
1221
1224
  );
1222
1225
  const IconArrowUp = createIcon(
1223
1226
  "IconArrowUp",
@@ -1462,7 +1465,8 @@ const IconChevronLeft = createIcon(
1462
1465
  strokeLinejoin: "round",
1463
1466
  strokeWidth: "1.5"
1464
1467
  }
1465
- )
1468
+ ),
1469
+ { "data-rtl-mirror": "" }
1466
1470
  );
1467
1471
  const IconChevronRight = createIcon(
1468
1472
  "IconChevronRight",
@@ -1476,7 +1480,8 @@ const IconChevronRight = createIcon(
1476
1480
  strokeLinejoin: "round",
1477
1481
  strokeWidth: "1.5"
1478
1482
  }
1479
- )
1483
+ ),
1484
+ { "data-rtl-mirror": "" }
1480
1485
  );
1481
1486
  const IconNoSign = createIcon(
1482
1487
  "IconNoSign",
@@ -1562,12 +1567,12 @@ const IconXmark = createIcon(
1562
1567
  }
1563
1568
  )
1564
1569
  );
1565
- const IconCrossSmall = createIcon(
1566
- "IconCrossSmall",
1570
+ const IconXmarkSmall = createIcon(
1571
+ "IconXmarkSmall",
1567
1572
  /* @__PURE__ */ jsxRuntime.jsx(
1568
1573
  "path",
1569
1574
  {
1570
- d: "M15.625 4.375L4.375 15.625M15.625 15.625L4.375 4.375",
1575
+ d: "M13.5 6.5L6.5 13.5M13.5 13.5L6.5 6.5",
1571
1576
  fill: "none",
1572
1577
  stroke: "currentColor",
1573
1578
  strokeLinecap: "round",
@@ -1644,15 +1649,13 @@ const IconExclamationMark = createIcon(
1644
1649
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 14.375C10.5178 14.375 10.9375 13.9553 10.9375 13.4375C10.9375 12.9197 10.5178 12.5 10 12.5C9.48223 12.5 9.0625 12.9197 9.0625 13.4375C9.0625 13.9553 9.48223 14.375 10 14.375Z" })
1645
1650
  ] })
1646
1651
  );
1647
- const IconExclamationTriangle = createIcon(
1648
- "IconExclamationTriangle",
1649
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6.33838 2.1211C7.08775 0.860752 8.91225 0.860759 9.66162 2.1211L14.6509 10.5117C15.4171 11.8003 14.4889 13.4333 12.9897 13.4336H3.01026C1.51115 13.4333 0.582944 11.8003 1.34912 10.5117L6.33838 2.1211ZM8.63037 2.73438C8.34614 2.25634 7.65386 2.25634 7.36963 2.73438L2.38037 11.125C2.08977 11.6138 2.44181 12.2331 3.01026 12.2334H12.9897C13.5582 12.2331 13.9102 11.6138 13.6196 11.125L8.63037 2.73438ZM7.3999 8.50001V5.83302C7.40008 5.5018 7.66923 5.23341 8.00049 5.23341C8.33153 5.23367 8.59993 5.50196 8.6001 5.83302V8.50001C8.6001 8.83122 8.33164 9.09936 8.00049 9.09962C7.66912 9.09962 7.39991 8.83138 7.3999 8.50001ZM8.76709 10.333C8.76709 10.7563 8.4237 11.0994 8.00049 11.0996C7.57705 11.0996 7.23291 10.7565 7.23291 10.333C7.23309 9.90973 7.57716 9.56642 8.00049 9.56642L8.07862 9.57032C8.46503 9.60966 8.76693 9.93626 8.76709 10.333Z" }),
1650
- { viewBox: "0 0 16 16" }
1652
+ const IconExclamationTriangleFill = createIcon(
1653
+ "IconExclamationTriangleFill",
1654
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18.4999 14.6946L11.6678 2.82974C11.4971 2.53906 11.2534 2.29803 10.9608 2.13057C10.6682 1.9631 10.337 1.875 9.99986 1.875C9.66275 1.875 9.33149 1.9631 9.03892 2.13057C8.74635 2.29803 8.50262 2.53906 8.33189 2.82974L1.49986 14.6946C1.33559 14.9757 1.24902 15.2955 1.24902 15.6211C1.24902 15.9468 1.33559 16.2665 1.49986 16.5477C1.6684 16.8401 1.91171 17.0825 2.20483 17.2498C2.49795 17.4172 2.83032 17.5036 3.16783 17.5001H16.8319C17.1691 17.5033 17.5012 17.4168 17.794 17.2494C18.0868 17.0821 18.3299 16.8399 18.4983 16.5477C18.6628 16.2667 18.7496 15.947 18.7499 15.6214C18.7502 15.2957 18.6639 14.9759 18.4999 14.6946ZM9.37486 8.12505C9.37486 7.95929 9.44071 7.80032 9.55792 7.68311C9.67513 7.5659 9.8341 7.50005 9.99986 7.50005C10.1656 7.50005 10.3246 7.5659 10.4418 7.68311C10.559 7.80032 10.6249 7.95929 10.6249 8.12505V11.2501C10.6249 11.4158 10.559 11.5748 10.4418 11.692C10.3246 11.8092 10.1656 11.8751 9.99986 11.8751C9.8341 11.8751 9.67513 11.8092 9.55792 11.692C9.44071 11.5748 9.37486 11.4158 9.37486 11.2501V8.12505ZM9.99986 15.0001C9.81444 15.0001 9.63319 14.9451 9.47901 14.8421C9.32484 14.739 9.20468 14.5926 9.13372 14.4213C9.06277 14.25 9.0442 14.0615 9.08038 13.8797C9.11655 13.6978 9.20584 13.5308 9.33695 13.3996C9.46806 13.2685 9.63511 13.1792 9.81696 13.1431C9.99882 13.1069 10.1873 13.1255 10.3586 13.1964C10.5299 13.2674 10.6764 13.3875 10.7794 13.5417C10.8824 13.6959 10.9374 13.8771 10.9374 14.0626C10.9374 14.3112 10.8386 14.5496 10.6628 14.7255C10.487 14.9013 10.2485 15.0001 9.99986 15.0001Z" })
1651
1655
  );
1652
- const IconEyeOpen = createIcon(
1653
- "IconEyeOpen",
1654
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.00001 2.56708C10.6293 2.5671 13.1778 4.13929 14.874 7.11591C15.1862 7.66419 15.1864 8.33627 14.874 8.88446C13.1778 11.861 10.6292 13.4333 8.00001 13.4333C5.37079 13.4333 2.82216 11.861 1.12598 8.88446C0.813474 8.33611 0.813474 7.66328 1.12598 7.11493C2.82216 4.13867 5.37091 2.56707 8.00001 2.56708ZM8.00001 3.7663C5.88909 3.76629 3.69769 5.02518 2.16798 7.70966C2.06545 7.88967 2.0654 8.11071 2.16798 8.29071C3.69768 10.9751 5.88913 12.2331 8.00001 12.2331C10.1109 12.2331 12.3023 10.9751 13.832 8.29071C13.9346 8.11071 13.9346 7.8898 13.832 7.70966C12.3023 5.02517 10.1109 3.76631 8.00001 3.7663ZM9.56641 7.99969C9.56624 7.13461 8.86513 6.43329 8.00001 6.43329C7.13489 6.43329 6.43378 7.13461 6.4336 7.99969C6.4336 8.86492 7.13478 9.56708 8.00001 9.56708C8.86524 9.56708 9.56641 8.86492 9.56641 7.99969ZM10.7666 7.99969C10.7666 9.52767 9.52798 10.7663 8.00001 10.7663C6.47204 10.7663 5.23341 9.52767 5.23341 7.99969C5.23358 6.47187 6.47214 5.23309 8.00001 5.23309C9.52787 5.23309 10.7664 6.47187 10.7666 7.99969Z" }),
1655
- { viewBox: "0 0 16 16" }
1656
+ const IconEyeFill = createIcon(
1657
+ "IconEyeFill",
1658
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19.3211 9.74688C19.2937 9.68516 18.632 8.21719 17.1609 6.74609C15.2008 4.78594 12.725 3.75 9.99999 3.75C7.27499 3.75 4.79921 4.78594 2.83905 6.74609C1.36796 8.21719 0.703118 9.6875 0.678899 9.74688C0.643362 9.82681 0.625 9.91331 0.625 10.0008C0.625 10.0883 0.643362 10.1748 0.678899 10.2547C0.706243 10.3164 1.36796 11.7836 2.83905 13.2547C4.79921 15.2141 7.27499 16.25 9.99999 16.25C12.725 16.25 15.2008 15.2141 17.1609 13.2547C18.632 11.7836 19.2937 10.3164 19.3211 10.2547C19.3566 10.1748 19.375 10.0883 19.375 10.0008C19.375 9.91331 19.3566 9.82681 19.3211 9.74688ZM9.99999 13.125C9.38193 13.125 8.77774 12.9417 8.26384 12.5983C7.74993 12.255 7.34939 11.7669 7.11287 11.1959C6.87634 10.6249 6.81446 9.99653 6.93504 9.39034C7.05562 8.78415 7.35324 8.22733 7.79028 7.79029C8.22732 7.35325 8.78414 7.05562 9.39033 6.93505C9.99652 6.81447 10.6249 6.87635 11.1959 7.11288C11.7669 7.3494 12.255 7.74994 12.5983 8.26384C12.9417 8.77775 13.125 9.38193 13.125 10C13.125 10.8288 12.7958 11.6237 12.2097 12.2097C11.6236 12.7958 10.8288 13.125 9.99999 13.125Z" })
1656
1659
  );
1657
1660
  const IconUpload = createIcon(
1658
1661
  "IconUpload",
@@ -1722,7 +1725,8 @@ const IconSidebar = createIcon(
1722
1725
  strokeLinejoin: "round",
1723
1726
  strokeWidth: "1.5"
1724
1727
  }
1725
- )
1728
+ ),
1729
+ { "data-rtl-mirror": "" }
1726
1730
  );
1727
1731
  const IconSearch = createIcon(
1728
1732
  "IconSearch",
@@ -1736,7 +1740,8 @@ const IconSearch = createIcon(
1736
1740
  strokeLinejoin: "round",
1737
1741
  strokeWidth: "1.5"
1738
1742
  }
1739
- )
1743
+ ),
1744
+ { "data-rtl-mirror": "" }
1740
1745
  );
1741
1746
  const IconLocation = createIcon(
1742
1747
  "IconLocation",
@@ -1791,7 +1796,8 @@ const IconMute = createIcon(
1791
1796
  strokeLinejoin: "round",
1792
1797
  strokeWidth: "1.5"
1793
1798
  }
1794
- )
1799
+ ),
1800
+ { "data-rtl-mirror": "" }
1795
1801
  );
1796
1802
  const IconSend = createIcon(
1797
1803
  "IconSend",
@@ -1805,7 +1811,8 @@ const IconSend = createIcon(
1805
1811
  strokeLinejoin: "round",
1806
1812
  strokeWidth: "1.5"
1807
1813
  }
1808
- )
1814
+ ),
1815
+ { "data-rtl-mirror": "" }
1809
1816
  );
1810
1817
  const IconAttachment = createIcon(
1811
1818
  "IconAttachment",
@@ -2039,14 +2046,16 @@ const IconVideo = createIcon(
2039
2046
  }
2040
2047
  ) }),
2041
2048
  /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_14111_491476", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { fill: "white", height: "20", width: "20" }) }) })
2042
- ] })
2049
+ ] }),
2050
+ { "data-rtl-mirror": "" }
2043
2051
  );
2044
2052
  const IconVideoFill = createIcon(
2045
2053
  "IconVideoFill",
2046
2054
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2047
2055
  /* @__PURE__ */ jsxRuntime.jsx("g", { clipPath: "url(#clip0_14064_467281)", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M15 5.625V14.375C15 14.7065 14.8683 15.0245 14.6339 15.2589C14.3995 15.4933 14.0815 15.625 13.75 15.625H2.5C2.16848 15.625 1.85054 15.4933 1.61612 15.2589C1.3817 15.0245 1.25 14.7065 1.25 14.375V5.625C1.25 5.29348 1.3817 4.97554 1.61612 4.74112C1.85054 4.5067 2.16848 4.375 2.5 4.375H13.75C14.0815 4.375 14.3995 4.5067 14.6339 4.74112C14.8683 4.97554 15 5.29348 15 5.625ZM19.5312 5.64453C19.4431 5.62295 19.3513 5.62029 19.2621 5.63672C19.1728 5.65315 19.088 5.68829 19.0133 5.73984L16.3891 7.48906C16.3463 7.51762 16.3112 7.55631 16.2869 7.6017C16.2626 7.64708 16.25 7.69776 16.25 7.74922V12.2508C16.25 12.3022 16.2626 12.3529 16.2869 12.3983C16.3112 12.4437 16.3463 12.4824 16.3891 12.5109L19.0281 14.2703C19.1269 14.3362 19.2424 14.3726 19.3611 14.3752C19.4798 14.3779 19.5968 14.3466 19.6984 14.2852C19.7924 14.2254 19.8695 14.1425 19.9223 14.0444C19.9751 13.9464 20.0019 13.8364 20 13.725V6.25C20.0001 6.11139 19.9541 5.97668 19.8692 5.86708C19.7843 5.75747 19.6655 5.67918 19.5312 5.64453Z" }) }),
2048
2056
  /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_14064_467281", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { fill: "white", height: "20", width: "20" }) }) })
2049
- ] })
2057
+ ] }),
2058
+ { "data-rtl-mirror": "" }
2050
2059
  );
2051
2060
  const IconAudio = createIcon(
2052
2061
  "IconAudio",
@@ -2060,7 +2069,8 @@ const IconAudio = createIcon(
2060
2069
  strokeLinejoin: "round",
2061
2070
  strokeWidth: "1.5"
2062
2071
  }
2063
- )
2072
+ ),
2073
+ { "data-rtl-mirror": "" }
2064
2074
  );
2065
2075
  const IconArchive = createIcon(
2066
2076
  "IconArchive",
@@ -2109,28 +2119,28 @@ const IconGiphy = createIcon(
2109
2119
  "path",
2110
2120
  {
2111
2121
  clipRule: "evenodd",
2112
- d: "M6.5997 5.50012H13.4008V14.4998H6.59912L6.5997 5.50012Z",
2122
+ d: "M6.5997 5.50024H13.4008V14.4999H6.59912L6.5997 5.50024Z",
2113
2123
  fill: "black",
2114
2124
  fillRule: "evenodd"
2115
2125
  }
2116
2126
  ),
2117
2127
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5.24023 5.1665H6.59998V14.8335H5.24023V5.1665Z", fill: "#04FF8E" }),
2118
2128
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M13.4004 7.8335H14.7601V14.8335H13.4004V7.8335Z", fill: "#8E2EFF" }),
2119
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5.24023 14.4999H14.7602V15.8334H5.24023V14.4999Z", fill: "#00C5FF" }),
2120
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5.24023 4.16663H10.6804V5.50013H5.24023V4.16663Z", fill: "#FFF152" }),
2129
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5.24023 14.4998H14.7602V15.8333H5.24023V14.4998Z", fill: "#00C5FF" }),
2130
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5.24023 4.16675H10.6804V5.50025H5.24023V4.16675Z", fill: "#FFF152" }),
2121
2131
  /* @__PURE__ */ jsxRuntime.jsx(
2122
2132
  "path",
2123
2133
  {
2124
- d: "M13.4003 6.83304V5.50013H12.0399V4.16663H10.6802V8.16654H14.76V6.83304",
2134
+ d: "M13.4003 6.83316V5.50025H12.0399V4.16675H10.6802V8.16666H14.76V6.83316",
2125
2135
  fill: "#FF5B5B"
2126
2136
  }
2127
2137
  ),
2128
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M13.4004 9.50013V8.16663H14.7601", fill: "#551C99" }),
2138
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M13.4004 9.5V8.1665H14.7601", fill: "#551C99" }),
2129
2139
  /* @__PURE__ */ jsxRuntime.jsx(
2130
2140
  "path",
2131
2141
  {
2132
2142
  clipRule: "evenodd",
2133
- d: "M10.6802 4.16663V5.50013H9.31982",
2143
+ d: "M10.6802 4.16675V5.50025H9.31982",
2134
2144
  fill: "#999131",
2135
2145
  fillRule: "evenodd"
2136
2146
  }
@@ -4489,15 +4499,14 @@ exports.IconChevronRight = IconChevronRight;
4489
4499
  exports.IconClock = IconClock;
4490
4500
  exports.IconCommand = IconCommand;
4491
4501
  exports.IconCopy = IconCopy;
4492
- exports.IconCrossSmall = IconCrossSmall;
4493
4502
  exports.IconDelete = IconDelete;
4494
4503
  exports.IconEdit = IconEdit;
4495
4504
  exports.IconEmoji = IconEmoji;
4496
4505
  exports.IconExclamationCircleFill = IconExclamationCircleFill;
4497
4506
  exports.IconExclamationMark = IconExclamationMark;
4498
4507
  exports.IconExclamationMarkFill = IconExclamationMarkFill;
4499
- exports.IconExclamationTriangle = IconExclamationTriangle;
4500
- exports.IconEyeOpen = IconEyeOpen;
4508
+ exports.IconExclamationTriangleFill = IconExclamationTriangleFill;
4509
+ exports.IconEyeFill = IconEyeFill;
4501
4510
  exports.IconFile = IconFile;
4502
4511
  exports.IconFlag = IconFlag;
4503
4512
  exports.IconGiphy = IconGiphy;
@@ -4545,6 +4554,7 @@ exports.IconVideoFill = IconVideoFill;
4545
4554
  exports.IconVoice = IconVoice;
4546
4555
  exports.IconXCircle = IconXCircle;
4547
4556
  exports.IconXmark = IconXmark;
4557
+ exports.IconXmarkSmall = IconXmarkSmall;
4548
4558
  exports.LegacyThreadContext = LegacyThreadContext;
4549
4559
  exports.LoadingChannel = LoadingChannel;
4550
4560
  exports.LoadingErrorIndicator = LoadingErrorIndicator;
@@ -4635,4 +4645,4 @@ exports.useThreadsViewContext = useThreadsViewContext;
4635
4645
  exports.useTranslationContext = useTranslationContext;
4636
4646
  exports.useTypingContext = useTypingContext;
4637
4647
  exports.validateAndGetMessage = validateAndGetMessage;
4638
- //# sourceMappingURL=WithAudioPlayback.0c10cb67.js.map
4648
+ //# sourceMappingURL=WithAudioPlayback.f9abf707.js.map