@webstudio-is/css-data 0.60.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__/keyword-values.js +2 -2
- package/lib/__generated__/properties.js +93 -26
- package/lib/cjs/__generated__/keyword-values.js +2 -2
- package/lib/cjs/__generated__/properties.js +93 -26
- package/lib/cjs/html-check.js +2 -0
- package/lib/cjs/html.js +521 -0
- package/lib/cjs/index.js +22 -1
- package/lib/html-check.js +1 -0
- package/lib/html.js +501 -0
- package/lib/index.js +8 -1
- package/lib/types/src/__generated__/keyword-values.d.ts +1 -1
- package/lib/types/src/__generated__/properties.d.ts +74 -26
- package/lib/types/src/html-check.d.ts +1 -0
- package/lib/types/src/html.d.ts +53 -0
- package/lib/types/src/index.d.ts +3587 -1
- package/lib/types/src/schema.d.ts +124 -124
- package/package.json +4 -2
- package/src/__generated__/keyword-values.ts +2 -2
- package/src/__generated__/properties.ts +93 -26
- package/src/html-check.ts +8 -0
- package/src/html.ts +545 -0
- package/src/index.ts +12 -1
package/lib/cjs/html.js
ADDED
|
@@ -0,0 +1,521 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var html_exports = {};
|
|
20
|
+
__export(html_exports, {
|
|
21
|
+
address: () => address,
|
|
22
|
+
article: () => article,
|
|
23
|
+
aside: () => article,
|
|
24
|
+
b: () => b,
|
|
25
|
+
blockquote: () => blockquote,
|
|
26
|
+
body: () => body,
|
|
27
|
+
caption: () => caption,
|
|
28
|
+
cite: () => i,
|
|
29
|
+
code: () => code,
|
|
30
|
+
col: () => col,
|
|
31
|
+
colgroup: () => colgroup,
|
|
32
|
+
dd: () => dd,
|
|
33
|
+
del: () => s,
|
|
34
|
+
details: () => article,
|
|
35
|
+
dfn: () => i,
|
|
36
|
+
div: () => article,
|
|
37
|
+
dl: () => p,
|
|
38
|
+
dt: () => article,
|
|
39
|
+
em: () => i,
|
|
40
|
+
figcaption: () => article,
|
|
41
|
+
figure: () => blockquote,
|
|
42
|
+
footer: () => article,
|
|
43
|
+
form: () => article,
|
|
44
|
+
h1: () => h1,
|
|
45
|
+
h2: () => h2,
|
|
46
|
+
h3: () => h3,
|
|
47
|
+
h4: () => h4,
|
|
48
|
+
h5: () => h5,
|
|
49
|
+
h6: () => h6,
|
|
50
|
+
header: () => article,
|
|
51
|
+
hgroup: () => article,
|
|
52
|
+
hr: () => hr,
|
|
53
|
+
html: () => article,
|
|
54
|
+
i: () => i,
|
|
55
|
+
ins: () => u,
|
|
56
|
+
kbd: () => code,
|
|
57
|
+
li: () => li,
|
|
58
|
+
main: () => article,
|
|
59
|
+
mark: () => mark,
|
|
60
|
+
nav: () => article,
|
|
61
|
+
ol: () => ol,
|
|
62
|
+
p: () => p,
|
|
63
|
+
pre: () => pre,
|
|
64
|
+
s: () => s,
|
|
65
|
+
samp: () => code,
|
|
66
|
+
section: () => article,
|
|
67
|
+
strong: () => b,
|
|
68
|
+
sub: () => sub,
|
|
69
|
+
summary: () => article,
|
|
70
|
+
sup: () => sup,
|
|
71
|
+
table: () => table,
|
|
72
|
+
tbody: () => tbody,
|
|
73
|
+
td: () => td,
|
|
74
|
+
tfoot: () => tfoot,
|
|
75
|
+
th: () => th,
|
|
76
|
+
thead: () => thead,
|
|
77
|
+
tr: () => tr,
|
|
78
|
+
u: () => u,
|
|
79
|
+
ul: () => ul,
|
|
80
|
+
var: () => i
|
|
81
|
+
});
|
|
82
|
+
module.exports = __toCommonJS(html_exports);
|
|
83
|
+
const displayBlock = {
|
|
84
|
+
property: "display",
|
|
85
|
+
value: { type: "keyword", value: "block" }
|
|
86
|
+
};
|
|
87
|
+
const mt1em = {
|
|
88
|
+
property: "marginTop",
|
|
89
|
+
value: { type: "unit", value: 1, unit: "em" }
|
|
90
|
+
};
|
|
91
|
+
const mb1em = {
|
|
92
|
+
property: "marginBottom",
|
|
93
|
+
value: { type: "unit", value: 1, unit: "em" }
|
|
94
|
+
};
|
|
95
|
+
const ml40px = {
|
|
96
|
+
property: "marginLeft",
|
|
97
|
+
value: { type: "unit", value: 40, unit: "px" }
|
|
98
|
+
};
|
|
99
|
+
const mr40px = {
|
|
100
|
+
property: "marginRight",
|
|
101
|
+
value: { type: "unit", value: 40, unit: "px" }
|
|
102
|
+
};
|
|
103
|
+
const pl40px = {
|
|
104
|
+
property: "paddingLeft",
|
|
105
|
+
value: { type: "unit", value: 40, unit: "px" }
|
|
106
|
+
};
|
|
107
|
+
const fontWeightBold = {
|
|
108
|
+
property: "fontWeight",
|
|
109
|
+
// in browsers defined as bold
|
|
110
|
+
// though builder accepts only numeric values
|
|
111
|
+
value: { type: "keyword", value: "700" }
|
|
112
|
+
};
|
|
113
|
+
const fontStyleItalic = {
|
|
114
|
+
property: "fontStyle",
|
|
115
|
+
value: { type: "keyword", value: "italic" }
|
|
116
|
+
};
|
|
117
|
+
const pt1px = {
|
|
118
|
+
property: "paddingTop",
|
|
119
|
+
value: { type: "unit", value: 1, unit: "px" }
|
|
120
|
+
};
|
|
121
|
+
const pr1px = {
|
|
122
|
+
property: "paddingRight",
|
|
123
|
+
value: { type: "unit", value: 1, unit: "px" }
|
|
124
|
+
};
|
|
125
|
+
const pb1px = {
|
|
126
|
+
property: "paddingBottom",
|
|
127
|
+
value: { type: "unit", value: 1, unit: "px" }
|
|
128
|
+
};
|
|
129
|
+
const pl1px = {
|
|
130
|
+
property: "paddingLeft",
|
|
131
|
+
value: { type: "unit", value: 1, unit: "px" }
|
|
132
|
+
};
|
|
133
|
+
const article = [displayBlock];
|
|
134
|
+
const body = [
|
|
135
|
+
displayBlock,
|
|
136
|
+
{
|
|
137
|
+
property: "marginTop",
|
|
138
|
+
value: { type: "unit", value: 8, unit: "px" }
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
property: "marginRight",
|
|
142
|
+
value: { type: "unit", value: 8, unit: "px" }
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
property: "marginBottom",
|
|
146
|
+
value: { type: "unit", value: 8, unit: "px" }
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
property: "marginLeft",
|
|
150
|
+
value: { type: "unit", value: 8, unit: "px" }
|
|
151
|
+
}
|
|
152
|
+
];
|
|
153
|
+
const p = [displayBlock, mt1em, mb1em];
|
|
154
|
+
const dd = [displayBlock, ml40px];
|
|
155
|
+
const blockquote = [displayBlock, mt1em, mb1em, ml40px, mr40px];
|
|
156
|
+
const address = [displayBlock, fontStyleItalic];
|
|
157
|
+
const h1 = [
|
|
158
|
+
displayBlock,
|
|
159
|
+
fontWeightBold,
|
|
160
|
+
{
|
|
161
|
+
property: "fontSize",
|
|
162
|
+
value: { type: "unit", value: 2, unit: "em" }
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
property: "marginTop",
|
|
166
|
+
value: { type: "unit", value: 0.67, unit: "em" }
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
property: "marginBottom",
|
|
170
|
+
value: { type: "unit", value: 0.67, unit: "em" }
|
|
171
|
+
}
|
|
172
|
+
];
|
|
173
|
+
const h2 = [
|
|
174
|
+
displayBlock,
|
|
175
|
+
fontWeightBold,
|
|
176
|
+
{
|
|
177
|
+
property: "fontSize",
|
|
178
|
+
value: { type: "unit", value: 1.5, unit: "em" }
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
property: "marginTop",
|
|
182
|
+
value: { type: "unit", value: 0.83, unit: "em" }
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
property: "marginBottom",
|
|
186
|
+
value: { type: "unit", value: 0.83, unit: "em" }
|
|
187
|
+
}
|
|
188
|
+
];
|
|
189
|
+
const h3 = [
|
|
190
|
+
displayBlock,
|
|
191
|
+
fontWeightBold,
|
|
192
|
+
{
|
|
193
|
+
property: "fontSize",
|
|
194
|
+
value: { type: "unit", value: 1.17, unit: "em" }
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
property: "marginTop",
|
|
198
|
+
value: { type: "unit", value: 1, unit: "em" }
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
property: "marginBottom",
|
|
202
|
+
value: { type: "unit", value: 1, unit: "em" }
|
|
203
|
+
}
|
|
204
|
+
];
|
|
205
|
+
const h4 = [
|
|
206
|
+
displayBlock,
|
|
207
|
+
fontWeightBold,
|
|
208
|
+
{
|
|
209
|
+
property: "marginTop",
|
|
210
|
+
value: { type: "unit", value: 1.33, unit: "em" }
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
property: "marginBottom",
|
|
214
|
+
value: { type: "unit", value: 1.33, unit: "em" }
|
|
215
|
+
}
|
|
216
|
+
];
|
|
217
|
+
const h5 = [
|
|
218
|
+
displayBlock,
|
|
219
|
+
fontWeightBold,
|
|
220
|
+
{
|
|
221
|
+
property: "fontSize",
|
|
222
|
+
value: { type: "unit", value: 0.83, unit: "em" }
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
property: "marginTop",
|
|
226
|
+
value: { type: "unit", value: 1.67, unit: "em" }
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
property: "marginBottom",
|
|
230
|
+
value: { type: "unit", value: 1.67, unit: "em" }
|
|
231
|
+
}
|
|
232
|
+
];
|
|
233
|
+
const h6 = [
|
|
234
|
+
displayBlock,
|
|
235
|
+
fontWeightBold,
|
|
236
|
+
{
|
|
237
|
+
property: "fontSize",
|
|
238
|
+
value: { type: "unit", value: 0.67, unit: "em" }
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
property: "marginTop",
|
|
242
|
+
value: { type: "unit", value: 2.33, unit: "em" }
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
property: "marginBottom",
|
|
246
|
+
value: { type: "unit", value: 2.33, unit: "em" }
|
|
247
|
+
}
|
|
248
|
+
];
|
|
249
|
+
const pre = [
|
|
250
|
+
displayBlock,
|
|
251
|
+
{
|
|
252
|
+
property: "whiteSpace",
|
|
253
|
+
value: { type: "keyword", value: "pre" }
|
|
254
|
+
},
|
|
255
|
+
mt1em,
|
|
256
|
+
mb1em
|
|
257
|
+
];
|
|
258
|
+
const table = [
|
|
259
|
+
{
|
|
260
|
+
property: "display",
|
|
261
|
+
value: { type: "keyword", value: "table" }
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
property: "borderSpacing",
|
|
265
|
+
value: { type: "unit", value: 2, unit: "px" }
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
property: "borderCollapse",
|
|
269
|
+
value: { type: "keyword", value: "separate" }
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
property: "boxSizing",
|
|
273
|
+
value: { type: "keyword", value: "border-box" }
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
property: "borderSpacing",
|
|
277
|
+
value: { type: "unit", value: 0, unit: "number" }
|
|
278
|
+
}
|
|
279
|
+
];
|
|
280
|
+
const caption = [
|
|
281
|
+
{
|
|
282
|
+
property: "display",
|
|
283
|
+
value: { type: "keyword", value: "table" }
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
property: "textAlign",
|
|
287
|
+
value: { type: "keyword", value: "center" }
|
|
288
|
+
}
|
|
289
|
+
];
|
|
290
|
+
const tr = [
|
|
291
|
+
{
|
|
292
|
+
property: "display",
|
|
293
|
+
value: { type: "keyword", value: "table-row" }
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
property: "verticalAlign",
|
|
297
|
+
value: { type: "keyword", value: "inherit" }
|
|
298
|
+
}
|
|
299
|
+
];
|
|
300
|
+
const col = [
|
|
301
|
+
{
|
|
302
|
+
property: "display",
|
|
303
|
+
value: { type: "keyword", value: "table-column" }
|
|
304
|
+
}
|
|
305
|
+
];
|
|
306
|
+
const colgroup = [
|
|
307
|
+
{
|
|
308
|
+
property: "display",
|
|
309
|
+
value: { type: "keyword", value: "table-column-group" }
|
|
310
|
+
}
|
|
311
|
+
];
|
|
312
|
+
const tbody = [
|
|
313
|
+
{
|
|
314
|
+
property: "display",
|
|
315
|
+
value: { type: "keyword", value: "table-row-group" }
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
property: "verticalAlign",
|
|
319
|
+
value: { type: "keyword", value: "middle" }
|
|
320
|
+
}
|
|
321
|
+
];
|
|
322
|
+
const thead = [
|
|
323
|
+
{
|
|
324
|
+
property: "display",
|
|
325
|
+
value: { type: "keyword", value: "table-header-group" }
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
property: "verticalAlign",
|
|
329
|
+
value: { type: "keyword", value: "middle" }
|
|
330
|
+
}
|
|
331
|
+
];
|
|
332
|
+
const tfoot = [
|
|
333
|
+
{
|
|
334
|
+
property: "display",
|
|
335
|
+
value: { type: "keyword", value: "table-footer-group" }
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
property: "verticalAlign",
|
|
339
|
+
value: { type: "keyword", value: "middle" }
|
|
340
|
+
}
|
|
341
|
+
];
|
|
342
|
+
const td = [
|
|
343
|
+
{
|
|
344
|
+
property: "display",
|
|
345
|
+
value: { type: "keyword", value: "table-cell" }
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
property: "verticalAlign",
|
|
349
|
+
value: { type: "keyword", value: "inherit" }
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
property: "textAlign",
|
|
353
|
+
value: { type: "keyword", value: "unset" }
|
|
354
|
+
},
|
|
355
|
+
pt1px,
|
|
356
|
+
pr1px,
|
|
357
|
+
pb1px,
|
|
358
|
+
pl1px
|
|
359
|
+
];
|
|
360
|
+
const th = [
|
|
361
|
+
{
|
|
362
|
+
property: "display",
|
|
363
|
+
value: { type: "keyword", value: "table-cell" }
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
property: "verticalAlign",
|
|
367
|
+
value: { type: "keyword", value: "inherit" }
|
|
368
|
+
},
|
|
369
|
+
fontWeightBold,
|
|
370
|
+
pt1px,
|
|
371
|
+
pr1px,
|
|
372
|
+
pb1px,
|
|
373
|
+
pl1px
|
|
374
|
+
];
|
|
375
|
+
const b = [
|
|
376
|
+
// in firefox defined as bolder
|
|
377
|
+
fontWeightBold
|
|
378
|
+
];
|
|
379
|
+
const i = [fontStyleItalic];
|
|
380
|
+
const code = [
|
|
381
|
+
{
|
|
382
|
+
property: "fontFamily",
|
|
383
|
+
// in firefox defined as -moz-fixed
|
|
384
|
+
value: { type: "fontFamily", value: ["monospace"] }
|
|
385
|
+
}
|
|
386
|
+
];
|
|
387
|
+
const mark = [
|
|
388
|
+
{
|
|
389
|
+
property: "backgroundColor",
|
|
390
|
+
// in firefox defined as Mark
|
|
391
|
+
value: { type: "keyword", value: "yellow" }
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
property: "color",
|
|
395
|
+
// in firefox defined as MarkText
|
|
396
|
+
value: { type: "keyword", value: "black" }
|
|
397
|
+
}
|
|
398
|
+
];
|
|
399
|
+
const u = [
|
|
400
|
+
{
|
|
401
|
+
property: "textDecorationStyle",
|
|
402
|
+
value: { type: "keyword", value: "underline" }
|
|
403
|
+
}
|
|
404
|
+
];
|
|
405
|
+
const s = [
|
|
406
|
+
{
|
|
407
|
+
property: "textDecorationStyle",
|
|
408
|
+
value: { type: "keyword", value: "line-through" }
|
|
409
|
+
}
|
|
410
|
+
];
|
|
411
|
+
const sub = [
|
|
412
|
+
{
|
|
413
|
+
property: "verticalAlign",
|
|
414
|
+
value: { type: "keyword", value: "sub" }
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
property: "fontSize",
|
|
418
|
+
value: { type: "keyword", value: "smaller" }
|
|
419
|
+
}
|
|
420
|
+
];
|
|
421
|
+
const sup = [
|
|
422
|
+
{
|
|
423
|
+
property: "verticalAlign",
|
|
424
|
+
value: { type: "keyword", value: "super" }
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
property: "fontSize",
|
|
428
|
+
value: { type: "keyword", value: "smaller" }
|
|
429
|
+
}
|
|
430
|
+
];
|
|
431
|
+
const ul = [
|
|
432
|
+
displayBlock,
|
|
433
|
+
{
|
|
434
|
+
property: "listStyleType",
|
|
435
|
+
value: { type: "keyword", value: "disc" }
|
|
436
|
+
},
|
|
437
|
+
mt1em,
|
|
438
|
+
mb1em,
|
|
439
|
+
pl40px
|
|
440
|
+
];
|
|
441
|
+
const ol = [
|
|
442
|
+
displayBlock,
|
|
443
|
+
{
|
|
444
|
+
property: "listStyleType",
|
|
445
|
+
value: { type: "keyword", value: "decimal" }
|
|
446
|
+
},
|
|
447
|
+
mt1em,
|
|
448
|
+
mb1em,
|
|
449
|
+
pl40px
|
|
450
|
+
];
|
|
451
|
+
const li = [
|
|
452
|
+
{
|
|
453
|
+
property: "display",
|
|
454
|
+
value: { type: "keyword", value: "list-item" }
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
property: "textAlign",
|
|
458
|
+
value: { type: "keyword", value: "match-parent" }
|
|
459
|
+
}
|
|
460
|
+
];
|
|
461
|
+
const hr = [
|
|
462
|
+
{
|
|
463
|
+
property: "color",
|
|
464
|
+
value: { type: "keyword", value: "gray" }
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
property: "borderTopWidth",
|
|
468
|
+
value: { type: "unit", value: 1, unit: "px" }
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
property: "borderRightWidth",
|
|
472
|
+
value: { type: "unit", value: 1, unit: "px" }
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
property: "borderBottomWidth",
|
|
476
|
+
value: { type: "unit", value: 1, unit: "px" }
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
property: "borderLeftWidth",
|
|
480
|
+
value: { type: "unit", value: 1, unit: "px" }
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
property: "borderTopStyle",
|
|
484
|
+
value: { type: "keyword", value: "inset" }
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
property: "borderRightStyle",
|
|
488
|
+
value: { type: "keyword", value: "inset" }
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
property: "borderBottomStyle",
|
|
492
|
+
value: { type: "keyword", value: "inset" }
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
property: "borderLeftStyle",
|
|
496
|
+
value: { type: "keyword", value: "inset" }
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
property: "marginTop",
|
|
500
|
+
value: { type: "unit", value: 0.5, unit: "em" }
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
property: "marginBottom",
|
|
504
|
+
value: { type: "unit", value: 0.5, unit: "em" }
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
property: "marginLeft",
|
|
508
|
+
value: { type: "keyword", value: "auto" }
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
property: "marginRight",
|
|
512
|
+
value: { type: "keyword", value: "auto" }
|
|
513
|
+
},
|
|
514
|
+
// firefox only
|
|
515
|
+
{
|
|
516
|
+
property: "overflow",
|
|
517
|
+
value: { type: "keyword", value: "hidden" }
|
|
518
|
+
},
|
|
519
|
+
/* This is not really per spec but all browsers define it */
|
|
520
|
+
displayBlock
|
|
521
|
+
];
|
package/lib/cjs/index.js
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
5
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
6
12
|
var __copyProps = (to, from, except, desc) => {
|
|
7
13
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
14
|
for (let key of __getOwnPropNames(from))
|
|
@@ -12,10 +18,25 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
12
18
|
return to;
|
|
13
19
|
};
|
|
14
20
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
21
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
+
mod
|
|
28
|
+
));
|
|
15
29
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
30
|
var src_exports = {};
|
|
31
|
+
__export(src_exports, {
|
|
32
|
+
html: () => html,
|
|
33
|
+
properties: () => properties
|
|
34
|
+
});
|
|
17
35
|
module.exports = __toCommonJS(src_exports);
|
|
36
|
+
var exportedHtml = __toESM(require("./html"), 1);
|
|
18
37
|
__reExport(src_exports, require("./__generated__/keyword-values"), module.exports);
|
|
19
|
-
__reExport(src_exports, require("./__generated__/properties"), module.exports);
|
|
20
38
|
__reExport(src_exports, require("./__generated__/units"), module.exports);
|
|
21
39
|
__reExport(src_exports, require("./schema"), module.exports);
|
|
40
|
+
var import_properties = require("./__generated__/properties");
|
|
41
|
+
const html = exportedHtml;
|
|
42
|
+
const properties = import_properties.properties;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
exportedTags;
|