stream-chat-react-native-core 9.2.0-beta.1 → 9.2.0-beta.2
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/lib/commonjs/a11y/hooks/useA11yLabel.js +4 -3
- package/lib/commonjs/a11y/hooks/useA11yLabel.js.map +1 -1
- package/lib/commonjs/a11y/hooks/useAccessibilityActivateAction.js +25 -0
- package/lib/commonjs/a11y/hooks/useAccessibilityActivateAction.js.map +1 -0
- package/lib/commonjs/a11y/index.js +11 -0
- package/lib/commonjs/a11y/index.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +20 -0
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js +1 -0
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +19 -2
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerContent.js +2 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerContent.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentTypePickerButton.js +9 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentTypePickerButton.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +2 -2
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js +16 -4
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js +3 -0
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +5 -0
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/InputButtons/AttachButton.js +12 -3
- package/lib/commonjs/components/MessageInput/components/InputButtons/AttachButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/OutputButtons/EditButton.js +1 -0
- package/lib/commonjs/components/MessageInput/components/OutputButtons/EditButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/OutputButtons/SendButton.js +1 -0
- package/lib/commonjs/components/MessageInput/components/OutputButtons/SendButton.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageFlashList.js +19 -2
- package/lib/commonjs/components/MessageList/MessageFlashList.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +19 -2
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/components/MessageList/ScrollToBottomButton.js +12 -6
- package/lib/commonjs/components/MessageList/ScrollToBottomButton.js.map +1 -1
- package/lib/commonjs/components/MessageList/UnreadMessagesNotification.js +1 -0
- package/lib/commonjs/components/MessageList/UnreadMessagesNotification.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js +47 -0
- package/lib/commonjs/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js.map +1 -0
- package/lib/commonjs/components/MessageMenu/MessageActionListItem.js +12 -4
- package/lib/commonjs/components/MessageMenu/MessageActionListItem.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js +1 -0
- package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/ReactionButton.js +9 -6
- package/lib/commonjs/components/MessageMenu/ReactionButton.js.map +1 -1
- package/lib/commonjs/components/Poll/components/CreatePollHeader.js +2 -0
- package/lib/commonjs/components/Poll/components/CreatePollHeader.js.map +1 -1
- package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js +2 -0
- package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollModalHeader.js +1 -0
- package/lib/commonjs/components/Poll/components/PollModalHeader.js.map +1 -1
- package/lib/commonjs/components/Reply/Reply.js +1 -0
- package/lib/commonjs/components/Reply/Reply.js.map +1 -1
- package/lib/commonjs/components/ui/Avatar/Avatar.js +6 -3
- package/lib/commonjs/components/ui/Avatar/Avatar.js.map +1 -1
- package/lib/commonjs/components/ui/Button/Button.js +16 -3
- package/lib/commonjs/components/ui/Button/Button.js.map +1 -1
- package/lib/commonjs/contexts/accessibilityContext/AccessibilityContext.js +21 -1
- package/lib/commonjs/contexts/accessibilityContext/AccessibilityContext.js.map +1 -1
- package/lib/commonjs/i18n/en.json +35 -1
- package/lib/commonjs/i18n/es.json +35 -1
- package/lib/commonjs/i18n/fr.json +35 -1
- package/lib/commonjs/i18n/he.json +35 -1
- package/lib/commonjs/i18n/hi.json +35 -1
- package/lib/commonjs/i18n/it.json +35 -1
- package/lib/commonjs/i18n/ja.json +35 -1
- package/lib/commonjs/i18n/ko.json +35 -1
- package/lib/commonjs/i18n/nl.json +35 -1
- package/lib/commonjs/i18n/pt-br.json +35 -1
- package/lib/commonjs/i18n/ru.json +35 -1
- package/lib/commonjs/i18n/tr.json +35 -1
- package/lib/commonjs/mock-builders/DB/mock.js +3 -1
- package/lib/commonjs/mock-builders/DB/mock.js.map +1 -1
- package/lib/commonjs/test-utils/BetterSqlite.js +3 -2
- package/lib/commonjs/test-utils/BetterSqlite.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/a11y/hooks/useA11yLabel.js +4 -3
- package/lib/module/a11y/hooks/useA11yLabel.js.map +1 -1
- package/lib/module/a11y/hooks/useAccessibilityActivateAction.js +25 -0
- package/lib/module/a11y/hooks/useAccessibilityActivateAction.js.map +1 -0
- package/lib/module/a11y/index.js +11 -0
- package/lib/module/a11y/index.js.map +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js +20 -0
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js +1 -0
- package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +19 -2
- package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerContent.js +2 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerContent.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentTypePickerButton.js +9 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentTypePickerButton.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +2 -2
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
- package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js +16 -4
- package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js +3 -0
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +5 -0
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/InputButtons/AttachButton.js +12 -3
- package/lib/module/components/MessageInput/components/InputButtons/AttachButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/OutputButtons/EditButton.js +1 -0
- package/lib/module/components/MessageInput/components/OutputButtons/EditButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/OutputButtons/SendButton.js +1 -0
- package/lib/module/components/MessageInput/components/OutputButtons/SendButton.js.map +1 -1
- package/lib/module/components/MessageList/MessageFlashList.js +19 -2
- package/lib/module/components/MessageList/MessageFlashList.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js +19 -2
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/components/MessageList/ScrollToBottomButton.js +12 -6
- package/lib/module/components/MessageList/ScrollToBottomButton.js.map +1 -1
- package/lib/module/components/MessageList/UnreadMessagesNotification.js +1 -0
- package/lib/module/components/MessageList/UnreadMessagesNotification.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js +47 -0
- package/lib/module/components/MessageList/hooks/useScrollToBottomAccessibilityAction.js.map +1 -0
- package/lib/module/components/MessageMenu/MessageActionListItem.js +12 -4
- package/lib/module/components/MessageMenu/MessageActionListItem.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageReactionPicker.js +1 -0
- package/lib/module/components/MessageMenu/MessageReactionPicker.js.map +1 -1
- package/lib/module/components/MessageMenu/ReactionButton.js +9 -6
- package/lib/module/components/MessageMenu/ReactionButton.js.map +1 -1
- package/lib/module/components/Poll/components/CreatePollHeader.js +2 -0
- package/lib/module/components/Poll/components/CreatePollHeader.js.map +1 -1
- package/lib/module/components/Poll/components/MultipleVotesSettings.js +2 -0
- package/lib/module/components/Poll/components/MultipleVotesSettings.js.map +1 -1
- package/lib/module/components/Poll/components/PollModalHeader.js +1 -0
- package/lib/module/components/Poll/components/PollModalHeader.js.map +1 -1
- package/lib/module/components/Reply/Reply.js +1 -0
- package/lib/module/components/Reply/Reply.js.map +1 -1
- package/lib/module/components/ui/Avatar/Avatar.js +6 -3
- package/lib/module/components/ui/Avatar/Avatar.js.map +1 -1
- package/lib/module/components/ui/Button/Button.js +16 -3
- package/lib/module/components/ui/Button/Button.js.map +1 -1
- package/lib/module/contexts/accessibilityContext/AccessibilityContext.js +21 -1
- package/lib/module/contexts/accessibilityContext/AccessibilityContext.js.map +1 -1
- package/lib/module/i18n/en.json +35 -1
- package/lib/module/i18n/es.json +35 -1
- package/lib/module/i18n/fr.json +35 -1
- package/lib/module/i18n/he.json +35 -1
- package/lib/module/i18n/hi.json +35 -1
- package/lib/module/i18n/it.json +35 -1
- package/lib/module/i18n/ja.json +35 -1
- package/lib/module/i18n/ko.json +35 -1
- package/lib/module/i18n/nl.json +35 -1
- package/lib/module/i18n/pt-br.json +35 -1
- package/lib/module/i18n/ru.json +35 -1
- package/lib/module/i18n/tr.json +35 -1
- package/lib/module/mock-builders/DB/mock.js +3 -1
- package/lib/module/mock-builders/DB/mock.js.map +1 -1
- package/lib/module/test-utils/BetterSqlite.js +3 -2
- package/lib/module/test-utils/BetterSqlite.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/a11y/a11yUtils.d.ts +3 -3
- package/lib/typescript/a11y/a11yUtils.d.ts.map +1 -1
- package/lib/typescript/a11y/hooks/useA11yLabel.d.ts +2 -1
- package/lib/typescript/a11y/hooks/useA11yLabel.d.ts.map +1 -1
- package/lib/typescript/a11y/hooks/useAccessibilityActivateAction.d.ts +17 -0
- package/lib/typescript/a11y/hooks/useAccessibilityActivateAction.d.ts.map +1 -0
- package/lib/typescript/a11y/index.d.ts +1 -0
- package/lib/typescript/a11y/index.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerContent.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentTypePickerButton.d.ts +2 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentTypePickerButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.d.ts +5 -2
- package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/InputButtons/AttachButton.d.ts +1 -0
- package/lib/typescript/components/MessageInput/components/InputButtons/AttachButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/OutputButtons/EditButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/OutputButtons/SendButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/MessageFlashList.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts +2 -0
- package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/UnreadMessagesNotification.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/hooks/useScrollToBottomAccessibilityAction.d.ts +20 -0
- package/lib/typescript/components/MessageList/hooks/useScrollToBottomAccessibilityAction.d.ts.map +1 -0
- package/lib/typescript/components/MessageMenu/MessageActionListItem.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/ReactionButton.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/CreatePollHeader.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/MultipleVotesSettings.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/PollModalHeader.d.ts.map +1 -1
- package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
- package/lib/typescript/components/ui/Avatar/Avatar.d.ts.map +1 -1
- package/lib/typescript/components/ui/Button/Button.d.ts +10 -1
- package/lib/typescript/components/ui/Button/Button.d.ts.map +1 -1
- package/lib/typescript/contexts/accessibilityContext/AccessibilityContext.d.ts +1 -1
- package/lib/typescript/contexts/accessibilityContext/AccessibilityContext.d.ts.map +1 -1
- package/lib/typescript/i18n/en.json +35 -1
- package/lib/typescript/i18n/es.json +35 -1
- package/lib/typescript/i18n/fr.json +35 -1
- package/lib/typescript/i18n/he.json +35 -1
- package/lib/typescript/i18n/hi.json +35 -1
- package/lib/typescript/i18n/it.json +35 -1
- package/lib/typescript/i18n/ja.json +35 -1
- package/lib/typescript/i18n/ko.json +35 -1
- package/lib/typescript/i18n/nl.json +35 -1
- package/lib/typescript/i18n/pt-br.json +35 -1
- package/lib/typescript/i18n/ru.json +35 -1
- package/lib/typescript/i18n/tr.json +35 -1
- package/lib/typescript/test-utils/BetterSqlite.d.ts.map +1 -1
- package/lib/typescript/utils/i18n/Streami18n.d.ts +34 -0
- package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/offline-support/offline-feature.tsx +40 -34
- package/src/a11y/a11yUtils.ts +2 -2
- package/src/a11y/hooks/useA11yLabel.ts +7 -4
- package/src/a11y/hooks/useAccessibilityActivateAction.ts +44 -0
- package/src/a11y/index.ts +1 -0
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +23 -1
- package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.tsx +1 -0
- package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx +15 -2
- package/src/components/AttachmentPicker/components/AttachmentPickerContent.tsx +1 -0
- package/src/components/AttachmentPicker/components/AttachmentTypePickerButton.tsx +9 -0
- package/src/components/ChannelList/__tests__/ChannelListView.test.tsx +16 -5
- package/src/components/ImageGallery/__tests__/ImageGalleryFooter.test.tsx +9 -3
- package/src/components/ImageGallery/__tests__/ImageGalleryHeader.test.tsx +4 -1
- package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +2 -2
- package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +1 -1
- package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +1 -1
- package/src/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.tsx +18 -2
- package/src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx +3 -0
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx +8 -1
- package/src/components/MessageInput/components/InputButtons/AttachButton.tsx +13 -3
- package/src/components/MessageInput/components/OutputButtons/EditButton.tsx +1 -0
- package/src/components/MessageInput/components/OutputButtons/SendButton.tsx +1 -0
- package/src/components/MessageList/MessageFlashList.tsx +23 -2
- package/src/components/MessageList/MessageList.tsx +23 -2
- package/src/components/MessageList/ScrollToBottomButton.tsx +18 -6
- package/src/components/MessageList/UnreadMessagesNotification.tsx +1 -0
- package/src/components/MessageList/__tests__/MessageList.test.tsx +186 -0
- package/src/components/MessageList/__tests__/ScrollToBottomButton.test.tsx +2 -2
- package/src/components/MessageList/__tests__/__snapshots__/ScrollToBottomButton.test.tsx.snap +2 -0
- package/src/components/MessageList/hooks/useScrollToBottomAccessibilityAction.ts +74 -0
- package/src/components/MessageMenu/MessageActionListItem.tsx +10 -4
- package/src/components/MessageMenu/MessageReactionPicker.tsx +1 -0
- package/src/components/MessageMenu/ReactionButton.tsx +7 -9
- package/src/components/MessageMenu/__tests__/MessageReactionPicker.test.tsx +13 -15
- package/src/components/MessageMenu/__tests__/MessageUserReactions.test.tsx +20 -18
- package/src/components/MessageMenu/__tests__/ReactionButton.test.tsx +18 -5
- package/src/components/Poll/components/CreatePollHeader.tsx +2 -0
- package/src/components/Poll/components/MultipleVotesSettings.tsx +2 -0
- package/src/components/Poll/components/PollModalHeader.tsx +1 -0
- package/src/components/Reply/Reply.tsx +4 -1
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.tsx.snap +3 -0
- package/src/components/ui/Avatar/Avatar.tsx +2 -1
- package/src/components/ui/Button/Button.tsx +26 -0
- package/src/components/ui/Button/__tests__/Button.test.tsx +44 -0
- package/src/contexts/accessibilityContext/AccessibilityContext.tsx +35 -1
- package/src/i18n/en.json +35 -1
- package/src/i18n/es.json +35 -1
- package/src/i18n/fr.json +35 -1
- package/src/i18n/he.json +35 -1
- package/src/i18n/hi.json +35 -1
- package/src/i18n/it.json +35 -1
- package/src/i18n/ja.json +35 -1
- package/src/i18n/ko.json +35 -1
- package/src/i18n/nl.json +35 -1
- package/src/i18n/pt-br.json +35 -1
- package/src/i18n/ru.json +35 -1
- package/src/i18n/tr.json +35 -1
- package/src/mock-builders/DB/mock.ts +2 -1
- package/src/test-utils/BetterSqlite.ts +3 -1
- package/src/version.json +1 -1
|
@@ -8,14 +8,15 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
|
8
8
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
9
9
|
var _betterSqlite = _interopRequireDefault(require("better-sqlite3"));
|
|
10
10
|
var _schema = require("../store/schema");
|
|
11
|
-
var _BetterSqlite;
|
|
11
|
+
var _process$env$JEST_WOR, _BetterSqlite;
|
|
12
|
+
var testDbName = `foobar-${(_process$env$JEST_WOR = process.env.JEST_WORKER_ID) != null ? _process$env$JEST_WOR : '0'}.db`;
|
|
12
13
|
var BetterSqlite = exports.BetterSqlite = (0, _createClass2.default)(function BetterSqlite() {
|
|
13
14
|
(0, _classCallCheck2.default)(this, BetterSqlite);
|
|
14
15
|
});
|
|
15
16
|
_BetterSqlite = BetterSqlite;
|
|
16
17
|
BetterSqlite.db = null;
|
|
17
18
|
BetterSqlite.openDB = function () {
|
|
18
|
-
_BetterSqlite.db = new _betterSqlite.default(
|
|
19
|
+
_BetterSqlite.db = new _betterSqlite.default(testDbName);
|
|
19
20
|
};
|
|
20
21
|
BetterSqlite.closeDB = function () {
|
|
21
22
|
var _BetterSqlite$db;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_betterSqlite","_interopRequireDefault","require","_schema","_BetterSqlite","BetterSqlite","exports","_createClass2","default","_classCallCheck2","db","openDB","Database","closeDB","_BetterSqlite$db","close","getTables","_asyncToGenerator2","_BetterSqlite$db2","tablesInDb","pragma","dropAllTables","tableNames","Object","keys","tables","forEach","name","_BetterSqlite$db3","stmt","prepare","run","selectFromTable","_ref2","table","_BetterSqlite$db4","_stmt$all","result","all","_x","apply","arguments"],"sourceRoot":"../../../src","sources":["test-utils/BetterSqlite.ts"],"mappings":";;;;;;;;AAAA,IAAAA,aAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAD,OAAA;AAAyC,IAAAE,aAAA;
|
|
1
|
+
{"version":3,"names":["_betterSqlite","_interopRequireDefault","require","_schema","_process$env$JEST_WOR","_BetterSqlite","testDbName","process","env","JEST_WORKER_ID","BetterSqlite","exports","_createClass2","default","_classCallCheck2","db","openDB","Database","closeDB","_BetterSqlite$db","close","getTables","_asyncToGenerator2","_BetterSqlite$db2","tablesInDb","pragma","dropAllTables","tableNames","Object","keys","tables","forEach","name","_BetterSqlite$db3","stmt","prepare","run","selectFromTable","_ref2","table","_BetterSqlite$db4","_stmt$all","result","all","_x","apply","arguments"],"sourceRoot":"../../../src","sources":["test-utils/BetterSqlite.ts"],"mappings":";;;;;;;;AAAA,IAAAA,aAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAD,OAAA;AAAyC,IAAAE,qBAAA,EAAAC,aAAA;AAEzC,IAAMC,UAAU,GAAG,WAAAF,qBAAA,GAAUG,OAAO,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AA,EAAG,WACvB0B,KAAa,EACO;IAAA,IAAAC,iBAAA,EAAAC,SAAA;IACpB,IAAMP,IAAI,UAAAM,iBAAA,GAAS9B,aAAY,CAACK,EAAE,qBAAfyB,iBAAA,CAAiBL,OAAO,CAAC,iBAAiBI,KAAK,EAAE,CAAC;IACrE,IAAMG,MAAM,IAAAD,SAAA,GAAIP,IAAI,oBAAJA,IAAI,CAAES,GAAG,CAAC,CAAC,YAAAF,SAAA,GAAI,EAAa;IAE5C,OAAOC,MAAM;EACf,CAAC;EAAA,iBAAAE,EAAA;IAAA,OAAAN,KAAA,CAAAO,KAAA,OAAAC,SAAA;EAAA;AAAA","ignoreList":[]}
|
package/lib/module/version.json
CHANGED
|
@@ -22,10 +22,10 @@ export declare const formatAccessibilityValue: ({ max, min, now, text, }: {
|
|
|
22
22
|
/**
|
|
23
23
|
* Merge two `accessibilityActions` arrays, deduplicating by `name` (later wins).
|
|
24
24
|
*/
|
|
25
|
-
type A11yAction = {
|
|
25
|
+
type A11yAction = Readonly<{
|
|
26
26
|
name: string;
|
|
27
27
|
label?: string;
|
|
28
|
-
}
|
|
29
|
-
export declare const mergeAccessibilityActions: (...actionLists: Array<A11yAction
|
|
28
|
+
}>;
|
|
29
|
+
export declare const mergeAccessibilityActions: (...actionLists: Array<ReadonlyArray<A11yAction> | undefined>) => A11yAction[];
|
|
30
30
|
export {};
|
|
31
31
|
//# sourceMappingURL=a11yUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"a11yUtils.d.ts","sourceRoot":"","sources":["../../../src/a11y/a11yUtils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,GACpC,GAAG,OAAO,KAAK,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,KAAK,CAAC,KACjD,MAA4F,CAAC;AAEhG;;;GAGG;AACH,eAAO,MAAM,wBAAwB,GAAI,0BAKtC;IACD,GAAG,EAAE,MAAM,CAAC;IAC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disabled-state.
|
|
6
6
|
*
|
|
7
7
|
* Example:
|
|
8
|
-
* const
|
|
8
|
+
* const labelParams = useMemo(() => ({ name }), [name]);
|
|
9
|
+
* const label = useA11yLabel('a11y/Avatar of {{name}}', labelParams);
|
|
9
10
|
* <Image accessibilityLabel={label} />
|
|
10
11
|
*/
|
|
11
12
|
export declare const useA11yLabel: (key: string, params?: Record<string, unknown>) => string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useA11yLabel.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useA11yLabel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useA11yLabel.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useA11yLabel.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAG,MAAM,GAAG,SAKrF,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { AccessibilityProps } from 'react-native';
|
|
2
|
+
export type UseAccessibilityActivateActionProps<TPressEvent> = {
|
|
3
|
+
onPress?: ((event: TPressEvent) => void) | null;
|
|
4
|
+
shouldHandleActivate?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export type UseAccessibilityActivateActionResult = {
|
|
7
|
+
accessibilityActions?: AccessibilityProps['accessibilityActions'];
|
|
8
|
+
onAccessibilityAction?: AccessibilityProps['onAccessibilityAction'];
|
|
9
|
+
} | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Adds the standard screen-reader `activate` action for labeled pressables when
|
|
12
|
+
* SDK accessibility is enabled. Some Android pressable implementations don't
|
|
13
|
+
* reliably map TalkBack double-tap to `onPress`, so this bridges the generated
|
|
14
|
+
* accessibility action back to the existing press handler.
|
|
15
|
+
*/
|
|
16
|
+
export declare const useAccessibilityActivateAction: <TPressEvent>({ onPress, shouldHandleActivate, }: UseAccessibilityActivateActionProps<TPressEvent>) => UseAccessibilityActivateActionResult;
|
|
17
|
+
//# sourceMappingURL=useAccessibilityActivateAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAccessibilityActivateAction.d.ts","sourceRoot":"","sources":["../../../../src/a11y/hooks/useAccessibilityActivateAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4B,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAIjF,MAAM,MAAM,mCAAmC,CAAC,WAAW,IAAI;IAC7D,OAAO,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IAChD,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAC5C;IACE,oBAAoB,CAAC,EAAE,kBAAkB,CAAC,sBAAsB,CAAC,CAAC;IAClE,qBAAqB,CAAC,EAAE,kBAAkB,CAAC,uBAAuB,CAAC,CAAC;CACrE,GACD,SAAS,CAAC;AAMd;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,GAAI,WAAW,EAAE,oCAGzD,mCAAmC,CAAC,WAAW,CAAC,KAAG,oCAcrD,CAAC"}
|
|
@@ -4,4 +4,5 @@ export * from './hooks/useReducedMotionPreference';
|
|
|
4
4
|
export * from './hooks/useResolvedModalAccessibilityProps';
|
|
5
5
|
export * from './hooks/useAnnounceOnStateChange';
|
|
6
6
|
export * from './hooks/useA11yLabel';
|
|
7
|
+
export * from './hooks/useAccessibilityActivateAction';
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/a11y/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/a11y/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,wCAAwC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/AttachmentPicker/AttachmentPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AttachmentPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/AttachmentPicker/AttachmentPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAoCpE,eAAO,MAAM,gBAAgB;;;CAyJ5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentMediaPicker.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAapE,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,mCAAmC,CAAC;AAoB3C,eAAO,MAAM,yBAAyB,yBAMrC,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,4BAA4B,
|
|
1
|
+
{"version":3,"file":"AttachmentMediaPicker.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAapE,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,mCAAmC,CAAC;AAoB3C,eAAO,MAAM,yBAAyB,yBAMrC,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,4BAA4B,sBAuIxE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentPickerItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAgB,KAAK,oBAAoB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"AttachmentPickerItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAgB,KAAK,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAoLnE,eAAO,MAAM,0BAA0B,GAAI,UAAU;IAAE,IAAI,EAAE,oBAAoB,CAAA;CAAE,sBAiBlF,CAAC"}
|
package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerContent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentPickerContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/AttachmentPicker/components/AttachmentPickerContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAKjF,OAAO,EAAuB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAIrE,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,kCAAkC,CAAC;AAyC1C,eAAO,MAAM,iCAAiC,GAAI,UAAU;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,sBAgBtF,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,UAAU;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,sBAqBhF,CAAC;AAgCF,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"AttachmentPickerContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/AttachmentPicker/components/AttachmentPickerContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAKjF,OAAO,EAAuB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAIrE,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,kCAAkC,CAAC;AAyC1C,eAAO,MAAM,iCAAiC,GAAI,UAAU;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,sBAgBtF,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,UAAU;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,sBAqBhF,CAAC;AAgCF,eAAO,MAAM,uBAAuB,yBAuBnC,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,OAAO,4BAA4B,sBAkBvE,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,OAAO,4BAA4B,GAAG;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,sBA6C9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,OAAO,4BAA4B,sBAcvE,CAAC;AAEF,YAAY,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAElF,eAAO,MAAM,uBAAuB,GAAI,OAAO,4BAA4B,6BAmC1E,CAAC"}
|
package/lib/typescript/components/AttachmentPicker/components/AttachmentTypePickerButton.d.ts
CHANGED
|
@@ -2,9 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import { PressableProps } from 'react-native-gesture-handler';
|
|
3
3
|
import { ButtonProps } from '../../ui';
|
|
4
4
|
export type AttachmentTypePickerButtonProps = Pick<ButtonProps, 'selected' | 'onPress'> & {
|
|
5
|
+
accessibilityLabelKey?: string;
|
|
5
6
|
Icon: ButtonProps['LeadingIcon'];
|
|
6
7
|
} & Pick<PressableProps, 'testID'>;
|
|
7
|
-
export declare const AttachmentTypePickerButton: ({ testID, selected, onPress: onPressProp, Icon, }: AttachmentTypePickerButtonProps) => React.JSX.Element;
|
|
8
|
+
export declare const AttachmentTypePickerButton: ({ accessibilityLabelKey, testID, selected, onPress: onPressProp, Icon, }: AttachmentTypePickerButtonProps) => React.JSX.Element;
|
|
8
9
|
export declare const MediaPickerButton: () => React.JSX.Element | null;
|
|
9
10
|
export declare const CameraPickerButton: () => React.JSX.Element | null;
|
|
10
11
|
export declare const FilePickerButton: () => React.JSX.Element | null;
|
package/lib/typescript/components/AttachmentPicker/components/AttachmentTypePickerButton.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentTypePickerButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/AttachmentPicker/components/AttachmentTypePickerButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAsB9D,OAAO,EAAU,WAAW,EAAE,MAAM,UAAU,CAAC;AAG/C,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,SAAS,CAAC,GAAG;IACxF,IAAI,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;CAClC,GAAG,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;AAInC,eAAO,MAAM,0BAA0B,GAAI,
|
|
1
|
+
{"version":3,"file":"AttachmentTypePickerButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/AttachmentPicker/components/AttachmentTypePickerButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAsB9D,OAAO,EAAU,WAAW,EAAE,MAAM,UAAU,CAAC;AAG/C,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,SAAS,CAAC,GAAG;IACxF,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,IAAI,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;CAClC,GAAG,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;AAInC,eAAO,MAAM,0BAA0B,GAAI,0EAMxC,+BAA+B,sBA0BjC,CAAC;AAEF,eAAO,MAAM,iBAAiB,gCAsB7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,gCAyC9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,gCAsB5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,gCA0B5B,CAAC;AAEF,eAAO,MAAM,oBAAoB,gCAgChC,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PressableProps } from 'react-native';
|
|
3
|
-
type AttachmentRemoveControlProps = PressableProps
|
|
4
|
-
|
|
3
|
+
type AttachmentRemoveControlProps = PressableProps & {
|
|
4
|
+
accessibilityLabelKey?: string;
|
|
5
|
+
accessibilityLabelParams?: Record<string, unknown>;
|
|
6
|
+
};
|
|
7
|
+
export declare const AttachmentRemoveControl: ({ accessibilityLabelKey, accessibilityLabelParams, onPress, ...rest }: AttachmentRemoveControlProps) => React.JSX.Element;
|
|
5
8
|
export {};
|
|
6
9
|
//# sourceMappingURL=AttachmentRemoveControl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentRemoveControl.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAa,cAAc,EAAc,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"AttachmentRemoveControl.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAa,cAAc,EAAc,MAAM,cAAc,CAAC;AAOrE,KAAK,4BAA4B,GAAG,cAAc,GAAG;IACnD,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,wBAAwB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpD,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,uEAKrC,4BAA4B,sBAuC9B,CAAC"}
|
package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AudioRecorder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,SAAS,EAA0B,SAAS,EAAE,MAAM,cAAc,CAAC;AAO5E,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAYtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAG3F,KAAK,6BAA6B,GAAG,IAAI,CACvC,wBAAwB,EACtB,sBAAsB,GACtB,8BAA8B,GAC9B,oBAAoB,GACpB,sBAAsB,GACtB,sBAAsB,CACzB,GACC,IAAI,CAAC,yBAAyB,EAAE,UAAU,GAAG,WAAW,GAAG,QAAQ,CAAC,GAAG;IACrE;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC3C,CAAC;
|
|
1
|
+
{"version":3,"file":"AudioRecorder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,SAAS,EAA0B,SAAS,EAAE,MAAM,cAAc,CAAC;AAO5E,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAYtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAG3F,KAAK,6BAA6B,GAAG,IAAI,CACvC,wBAAwB,EACtB,sBAAsB,GACtB,8BAA8B,GAC9B,oBAAoB,GACpB,sBAAsB,GACtB,sBAAsB,CACzB,GACC,IAAI,CAAC,yBAAyB,EAAE,UAAU,GAAG,WAAW,GAAG,QAAQ,CAAC,GAAG;IACrE;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC3C,CAAC;AAyJJ,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC;AAQxE;;GAEG;AACH,eAAO,MAAM,aAAa;YAAW,kBAAkB;;CA6BtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AudioRecordingButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AudioRecordingButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAcvC,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAOtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAK3F,MAAM,MAAM,oCAAoC,GAAG,IAAI,CACrD,wBAAwB,EACtB,mCAAmC,GACnC,oCAAoC,GACpC,2BAA2B,GAC3B,8BAA8B,GAC9B,sBAAsB,GACtB,qBAAqB,GACrB,sBAAsB,GACtB,sBAAsB,CACzB,GACC,IAAI,CAAC,yBAAyB,EAAE,WAAW,GAAG,QAAQ,CAAC,GAAG;IACxD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,mBAAmB,EAAE,OAAO,CAAC;CAC9B,CAAC;AAOJ;;GAEG;AACH,eAAO,MAAM,+BAA+B,GAAI,OAAO,oCAAoC,sBA4L1F,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,oCAAoC,CAAC,CAAC;AAYtF,eAAO,MAAM,oBAAoB;YAAW,yBAAyB;;CAmCpE,CAAC"}
|
|
@@ -6,6 +6,7 @@ type AttachButtonPropsWithContext = Pick<MessageInputContextValue, 'handleAttach
|
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
/** Function that opens attachment options bottom sheet */
|
|
8
8
|
handleOnPress?: ((event: GestureResponderEvent) => void) & (() => void);
|
|
9
|
+
isAttachmentPickerOpen?: boolean;
|
|
9
10
|
} & {
|
|
10
11
|
toggleAttachmentPicker: () => void;
|
|
11
12
|
};
|
package/lib/typescript/components/MessageInput/components/InputButtons/AttachButton.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/InputButtons/AttachButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,EACL,4BAA4B,EAE7B,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;
|
|
1
|
+
{"version":3,"file":"AttachButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/InputButtons/AttachButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,EACL,4BAA4B,EAE7B,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAMtE,KAAK,4BAA4B,GAAG,IAAI,CAAC,wBAAwB,EAAE,yBAAyB,CAAC,GAC3F,IAAI,CAAC,4BAA4B,EAAE,yBAAyB,CAAC,GAAG;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0DAA0D;IAC1D,aAAa,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;IACxE,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,GAAG;IAAE,sBAAsB,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAiE7C,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAyBpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/OutputButtons/EditButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAItE,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,aAAa,CAAC,CAAC,GAAG;IACrF,0BAA0B;IAC1B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU;YAAW,eAAe;;
|
|
1
|
+
{"version":3,"file":"EditButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/OutputButtons/EditButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAItE,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,aAAa,CAAC,CAAC,GAAG;IACrF,0BAA0B;IAC1B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU;YAAW,eAAe;;CAyBhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/OutputButtons/SendButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAItE,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,aAAa,CAAC,CAAC,GAAG;IACrF,0BAA0B;IAC1B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU;YAAW,eAAe;;
|
|
1
|
+
{"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageInput/components/OutputButtons/SendButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EACL,wBAAwB,EAEzB,MAAM,8DAA8D,CAAC;AAItE,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,aAAa,CAAC,CAAC,GAAG;IACrF,0BAA0B;IAC1B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU;YAAW,eAAe;;CAyBhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageFlashList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/MessageFlashList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+E,MAAM,OAAO,CAAC;AACpG,OAAO,EAEL,eAAe,EAKhB,MAAM,cAAc,CAAC;AAItB,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,EAAkB,YAAY,EAAmB,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageFlashList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/MessageFlashList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+E,MAAM,OAAO,CAAC;AACpG,OAAO,EAEL,eAAe,EAKhB,MAAM,cAAc,CAAC;AAItB,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,EAAkB,YAAY,EAAmB,MAAM,aAAa,CAAC;AAUjF,OAAO,EACL,4BAA4B,EAE7B,MAAM,gEAAgE,CAAC;AACxE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAkB,MAAM,wCAAwC,CAAC;AAE1F,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAKhE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,2BAA2B,EAE5B,MAAM,8DAA8D,CAAC;AACtE,OAAO,EACL,gCAAgC,EAEjC,MAAM,wEAAwE,CAAC;AAEhF,OAAO,EAAE,kBAAkB,EAAoB,MAAM,4CAA4C,CAAC;AA6DlG,KAAK,gCAAgC,GAAG,IAAI,CAC1C,4BAA4B,EAC5B,aAAa,GAAG,uBAAuB,CACxC,GACC,IAAI,CAAC,2BAA2B,EAAE,YAAY,CAAC,GAC/C,IAAI,CACF,mBAAmB,EACjB,SAAS,GACT,yBAAyB,GACzB,UAAU,GACV,sBAAsB,GACtB,sBAAsB,GACtB,0BAA0B,GAC1B,SAAS,GACT,UAAU,GACV,eAAe,GACf,8BAA8B,GAC9B,uBAAuB,GACvB,oBAAoB,GACpB,iBAAiB,GACjB,YA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version":3,"file":"MessageList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/MessageList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,EAEL,aAAa,EACb,QAAQ,IAAI,YAAY,EAExB,eAAe,EAKhB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/MessageList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,EAEL,aAAa,EACb,QAAQ,IAAI,YAAY,EAExB,eAAe,EAKhB,MAAM,cAAc,CAAC;AAgBtB,OAAO,EAEL,6BAA6B,EAC9B,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EACL,4BAA4B,EAE7B,MAAM,gEAAgE,CAAC;AACxE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EAAE,gBAAgB,EAAkB,MAAM,wCAAwC,CAAC;AAI1F,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAKhE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,2BAA2B,EAE5B,MAAM,8DAA8D,CAAC;AACtE,OAAO,EACL,gCAAgC,EAEjC,MAAM,wEAAwE,CAAC;AAEhF,OAAO,EAAE,kBAAkB,EAAoB,MAAM,4CAA4C,CAAC;AA8HlG,KAAK,2BAA2B,GAAG,IAAI,CACrC,4BAA4B,EAC5B,aAAa,GAAG,uBAAuB,CACxC,GACC,IAAI,CAAC,2BAA2B,EAAE,YAAY,CAAC,GAC/C,IAAI,CACF,mBAAmB,EACjB,SAAS,GACT,yBAAyB,GACzB,UAAU,GACV,sBAAsB,GACtB,0BAA0B,GAC1B,SAAS,GACT,UAAU,GACV,eAAe,GACf,8BAA8B,GAC9B,uBAAuB,GACvB,oBAAoB,GACpB,iBAAiB,GACjB,YAAY,GACZ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}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
export declare const SCROLL_TO_BOTTOM_ACCESSIBILITY_LABEL_KEY = "a11y/Scroll to bottom";
|
|
3
|
+
export declare const SCROLL_TO_BOTTOM_WITH_COUNT_ACCESSIBILITY_LABEL_KEY = "a11y/Scroll to bottom, {{count}} new messages";
|
|
2
4
|
export type ScrollToBottomButtonProps = {
|
|
3
5
|
/** onPress handler */
|
|
4
6
|
onPress: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollToBottomButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/ScrollToBottomButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ScrollToBottomButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/ScrollToBottomButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,eAAO,MAAM,wCAAwC,0BAA0B,CAAC;AAChF,eAAO,MAAM,mDAAmD,kDACf,CAAC;AAElD,MAAM,MAAM,yBAAyB,GAAG;IACtC,sBAAsB;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,oBAAoB;YAAW,yBAAyB;;CAwDpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnreadMessagesNotification.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/UnreadMessagesNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAUtD,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,mBAAmB,EACnB,yBAAyB,CAC1B,GAAG;IACF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAMF,eAAO,MAAM,0BAA0B,GAAI,OAAO,+BAA+B,
|
|
1
|
+
{"version":3,"file":"UnreadMessagesNotification.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/UnreadMessagesNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAUtD,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,mBAAmB,EACnB,yBAAyB,CAC1B,GAAG;IACF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAMF,eAAO,MAAM,0BAA0B,GAAI,OAAO,+BAA+B,sBA2DhF,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { AccessibilityActionEvent, AccessibilityProps } from 'react-native';
|
|
2
|
+
export declare const SCROLL_TO_BOTTOM_ACCESSIBILITY_ACTION_NAME = "streamScrollToBottom";
|
|
3
|
+
type AccessibilityActions = AccessibilityProps['accessibilityActions'];
|
|
4
|
+
type OnAccessibilityAction = AccessibilityProps['onAccessibilityAction'];
|
|
5
|
+
type UseScrollToBottomAccessibilityActionParams = {
|
|
6
|
+
accessibilityActions?: AccessibilityActions;
|
|
7
|
+
onAccessibilityAction?: OnAccessibilityAction;
|
|
8
|
+
onScrollToBottom: () => Promise<void> | void;
|
|
9
|
+
unreadCount?: number;
|
|
10
|
+
visible: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const useScrollToBottomAccessibilityAction: ({ accessibilityActions, onAccessibilityAction, onScrollToBottom, unreadCount, visible, }: UseScrollToBottomAccessibilityActionParams) => {
|
|
13
|
+
accessibilityActions: Readonly<{
|
|
14
|
+
name: string;
|
|
15
|
+
label?: string;
|
|
16
|
+
}>[] | undefined;
|
|
17
|
+
onAccessibilityAction: import("../../../hooks").StableCallback<[event: AccessibilityActionEvent], void | Promise<void>> | undefined;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=useScrollToBottomAccessibilityAction.d.ts.map
|
package/lib/typescript/components/MessageList/hooks/useScrollToBottomAccessibilityAction.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScrollToBottomAccessibilityAction.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageList/hooks/useScrollToBottomAccessibilityAction.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAWjF,eAAO,MAAM,0CAA0C,yBAAyB,CAAC;AAEjF,KAAK,oBAAoB,GAAG,kBAAkB,CAAC,sBAAsB,CAAC,CAAC;AACvE,KAAK,qBAAqB,GAAG,kBAAkB,CAAC,uBAAuB,CAAC,CAAC;AAEzE,KAAK,0CAA0C,GAAG;IAChD,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C,gBAAgB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oCAAoC,GAAI,0FAMlD,0CAA0C;;;;;;CAyC5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageActionListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/MessageActionListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAQ,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageActionListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/MessageActionListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAQ,MAAM,cAAc,CAAC;AAU5E,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,WAAW,GACX,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,aAAa,GACb,aAAa,GACb,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,gBAAgB,GAChB,OAAO,GACP,OAAO,GACP,aAAa,GACb,aAAa,GACb,cAAc,CAAC;AAEnB,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB;;;OAGG;IACH,UAAU,EAAE,UAAU,GAAG,MAAM,CAAC;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAElC,IAAI,EAAE,UAAU,GAAG,aAAa,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;AAE3D,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,sBAyCtE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageReactionPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/MessageReactionPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQ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AAI,CAAC;IACzC,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AAcF,eAAO,MAAM,yBAAyB,GAAI,uBAEvC;IACD,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C,sBAiCA,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,uBAE/B;IACD,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C,sBA6CA,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,6BAkCtE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactionButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/ReactionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ReactionButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageMenu/ReactionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAIpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAU,WAAW,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACrC;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBA4CxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreatePollHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/components/CreatePollHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAWpD,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;OAGG;IACH,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B;;;OAGG;IACH,wBAAwB,EAAE,MAAM,IAAI,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,mDAG9B,qBAAqB,
|
|
1
|
+
{"version":3,"file":"CreatePollHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/components/CreatePollHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAWpD,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;OAGG;IACH,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B;;;OAGG;IACH,wBAAwB,EAAE,MAAM,IAAI,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,mDAG9B,qBAAqB,sBAkDvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultipleVotesSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/components/MultipleVotesSettings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AA+FjF,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"MultipleVotesSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/components/MultipleVotesSettings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AA+FjF,eAAO,MAAM,qBAAqB,yBAkGjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PollModalHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/components/PollModalHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,oBAAoB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"PollModalHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/components/PollModalHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,oBAAoB,oBAAoB,sBAgCvE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Reply.d.ts","sourceRoot":"","sources":["../../../../src/components/Reply/Reply.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAGL,UAAU,EAIV,SAAS,EAET,SAAS,EACV,MAAM,cAAc,CAAC;AAatB,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AA+DtF,MAAM,MAAM,qBAAqB,GAAG;IAAE,cAAc,EAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,CAAA;CAAE,GAAG,IAAI,CAC5F,mBAAmB,EACnB,SAAS,CACV,GACC,IAAI,CAAC,oBAAoB,EAAE,eAAe,CAAC,GAAG;IAC5C,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;IAEvB,MAAM,CAAC,EAAE;QACP,SAAS,CAAC,EAAE,SAAS,CAAC;QACtB,aAAa,CAAC,EAAE,SAAS,C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E/F,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,qBAAqB,CAAC,GACrD,IAAI,CAAC,qBAAqB,EAAE,MAAM,GAAG,WAAW,CAAC,CAAC;AAEpD,eAAO,MAAM,KAAK,GAAI,OAAO,UAAU,sBA0BtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AASlF,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC/C;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,OAAO,WAAW,
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AASlF,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC/C;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,OAAO,WAAW,sBAqDxC,CAAC"}
|
|
@@ -4,6 +4,15 @@ import { PressableProps } from 'react-native-gesture-handler';
|
|
|
4
4
|
import { IconProps } from '../../../icons/utils/base';
|
|
5
5
|
export type IconRenderer = (props: IconProps) => React.ReactNode;
|
|
6
6
|
export type ButtonProps = PressableProps & {
|
|
7
|
+
/**
|
|
8
|
+
* Translation key used for the button's accessibility label when SDK
|
|
9
|
+
* accessibility is enabled. Prefer this for SDK-owned icon-only buttons.
|
|
10
|
+
*/
|
|
11
|
+
accessibilityLabelKey?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Optional interpolation params for `accessibilityLabelKey`.
|
|
14
|
+
*/
|
|
15
|
+
accessibilityLabelParams?: Record<string, unknown>;
|
|
7
16
|
/**
|
|
8
17
|
* The style of the button.
|
|
9
18
|
*/
|
|
@@ -41,5 +50,5 @@ export type ButtonProps = PressableProps & {
|
|
|
41
50
|
*/
|
|
42
51
|
style?: StyleProp<ViewStyle>;
|
|
43
52
|
};
|
|
44
|
-
export declare const Button: ({ variant, type, selected, size, LeadingIcon, TrailingIcon, iconOnly, label, onLayout, disabled, style, ...rest }: ButtonProps) => React.JSX.Element;
|
|
53
|
+
export declare const Button: ({ accessibilityLabel, accessibilityLabelKey, accessibilityLabelParams, variant, type, selected, size, LeadingIcon, TrailingIcon, iconOnly, label, onLayout, disabled, style, ...rest }: ButtonProps) => React.JSX.Element;
|
|
45
54
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAe,SAAS,EAAc,SAAS,EAAc,MAAM,cAAc,CAAC;AAEzF,OAAO,EAAa,cAAc,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAe,SAAS,EAAc,SAAS,EAAc,MAAM,cAAc,CAAC;AAEzF,OAAO,EAAa,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAQzE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGtD,MAAM,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,SAAS,KAAK,KAAK,CAAC,SAAS,CAAC;AAuBjE,MAAM,MAAM,WAAW,GAAG,cAAc,GAAG;IACzC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnD;;OAEG;IACH,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,aAAa,CAAC;IACjD;;OAEG;IACH,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,aAAa,CAAC;IACpD;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,wLAgBpB,WAAW,sBAsGb,CAAC"}
|
|
@@ -30,5 +30,5 @@ export declare const AccessibilityContext: React.Context<Required<AccessibilityC
|
|
|
30
30
|
export declare const AccessibilityProvider: ({ children, value, }: PropsWithChildren<{
|
|
31
31
|
value?: AccessibilityConfig;
|
|
32
32
|
}>) => React.JSX.Element;
|
|
33
|
-
export declare const useAccessibilityContext: () =>
|
|
33
|
+
export declare const useAccessibilityContext: () => ResolvedAccessibilityConfig;
|
|
34
34
|
//# sourceMappingURL=AccessibilityContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccessibilityContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/accessibilityContext/AccessibilityContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,iBAAiB,EAMlB,MAAM,OAAO,CAAC;AAgBf,iDAAiD;AACjD,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEnD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2EAA2E;IAC3E,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,4EAA4E;IAC5E,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,kEAAkE;IAClE,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,gEAAgE;IAChE,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,+EAA+E;IAC/E,oBAAoB,CAAC,EAAE,QAAQ,CAAC;IAChC,8EAA8E;IAC9E,4BAA4B,CAAC,EAAE,QAAQ,CAAC;IACxC,4HAA4H;IAC5H,qBAAqB,CAAC,EAAE,YAAY,GAAG,MAAM,GAAG,eAAe,CAAC;CACjE,CAAC;AAEF,yEAAyE;AACzE,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAAC,mBAAmB,CAAC,CAAC;AAExE,eAAO,MAAM,gCAAgC,EAAE,2BAS9C,CAAC;AAEF,eAAO,MAAM,oBAAoB,8CAEhC,CAAC;AAkDF,eAAO,MAAM,qBAAqB,GAAI,sBAGnC,iBAAiB,CAAC;IAAE,KAAK,CAAC,EAAE,mBAAmB,CAAA;CAAE,CAAC,sBA4CpD,CAAC;AAEF,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"AccessibilityContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/accessibilityContext/AccessibilityContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,iBAAiB,EAMlB,MAAM,OAAO,CAAC;AAgBf,iDAAiD;AACjD,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEnD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2EAA2E;IAC3E,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,4EAA4E;IAC5E,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,kEAAkE;IAClE,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,gEAAgE;IAChE,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,+EAA+E;IAC/E,oBAAoB,CAAC,EAAE,QAAQ,CAAC;IAChC,8EAA8E;IAC9E,4BAA4B,CAAC,EAAE,QAAQ,CAAC;IACxC,4HAA4H;IAC5H,qBAAqB,CAAC,EAAE,YAAY,GAAG,MAAM,GAAG,eAAe,CAAC;CACjE,CAAC;AAEF,yEAAyE;AACzE,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAAC,mBAAmB,CAAC,CAAC;AAExE,eAAO,MAAM,gCAAgC,EAAE,2BAS9C,CAAC;AAEF,eAAO,MAAM,oBAAoB,8CAEhC,CAAC;AAkDF,eAAO,MAAM,qBAAqB,GAAI,sBAGnC,iBAAiB,CAAC;IAAE,KAAK,CAAC,EAAE,mBAAmB,CAAA;CAAE,CAAC,sBA4CpD,CAAC;AAEF,eAAO,MAAM,uBAAuB,QAAO,2BAkC1C,CAAC"}
|
|
@@ -252,11 +252,45 @@
|
|
|
252
252
|
"a11y/Read": "Read",
|
|
253
253
|
"a11y/Reconnecting": "Reconnecting",
|
|
254
254
|
"a11y/Reply to {{user}}": "Reply to {{user}}",
|
|
255
|
+
"a11y/Remove edit": "Remove edit",
|
|
256
|
+
"a11y/Remove reply": "Remove reply",
|
|
257
|
+
"a11y/Scroll to bottom": "Scroll to bottom",
|
|
258
|
+
"a11y/Scroll to bottom, {{count}} new messages": "Scroll to bottom, {{count}} new messages",
|
|
255
259
|
"a11y/Scroll to latest": "Scroll to latest",
|
|
256
260
|
"a11y/Scroll to latest, {{count}} unread": "Scroll to latest, {{count}} unread",
|
|
257
261
|
"a11y/Send message": "Send message",
|
|
258
262
|
"a11y/Sending": "Sending",
|
|
259
263
|
"a11y/Sent": "Sent",
|
|
260
264
|
"a11y/Voice message recording. Hold to record.": "Voice message recording. Hold to record.",
|
|
261
|
-
"a11y/{{count}} new messages": "{{count}} new messages"
|
|
265
|
+
"a11y/{{count}} new messages": "{{count}} new messages",
|
|
266
|
+
"a11y/Add attachment": "Add attachment",
|
|
267
|
+
"a11y/Close attachments": "Close attachments",
|
|
268
|
+
"a11y/Remove attachment": "Remove Attachment",
|
|
269
|
+
"a11y/Close poll": "Close poll",
|
|
270
|
+
"a11y/Close poll creation": "Close poll creation",
|
|
271
|
+
"a11y/Create poll": "Create poll",
|
|
272
|
+
"a11y/Decrease maximum votes": "Decrease maximum votes",
|
|
273
|
+
"a11y/Delete voice recording": "Delete voice recording",
|
|
274
|
+
"a11y/Deselect image": "Deselect image",
|
|
275
|
+
"a11y/Deselect video": "Deselect video",
|
|
276
|
+
"a11y/Dismiss unread messages": "Dismiss unread messages",
|
|
277
|
+
"a11y/Grid Icon": "Grid Icon",
|
|
278
|
+
"a11y/Hide Overlay": "Hide Overlay",
|
|
279
|
+
"a11y/Increase maximum votes": "Increase maximum votes",
|
|
280
|
+
"a11y/Open camera": "Open camera",
|
|
281
|
+
"a11y/Open commands": "Open commands",
|
|
282
|
+
"a11y/Open file picker": "Open file picker",
|
|
283
|
+
"a11y/Open more reactions": "Open more reactions",
|
|
284
|
+
"a11y/Open photo picker": "Open photo picker",
|
|
285
|
+
"a11y/Open poll creation": "Open poll creation",
|
|
286
|
+
"a11y/Open video recorder": "Open video recorder",
|
|
287
|
+
"a11y/Play Pause Button": "Play Pause Button",
|
|
288
|
+
"a11y/reaction-button-{{type}}-{{selected}}": "reaction-button-{{type}}-{{selected}}",
|
|
289
|
+
"a11y/Save edited message": "Save edited message",
|
|
290
|
+
"a11y/Select image": "Select image",
|
|
291
|
+
"a11y/Select video": "Select video",
|
|
292
|
+
"a11y/Send voice recording": "Send voice recording",
|
|
293
|
+
"a11y/Share Button": "Share Button",
|
|
294
|
+
"a11y/Start voice recording": "Start voice recording",
|
|
295
|
+
"a11y/Stop voice recording": "Stop voice recording"
|
|
262
296
|
}
|
|
@@ -252,11 +252,45 @@
|
|
|
252
252
|
"a11y/Read": "Leído",
|
|
253
253
|
"a11y/Reconnecting": "Reconectando",
|
|
254
254
|
"a11y/Reply to {{user}}": "Responder a {{user}}",
|
|
255
|
+
"a11y/Remove edit": "Eliminar edición",
|
|
256
|
+
"a11y/Remove reply": "Eliminar respuesta",
|
|
257
|
+
"a11y/Scroll to bottom": "Ir al final",
|
|
258
|
+
"a11y/Scroll to bottom, {{count}} new messages": "Ir al final, {{count}} mensajes nuevos",
|
|
255
259
|
"a11y/Scroll to latest": "Ir al último mensaje",
|
|
256
260
|
"a11y/Scroll to latest, {{count}} unread": "Ir al último mensaje, {{count}} sin leer",
|
|
257
261
|
"a11y/Send message": "Enviar mensaje",
|
|
258
262
|
"a11y/Sending": "Enviando",
|
|
259
263
|
"a11y/Sent": "Enviado",
|
|
260
264
|
"a11y/Voice message recording. Hold to record.": "Grabación de mensaje de voz. Mantén pulsado para grabar.",
|
|
261
|
-
"a11y/{{count}} new messages": "{{count}} mensajes nuevos"
|
|
265
|
+
"a11y/{{count}} new messages": "{{count}} mensajes nuevos",
|
|
266
|
+
"a11y/Add attachment": "Add attachment",
|
|
267
|
+
"a11y/Close attachments": "Close attachments",
|
|
268
|
+
"a11y/Remove attachment": "Remove Attachment",
|
|
269
|
+
"a11y/Close poll": "Close poll",
|
|
270
|
+
"a11y/Close poll creation": "Close poll creation",
|
|
271
|
+
"a11y/Create poll": "Create poll",
|
|
272
|
+
"a11y/Decrease maximum votes": "Decrease maximum votes",
|
|
273
|
+
"a11y/Delete voice recording": "Delete voice recording",
|
|
274
|
+
"a11y/Deselect image": "Deselect image",
|
|
275
|
+
"a11y/Deselect video": "Deselect video",
|
|
276
|
+
"a11y/Dismiss unread messages": "Dismiss unread messages",
|
|
277
|
+
"a11y/Grid Icon": "Grid Icon",
|
|
278
|
+
"a11y/Hide Overlay": "Hide Overlay",
|
|
279
|
+
"a11y/Increase maximum votes": "Increase maximum votes",
|
|
280
|
+
"a11y/Open camera": "Open camera",
|
|
281
|
+
"a11y/Open commands": "Open commands",
|
|
282
|
+
"a11y/Open file picker": "Open file picker",
|
|
283
|
+
"a11y/Open more reactions": "Open more reactions",
|
|
284
|
+
"a11y/Open photo picker": "Open photo picker",
|
|
285
|
+
"a11y/Open poll creation": "Open poll creation",
|
|
286
|
+
"a11y/Open video recorder": "Open video recorder",
|
|
287
|
+
"a11y/Play Pause Button": "Play Pause Button",
|
|
288
|
+
"a11y/reaction-button-{{type}}-{{selected}}": "reaction-button-{{type}}-{{selected}}",
|
|
289
|
+
"a11y/Save edited message": "Save edited message",
|
|
290
|
+
"a11y/Select image": "Select image",
|
|
291
|
+
"a11y/Select video": "Select video",
|
|
292
|
+
"a11y/Send voice recording": "Send voice recording",
|
|
293
|
+
"a11y/Share Button": "Share Button",
|
|
294
|
+
"a11y/Start voice recording": "Start voice recording",
|
|
295
|
+
"a11y/Stop voice recording": "Stop voice recording"
|
|
262
296
|
}
|
|
@@ -252,11 +252,45 @@
|
|
|
252
252
|
"a11y/Read": "Lu",
|
|
253
253
|
"a11y/Reconnecting": "Reconnexion",
|
|
254
254
|
"a11y/Reply to {{user}}": "Répondre à {{user}}",
|
|
255
|
+
"a11y/Remove edit": "Supprimer la modification",
|
|
256
|
+
"a11y/Remove reply": "Supprimer la réponse",
|
|
257
|
+
"a11y/Scroll to bottom": "Aller en bas",
|
|
258
|
+
"a11y/Scroll to bottom, {{count}} new messages": "Aller en bas, {{count}} nouveaux messages",
|
|
255
259
|
"a11y/Scroll to latest": "Aller au dernier message",
|
|
256
260
|
"a11y/Scroll to latest, {{count}} unread": "Aller au dernier message, {{count}} non lus",
|
|
257
261
|
"a11y/Send message": "Envoyer le message",
|
|
258
262
|
"a11y/Sending": "Envoi",
|
|
259
263
|
"a11y/Sent": "Envoyé",
|
|
260
264
|
"a11y/Voice message recording. Hold to record.": "Enregistrement d'un message vocal. Maintenez appuyé pour enregistrer.",
|
|
261
|
-
"a11y/{{count}} new messages": "{{count}} nouveaux messages"
|
|
265
|
+
"a11y/{{count}} new messages": "{{count}} nouveaux messages",
|
|
266
|
+
"a11y/Add attachment": "Add attachment",
|
|
267
|
+
"a11y/Close attachments": "Close attachments",
|
|
268
|
+
"a11y/Remove attachment": "Remove Attachment",
|
|
269
|
+
"a11y/Close poll": "Close poll",
|
|
270
|
+
"a11y/Close poll creation": "Close poll creation",
|
|
271
|
+
"a11y/Create poll": "Create poll",
|
|
272
|
+
"a11y/Decrease maximum votes": "Decrease maximum votes",
|
|
273
|
+
"a11y/Delete voice recording": "Delete voice recording",
|
|
274
|
+
"a11y/Deselect image": "Deselect image",
|
|
275
|
+
"a11y/Deselect video": "Deselect video",
|
|
276
|
+
"a11y/Dismiss unread messages": "Dismiss unread messages",
|
|
277
|
+
"a11y/Grid Icon": "Grid Icon",
|
|
278
|
+
"a11y/Hide Overlay": "Hide Overlay",
|
|
279
|
+
"a11y/Increase maximum votes": "Increase maximum votes",
|
|
280
|
+
"a11y/Open camera": "Open camera",
|
|
281
|
+
"a11y/Open commands": "Open commands",
|
|
282
|
+
"a11y/Open file picker": "Open file picker",
|
|
283
|
+
"a11y/Open more reactions": "Open more reactions",
|
|
284
|
+
"a11y/Open photo picker": "Open photo picker",
|
|
285
|
+
"a11y/Open poll creation": "Open poll creation",
|
|
286
|
+
"a11y/Open video recorder": "Open video recorder",
|
|
287
|
+
"a11y/Play Pause Button": "Play Pause Button",
|
|
288
|
+
"a11y/reaction-button-{{type}}-{{selected}}": "reaction-button-{{type}}-{{selected}}",
|
|
289
|
+
"a11y/Save edited message": "Save edited message",
|
|
290
|
+
"a11y/Select image": "Select image",
|
|
291
|
+
"a11y/Select video": "Select video",
|
|
292
|
+
"a11y/Send voice recording": "Send voice recording",
|
|
293
|
+
"a11y/Share Button": "Share Button",
|
|
294
|
+
"a11y/Start voice recording": "Start voice recording",
|
|
295
|
+
"a11y/Stop voice recording": "Stop voice recording"
|
|
262
296
|
}
|