@snabcentr/client-ui 0.4.0 → 0.5.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.

Potentially problematic release.


This version of @snabcentr/client-ui might be problematic. Click here for more details.

Files changed (26) hide show
  1. package/auth/constants/phone-approve-code-mask.d.ts +5 -0
  2. package/auth/enums/auth-method.d.ts +13 -0
  3. package/auth/index.d.ts +7 -0
  4. package/auth/interfaces/ApiErrorResponse.d.ts +15 -0
  5. package/auth/sc-auth.module.d.ts +18 -0
  6. package/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.d.ts +39 -0
  7. package/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.d.ts +77 -0
  8. package/auth/sc-sign-in-form/sc-sign-in-form.component.d.ts +49 -0
  9. package/catalog/price-card/sc-price-card.component.d.ts +4 -0
  10. package/esm2020/auth/constants/phone-approve-code-mask.mjs +7 -0
  11. package/esm2020/auth/enums/auth-method.mjs +15 -0
  12. package/esm2020/auth/index.mjs +8 -0
  13. package/esm2020/auth/interfaces/ApiErrorResponse.mjs +2 -0
  14. package/esm2020/auth/sc-auth.module.mjs +75 -0
  15. package/esm2020/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +64 -0
  16. package/esm2020/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +139 -0
  17. package/esm2020/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +71 -0
  18. package/esm2020/catalog/price-card/sc-price-card.component.mjs +9 -4
  19. package/esm2020/public-api.mjs +2 -1
  20. package/fesm2015/snabcentr-client-ui.mjs +367 -29
  21. package/fesm2015/snabcentr-client-ui.mjs.map +1 -1
  22. package/fesm2020/snabcentr-client-ui.mjs +363 -29
  23. package/fesm2020/snabcentr-client-ui.mjs.map +1 -1
  24. package/package.json +4 -2
  25. package/public-api.d.ts +1 -0
  26. package/styles/tailwind/tailwind.scss +47 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snabcentr/client-ui",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
4
4
  "author": "Snabcentr Ltd.",
5
5
  "repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
6
6
  "license": "Commercial",
@@ -14,7 +14,9 @@
14
14
  "@angular/platform-browser": ">=14.2.12",
15
15
  "@angular/platform-browser-dynamic": ">=14.2.12",
16
16
  "@angular/material": ">=14.2.7",
17
- "@snabcentr/client-core": ">=0.4.7",
17
+ "@snabcentr/client-core": ">=0.5.0",
18
+ "@maskito/angular": ">=1.7.0",
19
+ "@maskito/core": ">=1.7.0",
18
20
  "@taiga-ui/addon-charts": ">=3.42.1",
19
21
  "@taiga-ui/addon-commerce": ">=3.42.1",
20
22
  "@taiga-ui/addon-doc": ">=3.42.1",
package/public-api.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './auth';
1
2
  export * from './banner';
2
3
  export * from './cart';
3
4
  export * from './catalog';
@@ -1,5 +1,5 @@
1
1
  /*
2
- ! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
2
+ ! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com
3
3
  */
4
4
 
5
5
  /*
@@ -211,6 +211,8 @@ textarea {
211
211
  /* 1 */
212
212
  line-height: inherit;
213
213
  /* 1 */
214
+ letter-spacing: inherit;
215
+ /* 1 */
214
216
  color: inherit;
215
217
  /* 1 */
216
218
  margin: 0;
@@ -234,9 +236,9 @@ select {
234
236
  */
235
237
 
236
238
  button,
237
- [type='button'],
238
- [type='reset'],
239
- [type='submit'] {
239
+ input:where([type='button']),
240
+ input:where([type='reset']),
241
+ input:where([type='submit']) {
240
242
  -webkit-appearance: button;
241
243
  /* 1 */
242
244
  background-color: transparent;
@@ -492,6 +494,10 @@ video {
492
494
  --tw-backdrop-opacity: ;
493
495
  --tw-backdrop-saturate: ;
494
496
  --tw-backdrop-sepia: ;
497
+ --tw-contain-size: ;
498
+ --tw-contain-layout: ;
499
+ --tw-contain-paint: ;
500
+ --tw-contain-style: ;
495
501
  }
496
502
 
497
503
  ::backdrop {
@@ -542,6 +548,10 @@ video {
542
548
  --tw-backdrop-opacity: ;
543
549
  --tw-backdrop-saturate: ;
544
550
  --tw-backdrop-sepia: ;
551
+ --tw-contain-size: ;
552
+ --tw-contain-layout: ;
553
+ --tw-contain-paint: ;
554
+ --tw-contain-style: ;
545
555
  }
546
556
 
547
557
  .container {
@@ -719,6 +729,14 @@ video {
719
729
  margin-bottom: 0.75rem;
720
730
  }
721
731
 
732
+ .mb-4 {
733
+ margin-bottom: 1rem;
734
+ }
735
+
736
+ .mb-8 {
737
+ margin-bottom: 2rem;
738
+ }
739
+
722
740
  .ml-2 {
723
741
  margin-left: 0.5rem;
724
742
  }
@@ -842,6 +860,10 @@ video {
842
860
  max-height: 100%;
843
861
  }
844
862
 
863
+ .\!w-36 {
864
+ width: 9rem !important;
865
+ }
866
+
845
867
  .\!w-5 {
846
868
  width: 1.25rem !important;
847
869
  }
@@ -926,6 +948,10 @@ video {
926
948
  width: 100%;
927
949
  }
928
950
 
951
+ .\!min-w-0 {
952
+ min-width: 0px !important;
953
+ }
954
+
929
955
  .min-w-\[10rem\] {
930
956
  min-width: 10rem;
931
957
  }
@@ -1233,6 +1259,11 @@ video {
1233
1259
  line-height: 1rem !important;
1234
1260
  }
1235
1261
 
1262
+ .text-base {
1263
+ font-size: 1rem;
1264
+ line-height: 1.5rem;
1265
+ }
1266
+
1236
1267
  .text-lg {
1237
1268
  font-size: 1.125rem;
1238
1269
  line-height: 1.75rem;
@@ -1248,10 +1279,18 @@ video {
1248
1279
  line-height: 1rem;
1249
1280
  }
1250
1281
 
1282
+ .\!font-bold {
1283
+ font-weight: 700 !important;
1284
+ }
1285
+
1251
1286
  .font-bold {
1252
1287
  font-weight: 700;
1253
1288
  }
1254
1289
 
1290
+ .font-medium {
1291
+ font-weight: 500;
1292
+ }
1293
+
1255
1294
  .uppercase {
1256
1295
  text-transform: uppercase;
1257
1296
  }
@@ -1273,6 +1312,10 @@ video {
1273
1312
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
1274
1313
  }
1275
1314
 
1315
+ .\!text-tui-base-08 {
1316
+ color: var(--tui-base-08) !important;
1317
+ }
1318
+
1276
1319
  .text-black {
1277
1320
  --tw-text-opacity: 1;
1278
1321
  color: rgb(0 0 0 / var(--tw-text-opacity));