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