@swc-react/accordion 0.34.1-rc.0 → 0.35.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/next.d.ts +23 -4
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
2
3
|
export declare const Accordion: import("react").ComponentType<Partial<{
|
|
3
4
|
dir?: string | undefined;
|
|
4
5
|
slot?: string | undefined;
|
|
@@ -6,6 +7,7 @@ export declare const Accordion: import("react").ComponentType<Partial<{
|
|
|
6
7
|
title?: string | undefined;
|
|
7
8
|
tabIndex?: number | undefined;
|
|
8
9
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
10
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
9
11
|
accessKey?: string | undefined;
|
|
10
12
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
11
13
|
hidden?: boolean | undefined;
|
|
@@ -22,16 +24,20 @@ export declare const Accordion: import("react").ComponentType<Partial<{
|
|
|
22
24
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
23
25
|
suppressContentEditableWarning?: boolean | undefined;
|
|
24
26
|
suppressHydrationWarning?: boolean | undefined;
|
|
27
|
+
autoFocus?: boolean | undefined;
|
|
25
28
|
contextMenu?: string | undefined;
|
|
26
29
|
placeholder?: string | undefined;
|
|
27
30
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
28
31
|
radioGroup?: string | undefined;
|
|
29
32
|
role?: import("react").AriaRole | undefined;
|
|
30
33
|
about?: string | undefined;
|
|
34
|
+
content?: string | undefined;
|
|
31
35
|
datatype?: string | undefined;
|
|
32
36
|
inlist?: any;
|
|
33
37
|
property?: string | undefined;
|
|
38
|
+
rel?: string | undefined;
|
|
34
39
|
resource?: string | undefined;
|
|
40
|
+
rev?: string | undefined;
|
|
35
41
|
typeof?: string | undefined;
|
|
36
42
|
vocab?: string | undefined;
|
|
37
43
|
autoCapitalize?: string | undefined;
|
|
@@ -50,14 +56,18 @@ export declare const Accordion: import("react").ComponentType<Partial<{
|
|
|
50
56
|
'aria-activedescendant'?: string | undefined;
|
|
51
57
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
52
58
|
'aria-autocomplete'?: "both" | "none" | "list" | "inline" | undefined;
|
|
59
|
+
'aria-braillelabel'?: string | undefined;
|
|
60
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
53
61
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
54
62
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
55
63
|
'aria-colcount'?: number | undefined;
|
|
56
64
|
'aria-colindex'?: number | undefined;
|
|
65
|
+
'aria-colindextext'?: string | undefined;
|
|
57
66
|
'aria-colspan'?: number | undefined;
|
|
58
67
|
'aria-controls'?: string | undefined;
|
|
59
68
|
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
60
69
|
'aria-describedby'?: string | undefined;
|
|
70
|
+
'aria-description'?: string | undefined;
|
|
61
71
|
'aria-details'?: string | undefined;
|
|
62
72
|
'aria-dropeffect'?: "copy" | "link" | "none" | "execute" | "move" | "popup" | undefined;
|
|
63
73
|
'aria-errormessage'?: string | undefined;
|
|
@@ -65,7 +75,6 @@ export declare const Accordion: import("react").ComponentType<Partial<{
|
|
|
65
75
|
'aria-flowto'?: string | undefined;
|
|
66
76
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
67
77
|
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "true" | "false" | "listbox" | "tree" | undefined;
|
|
68
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
69
78
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
70
79
|
'aria-keyshortcuts'?: string | undefined;
|
|
71
80
|
'aria-label'?: string | undefined;
|
|
@@ -86,6 +95,7 @@ export declare const Accordion: import("react").ComponentType<Partial<{
|
|
|
86
95
|
'aria-roledescription'?: string | undefined;
|
|
87
96
|
'aria-rowcount'?: number | undefined;
|
|
88
97
|
'aria-rowindex'?: number | undefined;
|
|
98
|
+
'aria-rowindextext'?: string | undefined;
|
|
89
99
|
'aria-rowspan'?: number | undefined;
|
|
90
100
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
91
101
|
'aria-setsize'?: number | undefined;
|
|
@@ -95,7 +105,7 @@ export declare const Accordion: import("react").ComponentType<Partial<{
|
|
|
95
105
|
'aria-valuenow'?: number | undefined;
|
|
96
106
|
'aria-valuetext'?: string | undefined;
|
|
97
107
|
dangerouslySetInnerHTML?: {
|
|
98
|
-
__html: string;
|
|
108
|
+
__html: string | TrustedHTML;
|
|
99
109
|
} | undefined;
|
|
100
110
|
onCopy?: import("react").ClipboardEventHandler<import("accordion/src").Accordion> | undefined;
|
|
101
111
|
onCopyCapture?: import("react").ClipboardEventHandler<import("accordion/src").Accordion> | undefined;
|
|
@@ -590,6 +600,7 @@ export declare const AccordionItem: import("react").ComponentType<Partial<{
|
|
|
590
600
|
title?: string | undefined;
|
|
591
601
|
tabIndex?: number | undefined;
|
|
592
602
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
603
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
593
604
|
accessKey?: string | undefined;
|
|
594
605
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
595
606
|
hidden?: boolean | undefined;
|
|
@@ -606,16 +617,20 @@ export declare const AccordionItem: import("react").ComponentType<Partial<{
|
|
|
606
617
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
607
618
|
suppressContentEditableWarning?: boolean | undefined;
|
|
608
619
|
suppressHydrationWarning?: boolean | undefined;
|
|
620
|
+
autoFocus?: boolean | undefined;
|
|
609
621
|
contextMenu?: string | undefined;
|
|
610
622
|
placeholder?: string | undefined;
|
|
611
623
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
612
624
|
radioGroup?: string | undefined;
|
|
613
625
|
role?: import("react").AriaRole | undefined;
|
|
614
626
|
about?: string | undefined;
|
|
627
|
+
content?: string | undefined;
|
|
615
628
|
datatype?: string | undefined;
|
|
616
629
|
inlist?: any;
|
|
617
630
|
property?: string | undefined;
|
|
631
|
+
rel?: string | undefined;
|
|
618
632
|
resource?: string | undefined;
|
|
633
|
+
rev?: string | undefined;
|
|
619
634
|
typeof?: string | undefined;
|
|
620
635
|
vocab?: string | undefined;
|
|
621
636
|
autoCapitalize?: string | undefined;
|
|
@@ -634,14 +649,18 @@ export declare const AccordionItem: import("react").ComponentType<Partial<{
|
|
|
634
649
|
'aria-activedescendant'?: string | undefined;
|
|
635
650
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
636
651
|
'aria-autocomplete'?: "both" | "none" | "list" | "inline" | undefined;
|
|
652
|
+
'aria-braillelabel'?: string | undefined;
|
|
653
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
637
654
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
638
655
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
639
656
|
'aria-colcount'?: number | undefined;
|
|
640
657
|
'aria-colindex'?: number | undefined;
|
|
658
|
+
'aria-colindextext'?: string | undefined;
|
|
641
659
|
'aria-colspan'?: number | undefined;
|
|
642
660
|
'aria-controls'?: string | undefined;
|
|
643
661
|
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
644
662
|
'aria-describedby'?: string | undefined;
|
|
663
|
+
'aria-description'?: string | undefined;
|
|
645
664
|
'aria-details'?: string | undefined;
|
|
646
665
|
'aria-dropeffect'?: "copy" | "link" | "none" | "execute" | "move" | "popup" | undefined;
|
|
647
666
|
'aria-errormessage'?: string | undefined;
|
|
@@ -649,7 +668,6 @@ export declare const AccordionItem: import("react").ComponentType<Partial<{
|
|
|
649
668
|
'aria-flowto'?: string | undefined;
|
|
650
669
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
651
670
|
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "true" | "false" | "listbox" | "tree" | undefined;
|
|
652
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
653
671
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
654
672
|
'aria-keyshortcuts'?: string | undefined;
|
|
655
673
|
'aria-label'?: string | undefined;
|
|
@@ -670,6 +688,7 @@ export declare const AccordionItem: import("react").ComponentType<Partial<{
|
|
|
670
688
|
'aria-roledescription'?: string | undefined;
|
|
671
689
|
'aria-rowcount'?: number | undefined;
|
|
672
690
|
'aria-rowindex'?: number | undefined;
|
|
691
|
+
'aria-rowindextext'?: string | undefined;
|
|
673
692
|
'aria-rowspan'?: number | undefined;
|
|
674
693
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
675
694
|
'aria-setsize'?: number | undefined;
|
|
@@ -679,7 +698,7 @@ export declare const AccordionItem: import("react").ComponentType<Partial<{
|
|
|
679
698
|
'aria-valuenow'?: number | undefined;
|
|
680
699
|
'aria-valuetext'?: string | undefined;
|
|
681
700
|
dangerouslySetInnerHTML?: {
|
|
682
|
-
__html: string;
|
|
701
|
+
__html: string | TrustedHTML;
|
|
683
702
|
} | undefined;
|
|
684
703
|
onCopy?: import("react").ClipboardEventHandler<import("accordion/src").AccordionItem> | undefined;
|
|
685
704
|
onCopyCapture?: import("react").ClipboardEventHandler<import("accordion/src").AccordionItem> | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/accordion",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@lit-labs/react": "^1.1.1",
|
|
33
|
-
"@spectrum-web-components/accordion": "^0.
|
|
33
|
+
"@spectrum-web-components/accordion": "^0.35.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"next": "~13.4"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"optional": true
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "1ee5a6c92838cdf48321276d97f61c20f8476ac1"
|
|
44
44
|
}
|