@omnia/fx-models 8.0.556-dev → 8.0.558-dev
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/Layout.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/aurora/stores/ColorManager.d.ts +3 -1
- package/internal-do-not-import-from-here/shared/models/activity-hub/activities/ActivityFeed.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/activity-hub/activities/ActorActivity.d.ts +7 -3
- package/internal-do-not-import-from-here/shared/models/activity-hub/activities/ActorActivity.js +0 -1
- package/package.json +1 -1
package/Layout.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ColorDefinition } from "internal/fx/shared/models";
|
|
1
|
+
import { ColorDefinition, FillDefinition } from "internal/fx/shared/models";
|
|
2
|
+
import { type useColorSchemaStore } from "./ColorSchemaStore";
|
|
2
3
|
export declare function useColorManager(): {
|
|
3
4
|
isWcagCompliant: (color1: string, color2: string, level: "AA" | "AAA") => boolean;
|
|
4
5
|
getColorDefinition: (color: string, isBaseColorDark: boolean) => ColorDefinition;
|
|
@@ -6,4 +7,5 @@ export declare function useColorManager(): {
|
|
|
6
7
|
addOpacityToColor: (color: any, opacity: any) => any;
|
|
7
8
|
isValidColor: (color: string) => boolean;
|
|
8
9
|
hasOpacity: (color: string) => boolean;
|
|
10
|
+
hasFillOpacity: (fill: FillDefinition, colors: ReturnType<typeof useColorSchemaStore>) => boolean;
|
|
9
11
|
};
|
package/internal-do-not-import-from-here/shared/models/activity-hub/activities/ActorActivity.d.ts
CHANGED
|
@@ -4,8 +4,7 @@ import { ChannelId } from "../channels/ActivityChannel";
|
|
|
4
4
|
import { DynamicState } from "../../DynamicState";
|
|
5
5
|
export declare enum ActorActivityStatus {
|
|
6
6
|
new = 0,
|
|
7
|
-
read = 1
|
|
8
|
-
completed = 2
|
|
7
|
+
read = 1
|
|
9
8
|
}
|
|
10
9
|
export declare enum ActorActivityCategory {
|
|
11
10
|
none = 0,
|
|
@@ -26,7 +25,7 @@ export interface ActorActivityBase {
|
|
|
26
25
|
status: ActorActivityStatus;
|
|
27
26
|
category: ActorActivityCategory;
|
|
28
27
|
}
|
|
29
|
-
export interface ActorActivity<TRenderState extends DynamicState, TState extends DynamicState> extends ActorActivityBase {
|
|
28
|
+
export interface ActorActivity<TRenderState extends DynamicState = object, TState extends DynamicState = object> extends ActorActivityBase {
|
|
30
29
|
activity: Activity<TRenderState>;
|
|
31
30
|
state?: TState;
|
|
32
31
|
}
|
|
@@ -45,6 +44,11 @@ export interface ActivityCategoryCount {
|
|
|
45
44
|
category: ActorActivityCategory;
|
|
46
45
|
count: number;
|
|
47
46
|
}
|
|
47
|
+
export interface ActivityCategoryInfo {
|
|
48
|
+
category: ActorActivityCategory;
|
|
49
|
+
title: string;
|
|
50
|
+
icon: string;
|
|
51
|
+
}
|
|
48
52
|
export interface RecentActorActivities {
|
|
49
53
|
createdBy: ActorId;
|
|
50
54
|
activityId: ActivityId;
|
package/internal-do-not-import-from-here/shared/models/activity-hub/activities/ActorActivity.js
CHANGED
|
@@ -5,7 +5,6 @@ var ActorActivityStatus;
|
|
|
5
5
|
(function (ActorActivityStatus) {
|
|
6
6
|
ActorActivityStatus[ActorActivityStatus["new"] = 0] = "new";
|
|
7
7
|
ActorActivityStatus[ActorActivityStatus["read"] = 1] = "read";
|
|
8
|
-
ActorActivityStatus[ActorActivityStatus["completed"] = 2] = "completed";
|
|
9
8
|
})(ActorActivityStatus || (exports.ActorActivityStatus = ActorActivityStatus = {}));
|
|
10
9
|
var ActorActivityCategory;
|
|
11
10
|
(function (ActorActivityCategory) {
|