@indigina/ui-kit 1.1.75 → 1.1.77
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/calendar.svg +2 -5
- package/assets/icons/download.svg +2 -4
- package/assets/icons/pdf.svg +9 -0
- package/assets/icons/time.svg +4 -3
- package/assets/icons/xls.svg +13 -0
- package/esm2022/lib/components/kit-file-card/kit-file-card-messages.component.mjs +35 -0
- package/esm2022/lib/components/kit-file-card/kit-file-card.component.mjs +66 -0
- package/esm2022/lib/components/kit-file-card/kit-file-card.module.mjs +39 -0
- package/esm2022/lib/components/kit-svg-icon/kit-svg-icon.const.mjs +3 -1
- package/esm2022/lib/components/kit-svg-sprite/kit-svg-sprite.component.mjs +3 -3
- package/esm2022/lib/components/kit-switch/kit-switch.component.mjs +2 -2
- package/esm2022/lib/components/kit-text-label/kit-text-label.component.mjs +2 -2
- package/esm2022/lib/components/kit-timeline/kit-timeline-card/kit-timeline-card.component.mjs +23 -0
- package/esm2022/lib/components/kit-timeline/kit-timeline.component.mjs +20 -0
- package/esm2022/lib/components/kit-timeline/kit-timeline.model.mjs +2 -0
- package/esm2022/lib/components/kit-timeline/kit-timeline.module.mjs +35 -0
- package/esm2022/public-api.mjs +9 -1
- package/fesm2022/indigina-ui-kit.mjs +197 -8
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-file-card/kit-file-card-messages.component.d.ts +17 -0
- package/lib/components/kit-file-card/kit-file-card.component.d.ts +41 -0
- package/lib/components/kit-file-card/kit-file-card.module.d.ts +11 -0
- package/lib/components/kit-svg-icon/kit-svg-icon.const.d.ts +3 -1
- package/lib/components/kit-timeline/kit-timeline-card/kit-timeline-card.component.d.ts +12 -0
- package/lib/components/kit-timeline/kit-timeline.component.d.ts +10 -0
- package/lib/components/kit-timeline/kit-timeline.model.d.ts +8 -0
- package/lib/components/kit-timeline/kit-timeline.module.d.ts +10 -0
- package/package.json +1 -1
- package/public-api.d.ts +7 -0
- package/styles/theming.scss +2 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class KitFileCardMessagesComponent {
|
|
3
|
+
/**
|
|
4
|
+
* Defines a value to use as "Create Date" label
|
|
5
|
+
*/
|
|
6
|
+
createDate: string;
|
|
7
|
+
/**
|
|
8
|
+
* Defines a value to use as "Created By" label
|
|
9
|
+
*/
|
|
10
|
+
createdBy: string;
|
|
11
|
+
/**
|
|
12
|
+
* Defines a value to use as "Download" button label
|
|
13
|
+
*/
|
|
14
|
+
downloadButtonLabel: string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitFileCardMessagesComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitFileCardMessagesComponent, "kit-file-card-custom-messages", never, { "createDate": { "alias": "createDate"; "required": false; }; "createdBy": { "alias": "createdBy"; "required": false; }; "downloadButtonLabel": { "alias": "downloadButtonLabel"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
3
|
+
import { KitButtonIconPosition, KitButtonType } from '../kit-button/kit-button.const';
|
|
4
|
+
import { KitFileCardMessagesComponent } from './kit-file-card-messages.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class KitFileCardComponent {
|
|
7
|
+
/**
|
|
8
|
+
* Defines a value that will be used as a card title
|
|
9
|
+
*/
|
|
10
|
+
title: string;
|
|
11
|
+
/**
|
|
12
|
+
* Defines a value that will be used as a card type label
|
|
13
|
+
*/
|
|
14
|
+
type: string;
|
|
15
|
+
/**
|
|
16
|
+
* Defines a value that will be used to render card icon
|
|
17
|
+
*/
|
|
18
|
+
fileType: string;
|
|
19
|
+
/**
|
|
20
|
+
* Defines a value that will be used as a card date
|
|
21
|
+
*/
|
|
22
|
+
date: string;
|
|
23
|
+
/**
|
|
24
|
+
* Defines a value that will be used as a card name
|
|
25
|
+
*/
|
|
26
|
+
name: string;
|
|
27
|
+
/**
|
|
28
|
+
* An action which is emitted when download button clicked
|
|
29
|
+
*/
|
|
30
|
+
downloadButtonClicked: EventEmitter<void>;
|
|
31
|
+
customMessages: KitFileCardMessagesComponent | null;
|
|
32
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
33
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
34
|
+
readonly kitButtonIconPosition: typeof KitButtonIconPosition;
|
|
35
|
+
readonly dateFormat: string;
|
|
36
|
+
readonly createDateLabel: string;
|
|
37
|
+
readonly createdByLabel: string;
|
|
38
|
+
readonly downloadButtonLabel: string;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitFileCardComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitFileCardComponent, "kit-file-card", never, { "title": { "alias": "title"; "required": false; }; "type": { "alias": "type"; "required": false; }; "fileType": { "alias": "fileType"; "required": false; }; "date": { "alias": "date"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, { "downloadButtonClicked": "downloadButtonClicked"; }, ["customMessages"], ["*"], false, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kit-file-card.component";
|
|
3
|
+
import * as i2 from "./kit-file-card-messages.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../kit-button/kit-button.module";
|
|
6
|
+
import * as i5 from "../kit-svg-icon/kit-svg-icon.module";
|
|
7
|
+
export declare class KitFileCardModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitFileCardModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitFileCardModule, [typeof i1.KitFileCardComponent, typeof i2.KitFileCardMessagesComponent], [typeof i3.CommonModule, typeof i4.KitButtonModule, typeof i5.KitSvgIconModule, typeof i3.DatePipe], [typeof i1.KitFileCardComponent, typeof i2.KitFileCardMessagesComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitFileCardModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { KitSvgIcon, KitSvgIconType } from '../../kit-svg-icon/kit-svg-icon.const';
|
|
2
|
+
import { KitTimelineItem } from '../kit-timeline.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class KitTimelineCardComponent {
|
|
5
|
+
item: KitTimelineItem | null;
|
|
6
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
7
|
+
readonly KitSvgIconType: typeof KitSvgIconType;
|
|
8
|
+
readonly dateFormat: string;
|
|
9
|
+
readonly timeFormat: string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTimelineCardComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTimelineCardComponent, "kit-timeline-card", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { KitTimelineItem } from './kit-timeline.model';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KitTimelineComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Defines a list of items which will be rendered as timeline cards
|
|
6
|
+
*/
|
|
7
|
+
items: KitTimelineItem[];
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTimelineComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTimelineComponent, "kit-timeline", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kit-timeline.component";
|
|
3
|
+
import * as i2 from "./kit-timeline-card/kit-timeline-card.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../kit-svg-icon/kit-svg-icon.module";
|
|
6
|
+
export declare class KitTimelineModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTimelineModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitTimelineModule, [typeof i1.KitTimelineComponent, typeof i2.KitTimelineCardComponent], [typeof i3.CommonModule, typeof i4.KitSvgIconModule, typeof i3.DatePipe], [typeof i1.KitTimelineComponent, typeof i2.KitTimelineCardComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitTimelineModule>;
|
|
10
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -143,3 +143,10 @@ export { KitEntitySectionModule } from './lib/components/kit-entity-section/kit-
|
|
|
143
143
|
export { KitEntitySectionComponent } from './lib/components/kit-entity-section/kit-entity-section.component';
|
|
144
144
|
export { KitEntityTitleModule } from './lib/components/kit-entity-title/kit-entity-title.module';
|
|
145
145
|
export { KitEntityTitleComponent } from './lib/components/kit-entity-title/kit-entity-title.component';
|
|
146
|
+
export { KitTimelineComponent } from './lib/components/kit-timeline/kit-timeline.component';
|
|
147
|
+
export { KitTimelineModule } from './lib/components/kit-timeline/kit-timeline.module';
|
|
148
|
+
export { KitTimelineItem } from './lib/components/kit-timeline/kit-timeline.model';
|
|
149
|
+
export { KitTimelineCardComponent } from './lib/components/kit-timeline/kit-timeline-card/kit-timeline-card.component';
|
|
150
|
+
export { KitFileCardComponent } from './lib/components/kit-file-card/kit-file-card.component';
|
|
151
|
+
export { KitFileCardModule } from './lib/components/kit-file-card/kit-file-card.module';
|
|
152
|
+
export { KitFileCardMessagesComponent } from './lib/components/kit-file-card/kit-file-card-messages.component';
|