@atlaskit/dropdown-menu 16.0.2 → 16.0.4

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,17 @@
1
1
  # @atlaskit/dropdown-menu
2
2
 
3
+ ## 16.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 16.0.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 16.0.2
4
16
 
5
17
  ### Patch Changes
@@ -18,7 +18,7 @@ var _mergeRefs = _interopRequireDefault(require("@atlaskit/ds-lib/merge-refs"));
18
18
  var _noop = _interopRequireDefault(require("@atlaskit/ds-lib/noop"));
19
19
  var _useControlled = _interopRequireDefault(require("@atlaskit/ds-lib/use-controlled"));
20
20
  var _useFocusEvent = _interopRequireDefault(require("@atlaskit/ds-lib/use-focus-event"));
21
- var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-down"));
21
+ var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-down"));
22
22
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
23
23
  var _popup = _interopRequireDefault(require("@atlaskit/popup"));
24
24
  var _constants = require("@atlaskit/theme/constants");
@@ -303,7 +303,11 @@ var DropdownMenu = function DropdownMenu(_ref) {
303
303
  "aria-expanded": ariaExpanded,
304
304
  "aria-haspopup": ariaHasPopup,
305
305
  isSelected: isLocalOpen,
306
- iconAfter: _chevronDown.default,
306
+ iconAfter: function iconAfter(iconProps) {
307
+ return /*#__PURE__*/_react.default.createElement(_chevronDown.default, (0, _extends2.default)({}, iconProps, {
308
+ size: "small"
309
+ }));
310
+ },
307
311
  onClick: handleTriggerClicked,
308
312
  testId: testId && "".concat(testId, "--trigger"),
309
313
  "aria-label": label
@@ -7,7 +7,7 @@ import mergeRefs from '@atlaskit/ds-lib/merge-refs';
7
7
  import noop from '@atlaskit/ds-lib/noop';
8
8
  import useControlledState from '@atlaskit/ds-lib/use-controlled';
9
9
  import useFocus from '@atlaskit/ds-lib/use-focus-event';
10
- import ExpandIcon from '@atlaskit/icon/utility/migration/chevron-down';
10
+ import ExpandIcon from '@atlaskit/icon/core/migration/chevron-down';
11
11
  import { fg } from '@atlaskit/platform-feature-flags';
12
12
  import Popup from '@atlaskit/popup';
13
13
  // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
@@ -277,7 +277,9 @@ const DropdownMenu = ({
277
277
  "aria-expanded": ariaExpanded,
278
278
  "aria-haspopup": ariaHasPopup,
279
279
  isSelected: isLocalOpen,
280
- iconAfter: ExpandIcon,
280
+ iconAfter: iconProps => /*#__PURE__*/React.createElement(ExpandIcon, _extends({}, iconProps, {
281
+ size: "small"
282
+ })),
281
283
  onClick: handleTriggerClicked,
282
284
  testId: testId && `${testId}--trigger`,
283
285
  "aria-label": label
@@ -13,7 +13,7 @@ import mergeRefs from '@atlaskit/ds-lib/merge-refs';
13
13
  import noop from '@atlaskit/ds-lib/noop';
14
14
  import useControlledState from '@atlaskit/ds-lib/use-controlled';
15
15
  import useFocus from '@atlaskit/ds-lib/use-focus-event';
16
- import ExpandIcon from '@atlaskit/icon/utility/migration/chevron-down';
16
+ import ExpandIcon from '@atlaskit/icon/core/migration/chevron-down';
17
17
  import { fg } from '@atlaskit/platform-feature-flags';
18
18
  import Popup from '@atlaskit/popup';
19
19
  // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
@@ -295,7 +295,11 @@ var DropdownMenu = function DropdownMenu(_ref) {
295
295
  "aria-expanded": ariaExpanded,
296
296
  "aria-haspopup": ariaHasPopup,
297
297
  isSelected: isLocalOpen,
298
- iconAfter: ExpandIcon,
298
+ iconAfter: function iconAfter(iconProps) {
299
+ return /*#__PURE__*/React.createElement(ExpandIcon, _extends({}, iconProps, {
300
+ size: "small"
301
+ }));
302
+ },
299
303
  onClick: handleTriggerClicked,
300
304
  testId: testId && "".concat(testId, "--trigger"),
301
305
  "aria-label": label
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dropdown-menu",
3
- "version": "16.0.2",
3
+ "version": "16.0.4",
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/"
@@ -29,14 +29,14 @@
29
29
  "@atlaskit/css": "^0.10.0",
30
30
  "@atlaskit/ds-lib": "^4.0.0",
31
31
  "@atlaskit/icon": "^26.4.0",
32
- "@atlaskit/layering": "^2.1.0",
32
+ "@atlaskit/layering": "^3.0.0",
33
33
  "@atlaskit/menu": "^8.0.0",
34
34
  "@atlaskit/platform-feature-flags": "^1.1.0",
35
35
  "@atlaskit/popup": "^4.3.0",
36
36
  "@atlaskit/primitives": "^14.8.0",
37
37
  "@atlaskit/spinner": "^18.0.0",
38
38
  "@atlaskit/theme": "^18.0.0",
39
- "@atlaskit/tokens": "^4.9.0",
39
+ "@atlaskit/tokens": "^5.1.0",
40
40
  "@babel/runtime": "^7.0.0",
41
41
  "bind-event-listener": "^3.0.0"
42
42
  },
@@ -56,7 +56,7 @@
56
56
  "@atlaskit/form": "^12.0.0",
57
57
  "@atlaskit/heading": "^5.2.0",
58
58
  "@atlaskit/link": "^3.2.0",
59
- "@atlaskit/lozenge": "^12.2.0",
59
+ "@atlaskit/lozenge": "^13.0.0",
60
60
  "@atlaskit/modal-dialog": "^14.2.0",
61
61
  "@atlaskit/section-message": "^8.2.0",
62
62
  "@atlaskit/textfield": "^8.0.0",