@swc-react/checkbox 0.36.0 → 0.38.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,32 +7,34 @@ 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;
|
|
10
22
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
11
23
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
12
24
|
defaultChecked?: boolean | undefined;
|
|
13
25
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
14
26
|
suppressContentEditableWarning?: boolean | undefined;
|
|
15
27
|
suppressHydrationWarning?: boolean | undefined;
|
|
16
|
-
accessKey?: string | undefined;
|
|
17
28
|
autoFocus?: boolean | undefined;
|
|
18
|
-
className?: string | undefined;
|
|
19
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
20
29
|
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;
|
|
26
30
|
placeholder?: string | undefined;
|
|
27
31
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
28
|
-
translate?: "yes" | "no" | undefined;
|
|
29
32
|
radioGroup?: string | undefined;
|
|
30
33
|
role?: import("react").AriaRole | undefined;
|
|
31
34
|
about?: string | undefined;
|
|
32
35
|
content?: string | undefined;
|
|
33
36
|
datatype?: string | undefined;
|
|
34
37
|
inlist?: any;
|
|
35
|
-
prefix?: string | undefined;
|
|
36
38
|
property?: string | undefined;
|
|
37
39
|
rel?: string | undefined;
|
|
38
40
|
resource?: string | undefined;
|
|
@@ -51,7 +53,6 @@ export declare const Checkbox: import("react").ComponentType<Partial<{
|
|
|
51
53
|
results?: number | undefined;
|
|
52
54
|
security?: string | undefined;
|
|
53
55
|
unselectable?: "on" | "off" | undefined;
|
|
54
|
-
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
55
56
|
is?: string | undefined;
|
|
56
57
|
'aria-activedescendant'?: string | undefined;
|
|
57
58
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
@@ -103,7 +104,6 @@ export declare const Checkbox: import("react").ComponentType<Partial<{
|
|
|
103
104
|
'aria-valuemin'?: number | undefined;
|
|
104
105
|
'aria-valuenow'?: number | undefined;
|
|
105
106
|
'aria-valuetext'?: string | undefined;
|
|
106
|
-
children?: import("react").ReactNode;
|
|
107
107
|
dangerouslySetInnerHTML?: {
|
|
108
108
|
__html: string | TrustedHTML;
|
|
109
109
|
} | undefined;
|
|
@@ -287,8 +287,16 @@ export declare const Checkbox: import("react").ComponentType<Partial<{
|
|
|
287
287
|
normalize: () => void;
|
|
288
288
|
checked: boolean;
|
|
289
289
|
readonly: boolean;
|
|
290
|
-
|
|
291
|
-
|
|
290
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
291
|
+
isUpdatePending: boolean;
|
|
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>;
|
|
292
300
|
readonly accessKeyLabel: string;
|
|
293
301
|
autocapitalize: string;
|
|
294
302
|
inert: boolean;
|
|
@@ -582,19 +590,11 @@ export declare const Checkbox: import("react").ComponentType<Partial<{
|
|
|
582
590
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
583
591
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
584
592
|
readonly dataset: DOMStringMap;
|
|
593
|
+
indeterminate: boolean;
|
|
594
|
+
emphasized: boolean;
|
|
585
595
|
handleChange: () => void;
|
|
586
596
|
readonly focusElement: HTMLElement;
|
|
587
|
-
connectedCallback: () => void;
|
|
588
597
|
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.38.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.38.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": "9a099b7543672f2fd4030833ab813b16c2cad62e"
|
|
44
44
|
}
|