@swc-react/link 0.34.1-rc.0 → 0.35.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 +11 -2
  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 Link: 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;
@@ -13,6 +15,7 @@ export declare const Link: import("react").ComponentType<Partial<{
13
15
  suppressContentEditableWarning?: boolean | undefined;
14
16
  suppressHydrationWarning?: boolean | undefined;
15
17
  accessKey?: string | undefined;
18
+ autoFocus?: boolean | undefined;
16
19
  contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
17
20
  contextMenu?: string | undefined;
18
21
  draggable?: (boolean | "true" | "false") | undefined;
@@ -25,11 +28,13 @@ export declare const Link: import("react").ComponentType<Partial<{
25
28
  radioGroup?: string | undefined;
26
29
  role?: import("react").AriaRole | undefined;
27
30
  about?: string | undefined;
31
+ content?: string | undefined;
28
32
  datatype?: string | undefined;
29
33
  inlist?: any;
30
34
  prefix?: string | undefined;
31
35
  property?: string | undefined;
32
36
  resource?: string | undefined;
37
+ rev?: string | undefined;
33
38
  typeof?: string | undefined;
34
39
  vocab?: string | undefined;
35
40
  autoCapitalize?: string | undefined;
@@ -49,14 +54,18 @@ export declare const Link: import("react").ComponentType<Partial<{
49
54
  'aria-activedescendant'?: string | undefined;
50
55
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
51
56
  'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
57
+ 'aria-braillelabel'?: string | undefined;
58
+ 'aria-brailleroledescription'?: string | undefined;
52
59
  'aria-busy'?: (boolean | "true" | "false") | undefined;
53
60
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
54
61
  'aria-colcount'?: number | undefined;
55
62
  'aria-colindex'?: number | undefined;
63
+ 'aria-colindextext'?: string | undefined;
56
64
  'aria-colspan'?: number | undefined;
57
65
  'aria-controls'?: string | undefined;
58
66
  'aria-current'?: boolean | "true" | "time" | "false" | "page" | "step" | "location" | "date" | undefined;
59
67
  'aria-describedby'?: string | undefined;
68
+ 'aria-description'?: string | undefined;
60
69
  'aria-details'?: string | undefined;
61
70
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
62
71
  'aria-errormessage'?: string | undefined;
@@ -85,6 +94,7 @@ export declare const Link: import("react").ComponentType<Partial<{
85
94
  'aria-roledescription'?: string | undefined;
86
95
  'aria-rowcount'?: number | undefined;
87
96
  'aria-rowindex'?: number | undefined;
97
+ 'aria-rowindextext'?: string | undefined;
88
98
  'aria-rowspan'?: number | undefined;
89
99
  'aria-selected'?: (boolean | "true" | "false") | undefined;
90
100
  'aria-setsize'?: number | undefined;
@@ -95,7 +105,7 @@ export declare const Link: import("react").ComponentType<Partial<{
95
105
  'aria-valuetext'?: string | undefined;
96
106
  children?: import("react").ReactNode;
97
107
  dangerouslySetInnerHTML?: {
98
- __html: string;
108
+ __html: string | TrustedHTML;
99
109
  } | undefined;
100
110
  onCopy?: import("react").ClipboardEventHandler<import("link/src").Link> | undefined;
101
111
  onCopyCapture?: import("react").ClipboardEventHandler<import("link/src").Link> | undefined;
@@ -266,7 +276,6 @@ export declare const Link: import("react").ComponentType<Partial<{
266
276
  label?: string | undefined;
267
277
  href?: string | undefined;
268
278
  target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
269
- rel?: string | undefined;
270
279
  ariaHidden: string | null;
271
280
  animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
272
281
  blur: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/link",
3
- "version": "0.34.1-rc.0+1647bfed5",
3
+ "version": "0.35.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/link": "^0.34.1-rc.0+1647bfed5"
33
+ "@spectrum-web-components/link": "^0.35.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": "1647bfed54cb29f3513343cd0d2c2d9e73e1c508"
43
+ "gitHead": "1ee5a6c92838cdf48321276d97f61c20f8476ac1"
44
44
  }