@c80/ui 1.0.35 → 1.0.37
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/esm2022/lib/icon/icon.component.mjs +65 -200
- package/esm2022/lib/icon/icon.constants.mjs +38 -0
- package/esm2022/lib/icon/icon.types.mjs +2 -0
- package/esm2022/lib/icon/index.mjs +3 -1
- package/esm2022/lib/stat-card/stat-card.component.mjs +1 -1
- package/esm2022/lib/table/table.component.mjs +4 -4
- package/lib/icon/icon.component.d.ts +39 -52
- package/lib/icon/icon.constants.d.ts +9 -0
- package/lib/icon/icon.types.d.ts +4 -0
- package/lib/icon/index.d.ts +2 -0
- package/lib/stat-card/stat-card.component.d.ts +2 -2
- package/lib/table/table.component.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ColorType } from './icon.types';
|
|
2
|
+
export declare const ICON_NAMES: readonly ["default", "check", "cancel", "edit", "delete", "add", "view", "get", "settings", "schedule", "refresh", "checkCircle", "cancelCircle", "error", "queue", "arrowUp", "arrowDown", "toggleOn", "toggleOff", "search", "upload", "pendingActions", "playCircle"];
|
|
3
|
+
export declare const BASE_ICON_COLORS: Readonly<Record<ColorType, string>>;
|
|
4
|
+
export declare const DISABLED_COLOR = "#bdbdbd";
|
|
5
|
+
export declare const DEFAULT_ICON_COLOR = "#222";
|
|
6
|
+
export declare const DISABLED_OPACITY = 0.5;
|
|
7
|
+
export declare const SECONDARY_WARN_OPACITY = 0.7;
|
|
8
|
+
export declare const DEFAULT_OPACITY = 1;
|
|
9
|
+
export declare const BASE_ICON_SIZE = 24;
|
package/lib/icon/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import {
|
|
3
|
+
import { type IconType } from '../icon';
|
|
4
4
|
import { C80TableColDef, ID } from './table.types';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
@@ -70,7 +70,7 @@ import * as i0 from "@angular/core";
|
|
|
70
70
|
size: number;
|
|
71
71
|
multiple: boolean;
|
|
72
72
|
noConfirm: boolean;
|
|
73
|
-
customActionIcon:
|
|
73
|
+
customActionIcon: IconType;
|
|
74
74
|
customActionTooltip: string;
|
|
75
75
|
createAction: EventEmitter<{
|
|
76
76
|
row: Partial<T>;
|