@destyler/popover 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 +4 -4
- package/package.json +14 -11
package/dist/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { DismissableElementHandlers, FocusOutsideEvent, InteractOutsideEvent, Pe
|
|
|
3
3
|
import { AnyEventObject, Machine, XSend, XState } from "@destyler/xstate";
|
|
4
4
|
import { CommonProperties, DirectionProperty, NormalizeProps, PropTypes, RequiredBy } from "@destyler/types";
|
|
5
5
|
//#region src/anatomy.d.ts
|
|
6
|
-
export declare const anatomy:
|
|
6
|
+
export declare const anatomy: any;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/types.d.ts
|
|
9
9
|
interface OpenChangeDetails {
|
|
@@ -143,10 +143,10 @@ interface MachineApi<T extends PropTypes = PropTypes> {
|
|
|
143
143
|
export declare function connect<T extends PropTypes>(state: State, send: Send, normalize: NormalizeProps<T>): MachineApi<T>;
|
|
144
144
|
//#endregion
|
|
145
145
|
//#region src/machine.d.ts
|
|
146
|
-
export declare function machine(userContext: UserDefinedContext):
|
|
146
|
+
export declare function machine(userContext: UserDefinedContext): any;
|
|
147
147
|
//#endregion
|
|
148
148
|
//#region src/props.d.ts
|
|
149
|
-
export declare const props:
|
|
150
|
-
export declare const splitProps:
|
|
149
|
+
export declare const props: any;
|
|
150
|
+
export declare const splitProps: any;
|
|
151
151
|
//#endregion
|
|
152
152
|
export type { MachineApi as Api, UserDefinedContext as Context, ElementIds, FocusOutsideEvent, InteractOutsideEvent, OpenChangeDetails, Placement, PointerDownOutsideEvent, PositioningOptions, Service };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@destyler/popover",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"description": "displays rich content in a portal, triggered by a button.",
|
|
6
6
|
"author": "Elone Hoo <elonehoo@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -21,17 +21,20 @@
|
|
|
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/aria-hidden": "0.
|
|
27
|
-
"@destyler/dismissable": "0.
|
|
28
|
-
"@destyler/dom": "0.
|
|
29
|
-
"@destyler/focus-trap": "0.
|
|
30
|
-
"@destyler/popper": "0.
|
|
31
|
-
"@destyler/remove-scroll": "0.
|
|
32
|
-
"@destyler/types": "0.
|
|
33
|
-
"@destyler/utils": "0.
|
|
34
|
-
"@destyler/xstate": "0.
|
|
28
|
+
"@destyler/anatomy": "0.3.0",
|
|
29
|
+
"@destyler/aria-hidden": "0.3.0",
|
|
30
|
+
"@destyler/dismissable": "0.3.0",
|
|
31
|
+
"@destyler/dom": "0.3.0",
|
|
32
|
+
"@destyler/focus-trap": "0.3.0",
|
|
33
|
+
"@destyler/popper": "0.3.0",
|
|
34
|
+
"@destyler/remove-scroll": "0.3.0",
|
|
35
|
+
"@destyler/types": "0.3.0",
|
|
36
|
+
"@destyler/utils": "0.3.0",
|
|
37
|
+
"@destyler/xstate": "0.3.0"
|
|
35
38
|
},
|
|
36
39
|
"publishConfig": {
|
|
37
40
|
"access": "public"
|