@omnia/fx 8.0.456-dev → 8.0.458-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.
Files changed (49) hide show
  1. package/internal-do-not-import-from-here/ux/aurora/admin/themedesigner/componentblueprints/store/ComponentEditorStore.d.ts +5 -8
  2. package/internal-do-not-import-from-here/ux/aurora/admin/themedesigner/componentblueprints/store/HeaderEditorStore.d.ts +5 -4
  3. package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/store/ButtonStyleEditorStore.d.ts +12 -10
  4. package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderPicker.d.ts +13 -10
  5. package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderRenderer.d.ts +5 -9
  6. package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderStyleEditor.d.ts +26 -0
  7. package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/store/HeaderPickerStore.d.ts +32 -0
  8. package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/store/HeaderStyleEditorStore.d.ts +32 -0
  9. package/internal-do-not-import-from-here/ux/aurora/components/input/InputBlueprintViewer.d.ts +23 -0
  10. package/internal-do-not-import-from-here/ux/aurora/components/input/InputStylePicker.d.ts +10 -6
  11. package/internal-do-not-import-from-here/ux/aurora/components/input/store/InputStylePickerStore.d.ts +32 -0
  12. package/internal-do-not-import-from-here/ux/aurora/components/tabs/store/TabStyleEditorStore.d.ts +10 -1
  13. package/internal-do-not-import-from-here/ux/aurora/store/ThemeStorage.d.ts +1 -1
  14. package/internal-do-not-import-from-here/ux/aurora/store/index.d.ts +1 -14
  15. package/internal-do-not-import-from-here/ux/mobile/index.d.ts +2 -1
  16. package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.d.ts +2 -2
  17. package/internal-do-not-import-from-here/ux/shared-mobile/stylex/Typings.d.ts +513 -513
  18. package/internal-do-not-import-from-here/ux/shared-mobile/stylex/index.d.ts +67 -65
  19. package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +1 -1
  20. package/internal-do-not-import-from-here/ux/velcron/core/index.d.ts +0 -1
  21. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +4 -4
  22. package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +5 -15
  23. package/internal-do-not-import-from-here/wctypings.d.ts +14 -12
  24. package/package.json +2 -2
  25. package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderPicker.css.d.ts +0 -4
  26. package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderViewer.d.ts +0 -24
  27. package/internal-do-not-import-from-here/ux/aurora/components/input/InputBlueprintsViewer.d.ts +0 -26
  28. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ColorManager.d.ts +0 -9
  29. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ColorSchemaStore.d.ts +0 -46
  30. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ComponentBlueprintStore.d.ts +0 -54
  31. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/DefineThemeProvider.d.ts +0 -4
  32. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/FontStore.d.ts +0 -18
  33. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/SpacingBlueprintStore.d.ts +0 -42
  34. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/TemplateRegistrationStore.d.ts +0 -20
  35. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeContextStore.d.ts +0 -16
  36. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeMigrations.d.ts +0 -12
  37. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeNormalizer.d.ts +0 -5
  38. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeProvider.d.ts +0 -39
  39. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeSharedModels.d.ts +0 -33
  40. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeStore.d.ts +0 -91
  41. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/TypographyBlueprintManager.d.ts +0 -22
  42. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/TypographyBlueprintStore.d.ts +0 -34
  43. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/VariantManager.d.ts +0 -7
  44. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/index.d.ts +0 -15
  45. package/internal-do-not-import-from-here/ux/aurora/styling/styles/StyleFormatters.d.ts +0 -4
  46. package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronColorSchema.d.ts +0 -25
  47. package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronStore.d.ts +0 -12
  48. package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronTheming.d.ts +0 -19
  49. package/internal-do-not-import-from-here/ux/velcron/core/stores/index.d.ts +0 -3
@@ -1,20 +0,0 @@
1
- import { guid, ITemplateRegistration, TemplateRegistrationType, Future } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
- export declare const useTemplateRegistrationStore: () => {
3
- state: {
4
- registrations: Record<string, ITemplateRegistration<any, TemplateRegistrationType>>;
5
- };
6
- events: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreEvents<{
7
- registrations: Record<string, ITemplateRegistration<any, TemplateRegistrationType>>;
8
- }, Record<string, import("@omnia/fx-models/internal-do-not-import-from-here/shared").IMessageBusTopicPublishSubscriber<any>>>;
9
- actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
10
- upsertRegistration<TTemplateRegistration extends ITemplateRegistration<any>>(registration: TTemplateRegistration): Promise<boolean>;
11
- deleteRegistration(registrationId: guid): Promise<boolean>;
12
- ensureLoadTemplates: () => Future<Record<string, ITemplateRegistration<any, TemplateRegistrationType>>>;
13
- }>;
14
- get: {
15
- byId: <TTemplateRegistration extends ITemplateRegistration<any>>(id: guid) => ITemplateRegistration<any, TemplateRegistrationType>;
16
- getByType: <TTemplateRegistration extends ITemplateRegistration<any>>(type: TemplateRegistrationType) => Array<TTemplateRegistration>;
17
- };
18
- } & {
19
- dispose?: () => void;
20
- };
@@ -1,16 +0,0 @@
1
- import { ThemeContextType } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
- import { useThemeStore } from "./ThemeStore";
3
- export declare const useThemeContextStore: () => {
4
- actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
5
- saveTheme(variant: ThemeContextType): void;
6
- }>;
7
- get: {
8
- readonly defaultTheme: ReturnType<typeof useThemeStore>;
9
- readonly adminTheme: ReturnType<typeof useThemeStore>;
10
- readonly previewTheme: ReturnType<typeof useThemeStore>;
11
- readonly designerTheme: ReturnType<typeof useThemeStore>;
12
- byType(type: ThemeContextType): ReturnType<typeof useThemeStore>;
13
- };
14
- } & {
15
- dispose?: () => void;
16
- };
@@ -1,12 +0,0 @@
1
- import { SpacingBlueprint, TypographyBlueprint } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
- export declare function ThemeMigrations(): {
3
- spacing: {
4
- migrate: (blueprint: SpacingBlueprint) => SpacingBlueprint;
5
- };
6
- typography: {
7
- migrate: (blueprint: TypographyBlueprint) => TypographyBlueprint;
8
- };
9
- theme: {
10
- migrate(themeDefinition: any): any;
11
- };
12
- };
@@ -1,5 +0,0 @@
1
- import { ResolvedThemeDefinition, TypographyBlueprint } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
- export declare function ThemeNormalizer(): {
3
- normalizeTypography: (typography: TypographyBlueprint) => TypographyBlueprint;
4
- normalize: (themeDefinition: ResolvedThemeDefinition) => ResolvedThemeDefinition;
5
- };
@@ -1,39 +0,0 @@
1
- import { ColorSchemas, guid, ResolvedThemeDefinition, SpacingBlueprint, TypographyBlueprint, TypographyFontDefinition } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
- import { ThemeRegistrationStoreType, ThemeRegistration, ComponentBlueprintStrategyType } from "./ThemeSharedModels";
3
- export declare const useThemeProviderStore: () => {
4
- actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
5
- registerStore(store: () => ThemeRegistrationStoreType): void;
6
- initiateStore(): void;
7
- registerDefaultTypographyBlueprints(blueprints: TypographyBlueprint): void;
8
- registerDefaultSpacingBlueprints(blueprints: SpacingBlueprint): void;
9
- registerDefaultLightColorSchema(blueprints: ColorSchemas): void;
10
- registerDefaultDarkColorSchema(blueprints: ColorSchemas): void;
11
- registerComponentBlueprintStrategy(strategy: ComponentBlueprintStrategyType): void;
12
- defineCustomFontLoader(loader: (font: TypographyFontDefinition) => void): void;
13
- loadAll(): Promise<import("./ThemeSharedModels").ThemesResolved>;
14
- save(theme: ThemeRegistration): Promise<any>;
15
- delete(id: guid): Promise<any>;
16
- setAdminTheme(theme: ResolvedThemeDefinition): void;
17
- setDefaultTheme(theme: ResolvedThemeDefinition): void;
18
- loadCustomFont(font: TypographyFontDefinition): void;
19
- }>;
20
- get: {
21
- readonly adminTheme: ResolvedThemeDefinition;
22
- readonly defaultTheme: ResolvedThemeDefinition;
23
- readonly defaultTypographyBlueprints: TypographyBlueprint;
24
- readonly defaultSpacingBlueprints: SpacingBlueprint;
25
- readonly defaultLightColorSchema: ColorSchemas;
26
- readonly defaultDarkColorSchema: ColorSchemas;
27
- readonly componentBlueprintStrategry: ComponentBlueprintStrategyType;
28
- };
29
- readonly events: {
30
- onMutatedAdminTheme: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<ResolvedThemeDefinition>;
31
- onMutatedDefaultTheme: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<ResolvedThemeDefinition>;
32
- };
33
- validations: {
34
- checkPlatformStoreRegistered(): void;
35
- checkDefaultBlueprintsRegistered(type: "typography" | "spacing" | "light" | "dark" | "component"): void;
36
- };
37
- } & {
38
- dispose?: () => void;
39
- };
@@ -1,33 +0,0 @@
1
- import { ColorSchema, ComponentBlueprints, guid, ITemplateRegistration, ResolvedThemeDefinition, SpacingBlueprint, TemplateRegistrationType, ThemeDefinition, TypographyBlueprint } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
- import { StoreEvents, StoreReturnDefineAction } from "@omnia/fx-models/internal-do-not-import-from-here/shared";
3
- export type ThemeRegistration = ITemplateRegistration<ResolvedThemeDefinition, TemplateRegistrationType> | ITemplateRegistration<ColorSchema> | ITemplateRegistration<TypographyBlueprint> | ITemplateRegistration<ComponentBlueprints> | ITemplateRegistration<SpacingBlueprint>;
4
- export type ThemesResolved = Array<ThemeDefinition | ColorSchema | TypographyBlueprint | SpacingBlueprint | ComponentBlueprints>;
5
- export type ThemeRegistrationStoreType = {
6
- state: {
7
- adminTheme: ResolvedThemeDefinition;
8
- defaultTheme: ResolvedThemeDefinition;
9
- };
10
- events: StoreEvents<{
11
- adminTheme: ResolvedThemeDefinition;
12
- defaultTheme: ResolvedThemeDefinition;
13
- }>;
14
- actions: StoreReturnDefineAction<{
15
- loadAll(): Promise<ThemesResolved>;
16
- save(theme: ThemeRegistration): Promise<any>;
17
- delete(id: guid): Promise<any>;
18
- }>;
19
- get: {
20
- readonly adminTheme: ResolvedThemeDefinition;
21
- readonly defaultTheme: ResolvedThemeDefinition;
22
- };
23
- };
24
- export type ComponentBlueprintStrategyType = {
25
- roundness: {
26
- readonly none: ComponentBlueprints;
27
- readonly xs: ComponentBlueprints;
28
- readonly s: ComponentBlueprints;
29
- readonly m: ComponentBlueprints;
30
- readonly l: ComponentBlueprints;
31
- readonly full: ComponentBlueprints;
32
- };
33
- };
@@ -1,91 +0,0 @@
1
- import { ColorSchema, ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes, BlueprintVariant, ResolvedThemeDefinition, guid, TextFillDefinitionValue, ContainerFillValue, ContainerFillBlueprint } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
- import { type ColorSchemaStoreType } from "./ColorSchemaStore";
3
- export declare const useThemeStore: () => {
4
- id: guid;
5
- state: {
6
- currentTheme: ResolvedThemeDefinition;
7
- };
8
- events: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreEvents<{
9
- currentTheme: ResolvedThemeDefinition;
10
- }, Record<string, import("@omnia/fx-models/internal-do-not-import-from-here/shared").IMessageBusTopicPublishSubscriber<any>>>;
11
- actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
12
- setTheme(themeDefinition: ResolvedThemeDefinition): void;
13
- }>;
14
- get: {
15
- getOrSetColorSchema(colorSchemaType: ColorSchemaTypes | ColorSchemaType, container?: boolean): {
16
- value: ColorSchemaStoreType;
17
- setValue(value: ColorSchemaStoreType): void;
18
- };
19
- componentBlueprintStore(): {
20
- state: {
21
- blueprints: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
22
- };
23
- events: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreEvents<{
24
- blueprints: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
25
- }, Record<string, import("@omnia/fx-models/internal-do-not-import-from-here/shared").IMessageBusTopicPublishSubscriber<any>>>;
26
- actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
27
- ensure(): {
28
- buttons: () => void;
29
- };
30
- setBlueprint(type: "default"): void;
31
- setBluePrints(componentBlueprints: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints): void;
32
- }>;
33
- get: {
34
- 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;
35
- readonly blueprints: import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
36
- fallbackBlueprints: {
37
- get(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
38
- 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;
39
- };
40
- button: {
41
- 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;
42
- 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;
43
- };
44
- input: {
45
- blueprintByType(type: 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;
46
- };
47
- tabs: {
48
- blueprintByType(type: 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;
49
- };
50
- icon: {
51
- 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;
52
- size: {
53
- 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;
54
- 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;
55
- };
56
- };
57
- containerFill: {
58
- hasVariant(type: BlueprintVariant | string): boolean;
59
- getByType(type: ContainerFillValue): any;
60
- };
61
- header: {
62
- hasVariant(type: BlueprintVariant | string): boolean;
63
- 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;
64
- };
65
- };
66
- deactivated(): void;
67
- } & {
68
- dispose?: () => void;
69
- };
70
- colorSchema(colorSchemaType: ColorSchemaTypes | ColorSchemaType | ColorSchema): ColorSchema;
71
- typography(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").TypographyBlueprint;
72
- fills(): {
73
- text: {
74
- hasVariant(type: BlueprintVariant | string): boolean;
75
- byValue(value: TextFillDefinitionValue): TextFillDefinitionValue;
76
- };
77
- container: {
78
- hasVariant(type: BlueprintVariant | string): boolean;
79
- bluePrints(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ContainerFillBlueprints;
80
- byValue(value: ContainerFillValue): ContainerFillBlueprint;
81
- };
82
- };
83
- spacing(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingBlueprint;
84
- component(): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ComponentBlueprints;
85
- color(colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType): string;
86
- colorDefinition(colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType): import("@omnia/fx-models/internal-do-not-import-from-here/shared").ColorDefinition;
87
- currentTheme(): ResolvedThemeDefinition;
88
- };
89
- } & {
90
- dispose?: () => void;
91
- };
@@ -1,22 +0,0 @@
1
- import { TextStyleDefinition, TypographyBlueprint } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
- interface BreakpointScale {
3
- lg: number;
4
- md: number;
5
- sm: number;
6
- }
7
- export declare function useTypographyBlueprintManager(): {
8
- typeScale: {
9
- getFontSize: (blueprint: TypographyBlueprint, scaleSlots: BreakpointScale) => void;
10
- createTextStyleDefinition: (blueprint: TypographyBlueprint, scaleSlots: BreakpointScale) => TextStyleDefinition;
11
- };
12
- textStyledefinition: {
13
- createAll(blueprint: TypographyBlueprint): TypographyBlueprint;
14
- update(definition: TextStyleDefinition, blueprint: TypographyBlueprint): TextStyleDefinition;
15
- strip(definition: TextStyleDefinition): TextStyleDefinition;
16
- };
17
- blueprint: {
18
- initFromScale(blueprint: TypographyBlueprint): TypographyBlueprint;
19
- strip(blueprint: TypographyBlueprint): TypographyBlueprint;
20
- };
21
- };
22
- export {};
@@ -1,34 +0,0 @@
1
- import { guid, TextStyleDefinition, TextStyleSize, TextStyleSizes, TextStyleType, TextStyleTypes, TypographyBlueprint, TypographyFontDefinition } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
- import { useThemeStore } from "./ThemeStore";
3
- export declare const useTypographyBlueprintStore: () => {
4
- state: {
5
- blueprint: TypographyBlueprint;
6
- id: guid;
7
- availableFonts: TypographyFontDefinition[];
8
- isCustomBlueprint: boolean;
9
- };
10
- events: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreEvents<{
11
- blueprint: TypographyBlueprint;
12
- id: guid;
13
- availableFonts: TypographyFontDefinition[];
14
- isCustomBlueprint: boolean;
15
- }, Record<string, import("@omnia/fx-models/internal-do-not-import-from-here/shared").IMessageBusTopicPublishSubscriber<any>>>;
16
- rules: {
17
- isStyleActive: (textStyleType: TextStyleType, size: TextStyleSizes) => boolean;
18
- };
19
- actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
20
- normalize(blueprint: TypographyBlueprint): TypographyBlueprint;
21
- setBlueprint(): void;
22
- setThemeStore(themeStoreInstance: ReturnType<typeof useThemeStore>): void;
23
- }>;
24
- get: {
25
- readonly defaultTypographyBlueprint: TypographyBlueprint;
26
- textStyleName: (textStyle: TextStyleType, size: TextStyleSizes) => any;
27
- readonly themeStore: ReturnType<typeof useThemeStore>;
28
- readonly blueprint: TypographyBlueprint;
29
- typography(typographyType: TextStyleTypes | TextStyleType, size: TextStyleSize | TextStyleSizes): TextStyleDefinition;
30
- };
31
- deactivated(): void;
32
- } & {
33
- dispose?: () => void;
34
- };
@@ -1,7 +0,0 @@
1
- export declare function useVariantManager<TVariants extends Record<string, any>, TVariant>(): {
2
- countVariants: (variants: TVariants, variantTypes: Array<string>) => number;
3
- getEmptyVariant: (variants: TVariants, variantTypes: Array<string>) => string;
4
- hasEmptySlots: (variants: TVariants, variantTypes: Array<string>) => boolean;
5
- hasVariant: (variants: TVariants, variant: string) => boolean;
6
- getVariant: (variants: TVariants, variant: string) => any;
7
- };
@@ -1,15 +0,0 @@
1
- export * from "./ColorManager";
2
- export * from "./ColorSchemaStore";
3
- export * from "./ComponentBlueprintStore";
4
- export * from "./FontStore";
5
- export * from "./SpacingBlueprintStore";
6
- export * from "./TemplateRegistrationStore";
7
- export * from "./ThemeContextStore";
8
- export * from "./ThemeMigrations";
9
- export * from "./ThemeNormalizer";
10
- export * from "./DefineThemeProvider";
11
- export * from "./ThemeSharedModels";
12
- export * from "./ThemeStore";
13
- export * from "./TypographyBlueprintManager";
14
- export * from "./TypographyBlueprintStore";
15
- export * from "./VariantManager";
@@ -1,4 +0,0 @@
1
- export declare namespace StyleFormatters {
2
- function formatPixelValue(value: any): string;
3
- function formatMediaUrl(url: string): string;
4
- }
@@ -1,25 +0,0 @@
1
- import { ColorDefinition, ColorSchema, ColorSchemaType, ColorSchemaTypes, guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
- import { useVelcronThemingStore } from ".";
3
- export declare const useVelcronColorSchemaStore: (newStateWithName?: string) => {
4
- state: {
5
- base: ColorDefinition;
6
- onBase: ColorDefinition;
7
- container: ColorDefinition;
8
- onContainer: ColorDefinition;
9
- isContainer: boolean;
10
- name: string;
11
- colorSchemaType: ColorSchemaTypes | ColorSchemaType;
12
- id: guid;
13
- };
14
- get: {
15
- readonly colorSchema: ColorSchema;
16
- readonly base: ColorDefinition;
17
- readonly onBase: ColorDefinition;
18
- readonly container: ColorDefinition;
19
- readonly onContainer: ColorDefinition;
20
- };
21
- actions: {
22
- setThemeStore: (themeStoreInstance: ReturnType<typeof useVelcronThemingStore>, colorSchemaType?: ColorSchemaTypes | ColorSchemaType, container?: boolean) => void;
23
- setColorSchema: (colorSchemaType: ColorSchemaType, container?: boolean) => void;
24
- };
25
- };
@@ -1,12 +0,0 @@
1
- export declare function defineVelcronStore<TSetup extends {
2
- state: object;
3
- privateState?: object;
4
- }, TGetters, TActions>(name: string, definition: {
5
- setup: () => TSetup;
6
- getters?: (state: TSetup["state"], privateState?: TSetup["privateState"]) => TGetters;
7
- actions?: (state: TSetup["state"], privateState?: TSetup["privateState"]) => TActions;
8
- }): (newStateWithName?: string) => {
9
- state: TSetup["state"];
10
- get: TGetters;
11
- actions: TActions;
12
- };
@@ -1,19 +0,0 @@
1
- import { ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes, ContainerFillBlueprint, BlueprintVariant, ResolvedThemeDefinition, TextStyleSize, TextStyleSizes, TextStyleType, TextStyleTypes } from "..";
2
- export declare const useVelcronThemingStore: (newStateWithName?: string) => {
3
- state: {
4
- currentTheme: ResolvedThemeDefinition;
5
- };
6
- get: {
7
- componentBlueprints: () => void;
8
- containerBlueprint: (type: BlueprintVariant | ContainerFillBlueprint | string) => any;
9
- colorSchema: (colorSchemaType: ColorSchemaTypes | ColorSchemaType) => import("..").ColorSchema;
10
- spacing: () => import("..").SpacingBlueprint;
11
- typography: (typographyType: TextStyleTypes | TextStyleType, size: TextStyleSizes | TextStyleSize) => any;
12
- color: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => string;
13
- colorDefinition: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => import("..").ColorDefinition;
14
- currentTheme: () => ResolvedThemeDefinition;
15
- };
16
- actions: {
17
- setTheme(newTheme: ResolvedThemeDefinition): void;
18
- };
19
- };
@@ -1,3 +0,0 @@
1
- export * from "./VelcronStore";
2
- export * from "./VelcronTheming";
3
- export * from "./VelcronColorSchema";