@swc-react/link 0.35.1-rc.26 → 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 +24 -24
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -10,30 +10,28 @@ 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;
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 Link: 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 Link: 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;
@@ -289,16 +289,9 @@ export declare const Link: import("react").ComponentType<Partial<{
289
289
  autofocus: boolean;
290
290
  normalize: () => void;
291
291
  anchorElement: HTMLAnchorElement;
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>;
292
+ variant: "secondary" | undefined;
293
+ static: "black" | "white" | undefined;
294
+ quiet: boolean;
302
295
  readonly accessKeyLabel: string;
303
296
  autocapitalize: string;
304
297
  inert: boolean;
@@ -591,11 +584,18 @@ export declare const Link: import("react").ComponentType<Partial<{
591
584
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
592
585
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
593
586
  readonly dataset: DOMStringMap;
594
- variant: "secondary" | undefined;
595
- static: "black" | "white" | undefined;
596
- quiet: boolean;
597
587
  readonly focusElement: HTMLElement;
588
+ connectedCallback: () => void;
598
589
  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.35.1-rc.26+05bd08374",
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/link": "^0.35.1-rc.26+05bd08374"
33
+ "@spectrum-web-components/link": "^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": "05bd0837417e287acdf2685d1ca05ab4d138fc95"
43
+ "gitHead": "a532ff8a410abeefb54d9638a2316ae82570566e"
44
44
  }