@destyler/popover 0.2.1-beta.3 → 0.2.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/dist/index.d.mts +2 -2
  2. package/package.json +11 -11
package/dist/index.d.mts CHANGED
@@ -148,7 +148,7 @@ declare function connect<T extends PropTypes>(state: State, send: Send, normaliz
148
148
  declare function machine(userContext: UserDefinedContext): _destyler_xstate0.Machine<MachineContext, MachineState, _destyler_xstate0.AnyEventObject>;
149
149
  //#endregion
150
150
  //#region src/props.d.ts
151
- declare const props: ("open" | "id" | "ids" | "modal" | "portalled" | "autoFocus" | "initialFocusEl" | "closeOnInteractOutside" | "closeOnEscape" | "onOpenChange" | "positioning" | "open.controlled" | "getRootNode" | "dir" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "persistentElements")[];
152
- declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "open" | "id" | "ids" | "modal" | "portalled" | "autoFocus" | "initialFocusEl" | "closeOnInteractOutside" | "closeOnEscape" | "onOpenChange" | "positioning" | "open.controlled" | "getRootNode" | "dir" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "persistentElements">];
151
+ declare const props: ("id" | "ids" | "modal" | "portalled" | "autoFocus" | "initialFocusEl" | "closeOnInteractOutside" | "closeOnEscape" | "onOpenChange" | "positioning" | "open" | "open.controlled" | "getRootNode" | "dir" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "persistentElements")[];
152
+ declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "id" | "ids" | "modal" | "portalled" | "autoFocus" | "initialFocusEl" | "closeOnInteractOutside" | "closeOnEscape" | "onOpenChange" | "positioning" | "open" | "open.controlled" | "getRootNode" | "dir" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "persistentElements">];
153
153
  //#endregion
154
154
  export { type MachineApi as Api, type UserDefinedContext as Context, type ElementIds, type FocusOutsideEvent, type InteractOutsideEvent, type OpenChangeDetails, type Placement, type PointerDownOutsideEvent, type PositioningOptions, type Service, anatomy, connect, machine, props, splitProps };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@destyler/popover",
3
3
  "type": "module",
4
- "version": "0.2.1-beta.3",
4
+ "version": "0.2.1",
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",
@@ -22,16 +22,16 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@destyler/anatomy": "0.2.1-beta.3",
26
- "@destyler/dismissable": "0.2.1-beta.3",
27
- "@destyler/aria-hidden": "0.2.1-beta.3",
28
- "@destyler/dom": "0.2.1-beta.3",
29
- "@destyler/popper": "0.2.1-beta.3",
30
- "@destyler/focus-trap": "0.2.1-beta.3",
31
- "@destyler/remove-scroll": "0.2.1-beta.3",
32
- "@destyler/types": "0.2.1-beta.3",
33
- "@destyler/utils": "0.2.1-beta.3",
34
- "@destyler/xstate": "0.2.1-beta.3"
25
+ "@destyler/anatomy": "0.2.1",
26
+ "@destyler/dismissable": "0.2.1",
27
+ "@destyler/aria-hidden": "0.2.1",
28
+ "@destyler/dom": "0.2.1",
29
+ "@destyler/focus-trap": "0.2.1",
30
+ "@destyler/popper": "0.2.1",
31
+ "@destyler/remove-scroll": "0.2.1",
32
+ "@destyler/types": "0.2.1",
33
+ "@destyler/utils": "0.2.1",
34
+ "@destyler/xstate": "0.2.1"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"