@indigina/ui-kit 1.1.110 → 1.1.112
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/air.svg +8 -0
- package/assets/icons/check-sticker.svg +4 -0
- package/assets/icons/chevron-right.svg +1 -1
- package/assets/icons/kanban-view.svg +5 -0
- package/assets/icons/list-view.svg +6 -0
- package/assets/icons/ship.svg +9 -11
- package/assets/icons/table-view.svg +8 -0
- package/assets/icons/to-approve.svg +6 -0
- package/fesm2022/indigina-ui-kit.mjs +65 -11
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-button/kit-button.const.d.ts +2 -1
- package/lib/components/kit-shipment-card/kit-shipment-card.component.d.ts +21 -0
- package/lib/components/kit-shipment-card/kit-shipment-card.model.d.ts +18 -0
- package/lib/components/kit-svg-icon/kit-svg-icon.const.d.ts +7 -1
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/styles/components/button-variants.scss +22 -0
- package/styles/theming.scss +3 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { InputSignal } from '@angular/core';
|
|
2
|
+
import { KitShipmentCardActionItem, KitShipmentCardData } from './kit-shipment-card.model';
|
|
3
|
+
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
4
|
+
import { KitButtonKind, KitButtonType } from '../kit-button/kit-button.const';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class KitShipmentCard {
|
|
7
|
+
readonly data: InputSignal<KitShipmentCardData>;
|
|
8
|
+
readonly selected: InputSignal<boolean>;
|
|
9
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
10
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
11
|
+
readonly kitButtonKind: typeof KitButtonKind;
|
|
12
|
+
containersExpanded: boolean;
|
|
13
|
+
timelineExpanded: boolean;
|
|
14
|
+
get shipmentModeIcon(): KitSvgIcon.AIR | KitSvgIcon.SHIP | KitSvgIcon.LOGISTICS;
|
|
15
|
+
get timelineItems(): KitShipmentCardActionItem[];
|
|
16
|
+
get containerItems(): KitShipmentCardActionItem[];
|
|
17
|
+
showContainers(): void;
|
|
18
|
+
showTimeline(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitShipmentCard, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitShipmentCard, "kit-shipment-card", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface KitShipmentCardData {
|
|
2
|
+
latestRequiredByDate: string | null;
|
|
3
|
+
vesselName: string | null;
|
|
4
|
+
destinationPort: string | null;
|
|
5
|
+
originPort: string | null;
|
|
6
|
+
reference: string | null;
|
|
7
|
+
containerMode: string | null;
|
|
8
|
+
state: string | null;
|
|
9
|
+
type: 'Air' | 'Sea' | 'Road' | null;
|
|
10
|
+
containerActionBtnLabel: string;
|
|
11
|
+
timelineActionBtnLabel: string;
|
|
12
|
+
containerItems: KitShipmentCardActionItem[];
|
|
13
|
+
timelineItems: KitShipmentCardActionItem[];
|
|
14
|
+
}
|
|
15
|
+
export interface KitShipmentCardActionItem {
|
|
16
|
+
label: string;
|
|
17
|
+
value: string | null;
|
|
18
|
+
}
|
|
@@ -140,7 +140,13 @@ export declare enum KitSvgIcon {
|
|
|
140
140
|
NOTIFICATION_WARNING = "notification-warning",
|
|
141
141
|
EYE_OPEN = "eye-open",
|
|
142
142
|
EYE_CLOSE = "eye-close",
|
|
143
|
-
GLOBAL = "global"
|
|
143
|
+
GLOBAL = "global",
|
|
144
|
+
TO_APPROVE = "to-approve",
|
|
145
|
+
CHECK_STICKER = "check-sticker",
|
|
146
|
+
AIR = "air",
|
|
147
|
+
TABLE_VIEW = "table-view",
|
|
148
|
+
LIST_VIEW = "list-view",
|
|
149
|
+
KANBAN_VIEW = "kanban-view"
|
|
144
150
|
}
|
|
145
151
|
export declare enum KitSvgIconType {
|
|
146
152
|
FILL = "fill",
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -122,6 +122,8 @@ export { KitCardModule } from './lib/components/kit-card/kit-card.module';
|
|
|
122
122
|
export { KitCardComponent } from './lib/components/kit-card/kit-card.component';
|
|
123
123
|
export { KitCard, KitCardItem, KitCardLink } from './lib/components/kit-card/kit-card.model';
|
|
124
124
|
export { KitCardTheme } from './lib/components/kit-card/kit-card.const';
|
|
125
|
+
export { KitShipmentCard } from './lib/components/kit-shipment-card/kit-shipment-card.component';
|
|
126
|
+
export { KitShipmentCardData } from './lib/components/kit-shipment-card/kit-shipment-card.model';
|
|
125
127
|
export { KitBreadcrumbsModule } from './lib/components/kit-breadcrumbs/kit-breadcrumbs.module';
|
|
126
128
|
export { KitBreadcrumbsComponent } from './lib/components/kit-breadcrumbs/kit-breadcrumbs.component';
|
|
127
129
|
export { KitBreadcrumbsItem } from './lib/components/kit-breadcrumbs/kit-breadcrumbs.model';
|
|
@@ -191,6 +191,28 @@
|
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
+
.success {
|
|
195
|
+
color: var(--ui-kit-color-white);
|
|
196
|
+
background: var(--ui-kit-color-green-1);
|
|
197
|
+
|
|
198
|
+
.kit-button-icon {
|
|
199
|
+
@include setIconColor(var(--ui-kit-color-white));
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
&:hover {
|
|
203
|
+
background: var(--ui-kit-color-green-6);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
&:disabled {
|
|
207
|
+
border: 1px solid var(--ui-kit-color-grey-11);
|
|
208
|
+
background: var(--ui-kit-color-grey-13);
|
|
209
|
+
|
|
210
|
+
.kit-button-icon {
|
|
211
|
+
@include setIconColor(var(--ui-kit-color-grey-12));
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
194
216
|
.large {
|
|
195
217
|
padding: 0 16px;
|
|
196
218
|
height: 40px;
|
package/styles/theming.scss
CHANGED
|
@@ -51,18 +51,21 @@
|
|
|
51
51
|
|
|
52
52
|
--ui-kit-color-teal: #23afd2;
|
|
53
53
|
--ui-kit-color-teal-1: #d8edf3;
|
|
54
|
+
--ui-kit-color-teal-2: #4fcae8;
|
|
54
55
|
|
|
55
56
|
--ui-kit-color-orange: #faad14;
|
|
56
57
|
--ui-kit-color-orange-1: #faad1433;
|
|
57
58
|
--ui-kit-color-orange-2: #ff7a00;
|
|
58
59
|
--ui-kit-color-orange-3: #fbecde;
|
|
59
60
|
--ui-kit-color-orange-4: #fff6e4;
|
|
61
|
+
--ui-kit-color-orange-5: #fd9638;
|
|
60
62
|
|
|
61
63
|
--ui-kit-color-pink: #cd1159;
|
|
62
64
|
--ui-kit-color-pink-1: #fae7ee;
|
|
63
65
|
|
|
64
66
|
--ui-kit-color-purple: #7673ce;
|
|
65
67
|
--ui-kit-color-purple-1: #e7e7f6;
|
|
68
|
+
--ui-kit-color-purple-2: #9795e2;
|
|
66
69
|
|
|
67
70
|
--ui-kit-color-blue: #1677ff;
|
|
68
71
|
--ui-kit-color-blue-1: #e4eeff;
|