@omnia/fx 8.0.452-dev → 8.0.453-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/core/http/HttpClient.d.ts +2 -0
- package/internal-do-not-import-from-here/core/index.d.ts +10 -10
- package/internal-do-not-import-from-here/index.d.ts +21 -21
- package/internal-do-not-import-from-here/manifests/omnia.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/ux/aurora/admin/themedesigner/componentblueprints/store/ComponentEditorStore.d.ts +2 -3
- package/internal-do-not-import-from-here/ux/aurora/admin/themedesigner/componentblueprints/store/TabsEditorStore.d.ts +3 -4
- package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/ButtonStylePicker.d.ts +1 -3
- package/internal-do-not-import-from-here/ux/aurora/components/tabs/TabStylePicker.d.ts +6 -2
- package/internal-do-not-import-from-here/ux/aurora/components/tabs/store/TabStyleEditorStore.d.ts +43 -0
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ColorSchemaManager.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ColorSchemaStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ComponentBlueprintStore.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/DefineThemeProvider.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/FontStore.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/SpacingBlueprintStore.d.ts +42 -0
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/StateManager.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/TemplateRegistrationStore.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ThemeContextStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ThemeMigrations.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ThemeNormalizer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemePreviewContextStore.d.ts +100 -0
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeProvider.d.ts +39 -0
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeSharedModels.d.ts +33 -0
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeStore.d.ts +91 -0
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/TypographyBlueprintManager.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/TypographyBlueprintStore.d.ts +6 -4
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/index.d.ts +17 -0
- package/internal-do-not-import-from-here/ux/aurora/store/ThemeStorage.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/store/index.d.ts +16 -15
- package/internal-do-not-import-from-here/ux/docs/chrome/SampleViewer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/btngroup/ButtonGroup.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/fab/FloatingActionButton..d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/list/List.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/switch/Switch.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/tab/Tab.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/shared-mobile/stylex/Stylex.d.ts +35 -0
- package/internal-do-not-import-from-here/ux/shared-mobile/stylex/Typings.d.ts +894 -0
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +1 -5
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronState.d.ts +1 -71
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/old/state/VelcronContentStateBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/old/state/VelcronImageStateBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/old/state/VelcronPropertyMappingStateBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/old/state/VelcronStateBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/old/state/VelcronTextContentBuilder.d.ts +1 -2
- package/package.json +2 -2
- package/internal-do-not-import-from-here/core/ObjectMerger.d.ts +0 -7
- package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +0 -40
- package/internal-do-not-import-from-here/ux/aurora/store/ThemePreviewContextStore.d.ts +0 -100
- package/internal-do-not-import-from-here/ux/aurora/store/ThemeStore.d.ts +0 -91
- /package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/VariantManager.d.ts +0 -0
@@ -0,0 +1,33 @@
|
|
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
|
+
};
|
@@ -0,0 +1,91 @@
|
|
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,20 +1,22 @@
|
|
1
|
-
import { guid, TextStyleSize, TextStyleSizes, TextStyleType,
|
1
|
+
import { guid, TextStyleDefinition, TextStyleSize, TextStyleSizes, TextStyleType, TextStyleTypes, TypographyBlueprint, TypographyFontDefinition } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { useThemeStore } from "./ThemeStore";
|
3
3
|
export declare const useTypographyBlueprintStore: () => {
|
4
4
|
state: {
|
5
5
|
blueprint: TypographyBlueprint;
|
6
6
|
id: guid;
|
7
7
|
availableFonts: TypographyFontDefinition[];
|
8
|
+
isCustomBlueprint: boolean;
|
8
9
|
};
|
9
|
-
events: import("@omnia/fx/
|
10
|
+
events: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreEvents<{
|
10
11
|
blueprint: TypographyBlueprint;
|
11
12
|
id: guid;
|
12
13
|
availableFonts: TypographyFontDefinition[];
|
13
|
-
|
14
|
+
isCustomBlueprint: boolean;
|
15
|
+
}, Record<string, import("@omnia/fx-models/internal-do-not-import-from-here/shared").IMessageBusTopicPublishSubscriber<any>>>;
|
14
16
|
rules: {
|
15
17
|
isStyleActive: (textStyleType: TextStyleType, size: TextStyleSizes) => boolean;
|
16
18
|
};
|
17
|
-
actions: import("@omnia/fx/
|
19
|
+
actions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").StoreReturnDefineAction<{
|
18
20
|
normalize(blueprint: TypographyBlueprint): TypographyBlueprint;
|
19
21
|
setBlueprint(): void;
|
20
22
|
setThemeStore(themeStoreInstance: ReturnType<typeof useThemeStore>): void;
|
@@ -1 +1,18 @@
|
|
1
1
|
export * from "./ColorManager";
|
2
|
+
export * from "./ColorSchemaManager";
|
3
|
+
export * from "./ColorSchemaStore";
|
4
|
+
export * from "./ComponentBlueprintStore";
|
5
|
+
export * from "./FontStore";
|
6
|
+
export * from "./SpacingBlueprintStore";
|
7
|
+
export * from "./StateManager";
|
8
|
+
export * from "./TemplateRegistrationStore";
|
9
|
+
export * from "./ThemeContextStore";
|
10
|
+
export * from "./ThemeMigrations";
|
11
|
+
export * from "./ThemeNormalizer";
|
12
|
+
export * from "./ThemePreviewContextStore";
|
13
|
+
export * from "./DefineThemeProvider";
|
14
|
+
export * from "./ThemeSharedModels";
|
15
|
+
export * from "./ThemeStore";
|
16
|
+
export * from "./TypographyBlueprintManager";
|
17
|
+
export * from "./TypographyBlueprintStore";
|
18
|
+
export * from "./VariantManager";
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
|
1
|
+
import { ThemeRegistration } from "../shared-mobile";
|
2
|
+
import { ColorSchema, ComponentBlueprints, guid, ResolvedThemeDefinition, SpacingBlueprint, TemplateRegistrationType, ThemeDefinition, TypographyBlueprint } from "@omnia/fx-models";
|
3
3
|
type ThemesResolved = Array<ThemeDefinition | ColorSchema | TypographyBlueprint | SpacingBlueprint | ComponentBlueprints>;
|
4
4
|
export declare const useThemeProviderStore: () => {
|
5
5
|
state: {
|
@@ -1,17 +1,18 @@
|
|
1
1
|
export * from "../shared-mobile/ColorManager";
|
2
|
-
export * from "
|
3
|
-
export { type ColorSchemaStoreType
|
4
|
-
export * from "
|
5
|
-
export * from "
|
6
|
-
export * from "
|
7
|
-
export * from "
|
8
|
-
export * from "
|
9
|
-
export * from "
|
10
|
-
export * from "
|
11
|
-
export * from "
|
12
|
-
export * from "
|
2
|
+
export * from "../shared-mobile/ColorSchemaManager";
|
3
|
+
export { useColorSchemaStore, type ColorSchemaStoreType } from "../shared-mobile/ColorSchemaStore";
|
4
|
+
export * from "../shared-mobile/ComponentBlueprintStore";
|
5
|
+
export * from "../shared-mobile/FontStore";
|
6
|
+
export * from "../shared-mobile/SpacingBlueprintStore";
|
7
|
+
export * from "../shared-mobile/StateManager";
|
8
|
+
export * from "../shared-mobile/TemplateRegistrationStore";
|
9
|
+
export * from "../shared-mobile/ThemeContextStore";
|
10
|
+
export * from "../shared-mobile/ThemeMigrations";
|
11
|
+
export * from "../shared-mobile/ThemeNormalizer";
|
12
|
+
export * from "../shared-mobile/ThemePreviewContextStore";
|
13
|
+
export * from "../shared-mobile/ThemeSharedModels";
|
14
|
+
export * from "../shared-mobile/ThemeStore";
|
15
|
+
export * from "../shared-mobile/TypographyBlueprintManager";
|
16
|
+
export * from "../shared-mobile/TypographyBlueprintStore";
|
17
|
+
export * from "../shared-mobile/VariantManager";
|
13
18
|
export * from "./ThemeStorage";
|
14
|
-
export * from "./VariantManager";
|
15
|
-
export * from "./ThemeNormalizer";
|
16
|
-
export * from "./StateManager";
|
17
|
-
export * from "./TypographyBlueprintManager";
|
@@ -52,8 +52,8 @@ declare const _default: {
|
|
52
52
|
}>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
53
53
|
propsDefinition: Omit<Readonly<{} & {
|
54
54
|
title?: string;
|
55
|
-
description?: string;
|
56
55
|
component?: any;
|
56
|
+
description?: string;
|
57
57
|
relativeUrl?: string;
|
58
58
|
}>, never>;
|
59
59
|
};
|
@@ -5,6 +5,6 @@ export declare const FilterSizesName = "FilterSizes";
|
|
5
5
|
export declare const FilterPickerStyles: {
|
6
6
|
actionIcon: (size: FilterSizes) => string;
|
7
7
|
sortButton: string;
|
8
|
-
icon: (size: FilterSizes) => string;
|
8
|
+
icon: (size: FilterSizes, hasText: any) => string;
|
9
9
|
wrapper: (base: ColorDefinition, onBase: ColorDefinition, selected: boolean, size: FilterSizes, grow: boolean) => string;
|
10
10
|
};
|
@@ -31,5 +31,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
31
31
|
} & Omit<{
|
32
32
|
default?: import("vue").Slot;
|
33
33
|
}, "itemRendering">;
|
34
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "grow" | "size" | "class" | "filters" | "modelValue" | "emit:update:modelValue" | "v-model" | "sortable" | "
|
34
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "grow" | "size" | "class" | "filters" | "modelValue" | "emit:update:modelValue" | "v-model" | "sortable" | "singleSelect" | "slot:itemRendering" | "emit:item:removed" | "emit:item:sorted"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
35
35
|
export default _default;
|
@@ -7,5 +7,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ButtonProps>
|
|
7
7
|
"v-slots"?: {} & Omit<{
|
8
8
|
default?: import("vue").Slot;
|
9
9
|
}, never>;
|
10
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "icon" | "blueprint" | "animation" | "variant" | "active" | "size" | "
|
10
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "icon" | "blueprint" | "animation" | "variant" | "active" | "size" | "class" | "block" | "target" | "href" | "disabled" | "transparent" | "tooltip" | "colorSchemaType" | "loading" | "slim" | "colors" | "overrides" | "preset" | "grouped" | "toned" | "transparentHover" | "emit:click"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
11
11
|
export default _default;
|
@@ -10,5 +10,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ButtonGroupP
|
|
10
10
|
} & Omit<{
|
11
11
|
default?: import("vue").Slot;
|
12
12
|
}, "activator">;
|
13
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "
|
13
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "class" | "toggle" | "mandatory" | "colorSchemaType" | "modelValue" | "emit:update:modelValue" | "v-model" | "colors" | "toned" | "slot:activator"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
14
14
|
export default _default;
|
@@ -30,7 +30,7 @@ declare const _default: <TItem extends unknown, TVariant extends "default" | "cl
|
|
30
30
|
"v-slots"?: (DataTableProps<TItem, TVariant> extends infer T_3 ? { [K_3 in keyof T_3 as K_3 extends `slot:${infer N_1}` ? N_1 : never]: DataTableProps<TItem, TVariant>[K_3]; } : never) & Omit<{
|
31
31
|
default?: import("vue").Slot;
|
32
32
|
}, keyof (DataTableProps<TItem, TVariant> extends infer T_4 ? { [K_3 in keyof T_4 as K_3 extends `slot:${infer N_1}` ? N_1 : never]: DataTableProps<TItem, TVariant>[K_3]; } : never)>;
|
33
|
-
} & (DataTableProps<TItem, TVariant> extends infer T_5 ? { [K_4 in keyof T_5 as K_4 extends "ref" ? "ref" : never]: import("vue").Ref<DataTableProps<TItem, TVariant>[K_4], DataTableProps<TItem, TVariant>[K_4]> | ((ref: DataTableProps<TItem, TVariant>[K_4]) => void); } : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "search" | "height" | "variant" | "
|
33
|
+
} & (DataTableProps<TItem, TVariant> extends infer T_5 ? { [K_4 in keyof T_5 as K_4 extends "ref" ? "ref" : never]: import("vue").Ref<DataTableProps<TItem, TVariant>[K_4], DataTableProps<TItem, TVariant>[K_4]> | ((ref: DataTableProps<TItem, TVariant>[K_4]) => void); } : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "search" | "height" | "variant" | "class" | "drag" | "items" | "expanded" | "colorSchemaType" | "modelValue" | "loading" | "ref" | "hover" | "mobileColumn" | "emit:update:modelValue" | "v-model" | "colors" | "itemValue" | "emit:update:expanded" | "v-model:expanded" | "sortBy" | "emit:update:sortBy" | "v-model:sortBy" | "mustSort" | "showSelect" | "itemSelectable" | "noDataText" | "searchBy" | "showExpand" | "emit:update:items" | "v-model:items" | "emit:update:options" | "emit:update:page" | "emit:update:itemsPerPage" | "emit:click:loadMore" | "slot:row" | "slot:top" | "slot:expanded-row" | `slot:header.${string}` | `slot:item.${string}` | keyof (TVariant extends "client-pagination-scroll" ? {
|
34
34
|
itemHeight?: string | number;
|
35
35
|
} : TVariant extends "client-pagination-page" ? ClientPaginationPageProps<TItem_1> : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? ServerPaginationScrollProps<TItem> : DefaultProps)> & import("@omnia/fx/ux").VNodeEvents) => any;
|
36
36
|
export default _default;
|
@@ -16,5 +16,5 @@ declare const _default: <T extends unknown>(props: import("@omnia/fx/ux").Extrac
|
|
16
16
|
} & Omit<{
|
17
17
|
default?: import("vue").Slot;
|
18
18
|
}, "item">;
|
19
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "
|
19
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "class" | "drag" | "items" | "multiple" | "mandatory" | "colorSchemaType" | "modelValue" | "remove" | "emit:update:modelValue" | "v-model" | "colors" | "toned" | "itemValue" | "slot:item" | "emit:update:items" | "v-model:items" | "expandAll"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
20
20
|
export default _default;
|
@@ -7,5 +7,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<FabProps> &
|
|
7
7
|
"v-slots"?: {} & Omit<{
|
8
8
|
default?: import("vue").Slot;
|
9
9
|
}, never>;
|
10
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "icon" | "variant" | "active" | "size" | "
|
10
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "icon" | "variant" | "active" | "size" | "class" | "block" | "disabled" | "colorSchemaType" | "modelValue" | "stacked" | "app" | "emit:update:modelValue" | "v-model" | "colors"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
11
11
|
export default _default;
|
@@ -15,5 +15,5 @@ declare const _default: <T extends unknown>(props: import("@omnia/fx/ux").Extrac
|
|
15
15
|
} & Omit<{
|
16
16
|
default?: import("vue").Slot;
|
17
17
|
}, "item">;
|
18
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "
|
18
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "class" | "drag" | "nav" | "colorSchemaType" | "modelValue" | "remove" | "emit:update:modelValue" | "v-model" | "colors" | "toned" | "navigation" | "lines" | "divider" | "dragStyles" | "itemValue" | "disableItemClickable" | "slot:item"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
19
19
|
export default _default;
|
@@ -1,16 +1,16 @@
|
|
1
1
|
import { DefineProp, DefinePropTheming, DefineVModel, ValidationRule } from "@omnia/fx/ux";
|
2
|
-
import { TooltipPosition } from "@omnia/fx-models";
|
2
|
+
import { OSwitchVariants, TooltipPosition } from "@omnia/fx-models";
|
3
3
|
export interface SwitchTooltipOptions {
|
4
4
|
text: string;
|
5
5
|
element?: JSX.Element;
|
6
6
|
position?: TooltipPosition;
|
7
7
|
}
|
8
|
-
type SwitchProps<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", T, false, null, true, "The v-model of the component"> & DefineProp<"label", string, false, null, "The label of the component"> & DefineProp<"sublabel", string, false, null, "The label of the component"> & DefineProp<"rules", ValidationRule[], false, null, "Accepts a mixed array of types function. Functions pass an input value as an argument and must return either true / false or a string containing an error message. The input field will enter an error state if a function returns (or any value in the array contains) false or is a string."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the component."> & DefineProp<"hint", string, false, "", "Displays hint text below the input when focused. Force this always open with the persistentHint property."> & DefineProp<"persistentHint", boolean, false, false, "Forces the hint to always be visible"> & DefineProp<"hideDetails", boolean, false, false, "Hides hint and validation errors"> & DefineProp<"revert", boolean, false, false, "Shows the switch inverted"> & DefineProp<"trueValue", boolean | string, false, true, "Sets value for truthy state."> & DefineProp<"falseValue", boolean | string, false, false, "Sets value for falsy state."> & DefineProp<"tooltip", SwitchTooltipOptions, false, null, "Sets tooltip to display when hovering the button.">;
|
8
|
+
type SwitchProps<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", T, false, null, true, "The v-model of the component"> & DefineProp<"label", string, false, null, "The label of the component"> & DefineProp<"sublabel", string, false, null, "The label of the component"> & DefineProp<"variant", OSwitchVariants, false, null, "The variant of the component."> & DefineProp<"rules", ValidationRule[], false, null, "Accepts a mixed array of types function. Functions pass an input value as an argument and must return either true / false or a string containing an error message. The input field will enter an error state if a function returns (or any value in the array contains) false or is a string."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the component."> & DefineProp<"hint", string, false, "", "Displays hint text below the input when focused. Force this always open with the persistentHint property."> & DefineProp<"persistentHint", boolean, false, false, "Forces the hint to always be visible"> & DefineProp<"hideDetails", boolean, false, false, "Hides hint and validation errors"> & DefineProp<"revert", boolean, false, false, "Shows the switch inverted"> & DefineProp<"trueValue", boolean | string, false, true, "Sets value for truthy state."> & DefineProp<"falseValue", boolean | string, false, false, "Sets value for falsy state."> & DefineProp<"trueText", boolean | string, false, true, "Sets value for truthy state."> & DefineProp<"falseText", boolean | string, false, false, "Sets value for falsy state."> & DefineProp<"tooltip", SwitchTooltipOptions, false, null, "Sets tooltip to display when hovering the button.">;
|
9
9
|
declare const _default: <T extends string | boolean>(props: import("@omnia/fx/ux").ExtractProps<SwitchProps<T>> & {
|
10
10
|
"onUpdate:modelValue"?: (value: T) => any;
|
11
11
|
} & {
|
12
12
|
"v-slots"?: {} & Omit<{
|
13
13
|
default?: import("vue").Slot;
|
14
14
|
}, never>;
|
15
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "class" | "disabled" | "revert" | "tooltip" | "colorSchemaType" | "modelValue" | "rules" | "hideDetails" | "hint" | "persistentHint" | "emit:update:modelValue" | "v-model" | "colors" | "sublabel" | "trueValue" | "falseValue"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
15
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "variant" | "class" | "disabled" | "revert" | "tooltip" | "colorSchemaType" | "modelValue" | "rules" | "hideDetails" | "hint" | "persistentHint" | "emit:update:modelValue" | "v-model" | "colors" | "sublabel" | "trueValue" | "falseValue" | "trueText" | "falseText"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
16
16
|
export default _default;
|
@@ -14,5 +14,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<TabProps> &
|
|
14
14
|
} & Omit<{
|
15
15
|
default?: import("vue").Slot;
|
16
16
|
}, "itemRendering">;
|
17
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "icon" | "variant" | "class" | "disabled" | "eager" | "colorSchemaType" | "colors" | "
|
17
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "icon" | "variant" | "class" | "disabled" | "eager" | "colorSchemaType" | "colors" | "slot:itemRendering" | "notificationCount"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
18
18
|
export default _default;
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { CSSProperties as StylexCssProperties } from "./Typings";
|
2
|
+
export type StylexValue = {
|
3
|
+
class?: string;
|
4
|
+
style?: Readonly<{
|
5
|
+
[$$Key$$: string]: string | number;
|
6
|
+
}>;
|
7
|
+
};
|
8
|
+
export type CSSProperties = {
|
9
|
+
-readonly [k in keyof StylexCssProperties]: StylexCssProperties[k];
|
10
|
+
};
|
11
|
+
export interface ICssRules {
|
12
|
+
position(position: string): StylexValue;
|
13
|
+
textFillColor(textFillColor: string): StylexValue;
|
14
|
+
backgroundClip(backgroundClip: string, important?: boolean): StylexValue;
|
15
|
+
fontFamily(fontFamily: string): StylexValue;
|
16
|
+
flexBasis(flexBasis: string | number): StylexValue;
|
17
|
+
flexGrow(flexGrow: number): StylexValue;
|
18
|
+
maxWidth(maxWidth: string): StylexValue;
|
19
|
+
alignSelf(alignSelf: string): StylexValue;
|
20
|
+
minWidth(minWidth: string | number, important?: boolean): StylexValue;
|
21
|
+
flex(flex: string | number, important?: boolean): StylexValue;
|
22
|
+
justifyContent(justifyContent: string): StylexValue;
|
23
|
+
flexWrap(flexWrap: string): StylexValue;
|
24
|
+
rowGap(rowGap: string): StylexValue;
|
25
|
+
columnGap(columnGap: string): StylexValue;
|
26
|
+
flexDirection(flexDirection: string): StylexValue;
|
27
|
+
width(width: string | number, important?: boolean): StylexValue;
|
28
|
+
height(width: string | number, important?: boolean): StylexValue;
|
29
|
+
maxHeight(width: string | number, important?: boolean): StylexValue;
|
30
|
+
minHeight(minHeight: string | number): StylexValue;
|
31
|
+
alignItems(alignItems: string): StylexValue;
|
32
|
+
boxSizing(boxSizing: string): StylexValue;
|
33
|
+
display(display: string): StylexValue;
|
34
|
+
wordBreak(wordBreak: string): StylexValue;
|
35
|
+
}
|