@swc-react/avatar 0.35.1-rc.34 → 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.
Files changed (2) hide show
  1. package/next.d.ts +22 -22
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -10,30 +10,28 @@ 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;
23
13
  defaultChecked?: boolean | undefined;
24
14
  defaultValue?: string | number | readonly string[] | undefined;
25
15
  suppressContentEditableWarning?: boolean | undefined;
26
16
  suppressHydrationWarning?: boolean | undefined;
17
+ accessKey?: string | undefined;
27
18
  autoFocus?: boolean | undefined;
19
+ contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
28
20
  contextMenu?: string | undefined;
21
+ draggable?: (boolean | "true" | "false") | undefined;
22
+ hidden?: boolean | undefined;
23
+ lang?: string | undefined;
24
+ nonce?: string | undefined;
29
25
  placeholder?: string | undefined;
30
26
  spellCheck?: (boolean | "true" | "false") | undefined;
27
+ translate?: "yes" | "no" | undefined;
31
28
  radioGroup?: string | undefined;
32
29
  role?: import("react").AriaRole | undefined;
33
30
  about?: string | undefined;
34
31
  content?: string | undefined;
35
32
  datatype?: string | undefined;
36
33
  inlist?: any;
34
+ prefix?: string | undefined;
37
35
  property?: string | undefined;
38
36
  resource?: string | undefined;
39
37
  rev?: string | undefined;
@@ -51,10 +49,11 @@ export declare const Avatar: import("react").ComponentType<Partial<{
51
49
  results?: number | undefined;
52
50
  security?: string | undefined;
53
51
  unselectable?: "on" | "off" | undefined;
52
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
54
53
  is?: string | undefined;
55
54
  'aria-activedescendant'?: string | undefined;
56
55
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
57
- 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
56
+ 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
58
57
  'aria-braillelabel'?: string | undefined;
59
58
  'aria-brailleroledescription'?: string | undefined;
60
59
  'aria-busy'?: (boolean | "true" | "false") | undefined;
@@ -104,6 +103,7 @@ export declare const Avatar: 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;
@@ -290,16 +290,7 @@ export declare const Avatar: import("react").ComponentType<Partial<{
290
290
  autofocus: boolean;
291
291
  normalize: () => void;
292
292
  anchorElement: HTMLAnchorElement;
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>;
293
+ src: string;
303
294
  readonly accessKeyLabel: string;
304
295
  autocapitalize: string;
305
296
  inert: boolean;
@@ -592,9 +583,18 @@ export declare const Avatar: import("react").ComponentType<Partial<{
592
583
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
593
584
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
594
585
  readonly dataset: DOMStringMap;
595
- src: string;
596
586
  readonly focusElement: HTMLElement;
587
+ connectedCallback: () => void;
597
588
  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.1-rc.34+2cc53a49a",
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/avatar": "^0.35.1-rc.34+2cc53a49a"
33
+ "@spectrum-web-components/avatar": "^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": "2cc53a49a9491e4d86ed3c39ab430fda8a7a5b96"
43
+ "gitHead": "a532ff8a410abeefb54d9638a2316ae82570566e"
44
44
  }