@swc-react/card 0.34.1-rc.0 → 0.35.1-rc.15
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 +17 -8
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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;
|
|
11
|
-
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
12
|
-
role?: import("react").AriaRole | undefined;
|
|
13
13
|
accessKey?: string | undefined;
|
|
14
14
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
15
15
|
hidden?: boolean | undefined;
|
|
@@ -20,20 +20,26 @@ export declare const Card: import("react").ComponentType<Partial<{
|
|
|
20
20
|
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
21
21
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
22
22
|
nonce?: string | undefined;
|
|
23
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
24
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
25
|
+
role?: import("react").AriaRole | undefined;
|
|
23
26
|
'aria-orientation'?: "vertical" | "horizontal" | undefined;
|
|
24
27
|
defaultChecked?: boolean | undefined;
|
|
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,19 +285,17 @@ 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;
|
|
282
291
|
normalize: () => void;
|
|
283
|
-
readonly renderOptions: import("lit-html").RenderOptions;
|
|
284
|
-
connectedCallback: () => void;
|
|
285
|
-
disconnectedCallback: () => void;
|
|
286
292
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
287
293
|
isUpdatePending: boolean;
|
|
288
294
|
hasUpdated: boolean;
|
|
289
295
|
addController: (controller: import("lit").ReactiveController) => void;
|
|
290
296
|
removeController: (controller: import("lit").ReactiveController) => void;
|
|
297
|
+
connectedCallback: () => void;
|
|
298
|
+
disconnectedCallback: () => void;
|
|
291
299
|
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
292
300
|
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
293
301
|
readonly updateComplete: Promise<boolean>;
|
|
@@ -583,6 +591,7 @@ export declare const Card: import("react").ComponentType<Partial<{
|
|
|
583
591
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
584
592
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
585
593
|
readonly dataset: DOMStringMap;
|
|
594
|
+
readonly renderOptions: import("lit-html").RenderOptions;
|
|
586
595
|
isLTR: boolean;
|
|
587
596
|
hasVisibleFocusInTree: () => boolean;
|
|
588
597
|
asset?: "file" | "folder" | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/card",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.1-rc.15+9b76319e4",
|
|
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.
|
|
33
|
+
"@spectrum-web-components/card": "^0.35.1-rc.15+9b76319e4"
|
|
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": "9b76319e4f1cc7cb0dd03e9d9debf544e5bed4e9"
|
|
44
44
|
}
|