@omnia/fx 8.0.6-vnext → 8.0.8-vnext
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.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
- package/internal-do-not-import-from-here/services/identities/DynamicGroupService.d.ts +6 -0
- package/internal-do-not-import-from-here/services/identities/GroupService.d.ts +7 -1
- package/internal-do-not-import-from-here/services/identities/UserService.d.ts +7 -1
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +0 -2
- package/internal-do-not-import-from-here/shared/models/theming/ThemeMethods.d.ts +11 -0
- package/internal-do-not-import-from-here/shared/models/theming/ThemeMethods.js +143 -0
- package/internal-do-not-import-from-here/shared/models/theming/TypographyDefinition.d.ts +0 -1
- package/internal-do-not-import-from-here/shared/models/theming/index.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/theming/index.js +1 -0
- package/internal-do-not-import-from-here/ux/confirmdialog/ConfirmDialog.d.ts +5 -1
- package/internal-do-not-import-from-here/ux/decorators/Ref.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/decorators/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/filterengine/handler/FilterEngineHandler.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/messaging/Topics.d.ts +1 -14
- package/internal-do-not-import-from-here/ux/models/{ContentDialogStyles.d.ts → SidePanelStyles.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/models/index.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/sidepanel/models/IRegistration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/ColorManager.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/ThemeStoreV2.d.ts +9 -32
- package/internal-do-not-import-from-here/ux/theming-v2/styling/themeStyling.d.ts +47 -1
- package/internal-do-not-import-from-here/ux/theming-v2/themedefinitionpicker/ThemeDefinitionPicker.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/themedefinitionpicker/ThemeDefinitionPicker.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/theming-v2/themeeditor/ThemeEditor.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/theming-v2/themeeditor/components/ThemeViewerStyles.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/theming-v2/themes/Blueprints.d.ts +8 -1
- package/internal-do-not-import-from-here/ux/theming-v2/themes/Colors.d.ts +0 -80
- package/internal-do-not-import-from-here/ux/theming-v2/themes/Themes.d.ts +9 -121
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronRenderers.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronTheming.d.ts +9 -5
- package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +0 -5
- package/package.json +2 -2
- package/internal-do-not-import-from-here/ux/contentdialog/ContentDialog.css.d.ts +0 -5
- package/internal-do-not-import-from-here/ux/contentdialog/ContentDialog.d.ts +0 -19
- package/internal-do-not-import-from-here/ux/contentdialog/IContentDialog.d.ts +0 -13
@@ -4,3 +4,4 @@ const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./ThemeDefinitionV2"), exports);
|
5
5
|
tslib_1.__exportStar(require("./TypographyDefinition"), exports);
|
6
6
|
tslib_1.__exportStar(require("./OmniaThemes"), exports);
|
7
|
+
tslib_1.__exportStar(require("./ThemeMethods"), exports);
|
@@ -3,7 +3,7 @@ import { IConfirmDialog, ConfirmDialogDisplay } from "./IConfirmDialog";
|
|
3
3
|
import { ConfirmDialogOptions, ConfirmDialogResponse } from "./IVueConfirmDialog";
|
4
4
|
import { ConfirmDialogStyles } from "../models/ConfirmDialogStyles";
|
5
5
|
import "./ConfirmDialog.css";
|
6
|
-
import { ButtonTooltipOptions } from "../../models";
|
6
|
+
import { ButtonModes, ButtonSizes, ButtonTooltipOptions } from "../../models";
|
7
7
|
export declare class ConfirmDialogComponent extends VueComponentBase implements IConfirmDialog {
|
8
8
|
icon?: string;
|
9
9
|
type?: ConfirmDialogDisplay;
|
@@ -13,6 +13,10 @@ export declare class ConfirmDialogComponent extends VueComponentBase implements
|
|
13
13
|
styles?: typeof ConfirmDialogStyles;
|
14
14
|
text?: string;
|
15
15
|
tooltip?: ButtonTooltipOptions;
|
16
|
+
disabled?: boolean;
|
17
|
+
buttonSize?: ButtonSizes;
|
18
|
+
buttonNonFlatMode?: ButtonModes;
|
19
|
+
loading?: boolean;
|
16
20
|
private omniaUxLoc;
|
17
21
|
private disable;
|
18
22
|
private confirmDialogClasses;
|
@@ -26,6 +26,7 @@ export declare class FilterEngineHandler extends Store {
|
|
26
26
|
private settings;
|
27
27
|
private keywordsSearching;
|
28
28
|
private componentId;
|
29
|
+
private sidePanelInstanceId;
|
29
30
|
private isRenderReady;
|
30
31
|
private hasSmallContainer;
|
31
32
|
private canRenderSideSections;
|
@@ -56,6 +57,7 @@ export declare class FilterEngineHandler extends Store {
|
|
56
57
|
propertyDefinition: (type: BaseFilterEnginePropertyType) => FilterEngineContextPropertyDefinition;
|
57
58
|
propertyOutputs: () => BaseFilterEnginePropertyOutput[];
|
58
59
|
isWaitingForFirstQuery: () => boolean;
|
60
|
+
hasFilter: () => boolean;
|
59
61
|
};
|
60
62
|
mutations: {
|
61
63
|
registerTopElement: import("@omnia/fx/stores").StoreMutation<(element: Element) => void, (element: Element) => IMessageBusSubscriptionHandler>;
|
@@ -1,7 +1,5 @@
|
|
1
|
-
import { GuidValue, IMessageBusTopicPublication } from "../../models";
|
2
|
-
import { ThemeDefinition, ThemeTargetRegistration } from "../../models";
|
3
1
|
import { MessageBusTopicMediator } from "../..";
|
4
|
-
import {
|
2
|
+
import { GuidValue, IMessageBusTopicPublication, ThemeDefinition, ThemeTargetRegistration } from "../../models";
|
5
3
|
export declare class Topics {
|
6
4
|
static Theming: {
|
7
5
|
new (): {};
|
@@ -20,15 +18,4 @@ export declare class Topics {
|
|
20
18
|
nodeId: number;
|
21
19
|
}>;
|
22
20
|
};
|
23
|
-
static ContentDialogHandler: {
|
24
|
-
new (): {};
|
25
|
-
readonly onOpen: MessageBusTopicMediator<{
|
26
|
-
width: number;
|
27
|
-
position: DialogPositions;
|
28
|
-
content: HTMLElement;
|
29
|
-
}>;
|
30
|
-
readonly onClose: MessageBusTopicMediator<{
|
31
|
-
position: DialogPositions;
|
32
|
-
}>;
|
33
|
-
};
|
34
21
|
}
|
@@ -46,5 +46,5 @@ export * from "./UserPresenceStyles";
|
|
46
46
|
export * from "./AnimatedGifStyles";
|
47
47
|
export * from "./EmoticonStyles";
|
48
48
|
export * from "./QueryablePropertiesStyles";
|
49
|
-
export * from "./
|
49
|
+
export * from "./SidePanelStyles";
|
50
50
|
export * from "./SharePointVideoSettingsStyles";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { SidePanelPosition } from "@omnia/fx/models";
|
2
|
-
import { ISidePanelElementRegistration } from "../../../models
|
2
|
+
import { ISidePanelElementRegistration } from "../../../models";
|
3
3
|
import { DialogPositions } from "../..";
|
4
4
|
export interface SidePanelDialog {
|
5
5
|
position: DialogPositions;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ColorDefinition, ColorGroup } from "@omnia/fx-models";
|
2
2
|
export declare const ColorManager: () => {
|
3
|
-
getColorDefinition: (color: string,
|
3
|
+
getColorDefinition: (color: string, isBaseColorDark: boolean) => ColorDefinition;
|
4
4
|
createColorSchema: (color: string, name: string, fixedColor?: boolean, colorBlend?: string) => ColorGroup;
|
5
5
|
isDarkColor: (color: any) => boolean;
|
6
6
|
addOpacityToColor: (color: any, opacity: any) => any;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Store } from "@omnia/fx/stores";
|
2
|
-
import {
|
2
|
+
import { ThemeDefinitionV2 } from "../../shared/models";
|
3
3
|
export declare class ThemeStoreV2 extends Store {
|
4
4
|
private currentTheme;
|
5
5
|
constructor();
|
@@ -9,42 +9,19 @@ export declare class ThemeStoreV2 extends Store {
|
|
9
9
|
* Implementation of getters
|
10
10
|
*/
|
11
11
|
getters: {
|
12
|
+
colorSchema: (colorSchemaType: string) => import("@omnia/fx-models").ColorSchema;
|
13
|
+
typography: (typographyType: string) => import("@omnia/fx-models").TypographyType;
|
14
|
+
color: (colorSchemaType: string, colorType: string) => string;
|
15
|
+
colorDefinition: (colorSchemaType: string, colorType: string) => import("@omnia/fx-models").ColorDefinition;
|
16
|
+
complementaryColorType: (colorType: string) => string;
|
17
|
+
complementaryColor: (colorSchemaType: string, colorType: string) => string;
|
18
|
+
complementaryColorDefinition: (colorSchemaType: string, colorType: string) => import("@omnia/fx-models").ColorDefinition;
|
12
19
|
currentTheme: () => ThemeDefinitionV2;
|
13
|
-
typography: (name: string) => TypographyType;
|
14
|
-
unstyledTheme: () => {
|
15
|
-
id: import("@omnia/fx-models").Guid;
|
16
|
-
name: string;
|
17
|
-
dark: boolean;
|
18
|
-
primary: ColorSchema;
|
19
|
-
secondary: ColorSchema;
|
20
|
-
accent1: ColorSchema;
|
21
|
-
accent2: ColorSchema;
|
22
|
-
accent3: ColorSchema;
|
23
|
-
neutral: ColorSchema;
|
24
|
-
background: ColorSchema;
|
25
|
-
error: ColorSchema;
|
26
|
-
info: ColorSchema;
|
27
|
-
typography: TypographyDefinition;
|
28
|
-
blueprint: import("../../shared/models/theming/BlueprintDefinition").BlueprintDefinition;
|
29
|
-
};
|
30
|
-
colorSchema: (schema: string) => ColorSchema;
|
31
|
-
color: (schemaName: string, colorType: string) => string;
|
32
20
|
};
|
33
21
|
/**
|
34
22
|
* Implementation of mutations
|
35
23
|
*/
|
36
24
|
mutations: {
|
37
|
-
setTheme: import("@omnia/fx/stores").StoreMutation<(
|
25
|
+
setTheme: import("@omnia/fx/stores").StoreMutation<(themeDefinition: ThemeDefinitionV2) => void, (themeDefinition: ThemeDefinitionV2) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
38
26
|
};
|
39
|
-
/**
|
40
|
-
* Implementation of actions
|
41
|
-
*/
|
42
|
-
actions: {};
|
43
|
-
private clearStylesFromColorSchema;
|
44
|
-
private clearTypings;
|
45
|
-
private createColorStyles;
|
46
|
-
private insertColorStylesToSchema;
|
47
|
-
private insertColorStylesToTheme;
|
48
|
-
private createTypingStyles;
|
49
|
-
private insertTypingStylesToTheme;
|
50
27
|
}
|
@@ -1,4 +1,50 @@
|
|
1
|
+
import { ColorStyles } from "@omnia/fx-models";
|
1
2
|
import { ThemeStoreV2 } from "../ThemeStoreV2";
|
3
|
+
export interface ColorTypeResult<resultType> {
|
4
|
+
base: resultType;
|
5
|
+
baseTone: resultType;
|
6
|
+
onBase: resultType;
|
7
|
+
onBaseTone: resultType;
|
8
|
+
container: resultType;
|
9
|
+
containerTone: resultType;
|
10
|
+
onContainer: resultType;
|
11
|
+
onContainerTone: resultType;
|
12
|
+
colorType: (colorType: string) => resultType;
|
13
|
+
}
|
14
|
+
export interface ThemeDefinitionTypeResult {
|
15
|
+
primary: ColorTypeResult<ColorStyles>;
|
16
|
+
secondary: ColorTypeResult<ColorStyles>;
|
17
|
+
accent1: ColorTypeResult<ColorStyles>;
|
18
|
+
accent2: ColorTypeResult<ColorStyles>;
|
19
|
+
accent3: ColorTypeResult<ColorStyles>;
|
20
|
+
background: ColorTypeResult<ColorStyles>;
|
21
|
+
neutral: ColorTypeResult<ColorStyles>;
|
22
|
+
info: ColorTypeResult<ColorStyles>;
|
23
|
+
error: ColorTypeResult<ColorStyles>;
|
24
|
+
colorTypeSchema: (colorSchemaType: string) => ColorTypeResult<ColorStyles>;
|
25
|
+
}
|
26
|
+
export interface TypographyTypesResult {
|
27
|
+
h1: string;
|
28
|
+
h2: string;
|
29
|
+
h3: string;
|
30
|
+
caption: string;
|
31
|
+
link: string;
|
32
|
+
text: string;
|
33
|
+
typographyType: (typographyType: string) => string;
|
34
|
+
}
|
2
35
|
export declare const useThemeStyling: (injectedThemeStore?: ThemeStoreV2) => {
|
3
|
-
|
36
|
+
colorSchemas: () => ThemeDefinitionTypeResult;
|
37
|
+
colorSchema: (colorSchemaType: string) => any;
|
38
|
+
color: (colorSchemaType: string, colorType: string, opacity?: number) => ColorStyles;
|
39
|
+
cardStylings: (colorSchemaType: string, opacity?: number) => ColorTypeResult<string>;
|
40
|
+
cardStyling: (colorSchemaType: string, colorType: string, opacity?: number) => string;
|
41
|
+
cardImage: string;
|
42
|
+
typographies: () => TypographyTypesResult;
|
43
|
+
typography: (typographyType: string) => any;
|
44
|
+
vuetify: (colorSchemaType: string) => {
|
45
|
+
generalStylings: () => ColorTypeResult<object>;
|
46
|
+
generalStyling: (colorType: string) => object;
|
47
|
+
sliderStylings: () => ColorTypeResult<object>;
|
48
|
+
sliderStyling: (colorType: string) => object;
|
49
|
+
};
|
4
50
|
};
|
@@ -4,5 +4,5 @@ export declare const ThemeDefinitionPickerStyles: {
|
|
4
4
|
itemContainer: (definition: ThemeDefinitionV2) => string;
|
5
5
|
IconColumn: string;
|
6
6
|
titleColumn: string;
|
7
|
-
colorPreview: (schema: ColorSchema
|
7
|
+
colorPreview: (schema: ColorSchema) => string;
|
8
8
|
};
|
@@ -5,6 +5,8 @@ declare const _default: {
|
|
5
5
|
$data: {};
|
6
6
|
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<import("vue").ComponentObjectPropsOptions<{
|
7
7
|
model: Guid;
|
8
|
+
colorSchemaType: string;
|
9
|
+
colorType: string;
|
8
10
|
onChange: (theme: ThemeDefinitionV2) => void;
|
9
11
|
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
10
12
|
$attrs: {
|
@@ -22,6 +24,8 @@ declare const _default: {
|
|
22
24
|
$el: any;
|
23
25
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<import("vue").ComponentObjectPropsOptions<{
|
24
26
|
model: Guid;
|
27
|
+
colorSchemaType: string;
|
28
|
+
colorType: string;
|
25
29
|
onChange: (theme: ThemeDefinitionV2) => void;
|
26
30
|
}>>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
27
31
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -45,6 +49,8 @@ declare const _default: {
|
|
45
49
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
46
50
|
} & Readonly<import("vue").ExtractPropTypes<import("vue").ComponentObjectPropsOptions<{
|
47
51
|
model: Guid;
|
52
|
+
colorSchemaType: string;
|
53
|
+
colorType: string;
|
48
54
|
onChange: (theme: ThemeDefinitionV2) => void;
|
49
55
|
}>>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
|
50
56
|
__isFragment?: never;
|
@@ -52,10 +58,14 @@ declare const _default: {
|
|
52
58
|
__isSuspense?: never;
|
53
59
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<import("vue").ComponentObjectPropsOptions<{
|
54
60
|
model: Guid;
|
61
|
+
colorSchemaType: string;
|
62
|
+
colorType: string;
|
55
63
|
onChange: (theme: ThemeDefinitionV2) => void;
|
56
64
|
}>>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
57
65
|
propsDefinition: Readonly<import("vue").ExtractPropTypes<import("vue").ComponentObjectPropsOptions<{
|
58
66
|
model: Guid;
|
67
|
+
colorSchemaType: string;
|
68
|
+
colorType: string;
|
59
69
|
onChange: (theme: ThemeDefinitionV2) => void;
|
60
70
|
}>>>;
|
61
71
|
};
|
@@ -7,6 +7,7 @@ declare const _default: {
|
|
7
7
|
$data: {};
|
8
8
|
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<import("vue").ComponentObjectPropsOptions<{
|
9
9
|
themeStoreRegistrationHook: RegisterThemeStore;
|
10
|
+
onCloseThemingEditor: () => void;
|
10
11
|
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
11
12
|
$attrs: {
|
12
13
|
[x: string]: unknown;
|
@@ -23,6 +24,7 @@ declare const _default: {
|
|
23
24
|
$el: any;
|
24
25
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<import("vue").ComponentObjectPropsOptions<{
|
25
26
|
themeStoreRegistrationHook: RegisterThemeStore;
|
27
|
+
onCloseThemingEditor: () => void;
|
26
28
|
}>>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
27
29
|
beforeCreate?: (() => void) | (() => void)[];
|
28
30
|
created?: (() => void) | (() => void)[];
|
@@ -45,15 +47,18 @@ declare const _default: {
|
|
45
47
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
46
48
|
} & Readonly<import("vue").ExtractPropTypes<import("vue").ComponentObjectPropsOptions<{
|
47
49
|
themeStoreRegistrationHook: RegisterThemeStore;
|
50
|
+
onCloseThemingEditor: () => void;
|
48
51
|
}>>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
|
49
52
|
__isFragment?: never;
|
50
53
|
__isTeleport?: never;
|
51
54
|
__isSuspense?: never;
|
52
55
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<import("vue").ComponentObjectPropsOptions<{
|
53
56
|
themeStoreRegistrationHook: RegisterThemeStore;
|
57
|
+
onCloseThemingEditor: () => void;
|
54
58
|
}>>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
55
59
|
propsDefinition: Readonly<import("vue").ExtractPropTypes<import("vue").ComponentObjectPropsOptions<{
|
56
60
|
themeStoreRegistrationHook: RegisterThemeStore;
|
61
|
+
onCloseThemingEditor: () => void;
|
57
62
|
}>>>;
|
58
63
|
};
|
59
64
|
export default _default;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Guid } from "@omnia/fx-models";
|
2
2
|
import { BlueprintDefinition } from "internal/fx/shared/models/theming/BlueprintDefinition";
|
3
|
-
export declare class
|
3
|
+
export declare class MD1Blueprint implements BlueprintDefinition {
|
4
4
|
id: Guid;
|
5
5
|
card: any;
|
6
6
|
image: any;
|
@@ -8,6 +8,13 @@ export declare class MD2Blueprint implements BlueprintDefinition {
|
|
8
8
|
icon: any;
|
9
9
|
constructor();
|
10
10
|
}
|
11
|
+
export declare class MD2Blueprint implements BlueprintDefinition {
|
12
|
+
id: Guid;
|
13
|
+
card: any;
|
14
|
+
image: any;
|
15
|
+
icon: any;
|
16
|
+
constructor();
|
17
|
+
}
|
11
18
|
export declare class MD3Blueprint implements BlueprintDefinition {
|
12
19
|
id: Guid;
|
13
20
|
card: any;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { ColorSchema } from "@omnia/fx-models";
|
2
1
|
export declare const SystemColors: {
|
3
2
|
Teal: string;
|
4
3
|
Purple: string;
|
@@ -13,82 +12,3 @@ export declare const SystemColors: {
|
|
13
12
|
Black: string;
|
14
13
|
Grey: string;
|
15
14
|
};
|
16
|
-
export declare const ColorSchemas: {
|
17
|
-
Teal: ColorSchema;
|
18
|
-
Purple: {
|
19
|
-
base: import("@omnia/fx-models").ColorDefinition;
|
20
|
-
onBase: import("@omnia/fx-models").ColorDefinition;
|
21
|
-
container: import("@omnia/fx-models").ColorDefinition;
|
22
|
-
onContainer: import("@omnia/fx-models").ColorDefinition;
|
23
|
-
};
|
24
|
-
DarkGreen: {
|
25
|
-
base: import("@omnia/fx-models").ColorDefinition;
|
26
|
-
onBase: import("@omnia/fx-models").ColorDefinition;
|
27
|
-
container: import("@omnia/fx-models").ColorDefinition;
|
28
|
-
onContainer: import("@omnia/fx-models").ColorDefinition;
|
29
|
-
};
|
30
|
-
LightGreen: {
|
31
|
-
base: import("@omnia/fx-models").ColorDefinition;
|
32
|
-
onBase: import("@omnia/fx-models").ColorDefinition;
|
33
|
-
container: import("@omnia/fx-models").ColorDefinition;
|
34
|
-
onContainer: import("@omnia/fx-models").ColorDefinition;
|
35
|
-
};
|
36
|
-
DarkBackground: {
|
37
|
-
base: import("@omnia/fx-models").ColorDefinition;
|
38
|
-
onBase: import("@omnia/fx-models").ColorDefinition;
|
39
|
-
container: import("@omnia/fx-models").ColorDefinition;
|
40
|
-
onContainer: import("@omnia/fx-models").ColorDefinition;
|
41
|
-
};
|
42
|
-
LightBackground: {
|
43
|
-
base: import("@omnia/fx-models").ColorDefinition;
|
44
|
-
onBase: import("@omnia/fx-models").ColorDefinition;
|
45
|
-
container: import("@omnia/fx-models").ColorDefinition;
|
46
|
-
onContainer: import("@omnia/fx-models").ColorDefinition;
|
47
|
-
};
|
48
|
-
DarkPink: {
|
49
|
-
base: import("@omnia/fx-models").ColorDefinition;
|
50
|
-
onBase: import("@omnia/fx-models").ColorDefinition;
|
51
|
-
container: import("@omnia/fx-models").ColorDefinition;
|
52
|
-
onContainer: import("@omnia/fx-models").ColorDefinition;
|
53
|
-
};
|
54
|
-
RedBrown: {
|
55
|
-
base: import("@omnia/fx-models").ColorDefinition;
|
56
|
-
onBase: import("@omnia/fx-models").ColorDefinition;
|
57
|
-
component: import("@omnia/fx-models").ColorDefinition;
|
58
|
-
onContainer: import("@omnia/fx-models").ColorDefinition;
|
59
|
-
};
|
60
|
-
Orange: {
|
61
|
-
base: import("@omnia/fx-models").ColorDefinition;
|
62
|
-
onBase: import("@omnia/fx-models").ColorDefinition;
|
63
|
-
container: import("@omnia/fx-models").ColorDefinition;
|
64
|
-
onContainer: import("@omnia/fx-models").ColorDefinition;
|
65
|
-
};
|
66
|
-
Gold: {
|
67
|
-
base: import("@omnia/fx-models").ColorDefinition;
|
68
|
-
onBase: import("@omnia/fx-models").ColorDefinition;
|
69
|
-
container: import("@omnia/fx-models").ColorDefinition;
|
70
|
-
onContainer: import("@omnia/fx-models").ColorDefinition;
|
71
|
-
};
|
72
|
-
Black: {
|
73
|
-
base: import("@omnia/fx-models").ColorDefinition;
|
74
|
-
onBase: import("@omnia/fx-models").ColorDefinition;
|
75
|
-
container: import("@omnia/fx-models").ColorDefinition;
|
76
|
-
onContainer: import("@omnia/fx-models").ColorDefinition;
|
77
|
-
};
|
78
|
-
Grey: {
|
79
|
-
base: import("@omnia/fx-models").ColorDefinition;
|
80
|
-
onBase: import("@omnia/fx-models").ColorDefinition;
|
81
|
-
container: import("@omnia/fx-models").ColorDefinition;
|
82
|
-
onContainer: import("@omnia/fx-models").ColorDefinition;
|
83
|
-
};
|
84
|
-
LightBlue: {
|
85
|
-
base: import("@omnia/fx-models").ColorDefinition;
|
86
|
-
onBase: import("@omnia/fx-models").ColorDefinition;
|
87
|
-
container: import("@omnia/fx-models").ColorDefinition;
|
88
|
-
onContainer: import("@omnia/fx-models").ColorDefinition;
|
89
|
-
};
|
90
|
-
};
|
91
|
-
export declare const AppChrome: {
|
92
|
-
Black: import("@omnia/fx-models").ColorDefinition;
|
93
|
-
White: import("@omnia/fx-models").ColorDefinition;
|
94
|
-
};
|
@@ -1,125 +1,6 @@
|
|
1
1
|
import { ColorSchema, ThemeDefinitionV2, TypographyDefinition, Guid } from "@omnia/fx-models";
|
2
2
|
import { BlueprintDefinition } from "internal/fx/shared/models/theming/BlueprintDefinition";
|
3
|
-
export declare class
|
4
|
-
dark: boolean;
|
5
|
-
id: Guid;
|
6
|
-
primary: ColorSchema;
|
7
|
-
secondary: ColorSchema;
|
8
|
-
accent1: ColorSchema;
|
9
|
-
accent2: ColorSchema;
|
10
|
-
accent3: ColorSchema;
|
11
|
-
neutral: ColorSchema;
|
12
|
-
background: ColorSchema;
|
13
|
-
error: ColorSchema;
|
14
|
-
info: ColorSchema;
|
15
|
-
typography: TypographyDefinition;
|
16
|
-
blueprint: BlueprintDefinition;
|
17
|
-
name: string;
|
18
|
-
constructor();
|
19
|
-
}
|
20
|
-
export declare class BlackDefinition implements ThemeDefinitionV2 {
|
21
|
-
dark: boolean;
|
22
|
-
id: Guid;
|
23
|
-
primary: ColorSchema;
|
24
|
-
secondary: ColorSchema;
|
25
|
-
accent1: ColorSchema;
|
26
|
-
accent2: ColorSchema;
|
27
|
-
accent3: ColorSchema;
|
28
|
-
neutral: ColorSchema;
|
29
|
-
background: ColorSchema;
|
30
|
-
error: ColorSchema;
|
31
|
-
info: ColorSchema;
|
32
|
-
typography: TypographyDefinition;
|
33
|
-
blueprint: BlueprintDefinition;
|
34
|
-
name: string;
|
35
|
-
constructor();
|
36
|
-
}
|
37
|
-
export declare class BumbleBeeDefinition implements ThemeDefinitionV2 {
|
38
|
-
dark: boolean;
|
39
|
-
id: Guid;
|
40
|
-
primary: ColorSchema;
|
41
|
-
secondary: ColorSchema;
|
42
|
-
accent1: ColorSchema;
|
43
|
-
accent2: ColorSchema;
|
44
|
-
accent3: ColorSchema;
|
45
|
-
neutral: ColorSchema;
|
46
|
-
background: ColorSchema;
|
47
|
-
error: ColorSchema;
|
48
|
-
info: ColorSchema;
|
49
|
-
typography: TypographyDefinition;
|
50
|
-
blueprint: BlueprintDefinition;
|
51
|
-
name: string;
|
52
|
-
constructor();
|
53
|
-
}
|
54
|
-
export declare class CyberPunkDefinition implements ThemeDefinitionV2 {
|
55
|
-
dark: boolean;
|
56
|
-
id: Guid;
|
57
|
-
primary: ColorSchema;
|
58
|
-
secondary: ColorSchema;
|
59
|
-
accent1: ColorSchema;
|
60
|
-
accent2: ColorSchema;
|
61
|
-
accent3: ColorSchema;
|
62
|
-
neutral: ColorSchema;
|
63
|
-
background: ColorSchema;
|
64
|
-
error: ColorSchema;
|
65
|
-
info: ColorSchema;
|
66
|
-
typography: TypographyDefinition;
|
67
|
-
blueprint: BlueprintDefinition;
|
68
|
-
name: string;
|
69
|
-
constructor();
|
70
|
-
}
|
71
|
-
export declare class CoffeDefinition implements ThemeDefinitionV2 {
|
72
|
-
dark: boolean;
|
73
|
-
id: Guid;
|
74
|
-
primary: ColorSchema;
|
75
|
-
secondary: ColorSchema;
|
76
|
-
accent1: ColorSchema;
|
77
|
-
accent2: ColorSchema;
|
78
|
-
accent3: ColorSchema;
|
79
|
-
neutral: ColorSchema;
|
80
|
-
background: ColorSchema;
|
81
|
-
error: ColorSchema;
|
82
|
-
info: ColorSchema;
|
83
|
-
typography: TypographyDefinition;
|
84
|
-
blueprint: BlueprintDefinition;
|
85
|
-
name: string;
|
86
|
-
constructor();
|
87
|
-
}
|
88
|
-
export declare class LightThemeDefinition implements ThemeDefinitionV2 {
|
89
|
-
dark: boolean;
|
90
|
-
id: Guid;
|
91
|
-
primary: ColorSchema;
|
92
|
-
secondary: ColorSchema;
|
93
|
-
accent1: ColorSchema;
|
94
|
-
accent2: ColorSchema;
|
95
|
-
accent3: ColorSchema;
|
96
|
-
neutral: ColorSchema;
|
97
|
-
background: ColorSchema;
|
98
|
-
error: ColorSchema;
|
99
|
-
info: ColorSchema;
|
100
|
-
typography: TypographyDefinition;
|
101
|
-
blueprint: BlueprintDefinition;
|
102
|
-
name: string;
|
103
|
-
constructor();
|
104
|
-
}
|
105
|
-
export declare class DarkThemeDefinition implements ThemeDefinitionV2 {
|
106
|
-
dark: boolean;
|
107
|
-
id: Guid;
|
108
|
-
primary: ColorSchema;
|
109
|
-
secondary: ColorSchema;
|
110
|
-
accent1: ColorSchema;
|
111
|
-
accent2: ColorSchema;
|
112
|
-
accent3: ColorSchema;
|
113
|
-
neutral: ColorSchema;
|
114
|
-
background: ColorSchema;
|
115
|
-
error: ColorSchema;
|
116
|
-
info: ColorSchema;
|
117
|
-
typography: TypographyDefinition;
|
118
|
-
blueprint: BlueprintDefinition;
|
119
|
-
name: string;
|
120
|
-
constructor();
|
121
|
-
}
|
122
|
-
export declare class CustomTheme implements ThemeDefinitionV2 {
|
3
|
+
export declare class ThemeDefinitionInstance implements ThemeDefinitionV2 {
|
123
4
|
id: Guid;
|
124
5
|
typography: TypographyDefinition;
|
125
6
|
primary: ColorSchema;
|
@@ -134,5 +15,12 @@ export declare class CustomTheme implements ThemeDefinitionV2 {
|
|
134
15
|
dark: boolean;
|
135
16
|
blueprint: BlueprintDefinition;
|
136
17
|
name: string;
|
137
|
-
constructor(primary: string, secondary: string, accent1: string, accent2: string, accent3: string, neutral: string, background: string, typography: TypographyDefinition, name: string);
|
18
|
+
constructor(primary: string, secondary: string, accent1: string, accent2: string, accent3: string, neutral: string, background: string, info: string, error: string, typography: TypographyDefinition, blueprint: BlueprintDefinition, name: string, dark: boolean, id: Guid);
|
138
19
|
}
|
20
|
+
export declare const DarkKnightDefinition: () => ThemeDefinitionInstance;
|
21
|
+
export declare const BlackDefinition: () => ThemeDefinitionInstance;
|
22
|
+
export declare const BumbleBeeDefinition: () => ThemeDefinitionInstance;
|
23
|
+
export declare const CyberPunkDefinition: () => ThemeDefinitionInstance;
|
24
|
+
export declare const CoffeDefinition: () => ThemeDefinitionInstance;
|
25
|
+
export declare const LightThemeDefinition: () => ThemeDefinitionInstance;
|
26
|
+
export declare const DarkThemeDefinition: () => ThemeDefinitionInstance;
|
@@ -41,7 +41,7 @@ export interface VelcronRenderContext {
|
|
41
41
|
rootContext: VelcronState;
|
42
42
|
currentContext: VelcronState;
|
43
43
|
theming?: ReturnType<typeof useVelcronThemingStore>;
|
44
|
-
|
44
|
+
colorSchemaType?: string;
|
45
45
|
colorSchema?: ColorSchema;
|
46
46
|
actions?: {
|
47
47
|
[name: string]: [];
|
@@ -14,10 +14,14 @@ export declare class VelcronRenderers {
|
|
14
14
|
currentTheme: import("@omnia/fx-models").ThemeDefinitionV2;
|
15
15
|
};
|
16
16
|
get: {
|
17
|
-
colorSchema: (
|
18
|
-
typography: (
|
19
|
-
color: (
|
20
|
-
|
17
|
+
colorSchema: (colorSchemaType: string) => import("@omnia/fx-models").ColorSchema;
|
18
|
+
typography: (typographyType: string) => import("@omnia/fx-models").TypographyType;
|
19
|
+
color: (colorSchemaType: string, colorType: string) => string;
|
20
|
+
colorDefinition: (colorSchemaType: string, colorType: string) => import("@omnia/fx-models").ColorDefinition;
|
21
|
+
complementaryColorType: (colorType: string) => string;
|
22
|
+
complementaryColor: (colorSchemaType: string, colorType: string) => string;
|
23
|
+
complementaryColorDefinition: (colorSchemaType: string, colorType: string) => import("@omnia/fx-models").ColorDefinition;
|
24
|
+
currentTheme: () => import("@omnia/fx-models").ThemeDefinitionV2;
|
21
25
|
};
|
22
26
|
actions: {
|
23
27
|
setTheme(newTheme: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
@@ -1,13 +1,17 @@
|
|
1
|
-
import { ThemeDefinitionV2
|
1
|
+
import { ThemeDefinitionV2 } from "..";
|
2
2
|
export declare const useVelcronThemingStore: (newStateWithName?: string) => {
|
3
3
|
state: {
|
4
4
|
currentTheme: ThemeDefinitionV2;
|
5
5
|
};
|
6
6
|
get: {
|
7
|
-
colorSchema: (
|
8
|
-
typography: (
|
9
|
-
color: (
|
10
|
-
|
7
|
+
colorSchema: (colorSchemaType: string) => import("..").ColorSchema;
|
8
|
+
typography: (typographyType: string) => import("..").TypographyType;
|
9
|
+
color: (colorSchemaType: string, colorType: string) => string;
|
10
|
+
colorDefinition: (colorSchemaType: string, colorType: string) => import("..").ColorDefinition;
|
11
|
+
complementaryColorType: (colorType: string) => string;
|
12
|
+
complementaryColor: (colorSchemaType: string, colorType: string) => string;
|
13
|
+
complementaryColorDefinition: (colorSchemaType: string, colorType: string) => import("..").ColorDefinition;
|
14
|
+
currentTheme: () => ThemeDefinitionV2;
|
11
15
|
};
|
12
16
|
actions: {
|
13
17
|
setTheme(newTheme: ThemeDefinitionV2): void;
|