@webstudio-is/css-data 0.61.0 → 0.62.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__/properties.js +79 -12
- package/lib/cjs/__generated__/properties.js +79 -12
- package/lib/cjs/index.js +4 -2
- package/lib/index.js +4 -2
- package/lib/types/src/__generated__/properties.d.ts +60 -12
- package/lib/types/src/index.d.ts +3585 -1
- package/package.json +2 -1
- package/src/__generated__/properties.ts +79 -12
- package/src/index.ts +8 -1
|
@@ -256,8 +256,19 @@ const properties = {
|
|
|
256
256
|
unitGroups: ["length", "percentage"],
|
|
257
257
|
inherited: false,
|
|
258
258
|
initial: {
|
|
259
|
-
type: "
|
|
260
|
-
value:
|
|
259
|
+
type: "tuple",
|
|
260
|
+
value: [
|
|
261
|
+
{
|
|
262
|
+
type: "unit",
|
|
263
|
+
unit: "%",
|
|
264
|
+
value: 0
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
type: "unit",
|
|
268
|
+
unit: "%",
|
|
269
|
+
value: 0
|
|
270
|
+
}
|
|
271
|
+
]
|
|
261
272
|
},
|
|
262
273
|
popularity: 0.76724967,
|
|
263
274
|
appliesTo: "allElements"
|
|
@@ -1343,8 +1354,17 @@ const properties = {
|
|
|
1343
1354
|
unitGroups: [],
|
|
1344
1355
|
inherited: true,
|
|
1345
1356
|
initial: {
|
|
1346
|
-
type: "
|
|
1347
|
-
value:
|
|
1357
|
+
type: "tuple",
|
|
1358
|
+
value: [
|
|
1359
|
+
{
|
|
1360
|
+
type: "keyword",
|
|
1361
|
+
value: "weight"
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
type: "keyword",
|
|
1365
|
+
value: "style"
|
|
1366
|
+
}
|
|
1367
|
+
]
|
|
1348
1368
|
},
|
|
1349
1369
|
popularity: 686166e-8,
|
|
1350
1370
|
appliesTo: "allElements"
|
|
@@ -2238,8 +2258,19 @@ const properties = {
|
|
|
2238
2258
|
unitGroups: ["length", "percentage"],
|
|
2239
2259
|
inherited: true,
|
|
2240
2260
|
initial: {
|
|
2241
|
-
type: "
|
|
2242
|
-
value:
|
|
2261
|
+
type: "tuple",
|
|
2262
|
+
value: [
|
|
2263
|
+
{
|
|
2264
|
+
type: "unit",
|
|
2265
|
+
unit: "%",
|
|
2266
|
+
value: 50
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
type: "unit",
|
|
2270
|
+
unit: "%",
|
|
2271
|
+
value: 50
|
|
2272
|
+
}
|
|
2273
|
+
]
|
|
2243
2274
|
},
|
|
2244
2275
|
popularity: 0.08374319,
|
|
2245
2276
|
appliesTo: "replacedElements"
|
|
@@ -2642,8 +2673,19 @@ const properties = {
|
|
|
2642
2673
|
unitGroups: ["length", "percentage"],
|
|
2643
2674
|
inherited: false,
|
|
2644
2675
|
initial: {
|
|
2645
|
-
type: "
|
|
2646
|
-
value:
|
|
2676
|
+
type: "tuple",
|
|
2677
|
+
value: [
|
|
2678
|
+
{
|
|
2679
|
+
type: "unit",
|
|
2680
|
+
unit: "%",
|
|
2681
|
+
value: 50
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
type: "unit",
|
|
2685
|
+
unit: "%",
|
|
2686
|
+
value: 50
|
|
2687
|
+
}
|
|
2688
|
+
]
|
|
2647
2689
|
},
|
|
2648
2690
|
popularity: 0.03597136,
|
|
2649
2691
|
appliesTo: "transformableElements"
|
|
@@ -3174,8 +3216,17 @@ const properties = {
|
|
|
3174
3216
|
unitGroups: [],
|
|
3175
3217
|
inherited: false,
|
|
3176
3218
|
initial: {
|
|
3177
|
-
type: "
|
|
3178
|
-
value:
|
|
3219
|
+
type: "tuple",
|
|
3220
|
+
value: [
|
|
3221
|
+
{
|
|
3222
|
+
type: "keyword",
|
|
3223
|
+
value: "over"
|
|
3224
|
+
},
|
|
3225
|
+
{
|
|
3226
|
+
type: "keyword",
|
|
3227
|
+
value: "right"
|
|
3228
|
+
}
|
|
3229
|
+
]
|
|
3179
3230
|
},
|
|
3180
3231
|
popularity: 0,
|
|
3181
3232
|
appliesTo: "allElements"
|
|
@@ -3335,8 +3386,24 @@ const properties = {
|
|
|
3335
3386
|
unitGroups: ["length", "percentage"],
|
|
3336
3387
|
inherited: false,
|
|
3337
3388
|
initial: {
|
|
3338
|
-
type: "
|
|
3339
|
-
value:
|
|
3389
|
+
type: "tuple",
|
|
3390
|
+
value: [
|
|
3391
|
+
{
|
|
3392
|
+
type: "unit",
|
|
3393
|
+
unit: "%",
|
|
3394
|
+
value: 50
|
|
3395
|
+
},
|
|
3396
|
+
{
|
|
3397
|
+
type: "unit",
|
|
3398
|
+
unit: "%",
|
|
3399
|
+
value: 50
|
|
3400
|
+
},
|
|
3401
|
+
{
|
|
3402
|
+
type: "unit",
|
|
3403
|
+
unit: "px",
|
|
3404
|
+
value: 0
|
|
3405
|
+
}
|
|
3406
|
+
]
|
|
3340
3407
|
},
|
|
3341
3408
|
popularity: 0.54179205,
|
|
3342
3409
|
appliesTo: "transformableElements"
|
|
@@ -279,8 +279,19 @@ const properties = {
|
|
|
279
279
|
unitGroups: ["length", "percentage"],
|
|
280
280
|
inherited: false,
|
|
281
281
|
initial: {
|
|
282
|
-
type: "
|
|
283
|
-
value:
|
|
282
|
+
type: "tuple",
|
|
283
|
+
value: [
|
|
284
|
+
{
|
|
285
|
+
type: "unit",
|
|
286
|
+
unit: "%",
|
|
287
|
+
value: 0
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
type: "unit",
|
|
291
|
+
unit: "%",
|
|
292
|
+
value: 0
|
|
293
|
+
}
|
|
294
|
+
]
|
|
284
295
|
},
|
|
285
296
|
popularity: 0.76724967,
|
|
286
297
|
appliesTo: "allElements"
|
|
@@ -1366,8 +1377,17 @@ const properties = {
|
|
|
1366
1377
|
unitGroups: [],
|
|
1367
1378
|
inherited: true,
|
|
1368
1379
|
initial: {
|
|
1369
|
-
type: "
|
|
1370
|
-
value:
|
|
1380
|
+
type: "tuple",
|
|
1381
|
+
value: [
|
|
1382
|
+
{
|
|
1383
|
+
type: "keyword",
|
|
1384
|
+
value: "weight"
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
type: "keyword",
|
|
1388
|
+
value: "style"
|
|
1389
|
+
}
|
|
1390
|
+
]
|
|
1371
1391
|
},
|
|
1372
1392
|
popularity: 686166e-8,
|
|
1373
1393
|
appliesTo: "allElements"
|
|
@@ -2261,8 +2281,19 @@ const properties = {
|
|
|
2261
2281
|
unitGroups: ["length", "percentage"],
|
|
2262
2282
|
inherited: true,
|
|
2263
2283
|
initial: {
|
|
2264
|
-
type: "
|
|
2265
|
-
value:
|
|
2284
|
+
type: "tuple",
|
|
2285
|
+
value: [
|
|
2286
|
+
{
|
|
2287
|
+
type: "unit",
|
|
2288
|
+
unit: "%",
|
|
2289
|
+
value: 50
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
type: "unit",
|
|
2293
|
+
unit: "%",
|
|
2294
|
+
value: 50
|
|
2295
|
+
}
|
|
2296
|
+
]
|
|
2266
2297
|
},
|
|
2267
2298
|
popularity: 0.08374319,
|
|
2268
2299
|
appliesTo: "replacedElements"
|
|
@@ -2665,8 +2696,19 @@ const properties = {
|
|
|
2665
2696
|
unitGroups: ["length", "percentage"],
|
|
2666
2697
|
inherited: false,
|
|
2667
2698
|
initial: {
|
|
2668
|
-
type: "
|
|
2669
|
-
value:
|
|
2699
|
+
type: "tuple",
|
|
2700
|
+
value: [
|
|
2701
|
+
{
|
|
2702
|
+
type: "unit",
|
|
2703
|
+
unit: "%",
|
|
2704
|
+
value: 50
|
|
2705
|
+
},
|
|
2706
|
+
{
|
|
2707
|
+
type: "unit",
|
|
2708
|
+
unit: "%",
|
|
2709
|
+
value: 50
|
|
2710
|
+
}
|
|
2711
|
+
]
|
|
2670
2712
|
},
|
|
2671
2713
|
popularity: 0.03597136,
|
|
2672
2714
|
appliesTo: "transformableElements"
|
|
@@ -3197,8 +3239,17 @@ const properties = {
|
|
|
3197
3239
|
unitGroups: [],
|
|
3198
3240
|
inherited: false,
|
|
3199
3241
|
initial: {
|
|
3200
|
-
type: "
|
|
3201
|
-
value:
|
|
3242
|
+
type: "tuple",
|
|
3243
|
+
value: [
|
|
3244
|
+
{
|
|
3245
|
+
type: "keyword",
|
|
3246
|
+
value: "over"
|
|
3247
|
+
},
|
|
3248
|
+
{
|
|
3249
|
+
type: "keyword",
|
|
3250
|
+
value: "right"
|
|
3251
|
+
}
|
|
3252
|
+
]
|
|
3202
3253
|
},
|
|
3203
3254
|
popularity: 0,
|
|
3204
3255
|
appliesTo: "allElements"
|
|
@@ -3358,8 +3409,24 @@ const properties = {
|
|
|
3358
3409
|
unitGroups: ["length", "percentage"],
|
|
3359
3410
|
inherited: false,
|
|
3360
3411
|
initial: {
|
|
3361
|
-
type: "
|
|
3362
|
-
value:
|
|
3412
|
+
type: "tuple",
|
|
3413
|
+
value: [
|
|
3414
|
+
{
|
|
3415
|
+
type: "unit",
|
|
3416
|
+
unit: "%",
|
|
3417
|
+
value: 50
|
|
3418
|
+
},
|
|
3419
|
+
{
|
|
3420
|
+
type: "unit",
|
|
3421
|
+
unit: "%",
|
|
3422
|
+
value: 50
|
|
3423
|
+
},
|
|
3424
|
+
{
|
|
3425
|
+
type: "unit",
|
|
3426
|
+
unit: "px",
|
|
3427
|
+
value: 0
|
|
3428
|
+
}
|
|
3429
|
+
]
|
|
3363
3430
|
},
|
|
3364
3431
|
popularity: 0.54179205,
|
|
3365
3432
|
appliesTo: "transformableElements"
|
package/lib/cjs/index.js
CHANGED
|
@@ -29,12 +29,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
29
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
30
|
var src_exports = {};
|
|
31
31
|
__export(src_exports, {
|
|
32
|
-
html: () => html
|
|
32
|
+
html: () => html,
|
|
33
|
+
properties: () => properties
|
|
33
34
|
});
|
|
34
35
|
module.exports = __toCommonJS(src_exports);
|
|
35
36
|
var exportedHtml = __toESM(require("./html"), 1);
|
|
36
37
|
__reExport(src_exports, require("./__generated__/keyword-values"), module.exports);
|
|
37
|
-
__reExport(src_exports, require("./__generated__/properties"), module.exports);
|
|
38
38
|
__reExport(src_exports, require("./__generated__/units"), module.exports);
|
|
39
39
|
__reExport(src_exports, require("./schema"), module.exports);
|
|
40
|
+
var import_properties = require("./__generated__/properties");
|
|
40
41
|
const html = exportedHtml;
|
|
42
|
+
const properties = import_properties.properties;
|
package/lib/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as exportedHtml from "./html";
|
|
2
2
|
const html = exportedHtml;
|
|
3
3
|
export * from "./__generated__/keyword-values";
|
|
4
|
-
export * from "./__generated__/properties";
|
|
5
4
|
export * from "./__generated__/units";
|
|
6
5
|
export * from "./schema";
|
|
6
|
+
import { properties as generatedProperties } from "./__generated__/properties";
|
|
7
|
+
const properties = generatedProperties;
|
|
7
8
|
export {
|
|
8
|
-
html
|
|
9
|
+
html,
|
|
10
|
+
properties
|
|
9
11
|
};
|
|
@@ -256,8 +256,16 @@ export declare const properties: {
|
|
|
256
256
|
readonly unitGroups: readonly ["length", "percentage"];
|
|
257
257
|
readonly inherited: false;
|
|
258
258
|
readonly initial: {
|
|
259
|
-
readonly type: "
|
|
260
|
-
readonly value:
|
|
259
|
+
readonly type: "tuple";
|
|
260
|
+
readonly value: readonly [{
|
|
261
|
+
readonly type: "unit";
|
|
262
|
+
readonly unit: "%";
|
|
263
|
+
readonly value: 0;
|
|
264
|
+
}, {
|
|
265
|
+
readonly type: "unit";
|
|
266
|
+
readonly unit: "%";
|
|
267
|
+
readonly value: 0;
|
|
268
|
+
}];
|
|
261
269
|
};
|
|
262
270
|
readonly popularity: 0.76724967;
|
|
263
271
|
readonly appliesTo: "allElements";
|
|
@@ -1343,8 +1351,14 @@ export declare const properties: {
|
|
|
1343
1351
|
readonly unitGroups: readonly [];
|
|
1344
1352
|
readonly inherited: true;
|
|
1345
1353
|
readonly initial: {
|
|
1346
|
-
readonly type: "
|
|
1347
|
-
readonly value:
|
|
1354
|
+
readonly type: "tuple";
|
|
1355
|
+
readonly value: readonly [{
|
|
1356
|
+
readonly type: "keyword";
|
|
1357
|
+
readonly value: "weight";
|
|
1358
|
+
}, {
|
|
1359
|
+
readonly type: "keyword";
|
|
1360
|
+
readonly value: "style";
|
|
1361
|
+
}];
|
|
1348
1362
|
};
|
|
1349
1363
|
readonly popularity: 0.00686166;
|
|
1350
1364
|
readonly appliesTo: "allElements";
|
|
@@ -2238,8 +2252,16 @@ export declare const properties: {
|
|
|
2238
2252
|
readonly unitGroups: readonly ["length", "percentage"];
|
|
2239
2253
|
readonly inherited: true;
|
|
2240
2254
|
readonly initial: {
|
|
2241
|
-
readonly type: "
|
|
2242
|
-
readonly value:
|
|
2255
|
+
readonly type: "tuple";
|
|
2256
|
+
readonly value: readonly [{
|
|
2257
|
+
readonly type: "unit";
|
|
2258
|
+
readonly unit: "%";
|
|
2259
|
+
readonly value: 50;
|
|
2260
|
+
}, {
|
|
2261
|
+
readonly type: "unit";
|
|
2262
|
+
readonly unit: "%";
|
|
2263
|
+
readonly value: 50;
|
|
2264
|
+
}];
|
|
2243
2265
|
};
|
|
2244
2266
|
readonly popularity: 0.08374319;
|
|
2245
2267
|
readonly appliesTo: "replacedElements";
|
|
@@ -2642,8 +2664,16 @@ export declare const properties: {
|
|
|
2642
2664
|
readonly unitGroups: readonly ["length", "percentage"];
|
|
2643
2665
|
readonly inherited: false;
|
|
2644
2666
|
readonly initial: {
|
|
2645
|
-
readonly type: "
|
|
2646
|
-
readonly value:
|
|
2667
|
+
readonly type: "tuple";
|
|
2668
|
+
readonly value: readonly [{
|
|
2669
|
+
readonly type: "unit";
|
|
2670
|
+
readonly unit: "%";
|
|
2671
|
+
readonly value: 50;
|
|
2672
|
+
}, {
|
|
2673
|
+
readonly type: "unit";
|
|
2674
|
+
readonly unit: "%";
|
|
2675
|
+
readonly value: 50;
|
|
2676
|
+
}];
|
|
2647
2677
|
};
|
|
2648
2678
|
readonly popularity: 0.03597136;
|
|
2649
2679
|
readonly appliesTo: "transformableElements";
|
|
@@ -3174,8 +3204,14 @@ export declare const properties: {
|
|
|
3174
3204
|
readonly unitGroups: readonly [];
|
|
3175
3205
|
readonly inherited: false;
|
|
3176
3206
|
readonly initial: {
|
|
3177
|
-
readonly type: "
|
|
3178
|
-
readonly value:
|
|
3207
|
+
readonly type: "tuple";
|
|
3208
|
+
readonly value: readonly [{
|
|
3209
|
+
readonly type: "keyword";
|
|
3210
|
+
readonly value: "over";
|
|
3211
|
+
}, {
|
|
3212
|
+
readonly type: "keyword";
|
|
3213
|
+
readonly value: "right";
|
|
3214
|
+
}];
|
|
3179
3215
|
};
|
|
3180
3216
|
readonly popularity: 0;
|
|
3181
3217
|
readonly appliesTo: "allElements";
|
|
@@ -3335,8 +3371,20 @@ export declare const properties: {
|
|
|
3335
3371
|
readonly unitGroups: readonly ["length", "percentage"];
|
|
3336
3372
|
readonly inherited: false;
|
|
3337
3373
|
readonly initial: {
|
|
3338
|
-
readonly type: "
|
|
3339
|
-
readonly value:
|
|
3374
|
+
readonly type: "tuple";
|
|
3375
|
+
readonly value: readonly [{
|
|
3376
|
+
readonly type: "unit";
|
|
3377
|
+
readonly unit: "%";
|
|
3378
|
+
readonly value: 50;
|
|
3379
|
+
}, {
|
|
3380
|
+
readonly type: "unit";
|
|
3381
|
+
readonly unit: "%";
|
|
3382
|
+
readonly value: 50;
|
|
3383
|
+
}, {
|
|
3384
|
+
readonly type: "unit";
|
|
3385
|
+
readonly unit: "px";
|
|
3386
|
+
readonly value: 0;
|
|
3387
|
+
}];
|
|
3340
3388
|
};
|
|
3341
3389
|
readonly popularity: 0.54179205;
|
|
3342
3390
|
readonly appliesTo: "transformableElements";
|