@atlaskit/dropdown-menu 16.3.5 → 16.3.6
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/CHANGELOG.md
CHANGED
|
@@ -30,8 +30,7 @@ var _excluded = ["ref", "aria-controls", "aria-expanded", "aria-haspopup"]; // e
|
|
|
30
30
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
31
31
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
32
32
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
33
|
-
var
|
|
34
|
-
var MAX_HEIGHT = "calc(100vh - ".concat(gridSize * 2, "px)");
|
|
33
|
+
var MAX_HEIGHT = "calc(100vh - 16px)";
|
|
35
34
|
var opposites = {
|
|
36
35
|
top: 'bottom',
|
|
37
36
|
bottom: 'top',
|
|
@@ -10,14 +10,13 @@ import useFocus from '@atlaskit/ds-lib/use-focus-event';
|
|
|
10
10
|
import ExpandIcon from '@atlaskit/icon/core/migration/chevron-down';
|
|
11
11
|
import Popup from '@atlaskit/popup';
|
|
12
12
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
13
|
-
import {
|
|
13
|
+
import { layers } from '@atlaskit/theme/constants';
|
|
14
14
|
import FocusManager from './internal/components/focus-manager';
|
|
15
15
|
import MenuWrapper from './internal/components/menu-wrapper';
|
|
16
16
|
import SelectionStore from './internal/context/selection-store';
|
|
17
17
|
import useRegisterItemWithFocusManager from './internal/hooks/use-register-item-with-focus-manager';
|
|
18
18
|
import useGeneratedId, { PREFIX } from './internal/utils/use-generated-id';
|
|
19
|
-
const
|
|
20
|
-
const MAX_HEIGHT = `calc(100vh - ${gridSize * 2}px)`;
|
|
19
|
+
const MAX_HEIGHT = `calc(100vh - 16px)`;
|
|
21
20
|
const opposites = {
|
|
22
21
|
top: 'bottom',
|
|
23
22
|
bottom: 'top',
|
|
@@ -16,14 +16,13 @@ import useFocus from '@atlaskit/ds-lib/use-focus-event';
|
|
|
16
16
|
import ExpandIcon from '@atlaskit/icon/core/migration/chevron-down';
|
|
17
17
|
import Popup from '@atlaskit/popup';
|
|
18
18
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
19
|
-
import {
|
|
19
|
+
import { layers } from '@atlaskit/theme/constants';
|
|
20
20
|
import FocusManager from './internal/components/focus-manager';
|
|
21
21
|
import MenuWrapper from './internal/components/menu-wrapper';
|
|
22
22
|
import SelectionStore from './internal/context/selection-store';
|
|
23
23
|
import useRegisterItemWithFocusManager from './internal/hooks/use-register-item-with-focus-manager';
|
|
24
24
|
import useGeneratedId, { PREFIX } from './internal/utils/use-generated-id';
|
|
25
|
-
var
|
|
26
|
-
var MAX_HEIGHT = "calc(100vh - ".concat(gridSize * 2, "px)");
|
|
25
|
+
var MAX_HEIGHT = "calc(100vh - 16px)";
|
|
27
26
|
var opposites = {
|
|
28
27
|
top: 'bottom',
|
|
29
28
|
bottom: 'top',
|