@swc-react/toast 0.35.1-rc.26 → 0.36.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 -23
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -10,32 +10,30 @@ export declare const Toast: import("react").ComponentType<Partial<{
|
|
|
10
10
|
title?: string | undefined;
|
|
11
11
|
tabIndex?: number | undefined;
|
|
12
12
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
13
|
-
accessKey?: string | undefined;
|
|
14
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
15
|
-
hidden?: boolean | undefined;
|
|
16
|
-
lang?: string | undefined;
|
|
17
|
-
translate?: "yes" | "no" | undefined;
|
|
18
|
-
prefix?: string | undefined;
|
|
19
|
-
children?: import("react").ReactNode;
|
|
20
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
21
|
-
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
22
|
-
nonce?: string | undefined;
|
|
23
13
|
role?: import("react").AriaRole | undefined;
|
|
24
14
|
'aria-label'?: string | undefined;
|
|
25
15
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
16
|
+
hidden?: boolean | undefined;
|
|
26
17
|
defaultChecked?: boolean | undefined;
|
|
27
18
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
28
19
|
suppressContentEditableWarning?: boolean | undefined;
|
|
29
20
|
suppressHydrationWarning?: boolean | undefined;
|
|
21
|
+
accessKey?: string | undefined;
|
|
30
22
|
autoFocus?: boolean | undefined;
|
|
23
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
31
24
|
contextMenu?: string | undefined;
|
|
25
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
26
|
+
lang?: string | undefined;
|
|
27
|
+
nonce?: string | undefined;
|
|
32
28
|
placeholder?: string | undefined;
|
|
33
29
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
30
|
+
translate?: "yes" | "no" | undefined;
|
|
34
31
|
radioGroup?: string | undefined;
|
|
35
32
|
about?: string | undefined;
|
|
36
33
|
content?: string | undefined;
|
|
37
34
|
datatype?: string | undefined;
|
|
38
35
|
inlist?: any;
|
|
36
|
+
prefix?: string | undefined;
|
|
39
37
|
property?: string | undefined;
|
|
40
38
|
resource?: string | undefined;
|
|
41
39
|
rev?: string | undefined;
|
|
@@ -53,6 +51,7 @@ export declare const Toast: import("react").ComponentType<Partial<{
|
|
|
53
51
|
results?: number | undefined;
|
|
54
52
|
security?: string | undefined;
|
|
55
53
|
unselectable?: "on" | "off" | undefined;
|
|
54
|
+
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
56
55
|
is?: string | undefined;
|
|
57
56
|
'aria-activedescendant'?: string | undefined;
|
|
58
57
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
@@ -104,6 +103,7 @@ export declare const Toast: import("react").ComponentType<Partial<{
|
|
|
104
103
|
'aria-valuemin'?: number | undefined;
|
|
105
104
|
'aria-valuenow'?: number | undefined;
|
|
106
105
|
'aria-valuetext'?: string | undefined;
|
|
106
|
+
children?: import("react").ReactNode;
|
|
107
107
|
dangerouslySetInnerHTML?: {
|
|
108
108
|
__html: string | TrustedHTML;
|
|
109
109
|
} | undefined;
|
|
@@ -284,16 +284,9 @@ export declare const Toast: import("react").ComponentType<Partial<{
|
|
|
284
284
|
autofocus: boolean;
|
|
285
285
|
normalize: () => void;
|
|
286
286
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
addController: (controller: import("lit").ReactiveController) => void;
|
|
291
|
-
removeController: (controller: import("lit").ReactiveController) => void;
|
|
292
|
-
connectedCallback: () => void;
|
|
293
|
-
disconnectedCallback: () => void;
|
|
294
|
-
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
295
|
-
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
296
|
-
readonly updateComplete: Promise<boolean>;
|
|
287
|
+
variant: import("toast/src").ToastVariants;
|
|
288
|
+
open: boolean;
|
|
289
|
+
timeout: number | null;
|
|
297
290
|
readonly accessKeyLabel: string;
|
|
298
291
|
autocapitalize: string;
|
|
299
292
|
inert: boolean;
|
|
@@ -585,11 +578,18 @@ export declare const Toast: import("react").ComponentType<Partial<{
|
|
|
585
578
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
586
579
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
587
580
|
readonly dataset: DOMStringMap;
|
|
588
|
-
variant: import("toast/src").ToastVariants;
|
|
589
|
-
open: boolean;
|
|
590
|
-
timeout: number | null;
|
|
591
581
|
_timeout: number | null;
|
|
592
582
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
583
|
+
connectedCallback: () => void;
|
|
584
|
+
disconnectedCallback: () => void;
|
|
585
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
586
|
+
isUpdatePending: boolean;
|
|
587
|
+
hasUpdated: boolean;
|
|
588
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
589
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
590
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
591
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
592
|
+
readonly updateComplete: Promise<boolean>;
|
|
593
593
|
isLTR: boolean;
|
|
594
594
|
hasVisibleFocusInTree: () => boolean;
|
|
595
595
|
} & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/toast",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.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.36.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": "a532ff8a410abeefb54d9638a2316ae82570566e"
|
|
44
44
|
}
|