@synerise/ds-scrollbar 2.0.8 → 2.1.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.
- package/CHANGELOG.md +22 -0
- package/CLAUDE.md +5 -5
- package/dist/DnDScrollbar/DnDScrollbar.styles.js +5 -5
- package/dist/Scrollbar.js +1 -3
- package/dist/Scrollbar.styles.js +2 -2
- package/dist/VirtualScrollbar/VirtualScrollbar.styles.js +1 -1
- package/dist/style/index.css +1 -1
- package/package.json +8 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
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
|
+
# [2.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-scrollbar@2.0.9...@synerise/ds-scrollbar@2.1.0) (2026-10-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* integrate Token Studio design tokens across the design system ([aabb447](https://github.com/Synerise/synerise-design/commit/aabb447edfb2d0c85e3de1f07e809ef84083453b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [2.0.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-scrollbar@2.0.8...@synerise/ds-scrollbar@2.0.9) (2026-10-26)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* drop vitest peer dependency and bump vulnerable runtime deps ([2467d36](https://github.com/Synerise/synerise-design/commit/2467d3606aa97141a3a2d80c3ef396e78bee285c))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
## [2.0.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-scrollbar@2.0.7...@synerise/ds-scrollbar@2.0.8) (2026-10-22)
|
|
7
29
|
|
|
8
30
|
|
package/CLAUDE.md
CHANGED
|
@@ -105,13 +105,13 @@ import Scrollbar from '@synerise/ds-scrollbar';
|
|
|
105
105
|
|
|
106
106
|
Two layers of styling:
|
|
107
107
|
|
|
108
|
-
1. **styled-components** — `ScrollbarContainer` (relative, `height: 100%`) wraps both mode variants. It owns the `.ps { overscroll-behavior: <overscrollBehavior>; }` rule, which is picked up by the virtual variant (perfect-scrollbar's `.ps` element). The DnD variant ships its own `ScrollbarContainer` that applies `overscroll-behavior` directly on itself. The prop defaults to `'contain'`, matching the behavior previously hard-coded in `scrollbar.mixin.less`. `LoaderWrapper` (absolute fill,
|
|
108
|
+
1. **styled-components** — `ScrollbarContainer` (relative, `height: 100%`) wraps both mode variants. It owns the `.ps { overscroll-behavior: <overscrollBehavior>; }` rule, which is picked up by the virtual variant (perfect-scrollbar's `.ps` element). The DnD variant ships its own `ScrollbarContainer` that applies `overscroll-behavior` directly on itself. The prop defaults to `'contain'`, matching the behavior previously hard-coded in `scrollbar.mixin.less`. `LoaderWrapper` (absolute fill, `--ds-scrollbar-loading-overlay`, the page background at 60%, so it follows dark mode) and a spinning `Loader` are rendered on top when `loading` is true.
|
|
109
109
|
2. **Less overrides** (`style/scrollbar.mixin.less`) — patches PerfectScrollbar's `.ps__rail-*` and `.ps__thumb-*` classes. The `.large-size` class (applied via `classnames` in `VirtualScrollbar`) activates the wide blue thumb variant.
|
|
110
110
|
|
|
111
111
|
**Token usage:**
|
|
112
|
-
- Default thumb: `
|
|
113
|
-
- Large thumb: `
|
|
114
|
-
- Loading spinner in `Scrollbar.styles`: `
|
|
112
|
+
- Default thumb: `var(--ds-color-background-base-strong)` / `var(--ds-color-background-base-stronghover)` (hover). In both variants the thumb element spans the full 11 px rail so it is easy to grab, and only a 3 px bar is painted by its `::before`
|
|
113
|
+
- Large thumb: `var(--ds-color-background-brand-subtle)` / `var(--ds-color-background-brand-subtlehover)` (hover), `var(--ds-color-border-base-strong)` border / `var(--ds-color-border-base-stronghover)` border (hover)
|
|
114
|
+
- Loading spinner in `Scrollbar.styles`: `var(--ds-color-icon-base-default)`; in `DnDScrollbar.styles`: `var(--ds-color-icon-brand-default)`
|
|
115
115
|
|
|
116
116
|
The track in `DnDScrollbar` is hidden (`opacity: 0`) and revealed on parent hover via a styled-components selector chain.
|
|
117
117
|
|
|
@@ -120,7 +120,7 @@ The track in `DnDScrollbar` is hidden (`opacity: 0`) and revealed on parent hove
|
|
|
120
120
|
- `@ofsajd/react-perfect-scrollbar` `1.0.0` — used only by `VirtualScrollbar`; this is a fork/mirror of `react-perfect-scrollbar`
|
|
121
121
|
- `@synerise/ds-utils` — `useCombinedRefs`, `useResizeObserver` (used in `VirtualScrollbar`)
|
|
122
122
|
- `@synerise/ds-icon` + `SpinnerM` — loading spinner icon
|
|
123
|
-
- `@synerise/ds-core` — `
|
|
123
|
+
- `@synerise/ds-core` — peer dependency; `DSProvider` injects the `--ds-*` token custom properties
|
|
124
124
|
- `classnames` — conditional class composition in `VirtualScrollbar`
|
|
125
125
|
|
|
126
126
|
## Implementation notes
|
|
@@ -16,24 +16,24 @@ const ScrollbarWrapper = /* @__PURE__ */ styled.div.withConfig({
|
|
|
16
16
|
return "";
|
|
17
17
|
}
|
|
18
18
|
return props.largeSize ? "20px !important" : "11px !important";
|
|
19
|
-
}, (props) => props.loading ? "
|
|
19
|
+
}, (props) => props.loading ? "var(--ds-opacity-muted)" : "1");
|
|
20
20
|
const ThumbVertical = /* @__PURE__ */ styled.div.withConfig({
|
|
21
21
|
displayName: "DnDScrollbarstyles__ThumbVertical",
|
|
22
22
|
componentId: "sc-12t6y2d-2"
|
|
23
|
-
})(["position:absolute;", ""], (props) => props.largeSize ? css(["right:4px;width:16px;background-color:
|
|
23
|
+
})(["position:absolute;", ""], (props) => props.largeSize ? css(["right:4px;width:16px;background-color:var(--ds-color-background-brand-subtle);border-radius:3px;border:1px solid var(--ds-color-border-base-strong);&:hover,&:active{background-color:var(--ds-color-background-brand-subtlehover);border:1px solid var(--ds-color-border-base-stronghover);}"]) : css(["right:0;width:11px;background-color:transparent;&::before{content:'';position:absolute;top:0;bottom:0;right:4px;width:3px;border-radius:3px;background-color:var(--ds-color-background-base-strong);}&:hover::before,&:active::before{background-color:var(--ds-color-background-base-stronghover);}"]));
|
|
24
24
|
const ScrollbarTrackWrapper = /* @__PURE__ */ styled.div.withConfig({
|
|
25
25
|
displayName: "DnDScrollbarstyles__ScrollbarTrackWrapper",
|
|
26
26
|
componentId: "sc-12t6y2d-3"
|
|
27
|
-
})(["display:block;height:100%;position:absolute;width:", ";top:0;right:", ";bottom:0;user-select:none;opacity:0;transition:opacity 0.3s ease-in-out;", " ", ""], (props) => props.largeSize ? "24px" : "11px", (props) => props.largeSize ? "3px" : "0", (props) => props.largeSize && css(["&:hover ", "{background-color:
|
|
27
|
+
})(["display:block;height:100%;position:absolute;width:", ";top:0;right:", ";bottom:0;user-select:none;opacity:0;transition:opacity 0.3s ease-in-out;", " ", ""], (props) => props.largeSize ? "24px" : "11px", (props) => props.largeSize ? "3px" : "0", (props) => props.largeSize && css(["&:hover ", "{background-color:var(--ds-color-background-brand-subtlehover);border:1px solid var(--ds-color-border-base-stronghover);}"], ThumbVertical), (props) => !props.largeSize && css(["&:hover ", "::before{background-color:var(--ds-color-background-base-stronghover);}"], ThumbVertical));
|
|
28
28
|
const TrackVertical = /* @__PURE__ */ styled.div.withConfig({
|
|
29
29
|
displayName: "DnDScrollbarstyles__TrackVertical",
|
|
30
30
|
componentId: "sc-12t6y2d-4"
|
|
31
|
-
})(["opacity:
|
|
31
|
+
})(["opacity:var(--ds-opacity-muted);width:11px;height:calc(100% - 8px);transform:translateY(4px);overflow:hidden;right:0;top:0;bottom:0;position:absolute;&:hover,&:active,&:focus{opacity:0.6;}"]);
|
|
32
32
|
const spinnerAnimation = /* @__PURE__ */ keyframes(["from{transform:rotateZ(0deg);}to{transform:rotateZ(360deg);}"]);
|
|
33
33
|
const Loader = /* @__PURE__ */ styled.div.withConfig({
|
|
34
34
|
displayName: "DnDScrollbarstyles__Loader",
|
|
35
35
|
componentId: "sc-12t6y2d-5"
|
|
36
|
-
})(["width:0;height:0;position:absolute;top:calc(50% - 12px);left:calc(50% - 12px);z-index:99;pointer-events:none;display:flex;opacity:", ";transform-origin:12px 12px;transition:opacity 0.3s ease-in-out;animation:", " 1s forwards linear infinite;svg{color:
|
|
36
|
+
})(["width:0;height:0;position:absolute;top:calc(50% - 12px);left:calc(50% - 12px);z-index:99;pointer-events:none;display:flex;opacity:", ";transform-origin:12px 12px;transition:opacity 0.3s ease-in-out;animation:", " 1s forwards linear infinite;svg{color:var(--ds-color-icon-brand-default);fill:var(--ds-color-icon-brand-default);}"], (props) => props.loading ? "1" : "0", spinnerAnimation);
|
|
37
37
|
const ScrollbarContainer = /* @__PURE__ */ styled.div.withConfig({
|
|
38
38
|
displayName: "DnDScrollbarstyles__ScrollbarContainer",
|
|
39
39
|
componentId: "sc-12t6y2d-6"
|
package/dist/Scrollbar.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
|
-
import { useTheme } from "@synerise/ds-core";
|
|
4
3
|
import Icon, { SpinnerM } from "@synerise/ds-icon";
|
|
5
4
|
import { DnDScrollbar } from "./DnDScrollbar/DnDScrollbar.js";
|
|
6
5
|
import { ScrollbarContainer, LoaderWrapper, Loader } from "./Scrollbar.styles.js";
|
|
@@ -14,11 +13,10 @@ const Scrollbar = forwardRef(({
|
|
|
14
13
|
overscrollBehavior = "contain",
|
|
15
14
|
...props
|
|
16
15
|
}, forwardedRef) => {
|
|
17
|
-
const theme = useTheme();
|
|
18
16
|
const Component = withDnd ? DnDScrollbar : VirtualScrollbar;
|
|
19
17
|
return /* @__PURE__ */ jsxs(ScrollbarContainer, { overscrollBehavior, className, children: [
|
|
20
18
|
/* @__PURE__ */ jsx(Component, { ...props, overscrollBehavior, fetchData, ref: forwardedRef, children }),
|
|
21
|
-
loading && /* @__PURE__ */ jsx(LoaderWrapper, { children: /* @__PURE__ */ jsx(Loader, { loading, children: /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(SpinnerM, {}), color:
|
|
19
|
+
loading && /* @__PURE__ */ jsx(LoaderWrapper, { children: /* @__PURE__ */ jsx(Loader, { loading, children: /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(SpinnerM, {}), color: "var(--ds-color-icon-base-default)" }) }) })
|
|
22
20
|
] });
|
|
23
21
|
});
|
|
24
22
|
export {
|
package/dist/Scrollbar.styles.js
CHANGED
|
@@ -3,11 +3,11 @@ const spinnerAnimation = /* @__PURE__ */ keyframes(["from{transform:rotateZ(0deg
|
|
|
3
3
|
const Loader = /* @__PURE__ */ styled.div.withConfig({
|
|
4
4
|
displayName: "Scrollbarstyles__Loader",
|
|
5
5
|
componentId: "sc-rfwkf7-0"
|
|
6
|
-
})(["width:0;height:0;position:absolute;top:calc(50% - 12px);left:calc(50% - 12px);z-index:99;pointer-events:none;display:flex;opacity:", ";transform-origin:12px 12px;transition:opacity 0.3s ease-in-out;animation:", " 1s forwards linear infinite;svg{color:
|
|
6
|
+
})(["width:0;height:0;position:absolute;top:calc(50% - 12px);left:calc(50% - 12px);z-index:99;pointer-events:none;display:flex;opacity:", ";transform-origin:12px 12px;transition:opacity 0.3s ease-in-out;animation:", " 1s forwards linear infinite;svg{color:var(--ds-color-icon-base-default);fill:var(--ds-color-icon-base-default);}"], (props) => props.loading ? "1" : "0", spinnerAnimation);
|
|
7
7
|
const LoaderWrapper = /* @__PURE__ */ styled.div.withConfig({
|
|
8
8
|
displayName: "Scrollbarstyles__LoaderWrapper",
|
|
9
9
|
componentId: "sc-rfwkf7-1"
|
|
10
|
-
})(["width:100%;height:100%;bottom:0;left:0;position:absolute;background-color:
|
|
10
|
+
})(["width:100%;height:100%;bottom:0;left:0;position:absolute;background-color:var(--ds-scrollbar-loading-overlay);"]);
|
|
11
11
|
const ScrollbarContainer = /* @__PURE__ */ styled.div.withConfig({
|
|
12
12
|
displayName: "Scrollbarstyles__ScrollbarContainer",
|
|
13
13
|
componentId: "sc-rfwkf7-2"
|
|
@@ -16,7 +16,7 @@ const ScrollbarWrapper = /* @__PURE__ */ styled.div.withConfig({
|
|
|
16
16
|
return "";
|
|
17
17
|
}
|
|
18
18
|
return props.largeSize ? "20px !important" : "11px !important";
|
|
19
|
-
}, (props) => props.loading ? "
|
|
19
|
+
}, (props) => props.loading ? "var(--ds-opacity-muted)" : "1");
|
|
20
20
|
export {
|
|
21
21
|
ScrollbarContent,
|
|
22
22
|
ScrollbarWrapper
|
package/dist/style/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.ps{overflow:auto!important}}.scrollbar-container{position:relative;height:100%}.ps__rail-x.ps__rail-x{opacity:0;height:11px;top:unset!important;bottom:0;position:absolute;width:calc(100% - 8px)!important;transform:translateX(-4px);overflow:hidden;margin-right:12px;transition:opacity .3s ease-in-out}.ps__rail-y.ps__rail-y{opacity:0;width:11px;left:unset!important;right:0;position:absolute;height:calc(100% - 8px)!important;transform:translateY(4px);overflow:hidden;margin-bottom:12px;transition:opacity .3s ease-in-out}.ps:hover .ps__rail-x,.ps:hover .ps__rail-y{opacity:1}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:unset}.ps__thumb-x,.ps__thumb-y{background-color:transparent;border-radius:0}.ps__thumb-x::before,.ps__thumb-y::before{content:'';position:absolute;background-color
|
|
1
|
+
.ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.ps{overflow:auto!important}}.scrollbar-container{position:relative;height:100%}.ps__rail-x.ps__rail-x{opacity:0;height:11px;top:unset!important;bottom:0;position:absolute;width:calc(100% - 8px)!important;transform:translateX(-4px);overflow:hidden;margin-right:12px;transition:opacity .3s ease-in-out}.ps__rail-y.ps__rail-y{opacity:0;width:11px;left:unset!important;right:0;position:absolute;height:calc(100% - 8px)!important;transform:translateY(4px);overflow:hidden;margin-bottom:12px;transition:opacity .3s ease-in-out}.ps:hover .ps__rail-x,.ps:hover .ps__rail-y{opacity:1}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:unset}.ps__thumb-x,.ps__thumb-y{background-color:transparent;border-radius:0}.ps__thumb-x::before,.ps__thumb-y::before{content:'';position:absolute;background-color:var(--ds-color-background-base-strong);border-radius:3px;transition:background-color .2s linear}.ps__thumb-x{height:11px;bottom:0;margin:0 4px}.ps__thumb-x::before{left:0;right:0;bottom:4px;height:3px}.ps__thumb-y{width:11px;right:0}.ps__thumb-y::before{top:0;bottom:0;right:4px;width:3px}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x,.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:transparent}.ps__rail-x.ps--clicking .ps__thumb-x::before,.ps__rail-x:focus>.ps__thumb-x::before,.ps__rail-x:hover>.ps__thumb-x::before,.ps__rail-y.ps--clicking .ps__thumb-y::before,.ps__rail-y:focus>.ps__thumb-y::before,.ps__rail-y:hover>.ps__thumb-y::before{background-color:var(--ds-color-background-base-stronghover)}.large-size .ps__rail-x.ps__rail-x,.large-size .ps__rail-y.ps__rail-y{width:26px;height:26px;position:absolute;overflow:hidden}.large-size .ps__rail-y.ps--clicking .ps__thumb-y,.large-size .ps__rail-y:focus>.ps__thumb-y,.large-size .ps__rail-y:hover>.ps__thumb-y,.large-size .ps__thumb-x,.large-size .ps__thumb-y,.large-size .ps__thumb-y--clicking,.large-size .ps__thumb-y:hover{background-color:var(--ds-color-background-brand-subtle);border-radius:3px;width:16px;height:16px;border:1px solid var(--ds-color-border-base-strong)}.large-size .ps__thumb-x{bottom:4px}.large-size .ps__thumb-y{right:4px}.large-size .ps__thumb-x::before,.large-size .ps__thumb-y::before{content:none}.large-size .ps__rail-x.ps--clicking .ps__thumb-x,.large-size .ps__rail-x:focus>.ps__thumb-x,.large-size .ps__rail-x:hover>.ps__thumb-x,.large-size .ps__rail-y.ps--clicking .ps__thumb-y,.large-size .ps__rail-y:focus>.ps__thumb-y,.large-size .ps__rail-y:hover>.ps__thumb-y{background-color:var(--ds-color-background-brand-subtlehover);border:1px solid var(--ds-color-border-base-stronghover);height:16px}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-scrollbar",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Scrollbar UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -43,15 +43,17 @@
|
|
|
43
43
|
"types": "dist/index.d.ts",
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@ofsajd/react-perfect-scrollbar": "1.0.0",
|
|
46
|
-
"@synerise/ds-icon": "^2.
|
|
47
|
-
"@synerise/ds-utils": "^2.
|
|
46
|
+
"@synerise/ds-icon": "^2.3.0",
|
|
47
|
+
"@synerise/ds-utils": "^2.3.0",
|
|
48
48
|
"classnames": "^2.3.2"
|
|
49
49
|
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"vitest": "4"
|
|
52
|
+
},
|
|
50
53
|
"peerDependencies": {
|
|
51
54
|
"@synerise/ds-core": "*",
|
|
52
55
|
"react": ">=16.9.0 <= 18.3.1",
|
|
53
|
-
"styled-components": "^5.3.3"
|
|
54
|
-
"vitest": "4"
|
|
56
|
+
"styled-components": "^5.3.3"
|
|
55
57
|
},
|
|
56
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "5c3d61e30289486d14c7d6becb682e2d4a08ce41"
|
|
57
59
|
}
|