@snabcentr/client-ui 0.2.11 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- package/cart/sc-cart.module.d.ts +5 -4
- package/esm2020/cart/cart-item-mobile/sc-cart-item-mobile.component.mjs +4 -3
- package/esm2020/cart/sc-cart.module.mjs +9 -2
- package/esm2020/tokens/sc-linear-values-token.mjs +2 -2
- package/esm2020/validators/stepValidator.mjs +10 -6
- package/fesm2015/snabcentr-client-ui.mjs +21 -9
- package/fesm2015/snabcentr-client-ui.mjs.map +1 -1
- package/fesm2020/snabcentr-client-ui.mjs +21 -9
- package/fesm2020/snabcentr-client-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/tailwind/tailwind.scss +4 -0
- package/validators/stepValidator.d.ts +2 -1
package/package.json
CHANGED
@@ -3,5 +3,6 @@ import { ValidatorFn } from '@angular/forms';
|
|
3
3
|
* Проверяет кратность значения.
|
4
4
|
*
|
5
5
|
* @param step Шаг кратности.
|
6
|
+
* @param tolerance Допустимая погрешность.
|
6
7
|
*/
|
7
|
-
export declare function stepValidator(step: number): ValidatorFn;
|
8
|
+
export declare function stepValidator(step: number, tolerance?: number): ValidatorFn;
|