@webstudio-is/sdk 0.235.0 → 0.236.0
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/__generated__/normalize.css.js +8 -249
- package/lib/core-templates.js +8 -249
- package/lib/index.js +8 -249
- package/lib/types/schema/animation-schema.d.ts +16001 -5201
- package/lib/types/schema/assets.d.ts +38 -38
- package/lib/types/schema/breakpoints.d.ts +8 -8
- package/lib/types/schema/component-meta.d.ts +3441 -1041
- package/lib/types/schema/instances.d.ts +8 -8
- package/lib/types/schema/pages.d.ts +88 -88
- package/lib/types/schema/prop-meta.d.ts +46 -46
- package/lib/types/schema/props.d.ts +10233 -3033
- package/lib/types/schema/resources.d.ts +10 -10
- package/lib/types/schema/styles.d.ts +1739 -419
- package/lib/types/schema/webstudio.d.ts +7928 -3368
- package/package.json +6 -6
- package/lib/types/core-templates.d.ts +0 -9
- package/lib/types/css.test.d.ts +0 -1
- package/lib/types/expression.test.d.ts +0 -1
- package/lib/types/instances-utils.test.d.ts +0 -1
- package/lib/types/page-meta-generator.test.d.ts +0 -1
- package/lib/types/page-utils.test.d.ts +0 -1
- package/lib/types/resource-loader.test.d.ts +0 -1
- package/lib/types/resources-generator.test.d.ts +0 -1
- package/lib/types/scope.test.d.ts +0 -1
- package/lib/types/url-pattern.test.d.ts +0 -1
package/lib/index.js
CHANGED
|
@@ -985,24 +985,7 @@ __export(normalize_css_exports, {
|
|
|
985
985
|
ul: () => ul
|
|
986
986
|
});
|
|
987
987
|
var div = [
|
|
988
|
-
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } }
|
|
989
|
-
{
|
|
990
|
-
property: "border-top-width",
|
|
991
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
992
|
-
},
|
|
993
|
-
{
|
|
994
|
-
property: "border-right-width",
|
|
995
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
996
|
-
},
|
|
997
|
-
{
|
|
998
|
-
property: "border-bottom-width",
|
|
999
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1000
|
-
},
|
|
1001
|
-
{
|
|
1002
|
-
property: "border-left-width",
|
|
1003
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1004
|
-
},
|
|
1005
|
-
{ property: "outline-width", value: { type: "unit", unit: "px", value: 1 } }
|
|
988
|
+
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } }
|
|
1006
989
|
];
|
|
1007
990
|
var address = div;
|
|
1008
991
|
var article = div;
|
|
@@ -1062,22 +1045,6 @@ var body = [
|
|
|
1062
1045
|
value: { type: "unit", unit: "number", value: 0 }
|
|
1063
1046
|
},
|
|
1064
1047
|
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } },
|
|
1065
|
-
{
|
|
1066
|
-
property: "border-top-width",
|
|
1067
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1068
|
-
},
|
|
1069
|
-
{
|
|
1070
|
-
property: "border-right-width",
|
|
1071
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1072
|
-
},
|
|
1073
|
-
{
|
|
1074
|
-
property: "border-bottom-width",
|
|
1075
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1076
|
-
},
|
|
1077
|
-
{
|
|
1078
|
-
property: "border-left-width",
|
|
1079
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1080
|
-
},
|
|
1081
1048
|
{
|
|
1082
1049
|
property: "-webkit-font-smoothing",
|
|
1083
1050
|
value: { type: "keyword", value: "antialiased" }
|
|
@@ -1097,23 +1064,7 @@ var b = [
|
|
|
1097
1064
|
property: "font-weight",
|
|
1098
1065
|
value: { type: "unit", unit: "number", value: 700 }
|
|
1099
1066
|
},
|
|
1100
|
-
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } }
|
|
1101
|
-
{
|
|
1102
|
-
property: "border-top-width",
|
|
1103
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1104
|
-
},
|
|
1105
|
-
{
|
|
1106
|
-
property: "border-right-width",
|
|
1107
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1108
|
-
},
|
|
1109
|
-
{
|
|
1110
|
-
property: "border-bottom-width",
|
|
1111
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1112
|
-
},
|
|
1113
|
-
{
|
|
1114
|
-
property: "border-left-width",
|
|
1115
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1116
|
-
}
|
|
1067
|
+
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } }
|
|
1117
1068
|
];
|
|
1118
1069
|
var strong = b;
|
|
1119
1070
|
var code = [
|
|
@@ -1132,46 +1083,14 @@ var code = [
|
|
|
1132
1083
|
}
|
|
1133
1084
|
},
|
|
1134
1085
|
{ property: "font-size", value: { type: "unit", unit: "em", value: 1 } },
|
|
1135
|
-
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } }
|
|
1136
|
-
{
|
|
1137
|
-
property: "border-top-width",
|
|
1138
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1139
|
-
},
|
|
1140
|
-
{
|
|
1141
|
-
property: "border-right-width",
|
|
1142
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1143
|
-
},
|
|
1144
|
-
{
|
|
1145
|
-
property: "border-bottom-width",
|
|
1146
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1147
|
-
},
|
|
1148
|
-
{
|
|
1149
|
-
property: "border-left-width",
|
|
1150
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1151
|
-
}
|
|
1086
|
+
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } }
|
|
1152
1087
|
];
|
|
1153
1088
|
var kbd = code;
|
|
1154
1089
|
var samp = code;
|
|
1155
1090
|
var pre = code;
|
|
1156
1091
|
var small = [
|
|
1157
1092
|
{ property: "font-size", value: { type: "unit", unit: "%", value: 80 } },
|
|
1158
|
-
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } }
|
|
1159
|
-
{
|
|
1160
|
-
property: "border-top-width",
|
|
1161
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
property: "border-right-width",
|
|
1165
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1166
|
-
},
|
|
1167
|
-
{
|
|
1168
|
-
property: "border-bottom-width",
|
|
1169
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1170
|
-
},
|
|
1171
|
-
{
|
|
1172
|
-
property: "border-left-width",
|
|
1173
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1174
|
-
}
|
|
1093
|
+
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } }
|
|
1175
1094
|
];
|
|
1176
1095
|
var sub = [
|
|
1177
1096
|
{ property: "font-size", value: { type: "unit", unit: "%", value: 75 } },
|
|
@@ -1182,22 +1101,6 @@ var sub = [
|
|
|
1182
1101
|
{ property: "position", value: { type: "keyword", value: "relative" } },
|
|
1183
1102
|
{ property: "vertical-align", value: { type: "keyword", value: "baseline" } },
|
|
1184
1103
|
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } },
|
|
1185
|
-
{
|
|
1186
|
-
property: "border-top-width",
|
|
1187
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1188
|
-
},
|
|
1189
|
-
{
|
|
1190
|
-
property: "border-right-width",
|
|
1191
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1192
|
-
},
|
|
1193
|
-
{
|
|
1194
|
-
property: "border-bottom-width",
|
|
1195
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
property: "border-left-width",
|
|
1199
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1200
|
-
},
|
|
1201
1104
|
{ property: "bottom", value: { type: "unit", unit: "em", value: -0.25 } }
|
|
1202
1105
|
];
|
|
1203
1106
|
var sup = [
|
|
@@ -1209,22 +1112,6 @@ var sup = [
|
|
|
1209
1112
|
{ property: "position", value: { type: "keyword", value: "relative" } },
|
|
1210
1113
|
{ property: "vertical-align", value: { type: "keyword", value: "baseline" } },
|
|
1211
1114
|
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } },
|
|
1212
|
-
{
|
|
1213
|
-
property: "border-top-width",
|
|
1214
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1215
|
-
},
|
|
1216
|
-
{
|
|
1217
|
-
property: "border-right-width",
|
|
1218
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1219
|
-
},
|
|
1220
|
-
{
|
|
1221
|
-
property: "border-bottom-width",
|
|
1222
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1223
|
-
},
|
|
1224
|
-
{
|
|
1225
|
-
property: "border-left-width",
|
|
1226
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1227
|
-
},
|
|
1228
1115
|
{ property: "top", value: { type: "unit", unit: "em", value: -0.5 } }
|
|
1229
1116
|
];
|
|
1230
1117
|
var table = [
|
|
@@ -1232,22 +1119,6 @@ var table = [
|
|
|
1232
1119
|
property: "text-indent",
|
|
1233
1120
|
value: { type: "unit", unit: "number", value: 0 }
|
|
1234
1121
|
},
|
|
1235
|
-
{
|
|
1236
|
-
property: "border-top-width",
|
|
1237
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1238
|
-
},
|
|
1239
|
-
{
|
|
1240
|
-
property: "border-right-width",
|
|
1241
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1242
|
-
},
|
|
1243
|
-
{
|
|
1244
|
-
property: "border-bottom-width",
|
|
1245
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1246
|
-
},
|
|
1247
|
-
{
|
|
1248
|
-
property: "border-left-width",
|
|
1249
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1250
|
-
},
|
|
1251
1122
|
{
|
|
1252
1123
|
property: "border-top-color",
|
|
1253
1124
|
value: { type: "keyword", value: "inherit" }
|
|
@@ -1287,22 +1158,6 @@ var input = [
|
|
|
1287
1158
|
value: { type: "unit", unit: "number", value: 0 }
|
|
1288
1159
|
},
|
|
1289
1160
|
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } },
|
|
1290
|
-
{
|
|
1291
|
-
property: "border-top-width",
|
|
1292
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1293
|
-
},
|
|
1294
|
-
{
|
|
1295
|
-
property: "border-right-width",
|
|
1296
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1297
|
-
},
|
|
1298
|
-
{
|
|
1299
|
-
property: "border-bottom-width",
|
|
1300
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1301
|
-
},
|
|
1302
|
-
{
|
|
1303
|
-
property: "border-left-width",
|
|
1304
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1305
|
-
},
|
|
1306
1161
|
{ property: "border-top-style", value: { type: "keyword", value: "solid" } },
|
|
1307
1162
|
{
|
|
1308
1163
|
property: "border-right-style",
|
|
@@ -1335,23 +1190,7 @@ var optgroup = [
|
|
|
1335
1190
|
property: "margin-left",
|
|
1336
1191
|
value: { type: "unit", unit: "number", value: 0 }
|
|
1337
1192
|
},
|
|
1338
|
-
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } }
|
|
1339
|
-
{
|
|
1340
|
-
property: "border-top-width",
|
|
1341
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1342
|
-
},
|
|
1343
|
-
{
|
|
1344
|
-
property: "border-right-width",
|
|
1345
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1346
|
-
},
|
|
1347
|
-
{
|
|
1348
|
-
property: "border-bottom-width",
|
|
1349
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1350
|
-
},
|
|
1351
|
-
{
|
|
1352
|
-
property: "border-left-width",
|
|
1353
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1354
|
-
}
|
|
1193
|
+
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } }
|
|
1355
1194
|
];
|
|
1356
1195
|
var radio = [
|
|
1357
1196
|
{ property: "font-family", value: { type: "keyword", value: "inherit" } },
|
|
@@ -1374,22 +1213,6 @@ var radio = [
|
|
|
1374
1213
|
value: { type: "unit", unit: "number", value: 0 }
|
|
1375
1214
|
},
|
|
1376
1215
|
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } },
|
|
1377
|
-
{
|
|
1378
|
-
property: "border-top-width",
|
|
1379
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1380
|
-
},
|
|
1381
|
-
{
|
|
1382
|
-
property: "border-right-width",
|
|
1383
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1384
|
-
},
|
|
1385
|
-
{
|
|
1386
|
-
property: "border-bottom-width",
|
|
1387
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1388
|
-
},
|
|
1389
|
-
{
|
|
1390
|
-
property: "border-left-width",
|
|
1391
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1392
|
-
},
|
|
1393
1216
|
{ property: "border-top-style", value: { type: "keyword", value: "none" } },
|
|
1394
1217
|
{ property: "border-right-style", value: { type: "keyword", value: "none" } },
|
|
1395
1218
|
{
|
|
@@ -1420,22 +1243,6 @@ var button = [
|
|
|
1420
1243
|
value: { type: "unit", unit: "number", value: 0 }
|
|
1421
1244
|
},
|
|
1422
1245
|
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } },
|
|
1423
|
-
{
|
|
1424
|
-
property: "border-top-width",
|
|
1425
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1426
|
-
},
|
|
1427
|
-
{
|
|
1428
|
-
property: "border-right-width",
|
|
1429
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1430
|
-
},
|
|
1431
|
-
{
|
|
1432
|
-
property: "border-bottom-width",
|
|
1433
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1434
|
-
},
|
|
1435
|
-
{
|
|
1436
|
-
property: "border-left-width",
|
|
1437
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1438
|
-
},
|
|
1439
1246
|
{ property: "border-top-style", value: { type: "keyword", value: "solid" } },
|
|
1440
1247
|
{
|
|
1441
1248
|
property: "border-right-style",
|
|
@@ -1466,63 +1273,15 @@ var legend = [
|
|
|
1466
1273
|
property: "padding-left",
|
|
1467
1274
|
value: { type: "unit", unit: "number", value: 0 }
|
|
1468
1275
|
},
|
|
1469
|
-
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } }
|
|
1470
|
-
{
|
|
1471
|
-
property: "border-top-width",
|
|
1472
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1473
|
-
},
|
|
1474
|
-
{
|
|
1475
|
-
property: "border-right-width",
|
|
1476
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1477
|
-
},
|
|
1478
|
-
{
|
|
1479
|
-
property: "border-bottom-width",
|
|
1480
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1481
|
-
},
|
|
1482
|
-
{
|
|
1483
|
-
property: "border-left-width",
|
|
1484
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1485
|
-
}
|
|
1276
|
+
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } }
|
|
1486
1277
|
];
|
|
1487
1278
|
var progress = [
|
|
1488
1279
|
{ property: "vertical-align", value: { type: "keyword", value: "baseline" } },
|
|
1489
|
-
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } }
|
|
1490
|
-
{
|
|
1491
|
-
property: "border-top-width",
|
|
1492
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1493
|
-
},
|
|
1494
|
-
{
|
|
1495
|
-
property: "border-right-width",
|
|
1496
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1497
|
-
},
|
|
1498
|
-
{
|
|
1499
|
-
property: "border-bottom-width",
|
|
1500
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1501
|
-
},
|
|
1502
|
-
{
|
|
1503
|
-
property: "border-left-width",
|
|
1504
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1505
|
-
}
|
|
1280
|
+
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } }
|
|
1506
1281
|
];
|
|
1507
1282
|
var summary = [
|
|
1508
1283
|
{ property: "display", value: { type: "keyword", value: "list-item" } },
|
|
1509
|
-
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } }
|
|
1510
|
-
{
|
|
1511
|
-
property: "border-top-width",
|
|
1512
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1513
|
-
},
|
|
1514
|
-
{
|
|
1515
|
-
property: "border-right-width",
|
|
1516
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1517
|
-
},
|
|
1518
|
-
{
|
|
1519
|
-
property: "border-bottom-width",
|
|
1520
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1521
|
-
},
|
|
1522
|
-
{
|
|
1523
|
-
property: "border-left-width",
|
|
1524
|
-
value: { type: "unit", unit: "px", value: 1 }
|
|
1525
|
-
}
|
|
1284
|
+
{ property: "box-sizing", value: { type: "keyword", value: "border-box" } }
|
|
1526
1285
|
];
|
|
1527
1286
|
|
|
1528
1287
|
// src/runtime.ts
|