react-resizable-panels 4.7.6 → 4.9.0
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.
|
@@ -356,7 +356,7 @@ export declare type PanelSize = {
|
|
|
356
356
|
*
|
|
357
357
|
* ℹ️ In addition to the attributes shown above, separator also renders all required [WAI-ARIA properties](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/separator_role#associated_wai-aria_roles_states_and_properties).
|
|
358
358
|
*/
|
|
359
|
-
export declare function Separator({ children, className, disabled, elementRef: elementRefProp, id: idProp, style, ...rest }: SeparatorProps): JSX.Element;
|
|
359
|
+
export declare function Separator({ children, className, disabled, disableDoubleClick, elementRef: elementRefProp, id: idProp, style, ...rest }: SeparatorProps): JSX.Element;
|
|
360
360
|
|
|
361
361
|
export declare namespace Separator {
|
|
362
362
|
var displayName: string;
|
|
@@ -378,6 +378,10 @@ export declare type SeparatorProps = BaseSeparatorAttributes & {
|
|
|
378
378
|
* To prevent a panel from being resized at all, it needs to also be disabled.
|
|
379
379
|
*/
|
|
380
380
|
disabled?: boolean | undefined;
|
|
381
|
+
/**
|
|
382
|
+
* When true, double-clicking this `Separator` will not reset its `Panel` to its default size.
|
|
383
|
+
*/
|
|
384
|
+
disableDoubleClick?: boolean;
|
|
381
385
|
/**
|
|
382
386
|
* Ref attached to the root `HTMLDivElement`.
|
|
383
387
|
*/
|