@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 CHANGED
@@ -363,6 +363,7 @@ export interface LayoutItemRegistration {
363
363
  title: string;
364
364
  description: string;
365
365
  topContainer: boolean;
366
+ weight?: number;
366
367
  }
367
368
  export interface ImportLayoutResult {
368
369
  isValid: boolean;
@@ -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
  };
@@ -26,4 +26,5 @@ export interface FeedQuery {
26
26
  filterByCategory?: ActorActivityCategory;
27
27
  includeRecentCreators?: number;
28
28
  includeCategories?: boolean;
29
+ take?: number;
29
30
  }
@@ -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;
@@ -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) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.556-dev",
4
+ "version": "8.0.558-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"