@atlaskit/editor-plugin-floating-toolbar 1.13.13 → 1.13.14

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,13 @@
1
1
  # @atlaskit/editor-plugin-floating-toolbar
2
2
 
3
+ ## 1.13.14
4
+
5
+ ### Patch Changes
6
+
7
+ - [#152594](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152594)
8
+ [`4f17733c95c94`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4f17733c95c94) -
9
+ [ux] ED-25093: Migrated media toolbar to use the new icons
10
+
3
11
  ## 1.13.13
4
12
 
5
13
  ### Patch Changes
@@ -18,6 +18,7 @@ var _react2 = require("@emotion/react");
18
18
  var _ui = require("@atlaskit/editor-common/ui");
19
19
  var _uiMenu = require("@atlaskit/editor-common/ui-menu");
20
20
  var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron-down"));
21
+ var _chevronDown2 = _interopRequireDefault(require("@atlaskit/icon/utility/chevron-down"));
21
22
  var _Divider = require("./Divider");
22
23
  var _DropdownMenu = _interopRequireWildcard(require("./DropdownMenu"));
23
24
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
@@ -45,8 +46,11 @@ var CompositeIcon = function CompositeIcon(_ref) {
45
46
  css: iconGroup
46
47
  }, icon, (0, _react2.jsx)("span", {
47
48
  css: dropdownExpandContainer
48
- }, (0, _react2.jsx)(_chevronDown.default, {
49
- label: "Expand dropdown menu"
49
+ }, (0, _react2.jsx)(_chevronDown2.default, {
50
+ color: "currentColor",
51
+ spacing: "spacious",
52
+ label: "Expand dropdown menu",
53
+ LEGACY_fallbackIcon: _chevronDown.default
50
54
  })));
51
55
  };
52
56
  // eslint-disable-next-line @repo/internal/react/no-class-components
@@ -163,8 +167,11 @@ var Dropdown = exports.default = /*#__PURE__*/function (_Component) {
163
167
  testId: buttonTestId,
164
168
  iconAfter: (0, _react2.jsx)("span", {
165
169
  css: dropdownExpandContainer
166
- }, (0, _react2.jsx)(_chevronDown.default, {
167
- label: "Expand dropdown menu"
170
+ }, (0, _react2.jsx)(_chevronDown2.default, {
171
+ color: "currentColor",
172
+ spacing: "spacious",
173
+ label: "Expand dropdown menu",
174
+ LEGACY_fallbackIcon: _chevronDown.default
168
175
  })),
169
176
  icon: iconBefore,
170
177
  onClick: this.toggleOpen,
@@ -12,6 +12,7 @@ import { css, jsx } from '@emotion/react';
12
12
  import { FloatingToolbarButton as Button } from '@atlaskit/editor-common/ui';
13
13
  import { ArrowKeyNavigationType, DropdownContainer as UiDropdown } from '@atlaskit/editor-common/ui-menu';
14
14
  import ExpandIcon from '@atlaskit/icon/glyph/chevron-down';
15
+ import ChevronDownIcon from '@atlaskit/icon/utility/chevron-down';
15
16
  import { Divider } from './Divider';
16
17
  import DropdownMenu, { itemSpacing, menuItemDimensions } from './DropdownMenu';
17
18
 
@@ -30,8 +31,11 @@ const CompositeIcon = ({
30
31
  css: iconGroup
31
32
  }, icon, jsx("span", {
32
33
  css: dropdownExpandContainer
33
- }, jsx(ExpandIcon, {
34
- label: "Expand dropdown menu"
34
+ }, jsx(ChevronDownIcon, {
35
+ color: "currentColor",
36
+ spacing: "spacious",
37
+ label: "Expand dropdown menu",
38
+ LEGACY_fallbackIcon: ExpandIcon
35
39
  })));
36
40
  // eslint-disable-next-line @repo/internal/react/no-class-components
37
41
  export default class Dropdown extends Component {
@@ -142,8 +146,11 @@ export default class Dropdown extends Component {
142
146
  testId: buttonTestId,
143
147
  iconAfter: jsx("span", {
144
148
  css: dropdownExpandContainer
145
- }, jsx(ExpandIcon, {
146
- label: "Expand dropdown menu"
149
+ }, jsx(ChevronDownIcon, {
150
+ color: "currentColor",
151
+ spacing: "spacious",
152
+ label: "Expand dropdown menu",
153
+ LEGACY_fallbackIcon: ExpandIcon
147
154
  })),
148
155
  icon: iconBefore,
149
156
  onClick: this.toggleOpen,
@@ -22,6 +22,7 @@ import { css, jsx } from '@emotion/react';
22
22
  import { FloatingToolbarButton as Button } from '@atlaskit/editor-common/ui';
23
23
  import { ArrowKeyNavigationType, DropdownContainer as UiDropdown } from '@atlaskit/editor-common/ui-menu';
24
24
  import ExpandIcon from '@atlaskit/icon/glyph/chevron-down';
25
+ import ChevronDownIcon from '@atlaskit/icon/utility/chevron-down';
25
26
  import { Divider } from './Divider';
26
27
  import DropdownMenu, { itemSpacing, menuItemDimensions } from './DropdownMenu';
27
28
 
@@ -40,8 +41,11 @@ var CompositeIcon = function CompositeIcon(_ref) {
40
41
  css: iconGroup
41
42
  }, icon, jsx("span", {
42
43
  css: dropdownExpandContainer
43
- }, jsx(ExpandIcon, {
44
- label: "Expand dropdown menu"
44
+ }, jsx(ChevronDownIcon, {
45
+ color: "currentColor",
46
+ spacing: "spacious",
47
+ label: "Expand dropdown menu",
48
+ LEGACY_fallbackIcon: ExpandIcon
45
49
  })));
46
50
  };
47
51
  // eslint-disable-next-line @repo/internal/react/no-class-components
@@ -158,8 +162,11 @@ var Dropdown = /*#__PURE__*/function (_Component) {
158
162
  testId: buttonTestId,
159
163
  iconAfter: jsx("span", {
160
164
  css: dropdownExpandContainer
161
- }, jsx(ExpandIcon, {
162
- label: "Expand dropdown menu"
165
+ }, jsx(ChevronDownIcon, {
166
+ color: "currentColor",
167
+ spacing: "spacious",
168
+ label: "Expand dropdown menu",
169
+ LEGACY_fallbackIcon: ExpandIcon
163
170
  })),
164
171
  icon: iconBefore,
165
172
  onClick: this.toggleOpen,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "1.13.13",
3
+ "version": "1.13.14",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",