@webstudio-is/sdk 0.217.0 → 0.219.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.
@@ -1,3 +1,9 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: true });
5
+ };
6
+
1
7
  // src/core-templates.tsx
2
8
  import {
3
9
  $,
@@ -14,10 +20,109 @@ import {
14
20
  PaintBrushIcon,
15
21
  SettingsIcon,
16
22
  AddTemplateInstanceIcon,
17
- HtmlElementIcon
23
+ BoxIcon
18
24
  } from "@webstudio-is/icons/svg";
19
25
 
20
26
  // src/__generated__/normalize.css.ts
27
+ var normalize_css_exports = {};
28
+ __export(normalize_css_exports, {
29
+ a: () => a,
30
+ address: () => address,
31
+ article: () => article,
32
+ aside: () => aside,
33
+ b: () => b,
34
+ body: () => body,
35
+ button: () => button,
36
+ checkbox: () => checkbox,
37
+ code: () => code,
38
+ div: () => div,
39
+ figure: () => figure,
40
+ footer: () => footer,
41
+ form: () => form,
42
+ h1: () => h1,
43
+ h2: () => h2,
44
+ h3: () => h3,
45
+ h4: () => h4,
46
+ h5: () => h5,
47
+ h6: () => h6,
48
+ header: () => header,
49
+ hr: () => hr,
50
+ html: () => html,
51
+ i: () => i,
52
+ img: () => img,
53
+ input: () => input,
54
+ kbd: () => kbd,
55
+ label: () => label,
56
+ legend: () => legend,
57
+ li: () => li,
58
+ main: () => main,
59
+ nav: () => nav,
60
+ ol: () => ol,
61
+ optgroup: () => optgroup,
62
+ p: () => p,
63
+ pre: () => pre,
64
+ progress: () => progress,
65
+ radio: () => radio,
66
+ samp: () => samp,
67
+ section: () => section,
68
+ select: () => select,
69
+ small: () => small,
70
+ span: () => span,
71
+ strong: () => strong,
72
+ sub: () => sub,
73
+ summary: () => summary,
74
+ sup: () => sup,
75
+ table: () => table,
76
+ textarea: () => textarea,
77
+ time: () => time,
78
+ ul: () => ul
79
+ });
80
+ var div = [
81
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
82
+ {
83
+ property: "border-top-width",
84
+ value: { type: "unit", unit: "px", value: 1 }
85
+ },
86
+ {
87
+ property: "border-right-width",
88
+ value: { type: "unit", unit: "px", value: 1 }
89
+ },
90
+ {
91
+ property: "border-bottom-width",
92
+ value: { type: "unit", unit: "px", value: 1 }
93
+ },
94
+ {
95
+ property: "border-left-width",
96
+ value: { type: "unit", unit: "px", value: 1 }
97
+ },
98
+ { property: "outline-width", value: { type: "unit", unit: "px", value: 1 } }
99
+ ];
100
+ var address = div;
101
+ var article = div;
102
+ var aside = div;
103
+ var figure = div;
104
+ var footer = div;
105
+ var header = div;
106
+ var main = div;
107
+ var nav = div;
108
+ var section = div;
109
+ var form = div;
110
+ var label = div;
111
+ var time = div;
112
+ var h1 = div;
113
+ var h2 = div;
114
+ var h3 = div;
115
+ var h4 = div;
116
+ var h5 = div;
117
+ var h6 = div;
118
+ var i = div;
119
+ var img = div;
120
+ var a = div;
121
+ var li = div;
122
+ var ul = div;
123
+ var ol = div;
124
+ var p = div;
125
+ var span = div;
21
126
  var html = [
22
127
  { property: "display", value: { type: "keyword", value: "grid" } },
23
128
  { property: "min-height", value: { type: "unit", unit: "%", value: 100 } },
@@ -35,6 +140,602 @@ var html = [
35
140
  value: { type: "keyword", value: "preserve" }
36
141
  }
37
142
  ];
143
+ var body = [
144
+ { property: "margin-top", value: { type: "unit", unit: "number", value: 0 } },
145
+ {
146
+ property: "margin-right",
147
+ value: { type: "unit", unit: "number", value: 0 }
148
+ },
149
+ {
150
+ property: "margin-bottom",
151
+ value: { type: "unit", unit: "number", value: 0 }
152
+ },
153
+ {
154
+ property: "margin-left",
155
+ value: { type: "unit", unit: "number", value: 0 }
156
+ },
157
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
158
+ {
159
+ property: "border-top-width",
160
+ value: { type: "unit", unit: "px", value: 1 }
161
+ },
162
+ {
163
+ property: "border-right-width",
164
+ value: { type: "unit", unit: "px", value: 1 }
165
+ },
166
+ {
167
+ property: "border-bottom-width",
168
+ value: { type: "unit", unit: "px", value: 1 }
169
+ },
170
+ {
171
+ property: "border-left-width",
172
+ value: { type: "unit", unit: "px", value: 1 }
173
+ }
174
+ ];
175
+ var hr = [
176
+ { property: "height", value: { type: "unit", unit: "number", value: 0 } },
177
+ { property: "color", value: { type: "keyword", value: "inherit" } },
178
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
179
+ {
180
+ property: "border-top-width",
181
+ value: { type: "unit", unit: "px", value: 1 }
182
+ },
183
+ {
184
+ property: "border-right-width",
185
+ value: { type: "unit", unit: "px", value: 1 }
186
+ },
187
+ {
188
+ property: "border-bottom-width",
189
+ value: { type: "unit", unit: "px", value: 1 }
190
+ },
191
+ {
192
+ property: "border-left-width",
193
+ value: { type: "unit", unit: "px", value: 1 }
194
+ }
195
+ ];
196
+ var b = [
197
+ {
198
+ property: "font-weight",
199
+ value: { type: "unit", unit: "number", value: 700 }
200
+ },
201
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
202
+ {
203
+ property: "border-top-width",
204
+ value: { type: "unit", unit: "px", value: 1 }
205
+ },
206
+ {
207
+ property: "border-right-width",
208
+ value: { type: "unit", unit: "px", value: 1 }
209
+ },
210
+ {
211
+ property: "border-bottom-width",
212
+ value: { type: "unit", unit: "px", value: 1 }
213
+ },
214
+ {
215
+ property: "border-left-width",
216
+ value: { type: "unit", unit: "px", value: 1 }
217
+ }
218
+ ];
219
+ var strong = b;
220
+ var code = [
221
+ {
222
+ property: "font-family",
223
+ value: {
224
+ type: "fontFamily",
225
+ value: [
226
+ "ui-monospace",
227
+ "SFMono-Regular",
228
+ "Consolas",
229
+ "Liberation Mono",
230
+ "Menlo",
231
+ "monospace"
232
+ ]
233
+ }
234
+ },
235
+ { property: "font-size", value: { type: "unit", unit: "em", value: 1 } },
236
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
237
+ {
238
+ property: "border-top-width",
239
+ value: { type: "unit", unit: "px", value: 1 }
240
+ },
241
+ {
242
+ property: "border-right-width",
243
+ value: { type: "unit", unit: "px", value: 1 }
244
+ },
245
+ {
246
+ property: "border-bottom-width",
247
+ value: { type: "unit", unit: "px", value: 1 }
248
+ },
249
+ {
250
+ property: "border-left-width",
251
+ value: { type: "unit", unit: "px", value: 1 }
252
+ }
253
+ ];
254
+ var kbd = code;
255
+ var samp = code;
256
+ var pre = code;
257
+ var small = [
258
+ { property: "font-size", value: { type: "unit", unit: "%", value: 80 } },
259
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
260
+ {
261
+ property: "border-top-width",
262
+ value: { type: "unit", unit: "px", value: 1 }
263
+ },
264
+ {
265
+ property: "border-right-width",
266
+ value: { type: "unit", unit: "px", value: 1 }
267
+ },
268
+ {
269
+ property: "border-bottom-width",
270
+ value: { type: "unit", unit: "px", value: 1 }
271
+ },
272
+ {
273
+ property: "border-left-width",
274
+ value: { type: "unit", unit: "px", value: 1 }
275
+ }
276
+ ];
277
+ var sub = [
278
+ { property: "font-size", value: { type: "unit", unit: "%", value: 75 } },
279
+ {
280
+ property: "line-height",
281
+ value: { type: "unit", unit: "number", value: 0 }
282
+ },
283
+ { property: "position", value: { type: "keyword", value: "relative" } },
284
+ { property: "vertical-align", value: { type: "keyword", value: "baseline" } },
285
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
286
+ {
287
+ property: "border-top-width",
288
+ value: { type: "unit", unit: "px", value: 1 }
289
+ },
290
+ {
291
+ property: "border-right-width",
292
+ value: { type: "unit", unit: "px", value: 1 }
293
+ },
294
+ {
295
+ property: "border-bottom-width",
296
+ value: { type: "unit", unit: "px", value: 1 }
297
+ },
298
+ {
299
+ property: "border-left-width",
300
+ value: { type: "unit", unit: "px", value: 1 }
301
+ },
302
+ { property: "bottom", value: { type: "unit", unit: "em", value: -0.25 } }
303
+ ];
304
+ var sup = [
305
+ { property: "font-size", value: { type: "unit", unit: "%", value: 75 } },
306
+ {
307
+ property: "line-height",
308
+ value: { type: "unit", unit: "number", value: 0 }
309
+ },
310
+ { property: "position", value: { type: "keyword", value: "relative" } },
311
+ { property: "vertical-align", value: { type: "keyword", value: "baseline" } },
312
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
313
+ {
314
+ property: "border-top-width",
315
+ value: { type: "unit", unit: "px", value: 1 }
316
+ },
317
+ {
318
+ property: "border-right-width",
319
+ value: { type: "unit", unit: "px", value: 1 }
320
+ },
321
+ {
322
+ property: "border-bottom-width",
323
+ value: { type: "unit", unit: "px", value: 1 }
324
+ },
325
+ {
326
+ property: "border-left-width",
327
+ value: { type: "unit", unit: "px", value: 1 }
328
+ },
329
+ { property: "top", value: { type: "unit", unit: "em", value: -0.5 } }
330
+ ];
331
+ var table = [
332
+ {
333
+ property: "text-indent",
334
+ value: { type: "unit", unit: "number", value: 0 }
335
+ },
336
+ {
337
+ property: "border-top-width",
338
+ value: { type: "unit", unit: "px", value: 1 }
339
+ },
340
+ {
341
+ property: "border-right-width",
342
+ value: { type: "unit", unit: "px", value: 1 }
343
+ },
344
+ {
345
+ property: "border-bottom-width",
346
+ value: { type: "unit", unit: "px", value: 1 }
347
+ },
348
+ {
349
+ property: "border-left-width",
350
+ value: { type: "unit", unit: "px", value: 1 }
351
+ },
352
+ {
353
+ property: "border-top-color",
354
+ value: { type: "keyword", value: "inherit" }
355
+ },
356
+ {
357
+ property: "border-right-color",
358
+ value: { type: "keyword", value: "inherit" }
359
+ },
360
+ {
361
+ property: "border-bottom-color",
362
+ value: { type: "keyword", value: "inherit" }
363
+ },
364
+ {
365
+ property: "border-left-color",
366
+ value: { type: "keyword", value: "inherit" }
367
+ },
368
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
369
+ ];
370
+ var input = [
371
+ { property: "font-family", value: { type: "keyword", value: "inherit" } },
372
+ { property: "font-size", value: { type: "unit", unit: "%", value: 100 } },
373
+ {
374
+ property: "line-height",
375
+ value: { type: "unit", unit: "number", value: 1.15 }
376
+ },
377
+ { property: "margin-top", value: { type: "unit", unit: "number", value: 0 } },
378
+ {
379
+ property: "margin-right",
380
+ value: { type: "unit", unit: "number", value: 0 }
381
+ },
382
+ {
383
+ property: "margin-bottom",
384
+ value: { type: "unit", unit: "number", value: 0 }
385
+ },
386
+ {
387
+ property: "margin-left",
388
+ value: { type: "unit", unit: "number", value: 0 }
389
+ },
390
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
391
+ {
392
+ property: "border-top-width",
393
+ value: { type: "unit", unit: "px", value: 1 }
394
+ },
395
+ {
396
+ property: "border-right-width",
397
+ value: { type: "unit", unit: "px", value: 1 }
398
+ },
399
+ {
400
+ property: "border-bottom-width",
401
+ value: { type: "unit", unit: "px", value: 1 }
402
+ },
403
+ {
404
+ property: "border-left-width",
405
+ value: { type: "unit", unit: "px", value: 1 }
406
+ },
407
+ { property: "border-top-style", value: { type: "keyword", value: "solid" } },
408
+ {
409
+ property: "border-right-style",
410
+ value: { type: "keyword", value: "solid" }
411
+ },
412
+ {
413
+ property: "border-bottom-style",
414
+ value: { type: "keyword", value: "solid" }
415
+ },
416
+ { property: "border-left-style", value: { type: "keyword", value: "solid" } }
417
+ ];
418
+ var textarea = input;
419
+ var optgroup = [
420
+ { property: "font-family", value: { type: "keyword", value: "inherit" } },
421
+ { property: "font-size", value: { type: "unit", unit: "%", value: 100 } },
422
+ {
423
+ property: "line-height",
424
+ value: { type: "unit", unit: "number", value: 1.15 }
425
+ },
426
+ { property: "margin-top", value: { type: "unit", unit: "number", value: 0 } },
427
+ {
428
+ property: "margin-right",
429
+ value: { type: "unit", unit: "number", value: 0 }
430
+ },
431
+ {
432
+ property: "margin-bottom",
433
+ value: { type: "unit", unit: "number", value: 0 }
434
+ },
435
+ {
436
+ property: "margin-left",
437
+ value: { type: "unit", unit: "number", value: 0 }
438
+ },
439
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
440
+ {
441
+ property: "border-top-width",
442
+ value: { type: "unit", unit: "px", value: 1 }
443
+ },
444
+ {
445
+ property: "border-right-width",
446
+ value: { type: "unit", unit: "px", value: 1 }
447
+ },
448
+ {
449
+ property: "border-bottom-width",
450
+ value: { type: "unit", unit: "px", value: 1 }
451
+ },
452
+ {
453
+ property: "border-left-width",
454
+ value: { type: "unit", unit: "px", value: 1 }
455
+ }
456
+ ];
457
+ var radio = [
458
+ { property: "font-family", value: { type: "keyword", value: "inherit" } },
459
+ { property: "font-size", value: { type: "unit", unit: "%", value: 100 } },
460
+ {
461
+ property: "line-height",
462
+ value: { type: "unit", unit: "number", value: 1.15 }
463
+ },
464
+ { property: "margin-top", value: { type: "unit", unit: "number", value: 0 } },
465
+ {
466
+ property: "margin-right",
467
+ value: { type: "unit", unit: "number", value: 0 }
468
+ },
469
+ {
470
+ property: "margin-bottom",
471
+ value: { type: "unit", unit: "number", value: 0 }
472
+ },
473
+ {
474
+ property: "margin-left",
475
+ value: { type: "unit", unit: "number", value: 0 }
476
+ },
477
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
478
+ {
479
+ property: "border-top-width",
480
+ value: { type: "unit", unit: "px", value: 1 }
481
+ },
482
+ {
483
+ property: "border-right-width",
484
+ value: { type: "unit", unit: "px", value: 1 }
485
+ },
486
+ {
487
+ property: "border-bottom-width",
488
+ value: { type: "unit", unit: "px", value: 1 }
489
+ },
490
+ {
491
+ property: "border-left-width",
492
+ value: { type: "unit", unit: "px", value: 1 }
493
+ },
494
+ { property: "border-top-style", value: { type: "keyword", value: "none" } },
495
+ { property: "border-right-style", value: { type: "keyword", value: "none" } },
496
+ {
497
+ property: "border-bottom-style",
498
+ value: { type: "keyword", value: "none" }
499
+ },
500
+ { property: "border-left-style", value: { type: "keyword", value: "none" } }
501
+ ];
502
+ var checkbox = radio;
503
+ var button = [
504
+ { property: "font-family", value: { type: "keyword", value: "inherit" } },
505
+ { property: "font-size", value: { type: "unit", unit: "%", value: 100 } },
506
+ {
507
+ property: "line-height",
508
+ value: { type: "unit", unit: "number", value: 1.15 }
509
+ },
510
+ { property: "margin-top", value: { type: "unit", unit: "number", value: 0 } },
511
+ {
512
+ property: "margin-right",
513
+ value: { type: "unit", unit: "number", value: 0 }
514
+ },
515
+ {
516
+ property: "margin-bottom",
517
+ value: { type: "unit", unit: "number", value: 0 }
518
+ },
519
+ {
520
+ property: "margin-left",
521
+ value: { type: "unit", unit: "number", value: 0 }
522
+ },
523
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
524
+ {
525
+ property: "border-top-width",
526
+ value: { type: "unit", unit: "px", value: 1 }
527
+ },
528
+ {
529
+ property: "border-right-width",
530
+ value: { type: "unit", unit: "px", value: 1 }
531
+ },
532
+ {
533
+ property: "border-bottom-width",
534
+ value: { type: "unit", unit: "px", value: 1 }
535
+ },
536
+ {
537
+ property: "border-left-width",
538
+ value: { type: "unit", unit: "px", value: 1 }
539
+ },
540
+ { property: "border-top-style", value: { type: "keyword", value: "solid" } },
541
+ {
542
+ property: "border-right-style",
543
+ value: { type: "keyword", value: "solid" }
544
+ },
545
+ {
546
+ property: "border-bottom-style",
547
+ value: { type: "keyword", value: "solid" }
548
+ },
549
+ { property: "border-left-style", value: { type: "keyword", value: "solid" } },
550
+ { property: "text-transform", value: { type: "keyword", value: "none" } }
551
+ ];
552
+ var select = button;
553
+ var legend = [
554
+ {
555
+ property: "padding-top",
556
+ value: { type: "unit", unit: "number", value: 0 }
557
+ },
558
+ {
559
+ property: "padding-right",
560
+ value: { type: "unit", unit: "number", value: 0 }
561
+ },
562
+ {
563
+ property: "padding-bottom",
564
+ value: { type: "unit", unit: "number", value: 0 }
565
+ },
566
+ {
567
+ property: "padding-left",
568
+ value: { type: "unit", unit: "number", value: 0 }
569
+ },
570
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
571
+ {
572
+ property: "border-top-width",
573
+ value: { type: "unit", unit: "px", value: 1 }
574
+ },
575
+ {
576
+ property: "border-right-width",
577
+ value: { type: "unit", unit: "px", value: 1 }
578
+ },
579
+ {
580
+ property: "border-bottom-width",
581
+ value: { type: "unit", unit: "px", value: 1 }
582
+ },
583
+ {
584
+ property: "border-left-width",
585
+ value: { type: "unit", unit: "px", value: 1 }
586
+ }
587
+ ];
588
+ var progress = [
589
+ { property: "vertical-align", value: { type: "keyword", value: "baseline" } },
590
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
591
+ {
592
+ property: "border-top-width",
593
+ value: { type: "unit", unit: "px", value: 1 }
594
+ },
595
+ {
596
+ property: "border-right-width",
597
+ value: { type: "unit", unit: "px", value: 1 }
598
+ },
599
+ {
600
+ property: "border-bottom-width",
601
+ value: { type: "unit", unit: "px", value: 1 }
602
+ },
603
+ {
604
+ property: "border-left-width",
605
+ value: { type: "unit", unit: "px", value: 1 }
606
+ }
607
+ ];
608
+ var summary = [
609
+ { property: "display", value: { type: "keyword", value: "list-item" } },
610
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
611
+ {
612
+ property: "border-top-width",
613
+ value: { type: "unit", unit: "px", value: 1 }
614
+ },
615
+ {
616
+ property: "border-right-width",
617
+ value: { type: "unit", unit: "px", value: 1 }
618
+ },
619
+ {
620
+ property: "border-bottom-width",
621
+ value: { type: "unit", unit: "px", value: 1 }
622
+ },
623
+ {
624
+ property: "border-left-width",
625
+ value: { type: "unit", unit: "px", value: 1 }
626
+ }
627
+ ];
628
+
629
+ // src/runtime.ts
630
+ var tagProperty = "data-ws-tag";
631
+
632
+ // src/__generated__/tags.ts
633
+ var tags = [
634
+ "a",
635
+ "abbr",
636
+ "address",
637
+ "area",
638
+ "article",
639
+ "aside",
640
+ "audio",
641
+ "b",
642
+ "bdi",
643
+ "bdo",
644
+ "blockquote",
645
+ "body",
646
+ "br",
647
+ "button",
648
+ "canvas",
649
+ "caption",
650
+ "cite",
651
+ "code",
652
+ "col",
653
+ "colgroup",
654
+ "data",
655
+ "datalist",
656
+ "dd",
657
+ "del",
658
+ "details",
659
+ "dfn",
660
+ "dialog",
661
+ "div",
662
+ "dl",
663
+ "dt",
664
+ "em",
665
+ "embed",
666
+ "fieldset",
667
+ "figcaption",
668
+ "figure",
669
+ "footer",
670
+ "form",
671
+ "h1",
672
+ "h2",
673
+ "h3",
674
+ "h4",
675
+ "h5",
676
+ "h6",
677
+ "head",
678
+ "header",
679
+ "hgroup",
680
+ "hr",
681
+ "html",
682
+ "i",
683
+ "iframe",
684
+ "img",
685
+ "input",
686
+ "ins",
687
+ "kbd",
688
+ "label",
689
+ "legend",
690
+ "li",
691
+ "main",
692
+ "map",
693
+ "mark",
694
+ "menu",
695
+ "meter",
696
+ "nav",
697
+ "object",
698
+ "ol",
699
+ "optgroup",
700
+ "option",
701
+ "output",
702
+ "p",
703
+ "picture",
704
+ "pre",
705
+ "progress",
706
+ "q",
707
+ "rp",
708
+ "rt",
709
+ "ruby",
710
+ "s",
711
+ "samp",
712
+ "search",
713
+ "section",
714
+ "select",
715
+ "slot",
716
+ "small",
717
+ "source",
718
+ "span",
719
+ "strong",
720
+ "sub",
721
+ "summary",
722
+ "sup",
723
+ "table",
724
+ "tbody",
725
+ "td",
726
+ "textarea",
727
+ "tfoot",
728
+ "th",
729
+ "thead",
730
+ "time",
731
+ "tr",
732
+ "track",
733
+ "u",
734
+ "ul",
735
+ "var",
736
+ "video",
737
+ "wbr"
738
+ ];
38
739
 
39
740
  // src/core-metas.ts
40
741
  var rootComponent = "ws:root";
@@ -51,10 +752,19 @@ var rootPropsMeta = {
51
752
  var elementComponent = "ws:element";
52
753
  var elementMeta = {
53
754
  label: "Element",
54
- icon: HtmlElementIcon
755
+ icon: BoxIcon,
756
+ // convert [object Module] to [object Object] to enable structured cloning
757
+ presetStyle: { ...normalize_css_exports }
55
758
  };
56
759
  var elementPropsMeta = {
57
- props: {}
760
+ props: {
761
+ [tagProperty]: {
762
+ type: "string",
763
+ control: "tag",
764
+ required: true,
765
+ options: tags
766
+ }
767
+ }
58
768
  };
59
769
  var collectionComponent = "ws:collection";
60
770
  var collectionMeta = {
@@ -156,6 +866,12 @@ var corePropsMetas = {
156
866
 
157
867
  // src/core-templates.tsx
158
868
  import { jsx, jsxs } from "react/jsx-runtime";
869
+ var elementMeta2 = {
870
+ category: "general",
871
+ order: 0,
872
+ description: "An HTML element is a core building block for web pages, structuring and displaying content like text, images, and links.",
873
+ template: /* @__PURE__ */ jsx(ws.element, { "ws:tag": "div" })
874
+ };
159
875
  var collectionItem = new Parameter("collectionItem");
160
876
  var collectionMeta2 = {
161
877
  category: "data",
@@ -218,6 +934,7 @@ var blockMeta2 = {
218
934
  ] })
219
935
  };
220
936
  var coreTemplates = {
937
+ [elementComponent]: elementMeta2,
221
938
  [collectionComponent]: collectionMeta2,
222
939
  [descendantComponent]: descendantMeta2,
223
940
  [blockComponent]: blockMeta2