@snabcentr/client-ui 0.31.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) 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/sc-catalog.module.d.ts +1 -1
  5. package/contacts/sc-contacts.module.d.ts +1 -1
  6. package/contragents/sc-contragents.module.d.ts +1 -1
  7. package/delivery-address/sc-delivery-address.module.d.ts +1 -1
  8. package/esm2020/accordion/sc-accordion.component.mjs +3 -3
  9. package/esm2020/accordion/sc-accordion.module.mjs +8 -8
  10. package/esm2020/auth/sc-auth.module.mjs +2 -5
  11. package/esm2020/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +3 -3
  12. package/esm2020/cart/cart-item-mobile/sc-cart-item-mobile.component.mjs +3 -3
  13. package/esm2020/cart/sc-cart.module.mjs +7 -10
  14. package/esm2020/catalog/input-quantity/sc-input-quantity.component.mjs +3 -3
  15. package/esm2020/catalog/sc-catalog.module.mjs +2 -5
  16. package/esm2020/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +3 -3
  17. package/esm2020/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +3 -3
  18. package/esm2020/contacts/sc-contacts.module.mjs +10 -13
  19. package/esm2020/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +3 -3
  20. package/esm2020/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +3 -3
  21. package/esm2020/contragents/sc-contragents.module.mjs +2 -5
  22. package/esm2020/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +3 -3
  23. package/esm2020/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.mjs +3 -3
  24. package/esm2020/delivery-address/sc-delivery-address.module.mjs +11 -14
  25. package/esm2020/directives/next-input-focus/sc-next-input-focus.directive.mjs +2 -2
  26. package/esm2020/order/order-item-mobile/order-item-mobile.component.mjs +3 -3
  27. package/esm2020/order/sc-order.module.mjs +5 -5
  28. package/esm2020/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +3 -3
  29. package/esm2020/profile/sc-profile.module.mjs +9 -12
  30. package/esm2020/user/sc-user.module.mjs +2 -5
  31. package/esm2020/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +3 -3
  32. package/esm2020/user/user-managers/sc-user-managers.component.mjs +3 -3
  33. package/esm2020/verification/sc-verification.module.mjs +7 -10
  34. package/fesm2015/snabcentr-client-ui.mjs +549 -576
  35. package/fesm2015/snabcentr-client-ui.mjs.map +1 -1
  36. package/fesm2020/snabcentr-client-ui.mjs +535 -562
  37. package/fesm2020/snabcentr-client-ui.mjs.map +1 -1
  38. package/order/sc-order.module.d.ts +1 -1
  39. package/package.json +32 -32
  40. package/profile/sc-profile.module.d.ts +1 -1
  41. package/styles/taiga/variables.less +6 -3
  42. package/styles/tailwind/tailwind.scss +1 -9
  43. package/user/sc-user.module.d.ts +1 -1
  44. 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.31.0",
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
@@ -825,10 +825,6 @@ video {
825
825
  height: 3rem;
826
826
  }
827
827
 
828
- .h-20 {
829
- height: 5rem;
830
- }
831
-
832
828
  .h-3 {
833
829
  height: 0.75rem;
834
830
  }
@@ -865,10 +861,6 @@ video {
865
861
  width: 2rem !important;
866
862
  }
867
863
 
868
- .w-20 {
869
- width: 5rem;
870
- }
871
-
872
864
  .w-28 {
873
865
  width: 7rem;
874
866
  }
@@ -909,7 +901,7 @@ video {
909
901
  min-width: 10rem;
910
902
  }
911
903
 
912
- .min-w-\[18rem\] {
904
+ .min-w-72 {
913
905
  min-width: 18rem;
914
906
  }
915
907
 
@@ -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
  }