react-resizable-panels 4.1.0 → 4.1.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.
@@ -7,6 +7,8 @@ import { Ref } from 'react';
7
7
  import { RefObject } from 'react';
8
8
  import { SetStateAction } from 'react';
9
9
 
10
+ declare type BaseAttributes = Omit<HTMLAttributes<HTMLDivElement>, "role" | "tabIndex">;
11
+
10
12
  /**
11
13
  * A Group wraps a set of resizable Panel components.
12
14
  * Group content can be resized _horizontally_ or _vertically_.
@@ -290,7 +292,7 @@ export declare type PanelSize = {
290
292
  */
291
293
  export declare function Separator({ children, className, elementRef, id: idProp, style, ...rest }: SeparatorProps): JSX.Element;
292
294
 
293
- export declare type SeparatorProps = HTMLAttributes<HTMLDivElement> & {
295
+ export declare type SeparatorProps = BaseAttributes & {
294
296
  /**
295
297
  * CSS class name.
296
298
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-resizable-panels",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "type": "module",
5
5
  "author": "Brian Vaughn <brian.david.vaughn@gmail.com> (https://github.com/bvaughn/)",
6
6
  "contributors": [
@@ -50,24 +50,16 @@
50
50
  "react-dom": "^18.0.0 || ^19.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@codemirror/lang-css": "latest",
54
- "@codemirror/lang-html": "latest",
55
- "@codemirror/lang-javascript": "latest",
56
- "@codemirror/lang-markdown": "latest",
57
- "@codemirror/language": "latest",
58
- "@codemirror/state": "latest",
59
53
  "@csstools/postcss-oklab-function": "^4.0.11",
60
54
  "@eslint/js": "^9.30.1",
61
55
  "@headlessui/react": "^2.2.4",
62
56
  "@headlessui/tailwindcss": "^0.2.2",
63
57
  "@heroicons/react": "^2.2.0",
64
- "@lezer/highlight": "latest",
65
58
  "@tailwindcss/vite": "^4.1.11",
66
59
  "@tailwindplus/elements": "^1.0.5",
67
60
  "@testing-library/jest-dom": "^6.6.4",
68
61
  "@testing-library/react": "^16.3.0",
69
62
  "@testing-library/user-event": "^14.6.1",
70
- "@ts-ast-parser/core": "^0.8.0",
71
63
  "@types/compression": "^1.8.1",
72
64
  "@types/express": "^5.0.5",
73
65
  "@types/markdown-it": "^14.1.2",
@@ -95,7 +87,7 @@
95
87
  "react-docgen-typescript": "^2.4.0",
96
88
  "react-dom": "^19.2.3",
97
89
  "react-error-boundary": "^6.0.0",
98
- "react-lib-tools": "^0.0.7",
90
+ "react-lib-tools": "^0.0.19",
99
91
  "react-router-dom": "^7.6.3",
100
92
  "rollup-plugin-terser": "^7.0.2",
101
93
  "rollup-plugin-visualizer": "^6.0.3",