@snabcentr/client-ui 0.30.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. package/accordion/sc-accordion.module.d.ts +1 -1
  2. package/auth/sc-auth.module.d.ts +1 -1
  3. package/cart/sc-cart.module.d.ts +1 -1
  4. package/catalog/categories-list/sc-categories-list.component.d.ts +4 -2
  5. package/catalog/sc-catalog.module.d.ts +1 -1
  6. package/contacts/sc-contacts.module.d.ts +1 -1
  7. package/contragents/sc-contragents.module.d.ts +1 -1
  8. package/delivery-address/sc-delivery-address.module.d.ts +1 -1
  9. package/esm2020/accordion/sc-accordion.component.mjs +3 -3
  10. package/esm2020/accordion/sc-accordion.module.mjs +8 -8
  11. package/esm2020/auth/sc-auth.module.mjs +2 -5
  12. package/esm2020/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +3 -3
  13. package/esm2020/cart/cart-item-mobile/sc-cart-item-mobile.component.mjs +3 -3
  14. package/esm2020/cart/sc-cart.module.mjs +7 -10
  15. package/esm2020/catalog/categories-list/sc-categories-list.component.mjs +20 -12
  16. package/esm2020/catalog/input-quantity/sc-input-quantity.component.mjs +3 -3
  17. package/esm2020/catalog/sc-catalog.module.mjs +2 -5
  18. package/esm2020/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +3 -3
  19. package/esm2020/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +3 -3
  20. package/esm2020/contacts/sc-contacts.module.mjs +10 -13
  21. package/esm2020/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +3 -3
  22. package/esm2020/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +3 -3
  23. package/esm2020/contragents/sc-contragents.module.mjs +2 -5
  24. package/esm2020/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +3 -3
  25. package/esm2020/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.mjs +3 -3
  26. package/esm2020/delivery-address/sc-delivery-address.module.mjs +11 -14
  27. package/esm2020/directives/next-input-focus/sc-next-input-focus.directive.mjs +2 -2
  28. package/esm2020/order/order-item-mobile/order-item-mobile.component.mjs +3 -3
  29. package/esm2020/order/sc-order.module.mjs +5 -5
  30. package/esm2020/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +3 -3
  31. package/esm2020/profile/sc-profile.module.mjs +9 -12
  32. package/esm2020/user/sc-user.module.mjs +2 -5
  33. package/esm2020/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +3 -3
  34. package/esm2020/user/user-managers/sc-user-managers.component.mjs +3 -3
  35. package/esm2020/verification/sc-verification.module.mjs +7 -10
  36. package/fesm2015/snabcentr-client-ui.mjs +549 -570
  37. package/fesm2015/snabcentr-client-ui.mjs.map +1 -1
  38. package/fesm2020/snabcentr-client-ui.mjs +536 -556
  39. package/fesm2020/snabcentr-client-ui.mjs.map +1 -1
  40. package/order/sc-order.module.d.ts +1 -1
  41. package/package.json +32 -32
  42. package/profile/sc-profile.module.d.ts +1 -1
  43. package/styles/taiga/variables.less +6 -3
  44. package/styles/tailwind/tailwind.scss +9 -9
  45. package/user/sc-user.module.d.ts +1 -1
  46. package/verification/sc-verification.module.d.ts +1 -1
@@ -12,6 +12,6 @@ import * as i8 from "@tinkoff/ng-polymorpheus";
12
12
  */
13
13
  export declare class ScOrderModule {
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ScOrderModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScOrderModule, [typeof i1.ScOrderItemMobileComponent, typeof i2.ScPaymentStatusComponent], [typeof i3.CommonModule, typeof i4.TuiLinkModule, typeof i4.TuiButtonModule, typeof i4.TuiModeModule, typeof i4.TuiSvgModule, typeof i5.TuiBlockStatusModule, typeof i6.TuiPreviewModule, typeof i7.ScCatalogModule, typeof i8.PolymorpheusModule], [typeof i1.ScOrderItemMobileComponent, typeof i2.ScPaymentStatusComponent]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScOrderModule, [typeof i1.ScOrderItemMobileComponent, typeof i2.ScPaymentStatusComponent], [typeof i3.CommonModule, typeof i4.TuiLinkModule, typeof i4.TuiButtonModule, typeof i4.TuiSvgModule, typeof i5.TuiBlockStatusModule, typeof i6.TuiPreviewModule, typeof i7.ScCatalogModule, typeof i8.PolymorpheusModule], [typeof i1.ScOrderItemMobileComponent, typeof i2.ScPaymentStatusComponent]>;
16
16
  static ɵinj: i0.ɵɵInjectorDeclaration<ScOrderModule>;
17
17
  }
package/package.json CHANGED
@@ -1,44 +1,44 @@
1
1
  {
2
2
  "name": "@snabcentr/client-ui",
3
- "version": "0.30.2",
3
+ "version": "1.0.0",
4
4
  "author": "Snabcentr Ltd.",
5
5
  "repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
6
6
  "license": "Commercial",
7
7
  "description": "Snabcentr client UI package.",
8
8
  "peerDependencies": {
9
- "@angular/common": "^14.2.12 || ^16.2.12",
10
- "@angular/compiler": "^14.2.12 || ^16.2.12",
11
- "@angular/core": "^14.2.12 || ^16.2.12",
12
- "@angular/forms": "^14.2.12 || ^16.2.12",
13
- "@angular/platform-browser": "^14.2.12 || ^16.2.12",
14
- "@angular/platform-browser-dynamic": "^14.2.12 || ^16.2.12",
15
- "@angular/router": "^14.2.12 || ^16.2.12",
16
- "@maskito/angular": "^1.7.0",
17
- "@maskito/core": "^1.9.0",
18
- "@ng-web-apis/common": "^3.0.6",
19
- "@ng-web-apis/intersection-observer": "^3.2.0",
20
- "@ng-web-apis/storage": "^3.0.6",
21
- "@ngneat/until-destroy": "^9.2.3 || ^10.0.0",
22
- "@snabcentr/client-core": "^0.18.0",
23
- "@taiga-ui/addon-charts": "^3.42.1",
24
- "@taiga-ui/addon-commerce": "^3.42.1",
25
- "@taiga-ui/addon-doc": "^3.42.1",
26
- "@taiga-ui/addon-mobile": "^3.42.1",
27
- "@taiga-ui/addon-preview": "^3.42.1",
28
- "@taiga-ui/addon-table": "^3.42.1",
29
- "@taiga-ui/addon-tablebars": "^3.42.1",
30
- "@taiga-ui/cdk": "^3.42.1",
31
- "@taiga-ui/core": "^3.42.1",
32
- "@taiga-ui/icons": "^3.42.1",
33
- "@taiga-ui/kit": "^3.42.1",
34
- "@taiga-ui/layout": "^3.42.1",
35
- "@taiga-ui/styles": "^3.42.1",
36
- "@tinkoff/ng-polymorpheus": "^4.1.0",
37
- "date-fns": "^2.30.0",
38
- "rxjs": "^7.8.1",
9
+ "@angular/common": ">=14.2.12",
10
+ "@angular/compiler": ">=14.2.12",
11
+ "@angular/core": ">=14.2.12",
12
+ "@angular/forms": ">=14.2.12",
13
+ "@angular/platform-browser": ">=14.2.12",
14
+ "@angular/platform-browser-dynamic": ">=14.2.12",
15
+ "@angular/router": ">=14.2.12",
16
+ "@maskito/angular": ">=1.7.0",
17
+ "@maskito/core": ">=1.9.0",
18
+ "@ng-web-apis/common": ">=3.0.6",
19
+ "@ng-web-apis/intersection-observer": ">=3.2.0",
20
+ "@ng-web-apis/storage": ">=3.0.6",
21
+ "@ngneat/until-destroy": ">=9.2.3",
22
+ "@snabcentr/client-core": ">=0.18.0",
23
+ "@taiga-ui/addon-charts": ">=3.42.1",
24
+ "@taiga-ui/addon-commerce": ">=3.42.1",
25
+ "@taiga-ui/addon-doc": ">=3.42.1",
26
+ "@taiga-ui/addon-mobile": ">=3.42.1",
27
+ "@taiga-ui/addon-preview": ">=3.42.1",
28
+ "@taiga-ui/addon-table": ">=3.42.1",
29
+ "@taiga-ui/addon-tablebars": ">=3.42.1",
30
+ "@taiga-ui/cdk": ">=3.42.1",
31
+ "@taiga-ui/core": ">=3.42.1",
32
+ "@taiga-ui/icons": ">=3.42.1",
33
+ "@taiga-ui/kit": ">=3.42.1",
34
+ "@taiga-ui/layout": ">=3.42.1",
35
+ "@taiga-ui/styles": ">=3.42.1",
36
+ "@tinkoff/ng-polymorpheus": ">=4.1.0",
37
+ "date-fns": ">=2.30.0",
38
+ "rxjs": ">=7.0.0",
39
39
  "schema-dts": "^1.1.2",
40
40
  "ts-case-convert": "^2.0.7",
41
- "zone.js": "^0.12.0 || ^0.13.3"
41
+ "zone.js": ">=0.12.0"
42
42
  },
43
43
  "dependencies": {
44
44
  "tslib": "^2.3.0"
@@ -15,6 +15,6 @@ import * as i11 from "../contacts/sc-contacts.module";
15
15
  */
16
16
  export declare class ScProfileModule {
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ScProfileModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScProfileModule, [typeof i1.ScProfileAccordionsContentComponent], [typeof i2.CommonModule, typeof i3.ScUserModule, typeof i4.ScAccordionModule, typeof i5.ScContragentsModule, typeof i6.ScDeliveryAddressModule, typeof i7.TuiLoaderModule, typeof i8.TuiLetModule, typeof i7.TuiLinkModule, typeof i7.TuiModeModule, typeof i7.TuiFormatPhonePipeModule, typeof i9.TuiCheckboxLabeledModule, typeof i7.TuiSvgModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i7.TuiLoaderModule, typeof i7.TuiButtonModule, typeof i11.ScContactsModule], [typeof i1.ScProfileAccordionsContentComponent]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScProfileModule, [typeof i1.ScProfileAccordionsContentComponent], [typeof i2.CommonModule, typeof i3.ScUserModule, typeof i4.ScAccordionModule, typeof i5.ScContragentsModule, typeof i6.ScDeliveryAddressModule, typeof i7.TuiLoaderModule, typeof i8.TuiLetModule, typeof i7.TuiLinkModule, typeof i7.TuiFormatPhonePipeModule, typeof i9.TuiCheckboxLabeledModule, typeof i7.TuiSvgModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i7.TuiLoaderModule, typeof i7.TuiButtonModule, typeof i11.ScContactsModule], [typeof i1.ScProfileAccordionsContentComponent]>;
19
19
  static ɵinj: i0.ɵɵInjectorDeclaration<ScProfileModule>;
20
20
  }
@@ -1,10 +1,13 @@
1
1
  :root {
2
- // Sizes
3
- --tui-skeleton-radius: var(--tui-radius-m);
4
- // Base colors
2
+ // Sizes
3
+ --tui-skeleton-radius: var(--tui-radius-m);
4
+ // Base colors
5
5
  --tui-primary: #ffcc40; // primary buttons, background
6
6
  --tui-primary-hover: #ffe49b; // primary buttons hover
7
7
  --tui-primary-active: #ffbb00; // primary buttons pressed
8
+ --tui-secondary: #f4f4f4; // primary buttons, background
9
+ --tui-secondary-hover: #ececec; // primary buttons hover
10
+ --tui-secondary-active: #e0e0e0; // primary buttons pressed
8
11
  --tui-clear: rgba(246, 246, 246, 1); // translucent dark fill
9
12
  --tui-clear-disabled: rgb(230, 229, 229); // translucent dark fill disabled
10
13
  --tui-clear-hover: rgba(238, 239, 239, 1); // translucent dark fill hover
@@ -745,6 +745,10 @@ video {
745
745
  display: inline;
746
746
  }
747
747
 
748
+ .\!flex {
749
+ display: flex !important;
750
+ }
751
+
748
752
  .flex {
749
753
  display: flex;
750
754
  }
@@ -821,10 +825,6 @@ video {
821
825
  height: 3rem;
822
826
  }
823
827
 
824
- .h-20 {
825
- height: 5rem;
826
- }
827
-
828
828
  .h-3 {
829
829
  height: 0.75rem;
830
830
  }
@@ -861,10 +861,6 @@ video {
861
861
  width: 2rem !important;
862
862
  }
863
863
 
864
- .w-20 {
865
- width: 5rem;
866
- }
867
-
868
864
  .w-28 {
869
865
  width: 7rem;
870
866
  }
@@ -905,7 +901,7 @@ video {
905
901
  min-width: 10rem;
906
902
  }
907
903
 
908
- .min-w-\[18rem\] {
904
+ .min-w-72 {
909
905
  min-width: 18rem;
910
906
  }
911
907
 
@@ -963,6 +959,10 @@ video {
963
959
  grid-template-columns: repeat(auto-fill,minmax(21rem,1fr));
964
960
  }
965
961
 
962
+ .\!flex-col {
963
+ flex-direction: column !important;
964
+ }
965
+
966
966
  .flex-col {
967
967
  flex-direction: column;
968
968
  }
@@ -15,6 +15,6 @@ import * as i11 from "../form-fields/form-fields.module";
15
15
  */
16
16
  export declare class ScUserModule {
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ScUserModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScUserModule, [typeof i1.ScResetUserPasswordComponent, typeof i2.ScUpdateUserInfoDialogComponent, typeof i3.ScUserPhoneApproveDialogComponent, typeof i4.ScUserManagersComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.TuiFieldErrorPipeModule, typeof i7.TuiInputPasswordModule, typeof i8.TuiButtonModule, typeof i8.TuiErrorModule, typeof i8.TuiLabelModule, typeof i8.TuiTextfieldControllerModule, typeof i9.TuiLetModule, typeof i10.ScVerificationModule, typeof i11.ScFormFieldsModule, typeof i8.TuiLoaderModule, typeof i7.TuiInputModule, typeof i7.TuiInputPhoneModule, typeof i7.TuiCheckboxModule, typeof i7.TuiCheckboxLabeledModule, typeof i8.TuiDataListModule, typeof i7.TuiSelectModule, typeof i8.TuiModeModule, typeof i8.TuiLinkModule, typeof i8.TuiFormatPhonePipeModule], [typeof i1.ScResetUserPasswordComponent, typeof i2.ScUpdateUserInfoDialogComponent, typeof i3.ScUserPhoneApproveDialogComponent, typeof i4.ScUserManagersComponent]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScUserModule, [typeof i1.ScResetUserPasswordComponent, typeof i2.ScUpdateUserInfoDialogComponent, typeof i3.ScUserPhoneApproveDialogComponent, typeof i4.ScUserManagersComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.TuiFieldErrorPipeModule, typeof i7.TuiInputPasswordModule, typeof i8.TuiButtonModule, typeof i8.TuiErrorModule, typeof i8.TuiLabelModule, typeof i8.TuiTextfieldControllerModule, typeof i9.TuiLetModule, typeof i10.ScVerificationModule, typeof i11.ScFormFieldsModule, typeof i8.TuiLoaderModule, typeof i7.TuiInputModule, typeof i7.TuiInputPhoneModule, typeof i7.TuiCheckboxModule, typeof i7.TuiCheckboxLabeledModule, typeof i8.TuiDataListModule, typeof i7.TuiSelectModule, typeof i8.TuiLinkModule, typeof i8.TuiFormatPhonePipeModule], [typeof i1.ScResetUserPasswordComponent, typeof i2.ScUpdateUserInfoDialogComponent, typeof i3.ScUserPhoneApproveDialogComponent, typeof i4.ScUserManagersComponent]>;
19
19
  static ɵinj: i0.ɵɵInjectorDeclaration<ScUserModule>;
20
20
  }
@@ -11,6 +11,6 @@ import * as i7 from "@maskito/angular";
11
11
  */
12
12
  export declare class ScVerificationModule {
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<ScVerificationModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScVerificationModule, [typeof i1.ScVerificationPhoneCheckFormComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.TuiInputPasswordModule, typeof i4.TuiInputModule, typeof i5.TuiTextfieldControllerModule, typeof i5.TuiLinkModule, typeof i5.TuiButtonModule, typeof i5.TuiLabelModule, typeof i5.TuiModeModule, typeof i4.TuiFieldErrorPipeModule, typeof i5.TuiErrorModule, typeof i6.TuiLetModule, typeof i5.TuiLoaderModule, typeof i4.TuiInputPhoneModule, typeof i7.MaskitoModule], [typeof i1.ScVerificationPhoneCheckFormComponent]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScVerificationModule, [typeof i1.ScVerificationPhoneCheckFormComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.TuiInputPasswordModule, typeof i4.TuiInputModule, typeof i5.TuiTextfieldControllerModule, typeof i5.TuiLinkModule, typeof i5.TuiButtonModule, typeof i5.TuiLabelModule, typeof i4.TuiFieldErrorPipeModule, typeof i5.TuiErrorModule, typeof i6.TuiLetModule, typeof i5.TuiLoaderModule, typeof i4.TuiInputPhoneModule, typeof i7.MaskitoModule], [typeof i1.ScVerificationPhoneCheckFormComponent]>;
15
15
  static ɵinj: i0.ɵɵInjectorDeclaration<ScVerificationModule>;
16
16
  }