@digdir/designsystemet-web 1.13.2 → 1.13.3

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