@destyler/radio 0.2.13 → 0.3.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/dist/index.d.mts +6 -6
- package/package.json +11 -8
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnyEventObject, Machine, XSend, XState } from "@destyler/xstate";
|
|
2
2
|
import { CommonProperties, DirectionProperty, NormalizeProps, PropTypes, RequiredBy } from "@destyler/types";
|
|
3
3
|
//#region src/anatomy.d.ts
|
|
4
|
-
export declare const anatomy:
|
|
4
|
+
export declare const anatomy: any;
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/types.d.ts
|
|
7
7
|
interface ValueChangeDetails {
|
|
@@ -189,12 +189,12 @@ interface MachineApi<T extends PropTypes = PropTypes> {
|
|
|
189
189
|
export declare function connect<T extends PropTypes>(state: State, send: Send, normalize: NormalizeProps<T>): MachineApi<T>;
|
|
190
190
|
//#endregion
|
|
191
191
|
//#region src/machine.d.ts
|
|
192
|
-
export declare function machine(userContext: UserDefinedContext):
|
|
192
|
+
export declare function machine(userContext: UserDefinedContext): any;
|
|
193
193
|
//#endregion
|
|
194
194
|
//#region src/props.d.ts
|
|
195
|
-
export declare const props:
|
|
196
|
-
export declare const splitProps:
|
|
197
|
-
export declare const itemProps:
|
|
198
|
-
export declare const splitItemProps:
|
|
195
|
+
export declare const props: any;
|
|
196
|
+
export declare const splitProps: any;
|
|
197
|
+
export declare const itemProps: any;
|
|
198
|
+
export declare const splitItemProps: any;
|
|
199
199
|
//#endregion
|
|
200
200
|
export type { MachineApi as Api, UserDefinedContext as Context, ElementIds, ItemProps, ItemState, Service, ValueChangeDetails };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@destyler/radio",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"description": "A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time.",
|
|
6
6
|
"author": "Elone Hoo <elonehoo@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -21,14 +21,17 @@
|
|
|
21
21
|
"*.d.ts",
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=22.22.3"
|
|
26
|
+
},
|
|
24
27
|
"dependencies": {
|
|
25
|
-
"@destyler/anatomy": "0.
|
|
26
|
-
"@destyler/dom": "0.
|
|
27
|
-
"@destyler/element-rect": "0.
|
|
28
|
-
"@destyler/focus-visible": "0.
|
|
29
|
-
"@destyler/types": "0.
|
|
30
|
-
"@destyler/utils": "0.
|
|
31
|
-
"@destyler/xstate": "0.
|
|
28
|
+
"@destyler/anatomy": "0.3.0",
|
|
29
|
+
"@destyler/dom": "0.3.0",
|
|
30
|
+
"@destyler/element-rect": "0.3.0",
|
|
31
|
+
"@destyler/focus-visible": "0.3.0",
|
|
32
|
+
"@destyler/types": "0.3.0",
|
|
33
|
+
"@destyler/utils": "0.3.0",
|
|
34
|
+
"@destyler/xstate": "0.3.0"
|
|
32
35
|
},
|
|
33
36
|
"publishConfig": {
|
|
34
37
|
"access": "public"
|