@radix-ui/react-scroll-area
Advanced tools
Comparing version 1.0.5 to 1.0.6-rc.1
@@ -45,2 +45,3 @@ import * as React from "react"; | ||
export interface ScrollAreaViewportProps extends PrimitiveDivProps { | ||
nonce?: string; | ||
} | ||
@@ -47,0 +48,0 @@ export const ScrollAreaViewport: React.ForwardRefExoticComponent<ScrollAreaViewportProps & React.RefAttributes<HTMLDivElement>>; |
@@ -110,3 +110,3 @@ var $4huGU$babelruntimehelpersextends = require("@babel/runtime/helpers/extends"); | ||
const $f8fcbf76d19b7361$export$a21cbf9f11fca853 = /*#__PURE__*/ $4huGU$react.forwardRef((props, forwardedRef)=>{ | ||
const { __scopeScrollArea: __scopeScrollArea , children: children , ...viewportProps } = props; | ||
const { __scopeScrollArea: __scopeScrollArea , children: children , nonce: nonce , ...viewportProps } = props; | ||
const context = $f8fcbf76d19b7361$var$useScrollAreaContext($f8fcbf76d19b7361$var$VIEWPORT_NAME, __scopeScrollArea); | ||
@@ -118,3 +118,4 @@ const ref = $4huGU$react.useRef(null); | ||
__html: `[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}` | ||
} | ||
}, | ||
nonce: nonce | ||
}), /*#__PURE__*/ $4huGU$react.createElement($4huGU$radixuireactprimitive.Primitive.div, ($parcel$interopDefault($4huGU$babelruntimehelpersextends))({ | ||
@@ -121,0 +122,0 @@ "data-radix-scroll-area-viewport": "" |
{ | ||
"name": "@radix-ui/react-scroll-area", | ||
"version": "1.0.5", | ||
"version": "1.0.6-rc.1", | ||
"license": "MIT", | ||
@@ -66,3 +66,4 @@ "exports": { | ||
"url": "https://github.com/radix-ui/primitives/issues" | ||
} | ||
}, | ||
"stableVersion": "1.0.5" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
257594
1713
1