@destyler/switch 0.2.10 → 0.2.11

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/dist/index.d.mts +2 -2
  2. package/package.json +7 -7
package/dist/index.d.mts CHANGED
@@ -146,7 +146,7 @@ declare function connect<T extends PropTypes>(state: State, send: Send, normaliz
146
146
  declare function machine(userContext: UserDefinedContext): _destyler_xstate0.Machine<MachineContext, MachineState, _destyler_xstate0.AnyEventObject>;
147
147
  //#endregion
148
148
  //#region src/props.d.ts
149
- declare const props: ("label" | "value" | "ids" | "disabled" | "invalid" | "required" | "readOnly" | "onCheckedChange" | "checked" | "defaultChecked" | "name" | "form" | "dir" | "id" | "getRootNode")[];
150
- declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "label" | "value" | "ids" | "disabled" | "invalid" | "required" | "readOnly" | "onCheckedChange" | "checked" | "defaultChecked" | "name" | "form" | "dir" | "id" | "getRootNode">];
149
+ declare const props: ("label" | "id" | "ids" | "disabled" | "invalid" | "required" | "readOnly" | "onCheckedChange" | "checked" | "defaultChecked" | "name" | "form" | "value" | "dir" | "getRootNode")[];
150
+ declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "label" | "id" | "ids" | "disabled" | "invalid" | "required" | "readOnly" | "onCheckedChange" | "checked" | "defaultChecked" | "name" | "form" | "value" | "dir" | "getRootNode">];
151
151
  //#endregion
152
152
  export { type MachineApi as Api, type CheckedChangeDetails, type UserDefinedContext as Context, type ElementIds, type Service, anatomy, connect, machine, props, splitProps };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@destyler/switch",
3
3
  "type": "module",
4
- "version": "0.2.10",
4
+ "version": "0.2.11",
5
5
  "description": "A control that allows the user to toggle between checked and not checked.",
6
6
  "author": "Elone Hoo <elonehoo@gmail.com>",
7
7
  "license": "MIT",
@@ -22,12 +22,12 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@destyler/dom": "0.2.10",
26
- "@destyler/anatomy": "0.2.10",
27
- "@destyler/focus-visible": "0.2.10",
28
- "@destyler/types": "0.2.10",
29
- "@destyler/utils": "0.2.10",
30
- "@destyler/xstate": "0.2.10"
25
+ "@destyler/anatomy": "0.2.11",
26
+ "@destyler/focus-visible": "0.2.11",
27
+ "@destyler/types": "0.2.11",
28
+ "@destyler/dom": "0.2.11",
29
+ "@destyler/utils": "0.2.11",
30
+ "@destyler/xstate": "0.2.11"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"