@swc-react/card 0.39.4 → 0.40.1

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 +5 -5
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -8,8 +8,6 @@ export declare const Card: import("react").ComponentType<Partial<{
8
8
  rel?: string | undefined;
9
9
  id?: string | undefined;
10
10
  className?: string | undefined;
11
- tabIndex?: number | undefined;
12
- 'aria-disabled'?: (boolean | "true" | "false") | undefined;
13
11
  accessKey?: string | undefined;
14
12
  draggable?: (boolean | "true" | "false") | undefined;
15
13
  hidden?: boolean | undefined;
@@ -20,6 +18,7 @@ export declare const Card: import("react").ComponentType<Partial<{
20
18
  contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
21
19
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
22
20
  nonce?: string | undefined;
21
+ tabIndex?: number | undefined;
23
22
  'aria-hidden'?: (boolean | "true" | "false") | undefined;
24
23
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
25
24
  role?: import("react").AriaRole | undefined;
@@ -71,7 +70,8 @@ export declare const Card: import("react").ComponentType<Partial<{
71
70
  'aria-describedby'?: string | undefined;
72
71
  'aria-description'?: string | undefined;
73
72
  'aria-details'?: string | undefined;
74
- 'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
73
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
74
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
75
75
  'aria-errormessage'?: string | undefined;
76
76
  'aria-expanded'?: (boolean | "true" | "false") | undefined;
77
77
  'aria-flowto'?: string | undefined;
@@ -287,8 +287,6 @@ export declare const Card: import("react").ComponentType<Partial<{
287
287
  target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
288
288
  ariaHidden: string | null;
289
289
  variant: "standard" | "gallery" | "quiet";
290
- autofocus: boolean;
291
- normalize: () => void;
292
290
  readonly renderRoot: HTMLElement | ShadowRoot;
293
291
  isUpdatePending: boolean;
294
292
  hasUpdated: boolean;
@@ -415,6 +413,7 @@ export declare const Card: import("react").ComponentType<Partial<{
415
413
  isSameNode: (otherNode: Node | null) => boolean;
416
414
  lookupNamespaceURI: (prefix: string | null) => string | null;
417
415
  lookupPrefix: (namespace: string | null) => string | null;
416
+ normalize: () => void;
418
417
  removeChild: <T_2 extends Node>(child: T_2) => T_2;
419
418
  replaceChild: <T_3 extends Node>(node: Node, child: T_3) => T_3;
420
419
  readonly ATTRIBUTE_NODE: number;
@@ -590,6 +589,7 @@ export declare const Card: import("react").ComponentType<Partial<{
590
589
  onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
591
590
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
592
591
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
592
+ autofocus: boolean;
593
593
  readonly dataset: DOMStringMap;
594
594
  readonly renderOptions: import("lit-html").RenderOptions;
595
595
  isLTR: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/card",
3
- "version": "0.39.4",
3
+ "version": "0.40.1",
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/card": "^0.39.4"
33
+ "@spectrum-web-components/card": "^0.40.1"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "next": "~13.4"
@@ -40,5 +40,5 @@
40
40
  "optional": true
41
41
  }
42
42
  },
43
- "gitHead": "f745c90e8e9ea85ff10be025e058b14cc925ec9f"
43
+ "gitHead": "a75c4f83094c505d64658dbc7de20b5f18a8fde1"
44
44
  }