@atlaskit/dropdown-menu 16.3.4 → 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
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/dropdown-menu
2
2
 
3
+ ## 16.3.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`20a5aa8c4e7a0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/20a5aa8c4e7a0) -
8
+ Removed gridSize import. No visual changes.
9
+
10
+ ## 16.3.5
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 16.3.4
4
17
 
5
18
  ### Patch Changes
@@ -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 gridSize = (0, _constants.gridSize)();
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 { gridSize as gridSizeFn, layers } from '@atlaskit/theme/constants';
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 gridSize = gridSizeFn();
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 { gridSize as gridSizeFn, layers } from '@atlaskit/theme/constants';
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 gridSize = gridSizeFn();
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',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dropdown-menu",
3
- "version": "16.3.4",
3
+ "version": "16.3.6",
4
4
  "description": "A dropdown menu displays a list of actions or options to a user.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,15 +27,15 @@
27
27
  "@atlaskit/button": "^23.4.0",
28
28
  "@atlaskit/css": "^0.12.0",
29
29
  "@atlaskit/ds-lib": "^5.0.0",
30
- "@atlaskit/icon": "^28.0.0",
30
+ "@atlaskit/icon": "^28.1.0",
31
31
  "@atlaskit/layering": "^3.0.0",
32
32
  "@atlaskit/menu": "^8.3.0",
33
33
  "@atlaskit/platform-feature-flags": "^1.1.0",
34
34
  "@atlaskit/popup": "^4.3.0",
35
- "@atlaskit/primitives": "^14.11.0",
35
+ "@atlaskit/primitives": "^14.12.0",
36
36
  "@atlaskit/spinner": "^19.0.0",
37
- "@atlaskit/theme": "^19.0.0",
38
- "@atlaskit/tokens": "^6.0.0",
37
+ "@atlaskit/theme": "^20.0.0",
38
+ "@atlaskit/tokens": "^6.1.0",
39
39
  "@atlaskit/visually-hidden": "^3.0.0",
40
40
  "@babel/runtime": "^7.0.0",
41
41
  "bind-event-listener": "^3.0.0"
@@ -53,12 +53,12 @@
53
53
  "@atlaskit/avatar": "^25.1.0",
54
54
  "@atlaskit/checkbox": "^17.1.0",
55
55
  "@atlaskit/docs": "^11.0.0",
56
- "@atlaskit/form": "^12.1.0",
56
+ "@atlaskit/form": "^12.2.0",
57
57
  "@atlaskit/heading": "^5.2.0",
58
58
  "@atlaskit/link": "^3.2.0",
59
59
  "@atlaskit/lozenge": "^13.0.0",
60
60
  "@atlaskit/modal-dialog": "^14.3.0",
61
- "@atlaskit/section-message": "^8.5.0",
61
+ "@atlaskit/section-message": "^8.6.0",
62
62
  "@atlaskit/textfield": "^8.0.0",
63
63
  "@atlaskit/toggle": "^15.1.0",
64
64
  "@atlassian/feature-flags-test-utils": "^0.3.0",