empower-container 0.1.28 → 0.1.29
Sign up to get free protection for your applications and to get access to all the features.
@@ -29,7 +29,7 @@ var Asset_1 = require("../assets/Asset");
|
|
29
29
|
var Popover = function (_a) {
|
30
30
|
var open = _a.open, origin = _a.origin, children = _a.children, onClick = _a.onClick;
|
31
31
|
return ((0, jsx_runtime_1.jsx)(react_1.Fragment, { children: open &&
|
32
|
-
(0, jsx_runtime_1.jsxs)(react_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("div", { className: "em-overlay", onClick: function (e) { return onClick(e); } }), (0, jsx_runtime_1.jsx)("div", __assign({ className: "em-popover", style: origin !== undefined && origin === "right" ? { right: 200 + 'px' } : { left: 0 + 'px' } }, { children: children }))] }) }));
|
32
|
+
(0, jsx_runtime_1.jsxs)(react_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("div", { className: "em-overlay", onClick: function (e) { return onClick(e); } }), (0, jsx_runtime_1.jsx)("div", __assign({ className: "em-popover em-menubar-dropdown", style: origin !== undefined && origin === "right" ? { right: 200 + 'px' } : { left: 0 + 'px' } }, { children: children }))] }) }));
|
33
33
|
};
|
34
34
|
exports.Popover = Popover;
|
35
35
|
var Dropdown = function (_a) {
|
@@ -26,7 +26,7 @@ import { SVG_CLOSE_GRAY, SVG_ARROWDOWN } from '../assets/Asset';
|
|
26
26
|
export var Popover = function (_a) {
|
27
27
|
var open = _a.open, origin = _a.origin, children = _a.children, onClick = _a.onClick;
|
28
28
|
return (_jsx(Fragment, { children: open &&
|
29
|
-
_jsxs(Fragment, { children: [_jsx("div", { className: "em-overlay", onClick: function (e) { return onClick(e); } }), _jsx("div", __assign({ className: "em-popover", style: origin !== undefined && origin === "right" ? { right: 200 + 'px' } : { left: 0 + 'px' } }, { children: children }))] }) }));
|
29
|
+
_jsxs(Fragment, { children: [_jsx("div", { className: "em-overlay", onClick: function (e) { return onClick(e); } }), _jsx("div", __assign({ className: "em-popover em-menubar-dropdown", style: origin !== undefined && origin === "right" ? { right: 200 + 'px' } : { left: 0 + 'px' } }, { children: children }))] }) }));
|
30
30
|
};
|
31
31
|
var Dropdown = function (_a) {
|
32
32
|
var config = _a.config, customClass = _a.customClass, onChanged = _a.onChanged, isEmployeeSelection = _a.isEmployeeSelection, hideClearIcon = _a.hideClearIcon;
|