@swc-react/avatar 0.34.1-rc.0 → 0.35.1-rc.15

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.
Files changed (2) hide show
  1. package/next.d.ts +33 -24
  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 Avatar: 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;
@@ -8,28 +10,33 @@ export declare const Avatar: import("react").ComponentType<Partial<{
8
10
  title?: string | undefined;
9
11
  tabIndex?: number | undefined;
10
12
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
11
- defaultChecked?: boolean | undefined;
12
- defaultValue?: string | number | readonly string[] | undefined;
13
- suppressContentEditableWarning?: boolean | undefined;
14
- suppressHydrationWarning?: boolean | undefined;
15
13
  accessKey?: string | undefined;
16
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
17
- contextMenu?: string | undefined;
18
14
  draggable?: (boolean | "true" | "false") | undefined;
19
15
  hidden?: boolean | undefined;
20
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;
21
22
  nonce?: string | undefined;
23
+ defaultChecked?: boolean | undefined;
24
+ defaultValue?: string | number | readonly string[] | undefined;
25
+ suppressContentEditableWarning?: boolean | undefined;
26
+ suppressHydrationWarning?: boolean | undefined;
27
+ autoFocus?: boolean | undefined;
28
+ contextMenu?: string | undefined;
22
29
  placeholder?: string | undefined;
23
30
  spellCheck?: (boolean | "true" | "false") | undefined;
24
- translate?: "yes" | "no" | undefined;
25
31
  radioGroup?: string | undefined;
26
32
  role?: import("react").AriaRole | undefined;
27
33
  about?: string | undefined;
34
+ content?: string | undefined;
28
35
  datatype?: string | undefined;
29
36
  inlist?: any;
30
- prefix?: string | undefined;
31
37
  property?: string | undefined;
32
38
  resource?: string | undefined;
39
+ rev?: string | undefined;
33
40
  typeof?: string | undefined;
34
41
  vocab?: string | undefined;
35
42
  autoCapitalize?: string | undefined;
@@ -44,19 +51,22 @@ export declare const Avatar: import("react").ComponentType<Partial<{
44
51
  results?: number | undefined;
45
52
  security?: string | undefined;
46
53
  unselectable?: "on" | "off" | undefined;
47
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
48
54
  is?: string | undefined;
49
55
  'aria-activedescendant'?: string | undefined;
50
56
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
51
- 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
57
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
58
+ 'aria-braillelabel'?: string | undefined;
59
+ 'aria-brailleroledescription'?: string | undefined;
52
60
  'aria-busy'?: (boolean | "true" | "false") | undefined;
53
61
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
54
62
  'aria-colcount'?: number | undefined;
55
63
  'aria-colindex'?: number | undefined;
64
+ 'aria-colindextext'?: string | undefined;
56
65
  'aria-colspan'?: number | undefined;
57
66
  'aria-controls'?: string | undefined;
58
67
  'aria-current'?: boolean | "true" | "time" | "false" | "page" | "step" | "location" | "date" | undefined;
59
68
  'aria-describedby'?: string | undefined;
69
+ 'aria-description'?: string | undefined;
60
70
  'aria-details'?: string | undefined;
61
71
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
62
72
  'aria-errormessage'?: string | undefined;
@@ -85,6 +95,7 @@ export declare const Avatar: import("react").ComponentType<Partial<{
85
95
  'aria-roledescription'?: string | undefined;
86
96
  'aria-rowcount'?: number | undefined;
87
97
  'aria-rowindex'?: number | undefined;
98
+ 'aria-rowindextext'?: string | undefined;
88
99
  'aria-rowspan'?: number | undefined;
89
100
  'aria-selected'?: (boolean | "true" | "false") | undefined;
90
101
  'aria-setsize'?: number | undefined;
@@ -93,9 +104,8 @@ export declare const Avatar: import("react").ComponentType<Partial<{
93
104
  'aria-valuemin'?: number | undefined;
94
105
  'aria-valuenow'?: number | undefined;
95
106
  'aria-valuetext'?: string | undefined;
96
- children?: import("react").ReactNode;
97
107
  dangerouslySetInnerHTML?: {
98
- __html: string;
108
+ __html: string | TrustedHTML;
99
109
  } | undefined;
100
110
  onCopy?: import("react").ClipboardEventHandler<import("avatar/src").Avatar> | undefined;
101
111
  onCopyCapture?: import("react").ClipboardEventHandler<import("avatar/src").Avatar> | undefined;
@@ -267,7 +277,6 @@ export declare const Avatar: import("react").ComponentType<Partial<{
267
277
  label?: string | undefined;
268
278
  href?: string | undefined;
269
279
  target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
270
- rel?: string | undefined;
271
280
  ariaHidden: string | null;
272
281
  animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
273
282
  blur: () => void;
@@ -281,7 +290,16 @@ export declare const Avatar: import("react").ComponentType<Partial<{
281
290
  autofocus: boolean;
282
291
  normalize: () => void;
283
292
  anchorElement: HTMLAnchorElement;
284
- src: string;
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>;
285
303
  readonly accessKeyLabel: string;
286
304
  autocapitalize: string;
287
305
  inert: boolean;
@@ -574,18 +592,9 @@ export declare const Avatar: import("react").ComponentType<Partial<{
574
592
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
575
593
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
576
594
  readonly dataset: DOMStringMap;
595
+ src: string;
577
596
  readonly focusElement: HTMLElement;
578
- connectedCallback: () => void;
579
597
  readonly renderOptions: import("lit-html").RenderOptions;
580
- disconnectedCallback: () => void;
581
- readonly renderRoot: HTMLElement | ShadowRoot;
582
- isUpdatePending: boolean;
583
- hasUpdated: boolean;
584
- addController: (controller: import("lit").ReactiveController) => void;
585
- removeController: (controller: import("lit").ReactiveController) => void;
586
- attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
587
- requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
588
- readonly updateComplete: Promise<boolean>;
589
598
  isLTR: boolean;
590
599
  hasVisibleFocusInTree: () => boolean;
591
600
  renderAnchor: (options: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/avatar",
3
- "version": "0.34.1-rc.0+1647bfed5",
3
+ "version": "0.35.1-rc.15+9b76319e4",
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.34.1-rc.0+1647bfed5"
33
+ "@spectrum-web-components/avatar": "^0.35.1-rc.15+9b76319e4"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "next": "~13.4"
@@ -40,5 +40,5 @@
40
40
  "optional": true
41
41
  }
42
42
  },
43
- "gitHead": "1647bfed54cb29f3513343cd0d2c2d9e73e1c508"
43
+ "gitHead": "9b76319e4f1cc7cb0dd03e9d9debf544e5bed4e9"
44
44
  }