@omnia/fx 8.0.454-dev → 8.0.456-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.
@@ -26,7 +26,7 @@ export declare const useThemeProviderStore: () => {
26
26
  readonly defaultDarkColorSchema: ColorSchemas;
27
27
  readonly componentBlueprintStrategry: ComponentBlueprintStrategyType;
28
28
  };
29
- events: {
29
+ readonly events: {
30
30
  onMutatedAdminTheme: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<ResolvedThemeDefinition>;
31
31
  onMutatedDefaultTheme: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<ResolvedThemeDefinition>;
32
32
  };
@@ -1,15 +1,12 @@
1
1
  export * from "./ColorManager";
2
- export * from "./ColorSchemaManager";
3
2
  export * from "./ColorSchemaStore";
4
3
  export * from "./ComponentBlueprintStore";
5
4
  export * from "./FontStore";
6
5
  export * from "./SpacingBlueprintStore";
7
- export * from "./StateManager";
8
6
  export * from "./TemplateRegistrationStore";
9
7
  export * from "./ThemeContextStore";
10
8
  export * from "./ThemeMigrations";
11
9
  export * from "./ThemeNormalizer";
12
- export * from "./ThemePreviewContextStore";
13
10
  export * from "./DefineThemeProvider";
14
11
  export * from "./ThemeSharedModels";
15
12
  export * from "./ThemeStore";
@@ -1,5 +1,5 @@
1
1
  import { TonalPalette } from "@material/material-color-utilities";
2
- import { ColorSchema } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
+ import { ColorSchema } from "@omnia/fx-models";
3
3
  interface ColorGroup {
4
4
  dark: ColorSchema;
5
5
  light: ColorSchema;
@@ -1,4 +1,4 @@
1
- import { VelcronState } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
1
+ import { VelcronState } from "@omnia/fx-models";
2
2
  export declare function StateManager(): {
3
3
  cleanState: (object2Clean: VelcronState, objectToCompareAgainst: VelcronState) => VelcronState;
4
4
  };
@@ -1,18 +1,17 @@
1
1
  export * from "../shared-mobile/ColorManager";
2
- export * from "../shared-mobile/ColorSchemaManager";
3
2
  export { useColorSchemaStore, type ColorSchemaStoreType } from "../shared-mobile/ColorSchemaStore";
4
3
  export * from "../shared-mobile/ComponentBlueprintStore";
5
4
  export * from "../shared-mobile/FontStore";
6
5
  export * from "../shared-mobile/SpacingBlueprintStore";
7
- export * from "../shared-mobile/StateManager";
8
6
  export * from "../shared-mobile/TemplateRegistrationStore";
9
7
  export * from "../shared-mobile/ThemeContextStore";
10
8
  export * from "../shared-mobile/ThemeMigrations";
11
9
  export * from "../shared-mobile/ThemeNormalizer";
12
- export * from "../shared-mobile/ThemePreviewContextStore";
13
10
  export * from "../shared-mobile/ThemeSharedModels";
14
11
  export * from "../shared-mobile/ThemeStore";
15
12
  export * from "../shared-mobile/TypographyBlueprintManager";
16
13
  export * from "../shared-mobile/TypographyBlueprintStore";
17
14
  export * from "../shared-mobile/VariantManager";
15
+ export * from "./ColorSchemaManager";
16
+ export * from "./StateManager";
18
17
  export * from "./ThemeStorage";
@@ -149,6 +149,6 @@ export declare const Stylex: {
149
149
  cssRules: ICssRules;
150
150
  mergeCssRules: (...styles: ReadonlyArray<StylexValue>) => Readonly<StylexValue>;
151
151
  createCssString(styles: CSSProperties): string;
152
- createStylex(cssProperties: StylexCssProperties): StylexValue;
152
+ createStylex: (cssProperties: StylexCssProperties) => StylexValue;
153
153
  };
154
- export declare function registerStylexProvider(stylex: ICssRules, mergeCssRules: (...styles: ReadonlyArray<StylexValue>) => Readonly<StylexValue>): void;
154
+ export declare function registerStylexProvider(stylex: ICssRules, mergeCssRules: (...styles: ReadonlyArray<StylexValue>) => Readonly<StylexValue>, createStylex: (cssProperties: StylexCssProperties) => StylexValue): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.454-dev",
4
+ "version": "8.0.456-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": "Omnia Digital Workplace AB",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.454-dev",
23
+ "@omnia/fx-models": "8.0.456-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",
@@ -1,100 +0,0 @@
1
- export declare const useThemePreviewContextStore: () => {
2
- actions: {
3
- onDispatching: {};
4
- onDispatched: {};
5
- onFailure: {};
6
- };
7
- get: {
8
- readonly themeStore: {
9
- id: import("@omnia/fx-models/internal-do-not-import-from-here/shared").guid;
10
- state: {
11
- currentTheme: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ResolvedThemeDefinition;
12
- };
13
- events: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreEvents<{
14
- currentTheme: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ResolvedThemeDefinition;
15
- }, Record<string, import("@omnia/fx-models/internal-do-not-import-from-here/shared").IMessageBusTopicPublishSubscriber<any>>>;
16
- actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
17
- setTheme(themeDefinition: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ResolvedThemeDefinition): void;
18
- }>;
19
- get: {
20
- getOrSetColorSchema(colorSchemaType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchemaTypes | import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchemaType, container?: boolean): {
21
- value: import("./ColorSchemaStore").ColorSchemaStoreType;
22
- setValue(value: import("./ColorSchemaStore").ColorSchemaStoreType): void;
23
- };
24
- componentBlueprintStore(): {
25
- state: {
26
- blueprints: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
27
- };
28
- events: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreEvents<{
29
- blueprints: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
30
- }, Record<string, import("@omnia/fx-models/internal-do-not-import-from-here/shared").IMessageBusTopicPublishSubscriber<any>>>;
31
- actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
32
- ensure(): {
33
- buttons: () => void;
34
- };
35
- setBlueprint(type: "default"): void;
36
- setBluePrints(componentBlueprints: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints): void;
37
- }>;
38
- get: {
39
- byType<TType extends import("@omnia/fx-models/internal-do-not-import-from-here/shared").Blueprint>(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").WebBlueprintItemDefintionType): any;
40
- readonly blueprints: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
41
- fallbackBlueprints: {
42
- get(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
43
- byType(strategyType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").BlueprintsStrategyBase): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
44
- };
45
- button: {
46
- iconBlueprintBySize(sizeType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").OIconSizes): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ButtonBlueprint;
47
- blueprintByType(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ButtonBlueprintVariant | import("@omnia/fx-models/internal-do-not-import-from-here/shared").ButtonBlueprint): any;
48
- };
49
- input: {
50
- blueprintByType(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").BlueprintVariant | import("@omnia/fx-models/internal-do-not-import-from-here/shared").InputBlueprint): import("@omnia/fx-models/internal-do-not-import-from-here/shared").InputBlueprint;
51
- };
52
- tabs: {
53
- blueprintByType(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").BlueprintVariant | import("@omnia/fx-models/internal-do-not-import-from-here/shared").TabsBlueprint): import("@omnia/fx-models/internal-do-not-import-from-here/shared").TabsBlueprint;
54
- };
55
- icon: {
56
- blueprint(size: import("@omnia/fx-models/internal-do-not-import-from-here/shared").OIconSizes): import("@omnia/fx-models/internal-do-not-import-from-here/shared").IconBlueprint;
57
- size: {
58
- byBluePrint(blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").IconBlueprint, typographyBlueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").TypographyBlueprint): import("@omnia/fx-models/internal-do-not-import-from-here/shared").TextStyleDefinition;
59
- byIconSize(size: import("@omnia/fx-models/internal-do-not-import-from-here/shared").OIconSizes, typographyBlueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").TypographyBlueprint): import("@omnia/fx-models/internal-do-not-import-from-here/shared").TextStyleDefinition;
60
- };
61
- };
62
- containerFill: {
63
- hasVariant(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").BlueprintVariant | string): boolean;
64
- getByType(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ContainerFillValue): any;
65
- };
66
- header: {
67
- hasVariant(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").BlueprintVariant | string): boolean;
68
- getRendererBlueprint(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").HeaderBlueprint): import("@omnia/fx-models/internal-do-not-import-from-here/shared").HeaderBlueprint;
69
- };
70
- };
71
- deactivated(): void;
72
- } & {
73
- dispose?: () => void;
74
- };
75
- colorSchema(colorSchemaType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchemaTypes | import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchemaType | import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchema): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchema;
76
- typography(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").TypographyBlueprint;
77
- fills(): {
78
- text: {
79
- hasVariant(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").BlueprintVariant | string): boolean;
80
- byValue(value: import("@omnia/fx-models/internal-do-not-import-from-here/shared").TextFillDefinitionValue): import("@omnia/fx-models/internal-do-not-import-from-here/shared").TextFillDefinitionValue;
81
- };
82
- container: {
83
- hasVariant(type: import("@omnia/fx-models/internal-do-not-import-from-here/shared").BlueprintVariant | string): boolean;
84
- bluePrints(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ContainerFillBlueprints;
85
- byValue(value: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ContainerFillValue): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ContainerFillBlueprint;
86
- };
87
- };
88
- spacing(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingBlueprint;
89
- component(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
90
- color(colorSchemaType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchemaTypes | import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchemaType, colorType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorTypes | import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorType): string;
91
- colorDefinition(colorSchemaType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchemaTypes | import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorSchemaType, colorType: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorTypes | import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorType): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorDefinition;
92
- currentTheme(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ResolvedThemeDefinition;
93
- };
94
- } & {
95
- dispose?: () => void;
96
- };
97
- };
98
- } & {
99
- dispose?: () => void;
100
- };