@omnia/fx-models 8.0.458-dev → 8.0.460-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/BlockTitleSettings.d.ts +2 -2
- package/Enums.d.ts +0 -8
- package/Enums.js +1 -8
- package/internal-do-not-import-from-here/shared/aurora/styles/BackgroundStyling.d.ts +31 -0
- package/internal-do-not-import-from-here/shared/aurora/styles/BlueprintValues.d.ts +6 -0
- package/internal-do-not-import-from-here/shared/aurora/styles/BorderStyling.d.ts +18 -0
- package/internal-do-not-import-from-here/shared/aurora/styles/Colors.d.ts +10 -0
- package/internal-do-not-import-from-here/shared/aurora/styles/FillStyling.d.ts +11 -0
- package/internal-do-not-import-from-here/shared/aurora/styles/General.d.ts +12 -0
- package/internal-do-not-import-from-here/shared/aurora/styles/IconStyling.d.ts +6 -0
- package/internal-do-not-import-from-here/shared/aurora/styles/InputStyling.d.ts +6 -0
- package/internal-do-not-import-from-here/shared/aurora/styles/Spacing.d.ts +12 -0
- package/internal-do-not-import-from-here/shared/aurora/styles/Stylex.d.ts +156 -0
- package/internal-do-not-import-from-here/shared/aurora/styles/StylexTypings.d.ts +894 -0
- package/internal-do-not-import-from-here/shared/aurora/styles/TextStyling.d.ts +8 -0
- package/internal-do-not-import-from-here/shared/aurora/styles/Typography.d.ts +102 -0
- package/internal-do-not-import-from-here/shared/aurora/styles/UseContainerQuery.d.ts +8 -0
- package/internal-do-not-import-from-here/shared/aurora/styles/UseStyling.d.ts +81 -0
- package/internal-do-not-import-from-here/shared/aurora/styles/index.d.ts +12 -0
- package/internal-do-not-import-from-here/shared/models/Enums.d.ts +5 -0
- package/internal-do-not-import-from-here/shared/models/Enums.js +7 -1
- package/internal-do-not-import-from-here/shared/models/OxideTypeDefinitions.d.ts +11 -0
- package/internal-do-not-import-from-here/shared/models/OxideTypeDefinitions.js +7 -1
- package/internal-do-not-import-from-here/shared/models/theme/Blueprints.d.ts +18 -7
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.d.ts +1 -2
- package/oxide/OxideTypeDefinitions.d.ts +0 -9
- package/oxide/OxideTypeDefinitions.js +2 -9
- package/package.json +1 -1
- package/ux/LayoutEditorCanvas.d.ts +2 -0
package/BlockTitleSettings.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import { IIcon } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
1
|
+
import { BorderPositions, IconPositions, IconSizes } from "./Enums";
|
2
|
+
import { IIcon, TextAlignment } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
3
3
|
import { Spacing, VelcronRendererResolverReference } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
4
4
|
import { BusinessProfileProperty } from "./BusinessProfile";
|
5
5
|
import { ShapeDividerSettings } from "./ShapeDividerSettingsModel";
|
package/Enums.d.ts
CHANGED
@@ -538,11 +538,6 @@ export declare enum LayoutItemTypes {
|
|
538
538
|
sectionItem = "sectionItem",
|
539
539
|
block = "block"
|
540
540
|
}
|
541
|
-
export declare enum TextAlignment {
|
542
|
-
left = "left",
|
543
|
-
center = "center",
|
544
|
-
right = "right"
|
545
|
-
}
|
546
541
|
export declare enum IconPositions {
|
547
542
|
Left = 1,
|
548
543
|
Right = 2,
|
@@ -695,9 +690,6 @@ export declare enum DisplayBreakpointCodes {
|
|
695
690
|
* */
|
696
691
|
Large = "lg"
|
697
692
|
}
|
698
|
-
export declare const DisplayBreakpoints: readonly ["s", "m", "l"];
|
699
|
-
export type DisplayBreakpointTypes = typeof DisplayBreakpoints[number];
|
700
|
-
export type ContainerBreakpointTypes = "layout" | "column" | "parent";
|
701
693
|
export declare enum LocalServingMessageType {
|
702
694
|
Connected = "connected",
|
703
695
|
FullReload = "full-reload",
|
package/Enums.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.DateOperator = exports.TimePeriodTypes = exports.TargetUser = exports.RedirectRuleType = exports.MultilingualScopes = exports.OmniaRoleTypes = exports.TargetResolverTypes = exports.PermissionRoles = exports.FirstDayOfWeeks = exports.TimeFormats = exports.CompareBusinessProfilePathType = exports.StatusMessageOverlayType = exports.HttpStatusCode = exports.QueueMessageStatus = exports.StaticEndpoint = exports.LegacyThemeType = exports.FeatureInstanceStatus = exports.RoleDefinitions = exports.Parameters = exports.ParamTypes = exports.PropertyIndexedType = exports.UserPickingType = exports.BoolFilter = exports.PrincipalTypes = exports.AppInstanceScopedQueryTypes = exports.AppInstanceStatus = exports.VideoRatio = exports.AdminNavigationBuiltInCategory = exports.AdminVisibility = exports.AuthenticationValidationStatuses = exports.IconSources = exports.LanguageTags = exports.LocalizationTargetTypes = exports.BundleTargetTypes = exports.ServerManifestTypes = exports.ClientManifestTypes = exports.RuleLogicalOperator = exports.ResourceEvaluators = exports.ConsoleStateStorageMessageTypes = exports.ConsoleMessageTypes = exports.LogLevels = exports.ManifestLoadStatus = exports.LogSources = exports.AppTemplatePermissionLevel = exports.SecurityAccessType = exports.SecurityIdentities = exports.SecurityRoleScopes = exports.SecurityProviderTypes = exports.BuiltInAppInstanceInternalNames = exports.BuiltInEnterprisePropertyInternalNames = void 0;
|
4
|
-
exports.CompletionImpactType = exports.LayoutActionOpenType = exports.ReCaptChaSecretFormNames = exports.reCaptchaSecretKey = exports.WPServiceDefinition = exports.StatusFilter = exports.PersistentDiskTypes = exports.CookieKeys = exports.LocalServingMessageType = exports.
|
4
|
+
exports.CompletionImpactType = exports.LayoutActionOpenType = exports.ReCaptChaSecretFormNames = exports.reCaptchaSecretKey = exports.WPServiceDefinition = exports.StatusFilter = exports.PersistentDiskTypes = exports.CookieKeys = exports.LocalServingMessageType = exports.DisplayBreakpointCodes = exports.IdentityUserIdTypeMatch = exports.OmniaClientRuntimes = exports.OmniaBackendRuntimes = exports.PropertyEditModeElementNameType = exports.DirectionRules = exports.MediaPickerEnums = exports.PropertyArchiveType = exports.ImageSources = exports.IconSizes = exports.BlockRenderingModes = exports.LayoutCanvasModes = exports.ChromeTypes = exports.LayoutItemActions = exports.LayoutEditorModes = exports.TabbedDisplayModes = exports.TabbedIconPositions = exports.Positions = exports.BorderPositions = exports.IconPositions = exports.LayoutItemTypes = exports.LayoutDrawerTabs = exports.VerticalAlignments = exports.HorizontalAlignments = exports.BladeSizes = exports.ImageResolution = exports.AppInstanceAction = exports.VDataGridHeaderType = exports.VDataGridHeaderAlign = exports.ButtonSizes = exports.ButtonModes = exports.ButtonIconPosition = exports.TooltipPosition = exports.RichTextModes = void 0;
|
5
5
|
const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
|
6
6
|
var BuiltInEnterprisePropertyInternalNames;
|
7
7
|
(function (BuiltInEnterprisePropertyInternalNames) {
|
@@ -606,12 +606,6 @@ var LayoutItemTypes;
|
|
606
606
|
LayoutItemTypes["sectionItem"] = "sectionItem";
|
607
607
|
LayoutItemTypes["block"] = "block";
|
608
608
|
})(LayoutItemTypes || (exports.LayoutItemTypes = LayoutItemTypes = {}));
|
609
|
-
var TextAlignment;
|
610
|
-
(function (TextAlignment) {
|
611
|
-
TextAlignment["left"] = "left";
|
612
|
-
TextAlignment["center"] = "center";
|
613
|
-
TextAlignment["right"] = "right";
|
614
|
-
})(TextAlignment || (exports.TextAlignment = TextAlignment = {}));
|
615
609
|
var IconPositions;
|
616
610
|
(function (IconPositions) {
|
617
611
|
IconPositions[IconPositions["Left"] = 1] = "Left";
|
@@ -796,7 +790,6 @@ var DisplayBreakpointCodes;
|
|
796
790
|
* */
|
797
791
|
DisplayBreakpointCodes["Large"] = "lg";
|
798
792
|
})(DisplayBreakpointCodes || (exports.DisplayBreakpointCodes = DisplayBreakpointCodes = {}));
|
799
|
-
exports.DisplayBreakpoints = ["s", "m", "l"];
|
800
793
|
var LocalServingMessageType;
|
801
794
|
(function (LocalServingMessageType) {
|
802
795
|
LocalServingMessageType["Connected"] = "connected";
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { BackgroundDefinition } from "internal/fx/shared/models";
|
2
|
+
import { StylexValue } from "./Stylex";
|
3
|
+
import { useColorSchemaStore } from "../stores";
|
4
|
+
export declare namespace BackgroundStyling {
|
5
|
+
function backgroundGrid(): Readonly<StylexValue>;
|
6
|
+
function getBlueprintBackgroundStylex(definition: BackgroundDefinition, gradientFillFallbackColor?: string, colors?: ReturnType<typeof useColorSchemaStore>): Readonly<StylexValue>;
|
7
|
+
function getBlueprintBackgroundObjectStylex(definition: BackgroundDefinition, gradientFillFallbackColor?: string, colors?: ReturnType<typeof useColorSchemaStore>): {
|
8
|
+
borderTopLeftRadius?: StylexValue;
|
9
|
+
borderTopRightRadius?: StylexValue;
|
10
|
+
borderBottomRightRadius?: StylexValue;
|
11
|
+
borderBottomLeftRadius?: StylexValue;
|
12
|
+
border?: StylexValue;
|
13
|
+
background?: StylexValue;
|
14
|
+
borderTop?: StylexValue;
|
15
|
+
borderRight?: StylexValue;
|
16
|
+
borderBottom?: StylexValue;
|
17
|
+
borderLeft?: StylexValue;
|
18
|
+
} & {
|
19
|
+
background?: StylexValue;
|
20
|
+
backdropFilter?: StylexValue;
|
21
|
+
} & {
|
22
|
+
position?: StylexValue;
|
23
|
+
backgroundImage?: StylexValue;
|
24
|
+
backgroundPosition?: StylexValue;
|
25
|
+
backgroundRepeat?: StylexValue;
|
26
|
+
backgroundSize?: StylexValue;
|
27
|
+
width?: StylexValue;
|
28
|
+
height?: StylexValue;
|
29
|
+
$nest?: StylexValue;
|
30
|
+
};
|
31
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { Spacing } from "internal/fx/shared/models";
|
2
|
+
import { useSpacingBlueprintStore } from "../stores";
|
3
|
+
export declare namespace BlueprintValues {
|
4
|
+
function getBlueprintSpacingValue(value: any, blueprint?: ReturnType<typeof useSpacingBlueprintStore>): number;
|
5
|
+
function getBlueprintSpacingValues(value: Spacing, blueprint?: ReturnType<typeof useSpacingBlueprintStore>): Spacing;
|
6
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { BorderStylingDefinition } from "internal/fx/shared/models";
|
2
|
+
import { StylexValue } from "./Stylex";
|
3
|
+
import { useColorSchemaStore } from "../stores";
|
4
|
+
export declare namespace BorderStyling {
|
5
|
+
function getBlueprintBorderStylex(definition: BorderStylingDefinition, gradientFillFallbackColor?: string, colors?: ReturnType<typeof useColorSchemaStore>): Readonly<StylexValue>;
|
6
|
+
function getBlueprintBorderObjectStylex(definition: BorderStylingDefinition, gradientFill?: string, colors?: ReturnType<typeof useColorSchemaStore>): {
|
7
|
+
borderTopLeftRadius?: StylexValue;
|
8
|
+
borderTopRightRadius?: StylexValue;
|
9
|
+
borderBottomRightRadius?: StylexValue;
|
10
|
+
borderBottomLeftRadius?: StylexValue;
|
11
|
+
border?: StylexValue;
|
12
|
+
background?: StylexValue;
|
13
|
+
borderTop?: StylexValue;
|
14
|
+
borderRight?: StylexValue;
|
15
|
+
borderBottom?: StylexValue;
|
16
|
+
borderLeft?: StylexValue;
|
17
|
+
};
|
18
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export declare namespace colorStyling {
|
2
|
+
function dividingOpacity(dark: boolean): "rgba(255,255,255,0.15)" | "rgba(0,0,0,0.15)";
|
3
|
+
function backgroundOpacity(dark: boolean, opacity?: Number): string;
|
4
|
+
function backgroundOpacityOnColor(color: string, dark: boolean, opacity?: Number): any;
|
5
|
+
function getColorStylingx(color: string, opacity?: number): {
|
6
|
+
all: Readonly<import("./Stylex").StylexValue>;
|
7
|
+
background: import("./Stylex").StylexValue;
|
8
|
+
color: import("./Stylex").StylexValue;
|
9
|
+
};
|
10
|
+
}
|
@@ -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,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;
|