@stylexjs/stylex 0.6.1 → 0.7.3
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/lib/StyleXCSSTypes.d.ts +2 -17
- package/lib/StyleXCSSTypes.js.flow +2 -19
- package/package.json +2 -2
package/lib/StyleXCSSTypes.d.ts
CHANGED
|
@@ -328,7 +328,8 @@ type fontStretch =
|
|
|
328
328
|
| 'semi-expanded'
|
|
329
329
|
| 'expanded'
|
|
330
330
|
| 'extra-expanded'
|
|
331
|
-
| 'ultra-expanded'
|
|
331
|
+
| 'ultra-expanded'
|
|
332
|
+
| string;
|
|
332
333
|
type fontStyle = 'normal' | 'italic' | 'oblique';
|
|
333
334
|
type fontSynthesis = 'none' | string;
|
|
334
335
|
type fontVariant = 'normal' | 'none' | string;
|
|
@@ -987,10 +988,6 @@ export type CSSProperties = Readonly<{
|
|
|
987
988
|
borderBottomWidth?: all | borderBottomWidth;
|
|
988
989
|
borderCollapse?: all | borderCollapse;
|
|
989
990
|
borderColor?: all | borderColor;
|
|
990
|
-
borderEnd?: all | border;
|
|
991
|
-
borderEndColor?: all | borderRightColor;
|
|
992
|
-
borderEndStyle?: all | borderRightStyle;
|
|
993
|
-
borderEndWidth?: all | borderRightWidth;
|
|
994
991
|
borderImage?: all | borderImage;
|
|
995
992
|
borderImageOutset?: all | borderImageOutset;
|
|
996
993
|
borderImageRepeat?: all | borderImageRepeat;
|
|
@@ -1018,10 +1015,6 @@ export type CSSProperties = Readonly<{
|
|
|
1018
1015
|
borderRightStyle?: all | borderRightStyle;
|
|
1019
1016
|
borderRightWidth?: all | borderRightWidth;
|
|
1020
1017
|
borderSpacing?: all | borderSpacing;
|
|
1021
|
-
borderStart?: all | border;
|
|
1022
|
-
borderStartColor?: all | borderLeftColor;
|
|
1023
|
-
borderStartStyle?: all | borderLeftStyle;
|
|
1024
|
-
borderStartWidth?: all | borderLeftWidth;
|
|
1025
1018
|
borderStyle?: all | borderStyle;
|
|
1026
1019
|
borderTop?: all | border;
|
|
1027
1020
|
borderTopColor?: all | color;
|
|
@@ -1200,16 +1193,12 @@ export type CSSProperties = Readonly<{
|
|
|
1200
1193
|
marginBlockEnd?: all | marginBlockEnd;
|
|
1201
1194
|
marginBlockStart?: all | marginBlockStart;
|
|
1202
1195
|
marginBottom?: all | marginBottom;
|
|
1203
|
-
marginEnd?: all | marginRight;
|
|
1204
|
-
marginHorizontal?: all | marginLeft;
|
|
1205
1196
|
marginInline?: all | marginInlineEnd;
|
|
1206
1197
|
marginInlineEnd?: all | marginInlineEnd;
|
|
1207
1198
|
marginInlineStart?: all | marginInlineStart;
|
|
1208
1199
|
marginLeft?: all | marginLeft;
|
|
1209
1200
|
marginRight?: all | marginRight;
|
|
1210
|
-
marginStart?: all | marginLeft;
|
|
1211
1201
|
marginTop?: all | marginTop;
|
|
1212
|
-
marginVertical?: all | marginTop;
|
|
1213
1202
|
marginTrim?:
|
|
1214
1203
|
| null
|
|
1215
1204
|
| 'none'
|
|
@@ -1292,13 +1281,9 @@ export type CSSProperties = Readonly<{
|
|
|
1292
1281
|
paddingInlineEnd?: all | paddingBlockEnd;
|
|
1293
1282
|
paddingInlineStart?: all | paddingBlockStart;
|
|
1294
1283
|
paddingBottom?: all | paddingBottom;
|
|
1295
|
-
paddingEnd?: all | paddingBottom;
|
|
1296
|
-
paddingHorizontal?: all | paddingLeft;
|
|
1297
1284
|
paddingLeft?: all | paddingLeft;
|
|
1298
1285
|
paddingRight?: all | paddingRight;
|
|
1299
|
-
paddingStart?: all | paddingLeft;
|
|
1300
1286
|
paddingTop?: all | paddingTop;
|
|
1301
|
-
paddingVertical?: all | paddingTop;
|
|
1302
1287
|
page?: all | string;
|
|
1303
1288
|
pageBreakAfter?: all | pageBreakAfter;
|
|
1304
1289
|
pageBreakBefore?: all | pageBreakBefore;
|
|
@@ -330,7 +330,8 @@ type fontStretch =
|
|
|
330
330
|
| 'semi-expanded'
|
|
331
331
|
| 'expanded'
|
|
332
332
|
| 'extra-expanded'
|
|
333
|
-
| 'ultra-expanded'
|
|
333
|
+
| 'ultra-expanded'
|
|
334
|
+
| string;
|
|
334
335
|
type fontStyle = 'normal' | 'italic' | 'oblique';
|
|
335
336
|
type fontSynthesis = 'none' | string;
|
|
336
337
|
type fontVariant = 'normal' | 'none' | string;
|
|
@@ -1018,10 +1019,6 @@ export type CSSProperties = $ReadOnly<{
|
|
|
1018
1019
|
borderBottomWidth?: all | borderBottomWidth,
|
|
1019
1020
|
borderCollapse?: all | borderCollapse,
|
|
1020
1021
|
borderColor?: all | borderColor,
|
|
1021
|
-
borderEnd?: all | border,
|
|
1022
|
-
borderEndColor?: all | borderRightColor,
|
|
1023
|
-
borderEndStyle?: all | borderRightStyle,
|
|
1024
|
-
borderEndWidth?: all | borderRightWidth,
|
|
1025
1022
|
borderImage?: all | borderImage,
|
|
1026
1023
|
borderImageOutset?: all | borderImageOutset,
|
|
1027
1024
|
borderImageRepeat?: all | borderImageRepeat,
|
|
@@ -1049,10 +1046,6 @@ export type CSSProperties = $ReadOnly<{
|
|
|
1049
1046
|
borderRightStyle?: all | borderRightStyle,
|
|
1050
1047
|
borderRightWidth?: all | borderRightWidth,
|
|
1051
1048
|
borderSpacing?: all | borderSpacing,
|
|
1052
|
-
borderStart?: all | border,
|
|
1053
|
-
borderStartColor?: all | borderLeftColor,
|
|
1054
|
-
borderStartStyle?: all | borderLeftStyle,
|
|
1055
|
-
borderStartWidth?: all | borderLeftWidth,
|
|
1056
1049
|
borderStyle?: all | borderStyle,
|
|
1057
1050
|
borderTop?: all | border,
|
|
1058
1051
|
borderTopColor?: all | color,
|
|
@@ -1255,18 +1248,12 @@ export type CSSProperties = $ReadOnly<{
|
|
|
1255
1248
|
marginBlockEnd?: all | marginBlockEnd,
|
|
1256
1249
|
marginBlockStart?: all | marginBlockStart,
|
|
1257
1250
|
marginBottom?: all | marginBottom,
|
|
1258
|
-
marginEnd?: all | marginRight,
|
|
1259
|
-
// @deprecated
|
|
1260
|
-
marginHorizontal?: all | marginLeft,
|
|
1261
1251
|
marginInline?: all | marginInlineEnd,
|
|
1262
1252
|
marginInlineEnd?: all | marginInlineEnd,
|
|
1263
1253
|
marginInlineStart?: all | marginInlineStart,
|
|
1264
1254
|
marginLeft?: all | marginLeft,
|
|
1265
1255
|
marginRight?: all | marginRight,
|
|
1266
|
-
marginStart?: all | marginLeft,
|
|
1267
1256
|
marginTop?: all | marginTop,
|
|
1268
|
-
// @deprecated
|
|
1269
|
-
marginVertical?: all | marginTop,
|
|
1270
1257
|
|
|
1271
1258
|
marginTrim?:
|
|
1272
1259
|
| null
|
|
@@ -1361,13 +1348,9 @@ export type CSSProperties = $ReadOnly<{
|
|
|
1361
1348
|
paddingInlineEnd?: all | paddingBlockEnd,
|
|
1362
1349
|
paddingInlineStart?: all | paddingBlockStart,
|
|
1363
1350
|
paddingBottom?: all | paddingBottom,
|
|
1364
|
-
paddingEnd?: all | paddingBottom,
|
|
1365
|
-
paddingHorizontal?: all | paddingLeft,
|
|
1366
1351
|
paddingLeft?: all | paddingLeft,
|
|
1367
1352
|
paddingRight?: all | paddingRight,
|
|
1368
|
-
paddingStart?: all | paddingLeft,
|
|
1369
1353
|
paddingTop?: all | paddingTop,
|
|
1370
|
-
paddingVertical?: all | paddingTop,
|
|
1371
1354
|
|
|
1372
1355
|
page?: all | string,
|
|
1373
1356
|
pageBreakAfter?: all | pageBreakAfter,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stylexjs/stylex",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "A library for defining styles for optimized user interfaces.",
|
|
5
5
|
"main": "./lib/stylex.js",
|
|
6
6
|
"module": "./lib/es/stylex.mjs",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"styleq": "0.1.3"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@stylexjs/scripts": "0.
|
|
48
|
+
"@stylexjs/scripts": "0.7.3",
|
|
49
49
|
"cross-env": "^7.0.3"
|
|
50
50
|
},
|
|
51
51
|
"jest": {},
|