@indigina/ui-kit 1.1.84 → 1.1.85
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/check-circle.svg +3 -3
- package/assets/icons/house.svg +2 -4
- package/assets/icons/notification.svg +7 -0
- package/assets/icons/product.svg +6 -0
- package/assets/icons/user.svg +2 -2
- 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 +11 -9
- package/esm2022/lib/components/kit-timeline/kit-timeline.component.mjs +8 -4
- package/esm2022/lib/components/kit-timeline/kit-timeline.const.mjs +19 -0
- package/esm2022/lib/components/kit-timeline/kit-timeline.model.mjs +1 -1
- package/esm2022/public-api.mjs +2 -2
- package/fesm2022/indigina-ui-kit.mjs +39 -43
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- 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 +3 -5
- package/lib/components/kit-timeline/kit-timeline.component.d.ts +1 -1
- package/lib/components/kit-timeline/kit-timeline.const.d.ts +16 -0
- package/lib/components/kit-timeline/kit-timeline.model.d.ts +14 -2
- package/package.json +1 -1
- package/public-api.d.ts +2 -2
- package/styles/theming.scss +2 -0
- package/esm2022/lib/components/kit-timeline/kit-timeline.module.mjs +0 -35
- package/lib/components/kit-timeline/kit-timeline.module.d.ts +0 -10
|
@@ -127,7 +127,9 @@ export declare enum KitSvgIcon {
|
|
|
127
127
|
WORD_FILE = "word-file",
|
|
128
128
|
PDF_FILE = "pdf-file",
|
|
129
129
|
IMAGE_FILE = "image-file",
|
|
130
|
-
EMPTY = "empty"
|
|
130
|
+
EMPTY = "empty",
|
|
131
|
+
PRODUCT = "product",
|
|
132
|
+
NOTIFICATION = "notification"
|
|
131
133
|
}
|
|
132
134
|
export declare enum KitSvgIconType {
|
|
133
135
|
FILL = "fill",
|
|
@@ -3,10 +3,8 @@ import { KitTimelineItem } from '../kit-timeline.model';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class KitTimelineCardComponent {
|
|
5
5
|
item: KitTimelineItem | null;
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly dateFormat: string;
|
|
9
|
-
readonly timeFormat: string;
|
|
6
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
7
|
+
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
10
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTimelineCardComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitTimelineCardComponent, "kit-timeline-card", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never,
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTimelineCardComponent, "kit-timeline-card", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
10
|
}
|
|
@@ -6,5 +6,5 @@ export declare class KitTimelineComponent {
|
|
|
6
6
|
*/
|
|
7
7
|
items: KitTimelineItem[];
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTimelineComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitTimelineComponent, "kit-timeline", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never,
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTimelineComponent, "kit-timeline", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
10
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum KitTimelineTheme {
|
|
2
|
+
PURPLE = "purple",
|
|
3
|
+
GREEN = "green",
|
|
4
|
+
BLUE = "blue",
|
|
5
|
+
GREY = "grey",
|
|
6
|
+
TEAL = "teal",
|
|
7
|
+
PINK = "pink",
|
|
8
|
+
SUCCESS = "success",
|
|
9
|
+
WARNING = "warning",
|
|
10
|
+
DANGER = "danger"
|
|
11
|
+
}
|
|
12
|
+
export declare enum KitTimelineType {
|
|
13
|
+
CONFIRMED = "confirmed",
|
|
14
|
+
DEPARTURE = "departure",
|
|
15
|
+
ARRIVAL = "arrival"
|
|
16
|
+
}
|
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
import { KitSvgIcon, KitSvgIconType } from '../kit-svg-icon/kit-svg-icon.const';
|
|
2
|
+
import { KitTimelineTheme } from './kit-timeline.const';
|
|
2
3
|
export interface KitTimelineItem {
|
|
3
4
|
title: string;
|
|
4
|
-
subTitle
|
|
5
|
-
date
|
|
5
|
+
subTitle: string;
|
|
6
|
+
date: KitTimelineItemDate[];
|
|
7
|
+
theme?: KitTimelineTheme;
|
|
8
|
+
textBadge?: string;
|
|
9
|
+
countBadge?: number;
|
|
10
|
+
transportationType?: string;
|
|
11
|
+
originalPort?: string;
|
|
12
|
+
destinationPort?: string;
|
|
13
|
+
transitMode?: string;
|
|
6
14
|
icon?: KitSvgIcon;
|
|
7
15
|
iconType?: KitSvgIconType;
|
|
8
16
|
}
|
|
17
|
+
export interface KitTimelineItemDate {
|
|
18
|
+
label: string;
|
|
19
|
+
value: string;
|
|
20
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -144,9 +144,9 @@ export { KitEntitySectionContainerComponent } from './lib/components/kit-entity-
|
|
|
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
146
|
export { KitTimelineComponent } from './lib/components/kit-timeline/kit-timeline.component';
|
|
147
|
-
export {
|
|
148
|
-
export { KitTimelineItem } from './lib/components/kit-timeline/kit-timeline.model';
|
|
147
|
+
export { KitTimelineItem, KitTimelineItemDate } from './lib/components/kit-timeline/kit-timeline.model';
|
|
149
148
|
export { KitTimelineCardComponent } from './lib/components/kit-timeline/kit-timeline-card/kit-timeline-card.component';
|
|
149
|
+
export { KitTimelineTheme, KitTimelineType } from './lib/components/kit-timeline/kit-timeline.const';
|
|
150
150
|
export { KitFileCardComponent } from './lib/components/kit-file-card/kit-file-card.component';
|
|
151
151
|
export { KitFileCardModule } from './lib/components/kit-file-card/kit-file-card.module';
|
|
152
152
|
export { KitFileCardMessagesComponent } from './lib/components/kit-file-card/kit-file-card-messages.component';
|
package/styles/theming.scss
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
--ui-kit-color-green-2: #39c23733;
|
|
36
36
|
--ui-kit-color-green-3: #1cb589;
|
|
37
37
|
--ui-kit-color-green-4: #e0f2ed;
|
|
38
|
+
--ui-kit-color-green-5: #e5ffe5;
|
|
38
39
|
|
|
39
40
|
--ui-kit-color-red: #ef3e42;
|
|
40
41
|
--ui-kit-color-red-20: #f8e0e0;
|
|
@@ -52,6 +53,7 @@
|
|
|
52
53
|
--ui-kit-color-orange-1: #faad1433;
|
|
53
54
|
--ui-kit-color-orange-2: #ff7a00;
|
|
54
55
|
--ui-kit-color-orange-3: #fbecde;
|
|
56
|
+
--ui-kit-color-orange-4: #fff6e4;
|
|
55
57
|
|
|
56
58
|
--ui-kit-color-pink: #cd1159;
|
|
57
59
|
--ui-kit-color-pink-1: #fae7ee;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule, DatePipe } from '@angular/common';
|
|
3
|
-
import { KitTimelineComponent } from './kit-timeline.component';
|
|
4
|
-
import { KitTimelineCardComponent } from './kit-timeline-card/kit-timeline-card.component';
|
|
5
|
-
import { KitSvgIconModule } from '../kit-svg-icon/kit-svg-icon.module';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class KitTimelineModule {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: KitTimelineModule, declarations: [KitTimelineComponent,
|
|
10
|
-
KitTimelineCardComponent], imports: [CommonModule,
|
|
11
|
-
KitSvgIconModule,
|
|
12
|
-
DatePipe], exports: [KitTimelineComponent,
|
|
13
|
-
KitTimelineCardComponent] }); }
|
|
14
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTimelineModule, imports: [CommonModule,
|
|
15
|
-
KitSvgIconModule] }); }
|
|
16
|
-
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTimelineModule, decorators: [{
|
|
18
|
-
type: NgModule,
|
|
19
|
-
args: [{
|
|
20
|
-
declarations: [
|
|
21
|
-
KitTimelineComponent,
|
|
22
|
-
KitTimelineCardComponent,
|
|
23
|
-
],
|
|
24
|
-
imports: [
|
|
25
|
-
CommonModule,
|
|
26
|
-
KitSvgIconModule,
|
|
27
|
-
DatePipe,
|
|
28
|
-
],
|
|
29
|
-
exports: [
|
|
30
|
-
KitTimelineComponent,
|
|
31
|
-
KitTimelineCardComponent,
|
|
32
|
-
],
|
|
33
|
-
}]
|
|
34
|
-
}] });
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2l0LXRpbWVsaW5lLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMva2l0LXRpbWVsaW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LaXRUaW1lbGluZUNvbXBvbmVudCB9IGZyb20gJy4va2l0LXRpbWVsaW5lLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBLaXRUaW1lbGluZUNhcmRDb21wb25lbnQgfSBmcm9tICcuL2tpdC10aW1lbGluZS1jYXJkL2tpdC10aW1lbGluZS1jYXJkLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBLaXRTdmdJY29uTW9kdWxlIH0gZnJvbSAnLi4va2l0LXN2Zy1pY29uL2tpdC1zdmctaWNvbi5tb2R1bGUnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtcbiAgICBLaXRUaW1lbGluZUNvbXBvbmVudCxcbiAgICBLaXRUaW1lbGluZUNhcmRDb21wb25lbnQsXG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgS2l0U3ZnSWNvbk1vZHVsZSxcbiAgICBEYXRlUGlwZSxcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIEtpdFRpbWVsaW5lQ29tcG9uZW50LFxuICAgIEtpdFRpbWVsaW5lQ2FyZENvbXBvbmVudCxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgS2l0VGltZWxpbmVNb2R1bGUge1xufVxuIl19
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
}
|