@semcore/scroll-area
Advanced tools
Comparing version 5.41.0 to 5.42.0-prerelease.0
@@ -5,2 +5,8 @@ # Changelog | ||
## [5.42.0] - 2024-11-01 | ||
### Changed | ||
- Version minor update due to children dependencies update (`@semcore/utils` [4.42.0 ~> 4.43.0], `@semcore/flex-box` [5.37.0 ~> 5.38.0], `@semcore/core` [2.35.0 ~> 2.36.0]). | ||
## [5.41.0] - 2024-10-28 | ||
@@ -7,0 +13,0 @@ |
@@ -33,23 +33,23 @@ "use strict"; | ||
/*__reshadow-styles__:"./style/scroll-area.shadow.css"*/ | ||
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SScrollArea_4bntl_gg_{position:relative;width:100%;height:100%}.___SShadowHorizontal_4bntl_gg_:after,.___SShadowHorizontal_4bntl_gg_:before,.___SShadowVertical_4bntl_gg_:after,.___SShadowVertical_4bntl_gg_:before{content:\"\";position:absolute;display:none;pointer-events:none}.___SShadowHorizontal_4bntl_gg_:after,.___SShadowHorizontal_4bntl_gg_:before{top:0;width:5px;height:100%}.___SShadowHorizontal_4bntl_gg_._position_median_4bntl_gg_:before{left:0;display:block;background:var(--intergalactic-scroll-area-shadow-left,\n linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_4bntl_gg_._position_median_4bntl_gg_:after{right:0;display:block;background:var(--intergalactic-scroll-area-shadow-right,\n linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_4bntl_gg_._position_start_4bntl_gg_:before{left:0;display:block;background:var(--intergalactic-scroll-area-shadow-left,\n linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_4bntl_gg_._position_end_4bntl_gg_:after{right:0;display:block;background:var(--intergalactic-scroll-area-shadow-right,\n linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_4bntl_gg_.__leftOffset_4bntl_gg_:before{left:var(--leftOffset_4bntl)}.___SShadowHorizontal_4bntl_gg_.__rightOffset_4bntl_gg_:after{right:var(--rightOffset_4bntl)}.___SShadowVertical_4bntl_gg_:after,.___SShadowVertical_4bntl_gg_:before{left:0;width:100%;height:5px}.___SShadowVertical_4bntl_gg_._position_median_4bntl_gg_:before{top:0;display:block;background:var(--intergalactic-scroll-area-shadow-top,\n linear-gradient(to bottom, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_4bntl_gg_._position_median_4bntl_gg_:after{bottom:0;display:block;background:var(--intergalactic-scroll-area-shadow-bottom,\n linear-gradient(to top, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_4bntl_gg_._position_start_4bntl_gg_:before{top:0;display:block;background:var(--intergalactic-scroll-area-shadow-top,\n linear-gradient(to bottom, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_4bntl_gg_._position_end_4bntl_gg_:after{bottom:0;display:block;background:var(--intergalactic-scroll-area-shadow-bottom,\n linear-gradient(to top, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_4bntl_gg_.__topOffset_4bntl_gg_:before{top:var(--topOffset_4bntl)}.___SShadowVertical_4bntl_gg_.__bottomOffset_4bntl_gg_:after{bottom:var(--bottomOffset_4bntl)}.___SContainer_4bntl_gg_{display:block;width:100%;height:100%;box-sizing:content-box;overflow:auto;-webkit-overflow-scrolling:touch;outline:0;scrollbar-width:none;-ms-overflow-style:none}.___SContainer_4bntl_gg_::-webkit-scrollbar{display:none}.___SContainer_4bntl_gg_.__keyboardFocused_4bntl_gg_:focus::after{position:absolute;display:block;content:\"\";top:0;right:0;bottom:0;left:0;top:var(--focusRingTopOffset_4bntl);right:var(--focusRingRightOffset_4bntl);bottom:var(--focusRingBottomOffset_4bntl);left:var(--focusRingLeftOffset_4bntl);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));pointer-events:none;z-index:2}" /*__inner_css_end__*/, "4bntl_gg_") /*__reshadow_css_end__*/, { | ||
"__SScrollArea": "___SScrollArea_4bntl_gg_", | ||
"__SShadowHorizontal": "___SShadowHorizontal_4bntl_gg_", | ||
"_leftOffset": "__leftOffset_4bntl_gg_", | ||
"--leftOffset": "--leftOffset_4bntl", | ||
"_rightOffset": "__rightOffset_4bntl_gg_", | ||
"--rightOffset": "--rightOffset_4bntl", | ||
"__SShadowVertical": "___SShadowVertical_4bntl_gg_", | ||
"_topOffset": "__topOffset_4bntl_gg_", | ||
"--topOffset": "--topOffset_4bntl", | ||
"_bottomOffset": "__bottomOffset_4bntl_gg_", | ||
"--bottomOffset": "--bottomOffset_4bntl", | ||
"__SContainer": "___SContainer_4bntl_gg_", | ||
"_keyboardFocused": "__keyboardFocused_4bntl_gg_", | ||
"--focusRingTopOffset": "--focusRingTopOffset_4bntl", | ||
"--focusRingRightOffset": "--focusRingRightOffset_4bntl", | ||
"--focusRingBottomOffset": "--focusRingBottomOffset_4bntl", | ||
"--focusRingLeftOffset": "--focusRingLeftOffset_4bntl", | ||
"_position_median": "_position_median_4bntl_gg_", | ||
"_position_start": "_position_start_4bntl_gg_", | ||
"_position_end": "_position_end_4bntl_gg_" | ||
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SScrollArea_t9rhf_gg_{position:relative;width:100%;height:100%}.___SShadowHorizontal_t9rhf_gg_:after,.___SShadowHorizontal_t9rhf_gg_:before,.___SShadowVertical_t9rhf_gg_:after,.___SShadowVertical_t9rhf_gg_:before{content:\"\";position:absolute;display:none;pointer-events:none}.___SShadowHorizontal_t9rhf_gg_:after,.___SShadowHorizontal_t9rhf_gg_:before{top:0;width:5px;height:100%}.___SShadowHorizontal_t9rhf_gg_._position_median_t9rhf_gg_:before{left:0;display:block;background:var(--intergalactic-scroll-area-shadow-left,\n linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_t9rhf_gg_._position_median_t9rhf_gg_:after{right:0;display:block;background:var(--intergalactic-scroll-area-shadow-right,\n linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_t9rhf_gg_._position_start_t9rhf_gg_:before{left:0;display:block;background:var(--intergalactic-scroll-area-shadow-left,\n linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_t9rhf_gg_._position_end_t9rhf_gg_:after{right:0;display:block;background:var(--intergalactic-scroll-area-shadow-right,\n linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_t9rhf_gg_.__leftOffset_t9rhf_gg_:before{left:var(--leftOffset_t9rhf)}.___SShadowHorizontal_t9rhf_gg_.__rightOffset_t9rhf_gg_:after{right:var(--rightOffset_t9rhf)}.___SShadowVertical_t9rhf_gg_:after,.___SShadowVertical_t9rhf_gg_:before{left:0;width:100%;height:5px}.___SShadowVertical_t9rhf_gg_._position_median_t9rhf_gg_:before{top:0;display:block;background:var(--intergalactic-scroll-area-shadow-top,\n linear-gradient(to bottom, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_t9rhf_gg_._position_median_t9rhf_gg_:after{bottom:0;display:block;background:var(--intergalactic-scroll-area-shadow-bottom,\n linear-gradient(to top, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_t9rhf_gg_._position_start_t9rhf_gg_:before{top:0;display:block;background:var(--intergalactic-scroll-area-shadow-top,\n linear-gradient(to bottom, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_t9rhf_gg_._position_end_t9rhf_gg_:after{bottom:0;display:block;background:var(--intergalactic-scroll-area-shadow-bottom,\n linear-gradient(to top, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_t9rhf_gg_.__topOffset_t9rhf_gg_:before{top:var(--topOffset_t9rhf)}.___SShadowVertical_t9rhf_gg_.__bottomOffset_t9rhf_gg_:after{bottom:var(--bottomOffset_t9rhf)}.___SContainer_t9rhf_gg_{display:block;width:100%;height:100%;box-sizing:content-box;overflow:auto;-webkit-overflow-scrolling:touch;outline:0;scrollbar-width:none;-ms-overflow-style:none}.___SContainer_t9rhf_gg_::-webkit-scrollbar{display:none}.___SContainer_t9rhf_gg_.__keyboardFocused_t9rhf_gg_:focus::after{position:absolute;display:block;content:\"\";top:0;right:0;bottom:0;left:0;top:var(--focusRingTopOffset_t9rhf);right:var(--focusRingRightOffset_t9rhf);bottom:var(--focusRingBottomOffset_t9rhf);left:var(--focusRingLeftOffset_t9rhf);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));pointer-events:none;z-index:2}" /*__inner_css_end__*/, "t9rhf_gg_") /*__reshadow_css_end__*/, { | ||
"__SScrollArea": "___SScrollArea_t9rhf_gg_", | ||
"__SShadowHorizontal": "___SShadowHorizontal_t9rhf_gg_", | ||
"_leftOffset": "__leftOffset_t9rhf_gg_", | ||
"--leftOffset": "--leftOffset_t9rhf", | ||
"_rightOffset": "__rightOffset_t9rhf_gg_", | ||
"--rightOffset": "--rightOffset_t9rhf", | ||
"__SShadowVertical": "___SShadowVertical_t9rhf_gg_", | ||
"_topOffset": "__topOffset_t9rhf_gg_", | ||
"--topOffset": "--topOffset_t9rhf", | ||
"_bottomOffset": "__bottomOffset_t9rhf_gg_", | ||
"--bottomOffset": "--bottomOffset_t9rhf", | ||
"__SContainer": "___SContainer_t9rhf_gg_", | ||
"_keyboardFocused": "__keyboardFocused_t9rhf_gg_", | ||
"--focusRingTopOffset": "--focusRingTopOffset_t9rhf", | ||
"--focusRingRightOffset": "--focusRingRightOffset_t9rhf", | ||
"--focusRingBottomOffset": "--focusRingBottomOffset_t9rhf", | ||
"--focusRingLeftOffset": "--focusRingLeftOffset_t9rhf", | ||
"_position_median": "_position_median_t9rhf_gg_", | ||
"_position_start": "_position_start_t9rhf_gg_", | ||
"_position_end": "_position_end_t9rhf_gg_" | ||
}); | ||
@@ -56,0 +56,0 @@ var eventCalculate = undefined; |
@@ -25,8 +25,8 @@ "use strict"; | ||
/*__reshadow-styles__:"./style/scroll-bar.shadow.css"*/ | ||
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SScrollBar_1isbf_gg_{position:absolute;display:flex}.___SScrollBar_1isbf_gg_._orientation_vertical_1isbf_gg_{top:var(--intergalactic-spacing-1x, 4px);right:0;width:8px;height:calc(100% - var(--offsetSum_1isbf) - var(--intergalactic-spacing-2x, 8px));justify-content:center}.___SScrollBar_1isbf_gg_._orientation_horizontal_1isbf_gg_{bottom:0;height:12px;align-items:center;width:calc(100% - var(--offsetSum_1isbf) - var(--intergalactic-spacing-2x, 8px))}.___SSlider_1isbf_gg_{cursor:pointer;width:6px;height:6px;border-radius:4px;background-color:var(--intergalactic-scroll-bar-background, rgba(25, 27, 35, 0.3))}" /*__inner_css_end__*/, "1isbf_gg_") /*__reshadow_css_end__*/, { | ||
"__SScrollBar": "___SScrollBar_1isbf_gg_", | ||
"_orientation_vertical": "_orientation_vertical_1isbf_gg_", | ||
"--offsetSum": "--offsetSum_1isbf", | ||
"_orientation_horizontal": "_orientation_horizontal_1isbf_gg_", | ||
"__SSlider": "___SSlider_1isbf_gg_" | ||
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SScrollBar_zc8kn_gg_{position:absolute;display:flex}.___SScrollBar_zc8kn_gg_._orientation_vertical_zc8kn_gg_{top:var(--intergalactic-spacing-1x, 4px);right:0;width:8px;height:calc(100% - var(--offsetSum_zc8kn) - var(--intergalactic-spacing-2x, 8px));justify-content:center}.___SScrollBar_zc8kn_gg_._orientation_horizontal_zc8kn_gg_{bottom:0;height:12px;align-items:center;width:calc(100% - var(--offsetSum_zc8kn) - var(--intergalactic-spacing-2x, 8px))}.___SSlider_zc8kn_gg_{cursor:pointer;width:6px;height:6px;border-radius:4px;background-color:var(--intergalactic-scroll-bar-background, rgba(25, 27, 35, 0.3))}" /*__inner_css_end__*/, "zc8kn_gg_") /*__reshadow_css_end__*/, { | ||
"__SScrollBar": "___SScrollBar_zc8kn_gg_", | ||
"_orientation_vertical": "_orientation_vertical_zc8kn_gg_", | ||
"--offsetSum": "--offsetSum_zc8kn", | ||
"_orientation_horizontal": "_orientation_horizontal_zc8kn_gg_", | ||
"__SSlider": "___SSlider_zc8kn_gg_" | ||
}); | ||
@@ -33,0 +33,0 @@ var hideScrollBarsFromScreenReadersContext = /*#__PURE__*/_react["default"].createContext(false); |
@@ -27,23 +27,23 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread2"; | ||
/*__reshadow-styles__:"./style/scroll-area.shadow.css"*/ | ||
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SScrollArea_4bntl_gg_{position:relative;width:100%;height:100%}.___SShadowHorizontal_4bntl_gg_:after,.___SShadowHorizontal_4bntl_gg_:before,.___SShadowVertical_4bntl_gg_:after,.___SShadowVertical_4bntl_gg_:before{content:\"\";position:absolute;display:none;pointer-events:none}.___SShadowHorizontal_4bntl_gg_:after,.___SShadowHorizontal_4bntl_gg_:before{top:0;width:5px;height:100%}.___SShadowHorizontal_4bntl_gg_._position_median_4bntl_gg_:before{left:0;display:block;background:var(--intergalactic-scroll-area-shadow-left,\n linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_4bntl_gg_._position_median_4bntl_gg_:after{right:0;display:block;background:var(--intergalactic-scroll-area-shadow-right,\n linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_4bntl_gg_._position_start_4bntl_gg_:before{left:0;display:block;background:var(--intergalactic-scroll-area-shadow-left,\n linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_4bntl_gg_._position_end_4bntl_gg_:after{right:0;display:block;background:var(--intergalactic-scroll-area-shadow-right,\n linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_4bntl_gg_.__leftOffset_4bntl_gg_:before{left:var(--leftOffset_4bntl)}.___SShadowHorizontal_4bntl_gg_.__rightOffset_4bntl_gg_:after{right:var(--rightOffset_4bntl)}.___SShadowVertical_4bntl_gg_:after,.___SShadowVertical_4bntl_gg_:before{left:0;width:100%;height:5px}.___SShadowVertical_4bntl_gg_._position_median_4bntl_gg_:before{top:0;display:block;background:var(--intergalactic-scroll-area-shadow-top,\n linear-gradient(to bottom, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_4bntl_gg_._position_median_4bntl_gg_:after{bottom:0;display:block;background:var(--intergalactic-scroll-area-shadow-bottom,\n linear-gradient(to top, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_4bntl_gg_._position_start_4bntl_gg_:before{top:0;display:block;background:var(--intergalactic-scroll-area-shadow-top,\n linear-gradient(to bottom, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_4bntl_gg_._position_end_4bntl_gg_:after{bottom:0;display:block;background:var(--intergalactic-scroll-area-shadow-bottom,\n linear-gradient(to top, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_4bntl_gg_.__topOffset_4bntl_gg_:before{top:var(--topOffset_4bntl)}.___SShadowVertical_4bntl_gg_.__bottomOffset_4bntl_gg_:after{bottom:var(--bottomOffset_4bntl)}.___SContainer_4bntl_gg_{display:block;width:100%;height:100%;box-sizing:content-box;overflow:auto;-webkit-overflow-scrolling:touch;outline:0;scrollbar-width:none;-ms-overflow-style:none}.___SContainer_4bntl_gg_::-webkit-scrollbar{display:none}.___SContainer_4bntl_gg_.__keyboardFocused_4bntl_gg_:focus::after{position:absolute;display:block;content:\"\";top:0;right:0;bottom:0;left:0;top:var(--focusRingTopOffset_4bntl);right:var(--focusRingRightOffset_4bntl);bottom:var(--focusRingBottomOffset_4bntl);left:var(--focusRingLeftOffset_4bntl);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));pointer-events:none;z-index:2}" /*__inner_css_end__*/, "4bntl_gg_") /*__reshadow_css_end__*/, { | ||
"__SScrollArea": "___SScrollArea_4bntl_gg_", | ||
"__SShadowHorizontal": "___SShadowHorizontal_4bntl_gg_", | ||
"_leftOffset": "__leftOffset_4bntl_gg_", | ||
"--leftOffset": "--leftOffset_4bntl", | ||
"_rightOffset": "__rightOffset_4bntl_gg_", | ||
"--rightOffset": "--rightOffset_4bntl", | ||
"__SShadowVertical": "___SShadowVertical_4bntl_gg_", | ||
"_topOffset": "__topOffset_4bntl_gg_", | ||
"--topOffset": "--topOffset_4bntl", | ||
"_bottomOffset": "__bottomOffset_4bntl_gg_", | ||
"--bottomOffset": "--bottomOffset_4bntl", | ||
"__SContainer": "___SContainer_4bntl_gg_", | ||
"_keyboardFocused": "__keyboardFocused_4bntl_gg_", | ||
"--focusRingTopOffset": "--focusRingTopOffset_4bntl", | ||
"--focusRingRightOffset": "--focusRingRightOffset_4bntl", | ||
"--focusRingBottomOffset": "--focusRingBottomOffset_4bntl", | ||
"--focusRingLeftOffset": "--focusRingLeftOffset_4bntl", | ||
"_position_median": "_position_median_4bntl_gg_", | ||
"_position_start": "_position_start_4bntl_gg_", | ||
"_position_end": "_position_end_4bntl_gg_" | ||
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SScrollArea_t9rhf_gg_{position:relative;width:100%;height:100%}.___SShadowHorizontal_t9rhf_gg_:after,.___SShadowHorizontal_t9rhf_gg_:before,.___SShadowVertical_t9rhf_gg_:after,.___SShadowVertical_t9rhf_gg_:before{content:\"\";position:absolute;display:none;pointer-events:none}.___SShadowHorizontal_t9rhf_gg_:after,.___SShadowHorizontal_t9rhf_gg_:before{top:0;width:5px;height:100%}.___SShadowHorizontal_t9rhf_gg_._position_median_t9rhf_gg_:before{left:0;display:block;background:var(--intergalactic-scroll-area-shadow-left,\n linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_t9rhf_gg_._position_median_t9rhf_gg_:after{right:0;display:block;background:var(--intergalactic-scroll-area-shadow-right,\n linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_t9rhf_gg_._position_start_t9rhf_gg_:before{left:0;display:block;background:var(--intergalactic-scroll-area-shadow-left,\n linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_t9rhf_gg_._position_end_t9rhf_gg_:after{right:0;display:block;background:var(--intergalactic-scroll-area-shadow-right,\n linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowHorizontal_t9rhf_gg_.__leftOffset_t9rhf_gg_:before{left:var(--leftOffset_t9rhf)}.___SShadowHorizontal_t9rhf_gg_.__rightOffset_t9rhf_gg_:after{right:var(--rightOffset_t9rhf)}.___SShadowVertical_t9rhf_gg_:after,.___SShadowVertical_t9rhf_gg_:before{left:0;width:100%;height:5px}.___SShadowVertical_t9rhf_gg_._position_median_t9rhf_gg_:before{top:0;display:block;background:var(--intergalactic-scroll-area-shadow-top,\n linear-gradient(to bottom, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_t9rhf_gg_._position_median_t9rhf_gg_:after{bottom:0;display:block;background:var(--intergalactic-scroll-area-shadow-bottom,\n linear-gradient(to top, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_t9rhf_gg_._position_start_t9rhf_gg_:before{top:0;display:block;background:var(--intergalactic-scroll-area-shadow-top,\n linear-gradient(to bottom, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_t9rhf_gg_._position_end_t9rhf_gg_:after{bottom:0;display:block;background:var(--intergalactic-scroll-area-shadow-bottom,\n linear-gradient(to top, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SShadowVertical_t9rhf_gg_.__topOffset_t9rhf_gg_:before{top:var(--topOffset_t9rhf)}.___SShadowVertical_t9rhf_gg_.__bottomOffset_t9rhf_gg_:after{bottom:var(--bottomOffset_t9rhf)}.___SContainer_t9rhf_gg_{display:block;width:100%;height:100%;box-sizing:content-box;overflow:auto;-webkit-overflow-scrolling:touch;outline:0;scrollbar-width:none;-ms-overflow-style:none}.___SContainer_t9rhf_gg_::-webkit-scrollbar{display:none}.___SContainer_t9rhf_gg_.__keyboardFocused_t9rhf_gg_:focus::after{position:absolute;display:block;content:\"\";top:0;right:0;bottom:0;left:0;top:var(--focusRingTopOffset_t9rhf);right:var(--focusRingRightOffset_t9rhf);bottom:var(--focusRingBottomOffset_t9rhf);left:var(--focusRingLeftOffset_t9rhf);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));pointer-events:none;z-index:2}" /*__inner_css_end__*/, "t9rhf_gg_") /*__reshadow_css_end__*/, { | ||
"__SScrollArea": "___SScrollArea_t9rhf_gg_", | ||
"__SShadowHorizontal": "___SShadowHorizontal_t9rhf_gg_", | ||
"_leftOffset": "__leftOffset_t9rhf_gg_", | ||
"--leftOffset": "--leftOffset_t9rhf", | ||
"_rightOffset": "__rightOffset_t9rhf_gg_", | ||
"--rightOffset": "--rightOffset_t9rhf", | ||
"__SShadowVertical": "___SShadowVertical_t9rhf_gg_", | ||
"_topOffset": "__topOffset_t9rhf_gg_", | ||
"--topOffset": "--topOffset_t9rhf", | ||
"_bottomOffset": "__bottomOffset_t9rhf_gg_", | ||
"--bottomOffset": "--bottomOffset_t9rhf", | ||
"__SContainer": "___SContainer_t9rhf_gg_", | ||
"_keyboardFocused": "__keyboardFocused_t9rhf_gg_", | ||
"--focusRingTopOffset": "--focusRingTopOffset_t9rhf", | ||
"--focusRingRightOffset": "--focusRingRightOffset_t9rhf", | ||
"--focusRingBottomOffset": "--focusRingBottomOffset_t9rhf", | ||
"--focusRingLeftOffset": "--focusRingLeftOffset_t9rhf", | ||
"_position_median": "_position_median_t9rhf_gg_", | ||
"_position_start": "_position_start_t9rhf_gg_", | ||
"_position_end": "_position_end_t9rhf_gg_" | ||
}); | ||
@@ -50,0 +50,0 @@ var eventCalculate = undefined; |
@@ -19,8 +19,8 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread2"; | ||
/*__reshadow-styles__:"./style/scroll-bar.shadow.css"*/ | ||
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SScrollBar_1isbf_gg_{position:absolute;display:flex}.___SScrollBar_1isbf_gg_._orientation_vertical_1isbf_gg_{top:var(--intergalactic-spacing-1x, 4px);right:0;width:8px;height:calc(100% - var(--offsetSum_1isbf) - var(--intergalactic-spacing-2x, 8px));justify-content:center}.___SScrollBar_1isbf_gg_._orientation_horizontal_1isbf_gg_{bottom:0;height:12px;align-items:center;width:calc(100% - var(--offsetSum_1isbf) - var(--intergalactic-spacing-2x, 8px))}.___SSlider_1isbf_gg_{cursor:pointer;width:6px;height:6px;border-radius:4px;background-color:var(--intergalactic-scroll-bar-background, rgba(25, 27, 35, 0.3))}" /*__inner_css_end__*/, "1isbf_gg_") /*__reshadow_css_end__*/, { | ||
"__SScrollBar": "___SScrollBar_1isbf_gg_", | ||
"_orientation_vertical": "_orientation_vertical_1isbf_gg_", | ||
"--offsetSum": "--offsetSum_1isbf", | ||
"_orientation_horizontal": "_orientation_horizontal_1isbf_gg_", | ||
"__SSlider": "___SSlider_1isbf_gg_" | ||
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SScrollBar_zc8kn_gg_{position:absolute;display:flex}.___SScrollBar_zc8kn_gg_._orientation_vertical_zc8kn_gg_{top:var(--intergalactic-spacing-1x, 4px);right:0;width:8px;height:calc(100% - var(--offsetSum_zc8kn) - var(--intergalactic-spacing-2x, 8px));justify-content:center}.___SScrollBar_zc8kn_gg_._orientation_horizontal_zc8kn_gg_{bottom:0;height:12px;align-items:center;width:calc(100% - var(--offsetSum_zc8kn) - var(--intergalactic-spacing-2x, 8px))}.___SSlider_zc8kn_gg_{cursor:pointer;width:6px;height:6px;border-radius:4px;background-color:var(--intergalactic-scroll-bar-background, rgba(25, 27, 35, 0.3))}" /*__inner_css_end__*/, "zc8kn_gg_") /*__reshadow_css_end__*/, { | ||
"__SScrollBar": "___SScrollBar_zc8kn_gg_", | ||
"_orientation_vertical": "_orientation_vertical_zc8kn_gg_", | ||
"--offsetSum": "--offsetSum_zc8kn", | ||
"_orientation_horizontal": "_orientation_horizontal_zc8kn_gg_", | ||
"__SSlider": "___SSlider_zc8kn_gg_" | ||
}); | ||
@@ -27,0 +27,0 @@ export var hideScrollBarsFromScreenReadersContext = /*#__PURE__*/React.createContext(false); |
{ | ||
"name": "@semcore/scroll-area", | ||
"description": "Semrush ScrollArea Component", | ||
"version": "5.41.0", | ||
"version": "5.42.0-prerelease.0", | ||
"main": "lib/cjs/index.js", | ||
@@ -12,7 +12,7 @@ "module": "lib/es6/index.js", | ||
"dependencies": { | ||
"@semcore/utils": "4.42.0", | ||
"@semcore/flex-box": "5.37.0" | ||
"@semcore/utils": "4.43.0-prerelease.0", | ||
"@semcore/flex-box": "5.38.0-prerelease.0" | ||
}, | ||
"peerDependencies": { | ||
"@semcore/core": "^2.17.5", | ||
"@semcore/core": "^2.36.0-prerelease.0", | ||
"react": "16.8 - 18", | ||
@@ -19,0 +19,0 @@ "react-dom": "16.8 - 18" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
250684
2
+ Added@semcore/flex-box@5.38.0-prerelease.0(transitive)
+ Added@semcore/utils@4.43.0-prerelease.0(transitive)
- Removed@semcore/flex-box@5.37.0(transitive)
- Removed@semcore/utils@4.42.0(transitive)