@swc-react/link 0.36.0 → 0.37.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.
- package/next.d.ts +24 -24
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -10,28 +10,30 @@ export declare const Link: 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 Link: 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 Link: 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;
|
|
@@ -289,9 +289,16 @@ export declare const Link: import("react").ComponentType<Partial<{
|
|
|
289
289
|
autofocus: boolean;
|
|
290
290
|
normalize: () => void;
|
|
291
291
|
anchorElement: HTMLAnchorElement;
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
292
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
293
|
+
isUpdatePending: boolean;
|
|
294
|
+
hasUpdated: boolean;
|
|
295
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
296
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
297
|
+
connectedCallback: () => void;
|
|
298
|
+
disconnectedCallback: () => void;
|
|
299
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
300
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
301
|
+
readonly updateComplete: Promise<boolean>;
|
|
295
302
|
readonly accessKeyLabel: string;
|
|
296
303
|
autocapitalize: string;
|
|
297
304
|
inert: boolean;
|
|
@@ -584,18 +591,11 @@ export declare const Link: import("react").ComponentType<Partial<{
|
|
|
584
591
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
585
592
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
586
593
|
readonly dataset: DOMStringMap;
|
|
594
|
+
variant: "secondary" | undefined;
|
|
595
|
+
static: "black" | "white" | undefined;
|
|
596
|
+
quiet: boolean;
|
|
587
597
|
readonly focusElement: HTMLElement;
|
|
588
|
-
connectedCallback: () => void;
|
|
589
598
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
590
|
-
disconnectedCallback: () => void;
|
|
591
|
-
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
592
|
-
isUpdatePending: boolean;
|
|
593
|
-
hasUpdated: boolean;
|
|
594
|
-
addController: (controller: import("lit").ReactiveController) => void;
|
|
595
|
-
removeController: (controller: import("lit").ReactiveController) => void;
|
|
596
|
-
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
597
|
-
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
598
|
-
readonly updateComplete: Promise<boolean>;
|
|
599
599
|
isLTR: boolean;
|
|
600
600
|
hasVisibleFocusInTree: () => boolean;
|
|
601
601
|
renderAnchor: (options: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/link",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.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.
|
|
33
|
+
"@spectrum-web-components/link": "^0.37.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": "
|
|
43
|
+
"gitHead": "d771f62f0d8063070af43283bb0fd5e3400bad06"
|
|
44
44
|
}
|