@indigina/ui-kit 1.0.128 → 1.0.131
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-check.svg +7 -0
- package/assets/icons/circle-pulse.svg +4 -0
- package/assets/icons/clipboard-thin.svg +4 -0
- package/assets/icons/wallet.svg +4 -0
- package/esm2020/lib/components/kit-navigation-tabs/kit-navigation-tabs.component.mjs +36 -0
- package/esm2020/lib/components/kit-navigation-tabs/kit-navigation-tabs.module.mjs +34 -0
- package/esm2020/lib/components/kit-radio-button/kit-radio-button.component.mjs +19 -5
- package/esm2020/lib/components/kit-svg-icon/kit-svg-icon.const.mjs +5 -1
- package/esm2020/lib/components/kit-svg-sprite/kit-svg-sprite.component.mjs +3 -3
- package/esm2020/lib/utils/random.util.mjs +3 -0
- package/esm2020/public-api.mjs +6 -1
- package/fesm2015/indigina-ui-kit.mjs +29 -7
- package/fesm2015/indigina-ui-kit.mjs.map +1 -1
- package/fesm2020/indigina-ui-kit.mjs +29 -7
- package/fesm2020/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-navigation-tabs/kit-navigation-tabs.component.d.ts +24 -0
- package/lib/components/kit-navigation-tabs/kit-navigation-tabs.module.d.ts +10 -0
- package/lib/components/kit-radio-button/kit-radio-button.component.d.ts +4 -1
- package/lib/components/kit-svg-icon/kit-svg-icon.const.d.ts +5 -1
- package/lib/utils/random.util.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Predicate } from '@angular/core';
|
|
2
|
+
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface KitNavigationTabsItem {
|
|
5
|
+
title: string;
|
|
6
|
+
link: string | string[];
|
|
7
|
+
icon?: KitSvgIcon;
|
|
8
|
+
iconType?: KitNavigationTabsItemIconType;
|
|
9
|
+
disabled?: Predicate<KitNavigationTabsItem>;
|
|
10
|
+
}
|
|
11
|
+
export declare enum KitNavigationTabsItemIconType {
|
|
12
|
+
FILL = "fill",
|
|
13
|
+
STROKE = "stroke"
|
|
14
|
+
}
|
|
15
|
+
export declare class KitNavigationTabsComponent {
|
|
16
|
+
/**
|
|
17
|
+
* Items which are going to be rendered as tabs navigation items
|
|
18
|
+
*/
|
|
19
|
+
items: KitNavigationTabsItem[];
|
|
20
|
+
getRouterLink(item: KitNavigationTabsItem): string | string[] | null;
|
|
21
|
+
getItemIconCssClass(item: KitNavigationTabsItem): KitNavigationTabsItemIconType;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationTabsComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitNavigationTabsComponent, "kit-navigation-tabs", never, { "items": "items"; }, {}, never, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kit-navigation-tabs.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/router";
|
|
5
|
+
import * as i4 from "../kit-svg-icon/kit-svg-icon.module";
|
|
6
|
+
export declare class KitNavigationTabsModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationTabsModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitNavigationTabsModule, [typeof i1.KitNavigationTabsComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.KitSvgIconModule], [typeof i1.KitNavigationTabsComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitNavigationTabsModule>;
|
|
10
|
+
}
|
|
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class KitRadioButtonComponent<T> implements ControlValueAccessor {
|
|
6
6
|
items: KitRadioButton<T>[];
|
|
7
7
|
label: string | null;
|
|
8
|
+
name: string;
|
|
8
9
|
readonly: boolean;
|
|
9
10
|
disabled: boolean;
|
|
10
11
|
changed: EventEmitter<KitRadioButton<T>>;
|
|
@@ -17,7 +18,9 @@ export declare class KitRadioButtonComponent<T> implements ControlValueAccessor
|
|
|
17
18
|
registerOnTouched(fn: () => void): void;
|
|
18
19
|
setDisabledState(disabled: boolean): void;
|
|
19
20
|
onRadioValueChange(item: KitRadioButton<T>): void;
|
|
21
|
+
private buildUniqName;
|
|
22
|
+
private getFirstPartOfUUID;
|
|
20
23
|
private needToPrevent;
|
|
21
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitRadioButtonComponent<any>, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitRadioButtonComponent<any>, "kit-radio-button", never, { "items": "items"; "label": "label"; "readonly": "readonly"; "disabled": "disabled"; }, { "changed": "changed"; }, never, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitRadioButtonComponent<any>, "kit-radio-button", never, { "items": "items"; "label": "label"; "name": "name"; "readonly": "readonly"; "disabled": "disabled"; }, { "changed": "changed"; }, never, never>;
|
|
23
26
|
}
|
|
@@ -47,5 +47,9 @@ export declare enum KitSvgIcon {
|
|
|
47
47
|
CIRCLE_PLUS = "circle-plus",
|
|
48
48
|
THREE_CIRCLE_ARROW_LEFT = "three-circle-arrow-left",
|
|
49
49
|
THREE_CIRCLE_ARROW_RIGHT = "three-circle-arrow-right",
|
|
50
|
-
SEND = "send"
|
|
50
|
+
SEND = "send",
|
|
51
|
+
CALENDAR_CHECK = "calendar-check",
|
|
52
|
+
CLIPBOARD_THIN = "clipboard-thin",
|
|
53
|
+
WALLET = "wallet",
|
|
54
|
+
CIRCLE_PULSE = "circle-pulse"
|
|
51
55
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const buildRandomUUID: () => string;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -61,3 +61,6 @@ export { KitQueryParamsService, KitQueryParams, KitQueryParamsName } from './lib
|
|
|
61
61
|
export { KitRadioButtonComponent } from './lib/components/kit-radio-button/kit-radio-button.component';
|
|
62
62
|
export { KitRadioButtonModule } from './lib/components/kit-radio-button/kit-radio-button.module';
|
|
63
63
|
export { KitRadioButton } from './lib/components/kit-radio-button/kit-radio-button.model';
|
|
64
|
+
export { buildRandomUUID } from './lib/utils/random.util';
|
|
65
|
+
export { KitNavigationTabsComponent, KitNavigationTabsItem, KitNavigationTabsItemIconType, } from 'projects/ui-kit/src/lib/components/kit-navigation-tabs/kit-navigation-tabs.component';
|
|
66
|
+
export { KitNavigationTabsModule } from 'projects/ui-kit/src/lib/components/kit-navigation-tabs/kit-navigation-tabs.module';
|