@destyler/splitter 0.2.3-beta.2 → 0.2.3-beta.4

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 +3 -3
  2. package/package.json +6 -6
package/dist/index.d.mts CHANGED
@@ -4,7 +4,7 @@ import { AnyEventObject, Machine, XSend, XState } from "@destyler/xstate";
4
4
  import { CommonProperties, DirectionProperty, NormalizeProps, PropTypes, Required, RequiredBy } from "@destyler/types";
5
5
 
6
6
  //#region src/anatomy.d.ts
7
- declare const anatomy: _destyler_anatomy0.AnatomyInstance<"root" | "resizeTrigger" | "panel">;
7
+ declare const anatomy: _destyler_anatomy0.AnatomyInstance<"root" | "panel" | "resizeTrigger">;
8
8
  //#endregion
9
9
  //#region src/types.d.ts
10
10
  type PanelId = string | number;
@@ -145,8 +145,8 @@ declare function connect<T extends PropTypes>(state: State, send: Send, normaliz
145
145
  declare function machine(userContext: UserDefinedContext): _destyler_xstate0.Machine<MachineContext, MachineState, _destyler_xstate0.AnyEventObject>;
146
146
  //#endregion
147
147
  //#region src/props.d.ts
148
- declare const props: ("orientation" | "size" | "onSizeChange" | "onSizeChangeEnd" | "ids" | "dir" | "id" | "getRootNode")[];
149
- declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "orientation" | "size" | "onSizeChange" | "onSizeChangeEnd" | "ids" | "dir" | "id" | "getRootNode">];
148
+ declare const props: ("id" | "orientation" | "size" | "onSizeChange" | "onSizeChangeEnd" | "ids" | "dir" | "getRootNode")[];
149
+ declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "id" | "orientation" | "size" | "onSizeChange" | "onSizeChangeEnd" | "ids" | "dir" | "getRootNode">];
150
150
  declare const panelProps: (keyof PanelProps)[];
151
151
  declare const splitPanelProps: <Props extends PanelProps>(props: Props) => [PanelProps, Omit<Props, keyof PanelProps>];
152
152
  declare const resizeTriggerProps: (keyof ResizeTriggerProps)[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@destyler/splitter",
3
3
  "type": "module",
4
- "version": "0.2.3-beta.2",
4
+ "version": "0.2.3-beta.4",
5
5
  "description": "A component that divides your layout into resizable sections.",
6
6
  "author": "Elone Hoo <elonehoo@gmail.com>",
7
7
  "license": "MIT",
@@ -22,11 +22,11 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@destyler/dom": "0.2.3-beta.2",
26
- "@destyler/utils": "0.2.3-beta.2",
27
- "@destyler/types": "0.2.3-beta.2",
28
- "@destyler/anatomy": "0.2.3-beta.2",
29
- "@destyler/xstate": "0.2.3-beta.2"
25
+ "@destyler/anatomy": "0.2.3-beta.4",
26
+ "@destyler/dom": "0.2.3-beta.4",
27
+ "@destyler/utils": "0.2.3-beta.4",
28
+ "@destyler/xstate": "0.2.3-beta.4",
29
+ "@destyler/types": "0.2.3-beta.4"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"