@digdir/designsystemet-web 0.0.0-feat-export-all-20260304131545

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 (68) hide show
  1. package/LICENSE +7 -0
  2. package/README.md +277 -0
  3. package/dist/cjs/_virtual/_rolldown/runtime.cjs +1 -0
  4. package/dist/cjs/breadcrumbs/breadcrumbs.cjs +2 -0
  5. package/dist/cjs/breadcrumbs/breadcrumbs.cjs.map +1 -0
  6. package/dist/cjs/clickdelegatefor/clickdelegatefor.cjs +2 -0
  7. package/dist/cjs/clickdelegatefor/clickdelegatefor.cjs.map +1 -0
  8. package/dist/cjs/dialog/dialog.cjs +2 -0
  9. package/dist/cjs/dialog/dialog.cjs.map +1 -0
  10. package/dist/cjs/error-summary/error-summary.cjs +2 -0
  11. package/dist/cjs/error-summary/error-summary.cjs.map +1 -0
  12. package/dist/cjs/field/field.cjs +2 -0
  13. package/dist/cjs/field/field.cjs.map +1 -0
  14. package/dist/cjs/index.cjs +2 -0
  15. package/dist/cjs/index.cjs.map +1 -0
  16. package/dist/cjs/pagination/pagination.cjs +2 -0
  17. package/dist/cjs/pagination/pagination.cjs.map +1 -0
  18. package/dist/cjs/popover/popover.cjs +2 -0
  19. package/dist/cjs/popover/popover.cjs.map +1 -0
  20. package/dist/cjs/readonly/readonly.cjs +2 -0
  21. package/dist/cjs/readonly/readonly.cjs.map +1 -0
  22. package/dist/cjs/suggestion/suggestion.cjs +2 -0
  23. package/dist/cjs/suggestion/suggestion.cjs.map +1 -0
  24. package/dist/cjs/tabs/tabs.cjs +2 -0
  25. package/dist/cjs/tabs/tabs.cjs.map +1 -0
  26. package/dist/cjs/toggle-group/toggle-group.cjs +2 -0
  27. package/dist/cjs/toggle-group/toggle-group.cjs.map +1 -0
  28. package/dist/cjs/tooltip/tooltip.cjs +2 -0
  29. package/dist/cjs/tooltip/tooltip.cjs.map +1 -0
  30. package/dist/cjs/utils/utils.cjs +2 -0
  31. package/dist/cjs/utils/utils.cjs.map +1 -0
  32. package/dist/custom-elements.json +531 -0
  33. package/dist/esm/breadcrumbs/breadcrumbs.js +2 -0
  34. package/dist/esm/breadcrumbs/breadcrumbs.js.map +1 -0
  35. package/dist/esm/clickdelegatefor/clickdelegatefor.js +2 -0
  36. package/dist/esm/clickdelegatefor/clickdelegatefor.js.map +1 -0
  37. package/dist/esm/dialog/dialog.js +2 -0
  38. package/dist/esm/dialog/dialog.js.map +1 -0
  39. package/dist/esm/error-summary/error-summary.js +2 -0
  40. package/dist/esm/error-summary/error-summary.js.map +1 -0
  41. package/dist/esm/field/field.js +2 -0
  42. package/dist/esm/field/field.js.map +1 -0
  43. package/dist/esm/index.js +2 -0
  44. package/dist/esm/index.js.map +1 -0
  45. package/dist/esm/pagination/pagination.js +2 -0
  46. package/dist/esm/pagination/pagination.js.map +1 -0
  47. package/dist/esm/popover/popover.js +2 -0
  48. package/dist/esm/popover/popover.js.map +1 -0
  49. package/dist/esm/readonly/readonly.js +2 -0
  50. package/dist/esm/readonly/readonly.js.map +1 -0
  51. package/dist/esm/suggestion/suggestion.js +2 -0
  52. package/dist/esm/suggestion/suggestion.js.map +1 -0
  53. package/dist/esm/tabs/tabs.js +2 -0
  54. package/dist/esm/tabs/tabs.js.map +1 -0
  55. package/dist/esm/toggle-group/toggle-group.js +2 -0
  56. package/dist/esm/toggle-group/toggle-group.js.map +1 -0
  57. package/dist/esm/tooltip/tooltip.js +2 -0
  58. package/dist/esm/tooltip/tooltip.js.map +1 -0
  59. package/dist/esm/utils/utils.js +2 -0
  60. package/dist/esm/utils/utils.js.map +1 -0
  61. package/dist/index.d.ts +321 -0
  62. package/dist/index.js +716 -0
  63. package/dist/umd/index.js +15 -0
  64. package/dist/umd/index.js.map +1 -0
  65. package/dist/vscode.html-custom-data.json +60 -0
  66. package/dist/web.manifest.json +977 -0
  67. package/dist/web.vscode.json +60 -0
  68. package/package.json +106 -0
@@ -0,0 +1,977 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "breadcrumbs.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "description": "",
12
+ "name": "DSBreadcrumbsElement",
13
+ "members": [
14
+ {
15
+ "kind": "field",
16
+ "name": "_items",
17
+ "type": {
18
+ "text": "HTMLCollectionOf<HTMLAnchorElement> | undefined"
19
+ }
20
+ },
21
+ {
22
+ "kind": "field",
23
+ "name": "_label",
24
+ "type": {
25
+ "text": "string | null"
26
+ },
27
+ "default": "null"
28
+ },
29
+ {
30
+ "kind": "field",
31
+ "name": "_render",
32
+ "type": {
33
+ "text": "() => void | undefined"
34
+ }
35
+ },
36
+ {
37
+ "kind": "field",
38
+ "name": "_unresize",
39
+ "type": {
40
+ "text": "() => void | undefined"
41
+ }
42
+ },
43
+ {
44
+ "kind": "field",
45
+ "name": "_unmutate",
46
+ "type": {
47
+ "text": "() => void | undefined"
48
+ }
49
+ }
50
+ ],
51
+ "superclass": {
52
+ "name": "DSElement",
53
+ "module": "/utils/utils"
54
+ },
55
+ "tagName": "ds-breadcrumbs",
56
+ "customElement": true
57
+ }
58
+ ],
59
+ "exports": [
60
+ {
61
+ "kind": "js",
62
+ "name": "DSBreadcrumbsElement",
63
+ "declaration": {
64
+ "name": "DSBreadcrumbsElement",
65
+ "module": "breadcrumbs.ts"
66
+ }
67
+ },
68
+ {
69
+ "kind": "custom-element-definition",
70
+ "name": "ds-breadcrumbs",
71
+ "declaration": {
72
+ "name": "DSBreadcrumbsElement",
73
+ "module": "breadcrumbs.ts"
74
+ }
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "kind": "javascript-module",
80
+ "path": "clickdelegatefor.ts",
81
+ "declarations": [],
82
+ "exports": []
83
+ },
84
+ {
85
+ "kind": "javascript-module",
86
+ "path": "dialog.ts",
87
+ "declarations": [],
88
+ "exports": []
89
+ },
90
+ {
91
+ "kind": "javascript-module",
92
+ "path": "error-summary.ts",
93
+ "declarations": [
94
+ {
95
+ "kind": "class",
96
+ "description": "",
97
+ "name": "DSErrorSummaryElement",
98
+ "members": [
99
+ {
100
+ "kind": "method",
101
+ "name": "handleEvent",
102
+ "parameters": [
103
+ {
104
+ "name": "{ target }",
105
+ "type": {
106
+ "text": "Partial<Event>"
107
+ }
108
+ }
109
+ ]
110
+ }
111
+ ],
112
+ "superclass": {
113
+ "name": "DSElement",
114
+ "module": "/utils/utils"
115
+ },
116
+ "tagName": "ds-error-summary",
117
+ "customElement": true
118
+ }
119
+ ],
120
+ "exports": [
121
+ {
122
+ "kind": "js",
123
+ "name": "DSErrorSummaryElement",
124
+ "declaration": {
125
+ "name": "DSErrorSummaryElement",
126
+ "module": "error-summary.ts"
127
+ }
128
+ },
129
+ {
130
+ "kind": "custom-element-definition",
131
+ "name": "ds-error-summary",
132
+ "declaration": {
133
+ "name": "DSErrorSummaryElement",
134
+ "module": "error-summary.ts"
135
+ }
136
+ }
137
+ ]
138
+ },
139
+ {
140
+ "kind": "javascript-module",
141
+ "path": "field.ts",
142
+ "declarations": [
143
+ {
144
+ "kind": "class",
145
+ "description": "",
146
+ "name": "DSFieldElement",
147
+ "superclass": {
148
+ "name": "DSElement",
149
+ "module": "/utils/utils"
150
+ },
151
+ "tagName": "ds-field",
152
+ "customElement": true
153
+ }
154
+ ],
155
+ "exports": [
156
+ {
157
+ "kind": "js",
158
+ "name": "DSFieldElement",
159
+ "declaration": {
160
+ "name": "DSFieldElement",
161
+ "module": "field.ts"
162
+ }
163
+ },
164
+ {
165
+ "kind": "custom-element-definition",
166
+ "name": "ds-field",
167
+ "declaration": {
168
+ "name": "DSFieldElement",
169
+ "module": "field.ts"
170
+ }
171
+ }
172
+ ]
173
+ },
174
+ {
175
+ "kind": "javascript-module",
176
+ "path": "index.ts",
177
+ "declarations": [],
178
+ "exports": [
179
+ {
180
+ "kind": "js",
181
+ "name": "*",
182
+ "declaration": {
183
+ "name": "*",
184
+ "package": "@u-elements/u-datalist"
185
+ }
186
+ },
187
+ {
188
+ "kind": "js",
189
+ "name": "*",
190
+ "declaration": {
191
+ "name": "*",
192
+ "module": "breadcrumbs/breadcrumbs"
193
+ }
194
+ },
195
+ {
196
+ "kind": "js",
197
+ "name": "*",
198
+ "declaration": {
199
+ "name": "*",
200
+ "module": "error-summary/error-summary"
201
+ }
202
+ },
203
+ {
204
+ "kind": "js",
205
+ "name": "*",
206
+ "declaration": {
207
+ "name": "*",
208
+ "module": "field/field"
209
+ }
210
+ },
211
+ {
212
+ "kind": "js",
213
+ "name": "*",
214
+ "declaration": {
215
+ "name": "*",
216
+ "module": "pagination/pagination"
217
+ }
218
+ },
219
+ {
220
+ "kind": "js",
221
+ "name": "*",
222
+ "declaration": {
223
+ "name": "*",
224
+ "module": "suggestion/suggestion"
225
+ }
226
+ },
227
+ {
228
+ "kind": "js",
229
+ "name": "*",
230
+ "declaration": {
231
+ "name": "*",
232
+ "module": "tabs/tabs"
233
+ }
234
+ },
235
+ {
236
+ "kind": "js",
237
+ "name": "*",
238
+ "declaration": {
239
+ "name": "*",
240
+ "module": "tooltip/tooltip"
241
+ }
242
+ }
243
+ ]
244
+ },
245
+ {
246
+ "kind": "javascript-module",
247
+ "path": "pagination.ts",
248
+ "declarations": [
249
+ {
250
+ "kind": "function",
251
+ "name": "pagination",
252
+ "parameters": [
253
+ {
254
+ "name": "{ current = 1, total = 10, show = 7 }"
255
+ }
256
+ ]
257
+ },
258
+ {
259
+ "kind": "class",
260
+ "description": "",
261
+ "name": "DSPaginationElement",
262
+ "members": [
263
+ {
264
+ "kind": "field",
265
+ "name": "_unmutate",
266
+ "type": {
267
+ "text": "() => void | undefined"
268
+ }
269
+ },
270
+ {
271
+ "kind": "field",
272
+ "name": "_render",
273
+ "type": {
274
+ "text": "() => void | undefined"
275
+ }
276
+ }
277
+ ],
278
+ "superclass": {
279
+ "name": "DSElement",
280
+ "module": "/utils/utils"
281
+ },
282
+ "tagName": "ds-pagination",
283
+ "customElement": true
284
+ }
285
+ ],
286
+ "exports": [
287
+ {
288
+ "kind": "js",
289
+ "name": "pagination",
290
+ "declaration": {
291
+ "name": "pagination",
292
+ "module": "pagination.ts"
293
+ }
294
+ },
295
+ {
296
+ "kind": "js",
297
+ "name": "DSPaginationElement",
298
+ "declaration": {
299
+ "name": "DSPaginationElement",
300
+ "module": "pagination.ts"
301
+ }
302
+ },
303
+ {
304
+ "kind": "custom-element-definition",
305
+ "name": "ds-pagination",
306
+ "declaration": {
307
+ "name": "DSPaginationElement",
308
+ "module": "pagination.ts"
309
+ }
310
+ }
311
+ ]
312
+ },
313
+ {
314
+ "kind": "javascript-module",
315
+ "path": "popover.ts",
316
+ "declarations": [
317
+ {
318
+ "kind": "variable",
319
+ "name": "placement"
320
+ }
321
+ ],
322
+ "exports": []
323
+ },
324
+ {
325
+ "kind": "javascript-module",
326
+ "path": "readonly.ts",
327
+ "declarations": [],
328
+ "exports": []
329
+ },
330
+ {
331
+ "kind": "javascript-module",
332
+ "path": "suggestion.ts",
333
+ "declarations": [
334
+ {
335
+ "kind": "class",
336
+ "description": "",
337
+ "name": "DSSuggestionElement",
338
+ "members": [
339
+ {
340
+ "kind": "field",
341
+ "name": "_unmutate",
342
+ "type": {
343
+ "text": "ReturnType<typeof onMutation> | undefined"
344
+ }
345
+ },
346
+ {
347
+ "kind": "field",
348
+ "name": "_render",
349
+ "type": {
350
+ "text": "() => void | undefined"
351
+ }
352
+ }
353
+ ],
354
+ "superclass": {
355
+ "name": "UHTMLComboboxElement",
356
+ "package": "@u-elements/u-combobox"
357
+ },
358
+ "tagName": "ds-suggestion",
359
+ "customElement": true
360
+ }
361
+ ],
362
+ "exports": [
363
+ {
364
+ "kind": "js",
365
+ "name": "DSSuggestionElement",
366
+ "declaration": {
367
+ "name": "DSSuggestionElement",
368
+ "module": "suggestion.ts"
369
+ }
370
+ },
371
+ {
372
+ "kind": "custom-element-definition",
373
+ "name": "ds-suggestion",
374
+ "declaration": {
375
+ "name": "DSSuggestionElement",
376
+ "module": "suggestion.ts"
377
+ }
378
+ }
379
+ ]
380
+ },
381
+ {
382
+ "kind": "javascript-module",
383
+ "path": "tabs.ts",
384
+ "declarations": [
385
+ {
386
+ "kind": "class",
387
+ "description": "",
388
+ "name": "DSTabsElement",
389
+ "superclass": {
390
+ "module": "tabs.ts"
391
+ },
392
+ "tagName": "ds-tabs",
393
+ "customElement": true
394
+ },
395
+ {
396
+ "kind": "class",
397
+ "description": "",
398
+ "name": "DSTabListElement",
399
+ "superclass": {
400
+ "module": "tabs.ts"
401
+ },
402
+ "tagName": "ds-tablist",
403
+ "customElement": true
404
+ },
405
+ {
406
+ "kind": "class",
407
+ "description": "",
408
+ "name": "DSTabElement",
409
+ "superclass": {
410
+ "module": "tabs.ts"
411
+ },
412
+ "tagName": "ds-tab",
413
+ "customElement": true
414
+ },
415
+ {
416
+ "kind": "class",
417
+ "description": "",
418
+ "name": "DSTabPanelElement",
419
+ "superclass": {
420
+ "module": "tabs.ts"
421
+ },
422
+ "tagName": "ds-tabpanel",
423
+ "customElement": true
424
+ }
425
+ ],
426
+ "exports": [
427
+ {
428
+ "kind": "js",
429
+ "name": "DSTabsElement",
430
+ "declaration": {
431
+ "name": "DSTabsElement",
432
+ "module": "tabs.ts"
433
+ }
434
+ },
435
+ {
436
+ "kind": "js",
437
+ "name": "DSTabListElement",
438
+ "declaration": {
439
+ "name": "DSTabListElement",
440
+ "module": "tabs.ts"
441
+ }
442
+ },
443
+ {
444
+ "kind": "js",
445
+ "name": "DSTabElement",
446
+ "declaration": {
447
+ "name": "DSTabElement",
448
+ "module": "tabs.ts"
449
+ }
450
+ },
451
+ {
452
+ "kind": "js",
453
+ "name": "DSTabPanelElement",
454
+ "declaration": {
455
+ "name": "DSTabPanelElement",
456
+ "module": "tabs.ts"
457
+ }
458
+ },
459
+ {
460
+ "kind": "custom-element-definition",
461
+ "name": "ds-tabs",
462
+ "declaration": {
463
+ "name": "DSTabsElement",
464
+ "module": "tabs.ts"
465
+ }
466
+ },
467
+ {
468
+ "kind": "custom-element-definition",
469
+ "name": "ds-tablist",
470
+ "declaration": {
471
+ "name": "DSTabListElement",
472
+ "module": "tabs.ts"
473
+ }
474
+ },
475
+ {
476
+ "kind": "custom-element-definition",
477
+ "name": "ds-tab",
478
+ "declaration": {
479
+ "name": "DSTabElement",
480
+ "module": "tabs.ts"
481
+ }
482
+ },
483
+ {
484
+ "kind": "custom-element-definition",
485
+ "name": "ds-tabpanel",
486
+ "declaration": {
487
+ "name": "DSTabPanelElement",
488
+ "module": "tabs.ts"
489
+ }
490
+ }
491
+ ]
492
+ },
493
+ {
494
+ "kind": "javascript-module",
495
+ "path": "toggle-group.ts",
496
+ "declarations": [],
497
+ "exports": []
498
+ },
499
+ {
500
+ "kind": "javascript-module",
501
+ "path": "tooltip.ts",
502
+ "declarations": [
503
+ {
504
+ "kind": "function",
505
+ "name": "setTooltipElement",
506
+ "parameters": [
507
+ {
508
+ "name": "el",
509
+ "optional": true,
510
+ "type": {
511
+ "text": "HTMLElement | null"
512
+ },
513
+ "description": "The HTMLElement to use as tooltip"
514
+ }
515
+ ],
516
+ "description": "setTooltipElement"
517
+ }
518
+ ],
519
+ "exports": [
520
+ {
521
+ "kind": "js",
522
+ "name": "setTooltipElement",
523
+ "declaration": {
524
+ "name": "setTooltipElement",
525
+ "module": "tooltip.ts"
526
+ }
527
+ }
528
+ ]
529
+ },
530
+ {
531
+ "kind": "javascript-module",
532
+ "path": "utils.ts",
533
+ "declarations": [
534
+ {
535
+ "kind": "variable",
536
+ "name": "QUICK_EVENT",
537
+ "type": {
538
+ "text": "object"
539
+ },
540
+ "default": "{ passive: true, capture: true }"
541
+ },
542
+ {
543
+ "kind": "function",
544
+ "name": "isBrowser"
545
+ },
546
+ {
547
+ "kind": "function",
548
+ "name": "isWindows"
549
+ },
550
+ {
551
+ "kind": "variable",
552
+ "name": "DSElement"
553
+ },
554
+ {
555
+ "kind": "function",
556
+ "name": "debounce",
557
+ "parameters": [
558
+ {
559
+ "name": "callback",
560
+ "type": {
561
+ "text": "(...args: T) => void"
562
+ }
563
+ },
564
+ {
565
+ "name": "delay",
566
+ "type": {
567
+ "text": "number"
568
+ }
569
+ }
570
+ ]
571
+ },
572
+ {
573
+ "kind": "function",
574
+ "name": "warn",
575
+ "parameters": [
576
+ {
577
+ "name": "message",
578
+ "type": {
579
+ "text": "string"
580
+ }
581
+ },
582
+ {
583
+ "name": "args",
584
+ "type": {
585
+ "text": "Parameters<typeof console.warn>"
586
+ }
587
+ }
588
+ ]
589
+ },
590
+ {
591
+ "kind": "function",
592
+ "name": "attr",
593
+ "return": {
594
+ "type": {
595
+ "text": "string | null"
596
+ }
597
+ },
598
+ "parameters": [
599
+ {
600
+ "name": "el",
601
+ "type": {
602
+ "text": "Element"
603
+ },
604
+ "description": "The Element to read/write attributes from"
605
+ },
606
+ {
607
+ "name": "name",
608
+ "type": {
609
+ "text": "string"
610
+ },
611
+ "description": "The attribute name to get, set or remove, or a object to set multiple attributes"
612
+ },
613
+ {
614
+ "name": "value",
615
+ "optional": true,
616
+ "type": {
617
+ "text": "string | null"
618
+ },
619
+ "description": "A valid attribute value or null to remove attribute"
620
+ }
621
+ ],
622
+ "description": "attr"
623
+ },
624
+ {
625
+ "kind": "function",
626
+ "name": "attrOrCSS",
627
+ "parameters": [
628
+ {
629
+ "name": "el",
630
+ "type": {
631
+ "text": "Element"
632
+ },
633
+ "description": "The Element to read attributes/CSS from"
634
+ },
635
+ {
636
+ "name": "name",
637
+ "type": {
638
+ "text": "string"
639
+ },
640
+ "description": "Attribute or CSS property to get"
641
+ }
642
+ ],
643
+ "description": "attrOrCSS",
644
+ "return": {
645
+ "type": {
646
+ "text": ""
647
+ }
648
+ }
649
+ },
650
+ {
651
+ "kind": "function",
652
+ "name": "on",
653
+ "return": {
654
+ "type": {
655
+ "text": "(() => void)"
656
+ }
657
+ },
658
+ "parameters": [
659
+ {
660
+ "name": "el",
661
+ "type": {
662
+ "text": "Node | Window | ShadowRoot"
663
+ },
664
+ "description": "The Element to use as EventTarget"
665
+ },
666
+ {
667
+ "name": "rest",
668
+ "type": {
669
+ "text": "Parameters<typeof Element.prototype.addEventListener>"
670
+ }
671
+ },
672
+ {
673
+ "description": "A space separated string of event types",
674
+ "name": "types"
675
+ },
676
+ {
677
+ "description": "An event listener function or listener object",
678
+ "name": "listener"
679
+ }
680
+ ],
681
+ "description": "on"
682
+ },
683
+ {
684
+ "kind": "function",
685
+ "name": "off",
686
+ "return": {
687
+ "type": {
688
+ "text": "void"
689
+ }
690
+ },
691
+ "parameters": [
692
+ {
693
+ "name": "el",
694
+ "type": {
695
+ "text": "Node | Window | ShadowRoot"
696
+ },
697
+ "description": "The Element to use as EventTarget"
698
+ },
699
+ {
700
+ "name": "rest",
701
+ "type": {
702
+ "text": "Parameters<typeof Element.prototype.removeEventListener>"
703
+ }
704
+ },
705
+ {
706
+ "description": "A space separated string of event types",
707
+ "name": "types"
708
+ },
709
+ {
710
+ "description": "An event listener function or listener object",
711
+ "name": "listener"
712
+ }
713
+ ],
714
+ "description": "off"
715
+ },
716
+ {
717
+ "kind": "function",
718
+ "name": "onHotReload",
719
+ "parameters": [
720
+ {
721
+ "name": "key",
722
+ "type": {
723
+ "text": "string"
724
+ },
725
+ "description": "The key to identify setup and corresponding cleanup"
726
+ },
727
+ {
728
+ "name": "setup",
729
+ "type": {
730
+ "text": "() => Array<() => void>"
731
+ }
732
+ },
733
+ {
734
+ "description": "The callback to run when the page is ready",
735
+ "name": "callback"
736
+ }
737
+ ],
738
+ "description": "onHotReload"
739
+ },
740
+ {
741
+ "kind": "function",
742
+ "name": "onMutation",
743
+ "parameters": [
744
+ {
745
+ "name": "el",
746
+ "type": {
747
+ "text": "Node"
748
+ }
749
+ },
750
+ {
751
+ "name": "callback",
752
+ "type": {
753
+ "text": "(observer: MutationObserver) => void"
754
+ }
755
+ },
756
+ {
757
+ "name": "options",
758
+ "type": {
759
+ "text": "MutationObserverInit"
760
+ }
761
+ }
762
+ ]
763
+ },
764
+ {
765
+ "kind": "function",
766
+ "name": "setTextWithoutMutation",
767
+ "parameters": [
768
+ {
769
+ "name": "el",
770
+ "type": {
771
+ "text": "Element"
772
+ }
773
+ },
774
+ {
775
+ "name": "text",
776
+ "type": {
777
+ "text": "string | null"
778
+ }
779
+ }
780
+ ],
781
+ "description": "Many mutation observers need to watch childNodes, thus running on all `textContent` changes\nThis utility allows skipping mutation observers while updating textContent"
782
+ },
783
+ {
784
+ "kind": "function",
785
+ "name": "tag",
786
+ "return": {
787
+ "type": {
788
+ "text": ""
789
+ }
790
+ },
791
+ "parameters": [
792
+ {
793
+ "name": "tagName",
794
+ "type": {
795
+ "text": "TagName"
796
+ },
797
+ "description": "The tagname of element to create"
798
+ },
799
+ {
800
+ "name": "attrs",
801
+ "optional": true,
802
+ "type": {
803
+ "text": "Record<string, string | null> | null"
804
+ },
805
+ "description": "Optional attributes to add to the element"
806
+ },
807
+ {
808
+ "description": "Optional text content to add to the element",
809
+ "name": "text"
810
+ }
811
+ ],
812
+ "description": "tag"
813
+ },
814
+ {
815
+ "kind": "variable",
816
+ "name": "customElements",
817
+ "type": {
818
+ "text": "object"
819
+ },
820
+ "default": "{ define: (name: string, instance: CustomElementConstructor) => !isBrowser() || window.customElements.get(name) || window.customElements.define(name, instance), }",
821
+ "description": "customElements.define"
822
+ },
823
+ {
824
+ "kind": "function",
825
+ "name": "useId",
826
+ "parameters": [
827
+ {
828
+ "name": "el",
829
+ "optional": true,
830
+ "type": {
831
+ "text": "Element | null"
832
+ }
833
+ }
834
+ ]
835
+ }
836
+ ],
837
+ "exports": [
838
+ {
839
+ "kind": "js",
840
+ "name": "QUICK_EVENT",
841
+ "declaration": {
842
+ "name": "QUICK_EVENT",
843
+ "module": "utils.ts"
844
+ }
845
+ },
846
+ {
847
+ "kind": "js",
848
+ "name": "isBrowser",
849
+ "declaration": {
850
+ "name": "isBrowser",
851
+ "module": "utils.ts"
852
+ }
853
+ },
854
+ {
855
+ "kind": "js",
856
+ "name": "isWindows",
857
+ "declaration": {
858
+ "name": "isWindows",
859
+ "module": "utils.ts"
860
+ }
861
+ },
862
+ {
863
+ "kind": "js",
864
+ "name": "DSElement",
865
+ "declaration": {
866
+ "name": "DSElement",
867
+ "module": "utils.ts"
868
+ }
869
+ },
870
+ {
871
+ "kind": "js",
872
+ "name": "debounce",
873
+ "declaration": {
874
+ "name": "debounce",
875
+ "module": "utils.ts"
876
+ }
877
+ },
878
+ {
879
+ "kind": "js",
880
+ "name": "warn",
881
+ "declaration": {
882
+ "name": "warn",
883
+ "module": "utils.ts"
884
+ }
885
+ },
886
+ {
887
+ "kind": "js",
888
+ "name": "attr",
889
+ "declaration": {
890
+ "name": "attr",
891
+ "module": "utils.ts"
892
+ }
893
+ },
894
+ {
895
+ "kind": "js",
896
+ "name": "attrOrCSS",
897
+ "declaration": {
898
+ "name": "attrOrCSS",
899
+ "module": "utils.ts"
900
+ }
901
+ },
902
+ {
903
+ "kind": "js",
904
+ "name": "on",
905
+ "declaration": {
906
+ "name": "on",
907
+ "module": "utils.ts"
908
+ }
909
+ },
910
+ {
911
+ "kind": "js",
912
+ "name": "off",
913
+ "declaration": {
914
+ "name": "off",
915
+ "module": "utils.ts"
916
+ }
917
+ },
918
+ {
919
+ "kind": "js",
920
+ "name": "onHotReload",
921
+ "declaration": {
922
+ "name": "onHotReload",
923
+ "module": "utils.ts"
924
+ }
925
+ },
926
+ {
927
+ "kind": "js",
928
+ "name": "onMutation",
929
+ "declaration": {
930
+ "name": "onMutation",
931
+ "module": "utils.ts"
932
+ }
933
+ },
934
+ {
935
+ "kind": "js",
936
+ "name": "setTextWithoutMutation",
937
+ "declaration": {
938
+ "name": "setTextWithoutMutation",
939
+ "module": "utils.ts"
940
+ }
941
+ },
942
+ {
943
+ "kind": "js",
944
+ "name": "tag",
945
+ "declaration": {
946
+ "name": "tag",
947
+ "module": "utils.ts"
948
+ }
949
+ },
950
+ {
951
+ "kind": "js",
952
+ "name": "customElements",
953
+ "declaration": {
954
+ "name": "customElements",
955
+ "module": "utils.ts"
956
+ }
957
+ },
958
+ {
959
+ "kind": "custom-element-definition",
960
+ "name": "name",
961
+ "declaration": {
962
+ "name": "instance",
963
+ "module": "utils.ts"
964
+ }
965
+ },
966
+ {
967
+ "kind": "js",
968
+ "name": "useId",
969
+ "declaration": {
970
+ "name": "useId",
971
+ "module": "utils.ts"
972
+ }
973
+ }
974
+ ]
975
+ }
976
+ ]
977
+ }