@swc-react/checkbox 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.
- package/next.d.ts +24 -24
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -7,34 +7,32 @@ export declare const Checkbox: import("react").ComponentType<Partial<{
|
|
|
7
7
|
title?: string | undefined;
|
|
8
8
|
tabIndex?: number | undefined;
|
|
9
9
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
10
|
-
accessKey?: string | undefined;
|
|
11
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
12
|
-
hidden?: boolean | undefined;
|
|
13
|
-
lang?: string | undefined;
|
|
14
|
-
translate?: "yes" | "no" | undefined;
|
|
15
|
-
className?: string | undefined;
|
|
16
|
-
id?: string | undefined;
|
|
17
|
-
prefix?: string | undefined;
|
|
18
|
-
children?: import("react").ReactNode;
|
|
19
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
20
|
-
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
21
|
-
nonce?: string | undefined;
|
|
22
10
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
23
11
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
24
12
|
defaultChecked?: boolean | undefined;
|
|
25
13
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
26
14
|
suppressContentEditableWarning?: boolean | undefined;
|
|
27
15
|
suppressHydrationWarning?: boolean | undefined;
|
|
16
|
+
accessKey?: string | undefined;
|
|
28
17
|
autoFocus?: boolean | undefined;
|
|
18
|
+
className?: string | undefined;
|
|
19
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
29
20
|
contextMenu?: string | undefined;
|
|
21
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
22
|
+
hidden?: boolean | undefined;
|
|
23
|
+
id?: string | undefined;
|
|
24
|
+
lang?: string | undefined;
|
|
25
|
+
nonce?: string | undefined;
|
|
30
26
|
placeholder?: string | undefined;
|
|
31
27
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
28
|
+
translate?: "yes" | "no" | undefined;
|
|
32
29
|
radioGroup?: string | undefined;
|
|
33
30
|
role?: import("react").AriaRole | undefined;
|
|
34
31
|
about?: string | undefined;
|
|
35
32
|
content?: string | undefined;
|
|
36
33
|
datatype?: string | undefined;
|
|
37
34
|
inlist?: any;
|
|
35
|
+
prefix?: string | undefined;
|
|
38
36
|
property?: string | undefined;
|
|
39
37
|
rel?: string | undefined;
|
|
40
38
|
resource?: string | undefined;
|
|
@@ -53,6 +51,7 @@ export declare const Checkbox: import("react").ComponentType<Partial<{
|
|
|
53
51
|
results?: number | undefined;
|
|
54
52
|
security?: string | undefined;
|
|
55
53
|
unselectable?: "on" | "off" | undefined;
|
|
54
|
+
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
56
55
|
is?: string | undefined;
|
|
57
56
|
'aria-activedescendant'?: string | undefined;
|
|
58
57
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
@@ -104,6 +103,7 @@ export declare const Checkbox: 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;
|
|
@@ -287,16 +287,8 @@ export declare const Checkbox: import("react").ComponentType<Partial<{
|
|
|
287
287
|
normalize: () => void;
|
|
288
288
|
checked: boolean;
|
|
289
289
|
readonly: boolean;
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
hasUpdated: boolean;
|
|
293
|
-
addController: (controller: import("lit").ReactiveController) => void;
|
|
294
|
-
removeController: (controller: import("lit").ReactiveController) => void;
|
|
295
|
-
connectedCallback: () => void;
|
|
296
|
-
disconnectedCallback: () => void;
|
|
297
|
-
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
298
|
-
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
299
|
-
readonly updateComplete: Promise<boolean>;
|
|
290
|
+
indeterminate: boolean;
|
|
291
|
+
emphasized: boolean;
|
|
300
292
|
readonly accessKeyLabel: string;
|
|
301
293
|
autocapitalize: string;
|
|
302
294
|
inert: boolean;
|
|
@@ -590,11 +582,19 @@ export declare const Checkbox: import("react").ComponentType<Partial<{
|
|
|
590
582
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
591
583
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
592
584
|
readonly dataset: DOMStringMap;
|
|
593
|
-
indeterminate: boolean;
|
|
594
|
-
emphasized: boolean;
|
|
595
585
|
handleChange: () => void;
|
|
596
586
|
readonly focusElement: HTMLElement;
|
|
587
|
+
connectedCallback: () => void;
|
|
597
588
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
589
|
+
disconnectedCallback: () => void;
|
|
590
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
591
|
+
isUpdatePending: boolean;
|
|
592
|
+
hasUpdated: boolean;
|
|
593
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
594
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
595
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
596
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
597
|
+
readonly updateComplete: Promise<boolean>;
|
|
598
598
|
isLTR: boolean;
|
|
599
599
|
hasVisibleFocusInTree: () => boolean;
|
|
600
600
|
} & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/checkbox",
|
|
3
|
-
"version": "0.
|
|
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/checkbox": "^0.
|
|
33
|
+
"@spectrum-web-components/checkbox": "^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": "
|
|
43
|
+
"gitHead": "a532ff8a410abeefb54d9638a2316ae82570566e"
|
|
44
44
|
}
|