@omnia/fx-models 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.
Files changed (46) hide show
  1. package/BlockTitleSettings.d.ts +2 -2
  2. package/Enums.d.ts +0 -8
  3. package/Enums.js +1 -8
  4. package/internal-do-not-import-from-here/shared/aurora/stores/ColorManager.d.ts +9 -0
  5. package/internal-do-not-import-from-here/shared/aurora/stores/ColorSchemaStore.d.ts +46 -0
  6. package/internal-do-not-import-from-here/shared/aurora/stores/ComponentBlueprintStore.d.ts +54 -0
  7. package/internal-do-not-import-from-here/shared/aurora/stores/DefineThemeProvider.d.ts +4 -0
  8. package/internal-do-not-import-from-here/shared/aurora/stores/FontStore.d.ts +18 -0
  9. package/internal-do-not-import-from-here/shared/aurora/stores/SpacingBlueprintStore.d.ts +42 -0
  10. package/internal-do-not-import-from-here/shared/aurora/stores/TemplateRegistrationStore.d.ts +20 -0
  11. package/internal-do-not-import-from-here/shared/aurora/stores/ThemeContextStore.d.ts +16 -0
  12. package/internal-do-not-import-from-here/shared/aurora/stores/ThemeMigrations.d.ts +12 -0
  13. package/internal-do-not-import-from-here/shared/aurora/stores/ThemeNormalizer.d.ts +5 -0
  14. package/internal-do-not-import-from-here/shared/aurora/stores/ThemeProvider.d.ts +39 -0
  15. package/internal-do-not-import-from-here/shared/aurora/stores/ThemeSharedModels.d.ts +33 -0
  16. package/internal-do-not-import-from-here/shared/aurora/stores/ThemeStore.d.ts +91 -0
  17. package/internal-do-not-import-from-here/shared/aurora/stores/TypographyBlueprintManager.d.ts +22 -0
  18. package/internal-do-not-import-from-here/shared/aurora/stores/TypographyBlueprintStore.d.ts +34 -0
  19. package/internal-do-not-import-from-here/shared/aurora/stores/VariantManager.d.ts +7 -0
  20. package/internal-do-not-import-from-here/shared/aurora/stores/index.d.ts +15 -0
  21. package/internal-do-not-import-from-here/shared/aurora/styles/BackgroundStyling.d.ts +31 -0
  22. package/internal-do-not-import-from-here/shared/aurora/styles/BlueprintValues.d.ts +6 -0
  23. package/internal-do-not-import-from-here/shared/aurora/styles/BorderStyling.d.ts +18 -0
  24. package/internal-do-not-import-from-here/shared/aurora/styles/Colors.d.ts +10 -0
  25. package/internal-do-not-import-from-here/shared/aurora/styles/FillStyling.d.ts +11 -0
  26. package/internal-do-not-import-from-here/shared/aurora/styles/General.d.ts +12 -0
  27. package/internal-do-not-import-from-here/shared/aurora/styles/IconStyling.d.ts +6 -0
  28. package/internal-do-not-import-from-here/shared/aurora/styles/InputStyling.d.ts +6 -0
  29. package/internal-do-not-import-from-here/shared/aurora/styles/Spacing.d.ts +12 -0
  30. package/internal-do-not-import-from-here/shared/aurora/styles/StyleFormatters.d.ts +4 -0
  31. package/internal-do-not-import-from-here/shared/aurora/styles/Stylex.d.ts +156 -0
  32. package/internal-do-not-import-from-here/shared/aurora/styles/StylexTypings.d.ts +894 -0
  33. package/internal-do-not-import-from-here/shared/aurora/styles/TextStyling.d.ts +8 -0
  34. package/internal-do-not-import-from-here/shared/aurora/styles/Typography.d.ts +102 -0
  35. package/internal-do-not-import-from-here/shared/aurora/styles/UseContainerQuery.d.ts +8 -0
  36. package/internal-do-not-import-from-here/shared/aurora/styles/UseStyling.d.ts +81 -0
  37. package/internal-do-not-import-from-here/shared/aurora/styles/index.d.ts +13 -0
  38. package/internal-do-not-import-from-here/shared/models/Enums.d.ts +5 -0
  39. package/internal-do-not-import-from-here/shared/models/Enums.js +7 -1
  40. package/internal-do-not-import-from-here/shared/models/OxideTypeDefinitions.d.ts +11 -0
  41. package/internal-do-not-import-from-here/shared/models/OxideTypeDefinitions.js +7 -1
  42. package/internal-do-not-import-from-here/shared/models/theme/Blueprints.d.ts +16 -3
  43. package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.d.ts +4 -4
  44. package/oxide/OxideTypeDefinitions.d.ts +0 -9
  45. package/oxide/OxideTypeDefinitions.js +2 -9
  46. package/package.json +1 -1
@@ -0,0 +1,11 @@
1
+ import { TextFillDefinitionValue } from "internal/fx/shared/models";
2
+ import { StylexValue } from "./Stylex";
3
+ import { useColorSchemaStore } from "../stores";
4
+ export declare namespace FillStyling {
5
+ function generateFillColorString(definition: TextFillDefinitionValue, colors?: ReturnType<typeof useColorSchemaStore>): string;
6
+ function getBlueprintFillStylex(definition: TextFillDefinitionValue, colors?: ReturnType<typeof useColorSchemaStore>): Readonly<StylexValue>;
7
+ function getBlueprintFillObjectStylex(definition: TextFillDefinitionValue, colors?: ReturnType<typeof useColorSchemaStore>): {
8
+ background?: StylexValue;
9
+ backdropFilter?: StylexValue;
10
+ };
11
+ }
@@ -0,0 +1,12 @@
1
+ import { useColorSchemaStore } from "../stores";
2
+ import { OBorderCombination } from "internal/fx/shared/models";
3
+ import { StylexValue } from "./Stylex";
4
+ export declare namespace generalStylex {
5
+ function getSelectedTableRowStylex(dark: boolean): Readonly<StylexValue>;
6
+ function getScrollStylex(colors: ReturnType<typeof useColorSchemaStore>, toned?: boolean): Readonly<StylexValue>;
7
+ function getBorderDividerStylex(border: OBorderCombination, dark: boolean): Readonly<StylexValue>;
8
+ function getHoverStylex(dark: boolean, settings?: {
9
+ scale?: number;
10
+ transparent?: boolean;
11
+ }): Readonly<StylexValue>;
12
+ }
@@ -0,0 +1,6 @@
1
+ import { IconBlueprint } from "internal/fx/shared/models";
2
+ import { StylexValue } from "./Stylex";
3
+ import { useColorSchemaStore } from "../stores";
4
+ export declare namespace IconStyling {
5
+ function getIconBlueprintStylex(bluePrint: IconBlueprint, colors: ReturnType<typeof useColorSchemaStore>, duoTone: boolean, nested?: boolean): Readonly<StylexValue>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { InputBlueprint, TextBlueprint } from "internal/fx/shared/models";
2
+ import { StylexValue } from "./Stylex";
3
+ import { useColorSchemaStore } from "../stores";
4
+ export declare namespace InputStyling {
5
+ function getFieldBlueprintStylex(bluePrint: InputBlueprint, colors: ReturnType<typeof useColorSchemaStore>, customTextBlueprint: TextBlueprint): Readonly<StylexValue>;
6
+ }
@@ -0,0 +1,12 @@
1
+ import { Spacing, SpacingValue } from "internal/fx/shared/models";
2
+ import { useSpacingBlueprintStore } from "../stores";
3
+ export interface NumericalSpacing {
4
+ top?: number;
5
+ right?: number;
6
+ bottom?: number;
7
+ left?: number;
8
+ }
9
+ export declare namespace SpacingStyling {
10
+ function getBlueprintSpacingStylex(value: Spacing | SpacingValue, spacingType?: "margin" | "padding", blueprint?: ReturnType<typeof useSpacingBlueprintStore>): import("./Stylex").StylexValue;
11
+ function createSpacingx(spacing: NumericalSpacing, type: "padding" | "margin"): import("./Stylex").StylexValue;
12
+ }
@@ -0,0 +1,4 @@
1
+ export declare namespace StyleFormatters {
2
+ function formatPixelValue(value: any): string;
3
+ function formatMediaUrl(url: string): string;
4
+ }
@@ -0,0 +1,156 @@
1
+ import { All, CSSCursor, ObjectFit, PointerEvents, CSSProperties as StylexCssProperties, TextAlign, TextDecoration, VerticalAlign, FontWeight } from "./StylexTypings";
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;