Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@radix-ui/react-select

Package Overview
Dependencies
Maintainers
6
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radix-ui/react-select - npm Package Compare versions

Comparing version 0.1.2-rc.14 to 0.1.2-rc.15

2

dist/index.js

@@ -371,3 +371,2 @@ var $cg2C9$babelruntimehelpersextends = require("@babel/runtime/helpers/extends");

const availableHeight = window.innerHeight - $1345bda09ffc1bc6$var$CONTENT_MARGIN * 2;
const minContentHeight = selectedItem.offsetHeight * 5;
const itemsHeight = viewport.scrollHeight;

@@ -380,2 +379,3 @@ const contentStyles = window.getComputedStyle(content);

const fullContentHeight = contentBorderTopWidth + contentPaddingTop + itemsHeight + contentPaddingBottom + contentBorderBottomWidth; // prettier-ignore
const minContentHeight = Math.min(selectedItem.offsetHeight * 5, fullContentHeight);
const topEdgeToTriggerMiddle = triggerRect.top + triggerRect.height / 2 - $1345bda09ffc1bc6$var$CONTENT_MARGIN;

@@ -382,0 +382,0 @@ const triggerMiddleToBottomEdge = availableHeight - topEdgeToTriggerMiddle;

@@ -352,3 +352,2 @@ import $01b9c$babelruntimehelpersesmextends from "@babel/runtime/helpers/esm/extends";

const availableHeight = window.innerHeight - $cc7e05a45900e73f$var$CONTENT_MARGIN * 2;
const minContentHeight = selectedItem.offsetHeight * 5;
const itemsHeight = viewport.scrollHeight;

@@ -361,2 +360,3 @@ const contentStyles = window.getComputedStyle(content);

const fullContentHeight = contentBorderTopWidth + contentPaddingTop + itemsHeight + contentPaddingBottom + contentBorderBottomWidth; // prettier-ignore
const minContentHeight = Math.min(selectedItem.offsetHeight * 5, fullContentHeight);
const topEdgeToTriggerMiddle = triggerRect.top + triggerRect.height / 2 - $cc7e05a45900e73f$var$CONTENT_MARGIN;

@@ -363,0 +363,0 @@ const triggerMiddleToBottomEdge = availableHeight - topEdgeToTriggerMiddle;

{
"name": "@radix-ui/react-select",
"version": "0.1.2-rc.14",
"version": "0.1.2-rc.15",
"license": "MIT",

@@ -22,17 +22,17 @@ "source": "src/index.ts",

"@radix-ui/primitive": "0.1.0",
"@radix-ui/react-collection": "0.1.5-rc.5",
"@radix-ui/react-compose-refs": "0.1.1-rc.5",
"@radix-ui/react-context": "0.1.2-rc.5",
"@radix-ui/react-direction": "0.1.0-rc.8",
"@radix-ui/react-dismissable-layer": "0.1.6-rc.5",
"@radix-ui/react-focus-scope": "0.1.5-rc.5",
"@radix-ui/react-id": "0.1.6-rc.5",
"@radix-ui/react-label": "0.1.6-rc.5",
"@radix-ui/react-portal": "0.1.5-rc.5",
"@radix-ui/react-primitive": "0.1.5-rc.5",
"@radix-ui/react-use-callback-ref": "0.1.1-rc.5",
"@radix-ui/react-use-controllable-state": "0.1.1-rc.5",
"@radix-ui/react-use-layout-effect": "0.1.1-rc.5",
"@radix-ui/react-use-previous": "0.1.2-rc.5",
"@radix-ui/react-visually-hidden": "0.1.5-rc.5",
"@radix-ui/react-collection": "0.1.5-rc.6",
"@radix-ui/react-compose-refs": "0.1.1-rc.6",
"@radix-ui/react-context": "0.1.2-rc.6",
"@radix-ui/react-direction": "0.1.0-rc.9",
"@radix-ui/react-dismissable-layer": "0.1.6-rc.6",
"@radix-ui/react-focus-scope": "0.1.5-rc.6",
"@radix-ui/react-id": "0.1.6-rc.6",
"@radix-ui/react-label": "0.1.6-rc.6",
"@radix-ui/react-portal": "0.1.5-rc.6",
"@radix-ui/react-primitive": "0.1.5-rc.6",
"@radix-ui/react-use-callback-ref": "0.1.1-rc.6",
"@radix-ui/react-use-controllable-state": "0.1.1-rc.6",
"@radix-ui/react-use-layout-effect": "0.1.1-rc.6",
"@radix-ui/react-use-previous": "0.1.2-rc.6",
"@radix-ui/react-visually-hidden": "0.1.5-rc.6",
"aria-hidden": "^1.1.1",

@@ -39,0 +39,0 @@ "react-remove-scroll": "^2.4.0"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc