@yamada-ui/resizable 1.2.1 → 1.2.2-next-20241126122849

Sign up to get free protection for your applications and to get access to all the features.
@@ -88,7 +88,7 @@ declare const useResizable: ({ id, ref, controlRef: controlRefProp, direction, i
88
88
  slot?: string | undefined;
89
89
  style?: react.CSSProperties | undefined;
90
90
  title?: string | undefined;
91
- dir?: "auto" | "ltr" | "rtl" | undefined;
91
+ dir?: "ltr" | "rtl" | "auto" | undefined;
92
92
  defaultValue?: string | number | readonly string[] | undefined;
93
93
  color?: string | undefined;
94
94
  direction: "vertical" | "horizontal";
@@ -349,14 +349,14 @@ declare const useResizable: ({ id, ref, controlRef: controlRefProp, direction, i
349
349
  onAnimationIterationCapture?: react.AnimationEventHandler<keyof HTMLElementTagNameMap> | undefined;
350
350
  onTransitionEnd?: react.TransitionEventHandler<keyof HTMLElementTagNameMap> | undefined;
351
351
  onTransitionEndCapture?: react.TransitionEventHandler<keyof HTMLElementTagNameMap> | undefined;
352
+ storage: PanelGroupStorage;
352
353
  autoSaveId: string | null;
353
354
  keyboardResizeBy: number | null;
354
355
  onLayout: PanelGroupOnLayout | null;
355
- storage: PanelGroupStorage;
356
356
  id: string;
357
357
  ref: (node: ResizableGroupControl | null) => void;
358
358
  tagName: keyof HTMLElementTagNameMap | undefined;
359
- children?: react.ReactNode | undefined;
359
+ children?: react.ReactNode;
360
360
  };
361
361
  };
362
362
  type UseResizableReturn = ReturnType<typeof useResizable>;
@@ -88,7 +88,7 @@ declare const useResizable: ({ id, ref, controlRef: controlRefProp, direction, i
88
88
  slot?: string | undefined;
89
89
  style?: react.CSSProperties | undefined;
90
90
  title?: string | undefined;
91
- dir?: "auto" | "ltr" | "rtl" | undefined;
91
+ dir?: "ltr" | "rtl" | "auto" | undefined;
92
92
  defaultValue?: string | number | readonly string[] | undefined;
93
93
  color?: string | undefined;
94
94
  direction: "vertical" | "horizontal";
@@ -349,14 +349,14 @@ declare const useResizable: ({ id, ref, controlRef: controlRefProp, direction, i
349
349
  onAnimationIterationCapture?: react.AnimationEventHandler<keyof HTMLElementTagNameMap> | undefined;
350
350
  onTransitionEnd?: react.TransitionEventHandler<keyof HTMLElementTagNameMap> | undefined;
351
351
  onTransitionEndCapture?: react.TransitionEventHandler<keyof HTMLElementTagNameMap> | undefined;
352
+ storage: PanelGroupStorage;
352
353
  autoSaveId: string | null;
353
354
  keyboardResizeBy: number | null;
354
355
  onLayout: PanelGroupOnLayout | null;
355
- storage: PanelGroupStorage;
356
356
  id: string;
357
357
  ref: (node: ResizableGroupControl | null) => void;
358
358
  tagName: keyof HTMLElementTagNameMap | undefined;
359
- children?: react.ReactNode | undefined;
359
+ children?: react.ReactNode;
360
360
  };
361
361
  };
362
362
  type UseResizableReturn = ReturnType<typeof useResizable>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/resizable",
3
- "version": "1.2.1",
3
+ "version": "1.2.2-next-20241126122849",
4
4
  "description": "Yamada UI resizable component",
5
5
  "keywords": [
6
6
  "yamada",
@@ -37,9 +37,9 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "react-resizable-panels": "^2.1.7",
40
- "@yamada-ui/core": "1.15.6",
41
- "@yamada-ui/icon": "1.1.14",
42
- "@yamada-ui/utils": "1.5.4"
40
+ "@yamada-ui/core": "1.16.0-next-20241126122849",
41
+ "@yamada-ui/icon": "1.1.15-next-20241126122849",
42
+ "@yamada-ui/utils": "1.6.0-next-20241126122849"
43
43
  },
44
44
  "devDependencies": {
45
45
  "clean-package": "2.2.0",