@swc-react/card 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 +12 -3
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -1,13 +1,16 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const Card: import("react").ComponentType<Partial<{
3
4
  dir?: string | undefined;
4
5
  slot?: string | undefined;
5
6
  style?: import("react").CSSProperties | undefined;
6
7
  title?: string | undefined;
8
+ rel?: string | undefined;
7
9
  id?: string | undefined;
8
10
  className?: string | undefined;
9
11
  tabIndex?: number | undefined;
10
12
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
13
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
11
14
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
12
15
  role?: import("react").AriaRole | undefined;
13
16
  accessKey?: string | undefined;
@@ -25,15 +28,18 @@ export declare const Card: import("react").ComponentType<Partial<{
25
28
  defaultValue?: string | number | readonly string[] | undefined;
26
29
  suppressContentEditableWarning?: boolean | undefined;
27
30
  suppressHydrationWarning?: boolean | undefined;
31
+ autoFocus?: boolean | undefined;
28
32
  contextMenu?: string | undefined;
29
33
  placeholder?: string | undefined;
30
34
  spellCheck?: (boolean | "true" | "false") | undefined;
31
35
  radioGroup?: string | undefined;
32
36
  about?: string | undefined;
37
+ content?: string | undefined;
33
38
  datatype?: string | undefined;
34
39
  inlist?: any;
35
40
  property?: string | undefined;
36
41
  resource?: string | undefined;
42
+ rev?: string | undefined;
37
43
  typeof?: string | undefined;
38
44
  vocab?: string | undefined;
39
45
  autoCapitalize?: string | undefined;
@@ -52,14 +58,18 @@ export declare const Card: import("react").ComponentType<Partial<{
52
58
  'aria-activedescendant'?: string | undefined;
53
59
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
54
60
  'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
61
+ 'aria-braillelabel'?: string | undefined;
62
+ 'aria-brailleroledescription'?: string | undefined;
55
63
  'aria-busy'?: (boolean | "true" | "false") | undefined;
56
64
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
57
65
  'aria-colcount'?: number | undefined;
58
66
  'aria-colindex'?: number | undefined;
67
+ 'aria-colindextext'?: string | undefined;
59
68
  'aria-colspan'?: number | undefined;
60
69
  'aria-controls'?: string | undefined;
61
70
  'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
62
71
  'aria-describedby'?: string | undefined;
72
+ 'aria-description'?: string | undefined;
63
73
  'aria-details'?: string | undefined;
64
74
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
65
75
  'aria-errormessage'?: string | undefined;
@@ -67,7 +77,6 @@ export declare const Card: import("react").ComponentType<Partial<{
67
77
  'aria-flowto'?: string | undefined;
68
78
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
69
79
  'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
70
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
71
80
  'aria-keyshortcuts'?: string | undefined;
72
81
  'aria-label'?: string | undefined;
73
82
  'aria-labelledby'?: string | undefined;
@@ -86,6 +95,7 @@ export declare const Card: import("react").ComponentType<Partial<{
86
95
  'aria-roledescription'?: string | undefined;
87
96
  'aria-rowcount'?: number | undefined;
88
97
  'aria-rowindex'?: number | undefined;
98
+ 'aria-rowindextext'?: string | undefined;
89
99
  'aria-rowspan'?: number | undefined;
90
100
  'aria-selected'?: (boolean | "true" | "false") | undefined;
91
101
  'aria-setsize'?: number | undefined;
@@ -95,7 +105,7 @@ export declare const Card: import("react").ComponentType<Partial<{
95
105
  'aria-valuenow'?: number | undefined;
96
106
  'aria-valuetext'?: string | undefined;
97
107
  dangerouslySetInnerHTML?: {
98
- __html: string;
108
+ __html: string | TrustedHTML;
99
109
  } | undefined;
100
110
  onCopy?: import("react").ClipboardEventHandler<import("card/src").Card> | undefined;
101
111
  onCopyCapture?: import("react").ClipboardEventHandler<import("card/src").Card> | undefined;
@@ -275,7 +285,6 @@ export declare const Card: import("react").ComponentType<Partial<{
275
285
  download?: string | undefined;
276
286
  href?: string | undefined;
277
287
  target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
278
- rel?: string | undefined;
279
288
  ariaHidden: string | null;
280
289
  variant: "standard" | "gallery" | "quiet";
281
290
  autofocus: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/card",
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/card": "^0.34.1-rc.0+1647bfed5"
33
+ "@spectrum-web-components/card": "^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
  }