@snabcentr/client-ui 0.2.10 → 0.2.14
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.
Potentially problematic release.
This version of @snabcentr/client-ui might be problematic. Click here for more details.
- 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/catalog/price-card/sc-price-card.component.mjs +3 -3
- package/esm2020/tokens/sc-linear-values-token.mjs +2 -2
- package/esm2020/validators/stepValidator.mjs +10 -6
- package/fesm2015/snabcentr-client-ui.mjs +23 -11
- package/fesm2015/snabcentr-client-ui.mjs.map +1 -1
- package/fesm2020/snabcentr-client-ui.mjs +23 -11
- package/fesm2020/snabcentr-client-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/tailwind/tailwind.scss +6 -2
- package/validators/stepValidator.d.ts +2 -1
package/package.json
CHANGED
@@ -826,8 +826,8 @@ video {
|
|
826
826
|
height: 20.5rem;
|
827
827
|
}
|
828
828
|
|
829
|
-
.h-\[
|
830
|
-
height:
|
829
|
+
.h-\[19rem\] {
|
830
|
+
height: 19rem;
|
831
831
|
}
|
832
832
|
|
833
833
|
.h-\[30rem\] {
|
@@ -1304,6 +1304,10 @@ video {
|
|
1304
1304
|
color: var(--tui-success-fill);
|
1305
1305
|
}
|
1306
1306
|
|
1307
|
+
.text-tui-text-01 {
|
1308
|
+
color: var(--tui-text-01);
|
1309
|
+
}
|
1310
|
+
|
1307
1311
|
.text-tui-text-02 {
|
1308
1312
|
color: var(--tui-text-02);
|
1309
1313
|
}
|
@@ -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;
|