@indigina/ui-kit 1.1.12 → 1.1.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.
Files changed (96) hide show
  1. package/assets/icons/chart.svg +3 -0
  2. package/assets/icons/clip.svg +3 -0
  3. package/assets/icons/gear-1.svg +5 -0
  4. package/assets/icons/house.svg +5 -0
  5. package/esm2022/lib/components/kit-autocomplete/kit-autocomplete.component.mjs +7 -7
  6. package/esm2022/lib/components/kit-autocomplete/kit-autocomplete.directive.mjs +5 -5
  7. package/esm2022/lib/components/kit-autocomplete/kit-autocomplete.module.mjs +4 -4
  8. package/esm2022/lib/components/kit-button/kit-button.component.mjs +4 -4
  9. package/esm2022/lib/components/kit-button/kit-button.module.mjs +4 -4
  10. package/esm2022/lib/components/kit-checkbox/kit-checkbox.component.mjs +3 -3
  11. package/esm2022/lib/components/kit-checkbox/kit-checkbox.module.mjs +4 -4
  12. package/esm2022/lib/components/kit-copy-text/kit-copy-text.component.mjs +6 -6
  13. package/esm2022/lib/components/kit-copy-text/kit-copy-text.module.mjs +4 -4
  14. package/esm2022/lib/components/kit-cta-panel-abstract-confirmation/kit-cta-panel-abstract-confirmation.component.mjs +3 -3
  15. package/esm2022/lib/components/kit-cta-panel-abstract-confirmation/kit-cta-panel-abstract-confirmation.module.mjs +4 -4
  16. package/esm2022/lib/components/kit-cta-panel-action/kit-cta-panel-action.component.mjs +3 -3
  17. package/esm2022/lib/components/kit-cta-panel-action/kit-cta-panel-action.module.mjs +4 -4
  18. package/esm2022/lib/components/kit-cta-panel-confirmation/abstract-kit-cta-panel-confirmation.component.mjs +3 -3
  19. package/esm2022/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.component.mjs +5 -5
  20. package/esm2022/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.module.mjs +4 -4
  21. package/esm2022/lib/components/kit-cta-panel-item/kit-cta-panel-item.component.mjs +4 -4
  22. package/esm2022/lib/components/kit-cta-panel-item/kit-cta-panel-item.module.mjs +4 -4
  23. package/esm2022/lib/components/kit-daterange/kit-daterange.component.mjs +4 -4
  24. package/esm2022/lib/components/kit-daterange/kit-daterange.module.mjs +4 -4
  25. package/esm2022/lib/components/kit-datetimepicker/kit-datetimepicker.component.mjs +7 -7
  26. package/esm2022/lib/components/kit-datetimepicker/kit-datetimepicker.module.mjs +4 -4
  27. package/esm2022/lib/components/kit-dialog/kit-dialog.component.mjs +3 -3
  28. package/esm2022/lib/components/kit-dialog/kit-dialog.module.mjs +4 -4
  29. package/esm2022/lib/components/kit-dialog/kit-dialog.service.mjs +5 -5
  30. package/esm2022/lib/components/kit-dialog-actions/kit-dialog-actions.component.mjs +3 -3
  31. package/esm2022/lib/components/kit-dialog-actions/kit-dialog-actions.module.mjs +4 -4
  32. package/esm2022/lib/components/kit-dropdown/kit-dropdown.component.mjs +7 -7
  33. package/esm2022/lib/components/kit-dropdown/kit-dropdown.module.mjs +4 -4
  34. package/esm2022/lib/components/kit-file-upload/kit-file-upload.component.mjs +4 -4
  35. package/esm2022/lib/components/kit-file-upload/kit-file-upload.module.mjs +4 -4
  36. package/esm2022/lib/components/kit-input-message/kit-input-message.component.mjs +3 -3
  37. package/esm2022/lib/components/kit-input-message/kit-input-message.module.mjs +4 -4
  38. package/esm2022/lib/components/kit-loader/kit-loader.component.mjs +3 -3
  39. package/esm2022/lib/components/kit-loader/kit-loader.module.mjs +4 -4
  40. package/esm2022/lib/components/kit-location-stepper/kit-location-stepper.component.mjs +4 -4
  41. package/esm2022/lib/components/kit-location-stepper/kit-location-stepper.module.mjs +4 -4
  42. package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.component.mjs +53 -0
  43. package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.model.mjs +2 -0
  44. package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.module.mjs +36 -0
  45. package/esm2022/lib/components/kit-navigation-tabs/kit-navigation-tabs.component.mjs +3 -3
  46. package/esm2022/lib/components/kit-navigation-tabs/kit-navigation-tabs.module.mjs +4 -4
  47. package/esm2022/lib/components/kit-note/kit-note.component.mjs +3 -3
  48. package/esm2022/lib/components/kit-note/kit-note.module.mjs +4 -4
  49. package/esm2022/lib/components/kit-notification/kit-notification.component.mjs +3 -3
  50. package/esm2022/lib/components/kit-notification/kit-notification.module.mjs +4 -4
  51. package/esm2022/lib/components/kit-numeric-textbox/kit-numeric-textbox.component.mjs +5 -5
  52. package/esm2022/lib/components/kit-numeric-textbox/kit-numeric-textbox.module.mjs +4 -4
  53. package/esm2022/lib/components/kit-pill/kit-pill.component.mjs +4 -4
  54. package/esm2022/lib/components/kit-pill/kit-pill.module.mjs +4 -4
  55. package/esm2022/lib/components/kit-radio-button/kit-radio-button.component.mjs +3 -3
  56. package/esm2022/lib/components/kit-radio-button/kit-radio-button.module.mjs +4 -4
  57. package/esm2022/lib/components/kit-skeleton/kit-skeleton.component.mjs +3 -3
  58. package/esm2022/lib/components/kit-skeleton/kit-skeleton.module.mjs +4 -4
  59. package/esm2022/lib/components/kit-svg-icon/kit-svg-icon.component.mjs +3 -3
  60. package/esm2022/lib/components/kit-svg-icon/kit-svg-icon.const.mjs +5 -1
  61. package/esm2022/lib/components/kit-svg-icon/kit-svg-icon.module.mjs +4 -4
  62. package/esm2022/lib/components/kit-svg-sprite/kit-svg-sprite.component.mjs +5 -5
  63. package/esm2022/lib/components/kit-svg-sprite/kit-svg-sprite.module.mjs +4 -4
  64. package/esm2022/lib/components/kit-switch/kit-switch.component.mjs +4 -4
  65. package/esm2022/lib/components/kit-switch/kit-switch.module.mjs +4 -4
  66. package/esm2022/lib/components/kit-text-label/kit-text-label.component.mjs +4 -4
  67. package/esm2022/lib/components/kit-text-label/kit-text-label.module.mjs +4 -4
  68. package/esm2022/lib/components/kit-textarea/kit-textarea-autoresize.directive.mjs +5 -5
  69. package/esm2022/lib/components/kit-textarea/kit-textarea.component.mjs +5 -5
  70. package/esm2022/lib/components/kit-textarea/kit-textarea.module.mjs +4 -4
  71. package/esm2022/lib/components/kit-textbox/kit-textbox.component.mjs +5 -5
  72. package/esm2022/lib/components/kit-textbox/kit-textbox.module.mjs +4 -4
  73. package/esm2022/lib/components/kit-timepicker/kit-timepicker.component.mjs +4 -4
  74. package/esm2022/lib/components/kit-timepicker/kit-timepicker.module.mjs +4 -4
  75. package/esm2022/lib/components/kit-toastr/kit-toastr.module.mjs +4 -4
  76. package/esm2022/lib/components/kit-toastr/kit-toastr.service.mjs +4 -4
  77. package/esm2022/lib/components/kit-toggle/kit-toggle.component.mjs +5 -5
  78. package/esm2022/lib/components/kit-toggle/kit-toggle.module.mjs +4 -4
  79. package/esm2022/lib/components/kit-units-textbox/kit-units-textbox.component.mjs +4 -4
  80. package/esm2022/lib/components/kit-units-textbox/kit-units-textbox.module.mjs +4 -4
  81. package/esm2022/lib/directives/kit-permission/kit-permission.directive.mjs +5 -5
  82. package/esm2022/lib/directives/kit-permission/kit-permission.module.mjs +4 -4
  83. package/esm2022/lib/directives/kit-tooltip/kit-tooltip.directive.mjs +3 -3
  84. package/esm2022/lib/directives/kit-tooltip/kit-tooltip.module.mjs +4 -4
  85. package/esm2022/lib/services/kit-query-params.service.mjs +4 -4
  86. package/esm2022/public-api.mjs +4 -1
  87. package/fesm2022/indigina-ui-kit.mjs +386 -308
  88. package/fesm2022/indigina-ui-kit.mjs.map +1 -1
  89. package/lib/components/kit-navigation-menu/kit-navigation-menu.component.d.ts +24 -0
  90. package/lib/components/kit-navigation-menu/kit-navigation-menu.model.d.ts +9 -0
  91. package/lib/components/kit-navigation-menu/kit-navigation-menu.module.d.ts +11 -0
  92. package/lib/components/kit-svg-icon/kit-svg-icon.const.d.ts +5 -1
  93. package/package.json +26 -26
  94. package/public-api.d.ts +3 -0
  95. package/styles/styles.scss +2 -0
  96. package/styles/theming.scss +3 -54
@@ -0,0 +1,24 @@
1
+ import { KitNavigationMenuItem } from './kit-navigation-menu.model';
2
+ import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
3
+ import { Router } from '@angular/router';
4
+ import { PanelBarExpandMode } from '@progress/kendo-angular-layout';
5
+ import * as i0 from "@angular/core";
6
+ export declare class KitNavigationMenuComponent {
7
+ private router;
8
+ /**
9
+ * An items list which is going to be rendered as menu items
10
+ */
11
+ items: KitNavigationMenuItem[];
12
+ /**
13
+ * Defines whether the component will have an animation when collapsing/expanding the menu
14
+ */
15
+ animate: boolean;
16
+ readonly KitSvgIcon: typeof KitSvgIcon;
17
+ readonly PanelBarExpandMode: typeof PanelBarExpandMode;
18
+ constructor(router: Router);
19
+ ngOnInit(): void;
20
+ private setExpandedStateOnRouterChange;
21
+ private setExpandedState;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<KitNavigationMenuComponent, "kit-navigation-menu", never, { "items": { "alias": "items"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; }, {}, never, never, false, never>;
24
+ }
@@ -0,0 +1,9 @@
1
+ import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
2
+ export interface KitNavigationMenuItem {
3
+ title: string;
4
+ link?: string;
5
+ cssClass?: string;
6
+ icon?: KitSvgIcon;
7
+ expanded?: boolean;
8
+ items?: KitNavigationMenuItem[];
9
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./kit-navigation-menu.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@progress/kendo-angular-layout";
5
+ import * as i4 from "../kit-svg-icon/kit-svg-icon.module";
6
+ import * as i5 from "@angular/router";
7
+ export declare class KitNavigationMenuModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KitNavigationMenuModule, [typeof i1.KitNavigationMenuComponent], [typeof i2.CommonModule, typeof i3.PanelBarModule, typeof i4.KitSvgIconModule, typeof i5.RouterModule], [typeof i1.KitNavigationMenuComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<KitNavigationMenuModule>;
11
+ }
@@ -67,5 +67,9 @@ export declare enum KitSvgIcon {
67
67
  SHIP = "ship",
68
68
  CLOCK = "clock",
69
69
  FACTORY = "factory",
70
- COPY = "copy"
70
+ COPY = "copy",
71
+ GEAR_1 = "gear-1",
72
+ HOUSE = "house",
73
+ CHART = "chart",
74
+ CLIP = "clip"
71
75
  }
package/package.json CHANGED
@@ -7,37 +7,37 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.1.12",
10
+ "version": "1.1.14",
11
11
  "peerDependencies": {
12
- "@angular/common": "^16.2.8",
13
- "@angular/core": "^16.2.8"
12
+ "@angular/common": "^17.0.7",
13
+ "@angular/core": "^17.0.7"
14
14
  },
15
15
  "dependencies": {
16
- "@progress/kendo-angular-buttons": "13.5.0",
17
- "@progress/kendo-angular-common": "13.5.0",
18
- "@progress/kendo-angular-dateinputs": "13.5.0",
19
- "@progress/kendo-angular-dropdowns": "13.5.0",
20
- "@progress/kendo-angular-icons": "13.5.0",
21
- "@progress/kendo-angular-indicators": "13.5.0",
22
- "@progress/kendo-angular-inputs": "13.5.0",
23
- "@progress/kendo-angular-intl": "13.5.0",
24
- "@progress/kendo-angular-l10n": "13.5.0",
25
- "@progress/kendo-angular-label": "13.5.0",
26
- "@progress/kendo-angular-layout": "13.5.0",
27
- "@progress/kendo-angular-menu": "13.5.0",
28
- "@progress/kendo-angular-navigation": "13.5.0",
29
- "@progress/kendo-angular-popup": "13.5.0",
30
- "@progress/kendo-angular-progressbar": "13.5.0",
31
- "@progress/kendo-angular-treeview": "13.5.0",
32
- "@progress/kendo-angular-tooltip": "13.5.0",
33
- "@progress/kendo-angular-dialog": "13.5.0",
34
- "@progress/kendo-angular-upload": "13.5.0",
35
- "@progress/kendo-drawing": "1.18.0",
36
- "@progress/kendo-licensing": "1.3.2",
37
- "@progress/kendo-svg-icons": "1.9.0",
16
+ "@progress/kendo-angular-buttons": "15.0.1",
17
+ "@progress/kendo-angular-common": "15.0.1",
18
+ "@progress/kendo-angular-dateinputs": "15.0.1",
19
+ "@progress/kendo-angular-dropdowns": "15.0.1",
20
+ "@progress/kendo-angular-icons": "15.0.1",
21
+ "@progress/kendo-angular-indicators": "15.0.1",
22
+ "@progress/kendo-angular-inputs": "15.0.1",
23
+ "@progress/kendo-angular-intl": "15.0.1",
24
+ "@progress/kendo-angular-l10n": "15.0.1",
25
+ "@progress/kendo-angular-label": "15.0.1",
26
+ "@progress/kendo-angular-layout": "15.0.1",
27
+ "@progress/kendo-angular-menu": "15.0.1",
28
+ "@progress/kendo-angular-navigation": "15.0.1",
29
+ "@progress/kendo-angular-popup": "15.0.1",
30
+ "@progress/kendo-angular-progressbar": "15.0.1",
31
+ "@progress/kendo-angular-treeview": "15.0.1",
32
+ "@progress/kendo-angular-tooltip": "15.0.1",
33
+ "@progress/kendo-angular-dialog": "15.0.1",
34
+ "@progress/kendo-angular-upload": "15.0.1",
35
+ "@progress/kendo-drawing": "1.19.0",
36
+ "@progress/kendo-licensing": "1.3.5",
37
+ "@progress/kendo-svg-icons": "2.1.0",
38
38
  "@progress/kendo-theme-default": "6.7.0",
39
39
  "tslib": "2.6.2",
40
- "ngx-toastr": "17.0.2"
40
+ "ngx-toastr": "18.0.0"
41
41
  },
42
42
  "module": "fesm2022/indigina-ui-kit.mjs",
43
43
  "typings": "index.d.ts",
package/public-api.d.ts CHANGED
@@ -83,3 +83,6 @@ export { KitPermissionModule } from './lib/directives/kit-permission/kit-permiss
83
83
  export { KitPermissionDirective } from './lib/directives/kit-permission/kit-permission.directive';
84
84
  export { KitCopyTextModule } from './lib/components/kit-copy-text/kit-copy-text.module';
85
85
  export { KitCopyTextComponent } from './lib/components/kit-copy-text/kit-copy-text.component';
86
+ export { KitNavigationMenuModule } from './lib/components/kit-navigation-menu/kit-navigation-menu.module';
87
+ export { KitNavigationMenuComponent } from './lib/components/kit-navigation-menu/kit-navigation-menu.component';
88
+ export { KitNavigationMenuItem } from './lib/components/kit-navigation-menu/kit-navigation-menu.model';
@@ -11,9 +11,11 @@
11
11
  @import "@progress/kendo-theme-default/scss/dialog";
12
12
  @import "@progress/kendo-theme-default/scss/skeleton";
13
13
  @import "@progress/kendo-theme-default/scss/upload";
14
+ @import "@progress/kendo-theme-default/scss/panelbar";
14
15
  @import "ngx-toastr/toastr";
15
16
 
16
17
  /* styles which need to be included by default into app styles */
17
18
  @import "common";
19
+ @import "theming";
18
20
  @import "components/tooltip";
19
21
  @import "components/toastr";
@@ -1,58 +1,5 @@
1
1
  @import "colors";
2
2
 
3
- /* functions */
4
- @function get-css-variable($name, $default: "") {
5
- @return var(--#{$name}, $default);
6
- }
7
-
8
- /* mixins */
9
- @mixin set-css-variable($name, $value) {
10
- --#{$name}: #{$value};
11
- }
12
-
13
- @mixin ui-kit-theme($theme: $default-theme) {
14
- $merged-theme: map-merge($default-theme, $theme);
15
-
16
- $theme-color-1: map-get($merged-theme, theme-color-1);
17
- $theme-color-2: map-get($merged-theme, theme-color-2);
18
- $theme-color-3: map-get($merged-theme, theme-color-3);
19
- $theme-color-4: map-get($merged-theme, theme-color-4);
20
- $theme-color-5: map-get($merged-theme, theme-color-5);
21
- $theme-color-6: map-get($merged-theme, theme-color-6);
22
- $theme-color-7: map-get($merged-theme, theme-color-7);
23
- $theme-color-8: map-get($merged-theme, theme-color-8);
24
-
25
- @include set-css-variable(theme-color-1, $theme-color-1);
26
- @include set-css-variable(theme-color-2, $theme-color-2);
27
- @include set-css-variable(theme-color-3, $theme-color-3);
28
- @include set-css-variable(theme-color-4, $theme-color-4);
29
- @include set-css-variable(theme-color-5, $theme-color-5);
30
- @include set-css-variable(theme-color-6, $theme-color-6);
31
- @include set-css-variable(theme-color-7, $theme-color-7);
32
- @include set-css-variable(theme-color-8, $theme-color-8);
33
- }
34
-
35
- /* common */
36
- $default-theme: (
37
- theme-color-1: $color-primary-cobalt,
38
- theme-color-2: $color-primary-blue-light,
39
- theme-color-3: $color-primary-violet,
40
- theme-color-4: $color-primary-cobalt-darker,
41
- theme-color-5: $color-primary-cobalt-darkest,
42
- theme-color-6: $color-primary-violet-darker,
43
- theme-color-7: $color-primary-violet-darkest,
44
- theme-color-8: $color-ghost
45
- );
46
-
47
- $theme-color-1: get-css-variable(theme-color-1, $color-primary-cobalt);
48
- $theme-color-2: get-css-variable(theme-color-2, $color-primary-blue-light);
49
- $theme-color-3: get-css-variable(theme-color-3, $color-primary-violet);
50
- $theme-color-4: get-css-variable(theme-color-4, $color-primary-cobalt-darker);
51
- $theme-color-5: get-css-variable(theme-color-5, $color-primary-cobalt-darkest);
52
- $theme-color-6: get-css-variable(theme-color-6, $color-primary-violet-darker);
53
- $theme-color-7: get-css-variable(theme-color-7, $color-primary-violet-darkest);
54
- $theme-color-8: get-css-variable(theme-color-8, $color-ghost);
55
-
56
3
  /* default theme values */
57
4
  :root {
58
5
  /* common colors */
@@ -71,11 +18,13 @@ $theme-color-8: get-css-variable(theme-color-8, $color-ghost);
71
18
  --ui-kit-color-grey-6: #ebebe4;
72
19
  --ui-kit-color-grey-7: #a9a8a8;
73
20
  --ui-kit-color-grey-8: #efefef;
21
+ --ui-kit-color-grey-9: #969696;
74
22
 
75
23
  --ui-kit-color-green: #00b0ad;
76
24
 
77
25
  --ui-kit-color-red: #ef3e42;
78
26
  --ui-kit-color-red-20: #f8e0e0;
79
27
 
80
- --ui-kit-color-cobalt: #002a3a;
28
+ --ui-kit-color-cobalt: #006890;
29
+ --ui-kit-color-cobalt-darkest: #002a3a;
81
30
  }