@transferwise/components 0.0.0-experimental-27b17f6 → 0.0.0-experimental-778ee44
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/build/index.esm.js +2 -2
- package/build/index.esm.js.map +1 -1
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts +2 -2
- package/package.json +1 -1
- package/src/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.ts +2 -2
package/build/index.js
CHANGED
|
@@ -7349,7 +7349,7 @@ const countConsecutiveSymbols = (selectionStart, applicablePattern, direction) =
|
|
|
7349
7349
|
return groupSize;
|
|
7350
7350
|
};
|
|
7351
7351
|
|
|
7352
|
-
const
|
|
7352
|
+
const getCursorPositionAfterActionStroke = (action, selectionStart, selectionEnd, pattern, pastedLength) => {
|
|
7353
7353
|
let cursorPosition = selectionStart;
|
|
7354
7354
|
switch (action) {
|
|
7355
7355
|
case 'Backspace':
|
|
@@ -7371,7 +7371,7 @@ const getCursorPositionAfteractionstroke = (action, selectionStart, selectionEnd
|
|
|
7371
7371
|
}
|
|
7372
7372
|
return cursorPosition;
|
|
7373
7373
|
};
|
|
7374
|
-
var getCursorPositionAfterKeystroke =
|
|
7374
|
+
var getCursorPositionAfterKeystroke = getCursorPositionAfterActionStroke;
|
|
7375
7375
|
|
|
7376
7376
|
class WithDisplayFormat extends React.Component {
|
|
7377
7377
|
static defaultProps = {
|