@nimbus-ds/components 5.37.0 → 5.38.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.
- package/CHANGELOG.md +12 -0
- package/dist/CHANGELOG.md +12 -0
- package/dist/Input/index.js +1 -1
- package/dist/ScrollPane/index.d.ts +8 -1
- package/dist/ScrollPane/index.js +1 -1
- package/dist/components-props.json +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +1 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -3661,7 +3661,7 @@ export interface ScrollPaneItemProperties {
|
|
|
3661
3661
|
*/
|
|
3662
3662
|
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
3663
3663
|
}
|
|
3664
|
-
export type ScrollPaneItemProps = ScrollPaneItemProperties & Omit<
|
|
3664
|
+
export type ScrollPaneItemProps = ScrollPaneItemProperties & Omit<React.HTMLAttributes<HTMLDivElement>, "children">;
|
|
3665
3665
|
export type ScrollPaneArrowProperties = {
|
|
3666
3666
|
children: ReactNode;
|
|
3667
3667
|
};
|
|
@@ -3706,6 +3706,12 @@ export interface ScrollPaneProperties {
|
|
|
3706
3706
|
* @default true
|
|
3707
3707
|
*/
|
|
3708
3708
|
scrollToItemOnClick?: boolean;
|
|
3709
|
+
/**
|
|
3710
|
+
* Enable grab-to-scroll functionality (click and drag to scroll)
|
|
3711
|
+
* When enabled, prevents item dragging inside the ScrollPane
|
|
3712
|
+
* @default false
|
|
3713
|
+
*/
|
|
3714
|
+
enableGrabScroll?: boolean;
|
|
3709
3715
|
/**
|
|
3710
3716
|
* Custom arrow component to render at the start of the scroll area
|
|
3711
3717
|
*/
|