pge-front-common 14.1.43 → 14.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/DropDown/Dropdown.d.ts +1 -1
- package/lib/components/MultiSelect/components.d.ts +6 -6
- package/lib/components/Select/index.types.d.ts +1 -1
- package/lib/index.d.ts +7 -7
- package/lib/index.esm.js +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +7 -7
package/lib/index.js
CHANGED
|
@@ -931,7 +931,7 @@ var DropDown = function (_a) {
|
|
|
931
931
|
return (React.createElement("div", { key: item.id, className: styles$u.menuItem },
|
|
932
932
|
React.createElement("button", { className: "".concat(styles$u.primaryDropdown, " ").concat(item.checked
|
|
933
933
|
? styles$u.primaryDropdown__menu
|
|
934
|
-
: styles$u.primaryDropdown__disabled), onClick: function (ev) { return handleMenuClick(item, ev); }, ref: function (el) {
|
|
934
|
+
: styles$u.primaryDropdown__disabled), onClick: function (ev) { return handleMenuClick(item, ev); }, ref: function (el) { itemRefs.current[index] = el; }, onKeyDown: function (e) {
|
|
935
935
|
var _a, _b;
|
|
936
936
|
if (e.key === "ArrowDown") {
|
|
937
937
|
e.preventDefault();
|