@webstudio-is/css-data 0.90.0 → 0.266.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.
Files changed (95) hide show
  1. package/lib/index.js +17534 -15
  2. package/lib/types/__generated__/animatable-properties.d.ts +1 -0
  3. package/lib/types/__generated__/html.d.ts +2 -0
  4. package/lib/types/__generated__/keyword-values.d.ts +4 -358
  5. package/lib/types/__generated__/properties.d.ts +10 -3674
  6. package/lib/types/__generated__/property-value-descriptions.d.ts +7 -5446
  7. package/lib/types/__generated__/pseudo-classes.d.ts +1 -0
  8. package/lib/types/__generated__/pseudo-elements.d.ts +1 -0
  9. package/lib/types/__generated__/pseudo-selector-descriptions.d.ts +2 -0
  10. package/lib/types/__generated__/shorthand-properties.d.ts +1 -0
  11. package/lib/types/css-tree.d.ts +772 -0
  12. package/lib/types/index.d.ts +18 -3680
  13. package/lib/types/media-condition-simulator.d.ts +7 -0
  14. package/lib/types/parse-css-value.d.ts +8 -3
  15. package/lib/types/parse-css.d.ts +75 -6
  16. package/lib/types/property-parsers/conic-gradient.d.ts +3 -0
  17. package/lib/types/property-parsers/gradient-utils.d.ts +20 -0
  18. package/lib/types/property-parsers/grid-template-areas.d.ts +21 -0
  19. package/lib/types/property-parsers/grid-template-tracks.d.ts +128 -0
  20. package/lib/types/property-parsers/index.d.ts +6 -2
  21. package/lib/types/property-parsers/linear-gradient.d.ts +4 -0
  22. package/lib/types/property-parsers/radial-gradient.d.ts +3 -0
  23. package/lib/types/property-parsers/types.d.ts +28 -0
  24. package/lib/types/selector-validation.d.ts +13 -0
  25. package/lib/types/shorthands.d.ts +2 -0
  26. package/package.json +29 -33
  27. package/lib/__generated__/keyword-values.js +0 -5255
  28. package/lib/__generated__/properties.js +0 -3697
  29. package/lib/__generated__/property-value-descriptions.js +0 -2740
  30. package/lib/__generated__/units.js +0 -65
  31. package/lib/cjs/__generated__/keyword-values.js +0 -5275
  32. package/lib/cjs/__generated__/properties.js +0 -3717
  33. package/lib/cjs/__generated__/property-value-descriptions.js +0 -2760
  34. package/lib/cjs/__generated__/units.js +0 -85
  35. package/lib/cjs/custom-data.js +0 -64
  36. package/lib/cjs/html-check.js +0 -25
  37. package/lib/cjs/html.js +0 -581
  38. package/lib/cjs/index.js +0 -48
  39. package/lib/cjs/package.json +0 -1
  40. package/lib/cjs/parse-css-value.js +0 -152
  41. package/lib/cjs/parse-css.js +0 -136
  42. package/lib/cjs/popularity-index.js +0 -4633
  43. package/lib/cjs/property-parsers/background.js +0 -119
  44. package/lib/cjs/property-parsers/box-shadow.js +0 -129
  45. package/lib/cjs/property-parsers/index.js +0 -19
  46. package/lib/cjs/property-parsers/parsers.js +0 -26
  47. package/lib/cjs/property-parsers/to-longhand.js +0 -24
  48. package/lib/cjs/schema.js +0 -135
  49. package/lib/custom-data.js +0 -44
  50. package/lib/html-check.js +0 -2
  51. package/lib/html.js +0 -561
  52. package/lib/parse-css-value.js +0 -122
  53. package/lib/parse-css.js +0 -106
  54. package/lib/popularity-index.js +0 -4613
  55. package/lib/property-parsers/background.js +0 -89
  56. package/lib/property-parsers/box-shadow.js +0 -99
  57. package/lib/property-parsers/index.js +0 -2
  58. package/lib/property-parsers/parsers.js +0 -6
  59. package/lib/property-parsers/to-longhand.js +0 -4
  60. package/lib/schema.js +0 -115
  61. package/lib/types/custom-data.d.ts +0 -15
  62. package/lib/types/html-check.d.ts +0 -1
  63. package/lib/types/html.d.ts +0 -62
  64. package/lib/types/parse-css-value.test.d.ts +0 -1
  65. package/lib/types/parse-css.test.d.ts +0 -1
  66. package/lib/types/popularity-index.d.ts +0 -6
  67. package/lib/types/property-parsers/background.d.ts +0 -11
  68. package/lib/types/property-parsers/background.test.d.ts +0 -1
  69. package/lib/types/property-parsers/box-shadow.d.ts +0 -3
  70. package/lib/types/property-parsers/box-shadow.test.d.ts +0 -1
  71. package/lib/types/property-parsers/parsers.d.ts +0 -2
  72. package/lib/types/property-parsers/to-longhand.d.ts +0 -1
  73. package/lib/types/schema.d.ts +0 -3243
  74. package/src/__generated__/keyword-values.ts +0 -5253
  75. package/src/__generated__/properties.ts +0 -3696
  76. package/src/__generated__/property-value-descriptions.ts +0 -4008
  77. package/src/__generated__/units.ts +0 -63
  78. package/src/custom-data.ts +0 -57
  79. package/src/html-check.ts +0 -8
  80. package/src/html.ts +0 -617
  81. package/src/index.ts +0 -25
  82. package/src/parse-css-value.test.ts +0 -136
  83. package/src/parse-css-value.ts +0 -157
  84. package/src/parse-css.test.ts +0 -101
  85. package/src/parse-css.ts +0 -137
  86. package/src/popularity-index.ts +0 -4611
  87. package/src/property-parsers/README.md +0 -11
  88. package/src/property-parsers/background.test.ts +0 -184
  89. package/src/property-parsers/background.ts +0 -147
  90. package/src/property-parsers/box-shadow.test.ts +0 -294
  91. package/src/property-parsers/box-shadow.ts +0 -130
  92. package/src/property-parsers/index.ts +0 -2
  93. package/src/property-parsers/parsers.ts +0 -5
  94. package/src/property-parsers/to-longhand.ts +0 -4
  95. package/src/schema.ts +0 -193
package/lib/cjs/html.js DELETED
@@ -1,581 +0,0 @@
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
- a: () => a,
22
- address: () => address,
23
- article: () => article,
24
- aside: () => article,
25
- b: () => b,
26
- blockquote: () => blockquote,
27
- body: () => body,
28
- button: () => button,
29
- caption: () => caption,
30
- cite: () => i,
31
- code: () => code,
32
- col: () => col,
33
- colgroup: () => colgroup,
34
- dd: () => dd,
35
- del: () => s,
36
- details: () => article,
37
- dfn: () => i,
38
- div: () => article,
39
- dl: () => p,
40
- dt: () => article,
41
- em: () => i,
42
- fieldset: () => fieldset,
43
- figcaption: () => article,
44
- figure: () => blockquote,
45
- footer: () => article,
46
- form: () => article,
47
- h1: () => h1,
48
- h2: () => h2,
49
- h3: () => h3,
50
- h4: () => h4,
51
- h5: () => h5,
52
- h6: () => h6,
53
- header: () => article,
54
- hgroup: () => article,
55
- hr: () => hr,
56
- html: () => article,
57
- i: () => i,
58
- input: () => input,
59
- ins: () => u,
60
- kbd: () => code,
61
- label: () => label,
62
- legend: () => legend,
63
- li: () => li,
64
- main: () => article,
65
- mark: () => mark,
66
- nav: () => article,
67
- ol: () => ol,
68
- option: () => option,
69
- p: () => p,
70
- pre: () => pre,
71
- s: () => s,
72
- samp: () => code,
73
- section: () => article,
74
- select: () => select,
75
- strong: () => b,
76
- sub: () => sub,
77
- summary: () => article,
78
- sup: () => sup,
79
- table: () => table,
80
- tbody: () => tbody,
81
- td: () => td,
82
- textarea: () => textarea,
83
- tfoot: () => tfoot,
84
- th: () => th,
85
- thead: () => thead,
86
- tr: () => tr,
87
- u: () => u,
88
- ul: () => ul,
89
- var: () => i
90
- });
91
- module.exports = __toCommonJS(html_exports);
92
- const display = (value) => ({
93
- property: "display",
94
- value: { type: "keyword", value }
95
- });
96
- const marginTop = (value, unit) => ({
97
- property: "marginTop",
98
- value: { type: "unit", value, unit: unit ?? "number" }
99
- });
100
- const marginRight = (value, unit) => ({
101
- property: "marginRight",
102
- value: { type: "unit", value, unit: unit ?? "number" }
103
- });
104
- const marginBottom = (value, unit) => ({
105
- property: "marginBottom",
106
- value: { type: "unit", value, unit: unit ?? "number" }
107
- });
108
- const marginLeft = (value, unit) => ({
109
- property: "marginLeft",
110
- value: { type: "unit", value, unit: unit ?? "number" }
111
- });
112
- const paddingTop = (value, unit) => ({
113
- property: "paddingTop",
114
- value: { type: "unit", value, unit }
115
- });
116
- const paddingRight = (value, unit) => ({
117
- property: "paddingRight",
118
- value: { type: "unit", value, unit }
119
- });
120
- const paddingBottom = (value, unit) => ({
121
- property: "paddingBottom",
122
- value: { type: "unit", value, unit }
123
- });
124
- const paddingLeft = (value, unit) => ({
125
- property: "paddingLeft",
126
- value: { type: "unit", value, unit }
127
- });
128
- const color = (value) => ({
129
- property: "color",
130
- value: { type: "keyword", value }
131
- });
132
- const fontSize = (value, unit) => ({
133
- property: "fontSize",
134
- value: { type: "unit", value, unit }
135
- });
136
- const fontWeight = (value) => ({
137
- property: "fontWeight",
138
- value: { type: "keyword", value }
139
- });
140
- const fontStyle = (value) => ({
141
- property: "fontStyle",
142
- value: { type: "keyword", value }
143
- });
144
- const textAlign = (value) => ({
145
- property: "textAlign",
146
- value: { type: "keyword", value }
147
- });
148
- const verticalAlign = (value) => ({
149
- property: "verticalAlign",
150
- value: { type: "keyword", value }
151
- });
152
- const whiteSpace = (value) => ({
153
- property: "whiteSpace",
154
- value: { type: "keyword", value }
155
- });
156
- const cursor = (value) => ({
157
- property: "cursor",
158
- value: { type: "keyword", value }
159
- });
160
- const borderWidth = (value, unit) => [
161
- {
162
- property: "borderTopWidth",
163
- value: { type: "unit", value, unit }
164
- },
165
- {
166
- property: "borderRightWidth",
167
- value: { type: "unit", value, unit }
168
- },
169
- {
170
- property: "borderBottomWidth",
171
- value: { type: "unit", value, unit }
172
- },
173
- {
174
- property: "borderLeftWidth",
175
- value: { type: "unit", value, unit }
176
- }
177
- ];
178
- const borderStyle = (value) => [
179
- {
180
- property: "borderTopStyle",
181
- value: { type: "keyword", value }
182
- },
183
- {
184
- property: "borderRightStyle",
185
- value: { type: "keyword", value }
186
- },
187
- {
188
- property: "borderBottomStyle",
189
- value: { type: "keyword", value }
190
- },
191
- {
192
- property: "borderLeftStyle",
193
- value: { type: "keyword", value }
194
- }
195
- ];
196
- const borderColor = (value) => [
197
- {
198
- property: "borderTopColor",
199
- value: { type: "keyword", value }
200
- },
201
- {
202
- property: "borderRightColor",
203
- value: { type: "keyword", value }
204
- },
205
- {
206
- property: "borderBottomColor",
207
- value: { type: "keyword", value }
208
- },
209
- {
210
- property: "borderLeftColor",
211
- value: { type: "keyword", value }
212
- }
213
- ];
214
- const appearance = (value) => ({
215
- property: "appearance",
216
- value: { type: "keyword", value }
217
- });
218
- const userSelect = (value) => ({
219
- property: "userSelect",
220
- value: { type: "keyword", value }
221
- });
222
- const boxSizing = (value) => ({
223
- property: "boxSizing",
224
- value: { type: "keyword", value }
225
- });
226
- const article = [display("block")];
227
- const body = [
228
- display("block"),
229
- marginTop(8, "px"),
230
- marginRight(8, "px"),
231
- marginBottom(8, "px"),
232
- marginLeft(8, "px")
233
- ];
234
- const p = [
235
- display("block"),
236
- marginTop(1, "em"),
237
- marginBottom(1, "em")
238
- ];
239
- const dd = [display("block"), marginLeft(40, "px")];
240
- const blockquote = [
241
- display("block"),
242
- marginTop(1, "em"),
243
- marginBottom(1, "em"),
244
- marginLeft(40, "px"),
245
- marginRight(40, "px")
246
- ];
247
- const address = [display("block"), fontStyle("italic")];
248
- const h1 = [
249
- display("block"),
250
- fontWeight("bold"),
251
- fontSize(2, "em"),
252
- marginTop(0.67, "em"),
253
- marginBottom(0.67, "em")
254
- ];
255
- const h2 = [
256
- display("block"),
257
- fontWeight("bold"),
258
- fontSize(1.5, "em"),
259
- marginTop(0.83, "em"),
260
- marginBottom(0.83, "em")
261
- ];
262
- const h3 = [
263
- display("block"),
264
- fontWeight("bold"),
265
- fontSize(1.17, "em"),
266
- marginTop(1, "em"),
267
- marginBottom(1, "em")
268
- ];
269
- const h4 = [
270
- display("block"),
271
- fontWeight("bold"),
272
- marginTop(1.33, "em"),
273
- marginBottom(1.33, "em")
274
- ];
275
- const h5 = [
276
- display("block"),
277
- fontWeight("bold"),
278
- fontSize(0.83, "em"),
279
- marginTop(1.67, "em"),
280
- marginBottom(1.67, "em")
281
- ];
282
- const h6 = [
283
- display("block"),
284
- fontWeight("bold"),
285
- fontSize(0.67, "em"),
286
- marginTop(2.33, "em"),
287
- marginBottom(2.33, "em")
288
- ];
289
- const pre = [
290
- display("block"),
291
- whiteSpace("pre"),
292
- marginTop(1, "em"),
293
- marginBottom(1, "em")
294
- ];
295
- const table = [
296
- display("table"),
297
- {
298
- property: "borderSpacing",
299
- value: { type: "unit", value: 2, unit: "px" }
300
- },
301
- {
302
- property: "borderCollapse",
303
- value: { type: "keyword", value: "separate" }
304
- },
305
- boxSizing("border-box"),
306
- {
307
- property: "textIndent",
308
- value: { type: "unit", value: 0, unit: "number" }
309
- }
310
- ];
311
- const caption = [display("table-caption"), textAlign("center")];
312
- const tr = [display("table-row"), verticalAlign("inherit")];
313
- const col = [display("table-column")];
314
- const colgroup = [display("table-column-group")];
315
- const tbody = [
316
- display("table-row-group"),
317
- verticalAlign("middle")
318
- ];
319
- const thead = [
320
- display("table-header-group"),
321
- verticalAlign("middle")
322
- ];
323
- const tfoot = [
324
- display("table-footer-group"),
325
- verticalAlign("middle")
326
- ];
327
- const td = [
328
- display("table-cell"),
329
- verticalAlign("inherit"),
330
- paddingTop(1, "px"),
331
- paddingRight(1, "px"),
332
- paddingBottom(1, "px"),
333
- paddingLeft(1, "px")
334
- ];
335
- const th = [
336
- display("table-cell"),
337
- verticalAlign("inherit"),
338
- fontWeight("bold"),
339
- paddingTop(1, "px"),
340
- paddingRight(1, "px"),
341
- paddingBottom(1, "px"),
342
- paddingLeft(1, "px")
343
- ];
344
- const b = [
345
- // in firefox defined as bolder
346
- fontWeight("bold")
347
- ];
348
- const i = [fontStyle("italic")];
349
- const code = [
350
- {
351
- property: "fontFamily",
352
- // in firefox defined as -moz-fixed
353
- value: { type: "fontFamily", value: ["monospace"] }
354
- }
355
- ];
356
- const mark = [
357
- {
358
- property: "backgroundColor",
359
- // in firefox defined as Mark
360
- value: { type: "keyword", value: "yellow" }
361
- },
362
- // in firefox defined as MarkText
363
- color("black")
364
- ];
365
- const u = [
366
- {
367
- property: "textDecorationStyle",
368
- value: { type: "keyword", value: "underline" }
369
- }
370
- ];
371
- const s = [
372
- {
373
- property: "textDecorationStyle",
374
- value: { type: "keyword", value: "line-through" }
375
- }
376
- ];
377
- const sub = [
378
- verticalAlign("sub"),
379
- {
380
- property: "fontSize",
381
- value: { type: "keyword", value: "smaller" }
382
- }
383
- ];
384
- const sup = [
385
- verticalAlign("super"),
386
- {
387
- property: "fontSize",
388
- value: { type: "keyword", value: "smaller" }
389
- }
390
- ];
391
- const a = [
392
- {
393
- property: "textDecorationLine",
394
- value: { type: "keyword", value: "underline" }
395
- },
396
- cursor("pointer"),
397
- {
398
- property: "color",
399
- value: { type: "rgb", r: 0, g: 0, b: 238, alpha: 1 }
400
- }
401
- // active and visited states are not defined as usually overriden with stateless color
402
- // and modeling var-like defaults is too complex
403
- ];
404
- const ul = [
405
- display("block"),
406
- {
407
- property: "listStyleType",
408
- value: { type: "keyword", value: "disc" }
409
- },
410
- marginTop(1, "em"),
411
- marginBottom(1, "em"),
412
- paddingLeft(40, "px")
413
- ];
414
- const ol = [
415
- display("block"),
416
- {
417
- property: "listStyleType",
418
- value: { type: "keyword", value: "decimal" }
419
- },
420
- marginTop(1, "em"),
421
- marginBottom(1, "em"),
422
- paddingLeft(40, "px")
423
- ];
424
- const li = [display("list-item"), textAlign("match-parent")];
425
- const hr = [
426
- color("gray"),
427
- ...borderWidth(1, "px"),
428
- ...borderStyle("inset"),
429
- marginTop(0.5, "em"),
430
- marginBottom(0.5, "em"),
431
- {
432
- property: "marginLeft",
433
- value: { type: "keyword", value: "auto" }
434
- },
435
- {
436
- property: "marginRight",
437
- value: { type: "keyword", value: "auto" }
438
- },
439
- // firefox only
440
- {
441
- property: "overflow",
442
- value: { type: "keyword", value: "hidden" }
443
- },
444
- /* This is not really per spec but all browsers define it */
445
- display("block")
446
- ];
447
- const formControlReset = [
448
- // in firefox defined as FieldText
449
- color("initial"),
450
- { property: "letterSpacing", value: { type: "keyword", value: "normal" } },
451
- { property: "wordSpacing", value: { type: "keyword", value: "normal" } },
452
- { property: "lineHeight", value: { type: "keyword", value: "normal" } },
453
- { property: "textTransform", value: { type: "keyword", value: "none" } },
454
- { property: "textIndent", value: { type: "unit", value: 0, unit: "number" } },
455
- { property: "textShadow", value: { type: "keyword", value: "none" } },
456
- display("inline-block"),
457
- textAlign("start")
458
- ];
459
- const legend = [
460
- display("block"),
461
- paddingLeft(2, "px"),
462
- paddingRight(2, "px")
463
- ];
464
- const fieldset = [
465
- display("block"),
466
- marginLeft(2, "px"),
467
- marginRight(2, "px"),
468
- paddingTop(0.35, "em"),
469
- paddingBottom(0.625, "em"),
470
- paddingLeft(0.75, "em"),
471
- paddingRight(0.75, "em"),
472
- ...borderWidth(2, "px"),
473
- // in browsers defined as groove
474
- ...borderStyle("solid"),
475
- ...borderColor("ThreeDFace"),
476
- { property: "minWidth", value: { type: "keyword", value: "min-content" } }
477
- ];
478
- const label = [cursor("default")];
479
- const input = [
480
- appearance("auto"),
481
- paddingTop(1, "px"),
482
- paddingRight(1, "px"),
483
- paddingBottom(1, "px"),
484
- paddingLeft(1, "px"),
485
- ...borderWidth(2, "px"),
486
- // in browsers defined as inset
487
- ...borderStyle("solid"),
488
- // in firefox defined as Field
489
- { property: "backgroundColor", value: { type: "keyword", value: "white" } },
490
- cursor("text")
491
- ];
492
- const textarea = [
493
- ...formControlReset,
494
- appearance("auto"),
495
- marginTop(1, "px"),
496
- marginBottom(1, "px"),
497
- // in firefox 2px
498
- ...borderWidth(1, "px"),
499
- // in browsers defined as inset
500
- ...borderStyle("solid"),
501
- paddingTop(2, "px"),
502
- paddingRight(2, "px"),
503
- paddingBottom(2, "px"),
504
- paddingLeft(2, "px"),
505
- // in firefox defined as Field
506
- { property: "backgroundColor", value: { type: "keyword", value: "white" } },
507
- verticalAlign("text-bottom"),
508
- cursor("text"),
509
- { property: "resize", value: { type: "keyword", value: "both" } },
510
- whiteSpace("pre-wrap"),
511
- {
512
- property: "wordWrap",
513
- value: { type: "keyword", value: "break-word" }
514
- }
515
- ];
516
- const select = [
517
- ...formControlReset,
518
- display("inline-block"),
519
- marginTop(0),
520
- marginRight(0),
521
- marginBottom(0),
522
- marginLeft(0),
523
- paddingTop(1, "px"),
524
- paddingBottom(1, "px"),
525
- paddingRight(4, "px"),
526
- paddingLeft(4, "px"),
527
- ...borderWidth(2, "px"),
528
- // in browsers defined as inset
529
- ...borderStyle("solid"),
530
- whiteSpace("nowrap"),
531
- {
532
- property: "wordWrap",
533
- value: { type: "keyword", value: "normal" }
534
- },
535
- cursor("default"),
536
- boxSizing("border-box"),
537
- userSelect("none"),
538
- {
539
- property: "overflow",
540
- value: { type: "keyword", value: "clip" }
541
- },
542
- verticalAlign("baseline"),
543
- appearance("auto")
544
- ];
545
- const option = [
546
- display("block"),
547
- { property: "float", value: { type: "keyword", value: "none" } },
548
- { property: "position", value: { type: "keyword", value: "static" } },
549
- { property: "minHeight", value: { type: "unit", value: 1, unit: "em" } },
550
- paddingTop(2, "px"),
551
- paddingBottom(2, "px"),
552
- paddingRight(2, "px"),
553
- paddingLeft(4, "px"),
554
- userSelect("none"),
555
- whiteSpace("nowrap"),
556
- {
557
- property: "wordWrap",
558
- value: { type: "keyword", value: "normal" }
559
- }
560
- ];
561
- const button = [
562
- ...formControlReset,
563
- appearance("auto"),
564
- // in firefox defined as 1px 8px
565
- paddingTop(2, "px"),
566
- paddingBottom(3, "px"),
567
- paddingLeft(6, "px"),
568
- paddingRight(6, "px"),
569
- ...borderWidth(2, "px"),
570
- // in browsers defined as outset
571
- ...borderStyle("solid"),
572
- cursor("default"),
573
- boxSizing("border-box"),
574
- userSelect("none"),
575
- textAlign("center"),
576
- {
577
- property: "backgroundColor",
578
- // in browsers defined as ButtonFace
579
- value: { type: "keyword", value: "lightgray" }
580
- }
581
- ];
package/lib/cjs/index.js DELETED
@@ -1,48 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
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
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
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
- ));
29
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
- var src_exports = {};
31
- __export(src_exports, {
32
- declarationDescriptions: () => import_property_value_descriptions.declarations,
33
- html: () => html,
34
- properties: () => properties2,
35
- propertyDescriptions: () => import_property_value_descriptions.properties
36
- });
37
- module.exports = __toCommonJS(src_exports);
38
- var exportedHtml = __toESM(require("./html"), 1);
39
- __reExport(src_exports, require("./__generated__/keyword-values"), module.exports);
40
- __reExport(src_exports, require("./__generated__/units"), module.exports);
41
- var import_property_value_descriptions = require("./__generated__/property-value-descriptions");
42
- __reExport(src_exports, require("./schema"), module.exports);
43
- __reExport(src_exports, require("./property-parsers/index"), module.exports);
44
- __reExport(src_exports, require("./parse-css-value"), module.exports);
45
- __reExport(src_exports, require("./parse-css"), module.exports);
46
- var import_properties = require("./__generated__/properties");
47
- const html = exportedHtml;
48
- const properties2 = import_properties.properties;
@@ -1 +0,0 @@
1
- {"type":"commonjs"}