@stylexjs/stylex 0.2.0-beta.20 → 0.2.0-beta.21

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.
@@ -847,13 +847,400 @@ type svgWritingMode = 'lr-tb' | 'rl-tb' | 'tb-rl' | 'lr' | 'rl' | 'tb';
847
847
  type top = number | string;
848
848
  type OptionalArray<T> = Array<T> | T;
849
849
  export type SupportedVendorSpecificCSSProperties = Readonly<{
850
- MozOsxFontSmoothing?: 'grayscale';
851
- WebkitAppearance?: appearance;
852
- WebkitFontSmoothing?: 'antialiased';
853
- WebkitTapHighlightColor?: color;
850
+ MozOsxFontSmoothing?: null | 'grayscale';
851
+ WebkitAppearance?: null | appearance;
852
+ WebkitFontSmoothing?: null | 'antialiased';
853
+ WebkitTapHighlightColor?: null | color;
854
+ }>;
855
+ export type CSSProperties = Readonly<{
856
+ theme?: null | string;
857
+ MozOsxFontSmoothing?: null | 'grayscale';
858
+ WebkitAppearance?: null | appearance;
859
+ WebkitFontSmoothing?: null | 'antialiased';
860
+ WebkitTapHighlightColor?: null | color;
861
+ alignContent?: null | alignContent;
862
+ alignItems?: null | alignItems;
863
+ alignSelf?: null | alignSelf;
864
+ alignmentBaseline?: null | alignmentBaseline;
865
+ all?: null | all;
866
+ animationDelay?: null | OptionalArray<animationDelay>;
867
+ animationDirection?: null | OptionalArray<animationDirection>;
868
+ animationDuration?: null | OptionalArray<animationDuration>;
869
+ animationFillMode?: null | OptionalArray<animationFillMode>;
870
+ animationIterationCount?: null | OptionalArray<animationIterationCount>;
871
+ animationName?: null | OptionalArray<animationName>;
872
+ animationPlayState?: null | OptionalArray<animationPlayState>;
873
+ animationTimingFunction?: null | OptionalArray<animationTimingFunction>;
874
+ appearance?: null | appearance;
875
+ backdropFilter?: null | backdropFilter;
876
+ backfaceVisibility?: null | backfaceVisibility;
877
+ backgroundAttachment?: null | OptionalArray<backgroundAttachment>;
878
+ backgroundBlendMode?: null | OptionalArray<backgroundBlendMode>;
879
+ backgroundClip?: null | OptionalArray<backgroundClip>;
880
+ backgroundColor?: null | backgroundColor;
881
+ backgroundImage?: null | OptionalArray<backgroundImage>;
882
+ backgroundOrigin?: null | OptionalArray<backgroundOrigin>;
883
+ backgroundPosition?: null | OptionalArray<backgroundPosition>;
884
+ backgroundPositionX?: null | OptionalArray<backgroundPositionX>;
885
+ backgroundPositionY?: null | OptionalArray<backgroundPositionY>;
886
+ backgroundRepeat?: null | OptionalArray<backgroundRepeat>;
887
+ backgroundSize?: null | OptionalArray<backgroundSize>;
888
+ baselineShift?: null | baselineShift;
889
+ behavior?: null | behavior;
890
+ blockSize?: null | blockSize;
891
+ border?: null | border;
892
+ borderBlockEnd?: null | borderBlockEnd;
893
+ borderBlockEndColor?: null | borderBlockEndColor;
894
+ borderBlockEndStyle?: null | borderBlockEndStyle;
895
+ borderBlockEndWidth?: null | borderBlockEndWidth;
896
+ borderBlockStart?: null | borderBlockStart;
897
+ borderBlockStartColor?: null | borderBlockStartColor;
898
+ borderBlockStartStyle?: null | borderBlockStartStyle;
899
+ borderBlockStartWidth?: null | borderBlockStartWidth;
900
+ borderBottom?: null | border;
901
+ borderBottomColor?: null | color;
902
+ borderBottomEndRadius?: null | borderBottomRightRadius;
903
+ borderBottomLeftRadius?: null | borderBottomLeftRadius;
904
+ borderBottomRightRadius?: null | borderBottomRightRadius;
905
+ borderBottomStartRadius?: null | borderBottomLeftRadius;
906
+ borderBottomStyle?: null | borderBottomStyle;
907
+ borderBottomWidth?: null | borderBottomWidth;
908
+ borderCollapse?: null | borderCollapse;
909
+ borderColor?: null | borderColor;
910
+ borderEnd?: null | border;
911
+ borderEndColor?: null | borderRightColor;
912
+ borderEndStyle?: null | borderRightStyle;
913
+ borderEndWidth?: null | borderRightWidth;
914
+ borderImage?: null | borderImage;
915
+ borderImageOutset?: null | borderImageOutset;
916
+ borderImageRepeat?: null | borderImageRepeat;
917
+ borderImageSlice?: null | borderImageSlice;
918
+ borderImageSource?: null | borderImageSource;
919
+ borderImageWidth?: null | borderImageWidth;
920
+ borderInlineEnd?: null | borderInlineEnd;
921
+ borderInlineEndColor?: null | borderInlineEndColor;
922
+ borderInlineEndStyle?: null | borderInlineEndStyle;
923
+ borderInlineEndWidth?: null | borderInlineEndWidth;
924
+ borderInlineStart?: null | borderInlineStart;
925
+ borderInlineStartColor?: null | borderInlineStartColor;
926
+ borderInlineStartStyle?: null | borderInlineStartStyle;
927
+ borderInlineStartWidth?: null | borderInlineStartWidth;
928
+ borderLeft?: null | border;
929
+ borderLeftColor?: null | borderLeftColor;
930
+ borderLeftStyle?: null | borderLeftStyle;
931
+ borderLeftWidth?: null | borderLeftWidth;
932
+ borderRadius?: null | borderRadius;
933
+ borderRight?: null | border;
934
+ borderRightColor?: null | borderRightColor;
935
+ borderRightStyle?: null | borderRightStyle;
936
+ borderRightWidth?: null | borderRightWidth;
937
+ borderSpacing?: null | borderSpacing;
938
+ borderStart?: null | border;
939
+ borderStartColor?: null | borderLeftColor;
940
+ borderStartStyle?: null | borderLeftStyle;
941
+ borderStartWidth?: null | borderLeftWidth;
942
+ borderStyle?: null | borderStyle;
943
+ borderTop?: null | border;
944
+ borderTopColor?: null | color;
945
+ borderTopEndRadius?: null | borderTopRightRadius;
946
+ borderTopLeftRadius?: null | borderTopLeftRadius;
947
+ borderTopRightRadius?: null | borderTopRightRadius;
948
+ borderTopStartRadius?: null | borderTopLeftRadius;
949
+ borderTopStyle?: null | borderTopStyle;
950
+ borderTopWidth?: null | borderTopWidth;
951
+ borderWidth?: null | borderWidth;
952
+ bottom?: null | number | string;
953
+ boxAlign?: null | boxAlign;
954
+ boxDecorationBreak?: null | boxDecorationBreak;
955
+ boxDirection?: null | boxDirection;
956
+ boxFlex?: null | boxFlex;
957
+ boxFlexGroup?: null | boxFlexGroup;
958
+ boxLines?: null | boxLines;
959
+ boxOrdinalGroup?: null | boxOrdinalGroup;
960
+ boxOrient?: null | boxOrient;
961
+ boxShadow?: null | OptionalArray<boxShadow>;
962
+ boxSizing?: null | boxSizing;
963
+ boxSuppress?: null | boxSuppress;
964
+ breakAfter?: null | breakAfter;
965
+ breakBefore?: null | breakBefore;
966
+ breakInside?: null | breakInside;
967
+ captionSide?: null | captionSide;
968
+ clear?: null | clear;
969
+ clip?: null | clip;
970
+ clipPath?: null | clipPath;
971
+ clipRule?: null | clipRule;
972
+ color?: null | color;
973
+ columnCount?: null | columnCount;
974
+ columnFill?: null | columnFill;
975
+ columnGap?: null | columnGap;
976
+ columnRule?: null | columnRule;
977
+ columnRuleColor?: null | columnRuleColor;
978
+ columnRuleStyle?: null | columnRuleStyle;
979
+ columnRuleWidth?: null | columnRuleWidth;
980
+ columnSpan?: null | columnSpan;
981
+ columnWidth?: null | columnWidth;
982
+ columns?: null | columns;
983
+ contain?: null | contain;
984
+ content?: null | content;
985
+ counterIncrement?: null | counterIncrement;
986
+ counterReset?: null | counterReset;
987
+ cue?: null | cue;
988
+ cueAfter?: null | cueAfter;
989
+ cueBefore?: null | cueBefore;
990
+ cursor?: null | OptionalArray<cursor>;
991
+ direction?: null | direction;
992
+ display?: null | display;
993
+ displayInside?: null | displayInside;
994
+ displayList?: null | displayList;
995
+ displayOutside?: null | displayOutside;
996
+ dominantBaseline?: null | dominantBaseline;
997
+ emptyCells?: null | emptyCells;
998
+ end?: null | number | string;
999
+ fill?: null | fill;
1000
+ fillOpacity?: null | fillOpacity;
1001
+ fillRule?: null | fillRule;
1002
+ filter?: null | filter;
1003
+ flex?: null | flex;
1004
+ flexBasis?: null | flexBasis;
1005
+ flexDirection?: null | flexDirection;
1006
+ flexFlow?: null | flexFlow;
1007
+ flexGrow?: null | flexGrow;
1008
+ flexShrink?: null | flexShrink;
1009
+ flexWrap?: null | flexWrap;
1010
+ float?: null | float;
1011
+ fontFamily?: null | fontFamily;
1012
+ fontFeatureSettings?: null | fontFeatureSettings;
1013
+ fontKerning?: null | fontKerning;
1014
+ fontLanguageOverride?: null | fontLanguageOverride;
1015
+ fontSize?: null | fontSize;
1016
+ fontSizeAdjust?: null | fontSizeAdjust;
1017
+ fontStretch?: null | fontStretch;
1018
+ fontStyle?: null | fontStyle;
1019
+ fontSynthesis?: null | fontSynthesis;
1020
+ fontVariant?: null | fontVariant;
1021
+ fontVariantAlternates?: null | fontVariantAlternates;
1022
+ fontVariantCaps?: null | fontVariantCaps;
1023
+ fontVariantEastAsian?: null | fontVariantEastAsian;
1024
+ fontVariantLigatures?: null | fontVariantLigatures;
1025
+ fontVariantNumeric?: null | fontVariantNumeric;
1026
+ fontVariantPosition?: null | fontVariantPosition;
1027
+ fontWeight?: null | fontWeight;
1028
+ gap?: null | gap;
1029
+ glyphOrientationHorizontal?: null | glyphOrientationHorizontal;
1030
+ glyphOrientationVertical?: null | glyphOrientationVertical;
1031
+ grid?: null | grid;
1032
+ gridArea?: null | gridArea;
1033
+ gridAutoColumns?: null | gridAutoColumns;
1034
+ gridAutoFlow?: null | gridAutoFlow;
1035
+ gridAutoRows?: null | gridAutoRows;
1036
+ gridColumn?: null | gridColumn;
1037
+ gridColumnEnd?: null | gridColumnEnd;
1038
+ gridColumnGap?: null | gridColumnGap;
1039
+ gridColumnStart?: null | gridColumnStart;
1040
+ gridGap?: null | gridGap;
1041
+ gridRow?: null | gridRow;
1042
+ gridRowEnd?: null | gridRowEnd;
1043
+ gridRowGap?: null | gridRowGap;
1044
+ gridRowStart?: null | gridRowStart;
1045
+ gridTemplate?: null | gridTemplate;
1046
+ gridTemplateAreas?: null | gridTemplateAreas;
1047
+ gridTemplateColumns?: null | gridTemplateColumns;
1048
+ gridTemplateRows?: null | gridTemplateRows;
1049
+ height?: null | number | string;
1050
+ hyphens?: null | hyphens;
1051
+ imageOrientation?: null | imageOrientation;
1052
+ imageRendering?: null | imageRendering;
1053
+ imageResolution?: null | imageResolution;
1054
+ imeMode?: null | imeMode;
1055
+ initialLetter?: null | initialLetter;
1056
+ initialLetterAlign?: null | initialLetterAlign;
1057
+ inlineSize?: null | inlineSize;
1058
+ isolation?: null | isolation;
1059
+ justifyContent?: null | justifyContent;
1060
+ justifyItems?: null | justifyItems;
1061
+ justifySelf?: null | justifySelf;
1062
+ kerning?: null | kerning;
1063
+ left?: null | number | string;
1064
+ letterSpacing?: null | letterSpacing;
1065
+ lineBreak?: null | lineBreak;
1066
+ lineHeight?: null | lineHeight;
1067
+ listStyle?: null | listStyle;
1068
+ listStyleImage?: null | listStyleImage;
1069
+ listStylePosition?: null | listStylePosition;
1070
+ listStyleType?: null | listStyleType;
1071
+ margin?: null | margin;
1072
+ marginBlockEnd?: null | marginBlockEnd;
1073
+ marginBlockStart?: null | marginBlockStart;
1074
+ marginBottom?: null | marginBottom;
1075
+ marginEnd?: null | marginRight;
1076
+ marginHorizontal?: null | marginLeft;
1077
+ marginInlineEnd?: null | marginInlineEnd;
1078
+ marginInlineStart?: null | marginInlineStart;
1079
+ marginLeft?: null | marginLeft;
1080
+ marginRight?: null | marginRight;
1081
+ marginStart?: null | marginLeft;
1082
+ marginTop?: null | marginTop;
1083
+ marginVertical?: null | marginTop;
1084
+ marker?: null | marker;
1085
+ markerEnd?: null | markerEnd;
1086
+ markerMid?: null | markerMid;
1087
+ markerOffset?: null | markerOffset;
1088
+ markerStart?: null | markerStart;
1089
+ mask?: null | mask;
1090
+ maskClip?: null | maskClip;
1091
+ maskComposite?: null | maskComposite;
1092
+ maskImage?: null | maskImage;
1093
+ maskMode?: null | maskMode;
1094
+ maskOrigin?: null | maskOrigin;
1095
+ maskPosition?: null | maskPosition;
1096
+ maskRepeat?: null | maskRepeat;
1097
+ maskSize?: null | maskSize;
1098
+ maskType?: null | maskType;
1099
+ maxBlockSize?: null | maxBlockSize;
1100
+ maxHeight?: null | maxHeight;
1101
+ maxInlineSize?: null | maxInlineSize;
1102
+ maxWidth?: null | maxWidth;
1103
+ minBlockSize?: null | minBlockSize;
1104
+ minHeight?: null | minHeight;
1105
+ minInlineSize?: null | minInlineSize;
1106
+ minWidth?: null | minWidth;
1107
+ mixBlendMode?: null | mixBlendMode;
1108
+ motion?: null | motion;
1109
+ motionOffset?: null | motionOffset;
1110
+ motionPath?: null | motionPath;
1111
+ motionRotation?: null | motionRotation;
1112
+ MsOverflowStyle?: null | MsOverflowStyle;
1113
+ objectFit?: null | objectFit;
1114
+ objectPosition?: null | objectPosition;
1115
+ offsetBlockEnd?: null | offsetBlockEnd;
1116
+ offsetBlockStart?: null | offsetBlockStart;
1117
+ offsetInlineEnd?: null | offsetInlineEnd;
1118
+ offsetInlineStart?: null | offsetInlineStart;
1119
+ opacity?: null | opacity;
1120
+ order?: null | order;
1121
+ orphans?: null | orphans;
1122
+ outline?: null | outline;
1123
+ outlineColor?: null | outlineColor;
1124
+ outlineOffset?: null | outlineOffset;
1125
+ outlineStyle?: null | outlineStyle;
1126
+ outlineWidth?: null | outlineWidth;
1127
+ overflow?: null | overflow;
1128
+ overflowAnchor?: null | overflowAnchor;
1129
+ overflowClipBox?: null | overflowClipBox;
1130
+ overflowWrap?: null | overflowWrap;
1131
+ overflowX?: null | overflowX;
1132
+ overflowY?: null | overflowY;
1133
+ overscrollBehavior?: null | overscrollBehavior;
1134
+ overscrollBehaviorX?: null | overscrollBehaviorX;
1135
+ overscrollBehaviorY?: null | overscrollBehaviorY;
1136
+ padding?: null | padding;
1137
+ paddingBlockEnd?: null | paddingBlockEnd;
1138
+ paddingBlockStart?: null | paddingBlockStart;
1139
+ paddingBottom?: null | paddingBottom;
1140
+ paddingEnd?: null | paddingBottom;
1141
+ paddingHorizontal?: null | paddingLeft;
1142
+ paddingLeft?: null | paddingLeft;
1143
+ paddingRight?: null | paddingRight;
1144
+ paddingStart?: null | paddingLeft;
1145
+ paddingTop?: null | paddingTop;
1146
+ paddingVertical?: null | paddingTop;
1147
+ pageBreakAfter?: null | pageBreakAfter;
1148
+ pageBreakBefore?: null | pageBreakBefore;
1149
+ pageBreakInside?: null | pageBreakInside;
1150
+ pause?: null | pause;
1151
+ pauseAfter?: null | pauseAfter;
1152
+ pauseBefore?: null | pauseBefore;
1153
+ perspective?: null | perspective;
1154
+ perspectiveOrigin?: null | perspectiveOrigin;
1155
+ pointerEvents?: null | pointerEvents;
1156
+ position?: null | position;
1157
+ quotes?: null | quotes;
1158
+ resize?: null | resize;
1159
+ rest?: null | rest;
1160
+ restAfter?: null | restAfter;
1161
+ restBefore?: null | restBefore;
1162
+ right?: null | number | string;
1163
+ rowGap?: null | rowGap;
1164
+ rubyAlign?: null | rubyAlign;
1165
+ rubyMerge?: null | rubyMerge;
1166
+ rubyPosition?: null | rubyPosition;
1167
+ scrollbarWidth?: null | string | number;
1168
+ scrollBehavior?: null | scrollBehavior;
1169
+ scrollPadding?: null | number;
1170
+ scrollPaddingTop?: null | number;
1171
+ scrollPaddingBottom?: null | number;
1172
+ scrollSnapAlign?: null | scrollSnapAlign;
1173
+ scrollSnapType?: null | scrollSnapType;
1174
+ shapeImageThreshold?: null | shapeImageThreshold;
1175
+ shapeMargin?: null | shapeMargin;
1176
+ shapeOutside?: null | shapeOutside;
1177
+ shapeRendering?: null | shapeRendering;
1178
+ speak?: null | speak;
1179
+ speakAs?: null | speakAs;
1180
+ src?: null | src;
1181
+ start?: null | number | string;
1182
+ stroke?: null | stroke;
1183
+ strokeDasharray?: null | strokeDasharray;
1184
+ strokeDashoffset?: null | strokeDashoffset;
1185
+ strokeLinecap?: null | strokeLinecap;
1186
+ strokeLinejoin?: null | strokeLinejoin;
1187
+ strokeMiterlimit?: null | strokeMiterlimit;
1188
+ strokeOpacity?: null | strokeOpacity;
1189
+ strokeWidth?: null | strokeWidth;
1190
+ tabSize?: null | tabSize;
1191
+ tableLayout?: null | tableLayout;
1192
+ textAlign?: null | textAlign;
1193
+ textAlignLast?: null | textAlignLast;
1194
+ textAnchor?: null | textAnchor;
1195
+ textCombineUpright?: null | textCombineUpright;
1196
+ textDecoration?: null | textDecoration;
1197
+ textDecorationColor?: null | textDecorationColor;
1198
+ textDecorationLine?: null | textDecorationLine;
1199
+ textDecorationSkip?: null | textDecorationSkip;
1200
+ textDecorationStyle?: null | textDecorationStyle;
1201
+ textEmphasis?: null | textEmphasis;
1202
+ textEmphasisColor?: null | textEmphasisColor;
1203
+ textEmphasisPosition?: null | textEmphasisPosition;
1204
+ textEmphasisStyle?: null | textEmphasisStyle;
1205
+ textIndent?: null | textIndent;
1206
+ textOrientation?: null | textOrientation;
1207
+ textOverflow?: null | textOverflow;
1208
+ textRendering?: null | textRendering;
1209
+ textShadow?: null | OptionalArray<textShadow>;
1210
+ textSizeAdjust?: null | textSizeAdjust;
1211
+ textTransform?: null | textTransform;
1212
+ textUnderlinePosition?: null | textUnderlinePosition;
1213
+ top?: null | top;
1214
+ touchAction?: null | touchAction;
1215
+ transform?: null | transform;
1216
+ transformBox?: null | transformBox;
1217
+ transformOrigin?: null | transformOrigin;
1218
+ transformStyle?: null | transformStyle;
1219
+ transition?: null | OptionalArray<transition>;
1220
+ transitionDelay?: null | OptionalArray<transitionDelay>;
1221
+ transitionDuration?: null | OptionalArray<transitionDuration>;
1222
+ transitionProperty?: null | OptionalArray<transitionProperty>;
1223
+ transitionTimingFunction?: null | OptionalArray<transitionTimingFunction>;
1224
+ unicodeBidi?: null | unicodeBidi;
1225
+ unicodeRange?: null | unicodeRange;
1226
+ userSelect?: null | userSelect;
1227
+ verticalAlign?: null | verticalAlign;
1228
+ visibility?: null | visibility;
1229
+ voiceBalance?: null | voiceBalance;
1230
+ voiceDuration?: null | voiceDuration;
1231
+ voiceFamily?: null | voiceFamily;
1232
+ voicePitch?: null | voicePitch;
1233
+ voiceRange?: null | voiceRange;
1234
+ voiceRate?: null | voiceRate;
1235
+ voiceStress?: null | voiceStress;
1236
+ voiceVolume?: null | voiceVolume;
1237
+ whiteSpace?: null | whiteSpace;
1238
+ widows?: null | widows;
1239
+ width?: null | width;
1240
+ willChange?: null | willChange;
1241
+ wordBreak?: null | wordBreak;
1242
+ wordSpacing?: null | wordSpacing;
1243
+ wordWrap?: null | wordWrap;
1244
+ writingMode?: null | writingMode;
1245
+ zIndex?: null | zIndex;
854
1246
  }>;
855
- export type CSSProperties = Readonly</**
856
- * > 874 | ...$Exact<SupportedVendorSpecificCSSProperties>,
857
- * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unsupported feature: Translating "object types with spreads in the middle or at the end" is currently not supported.
858
- **/
859
- any>;