@destyler/splitter 0.2.3 → 0.2.6

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;
@@ -153,8 +153,8 @@ declare function connect<T extends PropTypes>(state: State, send: Send, normaliz
153
153
  declare function machine(userContext: UserDefinedContext): _destyler_xstate0.Machine<MachineContext, MachineState, _destyler_xstate0.AnyEventObject>;
154
154
  //#endregion
155
155
  //#region src/props.d.ts
156
- declare const props: ("orientation" | "size" | "onSizeChange" | "onSizeChangeEnd" | "ids" | "dir" | "id" | "getRootNode")[];
157
- declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "orientation" | "size" | "onSizeChange" | "onSizeChangeEnd" | "ids" | "dir" | "id" | "getRootNode">];
156
+ declare const props: ("id" | "orientation" | "size" | "onSizeChange" | "onSizeChangeEnd" | "ids" | "dir" | "getRootNode")[];
157
+ declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "id" | "orientation" | "size" | "onSizeChange" | "onSizeChangeEnd" | "ids" | "dir" | "getRootNode">];
158
158
  declare const panelProps: (keyof PanelProps)[];
159
159
  declare const splitPanelProps: <Props extends PanelProps>(props: Props) => [PanelProps, Omit<Props, keyof PanelProps>];
160
160
  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",
4
+ "version": "0.2.6",
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/anatomy": "0.2.3",
26
- "@destyler/dom": "0.2.3",
27
- "@destyler/types": "0.2.3",
28
- "@destyler/utils": "0.2.3",
29
- "@destyler/xstate": "0.2.3"
25
+ "@destyler/anatomy": "0.2.6",
26
+ "@destyler/dom": "0.2.6",
27
+ "@destyler/types": "0.2.6",
28
+ "@destyler/utils": "0.2.6",
29
+ "@destyler/xstate": "0.2.6"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"