@synerise/ds-scrollbar 1.2.15 → 1.2.16
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 +4 -0
- package/README.md +4 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.2.16](https://github.com/Synerise/synerise-design/compare/@synerise/ds-scrollbar@1.2.15...@synerise/ds-scrollbar@1.2.16) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-scrollbar
|
|
9
|
+
|
|
6
10
|
## [1.2.15](https://github.com/Synerise/synerise-design/compare/@synerise/ds-scrollbar@1.2.14...@synerise/ds-scrollbar@1.2.15) (2026-03-09)
|
|
7
11
|
|
|
8
12
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Scrollbar UI Component
|
|
|
10
10
|
```
|
|
11
11
|
npm i @synerise/ds-scrollbar
|
|
12
12
|
or
|
|
13
|
-
|
|
13
|
+
pnpm add @synerise/ds-scrollbar
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
## Usage
|
|
@@ -30,7 +30,7 @@ import Scrollbar from '@synerise/ds-scrollbar'
|
|
|
30
30
|
|
|
31
31
|
| Property | Description | Type | Default |
|
|
32
32
|
| ------------- | -------------------------------------------------------------------------------- | ------------------------ | ------- |
|
|
33
|
-
| absolute | Whether the scrollbar is over content | boolean | `
|
|
33
|
+
| absolute | Whether the scrollbar is over content | boolean | `false` |
|
|
34
34
|
| largeSize | Larger scrollbar | boolean | false |
|
|
35
35
|
| children | Scrolled component | React.ReactNode / string | - |
|
|
36
36
|
| classes | String with optional classes | string | - |
|
|
@@ -40,4 +40,6 @@ import Scrollbar from '@synerise/ds-scrollbar'
|
|
|
40
40
|
| maxHeight | Optional max-height value | string / number | - |
|
|
41
41
|
| style | Additional styles for scrollbar wrapper | React.CSSProperties | - |
|
|
42
42
|
| withDnd | Whether use DndScrollbar or VirtualScrollbar component | boolean | false |
|
|
43
|
+
| onScroll | Callback fired on scroll events | (event: UIEvent) => void | - |
|
|
44
|
+
| onYReachEnd | Callback fired independently when scroll reaches the Y end | () => void | - |
|
|
43
45
|
| confineScroll | Will prevent wheel event from propagating (scrolling outer scope) if set to true | boolean | false |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-scrollbar",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.16",
|
|
4
4
|
"description": "Scrollbar UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@ofsajd/react-perfect-scrollbar": "1.0.0",
|
|
39
|
-
"@synerise/ds-icon": "^1.
|
|
40
|
-
"@synerise/ds-utils": "^1.
|
|
39
|
+
"@synerise/ds-icon": "^1.15.0",
|
|
40
|
+
"@synerise/ds-utils": "^1.7.0",
|
|
41
41
|
"classnames": "^2.3.2"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"react": ">=16.9.0 <= 18.3.1",
|
|
46
46
|
"styled-components": "^5.3.3"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
49
49
|
}
|