@netgrif/components 6.1.1 → 6.2.0-rc.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.
Files changed (70) hide show
  1. package/esm2020/lib/admin/admin.module.mjs +8 -4
  2. package/esm2020/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.mjs +3 -3
  3. package/esm2020/lib/admin/role-assignment/role-assignment.component.mjs +3 -3
  4. package/esm2020/lib/admin/user-invite/user-invite.component.mjs +3 -3
  5. package/esm2020/lib/data-fields/boolean-field/boolean-field.component.mjs +3 -3
  6. package/esm2020/lib/data-fields/button-field/button-field.component.mjs +16 -5
  7. package/esm2020/lib/data-fields/data-field-template/data-field-template.component.mjs +2 -2
  8. package/esm2020/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.mjs +3 -3
  9. package/esm2020/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.mjs +3 -3
  10. package/esm2020/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.mjs +3 -3
  11. package/esm2020/lib/data-fields/file-field/file-field.component.mjs +5 -5
  12. package/esm2020/lib/data-fields/file-field/preview-dialog/preview-dialog.component.mjs +2 -2
  13. package/esm2020/lib/data-fields/file-field-list/file-list-field.component.mjs +5 -5
  14. package/esm2020/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.mjs +3 -3
  15. package/esm2020/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.mjs +3 -3
  16. package/esm2020/lib/data-fields/number-field/number-field.component.mjs +4 -3
  17. package/esm2020/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.mjs +4 -3
  18. package/esm2020/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.mjs +4 -3
  19. package/esm2020/lib/data-fields/user-field/user-field.component.mjs +3 -3
  20. package/esm2020/lib/forms/email-submission/email-submission-form.component.mjs +3 -3
  21. package/esm2020/lib/forms/forgotten-password/forgotten-password-form.component.mjs +3 -3
  22. package/esm2020/lib/forms/login/login-form.component.mjs +3 -3
  23. package/esm2020/lib/forms/registration/registration-form.component.mjs +3 -3
  24. package/esm2020/lib/header/header-modes/edit-mode/edit-mode.component.mjs +3 -3
  25. package/esm2020/lib/header/header-modes/loading-mode/loading-mode.component.mjs +2 -2
  26. package/esm2020/lib/header/header-modes/search-mode/search-mode.component.mjs +3 -3
  27. package/esm2020/lib/header/header.component.mjs +3 -3
  28. package/esm2020/lib/header/header.module.mjs +8 -4
  29. package/esm2020/lib/navigation/navigation-double-drawer/navigation-double-drawer.component.mjs +36 -0
  30. package/esm2020/lib/navigation/navigation.module.mjs +8 -3
  31. package/esm2020/lib/navigation/public-api.mjs +2 -1
  32. package/esm2020/lib/panel/case-panel/case-panel.component.mjs +2 -2
  33. package/esm2020/lib/panel/panel.component.mjs +2 -2
  34. package/esm2020/lib/panel/task-panel/task-panel.component.mjs +2 -2
  35. package/esm2020/lib/search/advanced-search/advanced-search-component/advanced-search.component.mjs +3 -3
  36. package/esm2020/lib/search/search-component/search.component.mjs +3 -3
  37. package/esm2020/lib/side-menu/content-components/filter-selector/filter-selector.component.mjs +3 -3
  38. package/esm2020/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.mjs +6 -2
  39. package/esm2020/lib/side-menu/content-components/import-net/import-net.component.mjs +3 -3
  40. package/esm2020/lib/side-menu/content-components/new-case/new-case.component.mjs +3 -3
  41. package/esm2020/lib/side-menu/content-components/option-selector/option-selector.component.mjs +3 -3
  42. package/esm2020/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.mjs +8 -4
  43. package/esm2020/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.mjs +8 -4
  44. package/esm2020/lib/side-menu/content-components/user-assign/user-assign.component.mjs +3 -3
  45. package/esm2020/lib/task-content/field-component-resolver/field-component-resolver.component.mjs +3 -3
  46. package/esm2020/lib/task-content/task-content/task-content.component.mjs +3 -3
  47. package/esm2020/lib/toolbar/toolbar.component.mjs +3 -3
  48. package/esm2020/lib/user/profile/profile.component.mjs +3 -3
  49. package/esm2020/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.mjs +5 -4
  50. package/fesm2015/netgrif-components.mjs +208 -157
  51. package/fesm2015/netgrif-components.mjs.map +1 -1
  52. package/fesm2020/netgrif-components.mjs +208 -157
  53. package/fesm2020/netgrif-components.mjs.map +1 -1
  54. package/lib/admin/admin.module.d.ts +2 -1
  55. package/lib/data-fields/button-field/button-field.component.d.ts +5 -1
  56. package/lib/header/header.module.d.ts +2 -1
  57. package/lib/navigation/navigation-double-drawer/navigation-double-drawer.component.d.ts +15 -0
  58. package/lib/navigation/navigation.module.d.ts +15 -14
  59. package/lib/navigation/public-api.d.ts +1 -0
  60. package/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.d.ts +2 -1
  61. package/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.d.ts +2 -1
  62. package/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.d.ts +2 -1
  63. package/package.json +2 -2
  64. package/schematics/view/create-view-prompt/views/case-view/files/simple/__className@dasherize__.component.scss.template +1 -1
  65. package/schematics/view/create-view-prompt/views/case-view/files/tabbed/__className@dasherize__.component.scss.template +3 -3
  66. package/schematics/view/create-view-prompt/views/task-view/files/common/__className@dasherize__.component.scss.template +4 -4
  67. package/src/lib/data-fields/data-field.theme.scss +154 -22
  68. package/src/lib/header/header.theme.scss +5 -0
  69. package/src/lib/navigation/navigation.theme.scss +24 -0
  70. package/src/lib/tabs/tabs.theme.scss +5 -0
@@ -4,8 +4,9 @@ import * as i2 from "./ldap-group-role-assignment/ldap-group-role-assignment.com
4
4
  import * as i3 from "./user-invite/user-invite.component";
5
5
  import * as i4 from "@angular/common";
6
6
  import * as i5 from "@netgrif/components-core";
7
+ import * as i6 from "@angular/material/form-field";
7
8
  export declare class AdminComponentModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AdminComponentModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdminComponentModule, [typeof i1.RoleAssignmentComponent, typeof i2.LdapGroupRoleAssignmentComponent, typeof i3.UserInviteComponent], [typeof i4.CommonModule, typeof i5.MaterialModule, typeof i5.TranslateLibModule], [typeof i1.RoleAssignmentComponent, typeof i2.LdapGroupRoleAssignmentComponent, typeof i3.UserInviteComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdminComponentModule, [typeof i1.RoleAssignmentComponent, typeof i2.LdapGroupRoleAssignmentComponent, typeof i3.UserInviteComponent], [typeof i4.CommonModule, typeof i5.MaterialModule, typeof i5.TranslateLibModule, typeof i6.MatFormFieldModule], [typeof i1.RoleAssignmentComponent, typeof i2.LdapGroupRoleAssignmentComponent, typeof i3.UserInviteComponent]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<AdminComponentModule>;
11
12
  }
@@ -1,9 +1,13 @@
1
+ import { OnInit } from '@angular/core';
1
2
  import { TranslateService } from '@ngx-translate/core';
2
3
  import { AbstractButtonFieldComponent, DialogService } from '@netgrif/components-core';
3
4
  import * as i0 from "@angular/core";
4
- export declare class ButtonFieldComponent extends AbstractButtonFieldComponent {
5
+ export declare class ButtonFieldComponent extends AbstractButtonFieldComponent implements OnInit {
5
6
  protected dialogService: DialogService;
7
+ align: string;
8
+ stretch: string;
6
9
  constructor(translate: TranslateService, dialogService: DialogService, informAboutInvalidData: boolean | null);
10
+ ngOnInit(): void;
7
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonFieldComponent, [null, null, { optional: true; }]>;
8
12
  static ɵcmp: i0.ɵɵComponentDeclaration<ButtonFieldComponent, "nc-button-field", never, {}, {}, never, never>;
9
13
  }
@@ -8,8 +8,9 @@ import * as i6 from "@angular/common";
8
8
  import * as i7 from "@netgrif/components-core";
9
9
  import * as i8 from "@angular/flex-layout";
10
10
  import * as i9 from "@angular-material-components/datetime-picker";
11
+ import * as i10 from "@angular/material/form-field";
11
12
  export declare class HeaderComponentModule {
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponentModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<HeaderComponentModule, [typeof i1.HeaderComponent, typeof i2.SortModeComponent, typeof i3.SearchModeComponent, typeof i4.EditModeComponent, typeof i5.LoadingModeComponent], [typeof i6.CommonModule, typeof i7.MaterialModule, typeof i8.FlexModule, typeof i7.TranslateLibModule, typeof i7.MaterialModule, typeof i9.NgxMatDatetimePickerModule], [typeof i1.HeaderComponent, typeof i2.SortModeComponent, typeof i3.SearchModeComponent, typeof i4.EditModeComponent, typeof i5.LoadingModeComponent]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HeaderComponentModule, [typeof i1.HeaderComponent, typeof i2.SortModeComponent, typeof i3.SearchModeComponent, typeof i4.EditModeComponent, typeof i5.LoadingModeComponent], [typeof i6.CommonModule, typeof i7.MaterialModule, typeof i8.FlexModule, typeof i7.TranslateLibModule, typeof i7.MaterialModule, typeof i9.NgxMatDatetimePickerModule, typeof i10.MatFormFieldModule], [typeof i1.HeaderComponent, typeof i2.SortModeComponent, typeof i3.SearchModeComponent, typeof i4.EditModeComponent, typeof i5.LoadingModeComponent]>;
14
15
  static ɵinj: i0.ɵɵInjectorDeclaration<HeaderComponentModule>;
15
16
  }
@@ -0,0 +1,15 @@
1
+ import { Router } from '@angular/router';
2
+ import { BreakpointObserver } from '@angular/cdk/layout';
3
+ import { ConfigurationService, LanguageService, LoggerService, UserService, AbstractNavigationDoubleDrawerComponent } from 'netgrif-components-core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NavigationDoubleDrawerComponent extends AbstractNavigationDoubleDrawerComponent {
6
+ protected _router: Router;
7
+ protected _breakpoint: BreakpointObserver;
8
+ protected _languageService: LanguageService;
9
+ protected _userService: UserService;
10
+ protected _log: LoggerService;
11
+ protected _config: ConfigurationService;
12
+ constructor(_router: Router, _breakpoint: BreakpointObserver, _languageService: LanguageService, _userService: UserService, _log: LoggerService, _config: ConfigurationService);
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavigationDoubleDrawerComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavigationDoubleDrawerComponent, "nc-navigation-double-drawer", never, {}, {}, never, ["*"]>;
15
+ }
@@ -8,21 +8,22 @@ import * as i5 from "./group-navigation-component-resolver/default-components/de
8
8
  import * as i6 from "./group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component";
9
9
  import * as i7 from "./group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component";
10
10
  import * as i8 from "./group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component";
11
- import * as i9 from "@angular/common";
12
- import * as i10 from "@angular/router";
13
- import * as i11 from "@netgrif/components-core";
14
- import * as i12 from "@angular/flex-layout";
15
- import * as i13 from "./quick-panel/quick-panel.module";
16
- import * as i14 from "../user/user.module";
17
- import * as i15 from "angular-resizable-element";
18
- import * as i16 from "@angular/material/progress-spinner";
19
- import * as i17 from "../search/search.module";
20
- import * as i18 from "../header/header.module";
21
- import * as i19 from "../panel/panel.module";
22
- import * as i20 from "../tabs/tabs.module";
23
- import * as i21 from "../view/case-view/case-view.module";
11
+ import * as i9 from "./navigation-double-drawer/navigation-double-drawer.component";
12
+ import * as i10 from "@angular/common";
13
+ import * as i11 from "@angular/router";
14
+ import * as i12 from "@netgrif/components-core";
15
+ import * as i13 from "@angular/flex-layout";
16
+ import * as i14 from "./quick-panel/quick-panel.module";
17
+ import * as i15 from "../user/user.module";
18
+ import * as i16 from "angular-resizable-element";
19
+ import * as i17 from "@angular/material/progress-spinner";
20
+ import * as i18 from "../search/search.module";
21
+ import * as i19 from "../header/header.module";
22
+ import * as i20 from "../panel/panel.module";
23
+ import * as i21 from "../tabs/tabs.module";
24
+ import * as i22 from "../view/case-view/case-view.module";
24
25
  export declare class NavigationComponentModule {
25
26
  static ɵfac: i0.ɵɵFactoryDeclaration<NavigationComponentModule, never>;
26
- static ɵmod: i0.ɵɵNgModuleDeclaration<NavigationComponentModule, [typeof i1.NavigationDrawerComponent, typeof i2.NavigationRailComponent, typeof i3.NavigationTreeComponent, typeof i4.GroupNavigationComponentResolverComponent, typeof i5.DefaultSimpleTaskViewComponent, typeof i6.DefaultTabbedTaskViewComponent, typeof i7.DefaultTabbedCaseViewComponent, typeof i8.DefaultTabViewComponent], [typeof i9.CommonModule, typeof i10.RouterModule, typeof i11.MaterialModule, typeof i12.FlexModule, typeof i12.FlexLayoutModule, typeof i13.QuickPanelComponentModule, typeof i11.TranslateLibModule, typeof i14.UserComponentModule, typeof i15.ResizableModule, typeof i16.MatProgressSpinnerModule, typeof i17.SearchComponentModule, typeof i18.HeaderComponentModule, typeof i19.PanelComponentModule, typeof i20.TabsComponentModule, typeof i21.CaseViewComponentModule], [typeof i1.NavigationDrawerComponent, typeof i2.NavigationRailComponent, typeof i3.NavigationTreeComponent, typeof i4.GroupNavigationComponentResolverComponent, typeof i5.DefaultSimpleTaskViewComponent, typeof i6.DefaultTabbedTaskViewComponent, typeof i7.DefaultTabbedCaseViewComponent, typeof i8.DefaultTabViewComponent]>;
27
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NavigationComponentModule, [typeof i1.NavigationDrawerComponent, typeof i2.NavigationRailComponent, typeof i3.NavigationTreeComponent, typeof i4.GroupNavigationComponentResolverComponent, typeof i5.DefaultSimpleTaskViewComponent, typeof i6.DefaultTabbedTaskViewComponent, typeof i7.DefaultTabbedCaseViewComponent, typeof i8.DefaultTabViewComponent, typeof i9.NavigationDoubleDrawerComponent], [typeof i10.CommonModule, typeof i11.RouterModule, typeof i12.MaterialModule, typeof i13.FlexModule, typeof i13.FlexLayoutModule, typeof i14.QuickPanelComponentModule, typeof i12.TranslateLibModule, typeof i15.UserComponentModule, typeof i16.ResizableModule, typeof i17.MatProgressSpinnerModule, typeof i18.SearchComponentModule, typeof i19.HeaderComponentModule, typeof i20.PanelComponentModule, typeof i21.TabsComponentModule, typeof i22.CaseViewComponentModule], [typeof i1.NavigationDrawerComponent, typeof i9.NavigationDoubleDrawerComponent, typeof i2.NavigationRailComponent, typeof i3.NavigationTreeComponent, typeof i4.GroupNavigationComponentResolverComponent, typeof i5.DefaultSimpleTaskViewComponent, typeof i6.DefaultTabbedTaskViewComponent, typeof i7.DefaultTabbedCaseViewComponent, typeof i8.DefaultTabViewComponent]>;
27
28
  static ɵinj: i0.ɵɵInjectorDeclaration<NavigationComponentModule>;
28
29
  }
@@ -2,6 +2,7 @@ export * from './quick-panel/public-api';
2
2
  export * from './navigation.module';
3
3
  export * from './navigation-tree/navigation-tree.component';
4
4
  export * from './navigation-drawer/navigation-drawer.component';
5
+ export * from './navigation-double-drawer/navigation-double-drawer.component';
5
6
  export * from './navigation-rail/navigation-rail.component';
6
7
  export * from './group-navigation-component-resolver/group-navigation-component-resolver.component';
7
8
  export * from './group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component';
@@ -3,8 +3,9 @@ import * as i1 from "./filter-selector.component";
3
3
  import * as i2 from "./filter-selector-list-item/filter-selector-list-item.component";
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "@netgrif/components-core";
6
+ import * as i5 from "@angular/material/form-field";
6
7
  export declare class SideMenuFilterSelectorComponentModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SideMenuFilterSelectorComponentModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SideMenuFilterSelectorComponentModule, [typeof i1.FilterSelectorComponent, typeof i2.FilterSelectorListItemComponent], [typeof i3.CommonModule, typeof i4.MaterialModule, typeof i4.TranslateLibModule], [typeof i1.FilterSelectorComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SideMenuFilterSelectorComponentModule, [typeof i1.FilterSelectorComponent, typeof i2.FilterSelectorListItemComponent], [typeof i3.CommonModule, typeof i4.MaterialModule, typeof i4.TranslateLibModule, typeof i5.MatFormFieldModule], [typeof i1.FilterSelectorComponent]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<SideMenuFilterSelectorComponentModule>;
10
11
  }
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./option-selector.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@netgrif/components-core";
5
+ import * as i4 from "@angular/material/form-field";
5
6
  export declare class SideMenuOptionSelectorComponentModule {
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<SideMenuOptionSelectorComponentModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<SideMenuOptionSelectorComponentModule, [typeof i1.OptionSelectorComponent], [typeof i2.CommonModule, typeof i3.MaterialModule, typeof i3.TranslateLibModule], [typeof i1.OptionSelectorComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SideMenuOptionSelectorComponentModule, [typeof i1.OptionSelectorComponent], [typeof i2.CommonModule, typeof i3.MaterialModule, typeof i3.TranslateLibModule, typeof i4.MatFormFieldModule], [typeof i1.OptionSelectorComponent]>;
8
9
  static ɵinj: i0.ɵɵInjectorDeclaration<SideMenuOptionSelectorComponentModule>;
9
10
  }
@@ -6,8 +6,9 @@ import * as i4 from "@angular/common";
6
6
  import * as i5 from "@netgrif/components-core";
7
7
  import * as i6 from "@angular/flex-layout";
8
8
  import * as i7 from "@angular/forms";
9
+ import * as i8 from "@angular/material/form-field";
9
10
  export declare class SideMenuUserAssignComponentModule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SideMenuUserAssignComponentModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<SideMenuUserAssignComponentModule, [typeof i1.UserAssignComponent, typeof i2.UserAssignItemComponent, typeof i3.UserAssignListComponent], [typeof i4.CommonModule, typeof i5.MaterialModule, typeof i5.CovalentModule, typeof i6.FlexLayoutModule, typeof i6.FlexModule, typeof i7.FormsModule, typeof i5.TranslateLibModule], [typeof i1.UserAssignComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SideMenuUserAssignComponentModule, [typeof i1.UserAssignComponent, typeof i2.UserAssignItemComponent, typeof i3.UserAssignListComponent], [typeof i4.CommonModule, typeof i5.MaterialModule, typeof i5.CovalentModule, typeof i6.FlexLayoutModule, typeof i6.FlexModule, typeof i7.FormsModule, typeof i5.TranslateLibModule, typeof i8.MatFormFieldModule], [typeof i1.UserAssignComponent]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<SideMenuUserAssignComponentModule>;
13
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netgrif/components",
3
- "version": "6.1.1",
3
+ "version": "6.2.0-rc.1",
4
4
  "description": "Netgrif Application Engine frontend Angular components",
5
5
  "homepage": "https://components.netgrif.com",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -29,7 +29,7 @@
29
29
  "nae frontend"
30
30
  ],
31
31
  "peerDependencies": {
32
- "@netgrif/components-core": "6.1.1",
32
+ "@netgrif/components-core": "6.2.0-rc.1",
33
33
  "@angular-material-components/datetime-picker": "~7.0.1",
34
34
  "@angular-material-components/moment-adapter": "~7.0.0",
35
35
  "@angular/animations": "~13.3.1",
@@ -6,7 +6,7 @@
6
6
 
7
7
  .case-view-search-container {
8
8
  margin-top: 16px;
9
- padding: 16px;
9
+ padding: 8px 16px;
10
10
  }
11
11
 
12
12
  .case-header-padding {
@@ -4,12 +4,12 @@
4
4
  }
5
5
 
6
6
  .case-view-search-container {
7
- padding: 16px;
7
+ padding: 8px 16px;
8
8
  }
9
9
 
10
10
  .case-header-padding {
11
- padding-bottom: 20px;
12
- padding-top: 20px;
11
+ padding-bottom: 16px;
12
+ padding-top: 16px;
13
13
  }
14
14
 
15
15
  .font-size-20 {
@@ -5,14 +5,14 @@
5
5
  background-color: transparent;
6
6
  }
7
7
  .search-panel{
8
- margin-top: 20px;
8
+ margin-top: 16px;
9
9
  }
10
10
  .content-margin{
11
- margin: 0 20px;
11
+ margin: 0 16px;
12
12
  }
13
13
  .task-panel-padding-mini{
14
- padding-bottom: 20px;
15
- padding-top: 20px;
14
+ padding-bottom: 16px;
15
+ padding-top: 16px;
16
16
  }
17
17
  .full-height {
18
18
  height: 100%;
@@ -25,24 +25,6 @@
25
25
  padding: 8px 16px !important;
26
26
  }
27
27
 
28
- .mat-radio-label {
29
- height: auto !important;
30
- min-height: 48px;
31
- white-space: normal !important;
32
- line-height: normal !important;
33
- }
34
-
35
- .mat-list-option {
36
- height: auto !important;
37
- min-height: 48px;
38
- white-space: normal !important;
39
- line-height: normal !important;
40
- padding: 8px 0 !important;
41
- display: flex !important;
42
- justify-content: center;
43
- flex-direction: column;
44
- }
45
-
46
28
  .horizontal-state-primary {
47
29
  background-color: mat.get-color-from-palette($primary);
48
30
  }
@@ -73,21 +55,171 @@
73
55
  }
74
56
 
75
57
  .filled-language-row:hover {
76
- background-color: rgba(mat-color($primary), 0.2);
58
+ background-color: rgba(mat.get-color-from-palette($primary), 0.2);
77
59
  }
78
60
 
79
61
  .form-input:focus-within:not(.invalid-form-input) {
80
- border: solid 2px mat-color($primary) !important;
62
+ border: solid 2px mat.get-color-from-palette($primary) !important;
81
63
  padding: 1px !important;
82
64
  }
83
65
 
84
66
  .invalid-form-input {
85
- border: solid 2px mat-color($warn) !important;
67
+ border: solid 2px mat.get-color-from-palette($primary) !important;
86
68
  padding: 1px !important;
87
69
  }
88
70
 
89
71
  .invalid-form-label {
90
- color: mat-color($warn) !important;
72
+ color: mat.get-color-from-palette($primary) !important;
73
+ }
74
+
75
+ .netgrif-input {
76
+ .mat-form-field-infix {
77
+ padding: 8px 0 12px 0 !important;
78
+ font-weight: 400 !important;
79
+ font-size: 14px !important;
80
+ line-height: 20px !important;
81
+ width: unset;
82
+ min-width: 130px;
83
+ }
84
+
85
+ .mat-form-field-label-wrapper {
86
+ top: -1.1em !important;
87
+ font-weight: 400 !important;
88
+ font-size: 14px !important;
89
+ line-height: 20px !important;
90
+ }
91
+
92
+ .mat-select-arrow-wrapper {
93
+ transform: translateY(0) !important;
94
+ }
95
+
96
+ .mat-error {
97
+ font-size: 11px !important;
98
+ line-height: 18px !important;
99
+ }
100
+
101
+ .mat-hint {
102
+ font-size: 11px !important;
103
+ line-height: 18px !important;
104
+ }
105
+
106
+ .ql-toolbar.ql-snow {
107
+ border-radius: 6px 6px 0 0;
108
+ }
109
+
110
+ .ql-container.ql-snow {
111
+ border-radius: 0 0 6px 6px;
112
+ }
113
+
114
+ .mat-radio-label {
115
+ min-height: 36px !important;
116
+ }
117
+
118
+ .netgrif-label {
119
+ font-weight: 500;
120
+ }
121
+
122
+ .mat-list-option {
123
+ height: auto !important;
124
+ min-height: 36px;
125
+ padding: 0 !important;
126
+ white-space: normal !important;
127
+ line-height: normal !important;
128
+ display: flex !important;
129
+ justify-content: center;
130
+ flex-direction: column;
131
+ }
132
+
133
+ .mat-list-option:focus {
134
+ outline: none;
135
+ }
136
+
137
+ .mat-list-base .mat-list-item .mat-list-item-content, .mat-list-base .mat-list-option .mat-list-item-content {
138
+ min-height: 36px;
139
+ padding: 0 8px !important;
140
+ }
141
+
142
+ .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text {
143
+ padding-top: 8px;
144
+ padding-bottom: 8px;
145
+ }
146
+
147
+ .mat-list-base {
148
+ padding-top: 4px !important;
149
+ }
150
+
151
+ .mat-form-field-subscript-wrapper {
152
+ margin-top: 0.45em;
153
+ top: calc(100% - 2.05em);
154
+ }
155
+
156
+ }
157
+
158
+ .netgrif-input-fix {
159
+ .mat-form-field-wrapper {
160
+ padding-bottom: 0 !important;
161
+ }
162
+
163
+ input:-webkit-autofill,
164
+ input:-webkit-autofill:focus {
165
+ background: transparent !important;
166
+ }
167
+ }
168
+
169
+ .netgrif-input-search-fix {
170
+ .mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button {
171
+ width: unset !important;
172
+ height: unset !important;
173
+ top: 5px !important;
174
+ }
175
+ }
176
+
177
+ .netgrif-icon-fix {
178
+ margin-bottom: 18px;
179
+ }
180
+
181
+ .netgrif-input-primary-fix {
182
+ .mat-form-field-appearance-outline {
183
+ .mat-form-field-outline {
184
+ color: mat.get-contrast-color-from-palette($primary, 500);
185
+ }
186
+
187
+ .mat-form-field-outline-thick {
188
+ color: mat.get-contrast-color-from-palette($primary ,500);
189
+ }
190
+
191
+ &.mat-focused {
192
+ .mat-form-field-outline-thick {
193
+ color: mat.get-contrast-color-from-palette($primary, 500);
194
+ }
195
+ }
196
+ }
197
+
198
+ .mat-form-field-label {
199
+ color: mat.get-contrast-color-from-palette($primary, 500);
200
+ }
201
+
202
+ .mat-form-field.mat-focused .mat-form-field-label {
203
+ color: mat.get-contrast-color-from-palette($primary, 500);
204
+ }
205
+
206
+ .mat-datepicker-toggle {
207
+ color: mat.get-contrast-color-from-palette($primary, 500) !important;
208
+ }
209
+
210
+ ::placeholder {
211
+ color: mat.get-contrast-color-from-palette($primary, 500) !important;
212
+ }
213
+ }
214
+
215
+ .date-field-fix {
216
+ .mat-form-field-appearance-outline .mat-form-field-flex {
217
+ padding: 0 0.75em 0 0.5em !important;
218
+ }
219
+ }
220
+
221
+ .form-input-error {
222
+ border-color: mat.get-color-from-palette($warn) !important;
91
223
  }
92
224
  }
93
225
 
@@ -5,4 +5,9 @@
5
5
  .active-header-item {
6
6
  background: rgba(mat.get-color-from-palette($primary), 0.3);
7
7
  }
8
+
9
+ .header-color {
10
+ background: mat.get-color-from-palette($primary, 500);
11
+ color: mat.get-contrast-color-from-palette($primary, 500);
12
+ }
8
13
  }
@@ -1,9 +1,33 @@
1
1
  @use '@angular/material' as mat;
2
2
 
3
3
  @mixin navigation-theme($theme) {
4
+ $primary: map-get($theme, primary);
4
5
  $accent: map-get($theme, accent);
5
6
 
6
7
  .active-navigation-route {
7
8
  background-color: rgba(mat.get-color-from-palette($accent), 0.3);
8
9
  }
10
+
11
+ .active-rail {
12
+ background: white;
13
+ border-bottom: 1px solid #dddddd;
14
+ border-top: 1px solid #dddddd;
15
+ border-left: 3px solid mat.get-color-from-palette($primary);
16
+
17
+ .icon-large {
18
+ color: mat.get-color-from-palette($primary) !important;
19
+ }
20
+ }
21
+
22
+ .rail-color {
23
+ background: mat.get-color-from-palette($primary, 50);
24
+ }
25
+
26
+ .active {
27
+ color: mat.get-color-from-palette($primary) !important;
28
+ }
29
+
30
+ .logo, .toolbar {
31
+ background: mat.get-color-from-palette($primary, 50);
32
+ }
9
33
  }
@@ -10,5 +10,10 @@
10
10
  justify-content: flex-end;
11
11
  }
12
12
  }
13
+
14
+ .mat-tab-label-container {
15
+ border-radius: 6px;
16
+ background: white;
17
+ }
13
18
  }
14
19