@swc-react/toast 0.34.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 +12 -2
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
2
3
|
export declare const Toast: import("react").ComponentType<Partial<{
|
|
3
4
|
dir?: string | undefined;
|
|
5
|
+
rel?: string | undefined;
|
|
4
6
|
id?: string | undefined;
|
|
5
7
|
className?: string | undefined;
|
|
6
8
|
slot?: string | undefined;
|
|
@@ -10,12 +12,14 @@ export declare const Toast: import("react").ComponentType<Partial<{
|
|
|
10
12
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
11
13
|
role?: import("react").AriaRole | undefined;
|
|
12
14
|
'aria-label'?: string | undefined;
|
|
15
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
13
16
|
hidden?: boolean | undefined;
|
|
14
17
|
defaultChecked?: boolean | undefined;
|
|
15
18
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
16
19
|
suppressContentEditableWarning?: boolean | undefined;
|
|
17
20
|
suppressHydrationWarning?: boolean | undefined;
|
|
18
21
|
accessKey?: string | undefined;
|
|
22
|
+
autoFocus?: boolean | undefined;
|
|
19
23
|
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
20
24
|
contextMenu?: string | undefined;
|
|
21
25
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -26,11 +30,13 @@ export declare const Toast: import("react").ComponentType<Partial<{
|
|
|
26
30
|
translate?: "yes" | "no" | undefined;
|
|
27
31
|
radioGroup?: string | undefined;
|
|
28
32
|
about?: string | undefined;
|
|
33
|
+
content?: string | undefined;
|
|
29
34
|
datatype?: string | undefined;
|
|
30
35
|
inlist?: any;
|
|
31
36
|
prefix?: string | undefined;
|
|
32
37
|
property?: string | undefined;
|
|
33
38
|
resource?: string | undefined;
|
|
39
|
+
rev?: string | undefined;
|
|
34
40
|
typeof?: string | undefined;
|
|
35
41
|
vocab?: string | undefined;
|
|
36
42
|
autoCapitalize?: string | undefined;
|
|
@@ -50,14 +56,18 @@ export declare const Toast: import("react").ComponentType<Partial<{
|
|
|
50
56
|
'aria-activedescendant'?: string | undefined;
|
|
51
57
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
52
58
|
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | 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 | "true" | "time" | "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'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
63
73
|
'aria-errormessage'?: string | undefined;
|
|
@@ -65,7 +75,6 @@ export declare const Toast: import("react").ComponentType<Partial<{
|
|
|
65
75
|
'aria-flowto'?: string | undefined;
|
|
66
76
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
67
77
|
'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "grid" | "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-labelledby'?: string | undefined;
|
|
@@ -85,6 +94,7 @@ export declare const Toast: import("react").ComponentType<Partial<{
|
|
|
85
94
|
'aria-roledescription'?: string | undefined;
|
|
86
95
|
'aria-rowcount'?: number | undefined;
|
|
87
96
|
'aria-rowindex'?: number | undefined;
|
|
97
|
+
'aria-rowindextext'?: string | undefined;
|
|
88
98
|
'aria-rowspan'?: number | undefined;
|
|
89
99
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
90
100
|
'aria-setsize'?: number | undefined;
|
|
@@ -95,7 +105,7 @@ export declare const Toast: import("react").ComponentType<Partial<{
|
|
|
95
105
|
'aria-valuetext'?: string | undefined;
|
|
96
106
|
children?: import("react").ReactNode;
|
|
97
107
|
dangerouslySetInnerHTML?: {
|
|
98
|
-
__html: string;
|
|
108
|
+
__html: string | TrustedHTML;
|
|
99
109
|
} | undefined;
|
|
100
110
|
onCopy?: import("react").ClipboardEventHandler<import("toast/src").Toast> | undefined;
|
|
101
111
|
onCopyCapture?: import("react").ClipboardEventHandler<import("toast/src").Toast> | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/toast",
|
|
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/toast": "^0.
|
|
33
|
+
"@spectrum-web-components/toast": "^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
|
}
|