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

@semcore/dropdown

Package Overview
Dependencies
Maintainers
2
Versions
312
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semcore/dropdown - npm Package Compare versions

Comparing version 4.36.3 to 4.36.4-prerelease.0

6

CHANGELOG.md

@@ -5,2 +5,8 @@ # Changelog

## [4.36.4] - 2024-08-28
### Added
- `aria-haspopup=dialog` in Trigger.
## [4.36.3] - 2024-08-20

@@ -7,0 +13,0 @@

8

lib/cjs/Dropdown.js

@@ -30,7 +30,6 @@ "use strict";

var _useFocusLock = require("@semcore/utils/lib/use/useFocusLock");
var _keyboardFocusEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/keyboardFocusEnhance"));
var _excluded = ["Children", "forwardRef", "modifiers", "stretch"];
/*__reshadow-styles__:"./style/dropdown.shadow.css"*/
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SDropdownPopper_14b3o_gg_{position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-popper-rounded, 6px);box-sizing:border-box;border:1px solid var(--intergalactic-border-secondary, #e0e1e9);white-space:normal;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));color:var(--intergalactic-text-primary, #191b23)}" /*__inner_css_end__*/, "14b3o_gg_") /*__reshadow_css_end__*/, {
"__SDropdownPopper": "___SDropdownPopper_14b3o_gg_"
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SDropdownPopper_1r0rx_gg_{position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-popper-rounded, 6px);box-sizing:border-box;border:1px solid var(--intergalactic-border-secondary, #e0e1e9);white-space:normal;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));color:var(--intergalactic-text-primary, #191b23)}" /*__inner_css_end__*/, "1r0rx_gg_") /*__reshadow_css_end__*/, {
"__SDropdownPopper": "___SDropdownPopper_1r0rx_gg_"
});

@@ -113,3 +112,4 @@ var INTERACTION_TAGS = ['INPUT', 'TEXTAREA'];

'aria-expanded': visible ? 'true' : 'false',
onKeyDown: this.handlerTriggerKeyDown
onKeyDown: this.handlerTriggerKeyDown,
'aria-haspopup': 'dialog'
};

@@ -116,0 +116,0 @@ }

@@ -25,7 +25,6 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread2";

/*__reshadow-styles__:"./style/dropdown.shadow.css"*/
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SDropdownPopper_14b3o_gg_{position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-popper-rounded, 6px);box-sizing:border-box;border:1px solid var(--intergalactic-border-secondary, #e0e1e9);white-space:normal;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));color:var(--intergalactic-text-primary, #191b23)}" /*__inner_css_end__*/, "14b3o_gg_") /*__reshadow_css_end__*/, {
"__SDropdownPopper": "___SDropdownPopper_14b3o_gg_"
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SDropdownPopper_1r0rx_gg_{position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-popper-rounded, 6px);box-sizing:border-box;border:1px solid var(--intergalactic-border-secondary, #e0e1e9);white-space:normal;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));color:var(--intergalactic-text-primary, #191b23)}" /*__inner_css_end__*/, "1r0rx_gg_") /*__reshadow_css_end__*/, {
"__SDropdownPopper": "___SDropdownPopper_1r0rx_gg_"
});
import { hasFocusableIn } from '@semcore/utils/lib/use/useFocusLock';
import keyboardFocusEnhance from '@semcore/utils/lib/enhances/keyboardFocusEnhance';
var INTERACTION_TAGS = ['INPUT', 'TEXTAREA'];

@@ -107,3 +106,4 @@ var Dropdown = /*#__PURE__*/function (_Component) {

'aria-expanded': visible ? 'true' : 'false',
onKeyDown: this.handlerTriggerKeyDown
onKeyDown: this.handlerTriggerKeyDown,
'aria-haspopup': 'dialog'
};

@@ -110,0 +110,0 @@ }

{
"name": "@semcore/dropdown",
"description": "Semrush Dropdown Component",
"version": "4.36.3",
"version": "4.36.4-prerelease.0",
"main": "lib/cjs/index.js",

@@ -12,8 +12,8 @@ "module": "lib/es6/index.js",

"dependencies": {
"@semcore/flex-box": "5.31.2",
"@semcore/popper": "5.39.4",
"@semcore/utils": "4.32.2"
"@semcore/flex-box": "5.32.0-prerelease.0",
"@semcore/popper": "5.39.5-prerelease.0",
"@semcore/utils": "4.35.0-prerelease.0"
},
"peerDependencies": {
"@semcore/core": "^2.17.5",
"@semcore/core": "^2.30.0-prerelease.0",
"react": "16.8 - 18",

@@ -20,0 +20,0 @@ "react-dom": "16.8 - 18"

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