@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.
- package/assets/icons/chart.svg +3 -0
- package/assets/icons/clip.svg +3 -0
- package/assets/icons/gear-1.svg +5 -0
- package/assets/icons/house.svg +5 -0
- package/esm2022/lib/components/kit-autocomplete/kit-autocomplete.component.mjs +7 -7
- package/esm2022/lib/components/kit-autocomplete/kit-autocomplete.directive.mjs +5 -5
- package/esm2022/lib/components/kit-autocomplete/kit-autocomplete.module.mjs +4 -4
- package/esm2022/lib/components/kit-button/kit-button.component.mjs +4 -4
- package/esm2022/lib/components/kit-button/kit-button.module.mjs +4 -4
- package/esm2022/lib/components/kit-checkbox/kit-checkbox.component.mjs +3 -3
- package/esm2022/lib/components/kit-checkbox/kit-checkbox.module.mjs +4 -4
- package/esm2022/lib/components/kit-copy-text/kit-copy-text.component.mjs +6 -6
- package/esm2022/lib/components/kit-copy-text/kit-copy-text.module.mjs +4 -4
- package/esm2022/lib/components/kit-cta-panel-abstract-confirmation/kit-cta-panel-abstract-confirmation.component.mjs +3 -3
- package/esm2022/lib/components/kit-cta-panel-abstract-confirmation/kit-cta-panel-abstract-confirmation.module.mjs +4 -4
- package/esm2022/lib/components/kit-cta-panel-action/kit-cta-panel-action.component.mjs +3 -3
- package/esm2022/lib/components/kit-cta-panel-action/kit-cta-panel-action.module.mjs +4 -4
- package/esm2022/lib/components/kit-cta-panel-confirmation/abstract-kit-cta-panel-confirmation.component.mjs +3 -3
- package/esm2022/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.component.mjs +5 -5
- package/esm2022/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.module.mjs +4 -4
- package/esm2022/lib/components/kit-cta-panel-item/kit-cta-panel-item.component.mjs +4 -4
- package/esm2022/lib/components/kit-cta-panel-item/kit-cta-panel-item.module.mjs +4 -4
- package/esm2022/lib/components/kit-daterange/kit-daterange.component.mjs +4 -4
- package/esm2022/lib/components/kit-daterange/kit-daterange.module.mjs +4 -4
- package/esm2022/lib/components/kit-datetimepicker/kit-datetimepicker.component.mjs +7 -7
- package/esm2022/lib/components/kit-datetimepicker/kit-datetimepicker.module.mjs +4 -4
- package/esm2022/lib/components/kit-dialog/kit-dialog.component.mjs +3 -3
- package/esm2022/lib/components/kit-dialog/kit-dialog.module.mjs +4 -4
- package/esm2022/lib/components/kit-dialog/kit-dialog.service.mjs +5 -5
- package/esm2022/lib/components/kit-dialog-actions/kit-dialog-actions.component.mjs +3 -3
- package/esm2022/lib/components/kit-dialog-actions/kit-dialog-actions.module.mjs +4 -4
- package/esm2022/lib/components/kit-dropdown/kit-dropdown.component.mjs +7 -7
- package/esm2022/lib/components/kit-dropdown/kit-dropdown.module.mjs +4 -4
- package/esm2022/lib/components/kit-file-upload/kit-file-upload.component.mjs +4 -4
- package/esm2022/lib/components/kit-file-upload/kit-file-upload.module.mjs +4 -4
- package/esm2022/lib/components/kit-input-message/kit-input-message.component.mjs +3 -3
- package/esm2022/lib/components/kit-input-message/kit-input-message.module.mjs +4 -4
- package/esm2022/lib/components/kit-loader/kit-loader.component.mjs +3 -3
- package/esm2022/lib/components/kit-loader/kit-loader.module.mjs +4 -4
- package/esm2022/lib/components/kit-location-stepper/kit-location-stepper.component.mjs +4 -4
- package/esm2022/lib/components/kit-location-stepper/kit-location-stepper.module.mjs +4 -4
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.component.mjs +53 -0
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.model.mjs +2 -0
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.module.mjs +36 -0
- package/esm2022/lib/components/kit-navigation-tabs/kit-navigation-tabs.component.mjs +3 -3
- package/esm2022/lib/components/kit-navigation-tabs/kit-navigation-tabs.module.mjs +4 -4
- package/esm2022/lib/components/kit-note/kit-note.component.mjs +3 -3
- package/esm2022/lib/components/kit-note/kit-note.module.mjs +4 -4
- package/esm2022/lib/components/kit-notification/kit-notification.component.mjs +3 -3
- package/esm2022/lib/components/kit-notification/kit-notification.module.mjs +4 -4
- package/esm2022/lib/components/kit-numeric-textbox/kit-numeric-textbox.component.mjs +5 -5
- package/esm2022/lib/components/kit-numeric-textbox/kit-numeric-textbox.module.mjs +4 -4
- package/esm2022/lib/components/kit-pill/kit-pill.component.mjs +4 -4
- package/esm2022/lib/components/kit-pill/kit-pill.module.mjs +4 -4
- package/esm2022/lib/components/kit-radio-button/kit-radio-button.component.mjs +3 -3
- package/esm2022/lib/components/kit-radio-button/kit-radio-button.module.mjs +4 -4
- package/esm2022/lib/components/kit-skeleton/kit-skeleton.component.mjs +3 -3
- package/esm2022/lib/components/kit-skeleton/kit-skeleton.module.mjs +4 -4
- package/esm2022/lib/components/kit-svg-icon/kit-svg-icon.component.mjs +3 -3
- package/esm2022/lib/components/kit-svg-icon/kit-svg-icon.const.mjs +5 -1
- package/esm2022/lib/components/kit-svg-icon/kit-svg-icon.module.mjs +4 -4
- package/esm2022/lib/components/kit-svg-sprite/kit-svg-sprite.component.mjs +5 -5
- package/esm2022/lib/components/kit-svg-sprite/kit-svg-sprite.module.mjs +4 -4
- package/esm2022/lib/components/kit-switch/kit-switch.component.mjs +4 -4
- package/esm2022/lib/components/kit-switch/kit-switch.module.mjs +4 -4
- package/esm2022/lib/components/kit-text-label/kit-text-label.component.mjs +4 -4
- package/esm2022/lib/components/kit-text-label/kit-text-label.module.mjs +4 -4
- package/esm2022/lib/components/kit-textarea/kit-textarea-autoresize.directive.mjs +5 -5
- package/esm2022/lib/components/kit-textarea/kit-textarea.component.mjs +5 -5
- package/esm2022/lib/components/kit-textarea/kit-textarea.module.mjs +4 -4
- package/esm2022/lib/components/kit-textbox/kit-textbox.component.mjs +5 -5
- package/esm2022/lib/components/kit-textbox/kit-textbox.module.mjs +4 -4
- package/esm2022/lib/components/kit-timepicker/kit-timepicker.component.mjs +4 -4
- package/esm2022/lib/components/kit-timepicker/kit-timepicker.module.mjs +4 -4
- package/esm2022/lib/components/kit-toastr/kit-toastr.module.mjs +4 -4
- package/esm2022/lib/components/kit-toastr/kit-toastr.service.mjs +4 -4
- package/esm2022/lib/components/kit-toggle/kit-toggle.component.mjs +5 -5
- package/esm2022/lib/components/kit-toggle/kit-toggle.module.mjs +4 -4
- package/esm2022/lib/components/kit-units-textbox/kit-units-textbox.component.mjs +4 -4
- package/esm2022/lib/components/kit-units-textbox/kit-units-textbox.module.mjs +4 -4
- package/esm2022/lib/directives/kit-permission/kit-permission.directive.mjs +5 -5
- package/esm2022/lib/directives/kit-permission/kit-permission.module.mjs +4 -4
- package/esm2022/lib/directives/kit-tooltip/kit-tooltip.directive.mjs +3 -3
- package/esm2022/lib/directives/kit-tooltip/kit-tooltip.module.mjs +4 -4
- package/esm2022/lib/services/kit-query-params.service.mjs +4 -4
- package/esm2022/public-api.mjs +4 -1
- package/fesm2022/indigina-ui-kit.mjs +386 -308
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-navigation-menu/kit-navigation-menu.component.d.ts +24 -0
- package/lib/components/kit-navigation-menu/kit-navigation-menu.model.d.ts +9 -0
- package/lib/components/kit-navigation-menu/kit-navigation-menu.module.d.ts +11 -0
- package/lib/components/kit-svg-icon/kit-svg-icon.const.d.ts +5 -1
- package/package.json +26 -26
- package/public-api.d.ts +3 -0
- package/styles/styles.scss +2 -0
- 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,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
|
+
}
|
package/package.json
CHANGED
|
@@ -7,37 +7,37 @@
|
|
|
7
7
|
"components",
|
|
8
8
|
"shared"
|
|
9
9
|
],
|
|
10
|
-
"version": "1.1.
|
|
10
|
+
"version": "1.1.14",
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"@angular/common": "^
|
|
13
|
-
"@angular/core": "^
|
|
12
|
+
"@angular/common": "^17.0.7",
|
|
13
|
+
"@angular/core": "^17.0.7"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@progress/kendo-angular-buttons": "
|
|
17
|
-
"@progress/kendo-angular-common": "
|
|
18
|
-
"@progress/kendo-angular-dateinputs": "
|
|
19
|
-
"@progress/kendo-angular-dropdowns": "
|
|
20
|
-
"@progress/kendo-angular-icons": "
|
|
21
|
-
"@progress/kendo-angular-indicators": "
|
|
22
|
-
"@progress/kendo-angular-inputs": "
|
|
23
|
-
"@progress/kendo-angular-intl": "
|
|
24
|
-
"@progress/kendo-angular-l10n": "
|
|
25
|
-
"@progress/kendo-angular-label": "
|
|
26
|
-
"@progress/kendo-angular-layout": "
|
|
27
|
-
"@progress/kendo-angular-menu": "
|
|
28
|
-
"@progress/kendo-angular-navigation": "
|
|
29
|
-
"@progress/kendo-angular-popup": "
|
|
30
|
-
"@progress/kendo-angular-progressbar": "
|
|
31
|
-
"@progress/kendo-angular-treeview": "
|
|
32
|
-
"@progress/kendo-angular-tooltip": "
|
|
33
|
-
"@progress/kendo-angular-dialog": "
|
|
34
|
-
"@progress/kendo-angular-upload": "
|
|
35
|
-
"@progress/kendo-drawing": "1.
|
|
36
|
-
"@progress/kendo-licensing": "1.3.
|
|
37
|
-
"@progress/kendo-svg-icons": "1.
|
|
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": "
|
|
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';
|
package/styles/styles.scss
CHANGED
|
@@ -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";
|
package/styles/theming.scss
CHANGED
|
@@ -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: #
|
|
28
|
+
--ui-kit-color-cobalt: #006890;
|
|
29
|
+
--ui-kit-color-cobalt-darkest: #002a3a;
|
|
81
30
|
}
|