stream-chat-react 13.2.3 → 13.4.0

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 (97) hide show
  1. package/dist/components/Attachment/Attachment.d.ts +5 -3
  2. package/dist/components/Attachment/Attachment.js +12 -5
  3. package/dist/components/Attachment/AttachmentContainer.d.ts +4 -3
  4. package/dist/components/Attachment/AttachmentContainer.js +5 -1
  5. package/dist/components/Attachment/Geolocation.d.ts +13 -0
  6. package/dist/components/Attachment/Geolocation.js +34 -0
  7. package/dist/components/Attachment/icons.d.ts +2 -0
  8. package/dist/components/Attachment/icons.js +5 -0
  9. package/dist/components/Attachment/index.d.ts +3 -1
  10. package/dist/components/Attachment/index.js +3 -1
  11. package/dist/components/Attachment/utils.d.ts +4 -1
  12. package/dist/components/Channel/Channel.d.ts +1 -1
  13. package/dist/components/Channel/Channel.js +2 -0
  14. package/dist/components/ChannelPreview/utils.js +3 -0
  15. package/dist/components/Chat/hooks/useChat.js +1 -1
  16. package/dist/components/Dialog/DialogAnchor.d.ts +3 -2
  17. package/dist/components/Dialog/DialogAnchor.js +7 -2
  18. package/dist/components/Form/Dropdown.d.ts +14 -0
  19. package/dist/components/Form/Dropdown.js +49 -0
  20. package/dist/components/Form/SwitchField.js +3 -1
  21. package/dist/components/Location/ShareLocationDialog.d.ts +18 -0
  22. package/dist/components/Location/ShareLocationDialog.js +139 -0
  23. package/dist/components/Location/hooks/useLiveLocationSharingManager.d.ts +18 -0
  24. package/dist/components/Location/hooks/useLiveLocationSharingManager.js +57 -0
  25. package/dist/components/Location/index.d.ts +1 -0
  26. package/dist/components/Location/index.js +1 -0
  27. package/dist/components/Message/MessageSimple.js +6 -1
  28. package/dist/components/Message/index.d.ts +3 -1
  29. package/dist/components/Message/index.js +3 -1
  30. package/dist/components/Message/renderText/renderText.d.ts +1 -1
  31. package/dist/components/Message/renderText/renderText.js +1 -1
  32. package/dist/components/MessageInput/AttachmentPreviewList/AttachmentPreviewList.d.ts +3 -1
  33. package/dist/components/MessageInput/AttachmentPreviewList/AttachmentPreviewList.js +35 -26
  34. package/dist/components/MessageInput/AttachmentPreviewList/GeolocationPreview.d.ts +13 -0
  35. package/dist/components/MessageInput/AttachmentPreviewList/GeolocationPreview.js +25 -0
  36. package/dist/components/MessageInput/AttachmentPreviewList/index.d.ts +1 -0
  37. package/dist/components/MessageInput/AttachmentSelector.d.ts +2 -1
  38. package/dist/components/MessageInput/AttachmentSelector.js +34 -12
  39. package/dist/components/MessageInput/MessageInput.d.ts +3 -1
  40. package/dist/components/MessageInput/MessageInput.js +7 -3
  41. package/dist/components/MessageInput/hooks/index.d.ts +1 -0
  42. package/dist/components/MessageInput/hooks/index.js +1 -0
  43. package/dist/components/MessageInput/hooks/useAttachmentsForPreview.d.ts +17 -0
  44. package/dist/components/MessageInput/hooks/useAttachmentsForPreview.js +22 -0
  45. package/dist/components/MessageInput/index.d.ts +1 -1
  46. package/dist/components/Modal/Modal.d.ts +8 -3
  47. package/dist/components/Modal/Modal.js +19 -8
  48. package/dist/components/Poll/PollActions/AddCommentForm.js +8 -0
  49. package/dist/components/Poll/PollActions/SuggestPollOptionForm.js +6 -3
  50. package/dist/components/Poll/PollCreationDialog/PollCreationDialogControls.js +4 -1
  51. package/dist/components/TextareaComposer/SuggestionList/SuggestionListItem.js +4 -1
  52. package/dist/components/index.d.ts +2 -1
  53. package/dist/components/index.js +2 -0
  54. package/dist/context/ComponentContext.d.ts +3 -0
  55. package/dist/css/v2/index.css +1 -1
  56. package/dist/css/v2/index.layout.css +1 -1
  57. package/dist/experimental/index.browser.cjs +11 -0
  58. package/dist/experimental/index.browser.cjs.map +2 -2
  59. package/dist/experimental/index.node.cjs +11 -0
  60. package/dist/experimental/index.node.cjs.map +2 -2
  61. package/dist/i18n/Streami18n.d.ts +21 -0
  62. package/dist/i18n/TranslationBuilder/notifications/NotificationTranslationTopic.js +2 -0
  63. package/dist/i18n/TranslationBuilder/notifications/pollVoteCountTrespass.d.ts +3 -0
  64. package/dist/i18n/TranslationBuilder/notifications/pollVoteCountTrespass.js +1 -0
  65. package/dist/i18n/de.json +22 -1
  66. package/dist/i18n/en.json +22 -1
  67. package/dist/i18n/es.json +22 -1
  68. package/dist/i18n/fr.json +22 -1
  69. package/dist/i18n/hi.json +22 -1
  70. package/dist/i18n/it.json +22 -1
  71. package/dist/i18n/ja.json +22 -1
  72. package/dist/i18n/ko.json +22 -1
  73. package/dist/i18n/nl.json +22 -1
  74. package/dist/i18n/pt.json +22 -1
  75. package/dist/i18n/ru.json +22 -1
  76. package/dist/i18n/tr.json +22 -1
  77. package/dist/index.browser.cjs +2610 -1727
  78. package/dist/index.browser.cjs.map +4 -4
  79. package/dist/index.node.cjs +2622 -1727
  80. package/dist/index.node.cjs.map +4 -4
  81. package/dist/scss/v2/AttachmentList/AttachmentList-layout.scss +50 -0
  82. package/dist/scss/v2/AttachmentList/AttachmentList-theme.scss +56 -0
  83. package/dist/scss/v2/AttachmentPreviewList/AttachmentPreviewList-layout.scss +3 -0
  84. package/dist/scss/v2/AttachmentPreviewList/AttachmentPreviewList-theme.scss +11 -0
  85. package/dist/scss/v2/Dialog/Dialog-layout.scss +1 -2
  86. package/dist/scss/v2/Form/Form-layout.scss +40 -0
  87. package/dist/scss/v2/Form/Form-theme.scss +62 -0
  88. package/dist/scss/v2/Location/Location-layout.scss +52 -0
  89. package/dist/scss/v2/Location/Location-theme.scss +32 -0
  90. package/dist/scss/v2/MessageInput/MessageInput-theme.scss +7 -0
  91. package/dist/scss/v2/Modal/Modal-layout.scss +2 -0
  92. package/dist/scss/v2/Poll/Poll-layout.scss +0 -35
  93. package/dist/scss/v2/Poll/Poll-theme.scss +0 -28
  94. package/dist/scss/v2/_icons.scss +1 -0
  95. package/dist/scss/v2/index.layout.scss +1 -0
  96. package/dist/scss/v2/index.scss +1 -0
  97. package/package.json +6 -6
package/dist/i18n/tr.json CHANGED
@@ -14,6 +14,7 @@
14
14
  "Anonymous poll": "Anonim anket",
15
15
  "Archive": "Arşivle",
16
16
  "Ask a question": "Bir soru sor",
17
+ "Attach": "Ekle",
17
18
  "Attach files": "Dosya ekle",
18
19
  "Attachment upload blocked due to {{reason}}": "{{reason}} nedeniyle ek yükleme engellendi",
19
20
  "Attachment upload failed due to {{reason}}": "{{reason}} nedeniyle ek yükleme başarısız oldu",
@@ -26,6 +27,7 @@
26
27
  "Connection failure, reconnecting now...": "Bağlantı hatası, tekrar bağlanılıyor...",
27
28
  "Create": "Oluştur",
28
29
  "Create poll": "Anket oluştur",
30
+ "Current location": "Mevcut konum",
29
31
  "Delete": "Sil",
30
32
  "Delivered": "İletildi",
31
33
  "Download attachment {{ name }}": "Ek {{ name }}'i indir",
@@ -61,12 +63,19 @@
61
63
  "Failed to jump to the first unread message": "İlk okunmamış mesaja atlamada hata oluştu",
62
64
  "Failed to mark channel as read": "Kanalı okundu olarak işaretleme başarısız oldu",
63
65
  "Failed to play the recording": "Kayıt oynatılamadı",
66
+ "Failed to retrieve location": "Konum alınamadı",
67
+ "Failed to share location": "Konum paylaşılamadı",
64
68
  "File": "Dosya",
65
69
  "File is too large: {{ size }}, maximum upload size is {{ limit }}": "Dosya çok büyük: {{ size }}, maksimum yükleme boyutu {{ limit }}",
66
70
  "Flag": "Bayrak",
67
71
  "Generating...": "Oluşturuluyor...",
68
72
  "Latest Messages": "Son Mesajlar",
73
+ "Live for {{duration}}": "{{duration}} boyunca canlı",
74
+ "Live location": "Canlı konum",
75
+ "Live until {{ timestamp }}": "{{ timestamp }}'e kadar canlı",
69
76
  "Load more": "Daha fazla yükle",
77
+ "Location": "Konum",
78
+ "Location sharing ended": "Konum paylaşımı sona erdi",
70
79
  "Mark as unread": "Okunmamış olarak işaretle",
71
80
  "Maximum number of votes (from 2 to 10)": "Maksimum oy sayısı (2 ile 10 arası)",
72
81
  "Menu": "Menü",
@@ -100,6 +109,7 @@
100
109
  "Poll results": "Anket sonuçları",
101
110
  "Question": "Soru",
102
111
  "Quote": "Alıntı",
112
+ "Reached the vote limit. Remove an existing vote first.": "Oylama sınırına ulaşıldı. Önce mevcut bir oyu kaldırın.",
103
113
  "Recording format is not supported and cannot be reproduced": "Kayıt formatı desteklenmiyor ve çoğaltılamıyor",
104
114
  "Remind Me": "Hatırlat",
105
115
  "Remove reminder": "Hatırlatıcıyı kaldır",
@@ -119,14 +129,20 @@
119
129
  "Send Anyway": "Yine de gönder",
120
130
  "Send message request failed": "Mesaj gönderme isteği başarısız oldu",
121
131
  "Sending...": "Gönderiliyor...",
132
+ "Share": "Paylaş",
133
+ "Share Location": "Konum Paylaş",
134
+ "Share live location for": "Canlı konum paylaş",
135
+ "Shared live location": "Paylaşılan canlı konum",
122
136
  "Show all": "Tümünü göster",
123
137
  "Shuffle": "Karıştır",
124
138
  "Slow Mode ON": "Yavaş Mod Açık",
125
139
  "Some of the files will not be accepted": "Bazı dosyalar kabul edilmeyecek",
126
140
  "Start typing to search": "Aramak için yazmaya başlayın",
141
+ "Stop sharing": "Paylaşımı durdur",
127
142
  "Submit": "Gönder",
128
143
  "Suggest an option": "Bir seçenek önerin",
129
144
  "Thinking...": "Düşünüyor...",
145
+ "This field cannot be empty or contain only spaces": "Bu alan boş olamaz veya sadece boşluk içeremez",
130
146
  "This message did not meet our content guidelines": "Bu mesaj içerik yönergelerimize uygun değil",
131
147
  "This message was deleted...": "Bu mesaj silindi...",
132
148
  "Thread": "Konu",
@@ -168,12 +184,14 @@
168
184
  "aria/Menu": "Menü",
169
185
  "aria/Message Options": "Mesaj Seçenekleri",
170
186
  "aria/Open Attachment Selector": "Ek Seçiciyi Aç",
187
+ "aria/Open Menu": "Menüyü Aç",
171
188
  "aria/Open Message Actions Menu": "Mesaj İşlemleri Menüsünü Aç",
172
189
  "aria/Open Reaction Selector": "Tepki Seçiciyi Aç",
173
190
  "aria/Open Thread": "Konuyu Aç",
174
191
  "aria/Reaction list": "Tepki listesi",
175
192
  "aria/Remind Me Options": "Hatırlatma seçenekleri",
176
193
  "aria/Remove attachment": "Eki kaldır",
194
+ "aria/Remove location attachment": "Konum ekini kaldır",
177
195
  "aria/Retry upload": "Yüklemeyi Tekrar Dene",
178
196
  "aria/Search results": "Arama sonuçları",
179
197
  "aria/Search results header filter button": "Arama sonuçları başlık filtre düğmesi",
@@ -183,6 +201,7 @@
183
201
  "ban-command-description": "Bir kullanıcıyı yasakla",
184
202
  "duration/Message reminder": "{{ milliseconds | durationFormatter(withSuffix: true) }}",
185
203
  "duration/Remind Me": "{{ milliseconds | durationFormatter(withSuffix: true) }}",
204
+ "duration/Share Location": "{{ milliseconds | durationFormatter }}",
186
205
  "giphy-command-args": "[metin]",
187
206
  "giphy-command-description": "Rastgele bir gif'i kanala gönder",
188
207
  "live": "canlı",
@@ -199,6 +218,7 @@
199
218
  "size limit": "boyut sınırı",
200
219
  "this content could not be displayed": "bu içerik gösterilemiyor",
201
220
  "timestamp/DateSeparator": "{{ timestamp | timestampFormatter(calendar: true) }}",
221
+ "timestamp/LiveLocation": "{{ timestamp | timestampFormatter(calendar: true) }}",
202
222
  "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true) }}",
203
223
  "timestamp/PollVote": "{{ timestamp | timestampFormatter(format: MMM D [at] HH:mm) }}",
204
224
  "timestamp/PollVoteTooltip": "{{ timestamp | timestampFormatter(calendar: true) }}",
@@ -230,5 +250,6 @@
230
250
  "{{count}} votes_other": "{{count}} oy",
231
251
  "🏙 Attachment...": "🏙 Ek...",
232
252
  "📊 {{createdBy}} created: {{ pollName}}": "📊 {{createdBy}} oluşturdu: {{ pollName}}",
233
- "📊 {{votedBy}} voted: {{pollOptionText}}": "📊 {{votedBy}} oy verdi: {{pollOptionText}}"
253
+ "📊 {{votedBy}} voted: {{pollOptionText}}": "📊 {{votedBy}} oy verdi: {{pollOptionText}}",
254
+ "📍Shared location": "📍Paylaşılan konum"
234
255
  }