@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.esm.js
CHANGED
|
@@ -7315,7 +7315,7 @@ const countConsecutiveSymbols = (selectionStart, applicablePattern, direction) =
|
|
|
7315
7315
|
return groupSize;
|
|
7316
7316
|
};
|
|
7317
7317
|
|
|
7318
|
-
const
|
|
7318
|
+
const getCursorPositionAfterActionStroke = (action, selectionStart, selectionEnd, pattern, pastedLength) => {
|
|
7319
7319
|
let cursorPosition = selectionStart;
|
|
7320
7320
|
switch (action) {
|
|
7321
7321
|
case 'Backspace':
|
|
@@ -7337,7 +7337,7 @@ const getCursorPositionAfteractionstroke = (action, selectionStart, selectionEnd
|
|
|
7337
7337
|
}
|
|
7338
7338
|
return cursorPosition;
|
|
7339
7339
|
};
|
|
7340
|
-
var getCursorPositionAfterKeystroke =
|
|
7340
|
+
var getCursorPositionAfterKeystroke = getCursorPositionAfterActionStroke;
|
|
7341
7341
|
|
|
7342
7342
|
class WithDisplayFormat extends Component {
|
|
7343
7343
|
static defaultProps = {
|