@swc-react/switch 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.
- package/next.d.ts +3 -2
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -285,7 +285,8 @@ export declare const Switch: import("react").ComponentType<Partial<{
|
|
|
285
285
|
autofocus: boolean;
|
|
286
286
|
normalize: () => void;
|
|
287
287
|
checked: boolean;
|
|
288
|
-
|
|
288
|
+
name?: string | undefined;
|
|
289
|
+
inputElement: HTMLInputElement;
|
|
289
290
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
290
291
|
isUpdatePending: boolean;
|
|
291
292
|
hasUpdated: boolean;
|
|
@@ -591,8 +592,8 @@ export declare const Switch: import("react").ComponentType<Partial<{
|
|
|
591
592
|
readonly dataset: DOMStringMap;
|
|
592
593
|
emphasized: boolean;
|
|
593
594
|
readonly focusElement: HTMLElement;
|
|
594
|
-
handleChange: () => void;
|
|
595
595
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
596
596
|
isLTR: boolean;
|
|
597
597
|
hasVisibleFocusInTree: () => boolean;
|
|
598
|
+
handleChange: () => void;
|
|
598
599
|
} & {}> & import("react").RefAttributes<import("switch/src").Switch>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/switch",
|
|
3
|
-
"version": "0.
|
|
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/switch": "^0.
|
|
33
|
+
"@spectrum-web-components/switch": "^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": "
|
|
43
|
+
"gitHead": "a75c4f83094c505d64658dbc7de20b5f18a8fde1"
|
|
44
44
|
}
|