@semcore/popper
Advanced tools
Comparing version 5.35.5 to 5.35.6-prerelease.0
@@ -5,2 +5,8 @@ # Changelog | ||
## [5.35.6] - 2024-05-31 | ||
### Fixed | ||
- Programmatically opened popper were getting `tabIndex={0}` even without focusable elements inside. | ||
## [5.35.5] - 2024-05-31 | ||
@@ -7,0 +13,0 @@ |
@@ -44,8 +44,8 @@ "use strict"; | ||
/*__reshadow-styles__:"./style/popper.shadow.css"*/ | ||
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SPopper_keu09_gg_{outline:0;z-index:var(--intergalactic-z-index-popper, 700);color:var(--intergalactic-text-primary, #191b23)}.___SPopper_keu09_gg_.__keyboardFocused_keu09_gg_:focus:after{position:absolute;display:block;content:\"\";top:0;right:0;bottom:0;left:0;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));pointer-events:none;border-radius:var(--intergalactic-popper-rounded, 6px)}.___SPopper_keu09_gg_.__keyboardFocused_keu09_gg_.__hideFocus_keu09_gg_:focus:after{box-shadow:none}.___SFocusHint_keu09_gg_{display:none}.___STrigger_keu09_gg_:focus .___SFocusHint_keu09_gg_,.___STrigger_keu09_gg_:focus-within .___SFocusHint_keu09_gg_{display:inline}" /*__inner_css_end__*/, "keu09_gg_") /*__reshadow_css_end__*/, { | ||
"__SPopper": "___SPopper_keu09_gg_", | ||
"_keyboardFocused": "__keyboardFocused_keu09_gg_", | ||
"_hideFocus": "__hideFocus_keu09_gg_", | ||
"__SFocusHint": "___SFocusHint_keu09_gg_", | ||
"__STrigger": "___STrigger_keu09_gg_" | ||
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SPopper_1r7sy_gg_{outline:0;z-index:var(--intergalactic-z-index-popper, 700);color:var(--intergalactic-text-primary, #191b23)}.___SPopper_1r7sy_gg_.__keyboardFocused_1r7sy_gg_:focus:after{position:absolute;display:block;content:\"\";top:0;right:0;bottom:0;left:0;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));pointer-events:none;border-radius:var(--intergalactic-popper-rounded, 6px)}.___SPopper_1r7sy_gg_.__keyboardFocused_1r7sy_gg_.__hideFocus_1r7sy_gg_:focus:after{box-shadow:none}.___SFocusHint_1r7sy_gg_{display:none}.___STrigger_1r7sy_gg_:focus .___SFocusHint_1r7sy_gg_,.___STrigger_1r7sy_gg_:focus-within .___SFocusHint_1r7sy_gg_{display:inline}" /*__inner_css_end__*/, "1r7sy_gg_") /*__reshadow_css_end__*/, { | ||
"__SPopper": "___SPopper_1r7sy_gg_", | ||
"_keyboardFocused": "__keyboardFocused_1r7sy_gg_", | ||
"_hideFocus": "__hideFocus_1r7sy_gg_", | ||
"__SFocusHint": "___SFocusHint_1r7sy_gg_", | ||
"__STrigger": "___STrigger_1r7sy_gg_" | ||
}); | ||
@@ -656,3 +656,3 @@ function isObject(obj) { | ||
} | ||
PopperPopper.enhance = [(0, _keyboardFocusEnhance["default"])()]; | ||
PopperPopper.enhance = [(0, _keyboardFocusEnhance["default"])(false)]; | ||
var _default = (0, _core["default"])(Popper, { | ||
@@ -659,0 +659,0 @@ Trigger: Trigger, |
@@ -38,8 +38,8 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread2"; | ||
/*__reshadow-styles__:"./style/popper.shadow.css"*/ | ||
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPopper_keu09_gg_{outline:0;z-index:var(--intergalactic-z-index-popper, 700);color:var(--intergalactic-text-primary, #191b23)}.___SPopper_keu09_gg_.__keyboardFocused_keu09_gg_:focus:after{position:absolute;display:block;content:\"\";top:0;right:0;bottom:0;left:0;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));pointer-events:none;border-radius:var(--intergalactic-popper-rounded, 6px)}.___SPopper_keu09_gg_.__keyboardFocused_keu09_gg_.__hideFocus_keu09_gg_:focus:after{box-shadow:none}.___SFocusHint_keu09_gg_{display:none}.___STrigger_keu09_gg_:focus .___SFocusHint_keu09_gg_,.___STrigger_keu09_gg_:focus-within .___SFocusHint_keu09_gg_{display:inline}" /*__inner_css_end__*/, "keu09_gg_") /*__reshadow_css_end__*/, { | ||
"__SPopper": "___SPopper_keu09_gg_", | ||
"_keyboardFocused": "__keyboardFocused_keu09_gg_", | ||
"_hideFocus": "__hideFocus_keu09_gg_", | ||
"__SFocusHint": "___SFocusHint_keu09_gg_", | ||
"__STrigger": "___STrigger_keu09_gg_" | ||
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPopper_1r7sy_gg_{outline:0;z-index:var(--intergalactic-z-index-popper, 700);color:var(--intergalactic-text-primary, #191b23)}.___SPopper_1r7sy_gg_.__keyboardFocused_1r7sy_gg_:focus:after{position:absolute;display:block;content:\"\";top:0;right:0;bottom:0;left:0;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));pointer-events:none;border-radius:var(--intergalactic-popper-rounded, 6px)}.___SPopper_1r7sy_gg_.__keyboardFocused_1r7sy_gg_.__hideFocus_1r7sy_gg_:focus:after{box-shadow:none}.___SFocusHint_1r7sy_gg_{display:none}.___STrigger_1r7sy_gg_:focus .___SFocusHint_1r7sy_gg_,.___STrigger_1r7sy_gg_:focus-within .___SFocusHint_1r7sy_gg_{display:inline}" /*__inner_css_end__*/, "1r7sy_gg_") /*__reshadow_css_end__*/, { | ||
"__SPopper": "___SPopper_1r7sy_gg_", | ||
"_keyboardFocused": "__keyboardFocused_1r7sy_gg_", | ||
"_hideFocus": "__hideFocus_1r7sy_gg_", | ||
"__SFocusHint": "___SFocusHint_1r7sy_gg_", | ||
"__STrigger": "___STrigger_1r7sy_gg_" | ||
}); | ||
@@ -649,3 +649,3 @@ function isObject(obj) { | ||
} | ||
PopperPopper.enhance = [keyboardFocusEnhance()]; | ||
PopperPopper.enhance = [keyboardFocusEnhance(false)]; | ||
export default createComponent(Popper, { | ||
@@ -652,0 +652,0 @@ Trigger: Trigger, |
{ | ||
"name": "@semcore/popper", | ||
"description": "Semrush Popper Component", | ||
"version": "5.35.5", | ||
"version": "5.35.6-prerelease.0", | ||
"main": "lib/cjs/index.js", | ||
@@ -6,0 +6,0 @@ "module": "lib/es6/index.js", |
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
266837
2