@destyler/dialog 0.2.0 → 0.2.1-beta.3

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 +10 -10
package/dist/index.d.mts CHANGED
@@ -128,7 +128,7 @@ declare function connect<T extends PropTypes>(state: State, send: Send, normaliz
128
128
  declare function machine(userContext: UserDefinedContext): _destyler_xstate0.Machine<MachineContext, MachineState, _destyler_xstate0.AnyEventObject>;
129
129
  //#endregion
130
130
  //#region src/props.d.ts
131
- declare const props: ("id" | "ids" | "trapFocus" | "preventScroll" | "modal" | "initialFocusEl" | "finalFocusEl" | "restoreFocus" | "onOpenChange" | "closeOnInteractOutside" | "closeOnEscape" | "aria-label" | "role" | "open" | "open.controlled" | "dir" | "getRootNode" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "persistentElements")[];
132
- declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "id" | "ids" | "trapFocus" | "preventScroll" | "modal" | "initialFocusEl" | "finalFocusEl" | "restoreFocus" | "onOpenChange" | "closeOnInteractOutside" | "closeOnEscape" | "aria-label" | "role" | "open" | "open.controlled" | "dir" | "getRootNode" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "persistentElements">];
131
+ declare const props: ("open" | "id" | "ids" | "trapFocus" | "preventScroll" | "modal" | "initialFocusEl" | "finalFocusEl" | "restoreFocus" | "onOpenChange" | "closeOnInteractOutside" | "closeOnEscape" | "aria-label" | "role" | "open.controlled" | "dir" | "getRootNode" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "persistentElements")[];
132
+ declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "open" | "id" | "ids" | "trapFocus" | "preventScroll" | "modal" | "initialFocusEl" | "finalFocusEl" | "restoreFocus" | "onOpenChange" | "closeOnInteractOutside" | "closeOnEscape" | "aria-label" | "role" | "open.controlled" | "dir" | "getRootNode" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "persistentElements">];
133
133
  //#endregion
134
134
  export { type MachineApi as Api, type UserDefinedContext as Context, type ElementIds, type FocusOutsideEvent, type InteractOutsideEvent, type OpenChangeDetails, type PointerDownOutsideEvent, type Service, anatomy, connect, machine, props, splitProps };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@destyler/dialog",
3
3
  "type": "module",
4
- "version": "0.2.0",
4
+ "version": "0.2.1-beta.3",
5
5
  "description": "before taking action, please confirm.",
6
6
  "author": "Elone Hoo <elonehoo@gmail.com>",
7
7
  "license": "MIT",
@@ -22,15 +22,15 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@destyler/anatomy": "0.2.0",
26
- "@destyler/aria-hidden": "0.2.0",
27
- "@destyler/dismissable": "0.2.0",
28
- "@destyler/dom": "0.2.0",
29
- "@destyler/focus-trap": "0.2.0",
30
- "@destyler/remove-scroll": "0.2.0",
31
- "@destyler/types": "0.2.0",
32
- "@destyler/xstate": "0.2.0",
33
- "@destyler/utils": "0.2.0"
25
+ "@destyler/anatomy": "0.2.1-beta.3",
26
+ "@destyler/dismissable": "0.2.1-beta.3",
27
+ "@destyler/dom": "0.2.1-beta.3",
28
+ "@destyler/aria-hidden": "0.2.1-beta.3",
29
+ "@destyler/focus-trap": "0.2.1-beta.3",
30
+ "@destyler/remove-scroll": "0.2.1-beta.3",
31
+ "@destyler/types": "0.2.1-beta.3",
32
+ "@destyler/utils": "0.2.1-beta.3",
33
+ "@destyler/xstate": "0.2.1-beta.3"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"