@swc-react/avatar 0.35.0 → 0.35.1-rc.25
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 +22 -22
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -10,28 +10,30 @@ export declare const Avatar: 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;
|
|
13
23
|
defaultChecked?: boolean | undefined;
|
|
14
24
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
15
25
|
suppressContentEditableWarning?: boolean | undefined;
|
|
16
26
|
suppressHydrationWarning?: boolean | undefined;
|
|
17
|
-
accessKey?: string | undefined;
|
|
18
27
|
autoFocus?: boolean | undefined;
|
|
19
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
20
28
|
contextMenu?: string | undefined;
|
|
21
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
22
|
-
hidden?: boolean | undefined;
|
|
23
|
-
lang?: string | undefined;
|
|
24
|
-
nonce?: string | undefined;
|
|
25
29
|
placeholder?: string | undefined;
|
|
26
30
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
27
|
-
translate?: "yes" | "no" | undefined;
|
|
28
31
|
radioGroup?: string | undefined;
|
|
29
32
|
role?: import("react").AriaRole | undefined;
|
|
30
33
|
about?: string | undefined;
|
|
31
34
|
content?: string | undefined;
|
|
32
35
|
datatype?: string | undefined;
|
|
33
36
|
inlist?: any;
|
|
34
|
-
prefix?: string | undefined;
|
|
35
37
|
property?: string | undefined;
|
|
36
38
|
resource?: string | undefined;
|
|
37
39
|
rev?: string | undefined;
|
|
@@ -49,11 +51,10 @@ export declare const Avatar: import("react").ComponentType<Partial<{
|
|
|
49
51
|
results?: number | undefined;
|
|
50
52
|
security?: string | undefined;
|
|
51
53
|
unselectable?: "on" | "off" | undefined;
|
|
52
|
-
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
53
54
|
is?: string | undefined;
|
|
54
55
|
'aria-activedescendant'?: string | undefined;
|
|
55
56
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
56
|
-
'aria-autocomplete'?: "
|
|
57
|
+
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
|
57
58
|
'aria-braillelabel'?: string | undefined;
|
|
58
59
|
'aria-brailleroledescription'?: string | undefined;
|
|
59
60
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
@@ -103,7 +104,6 @@ export declare const Avatar: import("react").ComponentType<Partial<{
|
|
|
103
104
|
'aria-valuemin'?: number | undefined;
|
|
104
105
|
'aria-valuenow'?: number | undefined;
|
|
105
106
|
'aria-valuetext'?: string | undefined;
|
|
106
|
-
children?: import("react").ReactNode;
|
|
107
107
|
dangerouslySetInnerHTML?: {
|
|
108
108
|
__html: string | TrustedHTML;
|
|
109
109
|
} | undefined;
|
|
@@ -290,7 +290,16 @@ export declare const Avatar: import("react").ComponentType<Partial<{
|
|
|
290
290
|
autofocus: boolean;
|
|
291
291
|
normalize: () => void;
|
|
292
292
|
anchorElement: HTMLAnchorElement;
|
|
293
|
-
|
|
293
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
294
|
+
isUpdatePending: boolean;
|
|
295
|
+
hasUpdated: boolean;
|
|
296
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
297
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
298
|
+
connectedCallback: () => void;
|
|
299
|
+
disconnectedCallback: () => void;
|
|
300
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
301
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
302
|
+
readonly updateComplete: Promise<boolean>;
|
|
294
303
|
readonly accessKeyLabel: string;
|
|
295
304
|
autocapitalize: string;
|
|
296
305
|
inert: boolean;
|
|
@@ -583,18 +592,9 @@ export declare const Avatar: import("react").ComponentType<Partial<{
|
|
|
583
592
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
584
593
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
585
594
|
readonly dataset: DOMStringMap;
|
|
595
|
+
src: string;
|
|
586
596
|
readonly focusElement: HTMLElement;
|
|
587
|
-
connectedCallback: () => void;
|
|
588
597
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
589
|
-
disconnectedCallback: () => void;
|
|
590
|
-
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
591
|
-
isUpdatePending: boolean;
|
|
592
|
-
hasUpdated: boolean;
|
|
593
|
-
addController: (controller: import("lit").ReactiveController) => void;
|
|
594
|
-
removeController: (controller: import("lit").ReactiveController) => void;
|
|
595
|
-
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
596
|
-
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
597
|
-
readonly updateComplete: Promise<boolean>;
|
|
598
598
|
isLTR: boolean;
|
|
599
599
|
hasVisibleFocusInTree: () => boolean;
|
|
600
600
|
renderAnchor: (options: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/avatar",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.1-rc.25+b3feb0eb9",
|
|
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/avatar": "^0.35.
|
|
33
|
+
"@spectrum-web-components/avatar": "^0.35.1-rc.25+b3feb0eb9"
|
|
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": "b3feb0eb979ff059457a00125919c13ea1afe9bc"
|
|
44
44
|
}
|