@elliemae/ds-chat 2.2.3-rc.4 → 2.2.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,6 +205,11 @@ 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) {
209
+ var _loadMoreRef$current3;
210
+
211
+ e.preventDefault();
212
+ (_loadMoreRef$current3 = loadMoreRef.current) === null || _loadMoreRef$current3 === void 0 ? void 0 : _loadMoreRef$current3.focus();
208
213
  } else if (!e.shiftKey) {
209
214
  if (bannerPosition) {
210
215
  e.preventDefault();
@@ -259,10 +264,10 @@ 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;
267
+ var _loadMoreRef$current4;
263
268
 
264
269
  e.preventDefault();
265
- (_loadMoreRef$current3 = loadMoreRef.current) === null || _loadMoreRef$current3 === void 0 ? void 0 : _loadMoreRef$current3.focus();
270
+ (_loadMoreRef$current4 = loadMoreRef.current) === null || _loadMoreRef$current4 === void 0 ? void 0 : _loadMoreRef$current4.focus();
266
271
  } else if (!e.shiftKey) {
267
272
  e.preventDefault();
268
273
  actionRef.current.focusToComposer();
@@ -194,6 +194,11 @@ 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) {
198
+ var _loadMoreRef$current3;
199
+
200
+ e.preventDefault();
201
+ (_loadMoreRef$current3 = loadMoreRef.current) === null || _loadMoreRef$current3 === void 0 ? void 0 : _loadMoreRef$current3.focus();
197
202
  } else if (!e.shiftKey) {
198
203
  if (bannerPosition) {
199
204
  e.preventDefault();
@@ -248,10 +253,10 @@ 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;
256
+ var _loadMoreRef$current4;
252
257
 
253
258
  e.preventDefault();
254
- (_loadMoreRef$current3 = loadMoreRef.current) === null || _loadMoreRef$current3 === void 0 ? void 0 : _loadMoreRef$current3.focus();
259
+ (_loadMoreRef$current4 = loadMoreRef.current) === null || _loadMoreRef$current4 === void 0 ? void 0 : _loadMoreRef$current4.focus();
255
260
  } else if (!e.shiftKey) {
256
261
  e.preventDefault();
257
262
  actionRef.current.focusToComposer();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-chat",
3
- "version": "2.2.3-rc.4",
3
+ "version": "2.2.5",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Chat",
6
6
  "module": "./esm/index.js",
@@ -309,18 +309,18 @@
309
309
  "generateSubmodules": true
310
310
  },
311
311
  "dependencies": {
312
- "@elliemae/ds-banner": "2.2.3-rc.4",
313
- "@elliemae/ds-button": "2.2.3-rc.4",
314
- "@elliemae/ds-grid": "2.2.3-rc.4",
315
- "@elliemae/ds-icons": "2.2.3-rc.4",
316
- "@elliemae/ds-indeterminate-progress-indicator": "2.2.3-rc.4",
317
- "@elliemae/ds-props-helpers": "2.2.3-rc.4",
318
- "@elliemae/ds-system": "2.2.3-rc.4",
319
- "@elliemae/ds-tooltip": "2.2.3-rc.4",
320
- "@elliemae/ds-truncated-tooltip-text": "2.2.3-rc.4",
312
+ "@elliemae/ds-banner": "2.2.5",
313
+ "@elliemae/ds-button": "2.2.5",
314
+ "@elliemae/ds-grid": "2.2.5",
315
+ "@elliemae/ds-icons": "2.2.5",
316
+ "@elliemae/ds-indeterminate-progress-indicator": "2.2.5",
317
+ "@elliemae/ds-props-helpers": "2.2.5",
318
+ "@elliemae/ds-system": "2.2.5",
319
+ "@elliemae/ds-tooltip": "2.2.5",
320
+ "@elliemae/ds-truncated-tooltip-text": "2.2.5",
321
321
  "prop-types": "~15.7.2",
322
322
  "react-desc": "~4.1.2",
323
- "react-virtual": "~2.3.2"
323
+ "react-virtual": "~2.8.2"
324
324
  },
325
325
  "devDependencies": {
326
326
  "@testing-library/dom": "~8.11.1",
@@ -1 +1,2 @@
1
- export declare const StyledFloatingContainer: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
1
+ /// <reference types="react" />
2
+ export declare const StyledFloatingContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;