@omnia/fx 8.0.457-dev → 8.0.459-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/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
- package/internal-do-not-import-from-here/ux/Styles.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/store/ButtonStyleEditorStore.d.ts +11 -2
- package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderRenderer.d.ts +4 -8
- package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/store/HeaderStyleEditorStore.d.ts +7 -3
- package/internal-do-not-import-from-here/ux/aurora/components/tabs/store/TabStyleEditorStore.d.ts +6 -3
- package/internal-do-not-import-from-here/ux/aurora/store/ThemeStorage.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/store/index.d.ts +1 -14
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/mobile/index.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/text/Text.d.ts +3 -7
- package/internal-do-not-import-from-here/ux/shared-mobile/oxides/Text.d.ts +19 -0
- package/internal-do-not-import-from-here/ux/shared-mobile/oxides/Theming.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/shared-mobile/oxides/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +5 -15
- package/internal-do-not-import-from-here/wctypings.d.ts +0 -8
- package/package.json +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderPicker.css.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderPicker_old.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderViewer.d.ts +0 -24
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ColorManager.d.ts +0 -9
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ColorSchemaStore.d.ts +0 -46
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ComponentBlueprintStore.d.ts +0 -54
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/DefineThemeProvider.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/FontStore.d.ts +0 -18
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/SpacingBlueprintStore.d.ts +0 -42
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/TemplateRegistrationStore.d.ts +0 -20
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeContextStore.d.ts +0 -16
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeMigrations.d.ts +0 -12
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeNormalizer.d.ts +0 -5
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeProvider.d.ts +0 -39
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeSharedModels.d.ts +0 -33
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeStore.d.ts +0 -91
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/TypographyBlueprintManager.d.ts +0 -22
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/TypographyBlueprintStore.d.ts +0 -34
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/VariantManager.d.ts +0 -7
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/index.d.ts +0 -15
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/StyleFormatters.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/shared-mobile/stylex/Typings.d.ts +0 -894
- package/internal-do-not-import-from-here/ux/shared-mobile/stylex/index.d.ts +0 -156
- package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronColorSchema.d.ts +0 -25
- package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronStore.d.ts +0 -12
- package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronTheming.d.ts +0 -19
- package/internal-do-not-import-from-here/ux/velcron/core/stores/index.d.ts +0 -3
package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ComponentBlueprintStore.d.ts
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
import { Blueprint, BlueprintsStrategyBase, BlueprintVariant, ButtonBlueprint, ButtonBlueprintVariant, ComponentBlueprints, ContainerFillValue, HeaderBlueprint, IconBlueprint, InputBlueprint, OIconSizes, TabsBlueprint, TextStyleDefinition, TypographyBlueprint, WebBlueprintItemDefintionType } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
|
-
type blueprintType = "default";
|
3
|
-
export declare const useComponentBlueprintStore: () => {
|
4
|
-
state: {
|
5
|
-
blueprints: ComponentBlueprints;
|
6
|
-
};
|
7
|
-
events: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreEvents<{
|
8
|
-
blueprints: ComponentBlueprints;
|
9
|
-
}, Record<string, import("@omnia/fx-models/internal-do-not-import-from-here/shared").IMessageBusTopicPublishSubscriber<any>>>;
|
10
|
-
actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
|
11
|
-
ensure(): {
|
12
|
-
buttons: () => void;
|
13
|
-
};
|
14
|
-
setBlueprint(type: blueprintType): void;
|
15
|
-
setBluePrints(componentBlueprints: ComponentBlueprints): void;
|
16
|
-
}>;
|
17
|
-
get: {
|
18
|
-
byType<TType extends Blueprint>(type: WebBlueprintItemDefintionType): any;
|
19
|
-
readonly blueprints: ComponentBlueprints;
|
20
|
-
fallbackBlueprints: {
|
21
|
-
get(): ComponentBlueprints;
|
22
|
-
byType(strategyType: BlueprintsStrategyBase): ComponentBlueprints;
|
23
|
-
};
|
24
|
-
button: {
|
25
|
-
iconBlueprintBySize(sizeType: OIconSizes): ButtonBlueprint;
|
26
|
-
blueprintByType(type: ButtonBlueprintVariant | ButtonBlueprint): any;
|
27
|
-
};
|
28
|
-
input: {
|
29
|
-
blueprintByType(type: BlueprintVariant | InputBlueprint): InputBlueprint;
|
30
|
-
};
|
31
|
-
tabs: {
|
32
|
-
blueprintByType(type: BlueprintVariant | TabsBlueprint): TabsBlueprint;
|
33
|
-
};
|
34
|
-
icon: {
|
35
|
-
blueprint(size: OIconSizes): IconBlueprint;
|
36
|
-
size: {
|
37
|
-
byBluePrint(blueprint: IconBlueprint, typographyBlueprint: TypographyBlueprint): TextStyleDefinition;
|
38
|
-
byIconSize(size: OIconSizes, typographyBlueprint: TypographyBlueprint): TextStyleDefinition;
|
39
|
-
};
|
40
|
-
};
|
41
|
-
containerFill: {
|
42
|
-
hasVariant(type: BlueprintVariant | string): boolean;
|
43
|
-
getByType(type: ContainerFillValue): any;
|
44
|
-
};
|
45
|
-
header: {
|
46
|
-
hasVariant(type: BlueprintVariant | string): boolean;
|
47
|
-
getRendererBlueprint(type: HeaderBlueprint): HeaderBlueprint;
|
48
|
-
};
|
49
|
-
};
|
50
|
-
deactivated(): void;
|
51
|
-
} & {
|
52
|
-
dispose?: () => void;
|
53
|
-
};
|
54
|
-
export {};
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import { useThemeProviderStore } from "./ThemeProvider";
|
2
|
-
type SetupThemeProvider = Pick<ReturnType<typeof useThemeProviderStore>["actions"], "registerStore" | "registerDefaultTypographyBlueprints" | "registerDefaultSpacingBlueprints" | "registerDefaultLightColorSchema" | "registerDefaultDarkColorSchema" | "registerComponentBlueprintStrategy" | "defineCustomFontLoader">;
|
3
|
-
export declare function defineThemeProvider(setup: (ctx: SetupThemeProvider) => void): void;
|
4
|
-
export {};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { Future, ITemplateRegistration, TypographyFontDefinition } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
|
-
export declare const useFontStore: () => {
|
3
|
-
actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
|
4
|
-
ensureLoadFonts: () => Future<ITemplateRegistration<TypographyFontDefinition, import("@omnia/fx-models/internal-do-not-import-from-here/shared").TemplateRegistrationType>[]>;
|
5
|
-
addFont(font: TypographyFontDefinition): void;
|
6
|
-
editFont(font: TypographyFontDefinition): void;
|
7
|
-
onFinishLoad(): Future<Record<string, ITemplateRegistration<any, import("@omnia/fx-models/internal-do-not-import-from-here/shared").TemplateRegistrationType>>>;
|
8
|
-
saveFont(): Promise<boolean>;
|
9
|
-
delete(font: TypographyFontDefinition): Promise<void>;
|
10
|
-
}>;
|
11
|
-
get: {
|
12
|
-
readonly availableFonts: TypographyFontDefinition[];
|
13
|
-
findFont(family: string): ITemplateRegistration<TypographyFontDefinition, import("@omnia/fx-models/internal-do-not-import-from-here/shared").TemplateRegistrationType>;
|
14
|
-
readonly finishLoad: boolean;
|
15
|
-
};
|
16
|
-
} & {
|
17
|
-
dispose?: () => void;
|
18
|
-
};
|
@@ -1,42 +0,0 @@
|
|
1
|
-
import { BlueprintVariant, guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
|
-
import { useThemeStore } from "./ThemeStore";
|
3
|
-
export declare const useSpacingBlueprintStore: () => {
|
4
|
-
state: {
|
5
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingBlueprint;
|
6
|
-
blueprintType: BlueprintVariant;
|
7
|
-
id: guid;
|
8
|
-
isCustomBlueprint: boolean;
|
9
|
-
};
|
10
|
-
events: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreEvents<{
|
11
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingBlueprint;
|
12
|
-
blueprintType: BlueprintVariant;
|
13
|
-
id: guid;
|
14
|
-
isCustomBlueprint: boolean;
|
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
|
-
setBlueprint(): void;
|
18
|
-
setThemeStore(themeStoreInstance: ReturnType<typeof useThemeStore>): void;
|
19
|
-
}>;
|
20
|
-
get: {
|
21
|
-
readonly defaultSpacingBlueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingBlueprint;
|
22
|
-
readonly themeStore: ReturnType<typeof useThemeStore>;
|
23
|
-
readonly blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingBlueprint;
|
24
|
-
readonly spacingScaling: {
|
25
|
-
get: {
|
26
|
-
valueWithoutScale: (value: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingValue) => string | number;
|
27
|
-
scaleFromValue: (value: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingValue) => import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingScale;
|
28
|
-
scale: (value: import("@omnia/fx-models/internal-do-not-import-from-here/shared").Spacing | import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingValue) => import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingScale;
|
29
|
-
};
|
30
|
-
add: {
|
31
|
-
scaleToValue: (value: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingValue, scale: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingScale) => string | number;
|
32
|
-
fallBackScale: (value: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingValue, scale: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingScale) => string | number;
|
33
|
-
};
|
34
|
-
has: {
|
35
|
-
scaling: (value: import("@omnia/fx-models/internal-do-not-import-from-here/shared").SpacingValue) => boolean;
|
36
|
-
};
|
37
|
-
};
|
38
|
-
};
|
39
|
-
deactivated(): void;
|
40
|
-
} & {
|
41
|
-
dispose?: () => void;
|
42
|
-
};
|
package/internal-do-not-import-from-here/ux/aurora/shared-mobile/TemplateRegistrationStore.d.ts
DELETED
@@ -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 componentBlueprintStrategy: 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
|
-
};
|
package/internal-do-not-import-from-here/ux/aurora/shared-mobile/TypographyBlueprintManager.d.ts
DELETED
@@ -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 {};
|
package/internal-do-not-import-from-here/ux/aurora/shared-mobile/TypographyBlueprintStore.d.ts
DELETED
@@ -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";
|