@swc-react/icon 0.35.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 +26 -26
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -3,34 +3,36 @@
3
3
  export declare const Icon: import("react").ComponentType<Partial<{
4
4
  dir?: string | undefined;
5
5
  'aria-hidden'?: (boolean | "true" | "false") | undefined;
6
+ accessKey?: string | undefined;
7
+ draggable?: (boolean | "true" | "false") | undefined;
8
+ hidden?: boolean | undefined;
9
+ lang?: string | undefined;
10
+ title?: string | undefined;
11
+ translate?: "yes" | "no" | undefined;
12
+ className?: string | undefined;
13
+ id?: string | undefined;
14
+ prefix?: string | undefined;
15
+ slot?: string | undefined;
16
+ children?: import("react").ReactNode;
17
+ style?: import("react").CSSProperties | undefined;
18
+ contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
19
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
20
+ nonce?: string | undefined;
21
+ tabIndex?: number | undefined;
6
22
  defaultChecked?: boolean | undefined;
7
23
  defaultValue?: string | number | readonly string[] | undefined;
8
24
  suppressContentEditableWarning?: boolean | undefined;
9
25
  suppressHydrationWarning?: boolean | undefined;
10
- accessKey?: string | undefined;
11
26
  autoFocus?: boolean | undefined;
12
- className?: string | undefined;
13
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
14
27
  contextMenu?: string | undefined;
15
- draggable?: (boolean | "true" | "false") | undefined;
16
- hidden?: boolean | undefined;
17
- id?: string | undefined;
18
- lang?: string | undefined;
19
- nonce?: string | undefined;
20
28
  placeholder?: string | undefined;
21
- slot?: string | undefined;
22
29
  spellCheck?: (boolean | "true" | "false") | undefined;
23
- style?: import("react").CSSProperties | undefined;
24
- tabIndex?: number | undefined;
25
- title?: string | undefined;
26
- translate?: "yes" | "no" | undefined;
27
30
  radioGroup?: string | undefined;
28
31
  role?: import("react").AriaRole | undefined;
29
32
  about?: string | undefined;
30
33
  content?: string | undefined;
31
34
  datatype?: string | undefined;
32
35
  inlist?: any;
33
- prefix?: string | undefined;
34
36
  property?: string | undefined;
35
37
  rel?: string | undefined;
36
38
  resource?: string | undefined;
@@ -49,7 +51,6 @@ export declare const Icon: import("react").ComponentType<Partial<{
49
51
  results?: number | undefined;
50
52
  security?: string | undefined;
51
53
  unselectable?: "on" | "off" | undefined;
52
- inputMode?: "search" | "none" | "text" | "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;
@@ -103,7 +104,6 @@ export declare const Icon: 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;
@@ -284,6 +284,16 @@ export declare const Icon: import("react").ComponentType<Partial<{
284
284
  (x: number, y: number): void;
285
285
  };
286
286
  src?: string | undefined;
287
+ readonly renderRoot: HTMLElement | ShadowRoot;
288
+ isUpdatePending: boolean;
289
+ hasUpdated: boolean;
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, value: string) => void;
295
+ requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
296
+ readonly updateComplete: Promise<boolean>;
287
297
  readonly accessKeyLabel: string;
288
298
  autocapitalize: string;
289
299
  inert: boolean;
@@ -579,18 +589,8 @@ export declare const Icon: import("react").ComponentType<Partial<{
579
589
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
580
590
  autofocus: boolean;
581
591
  readonly dataset: DOMStringMap;
582
- connectedCallback: () => void;
583
- disconnectedCallback: () => void;
584
592
  firstUpdated: () => void;
585
- attributeChangedCallback: (name: string, old: string, value: string) => void;
586
593
  readonly renderOptions: import("lit-html").RenderOptions;
587
- readonly renderRoot: HTMLElement | ShadowRoot;
588
- isUpdatePending: boolean;
589
- hasUpdated: boolean;
590
- addController: (controller: import("lit").ReactiveController) => void;
591
- removeController: (controller: import("lit").ReactiveController) => void;
592
- requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
593
- readonly updateComplete: Promise<boolean>;
594
594
  isLTR: boolean;
595
595
  hasVisibleFocusInTree: () => boolean;
596
596
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/icon",
3
- "version": "0.35.0",
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/icon": "^0.35.0"
33
+ "@spectrum-web-components/icon": "^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": "1ee5a6c92838cdf48321276d97f61c20f8476ac1"
43
+ "gitHead": "9b76319e4f1cc7cb0dd03e9d9debf544e5bed4e9"
44
44
  }