@omnia/fx 7.0.513-dev → 7.0.514-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.
@@ -1,9 +1,12 @@
1
- export declare const defineVelcronStore: <TState, TGetters, TActions>(name: string, definition: {
2
- state: TState;
3
- getters: (state: TState) => TGetters;
4
- actions: (state: TState) => TActions;
1
+ export declare const defineVelcronStore: <TState extends {
2
+ state: object;
3
+ privateState?: object;
4
+ }, TGetters, TActions>(name: string, definition: {
5
+ state: () => TState;
6
+ getters: (state: TState["state"], privateState?: TState["privateState"]) => TGetters;
7
+ actions: (state: TState["state"], privateState?: TState["privateState"]) => TActions;
5
8
  }) => () => {
6
- state: TState;
9
+ state: object;
7
10
  get: TGetters;
8
11
  actions: TActions;
9
12
  };
@@ -1,11 +1,9 @@
1
1
  import { ColorSchema, ThemeDefinitionV2, TypographyType } from "..";
2
2
  export declare const useVelcronThemingStore: () => {
3
- state: {
4
- currentTheme: ThemeDefinitionV2;
5
- activeSchema: string;
6
- };
3
+ state: object;
7
4
  get: {
8
5
  activeColorSchema: () => ColorSchema;
6
+ colorSchema: (schema: string) => ColorSchema;
9
7
  typography: (name: string) => TypographyType;
10
8
  colorFromActiveSchema: (name: string) => string;
11
9
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "7.0.513-dev",
4
+ "version": "7.0.514-dev",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "7.0.513-dev",
23
+ "@omnia/fx-models": "7.0.514-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",