@progress/kendo-react-inputs 5.16.0-dev.202307211637 → 5.16.0

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.
@@ -157,7 +157,9 @@ export var NumericTextBox = React.forwardRef(function (directProps, target) {
157
157
  // Select All
158
158
  if (newState.selectionEnd > newState.selectionStart &&
159
159
  newState.selectionEnd - newState.selectionStart === String(newState.currentLooseValue).length) {
160
- isPasteRef.current = true;
160
+ var numericSymbols = intlService.numberSymbols();
161
+ var isMinus = numericSymbols && event.key === numericSymbols.minusSign;
162
+ isPasteRef.current = !isMinus;
161
163
  return;
162
164
  }
163
165
  switch (event.keyCode) {
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-react-inputs',
6
6
  productName: 'KendoReact',
7
7
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1689955486,
8
+ publishDate: 1690289763,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
11
11
  };
@@ -160,7 +160,9 @@ exports.NumericTextBox = React.forwardRef(function (directProps, target) {
160
160
  // Select All
161
161
  if (newState.selectionEnd > newState.selectionStart &&
162
162
  newState.selectionEnd - newState.selectionStart === String(newState.currentLooseValue).length) {
163
- isPasteRef.current = true;
163
+ var numericSymbols = intlService.numberSymbols();
164
+ var isMinus = numericSymbols && event.key === numericSymbols.minusSign;
165
+ isPasteRef.current = !isMinus;
164
166
  return;
165
167
  }
166
168
  switch (event.keyCode) {
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-react-inputs',
9
9
  productName: 'KendoReact',
10
10
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
11
- publishDate: 1689955486,
11
+ publishDate: 1690289763,
12
12
  version: '',
13
13
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
14
14
  };