@progress/kendo-angular-inputs 25.3.0 → 25.3.1-develop.1

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.
@@ -198,11 +198,18 @@ const divide = (dividend, divisor) => {
198
198
  const correctionValue = Math.pow(10, power);
199
199
  return ((correctionValue * dividend) / (correctionValue * divisor));
200
200
  };
201
+ /**
202
+ * @hidden
203
+ */
204
+ const floorDivide = (dividend, divisor) => {
205
+ const factor = Math.pow(10, maxFractionLength(dividend, divisor));
206
+ return Math.floor(divide(Math.round(dividend * factor), Math.round(divisor * factor)));
207
+ };
201
208
  /**
202
209
  * @hidden
203
210
  */
204
211
  const remainder = (dividend, divisor) => {
205
- return Math.abs(subtract(dividend, multiply(divisor, Math.floor(divide(dividend, divisor)))));
212
+ return Math.abs(subtract(dividend, multiply(divisor, floorDivide(dividend, divisor))));
206
213
  };
207
214
 
208
215
  /**
@@ -217,7 +224,7 @@ const calculateTicksCount = (min = 0, max = 0, smallStep = 1) => {
217
224
  throw new Error('Invalid argument: smallStep must be a positive number');
218
225
  }
219
226
  const adjustedRange = Math.abs(subtract(max, min));
220
- const adjustedRatio = Math.floor(divide(adjustedRange, smallStep));
227
+ const adjustedRatio = floorDivide(adjustedRange, smallStep);
221
228
  const result = add(adjustedRatio, 1);
222
229
  return result;
223
230
  };
@@ -275,11 +282,11 @@ const snapValue = (value, options) => {
275
282
  if (value !== limited) {
276
283
  return limited;
277
284
  }
278
- const left = decreaseValueToStep(value, options);
279
- const right = increaseValueToStep(value, options);
280
- if ((value - min) % smallStep === 0) {
285
+ if (remainder(subtract(value, min), smallStep) === 0) {
281
286
  return value;
282
287
  }
288
+ const left = decreaseValueToStep(value, options);
289
+ const right = increaseValueToStep(value, options);
283
290
  if (right - value <= (right - left) / 2) {
284
291
  return right;
285
292
  }
@@ -583,8 +590,8 @@ const packageMetadata = {
583
590
  productName: 'Kendo UI for Angular',
584
591
  productCode: 'KENDOUIANGULAR',
585
592
  productCodes: ['KENDOUIANGULAR'],
586
- publishDate: 1791387593,
587
- version: '25.3.0',
593
+ publishDate: 1791447274,
594
+ version: '25.3.1-develop.1',
588
595
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
589
596
  };
590
597
 
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1791387593,
11
- "version": "25.3.0",
10
+ "publishDate": 1791447274,
11
+ "version": "25.3.1-develop.1",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-inputs",
3
- "version": "25.3.0",
3
+ "version": "25.3.1-develop.1",
4
4
  "description": "Kendo UI for Angular Inputs Package - Everything you need to build professional form functionality (Checkbox, ColorGradient, ColorPalette, ColorPicker, FlatColorPicker, FormField, MaskedTextBox, NumericTextBox, RadioButton, RangeSlider, Slider, Switch, TextArea, and TextBox Components)",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -62,7 +62,7 @@
62
62
  "package": {
63
63
  "productName": "Kendo UI for Angular",
64
64
  "productCode": "KENDOUIANGULAR",
65
- "publishDate": 1791387593,
65
+ "publishDate": 1791447274,
66
66
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
67
67
  }
68
68
  },
@@ -74,20 +74,20 @@
74
74
  "@angular/platform-browser": "20 - 22",
75
75
  "@progress/kendo-drawing": "^1.25.0",
76
76
  "@progress/kendo-licensing": "^1.11.0",
77
- "@progress/kendo-angular-buttons": "25.3.0",
78
- "@progress/kendo-angular-common": "25.3.0",
79
- "@progress/kendo-angular-utils": "25.3.0",
80
- "@progress/kendo-angular-navigation": "25.3.0",
81
- "@progress/kendo-angular-dialog": "25.3.0",
82
- "@progress/kendo-angular-intl": "25.3.0",
83
- "@progress/kendo-angular-l10n": "25.3.0",
84
- "@progress/kendo-angular-popup": "25.3.0",
85
- "@progress/kendo-angular-icons": "25.3.0",
77
+ "@progress/kendo-angular-buttons": "25.3.1-develop.1",
78
+ "@progress/kendo-angular-common": "25.3.1-develop.1",
79
+ "@progress/kendo-angular-utils": "25.3.1-develop.1",
80
+ "@progress/kendo-angular-navigation": "25.3.1-develop.1",
81
+ "@progress/kendo-angular-dialog": "25.3.1-develop.1",
82
+ "@progress/kendo-angular-intl": "25.3.1-develop.1",
83
+ "@progress/kendo-angular-l10n": "25.3.1-develop.1",
84
+ "@progress/kendo-angular-popup": "25.3.1-develop.1",
85
+ "@progress/kendo-angular-icons": "25.3.1-develop.1",
86
86
  "rxjs": "^6.5.3 || ^7.0.0"
87
87
  },
88
88
  "dependencies": {
89
89
  "tslib": "^2.3.1",
90
- "@progress/kendo-angular-schematics": "25.3.0",
90
+ "@progress/kendo-angular-schematics": "25.3.1-develop.1",
91
91
  "@progress/kendo-common": "^1.0.1",
92
92
  "@progress/kendo-draggable": "^3.0.0",
93
93
  "@progress/kendo-inputs-common": "^3.1.0"