@indigina/ui-kit 1.1.36 → 1.1.38

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 (29) hide show
  1. package/assets/icons/caret-up.svg +3 -0
  2. package/assets/icons/check-circle.svg +3 -2
  3. package/esm2022/lib/components/kit-autocomplete/kit-autocomplete.component.mjs +2 -2
  4. package/esm2022/lib/components/kit-breadcrumbs/kit-breadcrumbs.component.mjs +20 -0
  5. package/esm2022/lib/components/kit-breadcrumbs/kit-breadcrumbs.model.mjs +2 -0
  6. package/esm2022/lib/components/kit-breadcrumbs/kit-breadcrumbs.module.mjs +27 -0
  7. package/esm2022/lib/components/kit-button/kit-button.component.mjs +2 -2
  8. package/esm2022/lib/components/kit-card/kit-card.component.mjs +89 -0
  9. package/esm2022/lib/components/kit-card/kit-card.const.mjs +11 -0
  10. package/esm2022/lib/components/kit-card/kit-card.model.mjs +2 -0
  11. package/esm2022/lib/components/kit-card/kit-card.module.mjs +41 -0
  12. package/esm2022/lib/components/kit-svg-icon/kit-svg-icon.const.mjs +2 -1
  13. package/esm2022/lib/components/kit-svg-sprite/kit-svg-sprite.component.mjs +3 -3
  14. package/esm2022/lib/components/kit-switch/kit-switch.component.mjs +2 -2
  15. package/esm2022/lib/components/kit-text-label/kit-text-label.component.mjs +2 -2
  16. package/esm2022/public-api.mjs +8 -1
  17. package/fesm2022/indigina-ui-kit.mjs +174 -12
  18. package/fesm2022/indigina-ui-kit.mjs.map +1 -1
  19. package/lib/components/kit-breadcrumbs/kit-breadcrumbs.component.d.ts +10 -0
  20. package/lib/components/kit-breadcrumbs/kit-breadcrumbs.model.d.ts +4 -0
  21. package/lib/components/kit-breadcrumbs/kit-breadcrumbs.module.d.ts +9 -0
  22. package/lib/components/kit-card/kit-card.component.d.ts +36 -0
  23. package/lib/components/kit-card/kit-card.const.d.ts +9 -0
  24. package/lib/components/kit-card/kit-card.model.d.ts +16 -0
  25. package/lib/components/kit-card/kit-card.module.d.ts +12 -0
  26. package/lib/components/kit-svg-icon/kit-svg-icon.const.d.ts +1 -0
  27. package/package.json +1 -1
  28. package/public-api.d.ts +7 -0
  29. package/styles/theming.scss +6 -1
@@ -0,0 +1,10 @@
1
+ import { KitBreadcrumbsItem } from './kit-breadcrumbs.model';
2
+ import * as i0 from "@angular/core";
3
+ export declare class KitBreadcrumbsComponent {
4
+ /**
5
+ * Defines items that will be rendered as breadcrumbs
6
+ */
7
+ items: KitBreadcrumbsItem[];
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<KitBreadcrumbsComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<KitBreadcrumbsComponent, "kit-breadcrumbs", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
10
+ }
@@ -0,0 +1,4 @@
1
+ export interface KitBreadcrumbsItem {
2
+ text: string;
3
+ url: string;
4
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./kit-breadcrumbs.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/router";
5
+ export declare class KitBreadcrumbsModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<KitBreadcrumbsModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KitBreadcrumbsModule, [typeof i1.KitBreadcrumbsComponent], [typeof i2.CommonModule, typeof i3.RouterLink], [typeof i1.KitBreadcrumbsComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<KitBreadcrumbsModule>;
9
+ }
@@ -0,0 +1,36 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
3
+ import { KitButtonKind, KitButtonType } from '../kit-button/kit-button.const';
4
+ import { KitCard } from './kit-card.model';
5
+ import { KitTooltipPosition } from '../../directives/kit-tooltip/kit-tooltip.directive';
6
+ import { KitCardTheme } from './kit-card.const';
7
+ import * as i0 from "@angular/core";
8
+ export declare class KitCardComponent {
9
+ /**
10
+ * Defines card data
11
+ */
12
+ data: KitCard | null;
13
+ /**
14
+ * Defines card color theme
15
+ */
16
+ theme: KitCardTheme;
17
+ /**
18
+ * Defines whether the items list will be expanded
19
+ */
20
+ itemsExpanded: boolean;
21
+ /**
22
+ * An action which is emitted when action button clicked
23
+ */
24
+ buttonClicked: EventEmitter<void>;
25
+ /**
26
+ * An action which is emitted when toggle button clicked
27
+ */
28
+ toggleClicked: EventEmitter<boolean>;
29
+ readonly KitSvgIcon: typeof KitSvgIcon;
30
+ readonly KitButtonType: typeof KitButtonType;
31
+ readonly KitButtonKind: typeof KitButtonKind;
32
+ readonly KitTooltipPosition: typeof KitTooltipPosition;
33
+ toggleList(): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<KitCardComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<KitCardComponent, "kit-card", never, { "data": { "alias": "data"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "itemsExpanded": { "alias": "itemsExpanded"; "required": false; }; }, { "buttonClicked": "buttonClicked"; "toggleClicked": "toggleClicked"; }, never, never, false, never>;
36
+ }
@@ -0,0 +1,9 @@
1
+ export declare enum KitCardTheme {
2
+ DEFAULT = "default",
3
+ GREEN = "green",
4
+ PINK = "pink",
5
+ PURPLE = "purple",
6
+ ORANGE = "orange",
7
+ TEAL = "teal",
8
+ GREY = "grey"
9
+ }
@@ -0,0 +1,16 @@
1
+ import { KitSvgIcon, KitSvgIconType } from '../kit-svg-icon/kit-svg-icon.const';
2
+ export interface KitCard {
3
+ title: string;
4
+ titleIcon: KitSvgIcon;
5
+ label: string;
6
+ count: number;
7
+ buttonLabel: string;
8
+ items: KitCardItem[];
9
+ titleIconType?: KitSvgIconType;
10
+ }
11
+ export interface KitCardItem {
12
+ label: string;
13
+ count: number;
14
+ link: string | null | (string | number)[];
15
+ tooltip?: string;
16
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./kit-card.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../kit-svg-icon/kit-svg-icon.module";
5
+ import * as i4 from "../kit-button/kit-button.module";
6
+ import * as i5 from "@angular/router";
7
+ import * as i6 from "../../directives/kit-tooltip/kit-tooltip.module";
8
+ export declare class KitCardModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<KitCardModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KitCardModule, [typeof i1.KitCardComponent], [typeof i2.CommonModule, typeof i3.KitSvgIconModule, typeof i4.KitButtonModule, typeof i5.RouterLink, typeof i6.KitTooltipModule, typeof i2.NgClass], [typeof i1.KitCardComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<KitCardModule>;
12
+ }
@@ -80,6 +80,7 @@ export declare enum KitSvgIcon {
80
80
  BACK_ARROW = "back-arrow",
81
81
  USER = "user",
82
82
  CARET_DOWN = "caret-down",
83
+ CARET_UP = "caret-up",
83
84
  INFO_CIRCLE = "info-circle",
84
85
  CHECK_CIRCLE_FILLED = "check-circle-filled",
85
86
  WARNING_CIRCLE_FILLED = "warning-circle-filled",
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.1.36",
10
+ "version": "1.1.38",
11
11
  "peerDependencies": {
12
12
  "@angular/common": "^17.0.7",
13
13
  "@angular/core": "^17.0.7"
package/public-api.d.ts CHANGED
@@ -113,3 +113,10 @@ export { KitTabsComponent } from './lib/components/kit-tabs/kit-tabs.component';
113
113
  export { KitTabsType } from './lib/components/kit-tabs/kit-tabs.const';
114
114
  export { KitTabsSelectEvent } from './lib/components/kit-tabs/kit-tabs.model';
115
115
  export { KitTabComponent } from './lib/components/kit-tabs/kit-tab/kit-tab.component';
116
+ export { KitCardModule } from './lib/components/kit-card/kit-card.module';
117
+ export { KitCardComponent } from './lib/components/kit-card/kit-card.component';
118
+ export { KitCard, KitCardItem } from './lib/components/kit-card/kit-card.model';
119
+ export { KitCardTheme } from './lib/components/kit-card/kit-card.const';
120
+ export { KitBreadcrumbsModule } from './lib/components/kit-breadcrumbs/kit-breadcrumbs.module';
121
+ export { KitBreadcrumbsComponent } from './lib/components/kit-breadcrumbs/kit-breadcrumbs.component';
122
+ export { KitBreadcrumbsItem } from './lib/components/kit-breadcrumbs/kit-breadcrumbs.model';
@@ -10,7 +10,7 @@
10
10
  --ui-kit-color-main: #56a2f7;
11
11
  --ui-kit-color-hover: #3678c3;
12
12
  --ui-kit-color-selected: #3678c366;
13
- --ui-kit-color-active: #002a3a;
13
+ --ui-kit-color-active: #3678c3;
14
14
  --ui-kit-color-focus: #56a2f733;
15
15
 
16
16
  --ui-kit-color-grey-0: #252b30;
@@ -31,6 +31,7 @@
31
31
  --ui-kit-color-green: #00b0ad;
32
32
  --ui-kit-color-green-1: #39c237;
33
33
  --ui-kit-color-green-2: #39c23733;
34
+ --ui-kit-color-green-3: #1cb589;
34
35
 
35
36
  --ui-kit-color-red: #ef3e42;
36
37
  --ui-kit-color-red-20: #f8e0e0;
@@ -44,4 +45,8 @@
44
45
 
45
46
  --ui-kit-color-orange: #faad14;
46
47
  --ui-kit-color-orange-1: #faad1433;
48
+
49
+ --ui-kit-color-pink: #cd1159;
50
+
51
+ --ui-kit-color-purple: #7673ce;
47
52
  }