@elliemae/ds-chat 2.2.3-rc.1 → 2.2.3-rc.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -205,7 +205,12 @@ const ChatContainerMessagesList = props => {
205
205
 
206
206
  e.preventDefault();
207
207
  (_loadMoreRef$current2 = loadMoreRef.current) === null || _loadMoreRef$current2 === void 0 ? void 0 : _loadMoreRef$current2.focus();
208
- } else if (hasMoreItems === 'top' && e.shiftKey) ; else if (!e.shiftKey) {
208
+ } else if (hasMoreItems === 'top' && e.shiftKey) {
209
+ var _loadMoreRef$current3;
210
+
211
+ e.preventDefault();
212
+ (_loadMoreRef$current3 = loadMoreRef.current) === null || _loadMoreRef$current3 === void 0 ? void 0 : _loadMoreRef$current3.focus();
213
+ } else if (!e.shiftKey) {
209
214
  if (bannerPosition) {
210
215
  e.preventDefault();
211
216
  bannerRef.current.focusOnWrapper();
@@ -259,11 +264,6 @@ const ChatContainerMessagesList = props => {
259
264
  case 'Tab':
260
265
  if (document.activeElement !== loadMoreRef.current) {
261
266
  if (hasMoreItems === 'bottom' && !e.shiftKey) {
262
- var _loadMoreRef$current3;
263
-
264
- e.preventDefault();
265
- (_loadMoreRef$current3 = loadMoreRef.current) === null || _loadMoreRef$current3 === void 0 ? void 0 : _loadMoreRef$current3.focus();
266
- } else if (hasMoreItems === 'top' && e.shiftKey) {
267
267
  var _loadMoreRef$current4;
268
268
 
269
269
  e.preventDefault();
@@ -194,7 +194,12 @@ const ChatContainerMessagesList = props => {
194
194
 
195
195
  e.preventDefault();
196
196
  (_loadMoreRef$current2 = loadMoreRef.current) === null || _loadMoreRef$current2 === void 0 ? void 0 : _loadMoreRef$current2.focus();
197
- } else if (hasMoreItems === 'top' && e.shiftKey) ; else if (!e.shiftKey) {
197
+ } else if (hasMoreItems === 'top' && e.shiftKey) {
198
+ var _loadMoreRef$current3;
199
+
200
+ e.preventDefault();
201
+ (_loadMoreRef$current3 = loadMoreRef.current) === null || _loadMoreRef$current3 === void 0 ? void 0 : _loadMoreRef$current3.focus();
202
+ } else if (!e.shiftKey) {
198
203
  if (bannerPosition) {
199
204
  e.preventDefault();
200
205
  bannerRef.current.focusOnWrapper();
@@ -248,11 +253,6 @@ const ChatContainerMessagesList = props => {
248
253
  case 'Tab':
249
254
  if (document.activeElement !== loadMoreRef.current) {
250
255
  if (hasMoreItems === 'bottom' && !e.shiftKey) {
251
- var _loadMoreRef$current3;
252
-
253
- e.preventDefault();
254
- (_loadMoreRef$current3 = loadMoreRef.current) === null || _loadMoreRef$current3 === void 0 ? void 0 : _loadMoreRef$current3.focus();
255
- } else if (hasMoreItems === 'top' && e.shiftKey) {
256
256
  var _loadMoreRef$current4;
257
257
 
258
258
  e.preventDefault();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-chat",
3
- "version": "2.2.3-rc.1",
3
+ "version": "2.2.3-rc.5",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Chat",
6
6
  "module": "./esm/index.js",
@@ -309,15 +309,15 @@
309
309
  "generateSubmodules": true
310
310
  },
311
311
  "dependencies": {
312
- "@elliemae/ds-banner": "2.2.3-rc.1",
313
- "@elliemae/ds-button": "2.2.3-rc.1",
314
- "@elliemae/ds-grid": "2.2.3-rc.1",
315
- "@elliemae/ds-icons": "2.2.3-rc.1",
316
- "@elliemae/ds-indeterminate-progress-indicator": "2.2.3-rc.1",
317
- "@elliemae/ds-props-helpers": "2.2.3-rc.1",
318
- "@elliemae/ds-system": "2.2.3-rc.1",
319
- "@elliemae/ds-tooltip": "2.2.3-rc.1",
320
- "@elliemae/ds-truncated-tooltip-text": "2.2.3-rc.1",
312
+ "@elliemae/ds-banner": "2.2.3-rc.5",
313
+ "@elliemae/ds-button": "2.2.3-rc.5",
314
+ "@elliemae/ds-grid": "2.2.3-rc.5",
315
+ "@elliemae/ds-icons": "2.2.3-rc.5",
316
+ "@elliemae/ds-indeterminate-progress-indicator": "2.2.3-rc.5",
317
+ "@elliemae/ds-props-helpers": "2.2.3-rc.5",
318
+ "@elliemae/ds-system": "2.2.3-rc.5",
319
+ "@elliemae/ds-tooltip": "2.2.3-rc.5",
320
+ "@elliemae/ds-truncated-tooltip-text": "2.2.3-rc.5",
321
321
  "prop-types": "~15.7.2",
322
322
  "react-desc": "~4.1.2",
323
323
  "react-virtual": "~2.3.2"