@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
@@ -1,156 +0,0 @@
|
|
1
|
-
import { All, CSSCursor, ObjectFit, PointerEvents, CSSProperties as StylexCssProperties, TextAlign, TextDecoration, VerticalAlign, FontWeight } from "./Typings";
|
2
|
-
export type StylexValue = {
|
3
|
-
class?: string;
|
4
|
-
style?: Readonly<{
|
5
|
-
[$$Key$$: string]: string | number;
|
6
|
-
}>;
|
7
|
-
};
|
8
|
-
export type SpacingStylexType = {
|
9
|
-
top?: string | number;
|
10
|
-
right?: string | number;
|
11
|
-
bottom?: string | number;
|
12
|
-
left?: string | number;
|
13
|
-
};
|
14
|
-
export type CSSProperties = {
|
15
|
-
-readonly [k in keyof StylexCssProperties]: StylexCssProperties[k];
|
16
|
-
};
|
17
|
-
export type FlexAlignType = "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
|
18
|
-
export type DimensionValue = number | "auto" | `${number}%`;
|
19
|
-
export interface ICssRules {
|
20
|
-
position(position: All | "static" | "relative" | "absolute" | "sticky" | "fixed"): StylexValue;
|
21
|
-
textFillColor(textFillColor: string): StylexValue;
|
22
|
-
backgroundClip(backgroundClip: string, important?: boolean): StylexValue;
|
23
|
-
fontFamily(fontFamily: string): StylexValue;
|
24
|
-
flexBasis(flexBasis: DimensionValue | string): StylexValue;
|
25
|
-
flexGrow(flexGrow: number): StylexValue;
|
26
|
-
maxWidth(maxWidth: string | number): StylexValue;
|
27
|
-
alignSelf(alignSelf: "auto" | FlexAlignType): StylexValue;
|
28
|
-
minWidth(minWidth: DimensionValue | string, important?: boolean): StylexValue;
|
29
|
-
flex(flex: string | number, important?: boolean): StylexValue;
|
30
|
-
justifyContent(justifyContent: All | "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly"): StylexValue;
|
31
|
-
flexWrap(flexWrap: All | "wrap" | "nowrap" | "wrap-reverse"): StylexValue;
|
32
|
-
rowGap(rowGap: number | string): StylexValue;
|
33
|
-
columnGap(columnGap: number | string): StylexValue;
|
34
|
-
flexDirection(flexDirection: All | "row" | "column" | "row-reverse" | "column-reverse"): StylexValue;
|
35
|
-
width(width: DimensionValue | string, important?: boolean): StylexValue;
|
36
|
-
height(height: DimensionValue | string, important?: boolean): StylexValue;
|
37
|
-
maxHeight(maxHeight: DimensionValue | string, important?: boolean): StylexValue;
|
38
|
-
minHeight(minHeight: DimensionValue | string): StylexValue;
|
39
|
-
alignItems(alignItems: FlexAlignType): StylexValue;
|
40
|
-
boxSizing(boxSizing: string): StylexValue;
|
41
|
-
display(display: string): StylexValue;
|
42
|
-
wordBreak(wordBreak: string): StylexValue;
|
43
|
-
fontStyle(fontStyle: string): StylexValue;
|
44
|
-
whiteSpace(whiteSpace: string): StylexValue;
|
45
|
-
backDropFilter(backDropFilter: string): StylexValue;
|
46
|
-
transition(transition: string): StylexValue;
|
47
|
-
transform(transform: string): StylexValue;
|
48
|
-
fontSize(fontSize: string | number, important?: boolean): StylexValue;
|
49
|
-
fontWeight(fontWeight: FontWeight): StylexValue;
|
50
|
-
lineHeight(lineHeight: number | string): StylexValue;
|
51
|
-
letterSpacing(letterSpacing: number | string): StylexValue;
|
52
|
-
textDecoration(textDecoration: TextDecoration, important?: boolean): StylexValue;
|
53
|
-
background(background: string, important?: boolean): StylexValue;
|
54
|
-
opacity(opacity: string | number): StylexValue;
|
55
|
-
backgroundImage(backgroundImage: string, important?: boolean): StylexValue;
|
56
|
-
backgroundPosition(backgroundPosition: string, important?: boolean): StylexValue;
|
57
|
-
backgroundRepeat(backgroundRepeat: string, important?: boolean): StylexValue;
|
58
|
-
backgroundSize(backgroundSize: string, important?: boolean): StylexValue;
|
59
|
-
backgroundColor(backgroundColor: string, important?: boolean): StylexValue;
|
60
|
-
color(color: string, important?: boolean): StylexValue;
|
61
|
-
borderTopLeftRadius(borderTopLeftRadius: string | number, important?: boolean): StylexValue;
|
62
|
-
borderTopRightRadius(borderTopRightRadius: string | number, important?: boolean): StylexValue;
|
63
|
-
borderBottomRightRadius(borderBottomRightRadius: string | number, important?: boolean): StylexValue;
|
64
|
-
borderBottomLeftRadius(borderBottomLeftRadius: string | number, important?: boolean): StylexValue;
|
65
|
-
border(border: SpacingStylexType | string | number): StylexValue;
|
66
|
-
margin(margin: SpacingStylexType | string | number, important?: boolean): StylexValue;
|
67
|
-
marginLeft(marginLeft: string | number, important?: boolean): StylexValue;
|
68
|
-
marginBottom(marginBottom: string | number, important?: boolean): StylexValue;
|
69
|
-
marginRight(marginRight: string | number, important?: boolean): StylexValue;
|
70
|
-
marginTop(marginTop: string | number, important?: boolean): StylexValue;
|
71
|
-
padding(value: SpacingStylexType | string | number, important?: boolean): StylexValue;
|
72
|
-
paddingLeft(paddingLeft: string | number, important?: boolean): StylexValue;
|
73
|
-
paddingRight(paddingRight: string | number, important?: boolean): StylexValue;
|
74
|
-
paddingBottom(paddingBottom: string | number, important?: boolean): StylexValue;
|
75
|
-
paddingTop(paddingTop: string | number, important?: boolean): StylexValue;
|
76
|
-
borderLeft(borderLeft: string | number, important?: boolean): StylexValue;
|
77
|
-
borderRight(borderRight: string | number, important?: boolean): StylexValue;
|
78
|
-
borderBottom(borderBottom: string | number, important?: boolean): StylexValue;
|
79
|
-
borderTop(borderTop: string | number, important?: boolean): StylexValue;
|
80
|
-
borderRadius(borderRadius: string | number): StylexValue;
|
81
|
-
textTransform(textTransform: All | "none" | "capitalize" | "uppercase" | "lowercase"): StylexValue;
|
82
|
-
lineCamp(lineCamp: number): StylexValue;
|
83
|
-
overflow(overflow: All | "visible" | "hidden" | "clip" | "scroll" | "auto", important?: boolean): StylexValue;
|
84
|
-
overflowY(overflowY: All | "visible" | "hidden" | "clip" | "scroll" | "auto", important?: boolean): StylexValue;
|
85
|
-
overflowX(overflowX: All | "visible" | "hidden" | "clip" | "scroll" | "auto", important?: boolean): StylexValue;
|
86
|
-
boxOrient(boxOrient: string): StylexValue;
|
87
|
-
cursor(cursor: CSSCursor, important?: boolean): StylexValue;
|
88
|
-
top(top: DimensionValue | string, important?: boolean): StylexValue;
|
89
|
-
bottom(bottom: DimensionValue | string, important?: boolean): StylexValue;
|
90
|
-
left(left: DimensionValue | string): StylexValue;
|
91
|
-
right(right: DimensionValue | string, important?: boolean): StylexValue;
|
92
|
-
zIndex(zIndex: DimensionValue, important?: boolean): StylexValue;
|
93
|
-
visibility(visibility: All | "visible" | "hidden" | "collapse" | "initial" | "inherit"): StylexValue;
|
94
|
-
textAlign(textAlign: TextAlign): StylexValue;
|
95
|
-
transformOrigin(transformOrigin: string): StylexValue;
|
96
|
-
borderColor(borderColor: string): StylexValue;
|
97
|
-
pointerEvents(pointerEvents: PointerEvents): StylexValue;
|
98
|
-
verticalAlign(verticalAlign: VerticalAlign): StylexValue;
|
99
|
-
textOverflow(textOverflow: string): StylexValue;
|
100
|
-
flexShrink(flexShrink: string | number): StylexValue;
|
101
|
-
boxShadow(boxShadow: string | number): StylexValue;
|
102
|
-
gridTemplateColumns(gridTemplateColumns: string | number): StylexValue;
|
103
|
-
objectFit(objectFit: ObjectFit): StylexValue;
|
104
|
-
hover: {
|
105
|
-
opacity(opacity: string | number, important?: boolean): StylexValue;
|
106
|
-
cursor(cursor: string, important?: boolean): StylexValue;
|
107
|
-
transform(transform: string): StylexValue;
|
108
|
-
background(background: string): StylexValue;
|
109
|
-
backgroundColor(backgroundColor: string, important?: boolean): StylexValue;
|
110
|
-
boxShadow(boxShadow: string): StylexValue;
|
111
|
-
textDecoration(textDecoration: TextDecoration, important?: boolean): StylexValue;
|
112
|
-
};
|
113
|
-
nest: {
|
114
|
-
iframe: {
|
115
|
-
paddingLeft(paddingLeft: string | number): StylexValue;
|
116
|
-
paddingRight(paddingRight: string | number): StylexValue;
|
117
|
-
paddingBottom(paddingBottom: string | number): StylexValue;
|
118
|
-
paddingTop(paddingTop: string | number): StylexValue;
|
119
|
-
};
|
120
|
-
};
|
121
|
-
media: {
|
122
|
-
sm: {
|
123
|
-
maxHeight(value: DimensionValue | string, important?: boolean): StylexValue;
|
124
|
-
height(value: DimensionValue | string, important?: boolean): StylexValue;
|
125
|
-
maxWidth(value: DimensionValue | string, important?: boolean): StylexValue;
|
126
|
-
width(value: DimensionValue | string, important?: boolean): StylexValue;
|
127
|
-
fontSize(fontSize: string | number, important?: boolean): StylexValue;
|
128
|
-
fontWeight(fontWeight: FontWeight, important?: boolean): StylexValue;
|
129
|
-
lineHeight(lineHeight: string | number, important?: boolean): StylexValue;
|
130
|
-
letterSpacing(letterSpacing: string | number, important?: boolean): StylexValue;
|
131
|
-
};
|
132
|
-
md: {
|
133
|
-
maxHeight(value: DimensionValue | string, important?: boolean): StylexValue;
|
134
|
-
height(value: DimensionValue | string, important?: boolean): StylexValue;
|
135
|
-
maxWidth(value: DimensionValue | string, important?: boolean): StylexValue;
|
136
|
-
width(value: DimensionValue | string, important?: boolean): StylexValue;
|
137
|
-
fontSize(fontSize: string | number, important?: boolean): StylexValue;
|
138
|
-
fontWeight(fontWeight: FontWeight, important?: boolean): StylexValue;
|
139
|
-
lineHeight(lineHeight: string | number, important?: boolean): StylexValue;
|
140
|
-
letterSpacing(letterSpacing: string | number, important?: boolean): StylexValue;
|
141
|
-
};
|
142
|
-
lg: {
|
143
|
-
fontSize(fontSize: string | number, important?: boolean): StylexValue;
|
144
|
-
fontWeight(fontWeight: FontWeight, important?: boolean): StylexValue;
|
145
|
-
lineHeight(lineHeight: string | number, important?: boolean): StylexValue;
|
146
|
-
letterSpacing(letterSpacing: string | number, important?: boolean): StylexValue;
|
147
|
-
};
|
148
|
-
};
|
149
|
-
}
|
150
|
-
export declare const Stylex: {
|
151
|
-
cssRules: ICssRules;
|
152
|
-
mergeCssRules: (...styles: ReadonlyArray<StylexValue>) => Readonly<StylexValue>;
|
153
|
-
createCssString(styles: CSSProperties): string;
|
154
|
-
createStylex: (cssProperties: StylexCssProperties) => StylexValue;
|
155
|
-
};
|
156
|
-
export declare function registerStylexProvider(stylex: ICssRules, mergeCssRules: (...styles: ReadonlyArray<StylexValue>) => Readonly<StylexValue>, createStylex: (cssProperties: StylexCssProperties) => StylexValue): void;
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { ColorDefinition, ColorSchema, ColorSchemaType, ColorSchemaTypes, guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
|
-
import { useVelcronThemingStore } from ".";
|
3
|
-
export declare const useVelcronColorSchemaStore: (newStateWithName?: string) => {
|
4
|
-
state: {
|
5
|
-
base: ColorDefinition;
|
6
|
-
onBase: ColorDefinition;
|
7
|
-
container: ColorDefinition;
|
8
|
-
onContainer: ColorDefinition;
|
9
|
-
isContainer: boolean;
|
10
|
-
name: string;
|
11
|
-
colorSchemaType: ColorSchemaTypes | ColorSchemaType;
|
12
|
-
id: guid;
|
13
|
-
};
|
14
|
-
get: {
|
15
|
-
readonly colorSchema: ColorSchema;
|
16
|
-
readonly base: ColorDefinition;
|
17
|
-
readonly onBase: ColorDefinition;
|
18
|
-
readonly container: ColorDefinition;
|
19
|
-
readonly onContainer: ColorDefinition;
|
20
|
-
};
|
21
|
-
actions: {
|
22
|
-
setThemeStore: (themeStoreInstance: ReturnType<typeof useVelcronThemingStore>, colorSchemaType?: ColorSchemaTypes | ColorSchemaType, container?: boolean) => void;
|
23
|
-
setColorSchema: (colorSchemaType: ColorSchemaType, container?: boolean) => void;
|
24
|
-
};
|
25
|
-
};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
export declare function defineVelcronStore<TSetup extends {
|
2
|
-
state: object;
|
3
|
-
privateState?: object;
|
4
|
-
}, TGetters, TActions>(name: string, definition: {
|
5
|
-
setup: () => TSetup;
|
6
|
-
getters?: (state: TSetup["state"], privateState?: TSetup["privateState"]) => TGetters;
|
7
|
-
actions?: (state: TSetup["state"], privateState?: TSetup["privateState"]) => TActions;
|
8
|
-
}): (newStateWithName?: string) => {
|
9
|
-
state: TSetup["state"];
|
10
|
-
get: TGetters;
|
11
|
-
actions: TActions;
|
12
|
-
};
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes, ContainerFillBlueprint, BlueprintVariant, ResolvedThemeDefinition, TextStyleSize, TextStyleSizes, TextStyleType, TextStyleTypes } from "..";
|
2
|
-
export declare const useVelcronThemingStore: (newStateWithName?: string) => {
|
3
|
-
state: {
|
4
|
-
currentTheme: ResolvedThemeDefinition;
|
5
|
-
};
|
6
|
-
get: {
|
7
|
-
componentBlueprints: () => void;
|
8
|
-
containerBlueprint: (type: BlueprintVariant | ContainerFillBlueprint | string) => any;
|
9
|
-
colorSchema: (colorSchemaType: ColorSchemaTypes | ColorSchemaType) => import("..").ColorSchema;
|
10
|
-
spacing: () => import("..").SpacingBlueprint;
|
11
|
-
typography: (typographyType: TextStyleTypes | TextStyleType, size: TextStyleSizes | TextStyleSize) => any;
|
12
|
-
color: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => string;
|
13
|
-
colorDefinition: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => import("..").ColorDefinition;
|
14
|
-
currentTheme: () => ResolvedThemeDefinition;
|
15
|
-
};
|
16
|
-
actions: {
|
17
|
-
setTheme(newTheme: ResolvedThemeDefinition): void;
|
18
|
-
};
|
19
|
-
};
|